@univerjs-pro/boards-chart-ui 1.0.0-alpha.8 → 1.0.0-beta.1
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 +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/ar-SA.js +1 -1
- package/lib/cjs/locale/ca-ES.js +1 -1
- package/lib/cjs/locale/de-DE.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/es-ES.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/id-ID.js +1 -1
- package/lib/cjs/locale/it-IT.js +1 -1
- package/lib/cjs/locale/ja-JP.js +1 -1
- package/lib/cjs/locale/ko-KR.js +1 -1
- package/lib/cjs/locale/pl-PL.js +1 -1
- package/lib/cjs/locale/pt-BR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/sk-SK.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-HK.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/ar-SA.js +1 -1
- package/lib/es/locale/ca-ES.js +1 -1
- package/lib/es/locale/de-DE.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/es-ES.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/id-ID.js +1 -1
- package/lib/es/locale/it-IT.js +1 -1
- package/lib/es/locale/ja-JP.js +1 -1
- package/lib/es/locale/ko-KR.js +1 -1
- package/lib/es/locale/pl-PL.js +1 -1
- package/lib/es/locale/pt-BR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/sk-SK.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-HK.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/index.css +17 -128
- package/lib/index.js +1 -1
- package/lib/locale/ar-SA.js +1 -1
- package/lib/locale/ca-ES.js +1 -1
- package/lib/locale/de-DE.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/es-ES.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/id-ID.js +1 -1
- package/lib/locale/it-IT.js +1 -1
- package/lib/locale/ja-JP.js +1 -1
- package/lib/locale/ko-KR.js +1 -1
- package/lib/locale/pl-PL.js +1 -1
- package/lib/locale/pt-BR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/sk-SK.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-HK.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/types/common/BoardChartTypeOptions.d.ts +133 -8
- package/lib/types/components/BoardChartEditPanel.d.ts +86 -4
- package/lib/types/components/BoardChartInsertPanel.d.ts +4 -5
- package/lib/types/controllers/board-chart-element-float-menu.controller.d.ts +5 -3
- package/lib/types/controllers/board-chart-panel.controller.d.ts +3 -1
- package/lib/types/index.d.ts +3 -5
- package/lib/types/locale/en-US.d.ts +94 -228
- package/lib/types/services/board-chart-clipboard-adapter.d.ts +3 -3
- package/lib/types/services/board-chart-data-edit.service.d.ts +4 -4
- package/lib/types/services/board-chart-edit-session.service.d.ts +3 -0
- package/lib/types/services/board-chart-host.d.ts +2 -14
- package/lib/types/services/board-chart-render.service.d.ts +7 -12
- package/lib/types/services/board-chart-snapshot-render.service.d.ts +9 -53
- package/lib/types/services/board-chart-ui.service.d.ts +18 -122
- package/lib/types/services/chart-image-export-provider.d.ts +21 -0
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/ar-SA.js +1 -1
- package/lib/umd/locale/ca-ES.js +1 -1
- package/lib/umd/locale/de-DE.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/es-ES.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/id-ID.js +1 -1
- package/lib/umd/locale/it-IT.js +1 -1
- package/lib/umd/locale/ja-JP.js +1 -1
- package/lib/umd/locale/ko-KR.js +1 -1
- package/lib/umd/locale/pl-PL.js +1 -1
- package/lib/umd/locale/pt-BR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/sk-SK.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-HK.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +14 -14
- package/lib/types/hooks.d.ts +0 -3
- package/lib/types/services/board-chart-element-selection.d.ts +0 -7
package/lib/es/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x763d2d=_0x2c90;(function(_0x643144,_0x147594){const _0x14b94f=_0x2c90,_0x79738a=_0x643144();while(!![]){try{const _0x435b53=parseInt(_0x14b94f(0x33b))/0x1*(-parseInt(_0x14b94f(0x36c))/0x2)+parseInt(_0x14b94f(0x324))/0x3*(parseInt(_0x14b94f(0x3a9))/0x4)+-parseInt(_0x14b94f(0x3b7))/0x5+parseInt(_0x14b94f(0x380))/0x6+parseInt(_0x14b94f(0x344))/0x7+-parseInt(_0x14b94f(0x4e8))/0x8+-parseInt(_0x14b94f(0x457))/0x9;if(_0x435b53===_0x147594)break;else _0x79738a['push'](_0x79738a['shift']());}catch(_0x424ea1){_0x79738a['push'](_0x79738a['shift']());}}}(_0x4df7,0x808ef));import{BoardElementType as _0x12b759,BoardToolType as _0x1ec962,IBoardElementService as _0x3371ae,InsertBoardChartOperation as _0x41d951,UniverBoardsPlugin as _0x7eddda,resolveBoardElementWorldBounds as _0xf45239}from'@univerjs-pro/boards';import{BOARDS_UI_PLUGIN_CONFIG_KEY as _0x4623fd,BOARD_INSERT_CHART_PANEL_COMPONENT as _0x1b3053,BoardCanvasPopManagerService as _0x3f8177,BoardDeleteSelectionOperation as _0x199bbb,BoardDomLayerService as _0x481ff1,BoardInteractionSurfaceService as _0x357bf2,IBoardClipboardResourceAdapterService as _0x556e02,IBoardElementStateService as _0x5ea65c,IBoardSidePanelService as _0x3a4787,IBoardUIStateService as _0x140b0f,UniverBoardsUIPlugin as _0x23c246,getBoardElementRenderObjectKey as _0x4ec66c,resolveRotatedBoardObjectAnchorBound as _0x1411a9}from'@univerjs-pro/boards-ui';import{CommandType as _0xba2def,DependentOn as _0x534577,Disposable as _0x3dbc5d,DisposableCollection as _0x543f35,ICommandService as _0x22f25e,IConfigService as _0x4b4a81,IUniverInstanceService as _0x3a975c,Inject as _0x1b1a65,Injector as _0x14a46d,LocaleService as _0x344124,Optional as _0x5b7910,Plugin as _0x76943f,RxDisposable as _0xb85063,ThemeService as _0x207a87,Tools as _0x4a012f,UniverInstanceType as _0x246183,createIdentifier as _0x2e3f63,generateRandomId as _0x402fb2,merge as _0x364676,toDisposable as _0x76ee0e,touchDependencies as _0x1da26}from'@univerjs/core';import{BehaviorSubject as _0x15488c,Observable as _0x1c50f0,Subject as _0x4ad77e,combineLatest as _0x1ab4ed,combineLatestWith as _0x102515,distinctUntilChanged as _0x3f7c46,filter as _0x58e04d,firstValueFrom as _0x19cc6c,fromEvent as _0x58acbf,map as _0x3dbd3e,merge as _0x271979,skip as _0x387148,take as _0x68b70a,takeUntil as _0x5c850d,throttleTime as _0x13980d,timeout as _0x161846}from'rxjs';import{BOARD_WORD_CLOUD_RENDER_CONFIG as _0x5951da,BoardChartModelService as _0x32e828,BoardChartResourceService as _0x5766b0,DEFAULT_BOARD_CHART_VALUES as _0x1072c6,DuplicateBoardChartDataSourceCommand as _0x4b567a,RemoveBoardChartDataSourceMutation as _0x3640d3,RemoveBoardChartSnapshotMutation as _0xb8dd45,SetBoardChartDataSourceMutation as _0x550a25,SetBoardChartSnapshotMutation as _0x4ab44d,UniverBoardsChartPlugin as _0x1aaf69,UpdateBoardChartConfigCommand as _0x2f770c,UpdateBoardChartDataSourceCommand as _0x10d61a,parseInlineTable as _0x39ad85}from'@univerjs-pro/boards-chart';import{CHART_ELEMENT_FLOAT_MENU_COMPONENT as _0x35c88e,ChartColorField as _0x5945f0,ChartEditBlockTitle as _0xa7fbc6,ChartEditPanelScaffold as _0x16f83b,ChartElementFloatMenuAdapterRegistry as _0x28f7d6,ChartFontField as _0x4fcc57,ChartInlineTableEditor as _0x439e10,ChartLegendWrapField as _0x394226,ChartNumberField as _0x16acd0,ChartPointMappingStateKey as _0x3434f7,ChartPropertyRow as _0x32a930,ChartSelectField as _0x4491c2,ChartSemanticDataFields as _0x581322,ChartTextField as _0xec0325,UniverChartUIPlugin as _0x1ceece,buildChartThemeSelectOptions as _0x157c70,buildChartTypeSelectOptions as _0x5ad802,chartBorderWidthValues as _0x2a4b11,chartLinePointSizeValues as _0xe25ebe,chartOpacityValues as _0x51b45c,chartTickLengthValues as _0x12c6be,chartTickWidthValues as _0x6a3032,compactInlineTableValues as _0x2b4b49,createChartInlineStarterData as _0x260c93,createPercentOptions as _0x83130b,createPxOptions as _0x583386,getChartInlineTableMinColumns as _0x23e5f9,getChartSemanticDataFieldKind as _0x844654,resolveChartElementConfigTarget as _0x38d5c4}from'@univerjs-pro/chart-ui';import{Accordion as _0x186e1b,Button as _0x526b7a,Checkbox as _0x3dfacb,DropdownMenu as _0x4695e3,Select as _0x40700c,Separator as _0x2bd674,borderClassName as _0x2dab24,clsx as _0x4e57fc}from'@univerjs/design';import{DeleteEmptyIcon as _0x5382b2,DeleteIcon as _0x209a18,IncreaseIcon as _0x31684b,PenIcon as _0x5ea8de}from'@univerjs/icons';import{ComponentManager as _0x20fc20,ICanvasPopupService as _0x49c0ce,IDialogService as _0x229613,UniverUIPlugin as _0x3ab584,useDependency as _0x2b685c,useObservable as _0x91ce04}from'@univerjs/ui';import{useCallback as _0x2ccf46,useEffect as _0x124644,useMemo as _0x236c68,useRef as _0x4113d8,useState as _0x3b09b5}from'react';import{AreaLineStyle as _0x101475,AxisAlignEnum as _0x40a8e4,AxisValueType as _0xef600,CHART_HOST_DEFAULT_BORDER_COLOR as _0x12367d,CHART_HOST_DEFAULT_BORDER_RADIUS as _0x165927,CartesianPointRoleIndex as _0xf313f7,ChartAttributeBits as _0x2f43ff,ChartBorderDashType as _0x58a595,ChartHostRenderMode as _0x4d42d7,ChartThemeService as _0x52efc0,ChartTrendlineType as _0x502ea5,ChartTypeBits as _0x165125,DataOrientation as _0x27a1dd,EChartRenderEngineName as _0x54f24f,EChartRenderModel as _0x5e9ff9,IChartRenderModelManagerService as _0x535b6f,IRuntimeAxisPosition as _0x363434,ImageChartHost as _0x2e0cda,InvalidValueType as _0x1c43d3,LabelContentType as _0x2c73ec,LegendPositionEnum as _0x57f849,LinePointShape as _0x24ee84,PieLabelPosition as _0x3633fd,RadarShape as _0x1b002d,RelationChartLayoutEnum as _0x98cc,SelectModeEnum as _0x37a203,SeriesLabelPosition as _0x45aa52,StackType as _0x283368,TitlePositionEnum as _0x48b20d,WaterfallSeriesTypeEnum as _0x41f63d,WaterfallStackTypeEnum as _0x638ec8,WordCloudShapeEnum as _0x5e5be1,chartBitsUtils as _0x50211b,chartImageSourceToDataUrl as _0x43a037,chartTypeCanUseTrendLine as _0x5782a8,defaultChartConfig as _0x4275ae,normalizeCandlestickInlineTable as _0x143fd8,resolveChartRuntimeStyle as _0x16dd61,resolveDefaultChartHostFrameStyle as _0x4d9ba6}from'@univerjs-pro/engine-chart';import{Fragment as _0x59b24f,jsx as _0xb12f60,jsxs as _0x4f0e43}from'react/jsx-runtime';import{UniverLicensePlugin as _0x4ba30d}from'@univerjs-pro/license';import{IRenderManagerService as _0x1739c3,Image as _0x318066,UniverRenderEnginePlugin as _0x4d5451}from'@univerjs/engine-render';const dn=_0x763d2d(0x249),fn={};function pn(_0xedd64c){'@babel/helpers - typeof';const _0x610147=_0x763d2d;return pn=typeof Symbol==_0x610147(0x36a)&&typeof Symbol[_0x610147(0x4ef)]==_0x610147(0x31f)?function(_0x47809a){return typeof _0x47809a;}:function(_0xdb5a8f){const _0x31f833=_0x610147;return _0xdb5a8f&&typeof Symbol==_0x31f833(0x36a)&&_0xdb5a8f[_0x31f833(0x39f)]===Symbol&&_0xdb5a8f!==Symbol[_0x31f833(0x274)]?_0x31f833(0x31f):typeof _0xdb5a8f;},pn(_0xedd64c);}function mn(_0x48d32a,_0x1d1897){const _0x583abc=_0x763d2d;if(pn(_0x48d32a)!=_0x583abc(0x36b)||!_0x48d32a)return _0x48d32a;var _0x203f8a=_0x48d32a[Symbol['toPrimitive']];if(_0x203f8a!==void 0x0){var _0x3bb692=_0x203f8a[_0x583abc(0x1e7)](_0x48d32a,_0x1d1897||_0x583abc(0x1e6));if(pn(_0x3bb692)!=_0x583abc(0x36b))return _0x3bb692;throw TypeError(_0x583abc(0x218));}return(_0x1d1897===_0x583abc(0x265)?String:Number)(_0x48d32a);}function hn(_0x49b009){const _0x4bed99=_0x763d2d;var _0xab8842=mn(_0x49b009,_0x4bed99(0x265));return pn(_0xab8842)==_0x4bed99(0x31f)?_0xab8842:_0xab8842+'';}function Y(_0x166970,_0x143926,_0x294915){const _0x2d3948=_0x763d2d;return(_0x143926=hn(_0x143926))in _0x166970?Object[_0x2d3948(0x1bd)](_0x166970,_0x143926,{'value':_0x294915,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x166970[_0x143926]=_0x294915,_0x166970;}function X(_0x47298b,_0x4acd1d){return function(_0x3dee13,_0x59e8ef){_0x4acd1d(_0x3dee13,_0x59e8ef,_0x47298b);};}function Z(_0x40b711,_0xa4331d,_0x310b1e,_0x1f5be7){const _0x11975a=_0x763d2d;var _0x3b9e31=arguments[_0x11975a(0x310)],_0x51f36e=_0x3b9e31<0x3?_0xa4331d:_0x1f5be7===null?_0x1f5be7=Object['getOwnPropertyDescriptor'](_0xa4331d,_0x310b1e):_0x1f5be7,_0x342de5;if(typeof Reflect==_0x11975a(0x36b)&&typeof Reflect['decorate']==_0x11975a(0x36a))_0x51f36e=Reflect[_0x11975a(0x4fb)](_0x40b711,_0xa4331d,_0x310b1e,_0x1f5be7);else{for(var _0x40e6bb=_0x40b711[_0x11975a(0x310)]-0x1;_0x40e6bb>=0x0;_0x40e6bb--)(_0x342de5=_0x40b711[_0x40e6bb])&&(_0x51f36e=(_0x3b9e31<0x3?_0x342de5(_0x51f36e):_0x3b9e31>0x3?_0x342de5(_0xa4331d,_0x310b1e,_0x51f36e):_0x342de5(_0xa4331d,_0x310b1e))||_0x51f36e);}return _0x3b9e31>0x3&&_0x51f36e&&Object['defineProperty'](_0xa4331d,_0x310b1e,_0x51f36e),_0x51f36e;}function gn(_0xcc5d39,_0x4cf16b){const _0x435ed2=_0x763d2d;return(_0xcc5d39==null?void 0x0:_0xcc5d39['unitId'])===_0x4cf16b[_0x435ed2(0x2d4)]&&_0xcc5d39[_0x435ed2(0x469)]===_0x4cf16b[_0x435ed2(0x469)]&&_0xcc5d39[_0x435ed2(0x4e5)]===_0x4cf16b[_0x435ed2(0x4e5)]&&_0xcc5d39[_0x435ed2(0x3e5)]===_0x4cf16b[_0x435ed2(0x3e5)]&&_0xcc5d39[_0x435ed2(0x204)]===_0x4cf16b[_0x435ed2(0x204)];}let Q=class extends _0x3dbc5d{constructor(_0x508764,_0x43ab72){const _0x43e2b6=_0x763d2d;super(),this[_0x43e2b6(0x46c)]=_0x508764,this['_boardElementService']=_0x43ab72,Y(this,_0x43e2b6(0x22f),new _0x15488c(null)),Y(this,_0x43e2b6(0x364),this[_0x43e2b6(0x22f)]['asObservable']()),this[_0x43e2b6(0x2b8)](this['_elementStateService'][_0x43e2b6(0x30e)]['subscribe'](_0x3a6629=>this[_0x43e2b6(0x3cd)](_0x3a6629))),this[_0x43e2b6(0x2b8)](this['_boardElementService']['elementRemove$'][_0x43e2b6(0x271)](_0x1802ab=>{const _0x58854c=_0x43e2b6;let _0x2d32bc=this[_0x58854c(0x2d9)]();_0x2d32bc&&_0x1802ab['some'](_0x3cdf47=>_0x3cdf47[_0x58854c(0x2d4)]===_0x2d32bc['unitId']&&_0x3cdf47['subUnitId']===_0x2d32bc[_0x58854c(0x469)]&&_0x3cdf47['elementId']===_0x2d32bc[_0x58854c(0x4e5)])&&this['close'](_0x58854c(0x533));}));}[_0x763d2d(0x200)](){const _0x5a3cf6=_0x763d2d;this['close'](_0x5a3cf6(0x200)),this['_activeSession$']['complete'](),super[_0x5a3cf6(0x200)]();}[_0x763d2d(0x2d9)](){const _0x150e27=_0x763d2d;return this[_0x150e27(0x22f)]['getValue']();}['open'](_0x29c49a){const _0x19bcf1=_0x763d2d;let _0x52d788={..._0x29c49a};gn(this['getActiveSession'](),_0x52d788)||this[_0x19bcf1(0x22f)]['next'](_0x52d788);}[_0x763d2d(0x327)](_0x539c24){const _0x4a1a4e=_0x763d2d;this['getActiveSession']()&&this[_0x4a1a4e(0x22f)][_0x4a1a4e(0x2b9)](null);}[_0x763d2d(0x3cd)](_0x227eb4){const _0x4302ea=_0x763d2d;let _0x32065c=this[_0x4302ea(0x2d9)]();if(!_0x32065c)return;if(_0x227eb4[_0x4302ea(0x1ba)]){this[_0x4302ea(0x327)](_0x4302ea(0x2f5));return;}if(!_0x227eb4[_0x4302ea(0x24e)]){this[_0x4302ea(0x327)]('selectionChange');return;}if(_0x227eb4[_0x4302ea(0x24e)][_0x4302ea(0x2d4)]!==_0x32065c[_0x4302ea(0x2d4)]){this['close'](_0x4302ea(0x25f));return;}if(_0x227eb4[_0x4302ea(0x24e)][_0x4302ea(0x469)]!==_0x32065c[_0x4302ea(0x469)]){this[_0x4302ea(0x327)](_0x4302ea(0x281));return;}if(_0x227eb4['selectedIds'][_0x4302ea(0x310)]!==0x1||_0x227eb4[_0x4302ea(0x1c5)]!==_0x32065c[_0x4302ea(0x4e5)]){this[_0x4302ea(0x327)](_0x4302ea(0x25f));return;}let _0x29f207=this[_0x4302ea(0x3a5)][_0x4302ea(0x252)](_0x32065c[_0x4302ea(0x2d4)],_0x32065c[_0x4302ea(0x469)],_0x32065c[_0x4302ea(0x4e5)]);(!_0x29f207||_0x29f207[_0x4302ea(0x50f)][_0x4302ea(0x304)]!==_0x12b759['Chart']||_0x29f207[_0x4302ea(0x50f)]['chartId']!==_0x32065c[_0x4302ea(0x3e5)])&&this[_0x4302ea(0x327)]('selectionChange');}};Q=Z([X(0x0,_0x5ea65c),X(0x1,_0x3371ae)],Q);const _n=[{'label':_0x763d2d(0x399),'value':_0x165125[_0x763d2d(0x40b)]},{'label':'boards-chart-ui.chartTypes.column','value':_0x165125[_0x763d2d(0x381)]},{'label':_0x763d2d(0x268),'value':_0x165125['ColumnStacked']},{'label':_0x763d2d(0x403),'value':_0x165125[_0x763d2d(0x4be)]},{'label':'boards-chart-ui.chartTypes.bar','value':_0x165125['Bar']},{'label':'boards-chart-ui.chartTypes.barStacked','value':_0x165125[_0x763d2d(0x51b)]},{'label':_0x763d2d(0x466),'value':_0x165125[_0x763d2d(0x39c)]},{'label':_0x763d2d(0x3bc),'value':_0x165125[_0x763d2d(0x31e)]},{'label':'boards-chart-ui.chartTypes.donut','value':_0x165125[_0x763d2d(0x2ca)]},{'label':_0x763d2d(0x4fe),'value':_0x165125['Area']},{'label':_0x763d2d(0x3d0),'value':_0x165125[_0x763d2d(0x250)]},{'label':'boards-chart-ui.chartTypes.areaPercentStacked','value':_0x165125[_0x763d2d(0x33c)]},{'label':'boards-chart-ui.chartTypes.radar','value':_0x165125[_0x763d2d(0x242)]},{'label':_0x763d2d(0x3a7),'value':_0x165125[_0x763d2d(0x4b8)]},{'label':_0x763d2d(0x20c),'value':_0x165125['Combination']},{'label':'boards-chart-ui.chartTypes.wordCloud','value':_0x165125[_0x763d2d(0x311)]},{'label':_0x763d2d(0x3ca),'value':_0x165125['Funnel']},{'label':_0x763d2d(0x37f),'value':_0x165125[_0x763d2d(0x333)]},{'label':_0x763d2d(0x28a),'value':_0x165125[_0x763d2d(0x277)]},{'label':_0x763d2d(0x3ce),'value':_0x165125[_0x763d2d(0x1cd)]},{'label':_0x763d2d(0x370),'value':_0x165125['Pareto']},{'label':_0x763d2d(0x38b),'value':_0x165125[_0x763d2d(0x2c0)]},{'label':_0x763d2d(0x1db),'value':_0x165125['Heatmap']},{'label':'boards-chart-ui.chartTypes.boxplot','value':_0x165125['Boxplot']},{'label':'boards-chart-ui.chartTypes.candlestick','value':_0x165125[_0x763d2d(0x376)]},{'label':_0x763d2d(0x3dd),'value':_0x165125[_0x763d2d(0x339)]},{'label':_0x763d2d(0x195),'value':_0x165125[_0x763d2d(0x2db)]}],vn=_n[_0x763d2d(0x4ee)](_0x21fa4d=>![_0x165125[_0x763d2d(0x38d)],_0x165125[_0x763d2d(0x4be)],_0x165125[_0x763d2d(0x51b)],_0x165125[_0x763d2d(0x39c)],_0x165125['Doughnut'],_0x165125['AreaStacked'],_0x165125[_0x763d2d(0x33c)],_0x165125['Pareto']][_0x763d2d(0x36f)](_0x21fa4d[_0x763d2d(0x41c)])),yn=_0x2e3f63(_0x763d2d(0x3ea));function bn(_0x47f845){const _0x47b561=_0x763d2d;let {headers:_0x19f916,seriesResourceIndexes:_0x2b476a=[]}=_0x47f845[_0x47b561(0x29b)][_0x47b561(0x24e)],_0x89cc26=new Map();return _0x2b476a[_0x47b561(0x4e0)](_0x305f4d=>{const _0xce25f4=_0x47b561;var _0x111982;let _0x2e8ad9=(_0x19f916==null?void 0x0:_0x19f916[_0x305f4d])||_0xce25f4(0x52c)+(_0x305f4d+0x1),_0x2b8a45=(_0x111982=_0x89cc26['get'](_0x2e8ad9))==null?0x0:_0x111982;return _0x89cc26['set'](_0x2e8ad9,_0x2b8a45+0x1),{'label':_0x2b8a45>0x0?_0x2e8ad9+'\x20'+_0x2b8a45:_0x2e8ad9,'value':String(_0x305f4d)};});}function xn(_0x3c3292){const _0x19a491=_0x763d2d;let {headers:_0x8bacd8,seriesIndexes:_0x8b779f=[]}=_0x3c3292['model']['context'];return _0x8b779f[_0x19a491(0x4e0)](_0x16faa7=>({'label':(_0x8bacd8==null?void 0x0:_0x8bacd8[_0x16faa7])||_0x19a491(0x52c)+_0x16faa7,'value':String(_0x16faa7)}));}function Sn(_0x1fc46d){const _0xbdaf45=_0x763d2d;let {categoryResourceIndexes:_0x51c38e,headers:_0x13e6c2,seriesResourceIndexes:_0x437e6b}=_0x1fc46d['model']['context'],_0x3992f6=_0x51c38e==null?void 0x0:_0x51c38e[_0xbdaf45(0x2ac)](_0x437e6b||[])[_0xbdaf45(0x461)]((_0x171958,_0x1b6c8f)=>(_0x171958||0x0)-(_0x1b6c8f||0x0));return(_0x3992f6==null?[]:_0x3992f6)[_0xbdaf45(0x4e0)](_0x1735c6=>({'label':(_0x13e6c2==null?void 0x0:_0x13e6c2[_0x1735c6])||'Category\x20'+(_0x1735c6+0x1),'value':String(_0x1735c6)}));}function Cn(_0x1b2c5c){const _0x1ad772=_0x763d2d;if(_0x1b2c5c)return _0x50211b['has'](_0x1b2c5c,_0x2f43ff['PercentStack'])?_0x283368['Percent']:_0x50211b[_0x1ad772(0x3f0)](_0x1b2c5c,_0x2f43ff['Stack'])?_0x283368[_0x1ad772(0x323)]:void 0x0;}function wn(_0x3e11a8,_0x1a1eda){const _0x394a45=_0x763d2d;let _0x177c1f=_0x50211b[_0x394a45(0x203)](_0x3e11a8,_0x2f43ff[_0x394a45(0x222)]|_0x2f43ff[_0x394a45(0x316)]);return _0x1a1eda===_0x283368[_0x394a45(0x323)]?_0x177c1f|_0x2f43ff['Stack']:_0x1a1eda===_0x283368[_0x394a45(0x479)]?_0x177c1f|_0x2f43ff[_0x394a45(0x222)]:_0x177c1f;}function Tn(_0x1b4c7d){const _0x23e15e=_0x763d2d;_0x1b4c7d['registerViewState'](_0x23e15e(0x4b5),_0x3fbdd2=>({'set'(_0x559026){const _0xaa2f52=_0x23e15e;let _0x2e9bd8={};_0x559026===_0x165125[_0xaa2f52(0x31e)]&&(_0x2e9bd8[_0xaa2f52(0x224)]={'doughnutHole':null}),_0x1b4c7d[_0xaa2f52(0x4a8)](_0x3fbdd2,_0x559026,_0x2e9bd8);},'get'(){const _0x528710=_0x23e15e;return _0x3fbdd2[_0x528710(0x29b)][_0x528710(0x2d0)];}})),_0x1b4c7d[_0x23e15e(0x21a)](_0x23e15e(0x475),_0x417c1d=>({'set'(_0x39adb6){const _0x2faff0=_0x23e15e;let _0x514396={'theme':_0x39adb6||null},_0x10a900=_0x417c1d['model'][_0x2faff0(0x3f1)][_0x2faff0(0x256)];if((_0x10a900==null?void 0x0:_0x10a900[_0x2faff0(0x355)])!==void 0x0){var _0x133841,_0x489c33,_0x468585;_0x514396[_0x2faff0(0x256)]={'color':null},((_0x133841=_0x10a900[_0x2faff0(0x481)])==null||(_0x133841=_0x133841[_0x2faff0(0x2bc)])==null?void 0x0:_0x133841[_0x2faff0(0x355)])!==void 0x0&&(_0x514396[_0x2faff0(0x256)][_0x2faff0(0x481)]={'positive':{'color':null}}),((_0x489c33=_0x10a900[_0x2faff0(0x481)])==null||(_0x489c33=_0x489c33[_0x2faff0(0x367)])==null?void 0x0:_0x489c33[_0x2faff0(0x355)])!==void 0x0&&(_0x514396['allSeriesStyle'][_0x2faff0(0x481)]={..._0x514396['allSeriesStyle'][_0x2faff0(0x481)],'negative':{'color':null}}),((_0x468585=_0x10a900[_0x2faff0(0x481)])==null||(_0x468585=_0x468585[_0x2faff0(0x202)])==null?void 0x0:_0x468585[_0x2faff0(0x355)])!==void 0x0&&(_0x514396[_0x2faff0(0x256)][_0x2faff0(0x481)]={..._0x514396['allSeriesStyle'][_0x2faff0(0x481)],'subtotal':{'color':null}});}let _0x214c2a=_0x417c1d['model'][_0x2faff0(0x3f1)][_0x2faff0(0x4ab)]||{};Object['keys'](_0x214c2a)[_0x2faff0(0x29f)](_0x12935e=>{const _0x4d3618=_0x2faff0;let _0x3fc8cb=_0x214c2a[_0x12935e];(_0x3fc8cb==null?void 0x0:_0x3fc8cb[_0x4d3618(0x355)])!==void 0x0&&(_0x514396[_0x4d3618(0x4ab)]={..._0x514396[_0x4d3618(0x4ab)],[_0x12935e]:{'color':null}});}),_0x1b4c7d[_0x2faff0(0x369)]({'chartId':_0x417c1d[_0x2faff0(0x3e5)],'style':_0x514396,'unitId':_0x417c1d[_0x2faff0(0x2d4)]});},'get'(){const _0x5a3b65=_0x23e15e;return _0x417c1d[_0x5a3b65(0x29b)][_0x5a3b65(0x2e1)][_0x5a3b65(0x269)](_0x3dbd3e(_0x640a7e=>{var _0x412603;return(_0x412603=_0x640a7e['theme'])==null?void 0x0:_0x412603;}),_0x3f7c46());}})),_0x1b4c7d['registerViewState'](_0x23e15e(0x1fc),_0x1ea75e=>({'set'(_0x2dab58){const _0x5ab439=_0x23e15e;_0x1b4c7d[_0x5ab439(0x369)]({'chartId':_0x1ea75e['chartId'],'style':{'backgroundColor':_0x2dab58||null},'unitId':_0x1ea75e[_0x5ab439(0x2d4)]});},'get'(){const _0x513f0e=_0x23e15e;return _0x1ea75e[_0x513f0e(0x29b)][_0x513f0e(0x2e1)]['pipe'](_0x3dbd3e(_0x57836e=>{var _0x939dff;return(_0x939dff=_0x57836e['backgroundColor'])==null?void 0x0:_0x939dff;}),_0x3f7c46());}})),_0x1b4c7d[_0x23e15e(0x21a)](_0x23e15e(0x471),_0x115b9a=>({'set'(_0x50c5a0){const _0x14dd57=_0x23e15e;_0x1b4c7d[_0x14dd57(0x369)]({'chartId':_0x115b9a[_0x14dd57(0x3e5)],'style':{'borderColor':_0x50c5a0==null?null:_0x50c5a0},'unitId':_0x115b9a[_0x14dd57(0x2d4)]});},'get'(){const _0x1901c6=_0x23e15e;return _0x115b9a[_0x1901c6(0x29b)][_0x1901c6(0x2e1)][_0x1901c6(0x269)](_0x3dbd3e(_0x33cebe=>_0x33cebe['borderColor']),_0x3f7c46());}})),_0x1b4c7d[_0x23e15e(0x21a)]('fontSize',_0x42a03d=>({'set'(_0x274c1b){const _0x3f84e2=_0x23e15e;_0x1b4c7d[_0x3f84e2(0x369)]({'chartId':_0x42a03d['chartId'],'style':{'fontSize':_0x274c1b},'unitId':_0x42a03d['unitId']});},'get'(){const _0x112fd3=_0x23e15e;return _0x42a03d[_0x112fd3(0x29b)][_0x112fd3(0x2e1)][_0x112fd3(0x269)](_0x3dbd3e(_0x4d4423=>_0x4d4423[_0x112fd3(0x3d7)]),_0x3f7c46());}})),_0x1b4c7d[_0x23e15e(0x21a)](_0x23e15e(0x3ac),_0xb8f38f=>({'set'(_0x3aee49){const _0x16829d=_0x23e15e;_0x1b4c7d[_0x16829d(0x369)]({'chartId':_0xb8f38f[_0x16829d(0x3e5)],'style':{'titleFontSize':_0x3aee49},'unitId':_0xb8f38f['unitId']});},'get'(){const _0x1ff5d7=_0x23e15e;return _0xb8f38f[_0x1ff5d7(0x29b)][_0x1ff5d7(0x2e1)][_0x1ff5d7(0x269)](_0x3dbd3e(_0x48a59f=>_0x48a59f[_0x1ff5d7(0x3ac)]),_0x3f7c46());}})),_0x1b4c7d[_0x23e15e(0x21a)](_0x23e15e(0x3c8),_0x37749c=>({'set'(_0xaa51ca){const _0x1c85cd=_0x23e15e;_0x1b4c7d['executeChartUpdateConfig']({'chartId':_0x37749c[_0x1c85cd(0x3e5)],'style':{'titles':{'title':{'content':_0xaa51ca}}},'unitId':_0x37749c[_0x1c85cd(0x2d4)]});},'get'(){const _0x10de3a=_0x23e15e;return _0x37749c[_0x10de3a(0x29b)][_0x10de3a(0x2e1)][_0x10de3a(0x269)](_0x3dbd3e(_0x4e5530=>{const _0x77e616=_0x10de3a;var _0x6fee6b;return(_0x6fee6b=_0x4e5530[_0x77e616(0x523)])==null||(_0x6fee6b=_0x6fee6b[_0x77e616(0x3c8)])==null?void 0x0:_0x6fee6b['content'];}),_0x3f7c46());}})),_0x1b4c7d[_0x23e15e(0x21a)](_0x23e15e(0x523),_0xdd8e7a=>({'set'(_0x562797){const _0x3821dc=_0x23e15e;_0x1b4c7d[_0x3821dc(0x369)]({'chartId':_0xdd8e7a[_0x3821dc(0x3e5)],'style':{'titles':_0x562797},'unitId':_0xdd8e7a['unitId']});},'get'(){const _0x24d93e=_0x23e15e;return _0xdd8e7a[_0x24d93e(0x29b)]['style$'][_0x24d93e(0x269)](_0x3dbd3e(_0x7187f2=>_0x7187f2[_0x24d93e(0x523)]));}})),_0x1b4c7d[_0x23e15e(0x21a)]('dataRange',_0x2db288=>_0x2db288[_0x23e15e(0x29b)]['context$'][_0x23e15e(0x269)](_0x102515(_0x2db288[_0x23e15e(0x204)][_0x23e15e(0x302)]),_0x3dbd3e(()=>_0x1b4c7d['getDataRangeLabel'](_0x2db288)),_0x3f7c46())),_0x1b4c7d[_0x23e15e(0x21a)](_0x23e15e(0x1da),_0x3f17b1=>({'set'(_0x529a1b){const _0x29a35f=_0x23e15e;_0x1b4c7d['executeChartUpdateConfig']({'chartId':_0x3f17b1[_0x29a35f(0x3e5)],'style':{'gradientFill':_0x529a1b},'unitId':_0x3f17b1[_0x29a35f(0x2d4)]});},'get'(){const _0x186b06=_0x23e15e;return _0x3f17b1[_0x186b06(0x29b)][_0x186b06(0x2e1)][_0x186b06(0x269)](_0x3dbd3e(_0x1079c6=>_0x1079c6[_0x186b06(0x1da)]),_0x3f7c46());}})),_0x1b4c7d[_0x23e15e(0x21a)](_0x23e15e(0x394),_0x59383f=>({'set'(_0x406b2f){const _0x215c28=_0x23e15e;_0x1b4c7d[_0x215c28(0x369)]({'chartId':_0x59383f[_0x215c28(0x3e5)],'chartType':wn(_0x59383f[_0x215c28(0x29b)][_0x215c28(0x4b5)],_0x406b2f),'unitId':_0x59383f[_0x215c28(0x2d4)]});},'get'(){const _0xd111a=_0x23e15e;return _0x59383f[_0xd111a(0x29b)][_0xd111a(0x2d0)][_0xd111a(0x269)](_0x3dbd3e(_0x5b1d02=>Cn(_0x5b1d02)),_0x3f7c46());}})),_0x1b4c7d[_0x23e15e(0x21a)](_0x23e15e(0x44f),_0x31e9d1=>({'set'(_0xafa8bf){const _0x3a0da7=_0x23e15e;_0x1b4c7d[_0x3a0da7(0x369)]({'chartId':_0x31e9d1['chartId'],'patch':{'context':{'orient':_0xafa8bf===_0x27a1dd[_0x3a0da7(0x505)]?_0x3a0da7(0x423):_0x3a0da7(0x444)}},'unitId':_0x31e9d1[_0x3a0da7(0x2d4)]});},'get'(){const _0x361a4e=_0x23e15e;return _0x31e9d1[_0x361a4e(0x204)][_0x361a4e(0x401)][_0x361a4e(0x269)](_0x3dbd3e(_0x2a8590=>_0x2a8590?_0x27a1dd[_0x361a4e(0x505)]:_0x27a1dd[_0x361a4e(0x381)]),_0x3f7c46());}})),_0x1b4c7d[_0x23e15e(0x21a)](_0x23e15e(0x2e5),_0x14db87=>({'set'(_0x187e10){const _0x4a0c4=_0x23e15e;_0x1b4c7d[_0x4a0c4(0x369)]({'chartId':_0x14db87['chartId'],'context':{'categoryIndex':_0x187e10},'unitId':_0x14db87['unitId']});},'get'(){const _0x18cd04=_0x23e15e;return _0x14db87['model'][_0x18cd04(0x1bc)]['pipe'](_0x3dbd3e(_0x47ca44=>_0x47ca44['categoryIndex']),_0x3f7c46());}})),_0x1b4c7d[_0x23e15e(0x21a)](_0x23e15e(0x48d),_0x5c42c0=>({'set'(_0x3a8d1d){const _0x5039d9=_0x23e15e;_0x1b4c7d[_0x5039d9(0x369)]({'chartId':_0x5c42c0['chartId'],'context':{'candlestick':_0x3a8d1d},'unitId':_0x5c42c0[_0x5039d9(0x2d4)]});},'get'(){const _0x462e7a=_0x23e15e;return _0x5c42c0[_0x462e7a(0x29b)][_0x462e7a(0x1bc)][_0x462e7a(0x269)](_0x3dbd3e(_0x5f1401=>_0x5f1401[_0x462e7a(0x3b9)]),_0x3f7c46());}})),_0x1b4c7d[_0x23e15e(0x21a)](_0x23e15e(0x524),_0x43c870=>({'set'(_0x3d45cf){const _0x2a3e5d=_0x23e15e;_0x1b4c7d[_0x2a3e5d(0x369)]({'chartId':_0x43c870[_0x2a3e5d(0x3e5)],'context':{'hierarchyIndexes':_0x3d45cf},'unitId':_0x43c870[_0x2a3e5d(0x2d4)]});},'get'(){const _0x83bc5a=_0x23e15e;return _0x43c870['model'][_0x83bc5a(0x1bc)]['pipe'](_0x3dbd3e(_0x455cfe=>{const _0x723a8a=_0x83bc5a;var _0x197cd3;return(_0x197cd3=_0x455cfe[_0x723a8a(0x524)])==null?[]:_0x197cd3;}),_0x3f7c46());}})),_0x1b4c7d[_0x23e15e(0x21a)](_0x23e15e(0x50a),_0x2a1f48=>({'set'(_0x5d49e6){const _0xf16626=_0x23e15e;_0x1b4c7d['executeChartUpdateConfig']({'chartId':_0x2a1f48['chartId'],'style':{'titles':{'titlePosition':_0x5d49e6}},'unitId':_0x2a1f48[_0xf16626(0x2d4)]});},'get'(){const _0x47fd74=_0x23e15e;return _0x2a1f48[_0x47fd74(0x29b)][_0x47fd74(0x2e1)][_0x47fd74(0x269)](_0x3dbd3e(_0x94347f=>{const _0x357c1d=_0x47fd74;var _0x488600;return(_0x488600=_0x94347f[_0x357c1d(0x523)])==null?void 0x0:_0x488600[_0x357c1d(0x50a)];}),_0x3f7c46());}})),_0x1b4c7d['registerViewState'](_0x23e15e(0x516),_0x5e1084=>({'set'(_0x776a4){const _0x1536d1=_0x23e15e;_0x1b4c7d['executeChartUpdateConfig']({'chartId':_0x5e1084[_0x1536d1(0x3e5)],'style':{'legend':_0x776a4},'unitId':_0x5e1084[_0x1536d1(0x2d4)]});},'get'(){const _0x3ab2eb=_0x23e15e;return _0x5e1084['model'][_0x3ab2eb(0x2e1)]['pipe'](_0x3dbd3e(_0x2be865=>_0x2be865['legend']));}})),_0x1b4c7d[_0x23e15e(0x21a)]('xAxisOptions',_0xf1d7ac=>({'set'(_0x53130c){const _0x11c0df=_0x23e15e;_0x1b4c7d[_0x11c0df(0x369)]({'chartId':_0xf1d7ac['chartId'],'style':{'xAxis':_0x53130c},'unitId':_0xf1d7ac[_0x11c0df(0x2d4)]});},'get'(){const _0x5e0e74=_0x23e15e;return _0xf1d7ac[_0x5e0e74(0x29b)][_0x5e0e74(0x2e1)][_0x5e0e74(0x269)](_0x3dbd3e(_0x57da9c=>_0x57da9c[_0x5e0e74(0x374)]));}})),_0x1b4c7d['registerViewState'](_0x23e15e(0x517),_0x408c85=>({'set'(_0x47c3aa){const _0x202d11=_0x23e15e;_0x1b4c7d['executeChartUpdateConfig']({'chartId':_0x408c85[_0x202d11(0x3e5)],'style':{'yAxis':_0x47c3aa},'unitId':_0x408c85['unitId']});},'get'(){return _0x408c85['model']['style$']['pipe'](_0x3dbd3e(_0x49ead9=>_0x49ead9['yAxis']));}})),_0x1b4c7d['registerViewState'](_0x23e15e(0x4ea),_0x21e0a2=>({'set'(_0x1dc47a){const _0x1ba94d=_0x23e15e;_0x1b4c7d[_0x1ba94d(0x369)]({'chartId':_0x21e0a2[_0x1ba94d(0x3e5)],'style':{'rightYAxis':_0x1dc47a},'unitId':_0x21e0a2[_0x1ba94d(0x2d4)]});},'get'(){const _0x5cac0=_0x23e15e;return _0x21e0a2[_0x5cac0(0x29b)][_0x5cac0(0x2e1)]['pipe'](_0x3dbd3e(_0x3b9ddc=>_0x3b9ddc[_0x5cac0(0x27d)]));}})),_0x1b4c7d[_0x23e15e(0x21a)](_0x23e15e(0x4f7),_0x19379f=>({'set'(_0x3ca8f1){const _0x57d4d3=_0x23e15e;_0x1b4c7d[_0x57d4d3(0x369)]({'chartId':_0x19379f['chartId'],'context':{'useDateAxis':!!_0x3ca8f1},'unitId':_0x19379f[_0x57d4d3(0x2d4)]});},'get'(){const _0x55ac3a=_0x23e15e;return _0x19379f[_0x55ac3a(0x29b)][_0x55ac3a(0x1bc)]['pipe'](_0x3dbd3e(_0x1e5db1=>_0x1e5db1['useDateAxis']),_0x3f7c46());}})),_0x1b4c7d[_0x23e15e(0x21a)](_0x23e15e(0x298),_0x197481=>_0x197481[_0x23e15e(0x29b)]['style$'][_0x23e15e(0x269)](_0x102515(_0x1b4c7d['localeService'][_0x23e15e(0x2ea)]),_0x3dbd3e(([,_0x4044c6])=>_0x197481[_0x23e15e(0x29b)][_0x23e15e(0x317)](_0x4044c6)[_0x23e15e(0x1a5)]))),_0x1b4c7d[_0x23e15e(0x21a)](_0x23e15e(0x4ab),_0x37d09b=>({'set'(_0x23eae2){const _0x2077bc=_0x23e15e;_0x1b4c7d[_0x2077bc(0x369)]({'chartId':_0x37d09b['chartId'],'style':{'seriesStyleMap':_0x23eae2},'unitId':_0x37d09b['unitId']});},'get'(){const _0x12380a=_0x23e15e;return _0x37d09b[_0x12380a(0x29b)]['style$']['pipe'](_0x3dbd3e(_0xe5c38b=>_0xe5c38b[_0x12380a(0x4ab)]));}})),_0x1b4c7d[_0x23e15e(0x21a)](_0x23e15e(0x256),_0x1c763d=>({'set'(_0x11ee52){const _0x2ab4ef=_0x23e15e;let _0x8abddb=Object[_0x2ab4ef(0x2af)](_0x11ee52==null?{}:_0x11ee52),_0x4413f5=_0x4a012f[_0x2ab4ef(0x34d)](_0x1c763d['model']['style'][_0x2ab4ef(0x4ab)]||{}),_0x136643={};Object[_0x2ab4ef(0x2af)](_0x4413f5)[_0x2ab4ef(0x29f)](_0x7662b0=>{let _0x4b2de8=_0x4413f5[_0x7662b0];_0x4b2de8&&_0x8abddb['forEach'](_0x3fef45=>{const _0x33ca67=_0x2c90;Object['prototype'][_0x33ca67(0x1bf)][_0x33ca67(0x1e7)](_0x4b2de8,_0x3fef45)&&(_0x136643[_0x7662b0]={..._0x136643[_0x7662b0],[_0x3fef45]:null});});});let _0xb38dd3={'allSeriesStyle':_0x11ee52,'seriesStyleMap':_0x136643},_0x1f8798=new Set(_0x8abddb);_0x1c763d[_0x2ab4ef(0x29b)][_0x2ab4ef(0x4b5)]===_0x165125['Radar']&&(_0x1f8798[_0x2ab4ef(0x3f0)](_0x2ab4ef(0x355))||_0x1f8798[_0x2ab4ef(0x3f0)](_0x2ab4ef(0x52d)))&&(_0xb38dd3['radar']={'fill':!0x0}),_0x1b4c7d[_0x2ab4ef(0x369)]({'chartId':_0x1c763d[_0x2ab4ef(0x3e5)],'style':_0xb38dd3,'unitId':_0x1c763d[_0x2ab4ef(0x2d4)]});},'get'(){const _0x666dbf=_0x23e15e;return _0x1c763d[_0x666dbf(0x29b)][_0x666dbf(0x2e1)]['pipe'](_0x3dbd3e(_0x3cbaf1=>_0x3cbaf1['allSeriesStyle']));}})),_0x1b4c7d['registerViewState'](_0x23e15e(0x25d),_0x2c7946=>({'set'(_0x2d5bd1){const _0x3a1f55=_0x23e15e;_0x1b4c7d[_0x3a1f55(0x369)]({'chartId':_0x2c7946[_0x3a1f55(0x3e5)],'style':{'trendlines':_0x2d5bd1},'unitId':_0x2c7946[_0x3a1f55(0x2d4)]});},'get'(){const _0x5c34a6=_0x23e15e;return _0x2c7946['model'][_0x5c34a6(0x2e1)][_0x5c34a6(0x269)](_0x3dbd3e(_0x480fba=>_0x480fba[_0x5c34a6(0x20b)]));}})),_0x1b4c7d['registerViewState'](_0x23e15e(0x22a),_0x51a051=>({'set'(_0x24779d){const _0x10ddd0=_0x23e15e;_0x1b4c7d['executeChartUpdateConfig']({'chartId':_0x51a051[_0x10ddd0(0x3e5)],'style':{'pareto':_0x24779d},'unitId':_0x51a051[_0x10ddd0(0x2d4)]});},'get'(){const _0x250482=_0x23e15e;return _0x51a051['model'][_0x250482(0x2e1)][_0x250482(0x269)](_0x3dbd3e(_0x1c81d8=>_0x1c81d8[_0x250482(0x1d0)]),_0x3f7c46());}})),_0x1b4c7d[_0x23e15e(0x21a)](_0x23e15e(0x3af),_0xac946c=>({'set'(_0x348efc){const _0x441883=_0x23e15e;_0x1b4c7d['executeChartUpdateConfig']({'chartId':_0xac946c[_0x441883(0x3e5)],'style':{'tooltip':_0x348efc},'unitId':_0xac946c[_0x441883(0x2d4)]});},'get'(){const _0x5008c1=_0x23e15e;return _0xac946c['model']['style$'][_0x5008c1(0x269)](_0x3dbd3e(_0x292488=>_0x292488['tooltip']));}})),_0x1b4c7d[_0x23e15e(0x21a)](_0x23e15e(0x273),_0x26cc2e=>({'set'(_0x56c133){const _0x41cd9c=_0x23e15e;_0x1b4c7d[_0x41cd9c(0x369)]({'chartId':_0x26cc2e[_0x41cd9c(0x3e5)],'style':{'pie':{'labelStyle':_0x56c133}},'unitId':_0x26cc2e[_0x41cd9c(0x2d4)]});},'get'(){const _0x494174=_0x23e15e;return _0x26cc2e[_0x494174(0x29b)][_0x494174(0x2e1)][_0x494174(0x269)](_0x3dbd3e(_0x4f138c=>{const _0xda668b=_0x494174;var _0x55d2f0;return(_0x55d2f0=_0x4f138c[_0xda668b(0x224)])==null?void 0x0:_0x55d2f0['labelStyle'];}));}})),_0x1b4c7d[_0x23e15e(0x21a)](_0x23e15e(0x512),_0x397db1=>({'set'(_0x1ddf4a){const _0x20d3f8=_0x23e15e;_0x1b4c7d[_0x20d3f8(0x369)]({'chartId':_0x397db1[_0x20d3f8(0x3e5)],'style':{'pie':{'hasPaddingAngle':!!_0x1ddf4a}},'unitId':_0x397db1[_0x20d3f8(0x2d4)]});},'get'(){const _0xeb8e23=_0x23e15e;return _0x397db1['model'][_0xeb8e23(0x2e1)][_0xeb8e23(0x269)](_0x3dbd3e(_0x54882c=>{const _0x5aad40=_0xeb8e23;var _0x58d64c;return(_0x58d64c=_0x54882c[_0x5aad40(0x224)])==null?void 0x0:_0x58d64c[_0x5aad40(0x528)];}));}})),_0x1b4c7d[_0x23e15e(0x21a)](_0x23e15e(0x3dc),_0x20a1fd=>({'set'(_0xa834fc){const _0x49ef1d=_0x23e15e;_0x1b4c7d[_0x49ef1d(0x369)]({'chartId':_0x20a1fd[_0x49ef1d(0x3e5)],'style':{'pie':{'isHalfPie':!!_0xa834fc}},'unitId':_0x20a1fd[_0x49ef1d(0x2d4)]});},'get'(){const _0x5877ff=_0x23e15e;return _0x20a1fd[_0x5877ff(0x29b)]['style$'][_0x5877ff(0x269)](_0x3dbd3e(_0x1ee55d=>{const _0xddb9c5=_0x5877ff;var _0x2fc879;return(_0x2fc879=_0x1ee55d['pie'])==null?void 0x0:_0x2fc879[_0xddb9c5(0x3dc)];}));}})),_0x1b4c7d['registerViewState'](_0x23e15e(0x236),_0x58f771=>({'set'(_0x20e753){const _0x544cd3=_0x23e15e;_0x1b4c7d[_0x544cd3(0x369)]({'chartId':_0x58f771[_0x544cd3(0x3e5)],'style':{'pie':{'rosePie':!!_0x20e753}},'unitId':_0x58f771['unitId']});},'get'(){const _0x2b6d0d=_0x23e15e;return _0x58f771['model'][_0x2b6d0d(0x2e1)][_0x2b6d0d(0x269)](_0x3dbd3e(_0x2faae8=>{const _0x42e676=_0x2b6d0d;var _0x1c388f;return(_0x1c388f=_0x2faae8[_0x42e676(0x224)])==null?void 0x0:_0x1c388f['rosePie'];}));}})),_0x1b4c7d['registerViewState']('showLabelLine',_0x47f70d=>({'set'(_0x5770cc){const _0x5213a3=_0x23e15e;_0x1b4c7d['executeChartUpdateConfig']({'chartId':_0x47f70d[_0x5213a3(0x3e5)],'style':{'pie':{'showLabelLine':!!_0x5770cc}},'unitId':_0x47f70d['unitId']});},'get'(){return _0x47f70d['model']['style$']['pipe'](_0x3dbd3e(_0x28d8e9=>{const _0x2cde13=_0x2c90;var _0x50771c;return(_0x50771c=_0x28d8e9[_0x2cde13(0x224)])==null?void 0x0:_0x50771c[_0x2cde13(0x413)];}));}})),_0x1b4c7d[_0x23e15e(0x21a)](_0x23e15e(0x282),_0x5cc295=>({'set'(_0x34fe34){const _0x43a2fb=_0x23e15e;_0x1b4c7d[_0x43a2fb(0x369)]({'chartId':_0x5cc295[_0x43a2fb(0x3e5)],'chartType':_0x34fe34?_0x165125[_0x43a2fb(0x2ca)]:_0x165125[_0x43a2fb(0x31e)],'style':{'pie':{'doughnutHole':_0x34fe34}},'unitId':_0x5cc295['unitId']});},'get'(){const _0x4f22ee=_0x23e15e;return _0x5cc295[_0x4f22ee(0x29b)]['style$'][_0x4f22ee(0x269)](_0x3dbd3e(_0x12cdae=>{const _0x12d264=_0x4f22ee;var _0x14ba06;return(_0x14ba06=_0x12cdae[_0x12d264(0x224)])==null?void 0x0:_0x14ba06[_0x12d264(0x282)];}),_0x3f7c46());}})),_0x1b4c7d['registerViewState'](_0x23e15e(0x341),_0x5548de=>({'set'(_0x56b6ea){const _0x3f74d1=_0x23e15e;_0x1b4c7d[_0x3f74d1(0x369)]({'chartId':_0x5548de[_0x3f74d1(0x3e5)],'style':{'pie':{'borderColor':_0x56b6ea}},'unitId':_0x5548de['unitId']});},'get'(){const _0x571848=_0x23e15e;return _0x5548de[_0x571848(0x29b)]['style$'][_0x571848(0x269)](_0x3dbd3e(_0x99d25d=>{const _0xd9b832=_0x571848;var _0x3b0cd1;return(_0x3b0cd1=_0x99d25d[_0xd9b832(0x224)])==null?void 0x0:_0x3b0cd1[_0xd9b832(0x471)];}),_0x3f7c46());}})),_0x1b4c7d[_0x23e15e(0x21a)](_0x23e15e(0x3f2),_0x139a7f=>({'set'(_0x3e73f6){const _0x58462a=_0x23e15e;_0x1b4c7d['executeChartUpdateConfig']({'chartId':_0x139a7f[_0x58462a(0x3e5)],'style':{'pie':{'valueScale':Number(_0x3e73f6)}},'unitId':_0x139a7f[_0x58462a(0x2d4)]});},'get'(){const _0x34d817=_0x23e15e;return _0x139a7f[_0x34d817(0x29b)]['style$'][_0x34d817(0x269)](_0x3dbd3e(_0x3a9d19=>{const _0x9d6750=_0x34d817;var _0x3dec8f;return(_0x3dec8f=_0x3a9d19[_0x9d6750(0x224)])==null?void 0x0:_0x3dec8f[_0x9d6750(0x3f2)];}));}})),_0x1b4c7d['registerViewState']('digitalFixed',_0x26f31d=>({'set'(_0xaab69c){const _0x39ecbe=_0x23e15e;_0x1b4c7d[_0x39ecbe(0x369)]({'chartId':_0x26f31d[_0x39ecbe(0x3e5)],'style':{'pie':{'digitalFixed':Number(_0xaab69c)}},'unitId':_0x26f31d[_0x39ecbe(0x2d4)]});},'get'(){const _0x504f84=_0x23e15e;return _0x26f31d[_0x504f84(0x29b)]['style$'][_0x504f84(0x269)](_0x3dbd3e(_0xa81523=>{const _0x3f269f=_0x504f84;var _0x2bf612;return(_0x2bf612=_0xa81523[_0x3f269f(0x224)])==null?void 0x0:_0x2bf612['digitalFixed'];}));}})),_0x1b4c7d[_0x23e15e(0x21a)](_0x23e15e(0x246),_0x5b59c2=>({'set'(_0x387473){const _0x391e8b=_0x23e15e;_0x1b4c7d[_0x391e8b(0x369)]({'chartId':_0x5b59c2[_0x391e8b(0x3e5)],'style':{'pie':{'valueSuffix':String(_0x387473)}},'unitId':_0x5b59c2[_0x391e8b(0x2d4)]});},'get'(){const _0x513581=_0x23e15e;return _0x5b59c2['model'][_0x513581(0x2e1)][_0x513581(0x269)](_0x3dbd3e(_0x42d047=>{const _0x33f2ff=_0x513581;var _0x2914e9;return(_0x2914e9=_0x42d047['pie'])==null?void 0x0:_0x2914e9[_0x33f2ff(0x246)];}));}})),_0x1b4c7d[_0x23e15e(0x21a)]('wordCloudRepeat',_0x38d72f=>({'set'(_0x2b82b1){const _0x407635=_0x23e15e;_0x1b4c7d[_0x407635(0x369)]({'chartId':_0x38d72f['chartId'],'style':{'wordCloud':{'repeat':_0x2b82b1==null?void 0x0:_0x2b82b1}},'unitId':_0x38d72f[_0x407635(0x2d4)]});},'get'(){const _0x37d280=_0x23e15e;return _0x38d72f['model']['style$'][_0x37d280(0x269)](_0x3dbd3e(_0x5722f6=>{const _0x319aa0=_0x37d280;var _0x320b3d;return(_0x320b3d=_0x5722f6['wordCloud'])==null?void 0x0:_0x320b3d[_0x319aa0(0x44c)];}));}})),_0x1b4c7d[_0x23e15e(0x21a)]('wordCloudShape',_0x4b42cf=>({'set'(_0x50dcba){const _0x20e809=_0x23e15e;_0x1b4c7d[_0x20e809(0x369)]({'chartId':_0x4b42cf[_0x20e809(0x3e5)],'style':{'wordCloud':{'shape':_0x50dcba==null?void 0x0:_0x50dcba,'maskImage':_0x50dcba==null?void 0x0:_0x50dcba}},'unitId':_0x4b42cf[_0x20e809(0x2d4)]});},'get'(){const _0x4a1887=_0x23e15e;return _0x4b42cf[_0x4a1887(0x29b)][_0x4a1887(0x2e1)]['pipe'](_0x3dbd3e(_0x10b4a2=>{const _0x1ef63c=_0x4a1887;var _0x3ceb1b;return(_0x3ceb1b=_0x10b4a2[_0x1ef63c(0x284)])==null?void 0x0:_0x3ceb1b['shape'];}));}})),_0x1b4c7d[_0x23e15e(0x21a)](_0x23e15e(0x4e1),_0x1c5fad=>({'set'(_0x51be97){const _0x17a848=_0x23e15e;_0x1b4c7d['executeChartUpdateConfig']({'chartId':_0x1c5fad[_0x17a848(0x3e5)],'style':{'wordCloud':{'maskImage':_0x51be97==null?void 0x0:_0x51be97,'shape':void 0x0}},'unitId':_0x1c5fad['unitId']});},'get'(){const _0x4c6573=_0x23e15e;return _0x1c5fad[_0x4c6573(0x29b)][_0x4c6573(0x2e1)][_0x4c6573(0x269)](_0x3dbd3e(_0x16e42a=>{const _0x59ebd0=_0x4c6573;var _0x284e72;return(_0x284e72=_0x16e42a[_0x59ebd0(0x284)])==null?void 0x0:_0x284e72[_0x59ebd0(0x2ce)];}));}})),_0x1b4c7d['registerViewState'](_0x23e15e(0x3b8),_0x1574f1=>({'set'(_0x3455d7){const _0x210ea8=_0x23e15e;_0x1b4c7d[_0x210ea8(0x369)]({'chartId':_0x1574f1[_0x210ea8(0x3e5)],'style':{'funnel':{'gap':_0x3455d7==null?void 0x0:_0x3455d7}},'unitId':_0x1574f1['unitId']});},'get'(){const _0x5f3683=_0x23e15e;return _0x1574f1['model'][_0x5f3683(0x2e1)][_0x5f3683(0x269)](_0x3dbd3e(_0x3bfe03=>{const _0x24e20a=_0x5f3683;var _0x22019f;return(_0x22019f=_0x3bfe03[_0x24e20a(0x272)])==null?void 0x0:_0x22019f[_0x24e20a(0x1fa)];}));}})),_0x1b4c7d[_0x23e15e(0x21a)]('funnelUseAbsValue',_0x3ab7ab=>({'set'(_0x1017fe){const _0x8d60e4=_0x23e15e;_0x1b4c7d[_0x8d60e4(0x369)]({'chartId':_0x3ab7ab[_0x8d60e4(0x3e5)],'style':{'funnel':{'useAbsValue':_0x1017fe==null?void 0x0:_0x1017fe}},'unitId':_0x3ab7ab[_0x8d60e4(0x2d4)]});},'get'(){const _0x37c62a=_0x23e15e;return _0x3ab7ab[_0x37c62a(0x29b)][_0x37c62a(0x2e1)][_0x37c62a(0x269)](_0x3dbd3e(_0x434d67=>{const _0x4a7977=_0x37c62a;var _0x33b17b;return(_0x33b17b=_0x434d67[_0x4a7977(0x272)])==null?void 0x0:_0x33b17b[_0x4a7977(0x261)];}));}})),_0x1b4c7d['registerViewState']('radarShape',_0x9f53f4=>({'set'(_0x3f49c4){const _0x35e6e1=_0x23e15e;_0x1b4c7d[_0x35e6e1(0x369)]({'chartId':_0x9f53f4[_0x35e6e1(0x3e5)],'style':{'radar':{'shape':_0x3f49c4}},'unitId':_0x9f53f4[_0x35e6e1(0x2d4)]});},'get'(){const _0x35f22c=_0x23e15e;return _0x9f53f4[_0x35f22c(0x29b)][_0x35f22c(0x2e1)][_0x35f22c(0x269)](_0x3dbd3e(_0x588e66=>{const _0x514fe8=_0x35f22c;var _0x2f52d8;return(_0x2f52d8=_0x588e66['radar'])==null?void 0x0:_0x2f52d8[_0x514fe8(0x2ef)];}),_0x3f7c46());}})),_0x1b4c7d['registerViewState'](_0x23e15e(0x301),_0x2e7ad1=>({'set'(_0x43643d){const _0x5cf5ed=_0x23e15e;_0x1b4c7d[_0x5cf5ed(0x369)]({'chartId':_0x2e7ad1[_0x5cf5ed(0x3e5)],'style':{'radar':{'fill':_0x43643d}},'unitId':_0x2e7ad1[_0x5cf5ed(0x2d4)]});},'get'(){const _0x30eceb=_0x23e15e;return _0x2e7ad1['model'][_0x30eceb(0x2e1)][_0x30eceb(0x269)](_0x3dbd3e(_0x55cc41=>{const _0x2456fc=_0x30eceb;var _0x28a8e6;return(_0x28a8e6=_0x55cc41[_0x2456fc(0x478)])==null?void 0x0:_0x28a8e6[_0x2456fc(0x1e5)];}),_0x3f7c46());}})),_0x1b4c7d[_0x23e15e(0x21a)]('invalidValueType',_0x3cff66=>({'set'(_0x96b94a){const _0x3215f0=_0x23e15e;_0x1b4c7d[_0x3215f0(0x369)]({'chartId':_0x3cff66[_0x3215f0(0x3e5)],'style':{'invalidValueType':_0x96b94a},'unitId':_0x3cff66[_0x3215f0(0x2d4)]});},'get'(){const _0x498a83=_0x23e15e;return _0x3cff66[_0x498a83(0x29b)][_0x498a83(0x2e1)]['pipe'](_0x3dbd3e(_0x4d7c5e=>_0x4d7c5e[_0x498a83(0x243)]),_0x3f7c46());}})),_0x1b4c7d[_0x23e15e(0x21a)]('areaLineStyle',_0x56de52=>({'set'(_0x160041){const _0x43e093=_0x23e15e;_0x1b4c7d['executeChartUpdateConfig']({'chartId':_0x56de52['chartId'],'style':{'area':{'lineStyle':_0x160041==null?void 0x0:_0x160041}},'unitId':_0x56de52[_0x43e093(0x2d4)]});},'get'(){const _0x163980=_0x23e15e;return _0x56de52[_0x163980(0x29b)]['style$']['pipe'](_0x3dbd3e(_0x3b8fd2=>{const _0x549a5a=_0x163980;var _0x45a617;return(_0x45a617=_0x3b8fd2['area'])==null?void 0x0:_0x45a617[_0x549a5a(0x1b7)];}));}})),_0x1b4c7d['registerViewState'](_0x23e15e(0x23b),_0x53089c=>({'set'(_0x1ff371){const _0x16316e=_0x23e15e;_0x1b4c7d[_0x16316e(0x369)]({'chartId':_0x53089c['chartId'],'style':{'heatmap':{'visualMapType':_0x1ff371}},'unitId':_0x53089c[_0x16316e(0x2d4)]});},'get'(){const _0x3646f3=_0x23e15e;return _0x53089c['model'][_0x3646f3(0x2e1)][_0x3646f3(0x269)](_0x3dbd3e(_0x13c69b=>{const _0x37d4d0=_0x3646f3;var _0x4c2ef1;return(_0x4c2ef1=_0x13c69b[_0x37d4d0(0x237)])==null?void 0x0:_0x4c2ef1[_0x37d4d0(0x23b)];}),_0x3f7c46());}})),_0x1b4c7d[_0x23e15e(0x21a)](_0x23e15e(0x239),_0x259e05=>({'set'(_0x157190){const _0x2aeec4=_0x23e15e;_0x1b4c7d[_0x2aeec4(0x369)]({'chartId':_0x259e05['chartId'],'style':{'heatmap':{'max':_0x157190}},'unitId':_0x259e05[_0x2aeec4(0x2d4)]});},'get'(){const _0x12deab=_0x23e15e;return _0x259e05[_0x12deab(0x29b)]['style$'][_0x12deab(0x269)](_0x3dbd3e(_0x1fd3fd=>{const _0x2b1b8b=_0x12deab;var _0x46d600;return(_0x46d600=_0x1fd3fd[_0x2b1b8b(0x237)])==null?void 0x0:_0x46d600[_0x2b1b8b(0x4d5)];}),_0x3f7c46());}})),_0x1b4c7d[_0x23e15e(0x21a)](_0x23e15e(0x4b9),_0x49d7bb=>({'set'(_0x9c73ad){const _0x2e466b=_0x23e15e;_0x1b4c7d[_0x2e466b(0x369)]({'chartId':_0x49d7bb[_0x2e466b(0x3e5)],'style':{'heatmap':{'min':_0x9c73ad}},'unitId':_0x49d7bb[_0x2e466b(0x2d4)]});},'get'(){const _0x21bcf7=_0x23e15e;return _0x49d7bb[_0x21bcf7(0x29b)][_0x21bcf7(0x2e1)][_0x21bcf7(0x269)](_0x3dbd3e(_0xaa6f73=>{const _0x23157e=_0x21bcf7;var _0x17060f;return(_0x17060f=_0xaa6f73[_0x23157e(0x237)])==null?void 0x0:_0x17060f[_0x23157e(0x368)];}),_0x3f7c46());}})),_0x1b4c7d[_0x23e15e(0x21a)]('relationLayout',_0x2b1276=>({'set'(_0x1d83fd){const _0x27bf57=_0x23e15e;_0x1b4c7d[_0x27bf57(0x369)]({'chartId':_0x2b1276[_0x27bf57(0x3e5)],'style':{'relation':{'layout':_0x1d83fd}},'unitId':_0x2b1276['unitId']});},'get'(){const _0x54005b=_0x23e15e;return _0x2b1276[_0x54005b(0x29b)][_0x54005b(0x2e1)][_0x54005b(0x269)](_0x3dbd3e(_0x347793=>{const _0x4498a4=_0x54005b;var _0x231aca;return(_0x231aca=_0x347793['relation'])==null?void 0x0:_0x231aca[_0x4498a4(0x25a)];}),_0x3f7c46());}})),_0x1b4c7d['registerViewState'](_0x23e15e(0x1fe),_0x15bcb9=>({'set'(_0x4ab436){_0x1b4c7d['executeChartUpdateConfig']({'chartId':_0x15bcb9['chartId'],'style':{'relation':{'useValueAsSymbolSize':!!_0x4ab436}},'unitId':_0x15bcb9['unitId']});},'get'(){const _0x57ae5f=_0x23e15e;return _0x15bcb9[_0x57ae5f(0x29b)][_0x57ae5f(0x2e1)][_0x57ae5f(0x269)](_0x3dbd3e(_0x15c0a6=>{const _0x4973b0=_0x57ae5f;var _0x3435a5;return(_0x3435a5=_0x15c0a6[_0x4973b0(0x513)])==null?void 0x0:_0x3435a5[_0x4973b0(0x1fe)];}),_0x3f7c46());}})),_0x1b4c7d[_0x23e15e(0x21a)](_0x23e15e(0x427),_0x1209f5=>({'set'(_0x3558d2){const _0x5aec98=_0x23e15e;_0x1b4c7d[_0x5aec98(0x369)]({'chartId':_0x1209f5[_0x5aec98(0x3e5)],'style':{'relation':{'force':_0x3558d2}},'unitId':_0x1209f5[_0x5aec98(0x2d4)]});},'get'(){const _0x8c04a7=_0x23e15e;return _0x1209f5[_0x8c04a7(0x29b)][_0x8c04a7(0x2e1)][_0x8c04a7(0x269)](_0x3dbd3e(_0xaf8434=>{const _0x3d2e41=_0x8c04a7;var _0x41c317;return(_0x41c317=_0xaf8434[_0x3d2e41(0x513)])==null?void 0x0:_0x41c317['force'];}),_0x3f7c46());}})),_0x1b4c7d[_0x23e15e(0x21a)](_0x23e15e(0x1ce),_0x4ae11b=>({'set'(_0x15cdc6){const _0x4b08f8=_0x23e15e;_0x1b4c7d['executeChartUpdateConfig']({'chartId':_0x4ae11b[_0x4b08f8(0x3e5)],'style':{'relation':{'circular':{'rotateLabel':!!_0x15cdc6}}},'unitId':_0x4ae11b[_0x4b08f8(0x2d4)]});},'get'(){const _0x58c292=_0x23e15e;return _0x4ae11b[_0x58c292(0x29b)][_0x58c292(0x2e1)][_0x58c292(0x269)](_0x3dbd3e(_0x10b8df=>{const _0x4823b0=_0x58c292;var _0xf40447;return(_0xf40447=_0x10b8df['relation'])==null||(_0xf40447=_0xf40447['circular'])==null?void 0x0:_0xf40447[_0x4823b0(0x1ce)];}),_0x3f7c46());}})),_0x1b4c7d[_0x23e15e(0x21a)](_0x23e15e(0x303),_0x120ebe=>({'set'(_0x427d60){const _0x430060=_0x23e15e;_0x1b4c7d['executeChartUpdateConfig']({'chartId':_0x120ebe[_0x430060(0x3e5)],'style':{'relation':{'nodeShape':_0x427d60}},'unitId':_0x120ebe[_0x430060(0x2d4)]});},'get'(){const _0x50aeee=_0x23e15e;return _0x120ebe[_0x50aeee(0x29b)][_0x50aeee(0x2e1)][_0x50aeee(0x269)](_0x3dbd3e(_0x756059=>{const _0x31e5ce=_0x50aeee;var _0x950196;return(_0x950196=_0x756059[_0x31e5ce(0x513)])==null?void 0x0:_0x950196[_0x31e5ce(0x27f)];}),_0x3f7c46());}})),_0x1b4c7d[_0x23e15e(0x21a)](_0x23e15e(0x1e3),_0x379c92=>({'set'(_0x39eab1){const _0x2ae333=_0x23e15e;_0x1b4c7d['executeChartUpdateConfig']({'chartId':_0x379c92[_0x2ae333(0x3e5)],'style':{'relation':{'useEmphasis':!!_0x39eab1}},'unitId':_0x379c92['unitId']});},'get'(){const _0x3c228b=_0x23e15e;return _0x379c92[_0x3c228b(0x29b)][_0x3c228b(0x2e1)][_0x3c228b(0x269)](_0x3dbd3e(_0x4ce8bd=>{const _0x576533=_0x3c228b;var _0x15866e;return(_0x15866e=_0x4ce8bd[_0x576533(0x513)])==null?void 0x0:_0x15866e[_0x576533(0x1e3)];}),_0x3f7c46());}})),_0x1b4c7d[_0x23e15e(0x21a)](_0x23e15e(0x22d),_0x42b74e=>({'set'(_0x4e57d3){const _0x152696=_0x23e15e;_0x1b4c7d[_0x152696(0x369)]({'chartId':_0x42b74e[_0x152696(0x3e5)],'style':{'waterfall':{'stackType':_0x4e57d3}},'unitId':_0x42b74e[_0x152696(0x2d4)]});},'get'(){const _0x3684ad=_0x23e15e;return _0x42b74e['model'][_0x3684ad(0x2e1)]['pipe'](_0x3dbd3e(_0x17b5e2=>{const _0x4f9e8d=_0x3684ad;var _0x1663f3;return(_0x1663f3=_0x17b5e2[_0x4f9e8d(0x481)])==null?void 0x0:_0x1663f3[_0x4f9e8d(0x394)];}),_0x3f7c46());}})),_0x1b4c7d[_0x23e15e(0x21a)](_0x23e15e(0x234),_0x3f51f7=>({'set'(_0x2f3280){const _0x1e8bab=_0x23e15e;_0x1b4c7d['executeChartUpdateConfig']({'chartId':_0x3f51f7[_0x1e8bab(0x3e5)],'style':{'waterfall':{'useSubtotal':_0x2f3280}},'unitId':_0x3f51f7['unitId']});},'get'(){const _0x3a43c0=_0x23e15e;return _0x3f51f7[_0x3a43c0(0x29b)][_0x3a43c0(0x2e1)][_0x3a43c0(0x269)](_0x3dbd3e(_0x3371f6=>{const _0x281848=_0x3a43c0;var _0x49aa71;return(_0x49aa71=_0x3371f6[_0x281848(0x481)])==null?void 0x0:_0x49aa71['useSubtotal'];}),_0x3f7c46());}})),_0x1b4c7d[_0x23e15e(0x21a)](_0x3434f7[_0x23e15e(0x209)],_0xb7b30e=>({'set'(_0x30da1f){const _0x9de47c=_0x23e15e;_0x1b4c7d['executeChartUpdateConfig']({'chartId':_0xb7b30e[_0x9de47c(0x3e5)],'context':{'bubbleSizeIndex':_0x30da1f},'unitId':_0xb7b30e[_0x9de47c(0x2d4)]});},'get'(){const _0x3b9dda=_0x23e15e;return _0xb7b30e[_0x3b9dda(0x29b)][_0x3b9dda(0x1bc)][_0x3b9dda(0x269)](_0x3dbd3e(_0x96c21c=>_0x96c21c[_0x3b9dda(0x2e9)]));}})),_0x1b4c7d[_0x23e15e(0x21a)](_0x3434f7[_0x23e15e(0x32f)],_0x27a813=>({'set'(_0x378d72){const _0x31ff82=_0x23e15e;_0x1b4c7d[_0x31ff82(0x369)]({'chartId':_0x27a813[_0x31ff82(0x3e5)],'context':{'scatterXIndex':_0x378d72},'unitId':_0x27a813[_0x31ff82(0x2d4)]});},'get'(){const _0x5979d2=_0x23e15e;return _0x27a813[_0x5979d2(0x29b)][_0x5979d2(0x1bc)][_0x5979d2(0x269)](_0x3dbd3e(_0x30914e=>_0x30914e[_0x5979d2(0x417)]));}})),_0x1b4c7d['registerViewState'](_0x3434f7[_0x23e15e(0x27c)],_0x11d979=>({'set'(_0x3b23ff){const _0x14e8c5=_0x23e15e;_0x1b4c7d['executeChartUpdateConfig']({'chartId':_0x11d979[_0x14e8c5(0x3e5)],'context':{'scatterYIndex':_0x3b23ff},'unitId':_0x11d979['unitId']});},'get'(){const _0x3aa31b=_0x23e15e;return _0x11d979[_0x3aa31b(0x29b)][_0x3aa31b(0x1bc)][_0x3aa31b(0x269)](_0x3dbd3e(_0x1a5211=>_0x1a5211[_0x3aa31b(0x3f7)]));}})),_0x1b4c7d['registerViewState'](_0x3434f7['ScatterLabelIndex'],_0x5c4c93=>({'set'(_0x203d90){_0x1b4c7d['executeChartUpdateConfig']({'chartId':_0x5c4c93['chartId'],'context':{'scatterLabelIndex':_0x203d90},'unitId':_0x5c4c93['unitId']});},'get'(){const _0x20536e=_0x23e15e;return _0x5c4c93['model'][_0x20536e(0x1bc)][_0x20536e(0x269)](_0x3dbd3e(_0x2d75b6=>_0x2d75b6[_0x20536e(0x20a)]));}})),_0x1b4c7d[_0x23e15e(0x21a)](_0x3434f7[_0x23e15e(0x4b3)],_0x4d2516=>({'set'(_0x2ea857){const _0xb08915=_0x23e15e;_0x1b4c7d[_0xb08915(0x369)]({'chartId':_0x4d2516[_0xb08915(0x3e5)],'context':{'bubbleSeriesIndex':_0x2ea857},'unitId':_0x4d2516[_0xb08915(0x2d4)]});},'get'(){const _0x349eac=_0x23e15e;return _0x4d2516['model']['context$'][_0x349eac(0x269)](_0x3dbd3e(_0x3edf5d=>_0x3edf5d['bubbleSeriesIndex']));}})),_0x1b4c7d[_0x23e15e(0x21a)]('categoryList',_0x544431=>_0x544431[_0x23e15e(0x29b)][_0x23e15e(0x1bc)][_0x23e15e(0x269)](_0x3dbd3e(()=>Sn(_0x544431)))),_0x1b4c7d[_0x23e15e(0x21a)]('bubbleCategoryList',_0x5773a5=>_0x5773a5['model'][_0x23e15e(0x1bc)][_0x23e15e(0x269)](_0x3dbd3e(()=>Sn(_0x5773a5)))),_0x1b4c7d['registerViewState']('seriesResourceList',_0x147bdb=>_0x147bdb['model'][_0x23e15e(0x1bc)][_0x23e15e(0x269)](_0x3dbd3e(()=>bn(_0x147bdb)))),_0x1b4c7d[_0x23e15e(0x21a)](_0x23e15e(0x289),_0x38fd24=>_0x38fd24['model']['context$'][_0x23e15e(0x269)](_0x3dbd3e(()=>xn(_0x38fd24)))),_0x1b4c7d[_0x23e15e(0x21a)]('seriesValues',_0x570b54=>({'set'(_0x478767){const _0xa086f=_0x23e15e;_0x1b4c7d['executeChartUpdateConfig']({'chartId':_0x570b54[_0xa086f(0x3e5)],'context':{'seriesIndexes':_0x478767},'unitId':_0x570b54['unitId']});},'get'(){const _0x4a3270=_0x23e15e;return _0x570b54[_0x4a3270(0x29b)][_0x4a3270(0x1bc)]['pipe'](_0x3dbd3e(_0x2e5c02=>{var _0x46e5b8;return(_0x46e5b8=_0x2e5c02['seriesIndexes'])==null?[]:_0x46e5b8;}));}})),_0x1b4c7d['registerViewState'](_0x23e15e(0x474),_0x50891e=>_0x50891e['model'][_0x23e15e(0x26d)][_0x23e15e(0x269)](_0x3dbd3e(_0x103ab0=>{const _0x500444=_0x23e15e;var _0x3e2ae7,_0x328b6c,_0x43b9a2;let _0x5ac6cb=_0x103ab0==null||(_0x3e2ae7=_0x103ab0[_0x500444(0x46e)])==null?void 0x0:_0x3e2ae7[_0x500444(0x20f)];return((_0x328b6c=_0x103ab0==null||(_0x43b9a2=_0x103ab0[_0x500444(0x400)])==null||(_0x43b9a2=_0x43b9a2[0x0])==null?void 0x0:_0x43b9a2[_0x500444(0x20f)])==null?[]:_0x328b6c)[_0x500444(0x4e0)]((_0x2ec636,_0x3fde3e)=>{const _0x3c231d=_0x500444;var _0x59fa7f,_0x583185,_0x3c3251;return{'label':String((_0x59fa7f=(_0x583185=_0x5ac6cb==null||(_0x3c3251=_0x5ac6cb[_0x3fde3e])==null?void 0x0:_0x3c3251[_0x3c231d(0x410)])==null?_0x2ec636['label']:_0x583185)==null?_0x3c231d(0x19f)+(_0x3fde3e+0x1):_0x59fa7f),'value':String(_0x3fde3e)};});}))),_0x1b4c7d[_0x23e15e(0x21a)](_0x23e15e(0x30b),_0x4e26bf=>_0x4e26bf[_0x23e15e(0x29b)][_0x23e15e(0x26d)]['pipe'](_0x3dbd3e(_0x49a7cc=>{const _0x330e13=_0x23e15e;var _0xf48d96,_0x42b5a5;let _0x29352a=_0x49a7cc==null||(_0xf48d96=_0x49a7cc[_0x330e13(0x46e)])==null?void 0x0:_0xf48d96[_0x330e13(0x20f)],_0xb6a80a=new Map();return _0x49a7cc==null||(_0x42b5a5=_0x49a7cc[_0x330e13(0x400)])==null||(_0x42b5a5=_0x42b5a5[0x0])==null||(_0x42b5a5=_0x42b5a5['items'])==null||_0x42b5a5[_0x330e13(0x29f)]((_0x11d236,_0x5a18db)=>{const _0x3cbc42=_0x330e13;var _0x29a1fb,_0x4a041d;let _0x9aedf5=String((_0x29a1fb=_0x29352a==null||(_0x4a041d=_0x29352a[_0x5a18db])==null?void 0x0:_0x4a041d[_0x3cbc42(0x41c)])==null?_0x3cbc42(0x19f)+(_0x5a18db+0x1):_0x29a1fb);if(!_0xb6a80a[_0x3cbc42(0x3f0)](_0x9aedf5)){var _0x1603d4;_0xb6a80a[_0x3cbc42(0x45a)](_0x9aedf5,Number((_0x1603d4=_0x11d236[_0x3cbc42(0x41c)])==null?0x0:_0x1603d4));}}),Array[_0x330e13(0x2df)](_0xb6a80a[_0x330e13(0x4ac)]())['filter'](([,_0x1f6e22])=>_0x1f6e22>0x0)[_0x330e13(0x461)]((_0x5f3ae1,_0x16134f)=>_0x16134f[0x1]-_0x5f3ae1[0x1])[_0x330e13(0x4e0)](([_0xae910],_0x298e20)=>({'label':_0xae910||'Item\x20'+(_0x298e20+0x1),'value':String(_0x298e20)}));})));}let En=class extends _0x3dbc5d{constructor(_0x501d7d,_0x125d24,_0x2523f5,_0x46b37b){const _0x2a9a49=_0x763d2d;super(),this[_0x2a9a49(0x4c3)]=_0x501d7d,this[_0x2a9a49(0x514)]=_0x125d24,this['_commandService']=_0x2523f5,this[_0x2a9a49(0x491)]=_0x46b37b,Y(this,'_viewState',new Map()),Tn(this);}get[_0x763d2d(0x233)](){const _0x469313=_0x763d2d;return this[_0x469313(0x4c3)][_0x469313(0x233)];}get[_0x763d2d(0x1af)](){const _0xfd2171=_0x763d2d;return this[_0xfd2171(0x4c3)]['activeRuntimeModel$'];}get[_0x763d2d(0x3f8)](){const _0x10e880=_0x763d2d;return this[_0x10e880(0x514)];}[_0x763d2d(0x21a)](_0x668a60,_0x3d2903){const _0x2cfbea=_0x763d2d;this[_0x2cfbea(0x201)][_0x2cfbea(0x45a)](_0x668a60,_0x3d2903);}[_0x763d2d(0x3cf)](_0x168e1c,_0x5edcd3=this['_modelService'][_0x763d2d(0x233)]){const _0x4bcbc5=_0x763d2d;if(!_0x5edcd3)return;let _0x44203d=this[_0x4bcbc5(0x201)][_0x4bcbc5(0x28e)](_0x168e1c);return _0x44203d==null?void 0x0:_0x44203d(_0x5edcd3);}[_0x763d2d(0x369)](_0x3b6977){const _0x11291d=_0x763d2d;var _0x9c376a,_0x4838fe;let _0x1f92a8=this[_0x11291d(0x4c3)][_0x11291d(0x233)],_0x3e9299=(_0x9c376a=_0x3b6977[_0x11291d(0x2d4)])==null?_0x1f92a8==null?void 0x0:_0x1f92a8['unitId']:_0x9c376a,_0x5538ea=(_0x4838fe=_0x3b6977[_0x11291d(0x3e5)])==null?_0x1f92a8==null?void 0x0:_0x1f92a8[_0x11291d(0x3e5)]:_0x4838fe;!_0x3e9299||!_0x5538ea||this['_commandService'][_0x11291d(0x458)](_0x2f770c['id'],{..._0x3b6977,'unitId':_0x3e9299,'chartId':_0x5538ea});}async['switchChartType'](_0xa7274a,_0x4cf474,_0x218bd7){const _0x1a5f4c=_0x763d2d;if(!await this[_0x1a5f4c(0x21f)][_0x1a5f4c(0x458)](_0x2f770c['id'],{'chartId':_0xa7274a[_0x1a5f4c(0x3e5)],'chartType':_0x4cf474,'style':_0x218bd7,'unitId':_0xa7274a[_0x1a5f4c(0x2d4)]}))return;let _0x26a1e1=_0x260c93(_0x4cf474,_0x4b63e8=>this[_0x1a5f4c(0x491)]['t']('boards-chart-ui.'+_0x4b63e8));if(!_0x26a1e1)return;let _0x57cfd0=this[_0x1a5f4c(0x514)][_0x1a5f4c(0x2f2)](_0xa7274a[_0x1a5f4c(0x2d4)],_0xa7274a['chartId']);if(!_0x57cfd0)return;let _0x33c52c=this[_0x1a5f4c(0x514)]['getDataSource'](_0xa7274a[_0x1a5f4c(0x2d4)],_0x57cfd0['dataSourceId']);_0x33c52c!=null&&_0x33c52c[_0x1a5f4c(0x280)][_0x1a5f4c(0x310)]||(await this[_0x1a5f4c(0x21f)][_0x1a5f4c(0x458)](_0x10d61a['id'],{'dataSourceId':_0x57cfd0['dataSourceId'],'unitId':_0xa7274a[_0x1a5f4c(0x2d4)],'values':_0x26a1e1}),this[_0x1a5f4c(0x4c3)][_0x1a5f4c(0x434)](_0xa7274a[_0x1a5f4c(0x2d4)],_0xa7274a['chartId']));}[_0x763d2d(0x23c)](_0x274be2){const _0xffadcd=_0x763d2d;var _0x13b2c1;let _0x143770=this[_0xffadcd(0x514)]['getChart'](_0x274be2[_0xffadcd(0x2d4)],_0x274be2[_0xffadcd(0x3e5)]),_0x11efae=_0x143770?this[_0xffadcd(0x514)][_0xffadcd(0x223)](_0x274be2[_0xffadcd(0x2d4)],_0x143770[_0xffadcd(0x441)]):void 0x0,_0x2c7b49=(_0x13b2c1=_0x11efae==null?void 0x0:_0x11efae[_0xffadcd(0x280)])==null?[]:_0x13b2c1,_0x3dca8e=_0x2c7b49[_0xffadcd(0x310)],_0x17637f=0x0;return _0x2c7b49[_0xffadcd(0x29f)](_0x29b4c7=>{_0x17637f=Math['max'](_0x17637f,_0x29b4c7['length']);}),((_0x11efae==null?void 0x0:_0x11efae[_0xffadcd(0x419)])||(_0x11efae==null?void 0x0:_0x11efae['id'])||_0x274be2[_0xffadcd(0x441)])+_0xffadcd(0x29c)+_0x3dca8e+_0xffadcd(0x34e)+_0x17637f;}[_0x763d2d(0x200)](){const _0x146a6a=_0x763d2d;this[_0x146a6a(0x201)][_0x146a6a(0x4a3)](),super['dispose']();}};En=Z([X(0x0,_0x1b1a65(_0x32e828)),X(0x1,_0x1b1a65(_0x5766b0)),X(0x2,_0x22f25e),X(0x3,_0x1b1a65(_0x344124))],En);const Dn=_0x763d2d(0x190);function On(_0x471d7f){_0x471d7f['stopPropagation']();}function kn(_0x4147dc){const _0xb1ca43=_0x763d2d;let _0x46325e=_0x2b685c(_0x22f25e),_0x15f466=_0x2b685c(_0x344124),_0x43107a=_0x2b685c(_0x32e828),_0xa56418=_0x2b685c(yn),_0x25b890=_0x2b685c(Q),_0x53efff=_0x236c68(()=>_0x43107a['ensureChartModel'](_0x4147dc[_0xb1ca43(0x2d4)],_0x4147dc[_0xb1ca43(0x3e5)]),[_0x4147dc[_0xb1ca43(0x3e5)],_0x4147dc[_0xb1ca43(0x2d4)],_0x43107a]),_0x334013=_0x91ce04(_0x53efff==null?void 0x0:_0x53efff[_0xb1ca43(0x29b)][_0xb1ca43(0x2d0)],_0x53efff==null?void 0x0:_0x53efff[_0xb1ca43(0x29b)][_0xb1ca43(0x4b5)]),_0x1015b5=_0x236c68(()=>_0x5ad802(vn[_0xb1ca43(0x4e0)](_0xc39d84=>({..._0xc39d84,'label':_0x15f466['t'](_0xc39d84[_0xb1ca43(0x410)])}))),[_0x15f466]);return _0x53efff?_0x4f0e43('div',{'className':_0x4e57fc(_0xb1ca43(0x251),_0x2dab24),'data-u-comp':_0xb1ca43(0x2a4),'role':_0xb1ca43(0x3b3),'onMouseDown':On,'onPointerDown':On,'children':[_0xb12f60(_0x40700c,{'aria-label':_0x15f466['t'](_0xb1ca43(0x337)),'className':_0xb1ca43(0x2d8),'value':String(_0x334013),'options':_0x1015b5,'onChange':_0x1f2b70=>{const _0x81c54e=_0xb1ca43;_0x43107a[_0x81c54e(0x260)](_0x53efff);let _0x39fc8a=_0xa56418[_0x81c54e(0x3cf)]('chartType');if(!(_0x39fc8a instanceof _0x1c50f0)){var _0xfdbd79;_0x39fc8a==null||(_0xfdbd79=_0x39fc8a[_0x81c54e(0x45a)])==null||_0xfdbd79[_0x81c54e(0x1e7)](_0x39fc8a,Number(_0x1f2b70));}}}),_0xb12f60(_0x2bd674,{'orientation':_0xb1ca43(0x1b1)}),_0xb12f60(_0xb1ca43(0x18c),{'type':_0xb1ca43(0x18c),'aria-label':_0x15f466['t'](_0xb1ca43(0x398)),'title':_0x15f466['t'](_0xb1ca43(0x398)),'className':'univer-flex\x20univer-size-7\x20univer-items-center\x20univer-justify-center\x20univer-rounded-md\x20univer-border-none\x20univer-bg-transparent\x20univer-p-0\x20univer-text-gray-700\x20univer-transition-colors\x20hover:univer-bg-gray-100\x20dark:!univer-text-gray-100\x20dark:hover:!univer-bg-gray-700','data-toolbar-item':_0xb1ca43(0x445),'onClick':()=>{const _0x4e622b=_0xb1ca43;_0x25b890[_0x4e622b(0x19a)]({'chartId':_0x4147dc[_0x4e622b(0x3e5)],'elementId':_0x4147dc[_0x4e622b(0x4e5)],'source':_0x4e622b(0x230),'subUnitId':_0x4147dc['subUnitId'],'unitId':_0x4147dc[_0x4e622b(0x2d4)]});},'children':_0xb12f60(_0x5ea8de,{})}),_0xb12f60(_0xb1ca43(0x18c),{'type':_0xb1ca43(0x18c),'aria-label':_0x15f466['t'](_0xb1ca43(0x330)),'title':_0x15f466['t'](_0xb1ca43(0x330)),'className':_0xb1ca43(0x300),'data-toolbar-item':_0xb1ca43(0x3d3),'onClick':()=>{const _0xc4e9e3=_0xb1ca43;_0x46325e[_0xc4e9e3(0x458)](_0x199bbb['id']);},'children':_0xb12f60(_0x209a18,{})})]}):null;}function An(_0x56da66){const _0x27040e=_0x763d2d;let _0x2b6045=_0x56da66[_0x27040e(0x39d)][_0x27040e(0x486)];return _0x2b6045?_0xb12f60(kn,{..._0x2b6045}):null;}let jn=class extends _0xb85063{constructor(_0x21a68d,_0x55e5c7,_0xf58df,_0x52e051,_0xf7040d,_0x415e0a,_0x1b3125){const _0x3f5566=_0x763d2d;super(),this[_0x3f5566(0x429)]=_0x21a68d,this['_boardCanvasPopManagerService']=_0x55e5c7,this[_0x3f5566(0x3a5)]=_0xf58df,this[_0x3f5566(0x46c)]=_0x52e051,this[_0x3f5566(0x447)]=_0xf7040d,this[_0x3f5566(0x4f9)]=_0x415e0a,this[_0x3f5566(0x206)]=_0x1b3125,Y(this,_0x3f5566(0x3fa),null),Y(this,_0x3f5566(0x36e),null),this[_0x3f5566(0x18e)]();}['dispose'](){this['_clearPopup'](),super['dispose']();}[_0x763d2d(0x18e)](){const _0x1803f5=_0x763d2d;let _0x2b267e=this['_renderContext'][_0x1803f5(0x1a7)][_0x1803f5(0x509)]();this[_0x1803f5(0x2b8)](_0x76ee0e(_0x2b267e[_0x1803f5(0x1f8)]['pipe'](_0x5c850d(this[_0x1803f5(0x490)]))[_0x1803f5(0x271)](()=>{const _0x65fefa=_0x1803f5;this[_0x65fefa(0x35d)]();}))),this[_0x1803f5(0x2b8)](_0x76ee0e(_0x2b267e['clearControl$'][_0x1803f5(0x269)](_0x5c850d(this[_0x1803f5(0x490)]))[_0x1803f5(0x271)](()=>{this['_clearPopupIfSelectionChanged']();}))),this[_0x1803f5(0x2b8)](_0x76ee0e(_0x2b267e[_0x1803f5(0x1d2)][_0x1803f5(0x269)](_0x5c850d(this[_0x1803f5(0x490)]))[_0x1803f5(0x271)](()=>{const _0x40b89f=_0x1803f5;this[_0x40b89f(0x487)]();}))),this[_0x1803f5(0x2b8)](_0x76ee0e(_0x2b267e[_0x1803f5(0x35a)][_0x1803f5(0x269)](_0x5c850d(this[_0x1803f5(0x490)]))[_0x1803f5(0x271)](()=>{const _0x3b2c29=_0x1803f5;setTimeout(()=>this[_0x3b2c29(0x35d)](),0x0);}))),this[_0x1803f5(0x2b8)](_0x76ee0e(this[_0x1803f5(0x46c)]['state$']['pipe'](_0x5c850d(this['dispose$']))['subscribe'](()=>{const _0x3ea6cd=_0x1803f5;setTimeout(()=>this[_0x3ea6cd(0x35d)](),0x0);}))),this[_0x1803f5(0x2b8)](_0x76ee0e(this['_uiStateService'][_0x1803f5(0x30e)]['pipe'](_0x5c850d(this['dispose$']))[_0x1803f5(0x271)](()=>{const _0x215e82=_0x1803f5;setTimeout(()=>this[_0x215e82(0x35d)](),0x0);}))),this['disposeWithMe'](_0x76ee0e(this[_0x1803f5(0x4f9)][_0x1803f5(0x364)][_0x1803f5(0x269)](_0x5c850d(this[_0x1803f5(0x490)]))[_0x1803f5(0x271)](_0x497528=>{const _0x1061dc=_0x1803f5;if(_0x497528){this[_0x1061dc(0x487)]();return;}setTimeout(()=>this[_0x1061dc(0x35d)](),0x0);}))),this[_0x1803f5(0x2b8)](_0x76ee0e(this[_0x1803f5(0x206)][_0x1803f5(0x24d)][_0x1803f5(0x269)](_0x5c850d(this[_0x1803f5(0x490)]))['subscribe'](_0x57d3a3=>{const _0x26e77d=_0x1803f5;if(_0x57d3a3){this[_0x26e77d(0x487)]();return;}setTimeout(()=>this[_0x26e77d(0x35d)](),0x0);})));}[_0x763d2d(0x487)](){const _0x5707f9=_0x763d2d;var _0x3cc756;(_0x3cc756=this[_0x5707f9(0x3fa)])==null||_0x3cc756[_0x5707f9(0x200)](),this[_0x5707f9(0x3fa)]=null,this[_0x5707f9(0x36e)]=null;}[_0x763d2d(0x1dc)](){setTimeout(()=>{const _0x4ec1f8=_0x2c90;this[_0x4ec1f8(0x38c)]()||this[_0x4ec1f8(0x487)]();},0x0);}[_0x763d2d(0x38c)](){const _0x1aca61=_0x763d2d;let _0x4b95e5=this[_0x1aca61(0x46c)][_0x1aca61(0x51a)]();return!_0x4b95e5[_0x1aca61(0x24e)]||_0x4b95e5[_0x1aca61(0x248)][_0x1aca61(0x310)]!==0x1?!0x1:this['_popupSelectionKey']===this[_0x1aca61(0x4c6)](_0x4b95e5[_0x1aca61(0x24e)][_0x1aca61(0x2d4)],_0x4b95e5[_0x1aca61(0x24e)][_0x1aca61(0x469)],_0x4b95e5[_0x1aca61(0x248)][0x0]);}[_0x763d2d(0x4c6)](_0x3d5136,_0x1bee04,_0x1a5825){return _0x3d5136+':'+_0x1bee04+':'+_0x1a5825;}[_0x763d2d(0x35d)](){const _0x10cd7a=_0x763d2d;if(this[_0x10cd7a(0x206)][_0x10cd7a(0x259)]||this[_0x10cd7a(0x4f9)][_0x10cd7a(0x2d9)]()){this['_clearPopup']();return;}let _0x26e0ff=this[_0x10cd7a(0x46c)][_0x10cd7a(0x51a)](),_0x369833=this[_0x10cd7a(0x447)][_0x10cd7a(0x45f)]();if(_0x26e0ff[_0x10cd7a(0x1ba)]||_0x369833[_0x10cd7a(0x465)]||_0x369833[_0x10cd7a(0x3b2)]!==null&&_0x369833['activeTool']!==_0x1ec962[_0x10cd7a(0x498)]||!_0x26e0ff[_0x10cd7a(0x24e)]||_0x26e0ff[_0x10cd7a(0x24e)][_0x10cd7a(0x2d4)]!==this[_0x10cd7a(0x429)][_0x10cd7a(0x2d4)]||_0x26e0ff[_0x10cd7a(0x248)]['length']!==0x1||_0x26e0ff[_0x10cd7a(0x1c5)]==null){this['_clearPopup']();return;}let _0x217934=this[_0x10cd7a(0x3a5)][_0x10cd7a(0x252)](_0x26e0ff['context'][_0x10cd7a(0x2d4)],_0x26e0ff['context']['subUnitId'],_0x26e0ff[_0x10cd7a(0x1c5)]);if(!_0x217934||_0x217934[_0x10cd7a(0x50f)]['type']!==_0x12b759[_0x10cd7a(0x2d3)]){this['_clearPopup']();return;}let _0x5b20fa=this[_0x10cd7a(0x3eb)](_0x217934);if(!_0x5b20fa){this[_0x10cd7a(0x487)]();return;}let _0x250cbc=this[_0x10cd7a(0x4c6)](_0x217934[_0x10cd7a(0x2d4)],_0x217934[_0x10cd7a(0x469)],_0x217934[_0x10cd7a(0x4e5)]);this[_0x10cd7a(0x3fa)]&&this[_0x10cd7a(0x36e)]===_0x250cbc||(this[_0x10cd7a(0x487)](),this[_0x10cd7a(0x3fa)]=this['disposeWithMe'](this[_0x10cd7a(0x42a)][_0x10cd7a(0x26f)](_0x217934[_0x10cd7a(0x2d4)],_0x217934['subUnitId'],_0x5b20fa,{'componentKey':Dn,'direction':'top-center','offset':[0x0,0x24],'anchorBoundResolver':_0x1411a9,'extraProps':{'unitId':_0x217934[_0x10cd7a(0x2d4)],'subUnitId':_0x217934['subUnitId'],'elementId':_0x217934[_0x10cd7a(0x4e5)],'chartId':_0x217934[_0x10cd7a(0x50f)][_0x10cd7a(0x3e5)]}})),this[_0x10cd7a(0x36e)]=_0x250cbc);}[_0x763d2d(0x3eb)](_0x5e6db1){const _0x287893=_0x763d2d;var _0x122cb2,_0x48314d,_0x2528c2;let _0x4b9b03=_0x4ec66c(_0x5e6db1[_0x287893(0x2d4)],_0x5e6db1[_0x287893(0x4e5)]),_0xd4f9be=this[_0x287893(0x429)][_0x287893(0x1a7)];return(_0x122cb2=(_0x48314d=(_0x2528c2=_0xd4f9be['getObjectIncludeInGroup'])==null?void 0x0:_0x2528c2['call'](_0xd4f9be,_0x4b9b03))==null?_0xd4f9be[_0x287893(0x46d)](_0x4b9b03):_0x48314d)==null?null:_0x122cb2;}};jn=Z([X(0x1,_0x1b1a65(_0x3f8177)),X(0x2,_0x3371ae),X(0x3,_0x5ea65c),X(0x4,_0x140b0f),X(0x5,_0x1b1a65(Q)),X(0x6,_0x1b1a65(_0x357bf2))],jn);let Mn=class extends _0xb85063{constructor(_0x43c5f1,_0x29aaf4,_0x38ded1,_0x5e2486,_0x47ad11,_0x32e5be){const _0x4ce893=_0x763d2d;super(),this['_renderContext']=_0x43c5f1,this[_0x4ce893(0x488)]=_0x29aaf4,this[_0x4ce893(0x3a5)]=_0x38ded1,this[_0x4ce893(0x46c)]=_0x5e2486,this[_0x4ce893(0x447)]=_0x47ad11,this['_editSessionService']=_0x32e5be,Y(this,_0x4ce893(0x3c6),!0x1),Y(this,_0x4ce893(0x2c3),null),this['_init']();}[_0x763d2d(0x18e)](){const _0x3116a6=_0x763d2d;let {unitId:_0x33126e}=this[_0x3116a6(0x429)],_0x45626a=this[_0x3116a6(0x488)][_0x3116a6(0x3ee)](_0x33126e,_0x246183[_0x3116a6(0x4b4)]);this['disposeWithMe'](_0x76ee0e(()=>{const _0x5b6753=_0x3116a6;var _0x436fdc;return(_0x436fdc=this[_0x5b6753(0x2c3)])==null?void 0x0:_0x436fdc['dispose']();})),_0x45626a&&(this[_0x3116a6(0x2e0)](_0x45626a),this['disposeWithMe'](this[_0x3116a6(0x3a5)]['elementAdd$'][_0x3116a6(0x271)](_0x397ea4=>{const _0x52e2d3=_0x3116a6;_0x397ea4[_0x52e2d3(0x22c)](_0x411a80=>_0x411a80['unitId']===_0x33126e)&&this[_0x52e2d3(0x2e0)](_0x45626a);})),this[_0x3116a6(0x2b8)](this[_0x3116a6(0x3a5)][_0x3116a6(0x4f5)][_0x3116a6(0x271)](_0x2b002e=>{const _0x59498f=_0x3116a6;_0x2b002e['some'](_0x1c2243=>_0x1c2243[_0x59498f(0x2d4)]===_0x33126e)&&this[_0x59498f(0x2e0)](_0x45626a);})),this[_0x3116a6(0x2b8)](this['_boardElementService'][_0x3116a6(0x1e1)]['subscribe'](_0x265242=>{const _0xaa3269=_0x3116a6;_0x265242[_0xaa3269(0x22c)](_0x302454=>_0x302454[_0xaa3269(0x2d4)]===_0x33126e)&&this['_scheduleAttachObjectDoubleClicks'](_0x45626a);})),this[_0x3116a6(0x2b8)](this[_0x3116a6(0x46c)]['state$']['subscribe'](_0x4a83d3=>{const _0x5209b7=_0x3116a6;var _0x2a34aa;((_0x2a34aa=_0x4a83d3['context'])==null?void 0x0:_0x2a34aa['unitId'])===_0x33126e&&this[_0x5209b7(0x2e0)](_0x45626a);})));}[_0x763d2d(0x2e0)](_0x340ff6){const _0x4f5007=_0x763d2d;this[_0x4f5007(0x3c6)]||(this[_0x4f5007(0x3c6)]=!0x0,Promise[_0x4f5007(0x3a3)]()[_0x4f5007(0x51c)](()=>this[_0x4f5007(0x1ae)](_0x340ff6)));}[_0x763d2d(0x1ae)](_0x514c54){const _0x25085a=_0x763d2d;var _0x424383;this[_0x25085a(0x3c6)]=!0x1;let {scene:_0x578f7f,unitId:_0x2f00af}=this[_0x25085a(0x429)],_0x54ff47=_0x514c54[_0x25085a(0x44e)](),_0x4ad342=this['_boardElementService'][_0x25085a(0x1d3)](_0x2f00af,_0x54ff47),_0x40284f=new _0x543f35();(_0x424383=this[_0x25085a(0x2c3)])==null||_0x424383[_0x25085a(0x200)](),this[_0x25085a(0x2c3)]=_0x40284f,_0x4ad342[_0x25085a(0x29f)](_0x5d4471=>{const _0x1c0490=_0x25085a;var _0x41ba27,_0x3953df;let _0x401b97=this['_boardElementService'][_0x1c0490(0x252)](_0x2f00af,_0x54ff47,_0x5d4471);if(!_0x401b97||_0x401b97[_0x1c0490(0x50f)][_0x1c0490(0x304)]!==_0x12b759[_0x1c0490(0x2d3)])return;let _0x1388d8=_0x4ec66c(_0x2f00af,_0x5d4471),_0x5c5562=(_0x41ba27=(_0x3953df=_0x578f7f[_0x1c0490(0x349)])==null?void 0x0:_0x3953df[_0x1c0490(0x1e7)](_0x578f7f,_0x1388d8))==null?_0x578f7f['getObject'](_0x1388d8):_0x41ba27;_0x5c5562&&_0x40284f['add'](_0x76ee0e(_0x5c5562[_0x1c0490(0x4dc)][_0x1c0490(0x37e)]((_0x5e8ad5,_0x414ad5)=>{const _0x5b2055=_0x1c0490;this[_0x5b2055(0x2f8)](_0x401b97,_0x5e8ad5,_0x414ad5);})));});}[_0x763d2d(0x2f8)](_0x51def3,_0x100bcc,_0x5ec1cd){const _0x1e35c6=_0x763d2d;var _0x6e74ba;if(this[_0x1e35c6(0x447)][_0x1e35c6(0x45f)]()[_0x1e35c6(0x465)]||this['_elementStateService']['getSnapshot']()[_0x1e35c6(0x1ba)]||_0x51def3[_0x1e35c6(0x50f)]['type']!==_0x12b759[_0x1e35c6(0x2d3)])return;let _0x6e701f={'unitId':_0x51def3[_0x1e35c6(0x2d4)],'subUnitId':_0x51def3[_0x1e35c6(0x469)]};this[_0x1e35c6(0x46c)][_0x1e35c6(0x4a7)](_0x6e701f,[_0x51def3['elementId']],_0x51def3[_0x1e35c6(0x4e5)]),this[_0x1e35c6(0x46c)][_0x1e35c6(0x31c)](_0x6e701f,null),this[_0x1e35c6(0x4f9)]['open']({'chartId':_0x51def3['element']['chartId'],'elementId':_0x51def3[_0x1e35c6(0x4e5)],'source':_0x1e35c6(0x24c),'subUnitId':_0x51def3['subUnitId'],'unitId':_0x51def3[_0x1e35c6(0x2d4)]}),_0x5ec1cd&&(_0x5ec1cd[_0x1e35c6(0x41f)]=!0x0),_0x100bcc==null||(_0x6e74ba=_0x100bcc['preventDefault'])==null||_0x6e74ba['call'](_0x100bcc);}};Mn=Z([X(0x1,_0x3a975c),X(0x2,_0x3371ae),X(0x3,_0x5ea65c),X(0x4,_0x140b0f),X(0x5,_0x1b1a65(Q))],Mn);let Nn=class extends _0x3dbc5d{constructor(_0x39cdc7,_0x544582,_0x3e6e3d){const _0x39eace=_0x763d2d;super(),this[_0x39eace(0x514)]=_0x39cdc7,this[_0x39eace(0x4c3)]=_0x544582,this[_0x39eace(0x21f)]=_0x3e6e3d;}['getDataEditState'](_0x5bc3a7,_0x5de759){const _0x358b78=_0x763d2d;let _0x1ebc2f=this[_0x358b78(0x514)][_0x358b78(0x2f2)](_0x5bc3a7,_0x5de759),_0x3ab46c=_0x1ebc2f?this[_0x358b78(0x514)][_0x358b78(0x223)](_0x5bc3a7,_0x1ebc2f['dataSourceId']):void 0x0;return!_0x1ebc2f||!_0x3ab46c?null:{'chartId':_0x5de759,'chartType':_0x1ebc2f[_0x358b78(0x4b5)],'dataSource':{..._0x3ab46c,'values':_0x3ab46c[_0x358b78(0x280)]['map'](_0x351911=>[..._0x351911])},'sharingCount':this[_0x358b78(0x514)]['getDataSourceSharingCount'](_0x5bc3a7,_0x3ab46c['id']),'unitId':_0x5bc3a7};}async[_0x763d2d(0x1f3)](_0xff5816){const _0x3a2608=_0x763d2d;var _0x350596;let _0x49f061=this[_0x3a2608(0x4ed)](_0xff5816['unitId'],_0xff5816[_0x3a2608(0x3e5)]);if(!_0x49f061||_0xff5816['values'][_0x3a2608(0x310)]===0x0)return!0x1;let _0x47688e=(_0x350596=this[_0x3a2608(0x514)]['getChart'](_0xff5816['unitId'],_0xff5816[_0x3a2608(0x3e5)]))==null?void 0x0:_0x350596[_0x3a2608(0x4b5)];if(_0x47688e===void 0x0)return!0x1;let _0x13d20a=_0x143fd8(_0x47688e,_0xff5816[_0x3a2608(0x280)]);if(!_0x13d20a||_0x49f061[_0x3a2608(0x19e)]>0x1&&!_0xff5816[_0x3a2608(0x2a2)]&&!await this[_0x3a2608(0x21f)]['executeCommand'](_0x4b567a['id'],{'chartId':_0xff5816[_0x3a2608(0x3e5)],'unitId':_0xff5816['unitId']}))return!0x1;let _0x1b7277=this['_resourceService']['getChart'](_0xff5816['unitId'],_0xff5816[_0x3a2608(0x3e5)]);if(!_0x1b7277)return!0x1;let _0x38ca40=await this[_0x3a2608(0x21f)][_0x3a2608(0x458)](_0x10d61a['id'],{'dataSourceId':_0x1b7277[_0x3a2608(0x441)],'name':_0xff5816['name'],'unitId':_0xff5816[_0x3a2608(0x2d4)],'values':_0x13d20a});return _0x38ca40&&this[_0x3a2608(0x4c3)]['refreshChartModel'](_0xff5816['unitId'],_0xff5816[_0x3a2608(0x3e5)]),!!_0x38ca40;}};Nn=Z([X(0x0,_0x1b1a65(_0x5766b0)),X(0x1,_0x1b1a65(_0x32e828)),X(0x2,_0x22f25e)],Nn);const Pn='board-chart.data-editor-dialog';function Fn(_0x43e3da){const _0x199427=_0x763d2d;var _0x844ac4;let _0x42e0ec=_0x2b685c(Nn),_0x46b31=_0x2b685c(_0x344124),_0x3db91f=_0x42e0ec[_0x199427(0x4ed)](_0x43e3da['unitId'],_0x43e3da[_0x199427(0x3e5)]),[_0x24119d,_0x750cfb]=_0x3b09b5(()=>{const _0x2491ba=_0x199427;var _0x5da71f;return(_0x5da71f=_0x3db91f==null?void 0x0:_0x3db91f[_0x2491ba(0x1bb)][_0x2491ba(0x280)][_0x2491ba(0x4e0)](_0x507e13=>[..._0x507e13]))==null?[]:_0x5da71f;}),[_0x534871,_0x3879ea]=_0x3b09b5(null),_0x446978=((_0x844ac4=_0x3db91f==null?void 0x0:_0x3db91f[_0x199427(0x19e)])==null?0x0:_0x844ac4)>0x1;if(!_0x3db91f)return _0xb12f60('div',{'className':_0x199427(0x2d7),'children':_0x46b31['t'](_0x199427(0x3bd))});let _0x226e09=_0x4b0890=>{const _0x519ed0=_0x199427;let _0x4b9703=_0x2b4b49(_0x24119d);if(_0x4b9703[_0x519ed0(0x310)]===0x0){_0x3879ea(_0x46b31['t'](_0x519ed0(0x3d8)));return;}if(_0x3db91f[_0x519ed0(0x4b5)]===_0x165125[_0x519ed0(0x376)]&&!_0x143fd8(_0x3db91f[_0x519ed0(0x4b5)],_0x4b9703)){_0x3879ea(_0x46b31['t'](_0x519ed0(0x499)));return;}_0x42e0ec[_0x519ed0(0x1f3)]({'chartId':_0x43e3da[_0x519ed0(0x3e5)],'name':_0x3db91f[_0x519ed0(0x1bb)]['name'],'unitId':_0x43e3da['unitId'],'updateShared':_0x4b0890,'values':_0x4b9703})[_0x519ed0(0x51c)](_0xd9ab58=>{const _0x5aff20=_0x519ed0;var _0x38a99f;if(!_0xd9ab58){_0x3879ea(_0x46b31['t']('boards-chart-ui.dataEditor.updateFailed'));return;}_0x3879ea(null),(_0x38a99f=_0x43e3da[_0x5aff20(0x2f7)])==null||_0x38a99f[_0x5aff20(0x1e7)](_0x43e3da);});};return _0x4f0e43('div',{'className':'univer-flex\x20univer-w-full\x20univer-flex-col\x20univer-gap-4\x20univer-p-1','children':[_0xb12f60(_0x439e10,{'values':_0x24119d,'parsePastedText':_0x39ad85,'onChange':_0x750cfb}),_0x534871&&_0xb12f60('div',{'className':_0x199427(0x3de),'children':_0x534871}),_0x4f0e43(_0x199427(0x290),{'className':'univer-flex\x20univer-justify-end\x20univer-gap-2','children':[_0x43e3da[_0x199427(0x2f7)]&&_0xb12f60(_0x526b7a,{'type':'button','variant':'default','onClick':_0x43e3da[_0x199427(0x2f7)],'children':_0x46b31['t'](_0x199427(0x388))}),_0x446978&&_0xb12f60(_0x526b7a,{'type':_0x199427(0x18c),'variant':_0x199427(0x1e6),'onClick':()=>_0x226e09(!0x1),'children':_0x46b31['t']('boards-chart-ui.dataEditor.duplicate')}),_0xb12f60(_0x526b7a,{'type':_0x199427(0x18c),'variant':'primary','onClick':()=>_0x226e09(!0x0),'children':_0x46b31['t']('boards-chart-ui.dataEditor.apply')})]})]});}const In={'id':'board.operation.chart.open-data-editor','type':_0xba2def[_0x763d2d(0x354)],'handler':(_0x16bfb3,_0x443cb2)=>{const _0x9e577=_0x763d2d;if(!_0x443cb2||!_0x16bfb3[_0x9e577(0x28e)](Nn)[_0x9e577(0x4ed)](_0x443cb2[_0x9e577(0x2d4)],_0x443cb2[_0x9e577(0x3e5)])||!_0x16bfb3[_0x9e577(0x28e)](_0x20fc20)['get']('board-chart.data-editor-dialog'))return!0x1;let _0x67585f=_0x16bfb3['get'](_0x229613),_0x30f365=_0x16bfb3['get'](_0x344124),_0x4588ae=null,_0x4f14e8=()=>{_0x4588ae==null||_0x4588ae['dispose'](),_0x4588ae=null;};return _0x4588ae=_0x67585f[_0x9e577(0x19a)]({'id':_0x9e577(0x3c3),'title':{'title':_0x30f365['t'](_0x9e577(0x4b1))},'width':0x2f8,'draggable':!0x1,'mask':!0x0,'maskClosable':!0x1,'children':{'label':{'name':Pn,'props':{..._0x443cb2,'onClose':_0x4f14e8}}},'onClose':_0x4f14e8}),!0x0;}};function $(_0x3b040c,_0x46dece){const _0x138591=_0x763d2d;let _0x35ab26=_0x2b685c(yn),_0x477702=_0x91ce04(_0x35ab26['activeRuntimeModel$'],_0x35ab26[_0x138591(0x233)]),_0x3fcdfd=_0x236c68(()=>_0x35ab26['getViewState'](_0x3b040c,_0x477702),[_0x477702,_0x3b040c,_0x35ab26]);return[_0x91ce04(_0x236c68(()=>_0x3fcdfd instanceof _0x1c50f0?_0x3fcdfd:_0x3fcdfd==null?void 0x0:_0x3fcdfd['get'](),[_0x3fcdfd]),_0x46dece),_0x2ccf46(_0x2f10d0=>{const _0x228701=_0x138591;if(!(_0x3fcdfd instanceof _0x1c50f0)){var _0x484191;_0x3fcdfd==null||(_0x484191=_0x3fcdfd[_0x228701(0x45a)])==null||_0x484191[_0x228701(0x1e7)](_0x3fcdfd,_0x2f10d0);}},[_0x3fcdfd])];}const Ln='board-chart.edit-panel',Rn=[{'label':_0x763d2d(0x2b0),'value':''},{'label':'boards-chart-ui.option.stacked','value':'0'},{'label':'boards-chart-ui.option.percentStacked','value':'1'}],zn=[{'label':_0x763d2d(0x2bb),'value':_0x57f849[_0x763d2d(0x283)]},{'label':'boards-chart-ui.option.right','value':_0x57f849[_0x763d2d(0x35c)]},{'label':_0x763d2d(0x1e9),'value':_0x57f849[_0x763d2d(0x395)]},{'label':_0x763d2d(0x462),'value':_0x57f849['Left']},{'label':_0x763d2d(0x2b0),'value':_0x57f849['Hide']}],Bn=[{'label':_0x763d2d(0x2bb),'value':_0x48b20d[_0x763d2d(0x283)]},{'label':'boards-chart-ui.option.right','value':_0x48b20d[_0x763d2d(0x35c)]},{'label':_0x763d2d(0x1e9),'value':_0x48b20d['Bottom']},{'label':_0x763d2d(0x462),'value':_0x48b20d[_0x763d2d(0x4d2)]},{'label':'boards-chart-ui.option.none','value':_0x48b20d['Hide']}],Vn=[{'label':_0x763d2d(0x43a),'value':_0x638ec8[_0x763d2d(0x2a0)]},{'label':'boards-chart-ui.option.stacked','value':_0x638ec8[_0x763d2d(0x323)]}],Hn=_0x83130b([0x0,0.25,0.5,0.75]),Un=[0xa,0xc,0xe,0x10,0x12,0x14,0x18,0x1e,0x24]['map'](_0x33a8db=>({'label':String(_0x33a8db),'value':String(_0x33a8db)})),Wn=_0x83130b(_0x51b45c),Gn=_0x583386(_0x2a4b11),Kn=_0x583386(_0x12c6be),qn=_0x583386(_0x6a3032),Jn=[-0x5a,-0x3c,-0x2d,-0x1e,0x0,0x1e,0x2d,0x3c,0x5a]['map'](_0xf11879=>({'label':_0xf11879+'°','value':String(_0xf11879)})),Yn=[{'label':_0x763d2d(0x4c1),'value':_0x58a595[_0x763d2d(0x32c)]},{'label':'boards-chart-ui.option.dashed','value':_0x58a595[_0x763d2d(0x495)]},{'label':'boards-chart-ui.option.dotted','value':_0x58a595[_0x763d2d(0x244)]}],Xn=[{'label':_0x763d2d(0x500),'value':_0x24ee84['Circle']},{'label':_0x763d2d(0x232),'value':_0x24ee84[_0x763d2d(0x504)]},{'label':_0x763d2d(0x4fc),'value':_0x24ee84['Triangle']},{'label':_0x763d2d(0x3e0),'value':_0x24ee84[_0x763d2d(0x40d)]},{'label':'boards-chart-ui.option.rectangle','value':_0x24ee84[_0x763d2d(0x2ba)]},{'label':_0x763d2d(0x51d),'value':_0x24ee84['RoundRect']},{'label':_0x763d2d(0x415),'value':_0x24ee84[_0x763d2d(0x39b)]},{'label':_0x763d2d(0x4bf),'value':_0x24ee84[_0x763d2d(0x213)]},{'label':_0x763d2d(0x2b0),'value':_0x24ee84['None']},{'label':_0x763d2d(0x4ce),'value':_0x24ee84[_0x763d2d(0x340)]},{'label':_0x763d2d(0x1d6),'value':_0x24ee84[_0x763d2d(0x412)]},{'label':_0x763d2d(0x3bb),'value':_0x24ee84['EmptyTriangle']},{'label':_0x763d2d(0x4dd),'value':_0x24ee84['EmptyDiamond']},{'label':_0x763d2d(0x2b2),'value':_0x24ee84[_0x763d2d(0x3ef)]},{'label':_0x763d2d(0x254),'value':_0x24ee84[_0x763d2d(0x503)]},{'label':'boards-chart-ui.option.emptyPin','value':_0x24ee84[_0x763d2d(0x2b6)]},{'label':_0x763d2d(0x40c),'value':_0x24ee84[_0x763d2d(0x4bd)]}],Zn=_0x583386(_0xe25ebe),Qn=[_0x45aa52[_0x763d2d(0x4a2)],_0x45aa52['Inside'],_0x45aa52[_0x763d2d(0x4d2)],_0x45aa52[_0x763d2d(0x35c)],_0x45aa52[_0x763d2d(0x283)],_0x45aa52[_0x763d2d(0x395)]][_0x763d2d(0x4e0)](_0x1bbfb3=>({'label':_0x763d2d(0x2c8)+_0x1bbfb3,'value':_0x1bbfb3})),$n=[_0x3633fd['Inside'],_0x3633fd[_0x763d2d(0x24f)]][_0x763d2d(0x4e0)](_0x5635ee=>({'label':_0x763d2d(0x2c8)+_0x5635ee,'value':_0x5635ee})),er=[{'label':_0x763d2d(0x387),'value':_0x2c73ec[_0x763d2d(0x4d3)]},{'label':_0x763d2d(0x45b),'value':_0x2c73ec[_0x763d2d(0x455)]},{'label':_0x763d2d(0x389),'value':_0x2c73ec[_0x763d2d(0x4f0)]},{'label':_0x763d2d(0x4c9),'value':_0x2c73ec[_0x763d2d(0x253)]}],tr=[{'label':_0x763d2d(0x1f2),'value':_0x763d2d(0x3c8)},{'label':_0x763d2d(0x227),'value':_0x763d2d(0x1ef)},{'label':_0x763d2d(0x2cb),'value':'xAxisTitle'},{'label':'boards-chart-ui.option.verticalAxisTitle','value':_0x763d2d(0x338)},{'label':'boards-chart-ui.option.rightVerticalAxisTitle','value':_0x763d2d(0x35e)}],nr=[{'label':_0x763d2d(0x2ee),'value':_0x40a8e4[_0x763d2d(0x468)]},{'label':'boards-chart-ui.option.center','value':_0x40a8e4[_0x763d2d(0x3c9)]},{'label':'boards-chart-ui.option.end','value':_0x40a8e4[_0x763d2d(0x347)]}],rr=[{'label':'boards-chart-ui.option.single','value':_0x37a203[_0x763d2d(0x1de)]},{'label':_0x763d2d(0x3f9),'value':_0x37a203[_0x763d2d(0x4a4)]},{'label':_0x763d2d(0x4bc),'value':_0x37a203[_0x763d2d(0x497)]}],ir=[{'label':_0x763d2d(0x1e2),'value':'continuous'},{'label':'boards-chart-ui.option.piecewise','value':_0x763d2d(0x20d)}],ar=[{'label':_0x763d2d(0x2a7),'value':_0x101475[_0x763d2d(0x40b)]},{'label':_0x763d2d(0x332),'value':_0x101475[_0x763d2d(0x1c1)]},{'label':_0x763d2d(0x2ff),'value':_0x101475['Step']}],or=[{'label':_0x763d2d(0x24b),'value':_0x1b002d['Polygon']},{'label':_0x763d2d(0x500),'value':_0x1b002d[_0x763d2d(0x3e3)]}],sr=[{'label':_0x763d2d(0x2e7),'value':_0x1c43d3[_0x763d2d(0x2a9)]},{'label':'boards-chart-ui.option.showAsZero','value':_0x1c43d3[_0x763d2d(0x1f6)]},{'label':_0x763d2d(0x3ff),'value':_0x1c43d3[_0x763d2d(0x42d)]}],cr=Object['values'](_0x5e5be1)[_0x763d2d(0x4e0)](_0x50d019=>({'label':_0x763d2d(0x2c8)+(_0x50d019===_0x763d2d(0x4cd)?_0x763d2d(0x48f):_0x50d019),'value':_0x50d019})),lr=[{'label':_0x763d2d(0x2c5),'value':_0x98cc[_0x763d2d(0x50c)]},{'label':_0x763d2d(0x4c5),'value':_0x98cc[_0x763d2d(0x278)]},{'label':'boards-chart-ui.option.force','value':_0x98cc[_0x763d2d(0x49f)]}],ur=[{'label':_0x763d2d(0x2a7),'value':String(_0x165125[_0x763d2d(0x40b)])},{'label':_0x763d2d(0x372),'value':String(_0x165125[_0x763d2d(0x381)])},{'label':_0x763d2d(0x192),'value':String(_0x165125['Area'])}],dr=[{'label':_0x763d2d(0x416),'value':_0x502ea5[_0x763d2d(0x411)]},{'label':_0x763d2d(0x39a),'value':_0x502ea5[_0x763d2d(0x501)]},{'label':_0x763d2d(0x531),'value':_0x502ea5[_0x763d2d(0x214)]},{'label':'boards-chart-ui.option.power','value':_0x502ea5[_0x763d2d(0x3c5)]},{'label':_0x763d2d(0x3c2),'value':_0x502ea5[_0x763d2d(0x476)]},{'label':_0x763d2d(0x2ad),'value':_0x502ea5[_0x763d2d(0x325)]}],fr=[0x2,0x3,0x4,0x5,0x6][_0x763d2d(0x4e0)](_0x26974a=>({'label':String(_0x26974a),'value':String(_0x26974a)})),pr={'label':'boards-chart-ui.option.allSeries','value':_0x4275ae[_0x763d2d(0x1c6)]};function mr(_0x324942){const _0x238aba=_0x763d2d;return!!(_0x324942&&[_0x165125['Area'],_0x165125[_0x238aba(0x3e1)],_0x165125[_0x238aba(0x381)],_0x165125[_0x238aba(0x250)],_0x165125[_0x238aba(0x51b)],_0x165125[_0x238aba(0x38d)],_0x165125[_0x238aba(0x33c)],_0x165125[_0x238aba(0x39c)],_0x165125[_0x238aba(0x4be)]][_0x238aba(0x22c)](_0x8f2de3=>_0x50211b[_0x238aba(0x1a2)](_0x324942,_0x8f2de3)));}function hr(_0x35e01c){const _0x35e52c=_0x763d2d;return!!(_0x35e01c&&[_0x165125[_0x35e52c(0x40b)],_0x165125[_0x35e52c(0x242)],_0x165125['WordCloud'],_0x165125[_0x35e52c(0x4b8)],_0x165125[_0x35e52c(0x277)],_0x165125['Sankey'],_0x165125[_0x35e52c(0x47c)],_0x165125['Boxplot'],_0x165125[_0x35e52c(0x376)]][_0x35e52c(0x49d)](_0x996673=>!_0x50211b[_0x35e52c(0x1a2)](_0x35e01c,_0x996673)));}function _0x4df7(){const _0x18d021=['_uiStateService','_renderManagerService','transformByState','image','elementDataItem','repeat','boards-chart-ui.field.gap','getActivePageId','orient','boards-chart-ui.candlestick.close','scaleY','boards-chart-ui.field.labelFormat','_localeService','boards-chart-ui.candlestick.open','SeriesName','xAxisTitle','843138wsbcNR','executeCommand','point','set','boards-chart-ui.series','_bindChartEventHandler','bottom','width','getState','_chartEventSubscriptions','sort','boards-chart-ui.option.left','localPoint','dashType','pendingInsert','boards-chart-ui.chartTypes.barPercentStacked','boards-chart-ui.field.titleText','Start','subUnitId','paretoLine','rotate','_elementStateService','getObject','category','current','round','borderColor','ensureChartModel','paretoBarSeries','dataPointsOptions','chartThemeColorType','movingAvg','boards-chart-ui.field.tickColor','radar','Percent','Area','size','Heatmap','hidden','_drainQueue','lineColor','boards-chart-ui.field.gridlineColor','waterfall','_drawFrameStroke','currentStyle','boards-chart-ui.field.shape','getRenderColor','extraProps','_clearPopup','_instanceService','chartModelRemoved$','indicatorLabelTextColor','boards-chart-ui.field.repulsion','strokeWidth','candlestickMapping','univer-mt-3\x20univer-text-sm','triangleForward','dispose$','localeService','boards-chart-ui.pie','version','pending','Dashed','click','Close','Select','boards-chart-ui.dataEditor.candlestickColumnsError','boards-chart-ui.relation','_clearHiddenSelectedTarget','bind','every','univer-flex\x20univer-justify-end\x20univer-gap-2','Force','config','_dataUrl','Auto','clear','Multiple','manual','boards-chart-ui.control.showAxisLine','selectElements','switchChartType','_frameStyle','univer-px-4\x20univer-pb-5','seriesStyleMap','entries','_updateFrameStyle','onNodeShapeChange','engine','isAllSeries','boards-chart-ui.editData','_canvasPopupService','BubbleSeriesIndex','UNIVER_BOARD','chartType','_closeActivePanel','register','Scatter','heatmapMin','darkMode','univer-flex\x20univer-w-full\x20univer-flex-col\x20univer-gap-4','boards-chart-ui.option.disabled','EmptyArrow','ColumnPercentStacked','boards-chart-ui.option.arrow','contentType','boards-chart-ui.option.solid','_adapterRegistry','_modelService','boards-chart-ui.field.pointFill','boards-chart-ui.option.circular','_buildPopupSelectionKey','boards-chart-ui.field.dataNodeShape','boards-chart-ui.control.majorTicks','boards-chart-ui.option.percentage','createRenderSpec','_getBoardsUIConfig','boards-chart-ui.content.trendlineIndex','triangle-forward','boards-chart-ui.option.emptyCircle','boards-chart-ui.removeSeries','boards-chart-ui.candlestick.low','_activeEditOverlay','Left','CategoryName','scope','max','horizontalAxis','targetUnitId','boards-chart-ui.field.borderDash','board','univer-w-full\x20!univer-min-w-0','_native','onDblclick$','boards-chart-ui.option.emptyDiamond','complete','boards-chart-ui.field.lineOpacity','map','wordCloudMask','chartInvalidated$','setRenderModel','createChartInstance','elementId','registerItem','_activePanelDisposable','2179840JvUKNJ','area','rightYAxisOptions','boards-chart-ui.','boards-chart-ui.control.halfPie','getDataEditState','filter','iterator','Value','_adapter','boards-chart-ui.option.default','boards-chart-ui.control.showLabels','_applyHostStyle','elementUpdate$','barStyle','useDateAxis','_requestSnapshotForObject','_editSessionService','rect','decorate','boards-chart-ui.option.triangle','getRenderModel','boards-chart-ui.chartTypes.area','hit','boards-chart-ui.option.circle','exp','number','EmptyRoundRect','Square','Row','registerCommand','boards-chart-ui.field.doughnutHole','canReverse','getTransformerByCreate','titlePosition','onInserted','None','offsetWidth','boards-chart-ui.field.titleFormat','element','getCurrentRenderModel','applyHostStyle','padAngleStyle','relation','_resourceService','crossOrigin','legendStyle','yAxisOptions','registerRenderModel','_syncPanel','getSnapshot','BarStacked','then','boards-chart-ui.option.roundRectangle','_config','kind','_notifyScene','boards-chart-ui.bubbleData','clientX','titles','hierarchyIndexes','rgba(255,\x20255,\x20255,\x200.18)','anonymous','getElement','hasPaddingAngle','boards-chart-ui.field.borderOpacity','closePath','changeChartSource','Series\x20','fillOpacity','seriesIndexes','boards-chart-ui.candlestick.high','gridlinesAndTicks','boards-chart-ui.option.logarithmic','pluginName','elementRemoved','_componentManager','ghost','boards-chart-ui.lineAndArea','button','_removeRenderAdapter','_init','_listenChartResourceMutations','board.chart.floating-toolbar','axisOptions','boards-chart-ui.option.area','boards-chart-ui.field.displayName','span','boards-chart-ui.chartTypes.treemap','lineTo','makeDirty','_domLayerService','frameStyle','open','boards-chart-ui.field.dataPoint','showR2','status','sharingCount','Item\x20','boards-chart-ui.field.labelBackground','onUseEmphasisChange','baseOn','univer-mt-1','ready','axes','_cache','scene','repulsion','dataUrl','boards-chart-ui.field.textSize','wordCloudRepeat','chartStyle','textStyle','_attachObjectDoubleClicks','activeRuntimeModel$','boards-chart-ui.data','vertical','yAxis','_drawChartImage','resize','Board\x20chart\x20','getCacheKey','lineStyle','_configService','boards-chart-ui.customizeChart','isTransforming','dataSource','context$','defineProperty','boards-chart-ui.field.xAxis','hasOwnProperty','reverse','Smooth','main','univer-flex\x20univer-flex-col\x20univer-gap-3','reduce','focusedId','allSeriesId','split','univer-flex\x20univer-flex-col\x20univer-gap-3\x20univer-border-t\x20univer-border-solid\x20univer-border-gray-200\x20univer-pt-3\x20dark:!univer-border-gray-700','boards-chart-ui.control.showR2','boxSizing','boards-chart-ui.treemap.value','selectMode','Waterfall','rotateLabel','scaleX','pareto','_element','changeStart$','getElementOrder','wrap','markReady','boards-chart-ui.option.emptySquare','Pareto','setStyle','bounds','gradientFill','boards-chart-ui.chartTypes.heatmap','_clearPopupIfSelectionChanged','boards-chart-ui.rightVerticalAxis','Single','ensureMount','waitForConfig','elementRemove$','boards-chart-ui.option.continuous','useEmphasis','boards-chart-ui.chartStyle','fill','default','call','isDarkMode','boards-chart-ui.option.bottom','boards-chart-ui.field.legendText','boards-chart-ui.control.useDateAxis','_getChartKey','boards-chart-ui.verticalAxis','univer-w-[--radix-popper-anchor-width]','subtitle','boards-chart-ui.field.labelText','mode','boards-chart-ui.option.chartTitle','updateDataForChart','chartModelAdded$','onReady','Zero','position','createControl$','indicatorLine','gap','boards-chart-ui.field.r2Color','backgroundColor','bar','useValueAsSymbolSize','invalidateChart','dispose','_viewState','subtotal','remove','source','overflow','_interactionSurfaceService','_chartEventHandlers','category-series','BubbleSizeIndex','scatterLabelIndex','trendlines','boards-chart-ui.chartTypes.combination','piecewise','boards-chart-ui.control.fill','items','clientY','boards-chart-ui.field.areaLine','getRenderUnitById','Arrow','log','boards-chart-ui.field.pointShape','chartElement','boards-chart-ui.gridlinesAndTicks','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','payload','registerViewState','univer-mt-2','boards-chart-ui.field.max','_activePanelKey','boards-chart-ui.content.positive','_commandService','strokeStyle','boards-chart-ui.field.layout','PercentStack','getDataSource','pie','getElementData','setElementEditMode','boards-chart-ui.option.subtitle','_waitForRuntimeConfig','top-center','paretoStyle','pieStyle','some','waterfallStack','translate','_activeSession$','quickToolbar','boards-chart-ui.stack','boards-chart-ui.option.square','activeRuntimeModel','useSubtotal','_registerComponents','isRosePie','heatmap','absolute','heatmapMax','tools','visualMapType','getDataRangeLabel','removePopup','edgeLength','boards-chart-ui.field.min','boards-chart-ui.wordCloud','scroll','Radar','invalidValueType','Dotted','px\x20solid\x20','valueSuffix','setConfig','selectedIds','boards-chart-ui.config','restore','boards-chart-ui.option.polygon','doubleClick','interactionSurfaceActive$','context','Outside','AreaStacked','univer-box-border\x20univer-flex\x20univer-h-12\x20univer-items-center\x20univer-gap-1\x20univer-rounded-lg\x20univer-bg-white\x20univer-px-2\x20univer-py-1.5\x20univer-text-gray-700\x20univer-shadow-lg\x20dark:!univer-bg-gray-900\x20dark:!univer-text-gray-100','getElementById','Percentage','boards-chart-ui.option.emptyRoundRectangle','_snapshotRefreshers','allSeriesStyle','preparePaste','chartAndAxisTitles','isInteractionSurfaceActive','layout','_clearActiveLayer','_activeChart','trendlineValues','enabled','selectionChange','setActiveChartRuntime','useAbsValue','boards-chart-ui.field.pointOpacity','oKey','onChange','string','boards-chart-ui.candlestick.category','univer-mb-2\x20univer-flex\x20univer-cursor-pointer\x20univer-items-center\x20univer-border-none\x20univer-bg-transparent\x20univer-p-0\x20univer-text-primary-600','boards-chart-ui.chartTypes.columnStacked','pipe','paretoLineSeries','_renderService','boards-chart-ui.waterfall','config$','labelContentType','attachPopupToObject','boards-chart-ui.addSeries','subscribe','funnel','pieLabelStyle','prototype','createObject','boards-chart-ui.field.titleSize','Relation','Circular','onDispose$','boards-chart-ui.waterfallStack','Numeric','ScatterYIndex','rightYAxis','onRotateLabelChange','nodeShape','values','pageChange','doughnutHole','Top','wordCloud','boards-chart-ui.insert','clip','_attachNativeLoadHandlers','univer-flex\x20univer-flex-col\x20univer-gap-3\x20univer-pb-3','seriesList','boards-chart-ui.chartTypes.relation','boards-chart-ui.field.titleAlign','indicatorLineType','_host','get','flushForTests','div','boards-chart-ui.field.seriesType','boards-chart-ui.control.padAngle','line','slice','additionalRenderAdapters','dataSources','boards-chart-ui.field.period','runtimeAxes','showFloatMenu','registerChartInstance','model','\x20·\x20','boards-chart-ui.field.labelRotate','boards-chart-ui.field.formulaColor','forEach','Arrangement','_chartEventDisposables','updateShared','Size','board-chart-floating-toolbar','univer-ml-2\x20!univer-h-7\x20!univer-w-7\x20!univer-p-0','right','boards-chart-ui.option.line','categoryList','Break','_draw','_resolveFrameStyle','concat','boards-chart-ui.option.polynomial','getChartModel','keys','boards-chart-ui.option.none','getRect','boards-chart-ui.option.emptyRectangle','Image','Combination','univer-text-xs\x20univer-font-semibold\x20univer-text-gray-900\x20dark:!univer-text-white','EmptyPin','boards-chart-ui.field.position','disposeWithMe','next','Rect','boards-chart-ui.option.top','positive','_runQueue','@univerjs-pro/boards-chart-ui','_snapshotService','Sankey','onload','univer-pb-3','_objectDblclickDisposables','_renderOne','boards-chart-ui.option.auto','getBoundingClientRect','splice','boards-chart-ui.option.','left','Doughnut','boards-chart-ui.option.horizontalAxisTitle','univer-flex\x20univer-flex-col\x20univer-gap-2','parseInt','maskImage','_shouldWaitForChartConfig','chartType$','height','boards-chart-ui.gradientFill','Chart','unitId','join','boards-chart-ui.paretoBarSeries','univer-p-4\x20univer-text-sm\x20univer-text-gray-500\x20dark:!univer-text-gray-400','!univer-w-36\x20!univer-min-w-0','getActiveSession','_boardChartUIService','Treemap','getChartIdsByDataSource','border-box','unsubscribe','from','_scheduleAttachObjectDoubleClicks','style$','img','boards-chart-ui.field.fillOpacity','_chartElementEditMode','categoryIndex','_disposeChartEventSubscriptions','boards-chart-ui.option.showAsGaps','waterfallStyle','bubbleSizeIndex','direction$','univer-mx-2\x20univer-mt-2','boards-chart-ui.horizontalAxis','zIndex','boards-chart-ui.option.start','shape','_renderModelManager','_activeLayerId','getChart','commitSnapshot','_appendRenderAdapter','transformStart','_bindChartEventHandlers','onClose','_openEditSession','_renderer','boards-chart-ui.control.rosePie','Dom','boards-chart-ui.control.reverseAxis','period','render','boards-chart-ui.option.step','univer-flex\x20univer-size-7\x20univer-items-center\x20univer-justify-center\x20univer-rounded-md\x20univer-border-none\x20univer-bg-transparent\x20univer-p-0\x20univer-text-gray-700\x20univer-transition-colors\x20hover:univer-bg-gray-100\x20dark:!univer-text-gray-100\x20dark:hover:!univer-bg-gray-700','radarFill','data$','relationNodeShape','type','tick','item','collect','delete','chart','boards-chart-ui.control.useRightVerticalAxis','paretoDataPointsOptions','add','wordCloudShape','state$','radius','length','WordCloud','setActiveChartById','elements','shift','getConfig','Stack','getRuntimeContext','boards-chart-ui.field.maskImageId','boards-chart-ui.legend','dataPoints','boards-chart-ui.field.lineWidth','setFocusedSwimlaneLane','clientWidth','Pie','symbol','getColors','axis','force','Stacked','46383ylBkUF','poly','naturalHeight','close','nextVersion','paretoBar','_disposeChartEventSubscription','seriesId','Solid','nativeEvent','order','ScatterXIndex','boards-chart-ui.deleteChart','stroke','boards-chart-ui.option.smooth','Bubble','boards-chart-ui.field.fill','isFinite','_invalidateSnapshotsForDirectionChange','boards-chart-ui.chartType','yAxisTitle','Histogram','startsWith','669348RghjIU','AreaPercentStacked','requestSnapshot','showFormula','gravity','EmptyCircle','pieBorderColor','finally','_chartThemeService','5554899BQBJNB','_queue','Boxplot','End','boards-chart-ui.control.useValueAsSymbolSize','getObjectIncludeInGroup','opacity','indicatorLineColor','isElementEditModeActive','deepClone','\x20x\x20','boards-chart-ui.field.visualMap','borderWidth','top','boards-chart-ui.switchRowColumn','verticalAxis','OPERATION','color','boards-chart-ui.insertChartFailed','univer-relative\x20univer-h-full\x20univer-w-full\x20univer-overflow-hidden','_createChartRenderInstanceContext','_setActiveEditOverlay','changeEnd$','_chartInstanceMap','Right','_showPopupForSelection','rightYAxisTitle','getCanvasElement','dpr','boards-chart-ui.themes','onForceOptionChange','registerRenderModule','activeSession$','boards-chart-ui.field.border','_injector','negative','min','executeChartUpdateConfig','function','object','2lqYlKW','snapshotUpdated$','_popupSelectionKey','includes','boards-chart-ui.chartTypes.pareto','checkMounted','boards-chart-ui.option.column','boards-chart-ui.field.type','xAxis','lineVisible','Candlestick','boards-chart-ui.heatmap','_popupRuntimeKey','seriesValues','chartIdByElementId','gridLine','funnelUseAbsValue','r2Color','subscribeEvent','boards-chart-ui.chartTypes.bubble','782892aYMgvz','Column','asObservable','_closePopup','_registerAdapter','dataIndex','updateFrameStyle','boards-chart-ui.category','boards-chart-ui.dataEditor.cancel','boards-chart-ui.option.value','relationLayout','boards-chart-ui.chartTypes.sankey','_isPopupSelectionStillActive','ColumnStacked','updateElement','boards-chart-ui.control.dataLabels','createRenderInput','_rect','small','univer-text-sm\x20univer-font-medium\x20univer-text-gray-900\x20dark:!univer-text-white','stackType','Bottom','canUseDateAxis','waterfallSeries','boards-chart-ui.editChart','boards-chart-ui.chartTypes.line','boards-chart-ui.option.exponential','Pin','BarPercentStacked','popup','error','constructor','syncObject','isPieLike','lineWidth','resolve','_sidePanelService','_boardElementService','preserveTransform','boards-chart-ui.chartTypes.scatter','boards-chart-ui.field.pointSize','260WPKajF','indexOf','boards-chart-ui.content.subtotal','titleFontSize','borderRadius','seriesResourceList','indicator','mark','axisTitleAlign','activeTool','toolbar','radarShape','getEngine','true','1834595vvNQkf','funnelGap','candlestick','boards-chart-ui.field.title','boards-chart-ui.option.emptyTriangle','boards-chart-ui.chartTypes.pie','boards-chart-ui.dataEditor.unavailable','offsetHeight','border','flipY','key','boards-chart-ui.option.movingAverage','board-chart.dialog.data-editor','stylizeSpec','pow','_attachScheduled','params','title','Center','boards-chart-ui.chartTypes.funnel','_clearActiveEditOverlay','naturalWidth','_syncSelectionState','boards-chart-ui.chartTypes.waterfall','getViewState','boards-chart-ui.chartTypes.areaStacked','getHostStyle','_chartRenderService','delete-chart','univer-mt-4','floor','getRegisteredThemes','fontSize','boards-chart-ui.dataEditor.tableEmpty','_themeService','_watchSnapshotUpdates','getDirection','isHalfPie','boards-chart-ui.chartTypes.histogram','univer-text-xs\x20univer-text-red-600','univer-text-xs\x20univer-text-gray-500','boards-chart-ui.option.diamond','Bar','boards-chart-ui.field.selectMode','Circle','boards-chart-ui.field.valueSuffix','chartId','boards-chart-ui.chartAndAxisTitles','seriesIndex','boards-chart-ui.useSubtotal','activeScene','board-chart.ui.service','_resolveElementObject','boards-chart-ui.radar','univer-ml-1\x20univer-text-xs\x20univer-font-medium','getUnit','EmptyRect','has','style','valueScale','trendline','initialRect','getFrameStyle','boards-chart-ui.funnel','scatterYIndex','resourceService','boards-chart-ui.option.multiple','_popupDisposable','formulaColor','beginPath','\x20has\x20no\x20render\x20config.','onEditData','boards-chart-ui.option.connectDataPoints','series','isRowDirection$','_getRuntimeModel','boards-chart-ui.chartTypes.columnPercentStacked','boards-chart-ui.paretoLineSeries','boards-chart-ui.field.tickWidth','_getChartRuntimeKey','getDataUrl','borderStyle','_subscribeChartEvents','drawImage','Line','boards-chart-ui.option.emptyArrow','Diamond','_configWaitKeys','Failed\x20to\x20render\x20board\x20chart\x20snapshot:\x20','label','linear','EmptySquare','showLabelLine','elementIdMap','boards-chart-ui.option.pin','boards-chart-ui.option.linear','scatterXIndex','onLayoutChange','name','legend','save','value','boards-chart-ui.field.lineType','insertParams','skipNextObservers','board-chart','rightVerticalAxis','univer-w-full\x20univer-justify-start','row','boards-chart-ui.content.negative','visible','boards-chart-ui.field.titlePosition','forceOption','boards-chart-ui.control.rotateLabels','_renderContext','_boardCanvasPopManagerService','_activeDrain','xAxisOptions','Link','areaLineStyle','boards-chart-ui.field.valueScale','requestPaint','charts','_syncActiveChart','indicatorLabelColor','refreshChartModel','angle','_openFloatMenu','onFileLoaded$','_activeLayerDisposable','target','boards-chart-ui.option.arrangement','boards-chart-ui.histogram.value','push','boards-chart-ui.field.yAxis','boards-chart-ui.treemap.hierarchy','_rendering','digitalFixed','dataSourceId','ScatterLabelIndex','createElement','column','edit-chart','src'];_0x4df7=function(){return _0x18d021;};return _0x4df7();}function gr(_0x2969c7){const _0x5dc03b=_0x763d2d;return!!(_0x2969c7&&_0x50211b[_0x5dc03b(0x1a2)](_0x2969c7,_0x165125[_0x5dc03b(0x31e)]));}function _r(_0x1f2040){const _0x255e03=_0x763d2d;return!!(_0x1f2040&&[_0x165125[_0x255e03(0x277)],_0x165125['Sankey'],_0x165125[_0x255e03(0x47c)],_0x165125[_0x255e03(0x346)],_0x165125[_0x255e03(0x376)]][_0x255e03(0x49d)](_0x553192=>!_0x50211b[_0x255e03(0x1a2)](_0x1f2040,_0x553192)));}function vr(_0x5c0327){const _0x244ed3=_0x763d2d;let _0x15e42d=!!(_0x5c0327&&_0x50211b[_0x244ed3(0x1a2)](_0x5c0327,_0x165125[_0x244ed3(0x311)])),_0x180165=!!(_0x5c0327&&_0x50211b[_0x244ed3(0x1a2)](_0x5c0327,_0x165125['Bubble'])),_0x551f58=!!(_0x5c0327&&_0x50211b['baseOn'](_0x5c0327,_0x165125['Funnel'])),_0x24135f=!!(_0x5c0327&&_0x50211b['baseOn'](_0x5c0327,_0x165125[_0x244ed3(0x277)])),_0x3f7c04=!!(_0x5c0327&&_0x50211b[_0x244ed3(0x1a2)](_0x5c0327,_0x165125[_0x244ed3(0x1d7)])),_0x20fceb=!!(_0x5c0327&&_0x50211b[_0x244ed3(0x1a2)](_0x5c0327,_0x165125['Sankey'])),_0x130c22=!!(_0x5c0327&&_0x50211b[_0x244ed3(0x1a2)](_0x5c0327,_0x165125[_0x244ed3(0x47c)])),_0x28b101=gr(_0x5c0327),_0x278b41=!!(_0x5c0327&&_0x50211b['baseOn'](_0x5c0327,_0x165125[_0x244ed3(0x242)])),_0x56b60d=!!(_0x5c0327&&_0x50211b[_0x244ed3(0x1a2)](_0x5c0327,_0x165125[_0x244ed3(0x1cd)])),_0x32f51f=!!(_0x5c0327&&_0x50211b[_0x244ed3(0x1a2)](_0x5c0327,_0x165125['Candlestick'])),_0x259f12=_0x5c0327===_0x165125[_0x244ed3(0x339)],_0x57a2e1=_0x5c0327===_0x165125[_0x244ed3(0x2db)],_0x366927=!!(_0x5c0327&&[_0x165125[_0x244ed3(0x40b)],_0x165125[_0x244ed3(0x47a)],_0x165125['AreaStacked'],_0x165125[_0x244ed3(0x33c)],_0x165125[_0x244ed3(0x4b8)],_0x165125[_0x244ed3(0x2b4)]][_0x244ed3(0x22c)](_0x14e276=>_0x50211b[_0x244ed3(0x1a2)](_0x5c0327,_0x14e276))),_0x41d246=[_0x244ed3(0x1ac),_0x244ed3(0x258)];return _0x15e42d&&_0x41d246[_0x244ed3(0x43c)](_0x244ed3(0x284)),!_0x15e42d&&!_0x28b101&&!_0x180165&&!_0x24135f&&!_0x56b60d&&!_0x3f7c04&&!_0x20fceb&&!_0x130c22&&!_0x32f51f&&!_0x57a2e1&&_0x41d246[_0x244ed3(0x43c)](_0x244ed3(0x400)),_0x56b60d&&_0x41d246['push'](_0x244ed3(0x481)),_0x3f7c04&&_0x41d246[_0x244ed3(0x43c)](_0x244ed3(0x329),_0x244ed3(0x46a)),_0x28b101&&_0x41d246[_0x244ed3(0x43c)]('pie'),_0x278b41&&_0x41d246[_0x244ed3(0x43c)](_0x244ed3(0x478)),_0x551f58&&_0x41d246[_0x244ed3(0x43c)](_0x244ed3(0x272)),_0x130c22&&_0x41d246[_0x244ed3(0x43c)](_0x244ed3(0x237)),_0x24135f&&_0x41d246['push'](_0x244ed3(0x513)),_0x366927&&_0x41d246['push']('lineAndArea'),!_0x15e42d&&!_0x20fceb&&!_0x57a2e1&&_0x41d246[_0x244ed3(0x43c)](_0x244ed3(0x41a)),!_0x15e42d&&!_0x28b101&&!_0x278b41&&!_0x551f58&&!_0x24135f&&!_0x20fceb&&!_0x130c22&&!_0x57a2e1&&_0x41d246[_0x244ed3(0x43c)]('horizontalAxis',_0x244ed3(0x353),_0x244ed3(0x530)),!_0x15e42d&&!_0x24135f&&!_0x28b101&&!_0x551f58&&!_0x20fceb&&!_0x32f51f&&!_0x259f12&&!_0x57a2e1&&_0x41d246['push']('indicatorLine'),_0x41d246;}function yr(_0x360c6f,_0x428374){let _0x1d672d=_0x360c6f==null?_0x4275ae['labelContentType']:_0x360c6f;return(_0x1d672d&_0x428374)===_0x428374?_0x1d672d&~_0x428374:_0x1d672d|_0x428374;}function br(_0x25da2f){const _0x4c0651=_0x763d2d;var _0x39290d,_0x41a914,_0x2a0481,_0x10256b,_0x5e6f2a;let _0x4e9e4a=_0x2b685c(_0x344124),_0x3dcf5e=(_0x39290d=_0x25da2f['labelStyle'])==null?{}:_0x39290d,_0x575450=(_0x25da2f[_0x4c0651(0x3a1)]?er[_0x4c0651(0x4ee)](_0x4bae85=>_0x4bae85['value']!==_0x2c73ec[_0x4c0651(0x455)]):er)[_0x4c0651(0x4e0)](_0x1d8266=>({..._0x1d8266,'label':_0x4e9e4a['t'](_0x1d8266['label'])})),_0x4108cf=_0x25da2f[_0x4c0651(0x3a1)]?$n[_0x4c0651(0x4e0)](_0x1004bd=>({..._0x1004bd,'label':_0x4e9e4a['t'](_0x1004bd[_0x4c0651(0x410)])})):Qn['map'](_0x5cb7c9=>({..._0x5cb7c9,'label':_0x4e9e4a['t'](_0x5cb7c9[_0x4c0651(0x410)])})),_0x445361=(_0x41a914=_0x3dcf5e[_0x4c0651(0x4c0)])==null?_0x4275ae[_0x4c0651(0x26e)]:_0x41a914;return _0x4f0e43(_0x4c0651(0x290),{'className':_0x4c0651(0x1c3),'children':[_0xb12f60(_0x3dfacb,{'checked':(_0x2a0481=_0x3dcf5e[_0x4c0651(0x425)])!=null&&_0x2a0481,'onChange':_0x3baaa8=>_0x25da2f[_0x4c0651(0x264)]({'visible':!!_0x3baaa8}),'children':_0x4e9e4a['t'](_0x4c0651(0x38f))}),(_0x10256b=_0x3dcf5e[_0x4c0651(0x425)])!=null&&_0x10256b&&_0x4f0e43(_0x59b24f,{'children':[_0xb12f60(_0x4491c2,{'label':_0x4e9e4a['t']('boards-chart-ui.field.position'),'value':(_0x5e6f2a=_0x3dcf5e[_0x4c0651(0x1f7)])==null?_0x25da2f[_0x4c0651(0x3a1)]?_0x3633fd[_0x4c0651(0x24f)]:_0x45aa52['Auto']:_0x5e6f2a,'options':_0x4108cf,'onChange':_0x3aab42=>_0x25da2f['onChange']({'position':_0x3aab42})}),_0xb12f60(_0x4c0651(0x290),{'className':'univer-flex\x20univer-flex-wrap\x20univer-gap-2','children':_0x575450['map'](_0x402327=>_0xb12f60(_0x3dfacb,{'checked':(_0x445361&_0x402327[_0x4c0651(0x41c)])===_0x402327['value'],'onChange':()=>_0x25da2f[_0x4c0651(0x264)]({'contentType':yr(_0x445361,_0x402327['value'])}),'children':_0x402327[_0x4c0651(0x410)]},_0x402327[_0x4c0651(0x41c)]))}),_0xb12f60(_0x4fcc57,{'label':_0x4e9e4a['t']('boards-chart-ui.field.labelFormat'),'value':_0x3dcf5e,'onChange':(_0x802648,_0x969249)=>_0x25da2f[_0x4c0651(0x264)]({[_0x802648]:_0x969249})})]})]});}function xr(_0x258bbc){const _0x3bcbca=_0x763d2d;var _0x23a8c6,_0x5d5dcc,_0x37602e,_0x485fb9,_0x12d354,_0x235e8f,_0x1f7ae3,_0x11261a,_0x1ca876,_0x1206cd;let _0x4ad6aa=_0x2b685c(_0x344124),_0x45e50f=(_0x23a8c6=_0x258bbc[_0x3bcbca(0x191)])==null?{}:_0x23a8c6,_0x3e1e93=(_0x5d5dcc=(_0x37602e=_0x45e50f[_0x3bcbca(0x410)])==null?void 0x0:_0x37602e[_0x3bcbca(0x46b)])==null?_0x258bbc['useDateAxis']?_0x4275ae[_0x3bcbca(0x321)]['dateAxisRotate']:0x0:_0x5d5dcc;return _0x4f0e43(_0x3bcbca(0x290),{'className':_0x3bcbca(0x1c3),'children':[_0x4f0e43(_0x32a930,{'children':[_0xb12f60(_0x3dfacb,{'checked':(_0x485fb9=(_0x12d354=_0x45e50f[_0x3bcbca(0x410)])==null?void 0x0:_0x12d354[_0x3bcbca(0x425)])==null?_0x4275ae[_0x3bcbca(0x321)]['labelVisible']:_0x485fb9,'onChange':_0x27535d=>_0x258bbc[_0x3bcbca(0x264)]({'label':{'visible':!!_0x27535d}}),'children':_0x4ad6aa['t'](_0x3bcbca(0x4f3))}),_0x258bbc[_0x3bcbca(0x508)]&&_0xb12f60(_0x3dfacb,{'checked':(_0x235e8f=_0x45e50f[_0x3bcbca(0x1c0)])==null?_0x4275ae[_0x3bcbca(0x321)][_0x3bcbca(0x1c0)]:_0x235e8f,'onChange':_0x4c3c2d=>_0x258bbc[_0x3bcbca(0x264)]({'reverse':!!_0x4c3c2d}),'children':_0x4ad6aa['t'](_0x3bcbca(0x2fc))})]}),_0xb12f60(_0x3dfacb,{'checked':(_0x1f7ae3=_0x45e50f[_0x3bcbca(0x375)])!=null&&_0x1f7ae3,'onChange':_0x4a28ca=>_0x258bbc[_0x3bcbca(0x264)]({'lineVisible':!!_0x4a28ca}),'children':_0x4ad6aa['t'](_0x3bcbca(0x4a6))}),_0xb12f60(_0x4fcc57,{'label':_0x4ad6aa['t'](_0x3bcbca(0x452)),'value':_0x45e50f[_0x3bcbca(0x410)],'onChange':(_0x4e7afc,_0x16a595)=>_0x258bbc[_0x3bcbca(0x264)]({'label':{[_0x4e7afc]:_0x16a595}})}),_0x258bbc[_0x3bcbca(0x396)]&&_0xb12f60(_0x3dfacb,{'checked':!!_0x258bbc['useDateAxis'],'onChange':_0x46038d=>{var _0x4e5221;return(_0x4e5221=_0x258bbc['onUseDateAxisChange'])==null?void 0x0:_0x4e5221['call'](_0x258bbc,!!_0x46038d);},'children':_0x4ad6aa['t'](_0x3bcbca(0x1eb))}),_0xb12f60(_0x4491c2,{'label':_0x4ad6aa['t'](_0x3bcbca(0x29d)),'value':String(_0x3e1e93),'options':Jn,'onChange':_0x5aaf32=>_0x258bbc['onChange']({'label':{'rotate':Number(_0x5aaf32)}})}),_0x258bbc['isValueAxis']&&_0x4f0e43(_0x32a930,{'children':[_0xb12f60(_0x16acd0,{'label':_0x4ad6aa['t'](_0x3bcbca(0x23f)),'value':(_0x11261a=_0x45e50f[_0x3bcbca(0x368)])==null?void 0x0:_0x11261a,'onChange':_0x1b9fe9=>_0x258bbc[_0x3bcbca(0x264)]({'min':_0x1b9fe9==null?null:_0x1b9fe9})}),_0xb12f60(_0x16acd0,{'label':_0x4ad6aa['t'](_0x3bcbca(0x21c)),'value':(_0x1ca876=_0x45e50f[_0x3bcbca(0x4d5)])==null?void 0x0:_0x1ca876,'onChange':_0x1239e3=>_0x258bbc[_0x3bcbca(0x264)]({'max':_0x1239e3==null?null:_0x1239e3})})]}),_0xb12f60(_0xec0325,{'label':_0x4ad6aa['t']('boards-chart-ui.field.numberFormat'),'value':(_0x1206cd=_0x45e50f['format'])==null?'':_0x1206cd,'onChange':_0x41fb3e=>_0x258bbc[_0x3bcbca(0x264)]({'format':_0x41fb3e||null})})]});}function Sr(_0x36a87a){const _0x194025=_0x763d2d;var _0x11e801,_0x4734d9,_0x57a37b,_0xfd9b75,_0x3c5eb4,_0x120d0e,_0xaa668b,_0x9271e2;let _0x53e01d=_0x2b685c(_0x344124),_0x3f5d87=(_0x11e801=_0x36a87a[_0x194025(0x191)])==null?void 0x0:_0x11e801[_0x194025(0x37b)],_0x5976f1=(_0x4734d9=_0x36a87a[_0x194025(0x191)])==null?void 0x0:_0x4734d9[_0x194025(0x305)],_0x4a8861=(_0x57a37b=_0x3f5d87==null?void 0x0:_0x3f5d87[_0x194025(0x425)])!=null&&_0x57a37b;return _0x4f0e43(_0x194025(0x290),{'className':_0x194025(0x1c3),'children':[_0xb12f60(_0x3dfacb,{'checked':_0x4a8861,'onChange':_0xf52874=>_0x36a87a[_0x194025(0x264)]({'gridLine':{'visible':!!_0xf52874}}),'children':_0x53e01d['t']('boards-chart-ui.control.majorGridlines')}),_0x4a8861&&_0x4f0e43(_0x32a930,{'children':[_0xb12f60(_0x5945f0,{'label':_0x53e01d['t'](_0x194025(0x480)),'value':_0x3f5d87==null?void 0x0:_0x3f5d87[_0x194025(0x355)],'onChange':_0xe3ea94=>_0x36a87a['onChange']({'gridLine':{'color':_0xe3ea94==null?void 0x0:_0xe3ea94}})}),_0xb12f60(_0x4491c2,{'label':_0x53e01d['t']('boards-chart-ui.field.gridlineWidth'),'value':String((_0xfd9b75=_0x3f5d87==null?void 0x0:_0x3f5d87[_0x194025(0x45e)])==null?0x1:_0xfd9b75),'options':qn,'onChange':_0x48777b=>_0x36a87a[_0x194025(0x264)]({'gridLine':{'width':Number(_0x48777b)}})})]}),_0xb12f60(_0x3dfacb,{'checked':(_0x3c5eb4=_0x5976f1==null?void 0x0:_0x5976f1['visible'])!=null&&_0x3c5eb4,'onChange':_0x3aa56a=>_0x36a87a[_0x194025(0x264)]({'tick':{'visible':!!_0x3aa56a}}),'children':_0x53e01d['t'](_0x194025(0x4c8))}),_0x4f0e43(_0x32a930,{'children':[_0xb12f60(_0x4491c2,{'label':_0x53e01d['t']('boards-chart-ui.field.tickPosition'),'value':(_0x120d0e=_0x5976f1==null?void 0x0:_0x5976f1[_0x194025(0x1f7)])==null?_0x3633fd['Outside']:_0x120d0e,'options':$n['map'](_0x31a1a5=>({..._0x31a1a5,'label':_0x53e01d['t'](_0x31a1a5['label'])})),'onChange':_0x3fd38e=>_0x36a87a[_0x194025(0x264)]({'tick':{'position':_0x3fd38e}})}),_0xb12f60(_0x4491c2,{'label':_0x53e01d['t']('boards-chart-ui.field.tickLength'),'value':String((_0xaa668b=_0x5976f1==null?void 0x0:_0x5976f1[_0x194025(0x310)])==null?'':_0xaa668b),'options':[{'label':_0x53e01d['t']('boards-chart-ui.option.default'),'value':''},...Kn],'onChange':_0x5504cb=>_0x36a87a[_0x194025(0x264)]({'tick':{'length':_0x5504cb?Number(_0x5504cb):void 0x0}})})]}),_0x4f0e43(_0x32a930,{'children':[_0xb12f60(_0x4491c2,{'label':_0x53e01d['t'](_0x194025(0x405)),'value':String((_0x9271e2=_0x5976f1==null?void 0x0:_0x5976f1['lineWidth'])==null?'':_0x9271e2),'options':[{'label':_0x53e01d['t'](_0x194025(0x4f2)),'value':''},...qn],'onChange':_0xbd1361=>_0x36a87a[_0x194025(0x264)]({'tick':{'lineWidth':_0xbd1361?Number(_0xbd1361):void 0x0}})}),_0xb12f60(_0x5945f0,{'label':_0x53e01d['t'](_0x194025(0x477)),'value':_0x5976f1==null?void 0x0:_0x5976f1[_0x194025(0x47f)],'onChange':_0x530f0c=>_0x36a87a['onChange']({'tick':{'lineColor':_0x530f0c==null?void 0x0:_0x530f0c}})})]})]});}function Cr(_0x51fc92){const _0x5401ba=_0x763d2d;var _0x43acc6,_0x78020f,_0x266fe8,_0x372b5c,_0x31d13c,_0x5e6728,_0x1a9ba4,_0x12aec5,_0x4eb13d,_0x2a3568,_0x120f87,_0x24a42f,_0x2d8297,_0x2e2a92,_0x5573a1,_0xec1ee5,_0x5b3fe3,_0x2e335d,_0x1e46e0,_0x17f911,_0x42aa18,_0x451322,_0x2336bb,_0x154789,_0x5ab6b4;let _0x259019=_0x2b685c(_0x344124),_0x410275=(_0x43acc6=(_0x78020f=_0x51fc92[_0x5401ba(0x483)])==null?void 0x0:_0x78020f[_0x5401ba(0x3bf)])==null?{}:_0x43acc6,_0x2c6ca9=(_0x266fe8=(_0x372b5c=_0x51fc92[_0x5401ba(0x483)])==null?void 0x0:_0x372b5c['label'])==null?{}:_0x266fe8,_0x43ac27=(_0x31d13c=(_0x5e6728=_0x51fc92[_0x5401ba(0x483)])==null?void 0x0:_0x5e6728[_0x5401ba(0x459)])==null?{}:_0x31d13c,_0x1f3ed6=_0x51fc92[_0x5401ba(0x483)],_0x54cd29=!!(_0x51fc92['chartType']&&_0x50211b[_0x5401ba(0x1a2)](_0x51fc92[_0x5401ba(0x4b5)],_0x165125[_0x5401ba(0x2b4)])),[_0x10fc3c,_0x143ccc]=_0x3b09b5(''),_0x2dc00e=_0x10fc3c===''?void 0x0:Number(_0x10fc3c),_0x4d07bc=_0x2dc00e===void 0x0||(_0x1a9ba4=_0x51fc92['currentStyle'])==null||(_0x1a9ba4=_0x1a9ba4[_0x5401ba(0x31a)])==null?void 0x0:_0x1a9ba4[_0x2dc00e];return _0x4f0e43('div',{'className':_0x5401ba(0x1c3),'children':[_0x54cd29&&!_0x51fc92[_0x5401ba(0x4b0)]&&_0xb12f60(_0x4491c2,{'label':_0x259019['t'](_0x5401ba(0x291)),'value':String((_0x12aec5=(_0x4eb13d=_0x51fc92[_0x5401ba(0x483)])==null?void 0x0:_0x4eb13d['chartType'])==null?_0x165125[_0x5401ba(0x381)]:_0x12aec5),'options':ur[_0x5401ba(0x4e0)](_0x434a69=>({..._0x434a69,'label':_0x259019['t'](_0x434a69[_0x5401ba(0x410)])})),'onChange':_0x59028a=>_0x51fc92[_0x5401ba(0x264)]({'chartType':Number(_0x59028a)})}),_0x4f0e43(_0x32a930,{'children':[_0xb12f60(_0x5945f0,{'label':_0x259019['t']('boards-chart-ui.field.fill'),'value':(_0x2a3568=(_0x120f87=_0x51fc92[_0x5401ba(0x483)])==null?void 0x0:_0x120f87['color'])==null?(_0x24a42f=_0x51fc92[_0x5401ba(0x256)])==null?void 0x0:_0x24a42f[_0x5401ba(0x355)]:_0x2a3568,'onChange':_0x139b1=>_0x51fc92['onChange']({'color':_0x139b1})}),_0xb12f60(_0x4491c2,{'label':_0x259019['t'](_0x5401ba(0x2e3)),'value':String((_0x2d8297=_0x1f3ed6==null?void 0x0:_0x1f3ed6[_0x5401ba(0x52d)])==null?0x1:_0x2d8297),'options':Wn,'onChange':_0xbacbfd=>_0x51fc92[_0x5401ba(0x264)]({'fillOpacity':Number(_0xbacbfd)})})]}),_0x4f0e43(_0x32a930,{'children':[_0xb12f60(_0x5945f0,{'label':_0x259019['t'](_0x5401ba(0x365)),'value':(_0x2e2a92=_0x410275[_0x5401ba(0x355)])==null?(_0x5573a1=_0x51fc92[_0x5401ba(0x256)])==null||(_0x5573a1=_0x5573a1[_0x5401ba(0x3bf)])==null?void 0x0:_0x5573a1[_0x5401ba(0x355)]:_0x2e2a92,'onChange':_0x3c410c=>_0x51fc92[_0x5401ba(0x264)]({'border':{'color':_0x3c410c}})}),_0xb12f60(_0x4491c2,{'label':_0x259019['t']('boards-chart-ui.field.borderWidth'),'value':String((_0xec1ee5=_0x410275[_0x5401ba(0x45e)])==null?_0x4275ae['borderStyle'][_0x5401ba(0x45e)]:_0xec1ee5),'options':Gn,'onChange':_0x594351=>_0x51fc92[_0x5401ba(0x264)]({'border':{'width':Number(_0x594351)}})})]}),_0x4f0e43(_0x32a930,{'children':[_0xb12f60(_0x4491c2,{'label':_0x259019['t'](_0x5401ba(0x4d8)),'value':(_0x5b3fe3=_0x410275['dashType'])==null?_0x4275ae[_0x5401ba(0x408)][_0x5401ba(0x464)]:_0x5b3fe3,'options':Yn['map'](_0x23180a=>({..._0x23180a,'label':_0x259019['t'](_0x23180a[_0x5401ba(0x410)])})),'onChange':_0x19c43c=>_0x51fc92['onChange']({'border':{'dashType':_0x19c43c}})}),_0xb12f60(_0x4491c2,{'label':_0x259019['t'](_0x5401ba(0x529)),'value':String((_0x2e335d=_0x410275[_0x5401ba(0x34a)])==null?_0x4275ae[_0x5401ba(0x408)][_0x5401ba(0x34a)]:_0x2e335d),'options':Wn,'onChange':_0xc2240c=>_0x51fc92[_0x5401ba(0x264)]({'border':{'opacity':Number(_0xc2240c)}})})]}),_0x4f0e43(_0x32a930,{'children':[_0xb12f60(_0x4491c2,{'label':_0x259019['t']('boards-chart-ui.field.pointShape'),'value':(_0x1e46e0=_0x43ac27[_0x5401ba(0x2ef)])==null?_0x4275ae[_0x5401ba(0x459)]['shape']:_0x1e46e0,'options':Xn[_0x5401ba(0x4e0)](_0x45be02=>({..._0x45be02,'label':_0x259019['t'](_0x45be02[_0x5401ba(0x410)])})),'onChange':_0x114844=>_0x51fc92[_0x5401ba(0x264)]({'point':{'shape':_0x114844}})}),_0xb12f60(_0x4491c2,{'label':_0x259019['t']('boards-chart-ui.field.pointSize'),'value':String((_0x17f911=_0x43ac27[_0x5401ba(0x47b)])==null?_0x4275ae['point']['size']:_0x17f911),'options':Zn,'onChange':_0x5d0ec5=>_0x51fc92['onChange']({'point':{'size':Number(_0x5d0ec5)}})})]}),_0xb12f60(_0x5945f0,{'label':_0x259019['t']('boards-chart-ui.field.pointColor'),'value':_0x43ac27[_0x5401ba(0x355)],'onChange':_0xb3d7c4=>_0x51fc92[_0x5401ba(0x264)]({'point':{'color':_0xb3d7c4}})}),_0xb12f60(_0x3dfacb,{'checked':(_0x42aa18=(_0x451322=_0x51fc92[_0x5401ba(0x483)])==null?void 0x0:_0x451322[_0x5401ba(0x27d)])!=null&&_0x42aa18,'onChange':_0x144435=>_0x51fc92['onChange']({'rightYAxis':!!_0x144435}),'children':_0x259019['t'](_0x5401ba(0x30a))}),_0xb12f60(br,{'chartType':_0x51fc92[_0x5401ba(0x4b5)],'labelStyle':_0x2c6ca9,'onChange':_0x6280fa=>_0x51fc92[_0x5401ba(0x264)]({'label':_0x6280fa})}),!_0x51fc92[_0x5401ba(0x4b0)]&&_0x51fc92[_0x5401ba(0x474)]&&_0x51fc92[_0x5401ba(0x474)]['length']>0x0&&_0x4f0e43(_0x5401ba(0x290),{'className':_0x5401ba(0x1c8),'children':[_0xb12f60(_0x4491c2,{'label':_0x259019['t'](_0x5401ba(0x19b)),'value':_0x10fc3c,'options':[{'label':_0x259019['t']('boards-chart-ui.field.selectDataPoint'),'value':''},..._0x51fc92['dataPointsOptions']],'onChange':_0x531530=>{const _0x430ce1=_0x5401ba;var _0x2374c2;_0x143ccc(_0x531530),_0x531530!==''&&!((_0x2374c2=_0x51fc92[_0x430ce1(0x483)])!=null&&(_0x2374c2=_0x2374c2[_0x430ce1(0x31a)])!=null&&_0x2374c2[Number(_0x531530)])&&_0x51fc92['onChange']({'dataPoints':{[Number(_0x531530)]:{}}});}}),_0x2dc00e!==void 0x0&&_0x4f0e43(_0x59b24f,{'children':[_0x4f0e43(_0x32a930,{'children':[_0xb12f60(_0x5945f0,{'label':_0x259019['t'](_0x5401ba(0x4c4)),'value':_0x4d07bc==null?void 0x0:_0x4d07bc[_0x5401ba(0x355)],'onChange':_0x3317e1=>_0x51fc92[_0x5401ba(0x264)]({'dataPoints':{[_0x2dc00e]:{'color':_0x3317e1}}})}),_0xb12f60(_0x4491c2,{'label':_0x259019['t'](_0x5401ba(0x262)),'value':String((_0x2336bb=_0x4d07bc==null?void 0x0:_0x4d07bc['fillOpacity'])==null?0x1:_0x2336bb),'options':Wn,'onChange':_0x111fcc=>_0x51fc92['onChange']({'dataPoints':{[_0x2dc00e]:{'fillOpacity':Number(_0x111fcc)}}})})]}),_0x4f0e43(_0x32a930,{'children':[_0xb12f60(_0x4491c2,{'label':_0x259019['t'](_0x5401ba(0x215)),'value':(_0x154789=_0x4d07bc==null?void 0x0:_0x4d07bc[_0x5401ba(0x2ef)])==null?_0x4275ae[_0x5401ba(0x459)]['shape']:_0x154789,'options':Xn[_0x5401ba(0x4e0)](_0x98e754=>({..._0x98e754,'label':_0x259019['t'](_0x98e754[_0x5401ba(0x410)])})),'onChange':_0x21affd=>_0x51fc92[_0x5401ba(0x264)]({'dataPoints':{[_0x2dc00e]:{'shape':_0x21affd}}})}),_0xb12f60(_0x4491c2,{'label':_0x259019['t'](_0x5401ba(0x3a8)),'value':String((_0x5ab6b4=_0x4d07bc==null?void 0x0:_0x4d07bc[_0x5401ba(0x47b)])==null?_0x4275ae[_0x5401ba(0x459)][_0x5401ba(0x47b)]:_0x5ab6b4),'options':Zn,'onChange':_0x40e876=>_0x51fc92['onChange']({'dataPoints':{[_0x2dc00e]:{'size':Number(_0x40e876)}}})})]})]})]})]});}function wr(_0x51ae2f){const _0x55439e=_0x763d2d;var _0x4892fd,_0x52c511,_0x5a385f,_0x5e4853,_0x50039a,_0x3d4d2c,_0x245530,_0x54e809,_0x1384b1,_0x5682f1;let _0x5cb968=_0x2b685c(_0x344124),_0x167ccf=(_0x4892fd=_0x51ae2f[_0x55439e(0x25a)])==null?_0x98cc[_0x55439e(0x50c)]:_0x4892fd;return _0x4f0e43(_0x55439e(0x290),{'className':_0x55439e(0x1c3),'children':[_0xb12f60(_0x4491c2,{'label':_0x5cb968['t'](_0x55439e(0x4c7)),'value':(_0x52c511=_0x51ae2f[_0x55439e(0x27f)])==null?_0x4275ae[_0x55439e(0x513)]['nodeShape']:_0x52c511,'options':Xn[_0x55439e(0x4e0)](_0x33af96=>({..._0x33af96,'label':_0x5cb968['t'](_0x33af96[_0x55439e(0x410)])})),'onChange':_0x51ae2f[_0x55439e(0x4ae)]}),_0xb12f60(_0x3dfacb,{'checked':(_0x5a385f=_0x51ae2f[_0x55439e(0x1fe)])==null||_0x5a385f,'onChange':_0x12394b=>_0x51ae2f['onUseValueAsSymbolSizeChange'](!!_0x12394b),'children':_0x5cb968['t'](_0x55439e(0x348))}),_0xb12f60(_0x3dfacb,{'checked':(_0x5e4853=_0x51ae2f[_0x55439e(0x1e3)])==null||_0x5e4853,'onChange':_0x45a057=>_0x51ae2f[_0x55439e(0x1a1)](!!_0x45a057),'children':_0x5cb968['t']('boards-chart-ui.control.emphasisOnHover')}),_0xb12f60(_0x4491c2,{'label':_0x5cb968['t'](_0x55439e(0x221)),'value':_0x167ccf,'options':lr['map'](_0x493c76=>({..._0x493c76,'label':_0x5cb968['t'](_0x493c76['label'])})),'onChange':_0x51ae2f[_0x55439e(0x418)]}),_0x167ccf===_0x98cc['Force']&&_0x4f0e43(_0x59b24f,{'children':[_0x4f0e43(_0x32a930,{'children':[_0xb12f60(_0x16acd0,{'label':_0x5cb968['t'](_0x55439e(0x48b)),'value':(_0x50039a=(_0x3d4d2c=_0x51ae2f[_0x55439e(0x427)])==null?void 0x0:_0x3d4d2c['repulsion'])==null?_0x4275ae[_0x55439e(0x513)][_0x55439e(0x322)][_0x55439e(0x1a8)]:_0x50039a,'onChange':_0x3eca78=>_0x51ae2f[_0x55439e(0x362)]({'repulsion':_0x3eca78})}),_0xb12f60(_0x16acd0,{'label':_0x5cb968['t']('boards-chart-ui.field.gravity'),'value':(_0x245530=(_0x54e809=_0x51ae2f[_0x55439e(0x427)])==null?void 0x0:_0x54e809[_0x55439e(0x33f)])==null?_0x4275ae[_0x55439e(0x513)][_0x55439e(0x322)][_0x55439e(0x33f)]:_0x245530,'onChange':_0x2b2552=>_0x51ae2f[_0x55439e(0x362)]({'gravity':_0x2b2552})})]}),_0xb12f60(_0x16acd0,{'label':_0x5cb968['t']('boards-chart-ui.field.edgeLength'),'min':0x0,'step':0xa,'value':(_0x1384b1=_0x51ae2f[_0x55439e(0x427)])==null?void 0x0:_0x1384b1[_0x55439e(0x23e)],'onChange':_0x568d32=>_0x51ae2f[_0x55439e(0x362)]({'edgeLength':_0x568d32})})]}),_0x167ccf===_0x98cc[_0x55439e(0x278)]&&_0xb12f60(_0x3dfacb,{'checked':(_0x5682f1=_0x51ae2f[_0x55439e(0x1ce)])==null?_0x4275ae[_0x55439e(0x513)]['circular'][_0x55439e(0x1ce)]:_0x5682f1,'onChange':_0x149bda=>_0x51ae2f[_0x55439e(0x27e)](!!_0x149bda),'children':_0x5cb968['t'](_0x55439e(0x428))})]});}function Tr(_0x3c761f){const _0x51c65e=_0x763d2d;var _0x2eb8af,_0x5ba6b6,_0x100d5e,_0x32ea6d,_0x42850d,_0x3e36e6,_0x1752be,_0x14ace8,_0x218d34;let _0x1c00a9=_0x2b685c(_0x344124),[_0x184094,_0x63c042]=_0x3b09b5(0x0),_0x166807=Math[_0x51c65e(0x368)](_0x184094,_0x3c761f[_0x51c65e(0x280)][_0x51c65e(0x310)]-0x1),_0x53b161=_0x3c761f[_0x51c65e(0x280)][_0x166807];if(!_0x53b161)return null;let _0x3fe5c3=_0x342801=>{const _0x590a1a=_0x51c65e;let _0x1ddc67=[..._0x3c761f[_0x590a1a(0x280)]];_0x1ddc67[_0x166807]={..._0x1ddc67[_0x166807],..._0x342801},_0x3c761f['onChange'](_0x1ddc67);};return _0x4f0e43(_0x51c65e(0x290),{'className':'univer-flex\x20univer-flex-col\x20univer-gap-3','children':[_0xb12f60(_0x4491c2,{'label':_0x1c00a9['t']('boards-chart-ui.trendline'),'value':String(_0x166807),'options':_0x3c761f[_0x51c65e(0x280)][_0x51c65e(0x4e0)]((_0x2209db,_0x2b6c22)=>({'label':_0x2209db[_0x51c65e(0x419)]||_0x1c00a9['t'](_0x51c65e(0x4cc),''+(_0x2b6c22+0x1)),'value':String(_0x2b6c22)})),'onChange':_0x2a83a7=>_0x63c042(Number(_0x2a83a7))}),_0xb12f60(_0xec0325,{'label':_0x1c00a9['t'](_0x51c65e(0x193)),'value':(_0x2eb8af=_0x53b161[_0x51c65e(0x419)])==null?'':_0x2eb8af,'onChange':_0x4bdda5=>_0x3fe5c3({'name':_0x4bdda5})}),_0xb12f60(_0x4491c2,{'label':_0x1c00a9['t'](_0x51c65e(0x373)),'value':(_0x5ba6b6=_0x53b161[_0x51c65e(0x304)])==null?_0x502ea5['linear']:_0x5ba6b6,'options':dr[_0x51c65e(0x4e0)](_0x47150b=>({..._0x47150b,'label':_0x1c00a9['t'](_0x47150b['label'])})),'onChange':_0x6e2587=>_0x3fe5c3({'type':_0x6e2587})}),_0x4f0e43(_0x32a930,{'children':[_0xb12f60(_0x3dfacb,{'checked':(_0x100d5e=_0x53b161[_0x51c65e(0x33e)])==null?_0x4275ae[_0x51c65e(0x3f3)]['showFormula']:_0x100d5e,'onChange':_0x4adeb2=>_0x3fe5c3({'showFormula':!!_0x4adeb2}),'children':_0x1c00a9['t']('boards-chart-ui.control.showFormula')}),_0xb12f60(_0x3dfacb,{'checked':(_0x32ea6d=_0x53b161[_0x51c65e(0x19c)])==null?_0x4275ae[_0x51c65e(0x3f3)]['showR2']:_0x32ea6d,'onChange':_0x3c0a81=>_0x3fe5c3({'showR2':!!_0x3c0a81}),'children':_0x1c00a9['t'](_0x51c65e(0x1c9))})]}),_0x53b161[_0x51c65e(0x304)]===_0x502ea5[_0x51c65e(0x325)]&&_0xb12f60(_0x4491c2,{'label':_0x1c00a9['t']('boards-chart-ui.field.order'),'value':String((_0x42850d=_0x53b161[_0x51c65e(0x32e)])==null?_0x4275ae[_0x51c65e(0x3f3)][_0x51c65e(0x32e)]:_0x42850d),'options':fr,'onChange':_0x4c8995=>_0x3fe5c3({'order':Number(_0x4c8995)})}),_0x53b161[_0x51c65e(0x304)]===_0x502ea5[_0x51c65e(0x476)]&&_0xb12f60(_0x16acd0,{'label':_0x1c00a9['t'](_0x51c65e(0x297)),'min':0x1,'value':(_0x3e36e6=_0x53b161[_0x51c65e(0x2fd)])==null?_0x4275ae[_0x51c65e(0x3f3)][_0x51c65e(0x2fd)]:_0x3e36e6,'onChange':_0x458db6=>_0x3fe5c3({'period':Math[_0x51c65e(0x3d5)](_0x458db6==null?_0x4275ae['trendline']['period']:_0x458db6)})}),_0x4f0e43(_0x32a930,{'children':[_0xb12f60(_0x5945f0,{'label':_0x1c00a9['t']('boards-chart-ui.field.lineColor'),'value':_0x53b161[_0x51c65e(0x355)],'onChange':_0x115f0d=>_0x3fe5c3({'color':_0x115f0d==null?void 0x0:_0x115f0d})}),_0xb12f60(_0x4491c2,{'label':_0x1c00a9['t'](_0x51c65e(0x4df)),'value':String((_0x1752be=_0x53b161['opacity'])==null?_0x4275ae['trendline'][_0x51c65e(0x34a)]:_0x1752be),'options':Wn,'onChange':_0x5d6713=>_0x3fe5c3({'opacity':Number(_0x5d6713)})})]}),_0x4f0e43(_0x32a930,{'children':[_0xb12f60(_0x4491c2,{'label':_0x1c00a9['t'](_0x51c65e(0x41d)),'value':(_0x14ace8=_0x53b161[_0x51c65e(0x464)])==null?_0x4275ae[_0x51c65e(0x3f3)]['dashType']:_0x14ace8,'options':Yn[_0x51c65e(0x4e0)](_0x231079=>({..._0x231079,'label':_0x1c00a9['t'](_0x231079[_0x51c65e(0x410)])})),'onChange':_0x3751e6=>_0x3fe5c3({'dashType':_0x3751e6})}),_0xb12f60(_0x4491c2,{'label':_0x1c00a9['t'](_0x51c65e(0x31b)),'value':String((_0x218d34=_0x53b161[_0x51c65e(0x45e)])==null?_0x4275ae[_0x51c65e(0x3f3)][_0x51c65e(0x45e)]:_0x218d34),'options':Gn[_0x51c65e(0x4ee)](_0x2c5eb1=>_0x2c5eb1['value']!=='0'),'onChange':_0x3625ff=>_0x3fe5c3({'width':Number(_0x3625ff)})})]}),_0x53b161[_0x51c65e(0x304)]!==_0x502ea5[_0x51c65e(0x476)]&&_0x4f0e43(_0x32a930,{'children':[_0x53b161[_0x51c65e(0x33e)]&&_0xb12f60(_0x5945f0,{'label':_0x1c00a9['t'](_0x51c65e(0x29e)),'value':_0x53b161[_0x51c65e(0x3fb)],'onChange':_0x2e0bc5=>_0x3fe5c3({'formulaColor':_0x2e0bc5==null?void 0x0:_0x2e0bc5})}),_0x53b161[_0x51c65e(0x19c)]&&_0xb12f60(_0x5945f0,{'label':_0x1c00a9['t'](_0x51c65e(0x1fb)),'value':_0x53b161[_0x51c65e(0x37d)],'onChange':_0x5d4a12=>_0x3fe5c3({'r2Color':_0x5d4a12==null?void 0x0:_0x5d4a12})})]})]});}function Er(_0x5a6278){const _0x1cf4a6=_0x763d2d;var _0x4d5026;return(_0x4d5026=_0x5a6278==null?void 0x0:_0x5a6278[_0x1cf4a6(0x1c4)]((_0x138efe,_0xc5a42c)=>(_0x138efe[_0xc5a42c['position']]=_0xc5a42c,_0x138efe),{}))==null?{}:_0x4d5026;}function Dr(_0x311ed5){const _0x381f81=_0x763d2d;var _0x5f48fb,_0x34e4f7,_0x354a87;let _0x5b6076=_0x2b685c(_0x52efc0),_0x4906d3=_0x2b685c(yn),_0xc3f036=_0x2b685c(_0x344124),_0x83659c=_0x5b6076[_0x381f81(0x3d6)](),[_0x500967,_0x3eeb44]=$(_0x381f81(0x4b5),_0x165125[_0x381f81(0x381)]),[_0x56045c,_0x25f565]=$(_0x381f81(0x475)),[_0x26c956,_0xa49198]=$('gradientFill'),[_0xa6e967,_0x451292]=$('stackType'),[_0x199c37,_0x54a313]=$(_0x381f81(0x2e5)),[_0x49d1e5]=$(_0x381f81(0x48d)),[_0x3ffdd4]=$(_0x381f81(0x524),[]),[_0x246b13]=$(_0x381f81(0x2a8),[]),[_0x210a71,_0x86a421]=$(_0x381f81(0x379),[]),[_0x4bf3ae]=$(_0x381f81(0x3ae),[]),[_0x59a3d1]=$(_0x381f81(0x289),[]),[_0x4aa958,_0x49fc0d]=$(_0x381f81(0x44f)),[_0x2bbd6b,_0x7ef076]=$('waterfallStack'),[_0x54a199,_0x37dcf8]=$(_0x381f81(0x234)),[_0x49cef0,_0x4cab26]=$(_0x3434f7[_0x381f81(0x442)]),[_0x28404c,_0x543d0d]=$(_0x3434f7['ScatterXIndex']),[_0xe57110,_0x421b8b]=$(_0x3434f7['ScatterYIndex']),[_0xa0a316,_0x1fcaeb]=$(_0x3434f7[_0x381f81(0x4b3)]),[_0x3c1703,_0x2b8884]=$(_0x3434f7['BubbleSizeIndex']),_0x4a8338=_0x236c68(()=>_0x5ad802(_n[_0x381f81(0x4e0)](_0x38f55d=>({..._0x38f55d,'label':_0xc3f036['t'](_0x38f55d[_0x381f81(0x410)])}))),[_0xc3f036]),_0x354ade=_0x236c68(()=>_0x157c70(_0x83659c,_0x1b8e6a=>_0x5b6076[_0x381f81(0x320)](_0x1b8e6a)),[_0x5b6076,_0x83659c]),_0xbe6005=mr(_0x500967),_0x2d7318=hr(_0x500967),_0x291519=!!(_0x500967&&_0x50211b[_0x381f81(0x1a2)](_0x500967,_0x165125[_0x381f81(0x333)])),_0x4309d3=_r(_0x500967)&&!_0x291519,_0x25ac2f=_0x844654(_0x500967),_0x4cc36d=!gr(_0x500967)||_0x210a71['length']<0x1,_0x3cc709=_0x56045c||_0x83659c[0x0]||'',_0x24fc53=_0x26c956==null?!!(_0x500967&&_0x50211b[_0x381f81(0x1a2)](_0x500967,_0x165125[_0x381f81(0x47a)])):_0x26c956,_0x3833c5=_0xc1f9f0=>{const _0x2ebb08=_0x381f81;_0x86a421(_0x210a71[_0x2ebb08(0x4ee)]((_0x5b9d00,_0x2b0715)=>_0x2b0715!==_0xc1f9f0));};return _0x4f0e43(_0x381f81(0x290),{'className':_0x381f81(0x4aa),'children':[_0xb12f60(_0xa7fbc6,{'title':_0xc3f036['t'](_0x381f81(0x337))}),_0xb12f60(_0x40700c,{'aria-label':_0xc3f036['t']('boards-chart-ui.chartType'),'className':_0x381f81(0x4da),'value':String(_0x500967),'options':_0x4a8338,'onChange':_0x216078=>_0x3eeb44(Number(_0x216078))}),_0xb12f60(_0xa7fbc6,{'title':_0xc3f036['t']('boards-chart-ui.themes')}),_0xb12f60(_0x40700c,{'aria-label':_0xc3f036['t'](_0x381f81(0x361)),'className':_0x381f81(0x4da),'value':_0x3cc709,'options':_0x354ade,'onChange':_0x210333=>_0x25f565(_0x210333||void 0x0)}),_0x2d7318&&_0xb12f60(_0x381f81(0x290),{'className':_0x381f81(0x48e),'children':_0xb12f60(_0x3dfacb,{'checked':_0x24fc53,'onChange':_0x1fd3b8=>_0xa49198(!!_0x1fd3b8),'children':_0xc3f036['t'](_0x381f81(0x2d2))})}),_0xbe6005&&_0x4f0e43(_0x59b24f,{'children':[_0xb12f60(_0xa7fbc6,{'title':_0xc3f036['t']('boards-chart-ui.stack')}),_0xb12f60(_0x40700c,{'aria-label':_0xc3f036['t'](_0x381f81(0x231)),'className':_0x381f81(0x4da),'value':_0xa6e967||'','options':Rn['map'](_0x475555=>({..._0x475555,'label':_0xc3f036['t'](_0x475555[_0x381f81(0x410)])})),'onChange':_0x156ee0=>_0x451292(_0x156ee0||'')})]}),_0xb12f60(_0xa7fbc6,{'title':_0xc3f036['t'](_0x381f81(0x1b0))}),_0xb12f60(_0x526b7a,{'type':_0x381f81(0x18c),'variant':'default','className':_0x381f81(0x422),'onClick':_0x311ed5[_0x381f81(0x3fe)],'children':_0xc3f036['t'](_0x381f81(0x4b1))}),_0x291519&&_0x4f0e43(_0x59b24f,{'children':[_0xb12f60(_0xa7fbc6,{'title':_0xc3f036['t'](_0x381f81(0x521))}),_0x4f0e43(_0x381f81(0x290),{'className':_0x381f81(0x1c3),'children':[_0xb12f60(_0x4491c2,{'label':_0xc3f036['t']('boards-chart-ui.field.label'),'value':typeof _0x49cef0==_0x381f81(0x502)?String(_0x49cef0):'','options':_0x246b13,'onChange':_0x232da5=>_0x4cab26(_0x232da5===''?void 0x0:Number(_0x232da5))}),_0x4f0e43(_0x32a930,{'children':[_0xb12f60(_0x4491c2,{'label':_0xc3f036['t'](_0x381f81(0x1be)),'value':_0x28404c===void 0x0?(_0x5f48fb=_0x4bf3ae[_0xf313f7['X']])==null?void 0x0:_0x5f48fb[_0x381f81(0x41c)]:String(_0x28404c),'options':_0x4bf3ae,'onChange':_0x117461=>_0x543d0d(_0x117461===''?void 0x0:Number(_0x117461))}),_0xb12f60(_0x4491c2,{'label':_0xc3f036['t'](_0x381f81(0x43d)),'value':_0xe57110===void 0x0?(_0x34e4f7=_0x4bf3ae[_0xf313f7['Y']])==null?void 0x0:_0x34e4f7['value']:String(_0xe57110),'options':_0x4bf3ae,'onChange':_0x44f8d4=>_0x421b8b(_0x44f8d4===''?void 0x0:Number(_0x44f8d4))})]}),_0xb12f60(_0x4491c2,{'label':_0xc3f036['t']('boards-chart-ui.series'),'value':_0xa0a316===void 0x0?'':String(_0xa0a316),'options':_0x246b13,'onChange':_0x44c147=>_0x1fcaeb(_0x44c147===''?void 0x0:Number(_0x44c147))}),_0xb12f60(_0x4491c2,{'label':_0xc3f036['t']('boards-chart-ui.field.size'),'value':_0x3c1703===void 0x0?(_0x354a87=_0x4bf3ae[_0xf313f7[_0x381f81(0x2a3)]])==null?void 0x0:_0x354a87[_0x381f81(0x41c)]:String(_0x3c1703),'options':_0x59a3d1,'onChange':_0x52d6ff=>_0x2b8884(_0x52d6ff===''?void 0x0:Number(_0x52d6ff))})]})]}),_0x25ac2f!==_0x381f81(0x208)&&_0xb12f60(_0x381f81(0x290),{'className':_0x381f81(0x3d4),'children':_0xb12f60(_0x581322,{'chartType':_0x500967,'context':{'candlestick':_0x49d1e5,'categoryIndex':_0x199c37,'hierarchyIndexes':_0x3ffdd4,'seriesIndexes':_0x210a71},'fields':_0x246b13,'labels':{'candlestick':{'category':_0xc3f036['t'](_0x381f81(0x266)),'close':_0xc3f036['t'](_0x381f81(0x450)),'high':_0xc3f036['t'](_0x381f81(0x52f)),'low':_0xc3f036['t'](_0x381f81(0x4d0)),'open':_0xc3f036['t'](_0x381f81(0x454))},'histogramValue':_0xc3f036['t'](_0x381f81(0x43b)),'treemapHierarchy':_0xc3f036['t'](_0x381f81(0x43e)),'treemapValue':_0xc3f036['t'](_0x381f81(0x1cb))},'onChange':_0x1192d6=>_0x4906d3[_0x381f81(0x369)]({'context':_0x1192d6})})}),_0x4309d3&&_0x25ac2f===_0x381f81(0x208)&&_0x4f0e43(_0x59b24f,{'children':[_0xb12f60(_0xa7fbc6,{'title':_0xc3f036['t'](_0x381f81(0x387))}),_0xb12f60(_0x40700c,{'aria-label':_0xc3f036['t'](_0x381f81(0x387)),'className':'univer-w-full\x20!univer-min-w-0','value':typeof _0x199c37==_0x381f81(0x502)?String(_0x199c37):'','options':_0x246b13,'onChange':_0x3f6b8e=>_0x54a313(Number(_0x3f6b8e))}),_0xb12f60(_0xa7fbc6,{'title':_0xc3f036['t']('boards-chart-ui.series')}),_0x4f0e43(_0x381f81(0x290),{'className':_0x381f81(0x21b),'children':[_0x210a71['map']((_0x58d86a,_0x39b12a)=>_0x4f0e43(_0x381f81(0x290),{'className':'univer-mb-2\x20univer-flex\x20univer-items-center','children':[_0xb12f60(_0x40700c,{'aria-label':_0xc3f036['t'](_0x381f81(0x45b))+'\x20'+(_0x39b12a+0x1),'className':_0x381f81(0x4da),'value':String(_0x58d86a),'options':_0x4bf3ae,'onChange':_0x84930d=>{let _0x36b829=_0x210a71['slice']();_0x36b829[_0x39b12a]=Number(_0x84930d),_0x86a421(_0x36b829);}}),_0xb12f60(_0x526b7a,{'aria-label':_0xc3f036['t'](_0x381f81(0x4cf),''+(_0x39b12a+0x1)),'className':_0x381f81(0x2a5),'size':_0x381f81(0x392),'variant':_0x381f81(0x18a),'onClick':()=>_0x3833c5(_0x39b12a),'children':_0xb12f60(_0x5382b2,{'aria-hidden':_0x381f81(0x3b6)})})]},_0x58d86a+'-'+_0x39b12a)),_0x4cc36d&&_0x4bf3ae['length']>0x0&&_0xb12f60(_0x4695e3,{'className':_0x381f81(0x1ee),'items':_0x4bf3ae['map'](_0x34d02e=>({'type':_0x381f81(0x306),'children':_0x34d02e[_0x381f81(0x410)],'onSelect':()=>_0x86a421([..._0x210a71,Number(_0x34d02e[_0x381f81(0x41c)])])})),'children':_0x4f0e43(_0x381f81(0x18c),{'className':_0x381f81(0x267),'type':_0x381f81(0x18c),'children':[_0xb12f60(_0x31684b,{'className':'univer-text-xs'}),_0xb12f60(_0x381f81(0x194),{'className':_0x381f81(0x3ed),'children':_0xc3f036['t'](_0x381f81(0x270))})]})})]}),_0xb12f60(_0x526b7a,{'className':_0x381f81(0x1a3),'size':'small','onClick':()=>_0x49fc0d(_0x4aa958===_0x27a1dd[_0x381f81(0x505)]?_0x27a1dd[_0x381f81(0x381)]:_0x27a1dd['Row']),'children':_0xc3f036['t'](_0x381f81(0x352))})]}),_0x500967&&_0x50211b[_0x381f81(0x1a2)](_0x500967,_0x165125[_0x381f81(0x1cd)])&&_0x4f0e43(_0x59b24f,{'children':[_0xb12f60(_0xa7fbc6,{'title':_0xc3f036['t'](_0x381f81(0x26c))}),_0xb12f60(_0x40700c,{'aria-label':_0xc3f036['t'](_0x381f81(0x27a)),'className':_0x381f81(0x4da),'value':_0x2bbd6b==null?_0x638ec8[_0x381f81(0x2a0)]:_0x2bbd6b,'options':Vn[_0x381f81(0x4e0)](_0x52076b=>({..._0x52076b,'label':_0xc3f036['t'](_0x52076b['label'])})),'onChange':_0x2cdc75=>_0x7ef076(_0x2cdc75)}),_0xb12f60(_0x381f81(0x290),{'className':_0x381f81(0x48e),'children':_0xb12f60(_0x3dfacb,{'checked':_0x54a199!=null&&_0x54a199,'onChange':_0x194b19=>_0x37dcf8(!!_0x194b19),'children':_0xc3f036['t'](_0x381f81(0x3e8))})})]})]});}function Or(){const _0x577eb3=_0x763d2d;var _0x4c6ef5,_0x2fe575,_0x301b01,_0x4d7577,_0x279c9f,_0x4ea67f,_0x3156e8;let _0x5eddc9=_0x2b685c(_0x344124),[_0x369385]=$('chartType'),[_0x4493c0,_0xb0791e]=$(_0x577eb3(0x1fc)),[_0x99ec9e,_0x4f62c3]=$(_0x577eb3(0x471)),[_0x1bc042,_0x21ea95]=$(_0x577eb3(0x3d7)),[_0x46cdea,_0xac49ea]=$(_0x577eb3(0x3ac)),[_0xae1515,_0x2c3ae1]=$('titles'),[_0x1e2ae6,_0x43e2f9]=$('titlePosition'),[_0x4af83f,_0x53b1cb]=$('legendStyle'),[_0x100557,_0x30a6e8]=$(_0x577eb3(0x23b)),[_0x35c173,_0x16db48]=$(_0x577eb3(0x42c)),[_0xd3e715,_0x22e3b3]=$('yAxisOptions'),[_0x29ffd7,_0x5529e6]=$(_0x577eb3(0x4ea)),[_0x14315c]=$(_0x577eb3(0x298),[]),[_0x5efc40,_0x2235bd]=$(_0x577eb3(0x4f7)),[_0x3cf366,_0x49ebd9]=$(_0x577eb3(0x256)),[_0x4464d9,_0x3d0e50]=$(_0x577eb3(0x4ab)),[_0x17eb96]=$('seriesList',[]),[_0x15a488]=$(_0x577eb3(0x474),[]),[_0x4fb886,_0x24814c]=$(_0x577eb3(0x25d)),[_0x5bdd1f,_0x39b0eb]=$('paretoStyle'),[_0x38437f]=$(_0x577eb3(0x30b),[]),[_0x84702e,_0x4d5932]=$(_0x577eb3(0x3af)),[_0x567e82,_0x1a0d6c]=$('doughnutHole'),[_0xdc5f66,_0x4e04e4]=$('pieBorderColor'),[_0xa98d2c,_0x5e994a]=$(_0x577eb3(0x273)),[_0x42b364,_0x35593d]=$(_0x577eb3(0x512)),[_0x1021f3,_0x5e9eb8]=$(_0x577eb3(0x3dc)),[_0x3d16b8,_0x376589]=$(_0x577eb3(0x236)),[_0x59c41f,_0x5e8238]=$('showLabelLine'),[_0x26322d,_0xdb1b99]=$(_0x577eb3(0x3f2)),[_0x44318e,_0x4c61b1]=$(_0x577eb3(0x440)),[_0x116172,_0x33daaa]=$(_0x577eb3(0x246)),[_0x53a625,_0x40eecb]=$(_0x577eb3(0x1ab)),[_0x5ad238,_0x86afe5]=$(_0x577eb3(0x30d)),[_0x1c3f93,_0x598fdb]=$(_0x577eb3(0x4e1)),[_0x223e47,_0x43164f]=$(_0x577eb3(0x22d)),[_0x2acb43,_0x19bace]=$(_0x577eb3(0x234)),[_0x40c24a,_0x19e758]=$(_0x577eb3(0x3b4)),[_0x57dc27,_0x2776b8]=$('radarFill'),[_0x5812b1,_0x5c2f18]=$(_0x577eb3(0x3b8)),[_0x2127da,_0x2d75df]=$(_0x577eb3(0x37c)),[_0x1a2be9,_0x3e540b]=$(_0x577eb3(0x239)),[_0x3d5e56,_0x25cd11]=$(_0x577eb3(0x4b9)),[_0x5d9bb7,_0x2298bf]=$(_0x577eb3(0x243)),[_0x152b22,_0x47f970]=$(_0x577eb3(0x42e)),[_0x9f5814,_0x3e938b]=$(_0x577eb3(0x38a)),[_0x3fcb04,_0x37b7fc]=$(_0x577eb3(0x1fe)),[_0x42e963,_0xe44999]=$(_0x577eb3(0x427)),[_0x13e32d,_0x2b39fd]=$(_0x577eb3(0x1ce)),[_0x2a7e27,_0x317a52]=$(_0x577eb3(0x1e3)),[_0x48e2f5,_0x443302]=$(_0x577eb3(0x303)),[_0x2f12bf,_0x23d8a8]=_0x3b09b5(pr[_0x577eb3(0x41c)]),[_0x3f1287,_0xef02b2]=_0x3b09b5(_0x577eb3(0x3c8)),[_0x3d631a,_0x584e5e]=_0x3b09b5(_0x577eb3(0x374)),_0x17f24d=!!(_0x369385&&_0x50211b['baseOn'](_0x369385,_0x165125[_0x577eb3(0x311)])),_0x469836=gr(_0x369385),_0x2160fb=!!(_0x369385&&_0x50211b[_0x577eb3(0x1a2)](_0x369385,_0x165125[_0x577eb3(0x242)])),_0x55d40e=!!(_0x369385&&_0x50211b[_0x577eb3(0x1a2)](_0x369385,_0x165125[_0x577eb3(0x47c)])),_0x438743=!!(_0x369385&&_0x50211b['baseOn'](_0x369385,_0x165125[_0x577eb3(0x4b8)])),_0x1e7bc7=!!(_0x369385&&_0x5782a8(_0x369385)),_0x155f65=_0x236c68(()=>Er(_0x14315c),[_0x14315c]),_0x151f31=!!_0x155f65[_0x363434[_0x577eb3(0x35c)]],_0x4f55ab=_0x236c68(()=>tr[_0x577eb3(0x4ee)](_0x17d661=>!(_0x17d661[_0x577eb3(0x41c)]===_0x577eb3(0x35e)&&!_0x151f31||(_0x469836||_0x2160fb||_0x17f24d)&&_0x17d661['value']!==_0x577eb3(0x3c8)&&_0x17d661['value']!==_0x577eb3(0x1ef)))[_0x577eb3(0x4e0)](_0x4f4bc5=>({..._0x4f4bc5,'label':_0x5eddc9['t'](_0x4f4bc5[_0x577eb3(0x410)])})),[_0x151f31,_0x469836,_0x2160fb,_0x17f24d,_0x5eddc9]),_0x212205={'color':_0x4275ae[_0x577eb3(0x1ad)][_0x577eb3(0x355)],'fontSize':_0x3f1287===_0x577eb3(0x3c8)?_0x46cdea==null?_0x4275ae[_0x577eb3(0x1ad)][_0x577eb3(0x3ac)]:_0x46cdea:_0x1bc042==null?_0x4275ae[_0x577eb3(0x1ad)][_0x577eb3(0x3d7)]:_0x1bc042,...(_0x4c6ef5=_0xae1515==null?void 0x0:_0xae1515[_0x3f1287])==null?{}:_0x4c6ef5},_0x2bbf4d=_0x2f12bf===pr[_0x577eb3(0x41c)],_0x56884d=_0x236c68(()=>[{...pr,'label':_0x5eddc9['t']('boards-chart-ui.option.allSeries')},..._0x17eb96],[_0x5eddc9,_0x17eb96]),_0x22aaca=_0x2bbf4d?_0x3cf366:_0x4464d9==null?void 0x0:_0x4464d9[_0x2f12bf],_0x2cea8f=_0x236c68(()=>[{'label':_0x5eddc9['t'](_0x577eb3(0x2ec)),'value':'xAxis'},{'label':_0x5eddc9['t']('boards-chart-ui.verticalAxis'),'value':_0x577eb3(0x1b2)},..._0x151f31?[{'label':_0x5eddc9['t']('boards-chart-ui.rightVerticalAxis'),'value':_0x577eb3(0x27d)}]:[]],[_0x151f31,_0x5eddc9]),_0x423740=_0x3d631a===_0x577eb3(0x374)?_0x35c173:_0x3d631a==='rightYAxis'?_0x29ffd7:_0xd3e715,_0x283ab2=_0x3d631a===_0x577eb3(0x374)?_0x16db48:_0x3d631a==='rightYAxis'?_0x5529e6:_0x22e3b3,_0x29eb4b=_0x1cf87a=>{_0x2c3ae1({[_0x3f1287]:_0x1cf87a});},_0x2c3591=_0x5858a7=>{const _0x598b99=_0x577eb3;_0x3f1287==='xAxisTitle'&&_0x16db48({'label':{'axisTitleAlign':_0x5858a7}}),_0x3f1287===_0x598b99(0x338)&&_0x22e3b3({'label':{'axisTitleAlign':_0x5858a7}}),_0x3f1287===_0x598b99(0x35e)&&_0x5529e6({'label':{'axisTitleAlign':_0x5858a7}});},_0x35cf6c=()=>{const _0x1f1402=_0x577eb3;if(_0x3f1287===_0x1f1402(0x456)){var _0x344394;return _0x35c173==null||(_0x344394=_0x35c173[_0x1f1402(0x410)])==null?void 0x0:_0x344394[_0x1f1402(0x3b1)];}if(_0x3f1287===_0x1f1402(0x338)){var _0x3e3869;return _0xd3e715==null||(_0x3e3869=_0xd3e715[_0x1f1402(0x410)])==null?void 0x0:_0x3e3869[_0x1f1402(0x3b1)];}if(_0x3f1287===_0x1f1402(0x35e)){var _0x347d6f;return _0x29ffd7==null||(_0x347d6f=_0x29ffd7[_0x1f1402(0x410)])==null?void 0x0:_0x347d6f[_0x1f1402(0x3b1)];}},_0x2af4ea=_0x3de61a=>{if(_0x2bbf4d){_0x49ebd9(_0x3de61a);return;}_0x3d0e50({[_0x2f12bf]:_0x3de61a});},_0x472a4e=_0x4a3bdd=>{_0x5e994a({..._0xa98d2c,..._0x4a3bdd});},_0x179eac=(_0x8a59bf,_0x54f326)=>{_0x2af4ea({'waterfall':{[_0x8a59bf]:_0x54f326}});},_0x41e0f6=(_0x2fe575=_0x2bbf4d?_0x3cf366:_0x22aaca)==null?void 0x0:_0x2fe575[_0x577eb3(0x481)],_0x141322=(_0x2b8bb2,_0x4ab488)=>{const _0x1fecbc=_0x577eb3;var _0x3b8905,_0x711cd4,_0x277fbf,_0x260267;let _0x37575c=_0x41e0f6==null?void 0x0:_0x41e0f6[_0x2b8bb2];return _0x4f0e43('div',{'className':_0x1fecbc(0x1c8),'children':[_0xb12f60(_0x1fecbc(0x290),{'className':_0x1fecbc(0x2b5),'children':_0x4ab488}),_0xb12f60(_0xec0325,{'label':_0x5eddc9['t'](_0x1fecbc(0x1ea)),'value':(_0x3b8905=_0x37575c==null?void 0x0:_0x37575c[_0x1fecbc(0x419)])==null?'':_0x3b8905,'onChange':_0x1aafb1=>_0x179eac(_0x2b8bb2,{'name':_0x1aafb1})}),_0x4f0e43(_0x32a930,{'children':[_0xb12f60(_0x5945f0,{'label':_0x5eddc9['t'](_0x1fecbc(0x334)),'value':_0x37575c==null?void 0x0:_0x37575c[_0x1fecbc(0x355)],'onChange':_0x1aab12=>_0x179eac(_0x2b8bb2,{'color':_0x1aab12})}),_0xb12f60(_0x5945f0,{'label':_0x5eddc9['t'](_0x1fecbc(0x365)),'value':_0x37575c==null||(_0x711cd4=_0x37575c[_0x1fecbc(0x3bf)])==null?void 0x0:_0x711cd4[_0x1fecbc(0x355)],'onChange':_0x709ef=>_0x179eac(_0x2b8bb2,{'border':{'color':_0x709ef}})})]}),_0xb12f60(_0x4491c2,{'label':_0x5eddc9['t']('boards-chart-ui.field.borderWidth'),'value':String((_0x277fbf=_0x37575c==null||(_0x260267=_0x37575c[_0x1fecbc(0x3bf)])==null?void 0x0:_0x260267['width'])==null?0x0:_0x277fbf),'options':Gn,'onChange':_0x8fadfe=>_0x179eac(_0x2b8bb2,{'border':{'width':Number(_0x8fadfe)}})})]});},_0x16a598=vr(_0x369385);if(_0x151f31&&_0x16a598[_0x577eb3(0x36f)](_0x577eb3(0x353))&&!_0x16a598[_0x577eb3(0x36f)](_0x577eb3(0x421))&&_0x16a598[_0x577eb3(0x2c7)](_0x16a598['indexOf'](_0x577eb3(0x353))+0x1,0x0,_0x577eb3(0x421)),_0x1e7bc7&&_0x4fb886&&_0x4fb886[_0x577eb3(0x310)]>0x0&&!_0x16a598[_0x577eb3(0x36f)](_0x577eb3(0x3f3))){let _0x3ddf19=_0x16a598[_0x577eb3(0x3aa)]('indicatorLine');_0x16a598[_0x577eb3(0x2c7)](_0x3ddf19>=0x0?_0x3ddf19+0x1:_0x16a598['length'],0x0,'trendline');}let _0x57e4cc=[{'id':_0x577eb3(0x1ac),'label':_0x5eddc9['t'](_0x577eb3(0x1e4)),'children':_0x4f0e43('div',{'className':_0x577eb3(0x288),'children':[_0x4f0e43(_0x32a930,{'children':[_0xb12f60(_0x5945f0,{'label':_0x5eddc9['t'](_0x577eb3(0x334)),'value':_0x4493c0==null?_0x4275ae[_0x577eb3(0x1fc)]:_0x4493c0,'onChange':_0x364a74=>_0xb0791e(_0x364a74==null?void 0x0:_0x364a74)}),_0xb12f60(_0x5945f0,{'label':_0x5eddc9['t'](_0x577eb3(0x365)),'value':_0x99ec9e,'onChange':_0x4f62c3})]}),_0x4f0e43(_0x32a930,{'children':[_0xb12f60(_0x4491c2,{'label':_0x5eddc9['t'](_0x577eb3(0x1aa)),'value':String(_0x1bc042==null?_0x4275ae[_0x577eb3(0x1ad)]['fontSize']:_0x1bc042),'options':Un,'onChange':_0x680607=>_0x21ea95(Number(_0x680607))}),_0xb12f60(_0x4491c2,{'label':_0x5eddc9['t'](_0x577eb3(0x276)),'value':String(_0x46cdea==null?_0x4275ae[_0x577eb3(0x1ad)][_0x577eb3(0x3ac)]:_0x46cdea),'options':Un,'onChange':_0x5b0202=>_0xac49ea(Number(_0x5b0202))})]})]})},{'id':_0x577eb3(0x258),'label':_0x5eddc9['t'](_0x577eb3(0x3e6)),'children':_0x4f0e43(_0x577eb3(0x290),{'className':_0x577eb3(0x288),'children':[_0xb12f60(_0x4491c2,{'label':_0x5eddc9['t'](_0x577eb3(0x3ba)),'value':_0x3f1287,'options':_0x4f55ab,'onChange':_0x1a77df=>_0xef02b2(_0x1a77df)}),_0xb12f60(_0xec0325,{'label':_0x5eddc9['t'](_0x577eb3(0x467)),'value':(_0x301b01=_0x212205['content'])==null?'':_0x301b01,'onChange':_0x36d399=>_0x29eb4b({'content':_0x36d399})}),_0x3f1287===_0x577eb3(0x3c8)?_0xb12f60(_0x4491c2,{'label':_0x5eddc9['t'](_0x577eb3(0x426)),'value':_0x1e2ae6||_0x48b20d[_0x577eb3(0x283)],'options':Bn[_0x577eb3(0x4e0)](_0x2bbc5c=>({..._0x2bbc5c,'label':_0x5eddc9['t'](_0x2bbc5c[_0x577eb3(0x410)])})),'onChange':_0xd77cf2=>_0x43e2f9(_0xd77cf2)}):_0xb12f60(_0x4491c2,{'label':_0x5eddc9['t'](_0x577eb3(0x28b)),'value':(_0x4d7577=_0x35cf6c())==null?_0x40a8e4[_0x577eb3(0x3c9)]:_0x4d7577,'options':nr['map'](_0x413827=>({..._0x413827,'label':_0x5eddc9['t'](_0x413827[_0x577eb3(0x410)])})),'onChange':_0x45e8bc=>_0x2c3591(_0x45e8bc)}),_0xb12f60(_0x4fcc57,{'alignControl':_0x3f1287==='title','label':_0x5eddc9['t'](_0x577eb3(0x50e)),'value':_0x212205,'onChange':(_0x3ac532,_0x322775)=>_0x29eb4b({[_0x3ac532]:_0x322775})})]})},{'id':_0x577eb3(0x400),'label':_0x5eddc9['t'](_0x577eb3(0x45b)),'children':_0x4f0e43('div',{'className':_0x577eb3(0x288),'children':[_0xb12f60(_0x4491c2,{'label':_0x5eddc9['t'](_0x577eb3(0x45b)),'value':_0x2f12bf,'options':_0x56884d,'onChange':_0x23d8a8}),_0xb12f60(Cr,{'allSeriesStyle':_0x3cf366,'chartType':_0x369385,'currentStyle':_0x22aaca,'dataPointsOptions':_0x15a488,'isAllSeries':_0x2bbf4d,'onChange':_0x2af4ea}),_0x1e7bc7&&_0xb12f60('div',{'className':_0x577eb3(0x3df),'children':_0x5eddc9['t']('boards-chart-ui.content.trendlineUnavailable')})]})},{'id':_0x577eb3(0x481),'label':_0x5eddc9['t'](_0x577eb3(0x26c)),'children':_0x4f0e43(_0x577eb3(0x290),{'className':_0x577eb3(0x288),'children':[_0xb12f60(_0x4491c2,{'label':_0x5eddc9['t'](_0x577eb3(0x45b)),'value':_0x2f12bf,'options':_0x56884d,'onChange':_0x23d8a8}),_0xb12f60(_0x4491c2,{'label':_0x5eddc9['t']('boards-chart-ui.stack'),'value':_0x223e47==null?_0x638ec8[_0x577eb3(0x2a0)]:_0x223e47,'options':Vn[_0x577eb3(0x4e0)](_0x2020f6=>({..._0x2020f6,'label':_0x5eddc9['t'](_0x2020f6[_0x577eb3(0x410)])})),'onChange':_0x322f8e=>_0x43164f(_0x322f8e)}),_0xb12f60(_0x3dfacb,{'checked':_0x2acb43!=null&&_0x2acb43,'onChange':_0x154f68=>_0x19bace(!!_0x154f68),'children':_0x5eddc9['t'](_0x577eb3(0x3e8))}),_0x141322(_0x577eb3(0x2bc),_0x5eddc9['t'](_0x577eb3(0x21e))),_0x141322(_0x577eb3(0x367),_0x5eddc9['t'](_0x577eb3(0x424))),_0x141322(_0x577eb3(0x202),_0x5eddc9['t'](_0x577eb3(0x3ab))),_0xb12f60(br,{'chartType':_0x369385,'labelStyle':_0x22aaca==null?void 0x0:_0x22aaca[_0x577eb3(0x410)],'onChange':_0x4b0bff=>_0x2af4ea({'label':_0x4b0bff})})]})},{'id':_0x577eb3(0x329),'label':_0x5eddc9['t'](_0x577eb3(0x2d6)),'children':_0xb12f60(_0x577eb3(0x290),{'className':_0x577eb3(0x288),'children':_0xb12f60(Cr,{'allSeriesStyle':_0x3cf366,'chartType':_0x165125[_0x577eb3(0x1d7)],'currentStyle':_0x5bdd1f==null?void 0x0:_0x5bdd1f[_0x577eb3(0x4f6)],'dataPointsOptions':_0x38437f,'onChange':_0x25e104=>_0x39b0eb({'barStyle':_0x25e104})})})},{'id':'paretoLine','label':_0x5eddc9['t'](_0x577eb3(0x404)),'children':_0xb12f60('div',{'className':_0x577eb3(0x288),'children':_0xb12f60(Cr,{'allSeriesStyle':_0x3cf366,'chartType':_0x165125['Pareto'],'currentStyle':_0x5bdd1f==null?void 0x0:_0x5bdd1f[_0x577eb3(0x1b7)],'dataPointsOptions':_0x38437f,'onChange':_0x2ef6fb=>_0x39b0eb({'lineStyle':_0x2ef6fb})})})},{'id':_0x577eb3(0x224),'label':_0x5eddc9['t'](_0x577eb3(0x492)),'children':_0x4f0e43(_0x577eb3(0x290),{'className':_0x577eb3(0x288),'children':[_0xb12f60(_0x4491c2,{'label':_0x5eddc9['t'](_0x577eb3(0x507)),'value':String(_0x567e82==null?0x0:_0x567e82),'options':Hn,'onChange':_0x112584=>_0x1a0d6c(Number(_0x112584))}),_0x4f0e43(_0x32a930,{'children':[_0xb12f60(_0x5945f0,{'label':_0x5eddc9['t'](_0x577eb3(0x365)),'value':_0xdc5f66,'onChange':_0x2525fe=>_0x4e04e4(_0x2525fe==null?'':_0x2525fe)}),_0xb12f60(_0x16acd0,{'label':_0x5eddc9['t'](_0x577eb3(0x42f)),'value':_0x26322d==null?0x1:_0x26322d,'onChange':_0x1568bf=>_0xdb1b99(_0x1568bf==null?0x1:_0x1568bf)})]}),_0x4f0e43(_0x32a930,{'children':[_0xb12f60(_0x16acd0,{'label':_0x5eddc9['t']('boards-chart-ui.field.fixedDigits'),'value':_0x44318e==null?0x0:_0x44318e,'onChange':_0xad8c52=>_0x4c61b1(_0xad8c52==null?0x0:_0xad8c52)}),_0xb12f60(_0xec0325,{'label':_0x5eddc9['t'](_0x577eb3(0x3e4)),'value':_0x116172==null?'':_0x116172,'onChange':_0x33daaa})]}),_0xb12f60(_0x3dfacb,{'checked':_0x42b364!=null&&_0x42b364,'onChange':_0x571a96=>_0x35593d(!!_0x571a96),'children':_0x5eddc9['t'](_0x577eb3(0x292))}),_0xb12f60(_0x3dfacb,{'checked':_0x1021f3!=null&&_0x1021f3,'onChange':_0x2c4926=>_0x5e9eb8(!!_0x2c4926),'children':_0x5eddc9['t'](_0x577eb3(0x4ec))}),_0xb12f60(_0x3dfacb,{'checked':_0x3d16b8!=null&&_0x3d16b8,'onChange':_0x5494df=>_0x376589(!!_0x5494df),'children':_0x5eddc9['t'](_0x577eb3(0x2fa))}),_0xb12f60(_0x3dfacb,{'checked':_0x59c41f!=null&&_0x59c41f,'onChange':_0x3349d6=>_0x5e8238(!!_0x3349d6),'children':_0x5eddc9['t']('boards-chart-ui.control.showLabelLine')}),_0xb12f60(br,{'chartType':_0x369385,'isPieLike':!0x0,'labelStyle':_0xa98d2c,'onChange':_0x1ef470=>_0x472a4e(_0x1ef470)})]})},{'id':_0x577eb3(0x284),'label':_0x5eddc9['t'](_0x577eb3(0x240)),'children':_0x4f0e43(_0x577eb3(0x290),{'className':_0x577eb3(0x288),'children':[_0xb12f60(_0x4491c2,{'label':_0x5eddc9['t'](_0x577eb3(0x484)),'value':_0x5ad238==null?_0x4275ae['wordCloud'][_0x577eb3(0x2ef)]:_0x5ad238,'options':cr[_0x577eb3(0x4e0)](_0x3ac74d=>({..._0x3ac74d,'label':_0x5eddc9['t'](_0x3ac74d['label'])})),'onChange':_0x3aa37a=>_0x86afe5(_0x3aa37a)}),_0xb12f60(_0xec0325,{'label':_0x5eddc9['t'](_0x577eb3(0x318)),'value':_0x1c3f93==null?'':_0x1c3f93,'onChange':_0x1779dd=>_0x598fdb(_0x1779dd||void 0x0)}),_0xb12f60(_0x3dfacb,{'checked':_0x53a625!=null&&_0x53a625,'onChange':_0x4c55d1=>_0x40eecb(!!_0x4c55d1),'children':_0x5eddc9['t']('boards-chart-ui.control.repeatWords')})]})},{'id':'radar','label':_0x5eddc9['t'](_0x577eb3(0x3ec)),'children':_0x4f0e43(_0x577eb3(0x290),{'className':_0x577eb3(0x288),'children':[_0xb12f60(_0x4491c2,{'label':_0x5eddc9['t'](_0x577eb3(0x484)),'value':_0x40c24a==null?_0x4275ae[_0x577eb3(0x478)]['shape']:_0x40c24a,'options':or['map'](_0x4d4147=>({..._0x4d4147,'label':_0x5eddc9['t'](_0x4d4147[_0x577eb3(0x410)])})),'onChange':_0x19e758}),_0xb12f60(_0x3dfacb,{'checked':_0x57dc27!=null&&_0x57dc27,'onChange':_0xfda16=>_0x2776b8(!!_0xfda16),'children':_0x5eddc9['t'](_0x577eb3(0x20e))})]})},{'id':_0x577eb3(0x272),'label':_0x5eddc9['t'](_0x577eb3(0x3f6)),'children':_0x4f0e43(_0x577eb3(0x290),{'className':_0x577eb3(0x288),'children':[_0xb12f60(_0x16acd0,{'label':_0x5eddc9['t'](_0x577eb3(0x44d)),'min':0x0,'value':_0x5812b1,'onChange':_0x20b76b=>_0x5c2f18(_0x20b76b)}),_0xb12f60(_0x3dfacb,{'checked':_0x2127da!=null&&_0x2127da,'onChange':_0xca7362=>_0x2d75df(!!_0xca7362),'children':_0x5eddc9['t']('boards-chart-ui.control.useAbsoluteValues')})]})},{'id':_0x577eb3(0x237),'label':_0x5eddc9['t'](_0x577eb3(0x377)),'children':_0x4f0e43(_0x577eb3(0x290),{'className':_0x577eb3(0x288),'children':[_0xb12f60(_0x4491c2,{'label':_0x5eddc9['t']('boards-chart-ui.field.visualMap'),'value':_0x100557==null?_0x4275ae['heatmap']['visualMapType']:_0x100557,'options':ir[_0x577eb3(0x4e0)](_0x5b9e41=>({..._0x5b9e41,'label':_0x5eddc9['t'](_0x5b9e41[_0x577eb3(0x410)])})),'onChange':_0x53489d=>_0x30a6e8(_0x53489d)}),_0x4f0e43(_0x32a930,{'children':[_0xb12f60(_0x16acd0,{'label':_0x5eddc9['t'](_0x577eb3(0x23f)),'value':_0x3d5e56,'onChange':_0x3df50a=>_0x25cd11(_0x3df50a)}),_0xb12f60(_0x16acd0,{'label':_0x5eddc9['t']('boards-chart-ui.field.max'),'value':_0x1a2be9,'onChange':_0x3913ef=>_0x3e540b(_0x3913ef)})]})]})},{'id':_0x577eb3(0x513),'label':_0x5eddc9['t'](_0x577eb3(0x49a)),'children':_0xb12f60(_0x577eb3(0x290),{'className':_0x577eb3(0x288),'children':_0xb12f60(wr,{'forceOption':_0x42e963,'layout':_0x9f5814,'nodeShape':_0x48e2f5,'rotateLabel':_0x13e32d,'useEmphasis':_0x2a7e27,'useValueAsSymbolSize':_0x3fcb04,'onForceOptionChange':_0x3e3988=>_0xe44999({..._0x42e963,..._0x3e3988}),'onLayoutChange':_0x3e938b,'onNodeShapeChange':_0x443302,'onRotateLabelChange':_0x2b39fd,'onUseEmphasisChange':_0x317a52,'onUseValueAsSymbolSizeChange':_0x37b7fc})})},{'id':'lineAndArea','label':_0x5eddc9['t'](_0x577eb3(0x18b)),'children':_0x4f0e43(_0x577eb3(0x290),{'className':_0x577eb3(0x288),'children':[_0xb12f60(_0x4491c2,{'label':_0x5eddc9['t'](_0x577eb3(0x211)),'value':_0x152b22==null?_0x4275ae[_0x577eb3(0x4e9)]['lineStyle']:_0x152b22,'options':ar[_0x577eb3(0x4e0)](_0x2ef0ae=>({..._0x2ef0ae,'label':_0x5eddc9['t'](_0x2ef0ae[_0x577eb3(0x410)])})),'onChange':_0x47f970}),_0xb12f60(_0x4491c2,{'label':_0x5eddc9['t']('boards-chart-ui.field.invalidValues'),'value':_0x5d9bb7==null?_0x4275ae[_0x577eb3(0x243)]:_0x5d9bb7,'options':sr['map'](_0x4acc01=>({..._0x4acc01,'label':_0x5eddc9['t'](_0x4acc01[_0x577eb3(0x410)])})),'onChange':_0x2298bf})]})},{'id':_0x577eb3(0x41a),'label':_0x5eddc9['t'](_0x577eb3(0x319)),'children':_0x4f0e43(_0x577eb3(0x290),{'className':_0x577eb3(0x288),'children':[_0xb12f60(_0x4491c2,{'label':_0x5eddc9['t'](_0x577eb3(0x2b7)),'value':(_0x4af83f==null?void 0x0:_0x4af83f[_0x577eb3(0x1f7)])||_0x57f849['Bottom'],'options':zn['map'](_0x525b56=>({..._0x525b56,'label':_0x5eddc9['t'](_0x525b56['label'])})),'onChange':_0x4289c3=>_0x53b1cb({..._0x4af83f,'position':_0x4289c3})}),_0xb12f60(_0x394226,{'chartType':_0x369385,'position':_0x4af83f==null?void 0x0:_0x4af83f[_0x577eb3(0x1f7)],'wrap':_0x4af83f==null?void 0x0:_0x4af83f[_0x577eb3(0x1d4)],'onChange':_0x36955e=>_0x53b1cb({..._0x4af83f,'wrap':_0x36955e})}),_0x55d40e?_0xb12f60(_0x4491c2,{'label':_0x5eddc9['t'](_0x577eb3(0x34f)),'value':_0x100557==null?_0x4275ae[_0x577eb3(0x237)][_0x577eb3(0x23b)]:_0x100557,'options':ir[_0x577eb3(0x4e0)](_0x41cf09=>({..._0x41cf09,'label':_0x5eddc9['t'](_0x41cf09['label'])})),'onChange':_0x1141e0=>_0x30a6e8(_0x1141e0)}):_0xb12f60(_0x4491c2,{'label':_0x5eddc9['t'](_0x577eb3(0x3e2)),'value':(_0x4af83f==null?void 0x0:_0x4af83f[_0x577eb3(0x1cc)])||_0x4275ae[_0x577eb3(0x41a)][_0x577eb3(0x1cc)],'options':rr['map'](_0x3710f8=>({..._0x3710f8,'label':_0x5eddc9['t'](_0x3710f8[_0x577eb3(0x410)])})),'onChange':_0x41f503=>_0x53b1cb({..._0x4af83f,'selectMode':_0x41f503})}),!_0x55d40e&&_0xb12f60(_0x4fcc57,{'label':_0x5eddc9['t']('boards-chart-ui.field.legendLabelFormat'),'value':_0x4af83f==null?void 0x0:_0x4af83f[_0x577eb3(0x410)],'onChange':(_0x589a78,_0x18d46f)=>_0x53b1cb({'label':{[_0x589a78]:_0x18d46f}})})]})},{'id':_0x577eb3(0x4d6),'label':_0x5eddc9['t'](_0x577eb3(0x2ec)),'children':_0xb12f60('div',{'className':'univer-pb-3','children':_0xb12f60(xr,{'axisOptions':_0x35c173,'canReverse':!0x0,'canUseDateAxis':!_0x438743&&!_0x50211b[_0x577eb3(0x1a2)](_0x369385==null?_0x165125[_0x577eb3(0x381)]:_0x369385,_0x165125['Waterfall']),'isValueAxis':_0x438743||((_0x279c9f=_0x155f65[_0x363434['Bottom']])==null?void 0x0:_0x279c9f[_0x577eb3(0x304)])===_0xef600[_0x577eb3(0x27b)],'useDateAxis':_0x5efc40,'onUseDateAxisChange':_0x2235bd,'onChange':_0x16db48})})},{'id':_0x577eb3(0x353),'label':_0x5eddc9['t'](_0x577eb3(0x1ed)),'children':_0xb12f60('div',{'className':_0x577eb3(0x2c2),'children':_0xb12f60(xr,{'axisOptions':_0xd3e715,'isValueAxis':((_0x4ea67f=_0x155f65[_0x363434[_0x577eb3(0x4d2)]])==null?void 0x0:_0x4ea67f[_0x577eb3(0x304)])===_0xef600[_0x577eb3(0x27b)],'onChange':_0x22e3b3})})},{'id':_0x577eb3(0x421),'label':_0x5eddc9['t'](_0x577eb3(0x1dd)),'children':_0xb12f60(_0x577eb3(0x290),{'className':_0x577eb3(0x2c2),'children':_0xb12f60(xr,{'axisOptions':_0x29ffd7,'isValueAxis':!0x0,'onChange':_0x5529e6})})},{'id':_0x577eb3(0x530),'label':_0x5eddc9['t'](_0x577eb3(0x217)),'children':_0x4f0e43('div',{'className':_0x577eb3(0x288),'children':[_0xb12f60(_0x4491c2,{'label':_0x5eddc9['t']('boards-chart-ui.field.axis'),'value':_0x3d631a,'options':_0x2cea8f,'onChange':_0x57da47=>_0x584e5e(_0x57da47)}),_0xb12f60(Sr,{'axisOptions':_0x423740,'onChange':_0x283ab2})]})},{'id':_0x577eb3(0x1f9),'label':_0x5eddc9['t']('boards-chart-ui.indicatorLine'),'children':_0x4f0e43(_0x577eb3(0x290),{'className':_0x577eb3(0x288),'children':[_0x4f0e43(_0x32a930,{'children':[_0xb12f60(_0x5945f0,{'label':_0x5eddc9['t']('boards-chart-ui.field.line'),'value':_0x84702e==null?void 0x0:_0x84702e[_0x577eb3(0x34b)],'onChange':_0x45bd03=>_0x4d5932({..._0x84702e,'indicatorLineColor':_0x45bd03==null?void 0x0:_0x45bd03})}),_0xb12f60(_0x4491c2,{'label':_0x5eddc9['t']('boards-chart-ui.field.lineType'),'value':(_0x3156e8=_0x84702e==null?void 0x0:_0x84702e[_0x577eb3(0x28c)])==null?_0x4275ae[_0x577eb3(0x28c)]:_0x3156e8,'options':Yn[_0x577eb3(0x4e0)](_0x1d24f6=>({..._0x1d24f6,'label':_0x5eddc9['t'](_0x1d24f6[_0x577eb3(0x410)])})),'onChange':_0x5dcc70=>_0x4d5932({..._0x84702e,'indicatorLineType':_0x5dcc70})})]}),_0x4f0e43(_0x32a930,{'children':[_0xb12f60(_0x5945f0,{'label':_0x5eddc9['t'](_0x577eb3(0x1a0)),'value':_0x84702e==null?void 0x0:_0x84702e[_0x577eb3(0x433)],'onChange':_0x3fd743=>_0x4d5932({..._0x84702e,'indicatorLabelColor':_0x3fd743==null?void 0x0:_0x3fd743})}),_0xb12f60(_0x5945f0,{'label':_0x5eddc9['t'](_0x577eb3(0x1f0)),'value':_0x84702e==null?void 0x0:_0x84702e[_0x577eb3(0x48a)],'onChange':_0x1dfb50=>_0x4d5932({..._0x84702e,'indicatorLabelTextColor':_0x1dfb50==null?void 0x0:_0x1dfb50})})]})]})},{'id':_0x577eb3(0x3f3),'label':_0x5eddc9['t']('boards-chart-ui.trendline'),'children':_0xb12f60(_0x577eb3(0x290),{'className':_0x577eb3(0x288),'children':_0xb12f60(Tr,{'values':_0x4fb886==null?[]:_0x4fb886,'onChange':_0x24814c})})}],_0xc96432=new Map(_0x57e4cc[_0x577eb3(0x4e0)](({id:_0x4fee8d,..._0x5e907e})=>[_0x4fee8d,_0x5e907e]));return _0xb12f60(_0x186e1b,{'className':_0x577eb3(0x2eb),'items':_0x16a598[_0x577eb3(0x4e0)](_0xa7cb1b=>_0xc96432[_0x577eb3(0x28e)](_0xa7cb1b))[_0x577eb3(0x4ee)](_0x3bbfa7=>!!_0x3bbfa7)});}function kr({unitId:_0x51835c,chartId:_0x2f3a67}){const _0x5e1715=_0x763d2d;let _0x568b35=_0x2b685c(_0x32e828),_0x4b6c11=_0x2b685c(_0x344124),_0x4864b4=_0x2b685c(_0x22f25e),_0x13d2b5=_0x91ce04(_0x568b35[_0x5e1715(0x1af)],_0x568b35['activeRuntimeModel']),[_0x1fd795,_0x48eb69]=_0x3b09b5(0x0);return _0x124644(()=>{const _0x43fce9=_0x5e1715;_0x568b35[_0x43fce9(0x312)](_0x51835c,_0x2f3a67);},[_0x2f3a67,_0x568b35,_0x51835c]),(_0x13d2b5==null?void 0x0:_0x13d2b5[_0x5e1715(0x2d4)])!==_0x51835c||_0x13d2b5[_0x5e1715(0x3e5)]!==_0x2f3a67?null:_0x4f0e43(_0x16f83b,{'tab':_0x1fd795,'items':[{'label':_0x4b6c11['t']('boards-chart-ui.setupChart'),'value':0x0},{'label':_0x4b6c11['t'](_0x5e1715(0x1b9)),'value':0x1}],'onTabChange':_0x48eb69,'children':[_0x1fd795===0x0&&_0xb12f60(Dr,{'onEditData':()=>{const _0x15d226=_0x5e1715;_0x4864b4[_0x15d226(0x458)](In['id'],{'unitId':_0x51835c,'chartId':_0x2f3a67});}}),_0x1fd795===0x1&&_0xb12f60(Or,{})]});}const Ar=_0x12367d,jr=_0x165927;function Mr(_0x55e016){const _0x5ca49b=_0x763d2d;var _0x11b8fb,_0x480ed9,_0x841819,_0x517730,_0x5c5ec9,_0x5b8146,_0x94ff50,_0x45c985;let _0x496d75=(_0x11b8fb=_0x55e016[_0x5ca49b(0x1ac)])==null?{}:_0x11b8fb,_0x102458=_0x496d75['borderWidth']===0x0?0x0:Fr(_0x496d75[_0x5ca49b(0x350)],Fr((_0x480ed9=_0x55e016['chartElement'])==null||(_0x480ed9=_0x480ed9[_0x5ca49b(0x331)])==null?void 0x0:_0x480ed9[_0x5ca49b(0x45e)],0x1));return{'fill':(_0x841819=(_0x517730=_0x55e016['hostFill'])==null?_0x496d75[_0x5ca49b(0x1fc)]:_0x517730)==null?_0x4275ae['backgroundColor']:_0x841819,'stroke':(_0x5c5ec9=(_0x5b8146=(_0x94ff50=_0x496d75['borderColor'])==null?(_0x45c985=_0x55e016[_0x5ca49b(0x216)])==null||(_0x45c985=_0x45c985[_0x5ca49b(0x331)])==null?void 0x0:_0x45c985['color']:_0x94ff50)==null?_0x55e016['themeBorderColor']:_0x5b8146)==null?_0x55e016[_0x5ca49b(0x1e8)]?_0x5ca49b(0x525):Ar:_0x5c5ec9,'strokeWidth':_0x102458,'radius':jr};}function Nr(_0x45004b,_0x178243){const _0x4ac0a3=_0x763d2d;let _0x529055=Math['max'](0x0,_0x178243[_0x4ac0a3(0x48c)]);return{'left':_0x529055,'top':_0x529055,'width':Math[_0x4ac0a3(0x4d5)](0x1,_0x45004b['width']-_0x529055*0x2),'height':Math[_0x4ac0a3(0x4d5)](0x1,_0x45004b['height']-_0x529055*0x2)};}function Pr(_0x5d4a50,_0x18fdcc){const _0x54576d=_0x763d2d;let _0x1f7138=-0x1/0x2;return{'left':_0x1f7138,'top':_0x1f7138,'width':Math[_0x54576d(0x4d5)](0x1,_0x5d4a50[_0x54576d(0x45e)]),'height':Math[_0x54576d(0x4d5)](0x1,_0x5d4a50[_0x54576d(0x2d1)]),'radius':Math[_0x54576d(0x4d5)](0x0,_0x18fdcc[_0x54576d(0x30f)]-_0x18fdcc[_0x54576d(0x48c)]/0x2)};}function Fr(_0x53a11d,_0x5e3602){const _0x5e66e8=_0x763d2d;return typeof _0x53a11d==_0x5e66e8(0x502)&&Number[_0x5e66e8(0x335)](_0x53a11d)&&_0x53a11d>0x0?_0x53a11d:_0x5e3602;}const Ir=_0x2e3f63('board-chart.render-model');function Lr(_0x1aa693){const _0x5e6fb0=_0x763d2d;var _0x50232a;let _0x233d03=(_0x50232a=_0x1aa693['match'](/^#([\da-f]{3}|[\da-f]{6})$/i))==null?void 0x0:_0x50232a[0x1];if(_0x233d03){let _0x58a144=_0x233d03[_0x5e6fb0(0x310)]===0x3?_0x233d03[_0x5e6fb0(0x1c7)]('')[_0x5e6fb0(0x4e0)](_0x1b631a=>''+_0x1b631a+_0x1b631a)[_0x5e6fb0(0x2d5)](''):_0x233d03;return'rgb('+Number['parseInt'](_0x58a144[_0x5e6fb0(0x294)](0x0,0x2),0x10)+',\x20'+Number[_0x5e6fb0(0x2cd)](_0x58a144['slice'](0x2,0x4),0x10)+',\x20'+Number[_0x5e6fb0(0x2cd)](_0x58a144[_0x5e6fb0(0x294)](0x4,0x6),0x10)+')';}let _0x47772a=document[_0x5e6fb0(0x443)](_0x5e6fb0(0x194));return _0x47772a['style'][_0x5e6fb0(0x355)]=_0x1aa693,_0x47772a[_0x5e6fb0(0x3f1)]['color']||_0x1aa693;}let Rr=class extends _0x3dbc5d{constructor(_0x2eeca9,_0x28b3ba,_0x5a421e,_0x356847){const _0x8331d8=_0x763d2d;super(),this['_localeService']=_0x2eeca9,this[_0x8331d8(0x343)]=_0x28b3ba,Y(this,'_chartInstanceMap',new Map()),Y(this,'_chartElementEditMode',new Map()),Y(this,_0x8331d8(0x207),new Map()),Y(this,'_chartEventSubscriptions',new Map()),Y(this,_0x8331d8(0x2f0),void 0x0),this[_0x8331d8(0x2f0)]=_0x5a421e,(_0x356847||!this[_0x8331d8(0x2f0)][_0x8331d8(0x4fd)](_0x54f24f))&&this['registerRenderModel'](_0x54f24f,_0x356847==null?new _0x5e9ff9(!0x1,{'wordCloudRenderConfig':_0x5951da}):_0x356847);}[_0x763d2d(0x518)](_0x442c5f,_0x69a931){const _0x2207eb=_0x763d2d;this[_0x2207eb(0x2f0)][_0x2207eb(0x518)](_0x442c5f,_0x69a931);}[_0x763d2d(0x4e3)](_0x4e19c5){const _0x222bbd=_0x763d2d;this[_0x222bbd(0x2f0)][_0x222bbd(0x4e3)](_0x4e19c5);}[_0x763d2d(0x4fd)](_0x57f974=_0x54f24f){const _0x5ab903=_0x763d2d;return this[_0x5ab903(0x2f0)][_0x5ab903(0x4fd)](_0x57f974);}['createChartInstance'](_0x1bbd81){const _0x1d15e4=_0x763d2d;return _0x1bbd81?this['_renderModelManager'][_0x1d15e4(0x4e4)](_0x1bbd81,this[_0x1d15e4(0x358)]()):this[_0x1d15e4(0x2f0)]['createChartInstance']();}[_0x763d2d(0x29a)](_0x2f8061,_0x1d1072,_0x25d680){const _0x110092=_0x763d2d;let _0x227282=this[_0x110092(0x406)](_0x2f8061,_0x1d1072),_0x36efa1=this[_0x110092(0x35b)][_0x110092(0x28e)](_0x227282);return _0x36efa1&&_0x36efa1!==_0x25d680&&(this[_0x110092(0x2e6)](_0x227282),_0x36efa1[_0x110092(0x200)]()),this[_0x110092(0x35b)][_0x110092(0x45a)](_0x227282,_0x25d680),_0x25d680[_0x110092(0x226)](this[_0x110092(0x2e4)][_0x110092(0x28e)](_0x227282)===!0x0),this[_0x110092(0x2f6)](_0x227282,_0x25d680),{'dispose':()=>{const _0x46f3db=_0x110092;this[_0x46f3db(0x35b)]['get'](_0x227282)===_0x25d680&&(this[_0x46f3db(0x2e6)](_0x227282),this[_0x46f3db(0x35b)][_0x46f3db(0x308)](_0x227282));}};}['setElementEditMode'](_0x4cd252,_0x140e50,_0x537a82){const _0x54d083=_0x763d2d;var _0x565a34;let _0x2a4fd2=this[_0x54d083(0x406)](_0x4cd252,_0x140e50);_0x537a82?this['_chartElementEditMode'][_0x54d083(0x45a)](_0x2a4fd2,!0x0):this['_chartElementEditMode'][_0x54d083(0x308)](_0x2a4fd2),(_0x565a34=this[_0x54d083(0x35b)][_0x54d083(0x28e)](_0x2a4fd2))==null||_0x565a34['setElementEditMode'](_0x537a82);}[_0x763d2d(0x34c)](_0x125015,_0x5d0b35){const _0x23ce31=_0x763d2d;return this[_0x23ce31(0x2e4)][_0x23ce31(0x28e)](this['_getChartRuntimeKey'](_0x125015,_0x5d0b35))===!0x0;}['on'](_0x1be9b2,_0x46e451,_0x5a713f,_0x1497c3){const _0x1374fe=_0x763d2d;let _0x2f6cfb=this[_0x1374fe(0x406)](_0x1be9b2,_0x46e451),_0x4ab1a3=this[_0x1374fe(0x207)]['get'](_0x2f6cfb);_0x4ab1a3||(_0x4ab1a3=new Map(),this['_chartEventHandlers'][_0x1374fe(0x45a)](_0x2f6cfb,_0x4ab1a3));let _0x222f24=_0x4ab1a3['get'](_0x5a713f);_0x222f24||(_0x222f24=new Set(),_0x4ab1a3[_0x1374fe(0x45a)](_0x5a713f,_0x222f24)),_0x222f24['add'](_0x1497c3);let _0x4a7d7b=this[_0x1374fe(0x35b)][_0x1374fe(0x28e)](_0x2f6cfb);return _0x4a7d7b&&this[_0x1374fe(0x45c)](_0x2f6cfb,_0x4a7d7b,_0x5a713f,_0x1497c3),{'dispose':()=>{const _0x4d7eb6=_0x1374fe;let _0x35feff=this['_chartEventHandlers']['get'](_0x2f6cfb),_0x55baa8=_0x35feff==null?void 0x0:_0x35feff[_0x4d7eb6(0x28e)](_0x5a713f);_0x55baa8==null||_0x55baa8[_0x4d7eb6(0x308)](_0x1497c3),(_0x55baa8==null?void 0x0:_0x55baa8[_0x4d7eb6(0x47b)])===0x0&&(_0x35feff==null||_0x35feff['delete'](_0x5a713f)),(_0x35feff==null?void 0x0:_0x35feff[_0x4d7eb6(0x47b)])===0x0&&this[_0x4d7eb6(0x207)]['delete'](_0x2f6cfb),this['_disposeChartEventSubscription'](_0x2f6cfb,_0x5a713f,_0x1497c3);}};}[_0x763d2d(0x390)](_0x5b0b2b){const _0x2c55fa=_0x763d2d;let _0x1e8b2a=_0x5b0b2b[_0x2c55fa(0x29b)]['config'];if(!_0x1e8b2a)throw Error(_0x2c55fa(0x1b5)+_0x5b0b2b[_0x2c55fa(0x3e5)]+_0x2c55fa(0x3fd));let _0x1ed5ee=this['_localeService'][_0x2c55fa(0x3db)]();return{'chartConfig':_0x1e8b2a,'chartStyle':_0x16dd61({..._0x5b0b2b[_0x2c55fa(0x29b)][_0x2c55fa(0x3f1)],'runtime':_0x5b0b2b[_0x2c55fa(0x29b)]['getRuntimeContext'](_0x1ed5ee),'direction':_0x1ed5ee},_0x1e8b2a[_0x2c55fa(0x304)])};}[_0x763d2d(0x4ca)](_0x385981,_0x3d2a8b,_0x393e10){const _0x552dc2=_0x763d2d;let {chartConfig:_0x5f1f9d,chartStyle:_0x5152c3}=this[_0x552dc2(0x390)](_0x385981),_0x465d4c=this[_0x552dc2(0x2f0)][_0x552dc2(0x510)]();return{'spec':_0x465d4c[_0x552dc2(0x3c4)](_0x465d4c['toSpec'](_0x5f1f9d,_0x5152c3),{'chartConfig':_0x5f1f9d,'chartStyle':_0x5152c3,'chartInstance':_0x393e10},_0x3d2a8b),'chartConfig':_0x5f1f9d,'chartStyle':_0x5152c3,'hostStyle':this['getHostStyle'](_0x5152c3)};}[_0x763d2d(0x3d1)](_0x42f239){const _0x5e49e7=_0x763d2d;return _0x4d9ba6({'style':_0x42f239,'getRenderColor':_0x404ba6=>this['_chartThemeService'][_0x5e49e7(0x485)](_0x404ba6)});}[_0x763d2d(0x511)](_0x1d24fe,_0x41786f){const _0xc3b33c=_0x763d2d;var _0x56d490,_0x436743;_0x1d24fe[_0xc3b33c(0x3f1)][_0xc3b33c(0x3bf)]=(_0x56d490=_0x41786f[_0xc3b33c(0x3bf)])!=null&&_0x56d490['color']&&_0x41786f['border'][_0xc3b33c(0x45e)]?_0x41786f['border']['width']+_0xc3b33c(0x245)+Lr(_0x41786f[_0xc3b33c(0x3bf)][_0xc3b33c(0x355)]):'',_0x1d24fe['style'][_0xc3b33c(0x1fc)]=Lr((_0x436743=_0x41786f['fill'])==null?'transparent':_0x436743),_0x1d24fe[_0xc3b33c(0x3f1)]['borderRadius']=_0x41786f[_0xc3b33c(0x30f)]?_0x41786f[_0xc3b33c(0x30f)]+'px':jr+'px',_0x1d24fe[_0xc3b33c(0x3f1)][_0xc3b33c(0x205)]=_0xc3b33c(0x47d),_0x1d24fe[_0xc3b33c(0x3f1)][_0xc3b33c(0x1ca)]=_0xc3b33c(0x2dd);}[_0x763d2d(0x358)](){const _0x5bed3e=_0x763d2d;return{'resolveHostStyle':({style:_0x5cea88})=>({'fill':this[_0x5bed3e(0x3d1)](_0x5cea88)['fill']}),'resolveRenderBackgroundColor':({hostStyle:_0x19fd0e})=>_0x19fd0e[_0x5bed3e(0x1e5)],'prepareSpec':({mode:_0x393855,spec:_0x16fe7a})=>_0x393855===_0x5bed3e(0x44a)?{..._0x16fe7a,'animation':!0x1,'tooltip':{'show':!0x1}}:_0x16fe7a};}[_0x763d2d(0x2f6)](_0x4160c3,_0x3fd04f){const _0x596589=_0x763d2d;let _0x436a89=this[_0x596589(0x207)][_0x596589(0x28e)](_0x4160c3);_0x436a89&&_0x436a89[_0x596589(0x29f)]((_0x212f16,_0x3e997e)=>{const _0x5c35da=_0x596589;_0x212f16[_0x5c35da(0x29f)](_0x361995=>this[_0x5c35da(0x45c)](_0x4160c3,_0x3fd04f,_0x3e997e,_0x361995));});}[_0x763d2d(0x45c)](_0x3f1757,_0x1fb2db,_0x5add1d,_0x35f314){const _0x615847=_0x763d2d;let _0x329b96=this[_0x615847(0x460)][_0x615847(0x28e)](_0x3f1757);_0x329b96||(_0x329b96=new Map(),this['_chartEventSubscriptions'][_0x615847(0x45a)](_0x3f1757,_0x329b96));let _0x5d1e37=_0x329b96[_0x615847(0x28e)](_0x5add1d);_0x5d1e37||(_0x5d1e37=new Map(),_0x329b96['set'](_0x5add1d,_0x5d1e37)),!_0x5d1e37[_0x615847(0x3f0)](_0x35f314)&&_0x5d1e37[_0x615847(0x45a)](_0x35f314,_0x1fb2db['on'](_0x5add1d,_0x35f314));}[_0x763d2d(0x32a)](_0x2589f8,_0x4377a7,_0x293acf){const _0x59fb64=_0x763d2d;var _0x43a3b9,_0x1d0268;let _0x1e850a=(_0x43a3b9=this[_0x59fb64(0x460)][_0x59fb64(0x28e)](_0x2589f8))==null?void 0x0:_0x43a3b9[_0x59fb64(0x28e)](_0x4377a7);_0x1e850a==null||(_0x1d0268=_0x1e850a[_0x59fb64(0x28e)](_0x293acf))==null||_0x1d0268['dispose'](),_0x1e850a==null||_0x1e850a[_0x59fb64(0x308)](_0x293acf);}[_0x763d2d(0x2e6)](_0x56f50a){const _0x373851=_0x763d2d;let _0x30d3d7=this[_0x373851(0x460)][_0x373851(0x28e)](_0x56f50a);_0x30d3d7==null||_0x30d3d7[_0x373851(0x29f)](_0xf4cc12=>{const _0x21b4b7=_0x373851;_0xf4cc12[_0x21b4b7(0x29f)](_0x5631a4=>_0x5631a4['dispose']()),_0xf4cc12[_0x21b4b7(0x4a3)]();}),this[_0x373851(0x460)]['delete'](_0x56f50a);}[_0x763d2d(0x406)](_0x2265c4,_0x2672e8){return _0x2265c4+'::'+_0x2672e8;}['dispose'](){const _0x419286=_0x763d2d;this[_0x419286(0x35b)]['forEach'](_0x191cfe=>_0x191cfe[_0x419286(0x200)]()),this[_0x419286(0x35b)]['clear'](),this[_0x419286(0x2e4)][_0x419286(0x4a3)](),this[_0x419286(0x207)][_0x419286(0x4a3)](),Array[_0x419286(0x2df)](this[_0x419286(0x460)][_0x419286(0x2af)]())[_0x419286(0x29f)](_0x1b1bed=>this[_0x419286(0x2e6)](_0x1b1bed)),super[_0x419286(0x200)]();}};Rr=Z([X(0x0,_0x1b1a65(_0x344124)),X(0x1,_0x1b1a65(_0x52efc0)),X(0x2,_0x535b6f),X(0x3,_0x5b7910(Ir))],Rr);let zr=class extends _0x3dbc5d{constructor(_0x21c838,_0x59437b,_0x6196c8,_0x3c54ff,_0x14d32d,_0x21f83){const _0x1976f9=_0x763d2d;super(),this[_0x1976f9(0x429)]=_0x21c838,this[_0x1976f9(0x4f9)]=_0x59437b,this['_sidePanelService']=_0x6196c8,this['_modelService']=_0x3c54ff,this[_0x1976f9(0x26b)]=_0x14d32d,this[_0x1976f9(0x453)]=_0x21f83,Y(this,'_activePanelKey',null),Y(this,_0x1976f9(0x4e7),null),Y(this,_0x1976f9(0x4d1),null),this['disposeWithMe'](this[_0x1976f9(0x4f9)][_0x1976f9(0x364)]['subscribe'](_0xa04542=>this[_0x1976f9(0x519)](_0xa04542)));}['dispose'](){const _0x56c5d2=_0x763d2d;this[_0x56c5d2(0x4b6)](),super[_0x56c5d2(0x200)]();}['_syncPanel'](_0x15c036){const _0xd9652=_0x763d2d;var _0x2240bf;if(!_0x15c036||_0x15c036[_0xd9652(0x2d4)]!==this[_0xd9652(0x429)]['unitId']){this[_0xd9652(0x4b6)]();return;}let _0xd4d908=this[_0xd9652(0x4c3)][_0xd9652(0x472)](_0x15c036[_0xd9652(0x2d4)],_0x15c036['chartId']);if(!_0xd4d908){this[_0xd9652(0x4b6)]();return;}let _0x399076=[Ln,_0x15c036['unitId'],_0x15c036[_0xd9652(0x469)],_0x15c036[_0xd9652(0x4e5)]][_0xd9652(0x2d5)](':');if(this[_0xd9652(0x21d)]===_0x399076){this[_0xd9652(0x4c3)][_0xd9652(0x260)](_0xd4d908),this[_0xd9652(0x359)](_0x15c036[_0xd9652(0x2d4)],_0x15c036[_0xd9652(0x3e5)]);return;}(_0x2240bf=this['_activePanelDisposable'])==null||_0x2240bf[_0xd9652(0x200)](),this[_0xd9652(0x4c3)][_0xd9652(0x260)](_0xd4d908),this[_0xd9652(0x359)](_0x15c036[_0xd9652(0x2d4)],_0x15c036[_0xd9652(0x3e5)]),this[_0xd9652(0x21d)]=_0x399076,this[_0xd9652(0x4e7)]=this[_0xd9652(0x3a4)][_0xd9652(0x19a)]({'id':Ln,'header':{'title':this[_0xd9652(0x453)]['t']('boards-chart-ui.editChart')},'width':0x184,'children':{'label':Ln,'unitId':_0x15c036[_0xd9652(0x2d4)],'subUnitId':_0x15c036['subUnitId'],'elementId':_0x15c036[_0xd9652(0x4e5)],'chartId':_0x15c036[_0xd9652(0x3e5)]},'onClose':_0x291a52=>{const _0x39e5f7=_0xd9652;this[_0x39e5f7(0x21d)]===_0x399076&&(this[_0x39e5f7(0x21d)]=null,this[_0x39e5f7(0x4e7)]=null,this[_0x39e5f7(0x3cb)](),this[_0x39e5f7(0x4c3)][_0x39e5f7(0x260)](null),_0x291a52===_0x39e5f7(0x4a5)&&this['_editSessionService']['close'](_0x39e5f7(0x4a5)));}});}[_0x763d2d(0x4b6)](){const _0x59710e=_0x763d2d;var _0x842248;if(!this[_0x59710e(0x21d)]){this[_0x59710e(0x3cb)]();return;}(_0x842248=this[_0x59710e(0x4e7)])==null||_0x842248['dispose'](),this[_0x59710e(0x4e7)]=null,this[_0x59710e(0x21d)]=null,this[_0x59710e(0x3cb)](),this[_0x59710e(0x4c3)][_0x59710e(0x260)](null);}['_setActiveEditOverlay'](_0x52ec36,_0x53e6e1){const _0x260ab8=_0x763d2d;let _0x431136=this['_activeEditOverlay'];((_0x431136==null?void 0x0:_0x431136[_0x260ab8(0x2d4)])!==_0x52ec36||_0x431136[_0x260ab8(0x3e5)]!==_0x53e6e1)&&(this[_0x260ab8(0x3cb)](),this[_0x260ab8(0x4d1)]={'unitId':_0x52ec36,'chartId':_0x53e6e1},this[_0x260ab8(0x26b)]['setElementEditMode'](_0x52ec36,_0x53e6e1,!0x0));}[_0x763d2d(0x3cb)](){const _0x3babe6=_0x763d2d;let _0x122779=this[_0x3babe6(0x4d1)];_0x122779&&(this[_0x3babe6(0x4d1)]=null,this[_0x3babe6(0x26b)][_0x3babe6(0x226)](_0x122779[_0x3babe6(0x2d4)],_0x122779[_0x3babe6(0x3e5)],!0x1));}};zr=Z([X(0x1,_0x1b1a65(Q)),X(0x2,_0x1b1a65(_0x3a4787)),X(0x3,_0x1b1a65(_0x32e828)),X(0x4,_0x1b1a65(Rr)),X(0x5,_0x1b1a65(_0x344124))],zr);var Br=class extends _0x2e0cda{constructor(_0x83c3c1,_0x1fb223){super(_0x83c3c1),this['_rect']=_0x1fb223,Y(this,'_dataUrl',void 0x0);}[_0x763d2d(0x2b1)](){const _0x4c0bfd=_0x763d2d;return{'width':Math[_0x4c0bfd(0x4d5)](0x1,this[_0x4c0bfd(0x391)][_0x4c0bfd(0x45e)]),'height':Math['max'](0x1,this[_0x4c0bfd(0x391)][_0x4c0bfd(0x2d1)])};}[_0x763d2d(0x1d8)](_0x53bfcd){}[_0x763d2d(0x328)](){return 0x1;}[_0x763d2d(0x2f3)](_0x3669b2,_0x5944c0){const _0x28823d=_0x763d2d;return this[_0x28823d(0x4a1)]=_0x43a037(_0x3669b2),!0x0;}[_0x763d2d(0x430)](){}['invalidateSnapshot'](){const _0x3cd240=_0x763d2d;this[_0x3cd240(0x4a1)]=void 0x0;}[_0x763d2d(0x407)](){const _0x2dc290=_0x763d2d;return this[_0x2dc290(0x4a1)];}},Vr=class extends _0x3dbc5d{constructor(_0x18f21b,_0x1f02dd,_0x3f7ded){const _0x46f353=_0x763d2d;super(),this['chartId']=_0x18f21b,this[_0x46f353(0x28d)]=_0x1f02dd,this[_0x46f353(0x4f4)]=_0x3f7ded,Y(this,_0x46f353(0x1f1),_0x4d42d7[_0x46f353(0x2fb)]);}[_0x763d2d(0x2b1)](){const _0x3f6b34=_0x763d2d;let _0x258df3=this['_host']['getBoundingClientRect']();return{'width':Math['max'](0x1,_0x258df3[_0x3f6b34(0x45e)]),'height':Math[_0x3f6b34(0x4d5)](0x1,_0x258df3[_0x3f6b34(0x2d1)])};}[_0x763d2d(0x1d8)](_0x389611){this['_applyHostStyle'](this['_host'],_0x389611);}async[_0x763d2d(0x1df)](){return this['_host'];}[_0x763d2d(0x371)](){return!0x0;}['syncLayout'](){}[_0x763d2d(0x1d5)](){}['markNotReady'](){}};function Hr({chartElement:_0x12adc1,chartId:_0x1a8189,unitId:_0x334811}){const _0xd2319c=_0x763d2d;let _0x5b4112=_0x4113d8(null),_0x4b66a1=_0x2b685c(_0x32e828),_0x5cb877=_0x2b685c(Rr);return _0x124644(()=>{const _0x558729=_0x2c90;let _0x39bbb0=_0x5b4112[_0x558729(0x46f)];if(!_0x39bbb0)return;let _0x46394b=_0x4b66a1[_0x558729(0x472)](_0x334811,_0x1a8189);if(!_0x46394b)return;_0x4b66a1[_0x558729(0x260)](_0x46394b);let _0x1e2053=new Vr(_0x1a8189,_0x39bbb0,(_0x474026,_0x339623)=>{const _0x2c9878=_0x558729;var _0x541a6e;return _0x5cb877[_0x2c9878(0x511)](_0x474026,{'fill':(_0x541a6e=_0x339623[_0x2c9878(0x1e5)])==null?'transparent':_0x541a6e});}),_0x227240=_0x5cb877[_0x558729(0x4e4)](_0x4d42d7['Dom']),_0x55d05c=_0x5cb877[_0x558729(0x29a)](_0x334811,_0x1a8189,_0x227240);_0x227240[_0x558729(0x49c)](_0x1e2053);let _0x39eb2c=_0x1ab4ed([_0x46394b[_0x558729(0x29b)][_0x558729(0x26d)],_0x46394b[_0x558729(0x29b)][_0x558729(0x2e1)]])[_0x558729(0x269)](_0x58e04d(([_0x304172])=>_0x304172!=null))['subscribe'](()=>{const _0x4d729a=_0x558729;let {chartConfig:_0x2e6f29,chartStyle:_0x233b58}=_0x5cb877['createRenderInput'](_0x46394b);Ur(_0x39bbb0,_0x12adc1,_0x233b58,_0x5cb877),_0x227240[_0x4d729a(0x2fe)]({'chartId':_0x1a8189,'config':_0x2e6f29,'style':_0x233b58});});return()=>{const _0x867e24=_0x558729;var _0x365ad6;_0x39eb2c[_0x867e24(0x2de)](),_0x55d05c['dispose'](),_0x227240[_0x867e24(0x200)](),_0x1e2053[_0x867e24(0x200)](),((_0x365ad6=_0x4b66a1['activeRuntimeModel'])==null?void 0x0:_0x365ad6[_0x867e24(0x2d4)])===_0x334811&&_0x4b66a1[_0x867e24(0x233)][_0x867e24(0x3e5)]===_0x1a8189&&_0x4b66a1[_0x867e24(0x260)](null);};},[_0x12adc1,_0x1a8189,_0x4b66a1,_0x5cb877,_0x334811]),_0xb12f60(_0xd2319c(0x290),{'className':_0xd2319c(0x357),'data-board-chart-dom-renderer':_0x1a8189,'children':_0xb12f60(_0xd2319c(0x290),{'ref':_0x5b4112,'data-board-chart-dom-content-host':_0x1a8189})});}function Ur(_0x4112ba,_0x5155ef,_0x1c2299,_0x418a7d){const _0x362b0d=_0x763d2d;let _0x3a4c2b=_0x418a7d[_0x362b0d(0x3d1)](_0x1c2299)[_0x362b0d(0x1e5)],_0x17babe=Mr({'chartStyle':_0x1c2299,'chartElement':_0x5155ef,'hostFill':_0x3a4c2b}),_0x27239b=Math[_0x362b0d(0x4d5)](0x0,_0x17babe['strokeWidth']);_0x4112ba[_0x362b0d(0x3f1)]['position']=_0x362b0d(0x238),_0x4112ba[_0x362b0d(0x3f1)]['left']=_0x27239b+'px',_0x4112ba[_0x362b0d(0x3f1)][_0x362b0d(0x351)]=_0x27239b+'px',_0x4112ba['style'][_0x362b0d(0x2a6)]=_0x27239b+'px',_0x4112ba[_0x362b0d(0x3f1)][_0x362b0d(0x45d)]=_0x27239b+'px',_0x4112ba[_0x362b0d(0x3f1)][_0x362b0d(0x1fc)]=_0x17babe['fill'],_0x4112ba[_0x362b0d(0x3f1)][_0x362b0d(0x3ad)]=Math['max'](0x0,_0x17babe[_0x362b0d(0x30f)]-_0x27239b)+'px',_0x4112ba[_0x362b0d(0x3f1)][_0x362b0d(0x205)]='hidden',_0x4112ba['style'][_0x362b0d(0x1ca)]='border-box';}const Wr=_0x2e3f63('board-chart.snapshot-renderer'),Gr=0x0;function Kr(_0x3323e7){return{..._0x3323e7,'borderWidth':0x0};}var qr=class{constructor(_0x2b0f5b){const _0x295196=_0x763d2d;this[_0x295196(0x26b)]=_0x2b0f5b;}async[_0x763d2d(0x2fe)](_0x11da6a,_0x3eb5ca){const _0x534873=_0x763d2d;if(typeof document>'u')throw TypeError('Board\x20chart\x20snapshot\x20rendering\x20requires\x20a\x20browser\x20document.');let _0x196d33=new Br(_0x3eb5ca[_0x534873(0x3e5)],{'width':_0x11da6a['width'],'height':_0x11da6a[_0x534873(0x2d1)]}),_0x517bff=this['_renderService'][_0x534873(0x4e4)](_0x4d42d7[_0x534873(0x2b3)]);try{let {chartConfig:_0x213552,chartStyle:_0x6f2566}=this['_renderService'][_0x534873(0x390)](_0x3eb5ca);_0x517bff['bind'](_0x196d33),await _0x517bff[_0x534873(0x2fe)]({'chartId':_0x3eb5ca[_0x534873(0x3e5)],'config':_0x213552,'style':Kr(_0x6f2566)});let _0xb38ac3=_0x196d33['getDataUrl']();if(!_0xb38ac3)throw Error(_0x534873(0x40f)+_0x3eb5ca[_0x534873(0x2d4)]+'/'+_0x3eb5ca[_0x534873(0x3e5)]);return _0xb38ac3;}finally{_0x517bff[_0x534873(0x200)](),_0x196d33[_0x534873(0x200)]();}}};let Jr=class extends _0x3dbc5d{constructor(_0x48bd0e,_0x3edede,_0x4dcc87,_0xb6b21f){const _0x1d7470=_0x763d2d;super(),this['_localeService']=_0x48bd0e,this[_0x1d7470(0x4c3)]=_0x3edede,Y(this,_0x1d7470(0x36d),new _0x4ad77e()),Y(this,_0x1d7470(0x4e2),new _0x4ad77e()),Y(this,_0x1d7470(0x1a6),new Map()),Y(this,_0x1d7470(0x345),[]),Y(this,_0x1d7470(0x40e),new Map()),Y(this,_0x1d7470(0x2f9),void 0x0),Y(this,'_rendering',!0x1),Y(this,_0x1d7470(0x42b),null),this[_0x1d7470(0x2f9)]=_0xb6b21f==null?new qr(_0x4dcc87):_0xb6b21f,this[_0x1d7470(0x2b8)](this[_0x1d7470(0x453)]['direction$'][_0x1d7470(0x269)](_0x387148(0x1))[_0x1d7470(0x271)](()=>{this['_invalidateSnapshotsForDirectionChange']();}));}[_0x763d2d(0x33d)](_0x3a4db9){const _0x42a2bd=_0x763d2d;let _0xc5e700=this['getCacheKey'](_0x3a4db9),_0x4461eb=this[_0x42a2bd(0x1a6)][_0x42a2bd(0x28e)](_0xc5e700);if(_0x4461eb&&_0x4461eb['status']!==_0x42a2bd(0x39e))return _0x4461eb;let _0x41c4df={'key':_0xc5e700,'status':_0x42a2bd(0x494)};return this[_0x42a2bd(0x1a6)][_0x42a2bd(0x45a)](_0xc5e700,_0x41c4df),this['_queue'][_0x42a2bd(0x43c)](_0x3a4db9),this[_0x42a2bd(0x47e)](),_0x41c4df;}[_0x763d2d(0x51a)](_0x38bb87){const _0x487e0f=_0x763d2d;return this[_0x487e0f(0x1a6)]['get'](this[_0x487e0f(0x1b6)](_0x38bb87));}['invalidateChart'](_0x450c3d,_0x4770e2,_0x278ae7){const _0x1aeb22=_0x763d2d;let _0x2c546d=_0x450c3d+'::'+_0x4770e2+'::';if(Array[_0x1aeb22(0x2df)](this[_0x1aeb22(0x1a6)][_0x1aeb22(0x2af)]())[_0x1aeb22(0x29f)](_0x44c485=>{const _0x3d63a9=_0x1aeb22;_0x44c485[_0x3d63a9(0x33a)](_0x2c546d)&&this[_0x3d63a9(0x1a6)][_0x3d63a9(0x308)](_0x44c485);}),_0x278ae7!=null&&_0x278ae7[_0x1aeb22(0x1e0)]){let _0x38f1bb=this[_0x1aeb22(0x402)](_0x450c3d,_0x4770e2);this[_0x1aeb22(0x40e)][_0x1aeb22(0x45a)](this[_0x1aeb22(0x1ec)](_0x450c3d,_0x4770e2),_0x38f1bb==null?void 0x0:_0x38f1bb[_0x1aeb22(0x29b)][_0x1aeb22(0x4a0)]);}this[_0x1aeb22(0x4e2)][_0x1aeb22(0x2b9)]({'unitId':_0x450c3d,'chartId':_0x4770e2});}[_0x763d2d(0x1b6)](_0xf9007f){const _0x565c1a=_0x763d2d;var _0x59defb,_0x2d7d4a;return[_0xf9007f[_0x565c1a(0x2d4)],_0xf9007f['chartId'],Math[_0x565c1a(0x470)](_0xf9007f['width']),Math[_0x565c1a(0x470)](_0xf9007f[_0x565c1a(0x2d1)]),(_0x59defb=_0xf9007f[_0x565c1a(0x360)])==null?0x1:_0x59defb,this['_localeService'][_0x565c1a(0x3db)](),(_0x2d7d4a=_0xf9007f[_0x565c1a(0x1f1)])==null?_0x565c1a(0x1c2):_0x2d7d4a][_0x565c1a(0x2d5)]('::');}async[_0x763d2d(0x28f)](){const _0x5ab167=_0x763d2d;for(;this[_0x5ab167(0x345)][_0x5ab167(0x310)]>0x0||this['_rendering']||this['_activeDrain'];){var _0x4eb86e;await((_0x4eb86e=this[_0x5ab167(0x42b)])==null?Promise[_0x5ab167(0x3a3)]():_0x4eb86e),await Promise['resolve']();}}['dispose'](){const _0x5b0316=_0x763d2d;this[_0x5b0316(0x1a6)][_0x5b0316(0x4a3)](),this[_0x5b0316(0x345)][_0x5b0316(0x310)]=0x0,this[_0x5b0316(0x40e)][_0x5b0316(0x4a3)](),this[_0x5b0316(0x36d)][_0x5b0316(0x4de)](),this[_0x5b0316(0x4e2)][_0x5b0316(0x4de)](),super[_0x5b0316(0x200)]();}[_0x763d2d(0x47e)](){const _0x5b2475=_0x763d2d;this[_0x5b2475(0x43f)]||(this[_0x5b2475(0x42b)]=this[_0x5b2475(0x2bd)]()[_0x5b2475(0x342)](()=>{const _0x52f0e7=_0x5b2475;this[_0x52f0e7(0x42b)]=null;}));}[_0x763d2d(0x336)](){const _0x49a7b6=_0x763d2d;let _0x136dbf=new Map();Array[_0x49a7b6(0x2df)](this[_0x49a7b6(0x1a6)][_0x49a7b6(0x2af)]())[_0x49a7b6(0x29f)](_0x21db76=>{const _0x40a6f5=_0x49a7b6;let [_0x2256f5,_0x138716]=_0x21db76[_0x40a6f5(0x1c7)]('::');_0x2256f5&&_0x138716&&_0x136dbf[_0x40a6f5(0x45a)](_0x2256f5+'::'+_0x138716,{'unitId':_0x2256f5,'chartId':_0x138716});}),this['_cache'][_0x49a7b6(0x4a3)](),_0x136dbf[_0x49a7b6(0x29f)](_0x4a1cfa=>{const _0x26a6ea=_0x49a7b6;this[_0x26a6ea(0x4e2)][_0x26a6ea(0x2b9)](_0x4a1cfa);});}async[_0x763d2d(0x2bd)](){const _0x7446bb=_0x763d2d;if(!this[_0x7446bb(0x43f)]){this['_rendering']=!0x0;try{for(;this[_0x7446bb(0x345)][_0x7446bb(0x310)]>0x0;){let _0x47b62c=this['_queue'][_0x7446bb(0x314)]();await this[_0x7446bb(0x2c4)](_0x47b62c);}}finally{this[_0x7446bb(0x43f)]=!0x1;}}}async[_0x763d2d(0x2c4)](_0x3d6dd2){const _0x164485=_0x763d2d;let _0x83aace=this['getCacheKey'](_0x3d6dd2),_0x23f71a=this[_0x164485(0x1a6)]['get'](_0x83aace);if(!_0x23f71a||_0x23f71a[_0x164485(0x19d)]!==_0x164485(0x494))return;let _0x1c93e1=this['_modelService'][_0x164485(0x472)](_0x3d6dd2[_0x164485(0x2d4)],_0x3d6dd2[_0x164485(0x3e5)]);if(!_0x1c93e1){_0x23f71a[_0x164485(0x19d)]=_0x164485(0x39e),_0x23f71a[_0x164485(0x39e)]=Error('Missing\x20board\x20chart\x20runtime\x20model:\x20'+_0x3d6dd2[_0x164485(0x2d4)]+'/'+_0x3d6dd2[_0x164485(0x3e5)]),this['snapshotUpdated$'][_0x164485(0x2b9)](_0x23f71a);return;}try{if(await this[_0x164485(0x228)](_0x1c93e1),this[_0x164485(0x1a6)][_0x164485(0x28e)](_0x83aace)!==_0x23f71a||_0x23f71a[_0x164485(0x19d)]!==_0x164485(0x494))return;_0x23f71a[_0x164485(0x1a9)]=await this[_0x164485(0x2f9)][_0x164485(0x2fe)](_0x3d6dd2,_0x1c93e1),_0x23f71a[_0x164485(0x19d)]=_0x164485(0x1a4);}catch(_0xe2a06d){_0x23f71a['status']=_0x164485(0x39e),_0x23f71a[_0x164485(0x39e)]=_0xe2a06d;}this['snapshotUpdated$'][_0x164485(0x2b9)](_0x23f71a);}async['_waitForRuntimeConfig'](_0x42fc2c){const _0x59901d=_0x763d2d;let _0x149740=_0x42fc2c[_0x59901d(0x29b)],_0x3498ab=this[_0x59901d(0x1ec)](_0x42fc2c[_0x59901d(0x2d4)],_0x42fc2c[_0x59901d(0x3e5)]);if(this[_0x59901d(0x40e)][_0x59901d(0x3f0)](_0x3498ab)){let _0x5146be=this[_0x59901d(0x40e)][_0x59901d(0x28e)](_0x3498ab);if(_0x149740['config']&&_0x149740['config']!==_0x5146be){this[_0x59901d(0x40e)][_0x59901d(0x308)](_0x3498ab);return;}try{await _0x19cc6c(_0x149740[_0x59901d(0x26d)][_0x59901d(0x269)](_0x58e04d(_0x55984c=>_0x55984c!=null&&_0x55984c!==_0x5146be),_0x68b70a(0x1),_0x161846({'first':0x3e8})));}catch{}finally{this[_0x59901d(0x40e)]['delete'](_0x3498ab);}return;}_0x149740['config']||await _0x19cc6c(_0x149740[_0x59901d(0x26d)][_0x59901d(0x269)](_0x58e04d(_0x311392=>_0x311392!=null),_0x68b70a(0x1),_0x161846({'first':0x3e8})));}[_0x763d2d(0x1ec)](_0x337204,_0x14a647){return _0x337204+'::'+_0x14a647;}[_0x763d2d(0x402)](_0x172814,_0x3d0297){const _0x25e7ff=_0x763d2d;var _0x1c1f67;return(_0x1c1f67=this[_0x25e7ff(0x4c3)][_0x25e7ff(0x2ae)](_0x172814,_0x3d0297))==null?this['_modelService'][_0x25e7ff(0x472)](_0x172814,_0x3d0297):_0x1c1f67;}};Jr=Z([X(0x0,_0x1b1a65(_0x344124)),X(0x1,_0x1b1a65(_0x32e828)),X(0x2,_0x1b1a65(Rr)),X(0x3,_0x5b7910(Wr))],Jr);let Yr=class extends _0x3dbc5d{constructor(_0x21d757,_0x1afc45,_0xcd82aa,_0x372e3a,_0x1e64d3){const _0x1a55ee=_0x763d2d;super(),this[_0x1a55ee(0x429)]=_0x21d757,this[_0x1a55ee(0x4f9)]=_0x1afc45,this[_0x1a55ee(0x3a5)]=_0xcd82aa,this[_0x1a55ee(0x198)]=_0x372e3a,this['_snapshotService']=_0x1e64d3,Y(this,_0x1a55ee(0x2f1),null),Y(this,_0x1a55ee(0x438),null),Y(this,_0x1a55ee(0x25c),null),this[_0x1a55ee(0x2b8)](this[_0x1a55ee(0x4f9)][_0x1a55ee(0x364)][_0x1a55ee(0x271)](_0x4b94d5=>this[_0x1a55ee(0x432)](_0x4b94d5)));}[_0x763d2d(0x200)](){const _0x2e73f0=_0x763d2d;this[_0x2e73f0(0x25b)](),super[_0x2e73f0(0x200)]();}['_syncActiveChart'](_0x1a0987){const _0x1b2f90=_0x763d2d;if(!_0x1a0987||_0x1a0987[_0x1b2f90(0x2d4)]!==this['_renderContext']['unitId']){this['_clearActiveLayer']();return;}let _0xf38b0=this['_boardElementService'][_0x1b2f90(0x225)](_0x1a0987[_0x1b2f90(0x2d4)],_0x1a0987[_0x1b2f90(0x469)]),_0x8bf564=_0xf38b0[_0x1a0987[_0x1b2f90(0x4e5)]];if(!_0x8bf564||_0x8bf564['element'][_0x1b2f90(0x304)]!==_0x12b759['Chart']||_0x8bf564[_0x1b2f90(0x50f)]['chartId']!==_0x1a0987[_0x1b2f90(0x3e5)]){this[_0x1b2f90(0x25b)]();return;}let _0x40c471=_0xf45239(_0xf38b0,_0x8bf564['elementId']);if(!_0x40c471){this[_0x1b2f90(0x25b)]();return;}let _0x35fff8=_0x8bf564[_0x1b2f90(0x50f)],_0x2ef5ec=_0x35fff8['chartId'],_0x5b7bdb=['board-chart-active',_0x1a0987[_0x1b2f90(0x2d4)],_0x1a0987['subUnitId'],_0x8bf564['elementId']][_0x1b2f90(0x2d5)](':');if(this['_activeLayerId']===_0x5b7bdb){this[_0x1b2f90(0x25c)]={'chartId':_0x2ef5ec,'unitId':_0x1a0987[_0x1b2f90(0x2d4)]},this[_0x1b2f90(0x198)]['updateItem'](_0x5b7bdb,{'rect':_0x40c471,'content':()=>_0xb12f60(Hr,{'chartId':_0x2ef5ec,'chartElement':_0x35fff8,'unitId':_0x1a0987['unitId']})});return;}this[_0x1b2f90(0x25b)](),this[_0x1b2f90(0x2f1)]=_0x5b7bdb,this[_0x1b2f90(0x25c)]={'chartId':_0x2ef5ec,'unitId':_0x1a0987['unitId']},this[_0x1b2f90(0x438)]=this[_0x1b2f90(0x198)][_0x1b2f90(0x4e6)]({'id':_0x5b7bdb,'unitId':_0x1a0987[_0x1b2f90(0x2d4)],'subUnitId':_0x1a0987[_0x1b2f90(0x469)],'elementId':_0x8bf564[_0x1b2f90(0x4e5)],'rect':_0x40c471,'interactive':!0x0,'zIndex':0x1,'content':()=>_0xb12f60(Hr,{'chartId':_0x2ef5ec,'chartElement':_0x35fff8,'unitId':_0x1a0987[_0x1b2f90(0x2d4)]})});}[_0x763d2d(0x25b)](){const _0x19de51=_0x763d2d;var _0x3acb35;let _0x38f54b=this[_0x19de51(0x25c)];(_0x3acb35=this['_activeLayerDisposable'])==null||_0x3acb35[_0x19de51(0x200)](),this['_activeLayerDisposable']=null,this[_0x19de51(0x2f1)]=null,this[_0x19de51(0x25c)]=null,_0x38f54b&&this[_0x19de51(0x2bf)][_0x19de51(0x1ff)](_0x38f54b['unitId'],_0x38f54b[_0x19de51(0x3e5)]);}};Yr=Z([X(0x1,_0x1b1a65(Q)),X(0x2,_0x3371ae),X(0x3,_0x1b1a65(_0x481ff1)),X(0x4,_0x1b1a65(Jr))],Yr);let Xr=class extends _0x3dbc5d{constructor(_0x1f9c58,_0x80fad6,_0x4755bf,_0x47a572){const _0x5d6d86=_0x763d2d;super(),this[_0x5d6d86(0x21f)]=_0x1f9c58,this[_0x5d6d86(0x2bf)]=_0x80fad6,this[_0x5d6d86(0x514)]=_0x4755bf,this['_modelService']=_0x47a572,this[_0x5d6d86(0x18f)]();}[_0x763d2d(0x18f)](){const _0x489ee5=_0x763d2d;this[_0x489ee5(0x2b8)](this[_0x489ee5(0x21f)]['onCommandExecuted'](_0xd30b7f=>{const _0x23a04c=_0x489ee5;if(_0xd30b7f['id']===_0x4ab44d['id']){var _0x21e158;let _0x3f56da=_0xd30b7f[_0x23a04c(0x3c7)];_0x3f56da!=null&&_0x3f56da[_0x23a04c(0x2d4)]&&(_0x21e158=_0x3f56da[_0x23a04c(0x309)])!=null&&_0x21e158['id']&&(this['_shouldWaitForChartConfig'](_0x3f56da)?this['_snapshotService']['invalidateChart'](_0x3f56da['unitId'],_0x3f56da[_0x23a04c(0x309)]['id'],{'waitForConfig':!0x0}):this[_0x23a04c(0x2bf)][_0x23a04c(0x1ff)](_0x3f56da[_0x23a04c(0x2d4)],_0x3f56da[_0x23a04c(0x309)]['id']));return;}if(_0xd30b7f['id']===_0x550a25['id']){var _0x19464f;let _0x5b0799=_0xd30b7f[_0x23a04c(0x3c7)];if(!(_0x5b0799!=null&&_0x5b0799[_0x23a04c(0x2d4)])||!((_0x19464f=_0x5b0799[_0x23a04c(0x1bb)])!=null&&_0x19464f['id']))return;this['_resourceService'][_0x23a04c(0x2dc)](_0x5b0799['unitId'],_0x5b0799['dataSource']['id'])['forEach'](_0x47f018=>this[_0x23a04c(0x2bf)][_0x23a04c(0x1ff)](_0x5b0799[_0x23a04c(0x2d4)],_0x47f018,{'waitForConfig':!0x0}));}}));}[_0x763d2d(0x2cf)](_0x47f45b){const _0x12fa8f=_0x763d2d;var _0x419601;let _0x158b6b=(_0x419601=this['_modelService']['getChartModel'](_0x47f45b['unitId'],_0x47f45b[_0x12fa8f(0x309)]['id']))==null||(_0x419601=_0x419601[_0x12fa8f(0x29b)][_0x12fa8f(0x4a0)])==null?void 0x0:_0x419601[_0x12fa8f(0x304)];return _0x158b6b!=null&&_0x158b6b!==_0x47f45b[_0x12fa8f(0x309)][_0x12fa8f(0x4b5)];}};Xr=Z([X(0x0,_0x22f25e),X(0x1,_0x1b1a65(Jr)),X(0x2,_0x1b1a65(_0x5766b0)),X(0x3,_0x1b1a65(_0x32e828))],Xr);var Zr=_0x763d2d(0x2be),Qr='1.0.0-alpha.8';const $r={'scaleX':0x1,'scaleY':0x1};function ei(_0x23a41d){const _0x20d946=_0x763d2d;let _0x533d05=_0x23a41d[_0x20d946(0x32d)];return typeof MouseEvent<'u'&&_0x533d05 instanceof MouseEvent?_0x533d05:void 0x0;}function ti(_0x5e1dd6){const _0x2591af=_0x763d2d;let _0xb00897=_0x5e1dd6[_0x2591af(0x32d)],_0x1190ab=_0xb00897==null?void 0x0:_0xb00897[_0x2591af(0x439)];return typeof Element<'u'&&_0x1190ab instanceof Element?_0x1190ab:void 0x0;}function ni(_0x5d9d4b){const _0xeeeb22=_0x763d2d;return _0x5d9d4b[_0xeeeb22(0x45e)]||_0x5d9d4b[_0xeeeb22(0x2a6)]-_0x5d9d4b['left'];}function ri(_0xce1945){const _0x47ae02=_0x763d2d;return _0xce1945[_0x47ae02(0x2d1)]||_0xce1945[_0x47ae02(0x45d)]-_0xce1945['top'];}function ii(_0x19d033,_0x5b07ba){const _0x5c5ede=_0x763d2d;let _0x1e4ee6=_0x19d033[_0x5c5ede(0x31d)]||(typeof HTMLElement<'u'&&_0x19d033 instanceof HTMLElement?_0x19d033[_0x5c5ede(0x50d)]:0x0),_0x542951=_0x19d033['clientHeight']||(typeof HTMLElement<'u'&&_0x19d033 instanceof HTMLElement?_0x19d033[_0x5c5ede(0x3be)]:0x0),_0x44282b=ni(_0x5b07ba),_0x4c2dcd=ri(_0x5b07ba);return{'scaleX':_0x1e4ee6>0x0&&_0x44282b>0x0?_0x44282b/_0x1e4ee6:$r[_0x5c5ede(0x1cf)],'scaleY':_0x542951>0x0&&_0x4c2dcd>0x0?_0x4c2dcd/_0x542951:$r[_0x5c5ede(0x451)]};}function ai(_0x392f44,_0x462905,_0x7e9814){const _0x464c14=_0x763d2d;return{'left':_0x392f44['left']+_0x462905[_0x464c14(0x2c9)]*_0x7e9814[_0x464c14(0x1cf)],'right':_0x392f44[_0x464c14(0x2c9)]+_0x462905[_0x464c14(0x2a6)]*_0x7e9814[_0x464c14(0x1cf)],'top':_0x392f44['top']+_0x462905['top']*_0x7e9814['scaleY'],'bottom':_0x392f44['top']+_0x462905[_0x464c14(0x45d)]*_0x7e9814[_0x464c14(0x451)]};}function oi(_0x4931ee){const _0x79c41d=_0x763d2d;let _0x50f938=ti(_0x4931ee),_0xe1760b=_0x4931ee[_0x79c41d(0x4ff)][_0x79c41d(0x1d9)];return _0x50f938&&_0xe1760b?()=>{const _0x44ab55=_0x79c41d;let _0x31c2a0=_0x50f938[_0x44ab55(0x2c6)]();return ai(_0x31c2a0,_0xe1760b,ii(_0x50f938,_0x31c2a0));}:()=>{const _0x38b86c=_0x79c41d;var _0x4ddfad,_0x194174;let _0x4d047e=_0x50f938==null?void 0x0:_0x50f938[_0x38b86c(0x2c6)]();if(_0x50f938&&_0x4d047e&&_0xe1760b)return ai(_0x4d047e,_0xe1760b,ii(_0x50f938,_0x4d047e));let _0x35176f=ei(_0x4931ee),_0x4104b7=_0x50f938&&_0x4d047e?ii(_0x50f938,_0x4d047e):$r,_0x3c198d=(_0x4ddfad=_0x35176f==null?void 0x0:_0x35176f[_0x38b86c(0x522)])==null?_0x4d047e?_0x4d047e['left']+_0x4931ee['localPoint']['x']*_0x4104b7[_0x38b86c(0x1cf)]:_0x4931ee[_0x38b86c(0x463)]['x']:_0x4ddfad,_0x4ecc1b=(_0x194174=_0x35176f==null?void 0x0:_0x35176f[_0x38b86c(0x210)])==null?_0x4d047e?_0x4d047e[_0x38b86c(0x351)]+_0x4931ee['localPoint']['y']*_0x4104b7[_0x38b86c(0x451)]:_0x4931ee[_0x38b86c(0x463)]['y']:_0x194174;return{'left':_0x3c198d,'right':_0x3c198d+0x1,'top':_0x4ecc1b,'bottom':_0x4ecc1b+0x1};};}function si(_0x3a2b27){const _0x5a4d1b=_0x763d2d;return _0x3a2b27[_0x5a4d1b(0x2a6)]<=_0x3a2b27[_0x5a4d1b(0x2c9)]||_0x3a2b27[_0x5a4d1b(0x45d)]<=_0x3a2b27[_0x5a4d1b(0x351)]?!0x1:typeof window>'u'||_0x3a2b27['right']>0x0&&_0x3a2b27[_0x5a4d1b(0x45d)]>0x0&&_0x3a2b27[_0x5a4d1b(0x2c9)]<window['innerWidth']&&_0x3a2b27[_0x5a4d1b(0x351)]<window['innerHeight'];}function ci(_0x36a96e,_0x2a4166){const _0x1656b0=_0x763d2d;let _0x5ea8b2=oi(_0x36a96e),_0x46125c=_0x5ea8b2(),_0x3f7236=new _0x15488c(_0x46125c),_0x2b9afd=new _0x543f35(),_0x1ed4ff=!0x1,_0x1e4c6f=!0x1;return typeof window<'u'&&_0x2b9afd[_0x1656b0(0x30c)](_0x271979(_0x58acbf(window,_0x1656b0(0x241),{'capture':!0x0}),_0x58acbf(window,_0x1656b0(0x1b4)))['pipe'](_0x13980d(0x10))[_0x1656b0(0x271)](()=>{_0x1e4c6f||_0x1ed4ff||(_0x1e4c6f=!0x0,queueMicrotask(()=>{const _0x5383a9=_0x2c90;if(_0x1e4c6f=!0x1,_0x1ed4ff)return;let _0x19580d=_0x5ea8b2();if(!si(_0x19580d)){_0x2a4166();return;}_0x3f7236[_0x5383a9(0x2b9)](_0x19580d);}));})),{'initialRect':_0x46125c,'anchorRect$':_0x3f7236[_0x1656b0(0x382)](),'visible':si(_0x46125c),'dispose':()=>{const _0xfba7e0=_0x1656b0;_0x1ed4ff=!0x0,_0x2b9afd[_0xfba7e0(0x200)](),_0x3f7236[_0xfba7e0(0x4de)]();}};}function li(_0x41e5bb){const _0x451e0c=_0x763d2d;return _0x41e5bb===_0x165125[_0x451e0c(0x2b4)]||_0x41e5bb===_0x165125[_0x451e0c(0x242)]||_0x41e5bb===_0x165125[_0x451e0c(0x346)]||_0x50211b[_0x451e0c(0x1a2)](_0x41e5bb,_0x165125[_0x451e0c(0x40b)])||_0x50211b[_0x451e0c(0x1a2)](_0x41e5bb,_0x165125[_0x451e0c(0x381)])||_0x50211b['baseOn'](_0x41e5bb,_0x165125[_0x451e0c(0x47a)])||_0x50211b[_0x451e0c(0x1a2)](_0x41e5bb,_0x165125[_0x451e0c(0x4b8)]);}function ui(_0x12160e){const _0x3a018c=_0x763d2d;switch(_0x12160e){case _0x41f63d[_0x3a018c(0x2bc)]:return _0x3a018c(0x2bc);case _0x41f63d[_0x3a018c(0x367)]:return _0x3a018c(0x367);case _0x41f63d[_0x3a018c(0x202)]:return _0x3a018c(0x202);default:return;}}function di(_0x639d8d,_0x3af53a){const _0x12afa2=_0x763d2d;var _0x5afe5c;if(typeof _0x3af53a[_0x12afa2(0x3e7)]!=_0x12afa2(0x502))return;let _0x839f8c=(_0x5afe5c=_0x639d8d['context'])==null||(_0x5afe5c=_0x5afe5c[_0x12afa2(0x52e)])==null?void 0x0:_0x5afe5c[_0x3af53a['seriesIndex']],_0x22c845=_0x839f8c===void 0x0?_0x3af53a[_0x12afa2(0x32b)]:String(_0x839f8c);if(typeof _0x22c845=='string')return{'seriesId':_0x22c845,'seriesIndex':_0x3af53a[_0x12afa2(0x3e7)]};}function fi(_0x210b1a,_0x443dac){const _0x1635ac=_0x763d2d;let _0x5389de=_0x210b1a[_0x1635ac(0x4b5)],_0x1ad847={'scope':_0x1635ac(0x3b0)};if(_0x443dac[_0x1635ac(0x32b)]!==void 0x0&&(_0x1ad847[_0x1635ac(0x32b)]=_0x443dac[_0x1635ac(0x32b)]),_0x443dac[_0x1635ac(0x3e7)]!==void 0x0&&(_0x1ad847[_0x1635ac(0x3e7)]=_0x443dac[_0x1635ac(0x3e7)]),_0x443dac[_0x1635ac(0x385)]!==void 0x0&&(_0x1ad847['dataIndex']=_0x443dac[_0x1635ac(0x385)]),_0x50211b[_0x1635ac(0x1a2)](_0x5389de,_0x165125['Pie']))return{..._0x1ad847,'directEdit':{'kind':_0x1635ac(0x22b)},'panel':_0x1635ac(0x22b)};if(_0x50211b['baseOn'](_0x5389de,_0x165125[_0x1635ac(0x1d7)]))return _0x443dac[_0x1635ac(0x3e7)]===0x0?{..._0x1ad847,'directEdit':{'kind':_0x1635ac(0x22a),'part':_0x1635ac(0x1fd)},'panel':'paretoBarSeries'}:_0x443dac['seriesIndex']===0x1?{..._0x1ad847,'directEdit':{'kind':_0x1635ac(0x22a),'part':_0x1635ac(0x293)},'panel':_0x1635ac(0x26a)}:{..._0x1ad847,'panel':_0x1635ac(0x473)};if(_0x50211b['baseOn'](_0x5389de,_0x165125[_0x1635ac(0x1cd)])){var _0x5ca6f5;let _0x286cc1=ui(_0x443dac['waterfallSeriesType']),_0x2c80a6=(_0x5ca6f5=_0x443dac['baseSeriesIndex'])==null?_0x443dac['seriesId']:_0x5ca6f5;return _0x286cc1&&_0x2c80a6?{..._0x1ad847,'seriesId':_0x2c80a6,'directEdit':{'kind':_0x1635ac(0x2e8),'seriesId':_0x2c80a6,'seriesIndex':_0x443dac[_0x1635ac(0x3e7)],'part':_0x286cc1},'panel':'waterfallSeries'}:{..._0x1ad847,'seriesId':_0x2c80a6,'panel':_0x1635ac(0x397)};}if(li(_0x5389de)){let _0x4ee4e8=di(_0x210b1a,_0x443dac);return _0x4ee4e8?{..._0x1ad847,'seriesId':_0x4ee4e8[_0x1635ac(0x32b)],'seriesIndex':_0x4ee4e8[_0x1635ac(0x3e7)],'directEdit':{'kind':'seriesStyle','seriesId':_0x4ee4e8[_0x1635ac(0x32b)],'seriesIndex':_0x4ee4e8[_0x1635ac(0x3e7)]}}:void 0x0;}return _0x50211b[_0x1635ac(0x1a2)](_0x5389de,_0x165125[_0x1635ac(0x277)])?{..._0x1ad847,'panel':_0x1635ac(0x513)}:_0x50211b['baseOn'](_0x5389de,_0x165125[_0x1635ac(0x311)])?{..._0x1ad847,'panel':_0x1635ac(0x284)}:{..._0x1ad847,'panel':'data'};}function pi(_0x40536c,_0x3fe3a5){const _0x48f055=_0x763d2d;let _0x2ddb6f=_0x3fe3a5[_0x48f055(0x51f)]===_0x48f055(0x3b0)?fi(_0x40536c,_0x3fe3a5):_0x38d5c4(_0x3fe3a5);if(_0x2ddb6f)return{'target':_0x2ddb6f,'showFloatMenu':_0x2ddb6f[_0x48f055(0x4d4)]!=='mark'||!!_0x2ddb6f['directEdit']};}const mi='boards-chart-element-float-menu';function hi(_0x112b7a,_0x1e6078){return _0x112b7a+'::'+_0x1e6078;}let gi=class extends _0x3dbc5d{constructor(_0x42346,_0x16bd20,_0x55d331,_0x305c81,_0x5ea801,_0x640092,_0x1333ef){const _0x7f6283=_0x763d2d;super(),this[_0x7f6283(0x4c3)]=_0x42346,this['_chartRenderService']=_0x16bd20,this[_0x7f6283(0x2da)]=_0x55d331,this[_0x7f6283(0x4f9)]=_0x305c81,this['_adapterRegistry']=_0x5ea801,this[_0x7f6283(0x4b2)]=_0x640092,this[_0x7f6283(0x448)]=_0x1333ef,Y(this,'_chartEventDisposables',new Map()),Y(this,'_popupDisposable',null),Y(this,_0x7f6283(0x378),null),this[_0x7f6283(0x384)](),this[_0x7f6283(0x409)]();}['dispose'](){const _0x222107=_0x763d2d;this[_0x222107(0x383)](),this['_chartEventDisposables']['forEach'](_0x5c7b4d=>_0x5c7b4d[_0x222107(0x200)]()),this['_chartEventDisposables'][_0x222107(0x4a3)](),super['dispose']();}[_0x763d2d(0x384)](){const _0x19746b=_0x763d2d;this['disposeWithMe'](this[_0x19746b(0x4c2)]['register'](mi,{'getState':(_0x39b4ef,_0x65ab0f)=>{const _0x40e5de=_0x19746b;this[_0x40e5de(0x4c3)][_0x40e5de(0x312)](_0x39b4ef[_0x40e5de(0x2d4)],_0x39b4ef[_0x40e5de(0x3e5)]);let _0x211bc0=this['_boardChartUIService'][_0x40e5de(0x3cf)](_0x65ab0f);return _0x211bc0 instanceof _0x1c50f0?_0x211bc0:_0x211bc0==null?void 0x0:_0x211bc0[_0x40e5de(0x28e)]();},'setState':(_0x5640a2,_0x3afcde,_0x5a361d)=>{const _0x7ac6d1=_0x19746b;this[_0x7ac6d1(0x4c3)]['setActiveChartById'](_0x5640a2['unitId'],_0x5640a2[_0x7ac6d1(0x3e5)]);let _0x82720f=this[_0x7ac6d1(0x2da)][_0x7ac6d1(0x3cf)](_0x3afcde);if(!(_0x82720f instanceof _0x1c50f0)){var _0x333490;_0x82720f==null||(_0x333490=_0x82720f[_0x7ac6d1(0x45a)])==null||_0x333490[_0x7ac6d1(0x1e7)](_0x82720f,_0x5a361d);}},'close':()=>this[_0x19746b(0x383)](),'openFullPanel':_0x16c8ff=>{const _0xf83c09=_0x19746b;this[_0xf83c09(0x4c3)][_0xf83c09(0x312)](_0x16c8ff['unitId'],_0x16c8ff[_0xf83c09(0x3e5)]);let _0x9698a7=this[_0xf83c09(0x4f9)][_0xf83c09(0x2d9)]();(_0x9698a7==null?void 0x0:_0x9698a7[_0xf83c09(0x2d4)])===_0x16c8ff[_0xf83c09(0x2d4)]&&_0x9698a7[_0xf83c09(0x3e5)]===_0x16c8ff[_0xf83c09(0x3e5)]&&this[_0xf83c09(0x4f9)]['open']({..._0x9698a7,'source':'programmatic'}),this[_0xf83c09(0x383)]();}}));}['_subscribeChartEvents'](){const _0x596992=_0x763d2d;this[_0x596992(0x2b8)](this['_modelService'][_0x596992(0x1f4)][_0x596992(0x271)](_0x39b5f8=>{const _0x1a8e9b=_0x596992;let _0x239686=hi(_0x39b5f8['unitId'],_0x39b5f8[_0x1a8e9b(0x3e5)]);if(this[_0x1a8e9b(0x2a1)][_0x1a8e9b(0x3f0)](_0x239686))return;let _0x5310d6=new _0x543f35();_0x5310d6['add'](this[_0x1a8e9b(0x3d2)]['on'](_0x39b5f8[_0x1a8e9b(0x2d4)],_0x39b5f8[_0x1a8e9b(0x3e5)],_0x1a8e9b(0x496),_0x2cc2a0=>{const _0x5e2832=_0x1a8e9b;this[_0x5e2832(0x436)](_0x39b5f8[_0x5e2832(0x2d4)],_0x39b5f8[_0x5e2832(0x3e5)],_0x2cc2a0);})),this[_0x1a8e9b(0x2a1)][_0x1a8e9b(0x45a)](_0x239686,_0x5310d6);})),this['disposeWithMe'](this['_modelService'][_0x596992(0x489)]['subscribe'](_0x40982f=>{const _0x5acaf1=_0x596992;var _0x27b28c;let _0x400f8=hi(_0x40982f['unitId'],_0x40982f[_0x5acaf1(0x3e5)]);(_0x27b28c=this[_0x5acaf1(0x2a1)][_0x5acaf1(0x28e)](_0x400f8))==null||_0x27b28c['dispose'](),this['_chartEventDisposables']['delete'](_0x400f8),this['_popupRuntimeKey']===_0x400f8&&this[_0x5acaf1(0x383)]();})),this['disposeWithMe'](this[_0x596992(0x4c3)][_0x596992(0x1af)][_0x596992(0x271)](_0x25d32a=>{const _0x4acfae=_0x596992;let _0x1cd059=_0x25d32a?hi(_0x25d32a[_0x4acfae(0x2d4)],_0x25d32a[_0x4acfae(0x3e5)]):null;(!_0x1cd059||this[_0x4acfae(0x378)]&&_0x1cd059!==this['_popupRuntimeKey'])&&this['_closePopup']();}));}['_openFloatMenu'](_0x18a4fe,_0x430d71,_0x4b4f33){const _0x4018f6=_0x763d2d;if(!this['_chartRenderService']['isElementEditModeActive'](_0x18a4fe,_0x430d71))return;let _0xef392c=this[_0x4018f6(0x4c3)][_0x4018f6(0x2ae)](_0x18a4fe,_0x430d71),_0x312762=_0xef392c?pi(_0xef392c[_0x4018f6(0x29b)],_0x4b4f33['hit']):void 0x0;if(!_0xef392c||!_0x312762){this[_0x4018f6(0x383)]();return;}if(this[_0x4018f6(0x4c3)]['setActiveChartRuntime'](_0xef392c),this[_0x4018f6(0x383)](),!_0x312762[_0x4018f6(0x299)])return;let _0x5d1df9=this[_0x4018f6(0x448)][_0x4018f6(0x212)](_0x18a4fe);if(!_0x5d1df9)return;let _0x3b54c6=ci(_0x4b4f33,()=>this[_0x4018f6(0x49b)](_0x18a4fe,_0x430d71));if(!_0x3b54c6[_0x4018f6(0x425)]){_0x3b54c6[_0x4018f6(0x200)]();return;}let _0x494e7c=this[_0x4018f6(0x4b2)]['addPopup']({'componentKey':_0x35c88e,'direction':_0x4018f6(0x229),'offset':[0x0,0x8],'unitId':_0x18a4fe,'subUnitId':'','anchorRect':_0x3b54c6[_0x4018f6(0x3f4)],'anchorRect$':_0x3b54c6['anchorRect$'],'canvasElement':_0x5d1df9[_0x4018f6(0x4af)][_0x4018f6(0x35f)](),'extraProps':{'host':_0x4018f6(0x4d9),'unitId':_0x18a4fe,'chartId':_0x430d71,'element':_0x4b4f33[_0x4018f6(0x4ff)],'target':_0x312762[_0x4018f6(0x439)],'adapterKey':mi}}),_0x2338f2=new _0x543f35();_0x2338f2[_0x4018f6(0x30c)](_0x3b54c6),_0x2338f2[_0x4018f6(0x30c)]({'dispose':()=>this[_0x4018f6(0x4b2)][_0x4018f6(0x23d)](_0x494e7c)}),this[_0x4018f6(0x3fa)]=_0x2338f2,this[_0x4018f6(0x378)]=hi(_0x18a4fe,_0x430d71);}['_closePopup'](){const _0x566509=_0x763d2d;var _0x272843;(_0x272843=this[_0x566509(0x3fa)])==null||_0x272843[_0x566509(0x200)](),this[_0x566509(0x3fa)]=null,this[_0x566509(0x378)]=null;}[_0x763d2d(0x49b)](_0x1fe0ed,_0x5491c9){const _0x2d0e2c=_0x763d2d;this[_0x2d0e2c(0x383)](),this['_chartRenderService'][_0x2d0e2c(0x34c)](_0x1fe0ed,_0x5491c9)&&(this['_chartRenderService'][_0x2d0e2c(0x226)](_0x1fe0ed,_0x5491c9,!0x1),this[_0x2d0e2c(0x3d2)][_0x2d0e2c(0x226)](_0x1fe0ed,_0x5491c9,!0x0));}};gi=Z([X(0x0,_0x1b1a65(_0x32e828)),X(0x1,_0x1b1a65(Rr)),X(0x2,yn),X(0x3,_0x1b1a65(Q)),X(0x4,_0x1b1a65(_0x28f7d6)),X(0x5,_0x1b1a65(_0x49c0ce)),X(0x6,_0x1739c3)],gi);function _i(_0x529a9f,_0x503d5e,_0x5d3198){let _0x57a068={'chartType':_0x503d5e,'data':_0x5d3198};return{..._0x529a9f,'options':_0x57a068};}function vi(_0x9ed127){const _0x41183a=_0x763d2d;let _0x1d284e=_0x2b685c(_0x22f25e),_0x13584c=_0x2b685c(_0x344124),_0x32efd4=_0x236c68(()=>_0x5ad802(_n[_0x41183a(0x4e0)](_0x3ffca1=>({..._0x3ffca1,'label':_0x13584c['t'](_0x3ffca1[_0x41183a(0x410)])}))),[_0x13584c]),[_0x536041,_0x10c6fe]=_0x3b09b5(_0x165125[_0x41183a(0x381)]),[_0x3562f4,_0x3e3a73]=_0x3b09b5(()=>_0x1072c6[_0x41183a(0x4e0)](_0x25a8f7=>[..._0x25a8f7])),[_0x3dfb13,_0x4821c7]=_0x3b09b5(null),_0x3c0436=_0x45e3de=>_0x260c93(_0x45e3de,_0x29120d=>_0x13584c['t'](_0x41183a(0x4eb)+_0x29120d)),_0x49cae2=async()=>{const _0xdb6817=_0x41183a;var _0x528a5c;let _0x184a3a=_0x2b4b49(_0x3562f4);if(_0x184a3a['length']===0x0){_0x4821c7(_0x13584c['t']('boards-chart-ui.dataEditor.tableEmpty'));return;}if(!await _0x1d284e[_0xdb6817(0x458)](_0x41d951['id'],_i(_0x9ed127[_0xdb6817(0x41e)],_0x536041,_0x184a3a))){_0x4821c7(_0x13584c['t'](_0xdb6817(0x356)));return;}_0x4821c7(null),(_0x528a5c=_0x9ed127[_0xdb6817(0x50b)])==null||_0x528a5c[_0xdb6817(0x1e7)](_0x9ed127);};return _0x4f0e43(_0x41183a(0x290),{'className':_0x41183a(0x4bb),'children':[_0x4f0e43('div',{'className':'univer-flex\x20univer-flex-col\x20univer-gap-2','children':[_0xb12f60(_0x41183a(0x290),{'className':_0x41183a(0x393),'children':_0x13584c['t']('boards-chart-ui.chartType')}),_0xb12f60(_0x40700c,{'className':'univer-w-full\x20!univer-min-w-0','value':String(_0x536041),'options':_0x32efd4,'onChange':_0x5daee1=>{let _0x2a7d6f=Number(_0x5daee1);_0x10c6fe(_0x2a7d6f);let _0x16316d=_0x3c0436(_0x2a7d6f);_0x16316d&&_0x3e3a73(_0x16316d);}})]}),_0x4f0e43(_0x41183a(0x290),{'className':_0x41183a(0x2cc),'children':[_0xb12f60(_0x41183a(0x290),{'className':_0x41183a(0x393),'children':_0x13584c['t'](_0x41183a(0x1b0))}),_0xb12f60(_0x439e10,{'values':_0x3562f4,'minColumns':_0x23e5f9(_0x536041),'parsePastedText':_0x39ad85,'onChange':_0x3e3a73})]}),_0x3dfb13&&_0xb12f60(_0x41183a(0x290),{'className':_0x41183a(0x3de),'children':_0x3dfb13}),_0x4f0e43('div',{'className':_0x41183a(0x49e),'children':[_0x9ed127['onCancel']&&_0xb12f60(_0x526b7a,{'type':_0x41183a(0x18c),'variant':'default','onClick':_0x9ed127['onCancel'],'children':_0x13584c['t']('boards-chart-ui.dataEditor.cancel')}),_0xb12f60(_0x526b7a,{'type':_0x41183a(0x18c),'variant':'primary','onClick':()=>void _0x49cae2(),'children':_0x13584c['t'](_0x41183a(0x285))})]})]});}let yi=class extends _0x3dbc5d{constructor(_0x30b348){const _0x35065a=_0x763d2d;super(),this[_0x35065a(0x189)]=_0x30b348,this[_0x35065a(0x235)]();}['_registerComponents'](){const _0x504cc6=_0x763d2d;this['disposeWithMe'](this[_0x504cc6(0x189)][_0x504cc6(0x4b7)](Ln,kr)),this[_0x504cc6(0x2b8)](this[_0x504cc6(0x189)][_0x504cc6(0x4b7)](Pn,Fn)),this[_0x504cc6(0x2b8)](this['_componentManager'][_0x504cc6(0x4b7)](_0x1b3053,vi)),this['disposeWithMe'](this[_0x504cc6(0x189)][_0x504cc6(0x4b7)](Dn,An));}};yi=Z([X(0x0,_0x1b1a65(_0x20fc20))],yi);var bi=class extends _0x318066{constructor(_0x5cfbd6,_0x485e25){const _0x4bccaa=_0x763d2d;super(_0x5cfbd6,_0x485e25),Y(this,_0x4bccaa(0x1d1),void 0x0),Y(this,_0x4bccaa(0x4a9),void 0x0),this['_element']=_0x485e25[_0x4bccaa(0x50f)],this[_0x4bccaa(0x4a9)]=_0x485e25[_0x4bccaa(0x199)],this[_0x4bccaa(0x287)]();}[_0x763d2d(0x38e)](_0x106d3c){const _0x3cdef8=_0x763d2d;this[_0x3cdef8(0x1d1)]=_0x106d3c,this[_0x3cdef8(0x197)](!0x0);}[_0x763d2d(0x386)](_0x21fca){const _0x278c48=_0x763d2d;Si(this[_0x278c48(0x4a9)],_0x21fca)||(this[_0x278c48(0x4a9)]=_0x21fca,this[_0x278c48(0x197)](!0x0));}[_0x763d2d(0x527)](){const _0x4ac4f6=_0x763d2d;return this[_0x4ac4f6(0x1d1)];}[_0x763d2d(0x3f5)](){return this['_frameStyle'];}['changeChartSource'](_0x121738){const _0x310f72=_0x763d2d;this[_0x310f72(0x4db)]==null&&(this['_native']=document[_0x310f72(0x443)](_0x310f72(0x2e2)),this[_0x310f72(0x4db)][_0x310f72(0x515)]=_0x310f72(0x526)),this[_0x310f72(0x287)](),this['_native'][_0x310f72(0x446)]=_0x121738;}[_0x763d2d(0x2aa)](_0x188498,_0x454364,_0x2a4157=this[_0x763d2d(0x45e)],_0x1ca9b3=this[_0x763d2d(0x2d1)]){const _0x3a2245=_0x763d2d;let _0x560ed8=this[_0x3a2245(0x4a9)],_0x2977dd=Nr({'width':_0x2a4157,'height':_0x1ca9b3},_0x560ed8);_0x188498[_0x3a2245(0x41b)](),_0x188498[_0x3a2245(0x22e)](-_0x2a4157/0x2,-_0x1ca9b3/0x2),xi(_0x188498,0x0,0x0,_0x2a4157,_0x1ca9b3,_0x560ed8['radius']),_0x188498['fillStyle']=_0x560ed8[_0x3a2245(0x1e5)],_0x188498[_0x3a2245(0x1e5)](),_0x188498[_0x3a2245(0x24a)](),this[_0x3a2245(0x1b3)](_0x188498,_0x2a4157,_0x1ca9b3,_0x2977dd,_0x560ed8),this[_0x3a2245(0x482)](_0x188498,_0x2a4157,_0x1ca9b3,_0x560ed8);}[_0x763d2d(0x1b3)](_0x24e0db,_0x5f3212,_0x1b79b0,_0x37a85f,_0x2be13d){const _0x2d3636=_0x763d2d;var _0x2251b5;!((_0x2251b5=this['_native'])!=null&&_0x2251b5[_0x2d3636(0x4de)])||this['_native'][_0x2d3636(0x3cc)]<=0x0||this[_0x2d3636(0x4db)][_0x2d3636(0x326)]<=0x0||(_0x24e0db[_0x2d3636(0x41b)](),_0x24e0db[_0x2d3636(0x22e)](-_0x5f3212/0x2,-_0x1b79b0/0x2),xi(_0x24e0db,_0x37a85f[_0x2d3636(0x2c9)],_0x37a85f[_0x2d3636(0x351)],_0x37a85f['width'],_0x37a85f[_0x2d3636(0x2d1)],Math[_0x2d3636(0x4d5)](0x0,_0x2be13d[_0x2d3636(0x30f)]-_0x2be13d['strokeWidth'])),_0x24e0db[_0x2d3636(0x286)](),_0x24e0db[_0x2d3636(0x40a)](this['_native'],_0x37a85f['left'],_0x37a85f[_0x2d3636(0x351)],_0x37a85f[_0x2d3636(0x45e)],_0x37a85f['height']),_0x24e0db[_0x2d3636(0x24a)]());}[_0x763d2d(0x482)](_0x5c69da,_0xb38d0b,_0xb88979,_0x2827e5){const _0x7efadb=_0x763d2d;if(_0x2827e5[_0x7efadb(0x48c)]<=0x0)return;let _0x37cbec=Pr({'width':_0xb38d0b,'height':_0xb88979},_0x2827e5);_0x5c69da[_0x7efadb(0x41b)](),_0x5c69da[_0x7efadb(0x22e)](-_0xb38d0b/0x2,-_0xb88979/0x2),xi(_0x5c69da,_0x37cbec['left'],_0x37cbec['top'],_0x37cbec['width'],_0x37cbec[_0x7efadb(0x2d1)],_0x37cbec['radius']),_0x5c69da[_0x7efadb(0x220)]=_0x2827e5['stroke'],_0x5c69da[_0x7efadb(0x3a2)]=_0x2827e5[_0x7efadb(0x48c)],_0x5c69da[_0x7efadb(0x331)](),_0x5c69da['restore']();}[_0x763d2d(0x520)](){const _0x1ece9e=_0x763d2d;var _0x108c73;let _0x448ed4=(_0x108c73=this[_0x1ece9e(0x3b5)]())==null?void 0x0:_0x108c73[_0x1ece9e(0x3e9)];_0x448ed4&&(_0x448ed4[_0x1ece9e(0x197)](!0x0),_0x448ed4[_0x1ece9e(0x2fe)](),_0x448ed4[_0x1ece9e(0x437)]['emitEvent'](this[_0x1ece9e(0x263)]));}[_0x763d2d(0x287)](){const _0x47d3aa=_0x763d2d;this[_0x47d3aa(0x4db)]&&(this[_0x47d3aa(0x4db)][_0x47d3aa(0x2c1)]=()=>{this['_notifyScene']();},this['_native']['onerror']=()=>{this['_notifyScene']();});}};function xi(_0x50c387,_0x57c9d3,_0x2d4619,_0x4eb13c,_0x54ec8b,_0x1220f5){const _0x4da8b5=_0x763d2d;let _0x305cf8=Math[_0x4da8b5(0x368)](_0x1220f5||0x0,_0x4eb13c/0x2,_0x54ec8b/0x2);if(_0x50c387[_0x4da8b5(0x3fc)](),!_0x305cf8){_0x50c387[_0x4da8b5(0x4fa)](_0x57c9d3,_0x2d4619,_0x4eb13c,_0x54ec8b),_0x50c387[_0x4da8b5(0x52a)]();return;}_0x50c387['moveTo'](_0x57c9d3+_0x305cf8,_0x2d4619),_0x50c387['lineTo'](_0x57c9d3+_0x4eb13c-_0x305cf8,_0x2d4619),_0x50c387['arc'](_0x57c9d3+_0x4eb13c-_0x305cf8,_0x2d4619+_0x305cf8,_0x305cf8,Math['PI']*0x3/0x2,0x0,!0x1),_0x50c387[_0x4da8b5(0x196)](_0x57c9d3+_0x4eb13c,_0x2d4619+_0x54ec8b-_0x305cf8),_0x50c387['arc'](_0x57c9d3+_0x4eb13c-_0x305cf8,_0x2d4619+_0x54ec8b-_0x305cf8,_0x305cf8,0x0,Math['PI']/0x2,!0x1),_0x50c387[_0x4da8b5(0x196)](_0x57c9d3+_0x305cf8,_0x2d4619+_0x54ec8b),_0x50c387['arc'](_0x57c9d3+_0x305cf8,_0x2d4619+_0x54ec8b-_0x305cf8,_0x305cf8,Math['PI']/0x2,Math['PI'],!0x1),_0x50c387[_0x4da8b5(0x196)](_0x57c9d3,_0x2d4619+_0x305cf8),_0x50c387['arc'](_0x57c9d3+_0x305cf8,_0x2d4619+_0x305cf8,_0x305cf8,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x50c387[_0x4da8b5(0x52a)]();}function Si(_0x52f629,_0x1f649f){const _0x3ec3f5=_0x763d2d;return _0x52f629[_0x3ec3f5(0x1e5)]===_0x1f649f[_0x3ec3f5(0x1e5)]&&_0x52f629['stroke']===_0x1f649f[_0x3ec3f5(0x331)]&&_0x52f629[_0x3ec3f5(0x48c)]===_0x1f649f['strokeWidth']&&_0x52f629[_0x3ec3f5(0x30f)]===_0x1f649f[_0x3ec3f5(0x30f)];}function Ci(_0x1e3899){const _0x2932e1=_0x763d2d;let {element:_0x43e059}=_0x1e3899[_0x2932e1(0x44b)];return _0x43e059[_0x2932e1(0x304)]===_0x12b759[_0x2932e1(0x2d3)]?_0x43e059:null;}let wi=class{constructor(_0x175d2c,_0xf5eafa,_0x2ccdde,_0x3f4905){const _0x1acd14=_0x763d2d;this['_themeService']=_0x175d2c,this['_snapshotService']=_0xf5eafa,this[_0x1acd14(0x514)]=_0x2ccdde,this['_renderService']=_0x3f4905,Y(this,_0x1acd14(0x419),_0x1acd14(0x309)),Y(this,_0x1acd14(0x255),new WeakMap());}[_0x763d2d(0x275)](_0x506e90){const _0x579dbd=_0x763d2d;let _0x9b4ef2=Ci(_0x506e90);if(!_0x9b4ef2)return null;let _0xb8186f=Math[_0x579dbd(0x4d5)](0x1,_0x506e90['bounds']['width']),_0x3e7cb0=Math[_0x579dbd(0x4d5)](0x1,_0x506e90[_0x579dbd(0x1d9)]['height']),_0x495184=new bi(_0x506e90[_0x579dbd(0x3c1)],{'url':'data:image/svg+xml;charset=utf-8,%0A%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20160%20100%22%3E%0A%20%20%3Crect%20x%3D%220.5%22%20y%3D%220.5%22%20width%3D%22159%22%20height%3D%2299%22%20rx%3D%225%22%20fill%3D%22%23f8fafc%22%20stroke%3D%22%2394a3b8%22%2F%3E%0A%20%20%3Cpath%20d%3D%22M26%2070V47M52%2070V32M78%2070V55M104%2070V40M130%2070V25%22%20stroke%3D%22%232563eb%22%20stroke-width%3D%227%22%20stroke-linecap%3D%22round%22%2F%3E%0A%20%20%3Cpath%20d%3D%22M20%2076H140%22%20stroke%3D%22%23cbd5e1%22%20stroke-width%3D%222%22%2F%3E%0A%3C%2Fsvg%3E%0A','left':_0x506e90[_0x579dbd(0x1d9)]['left'],'top':_0x506e90[_0x579dbd(0x1d9)][_0x579dbd(0x351)],'width':_0xb8186f,'height':_0x3e7cb0,'angle':_0x506e90['bounds'][_0x579dbd(0x435)],'flipX':_0x506e90[_0x579dbd(0x1d9)]['flipX'],'flipY':_0x506e90[_0x579dbd(0x1d9)][_0x579dbd(0x3c0)],'zIndex':_0x506e90[_0x579dbd(0x2ed)],'visible':_0x9b4ef2['visible']!==!0x1,'evented':!0x0,'forceRender':!0x0,'element':_0x9b4ef2,'frameStyle':this[_0x579dbd(0x2ab)](_0x506e90[_0x579dbd(0x2d4)],_0x9b4ef2)});return this[_0x579dbd(0x3da)](_0x495184,this['_requestSnapshotForObject'](_0x506e90[_0x579dbd(0x2d4)],_0x495184),_0x506e90['unitId']),_0x495184;}[_0x763d2d(0x3a0)](_0x344205,_0x4ccec0){const _0x34824c=_0x763d2d;var _0x33c434;if(!(_0x344205 instanceof bi))return!0x1;let _0x43dbf3=Ci(_0x4ccec0);return _0x43dbf3?(_0x4ccec0[_0x34824c(0x3a6)]||_0x344205[_0x34824c(0x449)](_0x4ccec0['bounds']),_0x344205[_0x34824c(0x38e)](_0x43dbf3),this[_0x34824c(0x4ad)](_0x4ccec0[_0x34824c(0x2d4)],_0x344205),(_0x33c434=this[_0x34824c(0x255)][_0x34824c(0x28e)](_0x344205))==null||_0x33c434(),!0x0):!0x1;}['_watchSnapshotUpdates'](_0x2239fb,_0x4a4978,_0x529e71){const _0x565756=_0x763d2d;if(!_0x4a4978)return;let _0x24fde4=null,_0x32b1e7=null,_0x1755bf=!0x1,_0x4854c0=_0x5abd49=>{const _0x12e46d=_0x2c90;if(_0x32b1e7!==_0x5abd49){if(_0x24fde4==null||_0x24fde4[_0x12e46d(0x2de)](),_0x24fde4=null,_0x32b1e7=_0x5abd49,_0x5abd49['status']===_0x12e46d(0x1a4)&&_0x5abd49[_0x12e46d(0x1a9)]){_0x2239fb['changeChartSource'](_0x5abd49[_0x12e46d(0x1a9)]);return;}_0x5abd49[_0x12e46d(0x19d)]===_0x12e46d(0x494)&&(_0x24fde4=this[_0x12e46d(0x2bf)][_0x12e46d(0x36d)][_0x12e46d(0x271)](_0xaa5b20=>{const _0x1fa70a=_0x12e46d;if(_0xaa5b20!==_0x5abd49||_0xaa5b20[_0x1fa70a(0x19d)]!=='ready'||!_0xaa5b20['dataUrl']){if(_0xaa5b20===_0x5abd49&&_0xaa5b20[_0x1fa70a(0x19d)]===_0x1fa70a(0x39e)&&!_0x1755bf){_0x1755bf=!0x0;let _0x1af364=this[_0x1fa70a(0x4f8)](_0x529e71,_0x2239fb);_0x1af364&&_0x4854c0(_0x1af364);}return;}_0x2239fb[_0x1fa70a(0x52b)](_0xaa5b20[_0x1fa70a(0x1a9)]),_0x24fde4==null||_0x24fde4['unsubscribe'](),_0x24fde4=null;}));}};_0x4854c0(_0x4a4978);let _0x5312e1=()=>{const _0x475a60=_0x2c90;_0x1755bf=!0x1;let _0x479ed1=this[_0x475a60(0x4f8)](_0x529e71,_0x2239fb);_0x479ed1&&_0x4854c0(_0x479ed1);};this[_0x565756(0x255)][_0x565756(0x45a)](_0x2239fb,_0x5312e1);let _0x4b4c57=this[_0x565756(0x2bf)][_0x565756(0x4e2)][_0x565756(0x271)](_0x3f3545=>{const _0x449e48=_0x565756;_0x3f3545[_0x449e48(0x2d4)]===_0x529e71&&_0x3f3545['chartId']===_0x2239fb[_0x449e48(0x527)]()[_0x449e48(0x3e5)]&&_0x5312e1();});_0x2239fb[_0x565756(0x279)][_0x565756(0x37e)](()=>{const _0x46a4bf=_0x565756;_0x24fde4==null||_0x24fde4[_0x46a4bf(0x2de)](),_0x4b4c57[_0x46a4bf(0x2de)](),this[_0x46a4bf(0x255)]['delete'](_0x2239fb);});}['_requestSnapshotForObject'](_0x75b2df,_0x1d32ff){const _0x222400=_0x763d2d;let _0x4174c0=this[_0x222400(0x4ad)](_0x75b2df,_0x1d32ff),_0xf679d8=Nr({'width':Math['max'](0x1,_0x1d32ff[_0x222400(0x45e)]),'height':Math['max'](0x1,_0x1d32ff['height'])},_0x4174c0);return this['_snapshotService']['requestSnapshot']({'unitId':_0x75b2df,'chartId':_0x1d32ff[_0x222400(0x527)]()['chartId'],'width':_0xf679d8[_0x222400(0x45e)],'height':_0xf679d8[_0x222400(0x2d1)],'mode':_0x222400(0x1c2)});}['_updateFrameStyle'](_0x42fdec,_0x563ba7){const _0x3bd895=_0x763d2d;let _0x2cedbc=this[_0x3bd895(0x2ab)](_0x42fdec,_0x563ba7['getElement']());return _0x563ba7[_0x3bd895(0x386)](_0x2cedbc),_0x2cedbc;}[_0x763d2d(0x2ab)](_0x2c9fe5,_0x1d2cab){const _0xd55dd7=_0x763d2d;var _0x3ab093;let _0x22780e=(_0x3ab093=this['_resourceService']['getChart'](_0x2c9fe5,_0x1d2cab[_0xd55dd7(0x3e5)]))==null?void 0x0:_0x3ab093['style'];return Mr({'chartStyle':_0x22780e,'chartElement':_0x1d2cab,'hostFill':_0x22780e?this[_0xd55dd7(0x26b)][_0xd55dd7(0x3d1)](_0x22780e)[_0xd55dd7(0x1e5)]:void 0x0,'isDarkMode':this[_0xd55dd7(0x3d9)][_0xd55dd7(0x4ba)]});}};wi=Z([X(0x0,_0x1b1a65(_0x207a87)),X(0x1,_0x1b1a65(Jr)),X(0x2,_0x1b1a65(_0x5766b0)),X(0x3,_0x1b1a65(Rr))],wi);function Ti(_0x11c21f){const _0x5c6532=_0x763d2d;return _0x11c21f[_0x5c6532(0x304)]===_0x12b759['Chart'];}let Ei=class{constructor(_0xa622a5){const _0x14864f=_0x763d2d;this[_0x14864f(0x514)]=_0xa622a5,Y(this,_0x14864f(0x3c1),_0x14864f(0x420));}[_0x763d2d(0x307)](_0x2fd444){const _0x53797f=_0x763d2d;let _0x54c08c={},_0x5ec196={},_0x2cbb18={};return _0x2fd444[_0x53797f(0x313)][_0x53797f(0x29f)](_0x5f2de8=>{const _0x179280=_0x53797f;if(!Ti(_0x5f2de8))return;let _0x62722d=this[_0x179280(0x514)][_0x179280(0x2f2)](_0x2fd444['unitId'],_0x5f2de8['chartId']),_0x186611=_0x62722d?this[_0x179280(0x514)][_0x179280(0x223)](_0x2fd444['unitId'],_0x62722d[_0x179280(0x441)]):void 0x0;!_0x62722d||!_0x186611||(_0x54c08c[_0x62722d['id']]=_0x4a012f[_0x179280(0x34d)](_0x62722d),_0x5ec196[_0x186611['id']]=_0x4a012f['deepClone'](_0x186611),_0x2cbb18[_0x5f2de8['id']]=_0x62722d['id']);}),Object['keys'](_0x54c08c)[_0x53797f(0x310)]===0x0?null:{'charts':_0x54c08c,'dataSources':_0x5ec196,'chartIdByElementId':_0x2cbb18};}[_0x763d2d(0x257)](_0x18be70){const _0x37ad2e=_0x763d2d;if(!Di(_0x18be70[_0x37ad2e(0x219)]))return null;let _0x46e3e7=_0x18be70[_0x37ad2e(0x219)],_0x567be5=new Map();_0x18be70[_0x37ad2e(0x414)]['forEach']((_0x5b2c4a,_0x3c52eb)=>{const _0x40183c=_0x37ad2e;_0x567be5[_0x40183c(0x45a)](_0x5b2c4a,_0x3c52eb);});let _0x339e02=new Map(),_0x2ba721=new Map(),_0x4142cd=_0x18be70[_0x37ad2e(0x313)]['map'](_0x500ba3=>{const _0x2bd6e2=_0x37ad2e;if(!Ti(_0x500ba3))return _0x500ba3;let _0x1ddbcd=_0x567be5['get'](_0x500ba3['id']),_0x5b0049=_0x1ddbcd?_0x46e3e7[_0x2bd6e2(0x37a)][_0x1ddbcd]:void 0x0;if(!_0x5b0049||!_0x46e3e7[_0x2bd6e2(0x431)][_0x5b0049])return _0x500ba3;let _0x4c201b=_0x339e02['get'](_0x5b0049);return _0x4c201b||(_0x4c201b=_0x402fb2(0x6),_0x339e02[_0x2bd6e2(0x45a)](_0x5b0049,_0x4c201b)),{..._0x500ba3,'chartId':_0x4c201b};});_0x339e02[_0x37ad2e(0x29f)]((_0x25c6c2,_0x13517b)=>{const _0x155f5f=_0x37ad2e;var _0x3b8929;let _0x5cbde4=(_0x3b8929=_0x46e3e7[_0x155f5f(0x431)][_0x13517b])==null?void 0x0:_0x3b8929[_0x155f5f(0x441)];_0x5cbde4&&!_0x2ba721[_0x155f5f(0x3f0)](_0x5cbde4)&&_0x2ba721[_0x155f5f(0x45a)](_0x5cbde4,_0x402fb2(0x6));});let _0x5ad44c=[];_0x2ba721[_0x37ad2e(0x29f)]((_0x11be19,_0x5a475a)=>{const _0x4071a5=_0x37ad2e;let _0x598e58=_0x46e3e7[_0x4071a5(0x296)][_0x5a475a];_0x598e58&&_0x5ad44c['push']({..._0x4a012f[_0x4071a5(0x34d)](_0x598e58),'id':_0x11be19,'values':_0x598e58[_0x4071a5(0x280)][_0x4071a5(0x4e0)](_0x336144=>[..._0x336144])});});let _0x505c70=[];return _0x339e02[_0x37ad2e(0x29f)]((_0x7edf03,_0x2d9e4a)=>{const _0x551ed6=_0x37ad2e;let _0xf039b9=_0x46e3e7[_0x551ed6(0x431)][_0x2d9e4a],_0xc354d0=_0xf039b9?_0x2ba721[_0x551ed6(0x28e)](_0xf039b9[_0x551ed6(0x441)]):void 0x0;!_0xf039b9||!_0xc354d0||_0x505c70[_0x551ed6(0x43c)]({..._0x4a012f['deepClone'](_0xf039b9),'id':_0x7edf03,'dataSourceId':_0xc354d0});}),_0x505c70[_0x37ad2e(0x310)]===0x0?null:{'elements':_0x4142cd,'redoMutations':[..._0x5ad44c[_0x37ad2e(0x4e0)](_0x1b8706=>({'id':_0x550a25['id'],'params':{'unitId':_0x18be70[_0x37ad2e(0x4d7)],'dataSource':_0x1b8706}})),..._0x505c70[_0x37ad2e(0x4e0)](_0x751e34=>({'id':_0x4ab44d['id'],'params':{'unitId':_0x18be70[_0x37ad2e(0x4d7)],'chart':_0x751e34}}))],'undoMutations':[..._0x505c70[_0x37ad2e(0x4e0)](_0x324044=>({'id':_0xb8dd45['id'],'params':{'unitId':_0x18be70[_0x37ad2e(0x4d7)],'chartId':_0x324044['id']}})),..._0x5ad44c[_0x37ad2e(0x4e0)](_0x52e27e=>({'id':_0x3640d3['id'],'params':{'unitId':_0x18be70['targetUnitId'],'dataSourceId':_0x52e27e['id']}}))]};}};Ei=Z([X(0x0,_0x1b1a65(_0x5766b0))],Ei);function Di(_0x2b843a){const _0x2815df=_0x763d2d;if(!_0x2b843a||typeof _0x2b843a!=_0x2815df(0x36b))return!0x1;let _0x318e7c=_0x2b843a;return!!_0x318e7c['charts']&&!!_0x318e7c['dataSources']&&!!_0x318e7c[_0x2815df(0x37a)];}function _0x2c90(_0x4441f3,_0x1aab90){_0x4441f3=_0x4441f3-0x189;const _0x4df72c=_0x4df7();let _0x2c90fe=_0x4df72c[_0x4441f3];return _0x2c90fe;}const Oi='UNIVER_BOARDS_CHART_UI_PLUGIN';let ki=class extends _0x76943f{constructor(_0xd77ab0=fn,_0x518ad6,_0x50f030,_0x1ccb4e){const _0x39bddd=_0x763d2d;super(),this[_0x39bddd(0x51e)]=_0xd77ab0,this[_0x39bddd(0x366)]=_0x518ad6,this['_configService']=_0x50f030,this[_0x39bddd(0x448)]=_0x1ccb4e,Y(this,_0x39bddd(0x4f1),null);let {..._0x4c8f4d}=_0x364676({},fn,this[_0x39bddd(0x51e)]);this[_0x39bddd(0x1b8)][_0x39bddd(0x247)](dn,_0x4c8f4d);}['onStarting'](){const _0x332d3=_0x763d2d;this['disposeWithMe'](this[_0x332d3(0x366)][_0x332d3(0x28e)](_0x22f25e)[_0x332d3(0x506)](In)),[[Rr],[Jr],[yn,{'useClass':En}],[Nn],[Q],[gi],[wi],[Ei],[Xr],[yi]][_0x332d3(0x29f)](_0x335740=>this[_0x332d3(0x366)][_0x332d3(0x30c)](_0x335740)),_0x1da26(this[_0x332d3(0x366)],[[Rr],[Jr],[yn],[Nn],[Q],[gi]]),this[_0x332d3(0x366)]['get'](yi);let _0x3361b1=this[_0x332d3(0x366)]['get'](wi);this[_0x332d3(0x4f1)]=_0x3361b1,this[_0x332d3(0x2f4)](_0x3361b1),this['disposeWithMe'](_0x76ee0e(()=>{const _0x4d2410=_0x332d3;this[_0x4d2410(0x18d)](_0x3361b1),this[_0x4d2410(0x4f1)]=null;}));let _0x37b940=this[_0x332d3(0x366)][_0x332d3(0x28e)](_0x556e02);this[_0x332d3(0x2b8)](_0x37b940['registerAdapter'](this[_0x332d3(0x366)][_0x332d3(0x28e)](Ei))),this[_0x332d3(0x2b8)](this[_0x332d3(0x366)][_0x332d3(0x28e)](Xr));}[_0x763d2d(0x1f5)](){const _0x428a7a=_0x763d2d;this[_0x428a7a(0x2b8)](this['_renderManagerService'][_0x428a7a(0x363)](_0x246183[_0x428a7a(0x4b4)],Mn)),this[_0x428a7a(0x2b8)](this[_0x428a7a(0x448)]['registerRenderModule'](_0x246183[_0x428a7a(0x4b4)],Yr)),this[_0x428a7a(0x2b8)](this[_0x428a7a(0x448)][_0x428a7a(0x363)](_0x246183[_0x428a7a(0x4b4)],zr)),this[_0x428a7a(0x2b8)](this[_0x428a7a(0x448)]['registerRenderModule'](_0x246183[_0x428a7a(0x4b4)],jn));}[_0x763d2d(0x2f4)](_0xdbc57f){const _0x51bcff=_0x763d2d;var _0x2dc87f,_0x2dd78f,_0x1f44a1;let _0x1468ad=this[_0x51bcff(0x4cb)](),_0x131b53=(_0x2dc87f=_0x1468ad[_0x51bcff(0x295)])==null?[]:_0x2dc87f;_0x131b53[_0x51bcff(0x36f)](_0xdbc57f)||this[_0x51bcff(0x1b8)][_0x51bcff(0x247)](_0x4623fd,{..._0x1468ad,'additionalRenderAdapters':[..._0x131b53,_0xdbc57f],'toolbar':{..._0x1468ad['toolbar'],'tools':{...(_0x2dd78f=_0x1468ad[_0x51bcff(0x3b3)])==null?void 0x0:_0x2dd78f[_0x51bcff(0x23a)],[_0x1ec962[_0x51bcff(0x2d3)]]:Ai((_0x1f44a1=_0x1468ad[_0x51bcff(0x3b3)])==null||(_0x1f44a1=_0x1f44a1[_0x51bcff(0x23a)])==null?void 0x0:_0x1f44a1[_0x1ec962[_0x51bcff(0x2d3)]])}}});}[_0x763d2d(0x18d)](_0x902cb4){const _0x4ec232=_0x763d2d;var _0x24d876;let _0x1fe68c=this[_0x4ec232(0x4cb)](),_0x328b42=(_0x24d876=_0x1fe68c[_0x4ec232(0x295)])==null?void 0x0:_0x24d876[_0x4ec232(0x4ee)](_0x5e8a76=>_0x5e8a76!==_0x902cb4);this[_0x4ec232(0x1b8)]['setConfig'](_0x4623fd,{..._0x1fe68c,'additionalRenderAdapters':_0x328b42});}[_0x763d2d(0x4cb)](){const _0x3d7ef4=_0x763d2d;var _0x4fc41f;return(_0x4fc41f=this[_0x3d7ef4(0x1b8)][_0x3d7ef4(0x315)](_0x4623fd))==null?{}:_0x4fc41f;}};Y(ki,_0x763d2d(0x532),Oi),Y(ki,'packageName',Zr),Y(ki,_0x763d2d(0x493),Qr),Y(ki,_0x763d2d(0x304),_0x246183['UNIVER_BOARD']),ki=Z([_0x534577(_0x4ba30d,_0x4d5451,_0x3ab584,_0x7eddda,_0x1ceece,_0x1aaf69,_0x23c246),X(0x1,_0x1b1a65(_0x14a46d)),X(0x2,_0x4b4a81),X(0x3,_0x1739c3)],ki);function Ai(_0x3e07ae){const _0x3638a8=_0x763d2d;if(_0x3e07ae===!0x1)return!0x1;if(typeof _0x3e07ae==_0x3638a8(0x36b)){var _0x5759dc;return{..._0x3e07ae,'enabled':(_0x5759dc=_0x3e07ae[_0x3638a8(0x25e)])==null||_0x5759dc};}return!0x0;}export{dn as BOARDS_CHART_UI_PLUGIN_CONFIG_KEY,Oi as BOARDS_CHART_UI_PLUGIN_NAME,Gr as BOARD_CHART_SNAPSHOT_BORDER_WIDTH,Ei as BoardChartClipboardAdapter,Nn as BoardChartDataEditService,Q as BoardChartEditSessionService,jn as BoardChartFloatingToolbarRenderController,Mn as BoardChartOpenEditController,zr as BoardChartPanelController,wi as BoardChartRenderAdapter,Rr as BoardChartRenderService,Yr as BoardChartSelectionController,Xr as BoardChartSnapshotRefreshController,Jr as BoardChartSnapshotRenderService,En as BoardChartUIService,Vr as BoardDomChartHost,Br as BoardImageChartHost,Ir as IBoardChartRenderModelService,Wr as IBoardChartSnapshotRendererService,yn as IBoardChartUIService,ki as UniverBoardsChartUIPlugin,Ai as enableChartTool,Kr as resolveBoardChartSnapshotStyle,$ as useBoardChartConfigState};
|
|
1
|
+
const _0x420134=_0x1b7a;(function(_0x12730d,_0x476a58){const _0x4d2934=_0x1b7a,_0x2ff4e4=_0x12730d();while(!![]){try{const _0x57eb76=-parseInt(_0x4d2934(0x226))/0x1*(parseInt(_0x4d2934(0x21a))/0x2)+-parseInt(_0x4d2934(0x2b4))/0x3+-parseInt(_0x4d2934(0x308))/0x4+-parseInt(_0x4d2934(0x19a))/0x5+-parseInt(_0x4d2934(0x186))/0x6+-parseInt(_0x4d2934(0x2b2))/0x7+parseInt(_0x4d2934(0x1d4))/0x8;if(_0x57eb76===_0x476a58)break;else _0x2ff4e4['push'](_0x2ff4e4['shift']());}catch(_0x543fb8){_0x2ff4e4['push'](_0x2ff4e4['shift']());}}}(_0x2ae8,0x95d48));import{BoardElementType as _0xbbe6aa,BoardToolType as _0x3972cb,IBoardElementService as _0x3c3318,InsertBoardChartCommand as _0x5950c5,UniverBoardsPlugin as _0x499738,resolveBoardElementWorldBounds as _0x1f3663}from'@univerjs-pro/boards';import{BOARDS_UI_PLUGIN_CONFIG_KEY as _0x3ce34f,BOARD_INSERT_CHART_PANEL_COMPONENT as _0x25b70a,BoardCanvasPopManagerService as _0x52e4c8,BoardDeleteSelectionOperation as _0x56ac06,BoardDomLayerService as _0x378753,BoardInteractionSurfaceService as _0x3acde6,IBoardClipboardResourceAdapterService as _0x52cf4e,IBoardElementStateService as _0x31d12a,IBoardSidePanelService as _0x4c7560,IBoardUIStateService as _0x466b44,UniverBoardsUIPlugin as _0x4f6771,getBoardElementRenderObjectKey as _0xce4805,resolveRotatedBoardObjectAnchorBound as _0x36333a}from'@univerjs-pro/boards-ui';import{CommandType as _0x3d6f82,DependentOn as _0x12277f,Disposable as _0x37367c,DisposableCollection as _0x23bb89,ICommandService as _0x1fe324,IConfigService as _0xd2ea59,IUniverInstanceService as _0xd96f74,Inject as _0x562f55,Injector as _0xd63000,LocaleService as _0x9e1c11,Optional as _0x4d6e48,Plugin as _0x10d04f,RxDisposable as _0x38bb52,ThemeService as _0x266ec7,Tools as _0x2f6a92,UniverInstanceType as _0x707cea,createIdentifier as _0x4fae56,generateRandomId as _0x28db8b,merge as _0x42b868,toDisposable as _0x114177,touchDependencies as _0x1e7ffb}from'@univerjs/core';import{BehaviorSubject as _0x126288,combineLatest as _0x3ed2cd,filter as _0x27dc02,fromEvent as _0x33ab4a,merge as _0x4d3929,takeUntil as _0x5901a1,throttleTime as _0x29335a}from'rxjs';import{BoardChartConfigAdapter as _0x4f64a2,BoardChartModelService as _0x19fb9a,BoardChartResourceService as _0x8c60,ChangeBoardChartDataSourceCommand as _0x479239,DEFAULT_BOARD_CHART_VALUES as _0x551cb2,RemoveBoardChartDataSourceMutation as _0xccd2ef,RemoveBoardChartSnapshotMutation as _0x57425b,SetBoardChartDataSourceMutation as _0x34a8cb,SetBoardChartSnapshotMutation as _0x47addf,UniverBoardsChartPlugin as _0x5c1c8a,UpdateBoardChartConfigCommand as _0x4a239f}from'@univerjs-pro/boards-chart';import{CHART_ELEMENT_FLOAT_MENU_COMPONENT as _0x3df2c8,CHART_TYPE_CATALOG as _0x41a22e,ChartAxisSection as _0x3bce50,ChartCommonDataMappingSection as _0x4f7120,ChartEditBlockTitle as _0x3c486f,ChartEditPanel as _0x1e07c3,ChartEditPanelSection as _0x4c33db,ChartEditPanelTab as _0x2d4b13,ChartEditPanelTabs as _0x3f4560,ChartEditorCapability as _0x1f3daa,ChartEditorProvider as _0x38d517,ChartElementFloatMenuAdapterRegistry as _0xae228c,ChartFunnelStyleSection as _0x245efb,ChartGradientFillField as _0x4b623f,ChartGridlinesAndTicksSection as _0x38be78,ChartHeatmapStyleSection as _0x43dcb2,ChartHostAdapter as _0x1cfdd3,ChartImageExportService as _0x5802b4,ChartIndicatorLineSection as _0x2ec339,ChartInlineTableEditor as _0x34964e,ChartLegendSection as _0xcb1ed,ChartLineAndAreaSection as _0x4a1c62,ChartNumberFormatTextField as _0x3b55de,ChartParetoSeriesSection as _0x34ddb7,ChartPieStyleSection as _0x3b6e06,ChartRadarStyleSection as _0x2c7bb8,ChartReferencedDataSourceEditor as _0x450ca6,ChartRelationStyleSection as _0x1efc18,ChartSectionAccordion as _0x533994,ChartSectionAccordionContent as _0x3be325,ChartSectionAccordionItem as _0x1c4444,ChartSectionAccordionTrigger as _0x16cc65,ChartSeriesBorderFields as _0x1e885e,ChartSeriesDataLabelFields as _0x491b26,ChartSeriesDataPointFields as _0x14fec3,ChartSeriesFillFields as _0x31bfcd,ChartSeriesPointFields as _0x1521ac,ChartSeriesRightAxisField as _0x9473e9,ChartSeriesRoot as _0x1298fb,ChartSeriesSelector as _0x58fc41,ChartSeriesTypeField as _0x44ffa0,ChartSnapshotQueue as _0x2f0ffd,ChartStackField as _0x4cb525,ChartStyleSection as _0x243fc2,ChartThemeField as _0x6ad40f,ChartTitlesSection as _0x55db44,ChartTrendlineSection as _0x331351,ChartTypeField as _0xb03ed8,ChartTypeSpecificDataSection as _0x12a344,ChartTypeSpecificSetupSection as _0x5cba48,ChartTypeSpecificStyleSection as _0x1f5610,ChartUIService as _0xc35674,ChartViewStateRegistry as _0x243472,ChartWaterfallSetupFields as _0x1df86c,ChartWaterfallStyleSection as _0xc5b822,ChartWordCloudMaskImageIdField as _0x364feb,ChartWordCloudRepeatField as _0x2d7381,ChartWordCloudRoot as _0x347c60,ChartWordCloudShapeField as _0x54123c,DEFAULT_CHART_AXIS_VALUES as _0x55330d,DEFAULT_CHART_FUNNEL_VALUES as _0x18ae83,DEFAULT_CHART_HEATMAP_VALUES as _0x5685b8,DEFAULT_CHART_INDICATOR_LINE_VALUES as _0x39bc3c,DEFAULT_CHART_LEGEND_VALUES as _0x56644b,DEFAULT_CHART_LINE_AND_AREA_VALUES as _0x475e1f,DEFAULT_CHART_PARETO_VALUES as _0x523a9d,DEFAULT_CHART_PIE_VALUES as _0x292158,DEFAULT_CHART_RADAR_VALUES as _0x33566e,DEFAULT_CHART_RELATION_VALUES as _0x132015,DEFAULT_CHART_SERIES_VALUES as _0x15e876,DEFAULT_CHART_STYLE_VALUES as _0x420a41,DEFAULT_CHART_TITLE_VALUES as _0x1b2173,DEFAULT_CHART_TRENDLINE_VALUES as _0x4ef68a,DEFAULT_CHART_WATERFALL_SETUP_VALUES as _0x3ba343,DEFAULT_CHART_WATERFALL_STYLE_VALUES as _0x2929dc,DEFAULT_CHART_WORD_CLOUD_VALUES as _0xe8319e,InlineChartCreationIssueCode as _0x2f8c65,UniverChartUIPlugin as _0x2d77e6,buildChartTypeSelectOptions as _0x5e7700,chartTypeSupportsCapability as _0x57d0f8,chartTypeSupportsLineAndAreaStyle as _0x34ddfc,createChartElementFloatMenuAdapter as _0x459948,createChartInlineStarterData as _0x4d3703,getChartInlineTableMinColumns as _0x3a6a48,resolveChartEditPanelRoute as _0x54bddd,resolveChartElementSelection as _0x18d75a,tryBuildInlineChartCreationPlan as _0x321e23,tryPrepareInlineChartData as _0x1be431,useChartEditorChartType as _0xf3075c,useChartEditorHasRightAxis as _0x32edde,useChartTypeFieldState as _0x11bc28}from'@univerjs-pro/chart-ui';import{Button as _0x413d0f,Select as _0x1138bf,Separator as _0x168461,borderClassName as _0x46e847,clsx as _0x1c9fb4}from'@univerjs/design';import{DeleteIcon as _0x370cc6,PenIcon as _0x5cc677}from'@univerjs/icons';import{ComponentManager as _0x1af51d,ICanvasPopupService as _0xea016f,IDialogService as _0x223c84,useDependency as _0x30d157,useObservable as _0x265074}from'@univerjs/ui';import{useEffect as _0xe8772c,useMemo as _0x3b7d38,useRef as _0x5074cd,useState as _0x52cd5f}from'react';import{CHART_HOST_DEFAULT_BORDER_COLOR as _0x40ee15,CHART_HOST_DEFAULT_BORDER_RADIUS as _0x24da85,ChartDataSourceRuntimeStatus as _0x2b2838,ChartHostRenderMode as _0x155eff,ChartThemeService as _0x3c12b3,ChartTypeBits as _0x1f8f85,DataUrlImageChartHost as _0x965a83,IChartRenderModelManagerService as _0x177a5a,chartBitsUtils as _0x57039c,chartTypeCanUseTrendLine as _0x3bcf6e,defaultChartConfig as _0x5723a7,isInlineChartDataSource as _0x2877eb,isReferencedChartDataSource as _0x191f31,parseInlineChartTable as _0x1e6e18,resolveChartRuntimeStyle as _0x328c21,resolveDefaultChartHostFrameStyle as _0x225484}from'@univerjs-pro/engine-chart';import{jsx as _0x4c0ab2,jsxs as _0x5b5190}from'react/jsx-runtime';import{UniverLicensePlugin as _0x614a47}from'@univerjs-pro/license';import{IRenderManagerService as _0x4b3b8f,Image as _0x78fa0e,UniverRenderEnginePlugin as _0x165d51}from'@univerjs/engine-render';function _0x2ae8(){const _0x44582b=['chartIdByElementId','boards-chart-ui.common.chartType','_adapter','borderRadius','univer-box-border\x20univer-flex\x20univer-h-12\x20univer-items-center\x20univer-gap-1\x20univer-rounded-lg\x20univer-bg-gray-0\x20univer-px-2\x20univer-py-1.5\x20univer-text-gray-700\x20univer-shadow-lg\x20dark:!univer-bg-gray-900\x20dark:!univer-text-gray-100','Boxplot','find','getChartModel','1066722UqVjrz','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','Doughnut','boards-chart-ui.section.lineAndArea','_watchSnapshotUpdates','getConfig','restore','moveTo','_bindChartEventHandlers','registerCommand','onClose','dataUrl','deepClone','issue','plan','_injector','getDirection','removePopup','pie','elementAdd$','1785575WqkWmO','_modelService','boards-chart-ui.candlestick.low','boards-chart-ui.section.gridlinesAndTicks','_canvasPopupService','hidden','error','isRowDirection','doubleClick','_openFloatMenu','boards-chart-ui.common.insert','labelId','img','_attachScheduled','default','target','dataSources','univer-p-4\x20univer-text-sm\x20univer-text-gray-500\x20dark:!univer-text-gray-400','oKey','getChartIdsByDataSource','changeDataSource','lineWidth','prototype','checkMounted','_resolveFrameStyle','number','_commandService','_renderModelManager','_localeService','getCurrentRenderModel','_chartRenderService','strokeWidth','markNotReady','row','dataSourceId','set','_attachNativeLoadHandlers','waterfall','boxSizing','_themeService','BarStacked','add','scaleY','UnknownOption','label','boards-chart-element-float-menu','_subscribeChartEvents','axis','borderWidth','showFloatMenu','wordCloud','mode','_element','px\x20solid\x20','syncObject','scroll','skipNextObservers','getTransformerByCreate','26058136uCfIcP','typeOptions','Treemap','additionalRenderAdapters','selectionChange','_init','chartStyle','focusedId','symbol','toolbar','changeChartSource','beginPath','getRenderColor','fill','bounds','scaleX','getDataSource','dispose','ColumnPercentStacked','getValue','getElementData','getInfo','chartType','pageChange','string','boards-chart-ui.common.horizontalAxis','ready','pareto','Legend','forEach','changeStart$','parseInt','boards-chart-ui.section.funnel','boards-chart-ui.section.wordCloud','clientY','emitEvent','change','Series','_chartEventDisposables','_syncPanel','_elementStateService','legend','VerticalAxis','univer-flex\x20univer-w-full\x20univer-flex-col\x20univer-gap-4','main','setElementEditMode','call','_closeActivePanel','_openEditSession','boards-chart-ui.common.editChart','key','getId','_buildPopupSelectionKey','boards-chart-ui.section.chord','_getBoardsUIConfig','some','strokeStyle','\x20has\x20no\x20render\x20config.','boards-chart-ui.candlestick.columnsError','Waterfall','_boardCanvasPopManagerService','onStarting','selectedIds','size','tools','univer-w-full\x20!univer-min-w-0','version','Select','boards-chart-ui.dataEditor.updateFailed','boards-chart-ui.common.customize','926PIcMqh','button','map','src','_disposeChartEventSubscriptions','subscribeEvent','_resolveElementObject','setValue','activeTool','_sidePanelService','_syncSelectionState','state$','2013adSQiU','GridlinesAndTicks','Dom','attachPopupToObject','width','setActiveChartRuntime','visible','univer-relative\x20univer-h-full\x20univer-w-full\x20univer-overflow-hidden','frameStyle','code','isElementEditModeActive','pipe','ghost','height','createRenderSpec','chartModelAdded$','onCommandExecuted','createElement','createChartInstance','get','dispose$','rect','chartElement','length','boards-chart-ui.section.gauge','_activePanelDisposable','_activePanelKey','makeDirty','axisId','setConfig','board.chart.floating-toolbar','ParetoBarSeries','render','_registerAdapter','elementId','_activeLayerDisposable','catch','setStyle','localPoint','InvalidCandlestickData','small','seriesId','boards-chart-ui.sunburst.hierarchy','children','syncLayout','activeRuntimeModel$','top','name','_shouldWaitForChartConfig','primary','transparent','univer-text-sm\x20univer-font-medium\x20univer-text-gray-900\x20dark:!univer-text-gray-0','univer-flex\x20univer-justify-end\x20univer-gap-2','Scatter','Radar','getChart','quickToolbar','min(1120px,\x20calc(100vw\x20-\x2032px))','getHostStyle','boards-chart-ui.common.trendline','boards-chart-ui.chartTypes.','setActiveChartById','_clearActiveLayer','supports','_listenChartResourceMutations','bottom','_univerInstanceService','rgba(255,\x20255,\x20255,\x200.18)','_showPopupForSelection','ensureChartModel','_editSessionService','heatmap','boards-chart-ui.common.chartStyle','boards-chart-ui.common.heatmap','resourceService','model','WaterfallSeries','boards-chart-ui.common.value','_applyHostStyle','_adapterRegistry','clientWidth','_getChartRuntimeKey','_popupDisposable','open','unitId','boards-chart-ui.chord.target','toPrimitive','filter','innerHeight','_chartThemeService','subUnitId','getRect','onload','ColumnStacked','select','univer-flex\x20univer-w-full\x20univer-flex-col\x20univer-gap-4\x20univer-p-1','_resourceService','chartInvalidated$','getUnit','Chart','getObject','_drawChartImage','stroke','Column','board-chart-active','disposeWithMe','clientHeight','snapshotUpdated$','min','onEditData','referenced','getCanvasElement','resolve','subscribe','toSpec','context','1.0.0-beta.1','_registerComponents','executeCommand','transformStart','then','boards-chart-ui.common.chartAndAxisTitles','isDarkMode','elementDataItem','Line','function','invalidateChart','elementIdMap','status','_renderManagerService','_bindChartEventHandler','boards-chart-ui.section.treemap','getState','applyHostStyle','direction$','preparePaste','_popupSelectionKey','route','getDataUrl','scene','4531695zhQXeA','IndicatorLine','1251804uLMFtT','barStyle','keys','close','left','push','univer-text-xs\x20univer-text-red-600\x20dark:!univer-text-red-400','_activeLayerId','activeSession$','boards-chart-ui.candlestick.open','board-chart-setup-panel','board-chart-style-panel','boards-chart-ui.section.waterfall','_activeEditOverlay','_config','_configService','getSnapshot','selectElements','style','getElementById','from','_updateFrameStyle','board-chart.data-editor-dialog','slice','border','naturalWidth','elementUpdate$','getElementOrder','board-chart-floating-toolbar','boards-chart-ui.config','boards-chart-ui.common.editData','enabled','baseOn','_activeSession$','lineTo','_draw','_syncActiveChart','boards-chart-ui.common.tableDataEmpty','updateDataForChart','insertParams','boards-chart-ui.common.setup','indicatorLine','clear','_chartUIService','Trendline','bind','targetUnitId','_clearActiveEditOverlay','HorizontalAxis','_frameStyle','AreaStacked','UNIVER_BOARD','values','_clearPopupIfSelectionChanged','_clearPopup','Image','Relation','_renderService','boards-chart-ui.common.label','next','boards-chart-ui.candlestick.close','chartId','onerror','config','BarPercentStacked','includes','_interactionSurfaceService','boards-chart-ui.section.relation','image','decorate','_clearHiddenSelectedTarget','elements','section','boards-chart-ui.common.switchRowColumn','board-chart','delete','column','getElement','innerWidth','boards-chart-ui.section.paretoBar','type','interactionSurfaceActive$','_createChartRenderInstanceContext','Candlestick','447956OQTrXt','chart','onReady','overflow','params','_chartEventHandlers','position','data:image/svg+xml;charset=utf-8,%0A%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20160%20100%22%3E%0A%20%20%3Crect%20x%3D%220.5%22%20y%3D%220.5%22%20width%3D%22159%22%20height%3D%2299%22%20rx%3D%225%22%20fill%3D%22%23f8fafc%22%20stroke%3D%22%2394a3b8%22%2F%3E%0A%20%20%3Cpath%20d%3D%22M26%2070V47M52%2070V32M78%2070V55M104%2070V40M130%2070V25%22%20stroke%3D%22%232563eb%22%20stroke-width%3D%227%22%20stroke-linecap%3D%22round%22%2F%3E%0A%20%20%3Cpath%20d%3D%22M20%2076H140%22%20stroke%3D%22%23cbd5e1%22%20stroke-width%3D%222%22%2F%3E%0A%3C%2Fsvg%3E%0A','rgb(','Data','transformByState','boards-chart-ui.common.series','preventDefault','isFinite','_activeChart','chartModelRemoved$','lineAndArea','_uiStateService','boards-chart-ui.section.histogram','LineAndArea','color','_renderContext','ensureMount','border-box','pendingInsert','boards-chart-ui.common.deleteChart','every','univer-flex\x20univer-h-0\x20univer-min-h-full\x20univer-w-full\x20univer-flex-col\x20univer-overflow-hidden\x20univer-bg-gray-0\x20dark:!univer-bg-gray-900','charts','getBoundingClientRect','fillStyle','boards-chart-ui.section.pie','config$','RightVerticalAxis','translate','complete','GeneralSeries','_objectDblclickDisposables','nativeEvent','isInteractionSurfaceActive','_closePopup','max','naturalHeight','split','asObservable','crossOrigin','elementRemove$','_requestSnapshotForObject','_chartElementEditMode','board.operation.chart.open-data-editor','_drawFrameStroke','Gauge','hostFill','Chord','univer-flex\x20univer-flex-col\x20univer-gap-3\x20univer-px-4\x20univer-pb-5','boards-chart-ui.common.apply','angle','_chartEventSubscriptions','boards-chart-ui.chord.source','borderColor','Axes','_scheduleAttachObjectDoubleClicks','value','_boardElementService','boards-chart-ui.common.verticalAxis','flipX','_instanceService','_appendRenderAdapter','univer-w-full\x20univer-justify-start','div','rightY','inline','dataSource','_popupRuntimeKey','right','collect','boards-chart-ui.common.insertChartFailed','constructor','closePath','match','_domLayerService','getRenderUnitById','registerRenderModule','hit','boards-chart-ui.common.legend','top-center','engine','_snapshotRefreshers','updateElement','titleKey','source','boards-chart-ui.dataEditor.unavailable','arc','getDataEditState','backgroundColor','unsubscribe','extraProps','_componentManager','_removeRenderAdapter','cumulativeLineStyle','WordCloud','getDataSourceSharingCount','EmptyData','tab','onCancel','boards-chart-ui.common.cancel','Funnel','manual','getOwnPropertyDescriptor','Heatmap','_chartInstanceMap','_host','element','createRenderInput','save','ChartStyle','darkMode','ParetoLineSeries','stopPropagation','defineProperty','PieStyle','exportImage','register','edit-chart','activeRuntimeModel','refreshChartModel','has','isTransforming','radius','Sunburst','Histogram','_setActiveEditOverlay','Pareto','object','executeChartUpdateConfig','elementRemoved','join','Failed\x20to\x20render\x20board\x20chart\x20snapshot:\x20','delete-chart','programmatic','ChartAndAxisTitles','createControl$','getObjectIncludeInGroup','univer-flex\x20univer-flex-col\x20univer-gap-2','UNIVER_BOARDS_CHART_UI_PLUGIN','_snapshotService','_native','updateFrameStyle','updateItem','flipY','getActiveSession'];_0x2ae8=function(){return _0x44582b;};return _0x2ae8();}const Hn=_0x420134(0x2d1),Un={};function R(_0x358508){'@babel/helpers - typeof';const _0x2bfc76=_0x420134;return R=typeof Symbol==_0x2bfc76(0x2a3)&&typeof Symbol['iterator']==_0x2bfc76(0x1dc)?function(_0x562a87){return typeof _0x562a87;}:function(_0x5edf30){const _0x47dc0c=_0x2bfc76;return _0x5edf30&&typeof Symbol==_0x47dc0c(0x2a3)&&_0x5edf30[_0x47dc0c(0x355)]===Symbol&&_0x5edf30!==Symbol[_0x47dc0c(0x1b0)]?_0x47dc0c(0x1dc):typeof _0x5edf30;},R(_0x358508);}function Wn(_0x184ac9,_0x3d0f02){const _0x2de530=_0x420134;if(R(_0x184ac9)!=_0x2de530(0x16c)||!_0x184ac9)return _0x184ac9;var _0x34cd6b=_0x184ac9[Symbol[_0x2de530(0x27c)]];if(_0x34cd6b!==void 0x0){var _0x14cbfa=_0x34cd6b['call'](_0x184ac9,_0x3d0f02||_0x2de530(0x1a8));if(R(_0x14cbfa)!='object')return _0x14cbfa;throw TypeError(_0x2de530(0x187));}return(_0x3d0f02===_0x2de530(0x1ec)?String:Number)(_0x184ac9);}function Gn(_0x155ac){const _0xdb8d2c=_0x420134;var _0x4460fe=Wn(_0x155ac,'string');return R(_0x4460fe)==_0xdb8d2c(0x1dc)?_0x4460fe:_0x4460fe+'';}function z(_0xb175a2,_0x3920cf,_0x298a5e){const _0x4fb844=_0x420134;return(_0x3920cf=Gn(_0x3920cf))in _0xb175a2?Object[_0x4fb844(0x15e)](_0xb175a2,_0x3920cf,{'value':_0x298a5e,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0xb175a2[_0x3920cf]=_0x298a5e,_0xb175a2;}function B(_0x47b74a,_0x35de9d){return function(_0x2f2d79,_0x2413a5){_0x35de9d(_0x2f2d79,_0x2413a5,_0x47b74a);};}function _0x1b7a(_0xc1e33e,_0x59e1b3){_0xc1e33e=_0xc1e33e-0x13f;const _0x2ae8f3=_0x2ae8();let _0x1b7ac6=_0x2ae8f3[_0xc1e33e];return _0x1b7ac6;}function V(_0x5170fd,_0x487913,_0x15d536,_0xf5b1f9){const _0x57b528=_0x420134;var _0x707ed4=arguments[_0x57b528(0x23d)],_0x59cbf1=_0x707ed4<0x3?_0x487913:_0xf5b1f9===null?_0xf5b1f9=Object[_0x57b528(0x153)](_0x487913,_0x15d536):_0xf5b1f9,_0x44d5bf;if(typeof Reflect=='object'&&typeof Reflect[_0x57b528(0x2f9)]==_0x57b528(0x2a3))_0x59cbf1=Reflect[_0x57b528(0x2f9)](_0x5170fd,_0x487913,_0x15d536,_0xf5b1f9);else{for(var _0x23e499=_0x5170fd[_0x57b528(0x23d)]-0x1;_0x23e499>=0x0;_0x23e499--)(_0x44d5bf=_0x5170fd[_0x23e499])&&(_0x59cbf1=(_0x707ed4<0x3?_0x44d5bf(_0x59cbf1):_0x707ed4>0x3?_0x44d5bf(_0x487913,_0x15d536,_0x59cbf1):_0x44d5bf(_0x487913,_0x15d536))||_0x59cbf1);}return _0x707ed4>0x3&&_0x59cbf1&&Object[_0x57b528(0x15e)](_0x487913,_0x15d536,_0x59cbf1),_0x59cbf1;}function Kn(_0x27e6f3,_0x1bf5a5){const _0x138211=_0x420134;return(_0x27e6f3==null?void 0x0:_0x27e6f3[_0x138211(0x14e)])===(_0x1bf5a5==null?void 0x0:_0x1bf5a5['tab'])&&(_0x27e6f3==null?void 0x0:_0x27e6f3['section'])===(_0x1bf5a5==null?void 0x0:_0x1bf5a5[_0x138211(0x2fc)])&&(_0x27e6f3==null?void 0x0:_0x27e6f3[_0x138211(0x140)])===(_0x1bf5a5==null?void 0x0:_0x1bf5a5['titleKey'])&&(_0x27e6f3==null?void 0x0:_0x27e6f3[_0x138211(0x242)])===(_0x1bf5a5==null?void 0x0:_0x1bf5a5[_0x138211(0x242)])&&(_0x27e6f3==null?void 0x0:_0x27e6f3[_0x138211(0x24f)])===(_0x1bf5a5==null?void 0x0:_0x1bf5a5[_0x138211(0x24f)]);}function qn(_0x343e19,_0x14000c){const _0x36893e=_0x420134;return(_0x343e19==null?void 0x0:_0x343e19[_0x36893e(0x27a)])===_0x14000c[_0x36893e(0x27a)]&&_0x343e19[_0x36893e(0x280)]===_0x14000c[_0x36893e(0x280)]&&_0x343e19[_0x36893e(0x248)]===_0x14000c[_0x36893e(0x248)]&&_0x343e19[_0x36893e(0x2f1)]===_0x14000c[_0x36893e(0x2f1)]&&_0x343e19[_0x36893e(0x141)]===_0x14000c['source']&&Kn(_0x343e19['route'],_0x14000c['route']);}let H=class extends _0x37367c{constructor(_0x53c5b9,_0xce8ffc){const _0x5a37ba=_0x420134;super(),this[_0x5a37ba(0x1fc)]=_0x53c5b9,this[_0x5a37ba(0x347)]=_0xce8ffc,z(this,_0x5a37ba(0x2d5),new _0x126288(null)),z(this,_0x5a37ba(0x2bc),this[_0x5a37ba(0x2d5)][_0x5a37ba(0x334)]()),this[_0x5a37ba(0x28f)](this[_0x5a37ba(0x1fc)]['state$']['subscribe'](_0x360cdd=>this[_0x5a37ba(0x224)](_0x360cdd))),this[_0x5a37ba(0x28f)](this[_0x5a37ba(0x347)]['elementRemove$'][_0x5a37ba(0x297)](_0x5e2d50=>{const _0x49fc02=_0x5a37ba;let _0x555279=this[_0x49fc02(0x17d)]();_0x555279&&_0x5e2d50['some'](_0x29e260=>_0x29e260[_0x49fc02(0x27a)]===_0x555279[_0x49fc02(0x27a)]&&_0x29e260['subUnitId']===_0x555279[_0x49fc02(0x280)]&&_0x29e260['elementId']===_0x555279[_0x49fc02(0x248)])&&this[_0x49fc02(0x2b7)](_0x49fc02(0x16e));}));}[_0x420134(0x1e5)](){const _0x45382f=_0x420134;this[_0x45382f(0x2b7)](_0x45382f(0x1e5)),this[_0x45382f(0x2d5)][_0x45382f(0x32b)](),super[_0x45382f(0x1e5)]();}[_0x420134(0x17d)](){const _0x5c0b06=_0x420134;return this[_0x5c0b06(0x2d5)][_0x5c0b06(0x1e7)]();}['open'](_0x1a9e64){const _0x52a499=_0x420134;let _0x1f400f={..._0x1a9e64};qn(this[_0x52a499(0x17d)](),_0x1f400f)||this[_0x52a499(0x2d5)]['next'](_0x1f400f);}[_0x420134(0x2b7)](_0x2bdf6f){const _0x444fc6=_0x420134;this['getActiveSession']()&&this[_0x444fc6(0x2d5)][_0x444fc6(0x2ef)](null);}[_0x420134(0x224)](_0x3b265b){const _0xacc63e=_0x420134;let _0x41acd6=this['getActiveSession']();if(!_0x41acd6)return;if(_0x3b265b[_0xacc63e(0x166)]){this[_0xacc63e(0x2b7)](_0xacc63e(0x29d));return;}if(!_0x3b265b[_0xacc63e(0x299)]){this[_0xacc63e(0x2b7)]('selectionChange');return;}if(_0x3b265b[_0xacc63e(0x299)][_0xacc63e(0x27a)]!==_0x41acd6[_0xacc63e(0x27a)]){this['close']('selectionChange');return;}if(_0x3b265b[_0xacc63e(0x299)][_0xacc63e(0x280)]!==_0x41acd6[_0xacc63e(0x280)]){this[_0xacc63e(0x2b7)](_0xacc63e(0x1eb));return;}if(_0x3b265b[_0xacc63e(0x212)][_0xacc63e(0x23d)]!==0x1||_0x3b265b[_0xacc63e(0x1db)]!==_0x41acd6[_0xacc63e(0x248)]){this['close'](_0xacc63e(0x1d8));return;}let _0xd477d0=this[_0xacc63e(0x347)][_0xacc63e(0x2c7)](_0x41acd6[_0xacc63e(0x27a)],_0x41acd6[_0xacc63e(0x280)],_0x41acd6[_0xacc63e(0x248)]);(!_0xd477d0||_0xd477d0[_0xacc63e(0x157)]['type']!==_0xbbe6aa[_0xacc63e(0x289)]||_0xd477d0['element'][_0xacc63e(0x2f1)]!==_0x41acd6[_0xacc63e(0x2f1)])&&this[_0xacc63e(0x2b7)](_0xacc63e(0x1d8));}};H=V([B(0x0,_0x31d12a),B(0x1,_0x3c3318)],H);const Jn=new Set([_0x1f8f85[_0x420134(0x283)],_0x1f8f85[_0x420134(0x1e6)],_0x1f8f85[_0x420134(0x1c2)],_0x1f8f85[_0x420134(0x2f4)],_0x1f8f85[_0x420134(0x188)],_0x1f8f85[_0x420134(0x2e6)],_0x1f8f85['AreaPercentStacked'],_0x1f8f85['Pareto']]),Yn=_0x41a22e['filter'](_0x5139f2=>!Jn[_0x420134(0x165)](_0x5139f2[_0x420134(0x346)])),U=_0x4fae56('board-chart.ui.service');let Xn=class extends _0xc35674{constructor(_0x1a6120,_0x309f8b,_0x59ff97,_0x19815c){const _0x36819c=_0x420134;super(_0x19815c),this[_0x36819c(0x19b)]=_0x1a6120,this[_0x36819c(0x286)]=_0x309f8b,this['_commandService']=_0x59ff97;}get[_0x420134(0x163)](){const _0x556e72=_0x420134;return this[_0x556e72(0x19b)][_0x556e72(0x163)];}get[_0x420134(0x253)](){const _0x9cd2f2=_0x420134;return this[_0x9cd2f2(0x19b)][_0x9cd2f2(0x253)];}get[_0x420134(0x270)](){const _0x2a2359=_0x420134;return this[_0x2a2359(0x286)];}[_0x420134(0x16d)](_0x4a4873){const _0x2f2dd0=_0x420134;let _0x3871c4=this[_0x2f2dd0(0x19b)][_0x2f2dd0(0x163)],_0xe6c7ad=_0x4a4873[_0x2f2dd0(0x27a)]??(_0x3871c4==null?void 0x0:_0x3871c4[_0x2f2dd0(0x27a)]),_0x596ffd=_0x4a4873[_0x2f2dd0(0x2f1)]??(_0x3871c4==null?void 0x0:_0x3871c4[_0x2f2dd0(0x2f1)]);!_0xe6c7ad||!_0x596ffd||this[_0x2f2dd0(0x1b4)][_0x2f2dd0(0x29c)](_0x4a239f['id'],{..._0x4a4873,'unitId':_0xe6c7ad,'chartId':_0x596ffd});}};Xn=V([B(0x0,_0x562f55(_0x19fb9a)),B(0x1,_0x562f55(_0x8c60)),B(0x2,_0x1fe324),B(0x3,_0x562f55(_0x243472))],Xn);const Zn=_0x420134(0x244);function Qn(_0x4ceb8d){const _0x6f0693=_0x420134;_0x4ceb8d[_0x6f0693(0x15d)]();}function $n(_0x4fec86){const _0x8039c5=_0x420134;let _0x15502d=_0x30d157(_0x1fe324),_0x1a2cab=_0x30d157(_0x9e1c11),_0x191342=_0x30d157(_0x19fb9a),_0x2e3f05=_0x30d157(H),_0x440edc=_0x11bc28(_0x4fec86[_0x8039c5(0x1d5)]),{extraProps:_0x291b17}=_0x4fec86;return _0x5b5190(_0x8039c5(0x34d),{'className':_0x1c9fb4(_0x8039c5(0x182),_0x46e847),'data-u-comp':_0x8039c5(0x2d0),'role':_0x8039c5(0x1dd),'onMouseDown':Qn,'onPointerDown':Qn,'children':[_0x4c0ab2(_0x1138bf,{'aria-label':_0x1a2cab['t'](_0x8039c5(0x17f)),'className':'!univer-w-36\x20!univer-min-w-0','value':_0x440edc[_0x8039c5(0x346)],'options':_0x4fec86[_0x8039c5(0x1d5)],'onChange':_0x5eb392=>{const _0x2c053b=_0x8039c5;_0x191342[_0x2c053b(0x263)](_0x291b17[_0x2c053b(0x27a)],_0x291b17[_0x2c053b(0x2f1)]),_0x440edc[_0x2c053b(0x221)](_0x5eb392);}}),_0x4c0ab2(_0x168461,{'orientation':'vertical'}),_0x4c0ab2(_0x413d0f,{'size':_0x8039c5(0x24e),'variant':_0x8039c5(0x232),'type':_0x8039c5(0x21b),'aria-label':_0x1a2cab['t'](_0x8039c5(0x205)),'title':_0x1a2cab['t'](_0x8039c5(0x205)),'data-toolbar-item':_0x8039c5(0x162),'onClick':()=>{const _0x467b6b=_0x8039c5;_0x2e3f05[_0x467b6b(0x279)]({'chartId':_0x291b17['chartId'],'elementId':_0x291b17[_0x467b6b(0x248)],'source':_0x467b6b(0x25e),'subUnitId':_0x291b17[_0x467b6b(0x280)],'unitId':_0x291b17[_0x467b6b(0x27a)]});},'children':_0x4c0ab2(_0x5cc677,{})}),_0x4c0ab2(_0x413d0f,{'size':_0x8039c5(0x24e),'variant':_0x8039c5(0x232),'type':_0x8039c5(0x21b),'aria-label':_0x1a2cab['t'](_0x8039c5(0x321)),'title':_0x1a2cab['t']('boards-chart-ui.common.deleteChart'),'data-toolbar-item':_0x8039c5(0x171),'onClick':()=>_0x15502d[_0x8039c5(0x29c)](_0x56ac06['id']),'children':_0x4c0ab2(_0x370cc6,{})})]});}function er(_0x5976e3){const _0x57aff8=_0x420134;let _0x2c3581=_0x30d157(_0xd63000),_0x3065e7=_0x30d157(_0xd96f74),_0x58bf12=_0x30d157(_0x9e1c11),_0x5cf26a=_0x30d157(_0x19fb9a),_0xb53ada=_0x30d157(U),_0x4c66a2=_0x3b7d38(()=>_0x5cf26a[_0x57aff8(0x26b)](_0x5976e3['unitId'],_0x5976e3[_0x57aff8(0x2f1)]),[_0x5976e3[_0x57aff8(0x2f1)],_0x5976e3[_0x57aff8(0x27a)],_0x5cf26a]),_0x2ce560=_0x3b7d38(()=>{const _0x83afce=_0x57aff8;let _0x3db231=_0x3065e7[_0x83afce(0x288)](_0x5976e3[_0x83afce(0x27a)],_0x707cea[_0x83afce(0x2e7)]);return!_0x4c66a2||!_0x3db231?null:new _0x1cfdd3(_0x4c66a2[_0x83afce(0x271)],new _0x4f64a2({'unitId':_0x5976e3[_0x83afce(0x27a)],'pageId':_0x5976e3[_0x83afce(0x280)],'chartId':_0x5976e3[_0x83afce(0x2f1)],'elementId':_0x5976e3[_0x83afce(0x248)],'boardModel':_0x3db231,'injector':_0x2c3581}));},[_0x5976e3,_0x2c3581,_0x4c66a2,_0x3065e7]),_0x292813=_0x3b7d38(()=>_0x5e7700(Yn[_0x57aff8(0x21c)](_0x1762e2=>({..._0x1762e2,'label':_0x58bf12['t'](_0x57aff8(0x262)+_0x1762e2[_0x57aff8(0x1a5)])}))),[_0x58bf12]);return!_0x4c66a2||!_0x2ce560?null:_0x4c0ab2(_0x38d517,{'chartUIService':_0xb53ada,'hostAdapter':_0x2ce560,'children':_0x4c0ab2($n,{'extraProps':_0x5976e3,'typeOptions':_0x292813})});}function tr(_0x24f9d2){const _0x172309=_0x420134;let _0x10141b=_0x24f9d2['popup'][_0x172309(0x147)];return _0x10141b?_0x4c0ab2(er,{..._0x10141b}):null;}let nr=class extends _0x38bb52{constructor(_0x28367f,_0x121d81,_0x2f17e3,_0x44d53d,_0xe86e5,_0x50f2eb,_0xb9b266){const _0x280d41=_0x420134;super(),this[_0x280d41(0x31d)]=_0x28367f,this[_0x280d41(0x210)]=_0x121d81,this[_0x280d41(0x347)]=_0x2f17e3,this[_0x280d41(0x1fc)]=_0x44d53d,this[_0x280d41(0x319)]=_0xe86e5,this[_0x280d41(0x26c)]=_0x50f2eb,this[_0x280d41(0x2f6)]=_0xb9b266,z(this,_0x280d41(0x278),null),z(this,_0x280d41(0x2ae),null),this[_0x280d41(0x1d9)]();}['dispose'](){const _0x53c83d=_0x420134;this[_0x53c83d(0x2ea)](),super[_0x53c83d(0x1e5)]();}[_0x420134(0x1d9)](){const _0x269efc=_0x420134;let _0x1d5f8c=this['_renderContext']['scene'][_0x269efc(0x1d3)]();this['disposeWithMe'](_0x114177(_0x1d5f8c[_0x269efc(0x174)][_0x269efc(0x231)](_0x5901a1(this[_0x269efc(0x23a)]))[_0x269efc(0x297)](()=>{this['_showPopupForSelection']();}))),this[_0x269efc(0x28f)](_0x114177(_0x1d5f8c['clearControl$'][_0x269efc(0x231)](_0x5901a1(this[_0x269efc(0x23a)]))['subscribe'](()=>{const _0x426e30=_0x269efc;this[_0x426e30(0x2e9)]();}))),this['disposeWithMe'](_0x114177(_0x1d5f8c[_0x269efc(0x1f2)][_0x269efc(0x231)](_0x5901a1(this['dispose$']))[_0x269efc(0x297)](()=>{const _0x5ee278=_0x269efc;this[_0x5ee278(0x2ea)]();}))),this[_0x269efc(0x28f)](_0x114177(_0x1d5f8c['changeEnd$']['pipe'](_0x5901a1(this[_0x269efc(0x23a)]))['subscribe'](()=>{const _0x74a461=_0x269efc;setTimeout(()=>this[_0x74a461(0x26a)](),0x0);}))),this[_0x269efc(0x28f)](_0x114177(this['_elementStateService'][_0x269efc(0x225)]['pipe'](_0x5901a1(this[_0x269efc(0x23a)]))[_0x269efc(0x297)](()=>{setTimeout(()=>this['_showPopupForSelection'](),0x0);}))),this['disposeWithMe'](_0x114177(this[_0x269efc(0x319)]['state$'][_0x269efc(0x231)](_0x5901a1(this[_0x269efc(0x23a)]))[_0x269efc(0x297)](()=>{setTimeout(()=>this['_showPopupForSelection'](),0x0);}))),this['disposeWithMe'](_0x114177(this[_0x269efc(0x26c)][_0x269efc(0x2bc)][_0x269efc(0x231)](_0x5901a1(this[_0x269efc(0x23a)]))[_0x269efc(0x297)](_0x55b10b=>{const _0x3b4745=_0x269efc;if(_0x55b10b){this[_0x3b4745(0x2ea)]();return;}setTimeout(()=>this['_showPopupForSelection'](),0x0);}))),this[_0x269efc(0x28f)](_0x114177(this[_0x269efc(0x2f6)][_0x269efc(0x305)][_0x269efc(0x231)](_0x5901a1(this[_0x269efc(0x23a)]))['subscribe'](_0x3288e7=>{const _0x2768fb=_0x269efc;if(_0x3288e7){this['_clearPopup']();return;}setTimeout(()=>this[_0x2768fb(0x26a)](),0x0);})));}[_0x420134(0x2ea)](){const _0x56633c=_0x420134;var _0x1f56fc;(_0x1f56fc=this[_0x56633c(0x278)])==null||_0x1f56fc[_0x56633c(0x1e5)](),this[_0x56633c(0x278)]=null,this[_0x56633c(0x2ae)]=null;}[_0x420134(0x2e9)](){setTimeout(()=>{this['_isPopupSelectionStillActive']()||this['_clearPopup']();},0x0);}['_isPopupSelectionStillActive'](){const _0x273145=_0x420134;let _0x22a45c=this['_elementStateService'][_0x273145(0x2c4)]();return!_0x22a45c[_0x273145(0x299)]||_0x22a45c['selectedIds'][_0x273145(0x23d)]!==0x1?!0x1:this[_0x273145(0x2ae)]===this[_0x273145(0x208)](_0x22a45c['context']['unitId'],_0x22a45c['context'][_0x273145(0x280)],_0x22a45c[_0x273145(0x212)][0x0]);}[_0x420134(0x208)](_0x1cd596,_0x1d0d9d,_0x5ed633){return _0x1cd596+':'+_0x1d0d9d+':'+_0x5ed633;}[_0x420134(0x26a)](){const _0x45ed38=_0x420134;if(this[_0x45ed38(0x2f6)][_0x45ed38(0x32f)]||this[_0x45ed38(0x26c)][_0x45ed38(0x17d)]()){this[_0x45ed38(0x2ea)]();return;}let _0x1353b9=this[_0x45ed38(0x1fc)][_0x45ed38(0x2c4)](),_0xc37d24=this[_0x45ed38(0x319)][_0x45ed38(0x2aa)]();if(_0x1353b9[_0x45ed38(0x166)]||_0xc37d24[_0x45ed38(0x320)]||_0xc37d24[_0x45ed38(0x222)]!==null&&_0xc37d24[_0x45ed38(0x222)]!==_0x3972cb[_0x45ed38(0x217)]||!_0x1353b9[_0x45ed38(0x299)]||_0x1353b9[_0x45ed38(0x299)][_0x45ed38(0x27a)]!==this['_renderContext'][_0x45ed38(0x27a)]||_0x1353b9[_0x45ed38(0x212)]['length']!==0x1||_0x1353b9[_0x45ed38(0x1db)]==null){this[_0x45ed38(0x2ea)]();return;}let _0x4f7ece=this[_0x45ed38(0x347)][_0x45ed38(0x2c7)](_0x1353b9[_0x45ed38(0x299)][_0x45ed38(0x27a)],_0x1353b9['context'][_0x45ed38(0x280)],_0x1353b9[_0x45ed38(0x1db)]);if(!_0x4f7ece||_0x4f7ece['element']['type']!==_0xbbe6aa[_0x45ed38(0x289)]){this[_0x45ed38(0x2ea)]();return;}let _0x55a9bb=this[_0x45ed38(0x220)](_0x4f7ece);if(!_0x55a9bb){this['_clearPopup']();return;}let _0x5a5348=this[_0x45ed38(0x208)](_0x4f7ece[_0x45ed38(0x27a)],_0x4f7ece[_0x45ed38(0x280)],_0x4f7ece[_0x45ed38(0x248)]);this[_0x45ed38(0x278)]&&this[_0x45ed38(0x2ae)]===_0x5a5348||(this[_0x45ed38(0x2ea)](),this['_popupDisposable']=this['disposeWithMe'](this[_0x45ed38(0x210)][_0x45ed38(0x229)](_0x4f7ece[_0x45ed38(0x27a)],_0x4f7ece[_0x45ed38(0x280)],_0x55a9bb,{'componentKey':Zn,'direction':_0x45ed38(0x35d),'offset':[0x0,0x24],'anchorBoundResolver':_0x36333a,'extraProps':{'unitId':_0x4f7ece['unitId'],'subUnitId':_0x4f7ece[_0x45ed38(0x280)],'elementId':_0x4f7ece['elementId'],'chartId':_0x4f7ece[_0x45ed38(0x157)][_0x45ed38(0x2f1)]}})),this[_0x45ed38(0x2ae)]=_0x5a5348);}[_0x420134(0x220)](_0x4b039c){const _0x5d9517=_0x420134;var _0x24e10b;let _0x301907=_0xce4805(_0x4b039c['unitId'],_0x4b039c[_0x5d9517(0x248)]),_0x1b07b2=this['_renderContext'][_0x5d9517(0x2b1)];return((_0x24e10b=_0x1b07b2['getObjectIncludeInGroup'])==null?void 0x0:_0x24e10b[_0x5d9517(0x202)](_0x1b07b2,_0x301907))??_0x1b07b2['getObject'](_0x301907)??null;}};nr=V([B(0x1,_0x562f55(_0x52e4c8)),B(0x2,_0x3c3318),B(0x3,_0x31d12a),B(0x4,_0x466b44),B(0x5,_0x562f55(H)),B(0x6,_0x562f55(_0x3acde6))],nr);let W=class extends _0x38bb52{constructor(_0xb4a5ac,_0x93282a,_0x53eb5d,_0x24dc7c,_0x4c5306,_0x2c05f2){const _0x9a8054=_0x420134;super(),this[_0x9a8054(0x31d)]=_0xb4a5ac,this[_0x9a8054(0x34a)]=_0x93282a,this['_boardElementService']=_0x53eb5d,this[_0x9a8054(0x1fc)]=_0x24dc7c,this['_uiStateService']=_0x4c5306,this['_editSessionService']=_0x2c05f2,z(this,_0x9a8054(0x1a7),!0x1),z(this,_0x9a8054(0x32d),null),this[_0x9a8054(0x1d9)]();}[_0x420134(0x1d9)](){const _0x168d9c=_0x420134;let {unitId:_0xc604f3}=this['_renderContext'],_0x1038cd=this[_0x168d9c(0x34a)][_0x168d9c(0x288)](_0xc604f3,_0x707cea[_0x168d9c(0x2e7)]);this['disposeWithMe'](_0x114177(()=>{const _0x3713eb=_0x168d9c;var _0x2f14db;return(_0x2f14db=this[_0x3713eb(0x32d)])==null?void 0x0:_0x2f14db[_0x3713eb(0x1e5)]();})),_0x1038cd&&(this['_scheduleAttachObjectDoubleClicks'](_0x1038cd),this[_0x168d9c(0x28f)](this[_0x168d9c(0x347)][_0x168d9c(0x199)][_0x168d9c(0x297)](_0x43fcb2=>{const _0x175dd2=_0x168d9c;_0x43fcb2['some'](_0x5c1698=>_0x5c1698[_0x175dd2(0x27a)]===_0xc604f3)&&this[_0x175dd2(0x345)](_0x1038cd);})),this[_0x168d9c(0x28f)](this[_0x168d9c(0x347)][_0x168d9c(0x2ce)][_0x168d9c(0x297)](_0x41037a=>{const _0x2cbc62=_0x168d9c;_0x41037a[_0x2cbc62(0x20b)](_0x1ca818=>_0x1ca818[_0x2cbc62(0x27a)]===_0xc604f3)&&this[_0x2cbc62(0x345)](_0x1038cd);})),this[_0x168d9c(0x28f)](this[_0x168d9c(0x347)][_0x168d9c(0x336)][_0x168d9c(0x297)](_0x4d25c7=>{const _0x1e8184=_0x168d9c;_0x4d25c7[_0x1e8184(0x20b)](_0x1bd4f5=>_0x1bd4f5[_0x1e8184(0x27a)]===_0xc604f3)&&this[_0x1e8184(0x345)](_0x1038cd);})),this['disposeWithMe'](this[_0x168d9c(0x1fc)]['state$'][_0x168d9c(0x297)](_0x508727=>{const _0x10801b=_0x168d9c;var _0x593571;((_0x593571=_0x508727[_0x10801b(0x299)])==null?void 0x0:_0x593571['unitId'])===_0xc604f3&&this[_0x10801b(0x345)](_0x1038cd);})));}['_scheduleAttachObjectDoubleClicks'](_0x38a777){const _0x4f0438=_0x420134;this['_attachScheduled']||(this[_0x4f0438(0x1a7)]=!0x0,Promise[_0x4f0438(0x296)]()[_0x4f0438(0x29e)](()=>this['_attachObjectDoubleClicks'](_0x38a777)));}['_attachObjectDoubleClicks'](_0x55111e){const _0x117531=_0x420134;var _0x3a7b7a;this[_0x117531(0x1a7)]=!0x1;let {scene:_0x2eb75e,unitId:_0x267efd}=this[_0x117531(0x31d)],_0x1f7888=_0x55111e['getActivePageId'](),_0x5a662c=this[_0x117531(0x347)][_0x117531(0x2cf)](_0x267efd,_0x1f7888),_0x251c45=new _0x23bb89();(_0x3a7b7a=this['_objectDblclickDisposables'])==null||_0x3a7b7a[_0x117531(0x1e5)](),this[_0x117531(0x32d)]=_0x251c45,_0x5a662c[_0x117531(0x1f1)](_0x36ef21=>{const _0x3fdf08=_0x117531;var _0x3bf882;let _0x4515a3=this['_boardElementService'][_0x3fdf08(0x2c7)](_0x267efd,_0x1f7888,_0x36ef21);if(!_0x4515a3||_0x4515a3[_0x3fdf08(0x157)][_0x3fdf08(0x304)]!==_0xbbe6aa['Chart'])return;let _0x384a04=_0xce4805(_0x267efd,_0x36ef21),_0x2e8b55=((_0x3bf882=_0x2eb75e[_0x3fdf08(0x175)])==null?void 0x0:_0x3bf882['call'](_0x2eb75e,_0x384a04))??_0x2eb75e[_0x3fdf08(0x28a)](_0x384a04);_0x2e8b55&&_0x251c45[_0x3fdf08(0x1c3)](_0x114177(_0x2e8b55['onDblclick$'][_0x3fdf08(0x21f)]((_0x2ba37e,_0x4251e7)=>{this['_openEditSession'](_0x4515a3,_0x2ba37e,_0x4251e7);})));});}[_0x420134(0x204)](_0x599000,_0x4cbae9,_0xc4a70e){const _0x18c83=_0x420134;var _0x1a4bdf;if(this[_0x18c83(0x319)][_0x18c83(0x2aa)]()[_0x18c83(0x320)]||this[_0x18c83(0x1fc)]['getSnapshot']()[_0x18c83(0x166)]||_0x599000[_0x18c83(0x157)]['type']!==_0xbbe6aa[_0x18c83(0x289)])return;let _0xbb3623={'unitId':_0x599000[_0x18c83(0x27a)],'subUnitId':_0x599000['subUnitId']};this['_elementStateService'][_0x18c83(0x2c5)](_0xbb3623,[_0x599000[_0x18c83(0x248)]],_0x599000['elementId']),this[_0x18c83(0x1fc)]['setFocusedSwimlaneLane'](_0xbb3623,null),this['_editSessionService'][_0x18c83(0x279)]({'chartId':_0x599000['element'][_0x18c83(0x2f1)],'elementId':_0x599000[_0x18c83(0x248)],'source':_0x18c83(0x1a2),'subUnitId':_0x599000[_0x18c83(0x280)],'unitId':_0x599000[_0x18c83(0x27a)]}),_0xc4a70e&&(_0xc4a70e[_0x18c83(0x1d2)]=!0x0),_0x4cbae9==null||(_0x1a4bdf=_0x4cbae9[_0x18c83(0x314)])==null||_0x1a4bdf[_0x18c83(0x202)](_0x4cbae9);}};W=V([B(0x1,_0xd96f74),B(0x2,_0x3c3318),B(0x3,_0x31d12a),B(0x4,_0x466b44),B(0x5,_0x562f55(H))],W);let G=class extends _0x37367c{constructor(_0x10ba7a,_0x120fde,_0x17d811){const _0x477c82=_0x420134;super(),this['_resourceService']=_0x10ba7a,this[_0x477c82(0x19b)]=_0x120fde,this[_0x477c82(0x1b4)]=_0x17d811;}[_0x420134(0x144)](_0x18cf3c,_0x10f3cd){const _0x681337=_0x420134;let _0x2c4da3=this[_0x681337(0x286)]['getChart'](_0x18cf3c,_0x10f3cd),_0x6b6e9e=_0x2c4da3?this[_0x681337(0x286)][_0x681337(0x1e4)](_0x18cf3c,_0x2c4da3[_0x681337(0x1bc)]):void 0x0;return!_0x2c4da3||!_0x6b6e9e?null:{'chartId':_0x10f3cd,'chartType':_0x2c4da3['chartType'],'dataSource':_0x6b6e9e,'sharingCount':this[_0x681337(0x286)][_0x681337(0x14c)](_0x18cf3c,_0x6b6e9e['id']),'unitId':_0x18cf3c};}async[_0x420134(0x2da)](_0x1d6c43){const _0x235786=_0x420134;var _0x2ecb99;if(!this['getDataEditState'](_0x1d6c43[_0x235786(0x27a)],_0x1d6c43[_0x235786(0x2f1)])||_0x1d6c43[_0x235786(0x2e8)][_0x235786(0x23d)]===0x0)return!0x1;let _0x206a01=(_0x2ecb99=this[_0x235786(0x286)][_0x235786(0x25d)](_0x1d6c43[_0x235786(0x27a)],_0x1d6c43[_0x235786(0x2f1)]))==null?void 0x0:_0x2ecb99[_0x235786(0x1ea)];if(_0x206a01===void 0x0)return!0x1;let _0x4c3cb0=_0x1be431(_0x206a01,_0x1d6c43[_0x235786(0x2e8)]);if(!_0x4c3cb0['ok'])return!0x1;let _0x213b73=await this[_0x235786(0x1ae)](_0x1d6c43[_0x235786(0x27a)],_0x1d6c43[_0x235786(0x2f1)],{'values':_0x4c3cb0[_0x235786(0x2e8)]});return _0x213b73&&this[_0x235786(0x19b)][_0x235786(0x164)](_0x1d6c43[_0x235786(0x27a)],_0x1d6c43[_0x235786(0x2f1)]),!!_0x213b73;}['changeDataSource'](_0x434080,_0x24eb47,_0x58b4fc){const _0x6b2d3a=_0x420134;return this['_commandService'][_0x6b2d3a(0x29c)](_0x479239['id'],{'unitId':_0x434080,'chartId':_0x24eb47,'dataSource':_0x58b4fc});}};G=V([B(0x0,_0x562f55(_0x8c60)),B(0x1,_0x562f55(_0x19fb9a)),B(0x2,_0x1fe324)],G);const rr=_0x420134(0x2ca);function ir(_0x480c24){const _0x3c854b=_0x420134;let _0xee0574=_0x30d157(G),_0x59e778=_0x30d157(_0x9e1c11),_0x24edc7=_0xee0574[_0x3c854b(0x144)](_0x480c24[_0x3c854b(0x27a)],_0x480c24[_0x3c854b(0x2f1)]),[_0x5c816d,_0x434953]=_0x52cd5f(()=>_0x2877eb(_0x24edc7==null?void 0x0:_0x24edc7[_0x3c854b(0x350)])?_0x24edc7['dataSource']['values'][_0x3c854b(0x21c)](_0xf77431=>[..._0xf77431]):[]),[_0x1b9afd,_0x12c69b]=_0x52cd5f(()=>_0x191f31(_0x24edc7==null?void 0x0:_0x24edc7[_0x3c854b(0x350)])?_0x3c854b(0x294):_0x3c854b(0x34f)),[_0x50c5e2,_0x1904b1]=_0x52cd5f(null),[_0x3baecd,_0x2416bf]=_0x52cd5f(null),_0x19c047={[_0x2f8c65[_0x3c854b(0x1c5)]]:_0x59e778['t'](_0x3c854b(0x354)),[_0x2f8c65[_0x3c854b(0x14d)]]:_0x59e778['t'](_0x3c854b(0x2d9)),[_0x2f8c65[_0x3c854b(0x24d)]]:_0x59e778['t'](_0x3c854b(0x20e))};if(!_0x24edc7)return _0x4c0ab2(_0x3c854b(0x34d),{'className':_0x3c854b(0x1ab),'children':_0x59e778['t'](_0x3c854b(0x142))});let _0x8a27c7=async _0x1623c6=>{const _0x5c2c35=_0x3c854b;var _0x498d83;if(_0x1b9afd===_0x5c2c35(0x294)){var _0x9c9284;if(!_0x50c5e2)return;if(!await _0xee0574[_0x5c2c35(0x1ae)](_0x480c24[_0x5c2c35(0x27a)],_0x480c24[_0x5c2c35(0x2f1)],_0x50c5e2)){_0x2416bf(_0x59e778['t'](_0x5c2c35(0x218)));return;}_0x2416bf(null),(_0x9c9284=_0x480c24[_0x5c2c35(0x190)])==null||_0x9c9284[_0x5c2c35(0x202)](_0x480c24);return;}let _0x131fd7=_0x1be431(_0x24edc7[_0x5c2c35(0x1ea)],_0x5c816d);if(!_0x131fd7['ok']){_0x2416bf(_0x19c047[_0x131fd7[_0x5c2c35(0x193)][_0x5c2c35(0x22f)]]);return;}if(!await _0xee0574['updateDataForChart']({'chartId':_0x480c24[_0x5c2c35(0x2f1)],'name':_0x24edc7[_0x5c2c35(0x350)][_0x5c2c35(0x255)],'unitId':_0x480c24[_0x5c2c35(0x27a)],'updateShared':_0x1623c6,'values':_0x131fd7['values']})){_0x2416bf(_0x59e778['t']('boards-chart-ui.dataEditor.updateFailed'));return;}_0x2416bf(null),(_0x498d83=_0x480c24[_0x5c2c35(0x190)])==null||_0x498d83[_0x5c2c35(0x202)](_0x480c24);};return _0x5b5190(_0x3c854b(0x34d),{'className':_0x3c854b(0x285),'children':[_0x4c0ab2(_0x450ca6,{'mode':_0x1b9afd,'initialSource':_0x191f31(_0x24edc7[_0x3c854b(0x350)])?_0x24edc7[_0x3c854b(0x350)][_0x3c854b(0x141)]:void 0x0,'inlineContent':_0x4c0ab2(_0x34964e,{'values':_0x5c816d,'parsePastedText':_0x1e6e18,'onChange':_0x434953}),'onModeChange':_0x202201=>{_0x12c69b(_0x202201),_0x1904b1(null);},'onPreviewChange':(_0x71f4fe,_0x773d08)=>_0x1904b1(_0x71f4fe&&_0x773d08['status']===_0x2b2838['READY']?{'source':_0x71f4fe}:null)}),_0x3baecd&&_0x4c0ab2('div',{'className':_0x3c854b(0x2ba),'children':_0x3baecd}),_0x5b5190('div',{'className':_0x3c854b(0x25a),'children':[_0x480c24[_0x3c854b(0x190)]&&_0x4c0ab2(_0x413d0f,{'type':_0x3c854b(0x21b),'variant':_0x3c854b(0x1a8),'onClick':_0x480c24[_0x3c854b(0x190)],'children':_0x59e778['t']('boards-chart-ui.common.cancel')}),_0x4c0ab2(_0x413d0f,{'type':_0x3c854b(0x21b),'variant':'primary','disabled':_0x1b9afd===_0x3c854b(0x294)&&!_0x50c5e2,'onClick':()=>_0x8a27c7(!0x0),'children':_0x59e778['t'](_0x3c854b(0x33f))})]})]});}const ar={'id':_0x420134(0x339),'type':_0x3d6f82['OPERATION'],'handler':(_0x3fe2b2,_0x35ba63)=>{const _0x52936d=_0x420134;if(!_0x35ba63||!_0x3fe2b2[_0x52936d(0x239)](G)[_0x52936d(0x144)](_0x35ba63['unitId'],_0x35ba63[_0x52936d(0x2f1)])||!_0x3fe2b2[_0x52936d(0x239)](_0x1af51d)[_0x52936d(0x239)](_0x52936d(0x2ca)))return!0x1;let _0x32fe5d=_0x3fe2b2[_0x52936d(0x239)](_0x223c84),_0x33d508=_0x3fe2b2[_0x52936d(0x239)](_0x9e1c11),_0x52c759=null,_0x139068=()=>{const _0xaf1eb0=_0x52936d;_0x52c759==null||_0x52c759[_0xaf1eb0(0x1e5)](),_0x52c759=null;};return _0x52c759=_0x32fe5d[_0x52936d(0x279)]({'id':'board-chart.dialog.data-editor','title':{'title':_0x33d508['t'](_0x52936d(0x2d2))},'width':_0x52936d(0x25f),'draggable':!0x1,'mask':!0x0,'maskClosable':!0x1,'children':{'label':{'name':rr,'props':{..._0x35ba63,'onClose':_0x139068}}},'onClose':_0x139068}),!0x0;}},or='board-chart.edit-panel',K={'axis':{..._0x55330d,'primaryGridLineVisible':!0x1,'secondaryGridLineVisible':!0x0},'legend':_0x56644b,'lineAndArea':_0x475e1f,'pareto':_0x523a9d,'funnel':_0x18ae83,'heatmap':_0x5685b8,'indicatorLine':_0x39bc3c,'pie':{..._0x292158,'doughnutHole':0x0,'pieHole':0x0},'relation':{..._0x132015,'useValueAsSymbolSize':!0x0},'radar':_0x33566e,'series':{..._0x15e876,'radarFillOpacity':0x1,'rightAxis':{'ltr':!0x1,'rtl':!0x1}},'style':_0x420a41,'titles':_0x1b2173,'trendline':_0x4ef68a,'waterfall':{..._0x3ba343,'useSubtotal':!0x1},'waterfallStyle':_0x2929dc,'wordCloud':_0xe8319e},sr=[_0x1f8f85[_0x420134(0x2a2)],_0x1f8f85[_0x420134(0x25c)],_0x1f8f85[_0x420134(0x14b)],_0x1f8f85[_0x420134(0x25b)],_0x1f8f85[_0x420134(0x2ec)],_0x1f8f85['Sankey'],_0x1f8f85[_0x420134(0x154)],_0x1f8f85[_0x420134(0x183)],_0x1f8f85[_0x420134(0x307)],_0x1f8f85['Histogram'],_0x1f8f85[_0x420134(0x1d6)],_0x1f8f85[_0x420134(0x168)],_0x1f8f85[_0x420134(0x33b)],_0x1f8f85[_0x420134(0x33d)]];function cr(_0x3fef12){const _0x1dccf9=_0x420134;let _0x51d35b=_0x30d157(_0x9e1c11);return _0x5b5190('div',{'children':[_0x4c0ab2(_0x3c486f,{'title':_0x51d35b['t']('boards-chart-ui.common.data')}),_0x4c0ab2(_0x413d0f,{'type':_0x1dccf9(0x21b),'variant':_0x1dccf9(0x1a8),'className':_0x1dccf9(0x34c),'onClick':_0x3fef12[_0x1dccf9(0x293)],'children':_0x51d35b['t'](_0x1dccf9(0x2d2))})]});}function lr(){const _0x13a9ea=_0x420134;let _0x37f664=_0xf3075c();return _0x4c0ab2(_0x4b623f,{'visible':sr[_0x13a9ea(0x322)](_0xfd1de8=>!_0x57039c['baseOn'](_0x37f664,_0xfd1de8))});}function ur(_0x46f9ac){const _0x526817=_0x420134;return _0x5b5190(_0x1c4444,{'id':_0x46f9ac['id'],'children':[_0x4c0ab2(_0x16cc65,{'children':_0x46f9ac[_0x526817(0x1c6)]}),_0x4c0ab2(_0x3be325,{'children':_0x46f9ac[_0x526817(0x251)]})]});}function dr(_0x1bff27,_0x511105){const _0x28166c=_0x420134;let _0x100322=_0x1bff27===_0x1f8f85[_0x28166c(0x14b)],_0x290c3c=_0x57039c['baseOn'](_0x1bff27,_0x1f8f85['Bubble']),_0x1e842e=_0x1bff27===_0x1f8f85[_0x28166c(0x151)],_0x28bd5d=_0x1bff27===_0x1f8f85[_0x28166c(0x2ec)],_0x3a9dbd=_0x1bff27===_0x1f8f85[_0x28166c(0x154)],_0x4a6bb1=_0x57039c[_0x28166c(0x2d4)](_0x1bff27,_0x1f8f85['Pie']),_0x3ad990=_0x1bff27===_0x1f8f85[_0x28166c(0x25c)],_0x22cfcf=_0x1bff27===_0x1f8f85[_0x28166c(0x20f)],_0x5eacf3=_0x1bff27===_0x1f8f85[_0x28166c(0x16b)],_0xc86b1b=_0x1bff27===_0x1f8f85[_0x28166c(0x307)],_0x6e2ebd=_0x1bff27===_0x1f8f85['Histogram'],_0x4ff1bb=_0x1bff27===_0x1f8f85[_0x28166c(0x1d6)],_0xbf366c=_0x1bff27===_0x1f8f85['Sunburst'],_0x307438=_0x1bff27===_0x1f8f85[_0x28166c(0x33b)],_0x43df5b=_0x1bff27===_0x1f8f85[_0x28166c(0x33d)],_0x3c9395=[_0x4c33db[_0x28166c(0x15a)],_0x4c33db[_0x28166c(0x173)]];return _0x100322&&_0x3c9395['push'](_0x4c33db[_0x28166c(0x14b)]),_0x57d0f8(_0x1bff27,_0x1f3daa[_0x28166c(0x32c)])&&!_0x290c3c&&!_0x5eacf3&&_0x3c9395[_0x28166c(0x2b9)](_0x4c33db['Series']),_0x22cfcf&&_0x3c9395[_0x28166c(0x2b9)](_0x4c33db[_0x28166c(0x272)]),_0x5eacf3&&_0x3c9395[_0x28166c(0x2b9)](_0x4c33db[_0x28166c(0x245)],_0x4c33db[_0x28166c(0x15c)]),_0x4a6bb1&&_0x3c9395[_0x28166c(0x2b9)](_0x4c33db[_0x28166c(0x15f)]),_0x3ad990&&_0x3c9395[_0x28166c(0x2b9)](_0x4c33db[_0x28166c(0x25c)]),_0x1e842e&&_0x3c9395[_0x28166c(0x2b9)](_0x4c33db[_0x28166c(0x151)]),_0x3a9dbd&&_0x3c9395['push'](_0x4c33db[_0x28166c(0x154)]),_0x28bd5d&&_0x3c9395['push'](_0x4c33db['Relation']),_0x34ddfc(_0x1bff27)&&_0x3c9395[_0x28166c(0x2b9)](_0x4c33db[_0x28166c(0x31b)]),_0x57d0f8(_0x1bff27,_0x1f3daa[_0x28166c(0x1f0)])&&_0x3c9395['push'](_0x4c33db['Legend']),_0x57d0f8(_0x1bff27,_0x1f3daa[_0x28166c(0x344)])&&(_0x3c9395[_0x28166c(0x2b9)](_0x4c33db[_0x28166c(0x2e4)],_0x4c33db[_0x28166c(0x1fe)]),_0x511105&&_0x3c9395[_0x28166c(0x2b9)](_0x4c33db[_0x28166c(0x329)]),_0x3c9395[_0x28166c(0x2b9)](_0x4c33db[_0x28166c(0x227)])),_0x57d0f8(_0x1bff27,_0x1f3daa[_0x28166c(0x2b3)])&&_0x3c9395[_0x28166c(0x2b9)](_0x4c33db[_0x28166c(0x2b3)]),_0x3bcf6e(_0x1bff27)&&_0x3c9395[_0x28166c(0x2b9)](_0x4c33db[_0x28166c(0x2e0)]),_0xc86b1b&&_0x3c9395[_0x28166c(0x2b9)](_0x4c33db['Candlestick']),_0x6e2ebd&&_0x3c9395[_0x28166c(0x2b9)](_0x4c33db[_0x28166c(0x169)]),_0x4ff1bb&&_0x3c9395['push'](_0x4c33db[_0x28166c(0x1d6)]),_0xbf366c&&_0x3c9395['push'](_0x4c33db['Sunburst']),_0x307438&&_0x3c9395['push'](_0x4c33db[_0x28166c(0x33b)]),_0x43df5b&&_0x3c9395[_0x28166c(0x2b9)](_0x4c33db['Chord']),_0x3c9395;}function fr(_0x179b97){const _0x3f708a=_0x420134;var _0xc0dc55,_0x5aec46,_0x562415;let _0x2a8c7e=_0x30d157(_0x9e1c11),_0x2740ff=_0xf3075c(),_0x3118ba=_0x32edde(),[_0x227105,_0x19584c]=_0x52cd5f(null),_0x44ae9c=dr(_0x2740ff,_0x3118ba),_0x19deec=_0x4c0ab2(_0x1f5610,{}),_0x1f668a={[_0x4c33db[_0x3f708a(0x307)]]:_0x2a8c7e['t']('boards-chart-ui.section.candlestick'),[_0x4c33db[_0x3f708a(0x173)]]:_0x2a8c7e['t'](_0x3f708a(0x29f)),[_0x4c33db[_0x3f708a(0x15a)]]:_0x2a8c7e['t'](_0x3f708a(0x26e)),[_0x4c33db[_0x3f708a(0x33d)]]:_0x2a8c7e['t'](_0x3f708a(0x209)),[_0x4c33db[_0x3f708a(0x151)]]:_0x2a8c7e['t'](_0x3f708a(0x1f4)),[_0x4c33db[_0x3f708a(0x33b)]]:_0x2a8c7e['t'](_0x3f708a(0x23e)),[_0x4c33db['GridlinesAndTicks']]:_0x2a8c7e['t'](_0x3f708a(0x19d)),[_0x4c33db[_0x3f708a(0x154)]]:_0x2a8c7e['t'](_0x3f708a(0x26f)),[_0x4c33db[_0x3f708a(0x169)]]:_0x2a8c7e['t'](_0x3f708a(0x31a)),[_0x4c33db['HorizontalAxis']]:_0x2a8c7e['t'](_0x3f708a(0x1ed)),[_0x4c33db[_0x3f708a(0x2b3)]]:_0x2a8c7e['t']('boards-chart-ui.section.indicatorLine'),[_0x4c33db[_0x3f708a(0x1f0)]]:_0x2a8c7e['t'](_0x3f708a(0x35c)),[_0x4c33db['LineAndArea']]:_0x2a8c7e['t'](_0x3f708a(0x189)),[_0x4c33db[_0x3f708a(0x245)]]:_0x2a8c7e['t'](_0x3f708a(0x303)),[_0x4c33db[_0x3f708a(0x15c)]]:_0x2a8c7e['t']('boards-chart-ui.section.paretoLine'),[_0x4c33db[_0x3f708a(0x15f)]]:_0x2a8c7e['t'](_0x3f708a(0x327)),[_0x4c33db[_0x3f708a(0x25c)]]:_0x2a8c7e['t']('boards-chart-ui.section.radar'),[_0x4c33db[_0x3f708a(0x2ec)]]:_0x2a8c7e['t'](_0x3f708a(0x2f7)),[_0x4c33db[_0x3f708a(0x329)]]:_0x2a8c7e['t']('boards-chart-ui.common.rightVerticalAxis'),[_0x4c33db[_0x3f708a(0x1f9)]]:_0x2a8c7e['t'](_0x3f708a(0x313)),[_0x4c33db[_0x3f708a(0x168)]]:_0x2a8c7e['t']('boards-chart-ui.section.sunburst'),[_0x4c33db[_0x3f708a(0x1d6)]]:_0x2a8c7e['t'](_0x3f708a(0x2a9)),[_0x4c33db[_0x3f708a(0x2e0)]]:_0x2a8c7e['t'](_0x3f708a(0x261)),[_0x4c33db[_0x3f708a(0x1fe)]]:_0x2a8c7e['t'](_0x3f708a(0x348)),[_0x4c33db[_0x3f708a(0x272)]]:_0x2a8c7e['t'](_0x3f708a(0x2c0)),[_0x4c33db['WordCloud']]:_0x2a8c7e['t'](_0x3f708a(0x1f5))};_0xe8772c(()=>{const _0x177091=_0x3f708a;var _0x191bb8;(_0x191bb8=_0x179b97[_0x177091(0x2af)])!=null&&_0x191bb8[_0x177091(0x2fc)]&&_0x19584c(_0x179b97[_0x177091(0x2af)][_0x177091(0x2fc)]);},[_0x179b97[_0x3f708a(0x2af)]]);let _0x21c454={[_0x4c33db[_0x3f708a(0x15a)]]:_0x4c0ab2(_0x243fc2,{'defaultValues':K[_0x3f708a(0x2c6)],'showBodyFont':!0x0}),[_0x4c33db[_0x3f708a(0x173)]]:_0x4c0ab2(_0x55db44,{'commitMode':_0x3f708a(0x1f8),'defaultValues':K['titles'],'selectedTitleKey':(_0xc0dc55=_0x179b97[_0x3f708a(0x2af)])==null?void 0x0:_0xc0dc55[_0x3f708a(0x140)]}),[_0x4c33db[_0x3f708a(0x1f9)]]:_0x5b5190(_0x1298fb,{'defaultValues':K['series'],'NumberFormatField':_0x3b55de,'selectedSeriesId':(_0x5aec46=_0x179b97[_0x3f708a(0x2af)])==null?void 0x0:_0x5aec46[_0x3f708a(0x24f)],'children':[_0x4c0ab2(_0x58fc41,{}),_0x4c0ab2(_0x44ffa0,{'individualOnly':!0x0}),_0x4c0ab2(_0x31bfcd,{}),_0x4c0ab2(_0x1e885e,{}),_0x4c0ab2(_0x1521ac,{}),_0x4c0ab2(_0x9473e9,{}),_0x4c0ab2(_0x491b26,{}),_0x4c0ab2(_0x14fec3,{})]}),[_0x4c33db[_0x3f708a(0x272)]]:_0x4c0ab2(_0xc5b822,{'defaultValues':K['waterfallStyle'],'NumberFormatField':_0x3b55de,'selectedSeriesId':(_0x562415=_0x179b97[_0x3f708a(0x2af)])==null?void 0x0:_0x562415[_0x3f708a(0x24f)],'showBucketName':()=>!0x0}),[_0x4c33db['ParetoBarSeries']]:_0x4c0ab2(_0x34ddb7,{'defaultValues':K[_0x3f708a(0x1ef)],'NumberFormatField':_0x3b55de,'showDataPointEditor':!0x0,'target':_0x3f708a(0x2b5)}),[_0x4c33db['ParetoLineSeries']]:_0x4c0ab2(_0x34ddb7,{'defaultValues':K[_0x3f708a(0x1ef)],'NumberFormatField':_0x3b55de,'showDataPointEditor':!0x0,'target':_0x3f708a(0x14a)}),[_0x4c33db[_0x3f708a(0x15f)]]:_0x4c0ab2(_0x3b6e06,{'defaultValues':K[_0x3f708a(0x198)],'NumberFormatField':_0x3b55de}),[_0x4c33db[_0x3f708a(0x14b)]]:_0x5b5190(_0x347c60,{'children':[_0x4c0ab2(_0x54123c,{'defaultValues':K['wordCloud']}),_0x4c0ab2(_0x364feb,{}),_0x4c0ab2(_0x2d7381,{'defaultValues':K[_0x3f708a(0x1cc)]})]}),[_0x4c33db[_0x3f708a(0x25c)]]:_0x4c0ab2(_0x2c7bb8,{'defaultValues':K['radar']}),[_0x4c33db[_0x3f708a(0x151)]]:_0x4c0ab2(_0x245efb,{'defaultValues':K['funnel'],'gapControl':'number'}),[_0x4c33db[_0x3f708a(0x154)]]:_0x4c0ab2(_0x43dcb2,{'defaultValues':K[_0x3f708a(0x26d)]}),[_0x4c33db['Relation']]:_0x4c0ab2(_0x1efc18,{'defaultValues':K['relation']}),[_0x4c33db[_0x3f708a(0x31b)]]:_0x4c0ab2(_0x4a1c62,{'defaultValues':K[_0x3f708a(0x318)],'lineStyleControl':_0x3f708a(0x284)}),[_0x4c33db[_0x3f708a(0x1f0)]]:_0x4c0ab2(_0xcb1ed,{'defaultValues':K[_0x3f708a(0x1fd)]}),[_0x4c33db[_0x3f708a(0x2e4)]]:_0x4c0ab2(_0x3bce50,{'axis':'x','defaultValues':K[_0x3f708a(0x1c9)],'NumberFormatField':_0x3b55de}),[_0x4c33db[_0x3f708a(0x1fe)]]:_0x4c0ab2(_0x3bce50,{'axis':'y','defaultValues':K[_0x3f708a(0x1c9)],'NumberFormatField':_0x3b55de}),[_0x4c33db[_0x3f708a(0x329)]]:_0x4c0ab2(_0x3bce50,{'axis':_0x3f708a(0x34e),'defaultValues':K[_0x3f708a(0x1c9)],'NumberFormatField':_0x3b55de}),[_0x4c33db[_0x3f708a(0x227)]]:_0x4c0ab2(_0x38be78,{'defaultValues':K['axis']}),[_0x4c33db[_0x3f708a(0x2b3)]]:_0x4c0ab2(_0x2ec339,{'defaultValues':K[_0x3f708a(0x2dd)]}),[_0x4c33db[_0x3f708a(0x2e0)]]:_0x4c0ab2(_0x331351,{'defaultValues':K['trendline']}),[_0x4c33db['Candlestick']]:_0x19deec,[_0x4c33db['Histogram']]:_0x19deec,[_0x4c33db['Treemap']]:_0x19deec,[_0x4c33db['Sunburst']]:_0x19deec,[_0x4c33db['Gauge']]:_0x19deec,[_0x4c33db[_0x3f708a(0x33d)]]:_0x19deec};return _0x4c0ab2(_0x533994,{'value':_0x227105,'onChange':_0x19584c,'children':_0x44ae9c[_0x3f708a(0x21c)](_0xbb7021=>_0x4c0ab2(ur,{'id':_0xbb7021,'label':_0x1f668a[_0xbb7021],'children':_0x21c454[_0xbb7021]},_0xbb7021))});}function pr({unitId:_0x1f3763,subUnitId:_0x48df5a,elementId:_0x2de088,chartId:_0x4726f4}){const _0x5469b1=_0x420134;let _0x15c5a6=_0x30d157(_0x19fb9a),_0x22bb37=_0x30d157(U),_0x151ac4=_0x30d157(_0x9e1c11),_0x1bb29c=_0x30d157(_0x1fe324),_0xf249b7=_0x30d157(_0xd63000),_0x588159=_0x30d157(_0xd96f74),_0x2031b5=_0x30d157(H),_0x34aebc=_0x265074(_0x15c5a6['activeRuntimeModel$'],_0x15c5a6[_0x5469b1(0x163)]),_0x1080ef=_0x265074(_0x2031b5['activeSession$'],_0x2031b5['getActiveSession']()),[_0x2680f2,_0x445c4e]=_0x52cd5f(_0x2d4b13[_0x5469b1(0x311)]),_0x310eae=(_0x1080ef==null?void 0x0:_0x1080ef[_0x5469b1(0x27a)])===_0x1f3763&&_0x1080ef[_0x5469b1(0x2f1)]===_0x4726f4&&_0x1080ef[_0x5469b1(0x248)]===_0x2de088?_0x1080ef['route']:void 0x0;_0xe8772c(()=>{const _0x4ff9cf=_0x5469b1;_0x15c5a6[_0x4ff9cf(0x263)](_0x1f3763,_0x4726f4);},[_0x4726f4,_0x15c5a6,_0x1f3763]),_0xe8772c(()=>{const _0x40948c=_0x5469b1;_0x310eae!=null&&_0x310eae[_0x40948c(0x14e)]&&_0x445c4e(_0x310eae[_0x40948c(0x14e)]);},[_0x310eae]);let _0x12e347=(_0x34aebc==null?void 0x0:_0x34aebc['unitId'])===_0x1f3763&&_0x34aebc[_0x5469b1(0x2f1)]===_0x4726f4,_0x5dcc66=_0x3b7d38(()=>{const _0x390475=_0x5469b1;if(!_0x12e347)return null;let _0x10b846=_0x588159[_0x390475(0x288)](_0x1f3763,_0x707cea[_0x390475(0x2e7)]);return _0x10b846?new _0x1cfdd3(_0x34aebc[_0x390475(0x271)],new _0x4f64a2({'unitId':_0x1f3763,'pageId':_0x48df5a,'chartId':_0x4726f4,'elementId':_0x2de088,'boardModel':_0x10b846,'injector':_0xf249b7})):null;},[_0x34aebc,_0x4726f4,_0x2de088,_0xf249b7,_0x12e347,_0x48df5a,_0x1f3763,_0x588159]),_0x103dde=_0x3b7d38(()=>_0x5e7700(_0x41a22e['map'](_0x4f6b1c=>({..._0x4f6b1c,'label':_0x151ac4['t'](_0x5469b1(0x262)+_0x4f6b1c[_0x5469b1(0x1a5)])}))),[_0x151ac4]);return!_0x12e347||!_0x5dcc66?null:_0x4c0ab2(_0x38d517,{'chartUIService':_0x22bb37,'hostAdapter':_0x5dcc66,'children':_0x5b5190('div',{'className':_0x5469b1(0x323),'children':[_0x4c0ab2(_0x3f4560,{'ariaLabel':_0x151ac4['t'](_0x5469b1(0x205)),'className':'univer-shrink-0\x20univer-px-3','items':[{'label':_0x151ac4['t'](_0x5469b1(0x2dc)),'panelId':mr,'value':_0x2d4b13[_0x5469b1(0x311)]},{'label':_0x151ac4['t'](_0x5469b1(0x219)),'panelId':hr,'value':_0x2d4b13['Style']}],'value':_0x2680f2,'onChange':_0x445c4e}),_0x2680f2===_0x2d4b13[_0x5469b1(0x311)]?_0x4c0ab2(_0x1e07c3,{'id':mr,'label':_0x151ac4['t'](_0x5469b1(0x2dc)),'children':_0x5b5190('div',{'className':_0x5469b1(0x33e),'children':[_0x4c0ab2(_0xb03ed8,{'options':_0x103dde}),_0x4c0ab2(_0x5cba48,{}),_0x4c0ab2(_0x6ad40f,{}),_0x4c0ab2(lr,{}),_0x4c0ab2(_0x4cb525,{}),_0x4c0ab2(cr,{'onEditData':()=>_0x1bb29c[_0x5469b1(0x29c)](ar['id'],{'unitId':_0x1f3763,'chartId':_0x4726f4})}),_0x4c0ab2(_0x4f7120,{'orientationControl':_0x4c0ab2(_0x413d0f,{'size':'small','onClick':()=>_0x22bb37[_0x5469b1(0x16d)]({'patch':{'context':{'orient':_0x34aebc[_0x5469b1(0x141)][_0x5469b1(0x1a1)]?_0x5469b1(0x300):_0x5469b1(0x1bb)}}}),'children':_0x151ac4['t'](_0x5469b1(0x2fd))})}),_0x4c0ab2(_0x12a344,{}),_0x4c0ab2(_0x1df86c,{'defaultValues':K[_0x5469b1(0x1bf)]})]})}):_0x4c0ab2(_0x1e07c3,{'id':hr,'label':_0x151ac4['t']('boards-chart-ui.common.customize'),'children':_0x4c0ab2(fr,{'route':_0x310eae})})]})});}const mr=_0x420134(0x2be),hr=_0x420134(0x2bf),gr=_0x40ee15,_r=_0x24da85;function vr(_0x26dc89){const _0x16a93e=_0x420134;var _0x38a48d,_0x197c8d;let _0x2a1d5f=_0x26dc89[_0x16a93e(0x1da)]??{},_0x36b99f=_0x2a1d5f['borderWidth']===0x0?0x0:xr(_0x2a1d5f[_0x16a93e(0x1ca)],xr((_0x38a48d=_0x26dc89['chartElement'])==null||(_0x38a48d=_0x38a48d['stroke'])==null?void 0x0:_0x38a48d[_0x16a93e(0x22a)],0x1));return{'fill':_0x26dc89[_0x16a93e(0x33c)]??_0x2a1d5f[_0x16a93e(0x145)]??_0x5723a7[_0x16a93e(0x145)],'stroke':_0x2a1d5f[_0x16a93e(0x343)]??((_0x197c8d=_0x26dc89[_0x16a93e(0x23c)])==null||(_0x197c8d=_0x197c8d[_0x16a93e(0x28c)])==null?void 0x0:_0x197c8d[_0x16a93e(0x31c)])??_0x26dc89['themeBorderColor']??(_0x26dc89[_0x16a93e(0x2a0)]?_0x16a93e(0x269):gr),'strokeWidth':_0x36b99f,'radius':_r};}function yr(_0x3371c6,_0x181443){const _0x18e509=_0x420134;let _0x293a81=Math[_0x18e509(0x331)](0x0,_0x181443[_0x18e509(0x1b9)]);return{'left':_0x293a81,'top':_0x293a81,'width':Math[_0x18e509(0x331)](0x1,_0x3371c6[_0x18e509(0x22a)]-_0x293a81*0x2),'height':Math[_0x18e509(0x331)](0x1,_0x3371c6[_0x18e509(0x233)]-_0x293a81*0x2)};}function br(_0x4380c9,_0x5806f1){const _0x595aa9=_0x420134;let _0x20c69b=-0x1/0x2;return{'left':_0x20c69b,'top':_0x20c69b,'width':Math[_0x595aa9(0x331)](0x1,_0x4380c9['width']),'height':Math['max'](0x1,_0x4380c9[_0x595aa9(0x233)]),'radius':Math['max'](0x0,_0x5806f1['radius']-_0x5806f1[_0x595aa9(0x1b9)]/0x2)};}function xr(_0x219056,_0x2cfc63){const _0x3e583f=_0x420134;return typeof _0x219056==_0x3e583f(0x1b3)&&Number[_0x3e583f(0x315)](_0x219056)&&_0x219056>0x0?_0x219056:_0x2cfc63;}function Sr(_0x343d88){const _0x13752d=_0x420134;var _0x18166b;let _0x3d86e3=(_0x18166b=_0x343d88[_0x13752d(0x357)](/^#([\da-f]{3}|[\da-f]{6})$/i))==null?void 0x0:_0x18166b[0x1];if(_0x3d86e3){let _0x2c626e=_0x3d86e3['length']===0x3?_0x3d86e3[_0x13752d(0x333)]('')[_0x13752d(0x21c)](_0x3a41b6=>''+_0x3a41b6+_0x3a41b6)[_0x13752d(0x16f)](''):_0x3d86e3;return _0x13752d(0x310)+Number['parseInt'](_0x2c626e['slice'](0x0,0x2),0x10)+',\x20'+Number[_0x13752d(0x1f3)](_0x2c626e['slice'](0x2,0x4),0x10)+',\x20'+Number['parseInt'](_0x2c626e[_0x13752d(0x2cb)](0x4,0x6),0x10)+')';}let _0x1a9a5c=document['createElement']('span');return _0x1a9a5c[_0x13752d(0x2c6)]['color']=_0x343d88,_0x1a9a5c[_0x13752d(0x2c6)][_0x13752d(0x31c)]||_0x343d88;}let q=class extends _0x37367c{constructor(_0x34f16a,_0x4206a5,_0x1320f1){const _0x1531a9=_0x420134;super(),this[_0x1531a9(0x1b6)]=_0x34f16a,this[_0x1531a9(0x27f)]=_0x4206a5,this[_0x1531a9(0x1b5)]=_0x1320f1,z(this,'_chartInstanceMap',new Map()),z(this,'_chartElementEditMode',new Map()),z(this,'_chartEventHandlers',new Map()),z(this,_0x1531a9(0x341),new Map());}['createChartInstance'](_0x59aac8){const _0x42b7ea=_0x420134;return _0x59aac8?this[_0x42b7ea(0x1b5)][_0x42b7ea(0x238)](_0x59aac8,this[_0x42b7ea(0x306)]()):this[_0x42b7ea(0x1b5)][_0x42b7ea(0x238)]();}['registerChartInstance'](_0x10f6f1,_0x4161ae,_0x34887f){const _0x2162aa=_0x420134;let _0x56ff99=this['_getChartRuntimeKey'](_0x10f6f1,_0x4161ae),_0x2ea9bc=this[_0x2162aa(0x155)]['get'](_0x56ff99);return _0x2ea9bc&&_0x2ea9bc!==_0x34887f&&(this[_0x2162aa(0x21e)](_0x56ff99),_0x2ea9bc[_0x2162aa(0x1e5)]()),this['_chartInstanceMap']['set'](_0x56ff99,_0x34887f),_0x34887f[_0x2162aa(0x201)](this[_0x2162aa(0x338)]['get'](_0x56ff99)===!0x0),this[_0x2162aa(0x18e)](_0x56ff99,_0x34887f),{'dispose':()=>{const _0x17dbe1=_0x2162aa;this[_0x17dbe1(0x155)][_0x17dbe1(0x239)](_0x56ff99)===_0x34887f&&(this[_0x17dbe1(0x21e)](_0x56ff99),this[_0x17dbe1(0x155)][_0x17dbe1(0x2ff)](_0x56ff99));}};}[_0x420134(0x201)](_0x16454e,_0x1657db,_0x5e3ab3){const _0x12c0f9=_0x420134;var _0x2f5282;let _0x466926=this[_0x12c0f9(0x277)](_0x16454e,_0x1657db);_0x5e3ab3?this[_0x12c0f9(0x338)][_0x12c0f9(0x1bd)](_0x466926,!0x0):this[_0x12c0f9(0x338)][_0x12c0f9(0x2ff)](_0x466926),(_0x2f5282=this['_chartInstanceMap'][_0x12c0f9(0x239)](_0x466926))==null||_0x2f5282['setElementEditMode'](_0x5e3ab3);}['isElementEditModeActive'](_0x43990f,_0x5980a0){const _0x77cf23=_0x420134;return this['_chartElementEditMode'][_0x77cf23(0x239)](this[_0x77cf23(0x277)](_0x43990f,_0x5980a0))===!0x0;}['on'](_0x3df1d2,_0x2fad73,_0x15dde0,_0x1a8fdc){const _0x44a48c=_0x420134;let _0x1ad055=this[_0x44a48c(0x277)](_0x3df1d2,_0x2fad73),_0x5a39a1=this[_0x44a48c(0x30d)][_0x44a48c(0x239)](_0x1ad055);_0x5a39a1||(_0x5a39a1=new Map(),this[_0x44a48c(0x30d)][_0x44a48c(0x1bd)](_0x1ad055,_0x5a39a1));let _0xe1e498=_0x5a39a1[_0x44a48c(0x239)](_0x15dde0);_0xe1e498||(_0xe1e498=new Set(),_0x5a39a1['set'](_0x15dde0,_0xe1e498)),_0xe1e498['add'](_0x1a8fdc);let _0x9f74ee=this[_0x44a48c(0x155)][_0x44a48c(0x239)](_0x1ad055);return _0x9f74ee&&this[_0x44a48c(0x2a8)](_0x1ad055,_0x9f74ee,_0x15dde0,_0x1a8fdc),{'dispose':()=>{const _0x2c51e3=_0x44a48c;let _0x2381a7=this['_chartEventHandlers']['get'](_0x1ad055),_0x20cdb6=_0x2381a7==null?void 0x0:_0x2381a7[_0x2c51e3(0x239)](_0x15dde0);_0x20cdb6==null||_0x20cdb6[_0x2c51e3(0x2ff)](_0x1a8fdc),(_0x20cdb6==null?void 0x0:_0x20cdb6[_0x2c51e3(0x213)])===0x0&&(_0x2381a7==null||_0x2381a7['delete'](_0x15dde0)),(_0x2381a7==null?void 0x0:_0x2381a7[_0x2c51e3(0x213)])===0x0&&this[_0x2c51e3(0x30d)][_0x2c51e3(0x2ff)](_0x1ad055),this['_disposeChartEventSubscription'](_0x1ad055,_0x15dde0,_0x1a8fdc);}};}[_0x420134(0x158)](_0x122908){const _0x33e94e=_0x420134;let _0x44ff46=_0x122908[_0x33e94e(0x271)][_0x33e94e(0x2f3)];if(!_0x44ff46)throw Error('Board\x20chart\x20'+_0x122908[_0x33e94e(0x2f1)]+_0x33e94e(0x20d));let _0x4d8de7=this['_localeService'][_0x33e94e(0x196)]();return{'chartConfig':_0x44ff46,'chartStyle':_0x328c21({..._0x122908[_0x33e94e(0x271)][_0x33e94e(0x2c6)],'runtime':_0x122908[_0x33e94e(0x271)]['getRuntimeContext'](_0x4d8de7),'direction':_0x4d8de7},_0x44ff46[_0x33e94e(0x304)])};}[_0x420134(0x234)](_0x13efa4,_0x90e6bd,_0x4c71f2){const _0x1f49f0=_0x420134;let {chartConfig:_0x94ab97,chartStyle:_0x5e7980}=this[_0x1f49f0(0x158)](_0x13efa4),_0x4089a5=this[_0x1f49f0(0x1b5)][_0x1f49f0(0x1b7)]();return{'spec':_0x4089a5['stylizeSpec'](_0x4089a5[_0x1f49f0(0x298)](_0x94ab97,_0x5e7980),{'chartConfig':_0x94ab97,'chartStyle':_0x5e7980,'chartInstance':_0x4c71f2},_0x90e6bd),'chartConfig':_0x94ab97,'chartStyle':_0x5e7980,'hostStyle':this[_0x1f49f0(0x260)](_0x5e7980)};}['getHostStyle'](_0x57f1b2){const _0x1541f5=_0x420134;return _0x225484({'style':_0x57f1b2,'getRenderColor':_0x1bb932=>this['_chartThemeService'][_0x1541f5(0x1e0)](_0x1bb932)});}[_0x420134(0x2ab)](_0xd7fe5b,_0x479ae6){const _0x19ead9=_0x420134;var _0x49739c;_0xd7fe5b[_0x19ead9(0x2c6)][_0x19ead9(0x2cc)]=(_0x49739c=_0x479ae6['border'])!=null&&_0x49739c[_0x19ead9(0x31c)]&&_0x479ae6[_0x19ead9(0x2cc)][_0x19ead9(0x22a)]?_0x479ae6['border']['width']+_0x19ead9(0x1cf)+Sr(_0x479ae6['border'][_0x19ead9(0x31c)]):'',_0xd7fe5b[_0x19ead9(0x2c6)]['backgroundColor']=Sr(_0x479ae6[_0x19ead9(0x1e1)]??_0x19ead9(0x258)),_0xd7fe5b['style'][_0x19ead9(0x181)]=_0x479ae6[_0x19ead9(0x167)]?_0x479ae6[_0x19ead9(0x167)]+'px':_r+'px',_0xd7fe5b[_0x19ead9(0x2c6)][_0x19ead9(0x30b)]='hidden',_0xd7fe5b[_0x19ead9(0x2c6)][_0x19ead9(0x1c0)]=_0x19ead9(0x31f);}[_0x420134(0x306)](){const _0x340dd7=_0x420134;return{'resolveHostStyle':({style:_0x1db57a})=>({'fill':this[_0x340dd7(0x260)](_0x1db57a)[_0x340dd7(0x1e1)]}),'resolveRenderBackgroundColor':({hostStyle:_0x2bd997})=>_0x2bd997[_0x340dd7(0x1e1)],'prepareSpec':({mode:_0x1c387f,spec:_0x6f12bb})=>_0x1c387f===_0x340dd7(0x2f8)?{..._0x6f12bb,'animation':!0x1,'tooltip':{'show':!0x1}}:_0x6f12bb};}[_0x420134(0x18e)](_0x26d219,_0x459de0){const _0xdccbba=_0x420134;let _0x4b0f44=this[_0xdccbba(0x30d)][_0xdccbba(0x239)](_0x26d219);_0x4b0f44&&_0x4b0f44['forEach']((_0x4a5fcf,_0x487bef)=>{const _0x41ce27=_0xdccbba;_0x4a5fcf['forEach'](_0x4b8e20=>this[_0x41ce27(0x2a8)](_0x26d219,_0x459de0,_0x487bef,_0x4b8e20));});}[_0x420134(0x2a8)](_0xa503de,_0xc71692,_0x1f2019,_0x74bfc){const _0x1a841e=_0x420134;let _0x1292e5=this['_chartEventSubscriptions']['get'](_0xa503de);_0x1292e5||(_0x1292e5=new Map(),this[_0x1a841e(0x341)][_0x1a841e(0x1bd)](_0xa503de,_0x1292e5));let _0x180a00=_0x1292e5[_0x1a841e(0x239)](_0x1f2019);_0x180a00||(_0x180a00=new Map(),_0x1292e5['set'](_0x1f2019,_0x180a00)),!_0x180a00[_0x1a841e(0x165)](_0x74bfc)&&_0x180a00[_0x1a841e(0x1bd)](_0x74bfc,_0xc71692['on'](_0x1f2019,_0x74bfc));}['_disposeChartEventSubscription'](_0x376fca,_0x594e26,_0x4da838){const _0xf02f8d=_0x420134;var _0x4da1e2,_0x3f8dd4;let _0x503756=(_0x4da1e2=this['_chartEventSubscriptions'][_0xf02f8d(0x239)](_0x376fca))==null?void 0x0:_0x4da1e2[_0xf02f8d(0x239)](_0x594e26);_0x503756==null||(_0x3f8dd4=_0x503756['get'](_0x4da838))==null||_0x3f8dd4[_0xf02f8d(0x1e5)](),_0x503756==null||_0x503756['delete'](_0x4da838);}[_0x420134(0x21e)](_0xa047cf){const _0x27c33a=_0x420134;let _0x3dd3cc=this[_0x27c33a(0x341)][_0x27c33a(0x239)](_0xa047cf);_0x3dd3cc==null||_0x3dd3cc['forEach'](_0x10c899=>{const _0x44d7af=_0x27c33a;_0x10c899[_0x44d7af(0x1f1)](_0x1838cc=>_0x1838cc[_0x44d7af(0x1e5)]()),_0x10c899[_0x44d7af(0x2de)]();}),this[_0x27c33a(0x341)]['delete'](_0xa047cf);}[_0x420134(0x277)](_0xf05e8d,_0x5b4598){return _0xf05e8d+'::'+_0x5b4598;}['dispose'](){const _0x9e3c7f=_0x420134;this['_chartInstanceMap'][_0x9e3c7f(0x1f1)](_0x34ae9a=>_0x34ae9a[_0x9e3c7f(0x1e5)]()),this[_0x9e3c7f(0x155)][_0x9e3c7f(0x2de)](),this[_0x9e3c7f(0x338)][_0x9e3c7f(0x2de)](),this[_0x9e3c7f(0x30d)][_0x9e3c7f(0x2de)](),Array[_0x9e3c7f(0x2c8)](this[_0x9e3c7f(0x341)][_0x9e3c7f(0x2b6)]())[_0x9e3c7f(0x1f1)](_0x2c46c6=>this[_0x9e3c7f(0x21e)](_0x2c46c6)),super[_0x9e3c7f(0x1e5)]();}};q=V([B(0x0,_0x562f55(_0x9e1c11)),B(0x1,_0x562f55(_0x3c12b3)),B(0x2,_0x177a5a)],q);let Cr=class extends _0x37367c{constructor(_0x166c91,_0x3b51f3,_0x233d97,_0x576d22,_0x23720d,_0x49183d,_0x2dd9aa){const _0x120425=_0x420134;super(),this[_0x120425(0x31d)]=_0x166c91,this['_editSessionService']=_0x3b51f3,this[_0x120425(0x223)]=_0x233d97,this[_0x120425(0x19b)]=_0x576d22,this[_0x120425(0x2ed)]=_0x23720d,this[_0x120425(0x2df)]=_0x49183d,this[_0x120425(0x1b6)]=_0x2dd9aa,z(this,'_activePanelKey',null),z(this,_0x120425(0x23f),null),z(this,_0x120425(0x2c1),null),this[_0x120425(0x28f)](this[_0x120425(0x26c)][_0x120425(0x2bc)][_0x120425(0x297)](_0x36b9ed=>this[_0x120425(0x1fb)](_0x36b9ed)));}[_0x420134(0x1e5)](){const _0x421336=_0x420134;this[_0x421336(0x203)](),super['dispose']();}[_0x420134(0x1fb)](_0x40d9ce){const _0x428c91=_0x420134;var _0x325f03;if(!_0x40d9ce||_0x40d9ce[_0x428c91(0x27a)]!==this['_renderContext'][_0x428c91(0x27a)]){this[_0x428c91(0x203)]();return;}let _0x26dcc4=this['_modelService']['ensureChartModel'](_0x40d9ce[_0x428c91(0x27a)],_0x40d9ce[_0x428c91(0x2f1)]);if(!_0x26dcc4){this[_0x428c91(0x203)]();return;}let _0x262fce=[or,_0x40d9ce[_0x428c91(0x27a)],_0x40d9ce[_0x428c91(0x280)],_0x40d9ce['elementId']][_0x428c91(0x16f)](':');if(this[_0x428c91(0x240)]===_0x262fce){this[_0x428c91(0x19b)][_0x428c91(0x22b)](_0x26dcc4),this[_0x428c91(0x16a)](_0x40d9ce['unitId'],_0x40d9ce['chartId']);return;}(_0x325f03=this[_0x428c91(0x23f)])==null||_0x325f03['dispose'](),this[_0x428c91(0x19b)][_0x428c91(0x22b)](_0x26dcc4),this['_setActiveEditOverlay'](_0x40d9ce[_0x428c91(0x27a)],_0x40d9ce['chartId']),this['_activePanelKey']=_0x262fce,this[_0x428c91(0x23f)]=this[_0x428c91(0x223)][_0x428c91(0x279)]({'id':or,'header':{'title':this[_0x428c91(0x1b6)]['t'](_0x428c91(0x205))},'width':0x184,'children':{'label':or,'unitId':_0x40d9ce[_0x428c91(0x27a)],'subUnitId':_0x40d9ce[_0x428c91(0x280)],'elementId':_0x40d9ce['elementId'],'chartId':_0x40d9ce[_0x428c91(0x2f1)]},'onClose':_0x1dca25=>{const _0xec29e0=_0x428c91;this['_activePanelKey']===_0x262fce&&(this[_0xec29e0(0x240)]=null,this[_0xec29e0(0x23f)]=null,this['_clearActiveEditOverlay'](),this[_0xec29e0(0x19b)]['setActiveChartRuntime'](null),_0x1dca25==='manual'&&this[_0xec29e0(0x26c)]['close'](_0xec29e0(0x152)));}});}[_0x420134(0x203)](){const _0x325b17=_0x420134;var _0x3bab25;if(!this[_0x325b17(0x240)]){this[_0x325b17(0x2e3)]();return;}(_0x3bab25=this[_0x325b17(0x23f)])==null||_0x3bab25['dispose'](),this[_0x325b17(0x23f)]=null,this[_0x325b17(0x240)]=null,this[_0x325b17(0x2e3)](),this[_0x325b17(0x19b)]['setActiveChartRuntime'](null);}[_0x420134(0x16a)](_0x2d5b11,_0x3539b1){const _0x56ac6c=_0x420134;let _0x13c4ed=this['_activeEditOverlay'];((_0x13c4ed==null?void 0x0:_0x13c4ed[_0x56ac6c(0x27a)])!==_0x2d5b11||_0x13c4ed['chartId']!==_0x3539b1)&&(this[_0x56ac6c(0x2e3)](),this[_0x56ac6c(0x2c1)]={'unitId':_0x2d5b11,'chartId':_0x3539b1},this[_0x56ac6c(0x2ed)][_0x56ac6c(0x201)](_0x2d5b11,_0x3539b1,!0x0));}[_0x420134(0x2e3)](){const _0xc42be6=_0x420134;let _0x270b62=this[_0xc42be6(0x2c1)];_0x270b62&&(this[_0xc42be6(0x2c1)]=null,this['_renderService'][_0xc42be6(0x201)](_0x270b62[_0xc42be6(0x27a)],_0x270b62[_0xc42be6(0x2f1)],!0x1));}};Cr=V([B(0x1,_0x562f55(H)),B(0x2,_0x562f55(_0x4c7560)),B(0x3,_0x562f55(_0x19fb9a)),B(0x4,_0x562f55(q)),B(0x5,U),B(0x6,_0x562f55(_0x9e1c11))],Cr);var wr=class extends _0x37367c{constructor(_0x4a6da8,_0xfd86c0,_0x20a3dd){const _0x11fc7c=_0x420134;super(),this[_0x11fc7c(0x2f1)]=_0x4a6da8,this[_0x11fc7c(0x156)]=_0xfd86c0,this['_applyHostStyle']=_0x20a3dd,z(this,_0x11fc7c(0x1cd),_0x155eff[_0x11fc7c(0x228)]);}[_0x420134(0x281)](){const _0x14ff25=_0x420134;return{'width':Math[_0x14ff25(0x331)](0x1,this[_0x14ff25(0x156)][_0x14ff25(0x276)]),'height':Math[_0x14ff25(0x331)](0x1,this[_0x14ff25(0x156)][_0x14ff25(0x290)])};}[_0x420134(0x24b)](_0x36fa0a){const _0x3b16f8=_0x420134;this[_0x3b16f8(0x274)](this[_0x3b16f8(0x156)],_0x36fa0a);}async[_0x420134(0x31e)](){return this['_host'];}[_0x420134(0x1b1)](){return!0x0;}[_0x420134(0x252)](){}['markReady'](){}[_0x420134(0x1ba)](){}};function Tr({chartElement:_0x16f34f,chartId:_0x34e73a,unitId:_0x364a95}){const _0x358180=_0x420134;let _0x5ba295=_0x5074cd(null),_0x4a7304=_0x30d157(_0x19fb9a),_0x4b255a=_0x30d157(q),_0x5a22f3=_0x30d157(_0x9e1c11);return _0xe8772c(()=>{const _0x1154bb=_0x1b7a;let _0x5e5db2=_0x5ba295['current'];if(!_0x5e5db2)return;let _0x4adc75=_0x4a7304[_0x1154bb(0x26b)](_0x364a95,_0x34e73a);if(!_0x4adc75)return;_0x4a7304[_0x1154bb(0x22b)](_0x4adc75);let _0xe030a5=new wr(_0x34e73a,_0x5e5db2,(_0x2a1d22,_0x251f7b)=>_0x4b255a[_0x1154bb(0x2ab)](_0x2a1d22,{'fill':_0x251f7b[_0x1154bb(0x1e1)]??_0x1154bb(0x258)})),_0x3f66b3=_0x4b255a[_0x1154bb(0x238)](_0x155eff['Dom']),_0x44f41b=_0x4b255a['registerChartInstance'](_0x364a95,_0x34e73a,_0x3f66b3);_0x3f66b3[_0x1154bb(0x2e1)](_0xe030a5);let _0x13b6b5=_0x3ed2cd([_0x4adc75[_0x1154bb(0x271)][_0x1154bb(0x328)],_0x4adc75[_0x1154bb(0x271)]['style$'],_0x5a22f3[_0x1154bb(0x2ac)]])[_0x1154bb(0x231)](_0x27dc02(([_0x515ee5])=>_0x515ee5!=null))[_0x1154bb(0x297)](()=>{const _0x4c126f=_0x1154bb;let {chartConfig:_0x4b7a9f,chartStyle:_0x5ec360}=_0x4b255a[_0x4c126f(0x158)](_0x4adc75);Er(_0x5e5db2,_0x16f34f,_0x5ec360,_0x4b255a),_0x3f66b3['render']({'chartId':_0x34e73a,'config':_0x4b7a9f,'style':_0x5ec360})[_0x4c126f(0x24a)](()=>{});});return()=>{const _0x12f7f6=_0x1154bb;var _0x3552b6;_0x13b6b5['unsubscribe'](),_0x44f41b[_0x12f7f6(0x1e5)](),_0x3f66b3[_0x12f7f6(0x1e5)](),_0xe030a5[_0x12f7f6(0x1e5)](),((_0x3552b6=_0x4a7304[_0x12f7f6(0x163)])==null?void 0x0:_0x3552b6[_0x12f7f6(0x27a)])===_0x364a95&&_0x4a7304['activeRuntimeModel'][_0x12f7f6(0x2f1)]===_0x34e73a&&_0x4a7304['setActiveChartRuntime'](null);};},[_0x16f34f,_0x34e73a,_0x5a22f3,_0x4a7304,_0x4b255a,_0x364a95]),_0x4c0ab2('div',{'className':_0x358180(0x22d),'data-board-chart-dom-renderer':_0x34e73a,'children':_0x4c0ab2(_0x358180(0x34d),{'ref':_0x5ba295,'data-board-chart-dom-content-host':_0x34e73a})});}function Er(_0x2a70e0,_0x1aefba,_0x251a9e,_0x2a29f2){const _0x508fee=_0x420134;let _0x867262=_0x2a29f2[_0x508fee(0x260)](_0x251a9e)[_0x508fee(0x1e1)],_0x5d5579=vr({'chartStyle':_0x251a9e,'chartElement':_0x1aefba,'hostFill':_0x867262}),_0x367a6e=Math[_0x508fee(0x331)](0x0,_0x5d5579[_0x508fee(0x1b9)]);_0x2a70e0['style'][_0x508fee(0x30e)]='absolute',_0x2a70e0['style']['left']=_0x367a6e+'px',_0x2a70e0['style'][_0x508fee(0x254)]=_0x367a6e+'px',_0x2a70e0[_0x508fee(0x2c6)]['right']=_0x367a6e+'px',_0x2a70e0[_0x508fee(0x2c6)][_0x508fee(0x267)]=_0x367a6e+'px',_0x2a70e0['style'][_0x508fee(0x145)]=_0x5d5579[_0x508fee(0x1e1)],_0x2a70e0['style'][_0x508fee(0x181)]=Math['max'](0x0,_0x5d5579['radius']-_0x367a6e)+'px',_0x2a70e0[_0x508fee(0x2c6)]['overflow']=_0x508fee(0x19f),_0x2a70e0['style'][_0x508fee(0x1c0)]=_0x508fee(0x31f);}const Dr=_0x4fae56('board-chart.snapshot-renderer'),Or=0x0;function kr(_0x401256){return{..._0x401256,'borderWidth':0x0};}var Ar=class{constructor(_0x2744fe){const _0x25d806=_0x420134;this[_0x25d806(0x2ed)]=_0x2744fe;}async['render'](_0x785990,_0x4e9a0d){const _0x5277db=_0x420134;if(typeof document>'u')throw TypeError('Board\x20chart\x20snapshot\x20rendering\x20requires\x20a\x20browser\x20document.');let _0x583422=new _0x965a83(_0x4e9a0d[_0x5277db(0x2f1)],{'width':_0x785990[_0x5277db(0x22a)],'height':_0x785990[_0x5277db(0x233)]}),_0x370174=this[_0x5277db(0x2ed)]['createChartInstance'](_0x155eff[_0x5277db(0x2eb)]);try{let {chartConfig:_0x10f966,chartStyle:_0x1e4c54}=this[_0x5277db(0x2ed)][_0x5277db(0x158)](_0x4e9a0d);_0x370174[_0x5277db(0x2e1)](_0x583422),await _0x370174[_0x5277db(0x246)]({'chartId':_0x4e9a0d[_0x5277db(0x2f1)],'config':_0x10f966,'style':kr(_0x1e4c54)});let _0x1ce984=_0x583422[_0x5277db(0x2b0)]();if(!_0x1ce984)throw Error(_0x5277db(0x170)+_0x4e9a0d['unitId']+'/'+_0x4e9a0d[_0x5277db(0x2f1)]);return _0x1ce984;}finally{_0x370174[_0x5277db(0x1e5)](),_0x583422[_0x5277db(0x1e5)]();}}};let J=class extends _0x2f0ffd{constructor(_0xc97590,_0x3ec5ba,_0x4a6200,_0x3e2296){super(_0xc97590,_0x3ec5ba,_0x3e2296??new Ar(_0x4a6200));}};J=V([B(0x0,_0x562f55(_0x9e1c11)),B(0x1,_0x562f55(_0x19fb9a)),B(0x2,_0x562f55(q)),B(0x3,_0x4d6e48(Dr))],J);let jr=class extends _0x37367c{constructor(_0x41e76c,_0x3dbe4c,_0x4603a8,_0xde9532,_0x1ab65f){const _0x3b8ca1=_0x420134;super(),this[_0x3b8ca1(0x31d)]=_0x41e76c,this[_0x3b8ca1(0x26c)]=_0x3dbe4c,this[_0x3b8ca1(0x347)]=_0x4603a8,this[_0x3b8ca1(0x358)]=_0xde9532,this[_0x3b8ca1(0x178)]=_0x1ab65f,z(this,'_activeLayerId',null),z(this,_0x3b8ca1(0x249),null),z(this,'_activeChart',null),this['disposeWithMe'](this[_0x3b8ca1(0x26c)][_0x3b8ca1(0x2bc)][_0x3b8ca1(0x297)](_0x3cda58=>this['_syncActiveChart'](_0x3cda58)));}[_0x420134(0x1e5)](){const _0x5dfba8=_0x420134;this[_0x5dfba8(0x264)](),super[_0x5dfba8(0x1e5)]();}[_0x420134(0x2d8)](_0x42b8be){const _0xea91ad=_0x420134;if(!_0x42b8be||_0x42b8be['unitId']!==this[_0xea91ad(0x31d)][_0xea91ad(0x27a)]){this[_0xea91ad(0x264)]();return;}let _0x81fa1a=this[_0xea91ad(0x347)][_0xea91ad(0x1e8)](_0x42b8be[_0xea91ad(0x27a)],_0x42b8be[_0xea91ad(0x280)]),_0x3ea33d=_0x81fa1a[_0x42b8be[_0xea91ad(0x248)]];if(!_0x3ea33d||_0x3ea33d[_0xea91ad(0x157)][_0xea91ad(0x304)]!==_0xbbe6aa[_0xea91ad(0x289)]||_0x3ea33d[_0xea91ad(0x157)][_0xea91ad(0x2f1)]!==_0x42b8be[_0xea91ad(0x2f1)]){this[_0xea91ad(0x264)]();return;}let _0x4a9d74=_0x1f3663(_0x81fa1a,_0x3ea33d['elementId']);if(!_0x4a9d74){this[_0xea91ad(0x264)]();return;}let _0xa3e032=_0x3ea33d[_0xea91ad(0x157)],_0x907f1e=_0xa3e032[_0xea91ad(0x2f1)],_0x59a97c=[_0xea91ad(0x28e),_0x42b8be['unitId'],_0x42b8be[_0xea91ad(0x280)],_0x3ea33d[_0xea91ad(0x248)]]['join'](':');if(this[_0xea91ad(0x2bb)]===_0x59a97c){this[_0xea91ad(0x316)]={'chartId':_0x907f1e,'unitId':_0x42b8be['unitId']},this[_0xea91ad(0x358)][_0xea91ad(0x17b)](_0x59a97c,{'rect':_0x4a9d74,'content':()=>_0x4c0ab2(Tr,{'chartId':_0x907f1e,'chartElement':_0xa3e032,'unitId':_0x42b8be[_0xea91ad(0x27a)]})});return;}this['_clearActiveLayer'](),this[_0xea91ad(0x2bb)]=_0x59a97c,this[_0xea91ad(0x316)]={'chartId':_0x907f1e,'unitId':_0x42b8be['unitId']},this[_0xea91ad(0x249)]=this['_domLayerService']['registerItem']({'id':_0x59a97c,'unitId':_0x42b8be[_0xea91ad(0x27a)],'subUnitId':_0x42b8be[_0xea91ad(0x280)],'elementId':_0x3ea33d[_0xea91ad(0x248)],'rect':_0x4a9d74,'interactive':!0x0,'zIndex':0x1,'content':()=>_0x4c0ab2(Tr,{'chartId':_0x907f1e,'chartElement':_0xa3e032,'unitId':_0x42b8be[_0xea91ad(0x27a)]})});}[_0x420134(0x264)](){const _0x1a7d28=_0x420134;var _0x5eee70;let _0x458f29=this[_0x1a7d28(0x316)];(_0x5eee70=this[_0x1a7d28(0x249)])==null||_0x5eee70[_0x1a7d28(0x1e5)](),this[_0x1a7d28(0x249)]=null,this[_0x1a7d28(0x2bb)]=null,this[_0x1a7d28(0x316)]=null,_0x458f29&&this[_0x1a7d28(0x178)][_0x1a7d28(0x2a4)](_0x458f29[_0x1a7d28(0x27a)],_0x458f29[_0x1a7d28(0x2f1)],{'waitForConfig':!0x0});}};jr=V([B(0x1,_0x562f55(H)),B(0x2,_0x3c3318),B(0x3,_0x562f55(_0x378753)),B(0x4,_0x562f55(J))],jr);let Y=class extends _0x37367c{constructor(_0x1b704c,_0x2c70d1,_0x5d1999,_0x5495f3){const _0x37bd31=_0x420134;super(),this[_0x37bd31(0x1b4)]=_0x1b704c,this['_snapshotService']=_0x2c70d1,this[_0x37bd31(0x286)]=_0x5d1999,this[_0x37bd31(0x19b)]=_0x5495f3,this['_listenChartResourceMutations']();}[_0x420134(0x266)](){const _0x17b11e=_0x420134;this['disposeWithMe'](this[_0x17b11e(0x1b4)][_0x17b11e(0x236)](_0x58abe1=>{const _0x248cf2=_0x17b11e;if(_0x58abe1['id']===_0x47addf['id']){var _0x2b2399;let _0x350972=_0x58abe1[_0x248cf2(0x30c)];_0x350972!=null&&_0x350972[_0x248cf2(0x27a)]&&(_0x2b2399=_0x350972[_0x248cf2(0x309)])!=null&&_0x2b2399['id']&&(this[_0x248cf2(0x256)](_0x350972)?this[_0x248cf2(0x178)][_0x248cf2(0x2a4)](_0x350972[_0x248cf2(0x27a)],_0x350972[_0x248cf2(0x309)]['id'],{'waitForConfig':!0x0}):this[_0x248cf2(0x178)][_0x248cf2(0x2a4)](_0x350972['unitId'],_0x350972['chart']['id']));return;}if(_0x58abe1['id']===_0x34a8cb['id']){var _0x369b5d;let _0x52a015=_0x58abe1[_0x248cf2(0x30c)];if(!(_0x52a015!=null&&_0x52a015[_0x248cf2(0x27a)])||!((_0x369b5d=_0x52a015[_0x248cf2(0x350)])!=null&&_0x369b5d['id']))return;this['_resourceService'][_0x248cf2(0x1ad)](_0x52a015['unitId'],_0x52a015[_0x248cf2(0x350)]['id'])[_0x248cf2(0x1f1)](_0xefab4a=>this[_0x248cf2(0x178)]['invalidateChart'](_0x52a015[_0x248cf2(0x27a)],_0xefab4a,{'waitForConfig':!0x0}));}}));}['_shouldWaitForChartConfig'](_0x302dc6){const _0x2afa4d=_0x420134;var _0xa8e4dc;let _0x5e351c=(_0xa8e4dc=this['_modelService'][_0x2afa4d(0x185)](_0x302dc6[_0x2afa4d(0x27a)],_0x302dc6[_0x2afa4d(0x309)]['id']))==null||(_0xa8e4dc=_0xa8e4dc[_0x2afa4d(0x271)][_0x2afa4d(0x2f3)])==null?void 0x0:_0xa8e4dc['type'];return _0x5e351c!=null&&_0x5e351c!==_0x302dc6['chart']['chartType'];}};Y=V([B(0x0,_0x1fe324),B(0x1,_0x562f55(J)),B(0x2,_0x562f55(_0x8c60)),B(0x3,_0x562f55(_0x19fb9a))],Y);var Mr='@univerjs-pro/boards-chart-ui',Nr=_0x420134(0x29a);const Pr={'scaleX':0x1,'scaleY':0x1};function Fr(_0x44351e){let _0x58369f=_0x44351e['nativeEvent'];return typeof MouseEvent<'u'&&_0x58369f instanceof MouseEvent?_0x58369f:void 0x0;}function Ir(_0xd567a3){const _0x41402d=_0x420134;let _0x5c9025=_0xd567a3[_0x41402d(0x32e)],_0x43a46f=_0x5c9025==null?void 0x0:_0x5c9025['target'];return typeof Element<'u'&&_0x43a46f instanceof Element?_0x43a46f:void 0x0;}function Lr(_0x213e56){const _0x590f6b=_0x420134;return _0x213e56['width']||_0x213e56[_0x590f6b(0x352)]-_0x213e56[_0x590f6b(0x2b8)];}function Rr(_0x3b5644){const _0x49e75f=_0x420134;return _0x3b5644[_0x49e75f(0x233)]||_0x3b5644[_0x49e75f(0x267)]-_0x3b5644[_0x49e75f(0x254)];}function zr(_0x466c78,_0x40fd6b){const _0x47f5b8=_0x420134;let _0x4d17ac=_0x466c78[_0x47f5b8(0x276)]||(typeof HTMLElement<'u'&&_0x466c78 instanceof HTMLElement?_0x466c78['offsetWidth']:0x0),_0x2be9d9=_0x466c78['clientHeight']||(typeof HTMLElement<'u'&&_0x466c78 instanceof HTMLElement?_0x466c78['offsetHeight']:0x0),_0xfc1c7f=Lr(_0x40fd6b),_0x34be0d=Rr(_0x40fd6b);return{'scaleX':_0x4d17ac>0x0&&_0xfc1c7f>0x0?_0xfc1c7f/_0x4d17ac:Pr[_0x47f5b8(0x1e3)],'scaleY':_0x2be9d9>0x0&&_0x34be0d>0x0?_0x34be0d/_0x2be9d9:Pr[_0x47f5b8(0x1c4)]};}function Br(_0x1de43c,_0x234e33,_0x46bfc8){const _0x43e7b8=_0x420134;return{'left':_0x1de43c[_0x43e7b8(0x2b8)]+_0x234e33[_0x43e7b8(0x2b8)]*_0x46bfc8[_0x43e7b8(0x1e3)],'right':_0x1de43c[_0x43e7b8(0x2b8)]+_0x234e33[_0x43e7b8(0x352)]*_0x46bfc8[_0x43e7b8(0x1e3)],'top':_0x1de43c[_0x43e7b8(0x254)]+_0x234e33[_0x43e7b8(0x254)]*_0x46bfc8[_0x43e7b8(0x1c4)],'bottom':_0x1de43c[_0x43e7b8(0x254)]+_0x234e33['bottom']*_0x46bfc8['scaleY']};}function Vr(_0x413595){const _0x586ae0=_0x420134;let _0x2b4f88=Ir(_0x413595),_0xd022a9=_0x413595[_0x586ae0(0x35b)]['bounds'];return _0x2b4f88&&_0xd022a9?()=>{let _0x11c1a3=_0x2b4f88['getBoundingClientRect']();return Br(_0x11c1a3,_0xd022a9,zr(_0x2b4f88,_0x11c1a3));}:()=>{const _0x240870=_0x586ae0;let _0x344f78=_0x2b4f88==null?void 0x0:_0x2b4f88[_0x240870(0x325)]();if(_0x2b4f88&&_0x344f78&&_0xd022a9)return Br(_0x344f78,_0xd022a9,zr(_0x2b4f88,_0x344f78));let _0x40ec44=Fr(_0x413595),_0x29f8b1=_0x2b4f88&&_0x344f78?zr(_0x2b4f88,_0x344f78):Pr,_0x2817cb=(_0x40ec44==null?void 0x0:_0x40ec44['clientX'])??(_0x344f78?_0x344f78[_0x240870(0x2b8)]+_0x413595['localPoint']['x']*_0x29f8b1[_0x240870(0x1e3)]:_0x413595['localPoint']['x']),_0x4aad3f=(_0x40ec44==null?void 0x0:_0x40ec44[_0x240870(0x1f6)])??(_0x344f78?_0x344f78[_0x240870(0x254)]+_0x413595['localPoint']['y']*_0x29f8b1[_0x240870(0x1c4)]:_0x413595[_0x240870(0x24c)]['y']);return{'left':_0x2817cb,'right':_0x2817cb+0x1,'top':_0x4aad3f,'bottom':_0x4aad3f+0x1};};}function Hr(_0xc29235){const _0x5c6941=_0x420134;return _0xc29235['right']<=_0xc29235['left']||_0xc29235['bottom']<=_0xc29235['top']?!0x1:typeof window>'u'||_0xc29235[_0x5c6941(0x352)]>0x0&&_0xc29235[_0x5c6941(0x267)]>0x0&&_0xc29235['left']<window[_0x5c6941(0x302)]&&_0xc29235[_0x5c6941(0x254)]<window[_0x5c6941(0x27e)];}function Ur(_0xfd4f50,_0x19eef6){const _0x30c3c7=_0x420134;let _0x2eb860=Vr(_0xfd4f50),_0x42510c=_0x2eb860(),_0x116921=new _0x126288(_0x42510c),_0x144aac=new _0x23bb89(),_0x4b008e=!0x1,_0x46de99=!0x1;return typeof window<'u'&&_0x144aac['add'](_0x4d3929(_0x33ab4a(window,_0x30c3c7(0x1d1),{'capture':!0x0}),_0x33ab4a(window,'resize'))[_0x30c3c7(0x231)](_0x29335a(0x10))['subscribe'](()=>{_0x46de99||_0x4b008e||(_0x46de99=!0x0,queueMicrotask(()=>{if(_0x46de99=!0x1,_0x4b008e)return;let _0x16279f=_0x2eb860();if(!Hr(_0x16279f)){_0x19eef6();return;}_0x116921['next'](_0x16279f);}));})),{'initialRect':_0x42510c,'anchorRect$':_0x116921[_0x30c3c7(0x334)](),'visible':Hr(_0x42510c),'dispose':()=>{const _0x3b3bb4=_0x30c3c7;_0x4b008e=!0x0,_0x144aac[_0x3b3bb4(0x1e5)](),_0x116921[_0x3b3bb4(0x32b)]();}};}const Wr=_0x420134(0x1c7);function Gr(_0x42caa0,_0x4d0ec4){return _0x42caa0+'::'+_0x4d0ec4;}let X=class extends _0x37367c{constructor(_0x222e5e,_0x518475,_0x236544,_0x54c527,_0xbbaf95,_0x313692,_0x150738,_0x573752,_0x15a373){const _0xc51e02=_0x420134;super(),this['_modelService']=_0x222e5e,this['_chartRenderService']=_0x518475,this['_chartUIService']=_0x236544,this[_0xc51e02(0x26c)]=_0x54c527,this[_0xc51e02(0x275)]=_0xbbaf95,this[_0xc51e02(0x19e)]=_0x313692,this['_renderManagerService']=_0x150738,this[_0xc51e02(0x268)]=_0x573752,this['_injector']=_0x15a373,z(this,_0xc51e02(0x1fa),new Map()),z(this,_0xc51e02(0x278),null),z(this,'_popupRuntimeKey',null),this[_0xc51e02(0x247)](),this[_0xc51e02(0x1c8)]();}[_0x420134(0x1e5)](){const _0x2dd440=_0x420134;this[_0x2dd440(0x330)](),this['_chartEventDisposables'][_0x2dd440(0x1f1)](_0x10f21a=>_0x10f21a['dispose']()),this['_chartEventDisposables'][_0x2dd440(0x2de)](),super[_0x2dd440(0x1e5)]();}[_0x420134(0x247)](){const _0x1eb2bf=_0x420134;let _0x2146b3=_0x459948({'chartUIService':this[_0x1eb2bf(0x2df)],'getHostAdapter':_0x185c11=>{const _0x4c5b02=_0x1eb2bf;this[_0x4c5b02(0x19b)][_0x4c5b02(0x263)](_0x185c11['unitId'],_0x185c11[_0x4c5b02(0x2f1)]);let _0x1415e9=this['_modelService'][_0x4c5b02(0x185)](_0x185c11[_0x4c5b02(0x27a)],_0x185c11[_0x4c5b02(0x2f1)]),_0x1a4faf=this['_univerInstanceService']['getUnit'](_0x185c11[_0x4c5b02(0x27a)],_0x707cea[_0x4c5b02(0x2e7)]),_0x205d09=this[_0x4c5b02(0x26c)][_0x4c5b02(0x17d)]();if(!(!_0x1415e9||!_0x1a4faf||!_0x205d09))return new _0x1cfdd3(_0x1415e9['model'],new _0x4f64a2({'unitId':_0x185c11[_0x4c5b02(0x27a)],'pageId':_0x205d09[_0x4c5b02(0x280)],'chartId':_0x185c11[_0x4c5b02(0x2f1)],'elementId':_0x205d09[_0x4c5b02(0x248)],'boardModel':_0x1a4faf,'injector':this['_injector']}));},'close':()=>this[_0x1eb2bf(0x330)](),'openFullPanel':_0x2b364a=>{const _0x39fc1e=_0x1eb2bf;this[_0x39fc1e(0x19b)]['setActiveChartById'](_0x2b364a[_0x39fc1e(0x27a)],_0x2b364a[_0x39fc1e(0x2f1)]);let _0x174713=this['_editSessionService'][_0x39fc1e(0x17d)]();(_0x174713==null?void 0x0:_0x174713[_0x39fc1e(0x27a)])===_0x2b364a[_0x39fc1e(0x27a)]&&_0x174713[_0x39fc1e(0x2f1)]===_0x2b364a[_0x39fc1e(0x2f1)]&&this[_0x39fc1e(0x26c)][_0x39fc1e(0x279)]({..._0x174713,'route':_0x54bddd(_0x2b364a[_0x39fc1e(0x1a9)]),'source':_0x39fc1e(0x172)}),this[_0x39fc1e(0x330)]();}});this[_0x1eb2bf(0x28f)](this['_adapterRegistry'][_0x1eb2bf(0x161)](Wr,_0x2146b3));}['_subscribeChartEvents'](){const _0x506d7b=_0x420134;this[_0x506d7b(0x28f)](this['_modelService'][_0x506d7b(0x235)][_0x506d7b(0x297)](_0x237a22=>{const _0xab5a19=_0x506d7b;let _0x205391=Gr(_0x237a22[_0xab5a19(0x27a)],_0x237a22['chartId']);if(this[_0xab5a19(0x1fa)][_0xab5a19(0x165)](_0x205391))return;let _0x2db218=new _0x23bb89();_0x2db218[_0xab5a19(0x1c3)](this[_0xab5a19(0x1b8)]['on'](_0x237a22[_0xab5a19(0x27a)],_0x237a22[_0xab5a19(0x2f1)],'click',_0x58a4b2=>{const _0x5581b2=_0xab5a19;this[_0x5581b2(0x1a3)](_0x237a22[_0x5581b2(0x27a)],_0x237a22['chartId'],_0x58a4b2);})),this[_0xab5a19(0x1fa)][_0xab5a19(0x1bd)](_0x205391,_0x2db218);})),this[_0x506d7b(0x28f)](this['_modelService'][_0x506d7b(0x317)][_0x506d7b(0x297)](_0x4ca844=>{const _0xaabe4b=_0x506d7b;var _0x5af8da;let _0x1acdaf=Gr(_0x4ca844[_0xaabe4b(0x27a)],_0x4ca844[_0xaabe4b(0x2f1)]);(_0x5af8da=this[_0xaabe4b(0x1fa)][_0xaabe4b(0x239)](_0x1acdaf))==null||_0x5af8da[_0xaabe4b(0x1e5)](),this[_0xaabe4b(0x1fa)][_0xaabe4b(0x2ff)](_0x1acdaf),this[_0xaabe4b(0x351)]===_0x1acdaf&&this[_0xaabe4b(0x330)]();})),this['disposeWithMe'](this[_0x506d7b(0x19b)]['activeRuntimeModel$'][_0x506d7b(0x297)](_0x538ed8=>{const _0x2953ca=_0x506d7b;let _0xc95797=_0x538ed8?Gr(_0x538ed8['unitId'],_0x538ed8['chartId']):null;(!_0xc95797||this[_0x2953ca(0x351)]&&_0xc95797!==this['_popupRuntimeKey'])&&this['_closePopup']();}));}[_0x420134(0x1a3)](_0x203091,_0x449cc9,_0x235eb2){const _0x5234f4=_0x420134;if(!this[_0x5234f4(0x1b8)][_0x5234f4(0x230)](_0x203091,_0x449cc9))return;let _0x39087e=this[_0x5234f4(0x19b)][_0x5234f4(0x185)](_0x203091,_0x449cc9),_0x57c227=_0x39087e?_0x18d75a(_0x39087e['model'],_0x235eb2[_0x5234f4(0x35b)]):void 0x0;if(!_0x39087e||!_0x57c227){this['_closePopup']();return;}if(this[_0x5234f4(0x19b)][_0x5234f4(0x22b)](_0x39087e),this[_0x5234f4(0x330)](),!_0x57c227[_0x5234f4(0x1cb)])return;let _0x37b5a3=this['_renderManagerService'][_0x5234f4(0x359)](_0x203091);if(!_0x37b5a3)return;let _0x3a56fb=Ur(_0x235eb2,()=>this[_0x5234f4(0x2fa)](_0x203091,_0x449cc9));if(!_0x3a56fb[_0x5234f4(0x22c)]){_0x3a56fb['dispose']();return;}let _0x447e64=this[_0x5234f4(0x19e)]['addPopup']({'componentKey':_0x3df2c8,'direction':_0x5234f4(0x35d),'offset':[0x0,0x8],'unitId':_0x203091,'subUnitId':'','anchorRect':_0x3a56fb['initialRect'],'anchorRect$':_0x3a56fb['anchorRect$'],'canvasElement':_0x37b5a3[_0x5234f4(0x35e)][_0x5234f4(0x295)](),'extraProps':{'unitId':_0x203091,'chartId':_0x449cc9,'element':_0x235eb2[_0x5234f4(0x35b)],'target':_0x57c227[_0x5234f4(0x1a9)],'adapterKey':Wr}}),_0x1daa56=new _0x23bb89();_0x1daa56['add'](_0x3a56fb),_0x1daa56[_0x5234f4(0x1c3)]({'dispose':()=>this[_0x5234f4(0x19e)][_0x5234f4(0x197)](_0x447e64)}),this[_0x5234f4(0x278)]=_0x1daa56,this['_popupRuntimeKey']=Gr(_0x203091,_0x449cc9);}['_closePopup'](){const _0x4bd38c=_0x420134;var _0x580bcb;(_0x580bcb=this[_0x4bd38c(0x278)])==null||_0x580bcb[_0x4bd38c(0x1e5)](),this[_0x4bd38c(0x278)]=null,this[_0x4bd38c(0x351)]=null;}[_0x420134(0x2fa)](_0x429581,_0x246f56){const _0x33614f=_0x420134;this[_0x33614f(0x330)](),this['_chartRenderService'][_0x33614f(0x230)](_0x429581,_0x246f56)&&(this[_0x33614f(0x1b8)]['setElementEditMode'](_0x429581,_0x246f56,!0x1),this[_0x33614f(0x1b8)][_0x33614f(0x201)](_0x429581,_0x246f56,!0x0));}};X=V([B(0x0,_0x562f55(_0x19fb9a)),B(0x1,_0x562f55(q)),B(0x2,U),B(0x3,_0x562f55(H)),B(0x4,_0x562f55(_0xae228c)),B(0x5,_0x562f55(_0xea016f)),B(0x6,_0x4b3b8f),B(0x7,_0xd96f74),B(0x8,_0x562f55(_0xd63000))],X);function Kr(_0x508fd6,_0x569e87,_0x35346f,_0x44bbc7,_0x4c2223){let _0x452b33={'chartType':_0x569e87,'data':_0x35346f,..._0x4c2223?{'dataSource':_0x4c2223}:{},..._0x44bbc7?{'style':_0x44bbc7}:{}};return{..._0x508fd6,'options':_0x452b33};}function qr(_0x5bed52){const _0x1b4753=_0x420134;let _0x273f1b=_0x30d157(_0x1fe324),_0x207aa5=_0x30d157(_0x9e1c11),_0x4aec13=_0x3b7d38(()=>_0x5e7700(_0x41a22e['map'](_0x177538=>({..._0x177538,'label':_0x207aa5['t'](_0x1b4753(0x262)+_0x177538[_0x1b4753(0x1a5)])}))),[_0x207aa5]),[_0x5f3823,_0x454c78]=_0x52cd5f(String(_0x1f8f85[_0x1b4753(0x28d)])),_0x1684bf=_0x4aec13[_0x1b4753(0x184)](_0x53e382=>_0x53e382[_0x1b4753(0x346)]===_0x5f3823),_0x1f5469=(_0x1684bf==null?void 0x0:_0x1684bf[_0x1b4753(0x1ea)])??_0x1f8f85['Column'],[_0x56ac2a,_0x31b51e]=_0x52cd5f(()=>_0x551cb2[_0x1b4753(0x21c)](_0x141f05=>[..._0x141f05])),[_0x3f58a1,_0x295678]=_0x52cd5f('inline'),[_0x1c90d0,_0x5a9d26]=_0x52cd5f(null),[_0x1c4ea8,_0x53ec3f]=_0x52cd5f([]),[_0x48ec25,_0x3c382f]=_0x52cd5f(null),_0x2e7068={[_0x2f8c65[_0x1b4753(0x1c5)]]:_0x207aa5['t'](_0x1b4753(0x354)),[_0x2f8c65['EmptyData']]:_0x207aa5['t']('boards-chart-ui.common.tableDataEmpty'),[_0x2f8c65['InvalidCandlestickData']]:_0x207aa5['t'](_0x1b4753(0x20e))},_0x51504f=_0x2ba176=>_0x4d3703(_0x2ba176,{'candlestickClose':_0x207aa5['t'](_0x1b4753(0x2f0)),'candlestickHigh':_0x207aa5['t']('boards-chart-ui.candlestick.high'),'candlestickLow':_0x207aa5['t'](_0x1b4753(0x19c)),'candlestickOpen':_0x207aa5['t'](_0x1b4753(0x2bd)),'category':_0x207aa5['t']('boards-chart-ui.common.category'),'chordSource':_0x207aa5['t'](_0x1b4753(0x342)),'chordTarget':_0x207aa5['t'](_0x1b4753(0x27b)),'label':_0x207aa5['t'](_0x1b4753(0x2ee)),'sunburstHierarchy':_0x207aa5['t'](_0x1b4753(0x250)),'value':_0x207aa5['t'](_0x1b4753(0x273)),'valueField':_0x207aa5['t']('boards-chart-ui.common.valueField')});return _0x5b5190(_0x1b4753(0x34d),{'className':_0x1b4753(0x1ff),'children':[_0x5b5190('div',{'className':_0x1b4753(0x176),'children':[_0x4c0ab2(_0x1b4753(0x34d),{'className':_0x1b4753(0x259),'children':_0x207aa5['t'](_0x1b4753(0x17f))}),_0x4c0ab2(_0x1138bf,{'className':_0x1b4753(0x215),'value':_0x5f3823,'options':_0x4aec13,'onChange':_0x225d19=>{const _0x410d75=_0x1b4753;var _0x18111f;_0x454c78(_0x225d19);let _0x5f0450=((_0x18111f=_0x4aec13[_0x410d75(0x184)](_0x1cef50=>_0x1cef50[_0x410d75(0x346)]===_0x225d19))==null?void 0x0:_0x18111f[_0x410d75(0x1ea)])??Number(_0x225d19),_0x1927d8=_0x51504f(_0x5f0450);_0x1927d8&&_0x31b51e(_0x1927d8);}})]}),_0x4c0ab2(_0x450ca6,{'mode':_0x3f58a1,'inlineContent':_0x4c0ab2(_0x34964e,{'values':_0x56ac2a,'minColumns':_0x3a6a48(_0x1f5469),'parsePastedText':_0x1e6e18,'onChange':_0x31b51e}),'onModeChange':_0x918b4d=>{_0x295678(_0x918b4d),_0x5a9d26(null),_0x53ec3f([]);},'onPreviewChange':(_0x5cb5a7,_0x104b6d)=>{const _0x189e33=_0x1b4753;_0x5cb5a7&&_0x104b6d['status']===_0x2b2838['READY']&&_0x104b6d[_0x189e33(0x2e8)]?(_0x5a9d26({'source':_0x5cb5a7}),_0x53ec3f(_0x104b6d[_0x189e33(0x2e8)]['map'](_0x265f94=>[..._0x265f94]))):(_0x5a9d26(null),_0x53ec3f([]));}}),_0x48ec25&&_0x4c0ab2(_0x1b4753(0x34d),{'className':_0x1b4753(0x2ba),'children':_0x48ec25}),_0x5b5190(_0x1b4753(0x34d),{'className':_0x1b4753(0x25a),'children':[_0x5bed52['onCancel']&&_0x4c0ab2(_0x413d0f,{'type':_0x1b4753(0x21b),'variant':_0x1b4753(0x1a8),'onClick':_0x5bed52[_0x1b4753(0x14f)],'children':_0x207aa5['t'](_0x1b4753(0x150))}),_0x4c0ab2(_0x413d0f,{'type':_0x1b4753(0x21b),'variant':_0x1b4753(0x257),'disabled':_0x3f58a1==='referenced'&&!_0x1c90d0,'onClick':async()=>{const _0x1902ff=_0x1b4753;var _0x316041;let _0x325f58=_0x321e23({'optionId':_0x5f3823,'values':_0x3f58a1===_0x1902ff(0x294)?_0x1c4ea8:_0x56ac2a});if(!_0x325f58['ok']){_0x3c382f(_0x2e7068[_0x325f58['issue']['code']]);return;}if(!await _0x273f1b['executeCommand'](_0x5950c5['id'],Kr(_0x5bed52[_0x1902ff(0x2db)],_0x325f58['plan'][_0x1902ff(0x1ea)],_0x325f58[_0x1902ff(0x194)][_0x1902ff(0x2e8)],_0x325f58[_0x1902ff(0x194)][_0x1902ff(0x2c6)],_0x3f58a1==='referenced'?_0x1c90d0??void 0x0:void 0x0))){_0x3c382f(_0x207aa5['t'](_0x1902ff(0x354)));return;}_0x3c382f(null),(_0x316041=_0x5bed52['onInserted'])==null||_0x316041['call'](_0x5bed52);},'children':_0x207aa5['t'](_0x1b4753(0x1a4))})]})]});}let Jr=class extends _0x37367c{constructor(_0x371060){const _0x1c225b=_0x420134;super(),this[_0x1c225b(0x148)]=_0x371060,this['_registerComponents']();}[_0x420134(0x29b)](){const _0x51ee15=_0x420134;this['disposeWithMe'](this[_0x51ee15(0x148)][_0x51ee15(0x161)](or,pr)),this[_0x51ee15(0x28f)](this[_0x51ee15(0x148)][_0x51ee15(0x161)](rr,ir)),this[_0x51ee15(0x28f)](this[_0x51ee15(0x148)][_0x51ee15(0x161)](_0x25b70a,qr)),this[_0x51ee15(0x28f)](this['_componentManager'][_0x51ee15(0x161)](Zn,tr));}};Jr=V([B(0x0,_0x562f55(_0x1af51d))],Jr);var Yr=class extends _0x78fa0e{constructor(_0x42baea,_0x13beff){const _0x272b0f=_0x420134;super(_0x42baea,_0x13beff),z(this,_0x272b0f(0x1ce),void 0x0),z(this,_0x272b0f(0x2e5),void 0x0),this[_0x272b0f(0x1ce)]=_0x13beff[_0x272b0f(0x157)],this[_0x272b0f(0x2e5)]=_0x13beff[_0x272b0f(0x22e)],this[_0x272b0f(0x1be)]();}['updateElement'](_0xca5999){const _0x5e3386=_0x420134;this[_0x5e3386(0x1ce)]=_0xca5999,this[_0x5e3386(0x241)](!0x0);}[_0x420134(0x17a)](_0x3ec575){const _0x4b4421=_0x420134;Zr(this[_0x4b4421(0x2e5)],_0x3ec575)||(this[_0x4b4421(0x2e5)]=_0x3ec575,this[_0x4b4421(0x241)](!0x0));}[_0x420134(0x301)](){return this['_element'];}['getFrameStyle'](){const _0x19d605=_0x420134;return this[_0x19d605(0x2e5)];}[_0x420134(0x1de)](_0x1f944d){const _0x592e4c=_0x420134;this[_0x592e4c(0x179)]??(this[_0x592e4c(0x179)]=document[_0x592e4c(0x237)](_0x592e4c(0x1a6)),this[_0x592e4c(0x179)][_0x592e4c(0x335)]='anonymous'),this[_0x592e4c(0x1be)](),this['_native'][_0x592e4c(0x21d)]=_0x1f944d;}[_0x420134(0x2d7)](_0x1eb322,_0x33134b,_0x5f4eb4=this[_0x420134(0x22a)],_0x595429=this['height']){const _0x376e40=_0x420134;let _0x346edb=this[_0x376e40(0x2e5)],_0x49f131=yr({'width':_0x5f4eb4,'height':_0x595429},_0x346edb);_0x1eb322['save'](),_0x1eb322['translate'](-_0x5f4eb4/0x2,-_0x595429/0x2),Xr(_0x1eb322,0x0,0x0,_0x5f4eb4,_0x595429,_0x346edb[_0x376e40(0x167)]),_0x1eb322[_0x376e40(0x326)]=_0x346edb[_0x376e40(0x1e1)],_0x1eb322['fill'](),_0x1eb322['restore'](),this['_drawChartImage'](_0x1eb322,_0x5f4eb4,_0x595429,_0x49f131,_0x346edb),this[_0x376e40(0x33a)](_0x1eb322,_0x5f4eb4,_0x595429,_0x346edb);}[_0x420134(0x28b)](_0x1081a1,_0x23f4eb,_0x407a27,_0x99035a,_0x2c5d4d){const _0x42eedb=_0x420134;var _0x17c5c3;!((_0x17c5c3=this[_0x42eedb(0x179)])!=null&&_0x17c5c3[_0x42eedb(0x32b)])||this[_0x42eedb(0x179)][_0x42eedb(0x2cd)]<=0x0||this[_0x42eedb(0x179)][_0x42eedb(0x332)]<=0x0||(_0x1081a1['save'](),_0x1081a1['translate'](-_0x23f4eb/0x2,-_0x407a27/0x2),Xr(_0x1081a1,_0x99035a[_0x42eedb(0x2b8)],_0x99035a[_0x42eedb(0x254)],_0x99035a[_0x42eedb(0x22a)],_0x99035a[_0x42eedb(0x233)],Math[_0x42eedb(0x331)](0x0,_0x2c5d4d[_0x42eedb(0x167)]-_0x2c5d4d[_0x42eedb(0x1b9)])),_0x1081a1['clip'](),_0x1081a1['drawImage'](this[_0x42eedb(0x179)],_0x99035a[_0x42eedb(0x2b8)],_0x99035a[_0x42eedb(0x254)],_0x99035a[_0x42eedb(0x22a)],_0x99035a[_0x42eedb(0x233)]),_0x1081a1[_0x42eedb(0x18c)]());}[_0x420134(0x33a)](_0x5cf8b4,_0x5b42b9,_0x179d92,_0x3a3e1d){const _0x13fe81=_0x420134;if(_0x3a3e1d[_0x13fe81(0x1b9)]<=0x0)return;let _0x346665=br({'width':_0x5b42b9,'height':_0x179d92},_0x3a3e1d);_0x5cf8b4[_0x13fe81(0x159)](),_0x5cf8b4[_0x13fe81(0x32a)](-_0x5b42b9/0x2,-_0x179d92/0x2),Xr(_0x5cf8b4,_0x346665['left'],_0x346665[_0x13fe81(0x254)],_0x346665[_0x13fe81(0x22a)],_0x346665[_0x13fe81(0x233)],_0x346665[_0x13fe81(0x167)]),_0x5cf8b4[_0x13fe81(0x20c)]=_0x3a3e1d[_0x13fe81(0x28c)],_0x5cf8b4[_0x13fe81(0x1af)]=_0x3a3e1d[_0x13fe81(0x1b9)],_0x5cf8b4[_0x13fe81(0x28c)](),_0x5cf8b4[_0x13fe81(0x18c)]();}['_notifyScene'](){const _0x32ee8e=_0x420134;let _0x32ea03=this['getScene']();this[_0x32ee8e(0x241)](!0x0),_0x32ea03==null||_0x32ea03['onFileLoaded$'][_0x32ee8e(0x1f7)](this[_0x32ee8e(0x1ac)]);}[_0x420134(0x1be)](){const _0x2c3472=_0x420134;this[_0x2c3472(0x179)]&&(this[_0x2c3472(0x179)][_0x2c3472(0x282)]=()=>{this['makeDirty'](!0x0),this['_notifyScene']();},this[_0x2c3472(0x179)][_0x2c3472(0x2f2)]=()=>{this['_notifyScene']();});}};function Xr(_0x1779ed,_0x317071,_0x59a591,_0x52ff5a,_0xfe2187,_0x2756aa){const _0x331f8c=_0x420134;let _0x1e7f85=Math[_0x331f8c(0x292)](_0x2756aa||0x0,_0x52ff5a/0x2,_0xfe2187/0x2);if(_0x1779ed[_0x331f8c(0x1df)](),!_0x1e7f85){_0x1779ed[_0x331f8c(0x23b)](_0x317071,_0x59a591,_0x52ff5a,_0xfe2187),_0x1779ed['closePath']();return;}_0x1779ed[_0x331f8c(0x18d)](_0x317071+_0x1e7f85,_0x59a591),_0x1779ed[_0x331f8c(0x2d6)](_0x317071+_0x52ff5a-_0x1e7f85,_0x59a591),_0x1779ed[_0x331f8c(0x143)](_0x317071+_0x52ff5a-_0x1e7f85,_0x59a591+_0x1e7f85,_0x1e7f85,Math['PI']*0x3/0x2,0x0,!0x1),_0x1779ed[_0x331f8c(0x2d6)](_0x317071+_0x52ff5a,_0x59a591+_0xfe2187-_0x1e7f85),_0x1779ed[_0x331f8c(0x143)](_0x317071+_0x52ff5a-_0x1e7f85,_0x59a591+_0xfe2187-_0x1e7f85,_0x1e7f85,0x0,Math['PI']/0x2,!0x1),_0x1779ed[_0x331f8c(0x2d6)](_0x317071+_0x1e7f85,_0x59a591+_0xfe2187),_0x1779ed[_0x331f8c(0x143)](_0x317071+_0x1e7f85,_0x59a591+_0xfe2187-_0x1e7f85,_0x1e7f85,Math['PI']/0x2,Math['PI'],!0x1),_0x1779ed['lineTo'](_0x317071,_0x59a591+_0x1e7f85),_0x1779ed[_0x331f8c(0x143)](_0x317071+_0x1e7f85,_0x59a591+_0x1e7f85,_0x1e7f85,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x1779ed[_0x331f8c(0x356)]();}function Zr(_0xdd7c83,_0x4ea0b8){const _0x14cf59=_0x420134;return _0xdd7c83[_0x14cf59(0x1e1)]===_0x4ea0b8[_0x14cf59(0x1e1)]&&_0xdd7c83[_0x14cf59(0x28c)]===_0x4ea0b8[_0x14cf59(0x28c)]&&_0xdd7c83['strokeWidth']===_0x4ea0b8[_0x14cf59(0x1b9)]&&_0xdd7c83[_0x14cf59(0x167)]===_0x4ea0b8[_0x14cf59(0x167)];}function Qr(_0x4877bf){const _0x1af595=_0x420134;let {element:_0x1c1f61}=_0x4877bf[_0x1af595(0x2a1)];return _0x1c1f61['type']===_0xbbe6aa[_0x1af595(0x289)]?_0x1c1f61:null;}let Z=class{constructor(_0x1ca289,_0x450375,_0x5f008d,_0x23ddd2){const _0x557b58=_0x420134;this[_0x557b58(0x1c1)]=_0x1ca289,this[_0x557b58(0x178)]=_0x450375,this[_0x557b58(0x286)]=_0x5f008d,this[_0x557b58(0x2ed)]=_0x23ddd2,z(this,_0x557b58(0x255),_0x557b58(0x309)),z(this,'_snapshotRefreshers',new WeakMap());}['createObject'](_0x5c5edc){const _0x99d8bd=_0x420134;let _0x219ef8=Qr(_0x5c5edc);if(!_0x219ef8)return null;let _0xeff137=Math[_0x99d8bd(0x331)](0x1,_0x5c5edc[_0x99d8bd(0x1e2)][_0x99d8bd(0x22a)]),_0x4bc186=Math['max'](0x1,_0x5c5edc['bounds'][_0x99d8bd(0x233)]),_0x2b69a3=new Yr(_0x5c5edc[_0x99d8bd(0x206)],{'url':_0x99d8bd(0x30f),'left':_0x5c5edc['bounds']['left'],'top':_0x5c5edc[_0x99d8bd(0x1e2)][_0x99d8bd(0x254)],'width':_0xeff137,'height':_0x4bc186,'angle':_0x5c5edc['bounds'][_0x99d8bd(0x340)],'flipX':_0x5c5edc[_0x99d8bd(0x1e2)][_0x99d8bd(0x349)],'flipY':_0x5c5edc[_0x99d8bd(0x1e2)][_0x99d8bd(0x17c)],'zIndex':_0x5c5edc['zIndex'],'visible':_0x219ef8[_0x99d8bd(0x22c)]!==!0x1,'evented':!0x0,'forceRender':!0x0,'element':_0x219ef8,'frameStyle':this[_0x99d8bd(0x1b2)](_0x5c5edc[_0x99d8bd(0x27a)],_0x219ef8)});return this[_0x99d8bd(0x18a)](_0x2b69a3,this[_0x99d8bd(0x337)](_0x5c5edc['unitId'],_0x2b69a3),_0x5c5edc[_0x99d8bd(0x27a)]),_0x2b69a3;}[_0x420134(0x1d0)](_0x3bebae,_0x1f5997){const _0xf83d78=_0x420134;var _0x4cc713;if(!(_0x3bebae instanceof Yr))return!0x1;let _0x386402=Qr(_0x1f5997);return _0x386402?(_0x1f5997['preserveTransform']||_0x3bebae[_0xf83d78(0x312)](_0x1f5997[_0xf83d78(0x1e2)]),_0x3bebae[_0xf83d78(0x13f)](_0x386402),this[_0xf83d78(0x2c9)](_0x1f5997[_0xf83d78(0x27a)],_0x3bebae),(_0x4cc713=this['_snapshotRefreshers'][_0xf83d78(0x239)](_0x3bebae))==null||_0x4cc713(),!0x0):!0x1;}[_0x420134(0x18a)](_0x28ab38,_0x1b16fe,_0x4343f5){const _0x68a272=_0x420134;if(!_0x1b16fe)return;let _0x57038d=null,_0x1d35d9=null,_0x116ad6=!0x1,_0x40e480=_0x3a3b8c=>{const _0x9df857=_0x1b7a;if(_0x1d35d9!==_0x3a3b8c){if(_0x57038d==null||_0x57038d[_0x9df857(0x146)](),_0x57038d=null,_0x1d35d9=_0x3a3b8c,_0x3a3b8c[_0x9df857(0x2a6)]===_0x9df857(0x1ee)&&_0x3a3b8c[_0x9df857(0x191)]){_0x28ab38[_0x9df857(0x1de)](_0x3a3b8c['dataUrl']);return;}_0x3a3b8c[_0x9df857(0x2a6)]==='pending'&&(_0x57038d=this[_0x9df857(0x178)][_0x9df857(0x291)]['subscribe'](_0x52e14d=>{const _0x12d88b=_0x9df857;if(_0x52e14d!==_0x3a3b8c||_0x52e14d[_0x12d88b(0x2a6)]!==_0x12d88b(0x1ee)||!_0x52e14d[_0x12d88b(0x191)]){if(_0x52e14d===_0x3a3b8c&&_0x52e14d['status']===_0x12d88b(0x1a0)&&!_0x116ad6){_0x116ad6=!0x0;let _0x1a7f07=this[_0x12d88b(0x337)](_0x4343f5,_0x28ab38);_0x1a7f07&&_0x40e480(_0x1a7f07);}return;}_0x28ab38['changeChartSource'](_0x52e14d[_0x12d88b(0x191)]),_0x57038d==null||_0x57038d[_0x12d88b(0x146)](),_0x57038d=null;}));}};_0x40e480(_0x1b16fe);let _0x3f32b9=()=>{const _0x1e1973=_0x1b7a;_0x116ad6=!0x1;let _0x38e792=this[_0x1e1973(0x337)](_0x4343f5,_0x28ab38);_0x38e792&&_0x40e480(_0x38e792);};this[_0x68a272(0x35f)][_0x68a272(0x1bd)](_0x28ab38,_0x3f32b9);let _0x52d7b9=this[_0x68a272(0x178)][_0x68a272(0x287)]['subscribe'](_0x2fe6fe=>{const _0x5230c2=_0x68a272;_0x2fe6fe[_0x5230c2(0x27a)]===_0x4343f5&&_0x2fe6fe[_0x5230c2(0x2f1)]===_0x28ab38['getElement']()[_0x5230c2(0x2f1)]&&_0x3f32b9();});_0x28ab38['onDispose$'][_0x68a272(0x21f)](()=>{const _0x25334a=_0x68a272;_0x57038d==null||_0x57038d[_0x25334a(0x146)](),_0x52d7b9[_0x25334a(0x146)](),this[_0x25334a(0x35f)]['delete'](_0x28ab38);});}[_0x420134(0x337)](_0x5833c6,_0x57fdae){const _0x597da4=_0x420134;let _0x4d9849=this[_0x597da4(0x2c9)](_0x5833c6,_0x57fdae),_0x9d07d9=yr({'width':Math[_0x597da4(0x331)](0x1,_0x57fdae[_0x597da4(0x22a)]),'height':Math['max'](0x1,_0x57fdae[_0x597da4(0x233)])},_0x4d9849);return this[_0x597da4(0x178)]['requestSnapshot']({'unitId':_0x5833c6,'chartId':_0x57fdae[_0x597da4(0x301)]()['chartId'],'width':_0x9d07d9['width'],'height':_0x9d07d9['height'],'mode':_0x597da4(0x200)});}[_0x420134(0x2c9)](_0x2b258a,_0x56fa5e){const _0x3c23d0=_0x420134;let _0x342406=this[_0x3c23d0(0x1b2)](_0x2b258a,_0x56fa5e[_0x3c23d0(0x301)]());return _0x56fa5e[_0x3c23d0(0x17a)](_0x342406),_0x342406;}['_resolveFrameStyle'](_0xf69f8b,_0x34e833){const _0x4cd75c=_0x420134;var _0x279c91;let _0x49ea43=(_0x279c91=this[_0x4cd75c(0x286)][_0x4cd75c(0x25d)](_0xf69f8b,_0x34e833[_0x4cd75c(0x2f1)]))==null?void 0x0:_0x279c91['style'];return vr({'chartStyle':_0x49ea43,'chartElement':_0x34e833,'hostFill':_0x49ea43?this['_renderService']['getHostStyle'](_0x49ea43)['fill']:void 0x0,'isDarkMode':this[_0x4cd75c(0x1c1)][_0x4cd75c(0x15b)]});}};Z=V([B(0x0,_0x562f55(_0x266ec7)),B(0x1,_0x562f55(J)),B(0x2,_0x562f55(_0x8c60)),B(0x3,_0x562f55(q))],Z);function $r(_0x3e4d28){const _0x90c0d0=_0x420134;return _0x3e4d28[_0x90c0d0(0x304)]===_0xbbe6aa['Chart'];}let Q=class{constructor(_0x4caea8){const _0x573837=_0x420134;this['_resourceService']=_0x4caea8,z(this,'key',_0x573837(0x2fe));}[_0x420134(0x353)](_0x5651c0){const _0x1558cd=_0x420134;let _0x40e3ab={},_0xba70b5={},_0x1a1591={};return _0x5651c0['elements'][_0x1558cd(0x1f1)](_0xca2985=>{const _0x512a95=_0x1558cd;if(!$r(_0xca2985))return;let _0x5dd750=this[_0x512a95(0x286)][_0x512a95(0x25d)](_0x5651c0[_0x512a95(0x27a)],_0xca2985[_0x512a95(0x2f1)]),_0x5e9b23=_0x5dd750?this[_0x512a95(0x286)][_0x512a95(0x1e4)](_0x5651c0[_0x512a95(0x27a)],_0x5dd750[_0x512a95(0x1bc)]):void 0x0;!_0x5dd750||!_0x5e9b23||(_0x40e3ab[_0x5dd750['id']]=_0x2f6a92[_0x512a95(0x192)](_0x5dd750),_0xba70b5[_0x5e9b23['id']]=_0x5e9b23,_0x1a1591[_0xca2985['id']]=_0x5dd750['id']);}),Object[_0x1558cd(0x2b6)](_0x40e3ab)['length']===0x0?null:{'charts':_0x40e3ab,'dataSources':_0xba70b5,'chartIdByElementId':_0x1a1591};}[_0x420134(0x2ad)](_0x8b4b2b){const _0x2948ef=_0x420134;if(!ei(_0x8b4b2b['payload']))return null;let _0x548325=_0x8b4b2b['payload'],_0xb6c86c=new Map();_0x8b4b2b[_0x2948ef(0x2a5)][_0x2948ef(0x1f1)]((_0x5b6758,_0x5411eb)=>{const _0x5ef7a8=_0x2948ef;_0xb6c86c[_0x5ef7a8(0x1bd)](_0x5b6758,_0x5411eb);});let _0x4ce9dc=new Map(),_0x283d96=new Map(),_0x34742f=_0x8b4b2b[_0x2948ef(0x2fb)]['map'](_0x15768d=>{const _0x3b4548=_0x2948ef;if(!$r(_0x15768d))return _0x15768d;let _0x537de0=_0xb6c86c[_0x3b4548(0x239)](_0x15768d['id']),_0x47a583=_0x537de0?_0x548325[_0x3b4548(0x17e)][_0x537de0]:void 0x0;if(!_0x47a583||!_0x548325[_0x3b4548(0x324)][_0x47a583])return _0x15768d;let _0xaa1666=_0x4ce9dc[_0x3b4548(0x239)](_0x47a583);return _0xaa1666||(_0xaa1666=_0x28db8b(0x6),_0x4ce9dc[_0x3b4548(0x1bd)](_0x47a583,_0xaa1666)),{..._0x15768d,'chartId':_0xaa1666};});_0x4ce9dc[_0x2948ef(0x1f1)]((_0x1fc726,_0x3fa63d)=>{const _0x27c90a=_0x2948ef;var _0x2f7d6d;let _0x3d8b33=(_0x2f7d6d=_0x548325[_0x27c90a(0x324)][_0x3fa63d])==null?void 0x0:_0x2f7d6d['dataSourceId'];_0x3d8b33&&!_0x283d96[_0x27c90a(0x165)](_0x3d8b33)&&_0x283d96[_0x27c90a(0x1bd)](_0x3d8b33,_0x28db8b(0x6));});let _0x1df832=[];_0x283d96[_0x2948ef(0x1f1)]((_0x41de74,_0x14f30a)=>{const _0x34cdde=_0x2948ef;let _0x59c185=_0x548325[_0x34cdde(0x1aa)][_0x14f30a];_0x59c185&&_0x1df832[_0x34cdde(0x2b9)]({..._0x59c185,'id':_0x41de74});});let _0x24a336=[];return _0x4ce9dc[_0x2948ef(0x1f1)]((_0x3ca471,_0x2cfc32)=>{const _0xc15b47=_0x2948ef;let _0x5afff4=_0x548325[_0xc15b47(0x324)][_0x2cfc32],_0x1cbbeb=_0x5afff4?_0x283d96['get'](_0x5afff4[_0xc15b47(0x1bc)]):void 0x0;!_0x5afff4||!_0x1cbbeb||_0x24a336[_0xc15b47(0x2b9)]({..._0x5afff4,'id':_0x3ca471,'dataSourceId':_0x1cbbeb});}),_0x24a336[_0x2948ef(0x23d)]===0x0?null:{'elements':_0x34742f,'redoMutations':[..._0x1df832[_0x2948ef(0x21c)](_0x53589e=>({'id':_0x34a8cb['id'],'params':{'unitId':_0x8b4b2b['targetUnitId'],'dataSource':_0x53589e}})),..._0x24a336['map'](_0x5620cc=>({'id':_0x47addf['id'],'params':{'unitId':_0x8b4b2b['targetUnitId'],'chart':_0x5620cc}}))],'undoMutations':[..._0x24a336['map'](_0x5e91ef=>({'id':_0x57425b['id'],'params':{'unitId':_0x8b4b2b[_0x2948ef(0x2e2)],'chartId':_0x5e91ef['id']}})),..._0x1df832['map'](_0x41b844=>({'id':_0xccd2ef['id'],'params':{'unitId':_0x8b4b2b[_0x2948ef(0x2e2)],'dataSourceId':_0x41b844['id']}}))]};}};Q=V([B(0x0,_0x562f55(_0x8c60))],Q);function ei(_0xf729f3){const _0x28ca7f=_0x420134;if(!_0xf729f3||typeof _0xf729f3!='object')return!0x1;let _0x248e05=_0xf729f3;return!!_0x248e05[_0x28ca7f(0x324)]&&!!_0x248e05[_0x28ca7f(0x1aa)]&&!!_0x248e05[_0x28ca7f(0x17e)];}let ti=class extends _0x37367c{constructor(_0x2f3f98,_0x3746e8){const _0x50f0b4=_0x420134;super(),this[_0x50f0b4(0x178)]=_0x3746e8,this[_0x50f0b4(0x28f)](_0x2f3f98[_0x50f0b4(0x161)](this));}['supports'](_0x45fe51){return'unitId'in _0x45fe51&&'getElement'in _0x45fe51;}[_0x420134(0x160)](_0x4f583f){const _0x9fc8bd=_0x420134;if(!this[_0x9fc8bd(0x265)](_0x4f583f))return Promise[_0x9fc8bd(0x296)](void 0x0);let _0xbd7608=_0x4f583f[_0x9fc8bd(0x1e9)]()[_0x9fc8bd(0x213)];return this[_0x9fc8bd(0x178)]['exportImage']({'unitId':_0x4f583f[_0x9fc8bd(0x27a)],'chartId':_0x4f583f[_0x9fc8bd(0x207)](),'width':Math[_0x9fc8bd(0x331)](0x1,(_0xbd7608==null?void 0x0:_0xbd7608[_0x9fc8bd(0x22a)])??0x1),'height':Math[_0x9fc8bd(0x331)](0x1,(_0xbd7608==null?void 0x0:_0xbd7608[_0x9fc8bd(0x233)])??0x1),'mode':_0x9fc8bd(0x200)});}};ti=V([B(0x0,_0x562f55(_0x5802b4)),B(0x1,_0x562f55(J))],ti);const ni=_0x420134(0x177);let $=class extends _0x10d04f{constructor(_0x15e12a=Un,_0x3237da,_0x2d70db,_0x46f96c){const _0xa71f48=_0x420134;super(),this[_0xa71f48(0x2c2)]=_0x15e12a,this['_injector']=_0x3237da,this[_0xa71f48(0x2c3)]=_0x2d70db,this[_0xa71f48(0x2a7)]=_0x46f96c,z(this,_0xa71f48(0x180),null);let {..._0xd53ffe}=_0x42b868({},Un,this[_0xa71f48(0x2c2)]);this[_0xa71f48(0x2c3)][_0xa71f48(0x243)](Hn,_0xd53ffe);}[_0x420134(0x211)](){const _0x5d9f4f=_0x420134;this[_0x5d9f4f(0x28f)](this['_injector'][_0x5d9f4f(0x239)](_0x1fe324)[_0x5d9f4f(0x18f)](ar)),[[q],[J],[ti],[U,{'useClass':Xn}],[G],[H],[X],[Z],[Q],[Y],[Jr]][_0x5d9f4f(0x1f1)](_0x3ea398=>this['_injector'][_0x5d9f4f(0x1c3)](_0x3ea398)),_0x1e7ffb(this[_0x5d9f4f(0x195)],[[q],[J],[ti],[U],[G],[H],[X]]),this[_0x5d9f4f(0x195)]['get'](Jr);let _0xe57163=this[_0x5d9f4f(0x195)][_0x5d9f4f(0x239)](Z);this[_0x5d9f4f(0x180)]=_0xe57163,this[_0x5d9f4f(0x34b)](_0xe57163),this[_0x5d9f4f(0x28f)](_0x114177(()=>{const _0x531115=_0x5d9f4f;this[_0x531115(0x149)](_0xe57163),this['_adapter']=null;}));let _0x16ee28=this[_0x5d9f4f(0x195)]['get'](_0x52cf4e);this[_0x5d9f4f(0x28f)](_0x16ee28['registerAdapter'](this[_0x5d9f4f(0x195)][_0x5d9f4f(0x239)](Q))),this['disposeWithMe'](this[_0x5d9f4f(0x195)]['get'](Y));}[_0x420134(0x30a)](){const _0x5b3fbc=_0x420134;this[_0x5b3fbc(0x28f)](this[_0x5b3fbc(0x2a7)][_0x5b3fbc(0x35a)](_0x707cea[_0x5b3fbc(0x2e7)],W)),this['disposeWithMe'](this[_0x5b3fbc(0x2a7)][_0x5b3fbc(0x35a)](_0x707cea[_0x5b3fbc(0x2e7)],jr)),this[_0x5b3fbc(0x28f)](this[_0x5b3fbc(0x2a7)]['registerRenderModule'](_0x707cea[_0x5b3fbc(0x2e7)],Cr)),this['disposeWithMe'](this[_0x5b3fbc(0x2a7)][_0x5b3fbc(0x35a)](_0x707cea[_0x5b3fbc(0x2e7)],nr));}[_0x420134(0x34b)](_0x4558c8){const _0x38b657=_0x420134;var _0x586499,_0x471141;let _0x398d14=this[_0x38b657(0x20a)](),_0x3aae28=_0x398d14[_0x38b657(0x1d7)]??[];_0x3aae28[_0x38b657(0x2f5)](_0x4558c8)||this[_0x38b657(0x2c3)][_0x38b657(0x243)](_0x3ce34f,{..._0x398d14,'additionalRenderAdapters':[..._0x3aae28,_0x4558c8],'toolbar':{..._0x398d14[_0x38b657(0x1dd)],'tools':{...(_0x586499=_0x398d14[_0x38b657(0x1dd)])==null?void 0x0:_0x586499[_0x38b657(0x214)],[_0x3972cb['Chart']]:ri((_0x471141=_0x398d14[_0x38b657(0x1dd)])==null||(_0x471141=_0x471141['tools'])==null?void 0x0:_0x471141[_0x3972cb[_0x38b657(0x289)]])}}});}[_0x420134(0x149)](_0xdd346b){const _0x4af92c=_0x420134;var _0x128d98;let _0x591a5b=this[_0x4af92c(0x20a)](),_0x47a073=(_0x128d98=_0x591a5b[_0x4af92c(0x1d7)])==null?void 0x0:_0x128d98[_0x4af92c(0x27d)](_0x17a690=>_0x17a690!==_0xdd346b);this[_0x4af92c(0x2c3)][_0x4af92c(0x243)](_0x3ce34f,{..._0x591a5b,'additionalRenderAdapters':_0x47a073});}[_0x420134(0x20a)](){const _0x598209=_0x420134;return this['_configService'][_0x598209(0x18b)](_0x3ce34f)??{};}};z($,'pluginName',ni),z($,'packageName',Mr),z($,_0x420134(0x216),Nr),z($,_0x420134(0x304),_0x707cea[_0x420134(0x2e7)]),$=V([_0x12277f(_0x614a47,_0x165d51,_0x499738,_0x2d77e6,_0x5c1c8a,_0x4f6771),B(0x1,_0x562f55(_0xd63000)),B(0x2,_0xd2ea59),B(0x3,_0x4b3b8f)],$);function ri(_0x55f488){const _0x16d7dc=_0x420134;return _0x55f488===!0x1?!0x1:typeof _0x55f488!=_0x16d7dc(0x16c)||{..._0x55f488,'enabled':_0x55f488[_0x16d7dc(0x2d3)]??!0x0};}export{Hn as BOARDS_CHART_UI_PLUGIN_CONFIG_KEY,ni as BOARDS_CHART_UI_PLUGIN_NAME,Or as BOARD_CHART_SNAPSHOT_BORDER_WIDTH,Q as BoardChartClipboardAdapter,G as BoardChartDataEditService,H as BoardChartEditSessionService,nr as BoardChartFloatingToolbarRenderController,W as BoardChartOpenEditController,Cr as BoardChartPanelController,Z as BoardChartRenderAdapter,q as BoardChartRenderService,jr as BoardChartSelectionController,Y as BoardChartSnapshotRefreshController,J as BoardChartSnapshotRenderService,Xn as BoardChartUIService,wr as BoardDomChartHost,Dr as IBoardChartSnapshotRendererService,U as IBoardChartUIService,$ as UniverBoardsChartUIPlugin,ri as enableChartTool,kr as resolveBoardChartSnapshotStyle};
|