@univerjs-pro/sheets-chart-ui 0.21.1 → 0.22.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/README.md +29 -34
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/ca-ES.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/ja-JP.js +1 -1
- package/lib/cjs/locale/ko-KR.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-TW.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/ca-ES.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/ja-JP.js +1 -1
- package/lib/es/locale/ko-KR.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-TW.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/ca-ES.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/ja-JP.js +1 -1
- package/lib/locale/ko-KR.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-TW.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/ca-ES.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/ja-JP.js +1 -1
- package/lib/umd/locale/ko-KR.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-TW.js +1 -1
- package/package.json +20 -18
package/lib/cjs/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x5db780=_0x3299;(function(_0x230c72,_0x1401a0){const _0x3cc2cd=_0x3299,_0xcb659d=_0x230c72();while(!![]){try{const _0x5accdc=-parseInt(_0x3cc2cd(0x21f))/0x1*(-parseInt(_0x3cc2cd(0x1dd))/0x2)+parseInt(_0x3cc2cd(0x21e))/0x3*(-parseInt(_0x3cc2cd(0x3be))/0x4)+parseInt(_0x3cc2cd(0x4bf))/0x5*(-parseInt(_0x3cc2cd(0x332))/0x6)+-parseInt(_0x3cc2cd(0x48a))/0x7*(parseInt(_0x3cc2cd(0x1e3))/0x8)+parseInt(_0x3cc2cd(0x360))/0x9+-parseInt(_0x3cc2cd(0x20b))/0xa+parseInt(_0x3cc2cd(0x3f3))/0xb;if(_0x5accdc===_0x1401a0)break;else _0xcb659d['push'](_0xcb659d['shift']());}catch(_0x474504){_0xcb659d['push'](_0xcb659d['shift']());}}}(_0x3cbb,0x40bba),Object['defineProperty'](exports,Symbol[_0x5db780(0x2ec)],{'value':_0x5db780(0x223)}));let _univerjs_pro_sheets_chart=require('@univerjs-pro/sheets-chart'),_univerjs_core=require('@univerjs/core'),_univerjs_drawing=require('@univerjs/drawing'),_univerjs_icons=require('@univerjs/icons'),_univerjs_sheets_drawing=require('@univerjs/sheets-drawing'),_univerjs_sheets_ui=require('@univerjs/sheets-ui'),_univerjs_ui=require('@univerjs/ui'),_univerjs_pro_engine_chart=require('@univerjs-pro/engine-chart'),rxjs=require('rxjs'),_univerjs_engine_render=require('@univerjs/engine-render'),_univerjs_sheets_drawing_ui=require('@univerjs/sheets-drawing-ui'),_univerjs_design=require('@univerjs/design'),react=require('react'),_univerjs_engine_formula=require('@univerjs/engine-formula'),_univerjs_sheets_formula_ui=require('@univerjs/sheets-formula-ui'),react_jsx_runtime=require('react/jsx-runtime'),_univerjs_sheets=require('@univerjs/sheets');const ChartHidePanelOperation={'type':_univerjs_core['CommandType']['OPERATION'],'id':_0x5db780(0x2f9),'handler'(){return!![];}},ChartOpenPanelOperation={'type':_univerjs_core['CommandType'][_0x5db780(0x23b)],'id':_0x5db780(0x2cf),'handler'(){return!![];}};function _typeof(_0x1f87e3){'@babel/helpers - typeof';const _0x28e11b=_0x5db780;return _typeof='function'==typeof Symbol&&_0x28e11b(0x577)==typeof Symbol['iterator']?function(_0x45b829){return typeof _0x45b829;}:function(_0x32b402){const _0x106c2a=_0x28e11b;return _0x32b402&&'function'==typeof Symbol&&_0x32b402['constructor']===Symbol&&_0x32b402!==Symbol['prototype']?_0x106c2a(0x577):typeof _0x32b402;},_typeof(_0x1f87e3);}function toPrimitive(_0x2b0c88,_0x4e8a9c){const _0x52b60c=_0x5db780;if(_0x52b60c(0x315)!=_typeof(_0x2b0c88)||!_0x2b0c88)return _0x2b0c88;var _0x126a64=_0x2b0c88[Symbol['toPrimitive']];if(void 0x0!==_0x126a64){var _0x4fd00a=_0x126a64['call'](_0x2b0c88,_0x4e8a9c||_0x52b60c(0x5dc));if('object'!=_typeof(_0x4fd00a))return _0x4fd00a;throw new TypeError(_0x52b60c(0x2dd));}return(_0x52b60c(0x622)===_0x4e8a9c?String:Number)(_0x2b0c88);}function toPropertyKey(_0x45368d){const _0x3eaf32=_0x5db780;var _0x1c1d41=toPrimitive(_0x45368d,_0x3eaf32(0x622));return _0x3eaf32(0x577)==_typeof(_0x1c1d41)?_0x1c1d41:_0x1c1d41+'';}function _defineProperty(_0xb6334f,_0x2a2716,_0x46f0bd){const _0x3510d2=_0x5db780;return(_0x2a2716=toPropertyKey(_0x2a2716))in _0xb6334f?Object[_0x3510d2(0x322)](_0xb6334f,_0x2a2716,{'value':_0x46f0bd,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0xb6334f[_0x2a2716]=_0x46f0bd,_0xb6334f;}function __decorateParam(_0x41488a,_0x5cb407){return function(_0x4bd039,_0x1abaf4){_0x5cb407(_0x4bd039,_0x1abaf4,_0x41488a);};}function __decorate(_0x4aafcd,_0x26e4fc,_0x33e632,_0x1a60d2){const _0x4fb002=_0x5db780;var _0x3a3e91=arguments[_0x4fb002(0x3db)],_0x50c279=_0x3a3e91<0x3?_0x26e4fc:_0x1a60d2===null?_0x1a60d2=Object[_0x4fb002(0x2d9)](_0x26e4fc,_0x33e632):_0x1a60d2,_0x195ffc;if(typeof Reflect===_0x4fb002(0x315)&&typeof Reflect[_0x4fb002(0x2e1)]===_0x4fb002(0x436))_0x50c279=Reflect[_0x4fb002(0x2e1)](_0x4aafcd,_0x26e4fc,_0x33e632,_0x1a60d2);else{for(var _0x26a47f=_0x4aafcd[_0x4fb002(0x3db)]-0x1;_0x26a47f>=0x0;_0x26a47f--)if(_0x195ffc=_0x4aafcd[_0x26a47f])_0x50c279=(_0x3a3e91<0x3?_0x195ffc(_0x50c279):_0x3a3e91>0x3?_0x195ffc(_0x26e4fc,_0x33e632,_0x50c279):_0x195ffc(_0x26e4fc,_0x33e632))||_0x50c279;}return _0x3a3e91>0x3&&_0x50c279&&Object[_0x4fb002(0x322)](_0x26e4fc,_0x33e632,_0x50c279),_0x50c279;}function waitElement(_0x7f9240){return new Promise(_0x47443d=>{const _0x232f10=_0x3299,_0x4c8977=setInterval(()=>{const _0x557273=_0x3299,_0x4c3bba=document[_0x557273(0x40a)](_0x7f9240);_0x4c3bba&&(clearInterval(_0x4c8977),_0x47443d(_0x4c3bba));},0x3e8/0x3c),_0x582157=document[_0x232f10(0x40a)](_0x7f9240);_0x582157&&(clearInterval(_0x4c8977),_0x47443d(_0x582157));});}function createHostElement(_0x9d3f26,_0x3bc8fc){const _0x506f2e=_0x5db780,_0x3fdcb5=document[_0x506f2e(0x356)]('div');return _0x3fdcb5[_0x506f2e(0x26a)]['width']=_0x9d3f26-0x10+'px',_0x3fdcb5[_0x506f2e(0x26a)][_0x506f2e(0x296)]=_0x3bc8fc-0x10+'px',_0x3fdcb5[_0x506f2e(0x26a)][_0x506f2e(0x352)]=_0x506f2e(0x3f1),_0x3fdcb5['style'][_0x506f2e(0x578)]=_0x506f2e(0x22f),_0x3fdcb5[_0x506f2e(0x26a)]['left']=_0x506f2e(0x30e),_0x3fdcb5[_0x506f2e(0x26a)]['top']=_0x506f2e(0x30e),_0x3fdcb5[_0x506f2e(0x26a)][_0x506f2e(0x3af)]=_0x506f2e(0x39b),_0x3fdcb5['className']=_0x506f2e(0x316),_0x3fdcb5;}let SheetsChartHostProviderService=class SheetsChartHostProviderService extends _univerjs_core['Disposable']{constructor(_0x497f34,_0xd59f79){const _0x11ee86=_0x5db780;super(),this['_sheetCanvasFloatDomManagerService']=_0x497f34,this[_0x11ee86(0x5a1)]=_0xd59f79,_defineProperty(this,_0x11ee86(0x404),new Map()),_defineProperty(this,'_removeHost$',new rxjs[(_0x11ee86(0x3b3))]()),_defineProperty(this,'removeHost$',this['_removeHost$'][_0x11ee86(0x5f7)]());}[_0x5db780(0x52a)](_0x2de630){const _0x42b78d=_0x5db780;if(_0x2de630==null)return;const _0x23c52f=this[_0x42b78d(0x5a1)][_0x42b78d(0x41d)](_0x2de630),_0x26c703=_0x23c52f===null||_0x23c52f===void 0x0?void 0x0:_0x23c52f[_0x42b78d(0x4fb)];if(_0x23c52f==null||_0x26c703==null)return null;return{'scene':_0x26c703,'transformer':_0x26c703[_0x42b78d(0x5d9)](),'renderUnit':_0x23c52f,'canvas':_0x23c52f['engine'][_0x42b78d(0x3e1)]()};}['setBorder'](_0x4db142,_0x1d9cad){const _0x54ebe9=_0x5db780,_0x5ea601=this['_sheetCanvasFloatDomManagerService'],_0x2fa325=_0x1d9cad||_0x54ebe9(0x39e),_0x4869cb=_0x5ea601[_0x54ebe9(0x640)](_0x4db142);if(_0x4869cb){const {unitId:_0x340e7f,subUnitId:_0x251954}=_0x4869cb;_0x5ea601[_0x54ebe9(0x5f1)](_0x340e7f,_0x251954,_0x4db142,{'stroke':_0x2fa325});}}[_0x5db780(0x27a)](_0x45f59b,_0x208092){const _0x3b2594=_0x5db780,_0xc90b4f=this[_0x3b2594(0x2d7)],_0x40676f=_0xc90b4f[_0x3b2594(0x640)](_0x45f59b);if(_0x40676f){const {unitId:_0x927a59,subUnitId:_0x3618bd}=_0x40676f;_0xc90b4f['updateFloatDomProps'](_0x927a59,_0x3618bd,_0x45f59b,_0x208092);}}[_0x5db780(0x5ef)](_0x46e3e6){const _0x542420=_0x5db780,_0x4fd495=this[_0x542420(0x2d7)][_0x542420(0x640)](_0x46e3e6);if(_0x4fd495)return _0x4fd495['rect'];return null;}[_0x5db780(0x29e)](_0x129bcf){const _0x30086b=_0x5db780,_0x6837e4=this['_sheetCanvasFloatDomManagerService'][_0x30086b(0x640)](_0x129bcf);if(_0x6837e4){var _0x1404c7;const _0xa825cc=(_0x1404c7=_0x6837e4[_0x30086b(0x57c)])!==null&&_0x1404c7!==void 0x0?_0x1404c7:_0x129bcf,_0x17c411=document[_0x30086b(0x40a)](_0xa825cc);if(_0x17c411&&_0x17c411[_0x30086b(0x5bd)][_0x30086b(0x3db)]>0x0)return!![];}return![];}async[_0x5db780(0x5fd)](_0x3df6e9){const _0x170441=_0x5db780;var _0x5ac6bf;const _0x2ba28a=this[_0x170441(0x2d7)]['getFloatDomInfo'](_0x3df6e9),_0x28b074=(_0x5ac6bf=_0x2ba28a===null||_0x2ba28a===void 0x0?void 0x0:_0x2ba28a['domId'])!==null&&_0x5ac6bf!==void 0x0?_0x5ac6bf:_0x3df6e9,_0x166033=document[_0x170441(0x40a)](_0x28b074);if(this['_mountNodes'][_0x170441(0x4a0)](_0x3df6e9)&&_0x166033&&_0x166033[_0x170441(0x5bd)][_0x170441(0x3db)]>0x0)return{'mountNode':this['_mountNodes'][_0x170441(0x49e)](_0x3df6e9),'dispose':()=>{const _0x406d4e=_0x170441;this[_0x406d4e(0x404)][_0x406d4e(0x63e)](_0x3df6e9),_0x2ba28a===null||_0x2ba28a===void 0x0||_0x2ba28a[_0x406d4e(0x38b)][_0x406d4e(0x38b)]();}};return this[_0x170441(0x2ab)](_0x3df6e9);}async[_0x5db780(0x2ab)](_0x384def){const _0x4e1731=_0x5db780,_0x1904bb=this[_0x4e1731(0x2d7)][_0x4e1731(0x640)](_0x384def);if(!_0x1904bb){this[_0x4e1731(0x404)][_0x4e1731(0x63e)](_0x384def);throw new Error('Fail\x20to\x20create\x20float\x20dom');}else{var _0x421b9b;const {rect:_0x5ee7b4}=_0x1904bb,_0x12ab3c=_0x5ee7b4[_0x4e1731(0x292)],_0x3afc98=_0x5ee7b4[_0x4e1731(0x296)],_0x1be235=this['_getSceneAndTransformerByDrawingSearch'](_0x1904bb[_0x4e1731(0x378)]);let _0x33313e=0x1,_0x17e9bf=0x1;if(_0x1be235){const {scene:_0x2ec5f9}=_0x1be235;_0x2ec5f9&&(_0x33313e=_0x2ec5f9['scaleX'],_0x17e9bf=_0x2ec5f9[_0x4e1731(0x1bb)]);}const _0x47cd5d=createHostElement(_0x12ab3c*_0x33313e,_0x3afc98*_0x17e9bf);return(await waitElement((_0x421b9b=_0x1904bb[_0x4e1731(0x57c)])!==null&&_0x421b9b!==void 0x0?_0x421b9b:_0x384def))[_0x4e1731(0x413)](_0x47cd5d),this['_mountNodes']['set'](_0x384def,_0x47cd5d),this[_0x4e1731(0x618)](this[_0x4e1731(0x2d7)][_0x4e1731(0x591)][_0x4e1731(0x4cd)](_0x43db40=>{const _0x4b0f51=_0x4e1731;if(_0x43db40['id']===_0x384def)this[_0x4b0f51(0x58b)]['next'](_0x384def);})),{'mountNode':_0x47cd5d,'dispose':()=>{const _0x195199=_0x4e1731;this[_0x195199(0x404)][_0x195199(0x63e)](_0x384def),_0x1904bb===null||_0x1904bb===void 0x0||_0x1904bb[_0x195199(0x38b)][_0x195199(0x38b)]();}};}}};SheetsChartHostProviderService=__decorate([__decorateParam(0x0,(0x0,_univerjs_core[_0x5db780(0x297)])(_univerjs_sheets_drawing_ui['SheetCanvasFloatDomManagerService'])),__decorateParam(0x1,(0x0,_univerjs_core[_0x5db780(0x297)])(_univerjs_engine_render[_0x5db780(0x46c)]))],SheetsChartHostProviderService);const IChartHostProviderService=(0x0,_univerjs_core['createIdentifier'])(_0x5db780(0x63d));function registryChartConfigState(_0x53a2d5){const _0x13e37b=_0x5db780;_0x53a2d5[_0x13e37b(0x1dc)]('headers',_0x136c22=>_0x136c22[_0x13e37b(0x1af)][_0x13e37b(0x219)]((0x0,rxjs['map'])(_0x2ddcee=>_0x2ddcee[_0x13e37b(0x33e)]))),_0x53a2d5[_0x13e37b(0x1dc)](_0x13e37b(0x26b),_0x5d673c=>({'set'(_0x17570a){const _0x3f4871=_0x13e37b,_0x5aab0d={};if(_0x17570a===_univerjs_pro_engine_chart[_0x3f4871(0x5c6)][_0x3f4871(0x305)])_0x5aab0d['pie']={'doughnutHole':null};_0x53a2d5[_0x3f4871(0x483)]({'chartModelId':_0x5d673c['id'],'chartType':_0x17570a,'style':_0x5aab0d});},'get'(){const _0x4e3585=_0x13e37b;return _0x5d673c[_0x4e3585(0x288)];}})),_0x53a2d5[_0x13e37b(0x1dc)]('dataRange',_0x53e942=>({'set'(_0x218933){if(_0x218933)_0x53a2d5['executeChartUpdateSourceConfig']({'chartModelId':_0x53e942['id'],'range':_0x218933});},'get'(){const _0x14f839=_0x13e37b,_0x8fd819=_0x53a2d5[_0x14f839(0x3bd)](_0x53e942['id']);if(!_0x8fd819)return;return _0x8fd819['rangeInfo$'];}})),_0x53a2d5['registerViewState'](_0x13e37b(0x58d),_0x45637d=>({'set'(_0x51218c){const _0x5b645c=_0x13e37b;if(typeof _0x51218c!==_0x5b645c(0x467))return;_0x53a2d5[_0x5b645c(0x483)]({'chartModelId':_0x45637d['id'],'context':{'categoryIndex':_0x51218c}});},'get'(){const _0x49726b=_0x13e37b;return _0x45637d[_0x49726b(0x1af)][_0x49726b(0x219)]((0x0,rxjs[_0x49726b(0x20f)])(_0xe00eed=>_0xe00eed[_0x49726b(0x58d)]),(0x0,rxjs['distinctUntilChanged'])());}})),_0x53a2d5['registerViewState']('categoryType',_0x13d30d=>{const _0x33c3f3=_0x13e37b;return _0x13d30d[_0x33c3f3(0x1af)][_0x33c3f3(0x219)]((0x0,rxjs[_0x33c3f3(0x20f)])(_0x1c758a=>_0x1c758a[_0x33c3f3(0x4b8)]),(0x0,rxjs[_0x33c3f3(0x1da)])());}),_0x53a2d5[_0x13e37b(0x1dc)](_0x13e37b(0x60e),_0x52d6b1=>{const _0x1aa739=_0x13e37b;var _0x443bfa;const _0x9e8b40=(_0x443bfa=_0x53a2d5['getDataSource'](_0x52d6b1['id']))===null||_0x443bfa===void 0x0?void 0x0:_0x443bfa['rangeInfo$'];if(!_0x9e8b40)return _0x52d6b1[_0x1aa739(0x1af)][_0x1aa739(0x219)]((0x0,rxjs[_0x1aa739(0x20f)])(()=>[]));return _0x52d6b1[_0x1aa739(0x1af)][_0x1aa739(0x219)]((0x0,rxjs[_0x1aa739(0x545)])(_0x9e8b40),(0x0,rxjs[_0x1aa739(0x20f)])(([_0x14119a,_0x9ec77b])=>{const _0x2f1a9d=_0x1aa739,{categoryResourceIndexes:_0x2a2a0d,headers:_0x403293}=_0x14119a,_0x2eb870=(_0x2a2a0d||[])[_0x2f1a9d(0x419)]((_0x31dd45,_0x8a3a4f)=>(_0x31dd45||0x0)-(_0x8a3a4f||0x0));if(!_0x2eb870)return[];if(Array[_0x2f1a9d(0x204)](_0x9ec77b))return[];return _0x2eb870[_0x2f1a9d(0x20f)](_0x965b9b=>{const _0x24b032=_0x2f1a9d;return{'label':(_0x403293===null||_0x403293===void 0x0?void 0x0:_0x403293[_0x965b9b])||_0x53a2d5['t'](_0x24b032(0x319),''+(_0x965b9b+0x1)),'value':String(_0x965b9b)};});}));}),_0x53a2d5[_0x13e37b(0x1dc)](_0x13e37b(0x5e8),_0x25add2=>{const _0x563552=_0x13e37b;var _0x29cec2;const _0xdf766c=(_0x29cec2=_0x53a2d5[_0x563552(0x3bd)](_0x25add2['id']))===null||_0x29cec2===void 0x0?void 0x0:_0x29cec2[_0x563552(0x437)];if(!_0xdf766c)return _0x25add2[_0x563552(0x1af)][_0x563552(0x219)]((0x0,rxjs[_0x563552(0x20f)])(()=>[]));return _0x25add2[_0x563552(0x1af)][_0x563552(0x219)]((0x0,rxjs[_0x563552(0x545)])(_0xdf766c),(0x0,rxjs[_0x563552(0x20f)])(([_0x492cac,_0x59e3a2])=>{const _0x46066e=_0x563552,{categoryResourceIndexes:_0x1c402a,seriesResourceIndexes:_0x105541,headers:_0x2913d2}=_0x492cac,_0x4287ce=_0x1c402a===null||_0x1c402a===void 0x0?void 0x0:_0x1c402a[_0x46066e(0x4eb)](_0x105541||[])['sort']((_0x49dcfc,_0x2b2840)=>(_0x49dcfc||0x0)-(_0x2b2840||0x0));if(!_0x4287ce)return[];if(Array[_0x46066e(0x204)](_0x59e3a2))return[];return _0x4287ce[_0x46066e(0x20f)](_0x4c1518=>{const _0xcd1173=_0x46066e;return{'label':(_0x2913d2===null||_0x2913d2===void 0x0?void 0x0:_0x2913d2[_0x4c1518])||_0x53a2d5['t'](_0xcd1173(0x319),''+(_0x4c1518+0x1)),'value':String(_0x4c1518)};});}));}),_0x53a2d5[_0x13e37b(0x1dc)](_0x13e37b(0x3ff),_0x45439e=>({'set'(_0x874fcd){const _0x2db78b=_0x13e37b;_0x53a2d5[_0x2db78b(0x483)]({'chartModelId':_0x45439e['id'],'context':{'seriesIndexes':_0x874fcd}});},'get'(){const _0x1dd246=_0x13e37b;return _0x45439e[_0x1dd246(0x1af)][_0x1dd246(0x219)]((0x0,rxjs[_0x1dd246(0x20f)])(_0x321831=>{const {seriesIndexes:seriesIndexes=[]}=_0x321831;return seriesIndexes;}));}})),_0x53a2d5['registerViewState'](_0x13e37b(0x552),_0x57678b=>({'set'(_0x5f245a){const _0x142568=_0x13e37b;_0x53a2d5[_0x142568(0x483)]({'chartModelId':_0x57678b['id'],'style':{'trendlines':_0x5f245a}});},'get'(){const _0x38c7c2=_0x13e37b;return _0x57678b[_0x38c7c2(0x320)][_0x38c7c2(0x219)]((0x0,rxjs[_0x38c7c2(0x20f)])(_0x5f0ca4=>_0x5f0ca4['trendlines']));}})),_0x53a2d5['registerViewState']('seriesList',_0x2cd0c0=>{const _0x5486fa=_0x13e37b;var _0x182897;const _0x2ffb27=(_0x182897=_0x53a2d5[_0x5486fa(0x3bd)](_0x2cd0c0['id']))===null||_0x182897===void 0x0?void 0x0:_0x182897['rangeInfo$'];if(!_0x2ffb27)return _0x2cd0c0['context$'][_0x5486fa(0x219)]((0x0,rxjs[_0x5486fa(0x20f)])(()=>[]));return _0x2cd0c0[_0x5486fa(0x1af)][_0x5486fa(0x219)]((0x0,rxjs[_0x5486fa(0x545)])(_0x2ffb27),(0x0,rxjs['map'])(([_0x5caf8f,_0x583ad2])=>{const _0x21bcc1=_0x5486fa,{seriesIndexes:seriesIndexes=[],headers:_0x5be3c4}=_0x5caf8f;if(Array[_0x21bcc1(0x204)](_0x583ad2))return[];return seriesIndexes['map'](_0x3dc81d=>{return{'label':(_0x5be3c4===null||_0x5be3c4===void 0x0?void 0x0:_0x5be3c4[_0x3dc81d])||_0x53a2d5['t']('chart.seriesDefaultName',''+_0x3dc81d),'value':String(_0x3dc81d)};});}));}),_0x53a2d5[_0x13e37b(0x1dc)](_0x13e37b(0x50d),_0x117fa7=>{const _0x4706c4=_0x13e37b;var _0x4d839e;const _0x430a1b=(_0x4d839e=_0x53a2d5[_0x4706c4(0x3bd)](_0x117fa7['id']))===null||_0x4d839e===void 0x0?void 0x0:_0x4d839e[_0x4706c4(0x437)];if(!_0x430a1b)return _0x117fa7[_0x4706c4(0x1af)][_0x4706c4(0x219)]((0x0,rxjs['map'])(()=>[]));return _0x117fa7[_0x4706c4(0x1af)][_0x4706c4(0x219)]((0x0,rxjs[_0x4706c4(0x545)])(_0x430a1b),(0x0,rxjs['map'])(([_0x50b087,_0x20cfec])=>{const _0x258fc0=_0x4706c4,{seriesResourceIndexes:seriesResourceIndexes=[],headers:_0x3c29e4}=_0x50b087;if(Array['isArray'](_0x20cfec))return[];const _0x10831b=new Map();return seriesResourceIndexes[_0x258fc0(0x20f)](_0x46698a=>{const _0x47b0a4=_0x258fc0,_0x55ce06=(_0x3c29e4===null||_0x3c29e4===void 0x0?void 0x0:_0x3c29e4[_0x46698a])||_0x53a2d5['t'](_0x47b0a4(0x647),''+_0x46698a);if(_0x10831b['has'](_0x55ce06))_0x10831b[_0x47b0a4(0x45d)](_0x55ce06,_0x10831b[_0x47b0a4(0x49e)](_0x55ce06)+0x1);else _0x10831b[_0x47b0a4(0x45d)](_0x55ce06,0x0);return{'label':(_0x10831b[_0x47b0a4(0x4a0)](_0x55ce06)&&_0x10831b[_0x47b0a4(0x49e)](_0x55ce06)>0x0?_0x55ce06+'\x20'+_0x10831b['get'](_0x55ce06):_0x55ce06)||_0x53a2d5['t'](_0x47b0a4(0x647),''+_0x46698a),'value':String(_0x46698a)};});}));}),_0x53a2d5['registerViewState']('aggregate',_0x34530a=>({'set'(_0x4d547a){const _0x36187b=_0x13e37b;_0x53a2d5[_0x36187b(0x483)]({'chartModelId':_0x34530a['id'],'dataAggregation':{'aggregate':_0x4d547a}});},'get'(){const _0x2f29f3=_0x13e37b;return _0x34530a[_0x2f29f3(0x4a5)][_0x2f29f3(0x219)]((0x0,rxjs[_0x2f29f3(0x20f)])(_0x369e41=>_0x369e41[_0x2f29f3(0x36d)]||![]),(0x0,rxjs[_0x2f29f3(0x1da)])());}})),_0x53a2d5[_0x13e37b(0x1dc)]('orient',_0x45b9a5=>({'set'(_0x2e66b7){const _0x3e7daf=_0x13e37b;var _0x49bfeb;const _0x1986f4=(_0x49bfeb=_0x53a2d5[_0x3e7daf(0x3bd)](_0x45b9a5['id']))===null||_0x49bfeb===void 0x0?void 0x0:_0x49bfeb[_0x3e7daf(0x22c)]();if(_0x1986f4){const _0x4acbea={..._0x1986f4,'isRowDirection':_0x2e66b7===_univerjs_pro_engine_chart[_0x3e7daf(0x3e3)]['Row']};_0x53a2d5[_0x3e7daf(0x483)]({'chartModelId':_0x45b9a5['id'],'context':{'seriesIndexes':void 0x0,'transform':void 0x0}}),_0x53a2d5[_0x3e7daf(0x51a)]({'chartModelId':_0x45b9a5['id'],'range':_0x4acbea});}},'get'(){const _0x3e111b=_0x13e37b;var _0x1ec8be;return(_0x1ec8be=_0x53a2d5[_0x3e111b(0x3bd)](_0x45b9a5['id']))===null||_0x1ec8be===void 0x0?void 0x0:_0x1ec8be['rangeInfo$'][_0x3e111b(0x219)]((0x0,rxjs[_0x3e111b(0x20f)])(_0x9df287=>_0x9df287[_0x3e111b(0x573)]?_univerjs_pro_engine_chart[_0x3e111b(0x3e3)]['Row']:_univerjs_pro_engine_chart['DataOrientation'][_0x3e111b(0x3cf)]),(0x0,rxjs[_0x3e111b(0x1da)])());}})),_0x53a2d5[_0x13e37b(0x1dc)](_0x13e37b(0x303),_0x33d94a=>({'set'(_0x30aa8a){_0x53a2d5['executeChartUpdateConfig']({'chartModelId':_0x33d94a['id'],'style':{'gradientFill':_0x30aa8a}});},'get'(){const _0x3570d7=_0x13e37b;return _0x33d94a['style$']['pipe']((0x0,rxjs[_0x3570d7(0x20f)])(_0xebb7d6=>_0xebb7d6[_0x3570d7(0x303)]),(0x0,rxjs[_0x3570d7(0x1da)])());}})),_0x53a2d5['registerViewState']('indicator',_0x6f94da=>({'set'(_0x17e8ad){const _0x328823=_0x13e37b;_0x53a2d5[_0x328823(0x483)]({'chartModelId':_0x6f94da['id'],'style':{'tooltip':_0x17e8ad}});},'get'(){const _0x1eff9b=_0x13e37b;return _0x6f94da[_0x1eff9b(0x320)][_0x1eff9b(0x219)]((0x0,rxjs[_0x1eff9b(0x20f)])(_0xc5136=>_0xc5136['tooltip']),(0x0,rxjs[_0x1eff9b(0x1da)])());}})),_0x53a2d5[_0x13e37b(0x1dc)](_0x13e37b(0x266),_0x4799e6=>({'set'(_0x5357e9){const _0x5d7b40=_0x13e37b,{context:_0x2753b1}=_0x4799e6,_0x24b33b=_0x376bcf=>{const _0xc53b23=_0x3299;var _0x54cd3e;return((_0x54cd3e=_0x2753b1[_0xc53b23(0x460)])===null||_0x54cd3e===void 0x0?void 0x0:_0x54cd3e['indexOf'](_0x376bcf))!==-0x1;};if(_0x5357e9){var _0x1d1f70;const _0x327f00=(_0x1d1f70=_0x2753b1[_0x5d7b40(0x35a)])===null||_0x1d1f70===void 0x0?void 0x0:_0x1d1f70[0x0];if(_0x327f00===void 0x0)return;const _0x568f44={'categoryIndex':_0x327f00,'categoryType':_univerjs_pro_engine_chart[_0x5d7b40(0x50f)]['Text']};if(_0x24b33b(_0x327f00)){var _0x48b8a2;_0x568f44[_0x5d7b40(0x35a)]=(_0x48b8a2=_0x2753b1[_0x5d7b40(0x35a)])===null||_0x48b8a2===void 0x0?void 0x0:_0x48b8a2[_0x5d7b40(0x197)](_0x53538c=>_0x53538c!==_0x327f00);}_0x53a2d5[_0x5d7b40(0x483)]({'chartModelId':_0x4799e6['id'],'context':_0x568f44});}else{if(_0x2753b1[_0x5d7b40(0x58d)]===void 0x0)return;const _0x1e5e88={'categoryIndex':void 0x0,'categoryType':void 0x0};if(_0x24b33b(_0x2753b1[_0x5d7b40(0x58d)]))_0x1e5e88[_0x5d7b40(0x35a)]=[_0x2753b1[_0x5d7b40(0x58d)]]['concat'](_0x2753b1['seriesIndexes']||[]);_0x53a2d5['executeChartUpdateConfig']({'chartModelId':_0x4799e6['id'],'context':_0x1e5e88});}},'get'(){const _0x465b16=_0x13e37b;return _0x4799e6['context$'][_0x465b16(0x219)]((0x0,rxjs[_0x465b16(0x20f)])(_0x35468b=>{const _0x53da8d=_0x465b16;var _0x35ccf1;if(_0x35468b[_0x53da8d(0x58d)]===void 0x0)return![];return Boolean((_0x35ccf1=_0x35468b[_0x53da8d(0x460)])===null||_0x35ccf1===void 0x0?void 0x0:_0x35ccf1[_0x53da8d(0x19e)](_0x35468b['categoryIndex']));}));}})),_0x53a2d5[_0x13e37b(0x1dc)](_0x13e37b(0x567),_0x2e70c6=>({'set'(_0x4a0772){const _0x197f31=_0x13e37b;_0x53a2d5[_0x197f31(0x483)]({'chartModelId':_0x2e70c6['id'],'style':{'backgroundColor':_0x4a0772!==null&&_0x4a0772!==void 0x0?_0x4a0772:null}});},'get'(){const _0x199a02=_0x13e37b;return _0x2e70c6[_0x199a02(0x320)][_0x199a02(0x219)]((0x0,rxjs[_0x199a02(0x20f)])(_0x1ed21b=>_0x1ed21b===null||_0x1ed21b===void 0x0?void 0x0:_0x1ed21b[_0x199a02(0x567)]),(0x0,rxjs['distinctUntilChanged'])());}})),_0x53a2d5[_0x13e37b(0x1dc)]('borderColor',_0x7e4000=>({'set'(_0x3560af){const _0x4342e9=_0x13e37b;_0x53a2d5[_0x4342e9(0x483)]({'chartModelId':_0x7e4000['id'],'style':{'borderColor':_0x3560af!==null&&_0x3560af!==void 0x0?_0x3560af:null}}),_0x53a2d5[_0x4342e9(0x28d)](_0x7e4000['id'],_0x3560af);},'get'(){const _0x14b380=_0x13e37b;return _0x7e4000[_0x14b380(0x320)]['pipe']((0x0,rxjs[_0x14b380(0x20f)])(_0x13c357=>_0x13c357[_0x14b380(0x424)]),(0x0,rxjs[_0x14b380(0x1da)])());}})),_0x53a2d5['registerViewState'](_0x13e37b(0x35b),_0x35cf11=>({'set'(_0x1bd24f){const _0x1b9ae0=_0x13e37b;_0x53a2d5[_0x1b9ae0(0x483)]({'chartModelId':_0x35cf11['id'],'style':{'fontSize':_0x1bd24f}});},'get'(){const _0x178889=_0x13e37b;return _0x35cf11['style$'][_0x178889(0x219)]((0x0,rxjs[_0x178889(0x20f)])(_0x35a167=>_0x35a167[_0x178889(0x35b)]),(0x0,rxjs['distinctUntilChanged'])());}})),_0x53a2d5['registerViewState']('titleFontSize',_0x21846a=>({'set'(_0x1f441b){const _0x2718d3=_0x13e37b;_0x53a2d5[_0x2718d3(0x483)]({'chartModelId':_0x21846a['id'],'style':{'titleFontSize':_0x1f441b}});},'get'(){const _0x5d82cb=_0x13e37b;return _0x21846a[_0x5d82cb(0x320)][_0x5d82cb(0x219)]((0x0,rxjs['map'])(_0x2cedd2=>_0x2cedd2[_0x5d82cb(0x454)]),(0x0,rxjs[_0x5d82cb(0x1da)])());}})),_0x53a2d5[_0x13e37b(0x1dc)](_0x13e37b(0x61b),_0x58abd8=>({'set'(_0x5ab502){const _0x53c3bf=_0x13e37b;_0x53a2d5[_0x53c3bf(0x483)]({'chartModelId':_0x58abd8['id'],'style':{'titles':_0x5ab502}});},'get'(){const _0xe292ec=_0x13e37b;return _0x58abd8['style$'][_0xe292ec(0x219)]((0x0,rxjs['map'])(_0xed822d=>_0xed822d['titles']));}})),_0x53a2d5['registerViewState'](_0x13e37b(0x58e),_0x157a53=>({'set'(_0x4b476c){const _0x14a6f4=_0x13e37b,_0x29982e=Object[_0x14a6f4(0x48c)](_0x4b476c),_0x5bc27c=_univerjs_core['Tools'][_0x14a6f4(0x200)](_0x157a53['style'][_0x14a6f4(0x50a)]||{}),_0x10f876={};for(const _0x3cb972 in _0x5bc27c)if(_0x5bc27c[_0x14a6f4(0x340)](_0x3cb972)){const _0x22bb7e=_0x5bc27c[_0x3cb972];if(!_0x22bb7e)continue;for(const _0x3651dd of _0x29982e)if(_0x22bb7e['hasOwnProperty'](_0x3651dd))_0x10f876[_0x3cb972]={[_0x3651dd]:null};}const _0x33c5d7={'allSeriesStyle':_0x4b476c,'seriesStyleMap':_0x10f876},_0x4d92b6=_0x157a53[_0x14a6f4(0x26b)],_0x3fecd1=new Set(_0x29982e);if(_0x4d92b6===_univerjs_pro_engine_chart[_0x14a6f4(0x5c6)][_0x14a6f4(0x262)]&&(_0x3fecd1[_0x14a6f4(0x4a0)]('color')||_0x3fecd1[_0x14a6f4(0x4a0)]('\x22fillOpacity\x22')))_0x33c5d7[_0x14a6f4(0x36f)]={'fill':!![]};_0x53a2d5[_0x14a6f4(0x483)]({'chartModelId':_0x157a53['id'],'style':_0x33c5d7});},'get'(){const _0x477751=_0x13e37b;return _0x157a53['style$'][_0x477751(0x219)]((0x0,rxjs['map'])(_0x23a5a2=>_0x23a5a2[_0x477751(0x58e)]));}})),_0x53a2d5[_0x13e37b(0x1dc)](_0x13e37b(0x50a),_0x406606=>({'set'(_0x2005e8){_0x53a2d5['executeChartUpdateConfig']({'chartModelId':_0x406606['id'],'style':{'seriesStyleMap':_0x2005e8}});},'get'(){const _0x464c64=_0x13e37b;return _0x406606[_0x464c64(0x320)][_0x464c64(0x219)]((0x0,rxjs['map'])(_0x404424=>_0x404424[_0x464c64(0x50a)]));}})),_0x53a2d5[_0x13e37b(0x1dc)](_0x13e37b(0x457),_0x317927=>({'set'(_0x25dd00){_0x53a2d5['executeChartUpdateConfig']({'chartModelId':_0x317927['id'],'style':{'legend':_0x25dd00}});},'get'(){const _0x21c857=_0x13e37b;return _0x317927[_0x21c857(0x320)][_0x21c857(0x219)]((0x0,rxjs[_0x21c857(0x20f)])(_0x596428=>_0x596428[_0x21c857(0x21c)]));}})),_0x53a2d5[_0x13e37b(0x1dc)](_0x13e37b(0x52d),_0x2c06d0=>({'set'(_0x1013a2){const _0x539da6=_0x13e37b;_0x53a2d5[_0x539da6(0x483)]({'chartModelId':_0x2c06d0['id'],'style':{'xAxis':_0x1013a2}});},'get'(){const _0x1d0d2a=_0x13e37b;return _0x2c06d0[_0x1d0d2a(0x320)][_0x1d0d2a(0x219)]((0x0,rxjs[_0x1d0d2a(0x20f)])(_0x59e7dc=>_0x59e7dc[_0x1d0d2a(0x28f)]));}})),_0x53a2d5['registerViewState'](_0x13e37b(0x531),_0x20f21a=>({'set'(_0x2ea121){const _0x59ef24=_0x13e37b;_0x53a2d5[_0x59ef24(0x483)]({'chartModelId':_0x20f21a['id'],'style':{'yAxis':_0x2ea121}});},'get'(){const _0xad6adf=_0x13e37b;return _0x20f21a['style$'][_0xad6adf(0x219)]((0x0,rxjs[_0xad6adf(0x20f)])(_0x3a1f90=>_0x3a1f90['yAxis']));}})),_0x53a2d5['registerViewState']('rightYAxisOptions',_0x2ae508=>({'set'(_0x399723){_0x53a2d5['executeChartUpdateConfig']({'chartModelId':_0x2ae508['id'],'style':{'rightYAxis':_0x399723}});},'get'(){const _0x1e8be8=_0x13e37b;return _0x2ae508[_0x1e8be8(0x320)][_0x1e8be8(0x219)]((0x0,rxjs[_0x1e8be8(0x20f)])(_0x27d1e2=>_0x27d1e2[_0x1e8be8(0x34a)]));}})),_0x53a2d5[_0x13e37b(0x1dc)](_0x13e37b(0x458),_0xb47faa=>{const _0x971d23=_0x13e37b;return _0xb47faa[_0x971d23(0x320)][_0x971d23(0x219)]((0x0,rxjs['map'])(()=>_0xb47faa[_0x971d23(0x46f)]()[_0x971d23(0x2b8)]));}),_0x53a2d5[_0x13e37b(0x1dc)](_0x13e37b(0x40d),_0x1ae927=>({'set'(_0x129b2d){const _0x167cd1=_0x13e37b;_0x53a2d5[_0x167cd1(0x483)]({'chartModelId':_0x1ae927['id'],'style':{'area':{'lineStyle':_0x129b2d!==null&&_0x129b2d!==void 0x0?_0x129b2d:void 0x0}}});},'get'(){const _0x3129a2=_0x13e37b;return _0x1ae927[_0x3129a2(0x320)][_0x3129a2(0x219)]((0x0,rxjs[_0x3129a2(0x20f)])(_0x433d53=>{const _0x68a7cf=_0x3129a2;var _0x11bedf;return(_0x11bedf=_0x433d53[_0x68a7cf(0x46e)])===null||_0x11bedf===void 0x0?void 0x0:_0x11bedf[_0x68a7cf(0x1a4)];}));}})),_0x53a2d5['registerViewState']('pieLabelStyle',_0x139926=>({'set'(_0x8e93ac){_0x53a2d5['executeChartUpdateConfig']({'chartModelId':_0x139926['id'],'style':{'pie':{'labelStyle':_0x8e93ac!==null&&_0x8e93ac!==void 0x0?_0x8e93ac:void 0x0}}});},'get'(){const _0x1027ef=_0x13e37b;return _0x139926[_0x1027ef(0x320)]['pipe']((0x0,rxjs['map'])(_0x5f5376=>{const _0x5d7651=_0x1027ef;var _0x16da5a;return(_0x16da5a=_0x5f5376[_0x5d7651(0x324)])===null||_0x16da5a===void 0x0?void 0x0:_0x16da5a['labelStyle'];}));}})),_0x53a2d5[_0x13e37b(0x1dc)](_0x13e37b(0x24a),_0x3c12b1=>({'set'(_0x357a06){const _0x27b3aa=_0x13e37b;_0x53a2d5[_0x27b3aa(0x483)]({'chartModelId':_0x3c12b1['id'],'style':{'wordCloud':{'shape':_0x357a06!==null&&_0x357a06!==void 0x0?_0x357a06:void 0x0,'maskImage':_0x357a06!==null&&_0x357a06!==void 0x0?_0x357a06:void 0x0}}});},'get'(){const _0x223597=_0x13e37b;return _0x3c12b1[_0x223597(0x320)][_0x223597(0x219)]((0x0,rxjs[_0x223597(0x20f)])(_0x2feafe=>{const _0x4d9a9a=_0x223597;var _0x11ca34;return(_0x11ca34=_0x2feafe[_0x4d9a9a(0x351)])===null||_0x11ca34===void 0x0?void 0x0:_0x11ca34[_0x4d9a9a(0x476)];}));}})),_0x53a2d5[_0x13e37b(0x1dc)](_0x13e37b(0x326),_0x14184a=>({'set'(_0x3b2076){_0x53a2d5['executeChartUpdateConfig']({'chartModelId':_0x14184a['id'],'style':{'wordCloud':{'maskImage':_0x3b2076!==null&&_0x3b2076!==void 0x0?_0x3b2076:void 0x0,'shape':void 0x0}}});},'get'(){const _0x48ce7b=_0x13e37b;return _0x14184a['style$'][_0x48ce7b(0x219)]((0x0,rxjs[_0x48ce7b(0x20f)])(_0x4b0a78=>{const _0x4deb42=_0x48ce7b;var _0x4f6ba0;return(_0x4f6ba0=_0x4b0a78[_0x4deb42(0x351)])===null||_0x4f6ba0===void 0x0?void 0x0:_0x4f6ba0[_0x4deb42(0x53b)];}));}})),_0x53a2d5[_0x13e37b(0x1dc)](_0x13e37b(0x3a2),_0x4b75d0=>({'set'(_0x30867b){const _0x52fdd3=_0x13e37b;_0x53a2d5[_0x52fdd3(0x483)]({'chartModelId':_0x4b75d0['id'],'style':{'wordCloud':{'repeat':_0x30867b!==null&&_0x30867b!==void 0x0?_0x30867b:void 0x0}}});},'get'(){const _0x11737b=_0x13e37b;return _0x4b75d0[_0x11737b(0x320)][_0x11737b(0x219)]((0x0,rxjs[_0x11737b(0x20f)])(_0x196c89=>{const _0x46daef=_0x11737b;var _0x5afe21;return(_0x5afe21=_0x196c89['wordCloud'])===null||_0x5afe21===void 0x0?void 0x0:_0x5afe21[_0x46daef(0x4a8)];}));}})),_0x53a2d5[_0x13e37b(0x1dc)](_0x13e37b(0x4be),_0x59661b=>({'set'(_0x32e805){_0x53a2d5['executeChartUpdateConfig']({'chartModelId':_0x59661b['id'],'style':{'funnel':{'gap':_0x32e805!==null&&_0x32e805!==void 0x0?_0x32e805:void 0x0}}});},'get'(){const _0x1a8683=_0x13e37b;return _0x59661b[_0x1a8683(0x320)][_0x1a8683(0x219)]((0x0,rxjs[_0x1a8683(0x20f)])(_0x111d28=>{const _0x4b9006=_0x1a8683;var _0x427a9a;return(_0x427a9a=_0x111d28[_0x4b9006(0x5fa)])===null||_0x427a9a===void 0x0?void 0x0:_0x427a9a[_0x4b9006(0x25d)];}));}})),_0x53a2d5[_0x13e37b(0x1dc)](_0x13e37b(0x343),_0x5dd728=>({'set'(_0x4c2998){_0x53a2d5['executeChartUpdateConfig']({'chartModelId':_0x5dd728['id'],'style':{'funnel':{'useAbsValue':_0x4c2998!==null&&_0x4c2998!==void 0x0?_0x4c2998:void 0x0}}});},'get'(){const _0x205936=_0x13e37b;return _0x5dd728[_0x205936(0x320)][_0x205936(0x219)]((0x0,rxjs[_0x205936(0x20f)])(_0x2f11d2=>{const _0x12ddb4=_0x205936;var _0x37684c;return(_0x37684c=_0x2f11d2[_0x12ddb4(0x5fa)])===null||_0x37684c===void 0x0?void 0x0:_0x37684c[_0x12ddb4(0x482)];}));}})),_0x53a2d5[_0x13e37b(0x1dc)](_0x13e37b(0x32b),_0x35f61f=>({'set'(_0x41bd02){const _0x1c2b3c=_0x13e37b;_0x53a2d5[_0x1c2b3c(0x483)]({'chartModelId':_0x35f61f['id'],'style':{'pie':{'hasPaddingAngle':Boolean(_0x41bd02)}}});},'get'(){const _0x3462c2=_0x13e37b;return _0x35f61f['style$'][_0x3462c2(0x219)]((0x0,rxjs[_0x3462c2(0x20f)])(_0x23a754=>{const _0x20d95c=_0x3462c2;var _0xae107f;return(_0xae107f=_0x23a754[_0x20d95c(0x324)])===null||_0xae107f===void 0x0?void 0x0:_0xae107f[_0x20d95c(0x403)];}));}})),_0x53a2d5[_0x13e37b(0x1dc)](_0x13e37b(0x44f),_0x5592c=>({'set'(_0x445ca4){const _0x47c301=_0x13e37b;_0x53a2d5[_0x47c301(0x483)]({'chartModelId':_0x5592c['id'],'style':{'pie':{'isHalfPie':Boolean(_0x445ca4)}}});},'get'(){const _0x241a00=_0x13e37b;return _0x5592c[_0x241a00(0x320)][_0x241a00(0x219)]((0x0,rxjs[_0x241a00(0x20f)])(_0x3a59c4=>{const _0x2caec2=_0x241a00;var _0x46a916;return(_0x46a916=_0x3a59c4[_0x2caec2(0x324)])===null||_0x46a916===void 0x0?void 0x0:_0x46a916['isHalfPie'];}));}})),_0x53a2d5['registerViewState'](_0x13e37b(0x433),_0x81ea1c=>({'set'(_0x2a7cc9){const _0x3769c1=_0x13e37b;_0x53a2d5[_0x3769c1(0x483)]({'chartModelId':_0x81ea1c['id'],'style':{'pie':{'valueScale':Number(_0x2a7cc9)}}});},'get'(){const _0x181c87=_0x13e37b;return _0x81ea1c[_0x181c87(0x320)][_0x181c87(0x219)]((0x0,rxjs[_0x181c87(0x20f)])(_0x13aa58=>{const _0x10617c=_0x181c87;var _0x5be575;return(_0x5be575=_0x13aa58[_0x10617c(0x324)])===null||_0x5be575===void 0x0?void 0x0:_0x5be575['valueScale'];}));}})),_0x53a2d5[_0x13e37b(0x1dc)](_0x13e37b(0x2a5),_0x286cae=>({'set'(_0x459b5a){_0x53a2d5['executeChartUpdateConfig']({'chartModelId':_0x286cae['id'],'style':{'pie':{'digitalFixed':Number(_0x459b5a)}}});},'get'(){return _0x286cae['style$']['pipe']((0x0,rxjs['map'])(_0xca5398=>{const _0xa8367c=_0x3299;var _0x3f3dae;return(_0x3f3dae=_0xca5398[_0xa8367c(0x324)])===null||_0x3f3dae===void 0x0?void 0x0:_0x3f3dae[_0xa8367c(0x2a5)];}));}})),_0x53a2d5[_0x13e37b(0x1dc)](_0x13e37b(0x2c4),_0x4bcf51=>({'set'(_0x35e85f){const _0x3f93a4=_0x13e37b;_0x53a2d5[_0x3f93a4(0x483)]({'chartModelId':_0x4bcf51['id'],'style':{'pie':{'valueSuffix':String(_0x35e85f)}}});},'get'(){const _0x5390c1=_0x13e37b;return _0x4bcf51['style$'][_0x5390c1(0x219)]((0x0,rxjs['map'])(_0x405777=>{const _0x53477b=_0x5390c1;var _0x11c413;return(_0x11c413=_0x405777[_0x53477b(0x324)])===null||_0x11c413===void 0x0?void 0x0:_0x11c413[_0x53477b(0x2c4)];}));}})),_0x53a2d5[_0x13e37b(0x1dc)]('isRosePie',_0x5548d9=>({'set'(_0x372ed4){_0x53a2d5['executeChartUpdateConfig']({'chartModelId':_0x5548d9['id'],'style':{'pie':{'rosePie':Boolean(_0x372ed4)}}});},'get'(){const _0x197f78=_0x13e37b;return _0x5548d9[_0x197f78(0x320)][_0x197f78(0x219)]((0x0,rxjs[_0x197f78(0x20f)])(_0x557d06=>{const _0x413902=_0x197f78;var _0x5a0458;return(_0x5a0458=_0x557d06['pie'])===null||_0x5a0458===void 0x0?void 0x0:_0x5a0458[_0x413902(0x362)];}));}})),_0x53a2d5[_0x13e37b(0x1dc)]('showLabelLine',_0x95cec3=>({'set'(_0x3b1659){_0x53a2d5['executeChartUpdateConfig']({'chartModelId':_0x95cec3['id'],'style':{'pie':{'showLabelLine':Boolean(_0x3b1659)}}});},'get'(){const _0x1ccf9e=_0x13e37b;return _0x95cec3[_0x1ccf9e(0x320)]['pipe']((0x0,rxjs[_0x1ccf9e(0x20f)])(_0x4cf615=>{const _0x5bad4e=_0x1ccf9e;var _0x6dc064;return(_0x6dc064=_0x4cf615[_0x5bad4e(0x324)])===null||_0x6dc064===void 0x0?void 0x0:_0x6dc064[_0x5bad4e(0x587)];}));}})),_0x53a2d5['registerViewState']('doughnutHole',_0x4cc61c=>({'set'(_0x395c3b){const _0x429931=_0x13e37b;_0x53a2d5[_0x429931(0x483)]({'chartModelId':_0x4cc61c['id'],'chartType':_0x395c3b?_univerjs_pro_engine_chart['ChartTypeBits'][_0x429931(0x554)]:_univerjs_pro_engine_chart[_0x429931(0x5c6)][_0x429931(0x305)],'style':{'pie':{'doughnutHole':_0x395c3b}}});},'get'(){const _0x133d83=_0x13e37b;return _0x4cc61c[_0x133d83(0x320)][_0x133d83(0x219)]((0x0,rxjs[_0x133d83(0x20f)])(_0x4ac995=>{const _0x49619d=_0x133d83;var _0x4b837f;return(_0x4b837f=_0x4ac995[_0x49619d(0x324)])===null||_0x4b837f===void 0x0?void 0x0:_0x4b837f['doughnutHole'];}),(0x0,rxjs[_0x133d83(0x1da)])());}})),_0x53a2d5['registerViewState'](_0x13e37b(0x5be),_0x1480a0=>({'set'(_0x4e4d86){_0x53a2d5['executeChartUpdateConfig']({'chartModelId':_0x1480a0['id'],'style':{'pie':{'borderColor':_0x4e4d86}}});},'get'(){const _0x17f8f5=_0x13e37b;return _0x1480a0[_0x17f8f5(0x320)][_0x17f8f5(0x219)]((0x0,rxjs[_0x17f8f5(0x20f)])(_0x59e50d=>{const _0x17d85a=_0x17f8f5;var _0x43d37a;return(_0x43d37a=_0x59e50d[_0x17d85a(0x324)])===null||_0x43d37a===void 0x0?void 0x0:_0x43d37a[_0x17d85a(0x424)];}),(0x0,rxjs[_0x17f8f5(0x1da)])());}})),_0x53a2d5[_0x13e37b(0x1dc)]('radarShape',_0x18da92=>({'set'(_0x33a28f){const _0xe2df32=_0x13e37b;_0x53a2d5[_0xe2df32(0x483)]({'chartModelId':_0x18da92['id'],'style':{'radar':{'shape':_0x33a28f}}});},'get'(){const _0x43fd66=_0x13e37b;return _0x18da92['style$'][_0x43fd66(0x219)]((0x0,rxjs[_0x43fd66(0x20f)])(_0x2695c9=>{const _0x213f8a=_0x43fd66;var _0x37a08d;return(_0x37a08d=_0x2695c9[_0x213f8a(0x36f)])===null||_0x37a08d===void 0x0?void 0x0:_0x37a08d[_0x213f8a(0x476)];}),(0x0,rxjs[_0x43fd66(0x1da)])());}})),_0x53a2d5[_0x13e37b(0x1dc)](_0x13e37b(0x24d),_0xcef38f=>({'set'(_0x5ab363){const _0xcab05c=_0x13e37b;_0x53a2d5[_0xcab05c(0x483)]({'chartModelId':_0xcef38f['id'],'style':{'radar':{'fill':_0x5ab363}}});},'get'(){const _0x4f7e35=_0x13e37b;return _0xcef38f[_0x4f7e35(0x320)][_0x4f7e35(0x219)]((0x0,rxjs['map'])(_0x3ad0ae=>{const _0x520383=_0x4f7e35;var _0x20ca4f;return(_0x20ca4f=_0x3ad0ae[_0x520383(0x36f)])===null||_0x20ca4f===void 0x0?void 0x0:_0x20ca4f['fill'];}),(0x0,rxjs['distinctUntilChanged'])());}})),_0x53a2d5[_0x13e37b(0x1dc)](_0x13e37b(0x60a),_0x5081da=>({'set'(_0x3390a3){const _0x333261=_0x13e37b;_0x53a2d5[_0x333261(0x483)]({'chartModelId':_0x5081da['id'],'style':{'invalidValueType':_0x3390a3}});},'get'(){const _0x24077e=_0x13e37b;return _0x5081da[_0x24077e(0x320)][_0x24077e(0x219)]((0x0,rxjs[_0x24077e(0x20f)])(_0x31b3f9=>_0x31b3f9[_0x24077e(0x60a)]),(0x0,rxjs['distinctUntilChanged'])());}})),_0x53a2d5[_0x13e37b(0x1dc)](_0x13e37b(0x26e),_0x148ad1=>{const _0x58119=_0x13e37b;return _0x148ad1['config$'][_0x58119(0x219)]((0x0,rxjs[_0x58119(0x20f)])(_0x50dce5=>{const _0x4d025f=_0x58119;var _0x14894b,_0x560546;const _0x5f7af4=_0x50dce5===null||_0x50dce5===void 0x0||(_0x14894b=_0x50dce5[_0x4d025f(0x568)])===null||_0x14894b===void 0x0?void 0x0:_0x14894b['items'];return((_0x50dce5===null||_0x50dce5===void 0x0||(_0x560546=_0x50dce5[_0x4d025f(0x511)][0x0])===null||_0x560546===void 0x0?void 0x0:_0x560546[_0x4d025f(0x333)])||[])[_0x4d025f(0x20f)]((_0x39f898,_0x570a08)=>{const _0x4a5a14=_0x4d025f;return{'label':_0x5f7af4&&_0x5f7af4[_0x570a08]!==void 0x0?_0x5f7af4[_0x570a08][_0x4a5a14(0x517)]:_0x53a2d5['t'](_0x4a5a14(0x53e),''+(_0x570a08+0x1)),'value':''+_0x570a08};});}));}),_0x53a2d5[_0x13e37b(0x1dc)](_0x13e37b(0x5f6),_0x1b33de=>({'set'(_0x359261){const _0x5a7321=_0x13e37b,_0x16812b={'theme':_0x359261},_0x13e247=_0x1b33de[_0x5a7321(0x26a)][_0x5a7321(0x58e)];if((_0x13e247===null||_0x13e247===void 0x0?void 0x0:_0x13e247[_0x5a7321(0x1e1)])!==void 0x0){var _0x426eed,_0x22e68f,_0x3bde06;_0x16812b[_0x5a7321(0x58e)]={'color':null};if((_0x13e247===null||_0x13e247===void 0x0||(_0x426eed=_0x13e247[_0x5a7321(0x5e2)])===null||_0x426eed===void 0x0||(_0x426eed=_0x426eed['positive'])===null||_0x426eed===void 0x0?void 0x0:_0x426eed[_0x5a7321(0x1e1)])!==void 0x0)_0x13e247[_0x5a7321(0x5e2)][_0x5a7321(0x2da)]['color']=null;if((_0x13e247===null||_0x13e247===void 0x0||(_0x22e68f=_0x13e247['waterfall'])===null||_0x22e68f===void 0x0||(_0x22e68f=_0x22e68f[_0x5a7321(0x2fe)])===null||_0x22e68f===void 0x0?void 0x0:_0x22e68f[_0x5a7321(0x1e1)])!==void 0x0)_0x13e247[_0x5a7321(0x5e2)][_0x5a7321(0x2fe)][_0x5a7321(0x1e1)]=null;if((_0x13e247===null||_0x13e247===void 0x0||(_0x3bde06=_0x13e247[_0x5a7321(0x5e2)])===null||_0x3bde06===void 0x0||(_0x3bde06=_0x3bde06['subtotal'])===null||_0x3bde06===void 0x0?void 0x0:_0x3bde06['color'])!==void 0x0)_0x13e247['waterfall'][_0x5a7321(0x3e0)][_0x5a7321(0x1e1)]=null;}const _0xd398cb=_0x1b33de[_0x5a7321(0x26a)][_0x5a7321(0x50a)]||{};for(const _0x5cbe01 in _0xd398cb){var _0x5c961a,_0x970b82,_0x4d451f;if(_0xd398cb[_0x5cbe01][_0x5a7321(0x1e1)]!==void 0x0)_0x16812b['seriesStyleMap']={..._0x16812b[_0x5a7321(0x50a)],[_0x5cbe01]:{'color':null}};if(((_0x5c961a=_0xd398cb[_0x5cbe01])===null||_0x5c961a===void 0x0||(_0x5c961a=_0x5c961a[_0x5a7321(0x5e2)])===null||_0x5c961a===void 0x0||(_0x5c961a=_0x5c961a[_0x5a7321(0x2da)])===null||_0x5c961a===void 0x0?void 0x0:_0x5c961a[_0x5a7321(0x1e1)])!==void 0x0)_0xd398cb[_0x5cbe01][_0x5a7321(0x5e2)][_0x5a7321(0x2da)]['color']=null;if(((_0x970b82=_0xd398cb[_0x5cbe01])===null||_0x970b82===void 0x0||(_0x970b82=_0x970b82[_0x5a7321(0x5e2)])===null||_0x970b82===void 0x0||(_0x970b82=_0x970b82[_0x5a7321(0x2fe)])===null||_0x970b82===void 0x0?void 0x0:_0x970b82[_0x5a7321(0x1e1)])!==void 0x0)_0xd398cb[_0x5cbe01][_0x5a7321(0x5e2)][_0x5a7321(0x2fe)][_0x5a7321(0x1e1)]=null;if(((_0x4d451f=_0xd398cb[_0x5cbe01])===null||_0x4d451f===void 0x0||(_0x4d451f=_0x4d451f[_0x5a7321(0x5e2)])===null||_0x4d451f===void 0x0||(_0x4d451f=_0x4d451f[_0x5a7321(0x3e0)])===null||_0x4d451f===void 0x0?void 0x0:_0x4d451f[_0x5a7321(0x1e1)])!==void 0x0)_0xd398cb[_0x5cbe01][_0x5a7321(0x5e2)][_0x5a7321(0x3e0)][_0x5a7321(0x1e1)]=null;}_0x53a2d5['executeChartUpdateConfig']({'chartModelId':_0x1b33de['id'],'style':_0x16812b});},'get'(){const _0x1e690e=_0x13e37b;return _0x1b33de[_0x1e690e(0x320)][_0x1e690e(0x219)]((0x0,rxjs[_0x1e690e(0x20f)])(_0x5b3dd3=>_0x5b3dd3[_0x1e690e(0x2bf)]||_0x1e690e(0x5dc)));}})),_0x53a2d5[_0x13e37b(0x1dc)](_0x13e37b(0x451),_0x3f9f5a=>({'set'(_0x130419){const _0x538c6e=_0x13e37b;_0x53a2d5[_0x538c6e(0x483)]({'chartModelId':_0x3f9f5a['id'],'style':{'titles':{'titlePosition':_0x130419}}});},'get'(){const _0x107bd3=_0x13e37b;return _0x3f9f5a[_0x107bd3(0x320)][_0x107bd3(0x219)]((0x0,rxjs[_0x107bd3(0x20f)])(_0x1e83cf=>{const _0x47e61c=_0x107bd3;var _0x4a63da;return((_0x4a63da=_0x1e83cf['titles'])===null||_0x4a63da===void 0x0?void 0x0:_0x4a63da[_0x47e61c(0x451)])||void 0x0;}));}})),_0x53a2d5[_0x13e37b(0x1dc)](_0x13e37b(0x2fd),_0x125b09=>({'set'(_0x3c5655){const _0x3efbb2=_0x13e37b;_0x53a2d5[_0x3efbb2(0x483)]({'chartModelId':_0x125b09['id'],'context':{'bubbleSizeSeriesId':_0x3c5655}});},'get'(){const _0x401ff4=_0x13e37b;return _0x125b09[_0x401ff4(0x1af)][_0x401ff4(0x219)]((0x0,rxjs[_0x401ff4(0x20f)])(_0x4dfabb=>_0x4dfabb[_0x401ff4(0x2fd)]||void 0x0));}})),_0x53a2d5[_0x13e37b(0x1dc)](_0x13e37b(0x5c5),_0x245f70=>({'set'(_0x21e803){const _0x3eae81=_0x13e37b;_0x53a2d5[_0x3eae81(0x483)]({'chartModelId':_0x245f70['id'],'context':{'bubbleXAxis':_0x21e803}});},'get'(){const _0x8a1144=_0x13e37b;return _0x245f70[_0x8a1144(0x1af)][_0x8a1144(0x219)]((0x0,rxjs['map'])(_0x469e86=>{var _0x56347b;return(_0x56347b=_0x469e86['bubbleXAxis'])!==null&&_0x56347b!==void 0x0?_0x56347b:void 0x0;}));}})),_0x53a2d5[_0x13e37b(0x1dc)](_0x13e37b(0x486),_0x3885bd=>({'set'(_0x3d6e06){const _0x5aa3ab=_0x13e37b;_0x53a2d5[_0x5aa3ab(0x483)]({'chartModelId':_0x3885bd['id'],'context':{'bubbleYAxis':_0x3d6e06}});},'get'(){const _0x3a5e36=_0x13e37b;return _0x3885bd['context$'][_0x3a5e36(0x219)]((0x0,rxjs[_0x3a5e36(0x20f)])(_0x4b4b8f=>{const _0x124fe6=_0x3a5e36;var _0x2203ee;return(_0x2203ee=_0x4b4b8f[_0x124fe6(0x486)])!==null&&_0x2203ee!==void 0x0?_0x2203ee:void 0x0;}));}})),_0x53a2d5['registerViewState'](_0x13e37b(0x5bc),_0x25d48d=>({'set'(_0xb41a8c){const _0x805229=_0x13e37b;_0x53a2d5[_0x805229(0x483)]({'chartModelId':_0x25d48d['id'],'context':{'bubbleLabel':_0xb41a8c}});},'get'(){const _0x2fc915=_0x13e37b;return _0x25d48d[_0x2fc915(0x1af)]['pipe']((0x0,rxjs[_0x2fc915(0x20f)])(_0x2580dc=>{const _0x5ac1f9=_0x2fc915;var _0x3c63f2;return(_0x3c63f2=_0x2580dc[_0x5ac1f9(0x5bc)])!==null&&_0x3c63f2!==void 0x0?_0x3c63f2:void 0x0;}));}})),_0x53a2d5['registerViewState']('bubbleSeries',_0x14f15d=>({'set'(_0x4a38b3){const _0xb8025=_0x13e37b;_0x53a2d5[_0xb8025(0x483)]({'chartModelId':_0x14f15d['id'],'context':{'bubbleSeries':_0x4a38b3}});},'get'(){const _0x2de20d=_0x13e37b;return _0x14f15d[_0x2de20d(0x1af)][_0x2de20d(0x219)]((0x0,rxjs[_0x2de20d(0x20f)])(_0x5d724d=>{const _0x4529b4=_0x2de20d;var _0x154c94;return(_0x154c94=_0x5d724d[_0x4529b4(0x1b3)])!==null&&_0x154c94!==void 0x0?_0x154c94:void 0x0;}));}})),_0x53a2d5[_0x13e37b(0x1dc)](_0x13e37b(0x503),_0x1c079c=>({'set'(_0x9ee702){const _0x3782dc=_0x13e37b;_0x53a2d5[_0x3782dc(0x483)]({'chartModelId':_0x1c079c['id'],'style':{'relation':{'layout':_0x9ee702}}});},'get'(){const _0x5b166d=_0x13e37b;return _0x1c079c[_0x5b166d(0x320)][_0x5b166d(0x219)]((0x0,rxjs[_0x5b166d(0x20f)])(_0xc7975e=>{const _0x7acf45=_0x5b166d;var _0x236796;return(_0x236796=_0xc7975e[_0x7acf45(0x508)])===null||_0x236796===void 0x0?void 0x0:_0x236796[_0x7acf45(0x399)];}),(0x0,rxjs[_0x5b166d(0x1da)])());}})),_0x53a2d5['registerViewState'](_0x13e37b(0x2a4),_0x3bfb24=>({'set'(_0x2bc199){_0x53a2d5['executeChartUpdateConfig']({'chartModelId':_0x3bfb24['id'],'style':{'relation':{'useValueAsSymbolSize':Boolean(_0x2bc199)}}});},'get'(){const _0x338795=_0x13e37b;return _0x3bfb24[_0x338795(0x320)][_0x338795(0x219)]((0x0,rxjs['map'])(_0x290097=>{const _0xbe5ea6=_0x338795;var _0x4daa80;return(_0x4daa80=_0x290097['relation'])===null||_0x4daa80===void 0x0?void 0x0:_0x4daa80[_0xbe5ea6(0x2a4)];}),(0x0,rxjs[_0x338795(0x1da)])());}})),_0x53a2d5[_0x13e37b(0x1dc)](_0x13e37b(0x1b6),_0x481906=>({'set'(_0x3a8421){const _0x507e56=_0x13e37b;_0x53a2d5[_0x507e56(0x483)]({'chartModelId':_0x481906['id'],'style':{'relation':{'force':_0x3a8421}}});},'get'(){const _0x50edb8=_0x13e37b;return _0x481906[_0x50edb8(0x320)]['pipe']((0x0,rxjs[_0x50edb8(0x20f)])(_0x29aac2=>{const _0x5500cc=_0x50edb8;var _0x25101a;return(_0x25101a=_0x29aac2[_0x5500cc(0x508)])===null||_0x25101a===void 0x0?void 0x0:_0x25101a[_0x5500cc(0x48e)];}),(0x0,rxjs[_0x50edb8(0x1da)])());}})),_0x53a2d5[_0x13e37b(0x1dc)](_0x13e37b(0x4a6),_0x2eede5=>({'set'(_0x5dec2d){const _0x28e51f=_0x13e37b;_0x53a2d5[_0x28e51f(0x483)]({'chartModelId':_0x2eede5['id'],'style':{'relation':{'circular':{'rotateLabel':Boolean(_0x5dec2d)}}}});},'get'(){const _0x2389b4=_0x13e37b;return _0x2eede5[_0x2389b4(0x320)][_0x2389b4(0x219)]((0x0,rxjs[_0x2389b4(0x20f)])(_0x1a6628=>{const _0x4a0f60=_0x2389b4;var _0x587cab;return(_0x587cab=_0x1a6628[_0x4a0f60(0x508)])===null||_0x587cab===void 0x0||(_0x587cab=_0x587cab['circular'])===null||_0x587cab===void 0x0?void 0x0:_0x587cab[_0x4a0f60(0x4a6)];}),(0x0,rxjs[_0x2389b4(0x1da)])());}})),_0x53a2d5[_0x13e37b(0x1dc)](_0x13e37b(0x3b7),_0x39ad2d=>({'set'(_0x4a300b){const _0x389a9b=_0x13e37b;_0x53a2d5[_0x389a9b(0x483)]({'chartModelId':_0x39ad2d['id'],'style':{'relation':{'nodeShape':_0x4a300b}}});},'get'(){const _0xa480be=_0x13e37b;return _0x39ad2d[_0xa480be(0x320)][_0xa480be(0x219)]((0x0,rxjs[_0xa480be(0x20f)])(_0x189f7f=>{const _0x190d85=_0xa480be;var _0x1e921a;return(_0x1e921a=_0x189f7f[_0x190d85(0x508)])===null||_0x1e921a===void 0x0?void 0x0:_0x1e921a['nodeShape'];}),(0x0,rxjs[_0xa480be(0x1da)])());}})),_0x53a2d5[_0x13e37b(0x1dc)]('useEmphasis',_0x2074b6=>({'set'(_0x57c342){const _0x4029ad=_0x13e37b;_0x53a2d5[_0x4029ad(0x483)]({'chartModelId':_0x2074b6['id'],'style':{'relation':{'useEmphasis':Boolean(_0x57c342)}}});},'get'(){const _0x49fa37=_0x13e37b;return _0x2074b6[_0x49fa37(0x320)]['pipe']((0x0,rxjs[_0x49fa37(0x20f)])(_0x1ba42c=>{const _0x42dc0d=_0x49fa37;var _0x4c04bb;return(_0x4c04bb=_0x1ba42c[_0x42dc0d(0x508)])===null||_0x4c04bb===void 0x0?void 0x0:_0x4c04bb[_0x42dc0d(0x357)];}),(0x0,rxjs['distinctUntilChanged'])());}})),_0x53a2d5['registerViewState']('useDateAxis',_0x4b662a=>({'set'(_0x3b4a5c){_0x53a2d5['executeChartUpdateConfig']({'chartModelId':_0x4b662a['id'],'context':{'useDateAxis':Boolean(_0x3b4a5c)}});},'get'(){const _0x591362=_0x13e37b;return _0x4b662a[_0x591362(0x1af)][_0x591362(0x219)]((0x0,rxjs[_0x591362(0x20f)])(_0x2253c3=>_0x2253c3[_0x591362(0x2fa)]),(0x0,rxjs[_0x591362(0x1da)])());}})),_0x53a2d5['registerViewState'](_0x13e37b(0x1c4),_0x550ced=>({'set'(_0x9a7d51){const _0x15a3ae=_0x13e37b;_0x53a2d5[_0x15a3ae(0x483)]({'chartModelId':_0x550ced['id'],'style':{'waterfall':{'stackType':_0x9a7d51}}});},'get'(){const _0x257955=_0x13e37b;return _0x550ced[_0x257955(0x320)][_0x257955(0x219)]((0x0,rxjs['map'])(_0x1f9e9b=>{const _0x10a930=_0x257955;var _0x491760;return(_0x491760=_0x1f9e9b['waterfall'])===null||_0x491760===void 0x0?void 0x0:_0x491760[_0x10a930(0x595)];}),(0x0,rxjs['distinctUntilChanged'])());}})),_0x53a2d5['registerViewState'](_0x13e37b(0x459),_0xee566f=>({'set'(_0x12486c){const _0x2446db=_0x13e37b;_0x53a2d5[_0x2446db(0x483)]({'chartModelId':_0xee566f['id'],'style':{'waterfall':{'useSubtotal':_0x12486c}}});},'get'(){const _0x13fa63=_0x13e37b;return _0xee566f[_0x13fa63(0x320)][_0x13fa63(0x219)]((0x0,rxjs['map'])(_0x3e027c=>{const _0x53ccc3=_0x13fa63;var _0x1f9204;return(_0x1f9204=_0x3e027c['waterfall'])===null||_0x1f9204===void 0x0?void 0x0:_0x1f9204[_0x53ccc3(0x459)];}),(0x0,rxjs[_0x13fa63(0x1da)])());}})),_0x53a2d5[_0x13e37b(0x1dc)](_0x13e37b(0x1ad),_0x368bb6=>({'set'(_0x480e82){const _0x211193=_0x13e37b;_0x53a2d5[_0x211193(0x483)]({'chartModelId':_0x368bb6['id'],'style':{'pareto':_0x480e82}});},'get'(){const _0x4ad7fd=_0x13e37b;return _0x368bb6['style$']['pipe']((0x0,rxjs[_0x4ad7fd(0x20f)])(_0x5121ef=>_0x5121ef[_0x4ad7fd(0x60f)]),(0x0,rxjs[_0x4ad7fd(0x1da)])());}})),_0x53a2d5['registerViewState'](_0x13e37b(0x642),_0x4fcf89=>{const _0x57035a=_0x13e37b;return _0x4fcf89[_0x57035a(0x30c)]['pipe']((0x0,rxjs['map'])(_0x28d2e6=>{const _0x3102be=_0x57035a;var _0x52575c;const _0x1f9da4=_0x28d2e6===null||_0x28d2e6===void 0x0||(_0x52575c=_0x28d2e6['category'])===null||_0x52575c===void 0x0?void 0x0:_0x52575c['items'],_0x540f05=new Map();return _0x28d2e6===null||_0x28d2e6===void 0x0||_0x28d2e6[_0x3102be(0x511)][0x0][_0x3102be(0x333)][_0x3102be(0x42f)]((_0x1a23f9,_0x39cab8)=>{const _0xce4b8b=_0x3102be,_0x11ead5=_0x1f9da4?String(_0x1f9da4[_0x39cab8][_0xce4b8b(0x1f4)]):_0x53a2d5['t']('chart.theIndexItem',''+(_0x39cab8+0x1));if(!_0x540f05[_0xce4b8b(0x4a0)](_0x11ead5))_0x540f05['set'](_0x11ead5,_0x1a23f9['value']);}),Array[_0x3102be(0x561)](_0x540f05[_0x3102be(0x62e)]())[_0x3102be(0x197)](_0x27da56=>_0x27da56[0x1]>0x0)[_0x3102be(0x419)]((_0x1ae034,_0x2bc3d5)=>_0x2bc3d5[0x1]-_0x1ae034[0x1])[_0x3102be(0x20f)]((_0x23bf6f,_0x2fff49)=>{return{'label':_0x23bf6f[0x0]||_0x53a2d5['t']('chart.theIndexItem',''+(_0x2fff49+0x1)),'value':''+_0x2fff49};});}));}),_0x53a2d5[_0x13e37b(0x1dc)](_0x13e37b(0x42b),_0x3c13a8=>({'set'(_0x182b89){const _0x1ee89c=_0x13e37b;_0x53a2d5[_0x1ee89c(0x483)]({'chartModelId':_0x3c13a8['id'],'style':{'heatmap':{'visualMapType':_0x182b89}}});},'get'(){const _0x5b711c=_0x13e37b;return _0x3c13a8[_0x5b711c(0x320)][_0x5b711c(0x219)]((0x0,rxjs[_0x5b711c(0x20f)])(_0x51d16b=>{const _0x55ceaf=_0x5b711c;var _0x11629a;return(_0x11629a=_0x51d16b[_0x55ceaf(0x3c9)])===null||_0x11629a===void 0x0?void 0x0:_0x11629a['visualMapType'];}),(0x0,rxjs[_0x5b711c(0x1da)])());}})),_0x53a2d5[_0x13e37b(0x1dc)](_0x13e37b(0x2c0),_0x58781e=>({'set'(_0x3caa02){_0x53a2d5['executeChartUpdateConfig']({'chartModelId':_0x58781e['id'],'style':{'heatmap':{'max':_0x3caa02}}});},'get'(){const _0x374217=_0x13e37b;return _0x58781e[_0x374217(0x320)][_0x374217(0x219)]((0x0,rxjs['map'])(_0x6bf97b=>{const _0xfe3bae=_0x374217;var _0x6fa89a;return(_0x6fa89a=_0x6bf97b[_0xfe3bae(0x3c9)])===null||_0x6fa89a===void 0x0?void 0x0:_0x6fa89a['max'];}),(0x0,rxjs[_0x374217(0x1da)])());}})),_0x53a2d5[_0x13e37b(0x1dc)](_0x13e37b(0x3c2),_0xd0abe5=>({'set'(_0x547a47){const _0x24227c=_0x13e37b;_0x53a2d5[_0x24227c(0x483)]({'chartModelId':_0xd0abe5['id'],'style':{'heatmap':{'min':_0x547a47}}});},'get'(){const _0x145a30=_0x13e37b;return _0xd0abe5[_0x145a30(0x320)][_0x145a30(0x219)]((0x0,rxjs[_0x145a30(0x20f)])(_0x272a65=>{const _0x29c7fd=_0x145a30;var _0x3d4f5e;return(_0x3d4f5e=_0x272a65[_0x29c7fd(0x3c9)])===null||_0x3d4f5e===void 0x0?void 0x0:_0x3d4f5e[_0x29c7fd(0x393)];}),(0x0,rxjs[_0x145a30(0x1da)])());}}));}let SheetsChartUIService=class SheetsChartUIService extends _univerjs_core['Disposable']{constructor(_0x31ce3f,_0xd6e84f,_0x5a67b4,_0x3934cb,_0x1ed272,_0x5fdde5){const _0x48ab0b=_0x5db780;super(),this[_0x48ab0b(0x2ba)]=_0x31ce3f,this[_0x48ab0b(0x63c)]=_0xd6e84f,this[_0x48ab0b(0x37c)]=_0x5a67b4,this['_localeService']=_0x3934cb,this['_chartHostProviderService']=_0x1ed272,this[_0x48ab0b(0x4fd)]=_0x5fdde5,_defineProperty(this,_0x48ab0b(0x519),new Map()),_defineProperty(this,_0x48ab0b(0x45f),![]),registryChartConfigState(this);}get[_0x5db780(0x364)](){const _0x3209ac=_0x5db780;return this[_0x3209ac(0x2ba)]['activeChartModel'];}get['rangeSelectMode'](){const _0x14d552=_0x5db780;return this[_0x14d552(0x45f)];}set[_0x5db780(0x328)](_0x4d2540){this['_rangeSelectMode']=_0x4d2540;}['getDataSource'](_0x1710e3){const _0x400a94=_0x5db780;return this[_0x400a94(0x63c)]['getChartDataSource'](_0x1710e3);}['registerViewState'](_0x249bd5,_0x2b6ead){const _0xef10c3=_0x5db780;this[_0xef10c3(0x519)][_0xef10c3(0x45d)](_0x249bd5,_0x2b6ead);}[_0x5db780(0x621)](_0x13d3fd){const _0x1b6ae8=_0x5db780,{activeChartModel:_0x35f487}=this[_0x1b6ae8(0x2ba)];if(!_0x35f487)return;const _0x2dad0e=this['_viewState'][_0x1b6ae8(0x49e)](_0x13d3fd);if(_0x2dad0e)return _0x2dad0e(_0x35f487);}[_0x5db780(0x483)](_0x4ded13){const _0x447844=_0x5db780;var _0x29bc5e,_0x28da4a;this[_0x447844(0x37c)][_0x447844(0x2c8)](_univerjs_pro_sheets_chart[_0x447844(0x439)]['id'],{..._0x4ded13,'unitId':(_0x29bc5e=(_0x28da4a=this[_0x447844(0x4fd)][_0x447844(0x589)]())===null||_0x28da4a===void 0x0?void 0x0:_0x28da4a[_0x447844(0x468)]())!==null&&_0x29bc5e!==void 0x0?_0x29bc5e:''});}['executeChartUpdateSourceConfig'](_0x5ae85a){const _0x400dcc=_0x5db780;var _0x2a7355,_0x5f5e31;this[_0x400dcc(0x37c)][_0x400dcc(0x2c8)](_univerjs_pro_sheets_chart[_0x400dcc(0x402)]['id'],{..._0x5ae85a,'unitId':(_0x2a7355=(_0x5f5e31=this[_0x400dcc(0x4fd)]['getFocusedUnit']())===null||_0x5f5e31===void 0x0?void 0x0:_0x5f5e31[_0x400dcc(0x468)]())!==null&&_0x2a7355!==void 0x0?_0x2a7355:''});}[_0x5db780(0x5bf)](_0x4fcd5f){const _0x9efb9b=_0x5db780,{_viewState:_0x4442da}=this;if(_0x4442da[_0x9efb9b(0x4a0)](_0x4fcd5f))_0x4442da[_0x9efb9b(0x63e)](_0x4fcd5f);}[_0x5db780(0x28d)](_0x254544,_0x2c7428){const _0x589de1=_0x5db780;this[_0x589de1(0x274)]['setHostStyle'](_0x254544,{'stroke':_0x2c7428});}['t'](..._0x4c568f){const _0x550793=_0x5db780;return this[_0x550793(0x5e5)]['t'](..._0x4c568f);}['dispose'](){const _0x529d49=_0x5db780;super[_0x529d49(0x38b)](),this[_0x529d49(0x519)][_0x529d49(0x3ec)]();}};SheetsChartUIService=__decorate([__decorateParam(0x0,(0x0,_univerjs_core[_0x5db780(0x297)])(_univerjs_pro_sheets_chart[_0x5db780(0x562)])),__decorateParam(0x1,(0x0,_univerjs_core['Inject'])(_univerjs_pro_sheets_chart[_0x5db780(0x3bb)])),__decorateParam(0x2,_univerjs_core['ICommandService']),__decorateParam(0x3,(0x0,_univerjs_core[_0x5db780(0x297)])(_univerjs_core[_0x5db780(0x1c2)])),__decorateParam(0x4,(0x0,_univerjs_core['Inject'])(IChartHostProviderService)),__decorateParam(0x5,_univerjs_core[_0x5db780(0x556)])],SheetsChartUIService);function useSheetsChartUIService(){const _0x30c661=_0x5db780,_0x13c177=(0x0,_univerjs_ui[_0x30c661(0x2a6)])(SheetsChartUIService);return(0x0,_univerjs_ui[_0x30c661(0x4d4)])((0x0,_univerjs_ui[_0x30c661(0x2a6)])(_univerjs_pro_sheets_chart[_0x30c661(0x562)])[_0x30c661(0x635)]),_0x13c177;}function useChartConfigState(_0x12918e,_0x3c5662,_0x5f019d){const _0x13a0a3=_0x5db780,_0x2a7472=(0x0,react[_0x13a0a3(0x3dc)])(()=>_0x3c5662[_0x13a0a3(0x621)](_0x12918e),[_0x3c5662,_0x3c5662[_0x13a0a3(0x364)],_0x12918e]);return[(0x0,_univerjs_ui[_0x13a0a3(0x4d4)])((0x0,react[_0x13a0a3(0x3dc)])(()=>_0x2a7472 instanceof rxjs[_0x13a0a3(0x355)]?_0x2a7472:_0x2a7472===null||_0x2a7472===void 0x0?void 0x0:_0x2a7472[_0x13a0a3(0x49e)](),[_0x2a7472]),_0x5f019d),(0x0,react['useCallback'])(_0x29647d=>{const _0x528320=_0x13a0a3;if(!(_0x2a7472 instanceof rxjs[_0x528320(0x355)])){var _0x27e9e2;_0x2a7472===null||_0x2a7472===void 0x0||(_0x27e9e2=_0x2a7472[_0x528320(0x45d)])===null||_0x27e9e2===void 0x0||_0x27e9e2[_0x528320(0x58a)](_0x2a7472,_0x29647d);}},[_0x2a7472])];}function serializeChartDataRange(_0x475d56,_0xdfda8e){const _0x4cec9a=_0x5db780;if(_0x475d56===null||_0x475d56===void 0x0)return'';if(Array['isArray'](_0x475d56))return'';else return serializeChartDataRangeItem(_0x475d56[_0x4cec9a(0x2e0)],_0xdfda8e);}function serializeChartDataRangeItem(_0x1c899b,_0x1b47e6){const _0x465e74=_0x5db780;var _0x4da7cf;const {unitId:_0x1984be,subUnitId:_0x59d95a,range:_0x2f79a5}=_0x1c899b,_0x2ff4fb=(_0x4da7cf=_0x1b47e6[_0x465e74(0x412)](_0x1984be))===null||_0x4da7cf===void 0x0?void 0x0:_0x4da7cf[_0x465e74(0x481)](_0x59d95a);if(!_0x2ff4fb)return'';return(0x0,_univerjs_engine_formula['serializeRangeWithSheet'])(_0x2ff4fb[_0x465e74(0x3a4)](),_0x2f79a5);}const chartTypeOptions=[{'label':_0x5db780(0x507),'value':_univerjs_pro_engine_chart['ChartTypeBits']['Line'],'icon':_0x5db780(0x4a7)},{'label':_0x5db780(0x631),'value':_univerjs_pro_engine_chart[_0x5db780(0x5c6)][_0x5db780(0x3cf)],'icon':_0x5db780(0x588)},{'label':_0x5db780(0x427),'value':_univerjs_pro_engine_chart[_0x5db780(0x5c6)][_0x5db780(0x305)],'icon':_0x5db780(0x51f)},{'label':'chartTypes.bar','value':_univerjs_pro_engine_chart[_0x5db780(0x5c6)][_0x5db780(0x30a)],'icon':'BarChartIcon'},{'label':_0x5db780(0x518),'value':_univerjs_pro_engine_chart[_0x5db780(0x5c6)][_0x5db780(0x488)],'icon':'BarChartIcon'},{'label':_0x5db780(0x644),'value':_univerjs_pro_engine_chart[_0x5db780(0x5c6)][_0x5db780(0x514)],'icon':_0x5db780(0x612)},{'label':_0x5db780(0x23e),'value':_univerjs_pro_engine_chart[_0x5db780(0x5c6)][_0x5db780(0x554)],'icon':_0x5db780(0x51f)},{'label':_0x5db780(0x592),'value':_univerjs_pro_engine_chart[_0x5db780(0x5c6)][_0x5db780(0x3ce)],'icon':_0x5db780(0x375)},{'label':_0x5db780(0x1a7),'value':_univerjs_pro_engine_chart[_0x5db780(0x5c6)][_0x5db780(0x5ed)],'icon':_0x5db780(0x375)},{'label':'chartTypes.areaPercentStacked','value':_univerjs_pro_engine_chart[_0x5db780(0x5c6)][_0x5db780(0x194)],'icon':'AreaChartIcon'},{'label':_0x5db780(0x2a9),'value':_univerjs_pro_engine_chart[_0x5db780(0x5c6)][_0x5db780(0x262)],'icon':_0x5db780(0x2a8)},{'label':'chartTypes.combination','value':_univerjs_pro_engine_chart[_0x5db780(0x5c6)][_0x5db780(0x376)],'icon':_0x5db780(0x456)},{'label':'chartTypes.scatter','value':_univerjs_pro_engine_chart['ChartTypeBits'][_0x5db780(0x5a9)],'icon':'ScatterChartIcon'},{'label':_0x5db780(0x344),'value':_univerjs_pro_engine_chart[_0x5db780(0x5c6)][_0x5db780(0x638)],'icon':_0x5db780(0x485)},{'label':_0x5db780(0x2c3),'value':_univerjs_pro_engine_chart[_0x5db780(0x5c6)][_0x5db780(0x22b)],'icon':_0x5db780(0x1bd)},{'label':'chartTypes.bubble','value':_univerjs_pro_engine_chart[_0x5db780(0x5c6)][_0x5db780(0x22d)],'icon':_0x5db780(0x29a)},{'label':_0x5db780(0x4f2),'value':_univerjs_pro_engine_chart[_0x5db780(0x5c6)][_0x5db780(0x1ac)],'icon':_0x5db780(0x1e4)},{'label':_0x5db780(0x25b),'value':_univerjs_pro_engine_chart['ChartTypeBits'][_0x5db780(0x1f5)],'icon':_0x5db780(0x57e)},{'label':_0x5db780(0x56c),'value':_univerjs_pro_engine_chart[_0x5db780(0x5c6)][_0x5db780(0x383)],'icon':'ComboChartIcon'},{'label':_0x5db780(0x59a),'value':_univerjs_pro_engine_chart[_0x5db780(0x5c6)][_0x5db780(0x641)],'icon':_0x5db780(0x348)},{'label':_0x5db780(0x1f2),'value':_univerjs_pro_engine_chart[_0x5db780(0x5c6)][_0x5db780(0x4df)],'icon':_0x5db780(0x423)},{'label':_0x5db780(0x4aa),'value':_univerjs_pro_engine_chart[_0x5db780(0x5c6)][_0x5db780(0x3ba)],'icon':_0x5db780(0x4e4)}];function getChartMenuSelection(){return chartTypeOptions;}const getOptionsList=(_0x2170ba,_0x1c454d)=>{const _0x30cfb1=_0x5db780;if(_0x1c454d[_0x30cfb1(0x3db)]===0x1&&_0x1c454d[0x0]==='all')return _0x2170ba;if(_0x1c454d['length']>0x1){const _0x222993=new Set();for(const _0x4beb88 of _0x1c454d)_0x222993[_0x30cfb1(0x5cc)](Number(_0x4beb88));return _0x2170ba['filter'](_0x121bb9=>{const _0x5502b3=_0x30cfb1;return _0x222993['has'](_0x121bb9[_0x5502b3(0x1f4)]);});}return[];},defaultOption={'label':_0x5db780(0x59b),'value':_0x5db780(0x580)},chartTypeToIcon={[_univerjs_pro_engine_chart[_0x5db780(0x5c6)]['Line']]:(0x0,react_jsx_runtime[_0x5db780(0x624)])(_univerjs_icons[_0x5db780(0x4a7)],{}),[_univerjs_pro_engine_chart[_0x5db780(0x5c6)][_0x5db780(0x3cf)]]:(0x0,react_jsx_runtime[_0x5db780(0x624)])(_univerjs_icons[_0x5db780(0x588)],{}),[_univerjs_pro_engine_chart[_0x5db780(0x5c6)][_0x5db780(0x30a)]]:(0x0,react_jsx_runtime[_0x5db780(0x624)])(_univerjs_icons[_0x5db780(0x612)],{}),[_univerjs_pro_engine_chart[_0x5db780(0x5c6)][_0x5db780(0x488)]]:(0x0,react_jsx_runtime[_0x5db780(0x624)])(_univerjs_icons['BarChartIcon'],{}),[_univerjs_pro_engine_chart[_0x5db780(0x5c6)]['BarPercentStacked']]:(0x0,react_jsx_runtime['jsx'])(_univerjs_icons[_0x5db780(0x612)],{}),[_univerjs_pro_engine_chart[_0x5db780(0x5c6)][_0x5db780(0x305)]]:(0x0,react_jsx_runtime[_0x5db780(0x624)])(_univerjs_icons[_0x5db780(0x51f)],{}),[_univerjs_pro_engine_chart['ChartTypeBits'][_0x5db780(0x554)]]:(0x0,react_jsx_runtime['jsx'])(_univerjs_icons[_0x5db780(0x51f)],{}),[_univerjs_pro_engine_chart[_0x5db780(0x5c6)][_0x5db780(0x3ce)]]:(0x0,react_jsx_runtime[_0x5db780(0x624)])(_univerjs_icons[_0x5db780(0x375)],{}),[_univerjs_pro_engine_chart[_0x5db780(0x5c6)][_0x5db780(0x5ed)]]:(0x0,react_jsx_runtime[_0x5db780(0x624)])(_univerjs_icons[_0x5db780(0x375)],{}),[_univerjs_pro_engine_chart[_0x5db780(0x5c6)][_0x5db780(0x194)]]:(0x0,react_jsx_runtime['jsx'])(_univerjs_icons[_0x5db780(0x375)],{}),[_univerjs_pro_engine_chart['ChartTypeBits'][_0x5db780(0x262)]]:(0x0,react_jsx_runtime['jsx'])(_univerjs_icons['RadarChartIcon'],{}),[_univerjs_pro_engine_chart[_0x5db780(0x5c6)][_0x5db780(0x376)]]:(0x0,react_jsx_runtime[_0x5db780(0x624)])(_univerjs_icons[_0x5db780(0x456)],{}),[_univerjs_pro_engine_chart[_0x5db780(0x5c6)]['Scatter']]:(0x0,react_jsx_runtime[_0x5db780(0x624)])(_univerjs_icons[_0x5db780(0x33c)],{}),[_univerjs_pro_engine_chart[_0x5db780(0x5c6)][_0x5db780(0x4e1)]]:void 0x0,[_univerjs_pro_engine_chart[_0x5db780(0x5c6)][_0x5db780(0x5dd)]]:(0x0,react_jsx_runtime['jsx'])(_univerjs_icons['ColumnChartIcon'],{}),[_univerjs_pro_engine_chart[_0x5db780(0x5c6)][_0x5db780(0x615)]]:(0x0,react_jsx_runtime[_0x5db780(0x624)])(_univerjs_icons[_0x5db780(0x588)],{}),[_univerjs_pro_engine_chart[_0x5db780(0x5c6)]['WordCloud']]:(0x0,react_jsx_runtime[_0x5db780(0x624)])(_univerjs_icons[_0x5db780(0x2fc)],{}),[_univerjs_pro_engine_chart[_0x5db780(0x5c6)][_0x5db780(0x22b)]]:(0x0,react_jsx_runtime[_0x5db780(0x624)])(_univerjs_icons[_0x5db780(0x1bd)],{}),[_univerjs_pro_engine_chart[_0x5db780(0x5c6)]['Bubble']]:(0x0,react_jsx_runtime[_0x5db780(0x624)])(_univerjs_icons[_0x5db780(0x29a)],{}),[_univerjs_pro_engine_chart[_0x5db780(0x5c6)][_0x5db780(0x1ac)]]:(0x0,react_jsx_runtime[_0x5db780(0x624)])(_univerjs_icons['RelationshipIcon'],{}),[_univerjs_pro_engine_chart['ChartTypeBits'][_0x5db780(0x1f5)]]:(0x0,react_jsx_runtime['jsx'])(_univerjs_icons['WaterfallChartIcon'],{}),[_univerjs_pro_engine_chart[_0x5db780(0x5c6)][_0x5db780(0x383)]]:(0x0,react_jsx_runtime[_0x5db780(0x624)])(_univerjs_icons[_0x5db780(0x456)],{}),[_univerjs_pro_engine_chart['ChartTypeBits'][_0x5db780(0x641)]]:(0x0,react_jsx_runtime[_0x5db780(0x624)])(_univerjs_icons['SankeyIcon'],{}),[_univerjs_pro_engine_chart[_0x5db780(0x5c6)][_0x5db780(0x4df)]]:(0x0,react_jsx_runtime[_0x5db780(0x624)])(_univerjs_icons[_0x5db780(0x414)],{}),[_univerjs_pro_engine_chart[_0x5db780(0x5c6)][_0x5db780(0x3ba)]]:(0x0,react_jsx_runtime[_0x5db780(0x624)])(_univerjs_icons[_0x5db780(0x4e4)],{})},seriesChartTypeOptions=chartTypeOptions[_0x5db780(0x197)](_0x159e0c=>{const _0x106652=_0x5db780;return[_univerjs_pro_engine_chart[_0x106652(0x5c6)][_0x106652(0x1ce)],_univerjs_pro_engine_chart[_0x106652(0x5c6)][_0x106652(0x3cf)],_univerjs_pro_engine_chart[_0x106652(0x5c6)][_0x106652(0x3ce)]]['map'](_0x7d77b4=>String(_0x7d77b4))['includes'](String(_0x159e0c[_0x106652(0x1f4)]));})[_0x5db780(0x20f)](({label:_0x22eb59,value:_0x3d01a6})=>{return{'label':_0x22eb59,'value':String(_0x3d01a6)};}),titleOptions=[{'label':_0x5db780(0x233),'value':_0x5db780(0x610)},{'label':'chart.titles.xAxisTitle','value':_0x5db780(0x3b1)},{'label':'chart.titles.yAxisTitle','value':_0x5db780(0x597)},{'label':_0x5db780(0x542),'value':_0x5db780(0x3ac)}],fontSizeOptions=[{'label':'10','value':'10'},{'label':'12','value':'12'},{'label':'14','value':'14'},{'label':'16','value':'16'},{'label':'18','value':'18'},{'label':'20','value':'20'},{'label':'24','value':'24'},{'label':'30','value':'30'},{'label':'36','value':'36'}],textAlignOptions=[{'label':_0x5db780(0x1c1),'value':'left'},{'label':_0x5db780(0x243),'value':_0x5db780(0x4d7)},{'label':_0x5db780(0x625),'value':_0x5db780(0x3f9)}];function getAllSeriesOption(){const _0xa5b55a=_0x5db780;return{'label':'chart.allSeries','value':_univerjs_pro_engine_chart['defaultChartConfig'][_0xa5b55a(0x4ab)]};}const lineOpacityOptions=[0x1,0.9,0.7,0.5,0.3,0.2,0.1,0x0][_0x5db780(0x20f)](_0x828fc3=>({'label':_0x828fc3*0x64+'%','value':String(_0x828fc3)})),borderDashTypeOptions=[{'label':_0x5db780(0x2a2),'value':_univerjs_pro_engine_chart['ChartBorderDashType']['Solid']},{'label':'chart.dashType.dash','value':_univerjs_pro_engine_chart['ChartBorderDashType'][_0x5db780(0x395)]},{'label':_0x5db780(0x392),'value':_univerjs_pro_engine_chart[_0x5db780(0x2ac)][_0x5db780(0x24b)]}],linePointShapeOptions=[{'label':'chart.shape.circle','value':_univerjs_pro_engine_chart[_0x5db780(0x614)]['Circle']},{'label':_0x5db780(0x2c9),'value':_univerjs_pro_engine_chart[_0x5db780(0x614)][_0x5db780(0x553)]},{'label':_0x5db780(0x5ba),'value':_univerjs_pro_engine_chart[_0x5db780(0x614)][_0x5db780(0x255)]},{'label':'chart.shape.diamond','value':_univerjs_pro_engine_chart[_0x5db780(0x614)][_0x5db780(0x516)]},{'label':_0x5db780(0x242),'value':_univerjs_pro_engine_chart[_0x5db780(0x614)][_0x5db780(0x4d9)]},{'label':_0x5db780(0x4b1),'value':_univerjs_pro_engine_chart[_0x5db780(0x614)]['RoundRect']},{'label':'chart.shape.pin','value':_univerjs_pro_engine_chart[_0x5db780(0x614)][_0x5db780(0x23a)]},{'label':_0x5db780(0x2ce),'value':_univerjs_pro_engine_chart[_0x5db780(0x614)]['Arrow']},{'label':_0x5db780(0x598),'value':_univerjs_pro_engine_chart[_0x5db780(0x614)][_0x5db780(0x4e1)]},{'label':_0x5db780(0x530),'value':_univerjs_pro_engine_chart['LinePointShape'][_0x5db780(0x289)]},{'label':_0x5db780(0x35e),'value':_univerjs_pro_engine_chart[_0x5db780(0x614)][_0x5db780(0x31b)]},{'label':_0x5db780(0x416),'value':_univerjs_pro_engine_chart['LinePointShape'][_0x5db780(0x372)]},{'label':_0x5db780(0x3c4),'value':_univerjs_pro_engine_chart[_0x5db780(0x614)][_0x5db780(0x639)]},{'label':_0x5db780(0x43e),'value':_univerjs_pro_engine_chart['LinePointShape'][_0x5db780(0x235)]},{'label':_0x5db780(0x5fe),'value':_univerjs_pro_engine_chart[_0x5db780(0x614)]['EmptyRoundRect']},{'label':_0x5db780(0x602),'value':_univerjs_pro_engine_chart[_0x5db780(0x614)][_0x5db780(0x36b)]},{'label':_0x5db780(0x629),'value':_univerjs_pro_engine_chart[_0x5db780(0x614)]['EmptyArrow']}],linePointSizeOptions=[0x0,0x2,0x5,0x7,0xa,0xe][_0x5db780(0x20f)](_0x137682=>({'label':_0x137682+'px','value':String(_0x137682)})),borderWidthOptions=[0x0,0x1,0x2,0x4,0x8][_0x5db780(0x20f)](_0x15a9bb=>({'label':_0x15a9bb+'px','value':String(_0x15a9bb)})),axisLabelRotateOptions=[-0x5a,-0x3c,-0x2d,-0x1e,0x0,0x1e,0x2d,0x3c,0x5a][_0x5db780(0x20f)](_0x2852e1=>({'label':_0x2852e1+'°','value':String(_0x2852e1)})),trendlineTypeOptions=[{'label':_0x5db780(0x60c),'value':_univerjs_pro_engine_chart['ChartTrendlineType'][_0x5db780(0x2d2)]},{'label':_0x5db780(0x447),'value':_univerjs_pro_engine_chart[_0x5db780(0x489)][_0x5db780(0x1e8)]},{'label':_0x5db780(0x245),'value':_univerjs_pro_engine_chart[_0x5db780(0x489)][_0x5db780(0x491)]},{'label':'chart.trendline.pow','value':_univerjs_pro_engine_chart[_0x5db780(0x489)]['pow']},{'label':'chart.trendline.movingAvg','value':_univerjs_pro_engine_chart[_0x5db780(0x489)][_0x5db780(0x47a)]},{'label':_0x5db780(0x432),'value':_univerjs_pro_engine_chart[_0x5db780(0x489)][_0x5db780(0x236)]}],trendlineToIcon={[_univerjs_pro_engine_chart['ChartTrendlineType']['linear']]:(0x0,react_jsx_runtime[_0x5db780(0x624)])(_univerjs_icons[_0x5db780(0x27f)],{}),[_univerjs_pro_engine_chart[_0x5db780(0x489)][_0x5db780(0x1e8)]]:(0x0,react_jsx_runtime[_0x5db780(0x624)])(_univerjs_icons[_0x5db780(0x4cf)],{}),[_univerjs_pro_engine_chart[_0x5db780(0x489)]['log']]:(0x0,react_jsx_runtime[_0x5db780(0x624)])(_univerjs_icons[_0x5db780(0x479)],{}),[_univerjs_pro_engine_chart[_0x5db780(0x489)][_0x5db780(0x3d5)]]:(0x0,react_jsx_runtime[_0x5db780(0x624)])(_univerjs_icons['PowerLineIcon'],{}),[_univerjs_pro_engine_chart['ChartTrendlineType']['movingAvg']]:(0x0,react_jsx_runtime[_0x5db780(0x624)])(_univerjs_icons[_0x5db780(0x501)],{}),[_univerjs_pro_engine_chart[_0x5db780(0x489)]['poly']]:(0x0,react_jsx_runtime['jsx'])(_univerjs_icons[_0x5db780(0x5b3)],{})},trendlineOrderOptions=[0x2,0x3,0x4,0x5,0x6][_0x5db780(0x20f)](_0x492ba1=>({'label':''+_0x492ba1,'value':String(_0x492ba1)})),dataLabelPositionOptions=[_univerjs_pro_engine_chart[_0x5db780(0x2b6)]['Auto'],_univerjs_pro_engine_chart[_0x5db780(0x2b6)][_0x5db780(0x4f8)],_univerjs_pro_engine_chart[_0x5db780(0x2b6)][_0x5db780(0x4b3)],_univerjs_pro_engine_chart[_0x5db780(0x2b6)][_0x5db780(0x250)],_univerjs_pro_engine_chart[_0x5db780(0x2b6)][_0x5db780(0x4c9)],_univerjs_pro_engine_chart['SeriesLabelPosition'][_0x5db780(0x2d5)]][_0x5db780(0x20f)](_0xacb444=>({'label':'chart.positionType.'+_0xacb444,'value':_0xacb444})),pieDataLabelPositionOptions=[_univerjs_pro_engine_chart[_0x5db780(0x600)][_0x5db780(0x4f8)],_univerjs_pro_engine_chart[_0x5db780(0x600)][_0x5db780(0x4e0)]][_0x5db780(0x20f)](_0x5177dc=>({'label':_0x5db780(0x4d2)+_0x5177dc,'value':_0x5177dc})),legendLabelPositionOptions=[_univerjs_pro_engine_chart[_0x5db780(0x4c4)][_0x5db780(0x4c9)],_univerjs_pro_engine_chart['LegendPositionEnum']['Bottom'],_univerjs_pro_engine_chart[_0x5db780(0x4c4)][_0x5db780(0x4b3)],_univerjs_pro_engine_chart[_0x5db780(0x4c4)][_0x5db780(0x250)],_univerjs_pro_engine_chart['LegendPositionEnum'][_0x5db780(0x1e2)]][_0x5db780(0x20f)](_0xae117d=>({'label':_0x5db780(0x4d2)+_0xae117d,'value':_0xae117d})),legendSelectModeOptions=[_univerjs_pro_engine_chart[_0x5db780(0x4da)][_0x5db780(0x298)],_univerjs_pro_engine_chart[_0x5db780(0x4da)][_0x5db780(0x5f9)],_univerjs_pro_engine_chart[_0x5db780(0x4da)]['Close']][_0x5db780(0x20f)](_0x41facc=>({'label':_0x5db780(0x2ca)+_0x41facc,'value':_0x41facc})),legendVisualMapTypeOptions=[_0x5db780(0x2b1),_0x5db780(0x527)][_0x5db780(0x20f)](_0x18306b=>({'label':_0x5db780(0x3b8)+_0x18306b,'value':_0x18306b})),titlePositionOptions=[_univerjs_pro_engine_chart['TitlePositionEnum'][_0x5db780(0x4c9)],_univerjs_pro_engine_chart[_0x5db780(0x306)][_0x5db780(0x2d5)],_univerjs_pro_engine_chart[_0x5db780(0x306)][_0x5db780(0x4b3)],_univerjs_pro_engine_chart['TitlePositionEnum'][_0x5db780(0x250)],_univerjs_pro_engine_chart[_0x5db780(0x306)][_0x5db780(0x1e2)]][_0x5db780(0x20f)](_0x1b340a=>({'label':'chart.positionType.'+_0x1b340a,'value':_0x1b340a})),axisTitlePositionOptions=[_univerjs_pro_engine_chart[_0x5db780(0x32d)][_0x5db780(0x54d)],_univerjs_pro_engine_chart[_0x5db780(0x32d)][_0x5db780(0x2ae)],_univerjs_pro_engine_chart[_0x5db780(0x32d)][_0x5db780(0x1c0)]]['map'](_0x2bff13=>({'label':_0x5db780(0x4c3)+_0x2bff13,'value':_0x2bff13})),titlePositionXOptions=[_univerjs_pro_engine_chart['TextAlign'][_0x5db780(0x4b3)],_univerjs_pro_engine_chart[_0x5db780(0x2e7)]['Center'],_univerjs_pro_engine_chart[_0x5db780(0x2e7)][_0x5db780(0x250)]]['map'](_0x35bb63=>({'label':'chart.align.'+_0x35bb63,'value':_0x35bb63})),titlePositionYOptions=[_univerjs_pro_engine_chart[_0x5db780(0x5c4)][_0x5db780(0x4c9)],_univerjs_pro_engine_chart[_0x5db780(0x5c4)]['Middle'],_univerjs_pro_engine_chart['TextVerticalAlign'][_0x5db780(0x2d5)]]['map'](_0x26ab3a=>({'label':_0x5db780(0x2f1)+_0x26ab3a,'value':_0x26ab3a})),axisListOptions=[{'value':'xAxis','label':_0x5db780(0x37b)},{'value':_0x5db780(0x330),'label':_0x5db780(0x435)},{'value':_0x5db780(0x34a),'label':_0x5db780(0x48f)}],tickThicknessOptions=[0x1,0x2,0x3][_0x5db780(0x20f)](_0xe8bae2=>({'label':_0xe8bae2+'px','value':String(_0xe8bae2)})),stackTypeOptions=[{'label':_0x5db780(0x224),'value':''},{'label':_0x5db780(0x585),'value':_univerjs_pro_engine_chart['StackType'][_0x5db780(0x21a)]},{'label':_0x5db780(0x3c7),'value':_univerjs_pro_engine_chart[_0x5db780(0x317)][_0x5db780(0x5b4)]}],areaLineTypeOptions=[{'label':_0x5db780(0x536),'value':_univerjs_pro_engine_chart[_0x5db780(0x1fb)]['Line']},{'label':'chart.lineType.smooth','value':_univerjs_pro_engine_chart['AreaLineStyle'][_0x5db780(0x584)]},{'label':_0x5db780(0x572),'value':_univerjs_pro_engine_chart[_0x5db780(0x1fb)][_0x5db780(0x26d)]}],pieDonutHoleOptions=[0x0,0.25,0.5,0.75][_0x5db780(0x20f)](_0x70352d=>({'label':_0x70352d*0x64+'%','value':String(_0x70352d)})),radarShapeOptions=[{'label':'chart.shape.polygon','value':_univerjs_pro_engine_chart[_0x5db780(0x480)][_0x5db780(0x2b9)]},{'label':_0x5db780(0x4e8),'value':_univerjs_pro_engine_chart[_0x5db780(0x480)]['Circle']}],invalidValueOptions=[{'label':_0x5db780(0x3ae),'value':_univerjs_pro_engine_chart[_0x5db780(0x2e9)]['Break']},{'label':'chart.invalidType.zero','value':_univerjs_pro_engine_chart[_0x5db780(0x2e9)][_0x5db780(0x5ab)]},{'label':_0x5db780(0x1f3),'value':_univerjs_pro_engine_chart[_0x5db780(0x2e9)][_0x5db780(0x609)]}],labelContentTypeList=[_univerjs_pro_engine_chart[_0x5db780(0x4f3)][_0x5db780(0x300)],_univerjs_pro_engine_chart[_0x5db780(0x4f3)][_0x5db780(0x2bb)],_univerjs_pro_engine_chart[_0x5db780(0x4f3)][_0x5db780(0x371)],_univerjs_pro_engine_chart['LabelContentType'][_0x5db780(0x52b)]],labelContentOptions=[{'label':'chart.category','value':_univerjs_pro_engine_chart[_0x5db780(0x4f3)][_0x5db780(0x300)]},{'label':'chart.series','value':_univerjs_pro_engine_chart[_0x5db780(0x4f3)][_0x5db780(0x2bb)]},{'label':'chart.value','value':_univerjs_pro_engine_chart[_0x5db780(0x4f3)][_0x5db780(0x371)]},{'label':_0x5db780(0x1f7),'value':_univerjs_pro_engine_chart['LabelContentType']['Percentage']}][_0x5db780(0x20f)](_0x4b32fe=>({..._0x4b32fe,'value':String(_0x4b32fe[_0x5db780(0x1f4)])})),pieLabelContentOptions=labelContentOptions['filter'](_0x43d8ce=>_0x43d8ce[_0x5db780(0x1f4)]!==String(_univerjs_pro_engine_chart[_0x5db780(0x4f3)][_0x5db780(0x2bb)])),tickLengthOptions=[0x6,0xc,0x12,0x18][_0x5db780(0x20f)](_0x5abfee=>({'label':_0x5abfee+'px','value':String(_0x5abfee)})),tickWidthOptions=[0x1,0x2,0x4,0x8]['map'](_0x2d521d=>({'label':_0x2d521d+'px','value':String(_0x2d521d)})),RelationLayoutOptions=[{'label':_0x5db780(0x619),'value':_0x5db780(0x2a7)},{'label':_0x5db780(0x284),'value':_0x5db780(0x1bf)},{'label':'chart.relation.force','value':'force'}],DateFormatList=[{'label':_0x5db780(0x1be),'suffix':'yyyy-MM-dd'},{'label':'1930/08/05','suffix':_0x5db780(0x1de)},{'label':_0x5db780(0x43d),'suffix':_0x5db780(0x4a1)},{'label':_0x5db780(0x52c),'suffix':_0x5db780(0x3d6)},{'label':'8月5日','suffix':'M\x22月\x22d\x22日\x22'},{'label':_0x5db780(0x426),'suffix':_0x5db780(0x4ca)},{'label':_0x5db780(0x583),'suffix':_0x5db780(0x477)},{'label':_0x5db780(0x620),'suffix':'A/P\x20hh:mm'},{'label':'下午1:30','suffix':_0x5db780(0x5a4)},{'label':_0x5db780(0x25a),'suffix':_0x5db780(0x1d0)},{'label':_0x5db780(0x1ee),'suffix':_0x5db780(0x325)}],ThousandsSeparatorFormatList=[{'label':_0x5db780(0x2bd),'suffix':_0x5db780(0x605)},{'label':_0x5db780(0x3e7),'suffix':_0x5db780(0x4dc),'color':_0x5db780(0x396)},{'label':_0x5db780(0x369),'suffix':_0x5db780(0x4ae)},{'label':'1,234.56','suffix':_0x5db780(0x277),'color':_0x5db780(0x396)},{'label':_0x5db780(0x5a5),'suffix':_0x5db780(0x44d)},{'label':'-1,234.56','suffix':'#,##0.00_);[Red]-#,##0.00','color':_0x5db780(0x396)}],CurrencyFormatList=[{'label':_0x3d1031=>_0x3d1031+'1,235','suffix':_0x2f4816=>'\x22'+_0x2f4816+'\x22#,##0.00_);\x22'+_0x2f4816+_0x5db780(0x529)},{'label':_0x105c3a=>_0x105c3a+_0x5db780(0x41f),'suffix':_0x52bb07=>'\x22'+_0x52bb07+_0x5db780(0x23f)+_0x52bb07+_0x5db780(0x529),'color':_0x5db780(0x396)},{'label':_0x57a72b=>'('+_0x57a72b+_0x5db780(0x1b7),'suffix':_0x2d60e7=>'\x22'+_0x2d60e7+_0x5db780(0x538)+_0x2d60e7+_0x5db780(0x4af)},{'label':_0x1879c5=>'('+_0x1879c5+'1,235)','suffix':_0x11bfa3=>'\x22'+_0x11bfa3+_0x5db780(0x445)+_0x11bfa3+'\x22#,##0.00)','color':'red'},{'label':_0x231d33=>'-'+_0x231d33+_0x5db780(0x41f),'suffix':_0x31022f=>'\x22'+_0x31022f+'\x22#,##0.00_);-\x22'+_0x31022f+_0x5db780(0x529)},{'label':_0x1fe491=>'-'+_0x1fe491+_0x5db780(0x41f),'suffix':_0x406741=>'\x22'+_0x406741+'\x22#,##0.00_);[Red]-\x22'+_0x406741+'\x22#,##0.00','color':'red'}],currencySymbols=['$','£','¥','¤','֏','؋','৳','฿','₡','₦','₩','₪','₫','€','₭','₮','₱','₲','₴','₸','₹','₺','₼','₽','₾','₿'],UNIVER_SHEET_CHART_FORMAT_DIALOG_ID=_0x5db780(0x215),UNIVER_SHEET_CHART_FORMAT_DIALOG='univer-sheet-chart-format-dialog',waterfallStackTypeOptions=[{'label':_0x5db780(0x54a),'value':_univerjs_pro_engine_chart[_0x5db780(0x2b4)]['Arrangement']},{'label':_0x5db780(0x4c8),'value':_univerjs_pro_engine_chart['WaterfallStackTypeEnum'][_0x5db780(0x21a)]}];function useTranslatedOptions(_0x9929a8,_0x2f9648){const _0x2694dd=_0x5db780,{t:_0x26ae5f}=_0x9929a8;return _0x2f9648[_0x2694dd(0x20f)](_0x47b84b=>({..._0x47b84b,'label':_0x26ae5f(_0x47b84b[_0x2694dd(0x517)])}));}const RadarChartOptionsEdit=_0x56cea0=>{const _0x10befd=_0x5db780,{className:_0x236769,service:_0x466e98,localeService:_0x2ee67f}=_0x56cea0,[_0x3e42dd,_0x274b1f]=useChartConfigState(_0x10befd(0x339),_0x466e98),[_0x5e48dc,_0x5c433c]=useChartConfigState(_0x10befd(0x24d),_0x466e98),_0x1a101e=useTranslatedOptions(_0x2ee67f,radarShapeOptions);return(0x0,react_jsx_runtime[_0x10befd(0x3aa)])(_0x10befd(0x3f6),{'className':_0x236769,'children':[(0x0,react_jsx_runtime[_0x10befd(0x624)])('div',{'children':(0x0,react_jsx_runtime[_0x10befd(0x624)])(_univerjs_design[_0x10befd(0x420)],{'value':_0x3e42dd!==null&&_0x3e42dd!==void 0x0?_0x3e42dd:_univerjs_pro_engine_chart[_0x10befd(0x3fc)][_0x10befd(0x36f)]['shape'],'items':_0x1a101e,'onChange':_0x274b1f})}),(0x0,react_jsx_runtime[_0x10befd(0x624)])(_0x10befd(0x3f6),{'className':_0x10befd(0x546),'children':(0x0,react_jsx_runtime['jsx'])(_univerjs_design['Checkbox'],{'checked':!!_0x5e48dc,'onChange':_0x56ff26=>{_0x5c433c(Boolean(_0x56ff26));},'children':_0x2ee67f['t']('chart.fill')})})]});},BubbleDataEdit=_0x35f1a6=>{const _0x2fdd92=_0x5db780;var _0x297924,_0x1df84a,_0x290742;const {service:_0x15e19c,localeService:_0x52c55e}=_0x35f1a6,[_0x2dd9b3]=useChartConfigState(_0x2fdd92(0x30b),_0x15e19c),[_0x4b1f3e]=useChartConfigState(_0x2fdd92(0x5e8),_0x15e19c),[_0x56dde7]=useChartConfigState(_0x2fdd92(0x50d),_0x15e19c),[_0x4b5336,_0x7456f1]=useChartConfigState('bubbleXAxis',_0x15e19c),[_0x2aed3f,_0x2b421a]=useChartConfigState(_0x2fdd92(0x486),_0x15e19c),[_0x2f3358,_0x2796a3]=useChartConfigState('bubbleLabel',_0x15e19c),[_0x1c0ee1,_0x34a52d]=useChartConfigState(_0x2fdd92(0x1b3),_0x15e19c),_0x19128a=_0x52c55e['t'],[_0x381734,_0x536abf]=useChartConfigState(_0x2fdd92(0x2fd),_0x15e19c),_0x392281=_0x3763e9=>{_0x536abf(_0x3763e9);};return(0x0,react_jsx_runtime[_0x2fdd92(0x3aa)])(_0x2fdd92(0x3f6),{'className':_0x2fdd92(0x497),'children':[(0x0,react_jsx_runtime['jsx'])(_0x2fdd92(0x3f6),{'className':_0x2fdd92(0x4dd),'children':_0x19128a('chart.bubble.label')}),(0x0,react_jsx_runtime[_0x2fdd92(0x624)])(_univerjs_design[_0x2fdd92(0x1d8)],{'className':_0x2fdd92(0x226),'value':typeof _0x2f3358===_0x2fdd92(0x467)?String(_0x2f3358):'','options':_0x4b1f3e||[],'onChange':_0x7e4a0b=>_0x2796a3(Number(_0x7e4a0b))}),(0x0,react_jsx_runtime[_0x2fdd92(0x624)])('div',{'className':_0x2fdd92(0x4dd),'children':_0x19128a(_0x2fdd92(0x55c))}),(0x0,react_jsx_runtime[_0x2fdd92(0x624)])(_univerjs_design[_0x2fdd92(0x1d8)],{'className':_0x2fdd92(0x226),'value':_0x4b5336!==void 0x0?String(_0x4b5336):(_0x297924=(_0x56dde7||[])[0x0])===null||_0x297924===void 0x0?void 0x0:_0x297924[_0x2fdd92(0x1f4)],'options':_0x56dde7||[],'onChange':_0x78b7e3=>_0x7456f1(Number(_0x78b7e3))}),(0x0,react_jsx_runtime[_0x2fdd92(0x624)])(_0x2fdd92(0x3f6),{'className':'univer-my-2\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x19128a(_0x2fdd92(0x4ff))}),(0x0,react_jsx_runtime['jsx'])(_univerjs_design[_0x2fdd92(0x1d8)],{'className':'univer-w-full\x20!univer-min-w-0','value':_0x2aed3f!==void 0x0?String(_0x2aed3f):(_0x1df84a=(_0x56dde7||[])[0x1])===null||_0x1df84a===void 0x0?void 0x0:_0x1df84a['value'],'options':_0x56dde7,'onChange':_0xece1f4=>{_0x2b421a(Number(_0xece1f4));}}),(0x0,react_jsx_runtime[_0x2fdd92(0x624)])(_0x2fdd92(0x3f6),{'className':_0x2fdd92(0x4dd),'children':_0x19128a(_0x2fdd92(0x520))}),(0x0,react_jsx_runtime[_0x2fdd92(0x624)])(_univerjs_design['Select'],{'className':_0x2fdd92(0x226),'value':_0x1c0ee1!==void 0x0?String(_0x1c0ee1):'','options':_0x4b1f3e,'onChange':_0xa547a7=>{_0x34a52d(Number(_0xa547a7));}}),(0x0,react_jsx_runtime['jsx'])(_0x2fdd92(0x3f6),{'className':_0x2fdd92(0x4dd),'children':_0x19128a(_0x2fdd92(0x1e0))}),(0x0,react_jsx_runtime[_0x2fdd92(0x624)])(_univerjs_design['Select'],{'className':'univer-w-full\x20!univer-min-w-0','value':_0x381734?String(_0x381734):(_0x290742=(_0x56dde7||[])[0x2])===null||_0x290742===void 0x0?void 0x0:_0x290742[_0x2fdd92(0x1f4)],'options':_0x2dd9b3,'onChange':_0x4c2147=>_0x392281(Number(_0x4c2147))})]});},getUnitId=_0x29061a=>_0x29061a[_0x5db780(0x374)](_univerjs_core[_0x5db780(0x5db)][_0x5db780(0x20d)])[_0x5db780(0x468)](),getSubUnitId=_0x2b3cae=>{const _0x45c101=_0x5db780;var _0x37c5d2;return(_0x37c5d2=_0x2b3cae['getCurrentUnitOfType'](_univerjs_core['UniverInstanceType'][_0x45c101(0x20d)])['getActiveSheet']())===null||_0x37c5d2===void 0x0?void 0x0:_0x37c5d2[_0x45c101(0x505)]();},ableStackCharts=[_univerjs_pro_engine_chart[_0x5db780(0x5c6)][_0x5db780(0x3ce)],_univerjs_pro_engine_chart[_0x5db780(0x5c6)]['Bar']];function colorElement(_0x492562){const _0x540d08=_0x5db780;return(0x0,react_jsx_runtime[_0x540d08(0x624)])(react_jsx_runtime['Fragment'],{'children':_0x492562[_0x540d08(0x20f)](_0x582cc9=>{const _0x2e5275=_0x540d08;return(0x0,react_jsx_runtime[_0x2e5275(0x624)])(_0x2e5275(0x3f6),{'className':_0x2e5275(0x38d),'style':{'backgroundColor':_0x582cc9}},_0x582cc9);})});}function getThemeListOptions(_0x1e31c2,_0x464c46){const _0x3fe750=_0x5db780;return _0x1e31c2[_0x3fe750(0x20f)](_0x38229e=>({'label':(0x0,react_jsx_runtime[_0x3fe750(0x624)])(_0x3fe750(0x3f6),{'className':'univer-flex\x20univer-h-7\x20univer-w-full\x20univer-flex-row\x20univer-items-center','children':colorElement(_0x464c46[_0x3fe750(0x1e9)](_0x38229e))}),'value':_0x38229e}));}const ChartEditBlockTitle=({title:_0x199bf5})=>{const _0x4f749c=_0x5db780;return(0x0,react_jsx_runtime[_0x4f749c(0x624)])(_0x4f749c(0x3f6),{'className':'univer-mb-2\x20univer-mt-4\x20univer-text-sm\x20univer-font-medium\x20univer-text-gray-900\x20dark:!univer-text-white','children':_0x199bf5});},DataTabPanel=()=>{const _0x3cb864=_0x5db780;var _0x1acd43;const _0x105a5d=useSheetsChartUIService(),_0x55f86f=(0x0,_univerjs_ui['useDependency'])(_univerjs_core[_0x3cb864(0x556)]),_0x39302e=(0x0,_univerjs_ui[_0x3cb864(0x2a6)])(_univerjs_core[_0x3cb864(0x1c2)]),_0x535ce5=(0x0,_univerjs_ui[_0x3cb864(0x2a6)])(_univerjs_pro_engine_chart[_0x3cb864(0x5ec)]),_0x2ecffe=_0x535ce5[_0x3cb864(0x431)](),_0xc5a7fd=(0x0,_univerjs_pro_sheets_chart[_0x3cb864(0x2aa)])((0x0,_univerjs_ui[_0x3cb864(0x2a6)])(_univerjs_core[_0x3cb864(0x29c)])),_0x15a699=(0x0,react[_0x3cb864(0x3dc)])(()=>{const _0x5ead6b=_0x3cb864;return getOptionsList(chartTypeOptions[_0x5ead6b(0x4eb)](),_0xc5a7fd)[_0x5ead6b(0x20f)](_0x5420a7=>({'label':(0x0,react_jsx_runtime[_0x5ead6b(0x3aa)])(_0x5ead6b(0x3f6),{'className':_0x5ead6b(0x1df),'children':[(0x0,react_jsx_runtime['jsx'])('div',{'className':_0x5ead6b(0x269),'children':chartTypeToIcon===null||chartTypeToIcon===void 0x0?void 0x0:chartTypeToIcon[_0x5420a7[_0x5ead6b(0x1f4)]]}),(0x0,react_jsx_runtime[_0x5ead6b(0x624)])(_0x5ead6b(0x3f6),{'className':_0x5ead6b(0x2d0),'children':_0x39302e['t'](_0x5420a7[_0x5ead6b(0x517)])})]}),'value':String(_0x5420a7['value'])}));},[_0x39302e]),[_0xc4d2bd,_0xd7bff0]=(0x0,react[_0x3cb864(0x32e)])(![]);(0x0,react[_0x3cb864(0x5d3)])(()=>{const _0x1a89a5=_0x3cb864;_0x105a5d[_0x1a89a5(0x328)]=_0xc4d2bd;},[_0xc4d2bd]);const _0x9ba63a=useTranslatedOptions(_0x39302e,invalidValueOptions),_0x46833b=useTranslatedOptions(_0x39302e,stackTypeOptions),_0x4d3151=useTranslatedOptions(_0x39302e,areaLineTypeOptions),_0x2dc5f3=useTranslatedOptions(_0x39302e,waterfallStackTypeOptions),_0x23dc9e=getThemeListOptions(_0x2ecffe,_0x535ce5),_0x4320db=getUnitId(_0x55f86f),_0x22c3a4=getSubUnitId(_0x55f86f),_0x53009e=(0x0,_univerjs_ui[_0x3cb864(0x2a6)])(_univerjs_core['IContextService']),[_0x5da8b4,_0x4dd28a]=useChartConfigState(_0x3cb864(0x26b),_0x105a5d),[_0x48b76e,_0x4ce93b]=useChartConfigState(_0x3cb864(0x211),_0x105a5d),[_0x59c3b1,_0x384c5a]=useChartConfigState(_0x3cb864(0x40d),_0x105a5d),[_0x2bb1cc,_0x145da1]=useChartConfigState('categoryIndex',_0x105a5d),[_0xec58f4]=useChartConfigState(_0x3cb864(0x4b8),_0x105a5d),[_0x1bd053]=useChartConfigState(_0x3cb864(0x5e8),_0x105a5d),[_0x5e4fd1,_0x16ecd7]=useChartConfigState(_0x3cb864(0x3ff),_0x105a5d),[_0x3665fa]=useChartConfigState(_0x3cb864(0x50d),_0x105a5d),[_0x54d4ae,_0x5d1ffb]=useChartConfigState(_0x3cb864(0x1c4),_0x105a5d),[_0x38032e,_0x54fc3a]=useChartConfigState(_0x3cb864(0x459),_0x105a5d),[_0x5169a9,_0x277d60]=useChartConfigState(_0x3cb864(0x2c0),_0x105a5d),[_0x3fd3d6,_0x36f20e]=useChartConfigState(_0x3cb864(0x3c2),_0x105a5d),[_0xc13e2c,_0x59b425]=useChartConfigState(_0x3cb864(0x5f6),_0x105a5d),[_0x570fdc,_0x4b5a30]=useChartConfigState(_0x3cb864(0x303),_0x105a5d),_0x55e804=(0x0,react['useMemo'])(()=>{const _0x8e811d=_0x3cb864;if(_0x570fdc===void 0x0)return _0x5da8b4?_univerjs_pro_engine_chart[_0x8e811d(0x49c)][_0x8e811d(0x549)](_0x5da8b4,_univerjs_pro_engine_chart[_0x8e811d(0x5c6)][_0x8e811d(0x3ce)]):![];return _0x570fdc;},[_0x570fdc,_0x5da8b4]),[_0x5f21f0,_0x25f9e7]=useChartConfigState(_0x3cb864(0x4ba),_0x105a5d),[_0x2b4d37,_0x353af0]=useChartConfigState(_0x3cb864(0x60a),_0x105a5d),[_0x160031,_0x5b8dbb]=useChartConfigState('asCategory',_0x105a5d),[_0x536ab4,_0x289b5b]=useChartConfigState('funnelGap',_0x105a5d),[_0x2437ac,_0x410046]=useChartConfigState('funnelUseAbsValue',_0x105a5d),_0xdc84c0=_0x5da8b4&&ableStackCharts[_0x3cb864(0x2cd)](_0x2a7f2d=>_univerjs_pro_engine_chart[_0x3cb864(0x49c)][_0x3cb864(0x549)](_0x5da8b4,_0x2a7f2d)),_0x120664=_0x5da8b4&&[_univerjs_pro_engine_chart[_0x3cb864(0x5c6)][_0x3cb864(0x3ce)],_univerjs_pro_engine_chart[_0x3cb864(0x5c6)]['Line']][_0x3cb864(0x2cd)](_0x3e251b=>_univerjs_pro_engine_chart['chartBitsUtils'][_0x3cb864(0x549)](_0x5da8b4,_0x3e251b)),_0x3fb51d=_0x5da8b4&&[_univerjs_pro_engine_chart[_0x3cb864(0x5c6)][_0x3cb864(0x1ce)],_univerjs_pro_engine_chart[_0x3cb864(0x5c6)]['Radar'],_univerjs_pro_engine_chart[_0x3cb864(0x5c6)][_0x3cb864(0x638)],_univerjs_pro_engine_chart[_0x3cb864(0x5c6)]['Scatter']]['every'](_0x1f4aa8=>_0x1f4aa8!==_0x5da8b4),_0x5d46fa=_0xec58f4===_univerjs_pro_engine_chart[_0x3cb864(0x50f)][_0x3cb864(0x365)]||typeof _0x2bb1cc!=='number',_0x34cc3c=_0x5da8b4&&[_univerjs_pro_engine_chart[_0x3cb864(0x5c6)][_0x3cb864(0x305)],_univerjs_pro_engine_chart[_0x3cb864(0x5c6)]['Doughnut']][_0x3cb864(0x2cd)](_0x10c50a=>_0x5da8b4===_0x10c50a),_0x327fab=!_0x34cc3c||_0x34cc3c&&_0x5e4fd1&&(_0x5e4fd1===null||_0x5e4fd1===void 0x0?void 0x0:_0x5e4fd1['length'])<0x1,_0x325f34=_0x5da8b4&&_univerjs_pro_engine_chart[_0x3cb864(0x49c)][_0x3cb864(0x549)](_0x5da8b4,_univerjs_pro_engine_chart['ChartTypeBits'][_0x3cb864(0x1f5)]),_0x22ba35=_0x5da8b4&&(0x0,_univerjs_pro_engine_chart[_0x3cb864(0x594)])(_0x5da8b4),[_0x2bafbd,_0x25c408]=useChartConfigState(_0x3cb864(0x552),_0x105a5d),_0x2d9600=_0x5da8b4&&_0x5da8b4===_univerjs_pro_engine_chart['ChartTypeBits'][_0x3cb864(0x1ac)],_0x52bd55=_0x5da8b4&&_0x5da8b4===_univerjs_pro_engine_chart['ChartTypeBits'][_0x3cb864(0x641)],_0x1fc06a=_0x5da8b4&&_0x5da8b4===_univerjs_pro_engine_chart[_0x3cb864(0x5c6)][_0x3cb864(0x4df)],_0x2cafb0=_0x5da8b4&&_0x5da8b4===_univerjs_pro_engine_chart[_0x3cb864(0x5c6)][_0x3cb864(0x3ba)],_0x5a73e5=_0x5da8b4&&_univerjs_pro_engine_chart[_0x3cb864(0x49c)][_0x3cb864(0x549)](_0x5da8b4,_univerjs_pro_engine_chart[_0x3cb864(0x5c6)][_0x3cb864(0x22d)]),_0x2de61f=_0x470c7e=>{const _0x3f175c=_0x3cb864;if(_0x2bafbd)_0x25c408(_0x2bafbd[_0x3f175c(0x197)]((_0x365f2e,_0x337aa6)=>_0x337aa6!==_0x470c7e));},_0x125979=(_0x552ced,_0x4cd004)=>{const _0x5eacf=_0x3cb864;if(_0x2bafbd){_0x2bafbd[_0x552ced][_0x5eacf(0x5d4)]=_0x4cd004;const _0x2b96e3=(_0x3665fa===null||_0x3665fa===void 0x0?void 0x0:_0x3665fa[_0x4cd004][_0x5eacf(0x517)])||'';if(_0x2b96e3)_0x2bafbd[_0x552ced][_0x5eacf(0x52e)]=_0x56ef16(_0x5eacf(0x60c))+'-'+_0x56ef16(_0x5eacf(0x4ac))+'-('+_0x2b96e3+')';_0x25c408(_0x2bafbd['slice']());}},_0xa05b58=Boolean(_0x5da8b4&&_univerjs_pro_engine_chart[_0x3cb864(0x49c)][_0x3cb864(0x549)](_0x5da8b4,_univerjs_pro_engine_chart[_0x3cb864(0x5c6)]['Funnel'])),_0x14dc87=borderWidthOptions,[_0x1497e4,_0xfd9044]=(0x0,react[_0x3cb864(0x32e)])(![]),_0x31907d=(0x0,react[_0x3cb864(0x3dc)])(()=>{const _0x3071dc=_0x3cb864;return(0x0,_univerjs_core[_0x3071dc(0x4fe)])(async _0x2cc253=>{const _0x1ae922=_0x3071dc;var _0x2bc16e;if(serializeChartDataRange(_0x48b76e,_0x55f86f)===_0x2cc253)return;const {unitId:_0x33cfca,sheetName:_0x40dd30,range:_0x4a3897}=_0x2cc253[_0x1ae922(0x601)](',')[_0x1ae922(0x197)](_0x176195=>!!_0x176195)[_0x1ae922(0x20f)](_univerjs_engine_formula[_0x1ae922(0x559)])[0x0],_0x919d5=_0x33cfca||_0x4320db;_0x4ce93b({'rangeInfo':{'range':_0x4a3897,'unitId':_0x919d5,'subUnitId':((_0x2bc16e=_0x55f86f['getUnit'](_0x919d5)[_0x1ae922(0x380)](_0x40dd30))===null||_0x2bc16e===void 0x0?void 0x0:_0x2bc16e[_0x1ae922(0x505)]())||(_0x48b76e===null||_0x48b76e===void 0x0?void 0x0:_0x48b76e[_0x1ae922(0x2e0)][_0x1ae922(0x54c)])},'isRowDirection':!![]});},0x12c,{'leading':![],'maxWait':0x3e8,'trailing':!![]});},[_0x4ce93b,_0x4320db,_0x55f86f]),_0x14d83f=_0x1d9b9b=>{const _0x1bc385=_0x3cb864;if(_0x5e4fd1)_0x16ecd7(_0x5e4fd1[_0x1bc385(0x197)]((_0x4be4a8,_0x43b779)=>_0x43b779!==_0x1d9b9b));},{t:_0x56ef16}=_0x39302e,_0x5c1896=_0x5da8b4&&(_univerjs_pro_engine_chart['chartBitsUtils'][_0x3cb864(0x4a0)](_0x5da8b4,_univerjs_pro_engine_chart[_0x3cb864(0x4f4)][_0x3cb864(0x5d0)])?_univerjs_pro_engine_chart['StackType'][_0x3cb864(0x5b4)]:_univerjs_pro_engine_chart[_0x3cb864(0x49c)][_0x3cb864(0x4a0)](_0x5da8b4,_univerjs_pro_engine_chart['ChartAttributeBits'][_0x3cb864(0x368)])?_univerjs_pro_engine_chart[_0x3cb864(0x317)][_0x3cb864(0x21a)]:void 0x0),_0x5bfd3b=Boolean(_0x5da8b4&&_univerjs_pro_engine_chart[_0x3cb864(0x49c)][_0x3cb864(0x549)](_0x5da8b4,_univerjs_pro_engine_chart[_0x3cb864(0x5c6)][_0x3cb864(0x638)])),_0x2fa805=(0x0,react['useCallback'])(_0x1e38d4=>{const _0x380443=_0x3cb864;if(!_0x5da8b4)return;const _0x2ac1b5=_0x1e38d4,_0xa9491f=_univerjs_pro_engine_chart['chartBitsUtils'][_0x380443(0x307)](_0x5da8b4,_univerjs_pro_engine_chart[_0x380443(0x4f4)][_0x380443(0x5d0)]);switch(_0x2ac1b5){case _univerjs_pro_engine_chart['StackType'][_0x380443(0x21a)]:_0x4dd28a(_0xa9491f|_univerjs_pro_engine_chart[_0x380443(0x4f4)][_0x380443(0x368)]);break;case _univerjs_pro_engine_chart[_0x380443(0x317)][_0x380443(0x5b4)]:_0x4dd28a(_0xa9491f|_univerjs_pro_engine_chart[_0x380443(0x4f4)][_0x380443(0x5d0)]);break;default:_0x4dd28a(_0xa9491f);break;}},[_0x5da8b4]);return(0x0,react_jsx_runtime[_0x3cb864(0x3aa)])(_0x3cb864(0x3f6),{'children':[(0x0,react_jsx_runtime[_0x3cb864(0x3aa)])(_0x3cb864(0x3f6),{'children':[(0x0,react_jsx_runtime[_0x3cb864(0x624)])(ChartEditBlockTitle,{'title':_0x56ef16(_0x3cb864(0x543))}),(0x0,react_jsx_runtime[_0x3cb864(0x624)])(_univerjs_design[_0x3cb864(0x1d8)],{'className':'univer-w-full\x20!univer-min-w-0','value':_0x5da8b4?String(_0x5da8b4):'','options':_0x15a699,'onChange':_0x2da7bc=>_0x4dd28a(Number(_0x2da7bc))})]}),_0x5da8b4&&(_univerjs_pro_engine_chart[_0x3cb864(0x49c)][_0x3cb864(0x549)](_0x5da8b4,_univerjs_pro_engine_chart[_0x3cb864(0x5c6)][_0x3cb864(0x3ce)])||_univerjs_pro_engine_chart[_0x3cb864(0x49c)][_0x3cb864(0x549)](_0x5da8b4,_univerjs_pro_engine_chart[_0x3cb864(0x5c6)][_0x3cb864(0x1ce)]))&&(0x0,react_jsx_runtime['jsx'])(_univerjs_design[_0x3cb864(0x420)],{'items':_0x4d3151,'className':_0x3cb864(0x546),'value':_0x59c3b1!==null&&_0x59c3b1!==void 0x0?_0x59c3b1:_univerjs_pro_engine_chart[_0x3cb864(0x3fc)]['area']['lineStyle'],'onChange':_0x384c5a}),_0x5da8b4===_univerjs_pro_engine_chart[_0x3cb864(0x5c6)]['Radar']&&(0x0,react_jsx_runtime['jsx'])(RadarChartOptionsEdit,{'localeService':_0x39302e,'service':_0x105a5d,'className':_0x3cb864(0x546)}),(0x0,react_jsx_runtime['jsxs'])(_0x3cb864(0x3f6),{'children':[(0x0,react_jsx_runtime[_0x3cb864(0x624)])(ChartEditBlockTitle,{'title':_0x56ef16(_0x3cb864(0x4c6))}),(0x0,react_jsx_runtime[_0x3cb864(0x624)])(_univerjs_design[_0x3cb864(0x1d8)],{'className':_0x3cb864(0x226),'value':_0xc13e2c?String(_0xc13e2c):'','options':_0x23dc9e,'onChange':_0x507689=>{_0x59b425(_0x507689);}})]}),_0x325f34&&(0x0,react_jsx_runtime[_0x3cb864(0x3aa)])(react_jsx_runtime[_0x3cb864(0x263)],{'children':[(0x0,react_jsx_runtime['jsx'])(ChartEditBlockTitle,{'title':_0x56ef16(_0x3cb864(0x4d3))}),(0x0,react_jsx_runtime[_0x3cb864(0x624)])(_univerjs_design[_0x3cb864(0x1d8)],{'className':_0x3cb864(0x226),'value':_0x54d4ae!==null&&_0x54d4ae!==void 0x0?_0x54d4ae:_univerjs_pro_engine_chart[_0x3cb864(0x3fc)][_0x3cb864(0x5e2)]['stackType'],'options':_0x2dc5f3,'onChange':_0x1f4663=>{_0x5d1ffb(_0x1f4663);}}),(0x0,react_jsx_runtime[_0x3cb864(0x624)])('div',{'className':_0x3cb864(0x5c7),'children':(0x0,react_jsx_runtime['jsx'])(_univerjs_design[_0x3cb864(0x1a0)],{'checked':_0x38032e!==null&&_0x38032e!==void 0x0?_0x38032e:_univerjs_pro_engine_chart['defaultChartConfig'][_0x3cb864(0x5e2)]['useSubtotal'],'onChange':_0x21714d=>_0x54fc3a(Boolean(_0x21714d)),'children':_0x56ef16(_0x3cb864(0x49a))})})]}),_0x3fb51d&&!_0x5bfd3b&&!_0xa05b58&&!_0x2d9600&&!_0x52bd55&&!_0x1fc06a&&!_0x2cafb0&&(0x0,react_jsx_runtime[_0x3cb864(0x624)])(_0x3cb864(0x3f6),{'className':'univer-mt-2\x20univer-text-sm\x20univer-leading-4\x20univer-text-gray-900\x20dark:!univer-text-white','children':(0x0,react_jsx_runtime[_0x3cb864(0x624)])(_univerjs_design['Checkbox'],{'checked':!!_0x55e804,'onChange':_0x39352e=>_0x4b5a30(Boolean(_0x39352e)),'children':_0x56ef16(_0x3cb864(0x3f2))})}),_0xa05b58&&(0x0,react_jsx_runtime[_0x3cb864(0x3aa)])(_0x3cb864(0x3f6),{'className':_0x3cb864(0x5de),'children':[(0x0,react_jsx_runtime['jsx'])(ChartEditBlockTitle,{'title':_0x56ef16('chart.styleEditPanel.gap')}),(0x0,react_jsx_runtime[_0x3cb864(0x624)])(_univerjs_design[_0x3cb864(0x1d8)],{'className':_0x3cb864(0x226),'value':String(_0x536ab4!==null&&_0x536ab4!==void 0x0?_0x536ab4:_univerjs_pro_engine_chart['defaultChartConfig'][_0x3cb864(0x5fa)][_0x3cb864(0x25d)]),'options':_0x14dc87,'onChange':_0x420ffa=>_0x289b5b(Number(_0x420ffa))}),(0x0,react_jsx_runtime[_0x3cb864(0x624)])(_0x3cb864(0x3f6),{'className':_0x3cb864(0x3d8),'children':(0x0,react_jsx_runtime[_0x3cb864(0x624)])(_univerjs_design['Checkbox'],{'checked':_0x2437ac!==null&&_0x2437ac!==void 0x0?_0x2437ac:![],'onChange':_0xc264c=>{_0x410046(Boolean(_0xc264c));},'children':_0x56ef16('chart.styleEditPanel.useAbsValue')})})]}),_0xdc84c0&&(0x0,react_jsx_runtime[_0x3cb864(0x3aa)])(_0x3cb864(0x3f6),{'children':[(0x0,react_jsx_runtime[_0x3cb864(0x624)])(ChartEditBlockTitle,{'title':_0x56ef16(_0x3cb864(0x342))}),(0x0,react_jsx_runtime['jsx'])(_univerjs_design['Select'],{'className':_0x3cb864(0x226),'value':_0x5c1896||'','options':_0x46833b,'onChange':_0x2fa805})]}),(0x0,react_jsx_runtime[_0x3cb864(0x3aa)])(_0x3cb864(0x3f6),{'children':[(0x0,react_jsx_runtime[_0x3cb864(0x624)])(ChartEditBlockTitle,{'title':_0x56ef16(_0x3cb864(0x3fd))}),(0x0,react_jsx_runtime[_0x3cb864(0x624)])(_univerjs_sheets_formula_ui[_0x3cb864(0x227)],{'supportAcrossSheet':!![],'keepSheetReference':!![],'maxRangeCount':0x1,'unitId':_0x4320db,'subUnitId':_0x22c3a4,'initialValue':_0x48b76e?serializeChartDataRange(_0x48b76e,_0x55f86f):'','onChange':(_0x1ab55d,_0x533edf)=>_0x31907d(_0x533edf),'onFocusChange':_0x2775c6=>{if(_0x1497e4)return;_0xd7bff0(_0x2775c6);},'onRangeSelectorDialogVisibleChange':_0x3cbd2b=>{if(_0x3cbd2b)_0xfd9044(!![]),_0xd7bff0(!![]);else _0xfd9044(![]);}})]}),!_0x5a73e5&&!_0x2d9600&&!_0x52bd55&&!_0x1fc06a&&!_0x2cafb0&&(0x0,react_jsx_runtime[_0x3cb864(0x3aa)])(_0x3cb864(0x3f6),{'children':[(0x0,react_jsx_runtime[_0x3cb864(0x624)])(ChartEditBlockTitle,{'title':_0x56ef16(_0x3cb864(0x367))}),(0x0,react_jsx_runtime[_0x3cb864(0x624)])(_univerjs_design[_0x3cb864(0x1d8)],{'className':'univer-w-full\x20!univer-min-w-0','value':typeof _0x2bb1cc===_0x3cb864(0x467)?String(_0x2bb1cc):'','options':_0x1bd053||[],'onChange':_0x2db4a4=>_0x145da1(Number(_0x2db4a4))})]}),(0x0,react_jsx_runtime[_0x3cb864(0x3aa)])(_0x3cb864(0x3f6),{'children':[!_0x5a73e5&&!_0x2d9600&&!_0x52bd55&&!_0x1fc06a&&!_0x2cafb0&&(0x0,react_jsx_runtime[_0x3cb864(0x3aa)])(react_jsx_runtime[_0x3cb864(0x263)],{'children':[(0x0,react_jsx_runtime[_0x3cb864(0x624)])(ChartEditBlockTitle,{'title':_0x56ef16(_0x3cb864(0x520))}),(0x0,react_jsx_runtime['jsxs'])(_0x3cb864(0x3f6),{'className':'univer-mt-2','children':[_0x5e4fd1===null||_0x5e4fd1===void 0x0?void 0x0:_0x5e4fd1[_0x3cb864(0x20f)]((_0x124a48,_0x293fb7)=>{const _0x51bbd8=_0x3cb864;return(0x0,react_jsx_runtime['jsxs'])(_0x51bbd8(0x3f6),{'className':_0x51bbd8(0x2b2),'children':[(0x0,react_jsx_runtime[_0x51bbd8(0x624)])(_univerjs_design[_0x51bbd8(0x1d8)],{'className':_0x51bbd8(0x226),'value':String(_0x124a48),'options':_0x3665fa,'onChange':_0x4922a1=>{const _0x397250=_0x51bbd8;_0x5e4fd1[_0x293fb7]=Number(_0x4922a1),_0x16ecd7(_0x5e4fd1[_0x397250(0x4e3)]());}}),(0x0,react_jsx_runtime[_0x51bbd8(0x624)])(_0x51bbd8(0x3f6),{'className':_0x51bbd8(0x540),'onClick':()=>_0x14d83f(_0x293fb7),'children':(0x0,react_jsx_runtime['jsx'])(_univerjs_icons[_0x51bbd8(0x471)],{})})]},_0x293fb7);}),_0x327fab&&_0x3665fa&&!_0x52bd55&&!_0x1fc06a&&!_0x2cafb0&&(0x0,react_jsx_runtime['jsx'])(_univerjs_design[_0x3cb864(0x363)],{'className':'univer-w-[--radix-popper-anchor-width]','items':_0x3665fa[_0x3cb864(0x20f)](_0x38cd47=>({'type':_0x3cb864(0x3fa),'children':_0x38cd47[_0x3cb864(0x517)],'onSelect':()=>{const _0x2b9646=_0x3cb864;_0x16ecd7([..._0x5e4fd1||[],Number(_0x38cd47[_0x2b9646(0x1f4)])]);}})),'children':(0x0,react_jsx_runtime[_0x3cb864(0x3aa)])('a',{'className':_0x3cb864(0x46a),'children':[(0x0,react_jsx_runtime[_0x3cb864(0x624)])(_univerjs_icons['IncreaseIcon'],{'className':_0x3cb864(0x2e3)}),(0x0,react_jsx_runtime[_0x3cb864(0x624)])(_0x3cb864(0x2c2),{'className':'univer-margin-left-[1.5px]\x20univer-font-weight-500\x20univer-text-xs','children':_0x56ef16(_0x3cb864(0x1c6))})]})})]})]}),_0x22ba35&&!_0x5a73e5&&!_0x2d9600&&!_0x52bd55&&!_0x1fc06a&&!_0x2cafb0&&(0x0,react_jsx_runtime['jsxs'])(react_jsx_runtime['Fragment'],{'children':[(0x0,react_jsx_runtime[_0x3cb864(0x624)])(ChartEditBlockTitle,{'title':_0x56ef16(_0x3cb864(0x4ac))}),(0x0,react_jsx_runtime[_0x3cb864(0x3aa)])(_0x3cb864(0x3f6),{'className':'univer-mt-2','children':[_0x2bafbd===null||_0x2bafbd===void 0x0?void 0x0:_0x2bafbd[_0x3cb864(0x20f)]((_0x4e5e7c,_0x40efac)=>{const _0x911263=_0x3cb864;return(0x0,react_jsx_runtime['jsxs'])('div',{'className':_0x911263(0x2b2),'children':[(0x0,react_jsx_runtime['jsx'])(_univerjs_design[_0x911263(0x1d8)],{'className':_0x911263(0x226),'value':String(_0x4e5e7c[_0x911263(0x52e)]),'options':_0x3665fa,'onChange':_0xdc0adc=>{_0x125979(_0x40efac,Number(_0xdc0adc)-0x1);}}),(0x0,react_jsx_runtime[_0x911263(0x624)])(_0x911263(0x3f6),{'className':_0x911263(0x540),'onClick':()=>_0x2de61f(_0x40efac),'children':(0x0,react_jsx_runtime[_0x911263(0x624)])(_univerjs_icons[_0x911263(0x471)],{})})]},_0x40efac);}),_0x22ba35&&_0x3665fa&&(0x0,react_jsx_runtime[_0x3cb864(0x624)])(_univerjs_design[_0x3cb864(0x363)],{'className':'univer-w-[--radix-popper-anchor-width]','items':_0x3665fa[_0x3cb864(0x20f)](_0xc4b567=>({'type':_0x3cb864(0x3fa),'children':_0xc4b567[_0x3cb864(0x517)],'onSelect':()=>{const _0x2baed2=_0x3cb864,_0x1ab2bf={'seriesIndex':Number(_0xc4b567[_0x2baed2(0x1f4)])-0x1,'type':_univerjs_pro_engine_chart[_0x2baed2(0x489)][_0x2baed2(0x2d2)],'name':_0x56ef16('chart.trendline.linear')+'-'+_0x56ef16(_0x2baed2(0x4ac))+'-('+_0xc4b567[_0x2baed2(0x517)]+')'};_0x25c408([..._0x2bafbd||[],_0x1ab2bf]);}})),'children':(0x0,react_jsx_runtime['jsxs'])('a',{'className':_0x3cb864(0x46a),'children':[(0x0,react_jsx_runtime[_0x3cb864(0x624)])(_univerjs_icons['IncreaseIcon'],{'className':_0x3cb864(0x2e3)}),(0x0,react_jsx_runtime[_0x3cb864(0x624)])('span',{'className':_0x3cb864(0x3f7),'children':_0x56ef16(_0x3cb864(0x3a8))})]})})]})]}),_0x1fc06a&&(0x0,react_jsx_runtime[_0x3cb864(0x3aa)])(_0x3cb864(0x3f6),{'className':_0x3cb864(0x546),'children':[(0x0,react_jsx_runtime[_0x3cb864(0x624)])(ChartEditBlockTitle,{'title':_0x56ef16(_0x3cb864(0x52f))}),(0x0,react_jsx_runtime[_0x3cb864(0x3aa)])(_0x3cb864(0x3f6),{'className':_0x3cb864(0x5de),'children':[(0x0,react_jsx_runtime[_0x3cb864(0x624)])(_0x3cb864(0x3f6),{'className':_0x3cb864(0x27b),'children':_0x56ef16(_0x3cb864(0x47e))}),(0x0,react_jsx_runtime[_0x3cb864(0x624)])(_univerjs_design[_0x3cb864(0x537)],{'value':_0x5169a9!==null&&_0x5169a9!==void 0x0?_0x5169a9:void 0x0,'onChange':_0x157214=>{const _0x298675=_0x3cb864;_0x53009e[_0x298675(0x40f)](_univerjs_core[_0x298675(0x28e)],![]),_0x277d60(Number['isNaN'](_0x157214)?null:Number(_0x157214));},'onFocus':()=>_0x53009e[_0x3cb864(0x40f)](_univerjs_core[_0x3cb864(0x28e)],!![]),'onBlur':_0x41ee60=>{const _0x2d80bc=_0x3cb864;_0x53009e['setContextValue'](_univerjs_core[_0x2d80bc(0x28e)],![]);const _0x3610ea=_0x41ee60[_0x2d80bc(0x449)][_0x2d80bc(0x1f4)];_0x277d60(_0x3610ea===''?null:Number(_0x3610ea));},'onPressEnter':_0x17b329=>{const _0xd3f967=_0x3cb864,_0x27a00c=_0x17b329[_0xd3f967(0x449)][_0xd3f967(0x1f4)];_0x277d60(_0x27a00c===''?null:Number(_0x27a00c));}})]}),(0x0,react_jsx_runtime[_0x3cb864(0x3aa)])(_0x3cb864(0x3f6),{'className':_0x3cb864(0x293),'children':[(0x0,react_jsx_runtime[_0x3cb864(0x624)])('div',{'className':'univer-mb-2\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x56ef16(_0x3cb864(0x5d1))}),(0x0,react_jsx_runtime[_0x3cb864(0x624)])(_univerjs_design[_0x3cb864(0x537)],{'value':_0x3fd3d6!==null&&_0x3fd3d6!==void 0x0?_0x3fd3d6:void 0x0,'onChange':_0x3aa0ae=>{const _0x1a6571=_0x3cb864;_0x53009e[_0x1a6571(0x40f)](_univerjs_core['FOCUSING_PANEL_EDITOR'],![]),_0x36f20e(Number['isNaN'](_0x3aa0ae)?null:Number(_0x3aa0ae));},'onFocus':()=>_0x53009e['setContextValue'](_univerjs_core[_0x3cb864(0x28e)],!![]),'onBlur':_0x391bf8=>{const _0x251d22=_0x3cb864;_0x53009e[_0x251d22(0x40f)](_univerjs_core[_0x251d22(0x28e)],![]);const _0x322cea=_0x391bf8[_0x251d22(0x449)][_0x251d22(0x1f4)];_0x36f20e(_0x322cea===''?null:Number(_0x322cea));},'onPressEnter':_0x1c61c9=>{const _0x24b221=_0x3cb864,_0xdc2ecc=_0x1c61c9[_0x24b221(0x449)][_0x24b221(0x1f4)];_0x36f20e(_0xdc2ecc===''?null:Number(_0xdc2ecc));}})]})]}),_0x5a73e5&&(0x0,react_jsx_runtime['jsx'])(BubbleDataEdit,{'service':_0x105a5d,'localeService':_0x39302e}),!_0x2d9600&&!_0x52bd55&&!_0x1fc06a&&!_0x2cafb0&&(0x0,react_jsx_runtime[_0x3cb864(0x624)])(_0x3cb864(0x3f6),{'className':_0x3cb864(0x3d8),'children':(0x0,react_jsx_runtime[_0x3cb864(0x624)])(_univerjs_design['Button'],{'className':'','size':_0x3cb864(0x53c),'onClick':()=>{const _0xb1ed55=_0x3cb864;_0x25f9e7(_0x5f21f0===_univerjs_pro_engine_chart['DataOrientation'][_0xb1ed55(0x3d9)]?_univerjs_pro_engine_chart[_0xb1ed55(0x3e3)][_0xb1ed55(0x3cf)]:_univerjs_pro_engine_chart[_0xb1ed55(0x3e3)][_0xb1ed55(0x3d9)]);},'children':_0x56ef16('chart.settingsLabels.switchToRowOrColumn')})}),_0x5d46fa&&(0x0,react_jsx_runtime[_0x3cb864(0x624)])(_0x3cb864(0x3f6),{'className':_0x3cb864(0x3d8),'children':(0x0,react_jsx_runtime['jsx'])(_univerjs_design[_0x3cb864(0x1a0)],{'checked':_0x160031,'onChange':_0x245575=>{_0x5b8dbb(!!_0x245575);},'children':_0x56ef16('chart.settingsLabels.useAsCategoryLabels',(_0x5f21f0||'')+'\x20'+(((_0x1acd43=_0x5f21f0===_univerjs_pro_engine_chart[_0x3cb864(0x3e3)][_0x3cb864(0x3d9)]?_0x48b76e===null||_0x48b76e===void 0x0?void 0x0:_0x48b76e[_0x3cb864(0x2e0)][_0x3cb864(0x4d8)][_0x3cb864(0x304)]:_0x48b76e===null||_0x48b76e===void 0x0?void 0x0:_0x48b76e[_0x3cb864(0x2e0)][_0x3cb864(0x4d8)]['startColumn'])!==null&&_0x1acd43!==void 0x0?_0x1acd43:0x0)+0x1))})})]}),_0x120664&&(0x0,react_jsx_runtime[_0x3cb864(0x3aa)])(_0x3cb864(0x3f6),{'children':[(0x0,react_jsx_runtime[_0x3cb864(0x624)])(ChartEditBlockTitle,{'title':_0x56ef16('chart.settingsLabels.showEmptyCellsAs')}),(0x0,react_jsx_runtime['jsx'])('div',{'className':_0x3cb864(0x546),'children':(0x0,react_jsx_runtime[_0x3cb864(0x624)])(_univerjs_design[_0x3cb864(0x455)],{'value':_0x2b4d37!==null&&_0x2b4d37!==void 0x0?_0x2b4d37:_univerjs_pro_engine_chart['defaultChartConfig'][_0x3cb864(0x60a)],'onChange':_0x4f6b9c=>_0x353af0(_0x4f6b9c),'className':'univer-flex\x20univer-flex-col\x20univer-gap-2.5','children':_0x9ba63a[_0x3cb864(0x20f)](_0x54e7a8=>(0x0,react_jsx_runtime[_0x3cb864(0x624)])(_univerjs_design[_0x3cb864(0x2f0)],{'value':_0x54e7a8[_0x3cb864(0x1f4)],'children':_0x54e7a8[_0x3cb864(0x517)]},_0x54e7a8[_0x3cb864(0x1f4)]))})})]})]});},ColorPickerControl=_0x5818cb=>{const _0x32fcfa=_0x5db780,{color:_0x1d4b3f,onChange:_0x27c265}=_0x5818cb,[_0x138bc6,_0x57c717]=(0x0,react[_0x32fcfa(0x32e)])(![]),_0x168cd5=(0x0,_univerjs_ui['useDependency'])(_univerjs_core['LocaleService']),_0x58f97a=_0x1d4b3f==='transparent'||_0x1d4b3f==null,_0x4ce706=(0x0,react[_0x32fcfa(0x510)])(_0x480677=>{_0x27c265===null||_0x27c265===void 0x0||_0x27c265(_0x480677),_0x57c717(![]);},[_0x27c265]);return(0x0,react_jsx_runtime[_0x32fcfa(0x624)])(_univerjs_design[_0x32fcfa(0x43b)],{'overlay':(0x0,react_jsx_runtime['jsxs'])(_0x32fcfa(0x3f6),{'className':_0x32fcfa(0x45e),'children':[(0x0,react_jsx_runtime[_0x32fcfa(0x624)])(_univerjs_design['Button'],{'className':_0x32fcfa(0x62b),'onClick':()=>_0x4ce706(null),'children':_0x168cd5['t'](_0x32fcfa(0x4f5))}),(0x0,react_jsx_runtime[_0x32fcfa(0x624)])(_univerjs_design[_0x32fcfa(0x1c5)],{'value':_0x58f97a?_0x32fcfa(0x26c):_0x1d4b3f,'onChange':_0x4ce706})]}),'open':_0x138bc6,'onOpenChange':_0x57c717,'children':(0x0,react_jsx_runtime[_0x32fcfa(0x624)])(_univerjs_design[_0x32fcfa(0x469)],{'className':_0x32fcfa(0x2dc),'children':(0x0,react_jsx_runtime[_0x32fcfa(0x3aa)])(_0x32fcfa(0x3f6),{'className':_0x32fcfa(0x3ad),'children':[_0x58f97a?(0x0,react_jsx_runtime['jsx'])(_0x32fcfa(0x3f6),{'className':_0x32fcfa(0x5a7),'children':_0x168cd5['t'](_0x32fcfa(0x59b))}):(0x0,react_jsx_runtime[_0x32fcfa(0x624)])(_0x32fcfa(0x3f6),{'className':(0x0,_univerjs_design[_0x32fcfa(0x593)])(_0x32fcfa(0x37d),_univerjs_design[_0x32fcfa(0x24e)]),'style':{'backgroundColor':_0x1d4b3f}}),(0x0,react_jsx_runtime[_0x32fcfa(0x624)])(_univerjs_icons['MoreDownIcon'],{'className':(0x0,_univerjs_design['clsx'])(_0x32fcfa(0x278),{'univer-rotate-180':_0x138bc6})})]})})});},DropdownSelector=_0x1ab364=>{const _0x2214bf=_0x5db780,{value:_0x2ffca6,menus:_0x1e7014,onSelect:_0x28c177,children:_0x8678b4}=_0x1ab364,[_0x134a49,_0x1e7206]=(0x0,react[_0x2214bf(0x32e)])(![]);return(0x0,react_jsx_runtime['jsx'])(_univerjs_design[_0x2214bf(0x363)],{'items':[{'type':_0x2214bf(0x558),'value':_0x2ffca6[_0x2214bf(0x1cb)](),'options':_0x1e7014,'onSelect':_0x38c773=>_0x28c177===null||_0x28c177===void 0x0?void 0x0:_0x28c177(_0x38c773)}],'open':_0x134a49,'onOpenChange':_0x1e7206,'children':typeof _0x8678b4==='function'?_0x8678b4(_0x134a49):_0x8678b4});},FontFormatBar=_0x74e78=>{const _0x58d2da=_0x5db780;var _0x1cfd7;const {localeService:_0xcc3e99,className:_0x1ffd86,fontSize:fontSize=_univerjs_pro_engine_chart[_0x58d2da(0x3fc)][_0x58d2da(0x448)][_0x58d2da(0x454)],color:_0x160dab,bold:_0x130dd9,italic:_0x302a37,align:_0x50ef00,alignControl:alignControl=![],onChange:_0x21fdbd}=_0x74e78,_0x3ba5d1=useTranslatedOptions(_0xcc3e99,textAlignOptions),[_0x433dfe,_0x5ab615]=(0x0,react[_0x58d2da(0x32e)])(![]);return(0x0,react_jsx_runtime['jsxs'])(_0x58d2da(0x3f6),{'className':(0x0,_univerjs_design[_0x58d2da(0x593)])(_0x58d2da(0x541),_univerjs_design[_0x58d2da(0x24e)],_0x1ffd86),'children':[(0x0,react_jsx_runtime[_0x58d2da(0x624)])(DropdownSelector,{'value':fontSize[_0x58d2da(0x1cb)](),'menus':fontSizeOptions['map'](_0x57ae78=>({..._0x57ae78})),'onSelect':_0x2db53a=>_0x21fdbd===null||_0x21fdbd===void 0x0?void 0x0:_0x21fdbd(_0x58d2da(0x35b),Number(_0x2db53a)),'children':_0x1fcc03=>(0x0,react_jsx_runtime[_0x58d2da(0x3aa)])(_0x58d2da(0x3f6),{'className':_0x58d2da(0x1a5),'children':[(0x0,react_jsx_runtime[_0x58d2da(0x624)])(_0x58d2da(0x2c2),{'children':fontSize}),(0x0,react_jsx_runtime[_0x58d2da(0x624)])(_univerjs_icons[_0x58d2da(0x229)],{'className':(0x0,_univerjs_design['clsx'])(_0x58d2da(0x210),{'univer-rotate-180':_0x1fcc03})})]})}),(0x0,react_jsx_runtime['jsx'])(_univerjs_design[_0x58d2da(0x43b)],{'overlay':(0x0,react_jsx_runtime[_0x58d2da(0x624)])(_0x58d2da(0x3f6),{'className':_0x58d2da(0x415),'children':(0x0,react_jsx_runtime[_0x58d2da(0x624)])(_univerjs_design[_0x58d2da(0x1c5)],{'value':_0x160dab,'onChange':_0x44995e=>_0x21fdbd===null||_0x21fdbd===void 0x0?void 0x0:_0x21fdbd(_0x58d2da(0x1e1),_0x44995e)})}),'open':_0x433dfe,'onOpenChange':_0x5ab615,'children':(0x0,react_jsx_runtime[_0x58d2da(0x3aa)])('div',{'className':_0x58d2da(0x422),'children':[(0x0,react_jsx_runtime[_0x58d2da(0x624)])(_univerjs_icons[_0x58d2da(0x268)],{'className':'univer-text-base','extend':{'colorChannel1':_0x160dab!==null&&_0x160dab!==void 0x0?_0x160dab:_univerjs_pro_engine_chart[_0x58d2da(0x3fc)]['textStyle'][_0x58d2da(0x1e1)]}}),(0x0,react_jsx_runtime[_0x58d2da(0x624)])(_univerjs_icons[_0x58d2da(0x229)],{'className':(0x0,_univerjs_design[_0x58d2da(0x593)])('univer-ml-1\x20univer-transition-transform\x20univer-duration-300',{'univer-rotate-180':_0x433dfe})})]})}),alignControl&&(0x0,react_jsx_runtime[_0x58d2da(0x624)])(DropdownSelector,{'value':(_0x1cfd7=_0x50ef00===null||_0x50ef00===void 0x0?void 0x0:_0x50ef00['toString']())!==null&&_0x1cfd7!==void 0x0?_0x1cfd7:'','menus':_0x3ba5d1['map'](_0x276925=>({..._0x276925})),'onSelect':_0x1a92af=>_0x21fdbd===null||_0x21fdbd===void 0x0?void 0x0:_0x21fdbd(_0x58d2da(0x4e5),_0x1a92af),'children':(0x0,react_jsx_runtime['jsx'])(_0x58d2da(0x3f6),{'className':_0x58d2da(0x61c),'children':(0x0,react_jsx_runtime[_0x58d2da(0x624)])(_univerjs_icons[_0x58d2da(0x4c0)],{})})}),(0x0,react_jsx_runtime[_0x58d2da(0x624)])(_0x58d2da(0x3f6),{'onClick':()=>_0x21fdbd===null||_0x21fdbd===void 0x0?void 0x0:_0x21fdbd(_0x58d2da(0x2c5),!_0x130dd9),'className':(0x0,_univerjs_design[_0x58d2da(0x593)])(_0x58d2da(0x61c),{'univer-bg-gray-50\x20univer-text-primary-600':_0x130dd9}),'children':(0x0,react_jsx_runtime['jsx'])(_univerjs_icons[_0x58d2da(0x41e)],{})}),(0x0,react_jsx_runtime[_0x58d2da(0x624)])(_0x58d2da(0x3f6),{'onClick':()=>_0x21fdbd===null||_0x21fdbd===void 0x0?void 0x0:_0x21fdbd(_0x58d2da(0x5d8),!_0x302a37),'className':(0x0,_univerjs_design[_0x58d2da(0x593)])('univer-leading-1\x20univer-cursor-pointer\x20univer-rounded-sm\x20univer-px-1.5\x20univer-py-1',{'univer-bg-gray-50\x20univer-text-primary-600':_0x302a37}),'children':(0x0,react_jsx_runtime[_0x58d2da(0x624)])(_univerjs_icons[_0x58d2da(0x462)],{})})]});};function isValidNumber(_0x14a5ac){const _0x1b0f77=_0x5db780;return!Number[_0x1b0f77(0x228)](_0x14a5ac)&&Number[_0x1b0f77(0x3df)](_0x14a5ac);}function _0x3cbb(){const _0xb3f7c4=['clsx','chartTypeCanUseTrendLine','stackType','chart.withOpacity','yAxisTitle','chart.shape.none','REMOVE','chartTypes.sankey','chart.default','rotationStep','tick','chart.withThickness','tagName','chart.axes.rightVerticalAxis','_renderManagerService','rotate','univer-flex\x20univer-items-center','A/P\x20h:mm','-1,234.56','registerRenderModel','univer-truncate\x20univer-text-sm\x20univer-leading-tight\x20univer-text-gray-900\x20dark:!univer-text-white','_sheetPermissionCheckController','Scatter','hidePanel','Zero','lineWidth','_chartInstanceMap','endRow','textContent','left','showFormula','addClipboardHook','PolynomialIcon','Percent','MessageType','SelectList','chart.styleEditPanel.showAxisLine','univer-mt-1.5\x20univer-text-sm\x20univer-leading-5\x20univer-text-gray-600\x20dark:!univer-text-gray-200','textStyle.fontSize','chart.shape.triangle','getFormatInfo','bubbleLabel','children','pieBorderColor','removeViewState','chart.withFormat','layoutInstance','univer-mb-2\x20univer-text-sm\x20univer-text-gray-600','find','TextVerticalAlign','bubbleXAxis','ChartTypeBits','univer-mt-2\x20univer-text-sm\x20univer-leading-4\x20univer-text-gray-900\x20dark:!univer-text-white','50%\x2040%','msClearImmediate','dispatchEvent','chart.trendline.showR2','add','add$','@univerjs-pro/sheets-chart-ui','indicatorLabelTextColor','PercentStack','chart.max','Disposable','useEffect','seriesIndex','triangle-upright','RelationChartLayoutEnum','_model','italic','getTransformerByCreate','next','UniverInstanceType','default','ColumnStacked','univer-flex\x20univer-flex-1\x20univer-flex-col\x20univer-justify-between','getImageData','tooltip','keepAspect','waterfall','chart.point','univer-box-border\x20univer-h-8','_localeService','circle','initData','categoryList','startColumn','bottom','period','ChartThemeService','AreaStacked','absolute','getHostSize','getMenuHiddenObservable','updateFloatDomProps','r2Color','onRendered','chart.waterfall.subtotal','chart.gridlines.text','chartThemeColorType','asObservable','indicatorLineType','Multiple','funnel','permission.dialog.editErr','WorkbookEditablePermission','ensureHost','chart.shape.emptyRoundRect','univer-mb-4\x20univer-text-sm\x20univer-font-medium\x20univer-text-gray-900\x20dark:!univer-text-white','PieLabelPosition','split','chart.shape.emptyPin','univer-mb-2\x20univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','random-dark','#,##0_);(#,##0)','openChartPanelById','toFixed','80%','Link','invalidValueType','fillTextHeight','chart.trendline.linear','focused$','bubbleCategoryList','pareto','title','getItemVisual','BarChartIcon','fillTextOffsetY','LinePointShape','ColumnPercentStacked','getLayoutRect','_componentManager','disposeWithMe','chart.relation.auto','_renderDebounceMap','titles','univer-leading-1\x20univer-cursor-pointer\x20univer-rounded-sm\x20univer-px-1.5\x20univer-py-1','chart.ticks.tickLength','\x22*\x20#,##0','classes','下午01:30','getViewState','string','clientY','jsx','chart.align.right','_ensureChartInstance','touchstart','section','chart.shape.emptyArrow','univer-text-gray-500','univer-w-full','sheet.numfmt.general','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','entries','origin','attributes','chartTypes.column','chart.addDataPoint','_initSheetChange','_sheetSkeletonService','activeChartModel$','chart.styleEditPanel.useDateAxis','chart.trendline.trendlineDashType','WordCloud','EmptyDiamond','_currentModel','chart.relation.forceOptions','_sheetsChartService','chart.host.provider','delete','setAttribute','getFloatDomInfo','Sankey','paretoDataPointsOptions','chart.setupChart','chartTypes.barPercentStacked','extendSeriesModel','univer-flex\x20univer-items-center\x20univer-justify-between','chart.seriesDefaultName','AreaPercentStacked','_generateCutPasteMutations','chart.msg.invalidSource','filter','univer-flex-1','sqrt','chart.customChart','setStyle','chart.titles.title','dialog.numfmt.formatTypes','includes','gridSize','Checkbox','indicatorLineColor','all','chart.border','lineStyle','univer-leading-1\x20univer-flex\x20univer-cursor-pointer\x20univer-items-center\x20univer-gap-1\x20univer-rounded-sm\x20univer-px-1.5\x20univer-py-1','_sheetCanvasPopManagerService','chartTypes.areaStacked','chart.indicatorLineType','easing','univer-mb-2\x20univer-flex\x20univer-justify-between\x20univer-gap-2\x20univer-p-0','INSERT','Relation','paretoStyle','chartId','context$','shrinkToFit','numfmt','univer-px-4\x20univer-pb-2.5\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','bubbleSeries','univer-mb-2\x20univer-flex\x20univer-flex-1\x20univer-flex-col\x20univer-justify-between','mountNode','forceOption','1,235)','#fff','univer-box-border\x20univer-px-4\x20univer-pb-2.5\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','isPatternEqualWithoutDecimal','scaleY','endColumn','FunnelIcon','1930-08-05','circular','End','chart.align.left','LocaleService','tooltipAxisLabelBackground','waterfallStack','ColorPicker','chart.addSeries','_chartHostProvider','firstChartType','chart.styleEditPanel.repeatWordCould','fontWeight','toString','dialog.numfmt.thousandthPercentile','_chartRenderService','Line','format','A/P\x20h:mm:ss','priority','chart.withType','Input','chart.styleEditPanel.pieValScale','univer-rounded-md\x20univer-p-2\x20hover:univer-bg-gray-200','General','UniverSheetsChartPlugin','Select','message','distinctUntilChanged','blurScope','registerViewState','2eyrcDH','yyyy/MM/dd','univer-flex\x20univer-h-[26px]\x20univer-flex-row\x20univer-items-center\x20univer-gap-1.5','chart.bubble.size','color','Hide','11032HXTKzJ','RelationshipIcon','max','nodeShape','chart.styleEditPanel.pieValSuffix','exp','getColors','SheetSkeletonService','sheet.numfmt.currency','pieLabelStyle','_initMenus','08-05\x20下午\x2001:30','applyStyle','deg)\x20','startY','chartTypes.heatmap','chart.invalidType.connectDataPointsWithStraightLines','value','Waterfall','chart.indicatorLine','chart.percentage','MEDIA','You\x20must\x20pass\x20valid\x20HTML\x20elements,\x20or\x20ID\x20of\x20the\x20element.','dialog.numfmt.accounting','AreaLineStyle','dialog.numfmt.thousandthPercentileDesc','_sheetsChartUIService','shuffle','packageName','deepClone','linearMap','shadowOffsetX','chart.styleEditPanel.labelRotate','isArray','updateWatermark','registerCommand','getBoxLayoutParams','rotationRange','0.21.1','univer-mt-5\x20univer-flex\x20univer-justify-end','3083710WgTGXZ','pluginName','UNIVER_SHEET','rightYAxisOptions','map','univer-transition-transform\x20univer-duration-300','dataRange','chart.indicatorLineColor','removeEventListener','chart.styleEditPanel.labelPosition','univer-sheet-chart-format-dialog-id','_sheetClipboardService','enableHoverEmphasis','util','pipe','Stacked','ChartIcon','legend','getWidth','21024zuNnbh','136181XuDQSo','chart.waterfall.positiveStyle','mozClearImmediate','subtitle','Module','chart.none','chart.relation.useValueAsSymbolSize','univer-w-full\x20!univer-min-w-0','RangeSelector','isNaN','MoreDownIcon','dataPoints','Funnel','getRangeInfo','Bubble','chart.titles.titleFormat','border-box','stateTransition','suffix','chart.fill','chart.titles.mainTitle','block','EmptyRect','poly','Force','msSetImmediate','currentTarget','Pin','OPERATION','initPanel','objects','chartTypes.donut','\x22#,##0.00_);[Red]\x22','time','getCurrentTypeOfUnit$','chart.shape.rect','chart.align.center','hover','chart.trendline.log','Accounting','clearCanvas','ICommandService','IncreaseIcon','wordCloudShape','Dotted','startsWith','radarFill','borderClassName','getChartPopupMenus','Right','with','WorksheetEditPermission','canvas','interceptCommand','Triangle','chart.ticks.majorTick','wait','textBaseline','wordclouddrawn','下午1:30:30','chartTypes.waterfall','chart.legend','gap','Circular','toSpec','devicePixelRatio','clearTimeout','Radar','Fragment','WaterfallSeriesTypeEnum','_debounceHandle','asCategory','ondraw','FontColorDoubleIcon','univer-flex\x20univer-items-center\x20univer-text-base','style','chartType','#ffffff','Step','dataPointsOptions','_generatePasteMutations','startX','triangle-forward','subscribeEvent','data','_chartHostProviderService','SELECTOR','MenuItemType','#,##0.00_);[Red]#,##0.00','univer-ml-2\x20univer-transition-transform','univer-size-full','setHostStyle','univer-mb-2\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','setTimeout','translate','chart.styleEditPanel.dateAxisTips','LinearIcon','__highDownDispatcher','labelContentType','getTime','setItemGraphicEl','chart.relation.circular','univer-mx-auto\x20univer-mt-2\x20univer-h-1\x20univer-w-1/2\x20univer-rounded-md\x20univer-bg-primary-600','chart.seriesBlock.format','blur','chartType$','EmptyCircle','getBoundingClientRect','chart.styleEditPanel.wordCloudShape','focusDrawing','setBorder','FOCUSING_PANEL_EDITOR','xAxis','rotateRatio','chart.trendline.order','width','univer-mt-2\x20univer-flex\x20univer-flex-1\x20univer-flex-col\x20univer-justify-between','preventDefault','wordcloudstart','height','Inject','Single','triangle','BubbleIcon','fillStyle','Injector','emphasis.textStyle.fontFamily','checkHost','borderStyle','word','chart.waterfall.positiveLegendText','chart.dashType.solid','removeHost$','useValueAsSymbolSize','digitalFixed','useDependency','none','RadarChartIcon','chartTypes.radar','getAllowedChartTypes','_createHost','ChartBorderDashType','_sidebarService','Center','_(\x22','univer-text-primary-600','continuous','univer-mb-2\x20univer-flex\x20univer-items-center','COPY_TYPE','WaterfallStackTypeEnum','_sheetDrawingService','SeriesLabelPosition','chart.dataPoint','axes','Polygon','_chartModelService','SeriesName','undo','(1,235)','ISheetClipboardService','theme','heatmapMax','tooltipAxisLabelColor','span','chartTypes.funnel','valueSuffix','bold','WordCloudMuskImageService','measureText','executeCommand','chart.shape.square','chart.legendSelectModeType.','ceil','DRAWING_CHART','some','chart.shape.arrow','sheet.operation.open-chart-panel','univer-text-sm\x20univer-leading-6\x20univer-text-gray-900\x20dark:!univer-text-white','weightFactor','linear','getData','beforeCommandExecuted','Bottom','getItemModel','_sheetCanvasFloatDomManagerService','univer-inline-flex\x20univer-items-center\x20univer-gap-1\x20univer-justify-self-end\x20univer-text-xs\x20univer-font-medium\x20univer-text-primary-600','getOwnPropertyDescriptor','positive','reverse','univer-w-full\x20univer-rounded-lg\x20univer-bg-gray-50\x20univer-p-0\x20dark:!univer-bg-gray-900','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','ThousandthPercentile','univer-mr-5\x20univer-cursor-default\x20univer-py-4\x20univer-text-center\x20univer-text-sm\x20univer-font-semibold','rangeInfo','decorate','stateAnimation','univer-text-xs','chart.styleEditPanel.halfPie','univer-box-border\x20univer-w-full\x20univer-px-4\x20univer-pb-2.5\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','getCurrentUnitForType','TextAlign','chartModelId','InvalidValueType','univer-mb-2\x20univer-text-sm\x20univer-font-medium','info','toStringTag','.chart-host','parseInt','isSupported','Radio','chart.alignY.','addEventListener','sidebarOptions$','dialog.numfmt.dateDesc','Text','removeAll','chart.waterfall.negativeStyle','chart.trendline.showFormula','sheet.operation.hide-chart-panel','useDateAxis','dateAxisRotate','CloudOutlineIcon','bubbleSizeSeriesId','negative','SetDrawingApplyMutation','CategoryName','dialog.numfmt.currency','univer-text\x20univer-mb-2\x20univer-text-sm','gradientFill','startRow','Pie','TitlePositionEnum','remove','_copyInfo','deriveStateFromActiveSheet$','Bar','seriesList','config$','activeSheet$','8px','point','getWordCloudImageMaskMap','univer-leading-8','sheet.chart.edit.panel','chartModelAdded$','font','object','chart-host','StackType','setImmediate','chart.categoryDefaultName','cardioid','EmptySquare','selectMode','shadowColor','dashType','sheet.numfmt.accounting','style$','forceRender','defineProperty','_resizeChart','pie','MM-dd\x20A/P\x20hh:mm','wordCloudMask','tooltipAxisColor','rangeSelectMode','parseFloat','checkChartCanRender','padAngleStyle','setRenderModel','AxisAlignEnum','useState','drawMask','yAxis','chart.withColor','6AijZxk','items','_menuManagerService','push','icon','IMessageService','isRosePie','radarShape','chart.trendline.r2','chart.waterfall.subtotalStyle','ScatterChartIcon','!univer-min-w-0\x20univer-flex-1','headers','scale','hasOwnProperty','append','chart.stack','funnelUseAbsValue','chartTypes.wordCloud','eachSeriesByType','gravity','TRANSFORM_CHANGE_OBSERVABLE_TYPE','SankeyChartIcon','clearImmediate','rightYAxis','CopySheetCommand','open','show','chart.withSize','dialog.numfmt.cancel','star','wordCloud','border','detail','univer-my-2','Observable','createElement','useEmphasis','EChartRenderEngineName','fill','seriesIndexes','fontSize','RibbonInsertGroup','showR2','chart.shape.emptySquare','chart.trendline.period','3838149MOfHbe','bind','rosePie','DropdownMenu','activeChartModel','Linear','px)\x20scale(','chart.category','Stack','1,234.56','chart.relation.title','EmptyPin','Currency','aggregate','drawingType','radar','sin','Value','EmptyTriangle','stylizeSpec','getCurrentUnitOfType','AreaChartIcon','Combination','fontFamily','unitId','_init','random','chart.axes.horizontalAxis','_commandService','univer-size-5','dialog.numfmt.confirm','discreteRangeToRange','getSheetBySheetName','focus','univer-rounded-lg\x20univer-p-2','Pareto','assign','emphasis','dialog.numfmt.dateTypes','getSkeleton','minSize','abortThreshold','List','dispose','fillTextWidth','univer-flex\x20univer-h-4\x20univer-flex-1\x20univer-items-center','test','\x22Trebuchet\x20MS\x22,\x20\x22Heiti\x20TC\x22,\x20\x22微軟正黑體\x22,\x20\x22Arial\x20Unicode\x20MS\x22,\x20\x22Droid\x20Fallback\x20Sans\x22,\x20sans-serif','IDrawingManagerService','chart.titles.titleAlign','chart.dashType.dot','min','chart.styleEditPanel.pieDigitalFixed','Dashed','red','chart.position','Error','layout','className','hidden','ISidebarService','close','transparent','root','chart.titles.titleText','IRuntimeAxisPriority','wordCloudRepeat','trendline','getName','IContextService','chart.line','values','chart.trendline.addTrendLine','ensureState','jsxs','createDimensions','rightYAxisTitle','univer-box-border\x20univer-flex\x20univer-h-8\x20univer-flex-1\x20univer-items-center\x20univer-justify-between\x20univer-px-3','chart.invalidType.gaps','overflow','UPDATE','xAxisTitle','RemoveSheetsChartMutation','Subject','sheet.numfmt.date','dialog.numfmt.general','Numeric','relationNodeShape','chart.legendVisualMapType.','postMessage','Boxplot','SheetsChartService','InsertSheetsChartMutation','getDataSource','12cazHwS','Date','rotate(','dimension','heatmapMin','dialog.numfmt.generalDesc','chart.shape.emptyDiamond','substr','_getWatermark','chart.stackType.percent','univer-text-sm\x20univer-font-medium\x20univer-text-gray-600\x20dark:!univer-text-gray-200','heatmap','primary','_initCopyPaste','parentNode','square','Area','Column','DeleteIcon','chart.waterfall.negative','SHEETS_CHART_PLUGIN_NAME','weight','univer-my-2\x20univer-flex\x20univer-flex-1\x20univer-flex-col\x20univer-justify-between','pow','MM-dd','oClearImmediate','univer-mt-2-base','Row','setOption','length','useMemo','middle','univer-mt-2.5','isFinite','subtotal','getCanvasElement','_sidebarDisposable','DataOrientation','RemoveSheetDrawingCommand','chart.axes.useRightAxis','order','(1,235)\x20','axisTitleAlign','onCommandExecuted','univer-grid\x20univer-w-[290px]\x20univer-grid-cols-4\x20univer-gap-2\x20univer-p-2','70%','clear','createChartInstance','wordcloudstop','getContext','_contextService','1px\x20solid\x20transparent','chart.gradientFill','4579278gDPOtd','touches','render','div','univer-margin-left-[1.5px]\x20univer-font-weight-500\x20univer-text-xs','dialog.numfmt.accountingDesc','right','item','opacity','defaultChartConfig','chart.dataRange','univer-mb-2\x20univer-w-full\x20!univer-min-w-0','seriesValues','chart.gridlines.majorGridlines','fillText','ChartUpdateSourceCommand','hasPaddingAngle','_mountNodes','_renderModelMap','registerPreprocessor','join','univer-flex\x20univer-flex-col\x20univer-gap-4','#000','getElementById','sheet.numfmt.thousandthPercentile','Sorry\x20your\x20browser\x20not\x20support\x20wordCloud','areaLineStyle','error','setContextValue','chart.styleEditPanel.showLabelLine','createTextStyle','getUnit','appendChild','HeatmapIcon','univer-p-1.5\x20univer-text-xs','chart.shape.emptyTriangle','chart.insertChart','drawingId','sort','univer-w-[208px]','univer-mb-2\x20univer-flex\x20univer-flex-1\x20univer-flex-row\x20univer-justify-between','combineLatest','getRenderById','BoldIcon','1,235','Segmented','selectedMode','univer-leading-1\x20univer-flex\x20univer-cursor-pointer\x20univer-items-center\x20univer-rounded-sm\x20univer-px-1.5\x20univer-py-1','HeatmapChartIcon','borderColor','runtime','13:30:30','chartTypes.pie','univer-mb-2\x20univer-h-8','reduce','maxRotation','visualMapType','removeChartModel','_drawingManagerService','_initPermission','forEach','prototype','getRegisteredThemes','chart.trendline.poly','valueScale','chart.deleteChart','chart.axes.verticalAxis','function','rangeInfo$','univer-text-sm\x20univer-text-gray-900\x20dark:!univer-text-white','ChartUpdateConfigCommand','group','Dropdown','axis','1930年08月05日','chart.shape.emptyRect','redo','IRuntimeAxisPosition','SankeyIcon','setActiveChartModel','getChartModel','getSubUnitId','\x22#,##0.00_);[Red](\x22','random-light','chart.trendline.exp','textStyle','target','univer-ml-3','DependentOn','clientX','#,##0.00_);-#,##0.00','date','isHalfPie','univer-mb-2\x20univer-flex\x20univer-justify-between\x20univer-gap-2','titlePosition','visible','position','titleFontSize','RadioGroup','ComboChartIcon','legendStyle','runtimeAxes','useSubtotal','univer-justify-content-between\x20univer-items-flex-start\x20univer-mb-2\x20univer-flex\x20univer-gap-2','chart.relation.layoutType','button','set','univer-flex\x20univer-flex-col\x20univer-items-center\x20univer-gap-3\x20univer-p-3\x20univer-pb-3\x20univer-text-sm','_rangeSelectMode','seriesResourceIndexes','_updateTransform','ItalicIcon','SheetCanvasPopManagerService','attachRangeWithCoord','chart.withShape','_createCopyInfoByRange','number','getUnitId','Button','univer-mb-2\x20univer-flex\x20univer-cursor-pointer\x20univer-items-center\x20univer-text-primary-600','sheet.command.menu-insert-chart','IRenderManagerService','fillTextOffsetX','area','getRuntimeContext','helper','DeleteEmptyIcon','univer-mb-2\x20univer-h-5\x20univer-text-sm\x20univer-font-medium\x20univer-leading-5','_generateCopyPasteMutations','registerWordCloud','size','shape','h:mm','univer-text-2xl','LogarithmicIcon','movingAvg','_initCommands','ISheetDrawingService','SheetSkeletonManagerService','chart.min','Tooltip','RadarShape','getSheetBySheetId','useAbsValue','executeChartUpdateConfig','chart.relation.emphasis','CloudIcon','bubbleYAxis','gridLine','BarStacked','ChartTrendlineType','413ZzyxQM','click','keys','bounds','force','chart.axes.rightAxis','registerLayout','log','COMMAND','chart.styleEditPanel.showLabels','chart.styleEditPanel.padAngle','dialog.numfmt.decimalPlaces','current','univer-mb-2','dataSource','mousemove','chart.waterfall.showSubtotal','chart.ticks.tickPosition','chartBitsUtils','_sheetInterceptorService','get','top','has','yyyy\x22年\x22MM\x22月\x22dd\x22日\x22','univer-flex\x20univer-h-6\x20univer-flex-row\x20univer-items-center\x20univer-gap-1.5','getBatchAddOp','blockExecuteWithoutPermission','dataAggregation$','rotateLabel','LineChartIcon','repeat','params','chartTypes.boxplot','allSeriesId','chart.trendline.name','lineVisible','#,##0.00_);#,##0.00','\x22#,##0.00)','CUT','chart.shape.roundRect','handleActiveSubUnitChange','Left','_debounceHandleMap','dialog.setFormat','register','stopImmediatePropagation','categoryType','abs','orient','scrollbarClassName','touchDependencies','_injector','funnelGap','1515190AETMXy','AlignTextBothIcon','chart.chartBorderColor','UniverSheetsChartUIPlugin','chart.axisPositionType.','LegendPositionEnum','drawn','chart.themes','img','chart.waterfall.stacked','Top','h:mm:ss','chart.styleEditPanel.showDataLabels','The\x20element\x20id\x20specified\x20is\x20not\x20found.','subscribe','univer-flex\x20univer-items-center\x20univer-border-b\x20univer-border-gray-200','ExponentialIcon','floor','chart.chartStyle','chart.positionType.','chart.waterfall.stackType','useObservable','IDialogService','save','center','range','Rect','SelectModeEnum','chart.chartAndAxisTitles','#,##0_);[Red](#,##0)','univer-my-2\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','chart.styleEditPanel.labelText','Heatmap','Outside','None','indicatorLabelColor','slice','BoxplotIcon','align','symbolSize','borderRadius','chart.shape.circle','univer-absolute\x20univer-right-2\x20univer-top-2','getDrawingData','concat','splice','key','SheetsChartUIController','DrawingApplyType','_openPanel','chart.cloud.title','chartTypes.relation','LabelContentType','ChartAttributeBits','chart.reset','getActiveSheet','SheetsChartUIService','Inside','transform','copyType','scene','capitalFirst','_univerInstanceService','debounce','chart.bubble.yAxis','config','MovingAverageIcon','echarts','relationLayout','indicator','getSheetId','_focusedDrawings','chartTypes.line','relation','darkMode$','seriesStyleMap','px\x20','textStyle.fontWeight','seriesResourceList','dialog.numfmt.currencyTypes','CategoryType','useCallback','series','chart.pareto.lineSeries','animation','BarPercentStacked','mergeMenu','Diamond','label','chartTypes.barStacked','_viewState','executeChartUpdateSourceConfig','getDefaultTheme','RemoveSheetCommand','maskColor','univer-w-[136px]','PieChartIcon','chart.series','chart.color','AxisValueType','fillOpacity','labelVisible','webkitSetImmediate','diamond','piecewise','Empty','\x22#,##0.00','_getSceneAndTransformerByDrawingSearch','Percentage','08-05','xAxisOptions','name','chart.visualMapScope','chart.shape.emptyCircle','yAxisOptions','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','init','onStarting','mount','chart.lineType.line','InputNumber','\x22#,##0.00_);(\x22','DrawingTypeEnum','cos','maskImage','small','querySelector','chart.theIndexItem','specialChartWidthMap','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','univer-box-border\x20univer-flex\x20univer-w-fit\x20univer-items-center\x20univer-gap-1.5\x20univer-rounded-md\x20univer-px-1\x20univer-py-0.5','chart.titles.rightYAxisTitle','chart.chartType','getContextValue','combineLatestWith','univer-mt-2','content','dialog.numfmt.negativeNumberTypes','baseOn','chart.waterfall.arrangement','list','subUnitId','Start','titleAlign','doughnutHole','chart.doughnutHole','univer-flex','trendlineValues','Square','Doughnut','scatterSymbolSize','IUniverInstanceService','minRotation','radio','deserializeRangeWithSheet','getBatchRemoveOp','fillRect','chart.bubble.xAxis','src','getSheetCommandTarget','chart.styleEditPanel.rosePie','getCurrentRangeDisable$','from','ChartModelService','combination','layoutAnimation','formulaColor','FOCUSING_COMMON_DRAWINGS','backgroundColor','category','Horizontal','chart.indicatorLabel','lineColor','chartTypes.pareto','minFontSize','normal','printChart','_chartThemeService','chart.openChartPanel','chart.lineType.step','isRowDirection','datetime','otherChartType','_registerChartIcons','symbol','boxSizing','InsertChartCommand','drawImage','transformToDrawingPosition','domId','repulsion','WaterfallChartIcon','sheetTransform','__default__','restore','type','13:30','Smooth','chart.stackType.stack','chart.titles.titlePosition','showLabelLine','ColumnChartIcon','getFocusedUnit','call','_removeHost$','webkitTapHighlightColor','categoryIndex','allSeriesStyle','SheetCanvasFloatDomManagerService','generateRandomId','remove$','chartTypes.area'];_0x3cbb=function(){return _0xb3f7c4;};return _0x3cbb();}const AxisOptionsEdit=_0x2c8eb0=>{const _0x40f652=_0x5db780;var _0xc6f15c,_0x9854f7,_0x388569,_0x1659ce,_0x494f89,_0x3a7836,_0x25daaf,_0x3d8f5d,_0x571b1d,_0x5aaaaa;const {localeService:_0x4458be,valueAxis:_0x35a8d5,axisOptions:_0x2c6ec2,onChange:_0x11854b,canUseDateAxis:_0x401da5,sheetsChartUIService:_0xcc056a}=_0x2c8eb0,{t:_0x2a165a}=_0x4458be,[_0x256fb7,_0x356ba9]=(0x0,react[_0x40f652(0x32e)])(_0x2c6ec2===null||_0x2c6ec2===void 0x0?void 0x0:_0x2c6ec2[_0x40f652(0x1e5)]),[_0x6b8c15,_0x4afb4e]=(0x0,react[_0x40f652(0x32e)])(_0x2c6ec2===null||_0x2c6ec2===void 0x0?void 0x0:_0x2c6ec2['min']),_0x462012=(0x0,_univerjs_ui['useDependency'])(_univerjs_core[_0x40f652(0x3a5)]),[_0x296242,_0x4f730e]=useChartConfigState('useDateAxis',_0xcc056a,![]),_0x525697=_0x1a3afa=>{if(_0x1a3afa!==null&&!isValidNumber(_0x1a3afa)){_0x11854b===null||_0x11854b===void 0x0||_0x11854b({'min':null}),_0x4afb4e(null);return;}if(_0x1a3afa===null||_0x1a3afa===void 0x0)_0x4afb4e(null),_0x11854b===null||_0x11854b===void 0x0||_0x11854b({'min':null});else{_0x4afb4e(_0x1a3afa);if(_0x256fb7!==null&&_0x256fb7!==void 0x0&&_0x1a3afa>=_0x256fb7)_0x356ba9(null),_0x11854b===null||_0x11854b===void 0x0||_0x11854b({'min':_0x1a3afa,'max':null});else _0x11854b===null||_0x11854b===void 0x0||_0x11854b({'min':_0x1a3afa});}},_0x1dbe26=_0x42ee21=>{if(_0x42ee21!==null&&!isValidNumber(_0x42ee21)){_0x11854b===null||_0x11854b===void 0x0||_0x11854b({'max':null}),_0x356ba9(null);return;}if(_0x42ee21===null||_0x42ee21===void 0x0)_0x356ba9(null),_0x11854b===null||_0x11854b===void 0x0||_0x11854b({'max':null});else{_0x356ba9(_0x42ee21);if(_0x6b8c15!==null&&_0x6b8c15!==void 0x0&&_0x42ee21<=_0x6b8c15)_0x4afb4e(null),_0x11854b===null||_0x11854b===void 0x0||_0x11854b({'max':_0x42ee21,'min':null});else _0x11854b===null||_0x11854b===void 0x0||_0x11854b({'max':_0x42ee21});}},_0x5ad891=(_0xc6f15c=_0x2c6ec2===null||_0x2c6ec2===void 0x0||(_0x9854f7=_0x2c6ec2[_0x40f652(0x517)])===null||_0x9854f7===void 0x0?void 0x0:_0x9854f7[_0x40f652(0x5a2)])!==null&&_0xc6f15c!==void 0x0?_0xc6f15c:_0x296242?_univerjs_pro_engine_chart[_0x40f652(0x3fc)][_0x40f652(0x43c)][_0x40f652(0x2fb)]:0x0;return(0x0,react_jsx_runtime[_0x40f652(0x3aa)])('section',{'children':[(0x0,react_jsx_runtime[_0x40f652(0x624)])(_0x40f652(0x3f6),{'className':_0x40f652(0x27b),'children':_0x2a165a('chart.axes.axisOptions')}),(0x0,react_jsx_runtime[_0x40f652(0x3aa)])(_0x40f652(0x3f6),{'className':_0x40f652(0x45a),'children':[(0x0,react_jsx_runtime['jsx'])(_0x40f652(0x3f6),{'className':_0x40f652(0x5de),'children':(0x0,react_jsx_runtime[_0x40f652(0x624)])(_univerjs_design['Checkbox'],{'checked':(_0x388569=_0x2c6ec2===null||_0x2c6ec2===void 0x0||(_0x1659ce=_0x2c6ec2[_0x40f652(0x517)])===null||_0x1659ce===void 0x0?void 0x0:_0x1659ce[_0x40f652(0x452)])!==null&&_0x388569!==void 0x0?_0x388569:_univerjs_pro_engine_chart[_0x40f652(0x3fc)][_0x40f652(0x43c)][_0x40f652(0x524)],'onChange':_0x40c45a=>_0x11854b===null||_0x11854b===void 0x0?void 0x0:_0x11854b({'label':{'visible':Boolean(_0x40c45a)}}),'children':_0x2a165a(_0x40f652(0x493))})}),!_0x35a8d5&&(0x0,react_jsx_runtime['jsxs'])(_0x40f652(0x3f6),{'className':_0x40f652(0x5de),'children':[(0x0,react_jsx_runtime[_0x40f652(0x624)])(_univerjs_design['Checkbox'],{'checked':(_0x494f89=_0x2c6ec2===null||_0x2c6ec2===void 0x0?void 0x0:_0x2c6ec2[_0x40f652(0x2db)])!==null&&_0x494f89!==void 0x0?_0x494f89:_univerjs_pro_engine_chart[_0x40f652(0x3fc)]['axis'][_0x40f652(0x2db)],'onChange':_0x1588f9=>_0x11854b===null||_0x11854b===void 0x0?void 0x0:_0x11854b({'reverse':Boolean(_0x1588f9)}),'children':_0x2a165a('chart.styleEditPanel.reverseAxisOrder')}),'\x20']})]}),(0x0,react_jsx_runtime['jsx'])(_univerjs_design['Checkbox'],{'className':'univer-mt-2','checked':(_0x3a7836=_0x2c6ec2===null||_0x2c6ec2===void 0x0?void 0x0:_0x2c6ec2[_0x40f652(0x4ad)])!==null&&_0x3a7836!==void 0x0?_0x3a7836:![],'onChange':_0x2ca52d=>_0x11854b===null||_0x11854b===void 0x0?void 0x0:_0x11854b({'lineVisible':Boolean(_0x2ca52d)}),'children':_0x2a165a(_0x40f652(0x5b7))}),(0x0,react_jsx_runtime[_0x40f652(0x624)])(_0x40f652(0x3f6),{'className':_0x40f652(0x45a),'children':(0x0,react_jsx_runtime[_0x40f652(0x624)])(FontFormatBar,{'className':'univer-mt-2',..._0x2c6ec2===null||_0x2c6ec2===void 0x0?void 0x0:_0x2c6ec2['label'],'localeService':_0x4458be,'fontSize':(_0x25daaf=_0x2c6ec2===null||_0x2c6ec2===void 0x0||(_0x3d8f5d=_0x2c6ec2[_0x40f652(0x517)])===null||_0x3d8f5d===void 0x0?void 0x0:_0x3d8f5d['fontSize'])!==null&&_0x25daaf!==void 0x0?_0x25daaf:_univerjs_pro_engine_chart[_0x40f652(0x3fc)][_0x40f652(0x448)][_0x40f652(0x35b)],'color':(_0x571b1d=_0x2c6ec2===null||_0x2c6ec2===void 0x0||(_0x5aaaaa=_0x2c6ec2['label'])===null||_0x5aaaaa===void 0x0?void 0x0:_0x5aaaaa['color'])!==null&&_0x571b1d!==void 0x0?_0x571b1d:_univerjs_pro_engine_chart[_0x40f652(0x3fc)][_0x40f652(0x448)][_0x40f652(0x1e1)],'onChange':(_0x557f66,_0x51f2cd)=>_0x11854b===null||_0x11854b===void 0x0?void 0x0:_0x11854b({'label':{[_0x557f66]:_0x51f2cd}})})}),_0x401da5&&(0x0,react_jsx_runtime[_0x40f652(0x624)])(_0x40f652(0x3f6),{'className':'univer-justify-content-between\x20univer-items-flex-start\x20univer-mb-2\x20univer-flex\x20univer-gap-2','children':(0x0,react_jsx_runtime[_0x40f652(0x624)])(_univerjs_design[_0x40f652(0x1a0)],{'checked':Boolean(_0x296242),'onChange':_0x4d55f9=>_0x4f730e===null||_0x4f730e===void 0x0?void 0x0:_0x4f730e(Boolean(_0x4d55f9)),'children':(0x0,react_jsx_runtime[_0x40f652(0x624)])(_univerjs_design[_0x40f652(0x47f)],{'title':_0x2a165a(_0x40f652(0x27e)),'children':(0x0,react_jsx_runtime[_0x40f652(0x624)])(_0x40f652(0x2c2),{'children':_0x2a165a(_0x40f652(0x636))})})})}),(0x0,react_jsx_runtime[_0x40f652(0x3aa)])(_0x40f652(0x3f6),{'className':_0x40f652(0x45a),'children':[(0x0,react_jsx_runtime[_0x40f652(0x624)])('div',{'className':_0x40f652(0x603),'children':_0x2a165a(_0x40f652(0x203))}),(0x0,react_jsx_runtime[_0x40f652(0x624)])(_univerjs_design[_0x40f652(0x1d8)],{'className':_0x40f652(0x33d),'value':String(_0x5ad891),'onChange':_0x37fc5c=>_0x11854b===null||_0x11854b===void 0x0?void 0x0:_0x11854b({'label':{'rotate':Number(_0x37fc5c)}}),'options':axisLabelRotateOptions})]}),_0x35a8d5&&(0x0,react_jsx_runtime['jsxs'])(_0x40f652(0x3f6),{'className':'univer-justify-content-between\x20univer-items-flex-start\x20univer-mb-2\x20univer-flex\x20univer-gap-2','children':[(0x0,react_jsx_runtime[_0x40f652(0x3aa)])(_0x40f652(0x3f6),{'className':'univer-flex\x20univer-flex-1\x20univer-flex-col\x20univer-justify-between','children':[(0x0,react_jsx_runtime[_0x40f652(0x624)])(_0x40f652(0x3f6),{'className':_0x40f652(0x27b),'children':_0x2a165a(_0x40f652(0x47e))}),(0x0,react_jsx_runtime[_0x40f652(0x624)])(_univerjs_design['InputNumber'],{'value':_0x6b8c15,'onChange':_0x738e86=>{const _0x730a59=_0x40f652;_0x4afb4e(_0x738e86),_0x462012[_0x730a59(0x40f)](_univerjs_core[_0x730a59(0x28e)],![]),_0x525697(Number[_0x730a59(0x228)](_0x738e86)?null:Number(_0x738e86));},'onFocus':()=>_0x462012[_0x40f652(0x40f)](_univerjs_core[_0x40f652(0x28e)],!![]),'onBlur':_0x6d377c=>{const _0x12de7a=_0x40f652;_0x462012[_0x12de7a(0x40f)](_univerjs_core['FOCUSING_PANEL_EDITOR'],![]);const _0x4008d4=_0x6d377c[_0x12de7a(0x449)]['value'];_0x525697(_0x4008d4===''?null:Number(_0x4008d4));},'onPressEnter':_0x5bad1e=>{const _0xd465c2=_0x40f652,_0x46d255=_0x5bad1e[_0xd465c2(0x449)][_0xd465c2(0x1f4)];_0x525697(_0x46d255===''?null:Number(_0x46d255));}})]}),(0x0,react_jsx_runtime['jsxs'])(_0x40f652(0x3f6),{'className':_0x40f652(0x5de),'children':[(0x0,react_jsx_runtime['jsx'])(_0x40f652(0x3f6),{'className':'univer-mb-2\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x2a165a(_0x40f652(0x5d1))}),(0x0,react_jsx_runtime[_0x40f652(0x624)])(_univerjs_design[_0x40f652(0x537)],{'value':_0x256fb7,'onChange':_0x4da058=>{const _0xf5d83b=_0x40f652;_0x356ba9(_0x4da058),_0x462012[_0xf5d83b(0x40f)](_univerjs_core['FOCUSING_PANEL_EDITOR'],![]),_0x1dbe26(Number['isNaN'](_0x4da058)?null:Number(_0x4da058));},'onFocus':()=>_0x462012['setContextValue'](_univerjs_core['FOCUSING_PANEL_EDITOR'],!![]),'onBlur':_0x51a0af=>{const _0x91c82d=_0x40f652;_0x462012[_0x91c82d(0x40f)](_univerjs_core[_0x91c82d(0x28e)],![]);const _0x439840=_0x51a0af[_0x91c82d(0x449)][_0x91c82d(0x1f4)];_0x1dbe26(_0x439840===''?null:Number(_0x439840));},'onPressEnter':_0x54e5db=>{const _0xa2a49d=_0x40f652,_0x3ae316=_0x54e5db[_0xa2a49d(0x449)][_0xa2a49d(0x1f4)];_0x1dbe26(_0x3ae316===''?null:Number(_0x3ae316));}})]})]})]});},GridLineAndTickOptions=_0x4f7f3e=>{const _0x3c7fb8=_0x5db780;var _0x32c63c,_0x1fc57c,_0x2be3dc,_0x32725d;const {runtimeAxes:_0x3bd72f,localeService:_0x2e5fc6,service:_0x116b7f,className:_0x5f500d}=_0x4f7f3e,{t:_0x12bd15}=_0x2e5fc6,_0x233c04=useTranslatedOptions(_0x2e5fc6,(0x0,react[_0x3c7fb8(0x3dc)])(()=>axisListOptions[_0x3c7fb8(0x197)](_0x5866d1=>{const _0x325295=_0x3c7fb8,_0x5823af=_0x3bd72f===null||_0x3bd72f===void 0x0?void 0x0:_0x3bd72f['some'](_0x23c783=>_0x23c783[_0x325295(0x453)]===_univerjs_pro_engine_chart[_0x325295(0x440)][_0x325295(0x250)]);if(_0x5866d1[_0x325295(0x1f4)]===_0x325295(0x34a))return _0x5823af;return!![];}),[_0x3bd72f])),_0x2eae07=(0x0,react[_0x3c7fb8(0x3dc)])(()=>_0x3bd72f===null||_0x3bd72f===void 0x0?void 0x0:_0x3bd72f[_0x3c7fb8(0x5c3)](_0x59693b=>_0x59693b[_0x3c7fb8(0x1d1)]===_univerjs_pro_engine_chart[_0x3c7fb8(0x3a1)]['Secondary']),[_0x3bd72f]),[_0xa428c7,_0x1976cd]=(0x0,react[_0x3c7fb8(0x32e)])(axisListOptions[0x0][_0x3c7fb8(0x1f4)]),[_0x2ffc50,_0x2a3423]=useChartConfigState(_0x3c7fb8(0x52d),_0x116b7f),[_0x5cd390,_0x39b2aa]=useChartConfigState(_0x3c7fb8(0x531),_0x116b7f),[_0x429e29,_0x15a917]=useChartConfigState(_0x3c7fb8(0x20e),_0x116b7f),_0x142a39={'xAxis':_0x2ffc50,'yAxis':_0x5cd390,'rightYAxis':_0x429e29}[_0xa428c7],_0x1a5b17={'xAxis':_0x2a3423,'yAxis':_0x39b2aa,'rightYAxis':_0x15a917}[_0xa428c7],_0x275830={'xAxis':_0x3c7fb8(0x5ea),'yAxis':_0x3c7fb8(0x5b0),'rightYAxis':_0x3c7fb8(0x3f9)}[_0xa428c7],_0x4df000=_0x142a39===null||_0x142a39===void 0x0?void 0x0:_0x142a39[_0x3c7fb8(0x59d)],_0x1b8e6a=_0x142a39===null||_0x142a39===void 0x0?void 0x0:_0x142a39[_0x3c7fb8(0x487)],_0x2184d3=(0x0,react['useCallback'])(_0x2663ea=>{_0x1a5b17===null||_0x1a5b17===void 0x0||_0x1a5b17({'gridLine':_0x2663ea});},[_0x1a5b17]),{visible:_0xc6417f,color:_0x50a226,width:_0x2b75bb}=_0x1b8e6a!==null&&_0x1b8e6a!==void 0x0?_0x1b8e6a:{},_0x45b4a0=_0xc6417f!==null&&_0xc6417f!==void 0x0?_0xc6417f:(_0x2eae07===null||_0x2eae07===void 0x0?void 0x0:_0x2eae07[_0x3c7fb8(0x453)])===_0x275830,_0x30f4c6=useTranslatedOptions(_0x2e5fc6,pieDataLabelPositionOptions),_0x4da0e6=(0x0,react[_0x3c7fb8(0x3dc)])(()=>{const _0x1a0afe=_0x3c7fb8;return defaultOption[_0x1a0afe(0x517)]=_0x12bd15(defaultOption[_0x1a0afe(0x517)]),[defaultOption,...tickLengthOptions];},[_0x12bd15]),_0x29e378=(0x0,react[_0x3c7fb8(0x3dc)])(()=>{const _0x2a3504=_0x3c7fb8;return defaultOption[_0x2a3504(0x517)]=_0x12bd15(defaultOption[_0x2a3504(0x517)]),[defaultOption,...tickWidthOptions];},[_0x12bd15]);return(0x0,react_jsx_runtime[_0x3c7fb8(0x3aa)])(_0x3c7fb8(0x3f6),{'className':_0x5f500d,'children':[(0x0,react_jsx_runtime['jsx'])(_0x3c7fb8(0x3f6),{'className':_0x3c7fb8(0x45a),'children':(0x0,react_jsx_runtime[_0x3c7fb8(0x624)])(_univerjs_design['Select'],{'className':_0x3c7fb8(0x226),'options':_0x233c04,'value':_0xa428c7,'onChange':_0x1976cd})}),(0x0,react_jsx_runtime[_0x3c7fb8(0x624)])(_0x3c7fb8(0x3f6),{'className':'univer-justify-content-between\x20univer-items-flex-start\x20univer-mb-2\x20univer-flex\x20univer-gap-2','children':(0x0,react_jsx_runtime[_0x3c7fb8(0x624)])(_0x3c7fb8(0x3f6),{'className':_0x3c7fb8(0x5de),'children':(0x0,react_jsx_runtime[_0x3c7fb8(0x624)])(_univerjs_design[_0x3c7fb8(0x1a0)],{'checked':_0x45b4a0,'onChange':_0x237f29=>_0x2184d3===null||_0x2184d3===void 0x0?void 0x0:_0x2184d3({'visible':Boolean(_0x237f29)}),'children':_0x12bd15(_0x3c7fb8(0x400))})})}),_0x45b4a0&&(0x0,react_jsx_runtime['jsxs'])('div',{'className':_0x3c7fb8(0x45a),'children':[(0x0,react_jsx_runtime[_0x3c7fb8(0x3aa)])(_0x3c7fb8(0x3f6),{'className':_0x3c7fb8(0x5de),'children':[(0x0,react_jsx_runtime[_0x3c7fb8(0x3aa)])(_0x3c7fb8(0x3f6),{'className':_0x3c7fb8(0x27b),'children':[_0x12bd15(_0x3c7fb8(0x5f5)),_0x12bd15(_0x3c7fb8(0x521))]}),(0x0,react_jsx_runtime[_0x3c7fb8(0x624)])(ColorPickerControl,{'color':_0x50a226,'onChange':_0x5a2b01=>_0x2184d3===null||_0x2184d3===void 0x0?void 0x0:_0x2184d3({'color':_0x5a2b01!==null&&_0x5a2b01!==void 0x0?_0x5a2b01:void 0x0})})]}),(0x0,react_jsx_runtime[_0x3c7fb8(0x3aa)])(_0x3c7fb8(0x3f6),{'className':'univer-flex\x20univer-flex-1\x20univer-flex-col\x20univer-justify-between','children':[(0x0,react_jsx_runtime['jsx'])(_0x3c7fb8(0x3f6),{'className':'univer-mb-2\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x12bd15(_0x3c7fb8(0x59e),_0x12bd15(_0x3c7fb8(0x5f5)))}),(0x0,react_jsx_runtime[_0x3c7fb8(0x624)])(_univerjs_design[_0x3c7fb8(0x1d8)],{'className':'univer-w-full\x20!univer-min-w-0','value':String(_0x2b75bb!==null&&_0x2b75bb!==void 0x0?_0x2b75bb:''),'onChange':_0x22da92=>_0x2184d3===null||_0x2184d3===void 0x0?void 0x0:_0x2184d3({'width':Number(_0x22da92)}),'options':tickThicknessOptions})]})]}),(0x0,react_jsx_runtime['jsxs'])(_0x3c7fb8(0x3f6),{'children':[(0x0,react_jsx_runtime['jsx'])('div',{'children':(0x0,react_jsx_runtime[_0x3c7fb8(0x624)])(_univerjs_design[_0x3c7fb8(0x1a0)],{'checked':_0x4df000===null||_0x4df000===void 0x0?void 0x0:_0x4df000[_0x3c7fb8(0x452)],'onChange':_0x385dcf=>_0x1a5b17===null||_0x1a5b17===void 0x0?void 0x0:_0x1a5b17({'tick':{'visible':Boolean(_0x385dcf)}}),'children':_0x12bd15(_0x3c7fb8(0x256))})}),(0x0,react_jsx_runtime[_0x3c7fb8(0x3aa)])(_0x3c7fb8(0x3f6),{'children':[(0x0,react_jsx_runtime[_0x3c7fb8(0x3aa)])(_0x3c7fb8(0x3f6),{'className':'univer-justify-content-between\x20univer-items-flex-start\x20univer-mb-2\x20univer-flex\x20univer-gap-2','children':[(0x0,react_jsx_runtime[_0x3c7fb8(0x3aa)])(_0x3c7fb8(0x3f6),{'className':_0x3c7fb8(0x5de),'children':[(0x0,react_jsx_runtime[_0x3c7fb8(0x624)])(_0x3c7fb8(0x3f6),{'className':'univer-mb-2\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x12bd15(_0x3c7fb8(0x49b))}),(0x0,react_jsx_runtime[_0x3c7fb8(0x624)])(_univerjs_design['Select'],{'className':'univer-w-full\x20!univer-min-w-0','value':(_0x32c63c=_0x4df000===null||_0x4df000===void 0x0?void 0x0:_0x4df000['position'])!==null&&_0x32c63c!==void 0x0?_0x32c63c:_univerjs_pro_engine_chart[_0x3c7fb8(0x600)][_0x3c7fb8(0x4e0)],'options':_0x30f4c6,'onChange':_0x533e79=>_0x1a5b17===null||_0x1a5b17===void 0x0?void 0x0:_0x1a5b17({'tick':{'position':_0x533e79}})})]}),(0x0,react_jsx_runtime['jsxs'])('div',{'className':_0x3c7fb8(0x5de),'children':[(0x0,react_jsx_runtime[_0x3c7fb8(0x624)])(_0x3c7fb8(0x3f6),{'className':'univer-mb-2\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x12bd15(_0x3c7fb8(0x61d))}),(0x0,react_jsx_runtime[_0x3c7fb8(0x624)])(_univerjs_design['Select'],{'className':'univer-w-full\x20!univer-min-w-0','value':String((_0x1fc57c=_0x4df000===null||_0x4df000===void 0x0?void 0x0:_0x4df000[_0x3c7fb8(0x3db)])!==null&&_0x1fc57c!==void 0x0?_0x1fc57c:defaultOption[_0x3c7fb8(0x1f4)]),'options':_0x4da0e6,'onChange':_0x1716f9=>_0x1a5b17===null||_0x1a5b17===void 0x0?void 0x0:_0x1a5b17({'tick':{'length':_0x1716f9===defaultOption[_0x3c7fb8(0x1f4)]?void 0x0:Number(_0x1716f9)}})})]})]}),(0x0,react_jsx_runtime[_0x3c7fb8(0x3aa)])('div',{'className':_0x3c7fb8(0x45a),'children':[(0x0,react_jsx_runtime[_0x3c7fb8(0x3aa)])(_0x3c7fb8(0x3f6),{'className':_0x3c7fb8(0x5de),'children':[(0x0,react_jsx_runtime[_0x3c7fb8(0x624)])(_0x3c7fb8(0x3f6),{'className':_0x3c7fb8(0x27b),'children':_0x12bd15('chart.withThickness',_0x12bd15('chart.line'))}),(0x0,react_jsx_runtime[_0x3c7fb8(0x624)])(_univerjs_design[_0x3c7fb8(0x1d8)],{'className':'univer-w-full\x20!univer-min-w-0','value':String((_0x2be3dc=_0x4df000===null||_0x4df000===void 0x0?void 0x0:_0x4df000[_0x3c7fb8(0x5ac)])!==null&&_0x2be3dc!==void 0x0?_0x2be3dc:defaultOption[_0x3c7fb8(0x1f4)]),'options':_0x29e378,'onChange':_0x46b57d=>_0x1a5b17===null||_0x1a5b17===void 0x0?void 0x0:_0x1a5b17({'tick':{'lineWidth':_0x46b57d===defaultOption[_0x3c7fb8(0x1f4)]?void 0x0:Number(_0x46b57d)}})})]}),(0x0,react_jsx_runtime[_0x3c7fb8(0x3aa)])(_0x3c7fb8(0x3f6),{'className':_0x3c7fb8(0x5de),'children':[(0x0,react_jsx_runtime['jsx'])(_0x3c7fb8(0x3f6),{'className':_0x3c7fb8(0x27b),'children':_0x12bd15(_0x3c7fb8(0x331),_0x12bd15(_0x3c7fb8(0x3a6)))}),(0x0,react_jsx_runtime[_0x3c7fb8(0x624)])(ColorPickerControl,{'color':(_0x32725d=_0x4df000===null||_0x4df000===void 0x0?void 0x0:_0x4df000[_0x3c7fb8(0x56b)])!==null&&_0x32725d!==void 0x0?_0x32725d:'','onChange':_0x3a9e1c=>_0x1a5b17===null||_0x1a5b17===void 0x0?void 0x0:_0x1a5b17({'tick':{'lineColor':_0x3a9e1c!==null&&_0x3a9e1c!==void 0x0?_0x3a9e1c:void 0x0}})})]})]})]})]})]});},IndicatorLine=_0x5b491f=>{const _0x495d51=_0x5db780,{localeService:_0x45a46c,onChange:_0x1ce73c,indicatorLabelColor:_0x2c5d91,indicatorLineType:_0x212f80,indicatorLabelTextColor:_0x345bf2,indicatorLineColor:_0x3733fe}=_0x5b491f,{t:_0x53d267}=_0x45a46c,_0x1ba19c=useTranslatedOptions(_0x45a46c,borderDashTypeOptions);return(0x0,react_jsx_runtime[_0x495d51(0x3aa)])(react_jsx_runtime[_0x495d51(0x263)],{'children':[(0x0,react_jsx_runtime[_0x495d51(0x3aa)])(_0x495d51(0x3f6),{'className':_0x495d51(0x1aa),'children':[(0x0,react_jsx_runtime[_0x495d51(0x3aa)])('div',{'className':_0x495d51(0x5de),'children':[(0x0,react_jsx_runtime['jsx'])(_0x495d51(0x3f6),{'className':_0x495d51(0x27b),'children':_0x53d267(_0x495d51(0x1a8))}),(0x0,react_jsx_runtime['jsx'])(_univerjs_design[_0x495d51(0x1d8)],{'className':_0x495d51(0x226),'value':_0x212f80,'options':_0x1ba19c,'onChange':_0x54b987=>{_0x1ce73c===null||_0x1ce73c===void 0x0||_0x1ce73c({'indicatorLineType':_0x54b987});}})]}),(0x0,react_jsx_runtime[_0x495d51(0x3aa)])(_0x495d51(0x3f6),{'className':_0x495d51(0x5de),'children':[(0x0,react_jsx_runtime[_0x495d51(0x624)])(_0x495d51(0x3f6),{'className':_0x495d51(0x27b),'children':_0x53d267(_0x495d51(0x212))}),(0x0,react_jsx_runtime[_0x495d51(0x624)])(ColorPickerControl,{'color':_0x3733fe,'onChange':_0x7e522=>{_0x1ce73c===null||_0x1ce73c===void 0x0||_0x1ce73c({'indicatorLineColor':_0x7e522});}})]})]}),(0x0,react_jsx_runtime['jsxs'])(_0x495d51(0x3f6),{'className':_0x495d51(0x1aa),'children':[(0x0,react_jsx_runtime[_0x495d51(0x3aa)])(_0x495d51(0x3f6),{'className':_0x495d51(0x5de),'children':[(0x0,react_jsx_runtime[_0x495d51(0x624)])(_0x495d51(0x3f6),{'className':'univer-mb-2\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x53d267(_0x495d51(0x56a))}),(0x0,react_jsx_runtime[_0x495d51(0x624)])(ColorPickerControl,{'color':_0x2c5d91,'onChange':_0xaf4c4e=>{_0x1ce73c===null||_0x1ce73c===void 0x0||_0x1ce73c({'indicatorLabelColor':_0xaf4c4e});}})]}),(0x0,react_jsx_runtime[_0x495d51(0x3aa)])(_0x495d51(0x3f6),{'className':_0x495d51(0x5de),'children':[(0x0,react_jsx_runtime[_0x495d51(0x624)])(_0x495d51(0x3f6),{'className':_0x495d51(0x27b),'children':_0x53d267('chart.indicatorValue')}),(0x0,react_jsx_runtime[_0x495d51(0x624)])(ColorPickerControl,{'color':_0x345bf2,'onChange':_0x5a4fff=>{_0x1ce73c===null||_0x1ce73c===void 0x0||_0x1ce73c({'indicatorLabelTextColor':_0x5a4fff});}})]})]})]});},PercentageChartTypes=new Set([_univerjs_pro_engine_chart[_0x5db780(0x5c6)]['Pie'],_univerjs_pro_engine_chart['ChartTypeBits']['Doughnut'],_univerjs_pro_engine_chart[_0x5db780(0x5c6)][_0x5db780(0x194)],_univerjs_pro_engine_chart[_0x5db780(0x5c6)]['BarPercentStacked'],_univerjs_pro_engine_chart[_0x5db780(0x5c6)][_0x5db780(0x615)]]),DataLabelOptions=_0x133801=>{const _0x5594c6=_0x5db780;var _0x46b29e,_0x524465;const {fallbackLabelStyle:_0x4f11f9,labelStyle:_0x5b4e85,positionOptions:_0x43cd46,contentTypeOptions:_0x4d225d,onLabelStyleChange:_0x57b8ac,onVisibleChange:_0x145f5c,onPadAngleChange:_0x46671e,localeService:_0x5973f5,isPieLike:_0x26f5bb,padAngleStyle:_0x3e9810,onHalfPieChange:_0x5941bb,isHalfPie:_0x495b26,onRosePieChange:_0x31d249,isRosePie:_0x2e98d6,onShowLabelLineChange:_0x10531a,showLabelLine:_0x92f2f1,chartType:_0x44867d}=_0x133801,_0x57e865={..._0x4f11f9,..._0x5b4e85},{contentType:_0x60d94d}=_0x57e865,_0x2d08db=(0x0,react[_0x5594c6(0x3dc)])(()=>{const _0x2aa810=_0x5594c6;if(!_0x60d94d)return[];const _0xbe8652=labelContentTypeList['filter'](_0x5b43e1=>_univerjs_pro_engine_chart['chartBitsUtils'][_0x2aa810(0x4a0)](_0x60d94d,_0x5b43e1)),_0x3ea045=[];for(const _0x1dc6a5 of _0xbe8652)if(_0x1dc6a5===_univerjs_pro_engine_chart[_0x2aa810(0x4f3)][_0x2aa810(0x52b)]){if(PercentageChartTypes[_0x2aa810(0x4a0)](_0x44867d))_0x3ea045[_0x2aa810(0x335)](_0x1dc6a5);}else _0x3ea045[_0x2aa810(0x335)](_0x1dc6a5);return _0x3ea045[_0x2aa810(0x20f)](_0x552769=>String(_0x552769));},[_0x60d94d]),_0xa66d13=(0x0,react[_0x5594c6(0x510)])(_0x37e0c6=>{const _0x201de6=_0x5594c6,_0x6eaac2=_0x37e0c6['map'](_0x3d8315=>Number(_0x3d8315));if(_0x6eaac2['length']<=0x0)return;const _0x89d649=_0x6eaac2['length']>0x0?_0x6eaac2['reduce']((_0x52e8f0,_0x4d17b1)=>_0x52e8f0|_0x4d17b1):_univerjs_pro_engine_chart['LabelContentType'][_0x201de6(0x528)];_0x57b8ac===null||_0x57b8ac===void 0x0||_0x57b8ac('contentType',_0x89d649);},[_0x57b8ac]),{t:_0x70976d}=_0x5973f5;return(0x0,react_jsx_runtime[_0x5594c6(0x3aa)])(_0x5594c6(0x3f6),{'children':[(0x0,react_jsx_runtime[_0x5594c6(0x624)])(_0x5594c6(0x3f6),{'className':'univer-mb-2\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':(0x0,react_jsx_runtime['jsx'])(_univerjs_design[_0x5594c6(0x1a0)],{'checked':(_0x46b29e=_0x57e865[_0x5594c6(0x452)])!==null&&_0x46b29e!==void 0x0?_0x46b29e:![],'onChange':_0x2f6e08=>{_0x145f5c===null||_0x145f5c===void 0x0||_0x145f5c(Boolean(_0x2f6e08));},'children':_0x70976d(_0x5594c6(0x4cb))})}),_0x26f5bb&&(0x0,react_jsx_runtime['jsxs'])(react_jsx_runtime['Fragment'],{'children':[(0x0,react_jsx_runtime[_0x5594c6(0x624)])(_0x5594c6(0x3f6),{'className':'univer-mb-2\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':(0x0,react_jsx_runtime[_0x5594c6(0x624)])(_univerjs_design[_0x5594c6(0x1a0)],{'checked':_0x3e9810!==null&&_0x3e9810!==void 0x0?_0x3e9810:![],'onChange':_0x5ebb43=>{_0x46671e===null||_0x46671e===void 0x0||_0x46671e(Boolean(_0x5ebb43));},'children':_0x70976d(_0x5594c6(0x494))})}),(0x0,react_jsx_runtime[_0x5594c6(0x624)])(_0x5594c6(0x3f6),{'className':'univer-mb-2\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':(0x0,react_jsx_runtime['jsx'])(_univerjs_design['Checkbox'],{'checked':_0x495b26!==null&&_0x495b26!==void 0x0?_0x495b26:![],'onChange':_0x2f89b9=>{_0x5941bb===null||_0x5941bb===void 0x0||_0x5941bb(Boolean(_0x2f89b9));},'children':_0x70976d(_0x5594c6(0x2e4))})}),(0x0,react_jsx_runtime[_0x5594c6(0x624)])(_0x5594c6(0x3f6),{'className':_0x5594c6(0x27b),'children':(0x0,react_jsx_runtime[_0x5594c6(0x624)])(_univerjs_design[_0x5594c6(0x1a0)],{'checked':_0x2e98d6!==null&&_0x2e98d6!==void 0x0?_0x2e98d6:![],'onChange':_0x104964=>{_0x31d249===null||_0x31d249===void 0x0||_0x31d249(Boolean(_0x104964));},'children':_0x70976d(_0x5594c6(0x55f))})}),_0x57e865[_0x5594c6(0x452)]===!![]&&(0x0,react_jsx_runtime[_0x5594c6(0x624)])(_0x5594c6(0x3f6),{'className':_0x5594c6(0x27b),'children':(0x0,react_jsx_runtime[_0x5594c6(0x624)])(_univerjs_design['Checkbox'],{'checked':_0x92f2f1!==null&&_0x92f2f1!==void 0x0?_0x92f2f1:![],'onChange':_0x137f9c=>{_0x10531a===null||_0x10531a===void 0x0||_0x10531a(Boolean(_0x137f9c));},'children':_0x70976d(_0x5594c6(0x410))})})]}),_0x57e865[_0x5594c6(0x452)]&&(0x0,react_jsx_runtime[_0x5594c6(0x3aa)])(_0x5594c6(0x3f6),{'className':_0x5594c6(0x62d),'children':[(0x0,react_jsx_runtime[_0x5594c6(0x624)])('div',{'className':'univer-mb-2\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x70976d(_0x5594c6(0x214))}),(0x0,react_jsx_runtime[_0x5594c6(0x624)])(_univerjs_design[_0x5594c6(0x1d8)],{'className':_0x5594c6(0x226),'value':(_0x524465=_0x57e865[_0x5594c6(0x453)])!==null&&_0x524465!==void 0x0?_0x524465:'','onChange':_0x1039fe=>_0x57b8ac===null||_0x57b8ac===void 0x0?void 0x0:_0x57b8ac(_0x5594c6(0x453),_0x1039fe),'options':_0x43cd46}),_0x4d225d&&(0x0,react_jsx_runtime[_0x5594c6(0x3aa)])(react_jsx_runtime[_0x5594c6(0x263)],{'children':[(0x0,react_jsx_runtime[_0x5594c6(0x624)])(_0x5594c6(0x3f6),{'className':_0x5594c6(0x27b),'children':_0x70976d(_0x5594c6(0x4de))}),(0x0,react_jsx_runtime[_0x5594c6(0x624)])(_0x5594c6(0x3f6),{'className':_0x5594c6(0x41a),'children':(0x0,react_jsx_runtime[_0x5594c6(0x624)])(_univerjs_design['MultipleSelect'],{'className':'univer-w-full','value':_0x2d08db,'options':_0x4d225d,'onChange':_0xa66d13})})]}),(0x0,react_jsx_runtime['jsxs'])(_0x5594c6(0x3f6),{'children':[(0x0,react_jsx_runtime[_0x5594c6(0x624)])(_0x5594c6(0x3f6),{'className':_0x5594c6(0x27b),'children':_0x70976d(_0x5594c6(0x3a0))}),(0x0,react_jsx_runtime[_0x5594c6(0x624)])(FontFormatBar,{..._0x57e865,'localeService':_0x5973f5,'onChange':_0x57b8ac})]})]})]});},FillOptions=_0x54f55e=>{const _0xddfeea=_0x5db780;var _0x1aae8a,_0x2de27d;const {localeService:_0x445ece,seriesStyle:_0x317354,onSeriesStyleChange:_0x52f132,controlName:_0x55162d,allSeriesStyle:_0x14b301,chartType:_0xf80d6d}=_0x54f55e,{t:_0x2d658f}=_0x445ece,_0x215a46=_0xf80d6d===_univerjs_pro_engine_chart[_0xddfeea(0x5c6)][_0xddfeea(0x262)]?_univerjs_pro_engine_chart['defaultChartConfig'][_0xddfeea(0x36f)]['areaOpacity']:_univerjs_pro_engine_chart['defaultChartConfig'][_0xddfeea(0x29f)][_0xddfeea(0x3fb)];return(0x0,react_jsx_runtime['jsxs'])(_0xddfeea(0x3f6),{'className':_0xddfeea(0x1aa),'children':[(0x0,react_jsx_runtime[_0xddfeea(0x3aa)])(_0xddfeea(0x3f6),{'className':_0xddfeea(0x5de),'children':[(0x0,react_jsx_runtime['jsx'])(_0xddfeea(0x3f6),{'className':_0xddfeea(0x27b),'children':_0x2d658f(_0xddfeea(0x331),_0x55162d)}),(0x0,react_jsx_runtime['jsx'])(ColorPickerControl,{'color':(_0x317354===null||_0x317354===void 0x0?void 0x0:_0x317354[_0xddfeea(0x1e1)])||(_0x14b301===null||_0x14b301===void 0x0?void 0x0:_0x14b301[_0xddfeea(0x1e1)])||'','onChange':_0x1147ca=>_0x52f132===null||_0x52f132===void 0x0?void 0x0:_0x52f132({'color':_0x1147ca})})]}),(0x0,react_jsx_runtime[_0xddfeea(0x3aa)])(_0xddfeea(0x3f6),{'className':_0xddfeea(0x5de),'children':[(0x0,react_jsx_runtime[_0xddfeea(0x624)])(_0xddfeea(0x3f6),{'className':'univer-mb-2\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x2d658f('chart.withOpacity',_0x55162d)}),(0x0,react_jsx_runtime[_0xddfeea(0x624)])(_univerjs_design['Select'],{'className':'univer-w-full\x20!univer-min-w-0','value':String((_0x1aae8a=(_0x2de27d=_0x317354===null||_0x317354===void 0x0?void 0x0:_0x317354[_0xddfeea(0x523)])!==null&&_0x2de27d!==void 0x0?_0x2de27d:_0x14b301===null||_0x14b301===void 0x0?void 0x0:_0x14b301['fillOpacity'])!==null&&_0x1aae8a!==void 0x0?_0x1aae8a:_0x215a46),'options':lineOpacityOptions,'onChange':_0x4be4c9=>_0x52f132===null||_0x52f132===void 0x0?void 0x0:_0x52f132({'fillOpacity':Number(_0x4be4c9)})})]})]});},BorderOptions=_0x3cbeaa=>{const _0x5b10f8=_0x5db780;var _0x178b86,_0x3b9cf0,_0x1a3afb,_0x1825a5;const {localeService:_0x59533b,borderStyle:_0x5e928c,onSeriesStyleChange:_0x416eeb,controlName:_0x30428f,hideBorder:_0x21c0b5,allSeriesBorderStyle:_0x4c0ca6,isLineOrAreaChart:_0x1046f}=_0x3cbeaa,_0x500e3a=useTranslatedOptions(_0x59533b,borderDashTypeOptions),{t:_0x225210}=_0x59533b,_0x2e3953=_0x1046f?borderWidthOptions[_0x5b10f8(0x4e3)](0x1):borderWidthOptions;return(0x0,react_jsx_runtime[_0x5b10f8(0x3aa)])(react_jsx_runtime['Fragment'],{'children':[_0x21c0b5&&(0x0,react_jsx_runtime[_0x5b10f8(0x3aa)])(_0x5b10f8(0x3f6),{'className':_0x5b10f8(0x1aa),'children':[(0x0,react_jsx_runtime[_0x5b10f8(0x3aa)])('div',{'className':_0x5b10f8(0x5de),'children':[(0x0,react_jsx_runtime[_0x5b10f8(0x624)])(_0x5b10f8(0x3f6),{'className':_0x5b10f8(0x27b),'children':_0x225210(_0x5b10f8(0x331),_0x30428f)}),(0x0,react_jsx_runtime[_0x5b10f8(0x624)])(ColorPickerControl,{'color':(_0x178b86=_0x5e928c===null||_0x5e928c===void 0x0?void 0x0:_0x5e928c[_0x5b10f8(0x1e1)])!==null&&_0x178b86!==void 0x0?_0x178b86:_0x4c0ca6===null||_0x4c0ca6===void 0x0?void 0x0:_0x4c0ca6[_0x5b10f8(0x1e1)],'onChange':_0x4ac43a=>_0x416eeb===null||_0x416eeb===void 0x0?void 0x0:_0x416eeb({'border':{'color':_0x4ac43a}})})]}),(0x0,react_jsx_runtime[_0x5b10f8(0x3aa)])(_0x5b10f8(0x3f6),{'className':'univer-flex\x20univer-flex-1\x20univer-flex-col\x20univer-justify-between','children':[(0x0,react_jsx_runtime['jsx'])('div',{'className':_0x5b10f8(0x27b),'children':_0x225210(_0x5b10f8(0x596),_0x30428f)}),(0x0,react_jsx_runtime[_0x5b10f8(0x624)])(_univerjs_design[_0x5b10f8(0x1d8)],{'className':_0x5b10f8(0x226),'value':String((_0x3b9cf0=_0x5e928c===null||_0x5e928c===void 0x0?void 0x0:_0x5e928c[_0x5b10f8(0x3fb)])!==null&&_0x3b9cf0!==void 0x0?_0x3b9cf0:_0x4c0ca6===null||_0x4c0ca6===void 0x0?void 0x0:_0x4c0ca6['opacity']),'options':lineOpacityOptions,'onChange':_0x25b17d=>_0x416eeb===null||_0x416eeb===void 0x0?void 0x0:_0x416eeb({'border':{'opacity':Number(_0x25b17d)}})})]})]}),(0x0,react_jsx_runtime['jsxs'])(_0x5b10f8(0x3f6),{'className':_0x5b10f8(0x1aa),'children':[(0x0,react_jsx_runtime[_0x5b10f8(0x3aa)])(_0x5b10f8(0x3f6),{'className':'univer-flex\x20univer-flex-1\x20univer-flex-col\x20univer-justify-between','children':[(0x0,react_jsx_runtime['jsx'])(_0x5b10f8(0x3f6),{'className':'univer-mb-2\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x225210('chart.withType',_0x30428f)}),(0x0,react_jsx_runtime[_0x5b10f8(0x624)])(_univerjs_design['Select'],{'className':_0x5b10f8(0x226),'value':(_0x1a3afb=_0x5e928c===null||_0x5e928c===void 0x0?void 0x0:_0x5e928c[_0x5b10f8(0x31e)])!==null&&_0x1a3afb!==void 0x0?_0x1a3afb:_0x4c0ca6===null||_0x4c0ca6===void 0x0?void 0x0:_0x4c0ca6['dashType'],'options':_0x500e3a,'onChange':_0x628902=>_0x416eeb===null||_0x416eeb===void 0x0?void 0x0:_0x416eeb({'border':{'dashType':_0x628902}})})]}),(0x0,react_jsx_runtime['jsxs'])(_0x5b10f8(0x3f6),{'className':'univer-flex\x20univer-flex-1\x20univer-flex-col\x20univer-justify-between','children':[(0x0,react_jsx_runtime[_0x5b10f8(0x624)])('div',{'className':_0x5b10f8(0x27b),'children':_0x225210(_0x5b10f8(0x59e),_0x30428f)}),(0x0,react_jsx_runtime[_0x5b10f8(0x624)])(_univerjs_design[_0x5b10f8(0x1d8)],{'className':_0x5b10f8(0x226),'value':String((_0x1825a5=_0x5e928c===null||_0x5e928c===void 0x0?void 0x0:_0x5e928c['width'])!==null&&_0x1825a5!==void 0x0?_0x1825a5:_0x4c0ca6===null||_0x4c0ca6===void 0x0?void 0x0:_0x4c0ca6[_0x5b10f8(0x292)]),'options':_0x2e3953,'onChange':_0x1751e1=>_0x416eeb===null||_0x416eeb===void 0x0?void 0x0:_0x416eeb({'border':{'width':Number(_0x1751e1)}})})]})]})]});},LinePointOptions=_0x1d6b0a=>{const _0xd95e7=_0x5db780,{localeService:_0x759f0c,pointStyle:_0x48149a,controls:_0x34895b,onChange:_0x3a2428}=_0x1d6b0a,_0x596658=useTranslatedOptions(_0x759f0c,linePointShapeOptions),_0x1ceb61=useTranslatedOptions(_0x759f0c,linePointSizeOptions),{t:_0x2efd4f}=_0x759f0c,_0x2ff85=_0x34895b['map'](_0x22dbc7=>{const _0x18de31=_0x3299;switch(_0x22dbc7){case _0x18de31(0x476):return(0x0,react_jsx_runtime[_0x18de31(0x3aa)])(_0x18de31(0x3f6),{'className':_0x18de31(0x5de),'children':[(0x0,react_jsx_runtime[_0x18de31(0x624)])(_0x18de31(0x3f6),{'className':'univer-mb-2\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x2efd4f(_0x18de31(0x465),_0x2efd4f(_0x18de31(0x5e3)))}),(0x0,react_jsx_runtime[_0x18de31(0x624)])(_univerjs_design['Select'],{'className':'univer-w-full\x20!univer-min-w-0','value':String(_0x48149a[_0x18de31(0x476)]),'options':_0x596658,'onChange':_0x529a07=>_0x3a2428===null||_0x3a2428===void 0x0?void 0x0:_0x3a2428(_0x18de31(0x476),_0x529a07)})]},_0x22dbc7);case'size':return(0x0,react_jsx_runtime[_0x18de31(0x3aa)])(_0x18de31(0x3f6),{'className':'univer-flex\x20univer-flex-1\x20univer-flex-col\x20univer-justify-between','children':[(0x0,react_jsx_runtime[_0x18de31(0x624)])(_0x18de31(0x3f6),{'className':_0x18de31(0x27b),'children':_0x2efd4f(_0x18de31(0x34e),_0x2efd4f(_0x18de31(0x2b7)))}),(0x0,react_jsx_runtime[_0x18de31(0x624)])(_univerjs_design[_0x18de31(0x1d8)],{'className':_0x18de31(0x226),'value':String(_0x48149a[_0x18de31(0x475)]),'options':_0x1ceb61,'onChange':_0x197450=>_0x3a2428===null||_0x3a2428===void 0x0?void 0x0:_0x3a2428(_0x18de31(0x475),Number(_0x197450))})]},_0x22dbc7);case _0x18de31(0x1e1):return(0x0,react_jsx_runtime[_0x18de31(0x3aa)])(_0x18de31(0x3f6),{'className':'univer-flex\x20univer-flex-1\x20univer-flex-col\x20univer-justify-between','children':[(0x0,react_jsx_runtime[_0x18de31(0x624)])(_0x18de31(0x3f6),{'className':_0x18de31(0x27b),'children':_0x2efd4f(_0x18de31(0x331),_0x2efd4f('chart.dataPoint'))}),(0x0,react_jsx_runtime[_0x18de31(0x624)])(ColorPickerControl,{'color':_0x48149a[_0x18de31(0x1e1)],'onChange':_0x3cb6cf=>_0x3a2428===null||_0x3a2428===void 0x0?void 0x0:_0x3a2428(_0x18de31(0x1e1),_0x3cb6cf)})]},_0x22dbc7);}return null;}),_0x4b5ffa=[];for(let _0x18b677=0x0;_0x18b677<_0x2ff85['length'];_0x18b677+=0x2)_0x4b5ffa['push']((0x0,react_jsx_runtime['jsxs'])(_0xd95e7(0x3f6),{'className':_0xd95e7(0x1aa),'children':[_0x2ff85[_0x18b677],_0x18b677+0x1<_0x2ff85[_0xd95e7(0x3db)]?_0x2ff85[_0x18b677+0x1]:(0x0,react_jsx_runtime[_0xd95e7(0x624)])(_0xd95e7(0x3f6),{'className':'univer-flex\x20univer-flex-1\x20univer-flex-col\x20univer-justify-between'})]},_0x18b677));return(0x0,react_jsx_runtime[_0xd95e7(0x624)])(react_jsx_runtime[_0xd95e7(0x263)],{'children':[..._0x4b5ffa]});},AxisControl=_0x5ed5f1=>{const _0x1be269=_0x5db780,{localeService:_0x251fec,rightYAxis:_0x288aa6,onSeriesStyleChange:_0x48685a}=_0x5ed5f1,{t:_0xc86d8}=_0x251fec;return(0x0,react_jsx_runtime[_0x1be269(0x624)])('div',{'className':_0x1be269(0x1aa),'children':(0x0,react_jsx_runtime[_0x1be269(0x624)])(_0x1be269(0x3f6),{'className':_0x1be269(0x5de),'children':(0x0,react_jsx_runtime[_0x1be269(0x624)])(_univerjs_design[_0x1be269(0x1a0)],{'checked':_0x288aa6,'onChange':_0x1bf76f=>{_0x48685a===null||_0x48685a===void 0x0||_0x48685a({'rightYAxis':Boolean(_0x1bf76f)});},'children':_0xc86d8(_0x1be269(0x3e5))})})});},fallbackPointStyle={'shape':_univerjs_pro_engine_chart[_0x5db780(0x3fc)][_0x5db780(0x30f)]['shape'],'size':_univerjs_pro_engine_chart[_0x5db780(0x3fc)][_0x5db780(0x30f)][_0x5db780(0x475)],'color':_0x5db780(0x39e)},linePointControls$2=[_0x5db780(0x476),'size'],DataPointsEdit=_0x47fe98=>{const _0x1339f5=_0x5db780,{chartType:_0x1ee5e8,data:_0x2e1339,options:_0x123184,localeService:_0x1d8c3c,onChange:_0x3a9d29}=_0x47fe98,{t:_0xf04ba1}=_0x1d8c3c,_0x34a914=_0x1ee5e8===_univerjs_pro_engine_chart[_0x1339f5(0x5c6)]['Line'],_0xc108ee=_0x2e1339!==null&&_0x2e1339!==void 0x0?_0x2e1339:{};return(0x0,react_jsx_runtime[_0x1339f5(0x624)])(_0x1339f5(0x3f6),{'className':_0x1339f5(0x408),'children':Object[_0x1339f5(0x48c)](_0xc108ee)[_0x1339f5(0x20f)](_0x1a65d9=>{return{'key':_0x1a65d9,'style':_0xc108ee[Number(_0x1a65d9)]};})[_0x1339f5(0x20f)](_0x25a12d=>{const _0x3ec064=_0x1339f5;var _0xd21550;const {style:_0x6931af}=_0x25a12d;if(_0x6931af===void 0x0)return null;return(0x0,react_jsx_runtime[_0x3ec064(0x3aa)])('div',{'className':_0x3ec064(0x532),'children':[(0x0,react_jsx_runtime[_0x3ec064(0x3aa)])('div',{'className':_0x3ec064(0x1aa),'children':[(0x0,react_jsx_runtime[_0x3ec064(0x3aa)])(_0x3ec064(0x3f6),{'className':'univer-flex\x20univer-flex-1\x20univer-flex-col\x20univer-justify-between','children':[(0x0,react_jsx_runtime[_0x3ec064(0x624)])(_0x3ec064(0x3f6),{'className':'univer-mb-2\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0xf04ba1(_0x3ec064(0x2b7))}),(0x0,react_jsx_runtime[_0x3ec064(0x624)])(_univerjs_design[_0x3ec064(0x1d8)],{'className':'univer-w-full\x20!univer-min-w-0','value':_0x25a12d[_0x3ec064(0x4ed)],'options':_0x123184,'onChange':_0x1a6bc4=>{const _0x2cdf2a=_0x3ec064;_0x3a9d29===null||_0x3a9d29===void 0x0||_0x3a9d29({[_0x25a12d[_0x2cdf2a(0x4ed)]]:void 0x0,[Number(_0x1a6bc4)]:_0x25a12d['style']});}})]}),(0x0,react_jsx_runtime[_0x3ec064(0x3aa)])('div',{'className':_0x3ec064(0x5de),'children':[(0x0,react_jsx_runtime['jsx'])(_0x3ec064(0x3f6),{'className':_0x3ec064(0x27b),'children':_0xf04ba1('chart.color')}),(0x0,react_jsx_runtime['jsx'])(ColorPickerControl,{'color':(_0xd21550=_0x6931af===null||_0x6931af===void 0x0?void 0x0:_0x6931af[_0x3ec064(0x1e1)])!==null&&_0xd21550!==void 0x0?_0xd21550:'','onChange':_0x47377a=>{const _0x3f0c43=_0x3ec064;_0x3a9d29===null||_0x3a9d29===void 0x0||_0x3a9d29({[_0x25a12d[_0x3f0c43(0x4ed)]]:{'color':_0x47377a}});}})]}),(0x0,react_jsx_runtime[_0x3ec064(0x624)])(_univerjs_design['Button'],{'className':_0x3ec064(0x4e9),'variant':'text','onClick':()=>_0x3a9d29===null||_0x3a9d29===void 0x0?void 0x0:_0x3a9d29({[_0x25a12d['key']]:void 0x0}),'children':(0x0,react_jsx_runtime[_0x3ec064(0x624)])(_univerjs_icons[_0x3ec064(0x3d0)],{})})]}),_0x34a914&&(0x0,react_jsx_runtime[_0x3ec064(0x624)])(LinePointOptions,{'pointStyle':{...fallbackPointStyle,..._0x25a12d['style']},'controls':linePointControls$2,'localeService':_0x1d8c3c,'onChange':(_0x2901e0,_0xc79e00)=>_0x3a9d29===null||_0x3a9d29===void 0x0?void 0x0:_0x3a9d29({[_0x25a12d[_0x3ec064(0x4ed)]]:{[_0x2901e0]:_0xc79e00}})})]},_0x25a12d['key']);})});},fallbackLabelStyle$2={'fontSize':_univerjs_pro_engine_chart['defaultChartConfig'][_0x5db780(0x448)]['fontSize'],'contentType':_univerjs_pro_engine_chart['defaultChartConfig'][_0x5db780(0x281)],'position':_univerjs_pro_engine_chart['defaultChartConfig'][_0x5db780(0x448)][_0x5db780(0x453)]},ParetoStyleEdit=_0x45b481=>{const _0xda5740=_0x5db780,{localeService:_0x5a2def,service:_0xc36a8f,isLineSeries:_0x598f7d}=_0x45b481,{t:_0x87844c}=_0x5a2def,[_0x25b06b]=useChartConfigState(_0xda5740(0x58e),_0xc36a8f),[_0x5e9c90,_0x3f4dc4]=useChartConfigState(_0xda5740(0x1ad),_0xc36a8f),_0x457002=[_0xda5740(0x476),_0xda5740(0x475),_0xda5740(0x1e1)],[_0x54e48e]=useChartConfigState(_0xda5740(0x642),_0xc36a8f),_0xe7cc66=_0x360426=>{_0x3f4dc4({'lineStyle':{..._0x360426}});},_0x47e92f=_0x550df8=>{_0x3f4dc4({'barStyle':{..._0x550df8}});},_0xdf2764=_0x598f7d?_0xe7cc66:_0x47e92f,_0x27ceb8=_univerjs_pro_engine_chart['defaultChartConfig']['borderStyle'],_0x13032b=_0x598f7d?_0x5e9c90===null||_0x5e9c90===void 0x0?void 0x0:_0x5e9c90[_0xda5740(0x1a4)]:_0x5e9c90===null||_0x5e9c90===void 0x0?void 0x0:_0x5e9c90['barStyle'],_0x1c3306=_0x13032b===null||_0x13032b===void 0x0?void 0x0:_0x13032b[_0xda5740(0x22a)],_0x337757=_0x2f9693=>{const _0x36b2ae=_0xda5740;if(_0x13032b&&_0x13032b[_0x36b2ae(0x22a)]&&_0x13032b[_0x36b2ae(0x22a)][_0x2f9693])return;_0xdf2764({'dataPoints':{[_0x2f9693]:{}}});},_0x31afff=_0x7d6ad0=>{_0xdf2764({'dataPoints':_0x7d6ad0});},_0x5f000e=useTranslatedOptions(_0x5a2def,dataLabelPositionOptions),_0xfbaff6=(0x0,react[_0xda5740(0x3dc)])(()=>{return labelContentOptions['map'](_0x501433=>{const _0x1ebe7f=_0x3299;return{'value':_0x501433['value'],'label':_0x5a2def['t'](_0x501433[_0x1ebe7f(0x517)])};});},[_0x5a2def]),_0x587b02=Object[_0xda5740(0x384)]({'color':'transparent','opacity':_0x27ceb8[_0xda5740(0x3fb)],'width':_0x598f7d?_0x27ceb8[_0xda5740(0x53f)]['lineOrArea']:_0x27ceb8['width'],'dashType':_0x27ceb8[_0xda5740(0x31e)]},_0x13032b===null||_0x13032b===void 0x0?void 0x0:_0x13032b[_0xda5740(0x352)]),_0x1021b3=Object[_0xda5740(0x384)]({'shape':_univerjs_pro_engine_chart[_0xda5740(0x3fc)][_0xda5740(0x30f)][_0xda5740(0x476)],'size':_univerjs_pro_engine_chart[_0xda5740(0x3fc)][_0xda5740(0x60f)][_0xda5740(0x4e6)],'color':_0xda5740(0x39e)},_0x25b06b===null||_0x25b06b===void 0x0?void 0x0:_0x25b06b['point'],_0x13032b===null||_0x13032b===void 0x0?void 0x0:_0x13032b[_0xda5740(0x30f)]),_0x2fab90=Object['assign']({},_0x13032b===null||_0x13032b===void 0x0?void 0x0:_0x13032b[_0xda5740(0x517)]);return(0x0,react_jsx_runtime[_0xda5740(0x3aa)])('section',{'className':_0xda5740(0x1b2),'children':[(0x0,react_jsx_runtime[_0xda5740(0x624)])(FillOptions,{'chartType':_univerjs_pro_engine_chart[_0xda5740(0x5c6)][_0xda5740(0x383)],'allSeriesStyle':_0x25b06b,'controlName':_0x87844c(_0x598f7d?_0xda5740(0x3a6):_0xda5740(0x232)),'seriesStyle':_0x13032b,'onSeriesStyleChange':_0xdf2764,'localeService':_0x5a2def}),(0x0,react_jsx_runtime[_0xda5740(0x624)])(BorderOptions,{'isLineOrAreaChart':_0x598f7d,'allSeriesBorderStyle':_0x13032b===null||_0x13032b===void 0x0?void 0x0:_0x13032b['border'],'hideBorder':!_0x598f7d,'controlName':_0x87844c(_0x598f7d?_0xda5740(0x3a6):'chart.border'),'borderStyle':_0x587b02,'onSeriesStyleChange':_0xdf2764,'localeService':_0x5a2def}),_0x598f7d&&(0x0,react_jsx_runtime[_0xda5740(0x624)])(LinePointOptions,{'pointStyle':_0x1021b3,'onChange':(_0x211ef9,_0x2fb1b0)=>_0xdf2764({'point':{[_0x211ef9]:_0x2fb1b0}}),'controls':_0x457002,'localeService':_0x5a2def}),!_0x598f7d&&(0x0,react_jsx_runtime[_0xda5740(0x3aa)])(react_jsx_runtime[_0xda5740(0x263)],{'children':[(0x0,react_jsx_runtime[_0xda5740(0x3aa)])('div',{'className':'univer-mb-2\x20univer-box-border\x20univer-flex\x20univer-justify-between\x20univer-gap-2','children':[(0x0,react_jsx_runtime[_0xda5740(0x624)])(_0xda5740(0x3f6),{'className':_0xda5740(0x5de),'children':(0x0,react_jsx_runtime[_0xda5740(0x624)])(_0xda5740(0x3f6),{'className':_0xda5740(0x5ff),'children':_0x87844c(_0xda5740(0x5c0),_0x87844c(_0xda5740(0x2b7)))})}),(0x0,react_jsx_runtime[_0xda5740(0x624)])('div',{'className':_0xda5740(0x5de),'children':(0x0,react_jsx_runtime[_0xda5740(0x624)])(DropdownSelector,{'value':'','menus':_0x54e48e!==null&&_0x54e48e!==void 0x0?_0x54e48e:[],'onSelect':_0x42479a=>_0x337757(+_0x42479a),'children':(0x0,react_jsx_runtime[_0xda5740(0x3aa)])(_0xda5740(0x3f6),{'className':_0xda5740(0x2d8),'children':[(0x0,react_jsx_runtime['jsx'])(_univerjs_icons[_0xda5740(0x249)],{}),(0x0,react_jsx_runtime[_0xda5740(0x624)])(_0xda5740(0x2c2),{'children':_0x87844c(_0xda5740(0x632))})]})})})]}),_0x1c3306&&(0x0,react_jsx_runtime[_0xda5740(0x624)])(DataPointsEdit,{'chartType':_univerjs_pro_engine_chart['ChartTypeBits'][_0xda5740(0x383)],'data':_0x1c3306,'options':_0x54e48e!==null&&_0x54e48e!==void 0x0?_0x54e48e:[],'onChange':_0x31afff,'localeService':_0x5a2def})]}),(0x0,react_jsx_runtime[_0xda5740(0x624)])(_0xda5740(0x3f6),{'className':_0xda5740(0x546),'children':(0x0,react_jsx_runtime[_0xda5740(0x624)])(DataLabelOptions,{'localeService':_0x5a2def,'fallbackLabelStyle':fallbackLabelStyle$2,'labelStyle':_0x2fab90,'positionOptions':_0x5f000e,'contentTypeOptions':_0xfbaff6,'onLabelStyleChange':(_0x2aacba,_0x13dbf6)=>_0xdf2764({'label':{[_0x2aacba]:_0x13dbf6}}),'onVisibleChange':_0x58b9db=>_0xdf2764({'label':{'visible':_0x58b9db}}),'isPieLike':![],'chartType':_univerjs_pro_engine_chart[_0xda5740(0x5c6)][_0xda5740(0x383)]})})]});},PieChartStyleEdit=_0x2fad68=>{const _0x357016=_0x5db780,{chartType:_0x5a4996,service:_0x1d32a4,localeService:_0x242112,onChartTypeChange:_0x672891}=_0x2fad68,[_0x3a8add,_0x379796]=useChartConfigState(_0x357016(0x5be),_0x1d32a4),[_0x141874,_0x2dba7b]=useChartConfigState(_0x357016(0x1ec),_0x1d32a4),[_0x19a7c6,_0x12d458]=useChartConfigState(_0x357016(0x32b),_0x1d32a4),[_0x2bb69c,_0x1c901c]=useChartConfigState(_0x357016(0x44f),_0x1d32a4),[_0x645d4c,_0x171351]=useChartConfigState(_0x357016(0x338),_0x1d32a4),[_0x29be78,_0x5cec82]=useChartConfigState(_0x357016(0x587),_0x1d32a4),[_0x400580,_0x219f09]=useChartConfigState('valueScale',_0x1d32a4),[_0x5c6f71,_0x9f4b6a]=useChartConfigState('valueSuffix',_0x1d32a4),[_0x184e69,_0x3c0fa8]=useChartConfigState(_0x357016(0x2a5),_0x1d32a4),[_0x5a0e27,_0x780dbf]=(0x0,react[_0x357016(0x32e)])(_0x5c6f71||''),_0x5bea4c=_0x5a4996===_univerjs_pro_engine_chart[_0x357016(0x5c6)][_0x357016(0x554)]?_univerjs_pro_engine_chart['defaultChartConfig'][_0x357016(0x324)]['doughnutHole']:0x0,[_0xfe7f46,_0x11748f]=useChartConfigState(_0x357016(0x54f),_0x1d32a4),_0x1eeb2f=useTranslatedOptions(_0x242112,pieDataLabelPositionOptions),_0x4d1456=useTranslatedOptions(_0x242112,pieLabelContentOptions),_0x1787b2=(0x0,_univerjs_ui[_0x357016(0x2a6)])(_univerjs_core['IContextService']),_0x594c78=(0x0,react[_0x357016(0x3dc)])(()=>{const _0x12f9b5=_0x357016;return{'visible':!![],'contentType':_univerjs_pro_engine_chart[_0x12f9b5(0x3fc)][_0x12f9b5(0x324)][_0x12f9b5(0x281)],'fontSize':_univerjs_pro_engine_chart[_0x12f9b5(0x3fc)][_0x12f9b5(0x448)]['fontSize'],'position':_univerjs_pro_engine_chart[_0x12f9b5(0x600)][_0x12f9b5(0x4e0)]};},[]),_0x59140f=(0x0,react['useCallback'])(_0x32a399=>{const _0xe94312=_0x357016,_0x14105d=Number(_0x32a399),_0x4a8eb1=_0x14105d>0x0?_univerjs_pro_engine_chart[_0xe94312(0x5c6)][_0xe94312(0x554)]:_univerjs_pro_engine_chart[_0xe94312(0x5c6)]['Pie'];if(_0x4a8eb1!==_0x5a4996)_0x672891===null||_0x672891===void 0x0||_0x672891(_0x4a8eb1);_0x11748f(_0x14105d);},[_0x5a4996,_0x672891]),{t:_0x22bbdf}=_0x242112;return(0x0,react_jsx_runtime['jsxs'])('div',{'className':'univer-box-border\x20univer-px-4\x20univer-pb-2.5\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':[(0x0,react_jsx_runtime[_0x357016(0x3aa)])('div',{'className':_0x357016(0x45a),'children':[(0x0,react_jsx_runtime[_0x357016(0x3aa)])(_0x357016(0x3f6),{'className':_0x357016(0x5de),'children':[(0x0,react_jsx_runtime[_0x357016(0x624)])(_0x357016(0x3f6),{'className':_0x357016(0x27b),'children':_0x22bbdf(_0x357016(0x550))}),(0x0,react_jsx_runtime[_0x357016(0x624)])(_univerjs_design[_0x357016(0x1d8)],{'className':_0x357016(0x226),'value':_0xfe7f46?String(_0xfe7f46):_0x5bea4c*0x64+'%','options':pieDonutHoleOptions,'onChange':_0x59140f})]}),(0x0,react_jsx_runtime[_0x357016(0x3aa)])(_0x357016(0x3f6),{'className':'univer-flex\x20univer-flex-1\x20univer-flex-col\x20univer-justify-between','children':[(0x0,react_jsx_runtime[_0x357016(0x624)])(_0x357016(0x3f6),{'className':_0x357016(0x27b),'children':_0x22bbdf(_0x357016(0x331),_0x22bbdf('chart.border'))}),(0x0,react_jsx_runtime[_0x357016(0x624)])(ColorPickerControl,{'color':_0x3a8add!==null&&_0x3a8add!==void 0x0?_0x3a8add:'','onChange':_0x379796})]})]}),(0x0,react_jsx_runtime[_0x357016(0x3aa)])(_0x357016(0x3f6),{'className':_0x357016(0x5de),'children':[(0x0,react_jsx_runtime['jsx'])(_0x357016(0x3f6),{'className':_0x357016(0x27b),'children':_0x22bbdf('chart.styleEditPanel.pieValScale')}),(0x0,react_jsx_runtime['jsxs'])(_0x357016(0x3f6),{'className':_0x357016(0x1aa),'children':[(0x0,react_jsx_runtime[_0x357016(0x3aa)])('div',{'className':'univer-flex\x20univer-flex-1\x20univer-flex-col\x20univer-justify-between','children':[(0x0,react_jsx_runtime['jsx'])(_0x357016(0x3f6),{'className':_0x357016(0x27b),'children':_0x22bbdf(_0x357016(0x1d4))}),(0x0,react_jsx_runtime[_0x357016(0x624)])(_univerjs_design[_0x357016(0x537)],{'value':_0x400580!==null&&_0x400580!==void 0x0?_0x400580:0x1,'onChange':_0x5cfab5=>{const _0x2aa870=_0x357016;_0x1787b2[_0x2aa870(0x40f)](_univerjs_core[_0x2aa870(0x28e)],![]),_0x219f09(Number[_0x2aa870(0x228)](_0x5cfab5)?null:Number(_0x5cfab5));},'onFocus':()=>_0x1787b2[_0x357016(0x40f)](_univerjs_core[_0x357016(0x28e)],!![]),'onBlur':_0x4ebdb0=>{const _0x567132=_0x357016;_0x1787b2[_0x567132(0x40f)](_univerjs_core[_0x567132(0x28e)],![]);const _0x4c1694=_0x4ebdb0[_0x567132(0x449)][_0x567132(0x1f4)];_0x219f09(_0x4c1694===''?null:Number(_0x4c1694));},'onPressEnter':_0x161562=>{const _0x4a37ab=_0x357016,_0x239e2e=_0x161562['target'][_0x4a37ab(0x1f4)];_0x219f09(_0x239e2e===''?null:Number(_0x239e2e));}})]}),(0x0,react_jsx_runtime[_0x357016(0x3aa)])('div',{'className':_0x357016(0x5de),'children':[(0x0,react_jsx_runtime['jsx'])(_0x357016(0x3f6),{'className':_0x357016(0x27b),'children':_0x22bbdf(_0x357016(0x394))}),(0x0,react_jsx_runtime[_0x357016(0x624)])(_univerjs_design[_0x357016(0x537)],{'value':_0x184e69!==null&&_0x184e69!==void 0x0?_0x184e69:0x1,'onChange':_0x2dfa8f=>{const _0x33ea73=_0x357016;_0x1787b2['setContextValue'](_univerjs_core[_0x33ea73(0x28e)],![]),_0x3c0fa8(Number[_0x33ea73(0x228)](_0x2dfa8f)?null:Number(_0x2dfa8f));},'onFocus':()=>_0x1787b2[_0x357016(0x40f)](_univerjs_core['FOCUSING_PANEL_EDITOR'],!![]),'onBlur':_0xf1c7d4=>{const _0x20e710=_0x357016;_0x1787b2[_0x20e710(0x40f)](_univerjs_core['FOCUSING_PANEL_EDITOR'],![]);const _0x58c9ca=_0xf1c7d4['target'][_0x20e710(0x1f4)];_0x3c0fa8(_0x58c9ca===''?null:Number(_0x58c9ca));},'onPressEnter':_0x2ad9a5=>{const _0x297685=_0x357016,_0x4aebe7=_0x2ad9a5['target'][_0x297685(0x1f4)];_0x3c0fa8(_0x4aebe7===''?null:Number(_0x4aebe7));}})]}),(0x0,react_jsx_runtime[_0x357016(0x3aa)])('div',{'className':'univer-flex\x20univer-flex-1\x20univer-flex-col\x20univer-justify-between','children':[(0x0,react_jsx_runtime[_0x357016(0x624)])(_0x357016(0x3f6),{'className':'univer-mb-2\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x22bbdf(_0x357016(0x1e7))}),(0x0,react_jsx_runtime['jsx'])(_univerjs_design[_0x357016(0x1d3)],{'className':'univer-w-full\x20!univer-min-w-0','value':_0x5a0e27,'onChange':_0x780dbf,'onFocus':()=>{const _0x52ba01=_0x357016;_0x1787b2['setContextValue'](_univerjs_core[_0x52ba01(0x28e)],!![]);},'onBlur':()=>{const _0x447617=_0x357016;_0x1787b2[_0x447617(0x40f)](_univerjs_core['FOCUSING_PANEL_EDITOR'],![]),_0x9f4b6a(_0x5a0e27);}})]})]})]}),(0x0,react_jsx_runtime[_0x357016(0x624)])(DataLabelOptions,{'localeService':_0x242112,'chartType':_0x5a4996,'fallbackLabelStyle':_0x594c78,'labelStyle':_0x141874!==null&&_0x141874!==void 0x0?_0x141874:{},'onVisibleChange':_0xa7cc9d=>_0x2dba7b({'visible':_0xa7cc9d}),'onLabelStyleChange':(_0x1b6947,_0x324226)=>_0x2dba7b({[_0x1b6947]:_0x324226}),'positionOptions':_0x1eeb2f,'contentTypeOptions':_0x4d1456,'onPadAngleChange':_0x54caf1=>_0x12d458(_0x54caf1),'padAngleStyle':_0x19a7c6,'onHalfPieChange':_0x3e6a3e=>_0x1c901c(_0x3e6a3e),'isHalfPie':_0x2bb69c,'isRosePie':_0x645d4c,'onRosePieChange':_0x565a64=>_0x171351(_0x565a64),'onShowLabelLineChange':_0x21899a=>_0x5cec82(_0x21899a),'showLabelLine':_0x29be78,'isPieLike':!![]})]});};function RelationEdit(_0xedbe5d){const _0x3637f4=_0x5db780;var _0x4d63bf,_0x2fdb3d;const {localeService:_0x351718,service:_0xd2c8b4}=_0xedbe5d,_0x2b4d70=(0x0,_univerjs_ui['useDependency'])(_univerjs_core[_0x3637f4(0x3a5)]),_0x5c55cb=_0x351718['t'],_0x166359=useTranslatedOptions(_0x351718,RelationLayoutOptions),[_0x60812a,_0x1f062e]=useChartConfigState('relationLayout',_0xd2c8b4),[_0x5eb466,_0x32d66e]=useChartConfigState(_0x3637f4(0x2a4),_0xd2c8b4),[_0x594ec3,_0x3dee26]=useChartConfigState(_0x3637f4(0x357),_0xd2c8b4),[_0x3d4f20,_0x296411]=useChartConfigState(_0x3637f4(0x1b6),_0xd2c8b4),[_0x591dfe,_0x32726a]=useChartConfigState(_0x3637f4(0x4a6),_0xd2c8b4),_0x610af5=_0x301cac=>{_0x296411({..._0x3d4f20,..._0x301cac});},_0x249265=_0x49f5bf=>{_0x1f062e(_0x49f5bf);},_0xf9d5a5=_0x60812a===_univerjs_pro_engine_chart[_0x3637f4(0x5d6)][_0x3637f4(0x237)],_0x1713bb=_0x60812a===_univerjs_pro_engine_chart[_0x3637f4(0x5d6)][_0x3637f4(0x25e)],_0x49834f=useTranslatedOptions(_0x351718,linePointShapeOptions),[_0x114110,_0x712ff5]=useChartConfigState('relationNodeShape',_0xd2c8b4);return(0x0,react_jsx_runtime[_0x3637f4(0x3aa)])(_0x3637f4(0x3f6),{'children':[(0x0,react_jsx_runtime['jsxs'])(_0x3637f4(0x3f6),{'className':_0x3637f4(0x1b4),'children':[(0x0,react_jsx_runtime[_0x3637f4(0x624)])(_0x3637f4(0x3f6),{'className':_0x3637f4(0x27b),'children':_0x5c55cb('chart.dataNodeShape')}),(0x0,react_jsx_runtime[_0x3637f4(0x624)])(_univerjs_design['Select'],{'className':'univer-w-full\x20!univer-min-w-0','value':String(_0x114110!==null&&_0x114110!==void 0x0?_0x114110:_univerjs_pro_engine_chart[_0x3637f4(0x3fc)][_0x3637f4(0x508)][_0x3637f4(0x1e6)]),'options':_0x49834f,'onChange':_0x37f91d=>_0x712ff5(_0x37f91d)})]},_0x3637f4(0x476)),(0x0,react_jsx_runtime[_0x3637f4(0x624)])(_0x3637f4(0x3f6),{'children':(0x0,react_jsx_runtime['jsx'])(_univerjs_design[_0x3637f4(0x1a0)],{'checked':_0x5eb466!==null&&_0x5eb466!==void 0x0?_0x5eb466:!![],'onChange':_0x2a47ba=>{_0x32d66e===null||_0x32d66e===void 0x0||_0x32d66e(Boolean(_0x2a47ba));},'children':_0x5c55cb(_0x3637f4(0x225))})}),(0x0,react_jsx_runtime['jsx'])(_0x3637f4(0x3f6),{'className':_0x3637f4(0x354),'children':(0x0,react_jsx_runtime[_0x3637f4(0x624)])(_univerjs_design[_0x3637f4(0x1a0)],{'checked':_0x594ec3!==null&&_0x594ec3!==void 0x0?_0x594ec3:!![],'onChange':_0x192833=>{_0x3dee26(Boolean(_0x192833));},'children':_0x5c55cb(_0x3637f4(0x484))})}),(0x0,react_jsx_runtime[_0x3637f4(0x624)])('div',{'className':_0x3637f4(0x3d4),'children':_0x5c55cb(_0x3637f4(0x45b))}),(0x0,react_jsx_runtime['jsx'])(_univerjs_design[_0x3637f4(0x1d8)],{'className':'univer-w-full\x20!univer-min-w-0','value':_0x60812a!==null&&_0x60812a!==void 0x0?_0x60812a:_univerjs_pro_engine_chart[_0x3637f4(0x5d6)][_0x3637f4(0x4e1)],'options':_0x166359,'onChange':_0x249265}),_0xf9d5a5&&(0x0,react_jsx_runtime['jsxs'])(_0x3637f4(0x3f6),{'className':'univer-mt-4','children':[(0x0,react_jsx_runtime['jsx'])(_0x3637f4(0x3f6),{'className':_0x3637f4(0x27b),'children':_0x5c55cb(_0x3637f4(0x63b))}),(0x0,react_jsx_runtime['jsxs'])(_0x3637f4(0x3f6),{'className':_0x3637f4(0x41b),'children':[(0x0,react_jsx_runtime['jsx'])(_0x3637f4(0x3f6),{'className':_0x3637f4(0x198),'children':_0x5c55cb('chart.relation.repulsion')}),(0x0,react_jsx_runtime[_0x3637f4(0x624)])(_univerjs_design[_0x3637f4(0x537)],{'className':'univer-flex-1','controls':![],'onFocus':()=>_0x2b4d70[_0x3637f4(0x40f)](_univerjs_core[_0x3637f4(0x28e)],!![]),'onBlur':_0x2c2dbc=>{_0x2b4d70['setContextValue'](_univerjs_core['FOCUSING_PANEL_EDITOR'],![]);},'value':(_0x4d63bf=_0x3d4f20===null||_0x3d4f20===void 0x0?void 0x0:_0x3d4f20[_0x3637f4(0x57d)])!==null&&_0x4d63bf!==void 0x0?_0x4d63bf:_univerjs_pro_engine_chart['defaultChartConfig'][_0x3637f4(0x508)][_0x3637f4(0x48e)][_0x3637f4(0x57d)],'onChange':_0x58e886=>_0x610af5({'repulsion':_0x58e886})})]}),(0x0,react_jsx_runtime[_0x3637f4(0x3aa)])('div',{'className':'univer-mb-2\x20univer-flex\x20univer-flex-1\x20univer-flex-row\x20univer-justify-between','children':[(0x0,react_jsx_runtime[_0x3637f4(0x624)])(_0x3637f4(0x3f6),{'className':'univer-flex-1','children':_0x5c55cb('chart.relation.gravity')}),(0x0,react_jsx_runtime['jsx'])(_univerjs_design[_0x3637f4(0x537)],{'className':_0x3637f4(0x198),'controls':![],'onFocus':()=>_0x2b4d70[_0x3637f4(0x40f)](_univerjs_core['FOCUSING_PANEL_EDITOR'],!![]),'onBlur':_0x2e7c59=>{const _0x48c26f=_0x3637f4;_0x2b4d70[_0x48c26f(0x40f)](_univerjs_core[_0x48c26f(0x28e)],![]);},'value':(_0x2fdb3d=_0x3d4f20===null||_0x3d4f20===void 0x0?void 0x0:_0x3d4f20[_0x3637f4(0x346)])!==null&&_0x2fdb3d!==void 0x0?_0x2fdb3d:_univerjs_pro_engine_chart[_0x3637f4(0x3fc)]['relation']['force'][_0x3637f4(0x346)],'onChange':_0x346e24=>_0x610af5({'gravity':_0x346e24})})]}),(0x0,react_jsx_runtime[_0x3637f4(0x3aa)])(_0x3637f4(0x3f6),{'className':'univer-mb-2\x20univer-flex\x20univer-flex-1\x20univer-flex-row\x20univer-justify-between','children':[(0x0,react_jsx_runtime[_0x3637f4(0x624)])('div',{'className':_0x3637f4(0x198),'children':_0x5c55cb('chart.relation.edgeLength')}),(0x0,react_jsx_runtime['jsx'])(_univerjs_design[_0x3637f4(0x537)],{'className':_0x3637f4(0x198),'controls':![],'value':_0x3d4f20===null||_0x3d4f20===void 0x0?void 0x0:_0x3d4f20['edgeLength'],'onFocus':()=>_0x2b4d70[_0x3637f4(0x40f)](_univerjs_core[_0x3637f4(0x28e)],!![]),'onBlur':_0x4fc365=>{const _0x30bf46=_0x3637f4;_0x2b4d70[_0x30bf46(0x40f)](_univerjs_core[_0x30bf46(0x28e)],![]);},'onChange':_0xce8898=>_0x610af5({'edgeLength':_0xce8898}),'min':0x0,'step':0xa})]})]}),_0x1713bb&&(0x0,react_jsx_runtime[_0x3637f4(0x624)])(_0x3637f4(0x3f6),{'className':_0x3637f4(0x546),'children':(0x0,react_jsx_runtime['jsx'])(_univerjs_design[_0x3637f4(0x1a0)],{'checked':_0x591dfe!==null&&_0x591dfe!==void 0x0?_0x591dfe:_univerjs_pro_engine_chart[_0x3637f4(0x3fc)]['relation']['circular'][_0x3637f4(0x4a6)],'onChange':_0x37a8d8=>{_0x32726a(Boolean(_0x37a8d8));},'children':_0x5c55cb('chart.relation.rotateLabel')})})]});}const defaultCombination=_univerjs_pro_engine_chart['defaultChartConfig'][_0x5db780(0x563)];function useSeriesChartType(_0xfe1db3,_0x2053c5,_0x410a65){const _0x2974be=_0x5db780,[_0x22e45e]=useChartConfigState(_0x2974be(0x50a),_0x410a65),[_0x208a55]=useChartConfigState(_0x2974be(0x3ff),_0x410a65),_0x38f0f9=_0x2053c5===_univerjs_pro_engine_chart['defaultChartConfig'][_0x2974be(0x4ab)],_0x3ebb1b=_0x22e45e===null||_0x22e45e===void 0x0?void 0x0:_0x22e45e[_0x2053c5];if(_0xfe1db3!==_univerjs_pro_engine_chart[_0x2974be(0x5c6)]['Combination'])return _0xfe1db3;if(_0x38f0f9){const _0x4986f2=()=>{const _0xf605d1=_0x2974be,_0x50285e=_0x208a55===null||_0x208a55===void 0x0?void 0x0:_0x208a55['map']((_0x2c8547,_0x583f3e)=>{const _0x26e85e=_0x3299;var _0x9dbd17;const _0x543799=_0x22e45e===null||_0x22e45e===void 0x0?void 0x0:_0x22e45e[_0x2c8547],_0x1d44e3=_0x583f3e===0x0?defaultCombination[_0x26e85e(0x1c8)]:defaultCombination['otherChartType'];return(_0x9dbd17=_0x543799===null||_0x543799===void 0x0?void 0x0:_0x543799['chartType'])!==null&&_0x9dbd17!==void 0x0?_0x9dbd17:_0x1d44e3;}),_0x137090=_0x50285e===null||_0x50285e===void 0x0?void 0x0:_0x50285e[0x0];return(_0x50285e===null||_0x50285e===void 0x0?void 0x0:_0x50285e['every'](_0x228544=>_0x228544===_0x137090))?_0x137090:_univerjs_pro_engine_chart[_0xf605d1(0x5c6)][_0xf605d1(0x4e1)];};return _0x4986f2();}const _0x1fe5b4=()=>{const _0x3201be=_0x2974be;var _0x490579;const _0x7ee014=_0x2053c5===String(_0x208a55===null||_0x208a55===void 0x0?void 0x0:_0x208a55[0x0])?defaultCombination[_0x3201be(0x1c8)]:defaultCombination[_0x3201be(0x575)];return(_0x490579=_0x3ebb1b===null||_0x3ebb1b===void 0x0?void 0x0:_0x3ebb1b[_0x3201be(0x26b)])!==null&&_0x490579!==void 0x0?_0x490579:_0x7ee014;};return _0x1fe5b4();}const CombinationChartTypeSelect=_0x1bfddd=>{const _0x2d869f=_0x5db780,{seriesId:_0x464937,service:_0x553d65,localeService:_0x57fc4e}=_0x1bfddd,_0x5060d6=useTranslatedOptions(_0x57fc4e,seriesChartTypeOptions),[_0x7facc,_0x13d271]=useChartConfigState('seriesStyleMap',_0x553d65),[_0x2599de]=useChartConfigState(_0x2d869f(0x3ff),_0x553d65),_0x2af7d1=(0x0,react[_0x2d869f(0x510)])(_0xe68e5e=>{const _0x422707=_0x2d869f,_0x1691f9=Number(_0xe68e5e);if(_0x464937===_univerjs_pro_engine_chart[_0x422707(0x3fc)][_0x422707(0x4ab)]){const _0x8e4880=_0x2599de===null||_0x2599de===void 0x0?void 0x0:_0x2599de['reduce']((_0x10f8e6,_0x2dd921)=>{return _0x10f8e6[String(_0x2dd921)]={'chartType':_0x1691f9},_0x10f8e6;},{});if(!_0x8e4880)return;_0x13d271(_0x8e4880);}else _0x13d271({[_0x464937]:{'chartType':_0x1691f9}});},[_0x464937]),_0x5f5688=useSeriesChartType(_univerjs_pro_engine_chart[_0x2d869f(0x5c6)][_0x2d869f(0x376)],_0x464937,_0x553d65),_0x137185=String(_0x5f5688!==null&&_0x5f5688!==void 0x0?_0x5f5688:'');return(0x0,react_jsx_runtime[_0x2d869f(0x624)])(_univerjs_design[_0x2d869f(0x1d8)],{'className':_0x2d869f(0x226),'value':_0x5f5688===_univerjs_pro_engine_chart['ChartTypeBits'][_0x2d869f(0x4e1)]?'':_0x137185,'options':_0x5060d6,'onChange':_0x2af7d1});},defaultPointStyle={'shape':_univerjs_pro_engine_chart[_0x5db780(0x3fc)]['radar']['symbolType'],'size':_univerjs_pro_engine_chart['defaultChartConfig']['radar'][_0x5db780(0x4e6)],'color':void 0x0},linePointControls$1=['shape',_0x5db780(0x475),_0x5db780(0x1e1)],RadarSeriesPoint=_0xe58f62=>{const _0xbe5873=_0x5db780,{localeService:_0x21fec2,setSeriesStyle:_0xb819e,pointStyle:_0x6b4a85}=_0xe58f62;return(0x0,react_jsx_runtime[_0xbe5873(0x624)])(LinePointOptions,{'pointStyle':{...defaultPointStyle,..._0x6b4a85},'controls':linePointControls$1,'localeService':_0x21fec2,'onChange':(_0x185356,_0x24123a)=>_0xb819e({'point':{[_0x185356]:_0x24123a}})});},fallbackLabelStyle$1={'fontSize':_univerjs_pro_engine_chart[_0x5db780(0x3fc)]['textStyle']['fontSize'],'contentType':_univerjs_pro_engine_chart['defaultChartConfig'][_0x5db780(0x281)],'position':_univerjs_pro_engine_chart['defaultChartConfig'][_0x5db780(0x448)][_0x5db780(0x453)]},allSeriesOptions=[getAllSeriesOption()],defaultBorderStyle=_univerjs_pro_engine_chart[_0x5db780(0x3fc)][_0x5db780(0x29f)],linePointControls=[_0x5db780(0x476),_0x5db780(0x475),_0x5db780(0x1e1)],scatterAllSeriesPointControls=[_0x5db780(0x476),_0x5db780(0x475)],getDefaultBorderWidthByChartType=_0x48bf70=>{const _0x516337=_0x5db780;if((_0x48bf70&_univerjs_pro_engine_chart[_0x516337(0x5c6)][_0x516337(0x1ce)])>0x0||(_0x48bf70&_univerjs_pro_engine_chart[_0x516337(0x5c6)][_0x516337(0x3ce)])>0x0)return defaultBorderStyle[_0x516337(0x53f)]['lineOrArea'];if(_0x48bf70===_univerjs_pro_engine_chart[_0x516337(0x5c6)]['Radar'])return defaultBorderStyle[_0x516337(0x53f)][_0x516337(0x36f)];return defaultBorderStyle[_0x516337(0x292)];},SeriesStyleEdit=_0x3f5f62=>{const _0x44b77e=_0x5db780;var _0x1c82f0,_0xb57448;const {chartType:_0x530c19,service:_0x2b8f6a,localeService:_0x111821}=_0x3f5f62,_0x4e71fa=useTranslatedOptions(_0x111821,dataLabelPositionOptions),_0x5e4cb4=(0x0,react[_0x44b77e(0x3dc)])(()=>{const _0x337056=_0x44b77e;return labelContentOptions[_0x337056(0x197)](_0x38a56b=>{const _0x3f8774=_0x337056;if(_0x530c19===_univerjs_pro_engine_chart[_0x3f8774(0x5c6)]['Radar'])return _0x38a56b['value']!==String(_univerjs_pro_engine_chart[_0x3f8774(0x4f3)]['SeriesName'])&&_0x38a56b[_0x3f8774(0x1f4)]!==String(_univerjs_pro_engine_chart[_0x3f8774(0x4f3)][_0x3f8774(0x52b)]);if(PercentageChartTypes[_0x3f8774(0x4a0)](_0x530c19))return!![];return _0x38a56b[_0x3f8774(0x1f4)]!==String(_univerjs_pro_engine_chart[_0x3f8774(0x4f3)]['Percentage']);})[_0x337056(0x20f)](_0x177585=>{const _0x451122=_0x337056;return{'value':_0x177585[_0x451122(0x1f4)],'label':_0x111821['t'](_0x177585[_0x451122(0x517)])};});},[_0x530c19,_0x111821]),[_0x10d48d]=useTranslatedOptions(_0x111821,allSeriesOptions),[_0x48136c,_0xece9b4]=(0x0,react[_0x44b77e(0x32e)])(_univerjs_pro_engine_chart[_0x44b77e(0x3fc)][_0x44b77e(0x4ab)]),_0x210125=_0x48136c===_univerjs_pro_engine_chart[_0x44b77e(0x3fc)][_0x44b77e(0x4ab)],[_0x591c49,_0x2e4d1e]=useChartConfigState(_0x44b77e(0x58e),_0x2b8f6a),[_0x4e98b1,_0x570d2e]=useChartConfigState('seriesStyleMap',_0x2b8f6a),[_0x15ed0e]=useChartConfigState(_0x44b77e(0x26e),_0x2b8f6a),_0x19834b=_0x4e98b1===null||_0x4e98b1===void 0x0?void 0x0:_0x4e98b1[_0x48136c],[_0x6ad67]=useChartConfigState(_0x44b77e(0x30b),_0x2b8f6a),_0x3bbcda=_0x19834b===null||_0x19834b===void 0x0?void 0x0:_0x19834b['dataPoints'],_0x3cfd25=(0x0,react[_0x44b77e(0x3dc)])(()=>_0x6ad67?[_0x10d48d,..._0x6ad67]:[],[_0x10d48d,_0x6ad67]),_0x554786=_0x530c19?_univerjs_pro_engine_chart[_0x44b77e(0x49c)][_0x44b77e(0x4a0)](_0x530c19,_univerjs_pro_engine_chart[_0x44b77e(0x4f4)][_0x44b77e(0x569)]):![],_0x17c2fd=useSeriesChartType(_0x530c19,_0x48136c,_0x2b8f6a),_0x348553=_0x17c2fd===_univerjs_pro_engine_chart[_0x44b77e(0x5c6)][_0x44b77e(0x1ce)],_0x3f3a26=(_0x17c2fd&_univerjs_pro_engine_chart[_0x44b77e(0x5c6)][_0x44b77e(0x3ce)])>0x0,_0x3baa85=_0x17c2fd===_univerjs_pro_engine_chart[_0x44b77e(0x5c6)][_0x44b77e(0x262)],_0x35d380=_0x17c2fd===_univerjs_pro_engine_chart[_0x44b77e(0x5c6)][_0x44b77e(0x5a9)],_0x4e9259=_0x348553||_0x3f3a26,_0x17e17e=(_0x530c19&_univerjs_pro_engine_chart[_0x44b77e(0x5c6)][_0x44b77e(0x305)])>0x0||_0x3baa85,_0x1716ca=getDefaultBorderWidthByChartType(_0x530c19),_0x4b24d6=(0x0,react[_0x44b77e(0x510)])(_0x2f2a41=>{_0x570d2e({[_0x48136c]:_0x2f2a41});},[_0x48136c]),_0x5231ce=_0x50102a=>{if(_0x210125)_0x2e4d1e(_0x50102a);else _0x4b24d6(_0x50102a);},_0x21bcfa={..._0x19834b===null||_0x19834b===void 0x0?void 0x0:_0x19834b[_0x44b77e(0x352)]},_0x1613fb=Object[_0x44b77e(0x384)]({'color':'transparent','opacity':defaultBorderStyle[_0x44b77e(0x3fb)],'width':_0x1716ca,'dashType':defaultBorderStyle[_0x44b77e(0x31e)]},_0x21bcfa),_0x2ee240=Object[_0x44b77e(0x384)]({'color':_0x44b77e(0x39e),'opacity':defaultBorderStyle[_0x44b77e(0x3fb)],'width':_0x1716ca,'dashType':defaultBorderStyle[_0x44b77e(0x31e)]},_0x591c49===null||_0x591c49===void 0x0?void 0x0:_0x591c49[_0x44b77e(0x352)]),_0x26fd7f=Object[_0x44b77e(0x384)]({'shape':_univerjs_pro_engine_chart[_0x44b77e(0x3fc)][_0x44b77e(0x30f)][_0x44b77e(0x476)],'size':_0x35d380?_univerjs_pro_engine_chart[_0x44b77e(0x3fc)][_0x44b77e(0x30f)][_0x44b77e(0x555)]:_univerjs_pro_engine_chart[_0x44b77e(0x3fc)]['point'][_0x44b77e(0x475)],'color':_0x44b77e(0x39e)},_0x591c49===null||_0x591c49===void 0x0?void 0x0:_0x591c49[_0x44b77e(0x30f)],_0x19834b===null||_0x19834b===void 0x0?void 0x0:_0x19834b[_0x44b77e(0x30f)]),_0x4a951b=_0x210125?(_0x1c82f0=_0x591c49===null||_0x591c49===void 0x0?void 0x0:_0x591c49[_0x44b77e(0x517)])!==null&&_0x1c82f0!==void 0x0?_0x1c82f0:{}:Object[_0x44b77e(0x384)]({},_0x591c49===null||_0x591c49===void 0x0?void 0x0:_0x591c49[_0x44b77e(0x517)],_0x19834b===null||_0x19834b===void 0x0?void 0x0:_0x19834b['label']),_0x34e591=(_0xb57448=_0x19834b===null||_0x19834b===void 0x0?void 0x0:_0x19834b['rightYAxis'])!==null&&_0xb57448!==void 0x0?_0xb57448:_0x591c49===null||_0x591c49===void 0x0?void 0x0:_0x591c49[_0x44b77e(0x34a)],_0xf9b987=_0x17c2fd===_univerjs_pro_engine_chart['ChartTypeBits']['None']||_0x530c19===_univerjs_pro_engine_chart[_0x44b77e(0x5c6)][_0x44b77e(0x376)]&&_0x17c2fd===_univerjs_pro_engine_chart[_0x44b77e(0x5c6)][_0x44b77e(0x3cf)]&&_0x210125,{t:_0x30220d}=_0x111821,_0x4e62e6=(0x0,react['useCallback'])(_0x217455=>{const _0x241f5a=_0x44b77e;if(_0x19834b&&_0x19834b[_0x241f5a(0x22a)]&&_0x19834b[_0x241f5a(0x22a)][_0x217455])return;_0x570d2e({[_0x48136c]:{'dataPoints':{[_0x217455]:{}}}});},[_0x19834b,_0x48136c]),_0x14d49f=(0x0,react[_0x44b77e(0x510)])(_0xdf42c0=>{_0x570d2e({[_0x48136c]:{'dataPoints':_0xdf42c0}});},[_0x48136c]);return(0x0,react_jsx_runtime[_0x44b77e(0x3aa)])(react_jsx_runtime[_0x44b77e(0x263)],{'children':[(0x0,react_jsx_runtime['jsx'])(_0x44b77e(0x3f6),{'className':_0x44b77e(0x1b9),'children':(0x0,react_jsx_runtime[_0x44b77e(0x624)])(_univerjs_design[_0x44b77e(0x1d8)],{'className':'univer-w-full\x20!univer-min-w-0','value':_0x48136c,'onChange':_0x1804a4=>_0xece9b4(_0x1804a4),'options':_0x3cfd25})}),_0x530c19===_univerjs_pro_engine_chart[_0x44b77e(0x5c6)]['Combination']&&(0x0,react_jsx_runtime[_0x44b77e(0x3aa)])(_0x44b77e(0x3f6),{'className':'univer-box-border\x20univer-px-4\x20univer-pb-2.5\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':[(0x0,react_jsx_runtime[_0x44b77e(0x624)])(_0x44b77e(0x3f6),{'className':_0x44b77e(0x5c2),'children':_0x30220d(_0x44b77e(0x543))}),(0x0,react_jsx_runtime[_0x44b77e(0x624)])(CombinationChartTypeSelect,{'seriesId':_0x48136c,'service':_0x2b8f6a,'localeService':_0x111821})]}),(0x0,react_jsx_runtime[_0x44b77e(0x3aa)])(_0x44b77e(0x3f6),{'className':_0x44b77e(0x1b9),'children':[!_0xf9b987&&(0x0,react_jsx_runtime['jsxs'])(react_jsx_runtime[_0x44b77e(0x263)],{'children':[(0x0,react_jsx_runtime['jsx'])('div',{'className':_0x44b77e(0x5ff),'children':_0x30220d(_0x44b77e(0x286))}),(!_0x35d380||_0x35d380&&!_0x210125)&&(0x0,react_jsx_runtime[_0x44b77e(0x624)])(FillOptions,{'chartType':_0x530c19,'allSeriesStyle':_0x591c49,'controlName':_0x30220d(_0x348553?'chart.line':'chart.fill'),'seriesStyle':_0x210125?_0x591c49:_0x19834b,'onSeriesStyleChange':_0x5231ce,'localeService':_0x111821}),!_0x35d380&&(0x0,react_jsx_runtime[_0x44b77e(0x624)])(BorderOptions,{'isLineOrAreaChart':_0x4e9259,'allSeriesBorderStyle':_0x591c49===null||_0x591c49===void 0x0?void 0x0:_0x591c49['border'],'hideBorder':!_0x348553,'controlName':_0x30220d(_0x348553||_0x3baa85?_0x44b77e(0x3a6):_0x44b77e(0x1a3)),'borderStyle':_0x210125?_0x2ee240:_0x1613fb,'onSeriesStyleChange':_0x5231ce,'localeService':_0x111821}),(_0x4e9259||_0x35d380)&&(0x0,react_jsx_runtime[_0x44b77e(0x624)])(LinePointOptions,{'pointStyle':_0x26fd7f,'onChange':(_0x4d04e0,_0x3f307c)=>_0x5231ce({'point':{[_0x4d04e0]:_0x3f307c}}),'controls':_0x210125?scatterAllSeriesPointControls:linePointControls,'localeService':_0x111821})]}),!_0x554786&&!_0x210125&&!_0x17e17e&&(0x0,react_jsx_runtime['jsx'])(AxisControl,{'rightYAxis':Boolean(_0x34e591),'onSeriesStyleChange':_0x5231ce,'localeService':_0x111821})]}),(0x0,react_jsx_runtime[_0x44b77e(0x3aa)])(_0x44b77e(0x3f6),{'className':_0x44b77e(0x1b9),'children':[!_0x210125&&_0x3baa85&&(0x0,react_jsx_runtime[_0x44b77e(0x624)])(RadarSeriesPoint,{'localeService':_0x111821,'pointStyle':_0x19834b===null||_0x19834b===void 0x0?void 0x0:_0x19834b[_0x44b77e(0x30f)],'setSeriesStyle':_0x5231ce}),!_0x210125&&!_0x3baa85&&(0x0,react_jsx_runtime['jsxs'])(react_jsx_runtime['Fragment'],{'children':[(0x0,react_jsx_runtime['jsxs'])('div',{'className':'univer-mb-2\x20univer-box-border\x20univer-flex\x20univer-justify-between\x20univer-gap-2','children':[(0x0,react_jsx_runtime[_0x44b77e(0x624)])('div',{'className':_0x44b77e(0x5de),'children':(0x0,react_jsx_runtime['jsx'])(_0x44b77e(0x3f6),{'className':_0x44b77e(0x5ff),'children':_0x30220d(_0x44b77e(0x5c0),_0x30220d(_0x44b77e(0x2b7)))})}),(0x0,react_jsx_runtime[_0x44b77e(0x624)])(_0x44b77e(0x3f6),{'className':'univer-flex\x20univer-flex-1\x20univer-flex-col\x20univer-justify-between','children':(0x0,react_jsx_runtime[_0x44b77e(0x624)])(DropdownSelector,{'value':_0x48136c,'menus':_0x15ed0e!==null&&_0x15ed0e!==void 0x0?_0x15ed0e:[],'onSelect':_0x450bf3=>_0x4e62e6(+_0x450bf3),'children':(0x0,react_jsx_runtime[_0x44b77e(0x3aa)])(_0x44b77e(0x3f6),{'className':_0x44b77e(0x2d8),'children':[(0x0,react_jsx_runtime['jsx'])(_univerjs_icons[_0x44b77e(0x249)],{}),(0x0,react_jsx_runtime[_0x44b77e(0x624)])(_0x44b77e(0x2c2),{'children':_0x30220d(_0x44b77e(0x632))})]})})})]}),_0x3bbcda&&(0x0,react_jsx_runtime[_0x44b77e(0x624)])(DataPointsEdit,{'chartType':_0x530c19,'data':_0x3bbcda,'options':_0x15ed0e!==null&&_0x15ed0e!==void 0x0?_0x15ed0e:[],'onChange':_0x14d49f,'localeService':_0x111821})]})]}),(0x0,react_jsx_runtime['jsx'])(_0x44b77e(0x3f6),{'className':_0x44b77e(0x1b9),'children':(0x0,react_jsx_runtime[_0x44b77e(0x624)])(DataLabelOptions,{'localeService':_0x111821,'fallbackLabelStyle':fallbackLabelStyle$1,'labelStyle':_0x4a951b,'positionOptions':_0x4e71fa,'contentTypeOptions':_0x5e4cb4,'onLabelStyleChange':(_0x33c245,_0x196e1b)=>_0x5231ce({'label':{[_0x33c245]:_0x196e1b}}),'onVisibleChange':_0x2b8505=>_0x5231ce({'label':{'visible':_0x2b8505}}),'isPieLike':![],'chartType':_0x530c19})})]});},TrendLineStyleEdit=_0x3dba43=>{const _0x14e973=_0x5db780;var _0x1aa6a9,_0xfe5fd9,_0x5c8590,_0x55ad9b;const {localeService:_0x18f11c,uiService:_0x194494}=_0x3dba43,{t:_0x189aaf}=_0x18f11c,_0x40ecea=(0x0,_univerjs_ui[_0x14e973(0x2a6)])(_univerjs_core[_0x14e973(0x3a5)]),[_0x1bedc4,_0x3bb534]=useChartConfigState(_0x14e973(0x552),_0x194494),[_0x3faba5,_0x5b0fa4]=(0x0,react[_0x14e973(0x32e)])(0x0),_0x5c76c0=trendlineTypeOptions['map'](_0x324920=>({'label':(0x0,react_jsx_runtime[_0x14e973(0x3aa)])(_0x14e973(0x3f6),{'className':_0x14e973(0x4a2),'children':[(0x0,react_jsx_runtime['jsx'])(_0x14e973(0x3f6),{'className':_0x14e973(0x269),'children':trendlineToIcon===null||trendlineToIcon===void 0x0?void 0x0:trendlineToIcon[_0x324920[_0x14e973(0x1f4)]]}),(0x0,react_jsx_runtime['jsx'])(_0x14e973(0x3f6),{'className':_0x14e973(0x438),'children':_0x18f11c['t'](_0x324920[_0x14e973(0x517)])})]}),'value':_0x324920['value']})),_0x4ec3a0=useTranslatedOptions(_0x18f11c,borderDashTypeOptions),_0x23cc53=borderWidthOptions[_0x14e973(0x4e3)](0x1),_0x3069bc=(_0x1bedc4||[])['map']((_0x19f65b,_0x3b1919)=>({'label':_0x19f65b[_0x14e973(0x52e)],'value':String(_0x3b1919)})),_0x248a72=(0x0,react[_0x14e973(0x510)])(_0x2a6ec0=>{if(_0x1bedc4){const _0xee781=[..._0x1bedc4];_0xee781[_0x3faba5]={..._0xee781[_0x3faba5],..._0x2a6ec0},_0x3bb534(_0xee781);}},[_0x1bedc4,_0x3faba5]),_0x331087=(0x0,react[_0x14e973(0x3dc)])(()=>{return _0x1bedc4?_0x1bedc4[_0x3faba5]:void 0x0;},[_0x1bedc4,_0x3faba5]),[_0x181675,_0x40e8dc]=(0x0,react[_0x14e973(0x32e)])((_0x331087===null||_0x331087===void 0x0?void 0x0:_0x331087['name'])||'');if(_0x1bedc4===void 0x0||_0x1bedc4[_0x14e973(0x3db)]===0x0)return null;return(0x0,react_jsx_runtime['jsxs'])(_0x14e973(0x628),{'className':_0x14e973(0x1b2),'children':[(0x0,react_jsx_runtime[_0x14e973(0x624)])(_0x14e973(0x3f6),{'className':_0x14e973(0x27b),'children':(0x0,react_jsx_runtime['jsx'])(_univerjs_design['Select'],{'className':'univer-w-full\x20!univer-min-w-0','value':String(_0x3faba5),'onChange':_0x34f180=>_0x5b0fa4(Number(_0x34f180)),'options':_0x3069bc})}),(0x0,react_jsx_runtime['jsx'])(_0x14e973(0x3f6),{'className':_0x14e973(0x27b),'children':_0x189aaf('chart.trendline.displayName')}),(0x0,react_jsx_runtime[_0x14e973(0x624)])(_0x14e973(0x3f6),{'className':_0x14e973(0x27b),'children':(0x0,react_jsx_runtime[_0x14e973(0x624)])(_univerjs_design[_0x14e973(0x1d3)],{'value':_0x181675,'onChange':_0x40e8dc,'onBlur':()=>{const _0x549bea=_0x14e973;_0x40ecea[_0x549bea(0x40f)](_univerjs_core[_0x549bea(0x28e)],![]);if(_0x181675)_0x248a72===null||_0x248a72===void 0x0||_0x248a72({'name':_0x181675});else _0x40e8dc((_0x331087===null||_0x331087===void 0x0?void 0x0:_0x331087[_0x549bea(0x52e)])||'');},'onFocus':()=>{const _0x28b24e=_0x14e973;_0x40ecea['setContextValue'](_univerjs_core[_0x28b24e(0x28e)],!![]);}})}),(0x0,react_jsx_runtime[_0x14e973(0x624)])(_0x14e973(0x3f6),{'className':_0x14e973(0x27b),'children':_0x189aaf(_0x14e973(0x637))}),(0x0,react_jsx_runtime[_0x14e973(0x3aa)])('div',{'className':'univer-mb-2\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':[(0x0,react_jsx_runtime[_0x14e973(0x624)])(_univerjs_design[_0x14e973(0x1d8)],{'className':_0x14e973(0x3fe),'value':String(_0x331087===null||_0x331087===void 0x0?void 0x0:_0x331087[_0x14e973(0x582)]),'onChange':_0xfb49f2=>_0x248a72===null||_0x248a72===void 0x0?void 0x0:_0x248a72({'type':_0xfb49f2}),'options':_0x5c76c0}),(0x0,react_jsx_runtime[_0x14e973(0x624)])(_0x14e973(0x3f6),{'className':_0x14e973(0x5c7),'children':(0x0,react_jsx_runtime['jsx'])(_univerjs_design[_0x14e973(0x1a0)],{'checked':(_0x331087===null||_0x331087===void 0x0?void 0x0:_0x331087[_0x14e973(0x5b1)])||_univerjs_pro_engine_chart[_0x14e973(0x3fc)][_0x14e973(0x3a3)][_0x14e973(0x5b1)],'onChange':_0x21b07c=>_0x248a72({'showFormula':Boolean(_0x21b07c)}),'children':_0x189aaf(_0x14e973(0x2f8))})}),(0x0,react_jsx_runtime[_0x14e973(0x624)])(_0x14e973(0x3f6),{'className':_0x14e973(0x5c7),'children':(0x0,react_jsx_runtime['jsx'])(_univerjs_design['Checkbox'],{'checked':(_0x331087===null||_0x331087===void 0x0?void 0x0:_0x331087[_0x14e973(0x35d)])||_univerjs_pro_engine_chart['defaultChartConfig'][_0x14e973(0x3a3)]['showR2'],'onChange':_0x5bd6b6=>_0x248a72({'showR2':Boolean(_0x5bd6b6)}),'children':_0x189aaf(_0x14e973(0x5cb))})}),((_0x331087===null||_0x331087===void 0x0?void 0x0:_0x331087[_0x14e973(0x582)])===_univerjs_pro_engine_chart[_0x14e973(0x489)]['poly']||(_0x331087===null||_0x331087===void 0x0?void 0x0:_0x331087['type'])===_univerjs_pro_engine_chart[_0x14e973(0x489)][_0x14e973(0x47a)])&&(0x0,react_jsx_runtime['jsxs'])(_0x14e973(0x3f6),{'className':_0x14e973(0x354),'children':[(_0x331087===null||_0x331087===void 0x0?void 0x0:_0x331087['type'])===_univerjs_pro_engine_chart['ChartTrendlineType']['poly']&&(0x0,react_jsx_runtime['jsxs'])(react_jsx_runtime['Fragment'],{'children':[(0x0,react_jsx_runtime[_0x14e973(0x624)])(_0x14e973(0x3f6),{'className':'univer-mb-2\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x189aaf(_0x14e973(0x291))}),(0x0,react_jsx_runtime[_0x14e973(0x624)])(_univerjs_design['Select'],{'className':_0x14e973(0x226),'value':String((_0x1aa6a9=_0x331087===null||_0x331087===void 0x0?void 0x0:_0x331087[_0x14e973(0x3e6)])!==null&&_0x1aa6a9!==void 0x0?_0x1aa6a9:_univerjs_pro_engine_chart[_0x14e973(0x3fc)][_0x14e973(0x3a3)][_0x14e973(0x3e6)]),'options':trendlineOrderOptions,'onChange':_0x4ddc18=>_0x248a72===null||_0x248a72===void 0x0?void 0x0:_0x248a72({'order':Number(_0x4ddc18)})})]}),(_0x331087===null||_0x331087===void 0x0?void 0x0:_0x331087[_0x14e973(0x582)])===_univerjs_pro_engine_chart['ChartTrendlineType']['movingAvg']&&(0x0,react_jsx_runtime['jsxs'])(react_jsx_runtime[_0x14e973(0x263)],{'children':[(0x0,react_jsx_runtime['jsx'])(_0x14e973(0x3f6),{'className':_0x14e973(0x27b),'children':_0x189aaf(_0x14e973(0x35f))}),(0x0,react_jsx_runtime[_0x14e973(0x624)])(_univerjs_design[_0x14e973(0x537)],{'value':(_0x331087===null||_0x331087===void 0x0?void 0x0:_0x331087[_0x14e973(0x5eb)])||_univerjs_pro_engine_chart[_0x14e973(0x3fc)]['trendline'][_0x14e973(0x5eb)],'onChange':_0xbe0f2f=>_0x248a72===null||_0x248a72===void 0x0?void 0x0:_0x248a72({'period':Math[_0x14e973(0x4d0)](_0xbe0f2f)})})]})]}),(0x0,react_jsx_runtime[_0x14e973(0x624)])('div',{'className':_0x14e973(0x27b),'children':_0x189aaf(_0x14e973(0x286))}),(0x0,react_jsx_runtime[_0x14e973(0x3aa)])(_0x14e973(0x3f6),{'className':_0x14e973(0x450),'children':[(0x0,react_jsx_runtime[_0x14e973(0x3aa)])(_0x14e973(0x3f6),{'className':_0x14e973(0x5de),'children':[(0x0,react_jsx_runtime[_0x14e973(0x624)])('div',{'className':'univer-mb-2\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x189aaf(_0x14e973(0x331),_0x189aaf(_0x14e973(0x4ac)))}),(0x0,react_jsx_runtime[_0x14e973(0x624)])(ColorPickerControl,{'color':(_0x331087===null||_0x331087===void 0x0?void 0x0:_0x331087['color'])||'','onChange':_0x445459=>_0x248a72===null||_0x248a72===void 0x0?void 0x0:_0x248a72({'color':_0x445459})})]}),(0x0,react_jsx_runtime[_0x14e973(0x3aa)])(_0x14e973(0x3f6),{'className':_0x14e973(0x5de),'children':[(0x0,react_jsx_runtime[_0x14e973(0x624)])(_0x14e973(0x3f6),{'className':_0x14e973(0x27b),'children':_0x189aaf(_0x14e973(0x596),_0x189aaf(_0x14e973(0x4ac)))}),(0x0,react_jsx_runtime[_0x14e973(0x624)])(_univerjs_design['Select'],{'className':'univer-w-full\x20!univer-min-w-0','value':String((_0xfe5fd9=_0x331087===null||_0x331087===void 0x0?void 0x0:_0x331087[_0x14e973(0x3fb)])!==null&&_0xfe5fd9!==void 0x0?_0xfe5fd9:_univerjs_pro_engine_chart[_0x14e973(0x3fc)][_0x14e973(0x3a3)][_0x14e973(0x3fb)]),'options':lineOpacityOptions,'onChange':_0x34bba8=>_0x248a72===null||_0x248a72===void 0x0?void 0x0:_0x248a72({'opacity':Number(_0x34bba8)})})]})]}),(0x0,react_jsx_runtime[_0x14e973(0x3aa)])(_0x14e973(0x3f6),{'className':_0x14e973(0x450),'children':[(0x0,react_jsx_runtime[_0x14e973(0x3aa)])(_0x14e973(0x3f6),{'className':_0x14e973(0x5de),'children':[(0x0,react_jsx_runtime[_0x14e973(0x624)])(_0x14e973(0x3f6),{'className':'univer-mb-2\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x189aaf(_0x14e973(0x1d2),_0x189aaf('chart.trendline.name'))}),(0x0,react_jsx_runtime[_0x14e973(0x624)])(_univerjs_design[_0x14e973(0x1d8)],{'className':_0x14e973(0x226),'value':String((_0x5c8590=_0x331087===null||_0x331087===void 0x0?void 0x0:_0x331087[_0x14e973(0x31e)])!==null&&_0x5c8590!==void 0x0?_0x5c8590:_univerjs_pro_engine_chart[_0x14e973(0x3fc)]['trendline'][_0x14e973(0x31e)]),'options':_0x4ec3a0,'onChange':_0x298066=>_0x248a72===null||_0x248a72===void 0x0?void 0x0:_0x248a72({'dashType':_0x298066})})]}),(0x0,react_jsx_runtime['jsxs'])(_0x14e973(0x3f6),{'className':'univer-flex\x20univer-flex-1\x20univer-flex-col\x20univer-justify-between','children':[(0x0,react_jsx_runtime['jsx'])(_0x14e973(0x3f6),{'className':'univer-mb-2\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x189aaf(_0x14e973(0x59e),_0x189aaf(_0x14e973(0x4ac)))}),(0x0,react_jsx_runtime[_0x14e973(0x624)])(_univerjs_design[_0x14e973(0x1d8)],{'className':_0x14e973(0x226),'value':String((_0x55ad9b=_0x331087===null||_0x331087===void 0x0?void 0x0:_0x331087['width'])!==null&&_0x55ad9b!==void 0x0?_0x55ad9b:_univerjs_pro_engine_chart[_0x14e973(0x3fc)][_0x14e973(0x3a3)]['width']),'options':_0x23cc53,'onChange':_0x5f3b80=>_0x248a72===null||_0x248a72===void 0x0?void 0x0:_0x248a72({'width':Number(_0x5f3b80)})})]})]}),(_0x331087===null||_0x331087===void 0x0?void 0x0:_0x331087[_0x14e973(0x582)])!==_univerjs_pro_engine_chart[_0x14e973(0x489)][_0x14e973(0x47a)]&&(0x0,react_jsx_runtime[_0x14e973(0x3aa)])('div',{'className':_0x14e973(0x450),'children':[(_0x331087===null||_0x331087===void 0x0?void 0x0:_0x331087[_0x14e973(0x5b1)])&&(0x0,react_jsx_runtime[_0x14e973(0x3aa)])(_0x14e973(0x3f6),{'className':_0x14e973(0x5de),'children':[(0x0,react_jsx_runtime[_0x14e973(0x624)])(_0x14e973(0x3f6),{'className':'univer-mb-2\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x189aaf(_0x14e973(0x331),_0x189aaf('chart.trendline.formula'))}),(0x0,react_jsx_runtime[_0x14e973(0x624)])(ColorPickerControl,{'color':(_0x331087===null||_0x331087===void 0x0?void 0x0:_0x331087[_0x14e973(0x565)])||'','onChange':_0x3675aa=>_0x248a72===null||_0x248a72===void 0x0?void 0x0:_0x248a72({'formulaColor':_0x3675aa})})]}),(_0x331087===null||_0x331087===void 0x0?void 0x0:_0x331087[_0x14e973(0x35d)])&&(0x0,react_jsx_runtime[_0x14e973(0x3aa)])('div',{'className':_0x14e973(0x5de),'children':[(0x0,react_jsx_runtime[_0x14e973(0x624)])(_0x14e973(0x3f6),{'className':_0x14e973(0x27b),'children':_0x189aaf('chart.withColor',_0x189aaf(_0x14e973(0x33a)))}),(0x0,react_jsx_runtime[_0x14e973(0x624)])(ColorPickerControl,{'color':(_0x331087===null||_0x331087===void 0x0?void 0x0:_0x331087[_0x14e973(0x5f2)])||'','onChange':_0x5d687a=>_0x248a72===null||_0x248a72===void 0x0?void 0x0:_0x248a72({'r2Color':_0x5d687a})})]})]})]})]});},fallbackLabelStyle={'fontSize':_univerjs_pro_engine_chart[_0x5db780(0x3fc)][_0x5db780(0x448)]['fontSize'],'contentType':_univerjs_pro_engine_chart['defaultChartConfig']['labelContentType'],'position':_univerjs_pro_engine_chart[_0x5db780(0x3fc)][_0x5db780(0x448)]['position']},WaterfallSeriesEdit=_0x33849b=>{const _0x90b1b8=_0x5db780;var _0x16bb9b,_0x46753e,_0x5de76c,_0x4a64f3,_0xb7f8bb,_0x579e6f,_0x2247cd,_0x564d49,_0x1e8a3c,_0x49ca4d,_0x357ce5,_0x244744,_0x2f77f0,_0x1cd032,_0x5095df,_0x1e541c,_0x2652ad;const {service:_0x34601c,localeService:_0x4042bb}=_0x33849b,{t:_0x30efac}=_0x4042bb,_0x14ce47=useTranslatedOptions(_0x4042bb,dataLabelPositionOptions),_0x1cf0b8=(0x0,react[_0x90b1b8(0x3dc)])(()=>{const _0x64ffc2=_0x90b1b8;return labelContentOptions[_0x64ffc2(0x197)](_0x59328f=>{const _0x296cd5=_0x64ffc2;return _0x59328f[_0x296cd5(0x1f4)]!==String(_univerjs_pro_engine_chart[_0x296cd5(0x4f3)]['Percentage']);})[_0x64ffc2(0x20f)](_0x32e785=>{const _0xc34840=_0x64ffc2;return{'value':_0x32e785['value'],'label':_0x4042bb['t'](_0x32e785[_0xc34840(0x517)])};});},[_0x4042bb]),_0x46fc58=(0x0,_univerjs_ui[_0x90b1b8(0x2a6)])(_univerjs_core['IContextService']),[_0x583387,_0x29c4a5]=(0x0,react[_0x90b1b8(0x32e)])(_univerjs_pro_engine_chart[_0x90b1b8(0x3fc)][_0x90b1b8(0x4ab)]),_0x44dafc=_0x583387===_univerjs_pro_engine_chart['defaultChartConfig'][_0x90b1b8(0x4ab)],[_0x4e39bc,_0x5e53b0]=useChartConfigState(_0x90b1b8(0x58e),_0x34601c),[_0x419f95,_0x65daaa]=useChartConfigState(_0x90b1b8(0x50a),_0x34601c),[_0x102ffe]=useChartConfigState(_0x90b1b8(0x30b),_0x34601c),[_0x436848]=useChartConfigState('waterfallStack',_0x34601c),_0x298493=_0x436848!==_univerjs_pro_engine_chart[_0x90b1b8(0x2b4)][_0x90b1b8(0x21a)],[_0x33157a]=useTranslatedOptions(_0x4042bb,[getAllSeriesOption()]),_0x559dce=_0x419f95===null||_0x419f95===void 0x0?void 0x0:_0x419f95[_0x583387],_0xd844ad=(0x0,react[_0x90b1b8(0x3dc)])(()=>_0x102ffe?[_0x33157a,..._0x102ffe]:[],[_0x33157a,_0x102ffe]),_0x586b09=_0x25e721=>{if(_0x44dafc)_0x5e53b0(_0x25e721);else _0x65daaa({[_0x583387]:_0x25e721});},_0x245ab4=_univerjs_pro_engine_chart['defaultChartConfig']['borderStyle'],_0x269bef={'color':_0x90b1b8(0x39e),'opacity':_0x245ab4[_0x90b1b8(0x3fb)],'width':0x0,'dashType':_0x245ab4[_0x90b1b8(0x31e)]},_0x13e652=_0x44dafc?{..._0x269bef,..._0x4e39bc===null||_0x4e39bc===void 0x0||(_0x16bb9b=_0x4e39bc[_0x90b1b8(0x5e2)])===null||_0x16bb9b===void 0x0||(_0x16bb9b=_0x16bb9b[_0x90b1b8(0x2da)])===null||_0x16bb9b===void 0x0?void 0x0:_0x16bb9b['border']}:{..._0x269bef,..._0x559dce===null||_0x559dce===void 0x0||(_0x46753e=_0x559dce[_0x90b1b8(0x5e2)])===null||_0x46753e===void 0x0||(_0x46753e=_0x46753e[_0x90b1b8(0x2da)])===null||_0x46753e===void 0x0?void 0x0:_0x46753e['border']},_0xd6b590=_0x44dafc?{..._0x269bef,..._0x4e39bc===null||_0x4e39bc===void 0x0||(_0x5de76c=_0x4e39bc[_0x90b1b8(0x5e2)])===null||_0x5de76c===void 0x0||(_0x5de76c=_0x5de76c['negative'])===null||_0x5de76c===void 0x0?void 0x0:_0x5de76c[_0x90b1b8(0x352)]}:{..._0x269bef,..._0x559dce===null||_0x559dce===void 0x0||(_0x4a64f3=_0x559dce[_0x90b1b8(0x5e2)])===null||_0x4a64f3===void 0x0||(_0x4a64f3=_0x4a64f3[_0x90b1b8(0x2fe)])===null||_0x4a64f3===void 0x0?void 0x0:_0x4a64f3['border']},_0x16c308=_0x44dafc?{..._0x269bef,..._0x4e39bc===null||_0x4e39bc===void 0x0||(_0xb7f8bb=_0x4e39bc[_0x90b1b8(0x5e2)])===null||_0xb7f8bb===void 0x0||(_0xb7f8bb=_0xb7f8bb[_0x90b1b8(0x3e0)])===null||_0xb7f8bb===void 0x0?void 0x0:_0xb7f8bb[_0x90b1b8(0x352)]}:{..._0x269bef,..._0x559dce===null||_0x559dce===void 0x0||(_0x579e6f=_0x559dce[_0x90b1b8(0x5e2)])===null||_0x579e6f===void 0x0||(_0x579e6f=_0x579e6f['subtotal'])===null||_0x579e6f===void 0x0?void 0x0:_0x579e6f['border']},_0x586cb7=(_0x3793b8,_0x2598e2)=>{const _0x446ecb=_0x90b1b8;if(_0x2598e2===_univerjs_pro_engine_chart[_0x446ecb(0x264)][_0x446ecb(0x3e0)])return _0x30efac(_0x446ecb(0x5f4));const _0x141916=_0x102ffe===null||_0x102ffe===void 0x0?void 0x0:_0x102ffe[_0x446ecb(0x5c3)](_0x5d3871=>_0x5d3871[_0x446ecb(0x1f4)]===_0x3793b8);if(_0x141916){const _0x470fc9=_0x141916[_0x446ecb(0x517)];switch(_0x2598e2){case _univerjs_pro_engine_chart[_0x446ecb(0x264)][_0x446ecb(0x2da)]:return _0x470fc9+'-('+_0x30efac('chart.waterfall.positive')+')';case _univerjs_pro_engine_chart[_0x446ecb(0x264)]['negative']:return _0x470fc9+'-('+_0x30efac(_0x446ecb(0x3d1))+')';default:return _0x470fc9;}}return'';},_0x562f32=_0x44dafc?(_0x2247cd=_0x4e39bc===null||_0x4e39bc===void 0x0?void 0x0:_0x4e39bc[_0x90b1b8(0x517)])!==null&&_0x2247cd!==void 0x0?_0x2247cd:{}:Object[_0x90b1b8(0x384)]({},_0x4e39bc===null||_0x4e39bc===void 0x0?void 0x0:_0x4e39bc[_0x90b1b8(0x517)],_0x559dce===null||_0x559dce===void 0x0?void 0x0:_0x559dce[_0x90b1b8(0x517)]),_0x21adae=_0x298493?_0x559dce===null||_0x559dce===void 0x0||(_0x564d49=_0x559dce['waterfall'])===null||_0x564d49===void 0x0||(_0x564d49=_0x564d49['subtotal'])===null||_0x564d49===void 0x0?void 0x0:_0x564d49[_0x90b1b8(0x52e)]:_0x4e39bc===null||_0x4e39bc===void 0x0||(_0x1e8a3c=_0x4e39bc['waterfall'])===null||_0x1e8a3c===void 0x0||(_0x1e8a3c=_0x1e8a3c[_0x90b1b8(0x3e0)])===null||_0x1e8a3c===void 0x0?void 0x0:_0x1e8a3c[_0x90b1b8(0x52e)],_0x593c56=_0x436848===_univerjs_pro_engine_chart[_0x90b1b8(0x2b4)][_0x90b1b8(0x21a)]?_0x44dafc:!![];return(0x0,react_jsx_runtime[_0x90b1b8(0x3aa)])('div',{'children':[(0x0,react_jsx_runtime['jsx'])(_0x90b1b8(0x3f6),{'className':_0x90b1b8(0x428),'children':(0x0,react_jsx_runtime[_0x90b1b8(0x624)])(_univerjs_design[_0x90b1b8(0x1d8)],{'className':'univer-w-full\x20!univer-min-w-0','value':_0x583387,'onChange':_0x47722a=>_0x29c4a5(_0x47722a),'options':_0xd844ad})}),(0x0,react_jsx_runtime['jsxs'])(_0x90b1b8(0x3f6),{'className':_0x90b1b8(0x1b2),'children':[(0x0,react_jsx_runtime[_0x90b1b8(0x624)])(_0x90b1b8(0x3f6),{'className':'univer-mb-4\x20univer-text-sm\x20univer-font-medium\x20univer-text-gray-900\x20dark:!univer-text-white','children':_0x30efac(_0x90b1b8(0x220))}),!_0x44dafc&&(0x0,react_jsx_runtime[_0x90b1b8(0x3aa)])(react_jsx_runtime['Fragment'],{'children':[(0x0,react_jsx_runtime[_0x90b1b8(0x624)])(_0x90b1b8(0x3f6),{'className':_0x90b1b8(0x1b4),'children':_0x30efac(_0x90b1b8(0x2a1))}),(0x0,react_jsx_runtime[_0x90b1b8(0x624)])(_univerjs_design[_0x90b1b8(0x1d3)],{'className':'univer-mb-2','value':(_0x559dce===null||_0x559dce===void 0x0||(_0x49ca4d=_0x559dce[_0x90b1b8(0x5e2)])===null||_0x49ca4d===void 0x0||(_0x49ca4d=_0x49ca4d[_0x90b1b8(0x2da)])===null||_0x49ca4d===void 0x0?void 0x0:_0x49ca4d['name'])||_0x586cb7(_0x583387,_univerjs_pro_engine_chart[_0x90b1b8(0x264)][_0x90b1b8(0x2da)]),'onChange':_0x175eda=>{_0x586b09({'waterfall':{'positive':{'name':_0x175eda}}});},'onFocus':()=>{const _0x2dac0a=_0x90b1b8;_0x46fc58[_0x2dac0a(0x40f)](_univerjs_core['FOCUSING_PANEL_EDITOR'],!![]);},'onBlur':()=>{const _0x288f88=_0x90b1b8;_0x46fc58[_0x288f88(0x40f)](_univerjs_core[_0x288f88(0x28e)],![]);}})]}),(0x0,react_jsx_runtime[_0x90b1b8(0x624)])(FillOptions,{'chartType':_univerjs_pro_engine_chart[_0x90b1b8(0x5c6)][_0x90b1b8(0x1f5)],'allSeriesStyle':_0x4e39bc,'controlName':'','seriesStyle':_0x44dafc?_0x4e39bc===null||_0x4e39bc===void 0x0||(_0x357ce5=_0x4e39bc[_0x90b1b8(0x5e2)])===null||_0x357ce5===void 0x0?void 0x0:_0x357ce5[_0x90b1b8(0x2da)]:_0x559dce===null||_0x559dce===void 0x0||(_0x244744=_0x559dce[_0x90b1b8(0x5e2)])===null||_0x244744===void 0x0?void 0x0:_0x244744[_0x90b1b8(0x2da)],'onSeriesStyleChange':_0x49bfde=>_0x586b09({'waterfall':{'positive':_0x49bfde}}),'localeService':_0x4042bb}),(0x0,react_jsx_runtime[_0x90b1b8(0x624)])(BorderOptions,{'isLineOrAreaChart':![],'allSeriesBorderStyle':_0x4e39bc===null||_0x4e39bc===void 0x0?void 0x0:_0x4e39bc['border'],'hideBorder':!![],'controlName':_0x30efac(_0x90b1b8(0x1a3)),'borderStyle':_0x13e652,'onSeriesStyleChange':_0x53fbb4=>_0x586b09({'waterfall':{'positive':_0x53fbb4}}),'localeService':_0x4042bb})]}),(0x0,react_jsx_runtime[_0x90b1b8(0x3aa)])(_0x90b1b8(0x3f6),{'className':_0x90b1b8(0x1b2),'children':[(0x0,react_jsx_runtime['jsx'])(_0x90b1b8(0x3f6),{'className':'univer-mb-4\x20univer-text-sm\x20univer-font-medium\x20univer-text-gray-900\x20dark:!univer-text-white','children':_0x30efac(_0x90b1b8(0x2f7))}),!_0x44dafc&&(0x0,react_jsx_runtime[_0x90b1b8(0x3aa)])(react_jsx_runtime['Fragment'],{'children':[(0x0,react_jsx_runtime[_0x90b1b8(0x624)])(_0x90b1b8(0x3f6),{'className':_0x90b1b8(0x1b4),'children':_0x30efac('chart.waterfall.negativeLegendText')}),(0x0,react_jsx_runtime[_0x90b1b8(0x624)])(_univerjs_design[_0x90b1b8(0x1d3)],{'className':'univer-mb-2','value':(_0x559dce===null||_0x559dce===void 0x0||(_0x2f77f0=_0x559dce[_0x90b1b8(0x5e2)])===null||_0x2f77f0===void 0x0||(_0x2f77f0=_0x2f77f0['negative'])===null||_0x2f77f0===void 0x0?void 0x0:_0x2f77f0[_0x90b1b8(0x52e)])||_0x586cb7(_0x583387,_univerjs_pro_engine_chart[_0x90b1b8(0x264)][_0x90b1b8(0x2fe)]),'onChange':_0xdb792b=>{_0x586b09({'waterfall':{'negative':{'name':_0xdb792b}}});},'onFocus':()=>{const _0x327a62=_0x90b1b8;_0x46fc58[_0x327a62(0x40f)](_univerjs_core[_0x327a62(0x28e)],!![]);},'onBlur':()=>{const _0x2d1f65=_0x90b1b8;_0x46fc58[_0x2d1f65(0x40f)](_univerjs_core[_0x2d1f65(0x28e)],![]);}})]}),(0x0,react_jsx_runtime[_0x90b1b8(0x624)])(FillOptions,{'chartType':_univerjs_pro_engine_chart['ChartTypeBits']['Waterfall'],'allSeriesStyle':_0x4e39bc,'controlName':'','seriesStyle':_0x44dafc?_0x4e39bc===null||_0x4e39bc===void 0x0||(_0x1cd032=_0x4e39bc[_0x90b1b8(0x5e2)])===null||_0x1cd032===void 0x0?void 0x0:_0x1cd032[_0x90b1b8(0x2fe)]:_0x559dce===null||_0x559dce===void 0x0||(_0x5095df=_0x559dce['waterfall'])===null||_0x5095df===void 0x0?void 0x0:_0x5095df['negative'],'onSeriesStyleChange':_0x10f5a5=>_0x586b09({'waterfall':{'negative':_0x10f5a5}}),'localeService':_0x4042bb}),(0x0,react_jsx_runtime[_0x90b1b8(0x624)])(BorderOptions,{'controlName':_0x30efac(_0x90b1b8(0x1a3)),'isLineOrAreaChart':![],'hideBorder':!![],'allSeriesBorderStyle':_0x4e39bc===null||_0x4e39bc===void 0x0?void 0x0:_0x4e39bc['border'],'borderStyle':_0xd6b590,'onSeriesStyleChange':_0x54720b=>_0x586b09({'waterfall':{'negative':_0x54720b}}),'localeService':_0x4042bb})]}),_0x593c56&&(0x0,react_jsx_runtime['jsx'])(react_jsx_runtime[_0x90b1b8(0x263)],{'children':(0x0,react_jsx_runtime[_0x90b1b8(0x624)])('div',{'className':_0x90b1b8(0x1b2),'children':(0x0,react_jsx_runtime[_0x90b1b8(0x3aa)])(react_jsx_runtime['Fragment'],{'children':[(0x0,react_jsx_runtime[_0x90b1b8(0x624)])(_0x90b1b8(0x3f6),{'className':_0x90b1b8(0x5ff),'children':_0x30efac(_0x90b1b8(0x33b))}),(0x0,react_jsx_runtime[_0x90b1b8(0x3aa)])(react_jsx_runtime[_0x90b1b8(0x263)],{'children':[(0x0,react_jsx_runtime[_0x90b1b8(0x624)])(_0x90b1b8(0x3f6),{'className':_0x90b1b8(0x1b4),'children':_0x30efac('chart.waterfall.subtotalLegendText')}),(0x0,react_jsx_runtime[_0x90b1b8(0x624)])(_univerjs_design[_0x90b1b8(0x1d3)],{'className':_0x90b1b8(0x497),'value':_0x21adae||_0x586cb7(_0x583387,_univerjs_pro_engine_chart['WaterfallSeriesTypeEnum']['subtotal']),'onChange':_0x35f1d2=>{_0x586b09({'waterfall':{'subtotal':{'name':_0x35f1d2}}});},'onFocus':()=>{const _0x267ab8=_0x90b1b8;_0x46fc58[_0x267ab8(0x40f)](_univerjs_core[_0x267ab8(0x28e)],!![]);},'onBlur':()=>{const _0x3c6606=_0x90b1b8;_0x46fc58[_0x3c6606(0x40f)](_univerjs_core[_0x3c6606(0x28e)],![]);}})]}),(0x0,react_jsx_runtime[_0x90b1b8(0x624)])(FillOptions,{'chartType':_univerjs_pro_engine_chart[_0x90b1b8(0x5c6)][_0x90b1b8(0x1f5)],'allSeriesStyle':_0x4e39bc,'controlName':'','seriesStyle':_0x44dafc?_0x4e39bc===null||_0x4e39bc===void 0x0||(_0x1e541c=_0x4e39bc[_0x90b1b8(0x5e2)])===null||_0x1e541c===void 0x0?void 0x0:_0x1e541c[_0x90b1b8(0x3e0)]:_0x559dce===null||_0x559dce===void 0x0||(_0x2652ad=_0x559dce['waterfall'])===null||_0x2652ad===void 0x0?void 0x0:_0x2652ad[_0x90b1b8(0x3e0)],'onSeriesStyleChange':_0x1f9efd=>_0x586b09({'waterfall':{'subtotal':_0x1f9efd}}),'localeService':_0x4042bb}),(0x0,react_jsx_runtime[_0x90b1b8(0x624)])(BorderOptions,{'isLineOrAreaChart':![],'hideBorder':!![],'allSeriesBorderStyle':_0x4e39bc===null||_0x4e39bc===void 0x0?void 0x0:_0x4e39bc[_0x90b1b8(0x352)],'controlName':_0x30efac(_0x90b1b8(0x1a3)),'borderStyle':_0x16c308,'onSeriesStyleChange':_0x303d8a=>_0x586b09({'waterfall':{'subtotal':_0x303d8a}}),'localeService':_0x4042bb})]})})}),(0x0,react_jsx_runtime[_0x90b1b8(0x624)])('div',{'className':'univer-px-4\x20univer-pb-2.5\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':(0x0,react_jsx_runtime['jsx'])(DataLabelOptions,{'localeService':_0x4042bb,'fallbackLabelStyle':fallbackLabelStyle,'labelStyle':_0x562f32,'positionOptions':_0x14ce47,'contentTypeOptions':_0x1cf0b8,'onLabelStyleChange':(_0x473331,_0x2f568f)=>_0x586b09({'label':{[_0x473331]:_0x2f568f}}),'onVisibleChange':_0x476002=>_0x586b09({'label':{'visible':_0x476002}}),'isPieLike':![],'chartType':_univerjs_pro_engine_chart['ChartTypeBits'][_0x90b1b8(0x1f5)]})})]});};function getShapes(_0x16868f){const _0x589395=_0x5db780,_0x36cb7c=[];for(const [_0x555bc5,_0x9580c0]of _0x16868f)_0x36cb7c[_0x589395(0x335)]({'value':_0x555bc5,'label':_0x555bc5,'icon':_0x9580c0[_0x589395(0x55d)]});return _0x36cb7c;}function WordCloudShapeSelector(_0x2aa696){const _0x333e8a=_0x5db780,{service:_0x427c89,localeService:_0x4d068f}=_0x2aa696,_0x2062d1=getShapes((0x0,_univerjs_ui[_0x333e8a(0x2a6)])(_univerjs_pro_engine_chart[_0x333e8a(0x2c6)])[_0x333e8a(0x310)]()),[_0x153117,_0x19e3d4]=useChartConfigState(_0x333e8a(0x326),_0x427c89),[_0x58fe5a,_0x3d3d27]=useChartConfigState(_0x333e8a(0x3a2),_0x427c89),[_0x16dbe3,_0x1606de]=(0x0,react[_0x333e8a(0x32e)])(![]),{t:_0x33fcbb}=_0x4d068f,_0x949470=_0x2062d1['find'](_0x402a30=>_0x402a30['value']===_0x153117)||_0x2062d1[0x0];return(0x0,react_jsx_runtime['jsxs'])(_0x333e8a(0x3f6),{'className':_0x333e8a(0x2e5),'children':[(0x0,react_jsx_runtime[_0x333e8a(0x624)])('div',{'className':_0x333e8a(0x302),'children':_0x33fcbb(_0x333e8a(0x28b))}),(0x0,react_jsx_runtime['jsx'])(_univerjs_design[_0x333e8a(0x43b)],{'open':_0x16dbe3,'onOpenChange':_0x1606de,'overlay':(0x0,react_jsx_runtime[_0x333e8a(0x624)])(_0x333e8a(0x3f6),{'className':_0x333e8a(0x3ea),'children':_0x2062d1[_0x333e8a(0x20f)](_0x476119=>(0x0,react_jsx_runtime['jsx'])(_0x333e8a(0x45c),{'className':(0x0,_univerjs_design[_0x333e8a(0x593)])(_0x333e8a(0x1d5),_univerjs_design['borderClassName'],{'univer-bg-white':_0x949470[_0x333e8a(0x1f4)]!==_0x476119[_0x333e8a(0x1f4)],'univer-select-item-option-selected':_0x949470[_0x333e8a(0x1f4)]===_0x476119['value']}),'type':_0x333e8a(0x45c),'onClick':()=>{_0x19e3d4(_0x476119['value']),_0x1606de(![]);},'children':(0x0,react_jsx_runtime['jsx'])(_0x333e8a(0x2c2),{'className':_0x333e8a(0x478),'children':(0x0,react_jsx_runtime[_0x333e8a(0x624)])('img',{'src':_0x476119[_0x333e8a(0x336)],'alt':_0x476119[_0x333e8a(0x517)]})})},_0x476119[_0x333e8a(0x1f4)]))}),'children':(0x0,react_jsx_runtime['jsx'])(_0x333e8a(0x45c),{'className':(0x0,_univerjs_design[_0x333e8a(0x593)])('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',_univerjs_design[_0x333e8a(0x24e)]),'type':_0x333e8a(0x45c),'children':(0x0,react_jsx_runtime['jsxs'])(_0x333e8a(0x2c2),{'className':_0x333e8a(0x551),'children':[(0x0,react_jsx_runtime[_0x333e8a(0x624)])(_0x333e8a(0x2c2),{'className':'univer-mr-2\x20univer-text-2xl','children':(0x0,react_jsx_runtime['jsx'])(_0x333e8a(0x4c7),{'className':'univer-size-4','src':_0x949470[_0x333e8a(0x336)],'alt':_0x949470[_0x333e8a(0x517)]})}),(0x0,react_jsx_runtime[_0x333e8a(0x624)])(_0x333e8a(0x2c2),{'className':_0x333e8a(0x311),'children':_0x949470[_0x333e8a(0x517)]})]})})}),(0x0,react_jsx_runtime['jsx'])(_univerjs_design[_0x333e8a(0x1a0)],{'className':_0x333e8a(0x3de),'checked':_0x58fe5a!==null&&_0x58fe5a!==void 0x0?_0x58fe5a:_univerjs_pro_engine_chart[_0x333e8a(0x3fc)][_0x333e8a(0x351)]['repeat'],'onChange':_0x338a3a=>{_0x3d3d27===null||_0x3d3d27===void 0x0||_0x3d3d27(Boolean(_0x338a3a));},'children':_0x33fcbb(_0x333e8a(0x1c9))})]});}const {textStyle}=_univerjs_pro_engine_chart[_0x5db780(0x3fc)],StyleTabPanel=()=>{const _0x1cf3ba=_0x5db780;var _0x5aafd2,_0x27576b,_0xdabd0d,_0x2b0dd6,_0x1222ba,_0x216a1e,_0x17d8fe,_0x1c9c1b,_0x365ab5,_0x32d820;const _0x3e97b6=(0x0,_univerjs_ui[_0x1cf3ba(0x2a6)])(_univerjs_core[_0x1cf3ba(0x1c2)]),_0x2cb8b7=(0x0,_univerjs_ui[_0x1cf3ba(0x2a6)])(_univerjs_core[_0x1cf3ba(0x3a5)]),_0x5e4edd=useSheetsChartUIService(),_0x3c46f6=(0x0,_univerjs_ui[_0x1cf3ba(0x2a6)])(_univerjs_ui[_0x1cf3ba(0x4d5)]),{t:_0x217274}=_0x3e97b6,[_0x3cc462,_0x51a529]=useChartConfigState(_0x1cf3ba(0x26b),_0x5e4edd),[_0xc4cf20]=useChartConfigState(_0x1cf3ba(0x33e),_0x5e4edd),[_0x14f162,_0x16973c]=useChartConfigState('backgroundColor',_0x5e4edd,''),[_0x4ac4a4,_0x2c0e09]=useChartConfigState(_0x1cf3ba(0x424),_0x5e4edd,''),[_0x3fb200,_0x1ccf26]=useChartConfigState(_0x1cf3ba(0x457),_0x5e4edd),[_0x4a47bd,_0x4804d4]=useChartConfigState(_0x1cf3ba(0x42b),_0x5e4edd),[_0x988309,_0x259012]=useChartConfigState(_0x1cf3ba(0x52d),_0x5e4edd),[_0x159ae6,_0x4f639b]=useChartConfigState(_0x1cf3ba(0x531),_0x5e4edd),[_0x2494d5,_0x597e7]=useChartConfigState(_0x1cf3ba(0x20e),_0x5e4edd),[_0x33b901,_0x561037]=useChartConfigState(_0x1cf3ba(0x61b),_0x5e4edd),[_0x23dde,_0x3ceb10]=useChartConfigState(_0x1cf3ba(0x451),_0x5e4edd),[_0x345c09,_0x761a20]=useChartConfigState(_0x1cf3ba(0x504),_0x5e4edd),[_0x18a542]=useChartConfigState('runtimeAxes',_0x5e4edd),[_0xac3a06]=useChartConfigState(_0x1cf3ba(0x5f6),_0x5e4edd),_0x3e64a5=(0x0,_univerjs_ui[_0x1cf3ba(0x2a6)])(_univerjs_pro_engine_chart[_0x1cf3ba(0x5ec)]),[_0x5dbf32,_0x3c5b67]=(0x0,react['useState'])(''),[_0x5aa11a]=useChartConfigState(_0x1cf3ba(0x552),_0x5e4edd),_0x14e16d=_0x3cc462&&(0x0,_univerjs_pro_engine_chart[_0x1cf3ba(0x594)])(_0x3cc462),_0x3df7d7=_0x5aa11a&&_0x5aa11a['length']>0x0,_0x32bb61=_0x3cc462&&_univerjs_pro_engine_chart[_0x1cf3ba(0x49c)]['baseOn'](_0x3cc462,_univerjs_pro_engine_chart[_0x1cf3ba(0x5c6)][_0x1cf3ba(0x5a9)]),_0x4c8d4d=(0x0,react[_0x1cf3ba(0x3dc)])(()=>{const _0x301426=_0x1cf3ba;return _0xac3a06?_0x3e64a5['getTheme'](_0xac3a06):_0x3e64a5[_0x301426(0x51b)]();},[_0xac3a06]),_0x389f85=Boolean(_0x3cc462&&_univerjs_pro_engine_chart[_0x1cf3ba(0x49c)]['baseOn'](_0x3cc462,_univerjs_pro_engine_chart['ChartTypeBits'][_0x1cf3ba(0x638)])),_0x1a4c9e=Boolean(_0x3cc462&&_univerjs_pro_engine_chart[_0x1cf3ba(0x49c)][_0x1cf3ba(0x549)](_0x3cc462,_univerjs_pro_engine_chart[_0x1cf3ba(0x5c6)][_0x1cf3ba(0x22d)])),_0x2cdfb1=Boolean(_0x3cc462&&_univerjs_pro_engine_chart[_0x1cf3ba(0x49c)][_0x1cf3ba(0x549)](_0x3cc462,_univerjs_pro_engine_chart[_0x1cf3ba(0x5c6)][_0x1cf3ba(0x22b)])),_0x12c2ed=Boolean(_0x3cc462&&_univerjs_pro_engine_chart[_0x1cf3ba(0x49c)][_0x1cf3ba(0x549)](_0x3cc462,_univerjs_pro_engine_chart['ChartTypeBits'][_0x1cf3ba(0x1ac)])),_0x417dbc=Boolean(_0x3cc462&&_univerjs_pro_engine_chart[_0x1cf3ba(0x49c)]['baseOn'](_0x3cc462,_univerjs_pro_engine_chart[_0x1cf3ba(0x5c6)]['Pareto'])),_0x5c2635=Boolean(_0x3cc462&&_univerjs_pro_engine_chart[_0x1cf3ba(0x49c)][_0x1cf3ba(0x549)](_0x3cc462,_univerjs_pro_engine_chart[_0x1cf3ba(0x5c6)][_0x1cf3ba(0x641)])),_0x12b201=Boolean(_0x3cc462&&_univerjs_pro_engine_chart['chartBitsUtils'][_0x1cf3ba(0x549)](_0x3cc462,_univerjs_pro_engine_chart[_0x1cf3ba(0x5c6)][_0x1cf3ba(0x4df)])),_0x32c3a9=(0x0,react['useMemo'])(()=>{const _0x11fc7d=_0x1cf3ba;return _0x18a542===null||_0x18a542===void 0x0?void 0x0:_0x18a542[_0x11fc7d(0x429)]((_0x4d8243,_0x27f2e5)=>{return _0x4d8243[_0x27f2e5['position']]=_0x27f2e5,_0x4d8243;},{});},[_0x18a542]),_0x308aaa=Boolean(_0x32c3a9===null||_0x32c3a9===void 0x0?void 0x0:_0x32c3a9[_univerjs_pro_engine_chart[_0x1cf3ba(0x440)][_0x1cf3ba(0x250)]])&&Boolean(_0x32c3a9===null||_0x32c3a9===void 0x0?void 0x0:_0x32c3a9[_univerjs_pro_engine_chart[_0x1cf3ba(0x440)][_0x1cf3ba(0x4b3)]])&&(_0x3cc462&_univerjs_pro_engine_chart[_0x1cf3ba(0x5c6)]['Pie'])===0x0&&(_0x3cc462&_univerjs_pro_engine_chart['ChartTypeBits'][_0x1cf3ba(0x262)])===0x0,[_0x1d8acd,_0x58b172]=(0x0,react[_0x1cf3ba(0x32e)])(titleOptions[0x0][_0x1cf3ba(0x1f4)]),_0x433461=_0x33b901===null||_0x33b901===void 0x0?void 0x0:_0x33b901[_0x1d8acd],_0x246fb5={'color':textStyle[_0x1cf3ba(0x1e1)],'fontSize':_0x1d8acd===_0x1cf3ba(0x610)?textStyle[_0x1cf3ba(0x454)]:_0x1d8acd===_0x1cf3ba(0x222)?textStyle['subTitleFontSize']:textStyle[_0x1cf3ba(0x35b)],..._0x433461},_0x2da756=(0x0,react[_0x1cf3ba(0x510)])(_0x25eb4f=>{_0x561037({[_0x1d8acd]:_0x25eb4f});},[_0x1d8acd]),_0x5c95d7=_0x256b03=>{const _0x49f77c=_0x1cf3ba,_0x3c14fd={'label':{'axisTitleAlign':_0x256b03}};if(_0x1d8acd==='xAxisTitle')_0x259012(_0x3c14fd);if(_0x1d8acd===_0x49f77c(0x597))_0x4f639b(_0x3c14fd);if(_0x1d8acd===_0x49f77c(0x3ac))_0x597e7(_0x3c14fd);},_0x58e934=()=>{const _0x537b3a=_0x1cf3ba;if(_0x1d8acd==='xAxisTitle'){var _0x5d10db;return _0x988309===null||_0x988309===void 0x0||(_0x5d10db=_0x988309[_0x537b3a(0x517)])===null||_0x5d10db===void 0x0?void 0x0:_0x5d10db['axisTitleAlign'];}if(_0x1d8acd==='yAxisTitle'){var _0x539f8c;return _0x159ae6===null||_0x159ae6===void 0x0||(_0x539f8c=_0x159ae6[_0x537b3a(0x517)])===null||_0x539f8c===void 0x0?void 0x0:_0x539f8c[_0x537b3a(0x3e8)];}if(_0x1d8acd===_0x537b3a(0x3ac)){var _0x2e984e;return _0x2494d5===null||_0x2494d5===void 0x0||(_0x2e984e=_0x2494d5[_0x537b3a(0x517)])===null||_0x2e984e===void 0x0?void 0x0:_0x2e984e['axisTitleAlign'];}};(0x0,react['useEffect'])(()=>{const _0x5c2eaa=_0x1cf3ba;var _0x169f46;_0x3c5b67((_0x169f46=_0x246fb5===null||_0x246fb5===void 0x0?void 0x0:_0x246fb5[_0x5c2eaa(0x547)])!==null&&_0x169f46!==void 0x0?_0x169f46:'');},[_0x246fb5===null||_0x246fb5===void 0x0?void 0x0:_0x246fb5['content']]);const _0x4b6f8a=useTranslatedOptions(_0x3e97b6,legendLabelPositionOptions),_0x53add4=useTranslatedOptions(_0x3e97b6,titleOptions),_0x5090ee=useTranslatedOptions(_0x3e97b6,legendSelectModeOptions),_0xfcde83=useTranslatedOptions(_0x3e97b6,legendVisualMapTypeOptions),_0x530d3a=[_0x53add4[0x0]],_0x402794=useTranslatedOptions(_0x3e97b6,titlePositionOptions),_0x20fc67=useTranslatedOptions(_0x3e97b6,axisTitlePositionOptions),_0x423ce3=(_0x4f43e7,_0x561a76)=>{const _0x6e70f3=_0x1cf3ba,_0x4b01a6={'label':UNIVER_SHEET_CHART_FORMAT_DIALOG,'onPatternApply':_0x561a76,'originPattern':_0x4f43e7};_0x3c46f6[_0x6e70f3(0x34c)]({'id':UNIVER_SHEET_CHART_FORMAT_DIALOG_ID,'title':{'title':_0x217274(_0x6e70f3(0x4b5))},'children':_0x4b01a6,'width':0x258,'onClose':()=>{const _0x29260e=_0x6e70f3;_0x3c46f6[_0x29260e(0x39d)](UNIVER_SHEET_CHART_FORMAT_DIALOG_ID);}});},_0x350148=Boolean(_0x3cc462&&_univerjs_pro_engine_chart[_0x1cf3ba(0x49c)]['baseOn'](_0x3cc462,_univerjs_pro_engine_chart[_0x1cf3ba(0x5c6)][_0x1cf3ba(0x305)])),_0x232431=Boolean(_0x3cc462&&_univerjs_pro_engine_chart[_0x1cf3ba(0x49c)][_0x1cf3ba(0x549)](_0x3cc462,_univerjs_pro_engine_chart['ChartTypeBits'][_0x1cf3ba(0x262)])),_0x50679a=Boolean(_0x3cc462&&_univerjs_pro_engine_chart[_0x1cf3ba(0x49c)]['baseOn'](_0x3cc462,_univerjs_pro_engine_chart[_0x1cf3ba(0x5c6)]['Waterfall']));return(0x0,react_jsx_runtime['jsx'])(_0x1cf3ba(0x3f6),{'className':'','children':(0x0,react_jsx_runtime[_0x1cf3ba(0x624)])(_univerjs_design['Accordion'],{'items':[{'label':(0x0,react_jsx_runtime[_0x1cf3ba(0x624)])(_0x1cf3ba(0x3f6),{'className':_0x1cf3ba(0x3c8),'children':_0x217274(_0x1cf3ba(0x4d1))}),'children':(0x0,react_jsx_runtime['jsx'])('section',{'className':_0x1cf3ba(0x1b2),'children':(0x0,react_jsx_runtime[_0x1cf3ba(0x3aa)])(_0x1cf3ba(0x3f6),{'className':'univer-justify-content-between\x20univer-items-flex-start\x20univer-mb-2\x20univer-flex\x20univer-gap-2','children':[(0x0,react_jsx_runtime[_0x1cf3ba(0x3aa)])(_0x1cf3ba(0x3f6),{'className':_0x1cf3ba(0x5de),'children':[(0x0,react_jsx_runtime[_0x1cf3ba(0x624)])(_0x1cf3ba(0x3f6),{'className':'univer-mb-2\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x217274('chart.backgroundColor')}),(0x0,react_jsx_runtime[_0x1cf3ba(0x624)])(ColorPickerControl,{'color':_0x14f162,'onChange':_0x16973c})]}),(0x0,react_jsx_runtime['jsxs'])(_0x1cf3ba(0x3f6),{'className':_0x1cf3ba(0x5de),'children':[(0x0,react_jsx_runtime[_0x1cf3ba(0x624)])('div',{'className':_0x1cf3ba(0x27b),'children':_0x217274(_0x1cf3ba(0x4c1))}),(0x0,react_jsx_runtime[_0x1cf3ba(0x624)])(ColorPickerControl,{'color':_0x4ac4a4,'onChange':_0x2c0e09})]})]})})},{'label':(0x0,react_jsx_runtime[_0x1cf3ba(0x624)])(_0x1cf3ba(0x3f6),{'className':_0x1cf3ba(0x3c8),'children':_0x217274(_0x1cf3ba(0x4db))}),'children':(0x0,react_jsx_runtime['jsxs'])('section',{'children':[(0x0,react_jsx_runtime[_0x1cf3ba(0x3aa)])(_0x1cf3ba(0x3f6),{'className':_0x1cf3ba(0x1b2),'children':[(0x0,react_jsx_runtime[_0x1cf3ba(0x624)])(_0x1cf3ba(0x3f6),{'className':_0x1cf3ba(0x27b),'children':_0x217274(_0x1cf3ba(0x19c))}),(0x0,react_jsx_runtime[_0x1cf3ba(0x624)])(_univerjs_design['Select'],{'className':_0x1cf3ba(0x226),'value':_0x1d8acd,'options':_0x350148||_0x232431||_0x389f85?_0x530d3a:_0x53add4,'onChange':_0x19357a=>_0x58b172(_0x19357a)})]}),(0x0,react_jsx_runtime['jsxs'])(_0x1cf3ba(0x3f6),{'className':_0x1cf3ba(0x1b2),'children':[(0x0,react_jsx_runtime[_0x1cf3ba(0x624)])(_0x1cf3ba(0x3f6),{'className':_0x1cf3ba(0x27b),'children':_0x217274(_0x1cf3ba(0x3a0))}),(0x0,react_jsx_runtime['jsx'])(_univerjs_design['Input'],{'value':_0x5dbf32,'onChange':_0x3c5b67,'onFocus':()=>{const _0x15908e=_0x1cf3ba;_0x2cb8b7[_0x15908e(0x40f)](_univerjs_core[_0x15908e(0x28e)],!![]);},'onBlur':()=>{const _0x5b267c=_0x1cf3ba;_0x2cb8b7[_0x5b267c(0x40f)](_univerjs_core[_0x5b267c(0x28e)],![]);if(_0x5dbf32!==(_0x246fb5===null||_0x246fb5===void 0x0?void 0x0:_0x246fb5[_0x5b267c(0x547)]))_0x2da756({'content':_0x5dbf32});}})]}),(0x0,react_jsx_runtime[_0x1cf3ba(0x624)])(_0x1cf3ba(0x3f6),{'className':_0x1cf3ba(0x1b2),'children':(0x0,react_jsx_runtime[_0x1cf3ba(0x624)])(_0x1cf3ba(0x3f6),{'className':'univer-justify-content-between\x20univer-items-flex-start\x20univer-mb-2\x20univer-flex\x20univer-gap-2','children':(0x0,react_jsx_runtime[_0x1cf3ba(0x3aa)])(_0x1cf3ba(0x3f6),{'className':_0x1cf3ba(0x5de),'children':[_0x1d8acd===_0x1cf3ba(0x610)&&(0x0,react_jsx_runtime[_0x1cf3ba(0x3aa)])(react_jsx_runtime[_0x1cf3ba(0x263)],{'children':[(0x0,react_jsx_runtime[_0x1cf3ba(0x624)])(_0x1cf3ba(0x3f6),{'className':'univer-mb-2\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x217274(_0x1cf3ba(0x586))}),(0x0,react_jsx_runtime[_0x1cf3ba(0x624)])(_univerjs_design['Select'],{'className':_0x1cf3ba(0x226),'value':_0x23dde!==null&&_0x23dde!==void 0x0?_0x23dde:_univerjs_pro_engine_chart[_0x1cf3ba(0x3fc)][_0x1cf3ba(0x451)],'options':_0x402794,'onChange':_0x56af48=>_0x3ceb10(_0x56af48)})]}),_0x1d8acd!==_0x1cf3ba(0x610)&&(0x0,react_jsx_runtime[_0x1cf3ba(0x3aa)])(react_jsx_runtime[_0x1cf3ba(0x263)],{'children':[(0x0,react_jsx_runtime[_0x1cf3ba(0x624)])(_0x1cf3ba(0x3f6),{'className':'univer-mb-2\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x217274(_0x1cf3ba(0x391))}),(0x0,react_jsx_runtime[_0x1cf3ba(0x624)])(_univerjs_design[_0x1cf3ba(0x1d8)],{'className':_0x1cf3ba(0x226),'value':(_0x5aafd2=_0x58e934())!==null&&_0x5aafd2!==void 0x0?_0x5aafd2:_univerjs_pro_engine_chart['defaultChartConfig'][_0x1cf3ba(0x43c)][_0x1cf3ba(0x54e)],'options':_0x20fc67,'onChange':_0x35b252=>_0x5c95d7(_0x35b252)})]})]})})}),(0x0,react_jsx_runtime[_0x1cf3ba(0x3aa)])(_0x1cf3ba(0x3f6),{'className':_0x1cf3ba(0x1b2),'children':[(0x0,react_jsx_runtime['jsx'])(_0x1cf3ba(0x3f6),{'className':_0x1cf3ba(0x27b),'children':_0x217274(_0x1cf3ba(0x22e))}),(0x0,react_jsx_runtime['jsx'])(_0x1cf3ba(0x3f6),{'className':_0x1cf3ba(0x5a3),'children':(0x0,react_jsx_runtime['jsx'])(FontFormatBar,{'alignControl':_0x1d8acd===_0x1cf3ba(0x610),'localeService':_0x3e97b6,..._0x246fb5,'onChange':(_0x1d0f1f,_0x2e0789)=>_0x2da756({[_0x1d0f1f]:_0x2e0789})})})]})]})},_0x389f85&&{'label':(0x0,react_jsx_runtime[_0x1cf3ba(0x624)])(_0x1cf3ba(0x3f6),{'className':_0x1cf3ba(0x3c8),'children':_0x217274(_0x1cf3ba(0x4f1))}),'children':(0x0,react_jsx_runtime[_0x1cf3ba(0x624)])(WordCloudShapeSelector,{'service':_0x5e4edd,'localeService':_0x3e97b6})},!_0x389f85&&!_0x350148&&!_0x1a4c9e&&!_0x12c2ed&&!_0x50679a&&!_0x417dbc&&!_0x5c2635&&!_0x12b201&&{'label':(0x0,react_jsx_runtime[_0x1cf3ba(0x624)])(_0x1cf3ba(0x3f6),{'className':'univer-text-sm\x20univer-font-medium\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x217274(_0x1cf3ba(0x520))}),'children':(0x0,react_jsx_runtime['jsx'])(SeriesStyleEdit,{'chartType':_0x3cc462,'service':_0x5e4edd,'localeService':_0x3e97b6})},_0x417dbc&&{'label':(0x0,react_jsx_runtime[_0x1cf3ba(0x624)])(_0x1cf3ba(0x3f6),{'className':_0x1cf3ba(0x3c8),'children':_0x217274('chart.pareto.barSeries')}),'children':(0x0,react_jsx_runtime[_0x1cf3ba(0x624)])(ParetoStyleEdit,{'service':_0x5e4edd,'localeService':_0x3e97b6,'isLineSeries':![]})},_0x417dbc&&{'label':(0x0,react_jsx_runtime[_0x1cf3ba(0x624)])(_0x1cf3ba(0x3f6),{'className':_0x1cf3ba(0x3c8),'children':_0x217274(_0x1cf3ba(0x512))}),'children':(0x0,react_jsx_runtime['jsx'])(ParetoStyleEdit,{'service':_0x5e4edd,'localeService':_0x3e97b6,'isLineSeries':!![]})},_0x50679a&&{'label':(0x0,react_jsx_runtime[_0x1cf3ba(0x624)])(_0x1cf3ba(0x3f6),{'className':_0x1cf3ba(0x3c8),'children':_0x217274(_0x1cf3ba(0x520))}),'children':(0x0,react_jsx_runtime[_0x1cf3ba(0x624)])(WaterfallSeriesEdit,{'service':_0x5e4edd,'localeService':_0x3e97b6})},_0x350148&&{'label':(0x0,react_jsx_runtime[_0x1cf3ba(0x624)])('div',{'className':_0x1cf3ba(0x3c8),'children':_0x217274(_0x1cf3ba(0x427))}),'children':(0x0,react_jsx_runtime[_0x1cf3ba(0x624)])(PieChartStyleEdit,{'chartType':_0x3cc462,'service':_0x5e4edd,'localeService':_0x3e97b6,'onChartTypeChange':_0x51a529})},!_0x389f85&&!_0x5c2635&&{'label':(0x0,react_jsx_runtime[_0x1cf3ba(0x624)])(_0x1cf3ba(0x3f6),{'className':'univer-text-sm\x20univer-font-medium\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x217274(_0x1cf3ba(0x25c))}),'children':(0x0,react_jsx_runtime[_0x1cf3ba(0x3aa)])(_0x1cf3ba(0x628),{'children':[(0x0,react_jsx_runtime[_0x1cf3ba(0x3aa)])(_0x1cf3ba(0x3f6),{'className':'univer-px-4\x20univer-pb-2.5\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':[(0x0,react_jsx_runtime['jsx'])('div',{'className':_0x1cf3ba(0x27b),'children':_0x217274(_0x1cf3ba(0x397))}),(0x0,react_jsx_runtime[_0x1cf3ba(0x624)])(_univerjs_design[_0x1cf3ba(0x1d8)],{'className':_0x1cf3ba(0x226),'value':(_0x3fb200===null||_0x3fb200===void 0x0?void 0x0:_0x3fb200[_0x1cf3ba(0x453)])||_univerjs_pro_engine_chart[_0x1cf3ba(0x3fc)][_0x1cf3ba(0x21c)][_0x1cf3ba(0x453)],'onChange':_0x445002=>_0x1ccf26({..._0x3fb200,'position':_0x445002}),'options':_0x4b6f8a})]}),(0x0,react_jsx_runtime[_0x1cf3ba(0x3aa)])('div',{'className':'univer-px-4\x20univer-pb-2.5\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':[(0x0,react_jsx_runtime[_0x1cf3ba(0x624)])(_0x1cf3ba(0x3f6),{'className':_0x1cf3ba(0x27b),'children':_0x217274('chart.legendSelectMode')}),!_0x12b201&&(0x0,react_jsx_runtime[_0x1cf3ba(0x624)])(_univerjs_design['Select'],{'className':'univer-w-full\x20!univer-min-w-0','value':(_0x3fb200===null||_0x3fb200===void 0x0?void 0x0:_0x3fb200[_0x1cf3ba(0x31c)])||_univerjs_pro_engine_chart[_0x1cf3ba(0x3fc)][_0x1cf3ba(0x21c)][_0x1cf3ba(0x31c)],'onChange':_0x1717d6=>_0x1ccf26({..._0x3fb200,'selectMode':_0x1717d6}),'options':_0x5090ee}),_0x12b201&&(0x0,react_jsx_runtime['jsx'])(_univerjs_design[_0x1cf3ba(0x1d8)],{'className':_0x1cf3ba(0x226),'value':_0x4a47bd||_univerjs_pro_engine_chart[_0x1cf3ba(0x3fc)][_0x1cf3ba(0x3c9)][_0x1cf3ba(0x42b)],'onChange':_0x472792=>_0x4804d4(_0x472792),'options':_0xfcde83})]}),!_0x12b201&&(0x0,react_jsx_runtime[_0x1cf3ba(0x3aa)])(_0x1cf3ba(0x3f6),{'className':'univer-px-4\x20univer-pb-2.5\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':[(0x0,react_jsx_runtime[_0x1cf3ba(0x624)])(_0x1cf3ba(0x3f6),{'className':_0x1cf3ba(0x27b),'children':_0x217274(_0x1cf3ba(0x22e))}),(0x0,react_jsx_runtime['jsx'])(FontFormatBar,{..._0x3fb200===null||_0x3fb200===void 0x0?void 0x0:_0x3fb200['label'],'localeService':_0x3e97b6,'fontSize':(_0x27576b=_0x3fb200===null||_0x3fb200===void 0x0||(_0xdabd0d=_0x3fb200[_0x1cf3ba(0x517)])===null||_0xdabd0d===void 0x0?void 0x0:_0xdabd0d['fontSize'])!==null&&_0x27576b!==void 0x0?_0x27576b:_univerjs_pro_engine_chart[_0x1cf3ba(0x3fc)][_0x1cf3ba(0x448)][_0x1cf3ba(0x35b)],'color':(_0x2b0dd6=_0x3fb200===null||_0x3fb200===void 0x0||(_0x1222ba=_0x3fb200[_0x1cf3ba(0x517)])===null||_0x1222ba===void 0x0?void 0x0:_0x1222ba[_0x1cf3ba(0x1e1)])!==null&&_0x2b0dd6!==void 0x0?_0x2b0dd6:_univerjs_pro_engine_chart[_0x1cf3ba(0x3fc)][_0x1cf3ba(0x448)][_0x1cf3ba(0x1e1)],'onChange':(_0x3a07ce,_0x1e4ee0)=>_0x1ccf26({'label':{[_0x3a07ce]:_0x1e4ee0}})})]})]})},!_0x389f85&&!_0x350148&&!_0x232431&&!_0x2cdfb1&&!_0x12c2ed&&!_0x5c2635&&!_0x12b201&&{'label':(0x0,react_jsx_runtime[_0x1cf3ba(0x624)])(_0x1cf3ba(0x3f6),{'className':_0x1cf3ba(0x3c8),'children':_0x217274('chart.axes.horizontalAxis')}),'children':(0x0,react_jsx_runtime[_0x1cf3ba(0x3aa)])(_0x1cf3ba(0x628),{'className':_0x1cf3ba(0x1b2),'children':[(0x0,react_jsx_runtime[_0x1cf3ba(0x624)])(AxisOptionsEdit,{'localeService':_0x3e97b6,'sheetsChartUIService':_0x5e4edd,'axisOptions':_0x988309,'canUseDateAxis':_0x3cc462!==_univerjs_pro_engine_chart[_0x1cf3ba(0x5c6)][_0x1cf3ba(0x5a9)]&&_0x3cc462!==_univerjs_pro_engine_chart[_0x1cf3ba(0x5c6)][_0x1cf3ba(0x1f5)],'valueAxis':_0x32bb61||(_0x32c3a9===null||_0x32c3a9===void 0x0||(_0x216a1e=_0x32c3a9[_univerjs_pro_engine_chart['IRuntimeAxisPosition']['Bottom']])===null||_0x216a1e===void 0x0?void 0x0:_0x216a1e[_0x1cf3ba(0x582)])===_univerjs_pro_engine_chart['AxisValueType'][_0x1cf3ba(0x3b6)],'onChange':_0x259012}),(0x0,react_jsx_runtime[_0x1cf3ba(0x624)])(_univerjs_design[_0x1cf3ba(0x469)],{'className':'','size':'small','onClick':()=>{const _0x2fc465=_0x1cf3ba;_0x423ce3(_0x988309===null||_0x988309===void 0x0?void 0x0:_0x988309[_0x2fc465(0x1cf)],_0x5f2f8c=>{_0x259012({'format':_0x5f2f8c});});},'children':_0x217274(_0x1cf3ba(0x4b5))})]})},!_0x389f85&&!_0x350148&&!_0x232431&&!_0x2cdfb1&&!_0x12c2ed&&!_0x5c2635&&!_0x12b201&&{'label':(0x0,react_jsx_runtime[_0x1cf3ba(0x624)])(_0x1cf3ba(0x3f6),{'className':'univer-text-sm\x20univer-font-medium\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x217274(_0x1cf3ba(0x435))}),'children':(0x0,react_jsx_runtime['jsxs'])(_0x1cf3ba(0x628),{'className':_0x1cf3ba(0x1b2),'children':[(0x0,react_jsx_runtime[_0x1cf3ba(0x624)])(AxisOptionsEdit,{'localeService':_0x3e97b6,'sheetsChartUIService':_0x5e4edd,'axisOptions':_0x159ae6,'canUseDateAxis':![],'valueAxis':(_0x32c3a9===null||_0x32c3a9===void 0x0||(_0x17d8fe=_0x32c3a9[_univerjs_pro_engine_chart[_0x1cf3ba(0x440)][_0x1cf3ba(0x4b3)]])===null||_0x17d8fe===void 0x0?void 0x0:_0x17d8fe['type'])===_univerjs_pro_engine_chart[_0x1cf3ba(0x522)][_0x1cf3ba(0x3b6)],'onChange':_0x4f639b}),(_0x32c3a9===null||_0x32c3a9===void 0x0||(_0x1c9c1b=_0x32c3a9[_univerjs_pro_engine_chart[_0x1cf3ba(0x440)][_0x1cf3ba(0x4b3)]])===null||_0x1c9c1b===void 0x0?void 0x0:_0x1c9c1b[_0x1cf3ba(0x582)])===_univerjs_pro_engine_chart[_0x1cf3ba(0x522)]['Numeric']&&(0x0,react_jsx_runtime['jsx'])(_univerjs_design[_0x1cf3ba(0x469)],{'className':'','size':_0x1cf3ba(0x53c),'onClick':()=>{_0x423ce3(_0x159ae6===null||_0x159ae6===void 0x0?void 0x0:_0x159ae6['format'],_0x42f318=>{_0x4f639b({'format':_0x42f318});});},'children':_0x217274(_0x1cf3ba(0x4b5))})]})},!_0x389f85&&_0x308aaa&&!_0x12c2ed&&!_0x5c2635&&!_0x12b201&&{'label':(0x0,react_jsx_runtime[_0x1cf3ba(0x624)])('div',{'className':_0x1cf3ba(0x3c8),'children':_0x217274(_0x1cf3ba(0x5a0))}),'children':(0x0,react_jsx_runtime[_0x1cf3ba(0x3aa)])(_0x1cf3ba(0x628),{'className':_0x1cf3ba(0x1b2),'children':[(0x0,react_jsx_runtime[_0x1cf3ba(0x624)])(AxisOptionsEdit,{'localeService':_0x3e97b6,'sheetsChartUIService':_0x5e4edd,'canUseDateAxis':![],'axisOptions':_0x2494d5,'onChange':_0x597e7,'valueAxis':!![]}),(_0x32c3a9===null||_0x32c3a9===void 0x0||(_0x365ab5=_0x32c3a9[_univerjs_pro_engine_chart[_0x1cf3ba(0x440)][_0x1cf3ba(0x250)]])===null||_0x365ab5===void 0x0?void 0x0:_0x365ab5[_0x1cf3ba(0x582)])===_univerjs_pro_engine_chart[_0x1cf3ba(0x522)]['Numeric']&&(0x0,react_jsx_runtime[_0x1cf3ba(0x624)])(_univerjs_design[_0x1cf3ba(0x469)],{'className':'','size':_0x1cf3ba(0x53c),'onClick':()=>{const _0x497818=_0x1cf3ba;_0x423ce3(_0x2494d5===null||_0x2494d5===void 0x0?void 0x0:_0x2494d5[_0x497818(0x1cf)],_0x53a7ce=>{_0x597e7({'format':_0x53a7ce});});},'children':_0x217274(_0x1cf3ba(0x4b5))})]})},!_0x389f85&&!_0x350148&&!_0x232431&&!_0x12c2ed&&!_0x2cdfb1&&!_0x5c2635&&!_0x12b201&&{'label':(0x0,react_jsx_runtime[_0x1cf3ba(0x624)])('div',{'className':_0x1cf3ba(0x3c8),'children':_0x217274('chart.gridlinesAndTicks')}),'children':(0x0,react_jsx_runtime[_0x1cf3ba(0x624)])(_0x1cf3ba(0x628),{'className':'univer-px-4\x20univer-pb-2.5\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':(0x0,react_jsx_runtime[_0x1cf3ba(0x624)])(GridLineAndTickOptions,{'service':_0x5e4edd,'localeService':_0x3e97b6,'className':_0x1cf3ba(0x546),'runtimeAxes':_0x18a542})})},!_0x389f85&&!_0x12c2ed&&!_0x350148&&!_0x2cdfb1&&!_0x5c2635&&{'label':(0x0,react_jsx_runtime[_0x1cf3ba(0x624)])('div',{'className':_0x1cf3ba(0x3c8),'children':_0x217274(_0x1cf3ba(0x1f6))}),'children':(0x0,react_jsx_runtime[_0x1cf3ba(0x624)])(_0x1cf3ba(0x628),{'className':'univer-px-4\x20univer-pb-2.5\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':(0x0,react_jsx_runtime[_0x1cf3ba(0x624)])(IndicatorLine,{'localeService':_0x3e97b6,'indicatorLabelColor':(_0x345c09===null||_0x345c09===void 0x0?void 0x0:_0x345c09[_0x1cf3ba(0x4e2)])||_univerjs_pro_engine_chart[_0x1cf3ba(0x3fc)][_0x1cf3ba(0x1c3)],'indicatorLineType':(_0x345c09===null||_0x345c09===void 0x0?void 0x0:_0x345c09[_0x1cf3ba(0x5f8)])||_univerjs_pro_engine_chart['defaultChartConfig'][_0x1cf3ba(0x5f8)],'indicatorLabelTextColor':(_0x345c09===null||_0x345c09===void 0x0?void 0x0:_0x345c09[_0x1cf3ba(0x5cf)])||_univerjs_pro_engine_chart[_0x1cf3ba(0x3fc)][_0x1cf3ba(0x2c1)],'indicatorLineColor':(_0x345c09===null||_0x345c09===void 0x0?void 0x0:_0x345c09[_0x1cf3ba(0x1a1)])||(_0x4c8d4d===null||_0x4c8d4d===void 0x0||(_0x32d820=_0x4c8d4d[_0x1cf3ba(0x2bf)])===null||_0x32d820===void 0x0?void 0x0:_0x32d820[_0x1cf3ba(0x327)]),'onChange':_0xf841c3=>{_0x761a20(_0xf841c3);}})})},_0x14e16d&&_0x3df7d7&&{'label':(0x0,react_jsx_runtime[_0x1cf3ba(0x624)])(_0x1cf3ba(0x3f6),{'className':'univer-text-sm\x20univer-font-medium\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x217274(_0x1cf3ba(0x4ac))}),'children':(0x0,react_jsx_runtime[_0x1cf3ba(0x624)])(TrendLineStyleEdit,{'localeService':_0x3e97b6,'uiService':_0x5e4edd})},_0x12c2ed&&{'label':(0x0,react_jsx_runtime[_0x1cf3ba(0x624)])(_0x1cf3ba(0x3f6),{'className':_0x1cf3ba(0x3c8),'children':_0x217274(_0x1cf3ba(0x36a))}),'children':(0x0,react_jsx_runtime[_0x1cf3ba(0x624)])('section',{'className':_0x1cf3ba(0x1b2),'children':(0x0,react_jsx_runtime[_0x1cf3ba(0x624)])(RelationEdit,{'service':_0x5e4edd,'localeService':_0x3e97b6})})}][_0x1cf3ba(0x197)](Boolean)})});};function ChartEditPanel(_0x2b1a6c){const _0x29ff2a=_0x5db780,{className:_0x1c3743}=_0x2b1a6c,[_0x5a1795,_0x2705f]=(0x0,react[_0x29ff2a(0x32e)])(0x0),_0x2ff65a=(0x0,_univerjs_ui[_0x29ff2a(0x2a6)])(_univerjs_core[_0x29ff2a(0x1c2)]);return(0x0,react_jsx_runtime['jsxs'])('div',{'className':(0x0,_univerjs_design['clsx'])(_0x29ff2a(0x279),_0x1c3743),'children':[(0x0,react_jsx_runtime[_0x29ff2a(0x3aa)])('div',{'className':_0x29ff2a(0x4ce),'children':[(0x0,react_jsx_runtime[_0x29ff2a(0x3aa)])(_0x29ff2a(0x3f6),{'className':(0x0,_univerjs_design[_0x29ff2a(0x593)])(_0x29ff2a(0x2df),_0x5a1795===0x0?_0x29ff2a(0x2b0):_0x29ff2a(0x62a)),'onClick':()=>_0x2705f(0x0),'children':[_0x2ff65a['t'](_0x29ff2a(0x643)),(0x0,react_jsx_runtime[_0x29ff2a(0x624)])(_0x29ff2a(0x3f6),{'className':(0x0,_univerjs_design[_0x29ff2a(0x593)])('univer-mx-auto\x20univer-mt-2\x20univer-h-1\x20univer-w-1/2\x20univer-rounded-md',{'univer-bg-primary-600':_0x5a1795===0x0,'univer-bg-transparent':_0x5a1795!==0x0})})]}),(0x0,react_jsx_runtime[_0x29ff2a(0x3aa)])('div',{'className':(0x0,_univerjs_design['clsx'])(_0x29ff2a(0x2df),{'univer-text-primary-600':_0x5a1795===0x1,'univer-text-gray-500':_0x5a1795!==0x1}),'onClick':()=>_0x2705f(0x1),'children':[_0x2ff65a['t'](_0x29ff2a(0x19a)),(0x0,react_jsx_runtime['jsx'])('div',{'className':(0x0,_univerjs_design[_0x29ff2a(0x593)])(_0x29ff2a(0x285),{'univer-bg-primary-600':_0x5a1795===0x1,'univer-bg-transparent':_0x5a1795!==0x1})})]})]}),(0x0,react_jsx_runtime[_0x29ff2a(0x624)])(_0x29ff2a(0x3f6),{'className':'univer-flex-1\x20univer-overflow-auto','children':_0x5a1795===0x0?(0x0,react_jsx_runtime['jsx'])(DataTabPanel,{}):(0x0,react_jsx_runtime['jsx'])(StyleTabPanel,{})})]});}const getCurrencyType=_0x2836a6=>{const _0x2c4cb7=_0x5db780;return currencySymbols[_0x2c4cb7(0x5c3)](_0x216f87=>_0x2836a6[_0x2c4cb7(0x19e)](_0x216f87));},isGeneralPanel=_0x43a166=>!_0x43a166,isAccountingPanel=_0x2d8c94=>{const _0x1e8f9a=_0x5db780;return!!getCurrencyType(_0x2d8c94)&&_0x2d8c94[_0x1e8f9a(0x24c)]('_(');},isCurrencyPanel=_0x42aa8a=>{return!!getCurrencyType(_0x42aa8a)&&!_0x42aa8a['startsWith']('_(');},getDecimalFromPattern=(_0x4215c1,_0x5c742f=0x0)=>{const _0x223005=_0x5db780;var _0x51a8ef;if(!_0x4215c1)return _0x5c742f;return(_0x51a8ef=_univerjs_core['numfmt'][_0x223005(0x5bb)](_0x4215c1)['maxDecimals'])!==null&&_0x51a8ef!==void 0x0?_0x51a8ef:_0x5c742f;},getDecimalString=_0x349156=>new Array(Math[_0x5db780(0x393)](Math[_0x5db780(0x1e5)](0x0,Number(_0x349156)),0x1e))['fill'](0x0)['join'](''),setPatternDecimal=(_0x42890e,_0x4169ef)=>{const _0x1ac000=_0x5db780;return _0x42890e[_0x1ac000(0x601)](';')[_0x1ac000(0x20f)](_0x255b88=>{const _0xc976a1=_0x1ac000;if(/\.0?/['test'](_0x255b88))return _0x255b88['replace'](/\.0*/g,''+(_0x4169ef>0x0?'.':'')+getDecimalString(Number(_0x4169ef||0x0)));if(/0[^0]?/[_0xc976a1(0x38e)](_0x255b88))return _0x255b88['replace'](/0[^0]+|0$/,'0'+(_0x4169ef>0x0?'.':'')+getDecimalString(Number(_0x4169ef||0x0)));return _0x255b88;})[_0x1ac000(0x407)](';');},getNumberFormatOptions=()=>ThousandsSeparatorFormatList['map'](_0x2396ca=>({'label':_0x2396ca[_0x5db780(0x517)],'value':_0x2396ca[_0x5db780(0x231)],'color':_0x2396ca[_0x5db780(0x1e1)]})),isThousandthPercentilePanel=_0x32e97c=>getNumberFormatOptions()['some'](_0x26a28a=>(0x0,_univerjs_core[_0x5db780(0x1ba)])(_0x26a28a[_0x5db780(0x1f4)],_0x32e97c)),getDateFormatOptions=()=>DateFormatList['map'](_0x33b8d1=>({'label':_0x33b8d1[_0x5db780(0x517)],'value':_0x33b8d1[_0x5db780(0x231)]})),isDatePanel=_0x25620a=>{const _0x2ecccf=_0x5db780,_0x2bcff2=_univerjs_core[_0x2ecccf(0x1b1)][_0x2ecccf(0x5bb)](_0x25620a);return getDateFormatOptions()[_0x2ecccf(0x20f)](_0x346e9e=>_0x346e9e['value'])[_0x2ecccf(0x19e)](_0x25620a)||[_0x2ecccf(0x44e),_0x2ecccf(0x574),_0x2ecccf(0x240)][_0x2ecccf(0x19e)](_0x2bcff2[_0x2ecccf(0x582)]);};var NumfmtTypeEnum=function(_0x1671bf){const _0x4eabf6=_0x5db780;return _0x1671bf['General']='sheet.numfmt.general',_0x1671bf[_0x4eabf6(0x246)]='sheet.numfmt.accounting',_0x1671bf[_0x4eabf6(0x36c)]=_0x4eabf6(0x1eb),_0x1671bf['Date']=_0x4eabf6(0x3b4),_0x1671bf[_0x4eabf6(0x2de)]=_0x4eabf6(0x40b),_0x1671bf;}(NumfmtTypeEnum||{});const GeneralPanel=({handlePatternChange:_0x1d0b9d})=>{const _0x3490d6=_0x5db780,_0x289f50=(0x0,_univerjs_ui[_0x3490d6(0x2a6)])(_univerjs_core['LocaleService'])['t'];return(0x0,react[_0x3490d6(0x5d3)])(()=>{_0x1d0b9d('');},[]),(0x0,react_jsx_runtime[_0x3490d6(0x624)])(_0x3490d6(0x3f6),{'className':'univer-mt-1.5\x20univer-text-sm\x20univer-leading-5\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x289f50(_0x3490d6(0x3c3))});},AccountingPanel=({originPattern:_0x1ac7c9,handlePatternChange:_0x57b88e})=>{const _0x139d45=_0x5db780,_0x248d0c=(0x0,_univerjs_ui[_0x139d45(0x2a6)])(_univerjs_core['LocaleService'])['t'],_0x4256f6=currencySymbols['map'](_0x2df170=>({'label':_0x2df170,'value':_0x2df170})),[_0x19eb19,_0x5eb81a]=(0x0,react[_0x139d45(0x32e)])(()=>getDecimalFromPattern(_0x1ac7c9||'',0x2)),[_0x4bb9ed,_0x32842f]=(0x0,react[_0x139d45(0x32e)])(()=>{const _0x446078=_0x139d45;return getCurrencyType(_0x1ac7c9!==null&&_0x1ac7c9!==void 0x0?_0x1ac7c9:'')||_0x4256f6[0x0][_0x446078(0x1f4)];}),_0x1f14da=_0xbe402e=>{const _0xe920c6=_0x139d45,_0xd0c4e1=_0xbe402e!==null&&_0xbe402e!==void 0x0?_0xbe402e:0x0;_0x5eb81a(_0xd0c4e1),_0x57b88e(setPatternDecimal(_0xe920c6(0x2af)+_0x4bb9ed+_0xe920c6(0x61e)+(_0xd0c4e1>0x0?'.0':'')+'_)',_0xd0c4e1));},_0x46e7d6=_0x47a107=>{const _0x31e0b8=_0x139d45;_0x32842f(_0x47a107),_0x57b88e(setPatternDecimal(_0x31e0b8(0x2af)+_0x47a107+_0x31e0b8(0x61e)+(_0x19eb19>0x0?'.0':'')+'_)',_0x19eb19));};return(0x0,react['useEffect'])(()=>{_0x57b88e(setPatternDecimal('_(\x22'+_0x4bb9ed+'\x22*\x20#,##0'+(_0x19eb19>0x0?'.0':'')+'_)',_0x19eb19));},[]),(0x0,react_jsx_runtime[_0x139d45(0x3aa)])(_0x139d45(0x3f6),{'className':'univer-mt-2.5','children':[(0x0,react_jsx_runtime[_0x139d45(0x3aa)])('div',{'className':_0x139d45(0x646),'children':[(0x0,react_jsx_runtime[_0x139d45(0x3aa)])(_0x139d45(0x3f6),{'className':_0x139d45(0x51e),'children':[(0x0,react_jsx_runtime[_0x139d45(0x624)])(_0x139d45(0x3f6),{'className':_0x139d45(0x2ea),'children':_0x248d0c(_0x139d45(0x495))}),(0x0,react_jsx_runtime[_0x139d45(0x624)])(_univerjs_design[_0x139d45(0x537)],{'className':_0x139d45(0x5e4),'value':_0x19eb19,'max':0x14,'min':0x0,'onChange':_0x1f14da})]}),(0x0,react_jsx_runtime[_0x139d45(0x3aa)])(_0x139d45(0x3f6),{'className':'univer-w-[136px]','children':[(0x0,react_jsx_runtime[_0x139d45(0x624)])(_0x139d45(0x3f6),{'className':'univer-mb-2\x20univer-text-sm\x20univer-font-medium','children':_0x248d0c(_0x139d45(0x50e))}),(0x0,react_jsx_runtime[_0x139d45(0x624)])(_univerjs_design['Select'],{'options':_0x4256f6,'value':_0x4bb9ed,'onChange':_0x46e7d6})]})]}),(0x0,react_jsx_runtime[_0x139d45(0x624)])(_0x139d45(0x3f6),{'className':_0x139d45(0x5b8),'children':_0x248d0c(_0x139d45(0x3f8))})]});},CurrencyPanel=({originPattern:_0x26d174,handlePatternChange:_0x58074e})=>{const _0x329027=_0x5db780,_0x32bed1=(0x0,_univerjs_ui[_0x329027(0x2a6)])(_univerjs_core['LocaleService'])['t'],_0x407e7a=currencySymbols[_0x329027(0x20f)](_0x32a2b7=>({'label':_0x32a2b7,'value':_0x32a2b7})),[_0x1d6dc4,_0x2c3136]=(0x0,react[_0x329027(0x32e)])(()=>getDecimalFromPattern(_0x26d174||'',0x2)),[_0x64e286,_0x52993d]=(0x0,react[_0x329027(0x32e)])(()=>getCurrencyType(_0x26d174!==null&&_0x26d174!==void 0x0?_0x26d174:'')||_0x407e7a[0x0]['value']),_0x5e0650=CurrencyFormatList['map'](_0x194b6a=>({'label':_0x194b6a[_0x329027(0x517)](_0x64e286),'value':_0x194b6a[_0x329027(0x231)](_0x64e286),'color':_0x194b6a[_0x329027(0x1e1)]})),[_0x3c4a63,_0x4a5085]=(0x0,react[_0x329027(0x32e)])(()=>{const _0x3d11f0=_0x329027;var _0x4caf95;return((_0x4caf95=_0x5e0650[_0x3d11f0(0x5c3)](_0xe473d0=>(0x0,_univerjs_core[_0x3d11f0(0x1ba)])(_0xe473d0[_0x3d11f0(0x1f4)],_0x26d174!==null&&_0x26d174!==void 0x0?_0x26d174:'')))===null||_0x4caf95===void 0x0?void 0x0:_0x4caf95[_0x3d11f0(0x1f4)])||_0x5e0650[0x0]['value'];}),_0x3be2fd=_0x5f04a0=>{_0x5f04a0&&(_0x2c3136(_0x5f04a0),_0x58074e(setPatternDecimal(_0x3c4a63,_0x5f04a0)));},_0x254973=_0x4eab23=>{const _0x16ba81=_0x329027;_0x52993d(_0x4eab23);const _0x31856b=CurrencyFormatList[_0x16ba81(0x20f)](_0x274cf9=>({'label':_0x274cf9['label'](_0x4eab23),'value':_0x274cf9[_0x16ba81(0x231)](_0x4eab23),'color':_0x274cf9['color']}));_0x4a5085(_0x31856b[0x0][_0x16ba81(0x1f4)]),_0x58074e(setPatternDecimal(_0x31856b[0x0]['value'],_0x1d6dc4));},_0x3a153e=_0x4663c5=>{_0x4a5085(_0x4663c5),_0x58074e(setPatternDecimal(_0x4663c5,_0x1d6dc4));};return(0x0,react[_0x329027(0x5d3)])(()=>{_0x58074e(setPatternDecimal(_0x3c4a63,_0x1d6dc4));},[]),(0x0,react_jsx_runtime[_0x329027(0x3aa)])('div',{'className':_0x329027(0x3de),'children':[(0x0,react_jsx_runtime[_0x329027(0x3aa)])(_0x329027(0x3f6),{'className':_0x329027(0x646),'children':[(0x0,react_jsx_runtime['jsxs'])(_0x329027(0x3f6),{'className':_0x329027(0x51e),'children':[(0x0,react_jsx_runtime['jsx'])(_0x329027(0x3f6),{'className':_0x329027(0x2ea),'children':_0x32bed1(_0x329027(0x495))}),(0x0,react_jsx_runtime[_0x329027(0x624)])(_univerjs_design[_0x329027(0x537)],{'className':_0x329027(0x5e4),'value':_0x1d6dc4,'max':0x14,'min':0x0,'onChange':_0x3be2fd})]}),(0x0,react_jsx_runtime[_0x329027(0x3aa)])(_0x329027(0x3f6),{'className':_0x329027(0x51e),'children':[(0x0,react_jsx_runtime[_0x329027(0x624)])(_0x329027(0x3f6),{'className':_0x329027(0x2ea),'children':_0x32bed1(_0x329027(0x50e))}),(0x0,react_jsx_runtime[_0x329027(0x624)])(_univerjs_design[_0x329027(0x1d8)],{'options':_0x407e7a,'value':_0x64e286,'onChange':_0x254973})]})]}),(0x0,react_jsx_runtime[_0x329027(0x3aa)])(_0x329027(0x3f6),{'className':'univer-mt-2','children':[(0x0,react_jsx_runtime[_0x329027(0x624)])(_0x329027(0x3f6),{'className':'univer-mb-2\x20univer-text-sm\x20univer-font-medium','children':_0x32bed1(_0x329027(0x548))}),(0x0,react_jsx_runtime[_0x329027(0x624)])(_univerjs_design[_0x329027(0x5b6)],{'className':(0x0,_univerjs_design['clsx'])(_0x329027(0x382),_univerjs_design[_0x329027(0x4bb)]),'options':_0x5e0650,'value':_0x3c4a63,'onChange':_0x3a153e}),(0x0,react_jsx_runtime['jsx'])(_0x329027(0x3f6),{'className':_0x329027(0x5b8),'children':_0x32bed1('dialog.numfmt.currencyDesc')})]})]});},DatePanel=({originPattern:_0x33660a,handlePatternChange:_0x4ec8eb})=>{const _0x322b57=_0x5db780,_0x154010=(0x0,_univerjs_ui['useDependency'])(_univerjs_core[_0x322b57(0x1c2)])['t'],_0x313989=DateFormatList[_0x322b57(0x20f)](_0xe426f3=>({'label':_0xe426f3[_0x322b57(0x517)],'value':_0xe426f3[_0x322b57(0x231)]})),[_0x466496,_0x34f02a]=(0x0,react['useState'])(()=>{const _0x2e4632=_0x322b57;if(_0x33660a){const _0x406bac=_0x313989[_0x2e4632(0x5c3)](_0x275dfc=>_0x275dfc[_0x2e4632(0x1f4)]===_0x33660a);if(_0x406bac)return _0x406bac[_0x2e4632(0x1f4)];}return _0x313989[0x0]['value'];}),_0x552106=_0x52ed99=>{_0x34f02a(_0x52ed99),_0x4ec8eb(_0x52ed99);};return(0x0,react[_0x322b57(0x5d3)])(()=>{_0x4ec8eb(_0x466496);},[]),(0x0,react_jsx_runtime['jsx'])('div',{'className':_0x322b57(0x3de),'children':(0x0,react_jsx_runtime['jsxs'])(_0x322b57(0x3f6),{'className':'univer-mt-2','children':[(0x0,react_jsx_runtime[_0x322b57(0x624)])('div',{'className':_0x322b57(0x2ea),'children':_0x154010(_0x322b57(0x386))}),(0x0,react_jsx_runtime[_0x322b57(0x624)])(_0x322b57(0x3f6),{'children':(0x0,react_jsx_runtime[_0x322b57(0x624)])(_univerjs_design[_0x322b57(0x5b6)],{'className':(0x0,_univerjs_design[_0x322b57(0x593)])('univer-rounded-lg\x20univer-p-2',_univerjs_design[_0x322b57(0x4bb)]),'options':_0x313989,'value':_0x466496,'onChange':_0x552106})}),(0x0,react_jsx_runtime[_0x322b57(0x624)])('div',{'className':_0x322b57(0x5b8),'children':_0x154010(_0x322b57(0x2f4))})]})});},ThousandthPercentilePanel=({originPattern:_0x315cb8,handlePatternChange:_0x5e36e5})=>{const _0x3b9bdd=_0x5db780,_0x53b3d2=(0x0,_univerjs_ui[_0x3b9bdd(0x2a6)])(_univerjs_core['LocaleService'])['t'],[_0x587148,_0x21ae2a]=(0x0,react[_0x3b9bdd(0x32e)])(()=>getDecimalFromPattern(_0x315cb8||'',0x0)),_0xb363=ThousandsSeparatorFormatList['map'](_0x1a5818=>({'label':_0x1a5818[_0x3b9bdd(0x517)],'value':_0x1a5818['suffix'],'color':_0x1a5818[_0x3b9bdd(0x1e1)]})),[_0x41c22c,_0x131dab]=(0x0,react[_0x3b9bdd(0x32e)])(()=>{const _0x3632be=_0x3b9bdd,_0x5c38df=_0xb363['find'](_0x4101ba=>(0x0,_univerjs_core[_0x3632be(0x1ba)])(_0x4101ba[_0x3632be(0x1f4)],_0x315cb8||''));return(_0x5c38df===null||_0x5c38df===void 0x0?void 0x0:_0x5c38df[_0x3632be(0x1f4)])||_0xb363[0x0]['value'];}),_0x16c359=_0x1e484a=>{_0x1e484a&&(_0x21ae2a(_0x1e484a),_0x5e36e5(setPatternDecimal(_0x41c22c,Number(_0x1e484a))));},_0x12c048=_0x2e57cb=>{_0x21ae2a(getDecimalFromPattern(_0x2e57cb,0x0)),_0x131dab(_0x2e57cb),_0x5e36e5(_0x2e57cb);};return(0x0,react[_0x3b9bdd(0x5d3)])(()=>{_0x5e36e5(setPatternDecimal(_0x41c22c,Number(_0x587148||0x0)));},[]),(0x0,react_jsx_runtime[_0x3b9bdd(0x3aa)])('div',{'className':'univer-mt-2.5','children':[(0x0,react_jsx_runtime[_0x3b9bdd(0x624)])(_0x3b9bdd(0x3f6),{'className':_0x3b9bdd(0x646),'children':(0x0,react_jsx_runtime['jsxs'])(_0x3b9bdd(0x3f6),{'className':_0x3b9bdd(0x51e),'children':[(0x0,react_jsx_runtime['jsx'])(_0x3b9bdd(0x3f6),{'className':_0x3b9bdd(0x2ea),'children':_0x53b3d2('dialog.numfmt.decimalPlaces')}),(0x0,react_jsx_runtime['jsx'])(_univerjs_design[_0x3b9bdd(0x537)],{'className':_0x3b9bdd(0x5e4),'value':_0x587148,'max':0x14,'min':0x0,'onChange':_0x16c359})]})}),(0x0,react_jsx_runtime[_0x3b9bdd(0x3aa)])(_0x3b9bdd(0x3f6),{'className':'univer-mt-2','children':[(0x0,react_jsx_runtime['jsx'])(_0x3b9bdd(0x3f6),{'className':_0x3b9bdd(0x2ea),'children':_0x53b3d2(_0x3b9bdd(0x548))}),(0x0,react_jsx_runtime[_0x3b9bdd(0x624)])(_univerjs_design[_0x3b9bdd(0x5b6)],{'className':(0x0,_univerjs_design['clsx'])('univer-rounded-lg\x20univer-p-2',_univerjs_design[_0x3b9bdd(0x4bb)]),'options':_0xb363,'value':_0x41c22c,'onChange':_0x12c048}),(0x0,react_jsx_runtime[_0x3b9bdd(0x624)])(_0x3b9bdd(0x3f6),{'className':'univer-mt-1.5\x20univer-text-sm\x20univer-leading-5\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x53b3d2(_0x3b9bdd(0x1fc))})]})]});},ChartNumfmtDialog=({originPattern:_0x539613,onPatternApply:_0x35e792})=>{const _0x22aa6e=_0x5db780,_0x3695c0=(0x0,_univerjs_ui['useDependency'])(_univerjs_core[_0x22aa6e(0x1c2)]),_0x3d45b7=(0x0,_univerjs_ui[_0x22aa6e(0x2a6)])(_univerjs_ui[_0x22aa6e(0x4d5)]),_0x1c424a=_0x3695c0['t'],_0x1bc611=(0x0,react[_0x22aa6e(0x3dc)])(()=>[{'label':_0x22aa6e(0x3b5),'component':GeneralPanel,'key':_0x22aa6e(0x62c)},{'label':_0x22aa6e(0x1fa),'component':AccountingPanel,'key':_0x22aa6e(0x31f)},{'label':_0x22aa6e(0x301),'component':CurrencyPanel,'key':_0x22aa6e(0x1eb)},{'label':'dialog.numfmt.date','component':DatePanel,'key':_0x22aa6e(0x3b4)},{'label':_0x22aa6e(0x1cc),'component':ThousandthPercentilePanel,'key':'sheet.numfmt.thousandthPercentile'}]['map'](_0x514a9b=>({..._0x514a9b,'label':_0x1c424a(_0x514a9b['label'])})),[_0x1c424a]),_0x5af5ee=_0x421b89=>{const _0x5098fa=_0x22aa6e;return[isGeneralPanel,isAccountingPanel,isCurrencyPanel,isDatePanel,isThousandthPercentilePanel][_0x5098fa(0x429)]((_0x13cb2c,_0x284366,_0x5edaef)=>_0x13cb2c||(_0x284366(_0x421b89!==null&&_0x421b89!==void 0x0?_0x421b89:'')?_0x1bc611[_0x5edaef][_0x5098fa(0x4ed)]:''),'')||_0x1bc611[0x0][_0x5098fa(0x4ed)];},_0x17d56b=_0x1bc611[_0x22aa6e(0x20f)](_0x43dd89=>({'label':_0x43dd89[_0x22aa6e(0x517)],'value':_0x43dd89[_0x22aa6e(0x4ed)]})),[_0x27d7b6,_0x28237f]=(0x0,react[_0x22aa6e(0x32e)])(()=>{return _0x5af5ee(_0x539613);}),[_0x968574,_0x141ab6]=(0x0,react['useState'])(_0x539613),_0x57f305=_0x2669d2=>_0x141ab6(_0x2669d2),_0x12e391=_0x5bf521=>{_0x28237f(_0x5bf521);},_0x358381=()=>{const _0x547179=_0x22aa6e;_0x3d45b7[_0x547179(0x39d)](UNIVER_SHEET_CHART_FORMAT_DIALOG_ID);},_0x5b7b4c=()=>{const _0x334ff0=_0x22aa6e;_0x35e792&&_0x35e792(_0x968574),_0x3d45b7[_0x334ff0(0x39d)](UNIVER_SHEET_CHART_FORMAT_DIALOG_ID);};return(0x0,react[_0x22aa6e(0x5d3)])(()=>{const _0x4ef553=_0x5af5ee(_0x539613);if(_0x4ef553!==_0x27d7b6)_0x28237f(_0x4ef553);if(_0x539613!==_0x968574)_0x141ab6(_0x539613);},[_0x539613]),(0x0,react_jsx_runtime[_0x22aa6e(0x3aa)])('div',{'children':[(0x0,react_jsx_runtime[_0x22aa6e(0x624)])(_0x22aa6e(0x3f6),{'className':_0x22aa6e(0x472),'children':_0x1c424a(_0x22aa6e(0x19d))}),(0x0,react_jsx_runtime[_0x22aa6e(0x624)])(_0x22aa6e(0x3f6),{'children':(0x0,react_jsx_runtime[_0x22aa6e(0x624)])(_univerjs_design[_0x22aa6e(0x1d8)],{'className':_0x22aa6e(0x62b),'onChange':_0x11523c=>_0x12e391(_0x11523c),'options':_0x17d56b,'value':_0x27d7b6})}),(0x0,react_jsx_runtime[_0x22aa6e(0x3aa)])('div',{'className':_0x22aa6e(0x546),'children':[_0x27d7b6===NumfmtTypeEnum[_0x22aa6e(0x1d6)]&&(0x0,react_jsx_runtime['jsx'])(GeneralPanel,{'originPattern':_0x539613,'handlePatternChange':_0x57f305}),_0x27d7b6===NumfmtTypeEnum[_0x22aa6e(0x246)]&&(0x0,react_jsx_runtime[_0x22aa6e(0x624)])(AccountingPanel,{'originPattern':_0x539613,'handlePatternChange':_0x57f305}),_0x27d7b6===NumfmtTypeEnum[_0x22aa6e(0x36c)]&&(0x0,react_jsx_runtime[_0x22aa6e(0x624)])(CurrencyPanel,{'originPattern':_0x539613,'handlePatternChange':_0x57f305}),_0x27d7b6===NumfmtTypeEnum[_0x22aa6e(0x3bf)]&&(0x0,react_jsx_runtime[_0x22aa6e(0x624)])(DatePanel,{'originPattern':_0x539613,'handlePatternChange':_0x57f305}),_0x27d7b6===NumfmtTypeEnum[_0x22aa6e(0x2de)]&&(0x0,react_jsx_runtime[_0x22aa6e(0x624)])(ThousandthPercentilePanel,{'originPattern':_0x539613,'handlePatternChange':_0x57f305})]}),(0x0,react_jsx_runtime['jsxs'])(_0x22aa6e(0x3f6),{'className':_0x22aa6e(0x20a),'children':[(0x0,react_jsx_runtime['jsx'])(_univerjs_design[_0x22aa6e(0x469)],{'onClick':_0x358381,'children':_0x3695c0['t'](_0x22aa6e(0x34f))}),(0x0,react_jsx_runtime[_0x22aa6e(0x624)])(_univerjs_design['Button'],{'className':_0x22aa6e(0x44a),'variant':_0x22aa6e(0x3ca),'onClick':_0x5b7b4c,'children':_0x3695c0['t'](_0x22aa6e(0x37e))})]})]});},defaultDeltaSize=0x1,silentChartSpecOperator=_0x3dc570=>{const _0x4bc6a9=_0x5db780;_0x3dc570[_0x4bc6a9(0x513)]=![],_0x3dc570[_0x4bc6a9(0x321)]=!![],_0x3dc570[_0x4bc6a9(0x511)]['forEach'](_0x2f44dc=>{_0x2f44dc['silent']=!![];}),_0x3dc570[_0x4bc6a9(0x5e0)]={'show':![],'axisPointer':{'type':_0x4bc6a9(0x2a7)}};if(_0x3dc570[_0x4bc6a9(0x21c)])_0x3dc570[_0x4bc6a9(0x21c)][_0x4bc6a9(0x421)]=![];return _0x3dc570;};let ChartRenderService=class ChartRenderService extends _univerjs_core['Disposable']{constructor(_0x1ef71f,_0x133a8b,_0x24853f,_0x17442d,_0x2430fb,_0x206cd9,_0xb03f3,_0x4e5036,_0x2a35ca,_0x3ecfcb){const _0x4bf518=_0x5db780;super(),this[_0x4bf518(0x1c7)]=_0x1ef71f,this[_0x4bf518(0x2d7)]=_0x133a8b,this[_0x4bf518(0x2ba)]=_0x24853f,this[_0x4bf518(0x42d)]=_0x17442d,this[_0x4bf518(0x4fd)]=_0x2430fb,this[_0x4bf518(0x5a1)]=_0x206cd9,this[_0x4bf518(0x5e5)]=_0xb03f3,this[_0x4bf518(0x4bd)]=_0x4e5036,this['_chartThemeService']=_0x2a35ca,this['_themeService']=_0x3ecfcb,_defineProperty(this,_0x4bf518(0x405),new Map()),_defineProperty(this,_0x4bf518(0x5ad),new Map()),_defineProperty(this,_0x4bf518(0x63a),null),_defineProperty(this,_0x4bf518(0x61a),new Map()),_defineProperty(this,'_debounceHandleMap',new Map());let _0x50b0cd=!![];const _0xbbb0e9=(0x0,_univerjs_pro_sheets_chart[_0x4bf518(0x2aa)])(this['_injector']);if(_0xbbb0e9[_0x4bf518(0x3db)]===0x1&&_0xbbb0e9[0x0]==='all')_0x50b0cd=![];this[_0x4bf518(0x5a6)](_univerjs_pro_engine_chart[_0x4bf518(0x358)],new _univerjs_pro_engine_chart['EChartRenderModel'](_0x50b0cd)),this[_0x4bf518(0x4b2)]();}[_0x5db780(0x3c6)](){const _0x2732e2=_0x5db780;let _0x18dd07=!![];const _0x1645ac=(0x0,_univerjs_pro_sheets_chart[_0x2732e2(0x2aa)])(this[_0x2732e2(0x4bd)]);if(_0x1645ac[_0x2732e2(0x3db)]===0x1&&_0x1645ac[0x0]==='all')_0x18dd07=![];return _0x18dd07;}[_0x5db780(0x5a6)](_0x194875,_0x232de9){const _0x5af738=_0x5db780;this['_renderModelMap'][_0x5af738(0x45d)](_0x194875,_0x232de9),this['_currentModel']=_0x232de9;}[_0x5db780(0x32c)](_0x5a2abd){const _0x473d76=_0x5db780,_0x105973=this['_renderModelMap']['get'](_0x5a2abd);if(_0x105973)this[_0x473d76(0x63a)]=_0x105973;}[_0x5db780(0x323)](_0x2152d2,_0x384885){const _0x22a05d=_0x5db780,_0x351c38=this['_sheetCanvasFloatDomManagerService'][_0x22a05d(0x640)](_0x2152d2);if(_0x384885[_0x22a05d(0x292)]===void 0x0||_0x384885['height']===void 0x0)return;if(_0x351c38){var _0x46dec9;const {subUnitId:_0x32af9c}=_0x351c38,_0x1f9ca1=(_0x46dec9=this[_0x22a05d(0x4fd)][_0x22a05d(0x2e6)](_univerjs_core['UniverInstanceType'][_0x22a05d(0x20d)]))===null||_0x46dec9===void 0x0?void 0x0:_0x46dec9[_0x22a05d(0x4f6)]();if((_0x1f9ca1===null||_0x1f9ca1===void 0x0?void 0x0:_0x1f9ca1['getSheetId']())===_0x32af9c){const {width:_0x1a8822,height:_0x554eae}=_0x384885,_0x2b5b08=this[_0x22a05d(0x2ba)]['getChartModel'](_0x2152d2),_0xc6c1f5=_0x2b5b08===null||_0x2b5b08===void 0x0?void 0x0:_0x2b5b08[_0x22a05d(0x26a)];if(Math['abs'](_0x1a8822-((_0xc6c1f5===null||_0xc6c1f5===void 0x0?void 0x0:_0xc6c1f5['width'])||0x0))>defaultDeltaSize||Math[_0x22a05d(0x4b9)](_0x554eae-((_0xc6c1f5===null||_0xc6c1f5===void 0x0?void 0x0:_0xc6c1f5[_0x22a05d(0x296)])||0x0))>defaultDeltaSize){_0x2b5b08===null||_0x2b5b08===void 0x0||_0x2b5b08[_0x22a05d(0x1ef)]({..._0xc6c1f5,'width':_0x1a8822,'height':_0x554eae});const _0x4ad1f1=this[_0x22a05d(0x5ad)][_0x22a05d(0x49e)](_0x2152d2);if(_0x4ad1f1){var _0x524ad1,_0x4f7f48;const _0x537403=(_0x524ad1=_0x351c38[_0x22a05d(0x57c)])!==null&&_0x524ad1!==void 0x0?_0x524ad1:_0x2152d2,_0x3b2ea1=(_0x4f7f48=document['getElementById'](_0x537403))===null||_0x4f7f48===void 0x0?void 0x0:_0x4f7f48['querySelector'](_0x22a05d(0x2ed));_0x3b2ea1&&(_0x3b2ea1['style'][_0x22a05d(0x292)]=_0x1a8822-0x10+'px',_0x3b2ea1[_0x22a05d(0x26a)][_0x22a05d(0x296)]=_0x554eae-0x10+'px',_0x4ad1f1['resize']());}}}}}[_0x5db780(0x265)](_0x4c672e,_0xdd8d76,_0x3ad9fd=0x0){const _0x11ff0c=_0x5db780;let _0x1d6c46=this[_0x11ff0c(0x4b4)][_0x11ff0c(0x49e)](_0x4c672e);!_0x1d6c46&&(_0x1d6c46=(0x0,_univerjs_core['debounce'])(_0x3e2e10=>{this['_resizeChart'](_0x4c672e,_0x3e2e10);},_0x3ad9fd),this[_0x11ff0c(0x4b4)][_0x11ff0c(0x45d)](_0x4c672e,_0x1d6c46)),_0x1d6c46(_0xdd8d76);}[_0x5db780(0x4b2)](){const _0x29b56b=_0x5db780,_0x3723ed=this[_0x29b56b(0x61a)],_0x5e3f2d=_0x4aef6d=>{const _0x2ac996=_0x29b56b;if(!_0x3723ed[_0x2ac996(0x4a0)](_0x4aef6d)){const _0x257370=(0x0,_univerjs_core[_0x2ac996(0x4fe)])((_0x1a610a,_0x46d7db,_0x3d6813,_0x1954ca)=>{const _0x356d6d=_0x2ac996;var _0xef570f,_0x263bde;if(!_0x3d6813)return;const {t:_0x5b64b8}=this[_0x356d6d(0x5e5)];(_0xef570f=_0x3d6813[_0x356d6d(0x568)])===null||_0xef570f===void 0x0||_0xef570f[_0x356d6d(0x333)][_0x356d6d(0x42f)]((_0x10baa2,_0x3408a0)=>{const _0x1a77e9=_0x356d6d;if(!_0x10baa2[_0x1a77e9(0x517)])_0x10baa2[_0x1a77e9(0x517)]=_0x5b64b8(_0x1a77e9(0x367))+'\x20'+(_0x3408a0+0x1);}),_0x3d6813[_0x356d6d(0x511)]['forEach']((_0x323cc6,_0x53004d)=>{const _0x2cf32d=_0x356d6d;if(!_0x323cc6['name'])_0x323cc6[_0x2cf32d(0x52e)]=_0x5b64b8(_0x2cf32d(0x520))+'\x20'+(_0x53004d+0x1);}),_0x1954ca['runtime']=_0x1a610a[_0x356d6d(0x46f)]();const _0x2453e2=(_0x263bde=this[_0x356d6d(0x4fd)][_0x356d6d(0x2e6)](_univerjs_core[_0x356d6d(0x5db)]['UNIVER_SHEET']))===null||_0x263bde===void 0x0?void 0x0:_0x263bde[_0x356d6d(0x4f6)]();if((_0x2453e2===null||_0x2453e2===void 0x0?void 0x0:_0x2453e2[_0x356d6d(0x505)]())===_0x46d7db)this['render'](_0x1a610a['id'],_0x3d6813,_0x1954ca);},0x11);_0x3723ed[_0x2ac996(0x45d)](_0x4aef6d,_0x257370);}return _0x3723ed['get'](_0x4aef6d);};this[_0x29b56b(0x618)](this[_0x29b56b(0x4fd)][_0x29b56b(0x60d)][_0x29b56b(0x4cd)](_0x133415=>{const _0x2e7bf1=_0x29b56b,_0x1a026d=this[_0x2e7bf1(0x4fd)][_0x2e7bf1(0x2e6)](_univerjs_core[_0x2e7bf1(0x5db)]['UNIVER_SHEET']);if(_0x133415&&_0x1a026d&&_0x1a026d[_0x2e7bf1(0x468)]()===_0x133415){var _0x140dd3;const _0x453515=_0x1a026d[_0x2e7bf1(0x4f6)]()[_0x2e7bf1(0x505)](),_0x17cfa6=this[_0x2e7bf1(0x42d)][_0x2e7bf1(0x4ea)](_0x133415,_0x453515);if(!((_0x140dd3=this[_0x2e7bf1(0x5a1)]['getRenderById'](_0x133415))===null||_0x140dd3===void 0x0?void 0x0:_0x140dd3[_0x2e7bf1(0x251)](_univerjs_sheets_ui['SheetSkeletonManagerService'])[_0x2e7bf1(0x387)](_0x453515)))return;if(_0x17cfa6)for(const _0x138cc2 in _0x17cfa6){const {drawingId:_0xfbf6fd}=_0x17cfa6[_0x138cc2],_0x11ad8d=this[_0x2e7bf1(0x2ba)][_0x2e7bf1(0x443)](_0xfbf6fd);if(_0x11ad8d)_0x5e3f2d(_0x11ad8d['id'])(_0x11ad8d,_0x453515,_0x11ad8d[_0x2e7bf1(0x500)],_0x11ad8d['style']);}}})),this['disposeWithMe'](this['_themeService'][_0x29b56b(0x509)][_0x29b56b(0x4cd)](()=>{const _0x2fe570=_0x29b56b;var _0x5b0491;const _0x4328ff=this[_0x2fe570(0x4fd)][_0x2fe570(0x2e6)](_univerjs_core[_0x2fe570(0x5db)][_0x2fe570(0x20d)]);if(!_0x4328ff)return;const _0x4a100a=_0x4328ff[_0x2fe570(0x468)](),_0x497016=_0x4328ff['getActiveSheet']()[_0x2fe570(0x505)](),_0x5eb390=this['_drawingManagerService'][_0x2fe570(0x4ea)](_0x4a100a,_0x497016);if(!((_0x5b0491=this['_renderManagerService'][_0x2fe570(0x41d)](_0x4a100a))===null||_0x5b0491===void 0x0?void 0x0:_0x5b0491['with'](_univerjs_sheets_ui['SheetSkeletonManagerService'])[_0x2fe570(0x387)](_0x497016)))return;if(_0x5eb390)for(const _0x16aa60 in _0x5eb390){const {drawingId:_0x216bc2}=_0x5eb390[_0x16aa60],_0x4d6cbc=this[_0x2fe570(0x2ba)]['getChartModel'](_0x216bc2);if(_0x4d6cbc){const _0x4caa6a=_0x4d6cbc[_0x2fe570(0x46f)]();_0x4d6cbc['applyStyle']({'runtime':_0x4caa6a});}}})),this[_0x29b56b(0x618)](this[_0x29b56b(0x42d)][_0x29b56b(0x5cd)][_0x29b56b(0x4cd)](_0x30eb72=>{const _0x1bf814=_0x29b56b;_0x30eb72[_0x1bf814(0x42f)](_0x8db035=>{const _0x57d25f=_0x1bf814;var _0x49cd10,_0x508bd0,_0x452dfb;const {drawingId:_0x1e8581,unitId:_0x302b25,subUnitId:_0x59ed53}=_0x8db035;if(!((_0x49cd10=this[_0x57d25f(0x5a1)][_0x57d25f(0x41d)](_0x302b25))===null||_0x49cd10===void 0x0?void 0x0:_0x49cd10[_0x57d25f(0x251)](_univerjs_sheets_ui[_0x57d25f(0x47d)])[_0x57d25f(0x387)](_0x59ed53)))return;const {drawingType:_0x2bad4f}=this[_0x57d25f(0x42d)]['getDrawingByParam'](_0x8db035);if(_0x2bad4f!==_univerjs_core[_0x57d25f(0x539)][_0x57d25f(0x2cc)])return;const _0x47a5e7=this['_sheetCanvasFloatDomManagerService'][_0x57d25f(0x640)](_0x1e8581),_0x3ce8b5=(_0x508bd0=_0x47a5e7===null||_0x47a5e7===void 0x0?void 0x0:_0x47a5e7[_0x57d25f(0x57c)])!==null&&_0x508bd0!==void 0x0?_0x508bd0:_0x1e8581,_0x12e690=_0x47a5e7===null||_0x47a5e7===void 0x0?void 0x0:_0x47a5e7['rect'],_0x75a7be=(_0x452dfb=this['_renderManagerService'][_0x57d25f(0x41d)](_0x302b25))===null||_0x452dfb===void 0x0?void 0x0:_0x452dfb[_0x57d25f(0x4fb)];if(_0x12e690)this[_0x57d25f(0x618)](_0x12e690===null||_0x12e690===void 0x0?void 0x0:_0x12e690['onTransformChange$'][_0x57d25f(0x272)](_0x287bdc=>{const _0x5497d4=_0x57d25f,{type:_0x4d74fa,value:_0x1db409}=_0x287bdc;if(_univerjs_engine_render['TRANSFORM_CHANGE_OBSERVABLE_TYPE']['resize']===_0x4d74fa||_univerjs_engine_render[_0x5497d4(0x347)][_0x5497d4(0x1a2)]===_0x4d74fa){const {width:_0x363159,height:_0x2eaf26}=_0x1db409;this['_debounceHandle'](_0x1e8581,{'width':_0x363159,'height':_0x2eaf26},0x64);}}));if(_0x75a7be)this['disposeWithMe'](_0x75a7be['onTransformChange$'][_0x57d25f(0x272)](_0x20a12a=>{const _0x5d1730=_0x57d25f;var _0x1dc470;if(_0x20a12a['type']!==_univerjs_engine_render[_0x5d1730(0x347)]['scale'])return;const _0x17abdc=(_0x1dc470=document[_0x5d1730(0x40a)](_0x3ce8b5))===null||_0x1dc470===void 0x0?void 0x0:_0x1dc470[_0x5d1730(0x53d)]('.chart-host');if(_0x17abdc){const _0x5de24e=_0x17abdc[_0x5d1730(0x3cc)][_0x5d1730(0x26a)];this[_0x5d1730(0x265)](_0x1e8581,{'width':Number[_0x5d1730(0x2ee)](_0x5de24e[_0x5d1730(0x292)],0xa),'height':Number[_0x5d1730(0x2ee)](_0x5de24e[_0x5d1730(0x296)],0xa)});}}));const _0x54a109=this[_0x57d25f(0x2ba)]['getChartModel'](_0x1e8581);if(_0x54a109)this[_0x57d25f(0x618)]((0x0,rxjs[_0x57d25f(0x41c)])([_0x54a109[_0x57d25f(0x30c)],_0x54a109[_0x57d25f(0x320)]])['subscribe'](([_0x2240af,_0x12d863])=>{_0x5e3f2d(_0x54a109['id'])(_0x54a109,_0x59ed53,_0x2240af,_0x12d863);}));});})),this[_0x29b56b(0x618)]((0x0,rxjs['combineLatest'])([this[_0x29b56b(0x42d)][_0x29b56b(0x591)]])[_0x29b56b(0x4cd)](([_0x5ae9c6])=>{const _0x2da4a1=_0x29b56b;_0x5ae9c6[_0x2da4a1(0x42f)](_0x209444=>{const _0x32424a=_0x2da4a1,{drawingId:_0x296b2f}=_0x209444;if(this[_0x32424a(0x5ad)][_0x32424a(0x49e)](_0x296b2f))this['_chartInstanceMap'][_0x32424a(0x63e)](_0x296b2f);});}));}['getRenderModel'](_0x5b193b){const _0x15891b=_0x5db780,_0x273fb9=this['_renderModelMap'][_0x15891b(0x49e)](_0x5b193b),_0x1856d1=this[_0x15891b(0x3c6)]();if(_0x273fb9)_0x273fb9[_0x15891b(0x205)](_0x1856d1);return _0x273fb9;}async[_0x5db780(0x626)](_0x2f37d1){const _0x25ffc1=_0x5db780;var _0x3314f5;const _0x173ee7=this[_0x25ffc1(0x5ad)],_0x36252a=this[_0x25ffc1(0x63a)];if(_0x173ee7[_0x25ffc1(0x4a0)](_0x2f37d1)&&this[_0x25ffc1(0x1c7)][_0x25ffc1(0x29e)](_0x2f37d1))return _0x173ee7['get'](_0x2f37d1);const _0x5def46=_0x36252a[_0x25ffc1(0x3ed)]();_0x173ee7[_0x25ffc1(0x45d)](_0x2f37d1,_0x5def46);const _0x1ca707=await this[_0x25ffc1(0x1c7)][_0x25ffc1(0x5fd)](_0x2f37d1);return _0x5def46[_0x25ffc1(0x535)](_0x1ca707[_0x25ffc1(0x1b5)]),(_0x3314f5=_0x5def46['onDispose'])===null||_0x3314f5===void 0x0||_0x3314f5[_0x25ffc1(0x58a)](_0x5def46,()=>{var _0xdc3abc;return(_0xdc3abc=_0x1ca707['dispose'])===null||_0xdc3abc===void 0x0?void 0x0:_0xdc3abc['call'](_0x1ca707);}),_0x5def46;}[_0x5db780(0x32a)](_0x285161){const _0x2b8b7b=_0x5db780;var _0xe9fb7c;const _0x1537e3=this[_0x2b8b7b(0x2d7)][_0x2b8b7b(0x640)](_0x285161);if(!_0x1537e3)return![];const {subUnitId:_0x57cbd7}=_0x1537e3,_0x3deacc=(_0xe9fb7c=this['_univerInstanceService'][_0x2b8b7b(0x2e6)](_univerjs_core[_0x2b8b7b(0x5db)][_0x2b8b7b(0x20d)]))===null||_0xe9fb7c===void 0x0?void 0x0:_0xe9fb7c[_0x2b8b7b(0x4f6)]();if((_0x3deacc===null||_0x3deacc===void 0x0?void 0x0:_0x3deacc[_0x2b8b7b(0x505)]())!==_0x57cbd7)return![];return!![];}async[_0x5db780(0x3f5)](_0x44b91d,_0x4e260c,_0x545547){const _0x1bcc33=_0x5db780;var _0x5d59b1,_0xb9b0cd;const _0x37d10f=this['getRenderModel'](_univerjs_pro_engine_chart[_0x1bcc33(0x358)]);if(!_0x37d10f)return;if(!this['checkChartCanRender'](_0x44b91d))return;const _0x183685=await this[_0x1bcc33(0x626)](_0x44b91d),_0x66f3f0=this[_0x1bcc33(0x1c7)][_0x1bcc33(0x5ef)](_0x44b91d),_0x5de38=_0x37d10f[_0x1bcc33(0x373)](_0x37d10f['toSpec'](_0x4e260c,_0x545547),{'chartConfig':_0x4e260c,'chartStyle':_0x545547,'chartInstance':_0x183685},_0x66f3f0),_0x590479=_0x545547[_0x1bcc33(0x2bf)]?this['_chartThemeService']['getTheme'](_0x545547['theme']):this[_0x1bcc33(0x570)][_0x1bcc33(0x51b)]();this[_0x1bcc33(0x1c7)][_0x1bcc33(0x27a)](_0x44b91d,{'stroke':(_0x5d59b1=_0x545547[_0x1bcc33(0x424)])!==null&&_0x5d59b1!==void 0x0?_0x5d59b1:_0x590479['theme']['borderColor'],'fill':(_0xb9b0cd=_0x545547[_0x1bcc33(0x567)])!==null&&_0xb9b0cd!==void 0x0?_0xb9b0cd:_univerjs_pro_engine_chart['defaultChartConfig']['backgroundColor']});if(this[_0x1bcc33(0x1c7)][_0x1bcc33(0x29e)](_0x44b91d))_0x183685[_0x1bcc33(0x3f5)]({..._0x5de38});}async[_0x5db780(0x56f)](_0x4262b9,_0xaa6670,_0x467af1){const _0x2e17b4=_0x5db780;var _0x3046ec,_0x21c29d;const _0x170b06=this[_0x2e17b4(0x2ba)][_0x2e17b4(0x443)](_0x4262b9),_0x8d4ac0=this[_0x2e17b4(0x405)][_0x2e17b4(0x49e)](_univerjs_pro_engine_chart[_0x2e17b4(0x358)]);if(!_0x170b06||!_0x8d4ac0)return;const _0x1e05dd=createHostElement(_0x467af1[_0x2e17b4(0x292)],_0x467af1[_0x2e17b4(0x296)]);_0xaa6670[_0x2e17b4(0x341)](_0x1e05dd);const _0x528546=_univerjs_pro_engine_chart[_0x2e17b4(0x502)][_0x2e17b4(0x533)](_0x1e05dd,null,{'devicePixelRatio':window[_0x2e17b4(0x260)]||0x1}),_0x26dd28=_0x170b06[_0x2e17b4(0x500)],_0x4c0a77=_0x170b06['style'],_0x8afa1f=_0x8d4ac0[_0x2e17b4(0x373)](_0x8d4ac0[_0x2e17b4(0x25f)](_0x26dd28,_0x4c0a77),{'chartConfig':_0x26dd28,'chartStyle':_0x4c0a77,'chartInstance':_0x528546},_0x467af1),_0x491f6f=_0x4c0a77[_0x2e17b4(0x2bf)]?this['_chartThemeService']['getTheme'](_0x4c0a77['theme']):this[_0x2e17b4(0x570)]['getDefaultTheme']();_0xaa6670['style']['border']='1px\x20solid\x20'+((_0x3046ec=_0x4c0a77[_0x2e17b4(0x424)])!==null&&_0x3046ec!==void 0x0?_0x3046ec:_0x491f6f['theme']['borderColor']),_0xaa6670[_0x2e17b4(0x26a)][_0x2e17b4(0x567)]=this[_0x2e17b4(0x570)]['getRenderColor']((_0x21c29d=_0x4c0a77[_0x2e17b4(0x567)])!==null&&_0x21c29d!==void 0x0?_0x21c29d:_univerjs_pro_engine_chart[_0x2e17b4(0x3fc)][_0x2e17b4(0x567)]),_0xaa6670[_0x2e17b4(0x26a)][_0x2e17b4(0x4e7)]='8px',_0x528546[_0x2e17b4(0x3ec)](),_0x528546[_0x2e17b4(0x3da)](silentChartSpecOperator(_0x8afa1f),!![]);}[_0x5db780(0x38b)](){const _0x5aa54d=_0x5db780;this[_0x5aa54d(0x5ad)][_0x5aa54d(0x3ec)](),this[_0x5aa54d(0x63a)]=null,this[_0x5aa54d(0x405)][_0x5aa54d(0x42f)](_0x224c62=>_0x224c62[_0x5aa54d(0x38b)]()),this['_renderModelMap']['clear'](),this['_renderDebounceMap'][_0x5aa54d(0x3ec)](),this[_0x5aa54d(0x4b4)]['clear']();}};ChartRenderService=__decorate([__decorateParam(0x0,IChartHostProviderService),__decorateParam(0x1,(0x0,_univerjs_core[_0x5db780(0x297)])(_univerjs_sheets_drawing_ui[_0x5db780(0x58f)])),__decorateParam(0x2,(0x0,_univerjs_core['Inject'])(_univerjs_pro_sheets_chart['ChartModelService'])),__decorateParam(0x3,_univerjs_drawing[_0x5db780(0x390)]),__decorateParam(0x4,_univerjs_core[_0x5db780(0x556)]),__decorateParam(0x5,(0x0,_univerjs_core[_0x5db780(0x297)])(_univerjs_engine_render[_0x5db780(0x46c)])),__decorateParam(0x6,(0x0,_univerjs_core[_0x5db780(0x297)])(_univerjs_core[_0x5db780(0x1c2)])),__decorateParam(0x7,(0x0,_univerjs_core[_0x5db780(0x297)])(_univerjs_core[_0x5db780(0x29c)])),__decorateParam(0x8,(0x0,_univerjs_core[_0x5db780(0x297)])(_univerjs_pro_engine_chart[_0x5db780(0x5ec)])),__decorateParam(0x9,(0x0,_univerjs_core[_0x5db780(0x297)])(_univerjs_core['ThemeService']))],ChartRenderService);const PrintChart=_0x6a0848=>{const _0x52e238=_0x5db780,{floatDomId:_0x4f8838,context:_0x510822}=_0x6a0848,_0x2dbfbf=(0x0,_univerjs_ui[_0x52e238(0x2a6)])(ChartRenderService);return(0x0,react[_0x52e238(0x5d3)])(()=>{const _0x3caf99=_0x52e238;if(_0x510822[_0x3caf99(0x39f)][_0x3caf99(0x496)]){const _0x458323={'width':Number[_0x3caf99(0x329)](_0x510822['root'][_0x3caf99(0x496)][_0x3caf99(0x26a)][_0x3caf99(0x292)]),'height':Number[_0x3caf99(0x329)](_0x510822[_0x3caf99(0x39f)][_0x3caf99(0x496)]['style'][_0x3caf99(0x296)])};_0x2dbfbf['printChart'](_0x4f8838,_0x510822['root']['current'],_0x458323);}},[_0x4f8838,_0x510822[_0x52e238(0x39f)][_0x52e238(0x496)]]),null;},MenuInsertChartCommand={'type':_univerjs_core['CommandType'][_0x5db780(0x492)],'id':_0x5db780(0x46b),'handler':async(_0x3a770f,_0x11cb02)=>{const _0x1578cf=_0x5db780,_0x6a7816=(0x0,_univerjs_sheets[_0x1578cf(0x55e)])(_0x3a770f[_0x1578cf(0x49e)](_univerjs_core['IUniverInstanceService']));if(!_0x6a7816)return![];const _0x2c7123=_0x3a770f[_0x1578cf(0x49e)](_univerjs_sheets['SheetsSelectionsService'])['getCurrentLastSelection']();if(!_0x2c7123)return![];const _0x35913d=_0x3a770f[_0x1578cf(0x49e)](_univerjs_ui[_0x1578cf(0x337)]),_0x535361=_0x3a770f[_0x1578cf(0x49e)](_univerjs_core[_0x1578cf(0x1c2)]),{range:_0x1df929}=_0x2c7123;if(_0x1df929[_0x1578cf(0x304)]===_0x1df929[_0x1578cf(0x5ae)]||_0x1df929[_0x1578cf(0x5e9)]===_0x1df929[_0x1578cf(0x1bc)])return _0x35913d[_0x1578cf(0x34d)]({'type':_univerjs_design[_0x1578cf(0x5b5)][_0x1578cf(0x398)],'content':_0x535361['t'](_0x1578cf(0x196))}),![];const _0x16be47=_0x3a770f[_0x1578cf(0x49e)](_univerjs_core[_0x1578cf(0x248)]),{unitId:_0x10c005,subUnitId:_0x9d030f}=_0x6a7816,{value:_0x34646f}=_0x11cb02;return _0x16be47[_0x1578cf(0x2c8)](_univerjs_pro_sheets_chart[_0x1578cf(0x579)]['id'],{'unitId':_0x10c005,'subUnitId':_0x9d030f,'chartType':_0x34646f,'range':_0x1df929});}};function ChartMenuItemFactory(_0x45dc61){const _0x420489=_0x5db780,_0x1bd553=_0x45dc61[_0x420489(0x49e)](_univerjs_core['IUniverInstanceService']),_0x5ad0bd=(0x0,_univerjs_pro_sheets_chart['getAllowedChartTypes'])(_0x45dc61),_0x4a9ada=getOptionsList(getChartMenuSelection()[_0x420489(0x4eb)](),_0x5ad0bd);return{'id':MenuInsertChartCommand['id'],'type':_univerjs_ui[_0x420489(0x276)][_0x420489(0x275)],'selections':_0x4a9ada,'icon':_0x420489(0x21b),'tooltip':_0x420489(0x417),'activated$':(0x0,_univerjs_sheets_ui[_0x420489(0x309)])(_0x1bd553,![],()=>new rxjs[(_0x420489(0x355))](_0x68c2=>{_0x68c2['next'](![]);})),'hidden$':(0x0,_univerjs_ui[_0x420489(0x5f0)])(_0x45dc61,_univerjs_core[_0x420489(0x5db)][_0x420489(0x20d)]),'disabled$':(0x0,_univerjs_sheets_ui[_0x420489(0x560)])(_0x45dc61)};}const menuSchema={[_univerjs_ui[_0x5db780(0x35c)][_0x5db780(0x1f8)]]:{[MenuInsertChartCommand['id']]:{'order':0x4,'menuItemFactory':ChartMenuItemFactory}}},CHART_EDIT_PANEL_KEY=_0x5db780(0x312);let SheetsChartUIController=class SheetsChartUIController extends _univerjs_core[_0x5db780(0x5d2)]{constructor(_0x1a690b,_0x13faa0,_0x55c170,_0x465913,_0x57d3e7,_0x13b435,_0x5e728e,_0x315828,_0x5218dc,_0x43cd92){const _0x1a4cff=_0x5db780;super(),this[_0x1a4cff(0x42d)]=_0x1a690b,this[_0x1a4cff(0x4fd)]=_0x13faa0,this[_0x1a4cff(0x2ba)]=_0x55c170,this[_0x1a4cff(0x2ad)]=_0x465913,this[_0x1a4cff(0x617)]=_0x57d3e7,this[_0x1a4cff(0x334)]=_0x13b435,this[_0x1a4cff(0x1a6)]=_0x5e728e,this[_0x1a4cff(0x37c)]=_0x315828,this[_0x1a4cff(0x1fd)]=_0x5218dc,this[_0x1a4cff(0x3f0)]=_0x43cd92,_defineProperty(this,'_sidebarDisposable',null),this[_0x1a4cff(0x576)](),this['_initMenus'](),this[_0x1a4cff(0x618)](this['_univerInstanceService'][_0x1a4cff(0x241)](_univerjs_core[_0x1a4cff(0x5db)]['UNIVER_SHEET'])['subscribe'](_0x5183db=>{const _0x57b684=_0x1a4cff;var _0x5e79d3;if(!_0x5183db)(_0x5e79d3=this[_0x57b684(0x3e2)])===null||_0x5e79d3===void 0x0||_0x5e79d3[_0x57b684(0x38b)]();}));}[_0x5db780(0x576)](){const _0x1d4fd4=_0x5db780;[[_0x1d4fd4(0x21b),_univerjs_icons['ChartIcon']],[_0x1d4fd4(0x375),_univerjs_icons[_0x1d4fd4(0x375)]],[_0x1d4fd4(0x612),_univerjs_icons['BarChartIcon']],[_0x1d4fd4(0x588),_univerjs_icons[_0x1d4fd4(0x588)]],['ComboChartIcon',_univerjs_icons[_0x1d4fd4(0x456)]],[_0x1d4fd4(0x4a7),_univerjs_icons[_0x1d4fd4(0x4a7)]],[_0x1d4fd4(0x51f),_univerjs_icons['PieChartIcon']],[_0x1d4fd4(0x2a8),_univerjs_icons[_0x1d4fd4(0x2a8)]],[_0x1d4fd4(0x33c),_univerjs_icons[_0x1d4fd4(0x33c)]],['FunnelIcon',_univerjs_icons[_0x1d4fd4(0x1bd)]],[_0x1d4fd4(0x485),_univerjs_icons[_0x1d4fd4(0x2fc)]],[_0x1d4fd4(0x29a),_univerjs_icons[_0x1d4fd4(0x29a)]],[_0x1d4fd4(0x1e4),_univerjs_icons['RelationshipIcon']],[_0x1d4fd4(0x57e),_univerjs_icons[_0x1d4fd4(0x57e)]],[_0x1d4fd4(0x348),_univerjs_icons[_0x1d4fd4(0x441)]],[_0x1d4fd4(0x423),_univerjs_icons['HeatmapIcon']],['BoxplotIcon',_univerjs_icons[_0x1d4fd4(0x4e4)]],[_univerjs_core['PRINT_CHART_COMPONENT_KEY'],PrintChart],[CHART_EDIT_PANEL_KEY,ChartEditPanel],[UNIVER_SHEET_CHART_FORMAT_DIALOG,ChartNumfmtDialog]][_0x1d4fd4(0x42f)](([_0x34b336,_0x19cd08])=>{const _0x3df223=_0x1d4fd4;this['disposeWithMe'](this[_0x3df223(0x617)][_0x3df223(0x4b6)](_0x34b336,_0x19cd08));});}[_0x5db780(0x4f0)](){const _0x3583b=_0x5db780;this[_0x3583b(0x3e2)]=this[_0x3583b(0x2ad)]['open']({'id':CHART_EDIT_PANEL_KEY,'header':{'title':'chart.editChart'},'width':0x154,'children':{'label':CHART_EDIT_PANEL_KEY},'onClose':()=>{const _0x20610b=_0x3583b;this[_0x20610b(0x42d)][_0x20610b(0x28c)](null),this['_contextService']['setContextValue'](_univerjs_core[_0x20610b(0x566)],![]),this['_sidebarDisposable']=null;}});}[_0x5db780(0x5aa)](){const _0x21965f=_0x5db780;var _0x252d24;this[_0x21965f(0x2ba)]['setActiveChartModel'](null),(_0x252d24=this[_0x21965f(0x3e2)])===null||_0x252d24===void 0x0||_0x252d24[_0x21965f(0x38b)]();}[_0x5db780(0x23c)](){const _0x98bff4=_0x5db780,_0x31c200=this[_0x98bff4(0x4fd)]['getCurrentUnitForType'](_univerjs_core['UniverInstanceType'][_0x98bff4(0x20d)]);this[_0x98bff4(0x618)](this[_0x98bff4(0x2ad)][_0x98bff4(0x2f3)][_0x98bff4(0x4cd)](_0x1b5c64=>{const _0x170e4f=_0x98bff4;if(_0x1b5c64['id']===CHART_EDIT_PANEL_KEY){if(!_0x1b5c64['visible'])this[_0x170e4f(0x2ad)]['sidebarOptions$'][_0x170e4f(0x5da)]({'visible':![]});}})),this[_0x98bff4(0x618)](this[_0x98bff4(0x37c)][_0x98bff4(0x3e9)](_0x388687=>{const _0x13f524=_0x98bff4;if(_0x388687['id']===ChartOpenPanelOperation['id']){const _0x3fde85=_0x388687[_0x13f524(0x4a9)];this[_0x13f524(0x606)](_0x3fde85[_0x13f524(0x418)]);}if(_0x388687['id']===ChartHidePanelOperation['id'])this['hidePanel']();if(_0x388687['id']===_univerjs_pro_sheets_chart[_0x13f524(0x3b2)]['id']){var _0x4b8979;if(_0x388687[_0x13f524(0x4a9)][_0x13f524(0x1ae)]===((_0x4b8979=this['_chartModelService']['activeChartModel'])===null||_0x4b8979===void 0x0?void 0x0:_0x4b8979['id']))this[_0x13f524(0x5aa)]();this[_0x13f524(0x3f0)][_0x13f524(0x544)](_univerjs_core[_0x13f524(0x566)])&&(this['_contextService'][_0x13f524(0x40f)](_univerjs_core['FOCUSING_COMMON_DRAWINGS'],![]),this[_0x13f524(0x42d)][_0x13f524(0x28c)](null));}})),this[_0x98bff4(0x618)](this[_0x98bff4(0x42d)]['focus$'][_0x98bff4(0x4cd)](_0x376ac9=>{const _0x57b64b=_0x98bff4,_0x5f40e9=_0x376ac9[0x0];if(this[_0x57b64b(0x1fd)][_0x57b64b(0x328)])return;if(!_0x5f40e9&&!this['_sheetsChartUIService'][_0x57b64b(0x328)])this['hidePanel']();})),_0x31c200&&(this[_0x98bff4(0x618)](_0x31c200['sheetDisposed$'][_0x98bff4(0x4cd)](()=>{this['hidePanel']();})),this[_0x98bff4(0x618)](_0x31c200[_0x98bff4(0x30d)][_0x98bff4(0x4cd)](()=>{const _0x4fbf5e=_0x98bff4;this[_0x4fbf5e(0x5aa)]();})));}[_0x5db780(0x606)](_0x1c974e){const _0x548b06=_0x5db780,_0x4ae60c=this['_chartModelService'][_0x548b06(0x443)](_0x1c974e);if(!_0x4ae60c)return;this[_0x548b06(0x2ba)][_0x548b06(0x442)](_0x4ae60c),this['_openPanel']();}[_0x5db780(0x1ed)](){const _0xc4a527=_0x5db780;this[_0xc4a527(0x334)][_0xc4a527(0x515)](menuSchema),this[_0xc4a527(0x1a6)]['registerFeatureMenu'](_univerjs_core[_0xc4a527(0x539)][_0xc4a527(0x2cc)],this[_0xc4a527(0x24f)][_0xc4a527(0x361)](this));}['getChartPopupMenus'](_0x212382,_0x58d098,_0x147dea,_0x2fed0f){const _0x3620e5=_0x5db780;return[{'label':_0x3620e5(0x571),'index':0x0,'commandId':ChartOpenPanelOperation['id'],'commandParams':{'unitId':_0x212382,'subUnitId':_0x58d098,'drawingId':_0x147dea},'disable':_0x2fed0f!==_univerjs_core[_0x3620e5(0x539)]['DRAWING_CHART']},{'label':_0x3620e5(0x434),'index':0x1,'commandId':_univerjs_sheets_drawing[_0x3620e5(0x3e4)]['id'],'commandParams':{'unitId':_0x212382,'drawings':[{'unitId':_0x212382,'subUnitId':_0x58d098,'drawingId':_0x147dea,'drawingType':_0x2fed0f}]},'disable':![]},{'label':'chart.hideChartPanel','index':0x2,'commandId':ChartHidePanelOperation['id'],'commandParams':{'unitId':_0x212382,'subUnitId':_0x58d098,'drawingId':_0x147dea},'disable':![]}];}};SheetsChartUIController=__decorate([__decorateParam(0x0,_univerjs_drawing[_0x5db780(0x390)]),__decorateParam(0x1,_univerjs_core[_0x5db780(0x556)]),__decorateParam(0x2,(0x0,_univerjs_core[_0x5db780(0x297)])(_univerjs_pro_sheets_chart[_0x5db780(0x562)])),__decorateParam(0x3,(0x0,_univerjs_core['Inject'])(_univerjs_ui[_0x5db780(0x39c)])),__decorateParam(0x4,(0x0,_univerjs_core[_0x5db780(0x297)])(_univerjs_ui['ComponentManager'])),__decorateParam(0x5,_univerjs_ui['IMenuManagerService']),__decorateParam(0x6,(0x0,_univerjs_core[_0x5db780(0x297)])(_univerjs_sheets_ui[_0x5db780(0x463)])),__decorateParam(0x7,_univerjs_core[_0x5db780(0x248)]),__decorateParam(0x8,(0x0,_univerjs_core[_0x5db780(0x297)])(SheetsChartUIService)),__decorateParam(0x9,_univerjs_core[_0x5db780(0x3a5)])],SheetsChartUIController);var name=_0x5db780(0x5ce),version=_0x5db780(0x209);let ChartHostProviderController=class ChartHostProviderController extends _univerjs_core[_0x5db780(0x5d2)]{constructor(_0x380ded,_0x4c794b){const _0xf01fdf=_0x5db780;super(),this[_0xf01fdf(0x274)]=_0x380ded,this[_0xf01fdf(0x2ba)]=_0x4c794b,this['_init']();}['_init'](){const _0x320283=_0x5db780;this[_0x320283(0x618)](this['_chartHostProviderService'][_0x320283(0x2a3)][_0x320283(0x4cd)](_0x7ce2fb=>{const _0x4f0f71=_0x320283;this[_0x4f0f71(0x2ba)][_0x4f0f71(0x42c)](_0x7ce2fb);}));}};ChartHostProviderController=__decorate([__decorateParam(0x0,IChartHostProviderService),__decorateParam(0x1,(0x0,_univerjs_core['Inject'])(_univerjs_pro_sheets_chart[_0x5db780(0x562)]))],ChartHostProviderController);let ChartRenderController=class ChartRenderController extends _univerjs_core[_0x5db780(0x5d2)]{constructor(_0x2638a9,_0x480fff,_0x188850){const _0x26fbfc=_0x5db780;super(),this['_chartModelService']=_0x2638a9,this[_0x26fbfc(0x1cd)]=_0x480fff,this['_localeService']=_0x188850,this[_0x26fbfc(0x379)]();}[_0x5db780(0x379)](){const _0x4fa0e6=_0x5db780;this[_0x4fa0e6(0x618)](this[_0x4fa0e6(0x2ba)][_0x4fa0e6(0x313)]['subscribe'](_0x3254c4=>{const _0x34eaa6=_0x4fa0e6;if(_0x3254c4){const _0x5b5e68=new _univerjs_core['DisposableCollection']();_0x5b5e68[_0x34eaa6(0x5cc)](_0x3254c4[_0x34eaa6(0x30c)]['pipe']((0x0,rxjs[_0x34eaa6(0x545)])(_0x3254c4[_0x34eaa6(0x320)]),(0x0,rxjs['debounceTime'])(0x64))[_0x34eaa6(0x4cd)](([_0x2829e0,_0x46f02])=>{const _0x35d9f3=_0x34eaa6;var _0x23bac7;if(!_0x2829e0)return;const {t:_0x1a5fc4}=this[_0x35d9f3(0x5e5)];(_0x23bac7=_0x2829e0[_0x35d9f3(0x568)])===null||_0x23bac7===void 0x0||_0x23bac7[_0x35d9f3(0x333)]['forEach']((_0x189cc3,_0xc9dabc)=>{const _0x49910e=_0x35d9f3;if(!_0x189cc3['label'])_0x189cc3[_0x49910e(0x517)]=_0x1a5fc4(_0x49910e(0x367))+'\x20'+(_0xc9dabc+0x1);}),_0x2829e0[_0x35d9f3(0x511)][_0x35d9f3(0x42f)]((_0xdceaac,_0x429c67)=>{const _0x552aab=_0x35d9f3;if(!_0xdceaac['name'])_0xdceaac[_0x552aab(0x52e)]=_0x1a5fc4(_0x552aab(0x520))+'\x20'+(_0x429c67+0x1);}),_0x46f02[_0x35d9f3(0x425)]=_0x3254c4[_0x35d9f3(0x46f)](),this['_chartRenderService'][_0x35d9f3(0x3f5)](_0x3254c4['id'],_0x2829e0,_0x46f02);})),_0x3254c4['onDispose'](()=>{const _0x5cc5de=_0x34eaa6;_0x5b5e68[_0x5cc5de(0x38b)]();});}}));}};ChartRenderController=__decorate([__decorateParam(0x0,(0x0,_univerjs_core[_0x5db780(0x297)])(_univerjs_pro_sheets_chart[_0x5db780(0x562)])),__decorateParam(0x1,(0x0,_univerjs_core[_0x5db780(0x297)])(ChartRenderService)),__decorateParam(0x2,(0x0,_univerjs_core[_0x5db780(0x297)])(_univerjs_core['LocaleService']))],ChartRenderController);let ChartSheetChangeController=class ChartSheetChangeController extends _univerjs_core['Disposable']{constructor(_0x579173,_0x34e148,_0x42ac07,_0x261d5f){const _0x1bac90=_0x5db780;super(),this[_0x1bac90(0x4fd)]=_0x579173,this[_0x1bac90(0x49d)]=_0x34e148,this[_0x1bac90(0x2b5)]=_0x42ac07,this[_0x1bac90(0x2ba)]=_0x261d5f,this[_0x1bac90(0x633)]();}[_0x5db780(0x633)](){const _0x4159bb=_0x5db780;this[_0x4159bb(0x618)](this[_0x4159bb(0x49d)][_0x4159bb(0x254)]({'getMutations':_0x10b24d=>{const _0xa029fd=_0x4159bb;if(_0x10b24d['id']===_univerjs_sheets[_0xa029fd(0x51c)]['id']){const _0x4a64be=(0x0,_univerjs_sheets['getSheetCommandTarget'])(this[_0xa029fd(0x4fd)],_0x10b24d[_0xa029fd(0x4a9)]);if(!_0x4a64be)return{'redos':[],'undos':[]};const {unitId:_0x3afd27,subUnitId:_0x19b7a0}=_0x4a64be,_0x2570b3=this[_0xa029fd(0x2b5)][_0xa029fd(0x4ea)](_0x3afd27,_0x19b7a0),_0x184caf=Object[_0xa029fd(0x3a7)](_0x2570b3)[_0xa029fd(0x197)](_0x269fd3=>_0x269fd3[_0xa029fd(0x36e)]===_univerjs_core[_0xa029fd(0x539)][_0xa029fd(0x2cc)]);if(_0x184caf['length']===0x0)return{'redos':[],'undos':[]};const _0x380255=[],_0x1b7d52=[];for(let _0x1b44d4=0x0;_0x1b44d4<_0x184caf[_0xa029fd(0x3db)];_0x1b44d4++){const _0x1ea446=_0x184caf[_0x1b44d4],_0x5de442=this[_0xa029fd(0x2ba)][_0xa029fd(0x443)](_0x1ea446[_0xa029fd(0x418)]);if(!_0x5de442)continue;const {rangeInfo:_0x115f14,isRowDirection:_0x3872a9}=_0x5de442[_0xa029fd(0x498)][_0xa029fd(0x22c)](),{redo:_0x3a5fb1,undo:_0x426b43,objects:_0x401468}=this[_0xa029fd(0x2b5)]['getBatchRemoveOp']([_0x1ea446]);_0x380255[_0xa029fd(0x335)]({'id':_univerjs_pro_sheets_chart['RemoveSheetsChartMutation']['id'],'params':{'unitId':_0x3afd27,'subUnitId':_0x19b7a0,'chartId':_0x1ea446['drawingId']}}),_0x380255[_0xa029fd(0x335)]({'id':_univerjs_sheets_drawing[_0xa029fd(0x2ff)]['id'],'params':{'unitId':_0x3afd27,'subUnitId':_0x19b7a0,'type':_univerjs_sheets_drawing[_0xa029fd(0x4ef)]['REMOVE'],'op':_0x3a5fb1,'objects':_0x401468}}),_0x1b7d52['push']({'id':_univerjs_sheets_drawing['SetDrawingApplyMutation']['id'],'params':{'unitId':_0x3afd27,'subUnitId':_0x19b7a0,'type':_univerjs_sheets_drawing[_0xa029fd(0x4ef)][_0xa029fd(0x1ab)],'op':_0x426b43,'objects':_0x401468}}),_0x1b7d52[_0xa029fd(0x335)]({'id':_univerjs_pro_sheets_chart[_0xa029fd(0x3bc)]['id'],'params':{'unitId':_0x3afd27,'subUnitId':_0x19b7a0,'chartId':_0x1ea446[_0xa029fd(0x418)],'chartType':_0x5de442[_0xa029fd(0x26b)],'range':_0x115f14[_0xa029fd(0x4d8)],'rangeUnitId':_0x115f14[_0xa029fd(0x378)],'rangeSubUnitId':_0x115f14['subUnitId'],'isRowDirection':_0x3872a9}});}return{'redos':_0x380255,'undos':_0x1b7d52};}else{if(_0x10b24d['id']===_univerjs_sheets[_0xa029fd(0x34b)]['id']){const {unitId:_0x7bc294,subUnitId:_0x2da545,targetSubUnitId:_0x9c4c7c}=_0x10b24d[_0xa029fd(0x4a9)];if(!_0x7bc294||!_0x2da545||!_0x9c4c7c)return{'redos':[],'undos':[]};const _0x10ebe1=this[_0xa029fd(0x2b5)][_0xa029fd(0x4ea)](_0x7bc294,_0x2da545),_0x3e3773=Object['values'](_0x10ebe1)[_0xa029fd(0x197)](_0x3a525e=>_0x3a525e[_0xa029fd(0x36e)]===_univerjs_core[_0xa029fd(0x539)][_0xa029fd(0x2cc)]);if(_0x3e3773[_0xa029fd(0x3db)]===0x0)return{'redos':[],'undos':[]};const _0x23bc52=[],_0x549122=[];for(let _0x34c4a8=0x0;_0x34c4a8<_0x3e3773['length'];_0x34c4a8++){const _0x3e24b5=_0x3e3773[_0x34c4a8],_0xa4992a=this[_0xa029fd(0x2ba)][_0xa029fd(0x443)](_0x3e24b5[_0xa029fd(0x418)]);if(!_0xa4992a)continue;const _0x34feb7=(0x0,_univerjs_core[_0xa029fd(0x590)])(),_0x353ef5={..._0x3e24b5,'unitId':_0x7bc294,'subUnitId':_0x9c4c7c,'drawingId':_0x34feb7},{rangeInfo:_0x110e8,isRowDirection:_0x492745}=_0xa4992a[_0xa029fd(0x498)]['getRangeInfo'](),{redo:_0xf9cf57,undo:_0xddcb92,objects:_0x2fc5db}=this[_0xa029fd(0x2b5)]['getBatchAddOp']([_0x353ef5]);_0x23bc52['push']({'id':_univerjs_sheets_drawing['SetDrawingApplyMutation']['id'],'params':{'unitId':_0x7bc294,'subUnitId':_0x9c4c7c,'type':_univerjs_sheets_drawing[_0xa029fd(0x4ef)][_0xa029fd(0x1ab)],'op':_0xf9cf57,'objects':_0x2fc5db}}),_0x23bc52[_0xa029fd(0x335)]({'id':_univerjs_pro_sheets_chart['InsertSheetsChartMutation']['id'],'params':{'unitId':_0x7bc294,'subUnitId':_0x9c4c7c,'chartId':_0x34feb7,'chartType':_0xa4992a[_0xa029fd(0x26b)],'range':_0x110e8[_0xa029fd(0x4d8)],'isRowDirection':_0x492745}}),_0x549122['push']({'id':_univerjs_pro_sheets_chart[_0xa029fd(0x3b2)]['id'],'params':{'unitId':_0x7bc294,'subUnitId':_0x9c4c7c,'chartId':_0x34feb7}}),_0x549122['push']({'id':_univerjs_sheets_drawing[_0xa029fd(0x2ff)]['id'],'params':{'unitId':_0x7bc294,'subUnitId':_0x9c4c7c,'type':_univerjs_sheets_drawing[_0xa029fd(0x4ef)][_0xa029fd(0x599)],'op':_0xddcb92,'objects':_0x2fc5db}});}return{'redos':_0x23bc52,'undos':_0x549122};}}return{'redos':[],'undos':[]};}}));}};ChartSheetChangeController=__decorate([__decorateParam(0x0,(0x0,_univerjs_core[_0x5db780(0x297)])(_univerjs_core[_0x5db780(0x556)])),__decorateParam(0x1,(0x0,_univerjs_core[_0x5db780(0x297)])(_univerjs_sheets['SheetInterceptorService'])),__decorateParam(0x2,(0x0,_univerjs_core['Inject'])(_univerjs_sheets_drawing[_0x5db780(0x47c)])),__decorateParam(0x3,(0x0,_univerjs_core['Inject'])(_univerjs_pro_sheets_chart[_0x5db780(0x562)]))],ChartSheetChangeController);let SheetsChartClipboardController=class SheetsChartClipboardController extends _univerjs_core['Disposable']{constructor(_0x4a43f3,_0x3405a5,_0x41b035,_0x418c3a){const _0x1c80a3=_0x5db780;super(),this[_0x1c80a3(0x634)]=_0x4a43f3,this[_0x1c80a3(0x216)]=_0x3405a5,this[_0x1c80a3(0x2b5)]=_0x41b035,this[_0x1c80a3(0x2ba)]=_0x418c3a,_defineProperty(this,'_copyInfo',void 0x0),this['_initCopyPaste']();}get['_focusedDrawings'](){const _0x4420d5=_0x5db780;return this[_0x4420d5(0x2b5)]['getFocusDrawings']();}[_0x5db780(0x3cb)](){const _0xe86eb=_0x5db780;this['disposeWithMe'](this[_0xe86eb(0x216)][_0xe86eb(0x5b2)]({'id':_univerjs_pro_sheets_chart[_0xe86eb(0x3d2)],'onBeforeCopy':(_0x43aa31,_0x5405ac,_0x485887,_0x67735b)=>{const _0x1bd560=_0xe86eb;this[_0x1bd560(0x308)]=null;const _0x3ceca7=this[_0x1bd560(0x506)];if(_0x3ceca7['length']){const _0x41cca6=_0x3ceca7[_0x1bd560(0x197)](_0xf680b5=>_0xf680b5[_0x1bd560(0x36e)]===_univerjs_core['DrawingTypeEnum']['DRAWING_CHART']);if(_0x41cca6[_0x1bd560(0x3db)]===0x0)return;this[_0x1bd560(0x308)]={'unitId':_0x43aa31,'subUnitId':_0x5405ac,'copyType':_0x67735b,'drawings':_0x41cca6};}else this[_0x1bd560(0x466)](_0x43aa31,_0x5405ac,_0x485887,_0x67735b);},'onPasteCells':(_0x2c898f,_0x204eb7,_0x3f4c67,_0xec08fb)=>{const _0x1f13e9=_0xe86eb;if(!this[_0x1f13e9(0x308)])return{'redos':[],'undos':[]};const {pasteType:_0x1dacca}=_0xec08fb;if(_0x1dacca!==_univerjs_sheets_ui['PREDEFINED_HOOK_NAME']['DEFAULT_PASTE'])return{'redos':[],'undos':[]};return this[_0x1f13e9(0x26f)](_0x204eb7,this[_0x1f13e9(0x308)][_0x1f13e9(0x4fa)]===_univerjs_sheets_ui['COPY_TYPE']['CUT']);},'onPasteUnrecognized':_0x165a9b=>{const _0xc5450a=_0xe86eb;if(!this[_0xc5450a(0x308)])return{'redos':[],'undos':[]};return this[_0xc5450a(0x26f)](_0x165a9b,this['_copyInfo'][_0xc5450a(0x4fa)]===_univerjs_sheets_ui[_0xc5450a(0x2b3)][_0xc5450a(0x4b0)]);}}));}[_0x5db780(0x466)](_0x22298e,_0x4d35f7,_0x4bf4c9,_0x4271e0){const _0x29f296=_0x5db780,_0x1bf781=this[_0x29f296(0x634)][_0x29f296(0x387)](_0x22298e,_0x4d35f7);if(!_0x1bf781)return;const _0x252b80=(0x0,_univerjs_sheets[_0x29f296(0x464)])(_0x1bf781,_0x4bf4c9);if(!_0x252b80)return;const {startX:_0x242e5c,endX:_0x4150c8,startY:_0x213fd9,endY:_0x733307}=_0x252b80,_0x116e5a=this[_0x29f296(0x2b5)][_0x29f296(0x4ea)](_0x22298e,_0x4d35f7),_0x32a163=this['_focusedDrawings'][_0x29f296(0x4e3)]();for(const [_0x497974,_0x8208d2]of Object['entries'](_0x116e5a)){if(_0x8208d2[_0x29f296(0x36e)]!==_univerjs_core[_0x29f296(0x539)]['DRAWING_CHART'])continue;const {transform:_0x420db1}=_0x8208d2;if(!_0x420db1)continue;const {left:left=0x0,top:top=0x0,width:width=0x0,height:height=0x0}=_0x420db1;if(_0x242e5c<=left&&_0x4150c8>=left+width&&_0x213fd9<=top&&_0x733307>=top+height)_0x32a163[_0x29f296(0x335)](_0x8208d2);}if(_0x32a163['length']>0x0)this[_0x29f296(0x308)]={'unitId':_0x22298e,'subUnitId':_0x4d35f7,'copyType':_0x4271e0,'copyRange':_0x4bf4c9,'drawings':_0x32a163};}[_0x5db780(0x26f)](_0x20c300,_0x8dbdab){const _0x241d0=_0x5db780,{unitId:_0x4359d3,subUnitId:_0x27890f,range:_0x29f06c}=_0x20c300,_0x2a6365=this['_sheetSkeletonService']['getSkeleton'](_0x4359d3,_0x27890f);if(!_0x2a6365)return{'redos':[],'undos':[]};const _0x47cb06=(0x0,_univerjs_sheets[_0x241d0(0x37f)])(_0x29f06c),{unitId:_0x556fb1,subUnitId:_0x427055,copyRange:_0x649d4e,drawings:_0x2d7d5a}=this[_0x241d0(0x308)],_0x40ae4c=this[_0x241d0(0x634)]['getSkeleton'](_0x556fb1,_0x427055);if(!_0x40ae4c)return{'redos':[],'undos':[]};const _0x5cdb3b=[],_0x3c8893=[];for(const _0x50a4a2 of _0x2d7d5a){const {drawingId:_0x5b39a3,transform:_0x4f7a1a,sheetTransform:_0x3f1fe9}=_0x50a4a2,_0x54b56e=this[_0x241d0(0x2ba)][_0x241d0(0x443)](_0x5b39a3);if(!_0x54b56e||!_0x4f7a1a||!_0x3f1fe9)continue;const _0xa290ab=this[_0x241d0(0x461)]({'transform':_0x4f7a1a,'sheetTransform':_0x3f1fe9},{'skeleton':_0x40ae4c,'range':_0x649d4e},{'skeleton':_0x2a6365,'range':_0x47cb06});if(_0x8dbdab){const {redos:_0x46409e,undos:_0x33526b}=this[_0x241d0(0x195)]({'fromUnitId':_0x556fb1,'fromSubUnitId':_0x427055,'toUnitId':_0x4359d3,'toSubUnitId':_0x27890f,'drawing':_0x50a4a2,'newTransforms':_0xa290ab},_0x54b56e);_0x5cdb3b[_0x241d0(0x335)](..._0x46409e),_0x3c8893[_0x241d0(0x335)](..._0x33526b);continue;}const {redos:_0x4b2ce5,undos:_0x11a1ad}=this[_0x241d0(0x473)]({'toUnitId':_0x4359d3,'toSubUnitId':_0x27890f,'drawing':_0x50a4a2,'newTransforms':_0xa290ab},_0x54b56e);_0x5cdb3b[_0x241d0(0x335)](..._0x4b2ce5),_0x3c8893[_0x241d0(0x335)](..._0x11a1ad);}return{'redos':_0x5cdb3b,'undos':_0x3c8893};}['_generateCutPasteMutations'](_0x336c97,_0x5cada0){const _0x136914=_0x5db780,{fromUnitId:_0x3af1fc,fromSubUnitId:_0x3e3b7c,toUnitId:_0x37df6f,toSubUnitId:_0x179e55,drawing:_0x7cb76d,newTransforms:_0x3611ce}=_0x336c97,_0x4b0fbf={..._0x7cb76d,'unitId':_0x37df6f,'subUnitId':_0x179e55,'transform':_0x3611ce[_0x136914(0x4f9)],'sheetTransform':_0x3611ce[_0x136914(0x57f)]};if(_0x37df6f===_0x3af1fc&&_0x179e55===_0x3e3b7c){const {redo:_0x101342,undo:_0x462b5d,objects:_0x10d450}=this['_sheetDrawingService']['getBatchUpdateOp']([_0x4b0fbf]);return{'redos':[{'id':_univerjs_sheets_drawing[_0x136914(0x2ff)]['id'],'params':{'unitId':_0x37df6f,'subUnitId':_0x179e55,'type':_univerjs_sheets_drawing[_0x136914(0x4ef)][_0x136914(0x3b0)],'op':_0x101342,'objects':_0x10d450}}],'undos':[{'id':_univerjs_sheets_drawing[_0x136914(0x2ff)]['id'],'params':{'unitId':_0x37df6f,'subUnitId':_0x179e55,'type':_univerjs_sheets_drawing[_0x136914(0x4ef)][_0x136914(0x3b0)],'op':_0x462b5d,'objects':_0x10d450}}]};}else{const _0x2705cd=this['_sheetDrawingService'][_0x136914(0x55a)]([_0x7cb76d]),_0x3286c5=this['_sheetDrawingService'][_0x136914(0x4a3)]([_0x4b0fbf]),{rangeInfo:_0x220c35,isRowDirection:_0x333ece}=_0x5cada0['dataSource'][_0x136914(0x22c)]();return{'redos':[{'id':_univerjs_sheets_drawing[_0x136914(0x2ff)]['id'],'params':{'unitId':_0x3af1fc,'subUnitId':_0x3e3b7c,'type':_univerjs_sheets_drawing[_0x136914(0x4ef)][_0x136914(0x599)],'op':_0x2705cd[_0x136914(0x43f)],'objects':_0x2705cd[_0x136914(0x23d)]}},{'id':_univerjs_pro_sheets_chart[_0x136914(0x3b2)]['id'],'params':{'unitId':_0x3af1fc,'subUnitId':_0x3e3b7c,'chartId':_0x7cb76d[_0x136914(0x418)]}},{'id':_univerjs_sheets_drawing[_0x136914(0x2ff)]['id'],'params':{'unitId':_0x37df6f,'subUnitId':_0x179e55,'type':_univerjs_sheets_drawing[_0x136914(0x4ef)]['INSERT'],'op':_0x3286c5[_0x136914(0x43f)],'objects':_0x3286c5[_0x136914(0x23d)]}},{'id':_univerjs_pro_sheets_chart[_0x136914(0x3bc)]['id'],'params':{'unitId':_0x37df6f,'subUnitId':_0x179e55,'chartId':_0x7cb76d[_0x136914(0x418)],'chartType':_0x5cada0[_0x136914(0x26b)],'range':_0x220c35['range'],'rangeUnitId':_0x220c35[_0x136914(0x378)],'rangeSubUnitId':_0x220c35[_0x136914(0x54c)],'isRowDirection':_0x333ece}}],'undos':[{'id':_univerjs_sheets_drawing[_0x136914(0x2ff)]['id'],'params':{'unitId':_0x3af1fc,'subUnitId':_0x3e3b7c,'type':_univerjs_sheets_drawing[_0x136914(0x4ef)]['INSERT'],'op':_0x2705cd[_0x136914(0x2bc)],'objects':_0x2705cd[_0x136914(0x23d)]}},{'id':_univerjs_pro_sheets_chart[_0x136914(0x3bc)]['id'],'params':{'unitId':_0x3af1fc,'subUnitId':_0x3e3b7c,'chartId':_0x7cb76d[_0x136914(0x418)],'chartType':_0x5cada0[_0x136914(0x26b)],'range':_0x220c35[_0x136914(0x4d8)],'rangeUnitId':_0x220c35[_0x136914(0x378)],'rangeSubUnitId':_0x220c35[_0x136914(0x54c)],'isRowDirection':_0x333ece}},{'id':_univerjs_sheets_drawing['SetDrawingApplyMutation']['id'],'params':{'unitId':_0x37df6f,'subUnitId':_0x179e55,'type':_univerjs_sheets_drawing[_0x136914(0x4ef)][_0x136914(0x599)],'op':_0x3286c5[_0x136914(0x2bc)],'objects':_0x3286c5[_0x136914(0x23d)]}},{'id':_univerjs_pro_sheets_chart[_0x136914(0x3b2)]['id'],'params':{'unitId':_0x37df6f,'subUnitId':_0x179e55,'chartId':_0x7cb76d[_0x136914(0x418)]}}]};}}['_generateCopyPasteMutations'](_0x125b52,_0xb4aa8f){const _0x25dedf=_0x5db780,{toUnitId:_0x36a108,toSubUnitId:_0x2353a4,drawing:_0x227009,newTransforms:_0x38a372}=_0x125b52,_0x43cee2=(0x0,_univerjs_core[_0x25dedf(0x590)])(),_0x56e911={..._0x227009,'unitId':_0x36a108,'subUnitId':_0x2353a4,'drawingId':_0x43cee2,'transform':_0x38a372['transform'],'sheetTransform':_0x38a372[_0x25dedf(0x57f)]},{redo:_0x5da1a5,undo:_0x33d6da,objects:_0x8e51f9}=this[_0x25dedf(0x2b5)]['getBatchAddOp']([_0x56e911]),{rangeInfo:_0x4aff70,isRowDirection:_0x3570bb}=_0xb4aa8f[_0x25dedf(0x498)]['getRangeInfo']();return{'redos':[{'id':_univerjs_sheets_drawing[_0x25dedf(0x2ff)]['id'],'params':{'unitId':_0x36a108,'subUnitId':_0x2353a4,'type':_univerjs_sheets_drawing[_0x25dedf(0x4ef)][_0x25dedf(0x1ab)],'op':_0x5da1a5,'objects':_0x8e51f9}},{'id':_univerjs_pro_sheets_chart['InsertSheetsChartMutation']['id'],'params':{'unitId':_0x36a108,'subUnitId':_0x2353a4,'chartId':_0x43cee2,'chartType':_0xb4aa8f[_0x25dedf(0x26b)],'range':_0x4aff70[_0x25dedf(0x4d8)],'rangeUnitId':_0x4aff70['unitId'],'rangeSubUnitId':_0x4aff70[_0x25dedf(0x54c)],'isRowDirection':_0x3570bb}}],'undos':[{'id':_univerjs_sheets_drawing[_0x25dedf(0x2ff)]['id'],'params':{'unitId':_0x36a108,'subUnitId':_0x2353a4,'type':_univerjs_sheets_drawing[_0x25dedf(0x4ef)]['REMOVE'],'op':_0x33d6da,'objects':_0x8e51f9}},{'id':_univerjs_pro_sheets_chart[_0x25dedf(0x3b2)]['id'],'params':{'unitId':_0x36a108,'subUnitId':_0x2353a4,'chartId':_0x43cee2}}]};}[_0x5db780(0x461)](_0x32c2a0,_0x6e19a7,_0x55fb7b){const _0x15f16d=_0x5db780;var _0x5c99b2;const {range:_0x5b6c25,skeleton:_0x456a5f}=_0x6e19a7,{range:_0x9d47e5,skeleton:_0x430426}=_0x55fb7b,{transform:_0x5db03a,sheetTransform:_0x166643}=_0x32c2a0,_0x4a54c0={..._0x5db03a};if(_0x5b6c25){const _0x51d8be=(0x0,_univerjs_sheets[_0x15f16d(0x464)])(_0x456a5f,_0x5b6c25),_0x52c6c4=(0x0,_univerjs_sheets[_0x15f16d(0x464)])(_0x430426,_0x9d47e5);if(_0x51d8be&&_0x52c6c4){var _0x58b4dc,_0x64915b;const _0x14c82e=_0x52c6c4['startX']-_0x51d8be['startX'],_0x5668b3=_0x52c6c4[_0x15f16d(0x1f1)]-_0x51d8be[_0x15f16d(0x1f1)];_0x4a54c0[_0x15f16d(0x5b0)]=((_0x58b4dc=_0x4a54c0[_0x15f16d(0x5b0)])!==null&&_0x58b4dc!==void 0x0?_0x58b4dc:0x0)+_0x14c82e,_0x4a54c0[_0x15f16d(0x49f)]=((_0x64915b=_0x4a54c0[_0x15f16d(0x49f)])!==null&&_0x64915b!==void 0x0?_0x64915b:0x0)+_0x5668b3;}}else{const _0x1dcb08=(0x0,_univerjs_sheets[_0x15f16d(0x464)])(_0x430426,_0x9d47e5);_0x4a54c0['left']=_0x1dcb08===null||_0x1dcb08===void 0x0?void 0x0:_0x1dcb08[_0x15f16d(0x270)],_0x4a54c0['top']=_0x1dcb08===null||_0x1dcb08===void 0x0?void 0x0:_0x1dcb08[_0x15f16d(0x1f1)];}return{'transform':_0x4a54c0,'sheetTransform':(_0x5c99b2=(0x0,_univerjs_sheets_drawing[_0x15f16d(0x57b)])(_0x4a54c0,_0x430426))!==null&&_0x5c99b2!==void 0x0?_0x5c99b2:_0x166643};}};SheetsChartClipboardController=__decorate([__decorateParam(0x0,(0x0,_univerjs_core[_0x5db780(0x297)])(_univerjs_sheets[_0x5db780(0x1ea)])),__decorateParam(0x1,(0x0,_univerjs_core[_0x5db780(0x297)])(_univerjs_sheets_ui[_0x5db780(0x2be)])),__decorateParam(0x2,(0x0,_univerjs_core[_0x5db780(0x297)])(_univerjs_sheets_drawing[_0x5db780(0x47c)])),__decorateParam(0x3,(0x0,_univerjs_core[_0x5db780(0x297)])(_univerjs_pro_sheets_chart[_0x5db780(0x562)]))],SheetsChartClipboardController);let SheetsChartUIPermissionController=class SheetsChartUIPermissionController extends _univerjs_core[_0x5db780(0x5d2)]{constructor(_0x484088,_0x53b2c2,_0x367871,_0x1dcdb9){const _0x17bca5=_0x5db780;super(),this[_0x17bca5(0x37c)]=_0x484088,this[_0x17bca5(0x5e5)]=_0x53b2c2,this[_0x17bca5(0x5a8)]=_0x367871,this[_0x17bca5(0x63c)]=_0x1dcdb9,this[_0x17bca5(0x42e)]();}['_initPermission'](){const _0x1fa982=_0x5db780;this[_0x1fa982(0x618)](this[_0x1fa982(0x37c)][_0x1fa982(0x2d4)](_0x384b40=>{const _0x198232=_0x1fa982;let _0x4721dc,_0x17c65a;if(_0x384b40['id']===_univerjs_pro_sheets_chart[_0x198232(0x579)]['id']){const _0x5c7a69=_0x384b40[_0x198232(0x4a9)];_0x4721dc=_0x5c7a69[_0x198232(0x378)],_0x17c65a=_0x5c7a69[_0x198232(0x54c)];}else{if(_0x384b40['id']===_univerjs_pro_sheets_chart['ChartUpdateConfigCommand']['id']||_0x384b40['id']===_univerjs_pro_sheets_chart[_0x198232(0x402)]['id']){const _0x172984=_0x384b40[_0x198232(0x4a9)];_0x4721dc=_0x172984[_0x198232(0x378)],_0x17c65a=this[_0x198232(0x63c)][_0x198232(0x444)](_0x172984[_0x198232(0x378)],_0x172984[_0x198232(0x2e8)]);}}if(!_0x4721dc||!_0x17c65a)return;if(!this[_0x198232(0x5a8)]['permissionCheckWithoutRange']({'workbookTypes':[_univerjs_sheets[_0x198232(0x5fc)]],'worksheetTypes':[_univerjs_sheets[_0x198232(0x252)]]},_0x4721dc,_0x17c65a))this[_0x198232(0x5a8)][_0x198232(0x4a4)](this['_localeService']['t'](_0x198232(0x5fb)));}));}};SheetsChartUIPermissionController=__decorate([__decorateParam(0x0,(0x0,_univerjs_core[_0x5db780(0x297)])(_univerjs_core[_0x5db780(0x248)])),__decorateParam(0x1,(0x0,_univerjs_core[_0x5db780(0x297)])(_univerjs_core[_0x5db780(0x1c2)])),__decorateParam(0x2,(0x0,_univerjs_core[_0x5db780(0x297)])(_univerjs_sheets['SheetPermissionCheckController'])),__decorateParam(0x3,(0x0,_univerjs_core[_0x5db780(0x297)])(_univerjs_pro_sheets_chart[_0x5db780(0x3bb)]))],SheetsChartUIPermissionController);if(!window[_0x5db780(0x318)])window[_0x5db780(0x318)]=function setupSetImmediate(){const _0x45e70e=_0x5db780;return window[_0x45e70e(0x238)]||window[_0x45e70e(0x525)]||window['mozSetImmediate']||window['oSetImmediate']||function _0x3a5808(){const _0x5e1f52=_0x45e70e;if(!window[_0x5e1f52(0x3b9)]||!window[_0x5e1f52(0x2f2)])return null;const _0x46096c=[void 0x0],_0x45fad3='zero-timeout-message',_0x11b1b1=function _0x15b636(_0x341e31){const _0x1156ea=_0x5e1f52,_0x4d998d=_0x46096c['length'];return _0x46096c[_0x1156ea(0x335)](_0x341e31),window[_0x1156ea(0x3b9)](_0x45fad3+_0x4d998d[_0x1156ea(0x1cb)](0x24),'*'),_0x4d998d;};return window['addEventListener'](_0x5e1f52(0x1d9),function _0x312c42(_0x444391){const _0x455f1b=_0x5e1f52;if(typeof _0x444391[_0x455f1b(0x273)]!==_0x455f1b(0x622)||_0x444391['data'][_0x455f1b(0x3c5)](0x0,0x14)!==_0x45fad3)return;_0x444391[_0x455f1b(0x4b7)]();const _0x4fa28a=Number[_0x455f1b(0x2ee)](_0x444391[_0x455f1b(0x273)]['substr'](0x14),0x24);if(!_0x46096c[_0x4fa28a])return;_0x46096c[_0x4fa28a](),_0x46096c[_0x4fa28a]=void 0x0;},!![]),window[_0x5e1f52(0x349)]=function _0x2650ab(_0x3daacf){if(!_0x46096c[_0x3daacf])return;_0x46096c[_0x3daacf]=void 0x0;},_0x11b1b1;}()||function _0x906609(_0x54d7ba){const _0x42d47a=_0x45e70e;window[_0x42d47a(0x27c)](_0x54d7ba,0x0);};}();if(!window[_0x5db780(0x349)])window[_0x5db780(0x349)]=function setupClearImmediate(){const _0x1b27b7=_0x5db780;return window[_0x1b27b7(0x5c9)]||window['webkitClearImmediate']||window[_0x1b27b7(0x221)]||window[_0x1b27b7(0x3d7)]||function _0x28de68(_0x3100f3){const _0x3114bb=_0x1b27b7;window[_0x3114bb(0x261)](_0x3100f3);};}();const isSupported=function isSupported(){const _0x3e69bc=_0x5db780,_0x4e9e64=document['createElement'](_0x3e69bc(0x253));if(!_0x4e9e64||!_0x4e9e64[_0x3e69bc(0x3ef)])return![];const _0x2b2ca2=_0x4e9e64[_0x3e69bc(0x3ef)]('2d');if(!_0x2b2ca2)return![];if(!_0x2b2ca2[_0x3e69bc(0x5df)])return![];if(!_0x2b2ca2[_0x3e69bc(0x401)])return![];if(!Array[_0x3e69bc(0x430)][_0x3e69bc(0x2cd)])return![];if(!Array['prototype'][_0x3e69bc(0x335)])return![];return!![];}(),minFontSize=function getMinFontSize(){const _0x223091=_0x5db780;if(!isSupported)return;const _0x35d008=document[_0x223091(0x356)]('canvas')[_0x223091(0x3ef)]('2d');let _0x2d76ff=0x14,_0x4e963e,_0x2bf9bd;while(_0x2d76ff){_0x35d008[_0x223091(0x314)]=_0x2d76ff[_0x223091(0x1cb)](0xa)+'px\x20sans-serif';if(_0x35d008[_0x223091(0x2c7)]('W')[_0x223091(0x292)]===_0x4e963e&&_0x35d008[_0x223091(0x2c7)]('m')['width']===_0x2bf9bd)return _0x2d76ff+0x1;_0x4e963e=_0x35d008[_0x223091(0x2c7)]('W')[_0x223091(0x292)],_0x2bf9bd=_0x35d008[_0x223091(0x2c7)]('m')[_0x223091(0x292)],_0x2d76ff--;}return 0x0;}(),getItemExtraData=function(_0x31128b){const _0x3dc033=_0x5db780;if(Array[_0x3dc033(0x204)](_0x31128b)){const _0x13bb72=_0x31128b[_0x3dc033(0x4e3)]();return _0x13bb72[_0x3dc033(0x4ec)](0x0,0x2),_0x13bb72;}else return[];},shuffleArray=function shuffleArray(_0x117b31){const _0x2c78ec=_0x5db780;for(let _0x63c83f,_0x57bdf0,_0x4195a5=_0x117b31[_0x2c78ec(0x3db)];_0x4195a5;){_0x63c83f=Math['floor'](Math['random']()*_0x4195a5),_0x57bdf0=_0x117b31[--_0x4195a5],_0x117b31[_0x4195a5]=_0x117b31[_0x63c83f],_0x117b31[_0x63c83f]=_0x57bdf0;}return _0x117b31;},timer={},WordCloud=function WordCloud(_0x8c48e9,_0xf17aec){const _0x31d5d5=_0x5db780;if(!isSupported)return;const _0x5735ed=Math[_0x31d5d5(0x4d0)](Math[_0x31d5d5(0x37a)]()*Date['now']());if(!Array[_0x31d5d5(0x204)](_0x8c48e9))_0x8c48e9=[_0x8c48e9];_0x8c48e9[_0x31d5d5(0x42f)](function(_0x3f904a,_0x5a7ed9){const _0x537fa3=_0x31d5d5;if(typeof _0x3f904a==='string'){_0x8c48e9[_0x5a7ed9]=document['getElementById'](_0x3f904a);if(!_0x8c48e9[_0x5a7ed9])throw new Error(_0x537fa3(0x4cc));}else{if(!_0x3f904a[_0x537fa3(0x59f)]&&!_0x3f904a['appendChild'])throw new Error(_0x537fa3(0x1f9));}});const _0x56fd78={'list':[],'fontFamily':_0x31d5d5(0x38f),'fontWeight':_0x31d5d5(0x56e),'color':_0x31d5d5(0x604),'minSize':0x0,'weightFactor':0x1,'clearCanvas':!![],'backgroundColor':_0x31d5d5(0x1b8),'gridSize':0x8,'drawOutOfBound':![],'shrinkToFit':![],'origin':null,'drawMask':![],'maskColor':'rgba(255,0,0,0.3)','maskGapWidth':0.3,'layoutAnimation':!![],'wait':0x0,'abortThreshold':0x0,'abort':function _0x4ee26b(){},'minRotation':-Math['PI']/0x2,'maxRotation':Math['PI']/0x2,'rotationStep':0.1,'shuffle':!![],'rotateRatio':0.1,'shape':'circle','ellipticity':0.65,'classes':null,'hover':null,'click':null};if(_0xf17aec){for(const _0x57b364 in _0xf17aec)if(_0x57b364 in _0x56fd78)_0x56fd78[_0x57b364]=_0xf17aec[_0x57b364];}if(typeof _0x56fd78[_0x31d5d5(0x2d1)]!=='function'){const _0x506751=_0x56fd78[_0x31d5d5(0x2d1)];_0x56fd78[_0x31d5d5(0x2d1)]=function _0x5e284c(_0x35a330){return _0x35a330*_0x506751;};}if(typeof _0x56fd78[_0x31d5d5(0x476)]!==_0x31d5d5(0x436))switch(_0x56fd78[_0x31d5d5(0x476)]){case _0x31d5d5(0x31a):_0x56fd78[_0x31d5d5(0x476)]=function _0x299f85(_0x3512d6){const _0x127ce8=_0x31d5d5;return 0x1-Math[_0x127ce8(0x370)](_0x3512d6);};break;case _0x31d5d5(0x526):_0x56fd78[_0x31d5d5(0x476)]=function _0x4da90c(_0x360cec){const _0x12581f=_0x31d5d5,_0x1fde65=_0x360cec%(0x2*Math['PI']/0x4);return 0x1/(Math[_0x12581f(0x53a)](_0x1fde65)+Math['sin'](_0x1fde65));};break;case _0x31d5d5(0x3cd):_0x56fd78[_0x31d5d5(0x476)]=function _0xbd86f7(_0x529921){const _0x3238b8=_0x31d5d5;return Math[_0x3238b8(0x393)](0x1/Math['abs'](Math[_0x3238b8(0x53a)](_0x529921)),0x1/Math[_0x3238b8(0x4b9)](Math['sin'](_0x529921)));};break;case _0x31d5d5(0x271):_0x56fd78[_0x31d5d5(0x476)]=function _0x5420e6(_0x3b965d){const _0x4fc0e8=_0x31d5d5,_0x160c46=_0x3b965d%(0x2*Math['PI']/0x3);return 0x1/(Math[_0x4fc0e8(0x53a)](_0x160c46)+Math[_0x4fc0e8(0x199)](0x3)*Math[_0x4fc0e8(0x370)](_0x160c46));};break;case _0x31d5d5(0x299):case _0x31d5d5(0x5d5):_0x56fd78[_0x31d5d5(0x476)]=function _0x289c6d(_0x4c805a){const _0x27e6b1=_0x31d5d5,_0x37670e=(_0x4c805a+Math['PI']*0x3/0x2)%(0x2*Math['PI']/0x3);return 0x1/(Math[_0x27e6b1(0x53a)](_0x37670e)+Math[_0x27e6b1(0x199)](0x3)*Math['sin'](_0x37670e));};break;case'pentagon':_0x56fd78[_0x31d5d5(0x476)]=function _0x47cbfc(_0x8a3066){const _0xc4ae98=_0x31d5d5,_0xc894d4=(_0x8a3066+0.955)%(0x2*Math['PI']/0x5);return 0x1/(Math[_0xc4ae98(0x53a)](_0xc894d4)+0.726543*Math['sin'](_0xc894d4));};break;case _0x31d5d5(0x350):_0x56fd78[_0x31d5d5(0x476)]=function _0x276058(_0x44a032){const _0x3d0477=_0x31d5d5,_0x28ac88=(_0x44a032+0.955)%(0x2*Math['PI']/0xa);if((_0x44a032+0.955)%(0x2*Math['PI']/0x5)-0x2*Math['PI']/0xa>=0x0)return 0x1/(Math[_0x3d0477(0x53a)](0x2*Math['PI']/0xa-_0x28ac88)+3.07768*Math[_0x3d0477(0x370)](0x2*Math['PI']/0xa-_0x28ac88));else return 0x1/(Math[_0x3d0477(0x53a)](_0x28ac88)+3.07768*Math[_0x3d0477(0x370)](_0x28ac88));};break;default:_0x56fd78[_0x31d5d5(0x476)]='circle';break;}_0x56fd78[_0x31d5d5(0x19f)]=Math[_0x31d5d5(0x1e5)](Math[_0x31d5d5(0x4d0)](_0x56fd78[_0x31d5d5(0x19f)]),0x4);const _0x4e8ac9=_0x56fd78[_0x31d5d5(0x19f)],_0x59df01=_0x4e8ac9-_0x56fd78['maskGapWidth'],_0x4a598c=Math[_0x31d5d5(0x4b9)](_0x56fd78[_0x31d5d5(0x42a)]-_0x56fd78['minRotation']),_0x2209f=Math[_0x31d5d5(0x393)](_0x56fd78[_0x31d5d5(0x42a)],_0x56fd78[_0x31d5d5(0x557)]),_0x43e626=_0x56fd78[_0x31d5d5(0x59c)];let _0x1276c1,_0x1873d8,_0x219024,_0x4a04ab,_0xbe67c0,_0x51abda,_0x42043d;function _0x5cc257(_0x172955,_0x439907){const _0x32367f=_0x31d5d5;return'hsl('+(Math[_0x32367f(0x37a)]()*0x168)['toFixed']()+','+(Math[_0x32367f(0x37a)]()*0x1e+0x46)[_0x32367f(0x607)]()+'%,'+(Math[_0x32367f(0x37a)]()*(_0x439907-_0x172955)+_0x172955)['toFixed']()+'%)';}switch(_0x56fd78[_0x31d5d5(0x1e1)]){case'random-dark':_0x42043d=function _0x3d7cc5(){return _0x5cc257(0xa,0x32);};break;case _0x31d5d5(0x446):_0x42043d=function _0x55f5de(){return _0x5cc257(0x32,0x5a);};break;default:if(typeof _0x56fd78[_0x31d5d5(0x1e1)]===_0x31d5d5(0x436))_0x42043d=_0x56fd78['color'];break;}let _0xbb1013;if(typeof _0x56fd78[_0x31d5d5(0x1ca)]===_0x31d5d5(0x436))_0xbb1013=_0x56fd78[_0x31d5d5(0x1ca)];let _0x44f5ed=null;if(typeof _0x56fd78[_0x31d5d5(0x61f)]==='function')_0x44f5ed=_0x56fd78['classes'];let _0x47e748=![];const _0xd90d24=[];let _0x2c2ac6;const _0x32aeda=function _0x2ca9bd(_0x52324c){const _0x52d9b0=_0x31d5d5,_0x26daa2=_0x52324c[_0x52d9b0(0x239)],_0x29a129=_0x26daa2[_0x52d9b0(0x28a)]();let _0x2aa4d2,_0x54f4c;_0x52324c[_0x52d9b0(0x3f4)]?(_0x2aa4d2=_0x52324c['touches'][0x0][_0x52d9b0(0x44c)],_0x54f4c=_0x52324c[_0x52d9b0(0x3f4)][0x0][_0x52d9b0(0x623)]):(_0x2aa4d2=_0x52324c[_0x52d9b0(0x44c)],_0x54f4c=_0x52324c['clientY']);const _0x3d85ee=_0x2aa4d2-_0x29a129['left'],_0x2b990b=_0x54f4c-_0x29a129[_0x52d9b0(0x49f)],_0x3f58ca=Math[_0x52d9b0(0x4d0)](_0x3d85ee*(_0x26daa2['width']/_0x29a129[_0x52d9b0(0x292)]||0x1)/_0x4e8ac9),_0x18c438=Math[_0x52d9b0(0x4d0)](_0x2b990b*(_0x26daa2[_0x52d9b0(0x296)]/_0x29a129['height']||0x1)/_0x4e8ac9);if(!_0xd90d24[_0x3f58ca])return null;return _0xd90d24[_0x3f58ca][_0x18c438];},_0x459ffe=function _0x20d86b(_0x3549c4){const _0x52f5c0=_0x31d5d5,_0x550392=_0x32aeda(_0x3549c4);if(_0x2c2ac6===_0x550392)return;_0x2c2ac6=_0x550392;if(!_0x550392){_0x56fd78[_0x52f5c0(0x244)](void 0x0,void 0x0,_0x3549c4);return;}_0x56fd78[_0x52f5c0(0x244)](_0x550392[_0x52f5c0(0x3fa)],_0x550392['dimension'],_0x3549c4);},_0xe4caa3=function _0x39f093(_0x5da642){const _0x458b5a=_0x31d5d5,_0x3d22ba=_0x32aeda(_0x5da642);if(!_0x3d22ba)return;_0x56fd78['click'](_0x3d22ba[_0x458b5a(0x3fa)],_0x3d22ba[_0x458b5a(0x3c1)],_0x5da642),_0x5da642[_0x458b5a(0x294)]();},_0x3dce5d=[],_0x381a35=function _0x34863a(_0x4b867a){const _0x407445=_0x31d5d5;if(_0x3dce5d[_0x4b867a])return _0x3dce5d[_0x4b867a];const _0x8c3f78=_0x4b867a*0x8;let _0xd06dd7=_0x8c3f78;const _0x45339f=[];if(_0x4b867a===0x0)_0x45339f[_0x407445(0x335)]([_0x4a04ab[0x0],_0x4a04ab[0x1],0x0]);while(_0xd06dd7--){let _0x665a54=0x1;if(_0x56fd78[_0x407445(0x476)]!==_0x407445(0x5e6))_0x665a54=_0x56fd78[_0x407445(0x476)](_0xd06dd7/_0x8c3f78*0x2*Math['PI']);_0x45339f['push']([_0x4a04ab[0x0]+_0x4b867a*_0x665a54*Math['cos'](-_0xd06dd7/_0x8c3f78*0x2*Math['PI']),_0x4a04ab[0x1]+_0x4b867a*_0x665a54*Math['sin'](-_0xd06dd7/_0x8c3f78*0x2*Math['PI'])*_0x56fd78['ellipticity'],_0xd06dd7/_0x8c3f78*0x2*Math['PI']]);}return _0x3dce5d[_0x4b867a]=_0x45339f,_0x45339f;},_0x5cd569=function _0x150ef2(){const _0x7f2fff=_0x31d5d5;return _0x56fd78[_0x7f2fff(0x389)]>0x0&&new Date()[_0x7f2fff(0x282)]()-_0x51abda>_0x56fd78['abortThreshold'];},_0x554a74=function _0xed7461(){const _0x960eb5=_0x31d5d5;if(_0x56fd78[_0x960eb5(0x290)]===0x0)return 0x0;if(Math[_0x960eb5(0x37a)]()>_0x56fd78[_0x960eb5(0x290)])return 0x0;if(_0x4a598c===0x0)return _0x2209f;return _0x2209f+Math['round'](Math[_0x960eb5(0x37a)]()*_0x4a598c/_0x43e626)*_0x43e626;},_0x5ced42=function _0x5b02ab(_0x1de96a,_0x10186c,_0x19bd69,_0x206c6f){const _0x1d56ad=_0x31d5d5,_0x28e436=_0x56fd78['weightFactor'](_0x10186c);if(_0x28e436<=_0x56fd78[_0x1d56ad(0x388)])return![];let _0x1b3c56=0x1;if(_0x28e436<minFontSize)_0x1b3c56=function _0xafcf9e(){let _0x26f94a=0x2;while(_0x26f94a*_0x28e436<minFontSize)_0x26f94a+=0x2;return _0x26f94a;}();let _0x348b43;if(_0xbb1013)_0x348b43=_0xbb1013(_0x1de96a,_0x10186c,_0x28e436,_0x206c6f);else _0x348b43=_0x56fd78[_0x1d56ad(0x1ca)];const _0x87d844=document['createElement'](_0x1d56ad(0x253)),_0x3c0df8=_0x87d844[_0x1d56ad(0x3ef)]('2d',{'willReadFrequently':!![]});_0x3c0df8[_0x1d56ad(0x314)]=_0x348b43+'\x20'+(_0x28e436*_0x1b3c56)[_0x1d56ad(0x1cb)](0xa)+'px\x20'+_0x56fd78[_0x1d56ad(0x377)];const _0x260b84=_0x3c0df8['measureText'](_0x1de96a)[_0x1d56ad(0x292)]/_0x1b3c56,_0x400b95=Math[_0x1d56ad(0x1e5)](_0x28e436*_0x1b3c56,_0x3c0df8[_0x1d56ad(0x2c7)]('m')[_0x1d56ad(0x292)],_0x3c0df8['measureText']('W')['width'])/_0x1b3c56;let _0x37e5e9=_0x260b84+_0x400b95*0x2,_0x583a70=_0x400b95*0x3;const _0xefc0f7=Math[_0x1d56ad(0x2cb)](_0x37e5e9/_0x4e8ac9),_0x55dd8a=Math[_0x1d56ad(0x2cb)](_0x583a70/_0x4e8ac9);_0x37e5e9=_0xefc0f7*_0x4e8ac9,_0x583a70=_0x55dd8a*_0x4e8ac9;const _0x4ef0d4=-_0x260b84/0x2,_0xc1a8c9=-_0x400b95*0.4,_0x15a6af=Math[_0x1d56ad(0x2cb)]((_0x37e5e9*Math[_0x1d56ad(0x4b9)](Math[_0x1d56ad(0x370)](_0x19bd69))+_0x583a70*Math[_0x1d56ad(0x4b9)](Math['cos'](_0x19bd69)))/_0x4e8ac9),_0x21d5f6=Math[_0x1d56ad(0x2cb)]((_0x37e5e9*Math[_0x1d56ad(0x4b9)](Math['cos'](_0x19bd69))+_0x583a70*Math[_0x1d56ad(0x4b9)](Math['sin'](_0x19bd69)))/_0x4e8ac9),_0x5e7063=_0x21d5f6*_0x4e8ac9,_0x16828f=_0x15a6af*_0x4e8ac9;_0x87d844[_0x1d56ad(0x63f)](_0x1d56ad(0x292),_0x5e7063),_0x87d844['setAttribute'](_0x1d56ad(0x296),_0x16828f),_0x3c0df8[_0x1d56ad(0x33f)](0x1/_0x1b3c56,0x1/_0x1b3c56),_0x3c0df8[_0x1d56ad(0x27d)](_0x5e7063*_0x1b3c56/0x2,_0x16828f*_0x1b3c56/0x2),_0x3c0df8[_0x1d56ad(0x5a2)](-_0x19bd69),_0x3c0df8[_0x1d56ad(0x314)]=_0x348b43+'\x20'+(_0x28e436*_0x1b3c56)[_0x1d56ad(0x1cb)](0xa)+_0x1d56ad(0x50b)+_0x56fd78[_0x1d56ad(0x377)],_0x3c0df8[_0x1d56ad(0x29b)]=_0x1d56ad(0x409),_0x3c0df8[_0x1d56ad(0x258)]=_0x1d56ad(0x3dd),_0x3c0df8[_0x1d56ad(0x401)](_0x1de96a,_0x4ef0d4*_0x1b3c56,(_0xc1a8c9+_0x28e436*0.5)*_0x1b3c56);const _0x382cdb=_0x3c0df8[_0x1d56ad(0x5df)](0x0,0x0,_0x5e7063,_0x16828f)[_0x1d56ad(0x273)];if(_0x5cd569())return![];const _0x1fe57d=[];let _0x10879a=_0x21d5f6,_0x1406fd,_0x3c1a59,_0x34d3ef;const _0xf56132=[_0x15a6af/0x2,_0x21d5f6/0x2,_0x15a6af/0x2,_0x21d5f6/0x2];while(_0x10879a--){_0x1406fd=_0x15a6af;while(_0x1406fd--){_0x34d3ef=_0x4e8ac9;_0xe1f2c6:while(_0x34d3ef--){_0x3c1a59=_0x4e8ac9;while(_0x3c1a59--)if(_0x382cdb[((_0x1406fd*_0x4e8ac9+_0x34d3ef)*_0x5e7063+(_0x10879a*_0x4e8ac9+_0x3c1a59))*0x4+0x3]){_0x1fe57d[_0x1d56ad(0x335)]([_0x10879a,_0x1406fd]);if(_0x10879a<_0xf56132[0x3])_0xf56132[0x3]=_0x10879a;if(_0x10879a>_0xf56132[0x1])_0xf56132[0x1]=_0x10879a;if(_0x1406fd<_0xf56132[0x0])_0xf56132[0x0]=_0x1406fd;if(_0x1406fd>_0xf56132[0x2])_0xf56132[0x2]=_0x1406fd;break _0xe1f2c6;}}}}return{'mu':_0x1b3c56,'occupied':_0x1fe57d,'bounds':_0xf56132,'gw':_0x21d5f6,'gh':_0x15a6af,'fillTextOffsetX':_0x4ef0d4,'fillTextOffsetY':_0xc1a8c9,'fillTextWidth':_0x260b84,'fillTextHeight':_0x400b95,'fontSize':_0x28e436};},_0x2aebc2=function _0x1561cc(_0x17e424,_0x8f098a,_0x4d47f4,_0x516617,_0x274bbd){const _0x3140ab=_0x31d5d5;let _0x3bcf68=_0x274bbd[_0x3140ab(0x3db)];while(_0x3bcf68--){const _0x1f9949=_0x17e424+_0x274bbd[_0x3bcf68][0x0],_0x4f544c=_0x8f098a+_0x274bbd[_0x3bcf68][0x1];if(_0x1f9949>=_0x1873d8||_0x4f544c>=_0x219024||_0x1f9949<0x0||_0x4f544c<0x0){if(!_0x56fd78['drawOutOfBound'])return![];continue;}if(!_0x1276c1[_0x1f9949][_0x4f544c])return![];}return!![];},_0xcc53e=function _0x52ca98(_0x2107ee,_0x2f41e2,_0x4783bb,_0x2cbbc9,_0x207efd,_0x230780,_0x7e58de,_0x1acf97,_0xd33946,_0x13e78e){const _0x50bf32=_0x31d5d5,_0x1b3b39=_0x4783bb['fontSize'];let _0x4fdc4a;if(_0x42043d)_0x4fdc4a=_0x42043d(_0x2cbbc9,_0x207efd,_0x1b3b39,_0x230780,_0x7e58de,_0x13e78e);else _0x4fdc4a=_0x56fd78[_0x50bf32(0x1e1)];let _0x17186f;if(_0xbb1013)_0x17186f=_0xbb1013(_0x2cbbc9,_0x207efd,_0x1b3b39,_0x13e78e);else _0x17186f=_0x56fd78[_0x50bf32(0x1ca)];let _0x31cf7d;if(_0x44f5ed)_0x31cf7d=_0x44f5ed(_0x2cbbc9,_0x207efd,_0x1b3b39,_0x13e78e);else _0x31cf7d=_0x56fd78[_0x50bf32(0x61f)];_0x8c48e9[_0x50bf32(0x42f)](function(_0x5d3546){const _0x431183=_0x50bf32;if(_0x5d3546[_0x431183(0x3ef)]){const _0x5cf414=_0x5d3546['getContext']('2d'),_0x4cab2d=_0x4783bb['mu'];_0x5cf414['save'](),_0x5cf414[_0x431183(0x33f)](0x1/_0x4cab2d,0x1/_0x4cab2d),_0x5cf414[_0x431183(0x314)]=_0x17186f+'\x20'+(_0x1b3b39*_0x4cab2d)[_0x431183(0x1cb)](0xa)+_0x431183(0x50b)+_0x56fd78[_0x431183(0x377)],_0x5cf414[_0x431183(0x29b)]=_0x4fdc4a,_0x5cf414[_0x431183(0x27d)]((_0x2107ee+_0x4783bb['gw']/0x2)*_0x4e8ac9*_0x4cab2d,(_0x2f41e2+_0x4783bb['gh']/0x2)*_0x4e8ac9*_0x4cab2d);if(_0x1acf97!==0x0)_0x5cf414['rotate'](-_0x1acf97);_0x5cf414['textBaseline']=_0x431183(0x3dd),_0x5cf414[_0x431183(0x401)](_0x2cbbc9,_0x4783bb[_0x431183(0x46d)]*_0x4cab2d,(_0x4783bb['fillTextOffsetY']+_0x1b3b39*0.5)*_0x4cab2d),_0x5cf414[_0x431183(0x581)]();}else{const _0x3a7d78=document[_0x431183(0x356)](_0x431183(0x2c2));let _0x57be59='';_0x57be59=_0x431183(0x3c0)+-_0x1acf97/Math['PI']*0xb4+_0x431183(0x1f0);if(_0x4783bb['mu']!==0x1)_0x57be59+='translateX(-'+_0x4783bb[_0x431183(0x38c)]/0x4+_0x431183(0x366)+0x1/_0x4783bb['mu']+')';const _0x32d60c={'position':_0x431183(0x5ee),'display':_0x431183(0x234),'font':_0x17186f+'\x20'+_0x1b3b39*_0x4783bb['mu']+_0x431183(0x50b)+_0x56fd78[_0x431183(0x377)],'left':(_0x2107ee+_0x4783bb['gw']/0x2)*_0x4e8ac9+_0x4783bb['fillTextOffsetX']+'px','top':(_0x2f41e2+_0x4783bb['gh']/0x2)*_0x4e8ac9+_0x4783bb[_0x431183(0x613)]+'px','width':_0x4783bb[_0x431183(0x38c)]+'px','height':_0x4783bb[_0x431183(0x60b)]+'px','lineHeight':_0x1b3b39+'px','whiteSpace':'nowrap','transform':_0x57be59,'webkitTransform':_0x57be59,'msTransform':_0x57be59,'transformOrigin':_0x431183(0x5c8),'webkitTransformOrigin':_0x431183(0x5c8),'msTransformOrigin':'50%\x2040%'};if(_0x4fdc4a)_0x32d60c[_0x431183(0x1e1)]=_0x4fdc4a;_0x3a7d78[_0x431183(0x5af)]=_0x2cbbc9;for(const _0x3e65ac in _0x32d60c)_0x3a7d78[_0x431183(0x26a)][_0x3e65ac]=_0x32d60c[_0x3e65ac];if(_0xd33946){for(const _0x232298 in _0xd33946)_0x3a7d78[_0x431183(0x63f)](_0x232298,_0xd33946[_0x232298]);}if(_0x31cf7d)_0x3a7d78[_0x431183(0x39a)]+=_0x31cf7d;_0x5d3546['appendChild'](_0x3a7d78);}});},_0x2be2a7=function _0x36f787(_0x48750f,_0x2cad03,_0x11a922,_0x10f677,_0x31124a){const _0x4bf6aa=_0x31d5d5;if(_0x48750f>=_0x1873d8||_0x2cad03>=_0x219024||_0x48750f<0x0||_0x2cad03<0x0)return;_0x1276c1[_0x48750f][_0x2cad03]=![];if(_0x11a922)_0x8c48e9[0x0][_0x4bf6aa(0x3ef)]('2d')[_0x4bf6aa(0x55b)](_0x48750f*_0x4e8ac9,_0x2cad03*_0x4e8ac9,_0x59df01,_0x59df01);if(_0x47e748)_0xd90d24[_0x48750f][_0x2cad03]={'item':_0x31124a,'dimension':_0x10f677};},_0x4ea694=function _0x555dba(_0x79a8b9,_0x6ac00d,_0x4d0076,_0xce89c,_0x4cec9b,_0x2122c9){const _0x19fbcb=_0x31d5d5,_0x1fdfcd=_0x4cec9b['occupied'],_0x52ccce=_0x56fd78[_0x19fbcb(0x32f)];let _0x23327c;_0x52ccce&&(_0x23327c=_0x8c48e9[0x0][_0x19fbcb(0x3ef)]('2d'),_0x23327c[_0x19fbcb(0x4d6)](),_0x23327c[_0x19fbcb(0x29b)]=_0x56fd78[_0x19fbcb(0x51d)]);let _0x3943b7;if(_0x47e748){const _0x52bae3=_0x4cec9b[_0x19fbcb(0x48d)];_0x3943b7={'x':(_0x79a8b9+_0x52bae3[0x3])*_0x4e8ac9,'y':(_0x6ac00d+_0x52bae3[0x0])*_0x4e8ac9,'w':(_0x52bae3[0x1]-_0x52bae3[0x3]+0x1)*_0x4e8ac9,'h':(_0x52bae3[0x2]-_0x52bae3[0x0]+0x1)*_0x4e8ac9};}let _0x2d5809=_0x1fdfcd[_0x19fbcb(0x3db)];while(_0x2d5809--){const _0x3567ba=_0x79a8b9+_0x1fdfcd[_0x2d5809][0x0],_0x3d3277=_0x6ac00d+_0x1fdfcd[_0x2d5809][0x1];if(_0x3567ba>=_0x1873d8||_0x3d3277>=_0x219024||_0x3567ba<0x0||_0x3d3277<0x0)continue;_0x2be2a7(_0x3567ba,_0x3d3277,_0x52ccce,_0x3943b7,_0x2122c9);}if(_0x52ccce)_0x23327c['restore']();},_0x570527=function _0x244e24(_0x17c0f1,_0x37c0bb){const _0x39def3=_0x31d5d5;if(_0x37c0bb>0x14)return null;let _0x21e103,_0x393e01,_0xf329dc;Array[_0x39def3(0x204)](_0x17c0f1)?(_0x21e103=_0x17c0f1[0x0],_0x393e01=_0x17c0f1[0x1]):(_0x21e103=_0x17c0f1[_0x39def3(0x2a0)],_0x393e01=_0x17c0f1['weight'],_0xf329dc=_0x17c0f1[_0x39def3(0x630)]);const _0x4618a8=_0x554a74(),_0x1ed948=getItemExtraData(_0x17c0f1),_0x4475d4=_0x5ced42(_0x21e103,_0x393e01,_0x4618a8,_0x1ed948);if(!_0x4475d4)return![];if(_0x5cd569())return![];if(!_0x56fd78['drawOutOfBound']&&!_0x56fd78[_0x39def3(0x1b0)]){const _0x2141d7=_0x4475d4[_0x39def3(0x48d)];if(_0x2141d7[0x1]-_0x2141d7[0x3]+0x1>_0x1873d8||_0x2141d7[0x2]-_0x2141d7[0x0]+0x1>_0x219024)return![];}let _0x489181=_0xbe67c0+0x1;const _0x1aef04=function(_0x3cb416){const _0x45315a=_0x39def3,_0x42f493=Math[_0x45315a(0x4d0)](_0x3cb416[0x0]-_0x4475d4['gw']/0x2),_0x267934=Math['floor'](_0x3cb416[0x1]-_0x4475d4['gh']/0x2),_0x251e85=_0x4475d4['gw'],_0xebacaa=_0x4475d4['gh'];if(!_0x2aebc2(_0x42f493,_0x267934,_0x251e85,_0xebacaa,_0x4475d4['occupied']))return![];return _0xcc53e(_0x42f493,_0x267934,_0x4475d4,_0x21e103,_0x393e01,_0xbe67c0-_0x489181,_0x3cb416[0x2],_0x4618a8,_0xf329dc,_0x1ed948),_0x4ea694(_0x42f493,_0x267934,_0x251e85,_0xebacaa,_0x4475d4,_0x17c0f1),{'gx':_0x42f493,'gy':_0x267934,'rot':_0x4618a8,'info':_0x4475d4};};while(_0x489181--){let _0x3cb62e=_0x381a35(_0xbe67c0-_0x489181);_0x56fd78[_0x39def3(0x1fe)]&&(_0x3cb62e=[]['concat'](_0x3cb62e),shuffleArray(_0x3cb62e));for(let _0x3416a8=0x0;_0x3416a8<_0x3cb62e[_0x39def3(0x3db)];_0x3416a8++){const _0x5b3d25=_0x1aef04(_0x3cb62e[_0x3416a8]);if(_0x5b3d25)return _0x5b3d25;}}if(_0x56fd78[_0x39def3(0x1b0)]){if(Array[_0x39def3(0x204)](_0x17c0f1))_0x17c0f1[0x1]=_0x17c0f1[0x1]*0x3/0x4;else _0x17c0f1[_0x39def3(0x3d3)]=_0x17c0f1[_0x39def3(0x3d3)]*0x3/0x4;return _0x244e24(_0x17c0f1,_0x37c0bb+0x1);}return null;},_0x3492aa=function _0x4abaae(_0x1412cc,_0x5d586e,_0x11ec7a){const _0x1cc359=_0x31d5d5;if(_0x5d586e)return!_0x8c48e9[_0x1cc359(0x2cd)](function(_0x4b642d){const _0x66f9d6=_0x1cc359,_0x7edd17=new CustomEvent(_0x1412cc,{'detail':_0x11ec7a||{}});return!_0x4b642d[_0x66f9d6(0x5ca)](_0x7edd17);},this);else _0x8c48e9[_0x1cc359(0x42f)](function(_0x2ee293){const _0x4aec5e=new CustomEvent(_0x1412cc,{'detail':_0x11ec7a||{}});_0x2ee293['dispatchEvent'](_0x4aec5e);},this);};(function _0x260aea(){const _0x28c8d=_0x31d5d5,_0x5baa49=_0x8c48e9[0x0];if(_0x5baa49[_0x28c8d(0x3ef)])_0x1873d8=Math[_0x28c8d(0x2cb)](_0x5baa49[_0x28c8d(0x292)]/_0x4e8ac9),_0x219024=Math[_0x28c8d(0x2cb)](_0x5baa49['height']/_0x4e8ac9);else{const _0x3b7617=_0x5baa49[_0x28c8d(0x28a)]();_0x1873d8=Math['ceil'](_0x3b7617[_0x28c8d(0x292)]/_0x4e8ac9),_0x219024=Math[_0x28c8d(0x2cb)](_0x3b7617[_0x28c8d(0x296)]/_0x4e8ac9);}if(!_0x3492aa(_0x28c8d(0x295),!![]))return;_0x4a04ab=_0x56fd78[_0x28c8d(0x62f)]?[_0x56fd78[_0x28c8d(0x62f)][0x0]/_0x4e8ac9,_0x56fd78[_0x28c8d(0x62f)][0x1]/_0x4e8ac9]:[_0x1873d8/0x2,_0x219024/0x2],_0xbe67c0=Math[_0x28c8d(0x4d0)](Math[_0x28c8d(0x199)](_0x1873d8*_0x1873d8+_0x219024*_0x219024)),_0x1276c1=[];let _0x49474c,_0x5c8e70,_0xda4668;if(!_0x5baa49[_0x28c8d(0x3ef)]||_0x56fd78[_0x28c8d(0x247)]){_0x8c48e9[_0x28c8d(0x42f)](function(_0x44459b){const _0xbc17ab=_0x28c8d;if(_0x44459b['getContext']){const _0x3e4447=_0x44459b['getContext']('2d');_0x3e4447['fillStyle']=_0x56fd78['backgroundColor'],_0x3e4447['clearRect'](0x0,0x0,_0x1873d8*(_0x4e8ac9+0x1),_0x219024*(_0x4e8ac9+0x1)),_0x3e4447[_0xbc17ab(0x55b)](0x0,0x0,_0x1873d8*(_0x4e8ac9+0x1),_0x219024*(_0x4e8ac9+0x1));}else _0x44459b[_0xbc17ab(0x5af)]='',_0x44459b[_0xbc17ab(0x26a)][_0xbc17ab(0x567)]=_0x56fd78[_0xbc17ab(0x567)],_0x44459b[_0xbc17ab(0x26a)][_0xbc17ab(0x453)]='relative';}),_0x49474c=_0x1873d8;while(_0x49474c--){_0x1276c1[_0x49474c]=[],_0x5c8e70=_0x219024;while(_0x5c8e70--)_0x1276c1[_0x49474c][_0x5c8e70]=!![];}}else{let _0xea51c8=document[_0x28c8d(0x356)](_0x28c8d(0x253))['getContext']('2d');_0xea51c8[_0x28c8d(0x29b)]=_0x56fd78[_0x28c8d(0x567)],_0xea51c8[_0x28c8d(0x55b)](0x0,0x0,0x1,0x1);let _0x396c2a=_0xea51c8['getImageData'](0x0,0x0,0x1,0x1)['data'],_0x4e4930=_0x5baa49[_0x28c8d(0x3ef)]('2d')[_0x28c8d(0x5df)](0x0,0x0,_0x1873d8*_0x4e8ac9,_0x219024*_0x4e8ac9)[_0x28c8d(0x273)];_0x49474c=_0x1873d8;let _0xbc3d25,_0x355e10;while(_0x49474c--){_0x1276c1[_0x49474c]=[],_0x5c8e70=_0x219024;while(_0x5c8e70--){_0x355e10=_0x4e8ac9;_0x42bb9d:while(_0x355e10--){_0xbc3d25=_0x4e8ac9;while(_0xbc3d25--){_0xda4668=0x4;while(_0xda4668--)if(_0x4e4930[((_0x5c8e70*_0x4e8ac9+_0x355e10)*_0x1873d8*_0x4e8ac9+(_0x49474c*_0x4e8ac9+_0xbc3d25))*0x4+_0xda4668]!==_0x396c2a[_0xda4668]){_0x1276c1[_0x49474c][_0x5c8e70]=![];break _0x42bb9d;}}}if(_0x1276c1[_0x49474c][_0x5c8e70]!==![])_0x1276c1[_0x49474c][_0x5c8e70]=!![];}}_0x4e4930=_0xea51c8=_0x396c2a=void 0x0;}if(_0x56fd78[_0x28c8d(0x244)]||_0x56fd78['click']){_0x47e748=!![],_0x49474c=_0x1873d8+0x1;while(_0x49474c--)_0xd90d24[_0x49474c]=[];if(_0x56fd78['hover'])_0x5baa49['addEventListener'](_0x28c8d(0x499),_0x459ffe);_0x56fd78[_0x28c8d(0x48b)]&&(_0x5baa49[_0x28c8d(0x2f2)](_0x28c8d(0x48b),_0xe4caa3),_0x5baa49[_0x28c8d(0x2f2)](_0x28c8d(0x627),_0xe4caa3),_0x5baa49[_0x28c8d(0x2f2)]('touchend',function(_0x1f0480){const _0x34dacd=_0x28c8d;_0x1f0480[_0x34dacd(0x294)]();}),_0x5baa49['style'][_0x28c8d(0x58c)]='rgba(0,\x200,\x200,\x200)'),_0x5baa49[_0x28c8d(0x2f2)](_0x28c8d(0x295),function _0x186066(){const _0x2e76f6=_0x28c8d;_0x5baa49[_0x2e76f6(0x213)](_0x2e76f6(0x295),_0x186066),_0x5baa49[_0x2e76f6(0x213)](_0x2e76f6(0x499),_0x459ffe),_0x5baa49[_0x2e76f6(0x213)](_0x2e76f6(0x48b),_0xe4caa3),_0x2c2ac6=void 0x0;});}_0xda4668=0x0;let _0xe4766d,_0x55c5cb,_0x45aaa7=!![];if(!_0x56fd78[_0x28c8d(0x564)])_0xe4766d=function(_0x379571){_0x379571();},_0x55c5cb=function(){_0x45aaa7=![];};else _0x56fd78[_0x28c8d(0x257)]!==0x0?(_0xe4766d=window['setTimeout'],_0x55c5cb=window[_0x28c8d(0x261)]):(_0xe4766d=window['setImmediate'],_0x55c5cb=window[_0x28c8d(0x349)]);const _0x460463=function _0x3233b5(_0x2896c8,_0x3b829a){const _0x4de09b=_0x28c8d;_0x8c48e9[_0x4de09b(0x42f)](function(_0x32dda4){const _0x238ebd=_0x4de09b;_0x32dda4[_0x238ebd(0x2f2)](_0x2896c8,_0x3b829a);},this);},_0x21766f=function _0x2f16ac(_0x1dd48b,_0x46f688){const _0x53a7ed=_0x28c8d;_0x8c48e9[_0x53a7ed(0x42f)](function(_0x55cfbe){const _0x3a80a4=_0x53a7ed;_0x55cfbe[_0x3a80a4(0x213)](_0x1dd48b,_0x46f688);},this);},_0x42ed09=function _0x5e96c8(){const _0x383923=_0x28c8d;_0x21766f(_0x383923(0x295),_0x5e96c8),_0x55c5cb(timer[_0x5735ed]);};_0x460463('wordcloudstart',_0x42ed09),timer[_0x5735ed]=(_0x56fd78['layoutAnimation']?_0xe4766d:setTimeout)(function _0x3f26ba(){const _0x14fd30=_0x28c8d;if(!_0x45aaa7)return;if(_0xda4668>=_0x56fd78[_0x14fd30(0x54b)][_0x14fd30(0x3db)]){_0x55c5cb(timer[_0x5735ed]),_0x3492aa(_0x14fd30(0x3ee),![]),_0x21766f(_0x14fd30(0x295),_0x42ed09),delete timer[_0x5735ed];return;}_0x51abda=new Date()[_0x14fd30(0x282)]();const _0x590a92=_0x570527(_0x56fd78[_0x14fd30(0x54b)][_0xda4668],0x0),_0x54f46c=!_0x3492aa('wordclouddrawn',!![],{'item':_0x56fd78[_0x14fd30(0x54b)][_0xda4668],'drawn':_0x590a92});if(_0x5cd569()||_0x54f46c){_0x55c5cb(timer[_0x5735ed]),_0x56fd78['abort'](),_0x3492aa('wordcloudabort',![]),_0x3492aa(_0x14fd30(0x3ee),![]),_0x21766f(_0x14fd30(0x295),_0x42ed09);return;}_0xda4668++,timer[_0x5735ed]=_0xe4766d(_0x3f26ba,_0x56fd78[_0x14fd30(0x257)]);},_0x56fd78[_0x28c8d(0x257)]);}());};WordCloud[_0x5db780(0x2ef)]=isSupported,WordCloud[_0x5db780(0x56d)]=minFontSize;function registerWordCloud(_0x5abb3c){const _0xdcc0d2=_0x5db780;if(!WordCloud[_0xdcc0d2(0x2ef)])throw new Error(_0xdcc0d2(0x40c));function _0x868c37(_0x2e1bd1){const _0x2ff028=_0xdcc0d2,_0x4a27bf=_0x2e1bd1[_0x2ff028(0x3ef)]('2d'),_0x1839e3=_0x4a27bf[_0x2ff028(0x5df)](0x0,0x0,_0x2e1bd1[_0x2ff028(0x292)],_0x2e1bd1[_0x2ff028(0x296)]),_0x49dafe=_0x4a27bf['createImageData'](_0x1839e3);let _0x576013=0x0,_0x4b4bde=0x0;for(let _0x51073c=0x0;_0x51073c<_0x1839e3[_0x2ff028(0x273)][_0x2ff028(0x3db)];_0x51073c+=0x4)if(_0x1839e3[_0x2ff028(0x273)][_0x51073c+0x3]>0x80){const _0x5aae96=_0x1839e3[_0x2ff028(0x273)][_0x51073c]+_0x1839e3['data'][_0x51073c+0x1]+_0x1839e3[_0x2ff028(0x273)][_0x51073c+0x2];_0x576013+=_0x5aae96,++_0x4b4bde;}const _0x297170=_0x576013/_0x4b4bde;for(let _0x1bf874=0x0;_0x1bf874<_0x1839e3[_0x2ff028(0x273)][_0x2ff028(0x3db)];_0x1bf874+=0x4){const _0x176e62=_0x1839e3['data'][_0x1bf874]+_0x1839e3[_0x2ff028(0x273)][_0x1bf874+0x1]+_0x1839e3[_0x2ff028(0x273)][_0x1bf874+0x2];_0x1839e3[_0x2ff028(0x273)][_0x1bf874+0x3]<0x80||_0x176e62>_0x297170?(_0x49dafe['data'][_0x1bf874]=0x0,_0x49dafe[_0x2ff028(0x273)][_0x1bf874+0x1]=0x0,_0x49dafe['data'][_0x1bf874+0x2]=0x0,_0x49dafe[_0x2ff028(0x273)][_0x1bf874+0x3]=0x0):(_0x49dafe[_0x2ff028(0x273)][_0x1bf874]=0xff,_0x49dafe[_0x2ff028(0x273)][_0x1bf874+0x1]=0xff,_0x49dafe[_0x2ff028(0x273)][_0x1bf874+0x2]=0xff,_0x49dafe[_0x2ff028(0x273)][_0x1bf874+0x3]=0xff);}_0x4a27bf['putImageData'](_0x49dafe,0x0,0x0);}_0x5abb3c[_0xdcc0d2(0x490)](function(_0x292905,_0x21bba3){const _0x17284d=_0xdcc0d2;_0x292905[_0x17284d(0x345)]('wordCloud',function(_0x2cab11){const _0x249f59=_0x17284d,_0x43a1a9=_0x5abb3c[_0x249f59(0x470)][_0x249f59(0x616)](_0x2cab11[_0x249f59(0x207)](),{'width':_0x21bba3[_0x249f59(0x21d)](),'height':_0x21bba3['getHeight']()}),_0x89f50b=_0x2cab11['get'](_0x249f59(0x5e1)),_0x1aecf1=_0x2cab11[_0x249f59(0x49e)](_0x249f59(0x53b)),_0x245a0c=_0x1aecf1?_0x1aecf1[_0x249f59(0x292)]/_0x1aecf1[_0x249f59(0x296)]:0x1;_0x89f50b&&_0x394060(_0x43a1a9,_0x245a0c);const _0x2971d9=_0x2cab11[_0x249f59(0x2d3)](),_0x51e88d=document['createElement']('canvas');_0x51e88d[_0x249f59(0x292)]=_0x43a1a9[_0x249f59(0x292)],_0x51e88d[_0x249f59(0x296)]=_0x43a1a9[_0x249f59(0x296)];const _0x501260=_0x51e88d[_0x249f59(0x3ef)]('2d');if(_0x1aecf1&&_0x501260)try{_0x501260[_0x249f59(0x57a)](_0x1aecf1,0x0,0x0,_0x51e88d['width'],_0x51e88d[_0x249f59(0x296)]),_0x868c37(_0x51e88d);}catch(_0x3b50d8){console[_0x249f59(0x40e)]('Invalid\x20mask\x20image'),console[_0x249f59(0x40e)](_0x3b50d8['toString']());}const _0x509372=_0x2cab11[_0x249f59(0x49e)]('sizeRange'),_0x373509=_0x2cab11[_0x249f59(0x49e)](_0x249f59(0x208)),_0x178ced=_0x2971d9['getDataExtent']('value'),_0x58e0ab=Math['PI']/0xb4,_0x1d50ed=_0x2cab11['get'](_0x249f59(0x19f));WordCloud(_0x51e88d,{'list':_0x2971d9['mapArray'](_0x249f59(0x1f4),function(_0x473ec4,_0x5b3438){const _0x57b804=_0x249f59,_0x9fc6dd=_0x2971d9[_0x57b804(0x2d6)](_0x5b3438);return[_0x2971d9[_0x57b804(0x3a4)](_0x5b3438),_0x9fc6dd[_0x57b804(0x49e)](_0x57b804(0x5b9),!![])||_0x5abb3c[_0x57b804(0x467)][_0x57b804(0x201)](_0x473ec4,_0x178ced,_0x509372),_0x5b3438];})[_0x249f59(0x419)](function(_0x4912d2,_0x409fb9){return _0x409fb9[0x1]-_0x4912d2[0x1];}),'fontFamily':_0x2cab11[_0x249f59(0x49e)]('textStyle.fontFamily')||_0x2cab11[_0x249f59(0x49e)](_0x249f59(0x29d))||_0x292905[_0x249f59(0x49e)]('textStyle.fontFamily'),'fontWeight':_0x2cab11['get']('textStyle.fontWeight')||_0x2cab11[_0x249f59(0x49e)]('emphasis.textStyle.fontWeight')||_0x292905['get'](_0x249f59(0x50c)),'gridSize':_0x1d50ed,'ellipticity':_0x43a1a9[_0x249f59(0x296)]/_0x43a1a9[_0x249f59(0x292)],'minRotation':_0x373509[0x0]*_0x58e0ab,'maxRotation':_0x373509[0x1]*_0x58e0ab,'clearCanvas':!_0x1aecf1,'rotateRatio':0x1,'rotationStep':_0x2cab11[_0x249f59(0x49e)]('rotationStep')*_0x58e0ab,'drawOutOfBound':_0x2cab11['get']('drawOutOfBound'),'shrinkToFit':_0x2cab11['get'](_0x249f59(0x1b0)),'layoutAnimation':_0x2cab11[_0x249f59(0x49e)](_0x249f59(0x564)),'shuffle':![],'shape':_0x2cab11[_0x249f59(0x49e)](_0x249f59(0x476))});function _0x3f4ff9(_0x187c32){const _0x60666=_0x249f59,_0x55f61d=_0x187c32[_0x60666(0x353)][_0x60666(0x3fa)];_0x187c32[_0x60666(0x353)][_0x60666(0x4c5)]&&_0x2cab11[_0x60666(0x5c1)]['ondraw']&&(_0x187c32['detail'][_0x60666(0x4c5)]['gx']+=_0x43a1a9['x']/_0x1d50ed,_0x187c32[_0x60666(0x353)][_0x60666(0x4c5)]['gy']+=_0x43a1a9['y']/_0x1d50ed,_0x2cab11[_0x60666(0x5c1)][_0x60666(0x267)](_0x55f61d[0x0],_0x55f61d[0x1],_0x55f61d[0x2],_0x187c32[_0x60666(0x353)][_0x60666(0x4c5)]));}_0x51e88d[_0x249f59(0x2f2)](_0x249f59(0x259),_0x3f4ff9);if(_0x2cab11[_0x249f59(0x5c1)])_0x2cab11['layoutInstance'][_0x249f59(0x38b)]();_0x2cab11[_0x249f59(0x5c1)]={'ondraw':null,'dispose'(){const _0x1ba161=_0x249f59;_0x51e88d[_0x1ba161(0x213)]('wordclouddrawn',_0x3f4ff9),_0x51e88d[_0x1ba161(0x2f2)](_0x1ba161(0x259),function(_0x3df092){const _0x70a429=_0x1ba161;_0x3df092[_0x70a429(0x294)]();});}};});}),_0x5abb3c[_0xdcc0d2(0x406)](function(_0x4e3c42){const _0xc50cb2=_0xdcc0d2;let _0x2a3346=(_0x4e3c42||{})[_0xc50cb2(0x511)];!_0x5abb3c[_0xc50cb2(0x218)][_0xc50cb2(0x204)](_0x2a3346)&&(_0x2a3346=_0x2a3346?[_0x2a3346]:[]);const _0x25457e=[_0xc50cb2(0x31d),'shadowBlur',_0xc50cb2(0x202),'shadowOffsetY'];_0x5abb3c['util']['each'](_0x2a3346,function(_0x5586ea){const _0x5260a4=_0xc50cb2;if(_0x5586ea&&_0x5586ea['type']===_0x5260a4(0x351)){const _0x3463d6=_0x5586ea['textStyle']||{};_0x4cc8a4(_0x3463d6['normal']),_0x4cc8a4(_0x3463d6[_0x5260a4(0x385)]);}});function _0x4cc8a4(_0x2b5f8f){const _0xf79b46=_0xc50cb2;_0x2b5f8f&&_0x5abb3c[_0xf79b46(0x218)]['each'](_0x25457e,function(_0x38f2b6){const _0x417321=_0xf79b46;if(Object['prototype'][_0x417321(0x340)][_0x417321(0x58a)](_0x2b5f8f,_0x38f2b6))_0x2b5f8f['text'+_0x5abb3c[_0x417321(0x1cf)][_0x417321(0x4fc)](_0x38f2b6)]=_0x2b5f8f[_0x38f2b6];});}});function _0x394060(_0x1c451c,_0x38ce81){const _0x4aef9d=_0xdcc0d2,_0x319dcb=_0x1c451c[_0x4aef9d(0x292)],_0x2016a4=_0x1c451c[_0x4aef9d(0x296)];_0x319dcb>_0x2016a4*_0x38ce81?(_0x1c451c['x']+=(_0x319dcb-_0x2016a4*_0x38ce81)/0x2,_0x1c451c[_0x4aef9d(0x292)]=_0x2016a4*_0x38ce81):(_0x1c451c['y']+=(_0x2016a4-_0x319dcb/_0x38ce81)/0x2,_0x1c451c[_0x4aef9d(0x296)]=_0x319dcb/_0x38ce81);}_0x5abb3c[_0xdcc0d2(0x645)]({'type':'series.wordCloud','visualStyleAccessPath':_0xdcc0d2(0x448),'visualStyleMapper'(_0x1b2811){const _0x158593=_0xdcc0d2;return{'fill':_0x1b2811['get'](_0x158593(0x1e1))};},'visualDrawType':_0xdcc0d2(0x359),'optionUpdated'(){const _0x4d5e44=_0xdcc0d2,_0x1b424a=this['option'];_0x1b424a[_0x4d5e44(0x19f)]=Math[_0x4d5e44(0x1e5)](Math['floor'](_0x1b424a[_0x4d5e44(0x19f)]),0x4);},'getInitialData'(_0xda705e){const _0x1859be=_0xdcc0d2,_0x1bd3b2=_0x5abb3c[_0x1859be(0x470)][_0x1859be(0x3ab)](_0xda705e[_0x1859be(0x273)],{'coordDimensions':[_0x1859be(0x1f4)]}),_0x493d5d=new _0x5abb3c[(_0x1859be(0x38a))](_0x1bd3b2,this);return _0x493d5d[_0x1859be(0x5e7)](_0xda705e['data']),_0x493d5d;},'defaultOption':{'maskImage':null,'shape':_0xdcc0d2(0x5e6),'keepAspect':![],'left':'center','top':_0xdcc0d2(0x4d7),'width':_0xdcc0d2(0x3eb),'height':_0xdcc0d2(0x608),'sizeRange':[0xc,0x3c],'rotationRange':[-0x5a,0x5a],'rotationStep':0x2d,'gridSize':0x8,'drawOutOfBound':![],'shrinkToFit':![],'textStyle':{'fontWeight':'normal'}}}),_0x5abb3c['extendChartView']({'type':_0xdcc0d2(0x351),'render'(_0x39c422){const _0x3da856=_0xdcc0d2,_0x56e8e2=this['group'];_0x56e8e2[_0x3da856(0x2f6)]();const _0x3ed032=_0x39c422['getData'](),_0x5f6bba=_0x39c422[_0x3da856(0x49e)](_0x3da856(0x19f));_0x39c422[_0x3da856(0x5c1)][_0x3da856(0x267)]=function(_0x2648a1,_0x35aafe,_0x26a350,_0x4ef087){const _0x41703e=_0x3da856,_0x2d1640=_0x3ed032['getItemModel'](_0x26a350),_0xa86202=_0x2d1640['getModel']('textStyle'),_0x5a3336=new _0x5abb3c['graphic'][(_0x41703e(0x2f5))]({'style':_0x5abb3c[_0x41703e(0x470)][_0x41703e(0x411)](_0xa86202),'scaleX':0x1/_0x4ef087['info']['mu'],'scaleY':0x1/_0x4ef087[_0x41703e(0x2eb)]['mu'],'x':(_0x4ef087['gx']+_0x4ef087['info']['gw']/0x2)*_0x5f6bba,'y':(_0x4ef087['gy']+_0x4ef087[_0x41703e(0x2eb)]['gh']/0x2)*_0x5f6bba,'rotation':_0x4ef087['rot']});_0x5a3336[_0x41703e(0x19b)]({'x':_0x4ef087['info'][_0x41703e(0x46d)],'y':_0x4ef087[_0x41703e(0x2eb)][_0x41703e(0x613)]+_0x35aafe*0.5,'text':_0x2648a1,'verticalAlign':_0x41703e(0x3dd),'fill':_0x3ed032[_0x41703e(0x611)](_0x26a350,'style')[_0x41703e(0x359)],'fontSize':_0x35aafe}),_0x56e8e2[_0x41703e(0x5cc)](_0x5a3336),_0x3ed032[_0x41703e(0x283)](_0x26a350,_0x5a3336),_0x5a3336['ensureState'](_0x41703e(0x385))[_0x41703e(0x26a)]=_0x5abb3c[_0x41703e(0x470)]['createTextStyle'](_0x2d1640['getModel'](['emphasis','textStyle']),{'state':_0x41703e(0x385)}),_0x5a3336[_0x41703e(0x3a9)]('blur')[_0x41703e(0x26a)]=_0x5abb3c[_0x41703e(0x470)]['createTextStyle'](_0x2d1640['getModel'](['blur',_0x41703e(0x448)]),{'state':_0x41703e(0x287)}),_0x5abb3c[_0x41703e(0x470)][_0x41703e(0x217)](_0x5a3336,_0x2d1640['get']([_0x41703e(0x385),_0x41703e(0x381)]),_0x2d1640[_0x41703e(0x49e)](['emphasis',_0x41703e(0x1db)])),_0x5a3336[_0x41703e(0x230)]={'duration':_0x39c422[_0x41703e(0x49e)](_0x41703e(0x513))?_0x39c422[_0x41703e(0x49e)]([_0x41703e(0x2e2),'duration']):0x0,'easing':_0x39c422[_0x41703e(0x49e)]([_0x41703e(0x2e2),_0x41703e(0x1a9)])},_0x5a3336[_0x41703e(0x280)]=!![];},this[_0x3da856(0x5d7)]=_0x39c422;},'remove'(){const _0x3a560e=_0xdcc0d2;this[_0x3a560e(0x43a)]['removeAll'](),this[_0x3a560e(0x5d7)]['layoutInstance'][_0x3a560e(0x38b)]();},'dispose'(){const _0x1bd429=_0xdcc0d2;this[_0x1bd429(0x5d7)][_0x1bd429(0x5c1)][_0x1bd429(0x38b)]();}});}function _0x3299(_0xa0e4f3,_0x27a0a8){_0xa0e4f3=_0xa0e4f3-0x194;const _0x3cbbca=_0x3cbb();let _0x329973=_0x3cbbca[_0xa0e4f3];return _0x329973;}let UniverSheetsChartUIPlugin=class UniverSheetsChartUIPlugin extends _univerjs_core['Plugin']{constructor(_0x2d1437,_0x1c5c64,_0x3bf4cc){const _0x31c6b0=_0x5db780;super(),this['_config']=_0x2d1437,this[_0x31c6b0(0x4bd)]=_0x1c5c64,this[_0x31c6b0(0x37c)]=_0x3bf4cc,this[_0x31c6b0(0x47b)](),registerWordCloud(_univerjs_pro_engine_chart[_0x31c6b0(0x502)]);}[_0x5db780(0x534)](){const _0x275c5d=_0x5db780,_0x1ced2c=this[_0x275c5d(0x4bd)];[[SheetsChartUIService],[IChartHostProviderService,{'useClass':SheetsChartHostProviderService}],[ChartRenderService],[SheetsChartUIController],[ChartHostProviderController],[ChartRenderController],[SheetsChartClipboardController],[ChartSheetChangeController],[SheetsChartUIPermissionController]][_0x275c5d(0x42f)](_0x2b42f2=>_0x1ced2c[_0x275c5d(0x5cc)](_0x2b42f2)),(0x0,_univerjs_core[_0x275c5d(0x4bc)])(this[_0x275c5d(0x4bd)],[[SheetsChartUIController],[ChartRenderController],[ChartHostProviderController],[SheetsChartUIService],[SheetsChartClipboardController],[ChartSheetChangeController],[SheetsChartUIPermissionController]]);}[_0x5db780(0x5f3)](){const _0x507ef8=_0x5db780;var _0x2148b8;(_0x2148b8=this[_0x507ef8(0x4bd)][_0x507ef8(0x49e)](SheetsChartUIController))===null||_0x2148b8===void 0x0||_0x2148b8[_0x507ef8(0x23c)]();}['_initCommands'](){const _0x5c5178=_0x5db780;[MenuInsertChartCommand,ChartOpenPanelOperation,ChartHidePanelOperation][_0x5c5178(0x42f)](_0x2648bb=>this[_0x5c5178(0x618)](this[_0x5c5178(0x37c)][_0x5c5178(0x206)](_0x2648bb)));}};_defineProperty(UniverSheetsChartUIPlugin,_0x5db780(0x582),_univerjs_core[_0x5db780(0x5db)]['UNIVER_SHEET']),_defineProperty(UniverSheetsChartUIPlugin,_0x5db780(0x20c),_0x5db780(0x4c2)),_defineProperty(UniverSheetsChartUIPlugin,_0x5db780(0x1ff),name),_defineProperty(UniverSheetsChartUIPlugin,'version',version),UniverSheetsChartUIPlugin=__decorate([(0x0,_univerjs_core[_0x5db780(0x44b)])(_univerjs_sheets_drawing_ui['UniverSheetsDrawingUIPlugin'],_univerjs_pro_sheets_chart[_0x5db780(0x1d7)]),__decorateParam(0x1,(0x0,_univerjs_core[_0x5db780(0x297)])(_univerjs_core[_0x5db780(0x29c)])),__decorateParam(0x2,_univerjs_core['ICommandService'])],UniverSheetsChartUIPlugin),Object[_0x5db780(0x322)](exports,_0x5db780(0x4ee),{'enumerable':!![],'get':function(){return SheetsChartUIController;}}),Object[_0x5db780(0x322)](exports,_0x5db780(0x4f7),{'enumerable':!![],'get':function(){return SheetsChartUIService;}}),Object[_0x5db780(0x322)](exports,'UniverSheetsChartUIPlugin',{'enumerable':!![],'get':function(){return UniverSheetsChartUIPlugin;}}),exports[_0x5db780(0x474)]=registerWordCloud;
|
|
1
|
+
const _0x94e517=_0x1088;(function(_0x181670,_0x4782c2){const _0xe9859=_0x1088,_0x134f21=_0x181670();while(!![]){try{const _0x52c980=parseInt(_0xe9859(0x494))/0x1*(parseInt(_0xe9859(0x175))/0x2)+parseInt(_0xe9859(0x289))/0x3+parseInt(_0xe9859(0x2ce))/0x4+parseInt(_0xe9859(0x44e))/0x5*(-parseInt(_0xe9859(0x4f2))/0x6)+-parseInt(_0xe9859(0x37c))/0x7+-parseInt(_0xe9859(0x48e))/0x8+-parseInt(_0xe9859(0x2ae))/0x9*(-parseInt(_0xe9859(0x1ca))/0xa);if(_0x52c980===_0x4782c2)break;else _0x134f21['push'](_0x134f21['shift']());}catch(_0x28e731){_0x134f21['push'](_0x134f21['shift']());}}}(_0xe66a,0x7090a),Object[_0x94e517(0x28d)](exports,Symbol[_0x94e517(0x471)],{'value':_0x94e517(0x341)}));function _0x1088(_0x33bf94,_0x904e1c){_0x33bf94=_0x33bf94-0x13f;const _0xe66a4c=_0xe66a();let _0x10880d=_0xe66a4c[_0x33bf94];return _0x10880d;}let _univerjs_pro_sheets_chart=require('@univerjs-pro/sheets-chart'),_univerjs_core=require('@univerjs/core'),_univerjs_drawing=require('@univerjs/drawing'),_univerjs_icons=require('@univerjs/icons'),_univerjs_sheets_drawing=require('@univerjs/sheets-drawing'),_univerjs_sheets_ui=require('@univerjs/sheets-ui'),_univerjs_ui=require('@univerjs/ui'),_univerjs_pro_engine_chart=require('@univerjs-pro/engine-chart'),rxjs=require('rxjs'),_univerjs_engine_render=require('@univerjs/engine-render'),_univerjs_sheets_drawing_ui=require('@univerjs/sheets-drawing-ui'),_univerjs_design=require('@univerjs/design'),react=require('react'),_univerjs_engine_formula=require('@univerjs/engine-formula'),_univerjs_sheets_formula_ui=require('@univerjs/sheets-formula-ui'),react_jsx_runtime=require('react/jsx-runtime'),_univerjs_sheets=require('@univerjs/sheets');const ChartHidePanelOperation={'type':_univerjs_core[_0x94e517(0x41e)]['OPERATION'],'id':_0x94e517(0x4d4),'handler'(){return!![];}},ChartOpenPanelOperation={'type':_univerjs_core[_0x94e517(0x41e)]['OPERATION'],'id':_0x94e517(0x1fc),'handler'(){return!![];}};function _typeof(_0x285d23){'@babel/helpers - typeof';const _0x22083f=_0x94e517;return _typeof=_0x22083f(0x15f)==typeof Symbol&&_0x22083f(0x53b)==typeof Symbol[_0x22083f(0x4b7)]?function(_0x4e563a){return typeof _0x4e563a;}:function(_0x36e377){const _0x19b476=_0x22083f;return _0x36e377&&'function'==typeof Symbol&&_0x36e377[_0x19b476(0x514)]===Symbol&&_0x36e377!==Symbol[_0x19b476(0x2fc)]?_0x19b476(0x53b):typeof _0x36e377;},_typeof(_0x285d23);}function toPrimitive(_0x337e6a,_0x358b34){const _0x47b380=_0x94e517;if(_0x47b380(0x599)!=_typeof(_0x337e6a)||!_0x337e6a)return _0x337e6a;var _0x8e48bc=_0x337e6a[Symbol[_0x47b380(0x2d0)]];if(void 0x0!==_0x8e48bc){var _0x230995=_0x8e48bc[_0x47b380(0x5e1)](_0x337e6a,_0x358b34||_0x47b380(0x3c1));if(_0x47b380(0x599)!=_typeof(_0x230995))return _0x230995;throw new TypeError(_0x47b380(0x186));}return(_0x47b380(0x25f)===_0x358b34?String:Number)(_0x337e6a);}function toPropertyKey(_0x1f48a6){const _0x1f377f=_0x94e517;var _0x18a75c=toPrimitive(_0x1f48a6,_0x1f377f(0x25f));return _0x1f377f(0x53b)==_typeof(_0x18a75c)?_0x18a75c:_0x18a75c+'';}function _defineProperty(_0x3175d4,_0xbfe572,_0x4ee8cd){const _0x488a63=_0x94e517;return(_0xbfe572=toPropertyKey(_0xbfe572))in _0x3175d4?Object[_0x488a63(0x28d)](_0x3175d4,_0xbfe572,{'value':_0x4ee8cd,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x3175d4[_0xbfe572]=_0x4ee8cd,_0x3175d4;}function __decorateParam(_0x48f3b7,_0x325ac2){return function(_0x29793a,_0x4fe743){_0x325ac2(_0x29793a,_0x4fe743,_0x48f3b7);};}function __decorate(_0x44db6a,_0x286393,_0x43d3b2,_0x205d1d){const _0xfa8f3c=_0x94e517;var _0x32c912=arguments[_0xfa8f3c(0x22b)],_0x31c374=_0x32c912<0x3?_0x286393:_0x205d1d===null?_0x205d1d=Object[_0xfa8f3c(0x573)](_0x286393,_0x43d3b2):_0x205d1d,_0x9186fd;if(typeof Reflect==='object'&&typeof Reflect['decorate']===_0xfa8f3c(0x15f))_0x31c374=Reflect[_0xfa8f3c(0x31d)](_0x44db6a,_0x286393,_0x43d3b2,_0x205d1d);else{for(var _0x13dd3e=_0x44db6a['length']-0x1;_0x13dd3e>=0x0;_0x13dd3e--)if(_0x9186fd=_0x44db6a[_0x13dd3e])_0x31c374=(_0x32c912<0x3?_0x9186fd(_0x31c374):_0x32c912>0x3?_0x9186fd(_0x286393,_0x43d3b2,_0x31c374):_0x9186fd(_0x286393,_0x43d3b2))||_0x31c374;}return _0x32c912>0x3&&_0x31c374&&Object[_0xfa8f3c(0x28d)](_0x286393,_0x43d3b2,_0x31c374),_0x31c374;}function waitElement(_0x5cf1b2){return new Promise(_0x2f9aa2=>{const _0x4c0587=_0x1088,_0x395ef4=setInterval(()=>{const _0x145cff=_0x1088,_0x42bee3=document[_0x145cff(0x4bf)](_0x5cf1b2);_0x42bee3&&(clearInterval(_0x395ef4),_0x2f9aa2(_0x42bee3));},0x3e8/0x3c),_0x84bbdc=document[_0x4c0587(0x4bf)](_0x5cf1b2);_0x84bbdc&&(clearInterval(_0x395ef4),_0x2f9aa2(_0x84bbdc));});}function createHostElement(_0x4f54e8,_0x4e057f){const _0x54522d=_0x94e517,_0x421a77=document[_0x54522d(0x284)]('div');return _0x421a77[_0x54522d(0x4cb)][_0x54522d(0x143)]=_0x4f54e8-0x10+'px',_0x421a77[_0x54522d(0x4cb)][_0x54522d(0x37a)]=_0x4e057f-0x10+'px',_0x421a77[_0x54522d(0x4cb)][_0x54522d(0x32e)]='1px\x20solid\x20transparent',_0x421a77[_0x54522d(0x4cb)][_0x54522d(0x505)]=_0x54522d(0x4de),_0x421a77[_0x54522d(0x4cb)][_0x54522d(0x45c)]=_0x54522d(0x392),_0x421a77[_0x54522d(0x4cb)][_0x54522d(0x399)]=_0x54522d(0x392),_0x421a77['style'][_0x54522d(0x3c7)]=_0x54522d(0x3d9),_0x421a77[_0x54522d(0x1d3)]='chart-host',_0x421a77;}let SheetsChartHostProviderService=class SheetsChartHostProviderService extends _univerjs_core[_0x94e517(0x188)]{constructor(_0x24f8ba,_0xf896e7){const _0x14e7f0=_0x94e517;super(),this['_sheetCanvasFloatDomManagerService']=_0x24f8ba,this[_0x14e7f0(0x552)]=_0xf896e7,_defineProperty(this,_0x14e7f0(0x271),new Map()),_defineProperty(this,_0x14e7f0(0x1d4),new rxjs[(_0x14e7f0(0x42a))]()),_defineProperty(this,_0x14e7f0(0x183),this[_0x14e7f0(0x1d4)]['asObservable']());}[_0x94e517(0x5a8)](_0x162875){const _0x4154e8=_0x94e517;if(_0x162875==null)return;const _0x196e83=this['_renderManagerService'][_0x4154e8(0x164)](_0x162875),_0x61c9e5=_0x196e83===null||_0x196e83===void 0x0?void 0x0:_0x196e83[_0x4154e8(0x286)];if(_0x196e83==null||_0x61c9e5==null)return null;return{'scene':_0x61c9e5,'transformer':_0x61c9e5['getTransformerByCreate'](),'renderUnit':_0x196e83,'canvas':_0x196e83['engine']['getCanvasElement']()};}[_0x94e517(0x29f)](_0x7dfbed,_0x32f7cb){const _0x5e90dc=_0x94e517,_0x4d1b6a=this[_0x5e90dc(0x4d8)],_0x3b04f7=_0x32f7cb||_0x5e90dc(0x53d),_0x11e407=_0x4d1b6a['getFloatDomInfo'](_0x7dfbed);if(_0x11e407){const {unitId:_0x48fd72,subUnitId:_0x3c5da5}=_0x11e407;_0x4d1b6a[_0x5e90dc(0x465)](_0x48fd72,_0x3c5da5,_0x7dfbed,{'stroke':_0x3b04f7});}}['setHostStyle'](_0x36a677,_0x27b967){const _0x58b8f2=_0x94e517,_0x5a4877=this[_0x58b8f2(0x4d8)],_0x35b411=_0x5a4877[_0x58b8f2(0x3e2)](_0x36a677);if(_0x35b411){const {unitId:_0x4f94ae,subUnitId:_0x5db4e4}=_0x35b411;_0x5a4877[_0x58b8f2(0x465)](_0x4f94ae,_0x5db4e4,_0x36a677,_0x27b967);}}['getHostSize'](_0x37f283){const _0x5ddc00=_0x94e517,_0x11912f=this['_sheetCanvasFloatDomManagerService'][_0x5ddc00(0x3e2)](_0x37f283);if(_0x11912f)return _0x11912f['rect'];return null;}[_0x94e517(0x1c5)](_0x31e9b6){const _0x5dc8f7=_0x94e517,_0x591e6b=this[_0x5dc8f7(0x4d8)][_0x5dc8f7(0x3e2)](_0x31e9b6);if(_0x591e6b){var _0x1c3045;const _0x392b5a=(_0x1c3045=_0x591e6b[_0x5dc8f7(0x353)])!==null&&_0x1c3045!==void 0x0?_0x1c3045:_0x31e9b6,_0x1a8432=document[_0x5dc8f7(0x4bf)](_0x392b5a);if(_0x1a8432&&_0x1a8432[_0x5dc8f7(0x294)]['length']>0x0)return!![];}return![];}async[_0x94e517(0x517)](_0x555012){const _0x22313f=_0x94e517;var _0x2d2e49;const _0x7d5d17=this[_0x22313f(0x4d8)][_0x22313f(0x3e2)](_0x555012),_0x19ed24=(_0x2d2e49=_0x7d5d17===null||_0x7d5d17===void 0x0?void 0x0:_0x7d5d17[_0x22313f(0x353)])!==null&&_0x2d2e49!==void 0x0?_0x2d2e49:_0x555012,_0x3ab681=document[_0x22313f(0x4bf)](_0x19ed24);if(this['_mountNodes'][_0x22313f(0x416)](_0x555012)&&_0x3ab681&&_0x3ab681[_0x22313f(0x294)][_0x22313f(0x22b)]>0x0)return{'mountNode':this['_mountNodes'][_0x22313f(0x40a)](_0x555012),'dispose':()=>{const _0x299883=_0x22313f;this[_0x299883(0x271)][_0x299883(0x51f)](_0x555012),_0x7d5d17===null||_0x7d5d17===void 0x0||_0x7d5d17[_0x299883(0x25d)][_0x299883(0x25d)]();}};return this[_0x22313f(0x5d6)](_0x555012);}async[_0x94e517(0x5d6)](_0x56be61){const _0x3c7e71=_0x94e517,_0x522143=this[_0x3c7e71(0x4d8)]['getFloatDomInfo'](_0x56be61);if(!_0x522143){this[_0x3c7e71(0x271)][_0x3c7e71(0x51f)](_0x56be61);throw new Error(_0x3c7e71(0x21e));}else{var _0xb9ef5c;const {rect:_0x360a66}=_0x522143,_0x2910b8=_0x360a66[_0x3c7e71(0x143)],_0x377c23=_0x360a66[_0x3c7e71(0x37a)],_0x33351a=this['_getSceneAndTransformerByDrawingSearch'](_0x522143[_0x3c7e71(0x51e)]);let _0x3449ec=0x1,_0x9202f5=0x1;if(_0x33351a){const {scene:_0x35732b}=_0x33351a;_0x35732b&&(_0x3449ec=_0x35732b[_0x3c7e71(0x52b)],_0x9202f5=_0x35732b[_0x3c7e71(0x371)]);}const _0xfbfa43=createHostElement(_0x2910b8*_0x3449ec,_0x377c23*_0x9202f5);return(await waitElement((_0xb9ef5c=_0x522143[_0x3c7e71(0x353)])!==null&&_0xb9ef5c!==void 0x0?_0xb9ef5c:_0x56be61))[_0x3c7e71(0x47a)](_0xfbfa43),this['_mountNodes'][_0x3c7e71(0x38b)](_0x56be61,_0xfbfa43),this[_0x3c7e71(0x5a6)](this[_0x3c7e71(0x4d8)][_0x3c7e71(0x5a4)][_0x3c7e71(0x20b)](_0x59e55b=>{const _0x59d08f=_0x3c7e71;if(_0x59e55b['id']===_0x56be61)this[_0x59d08f(0x1d4)][_0x59d08f(0x322)](_0x56be61);})),{'mountNode':_0xfbfa43,'dispose':()=>{const _0x2a9063=_0x3c7e71;this[_0x2a9063(0x271)][_0x2a9063(0x51f)](_0x56be61),_0x522143===null||_0x522143===void 0x0||_0x522143['dispose'][_0x2a9063(0x25d)]();}};}}};SheetsChartHostProviderService=__decorate([__decorateParam(0x0,(0x0,_univerjs_core[_0x94e517(0x362)])(_univerjs_sheets_drawing_ui[_0x94e517(0x53f)])),__decorateParam(0x1,(0x0,_univerjs_core[_0x94e517(0x362)])(_univerjs_engine_render[_0x94e517(0x428)]))],SheetsChartHostProviderService);const IChartHostProviderService=(0x0,_univerjs_core[_0x94e517(0x4c6)])(_0x94e517(0x267));function registryChartConfigState(_0x383ab8){const _0xe94cfe=_0x94e517;_0x383ab8[_0xe94cfe(0x443)](_0xe94cfe(0x3e4),_0x2bd43d=>_0x2bd43d[_0xe94cfe(0x1bb)][_0xe94cfe(0x3cc)]((0x0,rxjs[_0xe94cfe(0x1f1)])(_0x2ccf5c=>_0x2ccf5c[_0xe94cfe(0x3e4)]))),_0x383ab8[_0xe94cfe(0x443)](_0xe94cfe(0x35f),_0x78336=>({'set'(_0x538ed7){const _0x153266=_0xe94cfe,_0x4dbcb8={};if(_0x538ed7===_univerjs_pro_engine_chart[_0x153266(0x278)][_0x153266(0x4ea)])_0x4dbcb8[_0x153266(0x2cc)]={'doughnutHole':null};_0x383ab8['executeChartUpdateConfig']({'chartModelId':_0x78336['id'],'chartType':_0x538ed7,'style':_0x4dbcb8});},'get'(){const _0x4b5ad4=_0xe94cfe;return _0x78336[_0x4b5ad4(0x3ed)];}})),_0x383ab8[_0xe94cfe(0x443)](_0xe94cfe(0x3bc),_0x5c5374=>({'set'(_0x27e516){if(_0x27e516)_0x383ab8['executeChartUpdateSourceConfig']({'chartModelId':_0x5c5374['id'],'range':_0x27e516});},'get'(){const _0x441996=_0xe94cfe,_0x50d2b6=_0x383ab8[_0x441996(0x1d0)](_0x5c5374['id']);if(!_0x50d2b6)return;return _0x50d2b6['rangeInfo$'];}})),_0x383ab8[_0xe94cfe(0x443)]('categoryIndex',_0x2e3648=>({'set'(_0x624291){const _0x136392=_0xe94cfe;if(typeof _0x624291!==_0x136392(0x4df))return;_0x383ab8['executeChartUpdateConfig']({'chartModelId':_0x2e3648['id'],'context':{'categoryIndex':_0x624291}});},'get'(){const _0x3d2e1e=_0xe94cfe;return _0x2e3648[_0x3d2e1e(0x1bb)]['pipe']((0x0,rxjs[_0x3d2e1e(0x1f1)])(_0x3d9a44=>_0x3d9a44['categoryIndex']),(0x0,rxjs[_0x3d2e1e(0x450)])());}})),_0x383ab8[_0xe94cfe(0x443)](_0xe94cfe(0x282),_0x3acb41=>{const _0x3f04f7=_0xe94cfe;return _0x3acb41[_0x3f04f7(0x1bb)]['pipe']((0x0,rxjs[_0x3f04f7(0x1f1)])(_0xf63f17=>_0xf63f17['categoryType']),(0x0,rxjs[_0x3f04f7(0x450)])());}),_0x383ab8['registerViewState'](_0xe94cfe(0x2f8),_0x55c30f=>{const _0x102944=_0xe94cfe;var _0x2592b0;const _0xc432d4=(_0x2592b0=_0x383ab8[_0x102944(0x1d0)](_0x55c30f['id']))===null||_0x2592b0===void 0x0?void 0x0:_0x2592b0[_0x102944(0x18b)];if(!_0xc432d4)return _0x55c30f[_0x102944(0x1bb)][_0x102944(0x3cc)]((0x0,rxjs[_0x102944(0x1f1)])(()=>[]));return _0x55c30f[_0x102944(0x1bb)][_0x102944(0x3cc)]((0x0,rxjs[_0x102944(0x5ca)])(_0xc432d4),(0x0,rxjs[_0x102944(0x1f1)])(([_0x3fd60f,_0x528416])=>{const _0xdcb9f3=_0x102944,{categoryResourceIndexes:_0x5037ea,headers:_0x32a41e}=_0x3fd60f,_0x5d1cfe=(_0x5037ea||[])['sort']((_0x1d5526,_0x338972)=>(_0x1d5526||0x0)-(_0x338972||0x0));if(!_0x5d1cfe)return[];if(Array[_0xdcb9f3(0x56f)](_0x528416))return[];return _0x5d1cfe[_0xdcb9f3(0x1f1)](_0x14a96a=>{return{'label':(_0x32a41e===null||_0x32a41e===void 0x0?void 0x0:_0x32a41e[_0x14a96a])||_0x383ab8['t']('chart.categoryDefaultName',''+(_0x14a96a+0x1)),'value':String(_0x14a96a)};});}));}),_0x383ab8[_0xe94cfe(0x443)]('categoryList',_0x303334=>{const _0x3500ad=_0xe94cfe;var _0x1ec3d1;const _0x59c78a=(_0x1ec3d1=_0x383ab8[_0x3500ad(0x1d0)](_0x303334['id']))===null||_0x1ec3d1===void 0x0?void 0x0:_0x1ec3d1[_0x3500ad(0x18b)];if(!_0x59c78a)return _0x303334['context$'][_0x3500ad(0x3cc)]((0x0,rxjs[_0x3500ad(0x1f1)])(()=>[]));return _0x303334[_0x3500ad(0x1bb)]['pipe']((0x0,rxjs['combineLatestWith'])(_0x59c78a),(0x0,rxjs[_0x3500ad(0x1f1)])(([_0x1a081e,_0x228322])=>{const _0x16fd73=_0x3500ad,{categoryResourceIndexes:_0x5abac9,seriesResourceIndexes:_0x102033,headers:_0x10a6fb}=_0x1a081e,_0x37a24c=_0x5abac9===null||_0x5abac9===void 0x0?void 0x0:_0x5abac9[_0x16fd73(0x512)](_0x102033||[])['sort']((_0x80d0f1,_0x2ec89b)=>(_0x80d0f1||0x0)-(_0x2ec89b||0x0));if(!_0x37a24c)return[];if(Array[_0x16fd73(0x56f)](_0x228322))return[];return _0x37a24c[_0x16fd73(0x1f1)](_0x4ef299=>{const _0x3b3c56=_0x16fd73;return{'label':(_0x10a6fb===null||_0x10a6fb===void 0x0?void 0x0:_0x10a6fb[_0x4ef299])||_0x383ab8['t'](_0x3b3c56(0x2e2),''+(_0x4ef299+0x1)),'value':String(_0x4ef299)};});}));}),_0x383ab8['registerViewState']('seriesValues',_0x23f77d=>({'set'(_0x3d13ef){const _0x5d2c8f=_0xe94cfe;_0x383ab8[_0x5d2c8f(0x26f)]({'chartModelId':_0x23f77d['id'],'context':{'seriesIndexes':_0x3d13ef}});},'get'(){const _0x2d68cf=_0xe94cfe;return _0x23f77d[_0x2d68cf(0x1bb)][_0x2d68cf(0x3cc)]((0x0,rxjs['map'])(_0x4f537f=>{const {seriesIndexes:seriesIndexes=[]}=_0x4f537f;return seriesIndexes;}));}})),_0x383ab8['registerViewState'](_0xe94cfe(0x1d1),_0x31e37b=>({'set'(_0x1853ff){const _0x255dd4=_0xe94cfe;_0x383ab8[_0x255dd4(0x26f)]({'chartModelId':_0x31e37b['id'],'style':{'trendlines':_0x1853ff}});},'get'(){const _0x2db12d=_0xe94cfe;return _0x31e37b[_0x2db12d(0x5ba)]['pipe']((0x0,rxjs['map'])(_0x1434ca=>_0x1434ca[_0x2db12d(0x4f8)]));}})),_0x383ab8[_0xe94cfe(0x443)](_0xe94cfe(0x419),_0x1041bc=>{const _0x155d92=_0xe94cfe;var _0x191f13;const _0x496550=(_0x191f13=_0x383ab8[_0x155d92(0x1d0)](_0x1041bc['id']))===null||_0x191f13===void 0x0?void 0x0:_0x191f13[_0x155d92(0x18b)];if(!_0x496550)return _0x1041bc['context$'][_0x155d92(0x3cc)]((0x0,rxjs[_0x155d92(0x1f1)])(()=>[]));return _0x1041bc[_0x155d92(0x1bb)][_0x155d92(0x3cc)]((0x0,rxjs[_0x155d92(0x5ca)])(_0x496550),(0x0,rxjs[_0x155d92(0x1f1)])(([_0x2b5ee6,_0x3e0954])=>{const _0x2d9116=_0x155d92,{seriesIndexes:seriesIndexes=[],headers:_0x2b8f1b}=_0x2b5ee6;if(Array[_0x2d9116(0x56f)](_0x3e0954))return[];return seriesIndexes['map'](_0x562cbd=>{const _0x3edf79=_0x2d9116;return{'label':(_0x2b8f1b===null||_0x2b8f1b===void 0x0?void 0x0:_0x2b8f1b[_0x562cbd])||_0x383ab8['t'](_0x3edf79(0x554),''+_0x562cbd),'value':String(_0x562cbd)};});}));}),_0x383ab8['registerViewState'](_0xe94cfe(0x279),_0x63bac5=>{const _0x10e198=_0xe94cfe;var _0x5f3318;const _0xa3c352=(_0x5f3318=_0x383ab8[_0x10e198(0x1d0)](_0x63bac5['id']))===null||_0x5f3318===void 0x0?void 0x0:_0x5f3318['rangeInfo$'];if(!_0xa3c352)return _0x63bac5[_0x10e198(0x1bb)][_0x10e198(0x3cc)]((0x0,rxjs[_0x10e198(0x1f1)])(()=>[]));return _0x63bac5[_0x10e198(0x1bb)][_0x10e198(0x3cc)]((0x0,rxjs['combineLatestWith'])(_0xa3c352),(0x0,rxjs[_0x10e198(0x1f1)])(([_0x217afb,_0x2df0fd])=>{const _0x2b2f4e=_0x10e198,{seriesResourceIndexes:seriesResourceIndexes=[],headers:_0x1d9104}=_0x217afb;if(Array[_0x2b2f4e(0x56f)](_0x2df0fd))return[];const _0x53bd25=new Map();return seriesResourceIndexes['map'](_0x542d71=>{const _0x1ac786=_0x2b2f4e,_0x529d24=(_0x1d9104===null||_0x1d9104===void 0x0?void 0x0:_0x1d9104[_0x542d71])||_0x383ab8['t']('chart.seriesDefaultName',''+_0x542d71);if(_0x53bd25['has'](_0x529d24))_0x53bd25[_0x1ac786(0x38b)](_0x529d24,_0x53bd25['get'](_0x529d24)+0x1);else _0x53bd25[_0x1ac786(0x38b)](_0x529d24,0x0);return{'label':(_0x53bd25[_0x1ac786(0x416)](_0x529d24)&&_0x53bd25[_0x1ac786(0x40a)](_0x529d24)>0x0?_0x529d24+'\x20'+_0x53bd25[_0x1ac786(0x40a)](_0x529d24):_0x529d24)||_0x383ab8['t'](_0x1ac786(0x554),''+_0x542d71),'value':String(_0x542d71)};});}));}),_0x383ab8[_0xe94cfe(0x443)](_0xe94cfe(0x17d),_0x471d2b=>({'set'(_0x24ca1e){const _0xd59ec8=_0xe94cfe;_0x383ab8[_0xd59ec8(0x26f)]({'chartModelId':_0x471d2b['id'],'dataAggregation':{'aggregate':_0x24ca1e}});},'get'(){const _0x57d03c=_0xe94cfe;return _0x471d2b['dataAggregation$'][_0x57d03c(0x3cc)]((0x0,rxjs[_0x57d03c(0x1f1)])(_0x4a5cfe=>_0x4a5cfe[_0x57d03c(0x17d)]||![]),(0x0,rxjs['distinctUntilChanged'])());}})),_0x383ab8[_0xe94cfe(0x443)]('orient',_0x20fe14=>({'set'(_0x23a6c4){const _0x4c1ff6=_0xe94cfe;var _0x3bf9b7;const _0x35c90e=(_0x3bf9b7=_0x383ab8[_0x4c1ff6(0x1d0)](_0x20fe14['id']))===null||_0x3bf9b7===void 0x0?void 0x0:_0x3bf9b7['getRangeInfo']();if(_0x35c90e){const _0x191c82={..._0x35c90e,'isRowDirection':_0x23a6c4===_univerjs_pro_engine_chart['DataOrientation'][_0x4c1ff6(0x2c3)]};_0x383ab8[_0x4c1ff6(0x26f)]({'chartModelId':_0x20fe14['id'],'context':{'seriesIndexes':void 0x0,'transform':void 0x0}}),_0x383ab8['executeChartUpdateSourceConfig']({'chartModelId':_0x20fe14['id'],'range':_0x191c82});}},'get'(){const _0x5681d3=_0xe94cfe;var _0x5780af;return(_0x5780af=_0x383ab8[_0x5681d3(0x1d0)](_0x20fe14['id']))===null||_0x5780af===void 0x0?void 0x0:_0x5780af['rangeInfo$'][_0x5681d3(0x3cc)]((0x0,rxjs['map'])(_0x58914c=>_0x58914c[_0x5681d3(0x55c)]?_univerjs_pro_engine_chart[_0x5681d3(0x1c4)][_0x5681d3(0x2c3)]:_univerjs_pro_engine_chart[_0x5681d3(0x1c4)]['Column']),(0x0,rxjs[_0x5681d3(0x450)])());}})),_0x383ab8[_0xe94cfe(0x443)](_0xe94cfe(0x357),_0x5060ae=>({'set'(_0x1d4b3a){const _0x268bdc=_0xe94cfe;_0x383ab8[_0x268bdc(0x26f)]({'chartModelId':_0x5060ae['id'],'style':{'gradientFill':_0x1d4b3a}});},'get'(){const _0x4090dd=_0xe94cfe;return _0x5060ae[_0x4090dd(0x5ba)]['pipe']((0x0,rxjs[_0x4090dd(0x1f1)])(_0x42a11f=>_0x42a11f[_0x4090dd(0x357)]),(0x0,rxjs[_0x4090dd(0x450)])());}})),_0x383ab8[_0xe94cfe(0x443)](_0xe94cfe(0x42d),_0x492c44=>({'set'(_0x33828c){const _0x2c2ed0=_0xe94cfe;_0x383ab8[_0x2c2ed0(0x26f)]({'chartModelId':_0x492c44['id'],'style':{'tooltip':_0x33828c}});},'get'(){const _0x504d6b=_0xe94cfe;return _0x492c44[_0x504d6b(0x5ba)][_0x504d6b(0x3cc)]((0x0,rxjs[_0x504d6b(0x1f1)])(_0x206ddd=>_0x206ddd[_0x504d6b(0x366)]),(0x0,rxjs[_0x504d6b(0x450)])());}})),_0x383ab8[_0xe94cfe(0x443)](_0xe94cfe(0x5d3),_0x1d23ad=>({'set'(_0x535686){const _0x59a859=_0xe94cfe,{context:_0x13c67c}=_0x1d23ad,_0x3eb363=_0x528c2b=>{const _0x193b29=_0x1088;var _0x1941a0;return((_0x1941a0=_0x13c67c[_0x193b29(0x4b4)])===null||_0x1941a0===void 0x0?void 0x0:_0x1941a0[_0x193b29(0x4a9)](_0x528c2b))!==-0x1;};if(_0x535686){var _0x4b52e3;const _0x39690f=(_0x4b52e3=_0x13c67c['seriesIndexes'])===null||_0x4b52e3===void 0x0?void 0x0:_0x4b52e3[0x0];if(_0x39690f===void 0x0)return;const _0x364d29={'categoryIndex':_0x39690f,'categoryType':_univerjs_pro_engine_chart[_0x59a859(0x162)][_0x59a859(0x49d)]};if(_0x3eb363(_0x39690f)){var _0x30cc2a;_0x364d29[_0x59a859(0x35b)]=(_0x30cc2a=_0x13c67c[_0x59a859(0x35b)])===null||_0x30cc2a===void 0x0?void 0x0:_0x30cc2a[_0x59a859(0x5b4)](_0x58e41e=>_0x58e41e!==_0x39690f);}_0x383ab8[_0x59a859(0x26f)]({'chartModelId':_0x1d23ad['id'],'context':_0x364d29});}else{if(_0x13c67c['categoryIndex']===void 0x0)return;const _0x2cb675={'categoryIndex':void 0x0,'categoryType':void 0x0};if(_0x3eb363(_0x13c67c[_0x59a859(0x141)]))_0x2cb675[_0x59a859(0x35b)]=[_0x13c67c['categoryIndex']][_0x59a859(0x512)](_0x13c67c[_0x59a859(0x35b)]||[]);_0x383ab8[_0x59a859(0x26f)]({'chartModelId':_0x1d23ad['id'],'context':_0x2cb675});}},'get'(){const _0x4ab210=_0xe94cfe;return _0x1d23ad[_0x4ab210(0x1bb)]['pipe']((0x0,rxjs['map'])(_0x1822b0=>{const _0x2bd455=_0x4ab210;var _0x3af710;if(_0x1822b0[_0x2bd455(0x141)]===void 0x0)return![];return Boolean((_0x3af710=_0x1822b0[_0x2bd455(0x4b4)])===null||_0x3af710===void 0x0?void 0x0:_0x3af710['includes'](_0x1822b0['categoryIndex']));}));}})),_0x383ab8[_0xe94cfe(0x443)]('backgroundColor',_0x1b16f2=>({'set'(_0x2a3555){const _0x81ee4d=_0xe94cfe;_0x383ab8[_0x81ee4d(0x26f)]({'chartModelId':_0x1b16f2['id'],'style':{'backgroundColor':_0x2a3555!==null&&_0x2a3555!==void 0x0?_0x2a3555:null}});},'get'(){const _0x16cc96=_0xe94cfe;return _0x1b16f2[_0x16cc96(0x5ba)][_0x16cc96(0x3cc)]((0x0,rxjs['map'])(_0x34c5e1=>_0x34c5e1===null||_0x34c5e1===void 0x0?void 0x0:_0x34c5e1[_0x16cc96(0x2ac)]),(0x0,rxjs[_0x16cc96(0x450)])());}})),_0x383ab8[_0xe94cfe(0x443)](_0xe94cfe(0x41f),_0x2c3cf1=>({'set'(_0x354275){const _0x2ba879=_0xe94cfe;_0x383ab8[_0x2ba879(0x26f)]({'chartModelId':_0x2c3cf1['id'],'style':{'borderColor':_0x354275!==null&&_0x354275!==void 0x0?_0x354275:null}}),_0x383ab8[_0x2ba879(0x29f)](_0x2c3cf1['id'],_0x354275);},'get'(){const _0x57bac0=_0xe94cfe;return _0x2c3cf1['style$'][_0x57bac0(0x3cc)]((0x0,rxjs['map'])(_0x50c849=>_0x50c849[_0x57bac0(0x41f)]),(0x0,rxjs[_0x57bac0(0x450)])());}})),_0x383ab8[_0xe94cfe(0x443)]('fontSize',_0x1ddd85=>({'set'(_0x4c413d){const _0x419072=_0xe94cfe;_0x383ab8[_0x419072(0x26f)]({'chartModelId':_0x1ddd85['id'],'style':{'fontSize':_0x4c413d}});},'get'(){const _0x253d39=_0xe94cfe;return _0x1ddd85[_0x253d39(0x5ba)]['pipe']((0x0,rxjs[_0x253d39(0x1f1)])(_0x1ee751=>_0x1ee751[_0x253d39(0x3fe)]),(0x0,rxjs['distinctUntilChanged'])());}})),_0x383ab8[_0xe94cfe(0x443)](_0xe94cfe(0x3ea),_0x301921=>({'set'(_0x2acba2){const _0xa26ae9=_0xe94cfe;_0x383ab8[_0xa26ae9(0x26f)]({'chartModelId':_0x301921['id'],'style':{'titleFontSize':_0x2acba2}});},'get'(){const _0x1c2480=_0xe94cfe;return _0x301921[_0x1c2480(0x5ba)]['pipe']((0x0,rxjs['map'])(_0x423854=>_0x423854[_0x1c2480(0x3ea)]),(0x0,rxjs['distinctUntilChanged'])());}})),_0x383ab8[_0xe94cfe(0x443)](_0xe94cfe(0x46f),_0x4e3111=>({'set'(_0x538794){const _0x21c3f2=_0xe94cfe;_0x383ab8[_0x21c3f2(0x26f)]({'chartModelId':_0x4e3111['id'],'style':{'titles':_0x538794}});},'get'(){const _0x13a209=_0xe94cfe;return _0x4e3111[_0x13a209(0x5ba)][_0x13a209(0x3cc)]((0x0,rxjs[_0x13a209(0x1f1)])(_0x1fe215=>_0x1fe215[_0x13a209(0x46f)]));}})),_0x383ab8[_0xe94cfe(0x443)](_0xe94cfe(0x434),_0x404a97=>({'set'(_0x1ed490){const _0x3c059f=_0xe94cfe,_0x5e5777=Object[_0x3c059f(0x4b9)](_0x1ed490),_0x586f95=_univerjs_core[_0x3c059f(0x576)][_0x3c059f(0x5a7)](_0x404a97[_0x3c059f(0x4cb)][_0x3c059f(0x1f7)]||{}),_0x3f4fa1={};for(const _0x41c0c9 in _0x586f95)if(_0x586f95[_0x3c059f(0x21d)](_0x41c0c9)){const _0x340130=_0x586f95[_0x41c0c9];if(!_0x340130)continue;for(const _0x39fe3f of _0x5e5777)if(_0x340130[_0x3c059f(0x21d)](_0x39fe3f))_0x3f4fa1[_0x41c0c9]={[_0x39fe3f]:null};}const _0x33b710={'allSeriesStyle':_0x1ed490,'seriesStyleMap':_0x3f4fa1},_0x51ab99=_0x404a97['chartType'],_0x554ccb=new Set(_0x5e5777);if(_0x51ab99===_univerjs_pro_engine_chart[_0x3c059f(0x278)][_0x3c059f(0x22f)]&&(_0x554ccb[_0x3c059f(0x416)](_0x3c059f(0x571))||_0x554ccb[_0x3c059f(0x416)](_0x3c059f(0x1f4))))_0x33b710['radar']={'fill':!![]};_0x383ab8['executeChartUpdateConfig']({'chartModelId':_0x404a97['id'],'style':_0x33b710});},'get'(){const _0x4081c6=_0xe94cfe;return _0x404a97[_0x4081c6(0x5ba)][_0x4081c6(0x3cc)]((0x0,rxjs[_0x4081c6(0x1f1)])(_0x141f3d=>_0x141f3d[_0x4081c6(0x434)]));}})),_0x383ab8[_0xe94cfe(0x443)](_0xe94cfe(0x1f7),_0x3ff614=>({'set'(_0x373d4c){const _0x19c0ad=_0xe94cfe;_0x383ab8[_0x19c0ad(0x26f)]({'chartModelId':_0x3ff614['id'],'style':{'seriesStyleMap':_0x373d4c}});},'get'(){const _0x2b7702=_0xe94cfe;return _0x3ff614['style$'][_0x2b7702(0x3cc)]((0x0,rxjs[_0x2b7702(0x1f1)])(_0x419c3d=>_0x419c3d['seriesStyleMap']));}})),_0x383ab8[_0xe94cfe(0x443)]('legendStyle',_0x27ac7e=>({'set'(_0x58552e){const _0x48edd2=_0xe94cfe;_0x383ab8[_0x48edd2(0x26f)]({'chartModelId':_0x27ac7e['id'],'style':{'legend':_0x58552e}});},'get'(){const _0x23a1be=_0xe94cfe;return _0x27ac7e[_0x23a1be(0x5ba)][_0x23a1be(0x3cc)]((0x0,rxjs['map'])(_0x437b64=>_0x437b64[_0x23a1be(0x285)]));}})),_0x383ab8['registerViewState'](_0xe94cfe(0x456),_0x23138e=>({'set'(_0x566e68){const _0xd47379=_0xe94cfe;_0x383ab8[_0xd47379(0x26f)]({'chartModelId':_0x23138e['id'],'style':{'xAxis':_0x566e68}});},'get'(){const _0x4bd5fc=_0xe94cfe;return _0x23138e[_0x4bd5fc(0x5ba)][_0x4bd5fc(0x3cc)]((0x0,rxjs['map'])(_0x3732c1=>_0x3732c1[_0x4bd5fc(0x19e)]));}})),_0x383ab8['registerViewState'](_0xe94cfe(0x50a),_0x24f0c2=>({'set'(_0x4276b4){const _0x8d93b2=_0xe94cfe;_0x383ab8[_0x8d93b2(0x26f)]({'chartModelId':_0x24f0c2['id'],'style':{'yAxis':_0x4276b4}});},'get'(){const _0x37c438=_0xe94cfe;return _0x24f0c2[_0x37c438(0x5ba)][_0x37c438(0x3cc)]((0x0,rxjs[_0x37c438(0x1f1)])(_0x3c2c0e=>_0x3c2c0e[_0x37c438(0x3b7)]));}})),_0x383ab8[_0xe94cfe(0x443)](_0xe94cfe(0x179),_0x260df0=>({'set'(_0xa36bd0){const _0x36cbde=_0xe94cfe;_0x383ab8[_0x36cbde(0x26f)]({'chartModelId':_0x260df0['id'],'style':{'rightYAxis':_0xa36bd0}});},'get'(){const _0x4ef155=_0xe94cfe;return _0x260df0[_0x4ef155(0x5ba)]['pipe']((0x0,rxjs['map'])(_0x493ba=>_0x493ba[_0x4ef155(0x3e0)]));}})),_0x383ab8[_0xe94cfe(0x443)](_0xe94cfe(0x2c5),_0x57cee3=>{const _0x3174ef=_0xe94cfe;return _0x57cee3[_0x3174ef(0x5ba)][_0x3174ef(0x3cc)]((0x0,rxjs[_0x3174ef(0x1f1)])(()=>_0x57cee3[_0x3174ef(0x1dc)]()[_0x3174ef(0x4ca)]));}),_0x383ab8['registerViewState'](_0xe94cfe(0x44d),_0x3f2351=>({'set'(_0x240785){const _0x1d04c5=_0xe94cfe;_0x383ab8[_0x1d04c5(0x26f)]({'chartModelId':_0x3f2351['id'],'style':{'area':{'lineStyle':_0x240785!==null&&_0x240785!==void 0x0?_0x240785:void 0x0}}});},'get'(){const _0x381fb1=_0xe94cfe;return _0x3f2351['style$'][_0x381fb1(0x3cc)]((0x0,rxjs[_0x381fb1(0x1f1)])(_0x51c144=>{const _0x2355c4=_0x381fb1;var _0x5f291a;return(_0x5f291a=_0x51c144[_0x2355c4(0x578)])===null||_0x5f291a===void 0x0?void 0x0:_0x5f291a[_0x2355c4(0x33f)];}));}})),_0x383ab8['registerViewState']('pieLabelStyle',_0x4d1873=>({'set'(_0x8ba378){const _0x589bb7=_0xe94cfe;_0x383ab8[_0x589bb7(0x26f)]({'chartModelId':_0x4d1873['id'],'style':{'pie':{'labelStyle':_0x8ba378!==null&&_0x8ba378!==void 0x0?_0x8ba378:void 0x0}}});},'get'(){return _0x4d1873['style$']['pipe']((0x0,rxjs['map'])(_0x44f637=>{const _0x35c0c5=_0x1088;var _0x52adc0;return(_0x52adc0=_0x44f637[_0x35c0c5(0x2cc)])===null||_0x52adc0===void 0x0?void 0x0:_0x52adc0[_0x35c0c5(0x586)];}));}})),_0x383ab8['registerViewState'](_0xe94cfe(0x59f),_0x31cfac=>({'set'(_0x1f4f19){const _0x49c433=_0xe94cfe;_0x383ab8[_0x49c433(0x26f)]({'chartModelId':_0x31cfac['id'],'style':{'wordCloud':{'shape':_0x1f4f19!==null&&_0x1f4f19!==void 0x0?_0x1f4f19:void 0x0,'maskImage':_0x1f4f19!==null&&_0x1f4f19!==void 0x0?_0x1f4f19:void 0x0}}});},'get'(){const _0x19c1e3=_0xe94cfe;return _0x31cfac[_0x19c1e3(0x5ba)][_0x19c1e3(0x3cc)]((0x0,rxjs[_0x19c1e3(0x1f1)])(_0x327647=>{const _0x364fed=_0x19c1e3;var _0x5693e8;return(_0x5693e8=_0x327647[_0x364fed(0x5af)])===null||_0x5693e8===void 0x0?void 0x0:_0x5693e8[_0x364fed(0x181)];}));}})),_0x383ab8[_0xe94cfe(0x443)](_0xe94cfe(0x461),_0x17002f=>({'set'(_0x480e6c){const _0x4fe2db=_0xe94cfe;_0x383ab8[_0x4fe2db(0x26f)]({'chartModelId':_0x17002f['id'],'style':{'wordCloud':{'maskImage':_0x480e6c!==null&&_0x480e6c!==void 0x0?_0x480e6c:void 0x0,'shape':void 0x0}}});},'get'(){const _0x398322=_0xe94cfe;return _0x17002f[_0x398322(0x5ba)][_0x398322(0x3cc)]((0x0,rxjs[_0x398322(0x1f1)])(_0x2d4d8b=>{const _0x409e1c=_0x398322;var _0x4d4cd1;return(_0x4d4cd1=_0x2d4d8b[_0x409e1c(0x5af)])===null||_0x4d4cd1===void 0x0?void 0x0:_0x4d4cd1[_0x409e1c(0x430)];}));}})),_0x383ab8['registerViewState']('wordCloudRepeat',_0x5c336a=>({'set'(_0x464caa){const _0x1b1346=_0xe94cfe;_0x383ab8[_0x1b1346(0x26f)]({'chartModelId':_0x5c336a['id'],'style':{'wordCloud':{'repeat':_0x464caa!==null&&_0x464caa!==void 0x0?_0x464caa:void 0x0}}});},'get'(){const _0x36a88c=_0xe94cfe;return _0x5c336a['style$'][_0x36a88c(0x3cc)]((0x0,rxjs[_0x36a88c(0x1f1)])(_0x2de637=>{const _0x31894d=_0x36a88c;var _0xd22872;return(_0xd22872=_0x2de637[_0x31894d(0x5af)])===null||_0xd22872===void 0x0?void 0x0:_0xd22872[_0x31894d(0x337)];}));}})),_0x383ab8[_0xe94cfe(0x443)](_0xe94cfe(0x5d2),_0x11d50c=>({'set'(_0x42ff4c){const _0x58791b=_0xe94cfe;_0x383ab8[_0x58791b(0x26f)]({'chartModelId':_0x11d50c['id'],'style':{'funnel':{'gap':_0x42ff4c!==null&&_0x42ff4c!==void 0x0?_0x42ff4c:void 0x0}}});},'get'(){const _0x11d27f=_0xe94cfe;return _0x11d50c['style$'][_0x11d27f(0x3cc)]((0x0,rxjs[_0x11d27f(0x1f1)])(_0x1fd3e0=>{const _0xead011=_0x11d27f;var _0x2e7055;return(_0x2e7055=_0x1fd3e0[_0xead011(0x1ee)])===null||_0x2e7055===void 0x0?void 0x0:_0x2e7055[_0xead011(0x247)];}));}})),_0x383ab8[_0xe94cfe(0x443)](_0xe94cfe(0x56e),_0x1f99ab=>({'set'(_0x4cb398){_0x383ab8['executeChartUpdateConfig']({'chartModelId':_0x1f99ab['id'],'style':{'funnel':{'useAbsValue':_0x4cb398!==null&&_0x4cb398!==void 0x0?_0x4cb398:void 0x0}}});},'get'(){const _0x4dd9c8=_0xe94cfe;return _0x1f99ab[_0x4dd9c8(0x5ba)]['pipe']((0x0,rxjs[_0x4dd9c8(0x1f1)])(_0x24666e=>{const _0xf4d9c2=_0x4dd9c8;var _0x4032fe;return(_0x4032fe=_0x24666e[_0xf4d9c2(0x1ee)])===null||_0x4032fe===void 0x0?void 0x0:_0x4032fe[_0xf4d9c2(0x23a)];}));}})),_0x383ab8['registerViewState']('padAngleStyle',_0x4f5481=>({'set'(_0x21a961){const _0x120e97=_0xe94cfe;_0x383ab8[_0x120e97(0x26f)]({'chartModelId':_0x4f5481['id'],'style':{'pie':{'hasPaddingAngle':Boolean(_0x21a961)}}});},'get'(){const _0x322d07=_0xe94cfe;return _0x4f5481[_0x322d07(0x5ba)][_0x322d07(0x3cc)]((0x0,rxjs[_0x322d07(0x1f1)])(_0x69b893=>{const _0x189570=_0x322d07;var _0x1bb07f;return(_0x1bb07f=_0x69b893[_0x189570(0x2cc)])===null||_0x1bb07f===void 0x0?void 0x0:_0x1bb07f[_0x189570(0x1e3)];}));}})),_0x383ab8['registerViewState'](_0xe94cfe(0x5cd),_0x1784bb=>({'set'(_0x1d2861){const _0x5d2792=_0xe94cfe;_0x383ab8[_0x5d2792(0x26f)]({'chartModelId':_0x1784bb['id'],'style':{'pie':{'isHalfPie':Boolean(_0x1d2861)}}});},'get'(){const _0x1631bd=_0xe94cfe;return _0x1784bb[_0x1631bd(0x5ba)]['pipe']((0x0,rxjs[_0x1631bd(0x1f1)])(_0x460e0e=>{const _0x5110ba=_0x1631bd;var _0xff3470;return(_0xff3470=_0x460e0e[_0x5110ba(0x2cc)])===null||_0xff3470===void 0x0?void 0x0:_0xff3470[_0x5110ba(0x5cd)];}));}})),_0x383ab8['registerViewState'](_0xe94cfe(0x50b),_0x4266ba=>({'set'(_0x38d440){const _0x37de89=_0xe94cfe;_0x383ab8[_0x37de89(0x26f)]({'chartModelId':_0x4266ba['id'],'style':{'pie':{'valueScale':Number(_0x38d440)}}});},'get'(){const _0x2f37c2=_0xe94cfe;return _0x4266ba[_0x2f37c2(0x5ba)]['pipe']((0x0,rxjs[_0x2f37c2(0x1f1)])(_0x3d69be=>{const _0x25043c=_0x2f37c2;var _0x40da07;return(_0x40da07=_0x3d69be[_0x25043c(0x2cc)])===null||_0x40da07===void 0x0?void 0x0:_0x40da07[_0x25043c(0x50b)];}));}})),_0x383ab8['registerViewState'](_0xe94cfe(0x5c6),_0xda4be4=>({'set'(_0xcd5bd5){const _0x35d7e5=_0xe94cfe;_0x383ab8[_0x35d7e5(0x26f)]({'chartModelId':_0xda4be4['id'],'style':{'pie':{'digitalFixed':Number(_0xcd5bd5)}}});},'get'(){const _0x1e0d3f=_0xe94cfe;return _0xda4be4[_0x1e0d3f(0x5ba)][_0x1e0d3f(0x3cc)]((0x0,rxjs['map'])(_0x124ac7=>{const _0x54a946=_0x1e0d3f;var _0x450ea3;return(_0x450ea3=_0x124ac7[_0x54a946(0x2cc)])===null||_0x450ea3===void 0x0?void 0x0:_0x450ea3[_0x54a946(0x5c6)];}));}})),_0x383ab8['registerViewState'](_0xe94cfe(0x379),_0x52ce0b=>({'set'(_0x287a96){const _0x146ba0=_0xe94cfe;_0x383ab8[_0x146ba0(0x26f)]({'chartModelId':_0x52ce0b['id'],'style':{'pie':{'valueSuffix':String(_0x287a96)}}});},'get'(){const _0x2a2b80=_0xe94cfe;return _0x52ce0b['style$']['pipe']((0x0,rxjs[_0x2a2b80(0x1f1)])(_0x4c1d03=>{const _0x5ef91f=_0x2a2b80;var _0xa47f84;return(_0xa47f84=_0x4c1d03[_0x5ef91f(0x2cc)])===null||_0xa47f84===void 0x0?void 0x0:_0xa47f84[_0x5ef91f(0x379)];}));}})),_0x383ab8['registerViewState'](_0xe94cfe(0x594),_0x119478=>({'set'(_0x5dfbf5){const _0x14024f=_0xe94cfe;_0x383ab8[_0x14024f(0x26f)]({'chartModelId':_0x119478['id'],'style':{'pie':{'rosePie':Boolean(_0x5dfbf5)}}});},'get'(){const _0x2f0c0d=_0xe94cfe;return _0x119478[_0x2f0c0d(0x5ba)][_0x2f0c0d(0x3cc)]((0x0,rxjs[_0x2f0c0d(0x1f1)])(_0x162b5b=>{const _0x233343=_0x2f0c0d;var _0x2eae15;return(_0x2eae15=_0x162b5b[_0x233343(0x2cc)])===null||_0x2eae15===void 0x0?void 0x0:_0x2eae15[_0x233343(0x417)];}));}})),_0x383ab8[_0xe94cfe(0x443)]('showLabelLine',_0x3f2213=>({'set'(_0x57a32e){_0x383ab8['executeChartUpdateConfig']({'chartModelId':_0x3f2213['id'],'style':{'pie':{'showLabelLine':Boolean(_0x57a32e)}}});},'get'(){const _0x3c5a21=_0xe94cfe;return _0x3f2213[_0x3c5a21(0x5ba)][_0x3c5a21(0x3cc)]((0x0,rxjs['map'])(_0x4d8cf8=>{const _0x410abb=_0x3c5a21;var _0x5e6473;return(_0x5e6473=_0x4d8cf8[_0x410abb(0x2cc)])===null||_0x5e6473===void 0x0?void 0x0:_0x5e6473[_0x410abb(0x541)];}));}})),_0x383ab8[_0xe94cfe(0x443)](_0xe94cfe(0x2c7),_0x4ed2eb=>({'set'(_0xb381ad){const _0x501274=_0xe94cfe;_0x383ab8[_0x501274(0x26f)]({'chartModelId':_0x4ed2eb['id'],'chartType':_0xb381ad?_univerjs_pro_engine_chart[_0x501274(0x278)]['Doughnut']:_univerjs_pro_engine_chart[_0x501274(0x278)]['Pie'],'style':{'pie':{'doughnutHole':_0xb381ad}}});},'get'(){const _0x2265d3=_0xe94cfe;return _0x4ed2eb[_0x2265d3(0x5ba)]['pipe']((0x0,rxjs['map'])(_0x48f0e5=>{const _0x29d654=_0x2265d3;var _0x324d81;return(_0x324d81=_0x48f0e5[_0x29d654(0x2cc)])===null||_0x324d81===void 0x0?void 0x0:_0x324d81['doughnutHole'];}),(0x0,rxjs[_0x2265d3(0x450)])());}})),_0x383ab8[_0xe94cfe(0x443)](_0xe94cfe(0x15c),_0x35c4a6=>({'set'(_0x5ac45c){_0x383ab8['executeChartUpdateConfig']({'chartModelId':_0x35c4a6['id'],'style':{'pie':{'borderColor':_0x5ac45c}}});},'get'(){const _0xa7c6ff=_0xe94cfe;return _0x35c4a6['style$'][_0xa7c6ff(0x3cc)]((0x0,rxjs[_0xa7c6ff(0x1f1)])(_0x22d835=>{const _0x25d891=_0xa7c6ff;var _0xa9f63b;return(_0xa9f63b=_0x22d835[_0x25d891(0x2cc)])===null||_0xa9f63b===void 0x0?void 0x0:_0xa9f63b[_0x25d891(0x41f)];}),(0x0,rxjs[_0xa7c6ff(0x450)])());}})),_0x383ab8[_0xe94cfe(0x443)](_0xe94cfe(0x44c),_0x3874ba=>({'set'(_0x5ec619){const _0x13ba2e=_0xe94cfe;_0x383ab8[_0x13ba2e(0x26f)]({'chartModelId':_0x3874ba['id'],'style':{'radar':{'shape':_0x5ec619}}});},'get'(){const _0x13a7d3=_0xe94cfe;return _0x3874ba['style$']['pipe']((0x0,rxjs[_0x13a7d3(0x1f1)])(_0x3eae32=>{var _0x40dbfb;return(_0x40dbfb=_0x3eae32['radar'])===null||_0x40dbfb===void 0x0?void 0x0:_0x40dbfb['shape'];}),(0x0,rxjs[_0x13a7d3(0x450)])());}})),_0x383ab8[_0xe94cfe(0x443)](_0xe94cfe(0x2fd),_0x4e3c9e=>({'set'(_0x597e1a){const _0xc05925=_0xe94cfe;_0x383ab8[_0xc05925(0x26f)]({'chartModelId':_0x4e3c9e['id'],'style':{'radar':{'fill':_0x597e1a}}});},'get'(){const _0x2cf29=_0xe94cfe;return _0x4e3c9e[_0x2cf29(0x5ba)][_0x2cf29(0x3cc)]((0x0,rxjs[_0x2cf29(0x1f1)])(_0x403be4=>{const _0x5e53e5=_0x2cf29;var _0x24e480;return(_0x24e480=_0x403be4[_0x5e53e5(0x479)])===null||_0x24e480===void 0x0?void 0x0:_0x24e480['fill'];}),(0x0,rxjs[_0x2cf29(0x450)])());}})),_0x383ab8[_0xe94cfe(0x443)]('invalidValueType',_0x4b4674=>({'set'(_0x254859){const _0x345ff4=_0xe94cfe;_0x383ab8[_0x345ff4(0x26f)]({'chartModelId':_0x4b4674['id'],'style':{'invalidValueType':_0x254859}});},'get'(){const _0x4cc93c=_0xe94cfe;return _0x4b4674[_0x4cc93c(0x5ba)][_0x4cc93c(0x3cc)]((0x0,rxjs[_0x4cc93c(0x1f1)])(_0x45eb60=>_0x45eb60[_0x4cc93c(0x3c9)]),(0x0,rxjs[_0x4cc93c(0x450)])());}})),_0x383ab8[_0xe94cfe(0x443)](_0xe94cfe(0x3fa),_0x5fecd4=>{const _0x403054=_0xe94cfe;return _0x5fecd4[_0x403054(0x154)]['pipe']((0x0,rxjs[_0x403054(0x1f1)])(_0x135799=>{const _0x514c4e=_0x403054;var _0x3e1758,_0x180e94;const _0x584eb4=_0x135799===null||_0x135799===void 0x0||(_0x3e1758=_0x135799[_0x514c4e(0x3bd)])===null||_0x3e1758===void 0x0?void 0x0:_0x3e1758[_0x514c4e(0x1b0)];return((_0x135799===null||_0x135799===void 0x0||(_0x180e94=_0x135799[_0x514c4e(0x34d)][0x0])===null||_0x180e94===void 0x0?void 0x0:_0x180e94['items'])||[])[_0x514c4e(0x1f1)]((_0x37dd52,_0x2ea82f)=>{const _0x3cbd8d=_0x514c4e;return{'label':_0x584eb4&&_0x584eb4[_0x2ea82f]!==void 0x0?_0x584eb4[_0x2ea82f][_0x3cbd8d(0x31a)]:_0x383ab8['t'](_0x3cbd8d(0x449),''+(_0x2ea82f+0x1)),'value':''+_0x2ea82f};});}));}),_0x383ab8[_0xe94cfe(0x443)]('chartThemeColorType',_0x3bab14=>({'set'(_0x3202ac){const _0x4306bb=_0xe94cfe,_0x1b9829={'theme':_0x3202ac},_0x268f59=_0x3bab14['style'][_0x4306bb(0x434)];if((_0x268f59===null||_0x268f59===void 0x0?void 0x0:_0x268f59[_0x4306bb(0x571)])!==void 0x0){var _0x545308,_0x17f3f3,_0x55d21c;_0x1b9829[_0x4306bb(0x434)]={'color':null};if((_0x268f59===null||_0x268f59===void 0x0||(_0x545308=_0x268f59['waterfall'])===null||_0x545308===void 0x0||(_0x545308=_0x545308[_0x4306bb(0x4c5)])===null||_0x545308===void 0x0?void 0x0:_0x545308[_0x4306bb(0x571)])!==void 0x0)_0x268f59[_0x4306bb(0x14f)]['positive'][_0x4306bb(0x571)]=null;if((_0x268f59===null||_0x268f59===void 0x0||(_0x17f3f3=_0x268f59[_0x4306bb(0x14f)])===null||_0x17f3f3===void 0x0||(_0x17f3f3=_0x17f3f3[_0x4306bb(0x5d8)])===null||_0x17f3f3===void 0x0?void 0x0:_0x17f3f3[_0x4306bb(0x571)])!==void 0x0)_0x268f59[_0x4306bb(0x14f)][_0x4306bb(0x5d8)][_0x4306bb(0x571)]=null;if((_0x268f59===null||_0x268f59===void 0x0||(_0x55d21c=_0x268f59['waterfall'])===null||_0x55d21c===void 0x0||(_0x55d21c=_0x55d21c[_0x4306bb(0x4fc)])===null||_0x55d21c===void 0x0?void 0x0:_0x55d21c['color'])!==void 0x0)_0x268f59[_0x4306bb(0x14f)][_0x4306bb(0x4fc)][_0x4306bb(0x571)]=null;}const _0x15fd2d=_0x3bab14['style'][_0x4306bb(0x1f7)]||{};for(const _0x486502 in _0x15fd2d){var _0x4f39ca,_0x42c20f,_0x478f17;if(_0x15fd2d[_0x486502][_0x4306bb(0x571)]!==void 0x0)_0x1b9829[_0x4306bb(0x1f7)]={..._0x1b9829[_0x4306bb(0x1f7)],[_0x486502]:{'color':null}};if(((_0x4f39ca=_0x15fd2d[_0x486502])===null||_0x4f39ca===void 0x0||(_0x4f39ca=_0x4f39ca[_0x4306bb(0x14f)])===null||_0x4f39ca===void 0x0||(_0x4f39ca=_0x4f39ca[_0x4306bb(0x4c5)])===null||_0x4f39ca===void 0x0?void 0x0:_0x4f39ca['color'])!==void 0x0)_0x15fd2d[_0x486502][_0x4306bb(0x14f)][_0x4306bb(0x4c5)][_0x4306bb(0x571)]=null;if(((_0x42c20f=_0x15fd2d[_0x486502])===null||_0x42c20f===void 0x0||(_0x42c20f=_0x42c20f[_0x4306bb(0x14f)])===null||_0x42c20f===void 0x0||(_0x42c20f=_0x42c20f[_0x4306bb(0x5d8)])===null||_0x42c20f===void 0x0?void 0x0:_0x42c20f[_0x4306bb(0x571)])!==void 0x0)_0x15fd2d[_0x486502]['waterfall'][_0x4306bb(0x5d8)][_0x4306bb(0x571)]=null;if(((_0x478f17=_0x15fd2d[_0x486502])===null||_0x478f17===void 0x0||(_0x478f17=_0x478f17[_0x4306bb(0x14f)])===null||_0x478f17===void 0x0||(_0x478f17=_0x478f17[_0x4306bb(0x4fc)])===null||_0x478f17===void 0x0?void 0x0:_0x478f17[_0x4306bb(0x571)])!==void 0x0)_0x15fd2d[_0x486502][_0x4306bb(0x14f)][_0x4306bb(0x4fc)]['color']=null;}_0x383ab8['executeChartUpdateConfig']({'chartModelId':_0x3bab14['id'],'style':_0x1b9829});},'get'(){const _0x486657=_0xe94cfe;return _0x3bab14[_0x486657(0x5ba)]['pipe']((0x0,rxjs[_0x486657(0x1f1)])(_0x50e8be=>_0x50e8be[_0x486657(0x3a0)]||_0x486657(0x3c1)));}})),_0x383ab8[_0xe94cfe(0x443)]('titlePosition',_0x46e7b9=>({'set'(_0x5a943a){const _0x4acd31=_0xe94cfe;_0x383ab8[_0x4acd31(0x26f)]({'chartModelId':_0x46e7b9['id'],'style':{'titles':{'titlePosition':_0x5a943a}}});},'get'(){const _0x4c6970=_0xe94cfe;return _0x46e7b9[_0x4c6970(0x5ba)][_0x4c6970(0x3cc)]((0x0,rxjs[_0x4c6970(0x1f1)])(_0x5a4aed=>{const _0x38adbe=_0x4c6970;var _0x2d51a4;return((_0x2d51a4=_0x5a4aed[_0x38adbe(0x46f)])===null||_0x2d51a4===void 0x0?void 0x0:_0x2d51a4[_0x38adbe(0x5f0)])||void 0x0;}));}})),_0x383ab8[_0xe94cfe(0x443)](_0xe94cfe(0x4b1),_0x2ef668=>({'set'(_0x4f3b1e){const _0x2a5a85=_0xe94cfe;_0x383ab8[_0x2a5a85(0x26f)]({'chartModelId':_0x2ef668['id'],'context':{'bubbleSizeSeriesId':_0x4f3b1e}});},'get'(){const _0x44b384=_0xe94cfe;return _0x2ef668['context$']['pipe']((0x0,rxjs[_0x44b384(0x1f1)])(_0x28ed94=>_0x28ed94[_0x44b384(0x4b1)]||void 0x0));}})),_0x383ab8[_0xe94cfe(0x443)]('bubbleXAxis',_0x1dd833=>({'set'(_0x477270){_0x383ab8['executeChartUpdateConfig']({'chartModelId':_0x1dd833['id'],'context':{'bubbleXAxis':_0x477270}});},'get'(){const _0x3dfa97=_0xe94cfe;return _0x1dd833[_0x3dfa97(0x1bb)][_0x3dfa97(0x3cc)]((0x0,rxjs[_0x3dfa97(0x1f1)])(_0xc2d2f8=>{const _0x3785aa=_0x3dfa97;var _0x3dd9c0;return(_0x3dd9c0=_0xc2d2f8[_0x3785aa(0x26c)])!==null&&_0x3dd9c0!==void 0x0?_0x3dd9c0:void 0x0;}));}})),_0x383ab8[_0xe94cfe(0x443)]('bubbleYAxis',_0x495786=>({'set'(_0x422982){_0x383ab8['executeChartUpdateConfig']({'chartModelId':_0x495786['id'],'context':{'bubbleYAxis':_0x422982}});},'get'(){const _0x3692b3=_0xe94cfe;return _0x495786[_0x3692b3(0x1bb)]['pipe']((0x0,rxjs[_0x3692b3(0x1f1)])(_0x9c6026=>{const _0x3f0a04=_0x3692b3;var _0x226486;return(_0x226486=_0x9c6026[_0x3f0a04(0x313)])!==null&&_0x226486!==void 0x0?_0x226486:void 0x0;}));}})),_0x383ab8['registerViewState'](_0xe94cfe(0x3df),_0x41882c=>({'set'(_0x453959){const _0x90bdec=_0xe94cfe;_0x383ab8[_0x90bdec(0x26f)]({'chartModelId':_0x41882c['id'],'context':{'bubbleLabel':_0x453959}});},'get'(){const _0x330cf9=_0xe94cfe;return _0x41882c[_0x330cf9(0x1bb)][_0x330cf9(0x3cc)]((0x0,rxjs['map'])(_0x608705=>{const _0x5ae451=_0x330cf9;var _0x330174;return(_0x330174=_0x608705[_0x5ae451(0x3df)])!==null&&_0x330174!==void 0x0?_0x330174:void 0x0;}));}})),_0x383ab8[_0xe94cfe(0x443)](_0xe94cfe(0x2f1),_0x1a1517=>({'set'(_0x2d22d0){const _0xf4765c=_0xe94cfe;_0x383ab8[_0xf4765c(0x26f)]({'chartModelId':_0x1a1517['id'],'context':{'bubbleSeries':_0x2d22d0}});},'get'(){const _0x4c0443=_0xe94cfe;return _0x1a1517[_0x4c0443(0x1bb)][_0x4c0443(0x3cc)]((0x0,rxjs['map'])(_0x203404=>{const _0x95897a=_0x4c0443;var _0xbe09;return(_0xbe09=_0x203404[_0x95897a(0x2f1)])!==null&&_0xbe09!==void 0x0?_0xbe09:void 0x0;}));}})),_0x383ab8[_0xe94cfe(0x443)](_0xe94cfe(0x2eb),_0x5b5b29=>({'set'(_0x3fc896){const _0x55ac1e=_0xe94cfe;_0x383ab8[_0x55ac1e(0x26f)]({'chartModelId':_0x5b5b29['id'],'style':{'relation':{'layout':_0x3fc896}}});},'get'(){const _0x4b011c=_0xe94cfe;return _0x5b5b29[_0x4b011c(0x5ba)]['pipe']((0x0,rxjs[_0x4b011c(0x1f1)])(_0x4ad1b6=>{const _0x40f2eb=_0x4b011c;var _0x17dcae;return(_0x17dcae=_0x4ad1b6[_0x40f2eb(0x1de)])===null||_0x17dcae===void 0x0?void 0x0:_0x17dcae[_0x40f2eb(0x4a1)];}),(0x0,rxjs[_0x4b011c(0x450)])());}})),_0x383ab8[_0xe94cfe(0x443)](_0xe94cfe(0x43e),_0x289201=>({'set'(_0x573b16){const _0x33ca36=_0xe94cfe;_0x383ab8[_0x33ca36(0x26f)]({'chartModelId':_0x289201['id'],'style':{'relation':{'useValueAsSymbolSize':Boolean(_0x573b16)}}});},'get'(){const _0x1d5633=_0xe94cfe;return _0x289201[_0x1d5633(0x5ba)][_0x1d5633(0x3cc)]((0x0,rxjs[_0x1d5633(0x1f1)])(_0x3810ca=>{const _0x7c684c=_0x1d5633;var _0x3a8134;return(_0x3a8134=_0x3810ca[_0x7c684c(0x1de)])===null||_0x3a8134===void 0x0?void 0x0:_0x3a8134[_0x7c684c(0x43e)];}),(0x0,rxjs[_0x1d5633(0x450)])());}})),_0x383ab8['registerViewState']('forceOption',_0x149821=>({'set'(_0x57e333){_0x383ab8['executeChartUpdateConfig']({'chartModelId':_0x149821['id'],'style':{'relation':{'force':_0x57e333}}});},'get'(){const _0xdee7b6=_0xe94cfe;return _0x149821['style$'][_0xdee7b6(0x3cc)]((0x0,rxjs[_0xdee7b6(0x1f1)])(_0x40bf3f=>{const _0x34d8bc=_0xdee7b6;var _0x3b7aa3;return(_0x3b7aa3=_0x40bf3f[_0x34d8bc(0x1de)])===null||_0x3b7aa3===void 0x0?void 0x0:_0x3b7aa3[_0x34d8bc(0x5b2)];}),(0x0,rxjs['distinctUntilChanged'])());}})),_0x383ab8[_0xe94cfe(0x443)]('rotateLabel',_0x299192=>({'set'(_0x1b0c52){_0x383ab8['executeChartUpdateConfig']({'chartModelId':_0x299192['id'],'style':{'relation':{'circular':{'rotateLabel':Boolean(_0x1b0c52)}}}});},'get'(){const _0x26bd7e=_0xe94cfe;return _0x299192['style$']['pipe']((0x0,rxjs[_0x26bd7e(0x1f1)])(_0x249540=>{const _0x1c3766=_0x26bd7e;var _0x48d4aa;return(_0x48d4aa=_0x249540[_0x1c3766(0x1de)])===null||_0x48d4aa===void 0x0||(_0x48d4aa=_0x48d4aa['circular'])===null||_0x48d4aa===void 0x0?void 0x0:_0x48d4aa[_0x1c3766(0x150)];}),(0x0,rxjs[_0x26bd7e(0x450)])());}})),_0x383ab8['registerViewState'](_0xe94cfe(0x1e6),_0x534ac5=>({'set'(_0x3413fc){const _0x341464=_0xe94cfe;_0x383ab8[_0x341464(0x26f)]({'chartModelId':_0x534ac5['id'],'style':{'relation':{'nodeShape':_0x3413fc}}});},'get'(){const _0x584355=_0xe94cfe;return _0x534ac5[_0x584355(0x5ba)][_0x584355(0x3cc)]((0x0,rxjs[_0x584355(0x1f1)])(_0x3786ee=>{const _0x530d02=_0x584355;var _0x4016ee;return(_0x4016ee=_0x3786ee[_0x530d02(0x1de)])===null||_0x4016ee===void 0x0?void 0x0:_0x4016ee[_0x530d02(0x4b8)];}),(0x0,rxjs['distinctUntilChanged'])());}})),_0x383ab8[_0xe94cfe(0x443)](_0xe94cfe(0x429),_0x39f688=>({'set'(_0x4ce729){const _0xe9de93=_0xe94cfe;_0x383ab8[_0xe9de93(0x26f)]({'chartModelId':_0x39f688['id'],'style':{'relation':{'useEmphasis':Boolean(_0x4ce729)}}});},'get'(){const _0x2504e2=_0xe94cfe;return _0x39f688[_0x2504e2(0x5ba)][_0x2504e2(0x3cc)]((0x0,rxjs[_0x2504e2(0x1f1)])(_0x7392c7=>{const _0xae09d0=_0x2504e2;var _0x10ff38;return(_0x10ff38=_0x7392c7['relation'])===null||_0x10ff38===void 0x0?void 0x0:_0x10ff38[_0xae09d0(0x429)];}),(0x0,rxjs[_0x2504e2(0x450)])());}})),_0x383ab8[_0xe94cfe(0x443)](_0xe94cfe(0x30b),_0x40b64c=>({'set'(_0xf1e8fd){const _0x4d041d=_0xe94cfe;_0x383ab8[_0x4d041d(0x26f)]({'chartModelId':_0x40b64c['id'],'context':{'useDateAxis':Boolean(_0xf1e8fd)}});},'get'(){const _0x32488c=_0xe94cfe;return _0x40b64c[_0x32488c(0x1bb)][_0x32488c(0x3cc)]((0x0,rxjs[_0x32488c(0x1f1)])(_0x683133=>_0x683133['useDateAxis']),(0x0,rxjs['distinctUntilChanged'])());}})),_0x383ab8[_0xe94cfe(0x443)](_0xe94cfe(0x52c),_0x3f7374=>({'set'(_0x2a1d71){const _0xcd0324=_0xe94cfe;_0x383ab8[_0xcd0324(0x26f)]({'chartModelId':_0x3f7374['id'],'style':{'waterfall':{'stackType':_0x2a1d71}}});},'get'(){const _0x3bbeac=_0xe94cfe;return _0x3f7374[_0x3bbeac(0x5ba)][_0x3bbeac(0x3cc)]((0x0,rxjs[_0x3bbeac(0x1f1)])(_0x2abfa9=>{const _0x501f81=_0x3bbeac;var _0x2db1c3;return(_0x2db1c3=_0x2abfa9['waterfall'])===null||_0x2db1c3===void 0x0?void 0x0:_0x2db1c3[_0x501f81(0x26a)];}),(0x0,rxjs['distinctUntilChanged'])());}})),_0x383ab8[_0xe94cfe(0x443)](_0xe94cfe(0x21c),_0x106bde=>({'set'(_0x4d4397){const _0x32b85a=_0xe94cfe;_0x383ab8[_0x32b85a(0x26f)]({'chartModelId':_0x106bde['id'],'style':{'waterfall':{'useSubtotal':_0x4d4397}}});},'get'(){const _0xbe06fd=_0xe94cfe;return _0x106bde[_0xbe06fd(0x5ba)][_0xbe06fd(0x3cc)]((0x0,rxjs['map'])(_0x2da593=>{const _0xa0f606=_0xbe06fd;var _0x10e42f;return(_0x10e42f=_0x2da593['waterfall'])===null||_0x10e42f===void 0x0?void 0x0:_0x10e42f[_0xa0f606(0x21c)];}),(0x0,rxjs[_0xbe06fd(0x450)])());}})),_0x383ab8['registerViewState'](_0xe94cfe(0x1da),_0x595845=>({'set'(_0x333a5a){_0x383ab8['executeChartUpdateConfig']({'chartModelId':_0x595845['id'],'style':{'pareto':_0x333a5a}});},'get'(){const _0x7a1be3=_0xe94cfe;return _0x595845['style$'][_0x7a1be3(0x3cc)]((0x0,rxjs[_0x7a1be3(0x1f1)])(_0x4334a3=>_0x4334a3[_0x7a1be3(0x1fb)]),(0x0,rxjs[_0x7a1be3(0x450)])());}})),_0x383ab8[_0xe94cfe(0x443)](_0xe94cfe(0x2c0),_0x3fd137=>{const _0x131c1f=_0xe94cfe;return _0x3fd137[_0x131c1f(0x154)][_0x131c1f(0x3cc)]((0x0,rxjs['map'])(_0x53befb=>{const _0x4b0070=_0x131c1f;var _0x598128;const _0x4c942d=_0x53befb===null||_0x53befb===void 0x0||(_0x598128=_0x53befb['category'])===null||_0x598128===void 0x0?void 0x0:_0x598128[_0x4b0070(0x1b0)],_0x2901c2=new Map();return _0x53befb===null||_0x53befb===void 0x0||_0x53befb[_0x4b0070(0x34d)][0x0][_0x4b0070(0x1b0)]['forEach']((_0x39cc68,_0x22e688)=>{const _0x53fa15=_0x4b0070,_0x29602f=_0x4c942d?String(_0x4c942d[_0x22e688]['value']):_0x383ab8['t']('chart.theIndexItem',''+(_0x22e688+0x1));if(!_0x2901c2[_0x53fa15(0x416)](_0x29602f))_0x2901c2[_0x53fa15(0x38b)](_0x29602f,_0x39cc68[_0x53fa15(0x46a)]);}),Array['from'](_0x2901c2[_0x4b0070(0x58d)]())['filter'](_0x5c01fc=>_0x5c01fc[0x1]>0x0)[_0x4b0070(0x3cd)]((_0x2140f4,_0x1c001d)=>_0x1c001d[0x1]-_0x2140f4[0x1])[_0x4b0070(0x1f1)]((_0x52323b,_0x36d5b6)=>{const _0x177b64=_0x4b0070;return{'label':_0x52323b[0x0]||_0x383ab8['t'](_0x177b64(0x449),''+(_0x36d5b6+0x1)),'value':''+_0x36d5b6};});}));}),_0x383ab8['registerViewState']('visualMapType',_0x7ef689=>({'set'(_0x481a40){_0x383ab8['executeChartUpdateConfig']({'chartModelId':_0x7ef689['id'],'style':{'heatmap':{'visualMapType':_0x481a40}}});},'get'(){const _0x201bc8=_0xe94cfe;return _0x7ef689['style$'][_0x201bc8(0x3cc)]((0x0,rxjs['map'])(_0x5d3767=>{const _0x27f3e8=_0x201bc8;var _0x363fc3;return(_0x363fc3=_0x5d3767[_0x27f3e8(0x1fd)])===null||_0x363fc3===void 0x0?void 0x0:_0x363fc3[_0x27f3e8(0x256)];}),(0x0,rxjs[_0x201bc8(0x450)])());}})),_0x383ab8[_0xe94cfe(0x443)](_0xe94cfe(0x180),_0x37053a=>({'set'(_0x293d47){const _0x30c89d=_0xe94cfe;_0x383ab8[_0x30c89d(0x26f)]({'chartModelId':_0x37053a['id'],'style':{'heatmap':{'max':_0x293d47}}});},'get'(){const _0x2f5f9a=_0xe94cfe;return _0x37053a[_0x2f5f9a(0x5ba)]['pipe']((0x0,rxjs[_0x2f5f9a(0x1f1)])(_0x4f265e=>{const _0x2fee52=_0x2f5f9a;var _0xf15193;return(_0xf15193=_0x4f265e[_0x2fee52(0x1fd)])===null||_0xf15193===void 0x0?void 0x0:_0xf15193[_0x2fee52(0x268)];}),(0x0,rxjs['distinctUntilChanged'])());}})),_0x383ab8[_0xe94cfe(0x443)](_0xe94cfe(0x1db),_0x1404e5=>({'set'(_0x435f6f){_0x383ab8['executeChartUpdateConfig']({'chartModelId':_0x1404e5['id'],'style':{'heatmap':{'min':_0x435f6f}}});},'get'(){const _0x3845e6=_0xe94cfe;return _0x1404e5[_0x3845e6(0x5ba)]['pipe']((0x0,rxjs[_0x3845e6(0x1f1)])(_0x561a83=>{const _0x4b202e=_0x3845e6;var _0x471b80;return(_0x471b80=_0x561a83[_0x4b202e(0x1fd)])===null||_0x471b80===void 0x0?void 0x0:_0x471b80[_0x4b202e(0x5c7)];}),(0x0,rxjs[_0x3845e6(0x450)])());}}));}let SheetsChartUIService=class SheetsChartUIService extends _univerjs_core['Disposable']{constructor(_0x1f4cda,_0x23682d,_0x22240a,_0x57e89c,_0x58f6ff,_0xd30aec){const _0x288e16=_0x94e517;super(),this[_0x288e16(0x293)]=_0x1f4cda,this[_0x288e16(0x3ab)]=_0x23682d,this['_commandService']=_0x22240a,this[_0x288e16(0x2bb)]=_0x57e89c,this[_0x288e16(0x472)]=_0x58f6ff,this[_0x288e16(0x46c)]=_0xd30aec,_defineProperty(this,_0x288e16(0x1f0),new Map()),_defineProperty(this,_0x288e16(0x28e),![]),registryChartConfigState(this);}get['activeChartModel'](){const _0x30e7a8=_0x94e517;return this[_0x30e7a8(0x293)][_0x30e7a8(0x37f)];}get['rangeSelectMode'](){const _0x4bb1b2=_0x94e517;return this[_0x4bb1b2(0x28e)];}set[_0x94e517(0x432)](_0x4ce683){this['_rangeSelectMode']=_0x4ce683;}['getDataSource'](_0x207222){const _0x4415f1=_0x94e517;return this[_0x4415f1(0x3ab)][_0x4415f1(0x176)](_0x207222);}[_0x94e517(0x443)](_0x32cb7b,_0xbbfb9f){const _0x46fa82=_0x94e517;this[_0x46fa82(0x1f0)][_0x46fa82(0x38b)](_0x32cb7b,_0xbbfb9f);}['getViewState'](_0x5ed0b8){const _0x3e61e1=_0x94e517,{activeChartModel:_0x511fc7}=this[_0x3e61e1(0x293)];if(!_0x511fc7)return;const _0x59b3c1=this[_0x3e61e1(0x1f0)][_0x3e61e1(0x40a)](_0x5ed0b8);if(_0x59b3c1)return _0x59b3c1(_0x511fc7);}[_0x94e517(0x26f)](_0x233a13){const _0x17c7d4=_0x94e517;var _0x24ce66,_0x2f7766;this[_0x17c7d4(0x3b5)][_0x17c7d4(0x22d)](_univerjs_pro_sheets_chart[_0x17c7d4(0x45f)]['id'],{..._0x233a13,'unitId':(_0x24ce66=(_0x2f7766=this[_0x17c7d4(0x46c)][_0x17c7d4(0x367)]())===null||_0x2f7766===void 0x0?void 0x0:_0x2f7766['getUnitId']())!==null&&_0x24ce66!==void 0x0?_0x24ce66:''});}[_0x94e517(0x266)](_0x13aaff){const _0x3b7bb8=_0x94e517;var _0x493683,_0x63242d;this['_commandService']['executeCommand'](_univerjs_pro_sheets_chart[_0x3b7bb8(0x304)]['id'],{..._0x13aaff,'unitId':(_0x493683=(_0x63242d=this[_0x3b7bb8(0x46c)][_0x3b7bb8(0x367)]())===null||_0x63242d===void 0x0?void 0x0:_0x63242d[_0x3b7bb8(0x5f4)]())!==null&&_0x493683!==void 0x0?_0x493683:''});}[_0x94e517(0x542)](_0x3aae57){const _0x161683=_0x94e517,{_viewState:_0x551379}=this;if(_0x551379[_0x161683(0x416)](_0x3aae57))_0x551379[_0x161683(0x51f)](_0x3aae57);}['setBorder'](_0xe768e7,_0x345b56){const _0x1e1c49=_0x94e517;this[_0x1e1c49(0x472)][_0x1e1c49(0x438)](_0xe768e7,{'stroke':_0x345b56});}['t'](..._0x253394){const _0xd7137c=_0x94e517;return this[_0xd7137c(0x2bb)]['t'](..._0x253394);}[_0x94e517(0x25d)](){const _0x255a27=_0x94e517;super[_0x255a27(0x25d)](),this['_viewState']['clear']();}};SheetsChartUIService=__decorate([__decorateParam(0x0,(0x0,_univerjs_core['Inject'])(_univerjs_pro_sheets_chart[_0x94e517(0x24c)])),__decorateParam(0x1,(0x0,_univerjs_core[_0x94e517(0x362)])(_univerjs_pro_sheets_chart[_0x94e517(0x22a)])),__decorateParam(0x2,_univerjs_core['ICommandService']),__decorateParam(0x3,(0x0,_univerjs_core[_0x94e517(0x362)])(_univerjs_core[_0x94e517(0x4e1)])),__decorateParam(0x4,(0x0,_univerjs_core[_0x94e517(0x362)])(IChartHostProviderService)),__decorateParam(0x5,_univerjs_core[_0x94e517(0x528)])],SheetsChartUIService);function useSheetsChartUIService(){const _0x44bb99=_0x94e517,_0x50604c=(0x0,_univerjs_ui[_0x44bb99(0x4c1)])(SheetsChartUIService);return(0x0,_univerjs_ui['useObservable'])((0x0,_univerjs_ui[_0x44bb99(0x4c1)])(_univerjs_pro_sheets_chart[_0x44bb99(0x24c)])['activeChartModel$']),_0x50604c;}function useChartConfigState(_0x50d498,_0x1547de,_0x10016e){const _0x4cb765=_0x94e517,_0x383bb7=(0x0,react[_0x4cb765(0x3dc)])(()=>_0x1547de[_0x4cb765(0x1a1)](_0x50d498),[_0x1547de,_0x1547de[_0x4cb765(0x37f)],_0x50d498]);return[(0x0,_univerjs_ui[_0x4cb765(0x230)])((0x0,react[_0x4cb765(0x3dc)])(()=>_0x383bb7 instanceof rxjs[_0x4cb765(0x310)]?_0x383bb7:_0x383bb7===null||_0x383bb7===void 0x0?void 0x0:_0x383bb7[_0x4cb765(0x40a)](),[_0x383bb7]),_0x10016e),(0x0,react[_0x4cb765(0x177)])(_0x370dd1=>{const _0x85d9b6=_0x4cb765;if(!(_0x383bb7 instanceof rxjs[_0x85d9b6(0x310)])){var _0x8e984d;_0x383bb7===null||_0x383bb7===void 0x0||(_0x8e984d=_0x383bb7['set'])===null||_0x8e984d===void 0x0||_0x8e984d[_0x85d9b6(0x5e1)](_0x383bb7,_0x370dd1);}},[_0x383bb7])];}function serializeChartDataRange(_0x38f5ff,_0xb96545){const _0x5bb58d=_0x94e517;if(_0x38f5ff===null||_0x38f5ff===void 0x0)return'';if(Array[_0x5bb58d(0x56f)](_0x38f5ff))return'';else return serializeChartDataRangeItem(_0x38f5ff[_0x5bb58d(0x350)],_0xb96545);}function serializeChartDataRangeItem(_0x5e6e2a,_0x556d40){const _0x39f3c5=_0x94e517;var _0x5cdcb6;const {unitId:_0x2ec2ba,subUnitId:_0x9bc837,range:_0x392d0b}=_0x5e6e2a,_0x5f53e4=(_0x5cdcb6=_0x556d40[_0x39f3c5(0x502)](_0x2ec2ba))===null||_0x5cdcb6===void 0x0?void 0x0:_0x5cdcb6[_0x39f3c5(0x4f7)](_0x9bc837);if(!_0x5f53e4)return'';return(0x0,_univerjs_engine_formula['serializeRangeWithSheet'])(_0x5f53e4[_0x39f3c5(0x53c)](),_0x392d0b);}const chartTypeOptions=[{'label':_0x94e517(0x249),'value':_univerjs_pro_engine_chart[_0x94e517(0x278)]['Line'],'icon':_0x94e517(0x1bd)},{'label':'chartTypes.column','value':_univerjs_pro_engine_chart[_0x94e517(0x278)]['Column'],'icon':'ColumnChartIcon'},{'label':_0x94e517(0x189),'value':_univerjs_pro_engine_chart['ChartTypeBits'][_0x94e517(0x4ea)],'icon':_0x94e517(0x555)},{'label':'chartTypes.bar','value':_univerjs_pro_engine_chart[_0x94e517(0x278)][_0x94e517(0x2cf)],'icon':_0x94e517(0x4d6)},{'label':_0x94e517(0x1cd),'value':_univerjs_pro_engine_chart[_0x94e517(0x278)][_0x94e517(0x4e3)],'icon':_0x94e517(0x4d6)},{'label':_0x94e517(0x524),'value':_univerjs_pro_engine_chart[_0x94e517(0x278)]['BarPercentStacked'],'icon':'BarChartIcon'},{'label':'chartTypes.donut','value':_univerjs_pro_engine_chart[_0x94e517(0x278)][_0x94e517(0x22e)],'icon':'PieChartIcon'},{'label':_0x94e517(0x4dc),'value':_univerjs_pro_engine_chart['ChartTypeBits'][_0x94e517(0x1f2)],'icon':_0x94e517(0x14b)},{'label':_0x94e517(0x5e9),'value':_univerjs_pro_engine_chart['ChartTypeBits'][_0x94e517(0x18c)],'icon':_0x94e517(0x14b)},{'label':_0x94e517(0x318),'value':_univerjs_pro_engine_chart[_0x94e517(0x278)]['AreaPercentStacked'],'icon':_0x94e517(0x14b)},{'label':'chartTypes.radar','value':_univerjs_pro_engine_chart[_0x94e517(0x278)]['Radar'],'icon':_0x94e517(0x151)},{'label':_0x94e517(0x16f),'value':_univerjs_pro_engine_chart[_0x94e517(0x278)][_0x94e517(0x270)],'icon':_0x94e517(0x370)},{'label':_0x94e517(0x50d),'value':_univerjs_pro_engine_chart[_0x94e517(0x278)]['Scatter'],'icon':_0x94e517(0x317)},{'label':_0x94e517(0x5a9),'value':_univerjs_pro_engine_chart[_0x94e517(0x278)][_0x94e517(0x440)],'icon':_0x94e517(0x388)},{'label':'chartTypes.funnel','value':_univerjs_pro_engine_chart[_0x94e517(0x278)][_0x94e517(0x25c)],'icon':_0x94e517(0x25b)},{'label':'chartTypes.bubble','value':_univerjs_pro_engine_chart[_0x94e517(0x278)][_0x94e517(0x29b)],'icon':_0x94e517(0x3a6)},{'label':_0x94e517(0x4ef),'value':_univerjs_pro_engine_chart[_0x94e517(0x278)]['Relation'],'icon':_0x94e517(0x3f5)},{'label':'chartTypes.waterfall','value':_univerjs_pro_engine_chart['ChartTypeBits']['Waterfall'],'icon':_0x94e517(0x2b1)},{'label':_0x94e517(0x1c1),'value':_univerjs_pro_engine_chart[_0x94e517(0x278)][_0x94e517(0x4e7)],'icon':_0x94e517(0x370)},{'label':'chartTypes.sankey','value':_univerjs_pro_engine_chart[_0x94e517(0x278)][_0x94e517(0x545)],'icon':_0x94e517(0x345)},{'label':_0x94e517(0x187),'value':_univerjs_pro_engine_chart[_0x94e517(0x278)][_0x94e517(0x3b3)],'icon':_0x94e517(0x3af)},{'label':_0x94e517(0x572),'value':_univerjs_pro_engine_chart['ChartTypeBits']['Boxplot'],'icon':_0x94e517(0x193)}];function getChartMenuSelection(){return chartTypeOptions;}const getOptionsList=(_0x26e1be,_0x51b61b)=>{const _0xec8b82=_0x94e517;if(_0x51b61b[_0xec8b82(0x22b)]===0x1&&_0x51b61b[0x0]===_0xec8b82(0x1fa))return _0x26e1be;if(_0x51b61b[_0xec8b82(0x22b)]>0x1){const _0xfe044a=new Set();for(const _0x5e7cee of _0x51b61b)_0xfe044a[_0xec8b82(0x199)](Number(_0x5e7cee));return _0x26e1be[_0xec8b82(0x5b4)](_0x2b1e0e=>{const _0x367ae2=_0xec8b82;return _0xfe044a[_0x367ae2(0x416)](_0x2b1e0e['value']);});}return[];},defaultOption={'label':'chart.default','value':'__default__'},chartTypeToIcon={[_univerjs_pro_engine_chart[_0x94e517(0x278)]['Line']]:(0x0,react_jsx_runtime[_0x94e517(0x1f8)])(_univerjs_icons[_0x94e517(0x1bd)],{}),[_univerjs_pro_engine_chart[_0x94e517(0x278)]['Column']]:(0x0,react_jsx_runtime['jsx'])(_univerjs_icons[_0x94e517(0x54b)],{}),[_univerjs_pro_engine_chart[_0x94e517(0x278)][_0x94e517(0x2cf)]]:(0x0,react_jsx_runtime[_0x94e517(0x1f8)])(_univerjs_icons[_0x94e517(0x4d6)],{}),[_univerjs_pro_engine_chart[_0x94e517(0x278)][_0x94e517(0x4e3)]]:(0x0,react_jsx_runtime['jsx'])(_univerjs_icons[_0x94e517(0x4d6)],{}),[_univerjs_pro_engine_chart[_0x94e517(0x278)][_0x94e517(0x269)]]:(0x0,react_jsx_runtime[_0x94e517(0x1f8)])(_univerjs_icons[_0x94e517(0x4d6)],{}),[_univerjs_pro_engine_chart['ChartTypeBits'][_0x94e517(0x4ea)]]:(0x0,react_jsx_runtime['jsx'])(_univerjs_icons[_0x94e517(0x555)],{}),[_univerjs_pro_engine_chart[_0x94e517(0x278)]['Doughnut']]:(0x0,react_jsx_runtime['jsx'])(_univerjs_icons[_0x94e517(0x555)],{}),[_univerjs_pro_engine_chart['ChartTypeBits'][_0x94e517(0x1f2)]]:(0x0,react_jsx_runtime[_0x94e517(0x1f8)])(_univerjs_icons[_0x94e517(0x14b)],{}),[_univerjs_pro_engine_chart[_0x94e517(0x278)][_0x94e517(0x18c)]]:(0x0,react_jsx_runtime[_0x94e517(0x1f8)])(_univerjs_icons[_0x94e517(0x14b)],{}),[_univerjs_pro_engine_chart['ChartTypeBits'][_0x94e517(0x30a)]]:(0x0,react_jsx_runtime[_0x94e517(0x1f8)])(_univerjs_icons[_0x94e517(0x14b)],{}),[_univerjs_pro_engine_chart['ChartTypeBits'][_0x94e517(0x22f)]]:(0x0,react_jsx_runtime[_0x94e517(0x1f8)])(_univerjs_icons[_0x94e517(0x151)],{}),[_univerjs_pro_engine_chart[_0x94e517(0x278)][_0x94e517(0x270)]]:(0x0,react_jsx_runtime[_0x94e517(0x1f8)])(_univerjs_icons[_0x94e517(0x370)],{}),[_univerjs_pro_engine_chart['ChartTypeBits'][_0x94e517(0x1c0)]]:(0x0,react_jsx_runtime['jsx'])(_univerjs_icons[_0x94e517(0x317)],{}),[_univerjs_pro_engine_chart[_0x94e517(0x278)][_0x94e517(0x51c)]]:void 0x0,[_univerjs_pro_engine_chart[_0x94e517(0x278)][_0x94e517(0x300)]]:(0x0,react_jsx_runtime['jsx'])(_univerjs_icons[_0x94e517(0x54b)],{}),[_univerjs_pro_engine_chart['ChartTypeBits'][_0x94e517(0x3b6)]]:(0x0,react_jsx_runtime[_0x94e517(0x1f8)])(_univerjs_icons[_0x94e517(0x54b)],{}),[_univerjs_pro_engine_chart[_0x94e517(0x278)][_0x94e517(0x440)]]:(0x0,react_jsx_runtime['jsx'])(_univerjs_icons[_0x94e517(0x2b9)],{}),[_univerjs_pro_engine_chart[_0x94e517(0x278)]['Funnel']]:(0x0,react_jsx_runtime[_0x94e517(0x1f8)])(_univerjs_icons[_0x94e517(0x25b)],{}),[_univerjs_pro_engine_chart['ChartTypeBits'][_0x94e517(0x29b)]]:(0x0,react_jsx_runtime[_0x94e517(0x1f8)])(_univerjs_icons[_0x94e517(0x3a6)],{}),[_univerjs_pro_engine_chart[_0x94e517(0x278)][_0x94e517(0x32b)]]:(0x0,react_jsx_runtime[_0x94e517(0x1f8)])(_univerjs_icons['RelationshipIcon'],{}),[_univerjs_pro_engine_chart[_0x94e517(0x278)][_0x94e517(0x3f3)]]:(0x0,react_jsx_runtime[_0x94e517(0x1f8)])(_univerjs_icons['WaterfallChartIcon'],{}),[_univerjs_pro_engine_chart[_0x94e517(0x278)][_0x94e517(0x4e7)]]:(0x0,react_jsx_runtime[_0x94e517(0x1f8)])(_univerjs_icons['ComboChartIcon'],{}),[_univerjs_pro_engine_chart[_0x94e517(0x278)]['Sankey']]:(0x0,react_jsx_runtime['jsx'])(_univerjs_icons[_0x94e517(0x5fb)],{}),[_univerjs_pro_engine_chart[_0x94e517(0x278)][_0x94e517(0x3b3)]]:(0x0,react_jsx_runtime[_0x94e517(0x1f8)])(_univerjs_icons['HeatmapIcon'],{}),[_univerjs_pro_engine_chart['ChartTypeBits']['Boxplot']]:(0x0,react_jsx_runtime['jsx'])(_univerjs_icons[_0x94e517(0x193)],{})},seriesChartTypeOptions=chartTypeOptions['filter'](_0x489dc8=>{const _0x2a6a8b=_0x94e517;return[_univerjs_pro_engine_chart[_0x2a6a8b(0x278)][_0x2a6a8b(0x19c)],_univerjs_pro_engine_chart[_0x2a6a8b(0x278)][_0x2a6a8b(0x562)],_univerjs_pro_engine_chart['ChartTypeBits'][_0x2a6a8b(0x1f2)]][_0x2a6a8b(0x1f1)](_0x10cee5=>String(_0x10cee5))[_0x2a6a8b(0x244)](String(_0x489dc8[_0x2a6a8b(0x46a)]));})['map'](({label:_0x452fa6,value:_0x2eeda3})=>{return{'label':_0x452fa6,'value':String(_0x2eeda3)};}),titleOptions=[{'label':_0x94e517(0x2f5),'value':'title'},{'label':'chart.titles.xAxisTitle','value':_0x94e517(0x46d)},{'label':_0x94e517(0x540),'value':_0x94e517(0x4c0)},{'label':'chart.titles.rightYAxisTitle','value':'rightYAxisTitle'}],fontSizeOptions=[{'label':'10','value':'10'},{'label':'12','value':'12'},{'label':'14','value':'14'},{'label':'16','value':'16'},{'label':'18','value':'18'},{'label':'20','value':'20'},{'label':'24','value':'24'},{'label':'30','value':'30'},{'label':'36','value':'36'}],textAlignOptions=[{'label':_0x94e517(0x5f7),'value':_0x94e517(0x45c)},{'label':'chart.align.center','value':_0x94e517(0x1b3)},{'label':_0x94e517(0x56b),'value':_0x94e517(0x1a6)}];function getAllSeriesOption(){const _0x2ecebd=_0x94e517;return{'label':_0x2ecebd(0x2b5),'value':_univerjs_pro_engine_chart[_0x2ecebd(0x491)][_0x2ecebd(0x260)]};}const lineOpacityOptions=[0x1,0.9,0.7,0.5,0.3,0.2,0.1,0x0]['map'](_0x122f5d=>({'label':_0x122f5d*0x64+'%','value':String(_0x122f5d)})),borderDashTypeOptions=[{'label':_0x94e517(0x333),'value':_univerjs_pro_engine_chart[_0x94e517(0x42e)][_0x94e517(0x225)]},{'label':_0x94e517(0x481),'value':_univerjs_pro_engine_chart[_0x94e517(0x42e)]['Dashed']},{'label':_0x94e517(0x35c),'value':_univerjs_pro_engine_chart['ChartBorderDashType'][_0x94e517(0x3f6)]}],linePointShapeOptions=[{'label':_0x94e517(0x5cf),'value':_univerjs_pro_engine_chart['LinePointShape'][_0x94e517(0x522)]},{'label':'chart.shape.square','value':_univerjs_pro_engine_chart[_0x94e517(0x1d9)]['Square']},{'label':'chart.shape.triangle','value':_univerjs_pro_engine_chart[_0x94e517(0x1d9)]['Triangle']},{'label':'chart.shape.diamond','value':_univerjs_pro_engine_chart[_0x94e517(0x1d9)][_0x94e517(0x585)]},{'label':_0x94e517(0x2b8),'value':_univerjs_pro_engine_chart[_0x94e517(0x1d9)][_0x94e517(0x54c)]},{'label':_0x94e517(0x401),'value':_univerjs_pro_engine_chart[_0x94e517(0x1d9)][_0x94e517(0x5e6)]},{'label':'chart.shape.pin','value':_univerjs_pro_engine_chart['LinePointShape'][_0x94e517(0x474)]},{'label':_0x94e517(0x47c),'value':_univerjs_pro_engine_chart[_0x94e517(0x1d9)][_0x94e517(0x42f)]},{'label':_0x94e517(0x5e2),'value':_univerjs_pro_engine_chart[_0x94e517(0x1d9)][_0x94e517(0x51c)]},{'label':_0x94e517(0x4c2),'value':_univerjs_pro_engine_chart[_0x94e517(0x1d9)]['EmptyCircle']},{'label':_0x94e517(0x4f9),'value':_univerjs_pro_engine_chart['LinePointShape'][_0x94e517(0x213)]},{'label':_0x94e517(0x241),'value':_univerjs_pro_engine_chart[_0x94e517(0x1d9)][_0x94e517(0x565)]},{'label':_0x94e517(0x39b),'value':_univerjs_pro_engine_chart[_0x94e517(0x1d9)][_0x94e517(0x508)]},{'label':_0x94e517(0x561),'value':_univerjs_pro_engine_chart['LinePointShape']['EmptyRect']},{'label':_0x94e517(0x17a),'value':_univerjs_pro_engine_chart[_0x94e517(0x1d9)][_0x94e517(0x497)]},{'label':_0x94e517(0x36c),'value':_univerjs_pro_engine_chart['LinePointShape'][_0x94e517(0x5d5)]},{'label':_0x94e517(0x564),'value':_univerjs_pro_engine_chart[_0x94e517(0x1d9)]['EmptyArrow']}],linePointSizeOptions=[0x0,0x2,0x5,0x7,0xa,0xe]['map'](_0x14f29b=>({'label':_0x14f29b+'px','value':String(_0x14f29b)})),borderWidthOptions=[0x0,0x1,0x2,0x4,0x8][_0x94e517(0x1f1)](_0xe0cf2b=>({'label':_0xe0cf2b+'px','value':String(_0xe0cf2b)})),axisLabelRotateOptions=[-0x5a,-0x3c,-0x2d,-0x1e,0x0,0x1e,0x2d,0x3c,0x5a][_0x94e517(0x1f1)](_0x3a26ef=>({'label':_0x3a26ef+'°','value':String(_0x3a26ef)})),trendlineTypeOptions=[{'label':_0x94e517(0x2f4),'value':_univerjs_pro_engine_chart[_0x94e517(0x28a)][_0x94e517(0x224)]},{'label':_0x94e517(0x485),'value':_univerjs_pro_engine_chart[_0x94e517(0x28a)]['exp']},{'label':_0x94e517(0x3c0),'value':_univerjs_pro_engine_chart[_0x94e517(0x28a)][_0x94e517(0x163)]},{'label':_0x94e517(0x2d1),'value':_univerjs_pro_engine_chart[_0x94e517(0x28a)][_0x94e517(0x3d4)]},{'label':_0x94e517(0x54f),'value':_univerjs_pro_engine_chart[_0x94e517(0x28a)][_0x94e517(0x5c5)]},{'label':'chart.trendline.poly','value':_univerjs_pro_engine_chart[_0x94e517(0x28a)][_0x94e517(0x3c6)]}],trendlineToIcon={[_univerjs_pro_engine_chart[_0x94e517(0x28a)][_0x94e517(0x224)]]:(0x0,react_jsx_runtime['jsx'])(_univerjs_icons[_0x94e517(0x4ed)],{}),[_univerjs_pro_engine_chart[_0x94e517(0x28a)][_0x94e517(0x1c2)]]:(0x0,react_jsx_runtime['jsx'])(_univerjs_icons[_0x94e517(0x380)],{}),[_univerjs_pro_engine_chart[_0x94e517(0x28a)][_0x94e517(0x163)]]:(0x0,react_jsx_runtime['jsx'])(_univerjs_icons[_0x94e517(0x400)],{}),[_univerjs_pro_engine_chart['ChartTrendlineType'][_0x94e517(0x3d4)]]:(0x0,react_jsx_runtime[_0x94e517(0x1f8)])(_univerjs_icons[_0x94e517(0x259)],{}),[_univerjs_pro_engine_chart['ChartTrendlineType']['movingAvg']]:(0x0,react_jsx_runtime['jsx'])(_univerjs_icons['MovingAverageIcon'],{}),[_univerjs_pro_engine_chart[_0x94e517(0x28a)][_0x94e517(0x3c6)]]:(0x0,react_jsx_runtime[_0x94e517(0x1f8)])(_univerjs_icons[_0x94e517(0x459)],{})},trendlineOrderOptions=[0x2,0x3,0x4,0x5,0x6][_0x94e517(0x1f1)](_0x2d24e0=>({'label':''+_0x2d24e0,'value':String(_0x2d24e0)})),dataLabelPositionOptions=[_univerjs_pro_engine_chart[_0x94e517(0x490)][_0x94e517(0x55e)],_univerjs_pro_engine_chart[_0x94e517(0x490)]['Inside'],_univerjs_pro_engine_chart[_0x94e517(0x490)][_0x94e517(0x52e)],_univerjs_pro_engine_chart['SeriesLabelPosition'][_0x94e517(0x4f1)],_univerjs_pro_engine_chart[_0x94e517(0x490)][_0x94e517(0x2ee)],_univerjs_pro_engine_chart[_0x94e517(0x490)][_0x94e517(0x55f)]][_0x94e517(0x1f1)](_0x49aeb8=>({'label':_0x94e517(0x577)+_0x49aeb8,'value':_0x49aeb8})),pieDataLabelPositionOptions=[_univerjs_pro_engine_chart['PieLabelPosition']['Inside'],_univerjs_pro_engine_chart[_0x94e517(0x262)]['Outside']]['map'](_0x4252ec=>({'label':_0x94e517(0x577)+_0x4252ec,'value':_0x4252ec})),legendLabelPositionOptions=[_univerjs_pro_engine_chart[_0x94e517(0x4d1)][_0x94e517(0x2ee)],_univerjs_pro_engine_chart['LegendPositionEnum'][_0x94e517(0x55f)],_univerjs_pro_engine_chart[_0x94e517(0x4d1)]['Left'],_univerjs_pro_engine_chart['LegendPositionEnum'][_0x94e517(0x4f1)],_univerjs_pro_engine_chart[_0x94e517(0x4d1)]['Hide']]['map'](_0x2c149f=>({'label':_0x94e517(0x577)+_0x2c149f,'value':_0x2c149f})),legendSelectModeOptions=[_univerjs_pro_engine_chart[_0x94e517(0x2e9)][_0x94e517(0x159)],_univerjs_pro_engine_chart[_0x94e517(0x2e9)][_0x94e517(0x4f3)],_univerjs_pro_engine_chart[_0x94e517(0x2e9)][_0x94e517(0x3ff)]][_0x94e517(0x1f1)](_0x13a558=>({'label':_0x94e517(0x58c)+_0x13a558,'value':_0x13a558})),legendVisualMapTypeOptions=[_0x94e517(0x556),_0x94e517(0x3b2)][_0x94e517(0x1f1)](_0x17c0f0=>({'label':_0x94e517(0x4ac)+_0x17c0f0,'value':_0x17c0f0})),titlePositionOptions=[_univerjs_pro_engine_chart[_0x94e517(0x36d)]['Top'],_univerjs_pro_engine_chart[_0x94e517(0x36d)][_0x94e517(0x55f)],_univerjs_pro_engine_chart[_0x94e517(0x36d)][_0x94e517(0x52e)],_univerjs_pro_engine_chart[_0x94e517(0x36d)][_0x94e517(0x4f1)],_univerjs_pro_engine_chart['TitlePositionEnum'][_0x94e517(0x496)]]['map'](_0xaed16e=>({'label':_0x94e517(0x577)+_0xaed16e,'value':_0xaed16e})),axisTitlePositionOptions=[_univerjs_pro_engine_chart[_0x94e517(0x421)]['Start'],_univerjs_pro_engine_chart[_0x94e517(0x421)][_0x94e517(0x165)],_univerjs_pro_engine_chart['AxisAlignEnum']['End']]['map'](_0x1c9898=>({'label':_0x94e517(0x4af)+_0x1c9898,'value':_0x1c9898})),titlePositionXOptions=[_univerjs_pro_engine_chart[_0x94e517(0x36a)][_0x94e517(0x52e)],_univerjs_pro_engine_chart[_0x94e517(0x36a)]['Center'],_univerjs_pro_engine_chart[_0x94e517(0x36a)][_0x94e517(0x4f1)]]['map'](_0x5b9278=>({'label':_0x94e517(0x5d7)+_0x5b9278,'value':_0x5b9278})),titlePositionYOptions=[_univerjs_pro_engine_chart[_0x94e517(0x1be)][_0x94e517(0x2ee)],_univerjs_pro_engine_chart[_0x94e517(0x1be)][_0x94e517(0x4db)],_univerjs_pro_engine_chart[_0x94e517(0x1be)]['Bottom']][_0x94e517(0x1f1)](_0xe70be9=>({'label':_0x94e517(0x590)+_0xe70be9,'value':_0xe70be9})),axisListOptions=[{'value':'xAxis','label':_0x94e517(0x2a0)},{'value':_0x94e517(0x3b7),'label':_0x94e517(0x2e0)},{'value':_0x94e517(0x3e0),'label':_0x94e517(0x4bc)}],tickThicknessOptions=[0x1,0x2,0x3]['map'](_0x1014ba=>({'label':_0x1014ba+'px','value':String(_0x1014ba)})),stackTypeOptions=[{'label':_0x94e517(0x583),'value':''},{'label':_0x94e517(0x504),'value':_univerjs_pro_engine_chart['StackType'][_0x94e517(0x59b)]},{'label':_0x94e517(0x598),'value':_univerjs_pro_engine_chart[_0x94e517(0x237)][_0x94e517(0x2e8)]}],areaLineTypeOptions=[{'label':_0x94e517(0x4c7),'value':_univerjs_pro_engine_chart[_0x94e517(0x5b8)]['Line']},{'label':_0x94e517(0x5cc),'value':_univerjs_pro_engine_chart[_0x94e517(0x5b8)][_0x94e517(0x2e3)]},{'label':_0x94e517(0x56c),'value':_univerjs_pro_engine_chart[_0x94e517(0x5b8)][_0x94e517(0x423)]}],pieDonutHoleOptions=[0x0,0.25,0.5,0.75][_0x94e517(0x1f1)](_0x4d6813=>({'label':_0x4d6813*0x64+'%','value':String(_0x4d6813)})),radarShapeOptions=[{'label':_0x94e517(0x19b),'value':_univerjs_pro_engine_chart[_0x94e517(0x4e4)][_0x94e517(0x4c8)]},{'label':_0x94e517(0x5cf),'value':_univerjs_pro_engine_chart['RadarShape'][_0x94e517(0x522)]}],invalidValueOptions=[{'label':_0x94e517(0x303),'value':_univerjs_pro_engine_chart['InvalidValueType'][_0x94e517(0x2ba)]},{'label':'chart.invalidType.zero','value':_univerjs_pro_engine_chart[_0x94e517(0x218)]['Zero']},{'label':_0x94e517(0x4fa),'value':_univerjs_pro_engine_chart[_0x94e517(0x218)][_0x94e517(0x5ad)]}],labelContentTypeList=[_univerjs_pro_engine_chart['LabelContentType'][_0x94e517(0x458)],_univerjs_pro_engine_chart[_0x94e517(0x3d3)][_0x94e517(0x470)],_univerjs_pro_engine_chart['LabelContentType'][_0x94e517(0x4eb)],_univerjs_pro_engine_chart[_0x94e517(0x3d3)][_0x94e517(0x5aa)]],labelContentOptions=[{'label':_0x94e517(0x5bd),'value':_univerjs_pro_engine_chart[_0x94e517(0x3d3)][_0x94e517(0x458)]},{'label':'chart.series','value':_univerjs_pro_engine_chart['LabelContentType'][_0x94e517(0x470)]},{'label':_0x94e517(0x57f),'value':_univerjs_pro_engine_chart[_0x94e517(0x3d3)][_0x94e517(0x4eb)]},{'label':_0x94e517(0x5de),'value':_univerjs_pro_engine_chart['LabelContentType'][_0x94e517(0x5aa)]}][_0x94e517(0x1f1)](_0x2de936=>({..._0x2de936,'value':String(_0x2de936[_0x94e517(0x46a)])})),pieLabelContentOptions=labelContentOptions['filter'](_0x489f00=>_0x489f00[_0x94e517(0x46a)]!==String(_univerjs_pro_engine_chart[_0x94e517(0x3d3)][_0x94e517(0x470)])),tickLengthOptions=[0x6,0xc,0x12,0x18][_0x94e517(0x1f1)](_0x9183d4=>({'label':_0x9183d4+'px','value':String(_0x9183d4)})),tickWidthOptions=[0x1,0x2,0x4,0x8][_0x94e517(0x1f1)](_0x3fbecb=>({'label':_0x3fbecb+'px','value':String(_0x3fbecb)})),RelationLayoutOptions=[{'label':_0x94e517(0x24b),'value':_0x94e517(0x206)},{'label':_0x94e517(0x340),'value':_0x94e517(0x515)},{'label':'chart.relation.force','value':_0x94e517(0x5b2)}],DateFormatList=[{'label':_0x94e517(0x509),'suffix':_0x94e517(0x4f4)},{'label':_0x94e517(0x2c4),'suffix':'yyyy/MM/dd'},{'label':_0x94e517(0x4e6),'suffix':_0x94e517(0x55b)},{'label':'08-05','suffix':_0x94e517(0x27f)},{'label':_0x94e517(0x331),'suffix':_0x94e517(0x27a)},{'label':_0x94e517(0x372),'suffix':_0x94e517(0x30f)},{'label':_0x94e517(0x41d),'suffix':_0x94e517(0x2dd)},{'label':'下午01:30','suffix':'A/P\x20hh:mm'},{'label':_0x94e517(0x17b),'suffix':_0x94e517(0x161)},{'label':_0x94e517(0x5f2),'suffix':_0x94e517(0x431)},{'label':_0x94e517(0x3aa),'suffix':_0x94e517(0x4bb)}],ThousandsSeparatorFormatList=[{'label':'(1,235)','suffix':_0x94e517(0x3f0)},{'label':_0x94e517(0x495),'suffix':_0x94e517(0x407),'color':_0x94e517(0x454)},{'label':_0x94e517(0x1b8),'suffix':_0x94e517(0x146)},{'label':_0x94e517(0x1b8),'suffix':_0x94e517(0x144),'color':_0x94e517(0x454)},{'label':'-1,234.56','suffix':_0x94e517(0x354)},{'label':_0x94e517(0x222),'suffix':'#,##0.00_);[Red]-#,##0.00','color':_0x94e517(0x454)}],CurrencyFormatList=[{'label':_0x361754=>_0x361754+_0x94e517(0x1ed),'suffix':_0x43dcbf=>'\x22'+_0x43dcbf+'\x22#,##0.00_);\x22'+_0x43dcbf+_0x94e517(0x15b)},{'label':_0x3cc6ff=>_0x3cc6ff+_0x94e517(0x1ed),'suffix':_0x95f695=>'\x22'+_0x95f695+_0x94e517(0x383)+_0x95f695+_0x94e517(0x15b),'color':'red'},{'label':_0x21c28a=>'('+_0x21c28a+_0x94e517(0x538),'suffix':_0x1089be=>'\x22'+_0x1089be+_0x94e517(0x424)+_0x1089be+'\x22#,##0.00)'},{'label':_0x4b5252=>'('+_0x4b5252+_0x94e517(0x538),'suffix':_0x18f95e=>'\x22'+_0x18f95e+_0x94e517(0x47b)+_0x18f95e+'\x22#,##0.00)','color':'red'},{'label':_0x53c10c=>'-'+_0x53c10c+_0x94e517(0x1ed),'suffix':_0x2646af=>'\x22'+_0x2646af+_0x94e517(0x373)+_0x2646af+_0x94e517(0x15b)},{'label':_0xe1876a=>'-'+_0xe1876a+'1,235','suffix':_0x2d9d60=>'\x22'+_0x2d9d60+'\x22#,##0.00_);[Red]-\x22'+_0x2d9d60+_0x94e517(0x15b),'color':_0x94e517(0x454)}],currencySymbols=['$','£','¥','¤','֏','؋','৳','฿','₡','₦','₩','₪','₫','€','₭','₮','₱','₲','₴','₸','₹','₺','₼','₽','₾','₿'],UNIVER_SHEET_CHART_FORMAT_DIALOG_ID=_0x94e517(0x557),UNIVER_SHEET_CHART_FORMAT_DIALOG=_0x94e517(0x4dd),waterfallStackTypeOptions=[{'label':_0x94e517(0x27e),'value':_univerjs_pro_engine_chart['WaterfallStackTypeEnum']['Arrangement']},{'label':_0x94e517(0x55a),'value':_univerjs_pro_engine_chart[_0x94e517(0x5b0)]['Stacked']}];function useTranslatedOptions(_0x2498b7,_0x4e7cf4){const _0x17e424=_0x94e517,{t:_0x5f2a8f}=_0x2498b7;return _0x4e7cf4[_0x17e424(0x1f1)](_0x3fd90f=>({..._0x3fd90f,'label':_0x5f2a8f(_0x3fd90f[_0x17e424(0x31a)])}));}const RadarChartOptionsEdit=_0x4cabe4=>{const _0x8755bc=_0x94e517,{className:_0x4b6686,service:_0x4e69f9,localeService:_0x4ba8f7}=_0x4cabe4,[_0x2eb1c8,_0x23b579]=useChartConfigState(_0x8755bc(0x44c),_0x4e69f9),[_0x40c5aa,_0x162ef9]=useChartConfigState('radarFill',_0x4e69f9),_0x362b3c=useTranslatedOptions(_0x4ba8f7,radarShapeOptions);return(0x0,react_jsx_runtime[_0x8755bc(0x5bb)])(_0x8755bc(0x5bf),{'className':_0x4b6686,'children':[(0x0,react_jsx_runtime[_0x8755bc(0x1f8)])('div',{'children':(0x0,react_jsx_runtime[_0x8755bc(0x1f8)])(_univerjs_design['Segmented'],{'value':_0x2eb1c8!==null&&_0x2eb1c8!==void 0x0?_0x2eb1c8:_univerjs_pro_engine_chart[_0x8755bc(0x491)]['radar'][_0x8755bc(0x181)],'items':_0x362b3c,'onChange':_0x23b579})}),(0x0,react_jsx_runtime[_0x8755bc(0x1f8)])(_0x8755bc(0x5bf),{'className':_0x8755bc(0x4ff),'children':(0x0,react_jsx_runtime[_0x8755bc(0x1f8)])(_univerjs_design[_0x8755bc(0x39a)],{'checked':!!_0x40c5aa,'onChange':_0x883cab=>{_0x162ef9(Boolean(_0x883cab));},'children':_0x4ba8f7['t'](_0x8755bc(0x439))})})]});},BubbleDataEdit=_0x227d4b=>{const _0x37fb45=_0x94e517;var _0x2b2d1f,_0x56ecbf,_0x51ba03;const {service:_0x5b5aeb,localeService:_0x5dc2b7}=_0x227d4b,[_0x42f3c0]=useChartConfigState('seriesList',_0x5b5aeb),[_0x10a34a]=useChartConfigState(_0x37fb45(0x24e),_0x5b5aeb),[_0x4d43a9]=useChartConfigState('seriesResourceList',_0x5b5aeb),[_0x19cc76,_0x305e21]=useChartConfigState('bubbleXAxis',_0x5b5aeb),[_0x372f10,_0x19dd6e]=useChartConfigState(_0x37fb45(0x313),_0x5b5aeb),[_0xe19e31,_0x2f4664]=useChartConfigState(_0x37fb45(0x3df),_0x5b5aeb),[_0x4b3777,_0x2ad65f]=useChartConfigState(_0x37fb45(0x2f1),_0x5b5aeb),_0x594fe9=_0x5dc2b7['t'],[_0xa253a9,_0xf78fed]=useChartConfigState(_0x37fb45(0x4b1),_0x5b5aeb),_0x55fa43=_0xa8ec6f=>{_0xf78fed(_0xa8ec6f);};return(0x0,react_jsx_runtime[_0x37fb45(0x5bb)])(_0x37fb45(0x5bf),{'className':'univer-mb-2','children':[(0x0,react_jsx_runtime['jsx'])('div',{'className':'univer-my-2\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x594fe9(_0x37fb45(0x281))}),(0x0,react_jsx_runtime[_0x37fb45(0x1f8)])(_univerjs_design[_0x37fb45(0x2de)],{'className':_0x37fb45(0x4f6),'value':typeof _0xe19e31===_0x37fb45(0x4df)?String(_0xe19e31):'','options':_0x10a34a||[],'onChange':_0x19fdd6=>_0x2f4664(Number(_0x19fdd6))}),(0x0,react_jsx_runtime[_0x37fb45(0x1f8)])(_0x37fb45(0x5bf),{'className':_0x37fb45(0x498),'children':_0x594fe9(_0x37fb45(0x412))}),(0x0,react_jsx_runtime['jsx'])(_univerjs_design['Select'],{'className':_0x37fb45(0x4f6),'value':_0x19cc76!==void 0x0?String(_0x19cc76):(_0x2b2d1f=(_0x4d43a9||[])[0x0])===null||_0x2b2d1f===void 0x0?void 0x0:_0x2b2d1f['value'],'options':_0x4d43a9||[],'onChange':_0xb2f2d5=>_0x305e21(Number(_0xb2f2d5))}),(0x0,react_jsx_runtime[_0x37fb45(0x1f8)])(_0x37fb45(0x5bf),{'className':'univer-my-2\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x594fe9(_0x37fb45(0x550))}),(0x0,react_jsx_runtime['jsx'])(_univerjs_design[_0x37fb45(0x2de)],{'className':'univer-w-full\x20!univer-min-w-0','value':_0x372f10!==void 0x0?String(_0x372f10):(_0x56ecbf=(_0x4d43a9||[])[0x1])===null||_0x56ecbf===void 0x0?void 0x0:_0x56ecbf['value'],'options':_0x4d43a9,'onChange':_0x5228aa=>{_0x19dd6e(Number(_0x5228aa));}}),(0x0,react_jsx_runtime[_0x37fb45(0x1f8)])(_0x37fb45(0x5bf),{'className':_0x37fb45(0x498),'children':_0x594fe9(_0x37fb45(0x410))}),(0x0,react_jsx_runtime[_0x37fb45(0x1f8)])(_univerjs_design[_0x37fb45(0x2de)],{'className':_0x37fb45(0x4f6),'value':_0x4b3777!==void 0x0?String(_0x4b3777):'','options':_0x10a34a,'onChange':_0x140d49=>{_0x2ad65f(Number(_0x140d49));}}),(0x0,react_jsx_runtime['jsx'])(_0x37fb45(0x5bf),{'className':_0x37fb45(0x498),'children':_0x594fe9(_0x37fb45(0x2e4))}),(0x0,react_jsx_runtime[_0x37fb45(0x1f8)])(_univerjs_design[_0x37fb45(0x2de)],{'className':_0x37fb45(0x4f6),'value':_0xa253a9?String(_0xa253a9):(_0x51ba03=(_0x4d43a9||[])[0x2])===null||_0x51ba03===void 0x0?void 0x0:_0x51ba03['value'],'options':_0x42f3c0,'onChange':_0xb43209=>_0x55fa43(Number(_0xb43209))})]});},getUnitId=_0x17ca6f=>_0x17ca6f['getCurrentUnitOfType'](_univerjs_core[_0x94e517(0x32c)][_0x94e517(0x596)])[_0x94e517(0x5f4)](),getSubUnitId=_0x528135=>{const _0x1003c7=_0x94e517;var _0xbeeeb0;return(_0xbeeeb0=_0x528135[_0x1003c7(0x1c8)](_univerjs_core[_0x1003c7(0x32c)][_0x1003c7(0x596)])[_0x1003c7(0x242)]())===null||_0xbeeeb0===void 0x0?void 0x0:_0xbeeeb0[_0x1003c7(0x466)]();},ableStackCharts=[_univerjs_pro_engine_chart[_0x94e517(0x278)][_0x94e517(0x1f2)],_univerjs_pro_engine_chart[_0x94e517(0x278)][_0x94e517(0x2cf)]];function colorElement(_0x3c9d2d){const _0x5225c5=_0x94e517;return(0x0,react_jsx_runtime['jsx'])(react_jsx_runtime[_0x5225c5(0x185)],{'children':_0x3c9d2d[_0x5225c5(0x1f1)](_0x3f9450=>{const _0x5ea10f=_0x5225c5;return(0x0,react_jsx_runtime[_0x5ea10f(0x1f8)])(_0x5ea10f(0x5bf),{'className':_0x5ea10f(0x4a4),'style':{'backgroundColor':_0x3f9450}},_0x3f9450);})});}function getThemeListOptions(_0x2d681b,_0x5bb765){const _0x6b3e5c=_0x94e517;return _0x2d681b[_0x6b3e5c(0x1f1)](_0x2d61f7=>({'label':(0x0,react_jsx_runtime[_0x6b3e5c(0x1f8)])(_0x6b3e5c(0x5bf),{'className':_0x6b3e5c(0x20c),'children':colorElement(_0x5bb765[_0x6b3e5c(0x3d5)](_0x2d61f7))}),'value':_0x2d61f7}));}const ChartEditBlockTitle=({title:_0x49d5f6})=>{const _0x37e8c1=_0x94e517;return(0x0,react_jsx_runtime[_0x37e8c1(0x1f8)])('div',{'className':_0x37e8c1(0x245),'children':_0x49d5f6});},DataTabPanel=()=>{const _0x49f5d3=_0x94e517;var _0x522d0b;const _0x329983=useSheetsChartUIService(),_0x568f18=(0x0,_univerjs_ui[_0x49f5d3(0x4c1)])(_univerjs_core[_0x49f5d3(0x528)]),_0x3a8206=(0x0,_univerjs_ui['useDependency'])(_univerjs_core[_0x49f5d3(0x4e1)]),_0x852c4f=(0x0,_univerjs_ui[_0x49f5d3(0x4c1)])(_univerjs_pro_engine_chart[_0x49f5d3(0x40d)]),_0x7fba07=_0x852c4f[_0x49f5d3(0x29a)](),_0x5bf20c=(0x0,_univerjs_pro_sheets_chart[_0x49f5d3(0x290)])((0x0,_univerjs_ui[_0x49f5d3(0x4c1)])(_univerjs_core['Injector'])),_0x48fd84=(0x0,react['useMemo'])(()=>{const _0x389776=_0x49f5d3;return getOptionsList(chartTypeOptions[_0x389776(0x512)](),_0x5bf20c)['map'](_0x440da8=>({'label':(0x0,react_jsx_runtime['jsxs'])(_0x389776(0x5bf),{'className':'univer-flex\x20univer-h-[26px]\x20univer-flex-row\x20univer-items-center\x20univer-gap-1.5','children':[(0x0,react_jsx_runtime[_0x389776(0x1f8)])(_0x389776(0x5bf),{'className':'univer-flex\x20univer-items-center\x20univer-text-base','children':chartTypeToIcon===null||chartTypeToIcon===void 0x0?void 0x0:chartTypeToIcon[_0x440da8[_0x389776(0x46a)]]}),(0x0,react_jsx_runtime[_0x389776(0x1f8)])(_0x389776(0x5bf),{'className':_0x389776(0x5bc),'children':_0x3a8206['t'](_0x440da8[_0x389776(0x31a)])})]}),'value':String(_0x440da8[_0x389776(0x46a)])}));},[_0x3a8206]),[_0x2fb9c0,_0x46ec5b]=(0x0,react[_0x49f5d3(0x348)])(![]);(0x0,react[_0x49f5d3(0x2d4)])(()=>{const _0x268acd=_0x49f5d3;_0x329983[_0x268acd(0x432)]=_0x2fb9c0;},[_0x2fb9c0]);const _0xe7ef00=useTranslatedOptions(_0x3a8206,invalidValueOptions),_0xf861bb=useTranslatedOptions(_0x3a8206,stackTypeOptions),_0x1f4998=useTranslatedOptions(_0x3a8206,areaLineTypeOptions),_0x5512c4=useTranslatedOptions(_0x3a8206,waterfallStackTypeOptions),_0x56d4b9=getThemeListOptions(_0x7fba07,_0x852c4f),_0x25e056=getUnitId(_0x568f18),_0x55c33c=getSubUnitId(_0x568f18),_0x3336b1=(0x0,_univerjs_ui[_0x49f5d3(0x4c1)])(_univerjs_core[_0x49f5d3(0x197)]),[_0x5771d5,_0x20f9b0]=useChartConfigState(_0x49f5d3(0x35f),_0x329983),[_0x257453,_0x23fc97]=useChartConfigState(_0x49f5d3(0x3bc),_0x329983),[_0xde6d46,_0x3002af]=useChartConfigState('areaLineStyle',_0x329983),[_0x3dd98f,_0x46dc0c]=useChartConfigState(_0x49f5d3(0x141),_0x329983),[_0x386228]=useChartConfigState('categoryType',_0x329983),[_0x2541db]=useChartConfigState(_0x49f5d3(0x24e),_0x329983),[_0x5ced09,_0x1b09a0]=useChartConfigState(_0x49f5d3(0x489),_0x329983),[_0x26561a]=useChartConfigState(_0x49f5d3(0x279),_0x329983),[_0x583be2,_0x5a339a]=useChartConfigState(_0x49f5d3(0x52c),_0x329983),[_0x3df619,_0xdc6934]=useChartConfigState('useSubtotal',_0x329983),[_0x22c8fc,_0x39cc90]=useChartConfigState(_0x49f5d3(0x180),_0x329983),[_0x3d25a6,_0x2eeb90]=useChartConfigState('heatmapMin',_0x329983),[_0x4894d3,_0x153ae6]=useChartConfigState(_0x49f5d3(0x405),_0x329983),[_0x49414e,_0x5dd989]=useChartConfigState('gradientFill',_0x329983),_0x4e2b83=(0x0,react[_0x49f5d3(0x3dc)])(()=>{const _0xfac97e=_0x49f5d3;if(_0x49414e===void 0x0)return _0x5771d5?_univerjs_pro_engine_chart[_0xfac97e(0x1bf)][_0xfac97e(0x16c)](_0x5771d5,_univerjs_pro_engine_chart[_0xfac97e(0x278)][_0xfac97e(0x1f2)]):![];return _0x49414e;},[_0x49414e,_0x5771d5]),[_0x598d23,_0x2ee905]=useChartConfigState(_0x49f5d3(0x4e0),_0x329983),[_0x5382f0,_0x233c8e]=useChartConfigState(_0x49f5d3(0x3c9),_0x329983),[_0x3a8bce,_0x417f75]=useChartConfigState('asCategory',_0x329983),[_0x2c1e81,_0x5acead]=useChartConfigState(_0x49f5d3(0x5d2),_0x329983),[_0x5dd545,_0x53f3c1]=useChartConfigState(_0x49f5d3(0x56e),_0x329983),_0x8fbe07=_0x5771d5&&ableStackCharts[_0x49f5d3(0x283)](_0x4cbc4b=>_univerjs_pro_engine_chart[_0x49f5d3(0x1bf)][_0x49f5d3(0x16c)](_0x5771d5,_0x4cbc4b)),_0x429339=_0x5771d5&&[_univerjs_pro_engine_chart['ChartTypeBits'][_0x49f5d3(0x1f2)],_univerjs_pro_engine_chart[_0x49f5d3(0x278)]['Line']][_0x49f5d3(0x283)](_0x392374=>_univerjs_pro_engine_chart[_0x49f5d3(0x1bf)]['baseOn'](_0x5771d5,_0x392374)),_0x5ac0cf=_0x5771d5&&[_univerjs_pro_engine_chart[_0x49f5d3(0x278)][_0x49f5d3(0x19c)],_univerjs_pro_engine_chart[_0x49f5d3(0x278)][_0x49f5d3(0x22f)],_univerjs_pro_engine_chart[_0x49f5d3(0x278)][_0x49f5d3(0x440)],_univerjs_pro_engine_chart[_0x49f5d3(0x278)][_0x49f5d3(0x1c0)]][_0x49f5d3(0x3de)](_0x5c1b0c=>_0x5c1b0c!==_0x5771d5),_0x517d5c=_0x386228===_univerjs_pro_engine_chart['CategoryType']['Linear']||typeof _0x3dd98f!==_0x49f5d3(0x4df),_0x93ac1e=_0x5771d5&&[_univerjs_pro_engine_chart['ChartTypeBits'][_0x49f5d3(0x4ea)],_univerjs_pro_engine_chart[_0x49f5d3(0x278)]['Doughnut']][_0x49f5d3(0x283)](_0x3f7ab2=>_0x5771d5===_0x3f7ab2),_0x467275=!_0x93ac1e||_0x93ac1e&&_0x5ced09&&(_0x5ced09===null||_0x5ced09===void 0x0?void 0x0:_0x5ced09[_0x49f5d3(0x22b)])<0x1,_0x42bc92=_0x5771d5&&_univerjs_pro_engine_chart[_0x49f5d3(0x1bf)]['baseOn'](_0x5771d5,_univerjs_pro_engine_chart['ChartTypeBits'][_0x49f5d3(0x3f3)]),_0x4ec695=_0x5771d5&&(0x0,_univerjs_pro_engine_chart[_0x49f5d3(0x5c3)])(_0x5771d5),[_0x4cf981,_0x34c372]=useChartConfigState(_0x49f5d3(0x1d1),_0x329983),_0x1c1094=_0x5771d5&&_0x5771d5===_univerjs_pro_engine_chart[_0x49f5d3(0x278)][_0x49f5d3(0x32b)],_0x1fce99=_0x5771d5&&_0x5771d5===_univerjs_pro_engine_chart[_0x49f5d3(0x278)]['Sankey'],_0x3120bd=_0x5771d5&&_0x5771d5===_univerjs_pro_engine_chart[_0x49f5d3(0x278)][_0x49f5d3(0x3b3)],_0x26c763=_0x5771d5&&_0x5771d5===_univerjs_pro_engine_chart[_0x49f5d3(0x278)][_0x49f5d3(0x2c8)],_0x2d7757=_0x5771d5&&_univerjs_pro_engine_chart[_0x49f5d3(0x1bf)][_0x49f5d3(0x16c)](_0x5771d5,_univerjs_pro_engine_chart[_0x49f5d3(0x278)][_0x49f5d3(0x29b)]),_0x2d24cc=_0x411961=>{const _0x3404a9=_0x49f5d3;if(_0x4cf981)_0x34c372(_0x4cf981[_0x3404a9(0x5b4)]((_0x57b3a7,_0x5d2c25)=>_0x5d2c25!==_0x411961));},_0x299c3c=(_0x454fd5,_0x563acb)=>{const _0x3b6d94=_0x49f5d3;if(_0x4cf981){_0x4cf981[_0x454fd5][_0x3b6d94(0x31b)]=_0x563acb;const _0x217f43=(_0x26561a===null||_0x26561a===void 0x0?void 0x0:_0x26561a[_0x563acb][_0x3b6d94(0x31a)])||'';if(_0x217f43)_0x4cf981[_0x454fd5][_0x3b6d94(0x41c)]=_0x2d27b1(_0x3b6d94(0x2f4))+'-'+_0x2d27b1(_0x3b6d94(0x5c1))+'-('+_0x217f43+')';_0x34c372(_0x4cf981[_0x3b6d94(0x49b)]());}},_0x44f5d0=Boolean(_0x5771d5&&_univerjs_pro_engine_chart[_0x49f5d3(0x1bf)][_0x49f5d3(0x16c)](_0x5771d5,_univerjs_pro_engine_chart['ChartTypeBits']['Funnel'])),_0x577ed4=borderWidthOptions,[_0x3d3315,_0x1e3b5e]=(0x0,react[_0x49f5d3(0x348)])(![]),_0x19ced3=(0x0,react[_0x49f5d3(0x3dc)])(()=>{return(0x0,_univerjs_core['debounce'])(async _0x7c24cf=>{const _0x7edb09=_0x1088;var _0x2918aa;if(serializeChartDataRange(_0x257453,_0x568f18)===_0x7c24cf)return;const {unitId:_0x85d209,sheetName:_0x370ae1,range:_0x4d7a46}=_0x7c24cf['split'](',')[_0x7edb09(0x5b4)](_0x34f647=>!!_0x34f647)[_0x7edb09(0x1f1)](_univerjs_engine_formula[_0x7edb09(0x4a2)])[0x0],_0x5bb4d4=_0x85d209||_0x25e056;_0x23fc97({'rangeInfo':{'range':_0x4d7a46,'unitId':_0x5bb4d4,'subUnitId':((_0x2918aa=_0x568f18['getUnit'](_0x5bb4d4)['getSheetBySheetName'](_0x370ae1))===null||_0x2918aa===void 0x0?void 0x0:_0x2918aa[_0x7edb09(0x466)]())||(_0x257453===null||_0x257453===void 0x0?void 0x0:_0x257453[_0x7edb09(0x350)][_0x7edb09(0x3fd)])},'isRowDirection':!![]});},0x12c,{'leading':![],'maxWait':0x3e8,'trailing':!![]});},[_0x23fc97,_0x25e056,_0x568f18]),_0x1ea154=_0xc10372=>{const _0x25e812=_0x49f5d3;if(_0x5ced09)_0x1b09a0(_0x5ced09[_0x25e812(0x5b4)]((_0x5ae6cb,_0x518c16)=>_0x518c16!==_0xc10372));},{t:_0x2d27b1}=_0x3a8206,_0x32bee2=_0x5771d5&&(_univerjs_pro_engine_chart[_0x49f5d3(0x1bf)][_0x49f5d3(0x416)](_0x5771d5,_univerjs_pro_engine_chart[_0x49f5d3(0x441)]['PercentStack'])?_univerjs_pro_engine_chart[_0x49f5d3(0x237)][_0x49f5d3(0x2e8)]:_univerjs_pro_engine_chart[_0x49f5d3(0x1bf)][_0x49f5d3(0x416)](_0x5771d5,_univerjs_pro_engine_chart['ChartAttributeBits'][_0x49f5d3(0x57a)])?_univerjs_pro_engine_chart[_0x49f5d3(0x237)]['Stacked']:void 0x0),_0xce84c=Boolean(_0x5771d5&&_univerjs_pro_engine_chart['chartBitsUtils'][_0x49f5d3(0x16c)](_0x5771d5,_univerjs_pro_engine_chart[_0x49f5d3(0x278)][_0x49f5d3(0x440)])),_0x25f85c=(0x0,react[_0x49f5d3(0x177)])(_0x186a9f=>{const _0x1e235b=_0x49f5d3;if(!_0x5771d5)return;const _0x59245d=_0x186a9f,_0x2b1ee3=_univerjs_pro_engine_chart[_0x1e235b(0x1bf)][_0x1e235b(0x158)](_0x5771d5,_univerjs_pro_engine_chart[_0x1e235b(0x441)][_0x1e235b(0x299)]);switch(_0x59245d){case _univerjs_pro_engine_chart[_0x1e235b(0x237)]['Stacked']:_0x20f9b0(_0x2b1ee3|_univerjs_pro_engine_chart['ChartAttributeBits']['Stack']);break;case _univerjs_pro_engine_chart[_0x1e235b(0x237)]['Percent']:_0x20f9b0(_0x2b1ee3|_univerjs_pro_engine_chart[_0x1e235b(0x441)][_0x1e235b(0x299)]);break;default:_0x20f9b0(_0x2b1ee3);break;}},[_0x5771d5]);return(0x0,react_jsx_runtime[_0x49f5d3(0x5bb)])('div',{'children':[(0x0,react_jsx_runtime[_0x49f5d3(0x5bb)])(_0x49f5d3(0x5bf),{'children':[(0x0,react_jsx_runtime[_0x49f5d3(0x1f8)])(ChartEditBlockTitle,{'title':_0x2d27b1(_0x49f5d3(0x5a3))}),(0x0,react_jsx_runtime[_0x49f5d3(0x1f8)])(_univerjs_design[_0x49f5d3(0x2de)],{'className':_0x49f5d3(0x4f6),'value':_0x5771d5?String(_0x5771d5):'','options':_0x48fd84,'onChange':_0x4ba044=>_0x20f9b0(Number(_0x4ba044))})]}),_0x5771d5&&(_univerjs_pro_engine_chart[_0x49f5d3(0x1bf)][_0x49f5d3(0x16c)](_0x5771d5,_univerjs_pro_engine_chart[_0x49f5d3(0x278)][_0x49f5d3(0x1f2)])||_univerjs_pro_engine_chart[_0x49f5d3(0x1bf)][_0x49f5d3(0x16c)](_0x5771d5,_univerjs_pro_engine_chart['ChartTypeBits'][_0x49f5d3(0x19c)]))&&(0x0,react_jsx_runtime[_0x49f5d3(0x1f8)])(_univerjs_design[_0x49f5d3(0x4cf)],{'items':_0x1f4998,'className':_0x49f5d3(0x4ff),'value':_0xde6d46!==null&&_0xde6d46!==void 0x0?_0xde6d46:_univerjs_pro_engine_chart[_0x49f5d3(0x491)]['area']['lineStyle'],'onChange':_0x3002af}),_0x5771d5===_univerjs_pro_engine_chart[_0x49f5d3(0x278)][_0x49f5d3(0x22f)]&&(0x0,react_jsx_runtime[_0x49f5d3(0x1f8)])(RadarChartOptionsEdit,{'localeService':_0x3a8206,'service':_0x329983,'className':_0x49f5d3(0x4ff)}),(0x0,react_jsx_runtime[_0x49f5d3(0x5bb)])(_0x49f5d3(0x5bf),{'children':[(0x0,react_jsx_runtime[_0x49f5d3(0x1f8)])(ChartEditBlockTitle,{'title':_0x2d27b1('chart.themes')}),(0x0,react_jsx_runtime['jsx'])(_univerjs_design['Select'],{'className':_0x49f5d3(0x4f6),'value':_0x4894d3?String(_0x4894d3):'','options':_0x56d4b9,'onChange':_0x23a08d=>{_0x153ae6(_0x23a08d);}})]}),_0x42bc92&&(0x0,react_jsx_runtime['jsxs'])(react_jsx_runtime[_0x49f5d3(0x185)],{'children':[(0x0,react_jsx_runtime[_0x49f5d3(0x1f8)])(ChartEditBlockTitle,{'title':_0x2d27b1(_0x49f5d3(0x3ce))}),(0x0,react_jsx_runtime[_0x49f5d3(0x1f8)])(_univerjs_design[_0x49f5d3(0x2de)],{'className':_0x49f5d3(0x4f6),'value':_0x583be2!==null&&_0x583be2!==void 0x0?_0x583be2:_univerjs_pro_engine_chart[_0x49f5d3(0x491)]['waterfall']['stackType'],'options':_0x5512c4,'onChange':_0xfa807a=>{_0x5a339a(_0xfa807a);}}),(0x0,react_jsx_runtime[_0x49f5d3(0x1f8)])(_0x49f5d3(0x5bf),{'className':'univer-mt-2\x20univer-text-sm\x20univer-leading-4\x20univer-text-gray-900\x20dark:!univer-text-white','children':(0x0,react_jsx_runtime[_0x49f5d3(0x1f8)])(_univerjs_design[_0x49f5d3(0x39a)],{'checked':_0x3df619!==null&&_0x3df619!==void 0x0?_0x3df619:_univerjs_pro_engine_chart[_0x49f5d3(0x491)][_0x49f5d3(0x14f)][_0x49f5d3(0x21c)],'onChange':_0x544cd3=>_0xdc6934(Boolean(_0x544cd3)),'children':_0x2d27b1(_0x49f5d3(0x14c))})})]}),_0x5ac0cf&&!_0xce84c&&!_0x44f5d0&&!_0x1c1094&&!_0x1fce99&&!_0x3120bd&&!_0x26c763&&(0x0,react_jsx_runtime[_0x49f5d3(0x1f8)])('div',{'className':_0x49f5d3(0x33a),'children':(0x0,react_jsx_runtime[_0x49f5d3(0x1f8)])(_univerjs_design[_0x49f5d3(0x39a)],{'checked':!!_0x4e2b83,'onChange':_0x5e8683=>_0x5dd989(Boolean(_0x5e8683)),'children':_0x2d27b1(_0x49f5d3(0x33c))})}),_0x44f5d0&&(0x0,react_jsx_runtime['jsxs'])(_0x49f5d3(0x5bf),{'className':_0x49f5d3(0x394),'children':[(0x0,react_jsx_runtime[_0x49f5d3(0x1f8)])(ChartEditBlockTitle,{'title':_0x2d27b1(_0x49f5d3(0x1d7))}),(0x0,react_jsx_runtime['jsx'])(_univerjs_design['Select'],{'className':_0x49f5d3(0x4f6),'value':String(_0x2c1e81!==null&&_0x2c1e81!==void 0x0?_0x2c1e81:_univerjs_pro_engine_chart['defaultChartConfig'][_0x49f5d3(0x1ee)][_0x49f5d3(0x247)]),'options':_0x577ed4,'onChange':_0x3c739c=>_0x5acead(Number(_0x3c739c))}),(0x0,react_jsx_runtime[_0x49f5d3(0x1f8)])('div',{'className':'univer-mt-2-base','children':(0x0,react_jsx_runtime[_0x49f5d3(0x1f8)])(_univerjs_design['Checkbox'],{'checked':_0x5dd545!==null&&_0x5dd545!==void 0x0?_0x5dd545:![],'onChange':_0x294dc4=>{_0x53f3c1(Boolean(_0x294dc4));},'children':_0x2d27b1(_0x49f5d3(0x18e))})})]}),_0x8fbe07&&(0x0,react_jsx_runtime['jsxs'])(_0x49f5d3(0x5bf),{'children':[(0x0,react_jsx_runtime[_0x49f5d3(0x1f8)])(ChartEditBlockTitle,{'title':_0x2d27b1('chart.stack')}),(0x0,react_jsx_runtime[_0x49f5d3(0x1f8)])(_univerjs_design[_0x49f5d3(0x2de)],{'className':'univer-w-full\x20!univer-min-w-0','value':_0x32bee2||'','options':_0xf861bb,'onChange':_0x25f85c})]}),(0x0,react_jsx_runtime[_0x49f5d3(0x5bb)])(_0x49f5d3(0x5bf),{'children':[(0x0,react_jsx_runtime[_0x49f5d3(0x1f8)])(ChartEditBlockTitle,{'title':_0x2d27b1(_0x49f5d3(0x296))}),(0x0,react_jsx_runtime[_0x49f5d3(0x1f8)])(_univerjs_sheets_formula_ui[_0x49f5d3(0x305)],{'supportAcrossSheet':!![],'keepSheetReference':!![],'maxRangeCount':0x1,'unitId':_0x25e056,'subUnitId':_0x55c33c,'initialValue':_0x257453?serializeChartDataRange(_0x257453,_0x568f18):'','onChange':(_0x34ddeb,_0x9acdf0)=>_0x19ced3(_0x9acdf0),'onFocusChange':_0x4d6b68=>{if(_0x3d3315)return;_0x46ec5b(_0x4d6b68);},'onRangeSelectorDialogVisibleChange':_0x2227a8=>{if(_0x2227a8)_0x1e3b5e(!![]),_0x46ec5b(!![]);else _0x1e3b5e(![]);}})]}),!_0x2d7757&&!_0x1c1094&&!_0x1fce99&&!_0x3120bd&&!_0x26c763&&(0x0,react_jsx_runtime[_0x49f5d3(0x5bb)])('div',{'children':[(0x0,react_jsx_runtime['jsx'])(ChartEditBlockTitle,{'title':_0x2d27b1(_0x49f5d3(0x5bd))}),(0x0,react_jsx_runtime['jsx'])(_univerjs_design[_0x49f5d3(0x2de)],{'className':_0x49f5d3(0x4f6),'value':typeof _0x3dd98f===_0x49f5d3(0x4df)?String(_0x3dd98f):'','options':_0x2541db||[],'onChange':_0x5d86bc=>_0x46dc0c(Number(_0x5d86bc))})]}),(0x0,react_jsx_runtime[_0x49f5d3(0x5bb)])('div',{'children':[!_0x2d7757&&!_0x1c1094&&!_0x1fce99&&!_0x3120bd&&!_0x26c763&&(0x0,react_jsx_runtime[_0x49f5d3(0x5bb)])(react_jsx_runtime[_0x49f5d3(0x185)],{'children':[(0x0,react_jsx_runtime['jsx'])(ChartEditBlockTitle,{'title':_0x2d27b1(_0x49f5d3(0x410))}),(0x0,react_jsx_runtime[_0x49f5d3(0x5bb)])('div',{'className':'univer-mt-2','children':[_0x5ced09===null||_0x5ced09===void 0x0?void 0x0:_0x5ced09[_0x49f5d3(0x1f1)]((_0x4d246f,_0x4490d7)=>{const _0x3ccf2b=_0x49f5d3;return(0x0,react_jsx_runtime[_0x3ccf2b(0x5bb)])('div',{'className':_0x3ccf2b(0x49e),'children':[(0x0,react_jsx_runtime[_0x3ccf2b(0x1f8)])(_univerjs_design[_0x3ccf2b(0x2de)],{'className':_0x3ccf2b(0x4f6),'value':String(_0x4d246f),'options':_0x26561a,'onChange':_0x51841d=>{_0x5ced09[_0x4490d7]=Number(_0x51841d),_0x1b09a0(_0x5ced09['slice']());}}),(0x0,react_jsx_runtime[_0x3ccf2b(0x1f8)])(_0x3ccf2b(0x5bf),{'className':_0x3ccf2b(0x235),'onClick':()=>_0x1ea154(_0x4490d7),'children':(0x0,react_jsx_runtime[_0x3ccf2b(0x1f8)])(_univerjs_icons[_0x3ccf2b(0x3ec)],{})})]},_0x4490d7);}),_0x467275&&_0x26561a&&!_0x1fce99&&!_0x3120bd&&!_0x26c763&&(0x0,react_jsx_runtime[_0x49f5d3(0x1f8)])(_univerjs_design[_0x49f5d3(0x57d)],{'className':'univer-w-[--radix-popper-anchor-width]','items':_0x26561a[_0x49f5d3(0x1f1)](_0x5ad862=>({'type':_0x49f5d3(0x549),'children':_0x5ad862[_0x49f5d3(0x31a)],'onSelect':()=>{const _0x1afef6=_0x49f5d3;_0x1b09a0([..._0x5ced09||[],Number(_0x5ad862[_0x1afef6(0x46a)])]);}})),'children':(0x0,react_jsx_runtime['jsxs'])('a',{'className':'univer-mb-2\x20univer-flex\x20univer-cursor-pointer\x20univer-items-center\x20univer-text-primary-600','children':[(0x0,react_jsx_runtime[_0x49f5d3(0x1f8)])(_univerjs_icons[_0x49f5d3(0x1c6)],{'className':_0x49f5d3(0x2a2)}),(0x0,react_jsx_runtime[_0x49f5d3(0x1f8)])(_0x49f5d3(0x427),{'className':'univer-margin-left-[1.5px]\x20univer-font-weight-500\x20univer-text-xs','children':_0x2d27b1(_0x49f5d3(0x4a7))})]})})]})]}),_0x4ec695&&!_0x2d7757&&!_0x1c1094&&!_0x1fce99&&!_0x3120bd&&!_0x26c763&&(0x0,react_jsx_runtime[_0x49f5d3(0x5bb)])(react_jsx_runtime[_0x49f5d3(0x185)],{'children':[(0x0,react_jsx_runtime[_0x49f5d3(0x1f8)])(ChartEditBlockTitle,{'title':_0x2d27b1('chart.trendline.name')}),(0x0,react_jsx_runtime[_0x49f5d3(0x5bb)])(_0x49f5d3(0x5bf),{'className':_0x49f5d3(0x4ff),'children':[_0x4cf981===null||_0x4cf981===void 0x0?void 0x0:_0x4cf981['map']((_0x2a24e1,_0x240a17)=>{const _0x212662=_0x49f5d3;return(0x0,react_jsx_runtime[_0x212662(0x5bb)])('div',{'className':_0x212662(0x49e),'children':[(0x0,react_jsx_runtime['jsx'])(_univerjs_design['Select'],{'className':_0x212662(0x4f6),'value':String(_0x2a24e1['name']),'options':_0x26561a,'onChange':_0x1f5ac7=>{_0x299c3c(_0x240a17,Number(_0x1f5ac7)-0x1);}}),(0x0,react_jsx_runtime[_0x212662(0x1f8)])(_0x212662(0x5bf),{'className':_0x212662(0x235),'onClick':()=>_0x2d24cc(_0x240a17),'children':(0x0,react_jsx_runtime[_0x212662(0x1f8)])(_univerjs_icons[_0x212662(0x3ec)],{})})]},_0x240a17);}),_0x4ec695&&_0x26561a&&(0x0,react_jsx_runtime[_0x49f5d3(0x1f8)])(_univerjs_design['DropdownMenu'],{'className':'univer-w-[--radix-popper-anchor-width]','items':_0x26561a['map'](_0xaf7af5=>({'type':'item','children':_0xaf7af5[_0x49f5d3(0x31a)],'onSelect':()=>{const _0x4003f5=_0x49f5d3,_0xa55986={'seriesIndex':Number(_0xaf7af5['value'])-0x1,'type':_univerjs_pro_engine_chart[_0x4003f5(0x28a)][_0x4003f5(0x224)],'name':_0x2d27b1(_0x4003f5(0x2f4))+'-'+_0x2d27b1(_0x4003f5(0x5c1))+'-('+_0xaf7af5['label']+')'};_0x34c372([..._0x4cf981||[],_0xa55986]);}})),'children':(0x0,react_jsx_runtime['jsxs'])('a',{'className':_0x49f5d3(0x418),'children':[(0x0,react_jsx_runtime[_0x49f5d3(0x1f8)])(_univerjs_icons['IncreaseIcon'],{'className':_0x49f5d3(0x2a2)}),(0x0,react_jsx_runtime[_0x49f5d3(0x1f8)])(_0x49f5d3(0x427),{'className':_0x49f5d3(0x51d),'children':_0x2d27b1(_0x49f5d3(0x192))})]})})]})]}),_0x3120bd&&(0x0,react_jsx_runtime[_0x49f5d3(0x5bb)])(_0x49f5d3(0x5bf),{'className':'univer-mt-2','children':[(0x0,react_jsx_runtime[_0x49f5d3(0x1f8)])(ChartEditBlockTitle,{'title':_0x2d27b1(_0x49f5d3(0x191))}),(0x0,react_jsx_runtime[_0x49f5d3(0x5bb)])(_0x49f5d3(0x5bf),{'className':_0x49f5d3(0x394),'children':[(0x0,react_jsx_runtime[_0x49f5d3(0x1f8)])('div',{'className':'univer-mb-2\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x2d27b1(_0x49f5d3(0x475))}),(0x0,react_jsx_runtime[_0x49f5d3(0x1f8)])(_univerjs_design[_0x49f5d3(0x4e9)],{'value':_0x22c8fc!==null&&_0x22c8fc!==void 0x0?_0x22c8fc:void 0x0,'onChange':_0xaeb4e8=>{const _0x5a8b58=_0x49f5d3;_0x3336b1[_0x5a8b58(0x24f)](_univerjs_core[_0x5a8b58(0x217)],![]),_0x39cc90(Number['isNaN'](_0xaeb4e8)?null:Number(_0xaeb4e8));},'onFocus':()=>_0x3336b1[_0x49f5d3(0x24f)](_univerjs_core[_0x49f5d3(0x217)],!![]),'onBlur':_0x50e8a6=>{const _0x25261d=_0x49f5d3;_0x3336b1[_0x25261d(0x24f)](_univerjs_core[_0x25261d(0x217)],![]);const _0x233e79=_0x50e8a6['target']['value'];_0x39cc90(_0x233e79===''?null:Number(_0x233e79));},'onPressEnter':_0x46f750=>{const _0x5cabda=_0x49f5d3,_0x20b277=_0x46f750['target'][_0x5cabda(0x46a)];_0x39cc90(_0x20b277===''?null:Number(_0x20b277));}})]}),(0x0,react_jsx_runtime[_0x49f5d3(0x5bb)])(_0x49f5d3(0x5bf),{'className':_0x49f5d3(0x422),'children':[(0x0,react_jsx_runtime[_0x49f5d3(0x1f8)])(_0x49f5d3(0x5bf),{'className':_0x49f5d3(0x5ae),'children':_0x2d27b1('chart.max')}),(0x0,react_jsx_runtime[_0x49f5d3(0x1f8)])(_univerjs_design[_0x49f5d3(0x4e9)],{'value':_0x3d25a6!==null&&_0x3d25a6!==void 0x0?_0x3d25a6:void 0x0,'onChange':_0x56ec8b=>{const _0x342083=_0x49f5d3;_0x3336b1[_0x342083(0x24f)](_univerjs_core['FOCUSING_PANEL_EDITOR'],![]),_0x2eeb90(Number[_0x342083(0x452)](_0x56ec8b)?null:Number(_0x56ec8b));},'onFocus':()=>_0x3336b1[_0x49f5d3(0x24f)](_univerjs_core[_0x49f5d3(0x217)],!![]),'onBlur':_0x21e197=>{const _0x48d60c=_0x49f5d3;_0x3336b1[_0x48d60c(0x24f)](_univerjs_core[_0x48d60c(0x217)],![]);const _0x51ce9a=_0x21e197[_0x48d60c(0x347)][_0x48d60c(0x46a)];_0x2eeb90(_0x51ce9a===''?null:Number(_0x51ce9a));},'onPressEnter':_0x436d07=>{const _0x675c77=_0x49f5d3,_0x5452c2=_0x436d07[_0x675c77(0x347)]['value'];_0x2eeb90(_0x5452c2===''?null:Number(_0x5452c2));}})]})]}),_0x2d7757&&(0x0,react_jsx_runtime['jsx'])(BubbleDataEdit,{'service':_0x329983,'localeService':_0x3a8206}),!_0x1c1094&&!_0x1fce99&&!_0x3120bd&&!_0x26c763&&(0x0,react_jsx_runtime[_0x49f5d3(0x1f8)])(_0x49f5d3(0x5bf),{'className':'univer-mt-2-base','children':(0x0,react_jsx_runtime[_0x49f5d3(0x1f8)])(_univerjs_design[_0x49f5d3(0x5ee)],{'className':'','size':_0x49f5d3(0x404),'onClick':()=>{const _0x20dd7a=_0x49f5d3;_0x2ee905(_0x598d23===_univerjs_pro_engine_chart[_0x20dd7a(0x1c4)]['Row']?_univerjs_pro_engine_chart[_0x20dd7a(0x1c4)][_0x20dd7a(0x562)]:_univerjs_pro_engine_chart[_0x20dd7a(0x1c4)][_0x20dd7a(0x2c3)]);},'children':_0x2d27b1(_0x49f5d3(0x3cf))})}),_0x517d5c&&(0x0,react_jsx_runtime[_0x49f5d3(0x1f8)])('div',{'className':_0x49f5d3(0x409),'children':(0x0,react_jsx_runtime[_0x49f5d3(0x1f8)])(_univerjs_design[_0x49f5d3(0x39a)],{'checked':_0x3a8bce,'onChange':_0x2069a1=>{_0x417f75(!!_0x2069a1);},'children':_0x2d27b1(_0x49f5d3(0x240),(_0x598d23||'')+'\x20'+(((_0x522d0b=_0x598d23===_univerjs_pro_engine_chart['DataOrientation'][_0x49f5d3(0x2c3)]?_0x257453===null||_0x257453===void 0x0?void 0x0:_0x257453['rangeInfo'][_0x49f5d3(0x2ab)][_0x49f5d3(0x3ba)]:_0x257453===null||_0x257453===void 0x0?void 0x0:_0x257453[_0x49f5d3(0x350)][_0x49f5d3(0x2ab)][_0x49f5d3(0x302)])!==null&&_0x522d0b!==void 0x0?_0x522d0b:0x0)+0x1))})})]}),_0x429339&&(0x0,react_jsx_runtime[_0x49f5d3(0x5bb)])(_0x49f5d3(0x5bf),{'children':[(0x0,react_jsx_runtime['jsx'])(ChartEditBlockTitle,{'title':_0x2d27b1('chart.settingsLabels.showEmptyCellsAs')}),(0x0,react_jsx_runtime['jsx'])(_0x49f5d3(0x5bf),{'className':_0x49f5d3(0x4ff),'children':(0x0,react_jsx_runtime['jsx'])(_univerjs_design[_0x49f5d3(0x2b7)],{'value':_0x5382f0!==null&&_0x5382f0!==void 0x0?_0x5382f0:_univerjs_pro_engine_chart[_0x49f5d3(0x491)][_0x49f5d3(0x3c9)],'onChange':_0x45e7f2=>_0x233c8e(_0x45e7f2),'className':_0x49f5d3(0x5c0),'children':_0xe7ef00[_0x49f5d3(0x1f1)](_0x1151c9=>(0x0,react_jsx_runtime[_0x49f5d3(0x1f8)])(_univerjs_design['Radio'],{'value':_0x1151c9[_0x49f5d3(0x46a)],'children':_0x1151c9['label']},_0x1151c9[_0x49f5d3(0x46a)]))})})]})]});},ColorPickerControl=_0xb94962=>{const _0x211dc9=_0x94e517,{color:_0x3ed12e,onChange:_0xbb5752}=_0xb94962,[_0xd7c67c,_0x5cc37b]=(0x0,react[_0x211dc9(0x348)])(![]),_0x169d46=(0x0,_univerjs_ui[_0x211dc9(0x4c1)])(_univerjs_core[_0x211dc9(0x4e1)]),_0x27c193=_0x3ed12e===_0x211dc9(0x53d)||_0x3ed12e==null,_0x52b284=(0x0,react[_0x211dc9(0x177)])(_0x2d6a26=>{_0xbb5752===null||_0xbb5752===void 0x0||_0xbb5752(_0x2d6a26),_0x5cc37b(![]);},[_0xbb5752]);return(0x0,react_jsx_runtime[_0x211dc9(0x1f8)])(_univerjs_design['Dropdown'],{'overlay':(0x0,react_jsx_runtime[_0x211dc9(0x5bb)])(_0x211dc9(0x5bf),{'className':_0x211dc9(0x464),'children':[(0x0,react_jsx_runtime[_0x211dc9(0x1f8)])(_univerjs_design['Button'],{'className':'univer-w-full','onClick':()=>_0x52b284(null),'children':_0x169d46['t']('chart.reset')}),(0x0,react_jsx_runtime[_0x211dc9(0x1f8)])(_univerjs_design[_0x211dc9(0x544)],{'value':_0x27c193?_0x211dc9(0x1b1):_0x3ed12e,'onChange':_0x52b284})]}),'open':_0xd7c67c,'onOpenChange':_0x5cc37b,'children':(0x0,react_jsx_runtime[_0x211dc9(0x1f8)])(_univerjs_design[_0x211dc9(0x5ee)],{'className':_0x211dc9(0x5c2),'children':(0x0,react_jsx_runtime[_0x211dc9(0x5bb)])('div',{'className':_0x211dc9(0x360),'children':[_0x27c193?(0x0,react_jsx_runtime[_0x211dc9(0x1f8)])('div',{'className':_0x211dc9(0x463),'children':_0x169d46['t'](_0x211dc9(0x3e5))}):(0x0,react_jsx_runtime['jsx'])(_0x211dc9(0x5bf),{'className':(0x0,_univerjs_design[_0x211dc9(0x233)])(_0x211dc9(0x1ef),_univerjs_design[_0x211dc9(0x2b0)]),'style':{'backgroundColor':_0x3ed12e}}),(0x0,react_jsx_runtime[_0x211dc9(0x1f8)])(_univerjs_icons[_0x211dc9(0x316)],{'className':(0x0,_univerjs_design[_0x211dc9(0x233)])(_0x211dc9(0x319),{'univer-rotate-180':_0xd7c67c})})]})})});},DropdownSelector=_0xb2dc0=>{const _0x4f1c3c=_0x94e517,{value:_0x5385aa,menus:_0x4dacaa,onSelect:_0x580f00,children:_0x37dc44}=_0xb2dc0,[_0x2f03a9,_0x263535]=(0x0,react[_0x4f1c3c(0x348)])(![]);return(0x0,react_jsx_runtime[_0x4f1c3c(0x1f8)])(_univerjs_design['DropdownMenu'],{'items':[{'type':_0x4f1c3c(0x1b7),'value':_0x5385aa[_0x4f1c3c(0x4d5)](),'options':_0x4dacaa,'onSelect':_0x48fec7=>_0x580f00===null||_0x580f00===void 0x0?void 0x0:_0x580f00(_0x48fec7)}],'open':_0x2f03a9,'onOpenChange':_0x263535,'children':typeof _0x37dc44===_0x4f1c3c(0x15f)?_0x37dc44(_0x2f03a9):_0x37dc44});},FontFormatBar=_0x1bfc9a=>{const _0x1c9a20=_0x94e517;var _0x151de8;const {localeService:_0x15973c,className:_0x4e4a24,fontSize:fontSize=_univerjs_pro_engine_chart[_0x1c9a20(0x491)][_0x1c9a20(0x54d)][_0x1c9a20(0x3ea)],color:_0x129a67,bold:_0x2f6a9a,italic:_0x45d68e,align:_0x5dfbe2,alignControl:alignControl=![],onChange:_0x88ea52}=_0x1bfc9a,_0x1b48c4=useTranslatedOptions(_0x15973c,textAlignOptions),[_0x246733,_0x607c19]=(0x0,react[_0x1c9a20(0x348)])(![]);return(0x0,react_jsx_runtime[_0x1c9a20(0x5bb)])(_0x1c9a20(0x5bf),{'className':(0x0,_univerjs_design[_0x1c9a20(0x233)])('univer-box-border\x20univer-flex\x20univer-w-fit\x20univer-items-center\x20univer-gap-1.5\x20univer-rounded-md\x20univer-px-1\x20univer-py-0.5',_univerjs_design[_0x1c9a20(0x2b0)],_0x4e4a24),'children':[(0x0,react_jsx_runtime[_0x1c9a20(0x1f8)])(DropdownSelector,{'value':fontSize[_0x1c9a20(0x4d5)](),'menus':fontSizeOptions['map'](_0x588875=>({..._0x588875})),'onSelect':_0x96bdcd=>_0x88ea52===null||_0x88ea52===void 0x0?void 0x0:_0x88ea52(_0x1c9a20(0x3fe),Number(_0x96bdcd)),'children':_0x5f32bd=>(0x0,react_jsx_runtime[_0x1c9a20(0x5bb)])(_0x1c9a20(0x5bf),{'className':_0x1c9a20(0x1c7),'children':[(0x0,react_jsx_runtime['jsx'])('span',{'children':fontSize}),(0x0,react_jsx_runtime[_0x1c9a20(0x1f8)])(_univerjs_icons[_0x1c9a20(0x316)],{'className':(0x0,_univerjs_design['clsx'])('univer-transition-transform\x20univer-duration-300',{'univer-rotate-180':_0x5f32bd})})]})}),(0x0,react_jsx_runtime['jsx'])(_univerjs_design['Dropdown'],{'overlay':(0x0,react_jsx_runtime[_0x1c9a20(0x1f8)])(_0x1c9a20(0x5bf),{'className':_0x1c9a20(0x3a2),'children':(0x0,react_jsx_runtime['jsx'])(_univerjs_design[_0x1c9a20(0x544)],{'value':_0x129a67,'onChange':_0x386a37=>_0x88ea52===null||_0x88ea52===void 0x0?void 0x0:_0x88ea52(_0x1c9a20(0x571),_0x386a37)})}),'open':_0x246733,'onOpenChange':_0x607c19,'children':(0x0,react_jsx_runtime[_0x1c9a20(0x5bb)])(_0x1c9a20(0x5bf),{'className':_0x1c9a20(0x26d),'children':[(0x0,react_jsx_runtime[_0x1c9a20(0x1f8)])(_univerjs_icons[_0x1c9a20(0x320)],{'className':_0x1c9a20(0x5da),'extend':{'colorChannel1':_0x129a67!==null&&_0x129a67!==void 0x0?_0x129a67:_univerjs_pro_engine_chart['defaultChartConfig'][_0x1c9a20(0x54d)][_0x1c9a20(0x571)]}}),(0x0,react_jsx_runtime['jsx'])(_univerjs_icons[_0x1c9a20(0x316)],{'className':(0x0,_univerjs_design[_0x1c9a20(0x233)])('univer-ml-1\x20univer-transition-transform\x20univer-duration-300',{'univer-rotate-180':_0x246733})})]})}),alignControl&&(0x0,react_jsx_runtime['jsx'])(DropdownSelector,{'value':(_0x151de8=_0x5dfbe2===null||_0x5dfbe2===void 0x0?void 0x0:_0x5dfbe2[_0x1c9a20(0x4d5)]())!==null&&_0x151de8!==void 0x0?_0x151de8:'','menus':_0x1b48c4[_0x1c9a20(0x1f1)](_0x18600d=>({..._0x18600d})),'onSelect':_0x17a29d=>_0x88ea52===null||_0x88ea52===void 0x0?void 0x0:_0x88ea52(_0x1c9a20(0x5c9),_0x17a29d),'children':(0x0,react_jsx_runtime[_0x1c9a20(0x1f8)])('div',{'className':_0x1c9a20(0x2a8),'children':(0x0,react_jsx_runtime[_0x1c9a20(0x1f8)])(_univerjs_icons['AlignTextBothIcon'],{})})}),(0x0,react_jsx_runtime['jsx'])('div',{'onClick':()=>_0x88ea52===null||_0x88ea52===void 0x0?void 0x0:_0x88ea52(_0x1c9a20(0x591),!_0x2f6a9a),'className':(0x0,_univerjs_design[_0x1c9a20(0x233)])(_0x1c9a20(0x2a8),{'univer-bg-gray-50\x20univer-text-primary-600':_0x2f6a9a}),'children':(0x0,react_jsx_runtime['jsx'])(_univerjs_icons['BoldIcon'],{})}),(0x0,react_jsx_runtime[_0x1c9a20(0x1f8)])(_0x1c9a20(0x5bf),{'onClick':()=>_0x88ea52===null||_0x88ea52===void 0x0?void 0x0:_0x88ea52(_0x1c9a20(0x1d5),!_0x45d68e),'className':(0x0,_univerjs_design['clsx'])('univer-leading-1\x20univer-cursor-pointer\x20univer-rounded-sm\x20univer-px-1.5\x20univer-py-1',{'univer-bg-gray-50\x20univer-text-primary-600':_0x45d68e}),'children':(0x0,react_jsx_runtime[_0x1c9a20(0x1f8)])(_univerjs_icons['ItalicIcon'],{})})]});};function isValidNumber(_0x29283b){const _0x290f18=_0x94e517;return!Number['isNaN'](_0x29283b)&&Number[_0x290f18(0x2d5)](_0x29283b);}const AxisOptionsEdit=_0x1dd42a=>{const _0xcdb785=_0x94e517;var _0x393896,_0x5becfb,_0x11a9f1,_0x241946,_0x362501,_0x45e8f9,_0x1bfd12,_0x52213a,_0x16289d,_0x4ae4f7;const {localeService:_0x2d9e19,valueAxis:_0x2cd80f,axisOptions:_0x238fa7,onChange:_0x51901d,canUseDateAxis:_0x4c61b1,sheetsChartUIService:_0x16119f}=_0x1dd42a,{t:_0xb26f40}=_0x2d9e19,[_0x448980,_0x4914c9]=(0x0,react[_0xcdb785(0x348)])(_0x238fa7===null||_0x238fa7===void 0x0?void 0x0:_0x238fa7[_0xcdb785(0x268)]),[_0x4fdc4b,_0x24ed17]=(0x0,react['useState'])(_0x238fa7===null||_0x238fa7===void 0x0?void 0x0:_0x238fa7[_0xcdb785(0x5c7)]),_0x9d60c6=(0x0,_univerjs_ui[_0xcdb785(0x4c1)])(_univerjs_core[_0xcdb785(0x197)]),[_0x1fc324,_0x5c9d2b]=useChartConfigState(_0xcdb785(0x30b),_0x16119f,![]),_0x3c51f0=_0x5d137b=>{if(_0x5d137b!==null&&!isValidNumber(_0x5d137b)){_0x51901d===null||_0x51901d===void 0x0||_0x51901d({'min':null}),_0x24ed17(null);return;}if(_0x5d137b===null||_0x5d137b===void 0x0)_0x24ed17(null),_0x51901d===null||_0x51901d===void 0x0||_0x51901d({'min':null});else{_0x24ed17(_0x5d137b);if(_0x448980!==null&&_0x448980!==void 0x0&&_0x5d137b>=_0x448980)_0x4914c9(null),_0x51901d===null||_0x51901d===void 0x0||_0x51901d({'min':_0x5d137b,'max':null});else _0x51901d===null||_0x51901d===void 0x0||_0x51901d({'min':_0x5d137b});}},_0x3dbec2=_0x31def7=>{if(_0x31def7!==null&&!isValidNumber(_0x31def7)){_0x51901d===null||_0x51901d===void 0x0||_0x51901d({'max':null}),_0x4914c9(null);return;}if(_0x31def7===null||_0x31def7===void 0x0)_0x4914c9(null),_0x51901d===null||_0x51901d===void 0x0||_0x51901d({'max':null});else{_0x4914c9(_0x31def7);if(_0x4fdc4b!==null&&_0x4fdc4b!==void 0x0&&_0x31def7<=_0x4fdc4b)_0x24ed17(null),_0x51901d===null||_0x51901d===void 0x0||_0x51901d({'max':_0x31def7,'min':null});else _0x51901d===null||_0x51901d===void 0x0||_0x51901d({'max':_0x31def7});}},_0x2eaade=(_0x393896=_0x238fa7===null||_0x238fa7===void 0x0||(_0x5becfb=_0x238fa7['label'])===null||_0x5becfb===void 0x0?void 0x0:_0x5becfb[_0xcdb785(0x16e)])!==null&&_0x393896!==void 0x0?_0x393896:_0x1fc324?_univerjs_pro_engine_chart[_0xcdb785(0x491)]['axis']['dateAxisRotate']:0x0;return(0x0,react_jsx_runtime[_0xcdb785(0x5bb)])(_0xcdb785(0x250),{'children':[(0x0,react_jsx_runtime[_0xcdb785(0x1f8)])(_0xcdb785(0x5bf),{'className':_0xcdb785(0x5ae),'children':_0xb26f40(_0xcdb785(0x166))}),(0x0,react_jsx_runtime[_0xcdb785(0x5bb)])(_0xcdb785(0x5bf),{'className':_0xcdb785(0x385),'children':[(0x0,react_jsx_runtime[_0xcdb785(0x1f8)])('div',{'className':_0xcdb785(0x394),'children':(0x0,react_jsx_runtime[_0xcdb785(0x1f8)])(_univerjs_design['Checkbox'],{'checked':(_0x11a9f1=_0x238fa7===null||_0x238fa7===void 0x0||(_0x241946=_0x238fa7['label'])===null||_0x241946===void 0x0?void 0x0:_0x241946['visible'])!==null&&_0x11a9f1!==void 0x0?_0x11a9f1:_univerjs_pro_engine_chart[_0xcdb785(0x491)][_0xcdb785(0x4a8)]['labelVisible'],'onChange':_0x5d2dba=>_0x51901d===null||_0x51901d===void 0x0?void 0x0:_0x51901d({'label':{'visible':Boolean(_0x5d2dba)}}),'children':_0xb26f40(_0xcdb785(0x1d2))})}),!_0x2cd80f&&(0x0,react_jsx_runtime[_0xcdb785(0x5bb)])(_0xcdb785(0x5bf),{'className':'univer-flex\x20univer-flex-1\x20univer-flex-col\x20univer-justify-between','children':[(0x0,react_jsx_runtime[_0xcdb785(0x1f8)])(_univerjs_design[_0xcdb785(0x39a)],{'checked':(_0x362501=_0x238fa7===null||_0x238fa7===void 0x0?void 0x0:_0x238fa7[_0xcdb785(0x47d)])!==null&&_0x362501!==void 0x0?_0x362501:_univerjs_pro_engine_chart['defaultChartConfig'][_0xcdb785(0x4a8)][_0xcdb785(0x47d)],'onChange':_0x22eb45=>_0x51901d===null||_0x51901d===void 0x0?void 0x0:_0x51901d({'reverse':Boolean(_0x22eb45)}),'children':_0xb26f40(_0xcdb785(0x17c))}),'\x20']})]}),(0x0,react_jsx_runtime[_0xcdb785(0x1f8)])(_univerjs_design[_0xcdb785(0x39a)],{'className':_0xcdb785(0x4ff),'checked':(_0x45e8f9=_0x238fa7===null||_0x238fa7===void 0x0?void 0x0:_0x238fa7[_0xcdb785(0x4e5)])!==null&&_0x45e8f9!==void 0x0?_0x45e8f9:![],'onChange':_0x1f2781=>_0x51901d===null||_0x51901d===void 0x0?void 0x0:_0x51901d({'lineVisible':Boolean(_0x1f2781)}),'children':_0xb26f40('chart.styleEditPanel.showAxisLine')}),(0x0,react_jsx_runtime[_0xcdb785(0x1f8)])('div',{'className':'univer-justify-content-between\x20univer-items-flex-start\x20univer-mb-2\x20univer-flex\x20univer-gap-2','children':(0x0,react_jsx_runtime['jsx'])(FontFormatBar,{'className':_0xcdb785(0x4ff),..._0x238fa7===null||_0x238fa7===void 0x0?void 0x0:_0x238fa7[_0xcdb785(0x31a)],'localeService':_0x2d9e19,'fontSize':(_0x1bfd12=_0x238fa7===null||_0x238fa7===void 0x0||(_0x52213a=_0x238fa7[_0xcdb785(0x31a)])===null||_0x52213a===void 0x0?void 0x0:_0x52213a[_0xcdb785(0x3fe)])!==null&&_0x1bfd12!==void 0x0?_0x1bfd12:_univerjs_pro_engine_chart['defaultChartConfig'][_0xcdb785(0x54d)]['fontSize'],'color':(_0x16289d=_0x238fa7===null||_0x238fa7===void 0x0||(_0x4ae4f7=_0x238fa7[_0xcdb785(0x31a)])===null||_0x4ae4f7===void 0x0?void 0x0:_0x4ae4f7[_0xcdb785(0x571)])!==null&&_0x16289d!==void 0x0?_0x16289d:_univerjs_pro_engine_chart[_0xcdb785(0x491)][_0xcdb785(0x54d)]['color'],'onChange':(_0x24d1cc,_0x1ef77a)=>_0x51901d===null||_0x51901d===void 0x0?void 0x0:_0x51901d({'label':{[_0x24d1cc]:_0x1ef77a}})})}),_0x4c61b1&&(0x0,react_jsx_runtime[_0xcdb785(0x1f8)])(_0xcdb785(0x5bf),{'className':_0xcdb785(0x385),'children':(0x0,react_jsx_runtime[_0xcdb785(0x1f8)])(_univerjs_design[_0xcdb785(0x39a)],{'checked':Boolean(_0x1fc324),'onChange':_0x275901=>_0x5c9d2b===null||_0x5c9d2b===void 0x0?void 0x0:_0x5c9d2b(Boolean(_0x275901)),'children':(0x0,react_jsx_runtime[_0xcdb785(0x1f8)])(_univerjs_design['Tooltip'],{'title':_0xb26f40(_0xcdb785(0x2b3)),'children':(0x0,react_jsx_runtime['jsx'])(_0xcdb785(0x427),{'children':_0xb26f40(_0xcdb785(0x560))})})})}),(0x0,react_jsx_runtime[_0xcdb785(0x5bb)])(_0xcdb785(0x5bf),{'className':_0xcdb785(0x385),'children':[(0x0,react_jsx_runtime[_0xcdb785(0x1f8)])(_0xcdb785(0x5bf),{'className':'univer-mb-2\x20univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0xb26f40(_0xcdb785(0x14a))}),(0x0,react_jsx_runtime['jsx'])(_univerjs_design[_0xcdb785(0x2de)],{'className':_0xcdb785(0x5d0),'value':String(_0x2eaade),'onChange':_0x1687de=>_0x51901d===null||_0x51901d===void 0x0?void 0x0:_0x51901d({'label':{'rotate':Number(_0x1687de)}}),'options':axisLabelRotateOptions})]}),_0x2cd80f&&(0x0,react_jsx_runtime[_0xcdb785(0x5bb)])(_0xcdb785(0x5bf),{'className':'univer-justify-content-between\x20univer-items-flex-start\x20univer-mb-2\x20univer-flex\x20univer-gap-2','children':[(0x0,react_jsx_runtime['jsxs'])(_0xcdb785(0x5bf),{'className':_0xcdb785(0x394),'children':[(0x0,react_jsx_runtime['jsx'])(_0xcdb785(0x5bf),{'className':_0xcdb785(0x5ae),'children':_0xb26f40(_0xcdb785(0x475))}),(0x0,react_jsx_runtime[_0xcdb785(0x1f8)])(_univerjs_design['InputNumber'],{'value':_0x4fdc4b,'onChange':_0x5479c5=>{const _0x5491cb=_0xcdb785;_0x24ed17(_0x5479c5),_0x9d60c6[_0x5491cb(0x24f)](_univerjs_core['FOCUSING_PANEL_EDITOR'],![]),_0x3c51f0(Number[_0x5491cb(0x452)](_0x5479c5)?null:Number(_0x5479c5));},'onFocus':()=>_0x9d60c6[_0xcdb785(0x24f)](_univerjs_core[_0xcdb785(0x217)],!![]),'onBlur':_0x301867=>{const _0x4f3cb7=_0xcdb785;_0x9d60c6[_0x4f3cb7(0x24f)](_univerjs_core['FOCUSING_PANEL_EDITOR'],![]);const _0x43f592=_0x301867[_0x4f3cb7(0x347)][_0x4f3cb7(0x46a)];_0x3c51f0(_0x43f592===''?null:Number(_0x43f592));},'onPressEnter':_0x1c8505=>{const _0xdde4ed=_0xcdb785,_0x22c8f5=_0x1c8505[_0xdde4ed(0x347)][_0xdde4ed(0x46a)];_0x3c51f0(_0x22c8f5===''?null:Number(_0x22c8f5));}})]}),(0x0,react_jsx_runtime[_0xcdb785(0x5bb)])(_0xcdb785(0x5bf),{'className':_0xcdb785(0x394),'children':[(0x0,react_jsx_runtime[_0xcdb785(0x1f8)])('div',{'className':'univer-mb-2\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0xb26f40(_0xcdb785(0x169))}),(0x0,react_jsx_runtime['jsx'])(_univerjs_design[_0xcdb785(0x4e9)],{'value':_0x448980,'onChange':_0x54252f=>{const _0x38a24c=_0xcdb785;_0x4914c9(_0x54252f),_0x9d60c6[_0x38a24c(0x24f)](_univerjs_core['FOCUSING_PANEL_EDITOR'],![]),_0x3dbec2(Number[_0x38a24c(0x452)](_0x54252f)?null:Number(_0x54252f));},'onFocus':()=>_0x9d60c6['setContextValue'](_univerjs_core['FOCUSING_PANEL_EDITOR'],!![]),'onBlur':_0x56b3bb=>{const _0x561e52=_0xcdb785;_0x9d60c6[_0x561e52(0x24f)](_univerjs_core[_0x561e52(0x217)],![]);const _0x41f72d=_0x56b3bb[_0x561e52(0x347)][_0x561e52(0x46a)];_0x3dbec2(_0x41f72d===''?null:Number(_0x41f72d));},'onPressEnter':_0x2f7556=>{const _0x25eb59=_0xcdb785,_0x21130c=_0x2f7556[_0x25eb59(0x347)][_0x25eb59(0x46a)];_0x3dbec2(_0x21130c===''?null:Number(_0x21130c));}})]})]})]});},GridLineAndTickOptions=_0x44f717=>{const _0x27264f=_0x94e517;var _0x5a41e9,_0x25d2b8,_0x3aec24,_0xf89e56;const {runtimeAxes:_0x9f9d84,localeService:_0x29e62b,service:_0x57adcf,className:_0x2acc87}=_0x44f717,{t:_0x4a6713}=_0x29e62b,_0xd958f3=useTranslatedOptions(_0x29e62b,(0x0,react[_0x27264f(0x3dc)])(()=>axisListOptions[_0x27264f(0x5b4)](_0x1e223c=>{const _0x27b50d=_0x27264f,_0x36d859=_0x9f9d84===null||_0x9f9d84===void 0x0?void 0x0:_0x9f9d84[_0x27b50d(0x283)](_0x142dcb=>_0x142dcb[_0x27b50d(0x4c3)]===_univerjs_pro_engine_chart[_0x27b50d(0x2a5)][_0x27b50d(0x4f1)]);if(_0x1e223c[_0x27b50d(0x46a)]===_0x27b50d(0x3e0))return _0x36d859;return!![];}),[_0x9f9d84])),_0x5d4b6e=(0x0,react[_0x27264f(0x3dc)])(()=>_0x9f9d84===null||_0x9f9d84===void 0x0?void 0x0:_0x9f9d84[_0x27264f(0x178)](_0x20bdb9=>_0x20bdb9['priority']===_univerjs_pro_engine_chart['IRuntimeAxisPriority'][_0x27264f(0x198)]),[_0x9f9d84]),[_0x2dfa7a,_0x348f11]=(0x0,react[_0x27264f(0x348)])(axisListOptions[0x0][_0x27264f(0x46a)]),[_0x5a8244,_0x17b2e4]=useChartConfigState(_0x27264f(0x456),_0x57adcf),[_0x5edd4a,_0x53bffe]=useChartConfigState(_0x27264f(0x50a),_0x57adcf),[_0x4b7dec,_0x44f67c]=useChartConfigState(_0x27264f(0x179),_0x57adcf),_0x3434ee={'xAxis':_0x5a8244,'yAxis':_0x5edd4a,'rightYAxis':_0x4b7dec}[_0x2dfa7a],_0x56a63f={'xAxis':_0x17b2e4,'yAxis':_0x53bffe,'rightYAxis':_0x44f67c}[_0x2dfa7a],_0x15b414={'xAxis':_0x27264f(0x45e),'yAxis':_0x27264f(0x45c),'rightYAxis':_0x27264f(0x1a6)}[_0x2dfa7a],_0x4c37ba=_0x3434ee===null||_0x3434ee===void 0x0?void 0x0:_0x3434ee['tick'],_0x178ae9=_0x3434ee===null||_0x3434ee===void 0x0?void 0x0:_0x3434ee[_0x27264f(0x223)],_0x18de8c=(0x0,react[_0x27264f(0x177)])(_0x592d88=>{_0x56a63f===null||_0x56a63f===void 0x0||_0x56a63f({'gridLine':_0x592d88});},[_0x56a63f]),{visible:_0x14188e,color:_0x35c5b2,width:_0x202397}=_0x178ae9!==null&&_0x178ae9!==void 0x0?_0x178ae9:{},_0x656e=_0x14188e!==null&&_0x14188e!==void 0x0?_0x14188e:(_0x5d4b6e===null||_0x5d4b6e===void 0x0?void 0x0:_0x5d4b6e[_0x27264f(0x4c3)])===_0x15b414,_0x2ca300=useTranslatedOptions(_0x29e62b,pieDataLabelPositionOptions),_0x3d90dd=(0x0,react[_0x27264f(0x3dc)])(()=>{const _0x1e86d9=_0x27264f;return defaultOption[_0x1e86d9(0x31a)]=_0x4a6713(defaultOption[_0x1e86d9(0x31a)]),[defaultOption,...tickLengthOptions];},[_0x4a6713]),_0x224a68=(0x0,react[_0x27264f(0x3dc)])(()=>{const _0x3c3c7e=_0x27264f;return defaultOption[_0x3c3c7e(0x31a)]=_0x4a6713(defaultOption[_0x3c3c7e(0x31a)]),[defaultOption,...tickWidthOptions];},[_0x4a6713]);return(0x0,react_jsx_runtime[_0x27264f(0x5bb)])('div',{'className':_0x2acc87,'children':[(0x0,react_jsx_runtime[_0x27264f(0x1f8)])(_0x27264f(0x5bf),{'className':_0x27264f(0x385),'children':(0x0,react_jsx_runtime['jsx'])(_univerjs_design[_0x27264f(0x2de)],{'className':_0x27264f(0x4f6),'options':_0xd958f3,'value':_0x2dfa7a,'onChange':_0x348f11})}),(0x0,react_jsx_runtime[_0x27264f(0x1f8)])(_0x27264f(0x5bf),{'className':_0x27264f(0x385),'children':(0x0,react_jsx_runtime[_0x27264f(0x1f8)])(_0x27264f(0x5bf),{'className':'univer-flex\x20univer-flex-1\x20univer-flex-col\x20univer-justify-between','children':(0x0,react_jsx_runtime[_0x27264f(0x1f8)])(_univerjs_design[_0x27264f(0x39a)],{'checked':_0x656e,'onChange':_0x1d56f6=>_0x18de8c===null||_0x18de8c===void 0x0?void 0x0:_0x18de8c({'visible':Boolean(_0x1d56f6)}),'children':_0x4a6713(_0x27264f(0x243))})})}),_0x656e&&(0x0,react_jsx_runtime[_0x27264f(0x5bb)])(_0x27264f(0x5bf),{'className':_0x27264f(0x385),'children':[(0x0,react_jsx_runtime['jsxs'])('div',{'className':_0x27264f(0x394),'children':[(0x0,react_jsx_runtime[_0x27264f(0x5bb)])('div',{'className':'univer-mb-2\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':[_0x4a6713(_0x27264f(0x40b)),_0x4a6713(_0x27264f(0x39f))]}),(0x0,react_jsx_runtime['jsx'])(ColorPickerControl,{'color':_0x35c5b2,'onChange':_0x2389d9=>_0x18de8c===null||_0x18de8c===void 0x0?void 0x0:_0x18de8c({'color':_0x2389d9!==null&&_0x2389d9!==void 0x0?_0x2389d9:void 0x0})})]}),(0x0,react_jsx_runtime[_0x27264f(0x5bb)])(_0x27264f(0x5bf),{'className':'univer-flex\x20univer-flex-1\x20univer-flex-col\x20univer-justify-between','children':[(0x0,react_jsx_runtime[_0x27264f(0x1f8)])('div',{'className':_0x27264f(0x5ae),'children':_0x4a6713(_0x27264f(0x1e4),_0x4a6713(_0x27264f(0x40b)))}),(0x0,react_jsx_runtime[_0x27264f(0x1f8)])(_univerjs_design[_0x27264f(0x2de)],{'className':_0x27264f(0x4f6),'value':String(_0x202397!==null&&_0x202397!==void 0x0?_0x202397:''),'onChange':_0x132cb0=>_0x18de8c===null||_0x18de8c===void 0x0?void 0x0:_0x18de8c({'width':Number(_0x132cb0)}),'options':tickThicknessOptions})]})]}),(0x0,react_jsx_runtime[_0x27264f(0x5bb)])(_0x27264f(0x5bf),{'children':[(0x0,react_jsx_runtime[_0x27264f(0x1f8)])('div',{'children':(0x0,react_jsx_runtime[_0x27264f(0x1f8)])(_univerjs_design[_0x27264f(0x39a)],{'checked':_0x4c37ba===null||_0x4c37ba===void 0x0?void 0x0:_0x4c37ba[_0x27264f(0x2f3)],'onChange':_0x25b0ee=>_0x56a63f===null||_0x56a63f===void 0x0?void 0x0:_0x56a63f({'tick':{'visible':Boolean(_0x25b0ee)}}),'children':_0x4a6713(_0x27264f(0x4e2))})}),(0x0,react_jsx_runtime[_0x27264f(0x5bb)])(_0x27264f(0x5bf),{'children':[(0x0,react_jsx_runtime[_0x27264f(0x5bb)])('div',{'className':_0x27264f(0x385),'children':[(0x0,react_jsx_runtime[_0x27264f(0x5bb)])('div',{'className':_0x27264f(0x394),'children':[(0x0,react_jsx_runtime['jsx'])(_0x27264f(0x5bf),{'className':_0x27264f(0x5ae),'children':_0x4a6713('chart.ticks.tickPosition')}),(0x0,react_jsx_runtime[_0x27264f(0x1f8)])(_univerjs_design[_0x27264f(0x2de)],{'className':'univer-w-full\x20!univer-min-w-0','value':(_0x5a41e9=_0x4c37ba===null||_0x4c37ba===void 0x0?void 0x0:_0x4c37ba[_0x27264f(0x4c3)])!==null&&_0x5a41e9!==void 0x0?_0x5a41e9:_univerjs_pro_engine_chart['PieLabelPosition'][_0x27264f(0x251)],'options':_0x2ca300,'onChange':_0x5eb0fa=>_0x56a63f===null||_0x56a63f===void 0x0?void 0x0:_0x56a63f({'tick':{'position':_0x5eb0fa}})})]}),(0x0,react_jsx_runtime[_0x27264f(0x5bb)])(_0x27264f(0x5bf),{'className':_0x27264f(0x394),'children':[(0x0,react_jsx_runtime[_0x27264f(0x1f8)])(_0x27264f(0x5bf),{'className':'univer-mb-2\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x4a6713(_0x27264f(0x343))}),(0x0,react_jsx_runtime[_0x27264f(0x1f8)])(_univerjs_design[_0x27264f(0x2de)],{'className':_0x27264f(0x4f6),'value':String((_0x25d2b8=_0x4c37ba===null||_0x4c37ba===void 0x0?void 0x0:_0x4c37ba['length'])!==null&&_0x25d2b8!==void 0x0?_0x25d2b8:defaultOption[_0x27264f(0x46a)]),'options':_0x3d90dd,'onChange':_0x538397=>_0x56a63f===null||_0x56a63f===void 0x0?void 0x0:_0x56a63f({'tick':{'length':_0x538397===defaultOption[_0x27264f(0x46a)]?void 0x0:Number(_0x538397)}})})]})]}),(0x0,react_jsx_runtime[_0x27264f(0x5bb)])(_0x27264f(0x5bf),{'className':_0x27264f(0x385),'children':[(0x0,react_jsx_runtime[_0x27264f(0x5bb)])(_0x27264f(0x5bf),{'className':_0x27264f(0x394),'children':[(0x0,react_jsx_runtime['jsx'])(_0x27264f(0x5bf),{'className':'univer-mb-2\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x4a6713(_0x27264f(0x1e4),_0x4a6713(_0x27264f(0x4cd)))}),(0x0,react_jsx_runtime[_0x27264f(0x1f8)])(_univerjs_design[_0x27264f(0x2de)],{'className':_0x27264f(0x4f6),'value':String((_0x3aec24=_0x4c37ba===null||_0x4c37ba===void 0x0?void 0x0:_0x4c37ba['lineWidth'])!==null&&_0x3aec24!==void 0x0?_0x3aec24:defaultOption[_0x27264f(0x46a)]),'options':_0x224a68,'onChange':_0x3fea8e=>_0x56a63f===null||_0x56a63f===void 0x0?void 0x0:_0x56a63f({'tick':{'lineWidth':_0x3fea8e===defaultOption[_0x27264f(0x46a)]?void 0x0:Number(_0x3fea8e)}})})]}),(0x0,react_jsx_runtime[_0x27264f(0x5bb)])(_0x27264f(0x5bf),{'className':_0x27264f(0x394),'children':[(0x0,react_jsx_runtime[_0x27264f(0x1f8)])('div',{'className':'univer-mb-2\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x4a6713('chart.withColor',_0x4a6713(_0x27264f(0x4cd)))}),(0x0,react_jsx_runtime['jsx'])(ColorPickerControl,{'color':(_0xf89e56=_0x4c37ba===null||_0x4c37ba===void 0x0?void 0x0:_0x4c37ba[_0x27264f(0x38c)])!==null&&_0xf89e56!==void 0x0?_0xf89e56:'','onChange':_0x535d01=>_0x56a63f===null||_0x56a63f===void 0x0?void 0x0:_0x56a63f({'tick':{'lineColor':_0x535d01!==null&&_0x535d01!==void 0x0?_0x535d01:void 0x0}})})]})]})]})]})]});},IndicatorLine=_0x3554bb=>{const _0x32d00e=_0x94e517,{localeService:_0x269dbe,onChange:_0x18cf1b,indicatorLabelColor:_0xa36ce0,indicatorLineType:_0x5296d9,indicatorLabelTextColor:_0x421177,indicatorLineColor:_0x482e4b}=_0x3554bb,{t:_0x446b71}=_0x269dbe,_0x445677=useTranslatedOptions(_0x269dbe,borderDashTypeOptions);return(0x0,react_jsx_runtime[_0x32d00e(0x5bb)])(react_jsx_runtime[_0x32d00e(0x185)],{'children':[(0x0,react_jsx_runtime['jsxs'])('div',{'className':_0x32d00e(0x436),'children':[(0x0,react_jsx_runtime['jsxs'])('div',{'className':_0x32d00e(0x394),'children':[(0x0,react_jsx_runtime[_0x32d00e(0x1f8)])('div',{'className':'univer-mb-2\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x446b71(_0x32d00e(0x288))}),(0x0,react_jsx_runtime[_0x32d00e(0x1f8)])(_univerjs_design['Select'],{'className':_0x32d00e(0x4f6),'value':_0x5296d9,'options':_0x445677,'onChange':_0x4f85e8=>{_0x18cf1b===null||_0x18cf1b===void 0x0||_0x18cf1b({'indicatorLineType':_0x4f85e8});}})]}),(0x0,react_jsx_runtime[_0x32d00e(0x5bb)])(_0x32d00e(0x5bf),{'className':'univer-flex\x20univer-flex-1\x20univer-flex-col\x20univer-justify-between','children':[(0x0,react_jsx_runtime[_0x32d00e(0x1f8)])('div',{'className':'univer-mb-2\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x446b71(_0x32d00e(0x2d7))}),(0x0,react_jsx_runtime[_0x32d00e(0x1f8)])(ColorPickerControl,{'color':_0x482e4b,'onChange':_0x95746b=>{_0x18cf1b===null||_0x18cf1b===void 0x0||_0x18cf1b({'indicatorLineColor':_0x95746b});}})]})]}),(0x0,react_jsx_runtime[_0x32d00e(0x5bb)])('div',{'className':_0x32d00e(0x436),'children':[(0x0,react_jsx_runtime[_0x32d00e(0x5bb)])(_0x32d00e(0x5bf),{'className':_0x32d00e(0x394),'children':[(0x0,react_jsx_runtime[_0x32d00e(0x1f8)])('div',{'className':'univer-mb-2\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x446b71(_0x32d00e(0x553))}),(0x0,react_jsx_runtime[_0x32d00e(0x1f8)])(ColorPickerControl,{'color':_0xa36ce0,'onChange':_0x11d449=>{_0x18cf1b===null||_0x18cf1b===void 0x0||_0x18cf1b({'indicatorLabelColor':_0x11d449});}})]}),(0x0,react_jsx_runtime['jsxs'])(_0x32d00e(0x5bf),{'className':_0x32d00e(0x394),'children':[(0x0,react_jsx_runtime['jsx'])(_0x32d00e(0x5bf),{'className':_0x32d00e(0x5ae),'children':_0x446b71('chart.indicatorValue')}),(0x0,react_jsx_runtime[_0x32d00e(0x1f8)])(ColorPickerControl,{'color':_0x421177,'onChange':_0x53e14a=>{_0x18cf1b===null||_0x18cf1b===void 0x0||_0x18cf1b({'indicatorLabelTextColor':_0x53e14a});}})]})]})]});},PercentageChartTypes=new Set([_univerjs_pro_engine_chart[_0x94e517(0x278)][_0x94e517(0x4ea)],_univerjs_pro_engine_chart[_0x94e517(0x278)][_0x94e517(0x22e)],_univerjs_pro_engine_chart[_0x94e517(0x278)][_0x94e517(0x30a)],_univerjs_pro_engine_chart['ChartTypeBits'][_0x94e517(0x269)],_univerjs_pro_engine_chart[_0x94e517(0x278)]['ColumnPercentStacked']]),DataLabelOptions=_0x42ae07=>{const _0x1f6425=_0x94e517;var _0x58d3e8,_0x500055;const {fallbackLabelStyle:_0x1be92a,labelStyle:_0x236af0,positionOptions:_0x25ef4d,contentTypeOptions:_0x5d768b,onLabelStyleChange:_0x541674,onVisibleChange:_0x2aaa8d,onPadAngleChange:_0x25f9ad,localeService:_0x43b953,isPieLike:_0x87c846,padAngleStyle:_0x2fa7c3,onHalfPieChange:_0x2e9fea,isHalfPie:_0x57a327,onRosePieChange:_0x2f1dd0,isRosePie:_0x472303,onShowLabelLineChange:_0x24a75e,showLabelLine:_0x2ec072,chartType:_0x47ae32}=_0x42ae07,_0x10a1da={..._0x1be92a,..._0x236af0},{contentType:_0x5aaa09}=_0x10a1da,_0x49c396=(0x0,react[_0x1f6425(0x3dc)])(()=>{const _0x2cfe4e=_0x1f6425;if(!_0x5aaa09)return[];const _0x29f853=labelContentTypeList[_0x2cfe4e(0x5b4)](_0x5f2a20=>_univerjs_pro_engine_chart[_0x2cfe4e(0x1bf)]['has'](_0x5aaa09,_0x5f2a20)),_0x3571a5=[];for(const _0x39090c of _0x29f853)if(_0x39090c===_univerjs_pro_engine_chart['LabelContentType']['Percentage']){if(PercentageChartTypes[_0x2cfe4e(0x416)](_0x47ae32))_0x3571a5[_0x2cfe4e(0x207)](_0x39090c);}else _0x3571a5[_0x2cfe4e(0x207)](_0x39090c);return _0x3571a5['map'](_0x5943c4=>String(_0x5943c4));},[_0x5aaa09]),_0x102dd0=(0x0,react[_0x1f6425(0x177)])(_0x433315=>{const _0x1623f3=_0x1f6425,_0x15bd4f=_0x433315[_0x1623f3(0x1f1)](_0x250790=>Number(_0x250790));if(_0x15bd4f['length']<=0x0)return;const _0x1e6d00=_0x15bd4f[_0x1623f3(0x22b)]>0x0?_0x15bd4f['reduce']((_0x639e53,_0x2eb979)=>_0x639e53|_0x2eb979):_univerjs_pro_engine_chart['LabelContentType'][_0x1623f3(0x16b)];_0x541674===null||_0x541674===void 0x0||_0x541674('contentType',_0x1e6d00);},[_0x541674]),{t:_0x553a36}=_0x43b953;return(0x0,react_jsx_runtime['jsxs'])(_0x1f6425(0x5bf),{'children':[(0x0,react_jsx_runtime[_0x1f6425(0x1f8)])(_0x1f6425(0x5bf),{'className':_0x1f6425(0x5ae),'children':(0x0,react_jsx_runtime[_0x1f6425(0x1f8)])(_univerjs_design[_0x1f6425(0x39a)],{'checked':(_0x58d3e8=_0x10a1da['visible'])!==null&&_0x58d3e8!==void 0x0?_0x58d3e8:![],'onChange':_0x31c93c=>{_0x2aaa8d===null||_0x2aaa8d===void 0x0||_0x2aaa8d(Boolean(_0x31c93c));},'children':_0x553a36(_0x1f6425(0x4d0))})}),_0x87c846&&(0x0,react_jsx_runtime[_0x1f6425(0x5bb)])(react_jsx_runtime[_0x1f6425(0x185)],{'children':[(0x0,react_jsx_runtime[_0x1f6425(0x1f8)])(_0x1f6425(0x5bf),{'className':_0x1f6425(0x5ae),'children':(0x0,react_jsx_runtime[_0x1f6425(0x1f8)])(_univerjs_design[_0x1f6425(0x39a)],{'checked':_0x2fa7c3!==null&&_0x2fa7c3!==void 0x0?_0x2fa7c3:![],'onChange':_0x49a41d=>{_0x25f9ad===null||_0x25f9ad===void 0x0||_0x25f9ad(Boolean(_0x49a41d));},'children':_0x553a36(_0x1f6425(0x382))})}),(0x0,react_jsx_runtime[_0x1f6425(0x1f8)])(_0x1f6425(0x5bf),{'className':'univer-mb-2\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':(0x0,react_jsx_runtime[_0x1f6425(0x1f8)])(_univerjs_design['Checkbox'],{'checked':_0x57a327!==null&&_0x57a327!==void 0x0?_0x57a327:![],'onChange':_0x5b79a2=>{_0x2e9fea===null||_0x2e9fea===void 0x0||_0x2e9fea(Boolean(_0x5b79a2));},'children':_0x553a36(_0x1f6425(0x582))})}),(0x0,react_jsx_runtime[_0x1f6425(0x1f8)])(_0x1f6425(0x5bf),{'className':_0x1f6425(0x5ae),'children':(0x0,react_jsx_runtime['jsx'])(_univerjs_design['Checkbox'],{'checked':_0x472303!==null&&_0x472303!==void 0x0?_0x472303:![],'onChange':_0xe55f81=>{_0x2f1dd0===null||_0x2f1dd0===void 0x0||_0x2f1dd0(Boolean(_0xe55f81));},'children':_0x553a36(_0x1f6425(0x3b8))})}),_0x10a1da[_0x1f6425(0x2f3)]===!![]&&(0x0,react_jsx_runtime[_0x1f6425(0x1f8)])(_0x1f6425(0x5bf),{'className':_0x1f6425(0x5ae),'children':(0x0,react_jsx_runtime[_0x1f6425(0x1f8)])(_univerjs_design[_0x1f6425(0x39a)],{'checked':_0x2ec072!==null&&_0x2ec072!==void 0x0?_0x2ec072:![],'onChange':_0x4752fa=>{_0x24a75e===null||_0x24a75e===void 0x0||_0x24a75e(Boolean(_0x4752fa));},'children':_0x553a36(_0x1f6425(0x2bd))})})]}),_0x10a1da[_0x1f6425(0x2f3)]&&(0x0,react_jsx_runtime[_0x1f6425(0x5bb)])('div',{'className':_0x1f6425(0x236),'children':[(0x0,react_jsx_runtime[_0x1f6425(0x1f8)])(_0x1f6425(0x5bf),{'className':'univer-mb-2\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x553a36(_0x1f6425(0x53a))}),(0x0,react_jsx_runtime['jsx'])(_univerjs_design[_0x1f6425(0x2de)],{'className':_0x1f6425(0x4f6),'value':(_0x500055=_0x10a1da[_0x1f6425(0x4c3)])!==null&&_0x500055!==void 0x0?_0x500055:'','onChange':_0x225224=>_0x541674===null||_0x541674===void 0x0?void 0x0:_0x541674(_0x1f6425(0x4c3),_0x225224),'options':_0x25ef4d}),_0x5d768b&&(0x0,react_jsx_runtime[_0x1f6425(0x5bb)])(react_jsx_runtime[_0x1f6425(0x185)],{'children':[(0x0,react_jsx_runtime['jsx'])(_0x1f6425(0x5bf),{'className':_0x1f6425(0x5ae),'children':_0x553a36(_0x1f6425(0x516))}),(0x0,react_jsx_runtime[_0x1f6425(0x1f8)])(_0x1f6425(0x5bf),{'className':_0x1f6425(0x462),'children':(0x0,react_jsx_runtime['jsx'])(_univerjs_design[_0x1f6425(0x1a5)],{'className':_0x1f6425(0x378),'value':_0x49c396,'options':_0x5d768b,'onChange':_0x102dd0})})]}),(0x0,react_jsx_runtime[_0x1f6425(0x5bb)])('div',{'children':[(0x0,react_jsx_runtime[_0x1f6425(0x1f8)])('div',{'className':_0x1f6425(0x5ae),'children':_0x553a36('chart.titles.titleText')}),(0x0,react_jsx_runtime[_0x1f6425(0x1f8)])(FontFormatBar,{..._0x10a1da,'localeService':_0x43b953,'onChange':_0x541674})]})]})]});},FillOptions=_0x2e217c=>{const _0x23df2f=_0x94e517;var _0x38b215,_0x56d5b7;const {localeService:_0x42e147,seriesStyle:_0x4b700b,onSeriesStyleChange:_0x439e91,controlName:_0x51d2a2,allSeriesStyle:_0x157b9d,chartType:_0x2c4822}=_0x2e217c,{t:_0x4a503c}=_0x42e147,_0x1419d1=_0x2c4822===_univerjs_pro_engine_chart[_0x23df2f(0x278)][_0x23df2f(0x22f)]?_univerjs_pro_engine_chart['defaultChartConfig'][_0x23df2f(0x479)][_0x23df2f(0x520)]:_univerjs_pro_engine_chart[_0x23df2f(0x491)][_0x23df2f(0x39e)]['opacity'];return(0x0,react_jsx_runtime[_0x23df2f(0x5bb)])(_0x23df2f(0x5bf),{'className':_0x23df2f(0x436),'children':[(0x0,react_jsx_runtime[_0x23df2f(0x5bb)])(_0x23df2f(0x5bf),{'className':'univer-flex\x20univer-flex-1\x20univer-flex-col\x20univer-justify-between','children':[(0x0,react_jsx_runtime['jsx'])(_0x23df2f(0x5bf),{'className':_0x23df2f(0x5ae),'children':_0x4a503c(_0x23df2f(0x2a6),_0x51d2a2)}),(0x0,react_jsx_runtime[_0x23df2f(0x1f8)])(ColorPickerControl,{'color':(_0x4b700b===null||_0x4b700b===void 0x0?void 0x0:_0x4b700b[_0x23df2f(0x571)])||(_0x157b9d===null||_0x157b9d===void 0x0?void 0x0:_0x157b9d[_0x23df2f(0x571)])||'','onChange':_0x446e29=>_0x439e91===null||_0x439e91===void 0x0?void 0x0:_0x439e91({'color':_0x446e29})})]}),(0x0,react_jsx_runtime[_0x23df2f(0x5bb)])(_0x23df2f(0x5bf),{'className':'univer-flex\x20univer-flex-1\x20univer-flex-col\x20univer-justify-between','children':[(0x0,react_jsx_runtime['jsx'])(_0x23df2f(0x5bf),{'className':_0x23df2f(0x5ae),'children':_0x4a503c(_0x23df2f(0x4d2),_0x51d2a2)}),(0x0,react_jsx_runtime[_0x23df2f(0x1f8)])(_univerjs_design[_0x23df2f(0x2de)],{'className':'univer-w-full\x20!univer-min-w-0','value':String((_0x38b215=(_0x56d5b7=_0x4b700b===null||_0x4b700b===void 0x0?void 0x0:_0x4b700b['fillOpacity'])!==null&&_0x56d5b7!==void 0x0?_0x56d5b7:_0x157b9d===null||_0x157b9d===void 0x0?void 0x0:_0x157b9d[_0x23df2f(0x220)])!==null&&_0x38b215!==void 0x0?_0x38b215:_0x1419d1),'options':lineOpacityOptions,'onChange':_0x5da2a7=>_0x439e91===null||_0x439e91===void 0x0?void 0x0:_0x439e91({'fillOpacity':Number(_0x5da2a7)})})]})]});},BorderOptions=_0xfbfcb4=>{const _0x260895=_0x94e517;var _0x519f41,_0x26f736,_0x107335,_0x97bda5;const {localeService:_0x116156,borderStyle:_0x716a6c,onSeriesStyleChange:_0x126203,controlName:_0x3e7f7c,hideBorder:_0x22d024,allSeriesBorderStyle:_0x45b4c0,isLineOrAreaChart:_0x3420bb}=_0xfbfcb4,_0x1e69d8=useTranslatedOptions(_0x116156,borderDashTypeOptions),{t:_0x76499f}=_0x116156,_0x119762=_0x3420bb?borderWidthOptions[_0x260895(0x49b)](0x1):borderWidthOptions;return(0x0,react_jsx_runtime[_0x260895(0x5bb)])(react_jsx_runtime[_0x260895(0x185)],{'children':[_0x22d024&&(0x0,react_jsx_runtime[_0x260895(0x5bb)])('div',{'className':_0x260895(0x436),'children':[(0x0,react_jsx_runtime[_0x260895(0x5bb)])(_0x260895(0x5bf),{'className':_0x260895(0x394),'children':[(0x0,react_jsx_runtime['jsx'])(_0x260895(0x5bf),{'className':_0x260895(0x5ae),'children':_0x76499f(_0x260895(0x2a6),_0x3e7f7c)}),(0x0,react_jsx_runtime[_0x260895(0x1f8)])(ColorPickerControl,{'color':(_0x519f41=_0x716a6c===null||_0x716a6c===void 0x0?void 0x0:_0x716a6c[_0x260895(0x571)])!==null&&_0x519f41!==void 0x0?_0x519f41:_0x45b4c0===null||_0x45b4c0===void 0x0?void 0x0:_0x45b4c0[_0x260895(0x571)],'onChange':_0x2f20c7=>_0x126203===null||_0x126203===void 0x0?void 0x0:_0x126203({'border':{'color':_0x2f20c7}})})]}),(0x0,react_jsx_runtime[_0x260895(0x5bb)])(_0x260895(0x5bf),{'className':_0x260895(0x394),'children':[(0x0,react_jsx_runtime['jsx'])('div',{'className':_0x260895(0x5ae),'children':_0x76499f(_0x260895(0x4d2),_0x3e7f7c)}),(0x0,react_jsx_runtime[_0x260895(0x1f8)])(_univerjs_design[_0x260895(0x2de)],{'className':_0x260895(0x4f6),'value':String((_0x26f736=_0x716a6c===null||_0x716a6c===void 0x0?void 0x0:_0x716a6c[_0x260895(0x42c)])!==null&&_0x26f736!==void 0x0?_0x26f736:_0x45b4c0===null||_0x45b4c0===void 0x0?void 0x0:_0x45b4c0[_0x260895(0x42c)]),'options':lineOpacityOptions,'onChange':_0x5a14d6=>_0x126203===null||_0x126203===void 0x0?void 0x0:_0x126203({'border':{'opacity':Number(_0x5a14d6)}})})]})]}),(0x0,react_jsx_runtime['jsxs'])(_0x260895(0x5bf),{'className':'univer-mb-2\x20univer-flex\x20univer-justify-between\x20univer-gap-2\x20univer-p-0','children':[(0x0,react_jsx_runtime[_0x260895(0x5bb)])('div',{'className':_0x260895(0x394),'children':[(0x0,react_jsx_runtime[_0x260895(0x1f8)])(_0x260895(0x5bf),{'className':'univer-mb-2\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x76499f(_0x260895(0x3a4),_0x3e7f7c)}),(0x0,react_jsx_runtime['jsx'])(_univerjs_design[_0x260895(0x2de)],{'className':'univer-w-full\x20!univer-min-w-0','value':(_0x107335=_0x716a6c===null||_0x716a6c===void 0x0?void 0x0:_0x716a6c[_0x260895(0x1f3)])!==null&&_0x107335!==void 0x0?_0x107335:_0x45b4c0===null||_0x45b4c0===void 0x0?void 0x0:_0x45b4c0[_0x260895(0x1f3)],'options':_0x1e69d8,'onChange':_0x43c25d=>_0x126203===null||_0x126203===void 0x0?void 0x0:_0x126203({'border':{'dashType':_0x43c25d}})})]}),(0x0,react_jsx_runtime[_0x260895(0x5bb)])(_0x260895(0x5bf),{'className':_0x260895(0x394),'children':[(0x0,react_jsx_runtime[_0x260895(0x1f8)])(_0x260895(0x5bf),{'className':'univer-mb-2\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x76499f('chart.withThickness',_0x3e7f7c)}),(0x0,react_jsx_runtime[_0x260895(0x1f8)])(_univerjs_design[_0x260895(0x2de)],{'className':_0x260895(0x4f6),'value':String((_0x97bda5=_0x716a6c===null||_0x716a6c===void 0x0?void 0x0:_0x716a6c[_0x260895(0x143)])!==null&&_0x97bda5!==void 0x0?_0x97bda5:_0x45b4c0===null||_0x45b4c0===void 0x0?void 0x0:_0x45b4c0[_0x260895(0x143)]),'options':_0x119762,'onChange':_0x1cee6d=>_0x126203===null||_0x126203===void 0x0?void 0x0:_0x126203({'border':{'width':Number(_0x1cee6d)}})})]})]})]});},LinePointOptions=_0x223fcf=>{const _0x20193d=_0x94e517,{localeService:_0x4cd4a9,pointStyle:_0x4dd028,controls:_0x1b2656,onChange:_0x262a99}=_0x223fcf,_0x26e33a=useTranslatedOptions(_0x4cd4a9,linePointShapeOptions),_0xb57f02=useTranslatedOptions(_0x4cd4a9,linePointSizeOptions),{t:_0x2b7f3d}=_0x4cd4a9,_0x5cba1a=_0x1b2656[_0x20193d(0x1f1)](_0x53d73f=>{const _0x532111=_0x20193d;switch(_0x53d73f){case _0x532111(0x181):return(0x0,react_jsx_runtime[_0x532111(0x5bb)])(_0x532111(0x5bf),{'className':_0x532111(0x394),'children':[(0x0,react_jsx_runtime[_0x532111(0x1f8)])('div',{'className':'univer-mb-2\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x2b7f3d(_0x532111(0x5ce),_0x2b7f3d('chart.point'))}),(0x0,react_jsx_runtime[_0x532111(0x1f8)])(_univerjs_design['Select'],{'className':_0x532111(0x4f6),'value':String(_0x4dd028[_0x532111(0x181)]),'options':_0x26e33a,'onChange':_0x655e35=>_0x262a99===null||_0x262a99===void 0x0?void 0x0:_0x262a99(_0x532111(0x181),_0x655e35)})]},_0x53d73f);case _0x532111(0x336):return(0x0,react_jsx_runtime[_0x532111(0x5bb)])(_0x532111(0x5bf),{'className':_0x532111(0x394),'children':[(0x0,react_jsx_runtime[_0x532111(0x1f8)])(_0x532111(0x5bf),{'className':_0x532111(0x5ae),'children':_0x2b7f3d(_0x532111(0x277),_0x2b7f3d(_0x532111(0x447)))}),(0x0,react_jsx_runtime['jsx'])(_univerjs_design[_0x532111(0x2de)],{'className':_0x532111(0x4f6),'value':String(_0x4dd028[_0x532111(0x336)]),'options':_0xb57f02,'onChange':_0x262a87=>_0x262a99===null||_0x262a99===void 0x0?void 0x0:_0x262a99(_0x532111(0x336),Number(_0x262a87))})]},_0x53d73f);case _0x532111(0x571):return(0x0,react_jsx_runtime['jsxs'])(_0x532111(0x5bf),{'className':'univer-flex\x20univer-flex-1\x20univer-flex-col\x20univer-justify-between','children':[(0x0,react_jsx_runtime['jsx'])('div',{'className':_0x532111(0x5ae),'children':_0x2b7f3d('chart.withColor',_0x2b7f3d(_0x532111(0x447)))}),(0x0,react_jsx_runtime[_0x532111(0x1f8)])(ColorPickerControl,{'color':_0x4dd028[_0x532111(0x571)],'onChange':_0x2132b1=>_0x262a99===null||_0x262a99===void 0x0?void 0x0:_0x262a99(_0x532111(0x571),_0x2132b1)})]},_0x53d73f);}return null;}),_0x1da5af=[];for(let _0x35ac73=0x0;_0x35ac73<_0x5cba1a[_0x20193d(0x22b)];_0x35ac73+=0x2)_0x1da5af[_0x20193d(0x207)]((0x0,react_jsx_runtime['jsxs'])('div',{'className':'univer-mb-2\x20univer-flex\x20univer-justify-between\x20univer-gap-2\x20univer-p-0','children':[_0x5cba1a[_0x35ac73],_0x35ac73+0x1<_0x5cba1a[_0x20193d(0x22b)]?_0x5cba1a[_0x35ac73+0x1]:(0x0,react_jsx_runtime[_0x20193d(0x1f8)])(_0x20193d(0x5bf),{'className':_0x20193d(0x394)})]},_0x35ac73));return(0x0,react_jsx_runtime[_0x20193d(0x1f8)])(react_jsx_runtime[_0x20193d(0x185)],{'children':[..._0x1da5af]});},AxisControl=_0x1fa188=>{const _0xf33e96=_0x94e517,{localeService:_0x22426d,rightYAxis:_0x7c1c31,onSeriesStyleChange:_0x5963c3}=_0x1fa188,{t:_0x18c123}=_0x22426d;return(0x0,react_jsx_runtime[_0xf33e96(0x1f8)])(_0xf33e96(0x5bf),{'className':'univer-mb-2\x20univer-flex\x20univer-justify-between\x20univer-gap-2\x20univer-p-0','children':(0x0,react_jsx_runtime[_0xf33e96(0x1f8)])(_0xf33e96(0x5bf),{'className':_0xf33e96(0x394),'children':(0x0,react_jsx_runtime['jsx'])(_univerjs_design[_0xf33e96(0x39a)],{'checked':_0x7c1c31,'onChange':_0x2ad405=>{_0x5963c3===null||_0x5963c3===void 0x0||_0x5963c3({'rightYAxis':Boolean(_0x2ad405)});},'children':_0x18c123(_0xf33e96(0x588))})})});},fallbackPointStyle={'shape':_univerjs_pro_engine_chart['defaultChartConfig'][_0x94e517(0x4b3)][_0x94e517(0x181)],'size':_univerjs_pro_engine_chart['defaultChartConfig'][_0x94e517(0x4b3)][_0x94e517(0x336)],'color':_0x94e517(0x53d)},linePointControls$2=[_0x94e517(0x181),_0x94e517(0x336)],DataPointsEdit=_0x189550=>{const _0x4c1fbe=_0x94e517,{chartType:_0x2e93de,data:_0x36aa5a,options:_0x22bf6e,localeService:_0x2f6db2,onChange:_0x423afe}=_0x189550,{t:_0x5ec0aa}=_0x2f6db2,_0x34cdac=_0x2e93de===_univerjs_pro_engine_chart[_0x4c1fbe(0x278)][_0x4c1fbe(0x19c)],_0x5efc81=_0x36aa5a!==null&&_0x36aa5a!==void 0x0?_0x36aa5a:{};return(0x0,react_jsx_runtime[_0x4c1fbe(0x1f8)])('div',{'className':_0x4c1fbe(0x54e),'children':Object[_0x4c1fbe(0x4b9)](_0x5efc81)['map'](_0x1012d1=>{return{'key':_0x1012d1,'style':_0x5efc81[Number(_0x1012d1)]};})['map'](_0x1a7075=>{const _0x57a529=_0x4c1fbe;var _0x5a1b7d;const {style:_0x5db7b5}=_0x1a7075;if(_0x5db7b5===void 0x0)return null;return(0x0,react_jsx_runtime['jsxs'])(_0x57a529(0x5bf),{'className':_0x57a529(0x568),'children':[(0x0,react_jsx_runtime[_0x57a529(0x5bb)])('div',{'className':_0x57a529(0x436),'children':[(0x0,react_jsx_runtime['jsxs'])(_0x57a529(0x5bf),{'className':'univer-flex\x20univer-flex-1\x20univer-flex-col\x20univer-justify-between','children':[(0x0,react_jsx_runtime[_0x57a529(0x1f8)])(_0x57a529(0x5bf),{'className':_0x57a529(0x5ae),'children':_0x5ec0aa(_0x57a529(0x447))}),(0x0,react_jsx_runtime[_0x57a529(0x1f8)])(_univerjs_design['Select'],{'className':_0x57a529(0x4f6),'value':_0x1a7075['key'],'options':_0x22bf6e,'onChange':_0x40c684=>{const _0x5b93f2=_0x57a529;_0x423afe===null||_0x423afe===void 0x0||_0x423afe({[_0x1a7075['key']]:void 0x0,[Number(_0x40c684)]:_0x1a7075[_0x5b93f2(0x4cb)]});}})]}),(0x0,react_jsx_runtime['jsxs'])(_0x57a529(0x5bf),{'className':_0x57a529(0x394),'children':[(0x0,react_jsx_runtime[_0x57a529(0x1f8)])(_0x57a529(0x5bf),{'className':_0x57a529(0x5ae),'children':_0x5ec0aa(_0x57a529(0x39f))}),(0x0,react_jsx_runtime[_0x57a529(0x1f8)])(ColorPickerControl,{'color':(_0x5a1b7d=_0x5db7b5===null||_0x5db7b5===void 0x0?void 0x0:_0x5db7b5['color'])!==null&&_0x5a1b7d!==void 0x0?_0x5a1b7d:'','onChange':_0x15eed1=>{const _0x5e27cc=_0x57a529;_0x423afe===null||_0x423afe===void 0x0||_0x423afe({[_0x1a7075[_0x5e27cc(0x24a)]]:{'color':_0x15eed1}});}})]}),(0x0,react_jsx_runtime[_0x57a529(0x1f8)])(_univerjs_design[_0x57a529(0x5ee)],{'className':_0x57a529(0x518),'variant':_0x57a529(0x4b6),'onClick':()=>_0x423afe===null||_0x423afe===void 0x0?void 0x0:_0x423afe({[_0x1a7075[_0x57a529(0x24a)]]:void 0x0}),'children':(0x0,react_jsx_runtime[_0x57a529(0x1f8)])(_univerjs_icons['DeleteIcon'],{})})]}),_0x34cdac&&(0x0,react_jsx_runtime[_0x57a529(0x1f8)])(LinePointOptions,{'pointStyle':{...fallbackPointStyle,..._0x1a7075[_0x57a529(0x4cb)]},'controls':linePointControls$2,'localeService':_0x2f6db2,'onChange':(_0x279040,_0xd83b59)=>_0x423afe===null||_0x423afe===void 0x0?void 0x0:_0x423afe({[_0x1a7075['key']]:{[_0x279040]:_0xd83b59}})})]},_0x1a7075['key']);})});},fallbackLabelStyle$2={'fontSize':_univerjs_pro_engine_chart['defaultChartConfig'][_0x94e517(0x54d)][_0x94e517(0x3fe)],'contentType':_univerjs_pro_engine_chart[_0x94e517(0x491)][_0x94e517(0x315)],'position':_univerjs_pro_engine_chart['defaultChartConfig']['textStyle'][_0x94e517(0x4c3)]},ParetoStyleEdit=_0x4d3b2f=>{const _0x19b07b=_0x94e517,{localeService:_0x277233,service:_0x30603f,isLineSeries:_0x404ece}=_0x4d3b2f,{t:_0x5b990c}=_0x277233,[_0x305eed]=useChartConfigState(_0x19b07b(0x434),_0x30603f),[_0x10b2e9,_0x561c5e]=useChartConfigState(_0x19b07b(0x1da),_0x30603f),_0x19dc78=[_0x19b07b(0x181),'size',_0x19b07b(0x571)],[_0x2bde89]=useChartConfigState(_0x19b07b(0x2c0),_0x30603f),_0x225c47=_0x328e7a=>{_0x561c5e({'lineStyle':{..._0x328e7a}});},_0x229586=_0x5df5b=>{_0x561c5e({'barStyle':{..._0x5df5b}});},_0x56ee48=_0x404ece?_0x225c47:_0x229586,_0x368ad6=_univerjs_pro_engine_chart[_0x19b07b(0x491)][_0x19b07b(0x39e)],_0x18a414=_0x404ece?_0x10b2e9===null||_0x10b2e9===void 0x0?void 0x0:_0x10b2e9['lineStyle']:_0x10b2e9===null||_0x10b2e9===void 0x0?void 0x0:_0x10b2e9[_0x19b07b(0x3ad)],_0x5714a3=_0x18a414===null||_0x18a414===void 0x0?void 0x0:_0x18a414['dataPoints'],_0x3af06d=_0x521376=>{const _0x456a1d=_0x19b07b;if(_0x18a414&&_0x18a414[_0x456a1d(0x358)]&&_0x18a414[_0x456a1d(0x358)][_0x521376])return;_0x56ee48({'dataPoints':{[_0x521376]:{}}});},_0x159fb9=_0x55d6e3=>{_0x56ee48({'dataPoints':_0x55d6e3});},_0x12ebe0=useTranslatedOptions(_0x277233,dataLabelPositionOptions),_0x354237=(0x0,react[_0x19b07b(0x3dc)])(()=>{const _0x4e88d7=_0x19b07b;return labelContentOptions[_0x4e88d7(0x1f1)](_0xf7fbb0=>{const _0xdf4fb0=_0x4e88d7;return{'value':_0xf7fbb0[_0xdf4fb0(0x46a)],'label':_0x277233['t'](_0xf7fbb0[_0xdf4fb0(0x31a)])};});},[_0x277233]),_0x8f373=Object[_0x19b07b(0x5b7)]({'color':_0x19b07b(0x53d),'opacity':_0x368ad6[_0x19b07b(0x42c)],'width':_0x404ece?_0x368ad6[_0x19b07b(0x526)][_0x19b07b(0x477)]:_0x368ad6[_0x19b07b(0x143)],'dashType':_0x368ad6['dashType']},_0x18a414===null||_0x18a414===void 0x0?void 0x0:_0x18a414[_0x19b07b(0x32e)]),_0x5a4f8a=Object['assign']({'shape':_univerjs_pro_engine_chart['defaultChartConfig'][_0x19b07b(0x4b3)][_0x19b07b(0x181)],'size':_univerjs_pro_engine_chart['defaultChartConfig'][_0x19b07b(0x1fb)][_0x19b07b(0x4b5)],'color':_0x19b07b(0x53d)},_0x305eed===null||_0x305eed===void 0x0?void 0x0:_0x305eed[_0x19b07b(0x4b3)],_0x18a414===null||_0x18a414===void 0x0?void 0x0:_0x18a414[_0x19b07b(0x4b3)]),_0x3f8d4e=Object['assign']({},_0x18a414===null||_0x18a414===void 0x0?void 0x0:_0x18a414[_0x19b07b(0x31a)]);return(0x0,react_jsx_runtime[_0x19b07b(0x5bb)])('section',{'className':_0x19b07b(0x173),'children':[(0x0,react_jsx_runtime[_0x19b07b(0x1f8)])(FillOptions,{'chartType':_univerjs_pro_engine_chart[_0x19b07b(0x278)][_0x19b07b(0x4e7)],'allSeriesStyle':_0x305eed,'controlName':_0x5b990c(_0x404ece?_0x19b07b(0x4cd):'chart.fill'),'seriesStyle':_0x18a414,'onSeriesStyleChange':_0x56ee48,'localeService':_0x277233}),(0x0,react_jsx_runtime['jsx'])(BorderOptions,{'isLineOrAreaChart':_0x404ece,'allSeriesBorderStyle':_0x18a414===null||_0x18a414===void 0x0?void 0x0:_0x18a414['border'],'hideBorder':!_0x404ece,'controlName':_0x5b990c(_0x404ece?_0x19b07b(0x4cd):_0x19b07b(0x593)),'borderStyle':_0x8f373,'onSeriesStyleChange':_0x56ee48,'localeService':_0x277233}),_0x404ece&&(0x0,react_jsx_runtime[_0x19b07b(0x1f8)])(LinePointOptions,{'pointStyle':_0x5a4f8a,'onChange':(_0x102444,_0x3ed864)=>_0x56ee48({'point':{[_0x102444]:_0x3ed864}}),'controls':_0x19dc78,'localeService':_0x277233}),!_0x404ece&&(0x0,react_jsx_runtime['jsxs'])(react_jsx_runtime[_0x19b07b(0x185)],{'children':[(0x0,react_jsx_runtime['jsxs'])(_0x19b07b(0x5bf),{'className':_0x19b07b(0x257),'children':[(0x0,react_jsx_runtime[_0x19b07b(0x1f8)])(_0x19b07b(0x5bf),{'className':_0x19b07b(0x394),'children':(0x0,react_jsx_runtime['jsx'])(_0x19b07b(0x5bf),{'className':'univer-mb-4\x20univer-text-sm\x20univer-font-medium\x20univer-text-gray-900\x20dark:!univer-text-white','children':_0x5b990c(_0x19b07b(0x298),_0x5b990c(_0x19b07b(0x447)))})}),(0x0,react_jsx_runtime[_0x19b07b(0x1f8)])('div',{'className':_0x19b07b(0x394),'children':(0x0,react_jsx_runtime[_0x19b07b(0x1f8)])(DropdownSelector,{'value':'','menus':_0x2bde89!==null&&_0x2bde89!==void 0x0?_0x2bde89:[],'onSelect':_0x1b9d21=>_0x3af06d(+_0x1b9d21),'children':(0x0,react_jsx_runtime['jsxs'])(_0x19b07b(0x5bf),{'className':_0x19b07b(0x182),'children':[(0x0,react_jsx_runtime[_0x19b07b(0x1f8)])(_univerjs_icons[_0x19b07b(0x1c6)],{}),(0x0,react_jsx_runtime[_0x19b07b(0x1f8)])(_0x19b07b(0x427),{'children':_0x5b990c(_0x19b07b(0x597))})]})})})]}),_0x5714a3&&(0x0,react_jsx_runtime[_0x19b07b(0x1f8)])(DataPointsEdit,{'chartType':_univerjs_pro_engine_chart[_0x19b07b(0x278)]['Pareto'],'data':_0x5714a3,'options':_0x2bde89!==null&&_0x2bde89!==void 0x0?_0x2bde89:[],'onChange':_0x159fb9,'localeService':_0x277233})]}),(0x0,react_jsx_runtime['jsx'])(_0x19b07b(0x5bf),{'className':_0x19b07b(0x4ff),'children':(0x0,react_jsx_runtime['jsx'])(DataLabelOptions,{'localeService':_0x277233,'fallbackLabelStyle':fallbackLabelStyle$2,'labelStyle':_0x3f8d4e,'positionOptions':_0x12ebe0,'contentTypeOptions':_0x354237,'onLabelStyleChange':(_0xe7536f,_0x41bf4c)=>_0x56ee48({'label':{[_0xe7536f]:_0x41bf4c}}),'onVisibleChange':_0x484b9f=>_0x56ee48({'label':{'visible':_0x484b9f}}),'isPieLike':![],'chartType':_univerjs_pro_engine_chart['ChartTypeBits']['Pareto']})})]});},PieChartStyleEdit=_0x129947=>{const _0x52dbcb=_0x94e517,{chartType:_0x360b43,service:_0x1ddb55,localeService:_0x28e874,onChartTypeChange:_0x44dad5}=_0x129947,[_0x57bfc5,_0x10dd61]=useChartConfigState('pieBorderColor',_0x1ddb55),[_0x14d9df,_0xf6296c]=useChartConfigState('pieLabelStyle',_0x1ddb55),[_0x46d022,_0x118fff]=useChartConfigState('padAngleStyle',_0x1ddb55),[_0x5afbd0,_0x147a85]=useChartConfigState(_0x52dbcb(0x5cd),_0x1ddb55),[_0x328f61,_0x192a5e]=useChartConfigState('isRosePie',_0x1ddb55),[_0xb30a69,_0x3f93e4]=useChartConfigState('showLabelLine',_0x1ddb55),[_0x48a671,_0x57fbce]=useChartConfigState(_0x52dbcb(0x50b),_0x1ddb55),[_0x3675b3,_0x1c709f]=useChartConfigState(_0x52dbcb(0x379),_0x1ddb55),[_0x80d06,_0x602f5f]=useChartConfigState(_0x52dbcb(0x5c6),_0x1ddb55),[_0x1ad32a,_0x49e01f]=(0x0,react[_0x52dbcb(0x348)])(_0x3675b3||''),_0x5d9ef4=_0x360b43===_univerjs_pro_engine_chart[_0x52dbcb(0x278)]['Doughnut']?_univerjs_pro_engine_chart[_0x52dbcb(0x491)][_0x52dbcb(0x2cc)][_0x52dbcb(0x2c7)]:0x0,[_0x38cc51,_0x29b187]=useChartConfigState(_0x52dbcb(0x2c7),_0x1ddb55),_0x165615=useTranslatedOptions(_0x28e874,pieDataLabelPositionOptions),_0x36642a=useTranslatedOptions(_0x28e874,pieLabelContentOptions),_0x2510b3=(0x0,_univerjs_ui[_0x52dbcb(0x4c1)])(_univerjs_core[_0x52dbcb(0x197)]),_0x2a58dd=(0x0,react[_0x52dbcb(0x3dc)])(()=>{const _0x4ce164=_0x52dbcb;return{'visible':!![],'contentType':_univerjs_pro_engine_chart[_0x4ce164(0x491)][_0x4ce164(0x2cc)]['labelContentType'],'fontSize':_univerjs_pro_engine_chart[_0x4ce164(0x491)]['textStyle']['fontSize'],'position':_univerjs_pro_engine_chart[_0x4ce164(0x262)][_0x4ce164(0x251)]};},[]),_0x14ff8c=(0x0,react[_0x52dbcb(0x177)])(_0x4514f4=>{const _0x3b399c=_0x52dbcb,_0x17b6ff=Number(_0x4514f4),_0x354b63=_0x17b6ff>0x0?_univerjs_pro_engine_chart['ChartTypeBits'][_0x3b399c(0x22e)]:_univerjs_pro_engine_chart['ChartTypeBits']['Pie'];if(_0x354b63!==_0x360b43)_0x44dad5===null||_0x44dad5===void 0x0||_0x44dad5(_0x354b63);_0x29b187(_0x17b6ff);},[_0x360b43,_0x44dad5]),{t:_0xe694c3}=_0x28e874;return(0x0,react_jsx_runtime[_0x52dbcb(0x5bb)])(_0x52dbcb(0x5bf),{'className':'univer-box-border\x20univer-px-4\x20univer-pb-2.5\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':[(0x0,react_jsx_runtime['jsxs'])(_0x52dbcb(0x5bf),{'className':_0x52dbcb(0x385),'children':[(0x0,react_jsx_runtime[_0x52dbcb(0x5bb)])('div',{'className':_0x52dbcb(0x394),'children':[(0x0,react_jsx_runtime[_0x52dbcb(0x1f8)])(_0x52dbcb(0x5bf),{'className':_0x52dbcb(0x5ae),'children':_0xe694c3('chart.doughnutHole')}),(0x0,react_jsx_runtime['jsx'])(_univerjs_design[_0x52dbcb(0x2de)],{'className':_0x52dbcb(0x4f6),'value':_0x38cc51?String(_0x38cc51):_0x5d9ef4*0x64+'%','options':pieDonutHoleOptions,'onChange':_0x14ff8c})]}),(0x0,react_jsx_runtime[_0x52dbcb(0x5bb)])(_0x52dbcb(0x5bf),{'className':'univer-flex\x20univer-flex-1\x20univer-flex-col\x20univer-justify-between','children':[(0x0,react_jsx_runtime['jsx'])(_0x52dbcb(0x5bf),{'className':_0x52dbcb(0x5ae),'children':_0xe694c3(_0x52dbcb(0x2a6),_0xe694c3(_0x52dbcb(0x593)))}),(0x0,react_jsx_runtime[_0x52dbcb(0x1f8)])(ColorPickerControl,{'color':_0x57bfc5!==null&&_0x57bfc5!==void 0x0?_0x57bfc5:'','onChange':_0x10dd61})]})]}),(0x0,react_jsx_runtime[_0x52dbcb(0x5bb)])(_0x52dbcb(0x5bf),{'className':_0x52dbcb(0x394),'children':[(0x0,react_jsx_runtime[_0x52dbcb(0x1f8)])(_0x52dbcb(0x5bf),{'className':'univer-mb-2\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0xe694c3(_0x52dbcb(0x38f))}),(0x0,react_jsx_runtime[_0x52dbcb(0x5bb)])(_0x52dbcb(0x5bf),{'className':_0x52dbcb(0x436),'children':[(0x0,react_jsx_runtime[_0x52dbcb(0x5bb)])('div',{'className':_0x52dbcb(0x394),'children':[(0x0,react_jsx_runtime[_0x52dbcb(0x1f8)])('div',{'className':'univer-mb-2\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0xe694c3(_0x52dbcb(0x38f))}),(0x0,react_jsx_runtime['jsx'])(_univerjs_design[_0x52dbcb(0x4e9)],{'value':_0x48a671!==null&&_0x48a671!==void 0x0?_0x48a671:0x1,'onChange':_0x2ae9b0=>{const _0x33ca6c=_0x52dbcb;_0x2510b3[_0x33ca6c(0x24f)](_univerjs_core[_0x33ca6c(0x217)],![]),_0x57fbce(Number[_0x33ca6c(0x452)](_0x2ae9b0)?null:Number(_0x2ae9b0));},'onFocus':()=>_0x2510b3[_0x52dbcb(0x24f)](_univerjs_core[_0x52dbcb(0x217)],!![]),'onBlur':_0x57a1f6=>{const _0x4a81da=_0x52dbcb;_0x2510b3[_0x4a81da(0x24f)](_univerjs_core['FOCUSING_PANEL_EDITOR'],![]);const _0x45a489=_0x57a1f6[_0x4a81da(0x347)][_0x4a81da(0x46a)];_0x57fbce(_0x45a489===''?null:Number(_0x45a489));},'onPressEnter':_0x38cb55=>{const _0x2392f2=_0x52dbcb,_0x4d8a2f=_0x38cb55[_0x2392f2(0x347)][_0x2392f2(0x46a)];_0x57fbce(_0x4d8a2f===''?null:Number(_0x4d8a2f));}})]}),(0x0,react_jsx_runtime['jsxs'])(_0x52dbcb(0x5bf),{'className':'univer-flex\x20univer-flex-1\x20univer-flex-col\x20univer-justify-between','children':[(0x0,react_jsx_runtime[_0x52dbcb(0x1f8)])(_0x52dbcb(0x5bf),{'className':'univer-mb-2\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0xe694c3(_0x52dbcb(0x530))}),(0x0,react_jsx_runtime['jsx'])(_univerjs_design[_0x52dbcb(0x4e9)],{'value':_0x80d06!==null&&_0x80d06!==void 0x0?_0x80d06:0x1,'onChange':_0x2a278b=>{const _0x392f86=_0x52dbcb;_0x2510b3[_0x392f86(0x24f)](_univerjs_core[_0x392f86(0x217)],![]),_0x602f5f(Number[_0x392f86(0x452)](_0x2a278b)?null:Number(_0x2a278b));},'onFocus':()=>_0x2510b3['setContextValue'](_univerjs_core[_0x52dbcb(0x217)],!![]),'onBlur':_0x528a16=>{const _0x4aa3a1=_0x52dbcb;_0x2510b3[_0x4aa3a1(0x24f)](_univerjs_core[_0x4aa3a1(0x217)],![]);const _0x38aea0=_0x528a16[_0x4aa3a1(0x347)][_0x4aa3a1(0x46a)];_0x602f5f(_0x38aea0===''?null:Number(_0x38aea0));},'onPressEnter':_0x1f1a9d=>{const _0x3aa599=_0x52dbcb,_0x446fa0=_0x1f1a9d[_0x3aa599(0x347)]['value'];_0x602f5f(_0x446fa0===''?null:Number(_0x446fa0));}})]}),(0x0,react_jsx_runtime[_0x52dbcb(0x5bb)])(_0x52dbcb(0x5bf),{'className':_0x52dbcb(0x394),'children':[(0x0,react_jsx_runtime[_0x52dbcb(0x1f8)])(_0x52dbcb(0x5bf),{'className':_0x52dbcb(0x5ae),'children':_0xe694c3(_0x52dbcb(0x28f))}),(0x0,react_jsx_runtime[_0x52dbcb(0x1f8)])(_univerjs_design['Input'],{'className':_0x52dbcb(0x4f6),'value':_0x1ad32a,'onChange':_0x49e01f,'onFocus':()=>{const _0x2ce38c=_0x52dbcb;_0x2510b3['setContextValue'](_univerjs_core[_0x2ce38c(0x217)],!![]);},'onBlur':()=>{const _0x2de00f=_0x52dbcb;_0x2510b3[_0x2de00f(0x24f)](_univerjs_core[_0x2de00f(0x217)],![]),_0x1c709f(_0x1ad32a);}})]})]})]}),(0x0,react_jsx_runtime[_0x52dbcb(0x1f8)])(DataLabelOptions,{'localeService':_0x28e874,'chartType':_0x360b43,'fallbackLabelStyle':_0x2a58dd,'labelStyle':_0x14d9df!==null&&_0x14d9df!==void 0x0?_0x14d9df:{},'onVisibleChange':_0x43e47f=>_0xf6296c({'visible':_0x43e47f}),'onLabelStyleChange':(_0x1116ab,_0x352495)=>_0xf6296c({[_0x1116ab]:_0x352495}),'positionOptions':_0x165615,'contentTypeOptions':_0x36642a,'onPadAngleChange':_0x3810c1=>_0x118fff(_0x3810c1),'padAngleStyle':_0x46d022,'onHalfPieChange':_0x139f17=>_0x147a85(_0x139f17),'isHalfPie':_0x5afbd0,'isRosePie':_0x328f61,'onRosePieChange':_0xca0028=>_0x192a5e(_0xca0028),'onShowLabelLineChange':_0x4ae850=>_0x3f93e4(_0x4ae850),'showLabelLine':_0xb30a69,'isPieLike':!![]})]});};function RelationEdit(_0xa6d60d){const _0x4b6bca=_0x94e517;var _0x4b9a1a,_0x47f59d;const {localeService:_0x40ba46,service:_0x467ae5}=_0xa6d60d,_0x11b26b=(0x0,_univerjs_ui[_0x4b6bca(0x4c1)])(_univerjs_core[_0x4b6bca(0x197)]),_0x4d28b8=_0x40ba46['t'],_0x3843df=useTranslatedOptions(_0x40ba46,RelationLayoutOptions),[_0x5ab27a,_0x113da8]=useChartConfigState('relationLayout',_0x467ae5),[_0x568948,_0x237fe2]=useChartConfigState(_0x4b6bca(0x43e),_0x467ae5),[_0x308f38,_0x501a98]=useChartConfigState(_0x4b6bca(0x429),_0x467ae5),[_0x33edaa,_0x39665a]=useChartConfigState(_0x4b6bca(0x212),_0x467ae5),[_0x48d87f,_0x286c18]=useChartConfigState(_0x4b6bca(0x150),_0x467ae5),_0x224692=_0x5d5555=>{_0x39665a({..._0x33edaa,..._0x5d5555});},_0xe35c23=_0x2ffdbc=>{_0x113da8(_0x2ffdbc);},_0x50c7e8=_0x5ab27a===_univerjs_pro_engine_chart[_0x4b6bca(0x559)][_0x4b6bca(0x3c3)],_0x32b7da=_0x5ab27a===_univerjs_pro_engine_chart[_0x4b6bca(0x559)]['Circular'],_0xb00ca3=useTranslatedOptions(_0x40ba46,linePointShapeOptions),[_0xa2eed6,_0x5c0581]=useChartConfigState(_0x4b6bca(0x1e6),_0x467ae5);return(0x0,react_jsx_runtime[_0x4b6bca(0x5bb)])(_0x4b6bca(0x5bf),{'children':[(0x0,react_jsx_runtime[_0x4b6bca(0x5bb)])('div',{'className':_0x4b6bca(0x46e),'children':[(0x0,react_jsx_runtime[_0x4b6bca(0x1f8)])('div',{'className':'univer-mb-2\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x4d28b8(_0x4b6bca(0x2fe))}),(0x0,react_jsx_runtime[_0x4b6bca(0x1f8)])(_univerjs_design[_0x4b6bca(0x2de)],{'className':_0x4b6bca(0x4f6),'value':String(_0xa2eed6!==null&&_0xa2eed6!==void 0x0?_0xa2eed6:_univerjs_pro_engine_chart[_0x4b6bca(0x491)][_0x4b6bca(0x1de)][_0x4b6bca(0x4b8)]),'options':_0xb00ca3,'onChange':_0x584568=>_0x5c0581(_0x584568)})]},_0x4b6bca(0x181)),(0x0,react_jsx_runtime[_0x4b6bca(0x1f8)])(_0x4b6bca(0x5bf),{'children':(0x0,react_jsx_runtime[_0x4b6bca(0x1f8)])(_univerjs_design[_0x4b6bca(0x39a)],{'checked':_0x568948!==null&&_0x568948!==void 0x0?_0x568948:!![],'onChange':_0x5e0c00=>{_0x237fe2===null||_0x237fe2===void 0x0||_0x237fe2(Boolean(_0x5e0c00));},'children':_0x4d28b8(_0x4b6bca(0x148))})}),(0x0,react_jsx_runtime[_0x4b6bca(0x1f8)])(_0x4b6bca(0x5bf),{'className':_0x4b6bca(0x152),'children':(0x0,react_jsx_runtime[_0x4b6bca(0x1f8)])(_univerjs_design['Checkbox'],{'checked':_0x308f38!==null&&_0x308f38!==void 0x0?_0x308f38:!![],'onChange':_0x3eb154=>{_0x501a98(Boolean(_0x3eb154));},'children':_0x4d28b8(_0x4b6bca(0x35d))})}),(0x0,react_jsx_runtime['jsx'])('div',{'className':_0x4b6bca(0x23c),'children':_0x4d28b8(_0x4b6bca(0x1ab))}),(0x0,react_jsx_runtime['jsx'])(_univerjs_design[_0x4b6bca(0x2de)],{'className':'univer-w-full\x20!univer-min-w-0','value':_0x5ab27a!==null&&_0x5ab27a!==void 0x0?_0x5ab27a:_univerjs_pro_engine_chart[_0x4b6bca(0x559)][_0x4b6bca(0x51c)],'options':_0x3843df,'onChange':_0xe35c23}),_0x50c7e8&&(0x0,react_jsx_runtime['jsxs'])(_0x4b6bca(0x5bf),{'className':_0x4b6bca(0x204),'children':[(0x0,react_jsx_runtime[_0x4b6bca(0x1f8)])(_0x4b6bca(0x5bf),{'className':_0x4b6bca(0x5ae),'children':_0x4d28b8('chart.relation.forceOptions')}),(0x0,react_jsx_runtime[_0x4b6bca(0x5bb)])('div',{'className':_0x4b6bca(0x52f),'children':[(0x0,react_jsx_runtime[_0x4b6bca(0x1f8)])(_0x4b6bca(0x5bf),{'className':_0x4b6bca(0x29c),'children':_0x4d28b8(_0x4b6bca(0x376))}),(0x0,react_jsx_runtime[_0x4b6bca(0x1f8)])(_univerjs_design[_0x4b6bca(0x4e9)],{'className':_0x4b6bca(0x29c),'controls':![],'onFocus':()=>_0x11b26b['setContextValue'](_univerjs_core[_0x4b6bca(0x217)],!![]),'onBlur':_0x5b1285=>{const _0x46c474=_0x4b6bca;_0x11b26b['setContextValue'](_univerjs_core[_0x46c474(0x217)],![]);},'value':(_0x4b9a1a=_0x33edaa===null||_0x33edaa===void 0x0?void 0x0:_0x33edaa['repulsion'])!==null&&_0x4b9a1a!==void 0x0?_0x4b9a1a:_univerjs_pro_engine_chart[_0x4b6bca(0x491)][_0x4b6bca(0x1de)]['force'][_0x4b6bca(0x221)],'onChange':_0x4508a6=>_0x224692({'repulsion':_0x4508a6})})]}),(0x0,react_jsx_runtime['jsxs'])(_0x4b6bca(0x5bf),{'className':_0x4b6bca(0x52f),'children':[(0x0,react_jsx_runtime[_0x4b6bca(0x1f8)])('div',{'className':_0x4b6bca(0x29c),'children':_0x4d28b8(_0x4b6bca(0x36b))}),(0x0,react_jsx_runtime[_0x4b6bca(0x1f8)])(_univerjs_design[_0x4b6bca(0x4e9)],{'className':_0x4b6bca(0x29c),'controls':![],'onFocus':()=>_0x11b26b[_0x4b6bca(0x24f)](_univerjs_core[_0x4b6bca(0x217)],!![]),'onBlur':_0x41ed19=>{const _0x49a9a5=_0x4b6bca;_0x11b26b[_0x49a9a5(0x24f)](_univerjs_core[_0x49a9a5(0x217)],![]);},'value':(_0x47f59d=_0x33edaa===null||_0x33edaa===void 0x0?void 0x0:_0x33edaa[_0x4b6bca(0x5ea)])!==null&&_0x47f59d!==void 0x0?_0x47f59d:_univerjs_pro_engine_chart[_0x4b6bca(0x491)][_0x4b6bca(0x1de)][_0x4b6bca(0x5b2)][_0x4b6bca(0x5ea)],'onChange':_0x3d273c=>_0x224692({'gravity':_0x3d273c})})]}),(0x0,react_jsx_runtime['jsxs'])(_0x4b6bca(0x5bf),{'className':_0x4b6bca(0x52f),'children':[(0x0,react_jsx_runtime[_0x4b6bca(0x1f8)])(_0x4b6bca(0x5bf),{'className':_0x4b6bca(0x29c),'children':_0x4d28b8(_0x4b6bca(0x3a5))}),(0x0,react_jsx_runtime[_0x4b6bca(0x1f8)])(_univerjs_design['InputNumber'],{'className':_0x4b6bca(0x29c),'controls':![],'value':_0x33edaa===null||_0x33edaa===void 0x0?void 0x0:_0x33edaa[_0x4b6bca(0x23e)],'onFocus':()=>_0x11b26b[_0x4b6bca(0x24f)](_univerjs_core[_0x4b6bca(0x217)],!![]),'onBlur':_0x5cb9b6=>{const _0xad95b5=_0x4b6bca;_0x11b26b[_0xad95b5(0x24f)](_univerjs_core[_0xad95b5(0x217)],![]);},'onChange':_0x46cc61=>_0x224692({'edgeLength':_0x46cc61}),'min':0x0,'step':0xa})]})]}),_0x32b7da&&(0x0,react_jsx_runtime[_0x4b6bca(0x1f8)])(_0x4b6bca(0x5bf),{'className':'univer-mt-2','children':(0x0,react_jsx_runtime[_0x4b6bca(0x1f8)])(_univerjs_design[_0x4b6bca(0x39a)],{'checked':_0x48d87f!==null&&_0x48d87f!==void 0x0?_0x48d87f:_univerjs_pro_engine_chart['defaultChartConfig']['relation'][_0x4b6bca(0x515)][_0x4b6bca(0x150)],'onChange':_0x115ca6=>{_0x286c18(Boolean(_0x115ca6));},'children':_0x4d28b8(_0x4b6bca(0x368))})})]});}const defaultCombination=_univerjs_pro_engine_chart[_0x94e517(0x491)][_0x94e517(0x160)];function useSeriesChartType(_0x3a403c,_0x3f9998,_0x3f122b){const _0x302be6=_0x94e517,[_0x15e5fb]=useChartConfigState('seriesStyleMap',_0x3f122b),[_0x34a144]=useChartConfigState(_0x302be6(0x489),_0x3f122b),_0x4099fd=_0x3f9998===_univerjs_pro_engine_chart['defaultChartConfig'][_0x302be6(0x260)],_0x572803=_0x15e5fb===null||_0x15e5fb===void 0x0?void 0x0:_0x15e5fb[_0x3f9998];if(_0x3a403c!==_univerjs_pro_engine_chart[_0x302be6(0x278)][_0x302be6(0x270)])return _0x3a403c;if(_0x4099fd){const _0x4f3235=()=>{const _0x35e295=_0x302be6,_0x37e6f8=_0x34a144===null||_0x34a144===void 0x0?void 0x0:_0x34a144[_0x35e295(0x1f1)]((_0x486b59,_0x4f2553)=>{const _0x4bc57c=_0x35e295;var _0x36b5d0;const _0x4eae83=_0x15e5fb===null||_0x15e5fb===void 0x0?void 0x0:_0x15e5fb[_0x486b59],_0x3a0a03=_0x4f2553===0x0?defaultCombination['firstChartType']:defaultCombination['otherChartType'];return(_0x36b5d0=_0x4eae83===null||_0x4eae83===void 0x0?void 0x0:_0x4eae83[_0x4bc57c(0x35f)])!==null&&_0x36b5d0!==void 0x0?_0x36b5d0:_0x3a0a03;}),_0x1997ac=_0x37e6f8===null||_0x37e6f8===void 0x0?void 0x0:_0x37e6f8[0x0];return(_0x37e6f8===null||_0x37e6f8===void 0x0?void 0x0:_0x37e6f8[_0x35e295(0x3de)](_0x2f25d8=>_0x2f25d8===_0x1997ac))?_0x1997ac:_univerjs_pro_engine_chart[_0x35e295(0x278)][_0x35e295(0x51c)];};return _0x4f3235();}const _0x2835bf=()=>{const _0x154878=_0x302be6;var _0x2ce95f;const _0x192b38=_0x3f9998===String(_0x34a144===null||_0x34a144===void 0x0?void 0x0:_0x34a144[0x0])?defaultCombination[_0x154878(0x215)]:defaultCombination[_0x154878(0x171)];return(_0x2ce95f=_0x572803===null||_0x572803===void 0x0?void 0x0:_0x572803[_0x154878(0x35f)])!==null&&_0x2ce95f!==void 0x0?_0x2ce95f:_0x192b38;};return _0x2835bf();}const CombinationChartTypeSelect=_0x4bc9ee=>{const _0x52dfb1=_0x94e517,{seriesId:_0x1a7a38,service:_0x5c079b,localeService:_0x152b76}=_0x4bc9ee,_0x18efbc=useTranslatedOptions(_0x152b76,seriesChartTypeOptions),[_0x3f0844,_0x5b7c12]=useChartConfigState('seriesStyleMap',_0x5c079b),[_0x25a8cb]=useChartConfigState(_0x52dfb1(0x489),_0x5c079b),_0x2317a6=(0x0,react[_0x52dfb1(0x177)])(_0x3b451b=>{const _0x3eb4a5=_0x52dfb1,_0xaa1c61=Number(_0x3b451b);if(_0x1a7a38===_univerjs_pro_engine_chart[_0x3eb4a5(0x491)][_0x3eb4a5(0x260)]){const _0x1ffbfb=_0x25a8cb===null||_0x25a8cb===void 0x0?void 0x0:_0x25a8cb[_0x3eb4a5(0x2ec)]((_0x5420e0,_0x435bd0)=>{return _0x5420e0[String(_0x435bd0)]={'chartType':_0xaa1c61},_0x5420e0;},{});if(!_0x1ffbfb)return;_0x5b7c12(_0x1ffbfb);}else _0x5b7c12({[_0x1a7a38]:{'chartType':_0xaa1c61}});},[_0x1a7a38]),_0x21f5e3=useSeriesChartType(_univerjs_pro_engine_chart[_0x52dfb1(0x278)][_0x52dfb1(0x270)],_0x1a7a38,_0x5c079b),_0x444343=String(_0x21f5e3!==null&&_0x21f5e3!==void 0x0?_0x21f5e3:'');return(0x0,react_jsx_runtime[_0x52dfb1(0x1f8)])(_univerjs_design['Select'],{'className':_0x52dfb1(0x4f6),'value':_0x21f5e3===_univerjs_pro_engine_chart['ChartTypeBits'][_0x52dfb1(0x51c)]?'':_0x444343,'options':_0x18efbc,'onChange':_0x2317a6});},defaultPointStyle={'shape':_univerjs_pro_engine_chart['defaultChartConfig'][_0x94e517(0x479)][_0x94e517(0x49a)],'size':_univerjs_pro_engine_chart[_0x94e517(0x491)][_0x94e517(0x479)]['symbolSize'],'color':void 0x0},linePointControls$1=[_0x94e517(0x181),_0x94e517(0x336),'color'],RadarSeriesPoint=_0x461698=>{const _0x3ee18c=_0x94e517,{localeService:_0x32cb23,setSeriesStyle:_0x2c5b61,pointStyle:_0x34ee6c}=_0x461698;return(0x0,react_jsx_runtime[_0x3ee18c(0x1f8)])(LinePointOptions,{'pointStyle':{...defaultPointStyle,..._0x34ee6c},'controls':linePointControls$1,'localeService':_0x32cb23,'onChange':(_0x3f0833,_0x3b9768)=>_0x2c5b61({'point':{[_0x3f0833]:_0x3b9768}})});},fallbackLabelStyle$1={'fontSize':_univerjs_pro_engine_chart['defaultChartConfig'][_0x94e517(0x54d)]['fontSize'],'contentType':_univerjs_pro_engine_chart[_0x94e517(0x491)][_0x94e517(0x315)],'position':_univerjs_pro_engine_chart[_0x94e517(0x491)][_0x94e517(0x54d)][_0x94e517(0x4c3)]},allSeriesOptions=[getAllSeriesOption()],defaultBorderStyle=_univerjs_pro_engine_chart[_0x94e517(0x491)]['borderStyle'],linePointControls=[_0x94e517(0x181),_0x94e517(0x336),_0x94e517(0x571)],scatterAllSeriesPointControls=['shape',_0x94e517(0x336)],getDefaultBorderWidthByChartType=_0x306583=>{const _0x238b71=_0x94e517;if((_0x306583&_univerjs_pro_engine_chart['ChartTypeBits']['Line'])>0x0||(_0x306583&_univerjs_pro_engine_chart[_0x238b71(0x278)][_0x238b71(0x1f2)])>0x0)return defaultBorderStyle[_0x238b71(0x526)][_0x238b71(0x477)];if(_0x306583===_univerjs_pro_engine_chart['ChartTypeBits'][_0x238b71(0x22f)])return defaultBorderStyle['specialChartWidthMap'][_0x238b71(0x479)];return defaultBorderStyle['width'];},SeriesStyleEdit=_0x3a83b9=>{const _0x222b26=_0x94e517;var _0x339709,_0x44bd87;const {chartType:_0x1d4e9a,service:_0x4f2f45,localeService:_0x509a64}=_0x3a83b9,_0x14b59b=useTranslatedOptions(_0x509a64,dataLabelPositionOptions),_0xa6f938=(0x0,react[_0x222b26(0x3dc)])(()=>{return labelContentOptions['filter'](_0x389908=>{const _0x5c9494=_0x1088;if(_0x1d4e9a===_univerjs_pro_engine_chart['ChartTypeBits'][_0x5c9494(0x22f)])return _0x389908['value']!==String(_univerjs_pro_engine_chart[_0x5c9494(0x3d3)][_0x5c9494(0x470)])&&_0x389908[_0x5c9494(0x46a)]!==String(_univerjs_pro_engine_chart[_0x5c9494(0x3d3)][_0x5c9494(0x5aa)]);if(PercentageChartTypes['has'](_0x1d4e9a))return!![];return _0x389908[_0x5c9494(0x46a)]!==String(_univerjs_pro_engine_chart[_0x5c9494(0x3d3)][_0x5c9494(0x5aa)]);})['map'](_0x20d8c5=>{const _0x340d21=_0x1088;return{'value':_0x20d8c5[_0x340d21(0x46a)],'label':_0x509a64['t'](_0x20d8c5['label'])};});},[_0x1d4e9a,_0x509a64]),[_0x30e5ac]=useTranslatedOptions(_0x509a64,allSeriesOptions),[_0x14a39c,_0x2f57ff]=(0x0,react[_0x222b26(0x348)])(_univerjs_pro_engine_chart[_0x222b26(0x491)][_0x222b26(0x260)]),_0x33f982=_0x14a39c===_univerjs_pro_engine_chart[_0x222b26(0x491)][_0x222b26(0x260)],[_0x5dcf3b,_0x5e52ef]=useChartConfigState(_0x222b26(0x434),_0x4f2f45),[_0x1cb4a5,_0xaf383f]=useChartConfigState(_0x222b26(0x1f7),_0x4f2f45),[_0xe0e97f]=useChartConfigState('dataPointsOptions',_0x4f2f45),_0x3be340=_0x1cb4a5===null||_0x1cb4a5===void 0x0?void 0x0:_0x1cb4a5[_0x14a39c],[_0x558184]=useChartConfigState(_0x222b26(0x419),_0x4f2f45),_0x3f85dd=_0x3be340===null||_0x3be340===void 0x0?void 0x0:_0x3be340['dataPoints'],_0x3828ea=(0x0,react['useMemo'])(()=>_0x558184?[_0x30e5ac,..._0x558184]:[],[_0x30e5ac,_0x558184]),_0x644a72=_0x1d4e9a?_univerjs_pro_engine_chart[_0x222b26(0x1bf)][_0x222b26(0x416)](_0x1d4e9a,_univerjs_pro_engine_chart[_0x222b26(0x441)][_0x222b26(0x574)]):![],_0x71e1df=useSeriesChartType(_0x1d4e9a,_0x14a39c,_0x4f2f45),_0x420b92=_0x71e1df===_univerjs_pro_engine_chart['ChartTypeBits'][_0x222b26(0x19c)],_0x3ff3bf=(_0x71e1df&_univerjs_pro_engine_chart[_0x222b26(0x278)][_0x222b26(0x1f2)])>0x0,_0x42b02a=_0x71e1df===_univerjs_pro_engine_chart[_0x222b26(0x278)][_0x222b26(0x22f)],_0x5bb913=_0x71e1df===_univerjs_pro_engine_chart[_0x222b26(0x278)]['Scatter'],_0x2e67ad=_0x420b92||_0x3ff3bf,_0x2475f3=(_0x1d4e9a&_univerjs_pro_engine_chart[_0x222b26(0x278)][_0x222b26(0x4ea)])>0x0||_0x42b02a,_0x5024e4=getDefaultBorderWidthByChartType(_0x1d4e9a),_0x766d49=(0x0,react[_0x222b26(0x177)])(_0x12224e=>{_0xaf383f({[_0x14a39c]:_0x12224e});},[_0x14a39c]),_0x3d691d=_0x2981d7=>{if(_0x33f982)_0x5e52ef(_0x2981d7);else _0x766d49(_0x2981d7);},_0x21f9db={..._0x3be340===null||_0x3be340===void 0x0?void 0x0:_0x3be340[_0x222b26(0x32e)]},_0x5e6648=Object[_0x222b26(0x5b7)]({'color':_0x222b26(0x53d),'opacity':defaultBorderStyle['opacity'],'width':_0x5024e4,'dashType':defaultBorderStyle[_0x222b26(0x1f3)]},_0x21f9db),_0xb41c4a=Object[_0x222b26(0x5b7)]({'color':_0x222b26(0x53d),'opacity':defaultBorderStyle['opacity'],'width':_0x5024e4,'dashType':defaultBorderStyle[_0x222b26(0x1f3)]},_0x5dcf3b===null||_0x5dcf3b===void 0x0?void 0x0:_0x5dcf3b['border']),_0xede8ec=Object[_0x222b26(0x5b7)]({'shape':_univerjs_pro_engine_chart[_0x222b26(0x491)]['point']['shape'],'size':_0x5bb913?_univerjs_pro_engine_chart[_0x222b26(0x491)][_0x222b26(0x4b3)]['scatterSymbolSize']:_univerjs_pro_engine_chart['defaultChartConfig'][_0x222b26(0x4b3)][_0x222b26(0x336)],'color':_0x222b26(0x53d)},_0x5dcf3b===null||_0x5dcf3b===void 0x0?void 0x0:_0x5dcf3b[_0x222b26(0x4b3)],_0x3be340===null||_0x3be340===void 0x0?void 0x0:_0x3be340[_0x222b26(0x4b3)]),_0x4ec426=_0x33f982?(_0x339709=_0x5dcf3b===null||_0x5dcf3b===void 0x0?void 0x0:_0x5dcf3b[_0x222b26(0x31a)])!==null&&_0x339709!==void 0x0?_0x339709:{}:Object[_0x222b26(0x5b7)]({},_0x5dcf3b===null||_0x5dcf3b===void 0x0?void 0x0:_0x5dcf3b['label'],_0x3be340===null||_0x3be340===void 0x0?void 0x0:_0x3be340[_0x222b26(0x31a)]),_0x352222=(_0x44bd87=_0x3be340===null||_0x3be340===void 0x0?void 0x0:_0x3be340[_0x222b26(0x3e0)])!==null&&_0x44bd87!==void 0x0?_0x44bd87:_0x5dcf3b===null||_0x5dcf3b===void 0x0?void 0x0:_0x5dcf3b[_0x222b26(0x3e0)],_0x337dfd=_0x71e1df===_univerjs_pro_engine_chart[_0x222b26(0x278)]['None']||_0x1d4e9a===_univerjs_pro_engine_chart[_0x222b26(0x278)][_0x222b26(0x270)]&&_0x71e1df===_univerjs_pro_engine_chart[_0x222b26(0x278)][_0x222b26(0x562)]&&_0x33f982,{t:_0x2314d4}=_0x509a64,_0x278c4e=(0x0,react[_0x222b26(0x177)])(_0x1a6c11=>{const _0x4de807=_0x222b26;if(_0x3be340&&_0x3be340[_0x4de807(0x358)]&&_0x3be340[_0x4de807(0x358)][_0x1a6c11])return;_0xaf383f({[_0x14a39c]:{'dataPoints':{[_0x1a6c11]:{}}}});},[_0x3be340,_0x14a39c]),_0x228bd1=(0x0,react[_0x222b26(0x177)])(_0x49bca8=>{_0xaf383f({[_0x14a39c]:{'dataPoints':_0x49bca8}});},[_0x14a39c]);return(0x0,react_jsx_runtime[_0x222b26(0x5bb)])(react_jsx_runtime[_0x222b26(0x185)],{'children':[(0x0,react_jsx_runtime[_0x222b26(0x1f8)])(_0x222b26(0x5bf),{'className':_0x222b26(0x34c),'children':(0x0,react_jsx_runtime['jsx'])(_univerjs_design[_0x222b26(0x2de)],{'className':_0x222b26(0x4f6),'value':_0x14a39c,'onChange':_0x10740e=>_0x2f57ff(_0x10740e),'options':_0x3828ea})}),_0x1d4e9a===_univerjs_pro_engine_chart[_0x222b26(0x278)][_0x222b26(0x270)]&&(0x0,react_jsx_runtime[_0x222b26(0x5bb)])(_0x222b26(0x5bf),{'className':_0x222b26(0x34c),'children':[(0x0,react_jsx_runtime[_0x222b26(0x1f8)])('div',{'className':'univer-mb-2\x20univer-text-sm\x20univer-text-gray-600','children':_0x2314d4(_0x222b26(0x5a3))}),(0x0,react_jsx_runtime['jsx'])(CombinationChartTypeSelect,{'seriesId':_0x14a39c,'service':_0x4f2f45,'localeService':_0x509a64})]}),(0x0,react_jsx_runtime[_0x222b26(0x5bb)])(_0x222b26(0x5bf),{'className':_0x222b26(0x34c),'children':[!_0x337dfd&&(0x0,react_jsx_runtime['jsxs'])(react_jsx_runtime[_0x222b26(0x185)],{'children':[(0x0,react_jsx_runtime[_0x222b26(0x1f8)])('div',{'className':_0x222b26(0x543),'children':_0x2314d4('chart.seriesBlock.format')}),(!_0x5bb913||_0x5bb913&&!_0x33f982)&&(0x0,react_jsx_runtime['jsx'])(FillOptions,{'chartType':_0x1d4e9a,'allSeriesStyle':_0x5dcf3b,'controlName':_0x2314d4(_0x420b92?'chart.line':'chart.fill'),'seriesStyle':_0x33f982?_0x5dcf3b:_0x3be340,'onSeriesStyleChange':_0x3d691d,'localeService':_0x509a64}),!_0x5bb913&&(0x0,react_jsx_runtime[_0x222b26(0x1f8)])(BorderOptions,{'isLineOrAreaChart':_0x2e67ad,'allSeriesBorderStyle':_0x5dcf3b===null||_0x5dcf3b===void 0x0?void 0x0:_0x5dcf3b['border'],'hideBorder':!_0x420b92,'controlName':_0x2314d4(_0x420b92||_0x42b02a?_0x222b26(0x4cd):_0x222b26(0x593)),'borderStyle':_0x33f982?_0xb41c4a:_0x5e6648,'onSeriesStyleChange':_0x3d691d,'localeService':_0x509a64}),(_0x2e67ad||_0x5bb913)&&(0x0,react_jsx_runtime[_0x222b26(0x1f8)])(LinePointOptions,{'pointStyle':_0xede8ec,'onChange':(_0x96ae66,_0x44b683)=>_0x3d691d({'point':{[_0x96ae66]:_0x44b683}}),'controls':_0x33f982?scatterAllSeriesPointControls:linePointControls,'localeService':_0x509a64})]}),!_0x644a72&&!_0x33f982&&!_0x2475f3&&(0x0,react_jsx_runtime[_0x222b26(0x1f8)])(AxisControl,{'rightYAxis':Boolean(_0x352222),'onSeriesStyleChange':_0x3d691d,'localeService':_0x509a64})]}),(0x0,react_jsx_runtime[_0x222b26(0x5bb)])('div',{'className':'univer-box-border\x20univer-px-4\x20univer-pb-2.5\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':[!_0x33f982&&_0x42b02a&&(0x0,react_jsx_runtime['jsx'])(RadarSeriesPoint,{'localeService':_0x509a64,'pointStyle':_0x3be340===null||_0x3be340===void 0x0?void 0x0:_0x3be340['point'],'setSeriesStyle':_0x3d691d}),!_0x33f982&&!_0x42b02a&&(0x0,react_jsx_runtime[_0x222b26(0x5bb)])(react_jsx_runtime['Fragment'],{'children':[(0x0,react_jsx_runtime['jsxs'])(_0x222b26(0x5bf),{'className':_0x222b26(0x257),'children':[(0x0,react_jsx_runtime[_0x222b26(0x1f8)])(_0x222b26(0x5bf),{'className':_0x222b26(0x394),'children':(0x0,react_jsx_runtime[_0x222b26(0x1f8)])(_0x222b26(0x5bf),{'className':_0x222b26(0x543),'children':_0x2314d4('chart.withFormat',_0x2314d4(_0x222b26(0x447)))})}),(0x0,react_jsx_runtime[_0x222b26(0x1f8)])(_0x222b26(0x5bf),{'className':_0x222b26(0x394),'children':(0x0,react_jsx_runtime['jsx'])(DropdownSelector,{'value':_0x14a39c,'menus':_0xe0e97f!==null&&_0xe0e97f!==void 0x0?_0xe0e97f:[],'onSelect':_0x16c751=>_0x278c4e(+_0x16c751),'children':(0x0,react_jsx_runtime[_0x222b26(0x5bb)])('div',{'className':_0x222b26(0x182),'children':[(0x0,react_jsx_runtime['jsx'])(_univerjs_icons[_0x222b26(0x1c6)],{}),(0x0,react_jsx_runtime[_0x222b26(0x1f8)])('span',{'children':_0x2314d4(_0x222b26(0x597))})]})})})]}),_0x3f85dd&&(0x0,react_jsx_runtime[_0x222b26(0x1f8)])(DataPointsEdit,{'chartType':_0x1d4e9a,'data':_0x3f85dd,'options':_0xe0e97f!==null&&_0xe0e97f!==void 0x0?_0xe0e97f:[],'onChange':_0x228bd1,'localeService':_0x509a64})]})]}),(0x0,react_jsx_runtime[_0x222b26(0x1f8)])(_0x222b26(0x5bf),{'className':_0x222b26(0x34c),'children':(0x0,react_jsx_runtime[_0x222b26(0x1f8)])(DataLabelOptions,{'localeService':_0x509a64,'fallbackLabelStyle':fallbackLabelStyle$1,'labelStyle':_0x4ec426,'positionOptions':_0x14b59b,'contentTypeOptions':_0xa6f938,'onLabelStyleChange':(_0x3f6bb7,_0x135eaa)=>_0x3d691d({'label':{[_0x3f6bb7]:_0x135eaa}}),'onVisibleChange':_0x26c4c4=>_0x3d691d({'label':{'visible':_0x26c4c4}}),'isPieLike':![],'chartType':_0x1d4e9a})})]});},TrendLineStyleEdit=_0x120dbd=>{const _0x1352ce=_0x94e517;var _0x3c1a55,_0x900047,_0x3c37b8,_0x531909;const {localeService:_0x3cc514,uiService:_0x491bd2}=_0x120dbd,{t:_0x256d83}=_0x3cc514,_0x2a9a5e=(0x0,_univerjs_ui['useDependency'])(_univerjs_core[_0x1352ce(0x197)]),[_0x26e8b8,_0x38692d]=useChartConfigState(_0x1352ce(0x1d1),_0x491bd2),[_0x11cd5a,_0xa71ef9]=(0x0,react['useState'])(0x0),_0xa70512=trendlineTypeOptions[_0x1352ce(0x1f1)](_0x5a4453=>({'label':(0x0,react_jsx_runtime[_0x1352ce(0x5bb)])(_0x1352ce(0x5bf),{'className':_0x1352ce(0x433),'children':[(0x0,react_jsx_runtime[_0x1352ce(0x1f8)])(_0x1352ce(0x5bf),{'className':_0x1352ce(0x536),'children':trendlineToIcon===null||trendlineToIcon===void 0x0?void 0x0:trendlineToIcon[_0x5a4453[_0x1352ce(0x46a)]]}),(0x0,react_jsx_runtime['jsx'])(_0x1352ce(0x5bf),{'className':_0x1352ce(0x5cb),'children':_0x3cc514['t'](_0x5a4453[_0x1352ce(0x31a)])})]}),'value':_0x5a4453[_0x1352ce(0x46a)]})),_0x1b1273=useTranslatedOptions(_0x3cc514,borderDashTypeOptions),_0x3ac1c9=borderWidthOptions[_0x1352ce(0x49b)](0x1),_0x22b10c=(_0x26e8b8||[])[_0x1352ce(0x1f1)]((_0x5703a1,_0x4ab16c)=>({'label':_0x5703a1['name'],'value':String(_0x4ab16c)})),_0x12c676=(0x0,react[_0x1352ce(0x177)])(_0x4340bd=>{if(_0x26e8b8){const _0x10a783=[..._0x26e8b8];_0x10a783[_0x11cd5a]={..._0x10a783[_0x11cd5a],..._0x4340bd},_0x38692d(_0x10a783);}},[_0x26e8b8,_0x11cd5a]),_0x2fb990=(0x0,react[_0x1352ce(0x3dc)])(()=>{return _0x26e8b8?_0x26e8b8[_0x11cd5a]:void 0x0;},[_0x26e8b8,_0x11cd5a]),[_0x2c7088,_0x178fd7]=(0x0,react['useState'])((_0x2fb990===null||_0x2fb990===void 0x0?void 0x0:_0x2fb990['name'])||'');if(_0x26e8b8===void 0x0||_0x26e8b8[_0x1352ce(0x22b)]===0x0)return null;return(0x0,react_jsx_runtime[_0x1352ce(0x5bb)])('section',{'className':_0x1352ce(0x173),'children':[(0x0,react_jsx_runtime[_0x1352ce(0x1f8)])(_0x1352ce(0x5bf),{'className':_0x1352ce(0x5ae),'children':(0x0,react_jsx_runtime['jsx'])(_univerjs_design[_0x1352ce(0x2de)],{'className':'univer-w-full\x20!univer-min-w-0','value':String(_0x11cd5a),'onChange':_0x59b36b=>_0xa71ef9(Number(_0x59b36b)),'options':_0x22b10c})}),(0x0,react_jsx_runtime[_0x1352ce(0x1f8)])('div',{'className':_0x1352ce(0x5ae),'children':_0x256d83(_0x1352ce(0x2db))}),(0x0,react_jsx_runtime[_0x1352ce(0x1f8)])(_0x1352ce(0x5bf),{'className':_0x1352ce(0x5ae),'children':(0x0,react_jsx_runtime[_0x1352ce(0x1f8)])(_univerjs_design[_0x1352ce(0x5e0)],{'value':_0x2c7088,'onChange':_0x178fd7,'onBlur':()=>{const _0x166bfc=_0x1352ce;_0x2a9a5e[_0x166bfc(0x24f)](_univerjs_core[_0x166bfc(0x217)],![]);if(_0x2c7088)_0x12c676===null||_0x12c676===void 0x0||_0x12c676({'name':_0x2c7088});else _0x178fd7((_0x2fb990===null||_0x2fb990===void 0x0?void 0x0:_0x2fb990[_0x166bfc(0x41c)])||'');},'onFocus':()=>{_0x2a9a5e['setContextValue'](_univerjs_core['FOCUSING_PANEL_EDITOR'],!![]);}})}),(0x0,react_jsx_runtime['jsx'])(_0x1352ce(0x5bf),{'className':_0x1352ce(0x5ae),'children':_0x256d83('chart.trendline.trendlineDashType')}),(0x0,react_jsx_runtime['jsxs'])(_0x1352ce(0x5bf),{'className':'univer-mb-2\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':[(0x0,react_jsx_runtime[_0x1352ce(0x1f8)])(_univerjs_design[_0x1352ce(0x2de)],{'className':_0x1352ce(0x5ab),'value':String(_0x2fb990===null||_0x2fb990===void 0x0?void 0x0:_0x2fb990[_0x1352ce(0x448)]),'onChange':_0x4d7061=>_0x12c676===null||_0x12c676===void 0x0?void 0x0:_0x12c676({'type':_0x4d7061}),'options':_0xa70512}),(0x0,react_jsx_runtime[_0x1352ce(0x1f8)])('div',{'className':'univer-mt-2\x20univer-text-sm\x20univer-leading-4\x20univer-text-gray-900\x20dark:!univer-text-white','children':(0x0,react_jsx_runtime[_0x1352ce(0x1f8)])(_univerjs_design[_0x1352ce(0x39a)],{'checked':(_0x2fb990===null||_0x2fb990===void 0x0?void 0x0:_0x2fb990[_0x1352ce(0x31c)])||_univerjs_pro_engine_chart[_0x1352ce(0x491)][_0x1352ce(0x1ac)][_0x1352ce(0x31c)],'onChange':_0x2af262=>_0x12c676({'showFormula':Boolean(_0x2af262)}),'children':_0x256d83(_0x1352ce(0x537))})}),(0x0,react_jsx_runtime[_0x1352ce(0x1f8)])(_0x1352ce(0x5bf),{'className':'univer-mt-2\x20univer-text-sm\x20univer-leading-4\x20univer-text-gray-900\x20dark:!univer-text-white','children':(0x0,react_jsx_runtime[_0x1352ce(0x1f8)])(_univerjs_design[_0x1352ce(0x39a)],{'checked':(_0x2fb990===null||_0x2fb990===void 0x0?void 0x0:_0x2fb990['showR2'])||_univerjs_pro_engine_chart[_0x1352ce(0x491)]['trendline'][_0x1352ce(0x194)],'onChange':_0x5d7abd=>_0x12c676({'showR2':Boolean(_0x5d7abd)}),'children':_0x256d83('chart.trendline.showR2')})}),((_0x2fb990===null||_0x2fb990===void 0x0?void 0x0:_0x2fb990[_0x1352ce(0x448)])===_univerjs_pro_engine_chart['ChartTrendlineType'][_0x1352ce(0x3c6)]||(_0x2fb990===null||_0x2fb990===void 0x0?void 0x0:_0x2fb990[_0x1352ce(0x448)])===_univerjs_pro_engine_chart[_0x1352ce(0x28a)][_0x1352ce(0x5c5)])&&(0x0,react_jsx_runtime[_0x1352ce(0x5bb)])(_0x1352ce(0x5bf),{'className':_0x1352ce(0x152),'children':[(_0x2fb990===null||_0x2fb990===void 0x0?void 0x0:_0x2fb990[_0x1352ce(0x448)])===_univerjs_pro_engine_chart[_0x1352ce(0x28a)][_0x1352ce(0x3c6)]&&(0x0,react_jsx_runtime['jsxs'])(react_jsx_runtime[_0x1352ce(0x185)],{'children':[(0x0,react_jsx_runtime['jsx'])(_0x1352ce(0x5bf),{'className':'univer-mb-2\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x256d83(_0x1352ce(0x2a7))}),(0x0,react_jsx_runtime['jsx'])(_univerjs_design[_0x1352ce(0x2de)],{'className':_0x1352ce(0x4f6),'value':String((_0x3c1a55=_0x2fb990===null||_0x2fb990===void 0x0?void 0x0:_0x2fb990[_0x1352ce(0x403)])!==null&&_0x3c1a55!==void 0x0?_0x3c1a55:_univerjs_pro_engine_chart['defaultChartConfig'][_0x1352ce(0x1ac)][_0x1352ce(0x403)]),'options':trendlineOrderOptions,'onChange':_0x5b8610=>_0x12c676===null||_0x12c676===void 0x0?void 0x0:_0x12c676({'order':Number(_0x5b8610)})})]}),(_0x2fb990===null||_0x2fb990===void 0x0?void 0x0:_0x2fb990[_0x1352ce(0x448)])===_univerjs_pro_engine_chart[_0x1352ce(0x28a)][_0x1352ce(0x5c5)]&&(0x0,react_jsx_runtime[_0x1352ce(0x5bb)])(react_jsx_runtime[_0x1352ce(0x185)],{'children':[(0x0,react_jsx_runtime[_0x1352ce(0x1f8)])(_0x1352ce(0x5bf),{'className':_0x1352ce(0x5ae),'children':_0x256d83('chart.trendline.period')}),(0x0,react_jsx_runtime[_0x1352ce(0x1f8)])(_univerjs_design['InputNumber'],{'value':(_0x2fb990===null||_0x2fb990===void 0x0?void 0x0:_0x2fb990[_0x1352ce(0x351)])||_univerjs_pro_engine_chart[_0x1352ce(0x491)]['trendline'][_0x1352ce(0x351)],'onChange':_0x40ce83=>_0x12c676===null||_0x12c676===void 0x0?void 0x0:_0x12c676({'period':Math[_0x1352ce(0x3f1)](_0x40ce83)})})]})]}),(0x0,react_jsx_runtime[_0x1352ce(0x1f8)])(_0x1352ce(0x5bf),{'className':_0x1352ce(0x5ae),'children':_0x256d83(_0x1352ce(0x2e1))}),(0x0,react_jsx_runtime[_0x1352ce(0x5bb)])(_0x1352ce(0x5bf),{'className':_0x1352ce(0x52d),'children':[(0x0,react_jsx_runtime['jsxs'])('div',{'className':_0x1352ce(0x394),'children':[(0x0,react_jsx_runtime[_0x1352ce(0x1f8)])(_0x1352ce(0x5bf),{'className':_0x1352ce(0x5ae),'children':_0x256d83(_0x1352ce(0x2a6),_0x256d83('chart.trendline.name'))}),(0x0,react_jsx_runtime[_0x1352ce(0x1f8)])(ColorPickerControl,{'color':(_0x2fb990===null||_0x2fb990===void 0x0?void 0x0:_0x2fb990[_0x1352ce(0x571)])||'','onChange':_0x43c4ad=>_0x12c676===null||_0x12c676===void 0x0?void 0x0:_0x12c676({'color':_0x43c4ad})})]}),(0x0,react_jsx_runtime[_0x1352ce(0x5bb)])(_0x1352ce(0x5bf),{'className':_0x1352ce(0x394),'children':[(0x0,react_jsx_runtime[_0x1352ce(0x1f8)])(_0x1352ce(0x5bf),{'className':'univer-mb-2\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x256d83(_0x1352ce(0x4d2),_0x256d83('chart.trendline.name'))}),(0x0,react_jsx_runtime[_0x1352ce(0x1f8)])(_univerjs_design[_0x1352ce(0x2de)],{'className':_0x1352ce(0x4f6),'value':String((_0x900047=_0x2fb990===null||_0x2fb990===void 0x0?void 0x0:_0x2fb990[_0x1352ce(0x42c)])!==null&&_0x900047!==void 0x0?_0x900047:_univerjs_pro_engine_chart['defaultChartConfig'][_0x1352ce(0x1ac)][_0x1352ce(0x42c)]),'options':lineOpacityOptions,'onChange':_0x5086b8=>_0x12c676===null||_0x12c676===void 0x0?void 0x0:_0x12c676({'opacity':Number(_0x5086b8)})})]})]}),(0x0,react_jsx_runtime[_0x1352ce(0x5bb)])('div',{'className':_0x1352ce(0x52d),'children':[(0x0,react_jsx_runtime['jsxs'])(_0x1352ce(0x5bf),{'className':_0x1352ce(0x394),'children':[(0x0,react_jsx_runtime['jsx'])(_0x1352ce(0x5bf),{'className':_0x1352ce(0x5ae),'children':_0x256d83(_0x1352ce(0x3a4),_0x256d83(_0x1352ce(0x5c1)))}),(0x0,react_jsx_runtime[_0x1352ce(0x1f8)])(_univerjs_design[_0x1352ce(0x2de)],{'className':_0x1352ce(0x4f6),'value':String((_0x3c37b8=_0x2fb990===null||_0x2fb990===void 0x0?void 0x0:_0x2fb990[_0x1352ce(0x1f3)])!==null&&_0x3c37b8!==void 0x0?_0x3c37b8:_univerjs_pro_engine_chart[_0x1352ce(0x491)][_0x1352ce(0x1ac)]['dashType']),'options':_0x1b1273,'onChange':_0x4f6211=>_0x12c676===null||_0x12c676===void 0x0?void 0x0:_0x12c676({'dashType':_0x4f6211})})]}),(0x0,react_jsx_runtime[_0x1352ce(0x5bb)])(_0x1352ce(0x5bf),{'className':_0x1352ce(0x394),'children':[(0x0,react_jsx_runtime[_0x1352ce(0x1f8)])('div',{'className':_0x1352ce(0x5ae),'children':_0x256d83(_0x1352ce(0x1e4),_0x256d83(_0x1352ce(0x5c1)))}),(0x0,react_jsx_runtime[_0x1352ce(0x1f8)])(_univerjs_design[_0x1352ce(0x2de)],{'className':_0x1352ce(0x4f6),'value':String((_0x531909=_0x2fb990===null||_0x2fb990===void 0x0?void 0x0:_0x2fb990['width'])!==null&&_0x531909!==void 0x0?_0x531909:_univerjs_pro_engine_chart[_0x1352ce(0x491)][_0x1352ce(0x1ac)][_0x1352ce(0x143)]),'options':_0x3ac1c9,'onChange':_0xc97956=>_0x12c676===null||_0x12c676===void 0x0?void 0x0:_0x12c676({'width':Number(_0xc97956)})})]})]}),(_0x2fb990===null||_0x2fb990===void 0x0?void 0x0:_0x2fb990[_0x1352ce(0x448)])!==_univerjs_pro_engine_chart[_0x1352ce(0x28a)]['movingAvg']&&(0x0,react_jsx_runtime[_0x1352ce(0x5bb)])('div',{'className':_0x1352ce(0x52d),'children':[(_0x2fb990===null||_0x2fb990===void 0x0?void 0x0:_0x2fb990[_0x1352ce(0x31c)])&&(0x0,react_jsx_runtime['jsxs'])(_0x1352ce(0x5bf),{'className':'univer-flex\x20univer-flex-1\x20univer-flex-col\x20univer-justify-between','children':[(0x0,react_jsx_runtime[_0x1352ce(0x1f8)])(_0x1352ce(0x5bf),{'className':'univer-mb-2\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x256d83(_0x1352ce(0x2a6),_0x256d83(_0x1352ce(0x314)))}),(0x0,react_jsx_runtime[_0x1352ce(0x1f8)])(ColorPickerControl,{'color':(_0x2fb990===null||_0x2fb990===void 0x0?void 0x0:_0x2fb990[_0x1352ce(0x261)])||'','onChange':_0x1dc67e=>_0x12c676===null||_0x12c676===void 0x0?void 0x0:_0x12c676({'formulaColor':_0x1dc67e})})]}),(_0x2fb990===null||_0x2fb990===void 0x0?void 0x0:_0x2fb990[_0x1352ce(0x194)])&&(0x0,react_jsx_runtime[_0x1352ce(0x5bb)])(_0x1352ce(0x5bf),{'className':_0x1352ce(0x394),'children':[(0x0,react_jsx_runtime['jsx'])(_0x1352ce(0x5bf),{'className':_0x1352ce(0x5ae),'children':_0x256d83(_0x1352ce(0x2a6),_0x256d83(_0x1352ce(0x36f)))}),(0x0,react_jsx_runtime[_0x1352ce(0x1f8)])(ColorPickerControl,{'color':(_0x2fb990===null||_0x2fb990===void 0x0?void 0x0:_0x2fb990[_0x1352ce(0x435)])||'','onChange':_0x317397=>_0x12c676===null||_0x12c676===void 0x0?void 0x0:_0x12c676({'r2Color':_0x317397})})]})]})]})]});},fallbackLabelStyle={'fontSize':_univerjs_pro_engine_chart[_0x94e517(0x491)][_0x94e517(0x54d)][_0x94e517(0x3fe)],'contentType':_univerjs_pro_engine_chart[_0x94e517(0x491)]['labelContentType'],'position':_univerjs_pro_engine_chart[_0x94e517(0x491)][_0x94e517(0x54d)][_0x94e517(0x4c3)]},WaterfallSeriesEdit=_0x8686ab=>{const _0x10069f=_0x94e517;var _0x2b1a46,_0x307cde,_0x1b0432,_0x5cecf1,_0x3146de,_0x18b6b5,_0x17d0fe,_0x3e1939,_0x3a7450,_0x5a17dd,_0x237dec,_0x2f7b36,_0xf64424,_0x1774e4,_0xab6c00,_0x4330ff,_0x4893e9;const {service:_0x27d688,localeService:_0x545f5d}=_0x8686ab,{t:_0x35d1f9}=_0x545f5d,_0x4f3ff0=useTranslatedOptions(_0x545f5d,dataLabelPositionOptions),_0xb868c3=(0x0,react['useMemo'])(()=>{const _0x52c146=_0x1088;return labelContentOptions[_0x52c146(0x5b4)](_0x568d5c=>{const _0x34e3d4=_0x52c146;return _0x568d5c[_0x34e3d4(0x46a)]!==String(_univerjs_pro_engine_chart[_0x34e3d4(0x3d3)][_0x34e3d4(0x5aa)]);})[_0x52c146(0x1f1)](_0x1b88c7=>{const _0x574dba=_0x52c146;return{'value':_0x1b88c7[_0x574dba(0x46a)],'label':_0x545f5d['t'](_0x1b88c7['label'])};});},[_0x545f5d]),_0xc7b575=(0x0,_univerjs_ui[_0x10069f(0x4c1)])(_univerjs_core[_0x10069f(0x197)]),[_0x8c61fa,_0x254e88]=(0x0,react[_0x10069f(0x348)])(_univerjs_pro_engine_chart[_0x10069f(0x491)][_0x10069f(0x260)]),_0x3594c8=_0x8c61fa===_univerjs_pro_engine_chart[_0x10069f(0x491)][_0x10069f(0x260)],[_0x35e182,_0x278b77]=useChartConfigState(_0x10069f(0x434),_0x27d688),[_0x1ac67c,_0x9e8ead]=useChartConfigState(_0x10069f(0x1f7),_0x27d688),[_0x4000]=useChartConfigState(_0x10069f(0x419),_0x27d688),[_0x397aa7]=useChartConfigState(_0x10069f(0x52c),_0x27d688),_0x5897ed=_0x397aa7!==_univerjs_pro_engine_chart[_0x10069f(0x5b0)][_0x10069f(0x59b)],[_0x3a422d]=useTranslatedOptions(_0x545f5d,[getAllSeriesOption()]),_0x469db1=_0x1ac67c===null||_0x1ac67c===void 0x0?void 0x0:_0x1ac67c[_0x8c61fa],_0x1844a3=(0x0,react[_0x10069f(0x3dc)])(()=>_0x4000?[_0x3a422d,..._0x4000]:[],[_0x3a422d,_0x4000]),_0x302bdd=_0x598e64=>{if(_0x3594c8)_0x278b77(_0x598e64);else _0x9e8ead({[_0x8c61fa]:_0x598e64});},_0x163438=_univerjs_pro_engine_chart[_0x10069f(0x491)][_0x10069f(0x39e)],_0x1a0116={'color':'transparent','opacity':_0x163438['opacity'],'width':0x0,'dashType':_0x163438[_0x10069f(0x1f3)]},_0x53fa8d=_0x3594c8?{..._0x1a0116,..._0x35e182===null||_0x35e182===void 0x0||(_0x2b1a46=_0x35e182[_0x10069f(0x14f)])===null||_0x2b1a46===void 0x0||(_0x2b1a46=_0x2b1a46[_0x10069f(0x4c5)])===null||_0x2b1a46===void 0x0?void 0x0:_0x2b1a46['border']}:{..._0x1a0116,..._0x469db1===null||_0x469db1===void 0x0||(_0x307cde=_0x469db1[_0x10069f(0x14f)])===null||_0x307cde===void 0x0||(_0x307cde=_0x307cde[_0x10069f(0x4c5)])===null||_0x307cde===void 0x0?void 0x0:_0x307cde[_0x10069f(0x32e)]},_0x518bad=_0x3594c8?{..._0x1a0116,..._0x35e182===null||_0x35e182===void 0x0||(_0x1b0432=_0x35e182[_0x10069f(0x14f)])===null||_0x1b0432===void 0x0||(_0x1b0432=_0x1b0432[_0x10069f(0x5d8)])===null||_0x1b0432===void 0x0?void 0x0:_0x1b0432['border']}:{..._0x1a0116,..._0x469db1===null||_0x469db1===void 0x0||(_0x5cecf1=_0x469db1[_0x10069f(0x14f)])===null||_0x5cecf1===void 0x0||(_0x5cecf1=_0x5cecf1[_0x10069f(0x5d8)])===null||_0x5cecf1===void 0x0?void 0x0:_0x5cecf1[_0x10069f(0x32e)]},_0x238046=_0x3594c8?{..._0x1a0116,..._0x35e182===null||_0x35e182===void 0x0||(_0x3146de=_0x35e182[_0x10069f(0x14f)])===null||_0x3146de===void 0x0||(_0x3146de=_0x3146de[_0x10069f(0x4fc)])===null||_0x3146de===void 0x0?void 0x0:_0x3146de[_0x10069f(0x32e)]}:{..._0x1a0116,..._0x469db1===null||_0x469db1===void 0x0||(_0x18b6b5=_0x469db1[_0x10069f(0x14f)])===null||_0x18b6b5===void 0x0||(_0x18b6b5=_0x18b6b5[_0x10069f(0x4fc)])===null||_0x18b6b5===void 0x0?void 0x0:_0x18b6b5['border']},_0x40360e=(_0x1c6aa0,_0x2c8166)=>{const _0x24b00a=_0x10069f;if(_0x2c8166===_univerjs_pro_engine_chart[_0x24b00a(0x3f2)][_0x24b00a(0x4fc)])return _0x35d1f9('chart.waterfall.subtotal');const _0x64d71b=_0x4000===null||_0x4000===void 0x0?void 0x0:_0x4000[_0x24b00a(0x178)](_0x5e71b7=>_0x5e71b7['value']===_0x1c6aa0);if(_0x64d71b){const _0x331128=_0x64d71b['label'];switch(_0x2c8166){case _univerjs_pro_engine_chart[_0x24b00a(0x3f2)][_0x24b00a(0x4c5)]:return _0x331128+'-('+_0x35d1f9(_0x24b00a(0x14e))+')';case _univerjs_pro_engine_chart[_0x24b00a(0x3f2)][_0x24b00a(0x5d8)]:return _0x331128+'-('+_0x35d1f9(_0x24b00a(0x384))+')';default:return _0x331128;}}return'';},_0x200d9d=_0x3594c8?(_0x17d0fe=_0x35e182===null||_0x35e182===void 0x0?void 0x0:_0x35e182[_0x10069f(0x31a)])!==null&&_0x17d0fe!==void 0x0?_0x17d0fe:{}:Object[_0x10069f(0x5b7)]({},_0x35e182===null||_0x35e182===void 0x0?void 0x0:_0x35e182[_0x10069f(0x31a)],_0x469db1===null||_0x469db1===void 0x0?void 0x0:_0x469db1[_0x10069f(0x31a)]),_0x5aa560=_0x5897ed?_0x469db1===null||_0x469db1===void 0x0||(_0x3e1939=_0x469db1['waterfall'])===null||_0x3e1939===void 0x0||(_0x3e1939=_0x3e1939[_0x10069f(0x4fc)])===null||_0x3e1939===void 0x0?void 0x0:_0x3e1939['name']:_0x35e182===null||_0x35e182===void 0x0||(_0x3a7450=_0x35e182[_0x10069f(0x14f)])===null||_0x3a7450===void 0x0||(_0x3a7450=_0x3a7450[_0x10069f(0x4fc)])===null||_0x3a7450===void 0x0?void 0x0:_0x3a7450[_0x10069f(0x41c)],_0x315902=_0x397aa7===_univerjs_pro_engine_chart[_0x10069f(0x5b0)][_0x10069f(0x59b)]?_0x3594c8:!![];return(0x0,react_jsx_runtime[_0x10069f(0x5bb)])('div',{'children':[(0x0,react_jsx_runtime[_0x10069f(0x1f8)])(_0x10069f(0x5bf),{'className':'univer-mb-2\x20univer-h-8','children':(0x0,react_jsx_runtime[_0x10069f(0x1f8)])(_univerjs_design[_0x10069f(0x2de)],{'className':_0x10069f(0x4f6),'value':_0x8c61fa,'onChange':_0x1e8d43=>_0x254e88(_0x1e8d43),'options':_0x1844a3})}),(0x0,react_jsx_runtime[_0x10069f(0x5bb)])(_0x10069f(0x5bf),{'className':_0x10069f(0x173),'children':[(0x0,react_jsx_runtime[_0x10069f(0x1f8)])('div',{'className':_0x10069f(0x543),'children':_0x35d1f9('chart.waterfall.positiveStyle')}),!_0x3594c8&&(0x0,react_jsx_runtime[_0x10069f(0x5bb)])(react_jsx_runtime[_0x10069f(0x185)],{'children':[(0x0,react_jsx_runtime['jsx'])(_0x10069f(0x5bf),{'className':_0x10069f(0x46e),'children':_0x35d1f9(_0x10069f(0x467))}),(0x0,react_jsx_runtime[_0x10069f(0x1f8)])(_univerjs_design[_0x10069f(0x5e0)],{'className':_0x10069f(0x1fe),'value':(_0x469db1===null||_0x469db1===void 0x0||(_0x5a17dd=_0x469db1[_0x10069f(0x14f)])===null||_0x5a17dd===void 0x0||(_0x5a17dd=_0x5a17dd['positive'])===null||_0x5a17dd===void 0x0?void 0x0:_0x5a17dd['name'])||_0x40360e(_0x8c61fa,_univerjs_pro_engine_chart['WaterfallSeriesTypeEnum']['positive']),'onChange':_0x8056d8=>{_0x302bdd({'waterfall':{'positive':{'name':_0x8056d8}}});},'onFocus':()=>{const _0x5b96cc=_0x10069f;_0xc7b575[_0x5b96cc(0x24f)](_univerjs_core[_0x5b96cc(0x217)],!![]);},'onBlur':()=>{const _0x4649ea=_0x10069f;_0xc7b575[_0x4649ea(0x24f)](_univerjs_core['FOCUSING_PANEL_EDITOR'],![]);}})]}),(0x0,react_jsx_runtime[_0x10069f(0x1f8)])(FillOptions,{'chartType':_univerjs_pro_engine_chart[_0x10069f(0x278)][_0x10069f(0x3f3)],'allSeriesStyle':_0x35e182,'controlName':'','seriesStyle':_0x3594c8?_0x35e182===null||_0x35e182===void 0x0||(_0x237dec=_0x35e182[_0x10069f(0x14f)])===null||_0x237dec===void 0x0?void 0x0:_0x237dec[_0x10069f(0x4c5)]:_0x469db1===null||_0x469db1===void 0x0||(_0x2f7b36=_0x469db1[_0x10069f(0x14f)])===null||_0x2f7b36===void 0x0?void 0x0:_0x2f7b36[_0x10069f(0x4c5)],'onSeriesStyleChange':_0x5473fc=>_0x302bdd({'waterfall':{'positive':_0x5473fc}}),'localeService':_0x545f5d}),(0x0,react_jsx_runtime['jsx'])(BorderOptions,{'isLineOrAreaChart':![],'allSeriesBorderStyle':_0x35e182===null||_0x35e182===void 0x0?void 0x0:_0x35e182[_0x10069f(0x32e)],'hideBorder':!![],'controlName':_0x35d1f9('chart.border'),'borderStyle':_0x53fa8d,'onSeriesStyleChange':_0x565a2f=>_0x302bdd({'waterfall':{'positive':_0x565a2f}}),'localeService':_0x545f5d})]}),(0x0,react_jsx_runtime[_0x10069f(0x5bb)])(_0x10069f(0x5bf),{'className':_0x10069f(0x173),'children':[(0x0,react_jsx_runtime[_0x10069f(0x1f8)])(_0x10069f(0x5bf),{'className':_0x10069f(0x543),'children':_0x35d1f9(_0x10069f(0x47e))}),!_0x3594c8&&(0x0,react_jsx_runtime['jsxs'])(react_jsx_runtime[_0x10069f(0x185)],{'children':[(0x0,react_jsx_runtime[_0x10069f(0x1f8)])('div',{'className':_0x10069f(0x46e),'children':_0x35d1f9('chart.waterfall.negativeLegendText')}),(0x0,react_jsx_runtime[_0x10069f(0x1f8)])(_univerjs_design[_0x10069f(0x5e0)],{'className':_0x10069f(0x1fe),'value':(_0x469db1===null||_0x469db1===void 0x0||(_0xf64424=_0x469db1['waterfall'])===null||_0xf64424===void 0x0||(_0xf64424=_0xf64424[_0x10069f(0x5d8)])===null||_0xf64424===void 0x0?void 0x0:_0xf64424[_0x10069f(0x41c)])||_0x40360e(_0x8c61fa,_univerjs_pro_engine_chart[_0x10069f(0x3f2)][_0x10069f(0x5d8)]),'onChange':_0x3e4597=>{_0x302bdd({'waterfall':{'negative':{'name':_0x3e4597}}});},'onFocus':()=>{const _0x1f2108=_0x10069f;_0xc7b575[_0x1f2108(0x24f)](_univerjs_core[_0x1f2108(0x217)],!![]);},'onBlur':()=>{const _0x428153=_0x10069f;_0xc7b575['setContextValue'](_univerjs_core[_0x428153(0x217)],![]);}})]}),(0x0,react_jsx_runtime['jsx'])(FillOptions,{'chartType':_univerjs_pro_engine_chart['ChartTypeBits'][_0x10069f(0x3f3)],'allSeriesStyle':_0x35e182,'controlName':'','seriesStyle':_0x3594c8?_0x35e182===null||_0x35e182===void 0x0||(_0x1774e4=_0x35e182[_0x10069f(0x14f)])===null||_0x1774e4===void 0x0?void 0x0:_0x1774e4[_0x10069f(0x5d8)]:_0x469db1===null||_0x469db1===void 0x0||(_0xab6c00=_0x469db1[_0x10069f(0x14f)])===null||_0xab6c00===void 0x0?void 0x0:_0xab6c00[_0x10069f(0x5d8)],'onSeriesStyleChange':_0x30f1c8=>_0x302bdd({'waterfall':{'negative':_0x30f1c8}}),'localeService':_0x545f5d}),(0x0,react_jsx_runtime[_0x10069f(0x1f8)])(BorderOptions,{'controlName':_0x35d1f9(_0x10069f(0x593)),'isLineOrAreaChart':![],'hideBorder':!![],'allSeriesBorderStyle':_0x35e182===null||_0x35e182===void 0x0?void 0x0:_0x35e182['border'],'borderStyle':_0x518bad,'onSeriesStyleChange':_0x520b3d=>_0x302bdd({'waterfall':{'negative':_0x520b3d}}),'localeService':_0x545f5d})]}),_0x315902&&(0x0,react_jsx_runtime['jsx'])(react_jsx_runtime[_0x10069f(0x185)],{'children':(0x0,react_jsx_runtime[_0x10069f(0x1f8)])(_0x10069f(0x5bf),{'className':_0x10069f(0x173),'children':(0x0,react_jsx_runtime[_0x10069f(0x5bb)])(react_jsx_runtime[_0x10069f(0x185)],{'children':[(0x0,react_jsx_runtime[_0x10069f(0x1f8)])(_0x10069f(0x5bf),{'className':_0x10069f(0x543),'children':_0x35d1f9(_0x10069f(0x21b))}),(0x0,react_jsx_runtime[_0x10069f(0x5bb)])(react_jsx_runtime[_0x10069f(0x185)],{'children':[(0x0,react_jsx_runtime[_0x10069f(0x1f8)])(_0x10069f(0x5bf),{'className':'univer-mb-2\x20univer-flex\x20univer-flex-1\x20univer-flex-col\x20univer-justify-between','children':_0x35d1f9(_0x10069f(0x46b))}),(0x0,react_jsx_runtime[_0x10069f(0x1f8)])(_univerjs_design['Input'],{'className':_0x10069f(0x1fe),'value':_0x5aa560||_0x40360e(_0x8c61fa,_univerjs_pro_engine_chart[_0x10069f(0x3f2)][_0x10069f(0x4fc)]),'onChange':_0x4cd45e=>{_0x302bdd({'waterfall':{'subtotal':{'name':_0x4cd45e}}});},'onFocus':()=>{const _0x1967ea=_0x10069f;_0xc7b575[_0x1967ea(0x24f)](_univerjs_core[_0x1967ea(0x217)],!![]);},'onBlur':()=>{_0xc7b575['setContextValue'](_univerjs_core['FOCUSING_PANEL_EDITOR'],![]);}})]}),(0x0,react_jsx_runtime[_0x10069f(0x1f8)])(FillOptions,{'chartType':_univerjs_pro_engine_chart[_0x10069f(0x278)][_0x10069f(0x3f3)],'allSeriesStyle':_0x35e182,'controlName':'','seriesStyle':_0x3594c8?_0x35e182===null||_0x35e182===void 0x0||(_0x4330ff=_0x35e182[_0x10069f(0x14f)])===null||_0x4330ff===void 0x0?void 0x0:_0x4330ff[_0x10069f(0x4fc)]:_0x469db1===null||_0x469db1===void 0x0||(_0x4893e9=_0x469db1[_0x10069f(0x14f)])===null||_0x4893e9===void 0x0?void 0x0:_0x4893e9[_0x10069f(0x4fc)],'onSeriesStyleChange':_0x7e0ed=>_0x302bdd({'waterfall':{'subtotal':_0x7e0ed}}),'localeService':_0x545f5d}),(0x0,react_jsx_runtime['jsx'])(BorderOptions,{'isLineOrAreaChart':![],'hideBorder':!![],'allSeriesBorderStyle':_0x35e182===null||_0x35e182===void 0x0?void 0x0:_0x35e182[_0x10069f(0x32e)],'controlName':_0x35d1f9(_0x10069f(0x593)),'borderStyle':_0x238046,'onSeriesStyleChange':_0x10f606=>_0x302bdd({'waterfall':{'subtotal':_0x10f606}}),'localeService':_0x545f5d})]})})}),(0x0,react_jsx_runtime[_0x10069f(0x1f8)])(_0x10069f(0x5bf),{'className':_0x10069f(0x173),'children':(0x0,react_jsx_runtime['jsx'])(DataLabelOptions,{'localeService':_0x545f5d,'fallbackLabelStyle':fallbackLabelStyle,'labelStyle':_0x200d9d,'positionOptions':_0x4f3ff0,'contentTypeOptions':_0xb868c3,'onLabelStyleChange':(_0xc3344d,_0x50652c)=>_0x302bdd({'label':{[_0xc3344d]:_0x50652c}}),'onVisibleChange':_0x5cf6d0=>_0x302bdd({'label':{'visible':_0x5cf6d0}}),'isPieLike':![],'chartType':_univerjs_pro_engine_chart['ChartTypeBits'][_0x10069f(0x3f3)]})})]});};function getShapes(_0x127659){const _0x211072=_0x94e517,_0x16c764=[];for(const [_0x38837c,_0x43d1a5]of _0x127659)_0x16c764[_0x211072(0x207)]({'value':_0x38837c,'label':_0x38837c,'icon':_0x43d1a5[_0x211072(0x43c)]});return _0x16c764;}function WordCloudShapeSelector(_0x2c7877){const _0x416499=_0x94e517,{service:_0x302fd1,localeService:_0x24f57d}=_0x2c7877,_0x14a941=getShapes((0x0,_univerjs_ui[_0x416499(0x4c1)])(_univerjs_pro_engine_chart[_0x416499(0x47f)])[_0x416499(0x406)]()),[_0x36f4b0,_0x3b7319]=useChartConfigState(_0x416499(0x461),_0x302fd1),[_0x2960b6,_0xc0bb4d]=useChartConfigState(_0x416499(0x2aa),_0x302fd1),[_0xd40f63,_0x45d990]=(0x0,react[_0x416499(0x348)])(![]),{t:_0x1f61d6}=_0x24f57d,_0x227203=_0x14a941[_0x416499(0x178)](_0x3c11f8=>_0x3c11f8[_0x416499(0x46a)]===_0x36f4b0)||_0x14a941[0x0];return(0x0,react_jsx_runtime['jsxs'])(_0x416499(0x5bf),{'className':'univer-box-border\x20univer-w-full\x20univer-px-4\x20univer-pb-2.5\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':[(0x0,react_jsx_runtime['jsx'])(_0x416499(0x5bf),{'className':_0x416499(0x3be),'children':_0x1f61d6(_0x416499(0x33b))}),(0x0,react_jsx_runtime['jsx'])(_univerjs_design[_0x416499(0x275)],{'open':_0xd40f63,'onOpenChange':_0x45d990,'overlay':(0x0,react_jsx_runtime[_0x416499(0x1f8)])(_0x416499(0x5bf),{'className':_0x416499(0x58b),'children':_0x14a941[_0x416499(0x1f1)](_0x126a78=>(0x0,react_jsx_runtime[_0x416499(0x1f8)])(_0x416499(0x393),{'className':(0x0,_univerjs_design[_0x416499(0x233)])(_0x416499(0x387),_univerjs_design[_0x416499(0x2b0)],{'univer-bg-white':_0x227203[_0x416499(0x46a)]!==_0x126a78[_0x416499(0x46a)],'univer-select-item-option-selected':_0x227203[_0x416499(0x46a)]===_0x126a78[_0x416499(0x46a)]}),'type':_0x416499(0x393),'onClick':()=>{const _0x22412f=_0x416499;_0x3b7319(_0x126a78[_0x22412f(0x46a)]),_0x45d990(![]);},'children':(0x0,react_jsx_runtime[_0x416499(0x1f8)])(_0x416499(0x427),{'className':_0x416499(0x501),'children':(0x0,react_jsx_runtime[_0x416499(0x1f8)])(_0x416499(0x58e),{'src':_0x126a78[_0x416499(0x43a)],'alt':_0x126a78[_0x416499(0x31a)]})})},_0x126a78['value']))}),'children':(0x0,react_jsx_runtime[_0x416499(0x1f8)])(_0x416499(0x393),{'className':(0x0,_univerjs_design[_0x416499(0x233)])(_0x416499(0x38e),_univerjs_design[_0x416499(0x2b0)]),'type':_0x416499(0x393),'children':(0x0,react_jsx_runtime[_0x416499(0x5bb)])(_0x416499(0x427),{'className':_0x416499(0x21a),'children':[(0x0,react_jsx_runtime[_0x416499(0x1f8)])(_0x416499(0x427),{'className':_0x416499(0x20f),'children':(0x0,react_jsx_runtime[_0x416499(0x1f8)])(_0x416499(0x58e),{'className':_0x416499(0x5f9),'src':_0x227203[_0x416499(0x43a)],'alt':_0x227203[_0x416499(0x31a)]})}),(0x0,react_jsx_runtime[_0x416499(0x1f8)])('span',{'className':_0x416499(0x426),'children':_0x227203[_0x416499(0x31a)]})]})})}),(0x0,react_jsx_runtime[_0x416499(0x1f8)])(_univerjs_design[_0x416499(0x39a)],{'className':_0x416499(0x33e),'checked':_0x2960b6!==null&&_0x2960b6!==void 0x0?_0x2960b6:_univerjs_pro_engine_chart['defaultChartConfig']['wordCloud'][_0x416499(0x337)],'onChange':_0x236aee=>{_0xc0bb4d===null||_0xc0bb4d===void 0x0||_0xc0bb4d(Boolean(_0x236aee));},'children':_0x1f61d6(_0x416499(0x5c8))})]});}const {textStyle}=_univerjs_pro_engine_chart['defaultChartConfig'],StyleTabPanel=()=>{const _0x2c8c2f=_0x94e517;var _0x1be9d6,_0x24e5b,_0x416a14,_0x25ea92,_0x592d96,_0x4e5ef3,_0x3e1a66,_0x1007ae,_0x560c23,_0x3b4443;const _0x871fd5=(0x0,_univerjs_ui[_0x2c8c2f(0x4c1)])(_univerjs_core[_0x2c8c2f(0x4e1)]),_0x1c6db3=(0x0,_univerjs_ui['useDependency'])(_univerjs_core[_0x2c8c2f(0x197)]),_0x4046dc=useSheetsChartUIService(),_0x58ba88=(0x0,_univerjs_ui[_0x2c8c2f(0x4c1)])(_univerjs_ui[_0x2c8c2f(0x1f6)]),{t:_0x5115f6}=_0x871fd5,[_0x48219b,_0x243491]=useChartConfigState(_0x2c8c2f(0x35f),_0x4046dc),[_0x53a6ad]=useChartConfigState(_0x2c8c2f(0x3e4),_0x4046dc),[_0x224124,_0x1c5ba8]=useChartConfigState('backgroundColor',_0x4046dc,''),[_0x818faa,_0x42041f]=useChartConfigState(_0x2c8c2f(0x41f),_0x4046dc,''),[_0x5c5fe6,_0x5ec165]=useChartConfigState(_0x2c8c2f(0x170),_0x4046dc),[_0x210f52,_0x4edc26]=useChartConfigState(_0x2c8c2f(0x256),_0x4046dc),[_0x1d277d,_0x4d30a0]=useChartConfigState(_0x2c8c2f(0x456),_0x4046dc),[_0x5e18a5,_0x2cfa18]=useChartConfigState(_0x2c8c2f(0x50a),_0x4046dc),[_0x5dc0f0,_0x187d8c]=useChartConfigState(_0x2c8c2f(0x179),_0x4046dc),[_0x33d3cc,_0xf33a98]=useChartConfigState('titles',_0x4046dc),[_0x5ca72a,_0x11e142]=useChartConfigState(_0x2c8c2f(0x5f0),_0x4046dc),[_0x534ad9,_0x4b4649]=useChartConfigState(_0x2c8c2f(0x42d),_0x4046dc),[_0x4ea2c6]=useChartConfigState('runtimeAxes',_0x4046dc),[_0x2d1854]=useChartConfigState(_0x2c8c2f(0x405),_0x4046dc),_0x52f5c0=(0x0,_univerjs_ui[_0x2c8c2f(0x4c1)])(_univerjs_pro_engine_chart[_0x2c8c2f(0x40d)]),[_0x3cbad0,_0x47f308]=(0x0,react['useState'])(''),[_0x5da875]=useChartConfigState(_0x2c8c2f(0x1d1),_0x4046dc),_0x196cca=_0x48219b&&(0x0,_univerjs_pro_engine_chart[_0x2c8c2f(0x5c3)])(_0x48219b),_0x2cd32a=_0x5da875&&_0x5da875[_0x2c8c2f(0x22b)]>0x0,_0x511e65=_0x48219b&&_univerjs_pro_engine_chart[_0x2c8c2f(0x1bf)][_0x2c8c2f(0x16c)](_0x48219b,_univerjs_pro_engine_chart[_0x2c8c2f(0x278)][_0x2c8c2f(0x1c0)]),_0x24d5f2=(0x0,react[_0x2c8c2f(0x3dc)])(()=>{const _0xf9173e=_0x2c8c2f;return _0x2d1854?_0x52f5c0[_0xf9173e(0x276)](_0x2d1854):_0x52f5c0[_0xf9173e(0x35a)]();},[_0x2d1854]),_0x2e09dc=Boolean(_0x48219b&&_univerjs_pro_engine_chart[_0x2c8c2f(0x1bf)][_0x2c8c2f(0x16c)](_0x48219b,_univerjs_pro_engine_chart[_0x2c8c2f(0x278)][_0x2c8c2f(0x440)])),_0x5aabd7=Boolean(_0x48219b&&_univerjs_pro_engine_chart[_0x2c8c2f(0x1bf)][_0x2c8c2f(0x16c)](_0x48219b,_univerjs_pro_engine_chart[_0x2c8c2f(0x278)][_0x2c8c2f(0x29b)])),_0x5e8f93=Boolean(_0x48219b&&_univerjs_pro_engine_chart['chartBitsUtils'][_0x2c8c2f(0x16c)](_0x48219b,_univerjs_pro_engine_chart[_0x2c8c2f(0x278)][_0x2c8c2f(0x25c)])),_0xb0bdb7=Boolean(_0x48219b&&_univerjs_pro_engine_chart[_0x2c8c2f(0x1bf)]['baseOn'](_0x48219b,_univerjs_pro_engine_chart['ChartTypeBits'][_0x2c8c2f(0x32b)])),_0x416b60=Boolean(_0x48219b&&_univerjs_pro_engine_chart[_0x2c8c2f(0x1bf)]['baseOn'](_0x48219b,_univerjs_pro_engine_chart[_0x2c8c2f(0x278)][_0x2c8c2f(0x4e7)])),_0x279719=Boolean(_0x48219b&&_univerjs_pro_engine_chart['chartBitsUtils'][_0x2c8c2f(0x16c)](_0x48219b,_univerjs_pro_engine_chart['ChartTypeBits'][_0x2c8c2f(0x545)])),_0x57da20=Boolean(_0x48219b&&_univerjs_pro_engine_chart['chartBitsUtils']['baseOn'](_0x48219b,_univerjs_pro_engine_chart[_0x2c8c2f(0x278)][_0x2c8c2f(0x3b3)])),_0x15bcdf=(0x0,react['useMemo'])(()=>{return _0x4ea2c6===null||_0x4ea2c6===void 0x0?void 0x0:_0x4ea2c6['reduce']((_0x5128f0,_0x40a96e)=>{const _0x5c0b45=_0x1088;return _0x5128f0[_0x40a96e[_0x5c0b45(0x4c3)]]=_0x40a96e,_0x5128f0;},{});},[_0x4ea2c6]),_0x112c4c=Boolean(_0x15bcdf===null||_0x15bcdf===void 0x0?void 0x0:_0x15bcdf[_univerjs_pro_engine_chart['IRuntimeAxisPosition'][_0x2c8c2f(0x4f1)]])&&Boolean(_0x15bcdf===null||_0x15bcdf===void 0x0?void 0x0:_0x15bcdf[_univerjs_pro_engine_chart[_0x2c8c2f(0x2a5)]['Left']])&&(_0x48219b&_univerjs_pro_engine_chart[_0x2c8c2f(0x278)]['Pie'])===0x0&&(_0x48219b&_univerjs_pro_engine_chart[_0x2c8c2f(0x278)]['Radar'])===0x0,[_0x324b9d,_0x5e7622]=(0x0,react[_0x2c8c2f(0x348)])(titleOptions[0x0]['value']),_0x1a4564=_0x33d3cc===null||_0x33d3cc===void 0x0?void 0x0:_0x33d3cc[_0x324b9d],_0x2dd2ae={'color':textStyle[_0x2c8c2f(0x571)],'fontSize':_0x324b9d===_0x2c8c2f(0x17e)?textStyle['titleFontSize']:_0x324b9d===_0x2c8c2f(0x3d7)?textStyle[_0x2c8c2f(0x566)]:textStyle[_0x2c8c2f(0x3fe)],..._0x1a4564},_0xd6d034=(0x0,react[_0x2c8c2f(0x177)])(_0x5487db=>{_0xf33a98({[_0x324b9d]:_0x5487db});},[_0x324b9d]),_0x3b3df8=_0x2a8500=>{const _0x17703e=_0x2c8c2f,_0x3e93e3={'label':{'axisTitleAlign':_0x2a8500}};if(_0x324b9d==='xAxisTitle')_0x4d30a0(_0x3e93e3);if(_0x324b9d===_0x17703e(0x4c0))_0x2cfa18(_0x3e93e3);if(_0x324b9d===_0x17703e(0x4c4))_0x187d8c(_0x3e93e3);},_0x59ccd8=()=>{const _0xbdfee2=_0x2c8c2f;if(_0x324b9d===_0xbdfee2(0x46d)){var _0x2adf74;return _0x1d277d===null||_0x1d277d===void 0x0||(_0x2adf74=_0x1d277d[_0xbdfee2(0x31a)])===null||_0x2adf74===void 0x0?void 0x0:_0x2adf74[_0xbdfee2(0x3e3)];}if(_0x324b9d===_0xbdfee2(0x4c0)){var _0x4ed8e1;return _0x5e18a5===null||_0x5e18a5===void 0x0||(_0x4ed8e1=_0x5e18a5[_0xbdfee2(0x31a)])===null||_0x4ed8e1===void 0x0?void 0x0:_0x4ed8e1[_0xbdfee2(0x3e3)];}if(_0x324b9d===_0xbdfee2(0x4c4)){var _0x4cd0e6;return _0x5dc0f0===null||_0x5dc0f0===void 0x0||(_0x4cd0e6=_0x5dc0f0[_0xbdfee2(0x31a)])===null||_0x4cd0e6===void 0x0?void 0x0:_0x4cd0e6['axisTitleAlign'];}};(0x0,react['useEffect'])(()=>{const _0x563221=_0x2c8c2f;var _0x4cec58;_0x47f308((_0x4cec58=_0x2dd2ae===null||_0x2dd2ae===void 0x0?void 0x0:_0x2dd2ae[_0x563221(0x200)])!==null&&_0x4cec58!==void 0x0?_0x4cec58:'');},[_0x2dd2ae===null||_0x2dd2ae===void 0x0?void 0x0:_0x2dd2ae[_0x2c8c2f(0x200)]]);const _0x21b9ce=useTranslatedOptions(_0x871fd5,legendLabelPositionOptions),_0x239158=useTranslatedOptions(_0x871fd5,titleOptions),_0x120171=useTranslatedOptions(_0x871fd5,legendSelectModeOptions),_0x5e0398=useTranslatedOptions(_0x871fd5,legendVisualMapTypeOptions),_0x1253f6=[_0x239158[0x0]],_0x5de724=useTranslatedOptions(_0x871fd5,titlePositionOptions),_0x120b82=useTranslatedOptions(_0x871fd5,axisTitlePositionOptions),_0x58a647=(_0x51e39e,_0x56a3c0)=>{const _0x3c18aa=_0x2c8c2f,_0x1c660c={'label':UNIVER_SHEET_CHART_FORMAT_DIALOG,'onPatternApply':_0x56a3c0,'originPattern':_0x51e39e};_0x58ba88[_0x3c18aa(0x499)]({'id':UNIVER_SHEET_CHART_FORMAT_DIALOG_ID,'title':{'title':_0x5115f6('dialog.setFormat')},'children':_0x1c660c,'width':0x258,'onClose':()=>{_0x58ba88['close'](UNIVER_SHEET_CHART_FORMAT_DIALOG_ID);}});},_0x1bfc9e=Boolean(_0x48219b&&_univerjs_pro_engine_chart['chartBitsUtils'][_0x2c8c2f(0x16c)](_0x48219b,_univerjs_pro_engine_chart[_0x2c8c2f(0x278)][_0x2c8c2f(0x4ea)])),_0x399e23=Boolean(_0x48219b&&_univerjs_pro_engine_chart[_0x2c8c2f(0x1bf)][_0x2c8c2f(0x16c)](_0x48219b,_univerjs_pro_engine_chart[_0x2c8c2f(0x278)][_0x2c8c2f(0x22f)])),_0x531b61=Boolean(_0x48219b&&_univerjs_pro_engine_chart[_0x2c8c2f(0x1bf)][_0x2c8c2f(0x16c)](_0x48219b,_univerjs_pro_engine_chart[_0x2c8c2f(0x278)][_0x2c8c2f(0x3f3)]));return(0x0,react_jsx_runtime[_0x2c8c2f(0x1f8)])(_0x2c8c2f(0x5bf),{'className':'','children':(0x0,react_jsx_runtime[_0x2c8c2f(0x1f8)])(_univerjs_design[_0x2c8c2f(0x342)],{'items':[{'label':(0x0,react_jsx_runtime[_0x2c8c2f(0x1f8)])(_0x2c8c2f(0x5bf),{'className':_0x2c8c2f(0x36e),'children':_0x5115f6(_0x2c8c2f(0x375))}),'children':(0x0,react_jsx_runtime['jsx'])(_0x2c8c2f(0x250),{'className':'univer-px-4\x20univer-pb-2.5\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':(0x0,react_jsx_runtime[_0x2c8c2f(0x5bb)])(_0x2c8c2f(0x5bf),{'className':_0x2c8c2f(0x385),'children':[(0x0,react_jsx_runtime['jsxs'])(_0x2c8c2f(0x5bf),{'className':'univer-flex\x20univer-flex-1\x20univer-flex-col\x20univer-justify-between','children':[(0x0,react_jsx_runtime['jsx'])(_0x2c8c2f(0x5bf),{'className':'univer-mb-2\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x5115f6('chart.backgroundColor')}),(0x0,react_jsx_runtime[_0x2c8c2f(0x1f8)])(ColorPickerControl,{'color':_0x224124,'onChange':_0x1c5ba8})]}),(0x0,react_jsx_runtime[_0x2c8c2f(0x5bb)])('div',{'className':_0x2c8c2f(0x394),'children':[(0x0,react_jsx_runtime[_0x2c8c2f(0x1f8)])(_0x2c8c2f(0x5bf),{'className':'univer-mb-2\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x5115f6(_0x2c8c2f(0x1d8))}),(0x0,react_jsx_runtime['jsx'])(ColorPickerControl,{'color':_0x818faa,'onChange':_0x42041f})]})]})})},{'label':(0x0,react_jsx_runtime[_0x2c8c2f(0x1f8)])(_0x2c8c2f(0x5bf),{'className':_0x2c8c2f(0x36e),'children':_0x5115f6('chart.chartAndAxisTitles')}),'children':(0x0,react_jsx_runtime['jsxs'])(_0x2c8c2f(0x250),{'children':[(0x0,react_jsx_runtime[_0x2c8c2f(0x5bb)])('div',{'className':'univer-px-4\x20univer-pb-2.5\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':[(0x0,react_jsx_runtime[_0x2c8c2f(0x1f8)])(_0x2c8c2f(0x5bf),{'className':_0x2c8c2f(0x5ae),'children':_0x5115f6(_0x2c8c2f(0x3f7))}),(0x0,react_jsx_runtime[_0x2c8c2f(0x1f8)])(_univerjs_design[_0x2c8c2f(0x2de)],{'className':_0x2c8c2f(0x4f6),'value':_0x324b9d,'options':_0x1bfc9e||_0x399e23||_0x2e09dc?_0x1253f6:_0x239158,'onChange':_0x29274c=>_0x5e7622(_0x29274c)})]}),(0x0,react_jsx_runtime['jsxs'])(_0x2c8c2f(0x5bf),{'className':'univer-px-4\x20univer-pb-2.5\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':[(0x0,react_jsx_runtime['jsx'])(_0x2c8c2f(0x5bf),{'className':_0x2c8c2f(0x5ae),'children':_0x5115f6('chart.titles.titleText')}),(0x0,react_jsx_runtime[_0x2c8c2f(0x1f8)])(_univerjs_design[_0x2c8c2f(0x5e0)],{'value':_0x3cbad0,'onChange':_0x47f308,'onFocus':()=>{const _0x3746d8=_0x2c8c2f;_0x1c6db3['setContextValue'](_univerjs_core[_0x3746d8(0x217)],!![]);},'onBlur':()=>{const _0x3d9f39=_0x2c8c2f;_0x1c6db3[_0x3d9f39(0x24f)](_univerjs_core[_0x3d9f39(0x217)],![]);if(_0x3cbad0!==(_0x2dd2ae===null||_0x2dd2ae===void 0x0?void 0x0:_0x2dd2ae[_0x3d9f39(0x200)]))_0xd6d034({'content':_0x3cbad0});}})]}),(0x0,react_jsx_runtime[_0x2c8c2f(0x1f8)])(_0x2c8c2f(0x5bf),{'className':'univer-px-4\x20univer-pb-2.5\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':(0x0,react_jsx_runtime[_0x2c8c2f(0x1f8)])(_0x2c8c2f(0x5bf),{'className':_0x2c8c2f(0x385),'children':(0x0,react_jsx_runtime[_0x2c8c2f(0x5bb)])(_0x2c8c2f(0x5bf),{'className':_0x2c8c2f(0x394),'children':[_0x324b9d===_0x2c8c2f(0x17e)&&(0x0,react_jsx_runtime[_0x2c8c2f(0x5bb)])(react_jsx_runtime['Fragment'],{'children':[(0x0,react_jsx_runtime[_0x2c8c2f(0x1f8)])(_0x2c8c2f(0x5bf),{'className':_0x2c8c2f(0x5ae),'children':_0x5115f6(_0x2c8c2f(0x49f))}),(0x0,react_jsx_runtime[_0x2c8c2f(0x1f8)])(_univerjs_design['Select'],{'className':_0x2c8c2f(0x4f6),'value':_0x5ca72a!==null&&_0x5ca72a!==void 0x0?_0x5ca72a:_univerjs_pro_engine_chart[_0x2c8c2f(0x491)][_0x2c8c2f(0x5f0)],'options':_0x5de724,'onChange':_0x5c4d74=>_0x11e142(_0x5c4d74)})]}),_0x324b9d!==_0x2c8c2f(0x17e)&&(0x0,react_jsx_runtime[_0x2c8c2f(0x5bb)])(react_jsx_runtime[_0x2c8c2f(0x185)],{'children':[(0x0,react_jsx_runtime[_0x2c8c2f(0x1f8)])('div',{'className':_0x2c8c2f(0x5ae),'children':_0x5115f6(_0x2c8c2f(0x263))}),(0x0,react_jsx_runtime[_0x2c8c2f(0x1f8)])(_univerjs_design[_0x2c8c2f(0x2de)],{'className':_0x2c8c2f(0x4f6),'value':(_0x1be9d6=_0x59ccd8())!==null&&_0x1be9d6!==void 0x0?_0x1be9d6:_univerjs_pro_engine_chart[_0x2c8c2f(0x491)]['axis']['titleAlign'],'options':_0x120b82,'onChange':_0x4582bf=>_0x3b3df8(_0x4582bf)})]})]})})}),(0x0,react_jsx_runtime['jsxs'])(_0x2c8c2f(0x5bf),{'className':'univer-px-4\x20univer-pb-2.5\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':[(0x0,react_jsx_runtime[_0x2c8c2f(0x1f8)])(_0x2c8c2f(0x5bf),{'className':_0x2c8c2f(0x5ae),'children':_0x5115f6(_0x2c8c2f(0x228))}),(0x0,react_jsx_runtime[_0x2c8c2f(0x1f8)])(_0x2c8c2f(0x5bf),{'className':_0x2c8c2f(0x50c),'children':(0x0,react_jsx_runtime[_0x2c8c2f(0x1f8)])(FontFormatBar,{'alignControl':_0x324b9d===_0x2c8c2f(0x17e),'localeService':_0x871fd5,..._0x2dd2ae,'onChange':(_0x23cca8,_0xd42eac)=>_0xd6d034({[_0x23cca8]:_0xd42eac})})})]})]})},_0x2e09dc&&{'label':(0x0,react_jsx_runtime[_0x2c8c2f(0x1f8)])(_0x2c8c2f(0x5bf),{'className':_0x2c8c2f(0x36e),'children':_0x5115f6('chart.cloud.title')}),'children':(0x0,react_jsx_runtime[_0x2c8c2f(0x1f8)])(WordCloudShapeSelector,{'service':_0x4046dc,'localeService':_0x871fd5})},!_0x2e09dc&&!_0x1bfc9e&&!_0x5aabd7&&!_0xb0bdb7&&!_0x531b61&&!_0x416b60&&!_0x279719&&!_0x57da20&&{'label':(0x0,react_jsx_runtime[_0x2c8c2f(0x1f8)])('div',{'className':_0x2c8c2f(0x36e),'children':_0x5115f6('chart.series')}),'children':(0x0,react_jsx_runtime[_0x2c8c2f(0x1f8)])(SeriesStyleEdit,{'chartType':_0x48219b,'service':_0x4046dc,'localeService':_0x871fd5})},_0x416b60&&{'label':(0x0,react_jsx_runtime[_0x2c8c2f(0x1f8)])(_0x2c8c2f(0x5bf),{'className':_0x2c8c2f(0x36e),'children':_0x5115f6('chart.pareto.barSeries')}),'children':(0x0,react_jsx_runtime[_0x2c8c2f(0x1f8)])(ParetoStyleEdit,{'service':_0x4046dc,'localeService':_0x871fd5,'isLineSeries':![]})},_0x416b60&&{'label':(0x0,react_jsx_runtime[_0x2c8c2f(0x1f8)])('div',{'className':_0x2c8c2f(0x36e),'children':_0x5115f6(_0x2c8c2f(0x45a))}),'children':(0x0,react_jsx_runtime[_0x2c8c2f(0x1f8)])(ParetoStyleEdit,{'service':_0x4046dc,'localeService':_0x871fd5,'isLineSeries':!![]})},_0x531b61&&{'label':(0x0,react_jsx_runtime[_0x2c8c2f(0x1f8)])(_0x2c8c2f(0x5bf),{'className':'univer-text-sm\x20univer-font-medium\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x5115f6('chart.series')}),'children':(0x0,react_jsx_runtime[_0x2c8c2f(0x1f8)])(WaterfallSeriesEdit,{'service':_0x4046dc,'localeService':_0x871fd5})},_0x1bfc9e&&{'label':(0x0,react_jsx_runtime[_0x2c8c2f(0x1f8)])(_0x2c8c2f(0x5bf),{'className':'univer-text-sm\x20univer-font-medium\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x5115f6(_0x2c8c2f(0x189))}),'children':(0x0,react_jsx_runtime[_0x2c8c2f(0x1f8)])(PieChartStyleEdit,{'chartType':_0x48219b,'service':_0x4046dc,'localeService':_0x871fd5,'onChartTypeChange':_0x243491})},!_0x2e09dc&&!_0x279719&&{'label':(0x0,react_jsx_runtime[_0x2c8c2f(0x1f8)])(_0x2c8c2f(0x5bf),{'className':_0x2c8c2f(0x36e),'children':_0x5115f6('chart.legend')}),'children':(0x0,react_jsx_runtime[_0x2c8c2f(0x5bb)])(_0x2c8c2f(0x250),{'children':[(0x0,react_jsx_runtime[_0x2c8c2f(0x5bb)])(_0x2c8c2f(0x5bf),{'className':_0x2c8c2f(0x173),'children':[(0x0,react_jsx_runtime[_0x2c8c2f(0x1f8)])(_0x2c8c2f(0x5bf),{'className':_0x2c8c2f(0x5ae),'children':_0x5115f6(_0x2c8c2f(0x482))}),(0x0,react_jsx_runtime[_0x2c8c2f(0x1f8)])(_univerjs_design[_0x2c8c2f(0x2de)],{'className':_0x2c8c2f(0x4f6),'value':(_0x5c5fe6===null||_0x5c5fe6===void 0x0?void 0x0:_0x5c5fe6[_0x2c8c2f(0x4c3)])||_univerjs_pro_engine_chart['defaultChartConfig'][_0x2c8c2f(0x285)][_0x2c8c2f(0x4c3)],'onChange':_0x4b86a2=>_0x5ec165({..._0x5c5fe6,'position':_0x4b86a2}),'options':_0x21b9ce})]}),(0x0,react_jsx_runtime[_0x2c8c2f(0x5bb)])(_0x2c8c2f(0x5bf),{'className':'univer-px-4\x20univer-pb-2.5\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':[(0x0,react_jsx_runtime[_0x2c8c2f(0x1f8)])(_0x2c8c2f(0x5bf),{'className':'univer-mb-2\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x5115f6(_0x2c8c2f(0x361))}),!_0x57da20&&(0x0,react_jsx_runtime[_0x2c8c2f(0x1f8)])(_univerjs_design['Select'],{'className':'univer-w-full\x20!univer-min-w-0','value':(_0x5c5fe6===null||_0x5c5fe6===void 0x0?void 0x0:_0x5c5fe6[_0x2c8c2f(0x500)])||_univerjs_pro_engine_chart[_0x2c8c2f(0x491)]['legend'][_0x2c8c2f(0x500)],'onChange':_0x1245e9=>_0x5ec165({..._0x5c5fe6,'selectMode':_0x1245e9}),'options':_0x120171}),_0x57da20&&(0x0,react_jsx_runtime['jsx'])(_univerjs_design[_0x2c8c2f(0x2de)],{'className':'univer-w-full\x20!univer-min-w-0','value':_0x210f52||_univerjs_pro_engine_chart[_0x2c8c2f(0x491)][_0x2c8c2f(0x1fd)][_0x2c8c2f(0x256)],'onChange':_0x9bd7a3=>_0x4edc26(_0x9bd7a3),'options':_0x5e0398})]}),!_0x57da20&&(0x0,react_jsx_runtime[_0x2c8c2f(0x5bb)])(_0x2c8c2f(0x5bf),{'className':_0x2c8c2f(0x173),'children':[(0x0,react_jsx_runtime['jsx'])(_0x2c8c2f(0x5bf),{'className':_0x2c8c2f(0x5ae),'children':_0x5115f6(_0x2c8c2f(0x228))}),(0x0,react_jsx_runtime[_0x2c8c2f(0x1f8)])(FontFormatBar,{..._0x5c5fe6===null||_0x5c5fe6===void 0x0?void 0x0:_0x5c5fe6[_0x2c8c2f(0x31a)],'localeService':_0x871fd5,'fontSize':(_0x24e5b=_0x5c5fe6===null||_0x5c5fe6===void 0x0||(_0x416a14=_0x5c5fe6[_0x2c8c2f(0x31a)])===null||_0x416a14===void 0x0?void 0x0:_0x416a14['fontSize'])!==null&&_0x24e5b!==void 0x0?_0x24e5b:_univerjs_pro_engine_chart[_0x2c8c2f(0x491)][_0x2c8c2f(0x54d)][_0x2c8c2f(0x3fe)],'color':(_0x25ea92=_0x5c5fe6===null||_0x5c5fe6===void 0x0||(_0x592d96=_0x5c5fe6[_0x2c8c2f(0x31a)])===null||_0x592d96===void 0x0?void 0x0:_0x592d96[_0x2c8c2f(0x571)])!==null&&_0x25ea92!==void 0x0?_0x25ea92:_univerjs_pro_engine_chart[_0x2c8c2f(0x491)]['textStyle'][_0x2c8c2f(0x571)],'onChange':(_0x554696,_0x5ecc8d)=>_0x5ec165({'label':{[_0x554696]:_0x5ecc8d}})})]})]})},!_0x2e09dc&&!_0x1bfc9e&&!_0x399e23&&!_0x5e8f93&&!_0xb0bdb7&&!_0x279719&&!_0x57da20&&{'label':(0x0,react_jsx_runtime[_0x2c8c2f(0x1f8)])('div',{'className':'univer-text-sm\x20univer-font-medium\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x5115f6(_0x2c8c2f(0x2a0))}),'children':(0x0,react_jsx_runtime[_0x2c8c2f(0x5bb)])('section',{'className':_0x2c8c2f(0x173),'children':[(0x0,react_jsx_runtime[_0x2c8c2f(0x1f8)])(AxisOptionsEdit,{'localeService':_0x871fd5,'sheetsChartUIService':_0x4046dc,'axisOptions':_0x1d277d,'canUseDateAxis':_0x48219b!==_univerjs_pro_engine_chart['ChartTypeBits'][_0x2c8c2f(0x1c0)]&&_0x48219b!==_univerjs_pro_engine_chart['ChartTypeBits']['Waterfall'],'valueAxis':_0x511e65||(_0x15bcdf===null||_0x15bcdf===void 0x0||(_0x4e5ef3=_0x15bcdf[_univerjs_pro_engine_chart[_0x2c8c2f(0x2a5)][_0x2c8c2f(0x55f)]])===null||_0x4e5ef3===void 0x0?void 0x0:_0x4e5ef3[_0x2c8c2f(0x448)])===_univerjs_pro_engine_chart['AxisValueType'][_0x2c8c2f(0x589)],'onChange':_0x4d30a0}),(0x0,react_jsx_runtime[_0x2c8c2f(0x1f8)])(_univerjs_design[_0x2c8c2f(0x5ee)],{'className':'','size':_0x2c8c2f(0x404),'onClick':()=>{_0x58a647(_0x1d277d===null||_0x1d277d===void 0x0?void 0x0:_0x1d277d['format'],_0x417b5e=>{_0x4d30a0({'format':_0x417b5e});});},'children':_0x5115f6(_0x2c8c2f(0x167))})]})},!_0x2e09dc&&!_0x1bfc9e&&!_0x399e23&&!_0x5e8f93&&!_0xb0bdb7&&!_0x279719&&!_0x57da20&&{'label':(0x0,react_jsx_runtime[_0x2c8c2f(0x1f8)])(_0x2c8c2f(0x5bf),{'className':_0x2c8c2f(0x36e),'children':_0x5115f6(_0x2c8c2f(0x2e0))}),'children':(0x0,react_jsx_runtime['jsxs'])(_0x2c8c2f(0x250),{'className':_0x2c8c2f(0x173),'children':[(0x0,react_jsx_runtime[_0x2c8c2f(0x1f8)])(AxisOptionsEdit,{'localeService':_0x871fd5,'sheetsChartUIService':_0x4046dc,'axisOptions':_0x5e18a5,'canUseDateAxis':![],'valueAxis':(_0x15bcdf===null||_0x15bcdf===void 0x0||(_0x3e1a66=_0x15bcdf[_univerjs_pro_engine_chart[_0x2c8c2f(0x2a5)][_0x2c8c2f(0x52e)]])===null||_0x3e1a66===void 0x0?void 0x0:_0x3e1a66[_0x2c8c2f(0x448)])===_univerjs_pro_engine_chart['AxisValueType'][_0x2c8c2f(0x589)],'onChange':_0x2cfa18}),(_0x15bcdf===null||_0x15bcdf===void 0x0||(_0x1007ae=_0x15bcdf[_univerjs_pro_engine_chart['IRuntimeAxisPosition'][_0x2c8c2f(0x52e)]])===null||_0x1007ae===void 0x0?void 0x0:_0x1007ae['type'])===_univerjs_pro_engine_chart[_0x2c8c2f(0x5a5)]['Numeric']&&(0x0,react_jsx_runtime[_0x2c8c2f(0x1f8)])(_univerjs_design[_0x2c8c2f(0x5ee)],{'className':'','size':_0x2c8c2f(0x404),'onClick':()=>{_0x58a647(_0x5e18a5===null||_0x5e18a5===void 0x0?void 0x0:_0x5e18a5['format'],_0x37cd46=>{_0x2cfa18({'format':_0x37cd46});});},'children':_0x5115f6(_0x2c8c2f(0x167))})]})},!_0x2e09dc&&_0x112c4c&&!_0xb0bdb7&&!_0x279719&&!_0x57da20&&{'label':(0x0,react_jsx_runtime[_0x2c8c2f(0x1f8)])(_0x2c8c2f(0x5bf),{'className':_0x2c8c2f(0x36e),'children':_0x5115f6('chart.axes.rightVerticalAxis')}),'children':(0x0,react_jsx_runtime['jsxs'])(_0x2c8c2f(0x250),{'className':_0x2c8c2f(0x173),'children':[(0x0,react_jsx_runtime[_0x2c8c2f(0x1f8)])(AxisOptionsEdit,{'localeService':_0x871fd5,'sheetsChartUIService':_0x4046dc,'canUseDateAxis':![],'axisOptions':_0x5dc0f0,'onChange':_0x187d8c,'valueAxis':!![]}),(_0x15bcdf===null||_0x15bcdf===void 0x0||(_0x560c23=_0x15bcdf[_univerjs_pro_engine_chart[_0x2c8c2f(0x2a5)]['Right']])===null||_0x560c23===void 0x0?void 0x0:_0x560c23['type'])===_univerjs_pro_engine_chart[_0x2c8c2f(0x5a5)][_0x2c8c2f(0x589)]&&(0x0,react_jsx_runtime[_0x2c8c2f(0x1f8)])(_univerjs_design[_0x2c8c2f(0x5ee)],{'className':'','size':'small','onClick':()=>{const _0x37cec0=_0x2c8c2f;_0x58a647(_0x5dc0f0===null||_0x5dc0f0===void 0x0?void 0x0:_0x5dc0f0[_0x37cec0(0x30d)],_0x34d63c=>{_0x187d8c({'format':_0x34d63c});});},'children':_0x5115f6('dialog.setFormat')})]})},!_0x2e09dc&&!_0x1bfc9e&&!_0x399e23&&!_0xb0bdb7&&!_0x5e8f93&&!_0x279719&&!_0x57da20&&{'label':(0x0,react_jsx_runtime[_0x2c8c2f(0x1f8)])(_0x2c8c2f(0x5bf),{'className':'univer-text-sm\x20univer-font-medium\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x5115f6(_0x2c8c2f(0x569))}),'children':(0x0,react_jsx_runtime[_0x2c8c2f(0x1f8)])(_0x2c8c2f(0x250),{'className':_0x2c8c2f(0x173),'children':(0x0,react_jsx_runtime[_0x2c8c2f(0x1f8)])(GridLineAndTickOptions,{'service':_0x4046dc,'localeService':_0x871fd5,'className':_0x2c8c2f(0x4ff),'runtimeAxes':_0x4ea2c6})})},!_0x2e09dc&&!_0xb0bdb7&&!_0x1bfc9e&&!_0x5e8f93&&!_0x279719&&{'label':(0x0,react_jsx_runtime[_0x2c8c2f(0x1f8)])(_0x2c8c2f(0x5bf),{'className':_0x2c8c2f(0x36e),'children':_0x5115f6(_0x2c8c2f(0x56d))}),'children':(0x0,react_jsx_runtime[_0x2c8c2f(0x1f8)])(_0x2c8c2f(0x250),{'className':_0x2c8c2f(0x173),'children':(0x0,react_jsx_runtime['jsx'])(IndicatorLine,{'localeService':_0x871fd5,'indicatorLabelColor':(_0x534ad9===null||_0x534ad9===void 0x0?void 0x0:_0x534ad9[_0x2c8c2f(0x5a2)])||_univerjs_pro_engine_chart[_0x2c8c2f(0x491)]['tooltipAxisLabelBackground'],'indicatorLineType':(_0x534ad9===null||_0x534ad9===void 0x0?void 0x0:_0x534ad9[_0x2c8c2f(0x1a2)])||_univerjs_pro_engine_chart[_0x2c8c2f(0x491)]['indicatorLineType'],'indicatorLabelTextColor':(_0x534ad9===null||_0x534ad9===void 0x0?void 0x0:_0x534ad9[_0x2c8c2f(0x558)])||_univerjs_pro_engine_chart[_0x2c8c2f(0x491)]['tooltipAxisLabelColor'],'indicatorLineColor':(_0x534ad9===null||_0x534ad9===void 0x0?void 0x0:_0x534ad9[_0x2c8c2f(0x40c)])||(_0x24d5f2===null||_0x24d5f2===void 0x0||(_0x3b4443=_0x24d5f2['theme'])===null||_0x3b4443===void 0x0?void 0x0:_0x3b4443[_0x2c8c2f(0x34e)]),'onChange':_0x573e62=>{_0x4b4649(_0x573e62);}})})},_0x196cca&&_0x2cd32a&&{'label':(0x0,react_jsx_runtime[_0x2c8c2f(0x1f8)])(_0x2c8c2f(0x5bf),{'className':_0x2c8c2f(0x36e),'children':_0x5115f6(_0x2c8c2f(0x5c1))}),'children':(0x0,react_jsx_runtime[_0x2c8c2f(0x1f8)])(TrendLineStyleEdit,{'localeService':_0x871fd5,'uiService':_0x4046dc})},_0xb0bdb7&&{'label':(0x0,react_jsx_runtime[_0x2c8c2f(0x1f8)])('div',{'className':_0x2c8c2f(0x36e),'children':_0x5115f6('chart.relation.title')}),'children':(0x0,react_jsx_runtime['jsx'])(_0x2c8c2f(0x250),{'className':'univer-px-4\x20univer-pb-2.5\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':(0x0,react_jsx_runtime[_0x2c8c2f(0x1f8)])(RelationEdit,{'service':_0x4046dc,'localeService':_0x871fd5})})}][_0x2c8c2f(0x5b4)](Boolean)})});};function ChartEditPanel(_0x215f0d){const _0x3f1f01=_0x94e517,{className:_0xdaf77}=_0x215f0d,[_0x4b0324,_0x1f3391]=(0x0,react[_0x3f1f01(0x348)])(0x0),_0x40dd30=(0x0,_univerjs_ui[_0x3f1f01(0x4c1)])(_univerjs_core['LocaleService']);return(0x0,react_jsx_runtime['jsxs'])(_0x3f1f01(0x5bf),{'className':(0x0,_univerjs_design[_0x3f1f01(0x233)])('univer-size-full',_0xdaf77),'children':[(0x0,react_jsx_runtime[_0x3f1f01(0x5bb)])('div',{'className':'univer-flex\x20univer-items-center\x20univer-border-b\x20univer-border-gray-200','children':[(0x0,react_jsx_runtime['jsxs'])(_0x3f1f01(0x5bf),{'className':(0x0,_univerjs_design[_0x3f1f01(0x233)])(_0x3f1f01(0x5eb),_0x4b0324===0x0?_0x3f1f01(0x5ef):_0x3f1f01(0x190)),'onClick':()=>_0x1f3391(0x0),'children':[_0x40dd30['t'](_0x3f1f01(0x1e8)),(0x0,react_jsx_runtime['jsx'])(_0x3f1f01(0x5bf),{'className':(0x0,_univerjs_design['clsx'])(_0x3f1f01(0x2dc),{'univer-bg-primary-600':_0x4b0324===0x0,'univer-bg-transparent':_0x4b0324!==0x0})})]}),(0x0,react_jsx_runtime[_0x3f1f01(0x5bb)])(_0x3f1f01(0x5bf),{'className':(0x0,_univerjs_design[_0x3f1f01(0x233)])(_0x3f1f01(0x5eb),{'univer-text-primary-600':_0x4b0324===0x1,'univer-text-gray-500':_0x4b0324!==0x1}),'onClick':()=>_0x1f3391(0x1),'children':[_0x40dd30['t'](_0x3f1f01(0x273)),(0x0,react_jsx_runtime[_0x3f1f01(0x1f8)])(_0x3f1f01(0x5bf),{'className':(0x0,_univerjs_design[_0x3f1f01(0x233)])(_0x3f1f01(0x50e),{'univer-bg-primary-600':_0x4b0324===0x1,'univer-bg-transparent':_0x4b0324!==0x1})})]})]}),(0x0,react_jsx_runtime[_0x3f1f01(0x1f8)])(_0x3f1f01(0x5bf),{'className':'univer-flex-1\x20univer-overflow-auto','children':_0x4b0324===0x0?(0x0,react_jsx_runtime[_0x3f1f01(0x1f8)])(DataTabPanel,{}):(0x0,react_jsx_runtime[_0x3f1f01(0x1f8)])(StyleTabPanel,{})})]});}const getCurrencyType=_0x578779=>{const _0x159911=_0x94e517;return currencySymbols[_0x159911(0x178)](_0x79529b=>_0x578779[_0x159911(0x244)](_0x79529b));},isGeneralPanel=_0x59a3db=>!_0x59a3db,isAccountingPanel=_0x46e72c=>{const _0x5b37ef=_0x94e517;return!!getCurrencyType(_0x46e72c)&&_0x46e72c[_0x5b37ef(0x214)]('_(');},isCurrencyPanel=_0x1435ce=>{const _0x5b8392=_0x94e517;return!!getCurrencyType(_0x1435ce)&&!_0x1435ce[_0x5b8392(0x214)]('_(');},getDecimalFromPattern=(_0x1b8831,_0x56fcdc=0x0)=>{const _0x423c92=_0x94e517;var _0x7e9638;if(!_0x1b8831)return _0x56fcdc;return(_0x7e9638=_univerjs_core[_0x423c92(0x1a8)][_0x423c92(0x44b)](_0x1b8831)[_0x423c92(0x264)])!==null&&_0x7e9638!==void 0x0?_0x7e9638:_0x56fcdc;},getDecimalString=_0x55cc41=>new Array(Math[_0x94e517(0x5c7)](Math[_0x94e517(0x268)](0x0,Number(_0x55cc41)),0x1e))[_0x94e517(0x5be)](0x0)[_0x94e517(0x1aa)](''),setPatternDecimal=(_0x51da60,_0x30de9f)=>{const _0x4b286b=_0x94e517;return _0x51da60['split'](';')[_0x4b286b(0x1f1)](_0x58530b=>{const _0x17a0a0=_0x4b286b;if(/\.0?/[_0x17a0a0(0x210)](_0x58530b))return _0x58530b['replace'](/\.0*/g,''+(_0x30de9f>0x0?'.':'')+getDecimalString(Number(_0x30de9f||0x0)));if(/0[^0]?/[_0x17a0a0(0x210)](_0x58530b))return _0x58530b[_0x17a0a0(0x246)](/0[^0]+|0$/,'0'+(_0x30de9f>0x0?'.':'')+getDecimalString(Number(_0x30de9f||0x0)));return _0x58530b;})[_0x4b286b(0x1aa)](';');},getNumberFormatOptions=()=>ThousandsSeparatorFormatList['map'](_0x42092b=>({'label':_0x42092b[_0x94e517(0x31a)],'value':_0x42092b['suffix'],'color':_0x42092b[_0x94e517(0x571)]})),isThousandthPercentilePanel=_0x3f6667=>getNumberFormatOptions()[_0x94e517(0x283)](_0x106284=>(0x0,_univerjs_core[_0x94e517(0x1a9)])(_0x106284[_0x94e517(0x46a)],_0x3f6667)),getDateFormatOptions=()=>DateFormatList[_0x94e517(0x1f1)](_0x4c9f4f=>({'label':_0x4c9f4f[_0x94e517(0x31a)],'value':_0x4c9f4f[_0x94e517(0x5d4)]})),isDatePanel=_0x209c9b=>{const _0xba2ab=_0x94e517,_0x8664c2=_univerjs_core[_0xba2ab(0x1a8)]['getFormatInfo'](_0x209c9b);return getDateFormatOptions()[_0xba2ab(0x1f1)](_0x2f8e0c=>_0x2f8e0c[_0xba2ab(0x46a)])[_0xba2ab(0x244)](_0x209c9b)||['date',_0xba2ab(0x338),_0xba2ab(0x476)]['includes'](_0x8664c2['type']);},GeneralPanel=({handlePatternChange:_0x5185e7})=>{const _0x18ab2c=_0x94e517,_0x58ccb3=(0x0,_univerjs_ui['useDependency'])(_univerjs_core[_0x18ab2c(0x4e1)])['t'];return(0x0,react[_0x18ab2c(0x2d4)])(()=>{_0x5185e7('');},[]),(0x0,react_jsx_runtime[_0x18ab2c(0x1f8)])(_0x18ab2c(0x5bf),{'className':_0x18ab2c(0x4f0),'children':_0x58ccb3('dialog.numfmt.generalDesc')});},AccountingPanel=({originPattern:_0x2e645c,handlePatternChange:_0x208699})=>{const _0x4f1715=_0x94e517,_0x4377a0=(0x0,_univerjs_ui['useDependency'])(_univerjs_core['LocaleService'])['t'],_0x5b760a=currencySymbols['map'](_0x34fec8=>({'label':_0x34fec8,'value':_0x34fec8})),[_0x4901ee,_0x5874dd]=(0x0,react[_0x4f1715(0x348)])(()=>getDecimalFromPattern(_0x2e645c||'',0x2)),[_0x344e6b,_0x351fcc]=(0x0,react[_0x4f1715(0x348)])(()=>{return getCurrencyType(_0x2e645c!==null&&_0x2e645c!==void 0x0?_0x2e645c:'')||_0x5b760a[0x0]['value'];}),_0x142c2b=_0x2031ac=>{const _0x45aa72=_0x4f1715,_0x50714a=_0x2031ac!==null&&_0x2031ac!==void 0x0?_0x2031ac:0x0;_0x5874dd(_0x50714a),_0x208699(setPatternDecimal(_0x45aa72(0x374)+_0x344e6b+_0x45aa72(0x411)+(_0x50714a>0x0?'.0':'')+'_)',_0x50714a));},_0x57e630=_0x25413c=>{const _0x4eaec0=_0x4f1715;_0x351fcc(_0x25413c),_0x208699(setPatternDecimal('_(\x22'+_0x25413c+_0x4eaec0(0x411)+(_0x4901ee>0x0?'.0':'')+'_)',_0x4901ee));};return(0x0,react['useEffect'])(()=>{_0x208699(setPatternDecimal('_(\x22'+_0x344e6b+'\x22*\x20#,##0'+(_0x4901ee>0x0?'.0':'')+'_)',_0x4901ee));},[]),(0x0,react_jsx_runtime[_0x4f1715(0x5bb)])(_0x4f1715(0x5bf),{'className':'univer-mt-2.5','children':[(0x0,react_jsx_runtime['jsxs'])(_0x4f1715(0x5bf),{'className':_0x4f1715(0x488),'children':[(0x0,react_jsx_runtime[_0x4f1715(0x5bb)])('div',{'className':_0x4f1715(0x5e3),'children':[(0x0,react_jsx_runtime[_0x4f1715(0x1f8)])(_0x4f1715(0x5bf),{'className':_0x4f1715(0x334),'children':_0x4377a0('dialog.numfmt.decimalPlaces')}),(0x0,react_jsx_runtime[_0x4f1715(0x1f8)])(_univerjs_design[_0x4f1715(0x4e9)],{'className':_0x4f1715(0x54a),'value':_0x4901ee,'max':0x14,'min':0x0,'onChange':_0x142c2b})]}),(0x0,react_jsx_runtime['jsxs'])(_0x4f1715(0x5bf),{'className':_0x4f1715(0x5e3),'children':[(0x0,react_jsx_runtime['jsx'])(_0x4f1715(0x5bf),{'className':_0x4f1715(0x334),'children':_0x4377a0(_0x4f1715(0x18d))}),(0x0,react_jsx_runtime['jsx'])(_univerjs_design[_0x4f1715(0x2de)],{'options':_0x5b760a,'value':_0x344e6b,'onChange':_0x57e630})]})]}),(0x0,react_jsx_runtime[_0x4f1715(0x1f8)])('div',{'className':'univer-mt-1.5\x20univer-text-sm\x20univer-leading-5\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x4377a0(_0x4f1715(0x2d6))})]});},CurrencyPanel=({originPattern:_0x5e3c2a,handlePatternChange:_0x4d6309})=>{const _0x208292=_0x94e517,_0x489cc2=(0x0,_univerjs_ui['useDependency'])(_univerjs_core[_0x208292(0x4e1)])['t'],_0x178695=currencySymbols[_0x208292(0x1f1)](_0x240c8f=>({'label':_0x240c8f,'value':_0x240c8f})),[_0x158bff,_0x6f1418]=(0x0,react['useState'])(()=>getDecimalFromPattern(_0x5e3c2a||'',0x2)),[_0x121d55,_0xe689d5]=(0x0,react['useState'])(()=>getCurrencyType(_0x5e3c2a!==null&&_0x5e3c2a!==void 0x0?_0x5e3c2a:'')||_0x178695[0x0]['value']),_0x104478=CurrencyFormatList[_0x208292(0x1f1)](_0x22494f=>({'label':_0x22494f['label'](_0x121d55),'value':_0x22494f[_0x208292(0x5d4)](_0x121d55),'color':_0x22494f[_0x208292(0x571)]})),[_0x2b8d44,_0x3bdcfa]=(0x0,react[_0x208292(0x348)])(()=>{const _0x3a08e1=_0x208292;var _0x2cb791;return((_0x2cb791=_0x104478[_0x3a08e1(0x178)](_0x27a929=>(0x0,_univerjs_core[_0x3a08e1(0x1a9)])(_0x27a929[_0x3a08e1(0x46a)],_0x5e3c2a!==null&&_0x5e3c2a!==void 0x0?_0x5e3c2a:'')))===null||_0x2cb791===void 0x0?void 0x0:_0x2cb791['value'])||_0x104478[0x0][_0x3a08e1(0x46a)];}),_0x1fd4fc=_0x5ca2cb=>{_0x5ca2cb&&(_0x6f1418(_0x5ca2cb),_0x4d6309(setPatternDecimal(_0x2b8d44,_0x5ca2cb)));},_0x300019=_0x859a23=>{const _0x5da108=_0x208292;_0xe689d5(_0x859a23);const _0x342c68=CurrencyFormatList[_0x5da108(0x1f1)](_0x5163b3=>({'label':_0x5163b3[_0x5da108(0x31a)](_0x859a23),'value':_0x5163b3['suffix'](_0x859a23),'color':_0x5163b3[_0x5da108(0x571)]}));_0x3bdcfa(_0x342c68[0x0][_0x5da108(0x46a)]),_0x4d6309(setPatternDecimal(_0x342c68[0x0][_0x5da108(0x46a)],_0x158bff));},_0x4c5ca7=_0x41d7a0=>{_0x3bdcfa(_0x41d7a0),_0x4d6309(setPatternDecimal(_0x41d7a0,_0x158bff));};return(0x0,react['useEffect'])(()=>{_0x4d6309(setPatternDecimal(_0x2b8d44,_0x158bff));},[]),(0x0,react_jsx_runtime['jsxs'])(_0x208292(0x5bf),{'className':_0x208292(0x33e),'children':[(0x0,react_jsx_runtime[_0x208292(0x5bb)])(_0x208292(0x5bf),{'className':_0x208292(0x488),'children':[(0x0,react_jsx_runtime['jsxs'])(_0x208292(0x5bf),{'className':'univer-w-[136px]','children':[(0x0,react_jsx_runtime[_0x208292(0x1f8)])(_0x208292(0x5bf),{'className':_0x208292(0x334),'children':_0x489cc2('dialog.numfmt.decimalPlaces')}),(0x0,react_jsx_runtime[_0x208292(0x1f8)])(_univerjs_design[_0x208292(0x4e9)],{'className':_0x208292(0x54a),'value':_0x158bff,'max':0x14,'min':0x0,'onChange':_0x1fd4fc})]}),(0x0,react_jsx_runtime[_0x208292(0x5bb)])('div',{'className':_0x208292(0x5e3),'children':[(0x0,react_jsx_runtime[_0x208292(0x1f8)])(_0x208292(0x5bf),{'className':'univer-mb-2\x20univer-text-sm\x20univer-font-medium','children':_0x489cc2(_0x208292(0x18d))}),(0x0,react_jsx_runtime[_0x208292(0x1f8)])(_univerjs_design[_0x208292(0x2de)],{'options':_0x178695,'value':_0x121d55,'onChange':_0x300019})]})]}),(0x0,react_jsx_runtime[_0x208292(0x5bb)])('div',{'className':_0x208292(0x4ff),'children':[(0x0,react_jsx_runtime[_0x208292(0x1f8)])('div',{'className':_0x208292(0x334),'children':_0x489cc2('dialog.numfmt.negativeNumberTypes')}),(0x0,react_jsx_runtime[_0x208292(0x1f8)])(_univerjs_design[_0x208292(0x2a4)],{'className':(0x0,_univerjs_design[_0x208292(0x233)])(_0x208292(0x41b),_univerjs_design[_0x208292(0x48f)]),'options':_0x104478,'value':_0x2b8d44,'onChange':_0x4c5ca7}),(0x0,react_jsx_runtime['jsx'])('div',{'className':'univer-mt-1.5\x20univer-text-sm\x20univer-leading-5\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x489cc2(_0x208292(0x532))})]})]});},DatePanel=({originPattern:_0x2fbd34,handlePatternChange:_0x1c7e4b})=>{const _0x2eb1c9=_0x94e517,_0x43d10d=(0x0,_univerjs_ui[_0x2eb1c9(0x4c1)])(_univerjs_core[_0x2eb1c9(0x4e1)])['t'],_0x160fed=DateFormatList[_0x2eb1c9(0x1f1)](_0x15baf2=>({'label':_0x15baf2[_0x2eb1c9(0x31a)],'value':_0x15baf2[_0x2eb1c9(0x5d4)]})),[_0x4c12fc,_0x4703a1]=(0x0,react[_0x2eb1c9(0x348)])(()=>{const _0x4d6050=_0x2eb1c9;if(_0x2fbd34){const _0x313b75=_0x160fed[_0x4d6050(0x178)](_0x23368a=>_0x23368a['value']===_0x2fbd34);if(_0x313b75)return _0x313b75['value'];}return _0x160fed[0x0][_0x4d6050(0x46a)];}),_0x537040=_0x4528ba=>{_0x4703a1(_0x4528ba),_0x1c7e4b(_0x4528ba);};return(0x0,react[_0x2eb1c9(0x2d4)])(()=>{_0x1c7e4b(_0x4c12fc);},[]),(0x0,react_jsx_runtime[_0x2eb1c9(0x1f8)])(_0x2eb1c9(0x5bf),{'className':_0x2eb1c9(0x33e),'children':(0x0,react_jsx_runtime[_0x2eb1c9(0x5bb)])(_0x2eb1c9(0x5bf),{'className':'univer-mt-2','children':[(0x0,react_jsx_runtime[_0x2eb1c9(0x1f8)])(_0x2eb1c9(0x5bf),{'className':_0x2eb1c9(0x334),'children':_0x43d10d(_0x2eb1c9(0x377))}),(0x0,react_jsx_runtime[_0x2eb1c9(0x1f8)])(_0x2eb1c9(0x5bf),{'children':(0x0,react_jsx_runtime[_0x2eb1c9(0x1f8)])(_univerjs_design[_0x2eb1c9(0x2a4)],{'className':(0x0,_univerjs_design[_0x2eb1c9(0x233)])(_0x2eb1c9(0x41b),_univerjs_design[_0x2eb1c9(0x48f)]),'options':_0x160fed,'value':_0x4c12fc,'onChange':_0x537040})}),(0x0,react_jsx_runtime['jsx'])('div',{'className':'univer-mt-1.5\x20univer-text-sm\x20univer-leading-5\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x43d10d(_0x2eb1c9(0x29d))})]})});},ThousandthPercentilePanel=({originPattern:_0x1690b9,handlePatternChange:_0x5a2396})=>{const _0x162776=_0x94e517,_0x533d1f=(0x0,_univerjs_ui[_0x162776(0x4c1)])(_univerjs_core[_0x162776(0x4e1)])['t'],[_0x56522a,_0x38e77d]=(0x0,react[_0x162776(0x348)])(()=>getDecimalFromPattern(_0x1690b9||'',0x0)),_0x43187a=ThousandsSeparatorFormatList['map'](_0x33f878=>({'label':_0x33f878[_0x162776(0x31a)],'value':_0x33f878[_0x162776(0x5d4)],'color':_0x33f878['color']})),[_0x358619,_0x1135db]=(0x0,react[_0x162776(0x348)])(()=>{const _0x314f63=_0x162776,_0x15b987=_0x43187a['find'](_0x1e85d7=>(0x0,_univerjs_core[_0x314f63(0x1a9)])(_0x1e85d7[_0x314f63(0x46a)],_0x1690b9||''));return(_0x15b987===null||_0x15b987===void 0x0?void 0x0:_0x15b987[_0x314f63(0x46a)])||_0x43187a[0x0][_0x314f63(0x46a)];}),_0x3f05ab=_0x39b151=>{_0x39b151&&(_0x38e77d(_0x39b151),_0x5a2396(setPatternDecimal(_0x358619,Number(_0x39b151))));},_0x9b0e=_0x6fa778=>{_0x38e77d(getDecimalFromPattern(_0x6fa778,0x0)),_0x1135db(_0x6fa778),_0x5a2396(_0x6fa778);};return(0x0,react[_0x162776(0x2d4)])(()=>{_0x5a2396(setPatternDecimal(_0x358619,Number(_0x56522a||0x0)));},[]),(0x0,react_jsx_runtime[_0x162776(0x5bb)])(_0x162776(0x5bf),{'className':_0x162776(0x33e),'children':[(0x0,react_jsx_runtime[_0x162776(0x1f8)])(_0x162776(0x5bf),{'className':_0x162776(0x488),'children':(0x0,react_jsx_runtime[_0x162776(0x5bb)])('div',{'className':_0x162776(0x5e3),'children':[(0x0,react_jsx_runtime[_0x162776(0x1f8)])(_0x162776(0x5bf),{'className':_0x162776(0x334),'children':_0x533d1f(_0x162776(0x274))}),(0x0,react_jsx_runtime['jsx'])(_univerjs_design['InputNumber'],{'className':_0x162776(0x54a),'value':_0x56522a,'max':0x14,'min':0x0,'onChange':_0x3f05ab})]})}),(0x0,react_jsx_runtime[_0x162776(0x5bb)])(_0x162776(0x5bf),{'className':'univer-mt-2','children':[(0x0,react_jsx_runtime['jsx'])(_0x162776(0x5bf),{'className':_0x162776(0x334),'children':_0x533d1f(_0x162776(0x469))}),(0x0,react_jsx_runtime[_0x162776(0x1f8)])(_univerjs_design['SelectList'],{'className':(0x0,_univerjs_design[_0x162776(0x233)])('univer-rounded-lg\x20univer-p-2',_univerjs_design[_0x162776(0x48f)]),'options':_0x43187a,'value':_0x358619,'onChange':_0x9b0e}),(0x0,react_jsx_runtime[_0x162776(0x1f8)])(_0x162776(0x5bf),{'className':_0x162776(0x4f0),'children':_0x533d1f(_0x162776(0x511))})]})]});},ChartNumfmtDialog=({originPattern:_0x4a5fce,onPatternApply:_0x3f5ad6})=>{const _0x18d8fd=_0x94e517,_0x4d10ef=(0x0,_univerjs_ui[_0x18d8fd(0x4c1)])(_univerjs_core[_0x18d8fd(0x4e1)]),_0x2bbd39=(0x0,_univerjs_ui[_0x18d8fd(0x4c1)])(_univerjs_ui[_0x18d8fd(0x1f6)]),_0x4ee271=_0x4d10ef['t'],_0xd59ff2=(0x0,react[_0x18d8fd(0x3dc)])(()=>[{'label':_0x18d8fd(0x208),'component':GeneralPanel,'key':_0x18d8fd(0x5ac)},{'label':'dialog.numfmt.accounting','component':AccountingPanel,'key':_0x18d8fd(0x211)},{'label':_0x18d8fd(0x227),'component':CurrencyPanel,'key':'sheet.numfmt.currency'},{'label':_0x18d8fd(0x20d),'component':DatePanel,'key':_0x18d8fd(0x2fb)},{'label':_0x18d8fd(0x1e2),'component':ThousandthPercentilePanel,'key':_0x18d8fd(0x1b5)}][_0x18d8fd(0x1f1)](_0x57a278=>({..._0x57a278,'label':_0x4ee271(_0x57a278[_0x18d8fd(0x31a)])})),[_0x4ee271]),_0x5559fa=_0x1449ab=>{const _0x3b40ea=_0x18d8fd;return[isGeneralPanel,isAccountingPanel,isCurrencyPanel,isDatePanel,isThousandthPercentilePanel][_0x3b40ea(0x2ec)]((_0x527702,_0xed886a,_0x12563e)=>_0x527702||(_0xed886a(_0x1449ab!==null&&_0x1449ab!==void 0x0?_0x1449ab:'')?_0xd59ff2[_0x12563e][_0x3b40ea(0x24a)]:''),'')||_0xd59ff2[0x0]['key'];},_0x2557ee=_0xd59ff2[_0x18d8fd(0x1f1)](_0x364944=>({'label':_0x364944[_0x18d8fd(0x31a)],'value':_0x364944[_0x18d8fd(0x24a)]})),[_0x19c1ec,_0x1fe42f]=(0x0,react['useState'])(()=>{return _0x5559fa(_0x4a5fce);}),[_0x4467a0,_0x39eb92]=(0x0,react['useState'])(_0x4a5fce),_0x425576=_0x1352fd=>_0x39eb92(_0x1352fd),_0x1ead76=_0xb9aeb5=>{_0x1fe42f(_0xb9aeb5);},_0x3e1ad0=()=>{const _0x2408a3=_0x18d8fd;_0x2bbd39[_0x2408a3(0x1df)](UNIVER_SHEET_CHART_FORMAT_DIALOG_ID);},_0x574a9c=()=>{const _0x2f677a=_0x18d8fd;_0x3f5ad6&&_0x3f5ad6(_0x4467a0),_0x2bbd39[_0x2f677a(0x1df)](UNIVER_SHEET_CHART_FORMAT_DIALOG_ID);};return(0x0,react['useEffect'])(()=>{const _0x484ea3=_0x5559fa(_0x4a5fce);if(_0x484ea3!==_0x19c1ec)_0x1fe42f(_0x484ea3);if(_0x4a5fce!==_0x4467a0)_0x39eb92(_0x4a5fce);},[_0x4a5fce]),(0x0,react_jsx_runtime[_0x18d8fd(0x5bb)])(_0x18d8fd(0x5bf),{'children':[(0x0,react_jsx_runtime['jsx'])(_0x18d8fd(0x5bf),{'className':_0x18d8fd(0x503),'children':_0x4ee271('dialog.numfmt.formatTypes')}),(0x0,react_jsx_runtime['jsx'])(_0x18d8fd(0x5bf),{'children':(0x0,react_jsx_runtime['jsx'])(_univerjs_design[_0x18d8fd(0x2de)],{'className':_0x18d8fd(0x378),'onChange':_0x35e82a=>_0x1ead76(_0x35e82a),'options':_0x2557ee,'value':_0x19c1ec})}),(0x0,react_jsx_runtime[_0x18d8fd(0x5bb)])(_0x18d8fd(0x5bf),{'className':'univer-mt-2','children':[_0x19c1ec===_0x18d8fd(0x5ac)&&(0x0,react_jsx_runtime[_0x18d8fd(0x1f8)])(GeneralPanel,{'originPattern':_0x4a5fce,'handlePatternChange':_0x425576}),_0x19c1ec===_0x18d8fd(0x211)&&(0x0,react_jsx_runtime[_0x18d8fd(0x1f8)])(AccountingPanel,{'originPattern':_0x4a5fce,'handlePatternChange':_0x425576}),_0x19c1ec==='sheet.numfmt.currency'&&(0x0,react_jsx_runtime['jsx'])(CurrencyPanel,{'originPattern':_0x4a5fce,'handlePatternChange':_0x425576}),_0x19c1ec==='sheet.numfmt.date'&&(0x0,react_jsx_runtime[_0x18d8fd(0x1f8)])(DatePanel,{'originPattern':_0x4a5fce,'handlePatternChange':_0x425576}),_0x19c1ec===_0x18d8fd(0x1b5)&&(0x0,react_jsx_runtime[_0x18d8fd(0x1f8)])(ThousandthPercentilePanel,{'originPattern':_0x4a5fce,'handlePatternChange':_0x425576})]}),(0x0,react_jsx_runtime['jsxs'])(_0x18d8fd(0x5bf),{'className':_0x18d8fd(0x587),'children':[(0x0,react_jsx_runtime[_0x18d8fd(0x1f8)])(_univerjs_design[_0x18d8fd(0x5ee)],{'onClick':_0x3e1ad0,'children':_0x4d10ef['t'](_0x18d8fd(0x234))}),(0x0,react_jsx_runtime[_0x18d8fd(0x1f8)])(_univerjs_design[_0x18d8fd(0x5ee)],{'className':'univer-ml-3','variant':_0x18d8fd(0x5a0),'onClick':_0x574a9c,'children':_0x4d10ef['t'](_0x18d8fd(0x19a))})]})]});},defaultDeltaSize=0x1,silentChartSpecOperator=_0x365817=>{const _0x5b18d4=_0x94e517;_0x365817['animation']=![],_0x365817[_0x5b18d4(0x3d2)]=!![],_0x365817['series'][_0x5b18d4(0x21f)](_0x53e34d=>{_0x53e34d['silent']=!![];}),_0x365817['tooltip']={'show':![],'axisPointer':{'type':_0x5b18d4(0x206)}};if(_0x365817[_0x5b18d4(0x285)])_0x365817[_0x5b18d4(0x285)][_0x5b18d4(0x592)]=![];return _0x365817;};let ChartRenderService=class ChartRenderService extends _univerjs_core[_0x94e517(0x188)]{constructor(_0x537074,_0x12b9ac,_0x3bb887,_0x3e4575,_0x2a02e3,_0x6fe85,_0x2321bd,_0x25b8b3,_0x22688a,_0x1f49ae){const _0x297ec7=_0x94e517;super(),this[_0x297ec7(0x321)]=_0x537074,this[_0x297ec7(0x4d8)]=_0x12b9ac,this[_0x297ec7(0x293)]=_0x3bb887,this['_drawingManagerService']=_0x3e4575,this[_0x297ec7(0x46c)]=_0x2a02e3,this['_renderManagerService']=_0x6fe85,this['_localeService']=_0x2321bd,this[_0x297ec7(0x327)]=_0x25b8b3,this[_0x297ec7(0x3b0)]=_0x22688a,this['_themeService']=_0x1f49ae,_defineProperty(this,_0x297ec7(0x30c),new Map()),_defineProperty(this,_0x297ec7(0x22c),new Map()),_defineProperty(this,_0x297ec7(0x1ff),null),_defineProperty(this,_0x297ec7(0x1eb),new Map()),_defineProperty(this,_0x297ec7(0x521),new Map());let _0x554cab=!![];const _0x594071=(0x0,_univerjs_pro_sheets_chart[_0x297ec7(0x290)])(this['_injector']);if(_0x594071[_0x297ec7(0x22b)]===0x1&&_0x594071[0x0]===_0x297ec7(0x1fa))_0x554cab=![];this[_0x297ec7(0x359)](_univerjs_pro_engine_chart['EChartRenderEngineName'],new _univerjs_pro_engine_chart[(_0x297ec7(0x2b2))](_0x554cab)),this[_0x297ec7(0x529)]();}[_0x94e517(0x5e5)](){const _0x3f9d13=_0x94e517;let _0x1fa111=!![];const _0xf66a6b=(0x0,_univerjs_pro_sheets_chart[_0x3f9d13(0x290)])(this[_0x3f9d13(0x327)]);if(_0xf66a6b[_0x3f9d13(0x22b)]===0x1&&_0xf66a6b[0x0]===_0x3f9d13(0x1fa))_0x1fa111=![];return _0x1fa111;}[_0x94e517(0x359)](_0x176766,_0x515b41){const _0x40c81f=_0x94e517;this[_0x40c81f(0x30c)][_0x40c81f(0x38b)](_0x176766,_0x515b41),this[_0x40c81f(0x1ff)]=_0x515b41;}[_0x94e517(0x34f)](_0x369700){const _0x4cebf4=_0x94e517,_0x3a1fa0=this[_0x4cebf4(0x30c)][_0x4cebf4(0x40a)](_0x369700);if(_0x3a1fa0)this[_0x4cebf4(0x1ff)]=_0x3a1fa0;}['_resizeChart'](_0x46af17,_0x2d0426){const _0x4f3ac7=_0x94e517,_0x5031ab=this[_0x4f3ac7(0x4d8)]['getFloatDomInfo'](_0x46af17);if(_0x2d0426[_0x4f3ac7(0x143)]===void 0x0||_0x2d0426[_0x4f3ac7(0x37a)]===void 0x0)return;if(_0x5031ab){var _0x552fb3;const {subUnitId:_0x1ed287}=_0x5031ab,_0x1cb412=(_0x552fb3=this[_0x4f3ac7(0x46c)][_0x4f3ac7(0x1b6)](_univerjs_core[_0x4f3ac7(0x32c)][_0x4f3ac7(0x596)]))===null||_0x552fb3===void 0x0?void 0x0:_0x552fb3['getActiveSheet']();if((_0x1cb412===null||_0x1cb412===void 0x0?void 0x0:_0x1cb412[_0x4f3ac7(0x466)]())===_0x1ed287){const {width:_0x59ed42,height:_0x1ab60a}=_0x2d0426,_0x7019ac=this[_0x4f3ac7(0x293)][_0x4f3ac7(0x196)](_0x46af17),_0x13e5a3=_0x7019ac===null||_0x7019ac===void 0x0?void 0x0:_0x7019ac[_0x4f3ac7(0x4cb)];if(Math[_0x4f3ac7(0x527)](_0x59ed42-((_0x13e5a3===null||_0x13e5a3===void 0x0?void 0x0:_0x13e5a3[_0x4f3ac7(0x143)])||0x0))>defaultDeltaSize||Math['abs'](_0x1ab60a-((_0x13e5a3===null||_0x13e5a3===void 0x0?void 0x0:_0x13e5a3[_0x4f3ac7(0x37a)])||0x0))>defaultDeltaSize){_0x7019ac===null||_0x7019ac===void 0x0||_0x7019ac[_0x4f3ac7(0x1ae)]({..._0x13e5a3,'width':_0x59ed42,'height':_0x1ab60a});const _0x546939=this[_0x4f3ac7(0x22c)][_0x4f3ac7(0x40a)](_0x46af17);if(_0x546939){var _0x311e43,_0x2cca06;const _0x48d8ab=(_0x311e43=_0x5031ab['domId'])!==null&&_0x311e43!==void 0x0?_0x311e43:_0x46af17,_0x42fb13=(_0x2cca06=document['getElementById'](_0x48d8ab))===null||_0x2cca06===void 0x0?void 0x0:_0x2cca06[_0x4f3ac7(0x140)]('.chart-host');_0x42fb13&&(_0x42fb13[_0x4f3ac7(0x4cb)][_0x4f3ac7(0x143)]=_0x59ed42-0x10+'px',_0x42fb13[_0x4f3ac7(0x4cb)][_0x4f3ac7(0x37a)]=_0x1ab60a-0x10+'px',_0x546939[_0x4f3ac7(0x4fe)]());}}}}}['_debounceHandle'](_0x35d9d4,_0x2be0ae,_0x2c7e4d=0x0){const _0x29e98a=_0x94e517;let _0x51a655=this[_0x29e98a(0x521)]['get'](_0x35d9d4);!_0x51a655&&(_0x51a655=(0x0,_univerjs_core[_0x29e98a(0x3b9)])(_0x3e10a7=>{this['_resizeChart'](_0x35d9d4,_0x3e10a7);},_0x2c7e4d),this['_debounceHandleMap']['set'](_0x35d9d4,_0x51a655)),_0x51a655(_0x2be0ae);}[_0x94e517(0x529)](){const _0x30a9cd=_0x94e517,_0x95b061=this[_0x30a9cd(0x1eb)],_0x444c76=_0x23be14=>{const _0x253163=_0x30a9cd;if(!_0x95b061['has'](_0x23be14)){const _0x29e187=(0x0,_univerjs_core[_0x253163(0x3b9)])((_0x3f4ceb,_0x1aeed8,_0x54e354,_0x13b8c2)=>{const _0x3d7b36=_0x253163;var _0x2e142e,_0x7edfdd;if(!_0x54e354)return;const {t:_0x3a1008}=this[_0x3d7b36(0x2bb)];(_0x2e142e=_0x54e354['category'])===null||_0x2e142e===void 0x0||_0x2e142e[_0x3d7b36(0x1b0)][_0x3d7b36(0x21f)]((_0x1ae523,_0x13fd8c)=>{const _0x31f372=_0x3d7b36;if(!_0x1ae523['label'])_0x1ae523[_0x31f372(0x31a)]=_0x3a1008(_0x31f372(0x5bd))+'\x20'+(_0x13fd8c+0x1);}),_0x54e354[_0x3d7b36(0x34d)]['forEach']((_0x29500b,_0x554ca6)=>{const _0xb2e763=_0x3d7b36;if(!_0x29500b[_0xb2e763(0x41c)])_0x29500b['name']=_0x3a1008('chart.series')+'\x20'+(_0x554ca6+0x1);}),_0x13b8c2[_0x3d7b36(0x510)]=_0x3f4ceb[_0x3d7b36(0x1dc)]();const _0x130448=(_0x7edfdd=this[_0x3d7b36(0x46c)][_0x3d7b36(0x1b6)](_univerjs_core['UniverInstanceType'][_0x3d7b36(0x596)]))===null||_0x7edfdd===void 0x0?void 0x0:_0x7edfdd['getActiveSheet']();if((_0x130448===null||_0x130448===void 0x0?void 0x0:_0x130448[_0x3d7b36(0x466)]())===_0x1aeed8)this[_0x3d7b36(0x280)](_0x3f4ceb['id'],_0x54e354,_0x13b8c2);},0x11);_0x95b061['set'](_0x23be14,_0x29e187);}return _0x95b061[_0x253163(0x40a)](_0x23be14);};this['disposeWithMe'](this[_0x30a9cd(0x46c)][_0x30a9cd(0x523)][_0x30a9cd(0x20b)](_0x1b99a1=>{const _0x3400ad=_0x30a9cd,_0x5291c9=this[_0x3400ad(0x46c)][_0x3400ad(0x1b6)](_univerjs_core[_0x3400ad(0x32c)][_0x3400ad(0x596)]);if(_0x1b99a1&&_0x5291c9&&_0x5291c9[_0x3400ad(0x5f4)]()===_0x1b99a1){var _0x42ea07;const _0x16ee95=_0x5291c9[_0x3400ad(0x242)]()[_0x3400ad(0x466)](),_0x57c332=this[_0x3400ad(0x172)][_0x3400ad(0x5f5)](_0x1b99a1,_0x16ee95);if(!((_0x42ea07=this[_0x3400ad(0x552)][_0x3400ad(0x164)](_0x1b99a1))===null||_0x42ea07===void 0x0?void 0x0:_0x42ea07[_0x3400ad(0x390)](_univerjs_sheets_ui[_0x3400ad(0x157)])[_0x3400ad(0x570)](_0x16ee95)))return;if(_0x57c332)for(const _0x34c565 in _0x57c332){const {drawingId:_0x230fcc}=_0x57c332[_0x34c565],_0x17d0ab=this['_chartModelService'][_0x3400ad(0x196)](_0x230fcc);if(_0x17d0ab)_0x444c76(_0x17d0ab['id'])(_0x17d0ab,_0x16ee95,_0x17d0ab['config'],_0x17d0ab[_0x3400ad(0x4cb)]);}}})),this[_0x30a9cd(0x5a6)](this[_0x30a9cd(0x356)][_0x30a9cd(0x330)][_0x30a9cd(0x20b)](()=>{const _0x17bd36=_0x30a9cd;var _0x3b247e;const _0x574eba=this[_0x17bd36(0x46c)][_0x17bd36(0x1b6)](_univerjs_core[_0x17bd36(0x32c)]['UNIVER_SHEET']);if(!_0x574eba)return;const _0xa8f307=_0x574eba['getUnitId'](),_0x3fcd7d=_0x574eba[_0x17bd36(0x242)]()[_0x17bd36(0x466)](),_0x596559=this[_0x17bd36(0x172)][_0x17bd36(0x5f5)](_0xa8f307,_0x3fcd7d);if(!((_0x3b247e=this[_0x17bd36(0x552)]['getRenderById'](_0xa8f307))===null||_0x3b247e===void 0x0?void 0x0:_0x3b247e[_0x17bd36(0x390)](_univerjs_sheets_ui[_0x17bd36(0x157)])[_0x17bd36(0x570)](_0x3fcd7d)))return;if(_0x596559)for(const _0x45c8f5 in _0x596559){const {drawingId:_0x519e22}=_0x596559[_0x45c8f5],_0x392254=this[_0x17bd36(0x293)][_0x17bd36(0x196)](_0x519e22);if(_0x392254){const _0x529f2d=_0x392254['getRuntimeContext']();_0x392254[_0x17bd36(0x1ae)]({'runtime':_0x529f2d});}}})),this['disposeWithMe'](this[_0x30a9cd(0x172)][_0x30a9cd(0x29e)][_0x30a9cd(0x20b)](_0x4508e9=>{const _0x226cae=_0x30a9cd;_0x4508e9[_0x226cae(0x21f)](_0x4f0b72=>{const _0x329e50=_0x226cae;var _0x3bf93c,_0x336283,_0x18a5aa;const {drawingId:_0x547f2c,unitId:_0x3c9c93,subUnitId:_0xccc4fc}=_0x4f0b72;if(!((_0x3bf93c=this[_0x329e50(0x552)][_0x329e50(0x164)](_0x3c9c93))===null||_0x3bf93c===void 0x0?void 0x0:_0x3bf93c[_0x329e50(0x390)](_univerjs_sheets_ui['SheetSkeletonManagerService'])[_0x329e50(0x570)](_0xccc4fc)))return;const {drawingType:_0x2c8261}=this['_drawingManagerService'][_0x329e50(0x5dc)](_0x4f0b72);if(_0x2c8261!==_univerjs_core[_0x329e50(0x44f)][_0x329e50(0x460)])return;const _0x2eb3c2=this[_0x329e50(0x4d8)][_0x329e50(0x3e2)](_0x547f2c),_0x4572f9=(_0x336283=_0x2eb3c2===null||_0x2eb3c2===void 0x0?void 0x0:_0x2eb3c2[_0x329e50(0x353)])!==null&&_0x336283!==void 0x0?_0x336283:_0x547f2c,_0xfe464d=_0x2eb3c2===null||_0x2eb3c2===void 0x0?void 0x0:_0x2eb3c2[_0x329e50(0x398)],_0x2a4ce4=(_0x18a5aa=this[_0x329e50(0x552)][_0x329e50(0x164)](_0x3c9c93))===null||_0x18a5aa===void 0x0?void 0x0:_0x18a5aa[_0x329e50(0x286)];if(_0xfe464d)this[_0x329e50(0x5a6)](_0xfe464d===null||_0xfe464d===void 0x0?void 0x0:_0xfe464d[_0x329e50(0x513)][_0x329e50(0x2f2)](_0x2c3f8b=>{const _0x4bec8d=_0x329e50,{type:_0x14c4a2,value:_0x2133f6}=_0x2c3f8b;if(_univerjs_engine_render[_0x4bec8d(0x1ad)]['resize']===_0x14c4a2||_univerjs_engine_render[_0x4bec8d(0x1ad)]['all']===_0x14c4a2){const {width:_0x4615b8,height:_0x4e2bbd}=_0x2133f6;this[_0x4bec8d(0x548)](_0x547f2c,{'width':_0x4615b8,'height':_0x4e2bbd},0x64);}}));if(_0x2a4ce4)this[_0x329e50(0x5a6)](_0x2a4ce4[_0x329e50(0x513)]['subscribeEvent'](_0x473173=>{const _0x44ebe4=_0x329e50;var _0x2fe9ce;if(_0x473173[_0x44ebe4(0x448)]!==_univerjs_engine_render[_0x44ebe4(0x1ad)][_0x44ebe4(0x39c)])return;const _0x1d26c2=(_0x2fe9ce=document[_0x44ebe4(0x4bf)](_0x4572f9))===null||_0x2fe9ce===void 0x0?void 0x0:_0x2fe9ce['querySelector'](_0x44ebe4(0x2ff));if(_0x1d26c2){const _0xa6320d=_0x1d26c2['parentNode'][_0x44ebe4(0x4cb)];this['_debounceHandle'](_0x547f2c,{'width':Number[_0x44ebe4(0x4ad)](_0xa6320d[_0x44ebe4(0x143)],0xa),'height':Number['parseInt'](_0xa6320d[_0x44ebe4(0x37a)],0xa)});}}));const _0x37e144=this['_chartModelService']['getChartModel'](_0x547f2c);if(_0x37e144)this[_0x329e50(0x5a6)]((0x0,rxjs[_0x329e50(0x326)])([_0x37e144[_0x329e50(0x154)],_0x37e144[_0x329e50(0x5ba)]])[_0x329e50(0x20b)](([_0x20e3cc,_0x25d61c])=>{_0x444c76(_0x37e144['id'])(_0x37e144,_0xccc4fc,_0x20e3cc,_0x25d61c);}));});})),this['disposeWithMe']((0x0,rxjs[_0x30a9cd(0x326)])([this[_0x30a9cd(0x172)]['remove$']])[_0x30a9cd(0x20b)](([_0x5b6554])=>{const _0xf8df44=_0x30a9cd;_0x5b6554[_0xf8df44(0x21f)](_0x43c643=>{const _0x3155bc=_0xf8df44,{drawingId:_0x31a289}=_0x43c643;if(this[_0x3155bc(0x22c)][_0x3155bc(0x40a)](_0x31a289))this[_0x3155bc(0x22c)][_0x3155bc(0x51f)](_0x31a289);});}));}[_0x94e517(0x1c3)](_0x118221){const _0x54751b=_0x94e517,_0x46b766=this['_renderModelMap'][_0x54751b(0x40a)](_0x118221),_0x353eb8=this[_0x54751b(0x5e5)]();if(_0x46b766)_0x46b766['updateWatermark'](_0x353eb8);return _0x46b766;}async[_0x94e517(0x32d)](_0x195e19){const _0x2b2ec8=_0x94e517;var _0x187184;const _0x15200f=this[_0x2b2ec8(0x22c)],_0x145a78=this[_0x2b2ec8(0x1ff)];if(_0x15200f['has'](_0x195e19)&&this[_0x2b2ec8(0x321)][_0x2b2ec8(0x1c5)](_0x195e19))return _0x15200f[_0x2b2ec8(0x40a)](_0x195e19);const _0x4f5e7d=_0x145a78[_0x2b2ec8(0x468)]();_0x15200f['set'](_0x195e19,_0x4f5e7d);const _0x5b8bea=await this[_0x2b2ec8(0x321)][_0x2b2ec8(0x517)](_0x195e19);return _0x4f5e7d[_0x2b2ec8(0x473)](_0x5b8bea['mountNode']),(_0x187184=_0x4f5e7d[_0x2b2ec8(0x3c4)])===null||_0x187184===void 0x0||_0x187184['call'](_0x4f5e7d,()=>{const _0x2e6844=_0x2b2ec8;var _0x48c40e;return(_0x48c40e=_0x5b8bea['dispose'])===null||_0x48c40e===void 0x0?void 0x0:_0x48c40e[_0x2e6844(0x5e1)](_0x5b8bea);}),_0x4f5e7d;}[_0x94e517(0x2d9)](_0x1bf267){const _0x1a3b63=_0x94e517;var _0x2ea084;const _0x1ae0c7=this['_sheetCanvasFloatDomManagerService'][_0x1a3b63(0x3e2)](_0x1bf267);if(!_0x1ae0c7)return![];const {subUnitId:_0xec3e3a}=_0x1ae0c7,_0x147265=(_0x2ea084=this['_univerInstanceService'][_0x1a3b63(0x1b6)](_univerjs_core[_0x1a3b63(0x32c)][_0x1a3b63(0x596)]))===null||_0x2ea084===void 0x0?void 0x0:_0x2ea084['getActiveSheet']();if((_0x147265===null||_0x147265===void 0x0?void 0x0:_0x147265['getSheetId']())!==_0xec3e3a)return![];return!![];}async[_0x94e517(0x280)](_0x1d8f14,_0x259336,_0x4f506a){const _0x3f1e80=_0x94e517;var _0x467eac,_0x285c94;const _0x42c7e8=this[_0x3f1e80(0x1c3)](_univerjs_pro_engine_chart[_0x3f1e80(0x395)]);if(!_0x42c7e8)return;if(!this[_0x3f1e80(0x2d9)](_0x1d8f14))return;const _0x771bba=await this[_0x3f1e80(0x32d)](_0x1d8f14),_0x346a0a=this[_0x3f1e80(0x321)][_0x3f1e80(0x4fd)](_0x1d8f14),_0x501d48=_0x42c7e8[_0x3f1e80(0x3cb)](_0x42c7e8[_0x3f1e80(0x2be)](_0x259336,_0x4f506a),{'chartConfig':_0x259336,'chartStyle':_0x4f506a,'chartInstance':_0x771bba},_0x346a0a),_0x6e9cd9=_0x4f506a['theme']?this[_0x3f1e80(0x3b0)][_0x3f1e80(0x276)](_0x4f506a[_0x3f1e80(0x3a0)]):this[_0x3f1e80(0x3b0)][_0x3f1e80(0x35a)]();this[_0x3f1e80(0x321)][_0x3f1e80(0x438)](_0x1d8f14,{'stroke':(_0x467eac=_0x4f506a[_0x3f1e80(0x41f)])!==null&&_0x467eac!==void 0x0?_0x467eac:_0x6e9cd9[_0x3f1e80(0x3a0)]['borderColor'],'fill':(_0x285c94=_0x4f506a[_0x3f1e80(0x2ac)])!==null&&_0x285c94!==void 0x0?_0x285c94:_univerjs_pro_engine_chart[_0x3f1e80(0x491)][_0x3f1e80(0x2ac)]});if(this['_chartHostProvider'][_0x3f1e80(0x1c5)](_0x1d8f14))_0x771bba[_0x3f1e80(0x280)]({..._0x501d48});}async['printChart'](_0x33c9da,_0x4523e0,_0x179c30){const _0x57bb46=_0x94e517;var _0x110663,_0x194e28;const _0x38154d=this[_0x57bb46(0x293)]['getChartModel'](_0x33c9da),_0x2d2764=this[_0x57bb46(0x30c)]['get'](_univerjs_pro_engine_chart[_0x57bb46(0x395)]);if(!_0x38154d||!_0x2d2764)return;const _0x31acfb=createHostElement(_0x179c30[_0x57bb46(0x143)],_0x179c30[_0x57bb46(0x37a)]);_0x4523e0[_0x57bb46(0x2cb)](_0x31acfb);const _0xe5b1e=_univerjs_pro_engine_chart[_0x57bb46(0x413)][_0x57bb46(0x23b)](_0x31acfb,null,{'devicePixelRatio':window[_0x57bb46(0x2b6)]||0x1}),_0x42b60d=_0x38154d[_0x57bb46(0x3f4)],_0x561b29=_0x38154d[_0x57bb46(0x4cb)],_0x14b291=_0x2d2764[_0x57bb46(0x3cb)](_0x2d2764[_0x57bb46(0x2be)](_0x42b60d,_0x561b29),{'chartConfig':_0x42b60d,'chartStyle':_0x561b29,'chartInstance':_0xe5b1e},_0x179c30),_0x9eb8e3=_0x561b29['theme']?this['_chartThemeService']['getTheme'](_0x561b29['theme']):this[_0x57bb46(0x3b0)][_0x57bb46(0x35a)]();_0x4523e0['style'][_0x57bb46(0x32e)]=_0x57bb46(0x408)+((_0x110663=_0x561b29[_0x57bb46(0x41f)])!==null&&_0x110663!==void 0x0?_0x110663:_0x9eb8e3[_0x57bb46(0x3a0)][_0x57bb46(0x41f)]),_0x4523e0['style'][_0x57bb46(0x2ac)]=this[_0x57bb46(0x3b0)][_0x57bb46(0x4b2)]((_0x194e28=_0x561b29[_0x57bb46(0x2ac)])!==null&&_0x194e28!==void 0x0?_0x194e28:_univerjs_pro_engine_chart[_0x57bb46(0x491)][_0x57bb46(0x2ac)]),_0x4523e0[_0x57bb46(0x4cb)][_0x57bb46(0x229)]='8px',_0xe5b1e[_0x57bb46(0x3db)](),_0xe5b1e[_0x57bb46(0x15e)](silentChartSpecOperator(_0x14b291),!![]);}['dispose'](){const _0x76118d=_0x94e517;this['_chartInstanceMap']['clear'](),this[_0x76118d(0x1ff)]=null,this[_0x76118d(0x30c)]['forEach'](_0x3dc4b3=>_0x3dc4b3[_0x76118d(0x25d)]()),this[_0x76118d(0x30c)][_0x76118d(0x3db)](),this[_0x76118d(0x1eb)][_0x76118d(0x3db)](),this[_0x76118d(0x521)][_0x76118d(0x3db)]();}};ChartRenderService=__decorate([__decorateParam(0x0,IChartHostProviderService),__decorateParam(0x1,(0x0,_univerjs_core[_0x94e517(0x362)])(_univerjs_sheets_drawing_ui[_0x94e517(0x53f)])),__decorateParam(0x2,(0x0,_univerjs_core[_0x94e517(0x362)])(_univerjs_pro_sheets_chart[_0x94e517(0x24c)])),__decorateParam(0x3,_univerjs_drawing[_0x94e517(0x4d3)]),__decorateParam(0x4,_univerjs_core[_0x94e517(0x528)]),__decorateParam(0x5,(0x0,_univerjs_core[_0x94e517(0x362)])(_univerjs_engine_render[_0x94e517(0x428)])),__decorateParam(0x6,(0x0,_univerjs_core[_0x94e517(0x362)])(_univerjs_core[_0x94e517(0x4e1)])),__decorateParam(0x7,(0x0,_univerjs_core[_0x94e517(0x362)])(_univerjs_core[_0x94e517(0x2bc)])),__decorateParam(0x8,(0x0,_univerjs_core['Inject'])(_univerjs_pro_engine_chart[_0x94e517(0x40d)])),__decorateParam(0x9,(0x0,_univerjs_core[_0x94e517(0x362)])(_univerjs_core['ThemeService']))],ChartRenderService);const PrintChart=_0x5001ba=>{const _0x1a7b29=_0x94e517,{floatDomId:_0x22b32f,context:_0x30d3f9}=_0x5001ba,_0xfbdedb=(0x0,_univerjs_ui['useDependency'])(ChartRenderService);return(0x0,react[_0x1a7b29(0x2d4)])(()=>{const _0x16d2ee=_0x1a7b29;if(_0x30d3f9[_0x16d2ee(0x580)][_0x16d2ee(0x168)]){const _0x204707={'width':Number[_0x16d2ee(0x1c9)](_0x30d3f9[_0x16d2ee(0x580)]['current']['style'][_0x16d2ee(0x143)]),'height':Number[_0x16d2ee(0x1c9)](_0x30d3f9['root'][_0x16d2ee(0x168)]['style'][_0x16d2ee(0x37a)])};_0xfbdedb[_0x16d2ee(0x23d)](_0x22b32f,_0x30d3f9[_0x16d2ee(0x580)][_0x16d2ee(0x168)],_0x204707);}},[_0x22b32f,_0x30d3f9[_0x1a7b29(0x580)][_0x1a7b29(0x168)]]),null;},MenuInsertChartCommand={'type':_univerjs_core['CommandType'][_0x94e517(0x58a)],'id':_0x94e517(0x28c),'handler':async(_0x1acc09,_0x16e30a)=>{const _0x4a3fb5=_0x94e517,_0x2ef480=(0x0,_univerjs_sheets['getSheetCommandTarget'])(_0x1acc09[_0x4a3fb5(0x40a)](_univerjs_core[_0x4a3fb5(0x528)]));if(!_0x2ef480)return![];const _0x5a111b=_0x1acc09[_0x4a3fb5(0x40a)](_univerjs_sheets['SheetsSelectionsService'])[_0x4a3fb5(0x312)]();if(!_0x5a111b)return![];const _0x3839e7=_0x1acc09[_0x4a3fb5(0x40a)](_univerjs_ui[_0x4a3fb5(0x51b)]),_0x155adc=_0x1acc09['get'](_univerjs_core['LocaleService']),{range:_0x437b8f}=_0x5a111b;if(_0x437b8f[_0x4a3fb5(0x3ba)]===_0x437b8f['endRow']||_0x437b8f[_0x4a3fb5(0x302)]===_0x437b8f[_0x4a3fb5(0x252)])return _0x3839e7[_0x4a3fb5(0x301)]({'type':_univerjs_design[_0x4a3fb5(0x3a9)][_0x4a3fb5(0x4a3)],'content':_0x155adc['t']('chart.msg.invalidSource')}),![];const _0x5a9361=_0x1acc09[_0x4a3fb5(0x40a)](_univerjs_core[_0x4a3fb5(0x5d1)]),{unitId:_0x2a35b2,subUnitId:_0x4c594b}=_0x2ef480,{value:_0x56f3ea}=_0x16e30a;return _0x5a9361[_0x4a3fb5(0x22d)](_univerjs_pro_sheets_chart[_0x4a3fb5(0x18a)]['id'],{'unitId':_0x2a35b2,'subUnitId':_0x4c594b,'chartType':_0x56f3ea,'range':_0x437b8f});}};function ChartMenuItemFactory(_0x5f0b09){const _0xf7aea7=_0x94e517,_0x8afd39=_0x5f0b09[_0xf7aea7(0x40a)](_univerjs_core[_0xf7aea7(0x528)]),_0x321c7a=(0x0,_univerjs_pro_sheets_chart[_0xf7aea7(0x290)])(_0x5f0b09),_0x527ea4=getOptionsList(getChartMenuSelection()[_0xf7aea7(0x512)](),_0x321c7a);return{'id':MenuInsertChartCommand['id'],'type':_univerjs_ui['MenuItemType'][_0xf7aea7(0x27d)],'selections':_0x527ea4,'icon':_0xf7aea7(0x1cf),'tooltip':_0xf7aea7(0x4c9),'activated$':(0x0,_univerjs_sheets_ui[_0xf7aea7(0x18f)])(_0x8afd39,![],()=>new rxjs['Observable'](_0x54f6d6=>{const _0x2d74b2=_0xf7aea7;_0x54f6d6[_0x2d74b2(0x322)](![]);})),'hidden$':(0x0,_univerjs_ui[_0xf7aea7(0x55d)])(_0x5f0b09,_univerjs_core['UniverInstanceType'][_0xf7aea7(0x596)]),'disabled$':(0x0,_univerjs_sheets_ui['getCurrentRangeDisable$'])(_0x5f0b09)};}const menuSchema={[_univerjs_ui[_0x94e517(0x1cb)][_0x94e517(0x546)]]:{[MenuInsertChartCommand['id']]:{'order':0x4,'menuItemFactory':ChartMenuItemFactory}}},CHART_EDIT_PANEL_KEY=_0x94e517(0x2f6);let SheetsChartUIController=class SheetsChartUIController extends _univerjs_core[_0x94e517(0x188)]{constructor(_0x123e29,_0x13ffdb,_0xc1bf66,_0x390790,_0x1b1b4a,_0x7ab34a,_0x2cfda4,_0x2421fe,_0x6e7867,_0x2525a3){const _0x586753=_0x94e517;super(),this['_drawingManagerService']=_0x123e29,this[_0x586753(0x46c)]=_0x13ffdb,this[_0x586753(0x293)]=_0xc1bf66,this[_0x586753(0x2c6)]=_0x390790,this[_0x586753(0x41a)]=_0x1b1b4a,this[_0x586753(0x2f7)]=_0x7ab34a,this[_0x586753(0x493)]=_0x2cfda4,this[_0x586753(0x3b5)]=_0x2421fe,this['_sheetsChartUIService']=_0x6e7867,this['_contextService']=_0x2525a3,_defineProperty(this,_0x586753(0x5e7),null),this['_registerChartIcons'](),this['_initMenus'](),this[_0x586753(0x5a6)](this[_0x586753(0x46c)][_0x586753(0x1a3)](_univerjs_core[_0x586753(0x32c)][_0x586753(0x596)])[_0x586753(0x20b)](_0x1152b2=>{const _0x411f05=_0x586753;var _0x394866;if(!_0x1152b2)(_0x394866=this[_0x411f05(0x5e7)])===null||_0x394866===void 0x0||_0x394866[_0x411f05(0x25d)]();}));}[_0x94e517(0x4be)](){const _0x44623d=_0x94e517;[[_0x44623d(0x1cf),_univerjs_icons[_0x44623d(0x1cf)]],[_0x44623d(0x14b),_univerjs_icons['AreaChartIcon']],[_0x44623d(0x4d6),_univerjs_icons['BarChartIcon']],[_0x44623d(0x54b),_univerjs_icons[_0x44623d(0x54b)]],[_0x44623d(0x370),_univerjs_icons[_0x44623d(0x370)]],[_0x44623d(0x1bd),_univerjs_icons[_0x44623d(0x1bd)]],['PieChartIcon',_univerjs_icons[_0x44623d(0x555)]],[_0x44623d(0x151),_univerjs_icons[_0x44623d(0x151)]],[_0x44623d(0x317),_univerjs_icons[_0x44623d(0x317)]],[_0x44623d(0x25b),_univerjs_icons['FunnelIcon']],['CloudIcon',_univerjs_icons[_0x44623d(0x2b9)]],[_0x44623d(0x3a6),_univerjs_icons[_0x44623d(0x3a6)]],[_0x44623d(0x3f5),_univerjs_icons[_0x44623d(0x3f5)]],['WaterfallChartIcon',_univerjs_icons[_0x44623d(0x2b1)]],['SankeyChartIcon',_univerjs_icons[_0x44623d(0x5fb)]],['HeatmapChartIcon',_univerjs_icons['HeatmapIcon']],[_0x44623d(0x193),_univerjs_icons[_0x44623d(0x193)]],[_univerjs_core[_0x44623d(0x255)],PrintChart],[CHART_EDIT_PANEL_KEY,ChartEditPanel],[UNIVER_SHEET_CHART_FORMAT_DIALOG,ChartNumfmtDialog]]['forEach'](([_0x3a6c36,_0x4a0ad6])=>{const _0x323e03=_0x44623d;this['disposeWithMe'](this['_componentManager'][_0x323e03(0x457)](_0x3a6c36,_0x4a0ad6));});}[_0x94e517(0x2b4)](){const _0xf704ed=_0x94e517;this[_0xf704ed(0x5e7)]=this[_0xf704ed(0x2c6)][_0xf704ed(0x499)]({'id':CHART_EDIT_PANEL_KEY,'header':{'title':'chart.editChart'},'width':0x154,'children':{'label':CHART_EDIT_PANEL_KEY},'onClose':()=>{const _0x4cd3c7=_0xf704ed;this[_0x4cd3c7(0x172)]['focusDrawing'](null),this[_0x4cd3c7(0x1ce)][_0x4cd3c7(0x24f)](_univerjs_core[_0x4cd3c7(0x5db)],![]),this[_0x4cd3c7(0x5e7)]=null;}});}['hidePanel'](){const _0x529363=_0x94e517;var _0x452ade;this['_chartModelService'][_0x529363(0x3c8)](null),(_0x452ade=this[_0x529363(0x5e7)])===null||_0x452ade===void 0x0||_0x452ade[_0x529363(0x25d)]();}[_0x94e517(0x4cc)](){const _0x3ea0e7=_0x94e517,_0x492b98=this[_0x3ea0e7(0x46c)][_0x3ea0e7(0x1b6)](_univerjs_core[_0x3ea0e7(0x32c)][_0x3ea0e7(0x596)]);this[_0x3ea0e7(0x5a6)](this['_sidebarService'][_0x3ea0e7(0x232)][_0x3ea0e7(0x20b)](_0xe50d06=>{const _0x23a2ef=_0x3ea0e7;if(_0xe50d06['id']===CHART_EDIT_PANEL_KEY){if(!_0xe50d06[_0x23a2ef(0x2f3)])this[_0x23a2ef(0x2c6)]['sidebarOptions$'][_0x23a2ef(0x322)]({'visible':![]});}})),this[_0x3ea0e7(0x5a6)](this[_0x3ea0e7(0x3b5)][_0x3ea0e7(0x1d6)](_0x2d796d=>{const _0x3288fb=_0x3ea0e7;if(_0x2d796d['id']===ChartOpenPanelOperation['id']){const _0x1467d0=_0x2d796d['params'];this[_0x3288fb(0x2fa)](_0x1467d0[_0x3288fb(0x15a)]);}if(_0x2d796d['id']===ChartHidePanelOperation['id'])this[_0x3288fb(0x2da)]();if(_0x2d796d['id']===_univerjs_pro_sheets_chart[_0x3288fb(0x292)]['id']){var _0x456c4c;if(_0x2d796d['params'][_0x3288fb(0x59a)]===((_0x456c4c=this['_chartModelService']['activeChartModel'])===null||_0x456c4c===void 0x0?void 0x0:_0x456c4c['id']))this['hidePanel']();this[_0x3288fb(0x1ce)]['getContextValue'](_univerjs_core[_0x3288fb(0x5db)])&&(this[_0x3288fb(0x1ce)]['setContextValue'](_univerjs_core[_0x3288fb(0x5db)],![]),this[_0x3288fb(0x172)][_0x3288fb(0x309)](null));}})),this[_0x3ea0e7(0x5a6)](this['_drawingManagerService'][_0x3ea0e7(0x43b)]['subscribe'](_0x28ba72=>{const _0x3f7cd6=_0x3ea0e7,_0x287204=_0x28ba72[0x0];if(this[_0x3f7cd6(0x201)][_0x3f7cd6(0x432)])return;if(!_0x287204&&!this[_0x3f7cd6(0x201)]['rangeSelectMode'])this[_0x3f7cd6(0x2da)]();})),_0x492b98&&(this[_0x3ea0e7(0x5a6)](_0x492b98[_0x3ea0e7(0x59d)][_0x3ea0e7(0x20b)](()=>{const _0x2e11fd=_0x3ea0e7;this[_0x2e11fd(0x2da)]();})),this[_0x3ea0e7(0x5a6)](_0x492b98[_0x3ea0e7(0x38a)][_0x3ea0e7(0x20b)](()=>{const _0x3dcc69=_0x3ea0e7;this[_0x3dcc69(0x2da)]();})));}[_0x94e517(0x2fa)](_0x41a4f5){const _0x46cb7c=_0x94e517,_0xf8f1f1=this[_0x46cb7c(0x293)][_0x46cb7c(0x196)](_0x41a4f5);if(!_0xf8f1f1)return;this[_0x46cb7c(0x293)][_0x46cb7c(0x3c8)](_0xf8f1f1),this[_0x46cb7c(0x2b4)]();}['_initMenus'](){const _0x3ad54e=_0x94e517;this[_0x3ad54e(0x2f7)][_0x3ad54e(0x5dd)](menuSchema),this[_0x3ad54e(0x493)][_0x3ad54e(0x2af)](_univerjs_core[_0x3ad54e(0x44f)][_0x3ad54e(0x460)],this[_0x3ad54e(0x396)][_0x3ad54e(0x444)](this));}['getChartPopupMenus'](_0x5ab8fd,_0x470fe0,_0x5a59d6,_0x4f8b89){const _0x37e80d=_0x94e517;return[{'label':_0x37e80d(0x238),'index':0x0,'commandId':ChartOpenPanelOperation['id'],'commandParams':{'unitId':_0x5ab8fd,'subUnitId':_0x470fe0,'drawingId':_0x5a59d6},'disable':_0x4f8b89!==_univerjs_core[_0x37e80d(0x44f)][_0x37e80d(0x460)]},{'label':_0x37e80d(0x1cc),'index':0x1,'commandId':_univerjs_sheets_drawing[_0x37e80d(0x3e1)]['id'],'commandParams':{'unitId':_0x5ab8fd,'drawings':[{'unitId':_0x5ab8fd,'subUnitId':_0x470fe0,'drawingId':_0x5a59d6,'drawingType':_0x4f8b89}]},'disable':![]},{'label':'chart.hideChartPanel','index':0x2,'commandId':ChartHidePanelOperation['id'],'commandParams':{'unitId':_0x5ab8fd,'subUnitId':_0x470fe0,'drawingId':_0x5a59d6},'disable':![]}];}};SheetsChartUIController=__decorate([__decorateParam(0x0,_univerjs_drawing[_0x94e517(0x4d3)]),__decorateParam(0x1,_univerjs_core[_0x94e517(0x528)]),__decorateParam(0x2,(0x0,_univerjs_core['Inject'])(_univerjs_pro_sheets_chart[_0x94e517(0x24c)])),__decorateParam(0x3,(0x0,_univerjs_core[_0x94e517(0x362)])(_univerjs_ui[_0x94e517(0x3d8)])),__decorateParam(0x4,(0x0,_univerjs_core[_0x94e517(0x362)])(_univerjs_ui['ComponentManager'])),__decorateParam(0x5,_univerjs_ui[_0x94e517(0x3bb)]),__decorateParam(0x6,(0x0,_univerjs_core['Inject'])(_univerjs_sheets_ui[_0x94e517(0x4a0)])),__decorateParam(0x7,_univerjs_core['ICommandService']),__decorateParam(0x8,(0x0,_univerjs_core['Inject'])(SheetsChartUIService)),__decorateParam(0x9,_univerjs_core[_0x94e517(0x197)])],SheetsChartUIController);var name='@univerjs-pro/sheets-chart-ui',version='0.22.0';let ChartHostProviderController=class ChartHostProviderController extends _univerjs_core[_0x94e517(0x188)]{constructor(_0x142183,_0x2a575e){const _0x14505b=_0x94e517;super(),this[_0x14505b(0x472)]=_0x142183,this[_0x14505b(0x293)]=_0x2a575e,this['_init']();}[_0x94e517(0x2d2)](){const _0x5f4f88=_0x94e517;this['disposeWithMe'](this[_0x5f4f88(0x472)][_0x5f4f88(0x183)][_0x5f4f88(0x20b)](_0x2caf04=>{const _0x5f011d=_0x5f4f88;this[_0x5f011d(0x293)]['removeChartModel'](_0x2caf04);}));}};ChartHostProviderController=__decorate([__decorateParam(0x0,IChartHostProviderService),__decorateParam(0x1,(0x0,_univerjs_core[_0x94e517(0x362)])(_univerjs_pro_sheets_chart['ChartModelService']))],ChartHostProviderController);let ChartRenderController=class ChartRenderController extends _univerjs_core['Disposable']{constructor(_0x70de7d,_0x305e88,_0x3ad4e0){const _0x10aa9b=_0x94e517;super(),this[_0x10aa9b(0x293)]=_0x70de7d,this[_0x10aa9b(0x153)]=_0x305e88,this[_0x10aa9b(0x2bb)]=_0x3ad4e0,this['_init']();}['_init'](){const _0x4af526=_0x94e517;this[_0x4af526(0x5a6)](this['_chartModelService'][_0x4af526(0x51a)][_0x4af526(0x20b)](_0x2d0900=>{const _0x824ea2=_0x4af526;if(_0x2d0900){const _0x582685=new _univerjs_core[(_0x824ea2(0x483))]();_0x582685['add'](_0x2d0900[_0x824ea2(0x154)][_0x824ea2(0x3cc)]((0x0,rxjs[_0x824ea2(0x5ca)])(_0x2d0900[_0x824ea2(0x5ba)]),(0x0,rxjs[_0x824ea2(0x1e0)])(0x64))['subscribe'](([_0x2d6c9d,_0x34ad82])=>{const _0x409b2e=_0x824ea2;var _0x543de4;if(!_0x2d6c9d)return;const {t:_0x591f47}=this[_0x409b2e(0x2bb)];(_0x543de4=_0x2d6c9d[_0x409b2e(0x3bd)])===null||_0x543de4===void 0x0||_0x543de4[_0x409b2e(0x1b0)][_0x409b2e(0x21f)]((_0xeeeef8,_0x311b1d)=>{if(!_0xeeeef8['label'])_0xeeeef8['label']=_0x591f47('chart.category')+'\x20'+(_0x311b1d+0x1);}),_0x2d6c9d[_0x409b2e(0x34d)][_0x409b2e(0x21f)]((_0x2fc420,_0x49be0c)=>{const _0x10939c=_0x409b2e;if(!_0x2fc420['name'])_0x2fc420[_0x10939c(0x41c)]=_0x591f47('chart.series')+'\x20'+(_0x49be0c+0x1);}),_0x34ad82[_0x409b2e(0x510)]=_0x2d0900['getRuntimeContext'](),this[_0x409b2e(0x153)][_0x409b2e(0x280)](_0x2d0900['id'],_0x2d6c9d,_0x34ad82);})),_0x2d0900[_0x824ea2(0x3c4)](()=>{const _0x2b3777=_0x824ea2;_0x582685[_0x2b3777(0x25d)]();});}}));}};ChartRenderController=__decorate([__decorateParam(0x0,(0x0,_univerjs_core[_0x94e517(0x362)])(_univerjs_pro_sheets_chart['ChartModelService'])),__decorateParam(0x1,(0x0,_univerjs_core[_0x94e517(0x362)])(ChartRenderService)),__decorateParam(0x2,(0x0,_univerjs_core[_0x94e517(0x362)])(_univerjs_core['LocaleService']))],ChartRenderController);let ChartSheetChangeController=class ChartSheetChangeController extends _univerjs_core[_0x94e517(0x188)]{constructor(_0x4e7536,_0x1375bb,_0x165da0,_0x5ce487){const _0x2ccd8c=_0x94e517;super(),this[_0x2ccd8c(0x46c)]=_0x4e7536,this['_sheetInterceptorService']=_0x1375bb,this['_sheetDrawingService']=_0x165da0,this[_0x2ccd8c(0x293)]=_0x5ce487,this[_0x2ccd8c(0x42b)]();}[_0x94e517(0x42b)](){const _0x299d8f=_0x94e517;this[_0x299d8f(0x5a6)](this['_sheetInterceptorService'][_0x299d8f(0x1f9)]({'getMutations':_0x19f88a=>{const _0x3e7e66=_0x299d8f;if(_0x19f88a['id']===_univerjs_sheets['RemoveSheetCommand']['id']){const _0xf40f3f=(0x0,_univerjs_sheets[_0x3e7e66(0x487)])(this[_0x3e7e66(0x46c)],_0x19f88a['params']);if(!_0xf40f3f)return{'redos':[],'undos':[]};const {unitId:_0x39aa7e,subUnitId:_0x30e0d0}=_0xf40f3f,_0x5b2e94=this[_0x3e7e66(0x4ec)][_0x3e7e66(0x5f5)](_0x39aa7e,_0x30e0d0),_0x5c8973=Object[_0x3e7e66(0x1b2)](_0x5b2e94)[_0x3e7e66(0x5b4)](_0x52b696=>_0x52b696['drawingType']===_univerjs_core['DrawingTypeEnum'][_0x3e7e66(0x460)]);if(_0x5c8973[_0x3e7e66(0x22b)]===0x0)return{'redos':[],'undos':[]};const _0x18cb8c=[],_0xddaf98=[];for(let _0x34f8a5=0x0;_0x34f8a5<_0x5c8973[_0x3e7e66(0x22b)];_0x34f8a5++){const _0x23b820=_0x5c8973[_0x34f8a5],_0x17d97f=this[_0x3e7e66(0x293)][_0x3e7e66(0x196)](_0x23b820[_0x3e7e66(0x15a)]);if(!_0x17d97f)continue;const {rangeInfo:_0x213cbc,isRowDirection:_0x2ecfbf}=_0x17d97f[_0x3e7e66(0x26b)][_0x3e7e66(0x311)](),{chartType:_0x587f2e,context:_0x96984e,style:_0x402d25,dataAggregation:_0x49852a}=_0x17d97f['serialize'](),{redo:_0x441c1e,undo:_0x43f16c,objects:_0x19dcb1}=this[_0x3e7e66(0x4ec)][_0x3e7e66(0x59c)]([_0x23b820]);_0x18cb8c[_0x3e7e66(0x207)]({'id':_univerjs_pro_sheets_chart[_0x3e7e66(0x292)]['id'],'params':{'unitId':_0x39aa7e,'subUnitId':_0x30e0d0,'chartId':_0x23b820[_0x3e7e66(0x15a)]}}),_0x18cb8c[_0x3e7e66(0x207)]({'id':_univerjs_sheets_drawing['SetDrawingApplyMutation']['id'],'params':{'unitId':_0x39aa7e,'subUnitId':_0x30e0d0,'type':_univerjs_sheets_drawing[_0x3e7e66(0x1ec)][_0x3e7e66(0x344)],'op':_0x441c1e,'objects':_0x19dcb1}}),_0xddaf98['push']({'id':_univerjs_sheets_drawing[_0x3e7e66(0x1f5)]['id'],'params':{'unitId':_0x39aa7e,'subUnitId':_0x30e0d0,'type':_univerjs_sheets_drawing[_0x3e7e66(0x1ec)][_0x3e7e66(0x492)],'op':_0x43f16c,'objects':_0x19dcb1}}),_0xddaf98['push']({'id':_univerjs_pro_sheets_chart[_0x3e7e66(0x2a9)]['id'],'params':{'unitId':_0x39aa7e,'subUnitId':_0x30e0d0,'chartId':_0x23b820[_0x3e7e66(0x15a)],'chartType':_0x587f2e,'range':_0x213cbc['range'],'rangeUnitId':_0x213cbc[_0x3e7e66(0x51e)],'rangeSubUnitId':_0x213cbc['subUnitId'],'isRowDirection':_0x2ecfbf,'context':_0x96984e,'style':_0x402d25,'dataAggregation':_0x49852a}});}return{'redos':_0x18cb8c,'undos':_0xddaf98};}else{if(_0x19f88a['id']===_univerjs_sheets[_0x3e7e66(0x1a0)]['id']){const {unitId:_0x16056f,subUnitId:_0x5764d9,targetSubUnitId:_0x1cae7e}=_0x19f88a['params'];if(!_0x16056f||!_0x5764d9||!_0x1cae7e)return{'redos':[],'undos':[]};const _0x29eeca=this[_0x3e7e66(0x4ec)]['getDrawingData'](_0x16056f,_0x5764d9),_0x537189=Object['values'](_0x29eeca)[_0x3e7e66(0x5b4)](_0x437f92=>_0x437f92[_0x3e7e66(0x48b)]===_univerjs_core[_0x3e7e66(0x44f)]['DRAWING_CHART']);if(_0x537189[_0x3e7e66(0x22b)]===0x0)return{'redos':[],'undos':[]};const _0x279a1a=[],_0x4838b1=[];for(let _0x1355aa=0x0;_0x1355aa<_0x537189['length'];_0x1355aa++){const _0x1be63b=_0x537189[_0x1355aa],_0x5b7f83=this[_0x3e7e66(0x293)][_0x3e7e66(0x196)](_0x1be63b['drawingId']);if(!_0x5b7f83)continue;const _0x296320=(0x0,_univerjs_core['generateRandomId'])(),_0x33ac18={..._0x1be63b,'unitId':_0x16056f,'subUnitId':_0x1cae7e,'drawingId':_0x296320},{rangeInfo:_0xf52cfe,isRowDirection:_0xa820c3}=_0x5b7f83['dataSource']['getRangeInfo'](),{chartType:_0x33cbaf,context:_0x490f14,style:_0x10a955,dataAggregation:_0x31c2e1}=_0x5b7f83[_0x3e7e66(0x5b5)](),{redo:_0xaa227f,undo:_0xc1d947,objects:_0x40926a}=this[_0x3e7e66(0x4ec)][_0x3e7e66(0x369)]([_0x33ac18]);_0x279a1a[_0x3e7e66(0x207)]({'id':_univerjs_sheets_drawing[_0x3e7e66(0x1f5)]['id'],'params':{'unitId':_0x16056f,'subUnitId':_0x1cae7e,'type':_univerjs_sheets_drawing[_0x3e7e66(0x1ec)][_0x3e7e66(0x492)],'op':_0xaa227f,'objects':_0x40926a}}),_0x279a1a['push']({'id':_univerjs_pro_sheets_chart['InsertSheetsChartMutation']['id'],'params':{'unitId':_0x16056f,'subUnitId':_0x1cae7e,'chartId':_0x296320,'chartType':_0x33cbaf,'range':_0xf52cfe[_0x3e7e66(0x2ab)],'isRowDirection':_0xa820c3,'context':_0x490f14,'style':_0x10a955,'dataAggregation':_0x31c2e1}}),_0x4838b1[_0x3e7e66(0x207)]({'id':_univerjs_pro_sheets_chart[_0x3e7e66(0x292)]['id'],'params':{'unitId':_0x16056f,'subUnitId':_0x1cae7e,'chartId':_0x296320}}),_0x4838b1[_0x3e7e66(0x207)]({'id':_univerjs_sheets_drawing['SetDrawingApplyMutation']['id'],'params':{'unitId':_0x16056f,'subUnitId':_0x1cae7e,'type':_univerjs_sheets_drawing['DrawingApplyType']['REMOVE'],'op':_0xc1d947,'objects':_0x40926a}});}return{'redos':_0x279a1a,'undos':_0x4838b1};}}return{'redos':[],'undos':[]};}}));}};ChartSheetChangeController=__decorate([__decorateParam(0x0,(0x0,_univerjs_core[_0x94e517(0x362)])(_univerjs_core[_0x94e517(0x528)])),__decorateParam(0x1,(0x0,_univerjs_core[_0x94e517(0x362)])(_univerjs_sheets[_0x94e517(0x34a)])),__decorateParam(0x2,(0x0,_univerjs_core[_0x94e517(0x362)])(_univerjs_sheets_drawing[_0x94e517(0x355)])),__decorateParam(0x3,(0x0,_univerjs_core['Inject'])(_univerjs_pro_sheets_chart['ChartModelService']))],ChartSheetChangeController);let SheetsChartClipboardController=class SheetsChartClipboardController extends _univerjs_core[_0x94e517(0x188)]{constructor(_0x4321f3,_0x4ff25f,_0xcbbd77,_0x532382){const _0x40ec46=_0x94e517;super(),this['_sheetSkeletonService']=_0x4321f3,this['_sheetClipboardService']=_0x4ff25f,this[_0x40ec46(0x4ec)]=_0xcbbd77,this[_0x40ec46(0x293)]=_0x532382,_defineProperty(this,_0x40ec46(0x5a1),void 0x0),this[_0x40ec46(0x5ec)]();}get['_focusedDrawings'](){const _0x50a450=_0x94e517;return this[_0x50a450(0x4ec)]['getFocusDrawings']();}['_initCopyPaste'](){const _0x1c7300=_0x94e517;this[_0x1c7300(0x5a6)](this[_0x1c7300(0x4b0)][_0x1c7300(0x184)]({'id':_univerjs_pro_sheets_chart[_0x1c7300(0x4e8)],'onBeforeCopy':(_0x3b1429,_0x2e4744,_0x5a7d4c,_0x122393)=>{const _0x158f70=_0x1c7300;this[_0x158f70(0x5a1)]=null;const _0x32cce0=this[_0x158f70(0x507)];if(_0x32cce0[_0x158f70(0x22b)]){const _0x64a9b3=_0x32cce0[_0x158f70(0x5b4)](_0x6f5098=>_0x6f5098[_0x158f70(0x48b)]===_univerjs_core[_0x158f70(0x44f)][_0x158f70(0x460)]);if(_0x64a9b3['length']===0x0)return;this['_copyInfo']={'unitId':_0x3b1429,'subUnitId':_0x2e4744,'copyType':_0x122393,'drawings':_0x64a9b3};}else this[_0x158f70(0x3ca)](_0x3b1429,_0x2e4744,_0x5a7d4c,_0x122393);},'onPasteCells':(_0x47f5c8,_0x1b264c,_0x12a536,_0x5fc14c)=>{const _0x15ed19=_0x1c7300;if(!this[_0x15ed19(0x5a1)])return{'redos':[],'undos':[]};const {pasteType:_0x1466d8}=_0x5fc14c;if(_0x1466d8!==_univerjs_sheets_ui[_0x15ed19(0x567)][_0x15ed19(0x1e7)])return{'redos':[],'undos':[]};return this[_0x15ed19(0x20a)](_0x1b264c,this[_0x15ed19(0x5a1)]['copyType']===_univerjs_sheets_ui[_0x15ed19(0x420)][_0x15ed19(0x451)]);},'onPasteUnrecognized':_0x5cb4d2=>{const _0x35e5ca=_0x1c7300;if(!this[_0x35e5ca(0x5a1)])return{'redos':[],'undos':[]};return this[_0x35e5ca(0x20a)](_0x5cb4d2,this['_copyInfo']['copyType']===_univerjs_sheets_ui['COPY_TYPE'][_0x35e5ca(0x451)]);}}));}['_createCopyInfoByRange'](_0x268c18,_0x341379,_0x2c87cb,_0x1abc97){const _0x5c7e8a=_0x94e517,_0x72844b=this['_sheetSkeletonService'][_0x5c7e8a(0x570)](_0x268c18,_0x341379);if(!_0x72844b)return;const _0x48d3c0=(0x0,_univerjs_sheets['attachRangeWithCoord'])(_0x72844b,_0x2c87cb);if(!_0x48d3c0)return;const {startX:_0x4eb024,endX:_0x3cb709,startY:_0x57e1fb,endY:_0x405ab4}=_0x48d3c0,_0x762a46=this[_0x5c7e8a(0x4ec)][_0x5c7e8a(0x5f5)](_0x268c18,_0x341379),_0x2aff9f=this[_0x5c7e8a(0x507)][_0x5c7e8a(0x49b)]();for(const [_0x2ec0cb,_0x19cdf6]of Object['entries'](_0x762a46)){if(_0x19cdf6[_0x5c7e8a(0x48b)]!==_univerjs_core[_0x5c7e8a(0x44f)]['DRAWING_CHART'])continue;const {transform:_0x1a9b39}=_0x19cdf6;if(!_0x1a9b39)continue;const {left:left=0x0,top:top=0x0,width:width=0x0,height:height=0x0}=_0x1a9b39;if(_0x4eb024<=left&&_0x3cb709>=left+width&&_0x57e1fb<=top&&_0x405ab4>=top+height)_0x2aff9f[_0x5c7e8a(0x207)](_0x19cdf6);}if(_0x2aff9f[_0x5c7e8a(0x22b)]>0x0)this[_0x5c7e8a(0x5a1)]={'unitId':_0x268c18,'subUnitId':_0x341379,'copyType':_0x1abc97,'copyRange':_0x2c87cb,'drawings':_0x2aff9f};}[_0x94e517(0x20a)](_0x25c221,_0x3e9efe){const _0x1c3ffb=_0x94e517,{unitId:_0x4f7cf8,subUnitId:_0xc0555f,range:_0x35f903}=_0x25c221,_0x1827a0=this[_0x1c3ffb(0x1a4)]['getSkeleton'](_0x4f7cf8,_0xc0555f);if(!_0x1827a0)return{'redos':[],'undos':[]};const _0x4b1a20=(0x0,_univerjs_sheets[_0x1c3ffb(0x2ef)])(_0x35f903),{unitId:_0x256f4b,subUnitId:_0x129f17,copyRange:_0x335523,drawings:_0x1b245e}=this[_0x1c3ffb(0x5a1)],_0x57d55c=this[_0x1c3ffb(0x1a4)][_0x1c3ffb(0x570)](_0x256f4b,_0x129f17);if(!_0x57d55c)return{'redos':[],'undos':[]};const _0x270013=[],_0x1ee5ed=[];for(const _0x43e6f1 of _0x1b245e){const {drawingId:_0x3e84dc,transform:_0x54dcea,sheetTransform:_0x109bcc}=_0x43e6f1,_0x47738a=this[_0x1c3ffb(0x293)][_0x1c3ffb(0x196)](_0x3e84dc);if(!_0x47738a||!_0x54dcea||!_0x109bcc)continue;const _0x5894a6=this[_0x1c3ffb(0x23f)]({'transform':_0x54dcea,'sheetTransform':_0x109bcc},{'skeleton':_0x57d55c,'range':_0x335523},{'skeleton':_0x1827a0,'range':_0x4b1a20});if(_0x3e9efe){const {redos:_0x1fef00,undos:_0x23c170}=this[_0x1c3ffb(0x391)]({'fromUnitId':_0x256f4b,'fromSubUnitId':_0x129f17,'toUnitId':_0x4f7cf8,'toSubUnitId':_0xc0555f,'drawing':_0x43e6f1,'newTransforms':_0x5894a6},_0x47738a);_0x270013['push'](..._0x1fef00),_0x1ee5ed[_0x1c3ffb(0x207)](..._0x23c170);continue;}const {redos:_0x3e50a1,undos:_0x210640}=this[_0x1c3ffb(0x2f0)]({'toUnitId':_0x4f7cf8,'toSubUnitId':_0xc0555f,'drawing':_0x43e6f1,'newTransforms':_0x5894a6},_0x47738a);_0x270013[_0x1c3ffb(0x207)](..._0x3e50a1),_0x1ee5ed['push'](..._0x210640);}return{'redos':_0x270013,'undos':_0x1ee5ed};}[_0x94e517(0x391)](_0x54787b,_0x364ee9){const _0x93a39c=_0x94e517,{fromUnitId:_0x125a23,fromSubUnitId:_0x442486,toUnitId:_0x3ddf01,toSubUnitId:_0x51cd7d,drawing:_0x1c5724,newTransforms:_0x38f5ab}=_0x54787b,_0x235048={..._0x1c5724,'unitId':_0x3ddf01,'subUnitId':_0x51cd7d,'transform':_0x38f5ab['transform'],'sheetTransform':_0x38f5ab[_0x93a39c(0x5df)]};if(_0x3ddf01===_0x125a23&&_0x51cd7d===_0x442486){const {redo:_0x163550,undo:_0x4a553d,objects:_0xfbb6a4}=this[_0x93a39c(0x4ec)][_0x93a39c(0x3d0)]([_0x235048]);return{'redos':[{'id':_univerjs_sheets_drawing[_0x93a39c(0x1f5)]['id'],'params':{'unitId':_0x3ddf01,'subUnitId':_0x51cd7d,'type':_univerjs_sheets_drawing['DrawingApplyType'][_0x93a39c(0x19d)],'op':_0x163550,'objects':_0xfbb6a4}}],'undos':[{'id':_univerjs_sheets_drawing['SetDrawingApplyMutation']['id'],'params':{'unitId':_0x3ddf01,'subUnitId':_0x51cd7d,'type':_univerjs_sheets_drawing['DrawingApplyType']['UPDATE'],'op':_0x4a553d,'objects':_0xfbb6a4}}]};}else{const _0x3be320=this[_0x93a39c(0x4ec)][_0x93a39c(0x59c)]([_0x1c5724]),_0x10c73a=this[_0x93a39c(0x4ec)][_0x93a39c(0x369)]([_0x235048]),{rangeInfo:_0x4a7422,isRowDirection:_0x31a090}=_0x364ee9[_0x93a39c(0x26b)]['getRangeInfo'](),{chartType:_0x2c1679,context:_0x4ccfd7,style:_0x5792b5,dataAggregation:_0x172b48}=_0x364ee9[_0x93a39c(0x5b5)]();return{'redos':[{'id':_univerjs_sheets_drawing['SetDrawingApplyMutation']['id'],'params':{'unitId':_0x125a23,'subUnitId':_0x442486,'type':_univerjs_sheets_drawing[_0x93a39c(0x1ec)]['REMOVE'],'op':_0x3be320['redo'],'objects':_0x3be320[_0x93a39c(0x142)]}},{'id':_univerjs_pro_sheets_chart[_0x93a39c(0x292)]['id'],'params':{'unitId':_0x125a23,'subUnitId':_0x442486,'chartId':_0x1c5724[_0x93a39c(0x15a)]}},{'id':_univerjs_sheets_drawing[_0x93a39c(0x1f5)]['id'],'params':{'unitId':_0x3ddf01,'subUnitId':_0x51cd7d,'type':_univerjs_sheets_drawing[_0x93a39c(0x1ec)][_0x93a39c(0x492)],'op':_0x10c73a[_0x93a39c(0x4a6)],'objects':_0x10c73a[_0x93a39c(0x142)]}},{'id':_univerjs_pro_sheets_chart[_0x93a39c(0x2a9)]['id'],'params':{'unitId':_0x3ddf01,'subUnitId':_0x51cd7d,'chartId':_0x1c5724[_0x93a39c(0x15a)],'chartType':_0x2c1679,'range':_0x4a7422[_0x93a39c(0x2ab)],'rangeUnitId':_0x4a7422['unitId'],'rangeSubUnitId':_0x4a7422['subUnitId'],'isRowDirection':_0x31a090,'context':_0x4ccfd7,'style':_0x5792b5,'dataAggregation':_0x172b48}}],'undos':[{'id':_univerjs_sheets_drawing[_0x93a39c(0x1f5)]['id'],'params':{'unitId':_0x125a23,'subUnitId':_0x442486,'type':_univerjs_sheets_drawing[_0x93a39c(0x1ec)][_0x93a39c(0x492)],'op':_0x3be320[_0x93a39c(0x5f8)],'objects':_0x3be320[_0x93a39c(0x142)]}},{'id':_univerjs_pro_sheets_chart[_0x93a39c(0x2a9)]['id'],'params':{'unitId':_0x125a23,'subUnitId':_0x442486,'chartId':_0x1c5724['drawingId'],'chartType':_0x2c1679,'range':_0x4a7422[_0x93a39c(0x2ab)],'rangeUnitId':_0x4a7422['unitId'],'rangeSubUnitId':_0x4a7422[_0x93a39c(0x3fd)],'isRowDirection':_0x31a090,'context':_0x4ccfd7,'style':_0x5792b5,'dataAggregation':_0x172b48}},{'id':_univerjs_sheets_drawing['SetDrawingApplyMutation']['id'],'params':{'unitId':_0x3ddf01,'subUnitId':_0x51cd7d,'type':_univerjs_sheets_drawing['DrawingApplyType'][_0x93a39c(0x344)],'op':_0x10c73a[_0x93a39c(0x5f8)],'objects':_0x10c73a['objects']}},{'id':_univerjs_pro_sheets_chart['RemoveSheetsChartMutation']['id'],'params':{'unitId':_0x3ddf01,'subUnitId':_0x51cd7d,'chartId':_0x1c5724['drawingId']}}]};}}[_0x94e517(0x2f0)](_0x53ff52,_0x7f6efb){const _0x477edf=_0x94e517,{toUnitId:_0x3e8534,toSubUnitId:_0x407ee1,drawing:_0x38934a,newTransforms:_0xcfb5d}=_0x53ff52,_0x3a401c=(0x0,_univerjs_core['generateRandomId'])(),_0x568108={..._0x38934a,'unitId':_0x3e8534,'subUnitId':_0x407ee1,'drawingId':_0x3a401c,'transform':_0xcfb5d[_0x477edf(0x402)],'sheetTransform':_0xcfb5d[_0x477edf(0x5df)]},{redo:_0x496227,undo:_0x6371d2,objects:_0x4906ea}=this[_0x477edf(0x4ec)][_0x477edf(0x369)]([_0x568108]),{rangeInfo:_0x1735fb,isRowDirection:_0x24ca46}=_0x7f6efb[_0x477edf(0x26b)][_0x477edf(0x311)](),{chartType:_0x28b513,context:_0x53d7d0,style:_0x54f99b,dataAggregation:_0x7be712}=_0x7f6efb[_0x477edf(0x5b5)]();return{'redos':[{'id':_univerjs_sheets_drawing[_0x477edf(0x1f5)]['id'],'params':{'unitId':_0x3e8534,'subUnitId':_0x407ee1,'type':_univerjs_sheets_drawing[_0x477edf(0x1ec)][_0x477edf(0x492)],'op':_0x496227,'objects':_0x4906ea}},{'id':_univerjs_pro_sheets_chart[_0x477edf(0x2a9)]['id'],'params':{'unitId':_0x3e8534,'subUnitId':_0x407ee1,'chartId':_0x3a401c,'chartType':_0x28b513,'range':_0x1735fb[_0x477edf(0x2ab)],'rangeUnitId':_0x1735fb['unitId'],'rangeSubUnitId':_0x1735fb['subUnitId'],'isRowDirection':_0x24ca46,'context':_0x53d7d0,'style':_0x54f99b,'dataAggregation':_0x7be712}}],'undos':[{'id':_univerjs_sheets_drawing['SetDrawingApplyMutation']['id'],'params':{'unitId':_0x3e8534,'subUnitId':_0x407ee1,'type':_univerjs_sheets_drawing[_0x477edf(0x1ec)][_0x477edf(0x344)],'op':_0x6371d2,'objects':_0x4906ea}},{'id':_univerjs_pro_sheets_chart[_0x477edf(0x292)]['id'],'params':{'unitId':_0x3e8534,'subUnitId':_0x407ee1,'chartId':_0x3a401c}}]};}[_0x94e517(0x23f)](_0x1f07d3,_0x466809,_0x4a5807){const _0x383891=_0x94e517;var _0xf7d80f;const {range:_0x1b609f,skeleton:_0x34e3df}=_0x466809,{range:_0x2feb60,skeleton:_0x35a79e}=_0x4a5807,{transform:_0x2027ea,sheetTransform:_0x442d12}=_0x1f07d3,_0x525b78={..._0x2027ea};if(_0x1b609f){const _0x52cdf6=(0x0,_univerjs_sheets['attachRangeWithCoord'])(_0x34e3df,_0x1b609f),_0x3200e7=(0x0,_univerjs_sheets[_0x383891(0x1ba)])(_0x35a79e,_0x2feb60);if(_0x52cdf6&&_0x3200e7){var _0x2c4ca9,_0x5f51e0;const _0x17fb6d=_0x3200e7[_0x383891(0x3a1)]-_0x52cdf6[_0x383891(0x3a1)],_0x13ef52=_0x3200e7[_0x383891(0x381)]-_0x52cdf6['startY'];_0x525b78['left']=((_0x2c4ca9=_0x525b78['left'])!==null&&_0x2c4ca9!==void 0x0?_0x2c4ca9:0x0)+_0x17fb6d,_0x525b78['top']=((_0x5f51e0=_0x525b78[_0x383891(0x399)])!==null&&_0x5f51e0!==void 0x0?_0x5f51e0:0x0)+_0x13ef52;}}else{const _0x32cc5b=(0x0,_univerjs_sheets[_0x383891(0x1ba)])(_0x35a79e,_0x2feb60);_0x525b78['left']=_0x32cc5b===null||_0x32cc5b===void 0x0?void 0x0:_0x32cc5b[_0x383891(0x3a1)],_0x525b78['top']=_0x32cc5b===null||_0x32cc5b===void 0x0?void 0x0:_0x32cc5b[_0x383891(0x381)];}return{'transform':_0x525b78,'sheetTransform':(_0xf7d80f=(0x0,_univerjs_sheets_drawing[_0x383891(0x1e5)])(_0x525b78,_0x35a79e))!==null&&_0xf7d80f!==void 0x0?_0xf7d80f:_0x442d12};}};SheetsChartClipboardController=__decorate([__decorateParam(0x0,(0x0,_univerjs_core[_0x94e517(0x362)])(_univerjs_sheets[_0x94e517(0x4a5)])),__decorateParam(0x1,(0x0,_univerjs_core[_0x94e517(0x362)])(_univerjs_sheets_ui[_0x94e517(0x2d3)])),__decorateParam(0x2,(0x0,_univerjs_core[_0x94e517(0x362)])(_univerjs_sheets_drawing[_0x94e517(0x355)])),__decorateParam(0x3,(0x0,_univerjs_core[_0x94e517(0x362)])(_univerjs_pro_sheets_chart['ChartModelService']))],SheetsChartClipboardController);let SheetsChartUIPermissionController=class SheetsChartUIPermissionController extends _univerjs_core[_0x94e517(0x188)]{constructor(_0x2e40a3,_0x3e2d14,_0xc407db,_0x33c440){const _0x2b7742=_0x94e517;super(),this[_0x2b7742(0x3b5)]=_0x2e40a3,this['_localeService']=_0x3e2d14,this[_0x2b7742(0x3e8)]=_0xc407db,this[_0x2b7742(0x3ab)]=_0x33c440,this['_initPermission']();}[_0x94e517(0x3c5)](){const _0x5a4b09=_0x94e517;this[_0x5a4b09(0x5a6)](this['_commandService'][_0x5a4b09(0x31f)](_0x38cbb9=>{const _0x3bcb53=_0x5a4b09;let _0x341786,_0xeed0d5;if(_0x38cbb9['id']===_univerjs_pro_sheets_chart[_0x3bcb53(0x18a)]['id']){const _0x52dd6c=_0x38cbb9[_0x3bcb53(0x3ef)];_0x341786=_0x52dd6c[_0x3bcb53(0x51e)],_0xeed0d5=_0x52dd6c[_0x3bcb53(0x3fd)];}else{if(_0x38cbb9['id']===_univerjs_pro_sheets_chart[_0x3bcb53(0x45f)]['id']||_0x38cbb9['id']===_univerjs_pro_sheets_chart['ChartUpdateSourceCommand']['id']){const _0x140c51=_0x38cbb9[_0x3bcb53(0x3ef)];_0x341786=_0x140c51['unitId'],_0xeed0d5=this[_0x3bcb53(0x3ab)][_0x3bcb53(0x4fb)](_0x140c51['unitId'],_0x140c51[_0x3bcb53(0x32a)]);}}if(!_0x341786||!_0xeed0d5)return;if(!this[_0x3bcb53(0x3e8)]['permissionCheckWithoutRange']({'workbookTypes':[_univerjs_sheets[_0x3bcb53(0x37e)]],'worksheetTypes':[_univerjs_sheets[_0x3bcb53(0x595)]]},_0x341786,_0xeed0d5))this[_0x3bcb53(0x3e8)][_0x3bcb53(0x4ab)](this[_0x3bcb53(0x2bb)]['t'](_0x3bcb53(0x5e4)));}));}};SheetsChartUIPermissionController=__decorate([__decorateParam(0x0,(0x0,_univerjs_core[_0x94e517(0x362)])(_univerjs_core['ICommandService'])),__decorateParam(0x1,(0x0,_univerjs_core[_0x94e517(0x362)])(_univerjs_core[_0x94e517(0x4e1)])),__decorateParam(0x2,(0x0,_univerjs_core[_0x94e517(0x362)])(_univerjs_sheets['SheetPermissionCheckController'])),__decorateParam(0x3,(0x0,_univerjs_core[_0x94e517(0x362)])(_univerjs_pro_sheets_chart[_0x94e517(0x22a)]))],SheetsChartUIPermissionController);function _0xe66a(){const _0x12028a=['dialog.numfmt.negativeNumberTypes','value','chart.waterfall.subtotalLegendText','_univerInstanceService','xAxisTitle','univer-mb-2\x20univer-flex\x20univer-flex-1\x20univer-flex-col\x20univer-justify-between','titles','SeriesName','toStringTag','_chartHostProviderService','mount','Pin','chart.min','time','lineOrArea','oClearImmediate','radar','appendChild','\x22#,##0.00_);[Red](\x22','chart.shape.arrow','reverse','chart.waterfall.negativeStyle','WordCloudMuskImageService','drawMask','chart.dashType.dash','chart.position','DisposableCollection','getBoundingClientRect','chart.trendline.exp','getImageData','getSheetCommandTarget','univer-flex\x20univer-items-center\x20univer-justify-between','seriesValues','mousemove','drawingType','wordcloudabort','sizeRange','4943040gIjbiA','scrollbarClassName','SeriesLabelPosition','defaultChartConfig','INSERT','_sheetCanvasPopManagerService','57nGxmhi','(1,235)\x20','Hide','EmptyRoundRect','univer-my-2\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','open','symbolType','slice','webkitSetImmediate','Text','univer-mb-2\x20univer-flex\x20univer-items-center','chart.titles.titlePosition','SheetCanvasPopManagerService','layout','deserializeRangeWithSheet','Error','univer-flex\x20univer-h-4\x20univer-flex-1\x20univer-items-center','SheetSkeletonService','redo','chart.addSeries','axis','indexOf','occupied','blockExecuteWithoutPermission','chart.legendVisualMapType.','parseInt','#fff','chart.axisPositionType.','_sheetClipboardService','bubbleSizeSeriesId','getRenderColor','point','seriesResourceIndexes','symbolSize','text','iterator','nodeShape','keys','setAttribute','MM-dd\x20A/P\x20hh:mm','chart.axes.rightAxis','sqrt','_registerChartIcons','getElementById','yAxisTitle','useDependency','chart.shape.emptyCircle','position','rightYAxisTitle','positive','createIdentifier','chart.lineType.line','Polygon','chart.insertChart','axes','style','initPanel','chart.line','rgba(0,\x200,\x200,\x200)','Segmented','chart.styleEditPanel.showDataLabels','LegendPositionEnum','chart.withOpacity','IDrawingManagerService','sheet.operation.hide-chart-panel','toString','BarChartIcon','hsl(','_sheetCanvasFloatDomManagerService','clearCanvas','clearRect','Middle','chartTypes.area','univer-sheet-chart-format-dialog','border-box','number','orient','LocaleService','chart.ticks.majorTick','BarStacked','RadarShape','lineVisible','1930年08月05日','Pareto','SHEETS_CHART_PLUGIN_NAME','InputNumber','Pie','Value','_sheetDrawingService','LinearIcon','50%\x2040%','chartTypes.relation','univer-mt-1.5\x20univer-text-sm\x20univer-leading-5\x20univer-text-gray-600\x20dark:!univer-text-gray-200','Right','2952546qpEaPq','Multiple','yyyy-MM-dd','initData','univer-w-full\x20!univer-min-w-0','getSheetBySheetId','trendlines','chart.shape.emptySquare','chart.invalidType.connectDataPointsWithStraightLines','getSubUnitId','subtotal','getHostSize','resize','univer-mt-2','selectMode','univer-text-2xl','getUnit','univer-mb-2\x20univer-h-5\x20univer-text-sm\x20univer-font-medium\x20univer-leading-5','chart.stackType.stack','boxSizing','abortThreshold','_focusedDrawings','EmptyDiamond','1930-08-05','yAxisOptions','valueScale','univer-flex\x20univer-items-center','chartTypes.scatter','univer-mx-auto\x20univer-mt-2\x20univer-h-1\x20univer-w-1/2\x20univer-rounded-md\x20univer-bg-primary-600','bounds','runtime','dialog.numfmt.thousandthPercentileDesc','concat','onTransformChange$','constructor','circular','chart.styleEditPanel.labelText','ensureHost','univer-absolute\x20univer-right-2\x20univer-top-2','shadowBlur','chartModelAdded$','IMessageService','None','univer-margin-left-[1.5px]\x20univer-font-weight-500\x20univer-text-xs','unitId','delete','areaOpacity','_debounceHandleMap','Circle','focused$','chartTypes.barPercentStacked','rotateRatio','specialChartWidthMap','abs','IUniverInstanceService','handleActiveSubUnitChange','getLayoutRect','scaleX','waterfallStack','univer-mb-2\x20univer-flex\x20univer-justify-between\x20univer-gap-2','Left','univer-mb-2\x20univer-flex\x20univer-flex-1\x20univer-flex-row\x20univer-justify-between','chart.styleEditPanel.pieDigitalFixed','oSetImmediate','dialog.numfmt.currencyDesc','focus','createDimensions','mozClearImmediate','univer-flex\x20univer-items-center\x20univer-text-base','chart.trendline.showFormula','1,235)','list','chart.styleEditPanel.labelPosition','symbol','getName','transparent','getBoxLayoutParams','SheetCanvasFloatDomManagerService','chart.titles.yAxisTitle','showLabelLine','removeViewState','univer-mb-4\x20univer-text-sm\x20univer-font-medium\x20univer-text-gray-900\x20dark:!univer-text-white','ColorPicker','Sankey','MEDIA','registerWordCloud','_debounceHandle','item','univer-box-border\x20univer-h-8','ColumnChartIcon','Rect','textStyle','univer-flex\x20univer-flex-col\x20univer-gap-4','chart.trendline.movingAvg','chart.bubble.yAxis','round','_renderManagerService','chart.indicatorLabel','chart.seriesDefaultName','PieChartIcon','continuous','univer-sheet-chart-format-dialog-id','indicatorLabelTextColor','RelationChartLayoutEnum','chart.waterfall.stacked','yyyy\x22年\x22MM\x22月\x22dd\x22日\x22','isRowDirection','getMenuHiddenObservable','Auto','Bottom','chart.styleEditPanel.useDateAxis','chart.shape.emptyRect','Column','rotationStep','chart.shape.emptyArrow','EmptyTriangle','subTitleFontSize','PREDEFINED_HOOK_NAME','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','chart.gridlinesAndTicks','blur','chart.align.right','chart.lineType.step','chart.indicatorLine','funnelUseAbsValue','isArray','getSkeleton','color','chartTypes.boxplot','getOwnPropertyDescriptor','Horizontal','triangle-forward','Tools','chart.positionType.','area','circle','Stack','DependentOn','deg)\x20','DropdownMenu','putImageData','chart.value','root','_model','chart.styleEditPanel.halfPie','chart.none','onStarting','Diamond','labelStyle','univer-mt-5\x20univer-flex\x20univer-justify-end','chart.axes.useRightAxis','Numeric','COMMAND','univer-grid\x20univer-w-[290px]\x20univer-grid-cols-4\x20univer-gap-2\x20univer-p-2','chart.legendSelectModeType.','entries','img','setItemGraphicEl','chart.alignY.','bold','selectedMode','chart.border','isRosePie','WorksheetEditPermission','UNIVER_SHEET','chart.addDataPoint','chart.stackType.percent','object','chartId','Stacked','getBatchRemoveOp','sheetDisposed$','getHeight','wordCloudShape','primary','_copyInfo','indicatorLabelColor','chart.chartType','remove$','AxisValueType','disposeWithMe','deepClone','_getSceneAndTransformerByDrawingSearch','chartTypes.wordCloud','Percentage','univer-mb-2\x20univer-w-full\x20!univer-min-w-0','sheet.numfmt.general','Link','univer-mb-2\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','wordCloud','WaterfallStackTypeEnum','touchend','force','rotationRange','filter','serialize','Invalid\x20mask\x20image','assign','AreaLineStyle','getWidth','style$','jsxs','univer-text-sm\x20univer-leading-6\x20univer-text-gray-900\x20dark:!univer-text-white','chart.category','fill','div','univer-flex\x20univer-flex-col\x20univer-gap-2.5','chart.trendline.name','univer-w-full\x20univer-rounded-lg\x20univer-bg-gray-50\x20univer-p-0\x20dark:!univer-bg-gray-900','chartTypeCanUseTrendLine','70%','movingAvg','digitalFixed','min','chart.styleEditPanel.repeatWordCould','align','combineLatestWith','univer-text-sm\x20univer-text-gray-900\x20dark:!univer-text-white','chart.lineType.smooth','isHalfPie','chart.withShape','chart.shape.circle','!univer-min-w-0\x20univer-flex-1','ICommandService','funnelGap','asCategory','suffix','EmptyPin','_createHost','chart.align.','negative','isSupported','univer-text-base','FOCUSING_COMMON_DRAWINGS','getDrawingByParam','mergeMenu','chart.percentage','sheetTransform','Input','call','chart.shape.none','univer-w-[136px]','permission.dialog.editErr','_getWatermark','RoundRect','_sidebarDisposable','\x22Trebuchet\x20MS\x22,\x20\x22Heiti\x20TC\x22,\x20\x22微軟正黑體\x22,\x20\x22Arial\x20Unicode\x20MS\x22,\x20\x22Droid\x20Fallback\x20Sans\x22,\x20sans-serif','chartTypes.areaStacked','gravity','univer-mr-5\x20univer-cursor-default\x20univer-py-4\x20univer-text-center\x20univer-text-sm\x20univer-font-semibold','_initCopyPaste','ellipticity','Button','univer-text-primary-600','titlePosition','fillText','下午1:30:30','extendChartView','getUnitId','getDrawingData','gridSize','chart.align.left','undo','univer-size-4','touchDependencies','SankeyIcon','minRotation','querySelector','categoryIndex','objects','width','#,##0.00_);[Red]#,##0.00','blurScope','#,##0.00_);#,##0.00','helper','chart.relation.useValueAsSymbolSize','enableHoverEmphasis','chart.styleEditPanel.labelRotate','AreaChartIcon','chart.waterfall.showSubtotal','error','chart.waterfall.positive','waterfall','rotateLabel','RadarChartIcon','univer-my-2','_chartRenderService','config$','drawImage','getItemVisual','SheetSkeletonManagerService','remove','Single','drawingId','\x22#,##0.00','pieBorderColor','nowrap','setOption','function','combination','A/P\x20h:mm','CategoryType','log','getRenderById','Center','chart.axes.axisOptions','dialog.setFormat','current','chart.max','fontFamily','Empty','baseOn','UniverSheetsChartUIPlugin','rotate','chartTypes.combination','legendStyle','otherChartType','_drawingManagerService','univer-px-4\x20univer-pb-2.5\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','random-dark','19142tpKTas','getChartDataSource','useCallback','find','rightYAxisOptions','chart.shape.emptyRoundRect','下午1:30','chart.styleEditPanel.reverseAxisOrder','aggregate','title','List','heatmapMax','shape','univer-inline-flex\x20univer-items-center\x20univer-gap-1\x20univer-justify-self-end\x20univer-text-xs\x20univer-font-medium\x20univer-text-primary-600','removeHost$','addClipboardHook','Fragment','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','chartTypes.heatmap','Disposable','chartTypes.pie','InsertChartCommand','rangeInfo$','AreaStacked','dialog.numfmt.currencyTypes','chart.styleEditPanel.useAbsValue','deriveStateFromActiveSheet$','univer-text-gray-500','chart.visualMapScope','chart.trendline.addTrendLine','BoxplotIcon','showR2','save','getChartModel','IContextService','Secondary','add','dialog.numfmt.confirm','chart.shape.polygon','Line','UPDATE','xAxis','wait','CopySheetCommand','getViewState','indicatorLineType','getCurrentTypeOfUnit$','_sheetSkeletonService','MultipleSelect','right','weight','numfmt','isPatternEqualWithoutDecimal','join','chart.relation.layoutType','trendline','TRANSFORM_CHANGE_OBSERVABLE_TYPE','applyStyle','preventDefault','items','#ffffff','values','center','toFixed','sheet.numfmt.thousandthPercentile','getCurrentUnitForType','radio','1,234.56','maxRotation','attachRangeWithCoord','context$','pentagon','LineChartIcon','TextVerticalAlign','chartBitsUtils','Scatter','chartTypes.pareto','exp','getRenderModel','DataOrientation','checkHost','IncreaseIcon','univer-leading-1\x20univer-flex\x20univer-cursor-pointer\x20univer-items-center\x20univer-gap-1\x20univer-rounded-sm\x20univer-px-1.5\x20univer-py-1','getCurrentUnitOfType','parseFloat','1510baElWg','RibbonInsertGroup','chart.deleteChart','chartTypes.barStacked','_contextService','ChartIcon','getDataSource','trendlineValues','chart.styleEditPanel.showLabels','className','_removeHost$','italic','onCommandExecuted','chart.styleEditPanel.gap','chart.chartBorderColor','LinePointShape','paretoStyle','heatmapMin','getRuntimeContext','drawn','relation','close','debounceTime','keepAspect','dialog.numfmt.thousandthPercentile','hasPaddingAngle','chart.withThickness','transformToDrawingPosition','relationNodeShape','DEFAULT_PASTE','chart.setupChart','getData','shrinkToFit','_renderDebounceMap','DrawingApplyType','1,235','funnel','univer-size-5','_viewState','map','Area','dashType','\x22fillOpacity\x22','SetDrawingApplyMutation','IDialogService','seriesStyleMap','jsx','interceptCommand','all','pareto','sheet.operation.open-chart-panel','heatmap','univer-mb-2','_currentModel','content','_sheetsChartUIService','canvas','drawOutOfBound','univer-mt-4','emphasis.textStyle.fontWeight','none','push','dialog.numfmt.general','getItemModel','_generatePasteMutations','subscribe','univer-flex\x20univer-h-7\x20univer-w-full\x20univer-flex-row\x20univer-items-center','dialog.numfmt.date','stateAnimation','univer-mr-2\x20univer-text-2xl','test','sheet.numfmt.accounting','forceOption','EmptySquare','startsWith','firstChartType','msClearImmediate','FOCUSING_PANEL_EDITOR','InvalidValueType','shuffle','univer-flex','chart.waterfall.subtotalStyle','useSubtotal','hasOwnProperty','Fail\x20to\x20create\x20float\x20dom','forEach','fillOpacity','repulsion','-1,234.56','gridLine','linear','Solid','shadowColor','dialog.numfmt.currency','chart.titles.titleFormat','borderRadius','SheetsChartService','length','_chartInstanceMap','executeCommand','Doughnut','Radar','useObservable','easing','sidebarOptions$','clsx','dialog.numfmt.cancel','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','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','StackType','chart.openChartPanel','wordcloudstop','useAbsValue','init','univer-my-2\x20univer-flex\x20univer-flex-1\x20univer-flex-col\x20univer-justify-between','printChart','edgeLength','_updateTransform','chart.settingsLabels.useAsCategoryLabels','chart.shape.emptyTriangle','getActiveSheet','chart.gridlines.majorGridlines','includes','univer-mb-2\x20univer-mt-4\x20univer-text-sm\x20univer-font-medium\x20univer-text-gray-900\x20dark:!univer-text-white','replace','gap','onRendered','chartTypes.line','key','chart.relation.auto','ChartModelService','classes','categoryList','setContextValue','section','Outside','endColumn','sin','layoutAnimation','PRINT_CHART_COMPONENT_KEY','visualMapType','univer-mb-2\x20univer-box-border\x20univer-flex\x20univer-justify-between\x20univer-gap-2','dimension','PowerLineIcon','detail','FunnelIcon','Funnel','dispose','splice','string','allSeriesId','formulaColor','PieLabelPosition','chart.titles.titleAlign','maxDecimals','textStyle.fontFamily','executeChartUpdateSourceConfig','chart.host.provider','max','BarPercentStacked','stackType','dataSource','bubbleXAxis','univer-leading-1\x20univer-flex\x20univer-cursor-pointer\x20univer-items-center\x20univer-rounded-sm\x20univer-px-1.5\x20univer-py-1','getModel','executeChartUpdateConfig','Combination','_mountNodes','click','chart.customChart','dialog.numfmt.decimalPlaces','Dropdown','getTheme','chart.withSize','ChartTypeBits','seriesResourceList','M\x22月\x22d\x22日\x22','random-light','getTime','SELECTOR','chart.waterfall.arrangement','MM-dd','render','chart.bubble.label','categoryType','some','createElement','legend','scene','absolute','chart.indicatorLineType','1193568mMDrvI','ChartTrendlineType','mapArray','sheet.command.menu-insert-chart','defineProperty','_rangeSelectMode','chart.styleEditPanel.pieValSuffix','getAllowedChartTypes','linearMap','RemoveSheetsChartMutation','_chartModelService','children','fontWeight','chart.dataRange','stateTransition','chart.withFormat','PercentStack','getRegisteredThemes','Bubble','univer-flex-1','dialog.numfmt.dateDesc','add$','setBorder','chart.axes.horizontalAxis','SheetsChartUIController','univer-text-xs','removeEventListener','SelectList','IRuntimeAxisPosition','chart.withColor','chart.trendline.order','univer-leading-1\x20univer-cursor-pointer\x20univer-rounded-sm\x20univer-px-1.5\x20univer-py-1','InsertSheetsChartMutation','wordCloudRepeat','range','backgroundColor','textStyle.fontWeight','77445mpngkG','registerFeatureMenu','borderClassName','WaterfallChartIcon','EChartRenderModel','chart.styleEditPanel.dateAxisTips','_openPanel','chart.allSeries','devicePixelRatio','RadioGroup','chart.shape.rect','CloudOutlineIcon','Break','_localeService','Injector','chart.styleEditPanel.showLabelLine','toSpec','data','paretoDataPointsOptions','clientX','packageName','Row','1930/08/05','runtimeAxes','_sidebarService','doughnutHole','Boxplot','square','setImmediate','append','pie','cardioid','59204PHhoZc','Bar','toPrimitive','chart.trendline.pow','_init','ISheetClipboardService','useEffect','isFinite','dialog.numfmt.accountingDesc','chart.indicatorLineColor','textBaseline','checkChartCanRender','hidePanel','chart.trendline.displayName','univer-mx-auto\x20univer-mt-2\x20univer-h-1\x20univer-w-1/2\x20univer-rounded-md','h:mm','Select','clearImmediate','chart.axes.verticalAxis','chart.seriesBlock.format','chart.categoryDefaultName','Smooth','chart.bubble.size','touches','setTimeout','middle','Percent','SelectModeEnum','fillRect','relationLayout','reduce','eachSeriesByType','Top','discreteRangeToRange','_generateCopyPasteMutations','bubbleSeries','subscribeEvent','visible','chart.trendline.linear','chart.titles.mainTitle','sheet.chart.edit.panel','_menuManagerService','bubbleCategoryList','each','openChartPanelById','sheet.numfmt.date','prototype','radarFill','chart.dataNodeShape','.chart-host','ColumnStacked','show','startColumn','chart.invalidType.gaps','ChartUpdateSourceCommand','RangeSelector','duration','fillTextOffsetX','rotate(','focusDrawing','AreaPercentStacked','useDateAxis','_renderModelMap','format','webkitTapHighlightColor','h:mm:ss','Observable','getRangeInfo','getCurrentLastSelection','bubbleYAxis','chart.trendline.formula','labelContentType','MoreDownIcon','ScatterChartIcon','chartTypes.areaPercentStacked','univer-ml-2\x20univer-transition-transform','label','seriesIndex','showFormula','decorate','getContext','beforeCommandExecuted','FontColorDoubleIcon','_chartHostProvider','next','attributes','restore','webkitClearImmediate','combineLatest','_injector','series.wordCloud','substr','chartModelId','Relation','UniverInstanceType','_ensureChartInstance','border','measureText','darkMode$','8月5日','util','chart.dashType.solid','univer-mb-2\x20univer-text-sm\x20univer-font-medium','minSize','size','repeat','datetime','fillTextWidth','univer-mt-2\x20univer-text-sm\x20univer-leading-4\x20univer-text-gray-900\x20dark:!univer-text-white','chart.styleEditPanel.wordCloudShape','chart.gradientFill','px\x20','univer-mt-2.5','lineStyle','chart.relation.circular','Module','Accordion','chart.ticks.tickLength','REMOVE','SankeyChartIcon','minFontSize','target','useState','stopImmediatePropagation','SheetInterceptorService','createTextStyle','univer-box-border\x20univer-px-4\x20univer-pb-2.5\x20univer-text-sm\x20univer-text-gray-600\x20dark:!univer-text-gray-200','series','tooltipAxisColor','setRenderModel','rangeInfo','period','ondraw','domId','#,##0.00_);-#,##0.00','ISheetDrawingService','_themeService','gradientFill','dataPoints','registerRenderModel','getDefaultTheme','seriesIndexes','chart.dashType.dot','chart.relation.emphasis','ceil','chartType','univer-box-border\x20univer-flex\x20univer-h-8\x20univer-flex-1\x20univer-items-center\x20univer-justify-between\x20univer-px-3','chart.legendSelectMode','Inject','random','postMessage','layoutInstance','tooltip','getFocusedUnit','chart.relation.rotateLabel','getBatchAddOp','TextAlign','chart.relation.gravity','chart.shape.emptyPin','TitlePositionEnum','univer-text-sm\x20univer-font-medium\x20univer-text-gray-600\x20dark:!univer-text-gray-200','chart.trendline.r2','ComboChartIcon','scaleY','13:30:30','\x22#,##0.00_);-\x22','_(\x22','chart.chartStyle','chart.relation.repulsion','dialog.numfmt.dateTypes','univer-w-full','valueSuffix','height','pluginName','4805654OQcicN','weightFactor','WorkbookEditablePermission','activeChartModel','ExponentialIcon','startY','chart.styleEditPanel.padAngle','\x22#,##0.00_);[Red]\x22','chart.waterfall.negative','univer-justify-content-between\x20univer-items-flex-start\x20univer-mb-2\x20univer-flex\x20univer-gap-2','getDataExtent','univer-rounded-md\x20univer-p-2\x20hover:univer-bg-gray-200','CloudIcon','cos','activeSheet$','set','lineColor','fillTextOffsetY','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','chart.styleEditPanel.pieValScale','with','_generateCutPasteMutations','8px','button','univer-flex\x20univer-flex-1\x20univer-flex-col\x20univer-justify-between','EChartRenderEngineName','getChartPopupMenus','message','rect','top','Checkbox','chart.shape.emptyDiamond','scale','textStyle.fontSize','borderStyle','chart.color','theme','startX','univer-p-1.5\x20univer-text-xs','origin','chart.withType','chart.relation.edgeLength','BubbleIcon','_config','You\x20must\x20pass\x20valid\x20HTML\x20elements,\x20or\x20ID\x20of\x20the\x20element.','MessageType','08-05\x20下午\x2001:30','_sheetsChartService','abort','barStyle','info','HeatmapChartIcon','_chartThemeService','px\x20sans-serif','piecewise','Heatmap','removeAll','_commandService','ColumnPercentStacked','yAxis','chart.styleEditPanel.rosePie','debounce','startRow','IMenuManagerService','dataRange','category','univer-text\x20univer-mb-2\x20univer-text-sm','clearTimeout','chart.trendline.log','default','capitalFirst','Force','onDispose','_initPermission','poly','overflow','setActiveChartModel','invalidValueType','_createCopyInfoByRange','stylizeSpec','pipe','sort','chart.waterfall.stackType','chart.settingsLabels.switchToRowOrColumn','getBatchUpdateOp','clientY','forceRender','LabelContentType','pow','getColors','wordclouddrawn','subtitle','ISidebarService','hidden','rgba(255,0,0,0.3)','clear','useMemo','fillStyle','every','bubbleLabel','rightYAxis','RemoveSheetDrawingCommand','getFloatDomInfo','axisTitleAlign','headers','chart.default','star','maskGapWidth','_sheetPermissionCheckController','zero-timeout-message','titleFontSize','animation','DeleteEmptyIcon','chartType$','SheetsChartUIService','params','#,##0_);(#,##0)','floor','WaterfallSeriesTypeEnum','Waterfall','config','RelationshipIcon','Dotted','chart.titles.title','80%','dispatchEvent','dataPointsOptions','font','_initCommands','subUnitId','fontSize','Close','LogarithmicIcon','chart.shape.roundRect','transform','order','small','chartThemeColorType','getWordCloudImageMaskMap','#,##0_);[Red](#,##0)','1px\x20solid\x20','univer-mt-2-base','get','chart.gridlines.text','indicatorLineColor','ChartThemeService','extendSeriesModel','touchstart','chart.series','\x22*\x20#,##0','chart.bubble.xAxis','echarts','group','wordcloudstart','has','rosePie','univer-mb-2\x20univer-flex\x20univer-cursor-pointer\x20univer-items-center\x20univer-text-primary-600','seriesList','_componentManager','univer-rounded-lg\x20univer-p-2','name','13:30','CommandType','borderColor','COPY_TYPE','AxisAlignEnum','univer-mt-2\x20univer-flex\x20univer-flex-1\x20univer-flex-col\x20univer-justify-between','Step','\x22#,##0.00_);(\x22','emphasis','univer-leading-8','span','IRenderManagerService','useEmphasis','Subject','_initSheetChange','opacity','indicator','ChartBorderDashType','Arrow','maskImage','A/P\x20h:mm:ss','rangeSelectMode','univer-flex\x20univer-h-6\x20univer-flex-row\x20univer-items-center\x20univer-gap-1.5','allSeriesStyle','r2Color','univer-mb-2\x20univer-flex\x20univer-justify-between\x20univer-gap-2\x20univer-p-0','registerPreprocessor','setHostStyle','chart.fill','icon','focus$','src','hover','useValueAsSymbolSize','translate','WordCloud','ChartAttributeBits','addEventListener','registerViewState','bind','option','createImageData','chart.dataPoint','type','chart.theIndexItem','emphasis.textStyle.fontFamily','getFormatInfo','radarShape','areaLineStyle','5cFprgx','DrawingTypeEnum','distinctUntilChanged','CUT','isNaN','ensureState','red','normal','xAxisOptions','register','CategoryName','PolynomialIcon','chart.pareto.lineSeries','rot','left','version','bottom','ChartUpdateConfigCommand','DRAWING_CHART','wordCloudMask','univer-w-[208px]','univer-truncate\x20univer-text-sm\x20univer-leading-tight\x20univer-text-gray-900\x20dark:!univer-text-white','univer-flex\x20univer-flex-col\x20univer-items-center\x20univer-gap-3\x20univer-p-3\x20univer-pb-3\x20univer-text-sm','updateFloatDomProps','getSheetId','chart.waterfall.positiveLegendText','createChartInstance'];_0xe66a=function(){return _0x12028a;};return _0xe66a();}if(!window['setImmediate'])window[_0x94e517(0x2ca)]=function setupSetImmediate(){const _0xfc8d2d=_0x94e517;return window['msSetImmediate']||window[_0xfc8d2d(0x49c)]||window['mozSetImmediate']||window[_0xfc8d2d(0x531)]||function _0x380996(){const _0x195f77=_0xfc8d2d;if(!window[_0x195f77(0x364)]||!window[_0x195f77(0x442)])return null;const _0x13cd28=[void 0x0],_0x3030b5=_0x195f77(0x3e9),_0x45a11e=function _0x17b9f9(_0x5dd621){const _0x2d62d9=_0x195f77,_0x3ef4b4=_0x13cd28[_0x2d62d9(0x22b)];return _0x13cd28[_0x2d62d9(0x207)](_0x5dd621),window[_0x2d62d9(0x364)](_0x3030b5+_0x3ef4b4[_0x2d62d9(0x4d5)](0x24),'*'),_0x3ef4b4;};return window[_0x195f77(0x442)](_0x195f77(0x397),function _0x66e95b(_0x322791){const _0xa2eb17=_0x195f77;if(typeof _0x322791[_0xa2eb17(0x2bf)]!=='string'||_0x322791[_0xa2eb17(0x2bf)][_0xa2eb17(0x329)](0x0,0x14)!==_0x3030b5)return;_0x322791[_0xa2eb17(0x349)]();const _0x2e2d40=Number[_0xa2eb17(0x4ad)](_0x322791[_0xa2eb17(0x2bf)][_0xa2eb17(0x329)](0x14),0x24);if(!_0x13cd28[_0x2e2d40])return;_0x13cd28[_0x2e2d40](),_0x13cd28[_0x2e2d40]=void 0x0;},!![]),window[_0x195f77(0x2df)]=function _0x2f475b(_0x60cdf8){if(!_0x13cd28[_0x60cdf8])return;_0x13cd28[_0x60cdf8]=void 0x0;},_0x45a11e;}()||function _0x2408b0(_0x20dddd){const _0x19eb46=_0xfc8d2d;window[_0x19eb46(0x2e6)](_0x20dddd,0x0);};}();if(!window['clearImmediate'])window['clearImmediate']=function setupClearImmediate(){const _0x579a3d=_0x94e517;return window[_0x579a3d(0x216)]||window[_0x579a3d(0x325)]||window[_0x579a3d(0x535)]||window[_0x579a3d(0x478)]||function _0x205316(_0x2a1de8){const _0x35fa0c=_0x579a3d;window[_0x35fa0c(0x3bf)](_0x2a1de8);};}();const isSupported=function isSupported(){const _0x393944=_0x94e517,_0x198979=document['createElement'](_0x393944(0x202));if(!_0x198979||!_0x198979[_0x393944(0x31e)])return![];const _0x49842a=_0x198979[_0x393944(0x31e)]('2d');if(!_0x49842a)return![];if(!_0x49842a[_0x393944(0x486)])return![];if(!_0x49842a[_0x393944(0x5f1)])return![];if(!Array[_0x393944(0x2fc)][_0x393944(0x283)])return![];if(!Array['prototype'][_0x393944(0x207)])return![];return!![];}(),minFontSize=function getMinFontSize(){const _0x54ae69=_0x94e517;if(!isSupported)return;const _0x106b3b=document[_0x54ae69(0x284)](_0x54ae69(0x202))[_0x54ae69(0x31e)]('2d');let _0x4b7640=0x14,_0x35e200,_0x47d73b;while(_0x4b7640){_0x106b3b['font']=_0x4b7640[_0x54ae69(0x4d5)](0xa)+_0x54ae69(0x3b1);if(_0x106b3b[_0x54ae69(0x32f)]('W')[_0x54ae69(0x143)]===_0x35e200&&_0x106b3b[_0x54ae69(0x32f)]('m')[_0x54ae69(0x143)]===_0x47d73b)return _0x4b7640+0x1;_0x35e200=_0x106b3b[_0x54ae69(0x32f)]('W')[_0x54ae69(0x143)],_0x47d73b=_0x106b3b[_0x54ae69(0x32f)]('m')[_0x54ae69(0x143)],_0x4b7640--;}return 0x0;}(),getItemExtraData=function(_0x1a31ce){const _0x31fb8d=_0x94e517;if(Array[_0x31fb8d(0x56f)](_0x1a31ce)){const _0x3e5ade=_0x1a31ce['slice']();return _0x3e5ade[_0x31fb8d(0x25e)](0x0,0x2),_0x3e5ade;}else return[];},shuffleArray=function shuffleArray(_0x18d6e7){const _0x4e96ab=_0x94e517;for(let _0x108683,_0x12f1d0,_0x167c05=_0x18d6e7[_0x4e96ab(0x22b)];_0x167c05;){_0x108683=Math['floor'](Math[_0x4e96ab(0x363)]()*_0x167c05),_0x12f1d0=_0x18d6e7[--_0x167c05],_0x18d6e7[_0x167c05]=_0x18d6e7[_0x108683],_0x18d6e7[_0x108683]=_0x12f1d0;}return _0x18d6e7;},timer={},WordCloud=function WordCloud(_0x53f130,_0x39c776){const _0x18d9d4=_0x94e517;if(!isSupported)return;const _0x2a2853=Math[_0x18d9d4(0x3f1)](Math[_0x18d9d4(0x363)]()*Date['now']());if(!Array[_0x18d9d4(0x56f)](_0x53f130))_0x53f130=[_0x53f130];_0x53f130['forEach'](function(_0x5b2ef2,_0x755108){const _0x1ffcb1=_0x18d9d4;if(typeof _0x5b2ef2===_0x1ffcb1(0x25f)){_0x53f130[_0x755108]=document['getElementById'](_0x5b2ef2);if(!_0x53f130[_0x755108])throw new Error('The\x20element\x20id\x20specified\x20is\x20not\x20found.');}else{if(!_0x5b2ef2['tagName']&&!_0x5b2ef2['appendChild'])throw new Error(_0x1ffcb1(0x3a8));}});const _0x694977={'list':[],'fontFamily':_0x18d9d4(0x5e8),'fontWeight':'normal','color':_0x18d9d4(0x174),'minSize':0x0,'weightFactor':0x1,'clearCanvas':!![],'backgroundColor':_0x18d9d4(0x4ae),'gridSize':0x8,'drawOutOfBound':![],'shrinkToFit':![],'origin':null,'drawMask':![],'maskColor':_0x18d9d4(0x3da),'maskGapWidth':0.3,'layoutAnimation':!![],'wait':0x0,'abortThreshold':0x0,'abort':function _0x2f2e30(){},'minRotation':-Math['PI']/0x2,'maxRotation':Math['PI']/0x2,'rotationStep':0.1,'shuffle':!![],'rotateRatio':0.1,'shape':_0x18d9d4(0x579),'ellipticity':0.65,'classes':null,'hover':null,'click':null};if(_0x39c776){for(const _0x8d9e6c in _0x39c776)if(_0x8d9e6c in _0x694977)_0x694977[_0x8d9e6c]=_0x39c776[_0x8d9e6c];}if(typeof _0x694977[_0x18d9d4(0x37d)]!==_0x18d9d4(0x15f)){const _0x315d9a=_0x694977[_0x18d9d4(0x37d)];_0x694977[_0x18d9d4(0x37d)]=function _0x4f367d(_0x5ee49f){return _0x5ee49f*_0x315d9a;};}if(typeof _0x694977['shape']!==_0x18d9d4(0x15f))switch(_0x694977['shape']){case _0x18d9d4(0x2cd):_0x694977[_0x18d9d4(0x181)]=function _0x302271(_0x17e78f){const _0x43292c=_0x18d9d4;return 0x1-Math[_0x43292c(0x253)](_0x17e78f);};break;case'diamond':_0x694977['shape']=function _0x5920ec(_0x595be9){const _0x5c6528=_0x18d9d4,_0x4c1e19=_0x595be9%(0x2*Math['PI']/0x4);return 0x1/(Math[_0x5c6528(0x389)](_0x4c1e19)+Math[_0x5c6528(0x253)](_0x4c1e19));};break;case _0x18d9d4(0x2c9):_0x694977['shape']=function _0x1f0943(_0x2cb857){const _0x2b40a8=_0x18d9d4;return Math[_0x2b40a8(0x5c7)](0x1/Math[_0x2b40a8(0x527)](Math[_0x2b40a8(0x389)](_0x2cb857)),0x1/Math[_0x2b40a8(0x527)](Math[_0x2b40a8(0x253)](_0x2cb857)));};break;case _0x18d9d4(0x575):_0x694977[_0x18d9d4(0x181)]=function _0x58e380(_0x58f7ab){const _0x307f7c=_0x18d9d4,_0x4323eb=_0x58f7ab%(0x2*Math['PI']/0x3);return 0x1/(Math['cos'](_0x4323eb)+Math[_0x307f7c(0x4bd)](0x3)*Math['sin'](_0x4323eb));};break;case'triangle':case'triangle-upright':_0x694977['shape']=function _0x551726(_0x68db7e){const _0xf9a919=_0x18d9d4,_0x19434c=(_0x68db7e+Math['PI']*0x3/0x2)%(0x2*Math['PI']/0x3);return 0x1/(Math[_0xf9a919(0x389)](_0x19434c)+Math[_0xf9a919(0x4bd)](0x3)*Math[_0xf9a919(0x253)](_0x19434c));};break;case _0x18d9d4(0x1bc):_0x694977[_0x18d9d4(0x181)]=function _0x373afa(_0x463cdd){const _0x8b14ae=_0x18d9d4,_0x7c5189=(_0x463cdd+0.955)%(0x2*Math['PI']/0x5);return 0x1/(Math[_0x8b14ae(0x389)](_0x7c5189)+0.726543*Math[_0x8b14ae(0x253)](_0x7c5189));};break;case _0x18d9d4(0x3e6):_0x694977['shape']=function _0x4658d4(_0x151b19){const _0x2f829f=_0x18d9d4,_0x2a8582=(_0x151b19+0.955)%(0x2*Math['PI']/0xa);if((_0x151b19+0.955)%(0x2*Math['PI']/0x5)-0x2*Math['PI']/0xa>=0x0)return 0x1/(Math[_0x2f829f(0x389)](0x2*Math['PI']/0xa-_0x2a8582)+3.07768*Math[_0x2f829f(0x253)](0x2*Math['PI']/0xa-_0x2a8582));else return 0x1/(Math[_0x2f829f(0x389)](_0x2a8582)+3.07768*Math[_0x2f829f(0x253)](_0x2a8582));};break;default:_0x694977[_0x18d9d4(0x181)]=_0x18d9d4(0x579);break;}_0x694977[_0x18d9d4(0x5f6)]=Math[_0x18d9d4(0x268)](Math['floor'](_0x694977[_0x18d9d4(0x5f6)]),0x4);const _0x55a7f6=_0x694977[_0x18d9d4(0x5f6)],_0x3541f9=_0x55a7f6-_0x694977[_0x18d9d4(0x3e7)],_0x104562=Math[_0x18d9d4(0x527)](_0x694977['maxRotation']-_0x694977[_0x18d9d4(0x13f)]),_0x4b5330=Math['min'](_0x694977[_0x18d9d4(0x1b9)],_0x694977[_0x18d9d4(0x13f)]),_0x32de3b=_0x694977['rotationStep'];let _0xc04191,_0x30221a,_0xbe9ad9,_0x4b0c72,_0x5a545e,_0x10df8e,_0x16663b;function _0x2c5c3c(_0x1293f2,_0x4eb4d6){const _0x289471=_0x18d9d4;return _0x289471(0x4d7)+(Math[_0x289471(0x363)]()*0x168)[_0x289471(0x1b4)]()+','+(Math['random']()*0x1e+0x46)['toFixed']()+'%,'+(Math[_0x289471(0x363)]()*(_0x4eb4d6-_0x1293f2)+_0x1293f2)[_0x289471(0x1b4)]()+'%)';}switch(_0x694977[_0x18d9d4(0x571)]){case _0x18d9d4(0x174):_0x16663b=function _0x4fe778(){return _0x2c5c3c(0xa,0x32);};break;case _0x18d9d4(0x27b):_0x16663b=function _0x1a2cb6(){return _0x2c5c3c(0x32,0x5a);};break;default:if(typeof _0x694977[_0x18d9d4(0x571)]==='function')_0x16663b=_0x694977[_0x18d9d4(0x571)];break;}let _0x23b738;if(typeof _0x694977[_0x18d9d4(0x295)]===_0x18d9d4(0x15f))_0x23b738=_0x694977[_0x18d9d4(0x295)];let _0x14f781=null;if(typeof _0x694977[_0x18d9d4(0x24d)]===_0x18d9d4(0x15f))_0x14f781=_0x694977[_0x18d9d4(0x24d)];let _0x43ce5c=![];const _0x534601=[];let _0x142f94;const _0x4ae502=function _0x1a2862(_0x5b65d6){const _0x245300=_0x18d9d4,_0x49623b=_0x5b65d6['currentTarget'],_0x48abed=_0x49623b[_0x245300(0x484)]();let _0x622f14,_0xb39acc;_0x5b65d6[_0x245300(0x2e5)]?(_0x622f14=_0x5b65d6[_0x245300(0x2e5)][0x0][_0x245300(0x2c1)],_0xb39acc=_0x5b65d6[_0x245300(0x2e5)][0x0][_0x245300(0x3d1)]):(_0x622f14=_0x5b65d6['clientX'],_0xb39acc=_0x5b65d6[_0x245300(0x3d1)]);const _0x2c5654=_0x622f14-_0x48abed[_0x245300(0x45c)],_0xb113c2=_0xb39acc-_0x48abed[_0x245300(0x399)],_0xec0135=Math[_0x245300(0x3f1)](_0x2c5654*(_0x49623b[_0x245300(0x143)]/_0x48abed[_0x245300(0x143)]||0x1)/_0x55a7f6),_0x4825cf=Math[_0x245300(0x3f1)](_0xb113c2*(_0x49623b[_0x245300(0x37a)]/_0x48abed[_0x245300(0x37a)]||0x1)/_0x55a7f6);if(!_0x534601[_0xec0135])return null;return _0x534601[_0xec0135][_0x4825cf];},_0x516cb8=function _0x500a1f(_0x5388d4){const _0x4eba3d=_0x18d9d4,_0x1b66c6=_0x4ae502(_0x5388d4);if(_0x142f94===_0x1b66c6)return;_0x142f94=_0x1b66c6;if(!_0x1b66c6){_0x694977[_0x4eba3d(0x43d)](void 0x0,void 0x0,_0x5388d4);return;}_0x694977[_0x4eba3d(0x43d)](_0x1b66c6[_0x4eba3d(0x549)],_0x1b66c6[_0x4eba3d(0x258)],_0x5388d4);},_0x33ba81=function _0x347de(_0x32b0cd){const _0x5345c8=_0x18d9d4,_0x10c369=_0x4ae502(_0x32b0cd);if(!_0x10c369)return;_0x694977['click'](_0x10c369[_0x5345c8(0x549)],_0x10c369['dimension'],_0x32b0cd),_0x32b0cd['preventDefault']();},_0x40092a=[],_0x178e24=function _0x2dddd6(_0x1b66f0){const _0x1b763d=_0x18d9d4;if(_0x40092a[_0x1b66f0])return _0x40092a[_0x1b66f0];const _0x5543ef=_0x1b66f0*0x8;let _0x118df9=_0x5543ef;const _0x402867=[];if(_0x1b66f0===0x0)_0x402867[_0x1b763d(0x207)]([_0x4b0c72[0x0],_0x4b0c72[0x1],0x0]);while(_0x118df9--){let _0x4e4b8f=0x1;if(_0x694977['shape']!==_0x1b763d(0x579))_0x4e4b8f=_0x694977['shape'](_0x118df9/_0x5543ef*0x2*Math['PI']);_0x402867[_0x1b763d(0x207)]([_0x4b0c72[0x0]+_0x1b66f0*_0x4e4b8f*Math[_0x1b763d(0x389)](-_0x118df9/_0x5543ef*0x2*Math['PI']),_0x4b0c72[0x1]+_0x1b66f0*_0x4e4b8f*Math[_0x1b763d(0x253)](-_0x118df9/_0x5543ef*0x2*Math['PI'])*_0x694977[_0x1b763d(0x5ed)],_0x118df9/_0x5543ef*0x2*Math['PI']]);}return _0x40092a[_0x1b66f0]=_0x402867,_0x402867;},_0x11c8df=function _0x3b0998(){const _0x1cf6dc=_0x18d9d4;return _0x694977[_0x1cf6dc(0x506)]>0x0&&new Date()['getTime']()-_0x10df8e>_0x694977[_0x1cf6dc(0x506)];},_0x3234ed=function _0x53a91b(){const _0x5c8459=_0x18d9d4;if(_0x694977[_0x5c8459(0x525)]===0x0)return 0x0;if(Math[_0x5c8459(0x363)]()>_0x694977['rotateRatio'])return 0x0;if(_0x104562===0x0)return _0x4b5330;return _0x4b5330+Math[_0x5c8459(0x551)](Math['random']()*_0x104562/_0x32de3b)*_0x32de3b;},_0x5bf354=function _0xabbdf8(_0x233af7,_0x3e43e6,_0x3ff7ae,_0x5e4bb3){const _0x366dd9=_0x18d9d4,_0x3394fa=_0x694977[_0x366dd9(0x37d)](_0x3e43e6);if(_0x3394fa<=_0x694977[_0x366dd9(0x335)])return![];let _0x507ac4=0x1;if(_0x3394fa<minFontSize)_0x507ac4=function _0x38857b(){let _0x4a750a=0x2;while(_0x4a750a*_0x3394fa<minFontSize)_0x4a750a+=0x2;return _0x4a750a;}();let _0x8c5103;if(_0x23b738)_0x8c5103=_0x23b738(_0x233af7,_0x3e43e6,_0x3394fa,_0x5e4bb3);else _0x8c5103=_0x694977['fontWeight'];const _0x3ff890=document['createElement'](_0x366dd9(0x202)),_0x1466e3=_0x3ff890[_0x366dd9(0x31e)]('2d',{'willReadFrequently':!![]});_0x1466e3[_0x366dd9(0x3fb)]=_0x8c5103+'\x20'+(_0x3394fa*_0x507ac4)[_0x366dd9(0x4d5)](0xa)+_0x366dd9(0x33d)+_0x694977[_0x366dd9(0x16a)];const _0x15df5c=_0x1466e3[_0x366dd9(0x32f)](_0x233af7)['width']/_0x507ac4,_0x1aad99=Math[_0x366dd9(0x268)](_0x3394fa*_0x507ac4,_0x1466e3['measureText']('m')[_0x366dd9(0x143)],_0x1466e3['measureText']('W')[_0x366dd9(0x143)])/_0x507ac4;let _0x44b76c=_0x15df5c+_0x1aad99*0x2,_0x36f54e=_0x1aad99*0x3;const _0x3171ad=Math['ceil'](_0x44b76c/_0x55a7f6),_0x436ef3=Math[_0x366dd9(0x35e)](_0x36f54e/_0x55a7f6);_0x44b76c=_0x3171ad*_0x55a7f6,_0x36f54e=_0x436ef3*_0x55a7f6;const _0x59cdfe=-_0x15df5c/0x2,_0x396438=-_0x1aad99*0.4,_0x35d79c=Math[_0x366dd9(0x35e)]((_0x44b76c*Math[_0x366dd9(0x527)](Math['sin'](_0x3ff7ae))+_0x36f54e*Math[_0x366dd9(0x527)](Math[_0x366dd9(0x389)](_0x3ff7ae)))/_0x55a7f6),_0x36f5e5=Math[_0x366dd9(0x35e)]((_0x44b76c*Math['abs'](Math[_0x366dd9(0x389)](_0x3ff7ae))+_0x36f54e*Math[_0x366dd9(0x527)](Math['sin'](_0x3ff7ae)))/_0x55a7f6),_0xeccc47=_0x36f5e5*_0x55a7f6,_0x2fdd82=_0x35d79c*_0x55a7f6;_0x3ff890[_0x366dd9(0x4ba)]('width',_0xeccc47),_0x3ff890['setAttribute'](_0x366dd9(0x37a),_0x2fdd82),_0x1466e3[_0x366dd9(0x39c)](0x1/_0x507ac4,0x1/_0x507ac4),_0x1466e3[_0x366dd9(0x43f)](_0xeccc47*_0x507ac4/0x2,_0x2fdd82*_0x507ac4/0x2),_0x1466e3[_0x366dd9(0x16e)](-_0x3ff7ae),_0x1466e3[_0x366dd9(0x3fb)]=_0x8c5103+'\x20'+(_0x3394fa*_0x507ac4)[_0x366dd9(0x4d5)](0xa)+_0x366dd9(0x33d)+_0x694977[_0x366dd9(0x16a)],_0x1466e3['fillStyle']='#000',_0x1466e3[_0x366dd9(0x2d8)]=_0x366dd9(0x2e7),_0x1466e3[_0x366dd9(0x5f1)](_0x233af7,_0x59cdfe*_0x507ac4,(_0x396438+_0x3394fa*0.5)*_0x507ac4);const _0x251024=_0x1466e3[_0x366dd9(0x486)](0x0,0x0,_0xeccc47,_0x2fdd82)[_0x366dd9(0x2bf)];if(_0x11c8df())return![];const _0x3dd91b=[];let _0x4926c6=_0x36f5e5,_0x5dcd26,_0xd74507,_0x5f3c9b;const _0x34128c=[_0x35d79c/0x2,_0x36f5e5/0x2,_0x35d79c/0x2,_0x36f5e5/0x2];while(_0x4926c6--){_0x5dcd26=_0x35d79c;while(_0x5dcd26--){_0x5f3c9b=_0x55a7f6;_0x5df050:while(_0x5f3c9b--){_0xd74507=_0x55a7f6;while(_0xd74507--)if(_0x251024[((_0x5dcd26*_0x55a7f6+_0x5f3c9b)*_0xeccc47+(_0x4926c6*_0x55a7f6+_0xd74507))*0x4+0x3]){_0x3dd91b[_0x366dd9(0x207)]([_0x4926c6,_0x5dcd26]);if(_0x4926c6<_0x34128c[0x3])_0x34128c[0x3]=_0x4926c6;if(_0x4926c6>_0x34128c[0x1])_0x34128c[0x1]=_0x4926c6;if(_0x5dcd26<_0x34128c[0x0])_0x34128c[0x0]=_0x5dcd26;if(_0x5dcd26>_0x34128c[0x2])_0x34128c[0x2]=_0x5dcd26;break _0x5df050;}}}}return{'mu':_0x507ac4,'occupied':_0x3dd91b,'bounds':_0x34128c,'gw':_0x36f5e5,'gh':_0x35d79c,'fillTextOffsetX':_0x59cdfe,'fillTextOffsetY':_0x396438,'fillTextWidth':_0x15df5c,'fillTextHeight':_0x1aad99,'fontSize':_0x3394fa};},_0x14a9b2=function _0x361134(_0x239911,_0x27f9ec,_0x35b1c6,_0x4fbccd,_0x49056e){const _0x58f481=_0x18d9d4;let _0x15ee3b=_0x49056e[_0x58f481(0x22b)];while(_0x15ee3b--){const _0xf493ec=_0x239911+_0x49056e[_0x15ee3b][0x0],_0x486cf1=_0x27f9ec+_0x49056e[_0x15ee3b][0x1];if(_0xf493ec>=_0x30221a||_0x486cf1>=_0xbe9ad9||_0xf493ec<0x0||_0x486cf1<0x0){if(!_0x694977[_0x58f481(0x203)])return![];continue;}if(!_0xc04191[_0xf493ec][_0x486cf1])return![];}return!![];},_0x28dedd=function _0x1857fb(_0x4ff2d8,_0x39260e,_0x5a1eb3,_0x2d9d64,_0x2aa553,_0xc96f0b,_0x3831e8,_0x67d92b,_0xfd64f,_0x1d40a0){const _0x18a9ba=_0x18d9d4,_0x52f8d3=_0x5a1eb3['fontSize'];let _0xd3cee3;if(_0x16663b)_0xd3cee3=_0x16663b(_0x2d9d64,_0x2aa553,_0x52f8d3,_0xc96f0b,_0x3831e8,_0x1d40a0);else _0xd3cee3=_0x694977[_0x18a9ba(0x571)];let _0x5c3f44;if(_0x23b738)_0x5c3f44=_0x23b738(_0x2d9d64,_0x2aa553,_0x52f8d3,_0x1d40a0);else _0x5c3f44=_0x694977['fontWeight'];let _0x4a90cb;if(_0x14f781)_0x4a90cb=_0x14f781(_0x2d9d64,_0x2aa553,_0x52f8d3,_0x1d40a0);else _0x4a90cb=_0x694977[_0x18a9ba(0x24d)];_0x53f130['forEach'](function(_0x2527b7){const _0x319d85=_0x18a9ba;if(_0x2527b7[_0x319d85(0x31e)]){const _0x31ecbb=_0x2527b7['getContext']('2d'),_0xf1eae0=_0x5a1eb3['mu'];_0x31ecbb[_0x319d85(0x195)](),_0x31ecbb[_0x319d85(0x39c)](0x1/_0xf1eae0,0x1/_0xf1eae0),_0x31ecbb[_0x319d85(0x3fb)]=_0x5c3f44+'\x20'+(_0x52f8d3*_0xf1eae0)['toString'](0xa)+_0x319d85(0x33d)+_0x694977[_0x319d85(0x16a)],_0x31ecbb['fillStyle']=_0xd3cee3,_0x31ecbb[_0x319d85(0x43f)]((_0x4ff2d8+_0x5a1eb3['gw']/0x2)*_0x55a7f6*_0xf1eae0,(_0x39260e+_0x5a1eb3['gh']/0x2)*_0x55a7f6*_0xf1eae0);if(_0x67d92b!==0x0)_0x31ecbb[_0x319d85(0x16e)](-_0x67d92b);_0x31ecbb['textBaseline']=_0x319d85(0x2e7),_0x31ecbb['fillText'](_0x2d9d64,_0x5a1eb3[_0x319d85(0x307)]*_0xf1eae0,(_0x5a1eb3['fillTextOffsetY']+_0x52f8d3*0.5)*_0xf1eae0),_0x31ecbb[_0x319d85(0x324)]();}else{const _0x54964b=document['createElement'](_0x319d85(0x427));let _0xc2f813='';_0xc2f813=_0x319d85(0x308)+-_0x67d92b/Math['PI']*0xb4+_0x319d85(0x57c);if(_0x5a1eb3['mu']!==0x1)_0xc2f813+='translateX(-'+_0x5a1eb3['fillTextWidth']/0x4+'px)\x20scale('+0x1/_0x5a1eb3['mu']+')';const _0x2254fb={'position':_0x319d85(0x287),'display':'block','font':_0x5c3f44+'\x20'+_0x52f8d3*_0x5a1eb3['mu']+_0x319d85(0x33d)+_0x694977[_0x319d85(0x16a)],'left':(_0x4ff2d8+_0x5a1eb3['gw']/0x2)*_0x55a7f6+_0x5a1eb3['fillTextOffsetX']+'px','top':(_0x39260e+_0x5a1eb3['gh']/0x2)*_0x55a7f6+_0x5a1eb3[_0x319d85(0x38d)]+'px','width':_0x5a1eb3[_0x319d85(0x339)]+'px','height':_0x5a1eb3['fillTextHeight']+'px','lineHeight':_0x52f8d3+'px','whiteSpace':_0x319d85(0x15d),'transform':_0xc2f813,'webkitTransform':_0xc2f813,'msTransform':_0xc2f813,'transformOrigin':'50%\x2040%','webkitTransformOrigin':_0x319d85(0x4ee),'msTransformOrigin':_0x319d85(0x4ee)};if(_0xd3cee3)_0x2254fb[_0x319d85(0x571)]=_0xd3cee3;_0x54964b['textContent']=_0x2d9d64;for(const _0x294afc in _0x2254fb)_0x54964b['style'][_0x294afc]=_0x2254fb[_0x294afc];if(_0xfd64f){for(const _0x4993df in _0xfd64f)_0x54964b[_0x319d85(0x4ba)](_0x4993df,_0xfd64f[_0x4993df]);}if(_0x4a90cb)_0x54964b[_0x319d85(0x1d3)]+=_0x4a90cb;_0x2527b7['appendChild'](_0x54964b);}});},_0x25bad2=function _0x546c7c(_0x5c27c1,_0x3c285b,_0xd2c2a7,_0x52866f,_0x523e3e){const _0x3d305f=_0x18d9d4;if(_0x5c27c1>=_0x30221a||_0x3c285b>=_0xbe9ad9||_0x5c27c1<0x0||_0x3c285b<0x0)return;_0xc04191[_0x5c27c1][_0x3c285b]=![];if(_0xd2c2a7)_0x53f130[0x0][_0x3d305f(0x31e)]('2d')[_0x3d305f(0x2ea)](_0x5c27c1*_0x55a7f6,_0x3c285b*_0x55a7f6,_0x3541f9,_0x3541f9);if(_0x43ce5c)_0x534601[_0x5c27c1][_0x3c285b]={'item':_0x523e3e,'dimension':_0x52866f};},_0x410cc6=function _0x222c88(_0x2d726d,_0x37723e,_0x17bb43,_0x40727e,_0xdaf834,_0x2e24c0){const _0x27f395=_0x18d9d4,_0x45e1fe=_0xdaf834[_0x27f395(0x4aa)],_0x1b4c2e=_0x694977[_0x27f395(0x480)];let _0x35433e;_0x1b4c2e&&(_0x35433e=_0x53f130[0x0][_0x27f395(0x31e)]('2d'),_0x35433e[_0x27f395(0x195)](),_0x35433e[_0x27f395(0x3dd)]=_0x694977['maskColor']);let _0x159a90;if(_0x43ce5c){const _0x24b94b=_0xdaf834['bounds'];_0x159a90={'x':(_0x2d726d+_0x24b94b[0x3])*_0x55a7f6,'y':(_0x37723e+_0x24b94b[0x0])*_0x55a7f6,'w':(_0x24b94b[0x1]-_0x24b94b[0x3]+0x1)*_0x55a7f6,'h':(_0x24b94b[0x2]-_0x24b94b[0x0]+0x1)*_0x55a7f6};}let _0x46b162=_0x45e1fe['length'];while(_0x46b162--){const _0x73d3d6=_0x2d726d+_0x45e1fe[_0x46b162][0x0],_0x45eec5=_0x37723e+_0x45e1fe[_0x46b162][0x1];if(_0x73d3d6>=_0x30221a||_0x45eec5>=_0xbe9ad9||_0x73d3d6<0x0||_0x45eec5<0x0)continue;_0x25bad2(_0x73d3d6,_0x45eec5,_0x1b4c2e,_0x159a90,_0x2e24c0);}if(_0x1b4c2e)_0x35433e[_0x27f395(0x324)]();},_0x5c8f4e=function _0xfcd80f(_0xdbe81,_0x341861){const _0x19778f=_0x18d9d4;if(_0x341861>0x14)return null;let _0x2ec7ad,_0x19f1bb,_0x15a801;Array[_0x19778f(0x56f)](_0xdbe81)?(_0x2ec7ad=_0xdbe81[0x0],_0x19f1bb=_0xdbe81[0x1]):(_0x2ec7ad=_0xdbe81['word'],_0x19f1bb=_0xdbe81[_0x19778f(0x1a7)],_0x15a801=_0xdbe81[_0x19778f(0x323)]);const _0x25a7da=_0x3234ed(),_0x502fce=getItemExtraData(_0xdbe81),_0x4c2294=_0x5bf354(_0x2ec7ad,_0x19f1bb,_0x25a7da,_0x502fce);if(!_0x4c2294)return![];if(_0x11c8df())return![];if(!_0x694977['drawOutOfBound']&&!_0x694977[_0x19778f(0x1ea)]){const _0x1b68f8=_0x4c2294[_0x19778f(0x50f)];if(_0x1b68f8[0x1]-_0x1b68f8[0x3]+0x1>_0x30221a||_0x1b68f8[0x2]-_0x1b68f8[0x0]+0x1>_0xbe9ad9)return![];}let _0x50d225=_0x5a545e+0x1;const _0x205b47=function(_0x2bd05d){const _0x4be8e5=_0x19778f,_0x519c60=Math[_0x4be8e5(0x3f1)](_0x2bd05d[0x0]-_0x4c2294['gw']/0x2),_0x4d0621=Math[_0x4be8e5(0x3f1)](_0x2bd05d[0x1]-_0x4c2294['gh']/0x2),_0x1070e0=_0x4c2294['gw'],_0x1cafde=_0x4c2294['gh'];if(!_0x14a9b2(_0x519c60,_0x4d0621,_0x1070e0,_0x1cafde,_0x4c2294[_0x4be8e5(0x4aa)]))return![];return _0x28dedd(_0x519c60,_0x4d0621,_0x4c2294,_0x2ec7ad,_0x19f1bb,_0x5a545e-_0x50d225,_0x2bd05d[0x2],_0x25a7da,_0x15a801,_0x502fce),_0x410cc6(_0x519c60,_0x4d0621,_0x1070e0,_0x1cafde,_0x4c2294,_0xdbe81),{'gx':_0x519c60,'gy':_0x4d0621,'rot':_0x25a7da,'info':_0x4c2294};};while(_0x50d225--){let _0x44572d=_0x178e24(_0x5a545e-_0x50d225);_0x694977[_0x19778f(0x219)]&&(_0x44572d=[]['concat'](_0x44572d),shuffleArray(_0x44572d));for(let _0x337929=0x0;_0x337929<_0x44572d[_0x19778f(0x22b)];_0x337929++){const _0x2ffcf1=_0x205b47(_0x44572d[_0x337929]);if(_0x2ffcf1)return _0x2ffcf1;}}if(_0x694977[_0x19778f(0x1ea)]){if(Array['isArray'](_0xdbe81))_0xdbe81[0x1]=_0xdbe81[0x1]*0x3/0x4;else _0xdbe81[_0x19778f(0x1a7)]=_0xdbe81['weight']*0x3/0x4;return _0xfcd80f(_0xdbe81,_0x341861+0x1);}return null;},_0x5f4e94=function _0x153662(_0x5d189c,_0xedb964,_0x5d20f8){const _0x1dd92c=_0x18d9d4;if(_0xedb964)return!_0x53f130[_0x1dd92c(0x283)](function(_0x787cfc){const _0x755e0b=_0x1dd92c,_0x28d50f=new CustomEvent(_0x5d189c,{'detail':_0x5d20f8||{}});return!_0x787cfc[_0x755e0b(0x3f9)](_0x28d50f);},this);else _0x53f130[_0x1dd92c(0x21f)](function(_0x2a25e2){const _0x5649a8=_0x1dd92c,_0x78682f=new CustomEvent(_0x5d189c,{'detail':_0x5d20f8||{}});_0x2a25e2[_0x5649a8(0x3f9)](_0x78682f);},this);};(function _0x33a884(){const _0x3a619b=_0x18d9d4,_0x3db8fa=_0x53f130[0x0];if(_0x3db8fa[_0x3a619b(0x31e)])_0x30221a=Math[_0x3a619b(0x35e)](_0x3db8fa[_0x3a619b(0x143)]/_0x55a7f6),_0xbe9ad9=Math['ceil'](_0x3db8fa['height']/_0x55a7f6);else{const _0x2cd6ba=_0x3db8fa[_0x3a619b(0x484)]();_0x30221a=Math[_0x3a619b(0x35e)](_0x2cd6ba[_0x3a619b(0x143)]/_0x55a7f6),_0xbe9ad9=Math[_0x3a619b(0x35e)](_0x2cd6ba[_0x3a619b(0x37a)]/_0x55a7f6);}if(!_0x5f4e94(_0x3a619b(0x415),!![]))return;_0x4b0c72=_0x694977[_0x3a619b(0x3a3)]?[_0x694977['origin'][0x0]/_0x55a7f6,_0x694977[_0x3a619b(0x3a3)][0x1]/_0x55a7f6]:[_0x30221a/0x2,_0xbe9ad9/0x2],_0x5a545e=Math[_0x3a619b(0x3f1)](Math['sqrt'](_0x30221a*_0x30221a+_0xbe9ad9*_0xbe9ad9)),_0xc04191=[];let _0xac341d,_0x9506b5,_0x555637;if(!_0x3db8fa[_0x3a619b(0x31e)]||_0x694977[_0x3a619b(0x4d9)]){_0x53f130[_0x3a619b(0x21f)](function(_0x35afe9){const _0x1d0582=_0x3a619b;if(_0x35afe9[_0x1d0582(0x31e)]){const _0x1a0023=_0x35afe9[_0x1d0582(0x31e)]('2d');_0x1a0023['fillStyle']=_0x694977[_0x1d0582(0x2ac)],_0x1a0023[_0x1d0582(0x4da)](0x0,0x0,_0x30221a*(_0x55a7f6+0x1),_0xbe9ad9*(_0x55a7f6+0x1)),_0x1a0023['fillRect'](0x0,0x0,_0x30221a*(_0x55a7f6+0x1),_0xbe9ad9*(_0x55a7f6+0x1));}else _0x35afe9['textContent']='',_0x35afe9['style']['backgroundColor']=_0x694977['backgroundColor'],_0x35afe9[_0x1d0582(0x4cb)][_0x1d0582(0x4c3)]='relative';}),_0xac341d=_0x30221a;while(_0xac341d--){_0xc04191[_0xac341d]=[],_0x9506b5=_0xbe9ad9;while(_0x9506b5--)_0xc04191[_0xac341d][_0x9506b5]=!![];}}else{let _0x309b38=document[_0x3a619b(0x284)](_0x3a619b(0x202))[_0x3a619b(0x31e)]('2d');_0x309b38[_0x3a619b(0x3dd)]=_0x694977['backgroundColor'],_0x309b38[_0x3a619b(0x2ea)](0x0,0x0,0x1,0x1);let _0x1c0ccb=_0x309b38[_0x3a619b(0x486)](0x0,0x0,0x1,0x1)[_0x3a619b(0x2bf)],_0xbc29e=_0x3db8fa[_0x3a619b(0x31e)]('2d')[_0x3a619b(0x486)](0x0,0x0,_0x30221a*_0x55a7f6,_0xbe9ad9*_0x55a7f6)['data'];_0xac341d=_0x30221a;let _0x4bc063,_0x4e17cb;while(_0xac341d--){_0xc04191[_0xac341d]=[],_0x9506b5=_0xbe9ad9;while(_0x9506b5--){_0x4e17cb=_0x55a7f6;_0x2f86a9:while(_0x4e17cb--){_0x4bc063=_0x55a7f6;while(_0x4bc063--){_0x555637=0x4;while(_0x555637--)if(_0xbc29e[((_0x9506b5*_0x55a7f6+_0x4e17cb)*_0x30221a*_0x55a7f6+(_0xac341d*_0x55a7f6+_0x4bc063))*0x4+_0x555637]!==_0x1c0ccb[_0x555637]){_0xc04191[_0xac341d][_0x9506b5]=![];break _0x2f86a9;}}}if(_0xc04191[_0xac341d][_0x9506b5]!==![])_0xc04191[_0xac341d][_0x9506b5]=!![];}}_0xbc29e=_0x309b38=_0x1c0ccb=void 0x0;}if(_0x694977[_0x3a619b(0x43d)]||_0x694977[_0x3a619b(0x272)]){_0x43ce5c=!![],_0xac341d=_0x30221a+0x1;while(_0xac341d--)_0x534601[_0xac341d]=[];if(_0x694977[_0x3a619b(0x43d)])_0x3db8fa['addEventListener'](_0x3a619b(0x48a),_0x516cb8);_0x694977[_0x3a619b(0x272)]&&(_0x3db8fa[_0x3a619b(0x442)](_0x3a619b(0x272),_0x33ba81),_0x3db8fa[_0x3a619b(0x442)](_0x3a619b(0x40f),_0x33ba81),_0x3db8fa['addEventListener'](_0x3a619b(0x5b1),function(_0x24e9af){_0x24e9af['preventDefault']();}),_0x3db8fa[_0x3a619b(0x4cb)][_0x3a619b(0x30e)]=_0x3a619b(0x4ce)),_0x3db8fa['addEventListener']('wordcloudstart',function _0x44c9af(){const _0x392264=_0x3a619b;_0x3db8fa['removeEventListener'](_0x392264(0x415),_0x44c9af),_0x3db8fa[_0x392264(0x2a3)]('mousemove',_0x516cb8),_0x3db8fa[_0x392264(0x2a3)](_0x392264(0x272),_0x33ba81),_0x142f94=void 0x0;});}_0x555637=0x0;let _0x12b0f5,_0x446ca0,_0x23dde8=!![];if(!_0x694977['layoutAnimation'])_0x12b0f5=function(_0x2d0a29){_0x2d0a29();},_0x446ca0=function(){_0x23dde8=![];};else _0x694977[_0x3a619b(0x19f)]!==0x0?(_0x12b0f5=window[_0x3a619b(0x2e6)],_0x446ca0=window[_0x3a619b(0x3bf)]):(_0x12b0f5=window['setImmediate'],_0x446ca0=window['clearImmediate']);const _0x2b0abb=function _0x382c48(_0x543a27,_0x543410){_0x53f130['forEach'](function(_0x19b72f){const _0x3003ab=_0x1088;_0x19b72f[_0x3003ab(0x442)](_0x543a27,_0x543410);},this);},_0x4b9569=function _0x177122(_0x3ee444,_0xd968f){const _0x5a4a60=_0x3a619b;_0x53f130[_0x5a4a60(0x21f)](function(_0x5776c6){const _0xed663a=_0x5a4a60;_0x5776c6[_0xed663a(0x2a3)](_0x3ee444,_0xd968f);},this);},_0x55d2dc=function _0x4417a4(){const _0x170678=_0x3a619b;_0x4b9569(_0x170678(0x415),_0x4417a4),_0x446ca0(timer[_0x2a2853]);};_0x2b0abb(_0x3a619b(0x415),_0x55d2dc),timer[_0x2a2853]=(_0x694977[_0x3a619b(0x254)]?_0x12b0f5:setTimeout)(function _0x29af0a(){const _0x459711=_0x3a619b;if(!_0x23dde8)return;if(_0x555637>=_0x694977[_0x459711(0x539)][_0x459711(0x22b)]){_0x446ca0(timer[_0x2a2853]),_0x5f4e94(_0x459711(0x239),![]),_0x4b9569(_0x459711(0x415),_0x55d2dc),delete timer[_0x2a2853];return;}_0x10df8e=new Date()[_0x459711(0x27c)]();const _0x37dc34=_0x5c8f4e(_0x694977[_0x459711(0x539)][_0x555637],0x0),_0x49d398=!_0x5f4e94(_0x459711(0x3d6),!![],{'item':_0x694977[_0x459711(0x539)][_0x555637],'drawn':_0x37dc34});if(_0x11c8df()||_0x49d398){_0x446ca0(timer[_0x2a2853]),_0x694977[_0x459711(0x3ac)](),_0x5f4e94(_0x459711(0x48c),![]),_0x5f4e94(_0x459711(0x239),![]),_0x4b9569(_0x459711(0x415),_0x55d2dc);return;}_0x555637++,timer[_0x2a2853]=_0x12b0f5(_0x29af0a,_0x694977['wait']);},_0x694977[_0x3a619b(0x19f)]);}());};WordCloud['isSupported']=isSupported,WordCloud[_0x94e517(0x346)]=minFontSize;function registerWordCloud(_0x9b9bb1){const _0x4664e9=_0x94e517;if(!WordCloud[_0x4664e9(0x5d9)])throw new Error('Sorry\x20your\x20browser\x20not\x20support\x20wordCloud');function _0x4808c2(_0x5f2117){const _0x213e6b=_0x4664e9,_0x409adf=_0x5f2117[_0x213e6b(0x31e)]('2d'),_0x2afa68=_0x409adf[_0x213e6b(0x486)](0x0,0x0,_0x5f2117[_0x213e6b(0x143)],_0x5f2117[_0x213e6b(0x37a)]),_0xda35d0=_0x409adf[_0x213e6b(0x446)](_0x2afa68);let _0x4d1354=0x0,_0x2c7266=0x0;for(let _0x9d0961=0x0;_0x9d0961<_0x2afa68[_0x213e6b(0x2bf)][_0x213e6b(0x22b)];_0x9d0961+=0x4)if(_0x2afa68[_0x213e6b(0x2bf)][_0x9d0961+0x3]>0x80){const _0x31d66e=_0x2afa68[_0x213e6b(0x2bf)][_0x9d0961]+_0x2afa68[_0x213e6b(0x2bf)][_0x9d0961+0x1]+_0x2afa68[_0x213e6b(0x2bf)][_0x9d0961+0x2];_0x4d1354+=_0x31d66e,++_0x2c7266;}const _0x14e924=_0x4d1354/_0x2c7266;for(let _0x384c6e=0x0;_0x384c6e<_0x2afa68[_0x213e6b(0x2bf)]['length'];_0x384c6e+=0x4){const _0x37d81f=_0x2afa68['data'][_0x384c6e]+_0x2afa68[_0x213e6b(0x2bf)][_0x384c6e+0x1]+_0x2afa68[_0x213e6b(0x2bf)][_0x384c6e+0x2];_0x2afa68[_0x213e6b(0x2bf)][_0x384c6e+0x3]<0x80||_0x37d81f>_0x14e924?(_0xda35d0[_0x213e6b(0x2bf)][_0x384c6e]=0x0,_0xda35d0[_0x213e6b(0x2bf)][_0x384c6e+0x1]=0x0,_0xda35d0[_0x213e6b(0x2bf)][_0x384c6e+0x2]=0x0,_0xda35d0['data'][_0x384c6e+0x3]=0x0):(_0xda35d0[_0x213e6b(0x2bf)][_0x384c6e]=0xff,_0xda35d0[_0x213e6b(0x2bf)][_0x384c6e+0x1]=0xff,_0xda35d0[_0x213e6b(0x2bf)][_0x384c6e+0x2]=0xff,_0xda35d0[_0x213e6b(0x2bf)][_0x384c6e+0x3]=0xff);}_0x409adf[_0x213e6b(0x57e)](_0xda35d0,0x0,0x0);}_0x9b9bb1['registerLayout'](function(_0x5a2aff,_0x38a524){const _0x508213=_0x4664e9;_0x5a2aff[_0x508213(0x2ed)](_0x508213(0x5af),function(_0x158cd1){const _0x2ba432=_0x508213,_0x4ea2d4=_0x9b9bb1[_0x2ba432(0x147)][_0x2ba432(0x52a)](_0x158cd1[_0x2ba432(0x53e)](),{'width':_0x38a524[_0x2ba432(0x5b9)](),'height':_0x38a524[_0x2ba432(0x59e)]()}),_0xf7f28d=_0x158cd1['get'](_0x2ba432(0x1e1)),_0xe3c85b=_0x158cd1['get'](_0x2ba432(0x430)),_0x237be0=_0xe3c85b?_0xe3c85b['width']/_0xe3c85b[_0x2ba432(0x37a)]:0x1;_0xf7f28d&&_0x1659e2(_0x4ea2d4,_0x237be0);const _0x35fc61=_0x158cd1[_0x2ba432(0x1e9)](),_0x48726e=document[_0x2ba432(0x284)]('canvas');_0x48726e[_0x2ba432(0x143)]=_0x4ea2d4[_0x2ba432(0x143)],_0x48726e[_0x2ba432(0x37a)]=_0x4ea2d4[_0x2ba432(0x37a)];const _0x12f129=_0x48726e[_0x2ba432(0x31e)]('2d');if(_0xe3c85b&&_0x12f129)try{_0x12f129[_0x2ba432(0x155)](_0xe3c85b,0x0,0x0,_0x48726e['width'],_0x48726e['height']),_0x4808c2(_0x48726e);}catch(_0x161607){console[_0x2ba432(0x14d)](_0x2ba432(0x5b6)),console[_0x2ba432(0x14d)](_0x161607[_0x2ba432(0x4d5)]());}const _0x41fb79=_0x158cd1[_0x2ba432(0x40a)](_0x2ba432(0x48d)),_0x4f9441=_0x158cd1[_0x2ba432(0x40a)](_0x2ba432(0x5b3)),_0x38091b=_0x35fc61[_0x2ba432(0x386)]('value'),_0x110c48=Math['PI']/0xb4,_0x9fe963=_0x158cd1['get'](_0x2ba432(0x5f6));WordCloud(_0x48726e,{'list':_0x35fc61[_0x2ba432(0x28b)](_0x2ba432(0x46a),function(_0x3b4bc1,_0x5c0c8e){const _0x280d0d=_0x2ba432,_0x12cbeb=_0x35fc61['getItemModel'](_0x5c0c8e);return[_0x35fc61[_0x280d0d(0x53c)](_0x5c0c8e),_0x12cbeb[_0x280d0d(0x40a)](_0x280d0d(0x39d),!![])||_0x9b9bb1['number'][_0x280d0d(0x291)](_0x3b4bc1,_0x38091b,_0x41fb79),_0x5c0c8e];})[_0x2ba432(0x3cd)](function(_0x3c7c42,_0x35e619){return _0x35e619[0x1]-_0x3c7c42[0x1];}),'fontFamily':_0x158cd1[_0x2ba432(0x40a)](_0x2ba432(0x265))||_0x158cd1[_0x2ba432(0x40a)](_0x2ba432(0x44a))||_0x5a2aff[_0x2ba432(0x40a)](_0x2ba432(0x265)),'fontWeight':_0x158cd1['get'](_0x2ba432(0x2ad))||_0x158cd1[_0x2ba432(0x40a)](_0x2ba432(0x205))||_0x5a2aff[_0x2ba432(0x40a)](_0x2ba432(0x2ad)),'gridSize':_0x9fe963,'ellipticity':_0x4ea2d4['height']/_0x4ea2d4['width'],'minRotation':_0x4f9441[0x0]*_0x110c48,'maxRotation':_0x4f9441[0x1]*_0x110c48,'clearCanvas':!_0xe3c85b,'rotateRatio':0x1,'rotationStep':_0x158cd1['get'](_0x2ba432(0x563))*_0x110c48,'drawOutOfBound':_0x158cd1[_0x2ba432(0x40a)](_0x2ba432(0x203)),'shrinkToFit':_0x158cd1[_0x2ba432(0x40a)]('shrinkToFit'),'layoutAnimation':_0x158cd1[_0x2ba432(0x40a)](_0x2ba432(0x254)),'shuffle':![],'shape':_0x158cd1[_0x2ba432(0x40a)](_0x2ba432(0x181))});function _0x276206(_0x5cee1e){const _0x486785=_0x2ba432,_0x282122=_0x5cee1e['detail'][_0x486785(0x549)];_0x5cee1e['detail']['drawn']&&_0x158cd1[_0x486785(0x365)][_0x486785(0x352)]&&(_0x5cee1e[_0x486785(0x25a)][_0x486785(0x1dd)]['gx']+=_0x4ea2d4['x']/_0x9fe963,_0x5cee1e[_0x486785(0x25a)][_0x486785(0x1dd)]['gy']+=_0x4ea2d4['y']/_0x9fe963,_0x158cd1[_0x486785(0x365)]['ondraw'](_0x282122[0x0],_0x282122[0x1],_0x282122[0x2],_0x5cee1e['detail'][_0x486785(0x1dd)]));}_0x48726e[_0x2ba432(0x442)](_0x2ba432(0x3d6),_0x276206);if(_0x158cd1[_0x2ba432(0x365)])_0x158cd1[_0x2ba432(0x365)][_0x2ba432(0x25d)]();_0x158cd1[_0x2ba432(0x365)]={'ondraw':null,'dispose'(){const _0x2de1a0=_0x2ba432;_0x48726e['removeEventListener']('wordclouddrawn',_0x276206),_0x48726e[_0x2de1a0(0x442)](_0x2de1a0(0x3d6),function(_0x319fb1){const _0xba6879=_0x2de1a0;_0x319fb1[_0xba6879(0x1af)]();});}};});}),_0x9b9bb1[_0x4664e9(0x437)](function(_0x44b39c){const _0x240495=_0x4664e9;let _0x595379=(_0x44b39c||{})[_0x240495(0x34d)];!_0x9b9bb1[_0x240495(0x332)][_0x240495(0x56f)](_0x595379)&&(_0x595379=_0x595379?[_0x595379]:[]);const _0x13062a=[_0x240495(0x226),_0x240495(0x519),'shadowOffsetX','shadowOffsetY'];_0x9b9bb1['util'][_0x240495(0x2f9)](_0x595379,function(_0x23ac5e){const _0x156970=_0x240495;if(_0x23ac5e&&_0x23ac5e[_0x156970(0x448)]===_0x156970(0x5af)){const _0x3dab00=_0x23ac5e[_0x156970(0x54d)]||{};_0x2b0640(_0x3dab00[_0x156970(0x455)]),_0x2b0640(_0x3dab00['emphasis']);}});function _0x2b0640(_0x524f96){const _0x36ae54=_0x240495;_0x524f96&&_0x9b9bb1[_0x36ae54(0x332)][_0x36ae54(0x2f9)](_0x13062a,function(_0x5db137){const _0x432abe=_0x36ae54;if(Object['prototype']['hasOwnProperty'][_0x432abe(0x5e1)](_0x524f96,_0x5db137))_0x524f96['text'+_0x9b9bb1['format'][_0x432abe(0x3c2)](_0x5db137)]=_0x524f96[_0x5db137];});}});function _0x1659e2(_0x2183b0,_0x3bec55){const _0x28e4ab=_0x4664e9,_0x1d84a7=_0x2183b0[_0x28e4ab(0x143)],_0x572f47=_0x2183b0[_0x28e4ab(0x37a)];_0x1d84a7>_0x572f47*_0x3bec55?(_0x2183b0['x']+=(_0x1d84a7-_0x572f47*_0x3bec55)/0x2,_0x2183b0[_0x28e4ab(0x143)]=_0x572f47*_0x3bec55):(_0x2183b0['y']+=(_0x572f47-_0x1d84a7/_0x3bec55)/0x2,_0x2183b0[_0x28e4ab(0x37a)]=_0x1d84a7/_0x3bec55);}_0x9b9bb1[_0x4664e9(0x40e)]({'type':_0x4664e9(0x328),'visualStyleAccessPath':_0x4664e9(0x54d),'visualStyleMapper'(_0x1d10c2){const _0x3e09f7=_0x4664e9;return{'fill':_0x1d10c2[_0x3e09f7(0x40a)](_0x3e09f7(0x571))};},'visualDrawType':'fill','optionUpdated'(){const _0x2bf340=_0x4664e9,_0xfb34d4=this[_0x2bf340(0x445)];_0xfb34d4['gridSize']=Math[_0x2bf340(0x268)](Math['floor'](_0xfb34d4[_0x2bf340(0x5f6)]),0x4);},'getInitialData'(_0x2d265f){const _0x1a1706=_0x4664e9,_0x5a7b2d=_0x9b9bb1[_0x1a1706(0x147)][_0x1a1706(0x534)](_0x2d265f['data'],{'coordDimensions':[_0x1a1706(0x46a)]}),_0x1a3b7d=new _0x9b9bb1[(_0x1a1706(0x17f))](_0x5a7b2d,this);return _0x1a3b7d[_0x1a1706(0x4f5)](_0x2d265f[_0x1a1706(0x2bf)]),_0x1a3b7d;},'defaultOption':{'maskImage':null,'shape':_0x4664e9(0x579),'keepAspect':![],'left':'center','top':'center','width':_0x4664e9(0x5c4),'height':_0x4664e9(0x3f8),'sizeRange':[0xc,0x3c],'rotationRange':[-0x5a,0x5a],'rotationStep':0x2d,'gridSize':0x8,'drawOutOfBound':![],'shrinkToFit':![],'textStyle':{'fontWeight':_0x4664e9(0x455)}}}),_0x9b9bb1[_0x4664e9(0x5f3)]({'type':'wordCloud','render'(_0x2d2fd3){const _0x38d4a=_0x4664e9,_0x53faf6=this[_0x38d4a(0x414)];_0x53faf6[_0x38d4a(0x3b4)]();const _0x27e061=_0x2d2fd3[_0x38d4a(0x1e9)](),_0x55b71f=_0x2d2fd3[_0x38d4a(0x40a)](_0x38d4a(0x5f6));_0x2d2fd3[_0x38d4a(0x365)]['ondraw']=function(_0x1e033d,_0x2bca3c,_0x367f95,_0x15b75e){const _0x130f96=_0x38d4a,_0x473c0c=_0x27e061[_0x130f96(0x209)](_0x367f95),_0xcaaa8b=_0x473c0c[_0x130f96(0x26e)]('textStyle'),_0x5497af=new _0x9b9bb1['graphic'][(_0x130f96(0x49d))]({'style':_0x9b9bb1[_0x130f96(0x147)][_0x130f96(0x34b)](_0xcaaa8b),'scaleX':0x1/_0x15b75e['info']['mu'],'scaleY':0x1/_0x15b75e['info']['mu'],'x':(_0x15b75e['gx']+_0x15b75e[_0x130f96(0x3ae)]['gw']/0x2)*_0x55b71f,'y':(_0x15b75e['gy']+_0x15b75e[_0x130f96(0x3ae)]['gh']/0x2)*_0x55b71f,'rotation':_0x15b75e[_0x130f96(0x45b)]});_0x5497af['setStyle']({'x':_0x15b75e[_0x130f96(0x3ae)][_0x130f96(0x307)],'y':_0x15b75e['info'][_0x130f96(0x38d)]+_0x2bca3c*0.5,'text':_0x1e033d,'verticalAlign':_0x130f96(0x2e7),'fill':_0x27e061[_0x130f96(0x156)](_0x367f95,_0x130f96(0x4cb))[_0x130f96(0x5be)],'fontSize':_0x2bca3c}),_0x53faf6['add'](_0x5497af),_0x27e061[_0x130f96(0x58f)](_0x367f95,_0x5497af),_0x5497af['ensureState']('emphasis')['style']=_0x9b9bb1[_0x130f96(0x147)]['createTextStyle'](_0x473c0c['getModel']([_0x130f96(0x425),'textStyle']),{'state':_0x130f96(0x425)}),_0x5497af[_0x130f96(0x453)](_0x130f96(0x56a))[_0x130f96(0x4cb)]=_0x9b9bb1['helper'][_0x130f96(0x34b)](_0x473c0c[_0x130f96(0x26e)](['blur',_0x130f96(0x54d)]),{'state':'blur'}),_0x9b9bb1[_0x130f96(0x147)][_0x130f96(0x149)](_0x5497af,_0x473c0c[_0x130f96(0x40a)]([_0x130f96(0x425),_0x130f96(0x533)]),_0x473c0c[_0x130f96(0x40a)]([_0x130f96(0x425),_0x130f96(0x145)])),_0x5497af[_0x130f96(0x297)]={'duration':_0x2d2fd3[_0x130f96(0x40a)](_0x130f96(0x3eb))?_0x2d2fd3[_0x130f96(0x40a)]([_0x130f96(0x20e),_0x130f96(0x306)]):0x0,'easing':_0x2d2fd3['get'](['stateAnimation',_0x130f96(0x231)])},_0x5497af['__highDownDispatcher']=!![];},this[_0x38d4a(0x581)]=_0x2d2fd3;},'remove'(){const _0xeb067c=_0x4664e9;this[_0xeb067c(0x414)][_0xeb067c(0x3b4)](),this[_0xeb067c(0x581)][_0xeb067c(0x365)][_0xeb067c(0x25d)]();},'dispose'(){const _0x550923=_0x4664e9;this[_0x550923(0x581)][_0x550923(0x365)]['dispose']();}});}let UniverSheetsChartUIPlugin=class UniverSheetsChartUIPlugin extends _univerjs_core['Plugin']{constructor(_0x321a93,_0x352375,_0x30b275){const _0x1e2cc5=_0x94e517;super(),this[_0x1e2cc5(0x3a7)]=_0x321a93,this['_injector']=_0x352375,this[_0x1e2cc5(0x3b5)]=_0x30b275,this[_0x1e2cc5(0x3fc)](),registerWordCloud(_univerjs_pro_engine_chart[_0x1e2cc5(0x413)]);}[_0x94e517(0x584)](){const _0x156656=_0x94e517,_0x185a8a=this[_0x156656(0x327)];[[SheetsChartUIService],[IChartHostProviderService,{'useClass':SheetsChartHostProviderService}],[ChartRenderService],[SheetsChartUIController],[ChartHostProviderController],[ChartRenderController],[SheetsChartClipboardController],[ChartSheetChangeController],[SheetsChartUIPermissionController]][_0x156656(0x21f)](_0x206719=>_0x185a8a[_0x156656(0x199)](_0x206719)),(0x0,_univerjs_core[_0x156656(0x5fa)])(this['_injector'],[[SheetsChartUIController],[ChartRenderController],[ChartHostProviderController],[SheetsChartUIService],[SheetsChartClipboardController],[ChartSheetChangeController],[SheetsChartUIPermissionController]]);}[_0x94e517(0x248)](){const _0xc269d=_0x94e517;var _0x3a6fb3;(_0x3a6fb3=this[_0xc269d(0x327)][_0xc269d(0x40a)](SheetsChartUIController))===null||_0x3a6fb3===void 0x0||_0x3a6fb3[_0xc269d(0x4cc)]();}[_0x94e517(0x3fc)](){const _0x54ef4e=_0x94e517;[MenuInsertChartCommand,ChartOpenPanelOperation,ChartHidePanelOperation]['forEach'](_0x472538=>this[_0x54ef4e(0x5a6)](this[_0x54ef4e(0x3b5)]['registerCommand'](_0x472538)));}};_defineProperty(UniverSheetsChartUIPlugin,'type',_univerjs_core['UniverInstanceType'][_0x94e517(0x596)]),_defineProperty(UniverSheetsChartUIPlugin,_0x94e517(0x37b),'UniverSheetsChartUIPlugin'),_defineProperty(UniverSheetsChartUIPlugin,_0x94e517(0x2c2),name),_defineProperty(UniverSheetsChartUIPlugin,_0x94e517(0x45d),version),UniverSheetsChartUIPlugin=__decorate([(0x0,_univerjs_core[_0x94e517(0x57b)])(_univerjs_sheets_drawing_ui['UniverSheetsDrawingUIPlugin'],_univerjs_pro_sheets_chart['UniverSheetsChartPlugin']),__decorateParam(0x1,(0x0,_univerjs_core['Inject'])(_univerjs_core[_0x94e517(0x2bc)])),__decorateParam(0x2,_univerjs_core['ICommandService'])],UniverSheetsChartUIPlugin),Object[_0x94e517(0x28d)](exports,_0x94e517(0x2a1),{'enumerable':!![],'get':function(){return SheetsChartUIController;}}),Object[_0x94e517(0x28d)](exports,_0x94e517(0x3ee),{'enumerable':!![],'get':function(){return SheetsChartUIService;}}),Object[_0x94e517(0x28d)](exports,_0x94e517(0x16d),{'enumerable':!![],'get':function(){return UniverSheetsChartUIPlugin;}}),exports[_0x94e517(0x547)]=registerWordCloud;
|