(function(t){var n={};function e(r){if(n[r])return n[r].exports;var i=n[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,e),i.l=!0,i.exports}e.m=t,e.c=n,e.d=function(t,n,r){e.o(t,n)||Object.defineProperty(t,n,{enumerable:!0,get:r})},e.r=function(t){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},e.t=function(t,n){if(1&n&&(t=e(t)),8&n)return t;if(4&n&&"object"===typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(e.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&n&&"string"!=typeof t)for(var i in t)e.d(r,i,function(n){return t[n]}.bind(null,i));return r},e.n=function(t){var n=t&&t.__esModule?function(){return t["default"]}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},e.p="",e(e.s="df7d")})({"3ed3":function(t,n,e){"use strict";function r(t,n){for(var e=[],r={},i=0;i([\\d\\D]*?)<\\/script>[\\d\\D]*","i"),i=e.replace(r,"$1").trim());for(var f=0;ft.replace(s,(t,n)=>n?n.toUpperCase():""),c=/\B([A-Z])/g,h=t=>t.replace(c,"-$1").toLowerCase();function f(t){const n={};return t.forEach(t=>{n[t]=void 0}),n}function p(t,n,e){t[n]=[].concat(t[n]||[]),t[n].unshift(e)}function d(t,n){if(t){const e=t.$options[n]||[];e.forEach(n=>{n.call(t)})}}function v(t,n){return new CustomEvent(t,{bubbles:!1,cancelable:!1,detail:n})}const y=t=>/function Boolean/.test(String(t)),g=t=>/function Number/.test(String(t));function _(t,n,{type:e}={}){if(y(e))return"true"===t||"false"===t?"true"===t:""===t||t===n||null!=t;if(g(e)){const n=parseFloat(t,10);return isNaN(n)?t:n}return t}function m(t,n){const e=[];for(let r=0,i=n.length;r(t[n]=u[e[r]],t),{}),p(n,"beforeCreate",(function(){const t=this.$emit;this.$emit=(n,...e)=>(this.$root.$options.customElement.dispatchEvent(v(n,e)),t.call(this,n,...e))})),p(n,"created",(function(){i.forEach(t=>{this.$root.props[t]=this[t]})})),i.forEach(t=>{Object.defineProperty(c.prototype,t,{get(){return this._wrapper.props[t]},set(n){this._wrapper.props[t]=n},enumerable:!1,configurable:!0})}),a=!0}function s(t,n){const e=l(n),r=t.hasAttribute(n)?t.getAttribute(n):void 0;t._wrapper.props[e]=_(r,n,o[e])}class c extends HTMLElement{constructor(){super(),this.attachShadow({mode:"open"});const e=this._wrapper=new t({name:"shadow-root",customElement:this,shadowRoot:this.shadowRoot,data(){return{props:{},slotChildren:[]}},render(t){return t(n,{ref:"inner",props:this.props},this.slotChildren)}}),r=new MutationObserver(t=>{let n=!1;for(let e=0;e{t.props=f(i),r.forEach(t=>{s(this,t)})};a?e():n().then(t=>{(t.__esModule||"Module"===t[Symbol.toStringTag])&&(t=t.default),u(t),e()}),t.slotChildren=Object.freeze(m(t.$createElement,this.childNodes)),t.$mount(),this.shadowRoot.appendChild(t.$el)}}disconnectedCallback(){d(this.vueComponent,"deactivated")}}return e||u(n),c}var M=x;e("f98f"),e("3ed3");function N(t,n,e,r,i,o,a,u){var s,l="function"===typeof t?t.options:t;if(n&&(l.render=n,l.staticRenderFns=e,l._compiled=!0),r&&(l.functional=!0),o&&(l._scopeId="data-v-"+o),a?(s=function(t){t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,t||"undefined"===typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),i&&i.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(a)},l._ssrRegister=s):i&&(s=u?function(){i.call(this,(l.functional?this.parent:this).$root.$options.shadowRoot)}:i),s)if(l.functional){l._injectStyles=s;var c=l.render;l.render=function(t,n){return s.call(n),c(t,n)}}else{var h=l.beforeCreate;l.beforeCreate=h?[].concat(h,s):[s]}return{exports:t,options:l}}var A=function(){var t=this,n=t.$createElement,e=t._self._c||n;return e("div",[e("div",{ref:"chart",staticClass:"treemap"},[e("svg",{staticStyle:{"margin-left":"0px"},attrs:{height:t.height,width:t.width}},[e("g",{staticStyle:{"shape-rendering":"crispEdges"},attrs:{transform:"translate(0,20)"}},[t.selectedNode?e("transition-group",{staticClass:"depth",attrs:{name:"list",tag:"g"}},t._l(t.selectedNode._children,(function(n){return e("g",{key:"c_"+n.id,staticClass:"children"},[t._l(n._children,(function(n){return e("rect",{key:n.id,staticClass:"child",attrs:{id:n.id,height:t.y(n.y1)-t.y(n.y0),width:t.x(n.x1)-t.x(n.x0),x:t.x(n.x0),y:t.y(n.y0)}})})),e("rect",{key:n.id,staticClass:"parent",style:{fill:n.data.color},attrs:{id:n.id,x:t.x(n.x0),y:t.y(n.y0),width:t.x(n.x1-n.x0+n.parent.x0),height:t.y(n.y1-n.y0+n.parent.y0)},on:{click:t.selectNode}},[e("title",[t._v(t._s(n.data.name)+" | "+t._s(n.value))])]),e("text",{key:"t_"+n.id,staticStyle:{"fill-opacity":"1","text-anchor":"middle"},attrs:{dy:"-0.75em",x:parseFloat(t.x(n.x0))+t.x(n.x1-n.x0+n.parent.x0)/2,y:parseFloat(t.y(n.y0))+t.y(n.y1-n.y0+n.parent.y0)/2}},[t._v(" "+t._s(n.data.name)+" ")]),e("text",{key:"t_2_"+n.id,staticStyle:{"fill-opacity":"1","text-anchor":"middle"},attrs:{dy:"0.75em",x:parseFloat(t.x(n.x0))+t.x(n.x1-n.x0+n.parent.x0)/2,y:parseFloat(t.y(n.y0))+t.y(n.y1-n.y0+n.parent.y0)/2}},[t._v(" "+t._s(n.data.description)+" ")])],2)})),0):t._e(),e("g",{staticClass:"grandparent"},[e("rect",{attrs:{height:t.margin.top,width:t.width,y:-1*t.margin.top,id:t.parentId},on:{click:t.selectNode}}),e("text",{attrs:{dy:".65em",x:"6",y:"-14"}},[t._v(" "+t._s(t.selectedNode.id)+" ")])])],1)])]),t.noData?e("div",{ref:"noData"},[e("p",{staticStyle:{"text-align":"center"}},[t._v("NO DATA")])]):t._e()])},k=[],E={value:()=>{}};function S(){for(var t,n=0,e=arguments.length,r={};n=0&&(e=t.slice(r+1),t=t.slice(0,r)),t&&!n.hasOwnProperty(t))throw new Error("unknown type: "+t);return{type:t,name:e}}))}function j(t,n){for(var e,r=0,i=t.length;r0)for(var e,r,i=new Array(e),o=0;o=b&&(b=w+1);while(!(m=y[b])&&++b=0;)(r=i[o])&&(a&&4^r.compareDocumentPosition(a)&&a.parentNode.insertBefore(r,a),a=r);return this},ht=function(t){function n(n,e){return n&&e?t(n.__data__,e.__data__):!n-!e}t||(t=ft);for(var e=this._groups,r=e.length,i=new Array(r),o=0;on?1:t>=n?0:NaN}var pt=function(){var t=arguments[0];return arguments[0]=this,t.apply(null,arguments),this},dt=function(){return Array.from(this)},vt=function(){for(var t=this._groups,n=0,e=t.length;n=0&&"xmlns"!==(n=t.slice(0,e))&&(t=t.slice(e+1)),wt.hasOwnProperty(n)?{space:wt[n],local:t}:t};function xt(t){return function(){this.removeAttribute(t)}}function Mt(t){return function(){this.removeAttributeNS(t.space,t.local)}}function Nt(t,n){return function(){this.setAttribute(t,n)}}function At(t,n){return function(){this.setAttributeNS(t.space,t.local,n)}}function kt(t,n){return function(){var e=n.apply(this,arguments);null==e?this.removeAttribute(t):this.setAttribute(t,e)}}function Et(t,n){return function(){var e=n.apply(this,arguments);null==e?this.removeAttributeNS(t.space,t.local):this.setAttributeNS(t.space,t.local,e)}}var St=function(t,n){var e=bt(t);if(arguments.length<2){var r=this.node();return e.local?r.getAttributeNS(e.space,e.local):r.getAttribute(e)}return this.each((null==n?e.local?Mt:xt:"function"===typeof n?e.local?Et:kt:e.local?At:Nt)(e,n))},Ct=function(t){return t.ownerDocument&&t.ownerDocument.defaultView||t.document&&t||t.defaultView};function Tt(t){return function(){this.style.removeProperty(t)}}function jt(t,n,e){return function(){this.style.setProperty(t,n,e)}}function Ot(t,n,e){return function(){var r=n.apply(this,arguments);null==r?this.style.removeProperty(t):this.style.setProperty(t,r,e)}}var Pt=function(t,n,e){return arguments.length>1?this.each((null==n?Tt:"function"===typeof n?Ot:jt)(t,n,null==e?"":e)):Rt(this.node(),t)};function Rt(t,n){return t.style.getPropertyValue(n)||Ct(t).getComputedStyle(t,null).getPropertyValue(n)}function $t(t){return function(){delete this[t]}}function Lt(t,n){return function(){this[t]=n}}function Dt(t,n){return function(){var e=n.apply(this,arguments);null==e?delete this[t]:this[t]=e}}var zt=function(t,n){return arguments.length>1?this.each((null==n?$t:"function"===typeof n?Dt:Lt)(t,n)):this.node()[t]};function qt(t){return t.trim().split(/^|\s+/)}function Bt(t){return t.classList||new It(t)}function It(t){this._node=t,this._names=qt(t.getAttribute("class")||"")}function Xt(t,n){var e=Bt(t),r=-1,i=n.length;while(++r=0&&(this._names.splice(n,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(t){return this._names.indexOf(t)>=0}};var Yt=function(t,n){var e=qt(t+"");if(arguments.length<2){var r=Bt(this.node()),i=-1,o=e.length;while(++i=0&&(n=t.slice(e+1),t=t.slice(0,e)),{type:t,name:n}}))}function bn(t){return function(){var n=this.__on;if(n){for(var e,r=0,i=-1,o=n.length;r>8&15|n>>4&240,n>>4&15|240&n,(15&n)<<4|15&n,1):8===e?ne(n>>24&255,n>>16&255,n>>8&255,(255&n)/255):4===e?ne(n>>12&15|n>>8&240,n>>8&15|n>>4&240,n>>4&15|240&n,((15&n)<<4|15&n)/255):null):(n=Hn.exec(t))?new ie(n[1],n[2],n[3],1):(n=Un.exec(t))?new ie(255*n[1]/100,255*n[2]/100,255*n[3]/100,1):(n=Vn.exec(t))?ne(n[1],n[2],n[3],n[4]):(n=Fn.exec(t))?ne(255*n[1]/100,255*n[2]/100,255*n[3]/100,n[4]):(n=Yn.exec(t))?se(n[1],n[2]/100,n[3]/100,1):(n=Kn.exec(t))?se(n[1],n[2]/100,n[3]/100,n[4]):Jn.hasOwnProperty(t)?te(Jn[t]):"transparent"===t?new ie(NaN,NaN,NaN,0):null}function te(t){return new ie(t>>16&255,t>>8&255,255&t,1)}function ne(t,n,e,r){return r<=0&&(t=n=e=NaN),new ie(t,n,e,r)}function ee(t){return t instanceof Ln||(t=Wn(t)),t?(t=t.rgb(),new ie(t.r,t.g,t.b,t.opacity)):new ie}function re(t,n,e,r){return 1===arguments.length?ee(t):new ie(t,n,e,null==r?1:r)}function ie(t,n,e,r){this.r=+t,this.g=+n,this.b=+e,this.opacity=+r}function oe(){return"#"+ue(this.r)+ue(this.g)+ue(this.b)}function ae(){var t=this.opacity;return t=isNaN(t)?1:Math.max(0,Math.min(1,t)),(1===t?"rgb(":"rgba(")+Math.max(0,Math.min(255,Math.round(this.r)||0))+", "+Math.max(0,Math.min(255,Math.round(this.g)||0))+", "+Math.max(0,Math.min(255,Math.round(this.b)||0))+(1===t?")":", "+t+")")}function ue(t){return t=Math.max(0,Math.min(255,Math.round(t)||0)),(t<16?"0":"")+t.toString(16)}function se(t,n,e,r){return r<=0?t=n=e=NaN:e<=0||e>=1?t=n=NaN:n<=0&&(t=NaN),new he(t,n,e,r)}function le(t){if(t instanceof he)return new he(t.h,t.s,t.l,t.opacity);if(t instanceof Ln||(t=Wn(t)),!t)return new he;if(t instanceof he)return t;t=t.rgb();var n=t.r/255,e=t.g/255,r=t.b/255,i=Math.min(n,e,r),o=Math.max(n,e,r),a=NaN,u=o-i,s=(o+i)/2;return u?(a=n===o?(e-r)/u+6*(e0&&s<1?0:a,new he(a,u,s,t.opacity)}function ce(t,n,e,r){return 1===arguments.length?le(t):new he(t,n,e,null==r?1:r)}function he(t,n,e,r){this.h=+t,this.s=+n,this.l=+e,this.opacity=+r}function fe(t,n,e){return 255*(t<60?n+(e-n)*t/60:t<180?e:t<240?n+(e-n)*(240-t)/60:n)}function pe(t,n,e,r,i){var o=t*t,a=o*t;return((1-3*t+3*o-a)*n+(4-6*o+3*a)*e+(1+3*t+3*o-3*a)*r+a*i)/6}Rn(Ln,Wn,{copy:function(t){return Object.assign(new this.constructor,this,t)},displayable:function(){return this.rgb().displayable()},hex:Qn,formatHex:Qn,formatHsl:Zn,formatRgb:Gn,toString:Gn}),Rn(ie,re,$n(Ln,{brighter:function(t){return t=null==t?zn:Math.pow(zn,t),new ie(this.r*t,this.g*t,this.b*t,this.opacity)},darker:function(t){return t=null==t?Dn:Math.pow(Dn,t),new ie(this.r*t,this.g*t,this.b*t,this.opacity)},rgb:function(){return this},displayable:function(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:oe,formatHex:oe,formatRgb:ae,toString:ae})),Rn(he,ce,$n(Ln,{brighter:function(t){return t=null==t?zn:Math.pow(zn,t),new he(this.h,this.s,this.l*t,this.opacity)},darker:function(t){return t=null==t?Dn:Math.pow(Dn,t),new he(this.h,this.s,this.l*t,this.opacity)},rgb:function(){var t=this.h%360+360*(this.h<0),n=isNaN(t)||isNaN(this.s)?0:this.s,e=this.l,r=e+(e<.5?e:1-e)*n,i=2*e-r;return new ie(fe(t>=240?t-240:t+120,i,r),fe(t,i,r),fe(t<120?t+240:t-120,i,r),this.opacity)},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl:function(){var t=this.opacity;return t=isNaN(t)?1:Math.max(0,Math.min(1,t)),(1===t?"hsl(":"hsla(")+(this.h||0)+", "+100*(this.s||0)+"%, "+100*(this.l||0)+"%"+(1===t?")":", "+t+")")}}));var de=function(t){var n=t.length-1;return function(e){var r=e<=0?e=0:e>=1?(e=1,n-1):Math.floor(e*n),i=t[r],o=t[r+1],a=r>0?t[r-1]:2*i-o,u=r()=>t;function ge(t,n){return function(e){return t+e*n}}function _e(t,n,e){return t=Math.pow(t,e),n=Math.pow(n,e)-t,e=1/e,function(r){return Math.pow(t+r*n,e)}}function me(t){return 1===(t=+t)?we:function(n,e){return e-n?_e(n,e,t):ye(isNaN(n)?e:n)}}function we(t,n){var e=n-t;return e?ge(t,e):ye(isNaN(t)?n:t)}var be=function t(n){var e=me(n);function r(t,n){var r=e((t=re(t)).r,(n=re(n)).r),i=e(t.g,n.g),o=e(t.b,n.b),a=we(t.opacity,n.opacity);return function(n){return t.r=r(n),t.g=i(n),t.b=o(n),t.opacity=a(n),t+""}}return r.gamma=t,r}(1);function xe(t){return function(n){var e,r,i=n.length,o=new Array(i),a=new Array(i),u=new Array(i);for(e=0;eo&&(i=n.slice(o,i),u[a]?u[a]+=i:u[++a]=i),(e=e[0])===(r=r[0])?u[a]?u[a]+=r:u[++a]=r:(u[++a]=null,s.push({i:a,x:Ee(e,r)})),o=Te.lastIndex;return o=0&&n._call.call(null,t),n=n._next;--De}function Ze(){Xe=(Ie=Ue.now())+He,De=ze=0;try{Qe()}finally{De=0,We(),Xe=0}}function Ge(){var t=Ue.now(),n=t-Ie;n>Be&&(He-=n,Ie=t)}function We(){var t,n,e=Pe,r=1/0;while(e)e._call?(r>e._time&&(r=e._time),t=e,e=e._next):(n=e._next,e._next=null,e=t?t._next=n:Pe=n);Re=t,tr(r)}function tr(t){if(!De){ze&&(ze=clearTimeout(ze));var n=t-Xe;n>24?(t<1/0&&(ze=setTimeout(Ze,t-Ue.now()-He)),qe&&(qe=clearInterval(qe))):(qe||(Ie=Ue.now(),qe=setInterval(Ge,Be)),De=1,Ve(Ze))}}Ke.prototype=Je.prototype={constructor:Ke,restart:function(t,n,e){if("function"!==typeof t)throw new TypeError("callback is not a function");e=(null==e?Fe():+e)+(null==n?0:+n),this._next||Re===this||(Re?Re._next=this:Pe=this,Re=this),this._call=t,this._time=e,tr()},stop:function(){this._call&&(this._call=null,this._time=1/0,tr())}};var nr=function(t,n,e){var r=new Ke;return n=null==n?0:+n,r.restart(e=>{r.stop(),t(e+n)},n,e),r},er=P("start","end","cancel","interrupt"),rr=[],ir=0,or=1,ar=2,ur=3,sr=4,lr=5,cr=6,hr=function(t,n,e,r,i,o){var a=t.__transition;if(a){if(e in a)return}else t.__transition={};vr(t,e,{name:n,index:r,group:i,on:er,tween:rr,time:o.time,delay:o.delay,duration:o.duration,ease:o.ease,timer:null,state:ir})};function fr(t,n){var e=dr(t,n);if(e.state>ir)throw new Error("too late; already scheduled");return e}function pr(t,n){var e=dr(t,n);if(e.state>ur)throw new Error("too late; already running");return e}function dr(t,n){var e=t.__transition;if(!e||!(e=e[n]))throw new Error("transition not found");return e}function vr(t,n,e){var r,i=t.__transition;function o(t){e.state=or,e.timer.restart(a,e.delay,e.time),e.delay<=t&&a(t-e.delay)}function a(o){var l,c,h,f;if(e.state!==or)return s();for(l in i)if(f=i[l],f.name===e.name){if(f.state===ur)return nr(a);f.state===sr?(f.state=cr,f.timer.stop(),f.on.call("interrupt",t,t.__data__,f.index,f.group),delete i[l]):+lar&&e.state180?n+=360:n-t>180&&(t+=360),o.push({i:e.push(i(e)+"rotate(",null,r)-2,x:Ee(t,n)})):n&&e.push(i(e)+"rotate("+n+r)}function u(t,n,e,o){t!==n?o.push({i:e.push(i(e)+"skewX(",null,r)-2,x:Ee(t,n)}):n&&e.push(i(e)+"skewX("+n+r)}function s(t,n,e,r,o,a){if(t!==e||n!==r){var u=o.push(i(o)+"scale(",null,",",null,")");a.push({i:u-4,x:Ee(t,e)},{i:u-2,x:Ee(n,r)})}else 1===e&&1===r||o.push(i(o)+"scale("+e+","+r+")")}return function(n,e){var r=[],i=[];return n=t(n),e=t(e),o(n.translateX,n.translateY,e.translateX,e.translateY,r,i),a(n.rotate,e.rotate,r,i),u(n.skewX,e.skewX,r,i),s(n.scaleX,n.scaleY,e.scaleX,e.scaleY,r,i),n=e=null,function(t){var n,e=-1,o=i.length;while(++e=0&&(t=t.slice(0,n)),!t||"start"===t}))}function ri(t,n,e){var r,i,o=ei(n)?fr:pr;return function(){var a=o(this,t),u=a.on;u!==r&&(i=(r=u).copy()).on(n,e),a.on=i}}var ii=function(t,n){var e=this._id;return arguments.length<2?dr(this.node(),e).on.on(t):this.each(ri(e,t,n))};function oi(t){return function(){var n=this.parentNode;for(var e in this.__transition)if(+e!==t)return;n&&n.removeChild(this)}}var ai=function(){return this.on("end.remove",oi(this._id))},ui=function(t){var n=this._name,e=this._id;"function"!==typeof t&&(t=$(t));for(var r=this._groups,i=r.length,o=new Array(i),a=0;aYi)throw new Error("too late; already scheduled");return e}function eo(t,n){var e=ro(t,n);if(e.state>Qi)throw new Error("too late; already running");return e}function ro(t,n){var e=t.__transition;if(!e||!(e=e[n]))throw new Error("transition not found");return e}function io(t,n,e){var r,i=t.__transition;function o(t){e.state=Ki,e.timer.restart(a,e.delay,e.time),e.delay<=t&&a(t-e.delay)}function a(o){var l,c,h,f;if(e.state!==Ki)return s();for(l in i)if(f=i[l],f.name===e.name){if(f.state===Qi)return nr(a);f.state===Zi?(f.state=Wi,f.timer.stop(),f.on.call("interrupt",t,t.__data__,f.index,f.group),delete i[l]):+lJi&&e.state=0&&(t=t.slice(0,n)),!t||"start"===t}))}function zo(t,n,e){var r,i,o=Do(n)?no:eo;return function(){var a=o(this,t),u=a.on;u!==r&&(i=(r=u).copy()).on(n,e),a.on=i}}var qo=function(t,n){var e=this._id;return arguments.length<2?ro(this.node(),e).on.on(t):this.each(zo(e,t,n))};function Bo(t){return function(){var n=this.parentNode;for(var e in this.__transition)if(+e!==t)return;n&&n.removeChild(this)}}var Io=function(){return this.on("end.remove",Bo(this._id))},Xo=function(t){var n=this._name,e=this._id;"function"!==typeof t&&(t=$(t));for(var r=this._groups,i=r.length,o=new Array(i),a=0;aNa)throw new Error("too late; already scheduled");return e}function Pa(t,n){var e=Ra(t,n);if(e.state>Ea)throw new Error("too late; already running");return e}function Ra(t,n){var e=t.__transition;if(!e||!(e=e[n]))throw new Error("transition not found");return e}function $a(t,n,e){var r,i=t.__transition;function o(t){e.state=Aa,e.timer.restart(a,e.delay,e.time),e.delay<=t&&a(t-e.delay)}function a(o){var l,c,h,f;if(e.state!==Aa)return s();for(l in i)if(f=i[l],f.name===e.name){if(f.state===Ea)return nr(a);f.state===Sa?(f.state=Ta,f.timer.stop(),f.on.call("interrupt",t,t.__data__,f.index,f.group),delete i[l]):+lka&&e.state=0&&(t=t.slice(0,n)),!t||"start"===t}))}function du(t,n,e){var r,i,o=pu(n)?Oa:Pa;return function(){var a=o(this,t),u=a.on;u!==r&&(i=(r=u).copy()).on(n,e),a.on=i}}var vu=function(t,n){var e=this._id;return arguments.length<2?Ra(this.node(),e).on.on(t):this.each(du(e,t,n))};function yu(t){return function(){var n=this.parentNode;for(var e in this.__transition)if(+e!==t)return;n&&n.removeChild(this)}}var gu=function(){return this.on("end.remove",yu(this._id))},_u=function(t){var n=this._name,e=this._id;"function"!==typeof t&&(t=$(t));for(var r=this._groups,i=r.length,o=new Array(i),a=0;a0)return[t];if((r=n0){t=Math.ceil(t/a),n=Math.floor(n/a),o=new Array(i=Math.ceil(n-t+1));while(++u=0?(o>=Zu?10:o>=Gu?5:o>=Wu?2:1)*Math.pow(10,i):-Math.pow(10,-i)/(o>=Zu?10:o>=Gu?5:o>=Wu?2:1)}function es(t,n,e){var r=Math.abs(n-t)/Math.max(0,e),i=Math.pow(10,Math.floor(Math.log(r)/Math.LN10)),o=r/i;return o>=Zu?i*=10:o>=Gu?i*=5:o>=Wu&&(i*=2),nn?1:t>=n?0:NaN},is=function(t){let n=t,e=t;function r(t,n,r,i){null==r&&(r=0),null==i&&(i=t.length);while(r>>1;e(t[o],n)<0?r=o+1:i=o}return r}function i(t,n,r,i){null==r&&(r=0),null==i&&(i=t.length);while(r>>1;e(t[o],n)>0?i=o:r=o+1}return r}function o(t,e,i,o){null==i&&(i=0),null==o&&(o=t.length);const a=r(t,e,i,o-1);return a>i&&n(t[a-1],e)>-n(t[a],e)?a-1:a}return 1===t.length&&(n=(n,e)=>t(n)-e,e=os(t)),{left:r,center:o,right:i}};function os(t){return(n,e)=>rs(t(n),e)}var as=function(t){return null===t?NaN:+t};const us=is(rs),ss=us.right;us.left,is(as).center;var ls=ss,cs=function(t,n){return t=+t,n=+n,function(e){return Math.round(t*(1-e)+n*e)}};function hs(t){return function(){return t}}function fs(t){return+t}var ps=[0,1];function ds(t){return t}function vs(t,n){return(n-=t=+t)?function(e){return(e-t)/n}:hs(isNaN(n)?NaN:.5)}function ys(t,n){var e;return t>n&&(e=t,t=n,n=e),function(e){return Math.max(t,Math.min(n,e))}}function gs(t,n,e){var r=t[0],i=t[1],o=n[0],a=n[1];return i2?_s:gs,i=o=null,h}function h(n){return isNaN(n=+n)?e:(i||(i=r(a.map(t),u,s)))(t(l(n)))}return h.invert=function(e){return l(n((o||(o=r(u,a.map(t),Ee)))(e)))},h.domain=function(t){return arguments.length?(a=Array.from(t,fs),c()):a.slice()},h.range=function(t){return arguments.length?(u=Array.from(t),c()):u.slice()},h.rangeRound=function(t){return u=Array.from(t),s=cs,c()},h.clamp=function(t){return arguments.length?(l=!!t||ds,c()):l!==ds},h.interpolate=function(t){return arguments.length?(s=t,c()):s},h.unknown=function(t){return arguments.length?(e=t,h):e},function(e,r){return t=e,n=r,c()}}function bs(){return ws()(ds,ds)}function xs(t,n){switch(arguments.length){case 0:break;case 1:this.range(t);break;default:this.range(n).domain(t);break}return this}var Ms=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function Ns(t){if(!(n=Ms.exec(t)))throw new Error("invalid format: "+t);var n;return new As({fill:n[1],align:n[2],sign:n[3],symbol:n[4],zero:n[5],width:n[6],comma:n[7],precision:n[8]&&n[8].slice(1),trim:n[9],type:n[10]})}function As(t){this.fill=void 0===t.fill?" ":t.fill+"",this.align=void 0===t.align?">":t.align+"",this.sign=void 0===t.sign?"-":t.sign+"",this.symbol=void 0===t.symbol?"":t.symbol+"",this.zero=!!t.zero,this.width=void 0===t.width?void 0:+t.width,this.comma=!!t.comma,this.precision=void 0===t.precision?void 0:+t.precision,this.trim=!!t.trim,this.type=void 0===t.type?"":t.type+""}Ns.prototype=As.prototype,As.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(void 0===this.width?"":Math.max(1,0|this.width))+(this.comma?",":"")+(void 0===this.precision?"":"."+Math.max(0,0|this.precision))+(this.trim?"~":"")+this.type};var ks=function(t){return Math.abs(t=Math.round(t))>=1e21?t.toLocaleString("en").replace(/,/g,""):t.toString(10)};function Es(t,n){if((e=(t=n?t.toExponential(n-1):t.toExponential()).indexOf("e"))<0)return null;var e,r=t.slice(0,e);return[r.length>1?r[0]+r.slice(2):r,+t.slice(e+1)]}var Ss,Cs,Ts,js,Os=function(t){return t=Es(Math.abs(t)),t?t[1]:NaN},Ps=function(t,n){return Math.max(0,3*Math.max(-8,Math.min(8,Math.floor(Os(n)/3)))-Os(Math.abs(t)))},Rs=function(t,n){return function(e,r){var i=e.length,o=[],a=0,u=t[0],s=0;while(i>0&&u>0){if(s+u+1>r&&(u=Math.max(1,r-s)),o.push(e.substring(i-=u,i+u)),(s+=u+1)>r)break;u=t[a=(a+1)%t.length]}return o.reverse().join(n)}},$s=function(t){return function(n){return n.replace(/[0-9]/g,(function(n){return t[+n]}))}},Ls=function(t){t:for(var n,e=t.length,r=1,i=-1;r0&&(i=0);break}return i>0?t.slice(0,i)+t.slice(n+1):t},Ds=function(t,n){var e=Es(t,n);if(!e)return t+"";var r=e[0],i=e[1],o=i-(Ss=3*Math.max(-8,Math.min(8,Math.floor(i/3))))+1,a=r.length;return o===a?r:o>a?r+new Array(o-a+1).join("0"):o>0?r.slice(0,o)+"."+r.slice(o):"0."+new Array(1-o).join("0")+Es(t,Math.max(0,n+o-1))[0]},zs=function(t,n){var e=Es(t,n);if(!e)return t+"";var r=e[0],i=e[1];return i<0?"0."+new Array(-i).join("0")+r:r.length>i+1?r.slice(0,i+1)+"."+r.slice(i+1):r+new Array(i-r.length+2).join("0")},qs={"%":(t,n)=>(100*t).toFixed(n),b:t=>Math.round(t).toString(2),c:t=>t+"",d:ks,e:(t,n)=>t.toExponential(n),f:(t,n)=>t.toFixed(n),g:(t,n)=>t.toPrecision(n),o:t=>Math.round(t).toString(8),p:(t,n)=>zs(100*t,n),r:zs,s:Ds,X:t=>Math.round(t).toString(16).toUpperCase(),x:t=>Math.round(t).toString(16)},Bs=function(t){return t},Is=Array.prototype.map,Xs=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"],Hs=function(t){var n=void 0===t.grouping||void 0===t.thousands?Bs:Rs(Is.call(t.grouping,Number),t.thousands+""),e=void 0===t.currency?"":t.currency[0]+"",r=void 0===t.currency?"":t.currency[1]+"",i=void 0===t.decimal?".":t.decimal+"",o=void 0===t.numerals?Bs:$s(Is.call(t.numerals,String)),a=void 0===t.percent?"%":t.percent+"",u=void 0===t.minus?"−":t.minus+"",s=void 0===t.nan?"NaN":t.nan+"";function l(t){t=Ns(t);var l=t.fill,c=t.align,h=t.sign,f=t.symbol,p=t.zero,d=t.width,v=t.comma,y=t.precision,g=t.trim,_=t.type;"n"===_?(v=!0,_="g"):qs[_]||(void 0===y&&(y=12),g=!0,_="g"),(p||"0"===l&&"="===c)&&(p=!0,l="0",c="=");var m="$"===f?e:"#"===f&&/[boxX]/.test(_)?"0"+_.toLowerCase():"",w="$"===f?r:/[%p]/.test(_)?a:"",b=qs[_],x=/[defgprs%]/.test(_);function M(t){var e,r,a,f=m,M=w;if("c"===_)M=b(t)+M,t="";else{t=+t;var N=t<0||1/t<0;if(t=isNaN(t)?s:b(Math.abs(t),y),g&&(t=Ls(t)),N&&0===+t&&"+"!==h&&(N=!1),f=(N?"("===h?h:u:"-"===h||"("===h?"":h)+f,M=("s"===_?Xs[8+Ss/3]:"")+M+(N&&"("===h?")":""),x){e=-1,r=t.length;while(++ea||a>57){M=(46===a?i+t.slice(e+1):t.slice(e))+M,t=t.slice(0,e);break}}}v&&!p&&(t=n(t,1/0));var A=f.length+t.length+M.length,k=A>1)+f+t+M+k.slice(A);break;default:t=k+f+t+M;break}return o(t)}return y=void 0===y?6:/[gprs]/.test(_)?Math.max(1,Math.min(21,y)):Math.max(0,Math.min(20,y)),M.toString=function(){return t+""},M}function c(t,n){var e=l((t=Ns(t),t.type="f",t)),r=3*Math.max(-8,Math.min(8,Math.floor(Os(n)/3))),i=Math.pow(10,-r),o=Xs[8+r/3];return function(t){return e(i*t)+o}}return{format:l,formatPrefix:c}};function Us(t){return Cs=Hs(t),Ts=Cs.format,js=Cs.formatPrefix,Cs}Us({thousands:",",grouping:[3],currency:["$",""]});var Vs=function(t,n){return t=Math.abs(t),n=Math.abs(n)-t,Math.max(0,Os(n)-Os(t))+1},Fs=function(t){return Math.max(0,-Os(Math.abs(t)))};function Ys(t,n,e,r){var i,o=es(t,n,e);switch(r=Ns(null==r?",f":r),r.type){case"s":var a=Math.max(Math.abs(t),Math.abs(n));return null!=r.precision||isNaN(i=Ps(o,a))||(r.precision=i),js(r,a);case"":case"e":case"g":case"p":case"r":null!=r.precision||isNaN(i=Vs(o,Math.max(Math.abs(t),Math.abs(n))))||(r.precision=i-("e"===r.type));break;case"f":case"%":null!=r.precision||isNaN(i=Fs(o))||(r.precision=i-2*("%"===r.type));break}return Ts(r)}function Ks(t){var n=t.domain;return t.ticks=function(t){var e=n();return ts(e[0],e[e.length-1],null==t?10:t)},t.tickFormat=function(t,e){var r=n();return Ys(r[0],r[r.length-1],null==t?10:t,e)},t.nice=function(e){null==e&&(e=10);var r,i,o=n(),a=0,u=o.length-1,s=o[a],l=o[u],c=10;l0){if(i=ns(s,l,e),i===r)return o[a]=s,o[u]=l,n(o);if(i>0)s=Math.floor(s/i)*i,l=Math.ceil(l/i)*i;else{if(!(i<0))break;s=Math.ceil(s*i)/i,l=Math.floor(l*i)/i}r=i}return t},t}function Js(){var t=bs();return t.copy=function(){return ms(t,Js())},xs.apply(t,arguments),Ks(t)}const Qs=Symbol("implicit");function Zs(){var t=new Map,n=[],e=[],r=Qs;function i(i){var o=i+"",a=t.get(o);if(!a){if(r!==Qs)return r;t.set(o,a=n.push(i))}return e[(a-1)%e.length]}return i.domain=function(e){if(!arguments.length)return n.slice();n=[],t=new Map;for(const r of e){const e=r+"";t.has(e)||t.set(e,n.push(r))}return i},i.range=function(t){return arguments.length?(e=Array.from(t),i):e.slice()},i.unknown=function(t){return arguments.length?(r=t,i):r},i.copy=function(){return Zs(n,e).unknown(r)},xs.apply(i,arguments),i}function Gs(t){var n=0,e=t.children,r=e&&e.length;if(r)while(--r>=0)n+=e[r].value;else n=1;t.value=n}var Ws=function(){return this.eachAfter(Gs)},tl=function(t,n){let e=-1;for(const r of this)t.call(n,r,++e,this);return this},nl=function(t,n){var e,r,i=this,o=[i],a=-1;while(i=o.pop())if(t.call(n,i,++a,this),e=i.children)for(r=e.length-1;r>=0;--r)o.push(e[r]);return this},el=function(t,n){var e,r,i,o=this,a=[o],u=[],s=-1;while(o=a.pop())if(u.push(o),e=o.children)for(r=0,i=e.length;r=0)e+=r[i].value;n.value=e}))},ol=function(t){return this.eachBefore((function(n){n.children&&n.children.sort(t)}))},al=function(t){var n=this,e=ul(n,t),r=[n];while(n!==e)n=n.parent,r.push(n);var i=r.length;while(t!==e)r.splice(i,0,t),t=t.parent;return r};function ul(t,n){if(t===n)return t;var e=t.ancestors(),r=n.ancestors(),i=null;t=e.pop(),n=r.pop();while(t===n)i=t,t=e.pop(),n=r.pop();return i}var sl=function(){var t=this,n=[t];while(t=t.parent)n.push(t);return n},ll=function(){return Array.from(this)},cl=function(){var t=[];return this.eachBefore((function(n){n.children||t.push(n)})),t},hl=function(){var t=this,n=[];return t.each((function(e){e!==t&&n.push({source:e.parent,target:e})})),n},fl=function*(){var t,n,e,r,i=this,o=[i];do{t=o.reverse(),o=[];while(i=t.pop())if(yield i,n=i.children)for(e=0,r=n.length;e=0;--o)s.push(r=i[o]=new ml(i[o])),r.parent=e,r.depth=e.depth+1;return u.eachBefore(_l)}function dl(){return pl(this).eachBefore(gl)}function vl(t){return t.children}function yl(t){return Array.isArray(t)?t[1]:null}function gl(t){void 0!==t.data.value&&(t.value=t.data.value),t.data=t.data.data}function _l(t){var n=0;do{t.height=n}while((t=t.parent)&&t.height<++n)}function ml(t){this.data=t,this.depth=this.height=0,this.parent=null}ml.prototype=pl.prototype={constructor:ml,count:Ws,each:tl,eachAfter:el,eachBefore:nl,find:rl,sum:il,sort:ol,path:al,ancestors:sl,descendants:ll,leaves:cl,links:hl,copy:dl,[Symbol.iterator]:fl};var wl=function(t){t.x0=Math.round(t.x0),t.y0=Math.round(t.y0),t.x1=Math.round(t.x1),t.y1=Math.round(t.y1)},bl=function(t,n,e,r,i){var o,a=t.children,u=-1,s=a.length,l=t.value&&(r-n)/t.value;while(++uf&&(f=u),y=c*c*v,p=Math.max(f/y,y/h),p>d){c-=u;break}d=p}g.push(a={value:c,dice:s1?n:1)},e}(Ml);function kl(t){if("function"!==typeof t)throw new Error;return t}function El(){return 0}var Sl=function(t){return function(){return t}},Cl=function(){var t=Al,n=!1,e=1,r=1,i=[0],o=El,a=El,u=El,s=El,l=El;function c(t){return t.x0=t.y0=0,t.x1=e,t.y1=r,t.eachBefore(h),i=[0],n&&t.eachBefore(wl),t}function h(n){var e=i[n.depth],r=n.x0+e,c=n.y0+e,h=n.x1-e,f=n.y1-e;hNO DATA
'},initialize(){let t=this;t.jsonData&&(t.rootNode=Tl.hierarchy(t.jsonData).eachBefore((function(t){t.id=(t.parent?t.parent.id+" \tᐳ ":"")+t.data.name})).sum(t=>t.value).sort((function(t,n){return n.height-t.height||n.value-t.value})),t.rootNode.x=t.rootNode.y=0,t.rootNode.x1=t.width,t.rootNode.y1=t.height,t.rootNode.depth=0)},accumulate(t,n){return t._children=t.children,t._children?(t.value=t._children.reduce((function(t,e){return t+n.accumulate(e,n)}),0),t.value):t.value},getNodeById(t,n,e){if(t.id===n)return t;if(t._children)for(var r=0;r{n.data?(this.noData=!1,this.$refs.chart.style.display="block",t.jsonData=n.data,t.initialize(),t.accumulate(t.rootNode,t),t.treemap(t.rootNode)):(this.$refs.chart.style.display="none",this.noData=!0)})}}},Ol=jl;function Pl(t){var n=e("6cba");n.__inject__&&n.__inject__(t)}var Rl=N(Ol,A,k,!1,Pl,"757f4b7a",null,!0),$l=Rl.exports;window.customElements.define("treemap-chart",M(u.a,$l))},f98f:function(t,n,e){"use strict";function r(t,n){var e=t[1]||"",r=t[3];if(!r)return e;if(n&&"function"===typeof btoa){var o=i(r),a=r.sources.map((function(t){return"/*# sourceURL=".concat(r.sourceRoot||"").concat(t," */")}));return[e].concat(a).concat([o]).join("\n")}return[e].join("\n")}function i(t){var n=btoa(unescape(encodeURIComponent(JSON.stringify(t)))),e="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(n);return"/*# ".concat(e," */")}t.exports=function(t){var n=[];return n.toString=function(){return this.map((function(n){var e=r(n,t);return n[2]?"@media ".concat(n[2]," {").concat(e,"}"):e})).join("")},n.i=function(t,e,r){"string"===typeof t&&(t=[[null,t,""]]);var i={};if(r)for(var o=0;o