@univerjs-pro/sheets-chart-ui 1.0.0-beta.0 → 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.
Files changed (88) hide show
  1. package/lib/cjs/index.js +1 -1
  2. package/lib/cjs/locale/ar-SA.js +1 -1
  3. package/lib/cjs/locale/ca-ES.js +1 -1
  4. package/lib/cjs/locale/de-DE.js +1 -1
  5. package/lib/cjs/locale/en-US.js +1 -1
  6. package/lib/cjs/locale/es-ES.js +1 -1
  7. package/lib/cjs/locale/fa-IR.js +1 -1
  8. package/lib/cjs/locale/fr-FR.js +1 -1
  9. package/lib/cjs/locale/id-ID.js +1 -1
  10. package/lib/cjs/locale/it-IT.js +1 -1
  11. package/lib/cjs/locale/ja-JP.js +1 -1
  12. package/lib/cjs/locale/ko-KR.js +1 -1
  13. package/lib/cjs/locale/pl-PL.js +1 -1
  14. package/lib/cjs/locale/pt-BR.js +1 -1
  15. package/lib/cjs/locale/ru-RU.js +1 -1
  16. package/lib/cjs/locale/sk-SK.js +1 -1
  17. package/lib/cjs/locale/vi-VN.js +1 -1
  18. package/lib/cjs/locale/zh-CN.js +1 -1
  19. package/lib/cjs/locale/zh-HK.js +1 -1
  20. package/lib/cjs/locale/zh-TW.js +1 -1
  21. package/lib/es/index.js +1 -1
  22. package/lib/es/locale/ar-SA.js +1 -1
  23. package/lib/es/locale/ca-ES.js +1 -1
  24. package/lib/es/locale/de-DE.js +1 -1
  25. package/lib/es/locale/en-US.js +1 -1
  26. package/lib/es/locale/es-ES.js +1 -1
  27. package/lib/es/locale/fa-IR.js +1 -1
  28. package/lib/es/locale/fr-FR.js +1 -1
  29. package/lib/es/locale/id-ID.js +1 -1
  30. package/lib/es/locale/it-IT.js +1 -1
  31. package/lib/es/locale/ja-JP.js +1 -1
  32. package/lib/es/locale/ko-KR.js +1 -1
  33. package/lib/es/locale/pl-PL.js +1 -1
  34. package/lib/es/locale/pt-BR.js +1 -1
  35. package/lib/es/locale/ru-RU.js +1 -1
  36. package/lib/es/locale/sk-SK.js +1 -1
  37. package/lib/es/locale/vi-VN.js +1 -1
  38. package/lib/es/locale/zh-CN.js +1 -1
  39. package/lib/es/locale/zh-HK.js +1 -1
  40. package/lib/es/locale/zh-TW.js +1 -1
  41. package/lib/index.css +2 -2
  42. package/lib/index.js +1 -1
  43. package/lib/locale/ar-SA.js +1 -1
  44. package/lib/locale/ca-ES.js +1 -1
  45. package/lib/locale/de-DE.js +1 -1
  46. package/lib/locale/en-US.js +1 -1
  47. package/lib/locale/es-ES.js +1 -1
  48. package/lib/locale/fa-IR.js +1 -1
  49. package/lib/locale/fr-FR.js +1 -1
  50. package/lib/locale/id-ID.js +1 -1
  51. package/lib/locale/it-IT.js +1 -1
  52. package/lib/locale/ja-JP.js +1 -1
  53. package/lib/locale/ko-KR.js +1 -1
  54. package/lib/locale/pl-PL.js +1 -1
  55. package/lib/locale/pt-BR.js +1 -1
  56. package/lib/locale/ru-RU.js +1 -1
  57. package/lib/locale/sk-SK.js +1 -1
  58. package/lib/locale/vi-VN.js +1 -1
  59. package/lib/locale/zh-CN.js +1 -1
  60. package/lib/locale/zh-HK.js +1 -1
  61. package/lib/locale/zh-TW.js +1 -1
  62. package/lib/types/controllers/ui.controller.d.ts +2 -3
  63. package/lib/types/menu/chart-context-menu.d.ts +0 -1
  64. package/lib/types/services/chart-image-export-provider.d.ts +15 -0
  65. package/lib/types/services/sheet-chart-host.d.ts +3 -0
  66. package/lib/types/views/chart-edit-panel/ChartEditPanel.d.ts +1 -1
  67. package/lib/types/views/chart-menu/chart-menu-factory.d.ts +2 -1
  68. package/lib/umd/index.js +1 -1
  69. package/lib/umd/locale/ar-SA.js +1 -1
  70. package/lib/umd/locale/ca-ES.js +1 -1
  71. package/lib/umd/locale/de-DE.js +1 -1
  72. package/lib/umd/locale/en-US.js +1 -1
  73. package/lib/umd/locale/es-ES.js +1 -1
  74. package/lib/umd/locale/fa-IR.js +1 -1
  75. package/lib/umd/locale/fr-FR.js +1 -1
  76. package/lib/umd/locale/id-ID.js +1 -1
  77. package/lib/umd/locale/it-IT.js +1 -1
  78. package/lib/umd/locale/ja-JP.js +1 -1
  79. package/lib/umd/locale/ko-KR.js +1 -1
  80. package/lib/umd/locale/pl-PL.js +1 -1
  81. package/lib/umd/locale/pt-BR.js +1 -1
  82. package/lib/umd/locale/ru-RU.js +1 -1
  83. package/lib/umd/locale/sk-SK.js +1 -1
  84. package/lib/umd/locale/vi-VN.js +1 -1
  85. package/lib/umd/locale/zh-CN.js +1 -1
  86. package/lib/umd/locale/zh-HK.js +1 -1
  87. package/lib/umd/locale/zh-TW.js +1 -1
  88. package/package.json +18 -18
package/lib/es/index.js CHANGED
@@ -1 +1 @@
1
- const _0x42a697=_0x8d76;(function(_0x2f8706,_0x146d7d){const _0x26c232=_0x8d76,_0x3d5183=_0x2f8706();while(!![]){try{const _0xeb27dd=-parseInt(_0x26c232(0x34e))/0x1*(parseInt(_0x26c232(0x2c7))/0x2)+-parseInt(_0x26c232(0x1a7))/0x3*(parseInt(_0x26c232(0x1fe))/0x4)+parseInt(_0x26c232(0x34a))/0x5*(parseInt(_0x26c232(0x2bf))/0x6)+-parseInt(_0x26c232(0x1b4))/0x7+-parseInt(_0x26c232(0x2bd))/0x8*(parseInt(_0x26c232(0x214))/0x9)+-parseInt(_0x26c232(0x3cd))/0xa+parseInt(_0x26c232(0x20d))/0xb*(parseInt(_0x26c232(0x20f))/0xc);if(_0xeb27dd===_0x146d7d)break;else _0x3d5183['push'](_0x3d5183['shift']());}catch(_0x7bf79d){_0x3d5183['push'](_0x3d5183['shift']());}}}(_0x1e7d,0x93335));import{ChartModelService as _0x3db1ab,ChartRenderMode as _0xb0238,ChartUpdateConfigCommand as _0x376d77,ChartUpdateConfigMutation as _0x3f4f82,ChartUpdateSourceCommand as _0x2c914e,InsertChartCommand as _0x6e5b4c,InsertSheetsChartMutation as _0x5f2686,RemoveSheetsChartMutation as _0x54d713,SHEETS_CHART_PLUGIN_CONFIG_KEY as _0x1eb9cf,SHEETS_CHART_PLUGIN_NAME as _0x227e0c,SheetChartBuilderAdapter as _0x17cadd,SheetsChartService as _0x4ce731,UniverSheetsChartPlugin as _0x594a73,getAllowedChartTypes as _0x4c7049,toInsertChartMutationSource as _0xbcc4c3}from'@univerjs-pro/sheets-chart';import{CommandType as _0x5004ac,DependentOn as _0x7bb0e4,Disposable as _0x306247,DisposableCollection as _0x26ed62,DrawingTypeEnum as _0x4cd99f,FOCUSING_COMMON_DRAWINGS as _0x4965bb,ICommandService as _0x5e196b,IConfigService as _0x42fc9b,IContextService as _0x52e096,IUniverInstanceService as _0x39f3aa,Inject as _0x3c5f23,Injector as _0x2f4582,LocaleService as _0xd5d68c,Plugin as _0x4c3811,ThemeService as _0x42b947,UniverInstanceType as _0x351816,createIdentifier as _0x10e12c,debounce as _0x23b2a1,generateRandomId as _0x1d4220,merge as _0x4bcc46,numberToABC as _0x592b49,toDisposable as _0x35a9aa,touchDependencies as _0x3748ed}from'@univerjs/core';import{IDrawingManagerService as _0x3e323c,UniverDrawingPlugin as _0x4bd1ff,getDrawingShapeKeyByDrawingSearch as _0x4a9fe4}from'@univerjs/drawing';import{DrawingApplyType as _0x4a5972,ISheetDrawingService as _0x1e8199,RemoveSheetDrawingCommand as _0x42f5a4,SetDrawingApplyMutation as _0x41a1c6,UniverSheetsDrawingPlugin as _0x3f289a,transformToDrawingPosition as _0x434b54}from'@univerjs/sheets-drawing';import{IDrawingContextMenuService as _0x2afa85,SHEET_CHART_RENDER_OBJECT_CONFIG as _0x3e8982,SheetCanvasFloatDomManagerService as _0x463e32,SheetDrawingHitTestService as _0x18294c,UniverSheetsDrawingUIPlugin as _0x554972}from'@univerjs/sheets-drawing-ui';import{COPY_TYPE as _0x383c66,ISheetClipboardService as _0x4856f0,PREDEFINED_HOOK_NAME as _0x4e1be3,SheetCanvasPopManagerService as _0x4d1830,SheetCopyCommand as _0x3cc3a6,SheetPrintInterceptorService as _0xb35bee,SheetSkeletonManagerService as _0xb53775,UniverSheetsUIPlugin as _0x32fcea,deriveStateFromActiveSheet$ as _0x2f2775,getCurrentRangeDisable$ as _0x32ff81}from'@univerjs/sheets-ui';import{CanvasFloatDomService as _0x37bc3b,ComponentManager as _0x49123f,ContextMenuGroup as _0x17c827,IMenuManagerService as _0x35353b,ISidebarService as _0x2ce6f1,IconManager as _0x2f93b0,MenuItemType as _0x3afb21,MenuManagerPosition as _0x18406c,RibbonInsertGroup as _0x563f0b,getMenuHiddenObservable as _0x14c5fe,useDependency as _0x367ed8,useObservable as _0x1f7c84}from'@univerjs/ui';import{BehaviorSubject as _0x2b0349,Observable as _0x5d87df,Subject as _0x68b55a,combineLatest as _0x54d9ab,combineLatestWith as _0x57c29d,debounceTime as _0x117f83,filter as _0x469439,fromEvent as _0x2843a7,map as _0x7692dd,merge as _0x4b9e2a,startWith as _0x1d4871,take as _0x3adbcc,throttleTime as _0x90ae39}from'rxjs';import{ChartHostRenderMode as _0x54947a,ChartImageSourceType as _0x5516f3,ChartThemeService as _0x274d2d,ChartTypeBits as _0x240ffc,ChartWaterfallStyleTarget as _0x563997,DataOrientation as _0x469e35,EChartRenderEngineName as _0x223dba,IChartRenderModelManagerService as _0x127e53,ImageChartHost as _0x353b6b,PieSecondaryPlotType as _0x3862b3,RTLChartStyle as _0x3cc793,chartBitsUtils as _0x255937,chartImageSourceToDataUrl as _0x4d8890,chartTypeCanUseTrendLine as _0x424832,echarts as _0x31550f,registerWordCloudChart as _0xfba3fc,resolveChartRuntimeStyle as _0x24fc40,resolveChartStyleBackgroundColor as _0x15eac5,resolveDefaultChartHostFrameStyle as _0x1501c4}from'@univerjs-pro/engine-chart';import{insertGroupObject as _0x448638}from'@univerjs/drawing-ui';import{DRAWING_OBJECT_LAYER_INDEX as _0x2c5142,IRenderManagerService as _0xf835e7,ObjectType as _0x5c8946,RENDER_CLASS_TYPE as _0x80b0a2,Rect as _0x238021,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x29c8d5,Transform as _0x59dff8,UniverRenderEnginePlugin as _0x364117}from'@univerjs/engine-render';import{CHART_ELEMENT_FLOAT_MENU_COMPONENT as _0x28baa3,CHART_HOST_BORDER_RADIUS as _0x2ccc17,CHART_TYPE_CATALOG as _0x524b83,ChartAxisSection as _0xccd877,ChartCommonDataMappingSection as _0x35d650,ChartDomFrame as _0x4859f1,ChartEditBlockTitle as _0x84b2b8,ChartEditPanel as _0x2424c5,ChartEditPanelSection as _0x3c23c3,ChartEditPanelTab as _0x3b42b0,ChartEditPanelTabs as _0x49153f,ChartEditorCapability as _0x43169f,ChartEditorProvider as _0xf1436d,ChartElementFloatMenuAdapterRegistry as _0x542574,ChartFrameContentMode as _0xa6704b,ChartFrameLayout as _0x1400b0,ChartFunnelStyleSection as _0xbc3057,ChartGradientFillField as _0x2af025,ChartGridlinesAndTicksSection as _0x109817,ChartHeatmapStyleSection as _0x3c4227,ChartHostAdapter as _0x5ef80d,ChartIndicatorLineSection as _0xd2470d,ChartLegendSection as _0x458cad,ChartLineAndAreaSection as _0x4a4456,ChartNumberFormatAtom as _0x3102a0,ChartParetoSeriesSection as _0x37c56e,ChartPieStyleSection as _0x4e0d64,ChartRadarStyleSection as _0xb6967a,ChartRelationStyleSection as _0x43b985,ChartSectionAccordion as _0x575c48,ChartSectionAccordionContent as _0xa01ef5,ChartSectionAccordionItem as _0xeb30a0,ChartSectionAccordionTrigger as _0x2bd995,ChartSeriesSection as _0x3c165b,ChartStackField as _0x4ab927,ChartStyleSection as _0x581303,ChartThemeField as _0x456843,ChartTitlesSection as _0x1a4929,ChartTrendlineSection as _0x678707,ChartTypeField as _0x4d08fa,ChartTypeSpecificDataSection as _0x570a19,ChartTypeSpecificSetupSection as _0x14264b,ChartTypeSpecificStyleSection as _0x359faf,ChartUIService as _0x56b2af,ChartViewStateRegistry as _0x3bf128,ChartWaterfallSetupFields as _0x5770f4,ChartWaterfallStyleSection as _0x3fecf2,ChartWordCloudStyleSection as _0x516864,DEFAULT_CHART_AXIS_VALUES as _0x2feaa6,DEFAULT_CHART_FUNNEL_VALUES as _0x3fb233,DEFAULT_CHART_HEATMAP_VALUES as _0x98612d,DEFAULT_CHART_INDICATOR_LINE_VALUES as _0x4cf3b3,DEFAULT_CHART_LEGEND_VALUES as _0x19f7ca,DEFAULT_CHART_LINE_AND_AREA_VALUES as _0x19f7dc,DEFAULT_CHART_PARETO_VALUES as _0x4b5d06,DEFAULT_CHART_PIE_VALUES as _0x23c81f,DEFAULT_CHART_RADAR_VALUES as _0x2b90af,DEFAULT_CHART_RELATION_VALUES as _0xc75f7b,DEFAULT_CHART_SERIES_VALUES as _0x53676a,DEFAULT_CHART_STYLE_VALUES as _0x3498c5,DEFAULT_CHART_TITLE_VALUES as _0x4b2829,DEFAULT_CHART_TRENDLINE_VALUES as _0x2f622d,DEFAULT_CHART_WATERFALL_SETUP_VALUES as _0x1b0dd9,DEFAULT_CHART_WATERFALL_STYLE_VALUES as _0x46c2a2,DEFAULT_CHART_WORD_CLOUD_VALUES as _0x3af533,UniverChartUIPlugin as _0x34e502,buildChartTypeSelectOptions as _0x331b94,chartTypeSupportsCapability as _0x1d1e32,chartTypeSupportsLineAndAreaStyle as _0x131c61,createChartElementFloatMenuAdapter as _0x22ec99,resolveChartCreationIntent as _0x3586ff,resolveChartEditPanelRoute as _0x560369,resolveChartElementSelection as _0x335cad,useChartEditorChartType as _0x86f9d0,useChartEditorHasRightAxis as _0x53a80a}from'@univerjs-pro/chart-ui';import{CopySheetCommand as _0x2a62df,RemoveSheetCommand as _0x2cce8e,SheetInterceptorService as _0x11f0ef,SheetPermissionCheckController as _0x3cf479,SheetSkeletonService as _0x17d31b,SheetsSelectionsService as _0xde53d5,UniverSheetsPlugin as _0x53c22d,WorkbookEditablePermission as _0x227e27,WorksheetEditPermission as _0x4cbead,attachRangeWithCoord as _0x514a90,discreteRangeToRange as _0x48b088,getSheetCommandTarget as _0x241644}from'@univerjs/sheets';import{deserializeRangeWithSheet as _0x2aefeb,serializeRangeWithSheet as _0x3b62ae}from'@univerjs/engine-formula';import{useEffect as _0x3ee071,useMemo as _0x4b66e2,useState as _0x749001}from'react';import{Button as _0x3c6ee6}from'@univerjs/design';import{RangeSelector as _0x8f7d65}from'@univerjs/sheets-formula-ui';import{Fragment as _0x2bd778,jsx as _0x447924,jsxs as _0x4f508d}from'react/jsx-runtime';import{UniverLicensePlugin as _0x273b4b}from'@univerjs-pro/license';import{PenIcon as _0x1ade42}from'@univerjs/icons';const fr=_0x42a697(0x2da),pr={'enableChartElementFloatMenu':!0x0},mr={'type':_0x5004ac[_0x42a697(0x25c)],'id':'sheet.operation.hide-chart-panel','handler'(){return!0x0;}},V={'type':_0x5004ac[_0x42a697(0x25c)],'id':_0x42a697(0x2f0),'handler'(){return!0x0;}};function hr(_0x5ccaef,_0x433647=0x1){const _0x58742c=_0x42a697;return{'width':Math[_0x58742c(0x2fa)](_0x433647,_0x5ccaef['width']),'height':Math[_0x58742c(0x2fa)](_0x433647,_0x5ccaef[_0x58742c(0x20b)])};}function gr(_0x167d2f,_0x485f87={},_0x3997cc={'left':0x0,'top':0x0}){const _0x212c70=_0x42a697;let _0x10e52b=_0x485f87[_0x212c70(0x3c6)]??0x1,_0x185715=_0x485f87[_0x212c70(0x235)]??0x1,_0x2184d5=_0x1400b0['resolve']({'logicalOuterRect':{'left':-_0x3997cc['left'],'top':-_0x3997cc[_0x212c70(0x181)],...hr(_0x167d2f)},'scale':{'scaleX':_0x10e52b,'scaleY':_0x185715},'hostStyle':{},'contentMode':_0xa6704b[_0x212c70(0x17a)]});return{'left':_0x2184d5[_0x212c70(0x2e3)][_0x212c70(0x329)],'top':_0x2184d5[_0x212c70(0x2e3)][_0x212c70(0x181)],'width':_0x2184d5[_0x212c70(0x2e3)][_0x212c70(0x180)],'height':_0x2184d5[_0x212c70(0x2e3)][_0x212c70(0x20b)],'scaleX':_0x10e52b,'scaleY':_0x185715};}function H(_0x25106a){'@babel/helpers - typeof';const _0x562dc3=_0x42a697;return H=typeof Symbol=='function'&&typeof Symbol[_0x562dc3(0x170)]=='symbol'?function(_0x2f3b43){return typeof _0x2f3b43;}:function(_0x1d5014){const _0x4567f7=_0x562dc3;return _0x1d5014&&typeof Symbol==_0x4567f7(0x3b6)&&_0x1d5014['constructor']===Symbol&&_0x1d5014!==Symbol[_0x4567f7(0x3da)]?_0x4567f7(0x3b9):typeof _0x1d5014;},H(_0x25106a);}function _r(_0x7e6419,_0x3dd46a){const _0x43c868=_0x42a697;if(H(_0x7e6419)!=_0x43c868(0x351)||!_0x7e6419)return _0x7e6419;var _0x1c2e25=_0x7e6419[Symbol[_0x43c868(0x27c)]];if(_0x1c2e25!==void 0x0){var _0x1e8391=_0x1c2e25[_0x43c868(0x286)](_0x7e6419,_0x3dd46a||_0x43c868(0x233));if(H(_0x1e8391)!='object')return _0x1e8391;throw TypeError('@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.');}return(_0x3dd46a===_0x43c868(0x32c)?String:Number)(_0x7e6419);}function vr(_0x161076){const _0x29955c=_0x42a697;var _0x356c5b=_r(_0x161076,_0x29955c(0x32c));return H(_0x356c5b)==_0x29955c(0x3b9)?_0x356c5b:_0x356c5b+'';}function U(_0x182622,_0x547635,_0x3959b5){return(_0x547635=vr(_0x547635))in _0x182622?Object['defineProperty'](_0x182622,_0x547635,{'value':_0x3959b5,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x182622[_0x547635]=_0x3959b5,_0x182622;}function yr(_0x315603){const _0x50cf20=_0x42a697;switch(_0x315603['type']){case _0x5516f3[_0x50cf20(0x337)]:return _0x315603[_0x50cf20(0x357)];case _0x5516f3[_0x50cf20(0x18c)]:return _0x315603[_0x50cf20(0x394)];default:return;}}var br=class extends _0x238021{constructor(_0x3a7281,_0x44a787,_0x1e8fb5,_0x41aa10=()=>!0x1,_0x1c62c8=()=>{}){const _0xae593e=_0x42a697;super(_0x3a7281,{..._0x44a787,'evented':_0x44a787[_0xae593e(0x21e)]??!0x0}),this[_0xae593e(0x218)]=_0x1e8fb5,this[_0xae593e(0x176)]=_0x41aa10,this[_0xae593e(0x26a)]=_0x1c62c8,U(this,_0xae593e(0x1a1),null),U(this,_0xae593e(0x37a),null),this[_0xae593e(0x2e7)](_0x5c8946[_0xae593e(0x171)]);}['dispose'](){const _0x5bb8e7=_0x42a697;this[_0x5bb8e7(0x26a)](),super[_0x5bb8e7(0x1e4)]();}[_0x42a697(0x2cf)](_0x4fa703,_0x4429bc){const _0x848d9f=_0x42a697;if(!this['visible'])return this[_0x848d9f(0x1b1)](!0x1),this;if(!this[_0x848d9f(0x26f)])return this;let {width:_0x1d109b,height:_0x238fef,left:_0x5501ea,top:_0x5a5b14}=this[_0x848d9f(0x33e)]();if(this[_0x848d9f(0x2c6)](_0x4429bc)){let {top:_0x4d117f,left:_0x430d3d,bottom:_0x44494d,right:_0x2ba3b3}=_0x4429bc[_0x848d9f(0x334)];if(_0x1d109b+this[_0x848d9f(0x1e6)]+_0x5501ea<_0x430d3d||_0x2ba3b3<_0x5501ea||_0x238fef+this[_0x848d9f(0x1e6)]+_0x5a5b14<_0x4d117f||_0x44494d<_0x5a5b14)return this;}let _0x584a97=this[_0x848d9f(0x26f)][_0x848d9f(0x248)]();_0x4fa703['save']();let _0x1d60f6=_0x5501ea+_0x1d109b/0x2,_0x223fa8=_0x5a5b14+_0x238fef/0x2;return _0x4fa703[_0x848d9f(0x26f)](_0x584a97[0x0],_0x584a97[0x1],_0x584a97[0x2],_0x584a97[0x3],_0x1d60f6,_0x223fa8),this[_0x848d9f(0x2d6)]!==0x1&&(_0x4fa703[_0x848d9f(0x2dc)]=this['opacity']),this[_0x848d9f(0x178)](_0x4fa703,void 0x0,_0x1d109b,_0x238fef),_0x4fa703[_0x848d9f(0x2de)](),this[_0x848d9f(0x1b1)](!0x1),this;}['_draw'](_0x231258,_0x333ff7,_0x2aa905=this[_0x42a697(0x180)],_0x526de4=this[_0x42a697(0x20b)]){const _0x2dff65=_0x42a697;this[_0x2dff65(0x258)](_0x231258,_0x2aa905,_0x526de4,{'stroke':void 0x0,'strokeWidth':0x0}),this['_drawChartImage'](_0x231258,_0x2aa905,_0x526de4),this['_drawChartFrame'](_0x231258,_0x2aa905,_0x526de4,{'fill':void 0x0});}[_0x42a697(0x258)](_0x3284cd,_0x1525b0,_0x17f7d3,_0x4819e2){const _0x34d332=_0x42a697;_0x3284cd['save'](),_0x3284cd[_0x34d332(0x1f2)](-_0x1525b0/0x2,-_0x17f7d3/0x2),_0x238021[_0x34d332(0x39e)](_0x3284cd,xr(this,_0x1525b0,_0x17f7d3,_0x4819e2)),_0x3284cd['restore']();}['isHit'](_0x6dc869){const _0x42b15f=_0x42a697;let {left:_0x5d8a0e,top:_0x580b98,width:_0x45bf29,height:_0x40e033}=this[_0x42b15f(0x33e)](),_0x2ba5c5=_0x5d8a0e+_0x45bf29/0x2,_0x43e9f4=_0x580b98+_0x40e033/0x2,_0x277d0f=this[_0x42b15f(0x26f)][_0x42b15f(0x248)](),_0x34a0b6=new _0x59dff8([_0x277d0f[0x0],_0x277d0f[0x1],_0x277d0f[0x2],_0x277d0f[0x3],_0x2ba5c5,_0x43e9f4]),_0x2a3146=this['getParent'](),_0xa975c3=(this[_0x42b15f(0x2ec)]&&(_0x2a3146==null?void 0x0:_0x2a3146['classType'])===_0x80b0a2[_0x42b15f(0x2c3)]?_0x2a3146[_0x42b15f(0x366)]['multiply'](_0x34a0b6):_0x34a0b6)[_0x42b15f(0x200)]()[_0x42b15f(0x3b2)](_0x6dc869),_0x3f1354=_0x45bf29/0x2,_0x2f7bec=_0x40e033/0x2;return _0xa975c3['x']>=-_0x3f1354-this[_0x42b15f(0x1e6)]/0x2&&_0xa975c3['x']<=_0x3f1354+this[_0x42b15f(0x1e6)]/0x2&&_0xa975c3['y']>=-_0x2f7bec-this[_0x42b15f(0x1e6)]/0x2&&_0xa975c3['y']<=_0x2f7bec+this[_0x42b15f(0x1e6)]/0x2;}['_drawChartImage'](_0x399105,_0x556b18,_0x1d314c){const _0x2ecb3a=_0x42a697;if(this['_shouldSuppressSnapshot']())return;let _0x54f754=this[_0x2ecb3a(0x218)](),_0xbf721d=_0x54f754?this[_0x2ecb3a(0x297)](_0x54f754):void 0x0;if(!_0xbf721d)return;let {width:_0x40f2c5,height:_0x40fce2}=hr({'width':_0x556b18,'height':_0x1d314c},0x0);_0x40f2c5!==0x0&&_0x40fce2!==0x0&&(_0x399105[_0x2ecb3a(0x173)](),_0x399105[_0x2ecb3a(0x1f2)](-_0x556b18/0x2,-_0x1d314c/0x2),Sr(_0x399105,_0x40f2c5,_0x40fce2,this[_0x2ecb3a(0x363)]),_0x399105[_0x2ecb3a(0x23f)](),_0x399105[_0x2ecb3a(0x187)](_0xbf721d,0x0,0x0,_0x40f2c5,_0x40fce2),_0x399105[_0x2ecb3a(0x2de)]());}[_0x42a697(0x297)](_0x5b4701){const _0x26f339=_0x42a697;var _0x18a17e;let _0x441a30=yr(_0x5b4701);if(_0x441a30)return _0x441a30;if(_0x5b4701['type']===_0x5516f3['Url']&&(this[_0x26f339(0x37a)]!==_0x5b4701['url']&&(this['_url']=_0x5b4701[_0x26f339(0x1fd)],this[_0x26f339(0x1a1)]=document[_0x26f339(0x239)]('img'),this[_0x26f339(0x1a1)][_0x26f339(0x3ad)]=_0x26f339(0x260),this[_0x26f339(0x1a1)][_0x26f339(0x18f)]=()=>this[_0x26f339(0x1b1)](!0x0),this['_urlImage'][_0x26f339(0x237)]=_0x5b4701[_0x26f339(0x1fd)]),(_0x18a17e=this[_0x26f339(0x1a1)])!=null&&_0x18a17e[_0x26f339(0x358)]&&this[_0x26f339(0x1a1)][_0x26f339(0x287)]>0x0&&this[_0x26f339(0x1a1)][_0x26f339(0x1d6)]>0x0))return this[_0x26f339(0x1a1)];}};function xr(_0x3d236c,_0x9b26a0,_0x158de4,_0x427bfb){const _0x118e35=_0x42a697;let _0x29b295=Object[_0x118e35(0x396)](_0x3d236c);return Object[_0x118e35(0x3ef)](_0x29b295,'width',{'value':_0x9b26a0}),Object[_0x118e35(0x3ef)](_0x29b295,_0x118e35(0x20b),{'value':_0x158de4}),Object['keys'](_0x427bfb)['forEach'](_0x278ead=>{const _0x243178=_0x118e35;Object[_0x243178(0x3ef)](_0x29b295,_0x278ead,{'value':_0x427bfb[_0x278ead]});}),_0x29b295;}function Sr(_0x135b1f,_0x3d78b0,_0x3f319d,_0x11630a){const _0x2234ca=_0x42a697;let _0x89f266=Math['min'](_0x11630a||0x0,_0x3d78b0/0x2,_0x3f319d/0x2);if(_0x135b1f[_0x2234ca(0x1a8)](),!_0x89f266){_0x135b1f[_0x2234ca(0x3ee)](0x0,0x0,_0x3d78b0,_0x3f319d),_0x135b1f[_0x2234ca(0x280)]();return;}_0x135b1f[_0x2234ca(0x2b8)](_0x89f266,0x0),_0x135b1f[_0x2234ca(0x283)](_0x3d78b0-_0x89f266,0x0),_0x135b1f[_0x2234ca(0x246)](_0x3d78b0-_0x89f266,_0x89f266,_0x89f266,Math['PI']*0x3/0x2,0x0,!0x1),_0x135b1f[_0x2234ca(0x283)](_0x3d78b0,_0x3f319d-_0x89f266),_0x135b1f[_0x2234ca(0x246)](_0x3d78b0-_0x89f266,_0x3f319d-_0x89f266,_0x89f266,0x0,Math['PI']/0x2,!0x1),_0x135b1f[_0x2234ca(0x283)](_0x89f266,_0x3f319d),_0x135b1f[_0x2234ca(0x246)](_0x89f266,_0x3f319d-_0x89f266,_0x89f266,Math['PI']/0x2,Math['PI'],!0x1),_0x135b1f[_0x2234ca(0x283)](0x0,_0x89f266),_0x135b1f[_0x2234ca(0x246)](_0x89f266,_0x89f266,_0x89f266,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x135b1f['closePath']();}function W(_0x15954d){const _0x5ad93a=_0x42a697;(_0x15954d==null?void 0x0:_0x15954d[_0x5ad93a(0x232)])===_0x5516f3[_0x5ad93a(0x18c)]&&_0x15954d[_0x5ad93a(0x394)]['close']();}function G(_0x5dbb04){const _0x476c7f=_0x42a697;return _0x5dbb04['unitId']+_0x476c7f(0x37d)+_0x5dbb04['subUnitId']+_0x476c7f(0x37d)+_0x5dbb04[_0x476c7f(0x249)];}var Cr=class extends _0x306247{constructor(..._0x37875f){const _0x5baa88=_0x42a697;super(..._0x37875f),U(this,_0x5baa88(0x28d),new Map());}[_0x42a697(0x319)](_0x574b45){const _0x56d3ad=_0x42a697;let _0x51eaa3=G(_0x574b45),_0x3bcde4=this[_0x56d3ad(0x28d)][_0x56d3ad(0x33d)](_0x51eaa3)??{'version':0x0};return _0x3bcde4['version']+=0x1,this[_0x56d3ad(0x28d)]['set'](_0x51eaa3,_0x3bcde4),_0x3bcde4['version'];}[_0x42a697(0x1b7)](_0x358f19,_0x571cfd){const _0x250835=_0x42a697;var _0x30fec2;return((_0x30fec2=this[_0x250835(0x28d)][_0x250835(0x33d)](G(_0x358f19)))==null?void 0x0:_0x30fec2[_0x250835(0x251)])===_0x571cfd;}['setImage'](_0x8a6c31,_0x157228,_0x2a1c28){const _0x26bf5b=_0x42a697;if(!this[_0x26bf5b(0x1b7)](_0x8a6c31,_0x2a1c28))return W(_0x157228),!0x1;let _0x33abcb=G(_0x8a6c31),_0xec379c=this[_0x26bf5b(0x28d)][_0x26bf5b(0x33d)](_0x33abcb)??{'version':_0x2a1c28},_0x555fad=_0xec379c[_0x26bf5b(0x1d3)];return _0xec379c['image']=_0x157228,_0xec379c[_0x26bf5b(0x251)]=_0x2a1c28,this[_0x26bf5b(0x28d)][_0x26bf5b(0x19a)](_0x33abcb,_0xec379c),_0x555fad!==_0x157228&&W(_0x555fad),!0x0;}['getImage'](_0x3b2353){const _0x478a57=_0x42a697;var _0x37f679;return(_0x37f679=this[_0x478a57(0x28d)][_0x478a57(0x33d)](G(_0x3b2353)))==null?void 0x0:_0x37f679['image'];}[_0x42a697(0x3d9)](_0x62d09c){const _0xfdbd70=_0x42a697;let _0x17c7cd=G(_0x62d09c),_0x36f5e6=this['_entries']['get'](_0x17c7cd);_0x36f5e6&&(W(_0x36f5e6[_0xfdbd70(0x1d3)]),this[_0xfdbd70(0x28d)]['delete'](_0x17c7cd));}[_0x42a697(0x1d1)](_0x38f76e){const _0x3345ce=_0x42a697;for(let [_0x43fb35,_0x19ff98]of this[_0x3345ce(0x28d)])_0x43fb35['endsWith'](_0x3345ce(0x37d)+_0x38f76e)&&(W(_0x19ff98['image']),this[_0x3345ce(0x28d)]['delete'](_0x43fb35));}[_0x42a697(0x1e4)](){const _0x598756=_0x42a697;this[_0x598756(0x28d)]['forEach'](_0xc97d79=>W(_0xc97d79[_0x598756(0x1d3)])),this[_0x598756(0x28d)]['clear'](),super[_0x598756(0x1e4)]();}};function wr(_0x288b42,_0x30c4ac=0x7d0){let _0x475b05=null,_0x5becfd=null,_0x181a08=!0x1,_0x3bc148=()=>{},_0x504d61=()=>{_0x475b05!=null&&(clearInterval(_0x475b05),_0x475b05=null),_0x5becfd!=null&&(clearTimeout(_0x5becfd),_0x5becfd=null);};return{'promise':new Promise((_0xedaa4e,_0x4a4ef6)=>{_0x3bc148=_0x4a4ef6;let _0x231540=()=>{const _0x2783c1=_0x8d76;let _0x2bace0=document[_0x2783c1(0x22f)](_0x288b42);!_0x2bace0||_0x181a08||(_0x181a08=!0x0,_0x504d61(),_0xedaa4e(_0x2bace0));};_0x231540(),!_0x181a08&&(_0x475b05=setInterval(_0x231540,16.666666666666668),_0x5becfd=setTimeout(()=>{const _0x50512f=_0x8d76;_0x181a08||(_0x181a08=!0x0,_0x504d61(),_0x4a4ef6(Error(_0x50512f(0x373)+_0x288b42+'\x22.')));},_0x30c4ac));}),'cancel':()=>{_0x181a08||(_0x181a08=!0x0,_0x504d61(),_0x3bc148(Error('Canceled\x20waiting\x20for\x20float\x20dom\x20host\x20\x22'+_0x288b42+'\x22.')));}};}var Tr=class extends _0x306247{constructor(_0x27caaf,_0x3b86d4,_0x258e38,_0x5d834e,_0x17caa1,_0x4c3c26,_0xf551d8){const _0x39ca82=_0x42a697;super(),this[_0x39ca82(0x249)]=_0x27caaf,this['_getFloatDomInfo']=_0x3b86d4,this[_0x39ca82(0x3a8)]=_0x258e38,this['_setHostStyle']=_0x5d834e,this[_0x39ca82(0x26d)]=_0x17caa1,this[_0x39ca82(0x17b)]=_0x4c3c26,this[_0x39ca82(0x2e5)]=_0xf551d8,U(this,_0x39ca82(0x3be),_0x54947a[_0x39ca82(0x202)]),U(this,_0x39ca82(0x24d),null),U(this,_0x39ca82(0x32f),!0x1),U(this,_0x39ca82(0x17d),null),U(this,_0x39ca82(0x1b9),null),U(this,_0x39ca82(0x31a),null),U(this,'_hostStyle',{}),U(this,_0x39ca82(0x2d4),null);}[_0x42a697(0x379)](){const _0x264c69=_0x42a697;return this[_0x264c69(0x32f)];}[_0x42a697(0x3a0)](){this['_managed']=!0x1;}[_0x42a697(0x3e7)](){const _0x1529b1=_0x42a697;let _0x3387a2=this[_0x1529b1(0x3a8)]();return _0x3387a2?{'width':_0x3387a2[_0x1529b1(0x180)],'height':_0x3387a2[_0x1529b1(0x20b)]}:null;}[_0x42a697(0x225)](_0x50da73){const _0x51d58d=_0x42a697;this[_0x51d58d(0x345)]=_0x50da73,this['_setHostStyle'](_0x50da73),this[_0x51d58d(0x393)]();}async['ensureHandle'](){const _0xa33b3=_0x42a697;if(this[_0xa33b3(0x399)]||this[_0xa33b3(0x26d)]())throw Error('Fail\x20to\x20create\x20float\x20dom');let _0x30cabf=this[_0xa33b3(0x326)](),_0x34cb43=(_0x30cabf==null?void 0x0:_0x30cabf[_0xa33b3(0x2d5)])??this[_0xa33b3(0x249)],_0x2e6722=document[_0xa33b3(0x22f)](_0x34cb43);if(this[_0xa33b3(0x24d)]&&_0x2e6722!=null&&_0x2e6722['contains'](this[_0xa33b3(0x24d)][_0xa33b3(0x2ac)]))return{'mountNode':this['_domFrame'][_0xa33b3(0x2ac)],'dispose':()=>{const _0x5dd836=_0xa33b3;this['dispose'](),_0x30cabf==null||_0x30cabf[_0x5dd836(0x1e4)]['dispose']();}};if(this[_0xa33b3(0x1b9)])return this['_pendingHost'];let _0x1f51a2=this[_0xa33b3(0x253)]();return this['_pendingHost']=_0x1f51a2,_0x1f51a2[_0xa33b3(0x196)](()=>{const _0x3d2698=_0xa33b3;this[_0x3d2698(0x1b9)]===_0x1f51a2&&(this[_0x3d2698(0x1b9)]=null);},()=>{const _0x103613=_0xa33b3;this['_pendingHost']===_0x1f51a2&&(this[_0x103613(0x1b9)]=null);}),_0x1f51a2;}async[_0x42a697(0x3db)](){const _0x4bdfe9=_0x42a697;try{return(await this[_0x4bdfe9(0x311)]())[_0x4bdfe9(0x2ac)];}catch{return null;}}[_0x42a697(0x21c)](){const _0x260ba0=_0x42a697;let _0x1e02d3=this[_0x260ba0(0x326)](),_0x3dcc2f=(_0x1e02d3==null?void 0x0:_0x1e02d3['domId'])??this[_0x260ba0(0x249)],_0x351e9a=document[_0x260ba0(0x22f)](_0x3dcc2f);return!!(this['_domFrame']&&_0x351e9a!=null&&_0x351e9a[_0x260ba0(0x276)](this[_0x260ba0(0x24d)][_0x260ba0(0x2ac)]));}['syncLayout'](){const _0x2ed913=_0x42a697;if(!this[_0x2ed913(0x24d)])return;let _0x200947=this[_0x2ed913(0x3a8)]();_0x200947&&this[_0x2ed913(0x24d)][_0x2ed913(0x29f)](this[_0x2ed913(0x2ed)](_0x200947),this[_0x2ed913(0x21f)]());}['markReady'](){const _0x45559b=_0x42a697;this[_0x45559b(0x17b)]();}[_0x42a697(0x35f)](){const _0x501ae7=_0x42a697;this[_0x501ae7(0x2e5)]();}['dispose'](){const _0x3ed177=_0x42a697;var _0x20b827;this[_0x3ed177(0x399)]||(this[_0x3ed177(0x35f)](),this[_0x3ed177(0x17d)]=null,this['_pendingHost']=null,this[_0x3ed177(0x271)](),this[_0x3ed177(0x32f)]=!0x1,(_0x20b827=this['_domFrame'])==null||_0x20b827[_0x3ed177(0x1e4)](),this['_domFrame']=null,this['_restoreHostWrapper'](),super[_0x3ed177(0x1e4)]());}async['_createHost'](){const _0x5c1b7b=_0x42a697;let _0x4999b8=this[_0x5c1b7b(0x326)]();if(!_0x4999b8)throw Error('Fail\x20to\x20create\x20float\x20dom');let _0x52fc5b=_0x4999b8[_0x5c1b7b(0x2d5)]??this[_0x5c1b7b(0x249)],_0x2ed9aa=wr(_0x52fc5b),_0x413ae6=Symbol(this['chartId']);this[_0x5c1b7b(0x17d)]=_0x413ae6,this[_0x5c1b7b(0x31a)]=_0x2ed9aa;try{let _0x2e78ec=await _0x2ed9aa[_0x5c1b7b(0x3b8)],_0x1bb415=this[_0x5c1b7b(0x326)](),_0x34e3f9=(_0x1bb415==null?void 0x0:_0x1bb415[_0x5c1b7b(0x2d5)])??this[_0x5c1b7b(0x249)];if(this[_0x5c1b7b(0x399)]||this[_0x5c1b7b(0x26d)]()||this[_0x5c1b7b(0x17d)]!==_0x413ae6||!_0x1bb415||_0x34e3f9!==_0x52fc5b||document[_0x5c1b7b(0x22f)](_0x52fc5b)!==_0x2e78ec||!_0x2e78ec[_0x5c1b7b(0x38b)])throw Error(_0x5c1b7b(0x338));let _0x8716e0=this[_0x5c1b7b(0x3a8)]();if(!_0x8716e0)throw Error(_0x5c1b7b(0x338));let _0x43964a=new _0x4859f1(_0x2e78ec);return _0x43964a[_0x5c1b7b(0x29f)](this[_0x5c1b7b(0x2ed)](_0x8716e0),this['_frameStyle']()),this[_0x5c1b7b(0x2d8)](_0x2e78ec),this[_0x5c1b7b(0x24d)]=_0x43964a,this[_0x5c1b7b(0x1c6)](_0x1bb415[_0x5c1b7b(0x2e0)][_0x5c1b7b(0x2d9)](()=>this[_0x5c1b7b(0x1bd)]())),this[_0x5c1b7b(0x32f)]=!0x0,{'mountNode':_0x43964a[_0x5c1b7b(0x2ac)],'dispose':()=>{const _0x18ab88=_0x5c1b7b;this['dispose'](),_0x4999b8[_0x18ab88(0x1e4)]['dispose']();}};}finally{this[_0x5c1b7b(0x31a)]===_0x2ed9aa&&(this['_waiter']=null),this[_0x5c1b7b(0x17d)]===_0x413ae6&&(this[_0x5c1b7b(0x17d)]=null);}}[_0x42a697(0x271)](){const _0x542424=_0x42a697;let _0x22bccf=this[_0x542424(0x31a)];_0x22bccf&&(_0x22bccf[_0x542424(0x390)](),this[_0x542424(0x31a)]=null);}[_0x42a697(0x393)](){const _0x458dd4=_0x42a697;let _0x39abda=this['_getPlacement']();this[_0x458dd4(0x24d)]&&_0x39abda&&this['_domFrame'][_0x458dd4(0x29f)](this['_resolveLayout'](_0x39abda),this[_0x458dd4(0x21f)]());}[_0x42a697(0x2ed)](_0x1d175a){const _0x984582=_0x42a697;return _0x1400b0['resolve']({'logicalOuterRect':{'left':_0x1d175a[_0x984582(0x329)],'top':_0x1d175a[_0x984582(0x181)],'width':_0x1d175a['width'],'height':_0x1d175a['height']},'scale':{'scaleX':_0x1d175a[_0x984582(0x3c6)],'scaleY':_0x1d175a[_0x984582(0x235)]},'hostStyle':this[_0x984582(0x21f)](),'contentMode':_0xa6704b['Overlay']});}[_0x42a697(0x21f)](){const _0x2c74a1=_0x42a697;return{...this[_0x2c74a1(0x345)],'radius':_0x2ccc17};}['_activateHostWrapper'](_0x1d5a78){const _0xdcc03c=_0x42a697;let _0x38c86b=_0x1d5a78[_0xdcc03c(0x24e)];_0x38c86b&&(this['_savedWrapperStyle']||={'zIndex':_0x38c86b[_0xdcc03c(0x211)]['zIndex'],'pointerEvents':_0x38c86b[_0xdcc03c(0x211)][_0xdcc03c(0x290)]},_0x38c86b['style'][_0xdcc03c(0x39a)]='1000',_0x38c86b[_0xdcc03c(0x211)][_0xdcc03c(0x290)]=_0xdcc03c(0x2ff));}['_restoreHostWrapper'](){const _0x3538a6=_0x42a697;var _0x335834;if(!this[_0x3538a6(0x2d4)])return;let _0x286dec=this['_getFloatDomInfo'](),_0x5033ba=(_0x286dec==null?void 0x0:_0x286dec['domId'])??this[_0x3538a6(0x249)],_0x438b45=(_0x335834=document[_0x3538a6(0x22f)](_0x5033ba))==null?void 0x0:_0x335834[_0x3538a6(0x24e)];_0x438b45&&(_0x438b45[_0x3538a6(0x211)][_0x3538a6(0x39a)]=this['_savedWrapperStyle'][_0x3538a6(0x39a)],_0x438b45['style']['pointerEvents']=this[_0x3538a6(0x2d4)][_0x3538a6(0x290)]),this['_savedWrapperStyle']=null;}},Er=class extends _0x353b6b{constructor(_0xf17d8d,_0x5410c0,_0x537fa5,_0x1bbac5,_0x546155,_0x5d688e){const _0x279fe0=_0x42a697;super(_0xf17d8d),this['_getOuterRect']=_0x5410c0,this[_0x279fe0(0x333)]=_0x537fa5,this[_0x279fe0(0x3f0)]=_0x1bbac5,this[_0x279fe0(0x19d)]=_0x546155,this[_0x279fe0(0x22e)]=_0x5d688e;}[_0x42a697(0x3e7)](){const _0x4a469e=_0x42a697;let _0x5bca78=this[_0x4a469e(0x2d7)]();return _0x5bca78?hr(_0x5bca78):null;}[_0x42a697(0x225)](_0x5547c4){const _0x1165f3=_0x42a697;this[_0x1165f3(0x333)](_0x5547c4);}[_0x42a697(0x319)](){const _0x14465d=_0x42a697;return this[_0x14465d(0x19d)]['nextVersion'](this[_0x14465d(0x3f0)]);}[_0x42a697(0x2ab)](_0x266ca2,_0x441d88){const _0x479fe8=_0x42a697;return this[_0x479fe8(0x19d)]['setImage'](this[_0x479fe8(0x3f0)],_0x266ca2,_0x441d88);}[_0x42a697(0x270)](){const _0xf51557=_0x42a697;this[_0xf51557(0x22e)]();}['invalidateSnapshot'](){const _0x13de58=_0x42a697;this[_0x13de58(0x19d)][_0x13de58(0x319)](this[_0x13de58(0x3f0)]);}};function K(_0x209f49,_0x45a764){return function(_0x3bece9,_0x11c372){_0x45a764(_0x3bece9,_0x11c372,_0x209f49);};}function q(_0xa3bea5,_0x3dfcbb,_0x5bab36,_0x522438){const _0x599541=_0x42a697;var _0x47c733=arguments['length'],_0x29dc90=_0x47c733<0x3?_0x3dfcbb:_0x522438===null?_0x522438=Object[_0x599541(0x33f)](_0x3dfcbb,_0x5bab36):_0x522438,_0x17b608;if(typeof Reflect==_0x599541(0x351)&&typeof Reflect['decorate']==_0x599541(0x3b6))_0x29dc90=Reflect['decorate'](_0xa3bea5,_0x3dfcbb,_0x5bab36,_0x522438);else{for(var _0x48391f=_0xa3bea5[_0x599541(0x206)]-0x1;_0x48391f>=0x0;_0x48391f--)(_0x17b608=_0xa3bea5[_0x48391f])&&(_0x29dc90=(_0x47c733<0x3?_0x17b608(_0x29dc90):_0x47c733>0x3?_0x17b608(_0x3dfcbb,_0x5bab36,_0x29dc90):_0x17b608(_0x3dfcbb,_0x5bab36))||_0x29dc90);}return _0x47c733>0x3&&_0x29dc90&&Object[_0x599541(0x3ef)](_0x3dfcbb,_0x5bab36,_0x29dc90),_0x29dc90;}function Dr(_0x1dbb4b){const _0x2af6b0=_0x42a697;if(!Object[_0x2af6b0(0x3da)][_0x2af6b0(0x269)]['call'](_0x1dbb4b,_0x2af6b0(0x2cb)))return _0x1dbb4b;let {border:_0xbdc51,..._0x1ba26d}=_0x1dbb4b;return{..._0x1ba26d,'stroke':(_0xbdc51==null?void 0x0:_0xbdc51[_0x2af6b0(0x398)])??_0x2af6b0(0x370),'strokeWidth':(_0xbdc51==null?void 0x0:_0xbdc51['width'])??0x0};}let Or=class extends _0x306247{constructor(_0x3e17d9,_0x34422,_0x7cfeda,_0x3f48ca){const _0x1b0e53=_0x42a697;super(),this[_0x1b0e53(0x343)]=_0x3e17d9,this[_0x1b0e53(0x28e)]=_0x34422,this[_0x1b0e53(0x2e2)]=_0x7cfeda,this[_0x1b0e53(0x1c2)]=_0x3f48ca,U(this,_0x1b0e53(0x1db),new Map()),U(this,_0x1b0e53(0x1e5),new Set()),U(this,'_removeHost$',new _0x68b55a()),U(this,_0x1b0e53(0x278),this['_removeHost$'][_0x1b0e53(0x3a2)]()),this['disposeWithMe'](this[_0x1b0e53(0x343)][_0x1b0e53(0x1cc)][_0x1b0e53(0x2d9)](_0xe6d1e=>{const _0x42c678=_0x1b0e53;let _0x3565ec=this[_0x42c678(0x1db)][_0x42c678(0x33d)](_0xe6d1e['id']);_0x3565ec!=null&&_0x3565ec['isManaged']()&&(_0x3565ec['markUnmanaged'](),this[_0x42c678(0x33a)]['next'](_0xe6d1e['id']));}));}[_0x42a697(0x35c)](_0x14ddb5){const _0x379f9a=_0x42a697;if(_0x14ddb5==null)return;let _0x376f54=this['_renderManagerService']['getRenderUnitById'](_0x14ddb5),_0x477c23=_0x376f54==null?void 0x0:_0x376f54[_0x379f9a(0x37e)];return _0x376f54==null||_0x477c23==null?null:{'scene':_0x477c23,'transformer':_0x477c23[_0x379f9a(0x3d1)](),'renderUnit':_0x376f54,'canvas':_0x376f54[_0x379f9a(0x268)][_0x379f9a(0x2cd)]()};}[_0x42a697(0x27e)](_0x3008d3,_0x1b1781){const _0x2aaa33=_0x42a697;let _0x4b7352=this[_0x2aaa33(0x343)],_0x232b8f=_0x1b1781||'transparent',_0x46cc0d=_0x4b7352[_0x2aaa33(0x3b5)](_0x3008d3);if(_0x46cc0d){let {unitId:_0x23a227,subUnitId:_0x232e69}=_0x46cc0d;_0x4b7352[_0x2aaa33(0x3f2)](_0x23a227,_0x232e69,_0x3008d3,{'stroke':_0x232b8f});}}['setHostStyle'](_0x86cfce,_0x227d5b){const _0x53ca49=_0x42a697;let _0x55bd1d=this['_sheetCanvasFloatDomManagerService'],_0x34c2cb=_0x55bd1d[_0x53ca49(0x3b5)](_0x86cfce);if(_0x34c2cb){let {unitId:_0x203244,subUnitId:_0x5b3eea}=_0x34c2cb;_0x55bd1d['updateFloatDomProps'](_0x203244,_0x5b3eea,_0x86cfce,Dr(_0x227d5b));}}[_0x42a697(0x39c)](_0x34153a){const _0x131ba4=_0x42a697;let _0x234c5a=this[_0x131ba4(0x343)][_0x131ba4(0x3b5)](_0x34153a);return _0x234c5a?_0x234c5a['rect']:null;}[_0x42a697(0x2a3)](_0x272a44){const _0x273a00=_0x42a697;var _0x220915;return((_0x220915=this[_0x273a00(0x1db)][_0x273a00(0x33d)](_0x272a44))==null?void 0x0:_0x220915[_0x273a00(0x21c)]())??!0x1;}[_0x42a697(0x3a6)](_0x1eecd8){const _0x2ee489=_0x42a697;var _0x1d4ccd;(_0x1d4ccd=this[_0x2ee489(0x1db)][_0x2ee489(0x33d)](_0x1eecd8))==null||_0x1d4ccd[_0x2ee489(0x1bd)]();}[_0x42a697(0x28c)](_0x18bd24){const _0x58bd17=_0x42a697;let _0x22b449=this[_0x58bd17(0x1db)][_0x58bd17(0x33d)](_0x18bd24);_0x22b449==null||_0x22b449[_0x58bd17(0x1e4)](),this['_chartHostMap'][_0x58bd17(0x210)](_0x18bd24);}async[_0x42a697(0x3e0)](_0x3a52dc,_0x171d9b){const _0x2aaecf=_0x42a697;if(_0x171d9b===_0x54947a[_0x2aaecf(0x2f5)])return this[_0x2aaecf(0x3e3)](_0x3a52dc);if(_0x171d9b===_0x54947a['Dom'])return this[_0x2aaecf(0x3e9)](_0x3a52dc);let _0x495ab5=this[_0x2aaecf(0x3e9)](_0x3a52dc);if(!_0x495ab5)throw Error('Fail\x20to\x20create\x20float\x20dom');return _0x495ab5[_0x2aaecf(0x311)]();}[_0x42a697(0x2aa)](_0x6ef787){const _0x73bdf6=_0x42a697;return this[_0x73bdf6(0x1e5)][_0x73bdf6(0x3a1)](_0x6ef787);}[_0x42a697(0x2f7)](_0x14c30c){const _0x3d7e6e=_0x42a697;this[_0x3d7e6e(0x1e5)][_0x3d7e6e(0x210)](_0x14c30c)&&this[_0x3d7e6e(0x1c9)](_0x14c30c);}[_0x42a697(0x2c1)](_0x5a561e){const _0x1c0bf7=_0x42a697;let _0x5b5e7e=this[_0x1c0bf7(0x3de)](_0x5a561e);_0x5b5e7e&&this[_0x1c0bf7(0x2e2)][_0x1c0bf7(0x319)](_0x5b5e7e);}[_0x42a697(0x3e3)](_0x5f353c){const _0x3f4095=_0x42a697;let _0x2c95c0=this[_0x3f4095(0x3de)](_0x5f353c);return!_0x2c95c0||!this[_0x3f4095(0x39c)](_0x5f353c)?null:new Er(_0x5f353c,()=>this[_0x3f4095(0x39c)](_0x5f353c),_0x471a4c=>this[_0x3f4095(0x2e1)](_0x5f353c,_0x471a4c),_0x2c95c0,this[_0x3f4095(0x2e2)],()=>this[_0x3f4095(0x1c9)](_0x5f353c));}[_0x42a697(0x3e9)](_0x11c1c9){const _0x4bee7a=_0x42a697;if(!this['getHostSize'](_0x11c1c9))return null;this[_0x4bee7a(0x1c2)][_0x4bee7a(0x261)](_0x11c1c9,{'contentBox':{'wrapperInset':0x0,'contentInset':0x0}});let _0x3b3211=this['_chartHostMap']['get'](_0x11c1c9);if(_0x3b3211)return _0x3b3211;let _0x9b3f0e=new Tr(_0x11c1c9,()=>this[_0x4bee7a(0x343)]['getFloatDomInfo'](_0x11c1c9),()=>this[_0x4bee7a(0x17e)](_0x11c1c9),_0x100d97=>this[_0x4bee7a(0x2e1)](_0x11c1c9,_0x100d97),()=>this[_0x4bee7a(0x399)],()=>this[_0x4bee7a(0x1f8)](_0x11c1c9),()=>this['markHostNotReady'](_0x11c1c9));return this[_0x4bee7a(0x1db)][_0x4bee7a(0x19a)](_0x11c1c9,_0x9b3f0e),_0x9b3f0e;}[_0x42a697(0x1f8)](_0x498771){const _0x2900a4=_0x42a697;this[_0x2900a4(0x1e5)][_0x2900a4(0x3a1)](_0x498771)||(this[_0x2900a4(0x1e5)][_0x2900a4(0x245)](_0x498771),this[_0x2900a4(0x1c9)](_0x498771));}['_getChartSnapshotKey'](_0x4e4b16){const _0x1d8bd4=_0x42a697;let _0x5bcc0f=this[_0x1d8bd4(0x343)]['getFloatDomInfo'](_0x4e4b16);return _0x5bcc0f?{'unitId':_0x5bcc0f[_0x1d8bd4(0x201)],'subUnitId':_0x5bcc0f['subUnitId'],'chartId':_0x4e4b16}:null;}[_0x42a697(0x1c9)](_0x48031a){const _0x597109=_0x42a697;var _0x5e6f37,_0xade3b7,_0x59cf4b;let _0x523691=this[_0x597109(0x343)]['getFloatDomInfo'](_0x48031a);if(!_0x523691)return;let _0x4eeaa4=(_0x5e6f37=this['_renderManagerService'][_0x597109(0x3ec)](_0x523691[_0x597109(0x201)]))==null?void 0x0:_0x5e6f37[_0x597109(0x37e)],_0x494e27=(_0x4eeaa4==null||(_0xade3b7=_0x4eeaa4['getObjectIncludeInGroup'])==null?void 0x0:_0xade3b7[_0x597109(0x286)](_0x4eeaa4,_0x4a9fe4({'unitId':_0x523691['unitId'],'subUnitId':_0x523691['subUnitId'],'drawingId':_0x48031a})))??(_0x4eeaa4==null?void 0x0:_0x4eeaa4[_0x597109(0x2c4)](_0x4a9fe4({'unitId':_0x523691[_0x597109(0x201)],'subUnitId':_0x523691[_0x597109(0x267)],'drawingId':_0x48031a})))??null;_0x494e27==null||(_0x59cf4b=_0x494e27[_0x597109(0x1b1)])==null||_0x59cf4b[_0x597109(0x286)](_0x494e27,!0x0),_0x4eeaa4==null||_0x4eeaa4[_0x597109(0x1b1)](!0x0);}[_0x42a697(0x17e)](_0x12bd11){const _0x1ae272=_0x42a697;let _0x3fa8ca=this[_0x1ae272(0x343)][_0x1ae272(0x3b5)](_0x12bd11);if(!_0x3fa8ca)return null;let _0x23d5c9=this['_getSceneAndTransformerByDrawingSearch'](_0x3fa8ca[_0x1ae272(0x201)]),_0x187c12=_0x23d5c9==null?void 0x0:_0x23d5c9[_0x1ae272(0x37e)],_0x3d9f6a=document['getElementById'](_0x3fa8ca[_0x1ae272(0x2d5)]??_0x12bd11);return gr(_0x3fa8ca['rect'],{'scaleX':(_0x187c12==null?void 0x0:_0x187c12[_0x1ae272(0x3c6)])??0x1,'scaleY':(_0x187c12==null?void 0x0:_0x187c12[_0x1ae272(0x235)])??0x1},_0x3d9f6a?{'left':_0x3d9f6a[_0x1ae272(0x18e)],'top':_0x3d9f6a['offsetTop']}:void 0x0);}[_0x42a697(0x1e4)](){const _0x2a3c46=_0x42a697;this[_0x2a3c46(0x399)]||(this[_0x2a3c46(0x1db)][_0x2a3c46(0x1d2)](_0xf4b3bd=>_0xf4b3bd[_0x2a3c46(0x1e4)]()),this[_0x2a3c46(0x1db)][_0x2a3c46(0x3af)](),this['_activeDomReadyChartIds']['clear'](),this[_0x2a3c46(0x33a)][_0x2a3c46(0x358)](),super[_0x2a3c46(0x1e4)]());}};Or=q([K(0x0,_0x3c5f23(_0x463e32)),K(0x1,_0x3c5f23(_0xf835e7)),K(0x2,_0x3c5f23(Cr)),K(0x3,_0x3c5f23(_0x37bc3b))],Or);const kr=_0x10e12c(_0x42a697(0x1af)),J=_0x10e12c(_0x42a697(0x2af));let Ar=class extends _0x56b2af{constructor(_0x1a6577,_0x2e7479,_0x35b1c0,_0x1cf9fa,_0x25c8fd,_0xce2396){const _0x5f1336=_0x42a697;super(_0xce2396),this['_chartModelService']=_0x1a6577,this['_sheetsChartService']=_0x2e7479,this[_0x5f1336(0x2a7)]=_0x35b1c0,this[_0x5f1336(0x289)]=_0x1cf9fa,this[_0x5f1336(0x32e)]=_0x25c8fd,U(this,_0x5f1336(0x2b9),!0x1),U(this,_0x5f1336(0x36d),new _0x2b0349(null)),U(this,_0x5f1336(0x1ff),new _0x2b0349(null)),U(this,_0x5f1336(0x378),new _0x2b0349(null)),U(this,_0x5f1336(0x3cf),this[_0x5f1336(0x36d)][_0x5f1336(0x3a2)]()),U(this,_0x5f1336(0x3ba),this['_selectedElement$'][_0x5f1336(0x3a2)]()),U(this,_0x5f1336(0x323),this[_0x5f1336(0x378)]['asObservable']());}get[_0x42a697(0x226)](){const _0x5df33a=_0x42a697;return this[_0x5df33a(0x2a8)][_0x5df33a(0x259)]??null;}get[_0x42a697(0x259)](){const _0x5956a1=_0x42a697;return this[_0x5956a1(0x2a8)]['activeChartModel'];}get['activeChartModel$'](){const _0x57f4c7=_0x42a697;return this[_0x57f4c7(0x2a8)][_0x57f4c7(0x382)];}get[_0x42a697(0x2f1)](){const _0x1fbf48=_0x42a697;return this['_activeEditChart$'][_0x1fbf48(0x298)]();}get[_0x42a697(0x25e)](){const _0x329a2e=_0x42a697;return this['_localeService'][_0x329a2e(0x25e)];}get[_0x42a697(0x356)](){const _0x341b46=_0x42a697;return this[_0x341b46(0x2b9)];}[_0x42a697(0x26c)](_0x3f1d93){const _0x36b126=_0x42a697;this[_0x36b126(0x2b9)]=_0x3f1d93;}[_0x42a697(0x367)](_0x3eae44){const _0x700c61=_0x42a697;this['_activeEditChart$'][_0x700c61(0x298)]()!==_0x3eae44&&this[_0x700c61(0x36d)][_0x700c61(0x35b)](_0x3eae44);}[_0x42a697(0x381)](_0x3ee2f4){const _0x987c67=_0x42a697;return this[_0x987c67(0x2f1)]===_0x3ee2f4;}[_0x42a697(0x2ce)](_0x385830){const _0x387207=_0x42a697;this[_0x387207(0x1ff)]['next'](_0x385830);}[_0x42a697(0x331)](_0x2d0381,_0xe039f){const _0x3aa43e=_0x42a697;this[_0x3aa43e(0x378)]['next']({'chartId':_0x2d0381,'route':_0xe039f});}[_0x42a697(0x28a)](){const _0x3608a2=_0x42a697;this[_0x3608a2(0x378)][_0x3608a2(0x35b)](null);}['setDataRange'](_0x49ab55){const _0x438604=_0x42a697;let _0x5c82ad=this[_0x438604(0x259)];_0x5c82ad&&this['_executeChartUpdateSourceConfig']({'chartModelId':_0x5c82ad['id'],'range':_0x49ab55});}[_0x42a697(0x1a9)](_0x1c581c){const _0x3270a8=_0x42a697;var _0x5a8b2d;let _0x36c811=this[_0x3270a8(0x259)];if(!_0x36c811)return;let _0x3955d5=(_0x5a8b2d=this['_sheetsChartService'][_0x3270a8(0x387)](_0x36c811['id']))==null?void 0x0:_0x5a8b2d['getRangeInfo']();if(!_0x3955d5)return;let _0x12de5d={..._0x3955d5,'isRowDirection':_0x1c581c===_0x469e35[_0x3270a8(0x3eb)]};this[_0x3270a8(0x3ce)]({'chartModelId':_0x36c811['id'],'range':_0x12de5d});}['executeChartUpdateConfig'](_0x5e5fcc){const _0x52fc88=_0x42a697;var _0x2d7b08;this['_commandService']['executeCommand'](_0x376d77['id'],{..._0x5e5fcc,'unitId':((_0x2d7b08=this['_univerInstanceService'][_0x52fc88(0x1d5)]())==null?void 0x0:_0x2d7b08['getUnitId']())??''});}['_executeChartUpdateSourceConfig'](_0x118aac){const _0x4aa2e9=_0x42a697;var _0x170389;this['_commandService'][_0x4aa2e9(0x312)](_0x2c914e['id'],{..._0x118aac,'unitId':((_0x170389=this[_0x4aa2e9(0x32e)][_0x4aa2e9(0x1d5)]())==null?void 0x0:_0x170389[_0x4aa2e9(0x193)]())??''});}[_0x42a697(0x1e4)](){const _0x3dddbb=_0x42a697;this[_0x3dddbb(0x36d)]['complete'](),this[_0x3dddbb(0x1ff)][_0x3dddbb(0x358)](),this[_0x3dddbb(0x378)]['complete'](),super['dispose']();}};Ar=q([K(0x0,_0x3c5f23(_0x3db1ab)),K(0x1,_0x3c5f23(_0x4ce731)),K(0x2,_0x5e196b),K(0x3,_0x3c5f23(_0xd5d68c)),K(0x4,_0x39f3aa),K(0x5,_0x3c5f23(_0x3bf128))],Ar);const jr=_0xb0238[_0x42a697(0x2f5)];var Mr=class extends _0x353b6b{constructor(_0x131f4f,_0x5a8f28){const _0x483797=_0x42a697;super(_0x131f4f),this[_0x483797(0x216)]=_0x5a8f28,U(this,_0x483797(0x179),0x0),U(this,'_image',void 0x0),U(this,'style',{});}[_0x42a697(0x3e7)](){const _0x46ef97=_0x42a697;return this[_0x46ef97(0x216)];}[_0x42a697(0x225)](_0x970e53){const _0x348eee=_0x42a697;this[_0x348eee(0x211)]=_0x970e53;}['nextVersion'](){return++this['_version'];}[_0x42a697(0x2ab)](_0x1e02e8,_0x1cfc98){const _0x234d93=_0x42a697;return _0x1cfc98===this['_version']?(W(this[_0x234d93(0x2f6)]),this[_0x234d93(0x2f6)]=_0x1e02e8,!0x0):(W(_0x1e02e8),!0x1);}[_0x42a697(0x270)](){}[_0x42a697(0x2c1)](){this['_version']+=0x1;}[_0x42a697(0x350)](){const _0x391e5f=_0x42a697;let _0x46af61=this[_0x391e5f(0x2f6)];return this[_0x391e5f(0x2f6)]=void 0x0,_0x46af61;}[_0x42a697(0x1e4)](){const _0x579173=_0x42a697;W(this['_image']),this[_0x579173(0x2f6)]=void 0x0,super['dispose']();}};function Nr(_0x27206a,_0x4e441e,_0x3f778d){const _0x381f0f=_0x42a697;let _0x351a05=_0x27206a[_0x381f0f(0x3e1)](_0x4e441e);return _0x24fc40({..._0x27206a[_0x381f0f(0x211)],'runtime':{..._0x351a05,'layoutInset':0x8,..._0x3f778d===void 0x0?{}:{'addWatermark':_0x3f778d}},'direction':_0x4e441e},_0x27206a[_0x381f0f(0x2a2)]);}let Y=class extends _0x306247{constructor(_0x30623b,_0x12ffa0,_0x1a6d32,_0x2af0c4,_0x3c8e60,_0x4516a0,_0x129338,_0x583f3a,_0x14cadb,_0x5b4bcf,_0x5965b7,_0x4079a2,_0x50bba1,_0x13067b){const _0x48d657=_0x42a697;super(),this[_0x48d657(0x1ce)]=_0x30623b,this[_0x48d657(0x343)]=_0x12ffa0,this[_0x48d657(0x2a8)]=_0x1a6d32,this[_0x48d657(0x1f1)]=_0x2af0c4,this['_univerInstanceService']=_0x3c8e60,this[_0x48d657(0x28e)]=_0x4516a0,this[_0x48d657(0x289)]=_0x129338,this[_0x48d657(0x368)]=_0x583f3a,this[_0x48d657(0x2e4)]=_0x14cadb,this[_0x48d657(0x281)]=_0x5b4bcf,this[_0x48d657(0x219)]=_0x5965b7,this[_0x48d657(0x1f5)]=_0x4079a2,this['_chartSnapshotStoreService']=_0x50bba1,this[_0x48d657(0x35d)]=_0x13067b,U(this,_0x48d657(0x3b0),new Map()),U(this,_0x48d657(0x3cc),new Map()),U(this,'_chartEventSubscriptions',new Map()),U(this,_0x48d657(0x185),new Map()),U(this,_0x48d657(0x300),new Map()),U(this,_0x48d657(0x292),new Map()),U(this,_0x48d657(0x386),void 0x0),U(this,_0x48d657(0x321),void 0x0),U(this,_0x48d657(0x288),new Map()),U(this,_0x48d657(0x3aa),null),U(this,_0x48d657(0x3df),null);let _0x19d6cf=_0x4c7049(this[_0x48d657(0x2e4)]),_0xc63393=this[_0x48d657(0x1f5)]['getConfig'](_0x1eb9cf);this['_chartRenderMode']=(_0xc63393==null?void 0x0:_0xc63393[_0x48d657(0x1bc)])??jr,this[_0x48d657(0x321)]=_0x19d6cf['length']!==0x1||_0x19d6cf[0x0]!==_0x48d657(0x303),this['_registerChartImageRenderObjectFactory'](),this['_initActiveChartModelListener'](),this[_0x48d657(0x296)](),this[_0x48d657(0x19c)](),this[_0x48d657(0x2ea)]();}[_0x42a697(0x238)](_0x3bfeb6){const _0x255b1a=_0x42a697;let _0x59c56b=this[_0x255b1a(0x3de)](_0x3bfeb6);return _0x59c56b?this['_chartSnapshotStoreService'][_0x255b1a(0x1a4)](_0x59c56b):void 0x0;}[_0x42a697(0x1eb)](_0x5ada7d){const _0x17315e=_0x42a697;var _0x4f38fe;return((_0x4f38fe=this[_0x17315e(0x2a8)][_0x17315e(0x259)])==null?void 0x0:_0x4f38fe['id'])===_0x5ada7d?_0xb0238[_0x17315e(0x202)]:this['_chartRenderMode'];}[_0x42a697(0x3de)](_0x14fecc){const _0x4bf002=_0x42a697;let _0x583470=this[_0x4bf002(0x343)][_0x4bf002(0x3b5)](_0x14fecc);return _0x583470?{'unitId':_0x583470[_0x4bf002(0x201)],'subUnitId':_0x583470[_0x4bf002(0x267)],'chartId':_0x14fecc}:null;}[_0x42a697(0x3c1)](){const _0x436561=_0x42a697;this['_chartRenderMode']===_0xb0238[_0x436561(0x2f5)]&&this[_0x436561(0x1c6)](this[_0x436561(0x343)][_0x436561(0x344)](_0x4cd99f[_0x436561(0x3b1)],({key:_0x3ae14a,config:_0x4cd773,unitId:_0x39fbf5,subUnitId:_0x19e5cc,drawingId:_0x38d39a})=>new br(_0x3ae14a,_0x4cd773,()=>this[_0x436561(0x2e2)][_0x436561(0x1a4)]({'unitId':_0x39fbf5,'subUnitId':_0x19e5cc,'chartId':_0x38d39a}),()=>this[_0x436561(0x1ce)]['isDomReady'](_0x38d39a))));}[_0x42a697(0x3f1)](){const _0x521dfc=_0x42a697;this['disposeWithMe'](this['_chartModelService'][_0x521dfc(0x382)][_0x521dfc(0x2d9)](_0x363e10=>{const _0xa58f05=_0x521dfc;let _0x3fce2b=(_0x363e10==null?void 0x0:_0x363e10['id'])??null,_0x26d158=this[_0xa58f05(0x3aa)];_0x26d158!==_0x3fce2b&&(_0x26d158&&(this[_0xa58f05(0x1ce)][_0xa58f05(0x2f7)](_0x26d158),this[_0xa58f05(0x1e8)](_0x26d158),this[_0xa58f05(0x25d)](_0x26d158),this[_0xa58f05(0x175)](_0x26d158)),this[_0xa58f05(0x3aa)]=_0x3fce2b,_0x3fce2b&&(this[_0xa58f05(0x1ce)]['markHostNotReady'](_0x3fce2b),this[_0xa58f05(0x215)](_0x3fce2b),this['_rerenderLatest'](_0x3fce2b)));}));}[_0x42a697(0x296)](){const _0x483c6=_0x42a697;this[_0x483c6(0x1c6)](this[_0x483c6(0x1f1)][_0x483c6(0x3e4)][_0x483c6(0x2d9)](_0x2b58b9=>{const _0x1d4144=_0x483c6;var _0x22aa9f;let _0x388072=(_0x22aa9f=this[_0x1d4144(0x2a8)]['activeChartModel'])==null?void 0x0:_0x22aa9f['id'];_0x388072&&_0x2b58b9[_0x1d4144(0x1b8)](_0x322572=>_0x322572['children']['some'](_0x50c233=>_0x50c233[_0x1d4144(0x2ae)]===_0x388072))&&this['_chartModelService'][_0x1d4144(0x302)](null);})),this['disposeWithMe'](this[_0x483c6(0x1f1)][_0x483c6(0x346)][_0x483c6(0x2d9)](_0x590aab=>{const _0x305ee2=_0x483c6;var _0x24d120;let _0xfccee6=(_0x24d120=this[_0x305ee2(0x2a8)][_0x305ee2(0x259)])==null?void 0x0:_0x24d120['id'];_0xfccee6&&_0x590aab[_0x305ee2(0x1b8)](_0x52bbda=>_0x52bbda[_0x305ee2(0x2a9)][_0x305ee2(0x2ae)]===_0xfccee6||_0x52bbda[_0x305ee2(0x349)][_0x305ee2(0x1b8)](_0x2d9483=>_0x2d9483['drawingId']===_0xfccee6))&&this['_chartModelService'][_0x305ee2(0x302)](null);}));}[_0x42a697(0x19c)](){const _0x57bfb1=_0x42a697;this[_0x57bfb1(0x1c6)](this[_0x57bfb1(0x1f1)][_0x57bfb1(0x305)][_0x57bfb1(0x2d9)](_0x397e73=>{const _0x250864=_0x57bfb1;var _0xf69f6;let _0x356085=(_0xf69f6=this['_chartModelService']['activeChartModel'])==null?void 0x0:_0xf69f6['id'];if(!_0x356085){_0x397e73[_0x250864(0x3e2)][_0x250864(0x1d2)](_0x2da3da=>{const _0x1af742=_0x250864;this[_0x1af742(0x2a8)][_0x1af742(0x18d)](_0x2da3da)&&this[_0x1af742(0x1e8)](_0x2da3da);});return;}let _0x4bf193=this[_0x250864(0x343)][_0x250864(0x3b5)](_0x356085);(_0x4bf193==null?void 0x0:_0x4bf193[_0x250864(0x201)])===_0x397e73[_0x250864(0x201)]&&_0x4bf193[_0x250864(0x267)]===_0x397e73['subUnitId']&&this[_0x250864(0x215)](_0x356085);})),this[_0x57bfb1(0x1c6)](this['_drawingManagerService']['add$'][_0x57bfb1(0x2d9)](_0x188896=>{const _0x545933=_0x57bfb1;var _0x4f67a9;let _0xb35c27=(_0x4f67a9=this[_0x545933(0x2a8)]['activeChartModel'])==null?void 0x0:_0x4f67a9['id'];if(!_0xb35c27)return;let _0x20d1e7=this[_0x545933(0x343)]['getFloatDomInfo'](_0xb35c27);_0x20d1e7&&_0x188896['some'](_0x63051b=>_0x63051b[_0x545933(0x201)]===_0x20d1e7[_0x545933(0x201)]&&_0x63051b[_0x545933(0x267)]===_0x20d1e7[_0x545933(0x267)])&&this[_0x545933(0x215)](_0xb35c27);})),this[_0x57bfb1(0x1c6)](this['_chartModelService'][_0x57bfb1(0x1da)][_0x57bfb1(0x2d9)](_0x5a523e=>{const _0x280464=_0x57bfb1;var _0x48e183;this[_0x280464(0x288)]['delete'](_0x5a523e),this[_0x280464(0x2e2)][_0x280464(0x1d1)](_0x5a523e),this[_0x280464(0x364)](_0x5a523e),this['_chartHostProvider'][_0x280464(0x2f7)](_0x5a523e),((_0x48e183=this[_0x280464(0x2a8)][_0x280464(0x259)])==null?void 0x0:_0x48e183['id'])===_0x5a523e?this[_0x280464(0x2a8)][_0x280464(0x302)](null):this['_resetChartRuntimeZIndex'](_0x5a523e),this['_disposeChartRenderInstance'](_0x5a523e);}));}[_0x42a697(0x175)](_0x4f134f){const _0x4a4c9c=_0x42a697;let _0x54a052=this[_0x4a4c9c(0x288)]['get'](_0x4f134f);_0x54a052&&this[_0x4a4c9c(0x2cf)](_0x4f134f,_0x54a052[_0x4a4c9c(0x2e6)],_0x54a052[_0x4a4c9c(0x211)]);}[_0x42a697(0x25d)](_0x5c1cb8){const _0x58d5b2=_0x42a697;let _0x26150b=this[_0x58d5b2(0x3b0)]['get'](_0x5c1cb8);(_0x26150b==null?void 0x0:_0x26150b['mode'])===_0x58d5b2(0x3e8)&&(this[_0x58d5b2(0x1e0)](_0x5c1cb8),_0x26150b[_0x58d5b2(0x1e4)](),this['_chartInstanceMap']['delete'](_0x5c1cb8)),this[_0x58d5b2(0x1ce)][_0x58d5b2(0x2f7)](_0x5c1cb8),this['_chartHostProvider'][_0x58d5b2(0x28c)](_0x5c1cb8);}[_0x42a697(0x306)](_0x17e508){const _0x47eedb=_0x42a697;let _0x48826d=this[_0x47eedb(0x3b0)][_0x47eedb(0x33d)](_0x17e508);_0x48826d&&(this[_0x47eedb(0x1e0)](_0x17e508),_0x48826d[_0x47eedb(0x1e4)](),this[_0x47eedb(0x3b0)][_0x47eedb(0x210)](_0x17e508)),this['_chartHostProvider']['markHostNotReady'](_0x17e508),this['_chartHostProvider']['removeHost'](_0x17e508);}[_0x42a697(0x364)](_0x52ab1d){const _0x39b02a=_0x42a697;var _0x50a79b,_0x1971e2;(_0x50a79b=this['_renderModelManager']['getRenderModel'](_0x223dba))==null||(_0x1971e2=_0x50a79b[_0x39b02a(0x221)])==null||_0x1971e2[_0x39b02a(0x286)](_0x50a79b,_0x52ab1d);}['_clearSheetChartRuntimeCaches'](_0x424ebd,_0x19c339){const _0xcba52e=_0x42a697;let _0x9cb82b=this[_0xcba52e(0x1f1)][_0xcba52e(0x327)](_0x424ebd,_0x19c339);Object[_0xcba52e(0x3ab)](_0x9cb82b??{})[_0xcba52e(0x1d2)](_0x3859ad=>{const _0x5c8cc1=_0xcba52e;_0x3859ad[_0x5c8cc1(0x341)]===_0x4cd99f['DRAWING_CHART']&&this[_0x5c8cc1(0x364)](_0x3859ad[_0x5c8cc1(0x2ae)]);});}['_getChartRenderObject'](_0x3d371b,_0x57e095){const _0x41ae4e=_0x42a697;var _0x179894;return((_0x179894=_0x3d371b['getObjectIncludeInGroup'])==null?void 0x0:_0x179894[_0x41ae4e(0x286)](_0x3d371b,_0x57e095))??_0x3d371b['getObject'](_0x57e095)??null;}[_0x42a697(0x1dd)](_0x52108a){const _0x8a790e=_0x42a697;var _0x57abc2;let _0x16c469=this[_0x8a790e(0x343)][_0x8a790e(0x3b5)](_0x52108a);if(!_0x16c469)return null;let _0x5d3754=(_0x57abc2=this[_0x8a790e(0x28e)][_0x8a790e(0x3ec)](_0x16c469['unitId']))==null?void 0x0:_0x57abc2[_0x8a790e(0x37e)];if(!_0x5d3754)return null;let _0xddd031=this[_0x8a790e(0x242)](_0x5d3754,_0x4a9fe4({'unitId':_0x16c469['unitId'],'subUnitId':_0x16c469['subUnitId'],'drawingId':_0x52108a}));return _0xddd031?{'info':_0x16c469,'scene':_0x5d3754,'chartObject':_0xddd031}:null;}['_setChartRuntimeZIndex'](_0x5386b8,_0x5a069d){const _0x417a95=_0x42a697;var _0x8ac42f,_0x33df7e,_0x383dfb,_0x2d4d5d;let _0x332d0a=this[_0x417a95(0x1dd)](_0x5386b8);_0x332d0a&&((_0x8ac42f=(_0x33df7e=_0x332d0a[_0x417a95(0x375)])[_0x417a95(0x16f)])==null||_0x8ac42f[_0x417a95(0x286)](_0x33df7e,{'zIndex':_0x5a069d}),(_0x383dfb=(_0x2d4d5d=_0x332d0a[_0x417a95(0x375)])[_0x417a95(0x1b1)])==null||_0x383dfb[_0x417a95(0x286)](_0x2d4d5d,!0x0),_0x332d0a[_0x417a95(0x37e)][_0x417a95(0x1b1)](!0x0));}['_applyActiveChartRuntimeZIndex'](_0x331cdb){const _0x499301=_0x42a697;let _0x440025=this[_0x499301(0x343)][_0x499301(0x3b5)](_0x331cdb);if(!_0x440025)return;let _0xdc123b=this[_0x499301(0x1f1)]['getDrawingOrder'](_0x440025[_0x499301(0x201)],_0x440025[_0x499301(0x267)]);this[_0x499301(0x2b4)](_0x331cdb,_0xdc123b[_0x499301(0x206)]);}['_resetChartRuntimeZIndex'](_0x3352c4){const _0x3604d4=_0x42a697;let _0x311839=this[_0x3604d4(0x343)]['getFloatDomInfo'](_0x3352c4);if(!_0x311839)return;let _0x4bfcd4=this[_0x3604d4(0x1f1)][_0x3604d4(0x17f)](_0x311839[_0x3604d4(0x201)],_0x311839[_0x3604d4(0x267)]),_0x586a20=_0x4bfcd4[_0x3604d4(0x360)](_0x3352c4);this[_0x3604d4(0x2b4)](_0x3352c4,_0x586a20===-0x1?Math[_0x3604d4(0x2fa)](_0x4bfcd4[_0x3604d4(0x206)]-0x1,0x0):_0x586a20);}[_0x42a697(0x3f4)](_0x363e1a,_0x216696){const _0x3a8085=_0x42a697;let _0x5e7920=this[_0x3a8085(0x343)][_0x3a8085(0x3b5)](_0x363e1a);if(_0x216696[_0x3a8085(0x180)]!==void 0x0&&_0x216696[_0x3a8085(0x20b)]!==void 0x0&&_0x5e7920){var _0x3f1756;let {subUnitId:_0x451f3e}=_0x5e7920,_0x371222=(_0x3f1756=this[_0x3a8085(0x32e)][_0x3a8085(0x339)](_0x351816['UNIVER_SHEET']))==null?void 0x0:_0x3f1756['getActiveSheet']();if((_0x371222==null?void 0x0:_0x371222[_0x3a8085(0x1ec)]())===_0x451f3e){let {width:_0x43d2a3,height:_0x26e16d}=_0x216696,_0x42aa7f=this[_0x3a8085(0x2a8)][_0x3a8085(0x18d)](_0x363e1a),_0x26be6f=_0x42aa7f==null?void 0x0:_0x42aa7f['style'];if(Math[_0x3a8085(0x230)](_0x43d2a3-((_0x26be6f==null?void 0x0:_0x26be6f['width'])||0x0))>0x1||Math[_0x3a8085(0x230)](_0x26e16d-((_0x26be6f==null?void 0x0:_0x26be6f['height'])||0x0))>0x1){_0x42aa7f==null||_0x42aa7f['assignStyle']({..._0x26be6f,'width':_0x43d2a3,'height':_0x26e16d});let _0x51d83f=this[_0x3a8085(0x3b0)]['get'](_0x363e1a);_0x51d83f&&(this['_chartHostProvider'][_0x3a8085(0x3a6)](_0x363e1a),_0x51d83f[_0x3a8085(0x31d)]());}}}}[_0x42a697(0x1c5)](_0x476c53,_0x2bcca5,_0xa9f03b=0x0){const _0x467b76=_0x42a697;let _0x2f8d62=this[_0x467b76(0x292)][_0x467b76(0x33d)](_0x476c53);_0x2f8d62||(_0x2f8d62=_0x23b2a1(_0x17dcf1=>{const _0x3e7c62=_0x467b76;this[_0x3e7c62(0x3f4)](_0x476c53,_0x17dcf1);},_0xa9f03b),this['_debounceHandleMap']['set'](_0x476c53,_0x2f8d62)),_0x2f8d62(_0x2bcca5);}[_0x42a697(0x2ea)](){const _0xb6de38=_0x42a697;let _0x1bc60e=this[_0xb6de38(0x300)],_0x20f2be=_0x116a81=>{const _0x4b7f55=_0xb6de38;if(!_0x1bc60e[_0x4b7f55(0x3a1)](_0x116a81)){let _0x4ec48f=_0x23b2a1((_0xfdce18,_0x115bfa,_0x2fa745,_0x3815e6)=>{const _0x31d39b=_0x4b7f55;var _0x3b0995,_0x436d61;if(!_0x2fa745)return;(_0x3b0995=_0x2fa745[_0x31d39b(0x315)])==null||_0x3b0995['items']['forEach']((_0x5d9dd0,_0x589894)=>{const _0x500361=_0x31d39b;_0x5d9dd0[_0x500361(0x279)]||=this[_0x500361(0x289)]['t'](_0x500361(0x20e))+'\x20'+(_0x589894+0x1);}),_0x2fa745['series']['forEach']((_0x2cdb44,_0x21e203)=>{const _0x2463b4=_0x31d39b;_0x2cdb44[_0x2463b4(0x3b4)]||=this['_localeService']['t'](_0x2463b4(0x1a0))+'\x20'+(_0x21e203+0x1);});let _0xe43122=this[_0x31d39b(0x353)](_0xfdce18,_0x3815e6),_0x4cbfea=(_0x436d61=this[_0x31d39b(0x32e)]['getCurrentUnitOfType'](_0x351816['UNIVER_SHEET']))==null?void 0x0:_0x436d61[_0x31d39b(0x241)]();(_0x4cbfea==null?void 0x0:_0x4cbfea[_0x31d39b(0x1ec)]())===_0x115bfa&&this[_0x31d39b(0x2cf)](_0xfdce18['id'],_0x2fa745,_0xe43122);},0x11);_0x1bc60e[_0x4b7f55(0x19a)](_0x116a81,_0x4ec48f);}return _0x1bc60e[_0x4b7f55(0x33d)](_0x116a81);};this[_0xb6de38(0x1c6)](this[_0xb6de38(0x32e)]['focused$'][_0xb6de38(0x2d9)](_0x5a0ac3=>{const _0x3a45f4=_0xb6de38;let _0x5097bf=this[_0x3a45f4(0x32e)][_0x3a45f4(0x339)](_0x351816['UNIVER_SHEET']);if(_0x5a0ac3&&_0x5097bf&&_0x5097bf['getUnitId']()===_0x5a0ac3){var _0x4fb2a4;let _0x227a40=_0x5097bf['getActiveSheet']()[_0x3a45f4(0x1ec)]();this[_0x3a45f4(0x3df)]&&(this[_0x3a45f4(0x3df)][_0x3a45f4(0x201)]!==_0x5a0ac3||this[_0x3a45f4(0x3df)]['subUnitId']!==_0x227a40)&&this[_0x3a45f4(0x229)](this[_0x3a45f4(0x3df)][_0x3a45f4(0x201)],this[_0x3a45f4(0x3df)]['subUnitId']),this[_0x3a45f4(0x3df)]={'unitId':_0x5a0ac3,'subUnitId':_0x227a40};let _0x130745=this[_0x3a45f4(0x1f1)][_0x3a45f4(0x327)](_0x5a0ac3,_0x227a40);if(!((_0x4fb2a4=this[_0x3a45f4(0x28e)][_0x3a45f4(0x3ec)](_0x5a0ac3))!=null&&_0x4fb2a4['with'](_0xb53775)[_0x3a45f4(0x38d)](_0x227a40)))return;if(_0x130745)for(let _0x2ef005 in _0x130745){let {drawingId:_0x40c834}=_0x130745[_0x2ef005],_0x4dde71=this[_0x3a45f4(0x2a8)][_0x3a45f4(0x18d)](_0x40c834);_0x4dde71&&_0x20f2be(_0x4dde71['id'])(_0x4dde71,_0x227a40,_0x4dde71[_0x3a45f4(0x2e6)],this[_0x3a45f4(0x289)][_0x3a45f4(0x208)]());}}})),this[_0xb6de38(0x1c6)](this['_themeService'][_0xb6de38(0x26b)]['subscribe'](()=>{const _0x2bae61=_0xb6de38;var _0x3836bd;let _0xf7816d=this[_0x2bae61(0x32e)][_0x2bae61(0x339)](_0x351816[_0x2bae61(0x194)]);if(!_0xf7816d)return;let _0x45c55e=_0xf7816d[_0x2bae61(0x193)](),_0x377ce2=_0xf7816d['getActiveSheet']()[_0x2bae61(0x1ec)](),_0x3f01f4=this[_0x2bae61(0x1f1)]['getDrawingData'](_0x45c55e,_0x377ce2);if((_0x3836bd=this[_0x2bae61(0x28e)]['getRenderUnitById'](_0x45c55e))!=null&&_0x3836bd[_0x2bae61(0x234)](_0xb53775)[_0x2bae61(0x38d)](_0x377ce2)&&_0x3f01f4)for(let _0x37098b in _0x3f01f4){let {drawingId:_0x2125e7}=_0x3f01f4[_0x37098b],_0x44dd15=this[_0x2bae61(0x2a8)]['getChartModel'](_0x2125e7);_0x44dd15&&_0x20f2be(_0x44dd15['id'])(_0x44dd15,_0x377ce2,_0x44dd15[_0x2bae61(0x2e6)],this[_0x2bae61(0x289)][_0x2bae61(0x208)]());}})),this['disposeWithMe'](this[_0xb6de38(0x1f1)][_0xb6de38(0x277)]['subscribe'](_0x62aafb=>{const _0x2b8e07=_0xb6de38;_0x62aafb[_0x2b8e07(0x1d2)](_0x389623=>{const _0x490d99=_0x2b8e07;var _0x2e6190,_0x19f3b6;let {drawingId:_0x4255dd,unitId:_0x2cd94e,subUnitId:_0x1f2b66}=_0x389623;if(!((_0x2e6190=this[_0x490d99(0x28e)][_0x490d99(0x3ec)](_0x2cd94e))!=null&&_0x2e6190[_0x490d99(0x234)](_0xb53775)[_0x490d99(0x38d)](_0x1f2b66)))return;let {drawingType:_0x4459b9}=this[_0x490d99(0x1f1)][_0x490d99(0x3c5)](_0x389623);if(_0x4459b9!==_0x4cd99f[_0x490d99(0x3b1)])return;let _0x230e8e=this[_0x490d99(0x343)][_0x490d99(0x3b5)](_0x4255dd),_0x49767a=(_0x230e8e==null?void 0x0:_0x230e8e[_0x490d99(0x2d5)])??_0x4255dd,_0x9c1ed0=_0x230e8e==null?void 0x0:_0x230e8e[_0x490d99(0x3ee)],_0x2b60ab=(_0x19f3b6=this[_0x490d99(0x28e)][_0x490d99(0x3ec)](_0x2cd94e))==null?void 0x0:_0x19f3b6[_0x490d99(0x37e)];_0x9c1ed0&&this[_0x490d99(0x1c6)](_0x9c1ed0==null?void 0x0:_0x9c1ed0['onTransformChange$'][_0x490d99(0x1f9)](_0x3a2c5e=>{const _0x29de6f=_0x490d99;let {type:_0x57c0e1,value:_0x360c8e}=_0x3a2c5e;if(_0x29c8d5[_0x29de6f(0x31d)]===_0x57c0e1||_0x29c8d5[_0x29de6f(0x303)]===_0x57c0e1){let {width:_0x14848f,height:_0x222e2b}=_0x360c8e;this[_0x29de6f(0x1c5)](_0x4255dd,{'width':_0x14848f,'height':_0x222e2b},0x64);}})),_0x2b60ab&&this[_0x490d99(0x1c6)](_0x2b60ab[_0x490d99(0x2f3)][_0x490d99(0x1f9)](_0x3b88dc=>{const _0x572a66=_0x490d99;var _0x198468;_0x3b88dc[_0x572a66(0x232)]===_0x29c8d5[_0x572a66(0x182)]&&(_0x198468=document[_0x572a66(0x22f)](_0x49767a))!=null&&_0x198468[_0x572a66(0x2db)](_0x572a66(0x1c7))&&this[_0x572a66(0x1ce)]['syncHostLayout'](_0x4255dd);}));let _0x14cbca=this[_0x490d99(0x2a8)][_0x490d99(0x18d)](_0x4255dd);_0x14cbca&&this[_0x490d99(0x1c6)](_0x54d9ab([_0x14cbca[_0x490d99(0x299)],_0x14cbca[_0x490d99(0x274)],this[_0x490d99(0x289)]['direction$']])[_0x490d99(0x2d9)](([_0x90d1c2,_0x5f2d7e,_0x1fa8f3])=>{_0x20f2be(_0x14cbca['id'])(_0x14cbca,_0x1f2b66,_0x90d1c2,_0x1fa8f3);}));});})),this['disposeWithMe'](_0x54d9ab([this['_drawingManagerService'][_0xb6de38(0x1cc)]])['subscribe'](([_0x30a441])=>{const _0x3f164e=_0xb6de38;_0x30a441[_0x3f164e(0x1d2)](_0x38da34=>{const _0x2747dd=_0x3f164e;var _0x3d2c05;let {drawingId:_0x51d5f9}=_0x38da34;((_0x3d2c05=this[_0x2747dd(0x2a8)]['activeChartModel'])==null?void 0x0:_0x3d2c05['id'])===_0x51d5f9&&this['_chartModelService'][_0x2747dd(0x302)](null),this[_0x2747dd(0x1e0)](_0x51d5f9),this[_0x2747dd(0x3cc)][_0x2747dd(0x210)](_0x51d5f9),this[_0x2747dd(0x1ce)][_0x2747dd(0x2f7)](_0x51d5f9),this[_0x2747dd(0x1e8)](_0x51d5f9),this[_0x2747dd(0x306)](_0x51d5f9),this[_0x2747dd(0x2e2)][_0x2747dd(0x1d1)](_0x51d5f9),this[_0x2747dd(0x364)](_0x51d5f9),this['_lastRenderInputMap']['delete'](_0x51d5f9),this[_0x2747dd(0x185)][_0x2747dd(0x210)](_0x51d5f9);});}));}[_0x42a697(0x3a4)](_0x30298d,_0x290786){const _0x468e64=_0x42a697;var _0xb62b1d;_0x290786?this['_chartElementEditMode'][_0x468e64(0x19a)](_0x30298d,!0x0):this[_0x468e64(0x185)]['delete'](_0x30298d),(_0xb62b1d=this['_chartInstanceMap'][_0x468e64(0x33d)](_0x30298d))==null||_0xb62b1d[_0x468e64(0x3a4)](_0x290786);}async['exportImage'](_0x1a4316){const _0x16d413=_0x42a697;let _0x3867c7=this['_chartInstanceMap'][_0x16d413(0x33d)](_0x1a4316);if(_0x3867c7){let _0x3ea14e=this[_0x16d413(0x185)][_0x16d413(0x33d)](_0x1a4316)===!0x0;_0x3ea14e&&_0x3867c7[_0x16d413(0x3a4)](!0x1);try{let _0x8521ff=await _0x3867c7[_0x16d413(0x362)]();if(_0x8521ff)return _0x8521ff;}finally{_0x3ea14e&&this[_0x16d413(0x3b0)]['get'](_0x1a4316)===_0x3867c7&&_0x3867c7['setElementEditMode'](!0x0);}}let _0x347840=this[_0x16d413(0x22a)](_0x1a4316);return _0x347840?_0x4d8890(_0x347840):void 0x0;}['on'](_0xe913c5,_0x100230,_0x549028){const _0x49cda8=_0x42a697;let _0x88ef7=this[_0x49cda8(0x3cc)]['get'](_0xe913c5);_0x88ef7||(_0x88ef7=new Map(),this[_0x49cda8(0x3cc)]['set'](_0xe913c5,_0x88ef7));let _0x17d869=_0x88ef7['get'](_0x100230);_0x17d869||(_0x17d869=new Set(),_0x88ef7[_0x49cda8(0x19a)](_0x100230,_0x17d869)),_0x17d869[_0x49cda8(0x245)](_0x549028);let _0x56bcbb=this[_0x49cda8(0x3b0)][_0x49cda8(0x33d)](_0xe913c5);return _0x56bcbb&&this[_0x49cda8(0x313)](_0xe913c5,_0x56bcbb,_0x100230,_0x549028),{'dispose':()=>{const _0x41b6d8=_0x49cda8;var _0x15b0ec;(_0x15b0ec=this[_0x41b6d8(0x3cc)]['get'](_0xe913c5))==null||(_0x15b0ec=_0x15b0ec['get'](_0x100230))==null||_0x15b0ec[_0x41b6d8(0x210)](_0x549028),this[_0x41b6d8(0x1ed)](_0xe913c5,_0x100230,_0x549028);}};}[_0x42a697(0x22a)](_0x2f0ee5){const _0x40076d=_0x42a697;let _0x4af667=this[_0x40076d(0x32e)]['getCurrentUnitOfType'](_0x351816[_0x40076d(0x194)]),_0x2ff484=_0x4af667==null?void 0x0:_0x4af667[_0x40076d(0x241)](),_0x11a1a3=_0x4af667==null?void 0x0:_0x4af667[_0x40076d(0x193)](),_0x16be0e=_0x2ff484==null?void 0x0:_0x2ff484[_0x40076d(0x1ec)]();if(!(!_0x11a1a3||!_0x16be0e))return this[_0x40076d(0x2e2)][_0x40076d(0x1a4)]({'unitId':_0x11a1a3,'subUnitId':_0x16be0e,'chartId':_0x2f0ee5});}[_0x42a697(0x32a)](_0x9ba61f,_0x59dc0d){const _0x479f2d=_0x42a697;let _0x262bbc=this[_0x479f2d(0x3cc)][_0x479f2d(0x33d)](_0x9ba61f);_0x262bbc&&_0x262bbc[_0x479f2d(0x1d2)]((_0x2ebf3b,_0x28eac6)=>{const _0x539b45=_0x479f2d;_0x2ebf3b[_0x539b45(0x1d2)](_0x244fec=>this[_0x539b45(0x313)](_0x9ba61f,_0x59dc0d,_0x28eac6,_0x244fec));});}[_0x42a697(0x313)](_0x5bb68e,_0x2a4d32,_0x5795ee,_0x322e7e){const _0x34b840=_0x42a697;let _0x3f86fc=this[_0x34b840(0x29d)][_0x34b840(0x33d)](_0x5bb68e);_0x3f86fc||(_0x3f86fc=new Map(),this[_0x34b840(0x29d)][_0x34b840(0x19a)](_0x5bb68e,_0x3f86fc));let _0x299e94=_0x3f86fc[_0x34b840(0x33d)](_0x5795ee);_0x299e94||(_0x299e94=new Map(),_0x3f86fc[_0x34b840(0x19a)](_0x5795ee,_0x299e94)),!_0x299e94[_0x34b840(0x3a1)](_0x322e7e)&&_0x299e94[_0x34b840(0x19a)](_0x322e7e,_0x2a4d32['on'](_0x5795ee,_0x322e7e));}[_0x42a697(0x1ed)](_0x4afa95,_0x1a3e69,_0x4f6fc8){const _0x41b079=_0x42a697;var _0x26c408,_0xac81a8;let _0x42fbcd=(_0x26c408=this[_0x41b079(0x29d)][_0x41b079(0x33d)](_0x4afa95))==null?void 0x0:_0x26c408[_0x41b079(0x33d)](_0x1a3e69);_0x42fbcd==null||(_0xac81a8=_0x42fbcd[_0x41b079(0x33d)](_0x4f6fc8))==null||_0xac81a8['dispose'](),_0x42fbcd==null||_0x42fbcd[_0x41b079(0x210)](_0x4f6fc8);}[_0x42a697(0x1e0)](_0x58fa84){const _0x11137b=_0x42a697;let _0xd6d758=this[_0x11137b(0x29d)]['get'](_0x58fa84);_0xd6d758==null||_0xd6d758['forEach'](_0x3074da=>{const _0x2fb456=_0x11137b;_0x3074da[_0x2fb456(0x1d2)](_0x388a20=>_0x388a20[_0x2fb456(0x1e4)]()),_0x3074da[_0x2fb456(0x3af)]();}),this[_0x11137b(0x29d)][_0x11137b(0x210)](_0x58fa84);}['createRuntimeChartStyle'](_0x1093d6,_0x18aea7){const _0x542573=_0x42a697;return Nr(_0x1093d6,_0x18aea7,this[_0x542573(0x321)]);}[_0x42a697(0x32d)](_0x5eebc6){return this['_getChartRenderSkipReason'](_0x5eebc6)==null;}[_0x42a697(0x36e)](_0x5b5f8b){const _0x95f6ec=_0x42a697;var _0x1e3bc4;let _0x4c713f=this[_0x95f6ec(0x343)]['getFloatDomInfo'](_0x5b5f8b);if(!_0x4c713f)return _0x95f6ec(0x33c);let {subUnitId:_0x3661e4}=_0x4c713f,_0x41a43e=(_0x1e3bc4=this[_0x95f6ec(0x32e)]['getCurrentUnitOfType'](_0x351816[_0x95f6ec(0x194)]))==null?void 0x0:_0x1e3bc4['getActiveSheet']();if(!_0x41a43e)return _0x95f6ec(0x374);if(_0x41a43e[_0x95f6ec(0x1ec)]()!==_0x3661e4)return _0x95f6ec(0x1e9);}async[_0x42a697(0x2cf)](_0x1a4d25,_0x55e5d8,_0x110613){const _0x3c3fbc=_0x42a697;let _0x24a668=this[_0x3c3fbc(0x35d)][_0x3c3fbc(0x365)](_0x223dba);if(!_0x24a668||(this[_0x3c3fbc(0x288)]['set'](_0x1a4d25,{'config':_0x55e5d8,'style':_0x110613}),this[_0x3c3fbc(0x36e)](_0x1a4d25)))return;let _0x1e359f=this[_0x3c3fbc(0x1eb)](_0x1a4d25);if(_0x1e359f===_0xb0238[_0x3c3fbc(0x2f5)])this['_disposeChartDomInstance'](_0x1a4d25);else{var _0x5b1ae4;this[_0x3c3fbc(0x1ce)]['invalidateSnapshot'](_0x1a4d25),((_0x5b1ae4=this[_0x3c3fbc(0x2a8)][_0x3c3fbc(0x259)])==null?void 0x0:_0x5b1ae4['id'])===_0x1a4d25&&this[_0x3c3fbc(0x215)](_0x1a4d25);}let _0xd2df8c=_0x1e359f===_0xb0238[_0x3c3fbc(0x2f5)]?_0x54947a[_0x3c3fbc(0x2f5)]:_0x54947a[_0x3c3fbc(0x202)],_0x36f36d=await this[_0x3c3fbc(0x1ce)][_0x3c3fbc(0x3e0)](_0x1a4d25,_0xd2df8c);if(!_0x36f36d)return;let _0x158ae8=this['_getOrCreateChartRenderInstance'](_0x1a4d25,_0xd2df8c,_0x24a668);_0x158ae8['bind'](_0x36f36d);try{await _0x158ae8[_0x3c3fbc(0x2cf)]({'chartId':_0x1a4d25,'config':_0x55e5d8,'style':_0x110613});}catch(_0x118913){if(_0x1e359f!==_0xb0238[_0x3c3fbc(0x2f5)])throw _0x118913;}}async[_0x42a697(0x1c4)](_0x59f093,_0x248742,_0x43bfb6){const _0x51895b=_0x42a697;let _0x4ed56e=this['_drawingManagerService'][_0x51895b(0x327)](_0x59f093,_0x248742),_0x1a184e=this['_drawingManagerService']['getDrawingOrder'](_0x59f093,_0x248742),_0x251e68=Object[_0x51895b(0x3ab)](_0x4ed56e??{})['filter'](_0x2cdc43=>_0x2cdc43[_0x51895b(0x341)]===_0x4cd99f[_0x51895b(0x3b1)]&&_0x2cdc43['hidden']!==!0x0);await Promise[_0x51895b(0x1d8)](_0x251e68[_0x51895b(0x2bb)](async _0x25303d=>{const _0x56390f=_0x51895b;let _0x14b338=await this['_createPrintingChartObject'](_0x25303d,_0x1a184e);_0x14b338&&(_0x43bfb6['addObject'](_0x14b338,_0x2c5142),_0x25303d[_0x56390f(0x189)]&&_0x448638({'drawingId':_0x25303d[_0x56390f(0x189)],'unitId':_0x59f093,'subUnitId':_0x248742},_0x14b338,_0x43bfb6,this[_0x56390f(0x1f1)]));}));}async[_0x42a697(0x3d6)](_0x4ab6b1,_0x30e70b){const _0x327f79=_0x42a697;let _0xc447a=this[_0x327f79(0x2a8)][_0x327f79(0x18d)](_0x4ab6b1[_0x327f79(0x2ae)]),_0x509c63=this[_0x327f79(0x35d)][_0x327f79(0x365)](_0x223dba),_0x515366=_0x4ab6b1[_0x327f79(0x26f)],_0x19a0ee=_0xc447a==null?void 0x0:_0xc447a[_0x327f79(0x2e6)];if(!_0xc447a||!_0x509c63||!_0x515366||!_0x19a0ee||_0x515366[_0x327f79(0x180)]==null||_0x515366['height']==null)return null;let _0x4b038d=new Mr(_0x4ab6b1[_0x327f79(0x2ae)],{'width':_0x515366[_0x327f79(0x180)],'height':_0x515366['height']}),_0xc9aa7=_0x509c63[_0x327f79(0x264)](_0x54947a[_0x327f79(0x2f5)],this['_createChartRenderInstanceContext']());_0xc9aa7[_0x327f79(0x2c0)](_0x4b038d);let _0x5134b3;try{await _0xc9aa7[_0x327f79(0x2cf)]({'chartId':_0x4ab6b1[_0x327f79(0x2ae)],'config':_0x19a0ee,'style':this[_0x327f79(0x353)](_0xc447a,this[_0x327f79(0x289)][_0x327f79(0x208)]())});}catch(_0x2e17d0){console[_0x327f79(0x1fb)](_0x327f79(0x28f),_0x2e17d0);}finally{_0x5134b3=_0x4b038d[_0x327f79(0x350)](),_0xc9aa7[_0x327f79(0x1e4)](),_0x4b038d[_0x327f79(0x1e4)]();}let _0x3987e6=this[_0x327f79(0x2e2)]['getImage']({'unitId':_0x4ab6b1[_0x327f79(0x201)],'subUnitId':_0x4ab6b1[_0x327f79(0x267)],'chartId':_0x4ab6b1['drawingId']}),_0x3b989f=_0x5134b3??_0x3987e6;if(!_0x3b989f)return null;let _0x263aea=_0x30e70b['indexOf'](_0x4ab6b1[_0x327f79(0x2ae)]);return new br(_0x4a9fe4(_0x4ab6b1),{..._0x515366,..._0x3e8982,...Dr(_0x4b038d[_0x327f79(0x211)]),'visible':!0x0,'zIndex':_0x263aea===-0x1?Math[_0x327f79(0x2fa)](_0x30e70b[_0x327f79(0x206)]-0x1,0x0):_0x263aea},()=>_0x3b989f,void 0x0,_0x5134b3?()=>W(_0x5134b3):void 0x0);}[_0x42a697(0x3c3)](_0x787718,_0x52f764,_0x454537){const _0x402cc2=_0x42a697;let _0x31e09f=this[_0x402cc2(0x3b0)][_0x402cc2(0x33d)](_0x787718);if((_0x31e09f==null?void 0x0:_0x31e09f['mode'])===_0x52f764)return _0x31e09f;_0x31e09f&&(this['_disposeChartEventSubscriptions'](_0x787718),_0x31e09f['dispose'](),this[_0x402cc2(0x3b0)][_0x402cc2(0x210)](_0x787718));let _0x569a9e=_0x454537[_0x402cc2(0x264)](_0x52f764,this['_createChartRenderInstanceContext']());return this['_chartInstanceMap'][_0x402cc2(0x19a)](_0x787718,_0x569a9e),_0x569a9e['setElementEditMode'](this[_0x402cc2(0x185)][_0x402cc2(0x33d)](_0x787718)===!0x0),this['_bindChartEventHandlers'](_0x787718,_0x569a9e),_0x569a9e;}[_0x42a697(0x212)](){const _0x3264a2=_0x42a697;return{'resolveHostStyle':({style:_0xf9e588})=>_0x1501c4({'style':_0xf9e588,'getRenderColor':_0x1a65f1=>this[_0x3264a2(0x281)][_0x3264a2(0x324)](_0x1a65f1)}),'resolveRenderBackgroundColor':({style:_0x527cf5})=>this[_0x3264a2(0x281)][_0x3264a2(0x324)](_0x15eac5(_0x527cf5))};}[_0x42a697(0x3d2)](){const _0x14a051=_0x42a697;this[_0x14a051(0x300)][_0x14a051(0x1d2)](_0x6717d1=>_0x6717d1[_0x14a051(0x390)]()),this[_0x14a051(0x300)]['clear'](),this[_0x14a051(0x292)][_0x14a051(0x1d2)](_0x2f8b95=>_0x2f8b95[_0x14a051(0x390)]()),this[_0x14a051(0x292)][_0x14a051(0x3af)]();}[_0x42a697(0x1e4)](){const _0x78345e=_0x42a697;Array[_0x78345e(0x328)](this[_0x78345e(0x3b0)][_0x78345e(0x24c)]())[_0x78345e(0x1d2)](_0x27b5f3=>this[_0x78345e(0x306)](_0x27b5f3)),this[_0x78345e(0x185)][_0x78345e(0x3af)](),this[_0x78345e(0x3d2)](),this[_0x78345e(0x288)]['clear'](),this[_0x78345e(0x3aa)]=null,this['_lastActiveSheet']=null,super[_0x78345e(0x1e4)]();}};Y=q([K(0x0,kr),K(0x1,_0x3c5f23(_0x463e32)),K(0x2,_0x3c5f23(_0x3db1ab)),K(0x3,_0x3e323c),K(0x4,_0x39f3aa),K(0x5,_0x3c5f23(_0xf835e7)),K(0x6,_0x3c5f23(_0xd5d68c)),K(0x7,J),K(0x8,_0x3c5f23(_0x2f4582)),K(0x9,_0x3c5f23(_0x274d2d)),K(0xa,_0x3c5f23(_0x42b947)),K(0xb,_0x42fc9b),K(0xc,_0x3c5f23(Cr)),K(0xd,_0x127e53)],Y);function X(_0x1c2a40){const _0x1f8e13=_0x42a697;let _0x17b059=_0x1c2a40['get'](_0x1e8199)[_0x1f8e13(0x2f4)]();if(_0x17b059[_0x1f8e13(0x206)]!==0x1)return null;let _0x2a945d=_0x17b059[0x0];return _0x2a945d[_0x1f8e13(0x341)]===_0x4cd99f[_0x1f8e13(0x3b1)]?_0x2a945d:null;}function Pr(_0x485924,_0x25af89){const _0xdab9ff=_0x42a697;let _0x2cdd0c=document[_0xdab9ff(0x239)]('a');_0x2cdd0c[_0xdab9ff(0x2f8)]=_0x485924,_0x2cdd0c[_0xdab9ff(0x307)]=_0x25af89,_0x2cdd0c[_0xdab9ff(0x1d0)]();}const Fr={'id':_0x42a697(0x33b),'type':_0x5004ac[_0x42a697(0x316)],'handler':(_0xe6fb29,_0x4c0cc6)=>{const _0x44cd0a=_0x42a697;let _0xc41770=X(_0xe6fb29);return _0xc41770?_0xe6fb29[_0x44cd0a(0x33d)](_0x5e196b)['executeCommand'](V['id'],{'unitId':_0xc41770[_0x44cd0a(0x201)],'subUnitId':_0xc41770['subUnitId'],'drawingId':_0xc41770[_0x44cd0a(0x2ae)],..._0x4c0cc6!=null&&_0x4c0cc6[_0x44cd0a(0x2be)]?{'route':_0x4c0cc6['route']}:{}}):!0x1;}},Ir={'id':_0x42a697(0x3b7),'type':_0x5004ac[_0x42a697(0x316)],'handler':_0x5ec6b0=>X(_0x5ec6b0)?_0x5ec6b0['get'](_0x5e196b)['executeCommand'](_0x3cc3a6['id']):!0x1},Lr={'id':'sheet.command.chart.export-focused-image','type':_0x5004ac[_0x42a697(0x316)],'handler':async _0x4c69a2=>{const _0x4c7863=_0x42a697;let _0x4821a2=X(_0x4c69a2);if(!_0x4821a2)return!0x1;let _0x551927=await _0x4c69a2['get'](Y)[_0x4c7863(0x2c8)](_0x4821a2['drawingId']);return _0x551927?(Pr(_0x551927,_0x4821a2['drawingId']+_0x4c7863(0x231)),!0x0):!0x1;}},Rr={'id':_0x42a697(0x2f2),'type':_0x5004ac['COMMAND'],'handler':_0x54e926=>{const _0x5e66b6=_0x42a697;let _0x48cb57=X(_0x54e926);return _0x48cb57?_0x54e926['get'](_0x5e196b)[_0x5e66b6(0x312)](_0x42f5a4['id'],{'unitId':_0x48cb57[_0x5e66b6(0x201)],'drawings':[{'unitId':_0x48cb57[_0x5e66b6(0x201)],'subUnitId':_0x48cb57[_0x5e66b6(0x267)],'drawingId':_0x48cb57[_0x5e66b6(0x2ae)],'drawingType':_0x4cd99f[_0x5e66b6(0x3b1)]}]}):!0x1;}},zr='SHEETS_CHART_CONTEXT_MENU';function Br(_0x168dde){const _0x58d78d=_0x42a697;let _0x532bd9=_0x168dde[_0x58d78d(0x33d)](_0x1e8199);return _0x532bd9[_0x58d78d(0x32b)][_0x58d78d(0x2f9)](_0x1d4871(_0x532bd9['getFocusDrawings']()),_0x7692dd(()=>X(_0x168dde)==null));}function Vr(_0x213604){const _0x3616cb=_0x42a697;return{'id':Fr['id'],'commandId':Fr['id'],'type':_0x3afb21[_0x3616cb(0x2b6)],'title':_0x213604['get'](_0xd5d68c)['t'](_0x3616cb(0x217)),'icon':_0x3616cb(0x2b1),'hidden$':Br(_0x213604)};}function Hr(_0xd94840){const _0x1c98b3=_0x42a697;return{'id':Ir['id'],'commandId':Ir['id'],'type':_0x3afb21[_0x1c98b3(0x2b6)],'title':_0xd94840[_0x1c98b3(0x33d)](_0xd5d68c)['t'](_0x1c98b3(0x2b5)),'icon':_0x1c98b3(0x39b),'hidden$':Br(_0xd94840)};}function Ur(_0x3ec7f5){const _0x51e698=_0x42a697;return{'id':Lr['id'],'commandId':Lr['id'],'type':_0x3afb21[_0x51e698(0x2b6)],'title':_0x3ec7f5['get'](_0xd5d68c)['t']('sheets-chart-ui.common.exportImage'),'icon':'DownloadImageIcon','hidden$':Br(_0x3ec7f5)};}function Wr(_0xe6fab6){const _0x5ce48e=_0x42a697;return{'id':Rr['id'],'commandId':Rr['id'],'type':_0x3afb21[_0x5ce48e(0x2b6)],'title':_0xe6fab6['get'](_0xd5d68c)['t']('sheets-chart-ui.common.deleteChart'),'icon':_0x5ce48e(0x2a6),'hidden$':Br(_0xe6fab6)};}const Gr={'type':_0x5004ac['COMMAND'],'id':'sheet.command.menu-insert-chart','handler':async(_0x514d32,_0x18ea31)=>{const _0x15ef97=_0x42a697;let _0x4d1c84=_0x241644(_0x514d32[_0x15ef97(0x33d)](_0x39f3aa));if(!_0x4d1c84)return!0x1;let _0x4aabf7=_0x514d32[_0x15ef97(0x33d)](_0xde53d5)[_0x15ef97(0x224)]();if(!_0x4aabf7)return!0x1;let {range:_0x3c912a}=_0x4aabf7,_0x4644b3=_0x514d32['get'](_0x5e196b),{unitId:_0x1bf57d,subUnitId:_0x2cbcc4}=_0x4d1c84,{pieSecondaryPlotType:_0x43a25a,value:_0x494c01}=_0x18ea31,_0x5c6fb3=_0x43a25a!==void 0x0;if(_0x5c6fb3&&(_0x494c01!==_0x240ffc[_0x15ef97(0x1df)]||_0x43a25a!==_0x3862b3[_0x15ef97(0x1df)]&&_0x43a25a!==_0x3862b3[_0x15ef97(0x2a5)]))return!0x1;let _0x333486=_0x5c6fb3?_0x1d4220():void 0x0;return _0x4644b3[_0x15ef97(0x312)](_0x6e5b4c['id'],{'unitId':_0x1bf57d,'subUnitId':_0x2cbcc4,'chartType':_0x494c01,..._0x333486&&_0x43a25a?{'chartId':_0x333486,'config':{'unitId':_0x1bf57d,'chartModelId':_0x333486,'style':{'pie':{'composite':{'enabled':!0x0,'secondaryPlot':{'type':_0x43a25a}}}}}}:{},'source':{'rangeInfo':{'unitId':_0x1bf57d,'subUnitId':_0x2cbcc4,'range':_0x3c912a}}});}};function Kr(_0xcc3b05,_0x3c1661){return _0xcc3b05==null||Array['isArray'](_0xcc3b05)?'':qr(_0xcc3b05['rangeInfo'],_0x3c1661);}function qr(_0x1b4dee,_0x8ae48d){const _0x5ade41=_0x42a697;var _0x4f097c;let {unitId:_0x552a0a,subUnitId:_0x553216,range:_0xd8f986}=_0x1b4dee,_0x48f90c=(_0x4f097c=_0x8ae48d[_0x5ade41(0x36c)](_0x552a0a))==null?void 0x0:_0x4f097c[_0x5ade41(0x37b)](_0x553216);return _0x48f90c?_0x3b62ae(_0x48f90c['getName'](),_0xd8f986):'';}const Jr=new Set([_0x42a697(0x24a),'columnPercentStacked']),Yr=_0x524b83[_0x42a697(0x3bd)](_0x189502=>!Jr[_0x42a697(0x3a1)](_0x189502['labelId']))['map'](_0x3d7cf2=>({'id':'id'in _0x3d7cf2?_0x3d7cf2['id']:void 0x0,'labelId':_0x3d7cf2['labelId'],'pieSecondaryPlotType':_0x42a697(0x30f)in _0x3d7cf2?_0x3d7cf2[_0x42a697(0x30f)]:void 0x0,'value':_0x3d7cf2['value'],'icon':_0x3d7cf2[_0x42a697(0x371)]}));function Xr(_0x55f8c0=Yr){const _0x56edba=_0x42a697;return _0x55f8c0[_0x56edba(0x2bb)](({id:_0x223798,icon:_0x575de0,value:_0xa326e1})=>{const _0x4d5d1d=_0x56edba;let _0x425a9a=_0x3586ff(_0x223798??String(_0xa326e1)),_0xe14a33=_0x425a9a?{'value':_0x425a9a[_0x4d5d1d(0x2a2)],..._0x425a9a[_0x4d5d1d(0x30f)]?{'pieSecondaryPlotType':_0x425a9a[_0x4d5d1d(0x30f)]}:{}}:{'value':_0xa326e1};return{'icon':_0x575de0,'value':_0x223798??_0xa326e1,'params':_0xe14a33};});}const Zr=(_0x1ff698,_0x8015ab)=>{const _0x2d610e=_0x42a697;if(_0x8015ab['length']===0x1&&_0x8015ab[0x0]===_0x2d610e(0x303))return _0x1ff698;if(_0x8015ab[_0x2d610e(0x206)]>0x1){let _0x3f6a18=new Set();for(let _0x506f10 of _0x8015ab)_0x3f6a18[_0x2d610e(0x245)](Number(_0x506f10));return _0x1ff698[_0x2d610e(0x3bd)](_0x236f01=>_0x3f6a18['has'](_0x236f01[_0x2d610e(0x2ef)]));}return[];};function _0x8d76(_0x3dbc97,_0x321551){_0x3dbc97=_0x3dbc97-0x16d;const _0x1e7de3=_0x1e7d();let _0x8d761e=_0x1e7de3[_0x3dbc97];return _0x8d761e;}function Qr(_0x559d1d){const _0x2e29b7=_0x42a697;let _0x29b857=_0x559d1d['get'](_0x39f3aa),_0x58f50e=_0x4c7049(_0x559d1d),_0x17c316=Zr(Yr[_0x2e29b7(0x1aa)](),_0x58f50e),_0x30102e=_0x559d1d[_0x2e29b7(0x33d)](_0xd5d68c),_0x34f9fb=Xr(_0x17c316)[_0x2e29b7(0x2bb)]((_0x3502da,_0x154201)=>({..._0x3502da,'label':_0x30102e['t'](_0x2e29b7(0x336)+_0x17c316[_0x154201]['labelId'])}));return{'id':Gr['id'],'type':_0x3afb21[_0x2e29b7(0x30b)],'selectionsCommandId':Gr['id'],'selections':_0x34f9fb,'icon':'ChartIcon','tooltip':_0x30102e['t'](_0x2e29b7(0x38e)),'activated$':_0x2f2775(_0x29b857,!0x1,()=>new _0x5d87df(_0x4864d4=>{_0x4864d4['next'](!0x1);})),'hidden$':_0x14c5fe(_0x559d1d,_0x351816['UNIVER_SHEET']),'disabled$':_0x32ff81(_0x559d1d)};}const $r={[_0x563f0b[_0x42a697(0x3ed)]]:{[Gr['id']]:{'order':0x4,'menuItemFactory':Qr}},[_0x18406c[_0x42a697(0x2ee)]]:{[zr]:{'order':0x6,[_0x17c827['OTHERS']]:{[Fr['id']]:{'order':0x0,'menuItemFactory':Vr},[Ir['id']]:{'order':0x1,'menuItemFactory':Hr},[Lr['id']]:{'order':0x2,'menuItemFactory':Ur},[Rr['id']]:{'order':0x3,'menuItemFactory':Wr}}}}};function ei(_0x49f410){const _0x3b9e86=_0x42a697;return _0x49f410===_0x240ffc[_0x3b9e86(0x25a)]||_0x49f410===_0x240ffc[_0x3b9e86(0x2df)]||_0x49f410===_0x240ffc['Boxplot']||_0x255937[_0x3b9e86(0x265)](_0x49f410,_0x240ffc[_0x3b9e86(0x1a2)])||_0x255937[_0x3b9e86(0x265)](_0x49f410,_0x240ffc[_0x3b9e86(0x39d)])||_0x255937[_0x3b9e86(0x265)](_0x49f410,_0x240ffc[_0x3b9e86(0x252)])||_0x255937['baseOn'](_0x49f410,_0x240ffc[_0x3b9e86(0x223)]);}function ti(_0x3c069a){const _0x550f1f=_0x42a697;return ei(_0x3c069a)||_0x255937[_0x550f1f(0x265)](_0x3c069a,_0x240ffc[_0x550f1f(0x1df)])||_0x255937[_0x550f1f(0x265)](_0x3c069a,_0x240ffc[_0x550f1f(0x29c)])||_0x255937['baseOn'](_0x3c069a,_0x240ffc[_0x550f1f(0x29b)]);}function ni(_0x536099,_0xd1877e){const _0x48aff9=_0x42a697;let _0x55e3f7=_0x335cad(_0x536099,_0xd1877e),_0x3c68cb=_0x55e3f7?_0x560369(_0x55e3f7[_0x48aff9(0x22c)]):void 0x0;if(!(!_0x55e3f7||!_0x3c68cb))return{..._0x55e3f7,'route':_0x3c68cb,'showFloatMenu':ti(_0x536099[_0x48aff9(0x2a2)])&&_0x55e3f7[_0x48aff9(0x255)]};}function _0x1e7d(){const _0x44666c=['_chartThemeService','section','lineTo','range','setConfig','call','naturalWidth','_lastRenderInputMap','_localeService','clearPanelRoute','sheetDisposed$','removeHost','_entries','_renderManagerService','[ChartRender]\x20Failed\x20to\x20render\x20chart\x20snapshot\x20for\x20printing','pointerEvents','bottom','_debounceHandleMap','_copyInfo','Series','sheet.chart.edit.panel','_initDrawingDeactivationListener','_getDrawable','getValue','config$','sheets-chart-ui.waterfall.positive','Waterfall','Pareto','_chartEventSubscriptions','_initMenus','update','GridlinesAndTicks','sheets-chart-ui.section.paretoLine','chartType','checkHost','Heatmap','Bar','DeleteIcon','_commandService','_chartModelService','parent','isDomReady','commitSnapshot','mountNode','lineAndArea','drawingId','sheets-chart.ui.service','_setActiveChart','PenIcon','INSERT','allSeriesStyle','_setChartRuntimeZIndex','sheets-chart-ui.common.copy','BUTTON','visible','moveTo','_rangeSelectMode','Sunburst','map','Legend','72zfIsyk','route','997758UWSQXb','bind','invalidateSnapshot','sheets-chart-ui.common.verticalAxis','GROUP','getObject','wordCloud','isRender','2ZUMpQR','exportImage','_clearSelectedTarget','rangeInfo','border','attachPopupToDynamicAbsolutePosition','getCanvasElement','setSelectedElement','render','_sidebarDisposable','sheets-chart-ui.section.gridlinesAndTicks','_activateEditPanelState','sheets-chart-ui.common.useAsCategoryLabels','_savedWrapperStyle','domId','opacity','_getOuterRect','_activateHostWrapper','subscribe','sheets-chart-ui.config','querySelector','globalAlpha','Chord','restore','Radar','position$','setHostStyle','_chartSnapshotStoreService','logicalOuterRect','_injector','_markNotReady','config','setObjectType','_renderWhenConfigReady','_initCopyPaste','handleActiveSubUnitChange','unsubscribe','isInGroup','_resolveLayout','CONTEXT_MENU','value','sheet.operation.open-chart-panel','activeEditChart','sheet.command.chart.delete-focused-chart','onTransformChange$','getFocusDrawings','Image','_image','markHostNotReady','href','pipe','max','dblclick','_openEditPanelByDoubleClick','_focusedDrawings','split','auto','_renderDebounceMap','trendline','setActiveChartModel','all','chartModelId','featurePluginOrderUpdate$','_disposeChartRenderInstance','download','interceptor','sheets-chart-ui.common.horizontalAxis','getBatchUpdateOp','SELECTOR','cumulativeLineStyle','Positive','_renderChartModel','pieSecondaryPlotType','sheetTransform','ensureHandle','executeCommand','_bindChartEventHandler','offsetHeight','category','COMMAND','anchorRect$','CUT','nextVersion','_waiter','_popupDisposable','getRangeInfo','resize','_resolvedConfig','sheets-chart-ui.common.legend','_chartRenderService','_addWatermark','Style','panelRoute$','getRenderColor','tab','_getFloatDomInfo','getDrawingData','from','left','_bindChartEventHandlers','focus$','string','checkChartCanRender','_univerInstanceService','_managed','sheets-chart-ui.common.series','setPanelRoute','_registerComponents','_setHostStyle','viewBound','_shouldEnableChartElementEdit','sheets-chart-ui.chartTypes.','Canvas','Fail\x20to\x20create\x20float\x20dom','getCurrentUnitOfType','_removeHost$','sheet.command.chart.open-focused-panel','missing-float-dom','get','getRealBound','getOwnPropertyDescriptor','_sheetDrawingService','drawingType','titleKey','_sheetCanvasFloatDomManagerService','registerRenderObjectFactory','_hostStyle','featurePluginUngroupUpdate$','sheets-chart-ui.section.histogram','sheet-chart-style-panel','children','15gJByBy','packageName','params','clientHeight','1088321veYWpw','labelId','takeSnapshot','object','_isChartElementEditEnabled','createRuntimeChartStyle','_menuManagerService','pie','rangeSelectMode','canvas','complete','series','sheets-chart-ui.common.trendline','next','_getSceneAndTransformerByDrawingSearch','_renderModelManager','redo','markNotReady','indexOf','push','exportImg','radius','_clearChartRuntimeCache','getRenderModel','ancestorTransform','setActiveEditChart','_chartUIService','clientY','getBoundingClientRect','undo','getUnit','_activeEditChart$','_getChartRenderSkipReason','_popupChartId','transparent','iconName','_generateCopyPasteMutations','Timed\x20out\x20waiting\x20for\x20float\x20dom\x20host\x20\x22','missing-active-sheet','chartObject','pareto','_updateTransform','_panelRoute$','isManaged','_url','getSheetBySheetId','defaultValues','#-#','scene','_sheetInterceptorService','bounds','isElementEditModeActive','activeChartModel$','sheets-chart-ui.common.setup','_renderAfterChartUpdateMutation','registerCommand','_chartRenderMode','getChartDataSource','_sheetsChartUIService','sheets-chart-ui.common.chartStyle','register','isConnected','entries','getSkeleton','sheets-chart-ui.common.insertChart','sheets-chart-ui.section.sunburst','cancel','_init','sheets-chart-ui.waterfall.subtotal','_applyHostStyle','imageBitmap','sheets-chart-ui.section.radar','create','_initSheetChange','color','_disposed','zIndex','CopyDoubleIcon','getHostSize','Column','drawWith','every','markUnmanaged','has','asObservable','initPanel','setElementEditMode','nativeEvent','syncHostLayout','axis','_getPlacement','pluginName','_activeChartId','values','Sankey','crossOrigin','items','clear','_chartInstanceMap','DRAWING_CHART','applyPoint','setContextValue','name','getFloatDomInfo','function','sheet.command.chart.copy-focused-chart','promise','symbol','selectedElement$','PieStyle','GeneralSeries','filter','mode','sheets-chart-ui.section.waterfall','onCommandExecuted','_registerChartImageRenderObjectFactory','header','_getOrCreateChartRenderInstance','innerWidth','getDrawingByParam','scaleX','Histogram','waterfallStyle','getInterceptPoints','_openPanel','sheets-chart-ui.waterfall.negative','_chartEventHandlers','7411970lRkqvb','_executeChartUpdateSourceConfig','activeEditChart$','_subscribeChartEvents','getTransformerByCreate','_cancelDebouncedCallbacks','_sheetPrintInterceptorService','_generatePasteMutations','_adapterRegistry','_createPrintingChartObject','_sheetsChartService','sheets-chart-element-float-menu','clearImage','prototype','ensureMount','enableChartElementFloatMenu','indicatorLine','_getChartSnapshotKey','_lastActiveSheet','ensureHost','getRuntimeContext','drawingIds','_createImageChartHost','featurePluginGroupUpdate$','Candlestick','WordCloud','getRect','dom','_getOrCreateSheetChartHost','sheets-chart-ui.common.heatmap','Row','getRenderUnitById','MEDIA','rect','defineProperty','_snapshotKey','_initActiveChartModelListener','updateFloatDomProps','registerFeatureMenu','_resizeChart','HorizontalAxis','sheets-chart-ui.common.switchRowColumn','setProps','iterator','CHART','addClipboardHook','save','seriesId','_rerenderLatest','_shouldSuppressSnapshot','clientWidth','_draw','_version','Overlay','_markReady','getContextValue','_pendingToken','_getHostPlacement','getDrawingOrder','width','top','scale','sheets-chart-ui.section.paretoBar','resourceCollector','_chartElementEditMode','univer-flex\x20univer-flex-col\x20univer-gap-3\x20univer-pb-5','drawImage','sheets-chart-ui.common.rightVerticalAxis','groupId','div','sheets-chart-ui.section.candlestick','ImageBitmap','getChartModel','offsetLeft','onload','_sidebarService','Trendline','onDispose','getUnitId','UNIVER_SHEET','_sheetSkeletonService','then','_sheetClipboardService','sheets-chart-ui.section.relation','blockExecuteWithoutPermission','set','IndicatorLine','_initActiveRuntimeLayerListener','_snapshotStore','innerHeight','sheets-chart-ui.common.customize','sheets-chart-ui.chord.target','_urlImage','Line','startX','getImage','number','hit','3knseAQ','beginPath','setOrientation','concat','isRowDirection','slice','Funnel','objects','sheets-chart-ui.host.provider','barStyle','makeDirty','Treemap','permissionCheckWithoutRange','554547fhWZvR','right','segmented','isLatest','some','_pendingHost','copyType','open','chartRenderMode','syncLayout','_createCopyInfoByRange','registerProvider','_sheetCanvasPopManagerService','small','_canvasFloatDomService','sheet-chart-setup-panel','renderChartsForPrinting','_debounceHandle','disposeWithMe','.chart-host','serialize','_requestChartCanvasRender','1.0.0-beta.0','UniverSheetsChartUIPlugin','remove$','_handleDrawingDoubleClick','_chartHostProvider','_initCommands','click','clearChart','forEach','image','removeChartModel','getFocusedUnit','naturalHeight','activeSheet$','allSettled','getSheetBySheetName','chartModelRemoved$','_chartHostMap','REMOVE','_getChartRenderObjectContext','ChartStyle','Pie','_disposeChartEventSubscriptions','funnel','getChartPopupMenus','mergeMenu','dispose','_activeDomReadyChartIds','strokeWidth','sheets-chart-ui.section.lineAndArea','_resetChartRuntimeZIndex','inactive-sheet','sheets-chart-ui.section.pie','_resolveChartRenderMode','getSheetId','_disposeChartEventSubscription','_iconManager','_deactivateEditPanelState','localPoint','_drawingManagerService','translate','hidePanel','_sheetDrawingHitTestService','_configService','focusDrawing','_generateCutPasteMutations','_markHostReady','subscribeEvent','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','error','_pendingMutationConfigRenders','url','1822596jKhZat','_selectedElement$','invert','unitId','Dom','sheets-chart-ui.section.chord','resolve','_registerIcons','length','onDoubleClick$','getDirection','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-flex\x20univer-h-0\x20univer-min-h-full\x20univer-w-full\x20univer-flex-col\x20univer-bg-white\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dark:!univer-bg-gray-900\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','_initPermission','height','univer-overflow-hidden','20317ktzqIS','sheets-chart-ui.common.category','18540eKNZSQ','delete','style','_createChartRenderInstanceContext','_sheetPermissionCheckController','385173VLFYYP','_applyActiveChartRuntimeZIndex','_rect','sheets-chart-ui.common.openChartPanel','_getImage','_themeService','sheets-chart-ui.common.editChart','relation','checkMounted','chartModelAdded$','evented','_frameStyle','getBatchRemoveOp','clearRuntimeCache','setDataRange','Scatter','getCurrentLastSelection','setStyle','activeRuntimeModel','openChartPanelById','_openFloatMenu','_clearSheetChartRuntimeCaches','_getCurrentSnapshotImage','-univer-mx-4','target','univer-overflow-visible','_requestPaint','getElementById','abs','.png','type','default','with','scaleY','onStarting','src','getChartSnapshotImage','createElement','_closePopup','beforeCommandExecuted','_componentManager','_drawingContextMenuService','_chartHostProviderService','clip','DEFAULT_PASTE','getActiveSheet','_getChartRenderObject','intercept','offsetWidth','add','arc','@univerjs-pro/sheets-chart-ui','getMatrix','chartId','columnStacked','sheets-chart-ui.section.treemap','keys','_domFrame','parentElement','sheets-chart-ui.section.gauge','_config','version','Area','_createHost','onRendered','showFloatMenu','_clearHiddenSelectedTarget','transformChange$','_drawChartFrame','activeChartModel','Combination','_registerAdapter','OPERATION','_disposeChartDomInstance','direction$','Data','anonymous','updateFloatDom','isArray','dataSource','createChartInstance','baseOn','sheets-chart-ui.permission.editErr','subUnitId','engine','hasOwnProperty','_disposeImage','darkMode$','setRangeSelectMode','_isProviderDisposed','Gauge','transform','requestPaint','_cancelHostWait','_listenChartUpdateMutations','getBatchAddOp','style$','Axes','contains','add$','removeHost$','label','PRINTING_COMPONENT_COLLECT','UPDATE','toPrimitive','Relation','setBorder','_contextService','closePath'];_0x1e7d=function(){return _0x44666c;};return _0x1e7d();}var ri;const ii={'axis':{..._0x2feaa6,'primaryGridLineVisible':!0x1,'secondaryGridLineVisible':!0x0},'funnel':_0x3fb233,'heatmap':_0x98612d,'indicatorLine':_0x4cf3b3,'legend':_0x19f7ca,'lineAndArea':_0x19f7dc,'pareto':_0x4b5d06,'pie':{..._0x23c81f,'doughnutHole':0.5,'pieHole':0x0},'relation':{..._0xc75f7b,'useValueAsSymbolSize':!0x0},'radar':_0x2b90af,'series':{..._0x53676a,'radarFillOpacity':0.2,'rightAxis':{'ltr':!0x1,'rtl':((ri=_0x3cc793[_0x42a697(0x2b3)])==null?void 0x0:ri['rightYAxis'])??!0x1}},'style':_0x3498c5,'titles':_0x4b2829,'trendline':_0x2f622d,'waterfall':{..._0x1b0dd9,'useSubtotal':!0x0},'waterfallStyle':_0x46c2a2,'wordCloud':_0x3af533},ai=_0xb5de80=>_0xb5de80[_0x42a697(0x339)](_0x351816[_0x42a697(0x194)])[_0x42a697(0x193)](),oi=_0x4e144d=>{const _0x518fd6=_0x42a697;var _0x23eeb6;return(_0x23eeb6=_0x4e144d['getCurrentUnitOfType'](_0x351816[_0x518fd6(0x194)])['getActiveSheet']())==null?void 0x0:_0x23eeb6[_0x518fd6(0x1ec)]();},si=[_0x240ffc['Line'],_0x240ffc[_0x42a697(0x2df)],_0x240ffc[_0x42a697(0x3e6)],_0x240ffc[_0x42a697(0x223)],_0x240ffc[_0x42a697(0x1ad)],_0x240ffc[_0x42a697(0x27d)],_0x240ffc[_0x42a697(0x3ac)],_0x240ffc[_0x42a697(0x2a4)],_0x240ffc['Boxplot'],_0x240ffc['Candlestick'],_0x240ffc[_0x42a697(0x3c7)],_0x240ffc[_0x42a697(0x1b2)],_0x240ffc[_0x42a697(0x2ba)],_0x240ffc[_0x42a697(0x26e)],_0x240ffc['Chord']];function ci(){const _0x33c89d=_0x42a697;let _0x2173e4=_0x86f9d0();return _0x447924(_0x2af025,{'visible':si[_0x33c89d(0x39f)](_0x158142=>!_0x255937[_0x33c89d(0x265)](_0x2173e4,_0x158142))});}const li=_0x4fcb31=>{const _0x4f7f64=_0x42a697;let _0x123d6d=_0x367ed8(J),_0x5e5b8f=_0x367ed8(_0xd5d68c),_0x495ba4=_0x4c7049(_0x367ed8(_0x2f4582)),_0x5a1fe4=_0x4b66e2(()=>_0x331b94(Zr(Yr[_0x4f7f64(0x1aa)](),_0x495ba4)[_0x4f7f64(0x2bb)](_0x3b5136=>({'id':_0x3b5136['id'],'label':_0x5e5b8f['t'](_0x4f7f64(0x336)+_0x3b5136[_0x4f7f64(0x34f)]),'pieSecondaryPlotType':_0x3b5136[_0x4f7f64(0x30f)],'value':_0x3b5136[_0x4f7f64(0x2ef)]}))),[_0x495ba4,_0x5e5b8f]),_0x49ad5b=_0x1f7c84(_0x123d6d[_0x4f7f64(0x382)],_0x123d6d[_0x4f7f64(0x259)]),_0x13ca34=_0x1f7c84(_0x49ad5b==null?void 0x0:_0x49ad5b['dataSource']['rangeInfo$'],_0x49ad5b==null?void 0x0:_0x49ad5b[_0x4f7f64(0x263)]['getRangeInfo']()),_0x5718ff=_0x13ca34&&!Array[_0x4f7f64(0x262)](_0x13ca34)&&_0x13ca34[_0x4f7f64(0x1ab)]?_0x469e35[_0x4f7f64(0x3eb)]:_0x469e35[_0x4f7f64(0x39d)];return _0x4f508d(_0x4f7f64(0x18a),{'className':_0x4f7f64(0x186),'children':[_0x447924(_0x4d08fa,{'options':_0x5a1fe4}),_0x447924(_0x14264b,{}),_0x447924(_0x456843,{}),_0x447924(ci,{}),_0x447924(_0x4ab927,{}),_0x447924(ui,{'dataRange':_0x13ca34}),_0x447924(_0x35d650,{'categoryToggleLabel':_0x5e5b8f['t'](_0x4f7f64(0x2d3),_0x5718ff===_0x469e35[_0x4f7f64(0x3eb)]?_0x5718ff+'\x20'+(((_0x13ca34==null?void 0x0:_0x13ca34['rangeInfo'][_0x4f7f64(0x284)]['startRow'])??0x0)+0x1):_0x5718ff+'\x20'+_0x592b49((_0x13ca34==null?void 0x0:_0x13ca34['rangeInfo'][_0x4f7f64(0x284)]['startColumn'])??0x0)),'orientationControl':_0x447924(_0x3c6ee6,{'size':_0x4f7f64(0x1c1),'onClick':()=>_0x123d6d[_0x4f7f64(0x1a9)](_0x5718ff===_0x469e35[_0x4f7f64(0x3eb)]?_0x469e35[_0x4f7f64(0x39d)]:_0x469e35[_0x4f7f64(0x3eb)]),'children':_0x5e5b8f['t'](_0x4f7f64(0x16e))})}),_0x447924(_0x570a19,{}),_0x447924(_0x5770f4,{'defaultValues':_0x4fcb31[_0x4f7f64(0x37c)]['waterfall']})]});};function ui(_0x3b48b1){const _0x5a2275=_0x42a697;let {dataRange:_0x1f69da}=_0x3b48b1,_0x3b07bb=_0x367ed8(J),_0x2f5fdb=_0x367ed8(_0xd5d68c),_0x4f08eb=_0x367ed8(_0x39f3aa),[_0x1527cf,_0x59aa49]=_0x749001(!0x1),[_0x57fe12,_0xe3a0ba]=_0x749001(!0x1),_0xe376d5=ai(_0x4f08eb),_0x4194a8=oi(_0x4f08eb);_0x3ee071(()=>{const _0x39c415=_0x8d76;_0x3b07bb[_0x39c415(0x26c)](_0x1527cf);},[_0x1527cf,_0x3b07bb]);let _0xad54b5=_0x4b66e2(()=>_0x23b2a1(async _0x5a12c0=>{const _0x23d0b7=_0x8d76;var _0x10756d;if(Kr(_0x1f69da,_0x4f08eb)===_0x5a12c0)return;let _0x2f37ab=_0x5a12c0[_0x23d0b7(0x2fe)](',')[_0x23d0b7(0x3bd)](Boolean)['map'](_0x2aefeb)[0x0];if(!_0x2f37ab)return;let {unitId:_0x4297e3,sheetName:_0x1e75a6,range:_0x460f7c}=_0x2f37ab,_0x4c5ebb=_0x4297e3||_0xe376d5,_0x4c89f7=((_0x10756d=_0x4f08eb['getUnit'](_0x4c5ebb)[_0x23d0b7(0x1d9)](_0x1e75a6))==null?void 0x0:_0x10756d['getSheetId']())||(_0x1f69da==null?void 0x0:_0x1f69da[_0x23d0b7(0x2ca)][_0x23d0b7(0x267)]);_0x3b07bb[_0x23d0b7(0x222)]({'rangeInfo':{'range':_0x460f7c,'unitId':_0x4c5ebb,'subUnitId':_0x4c89f7},'isRowDirection':!0x0});},0x12c,{'leading':!0x1,'maxWait':0x3e8,'trailing':!0x0}),[_0x1f69da,_0x3b07bb,_0xe376d5,_0x4f08eb]);return _0x3ee071(()=>()=>_0xad54b5['cancel'](),[_0xad54b5]),_0x447924('div',{'className':'univer-flex\x20univer-flex-col\x20univer-gap-3','children':_0x4f508d(_0x5a2275(0x18a),{'children':[_0x447924(_0x84b2b8,{'title':_0x2f5fdb['t']('sheets-chart-ui.common.dataRange')}),_0x447924(_0x8f7d65,{'supportAcrossSheet':!0x0,'keepSheetReference':!0x0,'maxRangeCount':0x1,'unitId':_0xe376d5,'subUnitId':_0x4194a8,'initialValue':_0x1f69da?Kr(_0x1f69da,_0x4f08eb):'','onChange':(_0x17eb4a,_0x20fc89)=>_0xad54b5(_0x20fc89),'onFocusChange':_0x4ca1cd=>{_0x57fe12||_0x59aa49(_0x4ca1cd);},'onRangeSelectorDialogVisibleChange':_0x4fbed9=>{_0xe3a0ba(_0x4fbed9),_0x59aa49(_0x4fbed9);}})]})});}function Z(_0x4d7876){const _0x1d49de=_0x42a697;return _0x4f508d(_0xeb30a0,{'id':_0x4d7876['id'],'children':[_0x447924(_0x2bd995,{'children':_0x4d7876[_0x1d49de(0x279)]}),_0x447924(_0xa01ef5,{'children':_0x4d7876['children']})]});}const di=_0x54231d=>{const _0x4692d=_0x42a697;let _0x52acd9=_0x367ed8(_0xd5d68c),_0x55e896=_0x367ed8(J),_0x1e9227=_0x1f7c84(_0x55e896[_0x4692d(0x3cf)],null),_0x5b6e07=_0x1f7c84(_0x55e896[_0x4692d(0x323)],null),_0x554ca0=(_0x5b6e07==null?void 0x0:_0x5b6e07[_0x4692d(0x249)])===_0x1e9227?_0x5b6e07[_0x4692d(0x2be)]:null,_0x24fd60=_0x86f9d0(),_0x35f92e=_0x53a80a(),[_0xf853a6,_0x3f686d]=_0x749001(null);_0x3ee071(()=>{const _0x2442dc=_0x4692d;_0x554ca0!=null&&_0x554ca0[_0x2442dc(0x282)]&&_0x3f686d(_0x554ca0[_0x2442dc(0x282)]);},[_0x554ca0]);let _0x53de94=_0x255937[_0x4692d(0x265)](_0x24fd60,_0x240ffc[_0x4692d(0x1df)]),_0x30c0d9=_0x24fd60===_0x240ffc['Radar'],_0x9d5733=_0x24fd60===_0x240ffc['WordCloud'],_0x286ae2=_0x24fd60===_0x240ffc['Funnel'],_0x443faf=_0x255937['baseOn'](_0x24fd60,_0x240ffc['Bubble']),_0x58ae27=_0x24fd60===_0x240ffc[_0x4692d(0x27d)],_0x5c277f=_0x24fd60===_0x240ffc[_0x4692d(0x29b)],_0x45148d=_0x24fd60===_0x240ffc[_0x4692d(0x29c)],_0x7785c3=_0x24fd60===_0x240ffc['Heatmap'],_0x409339,_0x309174;switch(_0x24fd60){case _0x240ffc[_0x4692d(0x3e5)]:_0x409339=_0x3c23c3[_0x4692d(0x3e5)],_0x309174=_0x52acd9['t'](_0x4692d(0x18b));break;case _0x240ffc[_0x4692d(0x3c7)]:_0x409339=_0x3c23c3[_0x4692d(0x3c7)],_0x309174=_0x52acd9['t'](_0x4692d(0x347));break;case _0x240ffc[_0x4692d(0x1b2)]:_0x409339=_0x3c23c3[_0x4692d(0x1b2)],_0x309174=_0x52acd9['t'](_0x4692d(0x24b));break;case _0x240ffc[_0x4692d(0x2ba)]:_0x409339=_0x3c23c3[_0x4692d(0x2ba)],_0x309174=_0x52acd9['t'](_0x4692d(0x38f));break;case _0x240ffc[_0x4692d(0x26e)]:_0x409339=_0x3c23c3[_0x4692d(0x26e)],_0x309174=_0x52acd9['t'](_0x4692d(0x24f));break;case _0x240ffc[_0x4692d(0x2dd)]:_0x409339=_0x3c23c3['Chord'],_0x309174=_0x52acd9['t'](_0x4692d(0x203));break;}let _0x4a93a9=_0x1d1e32(_0x24fd60,_0x43169f[_0x4692d(0x3bc)])&&!_0x443faf&&!_0x45148d;return _0x4f508d(_0x575c48,{'value':_0xf853a6,'onChange':_0x3f686d,'children':[_0x447924(Z,{'id':_0x3c23c3[_0x4692d(0x1de)],'label':_0x52acd9['t'](_0x4692d(0x389)),'children':_0x447924(_0x581303,{'defaultValues':_0x54231d[_0x4692d(0x37c)][_0x4692d(0x211)],'showBodyFont':!0x0})}),_0x447924(Z,{'id':_0x3c23c3['ChartAndAxisTitles'],'label':_0x52acd9['t']('sheets-chart-ui.common.chartAndAxisTitles'),'children':_0x447924(_0x1a4929,{'commitMode':'blur','defaultValues':_0x54231d[_0x4692d(0x37c)]['titles'],'selectedTitleKey':_0x554ca0==null?void 0x0:_0x554ca0[_0x4692d(0x342)]})}),_0x4a93a9&&_0x447924(Z,{'id':_0x3c23c3[_0x4692d(0x294)],'label':_0x52acd9['t'](_0x4692d(0x330)),'children':_0x447924(_0x3c165b,{'defaultValues':_0x54231d[_0x4692d(0x37c)][_0x4692d(0x359)],'NumberFormatField':_0x3102a0,'selectedSeriesId':_0x554ca0==null?void 0x0:_0x554ca0[_0x4692d(0x174)]})}),_0x5c277f&&_0x447924(Z,{'id':_0x3c23c3['WaterfallSeries'],'label':_0x52acd9['t'](_0x4692d(0x3bf)),'children':_0x447924(_0x3fecf2,{'defaultValues':_0x54231d[_0x4692d(0x37c)][_0x4692d(0x3c8)],'getDefaultBucketName':({seriesName:_0x2e8dfe,target:_0x4850b8})=>_0x4850b8===_0x563997['Subtotal']?_0x52acd9['t'](_0x4692d(0x392)):_0x2e8dfe?_0x2e8dfe+'-('+_0x52acd9['t'](_0x4850b8===_0x563997[_0x4692d(0x30d)]?_0x4692d(0x29a):_0x4692d(0x3cb))+')':'','NumberFormatField':_0x3102a0,'selectedSeriesId':_0x554ca0==null?void 0x0:_0x554ca0[_0x4692d(0x174)]})}),_0x45148d&&_0x4f508d(_0x2bd778,{'children':[_0x447924(Z,{'id':_0x3c23c3['ParetoBarSeries'],'label':_0x52acd9['t'](_0x4692d(0x183)),'children':_0x447924(_0x37c56e,{'defaultValues':_0x54231d['defaultValues'][_0x4692d(0x376)],'NumberFormatField':_0x3102a0,'showDataPointEditor':!0x0,'target':_0x4692d(0x1b0)})}),_0x447924(Z,{'id':_0x3c23c3['ParetoLineSeries'],'label':_0x52acd9['t'](_0x4692d(0x2a1)),'children':_0x447924(_0x37c56e,{'defaultValues':_0x54231d[_0x4692d(0x37c)][_0x4692d(0x376)],'NumberFormatField':_0x3102a0,'showDataPointEditor':!0x1,'target':_0x4692d(0x30c)})})]}),_0x53de94&&_0x447924(Z,{'id':_0x3c23c3[_0x4692d(0x3bb)],'label':_0x52acd9['t'](_0x4692d(0x1ea)),'children':_0x447924(_0x4e0d64,{'defaultValues':_0x54231d[_0x4692d(0x37c)][_0x4692d(0x355)],'NumberFormatField':_0x3102a0})}),_0x9d5733&&_0x447924(Z,{'id':_0x3c23c3[_0x4692d(0x3e6)],'label':_0x52acd9['t']('sheets-chart-ui.section.wordCloud'),'children':_0x447924(_0x516864,{'defaultValues':_0x54231d[_0x4692d(0x37c)][_0x4692d(0x2c5)]})}),_0x30c0d9&&_0x447924(Z,{'id':_0x3c23c3['Radar'],'label':_0x52acd9['t'](_0x4692d(0x395)),'children':_0x447924(_0xb6967a,{'defaultValues':_0x54231d[_0x4692d(0x37c)]['radar']})}),_0x286ae2&&_0x447924(Z,{'id':_0x3c23c3['Funnel'],'label':_0x52acd9['t']('sheets-chart-ui.section.funnel'),'children':_0x447924(_0xbc3057,{'defaultValues':_0x54231d[_0x4692d(0x37c)][_0x4692d(0x1e1)],'gapControl':'select'})}),_0x7785c3&&_0x447924(Z,{'id':_0x3c23c3[_0x4692d(0x2a4)],'label':_0x52acd9['t'](_0x4692d(0x3ea)),'children':_0x447924(_0x3c4227,{'defaultValues':_0x54231d['defaultValues']['heatmap']})}),_0x58ae27&&_0x447924(Z,{'id':_0x3c23c3[_0x4692d(0x27d)],'label':_0x52acd9['t'](_0x4692d(0x198)),'children':_0x447924(_0x43b985,{'defaultValues':_0x54231d[_0x4692d(0x37c)][_0x4692d(0x21b)]})}),_0x131c61(_0x24fd60)&&_0x447924(Z,{'id':_0x3c23c3['LineAndArea'],'label':_0x52acd9['t'](_0x4692d(0x1e7)),'children':_0x447924(_0x4a4456,{'defaultValues':_0x54231d[_0x4692d(0x37c)][_0x4692d(0x2ad)],'lineStyleControl':_0x4692d(0x1b6)})}),_0x1d1e32(_0x24fd60,_0x43169f[_0x4692d(0x2bc)])&&_0x447924(Z,{'id':_0x3c23c3['Legend'],'label':_0x52acd9['t'](_0x4692d(0x31f)),'children':_0x447924(_0x458cad,{'defaultValues':_0x54231d['defaultValues']['legend']})}),_0x1d1e32(_0x24fd60,_0x43169f[_0x4692d(0x275)])&&_0x4f508d(_0x2bd778,{'children':[_0x447924(Z,{'id':_0x3c23c3[_0x4692d(0x16d)],'label':_0x52acd9['t'](_0x4692d(0x309)),'children':_0x447924(_0xccd877,{'axis':'x','defaultValues':_0x54231d[_0x4692d(0x37c)][_0x4692d(0x3a7)],'NumberFormatField':_0x3102a0})}),_0x447924(Z,{'id':_0x3c23c3['VerticalAxis'],'label':_0x52acd9['t'](_0x4692d(0x2c2)),'children':_0x447924(_0xccd877,{'axis':'y','defaultValues':_0x54231d[_0x4692d(0x37c)][_0x4692d(0x3a7)],'NumberFormatField':_0x3102a0})}),_0x35f92e&&_0x447924(Z,{'id':_0x3c23c3['RightVerticalAxis'],'label':_0x52acd9['t'](_0x4692d(0x188)),'children':_0x447924(_0xccd877,{'axis':'rightY','defaultValues':_0x54231d[_0x4692d(0x37c)][_0x4692d(0x3a7)],'NumberFormatField':_0x3102a0})}),_0x447924(Z,{'id':_0x3c23c3[_0x4692d(0x2a0)],'label':_0x52acd9['t'](_0x4692d(0x2d1)),'children':_0x447924(_0x109817,{'defaultValues':_0x54231d[_0x4692d(0x37c)]['axis']})})]}),_0x1d1e32(_0x24fd60,_0x43169f['IndicatorLine'])&&_0x447924(Z,{'id':_0x3c23c3[_0x4692d(0x19b)],'label':_0x52acd9['t']('sheets-chart-ui.section.indicatorLine'),'children':_0x447924(_0xd2470d,{'defaultValues':_0x54231d[_0x4692d(0x37c)][_0x4692d(0x3dd)]})}),_0x424832(_0x24fd60)&&_0x447924(Z,{'id':_0x3c23c3[_0x4692d(0x191)],'label':_0x52acd9['t'](_0x4692d(0x35a)),'children':_0x447924(_0x678707,{'defaultValues':_0x54231d[_0x4692d(0x37c)][_0x4692d(0x301)]})}),_0x409339&&_0x309174&&_0x447924(Z,{'id':_0x409339,'label':_0x309174,'children':_0x447924(_0x359faf,{})})]});};function fi(_0x1c1edd){const _0x348e5e=_0x42a697;let {className:_0x3858c1}=_0x1c1edd,[_0x1d1afa,_0x73916c]=_0x749001(_0x3b42b0['Data']),_0x5e2034=_0x367ed8(_0x2f4582),_0x1c6744=_0x367ed8(_0xd5d68c),_0x11146f=_0x367ed8(J),_0x4a46e5=_0x1f7c84(_0x11146f[_0x348e5e(0x3cf)],null),_0x8487b9=_0x1f7c84(_0x11146f[_0x348e5e(0x382)],null),_0x14afc4=_0x1f7c84(_0x11146f[_0x348e5e(0x323)],null),_0x53f1d6=_0x4b66e2(()=>{const _0xa07a75=_0x348e5e;var _0x1b4723;if(!_0x8487b9)return null;let _0x544d95=_0x8487b9[_0xa07a75(0x263)][_0xa07a75(0x31c)](),_0x3d49da=Array[_0xa07a75(0x262)](_0x544d95)?(_0x1b4723=_0x544d95[0x0])==null?void 0x0:_0x1b4723['range']:_0x544d95[_0xa07a75(0x2ca)];return _0x3d49da?new _0x5ef80d(_0x8487b9,new _0x17cadd({'unitId':_0x3d49da[_0xa07a75(0x201)],'subUnitId':_0x3d49da[_0xa07a75(0x267)],'chartId':_0x8487b9['id'],'injector':_0x5e2034})):null;},[_0x8487b9,_0x5e2034]);_0x3ee071(()=>{const _0x61d0b9=_0x348e5e;var _0x512d23,_0x3f11c9;(_0x14afc4==null?void 0x0:_0x14afc4[_0x61d0b9(0x249)])===_0x4a46e5&&(((_0x512d23=_0x14afc4[_0x61d0b9(0x2be)])==null?void 0x0:_0x512d23[_0x61d0b9(0x325)])===_0x3b42b0[_0x61d0b9(0x322)]&&_0x73916c(_0x3b42b0['Style']),((_0x3f11c9=_0x14afc4[_0x61d0b9(0x2be)])==null?void 0x0:_0x3f11c9[_0x61d0b9(0x325)])===_0x3b42b0[_0x61d0b9(0x25f)]&&_0x73916c(_0x3b42b0[_0x61d0b9(0x25f)]));},[_0x4a46e5,_0x14afc4]);let _0x4ef390=_0x4f508d('div',{'className':_0x348e5e(0x209)+(_0x1d1afa===_0x3b42b0['Style']?_0x348e5e(0x22d):_0x348e5e(0x20c))+'\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x3858c1??'')+_0x348e5e(0x1fa),'children':[_0x447924(_0x49153f,{'ariaLabel':_0x1c6744['t'](_0x348e5e(0x21a)),'className':'univer-shrink-0','items':[{'label':_0x1c6744['t'](_0x348e5e(0x383)),'panelId':mi,'value':_0x3b42b0[_0x348e5e(0x25f)]},{'label':_0x1c6744['t'](_0x348e5e(0x19f)),'panelId':hi,'value':_0x3b42b0['Style']}],'value':_0x1d1afa,'onChange':_0x73916c}),_0x1d1afa===_0x3b42b0[_0x348e5e(0x25f)]?_0x447924(_0x2424c5,{'id':mi,'label':_0x1c6744['t']('sheets-chart-ui.common.setup'),'children':_0x447924(li,{'defaultValues':ii})}):_0x447924(_0x2424c5,{'id':hi,'className':_0x348e5e(0x22b),'label':_0x1c6744['t'](_0x348e5e(0x19f)),'children':_0x447924(di,{'defaultValues':ii})})]});return _0x53f1d6?_0x447924(_0xf1436d,{'chartUIService':_0x11146f,'hostAdapter':_0x53f1d6,'children':_0x4ef390}):_0x4ef390;}const pi=_0x42a697(0x295),mi=_0x42a697(0x1c3),hi=_0x42a697(0x348);function gi(_0x2585e2){const _0x3e7e7c=_0x42a697;if(_0x2585e2[_0x3e7e7c(0x206)]!==0x1)return!0x1;let _0x1ba4c8=_0x2585e2[0x0];return _0x1ba4c8[_0x3e7e7c(0x341)]===_0x4cd99f['DRAWING_CHART']&&!_0x1ba4c8['groupId'];}let Q=class extends _0x306247{constructor(_0x258f99,_0x74bcb3,_0x46d8d,_0x1c1fb2,_0x44c733,_0x4da1c8,_0x3f8c19,_0x290f9c,_0x47bf73,_0x5aa25b,_0x33b301,_0x2775a8,_0x4a89de,_0x22e11f,_0x2fddce){const _0x33a12f=_0x42a697;var _0x222cc6;super(),this[_0x33a12f(0x1f1)]=_0x258f99,this[_0x33a12f(0x32e)]=_0x74bcb3,this['_chartModelService']=_0x46d8d,this['_chartRenderService']=_0x1c1fb2,this[_0x33a12f(0x1f4)]=_0x44c733,this[_0x33a12f(0x190)]=_0x4da1c8,this[_0x33a12f(0x354)]=_0x3f8c19,this[_0x33a12f(0x23d)]=_0x290f9c,this[_0x33a12f(0x343)]=_0x47bf73,this['_sheetCanvasPopManagerService']=_0x5aa25b,this[_0x33a12f(0x2a7)]=_0x33b301,this['_sheetsChartUIService']=_0x2775a8,this[_0x33a12f(0x27f)]=_0x4a89de,this[_0x33a12f(0x289)]=_0x22e11f,U(this,_0x33a12f(0x2d0),null),U(this,'_isChartElementEditEnabled',void 0x0),this[_0x33a12f(0x352)]=((_0x222cc6=_0x2fddce['getConfig'](_0x33a12f(0x2da)))==null?void 0x0:_0x222cc6['enableChartElementFloatMenu'])===!0x0,this[_0x33a12f(0x29e)](),this['disposeWithMe'](this[_0x33a12f(0x32e)]['getCurrentTypeOfUnit$'](_0x351816[_0x33a12f(0x194)])[_0x33a12f(0x2d9)](_0x4fc08f=>{const _0x2a4d8a=_0x33a12f;var _0x470298;_0x4fc08f||(_0x470298=this[_0x2a4d8a(0x2d0)])==null||_0x470298[_0x2a4d8a(0x1e4)]();})),this['disposeWithMe'](_0x35a9aa(this['_sheetDrawingHitTestService'][_0x33a12f(0x207)][_0x33a12f(0x2d9)](async({drawing:_0xd66a35})=>{const _0x18772e=_0x33a12f;await this[_0x18772e(0x1cd)](_0xd66a35);})));}[_0x42a697(0x3ca)](){const _0x122c1c=_0x42a697;this[_0x122c1c(0x2d0)]=this[_0x122c1c(0x190)][_0x122c1c(0x1bb)]({'id':pi,'header':{'title':this[_0x122c1c(0x289)]['t']('sheets-chart-ui.common.editChart')},'width':0x154,'children':{'label':pi},'onClose':()=>{const _0x33882d=_0x122c1c;this[_0x33882d(0x2a8)]['setActiveChartModel'](null),this['_deactivateEditPanelState'](),this['_drawingManagerService'][_0x33882d(0x1f6)](null),this[_0x33882d(0x27f)][_0x33882d(0x3b3)](_0x4965bb,!0x1),this[_0x33882d(0x2d0)]=null;}});}['hidePanel'](){const _0x12590e=_0x42a697;var _0x1853e4;this[_0x12590e(0x2a8)][_0x12590e(0x302)](null),this[_0x12590e(0x1ef)](),(_0x1853e4=this[_0x12590e(0x2d0)])==null||_0x1853e4[_0x12590e(0x1e4)]();}[_0x42a697(0x3a3)](){const _0x330baa=_0x42a697;let _0x5ddf86=this[_0x330baa(0x32e)][_0x330baa(0x339)](_0x351816[_0x330baa(0x194)]);this[_0x330baa(0x1c6)](this[_0x330baa(0x190)]['sidebarOptions$'][_0x330baa(0x2d9)](_0x2ff310=>{const _0x4b8115=_0x330baa;_0x2ff310['id']===_0x4b8115(0x295)&&(_0x2ff310[_0x4b8115(0x2b7)]||this[_0x4b8115(0x190)]['sidebarOptions$']['next']({'visible':!0x1}));})),this['disposeWithMe'](this[_0x330baa(0x2a7)][_0x330baa(0x3c0)](_0x35d09e=>{const _0x39214f=_0x330baa;if(_0x35d09e['id']===V['id']){let _0x377972=_0x35d09e[_0x39214f(0x34c)];this[_0x39214f(0x227)](_0x377972[_0x39214f(0x2ae)],_0x377972[_0x39214f(0x2be)]);}if(_0x35d09e['id']===mr['id']&&this['hidePanel'](),_0x35d09e['id']===_0x54d713['id']){var _0x43515e;_0x35d09e[_0x39214f(0x34c)][_0x39214f(0x249)]===((_0x43515e=this['_chartModelService'][_0x39214f(0x259)])==null?void 0x0:_0x43515e['id'])&&this['hidePanel'](),this[_0x39214f(0x27f)][_0x39214f(0x17c)](_0x4965bb)&&(this[_0x39214f(0x27f)]['setContextValue'](_0x4965bb,!0x1),this[_0x39214f(0x1f1)][_0x39214f(0x1f6)](null));}})),this[_0x330baa(0x1c6)](this[_0x330baa(0x343)][_0x330baa(0x1cc)]['subscribe'](({id:_0x7d0104})=>{const _0x13206b=_0x330baa;_0x7d0104===this['_sheetsChartUIService'][_0x13206b(0x2f1)]&&this[_0x13206b(0x1f3)]();})),this[_0x330baa(0x1c6)](this[_0x330baa(0x343)][_0x330baa(0x257)][_0x330baa(0x2d9)](({id:_0x6204af})=>{const _0x3b34f7=_0x330baa;_0x6204af===this['_sheetsChartUIService'][_0x3b34f7(0x2f1)]&&(this[_0x3b34f7(0x388)][_0x3b34f7(0x2ce)](null),this['_sheetsChartUIService']['clearPanelRoute'](),this['_chartRenderService']['setElementEditMode'](_0x6204af,!0x1),this[_0x3b34f7(0x335)](_0x6204af)&&this[_0x3b34f7(0x320)][_0x3b34f7(0x3a4)](_0x6204af,!0x0));})),this[_0x330baa(0x1c6)](this[_0x330baa(0x1f1)]['focus$'][_0x330baa(0x2d9)](_0x13eb70=>{const _0x233e56=_0x330baa;let _0x4649c3=_0x13eb70[0x0];if(!this[_0x233e56(0x388)][_0x233e56(0x356)]){if(gi(_0x13eb70)){var _0xfa433;let _0x3013ee=this[_0x233e56(0x2a8)][_0x233e56(0x18d)](_0x4649c3[_0x233e56(0x2ae)]);_0x3013ee&&((_0xfa433=this[_0x233e56(0x2a8)][_0x233e56(0x259)])==null?void 0x0:_0xfa433['id'])!==_0x3013ee['id']&&this['_chartModelService'][_0x233e56(0x302)](_0x3013ee);return;}this[_0x233e56(0x2a8)]['activeChartModel']&&this[_0x233e56(0x2a8)][_0x233e56(0x302)](null),!_0x4649c3&&!this[_0x233e56(0x388)][_0x233e56(0x356)]&&this[_0x233e56(0x1f3)]();}})),_0x5ddf86&&(this[_0x330baa(0x1c6)](_0x5ddf86[_0x330baa(0x28b)][_0x330baa(0x2d9)](()=>{const _0x3fb887=_0x330baa;this[_0x3fb887(0x1f3)]();})),this[_0x330baa(0x1c6)](_0x5ddf86[_0x330baa(0x1d7)][_0x330baa(0x2d9)](()=>{const _0x5653b8=_0x330baa;this[_0x5653b8(0x1f3)]();})));}async[_0x42a697(0x1cd)](_0x42aba0){const _0x16a568=_0x42a697;this[_0x16a568(0x388)]['activeEditChart']||_0x42aba0['drawingType']===_0x4cd99f['DRAWING_CHART']&&await this[_0x16a568(0x2fc)](_0x42aba0[_0x16a568(0x201)],_0x42aba0['subUnitId'],_0x42aba0['drawingId']);}async[_0x42a697(0x2fc)](_0x207d40,_0x5cf332,_0x509063){const _0x57fa4b=_0x42a697;let _0x2e85e9=this[_0x57fa4b(0x2a8)][_0x57fa4b(0x18d)](_0x509063);_0x2e85e9&&(this['_chartModelService'][_0x57fa4b(0x302)](_0x2e85e9),await this[_0x57fa4b(0x2a7)]['executeCommand'](V['id'],{'unitId':_0x207d40,'subUnitId':_0x5cf332,'drawingId':_0x509063}));}[_0x42a697(0x227)](_0x314334,_0x4934cc){const _0x2ffb45=_0x42a697;let _0x4b54a9=this[_0x2ffb45(0x2a8)][_0x2ffb45(0x18d)](_0x314334);_0x4b54a9&&(this[_0x2ffb45(0x2a8)][_0x2ffb45(0x302)](_0x4b54a9),this[_0x2ffb45(0x3ca)](),this[_0x2ffb45(0x2d2)](_0x314334,_0x4934cc??null));}[_0x42a697(0x2d2)](_0x518c39,_0x38b8e5){const _0x476065=_0x42a697;let _0x4b1e85=this[_0x476065(0x388)]['activeEditChart'];_0x4b1e85&&_0x4b1e85!==_0x518c39&&(this[_0x476065(0x320)][_0x476065(0x3a4)](_0x4b1e85,!0x1),this[_0x476065(0x388)][_0x476065(0x2ce)](null)),this[_0x476065(0x388)]['setActiveEditChart'](_0x518c39),this[_0x476065(0x388)][_0x476065(0x331)](_0x518c39,_0x38b8e5),this['_chartRenderService']['setElementEditMode'](_0x518c39,this['_shouldEnableChartElementEdit'](_0x518c39));}[_0x42a697(0x1ef)](){const _0x49992d=_0x42a697;let _0x1a6dc9=this[_0x49992d(0x388)][_0x49992d(0x2f1)];_0x1a6dc9&&this['_chartRenderService'][_0x49992d(0x3a4)](_0x1a6dc9,!0x1),this['_sheetsChartUIService'][_0x49992d(0x367)](null),this[_0x49992d(0x388)][_0x49992d(0x2ce)](null),this[_0x49992d(0x388)][_0x49992d(0x28a)]();}[_0x42a697(0x29e)](){const _0x553fbc=_0x42a697;this[_0x553fbc(0x354)][_0x553fbc(0x1e3)]($r),this[_0x553fbc(0x1c6)](this['_drawingContextMenuService'][_0x553fbc(0x1bf)](_0x4cd99f['DRAWING_CHART'],{'getContextMenuPosition':()=>zr})),this[_0x553fbc(0x1c0)][_0x553fbc(0x3f3)](_0x4cd99f[_0x553fbc(0x3b1)],this[_0x553fbc(0x1e2)][_0x553fbc(0x2c0)](this));}[_0x42a697(0x335)](_0x498315){const _0x213acf=_0x42a697;let _0x521a5e=this['_chartModelService']['getChartModel'](_0x498315);return!this['_isChartElementEditEnabled']||!_0x521a5e?!0x1:ti(_0x521a5e[_0x213acf(0x2a2)]);}[_0x42a697(0x1e2)](_0xe8d7b9,_0x16dd62,_0x491f6d,_0xe040cb){const _0x445c39=_0x42a697;return[{'label':this[_0x445c39(0x289)]['t'](_0x445c39(0x217)),'index':0x0,'commandId':V['id'],'commandParams':{'unitId':_0xe8d7b9,'subUnitId':_0x16dd62,'drawingId':_0x491f6d},'disable':_0xe040cb!==_0x4cd99f[_0x445c39(0x3b1)]},{'label':this[_0x445c39(0x289)]['t']('sheets-chart-ui.common.deleteChart'),'index':0x1,'commandId':_0x42f5a4['id'],'commandParams':{'unitId':_0xe8d7b9,'drawings':[{'unitId':_0xe8d7b9,'subUnitId':_0x16dd62,'drawingId':_0x491f6d,'drawingType':_0xe040cb}]},'disable':!0x1},{'label':this[_0x445c39(0x289)]['t']('sheets-chart-ui.common.hideChartPanel'),'index':0x2,'commandId':mr['id'],'commandParams':{'unitId':_0xe8d7b9,'subUnitId':_0x16dd62,'drawingId':_0x491f6d},'disable':!0x1}];}};Q=q([K(0x0,_0x3e323c),K(0x1,_0x39f3aa),K(0x2,_0x3c5f23(_0x3db1ab)),K(0x3,_0x3c5f23(Y)),K(0x4,_0x3c5f23(_0x18294c)),K(0x5,_0x3c5f23(_0x2ce6f1)),K(0x6,_0x35353b),K(0x7,_0x2afa85),K(0x8,_0x3c5f23(_0x463e32)),K(0x9,_0x3c5f23(_0x4d1830)),K(0xa,_0x5e196b),K(0xb,J),K(0xc,_0x52e096),K(0xd,_0x3c5f23(_0xd5d68c)),K(0xe,_0x42fc9b)],Q);var _i=_0x42a697(0x247),vi=_0x42a697(0x1ca);const yi={'scaleX':0x1,'scaleY':0x1};function bi(_0x4c8183){const _0x4e4718=_0x42a697;let _0x590807=_0x4c8183[_0x4e4718(0x3a5)];return _0x590807 instanceof MouseEvent?_0x590807:void 0x0;}function xi(_0x5ad950){let _0x3fe8d9=_0x5ad950['nativeEvent'],_0x48f412=_0x3fe8d9==null?void 0x0:_0x3fe8d9['target'];return _0x48f412 instanceof Element?_0x48f412:void 0x0;}function Si(_0x131ef5){const _0x254bf2=_0x42a697;var _0x2cc478;return(_0x2cc478=xi(_0x131ef5))==null?void 0x0:_0x2cc478[_0x254bf2(0x36a)]();}function Ci(_0x3df16c){const _0x1f3ad6=_0x42a697;return _0x3df16c[_0x1f3ad6(0x180)]||_0x3df16c[_0x1f3ad6(0x1b5)]-_0x3df16c[_0x1f3ad6(0x329)];}function wi(_0x15de6b){const _0x4684a2=_0x42a697;return _0x15de6b[_0x4684a2(0x20b)]||_0x15de6b[_0x4684a2(0x291)]-_0x15de6b[_0x4684a2(0x181)];}function Ti(_0x753770,_0xa93177){const _0x104443=_0x42a697;let _0x38feb1=_0x753770[_0x104443(0x177)]||(_0x753770 instanceof HTMLElement?_0x753770[_0x104443(0x244)]:0x0),_0x248fe6=_0x753770[_0x104443(0x34d)]||(_0x753770 instanceof HTMLElement?_0x753770[_0x104443(0x314)]:0x0),_0x588f67=Ci(_0xa93177),_0x4f1ae4=wi(_0xa93177);return{'scaleX':_0x38feb1>0x0&&_0x588f67>0x0?_0x588f67/_0x38feb1:yi[_0x104443(0x3c6)],'scaleY':_0x248fe6>0x0&&_0x4f1ae4>0x0?_0x4f1ae4/_0x248fe6:yi[_0x104443(0x235)]};}function Ei(_0x3c2157,_0xa480b8,_0x12dc0f){const _0x32ef9a=_0x42a697;return{'left':_0x3c2157[_0x32ef9a(0x329)]+_0xa480b8[_0x32ef9a(0x329)]*_0x12dc0f[_0x32ef9a(0x3c6)],'right':_0x3c2157['left']+_0xa480b8['right']*_0x12dc0f['scaleX'],'top':_0x3c2157['top']+_0xa480b8[_0x32ef9a(0x181)]*_0x12dc0f['scaleY'],'bottom':_0x3c2157[_0x32ef9a(0x181)]+_0xa480b8[_0x32ef9a(0x291)]*_0x12dc0f[_0x32ef9a(0x235)]};}function Di(_0x327298){const _0x58d84c=_0x42a697;let _0x482251=xi(_0x327298),_0xa3b16f=_0x327298[_0x58d84c(0x1a6)][_0x58d84c(0x380)];return _0x482251&&_0xa3b16f?()=>{const _0x26bed1=_0x58d84c;let _0x58457f=_0x482251[_0x26bed1(0x36a)]();return Ei(_0x58457f,_0xa3b16f,Ti(_0x482251,_0x58457f));}:()=>{const _0x26c1bf=_0x58d84c;let _0x633a22=Si(_0x327298);if(_0x633a22&&_0xa3b16f)return Ei(_0x633a22,_0xa3b16f,_0x482251?Ti(_0x482251,_0x633a22):yi);let _0x1d1383=bi(_0x327298),_0x4f26a6=_0x482251&&_0x633a22?Ti(_0x482251,_0x633a22):yi,_0x2f1e06=(_0x1d1383==null?void 0x0:_0x1d1383['clientX'])??(_0x633a22?_0x633a22['left']+_0x327298[_0x26c1bf(0x1f0)]['x']*_0x4f26a6[_0x26c1bf(0x3c6)]:_0x327298['localPoint']['x']),_0x52878c=(_0x1d1383==null?void 0x0:_0x1d1383[_0x26c1bf(0x369)])??(_0x633a22?_0x633a22['top']+_0x327298[_0x26c1bf(0x1f0)]['y']*_0x4f26a6[_0x26c1bf(0x235)]:_0x327298[_0x26c1bf(0x1f0)]['y']);return{'left':_0x2f1e06,'right':_0x2f1e06+0x1,'top':_0x52878c,'bottom':_0x52878c+0x1};};}function Oi(_0x26372c){const _0x20c419=_0x42a697;return typeof _0x26372c==_0x20c419(0x1a5)&&Number['isFinite'](_0x26372c);}function ki(_0x27bbe3){const _0x501971=_0x42a697;if(!_0x27bbe3||typeof _0x27bbe3!=_0x501971(0x351))return!0x0;let {startX:_0x377da3,endX:_0x2e4ef7,startY:_0x5ec71b,endY:_0x2489de}=_0x27bbe3;return!Oi(_0x377da3)||!Oi(_0x2e4ef7)||!Oi(_0x5ec71b)||!Oi(_0x2489de)||_0x2e4ef7-_0x377da3>0x2&&_0x2489de-_0x5ec71b>0x2;}function Ai(_0x39f41a){const _0x3d313b=_0x42a697;return _0x39f41a[_0x3d313b(0x1b5)]<=_0x39f41a['left']||_0x39f41a[_0x3d313b(0x291)]<=_0x39f41a[_0x3d313b(0x181)]?!0x1:typeof window>'u'||_0x39f41a[_0x3d313b(0x1b5)]>0x0&&_0x39f41a['bottom']>0x0&&_0x39f41a['left']<window[_0x3d313b(0x3c4)]&&_0x39f41a[_0x3d313b(0x181)]<window[_0x3d313b(0x19e)];}function ji(_0x5344b8){const _0x3eae5e=_0x42a697;var _0xed22e2;return _0x5344b8==null||(_0xed22e2=_0x5344b8['getValue'])==null?void 0x0:_0xed22e2[_0x3eae5e(0x286)](_0x5344b8);}function Mi(_0x3d55df,_0x1437ef,_0x517c05){const _0x56376a=_0x42a697;let _0x43258c=Di(_0x3d55df),_0x4f99de=ji(_0x1437ef),_0x119d30=_0x43258c(),_0x50056e=new _0x2b0349(_0x119d30),_0x22e6d7=new _0x26ed62(),_0x4604c5=!0x1,_0x125edf=!0x1,_0x4358ce=_0x28088f=>ki(_0x4f99de)&&Ai(_0x28088f),_0x776692=()=>{_0x125edf||_0x4604c5||(_0x125edf=!0x0,queueMicrotask(()=>{if(_0x125edf=!0x1,!_0x4604c5){let _0x33b392=_0x43258c();if(!_0x4358ce(_0x33b392)){_0x517c05();return;}_0x50056e['next'](_0x33b392);}}));};return _0x1437ef&&_0x22e6d7[_0x56376a(0x245)](_0x1437ef[_0x56376a(0x2d9)](_0x3d5e80=>{_0x4f99de=_0x3d5e80,_0x776692();})),typeof window<'u'&&_0x22e6d7['add'](_0x4b9e2a(_0x2843a7(window,'scroll',{'capture':!0x0}),_0x2843a7(window,_0x56376a(0x31d)))[_0x56376a(0x2f9)](_0x90ae39(0x10))[_0x56376a(0x2d9)](_0x776692)),{'initialRect':_0x119d30,'anchorRect$':_0x50056e[_0x56376a(0x3a2)](),'visible':_0x4358ce(_0x119d30),'dispose':()=>{const _0x423cad=_0x56376a;_0x4604c5=!0x0,_0x22e6d7[_0x423cad(0x1e4)](),_0x50056e[_0x423cad(0x358)]();}};}const Ni=_0x42a697(0x3d8);let Pi=class extends _0x306247{constructor(_0x52d485,_0x5989ab,_0x30d532,_0x5ca9f4,_0x10927f,_0x1f675c,_0x574e0e,_0x433e46,_0x4d9af1){const _0x3c1d7d=_0x42a697;super(),this[_0x3c1d7d(0x2a8)]=_0x52d485,this[_0x3c1d7d(0x320)]=_0x5989ab,this[_0x3c1d7d(0x1ce)]=_0x30d532,this['_sheetCanvasPopManagerService']=_0x5ca9f4,this[_0x3c1d7d(0x343)]=_0x10927f,this['_chartUIService']=_0x1f675c,this[_0x3c1d7d(0x3d5)]=_0x574e0e,this[_0x3c1d7d(0x2a7)]=_0x433e46,this[_0x3c1d7d(0x2e4)]=_0x4d9af1,U(this,_0x3c1d7d(0x31b),null),U(this,'_popupChartId',null),this[_0x3c1d7d(0x25b)](),this[_0x3c1d7d(0x3d0)]();}['dispose'](){const _0x4ae302=_0x42a697;this[_0x4ae302(0x23a)](),super[_0x4ae302(0x1e4)]();}[_0x42a697(0x25b)](){const _0x54fe14=_0x42a697;let _0x49b627=_0x22ec99({'chartUIService':this[_0x54fe14(0x368)],'getHostAdapter':_0x3beff1=>{const _0x358900=_0x54fe14;this[_0x358900(0x2b0)](_0x3beff1[_0x358900(0x249)]);let _0x3f4e8e=this[_0x358900(0x2a8)][_0x358900(0x18d)](_0x3beff1[_0x358900(0x249)]);if(!(!_0x3f4e8e||!_0x3beff1[_0x358900(0x267)]))return new _0x5ef80d(_0x3f4e8e,new _0x17cadd({'unitId':_0x3beff1[_0x358900(0x201)],'subUnitId':_0x3beff1[_0x358900(0x267)],'chartId':_0x3beff1[_0x358900(0x249)],'injector':this[_0x358900(0x2e4)]}));},'close':()=>this[_0x54fe14(0x23a)](),'openFullPanel':_0x5db464=>{const _0x325363=_0x54fe14;let {unitId:_0x5b5871,subUnitId:_0x370c42,drawingId:_0x169ad2,chartId:_0x2fac47}=_0x5db464,_0x1aa6fc=_0x560369(_0x5db464[_0x325363(0x22c)]);this[_0x325363(0x2a7)][_0x325363(0x312)](V['id'],{'unitId':_0x5b5871,'subUnitId':_0x370c42??'','drawingId':_0x169ad2??_0x2fac47,..._0x1aa6fc?{'route':_0x1aa6fc}:{}});}});this[_0x54fe14(0x1c6)](this[_0x54fe14(0x3d5)][_0x54fe14(0x38a)](Ni,_0x49b627));}[_0x42a697(0x3d0)](){const _0x4f4175=_0x42a697;this[_0x4f4175(0x1c6)](this[_0x4f4175(0x2a8)][_0x4f4175(0x21d)][_0x4f4175(0x2d9)](_0x5aac09=>{const _0x5912d6=_0x4f4175;let _0x3ac690=new _0x26ed62();_0x3ac690[_0x5912d6(0x245)](this[_0x5912d6(0x320)]['on'](_0x5aac09['id'],'click',_0x2f16ef=>{const _0x2603f1=_0x5912d6;this[_0x2603f1(0x228)](_0x5aac09['id'],_0x2f16ef);})),_0x3ac690[_0x5912d6(0x245)](this['_chartRenderService']['on'](_0x5aac09['id'],_0x5912d6(0x2fb),()=>{const _0x4f13d1=_0x5912d6;this[_0x4f13d1(0x2fc)](_0x5aac09['id']);})),_0x5aac09['onDispose'](()=>{const _0x25effc=_0x5912d6;_0x3ac690[_0x25effc(0x1e4)](),this[_0x25effc(0x2c9)](_0x5aac09['id']);}),this[_0x5912d6(0x1c6)](_0x3ac690);})),this[_0x4f4175(0x1c6)](this[_0x4f4175(0x368)]['activeEditChart$']['subscribe'](_0x294365=>{const _0x4812e6=_0x4f4175;(!_0x294365||this[_0x4812e6(0x36f)]&&_0x294365!==this[_0x4812e6(0x36f)])&&this[_0x4812e6(0x23a)]();})),this[_0x4f4175(0x1c6)](this[_0x4f4175(0x343)]['transformChange$']['subscribe'](({id:_0x44670c})=>{this['_clearSelectedTarget'](_0x44670c);})),this[_0x4f4175(0x1c6)](this[_0x4f4175(0x343)][_0x4f4175(0x1cc)][_0x4f4175(0x2d9)](({id:_0x2bde00})=>{const _0x476ccc=_0x4f4175;this[_0x476ccc(0x2c9)](_0x2bde00);})),this['disposeWithMe'](this[_0x4f4175(0x1ce)][_0x4f4175(0x278)][_0x4f4175(0x2d9)](_0x5e5233=>{const _0x4939c6=_0x4f4175;this[_0x4939c6(0x2c9)](_0x5e5233);}));}[_0x42a697(0x2fc)](_0x4ae735){const _0x4e5507=_0x42a697;if(this[_0x4e5507(0x368)]['activeEditChart'])return;let _0x4616e8=this[_0x4e5507(0x2a8)][_0x4e5507(0x18d)](_0x4ae735),_0x1e6a3e=this[_0x4e5507(0x343)]['getFloatDomInfo'](_0x4ae735);!_0x4616e8||!_0x1e6a3e||(this[_0x4e5507(0x2a8)]['setActiveChartModel'](_0x4616e8),this['_commandService']['executeCommand'](V['id'],{'unitId':_0x1e6a3e[_0x4e5507(0x201)],'subUnitId':_0x1e6a3e[_0x4e5507(0x267)]??'','drawingId':_0x4ae735}));}[_0x42a697(0x2b0)](_0x1a0d5f){const _0x3e2434=_0x42a697;let _0x30df73=this[_0x3e2434(0x2a8)][_0x3e2434(0x18d)](_0x1a0d5f);_0x30df73&&this[_0x3e2434(0x2a8)][_0x3e2434(0x302)](_0x30df73);}[_0x42a697(0x228)](_0x47f60,_0x11581c){const _0x16128c=_0x42a697;if(!this['_chartUIService'][_0x16128c(0x381)](_0x47f60))return;let _0x446de9=this['_chartModelService']['getChartModel'](_0x47f60),_0x5f3db6=_0x446de9?ni(_0x446de9,_0x11581c[_0x16128c(0x1a6)]):void 0x0;if(!_0x5f3db6){this[_0x16128c(0x368)][_0x16128c(0x2ce)](null),this[_0x16128c(0x368)][_0x16128c(0x28a)](),this[_0x16128c(0x23a)]();return;}let _0x24b35c=this['_sheetCanvasFloatDomManagerService'][_0x16128c(0x3b5)](_0x47f60);if(!_0x446de9||!_0x24b35c){this[_0x16128c(0x368)][_0x16128c(0x2ce)](null),this['_chartUIService'][_0x16128c(0x28a)](),this[_0x16128c(0x23a)]();return;}if(this['_chartModelService']['setActiveChartModel'](_0x446de9),this[_0x16128c(0x368)][_0x16128c(0x2ce)]({'chartId':_0x47f60,'element':_0x11581c[_0x16128c(0x1a6)],'target':_0x5f3db6[_0x16128c(0x22c)],'route':_0x5f3db6[_0x16128c(0x2be)]}),this[_0x16128c(0x368)]['setPanelRoute'](_0x47f60,_0x5f3db6[_0x16128c(0x2be)]),this['_closePopup'](),!_0x5f3db6[_0x16128c(0x255)])return;let _0x2c0368=Mi(_0x11581c,_0x24b35c[_0x16128c(0x2e0)],()=>this['_clearHiddenSelectedTarget'](_0x47f60));if(!_0x2c0368[_0x16128c(0x2b7)]){_0x2c0368[_0x16128c(0x1e4)]();return;}let _0x5259c2=this[_0x16128c(0x1c0)][_0x16128c(0x2cc)](_0x2c0368['initialRect'],_0x2c0368[_0x16128c(0x317)],{'componentKey':_0x28baa3,'direction':'top-center','offset':[0x0,0x8],'extraProps':{'unitId':_0x24b35c[_0x16128c(0x201)],'subUnitId':_0x24b35c[_0x16128c(0x267)],'chartId':_0x47f60,'drawingId':_0x47f60,'element':_0x11581c[_0x16128c(0x1a6)],'target':_0x5f3db6[_0x16128c(0x22c)],'adapterKey':Ni}},_0x24b35c[_0x16128c(0x201)],_0x24b35c[_0x16128c(0x267)])??null;if(!_0x5259c2){_0x2c0368[_0x16128c(0x1e4)]();return;}let _0x27ab24=new _0x26ed62();_0x27ab24['add'](_0x5259c2),_0x27ab24['add'](_0x2c0368),this[_0x16128c(0x31b)]=_0x27ab24,this[_0x16128c(0x36f)]=_0x47f60;}['_closePopup'](){const _0x24e7d9=_0x42a697;var _0x5a4063;(_0x5a4063=this[_0x24e7d9(0x31b)])==null||_0x5a4063[_0x24e7d9(0x1e4)](),this[_0x24e7d9(0x31b)]=null,this[_0x24e7d9(0x36f)]=null;}['_clearSelectedTarget'](_0x10752c){const _0x2e1d9d=_0x42a697;!this[_0x2e1d9d(0x368)][_0x2e1d9d(0x381)](_0x10752c)&&this[_0x2e1d9d(0x36f)]!==_0x10752c||(this[_0x2e1d9d(0x368)][_0x2e1d9d(0x2ce)](null),this[_0x2e1d9d(0x368)]['clearPanelRoute'](),this[_0x2e1d9d(0x36f)]===_0x10752c&&this[_0x2e1d9d(0x23a)]());}[_0x42a697(0x256)](_0x5a375f){const _0x20ed5e=_0x42a697;this['_clearSelectedTarget'](_0x5a375f),this['_chartUIService'][_0x20ed5e(0x381)](_0x5a375f)&&(this[_0x20ed5e(0x320)][_0x20ed5e(0x3a4)](_0x5a375f,!0x1),this[_0x20ed5e(0x320)][_0x20ed5e(0x3a4)](_0x5a375f,!0x0));}};Pi=q([K(0x0,_0x3c5f23(_0x3db1ab)),K(0x1,_0x3c5f23(Y)),K(0x2,kr),K(0x3,_0x3c5f23(_0x4d1830)),K(0x4,_0x3c5f23(_0x463e32)),K(0x5,J),K(0x6,_0x3c5f23(_0x542574)),K(0x7,_0x5e196b),K(0x8,_0x3c5f23(_0x2f4582))],Pi);let Fi=class extends _0x306247{constructor(_0x327795,_0xc8702d){const _0x193afc=_0x42a697;super(),this[_0x193afc(0x23e)]=_0x327795,this[_0x193afc(0x2a8)]=_0xc8702d,this[_0x193afc(0x391)]();}['_init'](){const _0x36165e=_0x42a697;this['disposeWithMe'](this[_0x36165e(0x23e)][_0x36165e(0x278)]['subscribe'](_0x10dcde=>{const _0x478dfe=_0x36165e;this['_chartModelService'][_0x478dfe(0x1d4)](_0x10dcde);}));}};Fi=q([K(0x0,kr),K(0x1,_0x3c5f23(_0x3db1ab))],Fi);let Ii=class extends _0x306247{constructor(_0x382a75,_0xb24201,_0x331b9f,_0x42e1f5,_0x1867cc,_0x54d5cb){const _0x2969e3=_0x42a697;super(),this[_0x2969e3(0x2a8)]=_0x382a75,this['_chartRenderService']=_0xb24201,this[_0x2969e3(0x289)]=_0x331b9f,this['_chartUIService']=_0x42e1f5,this['_commandService']=_0x1867cc,this[_0x2969e3(0x3d3)]=_0x54d5cb,U(this,_0x2969e3(0x1fc),new Map()),this[_0x2969e3(0x391)](),this[_0x2969e3(0x272)](),this['_initPrinting']();}['_initPrinting'](){const _0x2cd8c9=_0x42a697;this['disposeWithMe'](this[_0x2cd8c9(0x3d3)][_0x2cd8c9(0x308)][_0x2cd8c9(0x243)](this['_sheetPrintInterceptorService'][_0x2cd8c9(0x308)][_0x2cd8c9(0x3c9)]()[_0x2cd8c9(0x27a)],{'handler':(_0x59b7a3,_0x4c4463,_0x436f4a)=>{const _0x5bc7c2=_0x2cd8c9;let _0x4347f8=this[_0x5bc7c2(0x320)][_0x5bc7c2(0x1c4)](_0x4c4463['unitId'],_0x4c4463[_0x5bc7c2(0x267)],_0x4c4463['scene']);return _0x4c4463[_0x5bc7c2(0x184)][_0x5bc7c2(0x245)](_0x4347f8),_0x436f4a(_0x59b7a3);}}));}[_0x42a697(0x391)](){const _0x1b8577=_0x42a697;this['disposeWithMe'](this[_0x1b8577(0x2a8)][_0x1b8577(0x21d)][_0x1b8577(0x2d9)](_0x4d5551=>{const _0x250892=_0x1b8577;if(_0x4d5551){let _0x582860=new _0x26ed62();_0x582860[_0x250892(0x245)](_0x4d5551[_0x250892(0x299)][_0x250892(0x2f9)](_0x57c29d(_0x4d5551[_0x250892(0x274)]),_0x57c29d(this[_0x250892(0x289)][_0x250892(0x25e)]),_0x117f83(0x64))[_0x250892(0x2d9)](([[_0x466db8,_0x53a626],_0x4c47d4])=>{const _0x3aba92=_0x250892;var _0x4ec97f;if(!_0x466db8)return;(_0x4ec97f=_0x466db8[_0x3aba92(0x315)])==null||_0x4ec97f[_0x3aba92(0x3ae)]['forEach']((_0x7dfed2,_0x2c2089)=>{const _0x1928f4=_0x3aba92;_0x7dfed2[_0x1928f4(0x279)]||=this[_0x1928f4(0x289)]['t'](_0x1928f4(0x20e))+'\x20'+(_0x2c2089+0x1);}),_0x466db8['series'][_0x3aba92(0x1d2)]((_0x3973b4,_0x4f5c59)=>{const _0x40f708=_0x3aba92;_0x3973b4[_0x40f708(0x3b4)]||=this[_0x40f708(0x289)]['t']('sheets-chart-ui.chord.target')+'\x20'+(_0x4f5c59+0x1);});let _0x4107ba=this[_0x3aba92(0x320)]['createRuntimeChartStyle'](_0x4d5551,_0x4c47d4);this['_chartRenderService'][_0x3aba92(0x2cf)](_0x4d5551['id'],_0x466db8,_0x4107ba);})),_0x4d5551[_0x250892(0x192)](()=>{const _0x5ff0be=_0x250892;_0x582860[_0x5ff0be(0x1e4)]();});}}));}[_0x42a697(0x272)](){const _0x5e4625=_0x42a697;this[_0x5e4625(0x1c6)](this[_0x5e4625(0x2a7)][_0x5e4625(0x3c0)](_0x448174=>{const _0x378354=_0x5e4625;if(_0x448174['id']!==_0x3f4f82['id'])return;let _0x13b683=_0x448174[_0x378354(0x34c)];_0x13b683!=null&&_0x13b683['chartModelId']&&Promise[_0x378354(0x204)]()['then'](()=>this[_0x378354(0x384)](_0x13b683));}));}['_renderAfterChartUpdateMutation'](_0x5c77c6){const _0x55deb6=_0x42a697;let _0x20ffcd=this[_0x55deb6(0x2a8)][_0x55deb6(0x18d)](_0x5c77c6['chartModelId']);if(!_0x20ffcd||_0x20ffcd[_0x55deb6(0x2a2)]!==_0x240ffc[_0x55deb6(0x3e6)])return;let _0x5aa3fb=_0x20ffcd[_0x55deb6(0x2e6)];if(!_0x5aa3fb){this[_0x55deb6(0x2e8)](_0x20ffcd);return;}this[_0x55deb6(0x30e)](_0x20ffcd,_0x5aa3fb);}[_0x42a697(0x2e8)](_0x1cb4be){const _0x21e657=_0x42a697;if(this[_0x21e657(0x1fc)][_0x21e657(0x33d)](_0x1cb4be['id']))return;let _0x14062e=_0x1cb4be[_0x21e657(0x299)][_0x21e657(0x2f9)](_0x469439(_0x20f51e=>_0x20f51e!=null),_0x3adbcc(0x1))['subscribe'](_0x2bea40=>{const _0x24408c=_0x21e657;this[_0x24408c(0x1fc)][_0x24408c(0x210)](_0x1cb4be['id']),this[_0x24408c(0x30e)](_0x1cb4be,_0x2bea40);});this[_0x21e657(0x1fc)][_0x21e657(0x19a)](_0x1cb4be['id'],_0x14062e),_0x1cb4be[_0x21e657(0x192)](()=>{const _0x2e0a93=_0x21e657;_0x14062e[_0x2e0a93(0x2eb)](),this[_0x2e0a93(0x1fc)][_0x2e0a93(0x210)](_0x1cb4be['id']);});}[_0x42a697(0x30e)](_0x6294bb,_0xaa033b){const _0x479660=_0x42a697;let _0x2042d8=this[_0x479660(0x320)]['createRuntimeChartStyle'](_0x6294bb,this[_0x479660(0x289)][_0x479660(0x208)]());this[_0x479660(0x320)][_0x479660(0x2cf)](_0x6294bb['id'],_0xaa033b,_0x2042d8);}};Ii=q([K(0x0,_0x3c5f23(_0x3db1ab)),K(0x1,_0x3c5f23(Y)),K(0x2,_0x3c5f23(_0xd5d68c)),K(0x3,J),K(0x4,_0x5e196b),K(0x5,_0x3c5f23(_0xb35bee))],Ii);let Li=class extends _0x306247{constructor(_0x584025,_0x18f19b,_0x1238af,_0x58f89e){const _0x5a3609=_0x42a697;super(),this[_0x5a3609(0x32e)]=_0x584025,this[_0x5a3609(0x37f)]=_0x18f19b,this[_0x5a3609(0x340)]=_0x1238af,this[_0x5a3609(0x2a8)]=_0x58f89e,this[_0x5a3609(0x397)]();}[_0x42a697(0x397)](){const _0x78b993=_0x42a697;this[_0x78b993(0x1c6)](this['_sheetInterceptorService']['interceptCommand']({'getMutations':_0x3b18be=>{const _0x11d7ef=_0x78b993;if(_0x3b18be['id']===_0x2cce8e['id']){let _0x5b3753=_0x241644(this['_univerInstanceService'],_0x3b18be[_0x11d7ef(0x34c)]);if(!_0x5b3753)return{'redos':[],'undos':[]};let {unitId:_0x2ae86b,subUnitId:_0x159424}=_0x5b3753,_0x4530f5=this['_sheetDrawingService'][_0x11d7ef(0x327)](_0x2ae86b,_0x159424),_0x47ba12=Object[_0x11d7ef(0x3ab)](_0x4530f5)[_0x11d7ef(0x3bd)](_0x5d932d=>_0x5d932d[_0x11d7ef(0x341)]===_0x4cd99f[_0x11d7ef(0x3b1)]);if(_0x47ba12[_0x11d7ef(0x206)]===0x0)return{'redos':[],'undos':[]};let _0x3a94f8=[],_0x401666=[];for(let _0x57897e=0x0;_0x57897e<_0x47ba12[_0x11d7ef(0x206)];_0x57897e++){let _0x1be5f8=_0x47ba12[_0x57897e],_0x3e6a3c=this['_chartModelService'][_0x11d7ef(0x18d)](_0x1be5f8[_0x11d7ef(0x2ae)]);if(!_0x3e6a3c)continue;let _0x13c9a5=_0x3e6a3c[_0x11d7ef(0x263)][_0x11d7ef(0x31c)](),{chartType:_0x3c9273,context:_0x106a7d,style:_0x639e73,dataAggregation:_0xafa184}=_0x3e6a3c[_0x11d7ef(0x1c8)](),{redo:_0x387198,undo:_0x2b6b54,objects:_0xf25f2b}=this['_sheetDrawingService'][_0x11d7ef(0x220)]([_0x1be5f8]);_0x3a94f8[_0x11d7ef(0x361)]({'id':_0x54d713['id'],'params':{'unitId':_0x2ae86b,'subUnitId':_0x159424,'chartId':_0x1be5f8['drawingId']}}),_0x3a94f8[_0x11d7ef(0x361)]({'id':_0x41a1c6['id'],'params':{'unitId':_0x2ae86b,'subUnitId':_0x159424,'type':_0x4a5972[_0x11d7ef(0x1dc)],'op':_0x387198,'objects':_0xf25f2b}}),_0x401666[_0x11d7ef(0x361)]({'id':_0x41a1c6['id'],'params':{'unitId':_0x2ae86b,'subUnitId':_0x159424,'type':_0x4a5972[_0x11d7ef(0x2b2)],'op':_0x2b6b54,'objects':_0xf25f2b}}),_0x401666[_0x11d7ef(0x361)]({'id':_0x5f2686['id'],'params':{'unitId':_0x2ae86b,'subUnitId':_0x159424,'chartId':_0x1be5f8[_0x11d7ef(0x2ae)],'chartType':_0x3c9273,..._0xbcc4c3(_0x13c9a5),'context':_0x106a7d,'style':_0x639e73,'dataAggregation':_0xafa184}});}return{'redos':_0x3a94f8,'undos':_0x401666};}else{if(_0x3b18be['id']===_0x2a62df['id']){let {unitId:_0x8bfcd8,subUnitId:_0x46a2c7,targetSubUnitId:_0x355b4a}=_0x3b18be[_0x11d7ef(0x34c)];if(!_0x8bfcd8||!_0x46a2c7||!_0x355b4a)return{'redos':[],'undos':[]};let _0x42bbbd=this['_sheetDrawingService'][_0x11d7ef(0x327)](_0x8bfcd8,_0x46a2c7),_0x1d0a4f=Object['values'](_0x42bbbd)[_0x11d7ef(0x3bd)](_0x2e241f=>_0x2e241f[_0x11d7ef(0x341)]===_0x4cd99f[_0x11d7ef(0x3b1)]);if(_0x1d0a4f['length']===0x0)return{'redos':[],'undos':[]};let _0x1662de=[],_0xf9ef46=[];for(let _0x2bee17=0x0;_0x2bee17<_0x1d0a4f['length'];_0x2bee17++){let _0x457578=_0x1d0a4f[_0x2bee17],_0x1bd40c=this[_0x11d7ef(0x2a8)][_0x11d7ef(0x18d)](_0x457578[_0x11d7ef(0x2ae)]);if(!_0x1bd40c)continue;let _0x870c52=_0x1d4220(),_0x2b6ac2={..._0x457578,'unitId':_0x8bfcd8,'subUnitId':_0x355b4a,'drawingId':_0x870c52},_0x554de0=_0x1bd40c[_0x11d7ef(0x263)][_0x11d7ef(0x31c)](),_0x2b0253=Array['isArray'](_0x554de0)?_0x554de0[_0x11d7ef(0x2bb)](_0x328f34=>({..._0x328f34,..._0x328f34[_0x11d7ef(0x3c2)]?{'header':{..._0x328f34[_0x11d7ef(0x3c2)],'subUnitId':_0x355b4a}}:{},'range':{..._0x328f34[_0x11d7ef(0x284)],'subUnitId':_0x355b4a}})):{..._0x554de0,'rangeInfo':{..._0x554de0[_0x11d7ef(0x2ca)],'subUnitId':_0x355b4a}},{chartType:_0x36a5d7,context:_0x3fd8fc,style:_0x128e06,dataAggregation:_0x4af7b8}=_0x1bd40c[_0x11d7ef(0x1c8)](),{redo:_0x576964,undo:_0x394fc8,objects:_0x36984b}=this[_0x11d7ef(0x340)][_0x11d7ef(0x273)]([_0x2b6ac2]);_0x1662de[_0x11d7ef(0x361)]({'id':_0x41a1c6['id'],'params':{'unitId':_0x8bfcd8,'subUnitId':_0x355b4a,'type':_0x4a5972[_0x11d7ef(0x2b2)],'op':_0x576964,'objects':_0x36984b}}),_0x1662de[_0x11d7ef(0x361)]({'id':_0x5f2686['id'],'params':{'unitId':_0x8bfcd8,'subUnitId':_0x355b4a,'chartId':_0x870c52,'chartType':_0x36a5d7,..._0xbcc4c3(_0x2b0253),'context':_0x3fd8fc,'style':_0x128e06,'dataAggregation':_0x4af7b8}}),_0xf9ef46['push']({'id':_0x54d713['id'],'params':{'unitId':_0x8bfcd8,'subUnitId':_0x355b4a,'chartId':_0x870c52}}),_0xf9ef46[_0x11d7ef(0x361)]({'id':_0x41a1c6['id'],'params':{'unitId':_0x8bfcd8,'subUnitId':_0x355b4a,'type':_0x4a5972[_0x11d7ef(0x1dc)],'op':_0x394fc8,'objects':_0x36984b}});}return{'redos':_0x1662de,'undos':_0xf9ef46};}}return{'redos':[],'undos':[]};}}));}};Li=q([K(0x0,_0x3c5f23(_0x39f3aa)),K(0x1,_0x3c5f23(_0x11f0ef)),K(0x2,_0x3c5f23(_0x1e8199)),K(0x3,_0x3c5f23(_0x3db1ab))],Li);let Ri=class extends _0x306247{constructor(_0x2819a0,_0xc0c7ab){const _0xcbb98f=_0x42a697;super(),this['_componentManager']=_0x2819a0,this[_0xcbb98f(0x1ee)]=_0xc0c7ab,this[_0xcbb98f(0x205)](),this[_0xcbb98f(0x332)]();}['_registerIcons'](){const _0x2ed952=_0x42a697;this['disposeWithMe'](this['_iconManager'][_0x2ed952(0x38a)]({'PenIcon':_0x1ade42}));}['_registerComponents'](){const _0x2a7cc5=_0x42a697;[[pi,fi]][_0x2a7cc5(0x1d2)](([_0x56dc81,_0x109c5e])=>{const _0x2a3ec7=_0x2a7cc5;this[_0x2a3ec7(0x1c6)](this[_0x2a3ec7(0x23c)][_0x2a3ec7(0x38a)](_0x56dc81,_0x109c5e));});}};Ri=q([K(0x0,_0x3c5f23(_0x49123f)),K(0x1,_0x3c5f23(_0x2f93b0))],Ri);let zi=class extends _0x306247{constructor(_0xc228a0,_0x5e1114,_0xeec81d,_0x18c4f6){const _0x2c3ce5=_0x42a697;super(),this[_0x2c3ce5(0x195)]=_0xc228a0,this[_0x2c3ce5(0x197)]=_0x5e1114,this['_sheetDrawingService']=_0xeec81d,this[_0x2c3ce5(0x2a8)]=_0x18c4f6,U(this,_0x2c3ce5(0x293),void 0x0),this[_0x2c3ce5(0x2e9)]();}get['_focusedDrawings'](){const _0x5ba355=_0x42a697;return this[_0x5ba355(0x340)]['getFocusDrawings']();}[_0x42a697(0x2e9)](){const _0x15d518=_0x42a697;this[_0x15d518(0x1c6)](this[_0x15d518(0x197)][_0x15d518(0x172)]({'id':_0x227e0c,'onBeforeCopy':(_0x248ce6,_0x1b1798,_0x20bbb3,_0x54d4e4)=>{const _0x1e20ef=_0x15d518;this[_0x1e20ef(0x293)]=null;let _0x14cd5f=this['_focusedDrawings'];if(_0x14cd5f[_0x1e20ef(0x206)]){let _0x122399=_0x14cd5f[_0x1e20ef(0x3bd)](_0x8a6b9e=>_0x8a6b9e[_0x1e20ef(0x341)]===_0x4cd99f['DRAWING_CHART']);if(_0x122399[_0x1e20ef(0x206)]===0x0)return;this[_0x1e20ef(0x293)]={'unitId':_0x248ce6,'subUnitId':_0x1b1798,'copyType':_0x54d4e4,'drawings':_0x122399};}else this[_0x1e20ef(0x1be)](_0x248ce6,_0x1b1798,_0x20bbb3,_0x54d4e4);},'onPasteCells':(_0x10b03b,_0x3c6652,_0x5e39b4,_0x232d94)=>{const _0x47e971=_0x15d518;if(!this[_0x47e971(0x293)])return{'redos':[],'undos':[]};let {pasteType:_0x21cf75}=_0x232d94;return _0x21cf75===_0x4e1be3[_0x47e971(0x240)]?this[_0x47e971(0x3d4)](_0x3c6652,this[_0x47e971(0x293)][_0x47e971(0x1ba)]===_0x383c66[_0x47e971(0x318)]):{'redos':[],'undos':[]};},'onPasteUnrecognized':_0x4cc107=>this[_0x15d518(0x293)]?this['_generatePasteMutations'](_0x4cc107,this[_0x15d518(0x293)]['copyType']===_0x383c66['CUT']):{'redos':[],'undos':[]}}));}[_0x42a697(0x1be)](_0x2bf4e2,_0x42c2b7,_0x223288,_0x1342a8){const _0x5def1e=_0x42a697;let _0x441e11=this[_0x5def1e(0x195)]['getSkeleton'](_0x2bf4e2,_0x42c2b7);if(!_0x441e11)return;let _0x40cf37=_0x514a90(_0x441e11,_0x223288);if(!_0x40cf37)return;let {startX:_0x5122da,endX:_0x4294aa,startY:_0x5a4e0a,endY:_0x54201e}=_0x40cf37,_0x2bee02=this['_sheetDrawingService']['getDrawingData'](_0x2bf4e2,_0x42c2b7),_0x2be93a=this[_0x5def1e(0x2fd)][_0x5def1e(0x1ac)]();for(let [_0x5970af,_0x9721c0]of Object[_0x5def1e(0x38c)](_0x2bee02)){if(_0x9721c0[_0x5def1e(0x341)]!==_0x4cd99f[_0x5def1e(0x3b1)])continue;let {transform:_0x11140f}=_0x9721c0;if(!_0x11140f)continue;let {left:_0x19e585=0x0,top:_0x1e02d6=0x0,width:_0x320b3b=0x0,height:_0x418928=0x0}=_0x11140f;_0x5122da<=_0x19e585&&_0x4294aa>=_0x19e585+_0x320b3b&&_0x5a4e0a<=_0x1e02d6&&_0x54201e>=_0x1e02d6+_0x418928&&_0x2be93a[_0x5def1e(0x361)](_0x9721c0);}_0x2be93a['length']>0x0&&(this[_0x5def1e(0x293)]={'unitId':_0x2bf4e2,'subUnitId':_0x42c2b7,'copyType':_0x1342a8,'copyRange':_0x223288,'drawings':_0x2be93a});}[_0x42a697(0x3d4)](_0x2c20e5,_0x4edb71){const _0x171956=_0x42a697;let {unitId:_0x79a55a,subUnitId:_0x139718,range:_0x5d82a6}=_0x2c20e5,_0x3d5954=this[_0x171956(0x195)][_0x171956(0x38d)](_0x79a55a,_0x139718);if(!_0x3d5954)return{'redos':[],'undos':[]};let _0x173984=_0x48b088(_0x5d82a6),{unitId:_0xeb3ef8,subUnitId:_0x5ee7a3,copyRange:_0x26e7f5,drawings:_0x4b4404}=this[_0x171956(0x293)],_0x21be51=this['_sheetSkeletonService'][_0x171956(0x38d)](_0xeb3ef8,_0x5ee7a3);if(!_0x21be51)return{'redos':[],'undos':[]};let _0x51ac3a=[],_0x3052e4=[];for(let _0x5b0e59 of _0x4b4404){let {drawingId:_0x19657c,transform:_0x2dc31f,sheetTransform:_0x184b51}=_0x5b0e59,_0x994d7b=this[_0x171956(0x2a8)][_0x171956(0x18d)](_0x19657c);if(!_0x994d7b||!_0x2dc31f||!_0x184b51)continue;let _0x328728=this[_0x171956(0x377)]({'transform':_0x2dc31f,'sheetTransform':_0x184b51},{'skeleton':_0x21be51,'range':_0x26e7f5},{'skeleton':_0x3d5954,'range':_0x173984});if(_0x4edb71){let {redos:_0x5eb51e,undos:_0x1dda14}=this[_0x171956(0x1f7)]({'fromUnitId':_0xeb3ef8,'fromSubUnitId':_0x5ee7a3,'toUnitId':_0x79a55a,'toSubUnitId':_0x139718,'drawing':_0x5b0e59,'newTransforms':_0x328728},_0x994d7b);_0x51ac3a['push'](..._0x5eb51e),_0x3052e4[_0x171956(0x361)](..._0x1dda14);continue;}let {redos:_0x14cb0f,undos:_0x52f04f}=this[_0x171956(0x372)]({'toUnitId':_0x79a55a,'toSubUnitId':_0x139718,'drawing':_0x5b0e59,'newTransforms':_0x328728},_0x994d7b);_0x51ac3a['push'](..._0x14cb0f),_0x3052e4[_0x171956(0x361)](..._0x52f04f);}return{'redos':_0x51ac3a,'undos':_0x3052e4};}[_0x42a697(0x1f7)](_0x28a192,_0x14a20b){const _0x1bc145=_0x42a697;let {fromUnitId:_0x18280f,fromSubUnitId:_0xa33310,toUnitId:_0x418e71,toSubUnitId:_0x4b207d,drawing:_0x1b52cc,newTransforms:_0x325fdd}=_0x28a192,_0x58f364={..._0x1b52cc,'unitId':_0x418e71,'subUnitId':_0x4b207d,'transform':_0x325fdd[_0x1bc145(0x26f)],'sheetTransform':_0x325fdd[_0x1bc145(0x310)]};if(_0x418e71===_0x18280f&&_0x4b207d===_0xa33310){let {redo:_0x28a7ea,undo:_0x2154a4,objects:_0x681bea}=this[_0x1bc145(0x340)][_0x1bc145(0x30a)]([_0x58f364]);return{'redos':[{'id':_0x41a1c6['id'],'params':{'unitId':_0x418e71,'subUnitId':_0x4b207d,'type':_0x4a5972[_0x1bc145(0x27b)],'op':_0x28a7ea,'objects':_0x681bea}}],'undos':[{'id':_0x41a1c6['id'],'params':{'unitId':_0x418e71,'subUnitId':_0x4b207d,'type':_0x4a5972[_0x1bc145(0x27b)],'op':_0x2154a4,'objects':_0x681bea}}]};}else{let _0x675c86=this['_sheetDrawingService']['getBatchRemoveOp']([_0x1b52cc]),_0x57994f=this[_0x1bc145(0x340)]['getBatchAddOp']([_0x58f364]),_0x326002=_0x14a20b[_0x1bc145(0x263)]['getRangeInfo'](),{chartType:_0xa29aa6,context:_0x353d9c,style:_0x475e37,dataAggregation:_0x4d132d}=_0x14a20b['serialize']();return{'redos':[{'id':_0x41a1c6['id'],'params':{'unitId':_0x18280f,'subUnitId':_0xa33310,'type':_0x4a5972[_0x1bc145(0x1dc)],'op':_0x675c86[_0x1bc145(0x35e)],'objects':_0x675c86['objects']}},{'id':_0x54d713['id'],'params':{'unitId':_0x18280f,'subUnitId':_0xa33310,'chartId':_0x1b52cc[_0x1bc145(0x2ae)]}},{'id':_0x41a1c6['id'],'params':{'unitId':_0x418e71,'subUnitId':_0x4b207d,'type':_0x4a5972[_0x1bc145(0x2b2)],'op':_0x57994f[_0x1bc145(0x35e)],'objects':_0x57994f['objects']}},{'id':_0x5f2686['id'],'params':{'unitId':_0x418e71,'subUnitId':_0x4b207d,'chartId':_0x1b52cc[_0x1bc145(0x2ae)],'chartType':_0xa29aa6,..._0xbcc4c3(_0x326002),'context':_0x353d9c,'style':_0x475e37,'dataAggregation':_0x4d132d}}],'undos':[{'id':_0x41a1c6['id'],'params':{'unitId':_0x18280f,'subUnitId':_0xa33310,'type':_0x4a5972[_0x1bc145(0x2b2)],'op':_0x675c86[_0x1bc145(0x36b)],'objects':_0x675c86[_0x1bc145(0x1ae)]}},{'id':_0x5f2686['id'],'params':{'unitId':_0x18280f,'subUnitId':_0xa33310,'chartId':_0x1b52cc[_0x1bc145(0x2ae)],'chartType':_0xa29aa6,..._0xbcc4c3(_0x326002),'context':_0x353d9c,'style':_0x475e37,'dataAggregation':_0x4d132d}},{'id':_0x41a1c6['id'],'params':{'unitId':_0x418e71,'subUnitId':_0x4b207d,'type':_0x4a5972[_0x1bc145(0x1dc)],'op':_0x57994f['undo'],'objects':_0x57994f[_0x1bc145(0x1ae)]}},{'id':_0x54d713['id'],'params':{'unitId':_0x418e71,'subUnitId':_0x4b207d,'chartId':_0x1b52cc[_0x1bc145(0x2ae)]}}]};}}[_0x42a697(0x372)](_0x2f2c7d,_0x20f531){const _0x1a60d5=_0x42a697;let {toUnitId:_0xf09e6e,toSubUnitId:_0x5bc55b,drawing:_0x152c17,newTransforms:_0x355dd7}=_0x2f2c7d,_0x35de3b=_0x1d4220(),_0x4221a1={..._0x152c17,'unitId':_0xf09e6e,'subUnitId':_0x5bc55b,'drawingId':_0x35de3b,'transform':_0x355dd7[_0x1a60d5(0x26f)],'sheetTransform':_0x355dd7[_0x1a60d5(0x310)]},{redo:_0x370a65,undo:_0x3cff11,objects:_0x4addcf}=this[_0x1a60d5(0x340)][_0x1a60d5(0x273)]([_0x4221a1]),_0x583b55=_0x20f531['dataSource']['getRangeInfo'](),{chartType:_0x443ff2,context:_0x168345,style:_0x344f69,dataAggregation:_0x3906dd}=_0x20f531[_0x1a60d5(0x1c8)]();return{'redos':[{'id':_0x41a1c6['id'],'params':{'unitId':_0xf09e6e,'subUnitId':_0x5bc55b,'type':_0x4a5972[_0x1a60d5(0x2b2)],'op':_0x370a65,'objects':_0x4addcf}},{'id':_0x5f2686['id'],'params':{'unitId':_0xf09e6e,'subUnitId':_0x5bc55b,'chartId':_0x35de3b,'chartType':_0x443ff2,..._0xbcc4c3(_0x583b55),'context':_0x168345,'style':_0x344f69,'dataAggregation':_0x3906dd}}],'undos':[{'id':_0x41a1c6['id'],'params':{'unitId':_0xf09e6e,'subUnitId':_0x5bc55b,'type':_0x4a5972['REMOVE'],'op':_0x3cff11,'objects':_0x4addcf}},{'id':_0x54d713['id'],'params':{'unitId':_0xf09e6e,'subUnitId':_0x5bc55b,'chartId':_0x35de3b}}]};}['_updateTransform'](_0xa7fc78,_0x44e382,_0x48fbc2){const _0x380a62=_0x42a697;let {range:_0x4b3327,skeleton:_0x13b9c2}=_0x44e382,{range:_0x2d45e,skeleton:_0x195297}=_0x48fbc2,{transform:_0x573248,sheetTransform:_0x2ce5d1}=_0xa7fc78,_0x3625d9={..._0x573248};if(_0x4b3327){let _0x427e74=_0x514a90(_0x13b9c2,_0x4b3327),_0x347340=_0x514a90(_0x195297,_0x2d45e);if(_0x427e74&&_0x347340){let _0x35a619=_0x347340[_0x380a62(0x1a3)]-_0x427e74[_0x380a62(0x1a3)],_0x992822=_0x347340['startY']-_0x427e74['startY'];_0x3625d9[_0x380a62(0x329)]=(_0x3625d9[_0x380a62(0x329)]??0x0)+_0x35a619,_0x3625d9[_0x380a62(0x181)]=(_0x3625d9[_0x380a62(0x181)]??0x0)+_0x992822;}}else{let _0x52a044=_0x514a90(_0x195297,_0x2d45e);_0x3625d9[_0x380a62(0x329)]=_0x52a044==null?void 0x0:_0x52a044[_0x380a62(0x1a3)],_0x3625d9[_0x380a62(0x181)]=_0x52a044==null?void 0x0:_0x52a044['startY'];}return{'transform':_0x3625d9,'sheetTransform':_0x434b54(_0x3625d9,_0x195297)??_0x2ce5d1};}};zi=q([K(0x0,_0x3c5f23(_0x17d31b)),K(0x1,_0x3c5f23(_0x4856f0)),K(0x2,_0x3c5f23(_0x1e8199)),K(0x3,_0x3c5f23(_0x3db1ab))],zi);let Bi=class extends _0x306247{constructor(_0x22ec9f,_0x4874b3,_0x5a67d3,_0x158407){const _0x86f7e5=_0x42a697;super(),this[_0x86f7e5(0x2a7)]=_0x22ec9f,this[_0x86f7e5(0x289)]=_0x4874b3,this['_sheetPermissionCheckController']=_0x5a67d3,this[_0x86f7e5(0x3d7)]=_0x158407,this[_0x86f7e5(0x20a)]();}[_0x42a697(0x20a)](){const _0x584b23=_0x42a697;this[_0x584b23(0x1c6)](this[_0x584b23(0x2a7)][_0x584b23(0x23b)](_0xcad416=>{const _0x4d71fc=_0x584b23;let _0x5d65a3,_0x2757a6;if(_0xcad416['id']===_0x6e5b4c['id']){let _0x575d5d=_0xcad416['params'];_0x5d65a3=_0x575d5d[_0x4d71fc(0x201)],_0x2757a6=_0x575d5d[_0x4d71fc(0x267)];}else{if(_0xcad416['id']===_0x376d77['id']||_0xcad416['id']===_0x2c914e['id']){let _0x207828=_0xcad416['params'];_0x5d65a3=_0x207828['unitId'],_0x2757a6=this[_0x4d71fc(0x3d7)]['getSubUnitId'](_0x207828['unitId'],_0x207828[_0x4d71fc(0x304)]);}}!_0x5d65a3||!_0x2757a6||this['_sheetPermissionCheckController'][_0x4d71fc(0x1b3)]({'workbookTypes':[_0x227e27],'worksheetTypes':[_0x4cbead]},_0x5d65a3,_0x2757a6)||this[_0x4d71fc(0x213)][_0x4d71fc(0x199)](this[_0x4d71fc(0x289)]['t'](_0x4d71fc(0x266)));}));}};Bi=q([K(0x0,_0x3c5f23(_0x5e196b)),K(0x1,_0x3c5f23(_0xd5d68c)),K(0x2,_0x3c5f23(_0x3cf479)),K(0x3,_0x3c5f23(_0x4ce731))],Bi);let $=class extends _0x4c3811{constructor(_0x5b480a=pr,_0x4f4ca4,_0x59cced,_0x3e8d14){const _0x13989f=_0x42a697;super(),this[_0x13989f(0x250)]=_0x5b480a,this[_0x13989f(0x2e4)]=_0x4f4ca4,this[_0x13989f(0x1f5)]=_0x59cced,this['_commandService']=_0x3e8d14,U(this,'_resolvedConfig',void 0x0);let {..._0x449ab3}=_0x4bcc46({},pr,this[_0x13989f(0x250)]);this[_0x13989f(0x31e)]=_0x449ab3,this['_configService'][_0x13989f(0x285)](fr,_0x449ab3),this['_initCommands'](),_0xfba3fc(_0x31550f);}[_0x42a697(0x236)](){const _0x542212=_0x42a697;this[_0x542212(0x2e4)][_0x542212(0x245)]([Ri]),this[_0x542212(0x2e4)][_0x542212(0x33d)](Ri);let _0x5eaab3=this[_0x542212(0x2e4)],_0x8264e0=[[J,{'useClass':Ar}],[kr,{'useClass':Or}],[Cr],[Y],[Q],[Fi],[Ii],[zi],[Li],[Bi]],_0x501e84=[[Q],[Ii],[Fi],[J],[zi],[Li],[Bi]];this[_0x542212(0x31e)][_0x542212(0x3dc)]&&(_0x8264e0[_0x542212(0x361)]([Pi]),_0x501e84[_0x542212(0x361)]([Pi])),_0x8264e0[_0x542212(0x1d2)](_0x5aa7e4=>_0x5eaab3['add'](_0x5aa7e4)),_0x3748ed(this[_0x542212(0x2e4)],_0x501e84);}[_0x42a697(0x254)](){const _0x596818=_0x42a697;var _0x50bbeb;(_0x50bbeb=this[_0x596818(0x2e4)]['get'](Q))==null||_0x50bbeb[_0x596818(0x3a3)]();}[_0x42a697(0x1cf)](){const _0x264698=_0x42a697;[Gr,Fr,Ir,Lr,Rr,V,mr][_0x264698(0x1d2)](_0x421f32=>this['disposeWithMe'](this['_commandService'][_0x264698(0x385)](_0x421f32)));}};U($,_0x42a697(0x232),_0x351816[_0x42a697(0x194)]),U($,_0x42a697(0x3a9),_0x42a697(0x1cb)),U($,_0x42a697(0x34b),_i),U($,_0x42a697(0x251),vi),$=q([_0x7bb0e4(_0x273b4b,_0x4bd1ff,_0x364117,_0x53c22d,_0x3f289a,_0x34e502,_0x594a73,_0x554972,_0x32fcea),K(0x1,_0x3c5f23(_0x2f4582)),K(0x2,_0x42fc9b),K(0x3,_0x5e196b)],$);export{J as ISheetsChartUIService,fr as SHEETS_CHART_UI_PLUGIN_CONFIG_KEY,Q as SheetsChartUIController,$r as SheetsChartUIMenuSchema,Ar as SheetsChartUIService,$ as UniverSheetsChartUIPlugin};
1
+ const _0x533bf2=_0x4f81;(function(_0x4c2159,_0x583010){const _0x49c2f0=_0x4f81,_0x306558=_0x4c2159();while(!![]){try{const _0xb82104=parseInt(_0x49c2f0(0x29e))/0x1*(parseInt(_0x49c2f0(0x20e))/0x2)+parseInt(_0x49c2f0(0x1ec))/0x3+-parseInt(_0x49c2f0(0x2d5))/0x4*(-parseInt(_0x49c2f0(0x196))/0x5)+-parseInt(_0x49c2f0(0x11b))/0x6+-parseInt(_0x49c2f0(0x103))/0x7*(-parseInt(_0x49c2f0(0xe2))/0x8)+parseInt(_0x49c2f0(0xf7))/0x9*(-parseInt(_0x49c2f0(0x8c))/0xa)+-parseInt(_0x49c2f0(0x149))/0xb;if(_0xb82104===_0x583010)break;else _0x306558['push'](_0x306558['shift']());}catch(_0x198a27){_0x306558['push'](_0x306558['shift']());}}}(_0x4eac,0xac8bc));import{ChartModelService as _0x538c99,ChartRenderMode as _0xac39e4,ChartUpdateConfigCommand as _0x32b2ba,ChartUpdateConfigMutation as _0xdd60ff,ChartUpdateSourceCommand as _0x575ee3,InsertChartCommand as _0x17d872,InsertSheetsChartMutation as _0x8740fa,RemoveSheetsChartMutation as _0x4ceb47,SHEETS_CHART_PLUGIN_CONFIG_KEY as _0x40c528,SHEETS_CHART_PLUGIN_NAME as _0x159303,SheetChartConfigAdapter as _0x2f4014,SheetsChartService as _0x1d97a8,UniverSheetsChartPlugin as _0x1c2f0a,getAllowedChartTypes as _0x4b9dc3,toInsertChartMutationSource as _0x5c5743}from'@univerjs-pro/sheets-chart';import{CommandType as _0x2c593f,DependentOn as _0x17c104,Disposable as _0x1b05ef,DisposableCollection as _0xbb67f,DrawingTypeEnum as _0xc2a308,FOCUSING_COMMON_DRAWINGS as _0x11a249,ICommandService as _0x413077,IConfigService as _0x5d6e79,IContextService as _0x263bb6,IUniverInstanceService as _0x371c5e,Inject as _0x28410f,Injector as _0x4b92dd,LocaleService as _0x3f8b07,Plugin as _0x470b7e,ThemeService as _0x3801a3,UniverInstanceType as _0x1302ff,createIdentifier as _0x396891,debounce as _0xe22d45,generateRandomId as _0x3a6851,merge as _0x4a99a7,numberToABC as _0x287b1b,toDisposable as _0x1f864f,touchDependencies as _0x5b8dfc}from'@univerjs/core';import{IDrawingManagerService as _0x32f0cf,UniverDrawingPlugin as _0x1fab36,getDrawingShapeKeyByDrawingSearch as _0x57c728}from'@univerjs/drawing';import{DrawingApplyType as _0x4ef90d,ISheetDrawingService as _0x49382d,RemoveSheetDrawingCommand as _0xf80612,SetDrawingApplyMutation as _0x1ee14a,UniverSheetsDrawingPlugin as _0x36aab4,transformToDrawingPosition as _0x1a36ef}from'@univerjs/sheets-drawing';import{SHEET_CHART_RENDER_OBJECT_CONFIG as _0x15b37e,SheetCanvasFloatDomManagerService as _0x10c864,SheetDrawingHitTestService as _0x3fcfc9,UniverSheetsDrawingUIPlugin as _0xb7a1e7}from'@univerjs/sheets-drawing-ui';import{COPY_TYPE as _0x3eadd3,ISheetClipboardService as _0x2933d1,PREDEFINED_HOOK_NAME as _0x41cea3,SheetCanvasPopManagerService as _0x199d2a,SheetCopyCommand as _0x1d84ea,SheetPrintInterceptorService as _0x55853b,SheetSkeletonManagerService as _0x52bd5f,UniverSheetsUIPlugin as _0x20ed54,deriveStateFromActiveSheet$ as _0x29ec2d,getCurrentRangeDisable$ as _0x56b2d5}from'@univerjs/sheets-ui';import{CanvasFloatDomService as _0x9c432f,ComponentManager as _0x53334b,ContextMenuGroup as _0x47d484,ContextMenuPosition as _0x5ee795,IMenuManagerService as _0x542957,ISidebarService as _0x315d34,IconManager as _0x1edf8a,MenuItemType as _0x1f19d7,RibbonInsertGroup as _0x25054b,getMenuHiddenObservable as _0x155da9,useDependency as _0x7a1354,useObservable as _0x3f23d3}from'@univerjs/ui';import{CHART_ELEMENT_FLOAT_MENU_COMPONENT as _0xa436e2,CHART_HOST_BORDER_RADIUS as _0x5a398f,CHART_TYPE_CATALOG as _0x2af92b,ChartAxisSection as _0xf67165,ChartCommonDataMappingSection as _0x3fd79a,ChartDomFrame as _0x466713,ChartEditBlockTitle as _0x20d267,ChartEditPanel as _0x3d03fa,ChartEditPanelSection as _0x42e819,ChartEditPanelTab as _0x655832,ChartEditPanelTabs as _0xe40130,ChartEditorCapability as _0x2a232a,ChartEditorProvider as _0x7043e2,ChartElementFloatMenuAdapterRegistry as _0x1d0732,ChartFrameContentMode as _0x4a77a7,ChartFrameLayout as _0x546db4,ChartFunnelStyleSection as _0x1a78cf,ChartGradientFillField as _0x3ea491,ChartGridlinesAndTicksSection as _0xecb0d5,ChartHeatmapStyleSection as _0x3d4d63,ChartHostAdapter as _0x5e57e2,ChartImageExportService as _0x4755ef,ChartIndicatorLineSection as _0x1044fc,ChartLegendSection as _0x53779d,ChartLineAndAreaSection as _0x23621b,ChartNumberFormatAtom as _0x5598d0,ChartParetoSeriesSection as _0x47bc27,ChartPieStyleSection as _0x311049,ChartRadarStyleSection as _0x5bfdce,ChartRelationStyleSection as _0x34b1f3,ChartSectionAccordion as _0x582859,ChartSectionAccordionContent as _0x17d4dc,ChartSectionAccordionItem as _0x30fdf4,ChartSectionAccordionTrigger as _0x27417e,ChartSeriesSection as _0x5b7d74,ChartStackField as _0x2673ca,ChartStyleSection as _0x1016f6,ChartThemeField as _0x1a3dd9,ChartTitlesSection as _0x479bc2,ChartTrendlineSection as _0x55acbb,ChartTypeField as _0x4438a5,ChartTypeSpecificDataSection as _0xef3110,ChartTypeSpecificSetupSection as _0xf9cfb0,ChartTypeSpecificStyleSection as _0x2c390c,ChartUIService as _0xee89a9,ChartViewStateRegistry as _0x513507,ChartWaterfallSetupFields as _0x54a27f,ChartWaterfallStyleSection as _0x39d84c,ChartWordCloudStyleSection as _0x3aee00,DEFAULT_CHART_AXIS_VALUES as _0x1bdd05,DEFAULT_CHART_FUNNEL_VALUES as _0x276dc8,DEFAULT_CHART_HEATMAP_VALUES as _0x532e7e,DEFAULT_CHART_INDICATOR_LINE_VALUES as _0xb6da10,DEFAULT_CHART_LEGEND_VALUES as _0x521853,DEFAULT_CHART_LINE_AND_AREA_VALUES as _0x8d9db6,DEFAULT_CHART_PARETO_VALUES as _0x27a98e,DEFAULT_CHART_PIE_VALUES as _0x338243,DEFAULT_CHART_RADAR_VALUES as _0x313059,DEFAULT_CHART_RELATION_VALUES as _0x231633,DEFAULT_CHART_SERIES_VALUES as _0x3d7d3a,DEFAULT_CHART_STYLE_VALUES as _0x514eb1,DEFAULT_CHART_TITLE_VALUES as _0x172fb1,DEFAULT_CHART_TRENDLINE_VALUES as _0x4ba913,DEFAULT_CHART_WATERFALL_SETUP_VALUES as _0x15f353,DEFAULT_CHART_WATERFALL_STYLE_VALUES as _0x578664,DEFAULT_CHART_WORD_CLOUD_VALUES as _0x5f4dcd,UniverChartUIPlugin as _0x2a6dc3,buildChartTypeSelectOptions as _0x116915,chartTypeSupportsCapability as _0x12072f,chartTypeSupportsLineAndAreaStyle as _0x5721ec,createChartElementFloatMenuAdapter as _0x2c1df6,resolveChartCreationIntent as _0xc80af2,resolveChartEditPanelRoute as _0x44a37b,resolveChartElementSelection as _0x19ef3b,useChartEditorChartType as _0x375724,useChartEditorHasRightAxis as _0x3a0738}from'@univerjs-pro/chart-ui';import{ChartHostRenderMode as _0x41159f,ChartImageSourceType as _0x1d0e55,ChartThemeService as _0x39ff0a,ChartTypeBits as _0x52497a,ChartWaterfallStyleTarget as _0x256130,DataOrientation as _0x1807ec,EChartRenderEngineName as _0x5f5aa4,IChartRenderModelManagerService as _0x3e474b,ImageChartHost as _0xa3de1f,PieSecondaryPlotType as _0xff6f74,RTLChartStyle as _0x2d121a,chartBitsUtils as _0x49703d,chartImageSourceToDataUrl as _0x4077ba,chartTypeCanUseTrendLine as _0x36d4f2,resolveChartRuntimeStyle as _0x5634d6,resolveChartStyleBackgroundColor as _0x1a5353,resolveDefaultChartHostFrameStyle as _0x1aa3f2}from'@univerjs-pro/engine-chart';function _0x4eac(){const _0x3af37a=['_getChartRenderSkipReason','_initMenus','drawingType','config$','_setChartRuntimeZIndex','isFinite','icon','_getFloatDomInfo','_pendingToken','sheet.chart.edit.panel','iconName','range','WordCloud','translate','_registerComponents','_getChartRenderObjectContext','1000','_version','_getHostPlacement','_activeDomReadyChartIds','sheets-chart-ui.section.waterfall','_chartEventSubscriptions','bottom','setRangeSelectMode','download','exportImage','constructor','PieStyle','disposeWithMe','sheets-chart-ui.common.chartStyle','remove$','map','applyPoint','_restoreHostWrapper','target','getFocusedUnit','sheets-chart-ui.common.legend','_createCopyInfoByRange','rangeInfo$','getMatrix','getUnit','registerFeatureMenu','_getChartRenderObject','sheets-chart-ui.common.insertChart','setStyle','object','dispose','getRenderUnitById','getValue','_panelRoute$','innerHeight','toPrimitive','values','clientY','globalAlpha','DownloadImageIcon','initPanel','_initActiveRuntimeLayerListener','_subscribeChartEvents','Treemap','width','openChartPanelById','_initPrinting','Sunburst','_disposeChartEventSubscription','getBatchRemoveOp','subscribe','getChartPopupMenus','top','_requestChartCanvasRender','_waiter','_chartHostProvider','_menuManagerService','_chartElementEditMode','getObjectIncludeInGroup','_getOrCreateChartRenderInstance','VerticalAxis','Column','_openPanel','_clearSheetChartRuntimeCaches','bounds','67366WvIonj','onCommandExecuted','Trendline','_markHostReady','close','setBorder','_markNotReady','_disposeChartRenderInstance','sheets-chart-ui.common.series','markNotReady','_createChartRenderInstanceContext','_renderManagerService','_selectedElement$','create','_chartInstanceMap','sheets-chart-ui.waterfall.negative','asObservable','_disposeChartDomInstance','entries','clearImage','_resizeChart','value','clientX','_cancelHostWait','decorate','_domFrame','setSelectedElement','localPoint','Relation','_disposed','border','all','offsetLeft','defaultValues','packageName','activeEditChart','viewBound','_renderWhenConfigReady','_chartHostMap','label','activeRuntimeModel','_initDrawingDeactivationListener','mode','sheets-chart-ui.section.lineAndArea','UPDATE','_initCopyPaste','route','children','Pareto','_getDrawingGeometry','_resetChartRuntimeZIndex','drawWith','transform','IndicatorLine','closePath','8ncotUt','columnPercentStacked','_chartModelService','getRenderModel','_closePopup','bind','add','requestPaint','allSeriesStyle','OPERATION','canvas','featurePluginUngroupUpdate$','updateFloatDom','_activeEditChart$','inactive-sheet','axis','copyType','labelId','setPanelRoute','isManaged','_resolveLayout','_configService','relation','_openFloatMenu','createRuntimeChartStyle','render','startX','focus$','_listenChartUpdateMutations','resolve','startColumn','sheets-chart-ui.common.openChartPanel','onStarting','_chartSnapshotStoreService','_sheetPermissionCheckController','engine','addObject','_frameStyle','CHART','querySelector','error','_resolveChartRenderMode','enableChartElementFloatMenu','_getOrCreateSheetChartHost','syncLayout','waterfall','sheet.command.menu-insert-chart','slice','_drawingManagerService','_initActiveChartModelListener','takeSnapshot','_renderService','checkChartCanRender','cancel','getSheetId','_canvasFloatDomService','sheets-chart.ui.service','_updateTransform','_getSceneAndTransformerByDrawingSearch','sheet-chart-setup-panel','showFloatMenu','50770TbuFgM','sheets-chart-ui.waterfall.subtotal','transparent','getConfig','_commandService','_hostStyle','chartObject','next','sheets-chart-ui.chord.target','.chart-host','ParetoLineSeries','crossOrigin','lineAndArea','invalidateSnapshot','_url','univer-shrink-0','Scatter','_chartEventHandlers','_snapshotStore','cumulativeLineStyle','_resolvedConfig','rangeInfo','markReady','sheets-chart-ui.common.horizontalAxis','isDomReady','parentElement','pointerEvents','Waterfall','sheets-chart-ui.section.chord','dblclick','filter','series','_pendingMutationConfigRenders','parent','_popupDisposable','pipe','_chartThemeService','funnel','darkMode$','BUTTON','abs','getObject','_openEditPanelByDoubleClick','_syncLayoutOnDrawingTransform','Style','sheets-chart-ui.section.indicatorLine','_initCommands','Data','barStyle','Subtotal','chartId','PRINTING_COMPONENT_COLLECT','call','split','scaleX','redo','has','titleKey','_chartHostProviderService','with','concat','_activateEditPanelState','header','DRAWING_CHART','_createPrintingChartObject','hit','onload','Overlay','_managed','_sidebarDisposable','REMOVE','baseOn','#-#','_generateCopyPasteMutations','sheets-chart-ui.common.deleteChart','getChartSnapshotImage','sheet-chart-style-panel','sheet.command.chart.open-focused-panel','Bubble','_sheetsChartUIService','radius','sheets-chart-ui.section.gridlinesAndTicks','sheets-chart-ui.common.dataRange','ChartAndAxisTitles','_sheetDrawingHitTestService','createElement','674408mXKSga','_addWatermark','initialRect','getContextValue','offsetHeight','arc','clearChart','_executeChartUpdateSourceConfig','ancestorTransform','permissionCheckWithoutRange','sheets-chart-ui.section.sunburst','isInGroup','getBatchUpdateOp','sheet.command.chart.copy-focused-chart','activeSheet$','wordCloud','items','_renderChartModel','setActiveEditChart','rightYAxis','function','891yFfRgR','sheets-chart-ui.section.funnel','_activateHostWrapper','Series','name','classType','_shouldEnableChartElementEdit','sheets-chart-ui.section.pie','_chartUIService','promise','naturalHeight','setHostStyle','21oLUXly','_initPermission','startRow','_sheetCanvasFloatDomManagerService','_rangeSelectMode','checkHost','getChartDataSource','_registerAdapter','sheets-chart-ui.section.gauge','save','_drawingGeometry','height','groupId','Axes','sheets-chart-ui.waterfall.positive','makeDirty','symbol','_renderModelManager','_getDrawable','chartModelId','_isChartElementEditEnabled','section','Chord','rect','854370oIvyRJ','Bar','Gauge','_cancelDebouncedCallbacks','_clearSelectedTarget','getActiveSheet','syncHostLayout','_getChartSnapshotKey','tab','_entries','get','setImage','_getPlacement','sheets-chart-ui.section.relation','Image','_image','Heatmap','isElementEditModeActive','sheet.operation.open-chart-panel','category','serialize','univer-flex\x20univer-flex-col\x20univer-gap-3','strokeWidth','removeHost','getImage','commitSnapshot','UNIVER_SHEET','_pendingHost','blockExecuteWithoutPermission','ChartStyle','_shouldSuppressSnapshot','_chartRenderMode','_popupChartId','PenIcon','sheetDisposed$','clear','legend','getSheetBySheetId','selectedElement$','_snapshotKey','mountNode','Dom','ensureHost','style$','sheets-chart-ui.section.paretoLine','_handleDrawingDoubleClick','20547384qiqFFK','offsetWidth','logicalOuterRect','Timed\x20out\x20waiting\x20for\x20float\x20dom\x20host\x20\x22','_init','update','activeChartModel','hidePanel','setElementEditMode','chartRenderMode','interceptor','getChartModel','image','addClipboardHook','objects','sheets-chart-ui.section.histogram','register','drawImage','setContextValue','_focusedDrawings','direction$','_chartRenderService','visible','radar','WaterfallSeries','getRenderColor','createChartInstance','_applyActiveChartRuntimeZIndex','focusDrawing','dataSource','scale','_sheetsChartService','sheets-chart-ui.common.editChart','Funnel','updateFloatDomProps','isConnected','Pie','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','_bindChartEventHandler','getDrawingOrder','handleActiveSubUnitChange','GROUP','_adapterRegistry','CUT','Fail\x20to\x20create\x20float\x20dom','_isProviderDisposed','hasOwnProperty','_clearChartRuntimeCache','_urlImage','getRealBound','sheets-chart-ui.common.customize','_disposeChartEventSubscriptions','sheets-chart-ui.section.radar','unitId','sheets-chart-element-float-menu','_drawChartImage','sheetTransform','getCurrentLastSelection','_debounceHandleMap','getCurrentUnitOfType','seriesId','titles','Row','string','INSERT','sheets-chart-ui.common.heatmap','sheets-chart-ui.common.switchRowColumn','_registerIcons','Line','sheets-chart-ui.common.hideChartPanel','_debounceHandle','sheets-chart-ui.common.useAsCategoryLabels','ensureHandle','_initSheetChange','complete','_themeService','sheets-chart-ui.chartTypes.','3398705ssyknF','markHostNotReady','_registerChartImageRenderObjectFactory','transformChange$','sheets-chart-ui.common.trendline','Canvas','executeCommand','scaleY','_univerInstanceService','UniverSheetsChartUIPlugin','getDrawingData','_applyHostStyle','chartModelRemoved$','_getImage','onTransformChange$','attachPopupToDynamicAbsolutePosition','_copyInfo','Legend','undo','executeChartUpdateConfig','set','setOrientation','exportImg','div','drawingId','auto','_setHostStyle','defineProperty','_componentManager','small','sheets-chart-ui.config','_clearHiddenSelectedTarget','_getCurrentSnapshotImage','restore','setConfig','_savedWrapperStyle','_sheetPrintInterceptorService','subscribeEvent','domId','mergeMenu','url','MEDIA','clip','sheet.command.chart.export-focused-image','params','invert','resourceCollector','max','_iconManager','startY','click','style','getBatchAddOp','dom','_sheetSkeletonService','sheets-chart-ui.common.verticalAxis','LineAndArea','forEach','getOwnPropertyDescriptor','img','nativeEvent','@univerjs-pro/sheets-chart-ui','sheets-chart-ui.common.setup','resize','isRender','push','add$','checkMounted','endsWith','_lastRenderInputMap','nextVersion','removeChartModel','_renderDebounceMap','_sheetInterceptorService','_disposeImage','_requestPaint','registerRenderObjectFactory','activeEditChart$','getDirection','-univer-mx-4','right','getHostSize','position$','_localeService','rightY','sidebarOptions$','2194701IMxldx','_getOuterRect','pieSecondaryPlotType','[ChartRender]\x20Failed\x20to\x20render\x20chart\x20snapshot\x20for\x20printing','some','univer-overflow-hidden','getFocusDrawings','Histogram','select','panelRoute$','missing-float-dom','subUnitId','_removeHost$','getRangeInfo','pareto','min','clearPanelRoute','delete','Combination','drawingIds','default','featurePluginOrderUpdate$','Radar','univer-overflow-visible','renderChartsForPrinting','onDispose','getElementById','getRect','_sheetCanvasPopManagerService','HorizontalAxis','type','removeHost$','getFloatDomInfo','sheets-chart-ui.common.rightVerticalAxis','26gPLwaQ','waterfallStyle','innerWidth','beginPath','Positive','sheets-chart-ui.common.category','COMMAND','config','unsubscribe','multiply','_generatePasteMutations','setActiveChartModel','Url','ImageBitmap','src','isRowDirection','sheets-chart-ui.section.wordCloud','offsetTop','SELECTOR','length','prototype','contains','getSheetBySheetName','lineTo','_injector','_draw','focused$','_sheetClipboardService','opacity','_createHost','_contextService','getSkeleton','_drawChartFrame','_deactivateEditPanelState','getCanvasElement','_markReady','registerCommand','_config','left','zIndex','pluginName','chartType','_lastActiveSheet','number','getUnitId','_sidebarService','_sheetDrawingService','chartModelAdded$','CopyDoubleIcon','_renderAfterChartUpdateMutation','_rerenderLatest','activeChartModel$','sheets-chart-ui.permission.editErr','Candlestick','scene','_activeChartId','rangeSelectMode','keys','assignStyle','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','indexOf','version','isArray'];_0x4eac=function(){return _0x3af37a;};return _0x4eac();}import{CopySheetCommand as _0x12f458,RemoveSheetCommand as _0x200288,SheetInterceptorService as _0x2dd957,SheetPermissionCheckController as _0x7e07e,SheetSkeletonService as _0x5cd6cc,SheetsSelectionsService as _0x5c8999,UniverSheetsPlugin as _0x459686,WorkbookEditablePermission as _0x5572e0,WorksheetEditPermission as _0x3d338d,attachRangeWithCoord as _0x170817,discreteRangeToRange as _0x3a930d,getSheetCommandTarget as _0x4774b5}from'@univerjs/sheets';import{BehaviorSubject as _0x53aede,Observable as _0x30312a,Subject as _0x31f8bb,combineLatest as _0x50f064,combineLatestWith as _0x445cf1,debounceTime as _0x35a815,filter as _0x1fcd24,fromEvent as _0x50fa50,map as _0x7ff423,merge as _0x3a8e71,startWith as _0x42ba0f,take as _0x57056f,throttleTime as _0x442c3b}from'rxjs';import{deserializeRangeWithSheet as _0x3e25b6,serializeRangeWithSheet as _0x17a743}from'@univerjs/engine-formula';import{insertGroupObject as _0x4bfe7a}from'@univerjs/drawing-ui';import{DRAWING_OBJECT_LAYER_INDEX as _0xaa2b67,IRenderManagerService as _0x4c69ff,ObjectType as _0x1408b1,RENDER_CLASS_TYPE as _0x534c56,Rect as _0x57239c,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x540203,Transform as _0x35a5b5,UniverRenderEnginePlugin as _0x2ac6a0}from'@univerjs/engine-render';import{useEffect as _0x48969d,useMemo as _0x37be06,useState as _0x15ee11}from'react';import{Button as _0x4de9e3}from'@univerjs/design';import{RangeSelector as _0xe63180}from'@univerjs/sheets-formula-ui';import{Fragment as _0x291abc,jsx as _0x5d0c77,jsxs as _0x57606b}from'react/jsx-runtime';import{UniverLicensePlugin as _0x409320}from'@univerjs-pro/license';import{PenIcon as _0x3f19de}from'@univerjs/icons';const ur=_0x533bf2(0x1b4),dr={'enableChartElementFloatMenu':!0x0},fr={'type':_0x2c593f['OPERATION'],'id':'sheet.operation.hide-chart-panel','handler'(){return!0x0;}},V={'type':_0x2c593f[_0x533bf2(0x2de)],'id':_0x533bf2(0x12d),'handler'(){return!0x0;}};function H(_0x30dbc8){const _0x13d974=_0x533bf2;let _0x4044b0=_0x30dbc8['get'](_0x49382d)[_0x13d974(0x1f2)]();if(_0x4044b0[_0x13d974(0x221)]!==0x1)return null;let _0x1f29b2=_0x4044b0[0x0];return _0x1f29b2[_0x13d974(0x24f)]===_0xc2a308['DRAWING_CHART']?_0x1f29b2:null;}function pr(_0x1b05a3,_0x5a77c6){const _0x12181b=_0x533bf2;let _0x497e81=document[_0x12181b(0xe1)]('a');_0x497e81['href']=_0x1b05a3,_0x497e81[_0x12181b(0x265)]=_0x5a77c6,_0x497e81[_0x12181b(0x1c8)]();}const mr={'id':_0x533bf2(0xd9),'type':_0x2c593f['COMMAND'],'handler':(_0x4b3b5a,_0x5500da)=>{const _0x34f7af=_0x533bf2;let _0x2c2286=H(_0x4b3b5a);return _0x2c2286?_0x4b3b5a['get'](_0x413077)['executeCommand'](V['id'],{'unitId':_0x2c2286[_0x34f7af(0x17e)],'subUnitId':_0x2c2286[_0x34f7af(0x1f7)],'drawingId':_0x2c2286[_0x34f7af(0x1ae)],..._0x5500da!=null&&_0x5500da['route']?{'route':_0x5500da[_0x34f7af(0x2cc)]}:{}}):!0x1;}},hr={'id':_0x533bf2(0xef),'type':_0x2c593f['COMMAND'],'handler':_0x1607ad=>H(_0x1607ad)?_0x1607ad['get'](_0x413077)['executeCommand'](_0x1d84ea['id']):!0x1},gr={'id':_0x533bf2(0x1c1),'type':_0x2c593f[_0x533bf2(0x214)],'handler':async _0x48e84d=>{const _0xb28511=_0x533bf2;let _0x30420a=H(_0x48e84d);if(!_0x30420a)return!0x1;let _0x15bc91=await _0x48e84d['get'](_0x4755ef)[_0xb28511(0x266)]({'unitId':_0x30420a[_0xb28511(0x17e)],'subUnitId':_0x30420a['subUnitId'],'getId':()=>_0x30420a[_0xb28511(0x1ae)]});return _0x15bc91?(pr(_0x15bc91,_0x30420a[_0xb28511(0x1ae)]+'.png'),!0x0):!0x1;}},_r={'id':'sheet.command.chart.delete-focused-chart','type':_0x2c593f[_0x533bf2(0x214)],'handler':_0x109a04=>{const _0x52b6b9=_0x533bf2;let _0x597b16=H(_0x109a04);return _0x597b16?_0x109a04[_0x52b6b9(0x125)](_0x413077)[_0x52b6b9(0x19c)](_0xf80612['id'],{'unitId':_0x597b16[_0x52b6b9(0x17e)],'drawings':[{'unitId':_0x597b16[_0x52b6b9(0x17e)],'subUnitId':_0x597b16[_0x52b6b9(0x1f7)],'drawingId':_0x597b16[_0x52b6b9(0x1ae)],'drawingType':_0xc2a308[_0x52b6b9(0xcb)]}]}):!0x1;}},vr={'type':_0x2c593f[_0x533bf2(0x214)],'id':_0x533bf2(0x303),'handler':async(_0x490dbf,_0x342d3e)=>{const _0x4099b3=_0x533bf2;let _0x23d551=_0x4774b5(_0x490dbf[_0x4099b3(0x125)](_0x371c5e));if(!_0x23d551)return!0x1;let _0x35afa1=_0x490dbf[_0x4099b3(0x125)](_0x5c8999)[_0x4099b3(0x182)]();if(!_0x35afa1)return!0x1;let {range:_0x4f3146}=_0x35afa1,_0x2249f7=_0x490dbf[_0x4099b3(0x125)](_0x413077),{unitId:_0x12383a,subUnitId:_0x447015}=_0x23d551,{pieSecondaryPlotType:_0x3158f7,value:_0x190a13}=_0x342d3e,_0x35bb91=_0x3158f7!==void 0x0;if(_0x35bb91&&(_0x190a13!==_0x52497a[_0x4099b3(0x16d)]||_0x3158f7!==_0xff6f74[_0x4099b3(0x16d)]&&_0x3158f7!==_0xff6f74[_0x4099b3(0x11c)]))return!0x1;let _0x19a8c3=_0x35bb91?_0x3a6851():void 0x0;return _0x2249f7[_0x4099b3(0x19c)](_0x17d872['id'],{'unitId':_0x12383a,'subUnitId':_0x447015,'chartType':_0x190a13,..._0x19a8c3&&_0x3158f7?{'chartId':_0x19a8c3,'config':{'unitId':_0x12383a,'chartModelId':_0x19a8c3,'style':{'pie':{'composite':{'enabled':!0x0,'secondaryPlot':{'type':_0x3158f7}}}}}}:{},'source':{'rangeInfo':{'unitId':_0x12383a,'subUnitId':_0x447015,'range':_0x4f3146}}});}};function yr(_0x4ef601,_0x2a73bd){const _0x1339a8=_0x533bf2;return _0x4ef601==null||Array[_0x1339a8(0x24c)](_0x4ef601)?'':br(_0x4ef601[_0x1339a8(0xa1)],_0x2a73bd);}function br(_0x56487b,_0x4048e6){const _0x186d87=_0x533bf2;var _0x536ffd;let {unitId:_0x1b50b8,subUnitId:_0x17115a,range:_0x1d8b53}=_0x56487b,_0x5c9562=(_0x536ffd=_0x4048e6['getUnit'](_0x1b50b8))==null?void 0x0:_0x536ffd[_0x186d87(0x140)](_0x17115a);return _0x5c9562?_0x17a743(_0x5c9562['getName'](),_0x1d8b53):'';}const xr=new Set(['columnStacked',_0x533bf2(0x2d6)]),Sr=_0x2af92b['filter'](_0x14be23=>!xr['has'](_0x14be23[_0x533bf2(0x2e6)]))['map'](_0x3eda7c=>({'id':'id'in _0x3eda7c?_0x3eda7c['id']:void 0x0,'labelId':_0x3eda7c[_0x533bf2(0x2e6)],'pieSecondaryPlotType':_0x533bf2(0x1ee)in _0x3eda7c?_0x3eda7c[_0x533bf2(0x1ee)]:void 0x0,'value':_0x3eda7c[_0x533bf2(0x2b3)],'icon':_0x3eda7c[_0x533bf2(0x257)]}));function Cr(_0x1e6133=Sr){const _0x2207e5=_0x533bf2;return _0x1e6133[_0x2207e5(0x26c)](({id:_0xb6b478,icon:_0x2a27c4,value:_0xf1657b})=>{const _0x1857cf=_0x2207e5;let _0x51dc7b=_0xc80af2(_0xb6b478??String(_0xf1657b)),_0x16a03f=_0x51dc7b?{'value':_0x51dc7b[_0x1857cf(0x237)],..._0x51dc7b[_0x1857cf(0x1ee)]?{'pieSecondaryPlotType':_0x51dc7b[_0x1857cf(0x1ee)]}:{}}:{'value':_0xf1657b};return{'icon':_0x2a27c4,'value':_0xb6b478??_0xf1657b,'params':_0x16a03f};});}const wr=(_0x38ab70,_0x406bdf)=>{const _0x3dbb83=_0x533bf2;if(_0x406bdf[_0x3dbb83(0x221)]===0x1&&_0x406bdf[0x0]==='all')return _0x38ab70;if(_0x406bdf[_0x3dbb83(0x221)]>0x1){let _0x1560d1=new Set();for(let _0x3b43d4 of _0x406bdf)_0x1560d1['add'](Number(_0x3b43d4));return _0x38ab70[_0x3dbb83(0xaa)](_0xdcb334=>_0x1560d1[_0x3dbb83(0xc4)](_0xdcb334[_0x3dbb83(0x2b3)]));}return[];};function Tr(_0x3622d2){const _0x16b327=_0x533bf2;let _0x4811de=_0x3622d2[_0x16b327(0x125)](_0x371c5e),_0x3fc213=_0x4b9dc3(_0x3622d2),_0x34defa=wr(Sr[_0x16b327(0xc8)](),_0x3fc213),_0x1c873c=Cr(_0x34defa)['map']((_0x4b2a3f,_0xdc3abe)=>({'icon':_0x4b2a3f[_0x16b327(0x253)],'value':_0x4b2a3f[_0x16b327(0x2b3)],'params':_0x4b2a3f[_0x16b327(0x1c2)],'label':_0x16b327(0x195)+_0x34defa[_0xdc3abe][_0x16b327(0x2e6)]}));return{'id':vr['id'],'type':_0x1f19d7[_0x16b327(0x220)],'selectionsCommandId':vr['id'],'selections':_0x1c873c,'icon':'ChartIcon','tooltip':_0x16b327(0x278),'activated$':_0x29ec2d(_0x4811de,!0x1,()=>new _0x30312a(_0x176fb9=>{const _0x186cc5=_0x16b327;_0x176fb9[_0x186cc5(0x93)](!0x1);})),'hidden$':_0x155da9(_0x3622d2,_0x1302ff[_0x16b327(0x135)]),'disabled$':_0x56b2d5(_0x3622d2)};}function Er(_0x42d713){const _0x43d2cc=_0x533bf2;let _0xb458e0=_0x42d713['get'](_0x49382d);return _0xb458e0[_0x43d2cc(0x2f0)][_0x43d2cc(0xaf)](_0x42ba0f(_0xb458e0['getFocusDrawings']()),_0x7ff423(()=>H(_0x42d713)==null));}function Dr(_0xb84b6c){const _0x2fb14f=_0x533bf2;return{'id':mr['id'],'commandId':mr['id'],'type':_0x1f19d7[_0x2fb14f(0xb3)],'title':_0xb84b6c['get'](_0x3f8b07)['t'](_0x2fb14f(0x2f4)),'icon':_0x2fb14f(0x13c),'hidden$':Er(_0xb84b6c)};}function Or(_0x26939b){const _0x2ea683=_0x533bf2;return{'id':hr['id'],'commandId':hr['id'],'type':_0x1f19d7[_0x2ea683(0xb3)],'title':_0x26939b[_0x2ea683(0x125)](_0x3f8b07)['t']('sheets-chart-ui.common.copy'),'icon':_0x2ea683(0x23e),'hidden$':Er(_0x26939b)};}function kr(_0x5df580){const _0x555997=_0x533bf2;return{'id':gr['id'],'commandId':gr['id'],'type':_0x1f19d7[_0x555997(0xb3)],'title':_0x5df580[_0x555997(0x125)](_0x3f8b07)['t']('sheets-chart-ui.common.exportImage'),'icon':_0x555997(0x284),'hidden$':Er(_0x5df580)};}function Ar(_0x14f74c){const _0x5f3f95=_0x533bf2;return{'id':_r['id'],'commandId':_r['id'],'type':_0x1f19d7[_0x5f3f95(0xb3)],'title':_0x14f74c[_0x5f3f95(0x125)](_0x3f8b07)['t'](_0x5f3f95(0xd6)),'icon':'DeleteIcon','hidden$':Er(_0x14f74c)};}const jr={[_0x25054b[_0x533bf2(0x1bf)]]:{[vr['id']]:{'order':0x4,'menuItemFactory':Tr}},[_0x5ee795['DRAWING']]:{[_0x47d484['OTHERS']]:{[mr['id']]:{'order':0x0,'menuItemFactory':Dr},[hr['id']]:{'order':0x1,'menuItemFactory':Or},[gr['id']]:{'order':0x3,'menuItemFactory':kr},[_r['id']]:{'order':0x4,'menuItemFactory':Ar}}}};function Mr(_0x359284){const _0x33ef94=_0x533bf2;return _0x359284===_0x52497a[_0x33ef94(0x1fe)]||_0x359284===_0x52497a['Radar']||_0x359284===_0x52497a['Boxplot']||_0x49703d[_0x33ef94(0xd3)](_0x359284,_0x52497a[_0x33ef94(0x18d)])||_0x49703d[_0x33ef94(0xd3)](_0x359284,_0x52497a['Column'])||_0x49703d['baseOn'](_0x359284,_0x52497a['Area'])||_0x49703d[_0x33ef94(0xd3)](_0x359284,_0x52497a[_0x33ef94(0x9c)]);}function Nr(_0x3e8139){const _0x31f968=_0x533bf2;return Mr(_0x3e8139)||_0x49703d[_0x31f968(0xd3)](_0x3e8139,_0x52497a[_0x31f968(0x16d)])||_0x49703d[_0x31f968(0xd3)](_0x3e8139,_0x52497a[_0x31f968(0x2ce)])||_0x49703d[_0x31f968(0xd3)](_0x3e8139,_0x52497a[_0x31f968(0xa7)]);}function Pr(_0x15fe38,_0x5a829d){const _0x48855f=_0x533bf2;let _0x318e1a=_0x19ef3b(_0x15fe38,_0x5a829d),_0x2becd3=_0x318e1a?_0x44a37b(_0x318e1a[_0x48855f(0x26f)]):void 0x0;if(!(!_0x318e1a||!_0x2becd3))return{..._0x318e1a,'route':_0x2becd3,'showFloatMenu':Nr(_0x15fe38[_0x48855f(0x237)])&&_0x318e1a[_0x48855f(0x311)]};}function Fr(_0x31785f,_0x22f618=0x1){const _0xe5f8f3=_0x533bf2;return{'width':Math[_0xe5f8f3(0x1c5)](_0x22f618,_0x31785f[_0xe5f8f3(0x289)]),'height':Math[_0xe5f8f3(0x1c5)](_0x22f618,_0x31785f[_0xe5f8f3(0x10e)])};}function Ir(_0x1a7857,_0x315e48={},_0x1bb5b1={'left':0x0,'top':0x0}){const _0x36f74b=_0x533bf2;let _0x376455=_0x315e48[_0x36f74b(0xc2)]??0x1,_0x1a0f26=_0x315e48['scaleY']??0x1,_0x56ab1d=_0x546db4[_0x36f74b(0x2f2)]({'logicalOuterRect':{'left':_0x1bb5b1[_0x36f74b(0x234)]>0x0?-_0x1bb5b1['left']:0x0,'top':_0x1bb5b1['top']>0x0?-_0x1bb5b1['top']:0x0,...Fr(_0x1a7857)},'scale':{'scaleX':_0x376455,'scaleY':_0x1a0f26},'hostStyle':{},'contentMode':_0x4a77a7[_0x36f74b(0xcf)]});return{'left':_0x56ab1d['logicalOuterRect']['left'],'top':_0x56ab1d['logicalOuterRect'][_0x36f74b(0x291)],'width':_0x56ab1d['logicalOuterRect'][_0x36f74b(0x289)],'height':_0x56ab1d[_0x36f74b(0x14b)][_0x36f74b(0x10e)],'scaleX':_0x376455,'scaleY':_0x1a0f26};}function U(_0x202647){'@babel/helpers - typeof';const _0xce6383=_0x533bf2;return U=typeof Symbol==_0xce6383(0xf6)&&typeof Symbol['iterator']==_0xce6383(0x113)?function(_0x30a7e9){return typeof _0x30a7e9;}:function(_0x111410){const _0x920f4=_0xce6383;return _0x111410&&typeof Symbol=='function'&&_0x111410[_0x920f4(0x267)]===Symbol&&_0x111410!==Symbol['prototype']?_0x920f4(0x113):typeof _0x111410;},U(_0x202647);}function Lr(_0x2f2a14,_0x33ca0b){const _0x1cb5c7=_0x533bf2;if(U(_0x2f2a14)!=_0x1cb5c7(0x27a)||!_0x2f2a14)return _0x2f2a14;var _0x2fb26b=_0x2f2a14[Symbol[_0x1cb5c7(0x280)]];if(_0x2fb26b!==void 0x0){var _0x1c4e83=_0x2fb26b[_0x1cb5c7(0xc0)](_0x2f2a14,_0x33ca0b||_0x1cb5c7(0x200));if(U(_0x1c4e83)!='object')return _0x1c4e83;throw TypeError(_0x1cb5c7(0x249));}return(_0x33ca0b===_0x1cb5c7(0x188)?String:Number)(_0x2f2a14);}function Rr(_0x471c79){const _0x3082eb=_0x533bf2;var _0x24309d=Lr(_0x471c79,_0x3082eb(0x188));return U(_0x24309d)=='symbol'?_0x24309d:_0x24309d+'';}function W(_0x2577e5,_0x575dad,_0x2493a4){const _0x4a8366=_0x533bf2;return(_0x575dad=Rr(_0x575dad))in _0x2577e5?Object[_0x4a8366(0x1b1)](_0x2577e5,_0x575dad,{'value':_0x2493a4,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x2577e5[_0x575dad]=_0x2493a4,_0x2577e5;}function zr(_0x457b3c){const _0x3f05a9=_0x533bf2;switch(_0x457b3c['type']){case _0x1d0e55[_0x3f05a9(0x19b)]:return _0x457b3c[_0x3f05a9(0x2df)];case _0x1d0e55[_0x3f05a9(0x21b)]:return _0x457b3c['imageBitmap'];default:return;}}var Br=class extends _0x57239c{constructor(_0x16dfcb,_0x5bb119,_0xd0b122,_0x2a3be2=()=>!0x1,_0x48e886=()=>{}){const _0x1a70c4=_0x533bf2;super(_0x16dfcb,{..._0x5bb119,'evented':_0x5bb119['evented']??!0x0}),this[_0x1a70c4(0x1a3)]=_0xd0b122,this['_shouldSuppressSnapshot']=_0x2a3be2,this[_0x1a70c4(0x1e0)]=_0x48e886,W(this,_0x1a70c4(0x179),null),W(this,'_url',null),this['setObjectType'](_0x1408b1[_0x1a70c4(0x2fb)]);}['dispose'](){const _0x5ec972=_0x533bf2;this[_0x5ec972(0x1e0)](),super[_0x5ec972(0x27b)]();}[_0x533bf2(0x2ee)](_0x459f8f,_0x1b5331){const _0x37b512=_0x533bf2;if(!this[_0x37b512(0x15f)])return this['makeDirty'](!0x1),this;if(!this[_0x37b512(0x2d2)])return this;let {width:_0x3e4327,height:_0x26ae44,left:_0x4b3896,top:_0x52c80d}=this[_0x37b512(0x17a)]();if(this[_0x37b512(0x1d6)](_0x1b5331)){let {top:_0x5a9f0c,left:_0x4a4307,bottom:_0x55faa4,right:_0x54935a}=_0x1b5331[_0x37b512(0x2c2)];if(_0x3e4327+this[_0x37b512(0x131)]+_0x4b3896<_0x4a4307||_0x54935a<_0x4b3896||_0x26ae44+this['strokeWidth']+_0x52c80d<_0x5a9f0c||_0x55faa4<_0x52c80d)return this;}let _0x1a0b2a=this[_0x37b512(0x2d2)][_0x37b512(0x274)]();_0x459f8f['save']();let _0x27eb5e=_0x4b3896+_0x3e4327/0x2,_0x28b766=_0x52c80d+_0x26ae44/0x2;return _0x459f8f[_0x37b512(0x2d2)](_0x1a0b2a[0x0],_0x1a0b2a[0x1],_0x1a0b2a[0x2],_0x1a0b2a[0x3],_0x27eb5e,_0x28b766),this[_0x37b512(0x22a)]!==0x1&&(_0x459f8f[_0x37b512(0x283)]=this['opacity']),this[_0x37b512(0x227)](_0x459f8f,void 0x0,_0x3e4327,_0x26ae44),_0x459f8f[_0x37b512(0x1b7)](),this[_0x37b512(0x112)](!0x1),this;}[_0x533bf2(0x227)](_0x56948b,_0x484539,_0x26fb5f=this['width'],_0x369cee=this[_0x533bf2(0x10e)]){const _0x5ff37=_0x533bf2;this[_0x5ff37(0x22e)](_0x56948b,_0x26fb5f,_0x369cee,{'stroke':void 0x0,'strokeWidth':0x0}),this[_0x5ff37(0x180)](_0x56948b,_0x26fb5f,_0x369cee),this[_0x5ff37(0x22e)](_0x56948b,_0x26fb5f,_0x369cee,{'fill':void 0x0});}['_drawChartFrame'](_0x13a840,_0x2306dd,_0x34ffe6,_0x3074bc){const _0x374235=_0x533bf2;_0x13a840[_0x374235(0x10c)](),_0x13a840[_0x374235(0x25a)](-_0x2306dd/0x2,-_0x34ffe6/0x2),_0x57239c[_0x374235(0x2d1)](_0x13a840,Vr(this,_0x2306dd,_0x34ffe6,_0x3074bc)),_0x13a840[_0x374235(0x1b7)]();}['isHit'](_0xacdfa6){const _0x3db26e=_0x533bf2;let {left:_0x2aa51f,top:_0x389380,width:_0x3cfe70,height:_0xd4bad8}=this[_0x3db26e(0x17a)](),_0x432162=_0x2aa51f+_0x3cfe70/0x2,_0x98ca63=_0x389380+_0xd4bad8/0x2,_0xbe38bd=this[_0x3db26e(0x2d2)][_0x3db26e(0x274)](),_0x575c7d=new _0x35a5b5([_0xbe38bd[0x0],_0xbe38bd[0x1],_0xbe38bd[0x2],_0xbe38bd[0x3],_0x432162,_0x98ca63]),_0x172d20=this['getParent'](),_0x37398f=(this[_0x3db26e(0xed)]&&(_0x172d20==null?void 0x0:_0x172d20[_0x3db26e(0xfc)])===_0x534c56[_0x3db26e(0x172)]?_0x172d20[_0x3db26e(0xea)][_0x3db26e(0x217)](_0x575c7d):_0x575c7d)[_0x3db26e(0x1c3)]()[_0x3db26e(0x26d)](_0xacdfa6),_0xb7a737=_0x3cfe70/0x2,_0x5a5aed=_0xd4bad8/0x2;return _0x37398f['x']>=-_0xb7a737-this['strokeWidth']/0x2&&_0x37398f['x']<=_0xb7a737+this[_0x3db26e(0x131)]/0x2&&_0x37398f['y']>=-_0x5a5aed-this['strokeWidth']/0x2&&_0x37398f['y']<=_0x5a5aed+this[_0x3db26e(0x131)]/0x2;}[_0x533bf2(0x180)](_0x5d7c9f,_0x347ad0,_0x2557c7){const _0x5083ec=_0x533bf2;if(this[_0x5083ec(0x139)]())return;let _0x926922=this[_0x5083ec(0x1a3)](),_0x166732=_0x926922?this[_0x5083ec(0x115)](_0x926922):void 0x0;if(!_0x166732)return;let {width:_0x40bdc8,height:_0x163a6f}=Fr({'width':_0x347ad0,'height':_0x2557c7},0x0);_0x40bdc8!==0x0&&_0x163a6f!==0x0&&(_0x5d7c9f[_0x5083ec(0x10c)](),_0x5d7c9f[_0x5083ec(0x25a)](-_0x347ad0/0x2,-_0x2557c7/0x2),Hr(_0x5d7c9f,_0x40bdc8,_0x163a6f,this[_0x5083ec(0xdc)]),_0x5d7c9f[_0x5083ec(0x1c0)](),_0x5d7c9f[_0x5083ec(0x15a)](_0x166732,0x0,0x0,_0x40bdc8,_0x163a6f),_0x5d7c9f['restore']());}[_0x533bf2(0x115)](_0x203714){const _0x4ba414=_0x533bf2;var _0x1a54b6;let _0x152a3e=zr(_0x203714);if(_0x152a3e)return _0x152a3e;if(_0x203714['type']===_0x1d0e55[_0x4ba414(0x21a)]&&(this['_url']!==_0x203714[_0x4ba414(0x1be)]&&(this[_0x4ba414(0x9a)]=_0x203714[_0x4ba414(0x1be)],this[_0x4ba414(0x179)]=document[_0x4ba414(0xe1)](_0x4ba414(0x1d1)),this[_0x4ba414(0x179)][_0x4ba414(0x97)]='anonymous',this[_0x4ba414(0x179)][_0x4ba414(0xce)]=()=>this[_0x4ba414(0x112)](!0x0),this[_0x4ba414(0x179)][_0x4ba414(0x21c)]=_0x203714[_0x4ba414(0x1be)]),(_0x1a54b6=this[_0x4ba414(0x179)])!=null&&_0x1a54b6[_0x4ba414(0x193)]&&this[_0x4ba414(0x179)]['naturalWidth']>0x0&&this[_0x4ba414(0x179)][_0x4ba414(0x101)]>0x0))return this['_urlImage'];}};function Vr(_0x6656f0,_0x550785,_0x5dbe7d,_0x29cd7b){const _0xe3ecde=_0x533bf2;let _0x47acc9=Object[_0xe3ecde(0x2ab)](_0x6656f0);return Object[_0xe3ecde(0x1b1)](_0x47acc9,_0xe3ecde(0x289),{'value':_0x550785}),Object[_0xe3ecde(0x1b1)](_0x47acc9,_0xe3ecde(0x10e),{'value':_0x5dbe7d}),Object[_0xe3ecde(0x247)](_0x29cd7b)[_0xe3ecde(0x1cf)](_0x55b507=>{const _0x12d9ac=_0xe3ecde;Object[_0x12d9ac(0x1b1)](_0x47acc9,_0x55b507,{'value':_0x29cd7b[_0x55b507]});}),_0x47acc9;}function Hr(_0xa4ed80,_0x36b6fe,_0xeb136e,_0x479711){const _0x116e56=_0x533bf2;let _0x9564be=Math[_0x116e56(0x1fb)](_0x479711||0x0,_0x36b6fe/0x2,_0xeb136e/0x2);if(_0xa4ed80[_0x116e56(0x211)](),!_0x9564be){_0xa4ed80[_0x116e56(0x11a)](0x0,0x0,_0x36b6fe,_0xeb136e),_0xa4ed80[_0x116e56(0x2d4)]();return;}_0xa4ed80['moveTo'](_0x9564be,0x0),_0xa4ed80[_0x116e56(0x225)](_0x36b6fe-_0x9564be,0x0),_0xa4ed80[_0x116e56(0xe7)](_0x36b6fe-_0x9564be,_0x9564be,_0x9564be,Math['PI']*0x3/0x2,0x0,!0x1),_0xa4ed80[_0x116e56(0x225)](_0x36b6fe,_0xeb136e-_0x9564be),_0xa4ed80[_0x116e56(0xe7)](_0x36b6fe-_0x9564be,_0xeb136e-_0x9564be,_0x9564be,0x0,Math['PI']/0x2,!0x1),_0xa4ed80['lineTo'](_0x9564be,_0xeb136e),_0xa4ed80[_0x116e56(0xe7)](_0x9564be,_0xeb136e-_0x9564be,_0x9564be,Math['PI']/0x2,Math['PI'],!0x1),_0xa4ed80[_0x116e56(0x225)](0x0,_0x9564be),_0xa4ed80['arc'](_0x9564be,_0x9564be,_0x9564be,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0xa4ed80[_0x116e56(0x2d4)]();}function G(_0x20ac13){const _0x269964=_0x533bf2;(_0x20ac13==null?void 0x0:_0x20ac13['type'])===_0x1d0e55['ImageBitmap']&&_0x20ac13['imageBitmap'][_0x269964(0x2a2)]();}function _0x4f81(_0x4cce69,_0x3e4a58){_0x4cce69=_0x4cce69-0x8c;const _0x4eac2e=_0x4eac();let _0x4f817e=_0x4eac2e[_0x4cce69];return _0x4f817e;}function K(_0x3ff21f){const _0xd20db5=_0x533bf2;return _0x3ff21f[_0xd20db5(0x17e)]+_0xd20db5(0xd4)+_0x3ff21f[_0xd20db5(0x1f7)]+_0xd20db5(0xd4)+_0x3ff21f[_0xd20db5(0xbe)];}var Ur=class extends _0x1b05ef{constructor(..._0x43b912){const _0x11ae05=_0x533bf2;super(..._0x43b912),W(this,_0x11ae05(0x124),new Map());}[_0x533bf2(0x1dc)](_0x27a67c){const _0x21f1ae=_0x533bf2;let _0x79ae6e=K(_0x27a67c),_0x4fb022=this[_0x21f1ae(0x124)][_0x21f1ae(0x125)](_0x79ae6e)??{'version':0x0};return _0x4fb022[_0x21f1ae(0x24b)]+=0x1,this['_entries'][_0x21f1ae(0x1aa)](_0x79ae6e,_0x4fb022),_0x4fb022[_0x21f1ae(0x24b)];}['isLatest'](_0x50d18e,_0x44e51e){var _0x117d0f;return((_0x117d0f=this['_entries']['get'](K(_0x50d18e)))==null?void 0x0:_0x117d0f['version'])===_0x44e51e;}['setImage'](_0xc8c083,_0x2b906b,_0x5006fe){const _0x355ede=_0x533bf2;if(!this['isLatest'](_0xc8c083,_0x5006fe))return G(_0x2b906b),!0x1;let _0x448af5=K(_0xc8c083),_0x4e5647=this['_entries'][_0x355ede(0x125)](_0x448af5)??{'version':_0x5006fe},_0x1d2d4c=_0x4e5647[_0x355ede(0x155)];return _0x4e5647[_0x355ede(0x155)]=_0x2b906b,_0x4e5647['version']=_0x5006fe,this[_0x355ede(0x124)][_0x355ede(0x1aa)](_0x448af5,_0x4e5647),_0x1d2d4c!==_0x2b906b&&G(_0x1d2d4c),!0x0;}[_0x533bf2(0x133)](_0x14825b){const _0x3cf418=_0x533bf2;var _0x2e87b3;return(_0x2e87b3=this['_entries'][_0x3cf418(0x125)](K(_0x14825b)))==null?void 0x0:_0x2e87b3[_0x3cf418(0x155)];}[_0x533bf2(0x2b1)](_0x5afa02){const _0x4cabe6=_0x533bf2;let _0x1c30be=K(_0x5afa02),_0xae829d=this[_0x4cabe6(0x124)][_0x4cabe6(0x125)](_0x1c30be);_0xae829d&&(G(_0xae829d[_0x4cabe6(0x155)]),this[_0x4cabe6(0x124)][_0x4cabe6(0x1fd)](_0x1c30be));}[_0x533bf2(0xe8)](_0x56e164){const _0x5ea078=_0x533bf2;for(let [_0x368655,_0x19d0fc]of this['_entries'])_0x368655[_0x5ea078(0x1da)](_0x5ea078(0xd4)+_0x56e164)&&(G(_0x19d0fc[_0x5ea078(0x155)]),this[_0x5ea078(0x124)]['delete'](_0x368655));}[_0x533bf2(0x27b)](){const _0x3844bd=_0x533bf2;this[_0x3844bd(0x124)][_0x3844bd(0x1cf)](_0x151c00=>G(_0x151c00[_0x3844bd(0x155)])),this[_0x3844bd(0x124)][_0x3844bd(0x13e)](),super[_0x3844bd(0x27b)]();}};function Wr(_0x5e45f6,_0x18325b=0x7d0){let _0xebe3f7=null,_0x477934=null,_0x1410ab=!0x1,_0x464e8e=()=>{},_0x2e4cea=()=>{_0xebe3f7!=null&&(clearInterval(_0xebe3f7),_0xebe3f7=null),_0x477934!=null&&(clearTimeout(_0x477934),_0x477934=null);};return{'promise':new Promise((_0x27d413,_0xf2d3b9)=>{_0x464e8e=_0xf2d3b9;let _0x38dcbb=()=>{const _0x551544=_0x4f81;let _0x95b8ab=document[_0x551544(0x206)](_0x5e45f6);!_0x95b8ab||_0x1410ab||(_0x1410ab=!0x0,_0x2e4cea(),_0x27d413(_0x95b8ab));};_0x38dcbb(),!_0x1410ab&&(_0xebe3f7=setInterval(_0x38dcbb,16.666666666666668),_0x477934=setTimeout(()=>{const _0x73df66=_0x4f81;_0x1410ab||(_0x1410ab=!0x0,_0x2e4cea(),_0xf2d3b9(Error(_0x73df66(0x14c)+_0x5e45f6+'\x22.')));},_0x18325b));}),'cancel':()=>{_0x1410ab||(_0x1410ab=!0x0,_0x2e4cea(),_0x464e8e(Error('Canceled\x20waiting\x20for\x20float\x20dom\x20host\x20\x22'+_0x5e45f6+'\x22.')));}};}var Gr=class extends _0x1b05ef{constructor(_0x1a85ee,_0x3a51fb,_0x2823ea,_0xbef5df,_0x56d9e2,_0x467f52,_0x5c87ba){const _0x391adc=_0x533bf2;super(),this[_0x391adc(0xbe)]=_0x1a85ee,this[_0x391adc(0x254)]=_0x3a51fb,this[_0x391adc(0x127)]=_0x2823ea,this[_0x391adc(0x1b0)]=_0xbef5df,this['_isProviderDisposed']=_0x56d9e2,this[_0x391adc(0x231)]=_0x467f52,this['_markNotReady']=_0x5c87ba,W(this,_0x391adc(0x2c8),_0x41159f[_0x391adc(0x144)]),W(this,_0x391adc(0x2b7),null),W(this,'_managed',!0x1),W(this,_0x391adc(0x255),null),W(this,_0x391adc(0x136),null),W(this,_0x391adc(0x293),null),W(this,_0x391adc(0x91),{}),W(this,_0x391adc(0x1b9),null),W(this,'_drawingGeometry',null);}[_0x533bf2(0x2e8)](){const _0x107f25=_0x533bf2;return this[_0x107f25(0xd0)];}['markUnmanaged'](){const _0x3857fd=_0x533bf2;this[_0x3857fd(0xd0)]=!0x1;}[_0x533bf2(0x207)](){const _0x2fa451=_0x533bf2;let _0xe7738d=this['_getPlacement']();return _0xe7738d?{'width':_0xe7738d[_0x2fa451(0x289)],'height':_0xe7738d['height']}:null;}[_0x533bf2(0x279)](_0x45a35d){const _0x4ff4e5=_0x533bf2;this[_0x4ff4e5(0x91)]=_0x45a35d,this[_0x4ff4e5(0x1b0)](_0x45a35d),this['_applyHostStyle']();}async[_0x533bf2(0x191)](){const _0x3934ef=_0x533bf2;if(this['_disposed']||this[_0x3934ef(0x176)]())throw Error(_0x3934ef(0x175));let _0xdf83f3=this[_0x3934ef(0x254)](),_0x3a7cf2=(_0xdf83f3==null?void 0x0:_0xdf83f3[_0x3934ef(0x1bc)])??this[_0x3934ef(0xbe)],_0x20c5dc=document[_0x3934ef(0x206)](_0x3a7cf2);if(this[_0x3934ef(0x2b7)]&&_0x20c5dc!=null&&_0x20c5dc[_0x3934ef(0x223)](this[_0x3934ef(0x2b7)][_0x3934ef(0x143)]))return{'mountNode':this[_0x3934ef(0x2b7)][_0x3934ef(0x143)],'dispose':()=>{const _0x3ac26f=_0x3934ef;this[_0x3ac26f(0x27b)](),_0xdf83f3==null||_0xdf83f3[_0x3ac26f(0x27b)]['dispose']();}};if(this[_0x3934ef(0x136)])return this['_pendingHost'];let _0x2af624=this[_0x3934ef(0x22b)]();return this[_0x3934ef(0x136)]=_0x2af624,_0x2af624['then'](()=>{const _0x3dc3fa=_0x3934ef;this[_0x3dc3fa(0x136)]===_0x2af624&&(this[_0x3dc3fa(0x136)]=null);},()=>{const _0xd1a3c4=_0x3934ef;this[_0xd1a3c4(0x136)]===_0x2af624&&(this['_pendingHost']=null);}),_0x2af624;}async['ensureMount'](){const _0x48d360=_0x533bf2;try{return(await this['ensureHandle']())[_0x48d360(0x143)];}catch{return null;}}[_0x533bf2(0x1d9)](){const _0x505b2d=_0x533bf2;let _0xf3d6a5=this[_0x505b2d(0x254)](),_0x36d672=(_0xf3d6a5==null?void 0x0:_0xf3d6a5[_0x505b2d(0x1bc)])??this[_0x505b2d(0xbe)],_0x1aae0c=document[_0x505b2d(0x206)](_0x36d672);return!!(this[_0x505b2d(0x2b7)]&&_0x1aae0c!=null&&_0x1aae0c[_0x505b2d(0x223)](this[_0x505b2d(0x2b7)][_0x505b2d(0x143)]));}[_0x533bf2(0x301)](){const _0x24bacf=_0x533bf2;if(!this[_0x24bacf(0x2b7)])return;let _0x1b968d=this['_getPlacement']();_0x1b968d&&(this['_drawingGeometry']=this[_0x24bacf(0x2cf)](),this['_domFrame']['update'](this[_0x24bacf(0x2e9)](_0x1b968d),this[_0x24bacf(0x2fa)]()));}[_0x533bf2(0xa2)](){const _0xc6b300=_0x533bf2;this[_0xc6b300(0x231)]();}[_0x533bf2(0x2a7)](){const _0x514a5c=_0x533bf2;this[_0x514a5c(0x2a4)]();}['dispose'](){const _0x12086d=_0x533bf2;var _0x5b3aee;this['_disposed']||(this[_0x12086d(0x2a7)](),this['_pendingToken']=null,this[_0x12086d(0x136)]=null,this[_0x12086d(0x2b5)](),this[_0x12086d(0xd0)]=!0x1,(_0x5b3aee=this[_0x12086d(0x2b7)])==null||_0x5b3aee[_0x12086d(0x27b)](),this[_0x12086d(0x2b7)]=null,this[_0x12086d(0x10d)]=null,this[_0x12086d(0x26e)](),super[_0x12086d(0x27b)]());}async[_0x533bf2(0x22b)](){const _0x1a61e7=_0x533bf2;let _0x236de7=this['_getFloatDomInfo']();if(!_0x236de7)throw Error(_0x1a61e7(0x175));let _0x237f17=_0x236de7[_0x1a61e7(0x1bc)]??this['chartId'],_0xc3a28f=Wr(_0x237f17),_0x2a0fcc=Symbol(this[_0x1a61e7(0xbe)]);this['_pendingToken']=_0x2a0fcc,this[_0x1a61e7(0x293)]=_0xc3a28f;try{let _0x6b3829=await _0xc3a28f[_0x1a61e7(0x100)],_0xee119a=this[_0x1a61e7(0x254)](),_0x25907f=(_0xee119a==null?void 0x0:_0xee119a['domId'])??this[_0x1a61e7(0xbe)];if(this[_0x1a61e7(0x2bb)]||this[_0x1a61e7(0x176)]()||this[_0x1a61e7(0x255)]!==_0x2a0fcc||!_0xee119a||_0x25907f!==_0x237f17||document[_0x1a61e7(0x206)](_0x237f17)!==_0x6b3829||!_0x6b3829[_0x1a61e7(0x16c)])throw Error('Fail\x20to\x20create\x20float\x20dom');let _0x5c9000=this[_0x1a61e7(0x127)]();if(!_0x5c9000)throw Error(_0x1a61e7(0x175));let _0x59c6ba=new _0x466713(_0x6b3829);return _0x59c6ba[_0x1a61e7(0x14e)](this['_resolveLayout'](_0x5c9000),this[_0x1a61e7(0x2fa)]()),this[_0x1a61e7(0xf9)](_0x6b3829),this['_domFrame']=_0x59c6ba,this[_0x1a61e7(0x10d)]=this['_getDrawingGeometry'](),this['disposeWithMe'](_0xee119a['position$'][_0x1a61e7(0x28f)](()=>this[_0x1a61e7(0xb7)]())),this[_0x1a61e7(0xd0)]=!0x0,{'mountNode':_0x59c6ba[_0x1a61e7(0x143)],'dispose':()=>{const _0x32c635=_0x1a61e7;this[_0x32c635(0x27b)](),_0x236de7['dispose'][_0x32c635(0x27b)]();}};}finally{this[_0x1a61e7(0x293)]===_0xc3a28f&&(this[_0x1a61e7(0x293)]=null),this[_0x1a61e7(0x255)]===_0x2a0fcc&&(this[_0x1a61e7(0x255)]=null);}}[_0x533bf2(0x2b5)](){const _0x4f7dd9=_0x533bf2;let _0x5d6b72=this[_0x4f7dd9(0x293)];_0x5d6b72&&(_0x5d6b72[_0x4f7dd9(0x30a)](),this[_0x4f7dd9(0x293)]=null);}[_0x533bf2(0x1a1)](){const _0x1e0d99=_0x533bf2;let _0x528ed6=this['_getPlacement']();this[_0x1e0d99(0x2b7)]&&_0x528ed6&&this['_domFrame'][_0x1e0d99(0x14e)](this['_resolveLayout'](_0x528ed6),this['_frameStyle']());}['_syncLayoutOnDrawingTransform'](){const _0x3c223a=_0x533bf2;let _0x2feabc=this['_getDrawingGeometry'](),_0x451c1d=this['_drawingGeometry'];!_0x2feabc||_0x451c1d&&_0x451c1d[_0x3c223a(0x234)]===_0x2feabc[_0x3c223a(0x234)]&&_0x451c1d[_0x3c223a(0x291)]===_0x2feabc[_0x3c223a(0x291)]&&_0x451c1d[_0x3c223a(0x289)]===_0x2feabc[_0x3c223a(0x289)]&&_0x451c1d[_0x3c223a(0x10e)]===_0x2feabc[_0x3c223a(0x10e)]||(this[_0x3c223a(0x10d)]=_0x2feabc,this[_0x3c223a(0x301)]());}[_0x533bf2(0x2cf)](){const _0x45e2cf=_0x533bf2;var _0x44308c;let _0x1c57bc=(_0x44308c=this['_getFloatDomInfo']())==null?void 0x0:_0x44308c[_0x45e2cf(0x11a)];return _0x1c57bc?{'left':_0x1c57bc[_0x45e2cf(0x234)],'top':_0x1c57bc[_0x45e2cf(0x291)],'width':_0x1c57bc[_0x45e2cf(0x289)],'height':_0x1c57bc[_0x45e2cf(0x10e)]}:null;}[_0x533bf2(0x2e9)](_0x1b04ed){const _0x4eebd8=_0x533bf2;return _0x546db4[_0x4eebd8(0x2f2)]({'logicalOuterRect':{'left':_0x1b04ed[_0x4eebd8(0x234)],'top':_0x1b04ed['top'],'width':_0x1b04ed[_0x4eebd8(0x289)],'height':_0x1b04ed[_0x4eebd8(0x10e)]},'scale':{'scaleX':_0x1b04ed[_0x4eebd8(0xc2)],'scaleY':_0x1b04ed['scaleY']},'hostStyle':this['_frameStyle'](),'contentMode':_0x4a77a7[_0x4eebd8(0xcf)]});}[_0x533bf2(0x2fa)](){return{...this['_hostStyle'],'radius':_0x5a398f};}['_activateHostWrapper'](_0x32e5e4){const _0x437a1a=_0x533bf2;let _0x50ef30=_0x32e5e4[_0x437a1a(0xa5)];_0x50ef30&&(this['_savedWrapperStyle']||={'zIndex':_0x50ef30[_0x437a1a(0x1c9)][_0x437a1a(0x235)],'pointerEvents':_0x50ef30[_0x437a1a(0x1c9)][_0x437a1a(0xa6)]},_0x50ef30[_0x437a1a(0x1c9)]['zIndex']=_0x437a1a(0x25d),_0x50ef30[_0x437a1a(0x1c9)][_0x437a1a(0xa6)]=_0x437a1a(0x1af));}[_0x533bf2(0x26e)](){const _0x1edd3b=_0x533bf2;var _0x171469;if(!this[_0x1edd3b(0x1b9)])return;let _0x39a2af=this[_0x1edd3b(0x254)](),_0x4db5a8=(_0x39a2af==null?void 0x0:_0x39a2af[_0x1edd3b(0x1bc)])??this[_0x1edd3b(0xbe)],_0x2f3b51=(_0x171469=document[_0x1edd3b(0x206)](_0x4db5a8))==null?void 0x0:_0x171469[_0x1edd3b(0xa5)];_0x2f3b51&&(_0x2f3b51[_0x1edd3b(0x1c9)][_0x1edd3b(0x235)]=this[_0x1edd3b(0x1b9)][_0x1edd3b(0x235)],_0x2f3b51['style'][_0x1edd3b(0xa6)]=this[_0x1edd3b(0x1b9)][_0x1edd3b(0xa6)]),this['_savedWrapperStyle']=null;}},Kr=class extends _0xa3de1f{constructor(_0x1ad6b6,_0x1ebbab,_0x582e8a,_0x4b14d5,_0x393c03,_0x559989){const _0x4dd8a6=_0x533bf2;super(_0x1ad6b6),this[_0x4dd8a6(0x1ed)]=_0x1ebbab,this[_0x4dd8a6(0x1b0)]=_0x582e8a,this[_0x4dd8a6(0x142)]=_0x4b14d5,this[_0x4dd8a6(0x9e)]=_0x393c03,this[_0x4dd8a6(0x1e1)]=_0x559989;}[_0x533bf2(0x207)](){const _0x1858a0=_0x533bf2;let _0x31385a=this[_0x1858a0(0x1ed)]();return _0x31385a?Fr(_0x31385a):null;}[_0x533bf2(0x279)](_0x5ad67a){const _0x189374=_0x533bf2;this[_0x189374(0x1b0)](_0x5ad67a);}['nextVersion'](){const _0x391af0=_0x533bf2;return this['_snapshotStore'][_0x391af0(0x1dc)](this[_0x391af0(0x142)]);}[_0x533bf2(0x134)](_0x46533d,_0x134322){const _0x1e0b14=_0x533bf2;return this[_0x1e0b14(0x9e)][_0x1e0b14(0x126)](this[_0x1e0b14(0x142)],_0x46533d,_0x134322);}['requestPaint'](){const _0x523e13=_0x533bf2;this[_0x523e13(0x1e1)]();}[_0x533bf2(0x99)](){this['_snapshotStore']['nextVersion'](this['_snapshotKey']);}};function q(_0xf6a304,_0x3132e6){return function(_0x22bbb0,_0x58f118){_0x3132e6(_0x22bbb0,_0x58f118,_0xf6a304);};}function J(_0x59beaf,_0x3d96bd,_0x193a30,_0x28d06b){const _0x29aa90=_0x533bf2;var _0x4ba988=arguments['length'],_0x693e80=_0x4ba988<0x3?_0x3d96bd:_0x28d06b===null?_0x28d06b=Object[_0x29aa90(0x1d0)](_0x3d96bd,_0x193a30):_0x28d06b,_0x1aa85a;if(typeof Reflect==_0x29aa90(0x27a)&&typeof Reflect[_0x29aa90(0x2b6)]==_0x29aa90(0xf6))_0x693e80=Reflect[_0x29aa90(0x2b6)](_0x59beaf,_0x3d96bd,_0x193a30,_0x28d06b);else{for(var _0x20df92=_0x59beaf[_0x29aa90(0x221)]-0x1;_0x20df92>=0x0;_0x20df92--)(_0x1aa85a=_0x59beaf[_0x20df92])&&(_0x693e80=(_0x4ba988<0x3?_0x1aa85a(_0x693e80):_0x4ba988>0x3?_0x1aa85a(_0x3d96bd,_0x193a30,_0x693e80):_0x1aa85a(_0x3d96bd,_0x193a30))||_0x693e80);}return _0x4ba988>0x3&&_0x693e80&&Object[_0x29aa90(0x1b1)](_0x3d96bd,_0x193a30,_0x693e80),_0x693e80;}function qr(_0x19c3a5){const _0x357f13=_0x533bf2;if(!Object[_0x357f13(0x222)][_0x357f13(0x177)][_0x357f13(0xc0)](_0x19c3a5,_0x357f13(0x2bc)))return _0x19c3a5;let {border:_0x4161e5,..._0x36d084}=_0x19c3a5;return{..._0x36d084,'stroke':(_0x4161e5==null?void 0x0:_0x4161e5['color'])??'transparent','strokeWidth':(_0x4161e5==null?void 0x0:_0x4161e5[_0x357f13(0x289)])??0x0};}let Jr=class extends _0x1b05ef{constructor(_0x1081d8,_0x25d040,_0x28e4a2,_0x17c392){const _0x30a192=_0x533bf2;super(),this[_0x30a192(0x106)]=_0x1081d8,this['_renderManagerService']=_0x25d040,this['_chartSnapshotStoreService']=_0x28e4a2,this[_0x30a192(0x30c)]=_0x17c392,W(this,_0x30a192(0x2c4),new Map()),W(this,_0x30a192(0x260),new Set()),W(this,_0x30a192(0x1f8),new _0x31f8bb()),W(this,_0x30a192(0x20b),this[_0x30a192(0x1f8)][_0x30a192(0x2ae)]()),this[_0x30a192(0x269)](this[_0x30a192(0x106)][_0x30a192(0x26b)]['subscribe'](_0xae9882=>{const _0x478da4=_0x30a192;let _0x4b6998=this[_0x478da4(0x2c4)][_0x478da4(0x125)](_0xae9882['id']);_0x4b6998!=null&&_0x4b6998[_0x478da4(0x2e8)]()&&(_0x4b6998['markUnmanaged'](),this[_0x478da4(0x1f8)][_0x478da4(0x93)](_0xae9882['id']));}));}[_0x533bf2(0x30f)](_0xdac3c2){const _0x8f3a5d=_0x533bf2;if(_0xdac3c2==null)return;let _0x56786c=this[_0x8f3a5d(0x2a9)][_0x8f3a5d(0x27c)](_0xdac3c2),_0x366b55=_0x56786c==null?void 0x0:_0x56786c[_0x8f3a5d(0x244)];return _0x56786c==null||_0x366b55==null?null:{'scene':_0x366b55,'transformer':_0x366b55['getTransformerByCreate'](),'renderUnit':_0x56786c,'canvas':_0x56786c[_0x8f3a5d(0x2f8)][_0x8f3a5d(0x230)]()};}[_0x533bf2(0x2a3)](_0x3a0f83,_0x39f5ba){const _0x11c7fe=_0x533bf2;let _0x34be6a=this[_0x11c7fe(0x106)],_0x1ea54e=_0x39f5ba||_0x11c7fe(0x8e),_0x51dd79=_0x34be6a[_0x11c7fe(0x20c)](_0x3a0f83);if(_0x51dd79){let {unitId:_0x4e9987,subUnitId:_0x2cb7c3}=_0x51dd79;_0x34be6a[_0x11c7fe(0x16b)](_0x4e9987,_0x2cb7c3,_0x3a0f83,{'stroke':_0x1ea54e});}}['setHostStyle'](_0x43d3fb,_0x4a419e){const _0x16dc39=_0x533bf2;let _0x15bb18=this['_sheetCanvasFloatDomManagerService'],_0xa0f580=_0x15bb18[_0x16dc39(0x20c)](_0x43d3fb);if(_0xa0f580){let {unitId:_0x2fef02,subUnitId:_0x3f5056}=_0xa0f580;_0x15bb18[_0x16dc39(0x16b)](_0x2fef02,_0x3f5056,_0x43d3fb,qr(_0x4a419e));}}[_0x533bf2(0x1e7)](_0x17dad0){const _0x4d7227=_0x533bf2;let _0x73dcb0=this[_0x4d7227(0x106)][_0x4d7227(0x20c)](_0x17dad0);return _0x73dcb0?_0x73dcb0['rect']:null;}[_0x533bf2(0x108)](_0x2e28ee){const _0x471dce=_0x533bf2;var _0x4f28b0;return((_0x4f28b0=this[_0x471dce(0x2c4)][_0x471dce(0x125)](_0x2e28ee))==null?void 0x0:_0x4f28b0[_0x471dce(0x1d9)]())??!0x1;}['syncHostLayout'](_0x37db88){const _0x118759=_0x533bf2;var _0xecf6af;(_0xecf6af=this[_0x118759(0x2c4)]['get'](_0x37db88))==null||_0xecf6af['syncLayout']();}['removeHost'](_0x5ae353){const _0x488b6e=_0x533bf2;let _0xe9eff3=this['_chartHostMap'][_0x488b6e(0x125)](_0x5ae353);_0xe9eff3==null||_0xe9eff3[_0x488b6e(0x27b)](),this[_0x488b6e(0x2c4)][_0x488b6e(0x1fd)](_0x5ae353);}async[_0x533bf2(0x145)](_0x5dba13,_0x4fd40f){const _0xe4607e=_0x533bf2;if(_0x4fd40f===_0x41159f[_0xe4607e(0x129)])return this['_createImageChartHost'](_0x5dba13);if(_0x4fd40f===_0x41159f[_0xe4607e(0x144)])return this[_0xe4607e(0x300)](_0x5dba13);let _0x3e68b8=this['_getOrCreateSheetChartHost'](_0x5dba13);if(!_0x3e68b8)throw Error(_0xe4607e(0x175));return _0x3e68b8[_0xe4607e(0x191)]();}[_0x533bf2(0xa4)](_0x4e8e41){const _0x450dc3=_0x533bf2;var _0x1dec2c;return this[_0x450dc3(0x260)]['has'](_0x4e8e41)?(_0x1dec2c=this['_chartHostMap']['get'](_0x4e8e41))!=null&&_0x1dec2c[_0x450dc3(0x1d9)]()?!0x0:(this[_0x450dc3(0x260)][_0x450dc3(0x1fd)](_0x4e8e41),!0x1):!0x1;}[_0x533bf2(0x197)](_0x230e53){const _0x3ae57f=_0x533bf2;this[_0x3ae57f(0x260)][_0x3ae57f(0x1fd)](_0x230e53)&&this['_requestChartCanvasRender'](_0x230e53);}['invalidateSnapshot'](_0x13e8ad){const _0x4738f6=_0x533bf2;let _0x34d0af=this[_0x4738f6(0x122)](_0x13e8ad);_0x34d0af&&this[_0x4738f6(0x2f6)][_0x4738f6(0x1dc)](_0x34d0af);}['_createImageChartHost'](_0x574851){const _0x21fa92=_0x533bf2;let _0x4fe1a4=this[_0x21fa92(0x122)](_0x574851);return!_0x4fe1a4||!this['getHostSize'](_0x574851)?null:new Kr(_0x574851,()=>this[_0x21fa92(0x1e7)](_0x574851),_0x44ea23=>this[_0x21fa92(0x102)](_0x574851,_0x44ea23),_0x4fe1a4,this[_0x21fa92(0x2f6)],()=>this[_0x21fa92(0x292)](_0x574851));}[_0x533bf2(0x300)](_0x20bd6b){const _0x552608=_0x533bf2;if(!this[_0x552608(0x1e7)](_0x20bd6b))return null;this[_0x552608(0x30c)][_0x552608(0x2e1)](_0x20bd6b,{'contentBox':{'wrapperInset':0x0,'contentInset':0x0}});let _0x2492c3=this['_chartHostMap']['get'](_0x20bd6b);if(_0x2492c3)return _0x2492c3;let _0x228d0e=new Gr(_0x20bd6b,()=>this[_0x552608(0x106)][_0x552608(0x20c)](_0x20bd6b),()=>this[_0x552608(0x25f)](_0x20bd6b),_0x492490=>this[_0x552608(0x102)](_0x20bd6b,_0x492490),()=>this[_0x552608(0x2bb)],()=>this['_markHostReady'](_0x20bd6b),()=>this[_0x552608(0x197)](_0x20bd6b));return this[_0x552608(0x2c4)]['set'](_0x20bd6b,_0x228d0e),_0x228d0e;}[_0x533bf2(0x2a1)](_0xb06a6e){const _0x23ad17=_0x533bf2;this[_0x23ad17(0x260)][_0x23ad17(0xc4)](_0xb06a6e)||(this['_activeDomReadyChartIds'][_0x23ad17(0x2db)](_0xb06a6e),this[_0x23ad17(0x292)](_0xb06a6e));}[_0x533bf2(0x122)](_0x2a3936){const _0x22f33f=_0x533bf2;let _0x2a6979=this[_0x22f33f(0x106)][_0x22f33f(0x20c)](_0x2a3936);return _0x2a6979?{'unitId':_0x2a6979[_0x22f33f(0x17e)],'subUnitId':_0x2a6979[_0x22f33f(0x1f7)],'chartId':_0x2a3936}:null;}['_requestChartCanvasRender'](_0x45258e){const _0x1955ef=_0x533bf2;var _0x2bfaca,_0x597912,_0x8a3e58;let _0x45aa31=this['_sheetCanvasFloatDomManagerService']['getFloatDomInfo'](_0x45258e);if(!_0x45aa31)return;let _0x27f0c1=(_0x2bfaca=this[_0x1955ef(0x2a9)][_0x1955ef(0x27c)](_0x45aa31[_0x1955ef(0x17e)]))==null?void 0x0:_0x2bfaca[_0x1955ef(0x244)],_0x1a4797=(_0x27f0c1==null||(_0x597912=_0x27f0c1['getObjectIncludeInGroup'])==null?void 0x0:_0x597912[_0x1955ef(0xc0)](_0x27f0c1,_0x57c728({'unitId':_0x45aa31['unitId'],'subUnitId':_0x45aa31['subUnitId'],'drawingId':_0x45258e})))??(_0x27f0c1==null?void 0x0:_0x27f0c1[_0x1955ef(0xb5)](_0x57c728({'unitId':_0x45aa31['unitId'],'subUnitId':_0x45aa31[_0x1955ef(0x1f7)],'drawingId':_0x45258e})))??null;_0x1a4797==null||(_0x8a3e58=_0x1a4797['makeDirty'])==null||_0x8a3e58['call'](_0x1a4797,!0x0),_0x27f0c1==null||_0x27f0c1[_0x1955ef(0x112)](!0x0);}[_0x533bf2(0x25f)](_0x5d97d8){const _0x368c13=_0x533bf2;let _0x21b2e8=this[_0x368c13(0x106)][_0x368c13(0x20c)](_0x5d97d8);if(!_0x21b2e8)return null;let _0x1d6539=this[_0x368c13(0x30f)](_0x21b2e8[_0x368c13(0x17e)]),_0x4608aa=_0x1d6539==null?void 0x0:_0x1d6539[_0x368c13(0x244)],_0x1f9498=document[_0x368c13(0x206)](_0x21b2e8[_0x368c13(0x1bc)]??_0x5d97d8);return Ir(_0x21b2e8[_0x368c13(0x11a)],{'scaleX':(_0x4608aa==null?void 0x0:_0x4608aa[_0x368c13(0xc2)])??0x1,'scaleY':(_0x4608aa==null?void 0x0:_0x4608aa[_0x368c13(0x19d)])??0x1},_0x1f9498?{'left':_0x1f9498[_0x368c13(0x2be)],'top':_0x1f9498[_0x368c13(0x21f)]}:void 0x0);}[_0x533bf2(0x27b)](){const _0x5836e4=_0x533bf2;this[_0x5836e4(0x2bb)]||(this[_0x5836e4(0x2c4)][_0x5836e4(0x1cf)](_0x51e349=>_0x51e349[_0x5836e4(0x27b)]()),this[_0x5836e4(0x2c4)][_0x5836e4(0x13e)](),this[_0x5836e4(0x260)]['clear'](),this['_removeHost$'][_0x5836e4(0x193)](),super[_0x5836e4(0x27b)]());}};Jr=J([q(0x0,_0x28410f(_0x10c864)),q(0x1,_0x28410f(_0x4c69ff)),q(0x2,_0x28410f(Ur)),q(0x3,_0x28410f(_0x9c432f))],Jr);const Yr=_0x396891('sheets-chart-ui.host.provider'),Y=_0x396891(_0x533bf2(0x30d));let Xr=class extends _0xee89a9{constructor(_0x33599e,_0x3a5e78,_0x36eece,_0x2a6520,_0x218c32,_0x1a51ff){const _0x5d0a2f=_0x533bf2;super(_0x1a51ff),this[_0x5d0a2f(0x2d7)]=_0x33599e,this[_0x5d0a2f(0x168)]=_0x3a5e78,this[_0x5d0a2f(0x90)]=_0x36eece,this[_0x5d0a2f(0x1e9)]=_0x2a6520,this[_0x5d0a2f(0x19e)]=_0x218c32,W(this,_0x5d0a2f(0x107),!0x1),W(this,'_activeEditChart$',new _0x53aede(null)),W(this,_0x5d0a2f(0x2aa),new _0x53aede(null)),W(this,_0x5d0a2f(0x27e),new _0x53aede(null)),W(this,_0x5d0a2f(0x1e3),this[_0x5d0a2f(0x2e2)][_0x5d0a2f(0x2ae)]()),W(this,_0x5d0a2f(0x141),this[_0x5d0a2f(0x2aa)][_0x5d0a2f(0x2ae)]()),W(this,_0x5d0a2f(0x1f5),this[_0x5d0a2f(0x27e)]['asObservable']());}get[_0x533bf2(0x2c6)](){const _0x5efe6b=_0x533bf2;return this[_0x5efe6b(0x2d7)][_0x5efe6b(0x14f)]??null;}get[_0x533bf2(0x14f)](){const _0x54e4ed=_0x533bf2;return this[_0x54e4ed(0x2d7)]['activeChartModel'];}get[_0x533bf2(0x241)](){const _0x4b97bb=_0x533bf2;return this[_0x4b97bb(0x2d7)][_0x4b97bb(0x241)];}get[_0x533bf2(0x2c1)](){const _0x5630a8=_0x533bf2;return this[_0x5630a8(0x2e2)][_0x5630a8(0x27d)]();}get[_0x533bf2(0x15d)](){const _0xd17bde=_0x533bf2;return this[_0xd17bde(0x1e9)][_0xd17bde(0x15d)];}get[_0x533bf2(0x246)](){return this['_rangeSelectMode'];}[_0x533bf2(0x264)](_0x558d18){const _0x51b4ec=_0x533bf2;this[_0x51b4ec(0x107)]=_0x558d18;}[_0x533bf2(0xf4)](_0x4a262a){const _0x41ec23=_0x533bf2;this[_0x41ec23(0x2e2)]['getValue']()!==_0x4a262a&&this[_0x41ec23(0x2e2)][_0x41ec23(0x93)](_0x4a262a);}[_0x533bf2(0x12c)](_0x354e38){return this['activeEditChart']===_0x354e38;}[_0x533bf2(0x2b8)](_0x2594ed){const _0x277fc9=_0x533bf2;this[_0x277fc9(0x2aa)]['next'](_0x2594ed);}[_0x533bf2(0x2e7)](_0x2fe6b5,_0x3691e2){const _0xc3bf2c=_0x533bf2;this['_panelRoute$'][_0xc3bf2c(0x93)]({'chartId':_0x2fe6b5,'route':_0x3691e2});}[_0x533bf2(0x1fc)](){this['_panelRoute$']['next'](null);}['setDataRange'](_0x1cc77d){let _0xfebf33=this['activeChartModel'];_0xfebf33&&this['_executeChartUpdateSourceConfig']({'chartModelId':_0xfebf33['id'],'range':_0x1cc77d});}[_0x533bf2(0x1ab)](_0x98fcd8){const _0x1f8366=_0x533bf2;var _0x55af18;let _0x15a741=this[_0x1f8366(0x14f)];if(!_0x15a741)return;let _0x482c57=(_0x55af18=this[_0x1f8366(0x168)][_0x1f8366(0x109)](_0x15a741['id']))==null?void 0x0:_0x55af18[_0x1f8366(0x1f9)]();if(!_0x482c57)return;let _0x24f037={..._0x482c57,'isRowDirection':_0x98fcd8===_0x1807ec[_0x1f8366(0x187)]};this[_0x1f8366(0xe9)]({'chartModelId':_0x15a741['id'],'range':_0x24f037});}[_0x533bf2(0x1a9)](_0x3d1d48){const _0x271dd1=_0x533bf2;var _0x1e5e1d;this[_0x271dd1(0x90)][_0x271dd1(0x19c)](_0x32b2ba['id'],{..._0x3d1d48,'unitId':((_0x1e5e1d=this[_0x271dd1(0x19e)][_0x271dd1(0x270)]())==null?void 0x0:_0x1e5e1d[_0x271dd1(0x23a)]())??''});}['_executeChartUpdateSourceConfig'](_0x167c49){const _0x7c675e=_0x533bf2;var _0x3a2381;this['_commandService']['executeCommand'](_0x575ee3['id'],{..._0x167c49,'unitId':((_0x3a2381=this[_0x7c675e(0x19e)][_0x7c675e(0x270)]())==null?void 0x0:_0x3a2381[_0x7c675e(0x23a)]())??''});}['dispose'](){const _0x382a62=_0x533bf2;this[_0x382a62(0x2e2)][_0x382a62(0x193)](),this['_selectedElement$'][_0x382a62(0x193)](),this['_panelRoute$'][_0x382a62(0x193)](),super[_0x382a62(0x27b)]();}};Xr=J([q(0x0,_0x28410f(_0x538c99)),q(0x1,_0x28410f(_0x1d97a8)),q(0x2,_0x413077),q(0x3,_0x28410f(_0x3f8b07)),q(0x4,_0x371c5e),q(0x5,_0x28410f(_0x513507))],Xr);const Zr=_0xac39e4[_0x533bf2(0x129)];var Qr=class extends _0xa3de1f{constructor(_0x3adb09,_0x5abfb5){const _0x119523=_0x533bf2;super(_0x3adb09),this['_rect']=_0x5abfb5,W(this,_0x119523(0x25e),0x0),W(this,'_image',void 0x0),W(this,_0x119523(0x1c9),{});}[_0x533bf2(0x207)](){return this['_rect'];}['setStyle'](_0x36ac1c){const _0xa842b0=_0x533bf2;this[_0xa842b0(0x1c9)]=_0x36ac1c;}[_0x533bf2(0x1dc)](){const _0x5de4c9=_0x533bf2;return++this[_0x5de4c9(0x25e)];}['commitSnapshot'](_0x38e88c,_0x573598){const _0x38fd48=_0x533bf2;return _0x573598===this[_0x38fd48(0x25e)]?(G(this[_0x38fd48(0x12a)]),this[_0x38fd48(0x12a)]=_0x38e88c,!0x0):(G(_0x38e88c),!0x1);}[_0x533bf2(0x2dc)](){}[_0x533bf2(0x99)](){const _0x2ec146=_0x533bf2;this[_0x2ec146(0x25e)]+=0x1;}[_0x533bf2(0x307)](){const _0x536a3e=_0x533bf2;let _0x4579ac=this[_0x536a3e(0x12a)];return this[_0x536a3e(0x12a)]=void 0x0,_0x4579ac;}[_0x533bf2(0x27b)](){const _0x1a2c48=_0x533bf2;G(this[_0x1a2c48(0x12a)]),this['_image']=void 0x0,super['dispose']();}};function $r(_0x3dd3c9,_0x3aeea7,_0x50b83f){const _0x26a92b=_0x533bf2;let _0x2558a3=_0x3dd3c9['getRuntimeContext'](_0x3aeea7);return _0x5634d6({..._0x3dd3c9[_0x26a92b(0x1c9)],'runtime':{..._0x2558a3,'layoutInset':0x8,..._0x50b83f===void 0x0?{}:{'addWatermark':_0x50b83f}},'direction':_0x3aeea7},_0x3dd3c9[_0x26a92b(0x237)]);}let X=class extends _0x1b05ef{constructor(_0x19592f,_0x3d7afd,_0x5e2b2f,_0x31b22d,_0x2d6c0c,_0x101b5d,_0x39056e,_0x223417,_0x2a1a5c,_0x5580d7,_0xbf4457,_0x105414,_0x4a0102,_0x541e65){const _0x22bd40=_0x533bf2;super(),this['_chartHostProvider']=_0x19592f,this[_0x22bd40(0x106)]=_0x3d7afd,this[_0x22bd40(0x2d7)]=_0x5e2b2f,this['_drawingManagerService']=_0x31b22d,this[_0x22bd40(0x19e)]=_0x2d6c0c,this[_0x22bd40(0x2a9)]=_0x101b5d,this[_0x22bd40(0x1e9)]=_0x39056e,this['_chartUIService']=_0x223417,this[_0x22bd40(0x226)]=_0x2a1a5c,this[_0x22bd40(0xb0)]=_0x5580d7,this[_0x22bd40(0x194)]=_0xbf4457,this[_0x22bd40(0x2ea)]=_0x105414,this['_chartSnapshotStoreService']=_0x4a0102,this[_0x22bd40(0x114)]=_0x541e65,W(this,_0x22bd40(0x2ac),new Map()),W(this,'_chartEventHandlers',new Map()),W(this,_0x22bd40(0x262),new Map()),W(this,_0x22bd40(0x296),new Map()),W(this,'_renderDebounceMap',new Map()),W(this,_0x22bd40(0x183),new Map()),W(this,_0x22bd40(0x13a),void 0x0),W(this,_0x22bd40(0xe3),void 0x0),W(this,'_lastRenderInputMap',new Map()),W(this,_0x22bd40(0x245),null),W(this,'_lastActiveSheet',null);let _0x23c7b7=_0x4b9dc3(this[_0x22bd40(0x226)]),_0x446fc6=this['_configService'][_0x22bd40(0x8f)](_0x40c528);this[_0x22bd40(0x13a)]=(_0x446fc6==null?void 0x0:_0x446fc6[_0x22bd40(0x152)])??Zr,this[_0x22bd40(0xe3)]=_0x23c7b7[_0x22bd40(0x221)]!==0x1||_0x23c7b7[0x0]!=='all',this[_0x22bd40(0x198)](),this[_0x22bd40(0x306)](),this[_0x22bd40(0x2c7)](),this[_0x22bd40(0x286)](),this[_0x22bd40(0x171)]();}[_0x533bf2(0xd7)](_0x418be2){const _0xd36fde=_0x533bf2;let _0xb42d47=this['_getChartSnapshotKey'](_0x418be2);return _0xb42d47?this[_0xd36fde(0x2f6)]['getImage'](_0xb42d47):void 0x0;}[_0x533bf2(0x2fe)](_0x1545fc){const _0x309703=_0x533bf2;var _0x57eec4;return((_0x57eec4=this[_0x309703(0x2d7)][_0x309703(0x14f)])==null?void 0x0:_0x57eec4['id'])===_0x1545fc?_0xac39e4[_0x309703(0x144)]:this[_0x309703(0x13a)];}[_0x533bf2(0x122)](_0x2ef21e){const _0x522b2a=_0x533bf2;let _0x241adb=this[_0x522b2a(0x106)][_0x522b2a(0x20c)](_0x2ef21e);return _0x241adb?{'unitId':_0x241adb[_0x522b2a(0x17e)],'subUnitId':_0x241adb[_0x522b2a(0x1f7)],'chartId':_0x2ef21e}:null;}[_0x533bf2(0x198)](){const _0x57d96d=_0x533bf2;this[_0x57d96d(0x13a)]===_0xac39e4[_0x57d96d(0x129)]&&this[_0x57d96d(0x269)](this[_0x57d96d(0x106)][_0x57d96d(0x1e2)](_0xc2a308[_0x57d96d(0xcb)],({key:_0x53b810,config:_0x3dd8b3,unitId:_0x50f23b,subUnitId:_0x21c6d6,drawingId:_0x5956a9})=>new Br(_0x53b810,_0x3dd8b3,()=>this[_0x57d96d(0x2f6)]['getImage']({'unitId':_0x50f23b,'subUnitId':_0x21c6d6,'chartId':_0x5956a9}),()=>this['_chartHostProvider'][_0x57d96d(0xa4)](_0x5956a9))));}[_0x533bf2(0x306)](){const _0x2b5d49=_0x533bf2;this['disposeWithMe'](this[_0x2b5d49(0x2d7)][_0x2b5d49(0x241)][_0x2b5d49(0x28f)](_0x60cca1=>{const _0x4200ef=_0x2b5d49;let _0x4a2927=(_0x60cca1==null?void 0x0:_0x60cca1['id'])??null,_0xc97c57=this[_0x4200ef(0x245)];_0xc97c57!==_0x4a2927&&(_0xc97c57&&(this[_0x4200ef(0x294)][_0x4200ef(0x197)](_0xc97c57),this[_0x4200ef(0x2d0)](_0xc97c57),this['_disposeChartDomInstance'](_0xc97c57),this[_0x4200ef(0x240)](_0xc97c57)),this[_0x4200ef(0x245)]=_0x4a2927,_0x4a2927&&(this[_0x4200ef(0x294)][_0x4200ef(0x197)](_0x4a2927),this['_applyActiveChartRuntimeZIndex'](_0x4a2927),this[_0x4200ef(0x240)](_0x4a2927)));}));}[_0x533bf2(0x2c7)](){const _0x42e0f1=_0x533bf2;this[_0x42e0f1(0x269)](this[_0x42e0f1(0x305)]['featurePluginGroupUpdate$'][_0x42e0f1(0x28f)](_0x22778f=>{const _0x4fb871=_0x42e0f1;var _0x51b373;let _0x51fde9=(_0x51b373=this['_chartModelService'][_0x4fb871(0x14f)])==null?void 0x0:_0x51b373['id'];_0x51fde9&&_0x22778f[_0x4fb871(0x1f0)](_0x1a7437=>_0x1a7437[_0x4fb871(0x2cd)]['some'](_0x1ea43a=>_0x1ea43a['drawingId']===_0x51fde9))&&this[_0x4fb871(0x2d7)][_0x4fb871(0x219)](null);})),this[_0x42e0f1(0x269)](this[_0x42e0f1(0x305)][_0x42e0f1(0x2e0)]['subscribe'](_0x36150b=>{const _0xa1a48c=_0x42e0f1;var _0xe1503a;let _0x42767d=(_0xe1503a=this[_0xa1a48c(0x2d7)][_0xa1a48c(0x14f)])==null?void 0x0:_0xe1503a['id'];_0x42767d&&_0x36150b[_0xa1a48c(0x1f0)](_0x210336=>_0x210336[_0xa1a48c(0xad)][_0xa1a48c(0x1ae)]===_0x42767d||_0x210336[_0xa1a48c(0x2cd)][_0xa1a48c(0x1f0)](_0x118f14=>_0x118f14[_0xa1a48c(0x1ae)]===_0x42767d))&&this[_0xa1a48c(0x2d7)][_0xa1a48c(0x219)](null);}));}[_0x533bf2(0x286)](){const _0x22e115=_0x533bf2;this[_0x22e115(0x269)](this['_drawingManagerService'][_0x22e115(0x201)][_0x22e115(0x28f)](_0x5423df=>{const _0x2e81c7=_0x22e115;var _0x2d1466;let _0x12cbd8=(_0x2d1466=this[_0x2e81c7(0x2d7)][_0x2e81c7(0x14f)])==null?void 0x0:_0x2d1466['id'];if(!_0x12cbd8){_0x5423df[_0x2e81c7(0x1ff)]['forEach'](_0x10dd66=>{const _0x4d69c2=_0x2e81c7;this[_0x4d69c2(0x2d7)]['getChartModel'](_0x10dd66)&&this[_0x4d69c2(0x2d0)](_0x10dd66);});return;}let _0x1a62e6=this[_0x2e81c7(0x106)][_0x2e81c7(0x20c)](_0x12cbd8);(_0x1a62e6==null?void 0x0:_0x1a62e6[_0x2e81c7(0x17e)])===_0x5423df[_0x2e81c7(0x17e)]&&_0x1a62e6['subUnitId']===_0x5423df['subUnitId']&&this[_0x2e81c7(0x164)](_0x12cbd8);})),this[_0x22e115(0x269)](this[_0x22e115(0x305)][_0x22e115(0x1d8)][_0x22e115(0x28f)](_0x26fb76=>{const _0x5103ba=_0x22e115;var _0x2d40d;let _0x193be9=(_0x2d40d=this['_chartModelService']['activeChartModel'])==null?void 0x0:_0x2d40d['id'];if(!_0x193be9)return;let _0x2ce9ff=this[_0x5103ba(0x106)][_0x5103ba(0x20c)](_0x193be9);_0x2ce9ff&&_0x26fb76[_0x5103ba(0x1f0)](_0x3e3dd8=>_0x3e3dd8[_0x5103ba(0x17e)]===_0x2ce9ff[_0x5103ba(0x17e)]&&_0x3e3dd8[_0x5103ba(0x1f7)]===_0x2ce9ff['subUnitId'])&&this[_0x5103ba(0x164)](_0x193be9);})),this['disposeWithMe'](this[_0x22e115(0x2d7)][_0x22e115(0x1a2)]['subscribe'](_0x4c999d=>{const _0x4138a5=_0x22e115;var _0x10eab5;this[_0x4138a5(0x1db)][_0x4138a5(0x1fd)](_0x4c999d),this[_0x4138a5(0x2f6)][_0x4138a5(0xe8)](_0x4c999d),this[_0x4138a5(0x178)](_0x4c999d),this[_0x4138a5(0x294)][_0x4138a5(0x197)](_0x4c999d),((_0x10eab5=this[_0x4138a5(0x2d7)][_0x4138a5(0x14f)])==null?void 0x0:_0x10eab5['id'])===_0x4c999d?this[_0x4138a5(0x2d7)][_0x4138a5(0x219)](null):this['_resetChartRuntimeZIndex'](_0x4c999d),this[_0x4138a5(0x2a5)](_0x4c999d);}));}[_0x533bf2(0x240)](_0x3d4620){const _0x107f00=_0x533bf2;let _0x19a697=this[_0x107f00(0x1db)][_0x107f00(0x125)](_0x3d4620);_0x19a697&&this['render'](_0x3d4620,_0x19a697[_0x107f00(0x215)],_0x19a697[_0x107f00(0x1c9)]);}[_0x533bf2(0x2af)](_0x474365){const _0x520553=_0x533bf2;let _0x150c46=this[_0x520553(0x2ac)][_0x520553(0x125)](_0x474365);(_0x150c46==null?void 0x0:_0x150c46[_0x520553(0x2c8)])===_0x520553(0x1cb)&&(this['_disposeChartEventSubscriptions'](_0x474365),_0x150c46[_0x520553(0x27b)](),this[_0x520553(0x2ac)][_0x520553(0x1fd)](_0x474365)),this[_0x520553(0x294)][_0x520553(0x197)](_0x474365),this[_0x520553(0x294)][_0x520553(0x132)](_0x474365);}[_0x533bf2(0x2a5)](_0x6e0447){const _0x45cc99=_0x533bf2;let _0x5f0807=this['_chartInstanceMap']['get'](_0x6e0447);_0x5f0807&&(this[_0x45cc99(0x17c)](_0x6e0447),_0x5f0807['dispose'](),this[_0x45cc99(0x2ac)][_0x45cc99(0x1fd)](_0x6e0447)),this[_0x45cc99(0x294)][_0x45cc99(0x197)](_0x6e0447),this[_0x45cc99(0x294)][_0x45cc99(0x132)](_0x6e0447);}[_0x533bf2(0x178)](_0x4df0b9){const _0x3d4e1c=_0x533bf2;var _0x9f09be,_0x2389af;(_0x9f09be=this[_0x3d4e1c(0x114)][_0x3d4e1c(0x2d8)](_0x5f5aa4))==null||(_0x2389af=_0x9f09be['clearRuntimeCache'])==null||_0x2389af[_0x3d4e1c(0xc0)](_0x9f09be,_0x4df0b9);}[_0x533bf2(0x29c)](_0x5b2948,_0x12774a){const _0x47f3ea=_0x533bf2;let _0x7b6cc6=this[_0x47f3ea(0x305)][_0x47f3ea(0x1a0)](_0x5b2948,_0x12774a);Object[_0x47f3ea(0x281)](_0x7b6cc6??{})[_0x47f3ea(0x1cf)](_0x3c4985=>{const _0xd33fbc=_0x47f3ea;_0x3c4985[_0xd33fbc(0x24f)]===_0xc2a308[_0xd33fbc(0xcb)]&&this[_0xd33fbc(0x178)](_0x3c4985['drawingId']);});}['_getChartRenderObject'](_0x54ddcf,_0x42b4da){const _0xe3e89=_0x533bf2;var _0x2ff419;return((_0x2ff419=_0x54ddcf[_0xe3e89(0x297)])==null?void 0x0:_0x2ff419[_0xe3e89(0xc0)](_0x54ddcf,_0x42b4da))??_0x54ddcf[_0xe3e89(0xb5)](_0x42b4da)??null;}[_0x533bf2(0x25c)](_0x33e50d){const _0x298a01=_0x533bf2;var _0x5d79a5;let _0xd2d517=this['_sheetCanvasFloatDomManagerService'][_0x298a01(0x20c)](_0x33e50d);if(!_0xd2d517)return null;let _0x33f962=(_0x5d79a5=this['_renderManagerService'][_0x298a01(0x27c)](_0xd2d517[_0x298a01(0x17e)]))==null?void 0x0:_0x5d79a5[_0x298a01(0x244)];if(!_0x33f962)return null;let _0x5854e0=this[_0x298a01(0x277)](_0x33f962,_0x57c728({'unitId':_0xd2d517['unitId'],'subUnitId':_0xd2d517['subUnitId'],'drawingId':_0x33e50d}));return _0x5854e0?{'info':_0xd2d517,'scene':_0x33f962,'chartObject':_0x5854e0}:null;}[_0x533bf2(0x251)](_0x46e3d3,_0x2741a3){const _0x5d105a=_0x533bf2;var _0xb9962b,_0x1ed8da,_0x4c3642,_0x358ed7;let _0x13cad8=this[_0x5d105a(0x25c)](_0x46e3d3);_0x13cad8&&((_0xb9962b=(_0x1ed8da=_0x13cad8[_0x5d105a(0x92)])['setProps'])==null||_0xb9962b[_0x5d105a(0xc0)](_0x1ed8da,{'zIndex':_0x2741a3}),(_0x4c3642=(_0x358ed7=_0x13cad8[_0x5d105a(0x92)])['makeDirty'])==null||_0x4c3642[_0x5d105a(0xc0)](_0x358ed7,!0x0),_0x13cad8[_0x5d105a(0x244)][_0x5d105a(0x112)](!0x0));}[_0x533bf2(0x164)](_0x524666){const _0x3fd090=_0x533bf2;let _0x36c205=this[_0x3fd090(0x106)]['getFloatDomInfo'](_0x524666);if(!_0x36c205)return;let _0x1a3add=this['_drawingManagerService'][_0x3fd090(0x170)](_0x36c205['unitId'],_0x36c205['subUnitId']);this[_0x3fd090(0x251)](_0x524666,_0x1a3add[_0x3fd090(0x221)]);}[_0x533bf2(0x2d0)](_0x41f5a5){const _0x2bd419=_0x533bf2;let _0x171ab0=this['_sheetCanvasFloatDomManagerService'][_0x2bd419(0x20c)](_0x41f5a5);if(!_0x171ab0)return;let _0xce3eb2=this[_0x2bd419(0x305)]['getDrawingOrder'](_0x171ab0[_0x2bd419(0x17e)],_0x171ab0[_0x2bd419(0x1f7)]),_0x45f80d=_0xce3eb2[_0x2bd419(0x24a)](_0x41f5a5);this[_0x2bd419(0x251)](_0x41f5a5,_0x45f80d===-0x1?Math['max'](_0xce3eb2[_0x2bd419(0x221)]-0x1,0x0):_0x45f80d);}[_0x533bf2(0x2b2)](_0x5a3b51,_0x2f7647){const _0x4bf84e=_0x533bf2;let _0x3f8814=this['_sheetCanvasFloatDomManagerService'][_0x4bf84e(0x20c)](_0x5a3b51);if(_0x2f7647[_0x4bf84e(0x289)]!==void 0x0&&_0x2f7647[_0x4bf84e(0x10e)]!==void 0x0&&_0x3f8814){var _0xc0f44e;let {subUnitId:_0x34613c}=_0x3f8814,_0x1948b5=(_0xc0f44e=this[_0x4bf84e(0x19e)]['getCurrentUnitOfType'](_0x1302ff['UNIVER_SHEET']))==null?void 0x0:_0xc0f44e[_0x4bf84e(0x120)]();if((_0x1948b5==null?void 0x0:_0x1948b5[_0x4bf84e(0x30b)]())===_0x34613c){let {width:_0x18a8f6,height:_0x22ab0e}=_0x2f7647,_0x197b7c=this[_0x4bf84e(0x2d7)][_0x4bf84e(0x154)](_0x5a3b51),_0x1d9ab0=_0x197b7c==null?void 0x0:_0x197b7c[_0x4bf84e(0x1c9)];if(Math[_0x4bf84e(0xb4)](_0x18a8f6-((_0x1d9ab0==null?void 0x0:_0x1d9ab0['width'])||0x0))>0x1||Math[_0x4bf84e(0xb4)](_0x22ab0e-((_0x1d9ab0==null?void 0x0:_0x1d9ab0[_0x4bf84e(0x10e)])||0x0))>0x1){_0x197b7c==null||_0x197b7c[_0x4bf84e(0x248)]({..._0x1d9ab0,'width':_0x18a8f6,'height':_0x22ab0e});let _0x55218d=this['_chartInstanceMap']['get'](_0x5a3b51);_0x55218d&&(this[_0x4bf84e(0x294)]['syncHostLayout'](_0x5a3b51),_0x55218d[_0x4bf84e(0x1d5)]());}}}}[_0x533bf2(0x18f)](_0x4536ea,_0x50ee9a,_0x25c6c8=0x0){const _0x9adf4e=_0x533bf2;let _0xe99ef2=this[_0x9adf4e(0x183)][_0x9adf4e(0x125)](_0x4536ea);_0xe99ef2||(_0xe99ef2=_0xe22d45(_0x6e66bb=>{this['_resizeChart'](_0x4536ea,_0x6e66bb);},_0x25c6c8),this[_0x9adf4e(0x183)][_0x9adf4e(0x1aa)](_0x4536ea,_0xe99ef2)),_0xe99ef2(_0x50ee9a);}[_0x533bf2(0x171)](){const _0x2c2fef=_0x533bf2;let _0x24266b=this[_0x2c2fef(0x1de)],_0x192429=_0x50ea4a=>{const _0x24a645=_0x2c2fef;if(!_0x24266b['has'](_0x50ea4a)){let _0x46b5c0=_0xe22d45((_0x592c06,_0xbdade,_0x47e84a,_0x16a021)=>{const _0x4166e4=_0x4f81;var _0x310426,_0x469041;if(!_0x47e84a)return;(_0x310426=_0x47e84a['category'])==null||_0x310426[_0x4166e4(0xf2)][_0x4166e4(0x1cf)]((_0x536840,_0xdd63f2)=>{const _0x197871=_0x4166e4;_0x536840[_0x197871(0x2c5)]||=this['_localeService']['t'](_0x197871(0x213))+'\x20'+(_0xdd63f2+0x1);}),_0x47e84a[_0x4166e4(0xab)][_0x4166e4(0x1cf)]((_0x8f14ae,_0x11cd0f)=>{const _0x888d95=_0x4166e4;_0x8f14ae[_0x888d95(0xfb)]||=this[_0x888d95(0x1e9)]['t'](_0x888d95(0x94))+'\x20'+(_0x11cd0f+0x1);});let _0x2c3bc5=this[_0x4166e4(0x2ed)](_0x592c06,_0x16a021),_0x3a5581=(_0x469041=this['_univerInstanceService']['getCurrentUnitOfType'](_0x1302ff[_0x4166e4(0x135)]))==null?void 0x0:_0x469041[_0x4166e4(0x120)]();(_0x3a5581==null?void 0x0:_0x3a5581['getSheetId']())===_0xbdade&&this[_0x4166e4(0x2ee)](_0x592c06['id'],_0x47e84a,_0x2c3bc5);},0x11);_0x24266b[_0x24a645(0x1aa)](_0x50ea4a,_0x46b5c0);}return _0x24266b[_0x24a645(0x125)](_0x50ea4a);};this[_0x2c2fef(0x269)](this[_0x2c2fef(0x19e)][_0x2c2fef(0x228)]['subscribe'](_0x10b52e=>{const _0x2aaada=_0x2c2fef;let _0x3d4f36=this[_0x2aaada(0x19e)][_0x2aaada(0x184)](_0x1302ff[_0x2aaada(0x135)]);if(_0x10b52e&&_0x3d4f36&&_0x3d4f36[_0x2aaada(0x23a)]()===_0x10b52e){var _0x1b2fb9;let _0x427d25=_0x3d4f36[_0x2aaada(0x120)]()[_0x2aaada(0x30b)]();this['_lastActiveSheet']&&(this['_lastActiveSheet'][_0x2aaada(0x17e)]!==_0x10b52e||this[_0x2aaada(0x238)][_0x2aaada(0x1f7)]!==_0x427d25)&&this['_clearSheetChartRuntimeCaches'](this[_0x2aaada(0x238)]['unitId'],this[_0x2aaada(0x238)]['subUnitId']),this[_0x2aaada(0x238)]={'unitId':_0x10b52e,'subUnitId':_0x427d25};let _0x13a251=this[_0x2aaada(0x305)][_0x2aaada(0x1a0)](_0x10b52e,_0x427d25);if(!((_0x1b2fb9=this['_renderManagerService'][_0x2aaada(0x27c)](_0x10b52e))!=null&&_0x1b2fb9[_0x2aaada(0xc7)](_0x52bd5f)[_0x2aaada(0x22d)](_0x427d25)))return;if(_0x13a251)for(let _0x2f4652 in _0x13a251){let {drawingId:_0x1caf5c}=_0x13a251[_0x2f4652],_0x4afd91=this[_0x2aaada(0x2d7)][_0x2aaada(0x154)](_0x1caf5c);_0x4afd91&&_0x192429(_0x4afd91['id'])(_0x4afd91,_0x427d25,_0x4afd91[_0x2aaada(0x215)],this[_0x2aaada(0x1e9)][_0x2aaada(0x1e4)]());}}})),this['disposeWithMe'](this[_0x2c2fef(0x194)][_0x2c2fef(0xb2)][_0x2c2fef(0x28f)](()=>{const _0x47c0e3=_0x2c2fef;var _0x218c2a;let _0x281e22=this[_0x47c0e3(0x19e)][_0x47c0e3(0x184)](_0x1302ff['UNIVER_SHEET']);if(!_0x281e22)return;let _0x139685=_0x281e22[_0x47c0e3(0x23a)](),_0x408ae3=_0x281e22[_0x47c0e3(0x120)]()[_0x47c0e3(0x30b)](),_0x57eda0=this['_drawingManagerService'][_0x47c0e3(0x1a0)](_0x139685,_0x408ae3);if((_0x218c2a=this[_0x47c0e3(0x2a9)][_0x47c0e3(0x27c)](_0x139685))!=null&&_0x218c2a[_0x47c0e3(0xc7)](_0x52bd5f)[_0x47c0e3(0x22d)](_0x408ae3)&&_0x57eda0)for(let _0x5734d5 in _0x57eda0){let {drawingId:_0x362bb4}=_0x57eda0[_0x5734d5],_0x5ef537=this[_0x47c0e3(0x2d7)][_0x47c0e3(0x154)](_0x362bb4);_0x5ef537&&_0x192429(_0x5ef537['id'])(_0x5ef537,_0x408ae3,_0x5ef537['config'],this['_localeService'][_0x47c0e3(0x1e4)]());}})),this[_0x2c2fef(0x269)](this[_0x2c2fef(0x305)][_0x2c2fef(0x1d8)][_0x2c2fef(0x28f)](_0x196522=>{const _0x2d2990=_0x2c2fef;_0x196522[_0x2d2990(0x1cf)](_0x188341=>{const _0x53a5d5=_0x2d2990;var _0x5d9048,_0x23bc6c;let {drawingId:_0x48c972,unitId:_0x3e8eea,subUnitId:_0xd396d1}=_0x188341;if(!((_0x5d9048=this[_0x53a5d5(0x2a9)][_0x53a5d5(0x27c)](_0x3e8eea))!=null&&_0x5d9048[_0x53a5d5(0xc7)](_0x52bd5f)[_0x53a5d5(0x22d)](_0xd396d1)))return;let {drawingType:_0x3b0cea}=this['_drawingManagerService']['getDrawingByParam'](_0x188341);if(_0x3b0cea!==_0xc2a308['DRAWING_CHART'])return;let _0x44389a=this[_0x53a5d5(0x106)][_0x53a5d5(0x20c)](_0x48c972),_0x50d55c=(_0x44389a==null?void 0x0:_0x44389a[_0x53a5d5(0x1bc)])??_0x48c972,_0x3260e8=_0x44389a==null?void 0x0:_0x44389a[_0x53a5d5(0x11a)],_0x41c9df=(_0x23bc6c=this[_0x53a5d5(0x2a9)][_0x53a5d5(0x27c)](_0x3e8eea))==null?void 0x0:_0x23bc6c[_0x53a5d5(0x244)];_0x3260e8&&this[_0x53a5d5(0x269)](_0x3260e8==null?void 0x0:_0x3260e8[_0x53a5d5(0x1a4)]['subscribeEvent'](_0x4f6d62=>{const _0x58201a=_0x53a5d5;let {type:_0xd9f37d,value:_0x221406}=_0x4f6d62;if(_0x540203[_0x58201a(0x1d5)]===_0xd9f37d||_0x540203[_0x58201a(0x2bd)]===_0xd9f37d){let {width:_0x30a084,height:_0x51b4fa}=_0x221406;this[_0x58201a(0x18f)](_0x48c972,{'width':_0x30a084,'height':_0x51b4fa},0x64);}})),_0x41c9df&&this['disposeWithMe'](_0x41c9df[_0x53a5d5(0x1a4)][_0x53a5d5(0x1bb)](_0x5c49d4=>{const _0x3c601a=_0x53a5d5;var _0x5985c2;_0x5c49d4[_0x3c601a(0x20a)]===_0x540203[_0x3c601a(0x167)]&&(_0x5985c2=document[_0x3c601a(0x206)](_0x50d55c))!=null&&_0x5985c2[_0x3c601a(0x2fc)](_0x3c601a(0x95))&&this['_chartHostProvider'][_0x3c601a(0x121)](_0x48c972);}));let _0x19d4bf=this[_0x53a5d5(0x2d7)][_0x53a5d5(0x154)](_0x48c972);_0x19d4bf&&this[_0x53a5d5(0x269)](_0x50f064([_0x19d4bf[_0x53a5d5(0x250)],_0x19d4bf[_0x53a5d5(0x146)],this[_0x53a5d5(0x1e9)][_0x53a5d5(0x15d)]])[_0x53a5d5(0x28f)](([_0x3d2299,_0x46568c,_0x33041e])=>{_0x192429(_0x19d4bf['id'])(_0x19d4bf,_0xd396d1,_0x3d2299,_0x33041e);}));});})),this[_0x2c2fef(0x269)](_0x50f064([this[_0x2c2fef(0x305)][_0x2c2fef(0x26b)]])[_0x2c2fef(0x28f)](([_0x488294])=>{const _0x1f7df2=_0x2c2fef;_0x488294[_0x1f7df2(0x1cf)](_0x64dfda=>{const _0x343c56=_0x1f7df2;var _0x2a5228;let {drawingId:_0x35e1ae}=_0x64dfda;((_0x2a5228=this[_0x343c56(0x2d7)][_0x343c56(0x14f)])==null?void 0x0:_0x2a5228['id'])===_0x35e1ae&&this['_chartModelService'][_0x343c56(0x219)](null),this[_0x343c56(0x17c)](_0x35e1ae),this[_0x343c56(0x9d)][_0x343c56(0x1fd)](_0x35e1ae),this[_0x343c56(0x294)][_0x343c56(0x197)](_0x35e1ae),this['_resetChartRuntimeZIndex'](_0x35e1ae),this[_0x343c56(0x2a5)](_0x35e1ae),this[_0x343c56(0x2f6)]['clearChart'](_0x35e1ae),this[_0x343c56(0x178)](_0x35e1ae),this['_lastRenderInputMap'][_0x343c56(0x1fd)](_0x35e1ae),this['_chartElementEditMode'][_0x343c56(0x1fd)](_0x35e1ae);});}));}[_0x533bf2(0x151)](_0x5ab594,_0xb62061){const _0x533ff0=_0x533bf2;var _0x2bad20;_0xb62061?this[_0x533ff0(0x296)][_0x533ff0(0x1aa)](_0x5ab594,!0x0):this[_0x533ff0(0x296)][_0x533ff0(0x1fd)](_0x5ab594),(_0x2bad20=this[_0x533ff0(0x2ac)]['get'](_0x5ab594))==null||_0x2bad20[_0x533ff0(0x151)](_0xb62061);}async[_0x533bf2(0x266)](_0x2b999c){const _0x364dfb=_0x533bf2;let _0x2375bc=this[_0x364dfb(0x2ac)][_0x364dfb(0x125)](_0x2b999c);if(_0x2375bc){let _0x55f700=this[_0x364dfb(0x296)][_0x364dfb(0x125)](_0x2b999c)===!0x0;_0x55f700&&_0x2375bc[_0x364dfb(0x151)](!0x1);try{let _0x551b2b=await _0x2375bc[_0x364dfb(0x1ac)]();if(_0x551b2b)return _0x551b2b;}finally{_0x55f700&&this[_0x364dfb(0x2ac)][_0x364dfb(0x125)](_0x2b999c)===_0x2375bc&&_0x2375bc[_0x364dfb(0x151)](!0x0);}}let _0x2ecd52=this[_0x364dfb(0x1b6)](_0x2b999c);return _0x2ecd52?_0x4077ba(_0x2ecd52):void 0x0;}['on'](_0x45e5a4,_0x404635,_0x3747e4){const _0xec852=_0x533bf2;let _0x544af6=this[_0xec852(0x9d)][_0xec852(0x125)](_0x45e5a4);_0x544af6||(_0x544af6=new Map(),this[_0xec852(0x9d)][_0xec852(0x1aa)](_0x45e5a4,_0x544af6));let _0x5ef43f=_0x544af6[_0xec852(0x125)](_0x404635);_0x5ef43f||(_0x5ef43f=new Set(),_0x544af6[_0xec852(0x1aa)](_0x404635,_0x5ef43f)),_0x5ef43f['add'](_0x3747e4);let _0x47161d=this[_0xec852(0x2ac)]['get'](_0x45e5a4);return _0x47161d&&this[_0xec852(0x16f)](_0x45e5a4,_0x47161d,_0x404635,_0x3747e4),{'dispose':()=>{const _0x349b48=_0xec852;var _0x321aa9;(_0x321aa9=this[_0x349b48(0x9d)][_0x349b48(0x125)](_0x45e5a4))==null||(_0x321aa9=_0x321aa9[_0x349b48(0x125)](_0x404635))==null||_0x321aa9['delete'](_0x3747e4),this[_0x349b48(0x28d)](_0x45e5a4,_0x404635,_0x3747e4);}};}[_0x533bf2(0x1b6)](_0x3c21b6){const _0x2871aa=_0x533bf2;let _0xbf769a=this[_0x2871aa(0x19e)][_0x2871aa(0x184)](_0x1302ff[_0x2871aa(0x135)]),_0x17b8d3=_0xbf769a==null?void 0x0:_0xbf769a[_0x2871aa(0x120)](),_0x3c7dae=_0xbf769a==null?void 0x0:_0xbf769a[_0x2871aa(0x23a)](),_0x2a76b6=_0x17b8d3==null?void 0x0:_0x17b8d3[_0x2871aa(0x30b)]();if(!(!_0x3c7dae||!_0x2a76b6))return this[_0x2871aa(0x2f6)][_0x2871aa(0x133)]({'unitId':_0x3c7dae,'subUnitId':_0x2a76b6,'chartId':_0x3c21b6});}['_bindChartEventHandlers'](_0x4475c0,_0x11a0fc){const _0xde28cd=_0x533bf2;let _0x5c75e0=this[_0xde28cd(0x9d)][_0xde28cd(0x125)](_0x4475c0);_0x5c75e0&&_0x5c75e0[_0xde28cd(0x1cf)]((_0x1cabd9,_0x589e15)=>{const _0xe9a8de=_0xde28cd;_0x1cabd9['forEach'](_0x5dbc56=>this[_0xe9a8de(0x16f)](_0x4475c0,_0x11a0fc,_0x589e15,_0x5dbc56));});}[_0x533bf2(0x16f)](_0x1f223d,_0x499722,_0x311465,_0x15c2ce){const _0x58b934=_0x533bf2;let _0x2aade4=this[_0x58b934(0x262)][_0x58b934(0x125)](_0x1f223d);_0x2aade4||(_0x2aade4=new Map(),this[_0x58b934(0x262)][_0x58b934(0x1aa)](_0x1f223d,_0x2aade4));let _0x5c90f1=_0x2aade4[_0x58b934(0x125)](_0x311465);_0x5c90f1||(_0x5c90f1=new Map(),_0x2aade4['set'](_0x311465,_0x5c90f1)),!_0x5c90f1[_0x58b934(0xc4)](_0x15c2ce)&&_0x5c90f1[_0x58b934(0x1aa)](_0x15c2ce,_0x499722['on'](_0x311465,_0x15c2ce));}[_0x533bf2(0x28d)](_0x165f45,_0x251ac9,_0x15e44a){const _0x11d707=_0x533bf2;var _0x1618ed,_0x251715;let _0x19a5eb=(_0x1618ed=this[_0x11d707(0x262)][_0x11d707(0x125)](_0x165f45))==null?void 0x0:_0x1618ed[_0x11d707(0x125)](_0x251ac9);_0x19a5eb==null||(_0x251715=_0x19a5eb['get'](_0x15e44a))==null||_0x251715['dispose'](),_0x19a5eb==null||_0x19a5eb[_0x11d707(0x1fd)](_0x15e44a);}[_0x533bf2(0x17c)](_0x1de01b){const _0x49952c=_0x533bf2;let _0x3e7d25=this[_0x49952c(0x262)]['get'](_0x1de01b);_0x3e7d25==null||_0x3e7d25[_0x49952c(0x1cf)](_0x55f722=>{const _0x152b9e=_0x49952c;_0x55f722[_0x152b9e(0x1cf)](_0x170f2c=>_0x170f2c[_0x152b9e(0x27b)]()),_0x55f722[_0x152b9e(0x13e)]();}),this[_0x49952c(0x262)][_0x49952c(0x1fd)](_0x1de01b);}[_0x533bf2(0x2ed)](_0x430b09,_0xf3b9db){const _0x33b979=_0x533bf2;return $r(_0x430b09,_0xf3b9db,this[_0x33b979(0xe3)]);}[_0x533bf2(0x309)](_0x2ef86a){const _0x44fef8=_0x533bf2;return this[_0x44fef8(0x24d)](_0x2ef86a)==null;}[_0x533bf2(0x24d)](_0xc46e20){const _0x56822a=_0x533bf2;var _0x316996;let _0x4389da=this[_0x56822a(0x106)]['getFloatDomInfo'](_0xc46e20);if(!_0x4389da)return _0x56822a(0x1f6);let {subUnitId:_0x385ec8}=_0x4389da,_0x6d439b=(_0x316996=this[_0x56822a(0x19e)][_0x56822a(0x184)](_0x1302ff[_0x56822a(0x135)]))==null?void 0x0:_0x316996['getActiveSheet']();if(!_0x6d439b)return'missing-active-sheet';if(_0x6d439b['getSheetId']()!==_0x385ec8)return _0x56822a(0x2e3);}async[_0x533bf2(0x2ee)](_0x283b2a,_0x3dd11b,_0x5d3fba){const _0x4aab43=_0x533bf2;let _0xfd667f=this[_0x4aab43(0x114)][_0x4aab43(0x2d8)](_0x5f5aa4);if(!_0xfd667f||(this[_0x4aab43(0x1db)]['set'](_0x283b2a,{'config':_0x3dd11b,'style':_0x5d3fba}),this[_0x4aab43(0x24d)](_0x283b2a)))return;let _0x5ad006=this['_resolveChartRenderMode'](_0x283b2a);if(_0x5ad006===_0xac39e4[_0x4aab43(0x129)])this['_disposeChartDomInstance'](_0x283b2a);else{var _0x110ce6;this['_chartHostProvider'][_0x4aab43(0x99)](_0x283b2a),((_0x110ce6=this['_chartModelService'][_0x4aab43(0x14f)])==null?void 0x0:_0x110ce6['id'])===_0x283b2a&&this[_0x4aab43(0x164)](_0x283b2a);}let _0x22ec16=_0x5ad006===_0xac39e4[_0x4aab43(0x129)]?_0x41159f['Image']:_0x41159f[_0x4aab43(0x144)],_0x94d4aa=await this[_0x4aab43(0x294)][_0x4aab43(0x145)](_0x283b2a,_0x22ec16);if(!_0x94d4aa)return;let _0x386bbd=this[_0x4aab43(0x298)](_0x283b2a,_0x22ec16,_0xfd667f);_0x386bbd[_0x4aab43(0x2da)](_0x94d4aa);try{await _0x386bbd[_0x4aab43(0x2ee)]({'chartId':_0x283b2a,'config':_0x3dd11b,'style':_0x5d3fba});}catch(_0x554925){if(_0x5ad006!==_0xac39e4[_0x4aab43(0x129)])throw _0x554925;}}async[_0x533bf2(0x204)](_0x35ed53,_0x4ccb60,_0x3bc2af){const _0x5bacc5=_0x533bf2;let _0x14e37e=this[_0x5bacc5(0x305)][_0x5bacc5(0x1a0)](_0x35ed53,_0x4ccb60),_0x239fe5=this['_drawingManagerService'][_0x5bacc5(0x170)](_0x35ed53,_0x4ccb60),_0x8f9062=Object[_0x5bacc5(0x281)](_0x14e37e??{})['filter'](_0x478b7c=>_0x478b7c[_0x5bacc5(0x24f)]===_0xc2a308[_0x5bacc5(0xcb)]&&_0x478b7c['hidden']!==!0x0);await Promise['allSettled'](_0x8f9062[_0x5bacc5(0x26c)](async _0x239dde=>{const _0x50c5cb=_0x5bacc5;let _0x74a9e0=await this[_0x50c5cb(0xcc)](_0x239dde,_0x239fe5);_0x74a9e0&&(_0x3bc2af[_0x50c5cb(0x2f9)](_0x74a9e0,_0xaa2b67),_0x239dde[_0x50c5cb(0x10f)]&&_0x4bfe7a({'drawingId':_0x239dde[_0x50c5cb(0x10f)],'unitId':_0x35ed53,'subUnitId':_0x4ccb60},_0x74a9e0,_0x3bc2af,this['_drawingManagerService']));}));}async['_createPrintingChartObject'](_0x4c9a3e,_0x5bc1d6){const _0x385bde=_0x533bf2;let _0x332858=this[_0x385bde(0x2d7)][_0x385bde(0x154)](_0x4c9a3e['drawingId']),_0x33eb21=this['_renderModelManager'][_0x385bde(0x2d8)](_0x5f5aa4),_0x172b58=_0x4c9a3e['transform'],_0x3278b3=_0x332858==null?void 0x0:_0x332858['config'];if(!_0x332858||!_0x33eb21||!_0x172b58||!_0x3278b3||_0x172b58[_0x385bde(0x289)]==null||_0x172b58[_0x385bde(0x10e)]==null)return null;let _0x1d51c8=new Qr(_0x4c9a3e[_0x385bde(0x1ae)],{'width':_0x172b58[_0x385bde(0x289)],'height':_0x172b58['height']}),_0x1c2b5e=_0x33eb21[_0x385bde(0x163)](_0x41159f['Image'],this[_0x385bde(0x2a8)]());_0x1c2b5e[_0x385bde(0x2da)](_0x1d51c8);let _0x935780;try{await _0x1c2b5e['render']({'chartId':_0x4c9a3e['drawingId'],'config':_0x3278b3,'style':this[_0x385bde(0x2ed)](_0x332858,this[_0x385bde(0x1e9)][_0x385bde(0x1e4)]())});}catch(_0x21b008){console[_0x385bde(0x2fd)](_0x385bde(0x1ef),_0x21b008);}finally{_0x935780=_0x1d51c8[_0x385bde(0x307)](),_0x1c2b5e['dispose'](),_0x1d51c8[_0x385bde(0x27b)]();}let _0x4defad=this[_0x385bde(0x2f6)]['getImage']({'unitId':_0x4c9a3e[_0x385bde(0x17e)],'subUnitId':_0x4c9a3e[_0x385bde(0x1f7)],'chartId':_0x4c9a3e['drawingId']}),_0x53003a=_0x935780??_0x4defad;if(!_0x53003a)return null;let _0x13863e=_0x5bc1d6['indexOf'](_0x4c9a3e[_0x385bde(0x1ae)]);return new Br(_0x57c728(_0x4c9a3e),{..._0x172b58,..._0x15b37e,...qr(_0x1d51c8[_0x385bde(0x1c9)]),'visible':!0x0,'zIndex':_0x13863e===-0x1?Math['max'](_0x5bc1d6[_0x385bde(0x221)]-0x1,0x0):_0x13863e},()=>_0x53003a,void 0x0,_0x935780?()=>G(_0x935780):void 0x0);}[_0x533bf2(0x298)](_0x5bcf96,_0x2fb468,_0x5dd0f3){const _0x6f4d0e=_0x533bf2;let _0x430ffd=this[_0x6f4d0e(0x2ac)][_0x6f4d0e(0x125)](_0x5bcf96);if((_0x430ffd==null?void 0x0:_0x430ffd[_0x6f4d0e(0x2c8)])===_0x2fb468)return _0x430ffd;_0x430ffd&&(this[_0x6f4d0e(0x17c)](_0x5bcf96),_0x430ffd['dispose'](),this[_0x6f4d0e(0x2ac)][_0x6f4d0e(0x1fd)](_0x5bcf96));let _0x35cd85=_0x5dd0f3['createChartInstance'](_0x2fb468,this[_0x6f4d0e(0x2a8)]());return this[_0x6f4d0e(0x2ac)][_0x6f4d0e(0x1aa)](_0x5bcf96,_0x35cd85),_0x35cd85[_0x6f4d0e(0x151)](this[_0x6f4d0e(0x296)][_0x6f4d0e(0x125)](_0x5bcf96)===!0x0),this['_bindChartEventHandlers'](_0x5bcf96,_0x35cd85),_0x35cd85;}['_createChartRenderInstanceContext'](){const _0x2781ae=_0x533bf2;return{'resolveHostStyle':({style:_0x9c5953})=>_0x1aa3f2({'style':_0x9c5953,'getRenderColor':_0x23e92f=>this[_0x2781ae(0xb0)][_0x2781ae(0x162)](_0x23e92f)}),'resolveRenderBackgroundColor':({style:_0x224bac})=>this['_chartThemeService'][_0x2781ae(0x162)](_0x1a5353(_0x224bac))};}[_0x533bf2(0x11e)](){const _0x2733df=_0x533bf2;this[_0x2733df(0x1de)][_0x2733df(0x1cf)](_0x27e8f8=>_0x27e8f8['cancel']()),this['_renderDebounceMap'][_0x2733df(0x13e)](),this[_0x2733df(0x183)][_0x2733df(0x1cf)](_0x566179=>_0x566179['cancel']()),this[_0x2733df(0x183)]['clear']();}['dispose'](){const _0x2f2156=_0x533bf2;Array['from'](this[_0x2f2156(0x2ac)]['keys']())[_0x2f2156(0x1cf)](_0x2048a0=>this[_0x2f2156(0x2a5)](_0x2048a0)),this[_0x2f2156(0x296)][_0x2f2156(0x13e)](),this['_cancelDebouncedCallbacks'](),this[_0x2f2156(0x1db)][_0x2f2156(0x13e)](),this['_activeChartId']=null,this[_0x2f2156(0x238)]=null,super[_0x2f2156(0x27b)]();}};X=J([q(0x0,Yr),q(0x1,_0x28410f(_0x10c864)),q(0x2,_0x28410f(_0x538c99)),q(0x3,_0x32f0cf),q(0x4,_0x371c5e),q(0x5,_0x28410f(_0x4c69ff)),q(0x6,_0x28410f(_0x3f8b07)),q(0x7,Y),q(0x8,_0x28410f(_0x4b92dd)),q(0x9,_0x28410f(_0x39ff0a)),q(0xa,_0x28410f(_0x3801a3)),q(0xb,_0x5d6e79),q(0xc,_0x28410f(Ur)),q(0xd,_0x3e474b)],X);var ei;const ti={'axis':{..._0x1bdd05,'primaryGridLineVisible':!0x1,'secondaryGridLineVisible':!0x0},'funnel':_0x276dc8,'heatmap':_0x532e7e,'indicatorLine':_0xb6da10,'legend':_0x521853,'lineAndArea':_0x8d9db6,'pareto':_0x27a98e,'pie':{..._0x338243,'doughnutHole':0.5,'pieHole':0x0},'relation':{..._0x231633,'useValueAsSymbolSize':!0x0},'radar':_0x313059,'series':{..._0x3d7d3a,'radarFillOpacity':0.2,'rightAxis':{'ltr':!0x1,'rtl':((ei=_0x2d121a[_0x533bf2(0x2dd)])==null?void 0x0:ei[_0x533bf2(0xf5)])??!0x1}},'style':_0x514eb1,'titles':_0x172fb1,'trendline':_0x4ba913,'waterfall':{..._0x15f353,'useSubtotal':!0x0},'waterfallStyle':_0x578664,'wordCloud':_0x5f4dcd},ni=_0x558520=>_0x558520[_0x533bf2(0x184)](_0x1302ff[_0x533bf2(0x135)])[_0x533bf2(0x23a)](),ri=_0x97bea0=>{const _0x2f0862=_0x533bf2;var _0x5bd8d1;return(_0x5bd8d1=_0x97bea0['getCurrentUnitOfType'](_0x1302ff[_0x2f0862(0x135)])[_0x2f0862(0x120)]())==null?void 0x0:_0x5bd8d1[_0x2f0862(0x30b)]();},ii=[_0x52497a[_0x533bf2(0x18d)],_0x52497a[_0x533bf2(0x202)],_0x52497a[_0x533bf2(0x259)],_0x52497a[_0x533bf2(0x9c)],_0x52497a[_0x533bf2(0x16a)],_0x52497a['Relation'],_0x52497a['Sankey'],_0x52497a[_0x533bf2(0x12b)],_0x52497a['Boxplot'],_0x52497a[_0x533bf2(0x243)],_0x52497a['Histogram'],_0x52497a[_0x533bf2(0x288)],_0x52497a[_0x533bf2(0x28c)],_0x52497a[_0x533bf2(0x11d)],_0x52497a[_0x533bf2(0x119)]];function ai(){let _0x4be186=_0x375724();return _0x5d0c77(_0x3ea491,{'visible':ii['every'](_0x4a8868=>!_0x49703d['baseOn'](_0x4be186,_0x4a8868))});}const oi=_0x2d3bc9=>{const _0x28ccfe=_0x533bf2;let _0x11feb5=_0x7a1354(Y),_0x37d093=_0x7a1354(_0x3f8b07),_0x3c9cef=_0x4b9dc3(_0x7a1354(_0x4b92dd)),_0xafbb97=_0x37be06(()=>_0x116915(wr(Sr[_0x28ccfe(0xc8)](),_0x3c9cef)['map'](_0x36aef8=>({'id':_0x36aef8['id'],'label':_0x37d093['t']('sheets-chart-ui.chartTypes.'+_0x36aef8[_0x28ccfe(0x2e6)]),'pieSecondaryPlotType':_0x36aef8[_0x28ccfe(0x1ee)],'value':_0x36aef8[_0x28ccfe(0x2b3)]}))),[_0x3c9cef,_0x37d093]),_0x4d3a2b=_0x3f23d3(_0x11feb5[_0x28ccfe(0x241)],_0x11feb5[_0x28ccfe(0x14f)]),_0xd062ff=_0x3f23d3(_0x4d3a2b==null?void 0x0:_0x4d3a2b['dataSource'][_0x28ccfe(0x273)],_0x4d3a2b==null?void 0x0:_0x4d3a2b[_0x28ccfe(0x166)][_0x28ccfe(0x1f9)]()),_0x5b9b1a=_0xd062ff&&!Array[_0x28ccfe(0x24c)](_0xd062ff)&&_0xd062ff[_0x28ccfe(0x21d)]?_0x1807ec['Row']:_0x1807ec[_0x28ccfe(0x29a)];return _0x57606b(_0x28ccfe(0x1ad),{'className':'univer-flex\x20univer-flex-col\x20univer-gap-3\x20univer-pb-5','children':[_0x5d0c77(_0x4438a5,{'options':_0xafbb97}),_0x5d0c77(_0xf9cfb0,{}),_0x5d0c77(_0x1a3dd9,{}),_0x5d0c77(ai,{}),_0x5d0c77(_0x2673ca,{}),_0x5d0c77(si,{'dataRange':_0xd062ff}),_0x5d0c77(_0x3fd79a,{'categoryToggleLabel':_0x37d093['t'](_0x28ccfe(0x190),_0x5b9b1a===_0x1807ec[_0x28ccfe(0x187)]?_0x5b9b1a+'\x20'+(((_0xd062ff==null?void 0x0:_0xd062ff[_0x28ccfe(0xa1)][_0x28ccfe(0x258)][_0x28ccfe(0x105)])??0x0)+0x1):_0x5b9b1a+'\x20'+_0x287b1b((_0xd062ff==null?void 0x0:_0xd062ff[_0x28ccfe(0xa1)][_0x28ccfe(0x258)][_0x28ccfe(0x2f3)])??0x0)),'orientationControl':_0x5d0c77(_0x4de9e3,{'size':_0x28ccfe(0x1b3),'onClick':()=>_0x11feb5[_0x28ccfe(0x1ab)](_0x5b9b1a===_0x1807ec['Row']?_0x1807ec[_0x28ccfe(0x29a)]:_0x1807ec[_0x28ccfe(0x187)]),'children':_0x37d093['t'](_0x28ccfe(0x18b))})}),_0x5d0c77(_0xef3110,{}),_0x5d0c77(_0x54a27f,{'defaultValues':_0x2d3bc9[_0x28ccfe(0x2bf)][_0x28ccfe(0x302)]})]});};function si(_0x36b14b){const _0x5178c8=_0x533bf2;let {dataRange:_0x575ee7}=_0x36b14b,_0x5ca8ea=_0x7a1354(Y),_0x43eaed=_0x7a1354(_0x3f8b07),_0x5868d2=_0x7a1354(_0x371c5e),[_0x1611f2,_0x7e58a0]=_0x15ee11(!0x1),[_0x41fab2,_0x139867]=_0x15ee11(!0x1),_0x1ea138=ni(_0x5868d2),_0x39ecf2=ri(_0x5868d2);_0x48969d(()=>{const _0x1eb503=_0x4f81;_0x5ca8ea[_0x1eb503(0x264)](_0x1611f2);},[_0x1611f2,_0x5ca8ea]);let _0x4deb25=_0x37be06(()=>_0xe22d45(async _0x1fd2b2=>{const _0x2092c5=_0x4f81;var _0x3d5305;if(yr(_0x575ee7,_0x5868d2)===_0x1fd2b2)return;let _0x281ee2=_0x1fd2b2[_0x2092c5(0xc1)](',')['filter'](Boolean)[_0x2092c5(0x26c)](_0x3e25b6)[0x0];if(!_0x281ee2)return;let {unitId:_0x3066c6,sheetName:_0x4fc664,range:_0x5d0f0b}=_0x281ee2,_0x112940=_0x3066c6||_0x1ea138,_0x532f68=((_0x3d5305=_0x5868d2[_0x2092c5(0x275)](_0x112940)[_0x2092c5(0x224)](_0x4fc664))==null?void 0x0:_0x3d5305[_0x2092c5(0x30b)]())||(_0x575ee7==null?void 0x0:_0x575ee7['rangeInfo'][_0x2092c5(0x1f7)]);_0x5ca8ea['setDataRange']({'rangeInfo':{'range':_0x5d0f0b,'unitId':_0x112940,'subUnitId':_0x532f68},'isRowDirection':!0x0});},0x12c,{'leading':!0x1,'maxWait':0x3e8,'trailing':!0x0}),[_0x575ee7,_0x5ca8ea,_0x1ea138,_0x5868d2]);return _0x48969d(()=>()=>_0x4deb25[_0x5178c8(0x30a)](),[_0x4deb25]),_0x5d0c77(_0x5178c8(0x1ad),{'className':_0x5178c8(0x130),'children':_0x57606b(_0x5178c8(0x1ad),{'children':[_0x5d0c77(_0x20d267,{'title':_0x43eaed['t'](_0x5178c8(0xde))}),_0x5d0c77(_0xe63180,{'supportAcrossSheet':!0x0,'keepSheetReference':!0x0,'maxRangeCount':0x1,'unitId':_0x1ea138,'subUnitId':_0x39ecf2,'initialValue':_0x575ee7?yr(_0x575ee7,_0x5868d2):'','onChange':(_0x24b16b,_0x31744b)=>_0x4deb25(_0x31744b),'onFocusChange':_0x1a4001=>{_0x41fab2||_0x7e58a0(_0x1a4001);},'onRangeSelectorDialogVisibleChange':_0x55c141=>{_0x139867(_0x55c141),_0x7e58a0(_0x55c141);}})]})});}function Z(_0x178fc5){const _0x22fa23=_0x533bf2;return _0x57606b(_0x30fdf4,{'id':_0x178fc5['id'],'children':[_0x5d0c77(_0x27417e,{'children':_0x178fc5[_0x22fa23(0x2c5)]}),_0x5d0c77(_0x17d4dc,{'children':_0x178fc5[_0x22fa23(0x2cd)]})]});}const ci=_0x932949=>{const _0x237d49=_0x533bf2;let _0x1e8ade=_0x7a1354(_0x3f8b07),_0x327c0f=_0x7a1354(Y),_0x80ddae=_0x3f23d3(_0x327c0f[_0x237d49(0x1e3)],null),_0x4147e4=_0x3f23d3(_0x327c0f['panelRoute$'],null),_0x28d3ac=(_0x4147e4==null?void 0x0:_0x4147e4[_0x237d49(0xbe)])===_0x80ddae?_0x4147e4[_0x237d49(0x2cc)]:null,_0x738cca=_0x375724(),_0x1e900f=_0x3a0738(),[_0x41d684,_0x58a868]=_0x15ee11(null);_0x48969d(()=>{const _0x18ebee=_0x237d49;_0x28d3ac!=null&&_0x28d3ac[_0x18ebee(0x118)]&&_0x58a868(_0x28d3ac[_0x18ebee(0x118)]);},[_0x28d3ac]);let _0x58e217=_0x49703d['baseOn'](_0x738cca,_0x52497a[_0x237d49(0x16d)]),_0x2f0d46=_0x738cca===_0x52497a['Radar'],_0x14c435=_0x738cca===_0x52497a[_0x237d49(0x259)],_0xfa312a=_0x738cca===_0x52497a[_0x237d49(0x16a)],_0x426081=_0x49703d['baseOn'](_0x738cca,_0x52497a[_0x237d49(0xda)]),_0x4351ed=_0x738cca===_0x52497a[_0x237d49(0x2ba)],_0xce8fb5=_0x738cca===_0x52497a[_0x237d49(0xa7)],_0x120cc3=_0x738cca===_0x52497a[_0x237d49(0x2ce)],_0x478cd3=_0x738cca===_0x52497a[_0x237d49(0x12b)],_0x17c4c5,_0x141902;switch(_0x738cca){case _0x52497a[_0x237d49(0x243)]:_0x17c4c5=_0x42e819['Candlestick'],_0x141902=_0x1e8ade['t']('sheets-chart-ui.section.candlestick');break;case _0x52497a[_0x237d49(0x1f3)]:_0x17c4c5=_0x42e819[_0x237d49(0x1f3)],_0x141902=_0x1e8ade['t'](_0x237d49(0x158));break;case _0x52497a[_0x237d49(0x288)]:_0x17c4c5=_0x42e819[_0x237d49(0x288)],_0x141902=_0x1e8ade['t']('sheets-chart-ui.section.treemap');break;case _0x52497a[_0x237d49(0x28c)]:_0x17c4c5=_0x42e819[_0x237d49(0x28c)],_0x141902=_0x1e8ade['t'](_0x237d49(0xec));break;case _0x52497a[_0x237d49(0x11d)]:_0x17c4c5=_0x42e819[_0x237d49(0x11d)],_0x141902=_0x1e8ade['t'](_0x237d49(0x10b));break;case _0x52497a[_0x237d49(0x119)]:_0x17c4c5=_0x42e819[_0x237d49(0x119)],_0x141902=_0x1e8ade['t'](_0x237d49(0xa8));break;}let _0x3737e6=_0x12072f(_0x738cca,_0x2a232a['GeneralSeries'])&&!_0x426081&&!_0x120cc3;return _0x57606b(_0x582859,{'value':_0x41d684,'onChange':_0x58a868,'children':[_0x5d0c77(Z,{'id':_0x42e819[_0x237d49(0x138)],'label':_0x1e8ade['t'](_0x237d49(0x26a)),'children':_0x5d0c77(_0x1016f6,{'defaultValues':_0x932949['defaultValues'][_0x237d49(0x1c9)],'showBodyFont':!0x0})}),_0x5d0c77(Z,{'id':_0x42e819[_0x237d49(0xdf)],'label':_0x1e8ade['t']('sheets-chart-ui.common.chartAndAxisTitles'),'children':_0x5d0c77(_0x479bc2,{'commitMode':'blur','defaultValues':_0x932949[_0x237d49(0x2bf)][_0x237d49(0x186)],'selectedTitleKey':_0x28d3ac==null?void 0x0:_0x28d3ac[_0x237d49(0xc5)]})}),_0x3737e6&&_0x5d0c77(Z,{'id':_0x42e819[_0x237d49(0xfa)],'label':_0x1e8ade['t'](_0x237d49(0x2a6)),'children':_0x5d0c77(_0x5b7d74,{'defaultValues':_0x932949[_0x237d49(0x2bf)][_0x237d49(0xab)],'NumberFormatField':_0x5598d0,'selectedSeriesId':_0x28d3ac==null?void 0x0:_0x28d3ac[_0x237d49(0x185)]})}),_0xce8fb5&&_0x5d0c77(Z,{'id':_0x42e819[_0x237d49(0x161)],'label':_0x1e8ade['t'](_0x237d49(0x261)),'children':_0x5d0c77(_0x39d84c,{'defaultValues':_0x932949[_0x237d49(0x2bf)][_0x237d49(0x20f)],'getDefaultBucketName':({seriesName:_0x3d228b,target:_0x40717d})=>_0x40717d===_0x256130[_0x237d49(0xbd)]?_0x1e8ade['t'](_0x237d49(0x8d)):_0x3d228b?_0x3d228b+'-('+_0x1e8ade['t'](_0x40717d===_0x256130[_0x237d49(0x212)]?_0x237d49(0x111):_0x237d49(0x2ad))+')':'','NumberFormatField':_0x5598d0,'selectedSeriesId':_0x28d3ac==null?void 0x0:_0x28d3ac[_0x237d49(0x185)]})}),_0x120cc3&&_0x57606b(_0x291abc,{'children':[_0x5d0c77(Z,{'id':_0x42e819['ParetoBarSeries'],'label':_0x1e8ade['t']('sheets-chart-ui.section.paretoBar'),'children':_0x5d0c77(_0x47bc27,{'defaultValues':_0x932949[_0x237d49(0x2bf)]['pareto'],'NumberFormatField':_0x5598d0,'showDataPointEditor':!0x0,'target':_0x237d49(0xbc)})}),_0x5d0c77(Z,{'id':_0x42e819[_0x237d49(0x96)],'label':_0x1e8ade['t'](_0x237d49(0x147)),'children':_0x5d0c77(_0x47bc27,{'defaultValues':_0x932949[_0x237d49(0x2bf)][_0x237d49(0x1fa)],'NumberFormatField':_0x5598d0,'showDataPointEditor':!0x1,'target':_0x237d49(0x9f)})})]}),_0x58e217&&_0x5d0c77(Z,{'id':_0x42e819[_0x237d49(0x268)],'label':_0x1e8ade['t'](_0x237d49(0xfe)),'children':_0x5d0c77(_0x311049,{'defaultValues':_0x932949[_0x237d49(0x2bf)]['pie'],'NumberFormatField':_0x5598d0})}),_0x14c435&&_0x5d0c77(Z,{'id':_0x42e819[_0x237d49(0x259)],'label':_0x1e8ade['t'](_0x237d49(0x21e)),'children':_0x5d0c77(_0x3aee00,{'defaultValues':_0x932949['defaultValues'][_0x237d49(0xf1)]})}),_0x2f0d46&&_0x5d0c77(Z,{'id':_0x42e819[_0x237d49(0x202)],'label':_0x1e8ade['t'](_0x237d49(0x17d)),'children':_0x5d0c77(_0x5bfdce,{'defaultValues':_0x932949[_0x237d49(0x2bf)][_0x237d49(0x160)]})}),_0xfa312a&&_0x5d0c77(Z,{'id':_0x42e819[_0x237d49(0x16a)],'label':_0x1e8ade['t'](_0x237d49(0xf8)),'children':_0x5d0c77(_0x1a78cf,{'defaultValues':_0x932949[_0x237d49(0x2bf)][_0x237d49(0xb1)],'gapControl':_0x237d49(0x1f4)})}),_0x478cd3&&_0x5d0c77(Z,{'id':_0x42e819[_0x237d49(0x12b)],'label':_0x1e8ade['t'](_0x237d49(0x18a)),'children':_0x5d0c77(_0x3d4d63,{'defaultValues':_0x932949[_0x237d49(0x2bf)]['heatmap']})}),_0x4351ed&&_0x5d0c77(Z,{'id':_0x42e819[_0x237d49(0x2ba)],'label':_0x1e8ade['t'](_0x237d49(0x128)),'children':_0x5d0c77(_0x34b1f3,{'defaultValues':_0x932949[_0x237d49(0x2bf)][_0x237d49(0x2eb)]})}),_0x5721ec(_0x738cca)&&_0x5d0c77(Z,{'id':_0x42e819[_0x237d49(0x1ce)],'label':_0x1e8ade['t'](_0x237d49(0x2c9)),'children':_0x5d0c77(_0x23621b,{'defaultValues':_0x932949[_0x237d49(0x2bf)][_0x237d49(0x98)],'lineStyleControl':'segmented'})}),_0x12072f(_0x738cca,_0x2a232a[_0x237d49(0x1a7)])&&_0x5d0c77(Z,{'id':_0x42e819[_0x237d49(0x1a7)],'label':_0x1e8ade['t'](_0x237d49(0x271)),'children':_0x5d0c77(_0x53779d,{'defaultValues':_0x932949[_0x237d49(0x2bf)][_0x237d49(0x13f)]})}),_0x12072f(_0x738cca,_0x2a232a[_0x237d49(0x110)])&&_0x57606b(_0x291abc,{'children':[_0x5d0c77(Z,{'id':_0x42e819[_0x237d49(0x209)],'label':_0x1e8ade['t'](_0x237d49(0xa3)),'children':_0x5d0c77(_0xf67165,{'axis':'x','defaultValues':_0x932949['defaultValues'][_0x237d49(0x2e4)],'NumberFormatField':_0x5598d0})}),_0x5d0c77(Z,{'id':_0x42e819[_0x237d49(0x299)],'label':_0x1e8ade['t'](_0x237d49(0x1cd)),'children':_0x5d0c77(_0xf67165,{'axis':'y','defaultValues':_0x932949['defaultValues']['axis'],'NumberFormatField':_0x5598d0})}),_0x1e900f&&_0x5d0c77(Z,{'id':_0x42e819['RightVerticalAxis'],'label':_0x1e8ade['t'](_0x237d49(0x20d)),'children':_0x5d0c77(_0xf67165,{'axis':_0x237d49(0x1ea),'defaultValues':_0x932949[_0x237d49(0x2bf)][_0x237d49(0x2e4)],'NumberFormatField':_0x5598d0})}),_0x5d0c77(Z,{'id':_0x42e819['GridlinesAndTicks'],'label':_0x1e8ade['t'](_0x237d49(0xdd)),'children':_0x5d0c77(_0xecb0d5,{'defaultValues':_0x932949[_0x237d49(0x2bf)][_0x237d49(0x2e4)]})})]}),_0x12072f(_0x738cca,_0x2a232a[_0x237d49(0x2d3)])&&_0x5d0c77(Z,{'id':_0x42e819['IndicatorLine'],'label':_0x1e8ade['t'](_0x237d49(0xb9)),'children':_0x5d0c77(_0x1044fc,{'defaultValues':_0x932949[_0x237d49(0x2bf)]['indicatorLine']})}),_0x36d4f2(_0x738cca)&&_0x5d0c77(Z,{'id':_0x42e819[_0x237d49(0x2a0)],'label':_0x1e8ade['t'](_0x237d49(0x19a)),'children':_0x5d0c77(_0x55acbb,{'defaultValues':_0x932949[_0x237d49(0x2bf)]['trendline']})}),_0x17c4c5&&_0x141902&&_0x5d0c77(Z,{'id':_0x17c4c5,'label':_0x141902,'children':_0x5d0c77(_0x2c390c,{})})]});};function li(_0x14488a){const _0x3b2529=_0x533bf2;let {className:_0x2953ae}=_0x14488a,[_0x164842,_0x3b4525]=_0x15ee11(_0x655832['Data']),_0x149335=_0x7a1354(_0x4b92dd),_0x58e632=_0x7a1354(_0x3f8b07),_0x1f4557=_0x7a1354(Y),_0x5e6146=_0x3f23d3(_0x1f4557[_0x3b2529(0x1e3)],null),_0x5bd68b=_0x3f23d3(_0x1f4557[_0x3b2529(0x241)],null),_0x95fb2b=_0x3f23d3(_0x1f4557['panelRoute$'],null),_0x3ecd38=_0x37be06(()=>{const _0x152131=_0x3b2529;var _0x5182d1;if(!_0x5bd68b)return null;let _0x4ee4d5=_0x5bd68b[_0x152131(0x166)][_0x152131(0x1f9)](),_0x97be6d=Array['isArray'](_0x4ee4d5)?(_0x5182d1=_0x4ee4d5[0x0])==null?void 0x0:_0x5182d1[_0x152131(0x258)]:_0x4ee4d5[_0x152131(0xa1)];return _0x97be6d?new _0x5e57e2(_0x5bd68b,new _0x2f4014({'unitId':_0x97be6d[_0x152131(0x17e)],'subUnitId':_0x97be6d[_0x152131(0x1f7)],'chartId':_0x5bd68b['id'],'injector':_0x149335})):null;},[_0x5bd68b,_0x149335]);return _0x48969d(()=>{const _0x29ee67=_0x3b2529;var _0x5d9efa,_0x3c6f34;(_0x95fb2b==null?void 0x0:_0x95fb2b['chartId'])===_0x5e6146&&(((_0x5d9efa=_0x95fb2b[_0x29ee67(0x2cc)])==null?void 0x0:_0x5d9efa[_0x29ee67(0x123)])===_0x655832['Style']&&_0x3b4525(_0x655832['Style']),((_0x3c6f34=_0x95fb2b[_0x29ee67(0x2cc)])==null?void 0x0:_0x3c6f34[_0x29ee67(0x123)])===_0x655832['Data']&&_0x3b4525(_0x655832[_0x29ee67(0xbb)]));},[_0x5e6146,_0x95fb2b]),_0x3ecd38?_0x5d0c77(_0x7043e2,{'chartUIService':_0x1f4557,'hostAdapter':_0x3ecd38,'children':_0x57606b(_0x3b2529(0x1ad),{'className':'\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-flex\x20univer-h-0\x20univer-min-h-full\x20univer-w-full\x20univer-flex-col\x20univer-bg-gray-0\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dark:!univer-bg-gray-900\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x164842===_0x655832[_0x3b2529(0xb8)]?_0x3b2529(0x203):_0x3b2529(0x1f1))+'\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x2953ae??'')+_0x3b2529(0x16e),'children':[_0x5d0c77(_0xe40130,{'ariaLabel':_0x58e632['t'](_0x3b2529(0x169)),'className':_0x3b2529(0x9b),'items':[{'label':_0x58e632['t'](_0x3b2529(0x1d4)),'panelId':di,'value':_0x655832[_0x3b2529(0xbb)]},{'label':_0x58e632['t'](_0x3b2529(0x17b)),'panelId':fi,'value':_0x655832[_0x3b2529(0xb8)]}],'value':_0x164842,'onChange':_0x3b4525}),_0x164842===_0x655832[_0x3b2529(0xbb)]?_0x5d0c77(_0x3d03fa,{'id':di,'label':_0x58e632['t']('sheets-chart-ui.common.setup'),'children':_0x5d0c77(oi,{'defaultValues':ti})}):_0x5d0c77(_0x3d03fa,{'id':fi,'className':_0x3b2529(0x1e5),'label':_0x58e632['t'](_0x3b2529(0x17b)),'children':_0x5d0c77(ci,{'defaultValues':ti})})]})}):null;}const ui=_0x533bf2(0x256),di=_0x533bf2(0x310),fi=_0x533bf2(0xd8);function pi(_0x519f7e){const _0x1339dc=_0x533bf2;if(_0x519f7e[_0x1339dc(0x221)]!==0x1)return!0x1;let _0x3e3437=_0x519f7e[0x0];return _0x3e3437[_0x1339dc(0x24f)]===_0xc2a308[_0x1339dc(0xcb)]&&!_0x3e3437[_0x1339dc(0x10f)];}let Q=class extends _0x1b05ef{constructor(_0x59549b,_0x37609a,_0x2726f3,_0x20c327,_0x176e0e,_0x4d2dfa,_0x47091f,_0xa87f82,_0x43b8b8,_0x4db207,_0x20c7bc,_0x32c34a,_0x224b9e,_0x16dbef){const _0x5f48db=_0x533bf2;var _0x549fe1;super(),this['_drawingManagerService']=_0x59549b,this['_univerInstanceService']=_0x37609a,this[_0x5f48db(0x2d7)]=_0x2726f3,this['_chartRenderService']=_0x20c327,this[_0x5f48db(0xe0)]=_0x176e0e,this[_0x5f48db(0x23b)]=_0x4d2dfa,this['_menuManagerService']=_0x47091f,this['_sheetCanvasFloatDomManagerService']=_0xa87f82,this[_0x5f48db(0x208)]=_0x43b8b8,this[_0x5f48db(0x90)]=_0x4db207,this['_sheetsChartUIService']=_0x20c7bc,this[_0x5f48db(0x22c)]=_0x32c34a,this['_localeService']=_0x224b9e,W(this,_0x5f48db(0xd1),null),W(this,_0x5f48db(0x117),void 0x0),this['_isChartElementEditEnabled']=((_0x549fe1=_0x16dbef[_0x5f48db(0x8f)](_0x5f48db(0x1b4)))==null?void 0x0:_0x549fe1[_0x5f48db(0x2ff)])===!0x0,this['_initMenus'](),this[_0x5f48db(0x269)](this[_0x5f48db(0x19e)]['getCurrentTypeOfUnit$'](_0x1302ff[_0x5f48db(0x135)])[_0x5f48db(0x28f)](_0x4511f3=>{var _0x4d86dc;_0x4511f3||(_0x4d86dc=this['_sidebarDisposable'])==null||_0x4d86dc['dispose']();})),this[_0x5f48db(0x269)](_0x1f864f(this[_0x5f48db(0xe0)]['onDoubleClick$'][_0x5f48db(0x28f)](async({drawing:_0x1fbfac})=>{const _0x145b19=_0x5f48db;await this[_0x145b19(0x148)](_0x1fbfac);})));}[_0x533bf2(0x29b)](){const _0x9cde2=_0x533bf2;this[_0x9cde2(0xd1)]=this['_sidebarService']['open']({'id':ui,'header':{'title':this['_localeService']['t'](_0x9cde2(0x169))},'width':0x154,'children':{'label':ui},'onClose':()=>{const _0xf69593=_0x9cde2;this['_deactivateEditPanelState'](),this[_0xf69593(0x2d7)][_0xf69593(0x219)](null),this[_0xf69593(0x305)][_0xf69593(0x165)](null),this[_0xf69593(0x22c)][_0xf69593(0x15b)](_0x11a249,!0x1),this[_0xf69593(0xd1)]=null;}});}[_0x533bf2(0x150)](){const _0x419ac1=_0x533bf2;var _0x1e7341;this[_0x419ac1(0x22f)](),this['_chartModelService'][_0x419ac1(0x219)](null),(_0x1e7341=this[_0x419ac1(0xd1)])==null||_0x1e7341['dispose']();}[_0x533bf2(0x285)](){const _0x49e80a=_0x533bf2;let _0x4c7bc6=this[_0x49e80a(0x19e)][_0x49e80a(0x184)](_0x1302ff[_0x49e80a(0x135)]);this[_0x49e80a(0x269)](this[_0x49e80a(0x23b)][_0x49e80a(0x1eb)]['subscribe'](_0x32f9a0=>{const _0x47dc17=_0x49e80a;_0x32f9a0['id']===_0x47dc17(0x256)&&(_0x32f9a0[_0x47dc17(0x15f)]||this[_0x47dc17(0x23b)]['sidebarOptions$']['next']({'visible':!0x1}));})),this['disposeWithMe'](this[_0x49e80a(0x2d7)][_0x49e80a(0x241)][_0x49e80a(0x28f)](_0x22e75e=>{const _0x5dd2f0=_0x49e80a;!_0x22e75e&&this[_0x5dd2f0(0xdb)]['activeEditChart']&&this[_0x5dd2f0(0x150)]();})),this[_0x49e80a(0x269)](this[_0x49e80a(0x90)][_0x49e80a(0x29f)](_0x3895a3=>{const _0x570b59=_0x49e80a;if(_0x3895a3['id']===V['id']){let _0x132f04=_0x3895a3['params'];this[_0x570b59(0x28a)](_0x132f04[_0x570b59(0x1ae)],_0x132f04['route']);}if(_0x3895a3['id']===fr['id']&&this[_0x570b59(0x150)](),_0x3895a3['id']===_0x4ceb47['id']){var _0x2a2275;_0x3895a3[_0x570b59(0x1c2)][_0x570b59(0xbe)]===((_0x2a2275=this[_0x570b59(0x2d7)][_0x570b59(0x14f)])==null?void 0x0:_0x2a2275['id'])&&this[_0x570b59(0x150)](),this[_0x570b59(0x22c)][_0x570b59(0xe5)](_0x11a249)&&(this[_0x570b59(0x22c)][_0x570b59(0x15b)](_0x11a249,!0x1),this[_0x570b59(0x305)][_0x570b59(0x165)](null));}})),this[_0x49e80a(0x269)](this['_sheetCanvasFloatDomManagerService'][_0x49e80a(0x26b)][_0x49e80a(0x28f)](({id:_0x3b3a0c})=>{const _0x195a97=_0x49e80a;_0x3b3a0c===this[_0x195a97(0xdb)][_0x195a97(0x2c1)]&&this[_0x195a97(0x150)]();})),this[_0x49e80a(0x269)](this['_sheetCanvasFloatDomManagerService'][_0x49e80a(0x199)][_0x49e80a(0x28f)](({id:_0x14aa16})=>{const _0x55b704=_0x49e80a;_0x14aa16===this[_0x55b704(0xdb)]['activeEditChart']&&(this[_0x55b704(0xdb)][_0x55b704(0x2b8)](null),this[_0x55b704(0xdb)]['clearPanelRoute'](),this[_0x55b704(0x15e)][_0x55b704(0x151)](_0x14aa16,!0x1),this[_0x55b704(0xfd)](_0x14aa16)&&this['_chartRenderService'][_0x55b704(0x151)](_0x14aa16,!0x0));})),this['disposeWithMe'](this[_0x49e80a(0x305)][_0x49e80a(0x2f0)][_0x49e80a(0x28f)](_0x4b7598=>{const _0x5e77ea=_0x49e80a;let _0x56807c=_0x4b7598[0x0];if(!this[_0x5e77ea(0xdb)][_0x5e77ea(0x246)]){if(pi(_0x4b7598)){var _0x56cacc;let _0x253e74=this['_chartModelService']['getChartModel'](_0x56807c[_0x5e77ea(0x1ae)]);_0x253e74&&((_0x56cacc=this[_0x5e77ea(0x2d7)][_0x5e77ea(0x14f)])==null?void 0x0:_0x56cacc['id'])!==_0x253e74['id']&&this['_chartModelService'][_0x5e77ea(0x219)](_0x253e74);return;}this[_0x5e77ea(0x2d7)][_0x5e77ea(0x14f)]&&this[_0x5e77ea(0x2d7)][_0x5e77ea(0x219)](null),!_0x56807c&&!this['_sheetsChartUIService'][_0x5e77ea(0x246)]&&this[_0x5e77ea(0x150)]();}})),_0x4c7bc6&&(this['disposeWithMe'](_0x4c7bc6[_0x49e80a(0x13d)]['subscribe'](()=>{const _0x25b1ac=_0x49e80a;this[_0x25b1ac(0x150)]();})),this[_0x49e80a(0x269)](_0x4c7bc6[_0x49e80a(0xf0)][_0x49e80a(0x28f)](()=>{const _0x1af6df=_0x49e80a;this[_0x1af6df(0x150)]();})));}async[_0x533bf2(0x148)](_0x2a956a){const _0x1a1725=_0x533bf2;this['_sheetsChartUIService'][_0x1a1725(0x2c1)]||_0x2a956a[_0x1a1725(0x24f)]===_0xc2a308[_0x1a1725(0xcb)]&&await this[_0x1a1725(0xb6)](_0x2a956a[_0x1a1725(0x17e)],_0x2a956a['subUnitId'],_0x2a956a[_0x1a1725(0x1ae)]);}async[_0x533bf2(0xb6)](_0x551816,_0xdb6880,_0x332947){const _0x2dbbb7=_0x533bf2;let _0x8a107=this[_0x2dbbb7(0x2d7)][_0x2dbbb7(0x154)](_0x332947);_0x8a107&&(this[_0x2dbbb7(0x2d7)][_0x2dbbb7(0x219)](_0x8a107),await this[_0x2dbbb7(0x90)][_0x2dbbb7(0x19c)](V['id'],{'unitId':_0x551816,'subUnitId':_0xdb6880,'drawingId':_0x332947}));}[_0x533bf2(0x28a)](_0xa68212,_0x537c90){const _0xf1efd1=_0x533bf2;let _0x2e5a1e=this['_chartModelService'][_0xf1efd1(0x154)](_0xa68212);_0x2e5a1e&&(this[_0xf1efd1(0x2d7)][_0xf1efd1(0x219)](_0x2e5a1e),this[_0xf1efd1(0x29b)](),this['_activateEditPanelState'](_0xa68212,_0x537c90??null));}[_0x533bf2(0xc9)](_0x3a292f,_0x54b969){const _0x55f182=_0x533bf2;let _0x36c3f6=this[_0x55f182(0xdb)][_0x55f182(0x2c1)];_0x36c3f6&&_0x36c3f6!==_0x3a292f&&(this[_0x55f182(0x15e)][_0x55f182(0x151)](_0x36c3f6,!0x1),this['_sheetsChartUIService'][_0x55f182(0x2b8)](null)),this['_sheetsChartUIService']['setActiveEditChart'](_0x3a292f),this[_0x55f182(0xdb)]['setPanelRoute'](_0x3a292f,_0x54b969),this[_0x55f182(0x15e)][_0x55f182(0x151)](_0x3a292f,this['_shouldEnableChartElementEdit'](_0x3a292f));}['_deactivateEditPanelState'](){const _0x36e96a=_0x533bf2;let _0x2d7aa2=this['_sheetsChartUIService'][_0x36e96a(0x2c1)];_0x2d7aa2&&this[_0x36e96a(0x15e)][_0x36e96a(0x151)](_0x2d7aa2,!0x1),this[_0x36e96a(0xdb)][_0x36e96a(0xf4)](null),this[_0x36e96a(0xdb)][_0x36e96a(0x2b8)](null),this[_0x36e96a(0xdb)][_0x36e96a(0x1fc)]();}[_0x533bf2(0x24e)](){const _0x427db4=_0x533bf2;this[_0x427db4(0x295)][_0x427db4(0x1bd)](jr),this['_sheetCanvasPopManagerService'][_0x427db4(0x276)](_0xc2a308[_0x427db4(0xcb)],this[_0x427db4(0x290)][_0x427db4(0x2da)](this));}['_shouldEnableChartElementEdit'](_0x2ebf49){const _0x20d578=_0x533bf2;let _0x38630a=this['_chartModelService']['getChartModel'](_0x2ebf49);return!this['_isChartElementEditEnabled']||!_0x38630a?!0x1:Nr(_0x38630a[_0x20d578(0x237)]);}['getChartPopupMenus'](_0x146f06,_0x7b8bfb,_0x125ab,_0x2c970b){const _0x793264=_0x533bf2;return[{'label':this['_localeService']['t'](_0x793264(0x2f4)),'index':0x0,'commandId':V['id'],'commandParams':{'unitId':_0x146f06,'subUnitId':_0x7b8bfb,'drawingId':_0x125ab},'disable':_0x2c970b!==_0xc2a308[_0x793264(0xcb)]},{'label':this[_0x793264(0x1e9)]['t'](_0x793264(0xd6)),'index':0x1,'commandId':_0xf80612['id'],'commandParams':{'unitId':_0x146f06,'drawings':[{'unitId':_0x146f06,'subUnitId':_0x7b8bfb,'drawingId':_0x125ab,'drawingType':_0x2c970b}]},'disable':!0x1},{'label':this[_0x793264(0x1e9)]['t'](_0x793264(0x18e)),'index':0x2,'commandId':fr['id'],'commandParams':{'unitId':_0x146f06,'subUnitId':_0x7b8bfb,'drawingId':_0x125ab},'disable':!0x1}];}};Q=J([q(0x0,_0x32f0cf),q(0x1,_0x371c5e),q(0x2,_0x28410f(_0x538c99)),q(0x3,_0x28410f(X)),q(0x4,_0x28410f(_0x3fcfc9)),q(0x5,_0x28410f(_0x315d34)),q(0x6,_0x542957),q(0x7,_0x28410f(_0x10c864)),q(0x8,_0x28410f(_0x199d2a)),q(0x9,_0x413077),q(0xa,Y),q(0xb,_0x263bb6),q(0xc,_0x28410f(_0x3f8b07)),q(0xd,_0x5d6e79)],Q);var mi=_0x533bf2(0x1d3),hi='1.0.0-beta.1';const gi={'scaleX':0x1,'scaleY':0x1};function _i(_0x4383fe){const _0x484eed=_0x533bf2;let _0x4714bd=_0x4383fe[_0x484eed(0x1d2)];return _0x4714bd instanceof MouseEvent?_0x4714bd:void 0x0;}function vi(_0x445093){const _0x1c6f13=_0x533bf2;let _0x10e705=_0x445093[_0x1c6f13(0x1d2)],_0x11d8fb=_0x10e705==null?void 0x0:_0x10e705[_0x1c6f13(0x26f)];return _0x11d8fb instanceof Element?_0x11d8fb:void 0x0;}function yi(_0x25165c){var _0x60a58d;return(_0x60a58d=vi(_0x25165c))==null?void 0x0:_0x60a58d['getBoundingClientRect']();}function bi(_0xfc660a){const _0x1cf20b=_0x533bf2;return _0xfc660a['width']||_0xfc660a['right']-_0xfc660a[_0x1cf20b(0x234)];}function xi(_0x149d7b){const _0xfe0d96=_0x533bf2;return _0x149d7b['height']||_0x149d7b[_0xfe0d96(0x263)]-_0x149d7b[_0xfe0d96(0x291)];}function Si(_0x2da02b,_0xde9597){const _0x155fe1=_0x533bf2;let _0x645790=_0x2da02b['clientWidth']||(_0x2da02b instanceof HTMLElement?_0x2da02b[_0x155fe1(0x14a)]:0x0),_0x6b61b8=_0x2da02b['clientHeight']||(_0x2da02b instanceof HTMLElement?_0x2da02b[_0x155fe1(0xe6)]:0x0),_0x5cfdf5=bi(_0xde9597),_0x1fa8d9=xi(_0xde9597);return{'scaleX':_0x645790>0x0&&_0x5cfdf5>0x0?_0x5cfdf5/_0x645790:gi[_0x155fe1(0xc2)],'scaleY':_0x6b61b8>0x0&&_0x1fa8d9>0x0?_0x1fa8d9/_0x6b61b8:gi[_0x155fe1(0x19d)]};}function Ci(_0x5f7b59,_0x1077ff,_0x24b8ce){const _0x2d63b3=_0x533bf2;return{'left':_0x5f7b59[_0x2d63b3(0x234)]+_0x1077ff['left']*_0x24b8ce['scaleX'],'right':_0x5f7b59[_0x2d63b3(0x234)]+_0x1077ff[_0x2d63b3(0x1e6)]*_0x24b8ce[_0x2d63b3(0xc2)],'top':_0x5f7b59[_0x2d63b3(0x291)]+_0x1077ff[_0x2d63b3(0x291)]*_0x24b8ce[_0x2d63b3(0x19d)],'bottom':_0x5f7b59['top']+_0x1077ff[_0x2d63b3(0x263)]*_0x24b8ce[_0x2d63b3(0x19d)]};}function wi(_0x5c0a81){const _0x5bf657=_0x533bf2;let _0x29ad53=vi(_0x5c0a81),_0x6ca30e=_0x5c0a81[_0x5bf657(0xcd)][_0x5bf657(0x29d)];return _0x29ad53&&_0x6ca30e?()=>{let _0x38cae8=_0x29ad53['getBoundingClientRect']();return Ci(_0x38cae8,_0x6ca30e,Si(_0x29ad53,_0x38cae8));}:()=>{const _0x1df82d=_0x5bf657;let _0x44e754=yi(_0x5c0a81);if(_0x44e754&&_0x6ca30e)return Ci(_0x44e754,_0x6ca30e,_0x29ad53?Si(_0x29ad53,_0x44e754):gi);let _0x52dbaf=_i(_0x5c0a81),_0x58edd2=_0x29ad53&&_0x44e754?Si(_0x29ad53,_0x44e754):gi,_0x45ad91=(_0x52dbaf==null?void 0x0:_0x52dbaf[_0x1df82d(0x2b4)])??(_0x44e754?_0x44e754[_0x1df82d(0x234)]+_0x5c0a81['localPoint']['x']*_0x58edd2[_0x1df82d(0xc2)]:_0x5c0a81[_0x1df82d(0x2b9)]['x']),_0x3f5c30=(_0x52dbaf==null?void 0x0:_0x52dbaf[_0x1df82d(0x282)])??(_0x44e754?_0x44e754[_0x1df82d(0x291)]+_0x5c0a81[_0x1df82d(0x2b9)]['y']*_0x58edd2[_0x1df82d(0x19d)]:_0x5c0a81['localPoint']['y']);return{'left':_0x45ad91,'right':_0x45ad91+0x1,'top':_0x3f5c30,'bottom':_0x3f5c30+0x1};};}function Ti(_0x53fa57){const _0xc4eca3=_0x533bf2;return typeof _0x53fa57==_0xc4eca3(0x239)&&Number[_0xc4eca3(0x252)](_0x53fa57);}function Ei(_0x197f6b){const _0x8e1e0f=_0x533bf2;if(!_0x197f6b||typeof _0x197f6b!=_0x8e1e0f(0x27a))return!0x0;let {startX:_0x42b229,endX:_0x45b519,startY:_0x19f97a,endY:_0x3e5f68}=_0x197f6b;return!Ti(_0x42b229)||!Ti(_0x45b519)||!Ti(_0x19f97a)||!Ti(_0x3e5f68)||_0x45b519-_0x42b229>0x2&&_0x3e5f68-_0x19f97a>0x2;}function Di(_0x3b6527){const _0x27fa3f=_0x533bf2;return _0x3b6527[_0x27fa3f(0x1e6)]<=_0x3b6527[_0x27fa3f(0x234)]||_0x3b6527[_0x27fa3f(0x263)]<=_0x3b6527[_0x27fa3f(0x291)]?!0x1:typeof window>'u'||_0x3b6527[_0x27fa3f(0x1e6)]>0x0&&_0x3b6527[_0x27fa3f(0x263)]>0x0&&_0x3b6527[_0x27fa3f(0x234)]<window[_0x27fa3f(0x210)]&&_0x3b6527[_0x27fa3f(0x291)]<window[_0x27fa3f(0x27f)];}function Oi(_0x11cabc){const _0x511799=_0x533bf2;var _0x5937f4;return _0x11cabc==null||(_0x5937f4=_0x11cabc[_0x511799(0x27d)])==null?void 0x0:_0x5937f4[_0x511799(0xc0)](_0x11cabc);}function ki(_0x2b57e3,_0x4b3388,_0x1373d2){const _0x4bc684=_0x533bf2;let _0x468642=wi(_0x2b57e3),_0x36a5e1=Oi(_0x4b3388),_0x1ec60f=_0x468642(),_0x31714d=new _0x53aede(_0x1ec60f),_0x34f821=new _0xbb67f(),_0x5edea2=!0x1,_0x4dfc97=!0x1,_0x3b3200=_0x3ff02e=>Ei(_0x36a5e1)&&Di(_0x3ff02e),_0x55ac47=()=>{_0x4dfc97||_0x5edea2||(_0x4dfc97=!0x0,queueMicrotask(()=>{const _0x4e276d=_0x4f81;if(_0x4dfc97=!0x1,!_0x5edea2){let _0x1f4bde=_0x468642();if(!_0x3b3200(_0x1f4bde)){_0x1373d2();return;}_0x31714d[_0x4e276d(0x93)](_0x1f4bde);}}));};return _0x4b3388&&_0x34f821[_0x4bc684(0x2db)](_0x4b3388[_0x4bc684(0x28f)](_0x441c44=>{_0x36a5e1=_0x441c44,_0x55ac47();})),typeof window<'u'&&_0x34f821[_0x4bc684(0x2db)](_0x3a8e71(_0x50fa50(window,'scroll',{'capture':!0x0}),_0x50fa50(window,'resize'))[_0x4bc684(0xaf)](_0x442c3b(0x10))[_0x4bc684(0x28f)](_0x55ac47)),{'initialRect':_0x1ec60f,'anchorRect$':_0x31714d[_0x4bc684(0x2ae)](),'visible':_0x3b3200(_0x1ec60f),'dispose':()=>{const _0x38b328=_0x4bc684;_0x5edea2=!0x0,_0x34f821['dispose'](),_0x31714d[_0x38b328(0x193)]();}};}const Ai=_0x533bf2(0x17f);let ji=class extends _0x1b05ef{constructor(_0x489bad,_0x90cbb6,_0xbc821f,_0x1512ad,_0x48ba6c,_0x1b38bc,_0x5d2239,_0x366294,_0xd3fce){const _0xc0917b=_0x533bf2;super(),this['_chartModelService']=_0x489bad,this[_0xc0917b(0x15e)]=_0x90cbb6,this[_0xc0917b(0x294)]=_0xbc821f,this[_0xc0917b(0x208)]=_0x1512ad,this[_0xc0917b(0x106)]=_0x48ba6c,this[_0xc0917b(0xff)]=_0x1b38bc,this[_0xc0917b(0x173)]=_0x5d2239,this['_commandService']=_0x366294,this[_0xc0917b(0x226)]=_0xd3fce,W(this,_0xc0917b(0xae),null),W(this,_0xc0917b(0x13b),null),this[_0xc0917b(0x10a)](),this[_0xc0917b(0x287)]();}['dispose'](){const _0x26c942=_0x533bf2;this['_closePopup'](),super[_0x26c942(0x27b)]();}[_0x533bf2(0x10a)](){const _0x1a5cb1=_0x533bf2;let _0x90be43=_0x2c1df6({'chartUIService':this[_0x1a5cb1(0xff)],'getHostAdapter':_0x45fbe9=>{const _0x58b8cc=_0x1a5cb1;this['_setActiveChart'](_0x45fbe9[_0x58b8cc(0xbe)]);let _0x34c04d=this[_0x58b8cc(0x2d7)]['getChartModel'](_0x45fbe9[_0x58b8cc(0xbe)]);if(!(!_0x34c04d||!_0x45fbe9['subUnitId']))return new _0x5e57e2(_0x34c04d,new _0x2f4014({'unitId':_0x45fbe9[_0x58b8cc(0x17e)],'subUnitId':_0x45fbe9['subUnitId'],'chartId':_0x45fbe9[_0x58b8cc(0xbe)],'injector':this['_injector']}));},'close':()=>this['_closePopup'](),'openFullPanel':_0x183f61=>{const _0x4f026c=_0x1a5cb1;let {unitId:_0x5a21e1,subUnitId:_0x2e3a16,drawingId:_0x199bf2,chartId:_0x47c500}=_0x183f61,_0x4b3b99=_0x44a37b(_0x183f61[_0x4f026c(0x26f)]);this[_0x4f026c(0x90)][_0x4f026c(0x19c)](V['id'],{'unitId':_0x5a21e1,'subUnitId':_0x2e3a16??'','drawingId':_0x199bf2??_0x47c500,..._0x4b3b99?{'route':_0x4b3b99}:{}});}});this['disposeWithMe'](this[_0x1a5cb1(0x173)][_0x1a5cb1(0x159)](Ai,_0x90be43));}[_0x533bf2(0x287)](){const _0x40a81a=_0x533bf2;this['disposeWithMe'](this[_0x40a81a(0x2d7)]['chartModelAdded$']['subscribe'](_0x4b77bd=>{const _0x45916d=_0x40a81a;let _0x840f70=new _0xbb67f();_0x840f70[_0x45916d(0x2db)](this[_0x45916d(0x15e)]['on'](_0x4b77bd['id'],_0x45916d(0x1c8),_0x555132=>{const _0x233bb5=_0x45916d;this[_0x233bb5(0x2ec)](_0x4b77bd['id'],_0x555132);})),_0x840f70[_0x45916d(0x2db)](this[_0x45916d(0x15e)]['on'](_0x4b77bd['id'],_0x45916d(0xa9),()=>{const _0x4b2ed8=_0x45916d;this[_0x4b2ed8(0xb6)](_0x4b77bd['id']);})),_0x4b77bd[_0x45916d(0x205)](()=>{const _0x2f7eb0=_0x45916d;_0x840f70[_0x2f7eb0(0x27b)](),this[_0x2f7eb0(0x11f)](_0x4b77bd['id']);}),this['disposeWithMe'](_0x840f70);})),this[_0x40a81a(0x269)](this[_0x40a81a(0xff)]['activeEditChart$']['subscribe'](_0x485033=>{const _0xb84ed1=_0x40a81a;(!_0x485033||this['_popupChartId']&&_0x485033!==this[_0xb84ed1(0x13b)])&&this[_0xb84ed1(0x2d9)]();})),this['disposeWithMe'](this['_sheetCanvasFloatDomManagerService'][_0x40a81a(0x199)][_0x40a81a(0x28f)](({id:_0x1c72f9})=>{this['_clearSelectedTarget'](_0x1c72f9);})),this[_0x40a81a(0x269)](this['_sheetCanvasFloatDomManagerService'][_0x40a81a(0x26b)][_0x40a81a(0x28f)](({id:_0x104186})=>{const _0x182217=_0x40a81a;this[_0x182217(0x11f)](_0x104186);})),this[_0x40a81a(0x269)](this[_0x40a81a(0x294)]['removeHost$'][_0x40a81a(0x28f)](_0x437cf0=>{const _0x4c9734=_0x40a81a;this[_0x4c9734(0x11f)](_0x437cf0);}));}[_0x533bf2(0xb6)](_0x7c30c3){const _0x395585=_0x533bf2;if(this[_0x395585(0xff)]['activeEditChart'])return;let _0x14aea8=this[_0x395585(0x2d7)]['getChartModel'](_0x7c30c3),_0x50179b=this['_sheetCanvasFloatDomManagerService']['getFloatDomInfo'](_0x7c30c3);!_0x14aea8||!_0x50179b||(this[_0x395585(0x2d7)]['setActiveChartModel'](_0x14aea8),this[_0x395585(0x90)][_0x395585(0x19c)](V['id'],{'unitId':_0x50179b[_0x395585(0x17e)],'subUnitId':_0x50179b[_0x395585(0x1f7)]??'','drawingId':_0x7c30c3}));}['_setActiveChart'](_0x38028c){const _0xbd0832=_0x533bf2;let _0x2ca18e=this[_0xbd0832(0x2d7)][_0xbd0832(0x154)](_0x38028c);_0x2ca18e&&this['_chartModelService'][_0xbd0832(0x219)](_0x2ca18e);}[_0x533bf2(0x2ec)](_0x44fda6,_0x37be5b){const _0x14dcfb=_0x533bf2;if(!this[_0x14dcfb(0xff)][_0x14dcfb(0x12c)](_0x44fda6))return;let _0x23f478=this[_0x14dcfb(0x2d7)]['getChartModel'](_0x44fda6),_0x4512c9=_0x23f478?Pr(_0x23f478,_0x37be5b[_0x14dcfb(0xcd)]):void 0x0;if(!_0x4512c9){this[_0x14dcfb(0xff)][_0x14dcfb(0x2b8)](null),this[_0x14dcfb(0xff)][_0x14dcfb(0x1fc)](),this['_closePopup']();return;}let _0x459ccd=this['_sheetCanvasFloatDomManagerService'][_0x14dcfb(0x20c)](_0x44fda6);if(!_0x23f478||!_0x459ccd){this['_chartUIService'][_0x14dcfb(0x2b8)](null),this[_0x14dcfb(0xff)]['clearPanelRoute'](),this[_0x14dcfb(0x2d9)]();return;}if(this['_chartModelService'][_0x14dcfb(0x219)](_0x23f478),this['_chartUIService'][_0x14dcfb(0x2b8)]({'chartId':_0x44fda6,'element':_0x37be5b['hit'],'target':_0x4512c9['target'],'route':_0x4512c9[_0x14dcfb(0x2cc)]}),this[_0x14dcfb(0xff)][_0x14dcfb(0x2e7)](_0x44fda6,_0x4512c9[_0x14dcfb(0x2cc)]),this[_0x14dcfb(0x2d9)](),!_0x4512c9[_0x14dcfb(0x311)])return;let _0xe6fb47=ki(_0x37be5b,_0x459ccd[_0x14dcfb(0x1e8)],()=>this[_0x14dcfb(0x1b5)](_0x44fda6));if(!_0xe6fb47['visible']){_0xe6fb47[_0x14dcfb(0x27b)]();return;}let _0x54a87c=this[_0x14dcfb(0x208)][_0x14dcfb(0x1a5)](_0xe6fb47[_0x14dcfb(0xe4)],_0xe6fb47['anchorRect$'],{'componentKey':_0xa436e2,'constrainToCanvas':!0x0,'direction':'top-center','offset':[0x0,0x8],'extraProps':{'unitId':_0x459ccd['unitId'],'subUnitId':_0x459ccd[_0x14dcfb(0x1f7)],'chartId':_0x44fda6,'drawingId':_0x44fda6,'element':_0x37be5b[_0x14dcfb(0xcd)],'target':_0x4512c9['target'],'adapterKey':Ai}},_0x459ccd[_0x14dcfb(0x17e)],_0x459ccd['subUnitId'])??null;if(!_0x54a87c){_0xe6fb47[_0x14dcfb(0x27b)]();return;}let _0x1ad0be=new _0xbb67f();_0x1ad0be[_0x14dcfb(0x2db)](_0x54a87c),_0x1ad0be[_0x14dcfb(0x2db)](_0xe6fb47),this['_popupDisposable']=_0x1ad0be,this['_popupChartId']=_0x44fda6;}[_0x533bf2(0x2d9)](){var _0x49a7d6;(_0x49a7d6=this['_popupDisposable'])==null||_0x49a7d6['dispose'](),this['_popupDisposable']=null,this['_popupChartId']=null;}[_0x533bf2(0x11f)](_0x1942de){const _0x12acff=_0x533bf2;!this[_0x12acff(0xff)][_0x12acff(0x12c)](_0x1942de)&&this[_0x12acff(0x13b)]!==_0x1942de||(this['_chartUIService'][_0x12acff(0x2b8)](null),this[_0x12acff(0xff)]['clearPanelRoute'](),this['_popupChartId']===_0x1942de&&this['_closePopup']());}[_0x533bf2(0x1b5)](_0x2eb821){const _0x48c3e2=_0x533bf2;this[_0x48c3e2(0x11f)](_0x2eb821),this['_chartUIService'][_0x48c3e2(0x12c)](_0x2eb821)&&(this[_0x48c3e2(0x15e)][_0x48c3e2(0x151)](_0x2eb821,!0x1),this[_0x48c3e2(0x15e)][_0x48c3e2(0x151)](_0x2eb821,!0x0));}};ji=J([q(0x0,_0x28410f(_0x538c99)),q(0x1,_0x28410f(X)),q(0x2,Yr),q(0x3,_0x28410f(_0x199d2a)),q(0x4,_0x28410f(_0x10c864)),q(0x5,Y),q(0x6,_0x28410f(_0x1d0732)),q(0x7,_0x413077),q(0x8,_0x28410f(_0x4b92dd))],ji);let Mi=class extends _0x1b05ef{constructor(_0x3d5a66,_0x30f553){const _0x54f068=_0x533bf2;super(),this[_0x54f068(0xc6)]=_0x3d5a66,this[_0x54f068(0x2d7)]=_0x30f553,this[_0x54f068(0x14d)]();}[_0x533bf2(0x14d)](){const _0x4005d2=_0x533bf2;this['disposeWithMe'](this[_0x4005d2(0xc6)][_0x4005d2(0x20b)][_0x4005d2(0x28f)](_0x9db24=>{const _0x25df0d=_0x4005d2;this[_0x25df0d(0x2d7)][_0x25df0d(0x1dd)](_0x9db24);}));}};Mi=J([q(0x0,Yr),q(0x1,_0x28410f(_0x538c99))],Mi);let Ni=class extends _0x1b05ef{constructor(_0x43fdcc,_0xb3ae04,_0x4596ff,_0x525acf,_0x215613,_0x1f4b33){const _0x34bc88=_0x533bf2;super(),this[_0x34bc88(0x2d7)]=_0x43fdcc,this['_chartRenderService']=_0xb3ae04,this['_localeService']=_0x4596ff,this[_0x34bc88(0xff)]=_0x525acf,this[_0x34bc88(0x90)]=_0x215613,this['_sheetPrintInterceptorService']=_0x1f4b33,W(this,_0x34bc88(0xac),new Map()),this[_0x34bc88(0x14d)](),this[_0x34bc88(0x2f1)](),this[_0x34bc88(0x28b)]();}[_0x533bf2(0x28b)](){const _0x35f291=_0x533bf2;this['disposeWithMe'](this[_0x35f291(0x1ba)][_0x35f291(0x153)]['intercept'](this['_sheetPrintInterceptorService'][_0x35f291(0x153)]['getInterceptPoints']()[_0x35f291(0xbf)],{'handler':(_0x42c0ba,_0x3e976c,_0x377484)=>{const _0x3cf9c1=_0x35f291;let _0x38b742=this[_0x3cf9c1(0x15e)][_0x3cf9c1(0x204)](_0x3e976c[_0x3cf9c1(0x17e)],_0x3e976c[_0x3cf9c1(0x1f7)],_0x3e976c[_0x3cf9c1(0x244)]);return _0x3e976c[_0x3cf9c1(0x1c4)][_0x3cf9c1(0x2db)](_0x38b742),_0x377484(_0x42c0ba);}}));}[_0x533bf2(0x14d)](){const _0x76056=_0x533bf2;this[_0x76056(0x269)](this[_0x76056(0x2d7)][_0x76056(0x23d)][_0x76056(0x28f)](_0x59468b=>{const _0x4ef1af=_0x76056;if(_0x59468b){let _0x1d0f82=new _0xbb67f();_0x1d0f82['add'](_0x59468b[_0x4ef1af(0x250)]['pipe'](_0x445cf1(_0x59468b['style$']),_0x445cf1(this[_0x4ef1af(0x1e9)][_0x4ef1af(0x15d)]),_0x35a815(0x64))[_0x4ef1af(0x28f)](([[_0x277666,_0x9c5225],_0x916cc3])=>{const _0x2f646c=_0x4ef1af;var _0x1091bd;if(!_0x277666)return;(_0x1091bd=_0x277666[_0x2f646c(0x12e)])==null||_0x1091bd[_0x2f646c(0xf2)][_0x2f646c(0x1cf)]((_0x4823ed,_0x147a30)=>{const _0x260bd9=_0x2f646c;_0x4823ed[_0x260bd9(0x2c5)]||=this[_0x260bd9(0x1e9)]['t']('sheets-chart-ui.common.category')+'\x20'+(_0x147a30+0x1);}),_0x277666[_0x2f646c(0xab)][_0x2f646c(0x1cf)]((_0x5d741d,_0xf41cb8)=>{const _0x22a1dc=_0x2f646c;_0x5d741d['name']||=this[_0x22a1dc(0x1e9)]['t']('sheets-chart-ui.chord.target')+'\x20'+(_0xf41cb8+0x1);});let _0x1ecc50=this['_chartRenderService'][_0x2f646c(0x2ed)](_0x59468b,_0x916cc3);this[_0x2f646c(0x15e)][_0x2f646c(0x2ee)](_0x59468b['id'],_0x277666,_0x1ecc50);})),_0x59468b['onDispose'](()=>{const _0x3cc96e=_0x4ef1af;_0x1d0f82[_0x3cc96e(0x27b)]();});}}));}[_0x533bf2(0x2f1)](){const _0x1b08c5=_0x533bf2;this[_0x1b08c5(0x269)](this['_commandService'][_0x1b08c5(0x29f)](_0x20576e=>{const _0xac89d0=_0x1b08c5;if(_0x20576e['id']!==_0xdd60ff['id'])return;let _0x532f2a=_0x20576e[_0xac89d0(0x1c2)];_0x532f2a!=null&&_0x532f2a['chartModelId']&&Promise[_0xac89d0(0x2f2)]()['then'](()=>this[_0xac89d0(0x23f)](_0x532f2a));}));}[_0x533bf2(0x23f)](_0x2769ea){const _0x4ff567=_0x533bf2;let _0x10a28b=this[_0x4ff567(0x2d7)][_0x4ff567(0x154)](_0x2769ea[_0x4ff567(0x116)]);if(!_0x10a28b||_0x10a28b[_0x4ff567(0x237)]!==_0x52497a[_0x4ff567(0x259)])return;let _0x5e59c1=_0x10a28b[_0x4ff567(0x215)];if(!_0x5e59c1){this[_0x4ff567(0x2c3)](_0x10a28b);return;}this[_0x4ff567(0xf3)](_0x10a28b,_0x5e59c1);}[_0x533bf2(0x2c3)](_0x4ae045){const _0x3c46e9=_0x533bf2;if(this[_0x3c46e9(0xac)]['get'](_0x4ae045['id']))return;let _0x396b96=_0x4ae045[_0x3c46e9(0x250)][_0x3c46e9(0xaf)](_0x1fcd24(_0x4f483d=>_0x4f483d!=null),_0x57056f(0x1))[_0x3c46e9(0x28f)](_0x3264e0=>{const _0x3386dc=_0x3c46e9;this[_0x3386dc(0xac)]['delete'](_0x4ae045['id']),this['_renderChartModel'](_0x4ae045,_0x3264e0);});this[_0x3c46e9(0xac)]['set'](_0x4ae045['id'],_0x396b96),_0x4ae045['onDispose'](()=>{const _0xd26373=_0x3c46e9;_0x396b96[_0xd26373(0x216)](),this[_0xd26373(0xac)]['delete'](_0x4ae045['id']);});}[_0x533bf2(0xf3)](_0x426bc3,_0x3e0ee7){const _0x5084b8=_0x533bf2;let _0x48c085=this['_chartRenderService'][_0x5084b8(0x2ed)](_0x426bc3,this[_0x5084b8(0x1e9)]['getDirection']());this['_chartRenderService'][_0x5084b8(0x2ee)](_0x426bc3['id'],_0x3e0ee7,_0x48c085);}};Ni=J([q(0x0,_0x28410f(_0x538c99)),q(0x1,_0x28410f(X)),q(0x2,_0x28410f(_0x3f8b07)),q(0x3,Y),q(0x4,_0x413077),q(0x5,_0x28410f(_0x55853b))],Ni);let Pi=class extends _0x1b05ef{constructor(_0x16e864,_0x1e3d1b,_0x3c522c,_0x44c948){const _0x48d105=_0x533bf2;super(),this[_0x48d105(0x19e)]=_0x16e864,this['_sheetInterceptorService']=_0x1e3d1b,this['_sheetDrawingService']=_0x3c522c,this[_0x48d105(0x2d7)]=_0x44c948,this[_0x48d105(0x192)]();}[_0x533bf2(0x192)](){const _0x1f791c=_0x533bf2;this['disposeWithMe'](this[_0x1f791c(0x1df)]['interceptCommand']({'getMutations':_0x19ae8a=>{const _0x2e7c88=_0x1f791c;if(_0x19ae8a['id']===_0x200288['id']){let _0x43b54b=_0x4774b5(this[_0x2e7c88(0x19e)],_0x19ae8a[_0x2e7c88(0x1c2)]);if(!_0x43b54b)return{'redos':[],'undos':[]};let {unitId:_0x1d229a,subUnitId:_0x187b2e}=_0x43b54b,_0x3bc97f=this[_0x2e7c88(0x23c)]['getDrawingData'](_0x1d229a,_0x187b2e),_0x4ab46e=Object[_0x2e7c88(0x281)](_0x3bc97f)[_0x2e7c88(0xaa)](_0x663d9b=>_0x663d9b[_0x2e7c88(0x24f)]===_0xc2a308[_0x2e7c88(0xcb)]);if(_0x4ab46e[_0x2e7c88(0x221)]===0x0)return{'redos':[],'undos':[]};let _0x5b8638=[],_0x151aa7=[];for(let _0xd39d97=0x0;_0xd39d97<_0x4ab46e['length'];_0xd39d97++){let _0xb7f945=_0x4ab46e[_0xd39d97],_0x778fe3=this[_0x2e7c88(0x2d7)][_0x2e7c88(0x154)](_0xb7f945[_0x2e7c88(0x1ae)]);if(!_0x778fe3)continue;let _0x2d0eba=_0x778fe3[_0x2e7c88(0x166)][_0x2e7c88(0x1f9)](),{chartType:_0x3b8241,context:_0x2e7914,style:_0x3311ae,dataAggregation:_0x1e5683}=_0x778fe3[_0x2e7c88(0x12f)](),{redo:_0x1dbe9f,undo:_0x4124a5,objects:_0x37a338}=this[_0x2e7c88(0x23c)][_0x2e7c88(0x28e)]([_0xb7f945]);_0x5b8638[_0x2e7c88(0x1d7)]({'id':_0x4ceb47['id'],'params':{'unitId':_0x1d229a,'subUnitId':_0x187b2e,'chartId':_0xb7f945[_0x2e7c88(0x1ae)]}}),_0x5b8638['push']({'id':_0x1ee14a['id'],'params':{'unitId':_0x1d229a,'subUnitId':_0x187b2e,'type':_0x4ef90d[_0x2e7c88(0xd2)],'op':_0x1dbe9f,'objects':_0x37a338}}),_0x151aa7[_0x2e7c88(0x1d7)]({'id':_0x1ee14a['id'],'params':{'unitId':_0x1d229a,'subUnitId':_0x187b2e,'type':_0x4ef90d[_0x2e7c88(0x189)],'op':_0x4124a5,'objects':_0x37a338}}),_0x151aa7['push']({'id':_0x8740fa['id'],'params':{'unitId':_0x1d229a,'subUnitId':_0x187b2e,'chartId':_0xb7f945[_0x2e7c88(0x1ae)],'chartType':_0x3b8241,..._0x5c5743(_0x2d0eba),'context':_0x2e7914,'style':_0x3311ae,'dataAggregation':_0x1e5683}});}return{'redos':_0x5b8638,'undos':_0x151aa7};}else{if(_0x19ae8a['id']===_0x12f458['id']){let {unitId:_0x413206,subUnitId:_0x3b2f04,targetSubUnitId:_0x23af96}=_0x19ae8a[_0x2e7c88(0x1c2)];if(!_0x413206||!_0x3b2f04||!_0x23af96)return{'redos':[],'undos':[]};let _0x562372=this[_0x2e7c88(0x23c)][_0x2e7c88(0x1a0)](_0x413206,_0x3b2f04),_0x1cf7bb=Object[_0x2e7c88(0x281)](_0x562372)[_0x2e7c88(0xaa)](_0xe57b4b=>_0xe57b4b[_0x2e7c88(0x24f)]===_0xc2a308['DRAWING_CHART']);if(_0x1cf7bb[_0x2e7c88(0x221)]===0x0)return{'redos':[],'undos':[]};let _0x47c2ea=[],_0x2f8305=[];for(let _0x5efd52=0x0;_0x5efd52<_0x1cf7bb[_0x2e7c88(0x221)];_0x5efd52++){let _0x2ea382=_0x1cf7bb[_0x5efd52],_0x2cca27=this[_0x2e7c88(0x2d7)][_0x2e7c88(0x154)](_0x2ea382[_0x2e7c88(0x1ae)]);if(!_0x2cca27)continue;let _0x5e944c=_0x3a6851(),_0x4e3e0c={..._0x2ea382,'unitId':_0x413206,'subUnitId':_0x23af96,'drawingId':_0x5e944c},_0x7474ae=_0x2cca27['dataSource'][_0x2e7c88(0x1f9)](),_0x338997=Array[_0x2e7c88(0x24c)](_0x7474ae)?_0x7474ae[_0x2e7c88(0x26c)](_0x476fa0=>({..._0x476fa0,..._0x476fa0[_0x2e7c88(0xca)]?{'header':{..._0x476fa0['header'],'subUnitId':_0x23af96}}:{},'range':{..._0x476fa0[_0x2e7c88(0x258)],'subUnitId':_0x23af96}})):{..._0x7474ae,'rangeInfo':{..._0x7474ae['rangeInfo'],'subUnitId':_0x23af96}},{chartType:_0x2d755e,context:_0x49f9b1,style:_0x486bbd,dataAggregation:_0x11a143}=_0x2cca27[_0x2e7c88(0x12f)](),{redo:_0x1cf896,undo:_0x4ceea2,objects:_0x2eba8e}=this[_0x2e7c88(0x23c)][_0x2e7c88(0x1ca)]([_0x4e3e0c]);_0x47c2ea[_0x2e7c88(0x1d7)]({'id':_0x1ee14a['id'],'params':{'unitId':_0x413206,'subUnitId':_0x23af96,'type':_0x4ef90d[_0x2e7c88(0x189)],'op':_0x1cf896,'objects':_0x2eba8e}}),_0x47c2ea[_0x2e7c88(0x1d7)]({'id':_0x8740fa['id'],'params':{'unitId':_0x413206,'subUnitId':_0x23af96,'chartId':_0x5e944c,'chartType':_0x2d755e,..._0x5c5743(_0x338997),'context':_0x49f9b1,'style':_0x486bbd,'dataAggregation':_0x11a143}}),_0x2f8305[_0x2e7c88(0x1d7)]({'id':_0x4ceb47['id'],'params':{'unitId':_0x413206,'subUnitId':_0x23af96,'chartId':_0x5e944c}}),_0x2f8305[_0x2e7c88(0x1d7)]({'id':_0x1ee14a['id'],'params':{'unitId':_0x413206,'subUnitId':_0x23af96,'type':_0x4ef90d['REMOVE'],'op':_0x4ceea2,'objects':_0x2eba8e}});}return{'redos':_0x47c2ea,'undos':_0x2f8305};}}return{'redos':[],'undos':[]};}}));}};Pi=J([q(0x0,_0x28410f(_0x371c5e)),q(0x1,_0x28410f(_0x2dd957)),q(0x2,_0x28410f(_0x49382d)),q(0x3,_0x28410f(_0x538c99))],Pi);let Fi=class extends _0x1b05ef{constructor(_0x31edc8,_0x52638f){const _0x369ba6=_0x533bf2;super(),this[_0x369ba6(0x1b2)]=_0x31edc8,this[_0x369ba6(0x1c6)]=_0x52638f,this[_0x369ba6(0x18c)](),this[_0x369ba6(0x25b)]();}['_registerIcons'](){const _0x539e59=_0x533bf2;this[_0x539e59(0x269)](this[_0x539e59(0x1c6)]['register']({'PenIcon':_0x3f19de}));}[_0x533bf2(0x25b)](){const _0x1075dd=_0x533bf2;[[ui,li]][_0x1075dd(0x1cf)](([_0x9a341a,_0x180b43])=>{const _0x28450e=_0x1075dd;this[_0x28450e(0x269)](this[_0x28450e(0x1b2)][_0x28450e(0x159)](_0x9a341a,_0x180b43));});}};Fi=J([q(0x0,_0x28410f(_0x53334b)),q(0x1,_0x28410f(_0x1edf8a))],Fi);let Ii=class extends _0x1b05ef{constructor(_0x461c23,_0x163790,_0x3d582b,_0x27ad15){const _0xa6783a=_0x533bf2;super(),this[_0xa6783a(0x1cc)]=_0x461c23,this[_0xa6783a(0x229)]=_0x163790,this[_0xa6783a(0x23c)]=_0x3d582b,this['_chartModelService']=_0x27ad15,W(this,_0xa6783a(0x1a6),void 0x0),this[_0xa6783a(0x2cb)]();}get[_0x533bf2(0x15c)](){const _0x587c92=_0x533bf2;return this[_0x587c92(0x23c)][_0x587c92(0x1f2)]();}[_0x533bf2(0x2cb)](){const _0x14c4d2=_0x533bf2;this['disposeWithMe'](this[_0x14c4d2(0x229)][_0x14c4d2(0x156)]({'id':_0x159303,'onBeforeCopy':(_0x28a963,_0x51d328,_0x4e59e9,_0xf134ad)=>{const _0x4e7295=_0x14c4d2;this[_0x4e7295(0x1a6)]=null;let _0x2d7fa7=this[_0x4e7295(0x15c)];if(_0x2d7fa7['length']){let _0x527790=_0x2d7fa7[_0x4e7295(0xaa)](_0x111cfb=>_0x111cfb['drawingType']===_0xc2a308[_0x4e7295(0xcb)]);if(_0x527790[_0x4e7295(0x221)]===0x0)return;this[_0x4e7295(0x1a6)]={'unitId':_0x28a963,'subUnitId':_0x51d328,'copyType':_0xf134ad,'drawings':_0x527790};}else this[_0x4e7295(0x272)](_0x28a963,_0x51d328,_0x4e59e9,_0xf134ad);},'onPasteCells':(_0x3ee72d,_0x5673a2,_0x1cbdbb,_0x1b823a)=>{const _0x49ed93=_0x14c4d2;if(!this[_0x49ed93(0x1a6)])return{'redos':[],'undos':[]};let {pasteType:_0x8043a}=_0x1b823a;return _0x8043a===_0x41cea3['DEFAULT_PASTE']?this[_0x49ed93(0x218)](_0x5673a2,this[_0x49ed93(0x1a6)][_0x49ed93(0x2e5)]===_0x3eadd3['CUT']):{'redos':[],'undos':[]};},'onPasteUnrecognized':_0x3b4547=>this[_0x14c4d2(0x1a6)]?this[_0x14c4d2(0x218)](_0x3b4547,this[_0x14c4d2(0x1a6)][_0x14c4d2(0x2e5)]===_0x3eadd3[_0x14c4d2(0x174)]):{'redos':[],'undos':[]}}));}[_0x533bf2(0x272)](_0x3f586e,_0x5ba47b,_0x54be6c,_0x1d4cf4){const _0x451692=_0x533bf2;let _0xbc5aab=this[_0x451692(0x1cc)][_0x451692(0x22d)](_0x3f586e,_0x5ba47b);if(!_0xbc5aab)return;let _0x4066f8=_0x170817(_0xbc5aab,_0x54be6c);if(!_0x4066f8)return;let {startX:_0x1b3bbe,endX:_0x5b7ff5,startY:_0x162fb6,endY:_0x21cb0e}=_0x4066f8,_0x558fb9=this[_0x451692(0x23c)][_0x451692(0x1a0)](_0x3f586e,_0x5ba47b),_0x3faf03=this['_focusedDrawings'][_0x451692(0x304)]();for(let [_0xaee730,_0x52e5c5]of Object[_0x451692(0x2b0)](_0x558fb9)){if(_0x52e5c5['drawingType']!==_0xc2a308[_0x451692(0xcb)])continue;let {transform:_0x1f8a7e}=_0x52e5c5;if(!_0x1f8a7e)continue;let {left:_0x17551a=0x0,top:_0x21f912=0x0,width:_0x49724b=0x0,height:_0x10d68a=0x0}=_0x1f8a7e;_0x1b3bbe<=_0x17551a&&_0x5b7ff5>=_0x17551a+_0x49724b&&_0x162fb6<=_0x21f912&&_0x21cb0e>=_0x21f912+_0x10d68a&&_0x3faf03['push'](_0x52e5c5);}_0x3faf03['length']>0x0&&(this[_0x451692(0x1a6)]={'unitId':_0x3f586e,'subUnitId':_0x5ba47b,'copyType':_0x1d4cf4,'copyRange':_0x54be6c,'drawings':_0x3faf03});}[_0x533bf2(0x218)](_0x46a4b4,_0x3caa59){const _0x3faf10=_0x533bf2;let {unitId:_0xf7e99f,subUnitId:_0x1b0a32,range:_0x2b5ccd}=_0x46a4b4,_0x5f0e2f=this[_0x3faf10(0x1cc)][_0x3faf10(0x22d)](_0xf7e99f,_0x1b0a32);if(!_0x5f0e2f)return{'redos':[],'undos':[]};let _0x2ac51d=_0x3a930d(_0x2b5ccd),{unitId:_0x2cccb6,subUnitId:_0x3837dc,copyRange:_0x173674,drawings:_0xc424f8}=this[_0x3faf10(0x1a6)],_0x20c6fb=this[_0x3faf10(0x1cc)][_0x3faf10(0x22d)](_0x2cccb6,_0x3837dc);if(!_0x20c6fb)return{'redos':[],'undos':[]};let _0x473fff=[],_0x1a5764=[];for(let _0x48967d of _0xc424f8){let {drawingId:_0x2dad2b,transform:_0x5a7a93,sheetTransform:_0x108fac}=_0x48967d,_0x25ff45=this[_0x3faf10(0x2d7)][_0x3faf10(0x154)](_0x2dad2b);if(!_0x25ff45||!_0x5a7a93||!_0x108fac)continue;let _0x25f650=this[_0x3faf10(0x30e)]({'transform':_0x5a7a93,'sheetTransform':_0x108fac},{'skeleton':_0x20c6fb,'range':_0x173674},{'skeleton':_0x5f0e2f,'range':_0x2ac51d});if(_0x3caa59){let {redos:_0x4a0c3d,undos:_0x4ac7d4}=this['_generateCutPasteMutations']({'fromUnitId':_0x2cccb6,'fromSubUnitId':_0x3837dc,'toUnitId':_0xf7e99f,'toSubUnitId':_0x1b0a32,'drawing':_0x48967d,'newTransforms':_0x25f650},_0x25ff45);_0x473fff['push'](..._0x4a0c3d),_0x1a5764[_0x3faf10(0x1d7)](..._0x4ac7d4);continue;}let {redos:_0x28e62b,undos:_0x299ea0}=this[_0x3faf10(0xd5)]({'toUnitId':_0xf7e99f,'toSubUnitId':_0x1b0a32,'drawing':_0x48967d,'newTransforms':_0x25f650},_0x25ff45);_0x473fff[_0x3faf10(0x1d7)](..._0x28e62b),_0x1a5764[_0x3faf10(0x1d7)](..._0x299ea0);}return{'redos':_0x473fff,'undos':_0x1a5764};}['_generateCutPasteMutations'](_0x1779a9,_0x5e965b){const _0x361072=_0x533bf2;let {fromUnitId:_0x4459f4,fromSubUnitId:_0x3e9265,toUnitId:_0x5a9509,toSubUnitId:_0x4ce83e,drawing:_0x4aeb29,newTransforms:_0x4f0645}=_0x1779a9,_0x3dafe2={..._0x4aeb29,'unitId':_0x5a9509,'subUnitId':_0x4ce83e,'transform':_0x4f0645[_0x361072(0x2d2)],'sheetTransform':_0x4f0645['sheetTransform']};if(_0x5a9509===_0x4459f4&&_0x4ce83e===_0x3e9265){let {redo:_0x4de2bc,undo:_0x2eac61,objects:_0x23f4b9}=this[_0x361072(0x23c)][_0x361072(0xee)]([_0x3dafe2]);return{'redos':[{'id':_0x1ee14a['id'],'params':{'unitId':_0x5a9509,'subUnitId':_0x4ce83e,'type':_0x4ef90d[_0x361072(0x2ca)],'op':_0x4de2bc,'objects':_0x23f4b9}}],'undos':[{'id':_0x1ee14a['id'],'params':{'unitId':_0x5a9509,'subUnitId':_0x4ce83e,'type':_0x4ef90d['UPDATE'],'op':_0x2eac61,'objects':_0x23f4b9}}]};}else{let _0x33a630=this['_sheetDrawingService'][_0x361072(0x28e)]([_0x4aeb29]),_0x2248c8=this[_0x361072(0x23c)]['getBatchAddOp']([_0x3dafe2]),_0xa48958=_0x5e965b[_0x361072(0x166)][_0x361072(0x1f9)](),{chartType:_0x2e13e3,context:_0x2889ae,style:_0x24bdf5,dataAggregation:_0x163512}=_0x5e965b[_0x361072(0x12f)]();return{'redos':[{'id':_0x1ee14a['id'],'params':{'unitId':_0x4459f4,'subUnitId':_0x3e9265,'type':_0x4ef90d['REMOVE'],'op':_0x33a630[_0x361072(0xc3)],'objects':_0x33a630[_0x361072(0x157)]}},{'id':_0x4ceb47['id'],'params':{'unitId':_0x4459f4,'subUnitId':_0x3e9265,'chartId':_0x4aeb29[_0x361072(0x1ae)]}},{'id':_0x1ee14a['id'],'params':{'unitId':_0x5a9509,'subUnitId':_0x4ce83e,'type':_0x4ef90d[_0x361072(0x189)],'op':_0x2248c8['redo'],'objects':_0x2248c8[_0x361072(0x157)]}},{'id':_0x8740fa['id'],'params':{'unitId':_0x5a9509,'subUnitId':_0x4ce83e,'chartId':_0x4aeb29['drawingId'],'chartType':_0x2e13e3,..._0x5c5743(_0xa48958),'context':_0x2889ae,'style':_0x24bdf5,'dataAggregation':_0x163512}}],'undos':[{'id':_0x1ee14a['id'],'params':{'unitId':_0x4459f4,'subUnitId':_0x3e9265,'type':_0x4ef90d['INSERT'],'op':_0x33a630[_0x361072(0x1a8)],'objects':_0x33a630[_0x361072(0x157)]}},{'id':_0x8740fa['id'],'params':{'unitId':_0x4459f4,'subUnitId':_0x3e9265,'chartId':_0x4aeb29[_0x361072(0x1ae)],'chartType':_0x2e13e3,..._0x5c5743(_0xa48958),'context':_0x2889ae,'style':_0x24bdf5,'dataAggregation':_0x163512}},{'id':_0x1ee14a['id'],'params':{'unitId':_0x5a9509,'subUnitId':_0x4ce83e,'type':_0x4ef90d[_0x361072(0xd2)],'op':_0x2248c8[_0x361072(0x1a8)],'objects':_0x2248c8[_0x361072(0x157)]}},{'id':_0x4ceb47['id'],'params':{'unitId':_0x5a9509,'subUnitId':_0x4ce83e,'chartId':_0x4aeb29['drawingId']}}]};}}[_0x533bf2(0xd5)](_0x31f7dd,_0x34b19c){const _0x2adffe=_0x533bf2;let {toUnitId:_0x43b0bc,toSubUnitId:_0x107ac0,drawing:_0x2177a9,newTransforms:_0x293eb5}=_0x31f7dd,_0x148d30=_0x3a6851(),_0x263f1d={..._0x2177a9,'unitId':_0x43b0bc,'subUnitId':_0x107ac0,'drawingId':_0x148d30,'transform':_0x293eb5[_0x2adffe(0x2d2)],'sheetTransform':_0x293eb5[_0x2adffe(0x181)]},{redo:_0x4e58d4,undo:_0x2c50cc,objects:_0xae7c67}=this[_0x2adffe(0x23c)][_0x2adffe(0x1ca)]([_0x263f1d]),_0x349dc0=_0x34b19c['dataSource'][_0x2adffe(0x1f9)](),{chartType:_0x2969b4,context:_0x3a0046,style:_0x56a815,dataAggregation:_0x3c2d7c}=_0x34b19c[_0x2adffe(0x12f)]();return{'redos':[{'id':_0x1ee14a['id'],'params':{'unitId':_0x43b0bc,'subUnitId':_0x107ac0,'type':_0x4ef90d[_0x2adffe(0x189)],'op':_0x4e58d4,'objects':_0xae7c67}},{'id':_0x8740fa['id'],'params':{'unitId':_0x43b0bc,'subUnitId':_0x107ac0,'chartId':_0x148d30,'chartType':_0x2969b4,..._0x5c5743(_0x349dc0),'context':_0x3a0046,'style':_0x56a815,'dataAggregation':_0x3c2d7c}}],'undos':[{'id':_0x1ee14a['id'],'params':{'unitId':_0x43b0bc,'subUnitId':_0x107ac0,'type':_0x4ef90d[_0x2adffe(0xd2)],'op':_0x2c50cc,'objects':_0xae7c67}},{'id':_0x4ceb47['id'],'params':{'unitId':_0x43b0bc,'subUnitId':_0x107ac0,'chartId':_0x148d30}}]};}[_0x533bf2(0x30e)](_0x584d3e,_0x3ea9d0,_0x48781a){const _0x1f2e67=_0x533bf2;let {range:_0x4ac8d9,skeleton:_0x110bbf}=_0x3ea9d0,{range:_0x59eb0b,skeleton:_0x34f7b4}=_0x48781a,{transform:_0x12276c,sheetTransform:_0x4bb165}=_0x584d3e,_0x5cfa75={..._0x12276c};if(_0x4ac8d9){let _0x3f707c=_0x170817(_0x110bbf,_0x4ac8d9),_0x1cc845=_0x170817(_0x34f7b4,_0x59eb0b);if(_0x3f707c&&_0x1cc845){let _0x5475b2=_0x1cc845['startX']-_0x3f707c[_0x1f2e67(0x2ef)],_0xb33979=_0x1cc845[_0x1f2e67(0x1c7)]-_0x3f707c['startY'];_0x5cfa75[_0x1f2e67(0x234)]=(_0x5cfa75[_0x1f2e67(0x234)]??0x0)+_0x5475b2,_0x5cfa75[_0x1f2e67(0x291)]=(_0x5cfa75['top']??0x0)+_0xb33979;}}else{let _0x372c11=_0x170817(_0x34f7b4,_0x59eb0b);_0x5cfa75[_0x1f2e67(0x234)]=_0x372c11==null?void 0x0:_0x372c11[_0x1f2e67(0x2ef)],_0x5cfa75[_0x1f2e67(0x291)]=_0x372c11==null?void 0x0:_0x372c11[_0x1f2e67(0x1c7)];}return{'transform':_0x5cfa75,'sheetTransform':_0x1a36ef(_0x5cfa75,_0x34f7b4)??_0x4bb165};}};Ii=J([q(0x0,_0x28410f(_0x5cd6cc)),q(0x1,_0x28410f(_0x2933d1)),q(0x2,_0x28410f(_0x49382d)),q(0x3,_0x28410f(_0x538c99))],Ii);let Li=class extends _0x1b05ef{constructor(_0x3f78d3,_0x3a3ac9,_0x459b09,_0x417cb9){const _0x2c6dfd=_0x533bf2;super(),this[_0x2c6dfd(0x90)]=_0x3f78d3,this[_0x2c6dfd(0x1e9)]=_0x3a3ac9,this[_0x2c6dfd(0x2f7)]=_0x459b09,this[_0x2c6dfd(0x168)]=_0x417cb9,this['_initPermission']();}[_0x533bf2(0x104)](){const _0x42e110=_0x533bf2;this['disposeWithMe'](this[_0x42e110(0x90)]['beforeCommandExecuted'](_0x392fd8=>{const _0x285a6c=_0x42e110;let _0x5f05b0,_0x297bc5;if(_0x392fd8['id']===_0x17d872['id']){let _0x26baea=_0x392fd8[_0x285a6c(0x1c2)];_0x5f05b0=_0x26baea[_0x285a6c(0x17e)],_0x297bc5=_0x26baea[_0x285a6c(0x1f7)];}else{if(_0x392fd8['id']===_0x32b2ba['id']||_0x392fd8['id']===_0x575ee3['id']){let _0x31ef9f=_0x392fd8[_0x285a6c(0x1c2)];_0x5f05b0=_0x31ef9f['unitId'],_0x297bc5=this[_0x285a6c(0x168)]['getSubUnitId'](_0x31ef9f[_0x285a6c(0x17e)],_0x31ef9f[_0x285a6c(0x116)]);}}!_0x5f05b0||!_0x297bc5||this[_0x285a6c(0x2f7)][_0x285a6c(0xeb)]({'workbookTypes':[_0x5572e0],'worksheetTypes':[_0x3d338d]},_0x5f05b0,_0x297bc5)||this[_0x285a6c(0x2f7)][_0x285a6c(0x137)](this[_0x285a6c(0x1e9)]['t'](_0x285a6c(0x242)));}));}};Li=J([q(0x0,_0x28410f(_0x413077)),q(0x1,_0x28410f(_0x3f8b07)),q(0x2,_0x28410f(_0x7e07e)),q(0x3,_0x28410f(_0x1d97a8))],Li);let Ri=class extends _0x1b05ef{constructor(_0x5b7a74,_0x3ea765){const _0x27951c=_0x533bf2;super(),this[_0x27951c(0x308)]=_0x3ea765,this[_0x27951c(0x269)](_0x5b7a74[_0x27951c(0x159)](this));}['supports'](_0x4d997f){const _0x499978=_0x533bf2;return _0x499978(0x17e)in _0x4d997f&&_0x499978(0x1f7)in _0x4d997f;}['exportImage'](_0x528041){const _0x47f614=_0x533bf2;return this[_0x47f614(0x308)][_0x47f614(0x266)](_0x528041['getId']());}};Ri=J([q(0x0,_0x28410f(_0x4755ef)),q(0x1,_0x28410f(X))],Ri);let $=class extends _0x470b7e{constructor(_0x5ebb84=dr,_0x50fa54,_0x409706,_0x145d4f){const _0xe3ce63=_0x533bf2;super(),this[_0xe3ce63(0x233)]=_0x5ebb84,this['_injector']=_0x50fa54,this[_0xe3ce63(0x2ea)]=_0x409706,this[_0xe3ce63(0x90)]=_0x145d4f,W(this,_0xe3ce63(0xa0),void 0x0);let {..._0x513069}=_0x4a99a7({},dr,this[_0xe3ce63(0x233)]);this[_0xe3ce63(0xa0)]=_0x513069,this[_0xe3ce63(0x2ea)][_0xe3ce63(0x1b8)](ur,_0x513069),this[_0xe3ce63(0xba)]();}[_0x533bf2(0x2f5)](){const _0x136d5c=_0x533bf2;this[_0x136d5c(0x226)][_0x136d5c(0x2db)]([Fi]),this['_injector'][_0x136d5c(0x125)](Fi);let _0x3f1fd4=this[_0x136d5c(0x226)],_0x4e86b2=[[Y,{'useClass':Xr}],[Yr,{'useClass':Jr}],[Ur],[X],[Ri],[Q],[Mi],[Ni],[Ii],[Pi],[Li]],_0x5b1a26=[[Q],[Ni],[Mi],[Ri],[Y],[Ii],[Pi],[Li]];this[_0x136d5c(0xa0)][_0x136d5c(0x2ff)]&&(_0x4e86b2[_0x136d5c(0x1d7)]([ji]),_0x5b1a26[_0x136d5c(0x1d7)]([ji])),_0x4e86b2[_0x136d5c(0x1cf)](_0x267d72=>_0x3f1fd4['add'](_0x267d72)),_0x5b8dfc(this[_0x136d5c(0x226)],_0x5b1a26);}['onRendered'](){const _0x111afa=_0x533bf2;var _0x293ea6;(_0x293ea6=this[_0x111afa(0x226)][_0x111afa(0x125)](Q))==null||_0x293ea6[_0x111afa(0x285)]();}[_0x533bf2(0xba)](){const _0x58a02a=_0x533bf2;[vr,mr,hr,gr,_r,V,fr][_0x58a02a(0x1cf)](_0x28f2ee=>this[_0x58a02a(0x269)](this[_0x58a02a(0x90)][_0x58a02a(0x232)](_0x28f2ee)));}};W($,_0x533bf2(0x20a),_0x1302ff[_0x533bf2(0x135)]),W($,_0x533bf2(0x236),_0x533bf2(0x19f)),W($,_0x533bf2(0x2c0),mi),W($,'version',hi),$=J([_0x17c104(_0x409320,_0x1fab36,_0x2ac6a0,_0x459686,_0x36aab4,_0x2a6dc3,_0x1c2f0a,_0xb7a1e7,_0x20ed54),q(0x1,_0x28410f(_0x4b92dd)),q(0x2,_0x5d6e79),q(0x3,_0x413077)],$);export{Y as ISheetsChartUIService,ur as SHEETS_CHART_UI_PLUGIN_CONFIG_KEY,Q as SheetsChartUIController,jr as SheetsChartUIMenuSchema,Xr as SheetsChartUIService,$ as UniverSheetsChartUIPlugin};