diff --git a/VANA-php/app/Console/Commands/ProcessEpisode.php b/VANA-php/app/Console/Commands/ProcessEpisode.php
new file mode 100644
index 0000000..154f9b1
--- /dev/null
+++ b/VANA-php/app/Console/Commands/ProcessEpisode.php
@@ -0,0 +1,71 @@
+get();
+
+ //dump($eps);
+
+ foreach ($eps as $ep) {
+
+ $result = Process::path(__DIR__.'/../../../../VANA-python')->forever()->run('./subtitles_processing/.pixi/envs/default/bin/python ./subtitles_processing/src/subtitles_processing/subtitles-processing.py -a normalize -ep '. $ep->id );
+
+ echo $result->output();
+
+ $result = Process::path(__DIR__.'/../../../../VANA-python')->forever()->run('./subtitles_processing/.pixi/envs/default/bin/python ./subtitles_processing/src/subtitles_processing/sentence_sentiment.py -ep '. $ep->id );
+
+ echo $result->output();
+
+ $result = Process::path(__DIR__.'/../../../../VANA-python')->forever()->run('./subtitles_processing/.pixi/envs/default/bin/python ./subtitles_processing/src/subtitles_processing/count_words.py -ep '. $ep->id );
+
+ echo $result->output();
+
+ $result = Process::path(__DIR__.'/../../../../VANA-python')->forever()->run('./subtitles_processing/.pixi/envs/default/bin/python ./subtitles_processing/src/subtitles_processing/topics.py -ep '. $ep->id );
+
+ echo $result->output();
+
+ $result = Process::path(__DIR__.'/../../../../VANA-python')->forever()->run('./video_processing/.pixi/envs/default/bin/python ./video_processing/src/video_processing.py -a download -ep '. $ep->id );
+
+ echo $result->output();
+
+ $result = Process::path(__DIR__.'/../../../../VANA-python')->forever()->run('./video_processing/.pixi/envs/default/bin/python ./video_processing/src/video_processing.py -a extract_frames -ep '. $ep->id );
+
+ echo $result->output();
+
+ $result = Process::path(__DIR__.'/../../../../VANA-python')->forever()->run('./video_colors/.pixi/envs/default/bin/python ./video_colors/src/dominant_colors.py -ep '. $ep->id );
+
+ echo $result->output();
+
+ }
+
+
+
+
+ }
+}
diff --git a/VANA-php/public/build/assets/app-DFHgb4jS.js b/VANA-php/public/build/assets/app-CrWEnB8o.js
similarity index 99%
rename from VANA-php/public/build/assets/app-DFHgb4jS.js
rename to VANA-php/public/build/assets/app-CrWEnB8o.js
index 4aa0701..40a5f47 100644
--- a/VANA-php/public/build/assets/app-DFHgb4jS.js
+++ b/VANA-php/public/build/assets/app-CrWEnB8o.js
@@ -304,4 +304,4 @@ PERFORMANCE OF THIS SOFTWARE.
`:"
",m=h.join(g);this._showOrMove(o,function(){this._updateContentNotChangedOnAxis(t,u)?this._updatePosition(o,f,s[0],s[1],this._tooltipContent,u):this._showTooltipContent(o,m,u,Math.random()+"",s[0],s[1],f,null,d)})},e.prototype._showSeriesItemTooltip=function(t,i,n){var a=this._ecModel,s=ke(i),o=s.seriesIndex,l=a.getSeriesByIndex(o),u=s.dataModel||l,c=s.dataIndex,h=s.dataType,d=u.getData(h),f=this._renderMode,p=t.positionDefault,v=Bd([d.getItemModel(c),u,l&&(l.coordinateSystem||{}).model],this._tooltipModel,p?{position:p}:null),g=v.get("trigger");if(!(g!=null&&g!=="item")){var m=u.getDataParams(c,h),y=new VS;m.marker=y.makeTooltipMarker("item",ic(m.color),f);var _=Jk(u.formatTooltip(c,!1,h)),b=v.get("order"),T=v.get("valueFormatter"),x=_.frag,C=x?aR(T?J({valueFormatter:T},x):x,y,f,b,a.get("useUTC"),v.get("textStyle")):_.text,D="item_"+u.name+"_"+c;this._showOrMove(v,function(){this._showTooltipContent(v,C,m,D,t.offsetX,t.offsetY,t.position,t.target,y)}),n({type:"showTip",dataIndexInside:c,dataIndex:d.getRawIndex(c),seriesIndex:o,from:this.uid})}},e.prototype._showComponentItemTooltip=function(t,i,n){var a=this._renderMode==="html",s=ke(i),o=s.tooltipConfig,l=o.option||{},u=l.encodeHTMLContent;if(pe(l)){var c=l;l={content:c,formatter:c},u=!0}u&&a&&l.content&&(l=Ee(l),l.content=Bi(l.content));var h=[l],d=this._ecModel.getComponent(s.componentMainType,s.componentIndex);d&&h.push(d),h.push({formatter:l.content});var f=t.positionDefault,p=Bd(h,this._tooltipModel,f?{position:f}:null),v=p.get("content"),g=Math.random()+"",m=new VS;this._showOrMove(p,function(){var y=Ee(p.get("formatterParams")||{});this._showTooltipContent(p,v,y,g,t.offsetX,t.offsetY,t.position,i,m)}),n({type:"showTip",from:this.uid})},e.prototype._showTooltipContent=function(t,i,n,a,s,o,l,u,c){if(this._ticket="",!(!t.get("showContent")||!t.get("show"))){var h=this._tooltipContent;h.setEnterable(t.get("enterable"));var d=t.get("formatter");l=l||t.get("position");var f=i,p=this._getNearestPoint([s,o],n,t.get("trigger"),t.get("borderColor")),v=p.color;if(d)if(pe(d)){var g=t.ecModel.get("useUTC"),m=ie(n)?n[0]:n,y=m&&m.axisType&&m.axisType.indexOf("time")>=0;f=d,y&&(f=p1(m.axisValue,f,g)),f=bH(f,n,!0)}else if(we(d)){var _=ge(function(b,T){b===this._ticket&&(h.setContent(T,c,t,v,l),this._updatePosition(t,l,s,o,h,n,u))},this);this._ticket=a,f=d(n,a,_)}else f=d;h.setContent(f,c,t,v,l),h.show(t,v),this._updatePosition(t,l,s,o,h,n,u)}},e.prototype._getNearestPoint=function(t,i,n,a){if(n==="axis"||ie(i))return{color:a||(this._renderMode==="html"?"#fff":"none")};if(!ie(i))return{color:a||i.color||i.borderColor}},e.prototype._updatePosition=function(t,i,n,a,s,o,l){var u=this._api.getWidth(),c=this._api.getHeight();i=i||t.get("position");var h=s.getSize(),d=t.get("align"),f=t.get("verticalAlign"),p=l&&l.getBoundingRect().clone();if(l&&p.applyTransform(l.transform),we(i)&&(i=i([n,a],o,s.el,p,{viewSize:[u,c],contentSize:h.slice()})),ie(i))n=ce(i[0],u),a=ce(i[1],c);else if(De(i)){var v=i;v.width=h[0],v.height=h[1];var g=Ar(v,{width:u,height:c});n=g.x,a=g.y,d=null,f=null}else if(pe(i)&&l){var m=Pwe(i,p,h,t.get("borderWidth"));n=m[0],a=m[1]}else{var m=Ewe(n,a,s,u,c,d?null:20,f?null:20);n=m[0],a=m[1]}if(d&&(n-=p3(d)?h[0]/2:d==="right"?h[0]:0),f&&(a-=p3(f)?h[1]/2:f==="bottom"?h[1]:0),Fj(t)){var m=Iwe(n,a,s,u,c);n=m[0],a=m[1]}s.moveTo(n,a)},e.prototype._updateContentNotChangedOnAxis=function(t,i){var n=this._lastDataByCoordSys,a=this._cbParamsList,s=!!n&&n.length===t.length;return s&&R(n,function(o,l){var u=o.dataByAxis||[],c=t[l]||{},h=c.dataByAxis||[];s=s&&u.length===h.length,s&&R(u,function(d,f){var p=h[f]||{},v=d.seriesDataIndices||[],g=p.seriesDataIndices||[];s=s&&d.value===p.value&&d.axisType===p.axisType&&d.axisId===p.axisId&&v.length===g.length,s&&R(v,function(m,y){var _=g[y];s=s&&m.seriesIndex===_.seriesIndex&&m.dataIndex===_.dataIndex}),a&&R(d.seriesDataIndices,function(m){var y=m.seriesIndex,_=i[y],b=a[y];_&&b&&b.data!==_.data&&(s=!1)})})}),this._lastDataByCoordSys=t,this._cbParamsList=i,!!s},e.prototype._hide=function(t){this._lastDataByCoordSys=null,t({type:"hideTip",from:this.uid})},e.prototype.dispose=function(t,i){et.node||!i.getDom()||(_v(this,"_updatePosition"),this._tooltipContent.dispose(),X2("itemTooltip",i))},e.type="tooltip",e}($t);function Bd(r,e,t){var i=e.ecModel,n;t?(n=new yt(t,i,i),n=new yt(e.option,n,i)):n=e;for(var a=r.length-1;a>=0;a--){var s=r[a];s&&(s instanceof yt&&(s=s.get("tooltip",!0)),pe(s)&&(s={formatter:s}),s&&(n=new yt(s,n,i)))}return n}function d3(r,e){return r.dispatchAction||ge(e.dispatchAction,e)}function Ewe(r,e,t,i,n,a,s){var o=t.getSize(),l=o[0],u=o[1];return a!=null&&(r+l+a+2>i?r-=l+a:r+=a),s!=null&&(e+u+s>n?e-=u+s:e+=s),[r,e]}function Iwe(r,e,t,i,n){var a=t.getSize(),s=a[0],o=a[1];return r=Math.min(r+s,i)-s,e=Math.min(e+o,n)-o,r=Math.max(r,0),e=Math.max(e,0),[r,e]}function Pwe(r,e,t,i){var n=t[0],a=t[1],s=Math.ceil(Math.SQRT2*i)+8,o=0,l=0,u=e.width,c=e.height;switch(r){case"inside":o=e.x+u/2-n/2,l=e.y+c/2-a/2;break;case"top":o=e.x+u/2-n/2,l=e.y-a-s;break;case"bottom":o=e.x+u/2-n/2,l=e.y+c+s;break;case"left":o=e.x-n-s,l=e.y+c/2-a/2;break;case"right":o=e.x+u+s,l=e.y+c/2-a/2}return[o,l]}function p3(r){return r==="center"||r==="middle"}function Mwe(r,e,t){var i=rD(r).queryOptionMap,n=i.keys()[0];if(!(!n||n==="series")){var a=Zv(e,n,i.get(n),{useDefault:!1,enableAll:!1,enableNone:!1}),s=a.models[0];if(s){var o=t.getViewOfComponentModel(s),l;if(o.group.traverse(function(u){var c=ke(u).tooltipConfig;if(c&&c.name===r.name)return l=u,!0}),l)return{componentMainType:n,componentIndex:s.componentIndex,el:l}}}}function Lwe(r){Ze(gg),r.registerComponentModel(pwe),r.registerComponentView(Dwe),r.registerAction({type:"showTip",event:"showTip",update:"tooltip:manuallyShowTip"},lr),r.registerAction({type:"hideTip",event:"hideTip",update:"tooltip:manuallyHideTip"},lr)}var kwe=["rect","polygon","keep","clear"];function Rwe(r,e){var t=xt(r?r.brush:[]);if(t.length){var i=[];R(t,function(l){var u=l.hasOwnProperty("toolbox")?l.toolbox:[];u instanceof Array&&(i=i.concat(u))});var n=r&&r.toolbox;ie(n)&&(n=n[0]),n||(n={feature:{}},r.toolbox=[n]);var a=n.feature||(n.feature={}),s=a.brush||(a.brush={}),o=s.type||(s.type=[]);o.push.apply(o,i),Owe(o),e&&!o.length&&o.push.apply(o,kwe)}}function Owe(r){var e={};R(r,function(t){e[t]=1}),r.length=0,R(e,function(t,i){r.push(i)})}var v3=R;function g3(r){if(r){for(var e in r)if(r.hasOwnProperty(e))return!0}}function eC(r,e,t){var i={};return v3(e,function(a){var s=i[a]=n();v3(r[a],function(o,l){if(Or.isValidType(l)){var u={type:l,visual:o};t&&t(u,a),s[l]=new Or(u),l==="opacity"&&(u=Ee(u),u.type="colorAlpha",s.__hidden.__alphaForOpacity=new Or(u))}})}),i;function n(){var a=function(){};a.prototype.__hidden=a.prototype;var s=new a;return s}}function Gj(r,e,t){var i;R(t,function(n){e.hasOwnProperty(n)&&g3(e[n])&&(i=!0)}),i&&R(t,function(n){e.hasOwnProperty(n)&&g3(e[n])?r[n]=Ee(e[n]):delete r[n]})}function Nwe(r,e,t,i,n,a){var s={};R(r,function(h){var d=Or.prepareVisualTypes(e[h]);s[h]=d});var o;function l(h){return MD(t,o,h)}function u(h,d){u$(t,o,h,d)}t.each(c);function c(h,d){o=h;var f=t.getRawDataItem(o);if(!(f&&f.visualMap===!1))for(var p=i.call(n,h),v=e[p],g=s[p],m=0,y=g.length;me[0][1]&&(e[0][1]=a[0]),a[1]e[1][1]&&(e[1][1]=a[1])}return e&&S3(e)}};function S3(r){return new qe(r[0][0],r[1][0],r[0][1]-r[0][0],r[1][1]-r[1][0])}var $we=function(r){j(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type=e.type,t}return e.prototype.init=function(t,i){this.ecModel=t,this.api=i,this.model,(this._brushController=new pE(i.getZr())).on("brush",ge(this._onBrush,this)).mount()},e.prototype.render=function(t,i,n,a){this.model=t,this._updateController(t,i,n,a)},e.prototype.updateTransform=function(t,i,n,a){Hj(i),this._updateController(t,i,n,a)},e.prototype.updateVisual=function(t,i,n,a){this.updateTransform(t,i,n,a)},e.prototype.updateView=function(t,i,n,a){this._updateController(t,i,n,a)},e.prototype._updateController=function(t,i,n,a){(!a||a.$from!==t.id)&&this._brushController.setPanels(t.brushTargetManager.makePanelOpts(n)).enableBrush(t.brushOption).updateCovers(t.areas.slice())},e.prototype.dispose=function(){this._brushController.dispose()},e.prototype._onBrush=function(t){var i=this.model.id,n=this.model.brushTargetManager.setOutputRanges(t.areas,this.ecModel);(!t.isEnd||t.removeOnClick)&&this.api.dispatchAction({type:"brush",brushId:i,areas:Ee(n),$from:i}),t.isEnd&&this.api.dispatchAction({type:"brushEnd",brushId:i,areas:Ee(n),$from:i})},e.type="brush",e}($t),Wwe="#ddd",qwe=function(r){j(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type=e.type,t.areas=[],t.brushOption={},t}return e.prototype.optionUpdated=function(t,i){var n=this.option;!i&&Gj(n,t,["inBrush","outOfBrush"]);var a=n.inBrush=n.inBrush||{};n.outOfBrush=n.outOfBrush||{color:Wwe},a.hasOwnProperty("liftZ")||(a.liftZ=5)},e.prototype.setAreas=function(t){t&&(this.areas=oe(t,function(i){return T3(this.option,i)},this))},e.prototype.setBrushOption=function(t){this.brushOption=T3(this.option,t),this.brushType=this.brushOption.brushType},e.type="brush",e.dependencies=["geo","grid","xAxis","yAxis","parallel","series"],e.defaultOption={seriesIndex:"all",brushType:"rect",brushMode:"single",transformable:!0,brushStyle:{borderWidth:1,color:"rgba(210,219,238,0.3)",borderColor:"#D2DBEE"},throttleType:"fixRate",throttleDelay:0,removeOnClick:!0,z:1e4},e}(tt);function T3(r,e){return We({brushType:r.brushType,brushMode:r.brushMode,transformable:r.transformable,brushStyle:new yt(r.brushStyle).getItemStyle(),removeOnClick:r.removeOnClick,z:r.z},e,!0)}var jwe=["rect","polygon","lineX","lineY","keep","clear"],Xwe=function(r){j(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.render=function(t,i,n){var a,s,o;i.eachComponent({mainType:"brush"},function(l){a=l.brushType,s=l.brushOption.brushMode||"single",o=o||!!l.areas.length}),this._brushType=a,this._brushMode=s,R(t.get("type",!0),function(l){t.setIconStatus(l,(l==="keep"?s==="multiple":l==="clear"?o:l===a)?"emphasis":"normal")})},e.prototype.updateView=function(t,i,n){this.render(t,i,n)},e.prototype.getIcons=function(){var t=this.model,i=t.get("icon",!0),n={};return R(t.get("type",!0),function(a){i[a]&&(n[a]=i[a])}),n},e.prototype.onclick=function(t,i,n){var a=this._brushType,s=this._brushMode;n==="clear"?(i.dispatchAction({type:"axisAreaSelect",intervals:[]}),i.dispatchAction({type:"brush",command:"clear",areas:[]})):i.dispatchAction({type:"takeGlobalCursor",key:"brush",brushOption:{brushType:n==="keep"?a:a===n?!1:n,brushMode:n==="keep"?s==="multiple"?"single":"multiple":s}})},e.getDefaultOption=function(t){var i={show:!0,type:jwe.slice(),icon:{rect:"M7.3,34.7 M0.4,10V-0.2h9.8 M89.6,10V-0.2h-9.8 M0.4,60v10.2h9.8 M89.6,60v10.2h-9.8 M12.3,22.4V10.5h13.1 M33.6,10.5h7.8 M49.1,10.5h7.8 M77.5,22.4V10.5h-13 M12.3,31.1v8.2 M77.7,31.1v8.2 M12.3,47.6v11.9h13.1 M33.6,59.5h7.6 M49.1,59.5 h7.7 M77.5,47.6v11.9h-13",polygon:"M55.2,34.9c1.7,0,3.1,1.4,3.1,3.1s-1.4,3.1-3.1,3.1 s-3.1-1.4-3.1-3.1S53.5,34.9,55.2,34.9z M50.4,51c1.7,0,3.1,1.4,3.1,3.1c0,1.7-1.4,3.1-3.1,3.1c-1.7,0-3.1-1.4-3.1-3.1 C47.3,52.4,48.7,51,50.4,51z M55.6,37.1l1.5-7.8 M60.1,13.5l1.6-8.7l-7.8,4 M59,19l-1,5.3 M24,16.1l6.4,4.9l6.4-3.3 M48.5,11.6 l-5.9,3.1 M19.1,12.8L9.7,5.1l1.1,7.7 M13.4,29.8l1,7.3l6.6,1.6 M11.6,18.4l1,6.1 M32.8,41.9 M26.6,40.4 M27.3,40.2l6.1,1.6 M49.9,52.1l-5.6-7.6l-4.9-1.2",lineX:"M15.2,30 M19.7,15.6V1.9H29 M34.8,1.9H40.4 M55.3,15.6V1.9H45.9 M19.7,44.4V58.1H29 M34.8,58.1H40.4 M55.3,44.4 V58.1H45.9 M12.5,20.3l-9.4,9.6l9.6,9.8 M3.1,29.9h16.5 M62.5,20.3l9.4,9.6L62.3,39.7 M71.9,29.9H55.4",lineY:"M38.8,7.7 M52.7,12h13.2v9 M65.9,26.6V32 M52.7,46.3h13.2v-9 M24.9,12H11.8v9 M11.8,26.6V32 M24.9,46.3H11.8v-9 M48.2,5.1l-9.3-9l-9.4,9.2 M38.9-3.9V12 M48.2,53.3l-9.3,9l-9.4-9.2 M38.9,62.3V46.4",keep:"M4,10.5V1h10.3 M20.7,1h6.1 M33,1h6.1 M55.4,10.5V1H45.2 M4,17.3v6.6 M55.6,17.3v6.6 M4,30.5V40h10.3 M20.7,40 h6.1 M33,40h6.1 M55.4,30.5V40H45.2 M21,18.9h62.9v48.6H21V18.9z",clear:"M22,14.7l30.9,31 M52.9,14.7L22,45.7 M4.7,16.8V4.2h13.1 M26,4.2h7.8 M41.6,4.2h7.8 M70.3,16.8V4.2H57.2 M4.7,25.9v8.6 M70.3,25.9v8.6 M4.7,43.2v12.6h13.1 M26,55.8h7.8 M41.6,55.8h7.8 M70.3,43.2v12.6H57.2"},title:t.getLocaleModel().get(["toolbox","brush","title"])};return i},e}(Fn);function Ywe(r){r.registerComponentView($we),r.registerComponentModel(qwe),r.registerPreprocessor(Rwe),r.registerVisual(r.PRIORITY.VISUAL.BRUSH,Uwe),r.registerAction({type:"brush",event:"brush",update:"updateVisual"},function(e,t){t.eachComponent({mainType:"brush",query:e},function(i){i.setAreas(e.areas)})}),r.registerAction({type:"brushSelect",event:"brushSelected",update:"none"},lr),r.registerAction({type:"brushEnd",event:"brushEnd",update:"none"},lr),lh("brush",Xwe)}var Kwe=function(r){j(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type=e.type,t.layoutMode={type:"box",ignoreSize:!0},t}return e.type="title",e.defaultOption={z:6,show:!0,text:"",target:"blank",subtext:"",subtarget:"blank",left:0,top:0,backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderWidth:0,padding:5,itemGap:10,textStyle:{fontSize:18,fontWeight:"bold",color:"#464646"},subtextStyle:{fontSize:12,color:"#6E7079"}},e}(tt),Zwe=function(r){j(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type=e.type,t}return e.prototype.render=function(t,i,n){if(this.group.removeAll(),!!t.get("show")){var a=this.group,s=t.getModel("textStyle"),o=t.getModel("subtextStyle"),l=t.get("textAlign"),u=Be(t.get("textBaseline"),t.get("textVerticalAlign")),c=new lt({style:kt(s,{text:t.get("text"),fill:s.getTextColor()},{disableBox:!0}),z2:10}),h=c.getBoundingRect(),d=t.get("subtext"),f=new lt({style:kt(o,{text:d,fill:o.getTextColor(),y:h.height+t.get("itemGap"),verticalAlign:"top"},{disableBox:!0}),z2:10}),p=t.get("link"),v=t.get("sublink"),g=t.get("triggerEvent",!0);c.silent=!p&&!g,f.silent=!v&&!g,p&&c.on("click",function(){B0(p,"_"+t.get("target"))}),v&&f.on("click",function(){B0(v,"_"+t.get("subtarget"))}),ke(c).eventData=ke(f).eventData=g?{componentType:"title",componentIndex:t.componentIndex}:null,a.add(c),d&&a.add(f);var m=a.getBoundingRect(),y=t.getBoxLayoutParams();y.width=m.width,y.height=m.height;var _=Ar(y,{width:n.getWidth(),height:n.getHeight()},t.get("padding"));l||(l=t.get("left")||t.get("right"),l==="middle"&&(l="center"),l==="right"?_.x+=_.width:l==="center"&&(_.x+=_.width/2)),u||(u=t.get("top")||t.get("bottom"),u==="center"&&(u="middle"),u==="bottom"?_.y+=_.height:u==="middle"&&(_.y+=_.height/2),u=u||"top"),a.x=_.x,a.y=_.y,a.markRedraw();var b={align:l,verticalAlign:u};c.setStyle(b),f.setStyle(b),m=a.getBoundingRect();var T=_.margin,x=t.getItemStyle(["color","opacity"]);x.fill=t.get("backgroundColor");var C=new st({shape:{x:m.x-T[3],y:m.y-T[0],width:m.width+T[1]+T[3],height:m.height+T[0]+T[2],r:t.get("borderRadius")},style:x,subPixelOptimize:!0,silent:!0});a.add(C)}},e.type="title",e}($t);function Qwe(r){r.registerComponentModel(Kwe),r.registerComponentView(Zwe)}var x3=function(r){j(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type=e.type,t.layoutMode="box",t}return e.prototype.init=function(t,i,n){this.mergeDefaultAndTheme(t,n),this._initData()},e.prototype.mergeOption=function(t){r.prototype.mergeOption.apply(this,arguments),this._initData()},e.prototype.setCurrentIndex=function(t){t==null&&(t=this.option.currentIndex);var i=this._data.count();this.option.loop?t=(t%i+i)%i:(t>=i&&(t=i-1),t<0&&(t=0)),this.option.currentIndex=t},e.prototype.getCurrentIndex=function(){return this.option.currentIndex},e.prototype.isIndexMax=function(){return this.getCurrentIndex()>=this._data.count()-1},e.prototype.setPlayState=function(t){this.option.autoPlay=!!t},e.prototype.getPlayState=function(){return!!this.option.autoPlay},e.prototype._initData=function(){var t=this.option,i=t.data||[],n=t.axisType,a=this._names=[],s;n==="category"?(s=[],R(i,function(u,c){var h=wr(Pf(u),""),d;De(u)?(d=Ee(u),d.value=c):d=c,s.push(d),a.push(h)})):s=i;var o={category:"ordinal",time:"time",value:"number"}[n]||"number",l=this._data=new wi([{name:"value",type:o}],this);l.initData(s,a)},e.prototype.getData=function(){return this._data},e.prototype.getCategories=function(){if(this.get("axisType")==="category")return this._names.slice()},e.type="timeline",e.defaultOption={z:4,show:!0,axisType:"time",realtime:!0,left:"20%",top:null,right:"20%",bottom:0,width:null,height:40,padding:5,controlPosition:"left",autoPlay:!1,rewind:!1,loop:!0,playInterval:2e3,currentIndex:0,itemStyle:{},label:{color:"#000"},data:[]},e}(tt),$j=function(r){j(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type=e.type,t}return e.type="timeline.slider",e.defaultOption=hl(x3.defaultOption,{backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderWidth:0,orient:"horizontal",inverse:!1,tooltip:{trigger:"item"},symbol:"circle",symbolSize:12,lineStyle:{show:!0,width:2,color:"#DAE1F5"},label:{position:"auto",show:!0,interval:"auto",rotate:0,color:"#A4B1D7"},itemStyle:{color:"#A4B1D7",borderWidth:1},checkpointStyle:{symbol:"circle",symbolSize:15,color:"#316bf3",borderColor:"#fff",borderWidth:2,shadowBlur:2,shadowOffsetX:1,shadowOffsetY:1,shadowColor:"rgba(0, 0, 0, 0.3)",animation:!0,animationDuration:300,animationEasing:"quinticInOut"},controlStyle:{show:!0,showPlayBtn:!0,showPrevBtn:!0,showNextBtn:!0,itemSize:24,itemGap:12,position:"left",playIcon:"path://M31.6,53C17.5,53,6,41.5,6,27.4S17.5,1.8,31.6,1.8C45.7,1.8,57.2,13.3,57.2,27.4S45.7,53,31.6,53z M31.6,3.3 C18.4,3.3,7.5,14.1,7.5,27.4c0,13.3,10.8,24.1,24.1,24.1C44.9,51.5,55.7,40.7,55.7,27.4C55.7,14.1,44.9,3.3,31.6,3.3z M24.9,21.3 c0-2.2,1.6-3.1,3.5-2l10.5,6.1c1.899,1.1,1.899,2.9,0,4l-10.5,6.1c-1.9,1.1-3.5,0.2-3.5-2V21.3z",stopIcon:"path://M30.9,53.2C16.8,53.2,5.3,41.7,5.3,27.6S16.8,2,30.9,2C45,2,56.4,13.5,56.4,27.6S45,53.2,30.9,53.2z M30.9,3.5C17.6,3.5,6.8,14.4,6.8,27.6c0,13.3,10.8,24.1,24.101,24.1C44.2,51.7,55,40.9,55,27.6C54.9,14.4,44.1,3.5,30.9,3.5z M36.9,35.8c0,0.601-0.4,1-0.9,1h-1.3c-0.5,0-0.9-0.399-0.9-1V19.5c0-0.6,0.4-1,0.9-1H36c0.5,0,0.9,0.4,0.9,1V35.8z M27.8,35.8 c0,0.601-0.4,1-0.9,1h-1.3c-0.5,0-0.9-0.399-0.9-1V19.5c0-0.6,0.4-1,0.9-1H27c0.5,0,0.9,0.4,0.9,1L27.8,35.8L27.8,35.8z",nextIcon:"M2,18.5A1.52,1.52,0,0,1,.92,18a1.49,1.49,0,0,1,0-2.12L7.81,9.36,1,3.11A1.5,1.5,0,1,1,3,.89l8,7.34a1.48,1.48,0,0,1,.49,1.09,1.51,1.51,0,0,1-.46,1.1L3,18.08A1.5,1.5,0,0,1,2,18.5Z",prevIcon:"M10,.5A1.52,1.52,0,0,1,11.08,1a1.49,1.49,0,0,1,0,2.12L4.19,9.64,11,15.89a1.5,1.5,0,1,1-2,2.22L1,10.77A1.48,1.48,0,0,1,.5,9.68,1.51,1.51,0,0,1,1,8.58L9,.92A1.5,1.5,0,0,1,10,.5Z",prevBtnSize:18,nextBtnSize:18,color:"#A4B1D7",borderColor:"#A4B1D7",borderWidth:1},emphasis:{label:{show:!0,color:"#6f778d"},itemStyle:{color:"#316BF3"},controlStyle:{color:"#316BF3",borderColor:"#316BF3",borderWidth:2}},progress:{lineStyle:{color:"#316BF3"},itemStyle:{color:"#316BF3"},label:{color:"#6f778d"}},data:[]}),e}(x3);_r($j,S1.prototype);var Jwe=function(r){j(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type=e.type,t}return e.type="timeline",e}($t),e2e=function(r){j(e,r);function e(t,i,n,a){var s=r.call(this,t,i,n)||this;return s.type=a||"value",s}return e.prototype.getLabelModel=function(){return this.model.getModel("label")},e.prototype.isHorizontal=function(){return this.model.get("orient")==="horizontal"},e}(xa),ix=Math.PI,w3=ot(),t2e=function(r){j(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type=e.type,t}return e.prototype.init=function(t,i){this.api=i},e.prototype.render=function(t,i,n){if(this.model=t,this.api=n,this.ecModel=i,this.group.removeAll(),t.get("show",!0)){var a=this._layout(t,n),s=this._createGroup("_mainGroup"),o=this._createGroup("_labelGroup"),l=this._axis=this._createAxis(a,t);t.formatTooltip=function(u){var c=l.scale.getLabel({value:u});return Br("nameValue",{noName:!0,value:c})},R(["AxisLine","AxisTick","Control","CurrentPointer"],function(u){this["_render"+u](a,s,l,t)},this),this._renderAxisLabel(a,o,l,t),this._position(a,t)}this._doPlayStop(),this._updateTicksStatus()},e.prototype.remove=function(){this._clearTimer(),this.group.removeAll()},e.prototype.dispose=function(){this._clearTimer()},e.prototype._layout=function(t,i){var n=t.get(["label","position"]),a=t.get("orient"),s=i2e(t,i),o;n==null||n==="auto"?o=a==="horizontal"?s.y+s.height/2=0||o==="+"?"left":"right"},u={horizontal:o>=0||o==="+"?"top":"bottom",vertical:"middle"},c={horizontal:0,vertical:ix/2},h=a==="vertical"?s.height:s.width,d=t.getModel("controlStyle"),f=d.get("show",!0),p=f?d.get("itemSize"):0,v=f?d.get("itemGap"):0,g=p+v,m=t.get(["label","rotate"])||0;m=m*ix/180;var y,_,b,T=d.get("position",!0),x=f&&d.get("showPlayBtn",!0),C=f&&d.get("showPrevBtn",!0),D=f&&d.get("showNextBtn",!0),I=0,M=h;T==="left"||T==="bottom"?(x&&(y=[0,0],I+=g),C&&(_=[I,0],I+=g),D&&(b=[M-p,0],M-=g)):(x&&(y=[M-p,0],M-=g),C&&(_=[0,0],I+=g),D&&(b=[M-p,0],M-=g));var L=[I,M];return t.get("inverse")&&L.reverse(),{viewRect:s,mainLength:h,orient:a,rotation:c[a],labelRotation:m,labelPosOpt:o,labelAlign:t.get(["label","align"])||l[a],labelBaseline:t.get(["label","verticalAlign"])||t.get(["label","baseline"])||u[a],playPosition:y,prevBtnPosition:_,nextBtnPosition:b,axisExtent:L,controlSize:p,controlGap:v}},e.prototype._position=function(t,i){var n=this._mainGroup,a=this._labelGroup,s=t.viewRect;if(t.orient==="vertical"){var o=vn(),l=s.x,u=s.y+s.height;ss(o,o,[-l,-u]),uc(o,o,-ix/2),ss(o,o,[l,u]),s=s.clone(),s.applyTransform(o)}var c=y(s),h=y(n.getBoundingRect()),d=y(a.getBoundingRect()),f=[n.x,n.y],p=[a.x,a.y];p[0]=f[0]=c[0][0];var v=t.labelPosOpt;if(v==null||pe(v)){var g=v==="+"?0:1;_(f,h,c,1,g),_(p,d,c,1,1-g)}else{var g=v>=0?0:1;_(f,h,c,1,g),p[1]=f[1]+v}n.setPosition(f),a.setPosition(p),n.rotation=a.rotation=t.rotation,m(n),m(a);function m(b){b.originX=c[0][0]-b.x,b.originY=c[1][0]-b.y}function y(b){return[[b.x,b.x+b.width],[b.y,b.y+b.height]]}function _(b,T,x,C,D){b[C]+=x[C][D]-T[C][D]}},e.prototype._createAxis=function(t,i){var n=i.getData(),a=i.get("axisType"),s=r2e(i,a);s.getTicks=function(){return n.mapArray(["value"],function(u){return{value:u}})};var o=n.getDataExtent("value");s.setExtent(o[0],o[1]),s.calcNiceTicks();var l=new e2e("value",s,t.axisExtent,a);return l.model=i,l},e.prototype._createGroup=function(t){var i=this[t]=new Le;return this.group.add(i),i},e.prototype._renderAxisLine=function(t,i,n,a){var s=n.getExtent();if(a.get(["lineStyle","show"])){var o=new kr({shape:{x1:s[0],y1:0,x2:s[1],y2:0},style:J({lineCap:"round"},a.getModel("lineStyle").getLineStyle()),silent:!0,z2:1});i.add(o);var l=this._progressLine=new kr({shape:{x1:s[0],x2:this._currentPointer?this._currentPointer.x:s[0],y1:0,y2:0},style:Ce({lineCap:"round",lineWidth:o.style.lineWidth},a.getModel(["progress","lineStyle"]).getLineStyle()),silent:!0,z2:1});i.add(l)}},e.prototype._renderAxisTick=function(t,i,n,a){var s=this,o=a.getData(),l=n.scale.getTicks();this._tickSymbols=[],R(l,function(u){var c=n.dataToCoord(u.value),h=o.getItemModel(u.value),d=h.getModel("itemStyle"),f=h.getModel(["emphasis","itemStyle"]),p=h.getModel(["progress","itemStyle"]),v={x:c,y:0,onclick:ge(s._changeTimeline,s,u.value)},g=C3(h,d,i,v);g.ensureState("emphasis").style=f.getItemStyle(),g.ensureState("progress").style=p.getItemStyle(),zu(g);var m=ke(g);h.get("tooltip")?(m.dataIndex=u.value,m.dataModel=a):m.dataIndex=m.dataModel=null,s._tickSymbols.push(g)})},e.prototype._renderAxisLabel=function(t,i,n,a){var s=this,o=n.getLabelModel();if(o.get("show")){var l=a.getData(),u=n.getViewLabels();this._tickLabels=[],R(u,function(c){var h=c.tickValue,d=l.getItemModel(h),f=d.getModel("label"),p=d.getModel(["emphasis","label"]),v=d.getModel(["progress","label"]),g=n.dataToCoord(c.tickValue),m=new lt({x:g,y:0,rotation:t.labelRotation-t.rotation,onclick:ge(s._changeTimeline,s,h),silent:!1,style:kt(f,{text:c.formattedLabel,align:t.labelAlign,verticalAlign:t.labelBaseline})});m.ensureState("emphasis").style=kt(p),m.ensureState("progress").style=kt(v),i.add(m),zu(m),w3(m).dataIndex=h,s._tickLabels.push(m)})}},e.prototype._renderControl=function(t,i,n,a){var s=t.controlSize,o=t.rotation,l=a.getModel("controlStyle").getItemStyle(),u=a.getModel(["emphasis","controlStyle"]).getItemStyle(),c=a.getPlayState(),h=a.get("inverse",!0);d(t.nextBtnPosition,"next",ge(this._changeTimeline,this,h?"-":"+")),d(t.prevBtnPosition,"prev",ge(this._changeTimeline,this,h?"+":"-")),d(t.playPosition,c?"stop":"play",ge(this._handlePlayClick,this,!c),!0);function d(f,p,v,g){if(f){var m=ya(Be(a.get(["controlStyle",p+"BtnSize"]),s),s),y=[0,-m/2,m,m],_=n2e(a,p+"Icon",y,{x:f[0],y:f[1],originX:s/2,originY:0,rotation:g?-o:0,rectHover:!0,style:l,onclick:v});_.ensureState("emphasis").style=u,i.add(_),zu(_)}}},e.prototype._renderCurrentPointer=function(t,i,n,a){var s=a.getData(),o=a.getCurrentIndex(),l=s.getItemModel(o).getModel("checkpointStyle"),u=this,c={onCreate:function(h){h.draggable=!0,h.drift=ge(u._handlePointerDrag,u),h.ondragend=ge(u._handlePointerDragend,u),A3(h,u._progressLine,o,n,a,!0)},onUpdate:function(h){A3(h,u._progressLine,o,n,a)}};this._currentPointer=C3(l,l,this._mainGroup,{},this._currentPointer,c)},e.prototype._handlePlayClick=function(t){this._clearTimer(),this.api.dispatchAction({type:"timelinePlayChange",playState:t,from:this.uid})},e.prototype._handlePointerDrag=function(t,i,n){this._clearTimer(),this._pointerChangeTimeline([n.offsetX,n.offsetY])},e.prototype._handlePointerDragend=function(t){this._pointerChangeTimeline([t.offsetX,t.offsetY],!0)},e.prototype._pointerChangeTimeline=function(t,i){var n=this._toAxisCoord(t)[0],a=this._axis,s=Hn(a.getExtent().slice());n>s[1]&&(n=s[1]),n=0&&(s[a]=+s[a].toFixed(d)),[s,h]}var nx={min:Ue(Qm,"min"),max:Ue(Qm,"max"),average:Ue(Qm,"average"),median:Ue(Qm,"median")};function kv(r,e){if(e){var t=r.getData(),i=r.coordinateSystem,n=i&&i.dimensions;if(!c2e(e)&&!ie(e.coord)&&ie(n)){var a=Wj(e,t,i,r);if(e=Ee(e),e.type&&nx[e.type]&&a.baseAxis&&a.valueAxis){var s=Xe(n,a.baseAxis.dim),o=Xe(n,a.valueAxis.dim),l=nx[e.type](t,a.baseDataDim,a.valueDataDim,s,o);e.coord=l[0],e.value=l[1]}else e.coord=[e.xAxis!=null?e.xAxis:e.radiusAxis,e.yAxis!=null?e.yAxis:e.angleAxis]}if(e.coord==null||!ie(n))e.coord=[];else for(var u=e.coord,c=0;c<2;c++)nx[u[c]]&&(u[c]=HE(t,t.mapDimension(n[c]),u[c]));return e}}function Wj(r,e,t,i){var n={};return r.valueIndex!=null||r.valueDim!=null?(n.valueDataDim=r.valueIndex!=null?e.getDimension(r.valueIndex):r.valueDim,n.valueAxis=t.getAxis(h2e(i,n.valueDataDim)),n.baseAxis=t.getOtherAxis(n.valueAxis),n.baseDataDim=e.mapDimension(n.baseAxis.dim)):(n.baseAxis=i.getBaseAxis(),n.valueAxis=t.getOtherAxis(n.baseAxis),n.baseDataDim=e.mapDimension(n.baseAxis.dim),n.valueDataDim=e.mapDimension(n.valueAxis.dim)),n}function h2e(r,e){var t=r.getData().getDimensionInfo(e);return t&&t.coordDim}function Rv(r,e){return r&&r.containData&&e.coord&&!rC(e)?r.containData(e.coord):!0}function f2e(r,e,t){return r&&r.containZone&&e.coord&&t.coord&&!rC(e)&&!rC(t)?r.containZone(e.coord,t.coord):!0}function qj(r,e){return r?function(t,i,n,a){var s=a<2?t.coord&&t.coord[a]:t.value;return jo(s,e[a])}:function(t,i,n,a){return jo(t.value,e[a])}}function HE(r,e,t){if(t==="average"){var i=0,n=0;return r.each(e,function(a,s){isNaN(a)||(i+=a,n++)}),i/n}else return t==="median"?r.getMedian(e):r.getDataExtent(e)[t==="max"?1:0]}var ax=ot(),$E=function(r){j(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type=e.type,t}return e.prototype.init=function(){this.markerGroupMap=be()},e.prototype.render=function(t,i,n){var a=this,s=this.markerGroupMap;s.each(function(o){ax(o).keep=!1}),i.eachSeries(function(o){var l=Zs.getMarkerModelFromSeries(o,a.type);l&&a.renderSeries(o,l,i,n)}),s.each(function(o){!ax(o).keep&&a.group.remove(o.group)})},e.prototype.markKeep=function(t){ax(t).keep=!0},e.prototype.toggleBlurSeries=function(t,i){var n=this;R(t,function(a){var s=Zs.getMarkerModelFromSeries(a,n.type);if(s){var o=s.getData();o.eachItemGraphicEl(function(l){l&&(i?B9(l):uD(l))})}})},e.type="marker",e}($t);function E3(r,e,t){var i=e.coordinateSystem;r.each(function(n){var a=r.getItemModel(n),s,o=ce(a.get("x"),t.getWidth()),l=ce(a.get("y"),t.getHeight());if(!isNaN(o)&&!isNaN(l))s=[o,l];else if(e.getMarkerPosition)s=e.getMarkerPosition(r.getValues(r.dimensions,n));else if(i){var u=r.get(i.dimensions[0],n),c=r.get(i.dimensions[1],n);s=i.dataToPoint([u,c])}isNaN(o)||(s[0]=o),isNaN(l)||(s[1]=l),r.setItemLayout(n,s)})}var d2e=function(r){j(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type=e.type,t}return e.prototype.updateTransform=function(t,i,n){i.eachSeries(function(a){var s=Zs.getMarkerModelFromSeries(a,"markPoint");s&&(E3(s.getData(),a,n),this.markerGroupMap.get(a.id).updateLayout())},this)},e.prototype.renderSeries=function(t,i,n,a){var s=t.coordinateSystem,o=t.id,l=t.getData(),u=this.markerGroupMap,c=u.get(o)||u.set(o,new ug),h=p2e(s,t,i);i.setData(h),E3(i.getData(),t,a),h.each(function(d){var f=h.getItemModel(d),p=f.getShallow("symbol"),v=f.getShallow("symbolSize"),g=f.getShallow("symbolRotate"),m=f.getShallow("symbolOffset"),y=f.getShallow("symbolKeepAspect");if(we(p)||we(v)||we(g)||we(m)){var _=i.getRawValue(d),b=i.getDataParams(d);we(p)&&(p=p(_,b)),we(v)&&(v=v(_,b)),we(g)&&(g=g(_,b)),we(m)&&(m=m(_,b))}var T=f.getModel("itemStyle").getItemStyle(),x=ag(l,"color");T.fill||(T.fill=x),h.setItemVisual(d,{symbol:p,symbolSize:v,symbolRotate:g,symbolOffset:m,symbolKeepAspect:y,style:T})}),c.updateData(h),this.group.add(c.group),h.eachItemGraphicEl(function(d){d.traverse(function(f){ke(f).dataModel=i})}),this.markKeep(c),c.group.silent=i.get("silent")||t.get("silent")},e.type="markPoint",e}($E);function p2e(r,e,t){var i;r?i=oe(r&&r.dimensions,function(o){var l=e.getData().getDimensionInfo(e.getData().mapDimension(o))||{};return J(J({},l),{name:o,ordinalMeta:null})}):i=[{name:"value",type:"float"}];var n=new wi(i,t),a=oe(t.get("data"),Ue(kv,e));r&&(a=Tt(a,Ue(Rv,r)));var s=qj(!!r,i);return n.initData(a,null,s),n}function v2e(r){r.registerComponentModel(u2e),r.registerComponentView(d2e),r.registerPreprocessor(function(e){GE(e.series,"markPoint")&&(e.markPoint=e.markPoint||{})})}var g2e=function(r){j(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type=e.type,t}return e.prototype.createMarkerModelFromSeries=function(t,i,n){return new e(t,i,n)},e.type="markLine",e.defaultOption={z:5,symbol:["circle","arrow"],symbolSize:[8,16],symbolOffset:0,precision:2,tooltip:{trigger:"item"},label:{show:!0,position:"end",distance:5},lineStyle:{type:"dashed"},emphasis:{label:{show:!0},lineStyle:{width:3}},animationEasing:"linear"},e}(Zs),Jm=ot(),m2e=function(r,e,t,i){var n=r.getData(),a;if(ie(i))a=i;else{var s=i.type;if(s==="min"||s==="max"||s==="average"||s==="median"||i.xAxis!=null||i.yAxis!=null){var o=void 0,l=void 0;if(i.yAxis!=null||i.xAxis!=null)o=e.getAxis(i.yAxis!=null?"y":"x"),l=Gr(i.yAxis,i.xAxis);else{var u=Wj(i,n,e,r);o=u.valueAxis;var c=U$(n,u.valueDataDim);l=HE(n,c,s)}var h=o.dim==="x"?0:1,d=1-h,f=Ee(i),p={coord:[]};f.type=null,f.coord=[],f.coord[d]=-1/0,p.coord[d]=1/0;var v=t.get("precision");v>=0&&ut(l)&&(l=+l.toFixed(Math.min(v,20))),f.coord[h]=p.coord[h]=l,a=[f,p,{type:s,valueIndex:i.valueIndex,value:l}]}else a=[]}var g=[kv(r,a[0]),kv(r,a[1]),J({},a[2])];return g[2].type=g[2].type||null,We(g[2],g[0]),We(g[2],g[1]),g};function l_(r){return!isNaN(r)&&!isFinite(r)}function I3(r,e,t,i){var n=1-r,a=i.dimensions[r];return l_(e[n])&&l_(t[n])&&e[r]===t[r]&&i.getAxis(a).containData(e[r])}function y2e(r,e){if(r.type==="cartesian2d"){var t=e[0].coord,i=e[1].coord;if(t&&i&&(I3(1,t,i,r)||I3(0,t,i,r)))return!0}return Rv(r,e[0])&&Rv(r,e[1])}function sx(r,e,t,i,n){var a=i.coordinateSystem,s=r.getItemModel(e),o,l=ce(s.get("x"),n.getWidth()),u=ce(s.get("y"),n.getHeight());if(!isNaN(l)&&!isNaN(u))o=[l,u];else{if(i.getMarkerPosition)o=i.getMarkerPosition(r.getValues(r.dimensions,e));else{var c=a.dimensions,h=r.get(c[0],e),d=r.get(c[1],e);o=a.dataToPoint([h,d])}if(dc(a,"cartesian2d")){var f=a.getAxis("x"),p=a.getAxis("y"),c=a.dimensions;l_(r.get(c[0],e))?o[0]=f.toGlobalCoord(f.getExtent()[t?0:1]):l_(r.get(c[1],e))&&(o[1]=p.toGlobalCoord(p.getExtent()[t?0:1]))}isNaN(l)||(o[0]=l),isNaN(u)||(o[1]=u)}r.setItemLayout(e,o)}var _2e=function(r){j(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type=e.type,t}return e.prototype.updateTransform=function(t,i,n){i.eachSeries(function(a){var s=Zs.getMarkerModelFromSeries(a,"markLine");if(s){var o=s.getData(),l=Jm(s).from,u=Jm(s).to;l.each(function(c){sx(l,c,!0,a,n),sx(u,c,!1,a,n)}),o.each(function(c){o.setItemLayout(c,[l.getItemLayout(c),u.getItemLayout(c)])}),this.markerGroupMap.get(a.id).updateLayout()}},this)},e.prototype.renderSeries=function(t,i,n,a){var s=t.coordinateSystem,o=t.id,l=t.getData(),u=this.markerGroupMap,c=u.get(o)||u.set(o,new dE);this.group.add(c.group);var h=b2e(s,t,i),d=h.from,f=h.to,p=h.line;Jm(i).from=d,Jm(i).to=f,i.setData(p);var v=i.get("symbol"),g=i.get("symbolSize"),m=i.get("symbolRotate"),y=i.get("symbolOffset");ie(v)||(v=[v,v]),ie(g)||(g=[g,g]),ie(m)||(m=[m,m]),ie(y)||(y=[y,y]),h.from.each(function(b){_(d,b,!0),_(f,b,!1)}),p.each(function(b){var T=p.getItemModel(b).getModel("lineStyle").getLineStyle();p.setItemLayout(b,[d.getItemLayout(b),f.getItemLayout(b)]),T.stroke==null&&(T.stroke=d.getItemVisual(b,"style").fill),p.setItemVisual(b,{fromSymbolKeepAspect:d.getItemVisual(b,"symbolKeepAspect"),fromSymbolOffset:d.getItemVisual(b,"symbolOffset"),fromSymbolRotate:d.getItemVisual(b,"symbolRotate"),fromSymbolSize:d.getItemVisual(b,"symbolSize"),fromSymbol:d.getItemVisual(b,"symbol"),toSymbolKeepAspect:f.getItemVisual(b,"symbolKeepAspect"),toSymbolOffset:f.getItemVisual(b,"symbolOffset"),toSymbolRotate:f.getItemVisual(b,"symbolRotate"),toSymbolSize:f.getItemVisual(b,"symbolSize"),toSymbol:f.getItemVisual(b,"symbol"),style:T})}),c.updateData(p),h.line.eachItemGraphicEl(function(b){ke(b).dataModel=i,b.traverse(function(T){ke(T).dataModel=i})});function _(b,T,x){var C=b.getItemModel(T);sx(b,T,x,t,a);var D=C.getModel("itemStyle").getItemStyle();D.fill==null&&(D.fill=ag(l,"color")),b.setItemVisual(T,{symbolKeepAspect:C.get("symbolKeepAspect"),symbolOffset:Be(C.get("symbolOffset",!0),y[x?0:1]),symbolRotate:Be(C.get("symbolRotate",!0),m[x?0:1]),symbolSize:Be(C.get("symbolSize"),g[x?0:1]),symbol:Be(C.get("symbol",!0),v[x?0:1]),style:D})}this.markKeep(c),c.group.silent=i.get("silent")||t.get("silent")},e.type="markLine",e}($E);function b2e(r,e,t){var i;r?i=oe(r&&r.dimensions,function(u){var c=e.getData().getDimensionInfo(e.getData().mapDimension(u))||{};return J(J({},c),{name:u,ordinalMeta:null})}):i=[{name:"value",type:"float"}];var n=new wi(i,t),a=new wi(i,t),s=new wi([],t),o=oe(t.get("data"),Ue(m2e,e,r,t));r&&(o=Tt(o,Ue(y2e,r)));var l=qj(!!r,i);return n.initData(oe(o,function(u){return u[0]}),null,l),a.initData(oe(o,function(u){return u[1]}),null,l),s.initData(oe(o,function(u){return u[2]})),s.hasItemOption=!0,{from:n,to:a,line:s}}function S2e(r){r.registerComponentModel(g2e),r.registerComponentView(_2e),r.registerPreprocessor(function(e){GE(e.series,"markLine")&&(e.markLine=e.markLine||{})})}var T2e=function(r){j(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type=e.type,t}return e.prototype.createMarkerModelFromSeries=function(t,i,n){return new e(t,i,n)},e.type="markArea",e.defaultOption={z:1,tooltip:{trigger:"item"},animation:!1,label:{show:!0,position:"top"},itemStyle:{borderWidth:0},emphasis:{label:{show:!0,position:"top"}}},e}(Zs),ey=ot(),x2e=function(r,e,t,i){var n=i[0],a=i[1];if(!(!n||!a)){var s=kv(r,n),o=kv(r,a),l=s.coord,u=o.coord;l[0]=Gr(l[0],-1/0),l[1]=Gr(l[1],-1/0),u[0]=Gr(u[0],1/0),u[1]=Gr(u[1],1/0);var c=WA([{},s,o]);return c.coord=[s.coord,o.coord],c.x0=s.x,c.y0=s.y,c.x1=o.x,c.y1=o.y,c}};function u_(r){return!isNaN(r)&&!isFinite(r)}function P3(r,e,t,i){var n=1-r;return u_(e[n])&&u_(t[n])}function w2e(r,e){var t=e.coord[0],i=e.coord[1],n={coord:t,x:e.x0,y:e.y0},a={coord:i,x:e.x1,y:e.y1};return dc(r,"cartesian2d")?t&&i&&(P3(1,t,i)||P3(0,t,i))?!0:f2e(r,n,a):Rv(r,n)||Rv(r,a)}function M3(r,e,t,i,n){var a=i.coordinateSystem,s=r.getItemModel(e),o,l=ce(s.get(t[0]),n.getWidth()),u=ce(s.get(t[1]),n.getHeight());if(!isNaN(l)&&!isNaN(u))o=[l,u];else{if(i.getMarkerPosition){var c=r.getValues(["x0","y0"],e),h=r.getValues(["x1","y1"],e),d=a.clampData(c),f=a.clampData(h),p=[];t[0]==="x0"?p[0]=d[0]>f[0]?h[0]:c[0]:p[0]=d[0]>f[0]?c[0]:h[0],t[1]==="y0"?p[1]=d[1]>f[1]?h[1]:c[1]:p[1]=d[1]>f[1]?c[1]:h[1],o=i.getMarkerPosition(p,t,!0)}else{var v=r.get(t[0],e),g=r.get(t[1],e),m=[v,g];a.clampData&&a.clampData(m,m),o=a.dataToPoint(m,!0)}if(dc(a,"cartesian2d")){var y=a.getAxis("x"),_=a.getAxis("y"),v=r.get(t[0],e),g=r.get(t[1],e);u_(v)?o[0]=y.toGlobalCoord(y.getExtent()[t[0]==="x0"?0:1]):u_(g)&&(o[1]=_.toGlobalCoord(_.getExtent()[t[1]==="y0"?0:1]))}isNaN(l)||(o[0]=l),isNaN(u)||(o[1]=u)}return o}var L3=[["x0","y0"],["x1","y0"],["x1","y1"],["x0","y1"]],C2e=function(r){j(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type=e.type,t}return e.prototype.updateTransform=function(t,i,n){i.eachSeries(function(a){var s=Zs.getMarkerModelFromSeries(a,"markArea");if(s){var o=s.getData();o.each(function(l){var u=oe(L3,function(h){return M3(o,l,h,a,n)});o.setItemLayout(l,u);var c=o.getItemGraphicEl(l);c.setShape("points",u)})}},this)},e.prototype.renderSeries=function(t,i,n,a){var s=t.coordinateSystem,o=t.id,l=t.getData(),u=this.markerGroupMap,c=u.get(o)||u.set(o,{group:new Le});this.group.add(c.group),this.markKeep(c);var h=A2e(s,t,i);i.setData(h),h.each(function(d){var f=oe(L3,function(D){return M3(h,d,D,t,a)}),p=s.getAxis("x").scale,v=s.getAxis("y").scale,g=p.getExtent(),m=v.getExtent(),y=[p.parse(h.get("x0",d)),p.parse(h.get("x1",d))],_=[v.parse(h.get("y0",d)),v.parse(h.get("y1",d))];Hn(y),Hn(_);var b=!(g[0]>y[1]||g[1]_[1]||m[1]<_[0]),T=!b;h.setItemLayout(d,{points:f,allClipped:T});var x=h.getItemModel(d).getModel("itemStyle").getItemStyle(),C=ag(l,"color");x.fill||(x.fill=C,pe(x.fill)&&(x.fill=C0(x.fill,.4))),x.stroke||(x.stroke=C),h.setItemVisual(d,"style",x)}),h.diff(ey(c).data).add(function(d){var f=h.getItemLayout(d);if(!f.allClipped){var p=new Ii({shape:{points:f.points}});h.setItemGraphicEl(d,p),c.group.add(p)}}).update(function(d,f){var p=ey(c).data.getItemGraphicEl(f),v=h.getItemLayout(d);v.allClipped?p&&c.group.remove(p):(p?ct(p,{shape:{points:v.points}},i,d):p=new Ii({shape:{points:v.points}}),h.setItemGraphicEl(d,p),c.group.add(p))}).remove(function(d){var f=ey(c).data.getItemGraphicEl(d);c.group.remove(f)}).execute(),h.eachItemGraphicEl(function(d,f){var p=h.getItemModel(f),v=h.getItemVisual(f,"style");d.useStyle(h.getItemVisual(f,"style")),Jr(d,Nr(p),{labelFetcher:i,labelDataIndex:f,defaultText:h.getName(f)||"",inheritColor:pe(v.fill)?C0(v.fill,1):"#000"}),Qr(d,p),Yt(d,null,null,p.get(["emphasis","disabled"])),ke(d).dataModel=i}),ey(c).data=h,c.group.silent=i.get("silent")||t.get("silent")},e.type="markArea",e}($E);function A2e(r,e,t){var i,n,a=["x0","y0","x1","y1"];if(r){var s=oe(r&&r.dimensions,function(u){var c=e.getData(),h=c.getDimensionInfo(c.mapDimension(u))||{};return J(J({},h),{name:u,ordinalMeta:null})});n=oe(a,function(u,c){return{name:u,type:s[c%2].type}}),i=new wi(n,t)}else n=[{name:"value",type:"float"}],i=new wi(n,t);var o=oe(t.get("data"),Ue(x2e,e,r,t));r&&(o=Tt(o,Ue(w2e,r)));var l=r?function(u,c,h,d){var f=u.coord[Math.floor(d/2)][d%2];return jo(f,n[d])}:function(u,c,h,d){return jo(u.value,n[d])};return i.initData(o,null,l),i.hasItemOption=!0,i}function D2e(r){r.registerComponentModel(T2e),r.registerComponentView(C2e),r.registerPreprocessor(function(e){GE(e.series,"markArea")&&(e.markArea=e.markArea||{})})}var E2e=function(r,e){if(e==="all")return{type:"all",title:r.getLocaleModel().get(["legend","selector","all"])};if(e==="inverse")return{type:"inverse",title:r.getLocaleModel().get(["legend","selector","inverse"])}},iC=function(r){j(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type=e.type,t.layoutMode={type:"box",ignoreSize:!0},t}return e.prototype.init=function(t,i,n){this.mergeDefaultAndTheme(t,n),t.selected=t.selected||{},this._updateSelector(t)},e.prototype.mergeOption=function(t,i){r.prototype.mergeOption.call(this,t,i),this._updateSelector(t)},e.prototype._updateSelector=function(t){var i=t.selector,n=this.ecModel;i===!0&&(i=t.selector=["all","inverse"]),ie(i)&&R(i,function(a,s){pe(a)&&(a={type:a}),i[s]=We(a,E2e(n,a.type))})},e.prototype.optionUpdated=function(){this._updateData(this.ecModel);var t=this._data;if(t[0]&&this.get("selectedMode")==="single"){for(var i=!1,n=0;n=0},e.prototype.getOrient=function(){return this.get("orient")==="vertical"?{index:1,name:"vertical"}:{index:0,name:"horizontal"}},e.type="legend.plain",e.dependencies=["series"],e.defaultOption={z:4,show:!0,orient:"horizontal",left:"center",top:0,align:"auto",backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderRadius:0,borderWidth:0,padding:5,itemGap:10,itemWidth:25,itemHeight:14,symbolRotate:"inherit",symbolKeepAspect:!0,inactiveColor:"#ccc",inactiveBorderColor:"#ccc",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:"#ccc",inactiveWidth:2,opacity:"inherit",type:"inherit",cap:"inherit",join:"inherit",dashOffset:"inherit",miterLimit:"inherit"},textStyle:{color:"#333"},selectedMode:!0,selector:!1,selectorLabel:{show:!0,borderRadius:10,padding:[3,5,3,5],fontSize:12,fontFamily:"sans-serif",color:"#666",borderWidth:1,borderColor:"#666"},emphasis:{selectorLabel:{show:!0,color:"#eee",backgroundColor:"#666"}},selectorPosition:"auto",selectorItemGap:7,selectorButtonGap:10,tooltip:{show:!1}},e}(tt),Qc=Ue,nC=R,ty=Le,jj=function(r){j(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type=e.type,t.newlineDisabled=!1,t}return e.prototype.init=function(){this.group.add(this._contentGroup=new ty),this.group.add(this._selectorGroup=new ty),this._isFirstRender=!0},e.prototype.getContentGroup=function(){return this._contentGroup},e.prototype.getSelectorGroup=function(){return this._selectorGroup},e.prototype.render=function(t,i,n){var a=this._isFirstRender;if(this._isFirstRender=!1,this.resetInner(),!!t.get("show",!0)){var s=t.get("align"),o=t.get("orient");(!s||s==="auto")&&(s=t.get("left")==="right"&&o==="vertical"?"right":"left");var l=t.get("selector",!0),u=t.get("selectorPosition",!0);l&&(!u||u==="auto")&&(u=o==="horizontal"?"end":"start"),this.renderInner(s,t,i,n,l,o,u);var c=t.getBoxLayoutParams(),h={width:n.getWidth(),height:n.getHeight()},d=t.get("padding"),f=Ar(c,h,d),p=this.layoutInner(t,s,f,a,l,u),v=Ar(Ce({width:p.width,height:p.height},c),h,d);this.group.x=v.x-p.x,this.group.y=v.y-p.y,this.group.markRedraw(),this.group.add(this._backgroundEl=Oj(p,t))}},e.prototype.resetInner=function(){this.getContentGroup().removeAll(),this._backgroundEl&&this.group.remove(this._backgroundEl),this.getSelectorGroup().removeAll()},e.prototype.renderInner=function(t,i,n,a,s,o,l){var u=this.getContentGroup(),c=be(),h=i.get("selectedMode"),d=[];n.eachRawSeries(function(f){!f.get("legendHoverLink")&&d.push(f.id)}),nC(i.getData(),function(f,p){var v=f.get("name");if(!this.newlineDisabled&&(v===""||v===`
`)){var g=new ty;g.newline=!0,u.add(g);return}var m=n.getSeriesByName(v)[0];if(!c.get(v))if(m){var y=m.getData(),_=y.getVisual("legendLineStyle")||{},b=y.getVisual("legendIcon"),T=y.getVisual("style"),x=this._createItem(m,v,p,f,i,t,_,T,b,h,a);x.on("click",Qc(k3,v,null,a,d)).on("mouseover",Qc(aC,m.name,null,a,d)).on("mouseout",Qc(sC,m.name,null,a,d)),n.ssr&&x.eachChild(function(C){var D=ke(C);D.seriesIndex=m.seriesIndex,D.dataIndex=p,D.ssrType="legend"}),c.set(v,!0)}else n.eachRawSeries(function(C){if(!c.get(v)&&C.legendVisualProvider){var D=C.legendVisualProvider;if(!D.containName(v))return;var I=D.indexOfName(v),M=D.getItemVisual(I,"style"),L=D.getItemVisual(I,"legendIcon"),N=gn(M.fill);N&&N[3]===0&&(N[3]=.2,M=J(J({},M),{fill:Os(N,"rgba")}));var O=this._createItem(C,v,p,f,i,t,{},M,L,h,a);O.on("click",Qc(k3,null,v,a,d)).on("mouseover",Qc(aC,null,v,a,d)).on("mouseout",Qc(sC,null,v,a,d)),n.ssr&&O.eachChild(function(B){var F=ke(B);F.seriesIndex=C.seriesIndex,F.dataIndex=p,F.ssrType="legend"}),c.set(v,!0)}},this)},this),s&&this._createSelector(s,i,a,o,l)},e.prototype._createSelector=function(t,i,n,a,s){var o=this.getSelectorGroup();nC(t,function(u){var c=u.type,h=new lt({style:{x:0,y:0,align:"center",verticalAlign:"middle"},onclick:function(){n.dispatchAction({type:c==="all"?"legendAllSelect":"legendInverseSelect"})}});o.add(h);var d=i.getModel("selectorLabel"),f=i.getModel(["emphasis","selectorLabel"]);Jr(h,{normal:d,emphasis:f},{defaultText:u.title}),zu(h)})},e.prototype._createItem=function(t,i,n,a,s,o,l,u,c,h,d){var f=t.visualDrawType,p=s.get("itemWidth"),v=s.get("itemHeight"),g=s.isSelected(i),m=a.get("symbolRotate"),y=a.get("symbolKeepAspect"),_=a.get("icon");c=_||c||"roundRect";var b=I2e(c,a,l,u,f,g,d),T=new ty,x=a.getModel("textStyle");if(we(t.getLegendIcon)&&(!_||_==="inherit"))T.add(t.getLegendIcon({itemWidth:p,itemHeight:v,icon:c,iconRotate:m,itemStyle:b.itemStyle,lineStyle:b.lineStyle,symbolKeepAspect:y}));else{var C=_==="inherit"&&t.getData().getVisual("symbol")?m==="inherit"?t.getData().getVisual("symbolRotate"):m:0;T.add(P2e({itemWidth:p,itemHeight:v,icon:c,iconRotate:C,itemStyle:b.itemStyle,lineStyle:b.lineStyle,symbolKeepAspect:y}))}var D=o==="left"?p+5:-5,I=o,M=s.get("formatter"),L=i;pe(M)&&M?L=M.replace("{name}",i??""):we(M)&&(L=M(i));var N=g?x.getTextColor():a.get("inactiveColor");T.add(new lt({style:kt(x,{text:L,x:D,y:v/2,fill:N,align:I,verticalAlign:"middle"},{inheritColor:N})}));var O=new st({shape:T.getBoundingRect(),style:{fill:"transparent"}}),B=a.getModel("tooltip");return B.get("show")&&kf({el:O,componentModel:s,itemName:i,itemTooltipOption:B.option}),T.add(O),T.eachChild(function(F){F.silent=!0}),O.silent=!h,this.getContentGroup().add(T),zu(T),T.__legendDataIndex=n,T},e.prototype.layoutInner=function(t,i,n,a,s,o){var l=this.getContentGroup(),u=this.getSelectorGroup();Hu(t.get("orient"),l,t.get("itemGap"),n.width,n.height);var c=l.getBoundingRect(),h=[-c.x,-c.y];if(u.markRedraw(),l.markRedraw(),s){Hu("horizontal",u,t.get("selectorItemGap",!0));var d=u.getBoundingRect(),f=[-d.x,-d.y],p=t.get("selectorButtonGap",!0),v=t.getOrient().index,g=v===0?"width":"height",m=v===0?"height":"width",y=v===0?"y":"x";o==="end"?f[v]+=c[g]+p:h[v]+=d[g]+p,f[1-v]+=c[m]/2-d[m]/2,u.x=f[0],u.y=f[1],l.x=h[0],l.y=h[1];var _={x:0,y:0};return _[g]=c[g]+p+d[g],_[m]=Math.max(c[m],d[m]),_[y]=Math.min(0,d[y]+f[1-v]),_}else return l.x=h[0],l.y=h[1],this.group.getBoundingRect()},e.prototype.remove=function(){this.getContentGroup().removeAll(),this._isFirstRender=!0},e.type="legend.plain",e}($t);function I2e(r,e,t,i,n,a,s){function o(g,m){g.lineWidth==="auto"&&(g.lineWidth=m.lineWidth>0?2:0),nC(g,function(y,_){g[_]==="inherit"&&(g[_]=m[_])})}var l=e.getModel("itemStyle"),u=l.getItemStyle(),c=r.lastIndexOf("empty",0)===0?"fill":"stroke",h=l.getShallow("decal");u.decal=!h||h==="inherit"?i.decal:cf(h,s),u.fill==="inherit"&&(u.fill=i[n]),u.stroke==="inherit"&&(u.stroke=i[c]),u.opacity==="inherit"&&(u.opacity=(n==="fill"?i:t).opacity),o(u,i);var d=e.getModel("lineStyle"),f=d.getLineStyle();if(o(f,t),u.fill==="auto"&&(u.fill=i.fill),u.stroke==="auto"&&(u.stroke=i.fill),f.stroke==="auto"&&(f.stroke=i.fill),!a){var p=e.get("inactiveBorderWidth"),v=u[c];u.lineWidth=p==="auto"?i.lineWidth>0&&v?2:0:u.lineWidth,u.fill=e.get("inactiveColor"),u.stroke=e.get("inactiveBorderColor"),f.stroke=d.get("inactiveColor"),f.lineWidth=d.get("inactiveWidth")}return{itemStyle:u,lineStyle:f}}function P2e(r){var e=r.icon||"roundRect",t=yr(e,0,0,r.itemWidth,r.itemHeight,r.itemStyle.fill,r.symbolKeepAspect);return t.setStyle(r.itemStyle),t.rotation=(r.iconRotate||0)*Math.PI/180,t.setOrigin([r.itemWidth/2,r.itemHeight/2]),e.indexOf("empty")>-1&&(t.style.stroke=t.style.fill,t.style.fill="#fff",t.style.lineWidth=2),t}function k3(r,e,t,i){sC(r,e,t,i),t.dispatchAction({type:"legendToggleSelect",name:r??e}),aC(r,e,t,i)}function Xj(r){for(var e=r.getZr().storage.getDisplayList(),t,i=0,n=e.length;in[s],g=[-f.x,-f.y];i||(g[a]=c[u]);var m=[0,0],y=[-p.x,-p.y],_=Be(t.get("pageButtonGap",!0),t.get("itemGap",!0));if(v){var b=t.get("pageButtonPosition",!0);b==="end"?y[a]+=n[s]-p[s]:m[a]+=p[s]+_}y[1-a]+=f[o]/2-p[o]/2,c.setPosition(g),h.setPosition(m),d.setPosition(y);var T={x:0,y:0};if(T[s]=v?n[s]:f[s],T[o]=Math.max(f[o],p[o]),T[l]=Math.min(0,p[l]+y[1-a]),h.__rectSize=n[s],v){var x={x:0,y:0};x[s]=Math.max(n[s]-p[s]-_,0),x[o]=T[o],h.setClipPath(new st({shape:x})),h.__rectSize=x[s]}else d.eachChild(function(D){D.attr({invisible:!0,silent:!0})});var C=this._getPageInfo(t);return C.pageIndex!=null&&ct(c,{x:C.contentPosition[0],y:C.contentPosition[1]},v?t:null),this._updatePageInfoView(t,C),T},e.prototype._pageGo=function(t,i,n){var a=this._getPageInfo(i)[t];a!=null&&n.dispatchAction({type:"legendScroll",scrollDataIndex:a,legendId:i.id})},e.prototype._updatePageInfoView=function(t,i){var n=this._controllerGroup;R(["pagePrev","pageNext"],function(c){var h=c+"DataIndex",d=i[h]!=null,f=n.childOfName(c);f&&(f.setStyle("fill",d?t.get("pageIconColor",!0):t.get("pageIconInactiveColor",!0)),f.cursor=d?"pointer":"default")});var a=n.childOfName("pageText"),s=t.get("pageFormatter"),o=i.pageIndex,l=o!=null?o+1:0,u=i.pageCount;a&&s&&a.setStyle("text",pe(s)?s.replace("{current}",l==null?"":l+"").replace("{total}",u==null?"":u+""):s({current:l,total:u}))},e.prototype._getPageInfo=function(t){var i=t.get("scrollDataIndex",!0),n=this.getContentGroup(),a=this._containerGroup.__rectSize,s=t.getOrient().index,o=ox[s],l=lx[s],u=this._findTargetItemIndex(i),c=n.children(),h=c[u],d=c.length,f=d?1:0,p={contentPosition:[n.x,n.y],pageCount:f,pageIndex:f-1,pagePrevDataIndex:null,pageNextDataIndex:null};if(!h)return p;var v=b(h);p.contentPosition[s]=-v.s;for(var g=u+1,m=v,y=v,_=null;g<=d;++g)_=b(c[g]),(!_&&y.e>m.s+a||_&&!T(_,m.s))&&(y.i>m.i?m=y:m=_,m&&(p.pageNextDataIndex==null&&(p.pageNextDataIndex=m.i),++p.pageCount)),y=_;for(var g=u-1,m=v,y=v,_=null;g>=-1;--g)_=b(c[g]),(!_||!T(y,_.s))&&m.i=C&&x.s<=C+a}},e.prototype._findTargetItemIndex=function(t){if(!this._showController)return 0;var i,n=this.getContentGroup(),a;return n.eachChild(function(s,o){var l=s.__legendDataIndex;a==null&&l!=null&&(a=o),l===t&&(i=o)}),i??a},e.type="legend.scroll",e}(jj);function O2e(r){r.registerAction("legendScroll","legendscroll",function(e,t){var i=e.scrollDataIndex;i!=null&&t.eachComponent({mainType:"legend",subType:"scroll",query:e},function(n){n.setScrollDataIndex(i)})})}function N2e(r){Ze(Yj),r.registerComponentModel(k2e),r.registerComponentView(R2e),O2e(r)}function B2e(r){Ze(Yj),Ze(N2e)}var F2e=function(r){j(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type=e.type,t}return e.type="dataZoom.inside",e.defaultOption=hl(Lv.defaultOption,{disabled:!1,zoomLock:!1,zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!1,preventDefaultMouseMove:!0}),e}(Lv),WE=ot();function U2e(r,e,t){WE(r).coordSysRecordMap.each(function(i){var n=i.dataZoomInfoMap.get(e.uid);n&&(n.getRange=t)})}function V2e(r,e){for(var t=WE(r).coordSysRecordMap,i=t.keys(),n=0;ni[t+e]&&(e=o),n=n&&s.get("preventDefaultMouseMove",!0)}),{controlType:e,opt:{zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!0,preventDefaultMouseMove:!!n}}}function W2e(r){r.registerProcessor(r.PRIORITY.PROCESSOR.FILTER,function(e,t){var i=WE(t),n=i.coordSysRecordMap||(i.coordSysRecordMap=be());n.each(function(a){a.dataZoomInfoMap=null}),e.eachComponent({mainType:"dataZoom",subType:"inside"},function(a){var s=Lj(a);R(s.infoList,function(o){var l=o.model.uid,u=n.get(l)||n.set(l,z2e(t,o.model)),c=u.dataZoomInfoMap||(u.dataZoomInfoMap=be());c.set(a.uid,{dzReferCoordSysInfo:o,model:a,getRange:null})})}),n.each(function(a){var s=a.controller,o,l=a.dataZoomInfoMap;if(l){var u=l.keys()[0];u!=null&&(o=l.get(u))}if(!o){Kj(n,a);return}var c=$2e(l);s.enable(c.controlType,c.opt),s.setPointerChecker(a.containsPoint),Vf(a,"dispatchAction",o.model.get("throttle",!0),"fixRate")})})}var q2e=function(r){j(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type="dataZoom.inside",t}return e.prototype.render=function(t,i,n){if(r.prototype.render.apply(this,arguments),t.noTarget()){this._clear();return}this.range=t.getPercentRange(),U2e(n,t,{pan:ge(ux.pan,this),zoom:ge(ux.zoom,this),scrollMove:ge(ux.scrollMove,this)})},e.prototype.dispose=function(){this._clear(),r.prototype.dispose.apply(this,arguments)},e.prototype._clear=function(){V2e(this.api,this.dataZoomModel),this.range=null},e.type="dataZoom.inside",e}(NE),ux={zoom:function(r,e,t,i){var n=this.range,a=n.slice(),s=r.axisModels[0];if(s){var o=cx[e](null,[i.originX,i.originY],s,t,r),l=(o.signal>0?o.pixelStart+o.pixelLength-o.pixel:o.pixel-o.pixelStart)/o.pixelLength*(a[1]-a[0])+a[0],u=Math.max(1/i.scale,0);a[0]=(a[0]-l)*u+l,a[1]=(a[1]-l)*u+l;var c=this.dataZoomModel.findRepresentativeAxisProxy().getMinMaxSpan();if(vc(0,a,[0,100],0,c.minSpan,c.maxSpan),this.range=a,n[0]!==a[0]||n[1]!==a[1])return a}},pan:N3(function(r,e,t,i,n,a){var s=cx[i]([a.oldX,a.oldY],[a.newX,a.newY],e,n,t);return s.signal*(r[1]-r[0])*s.pixel/s.pixelLength}),scrollMove:N3(function(r,e,t,i,n,a){var s=cx[i]([0,0],[a.scrollDelta,a.scrollDelta],e,n,t);return s.signal*(r[1]-r[0])*a.scrollDelta})};function N3(r){return function(e,t,i,n){var a=this.range,s=a.slice(),o=e.axisModels[0];if(o){var l=r(s,o,e,t,i,n);if(vc(l,s,[0,100],"all"),this.range=s,a[0]!==s[0]||a[1]!==s[1])return s}}}var cx={grid:function(r,e,t,i,n){var a=t.axis,s={},o=n.model.coordinateSystem.getRect();return r=r||[0,0],a.dim==="x"?(s.pixel=e[0]-r[0],s.pixelLength=o.width,s.pixelStart=o.x,s.signal=a.inverse?1:-1):(s.pixel=e[1]-r[1],s.pixelLength=o.height,s.pixelStart=o.y,s.signal=a.inverse?-1:1),s},polar:function(r,e,t,i,n){var a=t.axis,s={},o=n.model.coordinateSystem,l=o.getRadiusAxis().getExtent(),u=o.getAngleAxis().getExtent();return r=r?o.pointToCoord(r):[0,0],e=o.pointToCoord(e),t.mainType==="radiusAxis"?(s.pixel=e[0]-r[0],s.pixelLength=l[1]-l[0],s.pixelStart=l[0],s.signal=a.inverse?1:-1):(s.pixel=e[1]-r[1],s.pixelLength=u[1]-u[0],s.pixelStart=u[0],s.signal=a.inverse?-1:1),s},singleAxis:function(r,e,t,i,n){var a=t.axis,s=n.model.coordinateSystem.getRect(),o={};return r=r||[0,0],a.orient==="horizontal"?(o.pixel=e[0]-r[0],o.pixelLength=s.width,o.pixelStart=s.x,o.signal=a.inverse?1:-1):(o.pixel=e[1]-r[1],o.pixelLength=s.height,o.pixelStart=s.y,o.signal=a.inverse?-1:1),o}};function Zj(r){BE(r),r.registerComponentModel(F2e),r.registerComponentView(q2e),W2e(r)}var j2e=function(r){j(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type=e.type,t}return e.type="dataZoom.slider",e.layoutMode="box",e.defaultOption=hl(Lv.defaultOption,{show:!0,right:"ph",top:"ph",width:"ph",height:"ph",left:null,bottom:null,borderColor:"#d2dbee",borderRadius:3,backgroundColor:"rgba(47,69,84,0)",dataBackground:{lineStyle:{color:"#d2dbee",width:.5},areaStyle:{color:"#d2dbee",opacity:.2}},selectedDataBackground:{lineStyle:{color:"#8fb0f7",width:.5},areaStyle:{color:"#8fb0f7",opacity:.2}},fillerColor:"rgba(135,175,274,0.2)",handleIcon:"path://M-9.35,34.56V42m0-40V9.5m-2,0h4a2,2,0,0,1,2,2v21a2,2,0,0,1-2,2h-4a2,2,0,0,1-2-2v-21A2,2,0,0,1-11.35,9.5Z",handleSize:"100%",handleStyle:{color:"#fff",borderColor:"#ACB8D1"},moveHandleSize:7,moveHandleIcon:"path://M-320.9-50L-320.9-50c18.1,0,27.1,9,27.1,27.1V85.7c0,18.1-9,27.1-27.1,27.1l0,0c-18.1,0-27.1-9-27.1-27.1V-22.9C-348-41-339-50-320.9-50z M-212.3-50L-212.3-50c18.1,0,27.1,9,27.1,27.1V85.7c0,18.1-9,27.1-27.1,27.1l0,0c-18.1,0-27.1-9-27.1-27.1V-22.9C-239.4-41-230.4-50-212.3-50z M-103.7-50L-103.7-50c18.1,0,27.1,9,27.1,27.1V85.7c0,18.1-9,27.1-27.1,27.1l0,0c-18.1,0-27.1-9-27.1-27.1V-22.9C-130.9-41-121.8-50-103.7-50z",moveHandleStyle:{color:"#D2DBEE",opacity:.7},showDetail:!0,showDataShadow:"auto",realtime:!0,zoomLock:!1,textStyle:{color:"#6E7079"},brushSelect:!0,brushStyle:{color:"rgba(135,175,274,0.15)"},emphasis:{handleStyle:{borderColor:"#8FB0F7"},moveHandleStyle:{color:"#8FB0F7"}}}),e}(Lv),Vd=st,B3=7,X2e=1,hx=30,Y2e=7,zd="horizontal",F3="vertical",K2e=5,Z2e=["line","bar","candlestick","scatter"],Q2e={easing:"cubicOut",duration:100,delay:0},J2e=function(r){j(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type=e.type,t._displayables={},t}return e.prototype.init=function(t,i){this.api=i,this._onBrush=ge(this._onBrush,this),this._onBrushEnd=ge(this._onBrushEnd,this)},e.prototype.render=function(t,i,n,a){if(r.prototype.render.apply(this,arguments),Vf(this,"_dispatchZoomAction",t.get("throttle"),"fixRate"),this._orient=t.getOrient(),t.get("show")===!1){this.group.removeAll();return}if(t.noTarget()){this._clear(),this.group.removeAll();return}(!a||a.type!=="dataZoom"||a.from!==this.uid)&&this._buildView(),this._updateView()},e.prototype.dispose=function(){this._clear(),r.prototype.dispose.apply(this,arguments)},e.prototype._clear=function(){_v(this,"_dispatchZoomAction");var t=this.api.getZr();t.off("mousemove",this._onBrush),t.off("mouseup",this._onBrushEnd)},e.prototype._buildView=function(){var t=this.group;t.removeAll(),this._brushing=!1,this._displayables.brushRect=null,this._resetLocation(),this._resetInterval();var i=this._displayables.sliderGroup=new Le;this._renderBackground(),this._renderHandle(),this._renderDataShadow(),t.add(i),this._positionGroup()},e.prototype._resetLocation=function(){var t=this.dataZoomModel,i=this.api,n=t.get("brushSelect"),a=n?Y2e:0,s=this._findCoordRect(),o={width:i.getWidth(),height:i.getHeight()},l=this._orient===zd?{right:o.width-s.x-s.width,top:o.height-hx-B3-a,width:s.width,height:hx}:{right:B3,top:s.y,width:hx,height:s.height},u=Bf(t.option);R(["right","top","width","height"],function(h){u[h]==="ph"&&(u[h]=l[h])});var c=Ar(u,o);this._location={x:c.x,y:c.y},this._size=[c.width,c.height],this._orient===F3&&this._size.reverse()},e.prototype._positionGroup=function(){var t=this.group,i=this._location,n=this._orient,a=this.dataZoomModel.getFirstTargetAxisModel(),s=a&&a.get("inverse"),o=this._displayables.sliderGroup,l=(this._dataShadowInfo||{}).otherAxisInverse;o.attr(n===zd&&!s?{scaleY:l?1:-1,scaleX:1}:n===zd&&s?{scaleY:l?1:-1,scaleX:-1}:n===F3&&!s?{scaleY:l?-1:1,scaleX:1,rotation:Math.PI/2}:{scaleY:l?-1:1,scaleX:-1,rotation:Math.PI/2});var u=t.getBoundingRect([o]);t.x=i.x-u.x,t.y=i.y-u.y,t.markRedraw()},e.prototype._getViewExtent=function(){return[0,this._size[0]]},e.prototype._renderBackground=function(){var t=this.dataZoomModel,i=this._size,n=this._displayables.sliderGroup,a=t.get("brushSelect");n.add(new Vd({silent:!0,shape:{x:0,y:0,width:i[0],height:i[1]},style:{fill:t.get("backgroundColor")},z2:-40}));var s=new Vd({shape:{x:0,y:0,width:i[0],height:i[1]},style:{fill:"transparent"},z2:0,onclick:ge(this._onClickPanel,this)}),o=this.api.getZr();a?(s.on("mousedown",this._onBrushStart,this),s.cursor="crosshair",o.on("mousemove",this._onBrush),o.on("mouseup",this._onBrushEnd)):(o.off("mousemove",this._onBrush),o.off("mouseup",this._onBrushEnd)),n.add(s)},e.prototype._renderDataShadow=function(){var t=this._dataShadowInfo=this._prepareDataShadowInfo();if(this._displayables.dataShadowSegs=[],!t)return;var i=this._size,n=this._shadowSize||[],a=t.series,s=a.getRawData(),o=a.getShadowDim&&a.getShadowDim(),l=o&&s.getDimensionInfo(o)?a.getShadowDim():t.otherDim;if(l==null)return;var u=this._shadowPolygonPts,c=this._shadowPolylinePts;if(s!==this._shadowData||l!==this._shadowDim||i[0]!==n[0]||i[1]!==n[1]){var h=s.getDataExtent(l),d=(h[1]-h[0])*.3;h=[h[0]-d,h[1]+d];var f=[0,i[1]],p=[0,i[0]],v=[[i[0],0],[0,0]],g=[],m=p[1]/(s.count()-1),y=0,_=Math.round(s.count()/i[0]),b;s.each([l],function(I,M){if(_>0&&M%_){y+=m;return}var L=I==null||isNaN(I)||I==="",N=L?0:bt(I,h,f,!0);L&&!b&&M?(v.push([v[v.length-1][0],0]),g.push([g[g.length-1][0],0])):!L&&b&&(v.push([y,0]),g.push([y,0])),v.push([y,N]),g.push([y,N]),y+=m,b=L}),u=this._shadowPolygonPts=v,c=this._shadowPolylinePts=g}this._shadowData=s,this._shadowDim=l,this._shadowSize=[i[0],i[1]];var T=this.dataZoomModel;function x(I){var M=T.getModel(I?"selectedDataBackground":"dataBackground"),L=new Le,N=new Ii({shape:{points:u},segmentIgnoreThreshold:1,style:M.getModel("areaStyle").getAreaStyle(),silent:!0,z2:-20}),O=new Pi({shape:{points:c},segmentIgnoreThreshold:1,style:M.getModel("lineStyle").getLineStyle(),silent:!0,z2:-19});return L.add(N),L.add(O),L}for(var C=0;C<3;C++){var D=x(C===1);this._displayables.sliderGroup.add(D),this._displayables.dataShadowSegs.push(D)}},e.prototype._prepareDataShadowInfo=function(){var t=this.dataZoomModel,i=t.get("showDataShadow");if(i!==!1){var n,a=this.ecModel;return t.eachTargetAxis(function(s,o){var l=t.getAxisProxy(s,o).getTargetSeriesModels();R(l,function(u){if(!n&&!(i!==!0&&Xe(Z2e,u.get("type"))<0)){var c=a.getComponent(Go(s),o).axis,h=eCe(s),d,f=u.coordinateSystem;h!=null&&f.getOtherAxis&&(d=f.getOtherAxis(c).inverse),h=u.getData().mapDimension(h),n={thisAxis:c,series:u,thisDim:s,otherDim:h,otherAxisInverse:d}}},this)},this),n}},e.prototype._renderHandle=function(){var t=this.group,i=this._displayables,n=i.handles=[null,null],a=i.handleLabels=[null,null],s=this._displayables.sliderGroup,o=this._size,l=this.dataZoomModel,u=this.api,c=l.get("borderRadius")||0,h=l.get("brushSelect"),d=i.filler=new Vd({silent:h,style:{fill:l.get("fillerColor")},textConfig:{position:"inside"}});s.add(d),s.add(new Vd({silent:!0,subPixelOptimize:!0,shape:{x:0,y:0,width:o[0],height:o[1],r:c},style:{stroke:l.get("dataBackgroundColor")||l.get("borderColor"),lineWidth:X2e,fill:"rgba(0,0,0,0)"}})),R([0,1],function(_){var b=l.get("handleIcon");!V0[b]&&b.indexOf("path://")<0&&b.indexOf("image://")<0&&(b="path://"+b);var T=yr(b,-1,0,2,2,null,!0);T.attr({cursor:U3(this._orient),draggable:!0,drift:ge(this._onDragMove,this,_),ondragend:ge(this._onDragEnd,this),onmouseover:ge(this._showDataInfo,this,!0),onmouseout:ge(this._showDataInfo,this,!1),z2:5});var x=T.getBoundingRect(),C=l.get("handleSize");this._handleHeight=ce(C,this._size[1]),this._handleWidth=x.width/x.height*this._handleHeight,T.setStyle(l.getModel("handleStyle").getItemStyle()),T.style.strokeNoScale=!0,T.rectHover=!0,T.ensureState("emphasis").style=l.getModel(["emphasis","handleStyle"]).getItemStyle(),zu(T);var D=l.get("handleColor");D!=null&&(T.style.fill=D),s.add(n[_]=T);var I=l.getModel("textStyle");t.add(a[_]=new lt({silent:!0,invisible:!0,style:kt(I,{x:0,y:0,text:"",verticalAlign:"middle",align:"center",fill:I.getTextColor(),font:I.getFont()}),z2:10}))},this);var f=d;if(h){var p=ce(l.get("moveHandleSize"),o[1]),v=i.moveHandle=new st({style:l.getModel("moveHandleStyle").getItemStyle(),silent:!0,shape:{r:[0,0,2,2],y:o[1]-.5,height:p}}),g=p*.8,m=i.moveHandleIcon=yr(l.get("moveHandleIcon"),-g/2,-g/2,g,g,"#fff",!0);m.silent=!0,m.y=o[1]+p/2-.5,v.ensureState("emphasis").style=l.getModel(["emphasis","moveHandleStyle"]).getItemStyle();var y=Math.min(o[1]/2,Math.max(p,10));f=i.moveZone=new st({invisible:!0,shape:{y:o[1]-y,height:p+y}}),f.on("mouseover",function(){u.enterEmphasis(v)}).on("mouseout",function(){u.leaveEmphasis(v)}),s.add(v),s.add(m),s.add(f)}f.attr({draggable:!0,cursor:U3(this._orient),drift:ge(this._onDragMove,this,"all"),ondragstart:ge(this._showDataInfo,this,!0),ondragend:ge(this._onDragEnd,this),onmouseover:ge(this._showDataInfo,this,!0),onmouseout:ge(this._showDataInfo,this,!1)})},e.prototype._resetInterval=function(){var t=this._range=this.dataZoomModel.getPercentRange(),i=this._getViewExtent();this._handleEnds=[bt(t[0],[0,100],i,!0),bt(t[1],[0,100],i,!0)]},e.prototype._updateInterval=function(t,i){var n=this.dataZoomModel,a=this._handleEnds,s=this._getViewExtent(),o=n.findRepresentativeAxisProxy().getMinMaxSpan(),l=[0,100];vc(i,a,s,n.get("zoomLock")?"all":t,o.minSpan!=null?bt(o.minSpan,l,s,!0):null,o.maxSpan!=null?bt(o.maxSpan,l,s,!0):null);var u=this._range,c=this._range=Hn([bt(a[0],s,l,!0),bt(a[1],s,l,!0)]);return!u||u[0]!==c[0]||u[1]!==c[1]},e.prototype._updateView=function(t){var i=this._displayables,n=this._handleEnds,a=Hn(n.slice()),s=this._size;R([0,1],function(f){var p=i.handles[f],v=this._handleHeight;p.attr({scaleX:v/2,scaleY:v/2,x:n[f]+(f?-1:1),y:s[1]/2-v/2})},this),i.filler.setShape({x:a[0],y:0,width:a[1]-a[0],height:s[1]});var o={x:a[0],width:a[1]-a[0]};i.moveHandle&&(i.moveHandle.setShape(o),i.moveZone.setShape(o),i.moveZone.getBoundingRect(),i.moveHandleIcon&&i.moveHandleIcon.attr("x",o.x+o.width/2));for(var l=i.dataShadowSegs,u=[0,a[0],a[1],s[0]],c=0;ci[0]||n[1]<0||n[1]>i[1])){var a=this._handleEnds,s=(a[0]+a[1])/2,o=this._updateInterval("all",n[0]-s);this._updateView(),o&&this._dispatchZoomAction(!1)}},e.prototype._onBrushStart=function(t){var i=t.offsetX,n=t.offsetY;this._brushStart=new He(i,n),this._brushing=!0,this._brushStartTime=+new Date},e.prototype._onBrushEnd=function(t){if(this._brushing){var i=this._displayables.brushRect;if(this._brushing=!1,!!i){i.attr("ignore",!0);var n=i.shape,a=+new Date;if(!(a-this._brushStartTime<200&&Math.abs(n.width)<5)){var s=this._getViewExtent(),o=[0,100];this._range=Hn([bt(n.x,s,o,!0),bt(n.x+n.width,s,o,!0)]),this._handleEnds=[n.x,n.x+n.width],this._updateView(),this._dispatchZoomAction(!1)}}}},e.prototype._onBrush=function(t){this._brushing&&($s(t.event),this._updateBrushRect(t.offsetX,t.offsetY))},e.prototype._updateBrushRect=function(t,i){var n=this._displayables,a=this.dataZoomModel,s=n.brushRect;s||(s=n.brushRect=new Vd({silent:!0,style:a.getModel("brushStyle").getItemStyle()}),n.sliderGroup.add(s)),s.attr("ignore",!1);var o=this._brushStart,l=this._displayables.sliderGroup,u=l.transformCoordToLocal(t,i),c=l.transformCoordToLocal(o.x,o.y),h=this._size;u[0]=Math.max(Math.min(h[0],u[0]),0),s.setShape({x:c[0],y:0,width:u[0]-c[0],height:h[1]})},e.prototype._dispatchZoomAction=function(t){var i=this._range;this.api.dispatchAction({type:"dataZoom",from:this.uid,dataZoomId:this.dataZoomModel.id,animation:t?Q2e:null,start:i[0],end:i[1]})},e.prototype._findCoordRect=function(){var t,i=Lj(this.dataZoomModel).infoList;if(!t&&i.length){var n=i[0].model.coordinateSystem;t=n.getRect&&n.getRect()}if(!t){var a=this.api.getWidth(),s=this.api.getHeight();t={x:a*.2,y:s*.2,width:a*.6,height:s*.6}}return t},e.type="dataZoom.slider",e}(NE);function eCe(r){var e={x:"y",y:"x",radius:"angle",angle:"radius"};return e[r]}function U3(r){return r==="vertical"?"ns-resize":"ew-resize"}function Qj(r){r.registerComponentModel(j2e),r.registerComponentView(J2e),BE(r)}function tCe(r){Ze(Zj),Ze(Qj)}var Jj={get:function(r,e,t){var i=Ee((rCe[r]||{})[e]);return t&&ie(i)?i[i.length-1]:i}},rCe={color:{active:["#006edd","#e0ffff"],inactive:["rgba(0,0,0,0)"]},colorHue:{active:[0,360],inactive:[0,0]},colorSaturation:{active:[.3,1],inactive:[0,0]},colorLightness:{active:[.9,.5],inactive:[0,0]},colorAlpha:{active:[.3,1],inactive:[0,0]},opacity:{active:[.3,1],inactive:[0,0]},symbol:{active:["circle","roundRect","diamond"],inactive:["none"]},symbolSize:{active:[10,50],inactive:[0,0]}},V3=Or.mapVisual,iCe=Or.eachVisual,nCe=ie,z3=R,aCe=Hn,sCe=bt,c_=function(r){j(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type=e.type,t.stateList=["inRange","outOfRange"],t.replacableOptionKeys=["inRange","outOfRange","target","controller","color"],t.layoutMode={type:"box",ignoreSize:!0},t.dataBound=[-1/0,1/0],t.targetVisuals={},t.controllerVisuals={},t}return e.prototype.init=function(t,i,n){this.mergeDefaultAndTheme(t,n)},e.prototype.optionUpdated=function(t,i){var n=this.option;!i&&Gj(n,t,this.replacableOptionKeys),this.textStyleModel=this.getModel("textStyle"),this.resetItemSize(),this.completeVisualOption()},e.prototype.resetVisual=function(t){var i=this.stateList;t=ge(t,this),this.controllerVisuals=eC(this.option.controller,i,t),this.targetVisuals=eC(this.option.target,i,t)},e.prototype.getItemSymbol=function(){return null},e.prototype.getTargetSeriesIndices=function(){var t=this.option.seriesIndex,i=[];return t==null||t==="all"?this.ecModel.eachSeries(function(n,a){i.push(a)}):i=xt(t),i},e.prototype.eachTargetSeries=function(t,i){R(this.getTargetSeriesIndices(),function(n){var a=this.ecModel.getSeriesByIndex(n);a&&t.call(i,a)},this)},e.prototype.isTargetSeries=function(t){var i=!1;return this.eachTargetSeries(function(n){n===t&&(i=!0)}),i},e.prototype.formatValueText=function(t,i,n){var a=this.option,s=a.precision,o=this.dataBound,l=a.formatter,u;n=n||["<",">"],ie(t)&&(t=t.slice(),u=!0);var c=i?t:u?[h(t[0]),h(t[1])]:h(t);if(pe(l))return l.replace("{value}",u?c[0]:c).replace("{value2}",u?c[1]:c);if(we(l))return u?l(t[0],t[1]):l(t);if(u)return t[0]===o[0]?n[0]+" "+c[1]:t[1]===o[1]?n[1]+" "+c[0]:c[0]+" - "+c[1];return c;function h(d){return d===o[0]?"min":d===o[1]?"max":(+d).toFixed(Math.min(s,20))}},e.prototype.resetExtent=function(){var t=this.option,i=aCe([t.min,t.max]);this._dataExtent=i},e.prototype.getDataDimensionIndex=function(t){var i=this.option.dimension;if(i!=null)return t.getDimensionIndex(i);for(var n=t.dimensions,a=n.length-1;a>=0;a--){var s=n[a],o=t.getDimensionInfo(s);if(!o.isCalculationCoord)return o.storeDimIndex}},e.prototype.getExtent=function(){return this._dataExtent.slice()},e.prototype.completeVisualOption=function(){var t=this.ecModel,i=this.option,n={inRange:i.inRange,outOfRange:i.outOfRange},a=i.target||(i.target={}),s=i.controller||(i.controller={});We(a,n),We(s,n);var o=this.isCategory();l.call(this,a),l.call(this,s),u.call(this,a,"inRange","outOfRange"),c.call(this,s);function l(h){nCe(i.color)&&!h.inRange&&(h.inRange={color:i.color.slice().reverse()}),h.inRange=h.inRange||{color:t.get("gradientColor")}}function u(h,d,f){var p=h[d],v=h[f];p&&!v&&(v=h[f]={},z3(p,function(g,m){if(Or.isValidType(m)){var y=Jj.get(m,"inactive",o);y!=null&&(v[m]=y,m==="color"&&!v.hasOwnProperty("opacity")&&!v.hasOwnProperty("colorAlpha")&&(v.opacity=[0,0]))}}))}function c(h){var d=(h.inRange||{}).symbol||(h.outOfRange||{}).symbol,f=(h.inRange||{}).symbolSize||(h.outOfRange||{}).symbolSize,p=this.get("inactiveColor"),v=this.getItemSymbol(),g=v||"roundRect";z3(this.stateList,function(m){var y=this.itemSize,_=h[m];_||(_=h[m]={color:o?p:[p]}),_.symbol==null&&(_.symbol=d&&Ee(d)||(o?g:[g])),_.symbolSize==null&&(_.symbolSize=f&&Ee(f)||(o?y[0]:[y[0],y[0]])),_.symbol=V3(_.symbol,function(x){return x==="none"?g:x});var b=_.symbolSize;if(b!=null){var T=-1/0;iCe(b,function(x){x>T&&(T=x)}),_.symbolSize=V3(b,function(x){return sCe(x,[0,T],[0,y[0]],!0)})}},this)}},e.prototype.resetItemSize=function(){this.itemSize=[parseFloat(this.get("itemWidth")),parseFloat(this.get("itemHeight"))]},e.prototype.isCategory=function(){return!!this.option.categories},e.prototype.setSelected=function(t){},e.prototype.getSelected=function(){return null},e.prototype.getValueState=function(t){return null},e.prototype.getVisualMeta=function(t){return null},e.type="visualMap",e.dependencies=["series"],e.defaultOption={show:!0,z:4,seriesIndex:"all",min:0,max:200,left:0,right:null,top:null,bottom:0,itemWidth:null,itemHeight:null,inverse:!1,orient:"vertical",backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",contentColor:"#5793f3",inactiveColor:"#aaa",borderWidth:0,padding:5,textGap:10,precision:0,textStyle:{color:"#333"}},e}(tt),G3=[20,140],oCe=function(r){j(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type=e.type,t}return e.prototype.optionUpdated=function(t,i){r.prototype.optionUpdated.apply(this,arguments),this.resetExtent(),this.resetVisual(function(n){n.mappingMethod="linear",n.dataExtent=this.getExtent()}),this._resetRange()},e.prototype.resetItemSize=function(){r.prototype.resetItemSize.apply(this,arguments);var t=this.itemSize;(t[0]==null||isNaN(t[0]))&&(t[0]=G3[0]),(t[1]==null||isNaN(t[1]))&&(t[1]=G3[1])},e.prototype._resetRange=function(){var t=this.getExtent(),i=this.option.range;!i||i.auto?(t.auto=1,this.option.range=t):ie(i)&&(i[0]>i[1]&&i.reverse(),i[0]=Math.max(i[0],t[0]),i[1]=Math.min(i[1],t[1]))},e.prototype.completeVisualOption=function(){r.prototype.completeVisualOption.apply(this,arguments),R(this.stateList,function(t){var i=this.option.controller[t].symbolSize;i&&i[0]!==i[1]&&(i[0]=i[1]/3)},this)},e.prototype.setSelected=function(t){this.option.range=t.slice(),this._resetRange()},e.prototype.getSelected=function(){var t=this.getExtent(),i=Hn((this.get("range")||[]).slice());return i[0]>t[1]&&(i[0]=t[1]),i[1]>t[1]&&(i[1]=t[1]),i[0]=n[1]||t<=i[1])?"inRange":"outOfRange"},e.prototype.findTargetDataIndices=function(t){var i=[];return this.eachTargetSeries(function(n){var a=[],s=n.getData();s.each(this.getDataDimensionIndex(s),function(o,l){t[0]<=o&&o<=t[1]&&a.push(l)},this),i.push({seriesId:n.id,dataIndex:a})},this),i},e.prototype.getVisualMeta=function(t){var i=H3(this,"outOfRange",this.getExtent()),n=H3(this,"inRange",this.option.range.slice()),a=[];function s(f,p){a.push({value:f,color:t(f,p)})}for(var o=0,l=0,u=n.length,c=i.length;lt[1])break;a.push({color:this.getControllerVisual(l,"color",i),offset:o/n})}return a.push({color:this.getControllerVisual(t[1],"color",i),offset:1}),a},e.prototype._createBarPoints=function(t,i){var n=this.visualMapModel.itemSize;return[[n[0]-i[0],t[0]],[n[0],t[0]],[n[0],t[1]],[n[0]-i[1],t[1]]]},e.prototype._createBarGroup=function(t){var i=this._orient,n=this.visualMapModel.get("inverse");return new Le(i==="horizontal"&&!n?{scaleX:t==="bottom"?1:-1,rotation:Math.PI/2}:i==="horizontal"&&n?{scaleX:t==="bottom"?-1:1,rotation:-Math.PI/2}:i==="vertical"&&!n?{scaleX:t==="left"?1:-1,scaleY:-1}:{scaleX:t==="left"?1:-1})},e.prototype._updateHandle=function(t,i){if(this._useHandle){var n=this._shapes,a=this.visualMapModel,s=n.handleThumbs,o=n.handleLabels,l=a.itemSize,u=a.getExtent();lCe([0,1],function(c){var h=s[c];h.setStyle("fill",i.handlesColor[c]),h.y=t[c];var d=La(t[c],[0,l[1]],u,!0),f=this.getControllerVisual(d,"symbolSize");h.scaleX=h.scaleY=f/l[0],h.x=l[0]-f/2;var p=ma(n.handleLabelPoints[c],Gu(h,this.group));o[c].setStyle({x:p[0],y:p[1],text:a.formatValueText(this._dataInterval[c]),verticalAlign:"middle",align:this._orient==="vertical"?this._applyTransform("left",n.mainGroup):"center"})},this)}},e.prototype._showIndicator=function(t,i,n,a){var s=this.visualMapModel,o=s.getExtent(),l=s.itemSize,u=[0,l[1]],c=this._shapes,h=c.indicator;if(h){h.attr("invisible",!1);var d={convertOpacityToAlpha:!0},f=this.getControllerVisual(t,"color",d),p=this.getControllerVisual(t,"symbolSize"),v=La(t,o,u,!0),g=l[0]-p/2,m={x:h.x,y:h.y};h.y=v,h.x=g;var y=ma(c.indicatorLabelPoint,Gu(h,this.group)),_=c.indicatorLabel;_.attr("invisible",!1);var b=this._applyTransform("left",c.mainGroup),T=this._orient,x=T==="horizontal";_.setStyle({text:(n||"")+s.formatValueText(i),verticalAlign:x?b:"middle",align:x?"center":b});var C={x:g,y:v,style:{fill:f}},D={style:{x:y[0],y:y[1]}};if(s.ecModel.isAnimationEnabled()&&!this._firstShowIndicator){var I={duration:100,easing:"cubicInOut",additive:!0};h.x=m.x,h.y=m.y,h.animateTo(C,I),_.animateTo(D,I)}else h.attr(C),_.attr(D);this._firstShowIndicator=!1;var M=this._shapes.handleLabels;if(M)for(var L=0;Ls[1]&&(h[1]=1/0),i&&(h[0]===-1/0?this._showIndicator(c,h[1],"< ",l):h[1]===1/0?this._showIndicator(c,h[0],"> ",l):this._showIndicator(c,c,"≈ ",l));var d=this._hoverLinkDataIndices,f=[];(i||j3(n))&&(f=this._hoverLinkDataIndices=n.findTargetDataIndices(h));var p=bue(d,f);this._dispatchHighDown("downplay",ky(p[0],n)),this._dispatchHighDown("highlight",ky(p[1],n))}},e.prototype._hoverLinkFromSeriesMouseOver=function(t){var i;if(bu(t.target,function(l){var u=ke(l);if(u.dataIndex!=null)return i=u,!0},!0),!!i){var n=this.ecModel.getSeriesByIndex(i.seriesIndex),a=this.visualMapModel;if(a.isTargetSeries(n)){var s=n.getData(i.dataType),o=s.getStore().get(a.getDataDimensionIndex(s),i.dataIndex);isNaN(o)||this._showIndicator(o,o)}}},e.prototype._hideIndicator=function(){var t=this._shapes;t.indicator&&t.indicator.attr("invisible",!0),t.indicatorLabel&&t.indicatorLabel.attr("invisible",!0);var i=this._shapes.handleLabels;if(i)for(var n=0;n=0&&(a.dimension=s,i.push(a))}}),r.getData().setVisual("visualMeta",i)}}];function gCe(r,e,t,i){for(var n=e.targetVisuals[i],a=Or.prepareVisualTypes(n),s={color:ag(r.getData(),"color")},o=0,l=a.length;o0:e.splitNumber>0)||e.calculable)?"continuous":"piecewise"}),r.registerAction(dCe,pCe),R(vCe,function(e){r.registerVisual(r.PRIORITY.VISUAL.COMPONENT,e)}),r.registerPreprocessor(mCe))}function iX(r){r.registerComponentModel(oCe),r.registerComponentView(hCe),rX(r)}var yCe=function(r){j(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type=e.type,t._pieceList=[],t}return e.prototype.optionUpdated=function(t,i){r.prototype.optionUpdated.apply(this,arguments),this.resetExtent();var n=this._mode=this._determineMode();this._pieceList=[],_Ce[this._mode].call(this,this._pieceList),this._resetSelected(t,i);var a=this.option.categories;this.resetVisual(function(s,o){n==="categories"?(s.mappingMethod="category",s.categories=Ee(a)):(s.dataExtent=this.getExtent(),s.mappingMethod="piecewise",s.pieceList=oe(this._pieceList,function(l){return l=Ee(l),o!=="inRange"&&(l.visual=null),l}))})},e.prototype.completeVisualOption=function(){var t=this.option,i={},n=Or.listVisualTypes(),a=this.isCategory();R(t.pieces,function(o){R(n,function(l){o.hasOwnProperty(l)&&(i[l]=1)})}),R(i,function(o,l){var u=!1;R(this.stateList,function(c){u=u||s(t,c,l)||s(t.target,c,l)},this),!u&&R(this.stateList,function(c){(t[c]||(t[c]={}))[l]=Jj.get(l,c==="inRange"?"active":"inactive",a)})},this);function s(o,l,u){return o&&o[l]&&o[l].hasOwnProperty(u)}r.prototype.completeVisualOption.apply(this,arguments)},e.prototype._resetSelected=function(t,i){var n=this.option,a=this._pieceList,s=(i?n:t).selected||{};if(n.selected=s,R(a,function(l,u){var c=this.getSelectedMapKey(l);s.hasOwnProperty(c)||(s[c]=!0)},this),n.selectedMode==="single"){var o=!1;R(a,function(l,u){var c=this.getSelectedMapKey(l);s[c]&&(o?s[c]=!1:o=!0)},this)}},e.prototype.getItemSymbol=function(){return this.get("itemSymbol")},e.prototype.getSelectedMapKey=function(t){return this._mode==="categories"?t.value+"":t.index+""},e.prototype.getPieceList=function(){return this._pieceList},e.prototype._determineMode=function(){var t=this.option;return t.pieces&&t.pieces.length>0?"pieces":this.option.categories?"categories":"splitNumber"},e.prototype.setSelected=function(t){this.option.selected=Ee(t)},e.prototype.getValueState=function(t){var i=Or.findPieceIndex(t,this._pieceList);return i!=null&&this.option.selected[this.getSelectedMapKey(this._pieceList[i])]?"inRange":"outOfRange"},e.prototype.findTargetDataIndices=function(t){var i=[],n=this._pieceList;return this.eachTargetSeries(function(a){var s=[],o=a.getData();o.each(this.getDataDimensionIndex(o),function(l,u){var c=Or.findPieceIndex(l,n);c===t&&s.push(u)},this),i.push({seriesId:a.id,dataIndex:s})},this),i},e.prototype.getRepresentValue=function(t){var i;if(this.isCategory())i=t.value;else if(t.value!=null)i=t.value;else{var n=t.interval||[];i=n[0]===-1/0&&n[1]===1/0?0:(n[0]+n[1])/2}return i},e.prototype.getVisualMeta=function(t){if(this.isCategory())return;var i=[],n=["",""],a=this;function s(c,h){var d=a.getRepresentValue({interval:c});h||(h=a.getValueState(d));var f=t(d,h);c[0]===-1/0?n[0]=f:c[1]===1/0?n[1]=f:i.push({value:c[0],color:f},{value:c[1],color:f})}var o=this._pieceList.slice();if(!o.length)o.push({interval:[-1/0,1/0]});else{var l=o[0].interval[0];l!==-1/0&&o.unshift({interval:[-1/0,l]}),l=o[o.length-1].interval[1],l!==1/0&&o.push({interval:[l,1/0]})}var u=-1/0;return R(o,function(c){var h=c.interval;h&&(h[0]>u&&s([u,h[0]],"outOfRange"),s(h.slice()),u=h[1])},this),{stops:i,outerColors:n}},e.type="visualMap.piecewise",e.defaultOption=hl(c_.defaultOption,{selected:null,minOpen:!1,maxOpen:!1,align:"auto",itemWidth:20,itemHeight:14,itemSymbol:"roundRect",pieces:null,categories:null,splitNumber:5,selectedMode:"multiple",itemGap:10,hoverLink:!0}),e}(c_),_Ce={splitNumber:function(r){var e=this.option,t=Math.min(e.precision,20),i=this.getExtent(),n=e.splitNumber;n=Math.max(parseInt(n,10),1),e.splitNumber=n;for(var a=(i[1]-i[0])/n;+a.toFixed(t)!==a&&t<5;)t++;e.precision=t,a=+a.toFixed(t),e.minOpen&&r.push({interval:[-1/0,i[0]],close:[0,0]});for(var s=0,o=i[0];s","≥"][i[0]]];t.text=t.text||this.formatValueText(t.value!=null?t.value:t.interval,!1,n)},this)}};function Z3(r,e){var t=r.inverse;(r.orient==="vertical"?!t:t)&&e.reverse()}var bCe=function(r){j(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type=e.type,t}return e.prototype.doRender=function(){var t=this.group;t.removeAll();var i=this.visualMapModel,n=i.get("textGap"),a=i.textStyleModel,s=a.getFont(),o=a.getTextColor(),l=this._getItemAlign(),u=i.itemSize,c=this._getViewData(),h=c.endsText,d=Gr(i.get("showLabel",!0),!h);h&&this._renderEndsText(t,h[0],u,d,l),R(c.viewPieceList,function(f){var p=f.piece,v=new Le;v.onclick=ge(this._onItemClick,this,p),this._enableHoverLink(v,f.indexInModelPieceList);var g=i.getRepresentValue(p);if(this._createItemSymbol(v,g,[0,0,u[0],u[1]]),d){var m=this.visualMapModel.getValueState(g);v.add(new lt({style:{x:l==="right"?-n:u[0]+n,y:u[1]/2,text:p.text,verticalAlign:"middle",align:l,font:s,fill:o,opacity:m==="outOfRange"?.5:1}}))}t.add(v)},this),h&&this._renderEndsText(t,h[1],u,d,l),Hu(i.get("orient"),t,i.get("itemGap")),this.renderBackground(t),this.positionGroup(t)},e.prototype._enableHoverLink=function(t,i){var n=this;t.on("mouseover",function(){return a("highlight")}).on("mouseout",function(){return a("downplay")});var a=function(s){var o=n.visualMapModel;o.option.hoverLink&&n.api.dispatchAction({type:s,batch:ky(o.findTargetDataIndices(i),o)})}},e.prototype._getItemAlign=function(){var t=this.visualMapModel,i=t.option;if(i.orient==="vertical")return tX(t,this.api,t.itemSize);var n=i.align;return(!n||n==="auto")&&(n="left"),n},e.prototype._renderEndsText=function(t,i,n,a,s){if(i){var o=new Le,l=this.visualMapModel.textStyleModel;o.add(new lt({style:kt(l,{x:a?s==="right"?n[0]:0:n[0]/2,y:n[1]/2,verticalAlign:"middle",align:a?s:"center",text:i})})),t.add(o)}},e.prototype._getViewData=function(){var t=this.visualMapModel,i=oe(t.getPieceList(),function(o,l){return{piece:o,indexInModelPieceList:l}}),n=t.get("text"),a=t.get("orient"),s=t.get("inverse");return(a==="horizontal"?s:!s)?i.reverse():n&&(n=n.slice().reverse()),{viewPieceList:i,endsText:n}},e.prototype._createItemSymbol=function(t,i,n){t.add(yr(this.getControllerVisual(i,"symbol"),n[0],n[1],n[2],n[3],this.getControllerVisual(i,"color")))},e.prototype._onItemClick=function(t){var i=this.visualMapModel,n=i.option,a=n.selectedMode;if(a){var s=Ee(n.selected),o=i.getSelectedMapKey(t);a==="single"||a===!0?(s[o]=!0,R(s,function(l,u){s[u]=u===o})):s[o]=!s[o],this.api.dispatchAction({type:"selectDataRange",from:this.uid,visualMapId:this.visualMapModel.id,selected:s})}},e.type="visualMap.piecewise",e}(eX);function nX(r){r.registerComponentModel(yCe),r.registerComponentView(bCe),rX(r)}function SCe(r){Ze(iX),Ze(nX)}var TCe={label:{enabled:!0},decal:{show:!1}},Q3=ot(),xCe={};function wCe(r,e){var t=r.getModel("aria");if(!t.get("enabled"))return;var i=Ee(TCe);We(i.label,r.getLocaleModel().get("aria"),!1),We(t.option,i,!1),n(),a();function n(){var u=t.getModel("decal"),c=u.get("show");if(c){var h=be();r.eachSeries(function(d){if(!d.isColorBySeries()){var f=h.get(d.type);f||(f={},h.set(d.type,f)),Q3(d).scope=f}}),r.eachRawSeries(function(d){if(r.isSeriesFiltered(d))return;if(we(d.enableAriaDecal)){d.enableAriaDecal();return}var f=d.getData();if(d.isColorBySeries()){var y=s2(d.ecModel,d.name,xCe,r.getSeriesCount()),_=f.getVisual("decal");f.setVisual("decal",b(_,y))}else{var p=d.getRawData(),v={},g=Q3(d).scope;f.each(function(T){var x=f.getRawIndex(T);v[x]=T});var m=p.count();p.each(function(T){var x=v[T],C=p.getName(T)||T+"",D=s2(d.ecModel,C,g,m),I=f.getItemVisual(x,"decal");f.setItemVisual(x,"decal",b(I,D))})}function b(T,x){var C=T?J(J({},x),T):x;return C.dirty=!0,C}})}}function a(){var u=e.getZr().dom;if(u){var c=r.getLocaleModel().get("aria"),h=t.getModel("label");if(h.option=Ce(h.option,c),!!h.get("enabled")){if(h.get("description")){u.setAttribute("aria-label",h.get("description"));return}var d=r.getSeriesCount(),f=h.get(["data","maxCount"])||10,p=h.get(["series","maxCount"])||10,v=Math.min(d,p),g;if(!(d<1)){var m=o();if(m){var y=h.get(["general","withTitle"]);g=s(y,{title:m})}else g=h.get(["general","withoutTitle"]);var _=[],b=d>1?h.get(["series","multiple","prefix"]):h.get(["series","single","prefix"]);g+=s(b,{seriesCount:d}),r.eachSeries(function(D,I){if(I1?h.get(["series","multiple",N]):h.get(["series","single",N]),M=s(M,{seriesId:D.seriesIndex,seriesName:D.get("name"),seriesType:l(D.subType)});var O=D.getData();if(O.count()>f){var B=h.get(["data","partialData"]);M+=s(B,{displayCnt:f})}else M+=h.get(["data","allData"]);for(var F=h.get(["data","separator","middle"]),U=h.get(["data","separator","end"]),$=[],q=0;q":"gt",">=":"gte","=":"eq","!=":"ne","<>":"ne"},DCe=function(){function r(e){var t=this._condVal=pe(e)?new RegExp(e):Voe(e)?e:null;if(t==null){var i="";vt(i)}}return r.prototype.evaluate=function(e){var t=typeof e;return pe(t)?this._condVal.test(e):ut(t)?this._condVal.test(e+""):!1},r}(),ECe=function(){function r(){}return r.prototype.evaluate=function(){return this.value},r}(),ICe=function(){function r(){}return r.prototype.evaluate=function(){for(var e=this.children,t=0;t2&&i.push(n),n=[O,B]}function c(O,B,F,U){_h(O,F)&&_h(B,U)||n.push(O,B,F,U,F,U)}function h(O,B,F,U,$,q){var Z=Math.abs(B-O),te=Math.tan(Z/4)*4/3,Q=BD:L2&&i.push(n),i}function lC(r,e,t,i,n,a,s,o,l,u){if(_h(r,t)&&_h(e,i)&&_h(n,s)&&_h(a,o)){l.push(s,o);return}var c=2/u,h=c*c,d=s-r,f=o-e,p=Math.sqrt(d*d+f*f);d/=p,f/=p;var v=t-r,g=i-e,m=n-s,y=a-o,_=v*v+g*g,b=m*m+y*y;if(_=0&&D=0){l.push(s,o);return}var I=[],M=[];tl(r,t,n,s,.5,I),tl(e,i,a,o,.5,M),lC(I[0],M[0],I[1],M[1],I[2],M[2],I[3],M[3],l,u),lC(I[4],M[4],I[5],M[5],I[6],M[6],I[7],M[7],l,u)}function HCe(r,e){var t=oC(r),i=[];e=e||1;for(var n=0;n0)for(var u=0;uMath.abs(u),h=sX([l,u],c?0:1,e),d=(c?o:u)/h.length,f=0;fn,s=sX([i,n],a?0:1,e),o=a?"width":"height",l=a?"height":"width",u=a?"x":"y",c=a?"y":"x",h=r[o]/s.length,d=0;d1?null:new He(v*l+r,v*u+e)}function qCe(r,e,t){var i=new He;He.sub(i,t,e),i.normalize();var n=new He;He.sub(n,r,e);var a=n.dot(i);return a}function eh(r,e){var t=r[r.length-1];t&&t[0]===e[0]&&t[1]===e[1]||r.push(e)}function jCe(r,e,t){for(var i=r.length,n=[],a=0;as?(u.x=c.x=o+a/2,u.y=l,c.y=l+s):(u.y=c.y=l+s/2,u.x=o,c.x=o+a),jCe(e,u,c)}function h_(r,e,t,i){if(t===1)i.push(e);else{var n=Math.floor(t/2),a=r(e);h_(r,a[0],n,i),h_(r,a[1],t-n,i)}return i}function XCe(r,e){for(var t=[],i=0;i0;u/=2){var c=0,h=0;(r&u)>0&&(c=1),(e&u)>0&&(h=1),o+=u*u*(3*c^h),h===0&&(c===1&&(r=u-1-r,e=u-1-e),l=r,r=e,e=l)}return o}function p_(r){var e=1/0,t=1/0,i=-1/0,n=-1/0,a=oe(r,function(o){var l=o.getBoundingRect(),u=o.getComputedTransform(),c=l.x+l.width/2+(u?u[4]:0),h=l.y+l.height/2+(u?u[5]:0);return e=Math.min(c,e),t=Math.min(h,t),i=Math.max(c,i),n=Math.max(h,n),[c,h]}),s=oe(a,function(o,l){return{cp:o,z:iAe(o[0],o[1],e,t,i,n),path:r[l]}});return s.sort(function(o,l){return o.z-l.z}).map(function(o){return o.path})}function uX(r){return ZCe(r.path,r.count)}function uC(){return{fromIndividuals:[],toIndividuals:[],count:0}}function nAe(r,e,t){var i=[];function n(T){for(var x=0;x=0;n--)if(!t[n].many.length){var l=t[o].many;if(l.length<=1)if(o)o=0;else return t;var a=l.length,u=Math.ceil(a/2);t[n].many=l.slice(u,a),t[o].many=l.slice(0,u),o++}return t}var sAe={clone:function(r){for(var e=[],t=1-Math.pow(1-r.path.style.opacity,1/r.count),i=0;i0))return;var o=i.getModel("universalTransition").get("delay"),l=Object.assign({setToFinal:!0},s),u,c;o5(r)&&(u=r,c=e),o5(e)&&(u=e,c=r);function h(m,y,_,b,T){var x=m.many,C=m.one;if(x.length===1&&!T){var D=y?x[0]:C,I=y?C:x[0];if(f_(D))h({many:[D],one:I},!0,_,b,!0);else{var M=o?Ce({delay:o(_,b)},l):l;jE(D,I,M),a(D,I,D,I,M)}}else for(var L=Ce({dividePath:sAe[t],individualDelay:o&&function($,q,Z,te){return o($+_,b)}},l),N=y?nAe(x,C,L):aAe(C,x,L),O=N.fromIndividuals,B=N.toIndividuals,F=O.length,U=0;Ue.length,f=u?l5(c,u):l5(d?e:r,[d?r:e]),p=0,v=0;vcX))for(var a=i.getIndices(),s=0;s0&&x.group.traverse(function(D){D instanceof Qe&&!D.animators.length&&D.animateFrom({style:{opacity:0}},C)})})}function d5(r){var e=r.getModel("universalTransition").get("seriesKey");return e||r.id}function p5(r){return ie(r)?r.sort().join(","):r}function Io(r){if(r.hostModel)return r.hostModel.getModel("universalTransition").get("divideShape")}function dAe(r,e){var t=be(),i=be(),n=be();return R(r.oldSeries,function(a,s){var o=r.oldDataGroupIds[s],l=r.oldData[s],u=d5(a),c=p5(u);i.set(c,{dataGroupId:o,data:l}),ie(u)&&R(u,function(h){n.set(h,{key:c,dataGroupId:o,data:l})})}),R(e.updatedSeries,function(a){if(a.isUniversalTransitionEnabled()&&a.isAnimationEnabled()){var s=a.get("dataGroupId"),o=a.getData(),l=d5(a),u=p5(l),c=i.get(u);if(c)t.set(u,{oldSeries:[{dataGroupId:c.dataGroupId,divide:Io(c.data),data:c.data}],newSeries:[{dataGroupId:s,divide:Io(o),data:o}]});else if(ie(l)){var h=[];R(l,function(p){var v=i.get(p);v.data&&h.push({dataGroupId:v.dataGroupId,divide:Io(v.data),data:v.data})}),h.length&&t.set(u,{oldSeries:h,newSeries:[{dataGroupId:s,data:o,divide:Io(o)}]})}else{var d=n.get(l);if(d){var f=t.get(d.key);f||(f={oldSeries:[{dataGroupId:d.dataGroupId,data:d.data,divide:Io(d.data)}],newSeries:[]},t.set(d.key,f)),f.newSeries.push({dataGroupId:s,data:o,divide:Io(o)})}}}}),t}function v5(r,e){for(var t=0;t=0&&n.push({dataGroupId:e.oldDataGroupIds[o],data:e.oldData[o],divide:Io(e.oldData[o]),groupIdDim:s.dimension})}),R(xt(r.to),function(s){var o=v5(t.updatedSeries,s);if(o>=0){var l=t.updatedSeries[o].getData();a.push({dataGroupId:e.oldDataGroupIds[o],data:l,divide:Io(l),groupIdDim:s.dimension})}}),n.length>0&&a.length>0&&hX(n,a,i)}function vAe(r){r.registerUpdateLifecycle("series:beforeupdate",function(e,t,i){R(xt(i.seriesTransition),function(n){R(xt(n.to),function(a){for(var s=i.updatedSeries,o=0;o{i.getAttribute("id")===e+"_panel"?i.hidden=!1:i.hidden=!0})}const mAe=document.querySelectorAll('input[type="radio"]');mAe.forEach(r=>{r.addEventListener("click",e=>{gAe(e)})});const XE=document.getElementById("words-count-track");XE.getAttribute("data-time").split(",");const gx=XE.getAttribute("data-words").split(","),fX=I$(XE),dX=document.getElementById("topic-track-worte-ctrl");function pX(){let r=[],e=[],t=[],i=[];gx.slice(-1);let n=dX.value,a=[],s=gx.length,o=Math.floor(s/n);for(let c=0;cp-d);a.push(f)}let l=0;a.forEach(c=>{parseInt(c.slice(-1))>l&&(console.log(c.slice(-1)),l=c.slice(-1))});for(let c=0;c"Gesprochene Worte "+new Intl.NumberFormat("de-CH").format(c)},grid:r,xAxis:e,yAxis:t,series:i};fX.setOption(u)}dX.addEventListener("change",r=>{fX.clear(),pX()});pX();const B1=document.getElementById("sentiment-track"),yAe=B1.getAttribute("data-time").split(","),_Ae=B1.getAttribute("data-sentiments").split(","),bAe=B1.getAttribute("data-weights").split(","),SAe=I$(B1),TAe={tooltip:{trigger:"axis",position:"top",formatter:"Sekunde: {b0}
Sentiment: {c0}"},grid:{show:!1,top:0,bottom:0,right:0,left:0},xAxis:{type:"category",data:yAe},yAxis:{type:"category",data:["-1","0","1"]},series:[{symbolSize:bAe,data:_Ae,type:"scatter",itemStyle:{color:r=>r.data==-1?"#d01c8b":r.data==0?"#f7f7f7":"#4dac26"}}]};SAe.setOption(TAe);const vX=document.getElementById("video");BA.registerPlugin(Qu);const yn=new sr("my-player",{controls:!1,muted:!0,srgOptions:{liveui:!1}});yn.src({src:vX.getAttribute("data-urn"),type:"srgssr/urn"});const xAe=document.getElementById("timeline-bar-ctrl");vX.addEventListener("click",r=>{yn.paused()?yn.play():yn.pause(),AAe()});const wAe=document.getElementById("transcript"),CAe=wAe.querySelectorAll("[data-start]");CAe.forEach(r=>{r.addEventListener("click",e=>{yn.currentTime(e.target.getAttribute("data-start")),yn.play()})});const cC={timelineIndicatorIsDragged:!1};function AAe(){let e=yn.duration()/10,t="00:00:00";for(let i=1;i<=10;i++)t+=`${secondsToTimecode(i*e)}`;document.querySelector("#timeline-bar").insertAdjacentHTML("beforeend",t)}function DAe(r){return yn.duration()/document.getElementById("timeline-bar").offsetWidth*r}yn.on("timeupdate",r=>{if(!cC.timelineIndicatorIsDragged){let e=document.getElementById("timeline-bar").offsetWidth/yn.duration()*yn.currentTime();xAe.style.transform=`translate3d(${e}px, 0px, 0px)`}});document.addEventListener("DOMContentLoaded",r=>{BA.registerPlugin(Qu),Qu.create("#timeline-bar-ctrl",{type:"x",bounds:document.getElementById("timeline-bar"),onDragStart:function(){cC.timelineIndicatorIsDragged=!0},onDragEnd:function(){yn.currentTime(DAe(this.x)),yn.play(),cC.timelineIndicatorIsDragged=!1}})});
+`||u==="")){var c=s.isSelected(u);i.hasOwnProperty(u)?i[u]=i[u]&&c:i[u]=c}})}),r==="allSelect"||r==="inverseSelect"?{selected:i}:{name:e.name,selected:i}}function L2e(r){r.registerAction("legendToggleSelect","legendselectchanged",Ue(Ud,"toggleSelected")),r.registerAction("legendAllSelect","legendselectall",Ue(Ud,"allSelect")),r.registerAction("legendInverseSelect","legendinverseselect",Ue(Ud,"inverseSelect")),r.registerAction("legendSelect","legendselected",Ue(Ud,"select")),r.registerAction("legendUnSelect","legendunselected",Ue(Ud,"unSelect"))}function Yj(r){r.registerComponentModel(iC),r.registerComponentView(jj),r.registerProcessor(r.PRIORITY.PROCESSOR.SERIES_FILTER,M2e),r.registerSubTypeDefaulter("legend",function(){return"plain"}),L2e(r)}var k2e=function(r){j(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type=e.type,t}return e.prototype.setScrollDataIndex=function(t){this.option.scrollDataIndex=t},e.prototype.init=function(t,i,n){var a=Bf(t);r.prototype.init.call(this,t,i,n),R3(this,t,a)},e.prototype.mergeOption=function(t,i){r.prototype.mergeOption.call(this,t,i),R3(this,this.option,t)},e.type="legend.scroll",e.defaultOption=hl(iC.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:"#2f4554",pageIconInactiveColor:"#aaa",pageIconSize:15,pageTextStyle:{color:"#333"},animationDurationUpdate:800}),e}(iC);function R3(r,e,t){var i=r.getOrient(),n=[1,1];n[i.index]=0,il(e,t,{type:"box",ignoreSize:!!n})}var O3=Le,ox=["width","height"],lx=["x","y"],R2e=function(r){j(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type=e.type,t.newlineDisabled=!0,t._currentIndex=0,t}return e.prototype.init=function(){r.prototype.init.call(this),this.group.add(this._containerGroup=new O3),this._containerGroup.add(this.getContentGroup()),this.group.add(this._controllerGroup=new O3)},e.prototype.resetInner=function(){r.prototype.resetInner.call(this),this._controllerGroup.removeAll(),this._containerGroup.removeClipPath(),this._containerGroup.__rectSize=null},e.prototype.renderInner=function(t,i,n,a,s,o,l){var u=this;r.prototype.renderInner.call(this,t,i,n,a,s,o,l);var c=this._controllerGroup,h=i.get("pageIconSize",!0),d=ie(h)?h:[h,h];p("pagePrev",0);var f=i.getModel("pageTextStyle");c.add(new lt({name:"pageText",style:{text:"xx/xx",fill:f.getTextColor(),font:f.getFont(),verticalAlign:"middle",align:"center"},silent:!0})),p("pageNext",1);function p(v,g){var m=v+"DataIndex",y=ig(i.get("pageIcons",!0)[i.getOrient().name][g],{onclick:ge(u._pageGo,u,m,i,a)},{x:-d[0]/2,y:-d[1]/2,width:d[0],height:d[1]});y.name=v,c.add(y)}},e.prototype.layoutInner=function(t,i,n,a,s,o){var l=this.getSelectorGroup(),u=t.getOrient().index,c=ox[u],h=lx[u],d=ox[1-u],f=lx[1-u];s&&Hu("horizontal",l,t.get("selectorItemGap",!0));var p=t.get("selectorButtonGap",!0),v=l.getBoundingRect(),g=[-v.x,-v.y],m=Ee(n);s&&(m[c]=n[c]-v[c]-p);var y=this._layoutContentAndController(t,a,m,u,c,d,f,h);if(s){if(o==="end")g[u]+=y[c]+p;else{var _=v[c]+p;g[u]-=_,y[h]-=_}y[c]+=v[c]+p,g[1-u]+=y[f]+y[d]/2-v[d]/2,y[d]=Math.max(y[d],v[d]),y[f]=Math.min(y[f],v[f]+g[1-u]),l.x=g[0],l.y=g[1],l.markRedraw()}return y},e.prototype._layoutContentAndController=function(t,i,n,a,s,o,l,u){var c=this.getContentGroup(),h=this._containerGroup,d=this._controllerGroup;Hu(t.get("orient"),c,t.get("itemGap"),a?n.width:null,a?null:n.height),Hu("horizontal",d,t.get("pageButtonItemGap",!0));var f=c.getBoundingRect(),p=d.getBoundingRect(),v=this._showController=f[s]>n[s],g=[-f.x,-f.y];i||(g[a]=c[u]);var m=[0,0],y=[-p.x,-p.y],_=Be(t.get("pageButtonGap",!0),t.get("itemGap",!0));if(v){var b=t.get("pageButtonPosition",!0);b==="end"?y[a]+=n[s]-p[s]:m[a]+=p[s]+_}y[1-a]+=f[o]/2-p[o]/2,c.setPosition(g),h.setPosition(m),d.setPosition(y);var T={x:0,y:0};if(T[s]=v?n[s]:f[s],T[o]=Math.max(f[o],p[o]),T[l]=Math.min(0,p[l]+y[1-a]),h.__rectSize=n[s],v){var x={x:0,y:0};x[s]=Math.max(n[s]-p[s]-_,0),x[o]=T[o],h.setClipPath(new st({shape:x})),h.__rectSize=x[s]}else d.eachChild(function(D){D.attr({invisible:!0,silent:!0})});var C=this._getPageInfo(t);return C.pageIndex!=null&&ct(c,{x:C.contentPosition[0],y:C.contentPosition[1]},v?t:null),this._updatePageInfoView(t,C),T},e.prototype._pageGo=function(t,i,n){var a=this._getPageInfo(i)[t];a!=null&&n.dispatchAction({type:"legendScroll",scrollDataIndex:a,legendId:i.id})},e.prototype._updatePageInfoView=function(t,i){var n=this._controllerGroup;R(["pagePrev","pageNext"],function(c){var h=c+"DataIndex",d=i[h]!=null,f=n.childOfName(c);f&&(f.setStyle("fill",d?t.get("pageIconColor",!0):t.get("pageIconInactiveColor",!0)),f.cursor=d?"pointer":"default")});var a=n.childOfName("pageText"),s=t.get("pageFormatter"),o=i.pageIndex,l=o!=null?o+1:0,u=i.pageCount;a&&s&&a.setStyle("text",pe(s)?s.replace("{current}",l==null?"":l+"").replace("{total}",u==null?"":u+""):s({current:l,total:u}))},e.prototype._getPageInfo=function(t){var i=t.get("scrollDataIndex",!0),n=this.getContentGroup(),a=this._containerGroup.__rectSize,s=t.getOrient().index,o=ox[s],l=lx[s],u=this._findTargetItemIndex(i),c=n.children(),h=c[u],d=c.length,f=d?1:0,p={contentPosition:[n.x,n.y],pageCount:f,pageIndex:f-1,pagePrevDataIndex:null,pageNextDataIndex:null};if(!h)return p;var v=b(h);p.contentPosition[s]=-v.s;for(var g=u+1,m=v,y=v,_=null;g<=d;++g)_=b(c[g]),(!_&&y.e>m.s+a||_&&!T(_,m.s))&&(y.i>m.i?m=y:m=_,m&&(p.pageNextDataIndex==null&&(p.pageNextDataIndex=m.i),++p.pageCount)),y=_;for(var g=u-1,m=v,y=v,_=null;g>=-1;--g)_=b(c[g]),(!_||!T(y,_.s))&&m.i=C&&x.s<=C+a}},e.prototype._findTargetItemIndex=function(t){if(!this._showController)return 0;var i,n=this.getContentGroup(),a;return n.eachChild(function(s,o){var l=s.__legendDataIndex;a==null&&l!=null&&(a=o),l===t&&(i=o)}),i??a},e.type="legend.scroll",e}(jj);function O2e(r){r.registerAction("legendScroll","legendscroll",function(e,t){var i=e.scrollDataIndex;i!=null&&t.eachComponent({mainType:"legend",subType:"scroll",query:e},function(n){n.setScrollDataIndex(i)})})}function N2e(r){Ze(Yj),r.registerComponentModel(k2e),r.registerComponentView(R2e),O2e(r)}function B2e(r){Ze(Yj),Ze(N2e)}var F2e=function(r){j(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type=e.type,t}return e.type="dataZoom.inside",e.defaultOption=hl(Lv.defaultOption,{disabled:!1,zoomLock:!1,zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!1,preventDefaultMouseMove:!0}),e}(Lv),WE=ot();function U2e(r,e,t){WE(r).coordSysRecordMap.each(function(i){var n=i.dataZoomInfoMap.get(e.uid);n&&(n.getRange=t)})}function V2e(r,e){for(var t=WE(r).coordSysRecordMap,i=t.keys(),n=0;ni[t+e]&&(e=o),n=n&&s.get("preventDefaultMouseMove",!0)}),{controlType:e,opt:{zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!0,preventDefaultMouseMove:!!n}}}function W2e(r){r.registerProcessor(r.PRIORITY.PROCESSOR.FILTER,function(e,t){var i=WE(t),n=i.coordSysRecordMap||(i.coordSysRecordMap=be());n.each(function(a){a.dataZoomInfoMap=null}),e.eachComponent({mainType:"dataZoom",subType:"inside"},function(a){var s=Lj(a);R(s.infoList,function(o){var l=o.model.uid,u=n.get(l)||n.set(l,z2e(t,o.model)),c=u.dataZoomInfoMap||(u.dataZoomInfoMap=be());c.set(a.uid,{dzReferCoordSysInfo:o,model:a,getRange:null})})}),n.each(function(a){var s=a.controller,o,l=a.dataZoomInfoMap;if(l){var u=l.keys()[0];u!=null&&(o=l.get(u))}if(!o){Kj(n,a);return}var c=$2e(l);s.enable(c.controlType,c.opt),s.setPointerChecker(a.containsPoint),Vf(a,"dispatchAction",o.model.get("throttle",!0),"fixRate")})})}var q2e=function(r){j(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type="dataZoom.inside",t}return e.prototype.render=function(t,i,n){if(r.prototype.render.apply(this,arguments),t.noTarget()){this._clear();return}this.range=t.getPercentRange(),U2e(n,t,{pan:ge(ux.pan,this),zoom:ge(ux.zoom,this),scrollMove:ge(ux.scrollMove,this)})},e.prototype.dispose=function(){this._clear(),r.prototype.dispose.apply(this,arguments)},e.prototype._clear=function(){V2e(this.api,this.dataZoomModel),this.range=null},e.type="dataZoom.inside",e}(NE),ux={zoom:function(r,e,t,i){var n=this.range,a=n.slice(),s=r.axisModels[0];if(s){var o=cx[e](null,[i.originX,i.originY],s,t,r),l=(o.signal>0?o.pixelStart+o.pixelLength-o.pixel:o.pixel-o.pixelStart)/o.pixelLength*(a[1]-a[0])+a[0],u=Math.max(1/i.scale,0);a[0]=(a[0]-l)*u+l,a[1]=(a[1]-l)*u+l;var c=this.dataZoomModel.findRepresentativeAxisProxy().getMinMaxSpan();if(vc(0,a,[0,100],0,c.minSpan,c.maxSpan),this.range=a,n[0]!==a[0]||n[1]!==a[1])return a}},pan:N3(function(r,e,t,i,n,a){var s=cx[i]([a.oldX,a.oldY],[a.newX,a.newY],e,n,t);return s.signal*(r[1]-r[0])*s.pixel/s.pixelLength}),scrollMove:N3(function(r,e,t,i,n,a){var s=cx[i]([0,0],[a.scrollDelta,a.scrollDelta],e,n,t);return s.signal*(r[1]-r[0])*a.scrollDelta})};function N3(r){return function(e,t,i,n){var a=this.range,s=a.slice(),o=e.axisModels[0];if(o){var l=r(s,o,e,t,i,n);if(vc(l,s,[0,100],"all"),this.range=s,a[0]!==s[0]||a[1]!==s[1])return s}}}var cx={grid:function(r,e,t,i,n){var a=t.axis,s={},o=n.model.coordinateSystem.getRect();return r=r||[0,0],a.dim==="x"?(s.pixel=e[0]-r[0],s.pixelLength=o.width,s.pixelStart=o.x,s.signal=a.inverse?1:-1):(s.pixel=e[1]-r[1],s.pixelLength=o.height,s.pixelStart=o.y,s.signal=a.inverse?-1:1),s},polar:function(r,e,t,i,n){var a=t.axis,s={},o=n.model.coordinateSystem,l=o.getRadiusAxis().getExtent(),u=o.getAngleAxis().getExtent();return r=r?o.pointToCoord(r):[0,0],e=o.pointToCoord(e),t.mainType==="radiusAxis"?(s.pixel=e[0]-r[0],s.pixelLength=l[1]-l[0],s.pixelStart=l[0],s.signal=a.inverse?1:-1):(s.pixel=e[1]-r[1],s.pixelLength=u[1]-u[0],s.pixelStart=u[0],s.signal=a.inverse?-1:1),s},singleAxis:function(r,e,t,i,n){var a=t.axis,s=n.model.coordinateSystem.getRect(),o={};return r=r||[0,0],a.orient==="horizontal"?(o.pixel=e[0]-r[0],o.pixelLength=s.width,o.pixelStart=s.x,o.signal=a.inverse?1:-1):(o.pixel=e[1]-r[1],o.pixelLength=s.height,o.pixelStart=s.y,o.signal=a.inverse?-1:1),o}};function Zj(r){BE(r),r.registerComponentModel(F2e),r.registerComponentView(q2e),W2e(r)}var j2e=function(r){j(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type=e.type,t}return e.type="dataZoom.slider",e.layoutMode="box",e.defaultOption=hl(Lv.defaultOption,{show:!0,right:"ph",top:"ph",width:"ph",height:"ph",left:null,bottom:null,borderColor:"#d2dbee",borderRadius:3,backgroundColor:"rgba(47,69,84,0)",dataBackground:{lineStyle:{color:"#d2dbee",width:.5},areaStyle:{color:"#d2dbee",opacity:.2}},selectedDataBackground:{lineStyle:{color:"#8fb0f7",width:.5},areaStyle:{color:"#8fb0f7",opacity:.2}},fillerColor:"rgba(135,175,274,0.2)",handleIcon:"path://M-9.35,34.56V42m0-40V9.5m-2,0h4a2,2,0,0,1,2,2v21a2,2,0,0,1-2,2h-4a2,2,0,0,1-2-2v-21A2,2,0,0,1-11.35,9.5Z",handleSize:"100%",handleStyle:{color:"#fff",borderColor:"#ACB8D1"},moveHandleSize:7,moveHandleIcon:"path://M-320.9-50L-320.9-50c18.1,0,27.1,9,27.1,27.1V85.7c0,18.1-9,27.1-27.1,27.1l0,0c-18.1,0-27.1-9-27.1-27.1V-22.9C-348-41-339-50-320.9-50z M-212.3-50L-212.3-50c18.1,0,27.1,9,27.1,27.1V85.7c0,18.1-9,27.1-27.1,27.1l0,0c-18.1,0-27.1-9-27.1-27.1V-22.9C-239.4-41-230.4-50-212.3-50z M-103.7-50L-103.7-50c18.1,0,27.1,9,27.1,27.1V85.7c0,18.1-9,27.1-27.1,27.1l0,0c-18.1,0-27.1-9-27.1-27.1V-22.9C-130.9-41-121.8-50-103.7-50z",moveHandleStyle:{color:"#D2DBEE",opacity:.7},showDetail:!0,showDataShadow:"auto",realtime:!0,zoomLock:!1,textStyle:{color:"#6E7079"},brushSelect:!0,brushStyle:{color:"rgba(135,175,274,0.15)"},emphasis:{handleStyle:{borderColor:"#8FB0F7"},moveHandleStyle:{color:"#8FB0F7"}}}),e}(Lv),Vd=st,B3=7,X2e=1,hx=30,Y2e=7,zd="horizontal",F3="vertical",K2e=5,Z2e=["line","bar","candlestick","scatter"],Q2e={easing:"cubicOut",duration:100,delay:0},J2e=function(r){j(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type=e.type,t._displayables={},t}return e.prototype.init=function(t,i){this.api=i,this._onBrush=ge(this._onBrush,this),this._onBrushEnd=ge(this._onBrushEnd,this)},e.prototype.render=function(t,i,n,a){if(r.prototype.render.apply(this,arguments),Vf(this,"_dispatchZoomAction",t.get("throttle"),"fixRate"),this._orient=t.getOrient(),t.get("show")===!1){this.group.removeAll();return}if(t.noTarget()){this._clear(),this.group.removeAll();return}(!a||a.type!=="dataZoom"||a.from!==this.uid)&&this._buildView(),this._updateView()},e.prototype.dispose=function(){this._clear(),r.prototype.dispose.apply(this,arguments)},e.prototype._clear=function(){_v(this,"_dispatchZoomAction");var t=this.api.getZr();t.off("mousemove",this._onBrush),t.off("mouseup",this._onBrushEnd)},e.prototype._buildView=function(){var t=this.group;t.removeAll(),this._brushing=!1,this._displayables.brushRect=null,this._resetLocation(),this._resetInterval();var i=this._displayables.sliderGroup=new Le;this._renderBackground(),this._renderHandle(),this._renderDataShadow(),t.add(i),this._positionGroup()},e.prototype._resetLocation=function(){var t=this.dataZoomModel,i=this.api,n=t.get("brushSelect"),a=n?Y2e:0,s=this._findCoordRect(),o={width:i.getWidth(),height:i.getHeight()},l=this._orient===zd?{right:o.width-s.x-s.width,top:o.height-hx-B3-a,width:s.width,height:hx}:{right:B3,top:s.y,width:hx,height:s.height},u=Bf(t.option);R(["right","top","width","height"],function(h){u[h]==="ph"&&(u[h]=l[h])});var c=Ar(u,o);this._location={x:c.x,y:c.y},this._size=[c.width,c.height],this._orient===F3&&this._size.reverse()},e.prototype._positionGroup=function(){var t=this.group,i=this._location,n=this._orient,a=this.dataZoomModel.getFirstTargetAxisModel(),s=a&&a.get("inverse"),o=this._displayables.sliderGroup,l=(this._dataShadowInfo||{}).otherAxisInverse;o.attr(n===zd&&!s?{scaleY:l?1:-1,scaleX:1}:n===zd&&s?{scaleY:l?1:-1,scaleX:-1}:n===F3&&!s?{scaleY:l?-1:1,scaleX:1,rotation:Math.PI/2}:{scaleY:l?-1:1,scaleX:-1,rotation:Math.PI/2});var u=t.getBoundingRect([o]);t.x=i.x-u.x,t.y=i.y-u.y,t.markRedraw()},e.prototype._getViewExtent=function(){return[0,this._size[0]]},e.prototype._renderBackground=function(){var t=this.dataZoomModel,i=this._size,n=this._displayables.sliderGroup,a=t.get("brushSelect");n.add(new Vd({silent:!0,shape:{x:0,y:0,width:i[0],height:i[1]},style:{fill:t.get("backgroundColor")},z2:-40}));var s=new Vd({shape:{x:0,y:0,width:i[0],height:i[1]},style:{fill:"transparent"},z2:0,onclick:ge(this._onClickPanel,this)}),o=this.api.getZr();a?(s.on("mousedown",this._onBrushStart,this),s.cursor="crosshair",o.on("mousemove",this._onBrush),o.on("mouseup",this._onBrushEnd)):(o.off("mousemove",this._onBrush),o.off("mouseup",this._onBrushEnd)),n.add(s)},e.prototype._renderDataShadow=function(){var t=this._dataShadowInfo=this._prepareDataShadowInfo();if(this._displayables.dataShadowSegs=[],!t)return;var i=this._size,n=this._shadowSize||[],a=t.series,s=a.getRawData(),o=a.getShadowDim&&a.getShadowDim(),l=o&&s.getDimensionInfo(o)?a.getShadowDim():t.otherDim;if(l==null)return;var u=this._shadowPolygonPts,c=this._shadowPolylinePts;if(s!==this._shadowData||l!==this._shadowDim||i[0]!==n[0]||i[1]!==n[1]){var h=s.getDataExtent(l),d=(h[1]-h[0])*.3;h=[h[0]-d,h[1]+d];var f=[0,i[1]],p=[0,i[0]],v=[[i[0],0],[0,0]],g=[],m=p[1]/(s.count()-1),y=0,_=Math.round(s.count()/i[0]),b;s.each([l],function(I,M){if(_>0&&M%_){y+=m;return}var L=I==null||isNaN(I)||I==="",N=L?0:bt(I,h,f,!0);L&&!b&&M?(v.push([v[v.length-1][0],0]),g.push([g[g.length-1][0],0])):!L&&b&&(v.push([y,0]),g.push([y,0])),v.push([y,N]),g.push([y,N]),y+=m,b=L}),u=this._shadowPolygonPts=v,c=this._shadowPolylinePts=g}this._shadowData=s,this._shadowDim=l,this._shadowSize=[i[0],i[1]];var T=this.dataZoomModel;function x(I){var M=T.getModel(I?"selectedDataBackground":"dataBackground"),L=new Le,N=new Ii({shape:{points:u},segmentIgnoreThreshold:1,style:M.getModel("areaStyle").getAreaStyle(),silent:!0,z2:-20}),O=new Pi({shape:{points:c},segmentIgnoreThreshold:1,style:M.getModel("lineStyle").getLineStyle(),silent:!0,z2:-19});return L.add(N),L.add(O),L}for(var C=0;C<3;C++){var D=x(C===1);this._displayables.sliderGroup.add(D),this._displayables.dataShadowSegs.push(D)}},e.prototype._prepareDataShadowInfo=function(){var t=this.dataZoomModel,i=t.get("showDataShadow");if(i!==!1){var n,a=this.ecModel;return t.eachTargetAxis(function(s,o){var l=t.getAxisProxy(s,o).getTargetSeriesModels();R(l,function(u){if(!n&&!(i!==!0&&Xe(Z2e,u.get("type"))<0)){var c=a.getComponent(Go(s),o).axis,h=eCe(s),d,f=u.coordinateSystem;h!=null&&f.getOtherAxis&&(d=f.getOtherAxis(c).inverse),h=u.getData().mapDimension(h),n={thisAxis:c,series:u,thisDim:s,otherDim:h,otherAxisInverse:d}}},this)},this),n}},e.prototype._renderHandle=function(){var t=this.group,i=this._displayables,n=i.handles=[null,null],a=i.handleLabels=[null,null],s=this._displayables.sliderGroup,o=this._size,l=this.dataZoomModel,u=this.api,c=l.get("borderRadius")||0,h=l.get("brushSelect"),d=i.filler=new Vd({silent:h,style:{fill:l.get("fillerColor")},textConfig:{position:"inside"}});s.add(d),s.add(new Vd({silent:!0,subPixelOptimize:!0,shape:{x:0,y:0,width:o[0],height:o[1],r:c},style:{stroke:l.get("dataBackgroundColor")||l.get("borderColor"),lineWidth:X2e,fill:"rgba(0,0,0,0)"}})),R([0,1],function(_){var b=l.get("handleIcon");!V0[b]&&b.indexOf("path://")<0&&b.indexOf("image://")<0&&(b="path://"+b);var T=yr(b,-1,0,2,2,null,!0);T.attr({cursor:U3(this._orient),draggable:!0,drift:ge(this._onDragMove,this,_),ondragend:ge(this._onDragEnd,this),onmouseover:ge(this._showDataInfo,this,!0),onmouseout:ge(this._showDataInfo,this,!1),z2:5});var x=T.getBoundingRect(),C=l.get("handleSize");this._handleHeight=ce(C,this._size[1]),this._handleWidth=x.width/x.height*this._handleHeight,T.setStyle(l.getModel("handleStyle").getItemStyle()),T.style.strokeNoScale=!0,T.rectHover=!0,T.ensureState("emphasis").style=l.getModel(["emphasis","handleStyle"]).getItemStyle(),zu(T);var D=l.get("handleColor");D!=null&&(T.style.fill=D),s.add(n[_]=T);var I=l.getModel("textStyle");t.add(a[_]=new lt({silent:!0,invisible:!0,style:kt(I,{x:0,y:0,text:"",verticalAlign:"middle",align:"center",fill:I.getTextColor(),font:I.getFont()}),z2:10}))},this);var f=d;if(h){var p=ce(l.get("moveHandleSize"),o[1]),v=i.moveHandle=new st({style:l.getModel("moveHandleStyle").getItemStyle(),silent:!0,shape:{r:[0,0,2,2],y:o[1]-.5,height:p}}),g=p*.8,m=i.moveHandleIcon=yr(l.get("moveHandleIcon"),-g/2,-g/2,g,g,"#fff",!0);m.silent=!0,m.y=o[1]+p/2-.5,v.ensureState("emphasis").style=l.getModel(["emphasis","moveHandleStyle"]).getItemStyle();var y=Math.min(o[1]/2,Math.max(p,10));f=i.moveZone=new st({invisible:!0,shape:{y:o[1]-y,height:p+y}}),f.on("mouseover",function(){u.enterEmphasis(v)}).on("mouseout",function(){u.leaveEmphasis(v)}),s.add(v),s.add(m),s.add(f)}f.attr({draggable:!0,cursor:U3(this._orient),drift:ge(this._onDragMove,this,"all"),ondragstart:ge(this._showDataInfo,this,!0),ondragend:ge(this._onDragEnd,this),onmouseover:ge(this._showDataInfo,this,!0),onmouseout:ge(this._showDataInfo,this,!1)})},e.prototype._resetInterval=function(){var t=this._range=this.dataZoomModel.getPercentRange(),i=this._getViewExtent();this._handleEnds=[bt(t[0],[0,100],i,!0),bt(t[1],[0,100],i,!0)]},e.prototype._updateInterval=function(t,i){var n=this.dataZoomModel,a=this._handleEnds,s=this._getViewExtent(),o=n.findRepresentativeAxisProxy().getMinMaxSpan(),l=[0,100];vc(i,a,s,n.get("zoomLock")?"all":t,o.minSpan!=null?bt(o.minSpan,l,s,!0):null,o.maxSpan!=null?bt(o.maxSpan,l,s,!0):null);var u=this._range,c=this._range=Hn([bt(a[0],s,l,!0),bt(a[1],s,l,!0)]);return!u||u[0]!==c[0]||u[1]!==c[1]},e.prototype._updateView=function(t){var i=this._displayables,n=this._handleEnds,a=Hn(n.slice()),s=this._size;R([0,1],function(f){var p=i.handles[f],v=this._handleHeight;p.attr({scaleX:v/2,scaleY:v/2,x:n[f]+(f?-1:1),y:s[1]/2-v/2})},this),i.filler.setShape({x:a[0],y:0,width:a[1]-a[0],height:s[1]});var o={x:a[0],width:a[1]-a[0]};i.moveHandle&&(i.moveHandle.setShape(o),i.moveZone.setShape(o),i.moveZone.getBoundingRect(),i.moveHandleIcon&&i.moveHandleIcon.attr("x",o.x+o.width/2));for(var l=i.dataShadowSegs,u=[0,a[0],a[1],s[0]],c=0;ci[0]||n[1]<0||n[1]>i[1])){var a=this._handleEnds,s=(a[0]+a[1])/2,o=this._updateInterval("all",n[0]-s);this._updateView(),o&&this._dispatchZoomAction(!1)}},e.prototype._onBrushStart=function(t){var i=t.offsetX,n=t.offsetY;this._brushStart=new He(i,n),this._brushing=!0,this._brushStartTime=+new Date},e.prototype._onBrushEnd=function(t){if(this._brushing){var i=this._displayables.brushRect;if(this._brushing=!1,!!i){i.attr("ignore",!0);var n=i.shape,a=+new Date;if(!(a-this._brushStartTime<200&&Math.abs(n.width)<5)){var s=this._getViewExtent(),o=[0,100];this._range=Hn([bt(n.x,s,o,!0),bt(n.x+n.width,s,o,!0)]),this._handleEnds=[n.x,n.x+n.width],this._updateView(),this._dispatchZoomAction(!1)}}}},e.prototype._onBrush=function(t){this._brushing&&($s(t.event),this._updateBrushRect(t.offsetX,t.offsetY))},e.prototype._updateBrushRect=function(t,i){var n=this._displayables,a=this.dataZoomModel,s=n.brushRect;s||(s=n.brushRect=new Vd({silent:!0,style:a.getModel("brushStyle").getItemStyle()}),n.sliderGroup.add(s)),s.attr("ignore",!1);var o=this._brushStart,l=this._displayables.sliderGroup,u=l.transformCoordToLocal(t,i),c=l.transformCoordToLocal(o.x,o.y),h=this._size;u[0]=Math.max(Math.min(h[0],u[0]),0),s.setShape({x:c[0],y:0,width:u[0]-c[0],height:h[1]})},e.prototype._dispatchZoomAction=function(t){var i=this._range;this.api.dispatchAction({type:"dataZoom",from:this.uid,dataZoomId:this.dataZoomModel.id,animation:t?Q2e:null,start:i[0],end:i[1]})},e.prototype._findCoordRect=function(){var t,i=Lj(this.dataZoomModel).infoList;if(!t&&i.length){var n=i[0].model.coordinateSystem;t=n.getRect&&n.getRect()}if(!t){var a=this.api.getWidth(),s=this.api.getHeight();t={x:a*.2,y:s*.2,width:a*.6,height:s*.6}}return t},e.type="dataZoom.slider",e}(NE);function eCe(r){var e={x:"y",y:"x",radius:"angle",angle:"radius"};return e[r]}function U3(r){return r==="vertical"?"ns-resize":"ew-resize"}function Qj(r){r.registerComponentModel(j2e),r.registerComponentView(J2e),BE(r)}function tCe(r){Ze(Zj),Ze(Qj)}var Jj={get:function(r,e,t){var i=Ee((rCe[r]||{})[e]);return t&&ie(i)?i[i.length-1]:i}},rCe={color:{active:["#006edd","#e0ffff"],inactive:["rgba(0,0,0,0)"]},colorHue:{active:[0,360],inactive:[0,0]},colorSaturation:{active:[.3,1],inactive:[0,0]},colorLightness:{active:[.9,.5],inactive:[0,0]},colorAlpha:{active:[.3,1],inactive:[0,0]},opacity:{active:[.3,1],inactive:[0,0]},symbol:{active:["circle","roundRect","diamond"],inactive:["none"]},symbolSize:{active:[10,50],inactive:[0,0]}},V3=Or.mapVisual,iCe=Or.eachVisual,nCe=ie,z3=R,aCe=Hn,sCe=bt,c_=function(r){j(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type=e.type,t.stateList=["inRange","outOfRange"],t.replacableOptionKeys=["inRange","outOfRange","target","controller","color"],t.layoutMode={type:"box",ignoreSize:!0},t.dataBound=[-1/0,1/0],t.targetVisuals={},t.controllerVisuals={},t}return e.prototype.init=function(t,i,n){this.mergeDefaultAndTheme(t,n)},e.prototype.optionUpdated=function(t,i){var n=this.option;!i&&Gj(n,t,this.replacableOptionKeys),this.textStyleModel=this.getModel("textStyle"),this.resetItemSize(),this.completeVisualOption()},e.prototype.resetVisual=function(t){var i=this.stateList;t=ge(t,this),this.controllerVisuals=eC(this.option.controller,i,t),this.targetVisuals=eC(this.option.target,i,t)},e.prototype.getItemSymbol=function(){return null},e.prototype.getTargetSeriesIndices=function(){var t=this.option.seriesIndex,i=[];return t==null||t==="all"?this.ecModel.eachSeries(function(n,a){i.push(a)}):i=xt(t),i},e.prototype.eachTargetSeries=function(t,i){R(this.getTargetSeriesIndices(),function(n){var a=this.ecModel.getSeriesByIndex(n);a&&t.call(i,a)},this)},e.prototype.isTargetSeries=function(t){var i=!1;return this.eachTargetSeries(function(n){n===t&&(i=!0)}),i},e.prototype.formatValueText=function(t,i,n){var a=this.option,s=a.precision,o=this.dataBound,l=a.formatter,u;n=n||["<",">"],ie(t)&&(t=t.slice(),u=!0);var c=i?t:u?[h(t[0]),h(t[1])]:h(t);if(pe(l))return l.replace("{value}",u?c[0]:c).replace("{value2}",u?c[1]:c);if(we(l))return u?l(t[0],t[1]):l(t);if(u)return t[0]===o[0]?n[0]+" "+c[1]:t[1]===o[1]?n[1]+" "+c[0]:c[0]+" - "+c[1];return c;function h(d){return d===o[0]?"min":d===o[1]?"max":(+d).toFixed(Math.min(s,20))}},e.prototype.resetExtent=function(){var t=this.option,i=aCe([t.min,t.max]);this._dataExtent=i},e.prototype.getDataDimensionIndex=function(t){var i=this.option.dimension;if(i!=null)return t.getDimensionIndex(i);for(var n=t.dimensions,a=n.length-1;a>=0;a--){var s=n[a],o=t.getDimensionInfo(s);if(!o.isCalculationCoord)return o.storeDimIndex}},e.prototype.getExtent=function(){return this._dataExtent.slice()},e.prototype.completeVisualOption=function(){var t=this.ecModel,i=this.option,n={inRange:i.inRange,outOfRange:i.outOfRange},a=i.target||(i.target={}),s=i.controller||(i.controller={});We(a,n),We(s,n);var o=this.isCategory();l.call(this,a),l.call(this,s),u.call(this,a,"inRange","outOfRange"),c.call(this,s);function l(h){nCe(i.color)&&!h.inRange&&(h.inRange={color:i.color.slice().reverse()}),h.inRange=h.inRange||{color:t.get("gradientColor")}}function u(h,d,f){var p=h[d],v=h[f];p&&!v&&(v=h[f]={},z3(p,function(g,m){if(Or.isValidType(m)){var y=Jj.get(m,"inactive",o);y!=null&&(v[m]=y,m==="color"&&!v.hasOwnProperty("opacity")&&!v.hasOwnProperty("colorAlpha")&&(v.opacity=[0,0]))}}))}function c(h){var d=(h.inRange||{}).symbol||(h.outOfRange||{}).symbol,f=(h.inRange||{}).symbolSize||(h.outOfRange||{}).symbolSize,p=this.get("inactiveColor"),v=this.getItemSymbol(),g=v||"roundRect";z3(this.stateList,function(m){var y=this.itemSize,_=h[m];_||(_=h[m]={color:o?p:[p]}),_.symbol==null&&(_.symbol=d&&Ee(d)||(o?g:[g])),_.symbolSize==null&&(_.symbolSize=f&&Ee(f)||(o?y[0]:[y[0],y[0]])),_.symbol=V3(_.symbol,function(x){return x==="none"?g:x});var b=_.symbolSize;if(b!=null){var T=-1/0;iCe(b,function(x){x>T&&(T=x)}),_.symbolSize=V3(b,function(x){return sCe(x,[0,T],[0,y[0]],!0)})}},this)}},e.prototype.resetItemSize=function(){this.itemSize=[parseFloat(this.get("itemWidth")),parseFloat(this.get("itemHeight"))]},e.prototype.isCategory=function(){return!!this.option.categories},e.prototype.setSelected=function(t){},e.prototype.getSelected=function(){return null},e.prototype.getValueState=function(t){return null},e.prototype.getVisualMeta=function(t){return null},e.type="visualMap",e.dependencies=["series"],e.defaultOption={show:!0,z:4,seriesIndex:"all",min:0,max:200,left:0,right:null,top:null,bottom:0,itemWidth:null,itemHeight:null,inverse:!1,orient:"vertical",backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",contentColor:"#5793f3",inactiveColor:"#aaa",borderWidth:0,padding:5,textGap:10,precision:0,textStyle:{color:"#333"}},e}(tt),G3=[20,140],oCe=function(r){j(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type=e.type,t}return e.prototype.optionUpdated=function(t,i){r.prototype.optionUpdated.apply(this,arguments),this.resetExtent(),this.resetVisual(function(n){n.mappingMethod="linear",n.dataExtent=this.getExtent()}),this._resetRange()},e.prototype.resetItemSize=function(){r.prototype.resetItemSize.apply(this,arguments);var t=this.itemSize;(t[0]==null||isNaN(t[0]))&&(t[0]=G3[0]),(t[1]==null||isNaN(t[1]))&&(t[1]=G3[1])},e.prototype._resetRange=function(){var t=this.getExtent(),i=this.option.range;!i||i.auto?(t.auto=1,this.option.range=t):ie(i)&&(i[0]>i[1]&&i.reverse(),i[0]=Math.max(i[0],t[0]),i[1]=Math.min(i[1],t[1]))},e.prototype.completeVisualOption=function(){r.prototype.completeVisualOption.apply(this,arguments),R(this.stateList,function(t){var i=this.option.controller[t].symbolSize;i&&i[0]!==i[1]&&(i[0]=i[1]/3)},this)},e.prototype.setSelected=function(t){this.option.range=t.slice(),this._resetRange()},e.prototype.getSelected=function(){var t=this.getExtent(),i=Hn((this.get("range")||[]).slice());return i[0]>t[1]&&(i[0]=t[1]),i[1]>t[1]&&(i[1]=t[1]),i[0]=n[1]||t<=i[1])?"inRange":"outOfRange"},e.prototype.findTargetDataIndices=function(t){var i=[];return this.eachTargetSeries(function(n){var a=[],s=n.getData();s.each(this.getDataDimensionIndex(s),function(o,l){t[0]<=o&&o<=t[1]&&a.push(l)},this),i.push({seriesId:n.id,dataIndex:a})},this),i},e.prototype.getVisualMeta=function(t){var i=H3(this,"outOfRange",this.getExtent()),n=H3(this,"inRange",this.option.range.slice()),a=[];function s(f,p){a.push({value:f,color:t(f,p)})}for(var o=0,l=0,u=n.length,c=i.length;lt[1])break;a.push({color:this.getControllerVisual(l,"color",i),offset:o/n})}return a.push({color:this.getControllerVisual(t[1],"color",i),offset:1}),a},e.prototype._createBarPoints=function(t,i){var n=this.visualMapModel.itemSize;return[[n[0]-i[0],t[0]],[n[0],t[0]],[n[0],t[1]],[n[0]-i[1],t[1]]]},e.prototype._createBarGroup=function(t){var i=this._orient,n=this.visualMapModel.get("inverse");return new Le(i==="horizontal"&&!n?{scaleX:t==="bottom"?1:-1,rotation:Math.PI/2}:i==="horizontal"&&n?{scaleX:t==="bottom"?-1:1,rotation:-Math.PI/2}:i==="vertical"&&!n?{scaleX:t==="left"?1:-1,scaleY:-1}:{scaleX:t==="left"?1:-1})},e.prototype._updateHandle=function(t,i){if(this._useHandle){var n=this._shapes,a=this.visualMapModel,s=n.handleThumbs,o=n.handleLabels,l=a.itemSize,u=a.getExtent();lCe([0,1],function(c){var h=s[c];h.setStyle("fill",i.handlesColor[c]),h.y=t[c];var d=La(t[c],[0,l[1]],u,!0),f=this.getControllerVisual(d,"symbolSize");h.scaleX=h.scaleY=f/l[0],h.x=l[0]-f/2;var p=ma(n.handleLabelPoints[c],Gu(h,this.group));o[c].setStyle({x:p[0],y:p[1],text:a.formatValueText(this._dataInterval[c]),verticalAlign:"middle",align:this._orient==="vertical"?this._applyTransform("left",n.mainGroup):"center"})},this)}},e.prototype._showIndicator=function(t,i,n,a){var s=this.visualMapModel,o=s.getExtent(),l=s.itemSize,u=[0,l[1]],c=this._shapes,h=c.indicator;if(h){h.attr("invisible",!1);var d={convertOpacityToAlpha:!0},f=this.getControllerVisual(t,"color",d),p=this.getControllerVisual(t,"symbolSize"),v=La(t,o,u,!0),g=l[0]-p/2,m={x:h.x,y:h.y};h.y=v,h.x=g;var y=ma(c.indicatorLabelPoint,Gu(h,this.group)),_=c.indicatorLabel;_.attr("invisible",!1);var b=this._applyTransform("left",c.mainGroup),T=this._orient,x=T==="horizontal";_.setStyle({text:(n||"")+s.formatValueText(i),verticalAlign:x?b:"middle",align:x?"center":b});var C={x:g,y:v,style:{fill:f}},D={style:{x:y[0],y:y[1]}};if(s.ecModel.isAnimationEnabled()&&!this._firstShowIndicator){var I={duration:100,easing:"cubicInOut",additive:!0};h.x=m.x,h.y=m.y,h.animateTo(C,I),_.animateTo(D,I)}else h.attr(C),_.attr(D);this._firstShowIndicator=!1;var M=this._shapes.handleLabels;if(M)for(var L=0;Ls[1]&&(h[1]=1/0),i&&(h[0]===-1/0?this._showIndicator(c,h[1],"< ",l):h[1]===1/0?this._showIndicator(c,h[0],"> ",l):this._showIndicator(c,c,"≈ ",l));var d=this._hoverLinkDataIndices,f=[];(i||j3(n))&&(f=this._hoverLinkDataIndices=n.findTargetDataIndices(h));var p=bue(d,f);this._dispatchHighDown("downplay",ky(p[0],n)),this._dispatchHighDown("highlight",ky(p[1],n))}},e.prototype._hoverLinkFromSeriesMouseOver=function(t){var i;if(bu(t.target,function(l){var u=ke(l);if(u.dataIndex!=null)return i=u,!0},!0),!!i){var n=this.ecModel.getSeriesByIndex(i.seriesIndex),a=this.visualMapModel;if(a.isTargetSeries(n)){var s=n.getData(i.dataType),o=s.getStore().get(a.getDataDimensionIndex(s),i.dataIndex);isNaN(o)||this._showIndicator(o,o)}}},e.prototype._hideIndicator=function(){var t=this._shapes;t.indicator&&t.indicator.attr("invisible",!0),t.indicatorLabel&&t.indicatorLabel.attr("invisible",!0);var i=this._shapes.handleLabels;if(i)for(var n=0;n=0&&(a.dimension=s,i.push(a))}}),r.getData().setVisual("visualMeta",i)}}];function gCe(r,e,t,i){for(var n=e.targetVisuals[i],a=Or.prepareVisualTypes(n),s={color:ag(r.getData(),"color")},o=0,l=a.length;o0:e.splitNumber>0)||e.calculable)?"continuous":"piecewise"}),r.registerAction(dCe,pCe),R(vCe,function(e){r.registerVisual(r.PRIORITY.VISUAL.COMPONENT,e)}),r.registerPreprocessor(mCe))}function iX(r){r.registerComponentModel(oCe),r.registerComponentView(hCe),rX(r)}var yCe=function(r){j(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type=e.type,t._pieceList=[],t}return e.prototype.optionUpdated=function(t,i){r.prototype.optionUpdated.apply(this,arguments),this.resetExtent();var n=this._mode=this._determineMode();this._pieceList=[],_Ce[this._mode].call(this,this._pieceList),this._resetSelected(t,i);var a=this.option.categories;this.resetVisual(function(s,o){n==="categories"?(s.mappingMethod="category",s.categories=Ee(a)):(s.dataExtent=this.getExtent(),s.mappingMethod="piecewise",s.pieceList=oe(this._pieceList,function(l){return l=Ee(l),o!=="inRange"&&(l.visual=null),l}))})},e.prototype.completeVisualOption=function(){var t=this.option,i={},n=Or.listVisualTypes(),a=this.isCategory();R(t.pieces,function(o){R(n,function(l){o.hasOwnProperty(l)&&(i[l]=1)})}),R(i,function(o,l){var u=!1;R(this.stateList,function(c){u=u||s(t,c,l)||s(t.target,c,l)},this),!u&&R(this.stateList,function(c){(t[c]||(t[c]={}))[l]=Jj.get(l,c==="inRange"?"active":"inactive",a)})},this);function s(o,l,u){return o&&o[l]&&o[l].hasOwnProperty(u)}r.prototype.completeVisualOption.apply(this,arguments)},e.prototype._resetSelected=function(t,i){var n=this.option,a=this._pieceList,s=(i?n:t).selected||{};if(n.selected=s,R(a,function(l,u){var c=this.getSelectedMapKey(l);s.hasOwnProperty(c)||(s[c]=!0)},this),n.selectedMode==="single"){var o=!1;R(a,function(l,u){var c=this.getSelectedMapKey(l);s[c]&&(o?s[c]=!1:o=!0)},this)}},e.prototype.getItemSymbol=function(){return this.get("itemSymbol")},e.prototype.getSelectedMapKey=function(t){return this._mode==="categories"?t.value+"":t.index+""},e.prototype.getPieceList=function(){return this._pieceList},e.prototype._determineMode=function(){var t=this.option;return t.pieces&&t.pieces.length>0?"pieces":this.option.categories?"categories":"splitNumber"},e.prototype.setSelected=function(t){this.option.selected=Ee(t)},e.prototype.getValueState=function(t){var i=Or.findPieceIndex(t,this._pieceList);return i!=null&&this.option.selected[this.getSelectedMapKey(this._pieceList[i])]?"inRange":"outOfRange"},e.prototype.findTargetDataIndices=function(t){var i=[],n=this._pieceList;return this.eachTargetSeries(function(a){var s=[],o=a.getData();o.each(this.getDataDimensionIndex(o),function(l,u){var c=Or.findPieceIndex(l,n);c===t&&s.push(u)},this),i.push({seriesId:a.id,dataIndex:s})},this),i},e.prototype.getRepresentValue=function(t){var i;if(this.isCategory())i=t.value;else if(t.value!=null)i=t.value;else{var n=t.interval||[];i=n[0]===-1/0&&n[1]===1/0?0:(n[0]+n[1])/2}return i},e.prototype.getVisualMeta=function(t){if(this.isCategory())return;var i=[],n=["",""],a=this;function s(c,h){var d=a.getRepresentValue({interval:c});h||(h=a.getValueState(d));var f=t(d,h);c[0]===-1/0?n[0]=f:c[1]===1/0?n[1]=f:i.push({value:c[0],color:f},{value:c[1],color:f})}var o=this._pieceList.slice();if(!o.length)o.push({interval:[-1/0,1/0]});else{var l=o[0].interval[0];l!==-1/0&&o.unshift({interval:[-1/0,l]}),l=o[o.length-1].interval[1],l!==1/0&&o.push({interval:[l,1/0]})}var u=-1/0;return R(o,function(c){var h=c.interval;h&&(h[0]>u&&s([u,h[0]],"outOfRange"),s(h.slice()),u=h[1])},this),{stops:i,outerColors:n}},e.type="visualMap.piecewise",e.defaultOption=hl(c_.defaultOption,{selected:null,minOpen:!1,maxOpen:!1,align:"auto",itemWidth:20,itemHeight:14,itemSymbol:"roundRect",pieces:null,categories:null,splitNumber:5,selectedMode:"multiple",itemGap:10,hoverLink:!0}),e}(c_),_Ce={splitNumber:function(r){var e=this.option,t=Math.min(e.precision,20),i=this.getExtent(),n=e.splitNumber;n=Math.max(parseInt(n,10),1),e.splitNumber=n;for(var a=(i[1]-i[0])/n;+a.toFixed(t)!==a&&t<5;)t++;e.precision=t,a=+a.toFixed(t),e.minOpen&&r.push({interval:[-1/0,i[0]],close:[0,0]});for(var s=0,o=i[0];s","≥"][i[0]]];t.text=t.text||this.formatValueText(t.value!=null?t.value:t.interval,!1,n)},this)}};function Z3(r,e){var t=r.inverse;(r.orient==="vertical"?!t:t)&&e.reverse()}var bCe=function(r){j(e,r);function e(){var t=r!==null&&r.apply(this,arguments)||this;return t.type=e.type,t}return e.prototype.doRender=function(){var t=this.group;t.removeAll();var i=this.visualMapModel,n=i.get("textGap"),a=i.textStyleModel,s=a.getFont(),o=a.getTextColor(),l=this._getItemAlign(),u=i.itemSize,c=this._getViewData(),h=c.endsText,d=Gr(i.get("showLabel",!0),!h);h&&this._renderEndsText(t,h[0],u,d,l),R(c.viewPieceList,function(f){var p=f.piece,v=new Le;v.onclick=ge(this._onItemClick,this,p),this._enableHoverLink(v,f.indexInModelPieceList);var g=i.getRepresentValue(p);if(this._createItemSymbol(v,g,[0,0,u[0],u[1]]),d){var m=this.visualMapModel.getValueState(g);v.add(new lt({style:{x:l==="right"?-n:u[0]+n,y:u[1]/2,text:p.text,verticalAlign:"middle",align:l,font:s,fill:o,opacity:m==="outOfRange"?.5:1}}))}t.add(v)},this),h&&this._renderEndsText(t,h[1],u,d,l),Hu(i.get("orient"),t,i.get("itemGap")),this.renderBackground(t),this.positionGroup(t)},e.prototype._enableHoverLink=function(t,i){var n=this;t.on("mouseover",function(){return a("highlight")}).on("mouseout",function(){return a("downplay")});var a=function(s){var o=n.visualMapModel;o.option.hoverLink&&n.api.dispatchAction({type:s,batch:ky(o.findTargetDataIndices(i),o)})}},e.prototype._getItemAlign=function(){var t=this.visualMapModel,i=t.option;if(i.orient==="vertical")return tX(t,this.api,t.itemSize);var n=i.align;return(!n||n==="auto")&&(n="left"),n},e.prototype._renderEndsText=function(t,i,n,a,s){if(i){var o=new Le,l=this.visualMapModel.textStyleModel;o.add(new lt({style:kt(l,{x:a?s==="right"?n[0]:0:n[0]/2,y:n[1]/2,verticalAlign:"middle",align:a?s:"center",text:i})})),t.add(o)}},e.prototype._getViewData=function(){var t=this.visualMapModel,i=oe(t.getPieceList(),function(o,l){return{piece:o,indexInModelPieceList:l}}),n=t.get("text"),a=t.get("orient"),s=t.get("inverse");return(a==="horizontal"?s:!s)?i.reverse():n&&(n=n.slice().reverse()),{viewPieceList:i,endsText:n}},e.prototype._createItemSymbol=function(t,i,n){t.add(yr(this.getControllerVisual(i,"symbol"),n[0],n[1],n[2],n[3],this.getControllerVisual(i,"color")))},e.prototype._onItemClick=function(t){var i=this.visualMapModel,n=i.option,a=n.selectedMode;if(a){var s=Ee(n.selected),o=i.getSelectedMapKey(t);a==="single"||a===!0?(s[o]=!0,R(s,function(l,u){s[u]=u===o})):s[o]=!s[o],this.api.dispatchAction({type:"selectDataRange",from:this.uid,visualMapId:this.visualMapModel.id,selected:s})}},e.type="visualMap.piecewise",e}(eX);function nX(r){r.registerComponentModel(yCe),r.registerComponentView(bCe),rX(r)}function SCe(r){Ze(iX),Ze(nX)}var TCe={label:{enabled:!0},decal:{show:!1}},Q3=ot(),xCe={};function wCe(r,e){var t=r.getModel("aria");if(!t.get("enabled"))return;var i=Ee(TCe);We(i.label,r.getLocaleModel().get("aria"),!1),We(t.option,i,!1),n(),a();function n(){var u=t.getModel("decal"),c=u.get("show");if(c){var h=be();r.eachSeries(function(d){if(!d.isColorBySeries()){var f=h.get(d.type);f||(f={},h.set(d.type,f)),Q3(d).scope=f}}),r.eachRawSeries(function(d){if(r.isSeriesFiltered(d))return;if(we(d.enableAriaDecal)){d.enableAriaDecal();return}var f=d.getData();if(d.isColorBySeries()){var y=s2(d.ecModel,d.name,xCe,r.getSeriesCount()),_=f.getVisual("decal");f.setVisual("decal",b(_,y))}else{var p=d.getRawData(),v={},g=Q3(d).scope;f.each(function(T){var x=f.getRawIndex(T);v[x]=T});var m=p.count();p.each(function(T){var x=v[T],C=p.getName(T)||T+"",D=s2(d.ecModel,C,g,m),I=f.getItemVisual(x,"decal");f.setItemVisual(x,"decal",b(I,D))})}function b(T,x){var C=T?J(J({},x),T):x;return C.dirty=!0,C}})}}function a(){var u=e.getZr().dom;if(u){var c=r.getLocaleModel().get("aria"),h=t.getModel("label");if(h.option=Ce(h.option,c),!!h.get("enabled")){if(h.get("description")){u.setAttribute("aria-label",h.get("description"));return}var d=r.getSeriesCount(),f=h.get(["data","maxCount"])||10,p=h.get(["series","maxCount"])||10,v=Math.min(d,p),g;if(!(d<1)){var m=o();if(m){var y=h.get(["general","withTitle"]);g=s(y,{title:m})}else g=h.get(["general","withoutTitle"]);var _=[],b=d>1?h.get(["series","multiple","prefix"]):h.get(["series","single","prefix"]);g+=s(b,{seriesCount:d}),r.eachSeries(function(D,I){if(I1?h.get(["series","multiple",N]):h.get(["series","single",N]),M=s(M,{seriesId:D.seriesIndex,seriesName:D.get("name"),seriesType:l(D.subType)});var O=D.getData();if(O.count()>f){var B=h.get(["data","partialData"]);M+=s(B,{displayCnt:f})}else M+=h.get(["data","allData"]);for(var F=h.get(["data","separator","middle"]),U=h.get(["data","separator","end"]),$=[],q=0;q":"gt",">=":"gte","=":"eq","!=":"ne","<>":"ne"},DCe=function(){function r(e){var t=this._condVal=pe(e)?new RegExp(e):Voe(e)?e:null;if(t==null){var i="";vt(i)}}return r.prototype.evaluate=function(e){var t=typeof e;return pe(t)?this._condVal.test(e):ut(t)?this._condVal.test(e+""):!1},r}(),ECe=function(){function r(){}return r.prototype.evaluate=function(){return this.value},r}(),ICe=function(){function r(){}return r.prototype.evaluate=function(){for(var e=this.children,t=0;t2&&i.push(n),n=[O,B]}function c(O,B,F,U){_h(O,F)&&_h(B,U)||n.push(O,B,F,U,F,U)}function h(O,B,F,U,$,q){var Z=Math.abs(B-O),te=Math.tan(Z/4)*4/3,Q=BD:L2&&i.push(n),i}function lC(r,e,t,i,n,a,s,o,l,u){if(_h(r,t)&&_h(e,i)&&_h(n,s)&&_h(a,o)){l.push(s,o);return}var c=2/u,h=c*c,d=s-r,f=o-e,p=Math.sqrt(d*d+f*f);d/=p,f/=p;var v=t-r,g=i-e,m=n-s,y=a-o,_=v*v+g*g,b=m*m+y*y;if(_=0&&D=0){l.push(s,o);return}var I=[],M=[];tl(r,t,n,s,.5,I),tl(e,i,a,o,.5,M),lC(I[0],M[0],I[1],M[1],I[2],M[2],I[3],M[3],l,u),lC(I[4],M[4],I[5],M[5],I[6],M[6],I[7],M[7],l,u)}function HCe(r,e){var t=oC(r),i=[];e=e||1;for(var n=0;n0)for(var u=0;uMath.abs(u),h=sX([l,u],c?0:1,e),d=(c?o:u)/h.length,f=0;fn,s=sX([i,n],a?0:1,e),o=a?"width":"height",l=a?"height":"width",u=a?"x":"y",c=a?"y":"x",h=r[o]/s.length,d=0;d1?null:new He(v*l+r,v*u+e)}function qCe(r,e,t){var i=new He;He.sub(i,t,e),i.normalize();var n=new He;He.sub(n,r,e);var a=n.dot(i);return a}function eh(r,e){var t=r[r.length-1];t&&t[0]===e[0]&&t[1]===e[1]||r.push(e)}function jCe(r,e,t){for(var i=r.length,n=[],a=0;as?(u.x=c.x=o+a/2,u.y=l,c.y=l+s):(u.y=c.y=l+s/2,u.x=o,c.x=o+a),jCe(e,u,c)}function h_(r,e,t,i){if(t===1)i.push(e);else{var n=Math.floor(t/2),a=r(e);h_(r,a[0],n,i),h_(r,a[1],t-n,i)}return i}function XCe(r,e){for(var t=[],i=0;i0;u/=2){var c=0,h=0;(r&u)>0&&(c=1),(e&u)>0&&(h=1),o+=u*u*(3*c^h),h===0&&(c===1&&(r=u-1-r,e=u-1-e),l=r,r=e,e=l)}return o}function p_(r){var e=1/0,t=1/0,i=-1/0,n=-1/0,a=oe(r,function(o){var l=o.getBoundingRect(),u=o.getComputedTransform(),c=l.x+l.width/2+(u?u[4]:0),h=l.y+l.height/2+(u?u[5]:0);return e=Math.min(c,e),t=Math.min(h,t),i=Math.max(c,i),n=Math.max(h,n),[c,h]}),s=oe(a,function(o,l){return{cp:o,z:iAe(o[0],o[1],e,t,i,n),path:r[l]}});return s.sort(function(o,l){return o.z-l.z}).map(function(o){return o.path})}function uX(r){return ZCe(r.path,r.count)}function uC(){return{fromIndividuals:[],toIndividuals:[],count:0}}function nAe(r,e,t){var i=[];function n(T){for(var x=0;x=0;n--)if(!t[n].many.length){var l=t[o].many;if(l.length<=1)if(o)o=0;else return t;var a=l.length,u=Math.ceil(a/2);t[n].many=l.slice(u,a),t[o].many=l.slice(0,u),o++}return t}var sAe={clone:function(r){for(var e=[],t=1-Math.pow(1-r.path.style.opacity,1/r.count),i=0;i0))return;var o=i.getModel("universalTransition").get("delay"),l=Object.assign({setToFinal:!0},s),u,c;o5(r)&&(u=r,c=e),o5(e)&&(u=e,c=r);function h(m,y,_,b,T){var x=m.many,C=m.one;if(x.length===1&&!T){var D=y?x[0]:C,I=y?C:x[0];if(f_(D))h({many:[D],one:I},!0,_,b,!0);else{var M=o?Ce({delay:o(_,b)},l):l;jE(D,I,M),a(D,I,D,I,M)}}else for(var L=Ce({dividePath:sAe[t],individualDelay:o&&function($,q,Z,te){return o($+_,b)}},l),N=y?nAe(x,C,L):aAe(C,x,L),O=N.fromIndividuals,B=N.toIndividuals,F=O.length,U=0;Ue.length,f=u?l5(c,u):l5(d?e:r,[d?r:e]),p=0,v=0;vcX))for(var a=i.getIndices(),s=0;s0&&x.group.traverse(function(D){D instanceof Qe&&!D.animators.length&&D.animateFrom({style:{opacity:0}},C)})})}function d5(r){var e=r.getModel("universalTransition").get("seriesKey");return e||r.id}function p5(r){return ie(r)?r.sort().join(","):r}function Io(r){if(r.hostModel)return r.hostModel.getModel("universalTransition").get("divideShape")}function dAe(r,e){var t=be(),i=be(),n=be();return R(r.oldSeries,function(a,s){var o=r.oldDataGroupIds[s],l=r.oldData[s],u=d5(a),c=p5(u);i.set(c,{dataGroupId:o,data:l}),ie(u)&&R(u,function(h){n.set(h,{key:c,dataGroupId:o,data:l})})}),R(e.updatedSeries,function(a){if(a.isUniversalTransitionEnabled()&&a.isAnimationEnabled()){var s=a.get("dataGroupId"),o=a.getData(),l=d5(a),u=p5(l),c=i.get(u);if(c)t.set(u,{oldSeries:[{dataGroupId:c.dataGroupId,divide:Io(c.data),data:c.data}],newSeries:[{dataGroupId:s,divide:Io(o),data:o}]});else if(ie(l)){var h=[];R(l,function(p){var v=i.get(p);v.data&&h.push({dataGroupId:v.dataGroupId,divide:Io(v.data),data:v.data})}),h.length&&t.set(u,{oldSeries:h,newSeries:[{dataGroupId:s,data:o,divide:Io(o)}]})}else{var d=n.get(l);if(d){var f=t.get(d.key);f||(f={oldSeries:[{dataGroupId:d.dataGroupId,data:d.data,divide:Io(d.data)}],newSeries:[]},t.set(d.key,f)),f.newSeries.push({dataGroupId:s,data:o,divide:Io(o)})}}}}),t}function v5(r,e){for(var t=0;t=0&&n.push({dataGroupId:e.oldDataGroupIds[o],data:e.oldData[o],divide:Io(e.oldData[o]),groupIdDim:s.dimension})}),R(xt(r.to),function(s){var o=v5(t.updatedSeries,s);if(o>=0){var l=t.updatedSeries[o].getData();a.push({dataGroupId:e.oldDataGroupIds[o],data:l,divide:Io(l),groupIdDim:s.dimension})}}),n.length>0&&a.length>0&&hX(n,a,i)}function vAe(r){r.registerUpdateLifecycle("series:beforeupdate",function(e,t,i){R(xt(i.seriesTransition),function(n){R(xt(n.to),function(a){for(var s=i.updatedSeries,o=0;o{i.getAttribute("id")===e+"_panel"?i.hidden=!1:i.hidden=!0})}const mAe=document.querySelectorAll('input[type="radio"]');mAe.forEach(r=>{r.addEventListener("click",e=>{gAe(e)})});const XE=document.getElementById("words-count-track");XE.getAttribute("data-time").split(",");const gx=XE.getAttribute("data-words").split(","),fX=I$(XE),dX=document.getElementById("topic-track-worte-ctrl");function pX(){let r=[],e=[],t=[],i=[];gx.slice(-1);let n=dX.value,a=[],s=gx.length,o=Math.floor(s/n);for(let c=0;cp-d);a.push(f)}let l=0;a.forEach(c=>{parseInt(c.slice(-1))>l&&(l=c.slice(-1))});for(let c=0;c"Gesprochene Worte "+new Intl.NumberFormat("de-CH").format(c)},grid:r,xAxis:e,yAxis:t,series:i};fX.setOption(u)}dX.addEventListener("change",r=>{fX.clear(),pX()});pX();const B1=document.getElementById("sentiment-track"),yAe=B1.getAttribute("data-time").split(","),_Ae=B1.getAttribute("data-sentiments").split(","),bAe=B1.getAttribute("data-weights").split(","),SAe=I$(B1),TAe={tooltip:{trigger:"axis",position:"top",formatter:"Sekunde: {b0}
Sentiment: {c0}"},grid:{show:!1,top:0,bottom:0,right:0,left:0},xAxis:{type:"category",data:yAe},yAxis:{type:"category",data:["-1","0","1"]},series:[{symbolSize:bAe,data:_Ae,type:"scatter",itemStyle:{color:r=>r.data==-1?"#d01c8b":r.data==0?"#f7f7f7":"#4dac26"}}]};SAe.setOption(TAe);const vX=document.getElementById("video");BA.registerPlugin(Qu);const yn=new sr("my-player",{controls:!1,muted:!0,srgOptions:{liveui:!1}});yn.src({src:vX.getAttribute("data-urn"),type:"srgssr/urn"});const xAe=document.getElementById("timeline-bar-ctrl");vX.addEventListener("click",r=>{yn.paused()?yn.play():yn.pause(),AAe()});const wAe=document.getElementById("transcript"),CAe=wAe.querySelectorAll("[data-start]");CAe.forEach(r=>{r.addEventListener("click",e=>{yn.currentTime(e.target.getAttribute("data-start")),yn.play()})});const cC={timelineIndicatorIsDragged:!1};function AAe(){let e=yn.duration()/10,t="00:00:00";for(let i=1;i<=10;i++)t+=`${secondsToTimecode(i*e)}`;document.querySelector("#timeline-bar").insertAdjacentHTML("beforeend",t)}function DAe(r){return yn.duration()/document.getElementById("timeline-bar").offsetWidth*r}yn.on("timeupdate",r=>{if(!cC.timelineIndicatorIsDragged){let e=document.getElementById("timeline-bar").offsetWidth/yn.duration()*yn.currentTime();xAe.style.transform=`translate3d(${e}px, 0px, 0px)`}});document.addEventListener("DOMContentLoaded",r=>{BA.registerPlugin(Qu),Qu.create("#timeline-bar-ctrl",{type:"x",bounds:document.getElementById("timeline-bar"),onDragStart:function(){cC.timelineIndicatorIsDragged=!0},onDragEnd:function(){yn.currentTime(DAe(this.x)),yn.play(),cC.timelineIndicatorIsDragged=!1}})});
diff --git a/VANA-php/public/build/manifest.json b/VANA-php/public/build/manifest.json
index a83e492..1433acd 100644
--- a/VANA-php/public/build/manifest.json
+++ b/VANA-php/public/build/manifest.json
@@ -10,7 +10,7 @@
"isEntry": true
},
"resources/js/app.js": {
- "file": "assets/app-DFHgb4jS.js",
+ "file": "assets/app-CrWEnB8o.js",
"name": "app",
"src": "resources/js/app.js",
"isEntry": true
diff --git a/VANA-php/resources/js/app.js b/VANA-php/resources/js/app.js
index b3ce73a..cccf865 100644
--- a/VANA-php/resources/js/app.js
+++ b/VANA-php/resources/js/app.js
@@ -66,7 +66,6 @@ function setWordCountChart(){
data.forEach((d) => {
if(parseInt(d.slice(-1)) > max){
- console.log(d.slice(-1));
max = d.slice(-1);
}
})
@@ -289,14 +288,3 @@ document.addEventListener("DOMContentLoaded", (event) => {
},
});
});
-
-
-/*
-document.querySelector('#timeline-bar').addEventListener('click', e => {
- console.log(e.clientX - e.target.offsetLeft);
- let x = e.clientX - e.target.offsetLeft;
- player.currentTime(calcCurrenttimeByPosition(x));
-})
-*/
-
-
diff --git a/VANA-php/routes/web.php b/VANA-php/routes/web.php
index 1986db9..ade0f5d 100644
--- a/VANA-php/routes/web.php
+++ b/VANA-php/routes/web.php
@@ -18,6 +18,7 @@ Route::get('/', function () {
Route::get('/detail/{id}', function(int $id) {
+ $eps = EpisodeModel::all()->pluck('id');
$ep = Episode::find($id);
$title = $ep->title;
$subtitles = $ep->subtitles;
@@ -57,6 +58,13 @@ Route::get('/detail/{id}', function(int $id) {
$subtitles = $parser->parse($subtitles);
- return view('detail', ['title' => $title, 'subtitles' => $subtitles, 'mediacomposition' => $mediacomposition, 'durationSteps' => $durationSteps, 'dom_color' => $ep->viz_data, 'subdata' => $subdata, 'senti_subdata' => $subdata_senti, 'wpm' => $wordsPerMinute, 'topics' => $topics]);
+ return view('detail', ['eps' => $eps, 'title' => $title, 'subtitles' => $subtitles, 'mediacomposition' => $mediacomposition, 'durationSteps' => $durationSteps, 'dom_color' => $ep->viz_data, 'subdata' => $subdata, 'senti_subdata' => $subdata_senti, 'wpm' => $wordsPerMinute, 'topics' => $topics]);
+
+});
+
+Route::get('/detail/{id}/wpm', function(int $id) {
+
+ $ep = Episode::find($id);
+ return response()->json(json_decode($ep->subtitle_data, 1));
});
diff --git a/VANA-python/database/src/database/__pycache__/queries.cpython-311.pyc b/VANA-python/database/src/database/__pycache__/queries.cpython-311.pyc
index 12f4ca3..92e7599 100644
Binary files a/VANA-python/database/src/database/__pycache__/queries.cpython-311.pyc and b/VANA-python/database/src/database/__pycache__/queries.cpython-311.pyc differ
diff --git a/VANA-python/database/src/database/__pycache__/queries.cpython-313.pyc b/VANA-python/database/src/database/__pycache__/queries.cpython-313.pyc
index 85a9978..74703d1 100644
Binary files a/VANA-python/database/src/database/__pycache__/queries.cpython-313.pyc and b/VANA-python/database/src/database/__pycache__/queries.cpython-313.pyc differ
diff --git a/VANA-python/subtitles_processing/src/subtitles_processing/__pycache__/normalize_vtt.cpython-311.pyc b/VANA-python/subtitles_processing/src/subtitles_processing/__pycache__/normalize_vtt.cpython-311.pyc
index d2031a1..0933c50 100644
Binary files a/VANA-python/subtitles_processing/src/subtitles_processing/__pycache__/normalize_vtt.cpython-311.pyc and b/VANA-python/subtitles_processing/src/subtitles_processing/__pycache__/normalize_vtt.cpython-311.pyc differ
diff --git a/VANA-python/subtitles_processing/src/subtitles_processing/normalize_vtt.py b/VANA-python/subtitles_processing/src/subtitles_processing/normalize_vtt.py
index 2df32fc..0c62d2f 100755
--- a/VANA-python/subtitles_processing/src/subtitles_processing/normalize_vtt.py
+++ b/VANA-python/subtitles_processing/src/subtitles_processing/normalize_vtt.py
@@ -85,7 +85,6 @@ class NormalizeVtt:
d = {"sentences": sentences, "start": times_start, "end": times_end}
df = pl.DataFrame(data=d)
- DATA_PATH = Path(__file__).parents[4]
- data_folder = DATA_PATH / 'data' / ep / 'normalized_vtt.csv'
-
- df.write_csv(data_folder)
+ data_path = Path(__file__).parents[4] / 'data' / ep
+ data_path.mkdir(parents=True, exist_ok=True)
+ df.write_csv(data_path / 'normalized_vtt.csv')
diff --git a/VANA.sublime-workspace b/VANA.sublime-workspace
index 0df081e..ff8e652 100644
--- a/VANA.sublime-workspace
+++ b/VANA.sublime-workspace
@@ -3,6 +3,30 @@
{
"selected_items":
[
+ [
+ "subtitl",
+ "subtitle_data"
+ ],
+ [
+ "for",
+ "foreach\tforeach …"
+ ],
+ [
+ "video",
+ "video_colors"
+ ],
+ [
+ "data",
+ "data_folder"
+ ],
+ [
+ "lower",
+ "strtolower()"
+ ],
+ [
+ "subda",
+ "$subdata_senti"
+ ],
[
"topic",
"topics_list"
@@ -43,10 +67,6 @@
"su",
"$subdata_senti"
],
- [
- "subda",
- "subdata_senti"
- ],
[
"sub",
"$subdata_senti"
@@ -59,10 +79,6 @@
"axisL",
"axisLine"
],
- [
- "data",
- "data_folder"
- ],
[
"downl",
"downloader"
@@ -95,10 +111,6 @@
"cons",
"console"
],
- [
- "for",
- "forEach"
- ],
[
"set",
"setTopicSegments"
@@ -309,483 +321,59 @@
[
{
"file": "VANA-php/resources/views/detail.blade.php",
- "settings":
- {
- "buffer_size": 5894,
- "encoding": "UTF-8",
- "line_ending": "Unix"
- },
- "undo_stack":
+ "redo_stack":
[
[
- 32,
- 1,
- "paste",
- null,
- "AgAAAF8SAAAAAAAAbBIAAAAAAAAAAAAAbBIAAAAAAABsEgAAAAAAAA0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AABAAAAZn8TAAAAAAAAfxMAAAAAAAABAAAAaX4TAAAAAAAAfhMAAAAAAAABAAAAan0TAAAAAAAAfRMAAAAAAAABAAAAIA",
+ "AQAAAAAAAAABAAAAgRMAAAAAAACBEwAAAAAAAAAAAAAAAPC/"
+ ],
+ [
+ 274,
+ 1,
+ "insert",
+ {
+ "characters": "p"
+ },
+ "AQAAAHwTAAAAAAAAfBMAAAAAAAABAAAAcA",
+ "AQAAAAAAAAABAAAAfRMAAAAAAAB9EwAAAAAAAAAAAAAAAPC/"
+ ],
+ [
+ 273,
+ 1,
+ "left_delete",
+ null,
+ "AQAAAHwTAAAAAAAAfRMAAAAAAAAAAAAA",
+ "AQAAAAAAAAABAAAAfBMAAAAAAAB8EwAAAAAAAAAAAAAAAPC/"
+ ],
+ [
+ 272,
+ 1,
+ "insert",
+ {
+ "characters": "$eo"
+ },
+ "AwAAAHwTAAAAAAAAfBMAAAAAAAABAAAAb3sTAAAAAAAAexMAAAAAAAABAAAAZXoTAAAAAAAAehMAAAAAAAABAAAAJA",
+ "AQAAAAAAAAABAAAAfRMAAAAAAAB9EwAAAAAAAAAAAAAAAPC/"
+ ],
+ [
+ 269,
+ 1,
+ "insert_snippet",
+ {
+ "contents": "($0)"
+ },
+ "AQAAAHkTAAAAAAAAeRMAAAAAAAACAAAAKCk",
+ "AQAAAAAAAAABAAAAehMAAAAAAAB6EwAAAAAAAAAAAAAAAPC/"
+ ],
+ [
+ 268,
+ 1,
+ "left_delete",
+ null,
+ "AQAAAHkTAAAAAAAAehMAAAAAAAAAAAAA",
+ "AQAAAAAAAAABAAAAeRMAAAAAAAB5EwAAAAAAAAAAAAAAAPC/"
+ ],
+ [
+ 267,
+ 1,
+ "insert",
+ {
+ "characters": " "
+ },
+ "AQAAAHkTAAAAAAAAeRMAAAAAAAABAAAAIA",
+ "AQAAAAAAAAABAAAAehMAAAAAAAB6EwAAAAAAAAAAAAAAAPC/"
+ ],
+ [
+ 266,
+ 1,
+ "insert",
+ {
+ "characters": "@endif"
+ },
+ "BgAAAHgTAAAAAAAAeBMAAAAAAAABAAAAZncTAAAAAAAAdxMAAAAAAAABAAAAaXYTAAAAAAAAdhMAAAAAAAABAAAAZHUTAAAAAAAAdRMAAAAAAAABAAAAbnQTAAAAAAAAdBMAAAAAAAABAAAAZXMTAAAAAAAAcxMAAAAAAAABAAAAQA",
+ "AQAAAAAAAAABAAAAeRMAAAAAAAB5EwAAAAAAAAAAAAAAAPC/"
+ ],
+ [
+ 265,
+ 1,
+ "left_delete",
+ null,
+ "AQAAAHMTAAAAAAAAdBMAAAAAAAAAAAAA",
+ "AQAAAAAAAAABAAAAcxMAAAAAAABzEwAAAAAAAAAAAAAAAPC/"
+ ],
+ [
+ 264,
+ 1,
+ "insert",
+ {
+ "characters": "\n\\"
+ },
+ "AwAAAHMTAAAAAAAAcxMAAAAAAAABAAAAXFcTAAAAAAAAVxMAAAAAAAAcAAAAICAgICAgICAgICAgICAgICAgICAgICAgICAgIFYTAAAAAAAAVhMAAAAAAAABAAAACg",
+ "AQAAAAAAAAABAAAAdBMAAAAAAAB0EwAAAAAAAAAAAAAAAPC/"
+ ],
+ [
+ 254,
+ 1,
+ "insert",
+ {
+ "characters": "0"
+ },
+ "AQAAABgTAAAAAAAAGBMAAAAAAAABAAAAMA",
+ "AQAAAAAAAAABAAAAGRMAAAAAAAAZEwAAAAAAAAAAAAAAAPC/"
+ ],
+ [
+ 253,
+ 1,
+ "insert_snippet",
+ {
+ "contents": "\"$0\""
+ },
+ "AQAAABcTAAAAAAAAFxMAAAAAAAACAAAAIiI",
+ "AQAAAAAAAAABAAAAGBMAAAAAAAAYEwAAAAAAAAAAAAAAAPC/"
+ ],
+ [
+ 252,
+ 1,
+ "insert",
+ {
+ "characters": "="
+ },
+ "AQAAABYTAAAAAAAAFhMAAAAAAAABAAAAPQ",
+ "AQAAAAAAAAABAAAAFxMAAAAAAAAXEwAAAAAAAAAAAAAAAPC/"
+ ],
+ [
+ 251,
+ 1,
+ "left_delete",
+ null,
+ "AQAAABYTAAAAAAAAFxMAAAAAAAAAAAAA",
+ "AQAAAAAAAAABAAAAFhMAAAAAAAAWEwAAAAAAAAAAAAAAAPC/"
+ ],
+ [
+ 250,
+ 1,
+ "insert",
+ {
+ "characters": " "
+ },
+ "AQAAABYTAAAAAAAAFhMAAAAAAAABAAAAIA",
+ "AQAAAAAAAAABAAAAFxMAAAAAAAAXEwAAAAAAAAAAAAAAAPC/"
+ ],
+ [
+ 249,
+ 1,
+ "insert",
+ {
+ "characters": "value"
+ },
+ "BQAAABUTAAAAAAAAFRMAAAAAAAABAAAAZRQTAAAAAAAAFBMAAAAAAAABAAAAdRMTAAAAAAAAExMAAAAAAAABAAAAbBITAAAAAAAAEhMAAAAAAAABAAAAYRETAAAAAAAAERMAAAAAAAABAAAAdg",
+ "AQAAAAAAAAABAAAAFhMAAAAAAAAWEwAAAAAAAAAAAAAAAPC/"
+ ],
+ [
+ 248,
+ 1,
+ "left_delete",
+ null,
+ "BAAAABETAAAAAAAAEhMAAAAAAAAAAAAAEhMAAAAAAAATEwAAAAAAAAAAAAATEwAAAAAAABQTAAAAAAAAAAAAABQTAAAAAAAAFRMAAAAAAAAAAAAA",
+ "AQAAAAAAAAABAAAAERMAAAAAAAAREwAAAAAAAAAAAAAAAPC/"
+ ],
+ [
+ 247,
+ 1,
+ "insert",
+ {
+ "characters": " cale"
+ },
+ "BQAAABQTAAAAAAAAFBMAAAAAAAABAAAAZRMTAAAAAAAAExMAAAAAAAABAAAAbBITAAAAAAAAEhMAAAAAAAABAAAAYRETAAAAAAAAERMAAAAAAAABAAAAYxATAAAAAAAAEBMAAAAAAAABAAAAIA",
+ "AQAAAAAAAAABAAAAFRMAAAAAAAAVEwAAAAAAAAAAAAAAAPC/"
+ ],
+ [
+ 233,
+ 1,
+ "close_tag",
+ {
+ "insert_slash": true
+ },
+ "AQAAABITAAAAAAAAEhMAAAAAAAAIAAAAL29wdGlvbj4",
+ "AQAAAAAAAAABAAAAGhMAAAAAAAAaEwAAAAAAAAAAAAAAAPC/"
+ ],
+ [
+ 232,
+ 1,
+ "insert",
+ {
+ "characters": "><"
+ },
+ "AgAAABETAAAAAAAAERMAAAAAAAABAAAAPBATAAAAAAAAEBMAAAAAAAABAAAAPg",
+ "AQAAAAAAAAABAAAAEhMAAAAAAAASEwAAAAAAAAAAAAAAAPC/"
+ ],
+ [
+ 231,
+ 1,
+ "left_delete",
+ null,
+ "AQAAABATAAAAAAAAERMAAAAAAAAAAAAA",
+ "AQAAAAAAAAABAAAAEBMAAAAAAAAQEwAAAAAAAAAAAAAAAPC/"
+ ],
+ [
+ 230,
+ 1,
+ "insert",
+ {
+ "characters": " "
+ },
+ "AQAAABATAAAAAAAAEBMAAAAAAAABAAAAIA",
+ "AQAAAAAAAAABAAAAERMAAAAAAAAREwAAAAAAAAAAAAAAAPC/"
+ ],
+ [
+ 229,
+ 1,
+ "insert",
+ {
+ "characters": "\n