}).on("mouseover",function(a){hg.select(this).classed(g.legendItemFocused,!0),Kj||ig.focus(a),"function"==typeofRh&&Rh(a)}).on("mouseout",function(a){hg.select(this).classed(g.legendItemFocused,!1),Kj||ig.revert(),"function"==typeofSh&&Sh(a)}),m.append("text").text(function(a){returnd(mh[a])?mh[a]:a}).each(function(a,b){e(this,a,0===b)}).style("pointer-events","none").attr("x",Yj?h:-200).attr("y",Yj?-200:k),m.append("rect").attr("class",g.legendItemEvent).style("fill-opacity",0).attr("x",Yj?i:-200).attr("y",Yj?-200:l),m.append("rect").attr("class",g.legendItemTile).style("pointer-events","none").style("fill",Mj).attr("x",Yj?h:-200).attr("y",Yj?-200:j).attr("width",10).attr("height",10),r=kk.selectAll("text").data(a).text(function(a){returnd(mh[a])?mh[a]:a}).each(function(a,b){e(this,a,0===b)}),(n?r.transition():r).attr("x",h).attr("y",k),s=kk.selectAll("rect."+g.legendItemEvent).data(a),(n?s.transition():s).attr("width",function(a){returnB[a]}).attr("height",function(a){returnC[a]}).attr("x",i).attr("y",l),t=kk.selectAll("rect."+g.legendItemTile).data(a),(n?t.transition():t).style("fill",Mj).attr("x",f).attr("y",j),kk.selectAll("."+g.legendItem).classed(g.legendItemHidden,function(a){return!Sc(a)}).transition().style("opacity",function(a){varb=hg.select(this);returnSc(a)?!G||b.classed(g.legendItemFocused)?Yf(b):Zf(b):ak}),S(w),T(x),R(F),p(),W(),Rf(),o(q,c)}functiondg(a){returnRc(ig.data.targets,a.id)}functioneg(a){return"data"ina&&Rc(ig.data.targets,a.data.id)}functionfg(a){varb=a&&a.value?a.value:null,c=a&&a["class"]?a["class"]:null;returnb?function(a){returna.value!==b}:c?function(a){returna["class"]!==c}:function(){return!0}}functiongg(a,b,c){vard=!ve(ig.data.targets);Kj=!1,oe(a,b),Tf(c||{withTransitionForAxis:d})}varhg=a.d3?a.d3:"undefined"!=typeofrequire?require("d3"):void0,ig={data:{},axis:{},legend:{}},jg={},kg=i(["bindto"],"#chart"),lg=i(["size","width"]),mg=i(["size","height"]),ng=i(["padding","left"]),og=i(["padding","right"]),pg=i(["padding","top"]),qg=i(["padding","bottom"]),rg=i(["zoom","enabled"],!1),sg=i(["zoom","extent"]),tg=i(["zoom","privileged"],!1),ug=i(["interaction","enabled"],!0),vg=i(["onenter"],function(){}),wg=i(["onleave"],function(){}),xg=i(["onresize"],function(){}),yg=i(["onresized"],function(){}),zg=i(["transition","duration"],350);h("data","data is required in config");varAg,Bg,Cg,Dg,Eg,Fg,Gg,Hg,Ig,Jg,Kg,Lg,Mg,Ng,Og,Pg,Qg,Rg,Sg,Tg,Ug,Vg,Wg,Xg,Yg,Zg,$g,_g,ah,bh,ch,dh,eh,fh,gh,hh,ih=i(["data","x"]),jh=i(["data","xs"],{}),kh=i(["data","x_format"]),lh=i(["data","id_converter"],function(a){returna}),mh=i(["data","names"],{}),nh=i(["data","classes"],{}),oh=i(["data","groups"],[]),ph=i(["data","axes"],{}),qh=i(["data","type"]),rh=i(["data","types"],{}),sh=i(["data","labels"],{}),th=i(["data","order"]),uh=i(["data","regions"],{}),vh=i(["data","color"]),wh=i(["data","colors"],{}),xh=i(["data","hide"],!1),yh=i(["data","filter"]),zh=i(["data","selection","enabled"],!1),Ah=i(["data","selection","grouped"],!1),Bh=i(["data","selection","isselectable"],function(){return!0}),Ch=i(["data","selection","multiple"],!0),Dh=i(["data","onclick"],function(){}),Eh=i(["data","onenter"],function(){}),Fh=i(["data","onleave"],function(){}),Gh=i(["data","onselected"],function(){}),Hh=i(["data","onunselected"],function(){}),Ih=i(["data","ondragstart"],function(){}),Jh=i(["data","ondragend"],function(){}),Kh=i(["subchart","show"],!1),Lh=i(["subchart","size","height"],60),Mh=i(["color","pattern"],[]),Nh=i(["color","threshold"],{}),Oh=i(["legend","show"],!0),Ph=i(["legend","position"],"bottom"),Qh=i(["legend","item","onclick"]),Rh=i(["legend","item","onmouseover"]),Sh=i(["legend","item","onmouseout"]),Th=i(["legend","equally"],!1),Uh=i(["axis","rotated"],!1),Vh=i(["axis","x","show"],!0),Wh=i(["axis","x","type"],"indexed"),Xh=i(["axis","x","localtime"],!0),Yh=i(["axis","x","categories"],[]),Zh=i(["axis","x","tick","centered"],!1),$h=i(["axis","x","tick","format"]),_h=i(["axis","x","tick","culling"],{}),ai=i(["axis","x","tick","culling","max"],10),bi=i(["axis","x","tick","count"]),ci=i(["axis","x","t