text: "use strict";function _typeof(t){return(_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})(t)}function XM_Accordion(t){var s={triggerSelector:".accordion-trigger",contentSelector:".accordion-content",animation:{type:"all",speed:.3,ease:"ease-in-out"},paddingAnimation:!1,startOpenClass:"accordion-open",selectedClass:"selected",linkTriggers:!1},d={},n=function(){var t=!0,n=!1,e=void 0;try{for(var o,r=d.accordions[Symbol.iterator]();!(t=(o=r.next()).done);t=!0){var i=o.value;i.open&&(i.content.style.height="auto",i.content.style.height="".concat(i.content.scrollHeight,"px"))}}catch(t){n=!0,e=t}finally{try{t||null==r.return||r.return()}finally{if(n)throw e}}},e=function(){var t=document.querySelectorAll(s.triggerSelector);if(!t.length)throw new Error("Couldn't find ".concat(s.triggerSelector," in the DOM"));var n=!0,e=!(d.accordions=[]),o=void 0;try{for(var r,i=t[Symbol.iterator]();!(n=(r=i.next()).done);n=!0){var a=r.value,c=a.querySelector(s.contentSelector);if(!c&&!(c=a.parentElement.querySelector(s.contentSelector)))throw new Error("Couldn't find ".concat(s.contentSelector," in ").concat(s.triggerSelector," nor as it's sibling"));if(s.paddingAnimation)d.accordions.push({trigger:a,content:c,padding:c.style.padding,open:!0,startOpen:c.classList.contains(s.startOpenClass)});else{var l=document.createElement("div");c.parentElement.appendChild(l),l.appendChild(c),d.accordions.push({trigger:a,content:l,open:!0,startOpen:c.classList.contains(s.startOpenClass)})}}}catch(t){e=!0,o=t}finally{try{n||null==i.return||i.return()}finally{if(e)throw o}}},o=function(){var t=!0,n=!1,e=void 0;try{for(var o,r=d.accordions[Symbol.iterator]();!(t=(o=r.next()).done);t=!0){var i=o.value;i.content.style.overflow="hidden",i.startOpen?(i.content.style.height="".concat(i.content.scrollHeight,"px"),i.content.parentElement.classList.add(s.selectedClass)):f(i)}}catch(t){n=!0,e=t}finally{try{t||null==r.return||r.return()}finally{if(n)throw e}}},r=function(){var t=!0,n=!1,e=void 0;try{for(var o,r=d.accordions[Symbol.iterator]();!(t=(o=r.next()).done);t=!0){o.value.content.style.transition="".concat(s.animation.type," ").concat(s.animation.speed,"s ").concat(s.animation.ease)}}catch(t){n=!0,e=t}finally{try{t||null==r.return||r.return()}finally{if(n)throw e}}},i=function(){var t=!0,n=!1,e=void 0;try{for(var o,r=function(){var c=o.value;c.trigger.addEventListener("click",function(){if(s.linkTriggers){var t=c.open?f:y,n=!0,e=!1,o=void 0;try{for(var r,i=d.accordions[Symbol.iterator]();!(n=(r=i.next()).done);n=!0){var a=r.value;f(a)}}catch(t){e=!0,o=t}finally{try{n||null==i.return||i.return()}finally{if(e)throw o}}s.triggerOpens?y(c):t(c)}else l(c)})},i=d.accordions[Symbol.iterator]();!(t=(o=i.next()).done);t=!0)r()}catch(t){n=!0,e=t}finally{try{t||null==i.return||i.return()}finally{if(n)throw e}}},l=function(t){t.open?f(t):y(t)},y=function(t){t.open||(t.open=!0,t.content.style.height="".concat(t.content.scrollHeight,"px"),t.content.parentElement.classList.add(s.selectedClass),s.paddingAnimation&&(t.content.style.padding=t.padding))},f=function(t){t.open&&(t.open=!1,t.content.style.height=0,t.content.parentElement.classList.remove(s.selectedClass),s.paddingAnimation&&(t.content.style.padding=0))};return function t(n,e){var o;for(var r in e)"object"!==_typeof(e[r])||e[r]instanceof Date?e[r]instanceof Date?n[r]=new Date(e[r].getTime()):n[r]=e[r]:(o=e[r]instanceof Array?[]:{},void 0===n[r]&&(n[r]=o),t(n[r],e[r]))}(s,t),e(),o(),r(),i(),window.addEventListener("resize",n),d}
  "use strict";function _typeof(t){return(_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})(t)}function XM_Dropdown(t){var c,g={container:".dropdown",trigger:".dropdown-trigger",activeClass:"active",triggerEvent:"click",offset:{},animation:{type:"static",speed:.4,ease:"ease-in-out",zIndex:9999,translateOffset:{horizontal:40,vertical:40}},absolute:!1,closeOnWindowClick:!0,closeOnDropdownClick:!1,linkDropdowns:!0,controlToggle:!1},h=[],n={},r=function(){if(g.controlToggle){var t=document.querySelectorAll(g.container);if(!t.length)throw new Error("".concat(g.container," not found in the DOM"));var n=!0,r=!1,o=void 0;try{for(var e,i=t[Symbol.iterator]();!(n=(e=i.next()).done);n=!0){var a=e.value,l={};l.parent=a.parentElement,l.container=a,h.push(l)}}catch(t){r=!0,o=t}finally{try{n||null==i.return||i.return()}finally{if(r)throw o}}}else{var c=document.querySelectorAll(g.trigger);if(!c.length)throw new Error("".concat(g.trigger," not found in the DOM"));var f=!0,s=!1,u=void 0;try{for(var y,v=c[Symbol.iterator]();!(f=(y=v.next()).done);f=!0){var d=y.value,p=d.parentElement.querySelector(g.container);if(!p)throw new Error("".concat(g.container," not found as sibling of ").concat(g.trigger));var m={};m.parent=p.parentElement,m.trigger=d,m.container=p,h.push(m)}}catch(t){s=!0,u=t}finally{try{f||null==v.return||v.return()}finally{if(s)throw u}}}},o=function(){var t=!0,n=!1,r=void 0;try{for(var o,e=h[Symbol.iterator]();!(t=(o=e.next()).done);t=!0){var i=o.value;a(i)}}catch(t){n=!0,r=t}finally{try{t||null==e.return||e.return()}finally{if(n)throw r}}},a=function(t){for(var n in t.parent.style.position=g.absolute?"absolute":"relative",S(t.container,{position:"absolute",zIndex:g.animation.zIndex}),g.offset)t.container.style[n]="".concat(g.offset[n],"px")},e=function(){var t=!0,n=!1,r=void 0;try{for(var o,e=h[Symbol.iterator]();!(t=(o=e.next()).done);t=!0){var i=o.value;l(i)}}catch(t){n=!0,r=t}finally{try{t||null==e.return||e.return()}finally{if(n)throw r}}},l=function(t){"translate-top"!==g.animation.type&&"translate-bottom"!==g.animation.type||(t.container.style.transition="transform ".concat(g.animation.speed,"s ").concat(g.animation.ease,",\n                                             opacity ").concat(g.animation.speed,"s ").concat(g.animation.ease,",\n                                             visibility ").concat(g.animation.speed,"s ").concat(g.animation.ease))},i=function(){var t=!0,n=!1,r=void 0;try{for(var o,e=h[Symbol.iterator]();!(t=(o=e.next()).done);t=!0){var i=o.value;f(i)}}catch(t){n=!0,r=t}finally{try{t||null==e.return||e.return()}finally{if(n)throw r}}},f=function(t){"click"===g.triggerEvent?t.trigger.addEventListener("click",function(){v(t)}):"hover"===g.triggerEvent&&(t.trigger.addEventListener("mouseenter",function(){m(t)}),t.trigger.addEventListener("mouseleave",function(){p(t)}))},s=function(){var t=!0,n=!1,r=void 0;try{for(var o,e=h[Symbol.iterator]();!(t=(o=e.next()).done);t=!0){var i=o.value;u(i)}}catch(t){n=!0,r=t}finally{try{t||null==e.return||e.return()}finally{if(n)throw r}}},u=function(t){t.container.addEventListener("click",function(){p(t)})},y=function(){window.addEventListener("click",function(t){if(c){var n=t.target;do{var r=!0,o=!1,e=void 0;try{for(var i,a=h[Symbol.iterator]();!(r=(i=a.next()).done);r=!0){var l=i.value;if(n===l.trigger||n===l.container)return}}catch(t){o=!0,e=t}finally{try{r||null==a.return||a.return()}finally{if(o)throw e}}}while(n=n.parentElement);d()}})},v=function(t){(t.active?p:m)(t)},d=function(){var t=!0,n=!1,r=void 0;try{for(var o,e=h[Symbol.iterator]();!(t=(o=e.next()).done);t=!0){var i=o.value;p(i)}}catch(t){n=!0,r=t}finally{try{t||null==e.return||e.return()}finally{if(n)throw r}}},p=function(t){w(t),g.controlToggle||function(t){t.trigger.classList.remove(g.activeClass)}(t),t.active=!1,c=!1},m=function(t){g.linkDropdowns&&d(),b(t),g.controlToggle||function(t){t.trigger.classList.add(g.activeClass)}(t),t.active=!0,c=!0},w=function(t){"static"===g.animation.type?S(t.container,{display:"none"}):"translate-top"===g.animation.type?S(t.container,{opacity:0,visibility:"hidden",transform:"translate(0, -".concat(g.animation.translateOffset.vertical,"px)")}):"translate-bottom"===g.animation.type&&S(t.container,{opacity:0,visibility:"hidden",transform:"translate(0, ".concat(g.animation.translateOffset.vertical,"px)")})},b=function(t){"static"===g.animation.type?S(t.container,{display:"block"}):"translate-top"!==g.animation.type&&"translate-bottom"!==g.animation.type||S(t.container,{opacity:1,visibility:"visible",transform:"translate(0, 0)"})},S=function(t,n){for(var r in n)t.style[r]=n[r]};return function t(n,r){var o;for(var e in r)"object"!==_typeof(r[e])||r[e]instanceof Date?r[e]instanceof Date?n[e]=new Date(r[e].getTime()):n[e]=r[e]:(o=r[e]instanceof Array?[]:{},void 0===n[e]&&(n[e]=o),t(n[e],r[e]))}(g,t),r(),o(),g.controlToggle||i(),g.closeOnDropdownClick&&s(),g.closeOnWindowClick&&y(),d(),window.setTimeout(e,300),n.showDropdowns=function(){var t=!0,n=!1,r=void 0;try{for(var o,e=h[Symbol.iterator]();!(t=(o=e.next()).done);t=!0){var i=o.value;m(i)}}catch(t){n=!0,r=t}finally{try{t||null==e.return||e.return()}finally{if(n)throw r}}},n.hideDropdowns=d,n}
  "use strict";function _typeof(t){return(_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})(t)}function XM_Hexagon(t){var p={width:100,height:110,lineWidth:6,lineColor:"#fff",lineCap:"square",buttEnd:!1,fill:!1,clip:!1,roundedCorners:!1,roundedCornerRadius:4,animation:{easing:!0},animateOnScroll:!1,controlAnimation:!1,speed:50,scale:{start:0,end:1,stop:1},invertedProgress:!1,reverse:!1,linkText:!1,innerLink:!0,linkToContainer:".bar-progress-wrap",linkTo:".bar-progress-text",extraLinkTo:[],linkUnits:"%",linkUnitsSelector:".bar-progress-unit",innerTextFollowsProgress:!1,decimalPoints:0,barTextStyle:{primaryColor:"#fff",secondaryColor:"#363636",font:"bold 10px Exo, sans-serif"}},h=[],v={},i=function(){var t=document.querySelectorAll(p.container);if(!t.length)throw Error('Unable to find "'.concat(p.container,'" on the DOM'));var i=!0,e=!1,n=void 0;try{for(var r,o=t[Symbol.iterator]();!(i=(r=o.next()).done);i=!0){var a=r.value,d={};d.container=a,d.imageSrc=a.getAttribute("data-src"),d.canvas=document.createElement("canvas"),d.ctx=d.canvas.getContext("2d"),d.finishedDrawing=!1,d.canvas.width=p.width,d.canvas.height=p.height,d.canvas.style.position="absolute",d.canvas.style.top=0,d.canvas.style.left=0,d.container.style.width="".concat(p.width,"px"),d.container.style.height="".concat(p.height,"px"),d.container.style.position="relative",d.container.append(d.canvas),h.push(d)}}catch(t){e=!0,n=t}finally{try{i||null==o.return||o.return()}finally{if(e)throw n}}},e=function(){t.scale&&(p.scale.stop=p.scale.stop>p.scale.end?p.scale.end:p.scale.stop,p.scale.stop=p.scale.stop<p.scale.start?p.scale.start:p.scale.stop,p.scale.stop=void 0!==t.scale.stop?p.scale.stop:p.scale.end),v.sideWidth=o(p.width,p.height),v.perimeter=6*v.sideWidth,v.lineLength=p.scale.stop/p.scale.end*v.perimeter,v.sideCount=Math.floor(v.lineLength/v.sideWidth),p.stopPoint=p.scale.stop},n=function(){var t=!0,i=!1,e=void 0;try{for(var n,r=h[Symbol.iterator]();!(t=(n=r.next()).done);t=!0){var o=n.value;if(p.gradient){var a=o.ctx.createLinearGradient(0,p.height,p.width,0);a.addColorStop(0,p.gradient.colors[0]),a.addColorStop(1,p.gradient.colors[1]),o.ctx.strokeStyle=a,o.ctx.fillStyle=a}else o.ctx.strokeStyle=p.lineColor,o.ctx.fillStyle=p.lineColor;o.ctx.lineCap=p.lineCap,o.ctx.lineWidth=p.lineWidth}}catch(t){i=!0,e=t}finally{try{t||null==r.return||r.return()}finally{if(i)throw e}}},r=function(){var t=!0,i=!1,e=void 0;try{for(var n,r=h[Symbol.iterator]();!(t=(n=r.next()).done);t=!0){var o=n.value;p.speed=100<p.speed?100:p.speed,p.speed=p.speed<1?1:p.speed,o.animation={},o.animation.easing=p.animation.easing,o.animation.speed=p.speed,o.animation.step=o.animation.speed*p.width/2e3,o.animation.currentProgress=0}}catch(t){i=!0,e=t}finally{try{t||null==r.return||r.return()}finally{if(i)throw e}}};function a(t){for(var i=(window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop)+window.innerHeight,e=t.canvas,n=e.offsetTop;e=e.offsetParent;)n+=e.offsetTop;return n<=i}function d(t){t.animation.currentProgress<p.stopPoint&&(t.animation.easing?(t.animation.currentProgress+=.06*(p.stopPoint-t.animation.currentProgress),t.animation.currentProgress>=p.stopPoint-1&&(t.animation.currentProgress=p.stopPoint,t.finishedDrawing=!0)):(t.animation.currentProgress+=t.animation.step,t.animation.currentProgress>=p.stopPoint&&(t.animation.currentProgress=p.stopPoint,t.finishedDrawing=!0))),s(t,t.animation.currentProgress),t.finishedDrawing||window.requestAnimationFrame(d)}function m(t,i){return Math.sqrt(Math.pow(i.x-t.x,2)+Math.pow(i.y-t.y,2))}function T(t,i,e){var n=m(t,i),r=Math.min(e,n),o=function(t,i,e){var n=i.x-t.x,r=i.y-t.y,o=m(t,i),a=n/o,d=r/o;return{x:t.x+e*a,y:t.y+e*d}}(t,i,r);return{x:o.x,y:o.y,distance:r}}var o=function(t,i){return(-i/2+Math.sqrt(Math.pow(i,2)+.75*Math.pow(t,2)))/1.5},s=function(n,t){var i=1<arguments.length&&void 0!==t?t:p.stopPoint;if(n.ctx.clearRect(0,0,p.width,p.height),0!==i){if(n.ctx.beginPath(),p.roundedCorners){var e=p.fill||p.clip?0:p.lineWidth/2,r=function(t){var i=(p.height-v.sideWidth)/p.width;return(t-(v.sideWidth-p.height)/2)/i}(p.roundedCornerRadius)-p.width/2,o=function(t){return(p.height-v.sideWidth)/p.width*t+(v.sideWidth-p.height)/2}(p.width-r);if(p.clip||p.fill)n.ctx.moveTo(p.width/2-r,p.roundedCornerRadius+e),n.ctx.quadraticCurveTo(p.width/2,0+e,p.width/2+r,p.roundedCornerRadius+e),n.ctx.lineTo(p.width-e-r,o),n.ctx.quadraticCurveTo(p.width-e,(p.height-v.sideWidth)/2,p.width-e,(p.height-v.sideWidth)/2+r),n.ctx.lineTo(p.width-e,p.height-(p.height-v.sideWidth)/2-r),n.ctx.quadraticCurveTo(p.width-e,p.height-(p.height-v.sideWidth)/2,p.width-e-r,p.height-o),n.ctx.lineTo(p.width/2+r,p.height-e-p.roundedCornerRadius),n.ctx.quadraticCurveTo(p.width/2,p.height-e,p.width/2-r,p.height-e-p.roundedCornerRadius),n.ctx.lineTo(0+e+r,p.height-o),n.ctx.quadraticCurveTo(0+e,p.height-(p.height-v.sideWidth)/2,0+e,p.height-(p.height-v.sideWidth)/2-r),n.ctx.lineTo(0+e,(p.height-v.sideWidth)/2+r),n.ctx.quadraticCurveTo(0+e,(p.height-v.sideWidth)/2,0+e+r,o),n.ctx.lineTo(p.width/2-r,p.roundedCornerRadius+e);else for(;;){var a={x:p.width/2-r,y:p.roundedCornerRadius+e},d={x:p.width/2,y:0+e},h={x:p.width/2+r,y:p.roundedCornerRadius+e},s=m(a,d)+m(d,h),c={x:p.width/2,y:0+e},l={x:p.width/2+r,y:p.roundedCornerRadius+e},u=m(c,l),g=v.lineLength-u-s,f=void 0,x=void 0,w=void 0;if(f={x:p.width/2+r,y:p.roundedCornerRadius+e},x={x:p.width-e-r,y:o},w=T(f,x,g),n.ctx.moveTo(p.width/2+r,p.roundedCornerRadius+e),n.ctx.lineTo(w.x,w.y),(g-=w.distance)<=0)break;if(i<=1/6)break;if(n.ctx.quadraticCurveTo(p.width-e,(p.height-v.sideWidth)/2,p.width-e,(p.height-v.sideWidth)/2+r),(g-=s)<=0)break;if(f={x:p.width-e,y:(p.height-v.sideWidth)/2+r},x={x:p.width-e,y:p.height-(p.height-v.sideWidth)/2-r},w=T(f,x,g),n.ctx.lineTo(w.x,w.y),(g-=w.distance)<=0)break;if(i<=2/6)break;if(n.ctx.quadraticCurveTo(p.width-e,p.height-(p.height-v.sideWidth)/2,p.width-e-r,p.height-o),(g-=s)<=0)break;if(f={x:p.width-e-r,y:p.height-o},x={x:p.width/2+r,y:p.height-e-p.roundedCornerRadius},w=T(f,x,g),n.ctx.lineTo(w.x,w.y),(g-=w.distance)<=0)break;if(i<=.5)break;if(n.ctx.quadraticCurveTo(p.width/2,p.height-e,p.width/2-r,p.height-e-p.roundedCornerRadius),(g-=s)<=0)break;if(f={x:p.width/2-r,y:p.height-e-p.roundedCornerRadius},x={x:0+e+r,y:p.height-o},w=T(f,x,g),n.ctx.lineTo(w.x,w.y),(g-=w.distance)<=0)break;if(i<=4/6)break;if(n.ctx.quadraticCurveTo(0+e,p.height-(p.height-v.sideWidth)/2,0+e,p.height-(p.height-v.sideWidth)/2-r),(g-=s)<=0)break;if(f={x:0+e,y:p.height-(p.height-v.sideWidth)/2-r},x={x:0+e,y:(p.height-v.sideWidth)/2+r},w=T(f,x,g),n.ctx.lineTo(w.x,w.y),(g-=w.distance)<=0)break;if(i<=5/6)break;if(n.ctx.quadraticCurveTo(0+e,(p.height-v.sideWidth)/2,0+e+r,o),(g-=s)<=0)break;if(f={x:0+e+r,y:o},x={x:p.width/2-r,y:p.roundedCornerRadius+e},w=T(f,x,g),n.ctx.lineTo(w.x,w.y),(g-=w.distance)<=0)break;if(i<1)break;n.ctx.quadraticCurveTo(p.width/2,0+e,p.width/2+r,p.roundedCornerRadius+e);break}}else p.clip||p.fill?(n.ctx.moveTo(p.width/2,0),n.ctx.lineTo(p.width,(p.height-v.sideWidth)/2),n.ctx.lineTo(p.width,p.height-(p.height-v.sideWidth)/2),n.ctx.lineTo(p.width/2,p.height),n.ctx.lineTo(0,p.height-(p.height-v.sideWidth)/2),n.ctx.lineTo(0,(p.height-v.sideWidth)/2),n.ctx.lineTo(p.width/2,0)):(n.ctx.moveTo(p.width/2,0+p.lineWidth/2),n.ctx.lineTo(p.width-p.lineWidth/2,(p.height-v.sideWidth)/2),n.ctx.lineTo(p.width-p.lineWidth/2,p.height-(p.height-v.sideWidth)/2),n.ctx.lineTo(p.width/2,p.height-p.lineWidth/2),n.ctx.lineTo(0+p.lineWidth/2,p.height-(p.height-v.sideWidth)/2),n.ctx.lineTo(0+p.lineWidth/2,(p.height-v.sideWidth)/2),n.ctx.lineTo(p.width/2,0+p.lineWidth/2));if(p.clip){if(n.ctx.clip(),n.imageSrc){var y=new Image;y.src=n.imageSrc,y.addEventListener("load",function(){var t=Math.max(p.width,p.height),i=(Math.abs(p.width-p.height),p.width<p.height?(p.width-p.height)/2:0),e=p.height<p.width?(p.height-p.width)/2:0;n.ctx.drawImage(y,i,e,t,t)})}}else p.fill?n.ctx.fill():n.ctx.stroke()}else n.finishedDrawing=!0};this.render=function(t){t=(t=(t=t>p.scale.end?p.scale.end:t)<p.scale.start?p.scale.start:t)/p.scale.end*p.width,s(t)},function t(i,e){var n;for(var r in e)"object"!==_typeof(e[r])||e[r]instanceof Date?e[r]instanceof Date?i[r]=new Date(e[r].getTime()):i[r]=e[r]:(n=e[r]instanceof Array?[]:{},void 0===i[r]&&(i[r]=n),t(i[r],e[r]))}(p,t),i(),e(),n(),r(),function(){var t=!0,i=!1,e=void 0;try{for(var n,r=function(){var i=n.value;p.animateOnScroll?a(i)?window.requestAnimationFrame(function(){d(i)}):window.addEventListener("scroll",function t(){a(i)&&(window.requestAnimationFrame(function(){d(i)}),window.removeEventListener("scroll",t))}):p.controlAnimation||s(i)},o=h[Symbol.iterator]();!(t=(n=o.next()).done);t=!0)r()}catch(t){i=!0,e=t}finally{try{t||null==o.return||o.return()}finally{if(i)throw e}}}()}
  "use strict";function _typeof(t){return(_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})(t)}function XM_Popup(t){function n(){"static"===s.overlay.animation.type?r.overlay.style.display="block":"fade"===s.overlay.animation.type&&(r.overlay.style.opacity=1,r.overlay.style.visibility="visible"),r.visible=!0,s.sticky||(r.popupContainer.style.top="".concat(s.offset.top+window.scrollY,"px")),"fade"===s.animation.type?(r.popupContainer.style.opacity=1,r.popupContainer.style.visibility="visible"):"translate-in"===s.animation.type||"translate-out"===s.animation.type?(r.popupContainer.style.visibility="visible",r.popupContainer.style.transform="translate(0, 0)"):"zoom"===s.animation.type?(r.popupContainer.style.visibility="visible",r.popupContainer.style.transform="scale(1)"):"translate-in-fade"===s.animation.type||"translate-out-fade"===s.animation.type?(r.popupContainer.style.opacity=1,r.popupContainer.style.visibility="visible",r.popupContainer.style.transform="translate(0, 0)"):"zoom-fade"===s.animation.type&&(r.popupContainer.style.opacity=1,r.popupContainer.style.visibility="visible",r.popupContainer.style.transform="scale(1)"),r.open=!0}function p(){r.open?f():n()}var s={overlay:{color:"0, 0, 0",opacity:.8,closeOnClick:!0,animation:{type:"fade",ease:"ease-in-out",speed:.3}},align:"center",sticky:!1,offset:{top:100},animation:{type:"fade",ease:"ease-in-out",speed:.3,translateOffset:100},closeOnKey:27},r={},e=function(){r.overlay=document.createElement("div"),o(),document.body.appendChild(r.overlay)},o=function(){r.overlay.style.width="100%",r.overlay.style.height="100%",r.overlay.style.backgroundColor="rgba(".concat(s.overlay.color,", ").concat(s.overlay.opacity,")"),r.overlay.style.position="fixed",r.overlay.style.top=0,r.overlay.style.left=0,r.overlay.style.zIndex=1e5,a(),i()},i=function(){"fade"===s.overlay.animation.type&&(r.overlay.style.transition="opacity ".concat(s.overlay.animation.speed,"s ").concat(s.overlay.animation.ease,", \n      visibility ").concat(s.overlay.animation.speed,"s ").concat(s.overlay.animation.ease))},a=function(){"static"===s.overlay.animation.type?r.overlay.style.display="none":"fade"===s.overlay.animation.type&&(r.overlay.style.opacity=0,r.overlay.style.visibility="hidden")},l=function(){if(r.popupContainer=document.querySelector(s.container),!r.popupContainer)throw new Error("Couldn't find ".concat(s.container," in the DOM"));y()},y=function(){r.popupContainer.style.position=s.sticky?"fixed":"absolute",r.popupContainer.style.left="50%",r.popupContainer.style.zIndex=100001,f(),u()},c=function(){var t=window.innerHeight-r.popupContainer.offsetHeight,n=t<0?0:t/2,e=t<0?0:t;"center"===s.align?r.popupContainer.style.top="".concat(n,"px"):"top"===s.align?r.popupContainer.style.top="".concat(s.offset.top,"px"):"bottom"===s.align&&(r.popupContainer.style.top="".concat(e,"px")),s.sticky||(r.visible?r.popupContainer.style.top="".concat(s.offset.top+window.scrollY,"px"):r.popupContainer.style.top="0"),r.popupContainer.style.marginLeft="-".concat(r.popupContainer.offsetWidth/2,"px")},u=function(){"fade"===s.animation.type?r.popupContainer.style.transition="opacity ".concat(s.animation.speed,"s ").concat(s.animation.ease,", \n      visibility ").concat(s.animation.speed,"s ").concat(s.animation.ease):"translate-in"===s.animation.type||"translate-out"===s.animation.type||"zoom"===s.animation.type?r.popupContainer.style.transition="transform ".concat(s.animation.speed,"s ").concat(s.animation.ease,", \n      visibility ").concat(s.animation.speed,"s ").concat(s.animation.ease):"translate-in-fade"!==s.animation.type&&"translate-out-fade"!==s.animation.type&&"zoom-fade"!==s.animation.type||(r.popupContainer.style.transition="transform ".concat(s.animation.speed,"s ").concat(s.animation.ease,", \n      opacity ").concat(s.animation.speed,"s ").concat(s.animation.ease,", visibility ").concat(s.animation.speed,"s ").concat(s.animation.ease))},f=function(){r.visible=!1,"fade"===s.animation.type?(r.popupContainer.style.opacity=0,r.popupContainer.style.visibility="hidden"):"translate-in"===s.animation.type?(r.popupContainer.style.visibility="hidden",r.popupContainer.style.transform="translate(0, -".concat(s.animation.translateOffset,"px)")):"translate-out"===s.animation.type?(r.popupContainer.style.visibility="hidden",r.popupContainer.style.transform="translate(0, ".concat(s.animation.translateOffset,"px)")):"zoom"===s.animation.type?(r.popupContainer.style.visibility="hidden",r.popupContainer.style.transform="scale(0)"):"translate-in-fade"===s.animation.type?(r.popupContainer.style.opacity=0,r.popupContainer.style.visibility="hidden",r.popupContainer.style.transform="translate(0, -".concat(s.animation.translateOffset,"px)")):"translate-out-fade"===s.animation.type?(r.popupContainer.style.opacity=0,r.popupContainer.style.visibility="hidden",r.popupContainer.style.transform="translate(0, ".concat(s.animation.translateOffset,"px)")):"zoom-fade"===s.animation.type&&(r.popupContainer.style.opacity=0,r.popupContainer.style.visibility="hidden",r.popupContainer.style.transform="scale(0)"),window.setTimeout(function(){s.sticky||(r.popupContainer.style.top="0")},1e3*s.animation.speed),a(),r.open=!1},m=function(){var t=document.querySelectorAll(s.trigger);if(!t.length)throw new Error("Couldn't find ".concat(s.trigger," in the DOM"));var n=!0,e=!1,o=void 0;try{for(var i,a=t[Symbol.iterator]();!(n=(i=a.next()).done);n=!0){i.value.addEventListener("click",p)}}catch(t){e=!0,o=t}finally{try{n||null==a.return||a.return()}finally{if(e)throw o}}s.overlay.closeOnClick&&r.overlay.addEventListener("click",f),s.closeOnKey&&window.addEventListener("keydown",function(t){t.keyCode===s.closeOnKey&&r.open&&f()})};return function t(n,e){var o;for(var i in e)"object"!==_typeof(e[i])||e[i]instanceof Date?e[i]instanceof Date?n[i]=new Date(e[i].getTime()):n[i]=e[i]:(o=e[i]instanceof Array?[]:{},void 0===n[i]&&(n[i]=o),t(n[i],e[i]))}(s,t),e(),l(),m(),c(),window.addEventListener("resize",c),r}
  "use strict";function _typeof(e){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function XM_ProgressBar(h){function e(e,t){var n=t[0],i=t.substring(1);"."===n&&e.setAttribute("class",i),"#"===n&&e.setAttribute("id",i)}var p={height:6,lineColor:"#ebebeb",lineCap:"round",buttEnd:!1,animation:{easing:!0},animateOnScroll:!1,controlAnimation:!1,speed:50,scale:{start:0,end:1,stop:1},invertedProgress:!1,reverse:!1,linkText:!1,innerLink:!0,linkToContainer:".bar-progress-wrap",linkTo:".bar-progress-text",extraLinkTo:[],linkUnits:"%",linkUnitsSelector:".bar-progress-unit",innerTextFollowsProgress:!1,decimalPoints:0,barTextStyle:{primaryColor:"#fff",secondaryColor:"#363636",font:"bold 10px Exo, sans-serif"}},o=document.createElement("canvas"),r=o.getContext("2d"),l=this,f=function(e){var t=document.createElement("div");t.style.width="".concat(e.partWidth+2*e.width,"px"),t.style.height="".concat(p.height+2*e.width,"px"),t.style.border="".concat(e.width,"px solid ").concat(e.color),t.style.borderRadius="200px",t.style.position="absolute",t.style.top="-".concat(e.width,"px"),t.style.left="".concat(e.offset,"px"),l.container.append(t)},u=function(){if(l.container=document.querySelector(p.container),!l.container)throw Error('Unable to find "'.concat(p.container,'" on the DOM'));o.width=p.width,o.height=p.height,o.style.position="absolute",o.style.top=0,o.style.left=0,l.container.style.width="".concat(p.width,"px"),l.container.style.height="".concat(p.height,"px"),l.container.style.position="relative",l.container.append(o)},m=function(){var e=1/0;for(var t in p.breakpoints)window.innerWidth<=t&&(e=t<e?t:e);e!==1/0&&(p.width=p.breakpoints[e].width,p.height=p.breakpoints[e].height)},g=function(){var e=1/0;for(var t in p.breakpoints)window.innerWidth<=t&&(e=t<e?t:e);w(e===1/0?p.originalDimensions:p.breakpoints[e])},w=function(e){void 0===e&&((e={}).width=p.width,e.height=p.height),o.width=e.width,o.height=e.height,l.container.style.width="".concat(e.width,"px"),l.container.style.height="".concat(e.height,"px");var t=p.scale.stop/p.scale.end*e.width;if(a(t),p.linkElContainer&&p.innerTextFollowsProgress&&(p.linkElContainer.style.left="".concat(t,"px")),k(),0!=t){if(r.beginPath(),"butt"===p.lineCap&&(r.moveTo(0,e.height/2),r.lineTo(t,e.height/2)),"round"===p.lineCap){var n=r.lineWidth/2,i=t-n;p.reverse?(r.moveTo(e.width-n,e.height/2),e.width-t<=n?r.lineTo(n,e.height/2):r.lineTo(e.width-t,e.height/2)):(r.moveTo(n,e.height/2),i<n?r.lineTo(n,e.height/2):r.lineTo(i,e.height/2))}r.stroke()}},T=function(){p.linkText&&(p.innerLink&&(p.linkElContainer=l.container.parentElement.querySelector(p.linkToContainer),p.linkElContainer||(p.linkElContainer=document.createElement("div"),e(p.linkElContainer,p.linkToContainer),l.container.append(p.linkElContainer)),p.linkEl=l.container.parentElement.querySelector(p.linkTo),p.linkEl||(p.linkEl=document.createElement("p"),e(p.linkEl,p.linkTo),p.linkElContainer.append(p.linkEl)),p.innerTextFollowsProgress&&(p.linkElContainer.style.position="absolute"),p.linkUnits&&(p.linkUnitsEl=document.createElement("span"),e(p.linkUnitsEl,p.linkUnitsSelector),p.linkUnitsEl.innerHTML=p.linkUnits)),0<p.extraLinkTo.length&&(p.extraLinkEl=[],p.extraLinkTo.forEach(function(e){if(!document.querySelector(e))throw Error('Unable to find "'.concat(e,'" on the DOM'));p.extraLinkEl.push(document.querySelector(e))})))},a=function(e){if(p.linkText){var t=(e/p.width*p.scale.end).toFixed(p.decimalPoints);p.invertedProgress&&(t=p.scale.end-t),p.innerLink&&(p.linkEl.innerHTML=t,p.linkUnits&&p.linkEl.append(p.linkUnitsEl),"/"===p.linkUnits&&(p.linkEl.innerHTML+=p.scale.end),p.innerTextFollowsProgress&&(p.linkElContainer.style.left="".concat(e,"px"))),0<p.extraLinkTo.length&&p.extraLinkEl.forEach(function(e){e.innerHTML=t})}},y=function(){p.speed=100<p.speed?100:p.speed,p.speed=p.speed<1?1:p.speed,p.animation.step=p.speed*p.width/2e3,p.animation.currentProgress=0};function k(){if(p.gradient){var e=r.createLinearGradient(0,p.height,p.width,0);e.addColorStop(0,p.gradient.colors[0]),e.addColorStop(1,p.gradient.colors[1]),r.strokeStyle=e}else r.strokeStyle=p.lineColor;r.lineCap=p.lineCap,r.lineWidth=p.height}function v(){for(var e=(window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop)+window.innerHeight,t=o,n=t.offsetTop;t=t.offsetParent;)n+=t.offsetTop;return n<=e}function x(){p.animation.currentProgress<p.stopPoint&&(p.animation.easing?(p.animation.currentProgress+=.06*(p.stopPoint-p.animation.currentProgress),p.animation.currentProgress>=p.stopPoint-1&&(p.animation.currentProgress=p.stopPoint,l.done=!0)):(p.animation.currentProgress+=p.animation.step,p.animation.currentProgress>=p.stopPoint&&(p.animation.currentProgress=p.stopPoint,l.done=!0))),E(p.animation.currentProgress),l.done||window.requestAnimationFrame(x)}var E=function(e){var t=0<arguments.length&&void 0!==e?e:p.stopPoint;if(a(t),r.clearRect(0,0,p.width,p.height),0===t)return p.emptyText&&(p.emptyTextContainer?p.emptyTextEl=document.querySelector(p.emptyTextContainer):p.emptyTextEl=p.linkEl.parentElement,p.emptyTextEl.innerHTML=p.emptyText),void(l.done=!0);if(r.beginPath(),"butt"===p.lineCap&&(r.moveTo(0,p.height/2),r.lineTo(t,p.height/2),r.stroke()),"round"===p.lineCap){var n=r.lineWidth/2,i=t-n;p.reverse?(r.moveTo(p.width-n,p.height/2),p.width-t<=n?r.lineTo(n,p.height/2):r.lineTo(p.width-t,p.height/2)):(r.moveTo(n,p.height/2),i<n?r.lineTo(n,p.height/2):r.lineTo(i,p.height/2)),r.stroke(),p.buttEnd&&(r.lineCap="butt",p.reverse?(r.moveTo(p.width-t,p.height/2),r.lineTo(p.width-t-n,p.height/2)):(r.moveTo(i,p.height/2),r.lineTo(t,p.height/2)),r.stroke(),r.lineCap="round")}p.barText&&s(t),p.completeText&&t===p.width&&(p.completeTextContainer?p.completeTextEl=document.querySelector(p.completeTextContainer):p.completeTextEl=p.linkEl.parentElement,p.completeTextEl.innerHTML=p.completeText)},s=function(e){var t=0;r.font=p.barTextStyle.font;for(var n=0;n<p.barText.length;n++)r.fillStyle=p.barTextStyle.primaryColor,e<t+12&&(r.fillStyle=p.barTextStyle.secondaryColor),r.fillText(p.barText[n],12+t,4+p.height/2),t+=r.measureText(p.barText[n]).width};l.render=function(e){e=(e=(e=e>p.scale.end?p.scale.end:e)<p.scale.start?p.scale.start:e)/p.scale.end*p.width,E(e)};var b=function e(t,n){var i;for(var o in n)"object"!==_typeof(n[o])||n[o]instanceof Date?n[o]instanceof Date?t[o]=new Date(n[o].getTime()):t[o]=n[o]:(i=n[o]instanceof Array?[]:{},void 0===t[o]&&(t[o]=i),e(t[o],n[o]))};!function(){if(b(p,h),"auto"===p.width||void 0===p.width){var e=document.querySelector(p.container).parentElement;p.width=e.offsetWidth,window.addEventListener("resize",function(){p.width=e.offsetWidth,w()})}if(p.originalDimensions={width:p.width,height:p.height},m(),h.scale&&(p.scale.stop=p.scale.stop>p.scale.end?p.scale.end:p.scale.stop,p.scale.stop=p.scale.stop<p.scale.start?p.scale.start:p.scale.stop,p.scale.stop=void 0!==h.scale.stop?p.scale.stop:p.scale.end),p.stopPoint=p.scale.stop/p.scale.end*p.width,u(),T(),k(),y(),p.animateOnScroll?v()?window.requestAnimationFrame(x):window.addEventListener("scroll",function e(){v()&&(window.requestAnimationFrame(x),window.removeEventListener("scroll",e))}):p.controlAnimation||E(),void 0!==p.split)if(void 0!==p.split.parts)for(var t=(p.width-p.split.gap*(p.split.parts-1))/p.split.parts,n=-p.split.gap,i=0;i<p.split.parts;i++)f({width:p.split.gap,color:p.split.color,offset:n,partWidth:t}),n+=t+p.split.gap;else if(void 0!==p.split.partItems){var o=0,r=!0,l=!1,a=void 0;try{for(var s,c=p.split.partItems[Symbol.iterator]();!(r=(s=c.next()).done);r=!0){var d=s.value;o-=d.gap,f({width:d.gap,color:p.split.color,offset:o,partWidth:d.width}),o+=d.width+2*d.gap}}catch(e){l=!0,a=e}finally{try{r||null==c.return||c.return()}finally{if(l)throw a}}}p.breakpoints&&window.addEventListener("resize",function(){g()})}()}
  "use strict";function _typeof(t){return(_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})(t)}function XM_Tab(n){var a={triggers:"",elements:"",startOpen:1,animation:{type:"static",speed:.6,easing:"ease-in-out"},triggerActiveClass:"active",triggerEvent:"click",onTabChange:function(t){}},s={},e=function(){return 1366<=window.innerWidth?"desktop":"mobile"},i=function(){return s.triggers=document.querySelectorAll(a.triggers),s.triggers.length},r=function(){return s.elements=document.querySelectorAll(a.elements),s.elements.length},o=function(){for(var t=function(t){var n=s.triggers[t];n.addEventListener(a.triggerEvent,function(){c(n)||u(t)})},n=0;n<s.triggers.length;n++)t(n)},l=function(){for(var t=0;t<s.elements.length;t++)f(t)},c=function(t){return t.classList.contains(a.triggerActiveClass)},f=function(t){!function(t){t.classList.remove(a.triggerActiveClass)}(s.triggers[t]),w(s.elements[t])},u=function(t){l(),function(t){t.classList.add(a.triggerActiveClass)}(s.triggers[t]),h(s.elements[t]),"static"!==a.animation.type?window.setTimeout(function(){a.onTabChange(s.elements[t])},300):a.onTabChange(s.elements[t])},y=function(t){t.style.transition="all ".concat(a.animation.speed,"s ").concat(a.animation.easing)},m=function(t){t.style.transition="none"},g=function(){var t=!0,n=!1,e=void 0;try{for(var i,r=s.elements[Symbol.iterator]();!(t=(i=r.next()).done);t=!0){var o=i.value;p(o)}}catch(t){n=!0,e=t}finally{try{t||null==r.return||r.return()}finally{if(n)throw e}}"static"!==a.animation.type&&window.setTimeout(function(){!function(){var t=!0,n=!1,e=void 0;try{for(var i,r=s.elements[Symbol.iterator]();!(t=(i=r.next()).done);t=!0){var o=i.value;y(o)}}catch(t){n=!0,e=t}finally{try{t||null==r.return||r.return()}finally{if(n)throw e}}}()},300)},v=function(){!function(){var t=!0,n=!1,e=void 0;try{for(var i,r=s.elements[Symbol.iterator]();!(t=(i=r.next()).done);t=!0){var o=i.value;m(o)}}catch(t){n=!0,e=t}finally{try{t||null==r.return||r.return()}finally{if(n)throw e}}}();var t=!0,n=!1,e=void 0;try{for(var i,r=s.elements[Symbol.iterator]();!(t=(i=r.next()).done);t=!0){var o=i.value;b(o)}}catch(t){n=!0,e=t}finally{try{t||null==r.return||r.return()}finally{if(n)throw e}}},d=function(){for(var t=0;t<s.triggers.length;t++){var n=s.triggers[t];c(n)&&(l(),u(t))}},p=function(t){"slide-in-right"===a.animation.type&&S(t,{position:"absolute",left:"0",zIndex:1})},b=function(t){"static"===a.animation.type?S(t,{display:"block"}):"slide-in-right"===s.animationType&&S(t,{position:"static",transform:"translate(0, 0)",opacity:1,visibility:"visible"})},h=function(t){if("static"===a.animation.type)S(t,{display:"block"});else if("slide-in-right"===a.animation.type){for(var n=t;n&&!(n=(n=n.previousElementSibling)||s.elements[s.elements.length-1]).classList.contains(a.elements.substring(1)););S(t,{transform:"translate(0, 0)",opacity:1,visibility:"visible",zIndex:2}),w(n)}},w=function(t){"static"===a.animation.type?S(t,{display:"none"}):"slide-in-right"===a.animation.type&&S(t,{transform:"translate(50%, 0)",opacity:0,visibility:"hidden",zIndex:1})},S=function(t,n){for(var e in n)t.style[e]=n[e]},T=function t(n,e){var i;for(var r in e)"object"!==_typeof(e[r])||e[r]instanceof Date?e[r]instanceof Date?n[r]=new Date(e[r].getTime()):n[r]=e[r]:(i=e[r]instanceof Array?[]:{},void 0===n[r]&&(n[r]=i),t(n[r],e[r]))};return function(){if(T(a,n),r()&&i()){s.animationType=a.animation.type,window.innerWidth<1366&&(a.animation.type="static"),l(),u(a.startOpen-1),g(),o();var t=e();window.addEventListener("resize",function(){window.innerWidth<1366&&"desktop"===t?(v(),a.animation.type="static",d(),g()):1366<=window.innerWidth&&"mobile"===t&&(v(),a.animation.type=s.animationType,d(),g()),t=e()})}}(),{}}
  "use strict";function _typeof(t){return(_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})(t)}function XM_Tooltip(t){var W={type:"title",direction:"top",align:"center",offset:20,tooltipSelector:["xm-tooltip"],textSelector:"xm-tooltip-text",eventHandler:"hover",animation:{type:"static",ease:"ease-in-out",speed:.3,translateOffset:10}},h={},i=function(){var t=document.querySelectorAll(W.container);o(t[0],W.container),h.tooltips=[],t.forEach(function(t){var i={},e=document.createElement("div"),a=!0,n=!1,o=void 0;try{for(var r,l=W.tooltipSelector[Symbol.iterator]();!(a=(r=l.next()).done);a=!0){var s=r.value;e.classList.add(s)}}catch(t){n=!0,o=t}finally{try{a||null==l.return||l.return()}finally{if(n)throw o}}if("title"===W.type){var m=document.createElement("p");m.classList.add(W.textSelector),m.innerHTML=t.getAttribute("data-title"),e.append(m)}else(W.type="html")&&(e.innerHTML=W.htmlContent);void 0!==W.parent?t.parentElement.append(e):t.append(e),i.containerElement=t,i.tooltipWrap={item:e,visible:!1},h.tooltips.push(i)})},e=function(){var t=!0,i=!1,e=void 0;try{for(var a,n=h.tooltips[Symbol.iterator]();!(t=(a=n.next()).done);t=!0){var o=a.value;void 0!==W.parent?o.containerElement.parentElement.style.position="relative":o.containerElement.style.position="relative",o.tooltipWrap.item.style.whiteSpace="nowrap",o.tooltipWrap.item.style.position="absolute",o.tooltipWrap.item.style.zIndex=99999;var r=0;"top"===W.direction||"bottom"===W.direction?r+=o.tooltipWrap.item.offsetHeight:"left"!==W.direction&&"right"!==W.direction||(r+=o.tooltipWrap.item.offsetWidth);var l=-W.offset-r;o.tooltipWrap.item.style[W.direction]="".concat(l,"px"),"center"===W.align?"top"===W.direction||"bottom"===W.direction?(o.tooltipWrap.item.style.left="50%",o.tooltipWrap.item.style.marginLeft="-".concat(o.tooltipWrap.item.offsetWidth/2,"px")):"left"!==W.direction&&"right"!==W.direction||(o.tooltipWrap.item.style.top="50%",o.tooltipWrap.item.style.marginTop="-".concat(o.tooltipWrap.item.offsetHeight/2,"px")):o.tooltipWrap.item.style[W.align]=0}}catch(t){i=!0,e=t}finally{try{t||null==n.return||n.return()}finally{if(i)throw e}}},a=function(){var t=!0,i=!1,e=void 0;try{for(var a,n=function(){var t=a.value;"static"===W.animation.type?t.tooltipWrap.item.style.display="none":"fade"===W.animation.type?(t.tooltipWrap.item.style.visibility="hidden",t.tooltipWrap.item.style.opacity=0):"zoom"===W.animation.type?(t.tooltipWrap.item.style.visibility="hidden",t.tooltipWrap.item.style.transform="scale(0)"):"zoom-fade"===W.animation.type?(t.tooltipWrap.item.style.visibility="hidden",t.tooltipWrap.item.style.opacity=0,t.tooltipWrap.item.style.transform="scale(0)"):"translate-in"===W.animation.type?(t.tooltipWrap.item.style.visibility="hidden","top"===W.direction?t.tooltipWrap.item.style.transform="translate(0, -".concat(W.animation.translateOffset,"px)"):"bottom"===W.direction?t.tooltipWrap.item.style.transform="translate(0, ".concat(W.animation.translateOffset,"px)"):"right"===W.direction?t.tooltipWrap.item.style.transform="translate(".concat(W.animation.translateOffset,"px, 0)"):"left"===W.direction&&(t.tooltipWrap.item.style.transform="translate(-".concat(W.animation.translateOffset,"px, 0)"))):"translate-out"===W.animation.type?(t.tooltipWrap.item.style.visibility="hidden","top"===W.direction?t.tooltipWrap.item.style.transform="translate(0, ".concat(W.animation.translateOffset,"px)"):"bottom"===W.direction?t.tooltipWrap.item.style.transform="translate(0, -".concat(W.animation.translateOffset,"px)"):"right"===W.direction?t.tooltipWrap.item.style.transform="translate(-".concat(W.animation.translateOffset,"px, 0)"):"left"===W.direction&&(t.tooltipWrap.item.style.transform="translate(".concat(W.animation.translateOffset,"px, 0)"))):"translate-in-fade"===W.animation.type?(t.tooltipWrap.item.style.opacity=0,t.tooltipWrap.item.style.visibility="hidden","top"===W.direction?t.tooltipWrap.item.style.transform="translate(0, -".concat(W.animation.translateOffset,"px)"):"bottom"===W.direction?t.tooltipWrap.item.style.transform="translate(0, ".concat(W.animation.translateOffset,"px)"):"right"===W.direction?t.tooltipWrap.item.style.transform="translate(".concat(W.animation.translateOffset,"px, 0)"):"left"===W.direction&&(t.tooltipWrap.item.style.transform="translate(-".concat(W.animation.translateOffset,"px, 0)"))):"translate-out-fade"===W.animation.type&&(t.tooltipWrap.item.style.opacity=0,t.tooltipWrap.item.style.visibility="hidden","top"===W.direction?t.tooltipWrap.item.style.transform="translate(0, ".concat(W.animation.translateOffset,"px)"):"bottom"===W.direction?t.tooltipWrap.item.style.transform="translate(0, -".concat(W.animation.translateOffset,"px)"):"right"===W.direction?t.tooltipWrap.item.style.transform="translate(-".concat(W.animation.translateOffset,"px, 0)"):"left"===W.direction&&(t.tooltipWrap.item.style.transform="translate(".concat(W.animation.translateOffset,"px, 0)"))),window.setTimeout(function(){t.tooltipWrap.item.style.transition="all ".concat(W.animation.speed,"s ").concat(W.animation.ease)},300)},o=h.tooltips[Symbol.iterator]();!(t=(a=o.next()).done);t=!0)n()}catch(t){i=!0,e=t}finally{try{t||null==o.return||o.return()}finally{if(i)throw e}}},n=function(){if("hover"===W.eventHandler){var t=!0,i=!1,e=void 0;try{for(var a,n=function(){var t=a.value;t.containerElement.addEventListener("mouseenter",function(){O(t.tooltipWrap)}),t.containerElement.addEventListener("mouseleave",function(){w(t.tooltipWrap)})},o=h.tooltips[Symbol.iterator]();!(t=(a=o.next()).done);t=!0)n()}catch(t){i=!0,e=t}finally{try{t||null==o.return||o.return()}finally{if(i)throw e}}}else if("click"===W.eventHandler){var r=!0,l=!1,s=void 0;try{for(var m,p=function(){var t=m.value;t.containerElement.addEventListener("click",function(){x(t.tooltipWrap)})},c=h.tooltips[Symbol.iterator]();!(r=(m=c.next()).done);r=!0)p()}catch(t){l=!0,s=t}finally{try{r||null==c.return||c.return()}finally{if(l)throw s}}window.addEventListener("click",function(){var t=!0,i=!1,e=void 0;try{for(var a,n=h.tooltips[Symbol.iterator]();!(t=(a=n.next()).done);t=!0){var o=a.value;o.tooltipWrap.visible&&w(o.tooltipWrap)}}catch(t){i=!0,e=t}finally{try{t||null==n.return||n.return()}finally{if(i)throw e}}}),window.addEventListener("keydown",function(t){if(27===t.keyCode){var i=!0,e=!1,a=void 0;try{for(var n,o=h.tooltips[Symbol.iterator]();!(i=(n=o.next()).done);i=!0){var r=n.value;r.tooltipWrap.visible&&w(r.tooltipWrap)}}catch(t){e=!0,a=t}finally{try{i||null==o.return||o.return()}finally{if(e)throw a}}}})}else if("clickTemp"===W.eventHandler){var f=!0,y=!1,d=void 0;try{for(var v,u=function(){var i=v.value;i.containerElement.addEventListener("click",function(t){O(i.tooltipWrap),window.setTimeout(function(){w(i.tooltipWrap)},2e3)})},b=h.tooltips[Symbol.iterator]();!(f=(v=b.next()).done);f=!0)u()}catch(t){y=!0,d=t}finally{try{f||null==b.return||b.return()}finally{if(y)throw d}}}},x=function(t){t.visible?w(t):O(t)},O=function(t){"static"===W.animation.type?t.item.style.display="block":"fade"===W.animation.type?(t.item.style.visibility="visible",t.item.style.opacity=1):"zoom"===W.animation.type?(t.item.style.visibility="visible",t.item.style.transform="scale(1)"):"zoom-fade"===W.animation.type?(t.item.style.visibility="visible",t.item.style.opacity=1,t.item.style.transform="scale(1)"):"translate-in"===W.animation.type||"translate-out"===W.animation.type?(t.item.style.visibility="visible",t.item.style.transform="translate(0, 0)"):"translate-in-fade"!==W.animation.type&&"translate-out-fade"!==W.animation.type||(t.item.style.visibility="visible",t.item.style.opacity=1,t.item.style.transform="translate(0, 0)"),window.setTimeout(function(){t.visible=!0},W.animation.speed)},w=function(t){"static"===W.animation.type?t.item.style.display="none":"fade"===W.animation.type?(t.item.style.visibility="hidden",t.item.style.opacity=0):"zoom"===W.animation.type?(t.item.style.visibility="hidden",t.item.style.transform="scale(0)"):"zoom-fade"===W.animation.type?(t.item.style.visibility="hidden",t.item.style.opacity=0,t.item.style.transform="scale(0)"):"translate-in"===W.animation.type?(t.item.style.visibility="hidden","top"===W.direction?t.item.style.transform="translate(0, -".concat(W.animation.translateOffset,"px)"):"bottom"===W.direction?t.item.style.transform="translate(0, ".concat(W.animation.translateOffset,"px)"):"right"===W.direction?t.item.style.transform="translate(".concat(W.animation.translateOffset,"px, 0)"):"left"===W.direction&&(t.item.style.transform="translate(-".concat(W.animation.translateOffset,"px, 0)"))):"translate-out"===W.animation.type?(t.item.style.visibility="hidden","top"===W.direction?t.item.style.transform="translate(0, ".concat(W.animation.translateOffset,"px)"):"bottom"===W.direction?t.item.style.transform="translate(0, -".concat(W.animation.translateOffset,"px)"):"right"===W.direction?t.item.style.transform="translate(-".concat(W.animation.translateOffset,"px, 0)"):"left"===W.direction&&(t.item.style.transform="translate(".concat(W.animation.translateOffset,"px, 0)"))):"translate-in-fade"===W.animation.type?(t.item.style.opacity=0,t.item.style.visibility="hidden","top"===W.direction?t.item.style.transform="translate(0, -".concat(W.animation.translateOffset,"px)"):"bottom"===W.direction?t.item.style.transform="translate(0, ".concat(W.animation.translateOffset,"px)"):"right"===W.direction?t.item.style.transform="translate(".concat(W.animation.translateOffset,"px, 0)"):"left"===W.direction&&(t.item.style.transform="translate(-".concat(W.animation.translateOffset,"px, 0)"))):"translate-out-fade"===W.animation.type&&(t.item.style.opacity=0,t.item.style.visibility="hidden","top"===W.direction?t.item.style.transform="translate(0, ".concat(W.animation.translateOffset,"px)"):"bottom"===W.direction?t.item.style.transform="translate(0, -".concat(W.animation.translateOffset,"px)"):"right"===W.direction?t.item.style.transform="translate(-".concat(W.animation.translateOffset,"px, 0)"):"left"===W.direction&&(t.item.style.transform="translate(".concat(W.animation.translateOffset,"px, 0)"))),window.setTimeout(function(){t.visible=!1},W.animation.speed)},o=function(t,i,e){var a=2<arguments.length&&void 0!==e&&e;if(!t)throw a?new Error("Can't find ".concat(i," inside ").concat(a)):new Error("Can't find ".concat(i," in the DOM"))};(function t(i,e){var a;for(var n in e)"object"!==_typeof(e[n])||e[n]instanceof Date?e[n]instanceof Date?i[n]=new Date(e[n].getTime()):i[n]=e[n]:(a=e[n]instanceof Array?[]:{},void 0===i[n]&&(i[n]=a),t(i[n],e[n]))})(W,t),i(),e(),a(),n()}
  !function a(o,s,l){function c(t,e){if(!s[t]){if(!o[t]){var n="function"==typeof require&&require;if(!e&&n)return n(t,!0);if(d)return d(t,!0);var i=new Error("Cannot find module '"+t+"'");throw i.code="MODULE_NOT_FOUND",i}var r=s[t]={exports:{}};o[t][0].call(r.exports,function(e){return c(o[t][1][e]||e)},r,r.exports,a,o,s,l)}return s[t].exports}for(var d="function"==typeof require&&require,e=0;e<l.length;e++)c(l[e]);return c}({1:[function(e,t,n){var i,r;i=this,r=function(i){"use strict";i=i&&i.hasOwnProperty("default")?i.default:i;var e,d={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]},c=(function(e){var c={};for(var t in d)d.hasOwnProperty(t)&&(c[d[t]]=t);var o=e.exports={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};for(var n in o)if(o.hasOwnProperty(n)){if(!("channels"in o[n]))throw new Error("missing channels property: "+n);if(!("labels"in o[n]))throw new Error("missing channel labels property: "+n);if(o[n].labels.length!==o[n].channels)throw new Error("channel and label counts mismatch: "+n);var i=o[n].channels,r=o[n].labels;delete o[n].channels,delete o[n].labels,Object.defineProperty(o[n],"channels",{value:i}),Object.defineProperty(o[n],"labels",{value:r})}o.rgb.hsl=function(e){var t,n,i=e[0]/255,r=e[1]/255,a=e[2]/255,o=Math.min(i,r,a),s=Math.max(i,r,a),l=s-o;return s===o?t=0:i===s?t=(r-a)/l:r===s?t=2+(a-i)/l:a===s&&(t=4+(i-r)/l),(t=Math.min(60*t,360))<0&&(t+=360),n=(o+s)/2,[t,100*(s===o?0:n<=.5?l/(s+o):l/(2-s-o)),100*n]},o.rgb.hsv=function(e){function t(e){return(d-e)/6/u+.5}var n,i,r,a,o,s=e[0]/255,l=e[1]/255,c=e[2]/255,d=Math.max(s,l,c),u=d-Math.min(s,l,c);return 0==u?a=o=0:(o=u/d,n=t(s),i=t(l),r=t(c),s===d?a=r-i:l===d?a=1/3+n-r:c===d&&(a=2/3+i-n),a<0?a+=1:1<a&&(a-=1)),[360*a,100*o,100*d]},o.rgb.hwb=function(e){var t=e[0],n=e[1],i=e[2];return[o.rgb.hsl(e)[0],100*(1/255*Math.min(t,Math.min(n,i))),100*(i=1-1/255*Math.max(t,Math.max(n,i)))]},o.rgb.cmyk=function(e){var t,n=e[0]/255,i=e[1]/255,r=e[2]/255;return[100*((1-n-(t=Math.min(1-n,1-i,1-r)))/(1-t)||0),100*((1-i-t)/(1-t)||0),100*((1-r-t)/(1-t)||0),100*t]},o.rgb.keyword=function(e){var t=c[e];if(t)return t;var n,i,r,a=1/0;for(var o in d)if(d.hasOwnProperty(o)){var s=d[o],l=(i=e,r=s,Math.pow(i[0]-r[0],2)+Math.pow(i[1]-r[1],2)+Math.pow(i[2]-r[2],2));l<a&&(a=l,n=o)}return n},o.keyword.rgb=function(e){return d[e]},o.rgb.xyz=function(e){var t=e[0]/255,n=e[1]/255,i=e[2]/255;return[100*(.4124*(t=.04045<t?Math.pow((t+.055)/1.055,2.4):t/12.92)+.3576*(n=.04045<n?Math.pow((n+.055)/1.055,2.4):n/12.92)+.1805*(i=.04045<i?Math.pow((i+.055)/1.055,2.4):i/12.92)),100*(.2126*t+.7152*n+.0722*i),100*(.0193*t+.1192*n+.9505*i)]},o.rgb.lab=function(e){var t=o.rgb.xyz(e),n=t[0],i=t[1],r=t[2];return i/=100,r/=108.883,n=.008856<(n/=95.047)?Math.pow(n,1/3):7.787*n+16/116,[116*(i=.008856<i?Math.pow(i,1/3):7.787*i+16/116)-16,500*(n-i),200*(i-(r=.008856<r?Math.pow(r,1/3):7.787*r+16/116))]},o.hsl.rgb=function(e){var t,n,i,r,a,o=e[0]/360,s=e[1]/100,l=e[2]/100;if(0==s)return[a=255*l,a,a];t=2*l-(n=l<.5?l*(1+s):l+s-l*s),r=[0,0,0];for(var c=0;c<3;c++)(i=o+1/3*-(c-1))<0&&i++,1<i&&i--,a=6*i<1?t+6*(n-t)*i:2*i<1?n:3*i<2?t+(n-t)*(2/3-i)*6:t,r[c]=255*a;return r},o.hsl.hsv=function(e){var t=e[0],n=e[1]/100,i=e[2]/100,r=n,a=Math.max(i,.01);return n*=(i*=2)<=1?i:2-i,r*=a<=1?a:2-a,[t,100*(0===i?2*r/(a+r):2*n/(i+n)),100*((i+n)/2)]},o.hsv.rgb=function(e){var t=e[0]/60,n=e[1]/100,i=e[2]/100,r=Math.floor(t)%6,a=t-Math.floor(t),o=255*i*(1-n),s=255*i*(1-n*a),l=255*i*(1-n*(1-a));switch(i*=255,r){case 0:return[i,l,o];case 1:return[s,i,o];case 2:return[o,i,l];case 3:return[o,s,i];case 4:return[l,o,i];case 5:return[i,o,s]}},o.hsv.hsl=function(e){var t,n,i,r=e[0],a=e[1]/100,o=e[2]/100,s=Math.max(o,.01);return i=(2-a)*o,n=a*s,[r,100*(n=(n/=(t=(2-a)*s)<=1?t:2-t)||0),100*(i/=2)]},o.hwb.rgb=function(e){var t,n,i,r,a,o,s,l=e[0]/360,c=e[1]/100,d=e[2]/100,u=c+d;switch(1<u&&(c/=u,d/=u),i=6*l-(t=Math.floor(6*l)),0!=(1&t)&&(i=1-i),r=c+i*((n=1-d)-c),t){default:case 6:case 0:a=n,o=r,s=c;break;case 1:a=r,o=n,s=c;break;case 2:a=c,o=n,s=r;break;case 3:a=c,o=r,s=n;break;case 4:a=r,o=c,s=n;break;case 5:a=n,o=c,s=r}return[255*a,255*o,255*s]},o.cmyk.rgb=function(e){var t=e[0]/100,n=e[1]/100,i=e[2]/100,r=e[3]/100;return[255*(1-Math.min(1,t*(1-r)+r)),255*(1-Math.min(1,n*(1-r)+r)),255*(1-Math.min(1,i*(1-r)+r))]},o.xyz.rgb=function(e){var t,n,i,r=e[0]/100,a=e[1]/100,o=e[2]/100;return n=-.9689*r+1.8758*a+.0415*o,i=.0557*r+-.204*a+1.057*o,t=.0031308<(t=3.2406*r+-1.5372*a+-.4986*o)?1.055*Math.pow(t,1/2.4)-.055:12.92*t,n=.0031308<n?1.055*Math.pow(n,1/2.4)-.055:12.92*n,i=.0031308<i?1.055*Math.pow(i,1/2.4)-.055:12.92*i,[255*(t=Math.min(Math.max(0,t),1)),255*(n=Math.min(Math.max(0,n),1)),255*(i=Math.min(Math.max(0,i),1))]},o.xyz.lab=function(e){var t=e[0],n=e[1],i=e[2];return n/=100,i/=108.883,t=.008856<(t/=95.047)?Math.pow(t,1/3):7.787*t+16/116,[116*(n=.008856<n?Math.pow(n,1/3):7.787*n+16/116)-16,500*(t-n),200*(n-(i=.008856<i?Math.pow(i,1/3):7.787*i+16/116))]},o.lab.xyz=function(e){var t,n,i,r=e[0];t=e[1]/500+(n=(r+16)/116),i=n-e[2]/200;var a=Math.pow(n,3),o=Math.pow(t,3),s=Math.pow(i,3);return n=.008856<a?a:(n-16/116)/7.787,t=.008856<o?o:(t-16/116)/7.787,i=.008856<s?s:(i-16/116)/7.787,[t*=95.047,n*=100,i*=108.883]},o.lab.lch=function(e){var t,n=e[0],i=e[1],r=e[2];return(t=360*Math.atan2(r,i)/2/Math.PI)<0&&(t+=360),[n,Math.sqrt(i*i+r*r),t]},o.lch.lab=function(e){var t,n=e[0],i=e[1];return t=e[2]/360*2*Math.PI,[n,i*Math.cos(t),i*Math.sin(t)]},o.rgb.ansi16=function(e){var t=e[0],n=e[1],i=e[2],r=1 in arguments?arguments[1]:o.rgb.hsv(e)[2];if(0===(r=Math.round(r/50)))return 30;var a=30+(Math.round(i/255)<<2|Math.round(n/255)<<1|Math.round(t/255));return 2===r&&(a+=60),a},o.hsv.ansi16=function(e){return o.rgb.ansi16(o.hsv.rgb(e),e[2])},o.rgb.ansi256=function(e){var t=e[0],n=e[1],i=e[2];return t===n&&n===i?t<8?16:248<t?231:Math.round((t-8)/247*24)+232:16+36*Math.round(t/255*5)+6*Math.round(n/255*5)+Math.round(i/255*5)},o.ansi16.rgb=function(e){var t=e%10;if(0===t||7===t)return 50<e&&(t+=3.5),[t=t/10.5*255,t,t];var n=.5*(1+~~(50<e));return[(1&t)*n*255,(t>>1&1)*n*255,(t>>2&1)*n*255]},o.ansi256.rgb=function(e){if(232<=e){var t=10*(e-232)+8;return[t,t,t]}var n;return e-=16,[Math.floor(e/36)/5*255,Math.floor((n=e%36)/6)/5*255,n%6/5*255]},o.rgb.hex=function(e){var t=(((255&Math.round(e[0]))<<16)+((255&Math.round(e[1]))<<8)+(255&Math.round(e[2]))).toString(16).toUpperCase();return"000000".substring(t.length)+t},o.hex.rgb=function(e){var t=e.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!t)return[0,0,0];var n=t[0];3===t[0].length&&(n=n.split("").map(function(e){return e+e}).join(""));var i=parseInt(n,16);return[i>>16&255,i>>8&255,255&i]},o.rgb.hcg=function(e){var t,n=e[0]/255,i=e[1]/255,r=e[2]/255,a=Math.max(Math.max(n,i),r),o=Math.min(Math.min(n,i),r),s=a-o;return t=s<=0?0:a===n?(i-r)/s%6:a===i?2+(r-n)/s:4+(n-i)/s+4,t/=6,[360*(t%=1),100*s,100*(s<1?o/(1-s):0)]},o.hsl.hcg=function(e){var t=e[1]/100,n=e[2]/100,i=1,r=0;return(i=n<.5?2*t*n:2*t*(1-n))<1&&(r=(n-.5*i)/(1-i)),[e[0],100*i,100*r]},o.hsv.hcg=function(e){var t=e[1]/100,n=e[2]/100,i=t*n,r=0;return i<1&&(r=(n-i)/(1-i)),[e[0],100*i,100*r]},o.hcg.rgb=function(e){var t=e[0]/360,n=e[1]/100,i=e[2]/100;if(0==n)return[255*i,255*i,255*i];var r,a=[0,0,0],o=t%1*6,s=o%1,l=1-s;switch(Math.floor(o)){case 0:a[0]=1,a[1]=s,a[2]=0;break;case 1:a[0]=l,a[1]=1,a[2]=0;break;case 2:a[0]=0,a[1]=1,a[2]=s;break;case 3:a[0]=0,a[1]=l,a[2]=1;break;case 4:a[0]=s,a[1]=0,a[2]=1;break;default:a[0]=1,a[1]=0,a[2]=l}return r=(1-n)*i,[255*(n*a[0]+r),255*(n*a[1]+r),255*(n*a[2]+r)]},o.hcg.hsv=function(e){var t=e[1]/100,n=t+e[2]/100*(1-t),i=0;return 0<n&&(i=t/n),[e[0],100*i,100*n]},o.hcg.hsl=function(e){var t=e[1]/100,n=e[2]/100*(1-t)+.5*t,i=0;return 0<n&&n<.5?i=t/(2*n):.5<=n&&n<1&&(i=t/(2*(1-n))),[e[0],100*i,100*n]},o.hcg.hwb=function(e){var t=e[1]/100,n=t+e[2]/100*(1-t);return[e[0],100*(n-t),100*(1-n)]},o.hwb.hcg=function(e){var t=e[1]/100,n=1-e[2]/100,i=n-t,r=0;return i<1&&(r=(n-i)/(1-i)),[e[0],100*i,100*r]},o.apple.rgb=function(e){return[e[0]/65535*255,e[1]/65535*255,e[2]/65535*255]},o.rgb.apple=function(e){return[e[0]/255*65535,e[1]/255*65535,e[2]/255*65535]},o.gray.rgb=function(e){return[e[0]/100*255,e[0]/100*255,e[0]/100*255]},o.gray.hsl=o.gray.hsv=function(e){return[0,0,e[0]]},o.gray.hwb=function(e){return[0,100,e[0]]},o.gray.cmyk=function(e){return[0,0,0,e[0]]},o.gray.lab=function(e){return[e[0],0,0]},o.gray.hex=function(e){var t=255&Math.round(e[0]/100*255),n=((t<<16)+(t<<8)+t).toString(16).toUpperCase();return"000000".substring(n.length)+n},o.rgb.gray=function(e){return[(e[0]+e[1]+e[2])/3/255*100]}}(e={exports:{}},e.exports),e.exports);c.rgb,c.hsl,c.hsv,c.hwb,c.cmyk,c.xyz,c.lab,c.lch,c.hex,c.keyword,c.ansi16,c.ansi256,c.hcg,c.apple,c.gray;function s(e){var t=function(){for(var e={},t=Object.keys(c),n=t.length,i=0;i<n;i++)e[t[i]]={distance:-1,parent:null};return e}(),n=[e];for(t[e].distance=0;n.length;)for(var i=n.pop(),r=Object.keys(c[i]),a=r.length,o=0;o<a;o++){var s=r[o],l=t[s];-1===l.distance&&(l.distance=t[i].distance+1,l.parent=i,n.unshift(s))}return t}function a(t,n){return function(e){return n(t(e))}}function l(e,t){for(var n=[t[e].parent,e],i=c[t[e].parent][e],r=t[e].parent;t[r].parent;)n.unshift(t[r].parent),i=a(c[t[r].parent][r],i),r=t[r].parent;return i.conversion=n,i}var r={};Object.keys(c).forEach(function(n){r[n]={},Object.defineProperty(r[n],"channels",{value:c[n].channels}),Object.defineProperty(r[n],"labels",{value:c[n].labels});var i=function(e){for(var t=s(e),n={},i=Object.keys(t),r=i.length,a=0;a<r;a++){var o=i[a];null!==t[o].parent&&(n[o]=l(o,t))}return n}(n);Object.keys(i).forEach(function(e){var t=i[e];r[n][e]=function(r){function e(e){if(null==e)return e;1<arguments.length&&(e=Array.prototype.slice.call(arguments));var t=r(e);if("object"==typeof t)for(var n=t.length,i=0;i<n;i++)t[i]=Math.round(t[i]);return t}return"conversion"in r&&(e.conversion=r.conversion),e}(t),r[n][e].raw=function(t){function e(e){return null==e?e:(1<arguments.length&&(e=Array.prototype.slice.call(arguments)),t(e))}return"conversion"in t&&(e.conversion=t.conversion),e}(t)})});var u=r,o={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]},n={getRgba:h,getHsla:f,getRgb:function(e){var t=h(e);return t&&t.slice(0,3)},getHsl:function(e){var t=f(e);return t&&t.slice(0,3)},getHwb:g,getAlpha:function(e){var t=h(e);{if(t)return t[3];if(t=f(e))return t[3];if(t=g(e))return t[3]}},hexString:function(e,t){t=void 0!==t&&3===e.length?t:e[3];return"#"+b(e[0])+b(e[1])+b(e[2])+(0<=t&&t<1?b(Math.round(255*t)):"")},rgbString:function(e,t){if(t<1||e[3]&&e[3]<1)return p(e,t);return"rgb("+e[0]+", "+e[1]+", "+e[2]+")"},rgbaString:p,percentString:function(e,t){if(t<1||e[3]&&e[3]<1)return v(e,t);var n=Math.round(e[0]/255*100),i=Math.round(e[1]/255*100),r=Math.round(e[2]/255*100);return"rgb("+n+"%, "+i+"%, "+r+"%)"},percentaString:v,hslString:function(e,t){if(t<1||e[3]&&e[3]<1)return m(e,t);return"hsl("+e[0]+", "+e[1]+"%, "+e[2]+"%)"},hslaString:m,hwbString:function(e,t){void 0===t&&(t=void 0!==e[3]?e[3]:1);return"hwb("+e[0]+", "+e[1]+"%, "+e[2]+"%"+(void 0!==t&&1!==t?", "+t:"")+")"},keyword:function(e){return t[e.slice(0,3)]}};function h(e){if(e){var t=[0,0,0],n=1,i=e.match(/^#([a-fA-F0-9]{3,4})$/i),r="";if(i){r=(i=i[1])[3];for(var a=0;a<t.length;a++)t[a]=parseInt(i[a]+i[a],16);r&&(n=Math.round(parseInt(r+r,16)/255*100)/100)}else if(i=e.match(/^#([a-fA-F0-9]{6}([a-fA-F0-9]{2})?)$/i)){r=i[2],i=i[1];for(a=0;a<t.length;a++)t[a]=parseInt(i.slice(2*a,2*a+2),16);r&&(n=Math.round(parseInt(r,16)/255*100)/100)}else if(i=e.match(/^rgba?\(\s*([+-]?\d+)\s*,\s*([+-]?\d+)\s*,\s*([+-]?\d+)\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/i)){for(a=0;a<t.length;a++)t[a]=parseInt(i[a+1]);n=parseFloat(i[4])}else if(i=e.match(/^rgba?\(\s*([+-]?[\d\.]+)\%\s*,\s*([+-]?[\d\.]+)\%\s*,\s*([+-]?[\d\.]+)\%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)$/i)){for(a=0;a<t.length;a++)t[a]=Math.round(2.55*parseFloat(i[a+1]));n=parseFloat(i[4])}else if(i=e.match(/(\w+)/)){if("transparent"==i[1])return[0,0,0,0];if(!(t=o[i[1]]))return}for(a=0;a<t.length;a++)t[a]=y(t[a],0,255);return n=n||0==n?y(n,0,1):1,t[3]=n,t}}function f(e){if(e){var t=e.match(/^hsla?\(\s*([+-]?\d+)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)/);if(t){var n=parseFloat(t[4]);return[y(parseInt(t[1]),0,360),y(parseFloat(t[2]),0,100),y(parseFloat(t[3]),0,100),y(isNaN(n)?1:n,0,1)]}}}function g(e){if(e){var t=e.match(/^hwb\(\s*([+-]?\d+)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?[\d\.]+)\s*)?\)/);if(t){var n=parseFloat(t[4]);return[y(parseInt(t[1]),0,360),y(parseFloat(t[2]),0,100),y(parseFloat(t[3]),0,100),y(isNaN(n)?1:n,0,1)]}}}function p(e,t){return void 0===t&&(t=void 0!==e[3]?e[3]:1),"rgba("+e[0]+", "+e[1]+", "+e[2]+", "+t+")"}function v(e,t){return"rgba("+Math.round(e[0]/255*100)+"%, "+Math.round(e[1]/255*100)+"%, "+Math.round(e[2]/255*100)+"%, "+(t||e[3]||1)+")"}function m(e,t){return void 0===t&&(t=void 0!==e[3]?e[3]:1),"hsla("+e[0]+", "+e[1]+"%, "+e[2]+"%, "+t+")"}function y(e,t,n){return Math.min(Math.max(t,e),n)}function b(e){var t=e.toString(16).toUpperCase();return t.length<2?"0"+t:t}var t={};for(var x in o)t[o[x]]=x;var M=function(e){return e instanceof M?e:this instanceof M?(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 e?(t=n.getRgba(e))?this.setValues("rgb",t):(t=n.getHsla(e))?this.setValues("hsl",t):(t=n.getHwb(e))&&this.setValues("hwb",t):"object"==typeof e&&(void 0!==(t=e).r||void 0!==t.red?this.setValues("rgb",t):void 0!==t.l||void 0!==t.lightness?this.setValues("hsl",t):void 0!==t.v||void 0!==t.value?this.setValues("hsv",t):void 0!==t.w||void 0!==t.whiteness?this.setValues("hwb",t):void 0===t.c&&void 0===t.cyan||this.setValues("cmyk",t)))):new M(e);var t};M.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 e=this.values;return 1!==e.alpha?e.hwb.concat([e.alpha]):e.hwb},cmykArray:function(){return this.values.cmyk},rgbaArray:function(){var e=this.values;return e.rgb.concat([e.alpha])},hslaArray:function(){var e=this.values;return e.hsl.concat([e.alpha])},alpha:function(e){return void 0===e?this.values.alpha:(this.setValues("alpha",e),this)},red:function(e){return this.setChannel("rgb",0,e)},green:function(e){return this.setChannel("rgb",1,e)},blue:function(e){return this.setChannel("rgb",2,e)},hue:function(e){return e=e&&((e%=360)<0?360+e:e),this.setChannel("hsl",0,e)},saturation:function(e){return this.setChannel("hsl",1,e)},lightness:function(e){return this.setChannel("hsl",2,e)},saturationv:function(e){return this.setChannel("hsv",1,e)},whiteness:function(e){return this.setChannel("hwb",1,e)},blackness:function(e){return this.setChannel("hwb",2,e)},value:function(e){return this.setChannel("hsv",2,e)},cyan:function(e){return this.setChannel("cmyk",0,e)},magenta:function(e){return this.setChannel("cmyk",1,e)},yellow:function(e){return this.setChannel("cmyk",2,e)},black:function(e){return this.setChannel("cmyk",3,e)},hexString:function(){return n.hexString(this.values.rgb)},rgbString:function(){return n.rgbString(this.values.rgb,this.values.alpha)},rgbaString:function(){return n.rgbaString(this.values.rgb,this.values.alpha)},percentString:function(){return n.percentString(this.values.rgb,this.values.alpha)},hslString:function(){return n.hslString(this.values.hsl,this.values.alpha)},hslaString:function(){return n.hslaString(this.values.hsl,this.values.alpha)},hwbString:function(){return n.hwbString(this.values.hwb,this.values.alpha)},keyword:function(){return n.keyword(this.values.rgb,this.values.alpha)},rgbNumber:function(){var e=this.values.rgb;return e[0]<<16|e[1]<<8|e[2]},luminosity:function(){for(var e=this.values.rgb,t=[],n=0;n<e.length;n++){var i=e[n]/255;t[n]=i<=.03928?i/12.92:Math.pow((.055+i)/1.055,2.4)}return.2126*t[0]+.7152*t[1]+.0722*t[2]},contrast:function(e){var t=this.luminosity(),n=e.luminosity();return n<t?(t+.05)/(n+.05):(n+.05)/(t+.05)},level:function(e){var t=this.contrast(e);return 7.1<=t?"AAA":4.5<=t?"AA":""},dark:function(){var e=this.values.rgb;return(299*e[0]+587*e[1]+114*e[2])/1e3<128},light:function(){return!this.dark()},negate:function(){for(var e=[],t=0;t<3;t++)e[t]=255-this.values.rgb[t];return this.setValues("rgb",e),this},lighten:function(e){var t=this.values.hsl;return t[2]+=t[2]*e,this.setValues("hsl",t),this},darken:function(e){var t=this.values.hsl;return t[2]-=t[2]*e,this.setValues("hsl",t),this},saturate:function(e){var t=this.values.hsl;return t[1]+=t[1]*e,this.setValues("hsl",t),this},desaturate:function(e){var t=this.values.hsl;return t[1]-=t[1]*e,this.setValues("hsl",t),this},whiten:function(e){var t=this.values.hwb;return t[1]+=t[1]*e,this.setValues("hwb",t),this},blacken:function(e){var t=this.values.hwb;return t[2]+=t[2]*e,this.setValues("hwb",t),this},greyscale:function(){var e=this.values.rgb,t=.3*e[0]+.59*e[1]+.11*e[2];return this.setValues("rgb",[t,t,t]),this},clearer:function(e){var t=this.values.alpha;return this.setValues("alpha",t-t*e),this},opaquer:function(e){var t=this.values.alpha;return this.setValues("alpha",t+t*e),this},rotate:function(e){var t=this.values.hsl,n=(t[0]+e)%360;return t[0]=n<0?360+n:n,this.setValues("hsl",t),this},mix:function(e,t){var n=this,i=e,r=void 0===t?.5:t,a=2*r-1,o=n.alpha()-i.alpha(),s=(1+(a*o==-1?a:(a+o)/(1+a*o)))/2,l=1-s;return this.rgb(s*n.red()+l*i.red(),s*n.green()+l*i.green(),s*n.blue()+l*i.blue()).alpha(n.alpha()*r+i.alpha()*(1-r))},toJSON:function(){return this.rgb()},clone:function(){var e,t,n=new M,i=this.values,r=n.values;for(var a in i)i.hasOwnProperty(a)&&(e=i[a],"[object Array]"===(t={}.toString.call(e))?r[a]=e.slice(0):"[object Number]"===t?r[a]=e:console.error("unexpected color value:",e));return n}},M.prototype.spaces={rgb:["red","green","blue"],hsl:["hue","saturation","lightness"],hsv:["hue","saturation","value"],hwb:["hue","whiteness","blackness"],cmyk:["cyan","magenta","yellow","black"]},M.prototype.maxes={rgb:[255,255,255],hsl:[360,100,100],hsv:[360,100,100],hwb:[360,100,100],cmyk:[100,100,100,100]},M.prototype.getValues=function(e){for(var t=this.values,n={},i=0;i<e.length;i++)n[e.charAt(i)]=t[e][i];return 1!==t.alpha&&(n.a=t.alpha),n},M.prototype.setValues=function(e,t){var n,i,r=this.values,a=this.spaces,o=this.maxes,s=1;if(this.valid=!0,"alpha"===e)s=t;else if(t.length)r[e]=t.slice(0,e.length),s=t[e.length];else if(void 0!==t[e.charAt(0)]){for(n=0;n<e.length;n++)r[e][n]=t[e.charAt(n)];s=t.a}else if(void 0!==t[a[e][0]]){var l=a[e];for(n=0;n<e.length;n++)r[e][n]=t[l[n]];s=t.alpha}if(r.alpha=Math.max(0,Math.min(1,void 0===s?r.alpha:s)),"alpha"===e)return!1;for(n=0;n<e.length;n++)i=Math.max(0,Math.min(o[e][n],r[e][n])),r[e][n]=Math.round(i);for(var c in a)c!==e&&(r[c]=u[e][c](r[e]));return!0},M.prototype.setSpace=function(e,t){var n=t[0];return void 0===n?this.getValues(e):("number"==typeof n&&(n=Array.prototype.slice.call(t)),this.setValues(e,n),this)},M.prototype.setChannel=function(e,t,n){var i=this.values[e];return void 0===n?i[t]:(n===i[t]||(i[t]=n,this.setValues(e,i)),this)},"undefined"!=typeof window&&(window.Color=M);var w,_=M,S={noop:function(){},uid:(w=0,function(){return w++}),isNullOrUndef:function(e){return null==e},isArray:function(e){if(Array.isArray&&Array.isArray(e))return!0;var t=Object.prototype.toString.call(e);return"[object"===t.substr(0,7)&&"Array]"===t.substr(-6)},isObject:function(e){return null!==e&&"[object Object]"===Object.prototype.toString.call(e)},isFinite:function(e){return("number"==typeof e||e instanceof Number)&&isFinite(e)},valueOrDefault:function(e,t){return void 0===e?t:e},valueAtIndexOrDefault:function(e,t,n){return S.valueOrDefault(S.isArray(e)?e[t]:e,n)},callback:function(e,t,n){if(e&&"function"==typeof e.call)return e.apply(n,t)},each:function(e,t,n,i){var r,a,o;if(S.isArray(e))if(a=e.length,i)for(r=a-1;0<=r;r--)t.call(n,e[r],r);else for(r=0;r<a;r++)t.call(n,e[r],r);else if(S.isObject(e))for(a=(o=Object.keys(e)).length,r=0;r<a;r++)t.call(n,e[o[r]],o[r])},arrayEquals:function(e,t){var n,i,r,a;if(!e||!t||e.length!==t.length)return!1;for(n=0,i=e.length;n<i;++n)if(r=e[n],a=t[n],r instanceof Array&&a instanceof Array){if(!S.arrayEquals(r,a))return!1}else if(r!==a)return!1;return!0},clone:function(e){if(S.isArray(e))return e.map(S.clone);if(S.isObject(e)){for(var t={},n=Object.keys(e),i=n.length,r=0;r<i;++r)t[n[r]]=S.clone(e[n[r]]);return t}return e},_merger:function(e,t,n,i){var r=t[e],a=n[e];S.isObject(r)&&S.isObject(a)?S.merge(r,a,i):t[e]=S.clone(a)},_mergerIf:function(e,t,n){var i=t[e],r=n[e];S.isObject(i)&&S.isObject(r)?S.mergeIf(i,r):t.hasOwnProperty(e)||(t[e]=S.clone(r))},merge:function(e,t,n){var i,r,a,o,s,l=S.isArray(t)?t:[t],c=l.length;if(!S.isObject(e))return e;for(i=(n=n||{}).merger||S._merger,r=0;r<c;++r)if(t=l[r],S.isObject(t))for(s=0,o=(a=Object.keys(t)).length;s<o;++s)i(a[s],e,t,n);return e},mergeIf:function(e,t){return S.merge(e,t,{merger:S._mergerIf})},extend:Object.assign||function(e){return S.merge(e,[].slice.call(arguments,1),{merger:function(e,t,n){t[e]=n[e]}})},inherits:function(e){function t(){this.constructor=i}var n=this,i=e&&e.hasOwnProperty("constructor")?e.constructor:function(){return n.apply(this,arguments)};return t.prototype=n.prototype,i.prototype=new t,i.extend=S.inherits,e&&S.extend(i.prototype,e),i.__super__=n.prototype,i},_deprecated:function(e,t,n,i){void 0!==t&&console.warn(e+': "'+n+'" is deprecated. Please use "'+i+'" instead')}},C=S;S.callCallback=S.callback,S.indexOf=function(e,t,n){return Array.prototype.indexOf.call(e,t,n)},S.getValueOrDefault=S.valueOrDefault,S.getValueAtIndexOrDefault=S.valueAtIndexOrDefault;var k={linear:function(e){return e},easeInQuad:function(e){return e*e},easeOutQuad:function(e){return-e*(e-2)},easeInOutQuad:function(e){return(e/=.5)<1?.5*e*e:-.5*(--e*(e-2)-1)},easeInCubic:function(e){return e*e*e},easeOutCubic:function(e){return(e-=1)*e*e+1},easeInOutCubic:function(e){return(e/=.5)<1?.5*e*e*e:.5*((e-=2)*e*e+2)},easeInQuart:function(e){return e*e*e*e},easeOutQuart:function(e){return-((e-=1)*e*e*e-1)},easeInOutQuart:function(e){return(e/=.5)<1?.5*e*e*e*e:-.5*((e-=2)*e*e*e-2)},easeInQuint:function(e){return e*e*e*e*e},easeOutQuint:function(e){return(e-=1)*e*e*e*e+1},easeInOutQuint:function(e){return(e/=.5)<1?.5*e*e*e*e*e:.5*((e-=2)*e*e*e*e+2)},easeInSine:function(e){return 1-Math.cos(e*(Math.PI/2))},easeOutSine:function(e){return Math.sin(e*(Math.PI/2))},easeInOutSine:function(e){return-.5*(Math.cos(Math.PI*e)-1)},easeInExpo:function(e){return 0===e?0:Math.pow(2,10*(e-1))},easeOutExpo:function(e){return 1===e?1:1-Math.pow(2,-10*e)},easeInOutExpo:function(e){return 0===e?0:1===e?1:(e/=.5)<1?.5*Math.pow(2,10*(e-1)):.5*(2-Math.pow(2,-10*--e))},easeInCirc:function(e){return 1<=e?e:-(Math.sqrt(1-e*e)-1)},easeOutCirc:function(e){return Math.sqrt(1-(e-=1)*e)},easeInOutCirc:function(e){return(e/=.5)<1?-.5*(Math.sqrt(1-e*e)-1):.5*(Math.sqrt(1-(e-=2)*e)+1)},easeInElastic:function(e){var t=1.70158,n=0,i=1;return 0===e?0:1===e?1:(n=n||.3,t=i<1?(i=1,n/4):n/(2*Math.PI)*Math.asin(1/i),-i*Math.pow(2,10*(e-=1))*Math.sin((e-t)*(2*Math.PI)/n))},easeOutElastic:function(e){var t=1.70158,n=0,i=1;return 0===e?0:1===e?1:(n=n||.3,t=i<1?(i=1,n/4):n/(2*Math.PI)*Math.asin(1/i),i*Math.pow(2,-10*e)*Math.sin((e-t)*(2*Math.PI)/n)+1)},easeInOutElastic:function(e){var t=1.70158,n=0,i=1;return 0===e?0:2==(e/=.5)?1:(n=n||.45,t=i<1?(i=1,n/4):n/(2*Math.PI)*Math.asin(1/i),e<1?i*Math.pow(2,10*(e-=1))*Math.sin((e-t)*(2*Math.PI)/n)*-.5:i*Math.pow(2,-10*(e-=1))*Math.sin((e-t)*(2*Math.PI)/n)*.5+1)},easeInBack:function(e){return e*e*(2.70158*e-1.70158)},easeOutBack:function(e){return(e-=1)*e*(2.70158*e+1.70158)+1},easeInOutBack:function(e){var t=1.70158;return(e/=.5)<1?e*e*((1+(t*=1.525))*e-t)*.5:.5*((e-=2)*e*((1+(t*=1.525))*e+t)+2)},easeInBounce:function(e){return 1-k.easeOutBounce(1-e)},easeOutBounce:function(e){return e<1/2.75?7.5625*e*e:e<2/2.75?7.5625*(e-=1.5/2.75)*e+.75:e<2.5/2.75?7.5625*(e-=2.25/2.75)*e+.9375:7.5625*(e-=2.625/2.75)*e+.984375},easeInOutBounce:function(e){return e<.5?.5*k.easeInBounce(2*e):.5*k.easeOutBounce(2*e-1)+.5}},T={effects:k};C.easingEffects=k;var L=Math.PI,A=L/180,E=2*L,O=L/2,P=L/4,D=2*L/3,V={clear:function(e){e.ctx.clearRect(0,0,e.width,e.height)},roundedRect:function(e,t,n,i,r,a){if(a){var o=Math.min(a,r/2,i/2),s=t+o,l=n+o,c=t+i-o,d=n+r-o;e.moveTo(t,l),s<c&&l<d?(e.arc(s,l,o,-L,-O),e.arc(c,l,o,-O,0),e.arc(c,d,o,0,O),e.arc(s,d,o,O,L)):s<c?(e.moveTo(s,n),e.arc(c,l,o,-O,O),e.arc(s,l,o,O,L+O)):l<d?(e.arc(s,l,o,-L,0),e.arc(s,d,o,0,L)):e.arc(s,l,o,-L,L),e.closePath(),e.moveTo(t,n)}else e.rect(t,n,i,r)},drawPoint:function(e,t,n,i,r,a){var o,s,l,c,d,u=(a||0)*A;if(t&&"object"==typeof t&&("[object HTMLImageElement]"===(o=t.toString())||"[object HTMLCanvasElement]"===o))return e.save(),e.translate(i,r),e.rotate(u),e.drawImage(t,-t.width/2,-t.height/2,t.width,t.height),void e.restore();if(!(isNaN(n)||n<=0)){switch(e.beginPath(),t){default:e.arc(i,r,n,0,E),e.closePath();break;case"triangle":e.moveTo(i+Math.sin(u)*n,r-Math.cos(u)*n),u+=D,e.lineTo(i+Math.sin(u)*n,r-Math.cos(u)*n),u+=D,e.lineTo(i+Math.sin(u)*n,r-Math.cos(u)*n),e.closePath();break;case"rectRounded":c=n-(d=.516*n),s=Math.cos(u+P)*c,l=Math.sin(u+P)*c,e.arc(i-s,r-l,d,u-L,u-O),e.arc(i+l,r-s,d,u-O,u),e.arc(i+s,r+l,d,u,u+O),e.arc(i-l,r+s,d,u+O,u+L),e.closePath();break;case"rect":if(!a){c=Math.SQRT1_2*n,e.rect(i-c,r-c,2*c,2*c);break}u+=P;case"rectRot":s=Math.cos(u)*n,l=Math.sin(u)*n,e.moveTo(i-s,r-l),e.lineTo(i+l,r-s),e.lineTo(i+s,r+l),e.lineTo(i-l,r+s),e.closePath();break;case"crossRot":u+=P;case"cross":s=Math.cos(u)*n,l=Math.sin(u)*n,e.moveTo(i-s,r-l),e.lineTo(i+s,r+l),e.moveTo(i+l,r-s),e.lineTo(i-l,r+s);break;case"star":s=Math.cos(u)*n,l=Math.sin(u)*n,e.moveTo(i-s,r-l),e.lineTo(i+s,r+l),e.moveTo(i+l,r-s),e.lineTo(i-l,r+s),u+=P,s=Math.cos(u)*n,l=Math.sin(u)*n,e.moveTo(i-s,r-l),e.lineTo(i+s,r+l),e.moveTo(i+l,r-s),e.lineTo(i-l,r+s);break;case"line":s=Math.cos(u)*n,l=Math.sin(u)*n,e.moveTo(i-s,r-l),e.lineTo(i+s,r+l);break;case"dash":e.moveTo(i,r),e.lineTo(i+Math.cos(u)*n,r+Math.sin(u)*n)}e.fill(),e.stroke()}},_isPointInArea:function(e,t){return e.x>t.left-1e-6&&e.x<t.right+1e-6&&e.y>t.top-1e-6&&e.y<t.bottom+1e-6},clipArea:function(e,t){e.save(),e.beginPath(),e.rect(t.left,t.top,t.right-t.left,t.bottom-t.top),e.clip()},unclipArea:function(e){e.restore()},lineTo:function(e,t,n,i){var r=n.steppedLine;if(r){if("middle"===r){var a=(t.x+n.x)/2;e.lineTo(a,i?n.y:t.y),e.lineTo(a,i?t.y:n.y)}else"after"===r&&!i||"after"!==r&&i?e.lineTo(t.x,n.y):e.lineTo(n.x,t.y);e.lineTo(n.x,n.y)}else n.tension?e.bezierCurveTo(i?t.controlPointPreviousX:t.controlPointNextX,i?t.controlPointPreviousY:t.controlPointNextY,i?n.controlPointNextX:n.controlPointPreviousX,i?n.controlPointNextY:n.controlPointPreviousY,n.x,n.y):e.lineTo(n.x,n.y)}},R=V;C.clear=V.clear,C.drawRoundedRectangle=function(e){e.beginPath(),V.roundedRect.apply(V,arguments)};var z={_set:function(e,t){return C.merge(this[e]||(this[e]={}),t)}};z._set("global",{defaultColor:"rgba(0,0,0,0.1)",defaultFontColor:"#666",defaultFontFamily:"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",defaultFontSize:12,defaultFontStyle:"normal",defaultLineHeight:1.2,showLines:!0});var B=z,H=C.valueOrDefault;var N={toLineHeight:function(e,t){var n=(""+e).match(/^(normal|(\d+(?:\.\d+)?)(px|em|%)?)$/);if(!n||"normal"===n[1])return 1.2*t;switch(e=+n[2],n[3]){case"px":return e;case"%":e/=100}return t*e},toPadding:function(e){var t,n,i,r;return C.isObject(e)?(t=+e.top||0,n=+e.right||0,i=+e.bottom||0,r=+e.left||0):t=n=i=r=+e||0,{top:t,right:n,bottom:i,left:r,height:t+i,width:r+n}},_parseFont:function(e){var t=B.global,n=H(e.fontSize,t.defaultFontSize),i={family:H(e.fontFamily,t.defaultFontFamily),lineHeight:C.options.toLineHeight(H(e.lineHeight,t.defaultLineHeight),n),size:n,style:H(e.fontStyle,t.defaultFontStyle),weight:null,string:""};return i.string=function(e){return!e||C.isNullOrUndef(e.size)||C.isNullOrUndef(e.family)?null:(e.style?e.style+" ":"")+(e.weight?e.weight+" ":"")+e.size+"px "+e.family}(i),i},resolve:function(e,t,n,i){var r,a,o,s=!0;for(r=0,a=e.length;r<a;++r)if(void 0!==(o=e[r])&&(void 0!==t&&"function"==typeof o&&(o=o(t),s=!1),void 0!==n&&C.isArray(o)&&(o=o[n],s=!1),void 0!==o))return i&&!s&&(i.cacheable=!1),o}},I={_factorize:function(e){var t,n=[],i=Math.sqrt(e);for(t=1;t<i;t++)e%t==0&&(n.push(t),n.push(e/t));return i===(0|i)&&n.push(i),n.sort(function(e,t){return e-t}).pop(),n},log10:Math.log10||function(e){var t=Math.log(e)*Math.LOG10E,n=Math.round(t);return e===Math.pow(10,n)?n:t}},F=I;C.log10=I.log10;var W=C,j=T,Y=R,G=N,U=F,q={getRtlAdapter:function(e,t,n){return e?function(t,n){return{x:function(e){return t+t+n-e},setWidth:function(e){n=e},textAlign:function(e){return"center"===e?e:"right"===e?"left":"right"},xPlus:function(e,t){return e-t},leftForLtr:function(e,t){return e-t}}}(t,n):{x:function(e){return e},setWidth:function(e){},textAlign:function(e){return e},xPlus:function(e,t){return e+t},leftForLtr:function(e,t){return e}}},overrideTextDirection:function(e,t){var n,i;"ltr"!==t&&"rtl"!==t||(i=[(n=e.canvas.style).getPropertyValue("direction"),n.getPropertyPriority("direction")],n.setProperty("direction",t,"important"),e.prevTextDirection=i)},restoreTextDirection:function(e){var t=e.prevTextDirection;void 0!==t&&(delete e.prevTextDirection,e.canvas.style.setProperty("direction",t[0],t[1]))}};W.easing=j,W.canvas=Y,W.options=G,W.math=U,W.rtl=q;function X(e){W.extend(this,e),this.initialize.apply(this,arguments)}W.extend(X.prototype,{_type:void 0,initialize:function(){this.hidden=!1},pivot:function(){var e=this;return e._view||(e._view=W.extend({},e._model)),e._start={},e},transition:function(e){var t=this,n=t._model,i=t._start,r=t._view;return n&&1!==e?(r=r||(t._view={}),function(e,t,n,i){var r,a,o,s,l,c,d,u,h,f=Object.keys(n);for(r=0,a=f.length;r<a;++r)if(c=n[o=f[r]],t.hasOwnProperty(o)||(t[o]=c),(s=t[o])!==c&&"_"!==o[0]){if(e.hasOwnProperty(o)||(e[o]=s),(d=typeof c)==typeof(l=e[o]))if("string"==d){if((u=_(l)).valid&&(h=_(c)).valid){t[o]=h.mix(u,i).rgbString();continue}}else if(W.isFinite(l)&&W.isFinite(c)){t[o]=l+(c-l)*i;continue}t[o]=c}}(i=i||(t._start={}),r,n,e)):(t._view=W.extend({},n),t._start=null),t},tooltipPosition:function(){return{x:this._model.x,y:this._model.y}},hasValue:function(){return W.isNumber(this._model.x)&&W.isNumber(this._model.y)}}),X.extend=W.inherits;var $=X,Z=$.extend({chart:null,currentStep:0,numSteps:60,easing:"",render:null,onAnimationProgress:null,onAnimationComplete:null}),K=Z;Object.defineProperty(Z.prototype,"animationObject",{get:function(){return this}}),Object.defineProperty(Z.prototype,"chartInstance",{get:function(){return this.chart},set:function(e){this.chart=e}}),B._set("global",{animation:{duration:1e3,easing:"easeOutQuart",onProgress:W.noop,onComplete:W.noop}});var J={animations:[],request:null,addAnimation:function(e,t,n,i){var r,a,o=this.animations;for(t.chart=e,t.startTime=Date.now(),t.duration=n,i||(e.animating=!0),r=0,a=o.length;r<a;++r)if(o[r].chart===e)return void(o[r]=t);o.push(t),1===o.length&&this.requestAnimationFrame()},cancelAnimation:function(t){var e=W.findIndex(this.animations,function(e){return e.chart===t});-1!==e&&(this.animations.splice(e,1),t.animating=!1)},requestAnimationFrame:function(){var e=this;null===e.request&&(e.request=W.requestAnimFrame.call(window,function(){e.request=null,e.startDigest()}))},startDigest:function(){this.advance(),0<this.animations.length&&this.requestAnimationFrame()},advance:function(){for(var e,t,n,i,r=this.animations,a=0;a<r.length;)t=(e=r[a]).chart,n=e.numSteps,i=Math.floor((Date.now()-e.startTime)/e.duration*n)+1,e.currentStep=Math.min(i,n),W.callback(e.render,[t,e],t),W.callback(e.onAnimationProgress,[e],t),e.currentStep>=n?(W.callback(e.onAnimationComplete,[e],t),t.animating=!1,r.splice(a,1)):++a}},Q=W.options.resolve,ee=["push","pop","shift","splice","unshift"];function te(t,e){var n=t._chartjs;if(n){var i=n.listeners,r=i.indexOf(e);-1!==r&&i.splice(r,1),0<i.length||(ee.forEach(function(e){delete t[e]}),delete t._chartjs)}}function ne(e,t){this.initialize(e,t)}W.extend(ne.prototype,{datasetElementType:null,dataElementType:null,_datasetElementOptions:["backgroundColor","borderCapStyle","borderColor","borderDash","borderDashOffset","borderJoinStyle","borderWidth"],_dataElementOptions:["backgroundColor","borderColor","borderWidth","pointStyle"],initialize:function(e,t){var n=this;n.chart=e,n.index=t,n.linkScales(),n.addElements(),n._type=n.getMeta().type},updateIndex:function(e){this.index=e},linkScales:function(){var e=this.getMeta(),t=this.chart,n=t.scales,i=this.getDataset(),r=t.options.scales;null!==e.xAxisID&&e.xAxisID in n&&!i.xAxisID||(e.xAxisID=i.xAxisID||r.xAxes[0].id),null!==e.yAxisID&&e.yAxisID in n&&!i.yAxisID||(e.yAxisID=i.yAxisID||r.yAxes[0].id)},getDataset:function(){return this.chart.data.datasets[this.index]},getMeta:function(){return this.chart.getDatasetMeta(this.index)},getScaleForId:function(e){return this.chart.scales[e]},_getValueScaleId:function(){return this.getMeta().yAxisID},_getIndexScaleId:function(){return this.getMeta().xAxisID},_getValueScale:function(){return this.getScaleForId(this._getValueScaleId())},_getIndexScale:function(){return this.getScaleForId(this._getIndexScaleId())},reset:function(){this._update(!0)},destroy:function(){this._data&&te(this._data,this)},createMetaDataset:function(){var e=this.datasetElementType;return e&&new e({_chart:this.chart,_datasetIndex:this.index})},createMetaData:function(e){var t=this.dataElementType;return t&&new t({_chart:this.chart,_datasetIndex:this.index,_index:e})},addElements:function(){var e,t,n=this.getMeta(),i=this.getDataset().data||[],r=n.data;for(e=0,t=i.length;e<t;++e)r[e]=r[e]||this.createMetaData(e);n.dataset=n.dataset||this.createMetaDataset()},addElementAndReset:function(e){var t=this.createMetaData(e);this.getMeta().data.splice(e,0,t),this.updateElement(t,e,!0)},buildOrUpdateElements:function(){var e=this,t=e.getDataset(),n=t.data||(t.data=[]);e._data!==n&&(e._data&&te(e._data,e),n&&Object.isExtensible(n)&&function(r,e){r._chartjs?r._chartjs.listeners.push(e):(Object.defineProperty(r,"_chartjs",{configurable:!0,enumerable:!1,value:{listeners:[e]}}),ee.forEach(function(e){var n="onData"+e.charAt(0).toUpperCase()+e.slice(1),i=r[e];Object.defineProperty(r,e,{configurable:!0,enumerable:!1,value:function(){var t=Array.prototype.slice.call(arguments),e=i.apply(this,t);return W.each(r._chartjs.listeners,function(e){"function"==typeof e[n]&&e[n].apply(e,t)}),e}})}))}(n,e),e._data=n),e.resyncElements()},_configure:function(){this._config=W.merge({},[this.chart.options.datasets[this._type],this.getDataset()],{merger:function(e,t,n){"_meta"!==e&&"data"!==e&&W._merger(e,t,n)}})},_update:function(e){this._configure(),this._cachedDataOpts=null,this.update(e)},update:W.noop,transition:function(e){for(var t=this.getMeta(),n=t.data||[],i=n.length,r=0;r<i;++r)n[r].transition(e);t.dataset&&t.dataset.transition(e)},draw:function(){var e=this.getMeta(),t=e.data||[],n=t.length,i=0;for(e.dataset&&e.dataset.draw();i<n;++i)t[i].draw()},getStyle:function(e){var t,n=this.getMeta(),i=n.dataset;return this._configure(),!1!==(t=i&&void 0===e?this._resolveDatasetElementOptions(i||{}):(e=e||0,this._resolveDataElementOptions(n.data[e]||{},e))).fill&&null!==t.fill||(t.backgroundColor=t.borderColor),t},_resolveDatasetElementOptions:function(e,t){var n,i,r,a,o=this,s=o.chart,l=o._config,c=e.custom||{},d=s.options.elements[o.datasetElementType.prototype._type]||{},u=o._datasetElementOptions,h={},f={chart:s,dataset:o.getDataset(),datasetIndex:o.index,hover:t};for(n=0,i=u.length;n<i;++n)r=u[n],a=t?"hover"+r.charAt(0).toUpperCase()+r.slice(1):r,h[r]=Q([c[a],l[a],d[a]],f);return h},_resolveDataElementOptions:function(e,t){var n=this,i=e&&e.custom,r=n._cachedDataOpts;if(r&&!i)return r;var a,o,s,l,c=n.chart,d=n._config,u=c.options.elements[n.dataElementType.prototype._type]||{},h=n._dataElementOptions,f={},g={chart:c,dataIndex:t,dataset:n.getDataset(),datasetIndex:n.index},p={cacheable:!i};if(i=i||{},W.isArray(h))for(o=0,s=h.length;o<s;++o)f[l=h[o]]=Q([i[l],d[l],u[l]],g,t,p);else for(o=0,s=(a=Object.keys(h)).length;o<s;++o)f[l=a[o]]=Q([i[l],d[h[l]],d[l],u[l]],g,t,p);return p.cacheable&&(n._cachedDataOpts=Object.freeze(f)),f},removeHoverStyle:function(e){W.merge(e._model,e.$previousStyle||{}),delete e.$previousStyle},setHoverStyle:function(e){var t=this.chart.data.datasets[e._datasetIndex],n=e._index,i=e.custom||{},r=e._model,a=W.getHoverColor;e.$previousStyle={backgroundColor:r.backgroundColor,borderColor:r.borderColor,borderWidth:r.borderWidth},r.backgroundColor=Q([i.hoverBackgroundColor,t.hoverBackgroundColor,a(r.backgroundColor)],void 0,n),r.borderColor=Q([i.hoverBorderColor,t.hoverBorderColor,a(r.borderColor)],void 0,n),r.borderWidth=Q([i.hoverBorderWidth,t.hoverBorderWidth,r.borderWidth],void 0,n)},_removeDatasetHoverStyle:function(){var e=this.getMeta().dataset;e&&this.removeHoverStyle(e)},_setDatasetHoverStyle:function(){var e,t,n,i,r,a,o=this.getMeta().dataset,s={};if(o){for(a=o._model,r=this._resolveDatasetElementOptions(o,!0),e=0,t=(i=Object.keys(r)).length;e<t;++e)s[n=i[e]]=a[n],a[n]=r[n];o.$previousStyle=s}},resyncElements:function(){var e=this.getMeta(),t=this.getDataset().data,n=e.data.length,i=t.length;i<n?e.data.splice(i,n-i):n<i&&this.insertElements(n,i-n)},insertElements:function(e,t){for(var n=0;n<t;++n)this.addElementAndReset(e+n)},onDataPush:function(){var e=arguments.length;this.insertElements(this.getDataset().data.length-e,e)},onDataPop:function(){this.getMeta().data.pop()},onDataShift:function(){this.getMeta().data.shift()},onDataSplice:function(e,t){this.getMeta().data.splice(e,t),this.insertElements(e,arguments.length-2)},onDataUnshift:function(){this.insertElements(0,arguments.length)}}),ne.extend=W.inherits;var ie=ne,re=2*Math.PI;function ae(e,t){var n=t.startAngle,i=t.endAngle,r=t.pixelMargin,a=r/t.outerRadius,o=t.x,s=t.y;e.beginPath(),e.arc(o,s,t.outerRadius,n-a,i+a),t.innerRadius>r?(a=r/t.innerRadius,e.arc(o,s,t.innerRadius-r,i+a,n-a,!0)):e.arc(o,s,r,i+Math.PI/2,n-Math.PI/2),e.closePath(),e.clip()}function oe(e,t,n){var i="inner"===t.borderAlign;i?(e.lineWidth=2*t.borderWidth,e.lineJoin="round"):(e.lineWidth=t.borderWidth,e.lineJoin="bevel"),n.fullCircles&&function(e,t,n,i){var r,a=n.endAngle;for(i&&(n.endAngle=n.startAngle+re,ae(e,n),n.endAngle=a,n.endAngle===n.startAngle&&n.fullCircles&&(n.endAngle+=re,n.fullCircles--)),e.beginPath(),e.arc(n.x,n.y,n.innerRadius,n.startAngle+re,n.startAngle,!0),r=0;r<n.fullCircles;++r)e.stroke();for(e.beginPath(),e.arc(n.x,n.y,t.outerRadius,n.startAngle,n.startAngle+re),r=0;r<n.fullCircles;++r)e.stroke()}(e,t,n,i),i&&ae(e,n),e.beginPath(),e.arc(n.x,n.y,t.outerRadius,n.startAngle,n.endAngle),e.arc(n.x,n.y,n.innerRadius,n.endAngle,n.startAngle,!0),e.closePath(),e.stroke()}B._set("global",{elements:{arc:{backgroundColor:B.global.defaultColor,borderColor:"#fff",borderWidth:2,borderAlign:"center"}}});var se=$.extend({_type:"arc",inLabelRange:function(e){var t=this._view;return!!t&&Math.pow(e-t.x,2)<Math.pow(t.radius+t.hoverRadius,2)},inRange:function(e,t){var n=this._view;if(n){for(var i=W.getAngleFromPoint(n,{x:e,y:t}),r=i.angle,a=i.distance,o=n.startAngle,s=n.endAngle;s<o;)s+=re;for(;s<r;)r-=re;for(;r<o;)r+=re;var l=o<=r&&r<=s,c=a>=n.innerRadius&&a<=n.outerRadius;return l&&c}return!1},getCenterPoint:function(){var e=this._view,t=(e.startAngle+e.endAngle)/2,n=(e.innerRadius+e.outerRadius)/2;return{x:e.x+Math.cos(t)*n,y:e.y+Math.sin(t)*n}},getArea:function(){var e=this._view;return Math.PI*((e.endAngle-e.startAngle)/(2*Math.PI))*(Math.pow(e.outerRadius,2)-Math.pow(e.innerRadius,2))},tooltipPosition:function(){var e=this._view,t=e.startAngle+(e.endAngle-e.startAngle)/2,n=(e.outerRadius-e.innerRadius)/2+e.innerRadius;return{x:e.x+Math.cos(t)*n,y:e.y+Math.sin(t)*n}},draw:function(){var e,t=this._chart.ctx,n=this._view,i="inner"===n.borderAlign?.33:0,r={x:n.x,y:n.y,innerRadius:n.innerRadius,outerRadius:Math.max(n.outerRadius-i,0),pixelMargin:i,startAngle:n.startAngle,endAngle:n.endAngle,fullCircles:Math.floor(n.circumference/re)};if(t.save(),t.fillStyle=n.backgroundColor,t.strokeStyle=n.borderColor,r.fullCircles){for(r.endAngle=r.startAngle+re,t.beginPath(),t.arc(r.x,r.y,r.outerRadius,r.startAngle,r.endAngle),t.arc(r.x,r.y,r.innerRadius,r.endAngle,r.startAngle,!0),t.closePath(),e=0;e<r.fullCircles;++e)t.fill();r.endAngle=r.startAngle+n.circumference%re}t.beginPath(),t.arc(r.x,r.y,r.outerRadius,r.startAngle,r.endAngle),t.arc(r.x,r.y,r.innerRadius,r.endAngle,r.startAngle,!0),t.closePath(),t.fill(),n.borderWidth&&oe(t,n,r),t.restore()}}),le=W.valueOrDefault,ce=B.global.defaultColor;B._set("global",{elements:{line:{tension:.4,backgroundColor:ce,borderWidth:3,borderColor:ce,borderCapStyle:"butt",borderDash:[],borderDashOffset:0,borderJoinStyle:"miter",capBezierPoints:!0,fill:!0}}});var de=$.extend({_type:"line",draw:function(){var e,t,n,i=this,r=i._view,a=i._chart.ctx,o=r.spanGaps,s=i._children.slice(),l=B.global,c=l.elements.line,d=-1,u=i._loop;if(s.length){if(i._loop){for(e=0;e<s.length;++e)if(t=W.previousItem(s,e),!s[e]._view.skip&&t._view.skip){s=s.slice(e).concat(s.slice(0,e)),u=o;break}u&&s.push(s[0])}for(a.save(),a.lineCap=r.borderCapStyle||c.borderCapStyle,a.setLineDash&&a.setLineDash(r.borderDash||c.borderDash),a.lineDashOffset=le(r.borderDashOffset,c.borderDashOffset),a.lineJoin=r.borderJoinStyle||c.borderJoinStyle,a.lineWidth=le(r.borderWidth,c.borderWidth),a.strokeStyle=r.borderColor||l.defaultColor,a.beginPath(),(n=s[0]._view).skip||(a.moveTo(n.x,n.y),d=0),e=1;e<s.length;++e)n=s[e]._view,t=-1===d?W.previousItem(s,e):s[d],n.skip||(d!==e-1&&!o||-1===d?a.moveTo(n.x,n.y):W.canvas.lineTo(a,t._view,n),d=e);u&&a.closePath(),a.stroke(),a.restore()}}}),ue=W.valueOrDefault,he=B.global.defaultColor;function fe(e){var t=this._view;return!!t&&Math.abs(e-t.x)<t.radius+t.hitRadius}B._set("global",{elements:{point:{radius:3,pointStyle:"circle",backgroundColor:he,borderColor:he,borderWidth:1,hitRadius:1,hoverRadius:4,hoverBorderWidth:1}}});var ge=$.extend({_type:"point",inRange:function(e,t){var n=this._view;return!!n&&Math.pow(e-n.x,2)+Math.pow(t-n.y,2)<Math.pow(n.hitRadius+n.radius,2)},inLabelRange:fe,inXRange:fe,inYRange:function(e){var t=this._view;return!!t&&Math.abs(e-t.y)<t.radius+t.hitRadius},getCenterPoint:function(){var e=this._view;return{x:e.x,y:e.y}},getArea:function(){return Math.PI*Math.pow(this._view.radius,2)},tooltipPosition:function(){var e=this._view;return{x:e.x,y:e.y,padding:e.radius+e.borderWidth}},draw:function(e){var t=this._view,n=this._chart.ctx,i=t.pointStyle,r=t.rotation,a=t.radius,o=t.x,s=t.y,l=B.global,c=l.defaultColor;t.skip||void 0!==e&&!W.canvas._isPointInArea(t,e)||(n.strokeStyle=t.borderColor||c,n.lineWidth=ue(t.borderWidth,l.elements.point.borderWidth),n.fillStyle=t.backgroundColor||c,W.canvas.drawPoint(n,i,a,o,s,r))}}),pe=B.global.defaultColor;function ve(e){return e&&void 0!==e.width}function me(e){var t,n,i,r,a;return r=ve(e)?(a=e.width/2,t=e.x-a,n=e.x+a,i=Math.min(e.y,e.base),Math.max(e.y,e.base)):(a=e.height/2,t=Math.min(e.x,e.base),n=Math.max(e.x,e.base),i=e.y-a,e.y+a),{left:t,top:i,right:n,bottom:r}}function ye(e,t,n){return e===t?n:e===n?t:e}function be(e,t,n){var i,r,a,o,s=e.borderWidth,l=function(e){var t=e.borderSkipped,n={};return t&&(e.horizontal?e.base>e.x&&(t=ye(t,"left","right")):e.base<e.y&&(t=ye(t,"bottom","top")),n[t]=!0),n}(e);return W.isObject(s)?(i=+s.top||0,r=+s.right||0,a=+s.bottom||0,o=+s.left||0):i=r=a=o=+s||0,{t:l.top||i<0?0:n<i?n:i,r:l.right||r<0?0:t<r?t:r,b:l.bottom||a<0?0:n<a?n:a,l:l.left||o<0?0:t<o?t:o}}function xe(e,t,n){var i=null===t,r=null===n,a=!(!e||i&&r)&&me(e);return a&&(i||t>=a.left&&t<=a.right)&&(r||n>=a.top&&n<=a.bottom)}B._set("global",{elements:{rectangle:{backgroundColor:pe,borderColor:pe,borderSkipped:"bottom",borderWidth:0}}});var Me=$.extend({_type:"rectangle",draw:function(){var e=this._chart.ctx,t=this._view,n=function(e){var t=me(e),n=t.right-t.left,i=t.bottom-t.top,r=be(e,n/2,i/2);return{outer:{x:t.left,y:t.top,w:n,h:i},inner:{x:t.left+r.l,y:t.top+r.t,w:n-r.l-r.r,h:i-r.t-r.b}}}(t),i=n.outer,r=n.inner;e.fillStyle=t.backgroundColor,e.fillRect(i.x,i.y,i.w,i.h),i.w===r.w&&i.h===r.h||(e.save(),e.beginPath(),e.rect(i.x,i.y,i.w,i.h),e.clip(),e.fillStyle=t.borderColor,e.rect(r.x,r.y,r.w,r.h),e.fill("evenodd"),e.restore())},height:function(){var e=this._view;return e.base-e.y},inRange:function(e,t){return xe(this._view,e,t)},inLabelRange:function(e,t){var n=this._view;return ve(n)?xe(n,e,null):xe(n,null,t)},inXRange:function(e){return xe(this._view,e,null)},inYRange:function(e){return xe(this._view,null,e)},getCenterPoint:function(){var e,t,n=this._view;return t=ve(n)?(e=n.x,(n.y+n.base)/2):(e=(n.x+n.base)/2,n.y),{x:e,y:t}},getArea:function(){var e=this._view;return ve(e)?e.width*Math.abs(e.y-e.base):e.height*Math.abs(e.x-e.base)},tooltipPosition:function(){var e=this._view;return{x:e.x,y:e.y}}}),we={},_e=se,Se=de,Ce=ge,ke=Me;we.Arc=_e,we.Line=Se,we.Point=Ce,we.Rectangle=ke;var Te=W._deprecated,Le=W.valueOrDefault;function Ae(e,t,n){var i,r,a=n.barThickness,o=t.stackCount,s=t.pixels[e],l=W.isNullOrUndef(a)?function(e,t){var n,i,r,a,o=e._length;for(r=1,a=t.length;r<a;++r)o=Math.min(o,Math.abs(t[r]-t[r-1]));for(r=0,a=e.getTicks().length;r<a;++r)i=e.getPixelForTick(r),o=0<r?Math.min(o,Math.abs(i-n)):o,n=i;return o}(t.scale,t.pixels):-1;return r=W.isNullOrUndef(a)?(i=l*n.categoryPercentage,n.barPercentage):(i=a*o,1),{chunk:i/o,ratio:r,start:s-i/2}}B._set("bar",{hover:{mode:"label"},scales:{xAxes:[{type:"category",offset:!0,gridLines:{offsetGridLines:!0}}],yAxes:[{type:"linear"}]}}),B._set("global",{datasets:{bar:{categoryPercentage:.8,barPercentage:.9}}});var Ee=ie.extend({dataElementType:we.Rectangle,_dataElementOptions:["backgroundColor","borderColor","borderSkipped","borderWidth","barPercentage","barThickness","categoryPercentage","maxBarThickness","minBarLength"],initialize:function(){var e,t,n=this;ie.prototype.initialize.apply(n,arguments),(e=n.getMeta()).stack=n.getDataset().stack,e.bar=!0,t=n._getIndexScale().options,Te("bar chart",t.barPercentage,"scales.[x/y]Axes.barPercentage","dataset.barPercentage"),Te("bar chart",t.barThickness,"scales.[x/y]Axes.barThickness","dataset.barThickness"),Te("bar chart",t.categoryPercentage,"scales.[x/y]Axes.categoryPercentage","dataset.categoryPercentage"),Te("bar chart",n._getValueScale().options.minBarLength,"scales.[x/y]Axes.minBarLength","dataset.minBarLength"),Te("bar chart",t.maxBarThickness,"scales.[x/y]Axes.maxBarThickness","dataset.maxBarThickness")},update:function(e){var t,n,i=this.getMeta().data;for(this._ruler=this.getRuler(),t=0,n=i.length;t<n;++t)this.updateElement(i[t],t,e)},updateElement:function(e,t,n){var i=this,r=i.getMeta(),a=i.getDataset(),o=i._resolveDataElementOptions(e,t);e._xScale=i.getScaleForId(r.xAxisID),e._yScale=i.getScaleForId(r.yAxisID),e._datasetIndex=i.index,e._index=t,e._model={backgroundColor:o.backgroundColor,borderColor:o.borderColor,borderSkipped:o.borderSkipped,borderWidth:o.borderWidth,datasetLabel:a.label,label:i.chart.data.labels[t]},W.isArray(a.data[t])&&(e._model.borderSkipped=null),i._updateElementGeometry(e,t,n,o),e.pivot()},_updateElementGeometry:function(e,t,n,i){var r=this,a=e._model,o=r._getValueScale(),s=o.getBasePixel(),l=o.isHorizontal(),c=r._ruler||r.getRuler(),d=r.calculateBarValuePixels(r.index,t,i),u=r.calculateBarIndexPixels(r.index,t,c,i);a.horizontal=l,a.base=n?s:d.base,a.x=l?n?s:d.head:u.center,a.y=l?u.center:n?s:d.head,a.height=l?u.size:void 0,a.width=l?void 0:u.size},_getStacks:function(e){var t,n,i=this._getIndexScale(),r=i._getMatchingVisibleMetas(this._type),a=i.options.stacked,o=r.length,s=[];for(t=0;t<o&&(n=r[t],(!1===a||-1===s.indexOf(n.stack)||void 0===a&&void 0===n.stack)&&s.push(n.stack),n.index!==e);++t);return s},getStackCount:function(){return this._getStacks().length},getStackIndex:function(e,t){var n=this._getStacks(e),i=void 0!==t?n.indexOf(t):-1;return-1===i?n.length-1:i},getRuler:function(){var e,t,n=this._getIndexScale(),i=[];for(e=0,t=this.getMeta().data.length;e<t;++e)i.push(n.getPixelForValue(null,e,this.index));return{pixels:i,start:n._startPixel,end:n._endPixel,stackCount:this.getStackCount(),scale:n}},calculateBarValuePixels:function(e,t,n){var i,r,a,o,s,l,c,d=this.chart,u=this._getValueScale(),h=u.isHorizontal(),f=d.data.datasets,g=u._getMatchingVisibleMetas(this._type),p=u._parseValue(f[e].data[t]),v=n.minBarLength,m=u.options.stacked,y=this.getMeta().stack,b=void 0===p.start?0:0<=p.max&&0<=p.min?p.min:p.max,x=void 0===p.start?p.end:0<=p.max&&0<=p.min?p.max-p.min:p.min-p.max,M=g.length;if(m||void 0===m&&void 0!==y)for(i=0;i<M&&(r=g[i]).index!==e;++i)r.stack===y&&(a=void 0===(c=u._parseValue(f[r.index].data[t])).start?c.end:0<=c.min&&0<=c.max?c.max:c.min,(p.min<0&&a<0||0<=p.max&&0<a)&&(b+=a));return o=u.getPixelForValue(b),l=(s=u.getPixelForValue(b+x))-o,void 0!==v&&Math.abs(l)<v&&(l=v,s=0<=x&&!h||x<0&&h?o-v:o+v),{size:l,base:o,head:s,center:s+l/2}},calculateBarIndexPixels:function(e,t,n,i){var r="flex"===i.barThickness?function(e,t,n){var i,r=t.pixels,a=r[e],o=0<e?r[e-1]:null,s=e<r.length-1?r[e+1]:null,l=n.categoryPercentage;return null===o&&(o=a-(null===s?t.end-t.start:s-a)),null===s&&(s=a+a-o),i=a-(a-Math.min(o,s))/2*l,{chunk:Math.abs(s-o)/2*l/t.stackCount,ratio:n.barPercentage,start:i}}(t,n,i):Ae(t,n,i),a=this.getStackIndex(e,this.getMeta().stack),o=r.start+r.chunk*a+r.chunk/2,s=Math.min(Le(i.maxBarThickness,1/0),r.chunk*r.ratio);return{base:o-s/2,head:o+s/2,center:o,size:s}},draw:function(){var e=this.chart,t=this._getValueScale(),n=this.getMeta().data,i=this.getDataset(),r=n.length,a=0;for(W.canvas.clipArea(e.ctx,e.chartArea);a<r;++a){var o=t._parseValue(i.data[a]);isNaN(o.min)||isNaN(o.max)||n[a].draw()}W.canvas.unclipArea(e.ctx)},_resolveDataElementOptions:function(){var e=W.extend({},ie.prototype._resolveDataElementOptions.apply(this,arguments)),t=this._getIndexScale().options,n=this._getValueScale().options;return e.barPercentage=Le(t.barPercentage,e.barPercentage),e.barThickness=Le(t.barThickness,e.barThickness),e.categoryPercentage=Le(t.categoryPercentage,e.categoryPercentage),e.maxBarThickness=Le(t.maxBarThickness,e.maxBarThickness),e.minBarLength=Le(n.minBarLength,e.minBarLength),e}}),Oe=W.valueOrDefault,Pe=W.options.resolve;B._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(e,t){var n=t.datasets[e.datasetIndex].label||"",i=t.datasets[e.datasetIndex].data[e.index];return n+": ("+e.xLabel+", "+e.yLabel+", "+i.r+")"}}}});var De=ie.extend({dataElementType:we.Point,_dataElementOptions:["backgroundColor","borderColor","borderWidth","hoverBackgroundColor","hoverBorderColor","hoverBorderWidth","hoverRadius","hitRadius","pointStyle","rotation"],update:function(n){var i=this,e=i.getMeta().data;W.each(e,function(e,t){i.updateElement(e,t,n)})},updateElement:function(e,t,n){var i=this,r=i.getMeta(),a=e.custom||{},o=i.getScaleForId(r.xAxisID),s=i.getScaleForId(r.yAxisID),l=i._resolveDataElementOptions(e,t),c=i.getDataset().data[t],d=i.index,u=n?o.getPixelForDecimal(.5):o.getPixelForValue("object"==typeof c?c:NaN,t,d),h=n?s.getBasePixel():s.getPixelForValue(c,t,d);e._xScale=o,e._yScale=s,e._options=l,e._datasetIndex=d,e._index=t,e._model={backgroundColor:l.backgroundColor,borderColor:l.borderColor,borderWidth:l.borderWidth,hitRadius:l.hitRadius,pointStyle:l.pointStyle,rotation:l.rotation,radius:n?0:l.radius,skip:a.skip||isNaN(u)||isNaN(h),x:u,y:h},e.pivot()},setHoverStyle:function(e){var t=e._model,n=e._options,i=W.getHoverColor;e.$previousStyle={backgroundColor:t.backgroundColor,borderColor:t.borderColor,borderWidth:t.borderWidth,radius:t.radius},t.backgroundColor=Oe(n.hoverBackgroundColor,i(n.backgroundColor)),t.borderColor=Oe(n.hoverBorderColor,i(n.borderColor)),t.borderWidth=Oe(n.hoverBorderWidth,n.borderWidth),t.radius=n.radius+n.hoverRadius},_resolveDataElementOptions:function(e,t){var n=this,i=n.chart,r=n.getDataset(),a=e.custom||{},o=r.data[t]||{},s=ie.prototype._resolveDataElementOptions.apply(n,arguments),l={chart:i,dataIndex:t,dataset:r,datasetIndex:n.index};return n._cachedDataOpts===s&&(s=W.extend({},s)),s.radius=Pe([a.radius,o.r,n._config.radius,i.options.elements.point.radius],l,t),s}}),Ve=W.valueOrDefault,Re=Math.PI,ze=2*Re,Be=Re/2;B._set("doughnut",{animation:{animateRotate:!0,animateScale:!1},hover:{mode:"single"},legendCallback:function(e){var t,n,i,r=document.createElement("ul"),a=e.data,o=a.datasets,s=a.labels;if(r.setAttribute("class",e.id+"-legend"),o.length)for(n=o[t=0].data.length;t<n;++t)(i=r.appendChild(document.createElement("li"))).appendChild(document.createElement("span")).style.backgroundColor=o[0].backgroundColor[t],s[t]&&i.appendChild(document.createTextNode(s[t]));return r.outerHTML},legend:{labels:{generateLabels:function(r){var a=r.data;return a.labels.length&&a.datasets.length?a.labels.map(function(e,t){var n=r.getDatasetMeta(0),i=n.controller.getStyle(t);return{text:e,fillStyle:i.backgroundColor,strokeStyle:i.borderColor,lineWidth:i.borderWidth,hidden:isNaN(a.datasets[0].data[t])||n.data[t].hidden,index:t}}):[]}},onClick:function(e,t){var n,i,r,a=t.index,o=this.chart;for(n=0,i=(o.data.datasets||[]).length;n<i;++n)(r=o.getDatasetMeta(n)).data[a]&&(r.data[a].hidden=!r.data[a].hidden);o.update()}},cutoutPercentage:50,rotation:-Be,circumference:ze,tooltips:{callbacks:{title:function(){return""},label:function(e,t){var n=t.labels[e.index],i=": "+t.datasets[e.datasetIndex].data[e.index];return W.isArray(n)?(n=n.slice())[0]+=i:n+=i,n}}}});var He=ie.extend({dataElementType:we.Arc,linkScales:W.noop,_dataElementOptions:["backgroundColor","borderColor","borderWidth","borderAlign","hoverBackgroundColor","hoverBorderColor","hoverBorderWidth"],getRingIndex:function(e){for(var t=0,n=0;n<e;++n)this.chart.isDatasetVisible(n)&&++t;return t},update:function(e){var t,n,i,r,a=this,o=a.chart,s=o.chartArea,l=o.options,c=1,d=1,u=0,h=0,f=a.getMeta(),g=f.data,p=l.cutoutPercentage/100||0,v=l.circumference,m=a._getRingWeight(a.index);if(v<ze){var y=l.rotation%ze,b=(y+=Re<=y?-ze:y<-Re?ze:0)+v,x=Math.cos(y),M=Math.sin(y),w=Math.cos(b),_=Math.sin(b),S=y<=0&&0<=b||ze<=b,C=y<=Be&&Be<=b||ze+Be<=b,k=y<=-Be&&-Be<=b||Re+Be<=b,T=y===-Re||Re<=b?-1:Math.min(x,x*p,w,w*p),L=k?-1:Math.min(M,M*p,_,_*p),A=S?1:Math.max(x,x*p,w,w*p),E=C?1:Math.max(M,M*p,_,_*p);c=(A-T)/2,d=(E-L)/2,u=-(A+T)/2,h=-(E+L)/2}for(i=0,r=g.length;i<r;++i)g[i]._options=a._resolveDataElementOptions(g[i],i);for(o.borderWidth=a.getMaxBorderWidth(),t=(s.right-s.left-o.borderWidth)/c,n=(s.bottom-s.top-o.borderWidth)/d,o.outerRadius=Math.max(Math.min(t,n)/2,0),o.innerRadius=Math.max(o.outerRadius*p,0),o.radiusLength=(o.outerRadius-o.innerRadius)/(a._getVisibleDatasetWeightTotal()||1),o.offsetX=u*o.outerRadius,o.offsetY=h*o.outerRadius,f.total=a.calculateTotal(),a.outerRadius=o.outerRadius-o.radiusLength*a._getRingWeightOffset(a.index),a.innerRadius=Math.max(a.outerRadius-o.radiusLength*m,0),i=0,r=g.length;i<r;++i)a.updateElement(g[i],i,e)},updateElement:function(e,t,n){var i=this,r=i.chart,a=r.chartArea,o=r.options,s=o.animation,l=(a.left+a.right)/2,c=(a.top+a.bottom)/2,d=o.rotation,u=o.rotation,h=i.getDataset(),f=n&&s.animateRotate?0:e.hidden?0:i.calculateCircumference(h.data[t])*(o.circumference/ze),g=n&&s.animateScale?0:i.innerRadius,p=n&&s.animateScale?0:i.outerRadius,v=e._options||{};W.extend(e,{_datasetIndex:i.index,_index:t,_model:{backgroundColor:v.backgroundColor,borderColor:v.borderColor,borderWidth:v.borderWidth,borderAlign:v.borderAlign,x:l+r.offsetX,y:c+r.offsetY,startAngle:d,endAngle:u,circumference:f,outerRadius:p,innerRadius:g,label:W.valueAtIndexOrDefault(h.label,t,r.data.labels[t])}});var m=e._model;n&&s.animateRotate||(m.startAngle=0===t?o.rotation:i.getMeta().data[t-1]._model.endAngle,m.endAngle=m.startAngle+m.circumference),e.pivot()},calculateTotal:function(){var n,i=this.getDataset(),e=this.getMeta(),r=0;return W.each(e.data,function(e,t){n=i.data[t],isNaN(n)||e.hidden||(r+=Math.abs(n))}),r},calculateCircumference:function(e){var t=this.getMeta().total;return 0<t&&!isNaN(e)?ze*(Math.abs(e)/t):0},getMaxBorderWidth:function(e){var t,n,i,r,a,o,s,l,c=0,d=this.chart;if(!e)for(t=0,n=d.data.datasets.length;t<n;++t)if(d.isDatasetVisible(t)){e=(i=d.getDatasetMeta(t)).data,t!==this.index&&(a=i.controller);break}if(!e)return 0;for(t=0,n=e.length;t<n;++t)r=e[t],"inner"!==(o=a?(a._configure(),a._resolveDataElementOptions(r,t)):r._options).borderAlign&&(c=(c=c<(s=o.borderWidth)?s:c)<(l=o.hoverBorderWidth)?l:c);return c},setHoverStyle:function(e){var t=e._model,n=e._options,i=W.getHoverColor;e.$previousStyle={backgroundColor:t.backgroundColor,borderColor:t.borderColor,borderWidth:t.borderWidth},t.backgroundColor=Ve(n.hoverBackgroundColor,i(n.backgroundColor)),t.borderColor=Ve(n.hoverBorderColor,i(n.borderColor)),t.borderWidth=Ve(n.hoverBorderWidth,n.borderWidth)},_getRingWeightOffset:function(e){for(var t=0,n=0;n<e;++n)this.chart.isDatasetVisible(n)&&(t+=this._getRingWeight(n));return t},_getRingWeight:function(e){return Math.max(Ve(this.chart.data.datasets[e].weight,1),0)},_getVisibleDatasetWeightTotal:function(){return this._getRingWeightOffset(this.chart.data.datasets.length)}});B._set("horizontalBar",{hover:{mode:"index",axis:"y"},scales:{xAxes:[{type:"linear",position:"bottom"}],yAxes:[{type:"category",position:"left",offset:!0,gridLines:{offsetGridLines:!0}}]},elements:{rectangle:{borderSkipped:"left"}},tooltips:{mode:"index",axis:"y"}}),B._set("global",{datasets:{horizontalBar:{categoryPercentage:.8,barPercentage:.9}}});var Ne=Ee.extend({_getValueScaleId:function(){return this.getMeta().xAxisID},_getIndexScaleId:function(){return this.getMeta().yAxisID}}),Ie=W.valueOrDefault,Fe=W.options.resolve,We=W.canvas._isPointInArea;function je(e,t){var n=e&&e.options.ticks||{},i=n.reverse,r=void 0===n.min?t:0,a=void 0===n.max?t:0;return{start:i?a:r,end:i?r:a}}B._set("line",{showLines:!0,spanGaps:!1,hover:{mode:"label"},scales:{xAxes:[{type:"category",id:"x-axis-0"}],yAxes:[{type:"linear",id:"y-axis-0"}]}});var Ye=ie.extend({datasetElementType:we.Line,dataElementType:we.Point,_datasetElementOptions:["backgroundColor","borderCapStyle","borderColor","borderDash","borderDashOffset","borderJoinStyle","borderWidth","cubicInterpolationMode","fill"],_dataElementOptions:{backgroundColor:"pointBackgroundColor",borderColor:"pointBorderColor",borderWidth:"pointBorderWidth",hitRadius:"pointHitRadius",hoverBackgroundColor:"pointHoverBackgroundColor",hoverBorderColor:"pointHoverBorderColor",hoverBorderWidth:"pointHoverBorderWidth",hoverRadius:"pointHoverRadius",pointStyle:"pointStyle",radius:"pointRadius",rotation:"pointRotation"},update:function(e){var t,n,i=this,r=i.getMeta(),a=r.dataset,o=r.data||[],s=i.chart.options,l=i._config,c=i._showLine=Ie(l.showLine,s.showLines);for(i._xScale=i.getScaleForId(r.xAxisID),i._yScale=i.getScaleForId(r.yAxisID),c&&(void 0!==l.tension&&void 0===l.lineTension&&(l.lineTension=l.tension),a._scale=i._yScale,a._datasetIndex=i.index,a._children=o,a._model=i._resolveDatasetElementOptions(a),a.pivot()),t=0,n=o.length;t<n;++t)i.updateElement(o[t],t,e);for(c&&0!==a._model.tension&&i.updateBezierControlPoints(),t=0,n=o.length;t<n;++t)o[t].pivot()},updateElement:function(e,t,n){var i,r,a=this,o=a.getMeta(),s=e.custom||{},l=a.getDataset(),c=a.index,d=l.data[t],u=a._xScale,h=a._yScale,f=o.dataset._model,g=a._resolveDataElementOptions(e,t);i=u.getPixelForValue("object"==typeof d?d:NaN,t,c),r=n?h.getBasePixel():a.calculatePointY(d,t,c),e._xScale=u,e._yScale=h,e._options=g,e._datasetIndex=c,e._index=t,e._model={x:i,y:r,skip:s.skip||isNaN(i)||isNaN(r),radius:g.radius,pointStyle:g.pointStyle,rotation:g.rotation,backgroundColor:g.backgroundColor,borderColor:g.borderColor,borderWidth:g.borderWidth,tension:Ie(s.tension,f?f.tension:0),steppedLine:!!f&&f.steppedLine,hitRadius:g.hitRadius}},_resolveDatasetElementOptions:function(e){var t=this,n=t._config,i=e.custom||{},r=t.chart.options,a=r.elements.line,o=ie.prototype._resolveDatasetElementOptions.apply(t,arguments);return o.spanGaps=Ie(n.spanGaps,r.spanGaps),o.tension=Ie(n.lineTension,a.tension),o.steppedLine=Fe([i.steppedLine,n.steppedLine,a.stepped]),o.clip=function(e){var t,n,i,r;return W.isObject(e)?(t=e.top,n=e.right,i=e.bottom,r=e.left):t=n=i=r=e,{top:t,right:n,bottom:i,left:r}}(Ie(n.clip,function(e,t,n){var i=n/2,r=je(e,i),a=je(t,i);return{top:a.end,right:r.end,bottom:a.start,left:r.start}}(t._xScale,t._yScale,o.borderWidth))),o},calculatePointY:function(e,t,n){var i,r,a,o,s,l,c,d=this.chart,u=this._yScale,h=0,f=0;if(u.options.stacked){for(s=+u.getRightValue(e),c=(l=d._getSortedVisibleDatasetMetas()).length,i=0;i<c&&(a=l[i]).index!==n;++i)r=d.data.datasets[a.index],"line"===a.type&&a.yAxisID===u.id&&((o=+u.getRightValue(r.data[t]))<0?f+=o||0:h+=o||0);return s<0?u.getPixelForValue(f+s):u.getPixelForValue(h+s)}return u.getPixelForValue(e)},updateBezierControlPoints:function(){var e,t,n,i,r=this.chart,a=this.getMeta(),o=a.dataset._model,s=r.chartArea,l=a.data||[];function c(e,t,n){return Math.max(Math.min(e,n),t)}if(o.spanGaps&&(l=l.filter(function(e){return!e._model.skip})),"monotone"===o.cubicInterpolationMode)W.splineCurveMonotone(l);else for(e=0,t=l.length;e<t;++e)n=l[e]._model,i=W.splineCurve(W.previousItem(l,e)._model,n,W.nextItem(l,e)._model,o.tension),n.controlPointPreviousX=i.previous.x,n.controlPointPreviousY=i.previous.y,n.controlPointNextX=i.next.x,n.controlPointNextY=i.next.y;if(r.options.elements.line.capBezierPoints)for(e=0,t=l.length;e<t;++e)n=l[e]._model,We(n,s)&&(0<e&&We(l[e-1]._model,s)&&(n.controlPointPreviousX=c(n.controlPointPreviousX,s.left,s.right),n.controlPointPreviousY=c(n.controlPointPreviousY,s.top,s.bottom)),e<l.length-1&&We(l[e+1]._model,s)&&(n.controlPointNextX=c(n.controlPointNextX,s.left,s.right),n.controlPointNextY=c(n.controlPointNextY,s.top,s.bottom)))},draw:function(){var e,t=this.chart,n=this.getMeta(),i=n.data||[],r=t.chartArea,a=t.canvas,o=0,s=i.length;for(this._showLine&&(e=n.dataset._model.clip,W.canvas.clipArea(t.ctx,{left:!1===e.left?0:r.left-e.left,right:!1===e.right?a.width:r.right+e.right,top:!1===e.top?0:r.top-e.top,bottom:!1===e.bottom?a.height:r.bottom+e.bottom}),n.dataset.draw(),W.canvas.unclipArea(t.ctx));o<s;++o)i[o].draw(r)},setHoverStyle:function(e){var t=e._model,n=e._options,i=W.getHoverColor;e.$previousStyle={backgroundColor:t.backgroundColor,borderColor:t.borderColor,borderWidth:t.borderWidth,radius:t.radius},t.backgroundColor=Ie(n.hoverBackgroundColor,i(n.backgroundColor)),t.borderColor=Ie(n.hoverBorderColor,i(n.borderColor)),t.borderWidth=Ie(n.hoverBorderWidth,n.borderWidth),t.radius=Ie(n.hoverRadius,n.radius)}}),Ge=W.options.resolve;B._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(e){var t,n,i,r=document.createElement("ul"),a=e.data,o=a.datasets,s=a.labels;if(r.setAttribute("class",e.id+"-legend"),o.length)for(n=o[t=0].data.length;t<n;++t)(i=r.appendChild(document.createElement("li"))).appendChild(document.createElement("span")).style.backgroundColor=o[0].backgroundColor[t],s[t]&&i.appendChild(document.createTextNode(s[t]));return r.outerHTML},legend:{labels:{generateLabels:function(r){var a=r.data;return a.labels.length&&a.datasets.length?a.labels.map(function(e,t){var n=r.getDatasetMeta(0),i=n.controller.getStyle(t);return{text:e,fillStyle:i.backgroundColor,strokeStyle:i.borderColor,lineWidth:i.borderWidth,hidden:isNaN(a.datasets[0].data[t])||n.data[t].hidden,index:t}}):[]}},onClick:function(e,t){var n,i,r,a=t.index,o=this.chart;for(n=0,i=(o.data.datasets||[]).length;n<i;++n)(r=o.getDatasetMeta(n)).data[a].hidden=!r.data[a].hidden;o.update()}},tooltips:{callbacks:{title:function(){return""},label:function(e,t){return t.labels[e.index]+": "+e.yLabel}}}});var Ue=ie.extend({dataElementType:we.Arc,linkScales:W.noop,_dataElementOptions:["backgroundColor","borderColor","borderWidth","borderAlign","hoverBackgroundColor","hoverBorderColor","hoverBorderWidth"],_getIndexScaleId:function(){return this.chart.scale.id},_getValueScaleId:function(){return this.chart.scale.id},update:function(e){var t,n,i,r=this,a=r.getDataset(),o=r.getMeta(),s=r.chart.options.startAngle||0,l=r._starts=[],c=r._angles=[],d=o.data;for(r._updateRadius(),o.count=r.countVisibleElements(),t=0,n=a.data.length;t<n;t++)l[t]=s,i=r._computeAngle(t),s+=c[t]=i;for(t=0,n=d.length;t<n;++t)d[t]._options=r._resolveDataElementOptions(d[t],t),r.updateElement(d[t],t,e)},_updateRadius:function(){var e=this,t=e.chart,n=t.chartArea,i=t.options,r=Math.min(n.right-n.left,n.bottom-n.top);t.outerRadius=Math.max(r/2,0),t.innerRadius=Math.max(i.cutoutPercentage?t.outerRadius/100*i.cutoutPercentage:1,0),t.radiusLength=(t.outerRadius-t.innerRadius)/t.getVisibleDatasetCount(),e.outerRadius=t.outerRadius-t.radiusLength*e.index,e.innerRadius=e.outerRadius-t.radiusLength},updateElement:function(e,t,n){var i=this,r=i.chart,a=i.getDataset(),o=r.options,s=o.animation,l=r.scale,c=r.data.labels,d=l.xCenter,u=l.yCenter,h=o.startAngle,f=e.hidden?0:l.getDistanceFromCenterForValue(a.data[t]),g=i._starts[t],p=g+(e.hidden?0:i._angles[t]),v=s.animateScale?0:l.getDistanceFromCenterForValue(a.data[t]),m=e._options||{};W.extend(e,{_datasetIndex:i.index,_index:t,_scale:l,_model:{backgroundColor:m.backgroundColor,borderColor:m.borderColor,borderWidth:m.borderWidth,borderAlign:m.borderAlign,x:d,y:u,innerRadius:0,outerRadius:n?v:f,startAngle:n&&s.animateRotate?h:g,endAngle:n&&s.animateRotate?h:p,label:W.valueAtIndexOrDefault(c,t,c[t])}}),e.pivot()},countVisibleElements:function(){var n=this.getDataset(),e=this.getMeta(),i=0;return W.each(e.data,function(e,t){isNaN(n.data[t])||e.hidden||i++}),i},setHoverStyle:function(e){var t=e._model,n=e._options,i=W.getHoverColor,r=W.valueOrDefault;e.$previousStyle={backgroundColor:t.backgroundColor,borderColor:t.borderColor,borderWidth:t.borderWidth},t.backgroundColor=r(n.hoverBackgroundColor,i(n.backgroundColor)),t.borderColor=r(n.hoverBorderColor,i(n.borderColor)),t.borderWidth=r(n.hoverBorderWidth,n.borderWidth)},_computeAngle:function(e){var t=this,n=this.getMeta().count,i=t.getDataset(),r=t.getMeta();if(isNaN(i.data[e])||r.data[e].hidden)return 0;var a={chart:t.chart,dataIndex:e,dataset:i,datasetIndex:t.index};return Ge([t.chart.options.elements.arc.angle,2*Math.PI/n],a,e)}});B._set("pie",W.clone(B.doughnut)),B._set("pie",{cutoutPercentage:0});var qe=He,Xe=W.valueOrDefault;B._set("radar",{spanGaps:!1,scale:{type:"radialLinear"},elements:{line:{fill:"start",tension:0}}});var $e=ie.extend({datasetElementType:we.Line,dataElementType:we.Point,linkScales:W.noop,_datasetElementOptions:["backgroundColor","borderWidth","borderColor","borderCapStyle","borderDash","borderDashOffset","borderJoinStyle","fill"],_dataElementOptions:{backgroundColor:"pointBackgroundColor",borderColor:"pointBorderColor",borderWidth:"pointBorderWidth",hitRadius:"pointHitRadius",hoverBackgroundColor:"pointHoverBackgroundColor",hoverBorderColor:"pointHoverBorderColor",hoverBorderWidth:"pointHoverBorderWidth",hoverRadius:"pointHoverRadius",pointStyle:"pointStyle",radius:"pointRadius",rotation:"pointRotation"},_getIndexScaleId:function(){return this.chart.scale.id},_getValueScaleId:function(){return this.chart.scale.id},update:function(e){var t,n,i=this,r=i.getMeta(),a=r.dataset,o=r.data||[],s=i.chart.scale,l=i._config;for(void 0!==l.tension&&void 0===l.lineTension&&(l.lineTension=l.tension),a._scale=s,a._datasetIndex=i.index,a._children=o,a._loop=!0,a._model=i._resolveDatasetElementOptions(a),a.pivot(),t=0,n=o.length;t<n;++t)i.updateElement(o[t],t,e);for(i.updateBezierControlPoints(),t=0,n=o.length;t<n;++t)o[t].pivot()},updateElement:function(e,t,n){var i=this,r=e.custom||{},a=i.getDataset(),o=i.chart.scale,s=o.getPointPositionForValue(t,a.data[t]),l=i._resolveDataElementOptions(e,t),c=i.getMeta().dataset._model,d=n?o.xCenter:s.x,u=n?o.yCenter:s.y;e._scale=o,e._options=l,e._datasetIndex=i.index,e._index=t,e._model={x:d,y:u,skip:r.skip||isNaN(d)||isNaN(u),radius:l.radius,pointStyle:l.pointStyle,rotation:l.rotation,backgroundColor:l.backgroundColor,borderColor:l.borderColor,borderWidth:l.borderWidth,tension:Xe(r.tension,c?c.tension:0),hitRadius:l.hitRadius}},_resolveDatasetElementOptions:function(){var e=this._config,t=this.chart.options,n=ie.prototype._resolveDatasetElementOptions.apply(this,arguments);return n.spanGaps=Xe(e.spanGaps,t.spanGaps),n.tension=Xe(e.lineTension,t.elements.line.tension),n},updateBezierControlPoints:function(){var e,t,n,i,r=this.getMeta(),a=this.chart.chartArea,o=r.data||[];function s(e,t,n){return Math.max(Math.min(e,n),t)}for(r.dataset._model.spanGaps&&(o=o.filter(function(e){return!e._model.skip})),e=0,t=o.length;e<t;++e)n=o[e]._model,i=W.splineCurve(W.previousItem(o,e,!0)._model,n,W.nextItem(o,e,!0)._model,n.tension),n.controlPointPreviousX=s(i.previous.x,a.left,a.right),n.controlPointPreviousY=s(i.previous.y,a.top,a.bottom),n.controlPointNextX=s(i.next.x,a.left,a.right),n.controlPointNextY=s(i.next.y,a.top,a.bottom)},setHoverStyle:function(e){var t=e._model,n=e._options,i=W.getHoverColor;e.$previousStyle={backgroundColor:t.backgroundColor,borderColor:t.borderColor,borderWidth:t.borderWidth,radius:t.radius},t.backgroundColor=Xe(n.hoverBackgroundColor,i(n.backgroundColor)),t.borderColor=Xe(n.hoverBorderColor,i(n.borderColor)),t.borderWidth=Xe(n.hoverBorderWidth,n.borderWidth),t.radius=Xe(n.hoverRadius,n.radius)}});B._set("scatter",{hover:{mode:"single"},scales:{xAxes:[{id:"x-axis-1",type:"linear",position:"bottom"}],yAxes:[{id:"y-axis-1",type:"linear",position:"left"}]},tooltips:{callbacks:{title:function(){return""},label:function(e){return"("+e.xLabel+", "+e.yLabel+")"}}}}),B._set("global",{datasets:{scatter:{showLine:!1}}});var Ze={bar:Ee,bubble:De,doughnut:He,horizontalBar:Ne,line:Ye,polarArea:Ue,pie:qe,radar:$e,scatter:Ye};function Ke(e,t){return e.native?{x:e.x,y:e.y}:W.getRelativePosition(e,t)}function Je(e,t){var n,i,r,a,o,s,l=e._getSortedVisibleDatasetMetas();for(i=0,a=l.length;i<a;++i)for(r=0,o=(n=l[i].data).length;r<o;++r)(s=n[r])._view.skip||t(s)}function Qe(e,t){var n=[];return Je(e,function(e){e.inRange(t.x,t.y)&&n.push(e)}),n}function et(e,i,r,a){var o=Number.POSITIVE_INFINITY,s=[];return Je(e,function(e){if(!r||e.inRange(i.x,i.y)){var t=e.getCenterPoint(),n=a(i,t);n<o?(s=[e],o=n):n===o&&s.push(e)}}),s}function tt(e){var r=-1!==e.indexOf("x"),a=-1!==e.indexOf("y");return function(e,t){var n=r?Math.abs(e.x-t.x):0,i=a?Math.abs(e.y-t.y):0;return Math.sqrt(Math.pow(n,2)+Math.pow(i,2))}}function nt(e,t,n){var i=Ke(t,e);n.axis=n.axis||"x";var r=tt(n.axis),a=n.intersect?Qe(e,i):et(e,i,!1,r),o=[];return a.length?(e._getSortedVisibleDatasetMetas().forEach(function(e){var t=e.data[a[0]._index];t&&!t._view.skip&&o.push(t)}),o):[]}var it={modes:{single:function(e,t){var n=Ke(t,e),i=[];return Je(e,function(e){if(e.inRange(n.x,n.y))return i.push(e),i}),i.slice(0,1)},label:nt,index:nt,dataset:function(e,t,n){var i=Ke(t,e);n.axis=n.axis||"xy";var r=tt(n.axis),a=n.intersect?Qe(e,i):et(e,i,!1,r);return 0<a.length&&(a=e.getDatasetMeta(a[0]._datasetIndex).data),a},"x-axis":function(e,t){return nt(e,t,{intersect:!1})},point:function(e,t){return Qe(e,Ke(t,e))},nearest:function(e,t,n){var i=Ke(t,e);n.axis=n.axis||"xy";var r=tt(n.axis);return et(e,i,n.intersect,r)},x:function(e,t,n){var i=Ke(t,e),r=[],a=!1;return Je(e,function(e){e.inXRange(i.x)&&r.push(e),e.inRange(i.x,i.y)&&(a=!0)}),n.intersect&&!a&&(r=[]),r},y:function(e,t,n){var i=Ke(t,e),r=[],a=!1;return Je(e,function(e){e.inYRange(i.y)&&r.push(e),e.inRange(i.x,i.y)&&(a=!0)}),n.intersect&&!a&&(r=[]),r}}},rt=W.extend;function at(e,t){return W.where(e,function(e){return e.pos===t})}function ot(e,r){return e.sort(function(e,t){var n=r?t:e,i=r?e:t;return n.weight===i.weight?n.index-i.index:n.weight-i.weight})}function st(e,t,n,i){return Math.max(e[n],t[n])+Math.max(e[i],t[i])}function lt(e,t,n){var i,r,a=n.box,o=e.maxPadding;if(n.size&&(e[n.pos]-=n.size),n.size=n.horizontal?a.height:a.width,e[n.pos]+=n.size,a.getPadding){var s=a.getPadding();o.top=Math.max(o.top,s.top),o.left=Math.max(o.left,s.left),o.bottom=Math.max(o.bottom,s.bottom),o.right=Math.max(o.right,s.right)}if(i=t.outerWidth-st(o,e,"left","right"),r=t.outerHeight-st(o,e,"top","bottom"),i!==e.w||r!==e.h)return e.w=i,e.h=r,n.horizontal?i!==e.w:r!==e.h}function ct(e,n){var i=n.maxPadding;function t(e){var t={left:0,top:0,right:0,bottom:0};return e.forEach(function(e){t[e]=Math.max(n[e],i[e])}),t}return t(e?["left","right"]:["top","bottom"])}function dt(e,t,n){var i,r,a,o,s,l,c=[];for(i=0,r=e.length;i<r;++i)(o=(a=e[i]).box).update(a.width||t.w,a.height||t.h,ct(a.horizontal,t)),lt(t,n,a)&&(l=!0,c.length&&(s=!0)),o.fullWidth||c.push(a);return s&&dt(c,t,n)||l}function ut(e,t,n){var i,r,a,o,s=n.padding,l=t.x,c=t.y;for(i=0,r=e.length;i<r;++i)o=(a=e[i]).box,a.horizontal?(o.left=o.fullWidth?s.left:t.left,o.right=o.fullWidth?n.outerWidth-s.right:t.left+t.w,o.top=c,o.bottom=c+o.height,o.width=o.right-o.left,c=o.bottom):(o.left=l,o.right=l+o.width,o.top=t.top,o.bottom=t.top+t.h,o.height=o.bottom-o.top,l=o.right);t.x=l,t.y=c}B._set("global",{layout:{padding:{top:0,right:0,bottom:0,left:0}}});var ht,ft={defaults:{},addBox:function(e,t){e.boxes||(e.boxes=[]),t.fullWidth=t.fullWidth||!1,t.position=t.position||"top",t.weight=t.weight||0,t._layers=t._layers||function(){return[{z:0,draw:function(){t.draw.apply(t,arguments)}}]},e.boxes.push(t)},removeBox:function(e,t){var n=e.boxes?e.boxes.indexOf(t):-1;-1!==n&&e.boxes.splice(n,1)},configure:function(e,t,n){for(var i,r=["fullWidth","position","weight"],a=r.length,o=0;o<a;++o)i=r[o],n.hasOwnProperty(i)&&(t[i]=n[i])},update:function(n,e,t){if(n){var i=n.options.layout||{},r=W.options.toPadding(i.padding),a=e-r.width,o=t-r.height,s=function(e){var t=function(e){var t,n,i,r=[];for(t=0,n=(e||[]).length;t<n;++t)i=e[t],r.push({index:t,box:i,pos:i.position,horizontal:i.isHorizontal(),weight:i.weight});return r}(e),n=ot(at(t,"left"),!0),i=ot(at(t,"right")),r=ot(at(t,"top"),!0),a=ot(at(t,"bottom"));return{leftAndTop:n.concat(r),rightAndBottom:i.concat(a),chartArea:at(t,"chartArea"),vertical:n.concat(i),horizontal:r.concat(a)}}(n.boxes),l=s.vertical,c=s.horizontal,d=Object.freeze({outerWidth:e,outerHeight:t,padding:r,availableWidth:a,vBoxMaxWidth:a/2/l.length,hBoxMaxHeight:o/2}),u=rt({maxPadding:rt({},r),w:a,h:o,x:r.left,y:r.top},r);!function(e,t){var n,i,r;for(n=0,i=e.length;n<i;++n)(r=e[n]).width=r.horizontal?r.box.fullWidth&&t.availableWidth:t.vBoxMaxWidth,r.height=r.horizontal&&t.hBoxMaxHeight}(l.concat(c),d),dt(l,u,d),dt(c,u,d)&&dt(l,u,d),function(n){var i=n.maxPadding;function e(e){var t=Math.max(i[e]-n[e],0);return n[e]+=t,t}n.y+=e("top"),n.x+=e("left"),e("right"),e("bottom")}(u),ut(s.leftAndTop,u,d),u.x+=u.w,u.y+=u.h,ut(s.rightAndBottom,u,d),n.chartArea={left:u.left,top:u.top,right:u.left+u.w,bottom:u.top+u.h},W.each(s.chartArea,function(e){var t=e.box;rt(t,n.chartArea),t.update(u.w,u.h)})}}},gt=(ht=Object.freeze({__proto__:null,default:"/*\n * DOM element rendering detection\n * https://davidwalsh.name/detect-node-insertion\n */\n@keyframes chartjs-render-animation {\n\tfrom { opacity: 0.99; }\n\tto { opacity: 1; }\n}\n\n.chartjs-render-monitor {\n\tanimation: chartjs-render-animation 0.001s;\n}\n\n/*\n * DOM element resizing detection\n * https://github.com/marcj/css-element-queries\n */\n.chartjs-size-monitor,\n.chartjs-size-monitor-expand,\n.chartjs-size-monitor-shrink {\n\tposition: absolute;\n\tdirection: ltr;\n\tleft: 0;\n\ttop: 0;\n\tright: 0;\n\tbottom: 0;\n\toverflow: hidden;\n\tpointer-events: none;\n\tvisibility: hidden;\n\tz-index: -1;\n}\n\n.chartjs-size-monitor-expand > div {\n\tposition: absolute;\n\twidth: 1000000px;\n\theight: 1000000px;\n\tleft: 0;\n\ttop: 0;\n}\n\n.chartjs-size-monitor-shrink > div {\n\tposition: absolute;\n\twidth: 200%;\n\theight: 200%;\n\tleft: 0;\n\ttop: 0;\n}\n"}))&&ht.default||ht,pt="$chartjs",vt="chartjs-",mt=vt+"size-monitor",yt=vt+"render-monitor",bt=vt+"render-animation",xt=["animationstart","webkitAnimationStart"],Mt={touchstart:"mousedown",touchmove:"mousemove",touchend:"mouseup",pointerenter:"mouseenter",pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointerleave:"mouseout",pointerout:"mouseout"};function wt(e,t){var n=W.getStyle(e,t),i=n&&n.match(/^(\d+)(\.\d+)?px$/);return i?Number(i[1]):void 0}var _t=!!function(){var e=!1;try{var t=Object.defineProperty({},"passive",{get:function(){e=!0}});window.addEventListener("e",null,t)}catch(e){}return e}()&&{passive:!0};function St(e,t,n){e.addEventListener(t,n,_t)}function Ct(e,t,n){e.removeEventListener(t,n,_t)}function kt(e,t,n,i,r){return{type:e,chart:t,native:r||null,x:void 0!==n?n:null,y:void 0!==i?i:null}}function Tt(e){var t=document.createElement("div");return t.className=e||"",t}function Lt(n,i,r){var a=n[pt]||(n[pt]={}),t=a.resizer=function(e){var t=Tt(mt),n=Tt(mt+"-expand"),i=Tt(mt+"-shrink");function r(){t._reset(),e()}return n.appendChild(Tt()),i.appendChild(Tt()),t.appendChild(n),t.appendChild(i),t._reset=function(){n.scrollLeft=1e6,n.scrollTop=1e6,i.scrollLeft=1e6,i.scrollTop=1e6},St(n,"scroll",r.bind(n,"expand")),St(i,"scroll",r.bind(i,"shrink")),t}(function(e,t){var n=!1,i=[];return function(){i=Array.prototype.slice.call(arguments),t=t||this,n||(n=!0,W.requestAnimFrame.call(window,function(){n=!1,e.apply(t,i)}))}}(function(){if(a.resizer){var e=r.options.maintainAspectRatio&&n.parentNode,t=e?e.clientWidth:0;i(kt("resize",r)),e&&e.clientWidth<t&&r.canvas&&i(kt("resize",r))}}));!function(t,n){var e=t[pt]||(t[pt]={}),i=e.renderProxy=function(e){e.animationName===bt&&n()};W.each(xt,function(e){St(t,e,i)}),e.reflow=!!t.offsetParent,t.classList.add(yt)}(n,function(){if(a.resizer){var e=n.parentNode;e&&e!==t.parentNode&&e.insertBefore(t,e.firstChild),t._reset()}})}function At(e){var t=e[pt]||{},n=t.resizer;delete t.resizer,function(t){var e=t[pt]||{},n=e.renderProxy;n&&(W.each(xt,function(e){Ct(t,e,n)}),delete e.renderProxy),t.classList.remove(yt)}(e),n&&n.parentNode&&n.parentNode.removeChild(n)}var Et={disableCSSInjection:!1,_enabled:"undefined"!=typeof window&&"undefined"!=typeof document,_ensureLoaded:function(e){if(!this.disableCSSInjection){var t=e.getRootNode?e.getRootNode():document;!function(e,t){var n=e[pt]||(e[pt]={});if(!n.containsStyles){n.containsStyles=!0,t="/* Chart.js */\n"+t;var i=document.createElement("style");i.setAttribute("type","text/css"),i.appendChild(document.createTextNode(t)),e.appendChild(i)}}(t.host?t:document.head,gt)}},acquireContext:function(e,t){"string"==typeof e?e=document.getElementById(e):e.length&&(e=e[0]),e&&e.canvas&&(e=e.canvas);var n=e&&e.getContext&&e.getContext("2d");return n&&n.canvas===e?(this._ensureLoaded(e),function(e,t){var n=e.style,i=e.getAttribute("height"),r=e.getAttribute("width");if(e[pt]={initial:{height:i,width:r,style:{display:n.display,height:n.height,width:n.width}}},n.display=n.display||"block",null===r||""===r){var a=wt(e,"width");void 0!==a&&(e.width=a)}if(null===i||""===i)if(""===e.style.height)e.height=e.width/(t.options.aspectRatio||2);else{var o=wt(e,"height");void 0!==a&&(e.height=o)}}(e,t),n):null},releaseContext:function(e){var n=e.canvas;if(n[pt]){var i=n[pt].initial;["height","width"].forEach(function(e){var t=i[e];W.isNullOrUndef(t)?n.removeAttribute(e):n.setAttribute(e,t)}),W.each(i.style||{},function(e,t){n.style[t]=e}),n.width=n.width,delete n[pt]}},addEventListener:function(t,e,n){var i=t.canvas;if("resize"!==e){var r=n[pt]||(n[pt]={});St(i,e,(r.proxies||(r.proxies={}))[t.id+"_"+e]=function(e){n(function(e,t){var n=Mt[e.type]||e.type,i=W.getRelativePosition(e,t);return kt(n,t,i.x,i.y,e)}(e,t))})}else Lt(i,n,t)},removeEventListener:function(e,t,n){var i=e.canvas;if("resize"!==t){var r=((n[pt]||{}).proxies||{})[e.id+"_"+t];r&&Ct(i,t,r)}else At(i)}};W.addEvent=St,W.removeEvent=Ct;var Ot=Et._enabled?Et:{acquireContext:function(e){return e&&e.canvas&&(e=e.canvas),e&&e.getContext("2d")||null}},Pt=W.extend({initialize:function(){},acquireContext:function(){},releaseContext:function(){},addEventListener:function(){},removeEventListener:function(){}},Ot);B._set("global",{plugins:{}});var Dt={_plugins:[],_cacheId:0,register:function(e){var t=this._plugins;[].concat(e).forEach(function(e){-1===t.indexOf(e)&&t.push(e)}),this._cacheId++},unregister:function(e){var n=this._plugins;[].concat(e).forEach(function(e){var t=n.indexOf(e);-1!==t&&n.splice(t,1)}),this._cacheId++},clear:function(){this._plugins=[],this._cacheId++},count:function(){return this._plugins.length},getAll:function(){return this._plugins},notify:function(e,t,n){var i,r,a,o,s,l=this.descriptors(e),c=l.length;for(i=0;i<c;++i)if("function"==typeof(s=(a=(r=l[i]).plugin)[t])&&((o=[e].concat(n||[])).push(r.options),!1===s.apply(a,o)))return!1;return!0},descriptors:function(e){var t=e.$plugins||(e.$plugins={});if(t.id===this._cacheId)return t.descriptors;var i=[],r=[],n=e&&e.config||{},a=n.options&&n.options.plugins||{};return this._plugins.concat(n.plugins||[]).forEach(function(e){if(-1===i.indexOf(e)){var t=e.id,n=a[t];!1!==n&&(!0===n&&(n=W.clone(B.global.plugins[t])),i.push(e),r.push({plugin:e,options:n||{}}))}}),t.descriptors=r,t.id=this._cacheId,r},_invalidate:function(e){delete e.$plugins}},Vt={constructors:{},defaults:{},registerScaleType:function(e,t,n){this.constructors[e]=t,this.defaults[e]=W.clone(n)},getScaleConstructor:function(e){return this.constructors.hasOwnProperty(e)?this.constructors[e]:void 0},getScaleDefaults:function(e){return this.defaults.hasOwnProperty(e)?W.merge({},[B.scale,this.defaults[e]]):{}},updateScaleDefaults:function(e,t){this.defaults.hasOwnProperty(e)&&(this.defaults[e]=W.extend(this.defaults[e],t))},addScalesToLayout:function(t){W.each(t.scales,function(e){e.fullWidth=e.options.fullWidth,e.position=e.options.position,e.weight=e.options.weight,ft.addBox(t,e)})}},Rt=W.valueOrDefault,zt=W.rtl.getRtlAdapter;B._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:W.noop,title:function(e,t){var n="",i=t.labels,r=i?i.length:0;if(0<e.length){var a=e[0];a.label?n=a.label:a.xLabel?n=a.xLabel:0<r&&a.index<r&&(n=i[a.index])}return n},afterTitle:W.noop,beforeBody:W.noop,beforeLabel:W.noop,label:function(e,t){var n=t.datasets[e.datasetIndex].label||"";return n&&(n+=": "),W.isNullOrUndef(e.value)?n+=e.yLabel:n+=e.value,n},labelColor:function(e,t){var n=t.getDatasetMeta(e.datasetIndex).data[e.index]._view;return{borderColor:n.borderColor,backgroundColor:n.backgroundColor}},labelTextColor:function(){return this._options.bodyFontColor},afterLabel:W.noop,afterBody:W.noop,beforeFooter:W.noop,footer:W.noop,afterFooter:W.noop}}});var Bt={average:function(e){if(!e.length)return!1;var t,n,i=0,r=0,a=0;for(t=0,n=e.length;t<n;++t){var o=e[t];if(o&&o.hasValue()){var s=o.tooltipPosition();i+=s.x,r+=s.y,++a}}return{x:i/a,y:r/a}},nearest:function(e,t){var n,i,r,a=t.x,o=t.y,s=Number.POSITIVE_INFINITY;for(n=0,i=e.length;n<i;++n){var l=e[n];if(l&&l.hasValue()){var c=l.getCenterPoint(),d=W.distanceBetweenPoints(t,c);d<s&&(s=d,r=l)}}if(r){var u=r.tooltipPosition();a=u.x,o=u.y}return{x:a,y:o}}};function Ht(e,t){return t&&(W.isArray(t)?Array.prototype.push.apply(e,t):e.push(t)),e}function Nt(e){return("string"==typeof e||e instanceof String)&&-1<e.indexOf("\n")?e.split("\n"):e}function It(e){var t=B.global;return{xPadding:e.xPadding,yPadding:e.yPadding,xAlign:e.xAlign,yAlign:e.yAlign,rtl:e.rtl,textDirection:e.textDirection,bodyFontColor:e.bodyFontColor,_bodyFontFamily:Rt(e.bodyFontFamily,t.defaultFontFamily),_bodyFontStyle:Rt(e.bodyFontStyle,t.defaultFontStyle),_bodyAlign:e.bodyAlign,bodyFontSize:Rt(e.bodyFontSize,t.defaultFontSize),bodySpacing:e.bodySpacing,titleFontColor:e.titleFontColor,_titleFontFamily:Rt(e.titleFontFamily,t.defaultFontFamily),_titleFontStyle:Rt(e.titleFontStyle,t.defaultFontStyle),titleFontSize:Rt(e.titleFontSize,t.defaultFontSize),_titleAlign:e.titleAlign,titleSpacing:e.titleSpacing,titleMarginBottom:e.titleMarginBottom,footerFontColor:e.footerFontColor,_footerFontFamily:Rt(e.footerFontFamily,t.defaultFontFamily),_footerFontStyle:Rt(e.footerFontStyle,t.defaultFontStyle),footerFontSize:Rt(e.footerFontSize,t.defaultFontSize),_footerAlign:e.footerAlign,footerSpacing:e.footerSpacing,footerMarginTop:e.footerMarginTop,caretSize:e.caretSize,cornerRadius:e.cornerRadius,backgroundColor:e.backgroundColor,opacity:0,legendColorBackground:e.multiKeyBackground,displayColors:e.displayColors,borderColor:e.borderColor,borderWidth:e.borderWidth}}function Ft(e,t){return"center"===t?e.x+e.width/2:"right"===t?e.x+e.width-e.xPadding:e.x+e.xPadding}function Wt(e){return Ht([],Nt(e))}var jt=$.extend({initialize:function(){this._model=It(this._options),this._lastActive=[]},getTitle:function(){var e=this._options.callbacks,t=e.beforeTitle.apply(this,arguments),n=e.title.apply(this,arguments),i=e.afterTitle.apply(this,arguments),r=[];return r=Ht(r=Ht(r=Ht(r,Nt(t)),Nt(n)),Nt(i))},getBeforeBody:function(){return Wt(this._options.callbacks.beforeBody.apply(this,arguments))},getBody:function(e,n){var i=this,r=i._options.callbacks,a=[];return W.each(e,function(e){var t={before:[],lines:[],after:[]};Ht(t.before,Nt(r.beforeLabel.call(i,e,n))),Ht(t.lines,r.label.call(i,e,n)),Ht(t.after,Nt(r.afterLabel.call(i,e,n))),a.push(t)}),a},getAfterBody:function(){return Wt(this._options.callbacks.afterBody.apply(this,arguments))},getFooter:function(){var e=this._options.callbacks,t=e.beforeFooter.apply(this,arguments),n=e.footer.apply(this,arguments),i=e.afterFooter.apply(this,arguments),r=[];return r=Ht(r=Ht(r=Ht(r,Nt(t)),Nt(n)),Nt(i))},update:function(e){var t,n,i,r,a,o,s,l,c,d,u=this,h=u._options,f=u._model,g=u._model=It(h),p=u._active,v=u._data,m={xAlign:f.xAlign,yAlign:f.yAlign},y={x:f.x,y:f.y},b={width:f.width,height:f.height},x={x:f.caretX,y:f.caretY};if(p.length){g.opacity=1;var M=[],w=[];x=Bt[h.position].call(u,p,u._eventPosition);var _=[];for(t=0,n=p.length;t<n;++t)_.push((i=p[t],d=c=l=a=r=void 0,r=i._xScale,a=i._yScale||i._scale,o=i._index,s=i._datasetIndex,l=i._chart.getDatasetMeta(s).controller,c=l._getIndexScale(),d=l._getValueScale(),{xLabel:r?r.getLabelForIndex(o,s):"",yLabel:a?a.getLabelForIndex(o,s):"",label:c?""+c.getLabelForIndex(o,s):"",value:d?""+d.getLabelForIndex(o,s):"",index:o,datasetIndex:s,x:i._model.x,y:i._model.y}));h.filter&&(_=_.filter(function(e){return h.filter(e,v)})),h.itemSort&&(_=_.sort(function(e,t){return h.itemSort(e,t,v)})),W.each(_,function(e){M.push(h.callbacks.labelColor.call(u,e,u._chart)),w.push(h.callbacks.labelTextColor.call(u,e,u._chart))}),g.title=u.getTitle(_,v),g.beforeBody=u.getBeforeBody(_,v),g.body=u.getBody(_,v),g.afterBody=u.getAfterBody(_,v),g.footer=u.getFooter(_,v),g.x=x.x,g.y=x.y,g.caretPadding=h.caretPadding,g.labelColors=M,g.labelTextColors=w,g.dataPoints=_,y=function(e,t,n,i){var r=e.x,a=e.y,o=e.caretSize,s=e.caretPadding,l=e.cornerRadius,c=n.xAlign,d=n.yAlign,u=o+s,h=l+s;return"right"===c?r-=t.width:"center"===c&&((r-=t.width/2)+t.width>i.width&&(r=i.width-t.width),r<0&&(r=0)),"top"===d?a+=u:a-="bottom"===d?t.height+u:t.height/2,"center"===d?"left"===c?r+=u:"right"===c&&(r-=u):"left"===c?r-=h:"right"===c&&(r+=h),{x:r,y:a}}(g,b=function(e,t){var n=e._chart.ctx,i=2*t.yPadding,r=0,a=t.body,o=a.reduce(function(e,t){return e+t.before.length+t.lines.length+t.after.length},0);o+=t.beforeBody.length+t.afterBody.length;var s=t.title.length,l=t.footer.length,c=t.titleFontSize,d=t.bodyFontSize,u=t.footerFontSize;function h(e){r=Math.max(r,n.measureText(e).width+f)}i+=s*c,i+=s?(s-1)*t.titleSpacing:0,i+=s?t.titleMarginBottom:0,i+=o*d,i+=o?(o-1)*t.bodySpacing:0,i+=l?t.footerMarginTop:0,i+=l*u,i+=l?(l-1)*t.footerSpacing:0;var f=0;return n.font=W.fontString(c,t._titleFontStyle,t._titleFontFamily),W.each(t.title,h),n.font=W.fontString(d,t._bodyFontStyle,t._bodyFontFamily),W.each(t.beforeBody.concat(t.afterBody),h),f=t.displayColors?d+2:0,W.each(a,function(e){W.each(e.before,h),W.each(e.lines,h),W.each(e.after,h)}),f=0,n.font=W.fontString(u,t._footerFontStyle,t._footerFontFamily),W.each(t.footer,h),{width:r+=2*t.xPadding,height:i}}(this,g),m=function(e,t){var n,i,r,a,o,s=e._model,l=e._chart,c=e._chart.chartArea,d="center",u="center";s.y<t.height?u="top":s.y>l.height-t.height&&(u="bottom");var h=(c.left+c.right)/2,f=(c.top+c.bottom)/2;i="center"===u?(n=function(e){return e<=h},function(e){return h<e}):(n=function(e){return e<=t.width/2},function(e){return e>=l.width-t.width/2}),r=function(e){return e+t.width+s.caretSize+s.caretPadding>l.width},a=function(e){return e-t.width-s.caretSize-s.caretPadding<0},o=function(e){return e<=f?"top":"bottom"},n(s.x)?(d="left",r(s.x)&&(d="center",u=o(s.y))):i(s.x)&&(d="right",a(s.x)&&(d="center",u=o(s.y)));var g=e._options;return{xAlign:g.xAlign?g.xAlign:d,yAlign:g.yAlign?g.yAlign:u}}(this,b),u._chart)}else g.opacity=0;return g.xAlign=m.xAlign,g.yAlign=m.yAlign,g.x=y.x,g.y=y.y,g.width=b.width,g.height=b.height,g.caretX=x.x,g.caretY=x.y,u._model=g,e&&h.custom&&h.custom.call(u,g),u},drawCaret:function(e,t){var n=this._chart.ctx,i=this._view,r=this.getCaretPosition(e,t,i);n.lineTo(r.x1,r.y1),n.lineTo(r.x2,r.y2),n.lineTo(r.x3,r.y3)},getCaretPosition:function(e,t,n){var i,r,a,o,s,l,c=n.caretSize,d=n.cornerRadius,u=n.xAlign,h=n.yAlign,f=e.x,g=e.y,p=t.width,v=t.height;if("center"===h)s=g+v/2,l="left"===u?(r=(i=f)-c,a=i,o=s+c,s-c):(r=(i=f+p)+c,a=i,o=s-c,s+c);else if(a=(i="left"===u?(r=f+d+c)-c:"right"===u?(r=f+p-d-c)-c:(r=n.caretX)-c,r+c),"top"===h)s=(o=g)-c,l=o;else{s=(o=g+v)+c,l=o;var m=a;a=i,i=m}return{x1:i,x2:r,x3:a,y1:o,y2:s,y3:l}},drawTitle:function(e,t,n){var i,r,a,o=t.title,s=o.length;if(s){var l=zt(t.rtl,t.x,t.width);for(e.x=Ft(t,t._titleAlign),n.textAlign=l.textAlign(t._titleAlign),n.textBaseline="middle",i=t.titleFontSize,r=t.titleSpacing,n.fillStyle=t.titleFontColor,n.font=W.fontString(i,t._titleFontStyle,t._titleFontFamily),a=0;a<s;++a)n.fillText(o[a],l.x(e.x),e.y+i/2),e.y+=i+r,a+1===s&&(e.y+=t.titleMarginBottom-r)}},drawBody:function(t,e,n){function i(e){n.fillText(e,b.x(t.x+m),t.y+h/2),t.y+=h+f}var r,a,o,s,l,c,d,u,h=e.bodyFontSize,f=e.bodySpacing,g=e._bodyAlign,p=e.body,v=e.displayColors,m=0,y=v?Ft(e,"left"):0,b=zt(e.rtl,e.x,e.width),x=b.textAlign(g);for(n.textAlign=g,n.textBaseline="middle",n.font=W.fontString(h,e._bodyFontStyle,e._bodyFontFamily),t.x=Ft(e,x),n.fillStyle=e.bodyFontColor,W.each(e.beforeBody,i),m=v&&"right"!==x?"center"===g?h/2+1:h+2:0,l=0,d=p.length;l<d;++l){for(r=p[l],a=e.labelTextColors[l],o=e.labelColors[l],n.fillStyle=a,W.each(r.before,i),c=0,u=(s=r.lines).length;c<u;++c){if(v){var M=b.x(y);n.fillStyle=e.legendColorBackground,n.fillRect(b.leftForLtr(M,h),t.y,h,h),n.lineWidth=1,n.strokeStyle=o.borderColor,n.strokeRect(b.leftForLtr(M,h),t.y,h,h),n.fillStyle=o.backgroundColor,n.fillRect(b.leftForLtr(b.xPlus(M,1),h-2),t.y+1,h-2,h-2),n.fillStyle=a}i(s[c])}W.each(r.after,i)}m=0,W.each(e.afterBody,i),t.y-=f},drawFooter:function(e,t,n){var i,r,a=t.footer,o=a.length;if(o){var s=zt(t.rtl,t.x,t.width);for(e.x=Ft(t,t._footerAlign),e.y+=t.footerMarginTop,n.textAlign=s.textAlign(t._footerAlign),n.textBaseline="middle",i=t.footerFontSize,n.fillStyle=t.footerFontColor,n.font=W.fontString(i,t._footerFontStyle,t._footerFontFamily),r=0;r<o;++r)n.fillText(a[r],s.x(e.x),e.y+i/2),e.y+=i+t.footerSpacing}},drawBackground:function(e,t,n,i){n.fillStyle=t.backgroundColor,n.strokeStyle=t.borderColor,n.lineWidth=t.borderWidth;var r=t.xAlign,a=t.yAlign,o=e.x,s=e.y,l=i.width,c=i.height,d=t.cornerRadius;n.beginPath(),n.moveTo(o+d,s),"top"===a&&this.drawCaret(e,i),n.lineTo(o+l-d,s),n.quadraticCurveTo(o+l,s,o+l,s+d),"center"===a&&"right"===r&&this.drawCaret(e,i),n.lineTo(o+l,s+c-d),n.quadraticCurveTo(o+l,s+c,o+l-d,s+c),"bottom"===a&&this.drawCaret(e,i),n.lineTo(o+d,s+c),n.quadraticCurveTo(o,s+c,o,s+c-d),"center"===a&&"left"===r&&this.drawCaret(e,i),n.lineTo(o,s+d),n.quadraticCurveTo(o,s,o+d,s),n.closePath(),n.fill(),0<t.borderWidth&&n.stroke()},draw:function(){var e=this._chart.ctx,t=this._view;if(0!==t.opacity){var n={width:t.width,height:t.height},i={x:t.x,y:t.y},r=Math.abs(t.opacity<.001)?0:t.opacity,a=t.title.length||t.beforeBody.length||t.body.length||t.afterBody.length||t.footer.length;this._options.enabled&&a&&(e.save(),e.globalAlpha=r,this.drawBackground(i,t,e,n),i.y+=t.yPadding,W.rtl.overrideTextDirection(e,t.textDirection),this.drawTitle(i,t,e),this.drawBody(i,t,e),this.drawFooter(i,t,e),W.rtl.restoreTextDirection(e,t.textDirection),e.restore())}},handleEvent:function(e){var t,n=this,i=n._options;return n._lastActive=n._lastActive||[],"mouseout"===e.type?n._active=[]:(n._active=n._chart.getElementsAtEventForMode(e,i.mode,i),i.reverse&&n._active.reverse()),(t=!W.arrayEquals(n._active,n._lastActive))&&(n._lastActive=n._active,(i.enabled||i.custom)&&(n._eventPosition={x:e.x,y:e.y},n.update(!0),n.pivot())),t}}),Yt=Bt,Gt=jt;Gt.positioners=Yt;var Ut=W.valueOrDefault;function qt(){return W.merge({},[].slice.call(arguments),{merger:function(e,t,n,i){if("xAxes"===e||"yAxes"===e){var r,a,o,s=n[e].length;for(t[e]||(t[e]=[]),r=0;r<s;++r)o=n[e][r],a=Ut(o.type,"xAxes"===e?"category":"linear"),r>=t[e].length&&t[e].push({}),!t[e][r].type||o.type&&o.type!==t[e][r].type?W.merge(t[e][r],[Vt.getScaleDefaults(a),o]):W.merge(t[e][r],o)}else W._merger(e,t,n,i)}})}function Xt(){return W.merge({},[].slice.call(arguments),{merger:function(e,t,n,i){var r=t[e]||{},a=n[e];"scales"===e?t[e]=qt(r,a):"scale"===e?t[e]=W.merge(r,[Vt.getScaleDefaults(a.type),a]):W._merger(e,t,n,i)}})}function $t(e,t,n){for(var i,r=function(e){return e.id===i};i=t+n++,0<=W.findIndex(e,r););return i}function Zt(e){return"top"===e||"bottom"===e}function Kt(n,i){return function(e,t){return e[n]===t[n]?e[i]-t[i]:e[n]-t[n]}}B._set("global",{elements:{},events:["mousemove","mouseout","click","touchstart","touchmove"],hover:{onHover:null,mode:"nearest",intersect:!0,animationDuration:400},onClick:null,maintainAspectRatio:!0,responsive:!0,responsiveAnimationDuration:0});function Jt(e,t){return this.construct(e,t),this}W.extend(Jt.prototype,{construct:function(e,t){var n=this;t=function(e){var t=(e=e||{}).data=e.data||{};return t.datasets=t.datasets||[],t.labels=t.labels||[],e.options=Xt(B.global,B[e.type],e.options||{}),e}(t);var i=Pt.acquireContext(e,t),r=i&&i.canvas,a=r&&r.height,o=r&&r.width;n.id=W.uid(),n.ctx=i,n.canvas=r,n.config=t,n.width=o,n.height=a,n.aspectRatio=a?o/a:null,n.options=t.options,n._bufferedRender=!1,n._layers=[],(n.chart=n).controller=n,Jt.instances[n.id]=n,Object.defineProperty(n,"data",{get:function(){return n.config.data},set:function(e){n.config.data=e}}),i&&r?(n.initialize(),n.update()):console.error("Failed to create chart: can't acquire context from the given item")},initialize:function(){var e=this;return Dt.notify(e,"beforeInit"),W.retinaScale(e,e.options.devicePixelRatio),e.bindEvents(),e.options.responsive&&e.resize(!0),e.initToolTip(),Dt.notify(e,"afterInit"),e},clear:function(){return W.canvas.clear(this),this},stop:function(){return J.cancelAnimation(this),this},resize:function(e){var t=this,n=t.options,i=t.canvas,r=n.maintainAspectRatio&&t.aspectRatio||null,a=Math.max(0,Math.floor(W.getMaximumWidth(i))),o=Math.max(0,Math.floor(r?a/r:W.getMaximumHeight(i)));if((t.width!==a||t.height!==o)&&(i.width=t.width=a,i.height=t.height=o,i.style.width=a+"px",i.style.height=o+"px",W.retinaScale(t,n.devicePixelRatio),!e)){var s={width:a,height:o};Dt.notify(t,"resize",[s]),n.onResize&&n.onResize(t,s),t.stop(),t.update({duration:n.responsiveAnimationDuration})}},ensureScalesHaveIDs:function(){var e=this.options,n=e.scales||{},t=e.scale;W.each(n.xAxes,function(e,t){e.id||(e.id=$t(n.xAxes,"x-axis-",t))}),W.each(n.yAxes,function(e,t){e.id||(e.id=$t(n.yAxes,"y-axis-",t))}),t&&(t.id=t.id||"scale")},buildOrUpdateScales:function(){var o=this,e=o.options,s=o.scales||{},t=[],l=Object.keys(s).reduce(function(e,t){return e[t]=!1,e},{});e.scales&&(t=t.concat((e.scales.xAxes||[]).map(function(e){return{options:e,dtype:"category",dposition:"bottom"}}),(e.scales.yAxes||[]).map(function(e){return{options:e,dtype:"linear",dposition:"left"}}))),e.scale&&t.push({options:e.scale,dtype:"radialLinear",isDefault:!0,dposition:"chartArea"}),W.each(t,function(e){var t=e.options,n=t.id,i=Ut(t.type,e.dtype);Zt(t.position)!==Zt(e.dposition)&&(t.position=e.dposition),l[n]=!0;var r=null;if(n in s&&s[n].type===i)(r=s[n]).options=t,r.ctx=o.ctx,r.chart=o;else{var a=Vt.getScaleConstructor(i);if(!a)return;r=new a({id:n,type:i,options:t,ctx:o.ctx,chart:o}),s[r.id]=r}r.mergeTicksOptions(),e.isDefault&&(o.scale=r)}),W.each(l,function(e,t){e||delete s[t]}),o.scales=s,Vt.addScalesToLayout(this)},buildOrUpdateControllers:function(){var e,t,n=this,i=[],r=n.data.datasets;for(e=0,t=r.length;e<t;e++){var a=r[e],o=n.getDatasetMeta(e),s=a.type||n.config.type;if(o.type&&o.type!==s&&(n.destroyDatasetMeta(e),o=n.getDatasetMeta(e)),o.type=s,o.order=a.order||0,o.index=e,o.controller)o.controller.updateIndex(e),o.controller.linkScales();else{var l=Ze[o.type];if(void 0===l)throw new Error('"'+o.type+'" is not a chart type.');o.controller=new l(n,e),i.push(o.controller)}}return i},resetElements:function(){var n=this;W.each(n.data.datasets,function(e,t){n.getDatasetMeta(t).controller.reset()},n)},reset:function(){this.resetElements(),this.tooltip.initialize()},update:function(e){var t,n,i=this;if(e&&"object"==typeof e||(e={duration:e,lazy:arguments[1]}),function(t){var e=t.options;W.each(t.scales,function(e){ft.removeBox(t,e)}),e=Xt(B.global,B[t.config.type],e),t.options=t.config.options=e,t.ensureScalesHaveIDs(),t.buildOrUpdateScales(),t.tooltip._options=e.tooltips,t.tooltip.initialize()}(i),Dt._invalidate(i),!1!==Dt.notify(i,"beforeUpdate")){i.tooltip._data=i.data;var r=i.buildOrUpdateControllers();for(t=0,n=i.data.datasets.length;t<n;t++)i.getDatasetMeta(t).controller.buildOrUpdateElements();i.updateLayout(),i.options.animation&&i.options.animation.duration&&W.each(r,function(e){e.reset()}),i.updateDatasets(),i.tooltip.initialize(),i.lastActive=[],Dt.notify(i,"afterUpdate"),i._layers.sort(Kt("z","_idx")),i._bufferedRender?i._bufferedRequest={duration:e.duration,easing:e.easing,lazy:e.lazy}:i.render(e)}},updateLayout:function(){var t=this;!1!==Dt.notify(t,"beforeLayout")&&(ft.update(this,this.width,this.height),t._layers=[],W.each(t.boxes,function(e){e._configure&&e._configure(),t._layers.push.apply(t._layers,e._layers())},t),t._layers.forEach(function(e,t){e._idx=t}),Dt.notify(t,"afterScaleUpdate"),Dt.notify(t,"afterLayout"))},updateDatasets:function(){if(!1!==Dt.notify(this,"beforeDatasetsUpdate")){for(var e=0,t=this.data.datasets.length;e<t;++e)this.updateDataset(e);Dt.notify(this,"afterDatasetsUpdate")}},updateDataset:function(e){var t=this.getDatasetMeta(e),n={meta:t,index:e};!1!==Dt.notify(this,"beforeDatasetUpdate",[n])&&(t.controller._update(),Dt.notify(this,"afterDatasetUpdate",[n]))},render:function(e){var t=this;e&&"object"==typeof e||(e={duration:e,lazy:arguments[1]});var n=t.options.animation,i=Ut(e.duration,n&&n.duration),r=e.lazy;if(!1!==Dt.notify(t,"beforeRender")){var a=function(e){Dt.notify(t,"afterRender"),W.callback(n&&n.onComplete,[e],t)};if(n&&i){var o=new K({numSteps:i/16.66,easing:e.easing||n.easing,render:function(e,t){var n=W.easing.effects[t.easing],i=t.currentStep,r=i/t.numSteps;e.draw(n(r),r,i)},onAnimationProgress:n.onProgress,onAnimationComplete:a});J.addAnimation(t,o,i,r)}else t.draw(),a(new K({numSteps:0,chart:t}));return t}},draw:function(e){var t,n,i=this;if(i.clear(),W.isNullOrUndef(e)&&(e=1),i.transition(e),!(i.width<=0||i.height<=0)&&!1!==Dt.notify(i,"beforeDraw",[e])){for(n=i._layers,t=0;t<n.length&&n[t].z<=0;++t)n[t].draw(i.chartArea);for(i.drawDatasets(e);t<n.length;++t)n[t].draw(i.chartArea);i._drawTooltip(e),Dt.notify(i,"afterDraw",[e])}},transition:function(e){for(var t=0,n=(this.data.datasets||[]).length;t<n;++t)this.isDatasetVisible(t)&&this.getDatasetMeta(t).controller.transition(e);this.tooltip.transition(e)},_getSortedDatasetMetas:function(e){var t,n,i=[];for(t=0,n=(this.data.datasets||[]).length;t<n;++t)e&&!this.isDatasetVisible(t)||i.push(this.getDatasetMeta(t));return i.sort(Kt("order","index")),i},_getSortedVisibleDatasetMetas:function(){return this._getSortedDatasetMetas(!0)},drawDatasets:function(e){var t,n;if(!1!==Dt.notify(this,"beforeDatasetsDraw",[e])){for(n=(t=this._getSortedVisibleDatasetMetas()).length-1;0<=n;--n)this.drawDataset(t[n],e);Dt.notify(this,"afterDatasetsDraw",[e])}},drawDataset:function(e,t){var n={meta:e,index:e.index,easingValue:t};!1!==Dt.notify(this,"beforeDatasetDraw",[n])&&(e.controller.draw(t),Dt.notify(this,"afterDatasetDraw",[n]))},_drawTooltip:function(e){var t=this.tooltip,n={tooltip:t,easingValue:e};!1!==Dt.notify(this,"beforeTooltipDraw",[n])&&(t.draw(),Dt.notify(this,"afterTooltipDraw",[n]))},getElementAtEvent:function(e){return it.modes.single(this,e)},getElementsAtEvent:function(e){return it.modes.label(this,e,{intersect:!0})},getElementsAtXAxis:function(e){return it.modes["x-axis"](this,e,{intersect:!0})},getElementsAtEventForMode:function(e,t,n){var i=it.modes[t];return"function"==typeof i?i(this,e,n):[]},getDatasetAtEvent:function(e){return it.modes.dataset(this,e,{intersect:!0})},getDatasetMeta:function(e){var t=this.data.datasets[e];t._meta||(t._meta={});var n=t._meta[this.id];return n=n||(t._meta[this.id]={type:null,data:[],dataset:null,controller:null,hidden:null,xAxisID:null,yAxisID:null,order:t.order||0,index:e})},getVisibleDatasetCount:function(){for(var e=0,t=0,n=this.data.datasets.length;t<n;++t)this.isDatasetVisible(t)&&e++;return e},isDatasetVisible:function(e){var t=this.getDatasetMeta(e);return"boolean"==typeof t.hidden?!t.hidden:!this.data.datasets[e].hidden},generateLegend:function(){return this.options.legendCallback(this)},destroyDatasetMeta:function(e){var t=this.id,n=this.data.datasets[e],i=n._meta&&n._meta[t];i&&(i.controller.destroy(),delete n._meta[t])},destroy:function(){var e,t,n=this,i=n.canvas;for(n.stop(),e=0,t=n.data.datasets.length;e<t;++e)n.destroyDatasetMeta(e);i&&(n.unbindEvents(),W.canvas.clear(n),Pt.releaseContext(n.ctx),n.canvas=null,n.ctx=null),Dt.notify(n,"destroy"),delete Jt.instances[n.id]},toBase64Image:function(){return this.canvas.toDataURL.apply(this.canvas,arguments)},initToolTip:function(){var e=this;e.tooltip=new Gt({_chart:e,_chartInstance:e,_data:e.data,_options:e.options.tooltips},e)},bindEvents:function(){var t=this,n=t._listeners={},i=function(){t.eventHandler.apply(t,arguments)};W.each(t.options.events,function(e){Pt.addEventListener(t,e,i),n[e]=i}),t.options.responsive&&(i=function(){t.resize()},Pt.addEventListener(t,"resize",i),n.resize=i)},unbindEvents:function(){var n=this,e=n._listeners;e&&(delete n._listeners,W.each(e,function(e,t){Pt.removeEventListener(n,t,e)}))},updateHoverStyle:function(e,t,n){var i,r,a,o=n?"set":"remove";for(r=0,a=e.length;r<a;++r)(i=e[r])&&this.getDatasetMeta(i._datasetIndex).controller[o+"HoverStyle"](i);"dataset"===t&&this.getDatasetMeta(e[0]._datasetIndex).controller["_"+o+"DatasetHoverStyle"]()},eventHandler:function(e){var t=this,n=t.tooltip;if(!1!==Dt.notify(t,"beforeEvent",[e])){t._bufferedRender=!0,t._bufferedRequest=null;var i=t.handleEvent(e);n&&(i=n._start?n.handleEvent(e):i|n.handleEvent(e)),Dt.notify(t,"afterEvent",[e]);var r=t._bufferedRequest;return r?t.render(r):i&&!t.animating&&(t.stop(),t.render({duration:t.options.hover.animationDuration,lazy:!0})),t._bufferedRender=!1,t._bufferedRequest=null,t}},handleEvent:function(e){var t,n=this,i=n.options||{},r=i.hover;return n.lastActive=n.lastActive||[],"mouseout"===e.type?n.active=[]:n.active=n.getElementsAtEventForMode(e,r.mode,r),W.callback(i.onHover||i.hover.onHover,[e.native,n.active],n),"mouseup"!==e.type&&"click"!==e.type||i.onClick&&i.onClick.call(n,e.native,n.active),n.lastActive.length&&n.updateHoverStyle(n.lastActive,r.mode,!1),n.active.length&&r.mode&&n.updateHoverStyle(n.active,r.mode,!0),t=!W.arrayEquals(n.active,n.lastActive),n.lastActive=n.active,t}}),Jt.instances={};var Qt=Jt;(Jt.Controller=Jt).types={},W.configMerge=Xt,W.scaleMerge=qt;function en(){throw new Error("This method is not implemented: either no adapter can be found or an incomplete integration was provided.")}function tn(e){this.options=e||{}}W.extend(tn.prototype,{formats:en,parse:en,format:en,add:en,diff:en,startOf:en,endOf:en,_create:function(e){return e}}),tn.override=function(e){W.extend(tn.prototype,e)};var nn={_date:tn},rn={formatters:{values:function(e){return W.isArray(e)?e:""+e},linear:function(e,t,n){var i=3<n.length?n[2]-n[1]:n[1]-n[0];1<Math.abs(i)&&e!==Math.floor(e)&&(i=e-Math.floor(e));var r=W.log10(Math.abs(i)),a="";if(0!==e)if(Math.max(Math.abs(n[0]),Math.abs(n[n.length-1]))<1e-4){var o=W.log10(Math.abs(e)),s=Math.floor(o)-Math.floor(r);s=Math.max(Math.min(s,20),0),a=e.toExponential(s)}else{var l=-1*Math.floor(r);l=Math.max(Math.min(l,20),0),a=e.toFixed(l)}else a="0";return a},logarithmic:function(e,t,n){var i=e/Math.pow(10,Math.floor(W.log10(e)));return 0===e?"0":1==i||2==i||5==i||0===t||t===n.length-1?e.toExponential():""}}},an=W.isArray,on=W.isNullOrUndef,sn=W.valueOrDefault,ln=W.valueAtIndexOrDefault;function cn(e,t,n){var i,r=e.getTicks().length,a=Math.min(t,r-1),o=e.getPixelForTick(a),s=e._startPixel,l=e._endPixel;if(!(n&&(i=1===r?Math.max(o-s,l-o):0===t?(e.getPixelForTick(1)-o)/2:(o-e.getPixelForTick(a-1))/2,(o+=a<t?i:-i)<s-1e-6||l+1e-6<o)))return o}function dn(e,t,n,i){var r,a,o,s,l,c,d,u,h,f,g,p,v,m=n.length,y=[],b=[],x=[];for(r=0;r<m;++r){if(s=n[r].label,l=n[r].major?t.major:t.minor,e.font=c=l.string,d=i[c]=i[c]||{data:{},gc:[]},u=l.lineHeight,h=f=0,on(s)||an(s)){if(an(s))for(a=0,o=s.length;a<o;++a)g=s[a],on(g)||an(g)||(h=W.measureText(e,d.data,d.gc,h,g),f+=u)}else h=W.measureText(e,d.data,d.gc,h,s),f=u;y.push(h),b.push(f),x.push(u/2)}function M(e){return{width:y[e]||0,height:b[e]||0,offset:x[e]||0}}return function(e,r){W.each(e,function(e){var t,n=e.gc,i=n.length/2;if(r<i){for(t=0;t<i;++t)delete e.data[n[t]];n.splice(0,i)}})}(i,m),p=y.indexOf(Math.max.apply(null,y)),v=b.indexOf(Math.max.apply(null,b)),{first:M(0),last:M(m-1),widest:M(p),highest:M(v)}}function un(e){return e.drawTicks?e.tickMarkLength:0}function hn(e){var t,n;return e.display?(t=W.options._parseFont(e),n=W.options.toPadding(e.padding),t.lineHeight+n.height):0}function fn(e,t){return W.extend(W.options._parseFont({fontFamily:sn(t.fontFamily,e.fontFamily),fontSize:sn(t.fontSize,e.fontSize),fontStyle:sn(t.fontStyle,e.fontStyle),lineHeight:sn(t.lineHeight,e.lineHeight)}),{color:W.options.resolve([t.fontColor,e.fontColor,B.global.defaultFontColor])})}function gn(e){var t=fn(e,e.minor);return{minor:t,major:e.major.enabled?fn(e,e.major):t}}function pn(e){var t,n,i,r=[];for(n=0,i=e.length;n<i;++n)void 0!==(t=e[n])._index&&r.push(t);return r}function vn(e,t,n,i){var r,a,o,s,l=sn(n,0),c=Math.min(sn(i,e.length),e.length),d=0;for(t=Math.ceil(t),i&&(t=(r=i-n)/Math.floor(r/t)),s=l;s<0;)d++,s=Math.round(l+d*t);for(a=Math.max(l,0);a<c;a++)o=e[a],a===s?(o._index=a,d++,s=Math.round(l+d*t)):delete o.label}B._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:"",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:rn.formatters.values,minor:{},major:{}}});var mn=$.extend({zeroLineIndex:0,getPadding:function(){return{left:this.paddingLeft||0,top:this.paddingTop||0,right:this.paddingRight||0,bottom:this.paddingBottom||0}},getTicks:function(){return this._ticks},_getLabels:function(){var e=this.chart.data;return this.options.labels||(this.isHorizontal()?e.xLabels:e.yLabels)||e.labels||[]},mergeTicksOptions:function(){},beforeUpdate:function(){W.callback(this.options.beforeUpdate,[this])},update:function(e,t,n){var i,r,a,o,s,l=this,c=l.options.ticks,d=c.sampleSize;if(l.beforeUpdate(),l.maxWidth=e,l.maxHeight=t,l.margins=W.extend({left:0,right:0,top:0,bottom:0},n),l._ticks=null,l.ticks=null,l._labelSizes=null,l._maxLabelLines=0,l.longestLabelWidth=0,l.longestTextCache=l.longestTextCache||{},l._gridLineItems=null,l._labelItems=null,l.beforeSetDimensions(),l.setDimensions(),l.afterSetDimensions(),l.beforeDataLimits(),l.determineDataLimits(),l.afterDataLimits(),l.beforeBuildTicks(),o=l.buildTicks()||[],(!(o=l.afterBuildTicks(o)||o)||!o.length)&&l.ticks)for(o=[],i=0,r=l.ticks.length;i<r;++i)o.push({value:l.ticks[i],major:!1});return s=d<(l._ticks=o).length,a=l._convertTicksToLabels(s?function(e,t){for(var n=[],i=e.length/t,r=0,a=e.length;r<a;r+=i)n.push(e[Math.floor(r)]);return n}(o,d):o),l._configure(),l.beforeCalculateTickRotation(),l.calculateTickRotation(),l.afterCalculateTickRotation(),l.beforeFit(),l.fit(),l.afterFit(),l._ticksToDraw=c.display&&(c.autoSkip||"auto"===c.source)?l._autoSkip(o):o,s&&(a=l._convertTicksToLabels(l._ticksToDraw)),l.ticks=a,l.afterUpdate(),l.minSize},_configure:function(){var e,t,n=this,i=n.options.ticks.reverse;n.isHorizontal()?(e=n.left,t=n.right):(e=n.top,t=n.bottom,i=!i),n._startPixel=e,n._endPixel=t,n._reversePixels=i,n._length=t-e},afterUpdate:function(){W.callback(this.options.afterUpdate,[this])},beforeSetDimensions:function(){W.callback(this.options.beforeSetDimensions,[this])},setDimensions:function(){var e=this;e.isHorizontal()?(e.width=e.maxWidth,e.left=0,e.right=e.width):(e.height=e.maxHeight,e.top=0,e.bottom=e.height),e.paddingLeft=0,e.paddingTop=0,e.paddingRight=0,e.paddingBottom=0},afterSetDimensions:function(){W.callback(this.options.afterSetDimensions,[this])},beforeDataLimits:function(){W.callback(this.options.beforeDataLimits,[this])},determineDataLimits:W.noop,afterDataLimits:function(){W.callback(this.options.afterDataLimits,[this])},beforeBuildTicks:function(){W.callback(this.options.beforeBuildTicks,[this])},buildTicks:W.noop,afterBuildTicks:function(e){var t=this;return an(e)&&e.length?W.callback(t.options.afterBuildTicks,[t,e]):(t.ticks=W.callback(t.options.afterBuildTicks,[t,t.ticks])||t.ticks,e)},beforeTickToLabelConversion:function(){W.callback(this.options.beforeTickToLabelConversion,[this])},convertTicksToLabels:function(){var e=this.options.ticks;this.ticks=this.ticks.map(e.userCallback||e.callback,this)},afterTickToLabelConversion:function(){W.callback(this.options.afterTickToLabelConversion,[this])},beforeCalculateTickRotation:function(){W.callback(this.options.beforeCalculateTickRotation,[this])},calculateTickRotation:function(){var e,t,n,i,r,a,o,s=this,l=s.options,c=l.ticks,d=s.getTicks().length,u=c.minRotation||0,h=c.maxRotation,f=u;!s._isVisible()||!c.display||h<=u||d<=1||!s.isHorizontal()?s.labelRotation=u:(t=(e=s._getLabelSizes()).widest.width,n=e.highest.height-e.highest.offset,i=Math.min(s.maxWidth,s.chart.width-t),(r=l.offset?s.maxWidth/d:i/(d-1))<t+6&&(r=i/(d-(l.offset?.5:1)),a=s.maxHeight-un(l.gridLines)-c.padding-hn(l.scaleLabel),o=Math.sqrt(t*t+n*n),f=W.toDegrees(Math.min(Math.asin(Math.min((e.highest.height+6)/r,1)),Math.asin(Math.min(a/o,1))-Math.asin(n/o))),f=Math.max(u,Math.min(h,f))),s.labelRotation=f)},afterCalculateTickRotation:function(){W.callback(this.options.afterCalculateTickRotation,[this])},beforeFit:function(){W.callback(this.options.beforeFit,[this])},fit:function(){var e=this,t=e.minSize={width:0,height:0},n=e.chart,i=e.options,r=i.ticks,a=i.scaleLabel,o=i.gridLines,s=e._isVisible(),l="bottom"===i.position,c=e.isHorizontal();if(c?t.width=e.maxWidth:s&&(t.width=un(o)+hn(a)),c?s&&(t.height=un(o)+hn(a)):t.height=e.maxHeight,r.display&&s){var d=gn(r),u=e._getLabelSizes(),h=u.first,f=u.last,g=u.widest,p=u.highest,v=.4*d.minor.lineHeight,m=r.padding;if(c){var y=0!==e.labelRotation,b=W.toRadians(e.labelRotation),x=Math.cos(b),M=Math.sin(b),w=M*g.width+x*(p.height-(y?p.offset:0))+(y?0:v);t.height=Math.min(e.maxHeight,t.height+w+m);var _,S,C=e.getPixelForTick(0)-e.left,k=e.right-e.getPixelForTick(e.getTicks().length-1);S=y?(_=l?x*h.width+M*h.offset:M*(h.height-h.offset),l?M*(f.height-f.offset):x*f.width+M*f.offset):(_=h.width/2,f.width/2),e.paddingLeft=Math.max((_-C)*e.width/(e.width-C),0)+3,e.paddingRight=Math.max((S-k)*e.width/(e.width-k),0)+3}else{var T=r.mirror?0:g.width+m+v;t.width=Math.min(e.maxWidth,t.width+T),e.paddingTop=h.height/2,e.paddingBottom=f.height/2}}e.handleMargins(),c?(e.width=e._length=n.width-e.margins.left-e.margins.right,e.height=t.height):(e.width=t.width,e.height=e._length=n.height-e.margins.top-e.margins.bottom)},handleMargins:function(){var e=this;e.margins&&(e.margins.left=Math.max(e.paddingLeft,e.margins.left),e.margins.top=Math.max(e.paddingTop,e.margins.top),e.margins.right=Math.max(e.paddingRight,e.margins.right),e.margins.bottom=Math.max(e.paddingBottom,e.margins.bottom))},afterFit:function(){W.callback(this.options.afterFit,[this])},isHorizontal:function(){var e=this.options.position;return"top"===e||"bottom"===e},isFullWidth:function(){return this.options.fullWidth},getRightValue:function(e){if(on(e))return NaN;if(("number"==typeof e||e instanceof Number)&&!isFinite(e))return NaN;if(e)if(this.isHorizontal()){if(void 0!==e.x)return this.getRightValue(e.x)}else if(void 0!==e.y)return this.getRightValue(e.y);return e},_convertTicksToLabels:function(e){var t,n,i,r=this;for(r.ticks=e.map(function(e){return e.value}),r.beforeTickToLabelConversion(),t=r.convertTicksToLabels(e)||r.ticks,r.afterTickToLabelConversion(),n=0,i=e.length;n<i;++n)e[n].label=t[n];return t},_getLabelSizes:function(){var e=this,t=e._labelSizes;return t||(e._labelSizes=t=dn(e.ctx,gn(e.options.ticks),e.getTicks(),e.longestTextCache),e.longestLabelWidth=t.widest.width),t},_parseValue:function(e){var t,n,i,r;return r=an(e)?(t=+this.getRightValue(e[0]),n=+this.getRightValue(e[1]),i=Math.min(t,n),Math.max(t,n)):(t=void 0,i=n=e=+this.getRightValue(e)),{min:i,max:r,start:t,end:n}},_getScaleLabel:function(e){var t=this._parseValue(e);return void 0!==t.start?"["+t.start+", "+t.end+"]":+this.getRightValue(e)},getLabelForIndex:W.noop,getPixelForValue:W.noop,getValueForPixel:W.noop,getPixelForTick:function(e){var t=this.options.offset,n=this._ticks.length,i=1/Math.max(n-(t?0:1),1);return e<0||n-1<e?null:this.getPixelForDecimal(e*i+(t?i/2:0))},getPixelForDecimal:function(e){return this._reversePixels&&(e=1-e),this._startPixel+e*this._length},getDecimalForPixel:function(e){var t=(e-this._startPixel)/this._length;return this._reversePixels?1-t:t},getBasePixel:function(){return this.getPixelForValue(this.getBaseValue())},getBaseValue:function(){var e=this.min,t=this.max;return this.beginAtZero?0:e<0&&t<0?t:0<e&&0<t?e:0},_autoSkip:function(e){var t,n,i,r,a=this.options.ticks,o=this._length,s=a.maxTicksLimit||o/this._tickSize()+1,l=a.major.enabled?function(e){var t,n,i=[];for(t=0,n=e.length;t<n;t++)e[t].major&&i.push(t);return i}(e):[],c=l.length,d=l[0],u=l[c-1];if(s<c)return function(e,t,n){var i,r,a=0,o=t[0];for(n=Math.ceil(n),i=0;i<e.length;i++)r=e[i],i===o?(r._index=i,o=t[++a*n]):delete r.label}(e,l,c/s),pn(e);if(i=function(e,t,n,i){var r,a,o,s,l=function(e){var t,n,i=e.length;if(i<2)return!1;for(n=e[0],t=1;t<i;++t)if(e[t]-e[t-1]!==n)return!1;return n}(e),c=(t.length-1)/i;if(!l)return Math.max(c,1);for(o=0,s=(r=W.math._factorize(l)).length-1;o<s;o++)if(c<(a=r[o]))return a;return Math.max(c,1)}(l,e,0,s),0<c){for(t=0,n=c-1;t<n;t++)vn(e,i,l[t],l[t+1]);return r=1<c?(u-d)/(c-1):null,vn(e,i,W.isNullOrUndef(r)?0:d-r,d),vn(e,i,u,W.isNullOrUndef(r)?e.length:u+r),pn(e)}return vn(e,i),pn(e)},_tickSize:function(){var e=this.options.ticks,t=W.toRadians(this.labelRotation),n=Math.abs(Math.cos(t)),i=Math.abs(Math.sin(t)),r=this._getLabelSizes(),a=e.autoSkipPadding||0,o=r?r.widest.width+a:0,s=r?r.highest.height+a:0;return this.isHorizontal()?o*i<s*n?o/n:s/i:s*i<o*n?s/n:o/i},_isVisible:function(){var e,t,n,i=this.chart,r=this.options.display;if("auto"!==r)return!!r;for(e=0,t=i.data.datasets.length;e<t;++e)if(i.isDatasetVisible(e)&&((n=i.getDatasetMeta(e)).xAxisID===this.id||n.yAxisID===this.id))return!0;return!1},_computeGridLineItems:function(e){function t(e){return P(x,e,E)}var n,i,r,a,o,s,l,c,d,u,h,f,g,p,v,m,y,b=this,x=b.chart,M=b.options,w=M.gridLines,_=M.position,S=w.offsetGridLines,C=b.isHorizontal(),k=b._ticksToDraw,T=k.length+(S?1:0),L=un(w),A=[],E=w.drawBorder?ln(w.lineWidth,0,0):0,O=E/2,P=W._alignPixel;for("top"===_?(n=t(b.bottom),l=b.bottom-L,d=n-O,h=t(e.top)+O,g=e.bottom):"bottom"===_?(n=t(b.top),h=e.top,g=t(e.bottom)-O,l=n+O,d=b.top+L):"left"===_?(n=t(b.right),s=b.right-L,c=n-O,u=t(e.left)+O,f=e.right):(n=t(b.left),u=e.left,f=t(e.right)-O,s=n+O,c=b.left+L),i=0;i<T;++i)r=k[i]||{},on(r.label)&&i<k.length||(y=i===b.zeroLineIndex&&M.offset===S?(p=w.zeroLineWidth,v=w.zeroLineColor,m=w.zeroLineBorderDash||[],w.zeroLineBorderDashOffset||0):(p=ln(w.lineWidth,i,1),v=ln(w.color,i,"rgba(0,0,0,0.1)"),m=w.borderDash||[],w.borderDashOffset||0),void 0!==(a=cn(b,r._index||i,S))&&(o=P(x,a,p),C?s=c=u=f=o:l=d=h=g=o,A.push({tx1:s,ty1:l,tx2:c,ty2:d,x1:u,y1:h,x2:f,y2:g,width:p,color:v,borderDash:m,borderDashOffset:y})));return A.ticksLength=T,A.borderValue=n,A},_computeLabelItems:function(){var e,t,n,i,r,a,o,s,l,c,d,u,h=this,f=h.options,g=f.ticks,p=f.position,v=g.mirror,m=h.isHorizontal(),y=h._ticksToDraw,b=gn(g),x=g.padding,M=un(f.gridLines),w=-W.toRadians(h.labelRotation),_=[];for(o="top"===p?(a=h.bottom-M-x,w?"left":"center"):"bottom"===p?(a=h.top+M+x,w?"right":"center"):"left"===p?(r=h.right-(v?0:M)-x,v?"left":"right"):(r=h.left+(v?0:M)+x,v?"right":"left"),e=0,t=y.length;e<t;++e)i=(n=y[e]).label,on(i)||(s=h.getPixelForTick(n._index||e)+g.labelOffset,c=(l=n.major?b.major:b.minor).lineHeight,d=an(i)?i.length:1,u=m?(r=s,"top"===p?((w?1:.5)-d)*c:(w?0:.5)*c):(a=s,(1-d)*c/2),_.push({x:r,y:a,rotation:w,label:i,font:l,textOffset:u,textAlign:o}));return _},_drawGrid:function(e){var t=this,n=t.options.gridLines;if(n.display){var i,r,a,o,s,l=t.ctx,c=t.chart,d=W._alignPixel,u=n.drawBorder?ln(n.lineWidth,0,0):0,h=t._gridLineItems||(t._gridLineItems=t._computeGridLineItems(e));for(a=0,o=h.length;a<o;++a)i=(s=h[a]).width,r=s.color,i&&r&&(l.save(),l.lineWidth=i,l.strokeStyle=r,l.setLineDash&&(l.setLineDash(s.borderDash),l.lineDashOffset=s.borderDashOffset),l.beginPath(),n.drawTicks&&(l.moveTo(s.tx1,s.ty1),l.lineTo(s.tx2,s.ty2)),n.drawOnChartArea&&(l.moveTo(s.x1,s.y1),l.lineTo(s.x2,s.y2)),l.stroke(),l.restore());if(u){var f,g,p,v,m=u,y=ln(n.lineWidth,h.ticksLength-1,1),b=h.borderValue;t.isHorizontal()?(f=d(c,t.left,m)-m/2,g=d(c,t.right,y)+y/2,p=v=b):(p=d(c,t.top,m)-m/2,v=d(c,t.bottom,y)+y/2,f=g=b),l.lineWidth=u,l.strokeStyle=ln(n.color,0),l.beginPath(),l.moveTo(f,p),l.lineTo(g,v),l.stroke()}}},_drawLabels:function(){var e=this;if(e.options.ticks.display){var t,n,i,r,a,o,s,l,c=e.ctx,d=e._labelItems||(e._labelItems=e._computeLabelItems());for(t=0,i=d.length;t<i;++t){if(o=(a=d[t]).font,c.save(),c.translate(a.x,a.y),c.rotate(a.rotation),c.font=o.string,c.fillStyle=o.color,c.textBaseline="middle",c.textAlign=a.textAlign,s=a.label,l=a.textOffset,an(s))for(n=0,r=s.length;n<r;++n)c.fillText(""+s[n],0,l),l+=o.lineHeight;else c.fillText(s,0,l);c.restore()}}},_drawTitle:function(){var e=this,t=e.ctx,n=e.options,i=n.scaleLabel;if(i.display){var r,a,o=sn(i.fontColor,B.global.defaultFontColor),s=W.options._parseFont(i),l=W.options.toPadding(i.padding),c=s.lineHeight/2,d=n.position,u=0;if(e.isHorizontal())r=e.left+e.width/2,a="bottom"===d?e.bottom-c-l.bottom:e.top+c+l.top;else{var h="left"===d;r=h?e.left+c+l.top:e.right-c-l.top,a=e.top+e.height/2,u=h?-.5*Math.PI:.5*Math.PI}t.save(),t.translate(r,a),t.rotate(u),t.textAlign="center",t.textBaseline="middle",t.fillStyle=o,t.font=s.string,t.fillText(i.labelString,0,0),t.restore()}},draw:function(e){this._isVisible()&&(this._drawGrid(e),this._drawTitle(),this._drawLabels())},_layers:function(){var e=this,t=e.options,n=t.ticks&&t.ticks.z||0,i=t.gridLines&&t.gridLines.z||0;return e._isVisible()&&n!==i&&e.draw===e._draw?[{z:i,draw:function(){e._drawGrid.apply(e,arguments),e._drawTitle.apply(e,arguments)}},{z:n,draw:function(){e._drawLabels.apply(e,arguments)}}]:[{z:n,draw:function(){e.draw.apply(e,arguments)}}]},_getMatchingVisibleMetas:function(t){var n=this,i=n.isHorizontal();return n.chart._getSortedVisibleDatasetMetas().filter(function(e){return(!t||e.type===t)&&(i?e.xAxisID===n.id:e.yAxisID===n.id)})}});mn.prototype._draw=mn.prototype.draw;var yn=mn,bn=W.isNullOrUndef,xn=yn.extend({determineDataLimits:function(){var e,t=this,n=t._getLabels(),i=t.options.ticks,r=i.min,a=i.max,o=0,s=n.length-1;void 0!==r&&0<=(e=n.indexOf(r))&&(o=e),void 0!==a&&0<=(e=n.indexOf(a))&&(s=e),t.minIndex=o,t.maxIndex=s,t.min=n[o],t.max=n[s]},buildTicks:function(){var e=this._getLabels(),t=this.minIndex,n=this.maxIndex;this.ticks=0===t&&n===e.length-1?e:e.slice(t,n+1)},getLabelForIndex:function(e,t){var n=this.chart;return n.getDatasetMeta(t).controller._getValueScaleId()===this.id?this.getRightValue(n.data.datasets[t].data[e]):this._getLabels()[e]},_configure:function(){var e=this,t=e.options.offset,n=e.ticks;yn.prototype._configure.call(e),e.isHorizontal()||(e._reversePixels=!e._reversePixels),n&&(e._startValue=e.minIndex-(t?.5:0),e._valueRange=Math.max(n.length-(t?0:1),1))},getPixelForValue:function(e,t,n){var i,r,a,o=this;return bn(t)||bn(n)||(e=o.chart.data.datasets[n].data[t]),bn(e)||(i=o.isHorizontal()?e.x:e.y),(void 0!==i||void 0!==e&&isNaN(t))&&(r=o._getLabels(),e=W.valueOrDefault(i,e),t=-1!==(a=r.indexOf(e))?a:t,isNaN(t)&&(t=e)),o.getPixelForDecimal((t-o._startValue)/o._valueRange)},getPixelForTick:function(e){var t=this.ticks;return e<0||e>t.length-1?null:this.getPixelForValue(t[e],e+this.minIndex)},getValueForPixel:function(e){var t=Math.round(this._startValue+this.getDecimalForPixel(e)*this._valueRange);return Math.min(Math.max(t,0),this.ticks.length-1)},getBasePixel:function(){return this.bottom}}),Mn={position:"bottom"};xn._defaults=Mn;var wn=W.noop,_n=W.isNullOrUndef;var Sn=yn.extend({getRightValue:function(e){return"string"==typeof e?+e:yn.prototype.getRightValue.call(this,e)},handleTickRangeOptions:function(){var e=this,t=e.options.ticks;if(t.beginAtZero){var n=W.sign(e.min),i=W.sign(e.max);n<0&&i<0?e.max=0:0<n&&0<i&&(e.min=0)}var r=void 0!==t.min||void 0!==t.suggestedMin,a=void 0!==t.max||void 0!==t.suggestedMax;void 0!==t.min?e.min=t.min:void 0!==t.suggestedMin&&(null===e.min?e.min=t.suggestedMin:e.min=Math.min(e.min,t.suggestedMin)),void 0!==t.max?e.max=t.max:void 0!==t.suggestedMax&&(null===e.max?e.max=t.suggestedMax:e.max=Math.max(e.max,t.suggestedMax)),r!=a&&e.min>=e.max&&(r?e.max=e.min+1:e.min=e.max-1),e.min===e.max&&(e.max++,t.beginAtZero||e.min--)},getTickLimit:function(){var e,t=this.options.ticks,n=t.stepSize,i=t.maxTicksLimit;return n?e=Math.ceil(this.max/n)-Math.floor(this.min/n)+1:(e=this._computeTickLimit(),i=i||11),i&&(e=Math.min(i,e)),e},_computeTickLimit:function(){return Number.POSITIVE_INFINITY},handleDirectionalChanges:wn,buildTicks:function(){var e=this,t=e.options.ticks,n=e.getTickLimit(),i={maxTicks:n=Math.max(2,n),min:t.min,max:t.max,precision:t.precision,stepSize:W.valueOrDefault(t.fixedStepSize,t.stepSize)},r=e.ticks=function(e,t){var n,i,r,a,o=[],s=e.stepSize,l=s||1,c=e.maxTicks-1,d=e.min,u=e.max,h=e.precision,f=t.min,g=t.max,p=W.niceNum((g-f)/c/l)*l;if(p<1e-14&&_n(d)&&_n(u))return[f,g];c<(a=Math.ceil(g/p)-Math.floor(f/p))&&(p=W.niceNum(a*p/c/l)*l),s||_n(h)?n=Math.pow(10,W._decimalPlaces(p)):(n=Math.pow(10,h),p=Math.ceil(p*n)/n),i=Math.floor(f/p)*p,r=Math.ceil(g/p)*p,s&&(!_n(d)&&W.almostWhole(d/p,p/1e3)&&(i=d),!_n(u)&&W.almostWhole(u/p,p/1e3)&&(r=u)),a=(r-i)/p,a=W.almostEquals(a,Math.round(a),p/1e3)?Math.round(a):Math.ceil(a),i=Math.round(i*n)/n,r=Math.round(r*n)/n,o.push(_n(d)?i:d);for(var v=1;v<a;++v)o.push(Math.round((i+v*p)*n)/n);return o.push(_n(u)?r:u),o}(i,e);e.handleDirectionalChanges(),e.max=W.max(r),e.min=W.min(r),t.reverse?(r.reverse(),e.start=e.max,e.end=e.min):(e.start=e.min,e.end=e.max)},convertTicksToLabels:function(){var e=this;e.ticksAsNumbers=e.ticks.slice(),e.zeroLineIndex=e.ticks.indexOf(0),yn.prototype.convertTicksToLabels.call(e)},_configure:function(){var e,t=this,n=t.getTicks(),i=t.min,r=t.max;yn.prototype._configure.call(t),t.options.offset&&n.length&&(i-=e=(r-i)/Math.max(n.length-1,1)/2,r+=e),t._startValue=i,t._endValue=r,t._valueRange=r-i}}),Cn={position:"left",ticks:{callback:rn.formatters.linear}};function kn(e,t,n,i){var r,a,o=e.options,s=function(e,t,n){var i=[n.type,void 0===t&&void 0===n.stack?n.index:"",n.stack].join(".");return void 0===e[i]&&(e[i]={pos:[],neg:[]}),e[i]}(t,o.stacked,n),l=s.pos,c=s.neg,d=i.length;for(r=0;r<d;++r)a=e._parseValue(i[r]),isNaN(a.min)||isNaN(a.max)||n.data[r].hidden||(l[r]=l[r]||0,c[r]=c[r]||0,o.relativePoints?l[r]=100:a.min<0||a.max<0?c[r]+=a.min:l[r]+=a.max)}function Tn(e,t,n){var i,r,a=n.length;for(i=0;i<a;++i)r=e._parseValue(n[i]),isNaN(r.min)||isNaN(r.max)||t.data[i].hidden||(e.min=Math.min(e.min,r.min),e.max=Math.max(e.max,r.max))}var Ln=Sn.extend({determineDataLimits:function(){var e,t,n,i,r=this,a=r.options,o=r.chart.data.datasets,s=r._getMatchingVisibleMetas(),l=a.stacked,c={},d=s.length;if(r.min=Number.POSITIVE_INFINITY,r.max=Number.NEGATIVE_INFINITY,void 0===l)for(e=0;!l&&e<d;++e)l=void 0!==(t=s[e]).stack;for(e=0;e<d;++e)n=o[(t=s[e]).index].data,l?kn(r,c,t,n):Tn(r,t,n);W.each(c,function(e){i=e.pos.concat(e.neg),r.min=Math.min(r.min,W.min(i)),r.max=Math.max(r.max,W.max(i))}),r.min=W.isFinite(r.min)&&!isNaN(r.min)?r.min:0,r.max=W.isFinite(r.max)&&!isNaN(r.max)?r.max:1,r.handleTickRangeOptions()},_computeTickLimit:function(){var e;return this.isHorizontal()?Math.ceil(this.width/40):(e=W.options._parseFont(this.options.ticks),Math.ceil(this.height/e.lineHeight))},handleDirectionalChanges:function(){this.isHorizontal()||this.ticks.reverse()},getLabelForIndex:function(e,t){return this._getScaleLabel(this.chart.data.datasets[t].data[e])},getPixelForValue:function(e){return this.getPixelForDecimal((+this.getRightValue(e)-this._startValue)/this._valueRange)},getValueForPixel:function(e){return this._startValue+this.getDecimalForPixel(e)*this._valueRange},getPixelForTick:function(e){var t=this.ticksAsNumbers;return e<0||e>t.length-1?null:this.getPixelForValue(t[e])}}),An=Cn;Ln._defaults=An;var En=W.valueOrDefault,On=W.math.log10;var Pn={position:"left",ticks:{callback:rn.formatters.logarithmic}};function Dn(e,t){return W.isFinite(e)&&0<=e?e:t}var Vn=yn.extend({determineDataLimits:function(){var e,t,n,i,r,a,o=this,s=o.options,l=o.chart,c=l.data.datasets,d=o.isHorizontal();function u(e){return d?e.xAxisID===o.id:e.yAxisID===o.id}o.min=Number.POSITIVE_INFINITY,o.max=Number.NEGATIVE_INFINITY,o.minNotZero=Number.POSITIVE_INFINITY;var h=s.stacked;if(void 0===h)for(e=0;e<c.length;e++)if(t=l.getDatasetMeta(e),l.isDatasetVisible(e)&&u(t)&&void 0!==t.stack){h=!0;break}if(s.stacked||h){var f={};for(e=0;e<c.length;e++){var g=[(t=l.getDatasetMeta(e)).type,void 0===s.stacked&&void 0===t.stack?e:"",t.stack].join(".");if(l.isDatasetVisible(e)&&u(t))for(void 0===f[g]&&(f[g]=[]),r=0,a=(i=c[e].data).length;r<a;r++){var p=f[g];n=o._parseValue(i[r]),isNaN(n.min)||isNaN(n.max)||t.data[r].hidden||n.min<0||n.max<0||(p[r]=p[r]||0,p[r]+=n.max)}}W.each(f,function(e){if(0<e.length){var t=W.min(e),n=W.max(e);o.min=Math.min(o.min,t),o.max=Math.max(o.max,n)}})}else for(e=0;e<c.length;e++)if(t=l.getDatasetMeta(e),l.isDatasetVisible(e)&&u(t))for(r=0,a=(i=c[e].data).length;r<a;r++)n=o._parseValue(i[r]),isNaN(n.min)||isNaN(n.max)||t.data[r].hidden||n.min<0||n.max<0||(o.min=Math.min(n.min,o.min),o.max=Math.max(n.max,o.max),0!==n.min&&(o.minNotZero=Math.min(n.min,o.minNotZero)));o.min=W.isFinite(o.min)?o.min:null,o.max=W.isFinite(o.max)?o.max:null,o.minNotZero=W.isFinite(o.minNotZero)?o.minNotZero:null,this.handleTickRangeOptions()},handleTickRangeOptions:function(){var e=this,t=e.options.ticks;e.min=Dn(t.min,e.min),e.max=Dn(t.max,e.max),e.min===e.max&&(0!==e.min&&null!==e.min?(e.min=Math.pow(10,Math.floor(On(e.min))-1),e.max=Math.pow(10,Math.floor(On(e.max))+1)):(e.min=1,e.max=10)),null===e.min&&(e.min=Math.pow(10,Math.floor(On(e.max))-1)),null===e.max&&(e.max=0!==e.min?Math.pow(10,Math.floor(On(e.min))+1):10),null===e.minNotZero&&(0<e.min?e.minNotZero=e.min:e.max<1?e.minNotZero=Math.pow(10,Math.floor(On(e.max))):e.minNotZero=1)},buildTicks:function(){var e=this,t=e.options.ticks,n=!e.isHorizontal(),i={min:Dn(t.min),max:Dn(t.max)},r=e.ticks=function(e,t){var n,i,r=[],a=En(e.min,Math.pow(10,Math.floor(On(t.min)))),o=Math.floor(On(t.max)),s=Math.ceil(t.max/Math.pow(10,o));0===a?(n=Math.floor(On(t.minNotZero)),i=Math.floor(t.minNotZero/Math.pow(10,n)),r.push(a),a=i*Math.pow(10,n)):(n=Math.floor(On(a)),i=Math.floor(a/Math.pow(10,n)));for(var l=n<0?Math.pow(10,Math.abs(n)):1;r.push(a),10===++i&&(i=1,l=0<=++n?1:l),a=Math.round(i*Math.pow(10,n)*l)/l,n<o||n===o&&i<s;);var c=En(e.max,a);return r.push(c),r}(i,e);e.max=W.max(r),e.min=W.min(r),t.reverse?(n=!n,e.start=e.max,e.end=e.min):(e.start=e.min,e.end=e.max),n&&r.reverse()},convertTicksToLabels:function(){this.tickValues=this.ticks.slice(),yn.prototype.convertTicksToLabels.call(this)},getLabelForIndex:function(e,t){return this._getScaleLabel(this.chart.data.datasets[t].data[e])},getPixelForTick:function(e){var t=this.tickValues;return e<0||e>t.length-1?null:this.getPixelForValue(t[e])},_getFirstTickValue:function(e){var t=Math.floor(On(e));return Math.floor(e/Math.pow(10,t))*Math.pow(10,t)},_configure:function(){var e=this,t=e.min,n=0;yn.prototype._configure.call(e),0===t&&(t=e._getFirstTickValue(e.minNotZero),n=En(e.options.ticks.fontSize,B.global.defaultFontSize)/e._length),e._startValue=On(t),e._valueOffset=n,e._valueRange=(On(e.max)-On(t))/(1-n)},getPixelForValue:function(e){var t=this,n=0;return(e=+t.getRightValue(e))>t.min&&0<e&&(n=(On(e)-t._startValue)/t._valueRange+t._valueOffset),t.getPixelForDecimal(n)},getValueForPixel:function(e){var t=this,n=t.getDecimalForPixel(e);return 0===n&&0===t.min?0:Math.pow(10,t._startValue+(n-t._valueOffset)*t._valueRange)}}),Rn=Pn;Vn._defaults=Rn;var zn=W.valueOrDefault,Bn=W.valueAtIndexOrDefault,Hn=W.options.resolve,Nn={display:!0,animate:!0,position:"chartArea",angleLines:{display:!0,color:"rgba(0,0,0,0.1)",lineWidth:1,borderDash:[],borderDashOffset:0},gridLines:{circular:!1},ticks:{showLabelBackdrop:!0,backdropColor:"rgba(255,255,255,0.75)",backdropPaddingY:2,backdropPaddingX:2,callback:rn.formatters.linear},pointLabels:{display:!0,fontSize:10,callback:function(e){return e}}};function In(e){var t=e.ticks;return t.display&&e.display?zn(t.fontSize,B.global.defaultFontSize)+2*t.backdropPaddingY:0}function Fn(e,t,n,i,r){return e===i||e===r?{start:t-n/2,end:t+n/2}:e<i||r<e?{start:t-n,end:t}:{start:t,end:t+n}}function Wn(e,t,n,i){var r,a,o=n.y+i/2;if(W.isArray(t))for(r=0,a=t.length;r<a;++r)e.fillText(t[r],n.x,o),o+=i;else e.fillText(t,n.x,o)}function jn(e){return W.isNumber(e)?e:0}var Yn=Sn.extend({setDimensions:function(){var e=this;e.width=e.maxWidth,e.height=e.maxHeight,e.paddingTop=In(e.options)/2,e.xCenter=Math.floor(e.width/2),e.yCenter=Math.floor((e.height-e.paddingTop)/2),e.drawingArea=Math.min(e.height-e.paddingTop,e.width)/2},determineDataLimits:function(){var r=this,n=r.chart,a=Number.POSITIVE_INFINITY,o=Number.NEGATIVE_INFINITY;W.each(n.data.datasets,function(e,t){if(n.isDatasetVisible(t)){var i=n.getDatasetMeta(t);W.each(e.data,function(e,t){var n=+r.getRightValue(e);isNaN(n)||i.data[t].hidden||(a=Math.min(n,a),o=Math.max(n,o))})}}),r.min=a===Number.POSITIVE_INFINITY?0:a,r.max=o===Number.NEGATIVE_INFINITY?0:o,r.handleTickRangeOptions()},_computeTickLimit:function(){return Math.ceil(this.drawingArea/In(this.options))},convertTicksToLabels:function(){var t=this;Sn.prototype.convertTicksToLabels.call(t),t.pointLabels=t.chart.data.labels.map(function(){var e=W.callback(t.options.pointLabels.callback,arguments,t);return e||0===e?e:""})},getLabelForIndex:function(e,t){return+this.getRightValue(this.chart.data.datasets[t].data[e])},fit:function(){var e=this.options;e.display&&e.pointLabels.display?function(e){var t,n,i,r=W.options._parseFont(e.options.pointLabels),a={l:0,r:e.width,t:0,b:e.height-e.paddingTop},o={};e.ctx.font=r.string,e._pointLabelSizes=[];var s,l,c,d=e.chart.data.labels.length;for(t=0;t<d;t++){i=e.getPointPosition(t,e.drawingArea+5),s=e.ctx,l=r.lineHeight,c=e.pointLabels[t],n=W.isArray(c)?{w:W.longestText(s,s.font,c),h:c.length*l}:{w:s.measureText(c).width,h:l},e._pointLabelSizes[t]=n;var u=e.getIndexAngle(t),h=W.toDegrees(u)%360,f=Fn(h,i.x,n.w,0,180),g=Fn(h,i.y,n.h,90,270);f.start<a.l&&(a.l=f.start,o.l=u),f.end>a.r&&(a.r=f.end,o.r=u),g.start<a.t&&(a.t=g.start,o.t=u),g.end>a.b&&(a.b=g.end,o.b=u)}e.setReductions(e.drawingArea,a,o)}(this):this.setCenterPoint(0,0,0,0)},setReductions:function(e,t,n){var i=this,r=t.l/Math.sin(n.l),a=Math.max(t.r-i.width,0)/Math.sin(n.r),o=-t.t/Math.cos(n.t),s=-Math.max(t.b-(i.height-i.paddingTop),0)/Math.cos(n.b);r=jn(r),a=jn(a),o=jn(o),s=jn(s),i.drawingArea=Math.min(Math.floor(e-(r+a)/2),Math.floor(e-(o+s)/2)),i.setCenterPoint(r,a,o,s)},setCenterPoint:function(e,t,n,i){var r=this,a=r.width-t-r.drawingArea,o=e+r.drawingArea,s=n+r.drawingArea,l=r.height-r.paddingTop-i-r.drawingArea;r.xCenter=Math.floor((o+a)/2+r.left),r.yCenter=Math.floor((s+l)/2+r.top+r.paddingTop)},getIndexAngle:function(e){var t=this.chart,n=(e*(360/t.data.labels.length)+((t.options||{}).startAngle||0))%360;return(n<0?360+n:n)*Math.PI*2/360},getDistanceFromCenterForValue:function(e){var t=this;if(W.isNullOrUndef(e))return NaN;var n=t.drawingArea/(t.max-t.min);return t.options.ticks.reverse?(t.max-e)*n:(e-t.min)*n},getPointPosition:function(e,t){var n=this.getIndexAngle(e)-Math.PI/2;return{x:Math.cos(n)*t+this.xCenter,y:Math.sin(n)*t+this.yCenter}},getPointPositionForValue:function(e,t){return this.getPointPosition(e,this.getDistanceFromCenterForValue(t))},getBasePosition:function(e){var t=this.min,n=this.max;return this.getPointPositionForValue(e||0,this.beginAtZero?0:t<0&&n<0?n:0<t&&0<n?t:0)},_drawGrid:function(){var e,n,t,i=this,r=i.ctx,a=i.options,o=a.gridLines,s=a.angleLines,l=zn(s.lineWidth,o.lineWidth),c=zn(s.color,o.color);if(a.pointLabels.display&&function(e){var t,n,i,r,a=e.ctx,o=e.options,s=o.pointLabels,l=In(o),c=e.getDistanceFromCenterForValue(o.ticks.reverse?e.min:e.max),d=W.options._parseFont(s);a.save(),a.font=d.string,a.textBaseline="middle";for(var u=e.chart.data.labels.length-1;0<=u;u--){var h=0===u?l/2:0,f=e.getPointPosition(u,c+h+5),g=Bn(s.fontColor,u,B.global.defaultFontColor);a.fillStyle=g;var p=e.getIndexAngle(u),v=W.toDegrees(p);a.textAlign=0===(r=v)||180===r?"center":r<180?"left":"right",t=v,n=e._pointLabelSizes[u],i=f,90===t||270===t?i.y-=n.h/2:(270<t||t<90)&&(i.y-=n.h),Wn(a,e.pointLabels[u],f,d.lineHeight)}a.restore()}(i),o.display&&W.each(i.ticks,function(e,t){0!==t&&(n=i.getDistanceFromCenterForValue(i.ticksAsNumbers[t]),function(e,t,n,i){var r,a=e.ctx,o=t.circular,s=e.chart.data.labels.length,l=Bn(t.color,i-1),c=Bn(t.lineWidth,i-1);if((o||s)&&l&&c){if(a.save(),a.strokeStyle=l,a.lineWidth=c,a.setLineDash&&(a.setLineDash(t.borderDash||[]),a.lineDashOffset=t.borderDashOffset||0),a.beginPath(),o)a.arc(e.xCenter,e.yCenter,n,0,2*Math.PI);else{r=e.getPointPosition(0,n),a.moveTo(r.x,r.y);for(var d=1;d<s;d++)r=e.getPointPosition(d,n),a.lineTo(r.x,r.y)}a.closePath(),a.stroke(),a.restore()}}(i,o,n,t))}),s.display&&l&&c){for(r.save(),r.lineWidth=l,r.strokeStyle=c,r.setLineDash&&(r.setLineDash(Hn([s.borderDash,o.borderDash,[]])),r.lineDashOffset=Hn([s.borderDashOffset,o.borderDashOffset,0])),e=i.chart.data.labels.length-1;0<=e;e--)n=i.getDistanceFromCenterForValue(a.ticks.reverse?i.min:i.max),t=i.getPointPosition(e,n),r.beginPath(),r.moveTo(i.xCenter,i.yCenter),r.lineTo(t.x,t.y),r.stroke();r.restore()}},_drawLabels:function(){var n=this,i=n.ctx,r=n.options.ticks;if(r.display){var a,o,e=n.getIndexAngle(0),s=W.options._parseFont(r),l=zn(r.fontColor,B.global.defaultFontColor);i.save(),i.font=s.string,i.translate(n.xCenter,n.yCenter),i.rotate(e),i.textAlign="center",i.textBaseline="middle",W.each(n.ticks,function(e,t){0===t&&!r.reverse||(a=n.getDistanceFromCenterForValue(n.ticksAsNumbers[t]),r.showLabelBackdrop&&(o=i.measureText(e).width,i.fillStyle=r.backdropColor,i.fillRect(-o/2-r.backdropPaddingX,-a-s.size/2-r.backdropPaddingY,o+2*r.backdropPaddingX,s.size+2*r.backdropPaddingY)),i.fillStyle=l,i.fillText(e,0,-a))}),i.restore()}},_drawTitle:W.noop}),Gn=Nn;Yn._defaults=Gn;var Un=W._deprecated,qn=W.options.resolve,Xn=W.valueOrDefault,$n=Number.MIN_SAFE_INTEGER||-9007199254740991,Zn=Number.MAX_SAFE_INTEGER||9007199254740991,Kn={millisecond:{common:!0,size:1,steps:1e3},second:{common:!0,size:1e3,steps:60},minute:{common:!0,size:6e4,steps:60},hour:{common:!0,size:36e5,steps:24},day:{common:!0,size:864e5,steps:30},week:{common:!1,size:6048e5,steps:4},month:{common:!0,size:2628e6,steps:12},quarter:{common:!1,size:7884e6,steps:4},year:{common:!0,size:3154e7}},Jn=Object.keys(Kn);function Qn(e,t){return e-t}function ei(e){return W.valueOrDefault(e.time.min,e.ticks.min)}function ti(e){return W.valueOrDefault(e.time.max,e.ticks.max)}function ni(e,t,n,i){var r=function(e,t,n){for(var i,r,a,o=0,s=e.length-1;0<=o&&o<=s;){if(r=e[(i=o+s>>1)-1]||null,a=e[i],!r)return{lo:null,hi:a};if(a[t]<n)o=1+i;else{if(!(r[t]>n))return{lo:r,hi:a};s=i-1}}return{lo:a,hi:null}}(e,t,n),a=r.lo?r.hi?r.lo:e[e.length-2]:e[0],o=r.lo?r.hi?r.hi:e[e.length-1]:e[1],s=o[t]-a[t],l=s?(n-a[t])/s:0,c=(o[i]-a[i])*l;return a[i]+c}function ii(e,t){var n=e._adapter,i=e.options.time,r=i.parser,a=r||i.format,o=t;return"function"==typeof r&&(o=r(o)),W.isFinite(o)||(o="string"==typeof a?n.parse(o,a):n.parse(o)),null!==o?+o:(r||"function"!=typeof a||(o=a(t),W.isFinite(o)||(o=n.parse(o))),o)}function ri(e,t){if(W.isNullOrUndef(t))return null;var n=e.options.time,i=ii(e,e.getRightValue(t));return null===i||n.round&&(i=+e._adapter.startOf(i,n.round)),i}function ai(e,t,n,i){var r,a,o,s=Jn.length;for(r=Jn.indexOf(e);r<s-1;++r)if(o=(a=Kn[Jn[r]]).steps?a.steps:Zn,a.common&&Math.ceil((n-t)/(o*a.size))<=i)return Jn[r];return Jn[s-1]}function oi(e,t,n){var i,r,a=[],o={},s=t.length;for(i=0;i<s;++i)o[r=t[i]]=i,a.push({value:r,major:!1});return 0!==s&&n?function(e,t,n,i){var r,a,o=e._adapter,s=+o.startOf(t[0].value,i),l=t[t.length-1].value;for(r=s;r<=l;r=+o.add(r,1,i))0<=(a=n[r])&&(t[a].major=!0);return t}(e,a,o,n):a}var si=yn.extend({initialize:function(){this.mergeTicksOptions(),yn.prototype.initialize.call(this)},update:function(){var e=this.options,t=e.time||(e.time={}),n=this._adapter=new nn._date(e.adapters.date);return Un("time scale",t.format,"time.format","time.parser"),Un("time scale",t.min,"time.min","ticks.min"),Un("time scale",t.max,"time.max","ticks.max"),W.mergeIf(t.displayFormats,n.formats()),yn.prototype.update.apply(this,arguments)},getRightValue:function(e){return e&&void 0!==e.t&&(e=e.t),yn.prototype.getRightValue.call(this,e)},determineDataLimits:function(){var e,t,n,i,r,a,o,s=this,l=s.chart,c=s._adapter,d=s.options,u=d.time.unit||"day",h=Zn,f=$n,g=[],p=[],v=[],m=s._getLabels();for(e=0,n=m.length;e<n;++e)v.push(ri(s,m[e]));for(e=0,n=(l.data.datasets||[]).length;e<n;++e)if(l.isDatasetVisible(e))if(r=l.data.datasets[e].data,W.isObject(r[0]))for(p[e]=[],t=0,i=r.length;t<i;++t)a=ri(s,r[t]),g.push(a),p[e][t]=a;else p[e]=v.slice(0),o||(g=g.concat(v),o=!0);else p[e]=[];v.length&&(h=Math.min(h,v[0]),f=Math.max(f,v[v.length-1])),g.length&&(g=1<n?function(e){var t,n,i,r={},a=[];for(t=0,n=e.length;t<n;++t)r[i=e[t]]||(r[i]=!0,a.push(i));return a}(g).sort(Qn):g.sort(Qn),h=Math.min(h,g[0]),f=Math.max(f,g[g.length-1])),h=ri(s,ei(d))||h,f=ri(s,ti(d))||f,h=h===Zn?+c.startOf(Date.now(),u):h,f=f===$n?+c.endOf(Date.now(),u)+1:f,s.min=Math.min(h,f),s.max=Math.max(h+1,f),s._table=[],s._timestamps={data:g,datasets:p,labels:v}},buildTicks:function(){var e,t,n,i=this,r=i.min,a=i.max,o=i.options,s=o.ticks,l=o.time,c=i._timestamps,d=[],u=i.getLabelCapacity(r),h=s.source,f=o.distribution;for(c="data"===h||"auto"===h&&"series"===f?c.data:"labels"===h?c.labels:function(e,t,n,i){var r,a=e._adapter,o=e.options,s=o.time,l=s.unit||ai(s.minUnit,t,n,i),c=qn([s.stepSize,s.unitStepSize,1]),d="week"===l&&s.isoWeekday,u=t,h=[];if(d&&(u=+a.startOf(u,"isoWeek",d)),u=+a.startOf(u,d?"day":l),a.diff(n,t,l)>1e5*c)throw t+" and "+n+" are too far apart with stepSize of "+c+" "+l;for(r=u;r<n;r=+a.add(r,c,l))h.push(r);return r!==n&&"ticks"!==o.bounds||h.push(r),h}(i,r,a,u),"ticks"===o.bounds&&c.length&&(r=c[0],a=c[c.length-1]),r=ri(i,ei(o))||r,a=ri(i,ti(o))||a,e=0,t=c.length;e<t;++e)r<=(n=c[e])&&n<=a&&d.push(n);return i.min=r,i.max=a,i._unit=l.unit||(s.autoSkip?ai(l.minUnit,i.min,i.max,u):function(e,t,n,i,r){var a,o;for(a=Jn.length-1;a>=Jn.indexOf(n);a--)if(o=Jn[a],Kn[o].common&&e._adapter.diff(r,i,o)>=t-1)return o;return Jn[n?Jn.indexOf(n):0]}(i,d.length,l.minUnit,i.min,i.max)),i._majorUnit=s.major.enabled&&"year"!==i._unit?function(e){for(var t=Jn.indexOf(e)+1,n=Jn.length;t<n;++t)if(Kn[Jn[t]].common)return Jn[t]}(i._unit):void 0,i._table=function(e,t,n,i){if("linear"===i||!e.length)return[{time:t,pos:0},{time:n,pos:1}];var r,a,o,s,l,c=[],d=[t];for(r=0,a=e.length;r<a;++r)t<(s=e[r])&&s<n&&d.push(s);for(d.push(n),r=0,a=d.length;r<a;++r)l=d[r+1],o=d[r-1],s=d[r],void 0!==o&&void 0!==l&&Math.round((l+o)/2)===s||c.push({time:s,pos:r/(a-1)});return c}(i._timestamps.data,r,a,f),i._offsets=function(e,t,n,i,r){var a,o,s=0,l=0;return r.offset&&t.length&&(a=ni(e,"time",t[0],"pos"),s=1===t.length?1-a:(ni(e,"time",t[1],"pos")-a)/2,o=ni(e,"time",t[t.length-1],"pos"),l=1===t.length?o:(o-ni(e,"time",t[t.length-2],"pos"))/2),{start:s,end:l,factor:1/(s+1+l)}}(i._table,d,0,0,o),s.reverse&&d.reverse(),oi(i,d,i._majorUnit)},getLabelForIndex:function(e,t){var n=this,i=n._adapter,r=n.chart.data,a=n.options.time,o=r.labels&&e<r.labels.length?r.labels[e]:"",s=r.datasets[t].data[e];return W.isObject(s)&&(o=n.getRightValue(s)),a.tooltipFormat?i.format(ii(n,o),a.tooltipFormat):"string"==typeof o?o:i.format(ii(n,o),a.displayFormats.datetime)},tickFormatFunction:function(e,t,n,i){var r=this._adapter,a=this.options,o=a.time.displayFormats,s=o[this._unit],l=this._majorUnit,c=o[l],d=n[t],u=a.ticks,h=l&&c&&d&&d.major,f=r.format(e,i||(h?c:s)),g=h?u.major:u.minor,p=qn([g.callback,g.userCallback,u.callback,u.userCallback]);return p?p(f,t,n):f},convertTicksToLabels:function(e){var t,n,i=[];for(t=0,n=e.length;t<n;++t)i.push(this.tickFormatFunction(e[t].value,t,e));return i},getPixelForOffset:function(e){var t=this._offsets,n=ni(this._table,"time",e,"pos");return this.getPixelForDecimal((t.start+n)*t.factor)},getPixelForValue:function(e,t,n){var i=null;if(void 0!==t&&void 0!==n&&(i=this._timestamps.datasets[n][t]),null===i&&(i=ri(this,e)),null!==i)return this.getPixelForOffset(i)},getPixelForTick:function(e){var t=this.getTicks();return 0<=e&&e<t.length?this.getPixelForOffset(t[e].value):null},getValueForPixel:function(e){var t=this._offsets,n=this.getDecimalForPixel(e)/t.factor-t.end,i=ni(this._table,"pos",n,"time");return this._adapter._create(i)},_getLabelSize:function(e){var t=this.options.ticks,n=this.ctx.measureText(e).width,i=W.toRadians(this.isHorizontal()?t.maxRotation:t.minRotation),r=Math.cos(i),a=Math.sin(i),o=Xn(t.fontSize,B.global.defaultFontSize);return{w:n*r+o*a,h:n*a+o*r}},getLabelWidth:function(e){return this._getLabelSize(e).w},getLabelCapacity:function(e){var t=this.options.time,n=t.displayFormats,i=n[t.unit]||n.millisecond,r=this.tickFormatFunction(e,0,oi(this,[e],this._majorUnit),i),a=this._getLabelSize(r),o=Math.floor(this.isHorizontal()?this.width/a.w:this.height/a.h);return this.options.offset&&o--,0<o?o:1}}),li={position:"bottom",distribution:"linear",bounds:"data",adapters:{},time:{parser:!1,unit:!1,round:!1,displayFormat:!1,isoWeekday:!1,minUnit:"millisecond",displayFormats:{}},ticks:{autoSkip:!1,source:"auto",major:{enabled:!1}}};si._defaults=li;var ci={category:xn,linear:Ln,logarithmic:Vn,radialLinear:Yn,time:si},di={datetime:"MMM D, YYYY, h:mm:ss a",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"};nn._date.override("function"==typeof i?{_id:"moment",formats:function(){return di},parse:function(e,t){return"string"==typeof e&&"string"==typeof t?e=i(e,t):e instanceof i||(e=i(e)),e.isValid()?e.valueOf():null},format:function(e,t){return i(e).format(t)},add:function(e,t,n){return i(e).add(t,n).valueOf()},diff:function(e,t,n){return i(e).diff(i(t),n)},startOf:function(e,t,n){return e=i(e),"isoWeek"===t?e.isoWeekday(n).valueOf():e.startOf(t).valueOf()},endOf:function(e,t){return i(e).endOf(t).valueOf()},_create:function(e){return i(e)}}:{}),B._set("global",{plugins:{filler:{propagate:!0}}});var ui={dataset:function(e){var t=e.fill,n=e.chart,i=n.getDatasetMeta(t),r=i&&n.isDatasetVisible(t)&&i.dataset._children||[],a=r.length||0;return a?function(e,t){return t<a&&r[t]._view||null}:null},boundary:function(e){var n=e.boundary,t=n?n.x:null,i=n?n.y:null;return W.isArray(n)?function(e,t){return n[t]}:function(e){return{x:null===t?e.x:t,y:null===i?e.y:i}}}};function hi(e,t,n){var i,r=e._model||{},a=r.fill;if(void 0===a&&(a=!!r.backgroundColor),!1===a||null===a)return!1;if(!0===a)return"origin";if(i=parseFloat(a,10),isFinite(i)&&Math.floor(i)===i)return"-"!==a[0]&&"+"!==a[0]||(i=t+i),!(i===t||i<0||n<=i)&&i;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 fi(e){return(e.el._scale||{}).getPointPositionForValue?function(e){var t,n,i,r,a,o=e.el._scale,s=o.options,l=o.chart.data.labels.length,c=e.fill,d=[];if(!l)return null;for(t=s.ticks.reverse?o.max:o.min,n=s.ticks.reverse?o.min:o.max,i=o.getPointPositionForValue(0,t),r=0;r<l;++r)a="start"===c||"end"===c?o.getPointPositionForValue(r,"start"===c?t:n):o.getBasePosition(r),s.gridLines.circular&&(a.cx=i.x,a.cy=i.y,a.angle=o.getIndexAngle(r)-Math.PI/2),d.push(a);return d}(e):function(e){var t,n=e.el._model||{},i=e.el._scale||{},r=e.fill,a=null;if(isFinite(r))return null;if("start"===r?a=void 0===n.scaleBottom?i.bottom:n.scaleBottom:"end"===r?a=void 0===n.scaleTop?i.top:n.scaleTop:void 0!==n.scaleZero?a=n.scaleZero:i.getBasePixel&&(a=i.getBasePixel()),null!=a){if(void 0!==a.x&&void 0!==a.y)return a;if(W.isFinite(a))return{x:(t=i.isHorizontal())?a:null,y:t?null:a}}return null}(e)}function gi(e,t,n){var i,r=e[t].fill,a=[t];if(!n)return r;for(;!1!==r&&-1===a.indexOf(r);){if(!isFinite(r))return r;if(!(i=e[r]))return!1;if(i.visible)return r;a.push(r),r=i.fill}return!1}function pi(e){return e&&!e.skip}function vi(e,t,n,i,r){var a,o,s,l;if(i&&r){for(e.moveTo(t[0].x,t[0].y),a=1;a<i;++a)W.canvas.lineTo(e,t[a-1],t[a]);if(void 0===n[0].angle)for(e.lineTo(n[r-1].x,n[r-1].y),a=r-1;0<a;--a)W.canvas.lineTo(e,n[a],n[a-1],!0);else for(o=n[0].cx,s=n[0].cy,l=Math.sqrt(Math.pow(n[0].x-o,2)+Math.pow(n[0].y-s,2)),a=r-1;0<a;--a)e.arc(o,s,l,n[a].angle,n[a-1].angle,!0)}}function mi(e,t,n,i,r,a){var o,s,l,c,d,u,h,f,g=t.length,p=i.spanGaps,v=[],m=[],y=0,b=0;for(e.beginPath(),o=0,s=g;o<s;++o)d=n(c=t[l=o%g]._view,l,i),u=pi(c),h=pi(d),a&&void 0===f&&u&&(s=g+(f=o+1)),u&&h?(y=v.push(c),b=m.push(d)):y&&b&&(p?(u&&v.push(c),h&&m.push(d)):(vi(e,v,m,y,b),y=b=0,v=[],m=[]));vi(e,v,m,y,b),e.closePath(),e.fillStyle=r,e.fill()}var yi={id:"filler",afterDatasetsUpdate:function(e,t){var n,i,r,a,o,s,l,c=(e.data.datasets||[]).length,d=t.propagate,u=[];for(i=0;i<c;++i)a=null,(r=(n=e.getDatasetMeta(i)).dataset)&&r._model&&r instanceof we.Line&&(a={visible:e.isDatasetVisible(i),fill:hi(r,i,c),chart:e,el:r}),n.$filler=a,u.push(a);for(i=0;i<c;++i)(a=u[i])&&(a.fill=gi(u,i,d),a.boundary=fi(a),a.mapper=(l=void 0,s=(o=a).fill,!(l="dataset")===s?null:(isFinite(s)||(l="boundary"),ui[l](o))))},beforeDatasetsDraw:function(e){var t,n,i,r,a,o,s,l=e._getSortedVisibleDatasetMetas(),c=e.ctx;for(n=l.length-1;0<=n;--n)(t=l[n].$filler)&&t.visible&&(r=(i=t.el)._view,a=i._children||[],o=t.mapper,s=r.backgroundColor||B.global.defaultColor,o&&s&&a.length&&(W.canvas.clipArea(c,e.chartArea),mi(c,a,o,r,s,i._loop),W.canvas.unclipArea(c)))}},bi=W.rtl.getRtlAdapter,xi=W.noop,Mi=W.valueOrDefault;function wi(e,t){return e.usePointStyle&&e.boxWidth>t?t:e.boxWidth}B._set("global",{legend:{display:!0,position:"top",align:"center",fullWidth:!0,reverse:!1,weight:1e3,onClick:function(e,t){var n=t.datasetIndex,i=this.chart,r=i.getDatasetMeta(n);r.hidden=null===r.hidden?!i.data.datasets[n].hidden:null,i.update()},onHover:null,onLeave:null,labels:{boxWidth:40,padding:10,generateLabels:function(n){var i=n.data.datasets,e=n.options.legend||{},r=e.labels&&e.labels.usePointStyle;return n._getSortedDatasetMetas().map(function(e){var t=e.controller.getStyle(r?0:void 0);return{text:i[e.index].label,fillStyle:t.backgroundColor,hidden:!n.isDatasetVisible(e.index),lineCap:t.borderCapStyle,lineDash:t.borderDash,lineDashOffset:t.borderDashOffset,lineJoin:t.borderJoinStyle,lineWidth:t.borderWidth,strokeStyle:t.borderColor,pointStyle:t.pointStyle,rotation:t.rotation,datasetIndex:e.index}},this)}}},legendCallback:function(e){var t,n,i,r=document.createElement("ul"),a=e.data.datasets;for(r.setAttribute("class",e.id+"-legend"),t=0,n=a.length;t<n;t++)(i=r.appendChild(document.createElement("li"))).appendChild(document.createElement("span")).style.backgroundColor=a[t].backgroundColor,a[t].label&&i.appendChild(document.createTextNode(a[t].label));return r.outerHTML}});var _i=$.extend({initialize:function(e){W.extend(this,e),this.legendHitBoxes=[],this._hoveredItem=null,this.doughnutMode=!1},beforeUpdate:xi,update:function(e,t,n){var i=this;return i.beforeUpdate(),i.maxWidth=e,i.maxHeight=t,i.margins=n,i.beforeSetDimensions(),i.setDimensions(),i.afterSetDimensions(),i.beforeBuildLabels(),i.buildLabels(),i.afterBuildLabels(),i.beforeFit(),i.fit(),i.afterFit(),i.afterUpdate(),i.minSize},afterUpdate:xi,beforeSetDimensions:xi,setDimensions:function(){var e=this;e.isHorizontal()?(e.width=e.maxWidth,e.left=0,e.right=e.width):(e.height=e.maxHeight,e.top=0,e.bottom=e.height),e.paddingLeft=0,e.paddingTop=0,e.paddingRight=0,e.paddingBottom=0,e.minSize={width:0,height:0}},afterSetDimensions:xi,beforeBuildLabels:xi,buildLabels:function(){var t=this,n=t.options.labels||{},e=W.callback(n.generateLabels,[t.chart],t)||[];n.filter&&(e=e.filter(function(e){return n.filter(e,t.chart.data)})),t.options.reverse&&e.reverse(),t.legendItems=e},afterBuildLabels:xi,beforeFit:xi,fit:function(){var e=this,t=e.options,i=t.labels,n=t.display,r=e.ctx,a=W.options._parseFont(i),o=a.size,s=e.legendHitBoxes=[],l=e.minSize,c=e.isHorizontal();if(c?(l.width=e.maxWidth,l.height=n?10:0):(l.width=n?10:0,l.height=e.maxHeight),n){if(r.font=a.string,c){var d=e.lineWidths=[0],u=0;r.textAlign="left",r.textBaseline="middle",W.each(e.legendItems,function(e,t){var n=wi(i,o)+o/2+r.measureText(e.text).width;(0===t||d[d.length-1]+n+2*i.padding>l.width)&&(u+=o+i.padding,d[d.length-(0<t?0:1)]=0),s[t]={left:0,top:0,width:n,height:o},d[d.length-1]+=n+i.padding}),l.height+=u}else{var h=i.padding,f=e.columnWidths=[],g=e.columnHeights=[],p=i.padding,v=0,m=0;W.each(e.legendItems,function(e,t){var n=wi(i,o)+o/2+r.measureText(e.text).width;0<t&&m+o+2*h>l.height&&(p+=v+i.padding,f.push(v),g.push(m),m=v=0),v=Math.max(v,n),m+=o+h,s[t]={left:0,top:0,width:n,height:o}}),p+=v,f.push(v),g.push(m),l.width+=p}e.width=l.width,e.height=l.height}else e.width=l.width=e.height=l.height=0},afterFit:xi,isHorizontal:function(){return"top"===this.options.position||"bottom"===this.options.position},draw:function(){var s=this,n=s.options,l=n.labels,e=B.global,c=e.defaultColor,d=e.elements.line,u=s.height,h=s.columnHeights,f=s.width,g=s.lineWidths;if(n.display){var p,v=bi(n.rtl,s.left,s.minSize.width),m=s.ctx,t=Mi(l.fontColor,e.defaultFontColor),i=W.options._parseFont(l),y=i.size;m.textAlign=v.textAlign("left"),m.textBaseline="middle",m.lineWidth=.5,m.strokeStyle=t,m.fillStyle=t,m.font=i.string;var b=wi(l,y),x=s.legendHitBoxes,M=function(e,t){switch(n.align){case"start":return l.padding;case"end":return e-t;default:return(e-t+l.padding)/2}},w=s.isHorizontal();p=w?{x:s.left+M(f,g[0]),y:s.top+l.padding,line:0}:{x:s.left+l.padding,y:s.top+M(u,h[0]),line:0},W.rtl.overrideTextDirection(s.ctx,n.textDirection);var _=y+l.padding;W.each(s.legendItems,function(e,t){var n=m.measureText(e.text).width,i=b+y/2+n,r=p.x,a=p.y;v.setWidth(s.minSize.width),w?0<t&&r+i+l.padding>s.left+s.minSize.width&&(a=p.y+=_,p.line++,r=p.x=s.left+M(f,g[p.line])):0<t&&a+_>s.top+s.minSize.height&&(r=p.x=r+s.columnWidths[p.line]+l.padding,p.line++,a=p.y=s.top+M(u,h[p.line]));var o=v.x(r);!function(e,t,n){if(!(isNaN(b)||b<=0)){m.save();var i=Mi(n.lineWidth,d.borderWidth);if(m.fillStyle=Mi(n.fillStyle,c),m.lineCap=Mi(n.lineCap,d.borderCapStyle),m.lineDashOffset=Mi(n.lineDashOffset,d.borderDashOffset),m.lineJoin=Mi(n.lineJoin,d.borderJoinStyle),m.lineWidth=i,m.strokeStyle=Mi(n.strokeStyle,c),m.setLineDash&&m.setLineDash(Mi(n.lineDash,d.borderDash)),l&&l.usePointStyle){var r=b*Math.SQRT2/2,a=v.xPlus(e,b/2),o=t+y/2;W.canvas.drawPoint(m,n.pointStyle,r,a,o,n.rotation)}else m.fillRect(v.leftForLtr(e,b),t,b,y),0!==i&&m.strokeRect(v.leftForLtr(e,b),t,b,y);m.restore()}}(o,a,e),x[t].left=v.leftForLtr(o,x[t].width),function(e,t,n,i){var r=y/2,a=v.xPlus(e,b+r),o=t+r;m.fillText(n.text,a,o),n.hidden&&(m.beginPath(),m.lineWidth=2,m.moveTo(a,o),m.lineTo(v.xPlus(a,i),o),m.stroke())}(o,x[t].top=a,e,n),w?p.x+=i+l.padding:p.y+=_}),W.rtl.restoreTextDirection(s.ctx,n.textDirection)}},_getLegendItemAt:function(e,t){var n,i,r;if(e>=this.left&&e<=this.right&&t>=this.top&&t<=this.bottom)for(r=this.legendHitBoxes,n=0;n<r.length;++n)if(e>=(i=r[n]).left&&e<=i.left+i.width&&t>=i.top&&t<=i.top+i.height)return this.legendItems[n];return null},handleEvent:function(e){var t,n=this.options,i="mouseup"===e.type?"click":e.type;if("mousemove"===i){if(!n.onHover&&!n.onLeave)return}else{if("click"!==i)return;if(!n.onClick)return}t=this._getLegendItemAt(e.x,e.y),"click"===i?t&&n.onClick&&n.onClick.call(this,e.native,t):(n.onLeave&&t!==this._hoveredItem&&(this._hoveredItem&&n.onLeave.call(this,e.native,this._hoveredItem),this._hoveredItem=t),n.onHover&&t&&n.onHover.call(this,e.native,t))}});function Si(e,t){var n=new _i({ctx:e.ctx,options:t,chart:e});ft.configure(e,n,t),ft.addBox(e,n),e.legend=n}var Ci={id:"legend",_element:_i,beforeInit:function(e){var t=e.options.legend;t&&Si(e,t)},beforeUpdate:function(e){var t=e.options.legend,n=e.legend;t?(W.mergeIf(t,B.global.legend),n?(ft.configure(e,n,t),n.options=t):Si(e,t)):n&&(ft.removeBox(e,n),delete e.legend)},afterEvent:function(e,t){var n=e.legend;n&&n.handleEvent(t)}},ki=W.noop;B._set("global",{title:{display:!1,fontStyle:"bold",fullWidth:!0,padding:10,position:"top",text:"",weight:2e3}});var Ti=$.extend({initialize:function(e){W.extend(this,e),this.legendHitBoxes=[]},beforeUpdate:ki,update:function(e,t,n){var i=this;return i.beforeUpdate(),i.maxWidth=e,i.maxHeight=t,i.margins=n,i.beforeSetDimensions(),i.setDimensions(),i.afterSetDimensions(),i.beforeBuildLabels(),i.buildLabels(),i.afterBuildLabels(),i.beforeFit(),i.fit(),i.afterFit(),i.afterUpdate(),i.minSize},afterUpdate:ki,beforeSetDimensions:ki,setDimensions:function(){var e=this;e.isHorizontal()?(e.width=e.maxWidth,e.left=0,e.right=e.width):(e.height=e.maxHeight,e.top=0,e.bottom=e.height),e.paddingLeft=0,e.paddingTop=0,e.paddingRight=0,e.paddingBottom=0,e.minSize={width:0,height:0}},afterSetDimensions:ki,beforeBuildLabels:ki,buildLabels:ki,afterBuildLabels:ki,beforeFit:ki,fit:function(){var e,t=this.options,n=this.minSize={},i=this.isHorizontal();t.display?(e=(W.isArray(t.text)?t.text.length:1)*W.options._parseFont(t).lineHeight+2*t.padding,this.width=n.width=i?this.maxWidth:e,this.height=n.height=i?e:this.maxHeight):this.width=n.width=this.height=n.height=0},afterFit:ki,isHorizontal:function(){var e=this.options.position;return"top"===e||"bottom"===e},draw:function(){var e=this.ctx,t=this.options;if(t.display){var n,i,r,a=W.options._parseFont(t),o=a.lineHeight,s=o/2+t.padding,l=0,c=this.top,d=this.left,u=this.bottom,h=this.right;e.fillStyle=W.valueOrDefault(t.fontColor,B.global.defaultFontColor),e.font=a.string,this.isHorizontal()?(i=d+(h-d)/2,r=c+s,n=h-d):(i="left"===t.position?d+s:h-s,r=c+(u-c)/2,n=u-c,l=Math.PI*("left"===t.position?-.5:.5)),e.save(),e.translate(i,r),e.rotate(l),e.textAlign="center",e.textBaseline="middle";var f=t.text;if(W.isArray(f))for(var g=0,p=0;p<f.length;++p)e.fillText(f[p],0,g,n),g+=o;else e.fillText(f,0,0,n);e.restore()}}});function Li(e,t){var n=new Ti({ctx:e.ctx,options:t,chart:e});ft.configure(e,n,t),ft.addBox(e,n),e.titleBlock=n}var Ai={},Ei=yi,Oi=Ci,Pi={id:"title",_element:Ti,beforeInit:function(e){var t=e.options.title;t&&Li(e,t)},beforeUpdate:function(e){var t=e.options.title,n=e.titleBlock;t?(W.mergeIf(t,B.global.title),n?(ft.configure(e,n,t),n.options=t):Li(e,t)):n&&(ft.removeBox(e,n),delete e.titleBlock)}};function Di(e,t,n){var i;return"string"==typeof e?(i=parseInt(e,10),-1!==e.indexOf("%")&&(i=i/100*t.parentNode[n])):i=e,i}function Vi(e){return null!=e&&"none"!==e}function Ri(e,t,n){var i=document.defaultView,r=W._getParentNode(e),a=i.getComputedStyle(e)[t],o=i.getComputedStyle(r)[t],s=Vi(a),l=Vi(o),c=Number.POSITIVE_INFINITY;return s||l?Math.min(s?Di(a,e,n):c,l?Di(o,r,n):c):"none"}for(var zi in Ai.filler=Ei,Ai.legend=Oi,Ai.title=Pi,(Qt.helpers=W).where=function(e,t){if(W.isArray(e)&&Array.prototype.filter)return e.filter(t);var n=[];return W.each(e,function(e){t(e)&&n.push(e)}),n},W.findIndex=Array.prototype.findIndex?function(e,t,n){return e.findIndex(t,n)}:function(e,t,n){n=void 0===n?e:n;for(var i=0,r=e.length;i<r;++i)if(t.call(n,e[i],i,e))return i;return-1},W.findNextWhere=function(e,t,n){W.isNullOrUndef(n)&&(n=-1);for(var i=n+1;i<e.length;i++){var r=e[i];if(t(r))return r}},W.findPreviousWhere=function(e,t,n){W.isNullOrUndef(n)&&(n=e.length);for(var i=n-1;0<=i;i--){var r=e[i];if(t(r))return r}},W.isNumber=function(e){return!isNaN(parseFloat(e))&&isFinite(e)},W.almostEquals=function(e,t,n){return Math.abs(e-t)<n},W.almostWhole=function(e,t){var n=Math.round(e);return n-t<=e&&e<=n+t},W.max=function(e){return e.reduce(function(e,t){return isNaN(t)?e:Math.max(e,t)},Number.NEGATIVE_INFINITY)},W.min=function(e){return e.reduce(function(e,t){return isNaN(t)?e:Math.min(e,t)},Number.POSITIVE_INFINITY)},W.sign=Math.sign?function(e){return Math.sign(e)}:function(e){return 0==(e=+e)||isNaN(e)?e:0<e?1:-1},W.toRadians=function(e){return e*(Math.PI/180)},W.toDegrees=function(e){return e*(180/Math.PI)},W._decimalPlaces=function(e){if(W.isFinite(e)){for(var t=1,n=0;Math.round(e*t)/t!==e;)t*=10,n++;return n}},W.getAngleFromPoint=function(e,t){var n=t.x-e.x,i=t.y-e.y,r=Math.sqrt(n*n+i*i),a=Math.atan2(i,n);return a<-.5*Math.PI&&(a+=2*Math.PI),{angle:a,distance:r}},W.distanceBetweenPoints=function(e,t){return Math.sqrt(Math.pow(t.x-e.x,2)+Math.pow(t.y-e.y,2))},W.aliasPixel=function(e){return e%2==0?0:.5},W._alignPixel=function(e,t,n){var i=e.currentDevicePixelRatio,r=n/2;return Math.round((t-r)*i)/i+r},W.splineCurve=function(e,t,n,i){var r=e.skip?t:e,a=t,o=n.skip?t:n,s=Math.sqrt(Math.pow(a.x-r.x,2)+Math.pow(a.y-r.y,2)),l=Math.sqrt(Math.pow(o.x-a.x,2)+Math.pow(o.y-a.y,2)),c=s/(s+l),d=l/(s+l),u=i*(c=isNaN(c)?0:c),h=i*(d=isNaN(d)?0:d);return{previous:{x:a.x-u*(o.x-r.x),y:a.y-u*(o.y-r.y)},next:{x:a.x+h*(o.x-r.x),y:a.y+h*(o.y-r.y)}}},W.EPSILON=Number.EPSILON||1e-14,W.splineCurveMonotone=function(e){var t,n,i,r,a,o,s,l,c,d=(e||[]).map(function(e){return{model:e._model,deltaK:0,mK:0}}),u=d.length;for(t=0;t<u;++t)if(!(i=d[t]).model.skip){if(n=0<t?d[t-1]:null,(r=t<u-1?d[t+1]:null)&&!r.model.skip){var h=r.model.x-i.model.x;i.deltaK=0!=h?(r.model.y-i.model.y)/h:0}!n||n.model.skip?i.mK=i.deltaK:!r||r.model.skip?i.mK=n.deltaK:this.sign(n.deltaK)!==this.sign(i.deltaK)?i.mK=0:i.mK=(n.deltaK+i.deltaK)/2}for(t=0;t<u-1;++t)i=d[t],r=d[t+1],i.model.skip||r.model.skip||(W.almostEquals(i.deltaK,0,this.EPSILON)?i.mK=r.mK=0:(a=i.mK/i.deltaK,o=r.mK/i.deltaK,(l=Math.pow(a,2)+Math.pow(o,2))<=9||(s=3/Math.sqrt(l),i.mK=a*s*i.deltaK,r.mK=o*s*i.deltaK)));for(t=0;t<u;++t)(i=d[t]).model.skip||(n=0<t?d[t-1]:null,r=t<u-1?d[t+1]:null,n&&!n.model.skip&&(c=(i.model.x-n.model.x)/3,i.model.controlPointPreviousX=i.model.x-c,i.model.controlPointPreviousY=i.model.y-c*i.mK),r&&!r.model.skip&&(c=(r.model.x-i.model.x)/3,i.model.controlPointNextX=i.model.x+c,i.model.controlPointNextY=i.model.y+c*i.mK))},W.nextItem=function(e,t,n){return n?t>=e.length-1?e[0]:e[t+1]:t>=e.length-1?e[e.length-1]:e[t+1]},W.previousItem=function(e,t,n){return n?t<=0?e[e.length-1]:e[t-1]:t<=0?e[0]:e[t-1]},W.niceNum=function(e,t){var n=Math.floor(W.log10(e)),i=e/Math.pow(10,n);return(t?i<1.5?1:i<3?2:i<7?5:10:i<=1?1:i<=2?2:i<=5?5:10)*Math.pow(10,n)},W.requestAnimFrame="undefined"==typeof window?function(e){e()}:window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame||function(e){return window.setTimeout(e,1e3/60)},W.getRelativePosition=function(e,t){var n,i,r=e.originalEvent||e,a=e.target||e.srcElement,o=a.getBoundingClientRect(),s=r.touches;i=s&&0<s.length?(n=s[0].clientX,s[0].clientY):(n=r.clientX,r.clientY);var l=parseFloat(W.getStyle(a,"padding-left")),c=parseFloat(W.getStyle(a,"padding-top")),d=parseFloat(W.getStyle(a,"padding-right")),u=parseFloat(W.getStyle(a,"padding-bottom")),h=o.right-o.left-l-d,f=o.bottom-o.top-c-u;return{x:n=Math.round((n-o.left-l)/h*a.width/t.currentDevicePixelRatio),y:i=Math.round((i-o.top-c)/f*a.height/t.currentDevicePixelRatio)}},W.getConstraintWidth=function(e){return Ri(e,"max-width","clientWidth")},W.getConstraintHeight=function(e){return Ri(e,"max-height","clientHeight")},W._calculatePadding=function(e,t,n){return-1<(t=W.getStyle(e,t)).indexOf("%")?n*parseInt(t,10)/100:parseInt(t,10)},W._getParentNode=function(e){var t=e.parentNode;return t&&"[object ShadowRoot]"===t.toString()&&(t=t.host),t},W.getMaximumWidth=function(e){var t=W._getParentNode(e);if(!t)return e.clientWidth;var n=t.clientWidth,i=n-W._calculatePadding(t,"padding-left",n)-W._calculatePadding(t,"padding-right",n),r=W.getConstraintWidth(e);return isNaN(r)?i:Math.min(i,r)},W.getMaximumHeight=function(e){var t=W._getParentNode(e);if(!t)return e.clientHeight;var n=t.clientHeight,i=n-W._calculatePadding(t,"padding-top",n)-W._calculatePadding(t,"padding-bottom",n),r=W.getConstraintHeight(e);return isNaN(r)?i:Math.min(i,r)},W.getStyle=function(e,t){return e.currentStyle?e.currentStyle[t]:document.defaultView.getComputedStyle(e,null).getPropertyValue(t)},W.retinaScale=function(e,t){var n=e.currentDevicePixelRatio=t||"undefined"!=typeof window&&window.devicePixelRatio||1;if(1!==n){var i=e.canvas,r=e.height,a=e.width;i.height=r*n,i.width=a*n,e.ctx.scale(n,n),i.style.height||i.style.width||(i.style.height=r+"px",i.style.width=a+"px")}},W.fontString=function(e,t,n){return t+" "+e+"px "+n},W.longestText=function(e,t,n,i){var r=(i=i||{}).data=i.data||{},a=i.garbageCollect=i.garbageCollect||[];i.font!==t&&(r=i.data={},a=i.garbageCollect=[],i.font=t),e.font=t;var o,s,l,c,d,u=0,h=n.length;for(o=0;o<h;o++)if(null!=(c=n[o])&&!0!==W.isArray(c))u=W.measureText(e,r,a,u,c);else if(W.isArray(c))for(s=0,l=c.length;s<l;s++)null==(d=c[s])||W.isArray(d)||(u=W.measureText(e,r,a,u,d));var f=a.length/2;if(f>n.length){for(o=0;o<f;o++)delete r[a[o]];a.splice(0,f)}return u},W.measureText=function(e,t,n,i,r){var a=t[r];return a||(a=t[r]=e.measureText(r).width,n.push(r)),i<a&&(i=a),i},W.numberOfLabelLines=function(e){var t=1;return W.each(e,function(e){W.isArray(e)&&e.length>t&&(t=e.length)}),t},W.color=_?function(e){return e instanceof CanvasGradient&&(e=B.global.defaultColor),_(e)}:function(e){return console.error("Color.js not found!"),e},W.getHoverColor=function(e){return e instanceof CanvasPattern||e instanceof CanvasGradient?e:W.color(e).saturate(.5).darken(.1).rgbString()},Qt._adapters=nn,Qt.Animation=K,Qt.animationService=J,Qt.controllers=Ze,Qt.DatasetController=ie,Qt.defaults=B,Qt.Element=$,Qt.elements=we,Qt.Interaction=it,Qt.layouts=ft,Qt.platform=Pt,Qt.plugins=Dt,Qt.Scale=yn,Qt.scaleService=Vt,Qt.Ticks=rn,Qt.Tooltip=Gt,Qt.helpers.each(ci,function(e,t){Qt.scaleService.registerScaleType(t,e,e._defaults)}),Ai)Ai.hasOwnProperty(zi)&&Qt.plugins.register(Ai[zi]);Qt.platform.initialize();var Bi=Qt;return"undefined"!=typeof window&&(window.Chart=Qt),(Qt.Chart=Qt).Legend=Ai.legend._element,Qt.Title=Ai.title._element,Qt.pluginService=Qt.plugins,Qt.PluginBase=Qt.Element.extend({}),Qt.canvasHelpers=Qt.helpers.canvas,Qt.layoutService=Qt.layouts,Qt.LinearScaleBase=Sn,Qt.helpers.each(["Bar","Bubble","Doughnut","Line","PolarArea","Radar","Scatter"],function(n){Qt[n]=function(e,t){return new Qt(e,Qt.helpers.merge(t||{},{type:n.charAt(0).toLowerCase()+n.slice(1)}))}}),Bi},"object"==typeof n&&void 0!==t?t.exports=r(function(){try{return e("moment")}catch(e){}}()):"function"==typeof define&&define.amd?define(["require"],function(e){return r(function(){try{return e("moment")}catch(e){}}())}):(i=i||self).Chart=r(i.moment)},{moment:2}],2:[function($n,Zn,e){var t,n;t=this,n=function(){"use strict";var e,r;function h(){return e.apply(null,arguments)}function o(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function s(e){return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function a(e){return void 0===e}function l(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function c(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function i(e,t){var n,i=[];for(n=0;n<e.length;++n)i.push(t(e[n],n));return i}function f(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function d(e,t){for(var n in t)f(t,n)&&(e[n]=t[n]);return f(t,"toString")&&(e.toString=t.toString),f(t,"valueOf")&&(e.valueOf=t.valueOf),e}function u(e,t,n,i){return Tt(e,t,n,i,!0).utc()}function g(e){return null==e._pf&&(e._pf={empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],meridiem:null,rfc2822:!1,weekdayMismatch:!1}),e._pf}function p(e){if(null==e._isValid){var t=g(e),n=r.call(t.parsedDateParts,function(e){return null!=e}),i=!isNaN(e._d.getTime())&&t.overflow<0&&!t.empty&&!t.invalidMonth&&!t.invalidWeekday&&!t.weekdayMismatch&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||t.meridiem&&n);if(e._strict&&(i=i&&0===t.charsLeftOver&&0===t.unusedTokens.length&&void 0===t.bigHour),null!=Object.isFrozen&&Object.isFrozen(e))return i;e._isValid=i}return e._isValid}function v(e){var t=u(NaN);return null!=e?d(g(t),e):g(t).userInvalidated=!0,t}r=Array.prototype.some?Array.prototype.some:function(e){for(var t=Object(this),n=t.length>>>0,i=0;i<n;i++)if(i in t&&e.call(this,t[i],i,t))return!0;return!1};var m=h.momentProperties=[];function y(e,t){var n,i,r;if(a(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),a(t._i)||(e._i=t._i),a(t._f)||(e._f=t._f),a(t._l)||(e._l=t._l),a(t._strict)||(e._strict=t._strict),a(t._tzm)||(e._tzm=t._tzm),a(t._isUTC)||(e._isUTC=t._isUTC),a(t._offset)||(e._offset=t._offset),a(t._pf)||(e._pf=g(t)),a(t._locale)||(e._locale=t._locale),0<m.length)for(n=0;n<m.length;n++)a(r=t[i=m[n]])||(e[i]=r);return e}var t=!1;function b(e){y(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),!1===t&&(t=!0,h.updateOffset(this),t=!1)}function x(e){return e instanceof b||null!=e&&null!=e._isAMomentObject}function M(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function w(e){var t=+e,n=0;return 0!=t&&isFinite(t)&&(n=M(t)),n}function _(e,t,n){var i,r=Math.min(e.length,t.length),a=Math.abs(e.length-t.length),o=0;for(i=0;i<r;i++)(n&&e[i]!==t[i]||!n&&w(e[i])!==w(t[i]))&&o++;return o+a}function S(e){!1===h.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function n(r,a){var o=!0;return d(function(){if(null!=h.deprecationHandler&&h.deprecationHandler(null,r),o){for(var e,t=[],n=0;n<arguments.length;n++){if(e="","object"==typeof arguments[n]){for(var i in e+="\n["+n+"] ",arguments[0])e+=i+": "+arguments[0][i]+", ";e=e.slice(0,-2)}else e=arguments[n];t.push(e)}S(r+"\nArguments: "+Array.prototype.slice.call(t).join("")+"\n"+(new Error).stack),o=!1}return a.apply(this,arguments)},a)}var C,k={};function T(e,t){null!=h.deprecationHandler&&h.deprecationHandler(e,t),k[e]||(S(t),k[e]=!0)}function L(e){return e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function A(e,t){var n,i=d({},e);for(n in t)f(t,n)&&(s(e[n])&&s(t[n])?(i[n]={},d(i[n],e[n]),d(i[n],t[n])):null!=t[n]?i[n]=t[n]:delete i[n]);for(n in e)f(e,n)&&!f(t,n)&&s(e[n])&&(i[n]=d({},i[n]));return i}function E(e){null!=e&&this.set(e)}h.suppressDeprecationWarnings=!1,h.deprecationHandler=null,C=Object.keys?Object.keys:function(e){var t,n=[];for(t in e)f(e,t)&&n.push(t);return n};var O={};function P(e,t){var n=e.toLowerCase();O[n]=O[n+"s"]=O[t]=e}function D(e){return"string"==typeof e?O[e]||O[e.toLowerCase()]:void 0}function V(e){var t,n,i={};for(n in e)f(e,n)&&(t=D(n))&&(i[t]=e[n]);return i}var R={};function z(e,t){R[e]=t}function B(e,t,n){var i=""+Math.abs(e),r=t-i.length;return(0<=e?n?"+":"":"-")+Math.pow(10,Math.max(0,r)).toString().substr(1)+i}var H=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|YYYYYY|YYYYY|YYYY|YY|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,N=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,I={},F={};function W(e,t,n,i){var r=i;"string"==typeof i&&(r=function(){return this[i]()}),e&&(F[e]=r),t&&(F[t[0]]=function(){return B(r.apply(this,arguments),t[1],t[2])}),n&&(F[n]=function(){return this.localeData().ordinal(r.apply(this,arguments),e)})}function j(e,t){return e.isValid()?(t=Y(t,e.localeData()),I[t]=I[t]||function(i){var e,r,t,a=i.match(H);for(e=0,r=a.length;e<r;e++)F[a[e]]?a[e]=F[a[e]]:a[e]=(t=a[e]).match(/\[[\s\S]/)?t.replace(/^\[|\]$/g,""):t.replace(/\\/g,"");return function(e){var t,n="";for(t=0;t<r;t++)n+=L(a[t])?a[t].call(e,i):a[t];return n}}(t),I[t](e)):e.localeData().invalidDate()}function Y(e,t){var n=5;function i(e){return t.longDateFormat(e)||e}for(N.lastIndex=0;0<=n&&N.test(e);)e=e.replace(N,i),N.lastIndex=0,n-=1;return e}var G=/\d/,U=/\d\d/,q=/\d{3}/,X=/\d{4}/,$=/[+-]?\d{6}/,Z=/\d\d?/,K=/\d\d\d\d?/,J=/\d\d\d\d\d\d?/,Q=/\d{1,3}/,ee=/\d{1,4}/,te=/[+-]?\d{1,6}/,ne=/\d+/,ie=/[+-]?\d+/,re=/Z|[+-]\d\d:?\d\d/gi,ae=/Z|[+-]\d\d(?::?\d\d)?/gi,oe=/[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i,se={};function le(e,n,i){se[e]=L(n)?n:function(e,t){return e&&i?i:n}}function ce(e,t){return f(se,e)?se[e](t._strict,t._locale):new RegExp(function(e){return de(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(e,t,n,i,r){return t||n||i||r}))}(e))}function de(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}var ue={};function he(e,n){var t,i=n;for("string"==typeof e&&(e=[e]),l(n)&&(i=function(e,t){t[n]=w(e)}),t=0;t<e.length;t++)ue[e[t]]=i}function fe(e,r){he(e,function(e,t,n,i){n._w=n._w||{},r(e,n._w,n,i)})}var ge=0,pe=1,ve=2,me=3,ye=4,be=5,xe=6,Me=7,we=8;function _e(e){return Se(e)?366:365}function Se(e){return e%4==0&&e%100!=0||e%400==0}W("Y",0,0,function(){var e=this.year();return e<=9999?""+e:"+"+e}),W(0,["YY",2],0,function(){return this.year()%100}),W(0,["YYYY",4],0,"year"),W(0,["YYYYY",5],0,"year"),W(0,["YYYYYY",6,!0],0,"year"),P("year","y"),z("year",1),le("Y",ie),le("YY",Z,U),le("YYYY",ee,X),le("YYYYY",te,$),le("YYYYYY",te,$),he(["YYYYY","YYYYYY"],ge),he("YYYY",function(e,t){t[ge]=2===e.length?h.parseTwoDigitYear(e):w(e)}),he("YY",function(e,t){t[ge]=h.parseTwoDigitYear(e)}),he("Y",function(e,t){t[ge]=parseInt(e,10)}),h.parseTwoDigitYear=function(e){return w(e)+(68<w(e)?1900:2e3)};var Ce,ke=Te("FullYear",!0);function Te(t,n){return function(e){return null!=e?(Ae(this,t,e),h.updateOffset(this,n),this):Le(this,t)}}function Le(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function Ae(e,t,n){e.isValid()&&!isNaN(n)&&("FullYear"===t&&Se(e.year())&&1===e.month()&&29===e.date()?e._d["set"+(e._isUTC?"UTC":"")+t](n,e.month(),Ee(n,e.month())):e._d["set"+(e._isUTC?"UTC":"")+t](n))}function Ee(e,t){if(isNaN(e)||isNaN(t))return NaN;var n=function(e,t){return(e%t+t)%t}(t,12);return e+=(t-n)/12,1===n?Se(e)?29:28:31-n%7%2}Ce=Array.prototype.indexOf?Array.prototype.indexOf:function(e){var t;for(t=0;t<this.length;++t)if(this[t]===e)return t;return-1},W("M",["MM",2],"Mo",function(){return this.month()+1}),W("MMM",0,0,function(e){return this.localeData().monthsShort(this,e)}),W("MMMM",0,0,function(e){return this.localeData().months(this,e)}),P("month","M"),z("month",8),le("M",Z),le("MM",Z,U),le("MMM",function(e,t){return t.monthsShortRegex(e)}),le("MMMM",function(e,t){return t.monthsRegex(e)}),he(["M","MM"],function(e,t){t[pe]=w(e)-1}),he(["MMM","MMMM"],function(e,t,n,i){var r=n._locale.monthsParse(e,i,n._strict);null!=r?t[pe]=r:g(n).invalidMonth=e});var Oe=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,Pe="January_February_March_April_May_June_July_August_September_October_November_December".split("_");var De="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_");function Ve(e,t){var n;if(!e.isValid())return e;if("string"==typeof t)if(/^\d+$/.test(t))t=w(t);else if(!l(t=e.localeData().monthsParse(t)))return e;return n=Math.min(e.date(),Ee(e.year(),t)),e._d["set"+(e._isUTC?"UTC":"")+"Month"](t,n),e}function Re(e){return null!=e?(Ve(this,e),h.updateOffset(this,!0),this):Le(this,"Month")}var ze=oe;var Be=oe;function He(){function e(e,t){return t.length-e.length}var t,n,i=[],r=[],a=[];for(t=0;t<12;t++)n=u([2e3,t]),i.push(this.monthsShort(n,"")),r.push(this.months(n,"")),a.push(this.months(n,"")),a.push(this.monthsShort(n,""));for(i.sort(e),r.sort(e),a.sort(e),t=0;t<12;t++)i[t]=de(i[t]),r[t]=de(r[t]);for(t=0;t<24;t++)a[t]=de(a[t]);this._monthsRegex=new RegExp("^("+a.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+i.join("|")+")","i")}function Ne(e){var t;if(e<100&&0<=e){var n=Array.prototype.slice.call(arguments);n[0]=e+400,t=new Date(Date.UTC.apply(null,n)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)}else t=new Date(Date.UTC.apply(null,arguments));return t}function Ie(e,t,n){var i=7+t-n;return i-(7+Ne(e,0,i).getUTCDay()-t)%7-1}function Fe(e,t,n,i,r){var a,o,s=1+7*(t-1)+(7+n-i)%7+Ie(e,i,r);return o=s<=0?_e(a=e-1)+s:s>_e(e)?(a=e+1,s-_e(e)):(a=e,s),{year:a,dayOfYear:o}}function We(e,t,n){var i,r,a=Ie(e.year(),t,n),o=Math.floor((e.dayOfYear()-a-1)/7)+1;return o<1?i=o+je(r=e.year()-1,t,n):o>je(e.year(),t,n)?(i=o-je(e.year(),t,n),r=e.year()+1):(r=e.year(),i=o),{week:i,year:r}}function je(e,t,n){var i=Ie(e,t,n),r=Ie(e+1,t,n);return(_e(e)-i+r)/7}W("w",["ww",2],"wo","week"),W("W",["WW",2],"Wo","isoWeek"),P("week","w"),P("isoWeek","W"),z("week",5),z("isoWeek",5),le("w",Z),le("ww",Z,U),le("W",Z),le("WW",Z,U),fe(["w","ww","W","WW"],function(e,t,n,i){t[i.substr(0,1)]=w(e)});function Ye(e,t){return e.slice(t,7).concat(e.slice(0,t))}W("d",0,"do","day"),W("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)}),W("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)}),W("dddd",0,0,function(e){return this.localeData().weekdays(this,e)}),W("e",0,0,"weekday"),W("E",0,0,"isoWeekday"),P("day","d"),P("weekday","e"),P("isoWeekday","E"),z("day",11),z("weekday",11),z("isoWeekday",11),le("d",Z),le("e",Z),le("E",Z),le("dd",function(e,t){return t.weekdaysMinRegex(e)}),le("ddd",function(e,t){return t.weekdaysShortRegex(e)}),le("dddd",function(e,t){return t.weekdaysRegex(e)}),fe(["dd","ddd","dddd"],function(e,t,n,i){var r=n._locale.weekdaysParse(e,i,n._strict);null!=r?t.d=r:g(n).invalidWeekday=e}),fe(["d","e","E"],function(e,t,n,i){t[i]=w(e)});var Ge="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_");var Ue="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_");var qe="Su_Mo_Tu_We_Th_Fr_Sa".split("_");var Xe=oe;var $e=oe;var Ze=oe;function Ke(){function e(e,t){return t.length-e.length}var t,n,i,r,a,o=[],s=[],l=[],c=[];for(t=0;t<7;t++)n=u([2e3,1]).day(t),i=this.weekdaysMin(n,""),r=this.weekdaysShort(n,""),a=this.weekdays(n,""),o.push(i),s.push(r),l.push(a),c.push(i),c.push(r),c.push(a);for(o.sort(e),s.sort(e),l.sort(e),c.sort(e),t=0;t<7;t++)s[t]=de(s[t]),l[t]=de(l[t]),c[t]=de(c[t]);this._weekdaysRegex=new RegExp("^("+c.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+l.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+s.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+o.join("|")+")","i")}function Je(){return this.hours()%12||12}function Qe(e,t){W(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}function et(e,t){return t._meridiemParse}W("H",["HH",2],0,"hour"),W("h",["hh",2],0,Je),W("k",["kk",2],0,function(){return this.hours()||24}),W("hmm",0,0,function(){return""+Je.apply(this)+B(this.minutes(),2)}),W("hmmss",0,0,function(){return""+Je.apply(this)+B(this.minutes(),2)+B(this.seconds(),2)}),W("Hmm",0,0,function(){return""+this.hours()+B(this.minutes(),2)}),W("Hmmss",0,0,function(){return""+this.hours()+B(this.minutes(),2)+B(this.seconds(),2)}),Qe("a",!0),Qe("A",!1),P("hour","h"),z("hour",13),le("a",et),le("A",et),le("H",Z),le("h",Z),le("k",Z),le("HH",Z,U),le("hh",Z,U),le("kk",Z,U),le("hmm",K),le("hmmss",J),le("Hmm",K),le("Hmmss",J),he(["H","HH"],me),he(["k","kk"],function(e,t,n){var i=w(e);t[me]=24===i?0:i}),he(["a","A"],function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e}),he(["h","hh"],function(e,t,n){t[me]=w(e),g(n).bigHour=!0}),he("hmm",function(e,t,n){var i=e.length-2;t[me]=w(e.substr(0,i)),t[ye]=w(e.substr(i)),g(n).bigHour=!0}),he("hmmss",function(e,t,n){var i=e.length-4,r=e.length-2;t[me]=w(e.substr(0,i)),t[ye]=w(e.substr(i,2)),t[be]=w(e.substr(r)),g(n).bigHour=!0}),he("Hmm",function(e,t,n){var i=e.length-2;t[me]=w(e.substr(0,i)),t[ye]=w(e.substr(i))}),he("Hmmss",function(e,t,n){var i=e.length-4,r=e.length-2;t[me]=w(e.substr(0,i)),t[ye]=w(e.substr(i,2)),t[be]=w(e.substr(r))});var tt,nt=Te("Hours",!0),it={calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},longDateFormat:{LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},invalidDate:"Invalid date",ordinal:"%d",dayOfMonthOrdinalParse:/\d{1,2}/,relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},months:Pe,monthsShort:De,week:{dow:0,doy:6},weekdays:Ge,weekdaysMin:qe,weekdaysShort:Ue,meridiemParse:/[ap]\.?m?\.?/i},rt={},at={};function ot(e){return e?e.toLowerCase().replace("_","-"):e}function st(e){var t=null;if(!rt[e]&&void 0!==Zn&&Zn&&Zn.exports)try{t=tt._abbr,$n("./locale/"+e),lt(t)}catch(e){}return rt[e]}function lt(e,t){var n;return e&&((n=a(t)?dt(e):ct(e,t))?tt=n:"undefined"!=typeof console&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),tt._abbr}function ct(e,t){if(null===t)return delete rt[e],null;var n,i=it;if(t.abbr=e,null!=rt[e])T("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),i=rt[e]._config;else if(null!=t.parentLocale)if(null!=rt[t.parentLocale])i=rt[t.parentLocale]._config;else{if(null==(n=st(t.parentLocale)))return at[t.parentLocale]||(at[t.parentLocale]=[]),at[t.parentLocale].push({name:e,config:t}),null;i=n._config}return rt[e]=new E(A(i,t)),at[e]&&at[e].forEach(function(e){ct(e.name,e.config)}),lt(e),rt[e]}function dt(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return tt;if(!o(e)){if(t=st(e))return t;e=[e]}return function(e){for(var t,n,i,r,a=0;a<e.length;){for(t=(r=ot(e[a]).split("-")).length,n=(n=ot(e[a+1]))?n.split("-"):null;0<t;){if(i=st(r.slice(0,t).join("-")))return i;if(n&&n.length>=t&&_(r,n,!0)>=t-1)break;t--}a++}return tt}(e)}function ut(e){var t,n=e._a;return n&&-2===g(e).overflow&&(t=n[pe]<0||11<n[pe]?pe:n[ve]<1||n[ve]>Ee(n[ge],n[pe])?ve:n[me]<0||24<n[me]||24===n[me]&&(0!==n[ye]||0!==n[be]||0!==n[xe])?me:n[ye]<0||59<n[ye]?ye:n[be]<0||59<n[be]?be:n[xe]<0||999<n[xe]?xe:-1,g(e)._overflowDayOfYear&&(t<ge||ve<t)&&(t=ve),g(e)._overflowWeeks&&-1===t&&(t=Me),g(e)._overflowWeekday&&-1===t&&(t=we),g(e).overflow=t),e}function ht(e,t,n){return null!=e?e:null!=t?t:n}function ft(e){var t,n,i,r,a,o=[];if(!e._d){for(i=function(e){var t=new Date(h.now());return e._useUTC?[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()]:[t.getFullYear(),t.getMonth(),t.getDate()]}(e),e._w&&null==e._a[ve]&&null==e._a[pe]&&function(e){var t,n,i,r,a,o,s,l;if(null!=(t=e._w).GG||null!=t.W||null!=t.E)a=1,o=4,n=ht(t.GG,e._a[ge],We(Lt(),1,4).year),i=ht(t.W,1),((r=ht(t.E,1))<1||7<r)&&(l=!0);else{a=e._locale._week.dow,o=e._locale._week.doy;var c=We(Lt(),a,o);n=ht(t.gg,e._a[ge],c.year),i=ht(t.w,c.week),null!=t.d?((r=t.d)<0||6<r)&&(l=!0):null!=t.e?(r=t.e+a,(t.e<0||6<t.e)&&(l=!0)):r=a}i<1||i>je(n,a,o)?g(e)._overflowWeeks=!0:null!=l?g(e)._overflowWeekday=!0:(s=Fe(n,i,r,a,o),e._a[ge]=s.year,e._dayOfYear=s.dayOfYear)}(e),null!=e._dayOfYear&&(a=ht(e._a[ge],i[ge]),(e._dayOfYear>_e(a)||0===e._dayOfYear)&&(g(e)._overflowDayOfYear=!0),n=Ne(a,0,e._dayOfYear),e._a[pe]=n.getUTCMonth(),e._a[ve]=n.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=o[t]=i[t];for(;t<7;t++)e._a[t]=o[t]=null==e._a[t]?2===t?1:0:e._a[t];24===e._a[me]&&0===e._a[ye]&&0===e._a[be]&&0===e._a[xe]&&(e._nextDay=!0,e._a[me]=0),e._d=(e._useUTC?Ne:function(e,t,n,i,r,a,o){var s;return e<100&&0<=e?(s=new Date(e+400,t,n,i,r,a,o),isFinite(s.getFullYear())&&s.setFullYear(e)):s=new Date(e,t,n,i,r,a,o),s}).apply(null,o),r=e._useUTC?e._d.getUTCDay():e._d.getDay(),null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[me]=24),e._w&&void 0!==e._w.d&&e._w.d!==r&&(g(e).weekdayMismatch=!0)}}var gt=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,pt=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,vt=/Z|[+-]\d\d(?::?\d\d)?/,mt=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/]],yt=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],bt=/^\/?Date\((\-?\d+)/i;function xt(e){var t,n,i,r,a,o,s=e._i,l=gt.exec(s)||pt.exec(s);if(l){for(g(e).iso=!0,t=0,n=mt.length;t<n;t++)if(mt[t][1].exec(l[1])){r=mt[t][0],i=!1!==mt[t][2];break}if(null==r)return void(e._isValid=!1);if(l[3]){for(t=0,n=yt.length;t<n;t++)if(yt[t][1].exec(l[3])){a=(l[2]||" ")+yt[t][0];break}if(null==a)return void(e._isValid=!1)}if(!i&&null!=a)return void(e._isValid=!1);if(l[4]){if(!vt.exec(l[4]))return void(e._isValid=!1);o="Z"}e._f=r+(a||"")+(o||""),Ct(e)}else e._isValid=!1}var Mt=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/;function wt(e,t,n,i,r,a){var o=[function(e){var t=parseInt(e,10);{if(t<=49)return 2e3+t;if(t<=999)return 1900+t}return t}(e),De.indexOf(t),parseInt(n,10),parseInt(i,10),parseInt(r,10)];return a&&o.push(parseInt(a,10)),o}var _t={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function St(e){var t=Mt.exec(function(e){return e.replace(/\([^)]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}(e._i));if(t){var n=wt(t[4],t[3],t[2],t[5],t[6],t[7]);if(!function(e,t,n){return!e||Ue.indexOf(e)===new Date(t[0],t[1],t[2]).getDay()||(g(n).weekdayMismatch=!0,n._isValid=!1)}(t[1],n,e))return;e._a=n,e._tzm=function(e,t,n){if(e)return _t[e];if(t)return 0;var i=parseInt(n,10),r=i%100;return 60*((i-r)/100)+r}(t[8],t[9],t[10]),e._d=Ne.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),g(e).rfc2822=!0}else e._isValid=!1}function Ct(e){if(e._f!==h.ISO_8601)if(e._f!==h.RFC_2822){e._a=[],g(e).empty=!0;var t,n,i,r,a,o,s,l,c=""+e._i,d=c.length,u=0;for(i=Y(e._f,e._locale).match(H)||[],t=0;t<i.length;t++)r=i[t],(n=(c.match(ce(r,e))||[])[0])&&(0<(a=c.substr(0,c.indexOf(n))).length&&g(e).unusedInput.push(a),c=c.slice(c.indexOf(n)+n.length),u+=n.length),F[r]?(n?g(e).empty=!1:g(e).unusedTokens.push(r),o=r,l=e,null!=(s=n)&&f(ue,o)&&ue[o](s,l._a,l,o)):e._strict&&!n&&g(e).unusedTokens.push(r);g(e).charsLeftOver=d-u,0<c.length&&g(e).unusedInput.push(c),e._a[me]<=12&&!0===g(e).bigHour&&0<e._a[me]&&(g(e).bigHour=void 0),g(e).parsedDateParts=e._a.slice(0),g(e).meridiem=e._meridiem,e._a[me]=function(e,t,n){var i;if(null==n)return t;return null!=e.meridiemHour?e.meridiemHour(t,n):(null!=e.isPM&&((i=e.isPM(n))&&t<12&&(t+=12),i||12!==t||(t=0)),t)}(e._locale,e._a[me],e._meridiem),ft(e),ut(e)}else St(e);else xt(e)}function kt(e){var t=e._i,n=e._f;return e._locale=e._locale||dt(e._l),null===t||void 0===n&&""===t?v({nullInput:!0}):("string"==typeof t&&(e._i=t=e._locale.preparse(t)),x(t)?new b(ut(t)):(c(t)?e._d=t:o(n)?function(e){var t,n,i,r,a;if(0===e._f.length)return g(e).invalidFormat=!0,e._d=new Date(NaN);for(r=0;r<e._f.length;r++)a=0,t=y({},e),null!=e._useUTC&&(t._useUTC=e._useUTC),t._f=e._f[r],Ct(t),p(t)&&(a+=g(t).charsLeftOver,a+=10*g(t).unusedTokens.length,g(t).score=a,(null==i||a<i)&&(i=a,n=t));d(e,n||t)}(e):n?Ct(e):function(e){var t=e._i;a(t)?e._d=new Date(h.now()):c(t)?e._d=new Date(t.valueOf()):"string"==typeof t?function(e){var t=bt.exec(e._i);null===t?(xt(e),!1===e._isValid&&(delete e._isValid,St(e),!1===e._isValid&&(delete e._isValid,h.createFromInputFallback(e)))):e._d=new Date(+t[1])}(e):o(t)?(e._a=i(t.slice(0),function(e){return parseInt(e,10)}),ft(e)):s(t)?function(e){if(!e._d){var t=V(e._i);e._a=i([t.year,t.month,t.day||t.date,t.hour,t.minute,t.second,t.millisecond],function(e){return e&&parseInt(e,10)}),ft(e)}}(e):l(t)?e._d=new Date(t):h.createFromInputFallback(e)}(e),p(e)||(e._d=null),e))}function Tt(e,t,n,i,r){var a={};return!0!==n&&!1!==n||(i=n,n=void 0),(s(e)&&function(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;var t;for(t in e)if(e.hasOwnProperty(t))return!1;return!0}(e)||o(e)&&0===e.length)&&(e=void 0),a._isAMomentObject=!0,a._useUTC=a._isUTC=r,a._l=n,a._i=e,a._f=t,a._strict=i,function(e){var t=new b(ut(kt(e)));return t._nextDay&&(t.add(1,"d"),t._nextDay=void 0),t}(a)}function Lt(e,t,n,i){return Tt(e,t,n,i,!1)}h.createFromInputFallback=n("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged and will be removed in an upcoming major release. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",function(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))}),h.ISO_8601=function(){},h.RFC_2822=function(){};var At=n("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=Lt.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:v()}),Et=n("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",function(){var e=Lt.apply(null,arguments);return this.isValid()&&e.isValid()?this<e?this:e:v()});function Ot(e,t){var n,i;if(1===t.length&&o(t[0])&&(t=t[0]),!t.length)return Lt();for(n=t[0],i=1;i<t.length;++i)t[i].isValid()&&!t[i][e](n)||(n=t[i]);return n}var Pt=["year","quarter","month","week","day","hour","minute","second","millisecond"];function Dt(e){var t=V(e),n=t.year||0,i=t.quarter||0,r=t.month||0,a=t.week||t.isoWeek||0,o=t.day||0,s=t.hour||0,l=t.minute||0,c=t.second||0,d=t.millisecond||0;this._isValid=function(e){for(var t in e)if(-1===Ce.call(Pt,t)||null!=e[t]&&isNaN(e[t]))return!1;for(var n=!1,i=0;i<Pt.length;++i)if(e[Pt[i]]){if(n)return!1;parseFloat(e[Pt[i]])!==w(e[Pt[i]])&&(n=!0)}return!0}(t),this._milliseconds=+d+1e3*c+6e4*l+1e3*s*60*60,this._days=+o+7*a,this._months=+r+3*i+12*n,this._data={},this._locale=dt(),this._bubble()}function Vt(e){return e instanceof Dt}function Rt(e){return e<0?-1*Math.round(-1*e):Math.round(e)}function zt(e,n){W(e,0,0,function(){var e=this.utcOffset(),t="+";return e<0&&(e=-e,t="-"),t+B(~~(e/60),2)+n+B(~~e%60,2)})}zt("Z",":"),zt("ZZ",""),le("Z",ae),le("ZZ",ae),he(["Z","ZZ"],function(e,t,n){n._useUTC=!0,n._tzm=Ht(ae,e)});var Bt=/([\+\-]|\d\d)/gi;function Ht(e,t){var n=(t||"").match(e);if(null===n)return null;var i=((n[n.length-1]||[])+"").match(Bt)||["-",0,0],r=60*i[1]+w(i[2]);return 0===r?0:"+"===i[0]?r:-r}function Nt(e,t){var n,i;return t._isUTC?(n=t.clone(),i=(x(e)||c(e)?e.valueOf():Lt(e).valueOf())-n.valueOf(),n._d.setTime(n._d.valueOf()+i),h.updateOffset(n,!1),n):Lt(e).local()}function It(e){return 15*-Math.round(e._d.getTimezoneOffset()/15)}function Ft(){return!!this.isValid()&&(this._isUTC&&0===this._offset)}h.updateOffset=function(){};var Wt=/^(\-|\+)?(?:(\d*)[. ])?(\d+)\:(\d+)(?:\:(\d+)(\.\d*)?)?$/,jt=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function Yt(e,t){var n,i,r,a=e,o=null;return Vt(e)?a={ms:e._milliseconds,d:e._days,M:e._months}:l(e)?(a={},t?a[t]=e:a.milliseconds=e):(o=Wt.exec(e))?(n="-"===o[1]?-1:1,a={y:0,d:w(o[ve])*n,h:w(o[me])*n,m:w(o[ye])*n,s:w(o[be])*n,ms:w(Rt(1e3*o[xe]))*n}):(o=jt.exec(e))?(n="-"===o[1]?-1:1,a={y:Gt(o[2],n),M:Gt(o[3],n),w:Gt(o[4],n),d:Gt(o[5],n),h:Gt(o[6],n),m:Gt(o[7],n),s:Gt(o[8],n)}):null==a?a={}:"object"==typeof a&&("from"in a||"to"in a)&&(r=function(e,t){var n;if(!e.isValid()||!t.isValid())return{milliseconds:0,months:0};t=Nt(t,e),e.isBefore(t)?n=Ut(e,t):((n=Ut(t,e)).milliseconds=-n.milliseconds,n.months=-n.months);return n}(Lt(a.from),Lt(a.to)),(a={}).ms=r.milliseconds,a.M=r.months),i=new Dt(a),Vt(e)&&f(e,"_locale")&&(i._locale=e._locale),i}function Gt(e,t){var n=e&&parseFloat(e.replace(",","."));return(isNaN(n)?0:n)*t}function Ut(e,t){var n={};return n.months=t.month()-e.month()+12*(t.year()-e.year()),e.clone().add(n.months,"M").isAfter(t)&&--n.months,n.milliseconds=+t-+e.clone().add(n.months,"M"),n}function qt(i,r){return function(e,t){var n;return null===t||isNaN(+t)||(T(r,"moment()."+r+"(period, number) is deprecated. Please use moment()."+r+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),n=e,e=t,t=n),Xt(this,Yt(e="string"==typeof e?+e:e,t),i),this}}function Xt(e,t,n,i){var r=t._milliseconds,a=Rt(t._days),o=Rt(t._months);e.isValid()&&(i=null==i||i,o&&Ve(e,Le(e,"Month")+o*n),a&&Ae(e,"Date",Le(e,"Date")+a*n),r&&e._d.setTime(e._d.valueOf()+r*n),i&&h.updateOffset(e,a||o))}Yt.fn=Dt.prototype,Yt.invalid=function(){return Yt(NaN)};var $t=qt(1,"add"),Zt=qt(-1,"subtract");function Kt(e,t){var n=12*(t.year()-e.year())+(t.month()-e.month()),i=e.clone().add(n,"months");return-(n+(t-i<0?(t-i)/(i-e.clone().add(n-1,"months")):(t-i)/(e.clone().add(1+n,"months")-i)))||0}function Jt(e){var t;return void 0===e?this._locale._abbr:(null!=(t=dt(e))&&(this._locale=t),this)}h.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",h.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var Qt=n("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(e){return void 0===e?this.localeData():this.locale(e)});function en(){return this._locale}var tn=126227808e5;function nn(e,t){return(e%t+t)%t}function rn(e,t,n){return e<100&&0<=e?new Date(e+400,t,n)-tn:new Date(e,t,n).valueOf()}function an(e,t,n){return e<100&&0<=e?Date.UTC(e+400,t,n)-tn:Date.UTC(e,t,n)}function on(e,t){W(0,[e,e.length],0,t)}function sn(e,t,n,i,r){var a;return null==e?We(this,i,r).year:((a=je(e,i,r))<t&&(t=a),function(e,t,n,i,r){var a=Fe(e,t,n,i,r),o=Ne(a.year,0,a.dayOfYear);return this.year(o.getUTCFullYear()),this.month(o.getUTCMonth()),this.date(o.getUTCDate()),this}.call(this,e,t,n,i,r))}W(0,["gg",2],0,function(){return this.weekYear()%100}),W(0,["GG",2],0,function(){return this.isoWeekYear()%100}),on("gggg","weekYear"),on("ggggg","weekYear"),on("GGGG","isoWeekYear"),on("GGGGG","isoWeekYear"),P("weekYear","gg"),P("isoWeekYear","GG"),z("weekYear",1),z("isoWeekYear",1),le("G",ie),le("g",ie),le("GG",Z,U),le("gg",Z,U),le("GGGG",ee,X),le("gggg",ee,X),le("GGGGG",te,$),le("ggggg",te,$),fe(["gggg","ggggg","GGGG","GGGGG"],function(e,t,n,i){t[i.substr(0,2)]=w(e)}),fe(["gg","GG"],function(e,t,n,i){t[i]=h.parseTwoDigitYear(e)}),W("Q",0,"Qo","quarter"),P("quarter","Q"),z("quarter",7),le("Q",G),he("Q",function(e,t){t[pe]=3*(w(e)-1)}),W("D",["DD",2],"Do","date"),P("date","D"),z("date",9),le("D",Z),le("DD",Z,U),le("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient}),he(["D","DD"],ve),he("Do",function(e,t){t[ve]=w(e.match(Z)[0])});var ln=Te("Date",!0);W("DDD",["DDDD",3],"DDDo","dayOfYear"),P("dayOfYear","DDD"),z("dayOfYear",4),le("DDD",Q),le("DDDD",q),he(["DDD","DDDD"],function(e,t,n){n._dayOfYear=w(e)}),W("m",["mm",2],0,"minute"),P("minute","m"),z("minute",14),le("m",Z),le("mm",Z,U),he(["m","mm"],ye);var cn=Te("Minutes",!1);W("s",["ss",2],0,"second"),P("second","s"),z("second",15),le("s",Z),le("ss",Z,U),he(["s","ss"],be);var dn,un=Te("Seconds",!1);for(W("S",0,0,function(){return~~(this.millisecond()/100)}),W(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),W(0,["SSS",3],0,"millisecond"),W(0,["SSSS",4],0,function(){return 10*this.millisecond()}),W(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),W(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),W(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),W(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),W(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),P("millisecond","ms"),z("millisecond",16),le("S",Q,G),le("SS",Q,U),le("SSS",Q,q),dn="SSSS";dn.length<=9;dn+="S")le(dn,ne);function hn(e,t){t[xe]=w(1e3*("0."+e))}for(dn="S";dn.length<=9;dn+="S")he(dn,hn);var fn=Te("Milliseconds",!1);W("z",0,0,"zoneAbbr"),W("zz",0,0,"zoneName");var gn=b.prototype;function pn(e){return e}gn.add=$t,gn.calendar=function(e,t){var n=e||Lt(),i=Nt(n,this).startOf("day"),r=h.calendarFormat(this,i)||"sameElse",a=t&&(L(t[r])?t[r].call(this,n):t[r]);return this.format(a||this.localeData().calendar(r,this,Lt(n)))},gn.clone=function(){return new b(this)},gn.diff=function(e,t,n){var i,r,a;if(!this.isValid())return NaN;if(!(i=Nt(e,this)).isValid())return NaN;switch(r=6e4*(i.utcOffset()-this.utcOffset()),t=D(t)){case"year":a=Kt(this,i)/12;break;case"month":a=Kt(this,i);break;case"quarter":a=Kt(this,i)/3;break;case"second":a=(this-i)/1e3;break;case"minute":a=(this-i)/6e4;break;case"hour":a=(this-i)/36e5;break;case"day":a=(this-i-r)/864e5;break;case"week":a=(this-i-r)/6048e5;break;default:a=this-i}return n?a:M(a)},gn.endOf=function(e){var t;if(void 0===(e=D(e))||"millisecond"===e||!this.isValid())return this;var n=this._isUTC?an:rn;switch(e){case"year":t=n(this.year()+1,0,1)-1;break;case"quarter":t=n(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=n(this.year(),this.month()+1,1)-1;break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=n(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=36e5-nn(t+(this._isUTC?0:6e4*this.utcOffset()),36e5)-1;break;case"minute":t=this._d.valueOf(),t+=6e4-nn(t,6e4)-1;break;case"second":t=this._d.valueOf(),t+=1e3-nn(t,1e3)-1}return this._d.setTime(t),h.updateOffset(this,!0),this},gn.format=function(e){e=e||(this.isUtc()?h.defaultFormatUtc:h.defaultFormat);var t=j(this,e);return this.localeData().postformat(t)},gn.from=function(e,t){return this.isValid()&&(x(e)&&e.isValid()||Lt(e).isValid())?Yt({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},gn.fromNow=function(e){return this.from(Lt(),e)},gn.to=function(e,t){return this.isValid()&&(x(e)&&e.isValid()||Lt(e).isValid())?Yt({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()},gn.toNow=function(e){return this.to(Lt(),e)},gn.get=function(e){return L(this[e=D(e)])?this[e]():this},gn.invalidAt=function(){return g(this).overflow},gn.isAfter=function(e,t){var n=x(e)?e:Lt(e);return!(!this.isValid()||!n.isValid())&&("millisecond"===(t=D(t)||"millisecond")?this.valueOf()>n.valueOf():n.valueOf()<this.clone().startOf(t).valueOf())},gn.isBefore=function(e,t){var n=x(e)?e:Lt(e);return!(!this.isValid()||!n.isValid())&&("millisecond"===(t=D(t)||"millisecond")?this.valueOf()<n.valueOf():this.clone().endOf(t).valueOf()<n.valueOf())},gn.isBetween=function(e,t,n,i){var r=x(e)?e:Lt(e),a=x(t)?t:Lt(t);return!!(this.isValid()&&r.isValid()&&a.isValid())&&(("("===(i=i||"()")[0]?this.isAfter(r,n):!this.isBefore(r,n))&&(")"===i[1]?this.isBefore(a,n):!this.isAfter(a,n)))},gn.isSame=function(e,t){var n,i=x(e)?e:Lt(e);return!(!this.isValid()||!i.isValid())&&("millisecond"===(t=D(t)||"millisecond")?this.valueOf()===i.valueOf():(n=i.valueOf(),this.clone().startOf(t).valueOf()<=n&&n<=this.clone().endOf(t).valueOf()))},gn.isSameOrAfter=function(e,t){return this.isSame(e,t)||this.isAfter(e,t)},gn.isSameOrBefore=function(e,t){return this.isSame(e,t)||this.isBefore(e,t)},gn.isValid=function(){return p(this)},gn.lang=Qt,gn.locale=Jt,gn.localeData=en,gn.max=Et,gn.min=At,gn.parsingFlags=function(){return d({},g(this))},gn.set=function(e,t){if("object"==typeof e)for(var n=function(e){var t=[];for(var n in e)t.push({unit:n,priority:R[n]});return t.sort(function(e,t){return e.priority-t.priority}),t}(e=V(e)),i=0;i<n.length;i++)this[n[i].unit](e[n[i].unit]);else if(L(this[e=D(e)]))return this[e](t);return this},gn.startOf=function(e){var t;if(void 0===(e=D(e))||"millisecond"===e||!this.isValid())return this;var n=this._isUTC?an:rn;switch(e){case"year":t=n(this.year(),0,1);break;case"quarter":t=n(this.year(),this.month()-this.month()%3,1);break;case"month":t=n(this.year(),this.month(),1);break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":t=n(this.year(),this.month(),this.date());break;case"hour":t=this._d.valueOf(),t-=nn(t+(this._isUTC?0:6e4*this.utcOffset()),36e5);break;case"minute":t=this._d.valueOf(),t-=nn(t,6e4);break;case"second":t=this._d.valueOf(),t-=nn(t,1e3)}return this._d.setTime(t),h.updateOffset(this,!0),this},gn.subtract=Zt,gn.toArray=function(){return[this.year(),this.month(),this.date(),this.hour(),this.minute(),this.second(),this.millisecond()]},gn.toObject=function(){return{years:this.year(),months:this.month(),date:this.date(),hours:this.hours(),minutes:this.minutes(),seconds:this.seconds(),milliseconds:this.milliseconds()}},gn.toDate=function(){return new Date(this.valueOf())},gn.toISOString=function(e){if(!this.isValid())return null;var t=!0!==e,n=t?this.clone().utc():this;return n.year()<0||9999<n.year()?j(n,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):L(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",j(n,"Z")):j(n,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},gn.inspect=function(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e="moment",t="";this.isLocal()||(e=0===this.utcOffset()?"moment.utc":"moment.parseZone",t="Z");var n="["+e+'("]',i=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",r=t+'[")]';return this.format(n+i+"-MM-DD[T]HH:mm:ss.SSS"+r)},gn.toJSON=function(){return this.isValid()?this.toISOString():null},gn.toString=function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},gn.unix=function(){return Math.floor(this.valueOf()/1e3)},gn.valueOf=function(){return this._d.valueOf()-6e4*(this._offset||0)},gn.creationData=function(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},gn.year=ke,gn.isLeapYear=function(){return Se(this.year())},gn.weekYear=function(e){return sn.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)},gn.isoWeekYear=function(e){return sn.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)},gn.quarter=gn.quarters=function(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)},gn.month=Re,gn.daysInMonth=function(){return Ee(this.year(),this.month())},gn.week=gn.weeks=function(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")},gn.isoWeek=gn.isoWeeks=function(e){var t=We(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")},gn.weeksInYear=function(){var e=this.localeData()._week;return je(this.year(),e.dow,e.doy)},gn.isoWeeksInYear=function(){return je(this.year(),1,4)},gn.date=ln,gn.day=gn.days=function(e){if(!this.isValid())return null!=e?this:NaN;var t=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=e?(e=function(e,t){return"string"!=typeof e?e:isNaN(e)?"number"==typeof(e=t.weekdaysParse(e))?e:null:parseInt(e,10)}(e,this.localeData()),this.add(e-t,"d")):t},gn.weekday=function(e){if(!this.isValid())return null!=e?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return null==e?t:this.add(e-t,"d")},gn.isoWeekday=function(e){if(!this.isValid())return null!=e?this:NaN;if(null==e)return this.day()||7;var t=function(e,t){return"string"==typeof e?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}(e,this.localeData());return this.day(this.day()%7?t:t-7)},gn.dayOfYear=function(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==e?t:this.add(e-t,"d")},gn.hour=gn.hours=nt,gn.minute=gn.minutes=cn,gn.second=gn.seconds=un,gn.millisecond=gn.milliseconds=fn,gn.utcOffset=function(e,t,n){var i,r=this._offset||0;if(!this.isValid())return null!=e?this:NaN;if(null==e)return this._isUTC?r:It(this);if("string"==typeof e){if(null===(e=Ht(ae,e)))return this}else Math.abs(e)<16&&!n&&(e*=60);return!this._isUTC&&t&&(i=It(this)),this._offset=e,this._isUTC=!0,null!=i&&this.add(i,"m"),r!==e&&(!t||this._changeInProgress?Xt(this,Yt(e-r,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,h.updateOffset(this,!0),this._changeInProgress=null)),this},gn.utc=function(e){return this.utcOffset(0,e)},gn.local=function(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(It(this),"m")),this},gn.parseZone=function(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var e=Ht(re,this._i);null!=e?this.utcOffset(e):this.utcOffset(0,!0)}return this},gn.hasAlignedHourOffset=function(e){return!!this.isValid()&&(e=e?Lt(e).utcOffset():0,(this.utcOffset()-e)%60==0)},gn.isDST=function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},gn.isLocal=function(){return!!this.isValid()&&!this._isUTC},gn.isUtcOffset=function(){return!!this.isValid()&&this._isUTC},gn.isUtc=Ft,gn.isUTC=Ft,gn.zoneAbbr=function(){return this._isUTC?"UTC":""},gn.zoneName=function(){return this._isUTC?"Coordinated Universal Time":""},gn.dates=n("dates accessor is deprecated. Use date instead.",ln),gn.months=n("months accessor is deprecated. Use month instead",Re),gn.years=n("years accessor is deprecated. Use year instead",ke),gn.zone=n("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",function(e,t){return null!=e?("string"!=typeof e&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()}),gn.isDSTShifted=n("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",function(){if(!a(this._isDSTShifted))return this._isDSTShifted;var e={};if(y(e,this),(e=kt(e))._a){var t=e._isUTC?u(e._a):Lt(e._a);this._isDSTShifted=this.isValid()&&0<_(e._a,t.toArray())}else this._isDSTShifted=!1;return this._isDSTShifted});var vn=E.prototype;function mn(e,t,n,i){var r=dt(),a=u().set(i,t);return r[n](a,e)}function yn(e,t,n){if(l(e)&&(t=e,e=void 0),e=e||"",null!=t)return mn(e,t,n,"month");var i,r=[];for(i=0;i<12;i++)r[i]=mn(e,i,n,"month");return r}function bn(e,t,n,i){t=("boolean"==typeof e?l(t)&&(n=t,t=void 0):(t=e,e=!1,l(n=t)&&(n=t,t=void 0)),t||"");var r,a=dt(),o=e?a._week.dow:0;if(null!=n)return mn(t,(n+o)%7,i,"day");var s=[];for(r=0;r<7;r++)s[r]=mn(t,(r+o)%7,i,"day");return s}vn.calendar=function(e,t,n){var i=this._calendar[e]||this._calendar.sameElse;return L(i)?i.call(t,n):i},vn.longDateFormat=function(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.replace(/MMMM|MM|DD|dddd/g,function(e){return e.slice(1)}),this._longDateFormat[e])},vn.invalidDate=function(){return this._invalidDate},vn.ordinal=function(e){return this._ordinal.replace("%d",e)},vn.preparse=pn,vn.postformat=pn,vn.relativeTime=function(e,t,n,i){var r=this._relativeTime[n];return L(r)?r(e,t,n,i):r.replace(/%d/i,e)},vn.pastFuture=function(e,t){var n=this._relativeTime[0<e?"future":"past"];return L(n)?n(t):n.replace(/%s/i,t)},vn.set=function(e){var t,n;for(n in e)L(t=e[n])?this[n]=t:this["_"+n]=t;this._config=e,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},vn.months=function(e,t){return e?o(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||Oe).test(t)?"format":"standalone"][e.month()]:o(this._months)?this._months:this._months.standalone},vn.monthsShort=function(e,t){return e?o(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[Oe.test(t)?"format":"standalone"][e.month()]:o(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},vn.monthsParse=function(e,t,n){var i,r,a;if(this._monthsParseExact)return function(e,t,n){var i,r,a,o=e.toLocaleLowerCase();if(!this._monthsParse)for(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],i=0;i<12;++i)a=u([2e3,i]),this._shortMonthsParse[i]=this.monthsShort(a,"").toLocaleLowerCase(),this._longMonthsParse[i]=this.months(a,"").toLocaleLowerCase();return n?"MMM"===t?-1!==(r=Ce.call(this._shortMonthsParse,o))?r:null:-1!==(r=Ce.call(this._longMonthsParse,o))?r:null:"MMM"===t?-1!==(r=Ce.call(this._shortMonthsParse,o))?r:-1!==(r=Ce.call(this._longMonthsParse,o))?r:null:-1!==(r=Ce.call(this._longMonthsParse,o))?r:-1!==(r=Ce.call(this._shortMonthsParse,o))?r:null}.call(this,e,t,n);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),i=0;i<12;i++){if(r=u([2e3,i]),n&&!this._longMonthsParse[i]&&(this._longMonthsParse[i]=new RegExp("^"+this.months(r,"").replace(".","")+"$","i"),this._shortMonthsParse[i]=new RegExp("^"+this.monthsShort(r,"").replace(".","")+"$","i")),n||this._monthsParse[i]||(a="^"+this.months(r,"")+"|^"+this.monthsShort(r,""),this._monthsParse[i]=new RegExp(a.replace(".",""),"i")),n&&"MMMM"===t&&this._longMonthsParse[i].test(e))return i;if(n&&"MMM"===t&&this._shortMonthsParse[i].test(e))return i;if(!n&&this._monthsParse[i].test(e))return i}},vn.monthsRegex=function(e){return this._monthsParseExact?(f(this,"_monthsRegex")||He.call(this),e?this._monthsStrictRegex:this._monthsRegex):(f(this,"_monthsRegex")||(this._monthsRegex=Be),this._monthsStrictRegex&&e?this._monthsStrictRegex:this._monthsRegex)},vn.monthsShortRegex=function(e){return this._monthsParseExact?(f(this,"_monthsRegex")||He.call(this),e?this._monthsShortStrictRegex:this._monthsShortRegex):(f(this,"_monthsShortRegex")||(this._monthsShortRegex=ze),this._monthsShortStrictRegex&&e?this._monthsShortStrictRegex:this._monthsShortRegex)},vn.week=function(e){return We(e,this._week.dow,this._week.doy).week},vn.firstDayOfYear=function(){return this._week.doy},vn.firstDayOfWeek=function(){return this._week.dow},vn.weekdays=function(e,t){var n=o(this._weekdays)?this._weekdays:this._weekdays[e&&!0!==e&&this._weekdays.isFormat.test(t)?"format":"standalone"];return!0===e?Ye(n,this._week.dow):e?n[e.day()]:n},vn.weekdaysMin=function(e){return!0===e?Ye(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin},vn.weekdaysShort=function(e){return!0===e?Ye(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort},vn.weekdaysParse=function(e,t,n){var i,r,a;if(this._weekdaysParseExact)return function(e,t,n){var i,r,a,o=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],i=0;i<7;++i)a=u([2e3,1]).day(i),this._minWeekdaysParse[i]=this.weekdaysMin(a,"").toLocaleLowerCase(),this._shortWeekdaysParse[i]=this.weekdaysShort(a,"").toLocaleLowerCase(),this._weekdaysParse[i]=this.weekdays(a,"").toLocaleLowerCase();return n?"dddd"===t?-1!==(r=Ce.call(this._weekdaysParse,o))?r:null:"ddd"===t?-1!==(r=Ce.call(this._shortWeekdaysParse,o))?r:null:-1!==(r=Ce.call(this._minWeekdaysParse,o))?r:null:"dddd"===t?-1!==(r=Ce.call(this._weekdaysParse,o))?r:-1!==(r=Ce.call(this._shortWeekdaysParse,o))?r:-1!==(r=Ce.call(this._minWeekdaysParse,o))?r:null:"ddd"===t?-1!==(r=Ce.call(this._shortWeekdaysParse,o))?r:-1!==(r=Ce.call(this._weekdaysParse,o))?r:-1!==(r=Ce.call(this._minWeekdaysParse,o))?r:null:-1!==(r=Ce.call(this._minWeekdaysParse,o))?r:-1!==(r=Ce.call(this._weekdaysParse,o))?r:-1!==(r=Ce.call(this._shortWeekdaysParse,o))?r:null}.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),i=0;i<7;i++){if(r=u([2e3,1]).day(i),n&&!this._fullWeekdaysParse[i]&&(this._fullWeekdaysParse[i]=new RegExp("^"+this.weekdays(r,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[i]=new RegExp("^"+this.weekdaysShort(r,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[i]=new RegExp("^"+this.weekdaysMin(r,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[i]||(a="^"+this.weekdays(r,"")+"|^"+this.weekdaysShort(r,"")+"|^"+this.weekdaysMin(r,""),this._weekdaysParse[i]=new RegExp(a.replace(".",""),"i")),n&&"dddd"===t&&this._fullWeekdaysParse[i].test(e))return i;if(n&&"ddd"===t&&this._shortWeekdaysParse[i].test(e))return i;if(n&&"dd"===t&&this._minWeekdaysParse[i].test(e))return i;if(!n&&this._weekdaysParse[i].test(e))return i}},vn.weekdaysRegex=function(e){return this._weekdaysParseExact?(f(this,"_weekdaysRegex")||Ke.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(f(this,"_weekdaysRegex")||(this._weekdaysRegex=Xe),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)},vn.weekdaysShortRegex=function(e){return this._weekdaysParseExact?(f(this,"_weekdaysRegex")||Ke.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(f(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=$e),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},vn.weekdaysMinRegex=function(e){return this._weekdaysParseExact?(f(this,"_weekdaysRegex")||Ke.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(f(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Ze),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},vn.isPM=function(e){return"p"===(e+"").toLowerCase().charAt(0)},vn.meridiem=function(e,t,n){return 11<e?n?"pm":"PM":n?"am":"AM"},lt("en",{dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10;return e+(1===w(e%100/10)?"th":1==t?"st":2==t?"nd":3==t?"rd":"th")}}),h.lang=n("moment.lang is deprecated. Use moment.locale instead.",lt),h.langData=n("moment.langData is deprecated. Use moment.localeData instead.",dt);var xn=Math.abs;function Mn(e,t,n,i){var r=Yt(t,n);return e._milliseconds+=i*r._milliseconds,e._days+=i*r._days,e._months+=i*r._months,e._bubble()}function wn(e){return e<0?Math.floor(e):Math.ceil(e)}function _n(e){return 4800*e/146097}function Sn(e){return 146097*e/4800}function Cn(e){return function(){return this.as(e)}}var kn=Cn("ms"),Tn=Cn("s"),Ln=Cn("m"),An=Cn("h"),En=Cn("d"),On=Cn("w"),Pn=Cn("M"),Dn=Cn("Q"),Vn=Cn("y");function Rn(e){return function(){return this.isValid()?this._data[e]:NaN}}var zn=Rn("milliseconds"),Bn=Rn("seconds"),Hn=Rn("minutes"),Nn=Rn("hours"),In=Rn("days"),Fn=Rn("months"),Wn=Rn("years");var jn=Math.round,Yn={ss:44,s:45,m:45,h:22,d:26,M:11};var Gn=Math.abs;function Un(e){return(0<e)-(e<0)||+e}function qn(){if(!this.isValid())return this.localeData().invalidDate();var e,t,n=Gn(this._milliseconds)/1e3,i=Gn(this._days),r=Gn(this._months);t=M((e=M(n/60))/60),n%=60,e%=60;var a=M(r/12),o=r%=12,s=i,l=t,c=e,d=n?n.toFixed(3).replace(/\.?0+$/,""):"",u=this.asSeconds();if(!u)return"P0D";var h=u<0?"-":"",f=Un(this._months)!==Un(u)?"-":"",g=Un(this._days)!==Un(u)?"-":"",p=Un(this._milliseconds)!==Un(u)?"-":"";return h+"P"+(a?f+a+"Y":"")+(o?f+o+"M":"")+(s?g+s+"D":"")+(l||c||d?"T":"")+(l?p+l+"H":"")+(c?p+c+"M":"")+(d?p+d+"S":"")}var Xn=Dt.prototype;return Xn.isValid=function(){return this._isValid},Xn.abs=function(){var e=this._data;return this._milliseconds=xn(this._milliseconds),this._days=xn(this._days),this._months=xn(this._months),e.milliseconds=xn(e.milliseconds),e.seconds=xn(e.seconds),e.minutes=xn(e.minutes),e.hours=xn(e.hours),e.months=xn(e.months),e.years=xn(e.years),this},Xn.add=function(e,t){return Mn(this,e,t,1)},Xn.subtract=function(e,t){return Mn(this,e,t,-1)},Xn.as=function(e){if(!this.isValid())return NaN;var t,n,i=this._milliseconds;if("month"===(e=D(e))||"quarter"===e||"year"===e)switch(t=this._days+i/864e5,n=this._months+_n(t),e){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(t=this._days+Math.round(Sn(this._months)),e){case"week":return t/7+i/6048e5;case"day":return t+i/864e5;case"hour":return 24*t+i/36e5;case"minute":return 1440*t+i/6e4;case"second":return 86400*t+i/1e3;case"millisecond":return Math.floor(864e5*t)+i;default:throw new Error("Unknown unit "+e)}},Xn.asMilliseconds=kn,Xn.asSeconds=Tn,Xn.asMinutes=Ln,Xn.asHours=An,Xn.asDays=En,Xn.asWeeks=On,Xn.asMonths=Pn,Xn.asQuarters=Dn,Xn.asYears=Vn,Xn.valueOf=function(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*w(this._months/12):NaN},Xn._bubble=function(){var e,t,n,i,r,a=this._milliseconds,o=this._days,s=this._months,l=this._data;return 0<=a&&0<=o&&0<=s||a<=0&&o<=0&&s<=0||(a+=864e5*wn(Sn(s)+o),s=o=0),l.milliseconds=a%1e3,e=M(a/1e3),l.seconds=e%60,t=M(e/60),l.minutes=t%60,n=M(t/60),l.hours=n%24,s+=r=M(_n(o+=M(n/24))),o-=wn(Sn(r)),i=M(s/12),s%=12,l.days=o,l.months=s,l.years=i,this},Xn.clone=function(){return Yt(this)},Xn.get=function(e){return e=D(e),this.isValid()?this[e+"s"]():NaN},Xn.milliseconds=zn,Xn.seconds=Bn,Xn.minutes=Hn,Xn.hours=Nn,Xn.days=In,Xn.weeks=function(){return M(this.days()/7)},Xn.months=Fn,Xn.years=Wn,Xn.humanize=function(e){if(!this.isValid())return this.localeData().invalidDate();var t=this.localeData(),n=function(e,t,n){var i=Yt(e).abs(),r=jn(i.as("s")),a=jn(i.as("m")),o=jn(i.as("h")),s=jn(i.as("d")),l=jn(i.as("M")),c=jn(i.as("y")),d=r<=Yn.ss&&["s",r]||r<Yn.s&&["ss",r]||a<=1&&["m"]||a<Yn.m&&["mm",a]||o<=1&&["h"]||o<Yn.h&&["hh",o]||s<=1&&["d"]||s<Yn.d&&["dd",s]||l<=1&&["M"]||l<Yn.M&&["MM",l]||c<=1&&["y"]||["yy",c];return d[2]=t,d[3]=0<+e,d[4]=n,function(e,t,n,i,r){return r.relativeTime(t||1,!!n,e,i)}.apply(null,d)}(this,!e,t);return e&&(n=t.pastFuture(+this,n)),t.postformat(n)},Xn.toISOString=qn,Xn.toString=qn,Xn.toJSON=qn,Xn.locale=Jt,Xn.localeData=en,Xn.toIsoString=n("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",qn),Xn.lang=Qt,W("X",0,0,"unix"),W("x",0,0,"valueOf"),le("x",ie),le("X",/[+-]?\d+(\.\d{1,3})?/),he("X",function(e,t,n){n._d=new Date(1e3*parseFloat(e,10))}),he("x",function(e,t,n){n._d=new Date(w(e))}),h.version="2.24.0",e=Lt,h.fn=gn,h.min=function(){return Ot("isBefore",[].slice.call(arguments,0))},h.max=function(){return Ot("isAfter",[].slice.call(arguments,0))},h.now=function(){return Date.now?Date.now():+new Date},h.utc=u,h.unix=function(e){return Lt(1e3*e)},h.months=function(e,t){return yn(e,t,"months")},h.isDate=c,h.locale=lt,h.invalid=v,h.duration=Yt,h.isMoment=x,h.weekdays=function(e,t,n){return bn(e,t,n,"weekdays")},h.parseZone=function(){return Lt.apply(null,arguments).parseZone()},h.localeData=dt,h.isDuration=Vt,h.monthsShort=function(e,t){return yn(e,t,"monthsShort")},h.weekdaysMin=function(e,t,n){return bn(e,t,n,"weekdaysMin")},h.defineLocale=ct,h.updateLocale=function(e,t){if(null!=t){var n,i,r=it;null!=(i=st(e))&&(r=i._config),(n=new E(t=A(r,t))).parentLocale=rt[e],rt[e]=n,lt(e)}else null!=rt[e]&&(null!=rt[e].parentLocale?rt[e]=rt[e].parentLocale:null!=rt[e]&&delete rt[e]);return rt[e]},h.locales=function(){return C(rt)},h.weekdaysShort=function(e,t,n){return bn(e,t,n,"weekdaysShort")},h.normalizeUnits=D,h.relativeTimeRounding=function(e){return void 0===e?jn:"function"==typeof e&&(jn=e,!0)},h.relativeTimeThreshold=function(e,t){return void 0!==Yn[e]&&(void 0===t?Yn[e]:(Yn[e]=t,"s"===e&&(Yn.ss=t-1),!0))},h.calendarFormat=function(e,t){var n=e.diff(t,"days",!0);return n<-6?"sameElse":n<-1?"lastWeek":n<0?"lastDay":n<1?"sameDay":n<2?"nextDay":n<7?"nextWeek":"sameElse"},h.prototype=gn,h.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"},h},"object"==typeof e&&void 0!==Zn?Zn.exports=n():"function"==typeof define&&define.amd?define(n):t.moment=n()},{}],3:[function(e,n,i){(function(Fr){var e,t;e=this,t=function(){"use strict";var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==Fr?Fr:"undefined"!=typeof self?self:{};function t(e,t){return e(t={exports:{}},t.exports),t.exports}function n(e){return e&&e.Math==Math&&e}function v(e){try{return!!e()}catch(e){return!0}}function x(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}function r(e){return C.call(e).slice(8,-1)}function l(e){if(null==e)throw TypeError("Can't call method on "+e);return e}function d(e){return T(l(e))}function m(e){return"object"==typeof e?null!==e:"function"==typeof e}function i(e,t){if(!m(e))return e;var n,i;if(t&&"function"==typeof(n=e.toString)&&!m(i=n.call(e)))return i;if("function"==typeof(n=e.valueOf)&&!m(i=n.call(e)))return i;if(!t&&"function"==typeof(n=e.toString)&&!m(i=n.call(e)))return i;throw TypeError("Can't convert object to primitive value")}function c(e,t){return L.call(e,t)}function a(e){return E?A.createElement(e):{}}function S(e){if(!m(e))throw TypeError(String(e)+" is not an object");return e}function u(t,n){try{z(y,t,n)}catch(e){y[t]=n}return n}function s(e){return"Symbol("+String(void 0===e?"":e)+")_"+(++F+W).toString(36)}function o(e){return j[e]||(j[e]=s(e))}var h,f,g,p="object",y=n(typeof globalThis==p&&globalThis)||n(typeof window==p&&window)||n(typeof self==p&&self)||n(typeof e==p&&e)||Function("return this")(),b=!v(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}),M={}.propertyIsEnumerable,w=Object.getOwnPropertyDescriptor,_={f:w&&!M.call({1:2},1)?function(e){var t=w(this,e);return!!t&&t.enumerable}:M},C={}.toString,k="".split,T=v(function(){return!Object("z").propertyIsEnumerable(0)})?function(e){return"String"==r(e)?k.call(e,""):Object(e)}:Object,L={}.hasOwnProperty,A=y.document,E=m(A)&&m(A.createElement),O=!b&&!v(function(){return 7!=Object.defineProperty(a("div"),"a",{get:function(){return 7}}).a}),P=Object.getOwnPropertyDescriptor,D={f:b?P:function(e,t){if(e=d(e),t=i(t,!0),O)try{return P(e,t)}catch(e){}if(c(e,t))return x(!_.f.call(e,t),e[t])}},V=Object.defineProperty,R={f:b?V:function(e,t,n){if(S(e),t=i(t,!0),S(n),O)try{return V(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},z=b?function(e,t,n){return R.f(e,t,x(1,n))}:function(e,t,n){return e[t]=n,e},B=t(function(e){var n=y["__core-js_shared__"]||u("__core-js_shared__",{});(e.exports=function(e,t){return n[e]||(n[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.2.1",mode:"global",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})}),H=B("native-function-to-string",Function.toString),N=y.WeakMap,I="function"==typeof N&&/native code/.test(H.call(N)),F=0,W=Math.random(),j=B("keys"),Y={},G=y.WeakMap;if(I){var U=new G,q=U.get,X=U.has,$=U.set;h=function(e,t){return $.call(U,e,t),t},f=function(e){return q.call(U,e)||{}},g=function(e){return X.call(U,e)}}else{var Z=o("state");Y[Z]=!0,h=function(e,t){return z(e,Z,t),t},f=function(e){return c(e,Z)?e[Z]:{}},g=function(e){return c(e,Z)}}function K(e){return"function"==typeof e?e:void 0}function J(e,t){return arguments.length<2?K(pe[e])||K(y[e]):pe[e]&&pe[e][t]||y[e]&&y[e][t]}function Q(e){return isNaN(e=+e)?0:(0<e?me:ve)(e)}function ee(e){return 0<e?ye(Q(e),9007199254740991):0}function te(c){return function(e,t,n){var i,r,a,o=d(e),s=ee(o.length),l=(r=s,(a=Q(n))<0?be(a+r,0):xe(a,r));if(c&&t!=t){for(;l<s;)if((i=o[l++])!=i)return!0}else for(;l<s;l++)if((c||l in o)&&o[l]===t)return c||l||0;return!c&&-1}}function ne(e,t){var n,i=d(e),r=0,a=[];for(n in i)!c(Y,n)&&c(i,n)&&a.push(n);for(;t.length>r;)c(i,n=t[r++])&&(~Me(a,n)||a.push(n));return a}function ie(e,t){for(var n=ke(t),i=R.f,r=D.f,a=0;a<n.length;a++){var o=n[a];c(e,o)||i(e,o,r(t,o))}}function re(e,t){var n=Ae[Le(e)];return n==Oe||n!=Ee&&("function"==typeof t?v(t):!!t)}function ae(e,t){var n,i,r,a,o,s=e.target,l=e.global,c=e.stat;if(n=l?y:c?y[s]||u(s,{}):(y[s]||{}).prototype)for(i in t){if(a=t[i],r=e.noTargetGet?(o=De(n,i))&&o.value:n[i],!Pe(l?i:s+(c?".":"#")+i,e.forced)&&void 0!==r){if(typeof a==typeof r)continue;ie(a,r)}(e.sham||r&&r.sham)&&z(a,"sham",!0),ge(n,i,a,e)}}function oe(e){if("function"!=typeof e)throw TypeError(String(e)+" is not a function");return e}function se(i,r,e){if(oe(i),void 0===r)return i;switch(e){case 0:return function(){return i.call(r)};case 1:return function(e){return i.call(r,e)};case 2:return function(e,t){return i.call(r,e,t)};case 3:return function(e,t,n){return i.call(r,e,t,n)}}return function(){return i.apply(r,arguments)}}function le(e){return Object(l(e))}function ce(e){return Be[e]||(Be[e]=Re&&ze[e]||(Re?ze:s)("Symbol."+e))}function de(e,t){var n;return Ve(e)&&("function"!=typeof(n=e.constructor)||n!==Array&&!Ve(n.prototype)?m(n)&&null===(n=n[He])&&(n=void 0):n=void 0),new(void 0===n?Array:n)(0===t?0:t)}function ue(f){var g=1==f,p=2==f,v=3==f,m=4==f,y=6==f,b=5==f||y;return function(e,t,n,i){for(var r,a,o=le(e),s=T(o),l=se(t,n,3),c=ee(s.length),d=0,u=i||de,h=g?u(e,c):p?u(e,0):void 0;d<c;d++)if((b||d in s)&&(a=l(r=s[d],d,o),f))if(g)h[d]=a;else if(a)switch(f){case 3:return!0;case 5:return r;case 6:return d;case 2:Ne.call(h,r)}else if(m)return!1;return y?-1:v||m?m:h}}function he(e,t){var n=[][e];return!n||!v(function(){n.call(null,t||function(){throw 1},1)})}var fe={set:h,get:f,has:g,enforce:function(e){return g(e)?f(e):h(e,{})},getterFor:function(n){return function(e){var t;if(!m(e)||(t=f(e)).type!==n)throw TypeError("Incompatible receiver, "+n+" required");return t}}},ge=t(function(e){var t=fe.get,s=fe.enforce,l=String(H).split("toString");B("inspectSource",function(e){return H.call(e)}),(e.exports=function(e,t,n,i){var r=!!i&&!!i.unsafe,a=!!i&&!!i.enumerable,o=!!i&&!!i.noTargetGet;"function"==typeof n&&("string"!=typeof t||c(n,"name")||z(n,"name",t),s(n).source=l.join("string"==typeof t?t:"")),e!==y?(r?!o&&e[t]&&(a=!0):delete e[t],a?e[t]=n:z(e,t,n)):a?e[t]=n:u(t,n)})(Function.prototype,"toString",function(){return"function"==typeof this&&t(this).source||H.call(this)})}),pe=y,ve=Math.ceil,me=Math.floor,ye=Math.min,be=Math.max,xe=Math.min,Me=(te(!0),te(!1)),we=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],_e=we.concat("length","prototype"),Se={f:Object.getOwnPropertyNames||function(e){return ne(e,_e)}},Ce={f:Object.getOwnPropertySymbols},ke=J("Reflect","ownKeys")||function(e){var t=Se.f(S(e)),n=Ce.f;return n?t.concat(n(e)):t},Te=/#|\.prototype\./,Le=re.normalize=function(e){return String(e).replace(Te,".").toLowerCase()},Ae=re.data={},Ee=re.NATIVE="N",Oe=re.POLYFILL="P",Pe=re,De=D.f,Ve=Array.isArray||function(e){return"Array"==r(e)},Re=!!Object.getOwnPropertySymbols&&!v(function(){return!String(Symbol())}),ze=y.Symbol,Be=B("wks"),He=ce("species"),Ne=[].push,Ie={forEach:ue(0),map:ue(1),filter:ue(2),some:ue(3),every:ue(4),find:ue(5),findIndex:ue(6)},Fe=Ie.forEach,We=he("forEach")?function(e){return Fe(this,e,1<arguments.length?arguments[1]:void 0)}:[].forEach;ae({target:"Array",proto:!0,forced:[].forEach!=We},{forEach:We});var je={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0};for(var Ye in je){var Ge=y[Ye],Ue=Ge&&Ge.prototype;if(Ue&&Ue.forEach!==We)try{z(Ue,"forEach",We)}catch(e){Ue.forEach=We}}var qe=!("undefined"==typeof window||!window.document||!window.document.createElement),Xe=ce("species"),$e=Ie.filter;ae({target:"Array",proto:!0,forced:!!v(function(){var e=[];return(e.constructor={})[Xe]=function(){return{foo:1}},1!==e.filter(Boolean).foo})},{filter:function(e){return $e(this,e,1<arguments.length?arguments[1]:void 0)}});function Ze(){}var Ke=Object.keys||function(e){return ne(e,we)},Je=b?Object.defineProperties:function(e,t){S(e);for(var n,i=Ke(t),r=i.length,a=0;a<r;)R.f(e,n=i[a++],t[n]);return e},Qe=J("document","documentElement"),et=o("IE_PROTO"),tt=function(){var e,t=a("iframe"),n=we.length;for(t.style.display="none",Qe.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write("<script>document.F=Object<\/script>"),e.close(),tt=e.F;n--;)delete tt.prototype[we[n]];return tt()},nt=Object.create||function(e,t){var n;return null!==e?(Ze.prototype=S(e),n=new Ze,Ze.prototype=null,n[et]=e):n=tt(),void 0===t?n:Je(n,t)};Y[et]=!0;var it=ce("unscopables"),rt=Array.prototype;null==rt[it]&&z(rt,it,nt(null));function at(e){rt[it][e]=!0}var ot,st,lt,ct={},dt=!v(function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}),ut=o("IE_PROTO"),ht=Object.prototype,ft=dt?Object.getPrototypeOf:function(e){return e=le(e),c(e,ut)?e[ut]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?ht:null},gt=ce("iterator"),pt=!1;[].keys&&("next"in(lt=[].keys())?(st=ft(ft(lt)))!==Object.prototype&&(ot=st):pt=!0),null==ot&&(ot={}),c(ot,gt)||z(ot,gt,function(){return this});function vt(e,t,n){e&&!c(e=n?e:e.prototype,wt)&&Mt(e,wt,{configurable:!0,value:t})}function mt(){return this}function yt(){return this}function bt(e,t,n,i,r,a,o){var s,l,c;function d(e){if(e===r&&y)return y;if(!kt&&e in v)return v[e];switch(e){case"keys":case"values":case"entries":return function(){return new n(this,e)}}return function(){return new n(this)}}l=i,c=t+" Iterator",(s=n).prototype=nt(_t,{next:x(1,l)}),vt(s,c,!1),ct[c]=mt;var u,h,f,g=t+" Iterator",p=!1,v=e.prototype,m=v[Tt]||v["@@iterator"]||r&&v[r],y=!kt&&m||d(r),b="Array"==t&&v.entries||m;if(b&&(u=ft(b.call(new e)),Ct!==Object.prototype&&u.next&&(ft(u)!==Ct&&(St?St(u,Ct):"function"!=typeof u[Tt]&&z(u,Tt,yt)),vt(u,g,!0))),"values"==r&&m&&"values"!==m.name&&(p=!0,y=function(){return m.call(this)}),v[Tt]!==y&&z(v,Tt,y),ct[t]=y,r)if(h={values:d("values"),keys:a?y:d("keys"),entries:d("entries")},o)for(f in h)!kt&&!p&&f in v||ge(v,f,h[f]);else ae({target:t,proto:!0,forced:kt||p},h);return h}var xt={IteratorPrototype:ot,BUGGY_SAFARI_ITERATORS:pt},Mt=R.f,wt=ce("toStringTag"),_t=xt.IteratorPrototype,St=Object.setPrototypeOf||("__proto__"in{}?function(){var n,i=!1,e={};try{(n=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(e,[]),i=e instanceof Array}catch(n){}return function(e,t){return S(e),function(e){if(!m(e)&&null!==e)throw TypeError("Can't set "+String(e)+" as a prototype")}(t),i?n.call(e,t):e.__proto__=t,e}}():void 0),Ct=xt.IteratorPrototype,kt=xt.BUGGY_SAFARI_ITERATORS,Tt=ce("iterator"),Lt=fe.set,At=fe.getterFor("Array Iterator"),Et=bt(Array,"Array",function(e,t){Lt(this,{type:"Array Iterator",target:d(e),index:0,kind:t})},function(){var e=At(this),t=e.target,n=e.kind,i=e.index++;return!t||i>=t.length?{value:e.target=void 0,done:!0}:"keys"==n?{value:i,done:!1}:"values"==n?{value:t[i],done:!1}:{value:[i,t[i]],done:!1}},"values");ct.Arguments=ct.Array,at("keys"),at("values"),at("entries");var Ot=Object.assign,Pt=!Ot||v(function(){var e={},t={},n=Symbol();return e[n]=7,"abcdefghijklmnopqrst".split("").forEach(function(e){t[e]=e}),7!=Ot({},e)[n]||"abcdefghijklmnopqrst"!=Ke(Ot({},t)).join("")})?function(e,t){for(var n=le(e),i=arguments.length,r=1,a=Ce.f,o=_.f;r<i;)for(var s,l=T(arguments[r++]),c=a?Ke(l).concat(a(l)):Ke(l),d=c.length,u=0;u<d;)s=c[u++],b&&!o.call(l,s)||(n[s]=l[s]);return n}:Ot;ae({target:"Object",stat:!0,forced:Object.assign!==Pt},{assign:Pt});function Dt(e){var t,n,i;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=Object(e),Vt))?n:Rt?r(t):"Object"==(i=r(t))&&"function"==typeof t.callee?"Arguments":i}var Vt=ce("toStringTag"),Rt="Arguments"==r(function(){return arguments}()),zt={};zt[ce("toStringTag")]="z";var Bt="[object z]"!==String(zt)?function(){return"[object "+Dt(this)+"]"}:zt.toString,Ht=Object.prototype;Bt!==Ht.toString&&ge(Ht,"toString",Bt,{unsafe:!0});function Nt(n){return function(e){var t=String(l(e));return 1&n&&(t=t.replace(Wt,"")),2&n&&(t=t.replace(jt,"")),t}}var It="\t\n\v\f\r                　\u2028\u2029\ufeff",Ft="["+It+"]",Wt=RegExp("^"+Ft+Ft+"*"),jt=RegExp(Ft+Ft+"*$"),Yt=(Nt(1),Nt(2),Nt(3)),Gt=y.parseInt,Ut=/^[+-]?0[Xx]/,qt=8!==Gt(It+"08")||22!==Gt(It+"0x16")?function(e,t){var n=Yt(String(e));return Gt(n,t>>>0||(Ut.test(n)?16:10))}:Gt;ae({global:!0,forced:parseInt!=qt},{parseInt:qt});function Xt(s){return function(e,t){var n,i,r=String(l(e)),a=Q(t),o=r.length;return a<0||o<=a?s?"":void 0:(n=r.charCodeAt(a))<55296||56319<n||a+1===o||(i=r.charCodeAt(a+1))<56320||57343<i?s?r.charAt(a):n:s?r.slice(a,a+2):i-56320+(n-55296<<10)+65536}}var $t={codeAt:Xt(!1),charAt:Xt(!0)},Zt=$t.charAt,Kt=fe.set,Jt=fe.getterFor("String Iterator");bt(String,"String",function(e){Kt(this,{type:"String Iterator",string:String(e),index:0})},function(){var e,t=Jt(this),n=t.string,i=t.index;return i>=n.length?{value:void 0,done:!0}:(e=Zt(n,i),t.index+=e.length,{value:e,done:!1})});function Qt(e,t,n){for(var i in t)ge(e,i,t[i],n);return e}function en(e,t,n,i){try{return i?t(S(n)[0],n[1]):t(n)}catch(t){var r=e.return;throw void 0!==r&&S(r.call(e)),t}}function tn(e,t,n){if(!(e instanceof t))throw TypeError("Incorrect "+(n?n+" ":"")+"invocation");return e}var nn=!v(function(){return Object.isExtensible(Object.preventExtensions({}))}),rn=t(function(e){function n(e){t(e,i,{value:{objectID:"O"+ ++r,weakData:{}}})}var t=R.f,i=s("meta"),r=0,a=Object.isExtensible||function(){return!0},o=e.exports={REQUIRED:!1,fastKey:function(e,t){if(!m(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!c(e,i)){if(!a(e))return"F";if(!t)return"E";n(e)}return e[i].objectID},getWeakData:function(e,t){if(!c(e,i)){if(!a(e))return!0;if(!t)return!1;n(e)}return e[i].weakData},onFreeze:function(e){return nn&&o.REQUIRED&&a(e)&&!c(e,i)&&n(e),e}};Y[i]=!0}),an=(rn.REQUIRED,rn.fastKey,rn.getWeakData,rn.onFreeze,ce("iterator")),on=Array.prototype,sn=ce("iterator"),ln=t(function(e){function f(e,t){this.stopped=e,this.result=t}(e.exports=function(e,t,n,i,r){var a,o,s,l,c,d,u,h=se(t,n,i?2:1);if(r)a=e;else{if("function"!=typeof(o=function(e){if(null!=e)return e[sn]||e["@@iterator"]||ct[Dt(e)]}(e)))throw TypeError("Target is not iterable");if(void 0!==(u=o)&&(ct.Array===u||on[an]===u)){for(s=0,l=ee(e.length);s<l;s++)if((c=i?h(S(d=e[s])[0],d[1]):h(e[s]))&&c instanceof f)return c;return new f(!1)}a=o.call(e)}for(;!(d=a.next()).done;)if((c=en(a,h,d.value,i))&&c instanceof f)return c;return new f(!1)}).stop=function(e){return new f(!0,e)}}),cn=ce("iterator"),dn=!1;try{var un=0,hn={next:function(){return{done:!!un++}},return:function(){dn=!0}};hn[cn]=function(){return this},Array.from(hn,function(){throw 2})}catch(e){}function fn(s,e,t,l,i){function n(e){var n=r[e];ge(r,e,"add"==e?function(e){return n.call(this,0===e?0:e),this}:"delete"==e?function(e){return!(i&&!m(e))&&n.call(this,0===e?0:e)}:"get"==e?function(e){return i&&!m(e)?void 0:n.call(this,0===e?0:e)}:"has"==e?function(e){return!(i&&!m(e))&&n.call(this,0===e?0:e)}:function(e,t){return n.call(this,0===e?0:e,t),this})}var c=y[s],r=c&&c.prototype,d=c,u=l?"set":"add",a={};if(Pe(s,"function"!=typeof c||!(i||r.forEach&&!v(function(){(new c).entries().next()}))))d=t.getConstructor(e,s,l,u),rn.REQUIRED=!0;else if(Pe(s,!0)){var o=new d,h=o[u](i?{}:-0,1)!=o,f=v(function(){o.has(1)}),g=function(){if(!dn)return!1;var e=!1;try{var t={};t[cn]=function(){return{next:function(){return{done:e=!0}}}},function(e){new c(e)}(t)}catch(e){}return e}(),p=!i&&v(function(){for(var e=new c,t=5;t--;)e[u](t,t);return!e.has(-0)});g||(((d=e(function(e,t){tn(e,d,s);var n,i,r,a,o=(n=new c,i=d,St&&"function"==typeof(r=e.constructor)&&r!==i&&m(a=r.prototype)&&a!==i.prototype&&St(n,a),n);return null!=t&&ln(t,o[u],o,l),o})).prototype=r).constructor=d),(f||p)&&(n("delete"),n("has"),l&&n("get")),(p||h)&&n(u),i&&r.clear&&delete r.clear}return a[s]=d,ae({global:!0,forced:d!=c},a),vt(d,s),i||t.setStrong(d,s,l),d}function gn(e){return e.frozen||(e.frozen=new wn)}function pn(e,t){return bn(e.entries,function(e){return e[0]===t})}var vn=rn.getWeakData,mn=fe.set,yn=fe.getterFor,bn=Ie.find,xn=Ie.findIndex,Mn=0,wn=function(){this.entries=[]};wn.prototype={get:function(e){var t=pn(this,e);if(t)return t[1]},has:function(e){return!!pn(this,e)},set:function(e,t){var n=pn(this,e);n?n[1]=t:this.entries.push([e,t])},delete:function(t){var e=xn(this.entries,function(e){return e[0]===t});return~e&&this.entries.splice(e,1),!!~e}};var _n={getConstructor:function(e,n,i,r){function a(e,t,n){var i=s(e),r=vn(S(t),!0);return!0===r?gn(i).set(t,n):r[i.id]=n,e}var o=e(function(e,t){tn(e,o,n),mn(e,{type:n,id:Mn++,frozen:void 0}),null!=t&&ln(t,e[r],e,i)}),s=yn(n);return Qt(o.prototype,{delete:function(e){var t=s(this);if(!m(e))return!1;var n=vn(e);return!0===n?gn(t).delete(e):n&&c(n,t.id)&&delete n[t.id]},has:function(e){var t=s(this);if(!m(e))return!1;var n=vn(e);return!0===n?gn(t).has(e):n&&c(n,t.id)}}),Qt(o.prototype,i?{get:function(e){var t=s(this);if(m(e)){var n=vn(e);return!0===n?gn(t).get(e):n?n[t.id]:void 0}},set:function(e,t){return a(this,e,t)}}:{add:function(e){return a(this,e,!0)}}),o}},Sn=(t(function(e){function t(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}}var i,r=fe.enforce,n=!y.ActiveXObject&&"ActiveXObject"in y,a=Object.isExtensible,o=e.exports=fn("WeakMap",t,_n,!0,!0);if(I&&n){i=_n.getConstructor(t,"WeakMap",!0),rn.REQUIRED=!0;var s=o.prototype,l=s.delete,c=s.has,d=s.get,u=s.set;Qt(s,{delete:function(e){if(!m(e)||a(e))return l.call(this,e);var t=r(this);return t.frozen||(t.frozen=new i),l.call(this,e)||t.frozen.delete(e)},has:function(e){if(!m(e)||a(e))return c.call(this,e);var t=r(this);return t.frozen||(t.frozen=new i),c.call(this,e)||t.frozen.has(e)},get:function(e){if(!m(e)||a(e))return d.call(this,e);var t=r(this);return t.frozen||(t.frozen=new i),c.call(this,e)?d.call(this,e):t.frozen.get(e)},set:function(e,t){if(m(e)&&!a(e)){var n=r(this);n.frozen||(n.frozen=new i),c.call(this,e)?u.call(this,e,t):n.frozen.set(e,t)}else u.call(this,e,t);return this}})}}),ce("iterator")),Cn=ce("toStringTag"),kn=Et.values;for(var Tn in je){var Ln=y[Tn],An=Ln&&Ln.prototype;if(An){if(An[Sn]!==kn)try{z(An,Sn,kn)}catch(e){An[Sn]=kn}if(An[Cn]||z(An,Cn,Tn),je[Tn])for(var En in Et)if(An[En]!==Et[En])try{z(An,En,Et[En])}catch(e){An[En]=Et[En]}}}function On(){return Wn.Date.now()}var Pn="Expected a function",Dn=NaN,Vn="[object Symbol]",Rn=/^\s+|\s+$/g,zn=/^[-+]0x[0-9a-f]+$/i,Bn=/^0b[01]+$/i,Hn=/^0o[0-7]+$/i,Nn=parseInt,In="object"==typeof e&&e&&e.Object===Object&&e,Fn="object"==typeof self&&self&&self.Object===Object&&self,Wn=In||Fn||Function("return this")(),jn=Object.prototype.toString,Yn=Math.max,Gn=Math.min;function Un(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function qn(e){if("number"==typeof e)return e;if("symbol"==typeof(t=e)||t&&"object"==typeof t&&jn.call(t)==Vn)return Dn;var t;if(Un(e)){var n="function"==typeof e.valueOf?e.valueOf():e;e=Un(n)?n+"":n}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(Rn,"");var i=Bn.test(e);return i||Hn.test(e)?Nn(e.slice(2),i?2:8):zn.test(e)?Dn:+e}function Xn(e,t,n){var i=!0,r=!0;if("function"!=typeof e)throw new TypeError(Pn);return Un(n)&&(i="leading"in n?!!n.leading:i,r="trailing"in n?!!n.trailing:r),function(i,r,e){var a,o,n,s,l,c,d=0,u=!1,h=!1,t=!0;if("function"!=typeof i)throw new TypeError(Pn);function f(e){var t=a,n=o;return a=o=void 0,d=e,s=i.apply(n,t)}function g(e){var t=e-c;return void 0===c||r<=t||t<0||h&&n<=e-d}function p(){var e,t=On();if(g(t))return v(t);l=setTimeout(p,(e=r-(t-c),h?Gn(e,n-(t-d)):e))}function v(e){return l=void 0,t&&a?f(e):(a=o=void 0,s)}function m(){var e,t=On(),n=g(t);if(a=arguments,o=this,c=t,n){if(void 0===l)return d=e=c,l=setTimeout(p,r),u?f(e):s;if(h)return l=setTimeout(p,r),f(c)}return void 0===l&&(l=setTimeout(p,r)),s}return r=qn(r)||0,Un(e)&&(u=!!e.leading,n=(h="maxWait"in e)?Yn(qn(e.maxWait)||0,r):n,t="trailing"in e?!!e.trailing:t),m.cancel=function(){void 0!==l&&clearTimeout(l),a=c=o=l=void(d=0)},m.flush=function(){return void 0===l?s:v(On())},m}(e,t,{leading:i,maxWait:t,trailing:r})}function $n(){return ii.Date.now()}var Zn=/^\s+|\s+$/g,Kn=/^[-+]0x[0-9a-f]+$/i,Jn=/^0b[01]+$/i,Qn=/^0o[0-7]+$/i,ei=parseInt,ti="object"==typeof e&&e&&e.Object===Object&&e,ni="object"==typeof self&&self&&self.Object===Object&&self,ii=ti||ni||Function("return this")(),ri=Object.prototype.toString,ai=Math.max,oi=Math.min;function si(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function li(e){if("number"==typeof e)return e;if("symbol"==typeof(t=e)||t&&"object"==typeof t&&"[object Symbol]"==ri.call(t))return NaN;var t;if(si(e)){var n="function"==typeof e.valueOf?e.valueOf():e;e=si(n)?n+"":n}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(Zn,"");var i=Jn.test(e);return i||Qn.test(e)?ei(e.slice(2),i?2:8):Kn.test(e)?NaN:+e}function ci(i,r,e){var a,o,n,s,l,c,d=0,u=!1,h=!1,t=!0;if("function"!=typeof i)throw new TypeError("Expected a function");function f(e){var t=a,n=o;return a=o=void 0,d=e,s=i.apply(n,t)}function g(e){var t=e-c;return void 0===c||r<=t||t<0||h&&n<=e-d}function p(){var e,t=$n();if(g(t))return v(t);l=setTimeout(p,(e=r-(t-c),h?oi(e,n-(t-d)):e))}function v(e){return l=void 0,t&&a?f(e):(a=o=void 0,s)}function m(){var e,t=$n(),n=g(t);if(a=arguments,o=this,c=t,n){if(void 0===l)return d=e=c,l=setTimeout(p,r),u?f(e):s;if(h)return l=setTimeout(p,r),f(c)}return void 0===l&&(l=setTimeout(p,r)),s}return r=li(r)||0,si(e)&&(u=!!e.leading,n=(h="maxWait"in e)?ai(li(e.maxWait)||0,r):n,t="trailing"in e?!!e.trailing:t),m.cancel=function(){void 0!==l&&clearTimeout(l),a=c=o=l=void(d=0)},m.flush=function(){return void 0===l?s:v($n())},m}var di,ui="Expected a function",hi="__lodash_hash_undefined__",fi="[object Function]",gi="[object GeneratorFunction]",pi=/^\[object .+?Constructor\]$/,vi="object"==typeof e&&e&&e.Object===Object&&e,mi="object"==typeof self&&self&&self.Object===Object&&self,yi=vi||mi||Function("return this")(),bi=Array.prototype,xi=Function.prototype,Mi=Object.prototype,wi=yi["__core-js_shared__"],_i=(di=/[^.]+$/.exec(wi&&wi.keys&&wi.keys.IE_PROTO||""))?"Symbol(src)_1."+di:"",Si=xi.toString,Ci=Mi.hasOwnProperty,ki=Mi.toString,Ti=RegExp("^"+Si.call(Ci).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Li=bi.splice,Ai=zi(yi,"Map"),Ei=zi(Object,"create");function Oi(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var i=e[t];this.set(i[0],i[1])}}function Pi(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var i=e[t];this.set(i[0],i[1])}}function Di(e){var t=-1,n=e?e.length:0;for(this.clear();++t<n;){var i=e[t];this.set(i[0],i[1])}}function Vi(e,t){for(var n,i,r=e.length;r--;)if((n=e[r][0])===(i=t)||n!=n&&i!=i)return r;return-1}function Ri(e,t){var n,i,r=e.__data__;return("string"==(i=typeof(n=t))||"number"==i||"symbol"==i||"boolean"==i?"__proto__"!==n:null===n)?r["string"==typeof t?"string":"hash"]:r.map}function zi(e,t){var n=null==e?void 0:e[t];return function(e){return!(!Hi(e)||_i&&_i in e)&&((n=Hi(t=e)?ki.call(t):"")==fi||n==gi||function(e){var t=!1;if(null!=e&&"function"!=typeof e.toString)try{t=!!(e+"")}catch(e){}return t}(e)?Ti:pi).test(function(e){if(null!=e){try{return Si.call(e)}catch(e){}try{return e+""}catch(e){}}return""}(e));var t,n}(n)?n:void 0}function Bi(r,a){if("function"!=typeof r||a&&"function"!=typeof a)throw new TypeError(ui);var o=function(){var e=arguments,t=a?a.apply(this,e):e[0],n=o.cache;if(n.has(t))return n.get(t);var i=r.apply(this,e);return o.cache=n.set(t,i),i};return o.cache=new(Bi.Cache||Di),o}function Hi(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}Oi.prototype.clear=function(){this.__data__=Ei?Ei(null):{}},Oi.prototype.delete=function(e){return this.has(e)&&delete this.__data__[e]},Oi.prototype.get=function(e){var t=this.__data__;if(Ei){var n=t[e];return n===hi?void 0:n}return Ci.call(t,e)?t[e]:void 0},Oi.prototype.has=function(e){var t=this.__data__;return Ei?void 0!==t[e]:Ci.call(t,e)},Oi.prototype.set=function(e,t){return this.__data__[e]=Ei&&void 0===t?hi:t,this},Pi.prototype.clear=function(){this.__data__=[]},Pi.prototype.delete=function(e){var t=this.__data__,n=Vi(t,e);return!(n<0||(n==t.length-1?t.pop():Li.call(t,n,1),0))},Pi.prototype.get=function(e){var t=this.__data__,n=Vi(t,e);return n<0?void 0:t[n][1]},Pi.prototype.has=function(e){return-1<Vi(this.__data__,e)},Pi.prototype.set=function(e,t){var n=this.__data__,i=Vi(n,e);return i<0?n.push([e,t]):n[i][1]=t,this},Di.prototype.clear=function(){this.__data__={hash:new Oi,map:new(Ai||Pi),string:new Oi}},Di.prototype.delete=function(e){return Ri(this,e).delete(e)},Di.prototype.get=function(e){return Ri(this,e).get(e)},Di.prototype.has=function(e){return Ri(this,e).has(e)},Di.prototype.set=function(e,t){return Ri(this,e).set(e,t),this},Bi.Cache=Di;function Ni(e,t){for(var n=0,i=Object.keys(t);n<i.length;n++){var r=i[n];Object.defineProperty(e,r,{value:t[r],enumerable:!1,writable:!1,configurable:!0})}return e}var Ii=Bi,Fi=function(){if("undefined"!=typeof Map)return Map;function i(e,n){var i=-1;return e.some(function(e,t){return e[0]===n&&(i=t,!0)}),i}return Object.defineProperty(e.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),e.prototype.get=function(e){var t=i(this.__entries__,e),n=this.__entries__[t];return n&&n[1]},e.prototype.set=function(e,t){var n=i(this.__entries__,e);~n?this.__entries__[n][1]=t:this.__entries__.push([e,t])},e.prototype.delete=function(e){var t=this.__entries__,n=i(t,e);~n&&t.splice(n,1)},e.prototype.has=function(e){return!!~i(this.__entries__,e)},e.prototype.clear=function(){this.__entries__.splice(0)},e.prototype.forEach=function(e,t){void 0===t&&(t=null);for(var n=0,i=this.__entries__;n<i.length;n++){var r=i[n];e.call(t,r[1],r[0])}},e;function e(){this.__entries__=[]}}(),Wi="undefined"!=typeof window&&"undefined"!=typeof document&&window.document===document,ji=void 0!==Fr&&Fr.Math===Math?Fr:"undefined"!=typeof self&&self.Math===Math?self:"undefined"!=typeof window&&window.Math===Math?window:Function("return this")(),Yi="function"==typeof requestAnimationFrame?requestAnimationFrame.bind(ji):function(e){return setTimeout(function(){return e(Date.now())},1e3/60)},Gi=["top","right","bottom","left","width","height","size","weight"],Ui="undefined"!=typeof MutationObserver,qi=(Zi.prototype.addObserver=function(e){~this.observers_.indexOf(e)||this.observers_.push(e),this.connected_||this.connect_()},Zi.prototype.removeObserver=function(e){var t=this.observers_,n=t.indexOf(e);~n&&t.splice(n,1),!t.length&&this.connected_&&this.disconnect_()},Zi.prototype.refresh=function(){this.updateObservers_()&&this.refresh()},Zi.prototype.updateObservers_=function(){var e=this.observers_.filter(function(e){return e.gatherActive(),e.hasActive()});return e.forEach(function(e){return e.broadcastActive()}),0<e.length},Zi.prototype.connect_=function(){Wi&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),Ui?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},Zi.prototype.disconnect_=function(){Wi&&this.connected_&&(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},Zi.prototype.onTransitionEnd_=function(e){var t=e.propertyName,n=void 0===t?"":t;Gi.some(function(e){return!!~n.indexOf(e)})&&this.refresh()},Zi.getInstance=function(){return this.instance_||(this.instance_=new Zi),this.instance_},Zi.instance_=null,Zi),Xi=function(e){return e&&e.ownerDocument&&e.ownerDocument.defaultView||ji},$i=tr(0,0,0,0);function Zi(){function e(){a&&(a=!1,i()),o&&n()}function t(){Yi(e)}function n(){var e=Date.now();if(a){if(e-s<2)return;o=!0}else o=!(a=!0),setTimeout(t,r);s=e}var i,r,a,o,s;this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=(i=this.refresh.bind(this),o=a=!(r=20),s=0,n)}function Ki(e){return parseFloat(e)||0}function Ji(n){for(var e=[],t=1;t<arguments.length;t++)e[t-1]=arguments[t];return e.reduce(function(e,t){return e+Ki(n["border-"+t+"-width"])},0)}var Qi="undefined"!=typeof SVGGraphicsElement?function(e){return e instanceof Xi(e).SVGGraphicsElement}:function(e){return e instanceof Xi(e).SVGElement&&"function"==typeof e.getBBox};function er(e){return Wi?Qi(e)?tr(0,0,(t=e.getBBox()).width,t.height):function(e){var t=e.clientWidth,n=e.clientHeight;if(!t&&!n)return $i;var i=Xi(e).getComputedStyle(e),r=function(e){for(var t={},n=0,i=["top","right","bottom","left"];n<i.length;n++){var r=i[n],a=e["padding-"+r];t[r]=Ki(a)}return t}(i),a=r.left+r.right,o=r.top+r.bottom,s=Ki(i.width),l=Ki(i.height);if("border-box"===i.boxSizing&&(Math.round(s+a)!==t&&(s-=Ji(i,"left","right")+a),Math.round(l+o)!==n&&(l-=Ji(i,"top","bottom")+o)),e!==Xi(e).document.documentElement){var c=Math.round(s+a)-t,d=Math.round(l+o)-n;1!==Math.abs(c)&&(s-=c),1!==Math.abs(d)&&(l-=d)}return tr(r.left,r.top,s,l)}(e):$i;var t}function tr(e,t,n,i){return{x:e,y:t,width:n,height:i}}function nr(e,t){var n,i,r,a,o,s,l,c=(i=(n=t).x,r=n.y,a=n.width,o=n.height,s="undefined"!=typeof DOMRectReadOnly?DOMRectReadOnly:Object,l=Object.create(s.prototype),Ni(l,{x:i,y:r,width:a,height:o,top:r,right:i+a,bottom:o+r,left:i}),l);Ni(this,{target:e,contentRect:c})}function ir(e){if(!(this instanceof ir))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var t=qi.getInstance(),n=new ar(e,t,this);or.set(this,n)}var rr=(lr.prototype.isActive=function(){var e=er(this.target);return(this.contentRect_=e).width!==this.broadcastWidth||e.height!==this.broadcastHeight},lr.prototype.broadcastRect=function(){var e=this.contentRect_;return this.broadcastWidth=e.width,this.broadcastHeight=e.height,e},lr),ar=(sr.prototype.observe=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(e instanceof Xi(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)||(t.set(e,new rr(e)),this.controller_.addObserver(this),this.controller_.refresh())}},sr.prototype.unobserve=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(e instanceof Xi(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)&&(t.delete(e),t.size||this.controller_.removeObserver(this))}},sr.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},sr.prototype.gatherActive=function(){var t=this;this.clearActive(),this.observations_.forEach(function(e){e.isActive()&&t.activeObservations_.push(e)})},sr.prototype.broadcastActive=function(){if(this.hasActive()){var e=this.callbackCtx_,t=this.activeObservations_.map(function(e){return new nr(e.target,e.broadcastRect())});this.callback_.call(e,t,e),this.clearActive()}},sr.prototype.clearActive=function(){this.activeObservations_.splice(0)},sr.prototype.hasActive=function(){return 0<this.activeObservations_.length},sr),or="undefined"!=typeof WeakMap?new WeakMap:new Fi;function sr(e,t,n){if(this.activeObservations_=[],this.observations_=new Fi,"function"!=typeof e)throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=e,this.controller_=t,this.callbackCtx_=n}function lr(e){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=tr(0,0,0,0),this.target=e}["observe","unobserve","disconnect"].forEach(function(t){ir.prototype[t]=function(){var e;return(e=or.get(this))[t].apply(e,arguments)}});var cr=void 0!==ji.ResizeObserver?ji.ResizeObserver:ir,dr=null,ur=null;function hr(){if(null===dr){if("undefined"==typeof document)return dr=0;var e=document.body,t=document.createElement("div");t.classList.add("simplebar-hide-scrollbar"),e.appendChild(t);var n=t.getBoundingClientRect().right;e.removeChild(t),dr=n}return dr}qe&&window.addEventListener("resize",function(){ur!==window.devicePixelRatio&&(ur=window.devicePixelRatio,dr=null)});var fr=function(){function l(e,t){var s=this;this.onScroll=function(){s.scrollXTicking||(window.requestAnimationFrame(s.scrollX),s.scrollXTicking=!0),s.scrollYTicking||(window.requestAnimationFrame(s.scrollY),s.scrollYTicking=!0)},this.scrollX=function(){s.axis.x.isOverflowing&&(s.showScrollbar("x"),s.positionScrollbar("x")),s.scrollXTicking=!1},this.scrollY=function(){s.axis.y.isOverflowing&&(s.showScrollbar("y"),s.positionScrollbar("y")),s.scrollYTicking=!1},this.onMouseEnter=function(){s.showScrollbar("x"),s.showScrollbar("y")},this.onMouseMove=function(e){s.mouseX=e.clientX,s.mouseY=e.clientY,(s.axis.x.isOverflowing||s.axis.x.forceVisible)&&s.onMouseMoveForAxis("x"),(s.axis.y.isOverflowing||s.axis.y.forceVisible)&&s.onMouseMoveForAxis("y")},this.onMouseLeave=function(){s.onMouseMove.cancel(),(s.axis.x.isOverflowing||s.axis.x.forceVisible)&&s.onMouseLeaveForAxis("x"),(s.axis.y.isOverflowing||s.axis.y.forceVisible)&&s.onMouseLeaveForAxis("y"),s.mouseX=-1,s.mouseY=-1},this.onWindowResize=function(){s.scrollbarWidth=s.getScrollbarWidth(),s.hideNativeScrollbar()},this.hideScrollbars=function(){s.axis.x.track.rect=s.axis.x.track.el.getBoundingClientRect(),s.axis.y.track.rect=s.axis.y.track.el.getBoundingClientRect(),s.isWithinBounds(s.axis.y.track.rect)||(s.axis.y.scrollbar.el.classList.remove(s.classNames.visible),s.axis.y.isVisible=!1),s.isWithinBounds(s.axis.x.track.rect)||(s.axis.x.scrollbar.el.classList.remove(s.classNames.visible),s.axis.x.isVisible=!1)},this.onPointerEvent=function(e){var t,n;s.axis.x.track.rect=s.axis.x.track.el.getBoundingClientRect(),s.axis.y.track.rect=s.axis.y.track.el.getBoundingClientRect(),(s.axis.x.isOverflowing||s.axis.x.forceVisible)&&(t=s.isWithinBounds(s.axis.x.track.rect)),(s.axis.y.isOverflowing||s.axis.y.forceVisible)&&(n=s.isWithinBounds(s.axis.y.track.rect)),(t||n)&&(e.preventDefault(),e.stopPropagation(),"mousedown"===e.type&&(t&&(s.axis.x.scrollbar.rect=s.axis.x.scrollbar.el.getBoundingClientRect(),s.isWithinBounds(s.axis.x.scrollbar.rect)?s.onDragStart(e,"x"):s.onTrackClick(e,"x")),n&&(s.axis.y.scrollbar.rect=s.axis.y.scrollbar.el.getBoundingClientRect(),s.isWithinBounds(s.axis.y.scrollbar.rect)?s.onDragStart(e,"y"):s.onTrackClick(e,"y"))))},this.drag=function(e){var t=s.axis[s.draggedAxis].track,n=t.rect[s.axis[s.draggedAxis].sizeAttr],i=s.axis[s.draggedAxis].scrollbar,r=s.contentWrapperEl[s.axis[s.draggedAxis].scrollSizeAttr],a=parseInt(s.elStyles[s.axis[s.draggedAxis].sizeAttr],10);e.preventDefault(),e.stopPropagation();var o=(("y"===s.draggedAxis?e.pageY:e.pageX)-t.rect[s.axis[s.draggedAxis].offsetAttr]-s.axis[s.draggedAxis].dragOffset)/(n-i.size)*(r-a);"x"===s.draggedAxis&&(o=s.isRtl&&l.getRtlHelpers().isRtlScrollbarInverted?o-(n+i.size):o,o=s.isRtl&&l.getRtlHelpers().isRtlScrollingInverted?-o:o),s.contentWrapperEl[s.axis[s.draggedAxis].scrollOffsetAttr]=o},this.onEndDrag=function(e){e.preventDefault(),e.stopPropagation(),s.el.classList.remove(s.classNames.dragging),document.removeEventListener("mousemove",s.drag,!0),document.removeEventListener("mouseup",s.onEndDrag,!0),s.removePreventClickId=window.setTimeout(function(){document.removeEventListener("click",s.preventClick,!0),document.removeEventListener("dblclick",s.preventClick,!0),s.removePreventClickId=null})},this.preventClick=function(e){e.preventDefault(),e.stopPropagation()},this.el=e,this.minScrollbarWidth=20,this.options=Object.assign({},l.defaultOptions,{},t),this.classNames=Object.assign({},l.defaultOptions.classNames,{},this.options.classNames),this.axis={x:{scrollOffsetAttr:"scrollLeft",sizeAttr:"width",scrollSizeAttr:"scrollWidth",offsetSizeAttr:"offsetWidth",offsetAttr:"left",overflowAttr:"overflowX",dragOffset:0,isOverflowing:!0,isVisible:!1,forceVisible:!1,track:{},scrollbar:{}},y:{scrollOffsetAttr:"scrollTop",sizeAttr:"height",scrollSizeAttr:"scrollHeight",offsetSizeAttr:"offsetHeight",offsetAttr:"top",overflowAttr:"overflowY",dragOffset:0,isOverflowing:!0,isVisible:!1,forceVisible:!1,track:{},scrollbar:{}}},this.removePreventClickId=null,l.instances.has(this.el)||(this.recalculate=Xn(this.recalculate.bind(this),64),this.onMouseMove=Xn(this.onMouseMove.bind(this),64),this.hideScrollbars=ci(this.hideScrollbars.bind(this),this.options.timeout),this.onWindowResize=ci(this.onWindowResize.bind(this),64,{leading:!0}),l.getRtlHelpers=Ii(l.getRtlHelpers),this.init())}l.getRtlHelpers=function(){var e=document.createElement("div");e.innerHTML='<div class="hs-dummy-scrollbar-size"><div style="height: 200%; width: 200%; margin: 10px 0;"></div></div>';var t=e.firstElementChild;document.body.appendChild(t);var n=t.firstElementChild;t.scrollLeft=0;var i=l.getOffset(t),r=l.getOffset(n);t.scrollLeft=999;var a=l.getOffset(n);return{isRtlScrollingInverted:i.left!==r.left&&r.left-a.left!=0,isRtlScrollbarInverted:i.left!==r.left}},l.getOffset=function(e){var t=e.getBoundingClientRect();return{top:t.top+(window.pageYOffset||document.documentElement.scrollTop),left:t.left+(window.pageXOffset||document.documentElement.scrollLeft)}};var e=l.prototype;return e.init=function(){l.instances.set(this.el,this),qe&&(this.initDOM(),this.scrollbarWidth=this.getScrollbarWidth(),this.recalculate(),this.initListeners())},e.initDOM=function(){var t=this;if(Array.prototype.filter.call(this.el.children,function(e){return e.classList.contains(t.classNames.wrapper)}).length)this.wrapperEl=this.el.querySelector("."+this.classNames.wrapper),this.contentWrapperEl=this.options.scrollableNode||this.el.querySelector("."+this.classNames.contentWrapper),this.contentEl=this.options.contentNode||this.el.querySelector("."+this.classNames.contentEl),this.offsetEl=this.el.querySelector("."+this.classNames.offset),this.maskEl=this.el.querySelector("."+this.classNames.mask),this.placeholderEl=this.findChild(this.wrapperEl,"."+this.classNames.placeholder),this.heightAutoObserverWrapperEl=this.el.querySelector("."+this.classNames.heightAutoObserverWrapperEl),this.heightAutoObserverEl=this.el.querySelector("."+this.classNames.heightAutoObserverEl),this.axis.x.track.el=this.findChild(this.el,"."+this.classNames.track+"."+this.classNames.horizontal),this.axis.y.track.el=this.findChild(this.el,"."+this.classNames.track+"."+this.classNames.vertical);else{for(this.wrapperEl=document.createElement("div"),this.contentWrapperEl=document.createElement("div"),this.offsetEl=document.createElement("div"),this.maskEl=document.createElement("div"),this.contentEl=document.createElement("div"),this.placeholderEl=document.createElement("div"),this.heightAutoObserverWrapperEl=document.createElement("div"),this.heightAutoObserverEl=document.createElement("div"),this.wrapperEl.classList.add(this.classNames.wrapper),this.contentWrapperEl.classList.add(this.classNames.contentWrapper),this.offsetEl.classList.add(this.classNames.offset),this.maskEl.classList.add(this.classNames.mask),this.contentEl.classList.add(this.classNames.contentEl),this.placeholderEl.classList.add(this.classNames.placeholder),this.heightAutoObserverWrapperEl.classList.add(this.classNames.heightAutoObserverWrapperEl),this.heightAutoObserverEl.classList.add(this.classNames.heightAutoObserverEl);this.el.firstChild;)this.contentEl.appendChild(this.el.firstChild);this.contentWrapperEl.appendChild(this.contentEl),this.offsetEl.appendChild(this.contentWrapperEl),this.maskEl.appendChild(this.offsetEl),this.heightAutoObserverWrapperEl.appendChild(this.heightAutoObserverEl),this.wrapperEl.appendChild(this.heightAutoObserverWrapperEl),this.wrapperEl.appendChild(this.maskEl),this.wrapperEl.appendChild(this.placeholderEl),this.el.appendChild(this.wrapperEl)}if(!this.axis.x.track.el||!this.axis.y.track.el){var e=document.createElement("div"),n=document.createElement("div");e.classList.add(this.classNames.track),n.classList.add(this.classNames.scrollbar),e.appendChild(n),this.axis.x.track.el=e.cloneNode(!0),this.axis.x.track.el.classList.add(this.classNames.horizontal),this.axis.y.track.el=e.cloneNode(!0),this.axis.y.track.el.classList.add(this.classNames.vertical),this.el.appendChild(this.axis.x.track.el),this.el.appendChild(this.axis.y.track.el)}this.axis.x.scrollbar.el=this.axis.x.track.el.querySelector("."+this.classNames.scrollbar),this.axis.y.scrollbar.el=this.axis.y.track.el.querySelector("."+this.classNames.scrollbar),this.options.autoHide||(this.axis.x.scrollbar.el.classList.add(this.classNames.visible),this.axis.y.scrollbar.el.classList.add(this.classNames.visible)),this.el.setAttribute("data-simplebar","init")},e.initListeners=function(){var t=this;this.options.autoHide&&this.el.addEventListener("mouseenter",this.onMouseEnter),["mousedown","click","dblclick"].forEach(function(e){t.el.addEventListener(e,t.onPointerEvent,!0)}),["touchstart","touchend","touchmove"].forEach(function(e){t.el.addEventListener(e,t.onPointerEvent,{capture:!0,passive:!0})}),this.el.addEventListener("mousemove",this.onMouseMove),this.el.addEventListener("mouseleave",this.onMouseLeave),this.contentWrapperEl.addEventListener("scroll",this.onScroll),window.addEventListener("resize",this.onWindowResize);var e=!1;this.resizeObserver=new cr(function(){e&&t.recalculate()}),this.resizeObserver.observe(this.el),this.resizeObserver.observe(this.contentEl),window.requestAnimationFrame(function(){e=!0}),this.mutationObserver=new MutationObserver(this.recalculate),this.mutationObserver.observe(this.contentEl,{childList:!0,subtree:!0,characterData:!0})},e.recalculate=function(){this.elStyles=window.getComputedStyle(this.el),this.isRtl="rtl"===this.elStyles.direction;var e=this.heightAutoObserverEl.offsetHeight<=1,t=this.heightAutoObserverEl.offsetWidth<=1,n=this.contentEl.offsetWidth,i=this.contentWrapperEl.offsetWidth,r=this.elStyles.overflowX,a=this.elStyles.overflowY;this.contentEl.style.padding=this.elStyles.paddingTop+" "+this.elStyles.paddingRight+" "+this.elStyles.paddingBottom+" "+this.elStyles.paddingLeft,this.wrapperEl.style.margin="-"+this.elStyles.paddingTop+" -"+this.elStyles.paddingRight+" -"+this.elStyles.paddingBottom+" -"+this.elStyles.paddingLeft;var o=this.contentEl.scrollHeight,s=this.contentEl.scrollWidth;this.contentWrapperEl.style.height=e?"auto":"100%",this.placeholderEl.style.width=t?n+"px":"auto",this.placeholderEl.style.height=o+"px";var l=this.contentWrapperEl.offsetHeight;this.axis.x.isOverflowing=n<s,this.axis.y.isOverflowing=l<o,this.axis.x.isOverflowing="hidden"!==r&&this.axis.x.isOverflowing,this.axis.y.isOverflowing="hidden"!==a&&this.axis.y.isOverflowing,this.axis.x.forceVisible="x"===this.options.forceVisible||!0===this.options.forceVisible,this.axis.y.forceVisible="y"===this.options.forceVisible||!0===this.options.forceVisible,this.hideNativeScrollbar();var c=this.axis.x.isOverflowing?this.scrollbarWidth:0,d=this.axis.y.isOverflowing?this.scrollbarWidth:0;this.axis.x.isOverflowing=this.axis.x.isOverflowing&&i-d<s,this.axis.y.isOverflowing=this.axis.y.isOverflowing&&l-c<o,this.axis.x.scrollbar.size=this.getScrollbarSize("x"),this.axis.y.scrollbar.size=this.getScrollbarSize("y"),this.axis.x.scrollbar.el.style.width=this.axis.x.scrollbar.size+"px",this.axis.y.scrollbar.el.style.height=this.axis.y.scrollbar.size+"px",this.positionScrollbar("x"),this.positionScrollbar("y"),this.toggleTrackVisibility("x"),this.toggleTrackVisibility("y")},e.getScrollbarSize=function(e){if(void 0===e&&(e="y"),!this.axis[e].isOverflowing)return 0;var t,n=this.contentEl[this.axis[e].scrollSizeAttr],i=this.axis[e].track.el[this.axis[e].offsetSizeAttr],r=i/n;return t=Math.max(~~(r*i),this.options.scrollbarMinSize),this.options.scrollbarMaxSize&&(t=Math.min(t,this.options.scrollbarMaxSize)),t},e.positionScrollbar=function(e){if(void 0===e&&(e="y"),this.axis[e].isOverflowing){var t=this.contentWrapperEl[this.axis[e].scrollSizeAttr],n=this.axis[e].track.el[this.axis[e].offsetSizeAttr],i=parseInt(this.elStyles[this.axis[e].sizeAttr],10),r=this.axis[e].scrollbar,a=this.contentWrapperEl[this.axis[e].scrollOffsetAttr],o=(a="x"===e&&this.isRtl&&l.getRtlHelpers().isRtlScrollingInverted?-a:a)/(t-i),s=~~((n-r.size)*o);s="x"===e&&this.isRtl&&l.getRtlHelpers().isRtlScrollbarInverted?s+(n-r.size):s,r.el.style.transform="x"===e?"translate3d("+s+"px, 0, 0)":"translate3d(0, "+s+"px, 0)"}},e.toggleTrackVisibility=function(e){void 0===e&&(e="y");var t=this.axis[e].track.el,n=this.axis[e].scrollbar.el;this.axis[e].isOverflowing||this.axis[e].forceVisible?(t.style.visibility="visible",this.contentWrapperEl.style[this.axis[e].overflowAttr]="scroll"):(t.style.visibility="hidden",this.contentWrapperEl.style[this.axis[e].overflowAttr]="hidden"),this.axis[e].isOverflowing?n.style.display="block":n.style.display="none"},e.hideNativeScrollbar=function(){this.offsetEl.style[this.isRtl?"left":"right"]=this.axis.y.isOverflowing||this.axis.y.forceVisible?"-"+this.scrollbarWidth+"px":0,this.offsetEl.style.bottom=this.axis.x.isOverflowing||this.axis.x.forceVisible?"-"+this.scrollbarWidth+"px":0},e.onMouseMoveForAxis=function(e){void 0===e&&(e="y"),this.axis[e].track.rect=this.axis[e].track.el.getBoundingClientRect(),this.axis[e].scrollbar.rect=this.axis[e].scrollbar.el.getBoundingClientRect(),this.isWithinBounds(this.axis[e].scrollbar.rect)?this.axis[e].scrollbar.el.classList.add(this.classNames.hover):this.axis[e].scrollbar.el.classList.remove(this.classNames.hover),this.isWithinBounds(this.axis[e].track.rect)?(this.showScrollbar(e),this.axis[e].track.el.classList.add(this.classNames.hover)):this.axis[e].track.el.classList.remove(this.classNames.hover)},e.onMouseLeaveForAxis=function(e){void 0===e&&(e="y"),this.axis[e].track.el.classList.remove(this.classNames.hover),this.axis[e].scrollbar.el.classList.remove(this.classNames.hover)},e.showScrollbar=function(e){void 0===e&&(e="y");var t=this.axis[e].scrollbar.el;this.axis[e].isVisible||(t.classList.add(this.classNames.visible),this.axis[e].isVisible=!0),this.options.autoHide&&this.hideScrollbars()},e.onDragStart=function(e,t){void 0===t&&(t="y");var n=this.axis[t].scrollbar,i="y"===t?e.pageY:e.pageX;this.axis[t].dragOffset=i-n.rect[this.axis[t].offsetAttr],this.draggedAxis=t,this.el.classList.add(this.classNames.dragging),document.addEventListener("mousemove",this.drag,!0),document.addEventListener("mouseup",this.onEndDrag,!0),null===this.removePreventClickId?(document.addEventListener("click",this.preventClick,!0),document.addEventListener("dblclick",this.preventClick,!0)):(window.clearTimeout(this.removePreventClickId),this.removePreventClickId=null)},e.onTrackClick=function(e,i){var r=this;void 0===i&&(i="y"),this.axis[i].scrollbar.rect=this.axis[i].scrollbar.el.getBoundingClientRect();var t=this.axis[i].scrollbar.rect[this.axis[i].offsetAttr],n=parseInt(this.elStyles[this.axis[i].sizeAttr],10),a=this.contentWrapperEl[this.axis[i].scrollOffsetAttr],o=("y"===i?this.mouseY-t:this.mouseX-t)<0?-1:1,s=-1==o?a-n:a+n;!function e(){var t,n;-1==o?s<a&&(a-=40,r.contentWrapperEl.scrollTo(((t={})[r.axis[i].offsetAttr]=a,t)),window.requestAnimationFrame(e)):a<s&&(a+=40,r.contentWrapperEl.scrollTo(((n={})[r.axis[i].offsetAttr]=a,n)),window.requestAnimationFrame(e))}()},e.getContentElement=function(){return this.contentEl},e.getScrollElement=function(){return this.contentWrapperEl},e.getScrollbarWidth=function(){try{return"none"===getComputedStyle(this.contentWrapperEl,"::-webkit-scrollbar").display||"scrollbarWidth"in document.documentElement.style?0:hr()}catch(e){return hr()}},e.removeListeners=function(){var t=this;this.options.autoHide&&this.el.removeEventListener("mouseenter",this.onMouseEnter),["mousedown","click","dblclick"].forEach(function(e){t.el.removeEventListener(e,t.onPointerEvent,!0)}),["touchstart","touchend","touchmove"].forEach(function(e){t.el.removeEventListener(e,t.onPointerEvent,{capture:!0,passive:!0})}),this.el.removeEventListener("mousemove",this.onMouseMove),this.el.removeEventListener("mouseleave",this.onMouseLeave),this.contentWrapperEl.removeEventListener("scroll",this.onScroll),window.removeEventListener("resize",this.onWindowResize),this.mutationObserver.disconnect(),this.resizeObserver.disconnect(),this.recalculate.cancel(),this.onMouseMove.cancel(),this.hideScrollbars.cancel(),this.onWindowResize.cancel()},e.unMount=function(){this.removeListeners(),l.instances.delete(this.el)},e.isWithinBounds=function(e){return this.mouseX>=e.left&&this.mouseX<=e.left+e.width&&this.mouseY>=e.top&&this.mouseY<=e.top+e.height},e.findChild=function(e,t){var n=e.matches||e.webkitMatchesSelector||e.mozMatchesSelector||e.msMatchesSelector;return Array.prototype.filter.call(e.children,function(e){return n.call(e,t)})[0]},l}();fr.defaultOptions={autoHide:!0,forceVisible:!1,classNames:{contentEl:"simplebar-content",contentWrapper:"simplebar-content-wrapper",offset:"simplebar-offset",mask:"simplebar-mask",wrapper:"simplebar-wrapper",placeholder:"simplebar-placeholder",scrollbar:"simplebar-scrollbar",track:"simplebar-track",heightAutoObserverWrapperEl:"simplebar-height-auto-observer-wrapper",heightAutoObserverEl:"simplebar-height-auto-observer",visible:"simplebar-visible",horizontal:"simplebar-horizontal",vertical:"simplebar-vertical",hover:"simplebar-hover",dragging:"simplebar-dragging"},scrollbarMinSize:25,scrollbarMaxSize:0,timeout:1e3},fr.instances=new WeakMap;function gr(c){return function(e,t,n,i){oe(t);var r=le(e),a=T(r),o=ee(r.length),s=c?o-1:0,l=c?-1:1;if(n<2)for(;;){if(s in a){i=a[s],s+=l;break}if(s+=l,c?s<0:o<=s)throw TypeError("Reduce of empty array with no initial value")}for(;c?0<=s:s<o;s+=l)s in a&&(i=t(i,a[s],s,r));return i}}var pr=[gr(!1),gr(!0)][0];ae({target:"Array",proto:!0,forced:he("reduce")},{reduce:function(e){return pr(this,e,arguments.length,1<arguments.length?arguments[1]:void 0)}});var vr=R.f,mr=Function.prototype,yr=mr.toString,br=/^\s*function ([^ (]*)/;!b||"name"in mr||vr(mr,"name",{configurable:!0,get:function(){try{return yr.call(this).match(br)[1]}catch(e){return""}}});var xr,Mr,wr=RegExp.prototype.exec,_r=String.prototype.replace,Sr=wr,Cr=(xr=/a/,Mr=/b*/g,wr.call(xr,"a"),wr.call(Mr,"a"),0!==xr.lastIndex||0!==Mr.lastIndex),kr=void 0!==/()??/.exec("")[1];(Cr||kr)&&(Sr=function(e){var t,n,i,r;return kr&&(n=new RegExp("^"+this.source+"$(?!\\s)",function(){var e=S(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t}.call(this))),Cr&&(t=this.lastIndex),i=wr.call(this,e),Cr&&i&&(this.lastIndex=this.global?i.index+i[0].length:t),kr&&i&&1<i.length&&_r.call(i[0],n,function(){for(r=1;r<arguments.length-2;r++)void 0===arguments[r]&&(i[r]=void 0)}),i});var Tr=Sr;ae({target:"RegExp",proto:!0,forced:/./.exec!==Tr},{exec:Tr});function Lr(n,e,t,i){var r=ce(n),a=!v(function(){var e={};return e[r]=function(){return 7},7!=""[n](e)}),o=a&&!v(function(){var e=!1,t=/a/;return t.exec=function(){return e=!0,null},"split"===n&&(t.constructor={},t.constructor[Or]=function(){return t}),t[r](""),!e});if(!a||!o||"replace"===n&&!Pr||"split"===n&&!Dr){var s=/./[r],l=t(r,""[n],function(e,t,n,i,r){return t.exec===Tr?a&&!r?{done:!0,value:s.call(t,n,i)}:{done:!0,value:e.call(n,t,i)}:{done:!1}}),c=l[0],d=l[1];ge(String.prototype,n,c),ge(RegExp.prototype,r,2==e?function(e,t){return d.call(e,this,t)}:function(e){return d.call(e,this)}),i&&z(RegExp.prototype[r],"sham",!0)}}function Ar(e,t,n){return t+(n?Vr(e,t).length:1)}function Er(e,t){var n=e.exec;if("function"==typeof n){var i=n.call(e,t);if("object"!=typeof i)throw TypeError("RegExp exec method returned something other than an Object or null");return i}if("RegExp"!==r(e))throw TypeError("RegExp#exec called on incompatible receiver");return Tr.call(e,t)}var Or=ce("species"),Pr=!v(function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")}),Dr=!v(function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var n="ab".split(e);return 2!==n.length||"a"!==n[0]||"b"!==n[1]}),Vr=$t.charAt;Lr("match",1,function(i,c,d){return[function(e){var t=l(this),n=null==e?void 0:e[i];return void 0!==n?n.call(e,t):new RegExp(e)[i](String(t))},function(e){var t=d(c,e,this);if(t.done)return t.value;var n=S(e),i=String(this);if(!n.global)return Er(n,i);for(var r,a=n.unicode,o=[],s=n.lastIndex=0;null!==(r=Er(n,i));){var l=String(r[0]);""===(o[s]=l)&&(n.lastIndex=Ar(i,ee(n.lastIndex),a)),s++}return 0===s?null:o}]});var Rr=Math.max,zr=Math.min,Br=Math.floor,Hr=/\$([$&'`]|\d\d?|<[^>]*>)/g,Nr=/\$([$&'`]|\d\d?)/g;Lr("replace",2,function(r,M,w){return[function(e,t){var n=l(this),i=null==e?void 0:e[r];return void 0!==i?i.call(e,n,t):M.call(String(n),e,t)},function(e,t){var n=w(M,e,this,t);if(n.done)return n.value;var i=S(e),r=String(this),a="function"==typeof t;a||(t=String(t));var o=i.global;if(o){var s=i.unicode;i.lastIndex=0}for(var l=[];;){var c=Er(i,r);if(null===c)break;if(l.push(c),!o)break;""===String(c[0])&&(i.lastIndex=Ar(r,ee(i.lastIndex),s))}for(var d,u="",h=0,f=0;f<l.length;f++){c=l[f];for(var g=String(c[0]),p=Rr(zr(Q(c.index),r.length),0),v=[],m=1;m<c.length;m++)v.push(void 0===(d=c[m])?d:String(d));var y=c.groups;if(a){var b=[g].concat(v,p,r);void 0!==y&&b.push(y);var x=String(t.apply(void 0,b))}else x=_(g,r,p,v,y,t);h<=p&&(u+=r.slice(h,p)+x,h=p+g.length)}return u+r.slice(h)}];function _(a,o,s,l,c,e){var d=s+a.length,u=l.length,t=Nr;return void 0!==c&&(c=le(c),t=Hr),M.call(e,t,function(e,t){var n;switch(t.charAt(0)){case"$":return"$";case"&":return a;case"`":return o.slice(0,s);case"'":return o.slice(d);case"<":n=c[t.slice(1,-1)];break;default:var i=+t;if(0==i)return e;if(u<i){var r=Br(i/10);return 0===r?e:r<=u?void 0===l[r-1]?t.charAt(1):l[r-1]+t.charAt(1):e}n=l[i-1]}return void 0===n?"":n})}});function Ir(e){return Array.prototype.reduce.call(e,function(e,t){var n=t.name.match(/data-simplebar-(.+)/);if(n){var i=n[1].replace(/\W+(.)/g,function(e,t){return t.toUpperCase()});switch(t.value){case"true":e[i]=!0;break;case"false":e[i]=!1;break;case void 0:e[i]=!0;break;default:e[i]=t.value}}return e},{})}return fr.initDOMLoadedElements=function(){document.removeEventListener("DOMContentLoaded",this.initDOMLoadedElements),window.removeEventListener("load",this.initDOMLoadedElements),Array.prototype.forEach.call(document.querySelectorAll('[data-simplebar]:not([data-simplebar="init"])'),function(e){fr.instances.has(e)||new fr(e,Ir(e.attributes))})},fr.removeObserver=function(){this.globalObserver.disconnect()},fr.initHtmlApi=function(){this.initDOMLoadedElements=this.initDOMLoadedElements.bind(this),"undefined"!=typeof MutationObserver&&(this.globalObserver=new MutationObserver(fr.handleMutations),this.globalObserver.observe(document,{childList:!0,subtree:!0})),"complete"===document.readyState||"loading"!==document.readyState&&!document.documentElement.doScroll?window.setTimeout(this.initDOMLoadedElements):(document.addEventListener("DOMContentLoaded",this.initDOMLoadedElements),window.addEventListener("load",this.initDOMLoadedElements))},fr.handleMutations=function(e){e.forEach(function(e){Array.prototype.forEach.call(e.addedNodes,function(e){1===e.nodeType&&(e.hasAttribute("data-simplebar")?fr.instances.has(e)||new fr(e,Ir(e.attributes)):Array.prototype.forEach.call(e.querySelectorAll('[data-simplebar]:not([data-simplebar="init"])'),function(e){fr.instances.has(e)||new fr(e,Ir(e.attributes))}))}),Array.prototype.forEach.call(e.removedNodes,function(e){1===e.nodeType&&(e.hasAttribute('[data-simplebar="init"]')?fr.instances.has(e)&&fr.instances.get(e).unMount():Array.prototype.forEach.call(e.querySelectorAll('[data-simplebar="init"]'),function(e){fr.instances.has(e)&&fr.instances.get(e).unMount()}))})})},fr.getOptions=Ir,qe&&fr.initHtmlApi(),fr},"object"==typeof i&&void 0!==n?n.exports=t():"function"==typeof define&&define.amd?define(t):(e=e||self).SimpleBar=t()}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],4:[function(e,t,n){"use strict";Object.keys||(Object.keys=function(e){var t=[];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.push(n);return t})},{}],5:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.addCSSRule=function(e,t,n,i){"insertRule"in e?e.insertRule(t+"{"+n+"}",i):e.addRule(t,n,i)};e("./raf.js")},{"./raf.js":35}],6:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.addClass=void 0;var i=e("./hasClass.js"),r=i.classListSupport?function(e,t){(0,i.hasClass)(e,t)||e.classList.add(t)}:function(e,t){(0,i.hasClass)(e,t)||(e.className+=" "+t)};n.addClass=r},{"./hasClass.js":27}],7:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.addEvents=function(e,t,n){for(var i in t){var r=0<=["touchstart","touchmove"].indexOf(i)&&!n&&a.passiveOption;e.addEventListener(i,t[i],r)}};var a=e("./passiveOption.js")},{"./passiveOption.js":33}],8:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.arrayFromNodeList=function(e){for(var t=[],n=0,i=e.length;n<i;n++)t.push(e[n]);return t}},{}],9:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.caf=void 0;var i=window,r=i.cancelAnimationFrame||i.mozCancelAnimationFrame||function(e){clearTimeout(e)};n.caf=r},{}],10:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.calc=function(){var e=document,t=(0,c.getBody)(),n=(0,d.setFakeBody)(t),i=e.createElement("div"),r=!1;t.appendChild(i);try{for(var a,o="(10px * 10)",s=["calc"+o,"-moz-calc"+o,"-webkit-calc"+o],l=0;l<3;l++)if(a=s[l],i.style.width=a,100===i.offsetWidth){r=a.replace(o,"");break}}catch(e){}return t.fake?(0,u.resetFakeBody)(t,n):i.remove(),r};var c=e("./getBody.js"),d=e("./setFakeBody.js"),u=e("./resetFakeBody.js")},{"./getBody.js":20,"./resetFakeBody.js":40,"./setFakeBody.js":42}],11:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.checkStorageValue=function(e){return 0<=["true","false"].indexOf(e)?JSON.parse(e):e}},{}],12:[function(e,t,n){"use strict";"remove"in Element.prototype||(Element.prototype.remove=function(){this.parentNode&&this.parentNode.removeChild(this)})},{}],13:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.classListSupport=void 0;var i="classList"in document.createElement("_");n.classListSupport=i},{}],14:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.createStyleSheet=function(e){var t=document.createElement("style");e&&t.setAttribute("media",e);return document.querySelector("head").appendChild(t),t.sheet?t.sheet:t.styleSheet}},{}],15:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.docElement=void 0;var i=document.documentElement;n.docElement=i},{}],16:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.Events=function(){return{topics:{},on:function(e,t){this.topics[e]=this.topics[e]||[],this.topics[e].push(t)},off:function(e,t){if(this.topics[e])for(var n=0;n<this.topics[e].length;n++)if(this.topics[e][n]===t){this.topics[e].splice(n,1);break}},emit:function(t,n){n.type=t,this.topics[t]&&this.topics[t].forEach(function(e){e(n,t)})}}}},{}],17:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.extend=function(){for(var e,t,n,i=arguments[0]||{},r=1,a=arguments.length;r<a;r++)if(null!==(e=arguments[r]))for(t in e)n=e[t],i!==n&&void 0!==n&&(i[t]=n);return i}},{}],18:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.forEach=function(e,t,n){for(var i=0,r=e.length;i<r;i++)t.call(n,e[i],i)}},{}],19:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.getAttr=function(e,t){return e.getAttribute(t)}},{}],20:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.getBody=function(){var e=document,t=e.body;t||((t=e.createElement("body")).fake=!0);return t}},{}],21:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.getCssRulesLength=function(e){return("insertRule"in e?e.cssRules:e.rules).length}},{}],22:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.getEndProperty=function(e,t){var n=!1;/^Webkit/.test(e)?n="webkit"+t+"End":/^O/.test(e)?n="o"+t+"End":e&&(n=t.toLowerCase()+"end");return n}},{}],23:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.getSlideId=function(){var e=window.tnsId;return window.tnsId=e?e+1:1,"tns"+window.tnsId}},{}],24:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.getTouchDirection=function(e,t){var n=!1,i=Math.abs(90-Math.abs(e));90-t<=i?n="horizontal":i<=t&&(n="vertical");return n}},{}],25:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.has3DTransforms=function(e){if(!e)return!1;if(!window.getComputedStyle)return!1;var t,n=document,i=(0,s.getBody)(),r=(0,l.setFakeBody)(i),a=n.createElement("p"),o=9<e.length?"-"+e.slice(0,-9).toLowerCase()+"-":"";return o+="transform",i.insertBefore(a,null),a.style[e]="translate3d(1px,1px,1px)",t=window.getComputedStyle(a).getPropertyValue(o),i.fake?(0,c.resetFakeBody)(i,r):a.remove(),void 0!==t&&0<t.length&&"none"!==t};var s=e("./getBody.js"),l=e("./setFakeBody.js"),c=e("./resetFakeBody.js")},{"./getBody.js":20,"./resetFakeBody.js":40,"./setFakeBody.js":42}],26:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.hasAttr=function(e,t){return e.hasAttribute(t)}},{}],27:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),Object.defineProperty(n,"classListSupport",{enumerable:!0,get:function(){return i.classListSupport}}),n.hasClass=void 0;var i=e("./classListSupport.js"),r=i.classListSupport?function(e,t){return e.classList.contains(t)}:function(e,t){return 0<=e.className.indexOf(t)};n.hasClass=r},{"./classListSupport.js":13}],28:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.hideElement=function(e,t){"none"!==e.style.display&&(e.style.display="none")}},{}],29:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.isNodeList=function(e){return void 0!==e.item}},{}],30:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.isVisible=function(e){return"none"!==window.getComputedStyle(e).display}},{}],31:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.jsTransform=function(t,n,i,r,e,a,o){var s=Math.min(a,10),l=0<=e.indexOf("%")?"%":"px",c=(e=e.replace(l,""),Number(t.style[n].replace(i,"").replace(r,"").replace(l,""))),d=(e-c)/a*s;setTimeout(function e(){a-=s,c+=d,t.style[n]=i+c+l+r,0<a?setTimeout(e,s):o()},s)}},{}],32:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.mediaquerySupport=function(){var e,t=document,n=(0,s.getBody)(),i=(0,l.setFakeBody)(n),r=t.createElement("div"),a=t.createElement("style"),o="@media all and (min-width:1px){.tns-mq-test{position:absolute}}";a.type="text/css",r.className="tns-mq-test",n.appendChild(a),n.appendChild(r),a.styleSheet?a.styleSheet.cssText=o:a.appendChild(t.createTextNode(o));return e=window.getComputedStyle?window.getComputedStyle(r).position:r.currentStyle.position,n.fake?(0,c.resetFakeBody)(n,i):r.remove(),"absolute"===e};var s=e("./getBody.js"),l=e("./setFakeBody.js"),c=e("./resetFakeBody.js")},{"./getBody.js":20,"./resetFakeBody.js":40,"./setFakeBody.js":42}],33:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.passiveOption=void 0;var i=!1;try{var r=Object.defineProperty({},"passive",{get:function(){i=!0}});window.addEventListener("test",null,r)}catch(e){}var a=!!i&&{passive:!0};n.passiveOption=a},{}],34:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.percentageLayout=function(){var e,t=document,n=(0,l.getBody)(),i=(0,c.setFakeBody)(n),r=t.createElement("div"),a=t.createElement("div"),o="";r.className="tns-t-subp2",a.className="tns-t-ct";for(var s=0;s<70;s++)o+="<div></div>";return a.innerHTML=o,r.appendChild(a),n.appendChild(r),e=Math.abs(r.getBoundingClientRect().left-a.children[67].getBoundingClientRect().left)<2,n.fake?(0,d.resetFakeBody)(n,i):r.remove(),e};var l=e("./getBody.js"),c=e("./setFakeBody.js"),d=e("./resetFakeBody.js")},{"./getBody.js":20,"./resetFakeBody.js":40,"./setFakeBody.js":42}],35:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.raf=void 0;var i=window,r=i.requestAnimationFrame||i.webkitRequestAnimationFrame||i.mozRequestAnimationFrame||i.msRequestAnimationFrame||function(e){return setTimeout(e,16)};n.raf=r},{}],36:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.removeAttrs=function(e,t){e=(0,a.isNodeList)(e)||e instanceof Array?e:[e];for(var n=(t=t instanceof Array?t:[t]).length,i=e.length;i--;)for(var r=n;r--;)e[i].removeAttribute(t[r])};var a=e("./isNodeList.js")},{"./isNodeList.js":29}],37:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.removeCSSRule=function(e,t){"deleteRule"in e?e.deleteRule(t):e.removeRule(t)};e("./raf.js")},{"./raf.js":35}],38:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.removeClass=void 0;var i=e("./hasClass.js"),r=i.classListSupport?function(e,t){(0,i.hasClass)(e,t)&&e.classList.remove(t)}:function(e,t){(0,i.hasClass)(e,t)&&(e.className=e.className.replace(t,""))};n.removeClass=r},{"./hasClass.js":27}],39:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.removeEvents=function(e,t){for(var n in t){var i=0<=["touchstart","touchmove"].indexOf(n)&&r.passiveOption;e.removeEventListener(n,t[n],i)}};var r=e("./passiveOption.js")},{"./passiveOption.js":33}],40:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.resetFakeBody=function(e,t){e.fake&&(e.remove(),i.docElement.style.overflow=t,i.docElement.offsetHeight)};var i=e("./docElement.js")},{"./docElement.js":15}],41:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.setAttrs=function(e,t){if(e=(0,r.isNodeList)(e)||e instanceof Array?e:[e],"[object Object]"!==Object.prototype.toString.call(t))return;for(var n=e.length;n--;)for(var i in t)e[n].setAttribute(i,t[i])};var r=e("./isNodeList.js")},{"./isNodeList.js":29}],42:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.setFakeBody=function(e){var t="";e.fake&&(t=i.docElement.style.overflow,e.style.background="",e.style.overflow=i.docElement.style.overflow="hidden",i.docElement.appendChild(e));return t};var i=e("./docElement.js")},{"./docElement.js":15}],43:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.setLocalStorage=function(e,t,n,i){if(i)try{e.setItem(t,n)}catch(e){}return n}},{}],44:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.showElement=function(e,t){"none"===e.style.display&&(e.style.display="")}},{}],45:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.toDegree=function(e,t){return Math.atan2(e,t)*(180/Math.PI)}},{}],46:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.whichProperty=function(t){if("string"==typeof t){var n=[t],i=t.charAt(0).toUpperCase()+t.substr(1);["Webkit","Moz","ms","O"].forEach(function(e){"ms"===e&&"transform"!==t||n.push(e+i)}),t=n}for(var e=document.createElement("fakeelement"),r=(t.length,0);r<t.length;r++){var a=t[r];if(void 0!==e.style[a])return a}return!1}},{}],47:[function(e,t,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.tns=void 0,e("./helpers/Object.keys"),e("./helpers/childNode.remove");var wi=e("./helpers/raf.js"),_i=e("./helpers/caf.js"),Si=e("./helpers/extend.js"),Ci=e("./helpers/checkStorageValue.js"),ki=e("./helpers/setLocalStorage.js"),Ti=e("./helpers/getSlideId.js"),Li=e("./helpers/calc.js"),Ai=e("./helpers/percentageLayout.js"),Ei=e("./helpers/mediaquerySupport.js"),Oi=e("./helpers/createStyleSheet.js"),Pi=e("./helpers/addCSSRule.js"),Di=e("./helpers/removeCSSRule.js"),Vi=e("./helpers/getCssRulesLength.js"),Ri=e("./helpers/toDegree.js"),zi=e("./helpers/getTouchDirection.js"),Bi=e("./helpers/forEach.js"),Hi=e("./helpers/hasClass.js"),Ni=e("./helpers/addClass.js"),Ii=e("./helpers/removeClass.js"),Fi=e("./helpers/hasAttr.js"),Wi=e("./helpers/getAttr.js"),ji=e("./helpers/setAttrs.js"),Yi=e("./helpers/removeAttrs.js"),Gi=e("./helpers/arrayFromNodeList.js"),Ui=e("./helpers/hideElement.js"),qi=e("./helpers/showElement.js"),Xi=e("./helpers/isVisible.js"),$i=e("./helpers/whichProperty.js"),Zi=e("./helpers/has3DTransforms.js"),Ki=e("./helpers/getEndProperty.js"),Ji=e("./helpers/addEvents.js"),Qi=e("./helpers/removeEvents.js"),er=e("./helpers/events.js"),tr=e("./helpers/jsTransform.js");function nr(e){return(nr="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}n.tns=function e(A){A=(0,Si.extend)({container:".slider",mode:"carousel",axis:"horizontal",items:1,gutter:0,edgePadding:0,fixedWidth:!1,autoWidth:!1,viewportMax:!1,slideBy:1,center:!1,controls:!0,controlsPosition:"top",controlsText:["prev","next"],controlsContainer:!1,prevButton:!1,nextButton:!1,nav:!0,navPosition:"top",navContainer:!1,navAsThumbnails:!1,arrowKeys:!1,speed:300,autoplay:!1,autoplayPosition:"top",autoplayTimeout:5e3,autoplayDirection:"forward",autoplayText:["start","stop"],autoplayHoverPause:!1,autoplayButton:!1,autoplayButtonOutput:!0,autoplayResetOnVisibility:!0,animateIn:"tns-fadeIn",animateOut:"tns-fadeOut",animateNormal:"tns-normal",animateDelay:!1,loop:!0,rewind:!1,autoHeight:!1,responsive:!1,lazyload:!1,lazyloadSelector:".tns-lazy-img",touch:!0,mouseDrag:!1,swipeAngle:15,nested:!1,preventActionWhenRunning:!1,preventScrollOnTouch:!1,freezable:!0,onInit:!1,useLocalStorage:!0},A||{});var E=document,v=window,r={ENTER:13,SPACE:32,LEFT:37,RIGHT:39},t={},n=A.useLocalStorage;if(n){var i=navigator.userAgent,a=new Date;try{(t=v.localStorage)?(t.setItem(a,a),n=t.getItem(a)==a,t.removeItem(a)):n=!1,n||(t={})}catch(e){n=!1}n&&(t.tnsApp&&t.tnsApp!==i&&["tC","tPL","tMQ","tTf","t3D","tTDu","tTDe","tADu","tADe","tTE","tAE"].forEach(function(e){t.removeItem(e)}),localStorage.tnsApp=i)}var m=t.tC?(0,Ci.checkStorageValue)(t.tC):(0,ki.setLocalStorage)(t,"tC",(0,Li.calc)(),n),y=t.tPL?(0,Ci.checkStorageValue)(t.tPL):(0,ki.setLocalStorage)(t,"tPL",(0,Ai.percentageLayout)(),n),O=t.tMQ?(0,Ci.checkStorageValue)(t.tMQ):(0,ki.setLocalStorage)(t,"tMQ",(0,Ei.mediaquerySupport)(),n),o=t.tTf?(0,Ci.checkStorageValue)(t.tTf):(0,ki.setLocalStorage)(t,"tTf",(0,$i.whichProperty)("transform"),n),s=t.t3D?(0,Ci.checkStorageValue)(t.t3D):(0,ki.setLocalStorage)(t,"t3D",(0,Zi.has3DTransforms)(o),n),b=t.tTDu?(0,Ci.checkStorageValue)(t.tTDu):(0,ki.setLocalStorage)(t,"tTDu",(0,$i.whichProperty)("transitionDuration"),n),l=t.tTDe?(0,Ci.checkStorageValue)(t.tTDe):(0,ki.setLocalStorage)(t,"tTDe",(0,$i.whichProperty)("transitionDelay"),n),x=t.tADu?(0,Ci.checkStorageValue)(t.tADu):(0,ki.setLocalStorage)(t,"tADu",(0,$i.whichProperty)("animationDuration"),n),c=t.tADe?(0,Ci.checkStorageValue)(t.tADe):(0,ki.setLocalStorage)(t,"tADe",(0,$i.whichProperty)("animationDelay"),n),d=t.tTE?(0,Ci.checkStorageValue)(t.tTE):(0,ki.setLocalStorage)(t,"tTE",(0,Ki.getEndProperty)(b,"Transition"),n),u=t.tAE?(0,Ci.checkStorageValue)(t.tAE):(0,ki.setLocalStorage)(t,"tAE",(0,Ki.getEndProperty)(x,"Animation"),n),h=v.console&&"function"==typeof v.console.warn,f=["container","controlsContainer","prevButton","nextButton","navContainer","autoplayButton"],g={};if(f.forEach(function(e){if("string"==typeof A[e]){var t=A[e],n=E.querySelector(t);if(g[e]=t,!n||!n.nodeName)return void(h&&console.warn("Can't find",A[e]));A[e]=n}}),!(A.container.children.length<1)){var P=A.responsive,D=A.nested,V="carousel"===A.mode;if(P){0 in P&&(A=(0,Si.extend)(A,P[0]),delete P[0]);var p={};for(var M in P){var w=P[M];w="number"==typeof w?{items:w}:w,p[M]=w}P=p,p=null}if(V||function e(t){for(var n in t)V||("slideBy"===n&&(t[n]="page"),"edgePadding"===n&&(t[n]=!1),"autoHeight"===n&&(t[n]=!1)),"responsive"===n&&e(t[n])}(A),!V){A.axis="horizontal",A.slideBy="page",A.edgePadding=!1;var R=A.animateIn,z=A.animateOut,_=A.animateDelay,B=A.animateNormal}var S,H,N="horizontal"===A.axis,C=E.createElement("div"),I=E.createElement("div"),F=A.container,k=F.parentNode,T=F.outerHTML,W=F.children,j=W.length,Y=Qt(),G=!1;P&&xn(),V&&(F.className+=" tns-vpfix");var L,U,q,X,$,Z=A.autoWidth,K=rn("fixedWidth"),J=rn("edgePadding"),Q=rn("gutter"),ee=tn(),te=rn("center"),ne=Z?1:Math.floor(rn("items")),ie=rn("slideBy"),re=A.viewportMax||A.fixedWidthViewportWidth,ae=rn("arrowKeys"),oe=rn("speed"),se=A.rewind,le=!se&&A.loop,ce=rn("autoHeight"),de=rn("controls"),ue=rn("controlsText"),he=rn("nav"),fe=rn("touch"),ge=rn("mouseDrag"),pe=rn("autoplay"),ve=rn("autoplayTimeout"),me=rn("autoplayText"),ye=rn("autoplayHoverPause"),be=rn("autoplayResetOnVisibility"),xe=(0,Oi.createStyleSheet)(),Me=A.lazyload,we=(A.lazyloadSelector,[]),_e=le?(X=function(){{if(Z||K&&!re)return j-1;var e=K?"fixedWidth":"items",t=[];if((K||A[e]<j)&&t.push(A[e]),P)for(var n in P){var i=P[n][e];i&&(K||i<j)&&t.push(i)}return t.length||t.push(0),Math.ceil(K?re/Math.min.apply(null,t):Math.max.apply(null,t))}}(),$=V?Math.ceil((5*X-j)/2):4*X-j,$=Math.max(X,$),nn("edgePadding")?$+1:$):0,Se=V?j+2*_e:j+_e,Ce=!(!K&&!Z||le),ke=K?qn():null,Te=!V||!le,Le=N?"left":"top",Ae="",Ee="",Oe=K?function(){return te&&!le?j-1:Math.ceil(-ke/(K+Q))}:Z?function(){for(var e=Se;e--;)if(L[e]>=-ke)return e}:function(){return te&&V&&!le?j-1:le||V?Math.max(0,Se-Math.ceil(ne)):Se-1},Pe=Zt(rn("startIndex")),De=Pe,Ve=($t(),0),Re=Z?null:Oe(),ze=A.preventActionWhenRunning,Be=A.swipeAngle,He=!Be||"?",Ne=!1,Ie=A.onInit,Fe=new er.Events,We=" tns-slider tns-"+A.mode,je=F.id||(0,Ti.getSlideId)(),Ye=rn("disable"),Ge=!1,Ue=A.freezable,qe=!(!Ue||Z)&&bn(),Xe=!1,$e={click:ni,keydown:function(e){e=di(e);var t=[r.LEFT,r.RIGHT].indexOf(e.keyCode);0<=t&&(0===t?vt.disabled||ni(e,-1):mt.disabled||ni(e,1))}},Ze={click:function(e){if(Ne){if(ze)return;ei()}var t=ui(e=di(e));for(;t!==Mt&&!(0,Fi.hasAttr)(t,"data-nav");)t=t.parentNode;if((0,Fi.hasAttr)(t,"data-nav")){var n=Ct=Number((0,Wi.getAttr)(t,"data-nav")),i=K||Z?n*j/_t:n*ne;ti(rt?n:Math.min(Math.ceil(i),j-1),e),kt===n&&(Pt&&si(),Ct=-1)}},keydown:function(e){e=di(e);var t=E.activeElement;if(!(0,Fi.hasAttr)(t,"data-nav"))return;var n=[r.LEFT,r.RIGHT,r.ENTER,r.SPACE].indexOf(e.keyCode),i=Number((0,Wi.getAttr)(t,"data-nav"));0<=n&&(0===n?0<i&&ci(xt[i-1]):1===n?i<_t-1&&ci(xt[i+1]):ti(Ct=i,e))}},Ke={mouseover:function(){Pt&&(ri(),Dt=!0)},mouseout:function(){Dt&&(ii(),Dt=!1)}},Je={visibilitychange:function(){E.hidden?Pt&&(ri(),Rt=!0):Rt&&(ii(),Rt=!1)}},Qe={keydown:function(e){e=di(e);var t=[r.LEFT,r.RIGHT].indexOf(e.keyCode);0<=t&&ni(e,0===t?-1:1)}},et={touchstart:pi,touchmove:vi,touchend:mi,touchcancel:mi},tt={mousedown:pi,mousemove:vi,mouseup:mi,mouseleave:mi},nt=nn("controls"),it=nn("nav"),rt=!!Z||A.navAsThumbnails,at=nn("autoplay"),ot=nn("touch"),st=nn("mouseDrag"),lt="tns-slide-active",ct="tns-complete",dt={load:function(e){An(ui(e))},error:function(e){!function(e){(0,Ni.addClass)(e,"failed"),En(e)}(ui(e))}},ut="force"===A.preventScrollOnTouch;if(nt)var ht,ft,gt=A.controlsContainer,pt=A.controlsContainer?A.controlsContainer.outerHTML:"",vt=A.prevButton,mt=A.nextButton,yt=A.prevButton?A.prevButton.outerHTML:"",bt=A.nextButton?A.nextButton.outerHTML:"";if(it)var xt,Mt=A.navContainer,wt=A.navContainer?A.navContainer.outerHTML:"",_t=Z?j:bi(),St=0,Ct=-1,kt=Jt(),Tt=kt,Lt="tns-nav-active",At="Carousel Page ",Et=" (Current Slide)";if(at)var Ot,Pt,Dt,Vt,Rt,zt="forward"===A.autoplayDirection?1:-1,Bt=A.autoplayButton,Ht=A.autoplayButton?A.autoplayButton.outerHTML:"",Nt=["<span class='tns-visually-hidden'>"," animation</span>"];if(ot||st)var It,Ft,Wt={},jt={},Yt=!1,Gt=N?function(e,t){return e.x-t.x}:function(e,t){return e.y-t.y};Z||Xt(Ye||qe),o&&(Le=o,Ae="translate",Ee=s?(Ae+=N?"3d(":"3d(0px, ",N?", 0px, 0px)":", 0px)"):(Ae+=N?"X(":"Y(",")")),V&&(F.className=F.className.replace("tns-vpfix","")),function(){nn("gutter");C.className="tns-outer",I.className="tns-inner",C.id=je+"-ow",I.id=je+"-iw",""===F.id&&(F.id=je);We+=y||Z?" tns-subpixel":" tns-no-subpixel",We+=m?" tns-calc":" tns-no-calc",Z&&(We+=" tns-autowidth");We+=" tns-"+A.axis,F.className+=We,V?((S=E.createElement("div")).id=je+"-mw",S.className="tns-ovh",C.appendChild(S),S.appendChild(I)):C.appendChild(I);if(ce){(S||I).className+=" tns-ah"}if(k.insertBefore(C,F),I.appendChild(F),(0,Bi.forEach)(W,function(e,t){(0,Ni.addClass)(e,"tns-item"),e.id||(e.id=je+"-item"+t),!V&&B&&(0,Ni.addClass)(e,B),(0,ji.setAttrs)(e,{"aria-hidden":"true",tabindex:"-1"})}),_e){for(var e=E.createDocumentFragment(),t=E.createDocumentFragment(),n=_e;n--;){var i=n%j,r=W[i].cloneNode(!0);if((0,Yi.removeAttrs)(r,"id"),t.insertBefore(r,t.firstChild),V){var a=W[j-1-i].cloneNode(!0);(0,Yi.removeAttrs)(a,"id"),e.appendChild(a)}}F.insertBefore(e,F.firstChild),F.appendChild(t),W=F.children}}(),function(){if(!V)for(var e=Pe,t=Pe+Math.min(j,ne);e<t;e++){var n=W[e];n.style.left=100*(e-Pe)/ne+"%",(0,Ni.addClass)(n,R),(0,Ii.removeClass)(n,B)}N&&(y||Z?((0,Pi.addCSSRule)(xe,"#"+je+" > .tns-item","font-size:"+v.getComputedStyle(W[0]).fontSize+";",(0,Vi.getCssRulesLength)(xe)),(0,Pi.addCSSRule)(xe,"#"+je,"font-size:0;",(0,Vi.getCssRulesLength)(xe))):V&&(0,Bi.forEach)(W,function(e,t){e.style.marginLeft=function(e){return m?m+"("+100*e+"% / "+Se+")":100*e/Se+"%"}(t)}));if(O){if(b){var i=S&&A.autoHeight?dn(A.speed):"";(0,Pi.addCSSRule)(xe,"#"+je+"-mw",i,(0,Vi.getCssRulesLength)(xe))}i=an(A.edgePadding,A.gutter,A.fixedWidth,A.speed,A.autoHeight),(0,Pi.addCSSRule)(xe,"#"+je+"-iw",i,(0,Vi.getCssRulesLength)(xe)),V&&(i=N&&!Z?"width:"+on(A.fixedWidth,A.gutter,A.items)+";":"",b&&(i+=dn(oe)),(0,Pi.addCSSRule)(xe,"#"+je,i,(0,Vi.getCssRulesLength)(xe))),i=N&&!Z?sn(A.fixedWidth,A.gutter,A.items):"",A.gutter&&(i+=ln(A.gutter)),V||(b&&(i+=dn(oe)),x&&(i+=un(oe))),i&&(0,Pi.addCSSRule)(xe,"#"+je+" > .tns-item",i,(0,Vi.getCssRulesLength)(xe))}else{Rn(),I.style.cssText=an(J,Q,K,ce),V&&N&&!Z&&(F.style.width=on(K,Q,ne));i=N&&!Z?sn(K,Q,ne):"";Q&&(i+=ln(Q)),i&&(0,Pi.addCSSRule)(xe,"#"+je+" > .tns-item",i,(0,Vi.getCssRulesLength)(xe))}if(P&&O)for(var r in P){r=parseInt(r);var a=P[r],o=(i="",""),s="",l="",c="",d=Z?null:rn("items",r),u=rn("fixedWidth",r),h=rn("speed",r),f=rn("edgePadding",r),g=rn("autoHeight",r),p=rn("gutter",r);b&&S&&rn("autoHeight",r)&&"speed"in a&&(o="#"+je+"-mw{"+dn(h)+"}"),("edgePadding"in a||"gutter"in a)&&(s="#"+je+"-iw{"+an(f,p,u,h,g)+"}"),V&&N&&!Z&&("fixedWidth"in a||"items"in a||K&&"gutter"in a)&&(l="width:"+on(u,p,d)+";"),b&&"speed"in a&&(l+=dn(h)),l=l&&"#"+je+"{"+l+"}",("fixedWidth"in a||K&&"gutter"in a||!V&&"items"in a)&&(c+=sn(u,p,d)),"gutter"in a&&(c+=ln(p)),!V&&"speed"in a&&(b&&(c+=dn(h)),x&&(c+=un(h))),(i=o+s+l+(c=c&&"#"+je+" > .tns-item{"+c+"}"))&&xe.insertRule("@media (min-width: "+r/16+"em) {"+i+"}",xe.cssRules.length)}}(),hn();var Ut=le?V?function(){var e=Ve,t=Re;e+=ie,t-=ie,J?(e+=1,t-=1):K&&(ee+Q)%(K+Q)&&(t-=1),_e&&(t<Pe?Pe-=j:Pe<e&&(Pe+=j))}:function(){if(Re<Pe)for(;Ve+j<=Pe;)Pe-=j;else if(Pe<Ve)for(;Pe<=Re-j;)Pe+=j}:function(){Pe=Math.max(Ve,Math.min(Re,Pe))},qt=V?function(){Gn(F,""),b||!oe?(Zn(),oe&&(0,Xi.isVisible)(F)||ei()):(0,tr.jsTransform)(F,Le,Ae,Ee,Xn(),oe,ei),N||yi()}:function(){we=[];var e={};e[d]=e[u]=ei,(0,Qi.removeEvents)(W[De],e),(0,Ji.addEvents)(W[Pe],e),Kn(De,R,z,!0),Kn(Pe,B,R),d&&u&&oe&&(0,Xi.isVisible)(F)||ei()};return{version:"2.9.2",getInfo:Mi,events:Fe,goTo:ti,play:function(){pe&&!Pt&&(oi(),Vt=!1)},pause:function(){Pt&&(si(),Vt=!0)},isOn:G,updateSliderHeight:Bn,refresh:hn,destroy:function(){if(xe.disabled=!0,xe.ownerNode&&xe.ownerNode.remove(),(0,Qi.removeEvents)(v,{resize:mn}),ae&&(0,Qi.removeEvents)(E,Qe),gt&&(0,Qi.removeEvents)(gt,$e),Mt&&(0,Qi.removeEvents)(Mt,Ze),(0,Qi.removeEvents)(F,Ke),(0,Qi.removeEvents)(F,Je),Bt&&(0,Qi.removeEvents)(Bt,{click:li}),pe&&clearInterval(Ot),V&&d){var e={};e[d]=ei,(0,Qi.removeEvents)(F,e)}fe&&(0,Qi.removeEvents)(F,et),ge&&(0,Qi.removeEvents)(F,tt);var a=[T,pt,yt,bt,wt,Ht];for(var t in f.forEach(function(e,t){var n="container"===e?C:A[e];if("object"===nr(n)){var i=!!n.previousElementSibling&&n.previousElementSibling,r=n.parentNode;n.outerHTML=a[t],A[e]=i?i.nextElementSibling:r.firstElementChild}}),f=R=z=_=B=N=C=I=F=k=T=W=j=H=Y=Z=K=J=Q=ee=ne=ie=re=ae=oe=se=le=ce=xe=Me=L=we=_e=Se=Ce=ke=Te=Le=Ae=Ee=Oe=Pe=De=Ve=Re=Be=He=Ne=Ie=Fe=We=je=Ye=Ge=Ue=qe=Xe=$e=Ze=Ke=Je=Qe=et=tt=nt=it=rt=at=ot=st=lt=ct=dt=U=de=ue=gt=pt=vt=mt=ht=ft=he=Mt=wt=xt=_t=St=Ct=kt=Tt=Lt=At=Et=pe=ve=zt=me=ye=Bt=Ht=be=Nt=Ot=Pt=Dt=Vt=Rt=Wt=jt=It=Yt=Ft=Gt=fe=ge=null,this)"rebuild"!==t&&(this[t]=null);G=!1},rebuild:function(){return e((0,Si.extend)(A,g))}}}function Xt(e){e&&(de=he=fe=ge=ae=pe=ye=be=!1)}function $t(){for(var e=V?Pe-_e:Pe;e<0;)e+=j;return e%j+1}function Zt(e){return e=e?Math.max(0,Math.min(le?j-1:j-ne,e)):0,V?e+_e:e}function Kt(e){for(null==e&&(e=Pe),V&&(e-=_e);e<0;)e+=j;return Math.floor(e%j)}function Jt(){var e,t=Kt();return e=rt?t:K||Z?Math.ceil((t+1)*_t/j-1):Math.floor(t/ne),!le&&V&&Pe===Re&&(e=_t-1),e}function Qt(){return v.innerWidth||E.documentElement.clientWidth||E.body.clientWidth}function en(e){return"top"===e?"afterbegin":"beforeend"}function tn(){var e=J?2*J-Q:0;return function e(t){var n,i,r=E.createElement("div");return t.appendChild(r),i=(n=r.getBoundingClientRect()).right-n.left,r.remove(),i||e(t.parentNode)}(k)-e}function nn(e){if(A[e])return!0;if(P)for(var t in P)if(P[t][e])return!0;return!1}function rn(e,t){if(null==t&&(t=Y),"items"===e&&K)return Math.floor((ee+Q)/(K+Q))||1;var n=A[e];if(P)for(var i in P)t>=parseInt(i)&&e in P[i]&&(n=P[i][e]);return"slideBy"===e&&"page"===n&&(n=rn("items")),V||"slideBy"!==e&&"items"!==e||(n=Math.floor(n)),n}function an(e,t,n,i,r){var a="";if(void 0!==e){var o=e;t&&(o-=t),a=N?"margin: 0 "+o+"px 0 "+e+"px;":"margin: "+e+"px 0 "+o+"px 0;"}else if(t&&!n){var s="-"+t+"px";a="margin: 0 "+(N?s+" 0 0":"0 "+s+" 0")+";"}return!V&&r&&b&&i&&(a+=dn(i)),a}function on(e,t,n){return e?(e+t)*Se+"px":m?m+"("+100*Se+"% / "+n+")":100*Se/n+"%"}function sn(e,t,n){var i;if(e)i=e+t+"px";else{V||(n=Math.floor(n));var r=V?Se:n;i=m?m+"(100% / "+r+")":100/r+"%"}return i="width:"+i,"inner"!==D?i+";":i+" !important;"}function ln(e){var t="";!1!==e&&(t=(N?"padding-":"margin-")+(N?"right":"bottom")+": "+e+"px;");return t}function cn(e,t){var n=e.substring(0,e.length-t).toLowerCase();return n=n&&"-"+n+"-"}function dn(e){return cn(b,18)+"transition-duration:"+e/1e3+"s;"}function un(e){return cn(x,17)+"animation-duration:"+e/1e3+"s;"}function hn(){if(nn("autoHeight")||Z||!N){var e=F.querySelectorAll("img");(0,Bi.forEach)(e,function(e){var t=e.src;t&&t.indexOf("data:image")<0?((0,Ji.addEvents)(e,dt),e.src="",e.src=t,(0,Ni.addClass)(e,"loading")):Me||An(e)}),(0,wi.raf)(function(){Dn((0,Gi.arrayFromNodeList)(e),function(){U=!0})}),!Z&&N&&(e=On(Pe,Math.min(Pe+ne-1,Se-1))),Me?fn():(0,wi.raf)(function(){Dn((0,Gi.arrayFromNodeList)(e),fn)})}else V&&$n(),pn(),vn()}function fn(){if(Z){var t=le?Pe:j-1;!function e(){W[t-1].getBoundingClientRect().right.toFixed(2)===W[t].getBoundingClientRect().left.toFixed(2)?gn():setTimeout(function(){e()},16)}()}else gn()}function gn(){N&&!Z||(Hn(),Z?(ke=qn(),Ue&&(qe=bn()),Re=Oe(),Xt(Ye||qe)):yi()),V&&$n(),pn(),vn()}function pn(){if(Nn(),C.insertAdjacentHTML("afterbegin",'<div class="tns-liveregion tns-visually-hidden" aria-live="polite" aria-atomic="true">slide <span class="current">'+kn()+"</span>  of "+j+"</div>"),q=C.querySelector(".tns-liveregion .current"),at){var e=pe?"stop":"start";Bt?(0,ji.setAttrs)(Bt,{"data-action":e}):A.autoplayButtonOutput&&(C.insertAdjacentHTML(en(A.autoplayPosition),'<button data-action="'+e+'">'+Nt[0]+e+Nt[1]+me[0]+"</button>"),Bt=C.querySelector("[data-action]")),Bt&&(0,Ji.addEvents)(Bt,{click:li}),pe&&(oi(),ye&&(0,Ji.addEvents)(F,Ke),be&&(0,Ji.addEvents)(F,Je))}if(it){if(Mt)(0,ji.setAttrs)(Mt,{"aria-label":"Carousel Pagination"}),xt=Mt.children,(0,Bi.forEach)(xt,function(e,t){(0,ji.setAttrs)(e,{"data-nav":t,tabindex:"-1","aria-label":At+(t+1),"aria-controls":je})});else{for(var t="",n=rt?"":'style="display:none"',i=0;i<j;i++)t+='<button data-nav="'+i+'" tabindex="-1" aria-controls="'+je+'" '+n+' aria-label="'+At+(i+1)+'"></button>';t='<div class="tns-nav" aria-label="Carousel Pagination">'+t+"</div>",C.insertAdjacentHTML(en(A.navPosition),t),Mt=C.querySelector(".tns-nav"),xt=Mt.children}if(xi(),b){var r=b.substring(0,b.length-18).toLowerCase(),a="transition: all "+oe/1e3+"s";r&&(a="-"+r+"-"+a),(0,Pi.addCSSRule)(xe,"[aria-controls^="+je+"-item]",a,(0,Vi.getCssRulesLength)(xe))}(0,ji.setAttrs)(xt[kt],{"aria-label":At+(kt+1)+Et}),(0,Yi.removeAttrs)(xt[kt],"tabindex"),(0,Ni.addClass)(xt[kt],Lt),(0,Ji.addEvents)(Mt,Ze)}nt&&(gt||vt&&mt||(C.insertAdjacentHTML(en(A.controlsPosition),'<div class="tns-controls" aria-label="Carousel Navigation" tabindex="0"><button data-controls="prev" tabindex="-1" aria-controls="'+je+'">'+ue[0]+'</button><button data-controls="next" tabindex="-1" aria-controls="'+je+'">'+ue[1]+"</button></div>"),gt=C.querySelector(".tns-controls")),vt&&mt||(vt=gt.children[0],mt=gt.children[1]),A.controlsContainer&&(0,ji.setAttrs)(gt,{"aria-label":"Carousel Navigation",tabindex:"0"}),(A.controlsContainer||A.prevButton&&A.nextButton)&&(0,ji.setAttrs)([vt,mt],{"aria-controls":je,tabindex:"-1"}),(A.controlsContainer||A.prevButton&&A.nextButton)&&((0,ji.setAttrs)(vt,{"data-controls":"prev"}),(0,ji.setAttrs)(mt,{"data-controls":"next"})),ht=Fn(vt),ft=Fn(mt),Yn(),gt?(0,Ji.addEvents)(gt,$e):((0,Ji.addEvents)(vt,$e),(0,Ji.addEvents)(mt,$e))),Mn()}function vn(){if(V&&d){var e={};e[d]=ei,(0,Ji.addEvents)(F,e)}fe&&(0,Ji.addEvents)(F,et,A.preventScrollOnTouch),ge&&(0,Ji.addEvents)(F,tt),ae&&(0,Ji.addEvents)(E,Qe),"inner"===D?Fe.on("outerResized",function(){yn(),Fe.emit("innerLoaded",Mi())}):(P||K||Z||ce||!N)&&(0,Ji.addEvents)(v,{resize:mn}),ce&&("outer"===D?Fe.on("innerLoaded",Pn):Ye||Pn()),Ln(),Ye?Sn():qe&&_n(),Fe.on("indexChanged",Vn),"inner"===D&&Fe.emit("innerLoaded",Mi()),"function"==typeof Ie&&Ie(Mi()),G=!0}function mn(e){(0,wi.raf)(function(){yn(di(e))})}function yn(e){if(G){"outer"===D&&Fe.emit("outerResized",Mi(e)),Y=Qt();var t,n=H,i=!1;P&&(xn(),(t=n!==H)&&Fe.emit("newBreakpointStart",Mi(e)));var r,a,o=ne,s=Ye,l=qe,c=ae,d=de,u=he,h=fe,f=ge,g=pe,p=ye,v=be,m=Pe;if(t){var y=K,b=ce,x=ue,M=te,w=me;if(!O)var _=Q,S=J}if(ae=rn("arrowKeys"),de=rn("controls"),he=rn("nav"),fe=rn("touch"),te=rn("center"),ge=rn("mouseDrag"),pe=rn("autoplay"),ye=rn("autoplayHoverPause"),be=rn("autoplayResetOnVisibility"),t&&(Ye=rn("disable"),K=rn("fixedWidth"),oe=rn("speed"),ce=rn("autoHeight"),ue=rn("controlsText"),me=rn("autoplayText"),ve=rn("autoplayTimeout"),O||(J=rn("edgePadding"),Q=rn("gutter"))),Xt(Ye),ee=tn(),N&&!Z||Ye||(Hn(),N||(yi(),i=!0)),(K||Z)&&(ke=qn(),Re=Oe()),(t||K)&&(ne=rn("items"),ie=rn("slideBy"),(a=ne!==o)&&(K||Z||(Re=Oe()),Ut())),t&&Ye!==s&&(Ye?Sn():function(){if(!Ge)return;if(xe.disabled=!1,F.className+=We,$n(),le)for(var e=_e;e--;)V&&(0,qi.showElement)(W[e]),(0,qi.showElement)(W[Se-e-1]);if(!V)for(var t=Pe,n=Pe+j;t<n;t++){var i=W[t],r=t<Pe+ne?R:B;i.style.left=100*(t-Pe)/ne+"%",(0,Ni.addClass)(i,r)}wn(),Ge=!1}()),Ue&&(t||K||Z)&&(qe=bn())!==l&&(qe?(Zn(Xn(Zt(0))),_n()):(function(){if(!Xe)return;J&&O&&(I.style.margin="");if(_e)for(var e="tns-transparent",t=_e;t--;)V&&(0,Ii.removeClass)(W[t],e),(0,Ii.removeClass)(W[Se-t-1],e);wn(),Xe=!1}(),i=!0)),Xt(Ye||qe),pe||(ye=be=!1),ae!==c&&(ae?(0,Ji.addEvents)(E,Qe):(0,Qi.removeEvents)(E,Qe)),de!==d&&(de?gt?(0,qi.showElement)(gt):(vt&&(0,qi.showElement)(vt),mt&&(0,qi.showElement)(mt)):gt?(0,Ui.hideElement)(gt):(vt&&(0,Ui.hideElement)(vt),mt&&(0,Ui.hideElement)(mt))),he!==u&&(he?(0,qi.showElement)(Mt):(0,Ui.hideElement)(Mt)),fe!==h&&(fe?(0,Ji.addEvents)(F,et,A.preventScrollOnTouch):(0,Qi.removeEvents)(F,et)),ge!==f&&(ge?(0,Ji.addEvents)(F,tt):(0,Qi.removeEvents)(F,tt)),pe!==g&&(pe?(Bt&&(0,qi.showElement)(Bt),Pt||Vt||oi()):(Bt&&(0,Ui.hideElement)(Bt),Pt&&si())),ye!==p&&(ye?(0,Ji.addEvents)(F,Ke):(0,Qi.removeEvents)(F,Ke)),be!==v&&(be?(0,Ji.addEvents)(E,Je):(0,Qi.removeEvents)(E,Je)),t){if(K===y&&te===M||(i=!0),ce!==b&&(ce||(I.style.height="")),de&&ue!==x&&(vt.innerHTML=ue[0],mt.innerHTML=ue[1]),Bt&&me!==w){var C=pe?1:0,k=Bt.innerHTML,T=k.length-w[C].length;k.substring(T)===w[C]&&(Bt.innerHTML=k.substring(0,T)+me[C])}}else te&&(K||Z)&&(i=!0);if((a||K&&!Z)&&(_t=bi(),xi()),(r=Pe!==m)?(Fe.emit("indexChanged",Mi()),i=!0):a?r||Vn():(K||Z)&&(Ln(),Nn(),Cn()),a&&!V&&function(){for(var e=Pe+Math.min(j,ne),t=Se;t--;){var n=W[t];Pe<=t&&t<e?((0,Ni.addClass)(n,"tns-moving"),n.style.left=100*(t-Pe)/ne+"%",(0,Ni.addClass)(n,R),(0,Ii.removeClass)(n,B)):n.style.left&&(n.style.left="",(0,Ni.addClass)(n,B),(0,Ii.removeClass)(n,R)),(0,Ii.removeClass)(n,z)}setTimeout(function(){(0,Bi.forEach)(W,function(e){(0,Ii.removeClass)(e,"tns-moving")})},300)}(),!Ye&&!qe){if(t&&!O&&(ce===autoheightTem&&oe===speedTem||Rn(),J===S&&Q===_||(I.style.cssText=an(J,Q,K,oe,ce)),N)){V&&(F.style.width=on(K,Q,ne));var L=sn(K,Q,ne)+ln(Q);(0,Di.removeCSSRule)(xe,(0,Vi.getCssRulesLength)(xe)-1),(0,Pi.addCSSRule)(xe,"#"+je+" > .tns-item",L,(0,Vi.getCssRulesLength)(xe))}ce&&Pn(),i&&($n(),De=Pe)}t&&Fe.emit("newBreakpointEnd",Mi(e))}}function bn(){if(!K&&!Z)return j<=(te?ne-(ne-1)/2:ne);var e=K?(K+Q)*j:L[j],t=J?ee+2*J:ee+Q;return te&&(t-=K?(ee-K)/2:(ee-(L[Pe+1]-L[Pe]-Q))/2),e<=t}function xn(){for(var e in H=0,P)(e=parseInt(e))<=Y&&(H=e)}function Mn(){!pe&&Bt&&(0,Ui.hideElement)(Bt),!he&&Mt&&(0,Ui.hideElement)(Mt),de||(gt?(0,Ui.hideElement)(gt):(vt&&(0,Ui.hideElement)(vt),mt&&(0,Ui.hideElement)(mt)))}function wn(){pe&&Bt&&(0,qi.showElement)(Bt),he&&Mt&&(0,qi.showElement)(Mt),de&&(gt?(0,qi.showElement)(gt):(vt&&(0,qi.showElement)(vt),mt&&(0,qi.showElement)(mt)))}function _n(){if(!Xe){if(J&&(I.style.margin="0px"),_e)for(var e="tns-transparent",t=_e;t--;)V&&(0,Ni.addClass)(W[t],e),(0,Ni.addClass)(W[Se-t-1],e);Mn(),Xe=!0}}function Sn(){if(!Ge){if(xe.disabled=!0,F.className=F.className.replace(We.substring(1),""),(0,Yi.removeAttrs)(F,["style"]),le)for(var e=_e;e--;)V&&(0,Ui.hideElement)(W[e]),(0,Ui.hideElement)(W[Se-e-1]);if(N&&V||(0,Yi.removeAttrs)(I,["style"]),!V)for(var t=Pe,n=Pe+j;t<n;t++){var i=W[t];(0,Yi.removeAttrs)(i,["style"]),(0,Ii.removeClass)(i,R),(0,Ii.removeClass)(i,B)}Mn(),Ge=!0}}function Cn(){var e=kn();q.innerHTML!==e&&(q.innerHTML=e)}function kn(){var e=Tn(),t=e[0]+1,n=e[1]+1;return t===n?t+"":t+" to "+n}function Tn(e){null==e&&(e=Xn());var n,i,r,a=Pe;if(te||J?(Z||K)&&(i=-(parseFloat(e)+J),r=i+ee+2*J):Z&&(i=L[Pe],r=i+ee),Z)L.forEach(function(e,t){t<Se&&((te||J)&&e<=i+.5&&(a=t),.5<=r-e&&(n=t))});else{if(K){var t=K+Q;n=te||J?(a=Math.floor(i/t),Math.ceil(r/t-1)):a+Math.ceil(ee/t)-1}else if(te||J){var o=ne-1;if(n=te?(a-=o/2,Pe+o/2):Pe+o,J){var s=J*ne/ee;a-=s,n+=s}a=Math.floor(a),n=Math.ceil(n)}else n=a+ne-1;a=Math.max(a,0),n=Math.min(n,Se-1)}return[a,n]}function Ln(){Me&&!Ye&&On.apply(null,Tn()).forEach(function(e){if(!(0,Hi.hasClass)(e,ct)){var t={};t[d]=function(e){e.stopPropagation()},(0,Ji.addEvents)(e,t),(0,Ji.addEvents)(e,dt),e.src=(0,Wi.getAttr)(e,"data-src");var n=(0,Wi.getAttr)(e,"data-srcset");n&&(e.srcset=n),(0,Ni.addClass)(e,"loading")}})}function An(e){(0,Ni.addClass)(e,"loaded"),En(e)}function En(e){(0,Ni.addClass)(e,"tns-complete"),(0,Ii.removeClass)(e,"loading"),(0,Qi.removeEvents)(e,dt)}function On(e,t){for(var n=[];e<=t;)(0,Bi.forEach)(W[e].querySelectorAll("img"),function(e){n.push(e)}),e++;return n}function Pn(){var e=On.apply(null,Tn());(0,wi.raf)(function(){Dn(e,Bn)})}function Dn(n,e){return U?e():(n.forEach(function(e,t){(0,Hi.hasClass)(e,ct)&&n.splice(t,1)}),n.length?void(0,wi.raf)(function(){Dn(n,e)}):e())}function Vn(){Ln(),Nn(),Cn(),Yn(),function(){if(he&&(kt=0<=Ct?Ct:Jt(),Ct=-1,kt!==Tt)){var e=xt[Tt],t=xt[kt];(0,ji.setAttrs)(e,{tabindex:"-1","aria-label":At+(Tt+1)}),(0,Ii.removeClass)(e,Lt),(0,ji.setAttrs)(t,{"aria-label":At+(kt+1)+Et}),(0,Yi.removeAttrs)(t,"tabindex"),(0,Ni.addClass)(t,Lt),Tt=kt}}()}function Rn(){V&&ce&&(S.style[b]=oe/1e3+"s")}function zn(e,t){for(var n=[],i=e,r=Math.min(e+t,Se);i<r;i++)n.push(W[i].offsetHeight);return Math.max.apply(null,n)}function Bn(){var e=ce?zn(Pe,ne):zn(_e,j),t=S||I;t.style.height!==e&&(t.style.height=e+"px")}function Hn(){L=[0];var n=N?"left":"top",i=N?"right":"bottom",r=W[0].getBoundingClientRect()[n];(0,Bi.forEach)(W,function(e,t){t&&L.push(e.getBoundingClientRect()[n]-r),t===Se-1&&L.push(e.getBoundingClientRect()[i]-r)})}function Nn(){var e=Tn(),n=e[0],i=e[1];(0,Bi.forEach)(W,function(e,t){n<=t&&t<=i?(0,Fi.hasAttr)(e,"aria-hidden")&&((0,Yi.removeAttrs)(e,["aria-hidden","tabindex"]),(0,Ni.addClass)(e,lt)):(0,Fi.hasAttr)(e,"aria-hidden")||((0,ji.setAttrs)(e,{"aria-hidden":"true",tabindex:"-1"}),(0,Ii.removeClass)(e,lt))})}function In(e){return e.nodeName.toLowerCase()}function Fn(e){return"button"===In(e)}function Wn(e){return"true"===e.getAttribute("aria-disabled")}function jn(e,t,n){e?t.disabled=n:t.setAttribute("aria-disabled",n.toString())}function Yn(){if(de&&!se&&!le){var e=ht?vt.disabled:Wn(vt),t=ft?mt.disabled:Wn(mt),n=Pe<=Ve,i=!se&&Re<=Pe;n&&!e&&jn(ht,vt,!0),!n&&e&&jn(ht,vt,!1),i&&!t&&jn(ft,mt,!0),!i&&t&&jn(ft,mt,!1)}}function Gn(e,t){b&&(e.style[b]=t)}function Un(e){return null==e&&(e=Pe),Z?(ee-(J?Q:0)-(L[e+1]-L[e]-Q))/2:K?(ee-K)/2:(ne-1)/2}function qn(){var e=ee+(J?Q:0)-(K?(K+Q)*Se:L[Se]);return te&&!le&&(e=K?-(K+Q)*(Se-1)-Un():Un(Se-1)-L[Se-1]),0<e&&(e=0),e}function Xn(e){var t;if(null==e&&(e=Pe),N&&!Z)if(K)t=-(K+Q)*e,te&&(t+=Un());else{var n=o?Se:ne;te&&(e-=Un()),t=100*-e/n}else t=-L[e],te&&Z&&(t+=Un());return Ce&&(t=Math.max(t,ke)),t+=!N||Z||K?"px":"%"}function $n(e){Gn(F,"0s"),Zn(e)}function Zn(e){null==e&&(e=Xn()),F.style[Le]=Ae+e+Ee}function Kn(e,t,n,i){var r=e+ne;le||(r=Math.min(r,Se));for(var a=e;a<r;a++){var o=W[a];i||(o.style.left=100*(a-Pe)/ne+"%"),_&&l&&(o.style[l]=o.style[c]=_*(a-e)/1e3+"s"),(0,Ii.removeClass)(o,t),(0,Ni.addClass)(o,n),i&&we.push(o)}}function Jn(e,t){Te&&Ut(),Pe===De&&!t||(Fe.emit("indexChanged",Mi()),Fe.emit("transitionStart",Mi()),ce&&Pn(),Pt&&e&&0<=["click","keydown"].indexOf(e.type)&&si(),Ne=!0,qt())}function Qn(e){return e.toLowerCase().replace(/-/g,"")}function ei(e){if(V||Ne){if(Fe.emit("transitionEnd",Mi(e)),!V&&0<we.length)for(var t=0;t<we.length;t++){var n=we[t];n.style.left="",c&&l&&(n.style[c]="",n.style[l]=""),(0,Ii.removeClass)(n,z),(0,Ni.addClass)(n,B)}if(!e||!V&&e.target.parentNode===F||e.target===F&&Qn(e.propertyName)===Qn(Le)){if(!Te){var i=Pe;Ut(),Pe!==i&&(Fe.emit("indexChanged",Mi()),$n())}"inner"===D&&Fe.emit("innerLoaded",Mi()),Ne=!1,De=Pe}}}function ti(e,t){if(!qe)if("prev"===e)ni(t,-1);else if("next"===e)ni(t,1);else{if(Ne){if(ze)return;ei()}var n=Kt(),i=0;if("first"===e?i=-n:"last"===e?i=V?j-ne-n:j-1-n:("number"!=typeof e&&(e=parseInt(e)),isNaN(e)||(t||(e=Math.max(0,Math.min(j-1,e))),i=e-n)),!V&&i&&Math.abs(i)<ne){var r=0<i?1:-1;i+=Ve<=Pe+i-j?j*r:2*j*r*-1}Pe+=i,V&&le&&(Pe<Ve&&(Pe+=j),Re<Pe&&(Pe-=j)),Kt(Pe)!==Kt(De)&&Jn(t)}}function ni(e,t){if(Ne){if(ze)return;ei()}var n;if(!t){for(var i=ui(e=di(e));i!==gt&&[vt,mt].indexOf(i)<0;)i=i.parentNode;var r=[vt,mt].indexOf(i);0<=r&&(n=!0,t=0===r?-1:1)}if(se){if(Pe===Ve&&-1===t)return void ti("last",e);if(Pe===Re&&1===t)return void ti("first",e)}t&&(Pe+=ie*t,Z&&(Pe=Math.floor(Pe)),Jn(n||e&&"keydown"===e.type?e:null))}function ii(){Ot=setInterval(function(){ni(null,zt)},ve),Pt=!0}function ri(){clearInterval(Ot),Pt=!1}function ai(e,t){(0,ji.setAttrs)(Bt,{"data-action":e}),Bt.innerHTML=Nt[0]+e+Nt[1]+t}function oi(){ii(),Bt&&ai("stop",me[1])}function si(){ri(),Bt&&ai("start",me[0])}function li(){Vt=Pt?(si(),!0):(oi(),!1)}function ci(e){e.focus()}function di(e){return hi(e=e||v.event)?e.changedTouches[0]:e}function ui(e){return e.target||v.event.srcElement}function hi(e){return 0<=e.type.indexOf("touch")}function fi(e){e.preventDefault?e.preventDefault():e.returnValue=!1}function gi(){return(0,zi.getTouchDirection)((0,Ri.toDegree)(jt.y-Wt.y,jt.x-Wt.x),Be)===A.axis}function pi(e){if(Ne){if(ze)return;ei()}pe&&Pt&&ri(),Yt=!0,Ft&&((0,_i.caf)(Ft),Ft=null);var t=di(e);Fe.emit(hi(e)?"touchStart":"dragStart",Mi(e)),!hi(e)&&0<=["img","a"].indexOf(In(ui(e)))&&fi(e),jt.x=Wt.x=t.clientX,jt.y=Wt.y=t.clientY,V&&(It=parseFloat(F.style[Le].replace(Ae,"")),Gn(F,"0s"))}function vi(e){if(Yt){var t=di(e);jt.x=t.clientX,jt.y=t.clientY,V?Ft=Ft||(0,wi.raf)(function(){!function e(t){if(!He)return void(Yt=!1);(0,_i.caf)(Ft);Yt&&(Ft=(0,wi.raf)(function(){e(t)}));"?"===He&&(He=gi());if(He){!ut&&hi(t)&&(ut=!0);try{t.type&&Fe.emit(hi(t)?"touchMove":"dragMove",Mi(t))}catch(e){}var n=It,i=Gt(jt,Wt);if(!N||K||Z)n+=i,n+="px";else{var r=o?i*ne*100/((ee+Q)*Se):100*i/(ee+Q);n+=r,n+="%"}F.style[Le]=Ae+n+Ee}}(e)}):("?"===He&&(He=gi()),He&&(ut=!0)),ut&&e.preventDefault()}}function mi(i){if(Yt){Ft&&((0,_i.caf)(Ft),Ft=null),V&&Gn(F,""),Yt=!1;var e=di(i);jt.x=e.clientX,jt.y=e.clientY;var r=Gt(jt,Wt);if(Math.abs(r)){if(!hi(i)){var n=ui(i);(0,Ji.addEvents)(n,{click:function e(t){fi(t),(0,Qi.removeEvents)(n,{click:e})}})}V?Ft=(0,wi.raf)(function(){if(N&&!Z){var e=-r*ne/(ee+Q);e=0<r?Math.floor(e):Math.ceil(e),Pe+=e}else{var t=-(It+r);if(t<=0)Pe=Ve;else if(t>=L[Se-1])Pe=Re;else for(var n=0;n<Se&&t>=L[n];)t>L[Pe=n]&&r<0&&(Pe+=1),n++}Jn(i,r),Fe.emit(hi(i)?"touchEnd":"dragEnd",Mi(i))}):He&&ni(i,0<r?-1:1)}}"auto"===A.preventScrollOnTouch&&(ut=!1),Be&&(He="?"),pe&&!Pt&&ii()}function yi(){(S||I).style.height=L[Pe+ne]-L[Pe]+"px"}function bi(){var e=K?(K+Q)*j/ee:j/ne;return Math.min(Math.ceil(e),j)}function xi(){if(he&&!rt&&_t!==St){var e=St,t=_t,n=qi.showElement;for(_t<St&&(e=_t,t=St,n=Ui.hideElement);e<t;)n(xt[e]),e++;St=_t}}function Mi(e){return{container:F,slideItems:W,navContainer:Mt,navItems:xt,controlsContainer:gt,hasControls:nt,prevButton:vt,nextButton:mt,items:ne,slideBy:ie,cloneCount:_e,slideCount:j,slideCountNew:Se,index:Pe,indexCached:De,displayIndex:$t(),navCurrentIndex:kt,navCurrentIndexCached:Tt,pages:_t,pagesCached:St,sheet:xe,isOn:G,event:e||{}}}h&&console.warn("No slides found in",A.container)}},{"./helpers/Object.keys":4,"./helpers/addCSSRule.js":5,"./helpers/addClass.js":6,"./helpers/addEvents.js":7,"./helpers/arrayFromNodeList.js":8,"./helpers/caf.js":9,"./helpers/calc.js":10,"./helpers/checkStorageValue.js":11,"./helpers/childNode.remove":12,"./helpers/createStyleSheet.js":14,"./helpers/events.js":16,"./helpers/extend.js":17,"./helpers/forEach.js":18,"./helpers/getAttr.js":19,"./helpers/getCssRulesLength.js":21,"./helpers/getEndProperty.js":22,"./helpers/getSlideId.js":23,"./helpers/getTouchDirection.js":24,"./helpers/has3DTransforms.js":25,"./helpers/hasAttr.js":26,"./helpers/hasClass.js":27,"./helpers/hideElement.js":28,"./helpers/isVisible.js":30,"./helpers/jsTransform.js":31,"./helpers/mediaquerySupport.js":32,"./helpers/percentageLayout.js":34,"./helpers/raf.js":35,"./helpers/removeAttrs.js":36,"./helpers/removeCSSRule.js":37,"./helpers/removeClass.js":38,"./helpers/removeEvents.js":39,"./helpers/setAttrs.js":41,"./helpers/setLocalStorage.js":43,"./helpers/showElement.js":44,"./helpers/toDegree.js":45,"./helpers/whichProperty.js":46}],48:[function(e,t,n){"use strict";e("./global/page-loader"),e("simplebar"),e("./global/tooltips"),e("./global/popups"),e("./global/accordions"),e("./utils/svg-loader"),e("./utils/liquidify"),e("./utils/demo-icons"),e("./form/form-rating"),e("./form/form-counter"),e("./form/form-switch"),e("./form/form-input"),e("./form/interactive-input"),e("./landing/landing.tabs"),e("./header/header.progressBar"),e("./header/header.dropdown"),e("./sidebar/sidebar"),e("./global/user-avatar.hexagons"),e("./global/maps"),e("./content/content.progressBar"),e("./content/content.slider"),e("./content/content.dropdown"),e("./content/content.tab"),e("./global/charts"),e("./widget/twitter")},{"./content/content.dropdown":49,"./content/content.progressBar":50,"./content/content.slider":51,"./content/content.tab":52,"./form/form-counter":53,"./form/form-input":54,"./form/form-rating":55,"./form/form-switch":56,"./form/interactive-input":57,"./global/accordions":58,"./global/charts":59,"./global/maps":60,"./global/page-loader":61,"./global/popups":62,"./global/tooltips":63,"./global/user-avatar.hexagons":64,"./header/header.dropdown":65,"./header/header.progressBar":66,"./landing/landing.tabs":67,"./sidebar/sidebar":68,"./utils/demo-icons":70,"./utils/liquidify":71,"./utils/svg-loader":73,"./widget/twitter":74,simplebar:3}],49:[function(e,t,n){"use strict";var i=e("../utils/plugins");i.createDropdown({trigger:".widget-box-post-settings-dropdown-trigger",container:".widget-box-post-settings-dropdown",offset:{top:30,right:9},animation:{type:"translate-top",speed:.3,translateOffset:{vertical:20}}}),i.createDropdown({trigger:".reaction-item-dropdown-trigger",container:".reaction-item-dropdown",triggerEvent:"hover",offset:{bottom:38,left:-16},animation:{type:"translate-bottom",speed:.3,translateOffset:{vertical:20}}}),i.createDropdown({trigger:".reaction-options-dropdown-trigger",container:".reaction-options-dropdown",triggerEvent:"click",offset:{bottom:54,left:-16},animation:{type:"translate-bottom",speed:.3,translateOffset:{vertical:20}},closeOnDropdownClick:!0}),i.createDropdown({trigger:".reaction-options-small-dropdown-trigger",container:".reaction-options-small-dropdown",triggerEvent:"click",offset:{bottom:30,left:-80},animation:{type:"translate-bottom",speed:.3,translateOffset:{vertical:16}},closeOnDropdownClick:!0}),i.createDropdown({trigger:".post-settings-dropdown-trigger",container:".post-settings-dropdown",offset:{bottom:30,right:0},animation:{type:"translate-bottom",speed:.3,translateOffset:{vertical:16}}})},{"../utils/plugins":72}],50:[function(e,t,n){"use strict";var i=e("../utils/plugins");i.createProgressBar({container:"#exp-to-next-level",height:6,lineColor:"#e7e8ee"}),i.createProgressBar({container:"#exp-to-next-level",height:6,gradient:{colors:["#615dfa","#41efff"]},scale:{start:0,end:200,stop:162},linkText:!0,linkUnits:"exp",invertedProgress:!0,animateOnScroll:!0}),i.createProgressBar({container:"#badge-bronze",height:4,lineColor:"#e7e8ee"}),i.createProgressBar({container:"#badge-bronze",height:4,gradient:{colors:["#615dfa","#41efff"]},scale:{start:0,end:1,stop:1},linkText:!0,linkUnits:"/",emptyText:"locked",completeText:"unlocked!"}),i.createProgressBar({container:"#badge-silver",height:4,lineColor:"#e7e8ee"}),i.createProgressBar({container:"#badge-silver",height:4,gradient:{colors:["#615dfa","#41efff"]},scale:{start:0,end:100,stop:100},linkText:!0,linkUnits:"/",emptyText:"locked",completeText:"unlocked!"}),i.createProgressBar({container:"#badge-gold",height:4,lineColor:"#e7e8ee"}),i.createProgressBar({container:"#badge-gold",height:4,gradient:{colors:["#615dfa","#41efff"]},scale:{start:0,end:500,stop:461},linkText:!0,linkUnits:"/",emptyText:"locked",completeText:"unlocked!"}),i.createProgressBar({container:"#badge-platinum",height:4,lineColor:"#e7e8ee"}),i.createProgressBar({container:"#badge-platinum",height:4,gradient:{colors:["#615dfa","#41efff"]},scale:{start:0,end:1e3,stop:461},linkText:!0,linkUnits:"/",emptyText:"locked",completeText:"unlocked!"}),i.createProgressBar({container:"#badge-traveller",height:4,lineColor:"#e7e8ee"}),i.createProgressBar({container:"#badge-traveller",height:4,gradient:{colors:["#615dfa","#41efff"]},scale:{start:0,end:5,stop:4},invertedProgress:!0,linkText:!0,linkUnits:"topics",emptyText:"locked",completeText:"unlocked!"}),i.createProgressBar({container:"#badge-caffeinated",height:4,lineColor:"#e7e8ee"}),i.createProgressBar({container:"#badge-caffeinated",height:4,gradient:{colors:["#615dfa","#41efff"]},scale:{start:0,end:1,stop:0},linkText:!0,linkUnits:"/",emptyText:"locked",completeText:"unlocked!"}),i.createProgressBar({container:"#badge-upowered",height:4,lineColor:"#e7e8ee"}),i.createProgressBar({container:"#badge-upowered",height:4,gradient:{colors:["#615dfa","#41efff"]},scale:{start:0,end:50,stop:42},linkText:!0,linkUnits:"/",emptyText:"locked",completeText:"unlocked!"}),i.createProgressBar({container:"#badge-scientist",height:4,lineColor:"#e7e8ee"}),i.createProgressBar({container:"#badge-scientist",height:4,gradient:{colors:["#615dfa","#41efff"]},scale:{start:0,end:1,stop:1},linkText:!0,linkUnits:"/",emptyText:"locked",completeText:"unlocked!"}),i.createProgressBar({container:"#badge-ncreature",height:4,lineColor:"#e7e8ee"}),i.createProgressBar({container:"#badge-ncreature",height:4,gradient:{colors:["#615dfa","#41efff"]},scale:{start:0,end:100,stop:100},linkText:!0,linkUnits:"/",emptyText:"locked",completeText:"unlocked!"}),i.createProgressBar({container:"#badge-warrior",height:4,lineColor:"#e7e8ee"}),i.createProgressBar({container:"#badge-warrior",height:4,gradient:{colors:["#615dfa","#41efff"]},scale:{start:0,end:1,stop:1},linkText:!0,linkUnits:"/",emptyText:"locked",completeText:"unlocked!"}),i.createProgressBar({container:"#badge-liked",height:4,lineColor:"#e7e8ee"}),i.createProgressBar({container:"#badge-liked",height:4,gradient:{colors:["#615dfa","#41efff"]},scale:{start:0,end:500,stop:462},linkText:!0,linkUnits:"/",emptyText:"locked",completeText:"unlocked!"}),i.createProgressBar({container:"#badge-sloved",height:4,lineColor:"#e7e8ee"}),i.createProgressBar({container:"#badge-sloved",height:4,gradient:{colors:["#615dfa","#41efff"]},scale:{start:0,end:1e3,stop:462},linkText:!0,linkUnits:"/",emptyText:"locked",completeText:"unlocked!"}),i.createProgressBar({container:"#badge-qconq",height:4,lineColor:"#e7e8ee"}),i.createProgressBar({container:"#badge-qconq",height:4,gradient:{colors:["#615dfa","#41efff"]},scale:{start:0,end:10,stop:4},linkText:!0,linkUnits:"/",emptyText:"locked",completeText:"unlocked!"}),i.createProgressBar({container:"#badge-villain",height:4,lineColor:"#e7e8ee"}),i.createProgressBar({container:"#badge-villain",height:4,gradient:{colors:["#615dfa","#41efff"]},scale:{start:0,end:100,stop:89},linkText:!0,linkUnits:"/",emptyText:"locked",completeText:"unlocked!"}),i.createProgressBar({container:"#badge-age",height:4,lineColor:"#e7e8ee"}),i.createProgressBar({container:"#badge-age",height:4,gradient:{colors:["#615dfa","#41efff"]},scale:{start:0,end:730,stop:605},invertedProgress:!0,linkText:!0,linkUnits:"days",emptyText:"locked",completeText:"unlocked!"}),i.createProgressBar({container:"#badge-tstruck",height:4,lineColor:"#e7e8ee"}),i.createProgressBar({container:"#badge-tstruck",height:4,gradient:{colors:["#615dfa","#41efff"]},scale:{start:0,end:50,stop:41},linkText:!0,linkUnits:"/",emptyText:"locked",completeText:"unlocked!"}),i.createProgressBar({container:"#badge-uexp",height:4,lineColor:"#e7e8ee"}),i.createProgressBar({container:"#badge-uexp",height:4,gradient:{colors:["#615dfa","#41efff"]},scale:{start:0,end:20,stop:17},linkText:!0,linkUnits:"/",emptyText:"locked",completeText:"unlocked!"}),i.createProgressBar({container:"#badge-globet",height:4,lineColor:"#e7e8ee"}),i.createProgressBar({container:"#badge-globet",height:4,gradient:{colors:["#615dfa","#41efff"]},scale:{start:0,end:10,stop:8},linkText:!0,linkUnits:"/",emptyText:"locked",completeText:"unlocked!"}),i.createProgressBar({container:"#badge-verifieds",height:4,lineColor:"#e7e8ee"}),i.createProgressBar({container:"#badge-verifieds",height:4,gradient:{colors:["#615dfa","#41efff"]},scale:{start:0,end:1,stop:1},linkText:!0,linkUnits:"/",emptyText:"locked",completeText:"unlocked!"}),i.createProgressBar({container:"#badge-gempost",height:4,lineColor:"#e7e8ee"}),i.createProgressBar({container:"#badge-gempost",height:4,gradient:{colors:["#615dfa","#41efff"]},scale:{start:0,end:1,stop:0},linkText:!0,linkUnits:"/",emptyText:"locked",completeText:"unlocked!"}),i.createProgressBar({container:"#badge-peoplesp",height:4,lineColor:"#e7e8ee"}),i.createProgressBar({container:"#badge-peoplesp",height:4,gradient:{colors:["#615dfa","#41efff"]},scale:{start:0,end:200,stop:181},linkText:!0,linkUnits:"/",emptyText:"locked",completeText:"unlocked!"}),i.createProgressBar({container:"#badge-rulerm",height:4,lineColor:"#e7e8ee"}),i.createProgressBar({container:"#badge-rulerm",height:4,gradient:{colors:["#615dfa","#41efff"]},scale:{start:0,end:5,stop:1},linkText:!0,linkUnits:"/",emptyText:"locked",completeText:"unlocked!"}),i.createProgressBar({container:"#badge-marketeer",height:4,lineColor:"#e7e8ee"}),i.createProgressBar({container:"#badge-marketeer",height:4,gradient:{colors:["#615dfa","#41efff"]},scale:{start:0,end:10,stop:7},invertedProgress:!0,linkText:!0,linkUnits:"items",emptyText:"locked",completeText:"unlocked!"}),i.createProgressBar({container:"#badge-tycoon",height:4,lineColor:"#e7e8ee"}),i.createProgressBar({container:"#badge-tycoon",height:4,gradient:{colors:["#615dfa","#41efff"]},scale:{start:0,end:100,stop:32},linkText:!0,linkUnits:"/",emptyText:"locked",completeText:"unlocked!"}),i.createProgressBar({container:"#badge-mightiers",height:4,lineColor:"#e7e8ee"}),i.createProgressBar({container:"#badge-mightiers",height:4,gradient:{colors:["#615dfa","#41efff"]},scale:{start:0,end:50,stop:26},linkText:!0,linkUnits:"/",emptyText:"locked",completeText:"unlocked!"}),i.createProgressBar({container:"#badge-phantom",height:4,lineColor:"#e7e8ee"}),i.createProgressBar({container:"#badge-phantom",height:4,gradient:{colors:["#615dfa","#41efff"]},scale:{start:0,end:1,stop:1},linkText:!0,linkUnits:"/",emptyText:"locked",completeText:"unlocked!"}),i.createProgressBar({container:"#badge-forumsf",height:4,lineColor:"#e7e8ee"}),i.createProgressBar({container:"#badge-forumsf",height:4,gradient:{colors:["#615dfa","#41efff"]},scale:{start:0,end:20,stop:13},linkText:!0,linkUnits:"/",emptyText:"locked",completeText:"unlocked!"}),i.createProgressBar({container:"#badge-fcultivator",height:4,lineColor:"#e7e8ee"}),i.createProgressBar({container:"#badge-fcultivator",height:4,gradient:{colors:["#615dfa","#41efff"]},scale:{start:0,end:100,stop:33},linkText:!0,linkUnits:"/",emptyText:"locked",completeText:"unlocked!"}),i.createProgressBar({container:"#badge-splanner",height:4,lineColor:"#e7e8ee"}),i.createProgressBar({container:"#badge-splanner",height:4,gradient:{colors:["#615dfa","#41efff"]},scale:{start:0,end:25,stop:9},linkText:!0,linkUnits:"/",emptyText:"locked",completeText:"unlocked!"}),i.createProgressBar({container:"#badge-collector",height:4,lineColor:"#e7e8ee"}),i.createProgressBar({container:"#badge-collector",height:4,gradient:{colors:["#615dfa","#41efff"]},scale:{start:0,end:5,stop:2},linkText:!0,linkUnits:"/",emptyText:"locked",completeText:"unlocked!"}),i.createProgressBar({container:"#badge-prophoto",height:4,lineColor:"#e7e8ee"}),i.createProgressBar({container:"#badge-prophoto",height:4,gradient:{colors:["#615dfa","#41efff"]},scale:{start:0,end:500,stop:24},linkText:!0,linkUnits:"/",emptyText:"locked",completeText:"unlocked!"}),i.createProgressBar({container:"#badge-rmachine",height:4,lineColor:"#e7e8ee"}),i.createProgressBar({container:"#badge-rmachine",height:4,gradient:{colors:["#615dfa","#41efff"]},scale:{start:0,end:50,stop:41},linkText:!0,linkUnits:"/",emptyText:"locked",completeText:"unlocked!"}),i.createProgressBar({container:"#badge-bronzec",height:4,lineColor:"#e7e8ee"}),i.createProgressBar({container:"#badge-bronzec",height:4,gradient:{colors:["#615dfa","#41efff"]},scale:{start:0,end:1,stop:1},linkText:!0,linkUnits:"/",emptyText:"locked",completeText:"unlocked!"}),i.createProgressBar({container:"#badge-silverc",height:4,lineColor:"#e7e8ee"}),i.createProgressBar({container:"#badge-silverc",height:4,gradient:{colors:["#615dfa","#41efff"]},scale:{start:0,end:1,stop:1},linkText:!0,linkUnits:"/",emptyText:"locked",completeText:"unlocked!"}),i.createProgressBar({container:"#badge-goldc",height:4,lineColor:"#e7e8ee"}),i.createProgressBar({container:"#badge-goldc",height:4,gradient:{colors:["#615dfa","#41efff"]},scale:{start:0,end:1,stop:1},linkText:!0,linkUnits:"/",emptyText:"locked",completeText:"unlocked!"}),i.createProgressBar({container:"#badge-platinumc",height:4,lineColor:"#e7e8ee"}),i.createProgressBar({container:"#badge-platinumc",height:4,gradient:{colors:["#615dfa","#41efff"]},scale:{start:0,end:1,stop:0},linkText:!0,linkUnits:"/",emptyText:"locked",completeText:"unlocked!"}),i.createProgressBar({container:"#quest-preview-nth",height:4,lineColor:"#e7e8ee"}),i.createProgressBar({container:"#quest-preview-nth",height:4,gradient:{colors:["#615dfa","#41efff"]},scale:{start:0,end:100,stop:65},animateOnScroll:!0}),i.createProgressBar({container:"#quest-preview-sk",height:4,lineColor:"#e7e8ee"}),i.createProgressBar({container:"#quest-preview-sk",height:4,gradient:{colors:["#615dfa","#41efff"]},scale:{start:0,end:100,stop:85},animateOnScroll:!0}),i.createProgressBar({container:"#quest-preview-bp",height:4,lineColor:"#e7e8ee"}),i.createProgressBar({container:"#quest-preview-bp",height:4,gradient:{colors:["#615dfa","#41efff"]},scale:{start:0,end:100,stop:32},animateOnScroll:!0}),i.createProgressBar({container:"#quest-preview-htp",height:4,lineColor:"#e7e8ee"}),i.createProgressBar({container:"#quest-preview-htp",height:4,gradient:{colors:["#615dfa","#41efff"]},scale:{start:0,end:100,stop:0},animateOnScroll:!0}),i.createProgressBar({container:"#quest-preview-sm",height:4,lineColor:"#e7e8ee"}),i.createProgressBar({container:"#quest-preview-sm",height:4,gradient:{colors:["#615dfa","#41efff"]},scale:{start:0,end:100,stop:49},animateOnScroll:!0}),i.createProgressBar({container:"#quest-sk",height:4,lineColor:"#e7e8ee"}),i.createProgressBar({container:"#quest-sk",height:4,gradient:{colors:["#615dfa","#41efff"]},scale:{start:0,end:8,stop:7},linkText:!0,linkUnits:"/"}),i.createProgressBar({container:"#quest-fu",height:4,lineColor:"#e7e8ee"}),i.createProgressBar({container:"#quest-fu",height:4,gradient:{colors:["#615dfa","#41efff"]},scale:{start:0,end:50,stop:50},linkText:!0,linkUnits:"/"}),i.createProgressBar({container:"#quest-nth",height:4,lineColor:"#e7e8ee"}),i.createProgressBar({container:"#quest-nth",height:4,gradient:{colors:["#615dfa","#41efff"]},scale:{start:0,end:100,stop:67},linkText:!0,linkUnits:"%"}),i.createProgressBar({container:"#quest-sm",height:4,lineColor:"#e7e8ee"}),i.createProgressBar({container:"#quest-sm",height:4,gradient:{colors:["#615dfa","#41efff"]},scale:{start:0,end:10,stop:5},linkText:!0,linkUnits:"/"}),i.createProgressBar({container:"#quest-line-ps",height:4,lineColor:"#e7e8ee"}),i.createProgressBar({container:"#quest-line-ps",height:4,gradient:{colors:["#615dfa","#41efff"]},scale:{start:0,end:100,stop:100},linkText:!0,linkUnits:"%",animateOnScroll:!0}),i.createProgressBar({container:"#quest-line-nth",height:4,lineColor:"#e7e8ee"}),i.createProgressBar({container:"#quest-line-nth",height:4,gradient:{colors:["#615dfa","#41efff"]},scale:{start:0,end:100,stop:67},linkText:!0,linkUnits:"%",animateOnScroll:!0}),i.createProgressBar({container:"#quest-line-fu",height:4,lineColor:"#e7e8ee"}),i.createProgressBar({container:"#quest-line-fu",height:4,gradient:{colors:["#615dfa","#41efff"]},scale:{start:0,end:50,stop:50},linkText:!0,linkUnits:"/",animateOnScroll:!0}),i.createProgressBar({container:"#quest-line-ph",height:4,lineColor:"#e7e8ee"}),i.createProgressBar({container:"#quest-line-ph",height:4,gradient:{colors:["#615dfa","#41efff"]},scale:{start:0,end:20,stop:20},linkText:!0,linkUnits:"/",animateOnScroll:!0}),i.createProgressBar({container:"#quest-line-tr",height:4,lineColor:"#e7e8ee"}),i.createProgressBar({container:"#quest-line-tr",height:4,gradient:{colors:["#615dfa","#41efff"]},scale:{start:0,end:10,stop:2},linkText:!0,linkUnits:"/",animateOnScroll:!0}),i.createProgressBar({container:"#quest-line-sk",height:4,lineColor:"#e7e8ee"}),i.createProgressBar({container:"#quest-line-sk",height:4,gradient:{colors:["#615dfa","#41efff"]},scale:{start:0,end:8,stop:7},linkText:!0,linkUnits:"/",animateOnScroll:!0}),i.createProgressBar({container:"#quest-line-bp",height:4,lineColor:"#e7e8ee"}),i.createProgressBar({container:"#quest-line-bp",height:4,gradient:{colors:["#615dfa","#41efff"]},scale:{start:0,end:30,stop:12},linkText:!0,linkUnits:"/",animateOnScroll:!0}),i.createProgressBar({container:"#quest-line-htp",height:4,lineColor:"#e7e8ee"}),i.createProgressBar({container:"#quest-line-htp",height:4,gradient:{colors:["#615dfa","#41efff"]},scale:{start:0,end:100,stop:0},linkText:!0,linkUnits:"%",animateOnScroll:!0}),i.createProgressBar({container:"#quest-line-sm",height:4,lineColor:"#e7e8ee"}),i.createProgressBar({container:"#quest-line-sm",height:4,gradient:{colors:["#615dfa","#41efff"]},scale:{start:0,end:10,stop:5},linkText:!0,linkUnits:"/",animateOnScroll:!0}),i.createProgressBar({container:"#poll-result-1",height:4,lineColor:"#e7e8ee"}),i.createProgressBar({container:"#poll-result-1",height:4,gradient:{colors:["#615dfa","#41efff"]},scale:{start:0,end:100,stop:62},linkText:!0,linkUnits:"%"}),i.createProgressBar({container:"#poll-result-2",height:4,lineColor:"#e7e8ee"}),i.createProgressBar({container:"#poll-result-2",height:4,gradient:{colors:["#615dfa","#41efff"]},scale:{start:0,end:100,stop:27},linkText:!0,linkUnits:"%"}),i.createProgressBar({container:"#poll-result-3",height:4,lineColor:"#e7e8ee"}),i.createProgressBar({container:"#poll-result-3",height:4,gradient:{colors:["#615dfa","#41efff"]},scale:{start:0,end:100,stop:11},linkText:!0,linkUnits:"%"}),i.createProgressBar({container:"#post-engagement-1",height:4,lineColor:"#e7e8ee"}),i.createProgressBar({container:"#post-engagement-1",height:4,gradient:{colors:["#615dfa","#41efff"]},scale:{start:0,end:100,stop:89},linkText:!0,linkUnits:"%",animateOnScroll:!0}),i.createProgressBar({container:"#post-engagement-2",height:4,lineColor:"#e7e8ee"}),i.createProgressBar({container:"#post-engagement-2",height:4,gradient:{colors:["#615dfa","#41efff"]},scale:{start:0,end:100,stop:74},linkText:!0,linkUnits:"%",animateOnScroll:!0}),i.createProgressBar({container:"#post-engagement-3",height:4,lineColor:"#e7e8ee"}),i.createProgressBar({container:"#post-engagement-3",height:4,gradient:{colors:["#615dfa","#41efff"]},scale:{start:0,end:100,stop:53},linkText:!0,linkUnits:"%",animateOnScroll:!0}),i.createProgressBar({container:"#post-engagement-4",height:4,lineColor:"#e7e8ee"}),i.createProgressBar({container:"#post-engagement-4",height:4,gradient:{colors:["#615dfa","#41efff"]},scale:{start:0,end:100,stop:48},linkText:!0,linkUnits:"%",animateOnScroll:!0}),i.createProgressBar({container:"#post-engagement-5",height:4,lineColor:"#e7e8ee"}),i.createProgressBar({container:"#post-engagement-5",height:4,gradient:{colors:["#615dfa","#41efff"]},scale:{start:0,end:100,stop:21},linkText:!0,linkUnits:"%",animateOnScroll:!0}),i.createProgressBar({container:"#top-country-1",width:178,height:6,lineColor:"#e7e8ee"}),i.createProgressBar({container:"#top-country-1",width:178,height:6,gradient:{colors:["#615dfa","#41efff"]},scale:{start:0,end:25362,stop:25362},split:{parts:30,gap:2,color:"#fff"},linkText:!0,linkUnits:!1,animateOnScroll:!0}),i.createProgressBar({container:"#top-country-2",width:178,height:6,lineColor:"#e7e8ee"}),i.createProgressBar({container:"#top-country-2",width:178,height:6,gradient:{colors:["#615dfa","#41efff"]},scale:{start:0,end:25362,stop:18201},split:{parts:30,gap:2,color:"#fff"},linkText:!0,linkUnits:!1,animateOnScroll:!0}),i.createProgressBar({container:"#top-country-3",width:178,height:6,lineColor:"#e7e8ee"}),i.createProgressBar({container:"#top-country-3",width:178,height:6,gradient:{colors:["#615dfa","#41efff"]},scale:{start:0,end:25362,stop:9567},split:{parts:30,gap:2,color:"#fff"},linkText:!0,linkUnits:!1,animateOnScroll:!0})},{"../utils/plugins":72}],51:[function(e,t,n){"use strict";var o=e("../utils/plugins");o.createSlider({container:"#profile-header-social-links-slider",items:4,fixedWidth:32,gutter:8,loop:!1,nav:!1,controlsContainer:"#profile-header-social-links-slider-controls",responsive:{481:{fixedWidth:40,gutter:12}}}),o.createSlider({container:"#section-navigation-slider",fixedWidth:122,nav:!1,loop:!1,controlsContainer:"#section-navigation-slider-controls"}),o.createSlider({container:"#section-navigation-medium-slider",fixedWidth:160,nav:!1,loop:!1,controlsContainer:"#section-navigation-medium-slider-controls"}),o.createSlider({container:"#user-stats-slider",fixedWidth:113,nav:!1,loop:!1,controlsContainer:"#user-stats-slider-controls"}),o.createSlider({container:"#reaction-stats-slider",fixedWidth:146,nav:!1,loop:!1,controlsContainer:"#reaction-stats-slider-controls"}),o.createSlider({container:"#stat-block-slider",fixedWidth:272,nav:!1,loop:!1,controlsContainer:"#stat-block-slider-controls"}),o.createSlider({container:"#stream-slider",fixedWidth:184,gutter:16,nav:!1,controlsContainer:"#stream-slider-controls"}),o.createSlider({container:"#stats-box-slider-items",mode:"gallery",nav:!1,speed:1e3,autoplay:!0,autoplayButtonOutput:!1,controlsContainer:"#stats-box-slider-controls"}),o.createSlider({container:".reaction-stat-slider-items",nav:!1,speed:600,controlsContainer:".reaction-stat-slider-controls"}),o.createSlider({container:"#badge-stat-slider-items",nav:!1,loop:!1,speed:600,controlsContainer:"#badge-stat-slider-controls"}),o.createSlider({container:"#product-box-slider-items",mode:"gallery",speed:1e3,autoplay:!0,autoplayButtonOutput:!1,controlsContainer:"#product-box-slider-controls",navContainer:"#product-box-slider-roster"});!function(){for(var e=1;;){var t=e<10?"0".concat(e):e;if(!o.createSlider({container:"#user-preview-stats-slides-".concat(t),loop:!1,controls:!1,navContainer:"#user-preview-stats-roster-".concat(t)}))break;e++}}();!function(){for(var e,t,n,i=1;;){var r=i<10?"0".concat(i):i,a=o.createSlider({container:"#user-preview-social-links-slider-".concat(r),items:4,fixedWidth:32,gutter:8,loop:!1,nav:!1,controlsContainer:"#user-preview-social-links-slider-controls-".concat(r)});if(!a)break;e=a.getInfo(),t=32,n=8,e.container.style.width="".concat(e.slideCount*t+(e.slideCount-1)*n,"px"),i++}}()},{"../utils/plugins":72}],52:[function(e,t,n){"use strict";e("../utils/plugins").createTab({triggers:".tab-box-option",elements:".tab-box-item"})},{"../utils/plugins":72}],53:[function(e,t,n){"use strict";e("../utils/core").querySelector(".form-counter",function(e){var t=!0,n=!1,i=void 0;try{for(var o,r=function(){var e=o.value,t=e.querySelector(".form-counter-value"),n=e.querySelector(".form-counter-control-increase"),i=e.querySelector(".form-counter-control-decrease"),r=e.getAttribute("data-increase-by")?Number.parseInt(e.getAttribute("data-increase-by"),10):1,a=e.getAttribute("data-min")?Number.parseInt(e.getAttribute("data-min"),10):1;n.addEventListener("click",function(){t.innerHTML=Number.parseInt(t.innerHTML,10)+r}),i.addEventListener("click",function(){Number.parseInt(t.innerHTML)!==a&&(t.innerHTML=Number.parseInt(t.innerHTML,10)-r)})},a=e[Symbol.iterator]();!(t=(o=a.next()).done);t=!0)r()}catch(e){n=!0,i=e}finally{try{t||null==a.return||a.return()}finally{if(n)throw i}}})},{"../utils/core":69}],54:[function(e,t,n){"use strict";e("../utils/core").querySelector(".form-input",function(e){var t=!0,n=!1,i=void 0;try{for(var r,a=function(){var e=r.value;if(e.classList.contains("always-active"))return"continue";var t=e.querySelector("input"),n=e.querySelector("textarea"),i=void 0;t&&(i=t),n&&(i=n),i&&(i.addEventListener("focus",function(){e.classList.add("active")}),i.addEventListener("blur",function(){""===i.value&&e.classList.remove("active")}))},o=e[Symbol.iterator]();!(t=(r=o.next()).done);t=!0)a()}catch(e){n=!0,i=e}finally{try{t||null==o.return||o.return()}finally{if(n)throw i}}})},{"../utils/core":69}],55:[function(e,t,n){"use strict";e("../utils/core").querySelector(".form-rating",function(e){var t=!0,n=!1,i=void 0;try{for(var a,r=function(){for(var e=a.value,o="filled",s=Array.from(e.children),i=function(){e.setAttribute("data-rating",function(){var e=0,t=!0,n=!1,i=void 0;try{for(var r,a=s[Symbol.iterator]();!(t=(r=a.next()).done);t=!0){r.value.classList.contains(o)&&e++}}catch(e){n=!0,i=e}finally{try{t||null==a.return||a.return()}finally{if(n)throw i}}return e}())},t=function(){for(var e=s.indexOf(this),t=0;t<=e;t++)s[t].classList.add(o);for(var n=e+1;n<s.length;n++)s[n].classList.remove(o);i()},n=0,r=s;n<r.length;n++){r[n].addEventListener("click",t)}i()},o=e[Symbol.iterator]();!(t=(a=o.next()).done);t=!0)r()}catch(e){n=!0,i=e}finally{try{t||null==o.return||o.return()}finally{if(n)throw i}}})},{"../utils/core":69}],56:[function(e,t,n){"use strict";e("../utils/core").querySelector(".form-switch",function(e){var t=!0,n=!1,i=void 0;try{for(var r,a=function(){var e=r.value;e.addEventListener("click",function(){e.classList.toggle("active")})},o=e[Symbol.iterator]();!(t=(r=o.next()).done);t=!0)a()}catch(e){n=!0,i=e}finally{try{t||null==o.return||o.return()}finally{if(n)throw i}}})},{"../utils/core":69}],57:[function(e,t,n){"use strict";e("../utils/core").querySelector(".interactive-input",function(e){var t=!0,n=!1,i=void 0;try{for(var a,r=function(){var e=a.value,n=e.querySelector("input"),t=e.querySelector(".interactive-input-action");if(n){var i=function e(t){27===t.keyCode&&(n.value="",r(),window.removeEventListener("keydown",e))},r=function(){""!==n.value?(e.classList.add("active"),window.addEventListener("keydown",i)):""===n.value&&(e.classList.remove("active"),window.removeEventListener("keydown",i))};n.addEventListener("input",r),t&&t.addEventListener("click",function(){n.value="",n.focus(),r()})}},o=e[Symbol.iterator]();!(t=(a=o.next()).done);t=!0)r()}catch(e){n=!0,i=e}finally{try{t||null==o.return||o.return()}finally{if(n)throw i}}})},{"../utils/core":69}],58:[function(e,t,n){"use strict";var i=e("../utils/plugins");i.createAccordion({triggerSelector:".accordion-trigger",contentSelector:".accordion-content",startOpenClass:"accordion-open",selectedClass:"selected",linkTriggers:!1}),i.createAccordion({triggerSelector:".accordion-trigger-linked",contentSelector:".accordion-content-linked",startOpenClass:"accordion-open",selectedClass:"selected",linkTriggers:!0})},{"../utils/plugins":72}],59:[function(e,t,n){"use strict";function a(e){for(var t=[],n=1;n<=e;n++){var i=n<10?"0".concat(n):n.toString();t.push(i)}return t}var o=e("../utils/plugins"),i=e("../utils/core");i.querySelector("#engagements-chart",function(e){var t=e[0].getContext("2d");o.createChart(t,{type:"doughnut",data:{datasets:[{data:[18.3,5.2,1.4,3.9],backgroundColor:["#615dfa","#23d2e2","#4f91ff","#3ad2fe"],hoverBackgroundColor:["#615dfa","#23d2e2","#4f91ff","#3ad2fe"],borderWidth:0}],labels:["Reactions","Comments","Shares","Replies"]},options:{cutoutPercentage:88,responsive:!0,maintainAspectRatio:!1,legend:{display:!1},tooltips:{bodyFontFamily:"'Titillium Web', sans-serif",callbacks:{label:function(e,t){return t.datasets[0].data[e.index]+"K"}}}}})}),i.querySelector("#ve-monthly-report-ratio-chart",function(e){var t=e[0].getContext("2d");o.createChart(t,{type:"doughnut",data:{datasets:[{data:[12.5,87.5],backgroundColor:["#615dfa","#23d2e2"],hoverBackgroundColor:["#615dfa","#23d2e2"],borderWidth:0}],labels:["Engagements","Visits"]},options:{cutoutPercentage:74,responsive:!0,maintainAspectRatio:!1,legend:{display:!1},tooltips:{bodyFontFamily:"'Titillium Web', sans-serif",callbacks:{label:function(e,t){return t.datasets[0].data[e.index]+"%"}}}}})}),i.querySelector("#profile-completion-chart",function(e){var t=e[0].getContext("2d"),n=t.createLinearGradient(0,70,140,70);n.addColorStop(0,"#41efff"),n.addColorStop(1,"#615dfa");var i={datasets:[{data:[59,41],backgroundColor:[n,"#e8e8ef"],hoverBackgroundColor:[n,"#e8e8ef"],borderWidth:0}]};o.createChart(t,{type:"doughnut",data:i,options:{cutoutPercentage:88,responsive:!0,maintainAspectRatio:!1,legend:{display:!1},tooltips:{enabled:!1},animation:{animateRotate:!1}}})}),i.querySelector("#posts-engagement-chart",function(e){var t=e[0].getContext("2d"),n=t.createLinearGradient(0,40,80,40);n.addColorStop(0,"#41efff"),n.addColorStop(1,"#615dfa");var i={datasets:[{data:[87,13],backgroundColor:[n,"#e8e8ef"],hoverBackgroundColor:[n,"#e8e8ef"],borderWidth:0}]};o.createChart(t,{type:"doughnut",data:i,options:{cutoutPercentage:85,responsive:!0,maintainAspectRatio:!1,legend:{display:!1},tooltips:{enabled:!1},animation:{animateRotate:!1}}})}),i.querySelector("#posts-shared-chart",function(e){var t=e[0].getContext("2d"),n=t.createLinearGradient(0,40,80,40);n.addColorStop(0,"#41efff"),n.addColorStop(1,"#615dfa");var i={datasets:[{data:[42,58],backgroundColor:[n,"#e8e8ef"],hoverBackgroundColor:[n,"#e8e8ef"],borderWidth:0}]};o.createChart(t,{type:"doughnut",data:i,options:{cutoutPercentage:85,responsive:!0,maintainAspectRatio:!1,legend:{display:!1},tooltips:{enabled:!1},animation:{animateRotate:!1}}})}),i.querySelector("#ve-monthly-report-chart",function(e){var t=[20,15,22,26,12,16,24,13,17,9,26,21,14,21,17,23,30,18,24,15,28,17,13,23,16,12,23,16,24,13,22],n=[9,28,6,9,17,7,16,12,10,11,12,3,13,11,8,17,13,16,5,19,14,11,26,8,4,15,16,25,5,13,12],i=e[0].getContext("2d"),r={labels:a(31),datasets:[{label:"Engagements",data:t,maxBarThickness:16,backgroundColor:"#615dfa"},{label:"Visits",data:n,maxBarThickness:16,backgroundColor:"#3ad2fe"},{data:function(e,t){for(var n=new Array(e[0].length).fill(t),i=0;i<e.length;i++)for(var r=0;r<e[i].length;r++)n[r]-=e[i][r];return n}([t,n],55),maxBarThickness:16,backgroundColor:"#e8e8ef"}]};o.createChart(i,{type:"bar",data:r,options:{responsive:!0,maintainAspectRatio:!1,legend:{display:!1},tooltips:{bodyFontFamily:"'Titillium Web', sans-serif",displayColors:!1,callbacks:{title:function(){}}},scales:{xAxes:[{stacked:!0,gridLines:{display:!1},ticks:{fontFamily:"'Rajdhani', sans-serif",fontColor:"#8f91ac",fontSize:12,fontStyle:500}}],yAxes:[{stacked:!0,gridLines:{color:"rgba(234, 234, 245, 1)",zeroLineColor:"rgba(234, 234, 245, 1)",drawBorder:!1,drawTicks:!1},ticks:{padding:20,fontFamily:"'Rajdhani', sans-serif",fontColor:"#8f91ac",fontSize:12,fontStyle:500,max:55,stepSize:5}}]}}})}),i.querySelector("#rc-yearly-report-chart",function(e){var t=e[0].getContext("2d"),n={labels:["January","February","March","April","May","June","July","August","September","October","November","December"],datasets:[{label:"Reactions",data:[119,142,110,122,163,139,143,110,141,121,139,190],fill:!1,lineTension:0,borderWidth:4,borderColor:"#23d2e2",borderCapStyle:"butt",borderDash:[],borderDashOffset:0,borderJoinStyle:"bevel",pointBorderColor:"#23d2e2",pointBackgroundColor:"#fff",pointBorderWidth:4,pointHoverRadius:5,pointHoverBackgroundColor:"#fff",pointHoverBorderColor:"#23d2e2",pointHoverBorderWidth:4,pointRadius:5,pointHitRadius:10},{label:"Comments",data:[98,65,132,78,112,82,100,80,100,58,48,139],fill:!1,lineTension:0,borderWidth:4,borderColor:"#4f91ff",borderCapStyle:"bevel",borderDash:[],borderDashOffset:0,borderJoinStyle:"bevel",pointBorderColor:"#4f91ff",pointBackgroundColor:"#fff",pointBorderWidth:4,pointHoverRadius:5,pointHoverBackgroundColor:"#fff",pointHoverBorderColor:"#4f91ff",pointHoverBorderWidth:4,pointRadius:5,pointHitRadius:10}]};o.createChart(t,{type:"line",data:n,options:{responsive:!0,maintainAspectRatio:!1,legend:{display:!1},tooltips:{bodyFontFamily:"'Titillium Web', sans-serif",displayColors:!1,callbacks:{title:function(){}}},scales:{xAxes:[{gridLines:{color:"rgba(234, 234, 245, 1)",zeroLineColor:"rgba(234, 234, 245, 1)",drawBorder:!1,drawTicks:!1},ticks:{padding:14,fontFamily:"'Rajdhani', sans-serif",fontColor:"#8f91ac",fontSize:12,fontStyle:500}}],yAxes:[{gridLines:{color:"rgba(234, 234, 245, 1)",zeroLineColor:"rgba(234, 234, 245, 1)",drawBorder:!1},ticks:{padding:20,fontFamily:"'Rajdhani', sans-serif",fontColor:"#8f91ac",fontSize:12,fontStyle:500,min:20,max:220,stepSize:40}}]}}})}),i.querySelector("#vs-performance-chart",function(e){var t=e[0].getContext("2d"),n={labels:["Aug","Sep","Oct","Nov"],datasets:[{label:"Views",data:[140,90,155,180],maxBarThickness:16,backgroundColor:"#615dfa"},{label:"Sales",data:[120,25,130,110],maxBarThickness:16,backgroundColor:"#3ad2fe"}]};o.createChart(t,{type:"bar",data:n,options:{responsive:!0,maintainAspectRatio:!1,legend:{display:!1},tooltips:{bodyFontFamily:"'Titillium Web', sans-serif",displayColors:!1,callbacks:{title:function(){}}},scales:{xAxes:[{gridLines:{display:!1},ticks:{fontFamily:"'Rajdhani', sans-serif",fontColor:"#8f91ac",fontSize:12,fontStyle:500}}],yAxes:[{gridLines:{display:!1},ticks:{display:!1}}]}}})}),i.querySelector("#earnings-report-chart",function(e){var t=e[0].getContext("2d"),n={labels:a(31),datasets:[{label:"Earnings",data:[0,15,0,0,0,20,10,15,40,20,25,25,15,10,20,23,23,15,30,40,30,20,25,0,0,0,0,0,0,0,0,0],lineTension:.5,borderWidth:2,backgroundColor:"rgba(35, 210, 226, .2)",borderColor:"#23d2e2",borderCapStyle:"butt",borderDash:[],borderDashOffset:0,borderJoinStyle:"bevel",pointBorderColor:"#fff",pointBackgroundColor:"#23d2e2",pointBorderWidth:2,pointHoverRadius:4,pointHoverBorderColor:"#fff",pointHoverBackgroundColor:"#23d2e2",pointHoverBorderWidth:2,pointRadius:4,pointHitRadius:5}]};o.createChart(t,{type:"line",data:n,options:{responsive:!0,maintainAspectRatio:!1,legend:{display:!1},tooltips:{bodyFontFamily:"'Titillium Web', sans-serif",displayColors:!1,callbacks:{title:function(){}}},scales:{xAxes:[{gridLines:{color:"rgba(234, 234, 245, 1)",zeroLineColor:"rgba(234, 234, 245, 1)",drawBorder:!1,drawTicks:!1},ticks:{padding:14,fontFamily:"'Rajdhani', sans-serif",fontColor:"#8f91ac",fontSize:12,fontStyle:500}}],yAxes:[{gridLines:{color:"rgba(234, 234, 245, 1)",zeroLineColor:"rgba(234, 234, 245, 1)",drawBorder:!1},ticks:{padding:20,fontFamily:"'Rajdhani', sans-serif",fontColor:"#8f91ac",fontSize:12,fontStyle:500,max:55,stepSize:5,callback:function(e,t,n){return"$"+e}}}]}}})}),i.querySelector("#members-report-chart",function(e){var t=e[0].getContext("2d"),n={labels:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],datasets:[{label:"Members",data:[8,4,8,5,10,13,11,11,13,17,5,12],lineTension:0,borderWidth:2,backgroundColor:"rgba(97, 93, 250, .1)",borderColor:"#615dfa",borderCapStyle:"butt",borderDash:[],borderDashOffset:0,borderJoinStyle:"bevel",pointBorderColor:"#615dfa",pointBackgroundColor:"#fff",pointBorderWidth:2,pointHoverRadius:4,pointHoverBorderColor:"#615dfa",pointHoverBackgroundColor:"#fff",pointHoverBorderWidth:2,pointRadius:4,pointHitRadius:5}]};o.createChart(t,{type:"line",data:n,options:{responsive:!0,maintainAspectRatio:!1,legend:{display:!1},tooltips:{bodyFontFamily:"'Titillium Web', sans-serif",displayColors:!1,callbacks:{title:function(){}}},scales:{xAxes:[{gridLines:{color:"rgba(234, 234, 245, 1)",zeroLineColor:"rgba(234, 234, 245, 1)",drawBorder:!1,drawTicks:!1},ticks:{padding:14,fontFamily:"'Rajdhani', sans-serif",fontColor:"#8f91ac",fontSize:12,fontStyle:500}}],yAxes:[{gridLines:{color:"rgba(234, 234, 245, 1)",zeroLineColor:"rgba(234, 234, 245, 1)",drawBorder:!1},ticks:{padding:20,fontFamily:"'Rajdhani', sans-serif",fontColor:"#8f91ac",fontSize:12,fontStyle:500,max:20,stepSize:2,beginAtZero:!0}}]}}})})},{"../utils/core":69,"../utils/plugins":72}],60:[function(e,t,n){"use strict";window.initMap=function(){new google.maps.Map(document.getElementById("g-map"),{center:{lat:44.934084,lng:-93.252358},zoom:15,disableDefaultUI:!1})}},{}],61:[function(e,t,n){"use strict";e("../utils/core").querySelector(".page-loader",function(e){var t=e[0];window.addEventListener("load",function(){t.classList.add("hidden")})})},{"../utils/core":69}],62:[function(e,t,n){"use strict";var i=e("../utils/plugins"),r=e("../utils/core");i.createPopup({container:".popup-video",trigger:".popup-video-trigger",sticky:!0,overlay:{color:"21, 21, 31",opacity:.96},animation:{type:"translate-in-fade",speed:.3,translateOffset:40}}),i.createPopup({container:".popup-picture",trigger:".popup-picture-trigger",sticky:!0,overlay:{color:"21, 21, 31",opacity:.96},animation:{type:"translate-in-fade",speed:.3,translateOffset:40}}),i.createPopup({container:".popup-album-creation",trigger:".popup-album-creation-trigger",overlay:{color:"21, 21, 31",opacity:.96},animation:{type:"translate-in-fade",speed:.3,translateOffset:40}}),i.createPopup({container:".popup-event-creation",trigger:".popup-event-creation-trigger",overlay:{color:"21, 21, 31",opacity:.96},animation:{type:"translate-in-fade",speed:.3,translateOffset:40}}),i.createPopup({container:".popup-event-information",trigger:".popup-event-information-trigger",overlay:{color:"21, 21, 31",opacity:.96},animation:{type:"translate-in-fade",speed:.3,translateOffset:40}}),i.createPopup({container:".popup-manage-group",trigger:".popup-manage-group-trigger",overlay:{color:"21, 21, 31",opacity:.96},animation:{type:"translate-in-fade",speed:.3,translateOffset:40}}),i.createPopup({container:".popup-manage-item",trigger:".popup-manage-item-trigger",overlay:{color:"21, 21, 31",opacity:.96},animation:{type:"translate-in-fade",speed:.3,translateOffset:40}}),i.createPopup({container:".popup-review",trigger:".popup-review-trigger",overlay:{color:"21, 21, 31",opacity:.96},animation:{type:"translate-in-fade",speed:.3,translateOffset:40}}),r.querySelector(".popup-picture",function(e){function t(){i.style.height="".concat(n.offsetHeight-r.offsetHeight,"px")}var n=e[0],i=n.querySelector(".widget-box-scrollable"),r=n.querySelector(".post-comment-form");t(),window.addEventListener("resize",t)})},{"../utils/core":69,"../utils/plugins":72}],63:[function(e,t,n){"use strict";var i=e("../utils/plugins");i.createTooltip({container:".text-tooltip-tfr",offset:4,direction:"right",animation:{type:"translate-in-fade"}}),i.createTooltip({container:".text-tooltip-tft",offset:4,direction:"top",animation:{type:"translate-out-fade"}}),i.createTooltip({container:".text-tooltip-tft-medium",offset:8,direction:"top",animation:{type:"translate-out-fade"}})},{"../utils/plugins":72}],64:[function(e,t,n){"use strict";var i=e("../utils/plugins");i.createHexagon({container:".hexagon-148-164",width:148,height:164,roundedCorners:!0,fill:!0}),i.createHexagon({container:".hexagon-progress-124-136",width:124,height:136,lineWidth:8,roundedCorners:!0,gradient:{colors:["#41efff","#615dfa"]},scale:{start:0,end:1,stop:.74}}),i.createHexagon({container:".hexagon-border-124-136",width:124,height:136,lineWidth:8,roundedCorners:!0,lineColor:"#e7e8ee"}),i.createHexagon({container:".hexagon-image-100-110",width:100,height:110,roundedCorners:!0,clip:!0}),i.createHexagon({container:".hexagon-120-132",width:120,height:132,roundedCorners:!0,fill:!0}),i.createHexagon({container:".hexagon-progress-100-110",width:100,height:110,lineWidth:6,roundedCorners:!0,gradient:{colors:["#41efff","#615dfa"]},scale:{start:0,end:1,stop:.8}}),i.createHexagon({container:".hexagon-border-100-110",width:100,height:110,lineWidth:6,roundedCorners:!0,lineColor:"#e7e8ee"}),i.createHexagon({container:".hexagon-image-82-90",width:82,height:90,roundedCorners:!0,roundedCornerRadius:3,clip:!0}),i.createHexagon({container:".hexagon-100-110",width:100,height:110,roundedCorners:!0,fill:!0}),i.createHexagon({container:".hexagon-progress-84-92",width:84,height:92,lineWidth:5,roundedCorners:!0,roundedCornerRadius:3,gradient:{colors:["#41efff","#615dfa"]},scale:{start:0,end:1,stop:.8}}),i.createHexagon({container:".hexagon-border-84-92",width:84,height:92,lineWidth:5,roundedCorners:!0,roundedCornerRadius:3,lineColor:"#e7e8ee"}),i.createHexagon({container:".hexagon-image-68-74",width:68,height:74,roundedCorners:!0,roundedCornerRadius:3,clip:!0}),i.createHexagon({container:".hexagon-50-56",width:50,height:56,roundedCorners:!0,roundedCornerRadius:2,fill:!0}),i.createHexagon({container:".hexagon-progress-40-44",width:40,height:44,lineWidth:3,roundedCorners:!0,roundedCornerRadius:1,gradient:{colors:["#41efff","#615dfa"]},scale:{start:0,end:1,stop:.8}}),i.createHexagon({container:".hexagon-border-40-44",width:40,height:44,lineWidth:3,roundedCorners:!0,roundedCornerRadius:1,lineColor:"#e7e8ee"}),i.createHexagon({container:".hexagon-image-30-32",width:30,height:32,roundedCorners:!0,roundedCornerRadius:1,clip:!0}),i.createHexagon({container:".hexagon-40-44",width:40,height:44,roundedCorners:!0,roundedCornerRadius:1,fill:!0}),i.createHexagon({container:".hexagon-dark-32-34",width:32,height:34,roundedCorners:!0,roundedCornerRadius:1,lineColor:"#45437f",fill:!0}),i.createHexagon({container:".hexagon-32-36",width:32,height:36,roundedCorners:!0,roundedCornerRadius:1,lineColor:"#fff",fill:!0}),i.createHexagon({container:".hexagon-dark-26-28",width:26,height:28,roundedCorners:!0,roundedCornerRadius:1,lineColor:"#45437f",fill:!0}),i.createHexagon({container:".hexagon-28-32",width:28,height:32,roundedCorners:!0,roundedCornerRadius:1,lineColor:"#fff",fill:!0}),i.createHexagon({container:".hexagon-dark-22-24",width:22,height:24,roundedCorners:!0,roundedCornerRadius:1,lineColor:"#45437f",fill:!0}),i.createHexagon({container:".hexagon-22-24",width:22,height:24,roundedCorners:!0,roundedCornerRadius:1,lineColor:"#fff",fill:!0}),i.createHexagon({container:".hexagon-dark-16-18",width:16,height:18,roundedCorners:!0,roundedCornerRadius:1,lineColor:"#45437f",fill:!0}),i.createHexagon({container:".hexagon-120-130",width:120,height:130,roundedCorners:!0,fill:!0}),i.createHexagon({container:".hexagon-100-108",width:100,height:108,roundedCorners:!0,fill:!0}),i.createHexagon({container:".hexagon-image-124-136",width:124,height:136,roundedCorners:!0,clip:!0}),i.createHexagon({container:".hexagon-image-84-92",width:84,height:92,roundedCorners:!0,clip:!0}),i.createHexagon({container:".hexagon-34-36",width:34,height:36,roundedCorners:!0,roundedCornerRadius:1,fill:!0}),i.createHexagon({container:".hexagon-image-40-44",width:40,height:44,roundedCorners:!0,roundedCornerRadius:1,clip:!0}),i.createHexagon({container:".hexagon-image-24-26",width:24,height:26,roundedCorners:!0,roundedCornerRadius:1,clip:!0}),i.createHexagon({container:".hexagon-image-18-20",width:18,height:20,roundedCorners:!0,roundedCornerRadius:1,clip:!0}),i.createHexagon({container:".hexagon-overlay-30-32",width:30,height:32,roundedCorners:!0,roundedCornerRadius:1,lineColor:"rgba(97, 93, 250, .9)",fill:!0})},{"../utils/plugins":72}],65:[function(e,t,n){"use strict";var o=e("../utils/plugins");e("../utils/core").querySelector("#search-main",function(e){function t(e){27===e.keyCode&&(n.hideDropdowns(),r="",window.removeEventListener("keydown",t))}var n=o.createDropdown({container:".header-search-dropdown",offset:{top:57,left:0},animation:{type:"translate-top"},controlToggle:!0,closeOnWindowClick:!1}),i=e[0],r="",a=i.parentElement.querySelector(".interactive-input-action");960<window.innerWidth&&(i.addEventListener("input",function(e){""===r&&""!==e.target.value?(n.showDropdowns(),window.addEventListener("keydown",t)):""===e.target.value&&(n.hideDropdowns(),window.removeEventListener("keydown",t)),r=e.target.value}),a.addEventListener("click",function(){n.hideDropdowns(),window.removeEventListener("keydown",t),r=""}))}),o.createDropdown({trigger:".header-dropdown-trigger",container:".header-dropdown",offset:{top:64,right:6},animation:{type:"translate-top"}}),o.createDropdown({trigger:".header-settings-dropdown-trigger",container:".header-settings-dropdown",offset:{top:64,right:22},animation:{type:"translate-top"}})},{"../utils/core":69,"../utils/plugins":72}],66:[function(e,t,n){"use strict";var i=e("../utils/plugins");i.createProgressBar({container:"#logged-user-level",height:4,lineColor:"#4a46c8"}),i.createProgressBar({container:"#logged-user-level",height:4,lineColor:"#41efff",scale:{start:0,end:100,stop:62},linkText:!0,linkUnits:"exp",invertedProgress:!0}),i.createProgressBar({container:"#logged-user-level-cp",height:4,lineColor:"#4a46c8"}),i.createProgressBar({container:"#logged-user-level-cp",height:4,lineColor:"#41efff",scale:{start:0,end:100,stop:62},linkText:!0,linkUnits:"exp",invertedProgress:!0})},{"../utils/plugins":72}],67:[function(e,t,n){"use strict";e("../utils/plugins").createTab({triggers:".login-register-form-trigger",elements:".login-register-form-element",animation:{type:"slide-in-right"},onTabChange:function(e){e.querySelector("input").focus()}})},{"../utils/plugins":72}],68:[function(e,t,n){"use strict";var r=e("../utils/core");r.querySelector(".content-grid",function(o){function s(e){if(1366<window.innerWidth){var t=c.chat.active?c.chat.maxWidth:c.chat.minWidth,n=c.navigation.active?c.navigation.maxWidth:c.navigation.minWidth,i=(document.body.clientWidth-e.offsetWidth-t-n)/2+n;e.style.transform="translate(".concat(i,"px, 0)")}else e.style.transform="translate(0, 0)"}function l(){var e=!0,t=!1,n=void 0;try{for(var i,r=o[Symbol.iterator]();!(e=(i=r.next()).done);e=!0){var a=i.value;s(a)}}catch(e){t=!0,n=e}finally{try{e||null==r.return||r.return()}finally{if(t)throw n}}}var c={chat:{active:!1,minWidth:80,maxWidth:300},navigation:{active:!1,minWidth:80,maxWidth:300}};l(),window.addEventListener("resize",l),window.setTimeout(function(){var e=!0,t=!1,n=void 0;try{for(var i,r=o[Symbol.iterator]();!(e=(i=r.next()).done);e=!0){var a=i.value;a.style.transition="transform .4s ease-in-out"}}catch(e){t=!0,n=e}finally{try{e||null==r.return||r.return()}finally{if(t)throw n}}},300),r.querySelector("#chat-widget-messages",function(e){function t(){n.classList.contains(i)?p.style.height="".concat(window.innerHeight-m.offsetHeight-80,"px"):p.style.height="".concat(window.innerHeight-v.offsetHeight-m.offsetHeight-80,"px")}function g(){n.classList.remove(i),t(),c.chat.active=!0,l()}var n=e[0],p=n.querySelector(".chat-widget-messages"),v=n.querySelector(".chat-widget-form"),m=n.querySelector(".chat-widget-button"),i="closed";m.addEventListener("click",function(){n.classList.toggle(i),t(),c.chat.active=!n.classList.contains(i),l()}),t(),window.addEventListener("resize",t),r.querySelector("#chat-widget-message",function(e){function t(){o.style.height="".concat(window.innerHeight-a.offsetHeight-v.offsetHeight-m.offsetHeight-80,"px")}function n(){i.classList.toggle("hidden")}var i=e[0],r=p.querySelectorAll(".chat-widget-message"),a=i.querySelector(".chat-widget-header"),o=i.querySelector(".chat-widget-conversation"),s=i.querySelector(".chat-widget-close-button"),l=!0,c=!1,d=void 0;try{for(var u,h=r[Symbol.iterator]();!(l=(u=h.next()).done);l=!0){var f=u.value;f.addEventListener("click",n),f.addEventListener("click",g)}}catch(e){c=!0,d=e}finally{try{l||null==h.return||h.return()}finally{if(c)throw d}}m.addEventListener("click",function(){i.classList.add("hidden")}),s.addEventListener("click",n),t(),window.addEventListener("resize",t)})}),r.querySelector(".navigation-widget-trigger",function(e){function t(){i.style.height="".concat(window.innerHeight-80,"px")}var n=e[0],i=document.querySelector("#navigation-widget"),r=document.querySelector("#navigation-widget-small"),a="hidden";n.addEventListener("click",function(){n.classList.toggle("active"),i.classList.toggle("delayed"),i.classList.toggle(a),r.classList.toggle("delayed"),r.classList.toggle(a),c.navigation.active=!i.classList.contains(a),l()}),t(),window.addEventListener("resize",t)}),r.querySelector(".navigation-widget-mobile-trigger",function(e){var t=e[0],n=document.querySelector("#navigation-widget-mobile"),i=n.querySelector(".navigation-widget-close-button"),r=document.createElement("div");r.style.width="100%",r.style.height="100%",r.style.position="fixed",r.style.top="0",r.style.left="0",r.style.zIndex=99998,r.style.backgroundColor="rgba(21, 21, 31, .96)",r.style.opacity=0,r.style.visibility="hidden",r.style.transition="opacity .3s ease-in-out, visibility .3s ease-in-out",document.body.appendChild(r);function a(){r.style.opacity=1,r.style.visibility="visible"}function o(){r.style.opacity=0,r.style.visibility="hidden"}function s(){n.style.height="".concat(window.innerHeight,"px")}function l(){n.classList.toggle("hidden"),(n.classList.contains("hidden")?o:a)()}t.addEventListener("click",l),i.addEventListener("click",l),r.addEventListener("click",l),s(),window.addEventListener("resize",s)})})},{"../utils/core":69}],69:[function(e,t,n){"use strict";function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var r={deepExtend:function(e,t){for(var n in t)"object"===i(t[n])?(e[n]=t[n]instanceof Array?[]:{},this.deepExtend(e[n],t[n])):e[n]=t[n]},query:function(e){var i={method:"GET",async:!0,header:{type:"Content-type",value:"application/json"},data:""};return this.deepExtend(i,e),new Promise(function(e,t){var n=new XMLHttpRequest;n.onreadystatechange=function(){4===n.readyState&&(200===n.status?e(n.responseText):t({status:n.status,statusText:n.statusText}))},n.open(i.method,i.url,i.async),n.setRequestHeader(i.header.type,i.header.value),"GET"===i.method?n.send():"POST"===i.method&&n.send(i.data)})},querySelector:function(e,t){var n=document.querySelectorAll(e);n.length&&t(n)},liquidify:function(e){var t=e.querySelector("img"),n=t.getAttribute("src");t.style.display="none",e.style.background='url("'.concat(n,'") no-repeat center'),e.style.backgroundSize="cover"},liquidifyStatic:function(e,t){t.style.display="none",e.style.background='url("'.concat(t.getAttribute("src"),'") no-repeat center'),e.style.backgroundSize="cover"},dateDiff:function(e,t){var n=1<arguments.length&&void 0!==t?t:new Date,i=Math.abs(e.getTime()-n.getTime()),r=Math.ceil(i/1e3),a=Math.floor(i/6e4),o=Math.floor(i/36e5),s=Math.floor(i/864e5),l=Math.floor(i/6048e5),c=Math.floor(i/24192e5),d=Math.floor(i/290304e5);return r<60?{unit:1===r?"second":"seconds",value:r}:a<60?{unit:1===a?"minute":"minutes",value:a}:o<24?{unit:1===o?"hour":"hours",value:o}:s<7?{unit:1===s?"day":"days",value:s}:l<4?{unit:1===l?"week":"weeks",value:l}:c<12?{unit:1===c?"month":"months",value:c}:{unit:1===d?"year":"years",value:d}}};t.exports=r},{}],70:[function(e,t,n){"use strict";e("./core").querySelector(".icon-demo-list",function(e){function t(e){var t=document.createElement("div"),n=document.createElement("div"),i=function(e){var t=document.createElementNS("http://www.w3.org/2000/svg","svg"),n=document.createElementNS("http://www.w3.org/2000/svg","use");return t.classList.add("icon-".concat(e)),n.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href","#svg-".concat(e)),t.appendChild(n),t}(e.className),r=document.createElement("p"),a=document.createElement("p"),o=document.createElement("p"),s=document.createElement("span"),l=document.createElement("span");return t.classList.add("demo-box"),n.classList.add("demo-box-icon-wrap"),i.classList.add("demo-box-icon"),r.classList.add("demo-box-title"),a.classList.add("demo-box-text"),o.classList.add("button","full"),s.classList.add("inactive-text"),l.classList.add("active-text"),r.innerHTML=e.name,a.innerHTML=".icon-".concat(e.className),s.innerHTML="Copy SVG",l.innerHTML="Copied!",n.appendChild(i),t.appendChild(n),t.appendChild(r),t.appendChild(a),o.appendChild(s),o.appendChild(l),{container:t,trigger:o}}var n=[{name:"Facebook",className:"facebook"},{name:"Twitter",className:"twitter"},{name:"Twitch",className:"twitch"},{name:"Youtube",className:"youtube"},{name:"Instagram",className:"instagram"},{name:"Discord",className:"discord"},{name:"Patreon",className:"patreon"},{name:"Google",className:"google"},{name:"Behance",className:"behance"},{name:"DeviantArt",className:"deviantart"},{name:"Artstation",className:"artstation"},{name:"Cross",className:"cross"},{name:"Logo Vikinger",className:"logo-vikinger"},{name:"Grid",className:"grid"},{name:"Dots",className:"dots"},{name:"Magnifying Glass",className:"magnifying-glass"},{name:"Comment",className:"comment"},{name:"Thumbs Up",className:"thumbs-up"},{name:"Friend",className:"friend"},{name:"Group",className:"group"},{name:"Marketplace",className:"marketplace"},{name:"Add Friend",className:"add-friend"},{name:"Remove Friend",className:"remove-friend"},{name:"Delete",className:"delete"},{name:"Messages",className:"messages"},{name:"Send Message",className:"send-message"},{name:"Back Arrow",className:"back-arrow"},{name:"Shopping Bag",className:"shopping-bag"},{name:"Notification",className:"notification"},{name:"Settings",className:"settings"},{name:"Cross Thin",className:"cross-thin"},{name:"Newsfeed",className:"newsfeed"},{name:"Overview",className:"overview"},{name:"Members",className:"members"},{name:"Badges",className:"badges"},{name:"Quests",className:"quests"},{name:"Streams",className:"streams"},{name:"Events",className:"events"},{name:"Forums",className:"forums"},{name:"Small Arrow",className:"small-arrow"},{name:"Big Arrow",className:"big-arrow"},{name:"Public",className:"public"},{name:"Private",className:"private"},{name:"Join Group",className:"join-group"},{name:"Leave Group",className:"leave-group"},{name:"More Dots",className:"more-dots"},{name:"Profile",className:"profile"},{name:"Timeline",className:"timeline"},{name:"Photos",className:"photos"},{name:"Videos",className:"videos"},{name:"Blog Posts",className:"blog-posts"},{name:"Forum",className:"forum"},{name:"Store",className:"store"},{name:"Star",className:"star"},{name:"Play",className:"play"},{name:"Share",className:"share"},{name:"Pinned",className:"pinned"},{name:"Status",className:"status"},{name:"Big Grid View",className:"big-grid-view"},{name:"Small Grid View",className:"small-grid-view"},{name:"List Grid View",className:"list-grid-view"},{name:"Plus",className:"plus"},{name:"Plus Small",className:"plus-small"},{name:"Minus Small",className:"minus-small"},{name:"Poll",className:"poll"},{name:"Camera",className:"camera"},{name:"Gif",className:"gif"},{name:"Tags",className:"tags"},{name:"Quote",className:"quote"},{name:"Pin",className:"pin"},{name:"Ticket",className:"ticket"},{name:"Events Monthly",className:"events-monthly"},{name:"Events Weekly",className:"events-weekly"},{name:"Events Daily",className:"events-daily"},{name:"Info",className:"info"},{name:"Check",className:"check"},{name:"Trophy",className:"trophy"},{name:"Clock",className:"clock"},{name:"Return",className:"return"},{name:"Dribbble",className:"dribbble"},{name:"Item",className:"item"},{name:"Wallet",className:"wallet"},{name:"Earnings",className:"earnings"},{name:"Revenue",className:"revenue"},{name:"Login",className:"login"}],i=!0,r=!1,a=void 0;try{for(var o,s=e[Symbol.iterator]();!(i=(o=s.next()).done);i=!0){var l=o.value,c=n.sort(function(e,t){return e.name<t.name?-1:e.name>t.name?1:0}),d=!0,u=!1,h=void 0;try{for(var f,g=c[Symbol.iterator]();!(d=(f=g.next()).done);d=!0){var p=t(f.value);l.appendChild(p.container)}}catch(e){u=!0,h=e}finally{try{d||null==g.return||g.return()}finally{if(u)throw h}}}}catch(e){r=!0,a=e}finally{try{i||null==s.return||s.return()}finally{if(r)throw a}}})},{"./core":69}],71:[function(e,t,n){"use strict";var s=e("../utils/core");s.querySelector(".liquid",function(e){var t=!0,n=!1,i=void 0;try{for(var r,a=e[Symbol.iterator]();!(t=(r=a.next()).done);t=!0){var o=r.value;s.liquidify(o)}}catch(e){n=!0,i=e}finally{try{t||null==a.return||a.return()}finally{if(n)throw i}}})},{"../utils/core":69}],72:[function(e,t,n){"use strict";function i(e){return document.querySelectorAll(e).length}var r=e("tiny-slider/src/tiny-slider"),a=e("chart.js"),o={createTab:function(e){if(i(e.triggers)&&i(e.elements))return new XM_Tab(e)},createHexagon:function(e){if(i(e.container))return new XM_Hexagon(e)},createProgressBar:function(e){if(i(e.container))return new XM_ProgressBar(e)},createDropdown:function(e){if(i(e.container)&&e.controlToggle||i(e.trigger)&&i(e.container))return new XM_Dropdown(e)},createTooltip:function(e){if(i(e.container))return new XM_Tooltip(e)},createSlider:function(e){if(i(e.container))return(0,r.tns)(e)},createPopup:function(e){if(i(e.container)&&i(e.trigger))return new XM_Popup(e)},createAccordion:function(e){if(i(e.triggerSelector)&&i(e.contentSelector))return new XM_Accordion(e)},createChart:function(e,t){return new a(e,t)}};t.exports=o},{"chart.js":1,"tiny-slider/src/tiny-slider":47}],73:[function(e,t,n){"use strict";var i=document.createElement("div");i.innerHTML='\n  \x3c!-- SVG FACEBOOK --\x3e\n  <svg style="display: none;">\n    <symbol id="svg-facebook" viewBox="0 0 18 18" preserveAspectRatio="xMinYMin meet">\n      <path d="M16.313,18h-4.504v-6.192h3.087V8.671h-3.087V7.135V6.831V6.814l0,0c0.01-0.328,0.277-0.591,0.607-0.591h0.067h1.113h1.62V3.086h-2.733l0,0l-0.009,0.018h-0.092c-2.051,0-3.712,1.661-3.712,3.711v0.911v0.945H6.191v3.137h2.479V18H1.687C0.755,18,0,17.242,0,16.313V1.686C0,0.754,0.755,0,1.687,0h14.626C17.244,0,18,0.754,18,1.686v14.627C18,17.242,17.244,18,16.313,18z"/>\n    </symbol>\n  </svg>\n  \x3c!-- /SVG FACEBOOK --\x3e\n\n  \x3c!-- SVG TWITTER --\x3e\n  <svg style="display: none;">\n    <symbol id="svg-twitter" viewBox="0 0 18 18" preserveAspectRatio="xMinYMin meet">\n      <path d="M18,3.617c-0.675,0.322-1.351,0.43-2.139,0.537c0.788-0.43,1.351-1.076,1.576-1.937c-0.675,0.43-1.463,0.646-2.362,0.861C14.399,2.431,13.388,2,12.375,2c-1.912,0-3.601,1.617-3.601,3.554c0,0.323,0,0.538,0.113,0.754C5.851,6.2,3.038,4.8,1.238,2.646C0.9,3.185,0.788,3.724,0.788,4.478c0,1.184,0.675,2.261,1.688,2.907c-0.563,0-1.125-0.216-1.688-0.431l0,0c0,1.723,1.237,3.122,2.925,3.446c-0.338,0.107-0.675,0.107-1.013,0.107c-0.225,0-0.45,0-0.675-0.107c0.45,1.399,1.8,2.476,3.487,2.476C4.274,13.846,2.7,14.384,0.9,14.384c-0.338,0-0.563,0-0.9,0C1.688,15.354,3.601,16,5.625,16c6.75,0,10.462-5.385,10.462-10.015c0-0.108,0-0.323,0-0.431C16.875,5.016,17.549,4.371,18,3.617z"/>\n    </symbol>\n  </svg>\n  \x3c!-- /SVG TWITTER --\x3e\n\n  \x3c!-- SVG TWITCH --\x3e\n  <svg style="display: none;">\n    <symbol id="svg-twitch" viewBox="0 0 100 100" preserveAspectRatio="xMinYMin meet">\n      <path d="M6.179,0L0,17.964V87.81h24.714V100h15.789L52.86,87.81h18.993L100,60.527V0H6.179z M90.39,57.645L74.828,72.504H49.885L37.299,84.703V72.504H15.561V9.094H90.39V57.645z M49.885,27.051h-9.382v27.27h9.382V27.051z M74.828,27.051h-9.382v27.27h9.382V27.051z"/>\n    </symbol>\n  </svg>\n  \x3c!-- /SVG TWITCH --\x3e\n\n  \x3c!-- SVG YOUTUBE --\x3e\n  <svg style="display: none;">\n    <symbol id="svg-youtube" viewBox="0 0 100 100" preserveAspectRatio="xMinYMin meet">\n      <path d="M97.911,24.557c-1.149-4.549-4.538-8.13-8.842-9.347C81.271,13,49.999,13,49.999,13s-31.271,0-39.07,2.21c-4.302,1.216-7.69,4.798-8.84,9.347C0,32.8,0,50.001,0,50.001s0,17.2,2.089,25.443c1.15,4.549,4.538,8.132,8.84,9.348C18.729,87,49.999,87,49.999,87s31.271,0,39.07-2.208c4.304-1.216,7.692-4.799,8.842-9.348C100,67.201,100,50.001,100,50.001S100,32.8,97.911,24.557z M39.999,65.858V34.144L65.98,50.001L39.999,65.858z"/>\n    </symbol>\n  </svg>\n  \x3c!-- /SVG YOUTUBE --\x3e\n\n  \x3c!-- SVG INSTAGRAM --\x3e\n  <svg style="display: none;">\n    <symbol id="svg-instagram" viewBox="0 0 100 100" preserveAspectRatio="xMinYMin meet">\n      <path d="M72.402,0H27.595C12.379,0,0,12.381,0,27.597v44.809C0,87.619,12.379,100,27.595,100h44.807C87.621,100,100,87.619,100,72.406V27.597C100,12.381,87.621,0,72.402,0z M88.691,71.078c0,9.711-7.902,17.613-17.615,17.613H28.923c-9.712,0-17.613-7.902-17.613-17.613V28.926c0-9.715,7.901-17.618,17.613-17.618h42.153c9.713,0,17.615,7.903,17.615,17.618V71.078z M50.001,26.779c-12.804,0-23.22,10.426-23.22,23.22c0,12.804,10.416,23.22,23.22,23.22c12.801,0,23.217-10.416,23.217-23.22C73.219,37.205,62.803,26.779,50.001,26.779z M50.001,63.689c-7.548,0-13.688-6.139-13.688-13.691c0-7.545,6.14-13.684,13.688-13.684c7.545,0,13.686,6.139,13.686,13.684C63.688,57.551,57.547,63.689,50.001,63.689z M75.658,17.864c-1.711,0-4.383,0.724-5.711,2.056c-1.332,1.328-2.098,3.178-2.098,5.065c0,1.882,0.766,3.727,2.098,5.063c1.326,1.325,3.172,2.098,5.051,2.098c1.885,0,3.723-0.772,5.055-2.098c1.332-1.336,2.094-3.184,2.094-5.063c0-1.888-0.762-3.737-2.094-5.065C78.729,18.587,77.373,17.864,75.658,17.864z"/>\n    </symbol>\n  </svg>\n  \x3c!-- /SVG INSTAGRAM --\x3e\n\n  \x3c!-- SVG DISCORD --\x3e\n  <svg style="display: none;">\n    <symbol id="svg-discord" viewBox="0 0 100 100" preserveAspectRatio="xMinYMin meet">\n      <path d="M87.671,23.75C75.993,15.223,64.855,15,63.707,15c-0.061,0-0.093,0-0.093,0l-1.2,1.332c14.556,4.332,21.32,10.582,21.32,10.582c-8.906-4.749-17.639-7.083-25.771-8c-2.7-0.291-5.353-0.422-7.926-0.422c-3.287,0-6.437,0.216-9.371,0.591c-0.512,0-0.941,0.084-1.456,0.165c-2.994,0.252-10.273,1.334-19.434,5.249c-3.167,1.417-5.052,2.417-5.052,2.417s7.107-6.583,22.518-10.915L36.387,15c0,0-0.032,0-0.098,0c-1.144,0-12.283,0.223-23.96,8.75C12.329,23.75,0,45.498,0,72.333c0,0,7.19,12.081,26.114,12.667c0,0,3.166-3.752,5.734-6.919c-10.873-3.168-14.981-9.831-14.981-9.831s0.854,0.582,2.397,1.414l0.343,0.25l0.769,0.419c2.14,1.163,4.282,2.084,6.251,2.833c3.511,1.334,7.706,2.663,12.584,3.585c3.51,0.633,7.349,1.047,11.451,1.047c3.408,0,6.999-0.284,10.728-0.964c4.021-0.67,8.129-1.836,12.415-3.585c2.991-1.083,6.333-2.665,9.845-4.916c0,0-4.287,6.831-15.5,9.915C70.717,81.414,73.805,85,73.805,85C92.722,84.414,100,72.333,100,72.333C100,45.498,87.671,23.75,87.671,23.75z M34.869,66.745c-5.046,0-9.136-4.056-9.136-9.059c0-5.002,4.09-9.059,9.136-9.059c5.045,0,9.137,4.057,9.137,9.059C44.006,62.689,39.914,66.745,34.869,66.745z M67.758,66.745c-5.045,0-9.135-4.056-9.135-9.059c0-5.002,4.09-9.059,9.135-9.059c5.046,0,9.137,4.057,9.137,9.059C76.895,62.689,72.804,66.745,67.758,66.745z"/>\n    </symbol>\n  </svg>\n  \x3c!-- /SVG DISCORD --\x3e\n\n  \x3c!-- SVG PATREON --\x3e\n  <svg style="display: none;">\n    <symbol id="svg-patreon" viewBox="0 0 100 100" preserveAspectRatio="xMinYMin meet">\n      <path d="M0,100h16.667V0H0V100z M62.5,0C41.79,0,25,16.788,25,37.5c0,20.71,16.789,37.503,37.5,37.503c20.711,0,37.5-16.793,37.5-37.503C100,16.788,83.211,0,62.5,0z"/>\n    </symbol>\n  </svg>\n  \x3c!-- /SVG PATREON --\x3e\n\n  \x3c!-- SVG GOOGLE --\x3e\n  <svg style="display: none;">\n    <symbol id="svg-google" viewBox="0 0 100 100" preserveAspectRatio="xMinYMin meet">\n      <path d="M100,47.82H89.963v9.785H79.927V47.82H69.89v-9.784h10.037v-9.784h10.036v9.784H100V47.82z M32.358,83C14.487,83,0,68.226,0,50c0-18.226,14.487-33,32.358-33c8.594,0,16.384,3.437,22.173,9.013l-0.6,0.612L45,35.734c-3.349-3.087-7.773-4.984-12.642-4.984c-10.426,0-18.877,8.619-18.877,19.25c0,10.632,8.451,19.25,18.877,19.25c8.046,0,14.898-5.143,17.614-12.375l-15.21,0.729V42.927l28.606,0.199v1.375v12.375v2.516C59.4,73.038,47.028,83,32.358,83z"/>\n    </symbol>\n  </svg>\n  \x3c!-- /SVG GOOGLE --\x3e\n\n  \x3c!-- SVG BEHANCE --\x3e\n  <svg style="display: none;">\n    <symbol id="svg-behance" viewBox="0 0 100 100" preserveAspectRatio="xMinYMin meet">\n      <path d="M99.827,61.223H68.064c0,3.648,0.755,10.949,10.776,10.949s9.643-6.916,9.643-6.916H99.26c0,18.249-20.986,16.713-20.986,16.713c-24.012,0-23.822-20.746-23.822-20.746\n    c0-5.668-0.095-27.087,24.39-27.087S99.827,61.223,99.827,61.223z M78.273,43.356c-9.714,0-10.209,9.221-10.209,9.221h19.852C87.916,52.577,87.987,43.356,78.273,43.356z M64.661,21.458h26.091v8.067H64.661V21.458z M35.166,80.799v0.016H0V18h34.032c0,0,0.024,0,0.062,0h1.072v0.054c3.628,0.299,14.748,2.292,14.748,15.506c0,0,1.144,10.259-7.661,12.951\n    c4.671,0.871,9.93,4.394,9.93,15.863C52.183,62.373,53.762,80.43,35.166,80.799z M33.465,29.525H14.748V42.78h18.15c0,0,3.97-1.057,3.97-6.915C36.868,30.006,33.465,29.525,33.465,29.525z M34.032,53.154H14.748V69.29h18.717c0,0,5.672-1.249,5.672-8.067C39.137,54.402,34.032,53.154,34.032,53.154z"/>\n    </symbol>\n  </svg>\n  \x3c!-- /SVG BEHANCE --\x3e\n\n  \x3c!-- SVG DEVIANTART --\x3e\n  <svg style="display: none;">\n    <symbol id="svg-deviantart" viewBox="0 0 100 100" preserveAspectRatio="xMinYMin meet">\n      <path d="M83,80.77H48.107L37.204,100H17V82.052l21.362-37.18H17V20.513h35.356L64.143,0H83v19.231L61.918,56.41H83V80.77z"/>\n    </symbol>\n  </svg>\n  \x3c!-- /SVG DEVIANTART --\x3e\n\n  \x3c!-- SVG ARTSTATION --\x3e\n  <svg style="display: none;">\n    <symbol id="svg-artstation" viewBox="0 0 100 100" preserveAspectRatio="xMinYMin meet">\n      <path d="M0,77.114l8.412,16.545c1.7,3.754,5.102,6.341,8.981,6.341h56.038l-11.62-22.886H0z M98.391,71.002L65.502,6.122C63.797,2.47,60.491,0,56.617,0H39.224l50.755,99.889l8.035-15.79c1.515-3.001,1.986-4.29,1.986-6.877C100,74.967,99.432,72.819,98.391,71.002z M31,16.217L8.315,60.799h45.276L31,16.217z"/>\n    </symbol>\n  </svg>\n  \x3c!-- /SVG ARTSTATION --\x3e\n\n  \x3c!-- SVG CROSS --\x3e\n  <svg style="display: none;">\n    <symbol id="svg-cross" viewBox="0 0 12 12" preserveAspectRatio="xMinYMin meet">\n      <path d="M12,9.6L9.6,12L6,8.399L2.4,12L0,9.6L3.6,6L0,2.4L2.4,0L6,3.6L9.6,0L12,2.4L8.399,6L12,9.6z"/>\n    </symbol>\n  </svg>\n  \x3c!-- /SVG CROSS --\x3e\n\n  \x3c!-- SVG LOGO VIKINGER --\x3e\n  <svg style="display: none;">\n    <symbol id="svg-logo-vikinger" viewBox="0 0 28 40" preserveAspectRatio="xMinYMin meet">\n      <path d="M27.18,24.038c-0.141-0.095-0.244-0.146-0.244-0.146l-0.005-0.049C25.489,22.783,23.103,22,23.103,22c1.542,0,2.582-0.563,3.501-1.334c-0.049-0.055,0.7-0.666,0.7-0.666c0.146-8.251-4.477-12.745-7.001-14.667C18.15,9.564,16.802,14,16.802,14c-0.219-4.426,0.243-8.072,0.7-10.667c-0.85-0.452-1.956-0.698-2.296-1.537C14.865,0.957,14.015,0,14.015,0L14,0.014L13.985,0c0,0-0.85,0.957-1.19,1.796c-0.34,0.839-1.445,1.085-2.295,1.537C10.957,5.928,11.418,9.574,11.2,14c0,0-1.349-4.436-3.501-8.667C5.174,7.255,0.551,11.749,0.697,20c0,0,0.75,0.611,0.701,0.666C2.316,21.437,3.357,22,4.898,22c0,0-2.387,0.783-3.829,1.844l-0.005,0.049c0,0-0.104,0.051-0.244,0.146c-0.48,0.397-0.806,0.828-0.819,1.269c-0.023,0.521,0.263,1.181,1.233,1.973c0,0,0.136,9.259,9.69,11.29c0,0,0.212,0.815,0.975,1.431L14,38l2.102,2c0.763-0.615,0.975-1.431,0.975-1.431c9.555-2.031,9.689-11.29,9.689-11.29\n      c0.971-0.792,1.256-1.451,1.233-1.973C27.986,24.866,27.659,24.436,27.18,24.038z M4.198,26c2.362,0.121,3.517,1.473,5.602,4c0.799,0.969,2.059,0.83,2.059,0.83L11.899,34C5.249,34,4.198,26,4.198,26z M14,28.162l-2.97-2.828l2.101-2.001l-2.101-2l2.101-2l-2.101-2L14,14.505l2.972,2.828l-2.102,2l2.102,2l-2.102,2l2.102,2.001L14,28.162z M16.102,34l0.041-3.17\n      c0,0,1.26,0.139,2.059-0.83c2.085-2.527,3.239-3.879,5.602-4C23.803,26,22.752,34,16.102,34z M13.3,26h1.4v-1.333h-1.4V26z M13.3,22h1.4v-1.334h-1.4V22z M13.3,18h1.4v-1.333h-1.4V18z"/>\n    </symbol>\n  </svg>\n  \x3c!-- /SVG LOGO VIKINGER --\x3e\n\n  \x3c!-- SVG GRID --\x3e\n  <svg style="display: none;">\n    <symbol id="svg-grid" viewBox="0 0 20 20" preserveAspectRatio="xMinYMin meet">\n      <path d="M7,0H2C0.896,0,0,0.895,0,2v5c0,1.104,0.896,2,2,2h5c1.104,0,2-0.896,2-2V2C9,0.895,8.104,0,7,0z M7,7H2V2h5V7z M7,11H2c-1.104,0-2,0.896-2,1.999v5C0,19.104,0.896,20,2,20h5c1.104,0,2-0.896,2-2.001v-5C9,11.896,8.104,11,7,11z M7,17.999H2v-5h5V17.999z M18,0h-5c-1.104,0-2,0.895-2,2v5c0,1.104,0.896,2,2,2h5c1.104,0,2-0.896,2-2V2C20,0.895,19.104,0,18,0z M18,7h-5V2h5V7z M18,11h-5c-1.104,0-2,0.896-2,1.999v5C11,19.104,11.896,20,13,20h5c1.104,0,2-0.896,2-2.001v-5C20,11.896,19.104,11,18,11z M18,17.999h-5v-5h5V17.999z"/>\n    </symbol>\n  </svg>\n  \x3c!-- /SVG GRID --\x3e\n\n  \x3c!-- SVG DOTS --\x3e\n  <svg style="display: none;">\n    <symbol id="svg-dots" viewBox="0 0 10 2" preserveAspectRatio="xMinYMin meet">\n      <path d="M0,2h2V0H0V2z M4,2h2V0H4V2z M8,0v2h2V0H8z"/>\n    </symbol>\n  </svg>\n  \x3c!-- /SVG DOTS --\x3e\n\n  \x3c!-- SVG MAGNIFYING GLASS --\x3e\n  <svg style="display: none;">\n    <symbol id="svg-magnifying-glass" viewBox="0 0 20 20" preserveAspectRatio="xMinYMin meet">\n      <path d="M8,2c3.309,0,6,2.691,6,6s-2.691,6-6,6s-6-2.691-6-6S4.691,2,8,2 M8,0C3.582,0,0,3.582,0,8c0,4.418,3.582,8,8,8c4.418,0,8-3.582,8-8C16,3.582,12.418,0,8,0L8,0z"/>\n      <path d="M19.171,15.168l-3.134-3.134c-0.309,0.613-0.679,1.19-1.113,1.714l2.833,2.834c0.323,0.324,0.323,0.851,0,1.175C17.545,17.969,17.298,18,17.17,18c-0.129,0-0.376-0.031-0.588-0.243l-2.834-2.833c-0.523,0.435-1.101,0.805-1.714,1.113l3.134,3.134C15.721,19.724,16.445,20,17.169,20c0.725,0,1.449-0.276,2.002-0.829C20.276,18.065,20.276,16.273,19.171,15.168z"/>\n    </symbol>\n  </svg>\n  \x3c!-- /SVG MAGNIFYING GLASS --\x3e\n\n  \x3c!-- SVG COMMENT --\x3e\n  <svg style="display: none;">\n    <symbol id="svg-comment" viewBox="0 0 20 20" preserveAspectRatio="xMinYMin meet">\n      <path d="M15,2c1.654,0,3,1.257,3,2.803v6.404c0,1.546-1.346,2.803-3,2.803H7.98H7.508l-0.422,0.211L2,16.764v-5.557V10V4.803C2,3.257,3.346,2,5,2H15 M15,0H5C2.238,0,0,2.15,0,4.803V10v1.207V20l7.98-3.99H15c2.762,0,5-2.15,5-4.803V4.803C20,2.15,17.762,0,15,0L15,0z"/>\n      <g>\n        <path d="M14,5H6C5.447,5,5,5.448,5,6c0,0.553,0.447,1,1,1h8c0.553,0,1-0.447,1-1C15,5.448,14.553,5,14,5z M10,9H6c-0.553,0-1,0.447-1,1s0.447,1,1,1h4c0.553,0,1-0.447,1-1S10.553,9,10,9z"/>\n      </g>\n    </symbol>\n  </svg>\n  \x3c!-- /SVG COMMENT --\x3e\n\n  \x3c!-- SVG THUMBS UP --\x3e\n  <svg style="display: none;">\n    <symbol id="svg-thumbs-up" viewBox="0 0 20 20" preserveAspectRatio="xMinYMin meet">\n      <path d="M15.896,19.999c-0.01,0-0.021,0-0.03,0H2.826C1.268,19.999,0,18.743,0,17.201v-6.302c0-1.543,1.269-2.797,2.826-2.797h2.096l3.391-7.515C8.473,0.229,8.83,0,9.223,0c2.063,0,3.742,1.659,3.742,3.698l0.026,2.3h4.996c0.152-0.003-0.149-0.023,0,0c0.753,0.111,1.962,0.245,1.999,1c0.037,0.757-0.011,2.143,0,3.003l-1.295,7.624C18.483,18.982,17.284,19.999,15.896,19.999z M6.995,18.005h8.881c0.003,0,0.007,0,0.01,0c0.418,0,0.77-0.292,0.83-0.684l1.262-8.106c0.031-0.205-0.02-0.412-0.145-0.583c-0.132-0.178-0.621-0.601-0.845-0.634c-0.045-0.008,0.045-0.006,0,0h-4.996c-0.553,0-1-1.451-1-2.001l-0.026-2.3c0-0.733-0.477-1.36-1.144-1.6l-2.828,6.9V18.005z M2.997,10c-0.456,0-0.999,0.457-0.999,0.899v6.302c0,0.442,0.371,0.804,0.827,0.804h2.17V10H2.997z"/>\n    </symbol>\n  </svg>\n  \x3c!-- /SVG THUMBS UP --\x3e\n\n  \x3c!-- SVG FRIEND --\x3e\n  <svg style="display: none;">\n    <symbol id="svg-friend" viewBox="0 0 20 20" preserveAspectRatio="xMinYMin meet">\n      <path d="M10,0C4.477,0,0,4.478,0,10c0,5.523,4.477,10,10,10c5.522,0,10-4.477,10-10C20,4.478,15.522,0,10,0z M10,18c-4.418,0-8-3.582-8-8c0-4.418,3.582-8,8-8s8,3.582,8,8\n        C18,14.418,14.418,18,10,18z M10,13c-1.305,0-2.403-0.838-2.816-2H5.101c0.464,2.282,2.48,4,4.899,4s4.436-1.718,4.899-4h-2.083C12.403,12.162,11.305,13,10,13z M7,7H5v2h2V7z M13,9h2V7h-2V9z"/>\n    </symbol>\n  </svg>\n  \x3c!-- /SVG FRIEND --\x3e\n\n  \x3c!-- SVG GROUP --\x3e\n  <svg style="display: none;">\n    <symbol id="svg-group" viewBox="0 0 20 20" preserveAspectRatio="xMinYMin meet">\n      <path d="M10,2c1.654,0,3,1.346,3,3s-1.346,3-3,3S7,6.654,7,5S8.346,2,10,2 M10,0C7.238,0,5,2.238,5,5s2.238,5,5,5s5-2.238,5-5S12.762,0,10,0L10,0z"/>\n      <path d="M3,20v-2c0-2.205,1.794-4,4-4h6c2.206,0,4,1.795,4,4v2h2v-2c0-3.313-2.687-6-6-6H7c-3.313,0-6,2.687-6,6v2H3z"/>\n      <path d="M20,8.05c-1.13,0-2.05-0.919-2.05-2.05S18.87,3.95,20,3.95v-2c-2.236,0-4.05,1.813-4.05,4.05s1.813,4.05,4.05,4.05V8.05z"/>\n      <path d="M0,8.05C1,8.05,2.05,7.13,2.05,6S1,3.95,0,3.95v-2c2,0,4.05,1.813,4.05,4.05S2,10.05,0,10.05V8.05z"/>\n    </symbol>\n  </svg>\n  \x3c!-- /SVG GROUP --\x3e\n\n  \x3c!-- SVG MARKETPLACE --\x3e\n  <svg style="display: none;">\n    <symbol id="svg-marketplace" viewBox="0 0 20 20" preserveAspectRatio="xMinYMin meet">\n      <path d="M18,6h-0.5L16,0h-4v2h2.438l1,4H4.562l1-4H8V0H4L2.5,6H2C0.896,6,0,6.896,0,8v2c0,0.738,0.405,1.376,1,1.723v0.276C1,12,1,12,1,12l1,6c0,1.104,0.896,2,2,2h12c1.104,0,2-0.896,2-2l1-6v-0.277c0.596-0.347,1-0.984,1-1.723V8C20,6.896,19.104,6,18,6z M2,8h16v2h-0.999H17H3H2.999H2V8z M16.027,17.671L16,17.834V18H4v-0.165l-0.027-0.164L3.028,12h13.945L16.027,17.671z"/>\n    </symbol>\n  </svg>\n  \x3c!-- /SVG MARKETPLACE --\x3e\n\n  \x3c!-- SVG ADD FRIEND --\x3e\n  <svg style="display: none;">\n    <symbol id="svg-add-friend" viewBox="0 0 20 20" preserveAspectRatio="xMinYMin meet">\n      <path d="M10,13c-1.305,0-2.403-0.838-2.816-2H5.101c0.464,2.282,2.48,4,4.899,4s4.436-1.718,4.899-4h-2.083C12.403,12.162,11.305,13,10,13z M7,7H5v2h2V7z M13,7v2h2V7H13z"/>\n      <polygon points="20,2 18,2 18,0 16,0 16,2 14,2 14,4 16,4 16,6 18,6 18,4 20,4"/>\n      <path d="M17.738,8C17.903,8.64,18,9.308,18,10c0,4.418-3.582,8-8,8s-8-3.582-8-8c0-4.418,3.582-8,8-8c0.692,0,1.359,0.097,2,0.262V0.201C11.354,0.07,10.685,0,10,0C4.477,0,0,4.478,0,10\n      c0,5.523,4.477,10,10,10c5.522,0,10-4.477,10-10c0-0.685-0.069-1.354-0.201-2H17.738z"/>\n    </symbol>\n  </svg>\n  \x3c!-- /SVG ADD FRIEND --\x3e\n\n  \x3c!-- SVG REMOVE FRIEND --\x3e\n  <svg style="display: none;">\n    <symbol id="svg-remove-friend" viewBox="0 0 20 20" preserveAspectRatio="xMinYMin meet">\n      <path d="M10,13c-1.305,0-2.403-0.838-2.816-2H5.101c0.464,2.282,2.48,4,4.899,4s4.436-1.718,4.899-4h-2.083C12.403,12.162,11.305,13,10,13z M7,7H5v2h2V7z M13,7v2h2V7H13z"/>\n      <path d="M17.738,8C17.903,8.64,18,9.308,18,10c0,4.418-3.582,8-8,8s-8-3.582-8-8c0-4.418,3.582-8,8-8c0.692,0,1.359,0.097,2,0.262V0.201C11.354,0.07,10.685,0,10,0C4.477,0,0,4.478,0,10\n      c0,5.523,4.477,10,10,10c5.522,0,10-4.477,10-10c0-0.685-0.069-1.354-0.201-2H17.738z"/>\n      <rect x="14" y="2" width="6" height="2"/>\n    </symbol>\n  </svg>\n  \x3c!-- /SVG REMOVE FRIEND --\x3e\n\n  \x3c!-- SVG DELETE --\x3e\n  <svg style="display: none;">\n    <symbol id="svg-delete" viewBox="0 0 20 20" preserveAspectRatio="xMinYMin meet">\n      <path d="M10,20C4.477,20,0,15.523,0,10C0,4.478,4.477,0,10,0C15.522,0,20,4.478,20,10C20,15.523,15.522,20,10,20z M10,2c-4.418,0-8,3.582-8,8c0,4.418,3.582,8,8,8s8-3.582,8-8\n      C18,5.582,14.418,2,10,2z M12.662,13.994L10,11.332l-2.662,2.662l-1.331-1.33l2.662-2.663L6.007,7.339l1.331-1.331L10,8.67l2.662-2.662l1.331,1.331l-2.662,2.662l2.662,2.663L12.662,13.994z"/>\n    </symbol>\n  </svg>\n  \x3c!-- /SVG DELETE --\x3e\n\n  \x3c!-- SVG MESSAGES --\x3e\n  <svg style="display: none;">\n    <symbol id="svg-messages" viewBox="0 0 20 20" preserveAspectRatio="xMinYMin meet">\n      <path d="M12,2c1.103,0,2,0.897,2,2v5c0,1.103-0.897,2-2,2H8H7.754l-0.239,0.06L2,12.438V9V4c0-1.103,0.897-2,2-2H12M12,0H4C1.791,0,0,1.791,0,4v5v6l8-2h4c2.209,0,4-1.791,4-4V4C16,1.791,14.209,0,12,0L12,0z"/>\n      <path d="M12,5.012C12,5.558,11.558,6,11.013,6H4.987C4.442,6,4,5.558,4,5.012V4.988C4,4.442,4.442,4,4.987,4h6.025C11.558,4,12,4.442,12,4.988V5.012z"/>\n      <path d="M10,8.047C10,8.574,9.573,9,9.047,9H4.953C4.427,9,4,8.574,4,8.047V7.953C4,7.426,4.427,7,4.953,7h4.094C9.573,7,10,7.426,10,7.953V8.047z"/>\n      <path d="M17,5.142v2.136C17.595,7.625,18,8.263,18,9v5v3.438l-5.516-1.379L12.246,16H12H8c-0.737,0-1.375-0.405-1.722-1H4.142C4.588,16.722,6.139,18,8,18h4l8,2v-6V9C20,7.139,18.722,5.588,17,5.142z"/>\n    </symbol>\n  </svg>\n  \x3c!-- /SVG MESSAGES --\x3e\n\n  \x3c!-- SVG SEND MESSAGE --\x3e\n  <svg style="display: none;">\n    <symbol id="svg-send-message" viewBox="0 0 20 20" preserveAspectRatio="xMinYMin meet">\n      <path d="M19.993,0.94c-0.005-0.091-0.022-0.179-0.052-0.265c-0.011-0.031-0.021-0.062-0.035-0.093  c-0.049-0.107-0.109-0.208-0.195-0.294s-0.188-0.147-0.294-0.195c-0.031-0.014-0.062-0.024-0.093-0.035c-0.086-0.03-0.173-0.046-0.263-0.052C19.034,0.005,19.009,0,18.981,0c-0.104,0.002-0.207,0.017-0.308,0.052L0.67,6.353C0.283,6.488,0.018,6.846,0.001,7.256C-0.016,7.666,0.22,8.044,0.594,8.21l7.75,3.446l3.444,7.75C11.948,19.769,12.308,20,12.702,20\n      c0.014,0,0.027,0,0.041-0.002c0.409-0.016,0.768-0.28,0.903-0.668l6.302-18.003c0.035-0.101,0.05-0.206,0.052-0.309C20,0.991,19.994,0.967,19.993,0.94z M15.197,3.388L8.88,9.706L3.711,7.408L15.197,3.388z M12.592,16.288l-2.298-5.169l6.317-6.316L12.592,16.288z"/>\n    </symbol>\n  </svg>\n  \x3c!-- /SVG SEND MESSAGE --\x3e\n\n  \x3c!-- SVG BACK ARROW --\x3e\n  <svg style="display: none;">\n    <symbol id="svg-back-arrow" viewBox="0 0 14 10" preserveAspectRatio="xMinYMin meet">\n      <path d="M14,6H3.364l2.644,2.75L4.806,10L1.202,6.25l0,0L0,5L4.806,0l1.201,1.25L3.364,4H14V6z"/>\n    </symbol>\n  </svg>\n  \x3c!-- /SVG BACK ARROW --\x3e\n\n  \x3c!-- SVG SHOPPING BAG --\x3e\n  <svg style="display: none;">\n    <symbol id="svg-shopping-bag" viewBox="0 0 20 20" preserveAspectRatio="xMinYMin meet">\n      <path d="M15.904,6c0.148,0.117,0.347,0.386,0.406,0.557l0.001,0.017l0.676,11.421c-0.005,0.003-0.01,0.005-0.013,0.006H3.029c-0.004-0.001-0.01-0.003-0.016-0.006L3.689,6.573L3.69,6.556C3.749,6.386,3.947,6.117,4.095,6H15.904 M16.075,4H3.924C2.806,4,1.692,5.563,1.692,6.455L1,18.154C1,19.048,1.906,20,3.024,20h13.95C18.093,20,19,19.048,19,18.154L18.308,6.455C18.308,5.563,17.193,4,16.075,4L16.075,4z"/>\n      <path d="M8,8V3.893C8,2.849,8.849,2,9.893,2H10h0.054C11.098,2,12,2.849,12,3.893V8h2V3.893C14,1.743,12.257,0,10.107,0H9.893C7.743,0,6,1.743,6,3.893V8H8z"/>\n    </symbol>\n  </svg>\n  \x3c!-- /SVG SHOPPING BAG --\x3e\n\n  \x3c!-- SVG NOTIFICATION --\x3e\n  <svg style="display: none;">\n    <symbol id="svg-notification" viewBox="0 0 20 20" preserveAspectRatio="xMinYMin meet">\n      <path d="M18.583,14.127c-0.023-0.018-2.241-1.758-2.241-7.52C16.342,2.964,13.497,0,10.004,0C6.511,0,3.668,2.964,3.668,6.607c0,5.762-2.22,7.502-2.228,7.508c-0.365,0.254-0.525,0.725-0.397,1.158c0.129,0.434,0.517,0.73,0.957,0.73h16.007c0.433,0,0.81-0.293,0.943-0.719C19.086,14.861,18.932,14.389,18.583,14.127zM4.086,13.939C4.873,12.527,5.67,10.21,5.67,6.607c0-2.505,1.945-4.542,4.334-4.542c2.391,0,4.335,2.038,4.335,4.542c0,3.603,0.796,5.92,1.583,7.333H4.086z M12.418,17.146c-0.57-0.283-1.293-0.115-1.619,0.381c-0.126,0.191-0.327,0.326-0.567,0.383c-0.234,0.051-0.478,0.023-0.688-0.084c-0.138-0.07-0.255-0.174-0.336-0.297c-0.325-0.496-1.05-0.668-1.618-0.385c-0.568,0.283-0.766,0.914-0.44,1.408c0.286,0.438,0.7,0.803,1.194,1.055C8.854,19.867,9.421,20,9.997,20c0.281,0,0.564-0.031,0.843-0.096c0.856-0.197,1.573-0.676,2.016-1.348C13.182,18.061,12.984,17.432,12.418,17.146z"/>\n    </symbol>\n  </svg>\n  \x3c!-- /SVG NOTIFICATION --\x3e\n\n  \x3c!-- SVG SETTINGS --\x3e\n  <svg style="display: none;">\n    <symbol id="svg-settings" viewBox="0 0 20 20" preserveAspectRatio="xMinYMin meet">\n      <path d="M10,7c-1.657,0-3,1.343-3,3c0,1.655,1.343,2.999,3,2.999c1.656,0,3-1.344,3-2.999C13,8.343,11.656,7,10,7zM10,11c-0.552,0-1-0.449-1-1c0-0.552,0.448-1,1-1s1,0.448,1,1C11,10.551,10.552,11,10,11z M17.363,12.638C18.817,12.638,20,11.453,20,10s-1.183-2.637-2.637-2.637h-0.135c-0.106,0-0.205-0.049-0.27-0.129 c-0.014-0.054-0.032-0.106-0.055-0.158c-0.059-0.132-0.031-0.283,0.111-0.429c0.498-0.499,0.772-1.161,0.772-1.865c0-0.704-0.274-1.367-0.773-1.865c-0.997-0.997-2.693-1.035-3.769,0.042c-0.102,0.1-0.24,0.135-0.397,0.066c-0.129-0.055-0.212-0.18-0.212-0.391C12.637,1.182,11.454,0,10,0S7.363,1.182,7.363,2.636v0.135c0,0.106-0.049,0.206-0.129,0.271C7.181,3.056,7.128,3.073,7.077,3.096c-0.128,0.058-0.264,0.052-0.43-0.113c-0.996-0.994-2.731-0.995-3.73,0.003c-1.026,1.028-1.025,2.701,0.044,3.77C3.062,6.858,3.089,7.01,3.007,7.2c-0.05,0.136-0.176,0.227-0.371,0.229C1.183,7.429,0,8.612,0,10.065c0,1.454,1.183,2.637,2.636,2.637h0.138c0.138,0,0.263,0.083,0.322,0.222c0.058,0.132,0.03,0.284-0.113,0.429c-0.497,0.498-0.771,1.161-0.771,1.865c0.001,0.705,0.276,1.367,0.773,1.863c0.996,0.996,2.689,1.038,3.771-0.042c0.101-0.099,0.142-0.173,0.443-0.046c0.136,0.049,0.226,0.176,0.229,0.37\n      c0,1.454,1.183,2.637,2.637,2.637s2.637-1.183,2.637-2.637v-0.137c0-0.139,0.083-0.263,0.222-0.322c0.129-0.058,0.263-0.051,0.428,0.112c0.999,0.995,2.735,0.996,3.73-0.002c0.498-0.499,0.771-1.162,0.771-1.866c-0.001-0.704-0.275-1.366-0.813-1.903c-0.101-0.104-0.129-0.256-0.064-0.398C17.029,12.72,17.154,12.638,17.363,12.638zM15.666,14.7c0.121,0.12,0.188,0.279,0.188,0.449s-0.067,0.33-0.188,0.453c-0.239,0.241-0.605,0.295-0.956-0.058c-0.677-0.662-1.742-0.845-2.582-0.475c-0.864,0.369-1.423,1.214-1.425,2.153v0.14c0,0.352-0.286,0.636-0.637,0.636s-0.637-0.284-0.637-0.733c-0.023-0.97-0.627-1.815-1.479-2.125C7.649,15.007,7.329,14.939,7,14.939c-0.618,0-1.202,0.238-1.7,0.728c-0.24,0.24-0.66,0.241-0.901-0.002c-0.248-0.246-0.248-0.65,0.058-0.957c0.675-0.69,0.859-1.709,0.474-2.58c-0.368-0.864-1.214-1.424-2.154-1.426h-0.14C2.285,10.702,2,10.416,2,10.065\n      s0.285-0.637,0.733-0.637c0.971-0.023,1.815-0.626,2.127-1.48c0.39-0.884,0.205-1.9-0.527-2.648C4.085,5.052,4.085,4.647,4.334,4.398c0.24-0.24,0.603-0.298,0.957,0.058C5.92,5.07,6.871,5.282,7.694,5c0.084-0.013,0.167-0.036,0.245-0.07c0.861-0.37,1.42-1.214,1.424-2.155v-0.14C9.363,2.285,9.649,2,10,2s0.637,0.285,0.637,0.712c0.002,0.937,0.561,1.782,1.414,2.148c0.865,0.38,1.884,0.222,2.649-0.527c0.241-0.24,0.656-0.243,0.901,0.001c0.12,0.12,0.187,0.279,0.187,0.449c0,0.169-0.066,0.331-0.242,0.507c-0.629,0.642-0.834,1.566-0.545,2.405\n      c0.013,0.083,0.035,0.165,0.069,0.244c0.369,0.862,1.213,1.421,2.154,1.425h0.139C17.715,9.364,18,9.649,18,10c0,0.351-0.285,0.637-0.712,0.637c-0.938,0.002-1.783,0.561-2.146,1.411C14.749,12.933,14.933,13.951,15.666,14.7z"/>\n    </symbol>\n  </svg>\n  \x3c!-- /SVG SETTINGS --\x3e\n\n  \x3c!-- SVG CROSS THIN --\x3e\n  <svg style="display: none;">\n    <symbol id="svg-cross-thin" viewBox="0 0 20 20" preserveAspectRatio="xMinYMin meet">\n      <path d="M18,16.547L16.545,18L10,11.455L3.455,18L2,16.547L8.545,10L2,3.455L3.455,2L10,8.546L16.545,2L18,3.455L11.455,10L18,16.547z"/>\n    </symbol>\n  </svg>\n  \x3c!-- /SVG CROSS THIN --\x3e\n\n  \x3c!-- SVG NEWSFEED --\x3e\n  <svg style="display: none;">\n    <symbol id="svg-newsfeed" viewBox="0 0 20 20" preserveAspectRatio="xMinYMin meet">\n      <path d="M16,0H4C1.791,0,0,1.791,0,4v8c0,2.209,1.791,4,4,4h12c2.209,0,4-1.791,4-4V4C20,1.791,18.209,0,16,0zM18,12c0,1.103-0.897,2-2,2H4c-1.103,0-2-0.897-2-2V4c0-1.103,0.897-2,2-2h12c1.103,0,2,0.897,2,2V12z"/>\n      <path d="M0,10v2h20v-2H0z M5,20h10v-2H5V20z"/>\n    </symbol>\n  </svg>\n  \x3c!-- /SVG NEWSFEED --\x3e\n\n  \x3c!-- SVG OVERVIEW --\x3e\n  <svg style="display: none;">\n    <symbol id="svg-overview" viewBox="0 0 20 20" preserveAspectRatio="xMinYMin meet">\n      <path d="M18,8v10h-2V8H18 M18,6h-2c-1.104,0-2,0.896-2,2v10c0,1.104,0.896,2,2,2h2c1.104,0,2-0.896,2-2V8C20,6.896,19.104,6,18,6L18,6z"/>\n      <path d="M11,2v16H9V2H11 M11,0H9C7.896,0,7,0.896,7,2v16c0,1.104,0.896,2,2,2h2c1.104,0,2-0.896,2-2V2C13,0.896,12.104,0,11,0L11,0z"/>\n      <path d="M4,14v4H2v-4H4 M4,12H2c-1.104,0-2,0.896-2,2v4c0,1.104,0.896,2,2,2h2c1.104,0,2-0.896,2-2v-4C6,12.896,5.104,12,4,12L4,12z"/>\n    </symbol>\n  </svg>\n  \x3c!-- /SVG OVERVIEW --\x3e\n\n  \x3c!-- SVG MEMBERS --\x3e\n  <svg style="display: none;">\n    <symbol id="svg-members" viewBox="0 0 20 20" preserveAspectRatio="xMinYMin meet">\n      <path d="M10,10c2.762,0,5-2.238,5-5c0-2.762-2.238-5-5-5S5,2.238,5,5C5,7.761,7.238,10,10,10z M10,2c1.654,0,3,1.346,3,3s-1.346,3-3,3S7,6.654,7,5S8.346,2,10,2z M13,12H7c-3.313,0-6,2.686-6,6v2h2v-2c0-2.205,1.794-4,4-4h6c2.206,0,4,1.795,4,4v2h2v-2C19,14.686,16.313,12,13,12z"/>\n    </symbol>\n  </svg>\n  \x3c!-- /SVG MEMBERS --\x3e\n\n  \x3c!-- SVG BADGES --\x3e\n  <svg style="display: none;">\n    <symbol id="svg-badges" viewBox="0 0 20 20" preserveAspectRatio="xMinYMin meet">\n      <path d="M10,8c2.757,0,5,2.243,5,5s-2.243,5-5,5s-5-2.243-5-5S7.243,8,10,8 M10,6c-3.866,0-7,3.134-7,7s3.134,7,7,7c3.865,0,7-3.134,7-7S13.865,6,10,6L10,6z"/>\n      <path d="M3.906,6.391L2.651,2h3.84l0.701,2.453c0.627-0.206,1.283-0.347,1.963-0.41L8,0H0l2.36,8.26C2.79,7.568,3.31,6.941,3.906,6.391z"/>\n      <path d="M12.808,4.453L13.509,2h3.84l-1.255,4.391C16.689,6.94,17.21,7.568,17.64,8.26L20,0h-8l-1.155,4.043C11.524,4.106,12.181,4.247,12.808,4.453z"/>\n    </symbol>\n  </svg>\n  \x3c!-- /SVG BADGES --\x3e\n\n  \x3c!-- SVG QUESTS --\x3e\n  <svg style="display: none;">\n    <symbol id="svg-quests" viewBox="0 0 20 20" preserveAspectRatio="xMinYMin meet">\n      <path d="M10,2.708l1.774,3.813l0.452,0.97l1.058,0.163l4.138,0.637l-3.07,3.175l-0.697,0.721l0.16,0.989l0.7,4.326l-3.494-1.947l-0.965-0.538L10,15.048l-0.055-0.03L8.98,15.556l-3.494,1.947l0.7-4.326l0.16-0.989l-0.697-0.721L2.578,8.292l4.138-0.637l1.058-0.163l0.451-0.97L10,2.708 M10.029-0.004C10.019-0.004,10.01-0.002,10,0C9.99-0.002,9.981-0.004,9.971-0.004\n      c-0.558,0-1.066,0.326-1.303,0.834L6.412,5.678L1.223,6.477c-0.534,0.082-0.977,0.46-1.148,0.976c-0.172,0.517-0.042,1.086,0.334,1.474l3.802,3.932l-0.882,5.453c-0.089,0.548,0.141,1.1,0.591,1.42c0.248,0.176,0.539,0.266,0.83,0.266c0.24,0,0.479-0.061,0.697-0.182l4.507-2.512L10,17.328l0.046-0.025l4.506,2.512c0.219,0.121,0.457,0.182,0.697,0.182c0.291,0,0.582-0.09,0.83-0.266c0.45-0.32,0.68-0.872,0.591-1.42l-0.882-5.453l3.802-3.932c0.376-0.387,0.507-0.957,0.335-1.474c-0.172-0.515-0.614-0.894-1.148-0.976l-5.189-0.798l-2.256-4.848C11.095,0.322,10.586-0.004,10.029-0.004L10.029-0.004z"/>\n      <rect x="7" y="9" width="2" height="2"/>\n      <rect x="11" y="9" width="2" height="2"/>\n    </symbol>\n  </svg>\n  \x3c!-- /SVG QUESTS --\x3e\n\n  \x3c!-- SVG STREAMS --\x3e\n  <svg style="display: none;">\n    <symbol id="svg-streams" viewBox="0 0 20 20" preserveAspectRatio="xMinYMin meet">\n      <path d="M16,3c1.103,0,2,0.897,2,2v10c0,1.103-0.897,2-2,2H4c-1.103,0-2-0.897-2-2V5c0-1.103,0.897-2,2-2H16 M16,1H4C1.791,1,0,2.791,0,5v10c0,2.209,1.791,4,4,4h12c2.209,0,4-1.791,4-4V5C20,2.791,18.209,1,16,1L16,1z"/>\n      <path d="M8.405,7c0.102,0,0.219,0.037,0.347,0.115l3.908,2.4c0.439,0.267,0.462,0.704,0.021,0.971l-3.928,2.4C8.624,12.964,8.507,13,8.405,13C8.157,13,8,12.782,8,12.408V7.593C8,7.217,8.157,7,8.405,7 M8.405,5C7.034,5,6,6.115,6,7.593v4.815C6,13.886,7.034,15,8.405,15c0.477,0,0.943-0.137,1.386-0.405l3.932-2.402c0.796-0.481,1.276-1.297,1.277-2.177c0.001-0.888-0.486-1.715-1.304-2.21L9.798,5.411C9.348,5.137,8.881,5,8.405,5L8.405,5z"/>\n    </symbol>\n  </svg>\n  \x3c!-- /SVG STREAMS --\x3e\n\n  \x3c!-- SVG EVENTS --\x3e\n  <svg style="display: none;">\n    <symbol id="svg-events" viewBox="0 0 20 20" preserveAspectRatio="xMinYMin meet">\n      <path d="M16,2H4C1.791,2,0,3.791,0,6v10c0,2.209,1.791,4,4,4h12c2.209,0,4-1.791,4-4V6C20,3.791,18.209,2,16,2zM18,16c0,1.103-0.897,2-2,2H4c-1.103,0-2-0.897-2-2V6c0-1.103,0.897-2,2-2h12c1.103,0,2,0.897,2,2V16z"/>\n      <path d="M0,8v2h20V8H0z M7,0H5v6h2V0z M15,0h-2v6h2V0z"/>\n    </symbol>\n  </svg>\n  \x3c!-- /SVG EVENTS --\x3e\n\n  \x3c!-- SVG FORUMS --\x3e\n  <svg style="display: none;">\n    <symbol id="svg-forums" viewBox="0 0 20 20" preserveAspectRatio="xMinYMin meet">\n      <path d="M16,0H4C1.791,0,0,1.592,0,3.556V6v2v4.444C0,14.408,1.791,16,4,16h2l4,4l4-4h2c2.209,0,4-1.592,4-3.556V8V6V3.556C20,1.592,18.209,0,16,0z M18,12.444C18,13.287,17.084,14,16,14h-2h-0.828l-0.586,0.586L10,17.172l-2.586-2.586L6.829,14H6H4c-1.084,0-2-0.713-2-1.556V8h16V12.444z M2,6V3.556C2,2.712,2.916,2,4,2h12c1.084,0,2,0.712,2,1.556V6H2z"/>\n      <rect x="4" y="3" width="2" height="2"/>\n      <rect x="10" y="3" width="2" height="2"/>\n      <rect x="7" y="3" width="2" height="2"/>\n    </symbol>\n  </svg>\n  \x3c!-- /SVG FORUMS --\x3e\n\n  \x3c!-- SVG SMALL ARROW --\x3e\n  <svg style="display: none;">\n    <symbol id="svg-small-arrow" viewBox="0 0 6 8" preserveAspectRatio="xMinYMin meet">\n      <path d="M6,4L1.5,8L0,6.665L3,4L0,1.333L1.5,0l3,2.666l0,0L6,4z"/>\n    </symbol>\n  </svg>\n  \x3c!-- /SVG SMALL ARROW --\x3e\n\n  \x3c!-- SVG BIG ARROW --\x3e\n  <svg style="display: none;">\n    <symbol id="svg-big-arrow" viewBox="0 0 8 12" preserveAspectRatio="xMinYMin meet">\n      <path d="M6.399,7.5L6.399,7.5L1.6,12L0,10.5L4.8,6L0,1.5L1.6,0L8,6L6.399,7.5z"/>\n    </symbol>\n  </svg>\n  \x3c!-- /SVG BIG ARROW --\x3e\n\n  \x3c!-- SVG PUBLIC --\x3e\n  <svg style="display: none;">\n    <symbol id="svg-public" viewBox="0 0 20 20" preserveAspectRatio="xMinYMin meet">\n      <path d="M20,10c0-5.522-4.478-10-10-10C4.477,0,0,4.478,0,10c0,5.523,4.477,10,10,10\n      c1.566,0,3.043-0.37,4.362-1.013l0.01,0.018c0.051-0.028,0.086-0.059,0.135-0.087C17.763,17.27,20,13.9,20,10z M16.155,15.108c-0.648-1.745-2.802-3.14-4.653-3.408c-0.751-0.109-0.829-0.433-0.858-0.555C10.497,10.532,11,9.499,11.679,9.021c1.482-1.044,4.529-0.504,6.252-0.025C17.972,9.325,18,9.659,18,10C18,11.942,17.307,13.723,16.155,15.108z M14.715,3.547c-0.012,0-0.022,0.003-0.034,0.003c-1.374,0-2.609-0.561-3.518-1.456C12.479,2.286,13.688,2.796,14.715,3.547z M2,10\n      c0-2.277,0.956-4.328,2.483-5.785c1.26,0.272,2.644,0.845,2.87,1.36C7.373,5.62,7.425,5.74,7.222,6.051c-0.295,0.451-0.603,0.88-0.896,1.29c-1.389,1.937-2.963,4.131-0.647,6.169c0.537,0.472,0.805,1.243,0.624,1.793c-0.184,0.557-0.815,0.773-1.402,0.86C3.128,14.695,2,12.479,2,10z M7.065,17.437c0.671-0.479,0.993-1.077,1.135-1.507c0.432-1.308-0.063-2.92-1.201-3.922c-0.814-0.716-0.672-1.24,0.951-3.502c0.31-0.432,0.633-0.883,0.944-1.359c0.66-1.009,0.521-1.85,0.289-2.377c-0.428-0.972-1.522-1.606-2.57-2.01C7.251,2.46,7.934,2.244,8.65,2.122c1.236,2.047,3.469,3.428,6.03,3.428c0.618,0,1.206-0.106,1.776-0.259c0.339,0.463,0.631,0.961,0.865,1.492c-1.979-0.428-4.906-0.729-6.795,0.603c-1.195,0.84-2.204,2.651-1.828,4.224c0.268,1.122,1.185,1.876,2.516,2.068c1.409,0.205,2.963,1.352,3.137,2.314c0.028,0.156,0.1,0.618-0.781,1.158C12.495,17.689,11.285,18,10,18C8.963,18,7.975,17.796,7.065,17.437z"/>\n    </symbol>\n  </svg>\n  \x3c!-- /SVG PUBLIC --\x3e\n\n  \x3c!-- SVG PRIVATE --\x3e\n  <svg style="display: none;">\n    <symbol id="svg-private" viewBox="0 0 20 20" preserveAspectRatio="xMinYMin meet">\n      <path d="M11,11H9c-0.553,0-1,0.447-1,1s0.447,1,1,1v1c0,0.553,0.447,1,1,1s1-0.447,1-1v-1c0.553,0,1-0.447,1-1S11.553,11,11,11z"/>\n      <path d="M16,6.142V6c0-3.313-2.687-6-6-6S4,2.687,4,6v0.142C2.278,6.588,1,8.139,1,10v6c0,2.209,1.791,4,4,4h10c2.209,0,4-1.791,4-4v-6C19,8.139,17.722,6.588,16,6.142z M10,2c2.206,0,4,1.794,4,4H6C6,3.794,7.794,2,10,2z M17,16c0,1.103-0.897,2-2,2H5c-1.103,0-2-0.897-2-2v-6c0-1.103,0.897-2,2-2h10c1.103,0,2,0.897,2,2V16z"/>\n    </symbol>\n  </svg>\n  \x3c!-- /SVG PRIVATE --\x3e\n\n  \x3c!-- SVG JOIN GROUP --\x3e\n  <svg style="display: none;">\n    <symbol id="svg-join-group" viewBox="0 0 20 20" preserveAspectRatio="xMinYMin meet">\n      <path d="M10,9.999c2.762,0,5-2.238,5-5s-2.238-5-5-5s-5,2.238-5,5S7.238,9.999,10,9.999z M10,1.999c1.654,0,3,1.346,3,3s-1.346,3-3,3s-3-1.346-3-3S8.346,1.999,10,1.999z M20,3.949v-2c-2.236,0-4.05,1.813-4.05,4.05c0,2.236,1.813,4.05,4.05,4.05v-2c-1.13,0-2.05-0.92-2.05-2.05C17.95,4.869,18.87,3.949,20,3.949z M4.05,5.999C4.05,3.762,2,1.949,0,1.949v2c1,0,2.05,0.919,2.05,2.05c0,1.13-1.05,2.05-2.05,2.05v2C2,10.049,4.05,8.235,4.05,5.999zM11,13.999H9v2H7v2h2v2h2v-2h2v-2h-2V13.999z M7,11.999c-3.313,0-6,2.687-6,6v2h2v-2c0-2.205,1.794-4,4-4V11.999z M13,11.999v2c2.206,0,4,1.795,4,4v2h2v-2C19,14.686,16.313,11.999,13,11.999z"/>\n    </symbol>\n  </svg>\n  \x3c!-- /SVG JOIN GROUP --\x3e\n\n  \x3c!-- SVG LEAVE GROUP --\x3e\n  <svg style="display: none;">\n    <symbol id="svg-leave-group" viewBox="0 0 20 20" preserveAspectRatio="xMinYMin meet">\n      <path d="M10,9.999c2.762,0,5-2.238,5-5s-2.238-5-5-5s-5,2.238-5,5S7.238,9.999,10,9.999z M10,1.999c1.654,0,3,1.346,3,3s-1.346,3-3,3s-3-1.346-3-3S8.346,1.999,10,1.999z M20,3.949v-2c-2.236,0-4.05,1.813-4.05,4.05c0,2.236,1.813,4.05,4.05,4.05v-2c-1.13,0-2.05-0.92-2.05-2.05C17.95,4.869,18.87,3.949,20,3.949z M4.05,5.999C4.05,3.762,2,1.949,0,1.949v2c1,0,2.05,0.919,2.05,2.05c0,1.13-1.05,2.05-2.05,2.05v2C2,10.049,4.05,8.235,4.05,5.999z M7,17.999h6v-2H7V17.999z M7,11.999c-3.313,0-6,2.687-6,6v2h2v-2c0-2.205,1.794-4,4-4V11.999z M13,11.999v2c2.206,0,4,1.795,4,4v2h2v-2C19,14.686,16.313,11.999,13,11.999z"/>\n    </symbol>\n  </svg>\n  \x3c!-- /SVG LEAVE GROUP --\x3e\n\n  \x3c!-- SVG MORE DOTS --\x3e\n  <svg style="display: none;">\n    <symbol id="svg-more-dots" viewBox="0 0 22 6" preserveAspectRatio="xMinYMin meet">\n      <path d="M19,6c-1.657,0-3-1.344-3-3c0-1.656,1.343-3,3-3s3,1.344,3,3C22,4.656,20.657,6,19,6z M19,2c-0.553,0-1,0.447-1,1c0,0.552,0.447,1,1,1c0.552,0,1-0.449,1-1C20,2.447,19.552,2,19,2z M11,6C9.343,6,8,4.656,8,3c0-1.656,1.343-3,3-3s3,1.344,3,3C14,4.656,12.657,6,11,6z M11,2c-0.553,0-1,0.447-1,1c0,0.552,0.447,1,1,1c0.552,0,1-0.449,1-1C12,2.447,11.552,2,11,2z M3,6C1.343,6,0,4.656,0,3c0-1.656,1.343-3,3-3c1.656,0,3,1.344,3,3C6,4.656,4.656,6,3,6z M3,2C2.447,2,2,2.447,2,3c0,0.552,0.447,1,1,1c0.552,0,1-0.449,1-1C4,2.447,3.552,2,3,2z"/>\n    </symbol>\n  </svg>\n  \x3c!-- /SVG MORE DOTS --\x3e\n\n  \x3c!-- SVG PROFILE --\x3e\n  <svg style="display: none;">\n    <symbol id="svg-profile" viewBox="0 0 20 20" preserveAspectRatio="xMinYMin meet">\n      <path d="M10,2c4.418,0,8,3.582,8,8c0,4.418-3.582,8-8,8c-4.418,0-8-3.582-8-8C2,5.582,5.582,2,10,2 M10,0C4.486,0,0,4.486,0,10c0,5.514,4.486,10,10,10c5.514,0,10-4.486,10-10C20,4.486,15.514,0,10,0L10,0z"/>\n      <path d="M10,7c0.551,0,1,0.449,1,1s-0.449,1-1,1S9,8.551,9,8S9.449,7,10,7 M10,5C8.343,5,7,6.343,7,8c0,1.656,1.343,3,3,3c1.656,0,3-1.344,3-3C13,6.343,11.656,5,10,5L10,5z"/>\n      <path d="M14.866,15.025C14.43,13.29,12.871,12,11,12H9c-1.871,0-3.43,1.29-3.866,3.025C5.678,15.553,6.308,15.988,7,16.317V16c0-1.104,0.897-2,2-2h2c1.103,0,2,0.896,2,2v0.317C13.692,15.988,14.322,15.553,14.866,15.025z"/>\n    </symbol>\n  </svg>\n  \x3c!-- /SVG PROFILE --\x3e\n\n  \x3c!-- SVG TIMELINE --\x3e\n  <svg style="display: none;">\n    <symbol id="svg-timeline" viewBox="0 0 20 20" preserveAspectRatio="xMinYMin meet">\n      <path d="M16,0H4C1.791,0,0,1.791,0,4v12c0,2.209,1.791,4,4,4h12c2.209,0,4-1.791,4-4V4C20,1.791,18.209,0,16,0zM18,16c0,1.103-0.897,2-2,2H4c-1.103,0-2-0.897-2-2V4c0-1.103,0.897-2,2-2h12c1.103,0,2,0.897,2,2V16z"/>\n      <polygon points="18,5 2,5 2,7 5,7 5,20 7,20 7,7 13,7 13,20 15,20 15,7 18,7"/>\n    </symbol>\n  </svg>\n  \x3c!-- /SVG TIMELINE --\x3e\n\n  \x3c!-- SVG PHOTOS --\x3e\n  <svg style="display: none;">\n    <symbol id="svg-photos" viewBox="0 0 20 20" preserveAspectRatio="xMinYMin meet">\n      <path d="M16,0H4C1.791,0,0,1.791,0,4v12c0,2.209,1.791,4,4,4h12c2.209,0,4-1.791,4-4V4C20,1.791,18.209,0,16,0zM4,2h12c1.103,0,2,0.897,2,2v6.407L16.703,9.11c-0.75-0.751-1.734-1.126-2.718-1.126c-0.984,0-1.968,0.375-2.719,1.126l-2.98,2.98l-0.259-0.259c-0.563-0.563-1.301-0.844-2.039-0.844s-1.476,0.282-2.04,0.844L2,13.782V4C2,2.897,2.897,2,4,2z M16,18H4c-0.918,0-1.686-0.625-1.919-1.47l3.282-3.283c0.226-0.226,0.489-0.259,0.626-0.259c0.137,0,0.399,0.033,0.625,0.258l0.259,0.259l1.414,1.414L9.7,13.505l2.981-2.981c0.348-0.348,0.811-0.54,1.304-0.54c0.492,0,0.955,0.192,1.304,0.541L18,13.234V16C18,17.103,17.103,18,16,18z"/>\n      <path d="M6,9c1.657,0,3-1.344,3-3c0-1.657-1.343-3-3-3S3,4.343,3,6C3,7.656,4.343,9,6,9z M6,5c0.551,0,1,0.449,1,1c0,0.552-0.449,1-1,1S5,6.552,5,6C5,5.449,5.449,5,6,5z"/>\n    </symbol>\n  </svg>\n  \x3c!-- /SVG PHOTOS --\x3e\n\n  \x3c!-- SVG VIDEOS --\x3e\n  <svg style="display: none;">\n    <symbol id="svg-videos" viewBox="0 0 20 20" preserveAspectRatio="xMinYMin meet">\n      <path d="M16,0H4C1.791,0,0,1.791,0,4v12c0,2.209,1.791,4,4,4h12c2.209,0,4-1.791,4-4V4C20,1.791,18.209,0,16,0zM18,4v1h-2V2C17.103,2,18,2.897,18,4z M4,13H2V7h2V13z M16,7h2v6h-2V7z M14,2v16H6V2H14z M4,2v3H2V4C2,2.897,2.897,2,4,2z M2,16v-1h2v3C2.897,18,2,17.103,2,16z M16,18v-3h2v1C18,17.103,17.103,18,16,18z"/>\n    </symbol>\n  </svg>\n  \x3c!-- /SVG VIDEOS --\x3e\n\n  \x3c!-- SVG BLOG POSTS --\x3e\n  <svg style="display: none;">\n    <symbol id="svg-blog-posts" viewBox="0 0 20 20" preserveAspectRatio="xMinYMin meet">\n      <path d="M15,0H5C2.791,0,1,1.791,1,4v3v2v7c0,2.209,1.791,4,4,4h10c2.209,0,4-1.791,4-4V9V7V4C19,1.791,17.209,0,15,0z M17,16c0,1.103-0.897,2-2,2H5c-1.103,0-2-0.897-2-2V9h14V16z M3,7V4c0-1.103,0.897-2,2-2h10c1.103,0,2,0.897,2,2v3H3z"/>\n      <rect x="5" y="11" width="10" height="2"/>\n      <rect x="13" y="14" width="2" height="2"/>\n      <rect x="5" y="14" width="6" height="2"/>\n    </symbol>\n  </svg>\n  \x3c!-- /SVG BLOG POSTS --\x3e\n\n  \x3c!-- SVG FORUM --\x3e\n  <svg style="display: none;">\n    <symbol id="svg-forum" viewBox="0 0 20 20" preserveAspectRatio="xMinYMin meet">\n      <path d="M10.969,0H5C2.791,0,1,1.791,1,4v12c0,2.209,1.791,4,4,4h10c2.209,0,4-1.791,4-4V8.125L10.969,0z M11,2.877L16.064,8H13c-1.104,0-2-0.897-2-2V2.877z M15,18H5c-1.103,0-2-0.897-2-2V4c0-1.103,0.897-2,2-2h4v4c0,2.209,1.791,4,4,4h4v6C17,17.103,16.103,18,15,18z"/>\n      <path d="M13,14H7c-0.553,0-1,0.447-1,1s0.447,1,1,1h6c0.552,0,1-0.447,1-1S13.552,14,13,14z"/>\n    </symbol>\n  </svg>\n  \x3c!-- /SVG FORUM --\x3e\n\n  \x3c!-- SVG STORE --\x3e\n  <svg style="display: none;">\n    <symbol id="svg-store" viewBox="0 0 20 20" preserveAspectRatio="xMinYMin meet">\n      <path d="M19.411,4.288l-1.894-3.301C17.174,0.378,16.537,0,15.855,0H4.047C3.37,0,2.734,0.376,2.39,0.981L0.492,4.288C-0.18,5.459-0.227,6.949,0.37,8.177C0.737,8.933,1.314,9.494,2,9.826V16c0,2.209,1.791,4,4,4h8c2.209,0,4-1.791,4-4V9.766c0.642-0.338,1.184-0.871,1.532-1.586C20.13,6.953,20.084,5.462,19.411,4.288z M2.227,5.289L4.047,2h11.732l1.896,3.289c0.343,0.598,0.365,1.388,0.059,2.018c-0.136,0.277-0.452,0.755-1.073,0.845c-0.567,0.088-1.203-0.159-1.624-0.674l-0.772-0.943L13.49,7.477c-0.725,0.883-2.046,0.883-2.767,0.001L9.95,6.532L9.176,7.477C8.452,8.361,7.13,8.359,6.41,7.478L5.636,6.531L4.862,7.478c-0.421,0.515-0.973,0.773-1.639,0.67C2.62,8.06,2.303,7.583,2.168,7.306C1.862,6.675,1.885,5.885,2.227,5.289zM4,10.11c0.582-0.086,1.148-0.295,1.636-0.641c1.263,0.9,3.046,0.9,4.313,0c1.265,0.9,3.046,0.901,4.315,0c0.518,0.368,1.113,0.592,1.736,0.665V14H4V10.11z M14,18H6c-1.103,0-2-0.897-2-2h12C16,17.103,15.103,18,14,18z"/>\n    </symbol>\n  </svg>\n  \x3c!-- /SVG STORE --\x3e\n\n  \x3c!-- SVG STAR --\x3e\n  <svg style="display: none;">\n    <symbol id="svg-star" viewBox="0 0 9 8" preserveAspectRatio="xMinYMin meet">\n      <path d="M4.5,0l1.482,2.515L9,3.056L6.899,5.151L7.28,8L4.5,6.78L1.719,8L2.1,5.151L0,3.056l3.017-0.541L4.5,0"/>\n    </symbol>\n  </svg>\n  \x3c!-- /SVG STAR --\x3e\n\n  \x3c!-- SVG PLAY --\x3e\n  <svg style="display: none;">\n    <symbol id="svg-play" viewBox="0 0 12 14" preserveAspectRatio="xMinYMin meet">\n      <path d="M11.182,5.868l-9.378-5.6C0.751-0.355,0,0.147,0,1.383v11.236c0,1.234,0.751,1.737,1.803,1.112l9.431-5.599C12.291,7.51,12.236,6.491,11.182,5.868z"/>\n    </symbol>\n  </svg>\n  \x3c!-- /SVG PLAY --\x3e\n\n  \x3c!-- SVG SHARE --\x3e\n  <svg style="display: none;">\n    <symbol id="svg-share" viewBox="0 0 20 20" preserveAspectRatio="xMinYMin meet">\n      <path d="M15.336,12.6c-0.984,0-1.876,0.399-2.536,1.04l-4.602-2.714c0.077-0.297,0.13-0.604,0.13-0.925s-0.054-0.628-0.13-0.925l4.598-2.717C13.457,7,14.35,7.4,15.336,7.4C17.356,7.4,19,5.741,19,3.7S17.356,0,15.336,0s-3.665,1.66-3.665,3.7c0,0.321,0.054,0.628,0.13,0.925L7.203,7.342C6.543,6.7,5.651,6.3,4.665,6.3C2.644,6.3,1,7.959,1,10c0,2.04,1.645,3.699,3.665,3.699c0.986,0,1.878-0.399,2.538-1.041l4.601,2.713c-0.078,0.299-0.132,0.606-0.132,0.93c0,2.04,1.645,3.699,3.665,3.699S19,18.341,19,16.301C19,14.26,17.356,12.6,15.336,12.6z M15.336,2c0.921,0,1.67,0.763,1.67,1.7s-0.749,1.7-1.67,1.7c-0.922,0-1.672-0.763-1.672-1.7S14.414,2,15.336,2z M4.665,11.699c-0.921,0-1.671-0.763-1.671-1.699c0-0.938,0.75-1.7,1.671-1.7s1.67,0.763,1.67,1.7C6.335,10.937,5.586,11.699,4.665,11.699z M15.336,18c-0.922,0-1.672-0.763-1.672-1.699c0-0.308,0.087-0.592,0.228-0.841c0.003-0.005,0.006-0.008,0.009-0.012c0.003-0.005,0.002-0.01,0.005-0.015c0.292-0.497,0.821-0.834,1.431-0.834c0.921,0,1.67,0.763,1.67,1.701C17.006,17.237,16.257,18,15.336,18z"/>\n    </symbol>\n  </svg>\n  \x3c!-- /SVG SHARE --\x3e\n\n  \x3c!-- SVG PINNED --\x3e\n  <svg style="display: none;">\n    <symbol id="svg-pinned" viewBox="0 0 20 20" preserveAspectRatio="xMinYMin meet">\n      <path d="M17,20c-0.205,0-0.408-0.063-0.581-0.188L10,15.229l-6.419,4.584c-0.305,0.218-0.706,0.249-1.039,0.077C2.209,19.717,2,19.375,2,19V3c0-1.654,1.346-3,3-3h10c1.654,0,3,1.346,3,3v16c0,0.375-0.209,0.717-0.542,0.89C17.313,19.963,17.156,20,17,20z M10,13c0.203,0,0.407,0.063,0.581,0.186L16,17.057V3c0-0.551-0.448-1-1-1H5C4.448,2,4,2.448,4,3v14.057l5.419-3.871C9.593,13.063,9.796,13,10,13z"/>\n    </symbol>\n  </svg>\n  \x3c!-- /SVG PINNED --\x3e\n\n  \x3c!-- SVG STATUS --\x3e\n  <svg style="display: none;">\n    <symbol id="svg-status" viewBox="0 0 20 20" preserveAspectRatio="xMinYMin meet">\n      <path d="M16,1H4C1.791,1,0,2.791,0,5v4v2v4c0,2.209,1.791,4,4,4h12c2.209,0,4-1.791,4-4v-4V9V5C20,2.791,18.209,1,16,1z M18,15c0,1.103-0.897,2-2,2H4c-1.103,0-2-0.897-2-2v-4h16V15z M18,9H2V5c0-1.103,0.897-2,2-2h12c1.103,0,2,0.897,2,2V9z"/>\n      <rect x="13" y="13" width="2" height="2"/>\n      <rect x="9" y="13" width="2" height="2"/>\n      <rect x="5" y="5" width="10" height="2"/>\n      <rect x="5" y="13" width="2" height="2"/>\n    </symbol>\n  </svg>\n  \x3c!-- /SVG STATUS --\x3e\n\n  \x3c!-- SVG BIG GRID VIEW --\x3e\n  <svg style="display: none;">\n    <symbol id="svg-big-grid-view" viewBox="0 0 20 20" preserveAspectRatio="xMinYMin meet">\n      <path d="M16,20H4c-2.209,0-4-1.791-4-4V4c0-2.209,1.791-4,4-4h12c2.209,0,4,1.791,4,4v12C20,18.209,18.209,20,16,20z M2,16c0,1.102,0.896,2,2,2h5v-7H2V16z M4,2C2.896,2,2,2.896,2,4v5h7V2H4z M18,4c0-1.104-0.897-2-2-2h-5v7h7V4z M18,11h-7v7h5c1.103,0,2-0.898,2-2V11z"/>\n    </symbol>\n  </svg>\n  \x3c!-- /SVG BIG GRID VIEW --\x3e\n\n  \x3c!-- SVG SMALL GRID VIEW --\x3e\n  <svg style="display: none;">\n    <symbol id="svg-small-grid-view" viewBox="0 0 20 20" preserveAspectRatio="xMinYMin meet">\n      <path d="M16,20H4c-2.209,0-4-1.791-4-4V4c0-2.209,1.791-4,4-4h12c2.209,0,4,1.791,4,4v12C20,18.209,18.209,20,16,20z M12,18v-4H8v4H12z M2,16c0,1.102,0.896,2,2,2h2v-4H2V16z M6,2H4C2.896,2,2,2.896,2,4v2h4V2z M2,8v4h4V8H2z M12,2H8v4h4V2z M8,8v4h4V8H8z M18,4c0-1.103-0.897-2-2-2h-2v4h4V4z M18,8h-4v4h4V8zM18,14h-4v4h2c1.103,0,2-0.898,2-2V14z"/>\n    </symbol>\n  </svg>\n  \x3c!-- /SVG SMALL GRID VIEW --\x3e\n\n  \x3c!-- SVG LIST GRID VIEW --\x3e\n  <svg style="display: none;">\n    <symbol id="svg-list-grid-view" viewBox="0 0 20 20" preserveAspectRatio="xMinYMin meet">\n      <path d="M16,20H4c-2.209,0-4-1.791-4-4V4c0-2.209,1.791-4,4-4h12c2.209,0,4,1.791,4,4v12C20,18.209,18.209,20,16,20z M2,16c0,1.102,0.896,2,2,2h2v-4H2V16z M6,2H4C2.896,2,2,2.896,2,4v2h4V2z M2,8v4h4V8H2z M18,4c0-1.103-0.897-2-2-2H8v4h10V4z M18,8H8v4h10V8z M18,14H8v4h8c1.103,0,2-0.898,2-2V14z"/>\n    </symbol>\n  </svg>\n  \x3c!-- /SVG LIST GRID VIEW --\x3e\n\n  \x3c!-- SVG PLUS --\x3e\n  <svg style="display: none;">\n    <symbol id="svg-plus" viewBox="0 0 20 20" preserveAspectRatio="xMinYMin meet">\n      <path d="M20,11h-9v9H9v-9H0V9h9V0h2v9h9V11z"/>\n    </symbol>\n  </svg>\n  \x3c!-- /SVG PLUS --\x3e\n\n  \x3c!-- SVG PLUS SMALL --\x3e\n  <svg style="display: none;">\n    <symbol id="svg-plus-small" viewBox="0 0 8 8" preserveAspectRatio="xMinYMin meet">\n      <path d="M8,5H5v3H3V5H0V3h3V0h2v3h3V5z"/>\n    </symbol>\n  </svg>\n  \x3c!-- /SVG PLUS SMALL --\x3e\n\n  \x3c!-- SVG MINUS SMALL --\x3e\n  <svg style="display: none;">\n    <symbol id="svg-minus-small" viewBox="0 0 8 8" preserveAspectRatio="xMinYMin meet">\n      <rect y="3" width="8" height="2"/>\n    </symbol>\n  </svg>\n  \x3c!-- /SVG MINUS SMALL --\x3e\n\n  \x3c!-- SVG POLL --\x3e\n  <svg style="display: none;">\n    <symbol id="svg-poll" viewBox="0 0 20 20" preserveAspectRatio="xMinYMin meet">\n      <path d="M12,14H2C0.896,14,0,14.896,0,16v2C0,19.104,0.896,20,2,20h10c1.105,0,2-0.896,2-2v-2C14,14.896,13.105,14,12,14z M12,18H2v-2h10V18z M18,7H2C0.896,7,0,7.896,0,9v2C0,12.104,0.896,13,2,13h16c1.104,0,2-0.896,2-2V9C20,7.896,19.104,7,18,7z M18,11H2V9h16V11z M2,6h4C7.105,6,8,5.104,8,4V2C8,0.896,7.105,0,6,0H2C0.896,0,0,0.896,0,2v2C0,5.104,0.896,6,2,6z M2,2h4v2H2V2z"/>\n    </symbol>\n  </svg>\n  \x3c!-- /SVG POLL --\x3e\n\n  \x3c!-- SVG CAMERA --\x3e\n  <svg style="display: none;">\n    <symbol id="svg-camera" viewBox="0 0 20 20" preserveAspectRatio="xMinYMin meet">\n      <path d="M13.018,2C13.505,2,13.81,2.018,14,2.041v1.964h2c1.103,0,2,0.896,2,1.999v9.998C18,17.104,17.103,18,16,18H4c-1.103,0-2-0.896-2-1.999V6.003c0-1.102,0.897-1.999,2-1.999h2V2.041C6.19,2.018,6.496,2,6.983,2l0.473,0.002L8,2.005h4l0.544-0.003L13.018,2 M13.018,0C12.692,0,12.352,0.005,12,0.005H8C7.648,0.005,7.308,0,6.983,0C5.267,0,4,0.148,4,2.005c-2.209,0-4,1.791-4,3.999v9.998C0,18.21,1.791,20,4,20h12c2.209,0,4-1.79,4-3.999V6.003c0-2.208-1.791-3.999-4-3.999C16,0.148,14.733,0,13.018,0L13.018,0z"/>\n      <path d="M10,10c1.103,0,2,0.896,2,2c0,1.103-0.897,2-2,2c-1.103,0-2-0.897-2-2C8,10.896,8.897,10,10,10 M10,8c-2.209,0-4,1.791-4,4s1.791,4,4,4s4-1.791,4-4S12.209,8,10,8L10,8z"/>\n      <path d="M15,6c0.553,0,1,0.448,1,1c0,0.553-0.447,1-1,1s-1-0.447-1-1C14,6.448,14.447,6,15,6z"/>\n    </symbol>\n  </svg>\n  \x3c!-- /SVG CAMERA --\x3e\n\n  \x3c!-- SVG GIF --\x3e\n  <svg style="display: none;">\n    <symbol id="svg-gif" viewBox="0 0 20 20" preserveAspectRatio="xMinYMin meet">\n      <path d="M3.676,5.098L2.243,3.665C1.025,5.153,0.201,6.975,0,8.995h2.053C2.237,7.534,2.822,6.206,3.676,5.098z M8.995,2.028V0C6.974,0.201,5.152,1.025,3.664,2.243l1.429,1.428\n        C6.199,2.807,7.527,2.212,8.995,2.028z M16.336,2.243C14.847,1.025,13.025,0.201,11.006,0v2.028c1.468,0.184,2.795,0.778,3.902,1.643L16.336,2.243z M17.947,8.995H20c-0.201-2.021-1.025-3.842-2.242-5.33l-1.435,1.433C17.179,6.206,17.764,7.534,17.947,8.995z M2.053,11.005H0c0.201,2.021,1.025,3.842,2.243,5.33l1.433-1.434\n        C2.822,13.793,2.237,12.466,2.053,11.005z M11.006,17.971V20c2.02-0.2,3.841-1.025,5.33-2.243l-1.428-1.428C13.801,17.193,12.474,17.787,11.006,17.971z M3.664,17.757C5.152,18.975,6.974,19.8,8.995,20v-2.029c-1.468-0.184-2.796-0.777-3.902-1.642L3.664,17.757z M16.323,14.901l1.435,1.434c1.217-1.488,2.041-3.31,2.242-5.33h-2.053C17.764,12.466,17.179,13.793,16.323,14.901z M15.025,11.005v-2.01H10v2.01h2.831c-0.416,1.168-1.521,2.01-2.831,2.01c-1.666,0-3.016-1.35-3.016-3.016c0-1.665,1.35-3.015,3.016-3.015h3.998C13.08,5.771,11.64,4.974,10,4.974c-2.776,0-5.026,2.25-5.026,5.025c0,2.774,2.25,5.025,5.026,5.025C12.432,15.024,14.56,13.298,15.025,11.005z"/>\n    </symbol>\n  </svg>\n  \x3c!-- /SVG GIF --\x3e\n\n  \x3c!-- SVG TAGS --\x3e\n  <svg style="display: none;">\n    <symbol id="svg-tags" viewBox="0 0 20 20" preserveAspectRatio="xMinYMin meet">\n      <path d="M20,13.001v2h-6L13,20h-2l1-4.999H6L5,20H3l1-4.999H0v-2h4.4L5.6,7H0V5h6l1-5h2L8,5h6l1-5h2l-1,5h4v2h-4.4L14.4,13.001H20z M13.6,7h-6l-1.2,6.001h6L13.6,7z"/>\n    </symbol>\n  </svg>\n  \x3c!-- /SVG TAGS --\x3e\n\n  \x3c!-- SVG QUOTE --\x3e\n  <svg style="display: none;">\n    <symbol id="svg-quote" viewBox="0 0 32 22" preserveAspectRatio="xMinYMin meet">\n      <path d="M12.998,5l-1-5C3.897,0.622,0,4.275,0,12.904V22h10.998V11H6.997C6.597,7.035,8.106,5.854,12.998,5z M32,5l-1.001-5c-8.1,0.622-11.998,4.275-11.998,12.904V22h10.998V11h-4C25.599,7.035,27.107,5.854,32,5z"/>\n    </symbol>\n  </svg>\n  \x3c!-- /SVG QUOTE --\x3e\n\n  \x3c!-- SVG PIN --\x3e\n  <svg style="display: none;">\n    <symbol id="svg-pin" viewBox="0 0 20 20" preserveAspectRatio="xMinYMin meet">\n      <path d="M10,2c3.309,0,6,2.773,6,6.182c0,4.78-4.517,9.104-5.994,9.768C8.557,17.272,4,12.836,4,8.182C4,4.773,6.691,2,10,2 M10,0C5.581,0,2,3.663,2,8.182C2,14.291,8.192,20,10,20c1.807,0,8-5.596,8-11.818C18,3.663,14.418,0,10,0L10,0z"/>\n      <path d="M10,6c1.103,0,2,0.897,2,2c0,1.103-0.897,2-2,2c-1.103,0-2-0.897-2-2C8,6.897,8.897,6,10,6 M10,4C7.791,4,6,5.791,6,8s1.791,4,4,4s4-1.791,4-4S12.209,4,10,4L10,4z"/>\n    </symbol>\n  </svg>\n  \x3c!-- /SVG PIN --\x3e\n\n  \x3c!-- SVG TICKET --\x3e\n  <svg style="display: none;">\n    <symbol id="svg-ticket" viewBox="0 0 20 20" preserveAspectRatio="xMinYMin meet">\n      <path d="M15,2v16h-1.537c-0.692-1.194-1.985-2-3.463-2s-2.771,0.806-3.463,2H5V2h1.537C7.229,3.195,8.522,4,10,4s2.771-0.805,3.463-2H15 M17,0h-5c0,1.104-0.896,2-2,2S8,1.104,8,0H3v20h5c0-1.104,0.896-2,2-2s2,0.896,2,2h5V0L17,0z"/>\n      <rect x="7" y="7" width="6" height="2"/>\n      <rect x="7" y="11" width="4" height="2"/>\n    </symbol>\n  </svg>\n  \x3c!-- /SVG TICKET --\x3e\n\n  \x3c!-- SVG EVENTS MONTHLY --\x3e\n  <svg style="display: none;">\n    <symbol id="svg-events-monthly" viewBox="0 0 20 20" preserveAspectRatio="xMinYMin meet">\n      <path d="M16,20H4c-2.209,0-4-1.791-4-4.001V6c0-2.209,1.791-4,4-4h1V0h2v2h6V0h2v2h1c2.209,0,4,1.791,4,4v9.999C20,18.209,18.209,20,16,20z M18,6c0-1.103-0.897-2-2-2h-1v2h-2V4H7v2H5V4H4C2.896,4,2,4.897,2,6v9.999C2,17.103,2.896,18,4,18h12c1.103,0,2-0.897,2-2.001V6z M13,13.001h2v2h-2V13.001z M13,9.001h2v2h-2V9.001z M9,13.001h2v2H9V13.001z M9,9.001h2v2H9V9.001z M5,13.001h2v2H5V13.001z M5,9.001h2v2H5V9.001z"/>\n    </symbol>\n  </svg>\n  \x3c!-- /SVG EVENTS MONTHLY --\x3e\n\n  \x3c!-- SVG EVENTS WEEKLY --\x3e\n  <svg style="display: none;">\n    <symbol id="svg-events-weekly" viewBox="0 0 20 20" preserveAspectRatio="xMinYMin meet">\n      <path d="M16,20H4c-2.209,0-4-1.791-4-4.001V6c0-2.209,1.791-4,4-4h1V0h2v2h6V0h2v2h1c2.209,0,4,1.791,4,4v9.999C20,18.209,18.209,20,16,20z M18,6c0-1.103-0.897-2-2-2h-1v2h-2V4H7v2H5V4H4C2.896,4,2,4.897,2,6v9.999C2,17.103,2.896,18,4,18h12c1.103,0,2-0.897,2-2.001V6z M5,13.001h10v2H5V13.001z M5,9.001h10v2H5V9.001z"/>\n    </symbol>\n  </svg>\n  \x3c!-- /SVG EVENTS WEEKLY --\x3e\n\n  \x3c!-- SVG EVENTS DAILY --\x3e\n  <svg style="display: none;">\n    <symbol id="svg-events-daily" viewBox="0 0 20 20" preserveAspectRatio="xMinYMin meet">\n      <path d="M16,20H4c-2.209,0-4-1.791-4-4.001V6c0-2.209,1.791-4,4-4h1V0h2v2h6V0h2v2h1c2.209,0,4,1.791,4,4v9.999C20,18.209,18.209,20,16,20z M18,6c0-1.103-0.897-2-2-2h-1v2h-2V4H7v2H5V4H4C2.896,4,2,4.897,2,6v9.999C2,17.103,2.896,18,4,18h12c1.103,0,2-0.897,2-2.001V6z M7,15.001H5v-2v-2v-2h2h6h2v2v2v2h-2H7zM13,11.001H7v2h6V11.001z"/>\n    </symbol>\n  </svg>\n  \x3c!-- /SVG EVENTS DAILY --\x3e\n\n  \x3c!-- SVG INFO --\x3e\n  <svg style="display: none;">\n    <symbol id="svg-info" viewBox="0 0 20 20" preserveAspectRatio="xMinYMin meet">\n      <path d="M9,15h2V9H9V15z M9,7h2V5H9V7z M16-0.001H4c-2.209,0-4,1.791-4,4v12c0,2.209,1.791,4,4,4h12c2.209,0,4-1.791,4-4v-12C20,1.79,18.209-0.001,16-0.001z M18,15.999C18,17.102,17.103,18,16,18H4c-1.103,0-2-0.898-2-2.001v-12c0-1.103,0.897-2,2-2h12c1.103,0,2,0.897,2,2V15.999z"/>\n    </symbol>\n  </svg>\n  \x3c!-- /SVG INFO --\x3e\n\n  \x3c!-- SVG CHECK --\x3e\n  <svg style="display: none;">\n    <symbol id="svg-check" viewBox="0 0 12 9" preserveAspectRatio="xMinYMin meet">\n      <path d="M12,1.5L4.5,9L3,7.499l0,0L0,4.5L1.5,3l3,3l6-6L12,1.5z"/>\n    </symbol>\n  </svg>\n  \x3c!-- /SVG CHECK --\x3e\n\n  \x3c!-- SVG TROPHY --\x3e\n  <svg style="display: none;">\n    <symbol id="svg-trophy" viewBox="0 0 20 20" preserveAspectRatio="xMinYMin meet">\n      <path d="M19.968,4.031C19.941,5.666,19.579,11,15.99,11h-0.125c-0.426,2.357-2.111,2.999-5.858,2.999c-3.748,0-5.434-0.642-5.859-2.999H4.009c-3.588,0-3.951-5.333-3.977-6.969L0,2h2.028h1.98h0.015V0H15.99v2l0,0h1.981H20L19.968,4.031z M4.009,3.999L1.994,4c0,0,0.112,4.999,2.015,4.999V3.999z M13.993,2H6.02v7.6c0,2.385,0.741,2.399,3.987,2.399c3.245,0,3.986-0.014,3.986-2.399V2z M17.972,3.999H15.99v5C17.893,8.999,18.006,4,18.006,4L17.972,3.999z M11.005,15.999H13c2.206,0,3.993,1.789,3.993,4h-1.989h-0.006c0-1.104-0.896-2.001-1.998-2.001h-1.995H9.009H7.013c-1.102,0-1.996,0.896-1.996,2.001H4.996H3.02c0-2.211,1.788-4,3.993-4h1.996v-2.001h0.998h0.998V15.999z"/>\n    </symbol>\n  </svg>\n  \x3c!-- /SVG TROPHY --\x3e\n\n  \x3c!-- SVG CLOCK --\x3e\n  <svg style="display: none;">\n    <symbol id="svg-clock" viewBox="0 0 20 20" preserveAspectRatio="xMinYMin meet">\n      <path d="M10,0C4.486,0,0,4.485,0,9.999c0,5.515,4.486,10,10,10c5.514,0,10-4.485,10-10C20,4.485,15.514,0,10,0zM10,17.999c-4.414,0-8.005-3.589-8.005-8S5.586,2,10,2c4.414,0,8.005,3.588,8.005,7.999S14.414,17.999,10,17.999z M14.437,12.105l-3.44-1.724V4.999C10.997,4.447,10.551,4,10,4S9.002,4.447,9.002,4.999V11c0,0.379,0.213,0.725,0.551,0.894l3.99,2C13.687,13.966,13.838,14,13.988,14c0.367,0,0.719-0.203,0.894-0.554C15.128,12.953,14.929,12.352,14.437,12.105z"/>\n    </symbol>\n  </svg>\n  \x3c!-- /SVG CLOCK --\x3e\n\n  \x3c!-- SVG RETURN --\x3e\n  <svg style="display: none;">\n    <symbol id="svg-return" viewBox="0 0 20 20" preserveAspectRatio="xMinYMin meet">\n      <path d="M19.12,13.852c-1.047,2.187-2.896,3.834-5.203,4.638C12.922,18.835,11.905,19,10.906,19c-3.751,0-7.273-2.313-8.59-6.006c-0.186-0.52,0.086-1.092,0.606-1.277c0.52-0.189,1.092,0.085,1.277,0.605c1.301,3.646,5.367,5.563,9.06,4.278c1.801-0.627,3.241-1.909,4.057-3.614c0.802-1.675,0.9-3.56,0.277-5.308c-1.3-3.644-5.363-5.562-9.06-4.278C7.541,3.746,6.623,4.316,5.877,5.052l-2.33,2.163h2.852c0.553,0,1,0.448,1,1c0,0.552-0.447,1-1,1H1c-0.007,0-0.013-0.004-0.019-0.004C0.901,9.21,0.826,9.185,0.749,9.164C0.699,9.151,0.646,9.149,0.601,9.13C0.555,9.109,0.518,9.071,0.474,9.044c-0.066-0.043-0.137-0.08-0.191-0.138C0.277,8.901,0.271,8.9,0.267,8.896C0.231,8.857,0.218,8.811,0.189,8.769C0.147,8.707,0.101,8.649,0.073,8.579C0.045,8.507,0.039,8.432,0.028,8.355C0.021,8.307,0,8.264,0,8.214V2.882c0-0.552,0.447-1,1-1c0.552,0,1,0.448,1,1v3.041l2.495-2.315c0.935-0.922,2.111-1.653,3.382-2.096c4.728-1.646,9.933,0.819,11.6,5.495C20.281,9.261,20.154,11.69,19.12,13.852z"/>\n    </symbol>\n  </svg>\n  \x3c!-- /SVG RETURN --\x3e\n\n  \x3c!-- SVG DRIBBBLE --\x3e\n  <svg style="display: none;">\n    <symbol id="svg-dribbble" viewBox="0 0 12 12" preserveAspectRatio="xMinYMin meet">\n      <path d="M6,11.999c-3.313,0-6-2.687-6-6c0-3.313,2.687-6,6-6s6,2.686,6,6C12,9.313,9.313,11.999,6,11.999z M7.434,4.992C7.585,5.295,7.728,5.599,7.86,5.896c0.814-0.135,1.696-0.139,2.634,0.046c-0.01-0.874-0.272-1.686-0.713-2.373C9.062,4.167,8.257,4.632,7.434,4.992z M9.104,9.244c0.599-0.573,1.036-1.31,1.247-2.138c-0.484-0.085-1.184-0.15-2.008-0.054C8.681,7.915,8.935,8.684,9.104,9.244z M5.994,10.495c0.708,0,1.375-0.167,1.972-0.459C7.812,9.095,7.532,8.167,7.188,7.285C6.014,7.624,4.701,8.333,3.44,9.7C4.166,10.2,5.045,10.495,5.994,10.495z M2.556,8.897c0.8-0.837,2.245-2.097,4.159-2.722C6.593,5.913,6.466,5.659,6.337,5.409C4.395,6.05,2.505,6.189,1.501,6.212C1.551,7.233,1.938,8.165,2.556,8.897z M1.593,5.048c1.733-0.13,3.096-0.387,4.16-0.7c-0.613-1.05-1.216-1.906-1.624-2.45C2.851,2.481,1.894,3.642,1.593,5.048z M5.994,1.49c-0.258,0-0.509,0.027-0.754,0.068C5.864,2.29,6.409,3.113,6.885,3.955c1.091-0.447,1.737-0.937,2.108-1.311C8.197,1.929,7.148,1.49,5.994,1.49z"/>\n    </symbol>\n  </svg>\n  \x3c!-- /SVG DRIBBBLE --\x3e\n\n  \x3c!-- SVG ITEM --\x3e\n  <svg style="display: none;">\n    <symbol id="svg-item" viewBox="0 0 20 20" preserveAspectRatio="xMinYMin meet">\n      <path d="M19,5h-1.952C17.209,4,17.3,3.943,17.3,3.5c0-1.792-1.458-3.375-3.25-3.375c-2.035,0-3.296,1.306-4.049,2.653C9.248,1.431,7.985,0.031,5.95,0.031c-1.792,0-3.25,1.692-3.25,3.484C2.7,3.958,2.791,4,2.952,5H1C0.448,5,0,4.948,0,5.5V10c0,0.552,0.448,1,1,1h1v5c0,2.209,1.791,4,4,4h3h2h3c2.209,0,4-1.791,4-4v-5h1c0.553,0,1-0.448,1-1V5.5C20,4.948,19.553,5,19,5z M14.05,2.25c0.689,0,1.25,0.686,1.25,1.375S14.739,5,14.05,5h-2.693C11.788,3,12.626,2.25,14.05,2.25zM5.95,2.375C7.375,2.375,8.212,3,8.644,5H5.95C5.261,5,4.7,4.189,4.7,3.5S5.261,2.375,5.95,2.375z M9,18H6c-1.103,0-2-0.897-2-2v-5h5V18z M16,16c0,1.103-0.897,2-2,2h-3v-7h5V16z M18,9h-4h-3H9H5H2V7h3h0.95H9h2h3h0.05H18V9z"/>\n    </symbol>\n  </svg>\n  \x3c!-- /SVG ITEM --\x3e\n\n  \x3c!-- SVG WALLET --\x3e\n  <svg style="display: none;">\n    <symbol id="svg-wallet" viewBox="0 0 20 20" preserveAspectRatio="xMinYMin meet">\n      <path d="M20,9h-2V8c0-1.999-1.471-3.641-3.387-3.938l-0.395-1.548C13.832,0.999,12.527,0,11.104,0c-0.276,0-0.557,0.038-0.836,0.116l-7.79,2.194C1.155,2.684,0.2,3.72,0.033,5H0v3v1v7c0,2.209,1.791,4,4,4h10c2.209,0,4-1.791,4-4v-1h2V9z M10.81,2.042C10.908,2.014,11.006,2,11.104,2c0.543,0,1.025,0.415,1.178,1.008L12.534,4H4C3.924,4,3.853,4.018,3.778,4.022L10.81,2.042z M16,16c0,1.103-0.897,2-2,2H4c-1.103,0-2-0.897-2-2V9V8c0-1.103,0.897-2,2-2h10c1.103,0,2,0.897,2,2v1h-1c-1.657,0-3,1.344-3,3s1.343,3,3,3h1V16z M18,13h-3c-0.552,0-1-0.448-1-1s0.448-1,1-1h3V13z"/>\n    </symbol>\n  </svg>\n  \x3c!-- /SVG WALLET --\x3e\n\n  \x3c!-- SVG EARNINGS --\x3e\n  <svg style="display: none;">\n    <symbol id="svg-earnings" viewBox="0 0 20 20" preserveAspectRatio="xMinYMin meet">\n      <path d="M16,20h-1v-2h1c1.103,0,2-0.897,2-2v-1h2v1C20,18.209,18.209,20,16,20z M18,11h2v2h-2V11z M18,7h2v2h-2V7z M18,4c0-1.103-0.897-2-2-2h-1V0h1c2.209,0,4,1.791,4,4v1h-2V4zM8.75,9h2.5C12.767,9,14,10.346,14,12s-1.233,3-2.75,3H11v1H9v-1H7c-0.553,0-1-0.447-1-1s0.447-1,1-1h2h2h0.25c0.406,0,0.75-0.458,0.75-1s-0.344-1-0.75-1h-2.5C7.233,11,6,9.654,6,8s1.233-3,2.75-3H9V4h2v1h1.5c0.553,0,1,0.448,1,1s-0.447,1-1,1H11H9H8.75C8.344,7,8,7.458,8,8S8.344,9,8.75,9z M11,0h2v2h-2V0z M7,0h2v2H7V0z M0,16v-1h2v1c0,1.103,0.896,2,2,2h1v2H4C1.791,20,0,18.209,0,16z M2,4v1H0V4c0-2.209,1.791-4,4-4h1v2H4C2.896,2,2,2.897,2,4z M2,7v2H0V7H2z M2,13H0v-2h2V13z M9,20H7v-2h2V20z M13,20h-2v-2h2V20z"/>\n    </symbol>\n  </svg>\n  \x3c!-- /SVG EARNINGS --\x3e\n\n  \x3c!-- SVG REVENUE --\x3e\n  <svg style="display: none;">\n    <symbol id="svg-revenue" viewBox="0 0 20 20" preserveAspectRatio="xMinYMin meet">\n      <path d="M16,0H4C1.791,0,0,1.791,0,4v12c0,2.209,1.791,4,4,4h12c2.209,0,4-1.791,4-4V4C20,1.791,18.209,0,16,0zM18,16c0,1.103-0.897,2-2,2H4c-1.103,0-2-0.897-2-2V4c0-1.103,0.897-2,2-2h12c1.103,0,2,0.897,2,2V16z"/>\n      <path d="M11.25,9h-2.5C8.344,9,8,8.542,8,8s0.344-1,0.75-1h3.75c0.553,0,1-0.448,1-1s-0.447-1-1-1H11V4H9v1H8.75C7.233,5,6,6.346,6,8s1.233,3,2.75,3h2.5c0.406,0,0.75,0.458,0.75,1s-0.344,1-0.75,1H7c-0.553,0-1,0.447-1,1s0.447,1,1,1h2v1h2v-1h0.25c1.517,0,2.75-1.346,2.75-3S12.767,9,11.25,9z"/>\n    </symbol>\n  </svg>\n  \x3c!-- /SVG REVENUE --\x3e\n\n  \x3c!-- SVG LOGIN --\x3e\n  <svg style="display: none;">\n    <symbol id="svg-login" viewBox="0 0 20 20" preserveAspectRatio="xMinYMin meet">\n      <path d="M13,2.523v2.176c2.358,1.126,4,3.513,4,6.301c0,3.866-3.134,7-7,7s-7-3.134-7-7c0-2.788,1.642-5.175,4-6.301V2.523C3.507,3.76,1,7.083,1,11c0,4.971,4.029,9,9,9s9-4.029,9-9\n      C19,7.083,16.493,3.76,13,2.523z M11,0H9v10h2V0z"/>\n    </symbol>\n  </svg>\n  \x3c!-- /SVG LOGIN --\x3e\n',document.body.appendChild(i)},{}],74:[function(e,t,n){"use strict";var h=e("../utils/core");h.querySelector(".tweet-feed",function(s){function l(e){var t=document.createElement("div"),n=document.createElement("a"),i=document.createElement("figure"),r=document.createElement("img"),a=document.createElement("p"),o=document.createElement("p"),s=document.createElement("a"),l=document.createElement("p");t.classList.add("tweet"),n.classList.add("tweet-author"),i.classList.add("tweet-author-image","picture","tiny","circle","liquid"),a.classList.add("tweet-author-title"),o.classList.add("tweet-author-text"),s.classList.add("tweet-text"),l.classList.add("tweet-timestamp"),i.appendChild(r),n.appendChild(i),n.appendChild(a),n.appendChild(o),t.appendChild(n),t.appendChild(s),t.appendChild(l);var c="https://twitter.com/".concat(e.user.screen_name),d=e.entities.urls.length?e.entities.urls[0].url:c,u=h.dateDiff(new Date(e.created_at));return n.setAttribute("href",c),n.setAttribute("target","_blank"),r.setAttribute("src",e.user.profile_image_url_https),a.innerHTML=e.user.name,o.innerHTML="@".concat(e.user.screen_name),s.setAttribute("href",d),s.setAttribute("target","_blank"),s.innerHTML=function(e){return e.replace(/(@\w+)\s/gim,'<span class="highlighted">$1</span> ')}(function(e){return e.replace(/(#\w+)\s/gim,'<span class="highlighted">$1</span> ')}(e.text)),l.innerHTML="".concat(u.value," ").concat(u.unit," ago"),h.liquidifyStatic(i,r),t}function c(e){var t=document.createElement("div");t.classList.add("tweets");var n=!0,i=!1,r=void 0;try{for(var a,o=e[Symbol.iterator]();!(n=(a=o.next()).done);n=!0){var s=a.value;t.appendChild(l(s))}}catch(e){i=!0,r=e}finally{try{n||null==o.return||o.return()}finally{if(i)throw r}}return t}h.query({url:"includes/getTweets.php?screen_name=odindesign_tw&count=3"}).then(function(e){var t=JSON.parse(e),n=!0,i=!1,r=void 0;try{for(var a,o=s[Symbol.iterator]();!(n=(a=o.next()).done);n=!0){a.value.appendChild(c(t))}}catch(e){i=!0,r=e}finally{try{n||null==o.return||o.return()}finally{if(i)throw r}}}).catch(function(e){console.log(e)})})},{"../utils/core":69}]},{},[48]);
  