1"use strict";(self.webpackChunktwilio_foundation_frontend=self.webpackChunktwilio_foundation_frontend||[]).push([[2474],{72474:function(e,t,n){n.d(t,{a:function(){return U}});var i=n(90116),o=n(35952),r=n(16391),l=n(33299),a=n(73117),s=n(10026),c=n(98744),d=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n.layoutMode={type:"box",ignoreSize:!0},n}return(0,o.C6)(t,e),t.prototype.init=function(e,t,n){this.mergeDefaultAndTheme(e,n),e.selected=e.selected||{},this._updateSelector(e)},t.prototype.mergeOption=function(t,n){e.prototype.mergeOption.call(this,t,n),this._updateSelector(t)},t.prototype._updateSelector=function(e){var t=e.selector,n=this.ecModel;!0===t&&(t=e.selector=["all","inverse"]),r.cy(t)&&r.__(t,function(e,i){r.Kg(e)&&(e={type:e}),t[i]=r.h1(e,function(e,t){return"all"===t?{type:"all",title:e.getLocaleModel().get(["legend","selector","all"])}:"inverse"===t?{type:"inverse",title:e.getLocaleModel().get(["legend","selector","inverse"])}:void 0}(n,e.type))})},t.prototype.optionUpdated=function(){this._updateData(this.ecModel);var e=this._data;if(e[0]&&"single"===this.get("selectedMode")){for(var t=!1,n=0;n<e.length;n++){var i=e[n].get("name");if(this.isSelected(i)){this.select(i),t=!0;break}}!t&&this.select(e[0].get("name"))}},t.prototype._updateData=function(e){var t=[],n=[];e.eachRawSeries(function(i){var o,r=i.name;if(n.push(r),i.legendVisualProvider){var l=i.legendVisualProvider.getAllNames();e.isSeriesFiltered(i)||(n=n.concat(l)),l.length?t=t.concat(l):o=!0}else o=!0;o&&(0,a.O0)(i)&&t.push(i.name)}),this._availableNames=n;var i=this.get("data")||t,o=r.nt(),s=r.Tj(i,function(e){return(r.Kg(e)||r.Et(e))&&(e={name:e}),o.get(e.name)?null:(o.set(e.name,!0),new l.A(e,this,this.ecModel))},this);this._data=r.pb(s,function(e){return!!e})},t.prototype.getData=function(){return this._data},t.prototype.select=function(e){var t=this.option.selected;if("single"===this.get("selectedMode")){var n=this._data;r.__(n,function(e){t[e.get("name")]=!1})}t[e]=!0},t.prototype.unSelect=function(e){"single"!==this.get("selectedMode")&&(this.option.selected[e]=!1)},t.prototype.toggleSelected=function(e){var t=this.option.selected;t.hasOwnProperty(e)||(t[e]=!0),this[t[e]?"unSelect":"select"](e)},t.prototype.allSelect=function(){var e=this._data,t=this.option.selected;r.__(e,function(e){t[e.get("name",!0)]=!0})},t.prototype.inverseSelect=function(){var e=this._data,t=this.option.selected;r.__(e,function(e){var n=e.get("name",!0);t.hasOwnProperty(n)||(t[n]=!0),t[n]=!t[n]})},t.prototype.isSelected=function(e){var t=this.option.selected;return!(t.hasOwnProperty(e)&&!t[e])&&r.qh(this._availableNames,e)>=0},t.prototype.getOrient=function(){return"vertical"===this.get("orient")?{index:1,name:"vertical"}:{index:0,name:"horizontal"}},t.type="legend.plain",t.dependencies=["series"],t.defaultOption={z:4,show:!0,orient:"horizontal",left:"center",bottom:c.A.size.m,align:"auto",backgroundColor:c.A.color.transparent,borderColor:c.A.color.border,borderRadius:0,borderWidth:0,padding:5,itemGap:8,itemWidth:25,itemHeight:14,symbolRotate:"inherit",symbolKeepAspect:!0,inactiveColor:c.A.color.disabled,inactiveBorderColor:c.A.color.disabled,inactiveBorderWidth:"auto",itemStyle:{color:"inherit",opacity:"inherit",borderColor:"inherit",borderWidth:"auto",borderCap:"inherit",borderJoin:"inherit",borderDashOffset:"inherit",borderMiterLimit:"inherit"},lineStyle:{width:"auto",color:"inherit",inactiveColor:c.A.color.disabled,inactiveWidth:2,opacity:"inherit",type:"inherit",cap:"inherit",join:"inherit",dashOffset:"inherit",miter
1Limit:"inherit"},textStyle:{color:c.A.color.secondary},selectedMode:!0,selector:!1,selectorLabel:{show:!0,borderRadius:10,padding:[3,5,3,5],fontSize:12,fontFamily:"sans-serif",color:c.A.color.tertiary,borderWidth:1,borderColor:c.A.color.border},emphasis:{selectorLabel:{show:!0,color:c.A.color.quaternary}},selectorPosition:"auto",selectorItemGap:7,selectorButtonGap:10,tooltip:{show:!1},triggerEvent:!1},t}(s.A),p=d,g=n(32013),u=n(34803),h=n(27713),y=n(80439),f=n(67793),v=n(67460),m=n(52631),x=n(75621),I=n(25292),_=n(14422),S=n(75218),C=n(21797),w=n(42031),A=r.cF,b=r.__,G=u.A,P=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n.newlineDisabled=!1,n}return(0,o.C6)(t,e),t.prototype.init=function(){this.group.add(this._contentGroup=new G),this.group.add(this._selectorGroup=new G),this._isFirstRender=!0},t.prototype.getContentGroup=function(){return this._contentGroup},t.prototype.getSelectorGroup=function(){return this._selectorGroup},t.prototype.render=function(e,t,n){var i=this._isFirstRender;if(this._isFirstRender=!1,this.resetInner(),e.get("show",!0)){var o=e.get("align"),l=e.get("orient");o&&"auto"!==o||(o="right"===e.get("left")&&"vertical"===l?"right":"left");var a=e.get("selector",!0),s=e.get("selectorPosition",!0);!a||s&&"auto"!==s||(s="horizontal"===l?"end":"start"),this.renderInner(o,e,t,n,a,l,s);var c=I.Lj(e,n).refContainer,d=e.getBoxLayoutParams(),p=e.get("padding"),g=I.dV(d,c,p),u=this.layoutInner(e,o,g,i,a,s),h=I.dV(r.NT({width:u.width,height:u.height},d),c,p);this.group.x=h.x-u.x,this.group.y=h.y-u.y,this.group.markRedraw(),this.group.add(this._backgroundEl=function(e,t){var n=x.QX(t.get("padding")),i=t.getItemStyle(["color","opacity"]);return i.fill=t.get("backgroundColor"),new y.A({shape:{x:e.x-n[3],y:e.y-n[0],width:e.width+n[1]+n[3],height:e.height+n[0]+n[2],r:t.get("borderRadius")},style:i,silent:!0,z2:-1})}(u,e))}},t.prototype.resetInner=function(){this.getContentGroup().removeAll(),this._backgroundEl&&this.group.remove(this._backgroundEl),this.getSelectorGroup().removeAll()},t.prototype.renderInner=function(e,t,n,i,o,l,a){var s=this.getContentGroup(),c=r.nt(),d=t.get("selectedMode"),p=t.get("triggerEvent"),u=[];n.eachRawSeries(function(e){!e.get("legendHoverLink")&&u.push(e.id)}),b(t.getData(),function(o,l){var a=this,h=o.get("name");if(!this.newlineDisabled&&(""===h||"\n"===h)){var y=new G;return y.newline=!0,void s.add(y)}var f=n.getSeriesByName(h)[0];if(!c.get(h))if(f){var v=f.getData(),m=v.getVisual("legendLineStyle")||{},x=v.getVisual("legendIcon"),I=v.getVisual("style"),_=this._createItem(f,h,l,o,t,e,m,I,x,d,i);_.on("click",A(D,h,null,i,u)).on("mouseover",A(M,f.name,null,i,u)).on("mouseout",A(k,f.name,null,i,u)),n.ssr&&_.eachChild(function(e){var t=(0,w.z)(e);t.seriesIndex=f.seriesIndex,t.dataIndex=l,t.ssrType="legend"}),p&&_.eachChild(function(e){a.packEventData(e,t,f,l,h)}),c.set(h,!0)}else n.eachRawSeries(function(a){var s=this;if(!c.get(h)&&a.legendVisualProvider){var y=a.legendVisualProvider;if(!y.containName(h))return;var f=y.indexOfName(h),v=y.getItemVisual(f,"style"),m=y.getItemVisual(f,"legendIcon"),x=(0,g.qg)(v.fill);x&&0===x[3]&&(x[3]=.2,v=r.X$(r.X$({},v),{fill:(0,g.As)(x,"rgba")}));var I=this._createItem(a,h,l,o,t,e,{},v,m,d,i);I.on("click",A(D,null,h,i,u)).on("mouseover",A(M,null,h,i,u)).on("mouseout",A(k,null,h,i,u)),n.ssr&&I.eachChild(function(e){var t=(0,w.z)(e);t.seriesIndex=a.seriesIndex,t.dataIndex=l,t.ssrType="legend"}),p&&I.eachChild(function(e){s.packEventData(e,t,a,l,h)}),c.set(h,!0)}},this)},this),o&&this._createSelector(o,t,i,l,a)},t.prototype.packEventData=function(e,t,n,i,o){var r={componentType:"legend",componentIndex:t.componentIndex,dataIndex:i,value:o,seriesIndex:n.seriesIndex};(0,w.z)(e).eventData=r},t.prototype._createSelector=function(e,t,n,i,o){var r=this.getSelectorGroup();b(e,function(e){var i=e.type,o=new h.Ay({style:{x:0,y:0,align:"center",verticalAlign:"middle"},onclick:function(){n.dispatchAction({type:"all"===i?"legendAllSelect":"legendInverseSelect",legendId:t.id})}});r.add(o);var l=t.getModel("selectorLabel"),a=t.getModel(["emphasis","selectorLabel"]);(0,m.qM)(o,{normal:l,emphasis:a},{defaultText:e.title}),(0,v.iJ)(o)})},t.prototype._createItem=function(e,t,n,i,o,l,a,s,d,p,g){var u,x,I,_=e.visualDrawType,w=o.get("itemWidth"),A=o.get("itemHeight"),P=o.isSelected(t),D=i.get("symbolRotate"),R=i.get("symbolKeepAspect"),M=i.get("icon"),k=function(e,t,n,i,o,r,l){function a(e,t){"auto"===e.lineWidth&&(e.lineWidth=t.lineWidth>0?2:0),b(e,function(n,i){"inherit"===e[i]&&(e[i]=t[i])})}var s=t.getModel("itemStyle"),c=s.getItemStyle(),d=0===e.lastIndexOf("empty",0)?"fill":"stroke",p=s.get
1Shallow("decal");c.decal=p&&"inherit"!==p?(0,C.w)(p,l):i.decal,"inherit"===c.fill&&(c.fill=i[o]),"inherit"===c.stroke&&(c.stroke=i[d]),"inherit"===c.opacity&&(c.opacity=("fill"===o?i:n).opacity),a(c,i);var g=t.getModel("lineStyle"),u=g.getLineStyle();if(a(u,n),"auto"===c.fill&&(c.fill=i.fill),"auto"===c.stroke&&(c.stroke=i.fill),"auto"===u.stroke&&(u.stroke=i.fill),!r){var h=t.get("inactiveBorderWidth"),y=c[d];c.lineWidth="auto"===h?i.lineWidth>0&&y?2:0:c.lineWidth,c.fill=t.get("inactiveColor"),c.stroke=t.get("inactiveBorderColor"),u.stroke=g.get("inactiveColor"),u.lineWidth=g.get("inactiveWidth")}return{itemStyle:c,lineStyle:u}}(d=M||d||"roundRect",i,a,s,_,P,g),O=new G,T=i.getModel("textStyle");if(!r.Tn(e.getLegendIcon)||M&&"inherit"!==M){var z="inherit"===M&&e.getData().getVisual("symbol")?"inherit"===D?e.getData().getVisual("symbolRotate"):D:0;O.add((u={itemWidth:w,itemHeight:A,icon:d,iconRotate:z,itemStyle:k.itemStyle,lineStyle:k.lineStyle,symbolKeepAspect:R},x=u.icon||"roundRect",(I=(0,S.v5)(x,0,0,u.itemWidth,u.itemHeight,u.itemStyle.fill,u.symbolKeepAspect)).setStyle(u.itemStyle),I.rotation=(u.iconRotate||0)*Math.PI/180,I.setOrigin([u.itemWidth/2,u.itemHeight/2]),x.indexOf("empty")>-1&&(I.style.stroke=I.style.fill,I.style.fill=c.A.color.neutral00,I.style.lineWidth=2),I))}else O.add(e.getLegendIcon({itemWidth:w,itemHeight:A,icon:d,iconRotate:D,itemStyle:k.itemStyle,lineStyle:k.lineStyle,symbolKeepAspect:R}));var L="left"===l?w+5:-5,B=l,W=o.get("formatter"),V=t;r.Kg(W)&&W?V=W.replace("{name}",null!=t?t:""):r.Tn(W)&&(V=W(t));var N=P?T.getTextColor():i.get("inactiveColor");O.add(new h.Ay({style:(0,m.VB)(T,{text:V,x:L,y:A/2,fill:N,align:B,verticalAlign:"middle"},{inheritColor:N})}));var F=new y.A({shape:O.getBoundingRect(),style:{fill:"transparent"}}),E=i.getModel("tooltip");return E.get("show")&&f.setTooltipConfig({el:F,componentModel:o,itemName:t,itemTooltipOption:E.option}),O.add(F),O.eachChild(function(e){e.silent=!0}),F.silent=!p,this.getContentGroup().add(O),(0,v.iJ)(O),O.__legendDataIndex=n,O},t.prototype.layoutInner=function(e,t,n,i,o,r){var l=this.getContentGroup(),a=this.getSelectorGroup();I.aP(e.get("orient"),l,e.get("itemGap"),n.width,n.height);var s=l.getBoundingRect(),c=[-s.x,-s.y];if(a.markRedraw(),l.markRedraw(),o){I.aP("horizontal",a,e.get("selectorItemGap",!0));var d=a.getBoundingRect(),p=[-d.x,-d.y],g=e.get("selectorButtonGap",!0),u=e.getOrient().index,h=0===u?"width":"height",y=0===u?"height":"width",f=0===u?"y":"x";"end"===r?p[u]+=s[h]+g:c[u]+=d[h]+g,p[1-u]+=s[y]/2-d[y]/2,a.x=p[0],a.y=p[1],l.x=c[0],l.y=c[1];var v={x:0,y:0};return v[h]=s[h]+g+d[h],v[y]=Math.max(s[y],d[y]),v[f]=Math.min(0,d[f]+p[1-u]),v}return l.x=c[0],l.y=c[1],this.group.getBoundingRect()},t.prototype.remove=function(){this.getContentGroup().removeAll(),this._isFirstRender=!0},t.type="legend.plain",t}(_.A);function D(e,t,n,i){k(e,t,n,i),n.dispatchAction({type:"legendToggleSelect",name:null!=e?e:t}),M(e,t,n,i)}function R(e){for(var t,n=e.getZr().storage.getDisplayList(),i=0,o=n.length;i<o&&!(t=n[i].states.emphasis);)i++;return t&&t.hoverLayer}function M(e,t,n,i){R(n)||n.dispatchAction({type:"highlight",seriesName:e,name:t,excludeSeriesId:i})}function k(e,t,n,i){R(n)||n.dispatchAction({type:"downplay",seriesName:e,name:t,excludeSeriesId:i})}var O=P;function T(e){var t=e.findComponents({mainType:"legend"});t&&t.length&&e.filterSeries(function(e){for(var n=0;n<t.length;n++)if(!t[n].isSelected(e.name))return!1;return!0})}function z(e,t,n){var i="allSelect"===e||"inverseSelect"===e,o={},l=[];n.eachComponent({mainType:"legend",query:t},function(n){i?n[e]():n[e](t.name),L(n,o),l.push(n.componentIndex)});var a={};return n.eachComponent("legend",function(e){(0,r.__)(o,function(t,n){e[t?"select":"unSelect"](n)}),L(e,a)}),i?{selected:a,legendIndex:l}:{name:t.name,selected:a}}function L(e,t){var n=t||{};return(0,r.__)(e.getData(),function(t){var i=t.get("name");if("\n"!==i&&""!==i){var o=e.isSelected(i);(0,r.$3)(n,i)?n[i]=n[i]&&o:n[i]=o}}),n}function B(e){e.registerComponentModel(p),e.registerComponentView(O),e.registerProcessor(e.PRIORITY.PROCESSOR.SERIES_FILTER,T),e.registerSubTypeDefaulter("legend",function(){return"plain"}),function(e){e.registerAction("legendToggleSelect","legendselectchanged",(0,r.cF)(z,"toggleSelected")),e.registerAction("legendAllSelect","legendselectall",(0,r.cF)(z,"allSelect")),e.registerAction("legendInverseSelect","legendinverseselect",(0,r.cF)(z,"inverseSelect")),e.registerAction("legendSelect","legendselected",(0,r.cF)(z,"select")),e.registerAction("legendUnSelect","legendunselected",(0,r.cF)(z,"unSelect"))}(e)}var W=n(24159),V=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n}return(0,o.C6)(t,e),t.prototype.setScrollDataIndex=function(e){this.option.scrollDataIndex=e},t.prototype.init=function(t,n,i){var o=(0,I.vs)(t);e.prototype.init.call(this,t,n,i),N(this,t,o)},t.prototype.mergeOption=function(t,n){e.prototype.mergeOption.call(this,t,n),N(this,this.option,t)},t.type="legend.scroll",t.defaultOption=(0,W.G_)(p.defaultOption,{scrollDataIndex:0,pageButtonItemGap:5,pageButtonGap:null,pageButtonPosition:"end",pageFormatter:"{current}/{total}",pageIcons:{horizontal:["M0,0L12,-10L12,10z","M0,0L-12,-10L-12,10z"],vertical:["M0,0L20,0L10,-20z","M0,0L20,0L10,20z"]},pageIconColor:c.A.color.accent50,pageIconInactiveColor:c.A.color.accent10,pageIconSize:15,pageTextStyle:{color:c.A.color.tert
1iary},animationDurationUpdate:800}),t}(p);function N(e,t,n){var i=[1,1];i[e.getOrient().index]=0,(0,I.YA)(t,n,{type:"box",ignoreSize:!!i})}var F=V,E=n(44327),K=u.A,H=["width","height"],q=["x","y"],Y=function(e){function t(){var n=null!==e&&e.apply(this,arguments)||this;return n.type=t.type,n.newlineDisabled=!0,n._currentIndex=0,n}return(0,o.C6)(t,e),t.prototype.init=function(){e.prototype.init.call(this),this.group.add(this._containerGroup=new K),this._containerGroup.add(this.getContentGroup()),this.group.add(this._controllerGroup=new K)},t.prototype.resetInner=function(){e.prototype.resetInner.call(this),this._controllerGroup.removeAll(),this._containerGroup.removeClipPath(),this._containerGroup.__rectSize=null},t.prototype.renderInner=function(t,n,i,o,l,a,s){var c=this;e.prototype.renderInner.call(this,t,n,i,o,l,a,s);var d=this._controllerGroup,p=n.get("pageIconSize",!0),g=r.cy(p)?p:[p,p];y("pagePrev",0);var u=n.getModel("pageTextStyle");function y(e,t){var i=e+"DataIndex",l=f.createIcon(n.get("pageIcons",!0)[n.getOrient().name][t],{onclick:r.oI(c._pageGo,c,i,n,o)},{x:-g[0]/2,y:-g[1]/2,width:g[0],height:g[1]});l.name=e,d.add(l)}d.add(new h.Ay({name:"pageText",style:{text:"xx/xx",fill:u.getTextColor(),font:u.getFont(),verticalAlign:"middle",align:"center"},silent:!0})),y("pageNext",1)},t.prototype.layoutInner=function(e,t,n,i,o,l){var a=this.getSelectorGroup(),s=e.getOrient().index,c=H[s],d=q[s],p=H[1-s],g=q[1-s];o&&I.aP("horizontal",a,e.get("selectorItemGap",!0));var u=e.get("selectorButtonGap",!0),h=a.getBoundingRect(),y=[-h.x,-h.y],f=r.o8(n);o&&(f[c]=n[c]-h[c]-u);var v=this._layoutContentAndController(e,i,f,s,c,p,g,d);if(o){if("end"===l)y[s]+=v[c]+u;else{var m=h[c]+u;y[s]-=m,v[d]-=m}v[c]+=h[c]+u,y[1-s]+=v[g]+v[p]/2-h[p]/2,v[p]=Math.max(v[p],h[p]),v[g]=Math.min(v[g],h[g]+y[1-s]),a.x=y[0],a.y=y[1],a.markRedraw()}return v},t.prototype._layoutContentAndController=function(e,t,n,i,o,l,a,s){var c=this.getContentGroup(),d=this._containerGroup,p=this._controllerGroup;I.aP(e.get("orient"),c,e.get("itemGap"),i?n.width:null,i?null:n.height),I.aP("horizontal",p,e.get("pageButtonItemGap",!0));var g=c.getBoundingRect(),u=p.getBoundingRect(),h=this._showController=g[o]>n[o],f=[-g.x,-g.y];t||(f[i]=c[s]);var v=[0,0],m=[-u.x,-u.y],x=r.bZ(e.get("pageButtonGap",!0),e.get("itemGap",!0));h&&("end"===e.get("pageButtonPosition",!0)?m[i]+=n[o]-u[o]:v[i]+=u[o]+x),m[1-i]+=g[l]/2-u[l]/2,c.setPosition(f),d.setPosition(v),p.setPosition(m);var _={x:0,y:0};if(_[o]=h?n[o]:g[o],_[l]=Math.max(g[l],u[l]),_[a]=Math.min(0,u[a]+m[1-i]),d.__rectSize=n[o],h){var S={x:0,y:0};S[o]=Math.max(n[o]-u[o]-x,0),S[l]=_[l],d.setClipPath(new y.A({shape:S})),d.__rectSize=S[o]}else p.eachChild(function(e){e.attr({invisible:!0,silent:!0})});var C=this._getPageInfo(e);return null!=C.pageIndex&&E.oi(c,{x:C.contentPosition[0],y:C.contentPosition[1]},h?e:null),this._updatePageInfoView(e,C),_},t.prototype._pageGo=function(e,t,n){var i=this._getPageInfo(t)[e];null!=i&&n.dispatchAction({type:"legendScroll",scrollDataIndex:i,legendId:t.id})},t.prototype._updatePageInfoView=function(e,t){var n=this._controllerGroup;r.__(["pagePrev","pageNext"],function(i){var o=null!=t[i+"DataIndex"],r=n.childOfName(i);r&&(r.setStyle("fill",o?e.get("pageIconColor",!0):e.get("pageIconInactiveColor",!0)),r.curs
vendor: 1,034 bytes, line 1
1or=o?"pointer":"default")});var i=n.childOfName("pageText"),o=e.get("pageFormatter"),l=t.pageIndex,a=null!=l?l+1:0,s=t.pageCount;i&&o&&i.setStyle("text",r.Kg(o)?o.replace("{current}",null==a?"":a+"").replace("{total}",null==s?"":s+""):o({current:a,total:s}))},t.prototype._getPageInfo=function(e){var t=e.get("scrollDataIndex",!0),n=this.getContentGroup(),i=this._containerGroup.__rectSize,o=e.getOrient().index,r=H[o],l=q[o],a=this._findTargetItemIndex(t),s=n.children(),c=s[a],d=s.length,p=d?1:0,g={contentPosition:[n.x,n.y],pageCount:p,pageIndex:p-1,pagePrevDataIndex:null,pageNextDataIndex:null};if(!c)return g;var u=m(c);g.contentPosition[o]=-u.s;for(var h=a+1,y=u,f=u,v=null;h<=d;++h)(!(v=m(s[h]))&&f.e>y.s+i||v&&!x(v,y.s))&&(y=f.i>y.i?f:v)&&(null==g.pageNextDataIndex&&(g.pageNextDataIndex=y.i),++g.pageCount),f=v;for(h=a-1,y=u,f=u,v=null;h>=-1;--h)(v=m(s[h]))&&x(f,v.s)||!(y.i<f.i)||(f=y,null==g.pagePrevDataIndex&&(g.pagePrevDataIndex=y.i),++g.pageCount,++g.pageIndex),y=v;return g;function m(e){if(e){var t=e.getBoundingRect
1(),n=t[l]+e[l];return{s:n,e:n+t[r],i:e.__legendDataIndex}}}function x(e,t){return e.e>=t&&e.s<=t+i}},t.prototype._findTargetItemIndex=function(e){return this._showController?(this.getContentGroup().eachChild(function(i,o){var r=i.__legendDataIndex;null==n&&null!=r&&(n=o),r===e&&(t=o)}),null!=t?t:n):0;var t,n},t.type="legend.scroll",t}(O),j=Y;function J(e){(0,i.Y)(B),e.registerComponentModel(F),e.registerComponentView(j),function(e){e.registerAction("legendScroll","legendscroll",function(e,t){var n=e.scrollDataIndex;null!=n&&t.eachComponent({mainType:"legend",subType:"scroll",query:e},function(e){e.setScrollDataIndex(n)})})}(e)}function U(e){(0,i.Y)(B),(0,i.Y)(J)}}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.