}).on("mouseover",function(a){gg.select(this).classed(g.legendItemFocused,!0),Jj||hg.focus(a),"function"==typeofQh&&Qh(a)}).on("mouseout",function(a){gg.select(this).classed(g.legendItemFocused,!1),Jj||hg.revert(),"function"==typeofRh&&Rh(a)}),m.append("text").text(function(a){returnd(lh[a])?lh[a]:a}).each(function(a,b){e(this,a,0===b)}).style("pointer-events","none").attr("x",Xj?h:-200).attr("y",Xj?-200:k),m.append("rect").attr("class",g.legendItemEvent).style("fill-opacity",0).attr("x",Xj?i:-200).attr("y",Xj?-200:l),m.append("rect").attr("class",g.legendItemTile).style("pointer-events","none").style("fill",Lj).attr("x",Xj?h:-200).attr("y",Xj?-200:j).attr("width",10).attr("height",10),r=jk.selectAll("text").data(a).text(function(a){returnd(lh[a])?lh[a]:a}).each(function(a,b){e(this,a,0===b)}),(n?r.transition():r).attr("x",h).attr("y",k),s=jk.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=jk.selectAll("rect."+g.legendItemTile).data(a),(n?t.transition():t).style("fill",Lj).attr("x",f).attr("y",j),jk.selectAll("."+g.legendItem).classed(g.legendItemHidden,function(a){return!Rc(a)}).transition().style("opacity",function(a){varb=gg.select(this);returnRc(a)?!G||b.classed(g.legendItemFocused)?Xf(b):Yf(b):_j}),S(w),T(x),R(F),p(),W(),Qf(),o(q,c)}functioncg(a){returnQc(hg.data.targets,a.id)}functiondg(a){return"data"ina&&Qc(hg.data.targets,a.data.id)}functioneg(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}}functionfg(a,b,c){vard=!ue(hg.data.targets);Jj=!1,ne(a,b),Sf(c||{withTransitionForAxis:d})}vargg=a.d3?a.d3:"undefined"!=typeofrequire?require("d3"):void0,hg={data:{},axis:{},legend:{}},ig={},jg=i(["bindto"],"#chart"),kg=i(["size","width"]),lg=i(["size","height"]),mg=i(["padding","left"]),ng=i(["padding","right"]),og=i(["padding","top"]),pg=i(["padding","bottom"]),qg=i(["zoom","enabled"],!1),rg=i(["zoom","extent"]),sg=i(["zoom","privileged"],!1),tg=i(["interaction","enabled"],!0),ug=i(["onenter"],function(){}),vg=i(["onleave"],function(){}),wg=i(["onresize"],function(){}),xg=i(["onresized"],function(){}),yg=i(["transition","duration"],350);h("data","data is required in config");varzg,Ag,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=i(["data","x"]),ih=i(["data","xs"],{}),jh=i(["data","x_format"]),kh=i(["data","id_converter"],function(a){returna}),lh=i(["data","names"],{}),mh=i(["data","classes"],{}),nh=i(["data","groups"],[]),oh=i(["data","axes"],{}),ph=i(["data","type"]),qh=i(["data","types"],{}),rh=i(["data","labels"],{}),sh=i(["data","order"]),th=i(["data","regions"],{}),uh=i(["data","color"]),vh=i(["data","colors"],{}),wh=i(["data","hide"],!1),xh=i(["data","filter"]),yh=i(["data","selection","enabled"],!1),zh=i(["data","selection","grouped"],!1),Ah=i(["data","selection","isselectable"],function(){return!0}),Bh=i(["data","selection","multiple"],!0),Ch=i(["data","onclick"],function(){}),Dh=i(["data","onenter"],function(){}),Eh=i(["data","onleave"],function(){}),Fh=i(["data","onselected"],function(){}),Gh=i(["data","onunselected"],function(){}),Hh=i(["data","ondragstart"],function(){}),Ih=i(["data","ondragend"],function(){}),Jh=i(["subchart","show"],!1),Kh=i(["subchart","size","height"],60),Lh=i(["color","pattern"],[]),Mh=i(["color","threshold"],{}),Nh=i(["legend","show"],!0),Oh=i(["legend","position"],"bottom"),Ph=i(["legend","item","onclick"]),Qh=i(["legend","item","onmouseover"]),Rh=i(["legend","item","onmouseout"]),Sh=i(["legend","equally"],!1),Th=i(["axis","rotated"],!1),Uh=i(["axis","x","show"],!0),Vh=i(["axis","x","type"],"indexed"),Wh=i(["axis","x","localtime"],!0),Xh=i(["axis","x","categories"],[]),Yh=i(["axis","x","tick","centered"],!1),Zh=i(["axis","x","tick","format"]),$h=i(["axis","x","tick","culling"],{}),_h=i(["axis","x","tick","culling","max"],10),ai=i(["axis","x","tick","count"]),bi=i(["axis","x","t