@univerjs-pro/sheets-chart-ui 1.0.0-alpha.7 → 1.0.0-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/ar-SA.js +1 -1
- package/lib/cjs/locale/ca-ES.js +1 -1
- package/lib/cjs/locale/de-DE.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/es-ES.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/id-ID.js +1 -1
- package/lib/cjs/locale/it-IT.js +1 -1
- package/lib/cjs/locale/ja-JP.js +1 -1
- package/lib/cjs/locale/ko-KR.js +1 -1
- package/lib/cjs/locale/pl-PL.js +1 -1
- package/lib/cjs/locale/pt-BR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/sk-SK.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-HK.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/ar-SA.js +1 -1
- package/lib/es/locale/ca-ES.js +1 -1
- package/lib/es/locale/de-DE.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/es-ES.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/id-ID.js +1 -1
- package/lib/es/locale/it-IT.js +1 -1
- package/lib/es/locale/ja-JP.js +1 -1
- package/lib/es/locale/ko-KR.js +1 -1
- package/lib/es/locale/pl-PL.js +1 -1
- package/lib/es/locale/pt-BR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/sk-SK.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-HK.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/index.css +14 -377
- package/lib/index.js +1 -1
- package/lib/locale/ar-SA.js +1 -1
- package/lib/locale/ca-ES.js +1 -1
- package/lib/locale/de-DE.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/es-ES.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/id-ID.js +1 -1
- package/lib/locale/it-IT.js +1 -1
- package/lib/locale/ja-JP.js +1 -1
- package/lib/locale/ko-KR.js +1 -1
- package/lib/locale/pl-PL.js +1 -1
- package/lib/locale/pt-BR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/sk-SK.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-HK.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/types/commands/commands/focused-chart.command.d.ts +1 -1
- package/lib/types/commands/commands/sheet-chart-menu.command.d.ts +4 -1
- package/lib/types/commands/operations/open-chart-panel-operation.d.ts +1 -1
- package/lib/types/config/config.d.ts +4 -0
- package/lib/types/controllers/chart-element-float-menu.controller.d.ts +4 -3
- package/lib/types/controllers/chart-render.controller.d.ts +3 -1
- package/lib/types/controllers/ui.controller.d.ts +7 -6
- package/lib/types/index.d.ts +0 -2
- package/lib/types/locale/en-US.d.ts +55 -302
- package/lib/types/services/chart-element-selection.d.ts +6 -6
- package/lib/types/services/chart-render.service.d.ts +10 -10
- package/lib/types/services/sheet-chart-host.d.ts +2 -4
- package/lib/types/services/sheets-chart-host-provider.service.d.ts +2 -2
- package/lib/types/services/sheets-chart-ui.service.d.ts +25 -138
- package/lib/types/util.d.ts +7 -4
- package/lib/types/views/chart-edit-panel/chart-editor-default-values.d.ts +79 -0
- package/lib/types/views/chart-edit-panel/data-tab-panel/DataTabPanel.d.ts +4 -1
- package/lib/types/views/chart-edit-panel/style-tab-panel/StyleTabPanel.d.ts +4 -5
- package/lib/types/views/chart-menu/chart-menu-factory.d.ts +1 -2
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/ar-SA.js +1 -1
- package/lib/umd/locale/ca-ES.js +1 -1
- package/lib/umd/locale/de-DE.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/es-ES.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/id-ID.js +1 -1
- package/lib/umd/locale/it-IT.js +1 -1
- package/lib/umd/locale/ja-JP.js +1 -1
- package/lib/umd/locale/ko-KR.js +1 -1
- package/lib/umd/locale/pl-PL.js +1 -1
- package/lib/umd/locale/pt-BR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/sk-SK.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-HK.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +20 -20
- package/lib/types/hooks.d.ts +0 -3
- package/lib/types/services/chart-panel-route.d.ts +0 -20
- package/lib/types/views/chart-edit-panel/Options.d.ts +0 -165
- package/lib/types/views/chart-edit-panel/RadarChartOptionsEdit.d.ts +0 -3
- package/lib/types/views/chart-edit-panel/button-switch/ButtonSwitch.d.ts +0 -8
- package/lib/types/views/chart-edit-panel/button-switch/index.d.ts +0 -1
- package/lib/types/views/chart-edit-panel/data-tab-panel/BubbleDataEdit.d.ts +0 -6
- package/lib/types/views/chart-edit-panel/data-tab-panel/index.d.ts +0 -1
- package/lib/types/views/chart-edit-panel/index.d.ts +0 -1
- package/lib/types/views/chart-edit-panel/style-tab-panel/AxisOptionsEdit.d.ts +0 -9
- package/lib/types/views/chart-edit-panel/style-tab-panel/ChartNumfmtDialog.d.ts +0 -6
- package/lib/types/views/chart-edit-panel/style-tab-panel/DataLabelOptions.d.ts +0 -25
- package/lib/types/views/chart-edit-panel/style-tab-panel/IndicatorLine.d.ts +0 -16
- package/lib/types/views/chart-edit-panel/style-tab-panel/ParetoLine.d.ts +0 -5
- package/lib/types/views/chart-edit-panel/style-tab-panel/PieChartStyleEdit.d.ts +0 -6
- package/lib/types/views/chart-edit-panel/style-tab-panel/RelationEdit.d.ts +0 -1
- package/lib/types/views/chart-edit-panel/style-tab-panel/TrendLineEdit.d.ts +0 -1
- package/lib/types/views/chart-edit-panel/style-tab-panel/WaterfallSeriesEdit.d.ts +0 -1
- package/lib/types/views/chart-edit-panel/style-tab-panel/WordCloudShapeSelector.d.ts +0 -1
- package/lib/types/views/chart-edit-panel/style-tab-panel/grid-line-and-tick-options/GridLineAndTickOptions.d.ts +0 -7
- package/lib/types/views/chart-edit-panel/style-tab-panel/grid-line-and-tick-options/index.d.ts +0 -1
- package/lib/types/views/chart-edit-panel/style-tab-panel/index.d.ts +0 -1
- package/lib/types/views/chart-edit-panel/style-tab-panel/series-style-edit/CombinationChartTypeSelect.d.ts +0 -4
- package/lib/types/views/chart-edit-panel/style-tab-panel/series-style-edit/DataPointsEdit.d.ts +0 -11
- package/lib/types/views/chart-edit-panel/style-tab-panel/series-style-edit/RadarPoints.d.ts +0 -7
- package/lib/types/views/chart-edit-panel/style-tab-panel/series-style-edit/SeriesStyleEdit.d.ts +0 -7
- package/lib/types/views/chart-edit-panel/style-tab-panel/series-style-edit/Widgets.d.ts +0 -33
- package/lib/types/views/chart-edit-panel/style-tab-panel/series-style-edit/const.d.ts +0 -2
- package/lib/types/views/chart-edit-panel/style-tab-panel/series-style-edit/index.d.ts +0 -1
- package/lib/types/views/chart-edit-panel/style-tab-panel/series-style-edit/use-series-chart-type.d.ts +0 -3
package/lib/cjs/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x3a0a20=_0x2ae9;(function(_0x36027e,_0x3fdfd4){const _0x5a5d54=_0x2ae9,_0x1912a8=_0x36027e();while(!![]){try{const _0x437149=parseInt(_0x5a5d54(0x4b2))/0x1*(parseInt(_0x5a5d54(0x1e1))/0x2)+-parseInt(_0x5a5d54(0x4f9))/0x3*(parseInt(_0x5a5d54(0x3a1))/0x4)+parseInt(_0x5a5d54(0x495))/0x5+-parseInt(_0x5a5d54(0x53c))/0x6*(-parseInt(_0x5a5d54(0x19b))/0x7)+parseInt(_0x5a5d54(0x3b0))/0x8+parseInt(_0x5a5d54(0x4e9))/0x9+-parseInt(_0x5a5d54(0x293))/0xa*(parseInt(_0x5a5d54(0x47b))/0xb);if(_0x437149===_0x3fdfd4)break;else _0x1912a8['push'](_0x1912a8['shift']());}catch(_0x49ff93){_0x1912a8['push'](_0x1912a8['shift']());}}}(_0x3a01,0x32dda),Object[_0x3a0a20(0x1e2)](exports,Symbol[_0x3a0a20(0x452)],{'value':_0x3a0a20(0x665)}));let e=require('@univerjs-pro/sheets-chart'),t=require('@univerjs/core'),n=require('@univerjs/drawing'),r=require('@univerjs/sheets-drawing'),i=require('@univerjs/sheets-drawing-ui'),a=require('@univerjs/sheets-ui'),o=require('@univerjs/ui'),s=require('rxjs'),c=require('@univerjs-pro/engine-chart'),l=require('@univerjs/drawing-ui'),u=require('@univerjs/engine-render'),d=require('@univerjs-pro/chart-ui'),f=require('@univerjs/design'),p=require('@univerjs/sheets'),m=require('@univerjs/engine-formula'),h=require('react'),g=require('@univerjs/icons'),_=require('@univerjs/sheets-formula-ui'),v=require('react/jsx-runtime'),y=require('@univerjs-pro/license');const b=_0x3a0a20(0x1cb),x={'enableChartElementFloatMenu':!0x1},S={'type':t[_0x3a0a20(0x256)][_0x3a0a20(0x455)],'id':'sheet.operation.hide-chart-panel','handler'(){return!0x0;}},C={'type':t[_0x3a0a20(0x256)][_0x3a0a20(0x455)],'id':_0x3a0a20(0x1df),'handler'(){return!0x0;}};function w(_0x10e16d,_0x16a8cc=0x1){const _0x368bfc=_0x3a0a20;return{'width':Math[_0x368bfc(0x507)](_0x16a8cc,_0x10e16d[_0x368bfc(0x613)]),'height':Math[_0x368bfc(0x507)](_0x16a8cc,_0x10e16d['height'])};}function T(_0x3a88fc,_0x57bced={},_0x578b8b={'left':0x0,'top':0x0}){const _0x163eda=_0x3a0a20;var _0x421d42,_0x31019a;let _0x4cd02e=(_0x421d42=_0x57bced['scaleX'])==null?0x1:_0x421d42,_0x4f365a=(_0x31019a=_0x57bced[_0x163eda(0x2fe)])==null?0x1:_0x31019a,_0x11d311=d[_0x163eda(0x31c)][_0x163eda(0x35d)]({'logicalOuterRect':{'left':-_0x578b8b['left'],'top':-_0x578b8b[_0x163eda(0x1c4)],...w(_0x3a88fc)},'scale':{'scaleX':_0x4cd02e,'scaleY':_0x4f365a},'hostStyle':{},'contentMode':d[_0x163eda(0x370)]['Overlay']});return{'left':_0x11d311['logicalOuterRect'][_0x163eda(0x445)],'top':_0x11d311['logicalOuterRect'][_0x163eda(0x1c4)],'width':_0x11d311[_0x163eda(0x436)][_0x163eda(0x613)],'height':_0x11d311[_0x163eda(0x436)][_0x163eda(0x287)],'scaleX':_0x4cd02e,'scaleY':_0x4f365a};}function E(_0xa21694){'@babel/helpers - typeof';const _0x115e30=_0x3a0a20;return E=typeof Symbol==_0x115e30(0x213)&&typeof Symbol['iterator']=='symbol'?function(_0x58467b){return typeof _0x58467b;}:function(_0x56b01e){const _0x1cda61=_0x115e30;return _0x56b01e&&typeof Symbol==_0x1cda61(0x213)&&_0x56b01e[_0x1cda61(0x1e8)]===Symbol&&_0x56b01e!==Symbol[_0x1cda61(0x60f)]?'symbol':typeof _0x56b01e;},E(_0xa21694);}function D(_0x2e6a9c,_0x21920d){const _0x29114e=_0x3a0a20;if(E(_0x2e6a9c)!=_0x29114e(0x4bf)||!_0x2e6a9c)return _0x2e6a9c;var _0x4c3595=_0x2e6a9c[Symbol['toPrimitive']];if(_0x4c3595!==void 0x0){var _0x185b75=_0x4c3595[_0x29114e(0x677)](_0x2e6a9c,_0x21920d||'default');if(E(_0x185b75)!=_0x29114e(0x4bf))return _0x185b75;throw TypeError(_0x29114e(0x525));}return(_0x21920d==='string'?String:Number)(_0x2e6a9c);}function O(_0x4e3841){const _0x3fcebb=_0x3a0a20;var _0x2305d7=D(_0x4e3841,_0x3fcebb(0x438));return E(_0x2305d7)==_0x3fcebb(0x5a7)?_0x2305d7:_0x2305d7+'';}function k(_0x593330,_0x3270ad,_0x3b480c){const _0x55bbaf=_0x3a0a20;return(_0x3270ad=O(_0x3270ad))in _0x593330?Object[_0x55bbaf(0x1e2)](_0x593330,_0x3270ad,{'value':_0x3b480c,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x593330[_0x3270ad]=_0x3b480c,_0x593330;}function A(_0x333513){const _0x33d8f0=_0x3a0a20;switch(_0x333513[_0x33d8f0(0x5c4)]){case c[_0x33d8f0(0x555)][_0x33d8f0(0x60e)]:return _0x333513[_0x33d8f0(0x3c1)];case c[_0x33d8f0(0x555)][_0x33d8f0(0x3dd)]:return _0x333513[_0x33d8f0(0x317)];default:return;}}var j=class extends u[_0x3a0a20(0x4d6)]{constructor(_0x1a545b,_0x17aee0,_0x71a26d,_0x303565=()=>!0x1,_0x19ab06=()=>{}){const _0x24d818=_0x3a0a20;var _0x3f538c;super(_0x1a545b,{..._0x17aee0,'evented':(_0x3f538c=_0x17aee0[_0x24d818(0x4de)])==null?!0x0:_0x3f538c}),this[_0x24d818(0x4a6)]=_0x71a26d,this['_shouldSuppressSnapshot']=_0x303565,this[_0x24d818(0x615)]=_0x19ab06,k(this,'_urlImage',null),k(this,'_url',null),this[_0x24d818(0x25b)](u['ObjectType'][_0x24d818(0x2f6)]);}[_0x3a0a20(0x55f)](){const _0x2facf8=_0x3a0a20;this[_0x2facf8(0x615)](),super[_0x2facf8(0x55f)]();}[_0x3a0a20(0x611)](_0x173953,_0x448473){const _0x731ec9=_0x3a0a20;if(!this[_0x731ec9(0x3cd)])return this[_0x731ec9(0x4d1)](!0x1),this;if(!this[_0x731ec9(0x2af)])return this;let {width:_0x265084,height:_0x491897,left:_0x1f2d09,top:_0xa3da68}=this['getRealBound']();if(this[_0x731ec9(0x6b9)](_0x448473)){let {top:_0x351459,left:_0x11e9f8,bottom:_0x4fd146,right:_0x38a1ec}=_0x448473['viewBound'];if(_0x265084+this[_0x731ec9(0x3cb)]+_0x1f2d09<_0x11e9f8||_0x38a1ec<_0x1f2d09||_0x491897+this[_0x731ec9(0x3cb)]+_0xa3da68<_0x351459||_0x4fd146<_0xa3da68)return this;}let _0xf4bf61=this['transform'][_0x731ec9(0x44f)]();_0x173953[_0x731ec9(0x6af)]();let _0x2af03a=_0x1f2d09+_0x265084/0x2,_0x48db0d=_0xa3da68+_0x491897/0x2;return _0x173953[_0x731ec9(0x2af)](_0xf4bf61[0x0],_0xf4bf61[0x1],_0xf4bf61[0x2],_0xf4bf61[0x3],_0x2af03a,_0x48db0d),this['opacity']!==0x1&&(_0x173953[_0x731ec9(0x5f5)]=this[_0x731ec9(0x2cb)]),this[_0x731ec9(0x1d0)](_0x173953,void 0x0,_0x265084,_0x491897),_0x173953[_0x731ec9(0x61d)](),this[_0x731ec9(0x4d1)](!0x1),this;}['_draw'](_0x91f875,_0x4a4691,_0x35f227=this['width'],_0x2615b9=this[_0x3a0a20(0x287)]){const _0x1556e1=_0x3a0a20;this[_0x1556e1(0x476)](_0x91f875,_0x35f227,_0x2615b9,{'stroke':void 0x0,'strokeWidth':0x0}),this[_0x1556e1(0x37c)](_0x91f875,_0x35f227,_0x2615b9),this[_0x1556e1(0x476)](_0x91f875,_0x35f227,_0x2615b9,{'fill':void 0x0});}[_0x3a0a20(0x476)](_0x599327,_0x25133d,_0x321739,_0x29b9e1){const _0x4cc55f=_0x3a0a20;_0x599327[_0x4cc55f(0x6af)](),_0x599327['translate'](-_0x25133d/0x2,-_0x321739/0x2),u[_0x4cc55f(0x4d6)][_0x4cc55f(0x626)](_0x599327,M(this,_0x25133d,_0x321739,_0x29b9e1)),_0x599327['restore']();}[_0x3a0a20(0x3e2)](_0x4e2b6b){const _0x2e2e55=_0x3a0a20;let {left:_0x1a9629,top:_0xeebaa0,width:_0x2e2ef7,height:_0x2bb485}=this[_0x2e2e55(0x404)](),_0x44998d=_0x1a9629+_0x2e2ef7/0x2,_0xe1c430=_0xeebaa0+_0x2bb485/0x2,_0x21917d=this[_0x2e2e55(0x2af)][_0x2e2e55(0x44f)](),_0x40424e=new u[(_0x2e2e55(0x3d3))]([_0x21917d[0x0],_0x21917d[0x1],_0x21917d[0x2],_0x21917d[0x3],_0x44998d,_0xe1c430]),_0xd98cc9=this['getParent'](),_0x2bab3f=(this[_0x2e2e55(0x4ae)]&&(_0xd98cc9==null?void 0x0:_0xd98cc9[_0x2e2e55(0x380)])===u[_0x2e2e55(0x5e6)][_0x2e2e55(0x535)]?_0xd98cc9[_0x2e2e55(0x286)]['multiply'](_0x40424e):_0x40424e)['invert']()[_0x2e2e55(0x36a)](_0x4e2b6b),_0x17729b=_0x2e2ef7/0x2,_0x308e8b=_0x2bb485/0x2;return _0x2bab3f['x']>=-_0x17729b-this[_0x2e2e55(0x3cb)]/0x2&&_0x2bab3f['x']<=_0x17729b+this[_0x2e2e55(0x3cb)]/0x2&&_0x2bab3f['y']>=-_0x308e8b-this[_0x2e2e55(0x3cb)]/0x2&&_0x2bab3f['y']<=_0x308e8b+this[_0x2e2e55(0x3cb)]/0x2;}['_drawChartImage'](_0x221102,_0x5642fc,_0xdf02a7){const _0xb124af=_0x3a0a20;if(this[_0xb124af(0x4fd)]())return;let _0x4cd0ea=this[_0xb124af(0x4a6)](),_0x16dd04=_0x4cd0ea?this['_getDrawable'](_0x4cd0ea):void 0x0;if(!_0x16dd04)return;let {width:_0x6dfefa,height:_0x4ee935}=w({'width':_0x5642fc,'height':_0xdf02a7},0x0);_0x6dfefa===0x0||_0x4ee935===0x0||(_0x221102[_0xb124af(0x6af)](),_0x221102[_0xb124af(0x558)](-_0x5642fc/0x2,-_0xdf02a7/0x2),N(_0x221102,_0x6dfefa,_0x4ee935,this[_0xb124af(0x26d)]),_0x221102[_0xb124af(0x6d8)](),_0x221102[_0xb124af(0x21e)](_0x16dd04,0x0,0x0,_0x6dfefa,_0x4ee935),_0x221102[_0xb124af(0x61d)]());}[_0x3a0a20(0x1de)](_0x379651){const _0x5ed9fb=_0x3a0a20;var _0x59b5b1;let _0x5b7356=A(_0x379651);if(_0x5b7356)return _0x5b7356;if(_0x379651[_0x5ed9fb(0x5c4)]===c[_0x5ed9fb(0x555)][_0x5ed9fb(0x4ef)]&&(this[_0x5ed9fb(0x21f)]!==_0x379651['url']&&(this[_0x5ed9fb(0x21f)]=_0x379651[_0x5ed9fb(0x43b)],this['_urlImage']=document[_0x5ed9fb(0x218)](_0x5ed9fb(0x260)),this[_0x5ed9fb(0x52a)][_0x5ed9fb(0x64a)]=_0x5ed9fb(0x47c),this[_0x5ed9fb(0x52a)][_0x5ed9fb(0x374)]=()=>this[_0x5ed9fb(0x4d1)](!0x0),this[_0x5ed9fb(0x52a)][_0x5ed9fb(0x60c)]=_0x379651['url']),(_0x59b5b1=this[_0x5ed9fb(0x52a)])!=null&&_0x59b5b1[_0x5ed9fb(0x6cb)]&&this[_0x5ed9fb(0x52a)][_0x5ed9fb(0x4e2)]>0x0&&this[_0x5ed9fb(0x52a)][_0x5ed9fb(0x6be)]>0x0))return this['_urlImage'];}};function M(_0x44587a,_0x4ce7e6,_0x10685b,_0x16b2a8){const _0x2b1e35=_0x3a0a20;let _0x3a20ae=Object[_0x2b1e35(0x5af)](_0x44587a);return Object[_0x2b1e35(0x1e2)](_0x3a20ae,'width',{'value':_0x4ce7e6}),Object[_0x2b1e35(0x1e2)](_0x3a20ae,_0x2b1e35(0x287),{'value':_0x10685b}),Object['keys'](_0x16b2a8)[_0x2b1e35(0x462)](_0x212023=>{const _0x58df7e=_0x2b1e35;Object[_0x58df7e(0x1e2)](_0x3a20ae,_0x212023,{'value':_0x16b2a8[_0x212023]});}),_0x3a20ae;}function N(_0x2557aa,_0x4d95f0,_0x1b77df,_0x4fcb95){const _0x54ceca=_0x3a0a20;let _0x2d0f6a=Math[_0x54ceca(0x341)](_0x4fcb95||0x0,_0x4d95f0/0x2,_0x1b77df/0x2);if(_0x2557aa[_0x54ceca(0x2ee)](),!_0x2d0f6a){_0x2557aa[_0x54ceca(0x69d)](0x0,0x0,_0x4d95f0,_0x1b77df),_0x2557aa[_0x54ceca(0x3ab)]();return;}_0x2557aa['moveTo'](_0x2d0f6a,0x0),_0x2557aa[_0x54ceca(0x531)](_0x4d95f0-_0x2d0f6a,0x0),_0x2557aa[_0x54ceca(0x1da)](_0x4d95f0-_0x2d0f6a,_0x2d0f6a,_0x2d0f6a,Math['PI']*0x3/0x2,0x0,!0x1),_0x2557aa['lineTo'](_0x4d95f0,_0x1b77df-_0x2d0f6a),_0x2557aa['arc'](_0x4d95f0-_0x2d0f6a,_0x1b77df-_0x2d0f6a,_0x2d0f6a,0x0,Math['PI']/0x2,!0x1),_0x2557aa[_0x54ceca(0x531)](_0x2d0f6a,_0x1b77df),_0x2557aa[_0x54ceca(0x1da)](_0x2d0f6a,_0x1b77df-_0x2d0f6a,_0x2d0f6a,Math['PI']/0x2,Math['PI'],!0x1),_0x2557aa['lineTo'](0x0,_0x2d0f6a),_0x2557aa[_0x54ceca(0x1da)](_0x2d0f6a,_0x2d0f6a,_0x2d0f6a,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x2557aa[_0x54ceca(0x3ab)]();}function P(_0x31bb30){const _0xab0bae=_0x3a0a20;(_0x31bb30==null?void 0x0:_0x31bb30[_0xab0bae(0x5c4)])===c['ChartImageSourceType']['ImageBitmap']&&_0x31bb30[_0xab0bae(0x317)][_0xab0bae(0x389)]();}function F(_0x21ee68){const _0x35da55=_0x3a0a20;return _0x21ee68['unitId']+_0x35da55(0x441)+_0x21ee68['subUnitId']+'#-#'+_0x21ee68['chartId'];}var I=class extends t[_0x3a0a20(0x68e)]{constructor(..._0x30f306){super(..._0x30f306),k(this,'_entries',new Map());}[_0x3a0a20(0x5d4)](_0x5eaa52){const _0x2cb79b=_0x3a0a20;var _0x34d680;let _0xab437b=F(_0x5eaa52),_0x10acb1=(_0x34d680=this[_0x2cb79b(0x3f4)][_0x2cb79b(0x4bb)](_0xab437b))==null?{'version':0x0}:_0x34d680;return _0x10acb1[_0x2cb79b(0x1a0)]+=0x1,this[_0x2cb79b(0x3f4)][_0x2cb79b(0x38d)](_0xab437b,_0x10acb1),_0x10acb1['version'];}[_0x3a0a20(0x6c0)](_0x863db3,_0x3bfb18){const _0xb6736c=_0x3a0a20;var _0x2b82df;return((_0x2b82df=this[_0xb6736c(0x3f4)][_0xb6736c(0x4bb)](F(_0x863db3)))==null?void 0x0:_0x2b82df[_0xb6736c(0x1a0)])===_0x3bfb18;}[_0x3a0a20(0x24f)](_0x30ea70,_0x208292,_0x451bd2){const _0x971f9=_0x3a0a20;var _0x210289;if(!this[_0x971f9(0x6c0)](_0x30ea70,_0x451bd2))return P(_0x208292),!0x1;let _0x24d364=F(_0x30ea70),_0x3b4558=(_0x210289=this[_0x971f9(0x3f4)][_0x971f9(0x4bb)](_0x24d364))==null?{'version':_0x451bd2}:_0x210289,_0x40b93f=_0x3b4558[_0x971f9(0x38f)];return _0x3b4558[_0x971f9(0x38f)]=_0x208292,_0x3b4558['version']=_0x451bd2,this[_0x971f9(0x3f4)]['set'](_0x24d364,_0x3b4558),_0x40b93f!==_0x208292&&P(_0x40b93f),!0x0;}[_0x3a0a20(0x3c7)](_0x1cde2b){const _0x116a4e=_0x3a0a20;var _0x211959;return(_0x211959=this[_0x116a4e(0x3f4)][_0x116a4e(0x4bb)](F(_0x1cde2b)))==null?void 0x0:_0x211959[_0x116a4e(0x38f)];}[_0x3a0a20(0x340)](_0x3dc53a){const _0x388063=_0x3a0a20;let _0x251bc4=F(_0x3dc53a),_0x2ca651=this[_0x388063(0x3f4)][_0x388063(0x4bb)](_0x251bc4);_0x2ca651&&(P(_0x2ca651[_0x388063(0x38f)]),this[_0x388063(0x3f4)][_0x388063(0x4d5)](_0x251bc4));}[_0x3a0a20(0x344)](_0x4ff35f){const _0x7a8805=_0x3a0a20;for(let [_0x311d55,_0x321e04]of this[_0x7a8805(0x3f4)])_0x311d55[_0x7a8805(0x2e7)](_0x7a8805(0x441)+_0x4ff35f)&&(P(_0x321e04['image']),this[_0x7a8805(0x3f4)][_0x7a8805(0x4d5)](_0x311d55));}[_0x3a0a20(0x55f)](){const _0xe0b5fc=_0x3a0a20;this[_0xe0b5fc(0x3f4)]['forEach'](_0x2f077c=>P(_0x2f077c[_0xe0b5fc(0x38f)])),this[_0xe0b5fc(0x3f4)][_0xe0b5fc(0x1d4)](),super[_0xe0b5fc(0x55f)]();}};function ee(_0x20d8b2,_0x1f3058=0x7d0){let _0x5aa6c9=null,_0xe7d11=null,_0xd2eba3=!0x1,_0x1991c5=()=>{},_0x462470=()=>{_0x5aa6c9!=null&&(clearInterval(_0x5aa6c9),_0x5aa6c9=null),_0xe7d11!=null&&(clearTimeout(_0xe7d11),_0xe7d11=null);};return{'promise':new Promise((_0x2916ec,_0x75ab50)=>{_0x1991c5=_0x75ab50;let _0x1ae476=()=>{const _0x5b9f4b=_0x2ae9;let _0x4d753e=document[_0x5b9f4b(0x37f)](_0x20d8b2);!_0x4d753e||_0xd2eba3||(_0xd2eba3=!0x0,_0x462470(),_0x2916ec(_0x4d753e));};_0x1ae476(),!_0xd2eba3&&(_0x5aa6c9=setInterval(_0x1ae476,16.666666666666668),_0xe7d11=setTimeout(()=>{const _0x295829=_0x2ae9;_0xd2eba3||(_0xd2eba3=!0x0,_0x462470(),_0x75ab50(Error(_0x295829(0x3f8)+_0x20d8b2+'\x22.')));},_0x1f3058));}),'cancel':()=>{_0xd2eba3||(_0xd2eba3=!0x0,_0x462470(),_0x1991c5(Error('Canceled\x20waiting\x20for\x20float\x20dom\x20host\x20\x22'+_0x20d8b2+'\x22.')));}};}var L=class extends t[_0x3a0a20(0x68e)]{constructor(_0x308adb,_0x5d43ff,_0x4a93d7,_0x1b8151,_0x5e1ba3,_0x1da951,_0xff18c8){const _0x38095f=_0x3a0a20;super(),this[_0x38095f(0x359)]=_0x308adb,this[_0x38095f(0x2f8)]=_0x5d43ff,this[_0x38095f(0x5c2)]=_0x4a93d7,this[_0x38095f(0x1a1)]=_0x1b8151,this['_isProviderDisposed']=_0x5e1ba3,this[_0x38095f(0x693)]=_0x1da951,this[_0x38095f(0x664)]=_0xff18c8,k(this,_0x38095f(0x2cc),c[_0x38095f(0x4a7)][_0x38095f(0x6ba)]),k(this,_0x38095f(0x6dc),null),k(this,_0x38095f(0x3a4),!0x1),k(this,_0x38095f(0x2d2),null),k(this,_0x38095f(0x617),null),k(this,'_waiter',null),k(this,_0x38095f(0x641),{}),k(this,_0x38095f(0x2f1),null);}[_0x3a0a20(0x34a)](){const _0x5c54e0=_0x3a0a20;return this[_0x5c54e0(0x3a4)];}[_0x3a0a20(0x3b1)](){const _0x335ab0=_0x3a0a20;this[_0x335ab0(0x3a4)]=!0x1;}[_0x3a0a20(0x313)](){const _0x19c271=_0x3a0a20;let _0xcd0da=this[_0x19c271(0x5c2)]();return _0xcd0da?{'width':_0xcd0da[_0x19c271(0x613)],'height':_0xcd0da[_0x19c271(0x287)]}:null;}[_0x3a0a20(0x546)](_0x4fad0d){const _0x2abde4=_0x3a0a20;this[_0x2abde4(0x641)]=_0x4fad0d,this[_0x2abde4(0x1a1)](_0x4fad0d),this[_0x2abde4(0x35e)]();}async[_0x3a0a20(0x672)](){const _0x495a82=_0x3a0a20;var _0xd2e221;if(this['_disposed']||this[_0x495a82(0x233)]())throw Error('Fail\x20to\x20create\x20float\x20dom');let _0x349483=this['_getFloatDomInfo'](),_0xfd2558=(_0xd2e221=_0x349483==null?void 0x0:_0x349483[_0x495a82(0x346)])==null?this[_0x495a82(0x359)]:_0xd2e221,_0x4dbb57=document[_0x495a82(0x37f)](_0xfd2558);if(this[_0x495a82(0x6dc)]&&_0x4dbb57!=null&&_0x4dbb57[_0x495a82(0x1fe)](this['_domFrame'][_0x495a82(0x5f3)]))return{'mountNode':this['_domFrame'][_0x495a82(0x5f3)],'dispose':()=>{const _0x495bb5=_0x495a82;this['dispose'](),_0x349483==null||_0x349483[_0x495bb5(0x55f)][_0x495bb5(0x55f)]();}};if(this['_pendingHost'])return this[_0x495a82(0x617)];let _0x41c582=this[_0x495a82(0x468)]();return this['_pendingHost']=_0x41c582,_0x41c582[_0x495a82(0x4fa)](()=>{const _0x55b2d6=_0x495a82;this[_0x55b2d6(0x617)]===_0x41c582&&(this[_0x55b2d6(0x617)]=null);},()=>{const _0x4ba851=_0x495a82;this[_0x4ba851(0x617)]===_0x41c582&&(this[_0x4ba851(0x617)]=null);}),_0x41c582;}async[_0x3a0a20(0x544)](){const _0x460d90=_0x3a0a20;try{return(await this['ensureHandle']())[_0x460d90(0x5f3)];}catch{return null;}}['checkMounted'](){const _0x57bbbf=_0x3a0a20;var _0x3fe800;let _0x48a93d=this[_0x57bbbf(0x2f8)](),_0x197268=(_0x3fe800=_0x48a93d==null?void 0x0:_0x48a93d[_0x57bbbf(0x346)])==null?this[_0x57bbbf(0x359)]:_0x3fe800,_0x47c824=document[_0x57bbbf(0x37f)](_0x197268);return!!(this[_0x57bbbf(0x6dc)]&&_0x47c824!=null&&_0x47c824[_0x57bbbf(0x1fe)](this[_0x57bbbf(0x6dc)][_0x57bbbf(0x5f3)]));}[_0x3a0a20(0x1a8)](){const _0x502bd6=_0x3a0a20;if(!this[_0x502bd6(0x6dc)])return;let _0x51432c=this[_0x502bd6(0x5c2)]();_0x51432c&&this[_0x502bd6(0x6dc)]['update'](this['_resolveLayout'](_0x51432c),this['_frameStyle']());}[_0x3a0a20(0x2dd)](){this['_markReady']();}[_0x3a0a20(0x512)](){const _0x2fc823=_0x3a0a20;this[_0x2fc823(0x664)]();}[_0x3a0a20(0x55f)](){const _0x4007ed=_0x3a0a20;var _0x4311f6;this['_disposed']||(this[_0x4007ed(0x512)](),this[_0x4007ed(0x2d2)]=null,this['_pendingHost']=null,this[_0x4007ed(0x494)](),this[_0x4007ed(0x3a4)]=!0x1,(_0x4311f6=this[_0x4007ed(0x6dc)])==null||_0x4311f6[_0x4007ed(0x55f)](),this[_0x4007ed(0x6dc)]=null,this[_0x4007ed(0x37d)](),super[_0x4007ed(0x55f)]());}async[_0x3a0a20(0x468)](){const _0x5cb6b8=_0x3a0a20;var _0x4cc305;let _0x43876e=this[_0x5cb6b8(0x2f8)]();if(!_0x43876e)throw Error(_0x5cb6b8(0x56a));let _0x2cf8bd=(_0x4cc305=_0x43876e[_0x5cb6b8(0x346)])==null?this[_0x5cb6b8(0x359)]:_0x4cc305,_0x3175ce=ee(_0x2cf8bd),_0x45f056=Symbol(this[_0x5cb6b8(0x359)]);this['_pendingToken']=_0x45f056,this[_0x5cb6b8(0x19e)]=_0x3175ce;try{var _0x3e008f;let _0x511993=await _0x3175ce[_0x5cb6b8(0x4a2)],_0x98932a=this[_0x5cb6b8(0x2f8)](),_0x217adf=(_0x3e008f=_0x98932a==null?void 0x0:_0x98932a[_0x5cb6b8(0x346)])==null?this[_0x5cb6b8(0x359)]:_0x3e008f;if(this[_0x5cb6b8(0x212)]||this['_isProviderDisposed']()||this[_0x5cb6b8(0x2d2)]!==_0x45f056||!_0x98932a||_0x217adf!==_0x2cf8bd||document[_0x5cb6b8(0x37f)](_0x2cf8bd)!==_0x511993||!_0x511993[_0x5cb6b8(0x4c8)])throw Error('Fail\x20to\x20create\x20float\x20dom');let _0x25c8c3=this[_0x5cb6b8(0x5c2)]();if(!_0x25c8c3)throw Error(_0x5cb6b8(0x56a));let _0x4aadcf=new d[(_0x5cb6b8(0x1bb))](_0x511993);return _0x4aadcf[_0x5cb6b8(0x522)](this[_0x5cb6b8(0x4e6)](_0x25c8c3),this[_0x5cb6b8(0x3bb)]()),this[_0x5cb6b8(0x2a7)](_0x511993),this['_domFrame']=_0x4aadcf,this['_managed']=!0x0,{'mountNode':_0x4aadcf[_0x5cb6b8(0x5f3)],'dispose':()=>{const _0x4b1614=_0x5cb6b8;this[_0x4b1614(0x55f)](),_0x43876e['dispose'][_0x4b1614(0x55f)]();}};}finally{this[_0x5cb6b8(0x19e)]===_0x3175ce&&(this[_0x5cb6b8(0x19e)]=null),this[_0x5cb6b8(0x2d2)]===_0x45f056&&(this[_0x5cb6b8(0x2d2)]=null);}}['_cancelHostWait'](){const _0x11be8a=_0x3a0a20;let _0x47a46a=this[_0x11be8a(0x19e)];_0x47a46a&&(_0x47a46a[_0x11be8a(0x4a0)](),this[_0x11be8a(0x19e)]=null);}[_0x3a0a20(0x35e)](){const _0x2996ba=_0x3a0a20;let _0x181029=this['_getPlacement']();this['_domFrame']&&_0x181029&&this[_0x2996ba(0x6dc)][_0x2996ba(0x522)](this['_resolveLayout'](_0x181029),this[_0x2996ba(0x3bb)]());}[_0x3a0a20(0x4e6)](_0x431e7b){const _0x2afb3b=_0x3a0a20;return d[_0x2afb3b(0x31c)]['resolve']({'logicalOuterRect':{'left':_0x431e7b[_0x2afb3b(0x445)],'top':_0x431e7b['top'],'width':_0x431e7b[_0x2afb3b(0x613)],'height':_0x431e7b[_0x2afb3b(0x287)]},'scale':{'scaleX':_0x431e7b[_0x2afb3b(0x4a9)],'scaleY':_0x431e7b[_0x2afb3b(0x2fe)]},'hostStyle':this[_0x2afb3b(0x3bb)](),'contentMode':d[_0x2afb3b(0x370)][_0x2afb3b(0x4af)]});}[_0x3a0a20(0x3bb)](){const _0x1d1f8a=_0x3a0a20;return{...this[_0x1d1f8a(0x641)],'radius':d[_0x1d1f8a(0x4f5)]};}[_0x3a0a20(0x2a7)](_0x164e34){const _0x5dc332=_0x3a0a20;let _0x565b2b=_0x164e34['parentElement'];_0x565b2b&&(this[_0x5dc332(0x2f1)]||(this[_0x5dc332(0x2f1)]={'zIndex':_0x565b2b['style'][_0x5dc332(0x3d1)],'pointerEvents':_0x565b2b[_0x5dc332(0x65a)][_0x5dc332(0x36b)]}),_0x565b2b[_0x5dc332(0x65a)][_0x5dc332(0x3d1)]='1000',_0x565b2b[_0x5dc332(0x65a)][_0x5dc332(0x36b)]=_0x5dc332(0x65c));}['_restoreHostWrapper'](){const _0x367370=_0x3a0a20;var _0x43e1c4,_0xfde337;if(!this[_0x367370(0x2f1)])return;let _0x4ce35d=this[_0x367370(0x2f8)](),_0x5db9a6=(_0x43e1c4=_0x4ce35d==null?void 0x0:_0x4ce35d['domId'])==null?this[_0x367370(0x359)]:_0x43e1c4,_0x272052=(_0xfde337=document[_0x367370(0x37f)](_0x5db9a6))==null?void 0x0:_0xfde337['parentElement'];_0x272052&&(_0x272052[_0x367370(0x65a)]['zIndex']=this[_0x367370(0x2f1)][_0x367370(0x3d1)],_0x272052[_0x367370(0x65a)][_0x367370(0x36b)]=this[_0x367370(0x2f1)]['pointerEvents']),this[_0x367370(0x2f1)]=null;}},R=class extends c[_0x3a0a20(0x596)]{constructor(_0x1441d6,_0x524fb2,_0x12ac15,_0x44351d,_0xbe21a8,_0x187db9){const _0x3b8ba8=_0x3a0a20;super(_0x1441d6),this[_0x3b8ba8(0x3f6)]=_0x524fb2,this[_0x3b8ba8(0x1a1)]=_0x12ac15,this['_snapshotKey']=_0x44351d,this[_0x3b8ba8(0x4e4)]=_0xbe21a8,this[_0x3b8ba8(0x3d5)]=_0x187db9;}[_0x3a0a20(0x313)](){let _0x22daef=this['_getOuterRect']();return _0x22daef?w(_0x22daef):null;}[_0x3a0a20(0x546)](_0xf1f42c){const _0x33ffca=_0x3a0a20;this[_0x33ffca(0x1a1)](_0xf1f42c);}['nextVersion'](){const _0x1ebf7d=_0x3a0a20;return this['_snapshotStore'][_0x1ebf7d(0x5d4)](this[_0x1ebf7d(0x688)]);}['commitSnapshot'](_0x20fbdb,_0x1bd78b){const _0x255a43=_0x3a0a20;return this['_snapshotStore'][_0x255a43(0x24f)](this[_0x255a43(0x688)],_0x20fbdb,_0x1bd78b);}[_0x3a0a20(0x4db)](){const _0x2207e4=_0x3a0a20;this[_0x2207e4(0x3d5)]();}[_0x3a0a20(0x4f2)](){const _0x36f023=_0x3a0a20;this['_snapshotStore']['nextVersion'](this[_0x36f023(0x688)]);}};function z(_0x12258a,_0x58c53f){return function(_0x48830a,_0x375986){_0x58c53f(_0x48830a,_0x375986,_0x12258a);};}function B(_0x1188f5,_0x107493,_0x4c78e7,_0x57a5c6){const _0x4316bd=_0x3a0a20;var _0x20245d=arguments[_0x4316bd(0x687)],_0x36e9d1=_0x20245d<0x3?_0x107493:_0x57a5c6===null?_0x57a5c6=Object[_0x4316bd(0x21d)](_0x107493,_0x4c78e7):_0x57a5c6,_0x4b55c7;if(typeof Reflect==_0x4316bd(0x4bf)&&typeof Reflect['decorate']==_0x4316bd(0x213))_0x36e9d1=Reflect['decorate'](_0x1188f5,_0x107493,_0x4c78e7,_0x57a5c6);else{for(var _0x103e8a=_0x1188f5['length']-0x1;_0x103e8a>=0x0;_0x103e8a--)(_0x4b55c7=_0x1188f5[_0x103e8a])&&(_0x36e9d1=(_0x20245d<0x3?_0x4b55c7(_0x36e9d1):_0x20245d>0x3?_0x4b55c7(_0x107493,_0x4c78e7,_0x36e9d1):_0x4b55c7(_0x107493,_0x4c78e7))||_0x36e9d1);}return _0x20245d>0x3&&_0x36e9d1&&Object[_0x4316bd(0x1e2)](_0x107493,_0x4c78e7,_0x36e9d1),_0x36e9d1;}function V(_0x374344){const _0x315178=_0x3a0a20;var _0x1afdfb,_0x55f872;if(!Object[_0x315178(0x60f)]['hasOwnProperty'][_0x315178(0x677)](_0x374344,'border'))return _0x374344;let {border:_0x188ed3,..._0x5c4ac3}=_0x374344;return{..._0x5c4ac3,'stroke':(_0x1afdfb=_0x188ed3==null?void 0x0:_0x188ed3[_0x315178(0x25e)])==null?'transparent':_0x1afdfb,'strokeWidth':(_0x55f872=_0x188ed3==null?void 0x0:_0x188ed3[_0x315178(0x613)])==null?0x0:_0x55f872};}let te=class extends t[_0x3a0a20(0x68e)]{constructor(_0x8afc11,_0x528343,_0xaede9a,_0x5263cb){const _0x27b3e5=_0x3a0a20;super(),this[_0x27b3e5(0x4ee)]=_0x8afc11,this[_0x27b3e5(0x52c)]=_0x528343,this[_0x27b3e5(0x64e)]=_0xaede9a,this[_0x27b3e5(0x3be)]=_0x5263cb,k(this,_0x27b3e5(0x472),new Map()),k(this,_0x27b3e5(0x23d),new Set()),k(this,_0x27b3e5(0x343),new s[(_0x27b3e5(0x5c5))]()),k(this,_0x27b3e5(0x199),this['_removeHost$'][_0x27b3e5(0x198)]()),this[_0x27b3e5(0x5be)](this[_0x27b3e5(0x4ee)][_0x27b3e5(0x5fe)][_0x27b3e5(0x21b)](_0x25c0e8=>{const _0x338b6b=_0x27b3e5;let _0x36ee00=this[_0x338b6b(0x472)][_0x338b6b(0x4bb)](_0x25c0e8['id']);_0x36ee00!=null&&_0x36ee00[_0x338b6b(0x34a)]()&&(_0x36ee00[_0x338b6b(0x3b1)](),this['_removeHost$'][_0x338b6b(0x585)](_0x25c0e8['id']));}));}[_0x3a0a20(0x2c3)](_0x4afece){const _0x51983=_0x3a0a20;if(_0x4afece==null)return;let _0x89df5=this['_renderManagerService'][_0x51983(0x318)](_0x4afece),_0x3f14df=_0x89df5==null?void 0x0:_0x89df5[_0x51983(0x42c)];return _0x89df5==null||_0x3f14df==null?null:{'scene':_0x3f14df,'transformer':_0x3f14df[_0x51983(0x58e)](),'renderUnit':_0x89df5,'canvas':_0x89df5[_0x51983(0x674)]['getCanvasElement']()};}[_0x3a0a20(0x549)](_0x2e8c54,_0xae6b60){const _0x4dfed3=_0x3a0a20;let _0x4dc9de=this[_0x4dfed3(0x4ee)],_0x4ccf6a=_0xae6b60||'transparent',_0x182ef8=_0x4dc9de[_0x4dfed3(0x5b2)](_0x2e8c54);if(_0x182ef8){let {unitId:_0x425124,subUnitId:_0x45a855}=_0x182ef8;_0x4dc9de[_0x4dfed3(0x335)](_0x425124,_0x45a855,_0x2e8c54,{'stroke':_0x4ccf6a});}}[_0x3a0a20(0x2d1)](_0x2e99b7,_0x42110b){const _0x5305d5=_0x3a0a20;let _0x5825d0=this[_0x5305d5(0x4ee)],_0x29e344=_0x5825d0[_0x5305d5(0x5b2)](_0x2e99b7);if(_0x29e344){let {unitId:_0x187258,subUnitId:_0x5de39f}=_0x29e344;_0x5825d0['updateFloatDomProps'](_0x187258,_0x5de39f,_0x2e99b7,V(_0x42110b));}}['getHostSize'](_0xbc09b0){const _0x1c93c2=_0x3a0a20;let _0x4b31c3=this[_0x1c93c2(0x4ee)][_0x1c93c2(0x5b2)](_0xbc09b0);return _0x4b31c3?_0x4b31c3['rect']:null;}[_0x3a0a20(0x456)](_0x20bb39){const _0x1171c8=_0x3a0a20;var _0x1e487c,_0xc264d5;return(_0x1e487c=(_0xc264d5=this['_chartHostMap'][_0x1171c8(0x4bb)](_0x20bb39))==null?void 0x0:_0xc264d5[_0x1171c8(0x3c6)]())==null?!0x1:_0x1e487c;}[_0x3a0a20(0x331)](_0x9d4d9d){const _0x432dd6=_0x3a0a20;var _0x4a7c9c;(_0x4a7c9c=this[_0x432dd6(0x472)][_0x432dd6(0x4bb)](_0x9d4d9d))==null||_0x4a7c9c[_0x432dd6(0x1a8)]();}[_0x3a0a20(0x228)](_0x2a87ff){const _0x2c34c8=_0x3a0a20;let _0x549dd9=this[_0x2c34c8(0x472)]['get'](_0x2a87ff);_0x549dd9==null||_0x549dd9[_0x2c34c8(0x55f)](),this['_chartHostMap']['delete'](_0x2a87ff);}async['ensureHost'](_0x2f0e7f,_0x2e2448){const _0xeaee1e=_0x3a0a20;if(_0x2e2448===c['ChartHostRenderMode']['Image'])return this[_0xeaee1e(0x316)](_0x2f0e7f);if(_0x2e2448===c[_0xeaee1e(0x4a7)][_0xeaee1e(0x6ba)])return this[_0xeaee1e(0x451)](_0x2f0e7f);let _0x18adf7=this['_getOrCreateSheetChartHost'](_0x2f0e7f);if(!_0x18adf7)throw Error(_0xeaee1e(0x56a));return _0x18adf7[_0xeaee1e(0x672)]();}[_0x3a0a20(0x39e)](_0x59f79a){const _0x1a5ab7=_0x3a0a20;return this[_0x1a5ab7(0x23d)][_0x1a5ab7(0x347)](_0x59f79a);}['markHostNotReady'](_0x3f8b87){const _0x4f748b=_0x3a0a20;this[_0x4f748b(0x23d)][_0x4f748b(0x4d5)](_0x3f8b87)&&this[_0x4f748b(0x242)](_0x3f8b87);}[_0x3a0a20(0x4f2)](_0x4a611d){const _0x490e8f=_0x3a0a20;let _0x3ca1d0=this[_0x490e8f(0x61f)](_0x4a611d);_0x3ca1d0&&this['_chartSnapshotStoreService']['nextVersion'](_0x3ca1d0);}[_0x3a0a20(0x316)](_0x5ab95e){const _0x5be105=_0x3a0a20;let _0x6c64c5=this[_0x5be105(0x61f)](_0x5ab95e);return!_0x6c64c5||!this['getHostSize'](_0x5ab95e)?null:new R(_0x5ab95e,()=>this['getHostSize'](_0x5ab95e),_0x2e8544=>this[_0x5be105(0x2d1)](_0x5ab95e,_0x2e8544),_0x6c64c5,this[_0x5be105(0x64e)],()=>this[_0x5be105(0x242)](_0x5ab95e));}[_0x3a0a20(0x451)](_0x4f15b3){const _0x3153ff=_0x3a0a20;if(!this[_0x3153ff(0x48e)](_0x4f15b3))return null;this[_0x3153ff(0x3be)][_0x3153ff(0x528)](_0x4f15b3,{'contentBox':{'wrapperInset':0x0,'contentInset':0x0}});let _0x207512=this[_0x3153ff(0x472)]['get'](_0x4f15b3);if(_0x207512)return _0x207512;let _0x2f84c1=new L(_0x4f15b3,()=>this[_0x3153ff(0x4ee)][_0x3153ff(0x5b2)](_0x4f15b3),()=>this[_0x3153ff(0x426)](_0x4f15b3),_0x3b5cf9=>this[_0x3153ff(0x2d1)](_0x4f15b3,_0x3b5cf9),()=>this[_0x3153ff(0x212)],()=>this[_0x3153ff(0x601)](_0x4f15b3),()=>this['markHostNotReady'](_0x4f15b3));return this[_0x3153ff(0x472)][_0x3153ff(0x38d)](_0x4f15b3,_0x2f84c1),_0x2f84c1;}[_0x3a0a20(0x601)](_0x15ba5a){const _0xd636ca=_0x3a0a20;this[_0xd636ca(0x23d)][_0xd636ca(0x347)](_0x15ba5a)||(this['_activeDomReadyChartIds']['add'](_0x15ba5a),this['_requestChartCanvasRender'](_0x15ba5a));}[_0x3a0a20(0x61f)](_0x13f0fd){const _0x839472=_0x3a0a20;let _0x3e1007=this['_sheetCanvasFloatDomManagerService'][_0x839472(0x5b2)](_0x13f0fd);return _0x3e1007?{'unitId':_0x3e1007[_0x839472(0x5d2)],'subUnitId':_0x3e1007[_0x839472(0x650)],'chartId':_0x13f0fd}:null;}[_0x3a0a20(0x242)](_0xd739c3){const _0x190ad6=_0x3a0a20;var _0x1c5271,_0x37b0ec,_0x4dbea3,_0x15b2eb,_0x3f4ce0;let _0x5ae027=this['_sheetCanvasFloatDomManagerService']['getFloatDomInfo'](_0xd739c3);if(!_0x5ae027)return;let _0x26233c=(_0x1c5271=this[_0x190ad6(0x52c)]['getRenderById'](_0x5ae027[_0x190ad6(0x5d2)]))==null?void 0x0:_0x1c5271[_0x190ad6(0x42c)],_0x2c6967=(_0x37b0ec=(_0x4dbea3=_0x26233c==null||(_0x15b2eb=_0x26233c[_0x190ad6(0x432)])==null?void 0x0:_0x15b2eb['call'](_0x26233c,(0x0,n[_0x190ad6(0x249)])({'unitId':_0x5ae027[_0x190ad6(0x5d2)],'subUnitId':_0x5ae027['subUnitId'],'drawingId':_0xd739c3})))==null?_0x26233c==null?void 0x0:_0x26233c['getObject']((0x0,n['getDrawingShapeKeyByDrawingSearch'])({'unitId':_0x5ae027[_0x190ad6(0x5d2)],'subUnitId':_0x5ae027[_0x190ad6(0x650)],'drawingId':_0xd739c3})):_0x4dbea3)==null?null:_0x37b0ec;_0x2c6967==null||(_0x3f4ce0=_0x2c6967[_0x190ad6(0x4d1)])==null||_0x3f4ce0[_0x190ad6(0x677)](_0x2c6967,!0x0),_0x26233c==null||_0x26233c[_0x190ad6(0x4d1)](!0x0);}[_0x3a0a20(0x426)](_0x500d30){const _0x4122f1=_0x3a0a20;var _0x578cfb,_0x2e09f2,_0x3f4dba;let _0x435c03=this[_0x4122f1(0x4ee)][_0x4122f1(0x5b2)](_0x500d30);if(!_0x435c03)return null;let _0x501a11=this[_0x4122f1(0x2c3)](_0x435c03[_0x4122f1(0x5d2)]),_0x2b5ee0=_0x501a11==null?void 0x0:_0x501a11[_0x4122f1(0x42c)],_0x585152=document[_0x4122f1(0x37f)]((_0x578cfb=_0x435c03[_0x4122f1(0x346)])==null?_0x500d30:_0x578cfb);return T(_0x435c03[_0x4122f1(0x69d)],{'scaleX':(_0x2e09f2=_0x2b5ee0==null?void 0x0:_0x2b5ee0[_0x4122f1(0x4a9)])==null?0x1:_0x2e09f2,'scaleY':(_0x3f4dba=_0x2b5ee0==null?void 0x0:_0x2b5ee0[_0x4122f1(0x2fe)])==null?0x1:_0x3f4dba},_0x585152?{'left':_0x585152[_0x4122f1(0x659)],'top':_0x585152['offsetTop']}:void 0x0);}[_0x3a0a20(0x55f)](){const _0x518ddc=_0x3a0a20;this[_0x518ddc(0x212)]||(this['_chartHostMap']['forEach'](_0x4408c8=>_0x4408c8[_0x518ddc(0x55f)]()),this['_chartHostMap']['clear'](),this[_0x518ddc(0x23d)][_0x518ddc(0x1d4)](),this[_0x518ddc(0x343)][_0x518ddc(0x6cb)](),super[_0x518ddc(0x55f)]());}};te=B([z(0x0,(0x0,t[_0x3a0a20(0x5e1)])(i['SheetCanvasFloatDomManagerService'])),z(0x1,(0x0,t['Inject'])(u['IRenderManagerService'])),z(0x2,(0x0,t[_0x3a0a20(0x5e1)])(I)),z(0x3,(0x0,t[_0x3a0a20(0x5e1)])(o[_0x3a0a20(0x360)]))],te);const H=(0x0,t['createIdentifier'])(_0x3a0a20(0x6c9)),ne=e[_0x3a0a20(0x3d4)][_0x3a0a20(0x66c)];var U=class extends c[_0x3a0a20(0x596)]{constructor(_0x25c734,_0x332429){const _0x17ae8a=_0x3a0a20;super(_0x25c734),this[_0x17ae8a(0x506)]=_0x332429,k(this,_0x17ae8a(0x384),0x0),k(this,'_image',void 0x0),k(this,_0x17ae8a(0x65a),{});}[_0x3a0a20(0x313)](){const _0x48bcca=_0x3a0a20;return this[_0x48bcca(0x506)];}[_0x3a0a20(0x546)](_0x26267a){const _0x42d1c8=_0x3a0a20;this[_0x42d1c8(0x65a)]=_0x26267a;}[_0x3a0a20(0x5d4)](){const _0x16c355=_0x3a0a20;return++this[_0x16c355(0x384)];}['commitSnapshot'](_0x2ccc18,_0xfbaabf){const _0x339204=_0x3a0a20;return _0xfbaabf===this[_0x339204(0x384)]?(P(this[_0x339204(0x69e)]),this[_0x339204(0x69e)]=_0x2ccc18,!0x0):(P(_0x2ccc18),!0x1);}[_0x3a0a20(0x4db)](){}[_0x3a0a20(0x4f2)](){const _0xef80ab=_0x3a0a20;this[_0xef80ab(0x384)]+=0x1;}['takeSnapshot'](){const _0x1d171d=_0x3a0a20;let _0x4a7977=this[_0x1d171d(0x69e)];return this['_image']=void 0x0,_0x4a7977;}['dispose'](){const _0x5accd6=_0x3a0a20;P(this[_0x5accd6(0x69e)]),this[_0x5accd6(0x69e)]=void 0x0,super['dispose']();}};function W(_0x349f9e,_0x3aefee){const _0x2e288b=_0x3a0a20;let _0x3812f1=_0x349f9e[_0x2e288b(0x32c)](_0x3aefee);return(0x0,c[_0x2e288b(0x1cc)])({..._0x349f9e['style'],'runtime':{..._0x3812f1,'layoutInset':0x8},'direction':_0x3aefee},_0x349f9e[_0x2e288b(0x4e7)]);}function _0x3a01(){const _0x46b326=['reverse','_drawingContextMenuService','_(\x22','SankeyIcon','sheets-chart-ui.trendline.pow','Start','remove$','from','params','_markHostReady','bottom','red','Pie','sheets-chart-ui.relation.gravity','Accordion','openChartPanelById','Observable','label','runtimeAxes','Circle','src','dataSource','Canvas','prototype','direction$','render','Stack','width','_initMenus','_disposeImage','BUTTON','_pendingHost','sheets-chart-ui.axes.rightVerticalAxis','getWordCloudImageMaskMap','Smooth','下午1:30','deriveStateFromActiveSheet$','restore','addObject','_getChartSnapshotKey','none','chartType$','univer-grid\x20univer-w-[290px]\x20univer-grid-cols-4\x20univer-gap-2\x20univer-p-2','clientWidth','_initSheetChange','sheets-chart-ui.seriesDefaultName','drawWith','SetDrawingApplyMutation','univer-flex\x20univer-items-center\x20univer-justify-between','createChartInstance','onStarting','axis','date','getName','Close','DeleteEmptyIcon','sheets-chart-ui.chartTypes.barStacked','sheets-chart-ui.waterfall.negative','ISidebarService','sheets-chart-ui.styleEditPanel.dateAxisTips','Linear','drawingId','priority','primary','Polygon','#,##0_);[Red](#,##0)','SELECTOR','univer-flex\x20univer-flex-col\x20univer-gap-4','sheets-chart-ui.trendline.log','useObservable','bind','addClipboardHook','gradientFill','_hostStyle','useRef','setElementEditMode','sheets-chart-ui.withColor','headers','useMemo','sheets-chart-ui.styleEditPanel.gap','resourceCollector','sort','crossOrigin','sheets-chart-ui.dialog.numfmt.accountingDesc','sheets-chart-ui.legendVisualMapType.','transformChange$','_chartSnapshotStoreService','pieStyle','subUnitId','sheets-chart-ui.settingsLabels.showEmptyCellsAs','sheets-chart-ui.dataPoint','mergeMenu','SheetSkeletonManagerService','maxDecimals','#,##0_);(#,##0)','_registerIcons','wordCloudMask','offsetLeft','style','Line','auto','\x22#,##0.00_);-\x22','rtl','univer-size-full','heatmapMax','sheets-chart-ui.waterfall.showSubtotal','startWith','subscribeEvent','_markNotReady','Module','sheets-chart-ui.dialog.numfmt.general','click','EmptyCircle','Row','inactive-sheet','[ChartRender]\x20Failed\x20to\x20render\x20chart\x20snapshot\x20for\x20printing','Image','sheets-chart-ui.trendline.period','lineWidth','offsetHeight','setActiveChartModel','areaLineStyle','ensureHandle','asCategory','engine','RelationshipIcon','unsubscribe','call','indexOf','setSelectedElement','sheets-chart-ui.shape.emptyDiamond','digitalFixed','CategoryType','CloudIcon','AreaChartIcon','config','_univerInstanceService','COMMAND','baseSeriesIndex','getColors','sheets-chart-ui.waterfall.positiveLegendText','name','clientY','length','_snapshotKey','Square','sheets-chart-ui.chartTypes.barPercentStacked','getRangeInfo','lineColor','seriesValues','Disposable','_handleDrawingDoubleClick','yyyy/MM/dd','getInterceptPoints','getSheetBySheetId','_markReady','chartAndAxisTitles','keys','sheets-chart-ui.trendline.exp','LineChartIcon','SheetInterceptorService','sheets-chart-ui.copy','sheets-chart-ui.legend','DeleteIcon','clearRuntimeCache','rect','_image','scale','activeChartModel$','hidePanel','univer-mb-2\x20univer-flex\x20univer-items-center','ScatterChartIcon','!univer-min-w-0\x20univer-flex-1','_getWatermark','SheetsSelectionsService','_initPrinting','sheets-chart-ui.relation.rotateLabel','merge','univer-mb-2\x20univer-flex\x20univer-justify-between\x20univer-gap-2','univer-mt-2\x20univer-flex\x20univer-flex-1\x20univer-flex-col\x20univer-justify-between','RangeSelector','dataPointsOptions','sheets-chart-ui.dataRange','save','SHEETS_CHART_PLUGIN_NAME','sheets-chart-ui.chartTypes.sankey','combination','icon','filter','_chartRenderMode','univer-mt-2\x20univer-text-sm\x20univer-leading-4\x20univer-text-gray-900\x20dark:!univer-text-white','rightYAxis','setRangeSelectMode','isRender','Dom','_chartModelService','sheets-chart-ui.waterfall.subtotalStyle','BarChartIcon','naturalHeight','_subscribeChartEvents','isLatest','getValue','sheets-chart-ui.invalidType.zero','univer-my-2','rotate','sheets-chart-ui.gridlinesAndTicks','yAxis','ScatterXIndex','BarStacked','sheets-chart-ui.host.provider','sheets-chart-ui.dashType.dot','complete','assign','sheets-chart-ui.trendline.showFormula','univer-text-sm\x20univer-font-medium\x20univer-text-gray-600\x20dark:!univer-text-gray-200','Left','InsertChartCommand','onCommandExecuted','_clearSelectedTarget','Percentage','_chartInstanceMap','sheets-chart-ui.titles.xAxisTitle','sheets-chart-ui.positionType.','Numeric','clip','sheets-chart-ui.deleteChart','target','sheets-chart-ui.titles.mainTitle','_domFrame','_sidebarDisposable','sheets-chart-ui.dialog.numfmt.currencyTypes','getDirection','FOCUSING_COMMON_DRAWINGS','isRosePie','Button','univer-flex\x20univer-flex-1\x20univer-flex-col\x20univer-justify-between','href','_viewState','fontSize','asObservable','removeHost$','SHEET_CHART_RENDER_OBJECT_CONFIG','2352427CHhWpr','sheets-chart-ui.setupChart','funnel','_waiter','heatmap','version','_setHostStyle','ScatterLabelIndex','univer-flex','combineLatestWith','showFormula','DownloadImageIcon','EChartRenderEngineName','syncLayout','sheets-chart-ui.dialog.numfmt.decimalPlaces','sheets-chart-ui.shape.emptyRect','sheets-chart-ui.titles.yAxisTitle','IDrawingManagerService','showLabelLine','sheets-chart-ui.chartTypes.pie','_chartThemeService','PieLabelPosition','dataLabel','sheets-chart-ui.trendline.addTrendLine','show','_sheetClipboardService','SelectModeEnum','serialize','executeChartUpdateSourceConfig','_panelRoute$','error','sheets-chart-ui.indicatorLineColor','ChartDomFrame','univer-flex\x20univer-items-center','sheetDisposed$','sheet.numfmt.general','renderChartsForPrinting','#,##0.00_);-#,##0.00','config$','-univer-mx-4','sheets-chart-ui.ticks.tickPosition','top','labelContentType','lineVisible','sheets-chart-ui.withOpacity','activeChartModel','transformToDrawingPosition','remove','sheets-chart-ui.config','resolveChartRuntimeStyle','trendlineValues','stackType','Triangle','_draw','DRAWING_CHART','_commandService','sheets-chart-ui.bubble.xAxis','clear','08-05','isNaN','indicatorLabelColor','registerRenderModel','EmptyArrow','arc','univer-mt-1.5\x20univer-text-sm\x20univer-leading-5\x20univer-text-gray-600\x20dark:!univer-text-gray-200','getCurrentTypeOfUnit$','chartStyle','_getDrawable','sheet.operation.open-chart-panel','valueSuffix','52YQLoXZ','defineProperty','waterfallSeries','LogarithmicIcon','univer-flex-1','COPY_TYPE','sheets-chart-ui.line','constructor','nodeShape','ChartPointMappingStateKey','Diamond','some','Plugin','onDispose','AxisValueType','test','waterfall','featurePluginUngroupUpdate$','handleActiveSubUnitChange','_lastActiveSheet','funnelUseAbsValue','sheets-chart-ui.series','sheets-chart-ui.styleEditPanel.labelPosition','getRenderColor','WordCloud','AxisAlignEnum','_themeService','sheet.numfmt.thousandthPercentile','univer-w-[136px]','contains','_chartEventHandlers','_contextService','category','focusDrawing','sheets-chart-ui.trendline.order','getFocusDrawings','sheet.command.chart.export-focused-image','sheets-chart-ui.color','wrap','rangeInfo','sheets-chart-ui.chartTypes.combination','sheets-chart-ui.dialog.numfmt.date','paretoStyle','_closePopup','ISheetDrawingService','SheetSkeletonService','sheets-chart-ui.relation.edgeLength','sheets-chart-ui.withFormat','univer-mb-2\x20univer-box-border\x20univer-flex\x20univer-justify-between\x20univer-gap-2','_disposed','function','SheetPrintInterceptorService','Column','getMenuHiddenObservable','useDateAxis','createElement','backgroundColor','paretoBarSeries','subscribe','sheets-chart-ui.border','getOwnPropertyDescriptor','drawImage','_url','sheets-chart-ui.styleEditPanel.showLabelLine','sheets-chart-ui.chartTypes.bar','_popupChartId','AreaPercentStacked','DRAWING_OBJECT_LAYER_INDEX','_createPrintingChartObject','objects','_registerAdapter','removeHost','getDataSource','EmptyRect','IConfigService','Value','attachRangeWithCoord','_disposeChartEventSubscriptions','Segmented','DrawingApplyType','sheets-chart-ui.chartTypes.pareto','univer-mb-2\x20univer-flex\x20univer-justify-between\x20univer-gap-2\x20univer-p-0','_isProviderDisposed','getUnit','TextAlign','sheets-chart-ui.dataNodeShape','sheets-chart-ui.addDataPoint','scatterYIndex','Multiple','IRuntimeAxisPosition','split','sheets-chart-ui.trendline.poly','_activeDomReadyChartIds','relation','sheets-chart-ui.dialog.numfmt.cancel','PRINTING_COMPONENT_COLLECT','IRenderManagerService','_requestChartCanvasRender','sheets-chart-ui.relation.repulsion','slice','Doughnut','sheets-chart-ui.insertChart','every','setConfig','getDrawingShapeKeyByDrawingSearch','_getChartRenderObject','Relation','univer-rounded-lg\x20univer-p-2','univer-mt-5\x20univer-flex\x20univer-justify-end','getBatchRemoveOp','setImage','sheets-chart-ui.titles.titleFormat','sheet.numfmt.accounting','UPDATE','_init','exportImage','legend','CommandType','sheets-chart-ui.chartType','sheet','maskImage','ISheetClipboardService','setObjectType','selectMode','activeSheet$','color','_initCommands','img','_popupDisposable','ChartElementFloatMenuAdapterRegistry','.chart-host','RemoveSheetsChartMutation','_config','08-05\x20下午\x2001:30','toInsertChartMutationSource','bubbleCategoryList','find','dateAxisRotate','getRenderModel','univer-text\x20univer-mb-2\x20univer-text-sm','radius','sheets-chart-ui.styleEditPanel.labelRotate','sheets-chart-ui.trendline.showR2','registerViewState','sheets-chart-ui.exportImage','sheets-chart-ui.fill','sheets-chart-ui.waterfall.stacked','1,235)','UNIVER_SHEET','yyyy\x22年\x22MM\x22月\x22dd\x22日\x22','univer-mb-2\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','_resizeChart','getAllowedChartTypes','sheets-chart-ui.default','bounds','transparent','_disposeChartRenderInstance','chartRenderMode','_sheetPrintInterceptorService','radar','_chartRenderService','sheets-chart-ui.percentage','sheets-chart-ui.chartTypes.column','@univerjs-pro/sheets-chart-ui','ChartModelService','ancestorTransform','height','sheets-chart-ui.ticks.tickLength','lineOrArea','_createCopyInfoByRange','force','sheets-chart-ui.relation.title','univer-inline-flex\x20univer-items-center\x20univer-gap-1\x20univer-justify-self-end\x20univer-text-xs\x20univer-font-medium\x20univer-text-primary-600','CloudOutlineIcon','hit','SheetCanvasFloatDomManagerService','sheets-chart-ui.dialog.numfmt.accounting','darkMode$','6160NSqlrR','Link','_chartHostProviderService','h:mm','\x22*\x20#,##0','_renderChartModel','univer-mr-2\x20univer-text-2xl','sheets-chart-ui.chartTypes.heatmap','_setChartRuntimeZIndex','A/P\x20h:mm:ss','firstChartType','sheets-chart-ui.withSize','includes','getRegisteredThemes','FOCUSING_PANEL_EDITOR','sheets-chart-ui.gridlines.text','_initActiveRuntimeLayerListener','_bindChartEventHandler','ChartBorderDashType','fillOpacity','_activateHostWrapper','scatterLabelIndex','SeriesLabelPosition','getSheetBySheetName','children','CopyDoubleIcon','allSeriesStyle','startX','transform','seriesResourceIndexes','resolveChartElementConfigTarget','_sheetDrawingService','_clearChartRuntimeCache','_renderAfterChartUpdateMutation','clientHeight','univer-relative\x20univer-box-border\x20univer-gap-4\x20univer-rounded-xl\x20univer-border\x20univer-border-solid\x20univer-border-gray-200\x20univer-bg-white\x20univer-p-3\x20univer-shadow\x20dark:!univer-border-gray-700\x20dark:!univer-bg-gray-700\x20dark:!univer-shadow-none','context','sheets-chart-ui.shape.rect','sheets-chart-ui.axes.horizontalAxis','rightYAxisOptions','univer-sheet-chart-format-dialog','sheets-chart-ui.trendline.movingAvg','parent','areaOpacity','negative','sheets-chart-ui.align.','tick','_rangeSelectMode','_getSceneAndTransformerByDrawingSearch','h:mm:ss','IRuntimeAxisPriority','executeChartUpdateConfig','Injector','sheets-chart-ui.alignY.','sheets-chart-ui.lineType.smooth','selectedElement$','opacity','mode','reduce','A/P\x20hh:mm','下午01:30','hidden','setHostStyle','_pendingToken','univer-text-xs','MessageType','\x22#,##0.00_);[Red]-\x22','sheets-chart-ui.relation.layoutType','scatterSymbolSize','setProps','Area','INSERT','sheets-chart-ui.lineType.line','add$','markReady','univer-flex\x20univer-h-4\x20univer-flex-1\x20univer-items-center','map','sheets-chart-ui.shape.arrow','scroll','pieLabelStyle','findIndex','SheetPermissionCheckController','position','CUT','endsWith','isArray','distinctUntilChanged','EmptySquare','SheetCopyCommand','_drawingManagerService','forceOption','beginPath','circular','SheetDrawingHitTestService','_savedWrapperStyle','sheets-chart-ui.msg.invalidSource','Percent','xAxisTitle','panelRoute$','CHART','_getCurrentSnapshotImage','_getFloatDomInfo','univer-box-border\x20univer-h-8','IDrawingContextMenuService','localPoint','sheets-chart-ui.shape.roundRect','SelectList','scaleY','sheet.command.chart.delete-focused-chart','getSkeleton','_chartElementEditMode','Input','allSeriesId','sheets-chart-ui.dialog.setFormat','13:30','ExponentialIcon','verticalAxis','markHostNotReady','sheets-chart-ui.shape.emptySquare','_setActiveChart','debounce','scrollbarClassName','univer-w-[--radix-popper-anchor-width]','with','sheets-chart-ui.dialog.numfmt.thousandthPercentileDesc','sheets-chart-ui.dialog.numfmt.generalDesc','HeatmapChartIcon','univer-justify-content-between\x20univer-items-flex-start\x20univer-mb-2\x20univer-flex\x20univer-gap-2','getRect','discreteRangeToRange','13:30:30','_createImageChartHost','imageBitmap','getRenderById','Force','copyType','wordCloudRepeat','ChartFrameLayout','route','\x22#,##0.00_);(\x22','Size','registerCommand','startRow','titlePosition','EmptyTriangle','_iconManager','getActiveSheet','axisTitleAlign','applyStyle','_listenChartUpdateMutations','sheets-chart-ui.chartStyle','sheets-chart-ui.chartTypes.radar','Radar','getRuntimeContext','dataAggregation$','RadarShape','sheets-chart-ui.relation.circular','SheetsChartUIController','syncHostLayout','title','TitlePositionEnum','_adapterRegistry','updateFloatDomProps','sheets-chart-ui.waterfall.negativeStyle','default','getCurrentRangeDisable$','sheets-chart-ui.indicatorLine','_sheetSkeletonService','Funnel','ChartThemeService','yAxisTitle','Heatmap','scatterXIndex','clearImage','min','_resetChartRuntimeZIndex','_removeHost$','clearChart','RemoveSheetCommand','domId','has','Dotted','sheets-chart-ui.titles.rightYAxisTitle','isManaged','dataIndex','RadarChartIcon','sheets-chart-ui.legendSelectMode','barStyle','edgeLength','LocaleService','executeCommand','_menuManagerService','numfmt','resize','Tooltip','EmptyDiamond','categoryType','sheets-chart-ui.axes.verticalAxis','chartId','ensureHost','UniverSheetsChartPlugin','BubbleSeriesIndex','resolve','_applyHostStyle','sheets-chart-ui.openChartPanel','CanvasFloatDomService','sheets-chart-ui.relation.emphasis','removeChartModel','sheets-chart-ui.stackType.stack','sheets-chart-ui.styleEditPanel.useAbsValue','CategoryName','sheets-chart-ui.titles.title','Zero','touchDependencies','querySelector','applyPoint','pointerEvents','getFormatInfo','sheets-chart-ui.waterfall.stackType','log','_sheetCanvasPopManagerService','ChartFrameContentMode','currencySymbols','orient','sheets-chart-ui.chartTypes.areaPercentStacked','onload','ScatterYIndex','borderColor','attachPopupToDynamicAbsolutePosition','getUnitId','DropdownMenu','rangeInfo$','_selectedElement$','_drawChartImage','_restoreHostWrapper','useEffect','getElementById','classType','waterfallSeriesType','number','useAbsValue','_version','BoxplotIcon','Circular','sheets-chart-ui.dialog.numfmt.confirm','PercentStack','close','useSubtotal','updateWatermark','point','set','univer-relative\x20univer-box-border\x20univer-gap-4\x20univer-rounded-xl\x20univer-border\x20univer-border-gray-200\x20univer-bg-white\x20univer-p-3\x20univer-shadow\x20dark:!univer-border-gray-700\x20dark:!univer-bg-gray-700\x20dark:!univer-shadow-none','image','repeat','invalidValueType','sheets-chart-ui.chartTypes.bubble','sheets-chart-ui.relation.force','area','groupId','_generatePasteMutations','_clearSheetChartRuntimeCaches','drawingIds','ContextMenuGroup','sheets-chart-ui.none','_localeService','getCurrentUnitOfType','beforeCommandExecuted','isDomReady','_configService','sheets-chart-ui.withType','4pKfGSQ','PolynomialIcon','MM-dd','_managed','univer-mb-2\x20univer-h-5\x20univer-text-sm\x20univer-font-medium\x20univer-leading-5','sheets-chart-ui.relation.useValueAsSymbolSize','pie','SeriesName','Dashed','Step','closePath','sheets-chart-ui.max','r2Color','sheets-chart-ui.waterfall.positiveStyle','BubbleIcon','315760pRSdbf','markUnmanaged','DisposableCollection','theme','_activeChartId','univer-margin-left-[1.5px]\x20univer-font-weight-500\x20univer-text-xs','sheets-chart-ui.shape.emptyRoundRect','waterfallStack','_injector','RibbonInsertGroup','seriesId','_frameStyle','(1,235)\x20','_focusedDrawings','_canvasFloatDomService','shape','univer-flex\x20univer-flex-col\x20univer-gap-2.5','canvas','section','tab','seriesStyle','_deactivateEditPanelState','checkMounted','getImage','sheets-chart-ui.dialog.numfmt.formatTypes','Radio','context$','strokeWidth','sheets-chart-ui.themes','visible','current','interceptor','SHEETS_CHART_UI_PLUGIN_CONFIG_KEY','zIndex','ChartLegendWrapField','Transform','ChartRenderMode','_requestPaint','LabelContentType','gap','clearPanelRoute','sheets-chart-ui.chartTypes.boxplot','allSettled','anchorRect$','floor','ImageBitmap','SheetsChartService','sheets-chart-ui.dialog.numfmt.currency','rightYAxisTitle','sheets-chart-ui.shape.polygon','isHit','series','sheets-chart-ui.settingsLabels.useAsCategoryLabels','sheets-chart-ui.allSeries','seriesResourceList','clsx','sheets-chart-ui.indicatorValue','value','sheet.numfmt.date','_renderDebounceMap','Tools','mark','funnelGap','getChartPopupMenus','Combination','1,235','sheets-chart-ui.hideChartPanel','sheets-chart-ui.dialog.numfmt.currencyDesc','_entries','ChartUpdateConfigCommand','_getOuterRect','getSheetId','Timed\x20out\x20waiting\x20for\x20float\x20dom\x20host\x20\x22','sheets-chart-ui.relation.forceOptions','ChartAttributeBits','sheets-chart-ui.editChart','linear','_debounceHandleMap','WorkbookEditablePermission','subTitleFontSize','Arrow','chartThemeColorType','sheets-chart-ui.shape.emptyCircle','sheets-chart-ui.styleEditPanel.repeatWordCould','getRealBound','sheets-chart-ui.invalidType.connectDataPointsWithStraightLines','chartTypeCanUseTrendLine','ColumnPercentStacked','getSheetCommandTarget','join','IUniverInstanceService','_getChartRenderObjectContext','_renderWhenConfigReady','startColumn','indicatorLineColor','useCallback','isHalfPie','border','jsxs','SheetsChartUIService','sheets-chart-ui.dialog.numfmt.dateTypes','CopySheetCommand','sheets-chart-ui.indicatorLabel','doughnutHole','focused$','repulsion','_sidebarService','1930-08-05','setContextValue','_cancelDebouncedCallbacks','kind','sheets-chart-ui.dashType.dash','top-center','univer-size-4','univer-flex\x20univer-items-center\x20univer-text-base','key','onRendered','rangeSelectMode','_getHostPlacement','Bar','univer-ml-2\x20univer-flex\x20univer-size-6\x20univer-shrink-0\x20univer-items-center\x20univer-justify-center\x20univer-rounded-sm\x20hover:univer-bg-gray-100\x20dark:hover:!univer-bg-gray-700','getFocusedUnit','Secondary','missing-float-dom','scene','radarShape','dataPoints','sheets-chart-ui.point','univer-mt-2.5','BehaviorSubject','getObjectIncludeInGroup','SHEETS_CHART_CONTEXT_MENU','sheet.chart.edit.panel','panel','logicalOuterRect','sheets-chart-ui.pareto.barSeries','string','Checkbox','IMessageService','url','sheet.numfmt.currency','univer-mb-2\x20univer-h-8','IncreaseIcon','LegendPositionEnum','rosePie','#-#','chartBitsUtils','Bottom','_sheetsChartService','left','univer-text-2xl','_initActiveChartModelListener','下午1:30:30','horizontalAxis','pluginName','piecewise','createIdentifier','RemoveSheetDrawingCommand','yAxisOptions','getMatrix','startY','_getOrCreateSheetChartHost','toStringTag','format','abs','OPERATION','checkHost','relationNodeShape','\x22#,##0.00_);[Red](\x22','generateRandomId','SheetsChartUIMenuSchema','sheets-chart-ui.shape.circle','aggregate','InputNumber','period','univer-w-full\x20!univer-min-w-0','Waterfall','yyyy-MM-dd','forEach','interceptCommand','_resolvedConfig','featurePluginOrderUpdate$','1.0.0-alpha.7','download','_createHost','sheets-chart-ui.chartTypes.donut','open','sheets-chart-ui.theIndexItem','axisTitle','titleKey','_sheetPermissionCheckController','univer-w-[208px]','sheets-chart-ui.chartTypes.relation','content','_chartHostMap','indicatorLabelTextColor','_applyActiveChartRuntimeZIndex','Sankey','_drawChartFrame','activeEditChart$','sheets-chart-ui.trendline.formula','Stacked','isElementEditModeActive','6446ePzJJh','anonymous','_activateEditPanelState','\x22#,##0.00','Empty','getViewState','_resolveChartRenderMode','ComboChartIcon','univer-mb-2\x20univer-text-sm\x20univer-text-gray-600','drawingType','univer-w-full','sheets-chart-ui.shape.triangle','REMOVE','sheets-chart-ui.ticks.majorTick','rotateLabel','items','fromEvent','seriesIndex','Inside','getHostSize','sheets-chart-ui.backgroundColor','\x22#,##0.00_);[Red]\x22','seriesStyleMap','#,##0.00_);[Red]#,##0.00','LinePointShape','_cancelHostWait','269505nshbEV','registerProvider','End','getDrawingByParam','_chartHostProvider','movingAvg','Center','_debounceHandle','header','1,234.56','MultipleSelect','cancel','BubbleSizeIndex','promise','Text','Bubble','sheets-chart-ui.trendline.linear','_getImage','ChartHostRenderMode','titleAlign','scaleX','bar','univer-mb-2','MovingAverageIcon','suffix','isInGroup','Overlay','pipe','chartModelId','15271jGMuLV','baseOn','subtitle','wordCloudRenderConfig','UniverSheetsDrawingUIPlugin','MEDIA','_registerComponents','sheets-chart.ui.service','padAngleStyle','get','UniverInstanceType','_componentManager','univer-mt-2','object','add','ThemeService','Pin','Select','getContextValue','setActiveEditChart','datetime','packageName','isConnected','InsertSheetsChartMutation','ISheetsChartUIService','push','getCurrentLastSelection','chartModelRemoved$','univer-sheet-chart-format-dialog-id','focus$','sheets-chart-ui.titles.titlePosition','makeDirty','sheets-chart-ui.styleEditPanel.halfPie','_initCopyPaste','univer-ml-3','delete','Rect','pareto','offsetWidth','IContextService','_copyInfo','requestPaint','RoundRect','sheets-chart-ui.category','evented','getChartModel','useState','sheets-chart-ui.styleEditPanel.showDataLabels','naturalWidth','sheets-chart-ui.stackType.percent','_snapshotStore','sheets-chart-ui.cloud.title','_resolveLayout','chartType','_registerChartImageRenderObjectFactory','571482sOOxDS','MenuItemType','AreaStacked','item','seriesIndexes','_sheetCanvasFloatDomManagerService','Url','univer-my-2\x20univer-flex\x20univer-flex-1\x20univer-flex-col\x20univer-justify-between','Single','invalidateSnapshot','getChartDataSource','_bindChartEventHandlers','CHART_HOST_BORDER_RADIUS','sheets-chart-ui.trendline.name','subtotal','sheets-chart-ui.categoryDefaultName','961962aFBSKB','then','sheets-chart-ui.styleEditPanel.showAxisLine','sheetTransform','_shouldSuppressSnapshot','univer-rounded-md\x20univer-p-2\x20hover:univer-bg-gray-200','sheet.command.menu-insert-chart','getDrawingData','getBatchAddOp','otherChartType','valueScale','textStyle','sheets-chart-ui.trendline.displayName','_rect','max','registerRenderObjectFactory','chartArea','register','sheets-chart-ui.bubble.yAxis','_renderModelManager','Auto','position$','_disposeChartDomInstance','useDependency','labelVisible','markNotReady','chartObject','univer-flex\x20univer-h-[26px]\x20univer-flex-row\x20univer-items-center\x20univer-gap-1.5','specialChartWidthMap','sheets-chart-ui.titles.titleText','positive','DataOrientation','_pendingMutationConfigRenders','indicatorLineType','size','activeEditChart','enableChartElementFloatMenu','_sheetDrawingHitTestService','pieBorderColor','visualMapType','initPanel','update','jsx','ColumnChartIcon','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','BarPercentStacked','style$','updateFloatDom','legendStyle','_urlImage','right','_renderManagerService','checkChartCanRender','titleFontSize','_updateTransform','sheets-chart-ui.pareto.lineSeries','lineTo','SheetCanvasPopManagerService','echarts','Fragment','GROUP','replace','deepClone','EmptyPin','isPatternEqualWithoutDecimal','sheets-chart-ui.chartTypes.funnel','small','6fUyIPP','debounceTime','sheets-chart-ui.waterfall.negativeLegendText','isFinite','univer-mb-2\x20univer-text-sm\x20univer-font-medium','_openFloatMenu','sheets-chart-ui.position','Right','ensureMount','bubbleSeriesIndex','setStyle','pow','sheets-chart-ui.withShape','setBorder','innerHeight','dashType','_disposeChartEventSubscription','_lastRenderInputMap','DropdownSelector','-1,234.56','WorksheetEditPermission','seriesList','entries','heatmapMin','endColumn','ChartImageSourceType','EmptyRoundRect','_rerenderLatest','translate','sheets-chart-ui.shape.none','combineLatest','PowerLineIcon','ChartEditBlockTitle','IconManager','\x22fillOpacity\x22','dispose','dataRange','waterfallStyle','wordCloud','Pareto','LinearIcon','sheets-chart-ui.titles.titleAlign','MenuManagerPosition','sheets-chart-ui.waterfall.positive','sheets-chart-ui.bubble.size','trendline','Fail\x20to\x20create\x20float\x20dom','sheets-chart-ui.gradientFill','sheets-chart-ui.min','relationLayout','univer-mb-2\x20univer-w-full\x20!univer-min-w-0','borderClassName','values','sheets-chart-ui.relation.auto','ChartUpdateSourceCommand','RadioGroup','sidebarOptions$','contentType','part','insertGroupObject','directEdit','#,##0.00_);#,##0.00','_chartEventSubscriptions','univer-absolute\x20univer-right-2\x20univer-top-2','tooltipAxisLabelColor','getDefaultTheme','#,##0.00_);[Red]-#,##0.00','removeViewState','xAxisOptions','M\x22月\x22d\x22日\x22','intercept','data','symbolType','next','serializeRangeWithSheet','sheets-chart-ui.styleEditPanel.pieValSuffix','CHART_ELEMENT_FLOAT_MENU_COMPONENT','ICommandService','TextVerticalAlign','fill','sheets-chart-ui.styleEditPanel.pieValScale','paretoLineSeries','getTransformerByCreate','Boxplot','nativeEvent','ChartTrendlineType','Top','StackType','DrawingTypeEnum','sheets-chart-ui.doughnutHole','ImageChartHost','categoryList','isRowDirection','setPanelRoute','gravity','rightVerticalAxis','resolveChartStyleBackgroundColor','Scatter','_getChartRenderSkipReason','lineStyle','_sheetInterceptorService','categoryIndex','sheets-chart-ui.gridlines.majorGridlines','_activeEditChart$','exp','univer-mt-2-base','layout','symbol','tooltipAxisLabelBackground','featurePluginGroupUpdate$','sheets-chart-ui.chartAndAxisTitles','startsWith','range','titles','radarFill','create','Hide','univer-my-2\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','getFloatDomInfo','Outside','sheets-chart-ui.customChart','_initPermission','dom','xAxis','univer-box-border\x20univer-w-full\x20univer-pb-2.5\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','PieChartIcon','sheets-chart-ui.dashType.solid','_sheetsChartUIService','sheets-chart-ui.bubble.label','_openEditPanelByDoubleClick','disposeWithMe','WaterfallSeriesTypeEnum','None','Horizontal','_getPlacement','symbolSize','type','Subject','CartesianPointRoleIndex','ChartUpdateConfigMutation','dataPoint','sheets-chart-ui.shape.emptyArrow','univer-mb-2\x20univer-flex\x20univer-flex-1\x20univer-flex-col\x20univer-justify-between','redo','ColorPickerControl','all','defaultChartConfig','univer-mb-2\x20univer-flex\x20univer-flex-1\x20univer-flex-row\x20univer-justify-between','dblclick','sheets-chart-ui.chartTypes.waterfall','unitId','tooltip','nextVersion','_openPanel','setRenderModel','_createChartRenderInstanceContext','WaterfallChartIcon','tooltipAxisColor','HeatmapIcon','ChartTypeBits','indicator','sheets-chart-ui.withThickness','MM-dd\x20A/P\x20hh:mm','WaterfallStackTypeEnum','borderStyle','Inject','sheets-chart-ui.styleEditPanel.padAngle','getBoundingClientRect','resolveDefaultChartHostFrameStyle','FontFormatBar','RENDER_CLASS_TYPE','univer-mb-4\x20univer-text-sm\x20univer-font-medium\x20univer-text-gray-900\x20dark:!univer-text-white','hasOwnProperty','div','RelationChartLayoutEnum','bubbleSizeIndex','sheets-chart-ui.settingsLabels.switchToRowOrColumn','paretoDataPointsOptions','showR2','useValueAsSymbolSize','FunnelIcon','sheets-chart-ui.shape.emptyTriangle','span','mountNode','IDialogService','globalAlpha','button','order'];_0x3a01=function(){return _0x46b326;};return _0x3a01();}let G=class extends t[_0x3a0a20(0x68e)]{constructor(_0x212249,_0x277084,_0x556acb,_0x508a33,_0x344d9b,_0x3ce312,_0x56e0dc,_0x5136ee,_0x4e79e4,_0x51fcf6,_0x36e84e,_0x5073aa,_0x1191ee){const _0xe9d540=_0x3a0a20;var _0x4aca0b;super(),this[_0xe9d540(0x499)]=_0x212249,this[_0xe9d540(0x4ee)]=_0x277084,this[_0xe9d540(0x6bb)]=_0x556acb,this['_drawingManagerService']=_0x508a33,this[_0xe9d540(0x680)]=_0x344d9b,this[_0xe9d540(0x52c)]=_0x3ce312,this[_0xe9d540(0x39b)]=_0x56e0dc,this[_0xe9d540(0x3b8)]=_0x5136ee,this[_0xe9d540(0x1af)]=_0x4e79e4,this[_0xe9d540(0x1fb)]=_0x51fcf6,this[_0xe9d540(0x39f)]=_0x36e84e,this[_0xe9d540(0x64e)]=_0x5073aa,k(this,'_chartInstanceMap',new Map()),k(this,_0xe9d540(0x1ff),new Map()),k(this,_0xe9d540(0x57a),new Map()),k(this,_0xe9d540(0x301),new Map()),k(this,_0xe9d540(0x50c),void 0x0),k(this,_0xe9d540(0x3eb),new Map()),k(this,_0xe9d540(0x3fd),new Map()),k(this,_0xe9d540(0x6b5),void 0x0),k(this,_0xe9d540(0x54d),new Map()),k(this,_0xe9d540(0x3b4),null),k(this,'_lastActiveSheet',null),this[_0xe9d540(0x50c)]=_0x1191ee;let _0x3b4daa=!0x0,_0x5bf768=(0x0,e[_0xe9d540(0x279)])(this[_0xe9d540(0x3b8)]);_0x5bf768[_0xe9d540(0x687)]===0x1&&_0x5bf768[0x0]==='all'&&(_0x3b4daa=!0x1);let _0x45caf6=this[_0xe9d540(0x39f)]['getConfig'](e['SHEETS_CHART_PLUGIN_CONFIG_KEY']);this[_0xe9d540(0x6b5)]=(_0x4aca0b=_0x45caf6==null?void 0x0:_0x45caf6[_0xe9d540(0x27e)])==null?ne:_0x4aca0b,this[_0xe9d540(0x50c)][_0xe9d540(0x26b)](c[_0xe9d540(0x1a7)])||this[_0xe9d540(0x1d8)](c[_0xe9d540(0x1a7)],new c['EChartRenderModel'](_0x3b4daa,{'wordCloudRenderConfig':_0x45caf6==null?void 0x0:_0x45caf6[_0xe9d540(0x4b5)]})),this[_0xe9d540(0x4e8)](),this[_0xe9d540(0x447)](),this['_initDrawingDeactivationListener'](),this[_0xe9d540(0x2a3)](),this['handleActiveSubUnitChange']();}['_getWatermark'](){const _0x2896de=_0x3a0a20;let _0x2b5c6d=!0x0,_0xefdc21=(0x0,e['getAllowedChartTypes'])(this[_0x2896de(0x3b8)]);return _0xefdc21[_0x2896de(0x687)]===0x1&&_0xefdc21[0x0]===_0x2896de(0x5cd)&&(_0x2b5c6d=!0x1),_0x2b5c6d;}[_0x3a0a20(0x1d8)](_0x5880f6,_0x55d53a){const _0x45adbf=_0x3a0a20;this[_0x45adbf(0x50c)][_0x45adbf(0x1d8)](_0x5880f6,_0x55d53a);}[_0x3a0a20(0x5d6)](_0x66176d){const _0x4d583c=_0x3a0a20;this[_0x4d583c(0x50c)][_0x4d583c(0x5d6)](_0x66176d);}['getChartSnapshotImage'](_0xf2e9ab){const _0x284e54=_0x3a0a20;let _0xb62594=this[_0x284e54(0x61f)](_0xf2e9ab);return _0xb62594?this[_0x284e54(0x64e)][_0x284e54(0x3c7)](_0xb62594):void 0x0;}[_0x3a0a20(0x481)](_0x2d1e79){const _0x5900b0=_0x3a0a20;var _0x271d2d;return((_0x271d2d=this[_0x5900b0(0x6bb)][_0x5900b0(0x1c8)])==null?void 0x0:_0x271d2d['id'])===_0x2d1e79?e[_0x5900b0(0x3d4)]['Dom']:this['_chartRenderMode'];}[_0x3a0a20(0x61f)](_0x5d6706){const _0x4dbbee=_0x3a0a20;let _0x2ee83b=this[_0x4dbbee(0x4ee)][_0x4dbbee(0x5b2)](_0x5d6706);return _0x2ee83b?{'unitId':_0x2ee83b['unitId'],'subUnitId':_0x2ee83b[_0x4dbbee(0x650)],'chartId':_0x5d6706}:null;}[_0x3a0a20(0x4e8)](){const _0x327d3d=_0x3a0a20;this[_0x327d3d(0x6b5)]===e[_0x327d3d(0x3d4)]['Image']&&this[_0x327d3d(0x5be)](this[_0x327d3d(0x4ee)][_0x327d3d(0x508)](t[_0x327d3d(0x594)][_0x327d3d(0x1d1)],({key:_0x4756e4,config:_0x1bbd33,unitId:_0x387018,subUnitId:_0x504e53,drawingId:_0x4be95c})=>new j(_0x4756e4,_0x1bbd33,()=>this['_chartSnapshotStoreService'][_0x327d3d(0x3c7)]({'unitId':_0x387018,'subUnitId':_0x504e53,'chartId':_0x4be95c}),()=>this[_0x327d3d(0x499)]['isDomReady'](_0x4be95c))));}[_0x3a0a20(0x447)](){const _0x392004=_0x3a0a20;this[_0x392004(0x5be)](this[_0x392004(0x6bb)]['activeChartModel$'][_0x392004(0x21b)](_0x4d09a3=>{const _0x2892bd=_0x392004;var _0x3be0d6;let _0x2a4b57=(_0x3be0d6=_0x4d09a3==null?void 0x0:_0x4d09a3['id'])==null?null:_0x3be0d6,_0x552200=this['_activeChartId'];_0x552200!==_0x2a4b57&&(_0x552200&&(this[_0x2892bd(0x499)][_0x2892bd(0x308)](_0x552200),this['_resetChartRuntimeZIndex'](_0x552200),this[_0x2892bd(0x50f)](_0x552200),this[_0x2892bd(0x557)](_0x552200)),this[_0x2892bd(0x3b4)]=_0x2a4b57,_0x2a4b57&&(this['_chartHostProvider'][_0x2892bd(0x308)](_0x2a4b57),this[_0x2892bd(0x474)](_0x2a4b57),this['_rerenderLatest'](_0x2a4b57)));}));}['_initDrawingDeactivationListener'](){const _0x49c127=_0x3a0a20;this['disposeWithMe'](this[_0x49c127(0x2ec)][_0x49c127(0x5a9)][_0x49c127(0x21b)](_0x36af89=>{const _0x4e0eba=_0x49c127;var _0x4a4a71;let _0x32eeb8=(_0x4a4a71=this[_0x4e0eba(0x6bb)][_0x4e0eba(0x1c8)])==null?void 0x0:_0x4a4a71['id'];_0x32eeb8&&_0x36af89[_0x4e0eba(0x1ec)](_0x4f7162=>_0x4f7162[_0x4e0eba(0x2ab)][_0x4e0eba(0x1ec)](_0x251e9c=>_0x251e9c[_0x4e0eba(0x635)]===_0x32eeb8))&&this[_0x4e0eba(0x6bb)][_0x4e0eba(0x670)](null);})),this['disposeWithMe'](this[_0x49c127(0x2ec)][_0x49c127(0x1f2)]['subscribe'](_0xd5b1e7=>{const _0x3d3972=_0x49c127;var _0x2d7bf8;let _0x1f3c83=(_0x2d7bf8=this[_0x3d3972(0x6bb)][_0x3d3972(0x1c8)])==null?void 0x0:_0x2d7bf8['id'];_0x1f3c83&&_0xd5b1e7[_0x3d3972(0x1ec)](_0x3cdad6=>_0x3cdad6[_0x3d3972(0x2bd)]['drawingId']===_0x1f3c83||_0x3cdad6[_0x3d3972(0x2ab)][_0x3d3972(0x1ec)](_0x26e7fb=>_0x26e7fb['drawingId']===_0x1f3c83))&&this[_0x3d3972(0x6bb)]['setActiveChartModel'](null);}));}[_0x3a0a20(0x2a3)](){const _0x400f48=_0x3a0a20;this['disposeWithMe'](this['_drawingManagerService'][_0x400f48(0x465)][_0x400f48(0x21b)](_0x2c0321=>{const _0xe8aabf=_0x400f48;var _0x4654a1;let _0x4adb48=(_0x4654a1=this['_chartModelService']['activeChartModel'])==null?void 0x0:_0x4654a1['id'];if(!_0x4adb48){_0x2c0321[_0xe8aabf(0x398)][_0xe8aabf(0x462)](_0x11160f=>{const _0x13a553=_0xe8aabf;this[_0x13a553(0x6bb)][_0x13a553(0x4df)](_0x11160f)&&this[_0x13a553(0x342)](_0x11160f);});return;}let _0xd6ee32=this['_sheetCanvasFloatDomManagerService'][_0xe8aabf(0x5b2)](_0x4adb48);(_0xd6ee32==null?void 0x0:_0xd6ee32[_0xe8aabf(0x5d2)])===_0x2c0321[_0xe8aabf(0x5d2)]&&_0xd6ee32[_0xe8aabf(0x650)]===_0x2c0321[_0xe8aabf(0x650)]&&this['_applyActiveChartRuntimeZIndex'](_0x4adb48);})),this[_0x400f48(0x5be)](this[_0x400f48(0x2ec)][_0x400f48(0x2dc)]['subscribe'](_0x2725a6=>{const _0x88b8d7=_0x400f48;var _0x412393;let _0x2f6a1a=(_0x412393=this[_0x88b8d7(0x6bb)][_0x88b8d7(0x1c8)])==null?void 0x0:_0x412393['id'];if(!_0x2f6a1a)return;let _0x272b75=this[_0x88b8d7(0x4ee)][_0x88b8d7(0x5b2)](_0x2f6a1a);_0x272b75&&_0x2725a6[_0x88b8d7(0x1ec)](_0x409b11=>_0x409b11[_0x88b8d7(0x5d2)]===_0x272b75[_0x88b8d7(0x5d2)]&&_0x409b11[_0x88b8d7(0x650)]===_0x272b75[_0x88b8d7(0x650)])&&this[_0x88b8d7(0x474)](_0x2f6a1a);})),this[_0x400f48(0x5be)](this['_chartModelService'][_0x400f48(0x4cd)][_0x400f48(0x21b)](_0x3a2afe=>{const _0x149e18=_0x400f48;var _0x18d846;this[_0x149e18(0x54d)][_0x149e18(0x4d5)](_0x3a2afe),this[_0x149e18(0x64e)][_0x149e18(0x344)](_0x3a2afe),this[_0x149e18(0x2b3)](_0x3a2afe),this['_chartHostProvider'][_0x149e18(0x308)](_0x3a2afe),((_0x18d846=this[_0x149e18(0x6bb)][_0x149e18(0x1c8)])==null?void 0x0:_0x18d846['id'])===_0x3a2afe?this[_0x149e18(0x6bb)][_0x149e18(0x670)](null):this[_0x149e18(0x342)](_0x3a2afe),this[_0x149e18(0x27d)](_0x3a2afe);}));}[_0x3a0a20(0x557)](_0x565c81){const _0x134ec7=_0x3a0a20;let _0xad2800=this[_0x134ec7(0x54d)][_0x134ec7(0x4bb)](_0x565c81);_0xad2800&&this[_0x134ec7(0x611)](_0x565c81,_0xad2800[_0x134ec7(0x67f)],_0xad2800[_0x134ec7(0x65a)]);}['_disposeChartDomInstance'](_0x1a97e3){const _0x1cb27d=_0x3a0a20;let _0x459353=this[_0x1cb27d(0x6d4)][_0x1cb27d(0x4bb)](_0x1a97e3);(_0x459353==null?void 0x0:_0x459353['mode'])===_0x1cb27d(0x5b6)&&(this[_0x1cb27d(0x22e)](_0x1a97e3),_0x459353[_0x1cb27d(0x55f)](),this[_0x1cb27d(0x6d4)]['delete'](_0x1a97e3)),this[_0x1cb27d(0x499)][_0x1cb27d(0x308)](_0x1a97e3),this[_0x1cb27d(0x499)]['removeHost'](_0x1a97e3);}['_disposeChartRenderInstance'](_0x3b706a){const _0x5dc4c7=_0x3a0a20;let _0x4123e7=this[_0x5dc4c7(0x6d4)][_0x5dc4c7(0x4bb)](_0x3b706a);_0x4123e7&&(this[_0x5dc4c7(0x22e)](_0x3b706a),_0x4123e7[_0x5dc4c7(0x55f)](),this[_0x5dc4c7(0x6d4)][_0x5dc4c7(0x4d5)](_0x3b706a)),this['_chartHostProvider'][_0x5dc4c7(0x308)](_0x3b706a),this['_chartHostProvider'][_0x5dc4c7(0x228)](_0x3b706a);}[_0x3a0a20(0x2b3)](_0x51eb4f){const _0x1890a9=_0x3a0a20;var _0x88518b,_0x732378;(_0x88518b=this[_0x1890a9(0x26b)](c['EChartRenderEngineName']))==null||(_0x732378=_0x88518b[_0x1890a9(0x69c)])==null||_0x732378['call'](_0x88518b,_0x51eb4f);}[_0x3a0a20(0x397)](_0xfe595a,_0x1bc118){const _0x541a2d=_0x3a0a20;let _0x3ce378=this[_0x541a2d(0x2ec)][_0x541a2d(0x500)](_0xfe595a,_0x1bc118);Object[_0x541a2d(0x570)](_0x3ce378==null?{}:_0x3ce378)[_0x541a2d(0x462)](_0x32704b=>{const _0x32c631=_0x541a2d;_0x32704b[_0x32c631(0x484)]===t[_0x32c631(0x594)][_0x32c631(0x1d1)]&&this['_clearChartRuntimeCache'](_0x32704b[_0x32c631(0x635)]);});}[_0x3a0a20(0x24a)](_0x4ec157,_0x1c1181){const _0x104ac4=_0x3a0a20;var _0x4b5cc6,_0x1648e7,_0x4a62dd;return(_0x4b5cc6=(_0x1648e7=(_0x4a62dd=_0x4ec157[_0x104ac4(0x432)])==null?void 0x0:_0x4a62dd[_0x104ac4(0x677)](_0x4ec157,_0x1c1181))==null?_0x4ec157['getObject'](_0x1c1181):_0x1648e7)==null?null:_0x4b5cc6;}[_0x3a0a20(0x40b)](_0x241d03){const _0x1ee006=_0x3a0a20;var _0x2828bf;let _0x162be7=this[_0x1ee006(0x4ee)]['getFloatDomInfo'](_0x241d03);if(!_0x162be7)return null;let _0xa5ca5d=(_0x2828bf=this['_renderManagerService'][_0x1ee006(0x318)](_0x162be7[_0x1ee006(0x5d2)]))==null?void 0x0:_0x2828bf[_0x1ee006(0x42c)];if(!_0xa5ca5d)return null;let _0x4e4cfe=this['_getChartRenderObject'](_0xa5ca5d,(0x0,n[_0x1ee006(0x249)])({'unitId':_0x162be7[_0x1ee006(0x5d2)],'subUnitId':_0x162be7['subUnitId'],'drawingId':_0x241d03}));return _0x4e4cfe?{'info':_0x162be7,'scene':_0xa5ca5d,'chartObject':_0x4e4cfe}:null;}[_0x3a0a20(0x29b)](_0x506d79,_0x504cde){const _0x23b9cc=_0x3a0a20;var _0x5ab255,_0x2ade4b,_0x4ee407,_0x4a884e;let _0x2fef65=this[_0x23b9cc(0x40b)](_0x506d79);_0x2fef65&&((_0x5ab255=(_0x2ade4b=_0x2fef65[_0x23b9cc(0x513)])[_0x23b9cc(0x2d8)])==null||_0x5ab255[_0x23b9cc(0x677)](_0x2ade4b,{'zIndex':_0x504cde}),(_0x4ee407=(_0x4a884e=_0x2fef65[_0x23b9cc(0x513)])[_0x23b9cc(0x4d1)])==null||_0x4ee407['call'](_0x4a884e,!0x0),_0x2fef65[_0x23b9cc(0x42c)][_0x23b9cc(0x4d1)](!0x0));}[_0x3a0a20(0x474)](_0x227b2e){const _0x5add1c=_0x3a0a20;let _0x3682aa=this[_0x5add1c(0x4ee)][_0x5add1c(0x5b2)](_0x227b2e);if(!_0x3682aa)return;let _0x3e8ecd=this['_drawingManagerService']['getDrawingOrder'](_0x3682aa[_0x5add1c(0x5d2)],_0x3682aa[_0x5add1c(0x650)]);this['_setChartRuntimeZIndex'](_0x227b2e,_0x3e8ecd['length']);}[_0x3a0a20(0x342)](_0x1d54c3){const _0x44d306=_0x3a0a20;let _0x58cdf4=this[_0x44d306(0x4ee)][_0x44d306(0x5b2)](_0x1d54c3);if(!_0x58cdf4)return;let _0x5c5144=this[_0x44d306(0x2ec)]['getDrawingOrder'](_0x58cdf4[_0x44d306(0x5d2)],_0x58cdf4[_0x44d306(0x650)]),_0x4e7829=_0x5c5144[_0x44d306(0x678)](_0x1d54c3);this['_setChartRuntimeZIndex'](_0x1d54c3,_0x4e7829===-0x1?Math[_0x44d306(0x507)](_0x5c5144[_0x44d306(0x687)]-0x1,0x0):_0x4e7829);}[_0x3a0a20(0x278)](_0x5184cf,_0x502ff7){const _0x199623=_0x3a0a20;let _0x2cd1d9=this['_sheetCanvasFloatDomManagerService'][_0x199623(0x5b2)](_0x5184cf);if(!(_0x502ff7[_0x199623(0x613)]===void 0x0||_0x502ff7[_0x199623(0x287)]===void 0x0)&&_0x2cd1d9){var _0x1999d5;let {subUnitId:_0x2910d1}=_0x2cd1d9,_0x411a33=(_0x1999d5=this[_0x199623(0x680)][_0x199623(0x39c)](t['UniverInstanceType']['UNIVER_SHEET']))==null?void 0x0:_0x1999d5[_0x199623(0x325)]();if((_0x411a33==null?void 0x0:_0x411a33[_0x199623(0x3f7)]())===_0x2910d1){let {width:_0x1fb636,height:_0x5d0958}=_0x502ff7,_0x4cc8a5=this[_0x199623(0x6bb)][_0x199623(0x4df)](_0x5184cf),_0x5633ab=_0x4cc8a5==null?void 0x0:_0x4cc8a5[_0x199623(0x65a)];if(Math['abs'](_0x1fb636-((_0x5633ab==null?void 0x0:_0x5633ab[_0x199623(0x613)])||0x0))>0x1||Math[_0x199623(0x454)](_0x5d0958-((_0x5633ab==null?void 0x0:_0x5633ab[_0x199623(0x287)])||0x0))>0x1){_0x4cc8a5==null||_0x4cc8a5[_0x199623(0x327)]({..._0x5633ab,'width':_0x1fb636,'height':_0x5d0958});let _0x4a8bd3=this[_0x199623(0x6d4)][_0x199623(0x4bb)](_0x5184cf);_0x4a8bd3&&(this['_chartHostProvider']['syncHostLayout'](_0x5184cf),_0x4a8bd3[_0x199623(0x354)]());}}}}['_debounceHandle'](_0x499cff,_0x1b5944,_0x33ea1d=0x0){const _0x348cee=_0x3a0a20;let _0x403855=this[_0x348cee(0x3fd)][_0x348cee(0x4bb)](_0x499cff);_0x403855||(_0x403855=(0x0,t[_0x348cee(0x30b)])(_0x3c1a2d=>{const _0x1e1e6a=_0x348cee;this[_0x1e1e6a(0x278)](_0x499cff,_0x3c1a2d);},_0x33ea1d),this[_0x348cee(0x3fd)][_0x348cee(0x38d)](_0x499cff,_0x403855)),_0x403855(_0x1b5944);}[_0x3a0a20(0x1f3)](){const _0x53a463=_0x3a0a20;let _0x53b409=this[_0x53a463(0x3eb)],_0x2eec01=_0x548855=>{const _0x125aee=_0x53a463;if(!_0x53b409[_0x125aee(0x347)](_0x548855)){let _0x2d0330=(0x0,t[_0x125aee(0x30b)])((_0x1c372b,_0x2532c1,_0x4d256f,_0x449ec5)=>{const _0x4202a6=_0x125aee;var _0x2ff025,_0x2dcce6;if(!_0x4d256f)return;(_0x2ff025=_0x4d256f['category'])==null||_0x2ff025[_0x4202a6(0x48a)][_0x4202a6(0x462)]((_0x2aa3e8,_0xd6ab86)=>{const _0x527f7b=_0x4202a6;_0x2aa3e8[_0x527f7b(0x609)]||(_0x2aa3e8['label']=this[_0x527f7b(0x39b)]['t'](_0x527f7b(0x4dd))+'\x20'+(_0xd6ab86+0x1));}),_0x4d256f['series'][_0x4202a6(0x462)]((_0x31d1e8,_0xe2218e)=>{const _0x5b64bc=_0x4202a6;_0x31d1e8[_0x5b64bc(0x685)]||(_0x31d1e8[_0x5b64bc(0x685)]=this[_0x5b64bc(0x39b)]['t'](_0x5b64bc(0x1f6))+'\x20'+(_0xe2218e+0x1));});let _0x25f245=W(_0x1c372b,_0x449ec5),_0x2dad2c=(_0x2dcce6=this[_0x4202a6(0x680)]['getCurrentUnitOfType'](t['UniverInstanceType'][_0x4202a6(0x275)]))==null?void 0x0:_0x2dcce6[_0x4202a6(0x325)]();(_0x2dad2c==null?void 0x0:_0x2dad2c['getSheetId']())===_0x2532c1&&this[_0x4202a6(0x611)](_0x1c372b['id'],_0x4d256f,_0x25f245);},0x11);_0x53b409[_0x125aee(0x38d)](_0x548855,_0x2d0330);}return _0x53b409['get'](_0x548855);};this['disposeWithMe'](this[_0x53a463(0x680)][_0x53a463(0x418)][_0x53a463(0x21b)](_0x1c6161=>{const _0x1d5671=_0x53a463;let _0x3cc0db=this[_0x1d5671(0x680)][_0x1d5671(0x39c)](t[_0x1d5671(0x4bc)][_0x1d5671(0x275)]);if(_0x1c6161&&_0x3cc0db&&_0x3cc0db[_0x1d5671(0x378)]()===_0x1c6161){var _0x514c80;let _0x3cceb3=_0x3cc0db['getActiveSheet']()[_0x1d5671(0x3f7)]();this[_0x1d5671(0x1f4)]&&(this[_0x1d5671(0x1f4)][_0x1d5671(0x5d2)]!==_0x1c6161||this[_0x1d5671(0x1f4)][_0x1d5671(0x650)]!==_0x3cceb3)&&this[_0x1d5671(0x397)](this['_lastActiveSheet'][_0x1d5671(0x5d2)],this[_0x1d5671(0x1f4)][_0x1d5671(0x650)]),this['_lastActiveSheet']={'unitId':_0x1c6161,'subUnitId':_0x3cceb3};let _0x584256=this[_0x1d5671(0x2ec)]['getDrawingData'](_0x1c6161,_0x3cceb3);if(!((_0x514c80=this[_0x1d5671(0x52c)][_0x1d5671(0x318)](_0x1c6161))!=null&&_0x514c80[_0x1d5671(0x30e)](a[_0x1d5671(0x654)])[_0x1d5671(0x300)](_0x3cceb3)))return;if(_0x584256)for(let _0x24f9e3 in _0x584256){let {drawingId:_0x4ba3ef}=_0x584256[_0x24f9e3],_0xd0c963=this['_chartModelService'][_0x1d5671(0x4df)](_0x4ba3ef);_0xd0c963&&_0x2eec01(_0xd0c963['id'])(_0xd0c963,_0x3cceb3,_0xd0c963[_0x1d5671(0x67f)],this[_0x1d5671(0x39b)][_0x1d5671(0x6df)]());}}})),this['disposeWithMe'](this[_0x53a463(0x1fb)][_0x53a463(0x292)]['subscribe'](()=>{const _0x220cd4=_0x53a463;var _0x352d18;let _0x43f2fb=this[_0x220cd4(0x680)]['getCurrentUnitOfType'](t['UniverInstanceType'][_0x220cd4(0x275)]);if(!_0x43f2fb)return;let _0x2ecbab=_0x43f2fb[_0x220cd4(0x378)](),_0x80327a=_0x43f2fb[_0x220cd4(0x325)]()[_0x220cd4(0x3f7)](),_0x277c9a=this[_0x220cd4(0x2ec)]['getDrawingData'](_0x2ecbab,_0x80327a);if((_0x352d18=this[_0x220cd4(0x52c)][_0x220cd4(0x318)](_0x2ecbab))!=null&&_0x352d18[_0x220cd4(0x30e)](a[_0x220cd4(0x654)])[_0x220cd4(0x300)](_0x80327a)&&_0x277c9a)for(let _0x347bac in _0x277c9a){let {drawingId:_0x15cdc8}=_0x277c9a[_0x347bac],_0x2da113=this['_chartModelService'][_0x220cd4(0x4df)](_0x15cdc8);_0x2da113&&_0x2eec01(_0x2da113['id'])(_0x2da113,_0x80327a,_0x2da113[_0x220cd4(0x67f)],this[_0x220cd4(0x39b)][_0x220cd4(0x6df)]());}})),this[_0x53a463(0x5be)](this[_0x53a463(0x2ec)][_0x53a463(0x2dc)]['subscribe'](_0x3dfc6f=>{_0x3dfc6f['forEach'](_0x4c3ee5=>{const _0x17d48e=_0x2ae9;var _0x1f277c,_0x58749c,_0x2d0b47;let {drawingId:_0x26838d,unitId:_0x5c7f6c,subUnitId:_0x18be83}=_0x4c3ee5;if(!((_0x1f277c=this[_0x17d48e(0x52c)][_0x17d48e(0x318)](_0x5c7f6c))!=null&&_0x1f277c[_0x17d48e(0x30e)](a['SheetSkeletonManagerService'])[_0x17d48e(0x300)](_0x18be83)))return;let {drawingType:_0x20930f}=this['_drawingManagerService'][_0x17d48e(0x498)](_0x4c3ee5);if(_0x20930f!==t['DrawingTypeEnum'][_0x17d48e(0x1d1)])return;let _0x546d42=this[_0x17d48e(0x4ee)][_0x17d48e(0x5b2)](_0x26838d),_0x5bfcc2=(_0x58749c=_0x546d42==null?void 0x0:_0x546d42[_0x17d48e(0x346)])==null?_0x26838d:_0x58749c,_0x1f07ad=_0x546d42==null?void 0x0:_0x546d42['rect'],_0x51db4e=(_0x2d0b47=this['_renderManagerService'][_0x17d48e(0x318)](_0x5c7f6c))==null?void 0x0:_0x2d0b47[_0x17d48e(0x42c)];_0x1f07ad&&this[_0x17d48e(0x5be)](_0x1f07ad==null?void 0x0:_0x1f07ad['onTransformChange$'][_0x17d48e(0x663)](_0x1917b9=>{const _0x3c7cda=_0x17d48e;let {type:_0xb49275,value:_0x1b0c70}=_0x1917b9;if(u['TRANSFORM_CHANGE_OBSERVABLE_TYPE'][_0x3c7cda(0x354)]===_0xb49275||u['TRANSFORM_CHANGE_OBSERVABLE_TYPE'][_0x3c7cda(0x5cd)]===_0xb49275){let {width:_0x27e0f9,height:_0x433437}=_0x1b0c70;this[_0x3c7cda(0x49c)](_0x26838d,{'width':_0x27e0f9,'height':_0x433437},0x64);}})),_0x51db4e&&this['disposeWithMe'](_0x51db4e['onTransformChange$'][_0x17d48e(0x663)](_0x156a82=>{const _0x1a99c5=_0x17d48e;var _0x1d9a5d;_0x156a82[_0x1a99c5(0x5c4)]===u['TRANSFORM_CHANGE_OBSERVABLE_TYPE'][_0x1a99c5(0x69f)]&&(_0x1d9a5d=document[_0x1a99c5(0x37f)](_0x5bfcc2))!=null&&_0x1d9a5d[_0x1a99c5(0x369)](_0x1a99c5(0x263))&&this['_chartHostProvider']['syncHostLayout'](_0x26838d);}));let _0xeee225=this[_0x17d48e(0x6bb)][_0x17d48e(0x4df)](_0x26838d);_0xeee225&&this[_0x17d48e(0x5be)]((0x0,s[_0x17d48e(0x55a)])([_0xeee225[_0x17d48e(0x1c1)],_0xeee225[_0x17d48e(0x527)],this[_0x17d48e(0x39b)]['direction$']])[_0x17d48e(0x21b)](([_0x5b6edf,_0x189010,_0x1c5cf6])=>{_0x2eec01(_0xeee225['id'])(_0xeee225,_0x18be83,_0x5b6edf,_0x1c5cf6);}));});})),this['disposeWithMe']((0x0,s[_0x53a463(0x55a)])([this[_0x53a463(0x2ec)][_0x53a463(0x5fe)]])[_0x53a463(0x21b)](([_0x495772])=>{_0x495772['forEach'](_0x1a6259=>{const _0x3ec43b=_0x2ae9;var _0x45ab60;let {drawingId:_0x3bff64}=_0x1a6259;((_0x45ab60=this['_chartModelService'][_0x3ec43b(0x1c8)])==null?void 0x0:_0x45ab60['id'])===_0x3bff64&&this[_0x3ec43b(0x6bb)][_0x3ec43b(0x670)](null),this['_disposeChartEventSubscriptions'](_0x3bff64),this[_0x3ec43b(0x1ff)][_0x3ec43b(0x4d5)](_0x3bff64),this[_0x3ec43b(0x499)][_0x3ec43b(0x308)](_0x3bff64),this[_0x3ec43b(0x342)](_0x3bff64),this[_0x3ec43b(0x27d)](_0x3bff64),this[_0x3ec43b(0x64e)][_0x3ec43b(0x344)](_0x3bff64),this['_clearChartRuntimeCache'](_0x3bff64),this[_0x3ec43b(0x54d)][_0x3ec43b(0x4d5)](_0x3bff64),this[_0x3ec43b(0x301)][_0x3ec43b(0x4d5)](_0x3bff64);});}));}[_0x3a0a20(0x643)](_0x38611a,_0x152ed8){const _0x13e0b4=_0x3a0a20;var _0x20b1a2;_0x152ed8?this[_0x13e0b4(0x301)][_0x13e0b4(0x38d)](_0x38611a,!0x0):this[_0x13e0b4(0x301)][_0x13e0b4(0x4d5)](_0x38611a),(_0x20b1a2=this['_chartInstanceMap'][_0x13e0b4(0x4bb)](_0x38611a))==null||_0x20b1a2[_0x13e0b4(0x643)](_0x152ed8);}async[_0x3a0a20(0x254)](_0x583086){const _0x280217=_0x3a0a20;let _0xb13a1d=this[_0x280217(0x6d4)][_0x280217(0x4bb)](_0x583086);if(_0xb13a1d){let _0x43446c=this['_chartElementEditMode'][_0x280217(0x4bb)](_0x583086)===!0x0;_0x43446c&&_0xb13a1d[_0x280217(0x643)](!0x1);try{let _0x825a50=await _0xb13a1d['exportImg']();if(_0x825a50)return _0x825a50;}finally{_0x43446c&&this['_chartInstanceMap'][_0x280217(0x4bb)](_0x583086)===_0xb13a1d&&_0xb13a1d[_0x280217(0x643)](!0x0);}}let _0x34e0d0=this['_getCurrentSnapshotImage'](_0x583086);return _0x34e0d0?(0x0,c['chartImageSourceToDataUrl'])(_0x34e0d0):void 0x0;}['on'](_0x1ed6af,_0x341222,_0x4e0a5c){const _0x14ed83=_0x3a0a20;let _0x52d591=this['_chartEventHandlers'][_0x14ed83(0x4bb)](_0x1ed6af);_0x52d591||(_0x52d591=new Map(),this['_chartEventHandlers']['set'](_0x1ed6af,_0x52d591));let _0x1829e3=_0x52d591[_0x14ed83(0x4bb)](_0x341222);_0x1829e3||(_0x1829e3=new Set(),_0x52d591[_0x14ed83(0x38d)](_0x341222,_0x1829e3)),_0x1829e3[_0x14ed83(0x4c0)](_0x4e0a5c);let _0x1e5cd4=this[_0x14ed83(0x6d4)]['get'](_0x1ed6af);return _0x1e5cd4&&this[_0x14ed83(0x2a4)](_0x1ed6af,_0x1e5cd4,_0x341222,_0x4e0a5c),{'dispose':()=>{const _0x3ce9c8=_0x14ed83;var _0x38d8ef;(_0x38d8ef=this[_0x3ce9c8(0x1ff)][_0x3ce9c8(0x4bb)](_0x1ed6af))==null||(_0x38d8ef=_0x38d8ef[_0x3ce9c8(0x4bb)](_0x341222))==null||_0x38d8ef['delete'](_0x4e0a5c),this[_0x3ce9c8(0x54c)](_0x1ed6af,_0x341222,_0x4e0a5c);}};}[_0x3a0a20(0x2f7)](_0x4eca43){const _0x584c96=_0x3a0a20;let _0x142dc7=this[_0x584c96(0x680)][_0x584c96(0x39c)](t['UniverInstanceType'][_0x584c96(0x275)]),_0x3d15ec=_0x142dc7==null?void 0x0:_0x142dc7[_0x584c96(0x325)](),_0x5e9516=_0x142dc7==null?void 0x0:_0x142dc7[_0x584c96(0x378)](),_0x40353c=_0x3d15ec==null?void 0x0:_0x3d15ec[_0x584c96(0x3f7)]();if(!(!_0x5e9516||!_0x40353c))return this[_0x584c96(0x64e)]['getImage']({'unitId':_0x5e9516,'subUnitId':_0x40353c,'chartId':_0x4eca43});}[_0x3a0a20(0x4f4)](_0x171739,_0x5a56fc){const _0x40d5c8=_0x3a0a20;let _0x1f706a=this[_0x40d5c8(0x1ff)][_0x40d5c8(0x4bb)](_0x171739);_0x1f706a&&_0x1f706a[_0x40d5c8(0x462)]((_0x241c50,_0x5d1276)=>{const _0x27af19=_0x40d5c8;_0x241c50['forEach'](_0x1b943f=>this[_0x27af19(0x2a4)](_0x171739,_0x5a56fc,_0x5d1276,_0x1b943f));});}[_0x3a0a20(0x2a4)](_0x837385,_0x1d393b,_0x21f0ab,_0x5dde3){const _0x43e14b=_0x3a0a20;let _0x51e280=this['_chartEventSubscriptions'][_0x43e14b(0x4bb)](_0x837385);_0x51e280||(_0x51e280=new Map(),this[_0x43e14b(0x57a)]['set'](_0x837385,_0x51e280));let _0xe21776=_0x51e280[_0x43e14b(0x4bb)](_0x21f0ab);_0xe21776||(_0xe21776=new Map(),_0x51e280[_0x43e14b(0x38d)](_0x21f0ab,_0xe21776)),!_0xe21776['has'](_0x5dde3)&&_0xe21776[_0x43e14b(0x38d)](_0x5dde3,_0x1d393b['on'](_0x21f0ab,_0x5dde3));}[_0x3a0a20(0x54c)](_0x48d742,_0x480f27,_0x3dba48){const _0x3eaab1=_0x3a0a20;var _0x32e354,_0x171c7d;let _0x42d3f1=(_0x32e354=this['_chartEventSubscriptions'][_0x3eaab1(0x4bb)](_0x48d742))==null?void 0x0:_0x32e354[_0x3eaab1(0x4bb)](_0x480f27);_0x42d3f1==null||(_0x171c7d=_0x42d3f1['get'](_0x3dba48))==null||_0x171c7d['dispose'](),_0x42d3f1==null||_0x42d3f1['delete'](_0x3dba48);}[_0x3a0a20(0x22e)](_0x9d2703){const _0x108881=_0x3a0a20;let _0xc8ccd=this['_chartEventSubscriptions'][_0x108881(0x4bb)](_0x9d2703);_0xc8ccd==null||_0xc8ccd[_0x108881(0x462)](_0x393be8=>{const _0x4638b2=_0x108881;_0x393be8[_0x4638b2(0x462)](_0x2b1654=>_0x2b1654[_0x4638b2(0x55f)]()),_0x393be8['clear']();}),this[_0x108881(0x57a)][_0x108881(0x4d5)](_0x9d2703);}['getRenderModel'](_0x31d814){const _0x3c1b7d=_0x3a0a20;let _0x542921=this[_0x3c1b7d(0x50c)][_0x3c1b7d(0x26b)](_0x31d814),_0x5bee11=this[_0x3c1b7d(0x6a5)]();return _0x542921&&_0x542921[_0x3c1b7d(0x38b)](_0x5bee11),_0x542921;}[_0x3a0a20(0x52d)](_0x3df905){const _0x3bc867=_0x3a0a20;return this[_0x3bc867(0x59e)](_0x3df905)==null;}['_getChartRenderSkipReason'](_0xa5678e){const _0x4c3acc=_0x3a0a20;var _0x39df74;let _0x4b32bd=this[_0x4c3acc(0x4ee)][_0x4c3acc(0x5b2)](_0xa5678e);if(!_0x4b32bd)return _0x4c3acc(0x42b);let {subUnitId:_0x2d7c6a}=_0x4b32bd,_0x3bbd99=(_0x39df74=this[_0x4c3acc(0x680)][_0x4c3acc(0x39c)](t[_0x4c3acc(0x4bc)]['UNIVER_SHEET']))==null?void 0x0:_0x39df74[_0x4c3acc(0x325)]();if(!_0x3bbd99)return'missing-active-sheet';if(_0x3bbd99['getSheetId']()!==_0x2d7c6a)return _0x4c3acc(0x66a);}async[_0x3a0a20(0x611)](_0x3a985c,_0x323bb8,_0x157eed){const _0x407f80=_0x3a0a20;let _0x4f836d=this[_0x407f80(0x26b)](c[_0x407f80(0x1a7)]);if(!_0x4f836d||(this['_lastRenderInputMap']['set'](_0x3a985c,{'config':_0x323bb8,'style':_0x157eed}),this[_0x407f80(0x59e)](_0x3a985c)))return;let _0x3c0aa6=this[_0x407f80(0x481)](_0x3a985c);if(_0x3c0aa6===e[_0x407f80(0x3d4)]['Image'])this[_0x407f80(0x50f)](_0x3a985c);else{var _0x3161f1;this[_0x407f80(0x499)][_0x407f80(0x4f2)](_0x3a985c),((_0x3161f1=this[_0x407f80(0x6bb)][_0x407f80(0x1c8)])==null?void 0x0:_0x3161f1['id'])===_0x3a985c&&this[_0x407f80(0x474)](_0x3a985c);}let _0x1563a7=_0x3c0aa6===e[_0x407f80(0x3d4)][_0x407f80(0x66c)]?c[_0x407f80(0x4a7)][_0x407f80(0x66c)]:c['ChartHostRenderMode'][_0x407f80(0x6ba)],_0x46b73c=await this[_0x407f80(0x499)][_0x407f80(0x35a)](_0x3a985c,_0x1563a7);if(!_0x46b73c)return;let _0x25faa2=this['_getOrCreateChartRenderInstance'](_0x3a985c,_0x1563a7,_0x4f836d);_0x25faa2['bind'](_0x46b73c);try{await _0x25faa2[_0x407f80(0x611)]({'chartId':_0x3a985c,'config':_0x323bb8,'style':_0x157eed});}catch(_0x1eefac){if(_0x3c0aa6!==e[_0x407f80(0x3d4)][_0x407f80(0x66c)])throw _0x1eefac;}}async[_0x3a0a20(0x1bf)](_0x7756be,_0xfb753d,_0xd23a9e){const _0x1b9995=_0x3a0a20;let _0xf5d959=this[_0x1b9995(0x2ec)][_0x1b9995(0x500)](_0x7756be,_0xfb753d),_0x3d5b2e=this[_0x1b9995(0x2ec)]['getDrawingOrder'](_0x7756be,_0xfb753d),_0x41185d=Object[_0x1b9995(0x570)](_0xf5d959==null?{}:_0xf5d959)['filter'](_0x46e713=>_0x46e713[_0x1b9995(0x484)]===t['DrawingTypeEnum'][_0x1b9995(0x1d1)]&&_0x46e713[_0x1b9995(0x2d0)]!==!0x0);await Promise[_0x1b9995(0x3da)](_0x41185d[_0x1b9995(0x2df)](async _0x22a410=>{const _0x3b1884=_0x1b9995;let _0x1bae66=await this[_0x3b1884(0x225)](_0x22a410,_0x3d5b2e);_0x1bae66&&(_0xd23a9e[_0x3b1884(0x61e)](_0x1bae66,u[_0x3b1884(0x224)]),_0x22a410['groupId']&&(0x0,l[_0x3b1884(0x577)])({'drawingId':_0x22a410[_0x3b1884(0x395)],'unitId':_0x7756be,'subUnitId':_0xfb753d},_0x1bae66,_0xd23a9e,this[_0x3b1884(0x2ec)]));}));}async[_0x3a0a20(0x225)](_0x3e8b49,_0x47e6b4){const _0x38764c=_0x3a0a20;var _0x3e5c11;let _0x589fbc=this[_0x38764c(0x6bb)]['getChartModel'](_0x3e8b49[_0x38764c(0x635)]),_0x103c43=this['getRenderModel'](c[_0x38764c(0x1a7)]),_0x29da68=_0x3e8b49[_0x38764c(0x2af)],_0x1fbf35=_0x589fbc==null?void 0x0:_0x589fbc[_0x38764c(0x67f)];if(!_0x589fbc||!_0x103c43||!_0x29da68||!_0x1fbf35||_0x29da68[_0x38764c(0x613)]==null||_0x29da68['height']==null)return null;let _0x83bd5=new U(_0x3e8b49[_0x38764c(0x635)],{'width':_0x29da68[_0x38764c(0x613)],'height':_0x29da68[_0x38764c(0x287)]}),_0x632e23=_0x103c43[_0x38764c(0x629)](c[_0x38764c(0x4a7)][_0x38764c(0x66c)],this[_0x38764c(0x5d7)]());_0x632e23['bind'](_0x83bd5);let _0x5835be;try{await _0x632e23['render']({'chartId':_0x3e8b49[_0x38764c(0x635)],'config':_0x1fbf35,'style':W(_0x589fbc,this[_0x38764c(0x39b)][_0x38764c(0x6df)]())});}catch(_0xd51eab){console[_0x38764c(0x1b9)](_0x38764c(0x66b),_0xd51eab);}finally{_0x5835be=_0x83bd5['takeSnapshot'](),_0x632e23[_0x38764c(0x55f)](),_0x83bd5[_0x38764c(0x55f)]();}let _0xb54c85=this[_0x38764c(0x64e)][_0x38764c(0x3c7)]({'unitId':_0x3e8b49[_0x38764c(0x5d2)],'subUnitId':_0x3e8b49[_0x38764c(0x650)],'chartId':_0x3e8b49[_0x38764c(0x635)]}),_0xaf94d2=(_0x3e5c11=_0x5835be)==null?_0xb54c85:_0x3e5c11;if(!_0xaf94d2)return null;let _0x5d20d3=_0x47e6b4[_0x38764c(0x678)](_0x3e8b49[_0x38764c(0x635)]);return new j((0x0,n[_0x38764c(0x249)])(_0x3e8b49),{..._0x29da68,...i[_0x38764c(0x19a)],...V(_0x83bd5[_0x38764c(0x65a)]),'visible':!0x0,'zIndex':_0x5d20d3===-0x1?Math['max'](_0x47e6b4['length']-0x1,0x0):_0x5d20d3},()=>_0xaf94d2,void 0x0,_0x5835be?()=>P(_0x5835be):void 0x0);}['_getOrCreateChartRenderInstance'](_0x4cb77c,_0xe95547,_0x14b9a8){const _0x9c0ffe=_0x3a0a20;let _0x157ec3=this[_0x9c0ffe(0x6d4)][_0x9c0ffe(0x4bb)](_0x4cb77c);if((_0x157ec3==null?void 0x0:_0x157ec3[_0x9c0ffe(0x2cc)])===_0xe95547)return _0x157ec3;_0x157ec3&&(this['_disposeChartEventSubscriptions'](_0x4cb77c),_0x157ec3['dispose'](),this[_0x9c0ffe(0x6d4)][_0x9c0ffe(0x4d5)](_0x4cb77c));let _0x1be22e=_0x14b9a8['createChartInstance'](_0xe95547,this[_0x9c0ffe(0x5d7)]());return this[_0x9c0ffe(0x6d4)]['set'](_0x4cb77c,_0x1be22e),_0x1be22e[_0x9c0ffe(0x643)](this['_chartElementEditMode'][_0x9c0ffe(0x4bb)](_0x4cb77c)===!0x0),this[_0x9c0ffe(0x4f4)](_0x4cb77c,_0x1be22e),_0x1be22e;}[_0x3a0a20(0x5d7)](){const _0x486633=_0x3a0a20;return{'resolveHostStyle':({style:_0xc61127})=>(0x0,c[_0x486633(0x5e4)])({'style':_0xc61127,'getRenderColor':_0x42836f=>this[_0x486633(0x1af)][_0x486633(0x1f8)](_0x42836f)}),'resolveRenderBackgroundColor':({style:_0x5c324d})=>this[_0x486633(0x1af)][_0x486633(0x1f8)]((0x0,c[_0x486633(0x59c)])(_0x5c324d))};}[_0x3a0a20(0x41d)](){const _0x45188d=_0x3a0a20;this['_renderDebounceMap'][_0x45188d(0x462)](_0x514c3b=>_0x514c3b[_0x45188d(0x4a0)]()),this[_0x45188d(0x3eb)][_0x45188d(0x1d4)](),this[_0x45188d(0x3fd)][_0x45188d(0x462)](_0xad4595=>_0xad4595[_0x45188d(0x4a0)]()),this[_0x45188d(0x3fd)][_0x45188d(0x1d4)]();}[_0x3a0a20(0x55f)](){const _0x46bae3=_0x3a0a20;Array['from'](this[_0x46bae3(0x6d4)]['keys']())[_0x46bae3(0x462)](_0x13738c=>this[_0x46bae3(0x27d)](_0x13738c)),this[_0x46bae3(0x301)][_0x46bae3(0x1d4)](),this[_0x46bae3(0x41d)](),this['_lastRenderInputMap']['clear'](),this['_activeChartId']=null,this[_0x46bae3(0x1f4)]=null,super[_0x46bae3(0x55f)]();}};G=B([z(0x0,H),z(0x1,(0x0,t['Inject'])(i[_0x3a0a20(0x290)])),z(0x2,(0x0,t[_0x3a0a20(0x5e1)])(e[_0x3a0a20(0x285)])),z(0x3,n[_0x3a0a20(0x1ac)]),z(0x4,t[_0x3a0a20(0x40a)]),z(0x5,(0x0,t[_0x3a0a20(0x5e1)])(u[_0x3a0a20(0x241)])),z(0x6,(0x0,t['Inject'])(t[_0x3a0a20(0x350)])),z(0x7,(0x0,t[_0x3a0a20(0x5e1)])(t[_0x3a0a20(0x2c7)])),z(0x8,(0x0,t[_0x3a0a20(0x5e1)])(c[_0x3a0a20(0x33c)])),z(0x9,(0x0,t[_0x3a0a20(0x5e1)])(t[_0x3a0a20(0x4c1)])),z(0xa,t['IConfigService']),z(0xb,(0x0,t[_0x3a0a20(0x5e1)])(I)),z(0xc,c['IChartRenderModelManagerService'])],G);function K(_0x5ea95e){const _0x395860=_0x3a0a20;let _0x5af30f=_0x5ea95e[_0x395860(0x4bb)](r['ISheetDrawingService'])['getFocusDrawings']();if(_0x5af30f['length']!==0x1)return null;let _0x51db74=_0x5af30f[0x0];return _0x51db74[_0x395860(0x484)]===t[_0x395860(0x594)]['DRAWING_CHART']?_0x51db74:null;}function re(_0x2f5a27,_0xfbf56b){const _0x6d99c5=_0x3a0a20;let _0x41b53a=document[_0x6d99c5(0x218)]('a');_0x41b53a[_0x6d99c5(0x6e4)]=_0x2f5a27,_0x41b53a[_0x6d99c5(0x467)]=_0xfbf56b,_0x41b53a[_0x6d99c5(0x667)]();}const ie={'id':'sheet.command.chart.open-focused-panel','type':t[_0x3a0a20(0x256)][_0x3a0a20(0x681)],'handler':(_0x56c373,_0x161b43)=>{const _0x511ec6=_0x3a0a20;let _0x47cca4=K(_0x56c373);return _0x47cca4?_0x56c373['get'](t['ICommandService'])[_0x511ec6(0x351)](C['id'],{'unitId':_0x47cca4[_0x511ec6(0x5d2)],'subUnitId':_0x47cca4[_0x511ec6(0x650)],'drawingId':_0x47cca4['drawingId'],..._0x161b43!=null&&_0x161b43['route']?{'route':_0x161b43['route']}:{}}):!0x1;}},ae={'id':'sheet.command.chart.copy-focused-chart','type':t['CommandType'][_0x3a0a20(0x681)],'handler':_0x3e9f47=>K(_0x3e9f47)?_0x3e9f47[_0x3a0a20(0x4bb)](t['ICommandService'])['executeCommand'](a[_0x3a0a20(0x2eb)]['id']):!0x1},oe={'id':_0x3a0a20(0x205),'type':t[_0x3a0a20(0x256)]['COMMAND'],'handler':async _0x3665cc=>{const _0x3fc133=_0x3a0a20;let _0x44fbc5=K(_0x3665cc);if(!_0x44fbc5)return!0x1;let _0x26760e=await _0x3665cc[_0x3fc133(0x4bb)](G)[_0x3fc133(0x254)](_0x44fbc5['drawingId']);return _0x26760e?(re(_0x26760e,_0x44fbc5['drawingId']+'.png'),!0x0):!0x1;}},se={'id':_0x3a0a20(0x2ff),'type':t['CommandType'][_0x3a0a20(0x681)],'handler':_0x168b3a=>{const _0x471dc9=_0x3a0a20;let _0x2174a8=K(_0x168b3a);return _0x2174a8?_0x168b3a[_0x471dc9(0x4bb)](t[_0x471dc9(0x589)])['executeCommand'](r[_0x471dc9(0x44d)]['id'],{'unitId':_0x2174a8[_0x471dc9(0x5d2)],'drawings':[{'unitId':_0x2174a8[_0x471dc9(0x5d2)],'subUnitId':_0x2174a8[_0x471dc9(0x650)],'drawingId':_0x2174a8[_0x471dc9(0x635)],'drawingType':t[_0x471dc9(0x594)]['DRAWING_CHART']}]}):!0x1;}},ce=_0x3a0a20(0x433);function q(_0x252311){const _0x330bae=_0x3a0a20;let _0x70da73=_0x252311[_0x330bae(0x4bb)](r[_0x330bae(0x20d)]);return _0x70da73['focus$']['pipe']((0x0,s[_0x330bae(0x662)])(_0x70da73['getFocusDrawings']()),(0x0,s[_0x330bae(0x2df)])(()=>K(_0x252311)==null));}function le(_0x882b0d){const _0x43b606=_0x3a0a20;return{'id':ie['id'],'commandId':ie['id'],'type':o['MenuItemType'][_0x43b606(0x616)],'title':_0x43b606(0x35f),'icon':'PenIcon','hidden$':q(_0x882b0d)};}function ue(_0x52e6cb){const _0x50e644=_0x3a0a20;return{'id':ae['id'],'commandId':ae['id'],'type':o[_0x50e644(0x4ea)]['BUTTON'],'title':_0x50e644(0x699),'icon':_0x50e644(0x2ac),'hidden$':q(_0x52e6cb)};}function de(_0x42159d){const _0x5262ec=_0x3a0a20;return{'id':oe['id'],'commandId':oe['id'],'type':o['MenuItemType'][_0x5262ec(0x616)],'title':_0x5262ec(0x271),'icon':_0x5262ec(0x1a6),'hidden$':q(_0x42159d)};}function fe(_0xd9e3ff){const _0x1f5637=_0x3a0a20;return{'id':se['id'],'commandId':se['id'],'type':o[_0x1f5637(0x4ea)][_0x1f5637(0x616)],'title':_0x1f5637(0x6d9),'icon':_0x1f5637(0x69b),'hidden$':q(_0xd9e3ff)};}const J={'type':t['CommandType'][_0x3a0a20(0x681)],'id':_0x3a0a20(0x4ff),'handler':async(_0x3ed819,_0x54581c)=>{const _0x3c93c7=_0x3a0a20;let _0x4d8ae9=(0x0,p[_0x3c93c7(0x408)])(_0x3ed819[_0x3c93c7(0x4bb)](t[_0x3c93c7(0x40a)]));if(!_0x4d8ae9)return!0x1;let _0x7bf759=_0x3ed819[_0x3c93c7(0x4bb)](p[_0x3c93c7(0x6a6)])[_0x3c93c7(0x4cc)]();if(!_0x7bf759)return!0x1;let {range:_0x2d918d}=_0x7bf759;if(_0x2d918d[_0x3c93c7(0x40d)]===_0x2d918d[_0x3c93c7(0x554)])return _0x3ed819[_0x3c93c7(0x4bb)](o[_0x3c93c7(0x43a)])[_0x3c93c7(0x1b3)]({'type':f[_0x3c93c7(0x2d4)]['Error'],'content':_0x3ed819[_0x3c93c7(0x4bb)](t[_0x3c93c7(0x350)])['t'](_0x3c93c7(0x2f2))}),!0x1;let _0x4fe45d=_0x3ed819[_0x3c93c7(0x4bb)](t[_0x3c93c7(0x589)]),{unitId:_0x3b2ac6,subUnitId:_0x439ea5}=_0x4d8ae9,{value:_0x30dcd7}=_0x54581c;return _0x4fe45d['executeCommand'](e['InsertChartCommand']['id'],{'unitId':_0x3b2ac6,'subUnitId':_0x439ea5,'chartType':_0x30dcd7,'source':{'rangeInfo':{'unitId':_0x3b2ac6,'subUnitId':_0x439ea5,'range':_0x2d918d}}});}};function pe(_0x518cbd,_0xdad3c0){const _0x4b31fc=_0x3a0a20;return _0x518cbd==null||Array['isArray'](_0x518cbd)?'':me(_0x518cbd[_0x4b31fc(0x208)],_0xdad3c0);}function me(_0x18764e,_0x52ae25){const _0x353300=_0x3a0a20;var _0x2a313f;let {unitId:_0x1b0e08,subUnitId:_0x561277,range:_0x328e59}=_0x18764e,_0x27aafe=(_0x2a313f=_0x52ae25[_0x353300(0x234)](_0x1b0e08))==null?void 0x0:_0x2a313f[_0x353300(0x692)](_0x561277);return _0x27aafe?(0x0,m[_0x353300(0x586)])(_0x27aafe[_0x353300(0x62d)](),_0x328e59):'';}const he=[{'label':'sheets-chart-ui.chartTypes.line','value':c[_0x3a0a20(0x5db)]['Line'],'icon':_0x3a0a20(0x697)},{'label':_0x3a0a20(0x283),'value':c[_0x3a0a20(0x5db)][_0x3a0a20(0x215)],'icon':_0x3a0a20(0x524)},{'label':_0x3a0a20(0x1ae),'value':c['ChartTypeBits'][_0x3a0a20(0x604)],'icon':_0x3a0a20(0x5b9)},{'label':_0x3a0a20(0x221),'value':c[_0x3a0a20(0x5db)]['Bar'],'icon':_0x3a0a20(0x6bd)},{'label':_0x3a0a20(0x630),'value':c[_0x3a0a20(0x5db)][_0x3a0a20(0x6c8)],'icon':_0x3a0a20(0x6bd)},{'label':_0x3a0a20(0x68a),'value':c['ChartTypeBits'][_0x3a0a20(0x526)],'icon':'BarChartIcon'},{'label':_0x3a0a20(0x469),'value':c['ChartTypeBits'][_0x3a0a20(0x245)],'icon':_0x3a0a20(0x5b9)},{'label':'sheets-chart-ui.chartTypes.area','value':c[_0x3a0a20(0x5db)][_0x3a0a20(0x2d9)],'icon':_0x3a0a20(0x67e)},{'label':'sheets-chart-ui.chartTypes.areaStacked','value':c[_0x3a0a20(0x5db)][_0x3a0a20(0x4eb)],'icon':'AreaChartIcon'},{'label':_0x3a0a20(0x373),'value':c[_0x3a0a20(0x5db)][_0x3a0a20(0x223)],'icon':_0x3a0a20(0x67e)},{'label':_0x3a0a20(0x32a),'value':c[_0x3a0a20(0x5db)][_0x3a0a20(0x32b)],'icon':'RadarChartIcon'},{'label':_0x3a0a20(0x209),'value':c[_0x3a0a20(0x5db)][_0x3a0a20(0x3f0)],'icon':_0x3a0a20(0x482)},{'label':'sheets-chart-ui.chartTypes.scatter','value':c[_0x3a0a20(0x5db)]['Scatter'],'icon':_0x3a0a20(0x6a3)},{'label':'sheets-chart-ui.chartTypes.wordCloud','value':c[_0x3a0a20(0x5db)][_0x3a0a20(0x1f9)],'icon':_0x3a0a20(0x67d)},{'label':_0x3a0a20(0x53a),'value':c[_0x3a0a20(0x5db)][_0x3a0a20(0x33b)],'icon':_0x3a0a20(0x5f0)},{'label':_0x3a0a20(0x392),'value':c[_0x3a0a20(0x5db)]['Bubble'],'icon':_0x3a0a20(0x3af)},{'label':_0x3a0a20(0x470),'value':c['ChartTypeBits'][_0x3a0a20(0x24b)],'icon':_0x3a0a20(0x675)},{'label':_0x3a0a20(0x5d1),'value':c[_0x3a0a20(0x5db)]['Waterfall'],'icon':_0x3a0a20(0x5d8)},{'label':_0x3a0a20(0x231),'value':c[_0x3a0a20(0x5db)][_0x3a0a20(0x563)],'icon':_0x3a0a20(0x482)},{'label':_0x3a0a20(0x6b1),'value':c[_0x3a0a20(0x5db)][_0x3a0a20(0x475)],'icon':'SankeyChartIcon'},{'label':_0x3a0a20(0x29a),'value':c[_0x3a0a20(0x5db)][_0x3a0a20(0x33e)],'icon':_0x3a0a20(0x311)},{'label':_0x3a0a20(0x3d9),'value':c[_0x3a0a20(0x5db)][_0x3a0a20(0x58f)],'icon':_0x3a0a20(0x385)}];function ge(){return he;}const Y=(_0x3a9de1,_0x23b781)=>{const _0x511be3=_0x3a0a20;if(_0x23b781[_0x511be3(0x687)]===0x1&&_0x23b781[0x0]===_0x511be3(0x5cd))return _0x3a9de1;if(_0x23b781[_0x511be3(0x687)]>0x1){let _0x5c8593=new Set();for(let _0x193690 of _0x23b781)_0x5c8593['add'](Number(_0x193690));return _0x3a9de1[_0x511be3(0x6b4)](_0x55aa47=>_0x5c8593[_0x511be3(0x347)](_0x55aa47[_0x511be3(0x3e9)]));}return[];};function _e(_0x3a1ab9){const _0x234dc5=_0x3a0a20;let _0x4d5f8e=_0x3a1ab9[_0x234dc5(0x4bb)](t[_0x234dc5(0x40a)]),_0x226793=(0x0,e[_0x234dc5(0x279)])(_0x3a1ab9),_0x392124=Y(ge()['concat'](),_0x226793);return{'id':J['id'],'type':o['MenuItemType'][_0x234dc5(0x63a)],'selections':_0x392124,'icon':'ChartIcon','tooltip':_0x234dc5(0x246),'activated$':(0x0,a[_0x234dc5(0x61c)])(_0x4d5f8e,!0x1,()=>new s[(_0x234dc5(0x608))](_0x24b8bd=>{const _0x22e3e5=_0x234dc5;_0x24b8bd[_0x22e3e5(0x585)](!0x1);})),'hidden$':(0x0,o[_0x234dc5(0x216)])(_0x3a1ab9,t[_0x234dc5(0x4bc)][_0x234dc5(0x275)]),'disabled$':(0x0,a[_0x234dc5(0x338)])(_0x3a1ab9)};}const ve={[o[_0x3a0a20(0x3b9)][_0x3a0a20(0x4b7)]]:{[J['id']]:{'order':0x4,'menuItemFactory':_e}},[o[_0x3a0a20(0x566)]['CONTEXT_MENU']]:{[ce]:{'order':0x6,[o[_0x3a0a20(0x399)]['OTHERS']]:{[ie['id']]:{'order':0x0,'menuItemFactory':le},[ae['id']]:{'order':0x1,'menuItemFactory':ue},[oe['id']]:{'order':0x2,'menuItemFactory':de},[se['id']]:{'order':0x3,'menuItemFactory':fe}}}}};function ye(_0x49008a){const _0x163888=_0x3a0a20;_0x49008a[_0x163888(0x270)](_0x163888(0x645),_0xf8f30=>_0xf8f30[_0x163888(0x3ca)][_0x163888(0x4b0)]((0x0,s[_0x163888(0x2df)])(_0x5e6b68=>_0x5e6b68['headers']))),_0x49008a[_0x163888(0x270)]('chartType',_0x6b906e=>({'set'(_0x2b18af){const _0x4cec72=_0x163888;let _0x284254={};_0x2b18af===c[_0x4cec72(0x5db)][_0x4cec72(0x604)]&&(_0x284254[_0x4cec72(0x3a7)]={'doughnutHole':null}),_0x49008a[_0x4cec72(0x2c6)]({'chartModelId':_0x6b906e['id'],'chartType':_0x2b18af,'style':_0x284254});},'get'(){const _0x119916=_0x163888;return _0x6b906e[_0x119916(0x621)];}})),_0x49008a[_0x163888(0x270)](_0x163888(0x560),_0x4a8bfe=>({'set'(_0x43125d){const _0x55b8ca=_0x163888;_0x43125d&&_0x49008a[_0x55b8ca(0x1b7)]({'chartModelId':_0x4a8bfe['id'],'range':_0x43125d});},'get'(){const _0x32b3bc=_0x163888;let _0x2c06fd=_0x49008a[_0x32b3bc(0x229)](_0x4a8bfe['id']);if(_0x2c06fd)return _0x2c06fd[_0x32b3bc(0x37a)];}})),_0x49008a[_0x163888(0x270)](_0x163888(0x5a1),_0x266762=>({'set'(_0x2158c1){const _0x688c8a=_0x163888;typeof _0x2158c1==_0x688c8a(0x382)&&_0x49008a[_0x688c8a(0x2c6)]({'chartModelId':_0x266762['id'],'context':{'categoryIndex':_0x2158c1}});},'get'(){const _0x4b9d97=_0x163888;return _0x266762['context$'][_0x4b9d97(0x4b0)]((0x0,s['map'])(_0x2fd769=>_0x2fd769[_0x4b9d97(0x5a1)]),(0x0,s[_0x4b9d97(0x2e9)])());}})),_0x49008a['registerViewState']('categoryType',_0x122249=>_0x122249[_0x163888(0x3ca)][_0x163888(0x4b0)]((0x0,s[_0x163888(0x2df)])(_0x1b84ab=>_0x1b84ab[_0x163888(0x357)]),(0x0,s[_0x163888(0x2e9)])())),_0x49008a[_0x163888(0x270)](_0x163888(0x268),_0x130459=>{const _0x592b54=_0x163888;var _0x84343f;let _0x5b9591=(_0x84343f=_0x49008a[_0x592b54(0x229)](_0x130459['id']))==null?void 0x0:_0x84343f[_0x592b54(0x37a)];return _0x5b9591?_0x130459[_0x592b54(0x3ca)][_0x592b54(0x4b0)]((0x0,s[_0x592b54(0x1a4)])(_0x5b9591),(0x0,s[_0x592b54(0x2df)])(([_0xf6c4a3,_0x2d1933])=>{const _0x3ac653=_0x592b54;let {categoryResourceIndexes:_0x43db09,headers:_0x47ac4b}=_0xf6c4a3,_0x365cb4=(_0x43db09||[])[_0x3ac653(0x649)]((_0x43881f,_0x37ac2d)=>(_0x43881f||0x0)-(_0x37ac2d||0x0));return!_0x365cb4||Array[_0x3ac653(0x2e8)](_0x2d1933)?[]:_0x365cb4['map'](_0x52eb9c=>({'label':(_0x47ac4b==null?void 0x0:_0x47ac4b[_0x52eb9c])||_0x49008a['t'](_0x3ac653(0x4f8),''+(_0x52eb9c+0x1)),'value':String(_0x52eb9c)}));})):_0x130459[_0x592b54(0x3ca)][_0x592b54(0x4b0)]((0x0,s['map'])(()=>[]));}),_0x49008a[_0x163888(0x270)](_0x163888(0x597),_0x51d362=>{const _0x39ffe5=_0x163888;var _0x1ec9f0;let _0x4e0f52=(_0x1ec9f0=_0x49008a[_0x39ffe5(0x229)](_0x51d362['id']))==null?void 0x0:_0x1ec9f0[_0x39ffe5(0x37a)];return _0x4e0f52?_0x51d362[_0x39ffe5(0x3ca)][_0x39ffe5(0x4b0)]((0x0,s['combineLatestWith'])(_0x4e0f52),(0x0,s[_0x39ffe5(0x2df)])(([_0x5489b8,_0x48d5b8])=>{const _0x262aa7=_0x39ffe5;let {categoryResourceIndexes:_0x83bca4,seriesResourceIndexes:_0x280e36,headers:_0x477358}=_0x5489b8,_0x5b2f3d=_0x83bca4==null?void 0x0:_0x83bca4['concat'](_0x280e36||[])[_0x262aa7(0x649)]((_0x23633f,_0x2a82ec)=>(_0x23633f||0x0)-(_0x2a82ec||0x0));return!_0x5b2f3d||Array[_0x262aa7(0x2e8)](_0x48d5b8)?[]:_0x5b2f3d[_0x262aa7(0x2df)](_0x19c797=>({'label':(_0x477358==null?void 0x0:_0x477358[_0x19c797])||_0x49008a['t'](_0x262aa7(0x4f8),''+(_0x19c797+0x1)),'value':String(_0x19c797)}));})):_0x51d362[_0x39ffe5(0x3ca)][_0x39ffe5(0x4b0)]((0x0,s[_0x39ffe5(0x2df)])(()=>[]));}),_0x49008a[_0x163888(0x270)](_0x163888(0x68d),_0x171161=>({'set'(_0x33af2f){const _0x3b27dc=_0x163888;_0x49008a[_0x3b27dc(0x2c6)]({'chartModelId':_0x171161['id'],'context':{'seriesIndexes':_0x33af2f}});},'get'(){const _0x41d617=_0x163888;return _0x171161[_0x41d617(0x3ca)][_0x41d617(0x4b0)]((0x0,s['map'])(_0x563361=>{let {seriesIndexes:_0x1c984e=[]}=_0x563361;return _0x1c984e;}));}})),_0x49008a[_0x163888(0x270)](_0x163888(0x1cd),_0x44932d=>({'set'(_0x5d0d76){_0x49008a['executeChartUpdateConfig']({'chartModelId':_0x44932d['id'],'style':{'trendlines':_0x5d0d76}});},'get'(){const _0x126ae0=_0x163888;return _0x44932d[_0x126ae0(0x527)]['pipe']((0x0,s['map'])(_0x4b716d=>_0x4b716d['trendlines']));}})),_0x49008a['registerViewState'](_0x163888(0x551),_0x295ddf=>{const _0x233719=_0x163888;var _0x37fb32;let _0x3a26f7=(_0x37fb32=_0x49008a[_0x233719(0x229)](_0x295ddf['id']))==null?void 0x0:_0x37fb32[_0x233719(0x37a)];return _0x3a26f7?_0x295ddf[_0x233719(0x3ca)][_0x233719(0x4b0)]((0x0,s['combineLatestWith'])(_0x3a26f7),(0x0,s[_0x233719(0x2df)])(([_0x15e884,_0x46f157])=>{const _0x4a54ec=_0x233719;let {seriesIndexes:_0x3dccbf=[],headers:_0x4fb067}=_0x15e884;return Array['isArray'](_0x46f157)?[]:_0x3dccbf[_0x4a54ec(0x2df)](_0x55d1e3=>({'label':(_0x4fb067==null?void 0x0:_0x4fb067[_0x55d1e3])||_0x49008a['t'](_0x4a54ec(0x625),''+_0x55d1e3),'value':String(_0x55d1e3)}));})):_0x295ddf[_0x233719(0x3ca)][_0x233719(0x4b0)]((0x0,s[_0x233719(0x2df)])(()=>[]));}),_0x49008a['registerViewState'](_0x163888(0x3e6),_0x4999ec=>{const _0x2e5652=_0x163888;var _0x26a1b3;let _0x163858=(_0x26a1b3=_0x49008a[_0x2e5652(0x229)](_0x4999ec['id']))==null?void 0x0:_0x26a1b3[_0x2e5652(0x37a)];return _0x163858?_0x4999ec[_0x2e5652(0x3ca)]['pipe']((0x0,s[_0x2e5652(0x1a4)])(_0x163858),(0x0,s[_0x2e5652(0x2df)])(([_0x3a605c,_0x38f9cc])=>{const _0x341dc1=_0x2e5652;let {seriesResourceIndexes:_0x2954e8=[],headers:_0x5c7654}=_0x3a605c;if(Array[_0x341dc1(0x2e8)](_0x38f9cc))return[];let _0x5ee5bf=new Map();return _0x2954e8[_0x341dc1(0x2df)](_0x1c972e=>{const _0x507eff=_0x341dc1;let _0x74e0f7=(_0x5c7654==null?void 0x0:_0x5c7654[_0x1c972e])||_0x49008a['t']('sheets-chart-ui.seriesDefaultName',''+_0x1c972e);return _0x5ee5bf[_0x507eff(0x347)](_0x74e0f7)?_0x5ee5bf[_0x507eff(0x38d)](_0x74e0f7,_0x5ee5bf[_0x507eff(0x4bb)](_0x74e0f7)+0x1):_0x5ee5bf[_0x507eff(0x38d)](_0x74e0f7,0x0),{'label':(_0x5ee5bf[_0x507eff(0x347)](_0x74e0f7)&&_0x5ee5bf[_0x507eff(0x4bb)](_0x74e0f7)>0x0?_0x74e0f7+'\x20'+_0x5ee5bf[_0x507eff(0x4bb)](_0x74e0f7):_0x74e0f7)||_0x49008a['t'](_0x507eff(0x625),''+_0x1c972e),'value':String(_0x1c972e)};});})):_0x4999ec[_0x2e5652(0x3ca)]['pipe']((0x0,s[_0x2e5652(0x2df)])(()=>[]));}),_0x49008a[_0x163888(0x270)]('aggregate',_0x2373bd=>({'set'(_0x39e9c6){const _0x166195=_0x163888;_0x49008a[_0x166195(0x2c6)]({'chartModelId':_0x2373bd['id'],'dataAggregation':{'aggregate':_0x39e9c6}});},'get'(){const _0x4bbda0=_0x163888;return _0x2373bd[_0x4bbda0(0x32d)]['pipe']((0x0,s[_0x4bbda0(0x2df)])(_0x440955=>_0x440955[_0x4bbda0(0x45c)]||!0x1),(0x0,s[_0x4bbda0(0x2e9)])());}})),_0x49008a['registerViewState']('orient',_0x3f4fb1=>({'set'(_0x5aa579){const _0x447675=_0x163888;var _0x1b7dae;let _0x2ace1e=(_0x1b7dae=_0x49008a['getDataSource'](_0x3f4fb1['id']))==null?void 0x0:_0x1b7dae[_0x447675(0x68b)]();if(_0x2ace1e){let _0x350d70={..._0x2ace1e,'isRowDirection':_0x5aa579===c[_0x447675(0x518)][_0x447675(0x669)]};_0x49008a[_0x447675(0x2c6)]({'chartModelId':_0x3f4fb1['id'],'context':{'seriesIndexes':void 0x0,'transform':void 0x0}}),_0x49008a['executeChartUpdateSourceConfig']({'chartModelId':_0x3f4fb1['id'],'range':_0x350d70});}},'get'(){const _0x584c23=_0x163888;var _0x3b699a;return(_0x3b699a=_0x49008a['getDataSource'](_0x3f4fb1['id']))==null?void 0x0:_0x3b699a['rangeInfo$'][_0x584c23(0x4b0)]((0x0,s['map'])(_0x1ac5c6=>_0x1ac5c6[_0x584c23(0x598)]?c[_0x584c23(0x518)][_0x584c23(0x669)]:c[_0x584c23(0x518)][_0x584c23(0x215)]),(0x0,s['distinctUntilChanged'])());}})),_0x49008a['registerViewState']('gradientFill',_0x3e5da1=>({'set'(_0x526cca){const _0x3a24c7=_0x163888;_0x49008a[_0x3a24c7(0x2c6)]({'chartModelId':_0x3e5da1['id'],'style':{'gradientFill':_0x526cca}});},'get'(){const _0x182a30=_0x163888;return _0x3e5da1['style$']['pipe']((0x0,s[_0x182a30(0x2df)])(_0x1eb1f1=>_0x1eb1f1['gradientFill']),(0x0,s[_0x182a30(0x2e9)])());}})),_0x49008a[_0x163888(0x270)](_0x163888(0x5dc),_0x48a72c=>({'set'(_0x56b7af){_0x49008a['executeChartUpdateConfig']({'chartModelId':_0x48a72c['id'],'style':{'tooltip':_0x56b7af}});},'get'(){const _0x41e668=_0x163888;return _0x48a72c[_0x41e668(0x527)]['pipe']((0x0,s[_0x41e668(0x2df)])(_0x5578a1=>_0x5578a1[_0x41e668(0x5d3)]),(0x0,s[_0x41e668(0x2e9)])());}})),_0x49008a[_0x163888(0x270)]('asCategory',_0x1eddd1=>({'set'(_0x3ed158){const _0x260eb3=_0x163888;let {context:_0x5cdc67}=_0x1eddd1,_0x471573=_0x448d5d=>{const _0x5bf55f=_0x2ae9;var _0x51ef21;return((_0x51ef21=_0x5cdc67[_0x5bf55f(0x2b0)])==null?void 0x0:_0x51ef21['indexOf'](_0x448d5d))!==-0x1;};if(_0x3ed158){var _0xc97f53;let _0x19d086=(_0xc97f53=_0x5cdc67[_0x260eb3(0x4ed)])==null?void 0x0:_0xc97f53[0x0];if(_0x19d086===void 0x0)return;let _0x8bd4d3={'categoryIndex':_0x19d086,'categoryType':c[_0x260eb3(0x67c)][_0x260eb3(0x4a3)]};if(_0x471573(_0x19d086)){var _0x2c4b28;_0x8bd4d3[_0x260eb3(0x4ed)]=(_0x2c4b28=_0x5cdc67[_0x260eb3(0x4ed)])==null?void 0x0:_0x2c4b28[_0x260eb3(0x6b4)](_0x3c643f=>_0x3c643f!==_0x19d086);}_0x49008a[_0x260eb3(0x2c6)]({'chartModelId':_0x1eddd1['id'],'context':_0x8bd4d3});}else{if(_0x5cdc67[_0x260eb3(0x5a1)]===void 0x0)return;let _0x59b234={'categoryIndex':void 0x0,'categoryType':void 0x0};_0x471573(_0x5cdc67[_0x260eb3(0x5a1)])&&(_0x59b234['seriesIndexes']=[_0x5cdc67[_0x260eb3(0x5a1)]]['concat'](_0x5cdc67['seriesIndexes']||[])),_0x49008a[_0x260eb3(0x2c6)]({'chartModelId':_0x1eddd1['id'],'context':_0x59b234});}},'get'(){const _0x4bbd32=_0x163888;return _0x1eddd1[_0x4bbd32(0x3ca)][_0x4bbd32(0x4b0)]((0x0,s['map'])(_0xc8d409=>{const _0x4aabad=_0x4bbd32;var _0x479a17;return _0xc8d409[_0x4aabad(0x5a1)]===void 0x0?!0x1:!!((_0x479a17=_0xc8d409[_0x4aabad(0x2b0)])!=null&&_0x479a17[_0x4aabad(0x29f)](_0xc8d409['categoryIndex']));}));}})),_0x49008a[_0x163888(0x270)](_0x163888(0x219),_0x350f86=>({'set'(_0x5aac6d){const _0x47da58=_0x163888;_0x49008a[_0x47da58(0x2c6)]({'chartModelId':_0x350f86['id'],'style':{'backgroundColor':_0x5aac6d==null?null:_0x5aac6d}});},'get'(){const _0x4a853f=_0x163888;return _0x350f86[_0x4a853f(0x527)][_0x4a853f(0x4b0)]((0x0,s[_0x4a853f(0x2df)])(_0x16b018=>_0x16b018==null?void 0x0:_0x16b018[_0x4a853f(0x219)]),(0x0,s['distinctUntilChanged'])());}})),_0x49008a['registerViewState'](_0x163888(0x376),_0x2fe304=>({'set'(_0x1d57e4){const _0x6dd0c=_0x163888;_0x49008a[_0x6dd0c(0x2c6)]({'chartModelId':_0x2fe304['id'],'style':{'borderColor':_0x1d57e4==null?null:_0x1d57e4}}),_0x49008a['setBorder'](_0x2fe304['id'],_0x1d57e4);},'get'(){const _0x1f1f5e=_0x163888;return _0x2fe304['style$']['pipe']((0x0,s[_0x1f1f5e(0x2df)])(_0x5338a0=>_0x5338a0[_0x1f1f5e(0x376)]),(0x0,s['distinctUntilChanged'])());}})),_0x49008a[_0x163888(0x270)]('fontSize',_0x5c625b=>({'set'(_0x35fe32){const _0x3a762a=_0x163888;_0x49008a[_0x3a762a(0x2c6)]({'chartModelId':_0x5c625b['id'],'style':{'fontSize':_0x35fe32}});},'get'(){const _0x2c791c=_0x163888;return _0x5c625b[_0x2c791c(0x527)][_0x2c791c(0x4b0)]((0x0,s[_0x2c791c(0x2df)])(_0x4ba177=>_0x4ba177[_0x2c791c(0x197)]),(0x0,s[_0x2c791c(0x2e9)])());}})),_0x49008a[_0x163888(0x270)]('titleFontSize',_0x4a8c3f=>({'set'(_0x5dee3d){_0x49008a['executeChartUpdateConfig']({'chartModelId':_0x4a8c3f['id'],'style':{'titleFontSize':_0x5dee3d}});},'get'(){const _0x33243f=_0x163888;return _0x4a8c3f[_0x33243f(0x527)]['pipe']((0x0,s[_0x33243f(0x2df)])(_0x27e86c=>_0x27e86c[_0x33243f(0x52e)]),(0x0,s[_0x33243f(0x2e9)])());}})),_0x49008a['registerViewState']('titles',_0x55739f=>({'set'(_0x4c0510){_0x49008a['executeChartUpdateConfig']({'chartModelId':_0x55739f['id'],'style':{'titles':_0x4c0510}});},'get'(){const _0xdc61d7=_0x163888;return _0x55739f[_0xdc61d7(0x527)]['pipe']((0x0,s['map'])(_0x2e3f8e=>_0x2e3f8e[_0xdc61d7(0x5ad)]));}})),_0x49008a[_0x163888(0x270)](_0x163888(0x2ad),_0x2da9f1=>({'set'(_0x6031ce){const _0x10ac2f=_0x163888;let _0x1ae4fc=Object[_0x10ac2f(0x695)](_0x6031ce),_0x895212=t[_0x10ac2f(0x3ec)][_0x10ac2f(0x537)](_0x2da9f1[_0x10ac2f(0x65a)][_0x10ac2f(0x491)]||{}),_0x2622d5={};for(let _0x21a743 in _0x895212)if(Object[_0x10ac2f(0x60f)][_0x10ac2f(0x5e8)][_0x10ac2f(0x677)](_0x895212,_0x21a743)){let _0x1d9fe3=_0x895212[_0x21a743];if(!_0x1d9fe3)continue;for(let _0x105e55 of _0x1ae4fc)Object['prototype'][_0x10ac2f(0x5e8)][_0x10ac2f(0x677)](_0x1d9fe3,_0x105e55)&&(_0x2622d5[_0x21a743]={[_0x105e55]:null});}let _0x2e039f={'allSeriesStyle':_0x6031ce,'seriesStyleMap':_0x2622d5},_0x905437=_0x2da9f1['chartType'],_0x5527d9=new Set(_0x1ae4fc);_0x905437===c['ChartTypeBits'][_0x10ac2f(0x32b)]&&(_0x5527d9[_0x10ac2f(0x347)](_0x10ac2f(0x25e))||_0x5527d9[_0x10ac2f(0x347)](_0x10ac2f(0x55e)))&&(_0x2e039f[_0x10ac2f(0x280)]={'fill':!0x0}),_0x49008a[_0x10ac2f(0x2c6)]({'chartModelId':_0x2da9f1['id'],'style':_0x2e039f});},'get'(){const _0x1bb911=_0x163888;return _0x2da9f1[_0x1bb911(0x527)][_0x1bb911(0x4b0)]((0x0,s[_0x1bb911(0x2df)])(_0x537bd4=>_0x537bd4[_0x1bb911(0x2ad)]));}})),_0x49008a[_0x163888(0x270)]('seriesStyleMap',_0x4ec266=>({'set'(_0x255fca){_0x49008a['executeChartUpdateConfig']({'chartModelId':_0x4ec266['id'],'style':{'seriesStyleMap':_0x255fca}});},'get'(){const _0x486d58=_0x163888;return _0x4ec266[_0x486d58(0x527)][_0x486d58(0x4b0)]((0x0,s[_0x486d58(0x2df)])(_0x235afd=>_0x235afd[_0x486d58(0x491)]));}})),_0x49008a['registerViewState'](_0x163888(0x529),_0x24065a=>({'set'(_0x1d5a7f){const _0x135ce1=_0x163888;_0x49008a[_0x135ce1(0x2c6)]({'chartModelId':_0x24065a['id'],'style':{'legend':_0x1d5a7f}});},'get'(){const _0x3668ab=_0x163888;return _0x24065a[_0x3668ab(0x527)][_0x3668ab(0x4b0)]((0x0,s[_0x3668ab(0x2df)])(_0x5375e8=>_0x5375e8[_0x3668ab(0x255)]));}})),_0x49008a['registerViewState'](_0x163888(0x580),_0x50f7ff=>({'set'(_0x265b8e){const _0x1b9b9f=_0x163888;_0x49008a[_0x1b9b9f(0x2c6)]({'chartModelId':_0x50f7ff['id'],'style':{'xAxis':_0x265b8e}});},'get'(){const _0xd49c54=_0x163888;return _0x50f7ff['style$']['pipe']((0x0,s[_0xd49c54(0x2df)])(_0x5927e2=>_0x5927e2[_0xd49c54(0x5b7)]));}})),_0x49008a[_0x163888(0x270)](_0x163888(0x44e),_0x591508=>({'set'(_0x176a64){const _0x363621=_0x163888;_0x49008a[_0x363621(0x2c6)]({'chartModelId':_0x591508['id'],'style':{'yAxis':_0x176a64}});},'get'(){const _0x285e12=_0x163888;return _0x591508[_0x285e12(0x527)]['pipe']((0x0,s[_0x285e12(0x2df)])(_0x1ce093=>_0x1ce093[_0x285e12(0x6c6)]));}})),_0x49008a[_0x163888(0x270)](_0x163888(0x2ba),_0x4c24da=>({'set'(_0x2d3740){const _0x3119a4=_0x163888;_0x49008a[_0x3119a4(0x2c6)]({'chartModelId':_0x4c24da['id'],'style':{'rightYAxis':_0x2d3740}});},'get'(){const _0xb16578=_0x163888;return _0x4c24da[_0xb16578(0x527)][_0xb16578(0x4b0)]((0x0,s['map'])(_0x2dfb13=>_0x2dfb13[_0xb16578(0x6b7)]));}})),_0x49008a['registerViewState'](_0x163888(0x60a),_0x575455=>_0x575455[_0x163888(0x527)][_0x163888(0x4b0)]((0x0,s['combineLatestWith'])(_0x49008a[_0x163888(0x610)]),(0x0,s[_0x163888(0x2df)])(([,_0x3c4a93])=>_0x575455[_0x163888(0x32c)](_0x3c4a93)['axes']))),_0x49008a['registerViewState'](_0x163888(0x671),_0x323224=>({'set'(_0x169c2b){const _0x1c1b1f=_0x163888;_0x49008a[_0x1c1b1f(0x2c6)]({'chartModelId':_0x323224['id'],'style':{'area':{'lineStyle':_0x169c2b==null?void 0x0:_0x169c2b}}});},'get'(){const _0x154aa6=_0x163888;return _0x323224[_0x154aa6(0x527)][_0x154aa6(0x4b0)]((0x0,s[_0x154aa6(0x2df)])(_0x59e766=>{const _0x480c1d=_0x154aa6;var _0x54acd1;return(_0x54acd1=_0x59e766[_0x480c1d(0x394)])==null?void 0x0:_0x54acd1[_0x480c1d(0x59f)];}));}})),_0x49008a[_0x163888(0x270)](_0x163888(0x2e2),_0x556603=>({'set'(_0x53bae4){const _0x1fa33c=_0x163888;_0x49008a[_0x1fa33c(0x2c6)]({'chartModelId':_0x556603['id'],'style':{'pie':{'labelStyle':_0x53bae4==null?void 0x0:_0x53bae4}}});},'get'(){const _0x581794=_0x163888;return _0x556603[_0x581794(0x527)][_0x581794(0x4b0)]((0x0,s[_0x581794(0x2df)])(_0x290cf5=>{const _0x285e76=_0x581794;var _0x244b0c;return(_0x244b0c=_0x290cf5[_0x285e76(0x3a7)])==null?void 0x0:_0x244b0c['labelStyle'];}));}})),_0x49008a[_0x163888(0x270)]('wordCloudShape',_0x559a7c=>({'set'(_0xff7dc2){const _0x75b2b3=_0x163888;_0x49008a[_0x75b2b3(0x2c6)]({'chartModelId':_0x559a7c['id'],'style':{'wordCloud':{'shape':_0xff7dc2==null?void 0x0:_0xff7dc2,'maskImage':_0xff7dc2==null?void 0x0:_0xff7dc2}}});},'get'(){const _0x491537=_0x163888;return _0x559a7c['style$'][_0x491537(0x4b0)]((0x0,s[_0x491537(0x2df)])(_0x591170=>{const _0x23e0a8=_0x491537;var _0x132e0e;return(_0x132e0e=_0x591170[_0x23e0a8(0x562)])==null?void 0x0:_0x132e0e[_0x23e0a8(0x3bf)];}));}})),_0x49008a[_0x163888(0x270)](_0x163888(0x658),_0x107e2d=>({'set'(_0x3c897c){const _0x48938e=_0x163888;_0x49008a[_0x48938e(0x2c6)]({'chartModelId':_0x107e2d['id'],'style':{'wordCloud':{'maskImage':_0x3c897c==null?void 0x0:_0x3c897c,'shape':void 0x0}}});},'get'(){const _0x5131a4=_0x163888;return _0x107e2d[_0x5131a4(0x527)][_0x5131a4(0x4b0)]((0x0,s[_0x5131a4(0x2df)])(_0x58cc73=>{const _0x26ce80=_0x5131a4;var _0x4fb750;return(_0x4fb750=_0x58cc73['wordCloud'])==null?void 0x0:_0x4fb750[_0x26ce80(0x259)];}));}})),_0x49008a[_0x163888(0x270)](_0x163888(0x31b),_0x39ef42=>({'set'(_0x3edccf){_0x49008a['executeChartUpdateConfig']({'chartModelId':_0x39ef42['id'],'style':{'wordCloud':{'repeat':_0x3edccf==null?void 0x0:_0x3edccf}}});},'get'(){const _0x2c0196=_0x163888;return _0x39ef42[_0x2c0196(0x527)][_0x2c0196(0x4b0)]((0x0,s['map'])(_0x14a76a=>{const _0x49e922=_0x2c0196;var _0x4bbb8a;return(_0x4bbb8a=_0x14a76a[_0x49e922(0x562)])==null?void 0x0:_0x4bbb8a[_0x49e922(0x390)];}));}})),_0x49008a['registerViewState'](_0x163888(0x3ee),_0x3f3fba=>({'set'(_0x4501fa){_0x49008a['executeChartUpdateConfig']({'chartModelId':_0x3f3fba['id'],'style':{'funnel':{'gap':_0x4501fa==null?void 0x0:_0x4501fa}}});},'get'(){const _0x350c8a=_0x163888;return _0x3f3fba[_0x350c8a(0x527)]['pipe']((0x0,s[_0x350c8a(0x2df)])(_0x1604ec=>{const _0x31f8ee=_0x350c8a;var _0x12a8f3;return(_0x12a8f3=_0x1604ec[_0x31f8ee(0x19d)])==null?void 0x0:_0x12a8f3[_0x31f8ee(0x3d7)];}));}})),_0x49008a[_0x163888(0x270)](_0x163888(0x1f5),_0x4d8404=>({'set'(_0x7e36bb){const _0x54ec9d=_0x163888;_0x49008a[_0x54ec9d(0x2c6)]({'chartModelId':_0x4d8404['id'],'style':{'funnel':{'useAbsValue':_0x7e36bb==null?void 0x0:_0x7e36bb}}});},'get'(){const _0x2e9503=_0x163888;return _0x4d8404['style$'][_0x2e9503(0x4b0)]((0x0,s[_0x2e9503(0x2df)])(_0x1ef72a=>{const _0x1e8a85=_0x2e9503;var _0x1a8487;return(_0x1a8487=_0x1ef72a['funnel'])==null?void 0x0:_0x1a8487[_0x1e8a85(0x383)];}));}})),_0x49008a[_0x163888(0x270)](_0x163888(0x4ba),_0x131cd9=>({'set'(_0x110b9b){const _0x32cb51=_0x163888;_0x49008a[_0x32cb51(0x2c6)]({'chartModelId':_0x131cd9['id'],'style':{'pie':{'hasPaddingAngle':!!_0x110b9b}}});},'get'(){const _0x17800c=_0x163888;return _0x131cd9[_0x17800c(0x527)][_0x17800c(0x4b0)]((0x0,s['map'])(_0x6d157f=>{const _0x42c9ec=_0x17800c;var _0x5c361f;return(_0x5c361f=_0x6d157f[_0x42c9ec(0x3a7)])==null?void 0x0:_0x5c361f['hasPaddingAngle'];}));}})),_0x49008a[_0x163888(0x270)]('isHalfPie',_0x59dce3=>({'set'(_0x392f58){const _0x544f4b=_0x163888;_0x49008a[_0x544f4b(0x2c6)]({'chartModelId':_0x59dce3['id'],'style':{'pie':{'isHalfPie':!!_0x392f58}}});},'get'(){const _0x33752f=_0x163888;return _0x59dce3[_0x33752f(0x527)][_0x33752f(0x4b0)]((0x0,s[_0x33752f(0x2df)])(_0x4b4eb3=>{const _0x50139e=_0x33752f;var _0x461f24;return(_0x461f24=_0x4b4eb3['pie'])==null?void 0x0:_0x461f24[_0x50139e(0x410)];}));}})),_0x49008a[_0x163888(0x270)](_0x163888(0x503),_0x16c597=>({'set'(_0x2be9c7){_0x49008a['executeChartUpdateConfig']({'chartModelId':_0x16c597['id'],'style':{'pie':{'valueScale':Number(_0x2be9c7)}}});},'get'(){const _0x546687=_0x163888;return _0x16c597['style$']['pipe']((0x0,s[_0x546687(0x2df)])(_0x225fd5=>{const _0x2281cf=_0x546687;var _0x584ce9;return(_0x584ce9=_0x225fd5['pie'])==null?void 0x0:_0x584ce9[_0x2281cf(0x503)];}));}})),_0x49008a[_0x163888(0x270)]('digitalFixed',_0x3bc3ad=>({'set'(_0x1ebf5a){const _0x5acdfa=_0x163888;_0x49008a[_0x5acdfa(0x2c6)]({'chartModelId':_0x3bc3ad['id'],'style':{'pie':{'digitalFixed':Number(_0x1ebf5a)}}});},'get'(){const _0x270c57=_0x163888;return _0x3bc3ad[_0x270c57(0x527)]['pipe']((0x0,s['map'])(_0x309a18=>{const _0x18480b=_0x270c57;var _0x202011;return(_0x202011=_0x309a18[_0x18480b(0x3a7)])==null?void 0x0:_0x202011[_0x18480b(0x67b)];}));}})),_0x49008a[_0x163888(0x270)](_0x163888(0x1e0),_0x4d0557=>({'set'(_0x25958a){const _0x10f7f5=_0x163888;_0x49008a[_0x10f7f5(0x2c6)]({'chartModelId':_0x4d0557['id'],'style':{'pie':{'valueSuffix':String(_0x25958a)}}});},'get'(){const _0x12d507=_0x163888;return _0x4d0557['style$']['pipe']((0x0,s[_0x12d507(0x2df)])(_0x1f6669=>{const _0x64944=_0x12d507;var _0x36ef06;return(_0x36ef06=_0x1f6669[_0x64944(0x3a7)])==null?void 0x0:_0x36ef06[_0x64944(0x1e0)];}));}})),_0x49008a[_0x163888(0x270)](_0x163888(0x6e1),_0x3af402=>({'set'(_0xcbc710){const _0x3d8f6c=_0x163888;_0x49008a[_0x3d8f6c(0x2c6)]({'chartModelId':_0x3af402['id'],'style':{'pie':{'rosePie':!!_0xcbc710}}});},'get'(){const _0x383bbb=_0x163888;return _0x3af402[_0x383bbb(0x527)]['pipe']((0x0,s[_0x383bbb(0x2df)])(_0x52f98e=>{const _0x160784=_0x383bbb;var _0x1fc7c3;return(_0x1fc7c3=_0x52f98e[_0x160784(0x3a7)])==null?void 0x0:_0x1fc7c3[_0x160784(0x440)];}));}})),_0x49008a['registerViewState'](_0x163888(0x1ad),_0x2a6691=>({'set'(_0x16ac19){const _0xd7c7e3=_0x163888;_0x49008a[_0xd7c7e3(0x2c6)]({'chartModelId':_0x2a6691['id'],'style':{'pie':{'showLabelLine':!!_0x16ac19}}});},'get'(){const _0x196a89=_0x163888;return _0x2a6691[_0x196a89(0x527)][_0x196a89(0x4b0)]((0x0,s[_0x196a89(0x2df)])(_0x1768bd=>{const _0x147932=_0x196a89;var _0x53882a;return(_0x53882a=_0x1768bd[_0x147932(0x3a7)])==null?void 0x0:_0x53882a[_0x147932(0x1ad)];}));}})),_0x49008a[_0x163888(0x270)](_0x163888(0x417),_0x2e452e=>({'set'(_0x4b8215){const _0x5b2980=_0x163888;_0x49008a['executeChartUpdateConfig']({'chartModelId':_0x2e452e['id'],'chartType':_0x4b8215?c[_0x5b2980(0x5db)][_0x5b2980(0x245)]:c[_0x5b2980(0x5db)][_0x5b2980(0x604)],'style':{'pie':{'doughnutHole':_0x4b8215}}});},'get'(){const _0x13c3b0=_0x163888;return _0x2e452e[_0x13c3b0(0x527)]['pipe']((0x0,s[_0x13c3b0(0x2df)])(_0x2a2e92=>{var _0x18da51;return(_0x18da51=_0x2a2e92['pie'])==null?void 0x0:_0x18da51['doughnutHole'];}),(0x0,s[_0x13c3b0(0x2e9)])());}})),_0x49008a[_0x163888(0x270)](_0x163888(0x51f),_0x129a61=>({'set'(_0x57c703){const _0x5ec1d7=_0x163888;_0x49008a[_0x5ec1d7(0x2c6)]({'chartModelId':_0x129a61['id'],'style':{'pie':{'borderColor':_0x57c703}}});},'get'(){const _0x4ff95d=_0x163888;return _0x129a61[_0x4ff95d(0x527)]['pipe']((0x0,s[_0x4ff95d(0x2df)])(_0x396c33=>{var _0x4ff957;return(_0x4ff957=_0x396c33['pie'])==null?void 0x0:_0x4ff957['borderColor'];}),(0x0,s[_0x4ff95d(0x2e9)])());}})),_0x49008a[_0x163888(0x270)](_0x163888(0x42d),_0x55f7cb=>({'set'(_0x3e57b4){const _0x4d20fc=_0x163888;_0x49008a[_0x4d20fc(0x2c6)]({'chartModelId':_0x55f7cb['id'],'style':{'radar':{'shape':_0x3e57b4}}});},'get'(){const _0x5b1b6e=_0x163888;return _0x55f7cb[_0x5b1b6e(0x527)][_0x5b1b6e(0x4b0)]((0x0,s[_0x5b1b6e(0x2df)])(_0x2d2e53=>{const _0x11aa43=_0x5b1b6e;var _0x3e1162;return(_0x3e1162=_0x2d2e53[_0x11aa43(0x280)])==null?void 0x0:_0x3e1162[_0x11aa43(0x3bf)];}),(0x0,s[_0x5b1b6e(0x2e9)])());}})),_0x49008a[_0x163888(0x270)]('radarFill',_0xeddbb9=>({'set'(_0x1a9976){const _0x401103=_0x163888;_0x49008a[_0x401103(0x2c6)]({'chartModelId':_0xeddbb9['id'],'style':{'radar':{'fill':_0x1a9976}}});},'get'(){const _0x18fbfe=_0x163888;return _0xeddbb9[_0x18fbfe(0x527)][_0x18fbfe(0x4b0)]((0x0,s[_0x18fbfe(0x2df)])(_0x2865ee=>{const _0x3dbaa7=_0x18fbfe;var _0x487823;return(_0x487823=_0x2865ee[_0x3dbaa7(0x280)])==null?void 0x0:_0x487823['fill'];}),(0x0,s[_0x18fbfe(0x2e9)])());}})),_0x49008a[_0x163888(0x270)](_0x163888(0x391),_0x50bf61=>({'set'(_0x337429){_0x49008a['executeChartUpdateConfig']({'chartModelId':_0x50bf61['id'],'style':{'invalidValueType':_0x337429}});},'get'(){const _0x3b5ffc=_0x163888;return _0x50bf61[_0x3b5ffc(0x527)][_0x3b5ffc(0x4b0)]((0x0,s[_0x3b5ffc(0x2df)])(_0x197a66=>_0x197a66['invalidValueType']),(0x0,s[_0x3b5ffc(0x2e9)])());}})),_0x49008a['registerViewState'](_0x163888(0x6ad),_0x369d42=>_0x369d42[_0x163888(0x1c1)][_0x163888(0x4b0)]((0x0,s[_0x163888(0x2df)])(_0x5ddfb5=>{const _0x41851b=_0x163888;var _0x162b31,_0xf6b6e3;let _0x275b5=_0x5ddfb5==null||(_0x162b31=_0x5ddfb5[_0x41851b(0x201)])==null?void 0x0:_0x162b31['items'];return((_0x5ddfb5==null||(_0xf6b6e3=_0x5ddfb5[_0x41851b(0x3e3)][0x0])==null?void 0x0:_0xf6b6e3['items'])||[])[_0x41851b(0x2df)]((_0x446afa,_0x428c8f)=>({'label':_0x275b5&&_0x275b5[_0x428c8f]!==void 0x0?_0x275b5[_0x428c8f][_0x41851b(0x609)]:_0x49008a['t'](_0x41851b(0x46b),''+(_0x428c8f+0x1)),'value':''+_0x428c8f}));}))),_0x49008a[_0x163888(0x270)]('chartThemeColorType',_0x142089=>({'set'(_0x144e29){const _0x46bc33=_0x163888;let _0xbd4b50={'theme':_0x144e29},_0x11479e=_0x142089[_0x46bc33(0x65a)]['allSeriesStyle'];if((_0x11479e==null?void 0x0:_0x11479e[_0x46bc33(0x25e)])!==void 0x0){var _0x157f85,_0x38b1f3,_0x21222d;_0xbd4b50[_0x46bc33(0x2ad)]={'color':null},(_0x11479e==null||(_0x157f85=_0x11479e['waterfall'])==null||(_0x157f85=_0x157f85[_0x46bc33(0x517)])==null?void 0x0:_0x157f85[_0x46bc33(0x25e)])!==void 0x0&&(_0x11479e['waterfall'][_0x46bc33(0x517)]['color']=null),(_0x11479e==null||(_0x38b1f3=_0x11479e[_0x46bc33(0x1f1)])==null||(_0x38b1f3=_0x38b1f3[_0x46bc33(0x2bf)])==null?void 0x0:_0x38b1f3['color'])!==void 0x0&&(_0x11479e['waterfall'][_0x46bc33(0x2bf)][_0x46bc33(0x25e)]=null),(_0x11479e==null||(_0x21222d=_0x11479e[_0x46bc33(0x1f1)])==null||(_0x21222d=_0x21222d[_0x46bc33(0x4f7)])==null?void 0x0:_0x21222d[_0x46bc33(0x25e)])!==void 0x0&&(_0x11479e['waterfall'][_0x46bc33(0x4f7)][_0x46bc33(0x25e)]=null);}let _0x66796d=_0x142089[_0x46bc33(0x65a)][_0x46bc33(0x491)]||{};for(let _0x5857ba in _0x66796d){var _0x586282,_0x55d561,_0x493c51;_0x66796d[_0x5857ba]['color']!==void 0x0&&(_0xbd4b50['seriesStyleMap']={..._0xbd4b50[_0x46bc33(0x491)],[_0x5857ba]:{'color':null}}),((_0x586282=_0x66796d[_0x5857ba])==null||(_0x586282=_0x586282[_0x46bc33(0x1f1)])==null||(_0x586282=_0x586282[_0x46bc33(0x517)])==null?void 0x0:_0x586282['color'])!==void 0x0&&(_0x66796d[_0x5857ba][_0x46bc33(0x1f1)][_0x46bc33(0x517)][_0x46bc33(0x25e)]=null),((_0x55d561=_0x66796d[_0x5857ba])==null||(_0x55d561=_0x55d561[_0x46bc33(0x1f1)])==null||(_0x55d561=_0x55d561[_0x46bc33(0x2bf)])==null?void 0x0:_0x55d561[_0x46bc33(0x25e)])!==void 0x0&&(_0x66796d[_0x5857ba]['waterfall'][_0x46bc33(0x2bf)][_0x46bc33(0x25e)]=null),((_0x493c51=_0x66796d[_0x5857ba])==null||(_0x493c51=_0x493c51['waterfall'])==null||(_0x493c51=_0x493c51[_0x46bc33(0x4f7)])==null?void 0x0:_0x493c51[_0x46bc33(0x25e)])!==void 0x0&&(_0x66796d[_0x5857ba][_0x46bc33(0x1f1)]['subtotal'][_0x46bc33(0x25e)]=null);}_0x49008a[_0x46bc33(0x2c6)]({'chartModelId':_0x142089['id'],'style':_0xbd4b50});},'get'(){const _0x555b43=_0x163888;return _0x142089[_0x555b43(0x527)][_0x555b43(0x4b0)]((0x0,s[_0x555b43(0x2df)])(_0x16fa2c=>_0x16fa2c[_0x555b43(0x3b3)]||_0x555b43(0x337)));}})),_0x49008a[_0x163888(0x270)](_0x163888(0x322),_0x1a5005=>({'set'(_0x23db76){const _0x5de408=_0x163888;_0x49008a[_0x5de408(0x2c6)]({'chartModelId':_0x1a5005['id'],'style':{'titles':{'titlePosition':_0x23db76}}});},'get'(){const _0x422e83=_0x163888;return _0x1a5005['style$'][_0x422e83(0x4b0)]((0x0,s[_0x422e83(0x2df)])(_0x3d6e92=>{const _0x517adc=_0x422e83;var _0x19bfbc;return((_0x19bfbc=_0x3d6e92[_0x517adc(0x5ad)])==null?void 0x0:_0x19bfbc['titlePosition'])||void 0x0;}));}})),_0x49008a[_0x163888(0x270)](d[_0x163888(0x1ea)][_0x163888(0x4a1)],_0x53c53f=>({'set'(_0x38dbbf){const _0x5d0e7b=_0x163888;_0x49008a[_0x5d0e7b(0x2c6)]({'chartModelId':_0x53c53f['id'],'context':{'bubbleSizeIndex':_0x38dbbf}});},'get'(){const _0x309da0=_0x163888;return _0x53c53f[_0x309da0(0x3ca)][_0x309da0(0x4b0)]((0x0,s[_0x309da0(0x2df)])(_0x2850cb=>_0x2850cb[_0x309da0(0x5eb)]||void 0x0));}})),_0x49008a[_0x163888(0x270)](d[_0x163888(0x1ea)][_0x163888(0x6c7)],_0x4d8444=>({'set'(_0x59cf8f){const _0x5b7afc=_0x163888;_0x49008a[_0x5b7afc(0x2c6)]({'chartModelId':_0x4d8444['id'],'context':{'scatterXIndex':_0x59cf8f}});},'get'(){const _0x3b760e=_0x163888;return _0x4d8444[_0x3b760e(0x3ca)]['pipe']((0x0,s[_0x3b760e(0x2df)])(_0x12933e=>{const _0x41e0b5=_0x3b760e;var _0x298aa8;return(_0x298aa8=_0x12933e[_0x41e0b5(0x33f)])==null?void 0x0:_0x298aa8;}));}})),_0x49008a['registerViewState'](d[_0x163888(0x1ea)]['ScatterYIndex'],_0x405289=>({'set'(_0x55583d){const _0x3cf649=_0x163888;_0x49008a[_0x3cf649(0x2c6)]({'chartModelId':_0x405289['id'],'context':{'scatterYIndex':_0x55583d}});},'get'(){const _0x73e020=_0x163888;return _0x405289[_0x73e020(0x3ca)][_0x73e020(0x4b0)]((0x0,s[_0x73e020(0x2df)])(_0x444d41=>{const _0x1ad0b6=_0x73e020;var _0x1360db;return(_0x1360db=_0x444d41[_0x1ad0b6(0x238)])==null?void 0x0:_0x1360db;}));}})),_0x49008a[_0x163888(0x270)](d[_0x163888(0x1ea)][_0x163888(0x1a2)],_0x5235b0=>({'set'(_0x21140f){const _0x34e9f5=_0x163888;_0x49008a[_0x34e9f5(0x2c6)]({'chartModelId':_0x5235b0['id'],'context':{'scatterLabelIndex':_0x21140f}});},'get'(){const _0x1fd5ba=_0x163888;return _0x5235b0[_0x1fd5ba(0x3ca)][_0x1fd5ba(0x4b0)]((0x0,s['map'])(_0x252e7d=>{const _0x2deaab=_0x1fd5ba;var _0x173b52;return(_0x173b52=_0x252e7d[_0x2deaab(0x2a8)])==null?void 0x0:_0x173b52;}));}})),_0x49008a['registerViewState'](d[_0x163888(0x1ea)][_0x163888(0x35c)],_0x1de1a4=>({'set'(_0x1b9b1c){_0x49008a['executeChartUpdateConfig']({'chartModelId':_0x1de1a4['id'],'context':{'bubbleSeriesIndex':_0x1b9b1c}});},'get'(){const _0xc61378=_0x163888;return _0x1de1a4[_0xc61378(0x3ca)][_0xc61378(0x4b0)]((0x0,s[_0xc61378(0x2df)])(_0x20de05=>{const _0x5c23f1=_0xc61378;var _0x38d263;return(_0x38d263=_0x20de05[_0x5c23f1(0x545)])==null?void 0x0:_0x38d263;}));}})),_0x49008a[_0x163888(0x270)](_0x163888(0x56d),_0x53a74f=>({'set'(_0x15c9ae){const _0x19941f=_0x163888;_0x49008a[_0x19941f(0x2c6)]({'chartModelId':_0x53a74f['id'],'style':{'relation':{'layout':_0x15c9ae}}});},'get'(){const _0x48950e=_0x163888;return _0x53a74f['style$'][_0x48950e(0x4b0)]((0x0,s[_0x48950e(0x2df)])(_0x1c7f84=>{const _0x497d9c=_0x48950e;var _0x2acb21;return(_0x2acb21=_0x1c7f84[_0x497d9c(0x23e)])==null?void 0x0:_0x2acb21[_0x497d9c(0x5a6)];}),(0x0,s[_0x48950e(0x2e9)])());}})),_0x49008a[_0x163888(0x270)](_0x163888(0x5ef),_0x2f2857=>({'set'(_0x5c9f52){_0x49008a['executeChartUpdateConfig']({'chartModelId':_0x2f2857['id'],'style':{'relation':{'useValueAsSymbolSize':!!_0x5c9f52}}});},'get'(){const _0x29ae36=_0x163888;return _0x2f2857[_0x29ae36(0x527)][_0x29ae36(0x4b0)]((0x0,s[_0x29ae36(0x2df)])(_0x4f680d=>{const _0x2b9f3f=_0x29ae36;var _0x5123da;return(_0x5123da=_0x4f680d[_0x2b9f3f(0x23e)])==null?void 0x0:_0x5123da[_0x2b9f3f(0x5ef)];}),(0x0,s[_0x29ae36(0x2e9)])());}})),_0x49008a[_0x163888(0x270)](_0x163888(0x2ed),_0x456818=>({'set'(_0x8d828d){_0x49008a['executeChartUpdateConfig']({'chartModelId':_0x456818['id'],'style':{'relation':{'force':_0x8d828d}}});},'get'(){const _0x4f1b15=_0x163888;return _0x456818['style$'][_0x4f1b15(0x4b0)]((0x0,s[_0x4f1b15(0x2df)])(_0x5a542e=>{const _0x84b3b0=_0x4f1b15;var _0x1c27ce;return(_0x1c27ce=_0x5a542e[_0x84b3b0(0x23e)])==null?void 0x0:_0x1c27ce[_0x84b3b0(0x28b)];}),(0x0,s[_0x4f1b15(0x2e9)])());}})),_0x49008a[_0x163888(0x270)]('rotateLabel',_0x5e64bd=>({'set'(_0x2977bc){const _0x1fa800=_0x163888;_0x49008a[_0x1fa800(0x2c6)]({'chartModelId':_0x5e64bd['id'],'style':{'relation':{'circular':{'rotateLabel':!!_0x2977bc}}}});},'get'(){const _0x285b51=_0x163888;return _0x5e64bd[_0x285b51(0x527)][_0x285b51(0x4b0)]((0x0,s[_0x285b51(0x2df)])(_0x469734=>{const _0x3e3296=_0x285b51;var _0x13545b;return(_0x13545b=_0x469734[_0x3e3296(0x23e)])==null||(_0x13545b=_0x13545b['circular'])==null?void 0x0:_0x13545b[_0x3e3296(0x489)];}),(0x0,s[_0x285b51(0x2e9)])());}})),_0x49008a[_0x163888(0x270)](_0x163888(0x457),_0xd5c886=>({'set'(_0x77877c){_0x49008a['executeChartUpdateConfig']({'chartModelId':_0xd5c886['id'],'style':{'relation':{'nodeShape':_0x77877c}}});},'get'(){const _0x577394=_0x163888;return _0xd5c886[_0x577394(0x527)][_0x577394(0x4b0)]((0x0,s['map'])(_0x9729d4=>{const _0x51c774=_0x577394;var _0x189919;return(_0x189919=_0x9729d4[_0x51c774(0x23e)])==null?void 0x0:_0x189919['nodeShape'];}),(0x0,s[_0x577394(0x2e9)])());}})),_0x49008a[_0x163888(0x270)]('useEmphasis',_0x581885=>({'set'(_0x204c5a){const _0x59f0fb=_0x163888;_0x49008a[_0x59f0fb(0x2c6)]({'chartModelId':_0x581885['id'],'style':{'relation':{'useEmphasis':!!_0x204c5a}}});},'get'(){const _0x196e2e=_0x163888;return _0x581885[_0x196e2e(0x527)][_0x196e2e(0x4b0)]((0x0,s['map'])(_0x4c4973=>{const _0x5357c7=_0x196e2e;var _0x477667;return(_0x477667=_0x4c4973[_0x5357c7(0x23e)])==null?void 0x0:_0x477667['useEmphasis'];}),(0x0,s[_0x196e2e(0x2e9)])());}})),_0x49008a[_0x163888(0x270)](_0x163888(0x217),_0x55a796=>({'set'(_0x3062b6){_0x49008a['executeChartUpdateConfig']({'chartModelId':_0x55a796['id'],'context':{'useDateAxis':!!_0x3062b6}});},'get'(){const _0x4c4969=_0x163888;return _0x55a796['context$'][_0x4c4969(0x4b0)]((0x0,s[_0x4c4969(0x2df)])(_0xfaaab3=>_0xfaaab3[_0x4c4969(0x217)]),(0x0,s['distinctUntilChanged'])());}})),_0x49008a['registerViewState'](_0x163888(0x3b7),_0x1a7866=>({'set'(_0x5683f8){const _0x5da6f5=_0x163888;_0x49008a[_0x5da6f5(0x2c6)]({'chartModelId':_0x1a7866['id'],'style':{'waterfall':{'stackType':_0x5683f8}}});},'get'(){const _0x621095=_0x163888;return _0x1a7866[_0x621095(0x527)][_0x621095(0x4b0)]((0x0,s['map'])(_0x45e3db=>{const _0x3747b7=_0x621095;var _0x26759f;return(_0x26759f=_0x45e3db[_0x3747b7(0x1f1)])==null?void 0x0:_0x26759f[_0x3747b7(0x1ce)];}),(0x0,s[_0x621095(0x2e9)])());}})),_0x49008a[_0x163888(0x270)](_0x163888(0x38a),_0x2db12c=>({'set'(_0x43128d){_0x49008a['executeChartUpdateConfig']({'chartModelId':_0x2db12c['id'],'style':{'waterfall':{'useSubtotal':_0x43128d}}});},'get'(){const _0xa1ac00=_0x163888;return _0x2db12c[_0xa1ac00(0x527)][_0xa1ac00(0x4b0)]((0x0,s['map'])(_0xc1275f=>{const _0x2eb25a=_0xa1ac00;var _0x1e05da;return(_0x1e05da=_0xc1275f[_0x2eb25a(0x1f1)])==null?void 0x0:_0x1e05da[_0x2eb25a(0x38a)];}),(0x0,s[_0xa1ac00(0x2e9)])());}})),_0x49008a['registerViewState'](_0x163888(0x20b),_0x376ec8=>({'set'(_0x3e7ed8){const _0x3b9fd4=_0x163888;_0x49008a[_0x3b9fd4(0x2c6)]({'chartModelId':_0x376ec8['id'],'style':{'pareto':_0x3e7ed8}});},'get'(){const _0x1fab5d=_0x163888;return _0x376ec8[_0x1fab5d(0x527)][_0x1fab5d(0x4b0)]((0x0,s[_0x1fab5d(0x2df)])(_0x54c601=>_0x54c601[_0x1fab5d(0x4d7)]),(0x0,s[_0x1fab5d(0x2e9)])());}})),_0x49008a[_0x163888(0x270)](_0x163888(0x5ed),_0x1ccda6=>_0x1ccda6[_0x163888(0x1c1)][_0x163888(0x4b0)]((0x0,s['map'])(_0x4b18b9=>{const _0x18ae5a=_0x163888;var _0x2983a5;let _0x4b199e=_0x4b18b9==null||(_0x2983a5=_0x4b18b9['category'])==null?void 0x0:_0x2983a5[_0x18ae5a(0x48a)],_0x316eca=new Map();return _0x4b18b9==null||_0x4b18b9[_0x18ae5a(0x3e3)][0x0][_0x18ae5a(0x48a)][_0x18ae5a(0x462)]((_0x239f96,_0x524ebd)=>{const _0x24af0f=_0x18ae5a;let _0x3f6faa=_0x4b199e?String(_0x4b199e[_0x524ebd][_0x24af0f(0x3e9)]):_0x49008a['t'](_0x24af0f(0x46b),''+(_0x524ebd+0x1));_0x316eca[_0x24af0f(0x347)](_0x3f6faa)||_0x316eca[_0x24af0f(0x38d)](_0x3f6faa,_0x239f96[_0x24af0f(0x3e9)]);}),Array[_0x18ae5a(0x5ff)](_0x316eca['entries']())[_0x18ae5a(0x6b4)](_0x241b69=>_0x241b69[0x1]>0x0)['sort']((_0x3e01b7,_0x1f3261)=>_0x1f3261[0x1]-_0x3e01b7[0x1])[_0x18ae5a(0x2df)]((_0x254bd7,_0x3c51d1)=>({'label':_0x254bd7[0x0]||_0x49008a['t'](_0x18ae5a(0x46b),''+(_0x3c51d1+0x1)),'value':''+_0x3c51d1}));}))),_0x49008a[_0x163888(0x270)]('visualMapType',_0xaa23e=>({'set'(_0x220fe0){const _0x414252=_0x163888;_0x49008a[_0x414252(0x2c6)]({'chartModelId':_0xaa23e['id'],'style':{'heatmap':{'visualMapType':_0x220fe0}}});},'get'(){const _0x573352=_0x163888;return _0xaa23e[_0x573352(0x527)][_0x573352(0x4b0)]((0x0,s[_0x573352(0x2df)])(_0xa53f3a=>{const _0x4969e1=_0x573352;var _0x206f96;return(_0x206f96=_0xa53f3a[_0x4969e1(0x19f)])==null?void 0x0:_0x206f96[_0x4969e1(0x520)];}),(0x0,s[_0x573352(0x2e9)])());}})),_0x49008a[_0x163888(0x270)](_0x163888(0x660),_0x55be6d=>({'set'(_0x5c13d9){const _0x4d8d33=_0x163888;_0x49008a[_0x4d8d33(0x2c6)]({'chartModelId':_0x55be6d['id'],'style':{'heatmap':{'max':_0x5c13d9}}});},'get'(){const _0x24f287=_0x163888;return _0x55be6d[_0x24f287(0x527)][_0x24f287(0x4b0)]((0x0,s[_0x24f287(0x2df)])(_0x492cae=>{const _0x31a64c=_0x24f287;var _0x5a16f8;return(_0x5a16f8=_0x492cae[_0x31a64c(0x19f)])==null?void 0x0:_0x5a16f8['max'];}),(0x0,s[_0x24f287(0x2e9)])());}})),_0x49008a[_0x163888(0x270)]('heatmapMin',_0xb09ade=>({'set'(_0x119a61){const _0x4673f2=_0x163888;_0x49008a[_0x4673f2(0x2c6)]({'chartModelId':_0xb09ade['id'],'style':{'heatmap':{'min':_0x119a61}}});},'get'(){const _0x453cd6=_0x163888;return _0xb09ade['style$']['pipe']((0x0,s[_0x453cd6(0x2df)])(_0x5a0a33=>{const _0x4581e9=_0x453cd6;var _0x5e2882;return(_0x5e2882=_0x5a0a33['heatmap'])==null?void 0x0:_0x5e2882[_0x4581e9(0x341)];}),(0x0,s[_0x453cd6(0x2e9)])());}}));}const be=(0x0,t[_0x3a0a20(0x44c)])(_0x3a0a20(0x4b9));let xe=class extends t['Disposable']{constructor(_0x500b92,_0x22cb16,_0x99a09f,_0x2d726c,_0x2f8d20,_0x4175b1){const _0x49cb59=_0x3a0a20;super(),this[_0x49cb59(0x6bb)]=_0x500b92,this[_0x49cb59(0x444)]=_0x22cb16,this[_0x49cb59(0x1d2)]=_0x99a09f,this[_0x49cb59(0x39b)]=_0x2d726c,this[_0x49cb59(0x295)]=_0x2f8d20,this[_0x49cb59(0x680)]=_0x4175b1,k(this,_0x49cb59(0x196),new Map()),k(this,'_rangeSelectMode',!0x1),k(this,_0x49cb59(0x5a3),new s['BehaviorSubject'](null)),k(this,'_selectedElement$',new s[(_0x49cb59(0x431))](null)),k(this,_0x49cb59(0x1b8),new s['BehaviorSubject'](null)),k(this,_0x49cb59(0x477),this['_activeEditChart$'][_0x49cb59(0x198)]()),k(this,_0x49cb59(0x2ca),this[_0x49cb59(0x37b)][_0x49cb59(0x198)]()),k(this,'panelRoute$',this[_0x49cb59(0x1b8)][_0x49cb59(0x198)]()),ye(this);}get[_0x3a0a20(0x1c8)](){const _0x2af901=_0x3a0a20;return this[_0x2af901(0x6bb)][_0x2af901(0x1c8)];}get['activeChartModel$'](){const _0x19f821=_0x3a0a20;return this[_0x19f821(0x6bb)][_0x19f821(0x6a0)];}get[_0x3a0a20(0x425)](){return this['_rangeSelectMode'];}get['activeEditChart'](){const _0x319fda=_0x3a0a20;return this[_0x319fda(0x5a3)][_0x319fda(0x6c1)]();}get['direction$'](){const _0x59d983=_0x3a0a20;return this[_0x59d983(0x39b)][_0x59d983(0x610)];}[_0x3a0a20(0x6b8)](_0x2bfbf2){const _0x4a21c4=_0x3a0a20;this[_0x4a21c4(0x2c2)]=_0x2bfbf2;}['setActiveEditChart'](_0x341c6e){const _0x1eabc7=_0x3a0a20;this[_0x1eabc7(0x5a3)][_0x1eabc7(0x6c1)]()!==_0x341c6e&&this[_0x1eabc7(0x5a3)][_0x1eabc7(0x585)](_0x341c6e);}[_0x3a0a20(0x47a)](_0x2509b0){return this['_activeEditChart$']['getValue']()===_0x2509b0;}['setSelectedElement'](_0x392c44){const _0x10cb9e=_0x3a0a20;this[_0x10cb9e(0x37b)][_0x10cb9e(0x585)](_0x392c44);}[_0x3a0a20(0x599)](_0x831d06,_0x4ce54c){const _0x315306=_0x3a0a20;this[_0x315306(0x1b8)]['next']({'chartId':_0x831d06,'route':_0x4ce54c});}[_0x3a0a20(0x3d8)](){const _0x40d8d0=_0x3a0a20;this[_0x40d8d0(0x1b8)][_0x40d8d0(0x585)](null);}[_0x3a0a20(0x229)](_0x2eaab9){const _0x45a46e=_0x3a0a20;return this[_0x45a46e(0x444)][_0x45a46e(0x4f3)](_0x2eaab9);}['registerViewState'](_0x2b409a,_0x5a37f8){const _0x115126=_0x3a0a20;this[_0x115126(0x196)][_0x115126(0x38d)](_0x2b409a,_0x5a37f8);}[_0x3a0a20(0x480)](_0x11dd7b,_0x27de50=this['_chartModelService']['activeChartModel']){const _0x1f943c=_0x3a0a20;if(!_0x27de50)return;let _0x2cf593=this['_viewState'][_0x1f943c(0x4bb)](_0x11dd7b);if(_0x2cf593)return _0x2cf593(_0x27de50);}[_0x3a0a20(0x2c6)](_0x11331e){const _0x1d3ec4=_0x3a0a20;var _0x413603,_0x42d43d;this[_0x1d3ec4(0x1d2)][_0x1d3ec4(0x351)](e[_0x1d3ec4(0x3f5)]['id'],{..._0x11331e,'unitId':(_0x413603=(_0x42d43d=this[_0x1d3ec4(0x680)][_0x1d3ec4(0x429)]())==null?void 0x0:_0x42d43d[_0x1d3ec4(0x378)]())==null?'':_0x413603});}[_0x3a0a20(0x1b7)](_0x5331e1){const _0x2adc62=_0x3a0a20;var _0x118019,_0x57f179;this['_commandService']['executeCommand'](e[_0x2adc62(0x572)]['id'],{..._0x5331e1,'unitId':(_0x118019=(_0x57f179=this['_univerInstanceService'][_0x2adc62(0x429)]())==null?void 0x0:_0x57f179['getUnitId']())==null?'':_0x118019});}[_0x3a0a20(0x57f)](_0x4e4011){const _0x4321fe=_0x3a0a20;let {_viewState:_0x1ae7cd}=this;_0x1ae7cd[_0x4321fe(0x347)](_0x4e4011)&&_0x1ae7cd[_0x4321fe(0x4d5)](_0x4e4011);}['setBorder'](_0x166bf1,_0x30d520){const _0x554849=_0x3a0a20;this[_0x554849(0x295)][_0x554849(0x2d1)](_0x166bf1,{'stroke':_0x30d520});}['t'](..._0x9f8a91){return this['_localeService']['t'](..._0x9f8a91);}['dispose'](){const _0x3f0e4a=_0x3a0a20;super['dispose'](),this['_viewState']['clear'](),this[_0x3f0e4a(0x5a3)]['complete'](),this[_0x3f0e4a(0x37b)][_0x3f0e4a(0x6cb)](),this[_0x3f0e4a(0x1b8)][_0x3f0e4a(0x6cb)]();}};xe=B([z(0x0,(0x0,t['Inject'])(e['ChartModelService'])),z(0x1,(0x0,t[_0x3a0a20(0x5e1)])(e[_0x3a0a20(0x3de)])),z(0x2,t[_0x3a0a20(0x589)]),z(0x3,(0x0,t[_0x3a0a20(0x5e1)])(t['LocaleService'])),z(0x4,(0x0,t[_0x3a0a20(0x5e1)])(H)),z(0x5,t[_0x3a0a20(0x40a)])],xe);function X(_0x479aac,_0x2268bb){const _0x193977=_0x3a0a20;let _0x520517=(0x0,o[_0x193977(0x510)])(be),_0x5895a8=(0x0,o[_0x193977(0x63d)])(_0x520517[_0x193977(0x6a0)],_0x520517[_0x193977(0x1c8)]),_0x188f6c=(0x0,h[_0x193977(0x646)])(()=>_0x520517[_0x193977(0x480)](_0x479aac,_0x5895a8),[_0x5895a8,_0x479aac,_0x520517]);return[(0x0,o['useObservable'])((0x0,h[_0x193977(0x646)])(()=>_0x188f6c instanceof s[_0x193977(0x608)]?_0x188f6c:_0x188f6c==null?void 0x0:_0x188f6c[_0x193977(0x4bb)](),[_0x188f6c]),_0x2268bb),(0x0,h[_0x193977(0x40f)])(_0x21ccef=>{const _0x4430f9=_0x193977;if(!(_0x188f6c instanceof s['Observable'])){var _0x4971f2;_0x188f6c==null||(_0x4971f2=_0x188f6c[_0x4430f9(0x38d)])==null||_0x4971f2[_0x4430f9(0x677)](_0x188f6c,_0x21ccef);}},[_0x188f6c])];}const Z={'label':_0x3a0a20(0x27a),'value':'__default__'},Se={[c['ChartTypeBits'][_0x3a0a20(0x65b)]]:(0x0,v[_0x3a0a20(0x523)])(g[_0x3a0a20(0x697)],{}),[c[_0x3a0a20(0x5db)][_0x3a0a20(0x215)]]:(0x0,v[_0x3a0a20(0x523)])(g['ColumnChartIcon'],{}),[c['ChartTypeBits'][_0x3a0a20(0x427)]]:(0x0,v['jsx'])(g[_0x3a0a20(0x6bd)],{}),[c[_0x3a0a20(0x5db)]['BarStacked']]:(0x0,v[_0x3a0a20(0x523)])(g[_0x3a0a20(0x6bd)],{}),[c[_0x3a0a20(0x5db)][_0x3a0a20(0x526)]]:(0x0,v[_0x3a0a20(0x523)])(g[_0x3a0a20(0x6bd)],{}),[c['ChartTypeBits']['Pie']]:(0x0,v[_0x3a0a20(0x523)])(g['PieChartIcon'],{}),[c['ChartTypeBits'][_0x3a0a20(0x245)]]:(0x0,v['jsx'])(g[_0x3a0a20(0x5b9)],{}),[c[_0x3a0a20(0x5db)][_0x3a0a20(0x2d9)]]:(0x0,v['jsx'])(g['AreaChartIcon'],{}),[c[_0x3a0a20(0x5db)][_0x3a0a20(0x4eb)]]:(0x0,v[_0x3a0a20(0x523)])(g[_0x3a0a20(0x67e)],{}),[c['ChartTypeBits'][_0x3a0a20(0x223)]]:(0x0,v[_0x3a0a20(0x523)])(g[_0x3a0a20(0x67e)],{}),[c[_0x3a0a20(0x5db)]['Radar']]:(0x0,v[_0x3a0a20(0x523)])(g[_0x3a0a20(0x34c)],{}),[c[_0x3a0a20(0x5db)]['Combination']]:(0x0,v[_0x3a0a20(0x523)])(g[_0x3a0a20(0x482)],{}),[c[_0x3a0a20(0x5db)][_0x3a0a20(0x59d)]]:(0x0,v[_0x3a0a20(0x523)])(g[_0x3a0a20(0x6a3)],{}),[c[_0x3a0a20(0x5db)]['None']]:void 0x0,[c['ChartTypeBits']['ColumnStacked']]:(0x0,v[_0x3a0a20(0x523)])(g['ColumnChartIcon'],{}),[c[_0x3a0a20(0x5db)][_0x3a0a20(0x407)]]:(0x0,v['jsx'])(g[_0x3a0a20(0x524)],{}),[c[_0x3a0a20(0x5db)]['WordCloud']]:(0x0,v[_0x3a0a20(0x523)])(g[_0x3a0a20(0x28e)],{}),[c[_0x3a0a20(0x5db)][_0x3a0a20(0x33b)]]:(0x0,v[_0x3a0a20(0x523)])(g[_0x3a0a20(0x5f0)],{}),[c[_0x3a0a20(0x5db)][_0x3a0a20(0x4a4)]]:(0x0,v[_0x3a0a20(0x523)])(g[_0x3a0a20(0x3af)],{}),[c['ChartTypeBits'][_0x3a0a20(0x24b)]]:(0x0,v['jsx'])(g[_0x3a0a20(0x675)],{}),[c[_0x3a0a20(0x5db)]['Waterfall']]:(0x0,v[_0x3a0a20(0x523)])(g['WaterfallChartIcon'],{}),[c[_0x3a0a20(0x5db)][_0x3a0a20(0x563)]]:(0x0,v['jsx'])(g[_0x3a0a20(0x482)],{}),[c[_0x3a0a20(0x5db)][_0x3a0a20(0x475)]]:(0x0,v[_0x3a0a20(0x523)])(g[_0x3a0a20(0x5fb)],{}),[c[_0x3a0a20(0x5db)][_0x3a0a20(0x33e)]]:(0x0,v['jsx'])(g[_0x3a0a20(0x5da)],{}),[c[_0x3a0a20(0x5db)][_0x3a0a20(0x58f)]]:(0x0,v[_0x3a0a20(0x523)])(g[_0x3a0a20(0x385)],{})},Ce=he[_0x3a0a20(0x6b4)](_0x5c45c6=>[c[_0x3a0a20(0x5db)][_0x3a0a20(0x65b)],c['ChartTypeBits'][_0x3a0a20(0x215)],c['ChartTypeBits'][_0x3a0a20(0x2d9)]][_0x3a0a20(0x2df)](_0x2341f0=>String(_0x2341f0))[_0x3a0a20(0x29f)](String(_0x5c45c6['value'])))[_0x3a0a20(0x2df)](({label:_0x29f51e,value:_0x5b9f41})=>({'label':_0x29f51e,'value':String(_0x5b9f41)})),we=[{'label':_0x3a0a20(0x6db),'value':_0x3a0a20(0x332)},{'label':_0x3a0a20(0x6d5),'value':'xAxisTitle'},{'label':_0x3a0a20(0x1ab),'value':'yAxisTitle'},{'label':_0x3a0a20(0x349),'value':_0x3a0a20(0x3e0)}];function Te(){const _0x246015=_0x3a0a20;return{'label':_0x246015(0x3e5),'value':c['defaultChartConfig'][_0x246015(0x303)]};}const Ee=[0x1,0.9,0.7,0.5,0.3,0.2,0.1,0x0]['map'](_0xd573c=>({'label':_0xd573c*0x64+'%','value':String(_0xd573c)})),Q=[{'label':_0x3a0a20(0x5ba),'value':c[_0x3a0a20(0x2a5)]['Solid']},{'label':_0x3a0a20(0x41f),'value':c['ChartBorderDashType'][_0x3a0a20(0x3a9)]},{'label':_0x3a0a20(0x6ca),'value':c[_0x3a0a20(0x2a5)][_0x3a0a20(0x348)]}],De=[{'label':_0x3a0a20(0x45b),'value':c['LinePointShape']['Circle']},{'label':'sheets-chart-ui.shape.square','value':c[_0x3a0a20(0x493)][_0x3a0a20(0x689)]},{'label':_0x3a0a20(0x486),'value':c[_0x3a0a20(0x493)][_0x3a0a20(0x1cf)]},{'label':'sheets-chart-ui.shape.diamond','value':c[_0x3a0a20(0x493)][_0x3a0a20(0x1eb)]},{'label':_0x3a0a20(0x2b8),'value':c['LinePointShape'][_0x3a0a20(0x4d6)]},{'label':_0x3a0a20(0x2fc),'value':c[_0x3a0a20(0x493)][_0x3a0a20(0x4dc)]},{'label':'sheets-chart-ui.shape.pin','value':c[_0x3a0a20(0x493)][_0x3a0a20(0x4c2)]},{'label':_0x3a0a20(0x2e0),'value':c[_0x3a0a20(0x493)][_0x3a0a20(0x400)]},{'label':_0x3a0a20(0x559),'value':c['LinePointShape'][_0x3a0a20(0x5c0)]},{'label':_0x3a0a20(0x402),'value':c[_0x3a0a20(0x493)][_0x3a0a20(0x668)]},{'label':_0x3a0a20(0x309),'value':c[_0x3a0a20(0x493)][_0x3a0a20(0x2ea)]},{'label':_0x3a0a20(0x5f1),'value':c['LinePointShape'][_0x3a0a20(0x323)]},{'label':_0x3a0a20(0x67a),'value':c[_0x3a0a20(0x493)][_0x3a0a20(0x356)]},{'label':_0x3a0a20(0x1aa),'value':c['LinePointShape'][_0x3a0a20(0x22a)]},{'label':_0x3a0a20(0x3b6),'value':c[_0x3a0a20(0x493)][_0x3a0a20(0x556)]},{'label':'sheets-chart-ui.shape.emptyPin','value':c['LinePointShape'][_0x3a0a20(0x538)]},{'label':_0x3a0a20(0x5c9),'value':c['LinePointShape'][_0x3a0a20(0x1d9)]}],Oe=[0x0,0x2,0x5,0x7,0xa,0xe]['map'](_0x50c20a=>({'label':_0x50c20a+'px','value':String(_0x50c20a)})),ke=[0x0,0x1,0x2,0x4,0x8][_0x3a0a20(0x2df)](_0x36808e=>({'label':_0x36808e+'px','value':String(_0x36808e)})),Ae=[-0x5a,-0x3c,-0x2d,-0x1e,0x0,0x1e,0x2d,0x3c,0x5a]['map'](_0x29fb7d=>({'label':_0x29fb7d+'°','value':String(_0x29fb7d)})),je=[{'label':'sheets-chart-ui.trendline.linear','value':c['ChartTrendlineType'][_0x3a0a20(0x3fc)]},{'label':_0x3a0a20(0x696),'value':c['ChartTrendlineType'][_0x3a0a20(0x5a4)]},{'label':_0x3a0a20(0x63c),'value':c[_0x3a0a20(0x591)]['log']},{'label':_0x3a0a20(0x5fc),'value':c['ChartTrendlineType'][_0x3a0a20(0x547)]},{'label':_0x3a0a20(0x2bc),'value':c[_0x3a0a20(0x591)][_0x3a0a20(0x49a)]},{'label':_0x3a0a20(0x23c),'value':c[_0x3a0a20(0x591)]['poly']}],Me={[c[_0x3a0a20(0x591)][_0x3a0a20(0x3fc)]]:(0x0,v[_0x3a0a20(0x523)])(g[_0x3a0a20(0x564)],{}),[c[_0x3a0a20(0x591)][_0x3a0a20(0x5a4)]]:(0x0,v[_0x3a0a20(0x523)])(g[_0x3a0a20(0x306)],{}),[c[_0x3a0a20(0x591)][_0x3a0a20(0x36e)]]:(0x0,v[_0x3a0a20(0x523)])(g[_0x3a0a20(0x1e4)],{}),[c[_0x3a0a20(0x591)][_0x3a0a20(0x547)]]:(0x0,v['jsx'])(g[_0x3a0a20(0x55b)],{}),[c[_0x3a0a20(0x591)][_0x3a0a20(0x49a)]]:(0x0,v['jsx'])(g[_0x3a0a20(0x4ac)],{}),[c[_0x3a0a20(0x591)]['poly']]:(0x0,v[_0x3a0a20(0x523)])(g[_0x3a0a20(0x3a2)],{})},Ne=[0x2,0x3,0x4,0x5,0x6]['map'](_0x3e9d7f=>({'label':''+_0x3e9d7f,'value':String(_0x3e9d7f)})),$=[c[_0x3a0a20(0x2a9)][_0x3a0a20(0x50d)],c[_0x3a0a20(0x2a9)][_0x3a0a20(0x48d)],c['SeriesLabelPosition']['Left'],c[_0x3a0a20(0x2a9)][_0x3a0a20(0x543)],c[_0x3a0a20(0x2a9)][_0x3a0a20(0x592)],c[_0x3a0a20(0x2a9)][_0x3a0a20(0x443)]][_0x3a0a20(0x2df)](_0x52a0a9=>({'label':'sheets-chart-ui.positionType.'+_0x52a0a9,'value':_0x52a0a9})),Pe=[c['PieLabelPosition'][_0x3a0a20(0x48d)],c[_0x3a0a20(0x1b0)]['Outside']][_0x3a0a20(0x2df)](_0x2ca62b=>({'label':'sheets-chart-ui.positionType.'+_0x2ca62b,'value':_0x2ca62b})),Fe=[c['LegendPositionEnum'][_0x3a0a20(0x592)],c['LegendPositionEnum'][_0x3a0a20(0x443)],c[_0x3a0a20(0x43f)][_0x3a0a20(0x6cf)],c['LegendPositionEnum'][_0x3a0a20(0x543)],c[_0x3a0a20(0x43f)]['Hide']][_0x3a0a20(0x2df)](_0x568d41=>({'label':_0x3a0a20(0x6d6)+_0x568d41,'value':_0x568d41})),Ie=[c['SelectModeEnum'][_0x3a0a20(0x4f1)],c[_0x3a0a20(0x1b5)][_0x3a0a20(0x239)],c[_0x3a0a20(0x1b5)][_0x3a0a20(0x62e)]][_0x3a0a20(0x2df)](_0x4c2285=>({'label':'sheets-chart-ui.legendSelectModeType.'+_0x4c2285,'value':_0x4c2285})),Le=['continuous',_0x3a0a20(0x44b)]['map'](_0x2d89a8=>({'label':_0x3a0a20(0x64c)+_0x2d89a8,'value':_0x2d89a8})),Re=[c[_0x3a0a20(0x333)][_0x3a0a20(0x592)],c[_0x3a0a20(0x333)][_0x3a0a20(0x443)],c['TitlePositionEnum']['Left'],c['TitlePositionEnum'][_0x3a0a20(0x543)],c[_0x3a0a20(0x333)][_0x3a0a20(0x5b0)]][_0x3a0a20(0x2df)](_0x2e5165=>({'label':_0x3a0a20(0x6d6)+_0x2e5165,'value':_0x2e5165})),ze=[c[_0x3a0a20(0x1fa)][_0x3a0a20(0x5fd)],c[_0x3a0a20(0x1fa)][_0x3a0a20(0x49b)],c[_0x3a0a20(0x1fa)][_0x3a0a20(0x497)]]['map'](_0x46c480=>({'label':'sheets-chart-ui.axisPositionType.'+_0x46c480,'value':_0x46c480}));[c[_0x3a0a20(0x235)][_0x3a0a20(0x6cf)],c[_0x3a0a20(0x235)][_0x3a0a20(0x49b)],c[_0x3a0a20(0x235)]['Right']]['map'](_0x14e44e=>({'label':_0x3a0a20(0x2c0)+_0x14e44e,'value':_0x14e44e})),[c[_0x3a0a20(0x58a)][_0x3a0a20(0x592)],c['TextVerticalAlign']['Middle'],c[_0x3a0a20(0x58a)][_0x3a0a20(0x443)]][_0x3a0a20(0x2df)](_0x437283=>({'label':_0x3a0a20(0x2c8)+_0x437283,'value':_0x437283}));const Be=[{'value':_0x3a0a20(0x5b7),'label':_0x3a0a20(0x2b9)},{'value':'yAxis','label':_0x3a0a20(0x358)},{'value':'rightYAxis','label':'sheets-chart-ui.axes.rightAxis'}],Ve=[0x1,0x2,0x3][_0x3a0a20(0x2df)](_0x1e057c=>({'label':_0x1e057c+'px','value':String(_0x1e057c)})),He=[{'label':_0x3a0a20(0x39a),'value':''},{'label':_0x3a0a20(0x363),'value':c['StackType'][_0x3a0a20(0x479)]},{'label':_0x3a0a20(0x4e3),'value':c[_0x3a0a20(0x593)][_0x3a0a20(0x2f3)]}],Ue=[{'label':_0x3a0a20(0x2db),'value':c['AreaLineStyle'][_0x3a0a20(0x65b)]},{'label':_0x3a0a20(0x2c9),'value':c['AreaLineStyle'][_0x3a0a20(0x61a)]},{'label':'sheets-chart-ui.lineType.step','value':c['AreaLineStyle'][_0x3a0a20(0x3aa)]}],We=[0x0,0.25,0.5,0.75]['map'](_0x58fca8=>({'label':_0x58fca8*0x64+'%','value':String(_0x58fca8)})),Ge=[{'label':_0x3a0a20(0x3e1),'value':c[_0x3a0a20(0x32e)][_0x3a0a20(0x638)]},{'label':_0x3a0a20(0x45b),'value':c[_0x3a0a20(0x32e)][_0x3a0a20(0x60b)]}],Ke=[{'label':'sheets-chart-ui.invalidType.gaps','value':c['InvalidValueType']['Break']},{'label':_0x3a0a20(0x6c2),'value':c['InvalidValueType'][_0x3a0a20(0x367)]},{'label':_0x3a0a20(0x405),'value':c['InvalidValueType'][_0x3a0a20(0x294)]}],qe=[c[_0x3a0a20(0x3d6)][_0x3a0a20(0x365)],c[_0x3a0a20(0x3d6)][_0x3a0a20(0x3a8)],c[_0x3a0a20(0x3d6)]['Value'],c[_0x3a0a20(0x3d6)]['Percentage']],Je=[{'label':_0x3a0a20(0x4dd),'value':c[_0x3a0a20(0x3d6)]['CategoryName']},{'label':'sheets-chart-ui.series','value':c[_0x3a0a20(0x3d6)]['SeriesName']},{'label':'sheets-chart-ui.value','value':c[_0x3a0a20(0x3d6)][_0x3a0a20(0x22c)]},{'label':_0x3a0a20(0x282),'value':c[_0x3a0a20(0x3d6)][_0x3a0a20(0x6d3)]}][_0x3a0a20(0x2df)](_0x28798c=>({..._0x28798c,'value':String(_0x28798c[_0x3a0a20(0x3e9)])})),Ye=Je['filter'](_0x262253=>_0x262253[_0x3a0a20(0x3e9)]!==String(c[_0x3a0a20(0x3d6)][_0x3a0a20(0x3a8)])),Xe=[0x6,0xc,0x12,0x18][_0x3a0a20(0x2df)](_0x46d080=>({'label':_0x46d080+'px','value':String(_0x46d080)})),Ze=[0x1,0x2,0x4,0x8][_0x3a0a20(0x2df)](_0x18d623=>({'label':_0x18d623+'px','value':String(_0x18d623)})),Qe=[{'label':_0x3a0a20(0x571),'value':_0x3a0a20(0x620)},{'label':_0x3a0a20(0x32f),'value':_0x3a0a20(0x2ef)},{'label':_0x3a0a20(0x393),'value':_0x3a0a20(0x28b)}],$e=[{'label':_0x3a0a20(0x41b),'suffix':_0x3a0a20(0x461)},{'label':'1930/08/05','suffix':_0x3a0a20(0x690)},{'label':'1930年08月05日','suffix':_0x3a0a20(0x276)},{'label':_0x3a0a20(0x1d5),'suffix':_0x3a0a20(0x3a3)},{'label':'8月5日','suffix':_0x3a0a20(0x581)},{'label':_0x3a0a20(0x315),'suffix':_0x3a0a20(0x2c4)},{'label':_0x3a0a20(0x305),'suffix':_0x3a0a20(0x296)},{'label':_0x3a0a20(0x2cf),'suffix':_0x3a0a20(0x2ce)},{'label':_0x3a0a20(0x61b),'suffix':'A/P\x20h:mm'},{'label':_0x3a0a20(0x448),'suffix':_0x3a0a20(0x29c)},{'label':_0x3a0a20(0x266),'suffix':_0x3a0a20(0x5de)}],et=[{'label':'(1,235)','suffix':_0x3a0a20(0x656)},{'label':_0x3a0a20(0x3bc),'suffix':_0x3a0a20(0x639),'color':_0x3a0a20(0x603)},{'label':_0x3a0a20(0x49e),'suffix':_0x3a0a20(0x579)},{'label':_0x3a0a20(0x49e),'suffix':_0x3a0a20(0x492),'color':_0x3a0a20(0x603)},{'label':_0x3a0a20(0x54f),'suffix':_0x3a0a20(0x1c0)},{'label':_0x3a0a20(0x54f),'suffix':_0x3a0a20(0x57e),'color':'red'}],tt=[{'label':_0x2dd5d7=>_0x2dd5d7+_0x3a0a20(0x3f1),'suffix':_0x33ef7a=>'\x22'+_0x33ef7a+'\x22#,##0.00_);\x22'+_0x33ef7a+'\x22#,##0.00'},{'label':_0x4f4c4d=>_0x4f4c4d+_0x3a0a20(0x3f1),'suffix':_0x2c8bbd=>'\x22'+_0x2c8bbd+_0x3a0a20(0x490)+_0x2c8bbd+_0x3a0a20(0x47e),'color':_0x3a0a20(0x603)},{'label':_0x2ac599=>'('+_0x2ac599+_0x3a0a20(0x274),'suffix':_0x14578a=>'\x22'+_0x14578a+_0x3a0a20(0x31e)+_0x14578a+'\x22#,##0.00)'},{'label':_0x4b6b46=>'('+_0x4b6b46+'1,235)','suffix':_0x3b5cfb=>'\x22'+_0x3b5cfb+_0x3a0a20(0x458)+_0x3b5cfb+'\x22#,##0.00)','color':_0x3a0a20(0x603)},{'label':_0x451e92=>'-'+_0x451e92+_0x3a0a20(0x3f1),'suffix':_0x37ba14=>'\x22'+_0x37ba14+_0x3a0a20(0x65d)+_0x37ba14+_0x3a0a20(0x47e)},{'label':_0x49d0d6=>'-'+_0x49d0d6+_0x3a0a20(0x3f1),'suffix':_0x3edd3e=>'\x22'+_0x3edd3e+_0x3a0a20(0x2d5)+_0x3edd3e+_0x3a0a20(0x47e),'color':_0x3a0a20(0x603)}],nt=_0x3a0a20(0x4ce),rt=_0x3a0a20(0x2bb),it=[{'label':'sheets-chart-ui.waterfall.arrangement','value':c[_0x3a0a20(0x5df)]['Arrangement']},{'label':_0x3a0a20(0x273),'value':c[_0x3a0a20(0x5df)][_0x3a0a20(0x479)]}],at=_0x4af63e=>{const _0x3c3b85=_0x3a0a20;let {className:_0x58cd01}=_0x4af63e,_0xa56749=(0x0,o['useDependency'])(t[_0x3c3b85(0x350)]),[_0x372fc5,_0x3f6ecd]=X(_0x3c3b85(0x42d)),[_0x4cc0c8,_0x288b4e]=X(_0x3c3b85(0x5ae)),_0x59cfbb=Ge[_0x3c3b85(0x2df)](_0x2dfa97=>({..._0x2dfa97,'label':_0xa56749['t'](_0x2dfa97[_0x3c3b85(0x609)])}));return(0x0,v[_0x3c3b85(0x412)])(_0x3c3b85(0x5e9),{'className':_0x58cd01,'children':[(0x0,v['jsx'])(_0x3c3b85(0x5e9),{'children':(0x0,v[_0x3c3b85(0x523)])(f[_0x3c3b85(0x22f)],{'value':_0x372fc5==null?c[_0x3c3b85(0x5ce)][_0x3c3b85(0x280)][_0x3c3b85(0x3bf)]:_0x372fc5,'items':_0x59cfbb,'onChange':_0x3f6ecd})}),(0x0,v['jsx'])(_0x3c3b85(0x5e9),{'className':_0x3c3b85(0x4be),'children':(0x0,v[_0x3c3b85(0x523)])(f['Checkbox'],{'checked':!!_0x4cc0c8,'onChange':_0x5bc0ca=>{_0x288b4e(!!_0x5bc0ca);},'children':_0xa56749['t'](_0x3c3b85(0x272))})})]});},ot=()=>{const _0xcc079b=_0x3a0a20;var _0x1dbabe,_0x537e45,_0x1babf8;let _0x32c947=(0x0,o[_0xcc079b(0x510)])(t[_0xcc079b(0x350)]),[_0x5e37d4]=X(_0xcc079b(0x551)),[_0x1090bd]=X(_0xcc079b(0x597)),[_0x5a8e28]=X(_0xcc079b(0x3e6)),[_0x285721,_0x3e2d2d]=X(d['ChartPointMappingStateKey'][_0xcc079b(0x6c7)]),[_0x1797e4,_0x11aa60]=X(d[_0xcc079b(0x1ea)][_0xcc079b(0x375)]),[_0x290b3a,_0xd8c174]=X(d['ChartPointMappingStateKey']['ScatterLabelIndex']),[_0x18c0ca,_0x40fc22]=X(d[_0xcc079b(0x1ea)][_0xcc079b(0x35c)]),[_0x181c68,_0x5318f3]=X(d[_0xcc079b(0x1ea)][_0xcc079b(0x4a1)]),_0x210331=_0x15c983=>{_0x5318f3(_0x15c983);};return(0x0,v[_0xcc079b(0x412)])('div',{'className':_0xcc079b(0x4ab),'children':[(0x0,v[_0xcc079b(0x523)])(_0xcc079b(0x5e9),{'className':_0xcc079b(0x5b1),'children':_0x32c947['t'](_0xcc079b(0x5bc))}),(0x0,v['jsx'])(f[_0xcc079b(0x4c3)],{'className':'univer-w-full\x20!univer-min-w-0','value':typeof _0x290b3a=='number'?String(_0x290b3a):'','options':_0x1090bd||[],'onChange':_0x19d577=>_0xd8c174(Number(_0x19d577))}),(0x0,v[_0xcc079b(0x523)])(_0xcc079b(0x5e9),{'className':_0xcc079b(0x5b1),'children':_0x32c947['t'](_0xcc079b(0x1d3))}),(0x0,v[_0xcc079b(0x523)])(f[_0xcc079b(0x4c3)],{'className':_0xcc079b(0x45f),'value':_0x285721===void 0x0?(_0x1dbabe=(_0x5a8e28||[])[c[_0xcc079b(0x5c6)]['X']])==null?void 0x0:_0x1dbabe[_0xcc079b(0x3e9)]:String(_0x285721),'options':_0x5a8e28||[],'onChange':_0x3f4418=>_0x3e2d2d(Number(_0x3f4418))}),(0x0,v[_0xcc079b(0x523)])(_0xcc079b(0x5e9),{'className':_0xcc079b(0x5b1),'children':_0x32c947['t'](_0xcc079b(0x50b))}),(0x0,v['jsx'])(f[_0xcc079b(0x4c3)],{'className':_0xcc079b(0x45f),'value':_0x1797e4===void 0x0?(_0x537e45=(_0x5a8e28||[])[c[_0xcc079b(0x5c6)]['Y']])==null?void 0x0:_0x537e45[_0xcc079b(0x3e9)]:String(_0x1797e4),'options':_0x5a8e28,'onChange':_0x1b3169=>{_0x11aa60(Number(_0x1b3169));}}),(0x0,v[_0xcc079b(0x523)])(_0xcc079b(0x5e9),{'className':_0xcc079b(0x5b1),'children':_0x32c947['t'](_0xcc079b(0x1f6))}),(0x0,v[_0xcc079b(0x523)])(f[_0xcc079b(0x4c3)],{'className':'univer-w-full\x20!univer-min-w-0','value':_0x18c0ca===void 0x0?'':String(_0x18c0ca),'options':_0x1090bd,'onChange':_0x1ab367=>{_0x40fc22(Number(_0x1ab367));}}),(0x0,v[_0xcc079b(0x523)])('div',{'className':'univer-my-2\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x32c947['t'](_0xcc079b(0x568))}),(0x0,v[_0xcc079b(0x523)])(f[_0xcc079b(0x4c3)],{'className':_0xcc079b(0x45f),'value':_0x181c68?String(_0x181c68):(_0x1babf8=(_0x5a8e28||[])[c[_0xcc079b(0x5c6)][_0xcc079b(0x31f)]])==null?void 0x0:_0x1babf8[_0xcc079b(0x3e9)],'options':_0x5e37d4,'onChange':_0xeda734=>_0x210331(Number(_0xeda734))})]});},st=_0x3e1672=>_0x3e1672[_0x3a0a20(0x39c)](t[_0x3a0a20(0x4bc)][_0x3a0a20(0x275)])[_0x3a0a20(0x378)](),ct=_0x26d029=>{const _0x40c918=_0x3a0a20;var _0x63e41e;return(_0x63e41e=_0x26d029[_0x40c918(0x39c)](t[_0x40c918(0x4bc)][_0x40c918(0x275)])[_0x40c918(0x325)]())==null?void 0x0:_0x63e41e[_0x40c918(0x3f7)]();},lt=[c[_0x3a0a20(0x5db)][_0x3a0a20(0x2d9)],c[_0x3a0a20(0x5db)][_0x3a0a20(0x427)]];function ut(_0x577243){const _0x5dcd78=_0x3a0a20;return(0x0,v['jsx'])(v[_0x5dcd78(0x534)],{'children':_0x577243['map'](_0x470e47=>(0x0,v[_0x5dcd78(0x523)])(_0x5dcd78(0x5e9),{'className':_0x5dcd78(0x2de),'style':{'backgroundColor':_0x470e47}},_0x470e47))});}function dt(_0x10d7be,_0x28de36){const _0x23d7e5=_0x3a0a20;return _0x10d7be[_0x23d7e5(0x2df)](_0x105c07=>({'label':(0x0,v['jsx'])(_0x23d7e5(0x5e9),{'className':'univer-flex\x20univer-h-7\x20univer-w-full\x20univer-flex-row\x20univer-items-center','children':ut(_0x28de36[_0x23d7e5(0x683)](_0x105c07))}),'value':_0x105c07}));}const ft=()=>{const _0x2c64e4=_0x3a0a20;var _0x146885;let _0x1c2d7d=(0x0,o[_0x2c64e4(0x510)])(be),_0x3b6dc8=(0x0,o[_0x2c64e4(0x510)])(t[_0x2c64e4(0x40a)]),_0x1f4c8c=(0x0,o[_0x2c64e4(0x510)])(t[_0x2c64e4(0x350)]),_0x2649b7=(0x0,o[_0x2c64e4(0x510)])(c[_0x2c64e4(0x33c)]),_0x19c402=_0x2649b7[_0x2c64e4(0x2a0)](),_0x14896e=(0x0,e[_0x2c64e4(0x279)])((0x0,o[_0x2c64e4(0x510)])(t[_0x2c64e4(0x2c7)])),_0x3d7def=(0x0,h['useMemo'])(()=>Y(he['concat'](),_0x14896e)[_0x2c64e4(0x2df)](_0x51866b=>({'label':(0x0,v['jsxs'])('div',{'className':_0x2c64e4(0x514),'children':[(0x0,v[_0x2c64e4(0x523)])(_0x2c64e4(0x5e9),{'className':_0x2c64e4(0x422),'children':Se==null?void 0x0:Se[_0x51866b[_0x2c64e4(0x3e9)]]}),(0x0,v[_0x2c64e4(0x523)])(_0x2c64e4(0x5e9),{'className':'univer-text-sm\x20univer-text-gray-900\x20dark:!univer-text-white','children':_0x1f4c8c['t'](_0x51866b['label'])})]}),'value':String(_0x51866b['value'])})),[_0x1f4c8c]),[_0x57bef7,_0x1a974c]=(0x0,h[_0x2c64e4(0x4e0)])(!0x1);(0x0,h[_0x2c64e4(0x37e)])(()=>{const _0x3aff1b=_0x2c64e4;_0x1c2d7d[_0x3aff1b(0x6b8)](_0x57bef7);},[_0x57bef7,_0x1c2d7d]);let _0x2ad187=Ke[_0x2c64e4(0x2df)](_0x340f8c=>({..._0x340f8c,'label':_0x1f4c8c['t'](_0x340f8c[_0x2c64e4(0x609)])})),_0x11c3c8=He[_0x2c64e4(0x2df)](_0x205ddd=>({..._0x205ddd,'label':_0x1f4c8c['t'](_0x205ddd['label'])})),_0xde118c=Ue['map'](_0x29549d=>({..._0x29549d,'label':_0x1f4c8c['t'](_0x29549d['label'])})),_0x2c97f8=it['map'](_0x330971=>({..._0x330971,'label':_0x1f4c8c['t'](_0x330971['label'])})),_0x21ec80=dt(_0x19c402,_0x2649b7),_0x46d1d1=st(_0x3b6dc8),_0x211a9b=ct(_0x3b6dc8),_0x5cbfc6=(0x0,o[_0x2c64e4(0x510)])(t[_0x2c64e4(0x4d9)]),[_0x38d47f,_0x1c0eec]=X(_0x2c64e4(0x4e7)),[_0x37a4f3,_0x12b2f3]=X('dataRange'),[_0x2a6c3f,_0x276481]=X(_0x2c64e4(0x671)),[_0x1e3c17,_0x5b4713]=X(_0x2c64e4(0x5a1)),[_0x47a287]=X(_0x2c64e4(0x357)),[_0x3755cc]=X(_0x2c64e4(0x597)),[_0x129896,_0x361067]=X(_0x2c64e4(0x68d)),[_0x1fc938]=X(_0x2c64e4(0x3e6)),[_0x29267f,_0x52bc58]=X(_0x2c64e4(0x3b7)),[_0x335eec,_0x436ccb]=X('useSubtotal'),[_0xef7301,_0x56b9cc]=X(_0x2c64e4(0x660)),[_0x447979,_0x23e6dc]=X(_0x2c64e4(0x553)),[_0x389d88,_0x29e6c9]=X('chartThemeColorType'),[_0x3cb182,_0x27bd83]=X(_0x2c64e4(0x640)),_0x4e50b3=(0x0,h[_0x2c64e4(0x646)])(()=>_0x3cb182===void 0x0?_0x38d47f?c['chartBitsUtils'][_0x2c64e4(0x4b3)](_0x38d47f,c[_0x2c64e4(0x5db)]['Area']):!0x1:_0x3cb182,[_0x3cb182,_0x38d47f]),[_0x165f5d,_0x71214e]=X(_0x2c64e4(0x372)),[_0x4a9fa9,_0x27877f]=X(_0x2c64e4(0x391)),[_0x43b0d4,_0x169f0d]=X(_0x2c64e4(0x673)),[_0x42b1bd,_0x2c051d]=X('funnelGap'),[_0x18cfcc,_0x5759b3]=X(_0x2c64e4(0x1f5)),_0x39f432=_0x38d47f&<[_0x2c64e4(0x1ec)](_0x59d3f8=>c[_0x2c64e4(0x442)][_0x2c64e4(0x4b3)](_0x38d47f,_0x59d3f8)),_0x154014=_0x38d47f&&[c[_0x2c64e4(0x5db)][_0x2c64e4(0x2d9)],c[_0x2c64e4(0x5db)][_0x2c64e4(0x65b)]][_0x2c64e4(0x1ec)](_0x156f68=>c[_0x2c64e4(0x442)][_0x2c64e4(0x4b3)](_0x38d47f,_0x156f68)),_0x29e96a=_0x38d47f&&[c[_0x2c64e4(0x5db)]['Line'],c['ChartTypeBits']['Radar'],c[_0x2c64e4(0x5db)][_0x2c64e4(0x1f9)],c['ChartTypeBits'][_0x2c64e4(0x59d)]][_0x2c64e4(0x247)](_0x4f66e9=>_0x4f66e9!==_0x38d47f),_0x13962e=_0x47a287===c[_0x2c64e4(0x67c)][_0x2c64e4(0x634)]||typeof _0x1e3c17!=_0x2c64e4(0x382),_0x974422=_0x38d47f&&[c['ChartTypeBits'][_0x2c64e4(0x604)],c[_0x2c64e4(0x5db)][_0x2c64e4(0x245)]][_0x2c64e4(0x1ec)](_0x3e352f=>_0x38d47f===_0x3e352f),_0x5b050d=!_0x974422||_0x974422&&_0x129896&&(_0x129896==null?void 0x0:_0x129896[_0x2c64e4(0x687)])<0x1,_0x464008=_0x38d47f&&c[_0x2c64e4(0x442)][_0x2c64e4(0x4b3)](_0x38d47f,c[_0x2c64e4(0x5db)]['Waterfall']),_0x3a7fbb=_0x38d47f&&(0x0,c[_0x2c64e4(0x406)])(_0x38d47f),[_0x4d22c3,_0x34460d]=X(_0x2c64e4(0x1cd)),_0x2cd99a=_0x38d47f&&_0x38d47f===c[_0x2c64e4(0x5db)][_0x2c64e4(0x24b)],_0xc5cb29=_0x38d47f&&_0x38d47f===c[_0x2c64e4(0x5db)][_0x2c64e4(0x475)],_0xbf3f10=_0x38d47f&&_0x38d47f===c[_0x2c64e4(0x5db)]['Heatmap'],_0x379872=_0x38d47f&&_0x38d47f===c['ChartTypeBits'][_0x2c64e4(0x58f)],_0x290aa6=_0x38d47f&&c['chartBitsUtils']['baseOn'](_0x38d47f,c[_0x2c64e4(0x5db)][_0x2c64e4(0x4a4)]),_0x34c81c=_0x136fbb=>{const _0x55ae21=_0x2c64e4;_0x4d22c3&&_0x34460d(_0x4d22c3[_0x55ae21(0x6b4)]((_0x11e7e7,_0x14d2d4)=>_0x14d2d4!==_0x136fbb));},_0x8612cd=(_0x435e4b,_0x13dc7a)=>{const _0x163e7a=_0x2c64e4;if(_0x4d22c3){_0x4d22c3[_0x435e4b]['seriesIndex']=_0x13dc7a;let _0x27677c=(_0x1fc938==null?void 0x0:_0x1fc938[_0x13dc7a][_0x163e7a(0x609)])||'';_0x27677c&&(_0x4d22c3[_0x435e4b][_0x163e7a(0x685)]=_0x1f4c8c['t'](_0x163e7a(0x4a5))+'-'+_0x1f4c8c['t'](_0x163e7a(0x4f6))+'-('+_0x27677c+')'),_0x34460d(_0x4d22c3[_0x163e7a(0x244)]());}},_0x5cdd6d=!!(_0x38d47f&&c[_0x2c64e4(0x442)][_0x2c64e4(0x4b3)](_0x38d47f,c[_0x2c64e4(0x5db)][_0x2c64e4(0x33b)])),_0x58729d=ke,[_0x491ea1,_0x2e73d6]=(0x0,h['useState'])(!0x1),_0x1edb25=(0x0,h[_0x2c64e4(0x646)])(()=>(0x0,t[_0x2c64e4(0x30b)])(async _0x5724fb=>{const _0x1c8dd3=_0x2c64e4;var _0x226594;if(pe(_0x37a4f3,_0x3b6dc8)===_0x5724fb)return;let {unitId:_0x421cf5,sheetName:_0x4472af,range:_0x19d946}=_0x5724fb[_0x1c8dd3(0x23b)](',')[_0x1c8dd3(0x6b4)](_0x34172b=>!!_0x34172b)[_0x1c8dd3(0x2df)](m['deserializeRangeWithSheet'])[0x0],_0x2df1be=_0x421cf5||_0x46d1d1;_0x12b2f3({'rangeInfo':{'range':_0x19d946,'unitId':_0x2df1be,'subUnitId':((_0x226594=_0x3b6dc8[_0x1c8dd3(0x234)](_0x2df1be)[_0x1c8dd3(0x2aa)](_0x4472af))==null?void 0x0:_0x226594[_0x1c8dd3(0x3f7)]())||(_0x37a4f3==null?void 0x0:_0x37a4f3[_0x1c8dd3(0x208)][_0x1c8dd3(0x650)])},'isRowDirection':!0x0});},0x12c,{'leading':!0x1,'maxWait':0x3e8,'trailing':!0x0}),[_0x12b2f3,_0x46d1d1,_0x3b6dc8]),_0x18340d=_0x5e02bf=>{const _0x3f5a2f=_0x2c64e4;_0x129896&&_0x361067(_0x129896[_0x3f5a2f(0x6b4)]((_0x679a02,_0x4393db)=>_0x4393db!==_0x5e02bf));},_0x91227=_0x38d47f&&(c[_0x2c64e4(0x442)][_0x2c64e4(0x347)](_0x38d47f,c[_0x2c64e4(0x3fa)][_0x2c64e4(0x388)])?c[_0x2c64e4(0x593)]['Percent']:c[_0x2c64e4(0x442)][_0x2c64e4(0x347)](_0x38d47f,c[_0x2c64e4(0x3fa)][_0x2c64e4(0x612)])?c[_0x2c64e4(0x593)]['Stacked']:void 0x0),_0xec5b95=!!(_0x38d47f&&c[_0x2c64e4(0x442)][_0x2c64e4(0x4b3)](_0x38d47f,c['ChartTypeBits'][_0x2c64e4(0x1f9)])),_0xa99fa8=(0x0,h[_0x2c64e4(0x40f)])(_0x135a54=>{const _0x3effa2=_0x2c64e4;if(!_0x38d47f)return;let _0x336b9a=_0x135a54,_0x1e78d8=c[_0x3effa2(0x442)][_0x3effa2(0x1ca)](_0x38d47f,c[_0x3effa2(0x3fa)][_0x3effa2(0x388)]);switch(_0x336b9a){case c[_0x3effa2(0x593)]['Stacked']:_0x1c0eec(_0x1e78d8|c[_0x3effa2(0x3fa)][_0x3effa2(0x612)]);break;case c['StackType'][_0x3effa2(0x2f3)]:_0x1c0eec(_0x1e78d8|c[_0x3effa2(0x3fa)]['PercentStack']);break;default:_0x1c0eec(_0x1e78d8);break;}},[_0x38d47f]);return(0x0,v[_0x2c64e4(0x412)])(_0x2c64e4(0x5e9),{'children':[(0x0,v[_0x2c64e4(0x412)])(_0x2c64e4(0x5e9),{'children':[(0x0,v[_0x2c64e4(0x523)])(d['ChartEditBlockTitle'],{'title':_0x1f4c8c['t']('sheets-chart-ui.chartType')}),(0x0,v['jsx'])(f[_0x2c64e4(0x4c3)],{'className':_0x2c64e4(0x45f),'value':_0x38d47f?String(_0x38d47f):'','options':_0x3d7def,'onChange':_0x562fc8=>_0x1c0eec(Number(_0x562fc8))})]}),_0x38d47f&&(c[_0x2c64e4(0x442)][_0x2c64e4(0x4b3)](_0x38d47f,c[_0x2c64e4(0x5db)][_0x2c64e4(0x2d9)])||c[_0x2c64e4(0x442)][_0x2c64e4(0x4b3)](_0x38d47f,c[_0x2c64e4(0x5db)][_0x2c64e4(0x65b)]))&&(0x0,v[_0x2c64e4(0x523)])(f[_0x2c64e4(0x22f)],{'items':_0xde118c,'className':_0x2c64e4(0x4be),'value':_0x2a6c3f==null?c[_0x2c64e4(0x5ce)][_0x2c64e4(0x394)][_0x2c64e4(0x59f)]:_0x2a6c3f,'onChange':_0x276481}),_0x38d47f===c[_0x2c64e4(0x5db)]['Radar']&&(0x0,v[_0x2c64e4(0x523)])(at,{'className':_0x2c64e4(0x4be)}),(0x0,v[_0x2c64e4(0x412)])(_0x2c64e4(0x5e9),{'children':[(0x0,v[_0x2c64e4(0x523)])(d[_0x2c64e4(0x55c)],{'title':_0x1f4c8c['t'](_0x2c64e4(0x3cc))}),(0x0,v['jsx'])(f['Select'],{'className':_0x2c64e4(0x45f),'value':_0x389d88?String(_0x389d88):'','options':_0x21ec80,'onChange':_0x53c23b=>{_0x29e6c9(_0x53c23b);}})]}),_0x464008&&(0x0,v[_0x2c64e4(0x412)])(v[_0x2c64e4(0x534)],{'children':[(0x0,v[_0x2c64e4(0x523)])(d[_0x2c64e4(0x55c)],{'title':_0x1f4c8c['t'](_0x2c64e4(0x36d))}),(0x0,v[_0x2c64e4(0x523)])(f[_0x2c64e4(0x4c3)],{'className':_0x2c64e4(0x45f),'value':_0x29267f==null?c[_0x2c64e4(0x5ce)][_0x2c64e4(0x1f1)]['stackType']:_0x29267f,'options':_0x2c97f8,'onChange':_0x520b77=>{_0x52bc58(_0x520b77);}}),(0x0,v[_0x2c64e4(0x523)])(_0x2c64e4(0x5e9),{'className':_0x2c64e4(0x6b6),'children':(0x0,v[_0x2c64e4(0x523)])(f[_0x2c64e4(0x439)],{'checked':_0x335eec==null?c[_0x2c64e4(0x5ce)][_0x2c64e4(0x1f1)][_0x2c64e4(0x38a)]:_0x335eec,'onChange':_0x296b7d=>_0x436ccb(!!_0x296b7d),'children':_0x1f4c8c['t'](_0x2c64e4(0x661))})})]}),_0x29e96a&&!_0xec5b95&&!_0x5cdd6d&&!_0x2cd99a&&!_0xc5cb29&&!_0xbf3f10&&!_0x379872&&(0x0,v[_0x2c64e4(0x523)])(_0x2c64e4(0x5e9),{'className':'univer-mt-2\x20univer-text-sm\x20univer-leading-4\x20univer-text-gray-900\x20dark:!univer-text-white','children':(0x0,v[_0x2c64e4(0x523)])(f['Checkbox'],{'checked':!!_0x4e50b3,'onChange':_0x562f0e=>_0x27bd83(!!_0x562f0e),'children':_0x1f4c8c['t'](_0x2c64e4(0x56b))})}),_0x5cdd6d&&(0x0,v[_0x2c64e4(0x412)])(_0x2c64e4(0x5e9),{'className':_0x2c64e4(0x6e3),'children':[(0x0,v['jsx'])(d['ChartEditBlockTitle'],{'title':_0x1f4c8c['t'](_0x2c64e4(0x647))}),(0x0,v[_0x2c64e4(0x523)])(f[_0x2c64e4(0x4c3)],{'className':'univer-w-full\x20!univer-min-w-0','value':String(_0x42b1bd==null?c[_0x2c64e4(0x5ce)][_0x2c64e4(0x19d)][_0x2c64e4(0x3d7)]:_0x42b1bd),'options':_0x58729d,'onChange':_0x2a6ada=>_0x2c051d(Number(_0x2a6ada))}),(0x0,v['jsx'])(_0x2c64e4(0x5e9),{'className':_0x2c64e4(0x5a5),'children':(0x0,v[_0x2c64e4(0x523)])(f[_0x2c64e4(0x439)],{'checked':_0x18cfcc==null?!0x1:_0x18cfcc,'onChange':_0x9f40c=>{_0x5759b3(!!_0x9f40c);},'children':_0x1f4c8c['t'](_0x2c64e4(0x364))})})]}),_0x39f432&&(0x0,v['jsxs'])('div',{'children':[(0x0,v[_0x2c64e4(0x523)])(d[_0x2c64e4(0x55c)],{'title':_0x1f4c8c['t']('sheets-chart-ui.stack')}),(0x0,v[_0x2c64e4(0x523)])(f[_0x2c64e4(0x4c3)],{'className':_0x2c64e4(0x45f),'value':_0x91227||'','options':_0x11c3c8,'onChange':_0xa99fa8})]}),(0x0,v[_0x2c64e4(0x412)])(_0x2c64e4(0x5e9),{'children':[(0x0,v[_0x2c64e4(0x523)])(d[_0x2c64e4(0x55c)],{'title':_0x1f4c8c['t'](_0x2c64e4(0x6ae))}),(0x0,v[_0x2c64e4(0x523)])(_[_0x2c64e4(0x6ac)],{'supportAcrossSheet':!0x0,'keepSheetReference':!0x0,'maxRangeCount':0x1,'unitId':_0x46d1d1,'subUnitId':_0x211a9b,'initialValue':_0x37a4f3?pe(_0x37a4f3,_0x3b6dc8):'','onChange':(_0x1ff119,_0x50dfdc)=>_0x1edb25(_0x50dfdc),'onFocusChange':_0x5cd691=>{_0x491ea1||_0x1a974c(_0x5cd691);},'onRangeSelectorDialogVisibleChange':_0x2b8ea9=>{_0x2b8ea9?(_0x2e73d6(!0x0),_0x1a974c(!0x0)):_0x2e73d6(!0x1);}})]}),!_0x290aa6&&!_0x2cd99a&&!_0xc5cb29&&!_0xbf3f10&&!_0x379872&&(0x0,v[_0x2c64e4(0x412)])(_0x2c64e4(0x5e9),{'children':[(0x0,v[_0x2c64e4(0x523)])(d[_0x2c64e4(0x55c)],{'title':_0x1f4c8c['t'](_0x2c64e4(0x4dd))}),(0x0,v[_0x2c64e4(0x523)])(f['Select'],{'className':_0x2c64e4(0x45f),'value':typeof _0x1e3c17==_0x2c64e4(0x382)?String(_0x1e3c17):'','options':_0x3755cc||[],'onChange':_0x12ba64=>_0x5b4713(Number(_0x12ba64))})]}),(0x0,v[_0x2c64e4(0x412)])('div',{'children':[!_0x290aa6&&!_0x2cd99a&&!_0xc5cb29&&!_0xbf3f10&&!_0x379872&&(0x0,v[_0x2c64e4(0x412)])(v[_0x2c64e4(0x534)],{'children':[(0x0,v[_0x2c64e4(0x523)])(d[_0x2c64e4(0x55c)],{'title':_0x1f4c8c['t'](_0x2c64e4(0x1f6))}),(0x0,v['jsxs'])(_0x2c64e4(0x5e9),{'className':'univer-mt-2','children':[_0x129896==null?void 0x0:_0x129896[_0x2c64e4(0x2df)]((_0x1b9cd0,_0x5f264c)=>(0x0,v[_0x2c64e4(0x412)])(_0x2c64e4(0x5e9),{'className':_0x2c64e4(0x6a2),'children':[(0x0,v[_0x2c64e4(0x523)])(f[_0x2c64e4(0x4c3)],{'className':_0x2c64e4(0x45f),'value':String(_0x1b9cd0),'options':_0x1fc938,'onChange':_0x2b6426=>{const _0x3130de=_0x2c64e4;_0x129896[_0x5f264c]=Number(_0x2b6426),_0x361067(_0x129896[_0x3130de(0x244)]());}}),(0x0,v[_0x2c64e4(0x523)])(_0x2c64e4(0x5e9),{'className':'univer-ml-2\x20univer-flex\x20univer-size-6\x20univer-shrink-0\x20univer-items-center\x20univer-justify-center\x20univer-rounded-sm\x20hover:univer-bg-gray-100\x20dark:hover:!univer-bg-gray-700','onClick':()=>_0x18340d(_0x5f264c),'children':(0x0,v['jsx'])(g[_0x2c64e4(0x62f)],{})})]},_0x5f264c)),_0x5b050d&&_0x1fc938&&!_0xc5cb29&&!_0xbf3f10&&!_0x379872&&(0x0,v[_0x2c64e4(0x523)])(f[_0x2c64e4(0x379)],{'className':_0x2c64e4(0x30d),'items':_0x1fc938[_0x2c64e4(0x2df)](_0x262bd7=>({'type':_0x2c64e4(0x4ec),'children':_0x262bd7[_0x2c64e4(0x609)],'onSelect':()=>{const _0x41901b=_0x2c64e4;_0x361067([..._0x129896||[],Number(_0x262bd7[_0x41901b(0x3e9)])]);}})),'children':(0x0,v['jsxs'])('a',{'className':'univer-mb-2\x20univer-flex\x20univer-cursor-pointer\x20univer-items-center\x20univer-text-primary-600','children':[(0x0,v['jsx'])(g[_0x2c64e4(0x43e)],{'className':_0x2c64e4(0x2d3)}),(0x0,v[_0x2c64e4(0x523)])(_0x2c64e4(0x5f2),{'className':'univer-margin-left-[1.5px]\x20univer-font-weight-500\x20univer-text-xs','children':_0x1f4c8c['t']('sheets-chart-ui.addSeries')})]})})]})]}),_0x3a7fbb&&!_0x290aa6&&!_0x2cd99a&&!_0xc5cb29&&!_0xbf3f10&&!_0x379872&&(0x0,v[_0x2c64e4(0x412)])(v[_0x2c64e4(0x534)],{'children':[(0x0,v['jsx'])(d['ChartEditBlockTitle'],{'title':_0x1f4c8c['t'](_0x2c64e4(0x4f6))}),(0x0,v['jsxs'])('div',{'className':'univer-mt-2','children':[_0x4d22c3==null?void 0x0:_0x4d22c3[_0x2c64e4(0x2df)]((_0x250dad,_0x96c894)=>(0x0,v[_0x2c64e4(0x412)])('div',{'className':_0x2c64e4(0x6a2),'children':[(0x0,v[_0x2c64e4(0x523)])(f[_0x2c64e4(0x4c3)],{'className':'univer-w-full\x20!univer-min-w-0','value':String(_0x250dad[_0x2c64e4(0x685)]),'options':_0x1fc938,'onChange':_0x21fd25=>{_0x8612cd(_0x96c894,Number(_0x21fd25)-0x1);}}),(0x0,v['jsx'])(_0x2c64e4(0x5e9),{'className':_0x2c64e4(0x428),'onClick':()=>_0x34c81c(_0x96c894),'children':(0x0,v[_0x2c64e4(0x523)])(g[_0x2c64e4(0x62f)],{})})]},_0x96c894)),_0x3a7fbb&&_0x1fc938&&(0x0,v[_0x2c64e4(0x523)])(f[_0x2c64e4(0x379)],{'className':_0x2c64e4(0x30d),'items':_0x1fc938['map'](_0x5e8f17=>({'type':_0x2c64e4(0x4ec),'children':_0x5e8f17[_0x2c64e4(0x609)],'onSelect':()=>{const _0x57c89d=_0x2c64e4;let _0x242e04={'seriesIndex':Number(_0x5e8f17['value'])-0x1,'type':c[_0x57c89d(0x591)][_0x57c89d(0x3fc)],'name':_0x1f4c8c['t'](_0x57c89d(0x4a5))+'-'+_0x1f4c8c['t'](_0x57c89d(0x4f6))+'-('+_0x5e8f17[_0x57c89d(0x609)]+')'};_0x34460d([..._0x4d22c3||[],_0x242e04]);}})),'children':(0x0,v[_0x2c64e4(0x412)])('a',{'className':'univer-mb-2\x20univer-flex\x20univer-cursor-pointer\x20univer-items-center\x20univer-text-primary-600','children':[(0x0,v[_0x2c64e4(0x523)])(g[_0x2c64e4(0x43e)],{'className':_0x2c64e4(0x2d3)}),(0x0,v[_0x2c64e4(0x523)])('span',{'className':_0x2c64e4(0x3b5),'children':_0x1f4c8c['t'](_0x2c64e4(0x1b2))})]})})]})]}),_0xbf3f10&&(0x0,v[_0x2c64e4(0x412)])(_0x2c64e4(0x5e9),{'className':'univer-mt-2','children':[(0x0,v[_0x2c64e4(0x523)])(d['ChartEditBlockTitle'],{'title':_0x1f4c8c['t']('sheets-chart-ui.visualMapScope')}),(0x0,v[_0x2c64e4(0x412)])(_0x2c64e4(0x5e9),{'className':_0x2c64e4(0x6e3),'children':[(0x0,v[_0x2c64e4(0x523)])(_0x2c64e4(0x5e9),{'className':_0x2c64e4(0x277),'children':_0x1f4c8c['t'](_0x2c64e4(0x56c))}),(0x0,v['jsx'])(f[_0x2c64e4(0x45d)],{'value':_0xef7301==null?void 0x0:_0xef7301,'onChange':_0x4a4afd=>{const _0x2a5e10=_0x2c64e4;_0x5cbfc6[_0x2a5e10(0x41c)](t[_0x2a5e10(0x2a1)],!0x1),_0x56b9cc(Number[_0x2a5e10(0x1d6)](_0x4a4afd)?null:Number(_0x4a4afd));},'onFocus':()=>_0x5cbfc6[_0x2c64e4(0x41c)](t['FOCUSING_PANEL_EDITOR'],!0x0),'onBlur':_0xeb6a88=>{const _0x5f34d1=_0x2c64e4;_0x5cbfc6[_0x5f34d1(0x41c)](t['FOCUSING_PANEL_EDITOR'],!0x1);let _0x1765a5=_0xeb6a88[_0x5f34d1(0x6da)][_0x5f34d1(0x3e9)];_0x56b9cc(_0x1765a5===''?null:Number(_0x1765a5));},'onPressEnter':_0x7291c2=>{const _0x4add9c=_0x2c64e4;let _0x4da476=_0x7291c2[_0x4add9c(0x6da)][_0x4add9c(0x3e9)];_0x56b9cc(_0x4da476===''?null:Number(_0x4da476));}})]}),(0x0,v[_0x2c64e4(0x412)])(_0x2c64e4(0x5e9),{'className':_0x2c64e4(0x6ab),'children':[(0x0,v[_0x2c64e4(0x523)])(_0x2c64e4(0x5e9),{'className':'univer-mb-2\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x1f4c8c['t'](_0x2c64e4(0x3ac))}),(0x0,v[_0x2c64e4(0x523)])(f['InputNumber'],{'value':_0x447979==null?void 0x0:_0x447979,'onChange':_0x31c981=>{const _0x55a19f=_0x2c64e4;_0x5cbfc6[_0x55a19f(0x41c)](t[_0x55a19f(0x2a1)],!0x1),_0x23e6dc(Number['isNaN'](_0x31c981)?null:Number(_0x31c981));},'onFocus':()=>_0x5cbfc6[_0x2c64e4(0x41c)](t['FOCUSING_PANEL_EDITOR'],!0x0),'onBlur':_0x106c9d=>{const _0x24c7c9=_0x2c64e4;_0x5cbfc6['setContextValue'](t[_0x24c7c9(0x2a1)],!0x1);let _0x51cf18=_0x106c9d[_0x24c7c9(0x6da)][_0x24c7c9(0x3e9)];_0x23e6dc(_0x51cf18===''?null:Number(_0x51cf18));},'onPressEnter':_0x1d34ca=>{const _0x23f1df=_0x2c64e4;let _0x47b0a2=_0x1d34ca[_0x23f1df(0x6da)][_0x23f1df(0x3e9)];_0x23e6dc(_0x47b0a2===''?null:Number(_0x47b0a2));}})]})]}),_0x290aa6&&(0x0,v['jsx'])(ot,{}),!_0x2cd99a&&!_0xc5cb29&&!_0xbf3f10&&!_0x379872&&(0x0,v[_0x2c64e4(0x523)])(_0x2c64e4(0x5e9),{'className':_0x2c64e4(0x5a5),'children':(0x0,v[_0x2c64e4(0x523)])(f[_0x2c64e4(0x6e2)],{'className':'','size':_0x2c64e4(0x53b),'onClick':()=>{const _0x2a45d4=_0x2c64e4;_0x71214e(_0x165f5d===c['DataOrientation'][_0x2a45d4(0x669)]?c['DataOrientation'][_0x2a45d4(0x215)]:c['DataOrientation']['Row']);},'children':_0x1f4c8c['t'](_0x2c64e4(0x5ec))})}),_0x13962e&&(0x0,v[_0x2c64e4(0x523)])(_0x2c64e4(0x5e9),{'className':'univer-mt-2-base','children':(0x0,v[_0x2c64e4(0x523)])(f['Checkbox'],{'checked':_0x43b0d4,'onChange':_0xdb5e05=>{_0x169f0d(!!_0xdb5e05);},'children':_0x1f4c8c['t'](_0x2c64e4(0x3e4),(_0x165f5d||'')+'\x20'+(((_0x146885=_0x165f5d===c[_0x2c64e4(0x518)][_0x2c64e4(0x669)]?_0x37a4f3==null?void 0x0:_0x37a4f3[_0x2c64e4(0x208)][_0x2c64e4(0x5ac)][_0x2c64e4(0x321)]:_0x37a4f3==null?void 0x0:_0x37a4f3['rangeInfo'][_0x2c64e4(0x5ac)][_0x2c64e4(0x40d)])==null?0x0:_0x146885)+0x1))})})]}),_0x154014&&(0x0,v[_0x2c64e4(0x412)])(_0x2c64e4(0x5e9),{'children':[(0x0,v[_0x2c64e4(0x523)])(d['ChartEditBlockTitle'],{'title':_0x1f4c8c['t'](_0x2c64e4(0x651))}),(0x0,v['jsx'])(_0x2c64e4(0x5e9),{'className':_0x2c64e4(0x4be),'children':(0x0,v['jsx'])(f[_0x2c64e4(0x573)],{'value':_0x4a9fa9==null?c[_0x2c64e4(0x5ce)]['invalidValueType']:_0x4a9fa9,'onChange':_0x24cac1=>_0x27877f(_0x24cac1),'className':_0x2c64e4(0x3c0),'children':_0x2ad187[_0x2c64e4(0x2df)](_0x2cda46=>(0x0,v[_0x2c64e4(0x523)])(f[_0x2c64e4(0x3c9)],{'value':_0x2cda46[_0x2c64e4(0x3e9)],'children':_0x2cda46[_0x2c64e4(0x609)]},_0x2cda46[_0x2c64e4(0x3e9)]))})})]})]});};function pt(_0xeda54a){const _0xc5a5ec=_0x3a0a20;return!Number[_0xc5a5ec(0x1d6)](_0xeda54a)&&Number[_0xc5a5ec(0x53f)](_0xeda54a);}const mt=_0x3d274c=>{const _0x33c147=_0x3a0a20;var _0x4565d2,_0x2cf246,_0xfa4279,_0x1b3235,_0x47515b,_0xa7980d,_0x1cf0ae,_0x501882,_0x4493a4,_0x161b87;let {valueAxis:_0xc9af29,axisOptions:_0x265129,onChange:_0x226a9e,canUseDateAxis:_0xa87adc}=_0x3d274c,_0x249046=(0x0,o[_0x33c147(0x510)])(t[_0x33c147(0x350)]),[_0x64257d,_0x18ef40]=(0x0,h[_0x33c147(0x4e0)])(_0x265129==null?void 0x0:_0x265129[_0x33c147(0x507)]),[_0x210ebb,_0x16bed7]=(0x0,h['useState'])(_0x265129==null?void 0x0:_0x265129[_0x33c147(0x341)]),_0x4d297b=(0x0,o[_0x33c147(0x510)])(t[_0x33c147(0x4d9)]),[_0x9b926b,_0x3e3288]=X('useDateAxis',!0x1),_0x3eea33=_0x12c5fb=>{if(_0x12c5fb!==null&&!pt(_0x12c5fb)){_0x226a9e==null||_0x226a9e({'min':null}),_0x16bed7(null);return;}_0x12c5fb==null?(_0x16bed7(null),_0x226a9e==null||_0x226a9e({'min':null})):(_0x16bed7(_0x12c5fb),_0x64257d!=null&&_0x12c5fb>=_0x64257d?(_0x18ef40(null),_0x226a9e==null||_0x226a9e({'min':_0x12c5fb,'max':null})):_0x226a9e==null||_0x226a9e({'min':_0x12c5fb}));},_0x289431=_0x5ac1bf=>{if(_0x5ac1bf!==null&&!pt(_0x5ac1bf)){_0x226a9e==null||_0x226a9e({'max':null}),_0x18ef40(null);return;}_0x5ac1bf==null?(_0x18ef40(null),_0x226a9e==null||_0x226a9e({'max':null})):(_0x18ef40(_0x5ac1bf),_0x210ebb!=null&&_0x5ac1bf<=_0x210ebb?(_0x16bed7(null),_0x226a9e==null||_0x226a9e({'max':_0x5ac1bf,'min':null})):_0x226a9e==null||_0x226a9e({'max':_0x5ac1bf}));},_0x4a56c9=(_0x4565d2=_0x265129==null||(_0x2cf246=_0x265129['label'])==null?void 0x0:_0x2cf246[_0x33c147(0x6c4)])==null?_0x9b926b?c[_0x33c147(0x5ce)][_0x33c147(0x62b)][_0x33c147(0x26a)]:0x0:_0x4565d2;return(0x0,v[_0x33c147(0x412)])(_0x33c147(0x3c2),{'children':[(0x0,v[_0x33c147(0x523)])(_0x33c147(0x5e9),{'className':_0x33c147(0x277),'children':_0x249046['t']('sheets-chart-ui.axes.axisOptions')}),(0x0,v[_0x33c147(0x412)])(_0x33c147(0x5e9),{'className':'univer-justify-content-between\x20univer-items-flex-start\x20univer-mb-2\x20univer-flex\x20univer-gap-2','children':[(0x0,v[_0x33c147(0x523)])(_0x33c147(0x5e9),{'className':_0x33c147(0x6e3),'children':(0x0,v['jsx'])(f[_0x33c147(0x439)],{'checked':(_0xfa4279=_0x265129==null||(_0x1b3235=_0x265129[_0x33c147(0x609)])==null?void 0x0:_0x1b3235['visible'])==null?c[_0x33c147(0x5ce)][_0x33c147(0x62b)][_0x33c147(0x511)]:_0xfa4279,'onChange':_0x17ddcb=>_0x226a9e==null?void 0x0:_0x226a9e({'label':{'visible':!!_0x17ddcb}}),'children':_0x249046['t']('sheets-chart-ui.styleEditPanel.showLabels')})}),!_0xc9af29&&(0x0,v[_0x33c147(0x412)])('div',{'className':_0x33c147(0x6e3),'children':[(0x0,v[_0x33c147(0x523)])(f[_0x33c147(0x439)],{'checked':(_0x47515b=_0x265129==null?void 0x0:_0x265129[_0x33c147(0x5f8)])==null?c[_0x33c147(0x5ce)][_0x33c147(0x62b)][_0x33c147(0x5f8)]:_0x47515b,'onChange':_0x4d1ec6=>_0x226a9e==null?void 0x0:_0x226a9e({'reverse':!!_0x4d1ec6}),'children':_0x249046['t']('sheets-chart-ui.styleEditPanel.reverseAxisOrder')}),'\x20']})]}),(0x0,v[_0x33c147(0x523)])(f[_0x33c147(0x439)],{'className':_0x33c147(0x4be),'checked':(_0xa7980d=_0x265129==null?void 0x0:_0x265129[_0x33c147(0x1c6)])==null?!0x1:_0xa7980d,'onChange':_0x4ef6cb=>_0x226a9e==null?void 0x0:_0x226a9e({'lineVisible':!!_0x4ef6cb}),'children':_0x249046['t'](_0x33c147(0x4fb))}),(0x0,v[_0x33c147(0x523)])('div',{'className':'univer-justify-content-between\x20univer-items-flex-start\x20univer-mb-2\x20univer-flex\x20univer-gap-2','children':(0x0,v[_0x33c147(0x523)])(d[_0x33c147(0x5e5)],{'className':'univer-mt-2',..._0x265129==null?void 0x0:_0x265129[_0x33c147(0x609)],'fontSize':(_0x1cf0ae=_0x265129==null||(_0x501882=_0x265129[_0x33c147(0x609)])==null?void 0x0:_0x501882[_0x33c147(0x197)])==null?c['defaultChartConfig']['textStyle'][_0x33c147(0x197)]:_0x1cf0ae,'color':(_0x4493a4=_0x265129==null||(_0x161b87=_0x265129[_0x33c147(0x609)])==null?void 0x0:_0x161b87[_0x33c147(0x25e)])==null?c[_0x33c147(0x5ce)][_0x33c147(0x504)]['color']:_0x4493a4,'onChange':(_0x4202fc,_0x37365f)=>_0x226a9e==null?void 0x0:_0x226a9e({'label':{[_0x4202fc]:_0x37365f}})})}),_0xa87adc&&(0x0,v[_0x33c147(0x523)])(_0x33c147(0x5e9),{'className':_0x33c147(0x312),'children':(0x0,v[_0x33c147(0x523)])(f[_0x33c147(0x439)],{'checked':!!_0x9b926b,'onChange':_0x884c5a=>_0x3e3288==null?void 0x0:_0x3e3288(!!_0x884c5a),'children':(0x0,v[_0x33c147(0x523)])(f[_0x33c147(0x355)],{'title':_0x249046['t'](_0x33c147(0x633)),'children':(0x0,v['jsx'])(_0x33c147(0x5f2),{'children':_0x249046['t']('sheets-chart-ui.styleEditPanel.useDateAxis')})})})}),(0x0,v[_0x33c147(0x412)])(_0x33c147(0x5e9),{'className':_0x33c147(0x312),'children':[(0x0,v[_0x33c147(0x523)])('div',{'className':'univer-mb-2\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x249046['t'](_0x33c147(0x26e))}),(0x0,v[_0x33c147(0x523)])(f[_0x33c147(0x4c3)],{'className':_0x33c147(0x6a4),'value':String(_0x4a56c9),'onChange':_0x4034ee=>_0x226a9e==null?void 0x0:_0x226a9e({'label':{'rotate':Number(_0x4034ee)}}),'options':Ae})]}),_0xc9af29&&(0x0,v['jsxs'])(_0x33c147(0x5e9),{'className':_0x33c147(0x312),'children':[(0x0,v[_0x33c147(0x412)])(_0x33c147(0x5e9),{'className':_0x33c147(0x6e3),'children':[(0x0,v['jsx'])('div',{'className':'univer-mb-2\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x249046['t'](_0x33c147(0x56c))}),(0x0,v[_0x33c147(0x523)])(f[_0x33c147(0x45d)],{'value':_0x210ebb,'onChange':_0x4aa69b=>{const _0x468c9c=_0x33c147;_0x16bed7(_0x4aa69b),_0x4d297b[_0x468c9c(0x41c)](t[_0x468c9c(0x2a1)],!0x1),_0x3eea33(Number[_0x468c9c(0x1d6)](_0x4aa69b)?null:Number(_0x4aa69b));},'onFocus':()=>_0x4d297b[_0x33c147(0x41c)](t[_0x33c147(0x2a1)],!0x0),'onBlur':_0x3c0f88=>{const _0x4bc214=_0x33c147;_0x4d297b[_0x4bc214(0x41c)](t[_0x4bc214(0x2a1)],!0x1);let _0x355e71=_0x3c0f88[_0x4bc214(0x6da)][_0x4bc214(0x3e9)];_0x3eea33(_0x355e71===''?null:Number(_0x355e71));},'onPressEnter':_0x4e27da=>{const _0x3835fa=_0x33c147;let _0x2f45f8=_0x4e27da[_0x3835fa(0x6da)][_0x3835fa(0x3e9)];_0x3eea33(_0x2f45f8===''?null:Number(_0x2f45f8));}})]}),(0x0,v[_0x33c147(0x412)])(_0x33c147(0x5e9),{'className':_0x33c147(0x6e3),'children':[(0x0,v[_0x33c147(0x523)])(_0x33c147(0x5e9),{'className':_0x33c147(0x277),'children':_0x249046['t'](_0x33c147(0x3ac))}),(0x0,v[_0x33c147(0x523)])(f[_0x33c147(0x45d)],{'value':_0x64257d,'onChange':_0x4d0f12=>{const _0xf01502=_0x33c147;_0x18ef40(_0x4d0f12),_0x4d297b[_0xf01502(0x41c)](t[_0xf01502(0x2a1)],!0x1),_0x289431(Number['isNaN'](_0x4d0f12)?null:Number(_0x4d0f12));},'onFocus':()=>_0x4d297b[_0x33c147(0x41c)](t['FOCUSING_PANEL_EDITOR'],!0x0),'onBlur':_0x15ef12=>{const _0x49628c=_0x33c147;_0x4d297b[_0x49628c(0x41c)](t[_0x49628c(0x2a1)],!0x1);let _0x31d81a=_0x15ef12[_0x49628c(0x6da)][_0x49628c(0x3e9)];_0x289431(_0x31d81a===''?null:Number(_0x31d81a));},'onPressEnter':_0x5e7be6=>{const _0x41231e=_0x33c147;let _0x1d2e68=_0x5e7be6['target'][_0x41231e(0x3e9)];_0x289431(_0x1d2e68===''?null:Number(_0x1d2e68));}})]})]})]});},ht=_0x2893c6=>{const _0xfbc0bf=_0x3a0a20;var _0x4e2934,_0x3077c1,_0xd56e20,_0x40f0d3;let {runtimeAxes:_0x5e2fc1,className:_0x457008}=_0x2893c6,_0xbacc53=(0x0,o['useDependency'])(t[_0xfbc0bf(0x350)]),_0x39864b=(0x0,h[_0xfbc0bf(0x646)])(()=>Be[_0xfbc0bf(0x6b4)](_0x948b43=>{const _0xa6d9c7=_0xfbc0bf;let _0x2ddd5a=_0x5e2fc1==null?void 0x0:_0x5e2fc1[_0xa6d9c7(0x1ec)](_0xfd7edf=>_0xfd7edf['position']===c[_0xa6d9c7(0x23a)][_0xa6d9c7(0x543)]);return _0x948b43[_0xa6d9c7(0x3e9)]===_0xa6d9c7(0x6b7)?_0x2ddd5a:!0x0;}),[_0x5e2fc1])[_0xfbc0bf(0x2df)](_0x152d27=>({..._0x152d27,'label':_0xbacc53['t'](_0x152d27[_0xfbc0bf(0x609)])})),_0x3fc31b=(0x0,h[_0xfbc0bf(0x646)])(()=>_0x5e2fc1==null?void 0x0:_0x5e2fc1[_0xfbc0bf(0x269)](_0x2c85cb=>_0x2c85cb[_0xfbc0bf(0x636)]===c[_0xfbc0bf(0x2c5)][_0xfbc0bf(0x42a)]),[_0x5e2fc1]),[_0x40bcf6,_0x38f614]=(0x0,h[_0xfbc0bf(0x4e0)])(Be[0x0][_0xfbc0bf(0x3e9)]),[_0x2664e9,_0x3992e0]=X(_0xfbc0bf(0x580)),[_0x53e2c9,_0x1b2af1]=X(_0xfbc0bf(0x44e)),[_0x19584e,_0x1d5811]=X(_0xfbc0bf(0x2ba)),_0x1491af={'xAxis':_0x2664e9,'yAxis':_0x53e2c9,'rightYAxis':_0x19584e}[_0x40bcf6],_0x34a3b3={'xAxis':_0x3992e0,'yAxis':_0x1b2af1,'rightYAxis':_0x1d5811}[_0x40bcf6],_0xb43402={'xAxis':'bottom','yAxis':_0xfbc0bf(0x445),'rightYAxis':_0xfbc0bf(0x52b)}[_0x40bcf6],_0x200243=_0x1491af==null?void 0x0:_0x1491af[_0xfbc0bf(0x2c1)],_0xc17c59=_0x1491af==null?void 0x0:_0x1491af['gridLine'],_0x62cae1=(0x0,h['useCallback'])(_0x26caaf=>{_0x34a3b3==null||_0x34a3b3({'gridLine':_0x26caaf});},[_0x34a3b3]),{visible:_0x4f91bf,color:_0x2968d6,width:_0xc1ef33}=_0xc17c59==null?{}:_0xc17c59,_0x3717e4=_0x4f91bf==null?(_0x3fc31b==null?void 0x0:_0x3fc31b['position'])===_0xb43402:_0x4f91bf,_0x2a1627=Pe[_0xfbc0bf(0x2df)](_0x38bac6=>({..._0x38bac6,'label':_0xbacc53['t'](_0x38bac6['label'])})),_0x1876cd=(0x0,h[_0xfbc0bf(0x646)])(()=>[{...Z,'label':_0xbacc53['t'](Z[_0xfbc0bf(0x609)])},...Xe],[_0xbacc53]),_0x5b5632=(0x0,h['useMemo'])(()=>[{...Z,'label':_0xbacc53['t'](Z['label'])},...Ze],[_0xbacc53]);return(0x0,v[_0xfbc0bf(0x412)])(_0xfbc0bf(0x5e9),{'className':_0x457008,'children':[(0x0,v[_0xfbc0bf(0x523)])(_0xfbc0bf(0x5e9),{'className':'univer-justify-content-between\x20univer-items-flex-start\x20univer-mb-2\x20univer-flex\x20univer-gap-2','children':(0x0,v[_0xfbc0bf(0x523)])(f[_0xfbc0bf(0x4c3)],{'className':_0xfbc0bf(0x45f),'options':_0x39864b,'value':_0x40bcf6,'onChange':_0x38f614})}),(0x0,v[_0xfbc0bf(0x523)])('div',{'className':_0xfbc0bf(0x312),'children':(0x0,v[_0xfbc0bf(0x523)])('div',{'className':'univer-flex\x20univer-flex-1\x20univer-flex-col\x20univer-justify-between','children':(0x0,v['jsx'])(f[_0xfbc0bf(0x439)],{'checked':_0x3717e4,'onChange':_0x1d251d=>_0x62cae1==null?void 0x0:_0x62cae1({'visible':!!_0x1d251d}),'children':_0xbacc53['t'](_0xfbc0bf(0x5a2))})})}),_0x3717e4&&(0x0,v[_0xfbc0bf(0x412)])(_0xfbc0bf(0x5e9),{'className':'univer-justify-content-between\x20univer-items-flex-start\x20univer-mb-2\x20univer-flex\x20univer-gap-2','children':[(0x0,v[_0xfbc0bf(0x412)])(_0xfbc0bf(0x5e9),{'className':_0xfbc0bf(0x6e3),'children':[(0x0,v[_0xfbc0bf(0x412)])(_0xfbc0bf(0x5e9),{'className':_0xfbc0bf(0x277),'children':[_0xbacc53['t'](_0xfbc0bf(0x2a2)),_0xbacc53['t'](_0xfbc0bf(0x206))]}),(0x0,v['jsx'])(d[_0xfbc0bf(0x5cc)],{'color':_0x2968d6,'onChange':_0x46bb32=>_0x62cae1==null?void 0x0:_0x62cae1({'color':_0x46bb32==null?void 0x0:_0x46bb32})})]}),(0x0,v[_0xfbc0bf(0x412)])(_0xfbc0bf(0x5e9),{'className':_0xfbc0bf(0x6e3),'children':[(0x0,v[_0xfbc0bf(0x523)])('div',{'className':'univer-mb-2\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0xbacc53['t'](_0xfbc0bf(0x5dd),_0xbacc53['t'](_0xfbc0bf(0x2a2)))}),(0x0,v[_0xfbc0bf(0x523)])(f[_0xfbc0bf(0x4c3)],{'className':'univer-w-full\x20!univer-min-w-0','value':String(_0xc1ef33==null?'':_0xc1ef33),'onChange':_0x23098d=>_0x62cae1==null?void 0x0:_0x62cae1({'width':Number(_0x23098d)}),'options':Ve})]})]}),(0x0,v[_0xfbc0bf(0x412)])(_0xfbc0bf(0x5e9),{'children':[(0x0,v['jsx'])('div',{'children':(0x0,v[_0xfbc0bf(0x523)])(f[_0xfbc0bf(0x439)],{'checked':_0x200243==null?void 0x0:_0x200243[_0xfbc0bf(0x3cd)],'onChange':_0x1c0342=>_0x34a3b3==null?void 0x0:_0x34a3b3({'tick':{'visible':!!_0x1c0342}}),'children':_0xbacc53['t'](_0xfbc0bf(0x488))})}),(0x0,v[_0xfbc0bf(0x412)])(_0xfbc0bf(0x5e9),{'children':[(0x0,v[_0xfbc0bf(0x412)])(_0xfbc0bf(0x5e9),{'className':_0xfbc0bf(0x312),'children':[(0x0,v[_0xfbc0bf(0x412)])(_0xfbc0bf(0x5e9),{'className':_0xfbc0bf(0x6e3),'children':[(0x0,v[_0xfbc0bf(0x523)])(_0xfbc0bf(0x5e9),{'className':_0xfbc0bf(0x277),'children':_0xbacc53['t'](_0xfbc0bf(0x1c3))}),(0x0,v[_0xfbc0bf(0x523)])(f[_0xfbc0bf(0x4c3)],{'className':_0xfbc0bf(0x45f),'value':(_0x4e2934=_0x200243==null?void 0x0:_0x200243[_0xfbc0bf(0x2e5)])==null?c[_0xfbc0bf(0x1b0)][_0xfbc0bf(0x5b3)]:_0x4e2934,'options':_0x2a1627,'onChange':_0x38d690=>_0x34a3b3==null?void 0x0:_0x34a3b3({'tick':{'position':_0x38d690}})})]}),(0x0,v['jsxs'])(_0xfbc0bf(0x5e9),{'className':_0xfbc0bf(0x6e3),'children':[(0x0,v[_0xfbc0bf(0x523)])(_0xfbc0bf(0x5e9),{'className':_0xfbc0bf(0x277),'children':_0xbacc53['t'](_0xfbc0bf(0x288))}),(0x0,v[_0xfbc0bf(0x523)])(f[_0xfbc0bf(0x4c3)],{'className':_0xfbc0bf(0x45f),'value':String((_0x3077c1=_0x200243==null?void 0x0:_0x200243[_0xfbc0bf(0x687)])==null?Z[_0xfbc0bf(0x3e9)]:_0x3077c1),'options':_0x1876cd,'onChange':_0x49e90b=>_0x34a3b3==null?void 0x0:_0x34a3b3({'tick':{'length':_0x49e90b===Z['value']?void 0x0:Number(_0x49e90b)}})})]})]}),(0x0,v['jsxs'])(_0xfbc0bf(0x5e9),{'className':_0xfbc0bf(0x312),'children':[(0x0,v[_0xfbc0bf(0x412)])(_0xfbc0bf(0x5e9),{'className':_0xfbc0bf(0x6e3),'children':[(0x0,v[_0xfbc0bf(0x523)])(_0xfbc0bf(0x5e9),{'className':'univer-mb-2\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0xbacc53['t'](_0xfbc0bf(0x5dd),_0xbacc53['t'](_0xfbc0bf(0x1e7)))}),(0x0,v[_0xfbc0bf(0x523)])(f['Select'],{'className':_0xfbc0bf(0x45f),'value':String((_0xd56e20=_0x200243==null?void 0x0:_0x200243[_0xfbc0bf(0x66e)])==null?Z[_0xfbc0bf(0x3e9)]:_0xd56e20),'options':_0x5b5632,'onChange':_0x248c0f=>_0x34a3b3==null?void 0x0:_0x34a3b3({'tick':{'lineWidth':_0x248c0f===Z[_0xfbc0bf(0x3e9)]?void 0x0:Number(_0x248c0f)}})})]}),(0x0,v[_0xfbc0bf(0x412)])(_0xfbc0bf(0x5e9),{'className':_0xfbc0bf(0x6e3),'children':[(0x0,v[_0xfbc0bf(0x523)])(_0xfbc0bf(0x5e9),{'className':_0xfbc0bf(0x277),'children':_0xbacc53['t'](_0xfbc0bf(0x644),_0xbacc53['t'](_0xfbc0bf(0x1e7)))}),(0x0,v[_0xfbc0bf(0x523)])(d[_0xfbc0bf(0x5cc)],{'color':(_0x40f0d3=_0x200243==null?void 0x0:_0x200243[_0xfbc0bf(0x68c)])==null?'':_0x40f0d3,'onChange':_0x4785=>_0x34a3b3==null?void 0x0:_0x34a3b3({'tick':{'lineColor':_0x4785==null?void 0x0:_0x4785}})})]})]})]})]})]});},gt=_0x254528=>{const _0x3603c0=_0x3a0a20;let {onChange:_0x37ba9c,indicatorLabelColor:_0x2681ce,indicatorLineType:_0x33587d,indicatorLabelTextColor:_0xe8f692,indicatorLineColor:_0x551a5f}=_0x254528,_0x9252a0=(0x0,o[_0x3603c0(0x510)])(t[_0x3603c0(0x350)]),_0x5d10b5=Q[_0x3603c0(0x2df)](_0x44d73f=>({..._0x44d73f,'label':_0x9252a0['t'](_0x44d73f[_0x3603c0(0x609)])}));return(0x0,v[_0x3603c0(0x412)])(v[_0x3603c0(0x534)],{'children':[(0x0,v[_0x3603c0(0x412)])(_0x3603c0(0x5e9),{'className':_0x3603c0(0x232),'children':[(0x0,v['jsxs'])(_0x3603c0(0x5e9),{'className':_0x3603c0(0x6e3),'children':[(0x0,v['jsx'])(_0x3603c0(0x5e9),{'className':_0x3603c0(0x277),'children':_0x9252a0['t']('sheets-chart-ui.indicatorLineType')}),(0x0,v[_0x3603c0(0x523)])(f[_0x3603c0(0x4c3)],{'className':_0x3603c0(0x45f),'value':_0x33587d,'options':_0x5d10b5,'onChange':_0x444976=>{_0x37ba9c==null||_0x37ba9c({'indicatorLineType':_0x444976});}})]}),(0x0,v['jsxs'])('div',{'className':_0x3603c0(0x6e3),'children':[(0x0,v[_0x3603c0(0x523)])(_0x3603c0(0x5e9),{'className':_0x3603c0(0x277),'children':_0x9252a0['t'](_0x3603c0(0x1ba))}),(0x0,v[_0x3603c0(0x523)])(d['ColorPickerControl'],{'color':_0x551a5f,'onChange':_0x4f47fa=>{_0x37ba9c==null||_0x37ba9c({'indicatorLineColor':_0x4f47fa});}})]})]}),(0x0,v[_0x3603c0(0x412)])(_0x3603c0(0x5e9),{'className':'univer-mb-2\x20univer-flex\x20univer-justify-between\x20univer-gap-2\x20univer-p-0','children':[(0x0,v[_0x3603c0(0x412)])(_0x3603c0(0x5e9),{'className':_0x3603c0(0x6e3),'children':[(0x0,v['jsx'])(_0x3603c0(0x5e9),{'className':'univer-mb-2\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x9252a0['t'](_0x3603c0(0x416))}),(0x0,v[_0x3603c0(0x523)])(d[_0x3603c0(0x5cc)],{'color':_0x2681ce,'onChange':_0x42262d=>{_0x37ba9c==null||_0x37ba9c({'indicatorLabelColor':_0x42262d});}})]}),(0x0,v[_0x3603c0(0x412)])('div',{'className':_0x3603c0(0x6e3),'children':[(0x0,v[_0x3603c0(0x523)])(_0x3603c0(0x5e9),{'className':_0x3603c0(0x277),'children':_0x9252a0['t'](_0x3603c0(0x3e8))}),(0x0,v['jsx'])(d[_0x3603c0(0x5cc)],{'color':_0xe8f692,'onChange':_0x2ad8bd=>{_0x37ba9c==null||_0x37ba9c({'indicatorLabelTextColor':_0x2ad8bd});}})]})]})]});},_t=new Set([c[_0x3a0a20(0x5db)]['Pie'],c[_0x3a0a20(0x5db)][_0x3a0a20(0x245)],c[_0x3a0a20(0x5db)][_0x3a0a20(0x223)],c[_0x3a0a20(0x5db)][_0x3a0a20(0x526)],c['ChartTypeBits'][_0x3a0a20(0x407)]]),vt=_0x1d7162=>{const _0x4a9cf6=_0x3a0a20;var _0x2a21df,_0x1bd0cf;let {fallbackLabelStyle:_0x676266,labelStyle:_0x1cfd6b,positionOptions:_0x2862e9,contentTypeOptions:_0x1c26a9,onLabelStyleChange:_0x3c2fbf,onVisibleChange:_0x47c278,onPadAngleChange:_0x52bbe9,isPieLike:_0x554020,padAngleStyle:_0x17345a,onHalfPieChange:_0xd5d557,isHalfPie:_0x352c61,onRosePieChange:_0x29dd3e,isRosePie:_0x525716,onShowLabelLineChange:_0x2083b2,showLabelLine:_0x184fd9,chartType:_0xd774e8}=_0x1d7162,_0x323433=(0x0,o[_0x4a9cf6(0x510)])(t['LocaleService']),_0x25dbb9={..._0x676266,..._0x1cfd6b},{contentType:_0x565e2e}=_0x25dbb9,_0xe29166=(0x0,h[_0x4a9cf6(0x646)])(()=>{const _0x24d553=_0x4a9cf6;if(!_0x565e2e)return[];let _0x30cbe3=qe['filter'](_0x20afce=>c[_0x24d553(0x442)][_0x24d553(0x347)](_0x565e2e,_0x20afce)),_0x30c366=[];for(let _0x561a42 of _0x30cbe3)_0x561a42===c[_0x24d553(0x3d6)][_0x24d553(0x6d3)]?_t[_0x24d553(0x347)](_0xd774e8)&&_0x30c366[_0x24d553(0x4cb)](_0x561a42):_0x30c366[_0x24d553(0x4cb)](_0x561a42);return _0x30c366['map'](_0x77b112=>String(_0x77b112));},[_0x565e2e]),_0xebcc66=(0x0,h[_0x4a9cf6(0x40f)])(_0x1718eb=>{const _0x207e8c=_0x4a9cf6;let _0x58d61c=_0x1718eb[_0x207e8c(0x2df)](_0x437171=>Number(_0x437171));if(_0x58d61c[_0x207e8c(0x687)]<=0x0)return;let _0x14f174=_0x58d61c[_0x207e8c(0x687)]>0x0?_0x58d61c[_0x207e8c(0x2cd)]((_0x4637c0,_0x15375b)=>_0x4637c0|_0x15375b):c[_0x207e8c(0x3d6)][_0x207e8c(0x47f)];_0x3c2fbf==null||_0x3c2fbf(_0x207e8c(0x575),_0x14f174);},[_0x3c2fbf]);return(0x0,v[_0x4a9cf6(0x412)])(_0x4a9cf6(0x5e9),{'children':[(0x0,v[_0x4a9cf6(0x523)])(_0x4a9cf6(0x5e9),{'className':_0x4a9cf6(0x277),'children':(0x0,v['jsx'])(f[_0x4a9cf6(0x439)],{'checked':(_0x2a21df=_0x25dbb9['visible'])==null?!0x1:_0x2a21df,'onChange':_0xfee68c=>{_0x47c278==null||_0x47c278(!!_0xfee68c);},'children':_0x323433['t'](_0x4a9cf6(0x4e1))})}),_0x554020&&(0x0,v[_0x4a9cf6(0x412)])(v[_0x4a9cf6(0x534)],{'children':[(0x0,v[_0x4a9cf6(0x523)])(_0x4a9cf6(0x5e9),{'className':_0x4a9cf6(0x277),'children':(0x0,v[_0x4a9cf6(0x523)])(f[_0x4a9cf6(0x439)],{'checked':_0x17345a==null?!0x1:_0x17345a,'onChange':_0xacb8ca=>{_0x52bbe9==null||_0x52bbe9(!!_0xacb8ca);},'children':_0x323433['t'](_0x4a9cf6(0x5e2))})}),(0x0,v[_0x4a9cf6(0x523)])('div',{'className':_0x4a9cf6(0x277),'children':(0x0,v[_0x4a9cf6(0x523)])(f[_0x4a9cf6(0x439)],{'checked':_0x352c61==null?!0x1:_0x352c61,'onChange':_0x26199f=>{_0xd5d557==null||_0xd5d557(!!_0x26199f);},'children':_0x323433['t'](_0x4a9cf6(0x4d2))})}),(0x0,v[_0x4a9cf6(0x523)])('div',{'className':_0x4a9cf6(0x277),'children':(0x0,v['jsx'])(f[_0x4a9cf6(0x439)],{'checked':_0x525716==null?!0x1:_0x525716,'onChange':_0x7ff41f=>{_0x29dd3e==null||_0x29dd3e(!!_0x7ff41f);},'children':_0x323433['t']('sheets-chart-ui.styleEditPanel.rosePie')})}),_0x25dbb9['visible']===!0x0&&(0x0,v['jsx'])('div',{'className':_0x4a9cf6(0x277),'children':(0x0,v[_0x4a9cf6(0x523)])(f[_0x4a9cf6(0x439)],{'checked':_0x184fd9==null?!0x1:_0x184fd9,'onChange':_0x4df69d=>{_0x2083b2==null||_0x2083b2(!!_0x4df69d);},'children':_0x323433['t'](_0x4a9cf6(0x220))})})]}),_0x25dbb9['visible']&&(0x0,v[_0x4a9cf6(0x412)])(_0x4a9cf6(0x5e9),{'className':_0x4a9cf6(0x38e),'children':[(0x0,v[_0x4a9cf6(0x523)])(_0x4a9cf6(0x5e9),{'className':'univer-mb-2\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x323433['t'](_0x4a9cf6(0x1f7))}),(0x0,v['jsx'])(f[_0x4a9cf6(0x4c3)],{'className':'univer-w-full\x20!univer-min-w-0','value':(_0x1bd0cf=_0x25dbb9[_0x4a9cf6(0x2e5)])==null?'':_0x1bd0cf,'onChange':_0x412614=>_0x3c2fbf==null?void 0x0:_0x3c2fbf('position',_0x412614),'options':_0x2862e9}),_0x1c26a9&&(0x0,v[_0x4a9cf6(0x412)])(v[_0x4a9cf6(0x534)],{'children':[(0x0,v['jsx'])(_0x4a9cf6(0x5e9),{'className':_0x4a9cf6(0x277),'children':_0x323433['t']('sheets-chart-ui.styleEditPanel.labelText')}),(0x0,v['jsx'])(_0x4a9cf6(0x5e9),{'className':_0x4a9cf6(0x46f),'children':(0x0,v[_0x4a9cf6(0x523)])(f[_0x4a9cf6(0x49f)],{'className':_0x4a9cf6(0x485),'value':_0xe29166,'options':_0x1c26a9,'onChange':_0xebcc66})})]}),(0x0,v[_0x4a9cf6(0x412)])('div',{'children':[(0x0,v[_0x4a9cf6(0x523)])('div',{'className':_0x4a9cf6(0x277),'children':_0x323433['t'](_0x4a9cf6(0x516))}),(0x0,v['jsx'])(d['FontFormatBar'],{..._0x25dbb9,'onChange':_0x3c2fbf})]})]})]});},yt=_0x2947e3=>{const _0x21bdb1=_0x3a0a20;var _0x1cb979,_0x2c7392;let {seriesStyle:_0x563144,onSeriesStyleChange:_0x55b8c7,controlName:_0x3970b1,allSeriesStyle:_0x529d5f,chartType:_0x55abb3}=_0x2947e3,_0x232e82=(0x0,o[_0x21bdb1(0x510)])(t['LocaleService']),_0x5f41ac=_0x55abb3===c[_0x21bdb1(0x5db)][_0x21bdb1(0x32b)]?c[_0x21bdb1(0x5ce)][_0x21bdb1(0x280)][_0x21bdb1(0x2be)]:c[_0x21bdb1(0x5ce)]['borderStyle'][_0x21bdb1(0x2cb)];return(0x0,v[_0x21bdb1(0x412)])('div',{'className':_0x21bdb1(0x232),'children':[(0x0,v[_0x21bdb1(0x412)])('div',{'className':_0x21bdb1(0x6e3),'children':[(0x0,v[_0x21bdb1(0x523)])('div',{'className':_0x21bdb1(0x277),'children':_0x232e82['t'](_0x21bdb1(0x644),_0x3970b1)}),(0x0,v[_0x21bdb1(0x523)])(d[_0x21bdb1(0x5cc)],{'color':(_0x563144==null?void 0x0:_0x563144[_0x21bdb1(0x25e)])||(_0x529d5f==null?void 0x0:_0x529d5f['color'])||'','onChange':_0x541a93=>_0x55b8c7==null?void 0x0:_0x55b8c7({'color':_0x541a93})})]}),(0x0,v[_0x21bdb1(0x412)])(_0x21bdb1(0x5e9),{'className':_0x21bdb1(0x6e3),'children':[(0x0,v['jsx'])(_0x21bdb1(0x5e9),{'className':_0x21bdb1(0x277),'children':_0x232e82['t']('sheets-chart-ui.withOpacity',_0x3970b1)}),(0x0,v[_0x21bdb1(0x523)])(f[_0x21bdb1(0x4c3)],{'className':_0x21bdb1(0x45f),'value':String((_0x1cb979=(_0x2c7392=_0x563144==null?void 0x0:_0x563144[_0x21bdb1(0x2a6)])==null?_0x529d5f==null?void 0x0:_0x529d5f[_0x21bdb1(0x2a6)]:_0x2c7392)==null?_0x5f41ac:_0x1cb979),'options':Ee,'onChange':_0x561ea3=>_0x55b8c7==null?void 0x0:_0x55b8c7({'fillOpacity':Number(_0x561ea3)})})]})]});},bt=_0xc84f35=>{const _0x432985=_0x3a0a20;var _0x547e8d,_0xe2b597,_0x138bd3,_0x4fde76;let {borderStyle:_0x3e140e,onSeriesStyleChange:_0x1594ac,controlName:_0xf3a03f,hideBorder:_0x2599ad,allSeriesBorderStyle:_0x127edd,isLineOrAreaChart:_0x28635e}=_0xc84f35,_0x436507=(0x0,o[_0x432985(0x510)])(t[_0x432985(0x350)]),_0x35be79=Q[_0x432985(0x2df)](_0x15642e=>({..._0x15642e,'label':_0x436507['t'](_0x15642e[_0x432985(0x609)])})),_0x517d5e=_0x28635e?ke[_0x432985(0x244)](0x1):ke;return(0x0,v[_0x432985(0x412)])(v[_0x432985(0x534)],{'children':[_0x2599ad&&(0x0,v[_0x432985(0x412)])(_0x432985(0x5e9),{'className':'univer-mb-2\x20univer-flex\x20univer-justify-between\x20univer-gap-2\x20univer-p-0','children':[(0x0,v[_0x432985(0x412)])(_0x432985(0x5e9),{'className':_0x432985(0x6e3),'children':[(0x0,v[_0x432985(0x523)])('div',{'className':_0x432985(0x277),'children':_0x436507['t'](_0x432985(0x644),_0xf3a03f)}),(0x0,v['jsx'])(d['ColorPickerControl'],{'color':(_0x547e8d=_0x3e140e==null?void 0x0:_0x3e140e['color'])==null?_0x127edd==null?void 0x0:_0x127edd['color']:_0x547e8d,'onChange':_0x29c15f=>_0x1594ac==null?void 0x0:_0x1594ac({'border':{'color':_0x29c15f}})})]}),(0x0,v[_0x432985(0x412)])(_0x432985(0x5e9),{'className':'univer-flex\x20univer-flex-1\x20univer-flex-col\x20univer-justify-between','children':[(0x0,v['jsx'])(_0x432985(0x5e9),{'className':_0x432985(0x277),'children':_0x436507['t'](_0x432985(0x1c7),_0xf3a03f)}),(0x0,v[_0x432985(0x523)])(f['Select'],{'className':_0x432985(0x45f),'value':String((_0xe2b597=_0x3e140e==null?void 0x0:_0x3e140e[_0x432985(0x2cb)])==null?_0x127edd==null?void 0x0:_0x127edd[_0x432985(0x2cb)]:_0xe2b597),'options':Ee,'onChange':_0xb715ef=>_0x1594ac==null?void 0x0:_0x1594ac({'border':{'opacity':Number(_0xb715ef)}})})]})]}),(0x0,v[_0x432985(0x412)])('div',{'className':_0x432985(0x232),'children':[(0x0,v[_0x432985(0x412)])(_0x432985(0x5e9),{'className':'univer-flex\x20univer-flex-1\x20univer-flex-col\x20univer-justify-between','children':[(0x0,v[_0x432985(0x523)])(_0x432985(0x5e9),{'className':_0x432985(0x277),'children':_0x436507['t']('sheets-chart-ui.withType',_0xf3a03f)}),(0x0,v[_0x432985(0x523)])(f[_0x432985(0x4c3)],{'className':_0x432985(0x45f),'value':(_0x138bd3=_0x3e140e==null?void 0x0:_0x3e140e['dashType'])==null?_0x127edd==null?void 0x0:_0x127edd['dashType']:_0x138bd3,'options':_0x35be79,'onChange':_0x479e4c=>_0x1594ac==null?void 0x0:_0x1594ac({'border':{'dashType':_0x479e4c}})})]}),(0x0,v['jsxs'])(_0x432985(0x5e9),{'className':_0x432985(0x6e3),'children':[(0x0,v['jsx'])('div',{'className':'univer-mb-2\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x436507['t'](_0x432985(0x5dd),_0xf3a03f)}),(0x0,v[_0x432985(0x523)])(f[_0x432985(0x4c3)],{'className':_0x432985(0x45f),'value':String((_0x4fde76=_0x3e140e==null?void 0x0:_0x3e140e[_0x432985(0x613)])==null?_0x127edd==null?void 0x0:_0x127edd[_0x432985(0x613)]:_0x4fde76),'options':_0x517d5e,'onChange':_0x110358=>_0x1594ac==null?void 0x0:_0x1594ac({'border':{'width':Number(_0x110358)}})})]})]})]});},xt=_0x4d54d1=>{const _0x25a217=_0x3a0a20;let {pointStyle:_0x18f993,controls:_0x6fe285,onChange:_0x2a03ae}=_0x4d54d1,_0x5831f1=(0x0,o[_0x25a217(0x510)])(t['LocaleService']),_0x141acd=De[_0x25a217(0x2df)](_0x4285ce=>({..._0x4285ce,'label':_0x5831f1['t'](_0x4285ce[_0x25a217(0x609)])})),_0x24eefb=Oe,_0x2c8bf2=_0x6fe285[_0x25a217(0x2df)](_0x3d8dfa=>{const _0x2b16a5=_0x25a217;switch(_0x3d8dfa){case _0x2b16a5(0x3bf):return(0x0,v[_0x2b16a5(0x412)])(_0x2b16a5(0x5e9),{'className':'univer-flex\x20univer-flex-1\x20univer-flex-col\x20univer-justify-between','children':[(0x0,v[_0x2b16a5(0x523)])(_0x2b16a5(0x5e9),{'className':_0x2b16a5(0x277),'children':_0x5831f1['t'](_0x2b16a5(0x548),_0x5831f1['t'](_0x2b16a5(0x42f)))}),(0x0,v[_0x2b16a5(0x523)])(f['Select'],{'className':_0x2b16a5(0x45f),'value':String(_0x18f993[_0x2b16a5(0x3bf)]),'options':_0x141acd,'onChange':_0x26ab3e=>_0x2a03ae==null?void 0x0:_0x2a03ae('shape',_0x26ab3e)})]},_0x3d8dfa);case _0x2b16a5(0x51b):return(0x0,v[_0x2b16a5(0x412)])(_0x2b16a5(0x5e9),{'className':_0x2b16a5(0x6e3),'children':[(0x0,v[_0x2b16a5(0x523)])(_0x2b16a5(0x5e9),{'className':_0x2b16a5(0x277),'children':_0x5831f1['t'](_0x2b16a5(0x29e),_0x5831f1['t'](_0x2b16a5(0x652)))}),(0x0,v[_0x2b16a5(0x523)])(f[_0x2b16a5(0x4c3)],{'className':_0x2b16a5(0x45f),'value':String(_0x18f993[_0x2b16a5(0x51b)]),'options':_0x24eefb,'onChange':_0x2cc24b=>_0x2a03ae==null?void 0x0:_0x2a03ae(_0x2b16a5(0x51b),Number(_0x2cc24b))})]},_0x3d8dfa);case _0x2b16a5(0x25e):return(0x0,v[_0x2b16a5(0x412)])(_0x2b16a5(0x5e9),{'className':_0x2b16a5(0x6e3),'children':[(0x0,v[_0x2b16a5(0x523)])(_0x2b16a5(0x5e9),{'className':_0x2b16a5(0x277),'children':_0x5831f1['t'](_0x2b16a5(0x644),_0x5831f1['t'](_0x2b16a5(0x652)))}),(0x0,v[_0x2b16a5(0x523)])(d['ColorPickerControl'],{'color':_0x18f993[_0x2b16a5(0x25e)],'onChange':_0x4fc88d=>_0x2a03ae==null?void 0x0:_0x2a03ae(_0x2b16a5(0x25e),_0x4fc88d)})]},_0x3d8dfa);}return null;}),_0x118525=[];for(let _0xd672cc=0x0;_0xd672cc<_0x2c8bf2[_0x25a217(0x687)];_0xd672cc+=0x2)_0x118525[_0x25a217(0x4cb)]((0x0,v[_0x25a217(0x412)])(_0x25a217(0x5e9),{'className':'univer-mb-2\x20univer-flex\x20univer-justify-between\x20univer-gap-2\x20univer-p-0','children':[_0x2c8bf2[_0xd672cc],_0xd672cc+0x1<_0x2c8bf2[_0x25a217(0x687)]?_0x2c8bf2[_0xd672cc+0x1]:(0x0,v[_0x25a217(0x523)])('div',{'className':'univer-flex\x20univer-flex-1\x20univer-flex-col\x20univer-justify-between'})]},_0xd672cc));return(0x0,v['jsx'])(v[_0x25a217(0x534)],{'children':[..._0x118525]});},St=_0x9dd24b=>{const _0x398599=_0x3a0a20;let {rightYAxis:_0x145f7e,onSeriesStyleChange:_0x5787cd}=_0x9dd24b;return(0x0,v[_0x398599(0x523)])(_0x398599(0x5e9),{'className':_0x398599(0x232),'children':(0x0,v[_0x398599(0x523)])(_0x398599(0x5e9),{'className':_0x398599(0x6e3),'children':(0x0,v['jsx'])(f[_0x398599(0x439)],{'checked':_0x145f7e,'onChange':_0x5e3017=>{_0x5787cd==null||_0x5787cd({'rightYAxis':!!_0x5e3017});},'children':(0x0,o['useDependency'])(t[_0x398599(0x350)])['t']('sheets-chart-ui.axes.useRightAxis')})})});},Ct={'shape':c[_0x3a0a20(0x5ce)][_0x3a0a20(0x38c)]['shape'],'size':c['defaultChartConfig']['point']['size'],'color':_0x3a0a20(0x27c)},wt=[_0x3a0a20(0x3bf),_0x3a0a20(0x51b)],Tt=_0x1785de=>{const _0x53495c=_0x3a0a20;let {chartType:_0x2786d3,data:_0x73a305,options:_0x26e411,onChange:_0x49623e}=_0x1785de,_0x425e58=(0x0,o[_0x53495c(0x510)])(t[_0x53495c(0x350)]),_0x277053=_0x2786d3===c[_0x53495c(0x5db)][_0x53495c(0x65b)],_0x492e15=_0x73a305==null?{}:_0x73a305;return(0x0,v[_0x53495c(0x523)])('div',{'className':_0x53495c(0x63b),'children':Object[_0x53495c(0x695)](_0x492e15)[_0x53495c(0x2df)](_0x50703b=>({'key':_0x50703b,'style':_0x492e15[Number(_0x50703b)]}))[_0x53495c(0x2df)](_0xc6d9f9=>{const _0x546ea4=_0x53495c;var _0x30fe3f,_0x2368da,_0x505da6;let {style:_0x283816}=_0xc6d9f9;return _0x283816===void 0x0?null:(0x0,v[_0x546ea4(0x412)])(_0x546ea4(0x5e9),{'className':_0x546ea4(0x2b6),'children':[(0x0,v[_0x546ea4(0x412)])(_0x546ea4(0x5e9),{'className':'univer-mb-2\x20univer-flex\x20univer-justify-between\x20univer-gap-2\x20univer-p-0','children':[(0x0,v[_0x546ea4(0x412)])(_0x546ea4(0x5e9),{'className':_0x546ea4(0x6e3),'children':[(0x0,v[_0x546ea4(0x523)])('div',{'className':_0x546ea4(0x277),'children':_0x425e58['t'](_0x546ea4(0x652))}),(0x0,v['jsx'])(f[_0x546ea4(0x4c3)],{'className':_0x546ea4(0x45f),'value':_0xc6d9f9[_0x546ea4(0x423)],'options':_0x26e411,'onChange':_0x2bbe0f=>{const _0x416757=_0x546ea4;_0x49623e==null||_0x49623e({[_0xc6d9f9[_0x416757(0x423)]]:void 0x0,[Number(_0x2bbe0f)]:_0xc6d9f9[_0x416757(0x65a)]});}})]}),(0x0,v['jsxs'])(_0x546ea4(0x5e9),{'className':_0x546ea4(0x6e3),'children':[(0x0,v['jsx'])(_0x546ea4(0x5e9),{'className':_0x546ea4(0x277),'children':_0x425e58['t'](_0x546ea4(0x206))}),(0x0,v['jsx'])(d[_0x546ea4(0x5cc)],{'color':(_0x30fe3f=_0x283816==null?void 0x0:_0x283816[_0x546ea4(0x25e)])==null?'':_0x30fe3f,'onChange':_0xcb67e3=>{const _0xbb26f6=_0x546ea4;_0x49623e==null||_0x49623e({[_0xc6d9f9[_0xbb26f6(0x423)]]:{'color':_0xcb67e3}});}})]}),(0x0,v[_0x546ea4(0x523)])(f[_0x546ea4(0x6e2)],{'className':_0x546ea4(0x57b),'variant':'text','onClick':()=>_0x49623e==null?void 0x0:_0x49623e({[_0xc6d9f9[_0x546ea4(0x423)]]:void 0x0}),'children':(0x0,v[_0x546ea4(0x523)])(g[_0x546ea4(0x69b)],{})})]}),_0x277053&&(0x0,v[_0x546ea4(0x523)])(xt,{'pointStyle':{...Ct,'shape':(_0x2368da=_0x283816['shape'])==null?Ct[_0x546ea4(0x3bf)]:_0x2368da,'size':(_0x505da6=_0x283816['size'])==null?Ct[_0x546ea4(0x51b)]:_0x505da6},'controls':wt,'onChange':(_0x5bb64c,_0x463a08)=>_0x49623e==null?void 0x0:_0x49623e({[_0xc6d9f9[_0x546ea4(0x423)]]:{[_0x5bb64c]:_0x463a08}})})]},_0xc6d9f9[_0x546ea4(0x423)]);})});},Et={'fontSize':c[_0x3a0a20(0x5ce)][_0x3a0a20(0x504)][_0x3a0a20(0x197)],'contentType':c['defaultChartConfig'][_0x3a0a20(0x1c5)],'position':c[_0x3a0a20(0x5ce)][_0x3a0a20(0x504)]['position']},Dt=_0x19e19e=>{const _0x1840a0=_0x3a0a20;let {isLineSeries:_0x2eebd0}=_0x19e19e,_0x286f7a=(0x0,o['useDependency'])(t[_0x1840a0(0x350)]),[_0x102e39]=X(_0x1840a0(0x2ad)),[_0x31eb04,_0x5bc23b]=X('paretoStyle'),_0x5e1d00=[_0x1840a0(0x3bf),_0x1840a0(0x51b),'color'],[_0x4ae071]=X(_0x1840a0(0x5ed)),_0x11b1dd=_0x2eebd0?_0x151fec=>{_0x5bc23b({'lineStyle':{..._0x151fec}});}:_0x40017f=>{_0x5bc23b({'barStyle':{..._0x40017f}});},_0xc0dbbb=c['defaultChartConfig'][_0x1840a0(0x5e0)],_0x576a9e=_0x2eebd0?_0x31eb04==null?void 0x0:_0x31eb04[_0x1840a0(0x59f)]:_0x31eb04==null?void 0x0:_0x31eb04[_0x1840a0(0x34e)],_0x20ea27=_0x576a9e==null?void 0x0:_0x576a9e[_0x1840a0(0x42e)],_0xa700a3=_0x51f86a=>{const _0x21b793=_0x1840a0;_0x576a9e&&_0x576a9e[_0x21b793(0x42e)]&&_0x576a9e['dataPoints'][_0x51f86a]||_0x11b1dd({'dataPoints':{[_0x51f86a]:{}}});},_0x487932=_0x54fa41=>{_0x11b1dd({'dataPoints':_0x54fa41});},_0x14adbc=$['map'](_0x754959=>({..._0x754959,'label':_0x286f7a['t'](_0x754959[_0x1840a0(0x609)])})),_0x374f36=(0x0,h[_0x1840a0(0x646)])(()=>Je[_0x1840a0(0x2df)](_0x189d1a=>({'value':_0x189d1a[_0x1840a0(0x3e9)],'label':_0x286f7a['t'](_0x189d1a['label'])})),[_0x286f7a]),_0x4a091f=Object[_0x1840a0(0x6cc)]({'color':'transparent','opacity':_0xc0dbbb['opacity'],'width':_0x2eebd0?_0xc0dbbb[_0x1840a0(0x515)]['lineOrArea']:_0xc0dbbb['width'],'dashType':_0xc0dbbb[_0x1840a0(0x54b)]},_0x576a9e==null?void 0x0:_0x576a9e[_0x1840a0(0x411)]),_0x1febb0=Object[_0x1840a0(0x6cc)]({'shape':c[_0x1840a0(0x5ce)]['point'][_0x1840a0(0x3bf)],'size':c[_0x1840a0(0x5ce)][_0x1840a0(0x4d7)]['symbolSize'],'color':_0x1840a0(0x27c)},_0x102e39==null?void 0x0:_0x102e39[_0x1840a0(0x38c)],_0x576a9e==null?void 0x0:_0x576a9e['point']),_0x454a29=Object[_0x1840a0(0x6cc)]({},_0x576a9e==null?void 0x0:_0x576a9e['label']);return(0x0,v[_0x1840a0(0x412)])(_0x1840a0(0x3c2),{'className':_0x1840a0(0x5b8),'children':[(0x0,v[_0x1840a0(0x523)])(yt,{'chartType':c[_0x1840a0(0x5db)][_0x1840a0(0x563)],'allSeriesStyle':_0x102e39,'controlName':_0x286f7a['t'](_0x2eebd0?'sheets-chart-ui.line':_0x1840a0(0x272)),'seriesStyle':_0x576a9e,'onSeriesStyleChange':_0x11b1dd}),(0x0,v['jsx'])(bt,{'isLineOrAreaChart':_0x2eebd0,'allSeriesBorderStyle':_0x576a9e==null?void 0x0:_0x576a9e[_0x1840a0(0x411)],'hideBorder':!_0x2eebd0,'controlName':_0x286f7a['t'](_0x2eebd0?_0x1840a0(0x1e7):_0x1840a0(0x21c)),'borderStyle':_0x4a091f,'onSeriesStyleChange':_0x11b1dd}),_0x2eebd0&&(0x0,v[_0x1840a0(0x523)])(xt,{'pointStyle':_0x1febb0,'onChange':(_0xff474,_0x456e0b)=>_0x11b1dd({'point':{[_0xff474]:_0x456e0b}}),'controls':_0x5e1d00}),!_0x2eebd0&&(0x0,v[_0x1840a0(0x412)])(v[_0x1840a0(0x534)],{'children':[(0x0,v[_0x1840a0(0x412)])('div',{'className':'univer-mb-2\x20univer-box-border\x20univer-flex\x20univer-justify-between\x20univer-gap-2','children':[(0x0,v[_0x1840a0(0x523)])(_0x1840a0(0x5e9),{'className':_0x1840a0(0x6e3),'children':(0x0,v[_0x1840a0(0x523)])(_0x1840a0(0x5e9),{'className':_0x1840a0(0x5e7),'children':_0x286f7a['t']('sheets-chart-ui.withFormat',_0x286f7a['t'](_0x1840a0(0x652)))})}),(0x0,v[_0x1840a0(0x523)])(_0x1840a0(0x5e9),{'className':_0x1840a0(0x6e3),'children':(0x0,v[_0x1840a0(0x523)])(d[_0x1840a0(0x54e)],{'value':'','menus':_0x4ae071==null?[]:_0x4ae071,'onSelect':_0x5154d5=>_0xa700a3(+_0x5154d5),'children':(0x0,v[_0x1840a0(0x412)])(_0x1840a0(0x5e9),{'className':'univer-inline-flex\x20univer-items-center\x20univer-gap-1\x20univer-justify-self-end\x20univer-text-xs\x20univer-font-medium\x20univer-text-primary-600','children':[(0x0,v['jsx'])(g[_0x1840a0(0x43e)],{}),(0x0,v[_0x1840a0(0x523)])(_0x1840a0(0x5f2),{'children':_0x286f7a['t'](_0x1840a0(0x237))})]})})})]}),_0x20ea27&&(0x0,v[_0x1840a0(0x523)])(Tt,{'chartType':c[_0x1840a0(0x5db)][_0x1840a0(0x563)],'data':_0x20ea27,'options':_0x4ae071==null?[]:_0x4ae071,'onChange':_0x487932})]}),(0x0,v['jsx'])(_0x1840a0(0x5e9),{'className':'univer-mt-2','children':(0x0,v[_0x1840a0(0x523)])(vt,{'fallbackLabelStyle':Et,'labelStyle':_0x454a29,'positionOptions':_0x14adbc,'contentTypeOptions':_0x374f36,'onLabelStyleChange':(_0x28f777,_0x3fe1b7)=>_0x11b1dd({'label':{[_0x28f777]:_0x3fe1b7}}),'onVisibleChange':_0x60ad5e=>_0x11b1dd({'label':{'visible':_0x60ad5e}}),'isPieLike':!0x1,'chartType':c[_0x1840a0(0x5db)]['Pareto']})})]});},Ot=_0x1b7850=>{const _0x678978=_0x3a0a20;let {chartType:_0x14391e,onChartTypeChange:_0x5aa8b4}=_0x1b7850,_0x4b09f3=(0x0,o[_0x678978(0x510)])(t[_0x678978(0x350)]),[_0x10e21e,_0x46d016]=X('pieBorderColor'),[_0x269a0d,_0x19c969]=X(_0x678978(0x2e2)),[_0x5ceb6f,_0x2d361f]=X(_0x678978(0x4ba)),[_0x5efa4e,_0xa48ecc]=X(_0x678978(0x410)),[_0x53e646,_0x100290]=X('isRosePie'),[_0x5ec352,_0x2998ad]=X(_0x678978(0x1ad)),[_0x81717e,_0xfb8c9e]=X(_0x678978(0x503)),[_0x267439,_0x3af28f]=X('valueSuffix'),[_0x4c9f69,_0x4b3cea]=X(_0x678978(0x67b)),[_0x1d4007,_0x5fbf13]=(0x0,h[_0x678978(0x4e0)])(_0x267439||''),_0x4a1d64=_0x14391e===c[_0x678978(0x5db)][_0x678978(0x245)]?c[_0x678978(0x5ce)][_0x678978(0x3a7)][_0x678978(0x417)]:0x0,[_0x5932ae,_0x7827b6]=X(_0x678978(0x417)),_0xa062ea=Pe[_0x678978(0x2df)](_0xa67311=>({..._0xa67311,'label':_0x4b09f3['t'](_0xa67311[_0x678978(0x609)])})),_0x32ee8f=Ye[_0x678978(0x2df)](_0x45c677=>({..._0x45c677,'label':_0x4b09f3['t'](_0x45c677[_0x678978(0x609)])})),_0x283c5d=(0x0,o[_0x678978(0x510)])(t[_0x678978(0x4d9)]),_0x2fccd9=(0x0,h[_0x678978(0x646)])(()=>({'visible':!0x0,'contentType':c[_0x678978(0x5ce)][_0x678978(0x3a7)][_0x678978(0x1c5)],'fontSize':c[_0x678978(0x5ce)][_0x678978(0x504)][_0x678978(0x197)],'position':c[_0x678978(0x1b0)]['Outside']}),[]),_0x391ae5=(0x0,h[_0x678978(0x40f)])(_0x531ca5=>{const _0x2f874c=_0x678978;let _0x6d7a0e=Number(_0x531ca5),_0xa8623c=_0x6d7a0e>0x0?c['ChartTypeBits'][_0x2f874c(0x245)]:c['ChartTypeBits'][_0x2f874c(0x604)];_0xa8623c!==_0x14391e&&(_0x5aa8b4==null||_0x5aa8b4(_0xa8623c)),_0x7827b6(_0x6d7a0e);},[_0x14391e,_0x5aa8b4]);return(0x0,v[_0x678978(0x412)])(_0x678978(0x5e9),{'className':_0x678978(0x5b8),'children':[(0x0,v['jsxs'])('div',{'className':_0x678978(0x312),'children':[(0x0,v[_0x678978(0x412)])(_0x678978(0x5e9),{'className':_0x678978(0x6e3),'children':[(0x0,v[_0x678978(0x523)])(_0x678978(0x5e9),{'className':_0x678978(0x277),'children':_0x4b09f3['t'](_0x678978(0x595))}),(0x0,v[_0x678978(0x523)])(f[_0x678978(0x4c3)],{'className':_0x678978(0x45f),'value':_0x5932ae?String(_0x5932ae):_0x4a1d64*0x64+'%','options':We,'onChange':_0x391ae5})]}),(0x0,v[_0x678978(0x412)])(_0x678978(0x5e9),{'className':_0x678978(0x6e3),'children':[(0x0,v[_0x678978(0x523)])(_0x678978(0x5e9),{'className':_0x678978(0x277),'children':_0x4b09f3['t']('sheets-chart-ui.withColor',_0x4b09f3['t'](_0x678978(0x21c)))}),(0x0,v[_0x678978(0x523)])(d[_0x678978(0x5cc)],{'color':_0x10e21e==null?'':_0x10e21e,'onChange':_0x46d016})]})]}),(0x0,v['jsxs'])(_0x678978(0x5e9),{'className':_0x678978(0x6e3),'children':[(0x0,v[_0x678978(0x523)])(_0x678978(0x5e9),{'className':'univer-mb-2\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x4b09f3['t'](_0x678978(0x58c))}),(0x0,v[_0x678978(0x412)])(_0x678978(0x5e9),{'className':_0x678978(0x232),'children':[(0x0,v[_0x678978(0x412)])(_0x678978(0x5e9),{'className':'univer-flex\x20univer-flex-1\x20univer-flex-col\x20univer-justify-between','children':[(0x0,v['jsx'])(_0x678978(0x5e9),{'className':'univer-mb-2\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x4b09f3['t']('sheets-chart-ui.styleEditPanel.pieValScale')}),(0x0,v[_0x678978(0x523)])(f[_0x678978(0x45d)],{'value':_0x81717e==null?0x1:_0x81717e,'onChange':_0x57bddd=>{const _0x2bdb74=_0x678978;_0x283c5d[_0x2bdb74(0x41c)](t[_0x2bdb74(0x2a1)],!0x1),_0xfb8c9e(Number['isNaN'](_0x57bddd)?null:Number(_0x57bddd));},'onFocus':()=>_0x283c5d[_0x678978(0x41c)](t[_0x678978(0x2a1)],!0x0),'onBlur':_0x298574=>{const _0x57d9b7=_0x678978;_0x283c5d['setContextValue'](t[_0x57d9b7(0x2a1)],!0x1);let _0x242e9e=_0x298574[_0x57d9b7(0x6da)]['value'];_0xfb8c9e(_0x242e9e===''?null:Number(_0x242e9e));},'onPressEnter':_0x3e2cc0=>{const _0x20ab66=_0x678978;let _0x2c570c=_0x3e2cc0['target'][_0x20ab66(0x3e9)];_0xfb8c9e(_0x2c570c===''?null:Number(_0x2c570c));}})]}),(0x0,v[_0x678978(0x412)])(_0x678978(0x5e9),{'className':'univer-flex\x20univer-flex-1\x20univer-flex-col\x20univer-justify-between','children':[(0x0,v[_0x678978(0x523)])('div',{'className':'univer-mb-2\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x4b09f3['t']('sheets-chart-ui.styleEditPanel.pieDigitalFixed')}),(0x0,v['jsx'])(f[_0x678978(0x45d)],{'value':_0x4c9f69==null?0x1:_0x4c9f69,'onChange':_0x1210b7=>{const _0x2f0ca7=_0x678978;_0x283c5d[_0x2f0ca7(0x41c)](t['FOCUSING_PANEL_EDITOR'],!0x1),_0x4b3cea(Number[_0x2f0ca7(0x1d6)](_0x1210b7)?null:Number(_0x1210b7));},'onFocus':()=>_0x283c5d[_0x678978(0x41c)](t[_0x678978(0x2a1)],!0x0),'onBlur':_0x1cc7df=>{const _0x24bae9=_0x678978;_0x283c5d[_0x24bae9(0x41c)](t['FOCUSING_PANEL_EDITOR'],!0x1);let _0x291dae=_0x1cc7df[_0x24bae9(0x6da)]['value'];_0x4b3cea(_0x291dae===''?null:Number(_0x291dae));},'onPressEnter':_0x2c361b=>{const _0x13f9c=_0x678978;let _0x31c8f6=_0x2c361b[_0x13f9c(0x6da)][_0x13f9c(0x3e9)];_0x4b3cea(_0x31c8f6===''?null:Number(_0x31c8f6));}})]}),(0x0,v[_0x678978(0x412)])(_0x678978(0x5e9),{'className':_0x678978(0x6e3),'children':[(0x0,v[_0x678978(0x523)])(_0x678978(0x5e9),{'className':_0x678978(0x277),'children':_0x4b09f3['t'](_0x678978(0x587))}),(0x0,v[_0x678978(0x523)])(f[_0x678978(0x302)],{'className':_0x678978(0x45f),'value':_0x1d4007,'onChange':_0x5fbf13,'onFocus':()=>{const _0x32681c=_0x678978;_0x283c5d[_0x32681c(0x41c)](t[_0x32681c(0x2a1)],!0x0);},'onBlur':()=>{const _0x3ef4c0=_0x678978;_0x283c5d['setContextValue'](t[_0x3ef4c0(0x2a1)],!0x1),_0x3af28f(_0x1d4007);}})]})]})]}),(0x0,v[_0x678978(0x523)])(vt,{'chartType':_0x14391e,'fallbackLabelStyle':_0x2fccd9,'labelStyle':_0x269a0d==null?{}:_0x269a0d,'onVisibleChange':_0x5b96bf=>_0x19c969({'visible':_0x5b96bf}),'onLabelStyleChange':(_0x2ceff5,_0x37be43)=>_0x19c969({[_0x2ceff5]:_0x37be43}),'positionOptions':_0xa062ea,'contentTypeOptions':_0x32ee8f,'onPadAngleChange':_0x452c3b=>_0x2d361f(_0x452c3b),'padAngleStyle':_0x5ceb6f,'onHalfPieChange':_0x5f2a3f=>_0xa48ecc(_0x5f2a3f),'isHalfPie':_0x5efa4e,'isRosePie':_0x53e646,'onRosePieChange':_0x2920f9=>_0x100290(_0x2920f9),'onShowLabelLineChange':_0x220e77=>_0x2998ad(_0x220e77),'showLabelLine':_0x5ec352,'isPieLike':!0x0})]});};function kt(){const _0x52f8b3=_0x3a0a20;var _0x4c97a0,_0xc3cd31;let _0x296f92=(0x0,o[_0x52f8b3(0x510)])(t[_0x52f8b3(0x350)]),_0x50a21c=(0x0,o[_0x52f8b3(0x510)])(t['IContextService']),_0x53c6c3=Qe['map'](_0x12f3a1=>({..._0x12f3a1,'label':_0x296f92['t'](_0x12f3a1[_0x52f8b3(0x609)])})),[_0x2dd29c,_0x3385ad]=X(_0x52f8b3(0x56d)),[_0x12b5fe,_0x1254f8]=X(_0x52f8b3(0x5ef)),[_0x4daaf0,_0x120d13]=X('useEmphasis'),[_0x4883c7,_0x2d11c4]=X(_0x52f8b3(0x2ed)),[_0x2b6342,_0x5c26d9]=X(_0x52f8b3(0x489)),_0x13f2af=_0x3549d8=>{_0x2d11c4({..._0x4883c7,..._0x3549d8});},_0x1ee1db=_0x5c01a2=>{_0x3385ad(_0x5c01a2);},_0x28d1fc=_0x2dd29c===c[_0x52f8b3(0x5ea)][_0x52f8b3(0x319)],_0x14a1e1=_0x2dd29c===c[_0x52f8b3(0x5ea)][_0x52f8b3(0x386)],_0x1c617b=De[_0x52f8b3(0x2df)](_0x5a1aad=>({..._0x5a1aad,'label':_0x296f92['t'](_0x5a1aad[_0x52f8b3(0x609)])})),[_0x47640b,_0x59e73f]=X(_0x52f8b3(0x457));return(0x0,v[_0x52f8b3(0x412)])(_0x52f8b3(0x5e9),{'children':[(0x0,v[_0x52f8b3(0x412)])(_0x52f8b3(0x5e9),{'className':_0x52f8b3(0x5ca),'children':[(0x0,v['jsx'])(_0x52f8b3(0x5e9),{'className':_0x52f8b3(0x277),'children':_0x296f92['t'](_0x52f8b3(0x236))}),(0x0,v[_0x52f8b3(0x523)])(f[_0x52f8b3(0x4c3)],{'className':_0x52f8b3(0x45f),'value':String(_0x47640b==null?c[_0x52f8b3(0x5ce)]['relation'][_0x52f8b3(0x1e9)]:_0x47640b),'options':_0x1c617b,'onChange':_0x349ca3=>_0x59e73f(_0x349ca3)})]},_0x52f8b3(0x3bf)),(0x0,v[_0x52f8b3(0x523)])('div',{'children':(0x0,v['jsx'])(f[_0x52f8b3(0x439)],{'checked':_0x12b5fe==null?!0x0:_0x12b5fe,'onChange':_0x480663=>{_0x1254f8==null||_0x1254f8(!!_0x480663);},'children':_0x296f92['t'](_0x52f8b3(0x3a6))})}),(0x0,v[_0x52f8b3(0x523)])('div',{'className':_0x52f8b3(0x6c3),'children':(0x0,v['jsx'])(f[_0x52f8b3(0x439)],{'checked':_0x4daaf0==null?!0x0:_0x4daaf0,'onChange':_0x2d6c7f=>{_0x120d13(!!_0x2d6c7f);},'children':_0x296f92['t'](_0x52f8b3(0x361))})}),(0x0,v[_0x52f8b3(0x523)])('div',{'className':_0x52f8b3(0x4f0),'children':_0x296f92['t'](_0x52f8b3(0x2d6))}),(0x0,v['jsx'])(f['Select'],{'className':'univer-w-full\x20!univer-min-w-0','value':_0x2dd29c==null?c[_0x52f8b3(0x5ea)][_0x52f8b3(0x5c0)]:_0x2dd29c,'options':_0x53c6c3,'onChange':_0x1ee1db}),_0x28d1fc&&(0x0,v['jsxs'])(_0x52f8b3(0x5e9),{'className':'univer-mt-4','children':[(0x0,v[_0x52f8b3(0x523)])(_0x52f8b3(0x5e9),{'className':'univer-mb-2\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x296f92['t'](_0x52f8b3(0x3f9))}),(0x0,v[_0x52f8b3(0x412)])(_0x52f8b3(0x5e9),{'className':'univer-mb-2\x20univer-flex\x20univer-flex-1\x20univer-flex-row\x20univer-justify-between','children':[(0x0,v[_0x52f8b3(0x523)])(_0x52f8b3(0x5e9),{'className':_0x52f8b3(0x1e5),'children':_0x296f92['t'](_0x52f8b3(0x243))}),(0x0,v[_0x52f8b3(0x523)])(f[_0x52f8b3(0x45d)],{'className':_0x52f8b3(0x1e5),'controls':!0x1,'onFocus':()=>_0x50a21c[_0x52f8b3(0x41c)](t[_0x52f8b3(0x2a1)],!0x0),'onBlur':_0x46a4ee=>{const _0x89cc8c=_0x52f8b3;_0x50a21c[_0x89cc8c(0x41c)](t[_0x89cc8c(0x2a1)],!0x1);},'value':(_0x4c97a0=_0x4883c7==null?void 0x0:_0x4883c7[_0x52f8b3(0x419)])==null?c['defaultChartConfig'][_0x52f8b3(0x23e)][_0x52f8b3(0x28b)][_0x52f8b3(0x419)]:_0x4c97a0,'onChange':_0x1398c1=>_0x13f2af({'repulsion':_0x1398c1})})]}),(0x0,v[_0x52f8b3(0x412)])(_0x52f8b3(0x5e9),{'className':_0x52f8b3(0x5cf),'children':[(0x0,v[_0x52f8b3(0x523)])(_0x52f8b3(0x5e9),{'className':_0x52f8b3(0x1e5),'children':_0x296f92['t'](_0x52f8b3(0x605))}),(0x0,v[_0x52f8b3(0x523)])(f[_0x52f8b3(0x45d)],{'className':_0x52f8b3(0x1e5),'controls':!0x1,'onFocus':()=>_0x50a21c[_0x52f8b3(0x41c)](t[_0x52f8b3(0x2a1)],!0x0),'onBlur':_0x459a69=>{const _0x8cc2eb=_0x52f8b3;_0x50a21c[_0x8cc2eb(0x41c)](t['FOCUSING_PANEL_EDITOR'],!0x1);},'value':(_0xc3cd31=_0x4883c7==null?void 0x0:_0x4883c7[_0x52f8b3(0x59a)])==null?c[_0x52f8b3(0x5ce)][_0x52f8b3(0x23e)][_0x52f8b3(0x28b)][_0x52f8b3(0x59a)]:_0xc3cd31,'onChange':_0x4b757c=>_0x13f2af({'gravity':_0x4b757c})})]}),(0x0,v[_0x52f8b3(0x412)])(_0x52f8b3(0x5e9),{'className':_0x52f8b3(0x5cf),'children':[(0x0,v[_0x52f8b3(0x523)])(_0x52f8b3(0x5e9),{'className':_0x52f8b3(0x1e5),'children':_0x296f92['t'](_0x52f8b3(0x20f))}),(0x0,v[_0x52f8b3(0x523)])(f[_0x52f8b3(0x45d)],{'className':_0x52f8b3(0x1e5),'controls':!0x1,'value':_0x4883c7==null?void 0x0:_0x4883c7[_0x52f8b3(0x34f)],'onFocus':()=>_0x50a21c[_0x52f8b3(0x41c)](t['FOCUSING_PANEL_EDITOR'],!0x0),'onBlur':_0x7c46b5=>{const _0x43a511=_0x52f8b3;_0x50a21c[_0x43a511(0x41c)](t[_0x43a511(0x2a1)],!0x1);},'onChange':_0x3afd65=>_0x13f2af({'edgeLength':_0x3afd65}),'min':0x0,'step':0xa})]})]}),_0x14a1e1&&(0x0,v['jsx'])(_0x52f8b3(0x5e9),{'className':'univer-mt-2','children':(0x0,v[_0x52f8b3(0x523)])(f[_0x52f8b3(0x439)],{'checked':_0x2b6342==null?c['defaultChartConfig']['relation'][_0x52f8b3(0x2ef)]['rotateLabel']:_0x2b6342,'onChange':_0x453e0e=>{_0x5c26d9(!!_0x453e0e);},'children':_0x296f92['t'](_0x52f8b3(0x6a8))})})]});}const At=c[_0x3a0a20(0x5ce)][_0x3a0a20(0x6b2)];function jt(_0x344d80,_0x181fab){const _0x5c07a7=_0x3a0a20;let [_0x2f5205]=X(_0x5c07a7(0x491)),[_0x396ea1]=X('seriesValues'),_0x15e0ee=_0x181fab===c[_0x5c07a7(0x5ce)][_0x5c07a7(0x303)],_0x1023ae=_0x2f5205==null?void 0x0:_0x2f5205[_0x181fab];return _0x344d80===c[_0x5c07a7(0x5db)][_0x5c07a7(0x3f0)]?_0x15e0ee?((()=>{const _0x3e8476=_0x5c07a7;let _0x2fb0c5=_0x396ea1==null?void 0x0:_0x396ea1[_0x3e8476(0x2df)]((_0x2db373,_0x536386)=>{const _0x351e06=_0x3e8476;var _0x5c7ad5;let _0x8080c1=_0x2f5205==null?void 0x0:_0x2f5205[_0x2db373],_0x5e9306=_0x536386===0x0?At[_0x351e06(0x29d)]:At[_0x351e06(0x502)];return(_0x5c7ad5=_0x8080c1==null?void 0x0:_0x8080c1[_0x351e06(0x4e7)])==null?_0x5e9306:_0x5c7ad5;}),_0x2372ba=_0x2fb0c5==null?void 0x0:_0x2fb0c5[0x0];return _0x2fb0c5!=null&&_0x2fb0c5[_0x3e8476(0x247)](_0x437d78=>_0x437d78===_0x2372ba)?_0x2372ba:c[_0x3e8476(0x5db)][_0x3e8476(0x5c0)];})()):((()=>{const _0x3c2747=_0x5c07a7;var _0x420937;let _0x2877c5=_0x181fab===String(_0x396ea1==null?void 0x0:_0x396ea1[0x0])?At[_0x3c2747(0x29d)]:At['otherChartType'];return(_0x420937=_0x1023ae==null?void 0x0:_0x1023ae['chartType'])==null?_0x2877c5:_0x420937;})()):_0x344d80;}const Mt=_0x4ffa93=>{const _0x56254f=_0x3a0a20;let {seriesId:_0x447776}=_0x4ffa93,_0xbd7429=(0x0,o[_0x56254f(0x510)])(t[_0x56254f(0x350)]),_0x25016d=Ce['map'](_0x587597=>({..._0x587597,'label':_0xbd7429['t'](_0x587597[_0x56254f(0x609)])})),[_0x23dc12,_0x116191]=X('seriesStyleMap'),[_0x5d00e1]=X(_0x56254f(0x68d)),_0x50708b=(0x0,h[_0x56254f(0x40f)])(_0x9ee277=>{const _0x30f75f=_0x56254f;let _0x5e80bb=Number(_0x9ee277);if(_0x447776===c[_0x30f75f(0x5ce)][_0x30f75f(0x303)]){let _0x1e71d8=_0x5d00e1==null?void 0x0:_0x5d00e1['reduce']((_0x5000b0,_0x5534dd)=>(_0x5000b0[String(_0x5534dd)]={'chartType':_0x5e80bb},_0x5000b0),{});if(!_0x1e71d8)return;_0x116191(_0x1e71d8);}else _0x116191({[_0x447776]:{'chartType':_0x5e80bb}});},[_0x447776]),_0x5b7151=jt(c[_0x56254f(0x5db)][_0x56254f(0x3f0)],_0x447776),_0x16cb34=String(_0x5b7151==null?'':_0x5b7151);return(0x0,v[_0x56254f(0x523)])(f[_0x56254f(0x4c3)],{'className':'univer-w-full\x20!univer-min-w-0','value':_0x5b7151===c[_0x56254f(0x5db)]['None']?'':_0x16cb34,'options':_0x25016d,'onChange':_0x50708b});},Nt={'shape':c[_0x3a0a20(0x5ce)][_0x3a0a20(0x280)][_0x3a0a20(0x584)],'size':c[_0x3a0a20(0x5ce)][_0x3a0a20(0x280)][_0x3a0a20(0x5c3)],'color':void 0x0},Pt=[_0x3a0a20(0x3bf),_0x3a0a20(0x51b),_0x3a0a20(0x25e)],Ft=_0x35c732=>{const _0x887697=_0x3a0a20;let {setSeriesStyle:_0x335592,pointStyle:_0x1235fb}=_0x35c732;return(0x0,o[_0x887697(0x510)])(t['LocaleService']),(0x0,v[_0x887697(0x523)])(xt,{'pointStyle':{...Nt,..._0x1235fb},'controls':Pt,'onChange':(_0x2fefe6,_0x1999e5)=>_0x335592({'point':{[_0x2fefe6]:_0x1999e5}})});},It={'fontSize':c['defaultChartConfig']['textStyle']['fontSize'],'contentType':c['defaultChartConfig'][_0x3a0a20(0x1c5)],'position':c[_0x3a0a20(0x5ce)][_0x3a0a20(0x504)][_0x3a0a20(0x2e5)]},Lt=[Te()],Rt=c[_0x3a0a20(0x5ce)][_0x3a0a20(0x5e0)],zt=['shape',_0x3a0a20(0x51b),_0x3a0a20(0x25e)],Bt=[_0x3a0a20(0x3bf),'size'],Vt=_0xf9e5db=>(_0xf9e5db&c[_0x3a0a20(0x5db)]['Line'])>0x0||(_0xf9e5db&c[_0x3a0a20(0x5db)]['Area'])>0x0?Rt['specialChartWidthMap'][_0x3a0a20(0x289)]:_0xf9e5db===c[_0x3a0a20(0x5db)][_0x3a0a20(0x32b)]?Rt[_0x3a0a20(0x515)][_0x3a0a20(0x280)]:Rt[_0x3a0a20(0x613)],Ht=_0x143b7d=>{const _0x26d587=_0x3a0a20;var _0x18e33f,_0x27b8e5,_0xf5e349,_0x240984;let {chartType:_0x42ff4a,selectedSeriesId:_0x1d0ce8}=_0x143b7d,_0x521eaf=(0x0,o['useDependency'])(t['LocaleService']),_0x302bae=(0x0,o[_0x26d587(0x63d)])(_0x521eaf['direction$'],_0x521eaf[_0x26d587(0x6df)]()),_0x389625=(0x0,h[_0x26d587(0x646)])(()=>_0x302bae===_0x26d587(0x65e)?c['RTLChartStyle']:{},[_0x302bae]),_0x5603fa=(0x0,h['useMemo'])(()=>{const _0x265aa3=_0x26d587;var _0x56db3a;return{...It,...(_0x56db3a=_0x389625[_0x265aa3(0x2ad)])==null?void 0x0:_0x56db3a[_0x265aa3(0x609)]};},[_0x389625]),_0x21ee26=$[_0x26d587(0x2df)](_0x2473dc=>({..._0x2473dc,'label':_0x521eaf['t'](_0x2473dc['label'])})),_0x4ce7db=(0x0,h[_0x26d587(0x646)])(()=>Je[_0x26d587(0x6b4)](_0x290f5d=>_0x42ff4a===c[_0x26d587(0x5db)][_0x26d587(0x32b)]?_0x290f5d['value']!==String(c['LabelContentType']['SeriesName'])&&_0x290f5d['value']!==String(c[_0x26d587(0x3d6)]['Percentage']):_t[_0x26d587(0x347)](_0x42ff4a)?!0x0:_0x290f5d[_0x26d587(0x3e9)]!==String(c[_0x26d587(0x3d6)][_0x26d587(0x6d3)]))[_0x26d587(0x2df)](_0x2cecd6=>({'value':_0x2cecd6[_0x26d587(0x3e9)],'label':_0x521eaf['t'](_0x2cecd6[_0x26d587(0x609)])})),[_0x42ff4a,_0x521eaf]),[_0x3c4a15]=Lt[_0x26d587(0x2df)](_0x248b66=>({..._0x248b66,'label':_0x521eaf['t'](_0x248b66[_0x26d587(0x609)])})),[_0x18b261,_0x4e1619]=(0x0,h[_0x26d587(0x4e0)])(c['defaultChartConfig'][_0x26d587(0x303)]),_0x569332=_0x18b261===c[_0x26d587(0x5ce)][_0x26d587(0x303)],[_0x3703cc,_0x55093f]=X(_0x26d587(0x2ad)),[_0x3cc350,_0x540910]=X('seriesStyleMap'),[_0x1f3e3e]=X('dataPointsOptions'),_0x397b90=_0x3cc350==null?void 0x0:_0x3cc350[_0x18b261],[_0x19367a]=X('seriesList'),_0x5ef240=_0x397b90==null?void 0x0:_0x397b90['dataPoints'],_0x3b45d7=(0x0,h[_0x26d587(0x646)])(()=>_0x19367a?[_0x3c4a15,..._0x19367a]:[],[_0x3c4a15,_0x19367a]);(0x0,h['useEffect'])(()=>{const _0x5dc9da=_0x26d587;var _0x9248f5;if(!_0x1d0ce8||_0x3b45d7[_0x5dc9da(0x687)]===0x0)return;let _0x5089c0=_0x3b45d7[_0x5dc9da(0x269)](_0x4ecf4b=>_0x4ecf4b[_0x5dc9da(0x3e9)]===_0x1d0ce8),_0x43cfe5=_0x3b45d7['find'](_0x228bab=>_0x228bab[_0x5dc9da(0x3e9)]!==c['defaultChartConfig'][_0x5dc9da(0x303)]),_0x100635=(_0x9248f5=_0x5089c0==null?void 0x0:_0x5089c0['value'])==null?_0x43cfe5==null?void 0x0:_0x43cfe5[_0x5dc9da(0x3e9)]:_0x9248f5;_0x100635&&_0x4e1619(_0x100635);},[_0x1d0ce8,_0x3b45d7]);let _0x42868f=_0x42ff4a?c[_0x26d587(0x442)][_0x26d587(0x347)](_0x42ff4a,c[_0x26d587(0x3fa)][_0x26d587(0x5c1)]):!0x1,_0x213c8f=jt(_0x42ff4a,_0x18b261),_0x51d7ae=_0x213c8f===c[_0x26d587(0x5db)]['Line'],_0x52b807=(_0x213c8f&c[_0x26d587(0x5db)][_0x26d587(0x2d9)])>0x0,_0x228f98=_0x213c8f===c[_0x26d587(0x5db)][_0x26d587(0x32b)],_0x4f9a5a=_0x213c8f===c[_0x26d587(0x5db)]['Scatter'],_0x1343f0=_0x51d7ae||_0x52b807,_0x10e085=(_0x42ff4a&c[_0x26d587(0x5db)]['Pie'])>0x0||_0x228f98,_0x5fc6c=Vt(_0x42ff4a),_0x567bb7=(0x0,h[_0x26d587(0x40f)])(_0x3a03dc=>{_0x540910({[_0x18b261]:_0x3a03dc});},[_0x18b261]),_0x3b9c13=_0x24fbd8=>{_0x569332?_0x55093f(_0x24fbd8):_0x567bb7(_0x24fbd8);},_0x2318c6={..._0x397b90==null?void 0x0:_0x397b90[_0x26d587(0x411)]},_0x228a03=Object[_0x26d587(0x6cc)]({'color':_0x26d587(0x27c),'opacity':Rt['opacity'],'width':_0x5fc6c,'dashType':Rt['dashType']},_0x2318c6),_0x801f63=Object[_0x26d587(0x6cc)]({'color':'transparent','opacity':Rt[_0x26d587(0x2cb)],'width':_0x5fc6c,'dashType':Rt['dashType']},_0x3703cc==null?void 0x0:_0x3703cc['border']),_0x23d788=Object[_0x26d587(0x6cc)]({'shape':c[_0x26d587(0x5ce)][_0x26d587(0x38c)][_0x26d587(0x3bf)],'size':_0x4f9a5a?c['defaultChartConfig']['point'][_0x26d587(0x2d7)]:c[_0x26d587(0x5ce)]['point'][_0x26d587(0x51b)],'color':_0x26d587(0x27c)},_0x3703cc==null?void 0x0:_0x3703cc[_0x26d587(0x38c)],_0x397b90==null?void 0x0:_0x397b90[_0x26d587(0x38c)]),_0x36c471=_0x569332?(_0x18e33f=_0x3703cc==null?void 0x0:_0x3703cc[_0x26d587(0x609)])==null?{}:_0x18e33f:Object['assign']({},_0x3703cc==null?void 0x0:_0x3703cc[_0x26d587(0x609)],_0x397b90==null?void 0x0:_0x397b90[_0x26d587(0x609)]),_0x4f0d5d=(_0x27b8e5=(_0xf5e349=_0x397b90==null?void 0x0:_0x397b90[_0x26d587(0x6b7)])==null?_0x3703cc==null?void 0x0:_0x3703cc['rightYAxis']:_0xf5e349)==null?(_0x240984=_0x389625[_0x26d587(0x2ad)])==null?void 0x0:_0x240984[_0x26d587(0x6b7)]:_0x27b8e5,_0x50b524=_0x213c8f===c[_0x26d587(0x5db)][_0x26d587(0x5c0)]||_0x42ff4a===c[_0x26d587(0x5db)][_0x26d587(0x3f0)]&&_0x213c8f===c[_0x26d587(0x5db)]['Column']&&_0x569332,_0x4a2622=(0x0,h['useCallback'])(_0x25fe86=>{const _0x5bbcaa=_0x26d587;_0x397b90&&_0x397b90[_0x5bbcaa(0x42e)]&&_0x397b90['dataPoints'][_0x25fe86]||_0x540910({[_0x18b261]:{'dataPoints':{[_0x25fe86]:{}}}});},[_0x397b90,_0x18b261]),_0xbcac49=(0x0,h['useCallback'])(_0x1066d3=>{_0x540910({[_0x18b261]:{'dataPoints':_0x1066d3}});},[_0x18b261]);return(0x0,v[_0x26d587(0x412)])(v[_0x26d587(0x534)],{'children':[(0x0,v[_0x26d587(0x523)])('div',{'className':_0x26d587(0x5b8),'children':(0x0,v[_0x26d587(0x523)])(f[_0x26d587(0x4c3)],{'className':_0x26d587(0x45f),'value':_0x18b261,'onChange':_0x429d53=>_0x4e1619(_0x429d53),'options':_0x3b45d7})}),_0x42ff4a===c['ChartTypeBits'][_0x26d587(0x3f0)]&&(0x0,v[_0x26d587(0x412)])(_0x26d587(0x5e9),{'className':_0x26d587(0x5b8),'children':[(0x0,v['jsx'])('div',{'className':_0x26d587(0x483),'children':_0x521eaf['t'](_0x26d587(0x257))}),(0x0,v[_0x26d587(0x523)])(Mt,{'seriesId':_0x18b261})]}),(0x0,v[_0x26d587(0x412)])(_0x26d587(0x5e9),{'className':_0x26d587(0x5b8),'children':[!_0x50b524&&(0x0,v[_0x26d587(0x412)])(v[_0x26d587(0x534)],{'children':[(0x0,v[_0x26d587(0x523)])('div',{'className':'univer-mb-4\x20univer-text-sm\x20univer-font-medium\x20univer-text-gray-900\x20dark:!univer-text-white','children':_0x521eaf['t']('sheets-chart-ui.seriesBlock.format')}),(!_0x4f9a5a||_0x4f9a5a&&!_0x569332)&&(0x0,v['jsx'])(yt,{'chartType':_0x42ff4a,'allSeriesStyle':_0x3703cc,'controlName':_0x521eaf['t'](_0x51d7ae?_0x26d587(0x1e7):'sheets-chart-ui.fill'),'seriesStyle':_0x569332?_0x3703cc:_0x397b90,'onSeriesStyleChange':_0x3b9c13}),!_0x4f9a5a&&(0x0,v[_0x26d587(0x523)])(bt,{'isLineOrAreaChart':_0x1343f0,'allSeriesBorderStyle':_0x3703cc==null?void 0x0:_0x3703cc[_0x26d587(0x411)],'hideBorder':!_0x51d7ae,'controlName':_0x521eaf['t'](_0x51d7ae||_0x228f98?_0x26d587(0x1e7):'sheets-chart-ui.border'),'borderStyle':_0x569332?_0x801f63:_0x228a03,'onSeriesStyleChange':_0x3b9c13}),(_0x1343f0||_0x4f9a5a)&&(0x0,v[_0x26d587(0x523)])(xt,{'pointStyle':_0x23d788,'onChange':(_0xe2d00f,_0x3bdce7)=>_0x3b9c13({'point':{[_0xe2d00f]:_0x3bdce7}}),'controls':_0x569332?Bt:zt})]}),!_0x42868f&&!_0x569332&&!_0x10e085&&(0x0,v[_0x26d587(0x523)])(St,{'rightYAxis':!!_0x4f0d5d,'onSeriesStyleChange':_0x3b9c13})]}),(0x0,v[_0x26d587(0x412)])(_0x26d587(0x5e9),{'className':'univer-box-border\x20univer-w-full\x20univer-pb-2.5\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':[!_0x569332&&_0x228f98&&(0x0,v[_0x26d587(0x523)])(Ft,{'pointStyle':_0x397b90==null?void 0x0:_0x397b90[_0x26d587(0x38c)],'setSeriesStyle':_0x3b9c13}),!_0x569332&&!_0x228f98&&(0x0,v[_0x26d587(0x412)])(v[_0x26d587(0x534)],{'children':[(0x0,v[_0x26d587(0x412)])(_0x26d587(0x5e9),{'className':_0x26d587(0x211),'children':[(0x0,v[_0x26d587(0x523)])(_0x26d587(0x5e9),{'className':_0x26d587(0x6e3),'children':(0x0,v['jsx'])(_0x26d587(0x5e9),{'className':'univer-mb-4\x20univer-text-sm\x20univer-font-medium\x20univer-text-gray-900\x20dark:!univer-text-white','children':_0x521eaf['t'](_0x26d587(0x210),_0x521eaf['t'](_0x26d587(0x652)))})}),(0x0,v[_0x26d587(0x523)])('div',{'className':'univer-flex\x20univer-flex-1\x20univer-flex-col\x20univer-justify-between','children':(0x0,v[_0x26d587(0x523)])(d[_0x26d587(0x54e)],{'value':_0x18b261,'menus':_0x1f3e3e==null?[]:_0x1f3e3e,'onSelect':_0x5368cf=>_0x4a2622(+_0x5368cf),'children':(0x0,v['jsxs'])('div',{'className':_0x26d587(0x28d),'children':[(0x0,v[_0x26d587(0x523)])(g[_0x26d587(0x43e)],{}),(0x0,v[_0x26d587(0x523)])(_0x26d587(0x5f2),{'children':_0x521eaf['t']('sheets-chart-ui.addDataPoint')})]})})})]}),_0x5ef240&&(0x0,v['jsx'])(Tt,{'chartType':_0x42ff4a,'data':_0x5ef240,'options':_0x1f3e3e==null?[]:_0x1f3e3e,'onChange':_0xbcac49})]})]}),(0x0,v[_0x26d587(0x523)])('div',{'className':_0x26d587(0x5b8),'children':(0x0,v['jsx'])(vt,{'fallbackLabelStyle':_0x5603fa,'labelStyle':_0x36c471,'positionOptions':_0x21ee26,'contentTypeOptions':_0x4ce7db,'onLabelStyleChange':(_0x43f2f9,_0x5750b5)=>_0x3b9c13({'label':{[_0x43f2f9]:_0x5750b5}}),'onVisibleChange':_0x232ae3=>_0x3b9c13({'label':{'visible':_0x232ae3}}),'isPieLike':!0x1,'chartType':_0x42ff4a})})]});},Ut=()=>{const _0x3d5ca1=_0x3a0a20;var _0x4ea660,_0x13dc93,_0x40f891,_0x400bdd;let _0x120009=(0x0,o[_0x3d5ca1(0x510)])(t[_0x3d5ca1(0x350)]),_0x4d0564=(0x0,o[_0x3d5ca1(0x510)])(t['IContextService']),[_0x25ae8e,_0x82530c]=X('trendlineValues'),[_0x34afdd,_0x454072]=(0x0,h[_0x3d5ca1(0x4e0)])(0x0),_0xb6d342=je[_0x3d5ca1(0x2df)](_0x1175ff=>({'label':(0x0,v[_0x3d5ca1(0x412)])('div',{'className':'univer-flex\x20univer-h-6\x20univer-flex-row\x20univer-items-center\x20univer-gap-1.5','children':[(0x0,v[_0x3d5ca1(0x523)])(_0x3d5ca1(0x5e9),{'className':_0x3d5ca1(0x422),'children':Me==null?void 0x0:Me[_0x1175ff[_0x3d5ca1(0x3e9)]]}),(0x0,v[_0x3d5ca1(0x523)])(_0x3d5ca1(0x5e9),{'className':'univer-text-sm\x20univer-text-gray-900\x20dark:!univer-text-white','children':_0x120009['t'](_0x1175ff[_0x3d5ca1(0x609)])})]}),'value':_0x1175ff['value']})),_0x463e31=Q[_0x3d5ca1(0x2df)](_0x1b0a4c=>({..._0x1b0a4c,'label':_0x120009['t'](_0x1b0a4c[_0x3d5ca1(0x609)])})),_0x6fd4ef=ke['slice'](0x1),_0x1c7616=(_0x25ae8e||[])['map']((_0x21941d,_0x4a6132)=>({'label':_0x21941d[_0x3d5ca1(0x685)],'value':String(_0x4a6132)})),_0x462f8c=(0x0,h[_0x3d5ca1(0x40f)])(_0x325045=>{if(_0x25ae8e){let _0x3cdde7=[..._0x25ae8e];_0x3cdde7[_0x34afdd]={..._0x3cdde7[_0x34afdd],..._0x325045},_0x82530c(_0x3cdde7);}},[_0x25ae8e,_0x34afdd]),_0x593164=(0x0,h[_0x3d5ca1(0x646)])(()=>_0x25ae8e?_0x25ae8e[_0x34afdd]:void 0x0,[_0x25ae8e,_0x34afdd]),[_0x491515,_0x8495b0]=(0x0,h[_0x3d5ca1(0x4e0)])((_0x593164==null?void 0x0:_0x593164[_0x3d5ca1(0x685)])||'');return _0x25ae8e===void 0x0||_0x25ae8e[_0x3d5ca1(0x687)]===0x0?null:(0x0,v[_0x3d5ca1(0x412)])(_0x3d5ca1(0x3c2),{'className':_0x3d5ca1(0x5b8),'children':[(0x0,v[_0x3d5ca1(0x523)])(_0x3d5ca1(0x5e9),{'className':_0x3d5ca1(0x277),'children':(0x0,v[_0x3d5ca1(0x523)])(f[_0x3d5ca1(0x4c3)],{'className':_0x3d5ca1(0x45f),'value':String(_0x34afdd),'onChange':_0x379b1e=>_0x454072(Number(_0x379b1e)),'options':_0x1c7616})}),(0x0,v[_0x3d5ca1(0x523)])(_0x3d5ca1(0x5e9),{'className':_0x3d5ca1(0x277),'children':_0x120009['t'](_0x3d5ca1(0x505))}),(0x0,v[_0x3d5ca1(0x523)])(_0x3d5ca1(0x5e9),{'className':'univer-mb-2\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':(0x0,v[_0x3d5ca1(0x523)])(f[_0x3d5ca1(0x302)],{'value':_0x491515,'onChange':_0x8495b0,'onBlur':()=>{const _0x2cc850=_0x3d5ca1;_0x4d0564[_0x2cc850(0x41c)](t[_0x2cc850(0x2a1)],!0x1),_0x491515?_0x462f8c==null||_0x462f8c({'name':_0x491515}):_0x8495b0((_0x593164==null?void 0x0:_0x593164[_0x2cc850(0x685)])||'');},'onFocus':()=>{const _0x41cc98=_0x3d5ca1;_0x4d0564[_0x41cc98(0x41c)](t[_0x41cc98(0x2a1)],!0x0);}})}),(0x0,v[_0x3d5ca1(0x523)])(_0x3d5ca1(0x5e9),{'className':_0x3d5ca1(0x277),'children':_0x120009['t']('sheets-chart-ui.trendline.trendlineDashType')}),(0x0,v[_0x3d5ca1(0x412)])(_0x3d5ca1(0x5e9),{'className':_0x3d5ca1(0x277),'children':[(0x0,v[_0x3d5ca1(0x523)])(f[_0x3d5ca1(0x4c3)],{'className':_0x3d5ca1(0x56e),'value':String(_0x593164==null?void 0x0:_0x593164[_0x3d5ca1(0x5c4)]),'onChange':_0x5351a1=>_0x462f8c==null?void 0x0:_0x462f8c({'type':_0x5351a1}),'options':_0xb6d342}),(0x0,v[_0x3d5ca1(0x523)])(_0x3d5ca1(0x5e9),{'className':_0x3d5ca1(0x6b6),'children':(0x0,v[_0x3d5ca1(0x523)])(f['Checkbox'],{'checked':(_0x593164==null?void 0x0:_0x593164[_0x3d5ca1(0x1a5)])||c[_0x3d5ca1(0x5ce)]['trendline']['showFormula'],'onChange':_0x2850cc=>_0x462f8c({'showFormula':!!_0x2850cc}),'children':_0x120009['t'](_0x3d5ca1(0x6cd))})}),(0x0,v['jsx'])(_0x3d5ca1(0x5e9),{'className':_0x3d5ca1(0x6b6),'children':(0x0,v['jsx'])(f[_0x3d5ca1(0x439)],{'checked':(_0x593164==null?void 0x0:_0x593164[_0x3d5ca1(0x5ee)])||c[_0x3d5ca1(0x5ce)][_0x3d5ca1(0x569)][_0x3d5ca1(0x5ee)],'onChange':_0x20362e=>_0x462f8c({'showR2':!!_0x20362e}),'children':_0x120009['t'](_0x3d5ca1(0x26f))})}),((_0x593164==null?void 0x0:_0x593164[_0x3d5ca1(0x5c4)])===c['ChartTrendlineType']['poly']||(_0x593164==null?void 0x0:_0x593164[_0x3d5ca1(0x5c4)])===c[_0x3d5ca1(0x591)][_0x3d5ca1(0x49a)])&&(0x0,v[_0x3d5ca1(0x412)])(_0x3d5ca1(0x5e9),{'className':'univer-my-2','children':[(_0x593164==null?void 0x0:_0x593164[_0x3d5ca1(0x5c4)])===c[_0x3d5ca1(0x591)]['poly']&&(0x0,v[_0x3d5ca1(0x412)])(v['Fragment'],{'children':[(0x0,v['jsx'])(_0x3d5ca1(0x5e9),{'className':_0x3d5ca1(0x277),'children':_0x120009['t'](_0x3d5ca1(0x203))}),(0x0,v['jsx'])(f[_0x3d5ca1(0x4c3)],{'className':_0x3d5ca1(0x45f),'value':String((_0x4ea660=_0x593164==null?void 0x0:_0x593164[_0x3d5ca1(0x5f7)])==null?c[_0x3d5ca1(0x5ce)][_0x3d5ca1(0x569)][_0x3d5ca1(0x5f7)]:_0x4ea660),'options':Ne,'onChange':_0x4e1613=>_0x462f8c==null?void 0x0:_0x462f8c({'order':Number(_0x4e1613)})})]}),(_0x593164==null?void 0x0:_0x593164[_0x3d5ca1(0x5c4)])===c[_0x3d5ca1(0x591)][_0x3d5ca1(0x49a)]&&(0x0,v[_0x3d5ca1(0x412)])(v[_0x3d5ca1(0x534)],{'children':[(0x0,v[_0x3d5ca1(0x523)])(_0x3d5ca1(0x5e9),{'className':_0x3d5ca1(0x277),'children':_0x120009['t'](_0x3d5ca1(0x66d))}),(0x0,v[_0x3d5ca1(0x523)])(f[_0x3d5ca1(0x45d)],{'value':(_0x593164==null?void 0x0:_0x593164['period'])||c[_0x3d5ca1(0x5ce)]['trendline'][_0x3d5ca1(0x45e)],'onChange':_0x5b2005=>_0x462f8c==null?void 0x0:_0x462f8c({'period':Math[_0x3d5ca1(0x3dc)](_0x5b2005)})})]})]}),(0x0,v[_0x3d5ca1(0x523)])('div',{'className':_0x3d5ca1(0x277),'children':_0x120009['t']('sheets-chart-ui.seriesBlock.format')}),(0x0,v[_0x3d5ca1(0x412)])(_0x3d5ca1(0x5e9),{'className':_0x3d5ca1(0x6aa),'children':[(0x0,v[_0x3d5ca1(0x412)])(_0x3d5ca1(0x5e9),{'className':_0x3d5ca1(0x6e3),'children':[(0x0,v['jsx'])(_0x3d5ca1(0x5e9),{'className':_0x3d5ca1(0x277),'children':_0x120009['t'](_0x3d5ca1(0x644),_0x120009['t'](_0x3d5ca1(0x4f6)))}),(0x0,v['jsx'])(d[_0x3d5ca1(0x5cc)],{'color':(_0x593164==null?void 0x0:_0x593164[_0x3d5ca1(0x25e)])||'','onChange':_0x119ea1=>_0x462f8c==null?void 0x0:_0x462f8c({'color':_0x119ea1})})]}),(0x0,v[_0x3d5ca1(0x412)])(_0x3d5ca1(0x5e9),{'className':_0x3d5ca1(0x6e3),'children':[(0x0,v[_0x3d5ca1(0x523)])(_0x3d5ca1(0x5e9),{'className':_0x3d5ca1(0x277),'children':_0x120009['t'](_0x3d5ca1(0x1c7),_0x120009['t'](_0x3d5ca1(0x4f6)))}),(0x0,v[_0x3d5ca1(0x523)])(f[_0x3d5ca1(0x4c3)],{'className':_0x3d5ca1(0x45f),'value':String((_0x13dc93=_0x593164==null?void 0x0:_0x593164[_0x3d5ca1(0x2cb)])==null?c[_0x3d5ca1(0x5ce)][_0x3d5ca1(0x569)][_0x3d5ca1(0x2cb)]:_0x13dc93),'options':Ee,'onChange':_0x258ffc=>_0x462f8c==null?void 0x0:_0x462f8c({'opacity':Number(_0x258ffc)})})]})]}),(0x0,v['jsxs'])(_0x3d5ca1(0x5e9),{'className':_0x3d5ca1(0x6aa),'children':[(0x0,v['jsxs'])('div',{'className':'univer-flex\x20univer-flex-1\x20univer-flex-col\x20univer-justify-between','children':[(0x0,v['jsx'])(_0x3d5ca1(0x5e9),{'className':_0x3d5ca1(0x277),'children':_0x120009['t'](_0x3d5ca1(0x3a0),_0x120009['t'](_0x3d5ca1(0x4f6)))}),(0x0,v[_0x3d5ca1(0x523)])(f['Select'],{'className':_0x3d5ca1(0x45f),'value':String((_0x40f891=_0x593164==null?void 0x0:_0x593164[_0x3d5ca1(0x54b)])==null?c[_0x3d5ca1(0x5ce)][_0x3d5ca1(0x569)][_0x3d5ca1(0x54b)]:_0x40f891),'options':_0x463e31,'onChange':_0xa3af33=>_0x462f8c==null?void 0x0:_0x462f8c({'dashType':_0xa3af33})})]}),(0x0,v[_0x3d5ca1(0x412)])(_0x3d5ca1(0x5e9),{'className':'univer-flex\x20univer-flex-1\x20univer-flex-col\x20univer-justify-between','children':[(0x0,v[_0x3d5ca1(0x523)])(_0x3d5ca1(0x5e9),{'className':'univer-mb-2\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x120009['t'](_0x3d5ca1(0x5dd),_0x120009['t'](_0x3d5ca1(0x4f6)))}),(0x0,v[_0x3d5ca1(0x523)])(f[_0x3d5ca1(0x4c3)],{'className':_0x3d5ca1(0x45f),'value':String((_0x400bdd=_0x593164==null?void 0x0:_0x593164['width'])==null?c[_0x3d5ca1(0x5ce)]['trendline'][_0x3d5ca1(0x613)]:_0x400bdd),'options':_0x6fd4ef,'onChange':_0x47302a=>_0x462f8c==null?void 0x0:_0x462f8c({'width':Number(_0x47302a)})})]})]}),(_0x593164==null?void 0x0:_0x593164[_0x3d5ca1(0x5c4)])!==c[_0x3d5ca1(0x591)]['movingAvg']&&(0x0,v['jsxs'])(_0x3d5ca1(0x5e9),{'className':_0x3d5ca1(0x6aa),'children':[(_0x593164==null?void 0x0:_0x593164[_0x3d5ca1(0x1a5)])&&(0x0,v[_0x3d5ca1(0x412)])(_0x3d5ca1(0x5e9),{'className':_0x3d5ca1(0x6e3),'children':[(0x0,v['jsx'])(_0x3d5ca1(0x5e9),{'className':_0x3d5ca1(0x277),'children':_0x120009['t']('sheets-chart-ui.withColor',_0x120009['t'](_0x3d5ca1(0x478)))}),(0x0,v['jsx'])(d[_0x3d5ca1(0x5cc)],{'color':(_0x593164==null?void 0x0:_0x593164['formulaColor'])||'','onChange':_0x4bafaf=>_0x462f8c==null?void 0x0:_0x462f8c({'formulaColor':_0x4bafaf})})]}),(_0x593164==null?void 0x0:_0x593164[_0x3d5ca1(0x5ee)])&&(0x0,v['jsxs'])('div',{'className':'univer-flex\x20univer-flex-1\x20univer-flex-col\x20univer-justify-between','children':[(0x0,v['jsx'])(_0x3d5ca1(0x5e9),{'className':'univer-mb-2\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x120009['t']('sheets-chart-ui.withColor',_0x120009['t']('sheets-chart-ui.trendline.r2'))}),(0x0,v[_0x3d5ca1(0x523)])(d[_0x3d5ca1(0x5cc)],{'color':(_0x593164==null?void 0x0:_0x593164[_0x3d5ca1(0x3ad)])||'','onChange':_0x2185ac=>_0x462f8c==null?void 0x0:_0x462f8c({'r2Color':_0x2185ac})})]})]})]})]});},Wt={'fontSize':c[_0x3a0a20(0x5ce)][_0x3a0a20(0x504)]['fontSize'],'contentType':c['defaultChartConfig'][_0x3a0a20(0x1c5)],'position':c[_0x3a0a20(0x5ce)][_0x3a0a20(0x504)][_0x3a0a20(0x2e5)]},Gt=()=>{const _0x6cec97=_0x3a0a20;var _0x1432a1,_0x40e6ec,_0xd49057,_0x331aea,_0x4bee20,_0x5a1c40,_0x4fedfa,_0x1a730a,_0x13bd0c,_0x2a96a0,_0x4cc1fa,_0x3886be,_0x12850d,_0x208505,_0x15a0ab,_0x4def16,_0x47ffb9;let _0x586089=(0x0,o[_0x6cec97(0x510)])(t['LocaleService']),_0x48ec25=$['map'](_0x233d39=>({..._0x233d39,'label':_0x586089['t'](_0x233d39['label'])})),_0xa31d05=(0x0,h[_0x6cec97(0x646)])(()=>Je[_0x6cec97(0x6b4)](_0x1d7dd1=>_0x1d7dd1['value']!==String(c[_0x6cec97(0x3d6)]['Percentage']))[_0x6cec97(0x2df)](_0x33059f=>({'value':_0x33059f['value'],'label':_0x586089['t'](_0x33059f[_0x6cec97(0x609)])})),[_0x586089]),_0x4f6f81=(0x0,o[_0x6cec97(0x510)])(t[_0x6cec97(0x4d9)]),[_0x2d994e,_0x10f894]=(0x0,h['useState'])(c[_0x6cec97(0x5ce)][_0x6cec97(0x303)]),_0x357fde=_0x2d994e===c['defaultChartConfig'][_0x6cec97(0x303)],[_0x363b15,_0x342160]=X('allSeriesStyle'),[_0x1b695b,_0x4e219e]=X(_0x6cec97(0x491)),[_0x2870ac]=X('seriesList'),[_0x255a70]=X(_0x6cec97(0x3b7)),_0x362dfd=_0x255a70!==c[_0x6cec97(0x5df)][_0x6cec97(0x479)],[_0x5781d7]=[Te()][_0x6cec97(0x2df)](_0x3e1b68=>({..._0x3e1b68,'label':_0x586089['t'](_0x3e1b68[_0x6cec97(0x609)])})),_0x4ab68b=_0x1b695b==null?void 0x0:_0x1b695b[_0x2d994e],_0x22458b=(0x0,h[_0x6cec97(0x646)])(()=>_0x2870ac?[_0x5781d7,..._0x2870ac]:[],[_0x5781d7,_0x2870ac]),_0x155259=_0x526286=>{_0x357fde?_0x342160(_0x526286):_0x4e219e({[_0x2d994e]:_0x526286});},_0xc7573f=c[_0x6cec97(0x5ce)][_0x6cec97(0x5e0)],_0x1ac835={'color':'transparent','opacity':_0xc7573f[_0x6cec97(0x2cb)],'width':0x0,'dashType':_0xc7573f[_0x6cec97(0x54b)]},_0x499c6d=_0x357fde?{..._0x1ac835,..._0x363b15==null||(_0x1432a1=_0x363b15[_0x6cec97(0x1f1)])==null||(_0x1432a1=_0x1432a1['positive'])==null?void 0x0:_0x1432a1[_0x6cec97(0x411)]}:{..._0x1ac835,..._0x4ab68b==null||(_0x40e6ec=_0x4ab68b[_0x6cec97(0x1f1)])==null||(_0x40e6ec=_0x40e6ec[_0x6cec97(0x517)])==null?void 0x0:_0x40e6ec[_0x6cec97(0x411)]},_0x66bc73=_0x357fde?{..._0x1ac835,..._0x363b15==null||(_0xd49057=_0x363b15[_0x6cec97(0x1f1)])==null||(_0xd49057=_0xd49057[_0x6cec97(0x2bf)])==null?void 0x0:_0xd49057['border']}:{..._0x1ac835,..._0x4ab68b==null||(_0x331aea=_0x4ab68b[_0x6cec97(0x1f1)])==null||(_0x331aea=_0x331aea[_0x6cec97(0x2bf)])==null?void 0x0:_0x331aea[_0x6cec97(0x411)]},_0x323434=_0x357fde?{..._0x1ac835,..._0x363b15==null||(_0x4bee20=_0x363b15[_0x6cec97(0x1f1)])==null||(_0x4bee20=_0x4bee20['subtotal'])==null?void 0x0:_0x4bee20[_0x6cec97(0x411)]}:{..._0x1ac835,..._0x4ab68b==null||(_0x5a1c40=_0x4ab68b[_0x6cec97(0x1f1)])==null||(_0x5a1c40=_0x5a1c40[_0x6cec97(0x4f7)])==null?void 0x0:_0x5a1c40['border']},_0x3c6e94=(_0x442257,_0x4882dd)=>{const _0x3b12a0=_0x6cec97;if(_0x4882dd===c[_0x3b12a0(0x5bf)]['subtotal'])return _0x586089['t']('sheets-chart-ui.waterfall.subtotal');let _0x7c9843=_0x2870ac==null?void 0x0:_0x2870ac[_0x3b12a0(0x269)](_0x1e2fdc=>_0x1e2fdc['value']===_0x442257);if(_0x7c9843){let _0x54e41b=_0x7c9843[_0x3b12a0(0x609)];switch(_0x4882dd){case c[_0x3b12a0(0x5bf)]['positive']:return _0x54e41b+'-('+_0x586089['t'](_0x3b12a0(0x567))+')';case c[_0x3b12a0(0x5bf)][_0x3b12a0(0x2bf)]:return _0x54e41b+'-('+_0x586089['t'](_0x3b12a0(0x631))+')';default:return _0x54e41b;}}return'';},_0x6d4737=_0x357fde?(_0x4fedfa=_0x363b15==null?void 0x0:_0x363b15[_0x6cec97(0x609)])==null?{}:_0x4fedfa:Object[_0x6cec97(0x6cc)]({},_0x363b15==null?void 0x0:_0x363b15[_0x6cec97(0x609)],_0x4ab68b==null?void 0x0:_0x4ab68b[_0x6cec97(0x609)]),_0x193fc5=_0x362dfd?_0x4ab68b==null||(_0x1a730a=_0x4ab68b[_0x6cec97(0x1f1)])==null||(_0x1a730a=_0x1a730a[_0x6cec97(0x4f7)])==null?void 0x0:_0x1a730a[_0x6cec97(0x685)]:_0x363b15==null||(_0x13bd0c=_0x363b15[_0x6cec97(0x1f1)])==null||(_0x13bd0c=_0x13bd0c[_0x6cec97(0x4f7)])==null?void 0x0:_0x13bd0c['name'],_0x4f2cbf=_0x255a70===c[_0x6cec97(0x5df)][_0x6cec97(0x479)]?_0x357fde:!0x0;return(0x0,v['jsxs'])(_0x6cec97(0x5e9),{'children':[(0x0,v[_0x6cec97(0x523)])(_0x6cec97(0x5e9),{'className':_0x6cec97(0x43d),'children':(0x0,v['jsx'])(f[_0x6cec97(0x4c3)],{'className':_0x6cec97(0x45f),'value':_0x2d994e,'onChange':_0x1697dd=>_0x10f894(_0x1697dd),'options':_0x22458b})}),(0x0,v['jsxs'])(_0x6cec97(0x5e9),{'className':_0x6cec97(0x5b8),'children':[(0x0,v['jsx'])(_0x6cec97(0x5e9),{'className':_0x6cec97(0x5e7),'children':_0x586089['t'](_0x6cec97(0x3ae))}),!_0x357fde&&(0x0,v[_0x6cec97(0x412)])(v[_0x6cec97(0x534)],{'children':[(0x0,v['jsx'])(_0x6cec97(0x5e9),{'className':_0x6cec97(0x5ca),'children':_0x586089['t'](_0x6cec97(0x684))}),(0x0,v[_0x6cec97(0x523)])(f[_0x6cec97(0x302)],{'className':_0x6cec97(0x4ab),'value':(_0x4ab68b==null||(_0x2a96a0=_0x4ab68b[_0x6cec97(0x1f1)])==null||(_0x2a96a0=_0x2a96a0[_0x6cec97(0x517)])==null?void 0x0:_0x2a96a0['name'])||_0x3c6e94(_0x2d994e,c[_0x6cec97(0x5bf)]['positive']),'onChange':_0x1295ea=>{_0x155259({'waterfall':{'positive':{'name':_0x1295ea}}});},'onFocus':()=>{const _0x1861f1=_0x6cec97;_0x4f6f81[_0x1861f1(0x41c)](t[_0x1861f1(0x2a1)],!0x0);},'onBlur':()=>{const _0x3b3f41=_0x6cec97;_0x4f6f81['setContextValue'](t[_0x3b3f41(0x2a1)],!0x1);}})]}),(0x0,v[_0x6cec97(0x523)])(yt,{'chartType':c[_0x6cec97(0x5db)]['Waterfall'],'allSeriesStyle':_0x363b15,'controlName':'','seriesStyle':_0x357fde?_0x363b15==null||(_0x4cc1fa=_0x363b15['waterfall'])==null?void 0x0:_0x4cc1fa[_0x6cec97(0x517)]:_0x4ab68b==null||(_0x3886be=_0x4ab68b[_0x6cec97(0x1f1)])==null?void 0x0:_0x3886be['positive'],'onSeriesStyleChange':_0x24ae7c=>_0x155259({'waterfall':{'positive':_0x24ae7c}})}),(0x0,v[_0x6cec97(0x523)])(bt,{'isLineOrAreaChart':!0x1,'allSeriesBorderStyle':_0x363b15==null?void 0x0:_0x363b15[_0x6cec97(0x411)],'hideBorder':!0x0,'controlName':_0x586089['t']('sheets-chart-ui.border'),'borderStyle':_0x499c6d,'onSeriesStyleChange':_0x598edc=>_0x155259({'waterfall':{'positive':_0x598edc}})})]}),(0x0,v[_0x6cec97(0x412)])('div',{'className':_0x6cec97(0x5b8),'children':[(0x0,v['jsx'])(_0x6cec97(0x5e9),{'className':_0x6cec97(0x5e7),'children':_0x586089['t'](_0x6cec97(0x336))}),!_0x357fde&&(0x0,v[_0x6cec97(0x412)])(v[_0x6cec97(0x534)],{'children':[(0x0,v[_0x6cec97(0x523)])(_0x6cec97(0x5e9),{'className':_0x6cec97(0x5ca),'children':_0x586089['t'](_0x6cec97(0x53e))}),(0x0,v[_0x6cec97(0x523)])(f[_0x6cec97(0x302)],{'className':_0x6cec97(0x4ab),'value':(_0x4ab68b==null||(_0x12850d=_0x4ab68b[_0x6cec97(0x1f1)])==null||(_0x12850d=_0x12850d[_0x6cec97(0x2bf)])==null?void 0x0:_0x12850d[_0x6cec97(0x685)])||_0x3c6e94(_0x2d994e,c[_0x6cec97(0x5bf)][_0x6cec97(0x2bf)]),'onChange':_0x4c3ea3=>{_0x155259({'waterfall':{'negative':{'name':_0x4c3ea3}}});},'onFocus':()=>{const _0x36fe7e=_0x6cec97;_0x4f6f81[_0x36fe7e(0x41c)](t[_0x36fe7e(0x2a1)],!0x0);},'onBlur':()=>{const _0x3ceb5a=_0x6cec97;_0x4f6f81[_0x3ceb5a(0x41c)](t[_0x3ceb5a(0x2a1)],!0x1);}})]}),(0x0,v['jsx'])(yt,{'chartType':c[_0x6cec97(0x5db)]['Waterfall'],'allSeriesStyle':_0x363b15,'controlName':'','seriesStyle':_0x357fde?_0x363b15==null||(_0x208505=_0x363b15[_0x6cec97(0x1f1)])==null?void 0x0:_0x208505['negative']:_0x4ab68b==null||(_0x15a0ab=_0x4ab68b[_0x6cec97(0x1f1)])==null?void 0x0:_0x15a0ab[_0x6cec97(0x2bf)],'onSeriesStyleChange':_0x27f08b=>_0x155259({'waterfall':{'negative':_0x27f08b}})}),(0x0,v[_0x6cec97(0x523)])(bt,{'controlName':_0x586089['t'](_0x6cec97(0x21c)),'isLineOrAreaChart':!0x1,'hideBorder':!0x0,'allSeriesBorderStyle':_0x363b15==null?void 0x0:_0x363b15[_0x6cec97(0x411)],'borderStyle':_0x66bc73,'onSeriesStyleChange':_0x3519bc=>_0x155259({'waterfall':{'negative':_0x3519bc}})})]}),_0x4f2cbf&&(0x0,v[_0x6cec97(0x523)])(v[_0x6cec97(0x534)],{'children':(0x0,v[_0x6cec97(0x523)])('div',{'className':_0x6cec97(0x5b8),'children':(0x0,v[_0x6cec97(0x412)])(v[_0x6cec97(0x534)],{'children':[(0x0,v[_0x6cec97(0x523)])(_0x6cec97(0x5e9),{'className':_0x6cec97(0x5e7),'children':_0x586089['t'](_0x6cec97(0x6bc))}),(0x0,v[_0x6cec97(0x412)])(v[_0x6cec97(0x534)],{'children':[(0x0,v[_0x6cec97(0x523)])(_0x6cec97(0x5e9),{'className':_0x6cec97(0x5ca),'children':_0x586089['t']('sheets-chart-ui.waterfall.subtotalLegendText')}),(0x0,v[_0x6cec97(0x523)])(f[_0x6cec97(0x302)],{'className':'univer-mb-2','value':_0x193fc5||_0x3c6e94(_0x2d994e,c[_0x6cec97(0x5bf)]['subtotal']),'onChange':_0x7c16cd=>{_0x155259({'waterfall':{'subtotal':{'name':_0x7c16cd}}});},'onFocus':()=>{const _0x26159d=_0x6cec97;_0x4f6f81[_0x26159d(0x41c)](t['FOCUSING_PANEL_EDITOR'],!0x0);},'onBlur':()=>{const _0x18bc1a=_0x6cec97;_0x4f6f81[_0x18bc1a(0x41c)](t['FOCUSING_PANEL_EDITOR'],!0x1);}})]}),(0x0,v['jsx'])(yt,{'chartType':c['ChartTypeBits'][_0x6cec97(0x460)],'allSeriesStyle':_0x363b15,'controlName':'','seriesStyle':_0x357fde?_0x363b15==null||(_0x4def16=_0x363b15['waterfall'])==null?void 0x0:_0x4def16[_0x6cec97(0x4f7)]:_0x4ab68b==null||(_0x47ffb9=_0x4ab68b['waterfall'])==null?void 0x0:_0x47ffb9[_0x6cec97(0x4f7)],'onSeriesStyleChange':_0x38501a=>_0x155259({'waterfall':{'subtotal':_0x38501a}})}),(0x0,v['jsx'])(bt,{'isLineOrAreaChart':!0x1,'hideBorder':!0x0,'allSeriesBorderStyle':_0x363b15==null?void 0x0:_0x363b15['border'],'controlName':_0x586089['t'](_0x6cec97(0x21c)),'borderStyle':_0x323434,'onSeriesStyleChange':_0x54c9d4=>_0x155259({'waterfall':{'subtotal':_0x54c9d4}})})]})})}),(0x0,v[_0x6cec97(0x523)])(_0x6cec97(0x5e9),{'className':'univer-box-border\x20univer-w-full\x20univer-pb-2.5\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':(0x0,v[_0x6cec97(0x523)])(vt,{'fallbackLabelStyle':Wt,'labelStyle':_0x6d4737,'positionOptions':_0x48ec25,'contentTypeOptions':_0xa31d05,'onLabelStyleChange':(_0x399e8f,_0x54b531)=>_0x155259({'label':{[_0x399e8f]:_0x54b531}}),'onVisibleChange':_0x26866a=>_0x155259({'label':{'visible':_0x26866a}}),'isPieLike':!0x1,'chartType':c[_0x6cec97(0x5db)][_0x6cec97(0x460)]})})]});};function Kt(_0x3ff1ac){const _0x3492a5=_0x3a0a20;let _0x4be083=[];for(let [_0x802e30,_0xfc8792]of _0x3ff1ac)_0x4be083[_0x3492a5(0x4cb)]({'value':_0x802e30,'label':_0x802e30,'icon':_0xfc8792[_0x3492a5(0x60c)]});return _0x4be083;}function qt(){const _0x431890=_0x3a0a20;let _0x322bd6=(0x0,o['useDependency'])(t[_0x431890(0x350)]),_0x10c00f=Kt((0x0,o[_0x431890(0x510)])(c['WordCloudMuskImageService'])[_0x431890(0x619)]()),[_0x36df3,_0x3660d6]=X(_0x431890(0x658)),[_0x5dba65,_0x140586]=X(_0x431890(0x31b)),[_0x20c6bb,_0x398dbb]=(0x0,h[_0x431890(0x4e0)])(!0x1),_0x4dcd40=_0x10c00f[_0x431890(0x269)](_0x50ee24=>_0x50ee24[_0x431890(0x3e9)]===_0x36df3)||_0x10c00f[0x0];return(0x0,v[_0x431890(0x412)])(_0x431890(0x5e9),{'className':'univer-box-border\x20univer-w-full\x20univer-pb-2.5\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':[(0x0,v[_0x431890(0x523)])(_0x431890(0x5e9),{'className':_0x431890(0x26c),'children':_0x322bd6['t']('sheets-chart-ui.styleEditPanel.wordCloudShape')}),(0x0,v['jsx'])(f['Dropdown'],{'open':_0x20c6bb,'onOpenChange':_0x398dbb,'overlay':(0x0,v[_0x431890(0x523)])(_0x431890(0x5e9),{'className':_0x431890(0x622),'children':_0x10c00f[_0x431890(0x2df)](_0x4fb998=>(0x0,v['jsx'])('button',{'className':(0x0,f[_0x431890(0x3e7)])(_0x431890(0x4fe),f[_0x431890(0x56f)],{'univer-bg-white':_0x4dcd40[_0x431890(0x3e9)]!==_0x4fb998[_0x431890(0x3e9)],'univer-select-item-option-selected':_0x4dcd40[_0x431890(0x3e9)]===_0x4fb998['value']}),'type':'button','onClick':()=>{_0x3660d6(_0x4fb998['value']),_0x398dbb(!0x1);},'children':(0x0,v[_0x431890(0x523)])(_0x431890(0x5f2),{'className':_0x431890(0x446),'children':(0x0,v[_0x431890(0x523)])(_0x431890(0x260),{'src':_0x4fb998[_0x431890(0x6b3)],'alt':_0x4fb998['label']})})},_0x4fb998[_0x431890(0x3e9)]))}),'children':(0x0,v[_0x431890(0x523)])(_0x431890(0x5f6),{'className':(0x0,f[_0x431890(0x3e7)])('univer-box-border\x20univer-h-8\x20univer-w-full\x20univer-rounded-md\x20univer-bg-white\x20univer-px-2\x20univer-pb-2.5\x20univer-text-sm\x20univer-transition-colors\x20univer-duration-200\x20placeholder:univer-text-gray-400\x20focus:univer-border-primary-500\x20focus:univer-outline-none\x20focus:univer-ring-2\x20focus:univer-ring-primary-50',f[_0x431890(0x56f)]),'type':_0x431890(0x5f6),'children':(0x0,v['jsxs'])(_0x431890(0x5f2),{'className':_0x431890(0x1a3),'children':[(0x0,v[_0x431890(0x523)])(_0x431890(0x5f2),{'className':_0x431890(0x299),'children':(0x0,v[_0x431890(0x523)])(_0x431890(0x260),{'className':_0x431890(0x421),'src':_0x4dcd40['icon'],'alt':_0x4dcd40[_0x431890(0x609)]})}),(0x0,v[_0x431890(0x523)])(_0x431890(0x5f2),{'children':_0x4dcd40['label']})]})})}),(0x0,v[_0x431890(0x523)])(f[_0x431890(0x439)],{'className':_0x431890(0x430),'checked':_0x5dba65==null?c[_0x431890(0x5ce)][_0x431890(0x562)][_0x431890(0x390)]:_0x5dba65,'onChange':_0x5d8f23=>{_0x140586==null||_0x140586(!!_0x5d8f23);},'children':_0x322bd6['t'](_0x431890(0x403))})]});}const {textStyle:Jt}=c[_0x3a0a20(0x5ce)];function Yt(_0x4e3fc5){const _0x19f3a5=_0x3a0a20;var _0x4463ea;return(_0x4463ea=_0x4e3fc5==null?void 0x0:_0x4e3fc5[_0x19f3a5(0x269)](_0x29b089=>_0x29b089['position']===c[_0x19f3a5(0x23a)][_0x19f3a5(0x6cf)]))==null?_0x4e3fc5==null?void 0x0:_0x4e3fc5[_0x19f3a5(0x269)](_0x53d5f5=>_0x53d5f5[_0x19f3a5(0x2e5)]===c['IRuntimeAxisPosition'][_0x19f3a5(0x543)]):_0x4463ea;}const Xt=()=>{const _0x2c784a=_0x3a0a20;var _0x556ea0,_0x2bc619,_0xf91a7c,_0x2b0634,_0x2c9619,_0x2b9e0d,_0x261de3,_0x5777a4,_0x16b43d;let _0x4c9575=(0x0,o[_0x2c784a(0x510)])(t['LocaleService']),_0x4c1f55=(0x0,o[_0x2c784a(0x510)])(t[_0x2c784a(0x4d9)]),_0x1c59b8=(0x0,o[_0x2c784a(0x510)])(be),_0x3909b6=(0x0,o[_0x2c784a(0x510)])(o[_0x2c784a(0x5f4)]),_0xc7b9ce=(0x0,o[_0x2c784a(0x63d)])(_0x1c59b8[_0x2c784a(0x477)],null),_0x582ee6=(0x0,o['useObservable'])(_0x1c59b8[_0x2c784a(0x2f5)],null),_0x571934=(_0x582ee6==null?void 0x0:_0x582ee6['chartId'])===_0xc7b9ce?_0x582ee6[_0x2c784a(0x31d)]:null,_0x43744a=(0x0,h[_0x2c784a(0x642)])(null),[_0x458873,_0x3316d0]=X(_0x2c784a(0x4e7)),[_0x51c746,_0x5dc20d]=X(_0x2c784a(0x219),''),[_0x3b08d6,_0x18f729]=X('borderColor',''),[_0x38e6f6,_0x5ccc74]=X('legendStyle'),[_0x3a6daf,_0x322f63]=X(_0x2c784a(0x520)),[_0x1a079f,_0x4d1d78]=X(_0x2c784a(0x580)),[_0x3134e6,_0x12b4b0]=X(_0x2c784a(0x44e)),[_0x3be35e,_0x58f483]=X(_0x2c784a(0x2ba)),[_0x10d46f,_0x397b4d]=X(_0x2c784a(0x5ad)),[_0x511549,_0x89c371]=X(_0x2c784a(0x322)),[_0x151d2f,_0x2a8760]=X(_0x2c784a(0x5dc)),[_0x580c75]=X('runtimeAxes'),[_0x1c2751]=X(_0x2c784a(0x401)),_0x119d62=(0x0,o['useDependency'])(c[_0x2c784a(0x33c)]),[_0x2721d7,_0x531915]=(0x0,h[_0x2c784a(0x4e0)])(''),[_0x3adb35]=X(_0x2c784a(0x1cd)),_0x21d640=_0x458873&&(0x0,c[_0x2c784a(0x406)])(_0x458873),_0x17ac9a=_0x3adb35&&_0x3adb35[_0x2c784a(0x687)]>0x0,_0x2dde58=_0x458873&&c[_0x2c784a(0x442)]['baseOn'](_0x458873,c[_0x2c784a(0x5db)][_0x2c784a(0x59d)]),_0x2c0825=(0x0,h[_0x2c784a(0x646)])(()=>_0x1c2751?_0x119d62['getTheme'](_0x1c2751):_0x119d62[_0x2c784a(0x57d)](),[_0x1c2751]),_0x1e5b9f=!!(_0x458873&&c[_0x2c784a(0x442)]['baseOn'](_0x458873,c[_0x2c784a(0x5db)][_0x2c784a(0x1f9)])),_0x2bfe61=!!(_0x458873&&c[_0x2c784a(0x442)]['baseOn'](_0x458873,c[_0x2c784a(0x5db)]['Bubble'])),_0xfef215=!!(_0x458873&&c[_0x2c784a(0x442)][_0x2c784a(0x4b3)](_0x458873,c['ChartTypeBits'][_0x2c784a(0x33b)])),_0x2e609f=!!(_0x458873&&c['chartBitsUtils']['baseOn'](_0x458873,c[_0x2c784a(0x5db)][_0x2c784a(0x24b)])),_0x4e0edc=!!(_0x458873&&c['chartBitsUtils']['baseOn'](_0x458873,c[_0x2c784a(0x5db)][_0x2c784a(0x563)])),_0x20a1b9=!!(_0x458873&&c[_0x2c784a(0x442)][_0x2c784a(0x4b3)](_0x458873,c[_0x2c784a(0x5db)][_0x2c784a(0x475)])),_0x553e92=!!(_0x458873&&c[_0x2c784a(0x442)][_0x2c784a(0x4b3)](_0x458873,c[_0x2c784a(0x5db)][_0x2c784a(0x33e)])),_0x371d6b=(0x0,h['useMemo'])(()=>_0x580c75==null?void 0x0:_0x580c75[_0x2c784a(0x2cd)]((_0x3d9650,_0x442551)=>(_0x3d9650[_0x442551[_0x2c784a(0x2e5)]]=_0x442551,_0x3d9650),{}),[_0x580c75]),_0x542017=!!(_0x371d6b!=null&&_0x371d6b[c[_0x2c784a(0x23a)]['Right']])&&!!(_0x371d6b!=null&&_0x371d6b[c[_0x2c784a(0x23a)]['Left']])&&(_0x458873&c[_0x2c784a(0x5db)][_0x2c784a(0x604)])===0x0&&(_0x458873&c[_0x2c784a(0x5db)]['Radar'])===0x0,_0x41d60c=Yt(_0x580c75),[_0x1abbec,_0x5484bc]=(0x0,h[_0x2c784a(0x4e0)])(we[0x0]['value']),[_0x38f51a,_0x2109dd]=(0x0,h[_0x2c784a(0x4e0)])(null),_0x41c080=_0x10d46f==null?void 0x0:_0x10d46f[_0x1abbec],_0x384a59={'color':Jt[_0x2c784a(0x25e)],'fontSize':_0x1abbec==='title'?Jt['titleFontSize']:_0x1abbec===_0x2c784a(0x4b4)?Jt[_0x2c784a(0x3ff)]:Jt['fontSize'],..._0x41c080},_0x1b81be=(0x0,h['useCallback'])(_0x51f514=>{_0x397b4d({[_0x1abbec]:_0x51f514});},[_0x1abbec]),_0x50d96c=_0x2021cf=>{const _0x8b13cd=_0x2c784a;let _0x536fd4={'label':{'axisTitleAlign':_0x2021cf}};_0x1abbec===_0x8b13cd(0x2f4)&&_0x4d1d78(_0x536fd4),_0x1abbec===_0x8b13cd(0x33d)&&_0x12b4b0(_0x536fd4),_0x1abbec===_0x8b13cd(0x3e0)&&_0x58f483(_0x536fd4);},_0x55d438=()=>{const _0xd59a73=_0x2c784a;if(_0x1abbec===_0xd59a73(0x2f4)){var _0x56b46e;return _0x1a079f==null||(_0x56b46e=_0x1a079f[_0xd59a73(0x609)])==null?void 0x0:_0x56b46e['axisTitleAlign'];}if(_0x1abbec==='yAxisTitle'){var _0x5f3d8b;return _0x3134e6==null||(_0x5f3d8b=_0x3134e6[_0xd59a73(0x609)])==null?void 0x0:_0x5f3d8b[_0xd59a73(0x326)];}if(_0x1abbec===_0xd59a73(0x3e0)){var _0x392494;return _0x3be35e==null||(_0x392494=_0x3be35e[_0xd59a73(0x609)])==null?void 0x0:_0x392494['axisTitleAlign'];}};(0x0,h['useEffect'])(()=>{const _0x431a45=_0x2c784a;var _0x1c7a80;_0x531915((_0x1c7a80=_0x384a59==null?void 0x0:_0x384a59[_0x431a45(0x471)])==null?'':_0x1c7a80);},[_0x384a59==null?void 0x0:_0x384a59[_0x2c784a(0x471)]]);let _0x3d40ae=Fe[_0x2c784a(0x2df)](_0x514614=>({..._0x514614,'label':_0x4c9575['t'](_0x514614[_0x2c784a(0x609)])})),_0x1adedd=we[_0x2c784a(0x2df)](_0xfe9b98=>({..._0xfe9b98,'label':_0x4c9575['t'](_0xfe9b98[_0x2c784a(0x609)])})),_0x330076=Ie[_0x2c784a(0x2df)](_0x5a6f56=>({..._0x5a6f56,'label':_0x4c9575['t'](_0x5a6f56['label'])})),_0x5192f7=Le[_0x2c784a(0x2df)](_0x2960ca=>({..._0x2960ca,'label':_0x4c9575['t'](_0x2960ca[_0x2c784a(0x609)])})),_0x4c9ade=(_0x556ea0=_0x38e6f6==null?void 0x0:_0x38e6f6[_0x2c784a(0x2e5)])==null?c[_0x2c784a(0x5ce)][_0x2c784a(0x255)][_0x2c784a(0x2e5)]:_0x556ea0,_0x3c317c=[_0x1adedd[0x0]],_0x1e8628=Re[_0x2c784a(0x2df)](_0x5c0e32=>({..._0x5c0e32,'label':_0x4c9575['t'](_0x5c0e32[_0x2c784a(0x609)])})),_0x33cd00=ze['map'](_0xcd6abb=>({..._0xcd6abb,'label':_0x4c9575['t'](_0xcd6abb[_0x2c784a(0x609)])})),_0x595f73=(_0x509c52,_0x452227)=>{const _0x26cd6c=_0x2c784a;let _0xc390a5={'label':rt,'onPatternApply':_0x452227,'originPattern':_0x509c52};_0x3909b6[_0x26cd6c(0x46a)]({'id':nt,'title':{'title':_0x4c9575['t'](_0x26cd6c(0x304))},'children':_0xc390a5,'width':0x258,'onClose':()=>{_0x3909b6['close'](nt);}});},_0x1dec8b=!!(_0x458873&&c[_0x2c784a(0x442)][_0x2c784a(0x4b3)](_0x458873,c[_0x2c784a(0x5db)]['Pie'])),_0x516278=!!(_0x458873&&c[_0x2c784a(0x442)][_0x2c784a(0x4b3)](_0x458873,c[_0x2c784a(0x5db)][_0x2c784a(0x32b)])),_0x573cdf=!!(_0x458873&&c[_0x2c784a(0x442)][_0x2c784a(0x4b3)](_0x458873,c[_0x2c784a(0x5db)][_0x2c784a(0x460)])),_0x159128=[{'id':'chartStyle','label':(0x0,v[_0x2c784a(0x523)])(_0x2c784a(0x5e9),{'className':_0x2c784a(0x6ce),'children':_0x4c9575['t'](_0x2c784a(0x329))}),'children':(0x0,v['jsx'])(_0x2c784a(0x3c2),{'className':_0x2c784a(0x5b8),'children':(0x0,v[_0x2c784a(0x412)])(_0x2c784a(0x5e9),{'className':_0x2c784a(0x312),'children':[(0x0,v[_0x2c784a(0x412)])(_0x2c784a(0x5e9),{'className':'univer-flex\x20univer-flex-1\x20univer-flex-col\x20univer-justify-between','children':[(0x0,v['jsx'])('div',{'className':_0x2c784a(0x277),'children':_0x4c9575['t'](_0x2c784a(0x48f))}),(0x0,v[_0x2c784a(0x523)])(d[_0x2c784a(0x5cc)],{'color':_0x51c746,'onChange':_0x5dc20d})]}),(0x0,v[_0x2c784a(0x412)])(_0x2c784a(0x5e9),{'className':_0x2c784a(0x6e3),'children':[(0x0,v[_0x2c784a(0x523)])(_0x2c784a(0x5e9),{'className':_0x2c784a(0x277),'children':_0x4c9575['t']('sheets-chart-ui.chartBorderColor')}),(0x0,v[_0x2c784a(0x523)])(d[_0x2c784a(0x5cc)],{'color':_0x3b08d6,'onChange':_0x18f729})]})]})})},{'id':'chartAndAxisTitles','label':(0x0,v['jsx'])('div',{'className':'univer-text-sm\x20univer-font-medium\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x4c9575['t'](_0x2c784a(0x5aa))}),'children':(0x0,v[_0x2c784a(0x412)])('section',{'children':[(0x0,v[_0x2c784a(0x412)])(_0x2c784a(0x5e9),{'className':_0x2c784a(0x5b8),'children':[(0x0,v[_0x2c784a(0x523)])(_0x2c784a(0x5e9),{'className':_0x2c784a(0x277),'children':_0x4c9575['t'](_0x2c784a(0x366))}),(0x0,v[_0x2c784a(0x523)])(f[_0x2c784a(0x4c3)],{'className':_0x2c784a(0x45f),'value':_0x1abbec,'options':_0x1dec8b||_0x516278||_0x1e5b9f?_0x3c317c:_0x1adedd,'onChange':_0x1c7ccc=>_0x5484bc(_0x1c7ccc)})]}),(0x0,v['jsxs'])(_0x2c784a(0x5e9),{'className':'univer-box-border\x20univer-w-full\x20univer-pb-2.5\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':[(0x0,v[_0x2c784a(0x523)])(_0x2c784a(0x5e9),{'className':_0x2c784a(0x277),'children':_0x4c9575['t']('sheets-chart-ui.titles.titleText')}),(0x0,v[_0x2c784a(0x523)])(f['Input'],{'value':_0x2721d7,'onChange':_0x531915,'onFocus':()=>{const _0xf50401=_0x2c784a;_0x4c1f55[_0xf50401(0x41c)](t[_0xf50401(0x2a1)],!0x0);},'onBlur':()=>{const _0x58e634=_0x2c784a;_0x4c1f55['setContextValue'](t[_0x58e634(0x2a1)],!0x1),_0x2721d7!==(_0x384a59==null?void 0x0:_0x384a59[_0x58e634(0x471)])&&_0x1b81be({'content':_0x2721d7});}})]}),(0x0,v[_0x2c784a(0x523)])('div',{'className':_0x2c784a(0x5b8),'children':(0x0,v[_0x2c784a(0x523)])(_0x2c784a(0x5e9),{'className':_0x2c784a(0x312),'children':(0x0,v[_0x2c784a(0x412)])('div',{'className':_0x2c784a(0x6e3),'children':[_0x1abbec===_0x2c784a(0x332)&&(0x0,v['jsxs'])(v[_0x2c784a(0x534)],{'children':[(0x0,v[_0x2c784a(0x523)])(_0x2c784a(0x5e9),{'className':'univer-mb-2\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x4c9575['t'](_0x2c784a(0x4d0))}),(0x0,v[_0x2c784a(0x523)])(f['Select'],{'className':_0x2c784a(0x45f),'value':_0x511549==null?c['defaultChartConfig'][_0x2c784a(0x322)]:_0x511549,'options':_0x1e8628,'onChange':_0x30af67=>_0x89c371(_0x30af67)})]}),_0x1abbec!==_0x2c784a(0x332)&&(0x0,v['jsxs'])(v[_0x2c784a(0x534)],{'children':[(0x0,v[_0x2c784a(0x523)])('div',{'className':_0x2c784a(0x277),'children':_0x4c9575['t'](_0x2c784a(0x565))}),(0x0,v['jsx'])(f[_0x2c784a(0x4c3)],{'className':_0x2c784a(0x45f),'value':(_0x2bc619=_0x55d438())==null?c[_0x2c784a(0x5ce)][_0x2c784a(0x62b)][_0x2c784a(0x4a8)]:_0x2bc619,'options':_0x33cd00,'onChange':_0x38424b=>_0x50d96c(_0x38424b)})]})]})})}),(0x0,v[_0x2c784a(0x412)])('div',{'className':_0x2c784a(0x5b8),'children':[(0x0,v['jsx'])('div',{'className':_0x2c784a(0x277),'children':_0x4c9575['t']('sheets-chart-ui.titles.titleFormat')}),(0x0,v[_0x2c784a(0x523)])(_0x2c784a(0x5e9),{'className':_0x2c784a(0x1bc),'children':(0x0,v['jsx'])(d[_0x2c784a(0x5e5)],{'alignControl':_0x1abbec===_0x2c784a(0x332),..._0x384a59,'onChange':(_0x2ce46a,_0x4ed158)=>_0x1b81be({[_0x2ce46a]:_0x4ed158})})})]})]})},_0x1e5b9f&&{'id':_0x2c784a(0x562),'label':(0x0,v[_0x2c784a(0x523)])('div',{'className':'univer-text-sm\x20univer-font-medium\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x4c9575['t'](_0x2c784a(0x4e5))}),'children':(0x0,v['jsx'])(qt,{})},!_0x1e5b9f&&!_0x1dec8b&&!_0x2bfe61&&!_0x2e609f&&!_0x573cdf&&!_0x4e0edc&&!_0x20a1b9&&!_0x553e92&&{'id':'series','label':(0x0,v['jsx'])(_0x2c784a(0x5e9),{'className':_0x2c784a(0x6ce),'children':_0x4c9575['t']('sheets-chart-ui.series')}),'children':(0x0,v[_0x2c784a(0x523)])(Ht,{'chartType':_0x458873,'selectedSeriesId':(_0x571934==null?void 0x0:_0x571934[_0x2c784a(0x3c2)])===_0x2c784a(0x3e3)?_0x571934[_0x2c784a(0x3ba)]:void 0x0})},_0x4e0edc&&{'id':'paretoBarSeries','label':(0x0,v[_0x2c784a(0x523)])(_0x2c784a(0x5e9),{'className':'univer-text-sm\x20univer-font-medium\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x4c9575['t'](_0x2c784a(0x437))}),'children':(0x0,v[_0x2c784a(0x523)])(Dt,{'isLineSeries':!0x1})},_0x4e0edc&&{'id':_0x2c784a(0x58d),'label':(0x0,v['jsx'])(_0x2c784a(0x5e9),{'className':'univer-text-sm\x20univer-font-medium\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x4c9575['t'](_0x2c784a(0x530))}),'children':(0x0,v[_0x2c784a(0x523)])(Dt,{'isLineSeries':!0x0})},_0x573cdf&&{'id':_0x2c784a(0x1e3),'label':(0x0,v[_0x2c784a(0x523)])('div',{'className':_0x2c784a(0x6ce),'children':_0x4c9575['t'](_0x2c784a(0x1f6))}),'children':(0x0,v[_0x2c784a(0x523)])(Gt,{})},_0x1dec8b&&{'id':'pieStyle','label':(0x0,v[_0x2c784a(0x523)])(_0x2c784a(0x5e9),{'className':_0x2c784a(0x6ce),'children':_0x4c9575['t'](_0x2c784a(0x1ae))}),'children':(0x0,v[_0x2c784a(0x523)])(Ot,{'chartType':_0x458873,'onChartTypeChange':_0x3316d0})},!_0x1e5b9f&&!_0x20a1b9&&{'id':_0x2c784a(0x255),'label':(0x0,v[_0x2c784a(0x523)])(_0x2c784a(0x5e9),{'className':_0x2c784a(0x6ce),'children':_0x4c9575['t'](_0x2c784a(0x69a))}),'children':(0x0,v['jsxs'])(_0x2c784a(0x3c2),{'children':[(0x0,v[_0x2c784a(0x412)])(_0x2c784a(0x5e9),{'className':_0x2c784a(0x5b8),'children':[(0x0,v[_0x2c784a(0x523)])(_0x2c784a(0x5e9),{'className':_0x2c784a(0x277),'children':_0x4c9575['t'](_0x2c784a(0x542))}),(0x0,v[_0x2c784a(0x523)])(f[_0x2c784a(0x4c3)],{'className':'univer-w-full\x20!univer-min-w-0','value':(_0x38e6f6==null?void 0x0:_0x38e6f6[_0x2c784a(0x2e5)])||c[_0x2c784a(0x5ce)][_0x2c784a(0x255)]['position'],'onChange':_0x52514c=>_0x5ccc74({..._0x38e6f6,'position':_0x52514c}),'options':_0x3d40ae})]}),(0x0,v[_0x2c784a(0x412)])(_0x2c784a(0x5e9),{'className':_0x2c784a(0x5b8),'children':[(0x0,v[_0x2c784a(0x523)])(_0x2c784a(0x5e9),{'className':_0x2c784a(0x277),'children':_0x4c9575['t'](_0x2c784a(0x34d))}),!_0x553e92&&(0x0,v[_0x2c784a(0x523)])(f[_0x2c784a(0x4c3)],{'className':_0x2c784a(0x45f),'value':(_0x38e6f6==null?void 0x0:_0x38e6f6[_0x2c784a(0x25c)])||c[_0x2c784a(0x5ce)][_0x2c784a(0x255)][_0x2c784a(0x25c)],'onChange':_0x2ec2a5=>_0x5ccc74({..._0x38e6f6,'selectMode':_0x2ec2a5}),'options':_0x330076}),_0x553e92&&(0x0,v[_0x2c784a(0x523)])(f['Select'],{'className':'univer-w-full\x20!univer-min-w-0','value':_0x3a6daf||c[_0x2c784a(0x5ce)][_0x2c784a(0x19f)][_0x2c784a(0x520)],'onChange':_0x3aec21=>_0x322f63(_0x3aec21),'options':_0x5192f7})]}),(0x0,v['jsx'])(d[_0x2c784a(0x3d2)],{'chartType':_0x458873,'position':_0x4c9ade,'wrap':_0x38e6f6==null?void 0x0:_0x38e6f6[_0x2c784a(0x207)],'onChange':_0x21f039=>_0x5ccc74({..._0x38e6f6,'wrap':_0x21f039})}),!_0x553e92&&(0x0,v['jsxs'])(_0x2c784a(0x5e9),{'className':_0x2c784a(0x5b8),'children':[(0x0,v[_0x2c784a(0x523)])('div',{'className':'univer-mb-2\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x4c9575['t'](_0x2c784a(0x250))}),(0x0,v['jsx'])(d[_0x2c784a(0x5e5)],{..._0x38e6f6==null?void 0x0:_0x38e6f6['label'],'fontSize':(_0xf91a7c=_0x38e6f6==null||(_0x2b0634=_0x38e6f6['label'])==null?void 0x0:_0x2b0634[_0x2c784a(0x197)])==null?c['defaultChartConfig']['textStyle'][_0x2c784a(0x197)]:_0xf91a7c,'color':(_0x2c9619=_0x38e6f6==null||(_0x2b9e0d=_0x38e6f6[_0x2c784a(0x609)])==null?void 0x0:_0x2b9e0d[_0x2c784a(0x25e)])==null?c['defaultChartConfig'][_0x2c784a(0x504)][_0x2c784a(0x25e)]:_0x2c9619,'onChange':(_0x1e8501,_0x280691)=>_0x5ccc74({'label':{[_0x1e8501]:_0x280691}})})]})]})},!_0x1e5b9f&&!_0x1dec8b&&!_0x516278&&!_0xfef215&&!_0x2e609f&&!_0x20a1b9&&!_0x553e92&&{'id':_0x2c784a(0x449),'label':(0x0,v[_0x2c784a(0x523)])('div',{'className':_0x2c784a(0x6ce),'children':_0x4c9575['t'](_0x2c784a(0x2b9))}),'children':(0x0,v[_0x2c784a(0x412)])(_0x2c784a(0x3c2),{'className':_0x2c784a(0x5b8),'children':[(0x0,v[_0x2c784a(0x523)])(mt,{'axisOptions':_0x1a079f,'canUseDateAxis':_0x458873!==c[_0x2c784a(0x5db)][_0x2c784a(0x59d)]&&_0x458873!==c[_0x2c784a(0x5db)][_0x2c784a(0x460)],'valueAxis':_0x2dde58||(_0x371d6b==null||(_0x261de3=_0x371d6b[c[_0x2c784a(0x23a)]['Bottom']])==null?void 0x0:_0x261de3[_0x2c784a(0x5c4)])===c['AxisValueType']['Numeric'],'onChange':_0x4d1d78}),(0x0,v['jsx'])(f[_0x2c784a(0x6e2)],{'className':'','size':_0x2c784a(0x53b),'onClick':()=>{const _0x722051=_0x2c784a;_0x595f73(_0x1a079f==null?void 0x0:_0x1a079f[_0x722051(0x453)],_0xe041e5=>{_0x4d1d78({'format':_0xe041e5});});},'children':_0x4c9575['t'](_0x2c784a(0x304))})]})},!_0x1e5b9f&&!_0x1dec8b&&!_0x516278&&!_0xfef215&&!_0x2e609f&&!_0x20a1b9&&!_0x553e92&&{'id':'verticalAxis','label':(0x0,v[_0x2c784a(0x523)])(_0x2c784a(0x5e9),{'className':_0x2c784a(0x6ce),'children':_0x4c9575['t'](_0x2c784a(0x358))}),'children':(0x0,v[_0x2c784a(0x412)])('section',{'className':_0x2c784a(0x5b8),'children':[(0x0,v[_0x2c784a(0x523)])(mt,{'axisOptions':_0x3134e6,'canUseDateAxis':!0x1,'valueAxis':(_0x41d60c==null?void 0x0:_0x41d60c[_0x2c784a(0x5c4)])===c['AxisValueType'][_0x2c784a(0x6d7)],'onChange':_0x12b4b0}),(_0x41d60c==null?void 0x0:_0x41d60c[_0x2c784a(0x5c4)])===c[_0x2c784a(0x1ef)]['Numeric']&&(0x0,v[_0x2c784a(0x523)])(f[_0x2c784a(0x6e2)],{'className':'','size':_0x2c784a(0x53b),'onClick':()=>{const _0x4b7d92=_0x2c784a;_0x595f73(_0x3134e6==null?void 0x0:_0x3134e6[_0x4b7d92(0x453)],_0x1a8f10=>{_0x12b4b0({'format':_0x1a8f10});});},'children':_0x4c9575['t'](_0x2c784a(0x304))})]})},!_0x1e5b9f&&_0x542017&&!_0x2e609f&&!_0x20a1b9&&!_0x553e92&&{'id':'rightVerticalAxis','label':(0x0,v[_0x2c784a(0x523)])(_0x2c784a(0x5e9),{'className':_0x2c784a(0x6ce),'children':_0x4c9575['t'](_0x2c784a(0x618))}),'children':(0x0,v[_0x2c784a(0x412)])(_0x2c784a(0x3c2),{'className':_0x2c784a(0x5b8),'children':[(0x0,v['jsx'])(mt,{'canUseDateAxis':!0x1,'axisOptions':_0x3be35e,'onChange':_0x58f483,'valueAxis':!0x0}),(_0x371d6b==null||(_0x5777a4=_0x371d6b[c[_0x2c784a(0x23a)][_0x2c784a(0x543)]])==null?void 0x0:_0x5777a4['type'])===c[_0x2c784a(0x1ef)][_0x2c784a(0x6d7)]&&(0x0,v['jsx'])(f[_0x2c784a(0x6e2)],{'className':'','size':_0x2c784a(0x53b),'onClick':()=>{const _0x39cbb3=_0x2c784a;_0x595f73(_0x3be35e==null?void 0x0:_0x3be35e[_0x39cbb3(0x453)],_0x2a2716=>{_0x58f483({'format':_0x2a2716});});},'children':_0x4c9575['t'](_0x2c784a(0x304))})]})},!_0x1e5b9f&&!_0x1dec8b&&!_0x516278&&!_0x2e609f&&!_0xfef215&&!_0x20a1b9&&!_0x553e92&&{'label':(0x0,v['jsx'])(_0x2c784a(0x5e9),{'className':_0x2c784a(0x6ce),'children':_0x4c9575['t'](_0x2c784a(0x6c5))}),'children':(0x0,v[_0x2c784a(0x523)])(_0x2c784a(0x3c2),{'className':_0x2c784a(0x5b8),'children':(0x0,v[_0x2c784a(0x523)])(ht,{'className':_0x2c784a(0x4be),'runtimeAxes':_0x580c75})})},!_0x1e5b9f&&!_0x2e609f&&!_0x1dec8b&&!_0xfef215&&!_0x20a1b9&&{'label':(0x0,v[_0x2c784a(0x523)])(_0x2c784a(0x5e9),{'className':_0x2c784a(0x6ce),'children':_0x4c9575['t'](_0x2c784a(0x339))}),'children':(0x0,v['jsx'])(_0x2c784a(0x3c2),{'className':_0x2c784a(0x5b8),'children':(0x0,v['jsx'])(gt,{'indicatorLabelColor':(_0x151d2f==null?void 0x0:_0x151d2f[_0x2c784a(0x1d7)])||c[_0x2c784a(0x5ce)][_0x2c784a(0x5a8)],'indicatorLineType':(_0x151d2f==null?void 0x0:_0x151d2f[_0x2c784a(0x51a)])||c[_0x2c784a(0x5ce)]['indicatorLineType'],'indicatorLabelTextColor':(_0x151d2f==null?void 0x0:_0x151d2f[_0x2c784a(0x473)])||c[_0x2c784a(0x5ce)][_0x2c784a(0x57c)],'indicatorLineColor':(_0x151d2f==null?void 0x0:_0x151d2f[_0x2c784a(0x40e)])||(_0x2c0825==null||(_0x16b43d=_0x2c0825[_0x2c784a(0x3b3)])==null?void 0x0:_0x16b43d[_0x2c784a(0x5d9)]),'onChange':_0x8e27f9=>{_0x2a8760(_0x8e27f9);}})})},_0x21d640&&_0x17ac9a&&{'label':(0x0,v[_0x2c784a(0x523)])('div',{'className':_0x2c784a(0x6ce),'children':_0x4c9575['t'](_0x2c784a(0x4f6))}),'children':(0x0,v[_0x2c784a(0x523)])(Ut,{})},_0x2e609f&&{'id':_0x2c784a(0x23e),'label':(0x0,v[_0x2c784a(0x523)])(_0x2c784a(0x5e9),{'className':_0x2c784a(0x6ce),'children':_0x4c9575['t'](_0x2c784a(0x28c))}),'children':(0x0,v[_0x2c784a(0x523)])(_0x2c784a(0x3c2),{'className':_0x2c784a(0x5b8),'children':(0x0,v[_0x2c784a(0x523)])(kt,{})})}][_0x2c784a(0x6b4)](Boolean);return(0x0,h[_0x2c784a(0x37e)])(()=>{const _0x5a529a=_0x2c784a;if(!_0x571934||!_0x582ee6||_0x582ee6[_0x5a529a(0x359)]!==_0xc7b9ce||_0x43744a[_0x5a529a(0x3ce)]===_0x582ee6)return;_0x571934[_0x5a529a(0x46d)]&&_0x5484bc(_0x571934['titleKey']);let _0x27845f=_0x159128[_0x5a529a(0x2e3)](_0x2d0e6b=>_0x2d0e6b['id']===_0x571934[_0x5a529a(0x3c2)]);_0x27845f>=0x0&&_0x2109dd(_0x27845f),_0x43744a[_0x5a529a(0x3ce)]=_0x582ee6;},[_0xc7b9ce,_0x571934,_0x159128,_0x582ee6]),(0x0,v['jsx'])(_0x2c784a(0x5e9),{'className':'','children':(0x0,v['jsx'])(f[_0x2c784a(0x606)],{'className':_0x2c784a(0x1c2),'items':_0x159128,'openIndex':_0x38f51a,'onOpenIndexChange':_0x2109dd})});};function Zt(_0x26796c){const _0x60efc5=_0x3a0a20;let {className:_0x453bb0}=_0x26796c,[_0x2d5217,_0x56920c]=(0x0,h['useState'])(0x0),_0x2e9fb9=(0x0,o[_0x60efc5(0x510)])(t[_0x60efc5(0x350)]),_0x2aea2f=(0x0,o[_0x60efc5(0x510)])(be),_0x41ad8f=(0x0,o[_0x60efc5(0x63d)])(_0x2aea2f['activeEditChart$'],null),_0x1c416b=(0x0,o[_0x60efc5(0x63d)])(_0x2aea2f['panelRoute$'],null);return(0x0,h[_0x60efc5(0x37e)])(()=>{const _0x1903e4=_0x60efc5;var _0x31e553,_0x5eee77;(_0x1c416b==null?void 0x0:_0x1c416b['chartId'])===_0x41ad8f&&(((_0x31e553=_0x1c416b[_0x1903e4(0x31d)])==null?void 0x0:_0x31e553['tab'])===_0x1903e4(0x65a)&&_0x56920c(0x1),((_0x5eee77=_0x1c416b[_0x1903e4(0x31d)])==null?void 0x0:_0x5eee77[_0x1903e4(0x3c3)])===_0x1903e4(0x583)&&_0x56920c(0x0));},[_0x41ad8f,_0x1c416b]),(0x0,v[_0x60efc5(0x412)])('div',{'className':(0x0,f[_0x60efc5(0x3e7)])(_0x60efc5(0x65f),_0x453bb0),'children':[(0x0,v[_0x60efc5(0x523)])(d['ChartEditPanelTabs'],{'value':_0x2d5217,'items':[{'label':_0x2e9fb9['t'](_0x60efc5(0x19c)),'value':0x0},{'label':_0x2e9fb9['t'](_0x60efc5(0x5b4)),'value':0x1}],'onChange':_0x56920c}),(0x0,v[_0x60efc5(0x523)])(_0x60efc5(0x5e9),{'className':'univer-flex-1\x20univer-overflow-auto','children':_0x2d5217===0x0?(0x0,v[_0x60efc5(0x523)])(ft,{}):(0x0,v[_0x60efc5(0x523)])(Xt,{})})]});}const Qt='sheet.chart.edit.panel';function $t(_0xc9ba40){const _0x4f940f=_0x3a0a20;if(_0xc9ba40[_0x4f940f(0x687)]!==0x1)return!0x1;let _0x5d9dc3=_0xc9ba40[0x0];return _0x5d9dc3['drawingType']===t['DrawingTypeEnum'][_0x4f940f(0x1d1)]&&!_0x5d9dc3[_0x4f940f(0x395)];}let en=class extends t['Disposable']{constructor(_0x418dbc,_0x334f4a,_0x4563c5,_0x119a74,_0x5ac797,_0x5a3052,_0x3d4ccd,_0x449579,_0x52b2fd,_0x47c2b9,_0x54c9c5,_0x381919,_0x491b2c,_0x1d9c05,_0x5cc6d6){const _0x5a2029=_0x3a0a20;super(),this[_0x5a2029(0x2ec)]=_0x418dbc,this[_0x5a2029(0x680)]=_0x334f4a,this[_0x5a2029(0x6bb)]=_0x4563c5,this[_0x5a2029(0x281)]=_0x119a74,this[_0x5a2029(0x51e)]=_0x5ac797,this[_0x5a2029(0x41a)]=_0x5a3052,this[_0x5a2029(0x4bd)]=_0x3d4ccd,this[_0x5a2029(0x324)]=_0x449579,this['_menuManagerService']=_0x52b2fd,this[_0x5a2029(0x5f9)]=_0x47c2b9,this[_0x5a2029(0x4ee)]=_0x54c9c5,this[_0x5a2029(0x36f)]=_0x381919,this[_0x5a2029(0x1d2)]=_0x491b2c,this[_0x5a2029(0x5bb)]=_0x1d9c05,this['_contextService']=_0x5cc6d6,k(this,'_sidebarDisposable',null),this[_0x5a2029(0x614)](),this[_0x5a2029(0x5be)](this['_univerInstanceService'][_0x5a2029(0x1dc)](t[_0x5a2029(0x4bc)][_0x5a2029(0x275)])[_0x5a2029(0x21b)](_0x4631ff=>{const _0x3b678f=_0x5a2029;var _0x34a61a;_0x4631ff||(_0x34a61a=this[_0x3b678f(0x6dd)])==null||_0x34a61a[_0x3b678f(0x55f)]();})),this['disposeWithMe']((0x0,t['toDisposable'])(this[_0x5a2029(0x51e)]['onDoubleClick$'][_0x5a2029(0x21b)](({drawing:_0x248a20})=>{const _0x129c26=_0x5a2029;this[_0x129c26(0x68f)](_0x248a20);})));}[_0x3a0a20(0x5d5)](){const _0x20cc58=_0x3a0a20;this[_0x20cc58(0x6dd)]=this[_0x20cc58(0x41a)]['open']({'id':Qt,'header':{'title':_0x20cc58(0x3fb)},'width':0x154,'children':{'label':Qt},'onClose':()=>{const _0x14592c=_0x20cc58;this['_chartModelService'][_0x14592c(0x670)](null),this['_deactivateEditPanelState'](),this['_drawingManagerService'][_0x14592c(0x202)](null),this[_0x14592c(0x200)][_0x14592c(0x41c)](t[_0x14592c(0x6e0)],!0x1),this[_0x14592c(0x6dd)]=null;}});}[_0x3a0a20(0x6a1)](){const _0x15e6b7=_0x3a0a20;var _0x372ab7;this[_0x15e6b7(0x6bb)][_0x15e6b7(0x670)](null),this[_0x15e6b7(0x3c5)](),(_0x372ab7=this[_0x15e6b7(0x6dd)])==null||_0x372ab7['dispose']();}[_0x3a0a20(0x521)](){const _0xb2dc63=_0x3a0a20;let _0xb3f7f0=this['_univerInstanceService'][_0xb2dc63(0x39c)](t['UniverInstanceType'][_0xb2dc63(0x275)]);this[_0xb2dc63(0x5be)](this['_sidebarService'][_0xb2dc63(0x574)][_0xb2dc63(0x21b)](_0xfb6db7=>{const _0xfad00a=_0xb2dc63;_0xfb6db7['id']===_0xfad00a(0x434)&&(_0xfb6db7[_0xfad00a(0x3cd)]||this[_0xfad00a(0x41a)]['sidebarOptions$']['next']({'visible':!0x1}));})),this['disposeWithMe'](this['_commandService'][_0xb2dc63(0x6d1)](_0x3a246e=>{const _0x2ac36f=_0xb2dc63;if(_0x3a246e['id']===C['id']){let _0x1951ab=_0x3a246e[_0x2ac36f(0x600)];this[_0x2ac36f(0x607)](_0x1951ab['drawingId'],_0x1951ab[_0x2ac36f(0x31d)]);}if(_0x3a246e['id']===S['id']&&this['hidePanel'](),_0x3a246e['id']===e[_0x2ac36f(0x264)]['id']){var _0x5523b5;_0x3a246e['params'][_0x2ac36f(0x359)]===((_0x5523b5=this[_0x2ac36f(0x6bb)][_0x2ac36f(0x1c8)])==null?void 0x0:_0x5523b5['id'])&&this[_0x2ac36f(0x6a1)](),this['_contextService'][_0x2ac36f(0x4c4)](t[_0x2ac36f(0x6e0)])&&(this[_0x2ac36f(0x200)][_0x2ac36f(0x41c)](t[_0x2ac36f(0x6e0)],!0x1),this[_0x2ac36f(0x2ec)]['focusDrawing'](null));}})),this['disposeWithMe'](this[_0xb2dc63(0x4ee)][_0xb2dc63(0x5fe)][_0xb2dc63(0x21b)](({id:_0x5ccc71})=>{const _0x119848=_0xb2dc63;_0x5ccc71===this[_0x119848(0x5bb)][_0x119848(0x51c)]&&this[_0x119848(0x6a1)]();})),this[_0xb2dc63(0x5be)](this[_0xb2dc63(0x4ee)]['transformChange$'][_0xb2dc63(0x21b)](({id:_0x3820f3})=>{const _0x55b0c2=_0xb2dc63;_0x3820f3===this[_0x55b0c2(0x5bb)][_0x55b0c2(0x51c)]&&(this['_sheetsChartUIService'][_0x55b0c2(0x679)](null),this[_0x55b0c2(0x5bb)][_0x55b0c2(0x3d8)](),this[_0x55b0c2(0x281)]['setElementEditMode'](_0x3820f3,!0x1),this[_0x55b0c2(0x281)][_0x55b0c2(0x643)](_0x3820f3,!0x0));})),this[_0xb2dc63(0x5be)](this[_0xb2dc63(0x2ec)][_0xb2dc63(0x4cf)]['subscribe'](_0x233771=>{const _0x1ea652=_0xb2dc63;let _0x3cbfe7=_0x233771[0x0];if(!this['_sheetsChartUIService'][_0x1ea652(0x425)]){if($t(_0x233771)){var _0x47fca4;let _0x440338=this['_chartModelService'][_0x1ea652(0x4df)](_0x3cbfe7['drawingId']);_0x440338&&((_0x47fca4=this[_0x1ea652(0x6bb)][_0x1ea652(0x1c8)])==null?void 0x0:_0x47fca4['id'])!==_0x440338['id']&&this[_0x1ea652(0x6bb)]['setActiveChartModel'](_0x440338);return;}this[_0x1ea652(0x6bb)]['activeChartModel']&&this['_chartModelService'][_0x1ea652(0x670)](null),!_0x3cbfe7&&!this[_0x1ea652(0x5bb)][_0x1ea652(0x425)]&&this[_0x1ea652(0x6a1)]();}})),_0xb3f7f0&&(this[_0xb2dc63(0x5be)](_0xb3f7f0[_0xb2dc63(0x1bd)][_0xb2dc63(0x21b)](()=>{this['hidePanel']();})),this[_0xb2dc63(0x5be)](_0xb3f7f0[_0xb2dc63(0x25d)]['subscribe'](()=>{this['hidePanel']();})));}[_0x3a0a20(0x68f)](_0x3f9186){const _0x34ebb7=_0x3a0a20;this[_0x34ebb7(0x5bb)][_0x34ebb7(0x51c)]||_0x3f9186[_0x34ebb7(0x484)]===t['DrawingTypeEnum'][_0x34ebb7(0x1d1)]&&this[_0x34ebb7(0x5bd)](_0x3f9186[_0x34ebb7(0x5d2)],_0x3f9186[_0x34ebb7(0x650)],_0x3f9186[_0x34ebb7(0x635)]);}[_0x3a0a20(0x5bd)](_0x567bdb,_0x571b13,_0x35707e){const _0x1cd794=_0x3a0a20;let _0x2a4784=this[_0x1cd794(0x6bb)][_0x1cd794(0x4df)](_0x35707e);_0x2a4784&&(this[_0x1cd794(0x6bb)][_0x1cd794(0x670)](_0x2a4784),this['_commandService'][_0x1cd794(0x351)](C['id'],{'unitId':_0x567bdb,'subUnitId':_0x571b13,'drawingId':_0x35707e}));}[_0x3a0a20(0x607)](_0x43fac0,_0x3f87f0){const _0x24abd1=_0x3a0a20;let _0x1fdda1=this[_0x24abd1(0x6bb)][_0x24abd1(0x4df)](_0x43fac0);_0x1fdda1&&(this[_0x24abd1(0x6bb)][_0x24abd1(0x670)](_0x1fdda1),this['_openPanel'](),this[_0x24abd1(0x47d)](_0x43fac0,_0x3f87f0==null?null:_0x3f87f0));}[_0x3a0a20(0x47d)](_0x361eed,_0x45238c){const _0xf62067=_0x3a0a20;let _0x312d30=this['_sheetsChartUIService'][_0xf62067(0x51c)];_0x312d30&&_0x312d30!==_0x361eed&&(this['_chartRenderService'][_0xf62067(0x643)](_0x312d30,!0x1),this['_sheetsChartUIService'][_0xf62067(0x679)](null)),this[_0xf62067(0x5bb)][_0xf62067(0x4c5)](_0x361eed),this['_sheetsChartUIService'][_0xf62067(0x599)](_0x361eed,_0x45238c),this[_0xf62067(0x281)][_0xf62067(0x643)](_0x361eed,!0x0);}[_0x3a0a20(0x3c5)](){const _0x34428e=_0x3a0a20;let _0x2683a1=this['_sheetsChartUIService'][_0x34428e(0x51c)];_0x2683a1&&this[_0x34428e(0x281)][_0x34428e(0x643)](_0x2683a1,!0x1),this[_0x34428e(0x5bb)][_0x34428e(0x4c5)](null),this[_0x34428e(0x5bb)][_0x34428e(0x679)](null),this['_sheetsChartUIService'][_0x34428e(0x3d8)]();}[_0x3a0a20(0x614)](){const _0x11ad78=_0x3a0a20;this[_0x11ad78(0x352)][_0x11ad78(0x653)](ve),this[_0x11ad78(0x5be)](this[_0x11ad78(0x5f9)][_0x11ad78(0x496)](t[_0x11ad78(0x594)][_0x11ad78(0x1d1)],{'getContextMenuPosition':()=>ce})),this[_0x11ad78(0x36f)]['registerFeatureMenu'](t[_0x11ad78(0x594)][_0x11ad78(0x1d1)],this[_0x11ad78(0x3ef)][_0x11ad78(0x63e)](this));}[_0x3a0a20(0x3ef)](_0x5a1c88,_0x2b2a41,_0x5a79b9,_0x5b7b3b){const _0x240427=_0x3a0a20;return[{'label':_0x240427(0x35f),'index':0x0,'commandId':C['id'],'commandParams':{'unitId':_0x5a1c88,'subUnitId':_0x2b2a41,'drawingId':_0x5a79b9},'disable':_0x5b7b3b!==t[_0x240427(0x594)][_0x240427(0x1d1)]},{'label':_0x240427(0x6d9),'index':0x1,'commandId':r[_0x240427(0x44d)]['id'],'commandParams':{'unitId':_0x5a1c88,'drawings':[{'unitId':_0x5a1c88,'subUnitId':_0x2b2a41,'drawingId':_0x5a79b9,'drawingType':_0x5b7b3b}]},'disable':!0x1},{'label':_0x240427(0x3f2),'index':0x2,'commandId':S['id'],'commandParams':{'unitId':_0x5a1c88,'subUnitId':_0x2b2a41,'drawingId':_0x5a79b9},'disable':!0x1}];}};en=B([z(0x0,n[_0x3a0a20(0x1ac)]),z(0x1,t[_0x3a0a20(0x40a)]),z(0x2,(0x0,t['Inject'])(e[_0x3a0a20(0x285)])),z(0x3,(0x0,t[_0x3a0a20(0x5e1)])(G)),z(0x4,(0x0,t[_0x3a0a20(0x5e1)])(i[_0x3a0a20(0x2f0)])),z(0x5,(0x0,t[_0x3a0a20(0x5e1)])(o[_0x3a0a20(0x632)])),z(0x6,(0x0,t[_0x3a0a20(0x5e1)])(o['ComponentManager'])),z(0x7,(0x0,t[_0x3a0a20(0x5e1)])(o[_0x3a0a20(0x55d)])),z(0x8,o['IMenuManagerService']),z(0x9,i[_0x3a0a20(0x2fa)]),z(0xa,(0x0,t[_0x3a0a20(0x5e1)])(i['SheetCanvasFloatDomManagerService'])),z(0xb,(0x0,t['Inject'])(a[_0x3a0a20(0x532)])),z(0xc,t[_0x3a0a20(0x589)]),z(0xd,be),z(0xe,t['IContextService'])],en);var tn=_0x3a0a20(0x284),nn=_0x3a0a20(0x466);const rn={'scaleX':0x1,'scaleY':0x1};function an(_0x28beda){const _0x417981=_0x3a0a20;let _0x5cbd9d=_0x28beda[_0x417981(0x590)];return _0x5cbd9d instanceof MouseEvent?_0x5cbd9d:void 0x0;}function _0x2ae9(_0x4d2dce,_0x3cc84c){_0x4d2dce=_0x4d2dce-0x196;const _0x3a017e=_0x3a01();let _0x2ae981=_0x3a017e[_0x4d2dce];return _0x2ae981;}function on(_0x52ee80){const _0x501c11=_0x3a0a20;let _0x46669a=_0x52ee80[_0x501c11(0x590)],_0x487638=_0x46669a==null?void 0x0:_0x46669a[_0x501c11(0x6da)];return _0x487638 instanceof Element?_0x487638:void 0x0;}function sn(_0x2425f7){const _0x201f42=_0x3a0a20;var _0x550509;return(_0x550509=on(_0x2425f7))==null?void 0x0:_0x550509[_0x201f42(0x5e3)]();}function cn(_0x1a92dd){const _0x5bf448=_0x3a0a20;return _0x1a92dd[_0x5bf448(0x613)]||_0x1a92dd[_0x5bf448(0x52b)]-_0x1a92dd[_0x5bf448(0x445)];}function ln(_0x2a669c){const _0x3b597b=_0x3a0a20;return _0x2a669c[_0x3b597b(0x287)]||_0x2a669c[_0x3b597b(0x602)]-_0x2a669c[_0x3b597b(0x1c4)];}function un(_0x46b4f5,_0x39a5a6){const _0x268ffe=_0x3a0a20;let _0x419c9b=_0x46b4f5[_0x268ffe(0x623)]||(_0x46b4f5 instanceof HTMLElement?_0x46b4f5[_0x268ffe(0x4d8)]:0x0),_0x44bd17=_0x46b4f5[_0x268ffe(0x2b5)]||(_0x46b4f5 instanceof HTMLElement?_0x46b4f5[_0x268ffe(0x66f)]:0x0),_0x34d9eb=cn(_0x39a5a6),_0x852c2b=ln(_0x39a5a6);return{'scaleX':_0x419c9b>0x0&&_0x34d9eb>0x0?_0x34d9eb/_0x419c9b:rn[_0x268ffe(0x4a9)],'scaleY':_0x44bd17>0x0&&_0x852c2b>0x0?_0x852c2b/_0x44bd17:rn[_0x268ffe(0x2fe)]};}function dn(_0x57e964,_0x282cff,_0x514f8){const _0x15a060=_0x3a0a20;return{'left':_0x57e964['left']+_0x282cff[_0x15a060(0x445)]*_0x514f8[_0x15a060(0x4a9)],'right':_0x57e964['left']+_0x282cff['right']*_0x514f8[_0x15a060(0x4a9)],'top':_0x57e964['top']+_0x282cff[_0x15a060(0x1c4)]*_0x514f8[_0x15a060(0x2fe)],'bottom':_0x57e964[_0x15a060(0x1c4)]+_0x282cff[_0x15a060(0x602)]*_0x514f8[_0x15a060(0x2fe)]};}function fn(_0xb9153a){const _0x466d08=_0x3a0a20;let _0x46a257=on(_0xb9153a),_0x6ce32b=_0xb9153a['hit'][_0x466d08(0x27b)];return _0x46a257&&_0x6ce32b?()=>{let _0x1db052=_0x46a257['getBoundingClientRect']();return dn(_0x1db052,_0x6ce32b,un(_0x46a257,_0x1db052));}:()=>{const _0x358e35=_0x466d08;var _0x18e7b5,_0x25724d;let _0x131924=sn(_0xb9153a);if(_0x131924&&_0x6ce32b)return dn(_0x131924,_0x6ce32b,_0x46a257?un(_0x46a257,_0x131924):rn);let _0x56c7ce=an(_0xb9153a),_0x4d7896=_0x46a257&&_0x131924?un(_0x46a257,_0x131924):rn,_0x114390=(_0x18e7b5=_0x56c7ce==null?void 0x0:_0x56c7ce['clientX'])==null?_0x131924?_0x131924[_0x358e35(0x445)]+_0xb9153a[_0x358e35(0x2fb)]['x']*_0x4d7896[_0x358e35(0x4a9)]:_0xb9153a[_0x358e35(0x2fb)]['x']:_0x18e7b5,_0x3db671=(_0x25724d=_0x56c7ce==null?void 0x0:_0x56c7ce[_0x358e35(0x686)])==null?_0x131924?_0x131924[_0x358e35(0x1c4)]+_0xb9153a['localPoint']['y']*_0x4d7896[_0x358e35(0x2fe)]:_0xb9153a[_0x358e35(0x2fb)]['y']:_0x25724d;return{'left':_0x114390,'right':_0x114390+0x1,'top':_0x3db671,'bottom':_0x3db671+0x1};};}function pn(_0x4b069c){const _0x35278b=_0x3a0a20;return typeof _0x4b069c=='number'&&Number[_0x35278b(0x53f)](_0x4b069c);}function mn(_0x239df4){if(!_0x239df4||typeof _0x239df4!='object')return!0x0;let {startX:_0x198506,endX:_0x4f8def,startY:_0x26db05,endY:_0x4c9ba0}=_0x239df4;return!pn(_0x198506)||!pn(_0x4f8def)||!pn(_0x26db05)||!pn(_0x4c9ba0)?!0x0:_0x4f8def-_0x198506>0x2&&_0x4c9ba0-_0x26db05>0x2;}function hn(_0x5d1762){const _0x2d7c6f=_0x3a0a20;return _0x5d1762[_0x2d7c6f(0x52b)]<=_0x5d1762['left']||_0x5d1762[_0x2d7c6f(0x602)]<=_0x5d1762[_0x2d7c6f(0x1c4)]?!0x1:typeof window>'u'?!0x0:_0x5d1762['right']>0x0&&_0x5d1762[_0x2d7c6f(0x602)]>0x0&&_0x5d1762['left']<window['innerWidth']&&_0x5d1762[_0x2d7c6f(0x1c4)]<window[_0x2d7c6f(0x54a)];}function gn(_0x24f288){const _0x12068a=_0x3a0a20;var _0x2fd46a;return _0x24f288==null||(_0x2fd46a=_0x24f288[_0x12068a(0x6c1)])==null?void 0x0:_0x2fd46a[_0x12068a(0x677)](_0x24f288);}function _n(_0x5f11b9,_0x3e7dbd,_0x3e4ea8){const _0x326391=_0x3a0a20;let _0x23b648=fn(_0x5f11b9),_0x5d4a21=gn(_0x3e7dbd),_0x4c2551=_0x23b648(),_0x10af2b=new s['BehaviorSubject'](_0x4c2551),_0x260bea=new t[(_0x326391(0x3b2))](),_0x316d1a=!0x1,_0x4a9c4e=!0x1,_0x44a625=_0x2d853d=>mn(_0x5d4a21)&&hn(_0x2d853d),_0x2e82f2=()=>{_0x4a9c4e||_0x316d1a||(_0x4a9c4e=!0x0,queueMicrotask(()=>{const _0x3364c6=_0x2ae9;if(_0x4a9c4e=!0x1,!_0x316d1a){let _0x514c19=_0x23b648();if(!_0x44a625(_0x514c19)){_0x3e4ea8();return;}_0x10af2b[_0x3364c6(0x585)](_0x514c19);}}));};return _0x3e7dbd&&_0x260bea['add'](_0x3e7dbd[_0x326391(0x21b)](_0x2cc8e6=>{_0x5d4a21=_0x2cc8e6,_0x2e82f2();})),typeof window<'u'&&_0x260bea[_0x326391(0x4c0)]((0x0,s[_0x326391(0x6a9)])((0x0,s[_0x326391(0x48b)])(window,_0x326391(0x2e1),{'capture':!0x0}),(0x0,s[_0x326391(0x48b)])(window,_0x326391(0x354)))['pipe']((0x0,s['throttleTime'])(0x10))[_0x326391(0x21b)](_0x2e82f2)),{'initialRect':_0x4c2551,'anchorRect$':_0x10af2b[_0x326391(0x198)](),'visible':_0x44a625(_0x4c2551),'dispose':()=>{const _0x177987=_0x326391;_0x316d1a=!0x0,_0x260bea[_0x177987(0x55f)](),_0x10af2b[_0x177987(0x6cb)]();}};}function vn(_0x253363){const _0x1377e7=_0x3a0a20;return _0x253363==='xAxis'?{'tab':'style','section':_0x1377e7(0x449),'axisId':_0x253363}:_0x253363===_0x1377e7(0x6b7)?{'tab':_0x1377e7(0x65a),'section':_0x1377e7(0x59b),'axisId':_0x253363}:{'tab':'style','section':_0x1377e7(0x307),'axisId':_0x253363};}function yn(_0x3af919){const _0x5abdeb=_0x3a0a20;switch(_0x3af919['scope']){case _0x5abdeb(0x509):return{'tab':_0x5abdeb(0x65a),'section':_0x5abdeb(0x1dd)};case _0x5abdeb(0x332):return{'tab':_0x5abdeb(0x65a),'section':_0x5abdeb(0x694),'titleKey':_0x3af919[_0x5abdeb(0x46d)]};case _0x5abdeb(0x46c):return{'tab':'style','section':_0x5abdeb(0x694),'axisId':_0x3af919['axisId'],'titleKey':_0x3af919[_0x5abdeb(0x46d)]};case _0x5abdeb(0x62b):case'gridLine':case _0x5abdeb(0x2c1):return vn(_0x3af919['axisId']);case _0x5abdeb(0x255):return{'tab':_0x5abdeb(0x65a),'section':_0x5abdeb(0x255)};case _0x5abdeb(0x3ed):{let _0x47e08f=_0x3af919[_0x5abdeb(0x578)];return(_0x47e08f==null?void 0x0:_0x47e08f[_0x5abdeb(0x41e)])===_0x5abdeb(0x3c4)?{'tab':'style','section':_0x5abdeb(0x3e3),'seriesId':_0x47e08f[_0x5abdeb(0x3ba)]}:(_0x47e08f==null?void 0x0:_0x47e08f[_0x5abdeb(0x41e)])===_0x5abdeb(0x64f)?{'tab':_0x5abdeb(0x65a),'section':_0x5abdeb(0x64f)}:(_0x47e08f==null?void 0x0:_0x47e08f['kind'])===_0x5abdeb(0x20b)?{'tab':_0x5abdeb(0x65a),'section':_0x47e08f[_0x5abdeb(0x576)]===_0x5abdeb(0x4aa)?_0x5abdeb(0x21a):_0x5abdeb(0x58d)}:(_0x47e08f==null?void 0x0:_0x47e08f[_0x5abdeb(0x41e)])===_0x5abdeb(0x561)?{'tab':_0x5abdeb(0x65a),'section':_0x5abdeb(0x1e3),'seriesId':_0x47e08f[_0x5abdeb(0x3ba)]}:_0x3af919[_0x5abdeb(0x435)]===_0x5abdeb(0x64f)?{'tab':_0x5abdeb(0x65a),'section':'pieStyle'}:_0x3af919[_0x5abdeb(0x435)]===_0x5abdeb(0x21a)?{'tab':'style','section':'paretoBarSeries'}:_0x3af919[_0x5abdeb(0x435)]===_0x5abdeb(0x58d)?{'tab':'style','section':'paretoLineSeries'}:_0x3af919[_0x5abdeb(0x435)]===_0x5abdeb(0x1e3)?{'tab':_0x5abdeb(0x65a),'section':_0x5abdeb(0x1e3),'seriesId':_0x3af919[_0x5abdeb(0x3ba)]}:_0x3af919[_0x5abdeb(0x435)]===_0x5abdeb(0x23e)?{'tab':_0x5abdeb(0x65a),'section':_0x5abdeb(0x23e)}:_0x3af919['panel']===_0x5abdeb(0x562)?{'tab':'style','section':'wordCloud'}:_0x3af919[_0x5abdeb(0x435)]===_0x5abdeb(0x583)?{'tab':_0x5abdeb(0x583)}:_0x3af919[_0x5abdeb(0x3ba)]?{'tab':_0x5abdeb(0x65a),'section':_0x5abdeb(0x3e3),'seriesId':_0x3af919[_0x5abdeb(0x3ba)]}:void 0x0;}case _0x5abdeb(0x3e3):return{'tab':_0x5abdeb(0x65a),'section':_0x5abdeb(0x3e3),'seriesId':_0x3af919[_0x5abdeb(0x3ba)]};case _0x5abdeb(0x5c8):case _0x5abdeb(0x1b1):return _0x3af919[_0x5abdeb(0x3ba)]?{'tab':_0x5abdeb(0x65a),'section':_0x5abdeb(0x3e3),'seriesId':_0x3af919[_0x5abdeb(0x3ba)]}:void 0x0;}}function bn(_0x21f88){const _0x50fc56=_0x3a0a20;return _0x21f88===c[_0x50fc56(0x5db)][_0x50fc56(0x3f0)]||_0x21f88===c[_0x50fc56(0x5db)][_0x50fc56(0x32b)]||_0x21f88===c['ChartTypeBits']['Boxplot']||c['chartBitsUtils'][_0x50fc56(0x4b3)](_0x21f88,c[_0x50fc56(0x5db)][_0x50fc56(0x65b)])||c[_0x50fc56(0x442)][_0x50fc56(0x4b3)](_0x21f88,c[_0x50fc56(0x5db)][_0x50fc56(0x215)])||c[_0x50fc56(0x442)]['baseOn'](_0x21f88,c[_0x50fc56(0x5db)][_0x50fc56(0x2d9)])||c[_0x50fc56(0x442)][_0x50fc56(0x4b3)](_0x21f88,c[_0x50fc56(0x5db)][_0x50fc56(0x59d)]);}function xn(_0x2fba29){const _0x443b54=_0x3a0a20;switch(_0x2fba29){case c[_0x443b54(0x5bf)][_0x443b54(0x517)]:return'positive';case c[_0x443b54(0x5bf)]['negative']:return _0x443b54(0x2bf);case c[_0x443b54(0x5bf)][_0x443b54(0x4f7)]:return'subtotal';default:return;}}function Sn(_0x291136,_0x10e70a){const _0x4ef2b9=_0x3a0a20;var _0x32f5b1;if(typeof _0x10e70a[_0x4ef2b9(0x48c)]!='number')return;let _0x292dc0=(_0x32f5b1=_0x291136[_0x4ef2b9(0x2b7)])==null||(_0x32f5b1=_0x32f5b1['seriesIndexes'])==null?void 0x0:_0x32f5b1[_0x10e70a['seriesIndex']],_0x5a8ef1=_0x292dc0===void 0x0?_0x10e70a['seriesId']:String(_0x292dc0);if(typeof _0x5a8ef1==_0x4ef2b9(0x438))return{'seriesId':_0x5a8ef1,'seriesIndex':_0x10e70a[_0x4ef2b9(0x48c)]};}function Cn(_0x5da61e,_0x508a55){const _0x39a59d=_0x3a0a20;let _0x211800=_0x5da61e[_0x39a59d(0x4e7)],_0xcfcefc={'scope':_0x39a59d(0x3ed)};if(_0x508a55[_0x39a59d(0x3ba)]!==void 0x0&&(_0xcfcefc[_0x39a59d(0x3ba)]=_0x508a55[_0x39a59d(0x3ba)]),_0x508a55[_0x39a59d(0x48c)]!==void 0x0&&(_0xcfcefc['seriesIndex']=_0x508a55[_0x39a59d(0x48c)]),_0x508a55[_0x39a59d(0x34b)]!==void 0x0&&(_0xcfcefc[_0x39a59d(0x34b)]=_0x508a55['dataIndex']),c[_0x39a59d(0x442)][_0x39a59d(0x4b3)](_0x211800,c['ChartTypeBits'][_0x39a59d(0x604)]))return{..._0xcfcefc,'directEdit':{'kind':_0x39a59d(0x64f)},'panel':'pieStyle'};if(c[_0x39a59d(0x442)]['baseOn'](_0x211800,c[_0x39a59d(0x5db)][_0x39a59d(0x563)]))return _0x508a55[_0x39a59d(0x48c)]===0x0?{..._0xcfcefc,'directEdit':{'kind':'paretoStyle','part':_0x39a59d(0x4aa)},'panel':'paretoBarSeries'}:_0x508a55['seriesIndex']===0x1?{..._0xcfcefc,'directEdit':{'kind':_0x39a59d(0x20b),'part':'line'},'panel':'paretoLineSeries'}:{..._0xcfcefc,'panel':_0x39a59d(0x21a)};if(c['chartBitsUtils'][_0x39a59d(0x4b3)](_0x211800,c[_0x39a59d(0x5db)][_0x39a59d(0x460)])){var _0x44281c;let _0xd623c8=xn(_0x508a55[_0x39a59d(0x381)]),_0x5c1bdb=(_0x44281c=_0x508a55[_0x39a59d(0x682)])==null?_0x508a55['seriesId']:_0x44281c;return _0xd623c8&&_0x5c1bdb?{..._0xcfcefc,'seriesId':_0x5c1bdb,'directEdit':{'kind':_0x39a59d(0x561),'seriesId':_0x5c1bdb,'seriesIndex':_0x508a55[_0x39a59d(0x48c)],'part':_0xd623c8},'panel':_0x39a59d(0x1e3)}:{..._0xcfcefc,'seriesId':_0x5c1bdb,'panel':_0x39a59d(0x1e3)};}if(bn(_0x211800)){let _0xf04768=Sn(_0x5da61e,_0x508a55);return _0xf04768?{..._0xcfcefc,'seriesId':_0xf04768[_0x39a59d(0x3ba)],'seriesIndex':_0xf04768[_0x39a59d(0x48c)],'directEdit':{'kind':_0x39a59d(0x3c4),'seriesId':_0xf04768[_0x39a59d(0x3ba)],'seriesIndex':_0xf04768[_0x39a59d(0x48c)]}}:void 0x0;}return c['chartBitsUtils'][_0x39a59d(0x4b3)](_0x211800,c[_0x39a59d(0x5db)][_0x39a59d(0x24b)])?{..._0xcfcefc,'panel':_0x39a59d(0x23e)}:c[_0x39a59d(0x442)][_0x39a59d(0x4b3)](_0x211800,c[_0x39a59d(0x5db)][_0x39a59d(0x1f9)])?{..._0xcfcefc,'panel':_0x39a59d(0x562)}:{..._0xcfcefc,'panel':_0x39a59d(0x583)};}function wn(_0x210043,_0x3acd8f){const _0x381713=_0x3a0a20;let _0x5e6829=_0x3acd8f['kind']==='mark'?Cn(_0x210043,_0x3acd8f):(0x0,d[_0x381713(0x2b1)])(_0x3acd8f),_0xefe822=_0x5e6829?yn(_0x5e6829):void 0x0;if(!(!_0x5e6829||!_0xefe822))return{'target':_0x5e6829,'route':_0xefe822,'showFloatMenu':_0x5e6829['scope']!=='mark'||!!_0x5e6829[_0x381713(0x578)]};}const Tn='sheets-chart-element-float-menu';let En=class extends t[_0x3a0a20(0x68e)]{constructor(_0x266364,_0x2a552a,_0x237152,_0x179c04,_0x4e6f17,_0x41a519,_0x20ec8f,_0x3f3bc1){const _0x5d9591=_0x3a0a20;super(),this[_0x5d9591(0x6bb)]=_0x266364,this[_0x5d9591(0x281)]=_0x2a552a,this[_0x5d9591(0x499)]=_0x237152,this['_sheetCanvasPopManagerService']=_0x179c04,this[_0x5d9591(0x4ee)]=_0x4e6f17,this[_0x5d9591(0x5bb)]=_0x41a519,this[_0x5d9591(0x334)]=_0x20ec8f,this['_commandService']=_0x3f3bc1,k(this,_0x5d9591(0x261),null),k(this,_0x5d9591(0x222),null),this[_0x5d9591(0x227)](),this[_0x5d9591(0x6bf)]();}[_0x3a0a20(0x55f)](){const _0x2d6179=_0x3a0a20;this[_0x2d6179(0x20c)](),super['dispose']();}['_registerAdapter'](){const _0x2728ba=_0x3a0a20;this[_0x2728ba(0x5be)](this[_0x2728ba(0x334)][_0x2728ba(0x50a)](Tn,{'getState':(_0x3c8fca,_0x48c09d)=>{const _0x3d6be2=_0x2728ba;this['_setActiveChart'](_0x3c8fca[_0x3d6be2(0x359)]);let _0x3d3a4d=this[_0x3d6be2(0x5bb)][_0x3d6be2(0x480)](_0x48c09d);return _0x3d3a4d instanceof s[_0x3d6be2(0x608)]?_0x3d3a4d:_0x3d3a4d==null?void 0x0:_0x3d3a4d[_0x3d6be2(0x4bb)]();},'setState':(_0x325fd5,_0x1cc825,_0x309bf6)=>{const _0xc49935=_0x2728ba;this['_setActiveChart'](_0x325fd5[_0xc49935(0x359)]);let _0x27f188=this[_0xc49935(0x5bb)][_0xc49935(0x480)](_0x1cc825);if(!(_0x27f188 instanceof s[_0xc49935(0x608)])){var _0x1673ca;_0x27f188==null||(_0x1673ca=_0x27f188[_0xc49935(0x38d)])==null||_0x1673ca[_0xc49935(0x677)](_0x27f188,_0x309bf6);}},'close':()=>this[_0x2728ba(0x20c)](),'openFullPanel':_0x3024c5=>{const _0x5a79c9=_0x2728ba;let {unitId:_0x1b2536,subUnitId:_0x1e873a,drawingId:_0x5cb52e,chartId:_0xad45a0}=_0x3024c5,_0x3a7bd4=yn(_0x3024c5[_0x5a79c9(0x6da)]);this['_commandService'][_0x5a79c9(0x351)](C['id'],{'unitId':_0x1b2536,'subUnitId':_0x1e873a==null?'':_0x1e873a,'drawingId':_0x5cb52e==null?_0xad45a0:_0x5cb52e,..._0x3a7bd4?{'route':_0x3a7bd4}:{}});}}));}['_subscribeChartEvents'](){const _0x7dddd1=_0x3a0a20;this[_0x7dddd1(0x5be)](this['_chartModelService']['chartModelAdded$'][_0x7dddd1(0x21b)](_0x3d0186=>{const _0x4bca7d=_0x7dddd1;let _0x5e4f58=new t[(_0x4bca7d(0x3b2))]();_0x5e4f58['add'](this[_0x4bca7d(0x281)]['on'](_0x3d0186['id'],'click',_0x56204e=>{const _0x3707c7=_0x4bca7d;this[_0x3707c7(0x541)](_0x3d0186['id'],_0x56204e);})),_0x5e4f58[_0x4bca7d(0x4c0)](this[_0x4bca7d(0x281)]['on'](_0x3d0186['id'],_0x4bca7d(0x5d0),()=>{const _0xbb8258=_0x4bca7d;this[_0xbb8258(0x5bd)](_0x3d0186['id']);})),_0x3d0186[_0x4bca7d(0x1ee)](()=>{const _0x30ece4=_0x4bca7d;_0x5e4f58[_0x30ece4(0x55f)](),this[_0x30ece4(0x6d2)](_0x3d0186['id']);}),this[_0x4bca7d(0x5be)](_0x5e4f58);})),this[_0x7dddd1(0x5be)](this['_sheetsChartUIService'][_0x7dddd1(0x477)][_0x7dddd1(0x21b)](_0x3d9bb0=>{const _0xfe018e=_0x7dddd1;(!_0x3d9bb0||this[_0xfe018e(0x222)]&&_0x3d9bb0!==this[_0xfe018e(0x222)])&&this[_0xfe018e(0x20c)]();})),this[_0x7dddd1(0x5be)](this[_0x7dddd1(0x4ee)][_0x7dddd1(0x64d)][_0x7dddd1(0x21b)](({id:_0x120d39})=>{const _0x1fecaa=_0x7dddd1;this[_0x1fecaa(0x6d2)](_0x120d39);})),this[_0x7dddd1(0x5be)](this[_0x7dddd1(0x4ee)][_0x7dddd1(0x5fe)][_0x7dddd1(0x21b)](({id:_0x2b4fa6})=>{const _0x57cced=_0x7dddd1;this[_0x57cced(0x6d2)](_0x2b4fa6);})),this['disposeWithMe'](this[_0x7dddd1(0x499)][_0x7dddd1(0x199)][_0x7dddd1(0x21b)](_0x745cc=>{const _0xe03352=_0x7dddd1;this[_0xe03352(0x6d2)](_0x745cc);}));}[_0x3a0a20(0x5bd)](_0x3ea33e){const _0x542216=_0x3a0a20;var _0x4e456e;if(this[_0x542216(0x5bb)][_0x542216(0x51c)])return;let _0x19f589=this[_0x542216(0x6bb)][_0x542216(0x4df)](_0x3ea33e),_0x4d3eb3=this['_sheetCanvasFloatDomManagerService'][_0x542216(0x5b2)](_0x3ea33e);!_0x19f589||!_0x4d3eb3||(this[_0x542216(0x6bb)]['setActiveChartModel'](_0x19f589),this[_0x542216(0x1d2)]['executeCommand'](C['id'],{'unitId':_0x4d3eb3[_0x542216(0x5d2)],'subUnitId':(_0x4e456e=_0x4d3eb3[_0x542216(0x650)])==null?'':_0x4e456e,'drawingId':_0x3ea33e}));}[_0x3a0a20(0x30a)](_0x261bf2){const _0x4ab530=_0x3a0a20;let _0x4b6ec4=this[_0x4ab530(0x6bb)][_0x4ab530(0x4df)](_0x261bf2);_0x4b6ec4&&this[_0x4ab530(0x6bb)][_0x4ab530(0x670)](_0x4b6ec4);}[_0x3a0a20(0x541)](_0x2e3d02,_0x158351){const _0x178084=_0x3a0a20;var _0x3b9e5e;if(!this['_sheetsChartUIService'][_0x178084(0x47a)](_0x2e3d02))return;let _0x56b263=this['_chartModelService'][_0x178084(0x4df)](_0x2e3d02),_0x487de2=_0x56b263?wn(_0x56b263,_0x158351['hit']):void 0x0;if(!_0x487de2){this['_sheetsChartUIService'][_0x178084(0x679)](null),this[_0x178084(0x5bb)]['clearPanelRoute'](),this[_0x178084(0x20c)]();return;}let _0x258969=this[_0x178084(0x4ee)]['getFloatDomInfo'](_0x2e3d02);if(!_0x56b263||!_0x258969){this[_0x178084(0x5bb)][_0x178084(0x679)](null),this[_0x178084(0x5bb)][_0x178084(0x3d8)](),this[_0x178084(0x20c)]();return;}if(this[_0x178084(0x6bb)][_0x178084(0x670)](_0x56b263),this[_0x178084(0x5bb)][_0x178084(0x679)]({'chartId':_0x2e3d02,'element':_0x158351['hit'],'target':_0x487de2[_0x178084(0x6da)],'route':_0x487de2[_0x178084(0x31d)]}),this[_0x178084(0x5bb)][_0x178084(0x599)](_0x2e3d02,_0x487de2[_0x178084(0x31d)]),this[_0x178084(0x20c)](),!_0x487de2['showFloatMenu'])return;let _0x10b85e=_n(_0x158351,_0x258969[_0x178084(0x50e)],()=>this['_clearHiddenSelectedTarget'](_0x2e3d02));if(!_0x10b85e[_0x178084(0x3cd)]){_0x10b85e[_0x178084(0x55f)]();return;}let _0x2890b2=(_0x3b9e5e=this[_0x178084(0x36f)][_0x178084(0x377)](_0x10b85e['initialRect'],_0x10b85e[_0x178084(0x3db)],{'componentKey':d[_0x178084(0x588)],'direction':_0x178084(0x420),'offset':[0x0,0x8],'extraProps':{'host':_0x178084(0x258),'unitId':_0x258969[_0x178084(0x5d2)],'subUnitId':_0x258969['subUnitId'],'chartId':_0x2e3d02,'drawingId':_0x2e3d02,'element':_0x158351[_0x178084(0x28f)],'target':_0x487de2[_0x178084(0x6da)],'adapterKey':Tn}},_0x258969[_0x178084(0x5d2)],_0x258969[_0x178084(0x650)]))==null?null:_0x3b9e5e;if(!_0x2890b2){_0x10b85e['dispose']();return;}let _0x237e84=new t[(_0x178084(0x3b2))]();_0x237e84[_0x178084(0x4c0)](_0x2890b2),_0x237e84['add'](_0x10b85e),this[_0x178084(0x261)]=_0x237e84,this[_0x178084(0x222)]=_0x2e3d02;}[_0x3a0a20(0x20c)](){const _0x32223b=_0x3a0a20;var _0x3ed753;(_0x3ed753=this[_0x32223b(0x261)])==null||_0x3ed753[_0x32223b(0x55f)](),this[_0x32223b(0x261)]=null,this[_0x32223b(0x222)]=null;}[_0x3a0a20(0x6d2)](_0x4901b2){const _0x49b9ad=_0x3a0a20;!this['_sheetsChartUIService'][_0x49b9ad(0x47a)](_0x4901b2)&&this['_popupChartId']!==_0x4901b2||(this[_0x49b9ad(0x5bb)]['setSelectedElement'](null),this[_0x49b9ad(0x5bb)][_0x49b9ad(0x3d8)](),this[_0x49b9ad(0x222)]===_0x4901b2&&this[_0x49b9ad(0x20c)]());}['_clearHiddenSelectedTarget'](_0x3de0b0){const _0x312150=_0x3a0a20;this['_clearSelectedTarget'](_0x3de0b0),this['_sheetsChartUIService']['isElementEditModeActive'](_0x3de0b0)&&(this[_0x312150(0x281)][_0x312150(0x643)](_0x3de0b0,!0x1),this[_0x312150(0x281)][_0x312150(0x643)](_0x3de0b0,!0x0));}};En=B([z(0x0,(0x0,t[_0x3a0a20(0x5e1)])(e[_0x3a0a20(0x285)])),z(0x1,(0x0,t['Inject'])(G)),z(0x2,H),z(0x3,(0x0,t['Inject'])(a[_0x3a0a20(0x532)])),z(0x4,(0x0,t[_0x3a0a20(0x5e1)])(i[_0x3a0a20(0x290)])),z(0x5,be),z(0x6,(0x0,t['Inject'])(d[_0x3a0a20(0x262)])),z(0x7,t[_0x3a0a20(0x589)])],En);let Dn=class extends t['Disposable']{constructor(_0x384300,_0x30a0de){const _0x3700ac=_0x3a0a20;super(),this[_0x3700ac(0x295)]=_0x384300,this[_0x3700ac(0x6bb)]=_0x30a0de,this['_init']();}['_init'](){const _0x5a1dcf=_0x3a0a20;this[_0x5a1dcf(0x5be)](this[_0x5a1dcf(0x295)]['removeHost$'][_0x5a1dcf(0x21b)](_0x57d6a0=>{const _0x5c78d8=_0x5a1dcf;this['_chartModelService'][_0x5c78d8(0x362)](_0x57d6a0);}));}};Dn=B([z(0x0,H),z(0x1,(0x0,t['Inject'])(e['ChartModelService']))],Dn);let On=class extends t[_0x3a0a20(0x68e)]{constructor(_0xc59507,_0x80c591,_0x4259a1,_0x43ab6d,_0x15c6a5){const _0x11bd84=_0x3a0a20;super(),this[_0x11bd84(0x6bb)]=_0xc59507,this[_0x11bd84(0x281)]=_0x80c591,this[_0x11bd84(0x39b)]=_0x4259a1,this[_0x11bd84(0x1d2)]=_0x43ab6d,this[_0x11bd84(0x27f)]=_0x15c6a5,k(this,_0x11bd84(0x519),new Map()),this[_0x11bd84(0x253)](),this[_0x11bd84(0x328)](),this[_0x11bd84(0x6a7)]();}[_0x3a0a20(0x6a7)](){const _0x5dc1d1=_0x3a0a20;this[_0x5dc1d1(0x5be)](this[_0x5dc1d1(0x27f)][_0x5dc1d1(0x3cf)][_0x5dc1d1(0x582)](this[_0x5dc1d1(0x27f)][_0x5dc1d1(0x3cf)][_0x5dc1d1(0x691)]()[_0x5dc1d1(0x240)],{'handler':(_0x2275a2,_0x228139,_0x3e15a6)=>{const _0x4a5c7c=_0x5dc1d1;let _0x48983e=this[_0x4a5c7c(0x281)][_0x4a5c7c(0x1bf)](_0x228139[_0x4a5c7c(0x5d2)],_0x228139[_0x4a5c7c(0x650)],_0x228139[_0x4a5c7c(0x42c)]);return _0x228139[_0x4a5c7c(0x648)][_0x4a5c7c(0x4c0)](_0x48983e),_0x3e15a6(_0x2275a2);}}));}[_0x3a0a20(0x253)](){const _0x49531e=_0x3a0a20;this[_0x49531e(0x5be)](this[_0x49531e(0x6bb)]['chartModelAdded$'][_0x49531e(0x21b)](_0x40ce64=>{const _0x347fce=_0x49531e;if(_0x40ce64){let _0x150c4b=new t['DisposableCollection']();_0x150c4b[_0x347fce(0x4c0)](_0x40ce64[_0x347fce(0x1c1)][_0x347fce(0x4b0)]((0x0,s['combineLatestWith'])(_0x40ce64['style$']),(0x0,s[_0x347fce(0x1a4)])(this[_0x347fce(0x39b)][_0x347fce(0x610)]),(0x0,s[_0x347fce(0x53d)])(0x64))[_0x347fce(0x21b)](([[_0x12fc8c,_0xe012c7],_0xc46e7b])=>{const _0x2fecbc=_0x347fce;var _0x5a9ec3;if(!_0x12fc8c)return;(_0x5a9ec3=_0x12fc8c[_0x2fecbc(0x201)])==null||_0x5a9ec3[_0x2fecbc(0x48a)][_0x2fecbc(0x462)]((_0x42d80a,_0x499535)=>{const _0x33a580=_0x2fecbc;_0x42d80a[_0x33a580(0x609)]||(_0x42d80a['label']=this['_localeService']['t'](_0x33a580(0x4dd))+'\x20'+(_0x499535+0x1));}),_0x12fc8c[_0x2fecbc(0x3e3)][_0x2fecbc(0x462)]((_0x46dd2b,_0x332bbe)=>{const _0x2c5222=_0x2fecbc;_0x46dd2b[_0x2c5222(0x685)]||(_0x46dd2b[_0x2c5222(0x685)]=this[_0x2c5222(0x39b)]['t'](_0x2c5222(0x1f6))+'\x20'+(_0x332bbe+0x1));});let _0x5323b0=W(_0x40ce64,_0xc46e7b);this[_0x2fecbc(0x281)][_0x2fecbc(0x611)](_0x40ce64['id'],_0x12fc8c,_0x5323b0);})),_0x40ce64[_0x347fce(0x1ee)](()=>{const _0x472a26=_0x347fce;_0x150c4b[_0x472a26(0x55f)]();});}}));}[_0x3a0a20(0x328)](){const _0x35856d=_0x3a0a20;this[_0x35856d(0x5be)](this[_0x35856d(0x1d2)]['onCommandExecuted'](_0x2c0640=>{const _0x3da383=_0x35856d;if(_0x2c0640['id']!==e[_0x3da383(0x5c7)]['id'])return;let _0x17b782=_0x2c0640[_0x3da383(0x600)];_0x17b782!=null&&_0x17b782[_0x3da383(0x4b1)]&&Promise['resolve']()['then'](()=>this[_0x3da383(0x2b4)](_0x17b782));}));}[_0x3a0a20(0x2b4)](_0x3f7881){const _0x55c7d8=_0x3a0a20;let _0x4ff853=this[_0x55c7d8(0x6bb)][_0x55c7d8(0x4df)](_0x3f7881[_0x55c7d8(0x4b1)]);if(!_0x4ff853||_0x4ff853['chartType']!==c[_0x55c7d8(0x5db)][_0x55c7d8(0x1f9)])return;let _0x289774=_0x4ff853[_0x55c7d8(0x67f)];if(!_0x289774){this[_0x55c7d8(0x40c)](_0x4ff853);return;}this[_0x55c7d8(0x298)](_0x4ff853,_0x289774);}[_0x3a0a20(0x40c)](_0x1d4ef0){const _0x467d83=_0x3a0a20;if(this['_pendingMutationConfigRenders'][_0x467d83(0x4bb)](_0x1d4ef0['id']))return;let _0x4cb4c9=_0x1d4ef0[_0x467d83(0x1c1)][_0x467d83(0x4b0)]((0x0,s[_0x467d83(0x6b4)])(_0x4c43f4=>_0x4c43f4!=null),(0x0,s['take'])(0x1))[_0x467d83(0x21b)](_0x44d969=>{const _0xad2ef=_0x467d83;this['_pendingMutationConfigRenders']['delete'](_0x1d4ef0['id']),this[_0xad2ef(0x298)](_0x1d4ef0,_0x44d969);});this[_0x467d83(0x519)]['set'](_0x1d4ef0['id'],_0x4cb4c9),_0x1d4ef0['onDispose'](()=>{const _0x46b613=_0x467d83;_0x4cb4c9[_0x46b613(0x676)](),this[_0x46b613(0x519)][_0x46b613(0x4d5)](_0x1d4ef0['id']);});}[_0x3a0a20(0x298)](_0xea2528,_0x4e6000){const _0x5ac768=_0x3a0a20;let _0x177f6e=W(_0xea2528,this[_0x5ac768(0x39b)]['getDirection']());this[_0x5ac768(0x281)][_0x5ac768(0x611)](_0xea2528['id'],_0x4e6000,_0x177f6e);}};On=B([z(0x0,(0x0,t[_0x3a0a20(0x5e1)])(e[_0x3a0a20(0x285)])),z(0x1,(0x0,t[_0x3a0a20(0x5e1)])(G)),z(0x2,(0x0,t[_0x3a0a20(0x5e1)])(t[_0x3a0a20(0x350)])),z(0x3,t[_0x3a0a20(0x589)]),z(0x4,(0x0,t['Inject'])(a[_0x3a0a20(0x214)]))],On);let kn=class extends t['Disposable']{constructor(_0x210c20,_0x4c0f2e,_0xf3224a,_0x788eaf){const _0x594434=_0x3a0a20;super(),this[_0x594434(0x680)]=_0x210c20,this[_0x594434(0x5a0)]=_0x4c0f2e,this['_sheetDrawingService']=_0xf3224a,this['_chartModelService']=_0x788eaf,this['_initSheetChange']();}[_0x3a0a20(0x624)](){const _0x378063=_0x3a0a20;this[_0x378063(0x5be)](this[_0x378063(0x5a0)][_0x378063(0x463)]({'getMutations':_0x2d9483=>{const _0x51af6e=_0x378063;if(_0x2d9483['id']===p[_0x51af6e(0x345)]['id']){let _0x5f203d=(0x0,p[_0x51af6e(0x408)])(this[_0x51af6e(0x680)],_0x2d9483[_0x51af6e(0x600)]);if(!_0x5f203d)return{'redos':[],'undos':[]};let {unitId:_0x57346c,subUnitId:_0x4552fb}=_0x5f203d,_0x4d87ee=this[_0x51af6e(0x2b2)][_0x51af6e(0x500)](_0x57346c,_0x4552fb),_0x20038a=Object['values'](_0x4d87ee)[_0x51af6e(0x6b4)](_0x42ee71=>_0x42ee71[_0x51af6e(0x484)]===t[_0x51af6e(0x594)]['DRAWING_CHART']);if(_0x20038a[_0x51af6e(0x687)]===0x0)return{'redos':[],'undos':[]};let _0x2a363f=[],_0x2b56af=[];for(let _0x193ecd=0x0;_0x193ecd<_0x20038a[_0x51af6e(0x687)];_0x193ecd++){let _0x2e221d=_0x20038a[_0x193ecd],_0x244d3a=this['_chartModelService'][_0x51af6e(0x4df)](_0x2e221d['drawingId']);if(!_0x244d3a)continue;let _0x2f7a3a=_0x244d3a[_0x51af6e(0x60d)][_0x51af6e(0x68b)](),{chartType:_0x48a3e0,context:_0x1c506c,style:_0x4c85aa,dataAggregation:_0x3cc628}=_0x244d3a[_0x51af6e(0x1b6)](),{redo:_0x3a3bd8,undo:_0x1b8bdb,objects:_0x125bda}=this[_0x51af6e(0x2b2)]['getBatchRemoveOp']([_0x2e221d]);_0x2a363f[_0x51af6e(0x4cb)]({'id':e[_0x51af6e(0x264)]['id'],'params':{'unitId':_0x57346c,'subUnitId':_0x4552fb,'chartId':_0x2e221d['drawingId']}}),_0x2a363f['push']({'id':r['SetDrawingApplyMutation']['id'],'params':{'unitId':_0x57346c,'subUnitId':_0x4552fb,'type':r[_0x51af6e(0x230)][_0x51af6e(0x487)],'op':_0x3a3bd8,'objects':_0x125bda}}),_0x2b56af['push']({'id':r[_0x51af6e(0x627)]['id'],'params':{'unitId':_0x57346c,'subUnitId':_0x4552fb,'type':r[_0x51af6e(0x230)][_0x51af6e(0x2da)],'op':_0x1b8bdb,'objects':_0x125bda}}),_0x2b56af[_0x51af6e(0x4cb)]({'id':e[_0x51af6e(0x4c9)]['id'],'params':{'unitId':_0x57346c,'subUnitId':_0x4552fb,'chartId':_0x2e221d[_0x51af6e(0x635)],'chartType':_0x48a3e0,...(0x0,e[_0x51af6e(0x267)])(_0x2f7a3a),'context':_0x1c506c,'style':_0x4c85aa,'dataAggregation':_0x3cc628}});}return{'redos':_0x2a363f,'undos':_0x2b56af};}else{if(_0x2d9483['id']===p[_0x51af6e(0x415)]['id']){let {unitId:_0x147164,subUnitId:_0x21f687,targetSubUnitId:_0xd18377}=_0x2d9483[_0x51af6e(0x600)];if(!_0x147164||!_0x21f687||!_0xd18377)return{'redos':[],'undos':[]};let _0x4c6f11=this[_0x51af6e(0x2b2)][_0x51af6e(0x500)](_0x147164,_0x21f687),_0x49e59e=Object[_0x51af6e(0x570)](_0x4c6f11)['filter'](_0x567e4d=>_0x567e4d[_0x51af6e(0x484)]===t[_0x51af6e(0x594)][_0x51af6e(0x1d1)]);if(_0x49e59e['length']===0x0)return{'redos':[],'undos':[]};let _0x52256c=[],_0x30ef69=[];for(let _0x8cf091=0x0;_0x8cf091<_0x49e59e[_0x51af6e(0x687)];_0x8cf091++){let _0x520415=_0x49e59e[_0x8cf091],_0x4df193=this[_0x51af6e(0x6bb)][_0x51af6e(0x4df)](_0x520415[_0x51af6e(0x635)]);if(!_0x4df193)continue;let _0x3365f1=(0x0,t[_0x51af6e(0x459)])(),_0x926856={..._0x520415,'unitId':_0x147164,'subUnitId':_0xd18377,'drawingId':_0x3365f1},_0x543532=_0x4df193['dataSource']['getRangeInfo'](),_0x47eca4=Array['isArray'](_0x543532)?_0x543532[_0x51af6e(0x2df)](_0x54328b=>({..._0x54328b,..._0x54328b['header']?{'header':{..._0x54328b[_0x51af6e(0x49d)],'subUnitId':_0xd18377}}:{},'range':{..._0x54328b['range'],'subUnitId':_0xd18377}})):{..._0x543532,'rangeInfo':{..._0x543532[_0x51af6e(0x208)],'subUnitId':_0xd18377}},{chartType:_0x3443c9,context:_0x4d2869,style:_0x1d5964,dataAggregation:_0x3ad029}=_0x4df193[_0x51af6e(0x1b6)](),{redo:_0x1fbb3d,undo:_0x117964,objects:_0x1f2bf6}=this[_0x51af6e(0x2b2)][_0x51af6e(0x501)]([_0x926856]);_0x52256c[_0x51af6e(0x4cb)]({'id':r['SetDrawingApplyMutation']['id'],'params':{'unitId':_0x147164,'subUnitId':_0xd18377,'type':r[_0x51af6e(0x230)]['INSERT'],'op':_0x1fbb3d,'objects':_0x1f2bf6}}),_0x52256c[_0x51af6e(0x4cb)]({'id':e['InsertSheetsChartMutation']['id'],'params':{'unitId':_0x147164,'subUnitId':_0xd18377,'chartId':_0x3365f1,'chartType':_0x3443c9,...(0x0,e[_0x51af6e(0x267)])(_0x47eca4),'context':_0x4d2869,'style':_0x1d5964,'dataAggregation':_0x3ad029}}),_0x30ef69[_0x51af6e(0x4cb)]({'id':e['RemoveSheetsChartMutation']['id'],'params':{'unitId':_0x147164,'subUnitId':_0xd18377,'chartId':_0x3365f1}}),_0x30ef69[_0x51af6e(0x4cb)]({'id':r[_0x51af6e(0x627)]['id'],'params':{'unitId':_0x147164,'subUnitId':_0xd18377,'type':r[_0x51af6e(0x230)][_0x51af6e(0x487)],'op':_0x117964,'objects':_0x1f2bf6}});}return{'redos':_0x52256c,'undos':_0x30ef69};}}return{'redos':[],'undos':[]};}}));}};kn=B([z(0x0,(0x0,t[_0x3a0a20(0x5e1)])(t['IUniverInstanceService'])),z(0x1,(0x0,t['Inject'])(p[_0x3a0a20(0x698)])),z(0x2,(0x0,t['Inject'])(r['ISheetDrawingService'])),z(0x3,(0x0,t[_0x3a0a20(0x5e1)])(e[_0x3a0a20(0x285)]))],kn);const An=_0x175f6e=>t['currencySymbols']['find'](_0x29f714=>_0x175f6e['includes'](_0x29f714)),jn=_0x2c00a1=>!_0x2c00a1,Mn=_0x1e93c1=>!!An(_0x1e93c1)&&_0x1e93c1[_0x3a0a20(0x5ab)]('_('),Nn=_0x2f3185=>!!An(_0x2f3185)&&!_0x2f3185[_0x3a0a20(0x5ab)]('_('),Pn=(_0x3365c9,_0x5109db=0x0)=>{const _0x4d726a=_0x3a0a20;var _0x1f8479;return _0x3365c9?(_0x1f8479=t[_0x4d726a(0x353)][_0x4d726a(0x36c)](_0x3365c9)[_0x4d726a(0x655)])==null?_0x5109db:_0x1f8479:_0x5109db;},Fn=_0xe7df59=>Array(Math[_0x3a0a20(0x341)](Math[_0x3a0a20(0x507)](0x0,Number(_0xe7df59)),0x1e))[_0x3a0a20(0x58b)](0x0)[_0x3a0a20(0x409)](''),In=(_0x24d2d9,_0x4239d9)=>_0x24d2d9['split'](';')[_0x3a0a20(0x2df)](_0x49d36c=>/\.0?/[_0x3a0a20(0x1f0)](_0x49d36c)?_0x49d36c[_0x3a0a20(0x536)](/\.0*/g,''+(_0x4239d9>0x0?'.':'')+Fn(Number(_0x4239d9||0x0))):/0[^0]?/[_0x3a0a20(0x1f0)](_0x49d36c)?_0x49d36c[_0x3a0a20(0x536)](/0[^0]+|0$/,'0'+(_0x4239d9>0x0?'.':'')+Fn(Number(_0x4239d9||0x0))):_0x49d36c)['join'](';'),Ln=()=>et[_0x3a0a20(0x2df)](_0x4b404c=>({'label':_0x4b404c[_0x3a0a20(0x609)],'value':_0x4b404c[_0x3a0a20(0x4ad)],'color':_0x4b404c[_0x3a0a20(0x25e)]})),Rn=_0x38b31c=>Ln()[_0x3a0a20(0x1ec)](_0x2a2fa6=>(0x0,t[_0x3a0a20(0x539)])(_0x2a2fa6[_0x3a0a20(0x3e9)],_0x38b31c)),zn=()=>$e[_0x3a0a20(0x2df)](_0x128f21=>({'label':_0x128f21[_0x3a0a20(0x609)],'value':_0x128f21[_0x3a0a20(0x4ad)]})),Bn=_0x1f7269=>{const _0x57089a=_0x3a0a20;let _0x359313=t[_0x57089a(0x353)][_0x57089a(0x36c)](_0x1f7269);return zn()[_0x57089a(0x2df)](_0x4b8e4b=>_0x4b8e4b[_0x57089a(0x3e9)])['includes'](_0x1f7269)||[_0x57089a(0x62c),_0x57089a(0x4c6),'time'][_0x57089a(0x29f)](_0x359313[_0x57089a(0x5c4)]);},Vn=({handlePatternChange:_0x24a365})=>{const _0x1972e3=_0x3a0a20;let _0x3c42f5=(0x0,o[_0x1972e3(0x510)])(t['LocaleService']);return(0x0,h[_0x1972e3(0x37e)])(()=>{_0x24a365('');},[]),(0x0,v[_0x1972e3(0x523)])('div',{'className':_0x1972e3(0x1db),'children':_0x3c42f5['t'](_0x1972e3(0x310))});},Hn=({originPattern:_0xad425e,handlePatternChange:_0x5ee354})=>{const _0x38ce68=_0x3a0a20;let _0x15cb9b=(0x0,o[_0x38ce68(0x510)])(t[_0x38ce68(0x350)]),_0x122d12=t[_0x38ce68(0x371)][_0x38ce68(0x2df)](_0x5c1745=>({'label':_0x5c1745,'value':_0x5c1745})),[_0x32d391,_0x26fd4d]=(0x0,h[_0x38ce68(0x4e0)])(()=>Pn(_0xad425e||'',0x2)),[_0xce993c,_0x1999bd]=(0x0,h[_0x38ce68(0x4e0)])(()=>An(_0xad425e==null?'':_0xad425e)||_0x122d12[0x0][_0x38ce68(0x3e9)]);return(0x0,h[_0x38ce68(0x37e)])(()=>{const _0x160445=_0x38ce68;_0x5ee354(In(_0x160445(0x5fa)+_0xce993c+_0x160445(0x297)+(_0x32d391>0x0?'.0':'')+'_)',_0x32d391));},[]),(0x0,v[_0x38ce68(0x412)])(_0x38ce68(0x5e9),{'className':_0x38ce68(0x430),'children':[(0x0,v['jsxs'])(_0x38ce68(0x5e9),{'className':_0x38ce68(0x628),'children':[(0x0,v[_0x38ce68(0x412)])(_0x38ce68(0x5e9),{'className':_0x38ce68(0x1fd),'children':[(0x0,v[_0x38ce68(0x523)])(_0x38ce68(0x5e9),{'className':'univer-mb-2\x20univer-text-sm\x20univer-font-medium','children':_0x15cb9b['t']('sheets-chart-ui.dialog.numfmt.decimalPlaces')}),(0x0,v[_0x38ce68(0x523)])(f[_0x38ce68(0x45d)],{'className':'univer-box-border\x20univer-h-8','value':_0x32d391,'max':0x14,'min':0x0,'onChange':_0x2f837a=>{const _0x16417c=_0x38ce68;let _0x1fac9c=_0x2f837a==null?0x0:_0x2f837a;_0x26fd4d(_0x1fac9c),_0x5ee354(In('_(\x22'+_0xce993c+_0x16417c(0x297)+(_0x1fac9c>0x0?'.0':'')+'_)',_0x1fac9c));}})]}),(0x0,v[_0x38ce68(0x412)])('div',{'className':_0x38ce68(0x1fd),'children':[(0x0,v[_0x38ce68(0x523)])('div',{'className':_0x38ce68(0x540),'children':_0x15cb9b['t'](_0x38ce68(0x6de))}),(0x0,v[_0x38ce68(0x523)])(f[_0x38ce68(0x4c3)],{'options':_0x122d12,'value':_0xce993c,'onChange':_0x183227=>{const _0x20a59b=_0x38ce68;_0x1999bd(_0x183227),_0x5ee354(In(_0x20a59b(0x5fa)+_0x183227+_0x20a59b(0x297)+(_0x32d391>0x0?'.0':'')+'_)',_0x32d391));}})]})]}),(0x0,v[_0x38ce68(0x523)])(_0x38ce68(0x5e9),{'className':_0x38ce68(0x1db),'children':_0x15cb9b['t'](_0x38ce68(0x64b))})]});},Un=({originPattern:_0xd42a39,handlePatternChange:_0x5394ff})=>{const _0xc8b14d=_0x3a0a20;let _0x4bd11a=(0x0,o['useDependency'])(t[_0xc8b14d(0x350)]),_0x35ad5b=t[_0xc8b14d(0x371)][_0xc8b14d(0x2df)](_0x2ed4af=>({'label':_0x2ed4af,'value':_0x2ed4af})),[_0x5c2091,_0x22b512]=(0x0,h[_0xc8b14d(0x4e0)])(()=>Pn(_0xd42a39||'',0x2)),[_0xdcfd82,_0x2e7df1]=(0x0,h[_0xc8b14d(0x4e0)])(()=>An(_0xd42a39==null?'':_0xd42a39)||_0x35ad5b[0x0][_0xc8b14d(0x3e9)]),_0x5dee52=tt[_0xc8b14d(0x2df)](_0x22eb1=>({'label':_0x22eb1[_0xc8b14d(0x609)](_0xdcfd82),'value':_0x22eb1['suffix'](_0xdcfd82),'color':_0x22eb1[_0xc8b14d(0x25e)]})),[_0x299257,_0x2b8a15]=(0x0,h[_0xc8b14d(0x4e0)])(()=>{const _0x154896=_0xc8b14d;var _0x4a3c19;return((_0x4a3c19=_0x5dee52[_0x154896(0x269)](_0x1cb072=>(0x0,t['isPatternEqualWithoutDecimal'])(_0x1cb072['value'],_0xd42a39==null?'':_0xd42a39)))==null?void 0x0:_0x4a3c19[_0x154896(0x3e9)])||_0x5dee52[0x0]['value'];});return(0x0,h['useEffect'])(()=>{_0x5394ff(In(_0x299257,_0x5c2091));},[]),(0x0,v[_0xc8b14d(0x412)])(_0xc8b14d(0x5e9),{'className':_0xc8b14d(0x430),'children':[(0x0,v[_0xc8b14d(0x412)])(_0xc8b14d(0x5e9),{'className':_0xc8b14d(0x628),'children':[(0x0,v['jsxs'])(_0xc8b14d(0x5e9),{'className':_0xc8b14d(0x1fd),'children':[(0x0,v[_0xc8b14d(0x523)])(_0xc8b14d(0x5e9),{'className':_0xc8b14d(0x540),'children':_0x4bd11a['t'](_0xc8b14d(0x1a9))}),(0x0,v[_0xc8b14d(0x523)])(f[_0xc8b14d(0x45d)],{'className':_0xc8b14d(0x2f9),'value':_0x5c2091,'max':0x14,'min':0x0,'onChange':_0x2ab16c=>{_0x2ab16c&&(_0x22b512(_0x2ab16c),_0x5394ff(In(_0x299257,_0x2ab16c)));}})]}),(0x0,v[_0xc8b14d(0x412)])(_0xc8b14d(0x5e9),{'className':_0xc8b14d(0x1fd),'children':[(0x0,v[_0xc8b14d(0x523)])('div',{'className':'univer-mb-2\x20univer-text-sm\x20univer-font-medium','children':_0x4bd11a['t'](_0xc8b14d(0x6de))}),(0x0,v[_0xc8b14d(0x523)])(f[_0xc8b14d(0x4c3)],{'options':_0x35ad5b,'value':_0xdcfd82,'onChange':_0x327007=>{const _0x219dd2=_0xc8b14d;_0x2e7df1(_0x327007);let _0x2ef5e7=tt[_0x219dd2(0x2df)](_0x58c508=>({'label':_0x58c508['label'](_0x327007),'value':_0x58c508[_0x219dd2(0x4ad)](_0x327007),'color':_0x58c508[_0x219dd2(0x25e)]}));_0x2b8a15(_0x2ef5e7[0x0][_0x219dd2(0x3e9)]),_0x5394ff(In(_0x2ef5e7[0x0]['value'],_0x5c2091));}})]})]}),(0x0,v['jsxs'])('div',{'className':_0xc8b14d(0x4be),'children':[(0x0,v[_0xc8b14d(0x523)])(_0xc8b14d(0x5e9),{'className':'univer-mb-2\x20univer-text-sm\x20univer-font-medium','children':_0x4bd11a['t']('sheets-chart-ui.dialog.numfmt.negativeNumberTypes')}),(0x0,v[_0xc8b14d(0x523)])(f[_0xc8b14d(0x2fd)],{'className':(0x0,f[_0xc8b14d(0x3e7)])(_0xc8b14d(0x24c),f[_0xc8b14d(0x30c)]),'options':_0x5dee52,'value':_0x299257,'onChange':_0x54b905=>{_0x2b8a15(_0x54b905),_0x5394ff(In(_0x54b905,_0x5c2091));}}),(0x0,v[_0xc8b14d(0x523)])(_0xc8b14d(0x5e9),{'className':_0xc8b14d(0x1db),'children':_0x4bd11a['t'](_0xc8b14d(0x3f3))})]})]});},Wn=({originPattern:_0x4d9e9e,handlePatternChange:_0x2d6f02})=>{const _0x3fa8e1=_0x3a0a20;let _0x547a3f=(0x0,o['useDependency'])(t[_0x3fa8e1(0x350)]),_0x5201bd=$e['map'](_0x5bb728=>({'label':_0x5bb728[_0x3fa8e1(0x609)],'value':_0x5bb728[_0x3fa8e1(0x4ad)]})),[_0x3405fd,_0x318411]=(0x0,h[_0x3fa8e1(0x4e0)])(()=>{const _0x3037a0=_0x3fa8e1;if(_0x4d9e9e){let _0x34d49d=_0x5201bd[_0x3037a0(0x269)](_0x9cbbcd=>_0x9cbbcd[_0x3037a0(0x3e9)]===_0x4d9e9e);if(_0x34d49d)return _0x34d49d[_0x3037a0(0x3e9)];}return _0x5201bd[0x0][_0x3037a0(0x3e9)];});return(0x0,h[_0x3fa8e1(0x37e)])(()=>{_0x2d6f02(_0x3405fd);},[]),(0x0,v[_0x3fa8e1(0x523)])(_0x3fa8e1(0x5e9),{'className':'univer-mt-2.5','children':(0x0,v[_0x3fa8e1(0x412)])(_0x3fa8e1(0x5e9),{'className':_0x3fa8e1(0x4be),'children':[(0x0,v[_0x3fa8e1(0x523)])(_0x3fa8e1(0x5e9),{'className':_0x3fa8e1(0x540),'children':_0x547a3f['t'](_0x3fa8e1(0x414))}),(0x0,v[_0x3fa8e1(0x523)])(_0x3fa8e1(0x5e9),{'children':(0x0,v['jsx'])(f['SelectList'],{'className':(0x0,f[_0x3fa8e1(0x3e7)])(_0x3fa8e1(0x24c),f[_0x3fa8e1(0x30c)]),'options':_0x5201bd,'value':_0x3405fd,'onChange':_0x5e4ae5=>{_0x318411(_0x5e4ae5),_0x2d6f02(_0x5e4ae5);}})}),(0x0,v[_0x3fa8e1(0x523)])(_0x3fa8e1(0x5e9),{'className':_0x3fa8e1(0x1db),'children':_0x547a3f['t']('sheets-chart-ui.dialog.numfmt.dateDesc')})]})});},Gn=({originPattern:_0x40ee3d,handlePatternChange:_0xf534e1})=>{const _0x2d593a=_0x3a0a20;let _0x53be52=(0x0,o[_0x2d593a(0x510)])(t[_0x2d593a(0x350)]),[_0x286519,_0x29888d]=(0x0,h[_0x2d593a(0x4e0)])(()=>Pn(_0x40ee3d||'',0x0)),_0x434fb7=et[_0x2d593a(0x2df)](_0x22dca0=>({'label':_0x22dca0[_0x2d593a(0x609)],'value':_0x22dca0[_0x2d593a(0x4ad)],'color':_0x22dca0[_0x2d593a(0x25e)]})),[_0x3ac687,_0x5c1994]=(0x0,h[_0x2d593a(0x4e0)])(()=>{const _0x1f5e9a=_0x2d593a;let _0xc7b00f=_0x434fb7[_0x1f5e9a(0x269)](_0x2ed45a=>(0x0,t['isPatternEqualWithoutDecimal'])(_0x2ed45a[_0x1f5e9a(0x3e9)],_0x40ee3d||''));return(_0xc7b00f==null?void 0x0:_0xc7b00f[_0x1f5e9a(0x3e9)])||_0x434fb7[0x0][_0x1f5e9a(0x3e9)];});return(0x0,h[_0x2d593a(0x37e)])(()=>{_0xf534e1(In(_0x3ac687,Number(_0x286519||0x0)));},[]),(0x0,v[_0x2d593a(0x412)])(_0x2d593a(0x5e9),{'className':_0x2d593a(0x430),'children':[(0x0,v['jsx'])(_0x2d593a(0x5e9),{'className':_0x2d593a(0x628),'children':(0x0,v[_0x2d593a(0x412)])(_0x2d593a(0x5e9),{'className':_0x2d593a(0x1fd),'children':[(0x0,v[_0x2d593a(0x523)])(_0x2d593a(0x5e9),{'className':_0x2d593a(0x540),'children':_0x53be52['t'](_0x2d593a(0x1a9))}),(0x0,v['jsx'])(f['InputNumber'],{'className':_0x2d593a(0x2f9),'value':_0x286519,'max':0x14,'min':0x0,'onChange':_0x1879bb=>{_0x1879bb&&(_0x29888d(_0x1879bb),_0xf534e1(In(_0x3ac687,Number(_0x1879bb))));}})]})}),(0x0,v[_0x2d593a(0x412)])('div',{'className':_0x2d593a(0x4be),'children':[(0x0,v[_0x2d593a(0x523)])(_0x2d593a(0x5e9),{'className':_0x2d593a(0x540),'children':_0x53be52['t']('sheets-chart-ui.dialog.numfmt.negativeNumberTypes')}),(0x0,v['jsx'])(f['SelectList'],{'className':(0x0,f[_0x2d593a(0x3e7)])(_0x2d593a(0x24c),f['scrollbarClassName']),'options':_0x434fb7,'value':_0x3ac687,'onChange':_0x48decb=>{_0x29888d(Pn(_0x48decb,0x0)),_0x5c1994(_0x48decb),_0xf534e1(_0x48decb);}}),(0x0,v[_0x2d593a(0x523)])(_0x2d593a(0x5e9),{'className':_0x2d593a(0x1db),'children':_0x53be52['t'](_0x2d593a(0x30f))})]})]});},Kn=({originPattern:_0x2e89bd,onPatternApply:_0x33a6b3})=>{const _0x50a83e=_0x3a0a20;let _0x3b1206=(0x0,o[_0x50a83e(0x510)])(t[_0x50a83e(0x350)]),_0x3fad29=(0x0,o['useDependency'])(o['IDialogService']),_0x1e1320=(0x0,h['useMemo'])(()=>[{'label':_0x50a83e(0x666),'component':Vn,'key':_0x50a83e(0x1be)},{'label':_0x50a83e(0x291),'component':Hn,'key':_0x50a83e(0x251)},{'label':_0x50a83e(0x3df),'component':Un,'key':_0x50a83e(0x43c)},{'label':_0x50a83e(0x20a),'component':Wn,'key':'sheet.numfmt.date'},{'label':'sheets-chart-ui.dialog.numfmt.thousandthPercentile','component':Gn,'key':_0x50a83e(0x1fc)}][_0x50a83e(0x2df)](_0x3faa33=>({..._0x3faa33,'label':_0x3b1206['t'](_0x3faa33[_0x50a83e(0x609)])})),[_0x3b1206]),_0x90944b=_0x5b7ec8=>[jn,Mn,Nn,Bn,Rn][_0x50a83e(0x2cd)]((_0xdbc943,_0x802c2b,_0x16dc1d)=>_0xdbc943||(_0x802c2b(_0x5b7ec8==null?'':_0x5b7ec8)?_0x1e1320[_0x16dc1d][_0x50a83e(0x423)]:void 0x0),void 0x0)||_0x1e1320[0x0][_0x50a83e(0x423)],_0x1be024=_0x1e1320[_0x50a83e(0x2df)](_0xebdbe5=>({'label':_0xebdbe5[_0x50a83e(0x609)],'value':_0xebdbe5[_0x50a83e(0x423)]})),[_0x7b641b,_0x1c89ad]=(0x0,h['useState'])(()=>_0x90944b(_0x2e89bd)),[_0x26e61a,_0x3703a0]=(0x0,h['useState'])(_0x2e89bd),_0x423eef=_0x4669d7=>_0x3703a0(_0x4669d7),_0x300430=_0x12750b=>{_0x1c89ad(_0x12750b);};return(0x0,h[_0x50a83e(0x37e)])(()=>{let _0x1dbba5=_0x90944b(_0x2e89bd);_0x1dbba5!==_0x7b641b&&_0x1c89ad(_0x1dbba5),_0x2e89bd!==_0x26e61a&&_0x3703a0(_0x2e89bd);},[_0x2e89bd]),(0x0,v[_0x50a83e(0x412)])(_0x50a83e(0x5e9),{'children':[(0x0,v['jsx'])(_0x50a83e(0x5e9),{'className':_0x50a83e(0x3a5),'children':_0x3b1206['t'](_0x50a83e(0x3c8))}),(0x0,v[_0x50a83e(0x523)])(_0x50a83e(0x5e9),{'children':(0x0,v[_0x50a83e(0x523)])(f['Select'],{'className':_0x50a83e(0x485),'onChange':_0x2dc641=>_0x300430(_0x2dc641),'options':_0x1be024,'value':_0x7b641b})}),(0x0,v['jsxs'])(_0x50a83e(0x5e9),{'className':_0x50a83e(0x4be),'children':[_0x7b641b===_0x50a83e(0x1be)&&(0x0,v['jsx'])(Vn,{'originPattern':_0x2e89bd,'handlePatternChange':_0x423eef}),_0x7b641b===_0x50a83e(0x251)&&(0x0,v[_0x50a83e(0x523)])(Hn,{'originPattern':_0x2e89bd,'handlePatternChange':_0x423eef}),_0x7b641b===_0x50a83e(0x43c)&&(0x0,v[_0x50a83e(0x523)])(Un,{'originPattern':_0x2e89bd,'handlePatternChange':_0x423eef}),_0x7b641b===_0x50a83e(0x3ea)&&(0x0,v[_0x50a83e(0x523)])(Wn,{'originPattern':_0x2e89bd,'handlePatternChange':_0x423eef}),_0x7b641b===_0x50a83e(0x1fc)&&(0x0,v['jsx'])(Gn,{'originPattern':_0x2e89bd,'handlePatternChange':_0x423eef})]}),(0x0,v[_0x50a83e(0x412)])(_0x50a83e(0x5e9),{'className':_0x50a83e(0x24d),'children':[(0x0,v['jsx'])(f[_0x50a83e(0x6e2)],{'onClick':()=>{const _0x42b5ef=_0x50a83e;_0x3fad29[_0x42b5ef(0x389)](nt);},'children':_0x3b1206['t'](_0x50a83e(0x23f))}),(0x0,v['jsx'])(f[_0x50a83e(0x6e2)],{'className':_0x50a83e(0x4d4),'variant':_0x50a83e(0x637),'onClick':()=>{_0x33a6b3&&_0x33a6b3(_0x26e61a),_0x3fad29['close'](nt);},'children':_0x3b1206['t'](_0x50a83e(0x387))})]})]});};let qn=class extends t['Disposable']{constructor(_0x4204bd,_0x1aaff8){const _0x38d8aa=_0x3a0a20;super(),this['_componentManager']=_0x4204bd,this[_0x38d8aa(0x324)]=_0x1aaff8,this['_registerIcons'](),this[_0x38d8aa(0x4b8)]();}[_0x3a0a20(0x657)](){const _0x3bd602=_0x3a0a20;this[_0x3bd602(0x5be)](this['_iconManager']['register']({'ChartIcon':g['ChartIcon'],'AreaChartIcon':g[_0x3bd602(0x67e)],'BarChartIcon':g[_0x3bd602(0x6bd)],'ColumnChartIcon':g[_0x3bd602(0x524)],'ComboChartIcon':g[_0x3bd602(0x482)],'LineChartIcon':g['LineChartIcon'],'PenIcon':g['PenIcon'],'PieChartIcon':g['PieChartIcon'],'RadarChartIcon':g['RadarChartIcon'],'ScatterChartIcon':g[_0x3bd602(0x6a3)],'FunnelIcon':g[_0x3bd602(0x5f0)],'CloudIcon':g['CloudOutlineIcon'],'BubbleIcon':g['BubbleIcon'],'RelationshipIcon':g[_0x3bd602(0x675)],'WaterfallChartIcon':g[_0x3bd602(0x5d8)],'SankeyChartIcon':g[_0x3bd602(0x5fb)],'HeatmapChartIcon':g[_0x3bd602(0x5da)],'BoxplotIcon':g[_0x3bd602(0x385)]}));}[_0x3a0a20(0x4b8)](){const _0x66a8c4=_0x3a0a20;[[Qt,Zt],[rt,Kn]][_0x66a8c4(0x462)](([_0x4b787b,_0x32d752])=>{const _0x48e597=_0x66a8c4;this[_0x48e597(0x5be)](this[_0x48e597(0x4bd)][_0x48e597(0x50a)](_0x4b787b,_0x32d752));});}};qn=B([z(0x0,(0x0,t[_0x3a0a20(0x5e1)])(o['ComponentManager'])),z(0x1,(0x0,t[_0x3a0a20(0x5e1)])(o['IconManager']))],qn);let Jn=class extends t[_0x3a0a20(0x68e)]{constructor(_0x40e492,_0x44a71b,_0x101d5e,_0x395500){const _0x239831=_0x3a0a20;super(),this[_0x239831(0x33a)]=_0x40e492,this['_sheetClipboardService']=_0x44a71b,this[_0x239831(0x2b2)]=_0x101d5e,this[_0x239831(0x6bb)]=_0x395500,k(this,_0x239831(0x4da),void 0x0),this[_0x239831(0x4d3)]();}get[_0x3a0a20(0x3bd)](){const _0x5d440b=_0x3a0a20;return this[_0x5d440b(0x2b2)][_0x5d440b(0x204)]();}['_initCopyPaste'](){const _0x406367=_0x3a0a20;this[_0x406367(0x5be)](this[_0x406367(0x1b4)][_0x406367(0x63f)]({'id':e[_0x406367(0x6b0)],'onBeforeCopy':(_0x13c44d,_0xe3d3d7,_0x5212d2,_0x52ed24)=>{const _0xaab2cd=_0x406367;this[_0xaab2cd(0x4da)]=null;let _0x1dffc1=this[_0xaab2cd(0x3bd)];if(_0x1dffc1['length']){let _0xc74d8e=_0x1dffc1[_0xaab2cd(0x6b4)](_0x1479a2=>_0x1479a2[_0xaab2cd(0x484)]===t[_0xaab2cd(0x594)]['DRAWING_CHART']);if(_0xc74d8e['length']===0x0)return;this[_0xaab2cd(0x4da)]={'unitId':_0x13c44d,'subUnitId':_0xe3d3d7,'copyType':_0x52ed24,'drawings':_0xc74d8e};}else this[_0xaab2cd(0x28a)](_0x13c44d,_0xe3d3d7,_0x5212d2,_0x52ed24);},'onPasteCells':(_0x4b6b89,_0x2b9233,_0x1e15f3,_0x43a854)=>{const _0xe82778=_0x406367;if(!this['_copyInfo'])return{'redos':[],'undos':[]};let {pasteType:_0x210474}=_0x43a854;return _0x210474===a['PREDEFINED_HOOK_NAME']['DEFAULT_PASTE']?this[_0xe82778(0x396)](_0x2b9233,this['_copyInfo']['copyType']===a[_0xe82778(0x1e6)][_0xe82778(0x2e6)]):{'redos':[],'undos':[]};},'onPasteUnrecognized':_0x18b747=>this[_0x406367(0x4da)]?this['_generatePasteMutations'](_0x18b747,this[_0x406367(0x4da)][_0x406367(0x31a)]===a[_0x406367(0x1e6)][_0x406367(0x2e6)]):{'redos':[],'undos':[]}}));}[_0x3a0a20(0x28a)](_0x3409c0,_0x24f2ea,_0xac9d08,_0x1279c5){const _0x36911a=_0x3a0a20;let _0x4faf15=this[_0x36911a(0x33a)][_0x36911a(0x300)](_0x3409c0,_0x24f2ea);if(!_0x4faf15)return;let _0x496231=(0x0,p[_0x36911a(0x22d)])(_0x4faf15,_0xac9d08);if(!_0x496231)return;let {startX:_0x115bd6,endX:_0x2e0d6b,startY:_0x1dfc75,endY:_0x192b4c}=_0x496231,_0x37b770=this[_0x36911a(0x2b2)][_0x36911a(0x500)](_0x3409c0,_0x24f2ea),_0xceefc4=this[_0x36911a(0x3bd)][_0x36911a(0x244)]();for(let [_0x233088,_0x41f123]of Object[_0x36911a(0x552)](_0x37b770)){if(_0x41f123[_0x36911a(0x484)]!==t[_0x36911a(0x594)][_0x36911a(0x1d1)])continue;let {transform:_0x355e69}=_0x41f123;if(!_0x355e69)continue;let {left:_0x25bd1c=0x0,top:_0x24327a=0x0,width:_0x3f9bdc=0x0,height:_0x4aefc0=0x0}=_0x355e69;_0x115bd6<=_0x25bd1c&&_0x2e0d6b>=_0x25bd1c+_0x3f9bdc&&_0x1dfc75<=_0x24327a&&_0x192b4c>=_0x24327a+_0x4aefc0&&_0xceefc4['push'](_0x41f123);}_0xceefc4[_0x36911a(0x687)]>0x0&&(this[_0x36911a(0x4da)]={'unitId':_0x3409c0,'subUnitId':_0x24f2ea,'copyType':_0x1279c5,'copyRange':_0xac9d08,'drawings':_0xceefc4});}['_generatePasteMutations'](_0x4c11e4,_0x2ff0a2){const _0x711f00=_0x3a0a20;let {unitId:_0x35f56a,subUnitId:_0x53600a,range:_0x272cf4}=_0x4c11e4,_0x74a3e0=this[_0x711f00(0x33a)][_0x711f00(0x300)](_0x35f56a,_0x53600a);if(!_0x74a3e0)return{'redos':[],'undos':[]};let _0x4df6c2=(0x0,p[_0x711f00(0x314)])(_0x272cf4),{unitId:_0x17aaf3,subUnitId:_0x4e67b8,copyRange:_0x3687df,drawings:_0x2c354b}=this['_copyInfo'],_0x2733e2=this[_0x711f00(0x33a)][_0x711f00(0x300)](_0x17aaf3,_0x4e67b8);if(!_0x2733e2)return{'redos':[],'undos':[]};let _0x17c251=[],_0x45e336=[];for(let _0x5924e2 of _0x2c354b){let {drawingId:_0x2a6c9c,transform:_0x1a639e,sheetTransform:_0x5ab1a8}=_0x5924e2,_0x282e66=this[_0x711f00(0x6bb)][_0x711f00(0x4df)](_0x2a6c9c);if(!_0x282e66||!_0x1a639e||!_0x5ab1a8)continue;let _0x3390a5=this[_0x711f00(0x52f)]({'transform':_0x1a639e,'sheetTransform':_0x5ab1a8},{'skeleton':_0x2733e2,'range':_0x3687df},{'skeleton':_0x74a3e0,'range':_0x4df6c2});if(_0x2ff0a2){let {redos:_0x1637aa,undos:_0x3af002}=this['_generateCutPasteMutations']({'fromUnitId':_0x17aaf3,'fromSubUnitId':_0x4e67b8,'toUnitId':_0x35f56a,'toSubUnitId':_0x53600a,'drawing':_0x5924e2,'newTransforms':_0x3390a5},_0x282e66);_0x17c251[_0x711f00(0x4cb)](..._0x1637aa),_0x45e336['push'](..._0x3af002);continue;}let {redos:_0x3a67df,undos:_0x60416b}=this['_generateCopyPasteMutations']({'toUnitId':_0x35f56a,'toSubUnitId':_0x53600a,'drawing':_0x5924e2,'newTransforms':_0x3390a5},_0x282e66);_0x17c251[_0x711f00(0x4cb)](..._0x3a67df),_0x45e336[_0x711f00(0x4cb)](..._0x60416b);}return{'redos':_0x17c251,'undos':_0x45e336};}['_generateCutPasteMutations'](_0x2ef4c8,_0x505da4){const _0x11148f=_0x3a0a20;let {fromUnitId:_0xa32b66,fromSubUnitId:_0x521c71,toUnitId:_0x27ed58,toSubUnitId:_0x4c62c4,drawing:_0xbfc6f,newTransforms:_0x3934d8}=_0x2ef4c8,_0x54b689={..._0xbfc6f,'unitId':_0x27ed58,'subUnitId':_0x4c62c4,'transform':_0x3934d8['transform'],'sheetTransform':_0x3934d8['sheetTransform']};if(_0x27ed58===_0xa32b66&&_0x4c62c4===_0x521c71){let {redo:_0x4006ce,undo:_0x514e4d,objects:_0x171adf}=this[_0x11148f(0x2b2)]['getBatchUpdateOp']([_0x54b689]);return{'redos':[{'id':r[_0x11148f(0x627)]['id'],'params':{'unitId':_0x27ed58,'subUnitId':_0x4c62c4,'type':r[_0x11148f(0x230)]['UPDATE'],'op':_0x4006ce,'objects':_0x171adf}}],'undos':[{'id':r[_0x11148f(0x627)]['id'],'params':{'unitId':_0x27ed58,'subUnitId':_0x4c62c4,'type':r[_0x11148f(0x230)][_0x11148f(0x252)],'op':_0x514e4d,'objects':_0x171adf}}]};}else{let _0x50817e=this['_sheetDrawingService'][_0x11148f(0x24e)]([_0xbfc6f]),_0x8cf168=this['_sheetDrawingService']['getBatchAddOp']([_0x54b689]),_0x4e3547=_0x505da4[_0x11148f(0x60d)][_0x11148f(0x68b)](),{chartType:_0x35e5b5,context:_0x199995,style:_0x180d51,dataAggregation:_0x579d56}=_0x505da4[_0x11148f(0x1b6)]();return{'redos':[{'id':r[_0x11148f(0x627)]['id'],'params':{'unitId':_0xa32b66,'subUnitId':_0x521c71,'type':r[_0x11148f(0x230)][_0x11148f(0x487)],'op':_0x50817e['redo'],'objects':_0x50817e['objects']}},{'id':e[_0x11148f(0x264)]['id'],'params':{'unitId':_0xa32b66,'subUnitId':_0x521c71,'chartId':_0xbfc6f[_0x11148f(0x635)]}},{'id':r[_0x11148f(0x627)]['id'],'params':{'unitId':_0x27ed58,'subUnitId':_0x4c62c4,'type':r[_0x11148f(0x230)][_0x11148f(0x2da)],'op':_0x8cf168[_0x11148f(0x5cb)],'objects':_0x8cf168[_0x11148f(0x226)]}},{'id':e['InsertSheetsChartMutation']['id'],'params':{'unitId':_0x27ed58,'subUnitId':_0x4c62c4,'chartId':_0xbfc6f[_0x11148f(0x635)],'chartType':_0x35e5b5,...(0x0,e['toInsertChartMutationSource'])(_0x4e3547),'context':_0x199995,'style':_0x180d51,'dataAggregation':_0x579d56}}],'undos':[{'id':r[_0x11148f(0x627)]['id'],'params':{'unitId':_0xa32b66,'subUnitId':_0x521c71,'type':r[_0x11148f(0x230)]['INSERT'],'op':_0x50817e['undo'],'objects':_0x50817e[_0x11148f(0x226)]}},{'id':e['InsertSheetsChartMutation']['id'],'params':{'unitId':_0xa32b66,'subUnitId':_0x521c71,'chartId':_0xbfc6f[_0x11148f(0x635)],'chartType':_0x35e5b5,...(0x0,e['toInsertChartMutationSource'])(_0x4e3547),'context':_0x199995,'style':_0x180d51,'dataAggregation':_0x579d56}},{'id':r[_0x11148f(0x627)]['id'],'params':{'unitId':_0x27ed58,'subUnitId':_0x4c62c4,'type':r[_0x11148f(0x230)][_0x11148f(0x487)],'op':_0x8cf168['undo'],'objects':_0x8cf168[_0x11148f(0x226)]}},{'id':e[_0x11148f(0x264)]['id'],'params':{'unitId':_0x27ed58,'subUnitId':_0x4c62c4,'chartId':_0xbfc6f[_0x11148f(0x635)]}}]};}}['_generateCopyPasteMutations'](_0x340cce,_0x5d8f38){const _0x40516e=_0x3a0a20;let {toUnitId:_0x365fc1,toSubUnitId:_0x1cc977,drawing:_0x113c0e,newTransforms:_0x1d3009}=_0x340cce,_0x4d3cd7=(0x0,t[_0x40516e(0x459)])(),_0x756f17={..._0x113c0e,'unitId':_0x365fc1,'subUnitId':_0x1cc977,'drawingId':_0x4d3cd7,'transform':_0x1d3009[_0x40516e(0x2af)],'sheetTransform':_0x1d3009[_0x40516e(0x4fc)]},{redo:_0x238912,undo:_0x34456e,objects:_0x1b4d88}=this[_0x40516e(0x2b2)]['getBatchAddOp']([_0x756f17]),_0x33d021=_0x5d8f38['dataSource'][_0x40516e(0x68b)](),{chartType:_0x1af475,context:_0x401cbd,style:_0x3d7ccd,dataAggregation:_0x525d8e}=_0x5d8f38[_0x40516e(0x1b6)]();return{'redos':[{'id':r[_0x40516e(0x627)]['id'],'params':{'unitId':_0x365fc1,'subUnitId':_0x1cc977,'type':r[_0x40516e(0x230)][_0x40516e(0x2da)],'op':_0x238912,'objects':_0x1b4d88}},{'id':e[_0x40516e(0x4c9)]['id'],'params':{'unitId':_0x365fc1,'subUnitId':_0x1cc977,'chartId':_0x4d3cd7,'chartType':_0x1af475,...(0x0,e[_0x40516e(0x267)])(_0x33d021),'context':_0x401cbd,'style':_0x3d7ccd,'dataAggregation':_0x525d8e}}],'undos':[{'id':r[_0x40516e(0x627)]['id'],'params':{'unitId':_0x365fc1,'subUnitId':_0x1cc977,'type':r['DrawingApplyType'][_0x40516e(0x487)],'op':_0x34456e,'objects':_0x1b4d88}},{'id':e[_0x40516e(0x264)]['id'],'params':{'unitId':_0x365fc1,'subUnitId':_0x1cc977,'chartId':_0x4d3cd7}}]};}[_0x3a0a20(0x52f)](_0x19d996,_0x43874f,_0x76353a){const _0x540085=_0x3a0a20;var _0x523336;let {range:_0x3678ff,skeleton:_0x497e8f}=_0x43874f,{range:_0xa5f424,skeleton:_0x469b73}=_0x76353a,{transform:_0x369e8c,sheetTransform:_0x1b86ae}=_0x19d996,_0x186657={..._0x369e8c};if(_0x3678ff){let _0xd52bb7=(0x0,p[_0x540085(0x22d)])(_0x497e8f,_0x3678ff),_0x49026e=(0x0,p[_0x540085(0x22d)])(_0x469b73,_0xa5f424);if(_0xd52bb7&&_0x49026e){var _0x3aaba4,_0x573832;let _0x2a76e8=_0x49026e[_0x540085(0x2ae)]-_0xd52bb7['startX'],_0xcf6b60=_0x49026e[_0x540085(0x450)]-_0xd52bb7[_0x540085(0x450)];_0x186657[_0x540085(0x445)]=((_0x3aaba4=_0x186657[_0x540085(0x445)])==null?0x0:_0x3aaba4)+_0x2a76e8,_0x186657[_0x540085(0x1c4)]=((_0x573832=_0x186657[_0x540085(0x1c4)])==null?0x0:_0x573832)+_0xcf6b60;}}else{let _0x11d06e=(0x0,p[_0x540085(0x22d)])(_0x469b73,_0xa5f424);_0x186657[_0x540085(0x445)]=_0x11d06e==null?void 0x0:_0x11d06e[_0x540085(0x2ae)],_0x186657[_0x540085(0x1c4)]=_0x11d06e==null?void 0x0:_0x11d06e[_0x540085(0x450)];}return{'transform':_0x186657,'sheetTransform':(_0x523336=(0x0,r[_0x540085(0x1c9)])(_0x186657,_0x469b73))==null?_0x1b86ae:_0x523336};}};Jn=B([z(0x0,(0x0,t[_0x3a0a20(0x5e1)])(p[_0x3a0a20(0x20e)])),z(0x1,(0x0,t['Inject'])(a[_0x3a0a20(0x25a)])),z(0x2,(0x0,t[_0x3a0a20(0x5e1)])(r[_0x3a0a20(0x20d)])),z(0x3,(0x0,t[_0x3a0a20(0x5e1)])(e[_0x3a0a20(0x285)]))],Jn);let Yn=class extends t['Disposable']{constructor(_0x50e52c,_0x576ce4,_0x128f55,_0x1db8be){const _0x20bbe2=_0x3a0a20;super(),this[_0x20bbe2(0x1d2)]=_0x50e52c,this[_0x20bbe2(0x39b)]=_0x576ce4,this['_sheetPermissionCheckController']=_0x128f55,this['_sheetsChartService']=_0x1db8be,this['_initPermission']();}[_0x3a0a20(0x5b5)](){const _0x253f3c=_0x3a0a20;this['disposeWithMe'](this[_0x253f3c(0x1d2)][_0x253f3c(0x39d)](_0x161589=>{const _0x19dc81=_0x253f3c;let _0x161ba5,_0xb9323e;if(_0x161589['id']===e[_0x19dc81(0x6d0)]['id']){let _0x23d071=_0x161589[_0x19dc81(0x600)];_0x161ba5=_0x23d071[_0x19dc81(0x5d2)],_0xb9323e=_0x23d071[_0x19dc81(0x650)];}else{if(_0x161589['id']===e[_0x19dc81(0x3f5)]['id']||_0x161589['id']===e[_0x19dc81(0x572)]['id']){let _0x45ac20=_0x161589[_0x19dc81(0x600)];_0x161ba5=_0x45ac20['unitId'],_0xb9323e=this[_0x19dc81(0x444)]['getSubUnitId'](_0x45ac20[_0x19dc81(0x5d2)],_0x45ac20[_0x19dc81(0x4b1)]);}}!_0x161ba5||!_0xb9323e||this[_0x19dc81(0x46e)]['permissionCheckWithoutRange']({'workbookTypes':[p[_0x19dc81(0x3fe)]],'worksheetTypes':[p[_0x19dc81(0x550)]]},_0x161ba5,_0xb9323e)||this[_0x19dc81(0x46e)]['blockExecuteWithoutPermission'](this['_localeService']['t']('sheets-chart-ui.permission.editErr'));}));}};Yn=B([z(0x0,(0x0,t[_0x3a0a20(0x5e1)])(t['ICommandService'])),z(0x1,(0x0,t[_0x3a0a20(0x5e1)])(t[_0x3a0a20(0x350)])),z(0x2,(0x0,t[_0x3a0a20(0x5e1)])(p[_0x3a0a20(0x2e4)])),z(0x3,(0x0,t[_0x3a0a20(0x5e1)])(e[_0x3a0a20(0x3de)]))],Yn);let Xn=class extends t[_0x3a0a20(0x1ed)]{constructor(_0x215de3=x,_0x54e270,_0x581527,_0x395c4d){const _0x33385a=_0x3a0a20;super(),this[_0x33385a(0x265)]=_0x215de3,this['_injector']=_0x54e270,this[_0x33385a(0x39f)]=_0x581527,this[_0x33385a(0x1d2)]=_0x395c4d,k(this,_0x33385a(0x464),void 0x0);let {..._0xd5acc9}=(0x0,t[_0x33385a(0x6a9)])({},x,this[_0x33385a(0x265)]);this['_resolvedConfig']=_0xd5acc9,this[_0x33385a(0x39f)][_0x33385a(0x248)](b,_0xd5acc9),this[_0x33385a(0x25f)](),(0x0,c['registerWordCloudChart'])(c[_0x33385a(0x533)]);}[_0x3a0a20(0x62a)](){const _0x42d8df=_0x3a0a20;this[_0x42d8df(0x3b8)][_0x42d8df(0x4c0)]([qn]),this[_0x42d8df(0x3b8)][_0x42d8df(0x4bb)](qn);let _0xbd9c7f=this[_0x42d8df(0x3b8)],_0xb24aa5=[[be,{'useClass':xe}],[H,{'useClass':te}],[I],[G],[en],[Dn],[On],[Jn],[kn],[Yn]],_0x5d7aff=[[en],[On],[Dn],[be],[Jn],[kn],[Yn]];this['_resolvedConfig'][_0x42d8df(0x51d)]&&(_0xb24aa5[_0x42d8df(0x4cb)]([En]),_0x5d7aff[_0x42d8df(0x4cb)]([En])),_0xb24aa5[_0x42d8df(0x462)](_0x39dd48=>_0xbd9c7f[_0x42d8df(0x4c0)](_0x39dd48)),(0x0,t[_0x42d8df(0x368)])(this[_0x42d8df(0x3b8)],_0x5d7aff);}[_0x3a0a20(0x424)](){const _0x42d0de=_0x3a0a20;var _0x51f5ed;(_0x51f5ed=this[_0x42d0de(0x3b8)]['get'](en))==null||_0x51f5ed[_0x42d0de(0x521)]();}['_initCommands'](){const _0x123107=_0x3a0a20;[J,ie,ae,oe,se,C,S]['forEach'](_0xe60836=>this['disposeWithMe'](this['_commandService'][_0x123107(0x320)](_0xe60836)));}};k(Xn,_0x3a0a20(0x5c4),t[_0x3a0a20(0x4bc)][_0x3a0a20(0x275)]),k(Xn,_0x3a0a20(0x44a),'UniverSheetsChartUIPlugin'),k(Xn,_0x3a0a20(0x4c7),tn),k(Xn,_0x3a0a20(0x1a0),nn),Xn=B([(0x0,t['DependentOn'])(d['UniverChartUIPlugin'],y['UniverLicensePlugin'],i[_0x3a0a20(0x4b6)],e[_0x3a0a20(0x35b)]),z(0x1,(0x0,t[_0x3a0a20(0x5e1)])(t['Injector'])),z(0x2,t[_0x3a0a20(0x22b)]),z(0x3,t[_0x3a0a20(0x589)])],Xn),exports[_0x3a0a20(0x4ca)]=be,exports[_0x3a0a20(0x3d0)]=b,Object['defineProperty'](exports,_0x3a0a20(0x330),{'enumerable':!0x0,'get':function(){return en;}}),exports[_0x3a0a20(0x45a)]=ve,Object[_0x3a0a20(0x1e2)](exports,_0x3a0a20(0x413),{'enumerable':!0x0,'get':function(){return xe;}}),Object[_0x3a0a20(0x1e2)](exports,'UniverSheetsChartUIPlugin',{'enumerable':!0x0,'get':function(){return Xn;}}),exports['resolveChartEditPanelRoute']=yn;
|
|
1
|
+
const _0x2c7e3b=_0x389a;(function(_0x1600fe,_0x36a054){const _0x13c0e8=_0x389a,_0x3044bf=_0x1600fe();while(!![]){try{const _0x1955ab=parseInt(_0x13c0e8(0x47d))/0x1+parseInt(_0x13c0e8(0x3d9))/0x2+-parseInt(_0x13c0e8(0x1f7))/0x3+parseInt(_0x13c0e8(0x2cd))/0x4+-parseInt(_0x13c0e8(0x424))/0x5+-parseInt(_0x13c0e8(0x3c0))/0x6*(-parseInt(_0x13c0e8(0x43c))/0x7)+-parseInt(_0x13c0e8(0x3fa))/0x8*(parseInt(_0x13c0e8(0x24d))/0x9);if(_0x1955ab===_0x36a054)break;else _0x3044bf['push'](_0x3044bf['shift']());}catch(_0x51380c){_0x3044bf['push'](_0x3044bf['shift']());}}}(_0x3861,0x6d58f),Object[_0x2c7e3b(0x493)](exports,Symbol[_0x2c7e3b(0x3b2)],{'value':_0x2c7e3b(0x35b)}));let e=require('@univerjs-pro/sheets-chart'),t=require('@univerjs/core'),n=require('@univerjs/drawing'),r=require('@univerjs/sheets-drawing'),i=require('@univerjs/sheets-drawing-ui'),a=require('@univerjs/sheets-ui'),o=require('@univerjs/ui'),s=require('rxjs'),c=require('@univerjs-pro/engine-chart'),l=require('@univerjs/drawing-ui'),u=require('@univerjs/engine-render'),d=require('@univerjs-pro/chart-ui'),f=require('@univerjs/sheets'),p=require('@univerjs/engine-formula'),m=require('react'),h=require('@univerjs/design'),g=require('@univerjs/sheets-formula-ui'),_=require('react/jsx-runtime'),v=require('@univerjs-pro/license'),ee=require('@univerjs/icons');const y=_0x2c7e3b(0x3b7),b={'enableChartElementFloatMenu':!0x0},x={'type':t[_0x2c7e3b(0x494)][_0x2c7e3b(0x229)],'id':_0x2c7e3b(0x357),'handler'(){return!0x0;}},S={'type':t[_0x2c7e3b(0x494)][_0x2c7e3b(0x229)],'id':_0x2c7e3b(0x2c2),'handler'(){return!0x0;}};function C(_0x5b9074,_0x4caea9=0x1){const _0x552d1d=_0x2c7e3b;return{'width':Math['max'](_0x4caea9,_0x5b9074[_0x552d1d(0x363)]),'height':Math['max'](_0x4caea9,_0x5b9074['height'])};}function w(_0x2ca7ba,_0x235591={},_0x281510={'left':0x0,'top':0x0}){const _0xccdccf=_0x2c7e3b;let _0x1819ac=_0x235591['scaleX']??0x1,_0x4b2533=_0x235591[_0xccdccf(0x475)]??0x1,_0x59fe6a=d[_0xccdccf(0x4a7)][_0xccdccf(0x30d)]({'logicalOuterRect':{'left':-_0x281510[_0xccdccf(0x276)],'top':-_0x281510[_0xccdccf(0x43e)],...C(_0x2ca7ba)},'scale':{'scaleX':_0x1819ac,'scaleY':_0x4b2533},'hostStyle':{},'contentMode':d[_0xccdccf(0x3f3)][_0xccdccf(0x2b7)]});return{'left':_0x59fe6a[_0xccdccf(0x414)][_0xccdccf(0x276)],'top':_0x59fe6a[_0xccdccf(0x414)][_0xccdccf(0x43e)],'width':_0x59fe6a[_0xccdccf(0x414)][_0xccdccf(0x363)],'height':_0x59fe6a['logicalOuterRect'][_0xccdccf(0x412)],'scaleX':_0x1819ac,'scaleY':_0x4b2533};}function _0x3861(){const _0x65ae2d=['label','ChartModelService','toStringTag','_frameStyle','removeChartModel','attachRangeWithCoord','SHEETS_CHART_PLUGIN_NAME','sheets-chart-ui.config','getDirection','ChartThemeField','offsetWidth','transformToDrawingPosition','sheetDisposed$','sheets-chart-ui.section.relation','visible','chartTypeCanUseTrendLine','19860htsENL','naturalWidth','_getSceneAndTransformerByDrawingSearch','multiply','trendline','remove$','redo','UniverChartUIPlugin','getCanvasElement','innerWidth','isFinite','activeChartModel','href','sheet.command.chart.open-focused-panel','clientWidth','isElementEditModeActive','createRuntimeChartStyle','copyType','entries','resolveChartEditPanelRoute','_deactivateEditPanelState','set','opacity','_addWatermark','ChartSectionAccordionContent','1418188MORCoY','_getOrCreateChartRenderInstance','image','getBatchAddOp','ChartUpdateSourceCommand','_setChartRuntimeZIndex','pipe','assignStyle','removeHost$','IconManager','chartModelId','sheetTransform','_config','sheets-chart-ui.common.category','constructor','UPDATE','some','getSheetBySheetName','_registerChartImageRenderObjectFactory','initPanel','Pareto','src','auto','resourceCollector','isInGroup','from','ChartFrameContentMode','jsxs','_createImageChartHost','getOwnPropertyDescriptor','strokeWidth','resolveChartStyleBackgroundColor','drawWith','16696fDppiZ','ParetoBarSeries','ChartViewStateRegistry','SheetCopyCommand','UniverSheetsChartUIPlugin','params','Rect','Candlestick','children','color','_snapshotStore','WordCloud','get','getConfig','DEFAULT_CHART_HEATMAP_VALUES','getName','sheets-chart-ui.common.chartAndAxisTitles','getTransformerByCreate','Heatmap','_chartEventSubscriptions','fromEvent','executeChartUpdateConfig','subscribe','_getCurrentSnapshotImage','height','registerProvider','logicalOuterRect','Observable','iterator','_panelRoute$','_sheetsChartUIService','unitId','checkChartCanRender','resize','sidebarOptions$','min','getSheetId','_pendingMutationConfigRenders','_rangeSelectMode','SheetCanvasFloatDomManagerService','top-center','.chart-host','1100480rAHXyT','_sheetInterceptorService','chartTypeSupportsCapability','header','_chartRenderService','CopySheetCommand','ISheetDrawingService','startRow','clear','mergeMenu','string','_snapshotKey','ChartFunnelStyleSection','ChartCommonDataMappingSection','syncLayout','combineLatest','RemoveSheetsChartMutation','sheets-chart-ui.common.exportImage','MenuItemType','initialRect','_getImage','Combination','Treemap','getInterceptPoints','1470rSGjXS','ChartTypeField','top','getDrawingShapeKeyByDrawingSearch','markHostNotReady','RENDER_CLASS_TYPE','CopyDoubleIcon','_activeDomReadyChartIds','setBorder','_resolvedConfig','slice','univer-overflow-visible','Sankey','drawingId','ChartSectionAccordionItem','getObject','_configService','sheets-chart-ui.waterfall.negative','with','_getChartSnapshotKey','heatmap','_setHostStyle','Relation','univer-flex\x20univer-flex-col\x20univer-gap-3','resolveDefaultChartHostFrameStyle','getFloatDomInfo','getRenderColor','_executeChartUpdateSourceConfig','SetDrawingApplyMutation','useDependency','getRect','ChartAndAxisTitles','addClipboardHook','route','ChartTypeBits','click','_openPanel','useState','columnPercentStacked','isArray','rangeInfo','add$','url','Disposable','useMemo','asObservable','BehaviorSubject','_generateCopyPasteMutations','dataSource','getRuntimeContext','bottom','applyPoint','getCurrentUnitOfType','_getFloatDomInfo','setActiveEditChart','Boxplot','groupId','scaleY','_sheetDrawingService','ObjectType','div','clearRuntimeCache','function','Subtotal','Waterfall','353620VoRCts','createIdentifier','chartId','clearImage','forEach','getBoundingClientRect','Legend','clientX','activeChartModel$','_injector','_resolveLayout','ChartSeriesSection','style$','_requestPaint','syncHostLayout','UNIVER_SHEET','DEFAULT_CHART_RADAR_VALUES','_drawingManagerService','beforeCommandExecuted','pointerEvents','_drawChartImage','decorate','defineProperty','CommandType','generateRandomId','IDrawingManagerService','ChartEditorProvider','_setActiveChart','add','DEFAULT_CHART_WATERFALL_SETUP_VALUES','_initCopyPaste','throttleTime','darkMode$','isLatest','objects','render','range','hidePanel','chartModelAdded$','useEffect','register','_chartInstanceMap','ChartFrameLayout','_commandService','ImageChartHost','chartBitsUtils','_openEditPanelByDoubleClick','ChartTitlesSection','setObjectType','_resizeChart','ChartTypeSpecificDataSection','getFocusedUnit','ChartStyle','_chartSnapshotStoreService','ParetoLineSeries','_focusedDrawings','1.0.0-beta.0','has','zIndex','focused$','ChartSectionAccordion','_themeService','_chartUIService','ChartRenderMode','titleKey','value','Chord','dom','_createHost','_adapterRegistry','blockExecuteWithoutPermission','sheet.chart.edit.panel','position$','SheetCanvasPopManagerService','delete','sheets-chart-ui.common.switchRowColumn','removeHost','hit','ChartWaterfallStyleSection','_listenChartUpdateMutations','CanvasFloatDomService','setActiveChartModel','CHART_ELEMENT_FLOAT_MENU_COMPONENT','sheets-chart-ui.common.hideChartPanel','_rect','_selectedElement$','serializeRangeWithSheet','_init','featurePluginGroupUpdate$','isManaged','Style','_univerInstanceService','ChartEditPanelTab','getSheetCommandTarget','sheet-chart-setup-panel','_domFrame','clip','_popupChartId','_renderAfterChartUpdateMutation','executeCommand','_savedWrapperStyle','Area','Inject','getDrawingByParam','ICommandService','DownloadImageIcon','setProps','UniverLicensePlugin','sheets-chart-element-float-menu','sheets-chart-ui.chartTypes.','LocaleService','COPY_TYPE','activeRuntimeModel','nextVersion','lineAndArea','symbol','activeEditChart$','ChartStyleSection','RightVerticalAxis','drawingType','RemoveSheetDrawingCommand','sheets-chart-ui.common.legend','getBatchRemoveOp','panelRoute$','sheets-chart-ui.section.histogram','getActiveSheet','DrawingApplyType','DependentOn','onDispose','ChartParetoSeriesSection','debounce','DEFAULT_CHART_FUNNEL_VALUES','_urlImage','Bar','_renderChartModel','chartImageSourceToDataUrl','push','_canvasFloatDomService','_requestChartCanvasRender','activeEditChart','indexOf','SheetSkeletonManagerService','ChartGridlinesAndTicksSection','IMenuManagerService','Url','startY','getObjectIncludeInGroup','startColumn','crossOrigin','getDrawingOrder','_draw','_getDrawable','Button','_createCopyInfoByRange','prototype','Plugin','_sidebarService','renderChartsForPrinting','sheets-chart-ui.common.useAsCategoryLabels','complete','combineLatestWith','rect','engine','imageBitmap','startWith','then','DRAWING_OBJECT_LAYER_INDEX','Line','ChartEditBlockTitle','_sheetsChartService','buildChartTypeSelectOptions','sheet.command.chart.delete-focused-chart','setImage','inactive-sheet','getElementById','INSERT','_chartHostProviderService','moveTo','object','serialize','ChartStackField','pareto','BUTTON','map','DEFAULT_CHART_SERIES_VALUES','1294641IdeCYU','getUnit','_initActiveChartModelListener','UniverSheetsChartPlugin','rightYAxis','_handleDrawingDoubleClick','sheets-chart-ui.common.editChart','TRANSFORM_CHANGE_OBSERVABLE_TYPE','_registerComponents','RemoveSheetCommand','getSkeleton','PieSecondaryPlotType','Canceled\x20waiting\x20for\x20float\x20dom\x20host\x20\x22','_clearChartRuntimeCache','SheetChartBuilderAdapter','clearPanelRoute','_renderWhenConfigReady','UniverSheetsPlugin','getRangeInfo','segmented','innerHeight','_drawChartFrame','_image','_shouldEnableChartElementEdit','ChartRadarStyleSection','sheets-chart-ui.common.customize','EChartRenderEngineName','getChartPopupMenus','GROUP','setConfig','_pendingHost','sheets-chart-ui.section.funnel','_clearHiddenSelectedTarget','_pendingToken','RibbonInsertGroup','REMOVE','DEFAULT_CHART_TITLE_VALUES','_registerAdapter','dispose','canvas','name','default','PieStyle','invert','InsertSheetsChartMutation','radius','sheets-chart-ui.common.setup','_disposeChartEventSubscription','ChartEditorCapability','setDataRange','OPERATION','number','anonymous','sheets-chart-ui.section.candlestick','createChartInstance','classType','small','scroll','getValue','ChartWaterfallStyleTarget','UniverSheetsDrawingPlugin','touchDependencies','scaleX','_sheetClipboardService','focusDrawing','_isChartElementEditEnabled','sheet.command.chart.export-focused-image','_chartRenderMode','_createChartRenderInstanceContext','Subject','getImage','.png','sheets-chart-ui.section.treemap','Funnel','DrawingTypeEnum','_getPlacement','sheets-chart-ui.section.indicatorLine','#-#','DeleteIcon','sheets-chart-ui.common.insertChart','sheets-chart-ui.common.deleteChart','Image','dblclick','isHit','_waiter','ChartThemeService','5805QiSuUr','CONTEXT_MENU','ChartImageSourceType','hidden','enableChartElementFloatMenu','_clearSelectedTarget','indicatorLine','_applyActiveChartRuntimeZIndex','direction$','Sunburst','_sheetSkeletonService','seriesId','markUnmanaged','ChartHostRenderMode','ChartIndicatorLineSection','concat','localPoint','_sheetCanvasFloatDomManagerService','UniverRenderEnginePlugin','_initActiveRuntimeLayerListener','_lastActiveSheet','scale','univer-flex\x20univer-flex-col\x20univer-gap-3\x20univer-pb-5','Scatter','_registerIcons','_managed','clientHeight','transform','CHART','_renderModelManager','_createPrintingChartObject','ensureHost','_getHostPlacement','InsertChartCommand','activeSheet$','Timed\x20out\x20waiting\x20for\x20float\x20dom\x20host\x20\x22','ImageBitmap','offsetTop','every','ChartHeatmapStyleSection','getRenderModel','left','bounds','sheets-chart-ui.host.provider','setElementEditMode','getMenuHiddenObservable','markNotReady','cumulativeLineStyle','scene','useChartEditorHasRightAxis','getDrawingData','endsWith','version','CHART_HOST_BORDER_RADIUS','_chartHostProvider','sheet.command.menu-insert-chart','_entries','_markHostReady','focus$','_chartElementEditMode','_applyHostStyle','ISheetClipboardService','SheetSkeletonService','take','pie','_sheetCanvasPopManagerService','transformChange$','deriveStateFromActiveSheet$','sheets-chart-ui.section.pie','merge','Radar','useChartEditorChartType','viewBound','allSeriesStyle','interceptor','selectedElement$','IndicatorLine','_resetChartRuntimeZIndex','getRenderUnitById','FOCUSING_COMMON_DRAWINGS','ChartTypeSpecificSetupSection','_componentManager','_chartHostMap','naturalHeight','sheets-chart-ui.section.paretoBar','exportImage','makeDirty','getAllowedChartTypes','getBatchUpdateOp','onCommandExecuted','ChartRelationStyleSection','Axes','subscribeEvent','SheetInterceptorService','setSelectedElement','chartObject','sheets-chart-ui.section.gauge','keys','lineTo','_markReady','_version','_bindChartEventHandler','createElement','_initPermission','PRINTING_COMPONENT_COLLECT','_chartThemeService','Overlay','pieSecondaryPlotType','legend','_bindChartEventHandlers','WorkbookEditablePermission','_disposed','PREDEFINED_HOOK_NAME','DEFAULT_CHART_WATERFALL_STYLE_VALUES','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','_resolveChartRenderMode','closePath','sheet.operation.open-chart-panel','_initPrinting','category','attachPopupToDynamicAbsolutePosition','sheets-chart-ui.common.dataRange','isRowDirection','_disposeChartEventSubscriptions','openChartPanelById','OTHERS','getHostSize','getRealBound','2751324NVxyfO','IUniverInstanceService','ISidebarService','updateFloatDom','Data','restore','_debounceHandle','clearChart','_activateHostWrapper','_isProviderDisposed','_shouldSuppressSnapshot','LineAndArea','_updateTransform','registerFeatureMenu','sheet-chart-style-panel','setHostStyle','Fragment','_initMenus','contains','Series','section','setRangeSelectMode','_sheetPermissionCheckController','_rerenderLatest','mode','defaultValues','cancel','DataOrientation','checkHost','clientY','COMMAND','all','sheets-chart-ui.section.sunburst','abs','IContextService','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-flex\x20univer-h-0\x20univer-min-h-full\x20univer-w-full\x20univer-flex-col\x20univer-bg-white\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dark:!univer-bg-gray-900\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','Injector','CUT','sheets-chart-ui.common.horizontalAxis','unsubscribe','_menuManagerService','PenIcon','_getChartRenderObject','setPanelRoute','items','iconName','relation','SheetPrintInterceptorService','nativeEvent','ThemeService','insertGroupObject','getChartModel','Gauge','bind','baseOn','IConfigService','values','startX','anchorRect$','sheets-chart-ui.common.trendline','ChartHostAdapter','config','addObject','sheets-chart-ui.waterfall.subtotal','resolve','_popupDisposable','_closePopup','takeSnapshot','target','offsetHeight','RTLChartStyle','_url','setStyle','_chartModelService','_disposeChartDomInstance','mountNode','chartModelRemoved$','_renderDebounceMap','axis','_generatePasteMutations','Positive','series','rightY','disposeWithMe','_chartEventHandlers','_restoreHostWrapper','sheets-chart-ui.section.gridlinesAndTicks','ChartWaterfallSetupFields','onStarting','allSettled','open','SheetsChartUIController','MenuManagerPosition','rangeSelectMode','Fail\x20to\x20create\x20float\x20dom','onTransformChange$','create','split','hasOwnProperty','_removeHost$','right','commitSnapshot','ancestorTransform','chartType','DisposableCollection','SHEETS_CHART_UI_PLUGIN_CONFIG_KEY','SheetsChartUIService','SHEET_CHART_RENDER_OBJECT_CONFIG','UniverInstanceType','config$','waterfall','VerticalAxis','toInsertChartMutationSource','Dom','DEFAULT_PASTE','ChartSectionAccordionTrigger','checkMounted','transparent','IDrawingContextMenuService','sheets-chart-ui.permission.editErr','ChartNumberFormatAtom','getCurrentTypeOfUnit$','sheets-chart-ui.common.series','domId','_disposeChartRenderInstance','_lastRenderInputMap','missing-active-sheet','1000','waterfallStyle','ChartDomFrame','_sidebarDisposable','featurePluginUngroupUpdate$','UniverSheetsUIPlugin','labelId','getMatrix','style','isDomReady','HorizontalAxis','sheet.operation.hide-chart-panel','_initDrawingDeactivationListener','ChartAxisSection','arc','Module','_localeService','radar','_clearSheetChartRuntimeCaches','ContextMenuGroup','ChartElementFloatMenuAdapterRegistry','missing-float-dom','Row','width','Pie','setOrientation','update','invalidateSnapshot','subUnitId','_initSheetChange','ChartEditPanelSection','sheets-chart-ui.waterfall.positive','onRendered','setContextValue','parent','useObservable','close','_sheetPrintInterceptorService','call','_debounceHandleMap','_copyInfo','packageName','ensureHandle','_markNotReady','_getChartRenderSkipReason','filter','chartRenderMode','_renderManagerService','_openFloatMenu','Histogram','Column','getUnitId','toPrimitive','_contextService','DRAWING_CHART','GridlinesAndTicks','ChartUpdateConfigCommand','DEFAULT_CHART_WORD_CLOUD_VALUES','next','undo','-univer-mx-4','sheets-chart-ui.section.radar','showFloatMenu','max','UniverDrawingPlugin','download','handleActiveSubUnitChange','requestPaint','interceptCommand','_getOuterRect','GeneralSeries','DEFAULT_CHART_AXIS_VALUES','toDisposable','_activeChartId','_hostStyle','columnStacked','blur','ChartEditPanel','permissionCheckWithoutRange','SheetsChartService','save','SHEETS_CHART_PLUGIN_CONFIG_KEY','_activeEditChart$','type','parentElement','resolveChartRuntimeStyle','ChartWordCloudStyleSection','_generateCutPasteMutations','_getOrCreateSheetChartHost','translate','_cancelHostWait','chartTypeSupportsLineAndAreaStyle','DEFAULT_CHART_RELATION_VALUES','RangeSelector','_getChartRenderObjectContext','length','_cancelDebouncedCallbacks','exportImg','jsx','sheets-chart-ui.common.openChartPanel'];_0x3861=function(){return _0x65ae2d;};return _0x3861();}function T(_0x1a2082){'@babel/helpers - typeof';const _0x3263f8=_0x2c7e3b;return T=typeof Symbol=='function'&&typeof Symbol[_0x3263f8(0x416)]=='symbol'?function(_0xadd945){return typeof _0xadd945;}:function(_0x132596){const _0x1658c8=_0x3263f8;return _0x132596&&typeof Symbol==_0x1658c8(0x47a)&&_0x132596[_0x1658c8(0x3e7)]===Symbol&&_0x132596!==Symbol[_0x1658c8(0x1d8)]?_0x1658c8(0x1b1):typeof _0x132596;},T(_0x1a2082);}function te(_0x51a152,_0x4a09b6){const _0x3e1b3e=_0x2c7e3b;if(T(_0x51a152)!=_0x3e1b3e(0x1f0)||!_0x51a152)return _0x51a152;var _0x55deec=_0x51a152[Symbol[_0x3e1b3e(0x380)]];if(_0x55deec!==void 0x0){var _0x4e9730=_0x55deec['call'](_0x51a152,_0x4a09b6||_0x3e1b3e(0x220));if(T(_0x4e9730)!='object')return _0x4e9730;throw TypeError(_0x3e1b3e(0x2bf));}return(_0x4a09b6===_0x3e1b3e(0x42e)?String:Number)(_0x51a152);}function ne(_0x2387cf){const _0x24ebac=_0x2c7e3b;var _0x559977=te(_0x2387cf,_0x24ebac(0x42e));return T(_0x559977)==_0x24ebac(0x1b1)?_0x559977:_0x559977+'';}function E(_0x2bf549,_0x2b75d1,_0x20cd8a){const _0x55c40b=_0x2c7e3b;return(_0x2b75d1=ne(_0x2b75d1))in _0x2bf549?Object[_0x55c40b(0x493)](_0x2bf549,_0x2b75d1,{'value':_0x20cd8a,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x2bf549[_0x2b75d1]=_0x20cd8a,_0x2bf549;}function _0x389a(_0x281a76,_0x1112e2){_0x281a76=_0x281a76-0x183;const _0x386108=_0x3861();let _0x389a8e=_0x386108[_0x281a76];return _0x389a8e;}function re(_0x4f0146){const _0x23f61c=_0x2c7e3b;switch(_0x4f0146['type']){case c['ChartImageSourceType']['Canvas']:return _0x4f0146[_0x23f61c(0x21e)];case c['ChartImageSourceType'][_0x23f61c(0x271)]:return _0x4f0146['imageBitmap'];default:return;}}var ie=class extends u[_0x2c7e3b(0x400)]{constructor(_0x5cabff,_0x196e73,_0x56187d,_0x26385f=()=>!0x1,_0x15beec=()=>{}){const _0x4b15d6=_0x2c7e3b;super(_0x5cabff,{..._0x196e73,'evented':_0x196e73['evented']??!0x0}),this[_0x4b15d6(0x438)]=_0x56187d,this['_shouldSuppressSnapshot']=_0x26385f,this['_disposeImage']=_0x15beec,E(this,'_urlImage',null),E(this,'_url',null),this[_0x4b15d6(0x4ad)](u[_0x4b15d6(0x477)][_0x4b15d6(0x269)]);}[_0x2c7e3b(0x21d)](){const _0x4d03ed=_0x2c7e3b;this['_disposeImage'](),super[_0x4d03ed(0x21d)]();}[_0x2c7e3b(0x4a0)](_0x1008d7,_0x5e9cba){const _0x214302=_0x2c7e3b;if(!this[_0x214302(0x3be)])return this[_0x214302(0x2a3)](!0x1),this;if(!this[_0x214302(0x268)])return this;let {width:_0x1e32d0,height:_0x209382,left:_0x343eb4,top:_0x294ec0}=this[_0x214302(0x2cc)]();if(this['isRender'](_0x5e9cba)){let {top:_0x381180,left:_0x57e73d,bottom:_0xf5ea1c,right:_0x1b2cc4}=_0x5e9cba[_0x214302(0x295)];if(_0x1e32d0+this[_0x214302(0x3f7)]+_0x343eb4<_0x57e73d||_0x1b2cc4<_0x343eb4||_0x209382+this['strokeWidth']+_0x294ec0<_0x381180||_0xf5ea1c<_0x294ec0)return this;}let _0x4e4f87=this[_0x214302(0x268)]['getMatrix']();_0x1008d7['save']();let _0x419cc3=_0x343eb4+_0x1e32d0/0x2,_0x5789bc=_0x294ec0+_0x209382/0x2;return _0x1008d7[_0x214302(0x268)](_0x4e4f87[0x0],_0x4e4f87[0x1],_0x4e4f87[0x2],_0x4e4f87[0x3],_0x419cc3,_0x5789bc),this[_0x214302(0x3d6)]!==0x1&&(_0x1008d7['globalAlpha']=this[_0x214302(0x3d6)]),this[_0x214302(0x1d4)](_0x1008d7,void 0x0,_0x1e32d0,_0x209382),_0x1008d7[_0x214302(0x2d2)](),this[_0x214302(0x2a3)](!0x1),this;}['_draw'](_0x8bd36a,_0xd1db37,_0x507f35=this[_0x2c7e3b(0x363)],_0x140657=this[_0x2c7e3b(0x412)]){const _0x3fa57f=_0x2c7e3b;this[_0x3fa57f(0x20c)](_0x8bd36a,_0x507f35,_0x140657,{'stroke':void 0x0,'strokeWidth':0x0}),this['_drawChartImage'](_0x8bd36a,_0x507f35,_0x140657),this[_0x3fa57f(0x20c)](_0x8bd36a,_0x507f35,_0x140657,{'fill':void 0x0});}[_0x2c7e3b(0x20c)](_0x244bfe,_0x285642,_0x3df4c1,_0x28801e){const _0x37cacd=_0x2c7e3b;_0x244bfe[_0x37cacd(0x39c)](),_0x244bfe[_0x37cacd(0x3a5)](-_0x285642/0x2,-_0x3df4c1/0x2),u[_0x37cacd(0x400)][_0x37cacd(0x3f9)](_0x244bfe,ae(this,_0x285642,_0x3df4c1,_0x28801e)),_0x244bfe['restore']();}[_0x2c7e3b(0x24a)](_0x54e8ff){const _0x4914fd=_0x2c7e3b;let {left:_0x26e8b4,top:_0xe69ffd,width:_0x31b963,height:_0x63468c}=this[_0x4914fd(0x2cc)](),_0x338e22=_0x26e8b4+_0x31b963/0x2,_0x4c731e=_0xe69ffd+_0x63468c/0x2,_0x20ee11=this[_0x4914fd(0x268)][_0x4914fd(0x353)](),_0x4c9664=new u['Transform']([_0x20ee11[0x0],_0x20ee11[0x1],_0x20ee11[0x2],_0x20ee11[0x3],_0x338e22,_0x4c731e]),_0x489f0a=this['getParent'](),_0x263679=(this[_0x4914fd(0x3f1)]&&(_0x489f0a==null?void 0x0:_0x489f0a[_0x4914fd(0x22e)])===u[_0x4914fd(0x441)][_0x4914fd(0x213)]?_0x489f0a[_0x4914fd(0x333)][_0x4914fd(0x3c3)](_0x4c9664):_0x4c9664)[_0x4914fd(0x222)]()[_0x4914fd(0x46f)](_0x54e8ff),_0x1100f8=_0x31b963/0x2,_0x33552a=_0x63468c/0x2;return _0x263679['x']>=-_0x1100f8-this[_0x4914fd(0x3f7)]/0x2&&_0x263679['x']<=_0x1100f8+this[_0x4914fd(0x3f7)]/0x2&&_0x263679['y']>=-_0x33552a-this['strokeWidth']/0x2&&_0x263679['y']<=_0x33552a+this[_0x4914fd(0x3f7)]/0x2;}[_0x2c7e3b(0x491)](_0x575e78,_0x4462b6,_0x492cbe){const _0x2bccd7=_0x2c7e3b;if(this[_0x2bccd7(0x2d7)]())return;let _0x1dd3cb=this[_0x2bccd7(0x438)](),_0x28d1ae=_0x1dd3cb?this[_0x2bccd7(0x1d5)](_0x1dd3cb):void 0x0;if(!_0x28d1ae)return;let {width:_0xfebfb,height:_0xbf2921}=C({'width':_0x4462b6,'height':_0x492cbe},0x0);_0xfebfb!==0x0&&_0xbf2921!==0x0&&(_0x575e78[_0x2bccd7(0x39c)](),_0x575e78[_0x2bccd7(0x3a5)](-_0x4462b6/0x2,-_0x492cbe/0x2),oe(_0x575e78,_0xfebfb,_0xbf2921,this[_0x2bccd7(0x224)]),_0x575e78[_0x2bccd7(0x19e)](),_0x575e78['drawImage'](_0x28d1ae,0x0,0x0,_0xfebfb,_0xbf2921),_0x575e78[_0x2bccd7(0x2d2)]());}[_0x2c7e3b(0x1d5)](_0x2a638d){const _0x5f2df8=_0x2c7e3b;var _0x1f2d9c;let _0x270f1f=re(_0x2a638d);if(_0x270f1f)return _0x270f1f;if(_0x2a638d[_0x5f2df8(0x39f)]===c['ChartImageSourceType'][_0x5f2df8(0x1ce)]&&(this['_url']!==_0x2a638d[_0x5f2df8(0x466)]&&(this[_0x5f2df8(0x314)]=_0x2a638d[_0x5f2df8(0x466)],this['_urlImage']=document[_0x5f2df8(0x2b3)]('img'),this[_0x5f2df8(0x1c2)][_0x5f2df8(0x1d2)]=_0x5f2df8(0x22b),this[_0x5f2df8(0x1c2)]['onload']=()=>this[_0x5f2df8(0x2a3)](!0x0),this['_urlImage'][_0x5f2df8(0x3ee)]=_0x2a638d[_0x5f2df8(0x466)]),(_0x1f2d9c=this[_0x5f2df8(0x1c2)])!=null&&_0x1f2d9c[_0x5f2df8(0x1dd)]&&this['_urlImage'][_0x5f2df8(0x3c1)]>0x0&&this[_0x5f2df8(0x1c2)][_0x5f2df8(0x2a0)]>0x0))return this[_0x5f2df8(0x1c2)];}};function ae(_0x2da2a1,_0x24ba8d,_0x37c4aa,_0x15d1e4){const _0x51e3de=_0x2c7e3b;let _0x54e9b6=Object[_0x51e3de(0x32d)](_0x2da2a1);return Object['defineProperty'](_0x54e9b6,_0x51e3de(0x363),{'value':_0x24ba8d}),Object[_0x51e3de(0x493)](_0x54e9b6,_0x51e3de(0x412),{'value':_0x37c4aa}),Object[_0x51e3de(0x2ae)](_0x15d1e4)['forEach'](_0x525dfa=>{const _0xac3be3=_0x51e3de;Object[_0xac3be3(0x493)](_0x54e9b6,_0x525dfa,{'value':_0x15d1e4[_0x525dfa]});}),_0x54e9b6;}function oe(_0x2c0b97,_0x4b5121,_0x115e64,_0x569cba){const _0x3063b5=_0x2c7e3b;let _0x3c331a=Math[_0x3063b5(0x41d)](_0x569cba||0x0,_0x4b5121/0x2,_0x115e64/0x2);if(_0x2c0b97['beginPath'](),!_0x3c331a){_0x2c0b97[_0x3063b5(0x1df)](0x0,0x0,_0x4b5121,_0x115e64),_0x2c0b97[_0x3063b5(0x2c1)]();return;}_0x2c0b97[_0x3063b5(0x1ef)](_0x3c331a,0x0),_0x2c0b97[_0x3063b5(0x2af)](_0x4b5121-_0x3c331a,0x0),_0x2c0b97[_0x3063b5(0x35a)](_0x4b5121-_0x3c331a,_0x3c331a,_0x3c331a,Math['PI']*0x3/0x2,0x0,!0x1),_0x2c0b97['lineTo'](_0x4b5121,_0x115e64-_0x3c331a),_0x2c0b97['arc'](_0x4b5121-_0x3c331a,_0x115e64-_0x3c331a,_0x3c331a,0x0,Math['PI']/0x2,!0x1),_0x2c0b97[_0x3063b5(0x2af)](_0x3c331a,_0x115e64),_0x2c0b97[_0x3063b5(0x35a)](_0x3c331a,_0x115e64-_0x3c331a,_0x3c331a,Math['PI']/0x2,Math['PI'],!0x1),_0x2c0b97[_0x3063b5(0x2af)](0x0,_0x3c331a),_0x2c0b97['arc'](_0x3c331a,_0x3c331a,_0x3c331a,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x2c0b97[_0x3063b5(0x2c1)]();}function D(_0x59816f){const _0x437b83=_0x2c7e3b;(_0x59816f==null?void 0x0:_0x59816f[_0x437b83(0x39f)])===c[_0x437b83(0x24f)]['ImageBitmap']&&_0x59816f[_0x437b83(0x1e1)][_0x437b83(0x370)]();}function O(_0x652aeb){const _0x16793d=_0x2c7e3b;return _0x652aeb[_0x16793d(0x419)]+'#-#'+_0x652aeb[_0x16793d(0x368)]+_0x16793d(0x244)+_0x652aeb[_0x16793d(0x47f)];}var se=class extends t[_0x2c7e3b(0x467)]{constructor(..._0x5e12a4){const _0x166a9c=_0x2c7e3b;super(..._0x5e12a4),E(this,_0x166a9c(0x285),new Map());}[_0x2c7e3b(0x1af)](_0x4c27a6){const _0x48dfef=_0x2c7e3b;let _0x467d40=O(_0x4c27a6),_0x4a7ce8=this[_0x48dfef(0x285)][_0x48dfef(0x406)](_0x467d40)??{'version':0x0};return _0x4a7ce8[_0x48dfef(0x281)]+=0x1,this[_0x48dfef(0x285)][_0x48dfef(0x3d5)](_0x467d40,_0x4a7ce8),_0x4a7ce8[_0x48dfef(0x281)];}[_0x2c7e3b(0x49e)](_0x45e693,_0x500f40){const _0x3c902d=_0x2c7e3b;var _0x2013ac;return((_0x2013ac=this[_0x3c902d(0x285)]['get'](O(_0x45e693)))==null?void 0x0:_0x2013ac[_0x3c902d(0x281)])===_0x500f40;}[_0x2c7e3b(0x1ea)](_0x25ab02,_0x2c7d19,_0x2eed89){const _0x17fb45=_0x2c7e3b;if(!this[_0x17fb45(0x49e)](_0x25ab02,_0x2eed89))return D(_0x2c7d19),!0x1;let _0xe9df9=O(_0x25ab02),_0xeb460b=this['_entries'][_0x17fb45(0x406)](_0xe9df9)??{'version':_0x2eed89},_0x1642dc=_0xeb460b['image'];return _0xeb460b[_0x17fb45(0x3db)]=_0x2c7d19,_0xeb460b[_0x17fb45(0x281)]=_0x2eed89,this['_entries'][_0x17fb45(0x3d5)](_0xe9df9,_0xeb460b),_0x1642dc!==_0x2c7d19&&D(_0x1642dc),!0x0;}[_0x2c7e3b(0x23d)](_0x241c77){const _0x43edc8=_0x2c7e3b;var _0x2a7dfd;return(_0x2a7dfd=this[_0x43edc8(0x285)][_0x43edc8(0x406)](O(_0x241c77)))==null?void 0x0:_0x2a7dfd[_0x43edc8(0x3db)];}[_0x2c7e3b(0x480)](_0x2a1c59){const _0x1bd504=_0x2c7e3b;let _0x2ad7de=O(_0x2a1c59),_0x30c849=this[_0x1bd504(0x285)]['get'](_0x2ad7de);_0x30c849&&(D(_0x30c849['image']),this[_0x1bd504(0x285)][_0x1bd504(0x188)](_0x2ad7de));}[_0x2c7e3b(0x2d4)](_0x168c71){const _0x53c16b=_0x2c7e3b;for(let [_0x386ebf,_0x19c962]of this['_entries'])_0x386ebf[_0x53c16b(0x280)](_0x53c16b(0x244)+_0x168c71)&&(D(_0x19c962[_0x53c16b(0x3db)]),this['_entries'][_0x53c16b(0x188)](_0x386ebf));}['dispose'](){const _0x5c6ba3=_0x2c7e3b;this[_0x5c6ba3(0x285)][_0x5c6ba3(0x481)](_0x1e811f=>D(_0x1e811f[_0x5c6ba3(0x3db)])),this['_entries'][_0x5c6ba3(0x42c)](),super[_0x5c6ba3(0x21d)]();}};function ce(_0x5c536d,_0x3ffd04=0x7d0){let _0x4abd94=null,_0x411daa=null,_0x410faa=!0x1,_0x1c958e=()=>{},_0x53c348=()=>{_0x4abd94!=null&&(clearInterval(_0x4abd94),_0x4abd94=null),_0x411daa!=null&&(clearTimeout(_0x411daa),_0x411daa=null);};return{'promise':new Promise((_0x36077f,_0x1a8ed1)=>{_0x1c958e=_0x1a8ed1;let _0x409dfb=()=>{const _0x3936eb=_0x389a;let _0xd52610=document[_0x3936eb(0x1ec)](_0x5c536d);!_0xd52610||_0x410faa||(_0x410faa=!0x0,_0x53c348(),_0x36077f(_0xd52610));};_0x409dfb(),!_0x410faa&&(_0x4abd94=setInterval(_0x409dfb,16.666666666666668),_0x411daa=setTimeout(()=>{const _0x17a9ec=_0x389a;_0x410faa||(_0x410faa=!0x0,_0x53c348(),_0x1a8ed1(Error(_0x17a9ec(0x270)+_0x5c536d+'\x22.')));},_0x3ffd04));}),'cancel':()=>{const _0xf80bfa=_0x389a;_0x410faa||(_0x410faa=!0x0,_0x53c348(),_0x1c958e(Error(_0xf80bfa(0x203)+_0x5c536d+'\x22.')));}};}var le=class extends t[_0x2c7e3b(0x467)]{constructor(_0x46a9a1,_0x180a41,_0x417869,_0x307e5f,_0x2338af,_0xa37d6c,_0x3728b4){const _0x4674a0=_0x2c7e3b;super(),this[_0x4674a0(0x47f)]=_0x46a9a1,this[_0x4674a0(0x471)]=_0x180a41,this[_0x4674a0(0x242)]=_0x417869,this[_0x4674a0(0x451)]=_0x307e5f,this[_0x4674a0(0x2d6)]=_0x2338af,this[_0x4674a0(0x2b0)]=_0xa37d6c,this[_0x4674a0(0x377)]=_0x3728b4,E(this,_0x4674a0(0x2e5),c['ChartHostRenderMode'][_0x4674a0(0x33e)]),E(this,_0x4674a0(0x19d),null),E(this,_0x4674a0(0x266),!0x1),E(this,_0x4674a0(0x218),null),E(this,'_pendingHost',null),E(this,'_waiter',null),E(this,_0x4674a0(0x396),{}),E(this,'_savedWrapperStyle',null);}[_0x2c7e3b(0x197)](){const _0x13af08=_0x2c7e3b;return this[_0x13af08(0x266)];}['markUnmanaged'](){const _0x5e3e04=_0x2c7e3b;this[_0x5e3e04(0x266)]=!0x1;}[_0x2c7e3b(0x45a)](){const _0x25a6b0=_0x2c7e3b;let _0x49d49e=this[_0x25a6b0(0x242)]();return _0x49d49e?{'width':_0x49d49e[_0x25a6b0(0x363)],'height':_0x49d49e[_0x25a6b0(0x412)]}:null;}['setStyle'](_0x5b101d){const _0x59da06=_0x2c7e3b;this[_0x59da06(0x396)]=_0x5b101d,this[_0x59da06(0x451)](_0x5b101d),this[_0x59da06(0x289)]();}async[_0x2c7e3b(0x376)](){const _0x4d8dc8=_0x2c7e3b;if(this[_0x4d8dc8(0x2bc)]||this[_0x4d8dc8(0x2d6)]())throw Error('Fail\x20to\x20create\x20float\x20dom');let _0x465e2b=this['_getFloatDomInfo'](),_0x463a78=(_0x465e2b==null?void 0x0:_0x465e2b[_0x4d8dc8(0x348)])??this[_0x4d8dc8(0x47f)],_0x191f97=document['getElementById'](_0x463a78);if(this[_0x4d8dc8(0x19d)]&&_0x191f97!=null&&_0x191f97[_0x4d8dc8(0x2df)](this[_0x4d8dc8(0x19d)]['mountNode']))return{'mountNode':this['_domFrame']['mountNode'],'dispose':()=>{const _0x537dbf=_0x4d8dc8;this[_0x537dbf(0x21d)](),_0x465e2b==null||_0x465e2b[_0x537dbf(0x21d)][_0x537dbf(0x21d)]();}};if(this[_0x4d8dc8(0x215)])return this[_0x4d8dc8(0x215)];let _0x17f0b4=this[_0x4d8dc8(0x4c1)]();return this['_pendingHost']=_0x17f0b4,_0x17f0b4[_0x4d8dc8(0x1e3)](()=>{const _0x400c75=_0x4d8dc8;this[_0x400c75(0x215)]===_0x17f0b4&&(this[_0x400c75(0x215)]=null);},()=>{const _0x463f9e=_0x4d8dc8;this[_0x463f9e(0x215)]===_0x17f0b4&&(this[_0x463f9e(0x215)]=null);}),_0x17f0b4;}async['ensureMount'](){const _0x189f24=_0x2c7e3b;try{return(await this[_0x189f24(0x376)]())[_0x189f24(0x318)];}catch{return null;}}[_0x2c7e3b(0x341)](){const _0x3d6a54=_0x2c7e3b;let _0x2729dc=this[_0x3d6a54(0x471)](),_0x2f0eee=(_0x2729dc==null?void 0x0:_0x2729dc['domId'])??this['chartId'],_0x137814=document[_0x3d6a54(0x1ec)](_0x2f0eee);return!!(this[_0x3d6a54(0x19d)]&&_0x137814!=null&&_0x137814[_0x3d6a54(0x2df)](this[_0x3d6a54(0x19d)][_0x3d6a54(0x318)]));}['syncLayout'](){const _0xd382d5=_0x2c7e3b;if(!this[_0xd382d5(0x19d)])return;let _0x43241b=this[_0xd382d5(0x242)]();_0x43241b&&this[_0xd382d5(0x19d)][_0xd382d5(0x366)](this['_resolveLayout'](_0x43241b),this[_0xd382d5(0x3b3)]());}['markReady'](){const _0x273db8=_0x2c7e3b;this[_0x273db8(0x2b0)]();}[_0x2c7e3b(0x27b)](){this['_markNotReady']();}[_0x2c7e3b(0x21d)](){const _0x282f0c=_0x2c7e3b;var _0x4bb993;this[_0x282f0c(0x2bc)]||(this[_0x282f0c(0x27b)](),this[_0x282f0c(0x218)]=null,this[_0x282f0c(0x215)]=null,this[_0x282f0c(0x3a6)](),this['_managed']=!0x1,(_0x4bb993=this[_0x282f0c(0x19d)])==null||_0x4bb993[_0x282f0c(0x21d)](),this['_domFrame']=null,this[_0x282f0c(0x322)](),super['dispose']());}async['_createHost'](){const _0x5c9bd5=_0x2c7e3b;let _0x4359d1=this[_0x5c9bd5(0x471)]();if(!_0x4359d1)throw Error('Fail\x20to\x20create\x20float\x20dom');let _0x4d0b1e=_0x4359d1[_0x5c9bd5(0x348)]??this[_0x5c9bd5(0x47f)],_0x2bc84d=ce(_0x4d0b1e),_0x13e933=Symbol(this[_0x5c9bd5(0x47f)]);this['_pendingToken']=_0x13e933,this[_0x5c9bd5(0x24b)]=_0x2bc84d;try{let _0x2a1b60=await _0x2bc84d['promise'],_0x3ff9f5=this[_0x5c9bd5(0x471)](),_0x26bcee=(_0x3ff9f5==null?void 0x0:_0x3ff9f5[_0x5c9bd5(0x348)])??this[_0x5c9bd5(0x47f)];if(this['_disposed']||this[_0x5c9bd5(0x2d6)]()||this[_0x5c9bd5(0x218)]!==_0x13e933||!_0x3ff9f5||_0x26bcee!==_0x4d0b1e||document[_0x5c9bd5(0x1ec)](_0x4d0b1e)!==_0x2a1b60||!_0x2a1b60['isConnected'])throw Error('Fail\x20to\x20create\x20float\x20dom');let _0x51c71e=this[_0x5c9bd5(0x242)]();if(!_0x51c71e)throw Error(_0x5c9bd5(0x32b));let _0x2a1b8b=new d[(_0x5c9bd5(0x34e))](_0x2a1b60);return _0x2a1b8b[_0x5c9bd5(0x366)](this[_0x5c9bd5(0x487)](_0x51c71e),this['_frameStyle']()),this[_0x5c9bd5(0x2d5)](_0x2a1b60),this[_0x5c9bd5(0x19d)]=_0x2a1b8b,this[_0x5c9bd5(0x320)](_0x3ff9f5['position$'][_0x5c9bd5(0x410)](()=>this[_0x5c9bd5(0x432)]())),this['_managed']=!0x0,{'mountNode':_0x2a1b8b[_0x5c9bd5(0x318)],'dispose':()=>{const _0xb42392=_0x5c9bd5;this[_0xb42392(0x21d)](),_0x4359d1['dispose'][_0xb42392(0x21d)]();}};}finally{this['_waiter']===_0x2bc84d&&(this[_0x5c9bd5(0x24b)]=null),this[_0x5c9bd5(0x218)]===_0x13e933&&(this[_0x5c9bd5(0x218)]=null);}}[_0x2c7e3b(0x3a6)](){const _0xeab1cd=_0x2c7e3b;let _0x4d6957=this[_0xeab1cd(0x24b)];_0x4d6957&&(_0x4d6957[_0xeab1cd(0x2e7)](),this['_waiter']=null);}[_0x2c7e3b(0x289)](){const _0x3e123c=_0x2c7e3b;let _0x41cb30=this[_0x3e123c(0x242)]();this[_0x3e123c(0x19d)]&&_0x41cb30&&this['_domFrame'][_0x3e123c(0x366)](this[_0x3e123c(0x487)](_0x41cb30),this[_0x3e123c(0x3b3)]());}['_resolveLayout'](_0x3d2783){const _0x4bb267=_0x2c7e3b;return d['ChartFrameLayout'][_0x4bb267(0x30d)]({'logicalOuterRect':{'left':_0x3d2783['left'],'top':_0x3d2783['top'],'width':_0x3d2783[_0x4bb267(0x363)],'height':_0x3d2783[_0x4bb267(0x412)]},'scale':{'scaleX':_0x3d2783[_0x4bb267(0x235)],'scaleY':_0x3d2783[_0x4bb267(0x475)]},'hostStyle':this[_0x4bb267(0x3b3)](),'contentMode':d[_0x4bb267(0x3f3)]['Overlay']});}[_0x2c7e3b(0x3b3)](){const _0x304cd4=_0x2c7e3b;return{...this['_hostStyle'],'radius':d[_0x304cd4(0x282)]};}[_0x2c7e3b(0x2d5)](_0x127bd3){const _0x338cb2=_0x2c7e3b;let _0x4faa55=_0x127bd3[_0x338cb2(0x3a0)];_0x4faa55&&(this[_0x338cb2(0x1a2)]||={'zIndex':_0x4faa55[_0x338cb2(0x354)][_0x338cb2(0x4b7)],'pointerEvents':_0x4faa55[_0x338cb2(0x354)][_0x338cb2(0x490)]},_0x4faa55[_0x338cb2(0x354)]['zIndex']=_0x338cb2(0x34c),_0x4faa55['style']['pointerEvents']=_0x338cb2(0x3ef));}[_0x2c7e3b(0x322)](){const _0x538845=_0x2c7e3b;var _0x28885f;if(!this[_0x538845(0x1a2)])return;let _0xebd8aa=this[_0x538845(0x471)](),_0x467e5b=(_0xebd8aa==null?void 0x0:_0xebd8aa[_0x538845(0x348)])??this[_0x538845(0x47f)],_0x2cc3ba=(_0x28885f=document[_0x538845(0x1ec)](_0x467e5b))==null?void 0x0:_0x28885f[_0x538845(0x3a0)];_0x2cc3ba&&(_0x2cc3ba[_0x538845(0x354)][_0x538845(0x4b7)]=this[_0x538845(0x1a2)][_0x538845(0x4b7)],_0x2cc3ba['style'][_0x538845(0x490)]=this[_0x538845(0x1a2)][_0x538845(0x490)]),this[_0x538845(0x1a2)]=null;}},ue=class extends c[_0x2c7e3b(0x4a9)]{constructor(_0xf4391,_0x4c2a92,_0x378a39,_0x590303,_0x4000bd,_0x47d829){const _0x4f4b08=_0x2c7e3b;super(_0xf4391),this[_0x4f4b08(0x391)]=_0x4c2a92,this[_0x4f4b08(0x451)]=_0x378a39,this[_0x4f4b08(0x42f)]=_0x590303,this[_0x4f4b08(0x404)]=_0x4000bd,this[_0x4f4b08(0x48a)]=_0x47d829;}['getRect'](){const _0x46736a=_0x2c7e3b;let _0x51a75f=this[_0x46736a(0x391)]();return _0x51a75f?C(_0x51a75f):null;}[_0x2c7e3b(0x315)](_0x1419e0){const _0x13d181=_0x2c7e3b;this[_0x13d181(0x451)](_0x1419e0);}['nextVersion'](){const _0x3ebc83=_0x2c7e3b;return this[_0x3ebc83(0x404)]['nextVersion'](this[_0x3ebc83(0x42f)]);}[_0x2c7e3b(0x332)](_0x16b1c0,_0xbc5800){const _0x1e18b8=_0x2c7e3b;return this[_0x1e18b8(0x404)][_0x1e18b8(0x1ea)](this[_0x1e18b8(0x42f)],_0x16b1c0,_0xbc5800);}[_0x2c7e3b(0x38f)](){const _0x320bd8=_0x2c7e3b;this[_0x320bd8(0x48a)]();}[_0x2c7e3b(0x367)](){const _0x21036b=_0x2c7e3b;this[_0x21036b(0x404)][_0x21036b(0x1af)](this[_0x21036b(0x42f)]);}};function k(_0x1fa8c6,_0x2ed464){return function(_0x6b4f77,_0x557bfe){_0x2ed464(_0x6b4f77,_0x557bfe,_0x1fa8c6);};}function A(_0x30619f,_0x525825,_0x42fafa,_0x75f88c){const _0x543b04=_0x2c7e3b;var _0x5d8150=arguments['length'],_0x4890e1=_0x5d8150<0x3?_0x525825:_0x75f88c===null?_0x75f88c=Object[_0x543b04(0x3f6)](_0x525825,_0x42fafa):_0x75f88c,_0x31df17;if(typeof Reflect=='object'&&typeof Reflect[_0x543b04(0x492)]==_0x543b04(0x47a))_0x4890e1=Reflect['decorate'](_0x30619f,_0x525825,_0x42fafa,_0x75f88c);else{for(var _0x51e95f=_0x30619f['length']-0x1;_0x51e95f>=0x0;_0x51e95f--)(_0x31df17=_0x30619f[_0x51e95f])&&(_0x4890e1=(_0x5d8150<0x3?_0x31df17(_0x4890e1):_0x5d8150>0x3?_0x31df17(_0x525825,_0x42fafa,_0x4890e1):_0x31df17(_0x525825,_0x42fafa))||_0x4890e1);}return _0x5d8150>0x3&&_0x4890e1&&Object['defineProperty'](_0x525825,_0x42fafa,_0x4890e1),_0x4890e1;}function de(_0x334ceb){const _0x7ddfc1=_0x2c7e3b;if(!Object['prototype'][_0x7ddfc1(0x32f)][_0x7ddfc1(0x372)](_0x334ceb,'border'))return _0x334ceb;let {border:_0x595e62,..._0x1ca5c2}=_0x334ceb;return{..._0x1ca5c2,'stroke':(_0x595e62==null?void 0x0:_0x595e62[_0x7ddfc1(0x403)])??_0x7ddfc1(0x342),'strokeWidth':(_0x595e62==null?void 0x0:_0x595e62[_0x7ddfc1(0x363)])??0x0};}let fe=class extends t[_0x2c7e3b(0x467)]{constructor(_0x3efb2e,_0x53bd74,_0x5061da,_0x19a7e9){const _0x4643cc=_0x2c7e3b;super(),this['_sheetCanvasFloatDomManagerService']=_0x3efb2e,this[_0x4643cc(0x37b)]=_0x53bd74,this[_0x4643cc(0x4b2)]=_0x5061da,this[_0x4643cc(0x1c7)]=_0x19a7e9,E(this,_0x4643cc(0x29f),new Map()),E(this,'_activeDomReadyChartIds',new Set()),E(this,_0x4643cc(0x330),new s[(_0x4643cc(0x23c))]()),E(this,'removeHost$',this[_0x4643cc(0x330)]['asObservable']()),this['disposeWithMe'](this[_0x4643cc(0x25e)]['remove$'][_0x4643cc(0x410)](_0x58f67b=>{const _0x526f48=_0x4643cc;let _0x504af8=this['_chartHostMap'][_0x526f48(0x406)](_0x58f67b['id']);_0x504af8!=null&&_0x504af8['isManaged']()&&(_0x504af8[_0x526f48(0x259)](),this['_removeHost$'][_0x526f48(0x386)](_0x58f67b['id']));}));}[_0x2c7e3b(0x3c2)](_0x4a026d){const _0x2a2fbe=_0x2c7e3b;if(_0x4a026d==null)return;let _0x222b84=this['_renderManagerService']['getRenderUnitById'](_0x4a026d),_0x190835=_0x222b84==null?void 0x0:_0x222b84[_0x2a2fbe(0x27d)];return _0x222b84==null||_0x190835==null?null:{'scene':_0x190835,'transformer':_0x190835[_0x2a2fbe(0x40b)](),'renderUnit':_0x222b84,'canvas':_0x222b84[_0x2a2fbe(0x1e0)][_0x2a2fbe(0x3c8)]()};}[_0x2c7e3b(0x444)](_0x65171e,_0xa68de3){const _0x4150b2=_0x2c7e3b;let _0x36fa5d=this[_0x4150b2(0x25e)],_0x3827f7=_0xa68de3||_0x4150b2(0x342),_0x4fcabb=_0x36fa5d[_0x4150b2(0x455)](_0x65171e);if(_0x4fcabb){let {unitId:_0x1f44f1,subUnitId:_0x11ad8f}=_0x4fcabb;_0x36fa5d['updateFloatDomProps'](_0x1f44f1,_0x11ad8f,_0x65171e,{'stroke':_0x3827f7});}}[_0x2c7e3b(0x2dc)](_0x9f708a,_0x3181d1){let _0x58a6b9=this['_sheetCanvasFloatDomManagerService'],_0x154f4a=_0x58a6b9['getFloatDomInfo'](_0x9f708a);if(_0x154f4a){let {unitId:_0x342453,subUnitId:_0x4ea983}=_0x154f4a;_0x58a6b9['updateFloatDomProps'](_0x342453,_0x4ea983,_0x9f708a,de(_0x3181d1));}}[_0x2c7e3b(0x2cb)](_0x1966de){const _0x290e4d=_0x2c7e3b;let _0x4bfca2=this['_sheetCanvasFloatDomManagerService']['getFloatDomInfo'](_0x1966de);return _0x4bfca2?_0x4bfca2[_0x290e4d(0x1df)]:null;}[_0x2c7e3b(0x2e9)](_0x24be56){const _0x445a79=_0x2c7e3b;var _0x3ac99c;return((_0x3ac99c=this[_0x445a79(0x29f)][_0x445a79(0x406)](_0x24be56))==null?void 0x0:_0x3ac99c[_0x445a79(0x341)]())??!0x1;}[_0x2c7e3b(0x48b)](_0x761593){const _0x3fb440=_0x2c7e3b;var _0x4d94ea;(_0x4d94ea=this[_0x3fb440(0x29f)][_0x3fb440(0x406)](_0x761593))==null||_0x4d94ea[_0x3fb440(0x432)]();}['removeHost'](_0x2d94d8){const _0x957ee7=_0x2c7e3b;let _0x13f207=this[_0x957ee7(0x29f)][_0x957ee7(0x406)](_0x2d94d8);_0x13f207==null||_0x13f207[_0x957ee7(0x21d)](),this[_0x957ee7(0x29f)][_0x957ee7(0x188)](_0x2d94d8);}async['ensureHost'](_0x4cc8d9,_0x2dead5){const _0x594a8e=_0x2c7e3b;if(_0x2dead5===c['ChartHostRenderMode'][_0x594a8e(0x248)])return this['_createImageChartHost'](_0x4cc8d9);if(_0x2dead5===c['ChartHostRenderMode'][_0x594a8e(0x33e)])return this['_getOrCreateSheetChartHost'](_0x4cc8d9);let _0x57bc7e=this[_0x594a8e(0x3a4)](_0x4cc8d9);if(!_0x57bc7e)throw Error(_0x594a8e(0x32b));return _0x57bc7e[_0x594a8e(0x376)]();}['isDomReady'](_0x3de4f1){const _0x56274d=_0x2c7e3b;return this[_0x56274d(0x443)][_0x56274d(0x4b6)](_0x3de4f1);}[_0x2c7e3b(0x440)](_0x41cdad){const _0x5601d9=_0x2c7e3b;this['_activeDomReadyChartIds']['delete'](_0x41cdad)&&this[_0x5601d9(0x1c8)](_0x41cdad);}[_0x2c7e3b(0x367)](_0x14f2f4){const _0x113cde=_0x2c7e3b;let _0x5ea827=this['_getChartSnapshotKey'](_0x14f2f4);_0x5ea827&&this[_0x113cde(0x4b2)]['nextVersion'](_0x5ea827);}[_0x2c7e3b(0x3f5)](_0x4eba74){const _0x33b95f=_0x2c7e3b;let _0x375030=this['_getChartSnapshotKey'](_0x4eba74);return!_0x375030||!this[_0x33b95f(0x2cb)](_0x4eba74)?null:new ue(_0x4eba74,()=>this[_0x33b95f(0x2cb)](_0x4eba74),_0x96adf5=>this[_0x33b95f(0x2dc)](_0x4eba74,_0x96adf5),_0x375030,this['_chartSnapshotStoreService'],()=>this[_0x33b95f(0x1c8)](_0x4eba74));}[_0x2c7e3b(0x3a4)](_0x26b1f4){const _0x4359ab=_0x2c7e3b;if(!this['getHostSize'](_0x26b1f4))return null;this[_0x4359ab(0x1c7)][_0x4359ab(0x2d0)](_0x26b1f4,{'contentBox':{'wrapperInset':0x0,'contentInset':0x0}});let _0xb4e189=this[_0x4359ab(0x29f)][_0x4359ab(0x406)](_0x26b1f4);if(_0xb4e189)return _0xb4e189;let _0x5108f1=new le(_0x26b1f4,()=>this[_0x4359ab(0x25e)][_0x4359ab(0x455)](_0x26b1f4),()=>this['_getHostPlacement'](_0x26b1f4),_0x1ff96e=>this[_0x4359ab(0x2dc)](_0x26b1f4,_0x1ff96e),()=>this[_0x4359ab(0x2bc)],()=>this[_0x4359ab(0x286)](_0x26b1f4),()=>this[_0x4359ab(0x440)](_0x26b1f4));return this[_0x4359ab(0x29f)][_0x4359ab(0x3d5)](_0x26b1f4,_0x5108f1),_0x5108f1;}[_0x2c7e3b(0x286)](_0x4f73c6){const _0x1bc655=_0x2c7e3b;this[_0x1bc655(0x443)]['has'](_0x4f73c6)||(this[_0x1bc655(0x443)][_0x1bc655(0x499)](_0x4f73c6),this[_0x1bc655(0x1c8)](_0x4f73c6));}[_0x2c7e3b(0x44f)](_0x25d860){const _0x2ce64e=_0x2c7e3b;let _0x2faa45=this[_0x2ce64e(0x25e)][_0x2ce64e(0x455)](_0x25d860);return _0x2faa45?{'unitId':_0x2faa45['unitId'],'subUnitId':_0x2faa45['subUnitId'],'chartId':_0x25d860}:null;}[_0x2c7e3b(0x1c8)](_0x131a27){const _0xdd0089=_0x2c7e3b;var _0x28e72f,_0x2b5350,_0x2daa6d;let _0x3ee934=this[_0xdd0089(0x25e)]['getFloatDomInfo'](_0x131a27);if(!_0x3ee934)return;let _0x17c036=(_0x28e72f=this['_renderManagerService'][_0xdd0089(0x29b)](_0x3ee934['unitId']))==null?void 0x0:_0x28e72f['scene'],_0x3be3da=(_0x17c036==null||(_0x2b5350=_0x17c036['getObjectIncludeInGroup'])==null?void 0x0:_0x2b5350[_0xdd0089(0x372)](_0x17c036,(0x0,n[_0xdd0089(0x43f)])({'unitId':_0x3ee934['unitId'],'subUnitId':_0x3ee934[_0xdd0089(0x368)],'drawingId':_0x131a27})))??(_0x17c036==null?void 0x0:_0x17c036[_0xdd0089(0x44b)]((0x0,n[_0xdd0089(0x43f)])({'unitId':_0x3ee934[_0xdd0089(0x419)],'subUnitId':_0x3ee934[_0xdd0089(0x368)],'drawingId':_0x131a27})))??null;_0x3be3da==null||(_0x2daa6d=_0x3be3da[_0xdd0089(0x2a3)])==null||_0x2daa6d['call'](_0x3be3da,!0x0),_0x17c036==null||_0x17c036['makeDirty'](!0x0);}[_0x2c7e3b(0x26d)](_0x40e95a){const _0x5ab8d0=_0x2c7e3b;let _0x1c28f8=this[_0x5ab8d0(0x25e)]['getFloatDomInfo'](_0x40e95a);if(!_0x1c28f8)return null;let _0x3cf409=this[_0x5ab8d0(0x3c2)](_0x1c28f8[_0x5ab8d0(0x419)]),_0x15e9e1=_0x3cf409==null?void 0x0:_0x3cf409[_0x5ab8d0(0x27d)],_0x3c7741=document[_0x5ab8d0(0x1ec)](_0x1c28f8[_0x5ab8d0(0x348)]??_0x40e95a);return w(_0x1c28f8[_0x5ab8d0(0x1df)],{'scaleX':(_0x15e9e1==null?void 0x0:_0x15e9e1['scaleX'])??0x1,'scaleY':(_0x15e9e1==null?void 0x0:_0x15e9e1[_0x5ab8d0(0x475)])??0x1},_0x3c7741?{'left':_0x3c7741['offsetLeft'],'top':_0x3c7741[_0x5ab8d0(0x272)]}:void 0x0);}[_0x2c7e3b(0x21d)](){const _0x2b1247=_0x2c7e3b;this['_disposed']||(this[_0x2b1247(0x29f)][_0x2b1247(0x481)](_0x258d59=>_0x258d59[_0x2b1247(0x21d)]()),this[_0x2b1247(0x29f)][_0x2b1247(0x42c)](),this[_0x2b1247(0x443)][_0x2b1247(0x42c)](),this[_0x2b1247(0x330)][_0x2b1247(0x1dd)](),super[_0x2b1247(0x21d)]());}};fe=A([k(0x0,(0x0,t[_0x2c7e3b(0x1a4)])(i[_0x2c7e3b(0x421)])),k(0x1,(0x0,t[_0x2c7e3b(0x1a4)])(u['IRenderManagerService'])),k(0x2,(0x0,t[_0x2c7e3b(0x1a4)])(se)),k(0x3,(0x0,t[_0x2c7e3b(0x1a4)])(o[_0x2c7e3b(0x18e)]))],fe);const j=(0x0,t['createIdentifier'])(_0x2c7e3b(0x278)),M=(0x0,t[_0x2c7e3b(0x47e)])('sheets-chart.ui.service');let N=class extends d['ChartUIService']{constructor(_0x4f4199,_0x4c5983,_0x4f84b6,_0x5c0b85,_0x341591,_0x5d1036){const _0x377b1f=_0x2c7e3b;super(_0x5d1036),this[_0x377b1f(0x316)]=_0x4f4199,this[_0x377b1f(0x1e7)]=_0x4c5983,this[_0x377b1f(0x4a8)]=_0x4f84b6,this[_0x377b1f(0x35c)]=_0x5c0b85,this['_univerInstanceService']=_0x341591,E(this,_0x377b1f(0x420),!0x1),E(this,_0x377b1f(0x39e),new s[(_0x377b1f(0x46a))](null)),E(this,_0x377b1f(0x193),new s['BehaviorSubject'](null)),E(this,_0x377b1f(0x417),new s['BehaviorSubject'](null)),E(this,'activeEditChart$',this[_0x377b1f(0x39e)][_0x377b1f(0x469)]()),E(this,_0x377b1f(0x298),this['_selectedElement$']['asObservable']()),E(this,_0x377b1f(0x1b9),this[_0x377b1f(0x417)][_0x377b1f(0x469)]());}get[_0x2c7e3b(0x1ae)](){const _0x575f81=_0x2c7e3b;return this[_0x575f81(0x316)][_0x575f81(0x3cb)]??null;}get[_0x2c7e3b(0x3cb)](){const _0x1f7d59=_0x2c7e3b;return this['_chartModelService'][_0x1f7d59(0x3cb)];}get[_0x2c7e3b(0x485)](){const _0x2d1faa=_0x2c7e3b;return this[_0x2d1faa(0x316)][_0x2d1faa(0x485)];}get['activeEditChart'](){return this['_activeEditChart$']['getValue']();}get['direction$'](){const _0x2e5f4b=_0x2c7e3b;return this['_localeService'][_0x2e5f4b(0x255)];}get[_0x2c7e3b(0x32a)](){const _0x59fa2e=_0x2c7e3b;return this[_0x59fa2e(0x420)];}[_0x2c7e3b(0x2e2)](_0x244ca8){const _0x3a414e=_0x2c7e3b;this[_0x3a414e(0x420)]=_0x244ca8;}['setActiveEditChart'](_0x3bcea8){const _0x4ea026=_0x2c7e3b;this[_0x4ea026(0x39e)][_0x4ea026(0x231)]()!==_0x3bcea8&&this[_0x4ea026(0x39e)][_0x4ea026(0x386)](_0x3bcea8);}[_0x2c7e3b(0x3cf)](_0xa81c6d){const _0x4242d0=_0x2c7e3b;return this[_0x4242d0(0x1c9)]===_0xa81c6d;}['setSelectedElement'](_0x4515b1){const _0x5c4a48=_0x2c7e3b;this[_0x5c4a48(0x193)][_0x5c4a48(0x386)](_0x4515b1);}[_0x2c7e3b(0x2f8)](_0xa5eb88,_0xdbcb76){const _0x4c36a2=_0x2c7e3b;this['_panelRoute$'][_0x4c36a2(0x386)]({'chartId':_0xa5eb88,'route':_0xdbcb76});}[_0x2c7e3b(0x206)](){const _0x48f0a9=_0x2c7e3b;this['_panelRoute$'][_0x48f0a9(0x386)](null);}[_0x2c7e3b(0x228)](_0x494727){const _0x5c23f7=_0x2c7e3b;let _0x525024=this[_0x5c23f7(0x3cb)];_0x525024&&this[_0x5c23f7(0x457)]({'chartModelId':_0x525024['id'],'range':_0x494727});}[_0x2c7e3b(0x365)](_0x24630b){const _0x120b96=_0x2c7e3b;var _0x22a5f8;let _0x42544f=this['activeChartModel'];if(!_0x42544f)return;let _0x417e73=(_0x22a5f8=this['_sheetsChartService']['getChartDataSource'](_0x42544f['id']))==null?void 0x0:_0x22a5f8[_0x120b96(0x209)]();if(!_0x417e73)return;let _0x7fc622={..._0x417e73,'isRowDirection':_0x24630b===c[_0x120b96(0x2e8)]['Row']};this[_0x120b96(0x457)]({'chartModelId':_0x42544f['id'],'range':_0x7fc622});}[_0x2c7e3b(0x40f)](_0x168464){const _0x1a6b4d=_0x2c7e3b;var _0x5bd797;this[_0x1a6b4d(0x4a8)][_0x1a6b4d(0x1a1)](e['ChartUpdateConfigCommand']['id'],{..._0x168464,'unitId':((_0x5bd797=this['_univerInstanceService'][_0x1a6b4d(0x4b0)]())==null?void 0x0:_0x5bd797['getUnitId']())??''});}['_executeChartUpdateSourceConfig'](_0x305456){const _0x1a16c5=_0x2c7e3b;var _0x33a624;this[_0x1a16c5(0x4a8)][_0x1a16c5(0x1a1)](e[_0x1a16c5(0x3dd)]['id'],{..._0x305456,'unitId':((_0x33a624=this[_0x1a16c5(0x199)][_0x1a16c5(0x4b0)]())==null?void 0x0:_0x33a624[_0x1a16c5(0x37f)]())??''});}[_0x2c7e3b(0x21d)](){const _0x4f3a3f=_0x2c7e3b;this[_0x4f3a3f(0x39e)][_0x4f3a3f(0x1dd)](),this[_0x4f3a3f(0x193)]['complete'](),this[_0x4f3a3f(0x417)]['complete'](),super[_0x4f3a3f(0x21d)]();}};N=A([k(0x0,(0x0,t[_0x2c7e3b(0x1a4)])(e[_0x2c7e3b(0x3b1)])),k(0x1,(0x0,t[_0x2c7e3b(0x1a4)])(e['SheetsChartService'])),k(0x2,t[_0x2c7e3b(0x1a6)]),k(0x3,(0x0,t[_0x2c7e3b(0x1a4)])(t['LocaleService'])),k(0x4,t[_0x2c7e3b(0x2ce)]),k(0x5,(0x0,t['Inject'])(d[_0x2c7e3b(0x3fc)]))],N);const pe=e[_0x2c7e3b(0x4bc)][_0x2c7e3b(0x248)];var me=class extends c[_0x2c7e3b(0x4a9)]{constructor(_0x3c7f8f,_0x2926a2){const _0x41e534=_0x2c7e3b;super(_0x3c7f8f),this['_rect']=_0x2926a2,E(this,_0x41e534(0x2b1),0x0),E(this,_0x41e534(0x20d),void 0x0),E(this,'style',{});}[_0x2c7e3b(0x45a)](){const _0x3d6ff6=_0x2c7e3b;return this[_0x3d6ff6(0x192)];}[_0x2c7e3b(0x315)](_0x5d7fe6){const _0x275d1d=_0x2c7e3b;this[_0x275d1d(0x354)]=_0x5d7fe6;}[_0x2c7e3b(0x1af)](){const _0x975fbd=_0x2c7e3b;return++this[_0x975fbd(0x2b1)];}[_0x2c7e3b(0x332)](_0x3a2d93,_0x1f1a97){const _0x21004b=_0x2c7e3b;return _0x1f1a97===this[_0x21004b(0x2b1)]?(D(this[_0x21004b(0x20d)]),this[_0x21004b(0x20d)]=_0x3a2d93,!0x0):(D(_0x3a2d93),!0x1);}['requestPaint'](){}['invalidateSnapshot'](){const _0x13e13b=_0x2c7e3b;this[_0x13e13b(0x2b1)]+=0x1;}[_0x2c7e3b(0x310)](){const _0x1aeb61=_0x2c7e3b;let _0x2921ea=this[_0x1aeb61(0x20d)];return this[_0x1aeb61(0x20d)]=void 0x0,_0x2921ea;}[_0x2c7e3b(0x21d)](){D(this['_image']),this['_image']=void 0x0,super['dispose']();}};function he(_0x3697cd,_0x304505,_0x1f2505){const _0x3ee497=_0x2c7e3b;let _0x21163d=_0x3697cd[_0x3ee497(0x46d)](_0x304505);return(0x0,c[_0x3ee497(0x3a1)])({..._0x3697cd[_0x3ee497(0x354)],'runtime':{..._0x21163d,'layoutInset':0x8,..._0x1f2505===void 0x0?{}:{'addWatermark':_0x1f2505}},'direction':_0x304505},_0x3697cd['chartType']);}let P=class extends t[_0x2c7e3b(0x467)]{constructor(_0x1b08e6,_0x41d2ae,_0x168564,_0x58e08b,_0xf66ea2,_0x19ed36,_0x1b5ad4,_0x256548,_0x574ca2,_0x58f8a3,_0xb9bbd9,_0xc96f46,_0x436aad,_0x31dcac){const _0x1aec43=_0x2c7e3b;super(),this[_0x1aec43(0x283)]=_0x1b08e6,this['_sheetCanvasFloatDomManagerService']=_0x41d2ae,this[_0x1aec43(0x316)]=_0x168564,this[_0x1aec43(0x48e)]=_0x58e08b,this['_univerInstanceService']=_0xf66ea2,this[_0x1aec43(0x37b)]=_0x19ed36,this[_0x1aec43(0x35c)]=_0x1b5ad4,this[_0x1aec43(0x4bb)]=_0x256548,this['_injector']=_0x574ca2,this[_0x1aec43(0x2b6)]=_0x58f8a3,this[_0x1aec43(0x4ba)]=_0xb9bbd9,this[_0x1aec43(0x44c)]=_0xc96f46,this[_0x1aec43(0x4b2)]=_0x436aad,this[_0x1aec43(0x26a)]=_0x31dcac,E(this,_0x1aec43(0x4a6),new Map()),E(this,_0x1aec43(0x321),new Map()),E(this,_0x1aec43(0x40d),new Map()),E(this,_0x1aec43(0x288),new Map()),E(this,_0x1aec43(0x31a),new Map()),E(this,_0x1aec43(0x373),new Map()),E(this,_0x1aec43(0x23a),void 0x0),E(this,_0x1aec43(0x3d7),void 0x0),E(this,'_lastRenderInputMap',new Map()),E(this,_0x1aec43(0x395),null),E(this,'_lastActiveSheet',null);let _0xf171b8=(0x0,e[_0x1aec43(0x2a4)])(this['_injector']),_0x32a000=this['_configService'][_0x1aec43(0x407)](e[_0x1aec43(0x39d)]);this['_chartRenderMode']=(_0x32a000==null?void 0x0:_0x32a000[_0x1aec43(0x37a)])??pe,this[_0x1aec43(0x3d7)]=_0xf171b8[_0x1aec43(0x3ab)]!==0x1||_0xf171b8[0x0]!==_0x1aec43(0x2ec),this[_0x1aec43(0x3eb)](),this[_0x1aec43(0x1f9)](),this[_0x1aec43(0x358)](),this[_0x1aec43(0x260)](),this['handleActiveSubUnitChange']();}['getChartSnapshotImage'](_0x5a8576){const _0x29b6a1=_0x2c7e3b;let _0x4f80ad=this['_getChartSnapshotKey'](_0x5a8576);return _0x4f80ad?this[_0x29b6a1(0x4b2)]['getImage'](_0x4f80ad):void 0x0;}[_0x2c7e3b(0x2c0)](_0x31c470){const _0x5a0d9b=_0x2c7e3b;var _0x43eaa4;return((_0x43eaa4=this['_chartModelService'][_0x5a0d9b(0x3cb)])==null?void 0x0:_0x43eaa4['id'])===_0x31c470?e[_0x5a0d9b(0x4bc)][_0x5a0d9b(0x33e)]:this['_chartRenderMode'];}[_0x2c7e3b(0x44f)](_0x3374d8){const _0x10ff8c=_0x2c7e3b;let _0x498750=this['_sheetCanvasFloatDomManagerService'][_0x10ff8c(0x455)](_0x3374d8);return _0x498750?{'unitId':_0x498750[_0x10ff8c(0x419)],'subUnitId':_0x498750['subUnitId'],'chartId':_0x3374d8}:null;}[_0x2c7e3b(0x3eb)](){const _0x57243d=_0x2c7e3b;this[_0x57243d(0x23a)]===e[_0x57243d(0x4bc)][_0x57243d(0x248)]&&this[_0x57243d(0x320)](this['_sheetCanvasFloatDomManagerService']['registerRenderObjectFactory'](t['DrawingTypeEnum'][_0x57243d(0x382)],({key:_0x21f95e,config:_0x438721,unitId:_0x5ae8d2,subUnitId:_0x16bbe4,drawingId:_0x36563e})=>new ie(_0x21f95e,_0x438721,()=>this[_0x57243d(0x4b2)]['getImage']({'unitId':_0x5ae8d2,'subUnitId':_0x16bbe4,'chartId':_0x36563e}),()=>this['_chartHostProvider'][_0x57243d(0x355)](_0x36563e))));}[_0x2c7e3b(0x1f9)](){const _0x5a4a66=_0x2c7e3b;this['disposeWithMe'](this[_0x5a4a66(0x316)][_0x5a4a66(0x485)][_0x5a4a66(0x410)](_0x23404c=>{const _0x4ca0c6=_0x5a4a66;let _0x17216f=(_0x23404c==null?void 0x0:_0x23404c['id'])??null,_0xf46ac3=this[_0x4ca0c6(0x395)];_0xf46ac3!==_0x17216f&&(_0xf46ac3&&(this[_0x4ca0c6(0x283)][_0x4ca0c6(0x440)](_0xf46ac3),this[_0x4ca0c6(0x29a)](_0xf46ac3),this[_0x4ca0c6(0x317)](_0xf46ac3),this[_0x4ca0c6(0x2e4)](_0xf46ac3)),this[_0x4ca0c6(0x395)]=_0x17216f,_0x17216f&&(this['_chartHostProvider']['markHostNotReady'](_0x17216f),this[_0x4ca0c6(0x254)](_0x17216f),this[_0x4ca0c6(0x2e4)](_0x17216f)));}));}[_0x2c7e3b(0x358)](){const _0x354952=_0x2c7e3b;this[_0x354952(0x320)](this['_drawingManagerService'][_0x354952(0x196)][_0x354952(0x410)](_0x4cfb90=>{const _0x3f4336=_0x354952;var _0x3414ac;let _0x3a1fe0=(_0x3414ac=this[_0x3f4336(0x316)]['activeChartModel'])==null?void 0x0:_0x3414ac['id'];_0x3a1fe0&&_0x4cfb90[_0x3f4336(0x3e9)](_0x505990=>_0x505990[_0x3f4336(0x402)][_0x3f4336(0x3e9)](_0x59b9b4=>_0x59b9b4[_0x3f4336(0x449)]===_0x3a1fe0))&&this[_0x3f4336(0x316)]['setActiveChartModel'](null);})),this['disposeWithMe'](this['_drawingManagerService'][_0x354952(0x350)][_0x354952(0x410)](_0x1cf0d8=>{const _0x22186b=_0x354952;var _0x547d57;let _0x351cba=(_0x547d57=this[_0x22186b(0x316)]['activeChartModel'])==null?void 0x0:_0x547d57['id'];_0x351cba&&_0x1cf0d8[_0x22186b(0x3e9)](_0x4ba90e=>_0x4ba90e[_0x22186b(0x36e)][_0x22186b(0x449)]===_0x351cba||_0x4ba90e[_0x22186b(0x402)][_0x22186b(0x3e9)](_0x12fc37=>_0x12fc37[_0x22186b(0x449)]===_0x351cba))&&this[_0x22186b(0x316)][_0x22186b(0x18f)](null);}));}[_0x2c7e3b(0x260)](){const _0x12e1a1=_0x2c7e3b;this[_0x12e1a1(0x320)](this[_0x12e1a1(0x48e)]['featurePluginOrderUpdate$'][_0x12e1a1(0x410)](_0x1469bb=>{const _0x27fb39=_0x12e1a1;var _0x1145ec;let _0x3d089a=(_0x1145ec=this[_0x27fb39(0x316)][_0x27fb39(0x3cb)])==null?void 0x0:_0x1145ec['id'];if(!_0x3d089a){_0x1469bb['drawingIds']['forEach'](_0x3fda79=>{const _0x4247ff=_0x27fb39;this['_chartModelService'][_0x4247ff(0x300)](_0x3fda79)&&this[_0x4247ff(0x29a)](_0x3fda79);});return;}let _0x1a10be=this[_0x27fb39(0x25e)][_0x27fb39(0x455)](_0x3d089a);(_0x1a10be==null?void 0x0:_0x1a10be[_0x27fb39(0x419)])===_0x1469bb[_0x27fb39(0x419)]&&_0x1a10be[_0x27fb39(0x368)]===_0x1469bb[_0x27fb39(0x368)]&&this['_applyActiveChartRuntimeZIndex'](_0x3d089a);})),this[_0x12e1a1(0x320)](this[_0x12e1a1(0x48e)][_0x12e1a1(0x465)]['subscribe'](_0x473d95=>{const _0x1262c7=_0x12e1a1;var _0x5919ad;let _0x5f55cf=(_0x5919ad=this[_0x1262c7(0x316)]['activeChartModel'])==null?void 0x0:_0x5919ad['id'];if(!_0x5f55cf)return;let _0x47c11f=this[_0x1262c7(0x25e)][_0x1262c7(0x455)](_0x5f55cf);_0x47c11f&&_0x473d95['some'](_0x242e3e=>_0x242e3e[_0x1262c7(0x419)]===_0x47c11f[_0x1262c7(0x419)]&&_0x242e3e[_0x1262c7(0x368)]===_0x47c11f['subUnitId'])&&this[_0x1262c7(0x254)](_0x5f55cf);})),this[_0x12e1a1(0x320)](this[_0x12e1a1(0x316)][_0x12e1a1(0x319)][_0x12e1a1(0x410)](_0x2b48a1=>{const _0x31687a=_0x12e1a1;var _0x38941a;this['_lastRenderInputMap'][_0x31687a(0x188)](_0x2b48a1),this[_0x31687a(0x4b2)]['clearChart'](_0x2b48a1),this[_0x31687a(0x204)](_0x2b48a1),this[_0x31687a(0x283)][_0x31687a(0x440)](_0x2b48a1),((_0x38941a=this[_0x31687a(0x316)][_0x31687a(0x3cb)])==null?void 0x0:_0x38941a['id'])===_0x2b48a1?this[_0x31687a(0x316)]['setActiveChartModel'](null):this[_0x31687a(0x29a)](_0x2b48a1),this[_0x31687a(0x349)](_0x2b48a1);}));}[_0x2c7e3b(0x2e4)](_0x4ec3b7){const _0x3a69e6=_0x2c7e3b;let _0x4f289f=this[_0x3a69e6(0x34a)][_0x3a69e6(0x406)](_0x4ec3b7);_0x4f289f&&this[_0x3a69e6(0x4a0)](_0x4ec3b7,_0x4f289f['config'],_0x4f289f[_0x3a69e6(0x354)]);}[_0x2c7e3b(0x317)](_0x2e2ec4){const _0x489912=_0x2c7e3b;let _0x31c801=this[_0x489912(0x4a6)][_0x489912(0x406)](_0x2e2ec4);(_0x31c801==null?void 0x0:_0x31c801[_0x489912(0x2e5)])===_0x489912(0x4c0)&&(this[_0x489912(0x2c8)](_0x2e2ec4),_0x31c801[_0x489912(0x21d)](),this[_0x489912(0x4a6)]['delete'](_0x2e2ec4)),this[_0x489912(0x283)][_0x489912(0x440)](_0x2e2ec4),this[_0x489912(0x283)][_0x489912(0x18a)](_0x2e2ec4);}[_0x2c7e3b(0x349)](_0x3816de){const _0x200a56=_0x2c7e3b;let _0x14153c=this[_0x200a56(0x4a6)][_0x200a56(0x406)](_0x3816de);_0x14153c&&(this[_0x200a56(0x2c8)](_0x3816de),_0x14153c[_0x200a56(0x21d)](),this[_0x200a56(0x4a6)][_0x200a56(0x188)](_0x3816de)),this[_0x200a56(0x283)][_0x200a56(0x440)](_0x3816de),this[_0x200a56(0x283)]['removeHost'](_0x3816de);}[_0x2c7e3b(0x204)](_0x3680f9){const _0x314b85=_0x2c7e3b;var _0x184c3a,_0x2be7b6;(_0x184c3a=this[_0x314b85(0x26a)][_0x314b85(0x275)](c[_0x314b85(0x211)]))==null||(_0x2be7b6=_0x184c3a[_0x314b85(0x479)])==null||_0x2be7b6['call'](_0x184c3a,_0x3680f9);}[_0x2c7e3b(0x35e)](_0x5ee06b,_0x296c21){const _0x12cead=_0x2c7e3b;let _0x2b2ac9=this[_0x12cead(0x48e)][_0x12cead(0x27f)](_0x5ee06b,_0x296c21);Object[_0x12cead(0x305)](_0x2b2ac9??{})[_0x12cead(0x481)](_0x50936d=>{const _0x346728=_0x12cead;_0x50936d[_0x346728(0x1b5)]===t[_0x346728(0x241)][_0x346728(0x382)]&&this['_clearChartRuntimeCache'](_0x50936d['drawingId']);});}[_0x2c7e3b(0x2f7)](_0x3a1927,_0x5961cb){const _0x25567b=_0x2c7e3b;var _0x5388de;return((_0x5388de=_0x3a1927[_0x25567b(0x1d0)])==null?void 0x0:_0x5388de[_0x25567b(0x372)](_0x3a1927,_0x5961cb))??_0x3a1927[_0x25567b(0x44b)](_0x5961cb)??null;}[_0x2c7e3b(0x3aa)](_0x2c6e53){const _0x665e7f=_0x2c7e3b;var _0x106c3f;let _0x454f6b=this[_0x665e7f(0x25e)][_0x665e7f(0x455)](_0x2c6e53);if(!_0x454f6b)return null;let _0x49de99=(_0x106c3f=this[_0x665e7f(0x37b)][_0x665e7f(0x29b)](_0x454f6b[_0x665e7f(0x419)]))==null?void 0x0:_0x106c3f[_0x665e7f(0x27d)];if(!_0x49de99)return null;let _0x4c9a32=this['_getChartRenderObject'](_0x49de99,(0x0,n['getDrawingShapeKeyByDrawingSearch'])({'unitId':_0x454f6b[_0x665e7f(0x419)],'subUnitId':_0x454f6b[_0x665e7f(0x368)],'drawingId':_0x2c6e53}));return _0x4c9a32?{'info':_0x454f6b,'scene':_0x49de99,'chartObject':_0x4c9a32}:null;}[_0x2c7e3b(0x3de)](_0x1ae40a,_0x12f3c0){const _0x56b9a4=_0x2c7e3b;var _0x45026c,_0x8142b8,_0x20d67b,_0x867e11;let _0x56ee32=this[_0x56b9a4(0x3aa)](_0x1ae40a);_0x56ee32&&((_0x45026c=(_0x8142b8=_0x56ee32[_0x56b9a4(0x2ac)])[_0x56b9a4(0x1a8)])==null||_0x45026c[_0x56b9a4(0x372)](_0x8142b8,{'zIndex':_0x12f3c0}),(_0x20d67b=(_0x867e11=_0x56ee32['chartObject'])[_0x56b9a4(0x2a3)])==null||_0x20d67b['call'](_0x867e11,!0x0),_0x56ee32[_0x56b9a4(0x27d)][_0x56b9a4(0x2a3)](!0x0));}['_applyActiveChartRuntimeZIndex'](_0x1d7b69){const _0x28f7e4=_0x2c7e3b;let _0x7f2387=this[_0x28f7e4(0x25e)][_0x28f7e4(0x455)](_0x1d7b69);if(!_0x7f2387)return;let _0x2a1929=this['_drawingManagerService'][_0x28f7e4(0x1d3)](_0x7f2387[_0x28f7e4(0x419)],_0x7f2387[_0x28f7e4(0x368)]);this[_0x28f7e4(0x3de)](_0x1d7b69,_0x2a1929[_0x28f7e4(0x3ab)]);}[_0x2c7e3b(0x29a)](_0x4c57d8){const _0x4a4edd=_0x2c7e3b;let _0x597a0a=this['_sheetCanvasFloatDomManagerService'][_0x4a4edd(0x455)](_0x4c57d8);if(!_0x597a0a)return;let _0x3c7090=this[_0x4a4edd(0x48e)][_0x4a4edd(0x1d3)](_0x597a0a[_0x4a4edd(0x419)],_0x597a0a[_0x4a4edd(0x368)]),_0x57942a=_0x3c7090[_0x4a4edd(0x1ca)](_0x4c57d8);this[_0x4a4edd(0x3de)](_0x4c57d8,_0x57942a===-0x1?Math[_0x4a4edd(0x38b)](_0x3c7090['length']-0x1,0x0):_0x57942a);}[_0x2c7e3b(0x4ae)](_0x491abe,_0x150c68){const _0x348f69=_0x2c7e3b;let _0x56865c=this[_0x348f69(0x25e)][_0x348f69(0x455)](_0x491abe);if(_0x150c68['width']!==void 0x0&&_0x150c68['height']!==void 0x0&&_0x56865c){var _0xb9a00f;let {subUnitId:_0x531dec}=_0x56865c,_0x433cd5=(_0xb9a00f=this['_univerInstanceService'][_0x348f69(0x470)](t['UniverInstanceType']['UNIVER_SHEET']))==null?void 0x0:_0xb9a00f[_0x348f69(0x1bb)]();if((_0x433cd5==null?void 0x0:_0x433cd5[_0x348f69(0x41e)]())===_0x531dec){let {width:_0x2b4d4a,height:_0x504aff}=_0x150c68,_0x5d8d09=this[_0x348f69(0x316)]['getChartModel'](_0x491abe),_0x4353e7=_0x5d8d09==null?void 0x0:_0x5d8d09[_0x348f69(0x354)];if(Math[_0x348f69(0x2ee)](_0x2b4d4a-((_0x4353e7==null?void 0x0:_0x4353e7['width'])||0x0))>0x1||Math['abs'](_0x504aff-((_0x4353e7==null?void 0x0:_0x4353e7['height'])||0x0))>0x1){_0x5d8d09==null||_0x5d8d09[_0x348f69(0x3e0)]({..._0x4353e7,'width':_0x2b4d4a,'height':_0x504aff});let _0x14d143=this['_chartInstanceMap']['get'](_0x491abe);_0x14d143&&(this[_0x348f69(0x283)][_0x348f69(0x48b)](_0x491abe),_0x14d143[_0x348f69(0x41b)]());}}}}[_0x2c7e3b(0x2d3)](_0x49e3d3,_0x586a91,_0x2d4737=0x0){const _0x3df87b=_0x2c7e3b;let _0x3176f1=this[_0x3df87b(0x373)][_0x3df87b(0x406)](_0x49e3d3);_0x3176f1||(_0x3176f1=(0x0,t['debounce'])(_0x4b06f5=>{const _0x1837f2=_0x3df87b;this[_0x1837f2(0x4ae)](_0x49e3d3,_0x4b06f5);},_0x2d4737),this[_0x3df87b(0x373)][_0x3df87b(0x3d5)](_0x49e3d3,_0x3176f1)),_0x3176f1(_0x586a91);}[_0x2c7e3b(0x38e)](){const _0xbf9c73=_0x2c7e3b;let _0x39f077=this[_0xbf9c73(0x31a)],_0x7d8899=_0x36519f=>{const _0x36d81f=_0xbf9c73;if(!_0x39f077[_0x36d81f(0x4b6)](_0x36519f)){let _0x2b0bec=(0x0,t[_0x36d81f(0x1c0)])((_0x1d1242,_0x5435c4,_0x845436,_0x316026)=>{const _0xf33c54=_0x36d81f;var _0x26adea,_0x2f73b4;if(!_0x845436)return;(_0x26adea=_0x845436[_0xf33c54(0x2c4)])==null||_0x26adea[_0xf33c54(0x2f9)][_0xf33c54(0x481)]((_0x160de9,_0x1d2512)=>{const _0x2c3185=_0xf33c54;_0x160de9[_0x2c3185(0x3b0)]||=this[_0x2c3185(0x35c)]['t']('sheets-chart-ui.common.category')+'\x20'+(_0x1d2512+0x1);}),_0x845436[_0xf33c54(0x31e)][_0xf33c54(0x481)]((_0x30a9ba,_0x28509f)=>{const _0x14cda7=_0xf33c54;_0x30a9ba[_0x14cda7(0x21f)]||=this[_0x14cda7(0x35c)]['t']('sheets-chart-ui.chord.target')+'\x20'+(_0x28509f+0x1);});let _0x222261=this[_0xf33c54(0x3d0)](_0x1d1242,_0x316026),_0x5bc096=(_0x2f73b4=this[_0xf33c54(0x199)]['getCurrentUnitOfType'](t[_0xf33c54(0x339)][_0xf33c54(0x48c)]))==null?void 0x0:_0x2f73b4[_0xf33c54(0x1bb)]();(_0x5bc096==null?void 0x0:_0x5bc096['getSheetId']())===_0x5435c4&&this[_0xf33c54(0x4a0)](_0x1d1242['id'],_0x845436,_0x222261);},0x11);_0x39f077[_0x36d81f(0x3d5)](_0x36519f,_0x2b0bec);}return _0x39f077['get'](_0x36519f);};this[_0xbf9c73(0x320)](this[_0xbf9c73(0x199)][_0xbf9c73(0x4b8)][_0xbf9c73(0x410)](_0x5dfc4e=>{const _0x583ec9=_0xbf9c73;let _0x5d74a0=this[_0x583ec9(0x199)][_0x583ec9(0x470)](t[_0x583ec9(0x339)][_0x583ec9(0x48c)]);if(_0x5dfc4e&&_0x5d74a0&&_0x5d74a0[_0x583ec9(0x37f)]()===_0x5dfc4e){var _0x56023c;let _0x5122ea=_0x5d74a0[_0x583ec9(0x1bb)]()[_0x583ec9(0x41e)]();this[_0x583ec9(0x261)]&&(this['_lastActiveSheet'][_0x583ec9(0x419)]!==_0x5dfc4e||this[_0x583ec9(0x261)][_0x583ec9(0x368)]!==_0x5122ea)&&this['_clearSheetChartRuntimeCaches'](this[_0x583ec9(0x261)][_0x583ec9(0x419)],this[_0x583ec9(0x261)]['subUnitId']),this['_lastActiveSheet']={'unitId':_0x5dfc4e,'subUnitId':_0x5122ea};let _0x18f949=this[_0x583ec9(0x48e)]['getDrawingData'](_0x5dfc4e,_0x5122ea);if(!((_0x56023c=this[_0x583ec9(0x37b)][_0x583ec9(0x29b)](_0x5dfc4e))!=null&&_0x56023c[_0x583ec9(0x44e)](a[_0x583ec9(0x1cb)])[_0x583ec9(0x201)](_0x5122ea)))return;if(_0x18f949)for(let _0x4ee1a5 in _0x18f949){let {drawingId:_0x5c4bcd}=_0x18f949[_0x4ee1a5],_0x39e8ed=this['_chartModelService']['getChartModel'](_0x5c4bcd);_0x39e8ed&&_0x7d8899(_0x39e8ed['id'])(_0x39e8ed,_0x5122ea,_0x39e8ed[_0x583ec9(0x30a)],this[_0x583ec9(0x35c)][_0x583ec9(0x3b8)]());}}})),this[_0xbf9c73(0x320)](this[_0xbf9c73(0x4ba)][_0xbf9c73(0x49d)][_0xbf9c73(0x410)](()=>{const _0x5711b6=_0xbf9c73;var _0x4545de;let _0x17835c=this[_0x5711b6(0x199)][_0x5711b6(0x470)](t[_0x5711b6(0x339)][_0x5711b6(0x48c)]);if(!_0x17835c)return;let _0xc84c2c=_0x17835c[_0x5711b6(0x37f)](),_0xe1225f=_0x17835c[_0x5711b6(0x1bb)]()[_0x5711b6(0x41e)](),_0x4a69db=this[_0x5711b6(0x48e)][_0x5711b6(0x27f)](_0xc84c2c,_0xe1225f);if((_0x4545de=this['_renderManagerService']['getRenderUnitById'](_0xc84c2c))!=null&&_0x4545de[_0x5711b6(0x44e)](a[_0x5711b6(0x1cb)])[_0x5711b6(0x201)](_0xe1225f)&&_0x4a69db)for(let _0x3aae73 in _0x4a69db){let {drawingId:_0x2cb1be}=_0x4a69db[_0x3aae73],_0x3e3b35=this[_0x5711b6(0x316)]['getChartModel'](_0x2cb1be);_0x3e3b35&&_0x7d8899(_0x3e3b35['id'])(_0x3e3b35,_0xe1225f,_0x3e3b35[_0x5711b6(0x30a)],this[_0x5711b6(0x35c)]['getDirection']());}})),this[_0xbf9c73(0x320)](this[_0xbf9c73(0x48e)]['add$'][_0xbf9c73(0x410)](_0x28c796=>{_0x28c796['forEach'](_0x2e8e71=>{const _0x2e11bb=_0x389a;var _0x552bbf,_0x2065a9;let {drawingId:_0x42321b,unitId:_0x5b3bf2,subUnitId:_0x311ae0}=_0x2e8e71;if(!((_0x552bbf=this[_0x2e11bb(0x37b)][_0x2e11bb(0x29b)](_0x5b3bf2))!=null&&_0x552bbf[_0x2e11bb(0x44e)](a[_0x2e11bb(0x1cb)])[_0x2e11bb(0x201)](_0x311ae0)))return;let {drawingType:_0x35e614}=this[_0x2e11bb(0x48e)][_0x2e11bb(0x1a5)](_0x2e8e71);if(_0x35e614!==t['DrawingTypeEnum']['DRAWING_CHART'])return;let _0x41b0e3=this[_0x2e11bb(0x25e)][_0x2e11bb(0x455)](_0x42321b),_0x759aa=(_0x41b0e3==null?void 0x0:_0x41b0e3[_0x2e11bb(0x348)])??_0x42321b,_0xbb2fa7=_0x41b0e3==null?void 0x0:_0x41b0e3[_0x2e11bb(0x1df)],_0x3e2ed7=(_0x2065a9=this[_0x2e11bb(0x37b)][_0x2e11bb(0x29b)](_0x5b3bf2))==null?void 0x0:_0x2065a9[_0x2e11bb(0x27d)];_0xbb2fa7&&this[_0x2e11bb(0x320)](_0xbb2fa7==null?void 0x0:_0xbb2fa7[_0x2e11bb(0x32c)][_0x2e11bb(0x2a9)](_0x328be5=>{const _0xc45399=_0x2e11bb;let {type:_0x392fb3,value:_0x267ae8}=_0x328be5;if(u['TRANSFORM_CHANGE_OBSERVABLE_TYPE']['resize']===_0x392fb3||u[_0xc45399(0x1fe)][_0xc45399(0x2ec)]===_0x392fb3){let {width:_0x1e120f,height:_0x55cd47}=_0x267ae8;this[_0xc45399(0x2d3)](_0x42321b,{'width':_0x1e120f,'height':_0x55cd47},0x64);}})),_0x3e2ed7&&this[_0x2e11bb(0x320)](_0x3e2ed7[_0x2e11bb(0x32c)][_0x2e11bb(0x2a9)](_0x4e2e65=>{const _0x1cfb49=_0x2e11bb;var _0x3f16d4;_0x4e2e65['type']===u['TRANSFORM_CHANGE_OBSERVABLE_TYPE'][_0x1cfb49(0x262)]&&(_0x3f16d4=document[_0x1cfb49(0x1ec)](_0x759aa))!=null&&_0x3f16d4['querySelector'](_0x1cfb49(0x423))&&this[_0x1cfb49(0x283)]['syncHostLayout'](_0x42321b);}));let _0x52170a=this[_0x2e11bb(0x316)][_0x2e11bb(0x300)](_0x42321b);_0x52170a&&this['disposeWithMe']((0x0,s['combineLatest'])([_0x52170a[_0x2e11bb(0x33a)],_0x52170a[_0x2e11bb(0x489)],this[_0x2e11bb(0x35c)][_0x2e11bb(0x255)]])[_0x2e11bb(0x410)](([_0x1258c6,_0x2ff139,_0x56054a])=>{_0x7d8899(_0x52170a['id'])(_0x52170a,_0x311ae0,_0x1258c6,_0x56054a);}));});})),this['disposeWithMe']((0x0,s[_0xbf9c73(0x433)])([this['_drawingManagerService'][_0xbf9c73(0x3c5)]])['subscribe'](([_0x483a85])=>{const _0x18256f=_0xbf9c73;_0x483a85[_0x18256f(0x481)](_0x50620e=>{const _0x5b1f89=_0x18256f;var _0x4f620a;let {drawingId:_0x28ef30}=_0x50620e;((_0x4f620a=this[_0x5b1f89(0x316)]['activeChartModel'])==null?void 0x0:_0x4f620a['id'])===_0x28ef30&&this[_0x5b1f89(0x316)][_0x5b1f89(0x18f)](null),this['_disposeChartEventSubscriptions'](_0x28ef30),this[_0x5b1f89(0x321)][_0x5b1f89(0x188)](_0x28ef30),this[_0x5b1f89(0x283)][_0x5b1f89(0x440)](_0x28ef30),this[_0x5b1f89(0x29a)](_0x28ef30),this[_0x5b1f89(0x349)](_0x28ef30),this[_0x5b1f89(0x4b2)][_0x5b1f89(0x2d4)](_0x28ef30),this[_0x5b1f89(0x204)](_0x28ef30),this[_0x5b1f89(0x34a)][_0x5b1f89(0x188)](_0x28ef30),this[_0x5b1f89(0x288)]['delete'](_0x28ef30);});}));}[_0x2c7e3b(0x279)](_0x26b2a3,_0x3d4b53){const _0x1c588f=_0x2c7e3b;var _0xd0a1a5;_0x3d4b53?this[_0x1c588f(0x288)][_0x1c588f(0x3d5)](_0x26b2a3,!0x0):this[_0x1c588f(0x288)][_0x1c588f(0x188)](_0x26b2a3),(_0xd0a1a5=this[_0x1c588f(0x4a6)][_0x1c588f(0x406)](_0x26b2a3))==null||_0xd0a1a5['setElementEditMode'](_0x3d4b53);}async['exportImage'](_0x3a0470){const _0x54ecf7=_0x2c7e3b;let _0xffd73f=this[_0x54ecf7(0x4a6)]['get'](_0x3a0470);if(_0xffd73f){let _0x29b457=this[_0x54ecf7(0x288)][_0x54ecf7(0x406)](_0x3a0470)===!0x0;_0x29b457&&_0xffd73f[_0x54ecf7(0x279)](!0x1);try{let _0x24dccd=await _0xffd73f[_0x54ecf7(0x3ad)]();if(_0x24dccd)return _0x24dccd;}finally{_0x29b457&&this[_0x54ecf7(0x4a6)][_0x54ecf7(0x406)](_0x3a0470)===_0xffd73f&&_0xffd73f['setElementEditMode'](!0x0);}}let _0x296e68=this['_getCurrentSnapshotImage'](_0x3a0470);return _0x296e68?(0x0,c[_0x54ecf7(0x1c5)])(_0x296e68):void 0x0;}['on'](_0x218526,_0x5922e5,_0x1d3dbd){const _0x1929f1=_0x2c7e3b;let _0x5b30a5=this[_0x1929f1(0x321)][_0x1929f1(0x406)](_0x218526);_0x5b30a5||(_0x5b30a5=new Map(),this[_0x1929f1(0x321)]['set'](_0x218526,_0x5b30a5));let _0xeabe80=_0x5b30a5[_0x1929f1(0x406)](_0x5922e5);_0xeabe80||(_0xeabe80=new Set(),_0x5b30a5[_0x1929f1(0x3d5)](_0x5922e5,_0xeabe80)),_0xeabe80[_0x1929f1(0x499)](_0x1d3dbd);let _0x5a592a=this[_0x1929f1(0x4a6)][_0x1929f1(0x406)](_0x218526);return _0x5a592a&&this[_0x1929f1(0x2b2)](_0x218526,_0x5a592a,_0x5922e5,_0x1d3dbd),{'dispose':()=>{const _0x3725a6=_0x1929f1;var _0x28ffb8;(_0x28ffb8=this[_0x3725a6(0x321)][_0x3725a6(0x406)](_0x218526))==null||(_0x28ffb8=_0x28ffb8[_0x3725a6(0x406)](_0x5922e5))==null||_0x28ffb8[_0x3725a6(0x188)](_0x1d3dbd),this[_0x3725a6(0x226)](_0x218526,_0x5922e5,_0x1d3dbd);}};}[_0x2c7e3b(0x411)](_0x4d2635){const _0x5e423f=_0x2c7e3b;let _0x46c290=this[_0x5e423f(0x199)][_0x5e423f(0x470)](t['UniverInstanceType'][_0x5e423f(0x48c)]),_0x544f66=_0x46c290==null?void 0x0:_0x46c290['getActiveSheet'](),_0x3a70f0=_0x46c290==null?void 0x0:_0x46c290[_0x5e423f(0x37f)](),_0x171455=_0x544f66==null?void 0x0:_0x544f66[_0x5e423f(0x41e)]();if(!(!_0x3a70f0||!_0x171455))return this['_chartSnapshotStoreService'][_0x5e423f(0x23d)]({'unitId':_0x3a70f0,'subUnitId':_0x171455,'chartId':_0x4d2635});}[_0x2c7e3b(0x2ba)](_0x470015,_0x16b16a){const _0x3ec997=_0x2c7e3b;let _0x414d75=this[_0x3ec997(0x321)][_0x3ec997(0x406)](_0x470015);_0x414d75&&_0x414d75['forEach']((_0x208cce,_0x247941)=>{_0x208cce['forEach'](_0x40f89b=>this['_bindChartEventHandler'](_0x470015,_0x16b16a,_0x247941,_0x40f89b));});}[_0x2c7e3b(0x2b2)](_0x42d65b,_0x4a484f,_0x27e3c4,_0x432984){const _0x3f6f12=_0x2c7e3b;let _0x323670=this[_0x3f6f12(0x40d)][_0x3f6f12(0x406)](_0x42d65b);_0x323670||(_0x323670=new Map(),this[_0x3f6f12(0x40d)]['set'](_0x42d65b,_0x323670));let _0x4ca1bf=_0x323670['get'](_0x27e3c4);_0x4ca1bf||(_0x4ca1bf=new Map(),_0x323670[_0x3f6f12(0x3d5)](_0x27e3c4,_0x4ca1bf)),!_0x4ca1bf[_0x3f6f12(0x4b6)](_0x432984)&&_0x4ca1bf[_0x3f6f12(0x3d5)](_0x432984,_0x4a484f['on'](_0x27e3c4,_0x432984));}[_0x2c7e3b(0x226)](_0x5f07a0,_0x146943,_0x47e8ae){const _0x34acdd=_0x2c7e3b;var _0x200faa,_0x29a845;let _0x2cd8c0=(_0x200faa=this['_chartEventSubscriptions']['get'](_0x5f07a0))==null?void 0x0:_0x200faa[_0x34acdd(0x406)](_0x146943);_0x2cd8c0==null||(_0x29a845=_0x2cd8c0['get'](_0x47e8ae))==null||_0x29a845[_0x34acdd(0x21d)](),_0x2cd8c0==null||_0x2cd8c0[_0x34acdd(0x188)](_0x47e8ae);}[_0x2c7e3b(0x2c8)](_0x1aafb3){const _0x478d02=_0x2c7e3b;let _0x34b467=this[_0x478d02(0x40d)]['get'](_0x1aafb3);_0x34b467==null||_0x34b467[_0x478d02(0x481)](_0x253d56=>{const _0x3c4af1=_0x478d02;_0x253d56[_0x3c4af1(0x481)](_0x146160=>_0x146160['dispose']()),_0x253d56['clear']();}),this[_0x478d02(0x40d)][_0x478d02(0x188)](_0x1aafb3);}[_0x2c7e3b(0x3d0)](_0x189fcc,_0x39a61a){const _0x1b14c6=_0x2c7e3b;return he(_0x189fcc,_0x39a61a,this[_0x1b14c6(0x3d7)]);}[_0x2c7e3b(0x41a)](_0xea36f3){const _0x241e24=_0x2c7e3b;return this[_0x241e24(0x378)](_0xea36f3)==null;}[_0x2c7e3b(0x378)](_0x14dbf0){const _0x3ee862=_0x2c7e3b;var _0x34ec22;let _0x25577b=this['_sheetCanvasFloatDomManagerService'][_0x3ee862(0x455)](_0x14dbf0);if(!_0x25577b)return _0x3ee862(0x361);let {subUnitId:_0x4b6086}=_0x25577b,_0x5d368e=(_0x34ec22=this[_0x3ee862(0x199)][_0x3ee862(0x470)](t[_0x3ee862(0x339)]['UNIVER_SHEET']))==null?void 0x0:_0x34ec22[_0x3ee862(0x1bb)]();if(!_0x5d368e)return _0x3ee862(0x34b);if(_0x5d368e[_0x3ee862(0x41e)]()!==_0x4b6086)return _0x3ee862(0x1eb);}async[_0x2c7e3b(0x4a0)](_0x7a996f,_0x3b2d87,_0x4e718e){const _0x361142=_0x2c7e3b;let _0x3fd00a=this['_renderModelManager']['getRenderModel'](c[_0x361142(0x211)]);if(!_0x3fd00a||(this[_0x361142(0x34a)][_0x361142(0x3d5)](_0x7a996f,{'config':_0x3b2d87,'style':_0x4e718e}),this[_0x361142(0x378)](_0x7a996f)))return;let _0x48932f=this['_resolveChartRenderMode'](_0x7a996f);if(_0x48932f===e[_0x361142(0x4bc)][_0x361142(0x248)])this[_0x361142(0x317)](_0x7a996f);else{var _0x23e799;this[_0x361142(0x283)][_0x361142(0x367)](_0x7a996f),((_0x23e799=this[_0x361142(0x316)][_0x361142(0x3cb)])==null?void 0x0:_0x23e799['id'])===_0x7a996f&&this[_0x361142(0x254)](_0x7a996f);}let _0x1f18be=_0x48932f===e['ChartRenderMode'][_0x361142(0x248)]?c[_0x361142(0x25a)]['Image']:c[_0x361142(0x25a)][_0x361142(0x33e)],_0x379d52=await this[_0x361142(0x283)][_0x361142(0x26c)](_0x7a996f,_0x1f18be);if(!_0x379d52)return;let _0xd896e6=this[_0x361142(0x3da)](_0x7a996f,_0x1f18be,_0x3fd00a);_0xd896e6['bind'](_0x379d52);try{await _0xd896e6[_0x361142(0x4a0)]({'chartId':_0x7a996f,'config':_0x3b2d87,'style':_0x4e718e});}catch(_0x5d0f19){if(_0x48932f!==e[_0x361142(0x4bc)][_0x361142(0x248)])throw _0x5d0f19;}}async[_0x2c7e3b(0x1db)](_0x17cadc,_0x314b1d,_0x574013){const _0x17cfb4=_0x2c7e3b;let _0x2e570c=this[_0x17cfb4(0x48e)][_0x17cfb4(0x27f)](_0x17cadc,_0x314b1d),_0x302136=this['_drawingManagerService'][_0x17cfb4(0x1d3)](_0x17cadc,_0x314b1d),_0x491ba5=Object['values'](_0x2e570c??{})['filter'](_0x2fd425=>_0x2fd425[_0x17cfb4(0x1b5)]===t['DrawingTypeEnum'][_0x17cfb4(0x382)]&&_0x2fd425[_0x17cfb4(0x250)]!==!0x0);await Promise[_0x17cfb4(0x326)](_0x491ba5[_0x17cfb4(0x1f5)](async _0x25f6c5=>{const _0x3fc280=_0x17cfb4;let _0x19b813=await this[_0x3fc280(0x26b)](_0x25f6c5,_0x302136);_0x19b813&&(_0x574013[_0x3fc280(0x30b)](_0x19b813,u[_0x3fc280(0x1e4)]),_0x25f6c5[_0x3fc280(0x474)]&&(0x0,l[_0x3fc280(0x2ff)])({'drawingId':_0x25f6c5[_0x3fc280(0x474)],'unitId':_0x17cadc,'subUnitId':_0x314b1d},_0x19b813,_0x574013,this[_0x3fc280(0x48e)]));}));}async[_0x2c7e3b(0x26b)](_0x21cd7f,_0x503056){const _0x249daf=_0x2c7e3b;let _0x3b8458=this[_0x249daf(0x316)]['getChartModel'](_0x21cd7f[_0x249daf(0x449)]),_0x54de7c=this[_0x249daf(0x26a)][_0x249daf(0x275)](c[_0x249daf(0x211)]),_0x317e37=_0x21cd7f['transform'],_0x330eda=_0x3b8458==null?void 0x0:_0x3b8458[_0x249daf(0x30a)];if(!_0x3b8458||!_0x54de7c||!_0x317e37||!_0x330eda||_0x317e37[_0x249daf(0x363)]==null||_0x317e37[_0x249daf(0x412)]==null)return null;let _0x282d79=new me(_0x21cd7f[_0x249daf(0x449)],{'width':_0x317e37['width'],'height':_0x317e37[_0x249daf(0x412)]}),_0x5a86da=_0x54de7c[_0x249daf(0x22d)](c['ChartHostRenderMode'][_0x249daf(0x248)],this['_createChartRenderInstanceContext']());_0x5a86da[_0x249daf(0x302)](_0x282d79);let _0x5bacde;try{await _0x5a86da[_0x249daf(0x4a0)]({'chartId':_0x21cd7f[_0x249daf(0x449)],'config':_0x330eda,'style':this[_0x249daf(0x3d0)](_0x3b8458,this[_0x249daf(0x35c)][_0x249daf(0x3b8)]())});}catch(_0x375c2d){console['error']('[ChartRender]\x20Failed\x20to\x20render\x20chart\x20snapshot\x20for\x20printing',_0x375c2d);}finally{_0x5bacde=_0x282d79[_0x249daf(0x310)](),_0x5a86da[_0x249daf(0x21d)](),_0x282d79[_0x249daf(0x21d)]();}let _0x482135=this[_0x249daf(0x4b2)][_0x249daf(0x23d)]({'unitId':_0x21cd7f[_0x249daf(0x419)],'subUnitId':_0x21cd7f[_0x249daf(0x368)],'chartId':_0x21cd7f[_0x249daf(0x449)]}),_0x160f75=_0x5bacde??_0x482135;if(!_0x160f75)return null;let _0x571aff=_0x503056['indexOf'](_0x21cd7f[_0x249daf(0x449)]);return new ie((0x0,n[_0x249daf(0x43f)])(_0x21cd7f),{..._0x317e37,...i[_0x249daf(0x338)],...de(_0x282d79[_0x249daf(0x354)]),'visible':!0x0,'zIndex':_0x571aff===-0x1?Math['max'](_0x503056['length']-0x1,0x0):_0x571aff},()=>_0x160f75,void 0x0,_0x5bacde?()=>D(_0x5bacde):void 0x0);}[_0x2c7e3b(0x3da)](_0x1aad27,_0x494cb8,_0x597875){const _0x1b57d9=_0x2c7e3b;let _0x3bbe61=this[_0x1b57d9(0x4a6)]['get'](_0x1aad27);if((_0x3bbe61==null?void 0x0:_0x3bbe61['mode'])===_0x494cb8)return _0x3bbe61;_0x3bbe61&&(this[_0x1b57d9(0x2c8)](_0x1aad27),_0x3bbe61[_0x1b57d9(0x21d)](),this[_0x1b57d9(0x4a6)][_0x1b57d9(0x188)](_0x1aad27));let _0x272768=_0x597875['createChartInstance'](_0x494cb8,this[_0x1b57d9(0x23b)]());return this[_0x1b57d9(0x4a6)][_0x1b57d9(0x3d5)](_0x1aad27,_0x272768),_0x272768['setElementEditMode'](this[_0x1b57d9(0x288)]['get'](_0x1aad27)===!0x0),this['_bindChartEventHandlers'](_0x1aad27,_0x272768),_0x272768;}[_0x2c7e3b(0x23b)](){const _0x1f86c2=_0x2c7e3b;return{'resolveHostStyle':({style:_0x440305})=>(0x0,c[_0x1f86c2(0x454)])({'style':_0x440305,'getRenderColor':_0x34abb7=>this['_chartThemeService'][_0x1f86c2(0x456)](_0x34abb7)}),'resolveRenderBackgroundColor':({style:_0x25b246})=>this['_chartThemeService'][_0x1f86c2(0x456)]((0x0,c[_0x1f86c2(0x3f8)])(_0x25b246))};}[_0x2c7e3b(0x3ac)](){const _0x4b223a=_0x2c7e3b;this['_renderDebounceMap'][_0x4b223a(0x481)](_0xe7bb10=>_0xe7bb10[_0x4b223a(0x2e7)]()),this[_0x4b223a(0x31a)][_0x4b223a(0x42c)](),this[_0x4b223a(0x373)][_0x4b223a(0x481)](_0x5a2ed5=>_0x5a2ed5['cancel']()),this[_0x4b223a(0x373)][_0x4b223a(0x42c)]();}[_0x2c7e3b(0x21d)](){const _0x35089c=_0x2c7e3b;Array[_0x35089c(0x3f2)](this[_0x35089c(0x4a6)][_0x35089c(0x2ae)]())[_0x35089c(0x481)](_0xd0b990=>this[_0x35089c(0x349)](_0xd0b990)),this['_chartElementEditMode'][_0x35089c(0x42c)](),this['_cancelDebouncedCallbacks'](),this[_0x35089c(0x34a)]['clear'](),this[_0x35089c(0x395)]=null,this[_0x35089c(0x261)]=null,super[_0x35089c(0x21d)]();}};P=A([k(0x0,j),k(0x1,(0x0,t[_0x2c7e3b(0x1a4)])(i['SheetCanvasFloatDomManagerService'])),k(0x2,(0x0,t['Inject'])(e['ChartModelService'])),k(0x3,n[_0x2c7e3b(0x496)]),k(0x4,t['IUniverInstanceService']),k(0x5,(0x0,t[_0x2c7e3b(0x1a4)])(u['IRenderManagerService'])),k(0x6,(0x0,t[_0x2c7e3b(0x1a4)])(t[_0x2c7e3b(0x1ac)])),k(0x7,M),k(0x8,(0x0,t[_0x2c7e3b(0x1a4)])(t[_0x2c7e3b(0x2f1)])),k(0x9,(0x0,t['Inject'])(c[_0x2c7e3b(0x24c)])),k(0xa,(0x0,t[_0x2c7e3b(0x1a4)])(t[_0x2c7e3b(0x2fe)])),k(0xb,t[_0x2c7e3b(0x304)]),k(0xc,(0x0,t[_0x2c7e3b(0x1a4)])(se)),k(0xd,c['IChartRenderModelManagerService'])],P);function F(_0x435243){const _0x479af1=_0x2c7e3b;let _0x25c08d=_0x435243[_0x479af1(0x406)](r[_0x479af1(0x42a)])['getFocusDrawings']();if(_0x25c08d[_0x479af1(0x3ab)]!==0x1)return null;let _0x16d78e=_0x25c08d[0x0];return _0x16d78e['drawingType']===t['DrawingTypeEnum'][_0x479af1(0x382)]?_0x16d78e:null;}function ge(_0x2fb61b,_0x1ad34e){const _0x348f8d=_0x2c7e3b;let _0x6bf7b8=document[_0x348f8d(0x2b3)]('a');_0x6bf7b8[_0x348f8d(0x3cc)]=_0x2fb61b,_0x6bf7b8[_0x348f8d(0x38d)]=_0x1ad34e,_0x6bf7b8['click']();}const I={'id':_0x2c7e3b(0x3cd),'type':t['CommandType'][_0x2c7e3b(0x2eb)],'handler':(_0x5dccd9,_0xb07d44)=>{const _0x57fcea=_0x2c7e3b;let _0x3c76f7=F(_0x5dccd9);return _0x3c76f7?_0x5dccd9[_0x57fcea(0x406)](t['ICommandService'])[_0x57fcea(0x1a1)](S['id'],{'unitId':_0x3c76f7[_0x57fcea(0x419)],'subUnitId':_0x3c76f7[_0x57fcea(0x368)],'drawingId':_0x3c76f7[_0x57fcea(0x449)],..._0xb07d44!=null&&_0xb07d44[_0x57fcea(0x45d)]?{'route':_0xb07d44[_0x57fcea(0x45d)]}:{}}):!0x1;}},L={'id':'sheet.command.chart.copy-focused-chart','type':t[_0x2c7e3b(0x494)]['COMMAND'],'handler':_0x358d02=>F(_0x358d02)?_0x358d02['get'](t['ICommandService'])['executeCommand'](a[_0x2c7e3b(0x3fd)]['id']):!0x1},R={'id':_0x2c7e3b(0x239),'type':t[_0x2c7e3b(0x494)]['COMMAND'],'handler':async _0x250643=>{const _0x222a89=_0x2c7e3b;let _0x26ba81=F(_0x250643);if(!_0x26ba81)return!0x1;let _0x546a25=await _0x250643[_0x222a89(0x406)](P)[_0x222a89(0x2a2)](_0x26ba81['drawingId']);return _0x546a25?(ge(_0x546a25,_0x26ba81[_0x222a89(0x449)]+_0x222a89(0x23e)),!0x0):!0x1;}},z={'id':_0x2c7e3b(0x1e9),'type':t[_0x2c7e3b(0x494)][_0x2c7e3b(0x2eb)],'handler':_0x5c1f48=>{const _0x4162af=_0x2c7e3b;let _0x470dae=F(_0x5c1f48);return _0x470dae?_0x5c1f48[_0x4162af(0x406)](t[_0x4162af(0x1a6)])[_0x4162af(0x1a1)](r[_0x4162af(0x1b6)]['id'],{'unitId':_0x470dae[_0x4162af(0x419)],'drawings':[{'unitId':_0x470dae[_0x4162af(0x419)],'subUnitId':_0x470dae[_0x4162af(0x368)],'drawingId':_0x470dae[_0x4162af(0x449)],'drawingType':t[_0x4162af(0x241)][_0x4162af(0x382)]}]}):!0x1;}},_e='SHEETS_CHART_CONTEXT_MENU';function B(_0x561b42){const _0x51f788=_0x2c7e3b;let _0x4d6700=_0x561b42['get'](r[_0x51f788(0x42a)]);return _0x4d6700[_0x51f788(0x287)][_0x51f788(0x3df)]((0x0,s[_0x51f788(0x1e2)])(_0x4d6700['getFocusDrawings']()),(0x0,s[_0x51f788(0x1f5)])(()=>F(_0x561b42)==null));}function ve(_0xefb443){const _0x87b70e=_0x2c7e3b;return{'id':I['id'],'commandId':I['id'],'type':o['MenuItemType'][_0x87b70e(0x1f4)],'title':_0xefb443['get'](t[_0x87b70e(0x1ac)])['t'](_0x87b70e(0x3af)),'icon':_0x87b70e(0x2f6),'hidden$':B(_0xefb443)};}function ye(_0x1f0d9c){const _0x12f642=_0x2c7e3b;return{'id':L['id'],'commandId':L['id'],'type':o[_0x12f642(0x436)]['BUTTON'],'title':_0x1f0d9c[_0x12f642(0x406)](t[_0x12f642(0x1ac)])['t']('sheets-chart-ui.common.copy'),'icon':_0x12f642(0x442),'hidden$':B(_0x1f0d9c)};}function be(_0x1fb4fc){const _0x337880=_0x2c7e3b;return{'id':R['id'],'commandId':R['id'],'type':o['MenuItemType'][_0x337880(0x1f4)],'title':_0x1fb4fc['get'](t[_0x337880(0x1ac)])['t'](_0x337880(0x435)),'icon':_0x337880(0x1a7),'hidden$':B(_0x1fb4fc)};}function xe(_0x285c2b){const _0x5c2f71=_0x2c7e3b;return{'id':z['id'],'commandId':z['id'],'type':o[_0x5c2f71(0x436)][_0x5c2f71(0x1f4)],'title':_0x285c2b[_0x5c2f71(0x406)](t[_0x5c2f71(0x1ac)])['t'](_0x5c2f71(0x247)),'icon':_0x5c2f71(0x245),'hidden$':B(_0x285c2b)};}const V={'type':t[_0x2c7e3b(0x494)][_0x2c7e3b(0x2eb)],'id':_0x2c7e3b(0x284),'handler':async(_0x187e44,_0x40e2b9)=>{const _0x44f701=_0x2c7e3b;let _0x16ce3c=(0x0,f[_0x44f701(0x19b)])(_0x187e44['get'](t[_0x44f701(0x2ce)]));if(!_0x16ce3c)return!0x1;let _0x15443f=_0x187e44['get'](f['SheetsSelectionsService'])['getCurrentLastSelection']();if(!_0x15443f)return!0x1;let {range:_0x503318}=_0x15443f,_0xeaf488=_0x187e44[_0x44f701(0x406)](t['ICommandService']),{unitId:_0x3f43a6,subUnitId:_0x1efa5a}=_0x16ce3c,{pieSecondaryPlotType:_0x258cac,value:_0x40d295}=_0x40e2b9,_0x43c70f=_0x258cac!==void 0x0;if(_0x43c70f&&(_0x40d295!==c['ChartTypeBits']['Pie']||_0x258cac!==c[_0x44f701(0x202)][_0x44f701(0x364)]&&_0x258cac!==c['PieSecondaryPlotType'][_0x44f701(0x1c3)]))return!0x1;let _0xc3d944=_0x43c70f?(0x0,t[_0x44f701(0x495)])():void 0x0;return _0xeaf488[_0x44f701(0x1a1)](e[_0x44f701(0x26e)]['id'],{'unitId':_0x3f43a6,'subUnitId':_0x1efa5a,'chartType':_0x40d295,..._0xc3d944&&_0x258cac?{'chartId':_0xc3d944,'config':{'unitId':_0x3f43a6,'chartModelId':_0xc3d944,'style':{'pie':{'composite':{'enabled':!0x0,'secondaryPlot':{'type':_0x258cac}}}}}}:{},'source':{'rangeInfo':{'unitId':_0x3f43a6,'subUnitId':_0x1efa5a,'range':_0x503318}}});}};function Se(_0x461b51,_0x1ca2cb){const _0x187e7b=_0x2c7e3b;return _0x461b51==null||Array[_0x187e7b(0x463)](_0x461b51)?'':Ce(_0x461b51[_0x187e7b(0x464)],_0x1ca2cb);}function Ce(_0x50b6db,_0x174820){const _0xe76c8e=_0x2c7e3b;var _0x4214e9;let {unitId:_0x3591d8,subUnitId:_0xa1ddac,range:_0x1bdefd}=_0x50b6db,_0x350538=(_0x4214e9=_0x174820[_0xe76c8e(0x1f8)](_0x3591d8))==null?void 0x0:_0x4214e9['getSheetBySheetId'](_0xa1ddac);return _0x350538?(0x0,p[_0xe76c8e(0x194)])(_0x350538[_0xe76c8e(0x409)](),_0x1bdefd):'';}const we=new Set([_0x2c7e3b(0x397),_0x2c7e3b(0x462)]),Te=d['CHART_TYPE_CATALOG'][_0x2c7e3b(0x379)](_0x4cc311=>!we[_0x2c7e3b(0x4b6)](_0x4cc311[_0x2c7e3b(0x352)]))[_0x2c7e3b(0x1f5)](_0x2b4ff8=>({'id':'id'in _0x2b4ff8?_0x2b4ff8['id']:void 0x0,'labelId':_0x2b4ff8[_0x2c7e3b(0x352)],'pieSecondaryPlotType':_0x2c7e3b(0x2b8)in _0x2b4ff8?_0x2b4ff8[_0x2c7e3b(0x2b8)]:void 0x0,'value':_0x2b4ff8[_0x2c7e3b(0x4be)],'icon':_0x2b4ff8[_0x2c7e3b(0x2fa)]}));function Ee(_0x4a6134=Te){const _0x2433f2=_0x2c7e3b;return _0x4a6134[_0x2433f2(0x1f5)](({id:_0x32c01e,icon:_0x1ca4f0,value:_0xb1a294})=>{const _0x547e5e=_0x2433f2;let _0x55fdaa=(0x0,d['resolveChartCreationIntent'])(_0x32c01e??String(_0xb1a294)),_0x6beccd=_0x55fdaa?{'value':_0x55fdaa[_0x547e5e(0x334)],..._0x55fdaa['pieSecondaryPlotType']?{'pieSecondaryPlotType':_0x55fdaa[_0x547e5e(0x2b8)]}:{}}:{'value':_0xb1a294};return{'icon':_0x1ca4f0,'value':_0x32c01e??_0xb1a294,'params':_0x6beccd};});}const De=(_0x72b0d1,_0x4c7a7e)=>{const _0x53488f=_0x2c7e3b;if(_0x4c7a7e[_0x53488f(0x3ab)]===0x1&&_0x4c7a7e[0x0]===_0x53488f(0x2ec))return _0x72b0d1;if(_0x4c7a7e[_0x53488f(0x3ab)]>0x1){let _0x32f01f=new Set();for(let _0x5c5382 of _0x4c7a7e)_0x32f01f[_0x53488f(0x499)](Number(_0x5c5382));return _0x72b0d1[_0x53488f(0x379)](_0x1007fb=>_0x32f01f[_0x53488f(0x4b6)](_0x1007fb[_0x53488f(0x4be)]));}return[];};function Oe(_0x8a2761){const _0x32e45d=_0x2c7e3b;let _0x40be9b=_0x8a2761[_0x32e45d(0x406)](t[_0x32e45d(0x2ce)]),_0x4846aa=(0x0,e['getAllowedChartTypes'])(_0x8a2761),_0x11a208=De(Te[_0x32e45d(0x25c)](),_0x4846aa),_0x19f5cb=_0x8a2761['get'](t['LocaleService']),_0x465ce1=Ee(_0x11a208)[_0x32e45d(0x1f5)]((_0x30d133,_0x21fd09)=>({..._0x30d133,'label':_0x19f5cb['t']('sheets-chart-ui.chartTypes.'+_0x11a208[_0x21fd09][_0x32e45d(0x352)])}));return{'id':V['id'],'type':o[_0x32e45d(0x436)]['SELECTOR'],'selectionsCommandId':V['id'],'selections':_0x465ce1,'icon':'ChartIcon','tooltip':_0x19f5cb['t'](_0x32e45d(0x246)),'activated$':(0x0,a[_0x32e45d(0x290)])(_0x40be9b,!0x1,()=>new s[(_0x32e45d(0x415))](_0x55437a=>{const _0x30be7d=_0x32e45d;_0x55437a[_0x30be7d(0x386)](!0x1);})),'hidden$':(0x0,o[_0x32e45d(0x27a)])(_0x8a2761,t['UniverInstanceType'][_0x32e45d(0x48c)]),'disabled$':(0x0,a['getCurrentRangeDisable$'])(_0x8a2761)};}const ke={[o[_0x2c7e3b(0x219)]['MEDIA']]:{[V['id']]:{'order':0x4,'menuItemFactory':Oe}},[o[_0x2c7e3b(0x329)][_0x2c7e3b(0x24e)]]:{[_e]:{'order':0x6,[o[_0x2c7e3b(0x35f)][_0x2c7e3b(0x2ca)]]:{[I['id']]:{'order':0x0,'menuItemFactory':ve},[L['id']]:{'order':0x1,'menuItemFactory':ye},[R['id']]:{'order':0x2,'menuItemFactory':be},[z['id']]:{'order':0x3,'menuItemFactory':xe}}}}};function Ae(_0x3973f1){const _0x35d7cc=_0x2c7e3b;return _0x3973f1===c['ChartTypeBits'][_0x35d7cc(0x439)]||_0x3973f1===c['ChartTypeBits'][_0x35d7cc(0x293)]||_0x3973f1===c[_0x35d7cc(0x45e)]['Boxplot']||c['chartBitsUtils'][_0x35d7cc(0x303)](_0x3973f1,c[_0x35d7cc(0x45e)][_0x35d7cc(0x1e5)])||c[_0x35d7cc(0x4aa)][_0x35d7cc(0x303)](_0x3973f1,c[_0x35d7cc(0x45e)][_0x35d7cc(0x37e)])||c['chartBitsUtils'][_0x35d7cc(0x303)](_0x3973f1,c['ChartTypeBits'][_0x35d7cc(0x1a3)])||c[_0x35d7cc(0x4aa)][_0x35d7cc(0x303)](_0x3973f1,c[_0x35d7cc(0x45e)][_0x35d7cc(0x264)]);}function je(_0x1d7bcb){const _0x3767c3=_0x2c7e3b;return Ae(_0x1d7bcb)||c[_0x3767c3(0x4aa)]['baseOn'](_0x1d7bcb,c[_0x3767c3(0x45e)][_0x3767c3(0x364)])||c[_0x3767c3(0x4aa)][_0x3767c3(0x303)](_0x1d7bcb,c['ChartTypeBits'][_0x3767c3(0x3ed)])||c[_0x3767c3(0x4aa)][_0x3767c3(0x303)](_0x1d7bcb,c[_0x3767c3(0x45e)][_0x3767c3(0x47c)]);}function Me(_0x97164a,_0x324395){const _0x518203=_0x2c7e3b;let _0x2fcc23=(0x0,d['resolveChartElementSelection'])(_0x97164a,_0x324395),_0x258a13=_0x2fcc23?(0x0,d[_0x518203(0x3d3)])(_0x2fcc23[_0x518203(0x311)]):void 0x0;if(!(!_0x2fcc23||!_0x258a13))return{..._0x2fcc23,'route':_0x258a13,'showFloatMenu':je(_0x97164a[_0x518203(0x334)])&&_0x2fcc23[_0x518203(0x38a)]};}var Ne;const Pe={'axis':{...d[_0x2c7e3b(0x393)],'primaryGridLineVisible':!0x1,'secondaryGridLineVisible':!0x0},'funnel':d[_0x2c7e3b(0x1c1)],'heatmap':d[_0x2c7e3b(0x408)],'indicatorLine':d['DEFAULT_CHART_INDICATOR_LINE_VALUES'],'legend':d['DEFAULT_CHART_LEGEND_VALUES'],'lineAndArea':d['DEFAULT_CHART_LINE_AND_AREA_VALUES'],'pareto':d['DEFAULT_CHART_PARETO_VALUES'],'pie':{...d['DEFAULT_CHART_PIE_VALUES'],'doughnutHole':0.5,'pieHole':0x0},'relation':{...d[_0x2c7e3b(0x3a8)],'useValueAsSymbolSize':!0x0},'radar':d[_0x2c7e3b(0x48d)],'series':{...d[_0x2c7e3b(0x1f6)],'radarFillOpacity':0.2,'rightAxis':{'ltr':!0x1,'rtl':((Ne=c[_0x2c7e3b(0x313)][_0x2c7e3b(0x296)])==null?void 0x0:Ne[_0x2c7e3b(0x1fb)])??!0x1}},'style':d['DEFAULT_CHART_STYLE_VALUES'],'titles':d[_0x2c7e3b(0x21b)],'trendline':d['DEFAULT_CHART_TRENDLINE_VALUES'],'waterfall':{...d[_0x2c7e3b(0x49a)],'useSubtotal':!0x0},'waterfallStyle':d[_0x2c7e3b(0x2be)],'wordCloud':d[_0x2c7e3b(0x385)]},Fe=_0x1b10ed=>_0x1b10ed[_0x2c7e3b(0x470)](t[_0x2c7e3b(0x339)]['UNIVER_SHEET'])['getUnitId'](),Ie=_0x3564ee=>{const _0x1fe76c=_0x2c7e3b;var _0x27020b;return(_0x27020b=_0x3564ee[_0x1fe76c(0x470)](t[_0x1fe76c(0x339)][_0x1fe76c(0x48c)])[_0x1fe76c(0x1bb)]())==null?void 0x0:_0x27020b[_0x1fe76c(0x41e)]();},Le=[c[_0x2c7e3b(0x45e)][_0x2c7e3b(0x1e5)],c[_0x2c7e3b(0x45e)][_0x2c7e3b(0x293)],c['ChartTypeBits']['WordCloud'],c[_0x2c7e3b(0x45e)]['Scatter'],c['ChartTypeBits'][_0x2c7e3b(0x240)],c['ChartTypeBits']['Relation'],c[_0x2c7e3b(0x45e)][_0x2c7e3b(0x448)],c['ChartTypeBits'][_0x2c7e3b(0x40c)],c['ChartTypeBits'][_0x2c7e3b(0x473)],c[_0x2c7e3b(0x45e)][_0x2c7e3b(0x401)],c[_0x2c7e3b(0x45e)][_0x2c7e3b(0x37d)],c['ChartTypeBits'][_0x2c7e3b(0x43a)],c['ChartTypeBits'][_0x2c7e3b(0x256)],c[_0x2c7e3b(0x45e)]['Gauge'],c[_0x2c7e3b(0x45e)][_0x2c7e3b(0x4bf)]];function Re(){const _0x1c49ec=_0x2c7e3b;let _0x3bf179=(0x0,d[_0x1c49ec(0x294)])();return(0x0,_[_0x1c49ec(0x3ae)])(d['ChartGradientFillField'],{'visible':Le[_0x1c49ec(0x273)](_0x5d1859=>!c['chartBitsUtils'][_0x1c49ec(0x303)](_0x3bf179,_0x5d1859))});}const ze=_0x94039a=>{const _0x33e39d=_0x2c7e3b;let _0x33e4b2=(0x0,o['useDependency'])(M),_0x4419ef=(0x0,o['useDependency'])(t[_0x33e39d(0x1ac)]),_0xd6e0e5=(0x0,e[_0x33e39d(0x2a4)])((0x0,o[_0x33e39d(0x459)])(t[_0x33e39d(0x2f1)])),_0x1f1837=(0x0,m[_0x33e39d(0x468)])(()=>(0x0,d[_0x33e39d(0x1e8)])(De(Te['concat'](),_0xd6e0e5)[_0x33e39d(0x1f5)](_0x35fe7a=>({'id':_0x35fe7a['id'],'label':_0x4419ef['t'](_0x33e39d(0x1ab)+_0x35fe7a[_0x33e39d(0x352)]),'pieSecondaryPlotType':_0x35fe7a[_0x33e39d(0x2b8)],'value':_0x35fe7a[_0x33e39d(0x4be)]}))),[_0xd6e0e5,_0x4419ef]),_0x1a477b=(0x0,o[_0x33e39d(0x36f)])(_0x33e4b2['activeChartModel$'],_0x33e4b2[_0x33e39d(0x3cb)]),_0x115a94=(0x0,o[_0x33e39d(0x36f)])(_0x1a477b==null?void 0x0:_0x1a477b[_0x33e39d(0x46c)]['rangeInfo$'],_0x1a477b==null?void 0x0:_0x1a477b['dataSource']['getRangeInfo']()),_0x27a5da=_0x115a94&&!Array[_0x33e39d(0x463)](_0x115a94)&&_0x115a94[_0x33e39d(0x2c7)]?c[_0x33e39d(0x2e8)][_0x33e39d(0x362)]:c['DataOrientation'][_0x33e39d(0x37e)];return(0x0,_[_0x33e39d(0x3f4)])(_0x33e39d(0x478),{'className':_0x33e39d(0x263),'children':[(0x0,_[_0x33e39d(0x3ae)])(d[_0x33e39d(0x43d)],{'options':_0x1f1837}),(0x0,_['jsx'])(d[_0x33e39d(0x29d)],{}),(0x0,_[_0x33e39d(0x3ae)])(d[_0x33e39d(0x3b9)],{}),(0x0,_['jsx'])(Re,{}),(0x0,_['jsx'])(d[_0x33e39d(0x1f2)],{}),(0x0,_[_0x33e39d(0x3ae)])(Be,{'dataRange':_0x115a94}),(0x0,_[_0x33e39d(0x3ae)])(d[_0x33e39d(0x431)],{'categoryToggleLabel':_0x4419ef['t'](_0x33e39d(0x1dc),_0x27a5da===c[_0x33e39d(0x2e8)]['Row']?_0x27a5da+'\x20'+(((_0x115a94==null?void 0x0:_0x115a94['rangeInfo'][_0x33e39d(0x4a1)][_0x33e39d(0x42b)])??0x0)+0x1):_0x27a5da+'\x20'+(0x0,t['numberToABC'])((_0x115a94==null?void 0x0:_0x115a94[_0x33e39d(0x464)][_0x33e39d(0x4a1)][_0x33e39d(0x1d1)])??0x0)),'orientationControl':(0x0,_[_0x33e39d(0x3ae)])(h[_0x33e39d(0x1d6)],{'size':_0x33e39d(0x22f),'onClick':()=>_0x33e4b2['setOrientation'](_0x27a5da===c[_0x33e39d(0x2e8)][_0x33e39d(0x362)]?c[_0x33e39d(0x2e8)]['Column']:c['DataOrientation']['Row']),'children':_0x4419ef['t'](_0x33e39d(0x189))})}),(0x0,_['jsx'])(d[_0x33e39d(0x4af)],{}),(0x0,_[_0x33e39d(0x3ae)])(d[_0x33e39d(0x324)],{'defaultValues':_0x94039a[_0x33e39d(0x2e6)][_0x33e39d(0x33b)]})]});};function Be(_0x36ce61){const _0x267607=_0x2c7e3b;let {dataRange:_0x46b270}=_0x36ce61,_0x311689=(0x0,o[_0x267607(0x459)])(M),_0x3ababa=(0x0,o[_0x267607(0x459)])(t['LocaleService']),_0x6400ec=(0x0,o[_0x267607(0x459)])(t[_0x267607(0x2ce)]),[_0x4af7a8,_0x12e47e]=(0x0,m[_0x267607(0x461)])(!0x1),[_0x4a31cd,_0x568e13]=(0x0,m[_0x267607(0x461)])(!0x1),_0x16465d=Fe(_0x6400ec),_0xfa6023=Ie(_0x6400ec);(0x0,m[_0x267607(0x4a4)])(()=>{const _0x168ab2=_0x267607;_0x311689[_0x168ab2(0x2e2)](_0x4af7a8);},[_0x4af7a8,_0x311689]);let _0xb9c507=(0x0,m['useMemo'])(()=>(0x0,t['debounce'])(async _0x4149fb=>{const _0x30d025=_0x267607;var _0x4a0931;if(Se(_0x46b270,_0x6400ec)===_0x4149fb)return;let _0x384219=_0x4149fb[_0x30d025(0x32e)](',')[_0x30d025(0x379)](Boolean)[_0x30d025(0x1f5)](p['deserializeRangeWithSheet'])[0x0];if(!_0x384219)return;let {unitId:_0x555023,sheetName:_0x2670a1,range:_0x428a40}=_0x384219,_0x3ea927=_0x555023||_0x16465d,_0x57d817=((_0x4a0931=_0x6400ec['getUnit'](_0x3ea927)[_0x30d025(0x3ea)](_0x2670a1))==null?void 0x0:_0x4a0931['getSheetId']())||(_0x46b270==null?void 0x0:_0x46b270[_0x30d025(0x464)][_0x30d025(0x368)]);_0x311689[_0x30d025(0x228)]({'rangeInfo':{'range':_0x428a40,'unitId':_0x3ea927,'subUnitId':_0x57d817},'isRowDirection':!0x0});},0x12c,{'leading':!0x1,'maxWait':0x3e8,'trailing':!0x0}),[_0x46b270,_0x311689,_0x16465d,_0x6400ec]);return(0x0,m['useEffect'])(()=>()=>_0xb9c507[_0x267607(0x2e7)](),[_0xb9c507]),(0x0,_['jsx'])(_0x267607(0x478),{'className':_0x267607(0x453),'children':(0x0,_[_0x267607(0x3f4)])(_0x267607(0x478),{'children':[(0x0,_[_0x267607(0x3ae)])(d[_0x267607(0x1e6)],{'title':_0x3ababa['t'](_0x267607(0x2c6))}),(0x0,_[_0x267607(0x3ae)])(g[_0x267607(0x3a9)],{'supportAcrossSheet':!0x0,'keepSheetReference':!0x0,'maxRangeCount':0x1,'unitId':_0x16465d,'subUnitId':_0xfa6023,'initialValue':_0x46b270?Se(_0x46b270,_0x6400ec):'','onChange':(_0x55bac8,_0x1facaa)=>_0xb9c507(_0x1facaa),'onFocusChange':_0xf274c6=>{_0x4a31cd||_0x12e47e(_0xf274c6);},'onRangeSelectorDialogVisibleChange':_0x407bfc=>{_0x568e13(_0x407bfc),_0x12e47e(_0x407bfc);}})]})});}function H(_0x59b59f){const _0x53ecd6=_0x2c7e3b;return(0x0,_['jsxs'])(d[_0x53ecd6(0x44a)],{'id':_0x59b59f['id'],'children':[(0x0,_['jsx'])(d[_0x53ecd6(0x340)],{'children':_0x59b59f[_0x53ecd6(0x3b0)]}),(0x0,_[_0x53ecd6(0x3ae)])(d[_0x53ecd6(0x3d8)],{'children':_0x59b59f[_0x53ecd6(0x402)]})]});}const Ve=_0x246a64=>{const _0x2655a1=_0x2c7e3b;let _0x78e739=(0x0,o['useDependency'])(t[_0x2655a1(0x1ac)]),_0x234e89=(0x0,o[_0x2655a1(0x459)])(M),_0x14d8e4=(0x0,o[_0x2655a1(0x36f)])(_0x234e89['activeEditChart$'],null),_0x4c0c6e=(0x0,o['useObservable'])(_0x234e89['panelRoute$'],null),_0x2e81e8=(_0x4c0c6e==null?void 0x0:_0x4c0c6e['chartId'])===_0x14d8e4?_0x4c0c6e[_0x2655a1(0x45d)]:null,_0x1f264f=(0x0,d[_0x2655a1(0x294)])(),_0x536d31=(0x0,d[_0x2655a1(0x27e)])(),[_0x2ad633,_0x5df5fe]=(0x0,m[_0x2655a1(0x461)])(null);(0x0,m[_0x2655a1(0x4a4)])(()=>{const _0x491b75=_0x2655a1;_0x2e81e8!=null&&_0x2e81e8[_0x491b75(0x2e1)]&&_0x5df5fe(_0x2e81e8['section']);},[_0x2e81e8]);let _0x5e6a02=c[_0x2655a1(0x4aa)][_0x2655a1(0x303)](_0x1f264f,c[_0x2655a1(0x45e)]['Pie']),_0x59eb8a=_0x1f264f===c[_0x2655a1(0x45e)][_0x2655a1(0x293)],_0x223f13=_0x1f264f===c['ChartTypeBits'][_0x2655a1(0x405)],_0xdde8e1=_0x1f264f===c[_0x2655a1(0x45e)][_0x2655a1(0x240)],_0x382b36=c[_0x2655a1(0x4aa)]['baseOn'](_0x1f264f,c[_0x2655a1(0x45e)]['Bubble']),_0x4435cd=_0x1f264f===c['ChartTypeBits'][_0x2655a1(0x452)],_0x32f12c=_0x1f264f===c['ChartTypeBits']['Waterfall'],_0x36e992=_0x1f264f===c[_0x2655a1(0x45e)][_0x2655a1(0x3ed)],_0x37fe62=_0x1f264f===c[_0x2655a1(0x45e)]['Heatmap'],_0x407ced,_0x3946b0;switch(_0x1f264f){case c[_0x2655a1(0x45e)][_0x2655a1(0x401)]:_0x407ced=d[_0x2655a1(0x36a)][_0x2655a1(0x401)],_0x3946b0=_0x78e739['t'](_0x2655a1(0x22c));break;case c[_0x2655a1(0x45e)][_0x2655a1(0x37d)]:_0x407ced=d[_0x2655a1(0x36a)][_0x2655a1(0x37d)],_0x3946b0=_0x78e739['t'](_0x2655a1(0x1ba));break;case c['ChartTypeBits']['Treemap']:_0x407ced=d['ChartEditPanelSection'][_0x2655a1(0x43a)],_0x3946b0=_0x78e739['t'](_0x2655a1(0x23f));break;case c['ChartTypeBits']['Sunburst']:_0x407ced=d['ChartEditPanelSection'][_0x2655a1(0x256)],_0x3946b0=_0x78e739['t'](_0x2655a1(0x2ed));break;case c[_0x2655a1(0x45e)][_0x2655a1(0x301)]:_0x407ced=d[_0x2655a1(0x36a)][_0x2655a1(0x301)],_0x3946b0=_0x78e739['t'](_0x2655a1(0x2ad));break;case c[_0x2655a1(0x45e)]['Chord']:_0x407ced=d[_0x2655a1(0x36a)][_0x2655a1(0x4bf)],_0x3946b0=_0x78e739['t']('sheets-chart-ui.section.chord');break;}let _0x5e27e1=(0x0,d[_0x2655a1(0x426)])(_0x1f264f,d['ChartEditorCapability'][_0x2655a1(0x392)])&&!_0x382b36&&!_0x36e992;return(0x0,_['jsxs'])(d[_0x2655a1(0x4b9)],{'value':_0x2ad633,'onChange':_0x5df5fe,'children':[(0x0,_[_0x2655a1(0x3ae)])(H,{'id':d['ChartEditPanelSection'][_0x2655a1(0x4b1)],'label':_0x78e739['t']('sheets-chart-ui.common.chartStyle'),'children':(0x0,_[_0x2655a1(0x3ae)])(d[_0x2655a1(0x1b3)],{'defaultValues':_0x246a64[_0x2655a1(0x2e6)][_0x2655a1(0x354)],'showBodyFont':!0x0})}),(0x0,_[_0x2655a1(0x3ae)])(H,{'id':d['ChartEditPanelSection'][_0x2655a1(0x45b)],'label':_0x78e739['t'](_0x2655a1(0x40a)),'children':(0x0,_[_0x2655a1(0x3ae)])(d[_0x2655a1(0x4ac)],{'commitMode':_0x2655a1(0x398),'defaultValues':_0x246a64[_0x2655a1(0x2e6)]['titles'],'selectedTitleKey':_0x2e81e8==null?void 0x0:_0x2e81e8[_0x2655a1(0x4bd)]})}),_0x5e27e1&&(0x0,_[_0x2655a1(0x3ae)])(H,{'id':d['ChartEditPanelSection'][_0x2655a1(0x2e0)],'label':_0x78e739['t'](_0x2655a1(0x347)),'children':(0x0,_[_0x2655a1(0x3ae)])(d[_0x2655a1(0x488)],{'defaultValues':_0x246a64[_0x2655a1(0x2e6)]['series'],'NumberFormatField':d[_0x2655a1(0x345)],'selectedSeriesId':_0x2e81e8==null?void 0x0:_0x2e81e8[_0x2655a1(0x258)]})}),_0x32f12c&&(0x0,_['jsx'])(H,{'id':d['ChartEditPanelSection']['WaterfallSeries'],'label':_0x78e739['t']('sheets-chart-ui.section.waterfall'),'children':(0x0,_[_0x2655a1(0x3ae)])(d[_0x2655a1(0x18c)],{'defaultValues':_0x246a64[_0x2655a1(0x2e6)][_0x2655a1(0x34d)],'getDefaultBucketName':({seriesName:_0x3f2364,target:_0xdda7a7})=>_0xdda7a7===c[_0x2655a1(0x232)][_0x2655a1(0x47b)]?_0x78e739['t'](_0x2655a1(0x30c)):_0x3f2364?_0x3f2364+'-('+_0x78e739['t'](_0xdda7a7===c[_0x2655a1(0x232)][_0x2655a1(0x31d)]?_0x2655a1(0x36b):_0x2655a1(0x44d))+')':'','NumberFormatField':d[_0x2655a1(0x345)],'selectedSeriesId':_0x2e81e8==null?void 0x0:_0x2e81e8[_0x2655a1(0x258)]})}),_0x36e992&&(0x0,_[_0x2655a1(0x3f4)])(_[_0x2655a1(0x2dd)],{'children':[(0x0,_[_0x2655a1(0x3ae)])(H,{'id':d['ChartEditPanelSection'][_0x2655a1(0x3fb)],'label':_0x78e739['t'](_0x2655a1(0x2a1)),'children':(0x0,_[_0x2655a1(0x3ae)])(d[_0x2655a1(0x1bf)],{'defaultValues':_0x246a64['defaultValues'][_0x2655a1(0x1f3)],'NumberFormatField':d[_0x2655a1(0x345)],'showDataPointEditor':!0x0,'target':'barStyle'})}),(0x0,_[_0x2655a1(0x3ae)])(H,{'id':d[_0x2655a1(0x36a)][_0x2655a1(0x4b3)],'label':_0x78e739['t']('sheets-chart-ui.section.paretoLine'),'children':(0x0,_[_0x2655a1(0x3ae)])(d[_0x2655a1(0x1bf)],{'defaultValues':_0x246a64[_0x2655a1(0x2e6)][_0x2655a1(0x1f3)],'NumberFormatField':d[_0x2655a1(0x345)],'showDataPointEditor':!0x1,'target':_0x2655a1(0x27c)})})]}),_0x5e6a02&&(0x0,_[_0x2655a1(0x3ae)])(H,{'id':d['ChartEditPanelSection'][_0x2655a1(0x221)],'label':_0x78e739['t'](_0x2655a1(0x291)),'children':(0x0,_[_0x2655a1(0x3ae)])(d['ChartPieStyleSection'],{'defaultValues':_0x246a64[_0x2655a1(0x2e6)][_0x2655a1(0x28d)],'NumberFormatField':d[_0x2655a1(0x345)]})}),_0x223f13&&(0x0,_[_0x2655a1(0x3ae)])(H,{'id':d[_0x2655a1(0x36a)][_0x2655a1(0x405)],'label':_0x78e739['t']('sheets-chart-ui.section.wordCloud'),'children':(0x0,_[_0x2655a1(0x3ae)])(d[_0x2655a1(0x3a2)],{'defaultValues':_0x246a64[_0x2655a1(0x2e6)]['wordCloud']})}),_0x59eb8a&&(0x0,_['jsx'])(H,{'id':d[_0x2655a1(0x36a)]['Radar'],'label':_0x78e739['t'](_0x2655a1(0x389)),'children':(0x0,_[_0x2655a1(0x3ae)])(d[_0x2655a1(0x20f)],{'defaultValues':_0x246a64[_0x2655a1(0x2e6)][_0x2655a1(0x35d)]})}),_0xdde8e1&&(0x0,_['jsx'])(H,{'id':d[_0x2655a1(0x36a)][_0x2655a1(0x240)],'label':_0x78e739['t'](_0x2655a1(0x216)),'children':(0x0,_['jsx'])(d[_0x2655a1(0x430)],{'defaultValues':_0x246a64[_0x2655a1(0x2e6)]['funnel'],'gapControl':'select'})}),_0x37fe62&&(0x0,_['jsx'])(H,{'id':d[_0x2655a1(0x36a)][_0x2655a1(0x40c)],'label':_0x78e739['t']('sheets-chart-ui.common.heatmap'),'children':(0x0,_[_0x2655a1(0x3ae)])(d[_0x2655a1(0x274)],{'defaultValues':_0x246a64[_0x2655a1(0x2e6)][_0x2655a1(0x450)]})}),_0x4435cd&&(0x0,_[_0x2655a1(0x3ae)])(H,{'id':d[_0x2655a1(0x36a)]['Relation'],'label':_0x78e739['t'](_0x2655a1(0x3bd)),'children':(0x0,_[_0x2655a1(0x3ae)])(d[_0x2655a1(0x2a7)],{'defaultValues':_0x246a64[_0x2655a1(0x2e6)][_0x2655a1(0x2fb)]})}),(0x0,d[_0x2655a1(0x3a7)])(_0x1f264f)&&(0x0,_[_0x2655a1(0x3ae)])(H,{'id':d[_0x2655a1(0x36a)][_0x2655a1(0x2d8)],'label':_0x78e739['t']('sheets-chart-ui.section.lineAndArea'),'children':(0x0,_['jsx'])(d['ChartLineAndAreaSection'],{'defaultValues':_0x246a64[_0x2655a1(0x2e6)][_0x2655a1(0x1b0)],'lineStyleControl':_0x2655a1(0x20a)})}),(0x0,d[_0x2655a1(0x426)])(_0x1f264f,d[_0x2655a1(0x227)][_0x2655a1(0x483)])&&(0x0,_[_0x2655a1(0x3ae)])(H,{'id':d[_0x2655a1(0x36a)][_0x2655a1(0x483)],'label':_0x78e739['t'](_0x2655a1(0x1b7)),'children':(0x0,_[_0x2655a1(0x3ae)])(d['ChartLegendSection'],{'defaultValues':_0x246a64[_0x2655a1(0x2e6)][_0x2655a1(0x2b9)]})}),(0x0,d[_0x2655a1(0x426)])(_0x1f264f,d[_0x2655a1(0x227)][_0x2655a1(0x2a8)])&&(0x0,_[_0x2655a1(0x3f4)])(_[_0x2655a1(0x2dd)],{'children':[(0x0,_[_0x2655a1(0x3ae)])(H,{'id':d[_0x2655a1(0x36a)][_0x2655a1(0x356)],'label':_0x78e739['t'](_0x2655a1(0x2f3)),'children':(0x0,_[_0x2655a1(0x3ae)])(d[_0x2655a1(0x359)],{'axis':'x','defaultValues':_0x246a64[_0x2655a1(0x2e6)]['axis'],'NumberFormatField':d[_0x2655a1(0x345)]})}),(0x0,_[_0x2655a1(0x3ae)])(H,{'id':d['ChartEditPanelSection'][_0x2655a1(0x33c)],'label':_0x78e739['t']('sheets-chart-ui.common.verticalAxis'),'children':(0x0,_[_0x2655a1(0x3ae)])(d[_0x2655a1(0x359)],{'axis':'y','defaultValues':_0x246a64[_0x2655a1(0x2e6)]['axis'],'NumberFormatField':d['ChartNumberFormatAtom']})}),_0x536d31&&(0x0,_[_0x2655a1(0x3ae)])(H,{'id':d[_0x2655a1(0x36a)][_0x2655a1(0x1b4)],'label':_0x78e739['t']('sheets-chart-ui.common.rightVerticalAxis'),'children':(0x0,_['jsx'])(d[_0x2655a1(0x359)],{'axis':_0x2655a1(0x31f),'defaultValues':_0x246a64[_0x2655a1(0x2e6)][_0x2655a1(0x31b)],'NumberFormatField':d[_0x2655a1(0x345)]})}),(0x0,_['jsx'])(H,{'id':d[_0x2655a1(0x36a)][_0x2655a1(0x383)],'label':_0x78e739['t'](_0x2655a1(0x323)),'children':(0x0,_[_0x2655a1(0x3ae)])(d[_0x2655a1(0x1cc)],{'defaultValues':_0x246a64[_0x2655a1(0x2e6)][_0x2655a1(0x31b)]})})]}),(0x0,d[_0x2655a1(0x426)])(_0x1f264f,d[_0x2655a1(0x227)]['IndicatorLine'])&&(0x0,_['jsx'])(H,{'id':d['ChartEditPanelSection'][_0x2655a1(0x299)],'label':_0x78e739['t'](_0x2655a1(0x243)),'children':(0x0,_[_0x2655a1(0x3ae)])(d[_0x2655a1(0x25b)],{'defaultValues':_0x246a64[_0x2655a1(0x2e6)][_0x2655a1(0x253)]})}),(0x0,c[_0x2655a1(0x3bf)])(_0x1f264f)&&(0x0,_[_0x2655a1(0x3ae)])(H,{'id':d[_0x2655a1(0x36a)]['Trendline'],'label':_0x78e739['t'](_0x2655a1(0x308)),'children':(0x0,_[_0x2655a1(0x3ae)])(d['ChartTrendlineSection'],{'defaultValues':_0x246a64[_0x2655a1(0x2e6)][_0x2655a1(0x3c4)]})}),_0x407ced&&_0x3946b0&&(0x0,_['jsx'])(H,{'id':_0x407ced,'label':_0x3946b0,'children':(0x0,_[_0x2655a1(0x3ae)])(d['ChartTypeSpecificStyleSection'],{})})]});};function He(_0x2cc59c){const _0x2fdd5f=_0x2c7e3b;let {className:_0x2c4677}=_0x2cc59c,[_0x459cf5,_0x36c248]=(0x0,m[_0x2fdd5f(0x461)])(d[_0x2fdd5f(0x19a)][_0x2fdd5f(0x2d1)]),_0x2846fb=(0x0,o[_0x2fdd5f(0x459)])(t[_0x2fdd5f(0x2f1)]),_0x354255=(0x0,o[_0x2fdd5f(0x459)])(t[_0x2fdd5f(0x1ac)]),_0x35585d=(0x0,o['useDependency'])(M),_0x3c5570=(0x0,o[_0x2fdd5f(0x36f)])(_0x35585d['activeEditChart$'],null),_0x323441=(0x0,o[_0x2fdd5f(0x36f)])(_0x35585d[_0x2fdd5f(0x485)],null),_0x502510=(0x0,o[_0x2fdd5f(0x36f)])(_0x35585d[_0x2fdd5f(0x1b9)],null),_0x2b46e3=(0x0,m[_0x2fdd5f(0x468)])(()=>{const _0x6f9fc=_0x2fdd5f;var _0x213ceb;if(!_0x323441)return null;let _0x16e884=_0x323441[_0x6f9fc(0x46c)][_0x6f9fc(0x209)](),_0x52f54e=Array['isArray'](_0x16e884)?(_0x213ceb=_0x16e884[0x0])==null?void 0x0:_0x213ceb['range']:_0x16e884[_0x6f9fc(0x464)];return _0x52f54e?new d[(_0x6f9fc(0x309))](_0x323441,new e[(_0x6f9fc(0x205))]({'unitId':_0x52f54e[_0x6f9fc(0x419)],'subUnitId':_0x52f54e[_0x6f9fc(0x368)],'chartId':_0x323441['id'],'injector':_0x2846fb})):null;},[_0x323441,_0x2846fb]);(0x0,m['useEffect'])(()=>{const _0x3fbfd3=_0x2fdd5f;var _0x4203bd,_0x5bac4b;(_0x502510==null?void 0x0:_0x502510[_0x3fbfd3(0x47f)])===_0x3c5570&&(((_0x4203bd=_0x502510[_0x3fbfd3(0x45d)])==null?void 0x0:_0x4203bd['tab'])===d[_0x3fbfd3(0x19a)][_0x3fbfd3(0x198)]&&_0x36c248(d[_0x3fbfd3(0x19a)][_0x3fbfd3(0x198)]),((_0x5bac4b=_0x502510[_0x3fbfd3(0x45d)])==null?void 0x0:_0x5bac4b['tab'])===d[_0x3fbfd3(0x19a)][_0x3fbfd3(0x2d1)]&&_0x36c248(d['ChartEditPanelTab']['Data']));},[_0x3c5570,_0x502510]);let _0x28c725=(0x0,_[_0x2fdd5f(0x3f4)])(_0x2fdd5f(0x478),{'className':_0x2fdd5f(0x2f0)+(_0x459cf5===d[_0x2fdd5f(0x19a)][_0x2fdd5f(0x198)]?_0x2fdd5f(0x447):'univer-overflow-hidden')+'\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x2c4677??'')+'\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','children':[(0x0,_[_0x2fdd5f(0x3ae)])(d['ChartEditPanelTabs'],{'ariaLabel':_0x354255['t'](_0x2fdd5f(0x1fd)),'className':'univer-shrink-0','items':[{'label':_0x354255['t'](_0x2fdd5f(0x225)),'panelId':We,'value':d[_0x2fdd5f(0x19a)][_0x2fdd5f(0x2d1)]},{'label':_0x354255['t'](_0x2fdd5f(0x210)),'panelId':Ge,'value':d[_0x2fdd5f(0x19a)][_0x2fdd5f(0x198)]}],'value':_0x459cf5,'onChange':_0x36c248}),_0x459cf5===d[_0x2fdd5f(0x19a)][_0x2fdd5f(0x2d1)]?(0x0,_[_0x2fdd5f(0x3ae)])(d[_0x2fdd5f(0x399)],{'id':We,'label':_0x354255['t'](_0x2fdd5f(0x225)),'children':(0x0,_[_0x2fdd5f(0x3ae)])(ze,{'defaultValues':Pe})}):(0x0,_[_0x2fdd5f(0x3ae)])(d[_0x2fdd5f(0x399)],{'id':Ge,'className':_0x2fdd5f(0x388),'label':_0x354255['t'](_0x2fdd5f(0x210)),'children':(0x0,_[_0x2fdd5f(0x3ae)])(Ve,{'defaultValues':Pe})})]});return _0x2b46e3?(0x0,_[_0x2fdd5f(0x3ae)])(d[_0x2fdd5f(0x497)],{'chartUIService':_0x35585d,'hostAdapter':_0x2b46e3,'children':_0x28c725}):_0x28c725;}const Ue='sheet.chart.edit.panel',We=_0x2c7e3b(0x19c),Ge=_0x2c7e3b(0x2db);function Ke(_0x2054e9){const _0x3d4609=_0x2c7e3b;if(_0x2054e9['length']!==0x1)return!0x1;let _0x2f6e28=_0x2054e9[0x0];return _0x2f6e28[_0x3d4609(0x1b5)]===t['DrawingTypeEnum']['DRAWING_CHART']&&!_0x2f6e28[_0x3d4609(0x474)];}let U=class extends t[_0x2c7e3b(0x467)]{constructor(_0x506a49,_0x1e9b69,_0x42e3b6,_0x534cfb,_0x524817,_0x3a98d7,_0x60acd1,_0x58ece2,_0x428d32,_0x26a2f2,_0x32fe2b,_0x158be8,_0x56f651,_0xd34eba,_0x57a7b0){const _0x3b4997=_0x2c7e3b;var _0x48c56f;super(),this['_drawingManagerService']=_0x506a49,this['_univerInstanceService']=_0x1e9b69,this['_chartModelService']=_0x42e3b6,this[_0x3b4997(0x428)]=_0x534cfb,this['_sheetDrawingHitTestService']=_0x524817,this[_0x3b4997(0x1da)]=_0x3a98d7,this[_0x3b4997(0x2f5)]=_0x60acd1,this['_drawingContextMenuService']=_0x58ece2,this[_0x3b4997(0x25e)]=_0x428d32,this[_0x3b4997(0x28e)]=_0x26a2f2,this[_0x3b4997(0x4a8)]=_0x32fe2b,this['_sheetsChartUIService']=_0x158be8,this[_0x3b4997(0x381)]=_0x56f651,this[_0x3b4997(0x35c)]=_0xd34eba,E(this,'_sidebarDisposable',null),E(this,_0x3b4997(0x238),void 0x0),this[_0x3b4997(0x238)]=((_0x48c56f=_0x57a7b0['getConfig'](_0x3b4997(0x3b7)))==null?void 0x0:_0x48c56f[_0x3b4997(0x251)])===!0x0,this[_0x3b4997(0x2de)](),this['disposeWithMe'](this[_0x3b4997(0x199)][_0x3b4997(0x346)](t[_0x3b4997(0x339)]['UNIVER_SHEET'])[_0x3b4997(0x410)](_0x13b8a8=>{const _0x3ea81c=_0x3b4997;var _0x11499a;_0x13b8a8||(_0x11499a=this[_0x3ea81c(0x34f)])==null||_0x11499a[_0x3ea81c(0x21d)]();})),this[_0x3b4997(0x320)]((0x0,t[_0x3b4997(0x394)])(this['_sheetDrawingHitTestService']['onDoubleClick$'][_0x3b4997(0x410)](async({drawing:_0xd1406f})=>{const _0x4b5504=_0x3b4997;await this[_0x4b5504(0x1fc)](_0xd1406f);})));}['_openPanel'](){const _0x2a51cf=_0x2c7e3b;this[_0x2a51cf(0x34f)]=this['_sidebarService'][_0x2a51cf(0x327)]({'id':Ue,'header':{'title':this[_0x2a51cf(0x35c)]['t'](_0x2a51cf(0x1fd))},'width':0x154,'children':{'label':Ue},'onClose':()=>{const _0x34cd66=_0x2a51cf;this[_0x34cd66(0x316)][_0x34cd66(0x18f)](null),this[_0x34cd66(0x3d4)](),this['_drawingManagerService'][_0x34cd66(0x237)](null),this[_0x34cd66(0x381)][_0x34cd66(0x36d)](t[_0x34cd66(0x29c)],!0x1),this['_sidebarDisposable']=null;}});}[_0x2c7e3b(0x4a2)](){const _0x5640b3=_0x2c7e3b;var _0x5a2ddd;this[_0x5640b3(0x316)][_0x5640b3(0x18f)](null),this[_0x5640b3(0x3d4)](),(_0x5a2ddd=this['_sidebarDisposable'])==null||_0x5a2ddd['dispose']();}[_0x2c7e3b(0x3ec)](){const _0x2b4068=_0x2c7e3b;let _0xea3c20=this[_0x2b4068(0x199)][_0x2b4068(0x470)](t[_0x2b4068(0x339)][_0x2b4068(0x48c)]);this[_0x2b4068(0x320)](this['_sidebarService'][_0x2b4068(0x41c)][_0x2b4068(0x410)](_0x38fef4=>{const _0x563157=_0x2b4068;_0x38fef4['id']===_0x563157(0x185)&&(_0x38fef4[_0x563157(0x3be)]||this['_sidebarService'][_0x563157(0x41c)]['next']({'visible':!0x1}));})),this['disposeWithMe'](this['_commandService'][_0x2b4068(0x2a6)](_0x2184ed=>{const _0x55e913=_0x2b4068;if(_0x2184ed['id']===S['id']){let _0x5587e3=_0x2184ed[_0x55e913(0x3ff)];this[_0x55e913(0x2c9)](_0x5587e3['drawingId'],_0x5587e3[_0x55e913(0x45d)]);}if(_0x2184ed['id']===x['id']&&this[_0x55e913(0x4a2)](),_0x2184ed['id']===e[_0x55e913(0x434)]['id']){var _0xc99054;_0x2184ed[_0x55e913(0x3ff)][_0x55e913(0x47f)]===((_0xc99054=this['_chartModelService'][_0x55e913(0x3cb)])==null?void 0x0:_0xc99054['id'])&&this[_0x55e913(0x4a2)](),this[_0x55e913(0x381)]['getContextValue'](t['FOCUSING_COMMON_DRAWINGS'])&&(this['_contextService'][_0x55e913(0x36d)](t[_0x55e913(0x29c)],!0x1),this['_drawingManagerService'][_0x55e913(0x237)](null));}})),this['disposeWithMe'](this['_sheetCanvasFloatDomManagerService']['remove$'][_0x2b4068(0x410)](({id:_0x1fae95})=>{const _0x37d1c4=_0x2b4068;_0x1fae95===this[_0x37d1c4(0x418)][_0x37d1c4(0x1c9)]&&this[_0x37d1c4(0x4a2)]();})),this[_0x2b4068(0x320)](this[_0x2b4068(0x25e)][_0x2b4068(0x28f)]['subscribe'](({id:_0x2b0c81})=>{const _0x91b6f1=_0x2b4068;_0x2b0c81===this[_0x91b6f1(0x418)][_0x91b6f1(0x1c9)]&&(this[_0x91b6f1(0x418)][_0x91b6f1(0x2ab)](null),this['_sheetsChartUIService'][_0x91b6f1(0x206)](),this[_0x91b6f1(0x428)][_0x91b6f1(0x279)](_0x2b0c81,!0x1),this[_0x91b6f1(0x20e)](_0x2b0c81)&&this['_chartRenderService'][_0x91b6f1(0x279)](_0x2b0c81,!0x0));})),this[_0x2b4068(0x320)](this[_0x2b4068(0x48e)][_0x2b4068(0x287)][_0x2b4068(0x410)](_0x35841a=>{const _0x28d5b7=_0x2b4068;let _0x3adda7=_0x35841a[0x0];if(!this[_0x28d5b7(0x418)]['rangeSelectMode']){if(Ke(_0x35841a)){var _0x5d1507;let _0xfd439c=this['_chartModelService'][_0x28d5b7(0x300)](_0x3adda7[_0x28d5b7(0x449)]);_0xfd439c&&((_0x5d1507=this[_0x28d5b7(0x316)][_0x28d5b7(0x3cb)])==null?void 0x0:_0x5d1507['id'])!==_0xfd439c['id']&&this[_0x28d5b7(0x316)]['setActiveChartModel'](_0xfd439c);return;}this[_0x28d5b7(0x316)][_0x28d5b7(0x3cb)]&&this['_chartModelService']['setActiveChartModel'](null),!_0x3adda7&&!this['_sheetsChartUIService']['rangeSelectMode']&&this[_0x28d5b7(0x4a2)]();}})),_0xea3c20&&(this['disposeWithMe'](_0xea3c20[_0x2b4068(0x3bc)][_0x2b4068(0x410)](()=>{const _0x4e6c03=_0x2b4068;this[_0x4e6c03(0x4a2)]();})),this[_0x2b4068(0x320)](_0xea3c20[_0x2b4068(0x26f)][_0x2b4068(0x410)](()=>{this['hidePanel']();})));}async[_0x2c7e3b(0x1fc)](_0x1e382c){const _0x3d84a5=_0x2c7e3b;this['_sheetsChartUIService'][_0x3d84a5(0x1c9)]||_0x1e382c[_0x3d84a5(0x1b5)]===t[_0x3d84a5(0x241)][_0x3d84a5(0x382)]&&await this[_0x3d84a5(0x4ab)](_0x1e382c[_0x3d84a5(0x419)],_0x1e382c[_0x3d84a5(0x368)],_0x1e382c[_0x3d84a5(0x449)]);}async['_openEditPanelByDoubleClick'](_0x4ceafe,_0x2c0277,_0x2fa155){const _0x5464bc=_0x2c7e3b;let _0x176621=this[_0x5464bc(0x316)]['getChartModel'](_0x2fa155);_0x176621&&(this['_chartModelService'][_0x5464bc(0x18f)](_0x176621),await this[_0x5464bc(0x4a8)][_0x5464bc(0x1a1)](S['id'],{'unitId':_0x4ceafe,'subUnitId':_0x2c0277,'drawingId':_0x2fa155}));}[_0x2c7e3b(0x2c9)](_0x50502d,_0xf66a64){const _0x2ebbee=_0x2c7e3b;let _0x2f5af3=this[_0x2ebbee(0x316)][_0x2ebbee(0x300)](_0x50502d);_0x2f5af3&&(this[_0x2ebbee(0x316)][_0x2ebbee(0x18f)](_0x2f5af3),this[_0x2ebbee(0x460)](),this['_activateEditPanelState'](_0x50502d,_0xf66a64??null));}['_activateEditPanelState'](_0x3ff520,_0x1d557e){const _0xe5c3b3=_0x2c7e3b;let _0x316815=this[_0xe5c3b3(0x418)]['activeEditChart'];_0x316815&&_0x316815!==_0x3ff520&&(this[_0xe5c3b3(0x428)]['setElementEditMode'](_0x316815,!0x1),this[_0xe5c3b3(0x418)]['setSelectedElement'](null)),this[_0xe5c3b3(0x418)][_0xe5c3b3(0x472)](_0x3ff520),this[_0xe5c3b3(0x418)]['setPanelRoute'](_0x3ff520,_0x1d557e),this[_0xe5c3b3(0x428)][_0xe5c3b3(0x279)](_0x3ff520,this[_0xe5c3b3(0x20e)](_0x3ff520));}[_0x2c7e3b(0x3d4)](){const _0x3f9661=_0x2c7e3b;let _0x2c59b3=this[_0x3f9661(0x418)][_0x3f9661(0x1c9)];_0x2c59b3&&this['_chartRenderService'][_0x3f9661(0x279)](_0x2c59b3,!0x1),this[_0x3f9661(0x418)]['setActiveEditChart'](null),this[_0x3f9661(0x418)][_0x3f9661(0x2ab)](null),this[_0x3f9661(0x418)]['clearPanelRoute']();}[_0x2c7e3b(0x2de)](){const _0x1d5daa=_0x2c7e3b;this['_menuManagerService'][_0x1d5daa(0x42d)](ke),this[_0x1d5daa(0x320)](this['_drawingContextMenuService'][_0x1d5daa(0x413)](t['DrawingTypeEnum'][_0x1d5daa(0x382)],{'getContextMenuPosition':()=>_e})),this['_sheetCanvasPopManagerService'][_0x1d5daa(0x2da)](t['DrawingTypeEnum'][_0x1d5daa(0x382)],this['getChartPopupMenus']['bind'](this));}[_0x2c7e3b(0x20e)](_0x5b7a5d){const _0x52b5b0=_0x2c7e3b;let _0x257caf=this[_0x52b5b0(0x316)][_0x52b5b0(0x300)](_0x5b7a5d);return!this['_isChartElementEditEnabled']||!_0x257caf?!0x1:je(_0x257caf[_0x52b5b0(0x334)]);}[_0x2c7e3b(0x212)](_0x2d0115,_0x1c26e2,_0x29bfe0,_0x3d65d4){const _0x1be1e2=_0x2c7e3b;return[{'label':this['_localeService']['t'](_0x1be1e2(0x3af)),'index':0x0,'commandId':S['id'],'commandParams':{'unitId':_0x2d0115,'subUnitId':_0x1c26e2,'drawingId':_0x29bfe0},'disable':_0x3d65d4!==t[_0x1be1e2(0x241)][_0x1be1e2(0x382)]},{'label':this[_0x1be1e2(0x35c)]['t'](_0x1be1e2(0x247)),'index':0x1,'commandId':r[_0x1be1e2(0x1b6)]['id'],'commandParams':{'unitId':_0x2d0115,'drawings':[{'unitId':_0x2d0115,'subUnitId':_0x1c26e2,'drawingId':_0x29bfe0,'drawingType':_0x3d65d4}]},'disable':!0x1},{'label':this[_0x1be1e2(0x35c)]['t'](_0x1be1e2(0x191)),'index':0x2,'commandId':x['id'],'commandParams':{'unitId':_0x2d0115,'subUnitId':_0x1c26e2,'drawingId':_0x29bfe0},'disable':!0x1}];}};U=A([k(0x0,n[_0x2c7e3b(0x496)]),k(0x1,t['IUniverInstanceService']),k(0x2,(0x0,t[_0x2c7e3b(0x1a4)])(e[_0x2c7e3b(0x3b1)])),k(0x3,(0x0,t['Inject'])(P)),k(0x4,(0x0,t[_0x2c7e3b(0x1a4)])(i['SheetDrawingHitTestService'])),k(0x5,(0x0,t['Inject'])(o[_0x2c7e3b(0x2cf)])),k(0x6,o[_0x2c7e3b(0x1cd)]),k(0x7,i[_0x2c7e3b(0x343)]),k(0x8,(0x0,t[_0x2c7e3b(0x1a4)])(i['SheetCanvasFloatDomManagerService'])),k(0x9,(0x0,t['Inject'])(a['SheetCanvasPopManagerService'])),k(0xa,t[_0x2c7e3b(0x1a6)]),k(0xb,M),k(0xc,t[_0x2c7e3b(0x2ef)]),k(0xd,(0x0,t[_0x2c7e3b(0x1a4)])(t[_0x2c7e3b(0x1ac)])),k(0xe,t[_0x2c7e3b(0x304)])],U);var qe='@univerjs-pro/sheets-chart-ui',Je=_0x2c7e3b(0x4b5);const W={'scaleX':0x1,'scaleY':0x1};function Ye(_0x3659b0){const _0x5a2522=_0x2c7e3b;let _0x1ef447=_0x3659b0[_0x5a2522(0x2fd)];return _0x1ef447 instanceof MouseEvent?_0x1ef447:void 0x0;}function Xe(_0x50b2e6){const _0x1e10a0=_0x2c7e3b;let _0x25cf02=_0x50b2e6['nativeEvent'],_0x499339=_0x25cf02==null?void 0x0:_0x25cf02[_0x1e10a0(0x311)];return _0x499339 instanceof Element?_0x499339:void 0x0;}function Ze(_0x35299d){var _0x5cda3f;return(_0x5cda3f=Xe(_0x35299d))==null?void 0x0:_0x5cda3f['getBoundingClientRect']();}function Qe(_0x383a05){const _0x5c0d13=_0x2c7e3b;return _0x383a05[_0x5c0d13(0x363)]||_0x383a05['right']-_0x383a05[_0x5c0d13(0x276)];}function $e(_0x294954){const _0x419a3f=_0x2c7e3b;return _0x294954[_0x419a3f(0x412)]||_0x294954[_0x419a3f(0x46e)]-_0x294954['top'];}function et(_0x1b9838,_0x2fe313){const _0x1c8446=_0x2c7e3b;let _0x454d6e=_0x1b9838[_0x1c8446(0x3ce)]||(_0x1b9838 instanceof HTMLElement?_0x1b9838[_0x1c8446(0x3ba)]:0x0),_0x401a8a=_0x1b9838[_0x1c8446(0x267)]||(_0x1b9838 instanceof HTMLElement?_0x1b9838[_0x1c8446(0x312)]:0x0),_0x485122=Qe(_0x2fe313),_0x47e56f=$e(_0x2fe313);return{'scaleX':_0x454d6e>0x0&&_0x485122>0x0?_0x485122/_0x454d6e:W[_0x1c8446(0x235)],'scaleY':_0x401a8a>0x0&&_0x47e56f>0x0?_0x47e56f/_0x401a8a:W[_0x1c8446(0x475)]};}function tt(_0x4fad74,_0x189635,_0x2a9df2){const _0x537219=_0x2c7e3b;return{'left':_0x4fad74[_0x537219(0x276)]+_0x189635[_0x537219(0x276)]*_0x2a9df2[_0x537219(0x235)],'right':_0x4fad74['left']+_0x189635[_0x537219(0x331)]*_0x2a9df2[_0x537219(0x235)],'top':_0x4fad74['top']+_0x189635[_0x537219(0x43e)]*_0x2a9df2['scaleY'],'bottom':_0x4fad74['top']+_0x189635['bottom']*_0x2a9df2[_0x537219(0x475)]};}function nt(_0x3b17df){const _0xf7d2db=_0x2c7e3b;let _0x2e9a75=Xe(_0x3b17df),_0x28bb65=_0x3b17df[_0xf7d2db(0x18b)][_0xf7d2db(0x277)];return _0x2e9a75&&_0x28bb65?()=>{const _0x389619=_0xf7d2db;let _0xb7399=_0x2e9a75[_0x389619(0x482)]();return tt(_0xb7399,_0x28bb65,et(_0x2e9a75,_0xb7399));}:()=>{const _0x23324d=_0xf7d2db;let _0x32bf64=Ze(_0x3b17df);if(_0x32bf64&&_0x28bb65)return tt(_0x32bf64,_0x28bb65,_0x2e9a75?et(_0x2e9a75,_0x32bf64):W);let _0x2a9669=Ye(_0x3b17df),_0x4be891=_0x2e9a75&&_0x32bf64?et(_0x2e9a75,_0x32bf64):W,_0x34754f=(_0x2a9669==null?void 0x0:_0x2a9669[_0x23324d(0x484)])??(_0x32bf64?_0x32bf64[_0x23324d(0x276)]+_0x3b17df[_0x23324d(0x25d)]['x']*_0x4be891['scaleX']:_0x3b17df['localPoint']['x']),_0x45cbf1=(_0x2a9669==null?void 0x0:_0x2a9669[_0x23324d(0x2ea)])??(_0x32bf64?_0x32bf64[_0x23324d(0x43e)]+_0x3b17df[_0x23324d(0x25d)]['y']*_0x4be891[_0x23324d(0x475)]:_0x3b17df[_0x23324d(0x25d)]['y']);return{'left':_0x34754f,'right':_0x34754f+0x1,'top':_0x45cbf1,'bottom':_0x45cbf1+0x1};};}function G(_0x20f98a){const _0x4c9543=_0x2c7e3b;return typeof _0x20f98a==_0x4c9543(0x22a)&&Number[_0x4c9543(0x3ca)](_0x20f98a);}function rt(_0x137835){const _0xb565aa=_0x2c7e3b;if(!_0x137835||typeof _0x137835!=_0xb565aa(0x1f0))return!0x0;let {startX:_0x13b702,endX:_0x4c3c4f,startY:_0x388aed,endY:_0x17e048}=_0x137835;return!G(_0x13b702)||!G(_0x4c3c4f)||!G(_0x388aed)||!G(_0x17e048)||_0x4c3c4f-_0x13b702>0x2&&_0x17e048-_0x388aed>0x2;}function it(_0x538e38){const _0x26a01d=_0x2c7e3b;return _0x538e38['right']<=_0x538e38[_0x26a01d(0x276)]||_0x538e38['bottom']<=_0x538e38[_0x26a01d(0x43e)]?!0x1:typeof window>'u'||_0x538e38['right']>0x0&&_0x538e38[_0x26a01d(0x46e)]>0x0&&_0x538e38[_0x26a01d(0x276)]<window[_0x26a01d(0x3c9)]&&_0x538e38[_0x26a01d(0x43e)]<window[_0x26a01d(0x20b)];}function at(_0x3025ce){const _0x26811d=_0x2c7e3b;var _0x1082d8;return _0x3025ce==null||(_0x1082d8=_0x3025ce[_0x26811d(0x231)])==null?void 0x0:_0x1082d8[_0x26811d(0x372)](_0x3025ce);}function ot(_0x53e559,_0x39e096,_0x127fd6){const _0x11de32=_0x2c7e3b;let _0x5d3386=nt(_0x53e559),_0x2a523e=at(_0x39e096),_0x3d0c0f=_0x5d3386(),_0x422035=new s[(_0x11de32(0x46a))](_0x3d0c0f),_0x14485e=new t[(_0x11de32(0x335))](),_0x540069=!0x1,_0x149b04=!0x1,_0x4209fd=_0x4d8446=>rt(_0x2a523e)&&it(_0x4d8446),_0x128e2b=()=>{_0x149b04||_0x540069||(_0x149b04=!0x0,queueMicrotask(()=>{if(_0x149b04=!0x1,!_0x540069){let _0x84b7b4=_0x5d3386();if(!_0x4209fd(_0x84b7b4)){_0x127fd6();return;}_0x422035['next'](_0x84b7b4);}}));};return _0x39e096&&_0x14485e[_0x11de32(0x499)](_0x39e096[_0x11de32(0x410)](_0x437dee=>{_0x2a523e=_0x437dee,_0x128e2b();})),typeof window<'u'&&_0x14485e[_0x11de32(0x499)]((0x0,s[_0x11de32(0x292)])((0x0,s[_0x11de32(0x40e)])(window,_0x11de32(0x230),{'capture':!0x0}),(0x0,s['fromEvent'])(window,_0x11de32(0x41b)))[_0x11de32(0x3df)]((0x0,s[_0x11de32(0x49c)])(0x10))[_0x11de32(0x410)](_0x128e2b)),{'initialRect':_0x3d0c0f,'anchorRect$':_0x422035['asObservable'](),'visible':_0x4209fd(_0x3d0c0f),'dispose':()=>{const _0xf84803=_0x11de32;_0x540069=!0x0,_0x14485e[_0xf84803(0x21d)](),_0x422035[_0xf84803(0x1dd)]();}};}const st=_0x2c7e3b(0x1aa);let K=class extends t[_0x2c7e3b(0x467)]{constructor(_0x452083,_0x736376,_0x2ac6c4,_0x3ad7cf,_0x242bee,_0x35bdba,_0x26fb56,_0x193559,_0x243fbc){const _0xfc61a9=_0x2c7e3b;super(),this[_0xfc61a9(0x316)]=_0x452083,this[_0xfc61a9(0x428)]=_0x736376,this[_0xfc61a9(0x283)]=_0x2ac6c4,this['_sheetCanvasPopManagerService']=_0x3ad7cf,this['_sheetCanvasFloatDomManagerService']=_0x242bee,this[_0xfc61a9(0x4bb)]=_0x35bdba,this[_0xfc61a9(0x183)]=_0x26fb56,this['_commandService']=_0x193559,this[_0xfc61a9(0x486)]=_0x243fbc,E(this,_0xfc61a9(0x30e),null),E(this,_0xfc61a9(0x19f),null),this[_0xfc61a9(0x21c)](),this['_subscribeChartEvents']();}[_0x2c7e3b(0x21d)](){const _0x24f1f0=_0x2c7e3b;this[_0x24f1f0(0x30f)](),super[_0x24f1f0(0x21d)]();}[_0x2c7e3b(0x21c)](){const _0x4e172e=_0x2c7e3b;let _0x1bb906=(0x0,d['createChartElementFloatMenuAdapter'])({'chartUIService':this['_chartUIService'],'getHostAdapter':_0x59e458=>{const _0xa84a61=_0x389a;this[_0xa84a61(0x498)](_0x59e458['chartId']);let _0x2904fa=this[_0xa84a61(0x316)][_0xa84a61(0x300)](_0x59e458['chartId']);if(!(!_0x2904fa||!_0x59e458['subUnitId']))return new d[(_0xa84a61(0x309))](_0x2904fa,new e[(_0xa84a61(0x205))]({'unitId':_0x59e458[_0xa84a61(0x419)],'subUnitId':_0x59e458[_0xa84a61(0x368)],'chartId':_0x59e458[_0xa84a61(0x47f)],'injector':this[_0xa84a61(0x486)]}));},'close':()=>this[_0x4e172e(0x30f)](),'openFullPanel':_0x46e11e=>{const _0x4f5a12=_0x4e172e;let {unitId:_0xaacb3,subUnitId:_0x1cd009,drawingId:_0x57a482,chartId:_0x191d19}=_0x46e11e,_0x513dd6=(0x0,d[_0x4f5a12(0x3d3)])(_0x46e11e[_0x4f5a12(0x311)]);this['_commandService'][_0x4f5a12(0x1a1)](S['id'],{'unitId':_0xaacb3,'subUnitId':_0x1cd009??'','drawingId':_0x57a482??_0x191d19,..._0x513dd6?{'route':_0x513dd6}:{}});}});this[_0x4e172e(0x320)](this[_0x4e172e(0x183)][_0x4e172e(0x4a5)](st,_0x1bb906));}['_subscribeChartEvents'](){const _0x31ea3e=_0x2c7e3b;this[_0x31ea3e(0x320)](this['_chartModelService']['chartModelAdded$'][_0x31ea3e(0x410)](_0x1a82d8=>{const _0x53abb1=_0x31ea3e;let _0x3d3441=new t[(_0x53abb1(0x335))]();_0x3d3441[_0x53abb1(0x499)](this['_chartRenderService']['on'](_0x1a82d8['id'],_0x53abb1(0x45f),_0x1cb780=>{this['_openFloatMenu'](_0x1a82d8['id'],_0x1cb780);})),_0x3d3441[_0x53abb1(0x499)](this['_chartRenderService']['on'](_0x1a82d8['id'],_0x53abb1(0x249),()=>{const _0x41b88e=_0x53abb1;this[_0x41b88e(0x4ab)](_0x1a82d8['id']);})),_0x1a82d8['onDispose'](()=>{const _0xde4f93=_0x53abb1;_0x3d3441[_0xde4f93(0x21d)](),this[_0xde4f93(0x252)](_0x1a82d8['id']);}),this[_0x53abb1(0x320)](_0x3d3441);})),this[_0x31ea3e(0x320)](this[_0x31ea3e(0x4bb)][_0x31ea3e(0x1b2)][_0x31ea3e(0x410)](_0x3b5a67=>{const _0xfcf3eb=_0x31ea3e;(!_0x3b5a67||this[_0xfcf3eb(0x19f)]&&_0x3b5a67!==this[_0xfcf3eb(0x19f)])&&this[_0xfcf3eb(0x30f)]();})),this[_0x31ea3e(0x320)](this[_0x31ea3e(0x25e)][_0x31ea3e(0x28f)][_0x31ea3e(0x410)](({id:_0x29db02})=>{this['_clearSelectedTarget'](_0x29db02);})),this[_0x31ea3e(0x320)](this[_0x31ea3e(0x25e)][_0x31ea3e(0x3c5)][_0x31ea3e(0x410)](({id:_0x49262f})=>{const _0x223c2d=_0x31ea3e;this[_0x223c2d(0x252)](_0x49262f);})),this[_0x31ea3e(0x320)](this['_chartHostProvider'][_0x31ea3e(0x3e1)][_0x31ea3e(0x410)](_0x5148dd=>{const _0x34accc=_0x31ea3e;this[_0x34accc(0x252)](_0x5148dd);}));}[_0x2c7e3b(0x4ab)](_0x115d48){const _0x4e7db7=_0x2c7e3b;if(this[_0x4e7db7(0x4bb)][_0x4e7db7(0x1c9)])return;let _0x6eeef5=this[_0x4e7db7(0x316)][_0x4e7db7(0x300)](_0x115d48),_0x305b72=this[_0x4e7db7(0x25e)][_0x4e7db7(0x455)](_0x115d48);!_0x6eeef5||!_0x305b72||(this['_chartModelService'][_0x4e7db7(0x18f)](_0x6eeef5),this[_0x4e7db7(0x4a8)][_0x4e7db7(0x1a1)](S['id'],{'unitId':_0x305b72[_0x4e7db7(0x419)],'subUnitId':_0x305b72[_0x4e7db7(0x368)]??'','drawingId':_0x115d48}));}[_0x2c7e3b(0x498)](_0x202118){const _0x2dc262=_0x2c7e3b;let _0xb8482f=this[_0x2dc262(0x316)]['getChartModel'](_0x202118);_0xb8482f&&this[_0x2dc262(0x316)][_0x2dc262(0x18f)](_0xb8482f);}[_0x2c7e3b(0x37c)](_0x38a2a8,_0x2da552){const _0x2ab888=_0x2c7e3b;if(!this['_chartUIService'][_0x2ab888(0x3cf)](_0x38a2a8))return;let _0x2a2da3=this[_0x2ab888(0x316)][_0x2ab888(0x300)](_0x38a2a8),_0x1a6704=_0x2a2da3?Me(_0x2a2da3,_0x2da552[_0x2ab888(0x18b)]):void 0x0;if(!_0x1a6704){this[_0x2ab888(0x4bb)][_0x2ab888(0x2ab)](null),this[_0x2ab888(0x4bb)][_0x2ab888(0x206)](),this['_closePopup']();return;}let _0x55bc09=this[_0x2ab888(0x25e)][_0x2ab888(0x455)](_0x38a2a8);if(!_0x2a2da3||!_0x55bc09){this[_0x2ab888(0x4bb)][_0x2ab888(0x2ab)](null),this['_chartUIService']['clearPanelRoute'](),this[_0x2ab888(0x30f)]();return;}if(this[_0x2ab888(0x316)][_0x2ab888(0x18f)](_0x2a2da3),this['_chartUIService']['setSelectedElement']({'chartId':_0x38a2a8,'element':_0x2da552['hit'],'target':_0x1a6704['target'],'route':_0x1a6704[_0x2ab888(0x45d)]}),this[_0x2ab888(0x4bb)][_0x2ab888(0x2f8)](_0x38a2a8,_0x1a6704[_0x2ab888(0x45d)]),this[_0x2ab888(0x30f)](),!_0x1a6704[_0x2ab888(0x38a)])return;let _0x3ba06e=ot(_0x2da552,_0x55bc09[_0x2ab888(0x186)],()=>this['_clearHiddenSelectedTarget'](_0x38a2a8));if(!_0x3ba06e[_0x2ab888(0x3be)]){_0x3ba06e[_0x2ab888(0x21d)]();return;}let _0x3dcb25=this[_0x2ab888(0x28e)][_0x2ab888(0x2c5)](_0x3ba06e[_0x2ab888(0x437)],_0x3ba06e[_0x2ab888(0x307)],{'componentKey':d[_0x2ab888(0x190)],'direction':_0x2ab888(0x422),'offset':[0x0,0x8],'extraProps':{'unitId':_0x55bc09[_0x2ab888(0x419)],'subUnitId':_0x55bc09['subUnitId'],'chartId':_0x38a2a8,'drawingId':_0x38a2a8,'element':_0x2da552[_0x2ab888(0x18b)],'target':_0x1a6704[_0x2ab888(0x311)],'adapterKey':st}},_0x55bc09[_0x2ab888(0x419)],_0x55bc09[_0x2ab888(0x368)])??null;if(!_0x3dcb25){_0x3ba06e['dispose']();return;}let _0x1d2406=new t[(_0x2ab888(0x335))]();_0x1d2406[_0x2ab888(0x499)](_0x3dcb25),_0x1d2406[_0x2ab888(0x499)](_0x3ba06e),this[_0x2ab888(0x30e)]=_0x1d2406,this[_0x2ab888(0x19f)]=_0x38a2a8;}[_0x2c7e3b(0x30f)](){const _0x53e4ca=_0x2c7e3b;var _0x62820a;(_0x62820a=this[_0x53e4ca(0x30e)])==null||_0x62820a[_0x53e4ca(0x21d)](),this['_popupDisposable']=null,this[_0x53e4ca(0x19f)]=null;}[_0x2c7e3b(0x252)](_0x2865df){const _0xb4df60=_0x2c7e3b;!this[_0xb4df60(0x4bb)][_0xb4df60(0x3cf)](_0x2865df)&&this[_0xb4df60(0x19f)]!==_0x2865df||(this[_0xb4df60(0x4bb)][_0xb4df60(0x2ab)](null),this['_chartUIService'][_0xb4df60(0x206)](),this[_0xb4df60(0x19f)]===_0x2865df&&this[_0xb4df60(0x30f)]());}[_0x2c7e3b(0x217)](_0x2ecfca){const _0x33cfcc=_0x2c7e3b;this[_0x33cfcc(0x252)](_0x2ecfca),this['_chartUIService'][_0x33cfcc(0x3cf)](_0x2ecfca)&&(this['_chartRenderService'][_0x33cfcc(0x279)](_0x2ecfca,!0x1),this[_0x33cfcc(0x428)]['setElementEditMode'](_0x2ecfca,!0x0));}};K=A([k(0x0,(0x0,t['Inject'])(e[_0x2c7e3b(0x3b1)])),k(0x1,(0x0,t[_0x2c7e3b(0x1a4)])(P)),k(0x2,j),k(0x3,(0x0,t[_0x2c7e3b(0x1a4)])(a[_0x2c7e3b(0x187)])),k(0x4,(0x0,t['Inject'])(i[_0x2c7e3b(0x421)])),k(0x5,M),k(0x6,(0x0,t[_0x2c7e3b(0x1a4)])(d[_0x2c7e3b(0x360)])),k(0x7,t['ICommandService']),k(0x8,(0x0,t[_0x2c7e3b(0x1a4)])(t['Injector']))],K);let q=class extends t[_0x2c7e3b(0x467)]{constructor(_0x2535fa,_0x558a41){const _0x2341b2=_0x2c7e3b;super(),this[_0x2341b2(0x1ee)]=_0x2535fa,this[_0x2341b2(0x316)]=_0x558a41,this[_0x2341b2(0x195)]();}[_0x2c7e3b(0x195)](){const _0x29bfbd=_0x2c7e3b;this[_0x29bfbd(0x320)](this[_0x29bfbd(0x1ee)][_0x29bfbd(0x3e1)]['subscribe'](_0x13ec1f=>{const _0x48a7eb=_0x29bfbd;this['_chartModelService'][_0x48a7eb(0x3b4)](_0x13ec1f);}));}};q=A([k(0x0,j),k(0x1,(0x0,t[_0x2c7e3b(0x1a4)])(e[_0x2c7e3b(0x3b1)]))],q);let J=class extends t[_0x2c7e3b(0x467)]{constructor(_0x371d68,_0x40a0b5,_0x4e4f96,_0x292d91,_0x12f304,_0x156172){const _0x2ed295=_0x2c7e3b;super(),this[_0x2ed295(0x316)]=_0x371d68,this[_0x2ed295(0x428)]=_0x40a0b5,this[_0x2ed295(0x35c)]=_0x4e4f96,this[_0x2ed295(0x4bb)]=_0x292d91,this[_0x2ed295(0x4a8)]=_0x12f304,this[_0x2ed295(0x371)]=_0x156172,E(this,_0x2ed295(0x41f),new Map()),this[_0x2ed295(0x195)](),this[_0x2ed295(0x18d)](),this['_initPrinting']();}[_0x2c7e3b(0x2c3)](){const _0x297bb8=_0x2c7e3b;this['disposeWithMe'](this[_0x297bb8(0x371)]['interceptor']['intercept'](this[_0x297bb8(0x371)][_0x297bb8(0x297)][_0x297bb8(0x43b)]()[_0x297bb8(0x2b5)],{'handler':(_0x5af07c,_0x17b000,_0x381d39)=>{const _0x10fa5c=_0x297bb8;let _0x30a95a=this[_0x10fa5c(0x428)]['renderChartsForPrinting'](_0x17b000['unitId'],_0x17b000[_0x10fa5c(0x368)],_0x17b000[_0x10fa5c(0x27d)]);return _0x17b000[_0x10fa5c(0x3f0)]['add'](_0x30a95a),_0x381d39(_0x5af07c);}}));}['_init'](){const _0xdc209f=_0x2c7e3b;this[_0xdc209f(0x320)](this[_0xdc209f(0x316)][_0xdc209f(0x4a3)][_0xdc209f(0x410)](_0x4cfdea=>{const _0x358bee=_0xdc209f;if(_0x4cfdea){let _0x14659c=new t['DisposableCollection']();_0x14659c[_0x358bee(0x499)](_0x4cfdea[_0x358bee(0x33a)][_0x358bee(0x3df)]((0x0,s[_0x358bee(0x1de)])(_0x4cfdea[_0x358bee(0x489)]),(0x0,s[_0x358bee(0x1de)])(this[_0x358bee(0x35c)][_0x358bee(0x255)]),(0x0,s['debounceTime'])(0x64))[_0x358bee(0x410)](([[_0x14303b,_0xc198aa],_0x447126])=>{const _0x3bc087=_0x358bee;var _0xf4a4c5;if(!_0x14303b)return;(_0xf4a4c5=_0x14303b[_0x3bc087(0x2c4)])==null||_0xf4a4c5['items']['forEach']((_0x32c272,_0x4e54dd)=>{const _0x244019=_0x3bc087;_0x32c272[_0x244019(0x3b0)]||=this[_0x244019(0x35c)]['t'](_0x244019(0x3e6))+'\x20'+(_0x4e54dd+0x1);}),_0x14303b[_0x3bc087(0x31e)][_0x3bc087(0x481)]((_0x3e8119,_0x33247c)=>{const _0x28f3c4=_0x3bc087;_0x3e8119['name']||=this[_0x28f3c4(0x35c)]['t']('sheets-chart-ui.chord.target')+'\x20'+(_0x33247c+0x1);});let _0x4216c0=this[_0x3bc087(0x428)]['createRuntimeChartStyle'](_0x4cfdea,_0x447126);this['_chartRenderService'][_0x3bc087(0x4a0)](_0x4cfdea['id'],_0x14303b,_0x4216c0);})),_0x4cfdea[_0x358bee(0x1be)](()=>{const _0x1c81cb=_0x358bee;_0x14659c[_0x1c81cb(0x21d)]();});}}));}[_0x2c7e3b(0x18d)](){const _0x12b85a=_0x2c7e3b;this[_0x12b85a(0x320)](this[_0x12b85a(0x4a8)]['onCommandExecuted'](_0x10391f=>{const _0x53b7e7=_0x12b85a;if(_0x10391f['id']!==e['ChartUpdateConfigMutation']['id'])return;let _0x335f02=_0x10391f[_0x53b7e7(0x3ff)];_0x335f02!=null&&_0x335f02['chartModelId']&&Promise['resolve']()['then'](()=>this[_0x53b7e7(0x1a0)](_0x335f02));}));}[_0x2c7e3b(0x1a0)](_0x12d64b){const _0x512368=_0x2c7e3b;let _0x5b40fb=this[_0x512368(0x316)][_0x512368(0x300)](_0x12d64b[_0x512368(0x3e3)]);if(!_0x5b40fb||_0x5b40fb[_0x512368(0x334)]!==c[_0x512368(0x45e)]['WordCloud'])return;let _0x2a9ac7=_0x5b40fb[_0x512368(0x30a)];if(!_0x2a9ac7){this['_renderWhenConfigReady'](_0x5b40fb);return;}this[_0x512368(0x1c4)](_0x5b40fb,_0x2a9ac7);}[_0x2c7e3b(0x207)](_0x3025d0){const _0x11f78b=_0x2c7e3b;if(this[_0x11f78b(0x41f)][_0x11f78b(0x406)](_0x3025d0['id']))return;let _0x3af76a=_0x3025d0[_0x11f78b(0x33a)][_0x11f78b(0x3df)]((0x0,s[_0x11f78b(0x379)])(_0x243d5a=>_0x243d5a!=null),(0x0,s[_0x11f78b(0x28c)])(0x1))['subscribe'](_0x43b60c=>{const _0x50eee1=_0x11f78b;this[_0x50eee1(0x41f)]['delete'](_0x3025d0['id']),this[_0x50eee1(0x1c4)](_0x3025d0,_0x43b60c);});this[_0x11f78b(0x41f)][_0x11f78b(0x3d5)](_0x3025d0['id'],_0x3af76a),_0x3025d0[_0x11f78b(0x1be)](()=>{const _0x414960=_0x11f78b;_0x3af76a[_0x414960(0x2f4)](),this[_0x414960(0x41f)][_0x414960(0x188)](_0x3025d0['id']);});}[_0x2c7e3b(0x1c4)](_0x49e9d6,_0x27f59f){const _0x245de5=_0x2c7e3b;let _0x1cd162=this[_0x245de5(0x428)]['createRuntimeChartStyle'](_0x49e9d6,this[_0x245de5(0x35c)][_0x245de5(0x3b8)]());this[_0x245de5(0x428)][_0x245de5(0x4a0)](_0x49e9d6['id'],_0x27f59f,_0x1cd162);}};J=A([k(0x0,(0x0,t[_0x2c7e3b(0x1a4)])(e[_0x2c7e3b(0x3b1)])),k(0x1,(0x0,t[_0x2c7e3b(0x1a4)])(P)),k(0x2,(0x0,t[_0x2c7e3b(0x1a4)])(t['LocaleService'])),k(0x3,M),k(0x4,t[_0x2c7e3b(0x1a6)]),k(0x5,(0x0,t['Inject'])(a[_0x2c7e3b(0x2fc)]))],J);let Y=class extends t['Disposable']{constructor(_0x621be,_0x3e47ba,_0x1706a6,_0x408205){const _0xd8f88c=_0x2c7e3b;super(),this[_0xd8f88c(0x199)]=_0x621be,this[_0xd8f88c(0x425)]=_0x3e47ba,this[_0xd8f88c(0x476)]=_0x1706a6,this['_chartModelService']=_0x408205,this[_0xd8f88c(0x369)]();}[_0x2c7e3b(0x369)](){const _0x1197fe=_0x2c7e3b;this[_0x1197fe(0x320)](this[_0x1197fe(0x425)][_0x1197fe(0x390)]({'getMutations':_0x5bd623=>{const _0x3ff5dd=_0x1197fe;if(_0x5bd623['id']===f[_0x3ff5dd(0x200)]['id']){let _0x5a981e=(0x0,f[_0x3ff5dd(0x19b)])(this[_0x3ff5dd(0x199)],_0x5bd623[_0x3ff5dd(0x3ff)]);if(!_0x5a981e)return{'redos':[],'undos':[]};let {unitId:_0x34a725,subUnitId:_0x50a39c}=_0x5a981e,_0x1dc162=this[_0x3ff5dd(0x476)][_0x3ff5dd(0x27f)](_0x34a725,_0x50a39c),_0x580f08=Object[_0x3ff5dd(0x305)](_0x1dc162)[_0x3ff5dd(0x379)](_0x3b3702=>_0x3b3702[_0x3ff5dd(0x1b5)]===t['DrawingTypeEnum'][_0x3ff5dd(0x382)]);if(_0x580f08[_0x3ff5dd(0x3ab)]===0x0)return{'redos':[],'undos':[]};let _0x3b8e29=[],_0x4c58ac=[];for(let _0x471d89=0x0;_0x471d89<_0x580f08[_0x3ff5dd(0x3ab)];_0x471d89++){let _0x325c4b=_0x580f08[_0x471d89],_0x1190de=this['_chartModelService'][_0x3ff5dd(0x300)](_0x325c4b['drawingId']);if(!_0x1190de)continue;let _0x2ac3fb=_0x1190de[_0x3ff5dd(0x46c)][_0x3ff5dd(0x209)](),{chartType:_0x30a5ac,context:_0x36779a,style:_0x32f539,dataAggregation:_0x3e5ea5}=_0x1190de[_0x3ff5dd(0x1f1)](),{redo:_0x4e0e00,undo:_0x842030,objects:_0x57819a}=this['_sheetDrawingService'][_0x3ff5dd(0x1b8)]([_0x325c4b]);_0x3b8e29[_0x3ff5dd(0x1c6)]({'id':e['RemoveSheetsChartMutation']['id'],'params':{'unitId':_0x34a725,'subUnitId':_0x50a39c,'chartId':_0x325c4b['drawingId']}}),_0x3b8e29['push']({'id':r[_0x3ff5dd(0x458)]['id'],'params':{'unitId':_0x34a725,'subUnitId':_0x50a39c,'type':r[_0x3ff5dd(0x1bc)][_0x3ff5dd(0x21a)],'op':_0x4e0e00,'objects':_0x57819a}}),_0x4c58ac[_0x3ff5dd(0x1c6)]({'id':r['SetDrawingApplyMutation']['id'],'params':{'unitId':_0x34a725,'subUnitId':_0x50a39c,'type':r[_0x3ff5dd(0x1bc)][_0x3ff5dd(0x1ed)],'op':_0x842030,'objects':_0x57819a}}),_0x4c58ac[_0x3ff5dd(0x1c6)]({'id':e[_0x3ff5dd(0x223)]['id'],'params':{'unitId':_0x34a725,'subUnitId':_0x50a39c,'chartId':_0x325c4b[_0x3ff5dd(0x449)],'chartType':_0x30a5ac,...(0x0,e[_0x3ff5dd(0x33d)])(_0x2ac3fb),'context':_0x36779a,'style':_0x32f539,'dataAggregation':_0x3e5ea5}});}return{'redos':_0x3b8e29,'undos':_0x4c58ac};}else{if(_0x5bd623['id']===f[_0x3ff5dd(0x429)]['id']){let {unitId:_0x43ac6d,subUnitId:_0x561a68,targetSubUnitId:_0x4e90c3}=_0x5bd623['params'];if(!_0x43ac6d||!_0x561a68||!_0x4e90c3)return{'redos':[],'undos':[]};let _0x1f8ad2=this[_0x3ff5dd(0x476)][_0x3ff5dd(0x27f)](_0x43ac6d,_0x561a68),_0xdfdf62=Object[_0x3ff5dd(0x305)](_0x1f8ad2)[_0x3ff5dd(0x379)](_0x58ec36=>_0x58ec36[_0x3ff5dd(0x1b5)]===t[_0x3ff5dd(0x241)][_0x3ff5dd(0x382)]);if(_0xdfdf62[_0x3ff5dd(0x3ab)]===0x0)return{'redos':[],'undos':[]};let _0x8de8f9=[],_0x2b1cf3=[];for(let _0x3c135c=0x0;_0x3c135c<_0xdfdf62[_0x3ff5dd(0x3ab)];_0x3c135c++){let _0x464404=_0xdfdf62[_0x3c135c],_0x5d71e6=this[_0x3ff5dd(0x316)][_0x3ff5dd(0x300)](_0x464404[_0x3ff5dd(0x449)]);if(!_0x5d71e6)continue;let _0xe0348=(0x0,t['generateRandomId'])(),_0x990946={..._0x464404,'unitId':_0x43ac6d,'subUnitId':_0x4e90c3,'drawingId':_0xe0348},_0x349731=_0x5d71e6[_0x3ff5dd(0x46c)][_0x3ff5dd(0x209)](),_0x5e8d56=Array[_0x3ff5dd(0x463)](_0x349731)?_0x349731[_0x3ff5dd(0x1f5)](_0x522eba=>({..._0x522eba,..._0x522eba[_0x3ff5dd(0x427)]?{'header':{..._0x522eba['header'],'subUnitId':_0x4e90c3}}:{},'range':{..._0x522eba[_0x3ff5dd(0x4a1)],'subUnitId':_0x4e90c3}})):{..._0x349731,'rangeInfo':{..._0x349731[_0x3ff5dd(0x464)],'subUnitId':_0x4e90c3}},{chartType:_0x530220,context:_0x13311a,style:_0x286a40,dataAggregation:_0x42e84e}=_0x5d71e6[_0x3ff5dd(0x1f1)](),{redo:_0x5bccf2,undo:_0x370b04,objects:_0x593ee4}=this[_0x3ff5dd(0x476)]['getBatchAddOp']([_0x990946]);_0x8de8f9[_0x3ff5dd(0x1c6)]({'id':r[_0x3ff5dd(0x458)]['id'],'params':{'unitId':_0x43ac6d,'subUnitId':_0x4e90c3,'type':r['DrawingApplyType'][_0x3ff5dd(0x1ed)],'op':_0x5bccf2,'objects':_0x593ee4}}),_0x8de8f9[_0x3ff5dd(0x1c6)]({'id':e[_0x3ff5dd(0x223)]['id'],'params':{'unitId':_0x43ac6d,'subUnitId':_0x4e90c3,'chartId':_0xe0348,'chartType':_0x530220,...(0x0,e[_0x3ff5dd(0x33d)])(_0x5e8d56),'context':_0x13311a,'style':_0x286a40,'dataAggregation':_0x42e84e}}),_0x2b1cf3[_0x3ff5dd(0x1c6)]({'id':e[_0x3ff5dd(0x434)]['id'],'params':{'unitId':_0x43ac6d,'subUnitId':_0x4e90c3,'chartId':_0xe0348}}),_0x2b1cf3[_0x3ff5dd(0x1c6)]({'id':r[_0x3ff5dd(0x458)]['id'],'params':{'unitId':_0x43ac6d,'subUnitId':_0x4e90c3,'type':r['DrawingApplyType'][_0x3ff5dd(0x21a)],'op':_0x370b04,'objects':_0x593ee4}});}return{'redos':_0x8de8f9,'undos':_0x2b1cf3};}}return{'redos':[],'undos':[]};}}));}};Y=A([k(0x0,(0x0,t['Inject'])(t[_0x2c7e3b(0x2ce)])),k(0x1,(0x0,t[_0x2c7e3b(0x1a4)])(f[_0x2c7e3b(0x2aa)])),k(0x2,(0x0,t[_0x2c7e3b(0x1a4)])(r['ISheetDrawingService'])),k(0x3,(0x0,t['Inject'])(e[_0x2c7e3b(0x3b1)]))],Y);let X=class extends t[_0x2c7e3b(0x467)]{constructor(_0x2bd538,_0x226f2e){const _0x47961f=_0x2c7e3b;super(),this[_0x47961f(0x29e)]=_0x2bd538,this['_iconManager']=_0x226f2e,this[_0x47961f(0x265)](),this[_0x47961f(0x1ff)]();}[_0x2c7e3b(0x265)](){const _0x5ab441=_0x2c7e3b;this[_0x5ab441(0x320)](this['_iconManager'][_0x5ab441(0x4a5)]({'PenIcon':ee[_0x5ab441(0x2f6)]}));}['_registerComponents'](){const _0x5acbbe=_0x2c7e3b;[[Ue,He]][_0x5acbbe(0x481)](([_0x599a21,_0x106fad])=>{const _0xbd91f6=_0x5acbbe;this['disposeWithMe'](this['_componentManager'][_0xbd91f6(0x4a5)](_0x599a21,_0x106fad));});}};X=A([k(0x0,(0x0,t['Inject'])(o['ComponentManager'])),k(0x1,(0x0,t[_0x2c7e3b(0x1a4)])(o[_0x2c7e3b(0x3e2)]))],X);let Z=class extends t[_0x2c7e3b(0x467)]{constructor(_0xf5ea02,_0x4aabf2,_0x5610bc,_0x5d0f39){const _0x16f355=_0x2c7e3b;super(),this[_0x16f355(0x257)]=_0xf5ea02,this[_0x16f355(0x236)]=_0x4aabf2,this[_0x16f355(0x476)]=_0x5610bc,this['_chartModelService']=_0x5d0f39,E(this,'_copyInfo',void 0x0),this[_0x16f355(0x49b)]();}get[_0x2c7e3b(0x4b4)](){const _0x2bbc40=_0x2c7e3b;return this[_0x2bbc40(0x476)]['getFocusDrawings']();}['_initCopyPaste'](){const _0x58eef0=_0x2c7e3b;this['disposeWithMe'](this[_0x58eef0(0x236)][_0x58eef0(0x45c)]({'id':e[_0x58eef0(0x3b6)],'onBeforeCopy':(_0x4a31e9,_0x45be71,_0x1c2f16,_0x24249d)=>{const _0x41eb23=_0x58eef0;this[_0x41eb23(0x374)]=null;let _0x656965=this['_focusedDrawings'];if(_0x656965[_0x41eb23(0x3ab)]){let _0x5468b8=_0x656965[_0x41eb23(0x379)](_0x27cc80=>_0x27cc80['drawingType']===t[_0x41eb23(0x241)][_0x41eb23(0x382)]);if(_0x5468b8[_0x41eb23(0x3ab)]===0x0)return;this[_0x41eb23(0x374)]={'unitId':_0x4a31e9,'subUnitId':_0x45be71,'copyType':_0x24249d,'drawings':_0x5468b8};}else this[_0x41eb23(0x1d7)](_0x4a31e9,_0x45be71,_0x1c2f16,_0x24249d);},'onPasteCells':(_0x45d88f,_0x57ac32,_0x35192e,_0x2685f1)=>{const _0x15926a=_0x58eef0;if(!this['_copyInfo'])return{'redos':[],'undos':[]};let {pasteType:_0x3549e0}=_0x2685f1;return _0x3549e0===a[_0x15926a(0x2bd)][_0x15926a(0x33f)]?this[_0x15926a(0x31c)](_0x57ac32,this[_0x15926a(0x374)]['copyType']===a[_0x15926a(0x1ad)][_0x15926a(0x2f2)]):{'redos':[],'undos':[]};},'onPasteUnrecognized':_0xced3f0=>this[_0x58eef0(0x374)]?this[_0x58eef0(0x31c)](_0xced3f0,this[_0x58eef0(0x374)][_0x58eef0(0x3d1)]===a[_0x58eef0(0x1ad)][_0x58eef0(0x2f2)]):{'redos':[],'undos':[]}}));}[_0x2c7e3b(0x1d7)](_0x420a53,_0x2e3ac3,_0x39569b,_0x318bc9){const _0x2c9eeb=_0x2c7e3b;let _0x1f6a7c=this[_0x2c9eeb(0x257)]['getSkeleton'](_0x420a53,_0x2e3ac3);if(!_0x1f6a7c)return;let _0x358c91=(0x0,f[_0x2c9eeb(0x3b5)])(_0x1f6a7c,_0x39569b);if(!_0x358c91)return;let {startX:_0x232c58,endX:_0x3b9e1a,startY:_0x20bca6,endY:_0x33a1a1}=_0x358c91,_0x2f3466=this['_sheetDrawingService'][_0x2c9eeb(0x27f)](_0x420a53,_0x2e3ac3),_0xdef258=this[_0x2c9eeb(0x4b4)][_0x2c9eeb(0x446)]();for(let [_0x1bc073,_0x4f5c9d]of Object[_0x2c9eeb(0x3d2)](_0x2f3466)){if(_0x4f5c9d[_0x2c9eeb(0x1b5)]!==t['DrawingTypeEnum'][_0x2c9eeb(0x382)])continue;let {transform:_0x2fc84e}=_0x4f5c9d;if(!_0x2fc84e)continue;let {left:_0x4bbb90=0x0,top:_0x2f1fe3=0x0,width:_0x2e5f07=0x0,height:_0x3a7088=0x0}=_0x2fc84e;_0x232c58<=_0x4bbb90&&_0x3b9e1a>=_0x4bbb90+_0x2e5f07&&_0x20bca6<=_0x2f1fe3&&_0x33a1a1>=_0x2f1fe3+_0x3a7088&&_0xdef258[_0x2c9eeb(0x1c6)](_0x4f5c9d);}_0xdef258[_0x2c9eeb(0x3ab)]>0x0&&(this[_0x2c9eeb(0x374)]={'unitId':_0x420a53,'subUnitId':_0x2e3ac3,'copyType':_0x318bc9,'copyRange':_0x39569b,'drawings':_0xdef258});}['_generatePasteMutations'](_0x3cb218,_0x3f0e76){const _0x387975=_0x2c7e3b;let {unitId:_0x5da190,subUnitId:_0x26e7f3,range:_0x59ae48}=_0x3cb218,_0x355280=this[_0x387975(0x257)]['getSkeleton'](_0x5da190,_0x26e7f3);if(!_0x355280)return{'redos':[],'undos':[]};let _0x29760e=(0x0,f['discreteRangeToRange'])(_0x59ae48),{unitId:_0x455dc8,subUnitId:_0x333267,copyRange:_0x110ec8,drawings:_0x442221}=this[_0x387975(0x374)],_0x404f40=this[_0x387975(0x257)][_0x387975(0x201)](_0x455dc8,_0x333267);if(!_0x404f40)return{'redos':[],'undos':[]};let _0x317342=[],_0x568b91=[];for(let _0x448632 of _0x442221){let {drawingId:_0x3fddac,transform:_0x13ddee,sheetTransform:_0x4e8244}=_0x448632,_0x2fa069=this[_0x387975(0x316)][_0x387975(0x300)](_0x3fddac);if(!_0x2fa069||!_0x13ddee||!_0x4e8244)continue;let _0x296d15=this[_0x387975(0x2d9)]({'transform':_0x13ddee,'sheetTransform':_0x4e8244},{'skeleton':_0x404f40,'range':_0x110ec8},{'skeleton':_0x355280,'range':_0x29760e});if(_0x3f0e76){let {redos:_0x2a5723,undos:_0x4090af}=this[_0x387975(0x3a3)]({'fromUnitId':_0x455dc8,'fromSubUnitId':_0x333267,'toUnitId':_0x5da190,'toSubUnitId':_0x26e7f3,'drawing':_0x448632,'newTransforms':_0x296d15},_0x2fa069);_0x317342['push'](..._0x2a5723),_0x568b91['push'](..._0x4090af);continue;}let {redos:_0x316302,undos:_0x1c2f37}=this['_generateCopyPasteMutations']({'toUnitId':_0x5da190,'toSubUnitId':_0x26e7f3,'drawing':_0x448632,'newTransforms':_0x296d15},_0x2fa069);_0x317342[_0x387975(0x1c6)](..._0x316302),_0x568b91['push'](..._0x1c2f37);}return{'redos':_0x317342,'undos':_0x568b91};}['_generateCutPasteMutations'](_0x45b074,_0x43953f){const _0xb12e86=_0x2c7e3b;let {fromUnitId:_0x5f2222,fromSubUnitId:_0x54421f,toUnitId:_0x4d8a49,toSubUnitId:_0x8a3942,drawing:_0x1deb31,newTransforms:_0x3d13c5}=_0x45b074,_0x3904df={..._0x1deb31,'unitId':_0x4d8a49,'subUnitId':_0x8a3942,'transform':_0x3d13c5[_0xb12e86(0x268)],'sheetTransform':_0x3d13c5['sheetTransform']};if(_0x4d8a49===_0x5f2222&&_0x8a3942===_0x54421f){let {redo:_0x186d45,undo:_0x268c32,objects:_0x241d1c}=this[_0xb12e86(0x476)][_0xb12e86(0x2a5)]([_0x3904df]);return{'redos':[{'id':r[_0xb12e86(0x458)]['id'],'params':{'unitId':_0x4d8a49,'subUnitId':_0x8a3942,'type':r[_0xb12e86(0x1bc)][_0xb12e86(0x3e8)],'op':_0x186d45,'objects':_0x241d1c}}],'undos':[{'id':r[_0xb12e86(0x458)]['id'],'params':{'unitId':_0x4d8a49,'subUnitId':_0x8a3942,'type':r[_0xb12e86(0x1bc)][_0xb12e86(0x3e8)],'op':_0x268c32,'objects':_0x241d1c}}]};}else{let _0xc2eaed=this[_0xb12e86(0x476)][_0xb12e86(0x1b8)]([_0x1deb31]),_0x426726=this[_0xb12e86(0x476)][_0xb12e86(0x3dc)]([_0x3904df]),_0x150e46=_0x43953f[_0xb12e86(0x46c)]['getRangeInfo'](),{chartType:_0x3f7ab4,context:_0x313b41,style:_0x3c2574,dataAggregation:_0x2d8065}=_0x43953f[_0xb12e86(0x1f1)]();return{'redos':[{'id':r[_0xb12e86(0x458)]['id'],'params':{'unitId':_0x5f2222,'subUnitId':_0x54421f,'type':r[_0xb12e86(0x1bc)][_0xb12e86(0x21a)],'op':_0xc2eaed[_0xb12e86(0x3c6)],'objects':_0xc2eaed[_0xb12e86(0x49f)]}},{'id':e[_0xb12e86(0x434)]['id'],'params':{'unitId':_0x5f2222,'subUnitId':_0x54421f,'chartId':_0x1deb31[_0xb12e86(0x449)]}},{'id':r[_0xb12e86(0x458)]['id'],'params':{'unitId':_0x4d8a49,'subUnitId':_0x8a3942,'type':r[_0xb12e86(0x1bc)]['INSERT'],'op':_0x426726[_0xb12e86(0x3c6)],'objects':_0x426726[_0xb12e86(0x49f)]}},{'id':e[_0xb12e86(0x223)]['id'],'params':{'unitId':_0x4d8a49,'subUnitId':_0x8a3942,'chartId':_0x1deb31[_0xb12e86(0x449)],'chartType':_0x3f7ab4,...(0x0,e['toInsertChartMutationSource'])(_0x150e46),'context':_0x313b41,'style':_0x3c2574,'dataAggregation':_0x2d8065}}],'undos':[{'id':r['SetDrawingApplyMutation']['id'],'params':{'unitId':_0x5f2222,'subUnitId':_0x54421f,'type':r[_0xb12e86(0x1bc)][_0xb12e86(0x1ed)],'op':_0xc2eaed[_0xb12e86(0x387)],'objects':_0xc2eaed[_0xb12e86(0x49f)]}},{'id':e[_0xb12e86(0x223)]['id'],'params':{'unitId':_0x5f2222,'subUnitId':_0x54421f,'chartId':_0x1deb31[_0xb12e86(0x449)],'chartType':_0x3f7ab4,...(0x0,e[_0xb12e86(0x33d)])(_0x150e46),'context':_0x313b41,'style':_0x3c2574,'dataAggregation':_0x2d8065}},{'id':r[_0xb12e86(0x458)]['id'],'params':{'unitId':_0x4d8a49,'subUnitId':_0x8a3942,'type':r[_0xb12e86(0x1bc)]['REMOVE'],'op':_0x426726[_0xb12e86(0x387)],'objects':_0x426726[_0xb12e86(0x49f)]}},{'id':e['RemoveSheetsChartMutation']['id'],'params':{'unitId':_0x4d8a49,'subUnitId':_0x8a3942,'chartId':_0x1deb31[_0xb12e86(0x449)]}}]};}}[_0x2c7e3b(0x46b)](_0x10245c,_0x5dfcef){const _0x5ab3f4=_0x2c7e3b;let {toUnitId:_0x33b0a3,toSubUnitId:_0xc9b630,drawing:_0x1a2056,newTransforms:_0x314044}=_0x10245c,_0x346c6e=(0x0,t[_0x5ab3f4(0x495)])(),_0x7b7ad1={..._0x1a2056,'unitId':_0x33b0a3,'subUnitId':_0xc9b630,'drawingId':_0x346c6e,'transform':_0x314044[_0x5ab3f4(0x268)],'sheetTransform':_0x314044[_0x5ab3f4(0x3e4)]},{redo:_0x508e89,undo:_0x449d85,objects:_0x4b9c52}=this[_0x5ab3f4(0x476)][_0x5ab3f4(0x3dc)]([_0x7b7ad1]),_0x48b289=_0x5dfcef[_0x5ab3f4(0x46c)]['getRangeInfo'](),{chartType:_0x3c43f5,context:_0x47e9cf,style:_0x929b2a,dataAggregation:_0x9707ba}=_0x5dfcef[_0x5ab3f4(0x1f1)]();return{'redos':[{'id':r[_0x5ab3f4(0x458)]['id'],'params':{'unitId':_0x33b0a3,'subUnitId':_0xc9b630,'type':r[_0x5ab3f4(0x1bc)][_0x5ab3f4(0x1ed)],'op':_0x508e89,'objects':_0x4b9c52}},{'id':e[_0x5ab3f4(0x223)]['id'],'params':{'unitId':_0x33b0a3,'subUnitId':_0xc9b630,'chartId':_0x346c6e,'chartType':_0x3c43f5,...(0x0,e[_0x5ab3f4(0x33d)])(_0x48b289),'context':_0x47e9cf,'style':_0x929b2a,'dataAggregation':_0x9707ba}}],'undos':[{'id':r[_0x5ab3f4(0x458)]['id'],'params':{'unitId':_0x33b0a3,'subUnitId':_0xc9b630,'type':r[_0x5ab3f4(0x1bc)][_0x5ab3f4(0x21a)],'op':_0x449d85,'objects':_0x4b9c52}},{'id':e[_0x5ab3f4(0x434)]['id'],'params':{'unitId':_0x33b0a3,'subUnitId':_0xc9b630,'chartId':_0x346c6e}}]};}[_0x2c7e3b(0x2d9)](_0x2e84dc,_0x2f6140,_0x428ee2){const _0x449aab=_0x2c7e3b;let {range:_0x1fbc6c,skeleton:_0x5980cc}=_0x2f6140,{range:_0x168ebc,skeleton:_0x4f2666}=_0x428ee2,{transform:_0x572df3,sheetTransform:_0x7a86f0}=_0x2e84dc,_0x4804ff={..._0x572df3};if(_0x1fbc6c){let _0x130893=(0x0,f[_0x449aab(0x3b5)])(_0x5980cc,_0x1fbc6c),_0x55ed73=(0x0,f[_0x449aab(0x3b5)])(_0x4f2666,_0x168ebc);if(_0x130893&&_0x55ed73){let _0x1c5f49=_0x55ed73[_0x449aab(0x306)]-_0x130893[_0x449aab(0x306)],_0x15e0c8=_0x55ed73[_0x449aab(0x1cf)]-_0x130893['startY'];_0x4804ff[_0x449aab(0x276)]=(_0x4804ff['left']??0x0)+_0x1c5f49,_0x4804ff[_0x449aab(0x43e)]=(_0x4804ff[_0x449aab(0x43e)]??0x0)+_0x15e0c8;}}else{let _0x51835d=(0x0,f[_0x449aab(0x3b5)])(_0x4f2666,_0x168ebc);_0x4804ff[_0x449aab(0x276)]=_0x51835d==null?void 0x0:_0x51835d['startX'],_0x4804ff[_0x449aab(0x43e)]=_0x51835d==null?void 0x0:_0x51835d[_0x449aab(0x1cf)];}return{'transform':_0x4804ff,'sheetTransform':(0x0,r[_0x449aab(0x3bb)])(_0x4804ff,_0x4f2666)??_0x7a86f0};}};Z=A([k(0x0,(0x0,t[_0x2c7e3b(0x1a4)])(f[_0x2c7e3b(0x28b)])),k(0x1,(0x0,t[_0x2c7e3b(0x1a4)])(a[_0x2c7e3b(0x28a)])),k(0x2,(0x0,t[_0x2c7e3b(0x1a4)])(r[_0x2c7e3b(0x42a)])),k(0x3,(0x0,t[_0x2c7e3b(0x1a4)])(e[_0x2c7e3b(0x3b1)]))],Z);let Q=class extends t[_0x2c7e3b(0x467)]{constructor(_0x355308,_0x43b769,_0x8a2afc,_0x5c78e5){const _0x507e8a=_0x2c7e3b;super(),this['_commandService']=_0x355308,this['_localeService']=_0x43b769,this[_0x507e8a(0x2e3)]=_0x8a2afc,this['_sheetsChartService']=_0x5c78e5,this[_0x507e8a(0x2b4)]();}[_0x2c7e3b(0x2b4)](){const _0x447c98=_0x2c7e3b;this[_0x447c98(0x320)](this['_commandService'][_0x447c98(0x48f)](_0x4720e0=>{const _0x58e611=_0x447c98;let _0x1b53a7,_0x1a66d8;if(_0x4720e0['id']===e['InsertChartCommand']['id']){let _0x424f20=_0x4720e0['params'];_0x1b53a7=_0x424f20[_0x58e611(0x419)],_0x1a66d8=_0x424f20['subUnitId'];}else{if(_0x4720e0['id']===e[_0x58e611(0x384)]['id']||_0x4720e0['id']===e[_0x58e611(0x3dd)]['id']){let _0x278b6d=_0x4720e0[_0x58e611(0x3ff)];_0x1b53a7=_0x278b6d[_0x58e611(0x419)],_0x1a66d8=this[_0x58e611(0x1e7)]['getSubUnitId'](_0x278b6d[_0x58e611(0x419)],_0x278b6d['chartModelId']);}}!_0x1b53a7||!_0x1a66d8||this['_sheetPermissionCheckController'][_0x58e611(0x39a)]({'workbookTypes':[f[_0x58e611(0x2bb)]],'worksheetTypes':[f['WorksheetEditPermission']]},_0x1b53a7,_0x1a66d8)||this[_0x58e611(0x2e3)][_0x58e611(0x184)](this['_localeService']['t'](_0x58e611(0x344)));}));}};Q=A([k(0x0,(0x0,t['Inject'])(t[_0x2c7e3b(0x1a6)])),k(0x1,(0x0,t[_0x2c7e3b(0x1a4)])(t[_0x2c7e3b(0x1ac)])),k(0x2,(0x0,t['Inject'])(f['SheetPermissionCheckController'])),k(0x3,(0x0,t[_0x2c7e3b(0x1a4)])(e[_0x2c7e3b(0x39b)]))],Q);let $=class extends t[_0x2c7e3b(0x1d9)]{constructor(_0x318fde=b,_0x32ec10,_0x4f800a,_0x3c79f5){const _0x197727=_0x2c7e3b;super(),this[_0x197727(0x3e5)]=_0x318fde,this[_0x197727(0x486)]=_0x32ec10,this[_0x197727(0x44c)]=_0x4f800a,this[_0x197727(0x4a8)]=_0x3c79f5,E(this,_0x197727(0x445),void 0x0);let {..._0x4d9810}=(0x0,t[_0x197727(0x292)])({},b,this['_config']);this[_0x197727(0x445)]=_0x4d9810,this[_0x197727(0x44c)][_0x197727(0x214)](y,_0x4d9810),this['_initCommands'](),(0x0,c['registerWordCloudChart'])(c['echarts']);}[_0x2c7e3b(0x325)](){const _0x26cbd1=_0x2c7e3b;this['_injector'][_0x26cbd1(0x499)]([X]),this[_0x26cbd1(0x486)][_0x26cbd1(0x406)](X);let _0x158725=this[_0x26cbd1(0x486)],_0x18ded8=[[M,{'useClass':N}],[j,{'useClass':fe}],[se],[P],[U],[q],[J],[Z],[Y],[Q]],_0x21ae78=[[U],[J],[q],[M],[Z],[Y],[Q]];this[_0x26cbd1(0x445)][_0x26cbd1(0x251)]&&(_0x18ded8[_0x26cbd1(0x1c6)]([K]),_0x21ae78[_0x26cbd1(0x1c6)]([K])),_0x18ded8[_0x26cbd1(0x481)](_0x523ca0=>_0x158725['add'](_0x523ca0)),(0x0,t[_0x26cbd1(0x234)])(this[_0x26cbd1(0x486)],_0x21ae78);}[_0x2c7e3b(0x36c)](){const _0x592792=_0x2c7e3b;var _0x37b26e;(_0x37b26e=this[_0x592792(0x486)][_0x592792(0x406)](U))==null||_0x37b26e[_0x592792(0x3ec)]();}['_initCommands'](){const _0x6a6b67=_0x2c7e3b;[V,I,L,R,z,S,x][_0x6a6b67(0x481)](_0x3c366f=>this['disposeWithMe'](this[_0x6a6b67(0x4a8)]['registerCommand'](_0x3c366f)));}};E($,_0x2c7e3b(0x39f),t[_0x2c7e3b(0x339)][_0x2c7e3b(0x48c)]),E($,'pluginName','UniverSheetsChartUIPlugin'),E($,_0x2c7e3b(0x375),qe),E($,_0x2c7e3b(0x281),Je),$=A([(0x0,t[_0x2c7e3b(0x1bd)])(v[_0x2c7e3b(0x1a9)],n[_0x2c7e3b(0x38c)],u[_0x2c7e3b(0x25f)],f[_0x2c7e3b(0x208)],r[_0x2c7e3b(0x233)],d[_0x2c7e3b(0x3c7)],e[_0x2c7e3b(0x1fa)],i['UniverSheetsDrawingUIPlugin'],a[_0x2c7e3b(0x351)]),k(0x1,(0x0,t[_0x2c7e3b(0x1a4)])(t['Injector'])),k(0x2,t[_0x2c7e3b(0x304)]),k(0x3,t[_0x2c7e3b(0x1a6)])],$),exports['ISheetsChartUIService']=M,exports[_0x2c7e3b(0x336)]=y,Object[_0x2c7e3b(0x493)](exports,_0x2c7e3b(0x328),{'enumerable':!0x0,'get':function(){return U;}}),exports['SheetsChartUIMenuSchema']=ke,Object['defineProperty'](exports,_0x2c7e3b(0x337),{'enumerable':!0x0,'get':function(){return N;}}),Object[_0x2c7e3b(0x493)](exports,_0x2c7e3b(0x3fe),{'enumerable':!0x0,'get':function(){return $;}});
|