@univerjs-pro/sheets-chart-ui 1.0.2 → 1.0.4

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 (86) 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.js +1 -1
  42. package/lib/locale/ar-SA.js +1 -1
  43. package/lib/locale/ca-ES.js +1 -1
  44. package/lib/locale/de-DE.js +1 -1
  45. package/lib/locale/en-US.js +1 -1
  46. package/lib/locale/es-ES.js +1 -1
  47. package/lib/locale/fa-IR.js +1 -1
  48. package/lib/locale/fr-FR.js +1 -1
  49. package/lib/locale/id-ID.js +1 -1
  50. package/lib/locale/it-IT.js +1 -1
  51. package/lib/locale/ja-JP.js +1 -1
  52. package/lib/locale/ko-KR.js +1 -1
  53. package/lib/locale/pl-PL.js +1 -1
  54. package/lib/locale/pt-BR.js +1 -1
  55. package/lib/locale/ru-RU.js +1 -1
  56. package/lib/locale/sk-SK.js +1 -1
  57. package/lib/locale/vi-VN.js +1 -1
  58. package/lib/locale/zh-CN.js +1 -1
  59. package/lib/locale/zh-HK.js +1 -1
  60. package/lib/locale/zh-TW.js +1 -1
  61. package/lib/types/services/chart-geometry-subscription.d.ts +14 -0
  62. package/lib/types/services/sheets-chart-host-provider.service.d.ts +3 -1
  63. package/lib/types/views/chart-edit-panel/chart-editor-default-values.d.ts +0 -4
  64. package/lib/types/views/chart-edit-panel/data-tab-panel/DataTabPanel.d.ts +1 -4
  65. package/lib/types/views/mobile/chart-edit-panel/MobileDataTabPanel.d.ts +1 -4
  66. package/lib/umd/index.js +1 -1
  67. package/lib/umd/locale/ar-SA.js +1 -1
  68. package/lib/umd/locale/ca-ES.js +1 -1
  69. package/lib/umd/locale/de-DE.js +1 -1
  70. package/lib/umd/locale/en-US.js +1 -1
  71. package/lib/umd/locale/es-ES.js +1 -1
  72. package/lib/umd/locale/fa-IR.js +1 -1
  73. package/lib/umd/locale/fr-FR.js +1 -1
  74. package/lib/umd/locale/id-ID.js +1 -1
  75. package/lib/umd/locale/it-IT.js +1 -1
  76. package/lib/umd/locale/ja-JP.js +1 -1
  77. package/lib/umd/locale/ko-KR.js +1 -1
  78. package/lib/umd/locale/pl-PL.js +1 -1
  79. package/lib/umd/locale/pt-BR.js +1 -1
  80. package/lib/umd/locale/ru-RU.js +1 -1
  81. package/lib/umd/locale/sk-SK.js +1 -1
  82. package/lib/umd/locale/vi-VN.js +1 -1
  83. package/lib/umd/locale/zh-CN.js +1 -1
  84. package/lib/umd/locale/zh-HK.js +1 -1
  85. package/lib/umd/locale/zh-TW.js +1 -1
  86. package/package.json +18 -18
package/lib/es/index.js CHANGED
@@ -1 +1 @@
1
- const _0x12a095=_0x5965;(function(_0x294986,_0x5473c7){const _0xd3e51c=_0x5965,_0x37c4a8=_0x294986();while(!![]){try{const _0x47b17b=parseInt(_0xd3e51c(0x2d0))/0x1*(parseInt(_0xd3e51c(0x3b6))/0x2)+-parseInt(_0xd3e51c(0x35a))/0x3+-parseInt(_0xd3e51c(0x3d1))/0x4+parseInt(_0xd3e51c(0x28f))/0x5+parseInt(_0xd3e51c(0x3a5))/0x6+parseInt(_0xd3e51c(0x1ae))/0x7+parseInt(_0xd3e51c(0x346))/0x8*(parseInt(_0xd3e51c(0x1c6))/0x9);if(_0x47b17b===_0x5473c7)break;else _0x37c4a8['push'](_0x37c4a8['shift']());}catch(_0x295964){_0x37c4a8['push'](_0x37c4a8['shift']());}}}(_0x5e27,0x59993));import{CommandType as _0x310857,DependentOn as _0x4c7a27,Disposable as _0x570089,DisposableCollection as _0x318945,DrawingTypeEnum as _0x14b323,FOCUSING_COMMON_DRAWINGS as _0x5c7b8c,FOCUSING_PANEL_EDITOR as _0x16da5d,ICommandService as _0x35e06d,IConfigService as _0x503adb,IContextService as _0x3245fa,IUniverInstanceService as _0x1001a8,Inject as _0x4958ff,Injector as _0x1e0717,LocaleService as _0x1af081,Plugin as _0x3a3266,ThemeService as _0x2caa52,UniverInstanceType as _0x3d7cdd,createIdentifier as _0x245770,debounce as _0x2fbc58,generateRandomId as _0x262636,isValidRange as _0x858ad1,merge as _0xb6fcd0,numberToABC as _0x3888ab,toDisposable as _0x3a3010,touchDependencies as _0x36cafd}from'@univerjs/core';import{ChartModelService as _0x336038,ChartUpdateConfigCommand as _0x17cfd2,ChartUpdateConfigMutation as _0x80406d,ChartUpdateSourceCommand as _0x2320a5,InsertChartCommand as _0xa4aa6,InsertSheetsChartMutation as _0x5b425e,RemoveSheetsChartMutation as _0x2eb031,SHEETS_CHART_PLUGIN_CONFIG_KEY as _0x2f3044,SHEETS_CHART_PLUGIN_NAME as _0x19127b,SheetChartConfigAdapter as _0x101322,SheetsChartService as _0x3bc38a,UniverSheetsChartPlugin as _0x5a6543,getAllowedChartTypes as _0x211e16,toInsertChartMutationSource as _0x2ca872}from'@univerjs-pro/sheets-chart';import{IDrawingManagerService as _0x2725f1,UniverDrawingPlugin as _0x2e1267,getDrawingShapeKeyByDrawingSearch as _0x3c039e,getOrCreateDrawingCopyPlan as _0x832b49}from'@univerjs/drawing';import{DrawingApplyType as _0x49285d,ISheetDrawingService as _0x268a19,RemoveSheetDrawingCommand as _0x2cfac4,SetDrawingApplyMutation as _0x268f8c,UniverSheetsDrawingPlugin as _0x297001,transformToDrawingPosition as _0xdd5e24}from'@univerjs/sheets-drawing';import{SHEET_CHART_RENDER_OBJECT_CONFIG as _0x2808c5,SheetCanvasFloatDomManagerService as _0x7df4f2,SheetDrawingHitTestService as _0x53aee1,UniverSheetsDrawingMobileUIPlugin as _0x5cdc2a,UniverSheetsDrawingUIPlugin as _0xd8dc05}from'@univerjs/sheets-drawing-ui';import{COPY_TYPE as _0x2b8385,ISheetClipboardService as _0x3a5a5a,PREDEFINED_HOOK_NAME as _0x46fffd,SheetCanvasPopManagerService as _0x2099c6,SheetCopyCommand as _0x79bc86,SheetPrintInterceptorService as _0x3e85b8,SheetSkeletonManagerService as _0x157e10,UniverSheetsMobileUIPlugin as _0x391c29,UniverSheetsUIPlugin as _0x11f2cd,deriveStateFromActiveSheet$ as _0x1092e3,getCurrentRangeDisable$ as _0x531dce}from'@univerjs/sheets-ui';import{CanvasFloatDomService as _0x17b629,ComponentManager as _0x13825f,ContextMenuGroup as _0x50e9ba,ContextMenuPosition as _0x438952,IMenuManagerService as _0x2683f7,ISidebarService as _0x1eff62,IconManager as _0x4a4f5d,KeyCode as _0xa792ee,MenuItemType as _0x237735,NativeTextEditorShortcutBehavior as _0x1bb10b,RibbonInsertGroup as _0x551a0b,UniverMobileUIPlugin as _0x159e63,getMenuHiddenObservable as _0x8a8178,useDependency as _0x38563e,useObservable as _0x1e1407}from'@univerjs/ui';import{BehaviorSubject as _0x3d1c7e,Observable as _0x2ae768,Subject as _0x4c0d27,combineLatest as _0x341663,combineLatestWith as _0x12af34,debounceTime as _0xf3add6,distinctUntilChanged as _0x5776be,filter as _0xb11af9,fromEvent as _0xb43c9d,map as _0x32cf6e,merge as _0x15a9d8,pairwise as _0x2e3a6a,skip as _0x55400,startWith as _0x4bc10c,switchMap as _0x4ff2e8,take as _0x29f917,throttleTime as _0x1b837b,withLatestFrom as _0x5df8bf}from'rxjs';import{CHART_ELEMENT_FLOAT_MENU_COMPONENT as _0x501e58,CHART_HOST_BORDER_RADIUS as _0x52876d,CHART_TYPE_CATALOG as _0x1b2824,ChartAxisSection as _0x596645,ChartCommonDataMappingSection as _0x330d9a,ChartDomFrame as _0x13c05f,ChartEditBlockTitle as _0x145d6d,ChartEditPanel as _0x440c48,ChartEditPanelSection as _0x241836,ChartEditPanelTab as _0x19006c,ChartEditPanelTabs as _0x5adf90,ChartEditorCapability as _0x39a589,ChartEditorProvider as _0x34ba25,ChartElementFloatMenuAdapterRegistry as _0x5d28bd,ChartFrameContentMode as _0x4c3b44,ChartFrameLayout as _0x3b498e,ChartFunnelStyleSection as _0x4f0d06,ChartGradientFillField as _0x2773db,ChartGridlinesAndTicksSection as _0x33fbc5,ChartHeatmapStyleSection as _0x37a7a7,ChartHostAdapter as _0x311210,ChartImageExportService as _0x4ab9cf,ChartIndicatorLineSection as _0x4d43e8,ChartLegendSection as _0x125aa5,ChartLineAndAreaSection as _0x11d45d,ChartNumberFormatAtom as _0x1a721e,ChartParetoSeriesSection as _0x177112,ChartPieStyleSection as _0x566935,ChartRadarStyleSection as _0x32d6a7,ChartRelationStyleSection as _0x126deb,ChartSectionAccordion as _0xe09dd0,ChartSectionAccordionContent as _0x239515,ChartSectionAccordionItem as _0x7a23d3,ChartSectionAccordionTrigger as _0x2f15c0,ChartSeriesSection as _0x1570f1,ChartStackField as _0x5ec054,ChartStyleSection as _0x45ed7e,ChartThemeField as _0x2a2587,ChartTitlesSection as _0x269a25,ChartTrendlineSection as _0x431f18,ChartTypeField as _0x33421f,ChartTypeSpecificDataSection as _0xbdcff5,ChartTypeSpecificSetupSection as _0x5968dd,ChartTypeSpecificStyleSection as _0x1b2ea5,ChartUIService as _0x8bb9ad,ChartViewStateRegistry as _0x4bc7d3,ChartWaterfallSetupFields as _0x32a913,ChartWaterfallStyleSection as _0x1605e8,ChartWordCloudStyleSection as _0x15e41d,DEFAULT_CHART_AXIS_VALUES as _0x405fca,DEFAULT_CHART_FUNNEL_VALUES as _0x197864,DEFAULT_CHART_HEATMAP_VALUES as _0x2c54fb,DEFAULT_CHART_INDICATOR_LINE_VALUES as _0x34208f,DEFAULT_CHART_LEGEND_VALUES as _0x1339d4,DEFAULT_CHART_LINE_AND_AREA_VALUES as _0x43018d,DEFAULT_CHART_PARETO_VALUES as _0x1838fc,DEFAULT_CHART_PIE_VALUES as _0x18ae22,DEFAULT_CHART_RADAR_VALUES as _0x221b56,DEFAULT_CHART_RELATION_VALUES as _0x137716,DEFAULT_CHART_SERIES_VALUES as _0x562b0e,DEFAULT_CHART_STYLE_VALUES as _0x146de9,DEFAULT_CHART_TITLE_VALUES as _0x1375ee,DEFAULT_CHART_TRENDLINE_VALUES as _0x483179,DEFAULT_CHART_WATERFALL_SETUP_VALUES as _0x5ed089,DEFAULT_CHART_WATERFALL_STYLE_VALUES as _0x4fc5f0,DEFAULT_CHART_WORD_CLOUD_VALUES as _0x2efede,MobileChartEditorProvider as _0x3a10b3,UniverChartMobileUIPlugin as _0xff0cfa,UniverChartUIPlugin as _0x196fcd,buildChartTypeSelectOptions as _0x55e910,chartTypeSupportsCapability as _0x811d48,chartTypeSupportsLineAndAreaStyle as _0x265cb3,createChartElementFloatMenuAdapter as _0x42bea8,resolveChartCreationIntent as _0x4557b6,resolveChartEditPanelRoute as _0x5ce2fe,resolveChartElementSelection as _0x1573e7,useChartEditorChartType as _0x1e3b17,useChartEditorHasRightAxis as _0x411688}from'@univerjs-pro/chart-ui';import{CHART_DATA_UPDATE_ANIMATION_DURATION as _0x4535a3,ChartImageExportFormat as _0x32a3b9,ChartImageSourceType as _0x1107df,ChartRenderMode as _0x3d77fd,ChartSourceHeaderTitleType as _0x4c8a10,ChartThemeService as _0x73b74b,ChartTypeBits as _0x26b265,ChartWaterfallStyleTarget as _0x5c29f7,DataOrientation as _0x19fc34,EChartRenderEngineName as _0x3978bd,IChartRenderModelManagerService as _0x3e5d3b,ImageChartHost as _0x4cd53f,PieSecondaryPlotType as _0x1ad937,RTLChartStyle as _0x2a2a9f,chartBitsUtils as _0x2784af,chartImageSourceToDataUrl as _0x5377c7,chartTypeCanUseTrendLine as _0x55d2e7,resolveChartRuntimeStyle as _0x3e591a,resolveChartStyleBackgroundColor as _0x309d34,resolveDefaultChartHostFrameStyle as _0x378598}from'@univerjs-pro/engine-chart';import{CopySheetCommand as _0x3bb7b3,RemoveSheetCommand as _0x1f8f8c,SheetInterceptorService as _0x348462,SheetPermissionCheckController as _0x13c37e,SheetSkeletonService as _0x10d878,SheetsSelectionsService as _0x20a2e4,UniverSheetsPlugin as _0x8c9f82,WorkbookEditablePermission as _0x11d788,WorksheetEditPermission as _0x4adc13,attachRangeWithCoord as _0x3d5292,discreteRangeToRange as _0x170923,getSheetCommandTarget as _0x5b7f98}from'@univerjs/sheets';import{deserializeRangeWithSheet as _0x374c57,matchToken as _0x195300,serializeRangeWithSheet as _0x24cd93}from'@univerjs/engine-formula';import{insertGroupObject as _0x4b1007}from'@univerjs/drawing-ui';import{DRAWING_OBJECT_LAYER_INDEX as _0x26bfca,IRenderManagerService as _0x24875d,ObjectType as _0x2c9e28,RENDER_CLASS_TYPE as _0x5cef15,Rect as _0x173566,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x18dc8f,Transform as _0x133cd4,UniverRenderEnginePlugin as _0x29c8cc}from'@univerjs/engine-render';import{useCallback as _0x284529,useEffect as _0x4c475f,useMemo as _0x1b323c,useRef as _0x32c7b4,useState as _0x1cf90f}from'react';import{Button as _0x4d3674,Checkbox as _0x4036d0}from'@univerjs/design';import{MobileRangeSelector as _0x2e755b,RangeSelector as _0x2bd8d1}from'@univerjs/sheets-formula-ui';import{Fragment as _0x3a4ba4,jsx as _0x169a6b,jsxs as _0x5ae8f5}from'react/jsx-runtime';import{UniverLicensePlugin as _0x1541fe}from'@univerjs-pro/license';import{PenIcon as _0x1a9fef}from'@univerjs/icons';const H={'type':_0x310857['OPERATION'],'id':_0x12a095(0x203),'handler'(){return!0x0;}},jr=_0x12a095(0x1d2),Mr={'enableChartElementFloatMenu':!0x0},Nr={'type':_0x310857[_0x12a095(0x3aa)],'id':_0x12a095(0x387),'handler'(){return!0x0;}};function Pr(_0x3be9f5){const _0x29e3ce=_0x12a095;let _0x565d88=_0x3be9f5[_0x29e3ce(0x1ba)](_0x268a19)[_0x29e3ce(0x34b)]();if(_0x565d88[_0x29e3ce(0x222)]!==0x1)return null;let _0x1aa5a3=_0x565d88[0x0];return _0x1aa5a3['drawingType']===_0x14b323['DRAWING_CHART']?_0x1aa5a3:null;}function Fr(_0x4d8f31,_0x3764bd){const _0x372368=_0x12a095;let _0x25a392=document['createElement']('a');_0x25a392[_0x372368(0x20e)]=_0x4d8f31,_0x25a392[_0x372368(0x22e)]=_0x3764bd,_0x25a392[_0x372368(0x1db)]();}const Ir={'id':_0x12a095(0x220),'type':_0x310857[_0x12a095(0x43e)],'handler':(_0x3b03ee,_0x1ca116)=>{const _0x4f712e=_0x12a095;let _0x33d7c2=Pr(_0x3b03ee);return _0x33d7c2?_0x3b03ee['get'](_0x35e06d)[_0x4f712e(0x1df)](H['id'],{'unitId':_0x33d7c2[_0x4f712e(0x2d5)],'subUnitId':_0x33d7c2[_0x4f712e(0x365)],'drawingId':_0x33d7c2[_0x4f712e(0x283)],..._0x1ca116!=null&&_0x1ca116[_0x4f712e(0x254)]?{'route':_0x1ca116['route']}:{}}):!0x1;}},Lr={'id':'sheet.command.chart.copy-focused-chart','type':_0x310857[_0x12a095(0x43e)],'handler':_0x435d36=>Pr(_0x435d36)?_0x435d36[_0x12a095(0x1ba)](_0x35e06d)['executeCommand'](_0x79bc86['id']):!0x1},Rr={'id':_0x12a095(0x307),'type':_0x310857[_0x12a095(0x43e)],'handler':async _0x291169=>{const _0x329777=_0x12a095;let _0x1e510a=Pr(_0x291169);if(!_0x1e510a)return!0x1;let _0x5be8ee=await _0x291169[_0x329777(0x1ba)](_0x4ab9cf)[_0x329777(0x338)]({'unitId':_0x1e510a['unitId'],'subUnitId':_0x1e510a[_0x329777(0x365)],'getId':()=>_0x1e510a[_0x329777(0x283)]});return _0x5be8ee?(Fr(_0x5be8ee,_0x1e510a[_0x329777(0x283)]+_0x329777(0x1ca)),!0x0):!0x1;}},zr={'id':_0x12a095(0x221),'type':_0x310857[_0x12a095(0x43e)],'handler':_0x39b243=>{const _0x9340ce=_0x12a095;let _0x45402d=Pr(_0x39b243);return _0x45402d?_0x39b243[_0x9340ce(0x1ba)](_0x35e06d)[_0x9340ce(0x1df)](_0x2cfac4['id'],{'unitId':_0x45402d[_0x9340ce(0x2d5)],'drawings':[{'unitId':_0x45402d['unitId'],'subUnitId':_0x45402d['subUnitId'],'drawingId':_0x45402d[_0x9340ce(0x283)],'drawingType':_0x14b323[_0x9340ce(0x3b3)]}]}):!0x1;}},U={'type':_0x310857['COMMAND'],'id':_0x12a095(0x33f),'handler':async(_0x4aa597,_0x4c1d31)=>{const _0x38b13f=_0x12a095;let _0x30d394=_0x5b7f98(_0x4aa597[_0x38b13f(0x1ba)](_0x1001a8));if(!_0x30d394)return!0x1;let _0xeae2ea=_0x4aa597[_0x38b13f(0x1ba)](_0x20a2e4)[_0x38b13f(0x3da)]();if(!_0xeae2ea)return!0x1;let {range:_0x8b791c}=_0xeae2ea,_0xa61acc=_0x4aa597[_0x38b13f(0x1ba)](_0x35e06d),{unitId:_0x3ada13,subUnitId:_0x4a4884}=_0x30d394,{pieSecondaryPlotType:_0x21288d,value:_0x1b06bd}=_0x4c1d31,_0x3a0e51=_0x21288d!==void 0x0;if(_0x3a0e51&&(_0x1b06bd!==_0x26b265[_0x38b13f(0x43f)]||_0x21288d!==_0x1ad937[_0x38b13f(0x43f)]&&_0x21288d!==_0x1ad937['Bar']))return!0x1;let _0x32ecdf=_0x3a0e51?_0x262636():void 0x0;return _0xa61acc[_0x38b13f(0x1df)](_0xa4aa6['id'],{'unitId':_0x3ada13,'subUnitId':_0x4a4884,'chartType':_0x1b06bd,..._0x32ecdf&&_0x21288d?{'chartId':_0x32ecdf,'config':{'unitId':_0x3ada13,'chartModelId':_0x32ecdf,'style':{'pie':{'composite':{'enabled':!0x0,'secondaryPlot':{'type':_0x21288d}}}}}}:{},'source':{'rangeInfo':{'unitId':_0x8b791c['unitId']??_0x3ada13,'subUnitId':_0x8b791c['sheetId']??_0x4a4884,'range':_0x8b791c}}});}};function Br(_0x405ce8,_0x5c2ab4){const _0x342bc3=_0x12a095;if(_0x405ce8==null)return'';if(Array['isArray'](_0x405ce8)){var _0x4049e2;let _0x193b66=(_0x4049e2=_0x405ce8[0x0])==null?void 0x0:_0x4049e2['range'];return _0x193b66?Vr(_0x193b66,_0x5c2ab4):'';}return Vr(_0x405ce8[_0x342bc3(0x2dd)],_0x5c2ab4);}function Vr(_0x569460,_0x3ef4ec){const _0x1809ba=_0x12a095;var _0x27e444;let {unitId:_0x26b20d,subUnitId:_0x12cfc8,range:_0x1bec18}=_0x569460,_0x33b687=(_0x27e444=_0x3ef4ec[_0x1809ba(0x3ed)](_0x26b20d))==null?void 0x0:_0x27e444['getSheetBySheetId'](_0x12cfc8);if(!_0x33b687)return'';let _0x4d93be=_0x33b687['getName']();return _0x24cd93(_0x4d93be,_0x1bec18);}const Hr=_0x1b2824[_0x12a095(0x379)](_0x45fa66=>({'id':'id'in _0x45fa66?_0x45fa66['id']:void 0x0,'labelId':_0x45fa66['labelId'],'pieSecondaryPlotType':_0x12a095(0x2c5)in _0x45fa66?_0x45fa66['pieSecondaryPlotType']:void 0x0,'value':_0x45fa66[_0x12a095(0x3f5)],'icon':_0x45fa66[_0x12a095(0x381)]}));function Ur(_0x4d9aa4=Hr){const _0x10ecb2=_0x12a095;return _0x4d9aa4[_0x10ecb2(0x379)](({id:_0x486a75,icon:_0x1a5b64,value:_0x4b2144})=>{const _0x490033=_0x10ecb2;let _0x1be9d8=_0x4557b6(_0x486a75??String(_0x4b2144)),_0x4d2322=_0x1be9d8?{'value':_0x1be9d8['chartType'],..._0x1be9d8[_0x490033(0x2c5)]?{'pieSecondaryPlotType':_0x1be9d8[_0x490033(0x2c5)]}:{}}:{'value':_0x4b2144};return{'icon':_0x1a5b64,'value':_0x486a75??_0x4b2144,'params':_0x4d2322};});}const Wr=(_0x28b61b,_0x506441)=>{const _0x5ead17=_0x12a095;if(_0x506441[_0x5ead17(0x222)]===0x1&&_0x506441[0x0]==='all')return _0x28b61b;if(_0x506441[_0x5ead17(0x222)]>0x1){let _0x4779ca=new Set();for(let _0xc9ea63 of _0x506441)_0x4779ca['add'](Number(_0xc9ea63));return _0x28b61b[_0x5ead17(0x302)](_0x5e8564=>_0x4779ca[_0x5ead17(0x335)](_0x5e8564['value']));}return[];};function Gr(_0x40558f){const _0x3e80c9=_0x12a095;let _0x15c95b=_0x40558f[_0x3e80c9(0x1ba)](_0x1001a8),_0x1e082a=_0x211e16(_0x40558f),_0x38ece8=Wr(Hr['concat'](),_0x1e082a),_0x86b65c=Ur(_0x38ece8)[_0x3e80c9(0x379)]((_0x3e4d1b,_0x489a96)=>({'icon':_0x3e4d1b[_0x3e80c9(0x2b1)],'value':_0x3e4d1b[_0x3e80c9(0x3f5)],'params':_0x3e4d1b[_0x3e80c9(0x3b0)],'label':'sheets-chart-ui.chartTypes.'+_0x38ece8[_0x489a96]['labelId']}));return{'id':U['id'],'type':_0x237735[_0x3e80c9(0x246)],'selectionsCommandId':U['id'],'selections':_0x86b65c,'icon':'ChartIcon','tooltip':_0x3e80c9(0x391),'activated$':_0x1092e3(_0x15c95b,!0x1,()=>new _0x2ae768(_0x5289ea=>{const _0x35f00e=_0x3e80c9;_0x5289ea[_0x35f00e(0x3ac)](!0x1);})),'hidden$':_0x8a8178(_0x40558f,_0x3d7cdd[_0x3e80c9(0x198)]),'disabled$':_0x531dce(_0x40558f)};}function Kr(_0x24a861){const _0x5dcac9=_0x12a095;let _0x37ae87=_0x24a861['get'](_0x268a19);return _0x37ae87[_0x5dcac9(0x282)]['pipe'](_0x4bc10c(_0x37ae87['getFocusDrawings']()),_0x32cf6e(()=>Pr(_0x24a861)==null));}function qr(_0x4da284){const _0x524611=_0x12a095;return{'id':Ir['id'],'commandId':Ir['id'],'type':_0x237735['BUTTON'],'title':_0x4da284[_0x524611(0x1ba)](_0x1af081)['t'](_0x524611(0x359)),'icon':'PenIcon','hidden$':Kr(_0x4da284)};}function Jr(_0x4ad953){const _0x196352=_0x12a095;return{'id':Lr['id'],'commandId':Lr['id'],'type':_0x237735[_0x196352(0x3f1)],'title':_0x4ad953[_0x196352(0x1ba)](_0x1af081)['t'](_0x196352(0x2b2)),'icon':'CopyDoubleIcon','hidden$':Kr(_0x4ad953)};}function Yr(_0x4fe3cc){const _0x4e618b=_0x12a095;return{'id':Rr['id'],'commandId':Rr['id'],'type':_0x237735['BUTTON'],'title':_0x4fe3cc[_0x4e618b(0x1ba)](_0x1af081)['t']('sheets-chart-ui.common.exportImage'),'icon':'DownloadImageIcon','hidden$':Kr(_0x4fe3cc)};}function Xr(_0x14852d){const _0x109b76=_0x12a095;return{'id':zr['id'],'commandId':zr['id'],'type':_0x237735[_0x109b76(0x3f1)],'title':_0x14852d[_0x109b76(0x1ba)](_0x1af081)['t'](_0x109b76(0x28b)),'icon':_0x109b76(0x2f7),'hidden$':Kr(_0x14852d)};}const Zr={[_0x551a0b['MEDIA']]:{[U['id']]:{'order':0x4,'menuItemFactory':Gr}},[_0x438952['DRAWING']]:{[_0x50e9ba[_0x12a095(0x3f9)]]:{[Ir['id']]:{'order':0x0,'menuItemFactory':qr},[Lr['id']]:{'order':0x1,'menuItemFactory':Jr},[Rr['id']]:{'order':0x3,'menuItemFactory':Yr},[zr['id']]:{'order':0x4,'menuItemFactory':Xr}}}};function _0x5e27(){const _0xcb4107=['LineAndArea','sheets-chart-ui.common.dataRange','_managed','399759ePWNIw','getRangeInfo','_closePopup','Radar','pluginName','unitId','supports','_themeService','_createPrintingChartObject','_getFloatDomInfo','intercept','syncHostLayout','getRenderModel','rangeInfo','waterfallStyle','url','CHART','category','keys','imageBitmap','_loadUrlImage','_subscribeChartEvents','_initCopyPaste','_requestChartCanvasRender','_canAnimateDataUpdate','_sheetsChartUIService','tab','targetSubUnitId','transparent','_listenChartUpdateMutations','addObject','_getChartRenderObjectContext','sheetDisposed$','1.0.2','executeChartUpdateConfig','getInterceptPoints','scale','setPanelRoute','_sheetCanvasFloatDomManagerService','DeleteIcon','wordCloud','Pareto','legend','localPoint','_config','nativeEvent','MEDIA','_initSheetChange','dblclick','activeChartModel','filter','_getImage','_shouldSuppressRender','Dom','_contextService','sheet.command.chart.export-focused-image','_rangeSelectMode','markHostNotReady','naturalHeight','_createHost','_localeService','string','bounds','applyPoint','crossOrigin','sheetChartDataAnimationDuration','subscribeEvent','onCommandExecuted','_getChartSnapshotKey','checkHost','getActiveSheet','_applyHostInteractionState','_pendingHost','Style','chartId','_createCopyInfoByRange','Url','lineTo','sheets-chart-ui.common.chartAndAxisTitles','drawingType','-univer-mx-4\x20univer-overflow-visible','_initDrawingDeactivationListener','classType','startY','registerFeatureMenu','getBatchAddOp','dispose','translate','_cacheActiveDomChartSnapshot','nextVersion','missing-float-dom','_cancelHostWait','globalAlpha','_copyInfo','_chartUIService','References','_chartRenderMode','clearPanelRoute','getImage','push','isElementEditModeActive','has','_hostStyle','openChartPanelById','exportImage','_chartSnapshotStoreService','_initPrinting','SVG','_applyHostStyle','hasOwnProperty','_activeDomReadyChartIds','sheet.command.menu-insert-chart','_requestedUrl','chartRenderMode','_disposed','getRect','isManaged','default','32JAHDFL','_chartHostMap','startRow','sheets-chart-ui.common.invalidDataRange','clearRuntimeCache','getFocusDrawings','_frameStyle','some','_setHostStyle','symbol','activeSheet$','render','offsetWidth','position$','pointerEvents','evented','_pendingToken','Image','setDataRange','sheets-chart-ui.common.openChartPanel','1246158RPrakZ','Bubble','sheet-chart-setup-panel','Overlay','CUT','isRowDirection','getOwnPropertyDescriptor','_setChartRuntimeZIndex','chartEditorOpen$','label','onRendered','subUnitId','ensureMount','_commandService','transform','_dataUpdateAnimationTimers','_markHostReady','sheets-chart-ui.common.horizontalAxis','univer-flex\x20univer-min-h-full\x20univer-w-full\x20univer-flex-col\x20univer-bg-gray-0\x20dark:!univer-bg-gray-900','requestPaint','Area','sheets-chart-ui.section.relation','plotVisibleOnly','getParent','(prefers-reduced-motion:\x20reduce)','getBatchUpdateOp','matches','REMOVE','_dataUpdateAnimationChartIds','_renderWhenConfigReady','_restoreHostWrapper','map','_snapshotStore','sheets-chart-ui.section.wordCloud','_sheetSkeletonService','verify','abs','_addWatermark','dataUrl','iconName','getRuntimeContext','activeChartModel$','radar','Legend','_sheetInterceptorService','sheet.operation.hide-chart-panel','defaultValues','isLatest','renderTransition','innerHeight','sidebarOptions$','Funnel','onerror','_executeChartUpdateSourceConfig','initialRect','sheets-chart-ui.common.insertChart','getChartSourceSpec','sheets-chart-ui.chord.target','_deactivateEditPanelState','_initPermission','panelRoute$','featurePluginGroupUpdate$','unsubscribe','_sheetDrawingService','getChartSnapshotImage','sheets-chart-ui.common.chart','lineAndArea','style$','image','innerWidth','.chart-host','handleActiveSubUnitChange','Fail\x20to\x20create\x20float\x20dom','packageName','permissionCheckWithoutRange','3212472ZoXKLN','_requestPaint','univer-my-1\x20univer-text-xs\x20univer-text-red-500','sheet.chart.edit.panel','sheets-chart-ui.common.heatmap','OPERATION','error','next','defineProperty','getObject','setDataUpdateAnimation','params','_syncActiveEditChart','object','DRAWING_CHART','endsWith','items','2FEPzfC','trendline','ensureHost','rect','getValue','_url','every','titles','select','_activeChartId','_componentManager','sheets-chart-ui.common.category','attachPopupToDynamicAbsolutePosition','enableChartElementFloatMenu','_disposeChartRenderInstance','strokeWidth','bind','_getOrCreateSheetChartHost','Treemap','max','sheets-chart-ui.common.chartStyle','univer-overflow-visible','Chord','drawWith','UPDATE','sheet-chart-style-panel','indicatorLine','2791920TagYBl','_renderModelManager','type','split','_version','beginPath','clearChart','_prepareDataUpdateRender','scroll','getCurrentLastSelection','Trendline','blockExecuteWithoutPermission','_sheetClipboardService','getCurrentTypeOfUnit$','_generateCutPasteMutations','setStyle','getFocusedUnit','copyType','afterRender$','Canceled\x20waiting\x20for\x20float\x20dom\x20host\x20\x22','visible','function','_domFrame','style','moveTo','src','_bindChartEventHandlers','forEach','getUnit','config$','univer-flex\x20univer-flex-col\x20univer-gap-3','prototype','BUTTON','INSERT','getSheetId','add$','value','chartObject','true','sheets-chart-ui.common.verticalAxis','OTHERS','_applyActiveChartRuntimeZIndex','Boxplot','GeneralSeries','getRealBound','restore','source','promise','_menuManagerService','onTransformChange$','allSeriesStyle','_registerComponents','addClipboardHook','complete','_resizeChart','clip','_chartRenderService','heatmap','setChartEditorOpen','createElement','_chartHostProvider','_pendingDataUpdateChartIds','delete','parentElement','setRangeSelectMode','width','stringify','hidden','getMatrix','_openEditPanelByDoubleClick','invalidateSnapshot','_focusedDrawings','_bindChartEventHandler','resolve','_sidebarDisposable','groupId','clientY','_chartEventSubscriptions','axis','_disposeImage','getRenderColor','chartModelId','sheets-chart-ui.common.rightVerticalAxis','chartType','sheets-chart-ui.common.series','current','small','_rect','assignStyle','createRuntimeChartStyle','_clearPanelState','startColumn','sheets-chart-ui.common.setup','_isProviderDisposed','drawingIds','getDrawingOrder','createChartInstance','inactive-sheet','sheets-chart-ui.host.provider','_drawChartFrame','_activateEditPanelState','_resolvedConfig','sheetTransform','_getOrCreateChartRenderInstance','getChartPopupMenus','matchMedia','rangeInfo$','transformChange$','_popupDisposable','COMMAND','Pie','mountNode','sheets-chart-ui.section.treemap','_getChartRenderSkipReason','sheets-chart-ui.section.paretoLine','mergeMenu','DEFAULT_PASTE','interceptor','_shouldEnableChartElementEdit','_clearSelectedTarget','div','chartEditorOpen','missing-active-sheet','sheets-chart-ui.common.showHiddenData','_configService','save','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','arc','_sheetCanvasPopManagerService','copyId','setImage','_isOwnedChart','_registerIcons','allSettled','_renderManagerService','ensureHandle','registerRenderObjectFactory','setContextValue','setActiveChartModel','getDrawingByParam','absolute','GridlinesAndTicks','name','sheets-chart-ui.chartTypes.','subscribe','config','concat','UNIVER_SHEET','sheets-chart-ui.common.editChart','height','_getSceneAndTransformerByDrawingSearch','contains','left','resize','getDirection','_sheetDrawingHitTestService','sheets-chart-ui.section.gridlinesAndTicks','_removeHost$','pie','offsetTop','sourceSubUnitId','showFloatMenu','sheets-chart-ui.section.funnel','_alignFloatDomPositionWithSceneRender','_popupSessionKey','entries','auto','sheets-chart-ui.common.switchRowColumn','_rerenderLatest','15253raivgw','all','_sidebarService','close','_cancelDebouncedCallbacks','Candlestick','Data','_chartInstanceMap','sheets-chart-ui.section.paretoBar','number','Gauge','_drawingManagerService','get','_generateCopyPasteMutations','logicalOuterRect','_renderService','getBoundingClientRect','mode','setConfig','barStyle','_getDrawable','domId','add','sheets-chart-ui.common.hideChartPanel','46647dWuOUW','_adapterRegistry','top','serialize','.png','removeHost','_snapshotKey','section','_canvasFloatDomService','getFloatDomInfo','sheets-chart-ui.section.sunburst','bottom','sheets-chart-ui.config','focusDrawing','_handleDrawingDoubleClick','commitSnapshot','version','_clearChartRuntimeCache','decorate','_chartHostProviderService','makeDirty','click','_createChartRenderInstanceContext','IndicatorLine','_deactivateDataUpdateAnimation','executeCommand','sheets-chart-ui.permission.editErr','_clearSheetChartRuntimeCaches','funnel','clear','Sankey','fromEntries','getChartModel','removeHost$','_injector','setElementEditMode','_disposeChartDomInstance','remove$','_chartEventHandlers','labelId','onDoubleClick$','dataset','closePath','objects','markUnmanaged','_markReady','set','_initMenus','seriesId','_debounceHandleMap','querySelector','checkMounted','sheets-chart-ui.section.chord','_openFloatMenu','_lastRenderInputMap','_drawChartImage','takeSnapshot','iterator','getBatchRemoveOp','getRenderUnitById','_updateTransform','sheet.operation.open-chart-panel','registerCommand','WordCloud','_resolveLayout','ParetoBarSeries','visibilityState','_getChartRenderObject','\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','endY','Line','_isChartElementEditEnabled','href','getCurrentUnitOfType','setObjectType','waterfall','_lastActiveSheet','UniverSheetsChartUIPlugin','_renderAfterChartUpdateMutation','beforeCommandExecuted','setHostStyle','header','baseOn','Combination','sheets-chart-ui.section.radar','setProps','sheets-chart-ui.waterfall.positive','Scatter','getObjectIncludeInGroup','_pendingMutationConfigRenders','sheet.command.chart.open-focused-panel','sheet.command.chart.delete-focused-chart','length','Sunburst','zIndex','_getPlacement','Timed\x20out\x20waiting\x20for\x20float\x20dom\x20host\x20\x22','multiply','@univerjs-pro/sheets-chart-ui','redo','_restoreFloatDomPositionStream','getDrawingData','VerticalAxis','cancel','download','rightYAxis','ParetoLineSeries','_getCurrentSnapshotImage','_sheetPermissionCheckController','top-center','#-#','Positive','isConnected','startX','scaleX','relation','_disposeChartEventSubscriptions','call','activeRuntimeModel','rangeSelectMode','sheets-chart-ui.common.legend','exportImg','_scheduleDataUpdateAnimationEnd','disposeWithMe','COMMA','getSubUnitId','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','from','SELECTOR','Waterfall','isArray','_chartEditorOpen$','hit','update','radius','clientWidth','_initCommands','asObservable','scene','onload','_entries','clearImage','route','scaleY','updateFloatDom','onStarting','chartModelAdded$','_registerAdapter','_debounceHandle','_panelRoute$','parent','univer-flex\x20univer-flex-col\x20univer-gap-3\x20univer-pb-5','-univer-mx-4','pipe','_markNotReady','initPanel','_resetChartRuntimeZIndex','_iconManager','[ChartRender]\x20Failed\x20to\x20render\x20chart\x20snapshot\x20for\x20printing','children','sheetChartDataAnimation','anonymous','_disposeChartEventSubscription','resourceCollector','_chartThemeService','Row','ENTER','_panelInitialized','Heatmap','border','getUnitId','sheets-chart-element-float-menu','_activateHostWrapper','_renderChartModel','getSheetBySheetName','_activateDataUpdateAnimation','markReady','then','_chartChangeSubscriptions','sheets-chart-ui.section.pie','_savedWrapperStyle','target','syncLayout','Column','viewBound','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','context','sheets-chart-ui.section.indicatorLine','focus$','drawingId','_clearPendingUrlImage','register','pareto','PRINTING_COMPONENT_COLLECT','_sheetsChartService','getHostSize','_getHostPlacement','sheets-chart-ui.common.deleteChart','dom','_sheetPrintInterceptorService','opacity','2611395WGCpcf','_disposeChartChangeListeners','PieStyle','getSkeleton','_openPanel','_urlImage','_image','drawImage','setBorder','renderChartsForPrinting','_pendingUrlImage','sheets-chart-ui.waterfall.negative','clientHeight','values','_univerInstanceService','Relation','_initActiveRuntimeLayerListener','direction$','getContextValue','_getOuterRect','endX','_chartModelService','_draw','_waiter','img','isRender','right','WaterfallSeries','onDispose','_dataUpdateAnimationDuration','hidePanel','_init','Histogram','_renderDebounceMap','icon','sheets-chart-ui.common.copy','ChartAndAxisTitles','blur','undo','sheets-chart-ui.common.customize','clientX','create','range','getElementById','with','print','updateFloatDomProps','checkChartCanRender','interceptCommand','RightVerticalAxis','open','_generatePasteMutations','isDomReady','getConfig','pieSecondaryPlotType','dataSource$','indexOf','series','GROUP','_chartElementEditMode','_registerChartImageRenderObjectFactory','_popupChartId'];_0x5e27=function(){return _0xcb4107;};return _0x5e27();}function Qr(_0x595880){const _0x2be306=_0x12a095;return _0x595880===_0x26b265[_0x2be306(0x219)]||_0x595880===_0x26b265['Radar']||_0x595880===_0x26b265[_0x2be306(0x3fb)]||_0x2784af[_0x2be306(0x218)](_0x595880,_0x26b265[_0x2be306(0x20c)])||_0x2784af[_0x2be306(0x218)](_0x595880,_0x26b265[_0x2be306(0x27d)])||_0x2784af[_0x2be306(0x218)](_0x595880,_0x26b265[_0x2be306(0x36e)])||_0x2784af[_0x2be306(0x218)](_0x595880,_0x26b265[_0x2be306(0x21d)]);}function $r(_0x543af6){const _0x2ca5b9=_0x12a095;return Qr(_0x543af6)||_0x2784af[_0x2ca5b9(0x218)](_0x543af6,_0x26b265[_0x2ca5b9(0x43f)])||_0x2784af[_0x2ca5b9(0x218)](_0x543af6,_0x26b265[_0x2ca5b9(0x2f9)])||_0x2784af[_0x2ca5b9(0x218)](_0x543af6,_0x26b265[_0x2ca5b9(0x247)]);}function ei(_0x2cd138,_0x50404a){const _0x562a5f=_0x12a095;let _0x578b4c=_0x1573e7(_0x2cd138,_0x50404a),_0x49a6b0=_0x578b4c?_0x5ce2fe(_0x578b4c['target']):void 0x0;if(_0x578b4c&&_0x49a6b0)return{..._0x578b4c,'route':_0x49a6b0,'showFloatMenu':$r(_0x2cd138[_0x562a5f(0x424)])&&_0x578b4c[_0x562a5f(0x1a6)]};}function ti(_0x5ba1cf,_0x4cf7d7=0x1){const _0x5725c3=_0x12a095;return{'width':Math[_0x5725c3(0x3c9)](_0x4cf7d7,_0x5ba1cf[_0x5725c3(0x412)]),'height':Math[_0x5725c3(0x3c9)](_0x4cf7d7,_0x5ba1cf['height'])};}function ni(_0x511a68,_0x4da1b0={},_0x36dec8={'left':0x0,'top':0x0}){const _0x3e50c9=_0x12a095;let _0x4e2ba6=_0x4da1b0[_0x3e50c9(0x238)]??0x1,_0x3b05da=_0x4da1b0['scaleY']??0x1,_0x33d688=_0x3b498e[_0x3e50c9(0x41a)]({'logicalOuterRect':{'left':_0x36dec8[_0x3e50c9(0x19d)]>0x0?-_0x36dec8[_0x3e50c9(0x19d)]:0x0,'top':_0x36dec8['top']>0x0?-_0x36dec8[_0x3e50c9(0x1c8)]:0x0,...ti(_0x511a68)},'scale':{'scaleX':_0x4e2ba6,'scaleY':_0x3b05da},'hostStyle':{},'contentMode':_0x4c3b44['Overlay']});return{'left':_0x33d688[_0x3e50c9(0x1bc)][_0x3e50c9(0x19d)],'top':_0x33d688[_0x3e50c9(0x1bc)][_0x3e50c9(0x1c8)],'width':_0x33d688[_0x3e50c9(0x1bc)][_0x3e50c9(0x412)],'height':_0x33d688[_0x3e50c9(0x1bc)][_0x3e50c9(0x19a)],'scaleX':_0x4e2ba6,'scaleY':_0x3b05da};}function ri(_0x2b78ff){'@babel/helpers - typeof';const _0x4faf6c=_0x12a095;return ri=typeof Symbol==_0x4faf6c(0x3e6)&&typeof Symbol[_0x4faf6c(0x1ff)]==_0x4faf6c(0x34f)?function(_0x5b6846){return typeof _0x5b6846;}:function(_0x1b4ea6){const _0x2a8493=_0x4faf6c;return _0x1b4ea6&&typeof Symbol==_0x2a8493(0x3e6)&&_0x1b4ea6['constructor']===Symbol&&_0x1b4ea6!==Symbol[_0x2a8493(0x3f0)]?_0x2a8493(0x34f):typeof _0x1b4ea6;},ri(_0x2b78ff);}function ii(_0x620bc1,_0x4ddbbf){const _0x428e44=_0x12a095;if(ri(_0x620bc1)!='object'||!_0x620bc1)return _0x620bc1;var _0x209404=_0x620bc1[Symbol['toPrimitive']];if(_0x209404!==void 0x0){var _0x1ce043=_0x209404[_0x428e44(0x23b)](_0x620bc1,_0x4ddbbf||_0x428e44(0x345));if(ri(_0x1ce043)!='object')return _0x1ce043;throw TypeError(_0x428e44(0x44f));}return(_0x4ddbbf===_0x428e44(0x30d)?String:Number)(_0x620bc1);}function ai(_0x5e9986){const _0x2c1c20=_0x12a095;var _0x468052=ii(_0x5e9986,_0x2c1c20(0x30d));return ri(_0x468052)=='symbol'?_0x468052:_0x468052+'';}function W(_0x157eee,_0x313a7e,_0x142118){const _0x5b67f6=_0x12a095;return(_0x313a7e=ai(_0x313a7e))in _0x157eee?Object[_0x5b67f6(0x3ad)](_0x157eee,_0x313a7e,{'value':_0x142118,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x157eee[_0x313a7e]=_0x142118,_0x157eee;}function oi(_0x3ab37f){const _0x3da06b=_0x12a095;switch(_0x3ab37f[_0x3da06b(0x3d3)]){case _0x1107df['Canvas']:return _0x3ab37f['canvas'];case _0x1107df['ImageBitmap']:return _0x3ab37f[_0x3da06b(0x2e3)];default:return;}}var si=class extends _0x173566{constructor(_0x4d8ee9,_0x5c75d3,_0x6b24f7,_0x1a1fba=()=>!0x1,_0x3f0b42=()=>{}){const _0x4c0e31=_0x12a095;super(_0x4d8ee9,{..._0x5c75d3,'evented':_0x5c75d3[_0x4c0e31(0x355)]??!0x0}),this['_getImage']=_0x6b24f7,this[_0x4c0e31(0x304)]=_0x1a1fba,this[_0x4c0e31(0x420)]=_0x3f0b42,W(this,_0x4c0e31(0x294),null),W(this,_0x4c0e31(0x3bb),null),W(this,_0x4c0e31(0x340),null),W(this,_0x4c0e31(0x299),null),this[_0x4c0e31(0x210)](_0x2c9e28[_0x4c0e31(0x2e0)]);}['dispose'](){const _0x9e38eb=_0x12a095;this['_clearPendingUrlImage'](),this[_0x9e38eb(0x294)]=null,this[_0x9e38eb(0x3bb)]=null,this[_0x9e38eb(0x340)]=null,this[_0x9e38eb(0x420)](),super[_0x9e38eb(0x326)]();}[_0x12a095(0x351)](_0x148874,_0x3597cf){const _0xbf8d73=_0x12a095;if(!this['visible'])return this[_0xbf8d73(0x1da)](!0x1),this;if(this['_shouldSuppressRender']()){let _0x2ce52e=this[_0xbf8d73(0x303)]();return _0x2ce52e&&this['_getDrawable'](_0x2ce52e),this['makeDirty'](!0x1),this;}if(!this[_0xbf8d73(0x368)])return this;let {width:_0x551ef8,height:_0xbee040,left:_0x3c1b15,top:_0x43262c}=this[_0xbf8d73(0x3fd)]();if(this[_0xbf8d73(0x2a8)](_0x3597cf)){let {top:_0x5d79b3,left:_0x3d09e8,bottom:_0x16620f,right:_0x227acd}=_0x3597cf[_0xbf8d73(0x27e)];if(_0x551ef8+this[_0xbf8d73(0x3c5)]+_0x3c1b15<_0x3d09e8||_0x227acd<_0x3c1b15||_0xbee040+this['strokeWidth']+_0x43262c<_0x5d79b3||_0x16620f<_0x43262c)return this;}let _0x499bc2=this['transform'][_0xbf8d73(0x415)]();_0x148874[_0xbf8d73(0x44e)]();let _0x1f6ed2=_0x3c1b15+_0x551ef8/0x2,_0x864e30=_0x43262c+_0xbee040/0x2;return _0x148874[_0xbf8d73(0x368)](_0x499bc2[0x0],_0x499bc2[0x1],_0x499bc2[0x2],_0x499bc2[0x3],_0x1f6ed2,_0x864e30),this[_0xbf8d73(0x28e)]!==0x1&&(_0x148874[_0xbf8d73(0x32c)]=this[_0xbf8d73(0x28e)]),this['_draw'](_0x148874,void 0x0,_0x551ef8,_0xbee040),_0x148874[_0xbf8d73(0x3fe)](),this[_0xbf8d73(0x1da)](!0x1),this;}[_0x12a095(0x2a5)](_0x4da0a9,_0x378c36,_0x49c3c6=this[_0x12a095(0x412)],_0xb856cb=this[_0x12a095(0x19a)]){const _0x340338=_0x12a095;this[_0x340338(0x434)](_0x4da0a9,_0x49c3c6,_0xb856cb,{'stroke':void 0x0,'strokeWidth':0x0}),this[_0x340338(0x1fd)](_0x4da0a9,_0x49c3c6,_0xb856cb),this['_drawChartFrame'](_0x4da0a9,_0x49c3c6,_0xb856cb,{'fill':void 0x0});}['_drawChartFrame'](_0x5b0149,_0x1ef2eb,_0x3f05ad,_0x9bcfa5){const _0x1fdcef=_0x12a095;_0x5b0149[_0x1fdcef(0x44e)](),_0x5b0149[_0x1fdcef(0x327)](-_0x1ef2eb/0x2,-_0x3f05ad/0x2),_0x173566[_0x1fdcef(0x3cd)](_0x5b0149,ci(this,_0x1ef2eb,_0x3f05ad,_0x9bcfa5)),_0x5b0149[_0x1fdcef(0x3fe)]();}['isHit'](_0x2bbc76){const _0x4a3e12=_0x12a095;let {left:_0x18f2b4,top:_0x2629dd,width:_0x5ec98b,height:_0xaebd3f}=this[_0x4a3e12(0x3fd)](),_0x9ab97f=_0x18f2b4+_0x5ec98b/0x2,_0x5793f8=_0x2629dd+_0xaebd3f/0x2,_0x17eebe=this['transform'][_0x4a3e12(0x415)](),_0x236f0f=new _0x133cd4([_0x17eebe[0x0],_0x17eebe[0x1],_0x17eebe[0x2],_0x17eebe[0x3],_0x9ab97f,_0x5793f8]),_0x2c78a1=this[_0x4a3e12(0x371)](),_0x2fb417=(this['isInGroup']&&(_0x2c78a1==null?void 0x0:_0x2c78a1[_0x4a3e12(0x322)])===_0x5cef15[_0x4a3e12(0x2c9)]?_0x2c78a1['ancestorTransform'][_0x4a3e12(0x227)](_0x236f0f):_0x236f0f)['invert']()[_0x4a3e12(0x30f)](_0x2bbc76),_0x3a19db=_0x5ec98b/0x2,_0x996b9=_0xaebd3f/0x2;return _0x2fb417['x']>=-_0x3a19db-this['strokeWidth']/0x2&&_0x2fb417['x']<=_0x3a19db+this[_0x4a3e12(0x3c5)]/0x2&&_0x2fb417['y']>=-_0x996b9-this[_0x4a3e12(0x3c5)]/0x2&&_0x2fb417['y']<=_0x996b9+this[_0x4a3e12(0x3c5)]/0x2;}[_0x12a095(0x1fd)](_0x1d551f,_0x5d88ed,_0xdd615d){const _0xae669f=_0x12a095;let _0x1f4ddf=this[_0xae669f(0x303)](),_0x1a4fd4=_0x1f4ddf?this['_getDrawable'](_0x1f4ddf):void 0x0;if(!_0x1a4fd4)return;let {width:_0x9a2b14,height:_0x425835}=ti({'width':_0x5d88ed,'height':_0xdd615d},0x0);_0x9a2b14!==0x0&&_0x425835!==0x0&&(_0x1d551f['save'](),_0x1d551f['translate'](-_0x5d88ed/0x2,-_0xdd615d/0x2),li(_0x1d551f,_0x9a2b14,_0x425835,this[_0xae669f(0x24c)]),_0x1d551f[_0xae669f(0x408)](),_0x1d551f[_0xae669f(0x296)](_0x1a4fd4,0x0,0x0,_0x9a2b14,_0x425835),_0x1d551f['restore']());}[_0x12a095(0x1c2)](_0x4b4770){const _0x5bfea0=_0x12a095;var _0x4683b1;let _0x4f8a6e=oi(_0x4b4770);if(_0x4f8a6e)return _0x4f8a6e;if(_0x4b4770[_0x5bfea0(0x3d3)]===_0x1107df[_0x5bfea0(0x31c)]&&(this[_0x5bfea0(0x340)]!==_0x4b4770[_0x5bfea0(0x2df)]&&(this[_0x5bfea0(0x340)]=_0x4b4770['url'],this['_clearPendingUrlImage'](),this['_url']!==_0x4b4770['url']&&this['_loadUrlImage'](_0x4b4770[_0x5bfea0(0x2df)])),(_0x4683b1=this[_0x5bfea0(0x294)])!=null&&_0x4683b1[_0x5bfea0(0x406)]&&this[_0x5bfea0(0x294)]['naturalWidth']>0x0&&this[_0x5bfea0(0x294)][_0x5bfea0(0x30a)]>0x0))return this[_0x5bfea0(0x294)];}[_0x12a095(0x2e4)](_0x49c2d6){const _0x3bf6aa=_0x12a095;let _0x224419=document[_0x3bf6aa(0x40c)](_0x3bf6aa(0x2a7));this[_0x3bf6aa(0x299)]=_0x224419,_0x224419[_0x3bf6aa(0x310)]=_0x3bf6aa(0x267),_0x224419[_0x3bf6aa(0x251)]=()=>{const _0x4aa349=_0x3bf6aa;this[_0x4aa349(0x340)]===_0x49c2d6&&this[_0x4aa349(0x299)]===_0x224419&&(_0x224419['naturalWidth']>0x0&&_0x224419[_0x4aa349(0x30a)]>0x0&&(this[_0x4aa349(0x3bb)]=_0x49c2d6,this['_urlImage']=_0x224419),this['_clearPendingUrlImage'](),this[_0x4aa349(0x1da)](!0x0));},_0x224419[_0x3bf6aa(0x38e)]=()=>{const _0x19c60a=_0x3bf6aa;this['_pendingUrlImage']===_0x224419&&this[_0x19c60a(0x284)]();},_0x224419[_0x3bf6aa(0x3ea)]=_0x49c2d6;}[_0x12a095(0x284)](){const _0x2685c3=_0x12a095;this[_0x2685c3(0x299)]&&=(this[_0x2685c3(0x299)][_0x2685c3(0x251)]=null,this[_0x2685c3(0x299)]['onerror']=null,null);}};function ci(_0x587731,_0x25b661,_0x16741d,_0x424622){const _0x212a77=_0x12a095;let _0x9ef85b=Object[_0x212a77(0x2b8)](_0x587731);return Object['defineProperty'](_0x9ef85b,_0x212a77(0x412),{'value':_0x25b661}),Object[_0x212a77(0x3ad)](_0x9ef85b,_0x212a77(0x19a),{'value':_0x16741d}),Object['keys'](_0x424622)[_0x212a77(0x3ec)](_0x5e72fa=>{Object['defineProperty'](_0x9ef85b,_0x5e72fa,{'value':_0x424622[_0x5e72fa]});}),_0x9ef85b;}function li(_0x36d230,_0x337c29,_0x5484f8,_0x149ee6){const _0x3bb3db=_0x12a095;let _0x4014af=Math['min'](_0x149ee6||0x0,_0x337c29/0x2,_0x5484f8/0x2);if(_0x36d230[_0x3bb3db(0x3d6)](),!_0x4014af){_0x36d230['rect'](0x0,0x0,_0x337c29,_0x5484f8),_0x36d230[_0x3bb3db(0x1f0)]();return;}_0x36d230[_0x3bb3db(0x3e9)](_0x4014af,0x0),_0x36d230['lineTo'](_0x337c29-_0x4014af,0x0),_0x36d230[_0x3bb3db(0x450)](_0x337c29-_0x4014af,_0x4014af,_0x4014af,Math['PI']*0x3/0x2,0x0,!0x1),_0x36d230[_0x3bb3db(0x31d)](_0x337c29,_0x5484f8-_0x4014af),_0x36d230[_0x3bb3db(0x450)](_0x337c29-_0x4014af,_0x5484f8-_0x4014af,_0x4014af,0x0,Math['PI']/0x2,!0x1),_0x36d230['lineTo'](_0x4014af,_0x5484f8),_0x36d230[_0x3bb3db(0x450)](_0x4014af,_0x5484f8-_0x4014af,_0x4014af,Math['PI']/0x2,Math['PI'],!0x1),_0x36d230[_0x3bb3db(0x31d)](0x0,_0x4014af),_0x36d230[_0x3bb3db(0x450)](_0x4014af,_0x4014af,_0x4014af,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x36d230[_0x3bb3db(0x1f0)]();}function G(_0x3ee87e){const _0xf616f1=_0x12a095;(_0x3ee87e==null?void 0x0:_0x3ee87e['type'])===_0x1107df['ImageBitmap']&&_0x3ee87e['imageBitmap'][_0xf616f1(0x1b1)]();}function ui(_0x495596){const _0x1ac358=_0x12a095;return _0x495596['unitId']+_0x1ac358(0x234)+_0x495596[_0x1ac358(0x365)]+_0x1ac358(0x234)+_0x495596['chartId'];}var di=class extends _0x570089{constructor(..._0x4c7ce5){super(..._0x4c7ce5),W(this,'_entries',new Map());}[_0x12a095(0x329)](_0x354453){const _0x38a915=_0x12a095;let _0x8e2bfb=ui(_0x354453),_0x53f582=this[_0x38a915(0x252)][_0x38a915(0x1ba)](_0x8e2bfb)??{'version':0x0};return _0x53f582[_0x38a915(0x1d6)]+=0x1,this['_entries'][_0x38a915(0x1f4)](_0x8e2bfb,_0x53f582),_0x53f582['version'];}[_0x12a095(0x389)](_0x5a0fa7,_0x5e76cc){const _0x176890=_0x12a095;var _0x46fdbc;return((_0x46fdbc=this['_entries']['get'](ui(_0x5a0fa7)))==null?void 0x0:_0x46fdbc[_0x176890(0x1d6)])===_0x5e76cc;}[_0x12a095(0x453)](_0x5c2051,_0x49e56b,_0x52841a){const _0x45b19b=_0x12a095;if(!this[_0x45b19b(0x389)](_0x5c2051,_0x52841a))return G(_0x49e56b),!0x1;let _0x32b554=ui(_0x5c2051),_0x57146c=this[_0x45b19b(0x252)][_0x45b19b(0x1ba)](_0x32b554)??{'version':_0x52841a},_0x380f98=_0x57146c['image'];return _0x57146c[_0x45b19b(0x39e)]=_0x49e56b,_0x57146c[_0x45b19b(0x1d6)]=_0x52841a,this[_0x45b19b(0x252)][_0x45b19b(0x1f4)](_0x32b554,_0x57146c),_0x380f98!==_0x49e56b&&G(_0x380f98),!0x0;}['getImage'](_0x293507){const _0x2001bd=_0x12a095;var _0x120942;return(_0x120942=this[_0x2001bd(0x252)][_0x2001bd(0x1ba)](ui(_0x293507)))==null?void 0x0:_0x120942[_0x2001bd(0x39e)];}[_0x12a095(0x253)](_0x5d1cc4){const _0xd7973c=_0x12a095;let _0x1c421d=ui(_0x5d1cc4),_0x4f407e=this[_0xd7973c(0x252)][_0xd7973c(0x1ba)](_0x1c421d);_0x4f407e&&(G(_0x4f407e[_0xd7973c(0x39e)]),this['_entries'][_0xd7973c(0x40f)](_0x1c421d));}[_0x12a095(0x3d7)](_0xb47b0d){const _0x2e6c9b=_0x12a095;for(let [_0x32e4b7,_0xc4fad9]of this[_0x2e6c9b(0x252)])_0x32e4b7[_0x2e6c9b(0x3b4)](_0x2e6c9b(0x234)+_0xb47b0d)&&(G(_0xc4fad9[_0x2e6c9b(0x39e)]),this[_0x2e6c9b(0x252)][_0x2e6c9b(0x40f)](_0x32e4b7));}[_0x12a095(0x326)](){const _0x32c699=_0x12a095;this[_0x32c699(0x252)][_0x32c699(0x3ec)](_0x3f0cc2=>G(_0x3f0cc2['image'])),this[_0x32c699(0x252)]['clear'](),super[_0x32c699(0x326)]();}};function fi(_0x2f77d6,_0x21f545=0x7d0){let _0x30e5bf=null,_0xab92e2=null,_0x2997fa=!0x1,_0x526e1e=()=>{},_0x8c44e7=()=>{_0x30e5bf!=null&&(clearInterval(_0x30e5bf),_0x30e5bf=null),_0xab92e2!=null&&(clearTimeout(_0xab92e2),_0xab92e2=null);};return{'promise':new Promise((_0x1f3a6e,_0x4f5356)=>{_0x526e1e=_0x4f5356;let _0x37a548=()=>{const _0x1eb419=_0x5965;let _0x4322cf=document[_0x1eb419(0x2ba)](_0x2f77d6);_0x4322cf&&!_0x2997fa&&(_0x2997fa=!0x0,_0x8c44e7(),_0x1f3a6e(_0x4322cf));};_0x37a548(),!_0x2997fa&&(_0x30e5bf=setInterval(_0x37a548,16.666666666666668),_0xab92e2=setTimeout(()=>{const _0x121f56=_0x5965;_0x2997fa||(_0x2997fa=!0x0,_0x8c44e7(),_0x4f5356(Error(_0x121f56(0x226)+_0x2f77d6+'\x22.')));},_0x21f545));}),'cancel':()=>{const _0x341f87=_0x5965;_0x2997fa||(_0x2997fa=!0x0,_0x8c44e7(),_0x526e1e(Error(_0x341f87(0x3e4)+_0x2f77d6+'\x22.')));}};}var pi=class extends _0x570089{constructor(_0x25b9f1,_0x5efa90,_0x412998,_0xadcd28,_0x4571ab,_0x2c914b,_0x1dc30a){const _0x14bc8b=_0x12a095;super(),this['chartId']=_0x25b9f1,this['_getFloatDomInfo']=_0x5efa90,this[_0x14bc8b(0x225)]=_0x412998,this[_0x14bc8b(0x34e)]=_0xadcd28,this[_0x14bc8b(0x42e)]=_0x4571ab,this[_0x14bc8b(0x1f3)]=_0x2c914b,this['_markNotReady']=_0x1dc30a,W(this,_0x14bc8b(0x1bf),_0x3d77fd[_0x14bc8b(0x305)]),W(this,_0x14bc8b(0x3e7),null),W(this,_0x14bc8b(0x2cf),!0x1),W(this,_0x14bc8b(0x356),null),W(this,_0x14bc8b(0x318),null),W(this,_0x14bc8b(0x2a6),null),W(this,'_hostStyle',{}),W(this,_0x14bc8b(0x27a),null),W(this,_0x14bc8b(0x2ac),null);}[_0x12a095(0x344)](){const _0x49cc85=_0x12a095;return this[_0x49cc85(0x2cf)];}[_0x12a095(0x1f2)](){const _0x2aa70c=_0x12a095;this[_0x2aa70c(0x2cf)]=!0x1;}[_0x12a095(0x343)](){const _0x5b8c38=_0x12a095;let _0x983f76=this[_0x5b8c38(0x225)]();return _0x983f76?{'width':_0x983f76[_0x5b8c38(0x412)],'height':_0x983f76['height']}:null;}[_0x12a095(0x3e0)](_0x5b4f17){const _0x5cd0eb=_0x12a095;this[_0x5cd0eb(0x336)]=_0x5b4f17,this[_0x5cd0eb(0x34e)](_0x5b4f17),this[_0x5cd0eb(0x33c)]();}async[_0x12a095(0x458)](){const _0x18710a=_0x12a095;if(this[_0x18710a(0x342)]||this['_isProviderDisposed']())throw Error('Fail\x20to\x20create\x20float\x20dom');let _0x11455c=this[_0x18710a(0x2d9)](),_0x1f497c=(_0x11455c==null?void 0x0:_0x11455c[_0x18710a(0x1c3)])??this['chartId'],_0x4ba043=document[_0x18710a(0x2ba)](_0x1f497c);if(this['_domFrame']&&_0x4ba043!=null&&_0x4ba043[_0x18710a(0x19c)](this[_0x18710a(0x3e7)][_0x18710a(0x440)]))return{'mountNode':this[_0x18710a(0x3e7)][_0x18710a(0x440)],'dispose':()=>{const _0x2043de=_0x18710a;this['dispose'](),_0x11455c==null||_0x11455c[_0x2043de(0x326)][_0x2043de(0x326)]();}};if(this[_0x18710a(0x318)])return this[_0x18710a(0x318)];let _0x4214f2=this[_0x18710a(0x30b)]();return this[_0x18710a(0x318)]=_0x4214f2,_0x4214f2[_0x18710a(0x277)](()=>{const _0x395520=_0x18710a;this[_0x395520(0x318)]===_0x4214f2&&(this['_pendingHost']=null);},()=>{const _0x115450=_0x18710a;this[_0x115450(0x318)]===_0x4214f2&&(this[_0x115450(0x318)]=null);}),_0x4214f2;}async[_0x12a095(0x366)](){const _0x22f600=_0x12a095;try{return(await this[_0x22f600(0x458)]())['mountNode'];}catch{return null;}}['checkMounted'](){const _0x4c5ddf=_0x12a095;let _0x395f21=this['_getFloatDomInfo'](),_0x3b7c60=(_0x395f21==null?void 0x0:_0x395f21[_0x4c5ddf(0x1c3)])??this[_0x4c5ddf(0x31a)],_0x39a5b4=document['getElementById'](_0x3b7c60);return!!(this[_0x4c5ddf(0x3e7)]&&_0x39a5b4!=null&&_0x39a5b4['contains'](this[_0x4c5ddf(0x3e7)]['mountNode']));}[_0x12a095(0x27c)](){const _0x578dcf=_0x12a095;if(!this['_domFrame'])return;let _0x5b115d=this[_0x578dcf(0x225)]();_0x5b115d&&this['_domFrame'][_0x578dcf(0x24b)](this[_0x578dcf(0x206)](_0x5b115d),this['_frameStyle']());}[_0x12a095(0x276)](){this['_markReady']();}['markNotReady'](){const _0x364649=_0x12a095;this[_0x364649(0x260)]();}[_0x12a095(0x3af)](_0x5cbfc9){const _0x4b4836=_0x12a095;this[_0x4b4836(0x2ac)]=_0x5cbfc9;let _0x1b7acb=this[_0x4b4836(0x2d9)](),_0x560544=document[_0x4b4836(0x2ba)]((_0x1b7acb==null?void 0x0:_0x1b7acb[_0x4b4836(0x1c3)])??this['chartId']);_0x560544&&this[_0x4b4836(0x317)](_0x560544);}['dispose'](){const _0x4a5b71=_0x12a095;var _0x58777f;this[_0x4a5b71(0x342)]||(this['markNotReady'](),this[_0x4a5b71(0x356)]=null,this[_0x4a5b71(0x318)]=null,this['_cancelHostWait'](),this[_0x4a5b71(0x2cf)]=!0x1,this[_0x4a5b71(0x2ac)]=null,(_0x58777f=this[_0x4a5b71(0x3e7)])==null||_0x58777f[_0x4a5b71(0x326)](),this['_domFrame']=null,this[_0x4a5b71(0x378)](),super[_0x4a5b71(0x326)]());}async[_0x12a095(0x30b)](){const _0xc47037=_0x12a095;let _0x10b0b8=this[_0xc47037(0x2d9)]();if(!_0x10b0b8)throw Error(_0xc47037(0x3a2));let _0x292db5=_0x10b0b8[_0xc47037(0x1c3)]??this[_0xc47037(0x31a)],_0x22d7af=fi(_0x292db5),_0x362f3d=Symbol(this[_0xc47037(0x31a)]);this['_pendingToken']=_0x362f3d,this[_0xc47037(0x2a6)]=_0x22d7af;try{let _0xf59ee9=await _0x22d7af[_0xc47037(0x400)],_0x1d25a3=this[_0xc47037(0x2d9)](),_0x24c94e=(_0x1d25a3==null?void 0x0:_0x1d25a3['domId'])??this[_0xc47037(0x31a)];if(this['_disposed']||this[_0xc47037(0x42e)]()||this[_0xc47037(0x356)]!==_0x362f3d||!_0x1d25a3||_0x24c94e!==_0x292db5||document[_0xc47037(0x2ba)](_0x292db5)!==_0xf59ee9||!_0xf59ee9[_0xc47037(0x236)])throw Error(_0xc47037(0x3a2));let _0x4fa763=this['_getPlacement']();if(!_0x4fa763)throw Error('Fail\x20to\x20create\x20float\x20dom');let _0x54958e=new _0x13c05f(_0xf59ee9);return _0x54958e[_0xc47037(0x24b)](this[_0xc47037(0x206)](_0x4fa763),this[_0xc47037(0x34c)]()),this[_0xc47037(0x272)](_0xf59ee9),this[_0xc47037(0x3e7)]=_0x54958e,this[_0xc47037(0x2cf)]=!0x0,{'mountNode':_0x54958e[_0xc47037(0x440)],'dispose':()=>{const _0x497c7d=_0xc47037;this[_0x497c7d(0x326)](),_0x10b0b8[_0x497c7d(0x326)][_0x497c7d(0x326)]();}};}finally{this['_waiter']===_0x22d7af&&(this[_0xc47037(0x2a6)]=null),this[_0xc47037(0x356)]===_0x362f3d&&(this[_0xc47037(0x356)]=null);}}[_0x12a095(0x32b)](){const _0xf9a782=_0x12a095;let _0x5da471=this['_waiter'];_0x5da471&&(_0x5da471[_0xf9a782(0x22d)](),this['_waiter']=null);}[_0x12a095(0x33c)](){const _0x21c87b=_0x12a095;let _0x5a0001=this['_getPlacement']();this[_0x21c87b(0x3e7)]&&_0x5a0001&&this[_0x21c87b(0x3e7)][_0x21c87b(0x24b)](this['_resolveLayout'](_0x5a0001),this[_0x21c87b(0x34c)]());}[_0x12a095(0x206)](_0x54bad1){const _0x396198=_0x12a095;return _0x3b498e[_0x396198(0x41a)]({'logicalOuterRect':{'left':_0x54bad1['left'],'top':_0x54bad1['top'],'width':_0x54bad1[_0x396198(0x412)],'height':_0x54bad1[_0x396198(0x19a)]},'scale':{'scaleX':_0x54bad1[_0x396198(0x238)],'scaleY':_0x54bad1[_0x396198(0x255)]},'hostStyle':this[_0x396198(0x34c)](),'contentMode':_0x4c3b44[_0x396198(0x35d)]});}[_0x12a095(0x34c)](){const _0x334385=_0x12a095;return{...this[_0x334385(0x336)],'radius':_0x52876d};}[_0x12a095(0x272)](_0x2f7ad9){const _0x2ba6d9=_0x12a095;let _0xb09188=_0x2f7ad9['parentElement'];_0xb09188&&(this['_savedWrapperStyle']||={'zIndex':_0xb09188[_0x2ba6d9(0x3e8)][_0x2ba6d9(0x224)],'pointerEvents':_0xb09188[_0x2ba6d9(0x3e8)]['pointerEvents']},_0xb09188['style'][_0x2ba6d9(0x224)]='1000',this[_0x2ba6d9(0x317)](_0x2f7ad9));}['_applyHostInteractionState'](_0x36860b){const _0x28ad02=_0x12a095;let _0x59be2b=_0x36860b[_0x28ad02(0x410)];if(!_0x59be2b)return;let _0x29a833=this[_0x28ad02(0x2ac)];if(_0x29a833!=null){_0x36860b['dataset'][_0x28ad02(0x266)]=_0x28ad02(0x3f7),_0x36860b[_0x28ad02(0x1ef)][_0x28ad02(0x311)]=String(_0x29a833),_0x59be2b[_0x28ad02(0x3e8)][_0x28ad02(0x354)]='none';return;}delete _0x36860b['dataset'][_0x28ad02(0x266)],delete _0x36860b[_0x28ad02(0x1ef)][_0x28ad02(0x311)],_0x59be2b[_0x28ad02(0x3e8)][_0x28ad02(0x354)]=_0x28ad02(0x1ab);}[_0x12a095(0x378)](){const _0x3637a6=_0x12a095;if(!this[_0x3637a6(0x27a)])return;let _0x48ac00=this[_0x3637a6(0x2d9)](),_0x35f7b0=(_0x48ac00==null?void 0x0:_0x48ac00[_0x3637a6(0x1c3)])??this[_0x3637a6(0x31a)],_0x5c3509=document[_0x3637a6(0x2ba)](_0x35f7b0);_0x5c3509==null||delete _0x5c3509[_0x3637a6(0x1ef)][_0x3637a6(0x266)],_0x5c3509==null||delete _0x5c3509[_0x3637a6(0x1ef)][_0x3637a6(0x311)];let _0x48d8bf=_0x5c3509==null?void 0x0:_0x5c3509['parentElement'];_0x48d8bf&&(_0x48d8bf['style']['zIndex']=this[_0x3637a6(0x27a)][_0x3637a6(0x224)],_0x48d8bf['style']['pointerEvents']=this[_0x3637a6(0x27a)][_0x3637a6(0x354)]),this['_savedWrapperStyle']=null;}},mi=class extends _0x4cd53f{constructor(_0x25f720,_0x4dc4cc,_0x1715a2,_0x528b39,_0x78faa0,_0x4c3685){const _0xcfd7af=_0x12a095;super(_0x25f720),this[_0xcfd7af(0x2a2)]=_0x4dc4cc,this[_0xcfd7af(0x34e)]=_0x1715a2,this[_0xcfd7af(0x1cc)]=_0x528b39,this['_snapshotStore']=_0x78faa0,this['_requestPaint']=_0x4c3685;}[_0x12a095(0x343)](){const _0x254745=_0x12a095;let _0x54d35a=this[_0x254745(0x2a2)]();return _0x54d35a?ti(_0x54d35a):null;}[_0x12a095(0x3e0)](_0x105a91){const _0x1fc874=_0x12a095;this[_0x1fc874(0x34e)](_0x105a91);}[_0x12a095(0x329)](){const _0x109c5c=_0x12a095;return this[_0x109c5c(0x37a)][_0x109c5c(0x329)](this[_0x109c5c(0x1cc)]);}[_0x12a095(0x1d5)](_0x4f1df2,_0x227ce8){const _0x393cdc=_0x12a095;return this[_0x393cdc(0x37a)][_0x393cdc(0x453)](this[_0x393cdc(0x1cc)],_0x4f1df2,_0x227ce8);}[_0x12a095(0x36d)](){const _0xd7564d=_0x12a095;this[_0xd7564d(0x3a6)]();}['invalidateSnapshot'](){const _0x261f5e=_0x12a095;this[_0x261f5e(0x37a)][_0x261f5e(0x329)](this[_0x261f5e(0x1cc)]);}};function K(_0x16d95d,_0x41ef6f){return function(_0x3fc108,_0x313086){_0x41ef6f(_0x3fc108,_0x313086,_0x16d95d);};}function q(_0x2a93c1,_0x5c62a9,_0x1d611f,_0x211575){const _0x3672df=_0x12a095;var _0x20f0bb=arguments[_0x3672df(0x222)],_0x2b2f81=_0x20f0bb<0x3?_0x5c62a9:_0x211575===null?_0x211575=Object[_0x3672df(0x360)](_0x5c62a9,_0x1d611f):_0x211575,_0x117db5;if(typeof Reflect==_0x3672df(0x3b2)&&typeof Reflect[_0x3672df(0x1d8)]=='function')_0x2b2f81=Reflect[_0x3672df(0x1d8)](_0x2a93c1,_0x5c62a9,_0x1d611f,_0x211575);else{for(var _0x95510c=_0x2a93c1[_0x3672df(0x222)]-0x1;_0x95510c>=0x0;_0x95510c--)(_0x117db5=_0x2a93c1[_0x95510c])&&(_0x2b2f81=(_0x20f0bb<0x3?_0x117db5(_0x2b2f81):_0x20f0bb>0x3?_0x117db5(_0x5c62a9,_0x1d611f,_0x2b2f81):_0x117db5(_0x5c62a9,_0x1d611f))||_0x2b2f81);}return _0x20f0bb>0x3&&_0x2b2f81&&Object[_0x3672df(0x3ad)](_0x5c62a9,_0x1d611f,_0x2b2f81),_0x2b2f81;}const hi=0.5;function gi(_0x3006bd){const _0x503f7e=_0x12a095;let _0x5b57a9=Math[_0x503f7e(0x3c9)](_0x3006bd[_0x503f7e(0x2a3)]-_0x3006bd[_0x503f7e(0x237)],0x0),_0x2ad3d0=Math[_0x503f7e(0x3c9)](_0x3006bd[_0x503f7e(0x20b)]-_0x3006bd[_0x503f7e(0x323)],0x0),_0x2c6b8e=_0x3006bd[_0x503f7e(0x191)][_0x503f7e(0x19d)]&&_0x3006bd[_0x503f7e(0x412)]-_0x5b57a9>hi,_0x2ee516=_0x3006bd['absolute'][_0x503f7e(0x1c8)]&&_0x3006bd[_0x503f7e(0x19a)]-_0x2ad3d0>hi;return!_0x2c6b8e&&!_0x2ee516?_0x3006bd:{..._0x3006bd,'absolute':{'left':!_0x2c6b8e&&_0x3006bd[_0x503f7e(0x191)][_0x503f7e(0x19d)],'top':!_0x2ee516&&_0x3006bd[_0x503f7e(0x191)][_0x503f7e(0x1c8)]}};}function _i(_0x1f2668){const _0x4e61f8=_0x12a095;if(!Object[_0x4e61f8(0x3f0)][_0x4e61f8(0x33d)][_0x4e61f8(0x23b)](_0x1f2668,_0x4e61f8(0x26f)))return _0x1f2668;let {border:_0x140da7,..._0x163fe3}=_0x1f2668;return{..._0x163fe3,'stroke':(_0x140da7==null?void 0x0:_0x140da7['color'])??_0x4e61f8(0x2ec),'strokeWidth':(_0x140da7==null?void 0x0:_0x140da7[_0x4e61f8(0x412)])??0x0};}let vi=class extends _0x570089{constructor(_0x5e16ee,_0x5739ba,_0x54aad2,_0xea6547){const _0x3ba145=_0x12a095;super(),this[_0x3ba145(0x2f6)]=_0x5e16ee,this[_0x3ba145(0x457)]=_0x5739ba,this['_chartSnapshotStoreService']=_0x54aad2,this[_0x3ba145(0x1ce)]=_0xea6547,W(this,_0x3ba145(0x347),new Map()),W(this,_0x3ba145(0x33e),new Set()),W(this,'_removeHost$',new _0x4c0d27()),W(this,_0x3ba145(0x1e7),this[_0x3ba145(0x1a2)]['asObservable']()),this[_0x3ba145(0x241)](this[_0x3ba145(0x2f6)][_0x3ba145(0x1eb)]['subscribe'](_0x2c7d0a=>{const _0x461133=_0x3ba145;let _0xf906cf=this['_chartHostMap'][_0x461133(0x1ba)](_0x2c7d0a['id']);_0xf906cf!=null&&_0xf906cf[_0x461133(0x344)]()&&(_0xf906cf[_0x461133(0x1f2)](),this['_removeHost$'][_0x461133(0x3ac)](_0x2c7d0a['id']));}));}['_getSceneAndTransformerByDrawingSearch'](_0x4d12b7){const _0x1c1b78=_0x12a095;if(_0x4d12b7==null)return;let _0x1dd884=this[_0x1c1b78(0x457)]['getRenderUnitById'](_0x4d12b7),_0x2ff5ba=_0x1dd884==null?void 0x0:_0x1dd884[_0x1c1b78(0x250)];return _0x1dd884==null||_0x2ff5ba==null?null:{'scene':_0x2ff5ba,'transformer':_0x2ff5ba['getTransformerByCreate'](),'renderUnit':_0x1dd884,'canvas':_0x1dd884['engine']['getCanvasElement']()};}[_0x12a095(0x297)](_0x521de7,_0x4df390){const _0x4dd132=_0x12a095;let _0x21fe6d=this[_0x4dd132(0x2f6)],_0xc78196=_0x4df390||'transparent',_0x5ce8b0=_0x21fe6d[_0x4dd132(0x1cf)](_0x521de7);if(_0x5ce8b0){let {unitId:_0x455727,subUnitId:_0x348240}=_0x5ce8b0;_0x21fe6d[_0x4dd132(0x2bd)](_0x455727,_0x348240,_0x521de7,{'stroke':_0xc78196});}}[_0x12a095(0x216)](_0x321a77,_0x3c622f){const _0x451a49=_0x12a095;let _0x4f7d4b=this['_sheetCanvasFloatDomManagerService'],_0x4d83ef=_0x4f7d4b[_0x451a49(0x1cf)](_0x321a77);if(_0x4d83ef){let {unitId:_0xd5eacf,subUnitId:_0x5b4d3b}=_0x4d83ef;_0x4f7d4b[_0x451a49(0x2bd)](_0xd5eacf,_0x5b4d3b,_0x321a77,_i(_0x3c622f));}}[_0x12a095(0x289)](_0x320c28){const _0x36181a=_0x12a095;let _0x1fc350=this[_0x36181a(0x2f6)][_0x36181a(0x1cf)](_0x320c28);return _0x1fc350?_0x1fc350[_0x36181a(0x3b9)]:null;}['getHostClientRect'](_0x5e6418){const _0xfb471a=_0x12a095;let _0x36e017=this[_0xfb471a(0x2f6)][_0xfb471a(0x1cf)](_0x5e6418),_0xd9d906=document['getElementById']((_0x36e017==null?void 0x0:_0x36e017[_0xfb471a(0x1c3)])??_0x5e6418);return(_0xd9d906==null?void 0x0:_0xd9d906[_0xfb471a(0x1be)]())??null;}[_0x12a095(0x3af)](_0x374eee,_0x4cfb55){const _0x45fd2a=_0x12a095;var _0x470cef;(_0x470cef=this[_0x45fd2a(0x347)]['get'](_0x374eee))==null||_0x470cef[_0x45fd2a(0x3af)](_0x4cfb55);}[_0x12a095(0x315)](_0x1e8a12){const _0x2ac3eb=_0x12a095;var _0x4215c8;return((_0x4215c8=this[_0x2ac3eb(0x347)][_0x2ac3eb(0x1ba)](_0x1e8a12))==null?void 0x0:_0x4215c8[_0x2ac3eb(0x1f9)]())??!0x1;}[_0x12a095(0x2db)](_0x9303b){const _0x17d234=_0x12a095;var _0x50f3a0;(_0x50f3a0=this[_0x17d234(0x347)][_0x17d234(0x1ba)](_0x9303b))==null||_0x50f3a0['syncLayout']();}[_0x12a095(0x1cb)](_0x5782b8){const _0x176c7b=_0x12a095;let _0x1d076a=this[_0x176c7b(0x347)][_0x176c7b(0x1ba)](_0x5782b8);_0x1d076a==null||_0x1d076a[_0x176c7b(0x326)](),this[_0x176c7b(0x347)][_0x176c7b(0x40f)](_0x5782b8);}async[_0x12a095(0x3b8)](_0x40b306,_0x219920){const _0x4b4190=_0x12a095;if(_0x219920===_0x3d77fd['Image'])return this['_createImageChartHost'](_0x40b306);if(_0x219920===_0x3d77fd['Dom'])return this[_0x4b4190(0x3c7)](_0x40b306);let _0x2f9127=this[_0x4b4190(0x3c7)](_0x40b306);if(!_0x2f9127)throw Error(_0x4b4190(0x3a2));return _0x2f9127[_0x4b4190(0x458)]();}[_0x12a095(0x2c3)](_0x22943f){const _0x378006=_0x12a095;var _0x4f6556;return this[_0x378006(0x33e)]['has'](_0x22943f)?(_0x4f6556=this[_0x378006(0x347)][_0x378006(0x1ba)](_0x22943f))!=null&&_0x4f6556[_0x378006(0x1f9)]()?!0x0:(this[_0x378006(0x33e)][_0x378006(0x40f)](_0x22943f),this[_0x378006(0x22a)](_0x22943f),!0x1):!0x1;}[_0x12a095(0x309)](_0x28dfd6){const _0x3edf62=_0x12a095;this[_0x3edf62(0x33e)]['delete'](_0x28dfd6)&&(this[_0x3edf62(0x22a)](_0x28dfd6),this['_requestChartCanvasRender'](_0x28dfd6));}['invalidateSnapshot'](_0x1b6f71){const _0x124cee=_0x12a095;let _0x52b205=this[_0x124cee(0x314)](_0x1b6f71);_0x52b205&&this[_0x124cee(0x339)][_0x124cee(0x329)](_0x52b205);}['_createImageChartHost'](_0x1e2f4e){const _0x46a7ba=_0x12a095;let _0x6f5972=this[_0x46a7ba(0x314)](_0x1e2f4e);return!_0x6f5972||!this[_0x46a7ba(0x289)](_0x1e2f4e)?null:new mi(_0x1e2f4e,()=>this[_0x46a7ba(0x289)](_0x1e2f4e),_0x2cb811=>this[_0x46a7ba(0x216)](_0x1e2f4e,_0x2cb811),_0x6f5972,this['_chartSnapshotStoreService'],()=>this[_0x46a7ba(0x2e7)](_0x1e2f4e));}['_getOrCreateSheetChartHost'](_0x221a10){const _0x899973=_0x12a095;if(!this[_0x899973(0x289)](_0x221a10))return null;this[_0x899973(0x1ce)][_0x899973(0x256)](_0x221a10,{'contentBox':{'wrapperInset':0x0,'contentInset':0x0}});let _0x13b8d0=this['_chartHostMap'][_0x899973(0x1ba)](_0x221a10);if(_0x13b8d0)return _0x13b8d0;let _0x5b78ac=new pi(_0x221a10,()=>this[_0x899973(0x2f6)][_0x899973(0x1cf)](_0x221a10),()=>this[_0x899973(0x28a)](_0x221a10),_0x2d700a=>this['setHostStyle'](_0x221a10,_0x2d700a),()=>this[_0x899973(0x342)],()=>this['_markHostReady'](_0x221a10),()=>this[_0x899973(0x309)](_0x221a10));return this[_0x899973(0x347)][_0x899973(0x1f4)](_0x221a10,_0x5b78ac),_0x5b78ac;}[_0x12a095(0x36a)](_0x327c4f){const _0x3a4123=_0x12a095;this[_0x3a4123(0x33e)][_0x3a4123(0x335)](_0x327c4f)||(this['_activeDomReadyChartIds'][_0x3a4123(0x1c4)](_0x327c4f),this[_0x3a4123(0x1a8)](_0x327c4f),this[_0x3a4123(0x2e7)](_0x327c4f));}[_0x12a095(0x1a8)](_0x185105){const _0x17326d=_0x12a095;var _0x2e7980;let _0x2eef83=this[_0x17326d(0x2f6)]['getFloatDomInfo'](_0x185105),_0x59a730=_0x2eef83?(_0x2e7980=this[_0x17326d(0x457)][_0x17326d(0x201)](_0x2eef83[_0x17326d(0x2d5)]))==null?void 0x0:_0x2e7980[_0x17326d(0x250)]:null;if(!_0x2eef83||!_0x59a730)return;let _0x1b195e=_0x15a9d8(_0x2eef83[_0x17326d(0x353)][_0x17326d(0x25f)](_0x29f917(0x1)),_0x59a730[_0x17326d(0x3e3)][_0x17326d(0x25f)](_0x5df8bf(_0x2eef83[_0x17326d(0x353)]),_0x32cf6e(([,_0x55e7b5])=>_0x55e7b5)))[_0x17326d(0x25f)](_0x5776be(),_0x32cf6e(gi));this[_0x17326d(0x1ce)][_0x17326d(0x256)](_0x185105,{'position$':_0x1b195e});}[_0x12a095(0x22a)](_0x5bf675){const _0x49bc9a=_0x12a095;let _0x5958ba=this[_0x49bc9a(0x2f6)][_0x49bc9a(0x1cf)](_0x5bf675);_0x5958ba&&this[_0x49bc9a(0x1ce)][_0x49bc9a(0x256)](_0x5bf675,{'position$':_0x5958ba[_0x49bc9a(0x353)]});}[_0x12a095(0x314)](_0x164ef5){const _0x11d23b=_0x12a095;let _0x36fa67=this[_0x11d23b(0x2f6)]['getFloatDomInfo'](_0x164ef5);return _0x36fa67?{'unitId':_0x36fa67[_0x11d23b(0x2d5)],'subUnitId':_0x36fa67['subUnitId'],'chartId':_0x164ef5}:null;}[_0x12a095(0x2e7)](_0x5e17f9){const _0x4135f2=_0x12a095;var _0x462bfc,_0x133f2c,_0x45eddb;let _0x198981=this[_0x4135f2(0x2f6)]['getFloatDomInfo'](_0x5e17f9);if(!_0x198981)return;let _0x24b542=(_0x462bfc=this[_0x4135f2(0x457)][_0x4135f2(0x201)](_0x198981[_0x4135f2(0x2d5)]))==null?void 0x0:_0x462bfc['scene'],_0x455a6d=(_0x24b542==null||(_0x133f2c=_0x24b542[_0x4135f2(0x21e)])==null?void 0x0:_0x133f2c[_0x4135f2(0x23b)](_0x24b542,_0x3c039e({'unitId':_0x198981[_0x4135f2(0x2d5)],'subUnitId':_0x198981['subUnitId'],'drawingId':_0x5e17f9})))??(_0x24b542==null?void 0x0:_0x24b542[_0x4135f2(0x3ae)](_0x3c039e({'unitId':_0x198981[_0x4135f2(0x2d5)],'subUnitId':_0x198981['subUnitId'],'drawingId':_0x5e17f9})))??null;_0x455a6d==null||(_0x45eddb=_0x455a6d[_0x4135f2(0x1da)])==null||_0x45eddb[_0x4135f2(0x23b)](_0x455a6d,!0x0),_0x24b542==null||_0x24b542['makeDirty'](!0x0);}['_getHostPlacement'](_0x23de9){const _0x36c959=_0x12a095;let _0x2761a8=this[_0x36c959(0x2f6)][_0x36c959(0x1cf)](_0x23de9);if(!_0x2761a8)return null;let _0x15d86a=this[_0x36c959(0x19b)](_0x2761a8[_0x36c959(0x2d5)]),_0x49cdb2=_0x15d86a==null?void 0x0:_0x15d86a['scene'],_0x2408b9=document['getElementById'](_0x2761a8[_0x36c959(0x1c3)]??_0x23de9);return ni(_0x2761a8[_0x36c959(0x3b9)],{'scaleX':(_0x49cdb2==null?void 0x0:_0x49cdb2[_0x36c959(0x238)])??0x1,'scaleY':(_0x49cdb2==null?void 0x0:_0x49cdb2['scaleY'])??0x1},_0x2408b9?{'left':_0x2408b9['offsetLeft'],'top':_0x2408b9[_0x36c959(0x1a4)]}:void 0x0);}[_0x12a095(0x326)](){const _0x4b8649=_0x12a095;this[_0x4b8649(0x342)]||(this[_0x4b8649(0x347)][_0x4b8649(0x3ec)](_0x4e1284=>_0x4e1284[_0x4b8649(0x326)]()),this[_0x4b8649(0x347)][_0x4b8649(0x1e3)](),this[_0x4b8649(0x33e)][_0x4b8649(0x1e3)](),this['_removeHost$']['complete'](),super[_0x4b8649(0x326)]());}};vi=q([K(0x0,_0x4958ff(_0x7df4f2)),K(0x1,_0x4958ff(_0x24875d)),K(0x2,_0x4958ff(di)),K(0x3,_0x4958ff(_0x17b629))],vi);const yi=_0x245770(_0x12a095(0x433)),bi=_0x3d77fd[_0x12a095(0x357)];var xi=class extends _0x4cd53f{constructor(_0x3ed06c,_0x4248d2){const _0x42078e=_0x12a095;super(_0x3ed06c),this[_0x42078e(0x428)]=_0x4248d2,W(this,_0x42078e(0x3d5),0x0),W(this,_0x42078e(0x295),void 0x0),W(this,_0x42078e(0x3e8),{});}['getRect'](){const _0x43d20d=_0x12a095;return this[_0x43d20d(0x428)];}[_0x12a095(0x3e0)](_0x2fa203){const _0x4f41a9=_0x12a095;this[_0x4f41a9(0x3e8)]=_0x2fa203;}[_0x12a095(0x329)](){const _0x58ee6d=_0x12a095;return++this[_0x58ee6d(0x3d5)];}[_0x12a095(0x1d5)](_0x214ee4,_0x25acca){const _0x32ab48=_0x12a095;return _0x25acca===this['_version']?(G(this[_0x32ab48(0x295)]),this[_0x32ab48(0x295)]=_0x214ee4,!0x0):(G(_0x214ee4),!0x1);}[_0x12a095(0x36d)](){}[_0x12a095(0x417)](){const _0x27888=_0x12a095;this[_0x27888(0x3d5)]+=0x1;}[_0x12a095(0x1fe)](){const _0x3c2906=_0x12a095;let _0x1c566f=this['_image'];return this[_0x3c2906(0x295)]=void 0x0,_0x1c566f;}[_0x12a095(0x326)](){const _0x54847c=_0x12a095;G(this[_0x54847c(0x295)]),this[_0x54847c(0x295)]=void 0x0,super[_0x54847c(0x326)]();}};function Si(_0x139ae3,_0x3e69e3,_0x51ce1c){const _0x3c1f2e=_0x12a095;let _0x17b652=_0x139ae3[_0x3c1f2e(0x382)](_0x3e69e3),_0x1600ae={..._0x139ae3[_0x3c1f2e(0x3e8)],'runtime':{..._0x17b652,'layoutInset':0x8,..._0x51ce1c===void 0x0?{}:{'addWatermark':_0x51ce1c}},'direction':_0x3e69e3};return _0x3e591a(_0x1600ae,_0x139ae3['chartType']);}let J=class extends _0x570089{constructor(_0x3b7966,_0x201c51,_0x3d7287,_0x258bb7,_0x274eb6,_0x4a3cf9,_0x42d35b,_0x669f6c,_0x51fde9,_0x38d3bd,_0x38b5e5,_0x5b3f25,_0x200fed){const _0x44dcff=_0x12a095;super(),this[_0x44dcff(0x40d)]=_0x3b7966,this['_sheetCanvasFloatDomManagerService']=_0x201c51,this[_0x44dcff(0x2a4)]=_0x3d7287,this[_0x44dcff(0x1b9)]=_0x258bb7,this[_0x44dcff(0x29d)]=_0x274eb6,this[_0x44dcff(0x457)]=_0x4a3cf9,this[_0x44dcff(0x30c)]=_0x42d35b,this[_0x44dcff(0x1e8)]=_0x669f6c,this[_0x44dcff(0x26a)]=_0x51fde9,this[_0x44dcff(0x2d7)]=_0x38d3bd,this[_0x44dcff(0x44d)]=_0x38b5e5,this[_0x44dcff(0x339)]=_0x5b3f25,this[_0x44dcff(0x3d2)]=_0x200fed,W(this,_0x44dcff(0x1b5),new Map()),W(this,'_chartEventHandlers',new Map()),W(this,_0x44dcff(0x41e),new Map()),W(this,_0x44dcff(0x2ca),new Map()),W(this,_0x44dcff(0x2b0),new Map()),W(this,_0x44dcff(0x1f7),new Map()),W(this,_0x44dcff(0x278),new Map()),W(this,'_chartRenderMode',void 0x0),W(this,_0x44dcff(0x37f),void 0x0),W(this,'_lastRenderInputMap',new Map()),W(this,_0x44dcff(0x376),new Set()),W(this,_0x44dcff(0x369),new Map()),W(this,_0x44dcff(0x3bf),null),W(this,_0x44dcff(0x212),null);let _0x51fafd=_0x211e16(this[_0x44dcff(0x1e8)]),_0x4638ce=this[_0x44dcff(0x44d)][_0x44dcff(0x2c4)](_0x2f3044);this[_0x44dcff(0x330)]=(_0x4638ce==null?void 0x0:_0x4638ce[_0x44dcff(0x341)])??bi,this[_0x44dcff(0x37f)]=_0x51fafd[_0x44dcff(0x222)]!==0x1||_0x51fafd[0x0]!==_0x44dcff(0x1af),this[_0x44dcff(0x2cb)](),this['_initActiveChartModelListener'](),this[_0x44dcff(0x321)](),this[_0x44dcff(0x29f)](),this[_0x44dcff(0x3a1)]();}[_0x12a095(0x39a)](_0x3c36d6){const _0xb9825=_0x12a095;let _0xf5d424=this[_0xb9825(0x314)](_0x3c36d6);return _0xf5d424?this['_chartSnapshotStoreService'][_0xb9825(0x332)](_0xf5d424):void 0x0;}['_resolveChartRenderMode'](_0x6c6f57){const _0x4932af=_0x12a095;var _0x221cce;return((_0x221cce=this['_chartModelService'][_0x4932af(0x301)])==null?void 0x0:_0x221cce['id'])===_0x6c6f57?_0x3d77fd['Dom']:this[_0x4932af(0x330)];}[_0x12a095(0x314)](_0x163f03){const _0x51d4ef=_0x12a095;let _0x575f72=this[_0x51d4ef(0x2f6)][_0x51d4ef(0x1cf)](_0x163f03);return _0x575f72?{'unitId':_0x575f72[_0x51d4ef(0x2d5)],'subUnitId':_0x575f72[_0x51d4ef(0x365)],'chartId':_0x163f03}:null;}[_0x12a095(0x2cb)](){const _0x32f0f2=_0x12a095;this['_chartRenderMode']===_0x3d77fd['Image']&&this['disposeWithMe'](this[_0x32f0f2(0x2f6)][_0x32f0f2(0x459)](_0x14b323[_0x32f0f2(0x3b3)],({key:_0x5731fe,config:_0x37df02,unitId:_0x1bb1ae,subUnitId:_0x2c0cde,drawingId:_0xca93b7})=>new si(_0x5731fe,_0x37df02,()=>this[_0x32f0f2(0x339)][_0x32f0f2(0x332)]({'unitId':_0x1bb1ae,'subUnitId':_0x2c0cde,'chartId':_0xca93b7}),()=>this['_chartHostProvider']['isDomReady'](_0xca93b7))));}['_initActiveChartModelListener'](){const _0x303dc8=_0x12a095;this[_0x303dc8(0x241)](this['_chartModelService'][_0x303dc8(0x383)][_0x303dc8(0x195)](_0x4c141e=>{const _0x2cd10e=_0x303dc8;let _0x2574d3=(_0x4c141e==null?void 0x0:_0x4c141e['id'])??null,_0x17b149=this[_0x2cd10e(0x3bf)];_0x17b149!==_0x2574d3&&(_0x17b149&&(this['_chartHostProvider']['markHostNotReady'](_0x17b149),this[_0x2cd10e(0x262)](_0x17b149),this[_0x2cd10e(0x1ea)](_0x17b149)),this[_0x2cd10e(0x3bf)]=_0x2574d3,_0x2574d3&&(this[_0x2cd10e(0x1de)](_0x2574d3),this[_0x2cd10e(0x40d)][_0x2cd10e(0x309)](_0x2574d3),this[_0x2cd10e(0x3fa)](_0x2574d3),this[_0x2cd10e(0x1ad)](_0x2574d3)));}));}[_0x12a095(0x321)](){const _0x16b74c=_0x12a095;this[_0x16b74c(0x241)](this[_0x16b74c(0x1b9)][_0x16b74c(0x397)]['subscribe'](_0x39ff0c=>{const _0x37a880=_0x16b74c;var _0x533927;let _0x16bc0a=(_0x533927=this['_chartModelService'][_0x37a880(0x301)])==null?void 0x0:_0x533927['id'];_0x16bc0a&&_0x39ff0c[_0x37a880(0x34d)](_0xaa328d=>_0xaa328d['children']['some'](_0x1412af=>_0x1412af[_0x37a880(0x283)]===_0x16bc0a))&&this[_0x37a880(0x2a4)][_0x37a880(0x45b)](null);})),this[_0x16b74c(0x241)](this['_drawingManagerService']['featurePluginUngroupUpdate$'][_0x16b74c(0x195)](_0x337b46=>{const _0x560b7d=_0x16b74c;var _0x277de5;let _0x17aec8=(_0x277de5=this['_chartModelService'][_0x560b7d(0x301)])==null?void 0x0:_0x277de5['id'];_0x17aec8&&_0x337b46[_0x560b7d(0x34d)](_0x32746e=>_0x32746e[_0x560b7d(0x25c)][_0x560b7d(0x283)]===_0x17aec8||_0x32746e['children'][_0x560b7d(0x34d)](_0x2b6aa8=>_0x2b6aa8[_0x560b7d(0x283)]===_0x17aec8))&&this[_0x560b7d(0x2a4)][_0x560b7d(0x45b)](null);}));}[_0x12a095(0x29f)](){const _0x24a0fe=_0x12a095;this[_0x24a0fe(0x241)](this[_0x24a0fe(0x1b9)]['featurePluginOrderUpdate$'][_0x24a0fe(0x195)](_0x3413c4=>{const _0x4a0a0d=_0x24a0fe;var _0x4915a9;let _0x1d87ef=(_0x4915a9=this[_0x4a0a0d(0x2a4)][_0x4a0a0d(0x301)])==null?void 0x0:_0x4915a9['id'];if(!_0x1d87ef){_0x3413c4[_0x4a0a0d(0x42f)][_0x4a0a0d(0x3ec)](_0x4661b5=>{const _0x658232=_0x4a0a0d;this['_chartModelService']['getChartModel'](_0x4661b5)&&this[_0x658232(0x262)](_0x4661b5);});return;}let _0x40b7a4=this['_sheetCanvasFloatDomManagerService'][_0x4a0a0d(0x1cf)](_0x1d87ef);(_0x40b7a4==null?void 0x0:_0x40b7a4[_0x4a0a0d(0x2d5)])===_0x3413c4[_0x4a0a0d(0x2d5)]&&_0x40b7a4[_0x4a0a0d(0x365)]===_0x3413c4[_0x4a0a0d(0x365)]&&this['_applyActiveChartRuntimeZIndex'](_0x1d87ef);})),this[_0x24a0fe(0x241)](this[_0x24a0fe(0x1b9)][_0x24a0fe(0x3f4)][_0x24a0fe(0x195)](_0x60cc2a=>{const _0x3aa6f2=_0x24a0fe;var _0xa65b51;let _0x22767e=(_0xa65b51=this[_0x3aa6f2(0x2a4)][_0x3aa6f2(0x301)])==null?void 0x0:_0xa65b51['id'];if(!_0x22767e)return;let _0xe8cbd=this[_0x3aa6f2(0x2f6)][_0x3aa6f2(0x1cf)](_0x22767e);_0xe8cbd&&_0x60cc2a[_0x3aa6f2(0x34d)](_0x391b68=>_0x391b68[_0x3aa6f2(0x2d5)]===_0xe8cbd['unitId']&&_0x391b68[_0x3aa6f2(0x365)]===_0xe8cbd[_0x3aa6f2(0x365)])&&this['_applyActiveChartRuntimeZIndex'](_0x22767e);})),this['disposeWithMe'](this[_0x24a0fe(0x2a4)]['chartModelRemoved$']['subscribe'](_0x40acc3=>{const _0x2f4fc3=_0x24a0fe;var _0x4be7f3;this[_0x2f4fc3(0x290)](_0x40acc3),this[_0x2f4fc3(0x1de)](_0x40acc3),this[_0x2f4fc3(0x1fc)][_0x2f4fc3(0x40f)](_0x40acc3),this['_chartSnapshotStoreService'][_0x2f4fc3(0x3d7)](_0x40acc3),this['_clearChartRuntimeCache'](_0x40acc3),this['_chartHostProvider'][_0x2f4fc3(0x309)](_0x40acc3),((_0x4be7f3=this['_chartModelService'][_0x2f4fc3(0x301)])==null?void 0x0:_0x4be7f3['id'])===_0x40acc3?this[_0x2f4fc3(0x2a4)][_0x2f4fc3(0x45b)](null):this[_0x2f4fc3(0x262)](_0x40acc3),this[_0x2f4fc3(0x3c4)](_0x40acc3);}));}[_0x12a095(0x1ad)](_0x4042f7){const _0xdf54da=_0x12a095;let _0x391d05=this[_0xdf54da(0x1fc)][_0xdf54da(0x1ba)](_0x4042f7);_0x391d05&&this[_0xdf54da(0x351)](_0x4042f7,_0x391d05[_0xdf54da(0x196)],_0x391d05[_0xdf54da(0x3e8)]);}[_0x12a095(0x1ea)](_0x1d4219){const _0x33431a=_0x12a095;let _0x4c5669=this[_0x33431a(0x1b5)]['get'](_0x1d4219);(_0x4c5669==null?void 0x0:_0x4c5669[_0x33431a(0x1bf)])===_0x33431a(0x28c)&&(this[_0x33431a(0x23a)](_0x1d4219),_0x4c5669['dispose'](),this[_0x33431a(0x1b5)][_0x33431a(0x40f)](_0x1d4219)),this[_0x33431a(0x40d)][_0x33431a(0x309)](_0x1d4219),this[_0x33431a(0x40d)][_0x33431a(0x1cb)](_0x1d4219);}['_disposeChartRenderInstance'](_0x53b930){const _0x3d4952=_0x12a095;let _0x58464c=this[_0x3d4952(0x1b5)]['get'](_0x53b930);_0x58464c&&(this['_disposeChartEventSubscriptions'](_0x53b930),_0x58464c[_0x3d4952(0x326)](),this[_0x3d4952(0x1b5)][_0x3d4952(0x40f)](_0x53b930)),this[_0x3d4952(0x40d)][_0x3d4952(0x309)](_0x53b930),this[_0x3d4952(0x40d)][_0x3d4952(0x1cb)](_0x53b930);}[_0x12a095(0x1d7)](_0x1982b2){const _0x4a27b8=_0x12a095;var _0x583e07,_0x2061a6;(_0x583e07=this[_0x4a27b8(0x3d2)]['getRenderModel'](_0x3978bd))==null||(_0x2061a6=_0x583e07[_0x4a27b8(0x34a)])==null||_0x2061a6['call'](_0x583e07,_0x1982b2);}[_0x12a095(0x1e1)](_0x2f4455,_0x47d845){const _0x3d899a=_0x12a095;let _0x21ce27=this[_0x3d899a(0x1b9)][_0x3d899a(0x22b)](_0x2f4455,_0x47d845);Object[_0x3d899a(0x29c)](_0x21ce27??{})[_0x3d899a(0x3ec)](_0x26e398=>{const _0xec7ac=_0x3d899a;_0x26e398['drawingType']===_0x14b323[_0xec7ac(0x3b3)]&&this['_clearChartRuntimeCache'](_0x26e398[_0xec7ac(0x283)]);});}['_getChartRenderObject'](_0x1ee424,_0x56431c){const _0x3e7421=_0x12a095;var _0x1919a5;return((_0x1919a5=_0x1ee424[_0x3e7421(0x21e)])==null?void 0x0:_0x1919a5[_0x3e7421(0x23b)](_0x1ee424,_0x56431c))??_0x1ee424[_0x3e7421(0x3ae)](_0x56431c)??null;}['_getChartRenderObjectContext'](_0x381f9f){const _0x63ad94=_0x12a095;var _0x5a321b;let _0x46986c=this[_0x63ad94(0x2f6)][_0x63ad94(0x1cf)](_0x381f9f);if(!_0x46986c)return null;let _0xdaa474=(_0x5a321b=this[_0x63ad94(0x457)][_0x63ad94(0x201)](_0x46986c['unitId']))==null?void 0x0:_0x5a321b[_0x63ad94(0x250)];if(!_0xdaa474)return null;let _0x191522=this[_0x63ad94(0x209)](_0xdaa474,_0x3c039e({'unitId':_0x46986c[_0x63ad94(0x2d5)],'subUnitId':_0x46986c[_0x63ad94(0x365)],'drawingId':_0x381f9f}));return _0x191522?{'info':_0x46986c,'scene':_0xdaa474,'chartObject':_0x191522}:null;}[_0x12a095(0x361)](_0x442138,_0x3005a6){const _0x417914=_0x12a095;var _0x12e246,_0x2fd6a7,_0x44007a,_0x2fd9f6;let _0x297eec=this[_0x417914(0x2ef)](_0x442138);_0x297eec&&((_0x12e246=(_0x2fd6a7=_0x297eec['chartObject'])[_0x417914(0x21b)])==null||_0x12e246[_0x417914(0x23b)](_0x2fd6a7,{'zIndex':_0x3005a6}),(_0x44007a=(_0x2fd9f6=_0x297eec[_0x417914(0x3f6)])[_0x417914(0x1da)])==null||_0x44007a['call'](_0x2fd9f6,!0x0),_0x297eec[_0x417914(0x250)]['makeDirty'](!0x0));}[_0x12a095(0x3fa)](_0x523fe0){const _0x5c2927=_0x12a095;let _0x2dfe04=this[_0x5c2927(0x2f6)][_0x5c2927(0x1cf)](_0x523fe0);if(!_0x2dfe04)return;let _0x960e5a=this['_drawingManagerService'][_0x5c2927(0x430)](_0x2dfe04['unitId'],_0x2dfe04[_0x5c2927(0x365)]);this[_0x5c2927(0x361)](_0x523fe0,_0x960e5a[_0x5c2927(0x222)]);}[_0x12a095(0x262)](_0x5b0edb){const _0x3bdb1f=_0x12a095;let _0x291c30=this[_0x3bdb1f(0x2f6)][_0x3bdb1f(0x1cf)](_0x5b0edb);if(!_0x291c30)return;let _0x116637=this[_0x3bdb1f(0x1b9)][_0x3bdb1f(0x430)](_0x291c30['unitId'],_0x291c30['subUnitId']),_0x310b15=_0x116637['indexOf'](_0x5b0edb);this[_0x3bdb1f(0x361)](_0x5b0edb,_0x310b15===-0x1?Math[_0x3bdb1f(0x3c9)](_0x116637[_0x3bdb1f(0x222)]-0x1,0x0):_0x310b15);}[_0x12a095(0x407)](_0x3071c6,_0x5f0678){const _0x4e2c3c=_0x12a095;let _0x4c4d88=this[_0x4e2c3c(0x2f6)]['getFloatDomInfo'](_0x3071c6);if(_0x5f0678['width']!==void 0x0&&_0x5f0678[_0x4e2c3c(0x19a)]!==void 0x0&&_0x4c4d88){var _0xbdb750;let {subUnitId:_0x1523fb}=_0x4c4d88,_0x4afcfd=(_0xbdb750=this[_0x4e2c3c(0x29d)][_0x4e2c3c(0x20f)](_0x3d7cdd['UNIVER_SHEET']))==null?void 0x0:_0xbdb750[_0x4e2c3c(0x316)]();if((_0x4afcfd==null?void 0x0:_0x4afcfd[_0x4e2c3c(0x3f3)]())===_0x1523fb){let {width:_0x99086d,height:_0x95f1ba}=_0x5f0678,_0x234755=this[_0x4e2c3c(0x2a4)][_0x4e2c3c(0x1e6)](_0x3071c6),_0x2c3d3b=_0x234755==null?void 0x0:_0x234755[_0x4e2c3c(0x3e8)];if(Math['abs'](_0x99086d-((_0x2c3d3b==null?void 0x0:_0x2c3d3b[_0x4e2c3c(0x412)])||0x0))>0x1||Math[_0x4e2c3c(0x37e)](_0x95f1ba-((_0x2c3d3b==null?void 0x0:_0x2c3d3b[_0x4e2c3c(0x19a)])||0x0))>0x1){_0x234755==null||_0x234755[_0x4e2c3c(0x429)]({..._0x2c3d3b,'width':_0x99086d,'height':_0x95f1ba});let _0x9322d8=this[_0x4e2c3c(0x1b5)]['get'](_0x3071c6);_0x9322d8&&(this[_0x4e2c3c(0x40d)][_0x4e2c3c(0x2db)](_0x3071c6),_0x9322d8['resize']());}}}}[_0x12a095(0x25a)](_0x47423a,_0x57f922,_0x30be72=0x0){const _0xba54cc=_0x12a095;let _0x3b572d=this[_0xba54cc(0x1f7)][_0xba54cc(0x1ba)](_0x47423a);_0x3b572d||(_0x3b572d=_0x2fbc58(_0x10c531=>{this['_resizeChart'](_0x47423a,_0x10c531);},_0x30be72),this['_debounceHandleMap'][_0xba54cc(0x1f4)](_0x47423a,_0x3b572d)),_0x3b572d(_0x57f922);}[_0x12a095(0x3a1)](){const _0x522937=_0x12a095;let _0x2d9844=this[_0x522937(0x2b0)],_0xeba68b=_0xcc5ae7=>{const _0x891532=_0x522937;if(!_0x2d9844['has'](_0xcc5ae7)){let _0x376967=_0x2fbc58((_0x139bce,_0x59d56c,_0x235a5d,_0xeab0a4)=>{const _0x555e82=_0x5965;var _0x303eab,_0x1ecec6;if(!_0x235a5d)return;(_0x303eab=_0x235a5d[_0x555e82(0x2e1)])==null||_0x303eab[_0x555e82(0x3b5)][_0x555e82(0x3ec)]((_0x28e75f,_0x347a9a)=>{const _0x568eed=_0x555e82;_0x28e75f['label']||=this[_0x568eed(0x30c)]['t']('sheets-chart-ui.common.category')+'\x20'+(_0x347a9a+0x1);}),_0x235a5d[_0x555e82(0x2c8)][_0x555e82(0x3ec)]((_0x533e36,_0x38144f)=>{const _0x242526=_0x555e82;_0x533e36[_0x242526(0x193)]||=this['_localeService']['t'](_0x242526(0x393))+'\x20'+(_0x38144f+0x1);});let _0x347ca1=this['createRuntimeChartStyle'](_0x139bce,_0xeab0a4),_0x3a7aee=(_0x1ecec6=this['_univerInstanceService'][_0x555e82(0x20f)](_0x3d7cdd[_0x555e82(0x198)]))==null?void 0x0:_0x1ecec6['getActiveSheet']();(_0x3a7aee==null?void 0x0:_0x3a7aee[_0x555e82(0x3f3)]())===_0x59d56c&&this[_0x555e82(0x351)](_0x139bce['id'],_0x235a5d,_0x347ca1);},0x11);_0x2d9844['set'](_0xcc5ae7,_0x376967);}return _0x2d9844[_0x891532(0x1ba)](_0xcc5ae7);};this[_0x522937(0x241)](this['_univerInstanceService']['focused$'][_0x522937(0x195)](_0x418b52=>{const _0x16a46e=_0x522937;let _0x1ad06d=this['_univerInstanceService'][_0x16a46e(0x20f)](_0x3d7cdd[_0x16a46e(0x198)]);if(_0x418b52&&_0x1ad06d&&_0x1ad06d[_0x16a46e(0x270)]()===_0x418b52){var _0x4cdfa9;let _0xdc26e2=_0x1ad06d['getActiveSheet']()[_0x16a46e(0x3f3)]();this['_lastActiveSheet']&&(this['_lastActiveSheet']['unitId']!==_0x418b52||this['_lastActiveSheet']['subUnitId']!==_0xdc26e2)&&this['_clearSheetChartRuntimeCaches'](this[_0x16a46e(0x212)]['unitId'],this['_lastActiveSheet'][_0x16a46e(0x365)]),this[_0x16a46e(0x212)]={'unitId':_0x418b52,'subUnitId':_0xdc26e2};let _0x40d3a2=this['_drawingManagerService'][_0x16a46e(0x22b)](_0x418b52,_0xdc26e2);if(!((_0x4cdfa9=this['_renderManagerService']['getRenderUnitById'](_0x418b52))!=null&&_0x4cdfa9['with'](_0x157e10)['getSkeleton'](_0xdc26e2)))return;if(_0x40d3a2)for(let _0x5af0ae in _0x40d3a2){let {drawingId:_0x72ff5e}=_0x40d3a2[_0x5af0ae],_0x44b95a=this['_chartModelService'][_0x16a46e(0x1e6)](_0x72ff5e);_0x44b95a&&_0xeba68b(_0x44b95a['id'])(_0x44b95a,_0xdc26e2,_0x44b95a['config'],this[_0x16a46e(0x30c)][_0x16a46e(0x19f)]());}}})),this['disposeWithMe'](this[_0x522937(0x2d7)]['darkMode$'][_0x522937(0x195)](()=>{const _0x12f260=_0x522937;var _0x268ac5;let _0x1713fb=this['_univerInstanceService'][_0x12f260(0x20f)](_0x3d7cdd[_0x12f260(0x198)]);if(!_0x1713fb)return;let _0x1f3526=_0x1713fb[_0x12f260(0x270)](),_0x3923fb=_0x1713fb['getActiveSheet']()[_0x12f260(0x3f3)](),_0x5e8a70=this[_0x12f260(0x1b9)]['getDrawingData'](_0x1f3526,_0x3923fb);if((_0x268ac5=this['_renderManagerService']['getRenderUnitById'](_0x1f3526))!=null&&_0x268ac5[_0x12f260(0x2bb)](_0x157e10)[_0x12f260(0x292)](_0x3923fb)&&_0x5e8a70)for(let _0x2d04d in _0x5e8a70){let {drawingId:_0x50b70b}=_0x5e8a70[_0x2d04d],_0x26c5cc=this[_0x12f260(0x2a4)][_0x12f260(0x1e6)](_0x50b70b);_0x26c5cc&&_0xeba68b(_0x26c5cc['id'])(_0x26c5cc,_0x3923fb,_0x26c5cc['config'],this[_0x12f260(0x30c)][_0x12f260(0x19f)]());}})),this['disposeWithMe'](this[_0x522937(0x1b9)][_0x522937(0x3f4)]['subscribe'](_0x33be58=>{_0x33be58['forEach'](_0x31a279=>{const _0x570919=_0x5965;var _0x3f11cb;let {drawingId:_0xa4b292,unitId:_0xc0a010,subUnitId:_0x437f16}=_0x31a279,_0xefcce9=this[_0x570919(0x457)][_0x570919(0x201)](_0xc0a010);if((_0xefcce9==null?void 0x0:_0xefcce9['type'])!==_0x3d7cdd['UNIVER_SHEET']||!_0xefcce9['with'](_0x157e10)['getSkeleton'](_0x437f16))return;let {drawingType:_0x1860e1}=this[_0x570919(0x1b9)]['getDrawingByParam'](_0x31a279);if(_0x1860e1!==_0x14b323[_0x570919(0x3b3)])return;let _0xcb9b0b=this[_0x570919(0x2f6)][_0x570919(0x1cf)](_0xa4b292);this[_0x570919(0x290)](_0xa4b292);let _0x247fd7=new _0x570089();this[_0x570919(0x278)][_0x570919(0x1f4)](_0xa4b292,_0x247fd7);let _0x39295d=(_0xcb9b0b==null?void 0x0:_0xcb9b0b[_0x570919(0x1c3)])??_0xa4b292,_0x85eddb=_0xcb9b0b==null?void 0x0:_0xcb9b0b[_0x570919(0x3b9)],_0x12621a=(_0x3f11cb=this['_renderManagerService'][_0x570919(0x201)](_0xc0a010))==null?void 0x0:_0x3f11cb[_0x570919(0x250)];_0x85eddb&&_0x247fd7[_0x570919(0x241)](_0x85eddb[_0x570919(0x402)][_0x570919(0x312)](_0x295086=>{const _0x3b2325=_0x570919;let {type:_0x473a82,value:_0x404ab1}=_0x295086;if(_0x18dc8f[_0x3b2325(0x19e)]===_0x473a82||_0x18dc8f['all']===_0x473a82){let {width:_0x1a6bb7,height:_0x1ff14e}=_0x404ab1;this[_0x3b2325(0x25a)](_0xa4b292,{'width':_0x1a6bb7,'height':_0x1ff14e},0x64);}})),_0x12621a&&_0x247fd7[_0x570919(0x241)](_0x12621a[_0x570919(0x402)][_0x570919(0x312)](_0x510770=>{const _0x9ec39=_0x570919;var _0x561ffb;_0x510770['type']===_0x18dc8f[_0x9ec39(0x2f4)]&&(_0x561ffb=document[_0x9ec39(0x2ba)](_0x39295d))!=null&&_0x561ffb[_0x9ec39(0x1f8)](_0x9ec39(0x3a0))&&this[_0x9ec39(0x40d)][_0x9ec39(0x2db)](_0xa4b292);}));let _0x59b12c=this[_0x570919(0x2a4)][_0x570919(0x1e6)](_0xa4b292);_0x59b12c&&_0x247fd7[_0x570919(0x241)](_0x341663([_0x59b12c[_0x570919(0x3ee)],_0x59b12c[_0x570919(0x39d)],this[_0x570919(0x30c)][_0x570919(0x2a0)]])[_0x570919(0x195)](([_0x128300,_0x77f3f8,_0x241762])=>{_0xeba68b(_0x59b12c['id'])(_0x59b12c,_0x437f16,_0x128300,_0x241762);}));});})),this[_0x522937(0x241)](_0x341663([this[_0x522937(0x1b9)][_0x522937(0x1eb)]])[_0x522937(0x195)](([_0x5499ce])=>{const _0x3c6e5d=_0x522937;_0x5499ce[_0x3c6e5d(0x3ec)](_0x1706e4=>{const _0x1547d6=_0x3c6e5d;var _0x5be46e;let {drawingId:_0xe75f42}=_0x1706e4;this[_0x1547d6(0x290)](_0xe75f42),((_0x5be46e=this[_0x1547d6(0x2a4)][_0x1547d6(0x301)])==null?void 0x0:_0x5be46e['id'])===_0xe75f42&&this['_chartModelService'][_0x1547d6(0x45b)](null),this['_disposeChartEventSubscriptions'](_0xe75f42),this['_chartEventHandlers'][_0x1547d6(0x40f)](_0xe75f42),this[_0x1547d6(0x40d)][_0x1547d6(0x309)](_0xe75f42),this[_0x1547d6(0x262)](_0xe75f42),this[_0x1547d6(0x3c4)](_0xe75f42),this[_0x1547d6(0x339)][_0x1547d6(0x3d7)](_0xe75f42),this[_0x1547d6(0x1d7)](_0xe75f42),this[_0x1547d6(0x1fc)][_0x1547d6(0x40f)](_0xe75f42),this[_0x1547d6(0x2ca)]['delete'](_0xe75f42);});}));}[_0x12a095(0x1e9)](_0x71782b,_0x2946be){const _0x3efd87=_0x12a095;var _0x466dc5;_0x2946be?this[_0x3efd87(0x2ca)]['set'](_0x71782b,!0x0):this[_0x3efd87(0x2ca)][_0x3efd87(0x40f)](_0x71782b),(_0x466dc5=this[_0x3efd87(0x1b5)][_0x3efd87(0x1ba)](_0x71782b))==null||_0x466dc5['setElementEditMode'](_0x2946be);}async[_0x12a095(0x338)](_0x49afa1,_0xf3c3c2){const _0x3678da=_0x12a095;var _0x3f0be7;let _0x118cdc=this[_0x3678da(0x1fc)]['get'](_0x49afa1),_0x288e5f=(_0x3f0be7=this[_0x3678da(0x2f6)][_0x3678da(0x1cf)](_0x49afa1))==null?void 0x0:_0x3f0be7['rect'];if(_0x118cdc&&_0x288e5f)return(await this[_0x3678da(0x3d2)][_0x3678da(0x338)]({'chartId':_0x49afa1,'config':_0x118cdc[_0x3678da(0x196)],'style':_0x118cdc[_0x3678da(0x3e8)],'width':_0x288e5f[_0x3678da(0x412)],'height':_0x288e5f[_0x3678da(0x19a)]},_0xf3c3c2))[_0x3678da(0x380)];if((_0xf3c3c2==null?void 0x0:_0xf3c3c2['format'])===_0x32a3b9[_0x3678da(0x33b)])return;let _0xac746d=this[_0x3678da(0x231)](_0x49afa1);return _0xac746d?_0x5377c7(_0xac746d):void 0x0;}['on'](_0x384e1e,_0xdd78e3,_0x9f3b92){const _0x1567fe=_0x12a095;let _0x380385=this[_0x1567fe(0x1ec)][_0x1567fe(0x1ba)](_0x384e1e);_0x380385||(_0x380385=new Map(),this[_0x1567fe(0x1ec)][_0x1567fe(0x1f4)](_0x384e1e,_0x380385));let _0x4a0035=_0x380385[_0x1567fe(0x1ba)](_0xdd78e3);_0x4a0035||(_0x4a0035=new Set(),_0x380385[_0x1567fe(0x1f4)](_0xdd78e3,_0x4a0035)),_0x4a0035['add'](_0x9f3b92);let _0x1bea08=this['_chartInstanceMap']['get'](_0x384e1e);return _0x1bea08&&this[_0x1567fe(0x419)](_0x384e1e,_0x1bea08,_0xdd78e3,_0x9f3b92),{'dispose':()=>{const _0x6bbe78=_0x1567fe;var _0x45d08e;(_0x45d08e=this[_0x6bbe78(0x1ec)][_0x6bbe78(0x1ba)](_0x384e1e))==null||(_0x45d08e=_0x45d08e[_0x6bbe78(0x1ba)](_0xdd78e3))==null||_0x45d08e[_0x6bbe78(0x40f)](_0x9f3b92),this[_0x6bbe78(0x268)](_0x384e1e,_0xdd78e3,_0x9f3b92);}};}[_0x12a095(0x231)](_0xb0df86){const _0x41cd93=_0x12a095;let _0x2934ff=this[_0x41cd93(0x29d)][_0x41cd93(0x20f)](_0x3d7cdd[_0x41cd93(0x198)]),_0x277fee=_0x2934ff==null?void 0x0:_0x2934ff[_0x41cd93(0x316)](),_0x20e321=_0x2934ff==null?void 0x0:_0x2934ff['getUnitId'](),_0x5472f=_0x277fee==null?void 0x0:_0x277fee[_0x41cd93(0x3f3)]();if(_0x20e321&&_0x5472f)return this[_0x41cd93(0x339)][_0x41cd93(0x332)]({'unitId':_0x20e321,'subUnitId':_0x5472f,'chartId':_0xb0df86});}[_0x12a095(0x3eb)](_0x27826f,_0x4fede6){const _0x5348ae=_0x12a095;let _0x2b2f3e=this[_0x5348ae(0x1ec)][_0x5348ae(0x1ba)](_0x27826f);_0x2b2f3e&&_0x2b2f3e[_0x5348ae(0x3ec)]((_0x3a7472,_0x2a0936)=>{const _0x4af206=_0x5348ae;_0x3a7472[_0x4af206(0x3ec)](_0x23f482=>this[_0x4af206(0x419)](_0x27826f,_0x4fede6,_0x2a0936,_0x23f482));});}['_bindChartEventHandler'](_0x25225a,_0x585bd2,_0x683b41,_0x282c0f){const _0x471d45=_0x12a095;let _0x22a58d=this[_0x471d45(0x41e)][_0x471d45(0x1ba)](_0x25225a);_0x22a58d||(_0x22a58d=new Map(),this[_0x471d45(0x41e)][_0x471d45(0x1f4)](_0x25225a,_0x22a58d));let _0x2b25d6=_0x22a58d[_0x471d45(0x1ba)](_0x683b41);_0x2b25d6||(_0x2b25d6=new Map(),_0x22a58d['set'](_0x683b41,_0x2b25d6)),!_0x2b25d6[_0x471d45(0x335)](_0x282c0f)&&_0x2b25d6[_0x471d45(0x1f4)](_0x282c0f,_0x585bd2['on'](_0x683b41,_0x282c0f));}['_disposeChartEventSubscription'](_0x14c2d9,_0x470a21,_0x233836){const _0x41f029=_0x12a095;var _0x399681,_0x2bb657;let _0x5b328a=(_0x399681=this[_0x41f029(0x41e)][_0x41f029(0x1ba)](_0x14c2d9))==null?void 0x0:_0x399681[_0x41f029(0x1ba)](_0x470a21);_0x5b328a==null||(_0x2bb657=_0x5b328a[_0x41f029(0x1ba)](_0x233836))==null||_0x2bb657[_0x41f029(0x326)](),_0x5b328a==null||_0x5b328a[_0x41f029(0x40f)](_0x233836);}[_0x12a095(0x23a)](_0x59d090){const _0x3c3de8=_0x12a095;let _0x49bb79=this[_0x3c3de8(0x41e)][_0x3c3de8(0x1ba)](_0x59d090);_0x49bb79==null||_0x49bb79[_0x3c3de8(0x3ec)](_0x2c8118=>{const _0x543a26=_0x3c3de8;_0x2c8118[_0x543a26(0x3ec)](_0xaefadf=>_0xaefadf['dispose']()),_0x2c8118['clear']();}),this[_0x3c3de8(0x41e)][_0x3c3de8(0x40f)](_0x59d090);}[_0x12a095(0x42a)](_0x53f3a5,_0x50e703){const _0x5c2cd9=_0x12a095;return Si(_0x53f3a5,_0x50e703,this[_0x5c2cd9(0x37f)]);}[_0x12a095(0x2be)](_0x5285e2){return this['_getChartRenderSkipReason'](_0x5285e2)==null;}[_0x12a095(0x442)](_0x3d8788){const _0x3a22aa=_0x12a095;var _0x178162;let _0x50635a=this[_0x3a22aa(0x2f6)][_0x3a22aa(0x1cf)](_0x3d8788);if(!_0x50635a)return _0x3a22aa(0x32a);let {subUnitId:_0x28e8db}=_0x50635a,_0x3aa5ae=(_0x178162=this['_univerInstanceService'][_0x3a22aa(0x20f)](_0x3d7cdd[_0x3a22aa(0x198)]))==null?void 0x0:_0x178162[_0x3a22aa(0x316)]();if(!_0x3aa5ae)return _0x3a22aa(0x44b);if(_0x3aa5ae[_0x3a22aa(0x3f3)]()!==_0x28e8db)return _0x3a22aa(0x432);}async[_0x12a095(0x351)](_0x56e474,_0x2ce221,_0x3cc6fc,_0x1228df={}){const _0x40a2d8=_0x12a095;let _0x27ca6f=this['_renderModelManager'][_0x40a2d8(0x2dc)](_0x3978bd);if(!_0x27ca6f)return;let _0x172689=this[_0x40a2d8(0x1fc)][_0x40a2d8(0x1ba)](_0x56e474);if(this[_0x40a2d8(0x1fc)][_0x40a2d8(0x1f4)](_0x56e474,{'config':_0x2ce221,'style':_0x3cc6fc}),this['_getChartRenderSkipReason'](_0x56e474))return;let {canAnimate:_0x124996,renderMode:_0x56206f,shouldStartTransientAnimation:_0x210989,transientAnimationActive:_0x406d97}=this['_prepareDataUpdateRender'](_0x56e474,_0x172689!=null,_0x1228df['animateDataUpdate']===!0x0);if(_0x56206f===_0x3d77fd[_0x40a2d8(0x357)])this[_0x40a2d8(0x1ea)](_0x56e474);else{var _0x43015c;this[_0x40a2d8(0x40d)]['invalidateSnapshot'](_0x56e474),((_0x43015c=this[_0x40a2d8(0x2a4)]['activeChartModel'])==null?void 0x0:_0x43015c['id'])===_0x56e474&&this['_applyActiveChartRuntimeZIndex'](_0x56e474);}let _0x1d4f54=_0x56206f===_0x3d77fd[_0x40a2d8(0x357)]?_0x3d77fd[_0x40a2d8(0x357)]:_0x3d77fd[_0x40a2d8(0x305)],_0x5eea97=await this[_0x40a2d8(0x40d)]['ensureHost'](_0x56e474,_0x1d4f54);if(!_0x5eea97){_0x210989&&this['_deactivateDataUpdateAnimation'](_0x56e474);return;}this[_0x40a2d8(0x40d)][_0x40a2d8(0x3af)](_0x56e474,_0x406d97?_0x4535a3:null);let _0x56a0de=this[_0x40a2d8(0x438)](_0x56e474,_0x1d4f54,_0x27ca6f);_0x56a0de[_0x40a2d8(0x3c6)](_0x5eea97);try{let _0x294151={'chartId':_0x56e474,'config':_0x2ce221,'style':_0x3cc6fc};_0x124996&&_0x172689&&_0x56a0de[_0x40a2d8(0x38a)]?await _0x56a0de['renderTransition']({'chartId':_0x56e474,'config':_0x172689['config'],'style':_0x172689['style']},_0x294151,{'duration':_0x4535a3}):await _0x56a0de[_0x40a2d8(0x351)](_0x294151),await this[_0x40a2d8(0x328)](_0x56e474,_0x56206f,_0x56a0de),_0x124996&&_0x406d97&&this['_scheduleDataUpdateAnimationEnd'](_0x56e474);}catch(_0x21e8b6){if(_0x210989&&this[_0x40a2d8(0x1de)](_0x56e474),_0x56206f!==_0x3d77fd['Image'])throw _0x21e8b6;}}async[_0x12a095(0x328)](_0x41b517,_0x3da012,_0x5a3ec9){const _0x34f75e=_0x12a095;var _0x4ff7cf;if(_0x3da012!==_0x3d77fd[_0x34f75e(0x305)]||((_0x4ff7cf=this[_0x34f75e(0x2a4)][_0x34f75e(0x301)])==null?void 0x0:_0x4ff7cf['id'])!==_0x41b517)return;let _0x258a9a=await this[_0x34f75e(0x40d)][_0x34f75e(0x3b8)](_0x41b517,_0x3d77fd[_0x34f75e(0x357)]);if(!_0x258a9a)return;let _0x511985=_0x258a9a[_0x34f75e(0x329)]();try{let _0x1ae98f=await _0x5a3ec9[_0x34f75e(0x23f)]();_0x1ae98f&&_0x258a9a[_0x34f75e(0x1d5)]({'type':_0x1107df['Url'],'url':_0x1ae98f},_0x511985)&&_0x258a9a[_0x34f75e(0x36d)]();}catch{}}[_0x12a095(0x3d8)](_0x317914,_0x5109d6,_0x3328b6){const _0x3ef0de=_0x12a095;let _0x2e39ed=this['_resolveChartRenderMode'](_0x317914),_0x4f2d92=_0x2e39ed===_0x3d77fd[_0x3ef0de(0x305)]&&_0x3328b6&&_0x5109d6&&this[_0x3ef0de(0x2e8)](_0x317914),_0x20500a=this[_0x3ef0de(0x376)][_0x3ef0de(0x335)](_0x317914);return{'canAnimate':_0x4f2d92,'renderMode':_0x20500a?_0x3d77fd[_0x3ef0de(0x305)]:_0x2e39ed,'shouldStartTransientAnimation':!0x1,'transientAnimationActive':_0x20500a};}['_canAnimateDataUpdate'](_0x5db0a1){const _0xd74b7a=_0x12a095;var _0x49521d,_0x59aa7c,_0x1f7906,_0xe13515;if(typeof document>'u'||typeof window>'u'||document[_0xd74b7a(0x208)]==='hidden'||(_0x49521d=(_0x59aa7c=window)[_0xd74b7a(0x43a)])!=null&&(_0x49521d=_0x49521d['call'](_0x59aa7c,_0xd74b7a(0x372)))!=null&&_0x49521d[_0xd74b7a(0x374)]||(_0x1f7906=(_0xe13515=window)[_0xd74b7a(0x43a)])!=null&&(_0x1f7906=_0x1f7906[_0xd74b7a(0x23b)](_0xe13515,_0xd74b7a(0x2bc)))!=null&&_0x1f7906['matches'])return!0x1;let _0x2d5c22=this['_chartHostProvider']['getHostClientRect'](_0x5db0a1);return _0x2d5c22!=null&&_0x2d5c22['width']>0x0&&_0x2d5c22[_0xd74b7a(0x19a)]>0x0&&_0x2d5c22[_0xd74b7a(0x2a9)]>0x0&&_0x2d5c22[_0xd74b7a(0x1d1)]>0x0&&_0x2d5c22[_0xd74b7a(0x19d)]<window[_0xd74b7a(0x39f)]&&_0x2d5c22[_0xd74b7a(0x1c8)]<window['innerHeight'];}[_0x12a095(0x275)](_0x556aac){const _0x1a8119=_0x12a095;let _0x44f110=this[_0x1a8119(0x369)][_0x1a8119(0x1ba)](_0x556aac);_0x44f110&&(clearTimeout(_0x44f110),this[_0x1a8119(0x369)][_0x1a8119(0x40f)](_0x556aac)),this['_dataUpdateAnimationChartIds'][_0x1a8119(0x1c4)](_0x556aac),this[_0x1a8119(0x40d)]['setDataUpdateAnimation'](_0x556aac,_0x4535a3);}[_0x12a095(0x240)](_0xa8cda){const _0x3e89ea=_0x12a095;let _0x35b6e5=this['_dataUpdateAnimationTimers'][_0x3e89ea(0x1ba)](_0xa8cda);_0x35b6e5&&clearTimeout(_0x35b6e5);let _0x4425b8=setTimeout(()=>{const _0x7a415d=_0x3e89ea;this[_0x7a415d(0x369)]['delete'](_0xa8cda),this['_dataUpdateAnimationChartIds'][_0x7a415d(0x40f)](_0xa8cda)&&(this[_0x7a415d(0x40d)][_0x7a415d(0x3af)](_0xa8cda,null),this[_0x7a415d(0x1ea)](_0xa8cda),this[_0x7a415d(0x1ad)](_0xa8cda));},_0x4535a3);this[_0x3e89ea(0x369)][_0x3e89ea(0x1f4)](_0xa8cda,_0x4425b8);}[_0x12a095(0x1de)](_0x3e2019){const _0x43084d=_0x12a095;let _0x42850e=this[_0x43084d(0x369)][_0x43084d(0x1ba)](_0x3e2019);_0x42850e&&(clearTimeout(_0x42850e),this[_0x43084d(0x369)][_0x43084d(0x40f)](_0x3e2019)),this[_0x43084d(0x376)][_0x43084d(0x40f)](_0x3e2019),this[_0x43084d(0x40d)]['setDataUpdateAnimation'](_0x3e2019,null);}async[_0x12a095(0x298)](_0x4e1cdc,_0x49335a,_0x281c1c){const _0x85f51f=_0x12a095;let _0x50c5ba=this[_0x85f51f(0x1b9)][_0x85f51f(0x22b)](_0x4e1cdc,_0x49335a),_0x301cf8=this[_0x85f51f(0x1b9)][_0x85f51f(0x430)](_0x4e1cdc,_0x49335a),_0x5b4563=Object['values'](_0x50c5ba??{})[_0x85f51f(0x302)](_0x5e5ad0=>_0x5e5ad0[_0x85f51f(0x31f)]===_0x14b323[_0x85f51f(0x3b3)]&&_0x5e5ad0[_0x85f51f(0x414)]!==!0x0);await Promise[_0x85f51f(0x456)](_0x5b4563[_0x85f51f(0x379)](async _0x55deed=>{const _0x313a6e=_0x85f51f;let _0x5580b4=await this[_0x313a6e(0x2d8)](_0x55deed,_0x301cf8);_0x5580b4&&(_0x281c1c[_0x313a6e(0x2ee)](_0x5580b4,_0x26bfca),_0x55deed[_0x313a6e(0x41c)]&&_0x4b1007({'drawingId':_0x55deed[_0x313a6e(0x41c)],'unitId':_0x4e1cdc,'subUnitId':_0x49335a},_0x5580b4,_0x281c1c,this[_0x313a6e(0x1b9)]));}));}async['_createPrintingChartObject'](_0x3a2108,_0x27965f){const _0x2f450c=_0x12a095;let _0x35c463=this[_0x2f450c(0x2a4)][_0x2f450c(0x1e6)](_0x3a2108[_0x2f450c(0x283)]),_0x4780c3=this[_0x2f450c(0x3d2)][_0x2f450c(0x2dc)](_0x3978bd),_0x196464=_0x3a2108[_0x2f450c(0x368)],_0x36011f=_0x35c463==null?void 0x0:_0x35c463['config'];if(!_0x35c463||!_0x4780c3||!_0x196464||!_0x36011f||_0x196464[_0x2f450c(0x412)]==null||_0x196464[_0x2f450c(0x19a)]==null)return null;let _0x2a1ed4=new xi(_0x3a2108['drawingId'],{'width':_0x196464[_0x2f450c(0x412)],'height':_0x196464[_0x2f450c(0x19a)]}),_0x40722b=_0x4780c3[_0x2f450c(0x431)](_0x3d77fd[_0x2f450c(0x357)],this[_0x2f450c(0x1dc)]());_0x40722b['bind'](_0x2a1ed4);let _0xf2183c;try{await _0x40722b[_0x2f450c(0x351)]({'chartId':_0x3a2108[_0x2f450c(0x283)],'config':_0x36011f,'style':this[_0x2f450c(0x42a)](_0x35c463,this[_0x2f450c(0x30c)][_0x2f450c(0x19f)]())});}catch(_0x19454c){console[_0x2f450c(0x3ab)](_0x2f450c(0x264),_0x19454c);}finally{_0xf2183c=_0x2a1ed4[_0x2f450c(0x1fe)](),_0x40722b[_0x2f450c(0x326)](),_0x2a1ed4[_0x2f450c(0x326)]();}let _0x3ea474=this['_chartSnapshotStoreService'][_0x2f450c(0x332)]({'unitId':_0x3a2108[_0x2f450c(0x2d5)],'subUnitId':_0x3a2108['subUnitId'],'chartId':_0x3a2108[_0x2f450c(0x283)]}),_0x422a33=_0xf2183c??_0x3ea474;if(!_0x422a33)return null;let _0x53f790=_0x27965f[_0x2f450c(0x2c7)](_0x3a2108[_0x2f450c(0x283)]);return new si(_0x3c039e(_0x3a2108),{..._0x196464,..._0x2808c5,..._i(_0x2a1ed4['style']),'visible':!0x0,'zIndex':_0x53f790===-0x1?Math['max'](_0x27965f['length']-0x1,0x0):_0x53f790},()=>_0x422a33,void 0x0,_0xf2183c?()=>G(_0xf2183c):void 0x0);}[_0x12a095(0x438)](_0x2d2ca2,_0x20e4a7,_0xcd3ba9){const _0x141214=_0x12a095;let _0x1f3627=this[_0x141214(0x1b5)]['get'](_0x2d2ca2);if((_0x1f3627==null?void 0x0:_0x1f3627[_0x141214(0x1bf)])===_0x20e4a7)return _0x1f3627;_0x1f3627&&(this[_0x141214(0x23a)](_0x2d2ca2),_0x1f3627[_0x141214(0x326)](),this['_chartInstanceMap'][_0x141214(0x40f)](_0x2d2ca2));let _0x18ceda=_0xcd3ba9[_0x141214(0x431)](_0x20e4a7,this[_0x141214(0x1dc)]());return this[_0x141214(0x1b5)]['set'](_0x2d2ca2,_0x18ceda),_0x18ceda[_0x141214(0x1e9)](this[_0x141214(0x2ca)][_0x141214(0x1ba)](_0x2d2ca2)===!0x0),this[_0x141214(0x3eb)](_0x2d2ca2,_0x18ceda),_0x18ceda;}['_createChartRenderInstanceContext'](){const _0x1ce404=_0x12a095;return{'resolveHostStyle':({style:_0x585cc3})=>_0x378598({'style':_0x585cc3,'getRenderColor':_0x254108=>this[_0x1ce404(0x26a)][_0x1ce404(0x421)](_0x254108)}),'resolveRenderBackgroundColor':({style:_0xe88256})=>this[_0x1ce404(0x26a)][_0x1ce404(0x421)](_0x309d34(_0xe88256))};}['_disposeChartChangeListeners'](_0x2d42f0){const _0x45fcf4=_0x12a095;var _0xe121cd,_0xd0e86e,_0x528fea;(_0xe121cd=this['_chartChangeSubscriptions'][_0x45fcf4(0x1ba)](_0x2d42f0))==null||_0xe121cd[_0x45fcf4(0x326)](),this['_chartChangeSubscriptions'][_0x45fcf4(0x40f)](_0x2d42f0),(_0xd0e86e=this['_renderDebounceMap'][_0x45fcf4(0x1ba)](_0x2d42f0))==null||_0xd0e86e[_0x45fcf4(0x22d)](),this[_0x45fcf4(0x2b0)][_0x45fcf4(0x40f)](_0x2d42f0),(_0x528fea=this[_0x45fcf4(0x1f7)][_0x45fcf4(0x1ba)](_0x2d42f0))==null||_0x528fea[_0x45fcf4(0x22d)](),this[_0x45fcf4(0x1f7)][_0x45fcf4(0x40f)](_0x2d42f0);}[_0x12a095(0x1b2)](){const _0x4a42fb=_0x12a095;this[_0x4a42fb(0x2b0)][_0x4a42fb(0x3ec)](_0x27f77e=>_0x27f77e[_0x4a42fb(0x22d)]()),this[_0x4a42fb(0x2b0)]['clear'](),this[_0x4a42fb(0x1f7)]['forEach'](_0x57a264=>_0x57a264[_0x4a42fb(0x22d)]()),this[_0x4a42fb(0x1f7)]['clear']();}[_0x12a095(0x326)](){const _0x3b0f8c=_0x12a095;this['_chartChangeSubscriptions']['forEach'](_0x452607=>_0x452607[_0x3b0f8c(0x326)]()),this[_0x3b0f8c(0x278)][_0x3b0f8c(0x1e3)](),this[_0x3b0f8c(0x369)][_0x3b0f8c(0x3ec)](_0x59d14b=>clearTimeout(_0x59d14b)),this[_0x3b0f8c(0x369)][_0x3b0f8c(0x1e3)](),this[_0x3b0f8c(0x376)]['clear'](),Array[_0x3b0f8c(0x245)](this[_0x3b0f8c(0x1b5)][_0x3b0f8c(0x2e2)]())[_0x3b0f8c(0x3ec)](_0x4927da=>this['_disposeChartRenderInstance'](_0x4927da)),this['_chartElementEditMode']['clear'](),this[_0x3b0f8c(0x1b2)](),this[_0x3b0f8c(0x1fc)]['clear'](),this['_activeChartId']=null,this[_0x3b0f8c(0x212)]=null,super[_0x3b0f8c(0x326)]();}};J=q([K(0x0,yi),K(0x1,_0x4958ff(_0x7df4f2)),K(0x2,_0x4958ff(_0x336038)),K(0x3,_0x2725f1),K(0x4,_0x1001a8),K(0x5,_0x4958ff(_0x24875d)),K(0x6,_0x4958ff(_0x1af081)),K(0x7,_0x4958ff(_0x1e0717)),K(0x8,_0x4958ff(_0x73b74b)),K(0x9,_0x4958ff(_0x2caa52)),K(0xa,_0x503adb),K(0xb,_0x4958ff(di)),K(0xc,_0x3e5d3b)],J);const Y=_0x245770('sheets-chart.ui.service');let Ci=class extends _0x8bb9ad{constructor(_0x37c188,_0x448c61,_0x198008,_0x239836,_0xcf5f57){const _0x581a5e=_0x12a095;super(_0xcf5f57),this[_0x581a5e(0x2a4)]=_0x37c188,this[_0x581a5e(0x288)]=_0x448c61,this[_0x581a5e(0x367)]=_0x198008,this[_0x581a5e(0x29d)]=_0x239836,W(this,_0x581a5e(0x308),!0x1),W(this,'_chartEditorOpen$',new _0x3d1c7e(!0x1)),W(this,'_panelRoute$',new _0x3d1c7e(null)),W(this,'chartEditorOpen$',this[_0x581a5e(0x249)][_0x581a5e(0x24f)]()),W(this,_0x581a5e(0x396),this[_0x581a5e(0x25b)][_0x581a5e(0x24f)]());}get[_0x12a095(0x23c)](){const _0x546ce8=_0x12a095;return this[_0x546ce8(0x2a4)][_0x546ce8(0x301)]??null;}get['chartEditorOpen'](){const _0x431c45=_0x12a095;return this[_0x431c45(0x249)][_0x431c45(0x3ba)]();}get[_0x12a095(0x23d)](){return this['_rangeSelectMode'];}[_0x12a095(0x411)](_0x466a3a){const _0x310036=_0x12a095;this[_0x310036(0x308)]=_0x466a3a;}[_0x12a095(0x40b)](_0x15409c){const _0x1e9a1e=_0x12a095;this[_0x1e9a1e(0x249)][_0x1e9a1e(0x3ba)]()!==_0x15409c&&this[_0x1e9a1e(0x249)][_0x1e9a1e(0x3ac)](_0x15409c);}[_0x12a095(0x334)](_0x13f0c1){const _0x35ac24=_0x12a095;var _0x440911;return this['chartEditorOpen']&&((_0x440911=this[_0x35ac24(0x2a4)]['activeChartModel'])==null?void 0x0:_0x440911['id'])===_0x13f0c1;}[_0x12a095(0x2f5)](_0x90d56f,_0x4f6a26){const _0x22fbaa=_0x12a095;this[_0x22fbaa(0x25b)][_0x22fbaa(0x3ac)]({'chartId':_0x90d56f,'route':_0x4f6a26});}[_0x12a095(0x331)](){const _0x2fc6b6=_0x12a095;this[_0x2fc6b6(0x25b)][_0x2fc6b6(0x3ac)](null);}[_0x12a095(0x358)](_0x129a46){const _0x3cfed8=_0x12a095;let _0x330123=this['_chartModelService'][_0x3cfed8(0x301)];_0x330123&&this[_0x3cfed8(0x38f)]({'chartModelId':_0x330123['id'],'range':_0x129a46});}['setOrientation'](_0x2b68c1){const _0x4ff316=_0x12a095;let _0x397c3b=this[_0x4ff316(0x2a4)][_0x4ff316(0x301)];if(!_0x397c3b)return;let _0xb41bd6=this[_0x4ff316(0x288)][_0x4ff316(0x392)](_0x397c3b['id']);if(!_0xb41bd6||Array[_0x4ff316(0x248)](_0xb41bd6))return;let _0x2d9d03={..._0xb41bd6,'isRowDirection':_0x2b68c1===_0x19fc34['Row']};this[_0x4ff316(0x38f)]({'chartModelId':_0x397c3b['id'],'range':_0x2d9d03});}[_0x12a095(0x2f2)](_0x5a9d64){const _0x210eab=_0x12a095;var _0x5bb7df;this[_0x210eab(0x367)][_0x210eab(0x1df)](_0x17cfd2['id'],{..._0x5a9d64,'unitId':((_0x5bb7df=this[_0x210eab(0x29d)][_0x210eab(0x3e1)]())==null?void 0x0:_0x5bb7df[_0x210eab(0x270)]())??''});}[_0x12a095(0x38f)](_0x19b2f){const _0x1ad26b=_0x12a095;var _0x268275;this['_commandService'][_0x1ad26b(0x1df)](_0x2320a5['id'],{..._0x19b2f,'unitId':((_0x268275=this['_univerInstanceService'][_0x1ad26b(0x3e1)]())==null?void 0x0:_0x268275[_0x1ad26b(0x270)]())??''});}[_0x12a095(0x326)](){const _0x39f1f7=_0x12a095;this['_chartEditorOpen$'][_0x39f1f7(0x406)](),this['_panelRoute$'][_0x39f1f7(0x406)](),super[_0x39f1f7(0x326)]();}};Ci=q([K(0x0,_0x4958ff(_0x336038)),K(0x1,_0x4958ff(_0x3bc38a)),K(0x2,_0x35e06d),K(0x3,_0x1001a8),K(0x4,_0x4958ff(_0x4bc7d3))],Ci);var wi;const Ti={'axis':{..._0x405fca,'primaryGridLineVisible':!0x1,'secondaryGridLineVisible':!0x0},'funnel':_0x197864,'heatmap':_0x2c54fb,'indicatorLine':_0x34208f,'legend':_0x1339d4,'lineAndArea':_0x43018d,'pareto':_0x1838fc,'pie':_0x18ae22,'relation':{..._0x137716,'useValueAsSymbolSize':!0x0},'radar':_0x221b56,'series':{..._0x562b0e,'radarFillOpacity':0.2,'rightAxis':{'ltr':!0x1,'rtl':((wi=_0x2a2a9f[_0x12a095(0x403)])==null?void 0x0:wi[_0x12a095(0x22f)])??!0x1}},'style':_0x146de9,'titles':_0x1375ee,'trendline':_0x483179,'waterfall':{..._0x5ed089,'useSubtotal':!0x0},'waterfallStyle':_0x4fc5f0,'wordCloud':_0x2efede},Ei=_0x3acbc2=>_0x3acbc2['getCurrentUnitOfType'](_0x3d7cdd[_0x12a095(0x198)])['getUnitId'](),Di=_0x568414=>{const _0x17c927=_0x12a095;var _0x3e0a9a;return(_0x3e0a9a=_0x568414[_0x17c927(0x20f)](_0x3d7cdd['UNIVER_SHEET'])[_0x17c927(0x316)]())==null?void 0x0:_0x3e0a9a['getSheetId']();},Oi=[_0x26b265[_0x12a095(0x20c)],_0x26b265[_0x12a095(0x2d3)],_0x26b265['WordCloud'],_0x26b265[_0x12a095(0x21d)],_0x26b265[_0x12a095(0x38d)],_0x26b265['Relation'],_0x26b265['Sankey'],_0x26b265['Heatmap'],_0x26b265['Boxplot'],_0x26b265[_0x12a095(0x1b3)],_0x26b265['Histogram'],_0x26b265[_0x12a095(0x3c8)],_0x26b265['Sunburst'],_0x26b265[_0x12a095(0x1b8)],_0x26b265[_0x12a095(0x3cc)]];function ki(){const _0x379282=_0x12a095;let _0x401edf=_0x1e3b17(),_0x2e449e=Oi[_0x379282(0x3bc)](_0x4b0520=>!_0x2784af['baseOn'](_0x401edf,_0x4b0520));return _0x169a6b(_0x2773db,{'visible':_0x2e449e});}const Ai=_0x3a6a3e=>{const _0x583600=_0x12a095;var _0x4fc642;let _0x5a39de=_0x38563e(Y),_0x22627c=_0x38563e(_0x336038),_0x414481=_0x38563e(_0x1af081),_0x554d9a=_0x38563e(_0x1e0717),_0x14b2ec=_0x211e16(_0x554d9a),_0x3e2365=_0x1b323c(()=>{const _0x427010=_0x5965;let _0xc67e35=Wr(Hr[_0x427010(0x197)](),_0x14b2ec);return _0x55e910(_0xc67e35[_0x427010(0x379)](_0x3919c5=>({'id':_0x3919c5['id'],'label':_0x414481['t'](_0x427010(0x194)+_0x3919c5[_0x427010(0x1ed)]),'pieSecondaryPlotType':_0x3919c5[_0x427010(0x2c5)],'value':_0x3919c5[_0x427010(0x3f5)]})));},[_0x14b2ec,_0x414481]),_0x4fcec4=_0x1e1407(_0x22627c['activeChartModel$'],_0x22627c[_0x583600(0x301)]),_0x303125=_0x1e1407(_0x4fcec4==null?void 0x0:_0x4fcec4['context$'],_0x4fcec4==null?void 0x0:_0x4fcec4[_0x583600(0x280)]),_0x4252c5=_0x1e1407(_0x4fcec4==null?void 0x0:_0x4fcec4[_0x583600(0x2c6)],_0x4fcec4==null?void 0x0:_0x4fcec4['dataSource']),_0x5bc132=_0x1e1407(_0x4252c5==null?void 0x0:_0x4252c5[_0x583600(0x43b)],_0x4252c5==null?void 0x0:_0x4252c5[_0x583600(0x2d1)]()),_0xb95d77=Array[_0x583600(0x248)](_0x5bc132),_0x3f78d6=_0x5bc132&&!_0xb95d77&&_0x5bc132[_0x583600(0x35f)]?_0x19fc34[_0x583600(0x26b)]:_0x19fc34[_0x583600(0x27d)],_0x5b8244=_0xb95d77?(_0x4fc642=_0x5bc132[0x0])==null?void 0x0:_0x4fc642[_0x583600(0x2b9)]:_0x5bc132==null?void 0x0:_0x5bc132[_0x583600(0x2dd)];return _0x5ae8f5(_0x583600(0x449),{'className':_0x583600(0x25d),'children':[_0x169a6b(_0x33421f,{'options':_0x3e2365}),_0x169a6b(_0x5968dd,{}),_0x169a6b(_0x2a2587,{}),_0x169a6b(ki,{}),_0x169a6b(_0x5ec054,{}),_0x169a6b(ji,{'dataRange':_0x5bc132,'primaryRange':_0x5b8244}),_0x169a6b(_0x330d9a,{'categoryToggleLabel':_0x414481['t']('sheets-chart-ui.common.useAsCategoryLabels',_0x3f78d6===_0x19fc34[_0x583600(0x26b)]?_0x3f78d6+'\x20'+(((_0x5b8244==null?void 0x0:_0x5b8244[_0x583600(0x2b9)]['startRow'])??0x0)+0x1):_0x3f78d6+'\x20'+_0x3888ab((_0x5b8244==null?void 0x0:_0x5b8244[_0x583600(0x2b9)][_0x583600(0x42c)])??0x0)),'orientationControl':_0xb95d77?void 0x0:_0x169a6b(_0x4d3674,{'size':_0x583600(0x427),'onClick':()=>_0x5a39de['setOrientation'](_0x3f78d6===_0x19fc34[_0x583600(0x26b)]?_0x19fc34[_0x583600(0x27d)]:_0x19fc34[_0x583600(0x26b)]),'children':_0x414481['t'](_0x583600(0x1ac))})}),_0x169a6b(_0xbdcff5,{}),_0x169a6b(_0x32a913,{'defaultValues':_0x3a6a3e[_0x583600(0x388)][_0x583600(0x211)]}),_0x169a6b(_0x4036d0,{'checked':(_0x303125==null?void 0x0:_0x303125[_0x583600(0x370)])===!0x1,'disabled':!_0x4fcec4,'onChange':_0x2aa53f=>{const _0x203582=_0x583600;_0x4fcec4&&_0x5a39de[_0x203582(0x2f2)]({'chartModelId':_0x4fcec4['id'],'context':{'plotVisibleOnly':!_0x2aa53f}});},'children':_0x414481['t'](_0x583600(0x44c))})]});};function ji(_0x4ce657){const _0x5b4773=_0x12a095;let {dataRange:_0x5392bf,primaryRange:_0x2410d1}=_0x4ce657,_0x10e1e3=_0x38563e(Y),_0x417017=_0x38563e(_0x1af081),_0x25524b=_0x38563e(_0x1001a8),_0x2e5986=_0x38563e(_0x3245fa),[_0x4be6a8,_0x49ac29]=_0x1cf90f(!0x1),[_0x47b8e6,_0xff0fec]=_0x1cf90f(!0x1),[_0x551db3,_0x1dc850]=_0x1cf90f(),_0x3c3d33=Ei(_0x25524b),_0x54689c=Di(_0x25524b),_0x3938cb=_0x5392bf?Br(_0x5392bf,_0x25524b):'',_0x439242=_0x32c7b4(_0x3938cb),_0x381835=_0x32c7b4(void 0x0),_0x48a6da=_0x32c7b4(null);_0x4c475f(()=>{const _0x35af67=_0x5965;_0x10e1e3[_0x35af67(0x411)](_0x4be6a8),_0x2e5986[_0x35af67(0x45a)](_0x16da5d,_0x4be6a8);},[_0x2e5986,_0x4be6a8,_0x10e1e3]),_0x4c475f(()=>()=>{const _0x1ce3a8=_0x5965;_0x10e1e3['setRangeSelectMode'](!0x1),_0x2e5986[_0x1ce3a8(0x45a)](_0x16da5d,!0x1);},[_0x2e5986,_0x10e1e3]);let _0x371bc1=_0x284529(_0xab9a9e=>{const _0x4aab64=_0x5965;var _0x210bec;if(Br(_0x5392bf,_0x25524b)===_0xab9a9e)return _0x1dc850(void 0x0),!0x0;let _0x8366fa=_0xab9a9e[_0x4aab64(0x3d4)](_0x195300[_0x4aab64(0x242)]);if(!_0xab9a9e['trim']()||_0x8366fa['length']!==0x1||!((_0x210bec=_0x48a6da[_0x4aab64(0x426)])!=null&&_0x210bec[_0x4aab64(0x37d)]()))return _0x1dc850(_0x417017['t'](_0x4aab64(0x349))),!0x1;let {unitId:_0x5f3826,sheetName:_0x40b67d,range:_0x54838c}=_0x374c57(_0x8366fa[0x0]),_0x1411a5=_0x5f3826||_0x3c3d33,_0x3e9fb6=_0x25524b[_0x4aab64(0x3ed)](_0x1411a5),_0x501002=(_0x2410d1==null?void 0x0:_0x2410d1[_0x4aab64(0x2d5)])===_0x1411a5?_0x2410d1[_0x4aab64(0x365)]:_0x54689c,_0xc49b09=_0x40b67d?_0x3e9fb6==null?void 0x0:_0x3e9fb6[_0x4aab64(0x274)](_0x40b67d):_0x3e9fb6==null?void 0x0:_0x3e9fb6['getSheetBySheetId'](_0x501002??'');return!_0x3e9fb6||!_0xc49b09||!_0x858ad1(_0x54838c,_0xc49b09)?(_0x1dc850(_0x417017['t'](_0x4aab64(0x349))),!0x1):(_0x1dc850(void 0x0),_0x10e1e3[_0x4aab64(0x358)]({'rangeInfo':{'range':_0x54838c,'unitId':_0x1411a5,'subUnitId':_0xc49b09[_0x4aab64(0x3f3)]()}}),!0x0);},[_0x5392bf,_0x417017,_0x2410d1,_0x10e1e3,_0x54689c,_0x3c3d33,_0x25524b]),_0x3e2701=_0x1b323c(()=>({'keyCodes':[{'keyCode':_0xa792ee[_0x5b4773(0x26c)],'nativeTextEditorBehavior':_0x1bb10b['OVERRIDE_NATIVE']}],'handler':_0x5cb318=>{const _0x3d6718=_0x5b4773;_0x5cb318===_0xa792ee[_0x3d6718(0x26c)]&&_0x371bc1(_0x439242['current'])&&(_0x381835[_0x3d6718(0x426)]=_0x439242[_0x3d6718(0x426)]);}}),[_0x371bc1]);return _0x169a6b('div',{'className':'univer-flex\x20univer-flex-col\x20univer-gap-3','children':_0x5ae8f5('div',{'children':[_0x169a6b(_0x145d6d,{'title':_0x417017['t']('sheets-chart-ui.common.dataRange')}),_0x169a6b(_0x2bd8d1,{'supportAcrossSheet':!0x0,'keepSheetReference':!0x0,'maxRangeCount':0x1,'unitId':_0x3c3d33,'subUnitId':_0x54689c,'initialValue':_0x3938cb,'keyboardEventConfig':_0x3e2701,'selectorRef':_0x48a6da,'onChange':(_0x6d725b,_0x2f645c)=>{const _0x3ffc95=_0x5b4773;_0x439242[_0x3ffc95(0x426)]=_0x2f645c,_0x47b8e6&&_0x381835[_0x3ffc95(0x426)]!==_0x2f645c&&_0x371bc1(_0x2f645c)&&(_0x381835[_0x3ffc95(0x426)]=_0x2f645c);},'onFocusChange':(_0x1789f4,_0x250d8a)=>{const _0x48c05c=_0x5b4773;if(_0x250d8a!==void 0x0&&(_0x439242[_0x48c05c(0x426)]=_0x250d8a),_0x47b8e6||_0x49ac29(_0x1789f4),_0x1789f4)_0x381835[_0x48c05c(0x426)]=_0x439242['current'];else{let _0x99bd80=_0x381835[_0x48c05c(0x426)];_0x381835[_0x48c05c(0x426)]=void 0x0,_0x99bd80!==void 0x0&&_0x439242['current']!==_0x99bd80&&_0x371bc1(_0x439242[_0x48c05c(0x426)]);}},'onRangeSelectorDialogVisibleChange':_0xe08db6=>{_0xff0fec(_0xe08db6),_0x49ac29(_0xe08db6);}}),_0x551db3?_0x169a6b(_0x5b4773(0x449),{'className':_0x5b4773(0x3a7),'children':_0x551db3}):null]})});}function X(_0x510d3c){const _0x5251c5=_0x12a095;return _0x5ae8f5(_0x7a23d3,{'id':_0x510d3c['id'],'children':[_0x169a6b(_0x2f15c0,{'children':_0x510d3c[_0x5251c5(0x363)]}),_0x169a6b(_0x239515,{'children':_0x510d3c[_0x5251c5(0x265)]})]});}const Mi=_0x1f4612=>{const _0x4c0b52=_0x12a095;let _0x32dadf=_0x38563e(_0x1af081),_0x140f13=_0x38563e(Y),_0x2c85c1=_0x38563e(_0x336038),_0x29cab7=_0x1e1407(_0x2c85c1[_0x4c0b52(0x383)],_0x2c85c1['activeChartModel']),_0x1526a6=_0x1e1407(_0x140f13[_0x4c0b52(0x396)],null),_0x24f2f3=_0x1526a6&&_0x1526a6['chartId']===(_0x29cab7==null?void 0x0:_0x29cab7['id'])?_0x1526a6['route']:null,_0x273544=_0x1e3b17(),_0x522c5b=_0x411688(),[_0x28a8c2,_0x365e7a]=_0x1cf90f(null);_0x4c475f(()=>{const _0xc741c8=_0x4c0b52;_0x24f2f3!=null&&_0x24f2f3[_0xc741c8(0x1cd)]&&_0x365e7a(_0x24f2f3[_0xc741c8(0x1cd)]);},[_0x24f2f3]);let _0x17f014=_0x2784af[_0x4c0b52(0x218)](_0x273544,_0x26b265[_0x4c0b52(0x43f)]),_0x103c83=_0x273544===_0x26b265[_0x4c0b52(0x2d3)],_0xc05eab=_0x273544===_0x26b265['WordCloud'],_0x46532e=_0x273544===_0x26b265[_0x4c0b52(0x38d)],_0x9f10a3=_0x2784af['baseOn'](_0x273544,_0x26b265[_0x4c0b52(0x35b)]),_0x43536b=_0x273544===_0x26b265[_0x4c0b52(0x29e)],_0x23e673=_0x273544===_0x26b265[_0x4c0b52(0x247)],_0x281e73=_0x273544===_0x26b265[_0x4c0b52(0x2f9)],_0x1c7e22=_0x273544===_0x26b265['Heatmap'],_0x5c7996,_0x189acf;switch(_0x273544){case _0x26b265[_0x4c0b52(0x1b3)]:_0x5c7996=_0x241836[_0x4c0b52(0x1b3)],_0x189acf=_0x32dadf['t']('sheets-chart-ui.section.candlestick');break;case _0x26b265[_0x4c0b52(0x2af)]:_0x5c7996=_0x241836[_0x4c0b52(0x2af)],_0x189acf=_0x32dadf['t']('sheets-chart-ui.section.histogram');break;case _0x26b265['Treemap']:_0x5c7996=_0x241836['Treemap'],_0x189acf=_0x32dadf['t'](_0x4c0b52(0x441));break;case _0x26b265[_0x4c0b52(0x223)]:_0x5c7996=_0x241836[_0x4c0b52(0x223)],_0x189acf=_0x32dadf['t'](_0x4c0b52(0x1d0));break;case _0x26b265[_0x4c0b52(0x1b8)]:_0x5c7996=_0x241836[_0x4c0b52(0x1b8)],_0x189acf=_0x32dadf['t']('sheets-chart-ui.section.gauge');break;case _0x26b265[_0x4c0b52(0x3cc)]:_0x5c7996=_0x241836[_0x4c0b52(0x3cc)],_0x189acf=_0x32dadf['t'](_0x4c0b52(0x1fa));}let _0x34b652=_0x811d48(_0x273544,_0x39a589[_0x4c0b52(0x3fc)])&&!_0x9f10a3&&!_0x281e73;return _0x5ae8f5(_0xe09dd0,{'value':_0x28a8c2,'onChange':_0x365e7a,'children':[_0x169a6b(X,{'id':_0x241836['ChartStyle'],'label':_0x32dadf['t'](_0x4c0b52(0x3ca)),'children':_0x169a6b(_0x45ed7e,{'defaultValues':_0x1f4612[_0x4c0b52(0x388)]['style']})}),_0x169a6b(X,{'id':_0x241836[_0x4c0b52(0x2b3)],'label':_0x32dadf['t'](_0x4c0b52(0x31e)),'children':_0x169a6b(_0x269a25,{'commitMode':_0x4c0b52(0x2b4),'defaultValues':_0x1f4612[_0x4c0b52(0x388)][_0x4c0b52(0x3bd)],'selectedTitleKey':_0x24f2f3==null?void 0x0:_0x24f2f3['titleKey']})}),_0x34b652&&_0x169a6b(X,{'id':_0x241836['Series'],'label':_0x32dadf['t'](_0x4c0b52(0x425)),'children':_0x169a6b(_0x1570f1,{'defaultValues':_0x1f4612[_0x4c0b52(0x388)]['series'],'NumberFormatField':_0x1a721e,'selectedSeriesId':_0x24f2f3==null?void 0x0:_0x24f2f3['seriesId']})}),_0x23e673&&_0x169a6b(X,{'id':_0x241836[_0x4c0b52(0x2aa)],'label':_0x32dadf['t']('sheets-chart-ui.section.waterfall'),'children':_0x169a6b(_0x1605e8,{'defaultValues':_0x1f4612[_0x4c0b52(0x388)][_0x4c0b52(0x2de)],'getDefaultBucketName':({seriesName:_0x39afff,target:_0x46666b})=>_0x46666b===_0x5c29f7['Subtotal']?_0x32dadf['t']('sheets-chart-ui.waterfall.subtotal'):_0x39afff?_0x39afff+'-('+_0x32dadf['t'](_0x46666b===_0x5c29f7[_0x4c0b52(0x235)]?_0x4c0b52(0x21c):_0x4c0b52(0x29a))+')':'','NumberFormatField':_0x1a721e,'selectedSeriesId':_0x24f2f3==null?void 0x0:_0x24f2f3[_0x4c0b52(0x1f6)]})}),_0x281e73&&_0x5ae8f5(_0x3a4ba4,{'children':[_0x169a6b(X,{'id':_0x241836[_0x4c0b52(0x207)],'label':_0x32dadf['t'](_0x4c0b52(0x1b6)),'children':_0x169a6b(_0x177112,{'defaultValues':_0x1f4612['defaultValues'][_0x4c0b52(0x286)],'NumberFormatField':_0x1a721e,'showDataPointEditor':!0x0,'target':_0x4c0b52(0x1c1)})}),_0x169a6b(X,{'id':_0x241836[_0x4c0b52(0x230)],'label':_0x32dadf['t'](_0x4c0b52(0x443)),'children':_0x169a6b(_0x177112,{'defaultValues':_0x1f4612[_0x4c0b52(0x388)]['pareto'],'NumberFormatField':_0x1a721e,'showDataPointEditor':!0x1,'target':'cumulativeLineStyle'})})]}),_0x17f014&&_0x169a6b(X,{'id':_0x241836[_0x4c0b52(0x291)],'label':_0x32dadf['t'](_0x4c0b52(0x279)),'children':_0x169a6b(_0x566935,{'defaultValues':_0x1f4612['defaultValues'][_0x4c0b52(0x1a3)],'NumberFormatField':_0x1a721e})}),_0xc05eab&&_0x169a6b(X,{'id':_0x241836[_0x4c0b52(0x205)],'label':_0x32dadf['t'](_0x4c0b52(0x37b)),'children':_0x169a6b(_0x15e41d,{'defaultValues':_0x1f4612[_0x4c0b52(0x388)][_0x4c0b52(0x2f8)]})}),_0x103c83&&_0x169a6b(X,{'id':_0x241836[_0x4c0b52(0x2d3)],'label':_0x32dadf['t'](_0x4c0b52(0x21a)),'children':_0x169a6b(_0x32d6a7,{'defaultValues':_0x1f4612[_0x4c0b52(0x388)][_0x4c0b52(0x384)]})}),_0x46532e&&_0x169a6b(X,{'id':_0x241836[_0x4c0b52(0x38d)],'label':_0x32dadf['t'](_0x4c0b52(0x1a7)),'children':_0x169a6b(_0x4f0d06,{'defaultValues':_0x1f4612['defaultValues'][_0x4c0b52(0x1e2)],'gapControl':_0x4c0b52(0x3be)})}),_0x1c7e22&&_0x169a6b(X,{'id':_0x241836[_0x4c0b52(0x26e)],'label':_0x32dadf['t'](_0x4c0b52(0x3a9)),'children':_0x169a6b(_0x37a7a7,{'defaultValues':_0x1f4612[_0x4c0b52(0x388)][_0x4c0b52(0x40a)]})}),_0x43536b&&_0x169a6b(X,{'id':_0x241836[_0x4c0b52(0x29e)],'label':_0x32dadf['t'](_0x4c0b52(0x36f)),'children':_0x169a6b(_0x126deb,{'defaultValues':_0x1f4612['defaultValues'][_0x4c0b52(0x239)]})}),_0x265cb3(_0x273544)&&_0x169a6b(X,{'id':_0x241836[_0x4c0b52(0x2cd)],'label':_0x32dadf['t']('sheets-chart-ui.section.lineAndArea'),'children':_0x169a6b(_0x11d45d,{'defaultValues':_0x1f4612[_0x4c0b52(0x388)][_0x4c0b52(0x39c)],'lineStyleControl':'segmented'})}),_0x811d48(_0x273544,_0x39a589[_0x4c0b52(0x385)])&&_0x169a6b(X,{'id':_0x241836[_0x4c0b52(0x385)],'label':_0x32dadf['t'](_0x4c0b52(0x23e)),'children':_0x169a6b(_0x125aa5,{'defaultValues':_0x1f4612['defaultValues'][_0x4c0b52(0x2fa)]})}),_0x811d48(_0x273544,_0x39a589['Axes'])&&_0x5ae8f5(_0x3a4ba4,{'children':[_0x169a6b(X,{'id':_0x241836['HorizontalAxis'],'label':_0x32dadf['t'](_0x4c0b52(0x36b)),'children':_0x169a6b(_0x596645,{'axis':'x','defaultValues':_0x1f4612[_0x4c0b52(0x388)][_0x4c0b52(0x41f)],'NumberFormatField':_0x1a721e})}),_0x169a6b(X,{'id':_0x241836[_0x4c0b52(0x22c)],'label':_0x32dadf['t'](_0x4c0b52(0x3f8)),'children':_0x169a6b(_0x596645,{'axis':'y','defaultValues':_0x1f4612['defaultValues'][_0x4c0b52(0x41f)],'NumberFormatField':_0x1a721e})}),_0x522c5b&&_0x169a6b(X,{'id':_0x241836[_0x4c0b52(0x2c0)],'label':_0x32dadf['t'](_0x4c0b52(0x423)),'children':_0x169a6b(_0x596645,{'axis':'rightY','defaultValues':_0x1f4612['defaultValues']['axis'],'NumberFormatField':_0x1a721e})}),_0x169a6b(X,{'id':_0x241836[_0x4c0b52(0x192)],'label':_0x32dadf['t'](_0x4c0b52(0x1a1)),'children':_0x169a6b(_0x33fbc5,{'defaultValues':_0x1f4612['defaultValues'][_0x4c0b52(0x41f)]})})]}),_0x811d48(_0x273544,_0x39a589[_0x4c0b52(0x1dd)])&&_0x169a6b(X,{'id':_0x241836['IndicatorLine'],'label':_0x32dadf['t'](_0x4c0b52(0x281)),'children':_0x169a6b(_0x4d43e8,{'defaultValues':_0x1f4612[_0x4c0b52(0x388)][_0x4c0b52(0x3d0)]})}),_0x55d2e7(_0x273544)&&_0x169a6b(X,{'id':_0x241836[_0x4c0b52(0x3db)],'label':_0x32dadf['t']('sheets-chart-ui.common.trendline'),'children':_0x169a6b(_0x431f18,{'defaultValues':_0x1f4612[_0x4c0b52(0x388)][_0x4c0b52(0x3b7)]})}),_0x5c7996&&_0x189acf&&_0x169a6b(X,{'id':_0x5c7996,'label':_0x189acf,'children':_0x169a6b(_0x1b2ea5,{})})]});};function Ni(_0x2d4e1f){const _0x2c81f1=_0x12a095;let {className:_0x243efa}=_0x2d4e1f,[_0x3e8e72,_0x2c1131]=_0x1cf90f(_0x19006c[_0x2c81f1(0x1b4)]),_0x5b95ad=_0x38563e(_0x1e0717),_0x7e6225=_0x38563e(_0x1af081),_0x46134d=_0x38563e(Y),_0x3878b4=_0x38563e(_0x336038),_0x338171=_0x38563e(_0x3bc38a),_0x52306f=_0x1e1407(_0x3878b4['activeChartModel$'],_0x3878b4['activeChartModel']),_0x36e4de=_0x1e1407(_0x46134d[_0x2c81f1(0x396)],null),_0xa4a761=_0x1b323c(()=>{const _0x2b185b=_0x2c81f1;var _0x34ef4c;if(!_0x52306f)return null;let _0x28e199=_0x338171[_0x2b185b(0x392)](_0x52306f['id']);if(!_0x28e199)return null;let _0x5db122=Array['isArray'](_0x28e199)?(_0x34ef4c=_0x28e199[0x0])==null?void 0x0:_0x34ef4c[_0x2b185b(0x2b9)]:_0x28e199[_0x2b185b(0x2dd)];return _0x5db122?new _0x311210(_0x52306f,new _0x101322({'unitId':_0x5db122['unitId'],'subUnitId':_0x5db122['subUnitId'],'chartId':_0x52306f['id'],'injector':_0x5b95ad})):null;},[_0x52306f,_0x5b95ad,_0x338171]);if(_0x4c475f(()=>{const _0x1e7858=_0x2c81f1;var _0x1a73f7,_0x4f69aa;_0x52306f&&(_0x36e4de==null?void 0x0:_0x36e4de['chartId'])===_0x52306f['id']&&(((_0x1a73f7=_0x36e4de[_0x1e7858(0x254)])==null?void 0x0:_0x1a73f7['tab'])===_0x19006c[_0x1e7858(0x319)]&&_0x2c1131(_0x19006c[_0x1e7858(0x319)]),((_0x4f69aa=_0x36e4de[_0x1e7858(0x254)])==null?void 0x0:_0x4f69aa[_0x1e7858(0x2ea)])===_0x19006c[_0x1e7858(0x1b4)]&&_0x2c1131(_0x19006c[_0x1e7858(0x1b4)]));},[_0x52306f,_0x36e4de]),!_0xa4a761)return null;let _0x3a189d=_0x5ae8f5(_0x2c81f1(0x449),{'className':_0x2c81f1(0x20a)+(_0x3e8e72===_0x19006c[_0x2c81f1(0x319)]?'univer-overflow-visible':'univer-overflow-hidden')+_0x2c81f1(0x244)+(_0x243efa??'')+_0x2c81f1(0x27f),'children':[_0x169a6b(_0x5adf90,{'ariaLabel':_0x7e6225['t'](_0x2c81f1(0x199)),'className':'univer-shrink-0','items':[{'label':_0x7e6225['t'](_0x2c81f1(0x42d)),'panelId':Pi,'value':_0x19006c[_0x2c81f1(0x1b4)]},{'label':_0x7e6225['t']('sheets-chart-ui.common.customize'),'panelId':Fi,'value':_0x19006c[_0x2c81f1(0x319)]}],'value':_0x3e8e72,'onChange':_0x2c1131}),_0x3e8e72===_0x19006c[_0x2c81f1(0x1b4)]?_0x169a6b(_0x440c48,{'id':Pi,'label':_0x7e6225['t']('sheets-chart-ui.common.setup'),'children':_0x169a6b(Ai,{'defaultValues':Ti})}):_0x169a6b(_0x440c48,{'id':Fi,'className':_0x2c81f1(0x25e),'label':_0x7e6225['t']('sheets-chart-ui.common.customize'),'children':_0x169a6b(Mi,{'defaultValues':Ti})})]});return _0x169a6b(_0x34ba25,{'chartUIService':_0x46134d,'hostAdapter':_0xa4a761,'children':_0x3a189d});}const Z=_0x12a095(0x3a8),Pi=_0x12a095(0x35c),Fi=_0x12a095(0x3cf);function Ii(_0x4a15c0){return _0x4a15c0['length']===0x1&&Li(_0x4a15c0[0x0]);}function Li(_0x2afc26){const _0xb0d3b8=_0x12a095;return(_0x2afc26==null?void 0x0:_0x2afc26[_0xb0d3b8(0x31f)])===_0x14b323[_0xb0d3b8(0x3b3)]&&!_0x2afc26['groupId'];}let Ri=class extends _0x570089{constructor(_0x48ea2d,_0x4bf449,_0x1ca4ab,_0x3f63c8,_0x1d706a,_0x4e713e,_0x48cf39,_0x328a56,_0x58b424,_0x583b2d,_0x2ae790,_0x283ce8,_0x2e13f0,_0x240bfa,_0x2f9c4b){const _0x47d557=_0x12a095;var _0x123dc9;super(),this[_0x47d557(0x1b9)]=_0x48ea2d,this[_0x47d557(0x29d)]=_0x4bf449,this['_chartModelService']=_0x1ca4ab,this['_sheetsChartService']=_0x3f63c8,this[_0x47d557(0x409)]=_0x1d706a,this[_0x47d557(0x1a0)]=_0x4e713e,this['_sidebarService']=_0x48cf39,this[_0x47d557(0x401)]=_0x328a56,this[_0x47d557(0x2f6)]=_0x58b424,this[_0x47d557(0x451)]=_0x583b2d,this[_0x47d557(0x367)]=_0x2ae790,this[_0x47d557(0x2e9)]=_0x283ce8,this['_contextService']=_0x2e13f0,this['_localeService']=_0x240bfa,W(this,'_sidebarDisposable',null),W(this,_0x47d557(0x20d),void 0x0),this['_isChartElementEditEnabled']=((_0x123dc9=_0x2f9c4b[_0x47d557(0x2c4)](_0x47d557(0x1d2)))==null?void 0x0:_0x123dc9['enableChartElementFloatMenu'])===!0x0,this[_0x47d557(0x1f5)](),this['disposeWithMe'](this[_0x47d557(0x29d)][_0x47d557(0x3de)](_0x3d7cdd[_0x47d557(0x198)])['subscribe'](_0x156032=>{const _0x49be82=_0x47d557;var _0x3a3811;_0x156032||(_0x3a3811=this[_0x49be82(0x41b)])==null||_0x3a3811[_0x49be82(0x326)]();})),this['disposeWithMe'](_0x3a3010(this['_sheetDrawingHitTestService'][_0x47d557(0x1ee)]['subscribe'](async({drawing:_0x5800a1})=>{const _0x23f83b=_0x47d557;await this[_0x23f83b(0x1d4)](_0x5800a1);})));}[_0x12a095(0x293)](){const _0x46d532=_0x12a095;this[_0x46d532(0x41b)]=this[_0x46d532(0x1b0)][_0x46d532(0x2c1)]({'id':Z,'header':{'title':this['_localeService']['t'](_0x46d532(0x199))},'width':0x154,'children':{'label':Z},'onClose':()=>{const _0x55acc0=_0x46d532;this['_sidebarDisposable']=null,this[_0x55acc0(0x394)](),this[_0x55acc0(0x2a4)][_0x55acc0(0x301)]&&this['_chartModelService']['setActiveChartModel'](null),this['_drawingManagerService']['focusDrawing'](null),this[_0x55acc0(0x306)][_0x55acc0(0x45a)](_0x5c7b8c,!0x1);}});}[_0x12a095(0x2ad)](){const _0x1c3831=_0x12a095;let _0x22c142=this['_sidebarDisposable'];this[_0x1c3831(0x41b)]=null,this[_0x1c3831(0x394)](),this[_0x1c3831(0x2a4)][_0x1c3831(0x301)]&&this['_chartModelService'][_0x1c3831(0x45b)](null),_0x22c142==null||_0x22c142[_0x1c3831(0x326)]();}[_0x12a095(0x261)](){const _0x5be94d=_0x12a095;let _0x314219=this['_univerInstanceService']['getCurrentUnitOfType'](_0x3d7cdd[_0x5be94d(0x198)]);this[_0x5be94d(0x241)](this[_0x5be94d(0x1b0)][_0x5be94d(0x38c)][_0x5be94d(0x195)](_0x286527=>{const _0x15b349=_0x5be94d;_0x286527['id']==='sheet.chart.edit.panel'&&(_0x286527[_0x15b349(0x3e5)]||this['_sidebarService'][_0x15b349(0x38c)][_0x15b349(0x3ac)]({'visible':!0x1}));})),this[_0x5be94d(0x241)](_0x341663([this[_0x5be94d(0x2a4)]['activeChartModel$'],this['_sheetsChartUIService'][_0x5be94d(0x362)]])[_0x5be94d(0x25f)](_0x32cf6e(([_0x1057f8,_0x467ec7])=>_0x467ec7?(_0x1057f8==null?void 0x0:_0x1057f8['id'])??null:null),_0x5776be(),_0x4bc10c(null),_0x2e3a6a())['subscribe'](([_0x20f6b2,_0xdbbd8])=>{const _0x59b3e3=_0x5be94d;this[_0x59b3e3(0x3b1)](_0x20f6b2,_0xdbbd8);})),this['disposeWithMe'](this[_0x5be94d(0x2a4)][_0x5be94d(0x383)]['subscribe'](_0x316749=>{const _0x1080cb=_0x5be94d;!_0x316749&&this['_sidebarDisposable']&&this[_0x1080cb(0x2ad)]();})),this[_0x5be94d(0x241)](this[_0x5be94d(0x367)]['onCommandExecuted'](_0x22d862=>{const _0x13ef19=_0x5be94d;if(_0x22d862['id']===H['id']){let _0x2c68a4=_0x22d862[_0x13ef19(0x3b0)];if(!Li(this[_0x13ef19(0x1b9)][_0x13ef19(0x190)]({'unitId':_0x2c68a4['unitId'],'subUnitId':_0x2c68a4[_0x13ef19(0x365)],'drawingId':_0x2c68a4['drawingId']})))return;this[_0x13ef19(0x337)](_0x2c68a4[_0x13ef19(0x283)],_0x2c68a4[_0x13ef19(0x254)]);}if(_0x22d862['id']===Nr['id']&&this[_0x13ef19(0x2ad)](),_0x22d862['id']===_0x2eb031['id']){var _0x26c447;_0x22d862[_0x13ef19(0x3b0)][_0x13ef19(0x31a)]===((_0x26c447=this[_0x13ef19(0x2a4)]['activeChartModel'])==null?void 0x0:_0x26c447['id'])&&this[_0x13ef19(0x2ad)](),this['_contextService'][_0x13ef19(0x2a1)](_0x5c7b8c)&&(this[_0x13ef19(0x306)][_0x13ef19(0x45a)](_0x5c7b8c,!0x1),this['_drawingManagerService'][_0x13ef19(0x1d3)](null));}})),this[_0x5be94d(0x241)](this[_0x5be94d(0x2f6)][_0x5be94d(0x1eb)][_0x5be94d(0x195)](({id:_0x3c74a0})=>{const _0x4baa93=_0x5be94d;this[_0x4baa93(0x2e9)][_0x4baa93(0x334)](_0x3c74a0)&&this['hidePanel']();})),this[_0x5be94d(0x241)](this[_0x5be94d(0x2f6)][_0x5be94d(0x43c)]['subscribe'](({id:_0x535de3})=>{const _0x491b8e=_0x5be94d;this[_0x491b8e(0x2e9)][_0x491b8e(0x334)](_0x535de3)&&(this['_sheetsChartUIService'][_0x491b8e(0x331)](),this[_0x491b8e(0x409)][_0x491b8e(0x1e9)](_0x535de3,!0x1),this[_0x491b8e(0x447)](_0x535de3)&&this[_0x491b8e(0x409)][_0x491b8e(0x1e9)](_0x535de3,!0x0));})),this[_0x5be94d(0x241)](this[_0x5be94d(0x1b9)][_0x5be94d(0x282)][_0x5be94d(0x195)](_0x29085a=>{const _0x30670e=_0x5be94d;let _0x58824f=_0x29085a[0x0];if(!this[_0x30670e(0x2e9)][_0x30670e(0x23d)]){if(Ii(_0x29085a)){var _0xd70a8f;let _0x15d784=this[_0x30670e(0x2a4)][_0x30670e(0x1e6)](_0x58824f[_0x30670e(0x283)]);_0x15d784&&this['_isOwnedChart'](_0x15d784['id'])&&((_0xd70a8f=this[_0x30670e(0x2a4)][_0x30670e(0x301)])==null?void 0x0:_0xd70a8f['id'])!==_0x15d784['id']&&this['_chartModelService']['setActiveChartModel'](_0x15d784);return;}this[_0x30670e(0x2a4)]['activeChartModel']&&this['_chartModelService'][_0x30670e(0x45b)](null),!_0x58824f&&!this[_0x30670e(0x2e9)][_0x30670e(0x23d)]&&this[_0x30670e(0x2ad)]();}})),_0x314219&&(this[_0x5be94d(0x241)](_0x314219[_0x5be94d(0x2f0)]['subscribe'](()=>{const _0xd25ad0=_0x5be94d;this[_0xd25ad0(0x2ad)]();})),this['disposeWithMe'](_0x314219[_0x5be94d(0x350)][_0x5be94d(0x195)](()=>{const _0x4eff2d=_0x5be94d;this[_0x4eff2d(0x2ad)]();})));}async['_handleDrawingDoubleClick'](_0x549fe7){const _0x1e91c5=_0x12a095;this['_sheetsChartUIService'][_0x1e91c5(0x44a)]||Li(_0x549fe7)&&this[_0x1e91c5(0x454)](_0x549fe7['drawingId'])&&await this[_0x1e91c5(0x416)](_0x549fe7['unitId'],_0x549fe7[_0x1e91c5(0x365)],_0x549fe7[_0x1e91c5(0x283)]);}async['_openEditPanelByDoubleClick'](_0x3f12d6,_0xe89f26,_0x4a9a14){const _0x307f57=_0x12a095;this[_0x307f57(0x2a4)][_0x307f57(0x1e6)](_0x4a9a14)&&this[_0x307f57(0x454)](_0x4a9a14)&&await this[_0x307f57(0x367)][_0x307f57(0x1df)](H['id'],{'unitId':_0x3f12d6,'subUnitId':_0xe89f26,'drawingId':_0x4a9a14});}['openChartPanelById'](_0x2a1f31,_0x5e69b6){const _0x334833=_0x12a095;let _0x41e7b0=this[_0x334833(0x2a4)]['getChartModel'](_0x2a1f31);_0x41e7b0&&this[_0x334833(0x454)](_0x2a1f31)&&(this[_0x334833(0x2a4)]['setActiveChartModel'](_0x41e7b0),this[_0x334833(0x293)](),this[_0x334833(0x435)](_0x2a1f31,_0x5e69b6??null));}[_0x12a095(0x435)](_0x3b7259,_0x4e331a){const _0xbcc5fd=_0x12a095;this['_sheetsChartUIService'][_0xbcc5fd(0x40b)](!0x0),this['_sheetsChartUIService'][_0xbcc5fd(0x2f5)](_0x3b7259,_0x4e331a);}[_0x12a095(0x394)](){const _0x3de6ca=_0x12a095;this[_0x3de6ca(0x2e9)]['setChartEditorOpen'](!0x1);}['_syncActiveEditChart'](_0x5815e7,_0x5db627){const _0x14f39c=_0x12a095;_0x5815e7!==_0x5db627&&(_0x5815e7&&this['_chartRenderService'][_0x14f39c(0x1e9)](_0x5815e7,!0x1),this[_0x14f39c(0x2e9)]['clearPanelRoute'](),_0x5db627&&(this['_sheetsChartUIService']['setPanelRoute'](_0x5db627,null),this[_0x14f39c(0x409)][_0x14f39c(0x1e9)](_0x5db627,this[_0x14f39c(0x447)](_0x5db627))));}[_0x12a095(0x1f5)](){const _0x184373=_0x12a095;this[_0x184373(0x401)][_0x184373(0x444)](Zr),this['_sheetCanvasPopManagerService'][_0x184373(0x324)](_0x14b323[_0x184373(0x3b3)],this['getChartPopupMenus']['bind'](this));}['_shouldEnableChartElementEdit'](_0xaa11c4){const _0x437798=_0x12a095;let _0x4cb4a2=this[_0x437798(0x2a4)]['getChartModel'](_0xaa11c4);return!this[_0x437798(0x20d)]||!_0x4cb4a2||!this[_0x437798(0x454)](_0xaa11c4)?!0x1:$r(_0x4cb4a2[_0x437798(0x424)]);}[_0x12a095(0x439)](_0x4acaab,_0xf2e0b5,_0x6c0b77,_0x4e1675){const _0x506465=_0x12a095;if(!this[_0x506465(0x2a4)]['getChartModel'](_0x6c0b77))return[];let _0x3f2e20=[{'label':this['_localeService']['t'](_0x506465(0x359)),'index':0x0,'commandId':H['id'],'commandParams':{'unitId':_0x4acaab,'subUnitId':_0xf2e0b5,'drawingId':_0x6c0b77},'disable':_0x4e1675!==_0x14b323['DRAWING_CHART']}];return this[_0x506465(0x454)](_0x6c0b77)?[..._0x3f2e20,{'label':this[_0x506465(0x30c)]['t'](_0x506465(0x28b)),'index':0x1,'commandId':_0x2cfac4['id'],'commandParams':{'unitId':_0x4acaab,'drawings':[{'unitId':_0x4acaab,'subUnitId':_0xf2e0b5,'drawingId':_0x6c0b77,'drawingType':_0x4e1675}]},'disable':!0x1},{'label':this[_0x506465(0x30c)]['t'](_0x506465(0x1c5)),'index':0x2,'commandId':Nr['id'],'commandParams':{'unitId':_0x4acaab,'subUnitId':_0xf2e0b5,'drawingId':_0x6c0b77},'disable':!0x1}]:_0x3f2e20;}[_0x12a095(0x454)](_0x2f8500){const _0x37a119=_0x12a095;return this['_sheetsChartService'][_0x37a119(0x392)](_0x2f8500)!==void 0x0;}};Ri=q([K(0x0,_0x2725f1),K(0x1,_0x1001a8),K(0x2,_0x4958ff(_0x336038)),K(0x3,_0x4958ff(_0x3bc38a)),K(0x4,_0x4958ff(J)),K(0x5,_0x4958ff(_0x53aee1)),K(0x6,_0x4958ff(_0x1eff62)),K(0x7,_0x2683f7),K(0x8,_0x4958ff(_0x7df4f2)),K(0x9,_0x4958ff(_0x2099c6)),K(0xa,_0x35e06d),K(0xb,Y),K(0xc,_0x3245fa),K(0xd,_0x4958ff(_0x1af081)),K(0xe,_0x503adb)],Ri);var zi=_0x12a095(0x228),Bi=_0x12a095(0x2f1);let Vi=class extends _0x570089{constructor(_0x27d33e,_0x485329){const _0x45386c=_0x12a095;super(),this[_0x45386c(0x1d9)]=_0x27d33e,this[_0x45386c(0x2a4)]=_0x485329,this['_init']();}[_0x12a095(0x2ae)](){const _0x578ac6=_0x12a095;this[_0x578ac6(0x241)](this[_0x578ac6(0x1d9)]['removeHost$']['subscribe'](_0x1d5ca8=>{const _0x27fa64=_0x578ac6;this[_0x27fa64(0x2a4)]['removeChartModel'](_0x1d5ca8);}));}};Vi=q([K(0x0,yi),K(0x1,_0x4958ff(_0x336038))],Vi);let Hi=class extends _0x570089{constructor(_0x5be3c7,_0x970e55,_0x35781f,_0x5b1bb9,_0x1806fc,_0x57eb22){const _0x1a2e9c=_0x12a095;super(),this[_0x1a2e9c(0x2a4)]=_0x5be3c7,this[_0x1a2e9c(0x409)]=_0x970e55,this['_localeService']=_0x35781f,this['_chartUIService']=_0x5b1bb9,this[_0x1a2e9c(0x367)]=_0x1806fc,this['_sheetPrintInterceptorService']=_0x57eb22,W(this,'_pendingMutationConfigRenders',new Map()),W(this,_0x1a2e9c(0x40e),new Set()),this[_0x1a2e9c(0x2ae)](),this[_0x1a2e9c(0x2ed)](),this[_0x1a2e9c(0x33a)]();}[_0x12a095(0x33a)](){const _0x36c0ec=_0x12a095;this[_0x36c0ec(0x241)](this[_0x36c0ec(0x28d)]['interceptor'][_0x36c0ec(0x2da)](this['_sheetPrintInterceptorService'][_0x36c0ec(0x446)][_0x36c0ec(0x2f3)]()[_0x36c0ec(0x287)],{'handler':(_0x39a823,_0x2e7ad7,_0x2e9411)=>{const _0x31f9ba=_0x36c0ec;let _0x4aa412=this[_0x31f9ba(0x409)][_0x31f9ba(0x298)](_0x2e7ad7['unitId'],_0x2e7ad7['subUnitId'],_0x2e7ad7[_0x31f9ba(0x250)]);return _0x2e7ad7[_0x31f9ba(0x269)][_0x31f9ba(0x1c4)](_0x4aa412),_0x2e9411(_0x39a823);}}));}[_0x12a095(0x2ae)](){const _0x2bfd06=_0x12a095;this[_0x2bfd06(0x241)](this['_chartModelService']['chartModelAdded$']['subscribe'](_0x595697=>{const _0x45002b=_0x2bfd06;if(_0x595697){let _0x5a7c9e=new _0x318945();_0x5a7c9e['add'](_0x595697[_0x45002b(0x2c6)]['pipe'](_0x4ff2e8(_0x5b4784=>_0x5b4784['data$']['pipe'](_0x55400(0x1))))['subscribe'](()=>{const _0x45eed5=_0x45002b;this['_pendingDataUpdateChartIds'][_0x45eed5(0x1c4)](_0x595697['id']);})),_0x5a7c9e[_0x45002b(0x1c4)](_0x595697[_0x45002b(0x3ee)]['pipe'](_0x12af34(_0x595697[_0x45002b(0x39d)]),_0x12af34(this[_0x45002b(0x30c)][_0x45002b(0x2a0)]),_0xf3add6(0x64))[_0x45002b(0x195)](([[_0x5ca96e,_0x3e243a],_0x16cddc])=>{const _0x278956=_0x45002b;var _0x319e59;if(!_0x5ca96e)return;(_0x319e59=_0x5ca96e[_0x278956(0x2e1)])==null||_0x319e59['items'][_0x278956(0x3ec)]((_0x4f0c91,_0x2d6ca2)=>{const _0x9a2f69=_0x278956;_0x4f0c91[_0x9a2f69(0x363)]||=this[_0x9a2f69(0x30c)]['t'](_0x9a2f69(0x3c1))+'\x20'+(_0x2d6ca2+0x1);}),_0x5ca96e[_0x278956(0x2c8)][_0x278956(0x3ec)]((_0x490711,_0x518abd)=>{_0x490711['name']||=this['_localeService']['t']('sheets-chart-ui.chord.target')+'\x20'+(_0x518abd+0x1);});let _0x5e5bd8=this['_chartRenderService'][_0x278956(0x42a)](_0x595697,_0x16cddc),_0x43f605=this[_0x278956(0x40e)]['delete'](_0x595697['id']);this[_0x278956(0x409)]['render'](_0x595697['id'],_0x5ca96e,_0x5e5bd8,{'animateDataUpdate':_0x43f605});})),_0x595697[_0x45002b(0x2ab)](()=>{const _0x264ee7=_0x45002b;this['_pendingDataUpdateChartIds'][_0x264ee7(0x40f)](_0x595697['id']),_0x5a7c9e[_0x264ee7(0x326)]();});}}));}['_listenChartUpdateMutations'](){const _0x5410f8=_0x12a095;this[_0x5410f8(0x241)](this[_0x5410f8(0x367)][_0x5410f8(0x313)](_0x1f2c46=>{const _0x526a5e=_0x5410f8;if(_0x1f2c46['id']!==_0x80406d['id'])return;let _0x3e6f52=_0x1f2c46[_0x526a5e(0x3b0)];_0x3e6f52!=null&&_0x3e6f52[_0x526a5e(0x422)]&&Promise[_0x526a5e(0x41a)]()[_0x526a5e(0x277)](()=>this[_0x526a5e(0x214)](_0x3e6f52));}));}[_0x12a095(0x214)](_0x3a445b){const _0x56db9d=_0x12a095;let _0x9ba7ed=this[_0x56db9d(0x2a4)][_0x56db9d(0x1e6)](_0x3a445b[_0x56db9d(0x422)]);if(!_0x9ba7ed||_0x9ba7ed[_0x56db9d(0x424)]!==_0x26b265['WordCloud'])return;let _0x4b2a56=_0x9ba7ed[_0x56db9d(0x196)];if(!_0x4b2a56){this[_0x56db9d(0x377)](_0x9ba7ed);return;}this[_0x56db9d(0x273)](_0x9ba7ed,_0x4b2a56);}['_renderWhenConfigReady'](_0x446fee){const _0x2191fc=_0x12a095;if(this[_0x2191fc(0x21f)][_0x2191fc(0x1ba)](_0x446fee['id']))return;let _0x43dedd=_0x446fee[_0x2191fc(0x3ee)][_0x2191fc(0x25f)](_0xb11af9(_0x726883=>_0x726883!=null),_0x29f917(0x1))[_0x2191fc(0x195)](_0x165d10=>{const _0x4f7422=_0x2191fc;this[_0x4f7422(0x21f)][_0x4f7422(0x40f)](_0x446fee['id']),this['_renderChartModel'](_0x446fee,_0x165d10);});this[_0x2191fc(0x21f)][_0x2191fc(0x1f4)](_0x446fee['id'],_0x43dedd),_0x446fee[_0x2191fc(0x2ab)](()=>{const _0x4efec7=_0x2191fc;_0x43dedd[_0x4efec7(0x398)](),this[_0x4efec7(0x21f)][_0x4efec7(0x40f)](_0x446fee['id']);});}[_0x12a095(0x273)](_0x32fe08,_0x420788){const _0x27cc9a=_0x12a095;let _0xf4f612=this['_chartRenderService']['createRuntimeChartStyle'](_0x32fe08,this[_0x27cc9a(0x30c)][_0x27cc9a(0x19f)]());this[_0x27cc9a(0x409)]['render'](_0x32fe08['id'],_0x420788,_0xf4f612);}};Hi=q([K(0x0,_0x4958ff(_0x336038)),K(0x1,_0x4958ff(J)),K(0x2,_0x4958ff(_0x1af081)),K(0x3,Y),K(0x4,_0x35e06d),K(0x5,_0x4958ff(_0x3e85b8))],Hi);function Ui(_0x55d1ca,_0x402b5b){const _0x4dbd8c=_0x12a095;return _0x55d1ca[_0x4dbd8c(0x2d5)]!==_0x402b5b['unitId']||_0x55d1ca[_0x4dbd8c(0x365)]!==_0x402b5b[_0x4dbd8c(0x1a5)]?_0x55d1ca:{..._0x55d1ca,'subUnitId':_0x402b5b[_0x4dbd8c(0x2eb)]};}function Wi(_0x19346d,_0x5b0cd6){const _0x559b9f=_0x12a095;return(_0x19346d==null?void 0x0:_0x19346d[_0x559b9f(0x3d3)])===_0x4c8a10['Reference']?{..._0x19346d,'source':Ui(_0x19346d[_0x559b9f(0x3ff)],_0x5b0cd6)}:_0x19346d;}function Gi(_0x5966ec,_0x337ff8){const _0xa31f8a=_0x12a095;let {rangeInfo:_0x46838c}=_0x5966ec;return Array[_0xa31f8a(0x248)](_0x46838c)?{..._0x5966ec,'rangeInfo':_0x46838c[_0xa31f8a(0x379)](_0x9ede0d=>({..._0x9ede0d,..._0x9ede0d[_0xa31f8a(0x217)]?{'header':Wi(_0x9ede0d['header'],_0x337ff8)}:{},'range':Ui(_0x9ede0d[_0xa31f8a(0x2b9)],_0x337ff8)}))}:{..._0x5966ec,'rangeInfo':{..._0x46838c,..._0x46838c['header']?{'header':{..._0x46838c[_0xa31f8a(0x217)],..._0x46838c[_0xa31f8a(0x217)][_0xa31f8a(0x3bd)]?{'titles':Ki(_0x46838c['header']['titles'],_0x337ff8)}:{}}}:{},'rangeInfo':Ui(_0x46838c[_0xa31f8a(0x2dd)],_0x337ff8)}};}function Ki(_0x2047f8,_0x30e990){const _0x53181f=_0x12a095;return _0x2047f8[_0x53181f(0x3d3)]===_0x4c8a10['Literals']?{..._0x2047f8,'values':{..._0x2047f8['values']}}:_0x2047f8[_0x53181f(0x3d3)]===_0x4c8a10[_0x53181f(0x32f)]?{..._0x2047f8,'values':Object[_0x53181f(0x1e5)](Object[_0x53181f(0x1aa)](_0x2047f8[_0x53181f(0x29c)])['map'](([_0x17fa83,_0x56c18d])=>[_0x17fa83,_0x56c18d&&Ui(_0x56c18d,_0x30e990)]))}:{..._0x2047f8,'values':Object['fromEntries'](Object[_0x53181f(0x1aa)](_0x2047f8['values'])['map'](([_0x138daf,_0x4e3246])=>[_0x138daf,_0x4e3246&&Wi(_0x4e3246,_0x30e990)]))};}function qi(_0x591c4f,_0x33c59b,_0x2adcb0,_0x4849d3){const _0x4e79f4=_0x12a095;let _0x46b8e3=_0x832b49(_0x591c4f,_0x33c59b,_0x2adcb0),_0x51eb0f=[];for(let _0xe6ac9a of _0x33c59b){let _0x559ca2=_0x46b8e3['idMap'][_0x4e79f4(0x1ba)](_0xe6ac9a[_0x4e79f4(0x283)]),_0x35ba49=_0x4849d3(_0xe6ac9a);_0x559ca2&&_0x35ba49&&_0x51eb0f[_0x4e79f4(0x333)]({'targetChartId':_0x559ca2,'source':Gi(_0x35ba49,_0x2adcb0)});}return _0x51eb0f;}let Ji=class extends _0x570089{constructor(_0x58db1b,_0x1df57f,_0x5d88c0,_0x4088b7,_0x419788){const _0x58decb=_0x12a095;super(),this[_0x58decb(0x29d)]=_0x58db1b,this[_0x58decb(0x386)]=_0x1df57f,this[_0x58decb(0x399)]=_0x5d88c0,this[_0x58decb(0x2a4)]=_0x4088b7,this[_0x58decb(0x288)]=_0x419788,this['_initSheetChange']();}[_0x12a095(0x2ff)](){const _0x47296e=_0x12a095;this['disposeWithMe'](this[_0x47296e(0x386)][_0x47296e(0x2bf)]({'getMutations':_0x2d4733=>{const _0x36d2c3=_0x47296e;if(_0x2d4733['id']===_0x1f8f8c['id']){let _0x4af49d=_0x5b7f98(this[_0x36d2c3(0x29d)],_0x2d4733[_0x36d2c3(0x3b0)]);if(!_0x4af49d)return{'redos':[],'undos':[]};let {unitId:_0x59373f,subUnitId:_0x4f1c88}=_0x4af49d,_0x5a5849=this[_0x36d2c3(0x399)]['getDrawingData'](_0x59373f,_0x4f1c88),_0x58d2ed=Object[_0x36d2c3(0x29c)](_0x5a5849)['filter'](_0x4bc404=>_0x4bc404[_0x36d2c3(0x31f)]===_0x14b323['DRAWING_CHART']);if(_0x58d2ed['length']===0x0)return{'redos':[],'undos':[]};let _0x1e17bc=[],_0x54bf94=[];for(let _0x267871=0x0;_0x267871<_0x58d2ed['length'];_0x267871++){let _0x4086b4=_0x58d2ed[_0x267871],_0xc0e494=this[_0x36d2c3(0x2a4)][_0x36d2c3(0x1e6)](_0x4086b4[_0x36d2c3(0x283)]);if(!_0xc0e494)continue;let _0x1e2bf8=this[_0x36d2c3(0x288)]['getChartSourceSpec'](_0xc0e494['id']);if(!_0x1e2bf8)continue;let {chartType:_0x51af97,context:_0x272cd7,style:_0x5ded7e,dataAggregation:_0x593f8b}=_0xc0e494[_0x36d2c3(0x1c9)]();_0x1e17bc[_0x36d2c3(0x333)]({'id':_0x2eb031['id'],'params':{'unitId':_0x59373f,'subUnitId':_0x4f1c88,'chartId':_0x4086b4[_0x36d2c3(0x283)]}}),_0x54bf94[_0x36d2c3(0x333)]({'id':_0x5b425e['id'],'params':{'unitId':_0x59373f,'subUnitId':_0x4f1c88,'chartId':_0x4086b4[_0x36d2c3(0x283)],'chartType':_0x51af97,..._0x2ca872(_0x1e2bf8),'context':_0x272cd7,'style':_0x5ded7e,'dataAggregation':_0x593f8b}});}return{'redos':_0x1e17bc,'undos':_0x54bf94};}if(_0x2d4733['id']===_0x3bb7b3['id']){let {unitId:_0x4a9bf2,subUnitId:_0x6c6aec,targetSubUnitId:_0x3a93b1,copyContext:_0x3a2554}=_0x2d4733[_0x36d2c3(0x3b0)];if(!_0x4a9bf2||!_0x6c6aec||!_0x3a93b1)return{'redos':[],'undos':[]};let _0x8c5ceb=this[_0x36d2c3(0x399)][_0x36d2c3(0x22b)](_0x4a9bf2,_0x6c6aec),_0x94d417=Object[_0x36d2c3(0x29c)](_0x8c5ceb)['filter'](_0x524702=>_0x524702[_0x36d2c3(0x31f)]===_0x14b323['DRAWING_CHART']);if(_0x94d417[_0x36d2c3(0x222)]===0x0)return{'redos':[],'undos':[]};let _0x1d8f7c=qi(_0x3a2554,_0x94d417,{'unitId':_0x4a9bf2,'sourceSubUnitId':_0x6c6aec,'targetSubUnitId':_0x3a93b1},_0x5bae46=>{const _0x57342a=_0x36d2c3;let _0x3e21da=this[_0x57342a(0x2a4)][_0x57342a(0x1e6)](_0x5bae46[_0x57342a(0x283)]);if(!_0x3e21da)return;let _0x2a8216=this[_0x57342a(0x288)]['getChartSourceSpec'](_0x3e21da['id']);if(!_0x2a8216)return;let {chartType:_0x4432a5,context:_0xbd9d9f,style:_0x3b9322,dataAggregation:_0x3b1271}=_0x3e21da['serialize']();return{'rangeInfo':_0x2a8216,'chartType':_0x4432a5,'context':_0xbd9d9f,'style':_0x3b9322,'dataAggregation':_0x3b1271};}),_0x258e19=[],_0x38fed8=[];for(let {targetChartId:_0x1ffd36,source:_0x328ee8}of _0x1d8f7c){let {rangeInfo:_0x2a1656,chartType:_0x38ce08,context:_0x192d70,style:_0x68b69e,dataAggregation:_0x3a795b}=_0x328ee8;_0x258e19[_0x36d2c3(0x333)]({'id':_0x5b425e['id'],'params':{'unitId':_0x4a9bf2,'subUnitId':_0x3a93b1,'chartId':_0x1ffd36,'chartType':_0x38ce08,..._0x2ca872(_0x2a1656),'context':_0x192d70,'style':_0x68b69e,'dataAggregation':_0x3a795b}}),_0x38fed8[_0x36d2c3(0x333)]({'id':_0x2eb031['id'],'params':{'unitId':_0x4a9bf2,'subUnitId':_0x3a93b1,'chartId':_0x1ffd36}});}return{'redos':_0x258e19,'undos':_0x38fed8};}return{'redos':[],'undos':[]};}}));}};Ji=q([K(0x0,_0x4958ff(_0x1001a8)),K(0x1,_0x4958ff(_0x348462)),K(0x2,_0x4958ff(_0x268a19)),K(0x3,_0x4958ff(_0x336038)),K(0x4,_0x4958ff(_0x3bc38a))],Ji);const Yi=_0x2b846f=>_0x2b846f['getCurrentUnitOfType'](_0x3d7cdd[_0x12a095(0x198)])[_0x12a095(0x270)](),Xi=_0x4efa1e=>{const _0xc12e95=_0x12a095;var _0x2ce397;return(_0x2ce397=_0x4efa1e[_0xc12e95(0x20f)](_0x3d7cdd[_0xc12e95(0x198)])[_0xc12e95(0x316)]())==null?void 0x0:_0x2ce397[_0xc12e95(0x3f3)]();},Zi=[_0x26b265['Line'],_0x26b265[_0x12a095(0x2d3)],_0x26b265[_0x12a095(0x205)],_0x26b265[_0x12a095(0x21d)],_0x26b265[_0x12a095(0x38d)],_0x26b265[_0x12a095(0x29e)],_0x26b265[_0x12a095(0x1e4)],_0x26b265[_0x12a095(0x26e)],_0x26b265[_0x12a095(0x3fb)],_0x26b265[_0x12a095(0x1b3)],_0x26b265[_0x12a095(0x2af)],_0x26b265['Treemap'],_0x26b265[_0x12a095(0x223)],_0x26b265[_0x12a095(0x1b8)],_0x26b265[_0x12a095(0x3cc)]];function Qi(){const _0x4dc1fc=_0x12a095;let _0x259c8b=_0x1e3b17(),_0xb4a252=Zi[_0x4dc1fc(0x3bc)](_0x313d0e=>!_0x2784af[_0x4dc1fc(0x218)](_0x259c8b,_0x313d0e));return _0x169a6b(_0x2773db,{'visible':_0xb4a252});}function $i(_0xd48589){const _0x412edf=_0x12a095;var _0x4f5c65;let _0x6da077=_0x38563e(Y),_0x5b871b=_0x38563e(_0x336038),_0x217123=_0x38563e(_0x3bc38a),_0x46cde0=_0x38563e(_0x1af081),_0x3ddb20=_0x38563e(_0x1e0717),_0x5674bd=_0x211e16(_0x3ddb20),_0x5c2b0c=_0x1b323c(()=>{const _0x29e118=_0x5965;let _0x56c3c0=Wr(Hr['concat'](),_0x5674bd);return _0x55e910(_0x56c3c0['map'](_0x1e2f79=>({'id':_0x1e2f79['id'],'label':_0x46cde0['t'](_0x29e118(0x194)+_0x1e2f79['labelId']),'pieSecondaryPlotType':_0x1e2f79[_0x29e118(0x2c5)],'value':_0x1e2f79[_0x29e118(0x3f5)]})));},[_0x5674bd,_0x46cde0]),_0x1fd34d=_0x1e1407(_0x5b871b[_0x412edf(0x383)],_0x5b871b['activeChartModel']),_0x116fcf=_0x1fd34d?_0x217123['getChartDataSource'](_0x1fd34d['id']):void 0x0,_0x524498=_0x1e1407(_0x116fcf==null?void 0x0:_0x116fcf[_0x412edf(0x43b)],_0x116fcf==null?void 0x0:_0x116fcf[_0x412edf(0x2d1)]()),_0x152f89=Array[_0x412edf(0x248)](_0x524498),_0xe775bb=_0x524498&&!_0x152f89&&_0x524498[_0x412edf(0x35f)]?_0x19fc34[_0x412edf(0x26b)]:_0x19fc34[_0x412edf(0x27d)],_0x41d1b7=_0x152f89?(_0x4f5c65=_0x524498[0x0])==null?void 0x0:_0x4f5c65[_0x412edf(0x2b9)]:_0x524498==null?void 0x0:_0x524498[_0x412edf(0x2dd)];return _0x5ae8f5('div',{'className':_0x412edf(0x25d),'children':[_0x169a6b(_0x33421f,{'options':_0x5c2b0c}),_0x169a6b(_0x5968dd,{}),_0x169a6b(_0x2a2587,{}),_0x169a6b(Qi,{}),_0x169a6b(_0x5ec054,{}),_0x169a6b(ea,{'dataRange':_0x524498,'primaryRange':_0x41d1b7}),_0x169a6b(_0x330d9a,{'categoryToggleLabel':_0x46cde0['t']('sheets-chart-ui.common.useAsCategoryLabels',_0xe775bb===_0x19fc34[_0x412edf(0x26b)]?_0xe775bb+'\x20'+(((_0x41d1b7==null?void 0x0:_0x41d1b7[_0x412edf(0x2b9)][_0x412edf(0x348)])??0x0)+0x1):_0xe775bb+'\x20'+_0x3888ab((_0x41d1b7==null?void 0x0:_0x41d1b7[_0x412edf(0x2b9)][_0x412edf(0x42c)])??0x0)),'orientationControl':_0x152f89?void 0x0:_0x169a6b(_0x4d3674,{'size':_0x412edf(0x427),'onClick':()=>_0x6da077['setOrientation'](_0xe775bb===_0x19fc34[_0x412edf(0x26b)]?_0x19fc34['Column']:_0x19fc34[_0x412edf(0x26b)]),'children':_0x46cde0['t']('sheets-chart-ui.common.switchRowColumn')})}),_0x169a6b(_0xbdcff5,{}),_0x169a6b(_0x32a913,{'defaultValues':_0xd48589[_0x412edf(0x388)][_0x412edf(0x211)]})]});}function ea(_0x254a94){const _0x4c5b5b=_0x12a095;let {dataRange:_0x50988b,primaryRange:_0x2ae04e}=_0x254a94,_0x4ff8aa=_0x38563e(Y),_0x5d95a8=_0x38563e(_0x1af081),_0x9d178a=_0x38563e(_0x1001a8),[_0x4668e9,_0x5c7f89]=_0x1cf90f(!0x1),[_0x7de70b,_0x5c7997]=_0x1cf90f(!0x1),_0x59cb36=Yi(_0x9d178a),_0x37c37c=Xi(_0x9d178a);_0x4c475f(()=>{const _0x55f8b7=_0x5965;_0x4ff8aa[_0x55f8b7(0x411)](_0x4668e9);},[_0x4668e9,_0x4ff8aa]);let _0x33bc3b=_0x1b323c(()=>_0x2fbc58(async _0x3ec09d=>{const _0x28e15c=_0x5965;var _0x57b474;if(Br(_0x50988b,_0x9d178a)===_0x3ec09d)return;let _0x1d0b94=_0x3ec09d[_0x28e15c(0x3d4)](',')[_0x28e15c(0x302)](Boolean)[_0x28e15c(0x379)](_0x374c57)[0x0];if(!_0x1d0b94)return;let {unitId:_0x28d5e0,sheetName:_0x1aedf3,range:_0x406855}=_0x1d0b94,_0x1cebd3=_0x28d5e0||_0x59cb36,_0x3d3db0=((_0x57b474=_0x9d178a[_0x28e15c(0x3ed)](_0x1cebd3)['getSheetBySheetName'](_0x1aedf3))==null?void 0x0:_0x57b474[_0x28e15c(0x3f3)]())||(_0x2ae04e==null?void 0x0:_0x2ae04e[_0x28e15c(0x365)])||_0x37c37c;_0x3d3db0&&_0x4ff8aa[_0x28e15c(0x358)]({'rangeInfo':{'range':_0x406855,'unitId':_0x1cebd3,'subUnitId':_0x3d3db0}});},0x12c,{'leading':!0x1,'maxWait':0x3e8,'trailing':!0x0}),[_0x50988b,_0x2ae04e,_0x4ff8aa,_0x37c37c,_0x59cb36,_0x9d178a]);return _0x4c475f(()=>()=>_0x33bc3b[_0x4c5b5b(0x22d)](),[_0x33bc3b]),_0x169a6b('div',{'className':_0x4c5b5b(0x3ef),'children':_0x5ae8f5(_0x4c5b5b(0x449),{'children':[_0x169a6b(_0x145d6d,{'title':_0x5d95a8['t'](_0x4c5b5b(0x2ce))}),_0x169a6b(_0x2e755b,{'supportAcrossSheet':!0x0,'keepSheetReference':!0x0,'maxRangeCount':0x1,'unitId':_0x59cb36,'subUnitId':_0x37c37c,'initialValue':_0x50988b?Br(_0x50988b,_0x9d178a):'','onChange':(_0x140460,_0x16e36a)=>_0x33bc3b(_0x16e36a),'onFocusChange':_0x2d4428=>{_0x7de70b||_0x5c7f89(_0x2d4428);},'onRangeSelectorDialogVisibleChange':_0x32f7ee=>{_0x5c7997(_0x32f7ee),_0x5c7f89(_0x32f7ee);}})]})});}const ta='mobile-sheet-chart-setup-panel',na='mobile-sheet-chart-style-panel';function ra(){const _0x4a63f3=_0x12a095;let [_0x405a5d,_0x3c55b1]=_0x1cf90f(_0x19006c['Data']),_0xd06e7=_0x38563e(_0x1e0717),_0x389688=_0x38563e(_0x1af081),_0x4d2f6c=_0x38563e(Y),_0x5c194e=_0x38563e(_0x336038),_0x31cb9a=_0x38563e(_0x3bc38a),_0x2e7aaf=_0x1e1407(_0x5c194e[_0x4a63f3(0x383)],_0x5c194e[_0x4a63f3(0x301)]),_0x387593=_0x1e1407(_0x4d2f6c[_0x4a63f3(0x396)],null),_0x408604=_0x1b323c(()=>{const _0x1e6616=_0x4a63f3;var _0xba6df0;if(!_0x2e7aaf)return null;let _0x37bfc5=_0x31cb9a[_0x1e6616(0x392)](_0x2e7aaf['id']);if(!_0x37bfc5)return null;let _0x46d50d=Array[_0x1e6616(0x248)](_0x37bfc5)?(_0xba6df0=_0x37bfc5[0x0])==null?void 0x0:_0xba6df0[_0x1e6616(0x2b9)]:_0x37bfc5[_0x1e6616(0x2dd)];return _0x46d50d?new _0x311210(_0x2e7aaf,new _0x101322({'unitId':_0x46d50d['unitId'],'subUnitId':_0x46d50d[_0x1e6616(0x365)],'chartId':_0x2e7aaf['id'],'injector':_0xd06e7})):null;},[_0x2e7aaf,_0xd06e7,_0x31cb9a]);if(_0x4c475f(()=>{const _0x7bd97=_0x4a63f3;var _0x378438,_0x4b9087;_0x2e7aaf&&(_0x387593==null?void 0x0:_0x387593[_0x7bd97(0x31a)])===_0x2e7aaf['id']&&(((_0x378438=_0x387593[_0x7bd97(0x254)])==null?void 0x0:_0x378438['tab'])===_0x19006c['Style']&&_0x3c55b1(_0x19006c[_0x7bd97(0x319)]),((_0x4b9087=_0x387593[_0x7bd97(0x254)])==null?void 0x0:_0x4b9087[_0x7bd97(0x2ea)])===_0x19006c[_0x7bd97(0x1b4)]&&_0x3c55b1(_0x19006c[_0x7bd97(0x1b4)]));},[_0x2e7aaf,_0x387593]),!_0x408604)return null;let _0x5e9067=_0x5ae8f5(_0x4a63f3(0x449),{'className':_0x4a63f3(0x36c),'children':[_0x169a6b(_0x5adf90,{'ariaLabel':_0x389688['t'](_0x4a63f3(0x199)),'className':'univer-sticky\x20-univer-top-3\x20univer-z-10\x20-univer-mx-4\x20-univer-mt-3\x20univer-shrink-0\x20univer-bg-gray-0\x20univer-px-4\x20univer-pt-3\x20dark:!univer-bg-gray-900','items':[{'label':_0x389688['t'](_0x4a63f3(0x42d)),'panelId':ta,'value':_0x19006c[_0x4a63f3(0x1b4)]},{'label':_0x389688['t'](_0x4a63f3(0x2b6)),'panelId':na,'value':_0x19006c['Style']}],'value':_0x405a5d,'onChange':_0x3c55b1}),_0x405a5d===_0x19006c[_0x4a63f3(0x1b4)]?_0x169a6b(_0x440c48,{'id':ta,'className':_0x4a63f3(0x3cb),'label':_0x389688['t'](_0x4a63f3(0x42d)),'children':_0x169a6b($i,{'defaultValues':Ti})}):_0x169a6b(_0x440c48,{'id':na,'className':_0x4a63f3(0x320),'label':_0x389688['t'](_0x4a63f3(0x2b6)),'children':_0x169a6b(Mi,{'defaultValues':Ti})})]});return _0x169a6b(_0x3a10b3,{'chartUIService':_0x4d2f6c,'hostAdapter':_0x408604,'children':_0x5e9067});}let ia=class extends _0x570089{constructor(_0x20262b){const _0x3acf24=_0x12a095;super(),this[_0x3acf24(0x241)](_0x20262b[_0x3acf24(0x285)](Z,ra));}};ia=q([K(0x0,_0x4958ff(_0x13825f))],ia);let aa=class extends _0x570089{constructor(_0x477aa9,_0x31b314,_0x576dc9,_0x3017ff,_0x500105,_0x146c9c,_0x4198ec,_0x1a99da,_0x1571b6){const _0x19f559=_0x12a095;super(),this[_0x19f559(0x1b9)]=_0x477aa9,this['_chartModelService']=_0x31b314,this['_sidebarService']=_0x576dc9,this['_menuManagerService']=_0x3017ff,this['_sheetCanvasPopManagerService']=_0x500105,this[_0x19f559(0x367)]=_0x146c9c,this['_sheetsChartUIService']=_0x4198ec,this[_0x19f559(0x306)]=_0x1a99da,this[_0x19f559(0x30c)]=_0x1571b6,W(this,'_sidebarDisposable',null),W(this,_0x19f559(0x26d),!0x1),this['_initMenus']();}[_0x12a095(0x326)](){this['hidePanel'](),super['dispose']();}[_0x12a095(0x261)](){const _0x3df1ac=_0x12a095;this['_panelInitialized']||(this[_0x3df1ac(0x26d)]=!0x0,this[_0x3df1ac(0x241)](this[_0x3df1ac(0x367)][_0x3df1ac(0x313)](_0x5ed73e=>{const _0x5ce1c7=_0x3df1ac;if(_0x5ed73e['id']!==H['id'])return;let _0x356d79=_0x5ed73e[_0x5ce1c7(0x3b0)];this['openChartPanelById'](_0x356d79['drawingId'],_0x356d79[_0x5ce1c7(0x254)]);})));}[_0x12a095(0x337)](_0x219386,_0x349271){const _0x2020db=_0x12a095;let _0x21a83a=this[_0x2020db(0x2a4)][_0x2020db(0x1e6)](_0x219386);_0x21a83a&&(this[_0x2020db(0x2a4)][_0x2020db(0x45b)](_0x21a83a),this[_0x2020db(0x293)](),this[_0x2020db(0x2e9)][_0x2020db(0x40b)](!0x0),this['_sheetsChartUIService'][_0x2020db(0x2f5)](_0x219386,_0x349271??null));}[_0x12a095(0x2ad)](){const _0x32e6fe=_0x12a095;let _0x51fe17=this[_0x32e6fe(0x41b)];this['_sidebarDisposable']=null,this[_0x32e6fe(0x42b)](),_0x51fe17==null||_0x51fe17[_0x32e6fe(0x326)]();}[_0x12a095(0x1f5)](){const _0x28c0a2=_0x12a095;this[_0x28c0a2(0x401)]['mergeMenu']({[_0x551a0b[_0x28c0a2(0x2fe)]]:{[U['id']]:{'order':0x4,'menuItemFactory':Gr}}}),this[_0x28c0a2(0x451)]['registerFeatureMenu'](_0x14b323[_0x28c0a2(0x3b3)],(_0x28cd11,_0x2112e1,_0x296e54,_0x1e1413)=>[{'label':this[_0x28c0a2(0x30c)]['t'](_0x28c0a2(0x199)),'index':0x0,'commandId':H['id'],'commandParams':{'unitId':_0x28cd11,'subUnitId':_0x2112e1,'drawingId':_0x296e54},'disable':_0x1e1413!==_0x14b323[_0x28c0a2(0x3b3)]},{'label':this[_0x28c0a2(0x30c)]['t'](_0x28c0a2(0x28b)),'index':0x1,'commandId':_0x2cfac4['id'],'commandParams':{'unitId':_0x28cd11,'drawings':[{'unitId':_0x28cd11,'subUnitId':_0x2112e1,'drawingId':_0x296e54,'drawingType':_0x1e1413}]},'disable':!0x1}],_0x28c0a2(0x39b));}[_0x12a095(0x293)](){const _0x2b4024=_0x12a095;this[_0x2b4024(0x41b)]=this[_0x2b4024(0x1b0)][_0x2b4024(0x2c1)]({'id':Z,'header':{'title':this[_0x2b4024(0x30c)]['t']('sheets-chart-ui.common.editChart')},'children':{'label':Z},'onClose':()=>{const _0x3a6359=_0x2b4024;this[_0x3a6359(0x41b)]=null,this[_0x3a6359(0x42b)]();}});}[_0x12a095(0x42b)](){const _0x8d9332=_0x12a095;this[_0x8d9332(0x2e9)][_0x8d9332(0x40b)](!0x1),this[_0x8d9332(0x2e9)][_0x8d9332(0x331)](),this[_0x8d9332(0x2a4)][_0x8d9332(0x301)]&&this[_0x8d9332(0x2a4)][_0x8d9332(0x45b)](null),this[_0x8d9332(0x1b9)]['focusDrawing'](null),this['_contextService'][_0x8d9332(0x45a)](_0x5c7b8c,!0x1);}};aa=q([K(0x0,_0x2725f1),K(0x1,_0x4958ff(_0x336038)),K(0x2,_0x4958ff(_0x1eff62)),K(0x3,_0x2683f7),K(0x4,_0x4958ff(_0x2099c6)),K(0x5,_0x35e06d),K(0x6,Y),K(0x7,_0x3245fa),K(0x8,_0x4958ff(_0x1af081))],aa);let oa=class extends _0x570089{constructor(_0x3b3081,_0x298a2b,_0x3b0348,_0x33b07f,_0x11cbdc){const _0x431e12=_0x12a095;super(),this['_sheetSkeletonService']=_0x3b3081,this[_0x431e12(0x3dd)]=_0x298a2b,this[_0x431e12(0x399)]=_0x3b0348,this[_0x431e12(0x2a4)]=_0x33b07f,this[_0x431e12(0x288)]=_0x11cbdc,W(this,_0x431e12(0x32d),void 0x0),this[_0x431e12(0x2e6)]();}get['_focusedDrawings'](){const _0x3ae8c5=_0x12a095;return this[_0x3ae8c5(0x399)]['getFocusDrawings']();}['_initCopyPaste'](){const _0x4a1c0b=_0x12a095;this[_0x4a1c0b(0x241)](this[_0x4a1c0b(0x3dd)][_0x4a1c0b(0x405)]({'id':_0x19127b,'onBeforeCopyFocusedObject':(_0x54f127,_0x57df9b,_0x55ed15)=>{const _0x8204ba=_0x4a1c0b;this[_0x8204ba(0x32d)]=null;let _0x47d53f=this[_0x8204ba(0x418)][_0x8204ba(0x302)](_0x12d50b=>this['_isOwnedChart'](_0x12d50b));return _0x47d53f[_0x8204ba(0x222)]!==0x0&&(this['_copyInfo']={'unitId':_0x54f127,'subUnitId':_0x57df9b,'copyType':_0x55ed15,'drawings':_0x47d53f},!0x0);},'onBeforeCopy':(_0x302cc4,_0x1ed5bc,_0x30b389,_0x59383b)=>{const _0x364d80=_0x4a1c0b;this['_copyInfo']=null,this[_0x364d80(0x31b)](_0x302cc4,_0x1ed5bc,_0x30b389,_0x59383b);},'onPasteCells':(_0x2be386,_0xcc87af,_0x41df73,_0x311651)=>{const _0x2388ba=_0x4a1c0b;if(!_0x311651[_0x2388ba(0x452)]||!_0x2be386||!this[_0x2388ba(0x32d)])return{'redos':[],'undos':[]};let {pasteType:_0x5d09bd}=_0x311651;return _0x5d09bd===_0x46fffd[_0x2388ba(0x445)]?this[_0x2388ba(0x2c2)](_0xcc87af,this[_0x2388ba(0x32d)][_0x2388ba(0x3e2)]===_0x2b8385[_0x2388ba(0x35e)]):{'redos':[],'undos':[]};}}));}[_0x12a095(0x31b)](_0x1f2139,_0x118763,_0x159165,_0x766d29){const _0x2413fc=_0x12a095;let _0x273e84=this[_0x2413fc(0x37c)][_0x2413fc(0x292)](_0x1f2139,_0x118763);if(!_0x273e84)return;let _0x34be6d=_0x3d5292(_0x273e84,_0x159165);if(!_0x34be6d)return;let {startX:_0x5f3bc1,endX:_0x274b0e,startY:_0x48352c,endY:_0xa14999}=_0x34be6d,_0x347aa1=this['_sheetDrawingService'][_0x2413fc(0x22b)](_0x1f2139,_0x118763),_0x514078=[];for(let [_0x207d70,_0x4d1a50]of Object[_0x2413fc(0x1aa)](_0x347aa1)){if(!this[_0x2413fc(0x454)](_0x4d1a50))continue;let {transform:_0xefa57}=_0x4d1a50;if(!_0xefa57)continue;let {left:_0x3fd2e3=0x0,top:_0x18f853=0x0,width:_0x14f8d6=0x0,height:_0x6732ca=0x0}=_0xefa57;_0x5f3bc1<=_0x3fd2e3&&_0x274b0e>=_0x3fd2e3+_0x14f8d6&&_0x48352c<=_0x18f853&&_0xa14999>=_0x18f853+_0x6732ca&&_0x514078[_0x2413fc(0x333)](_0x4d1a50);}_0x514078[_0x2413fc(0x222)]>0x0&&(this[_0x2413fc(0x32d)]={'unitId':_0x1f2139,'subUnitId':_0x118763,'copyType':_0x766d29,'copyRange':_0x159165,'drawings':_0x514078});}['_isOwnedChart'](_0x15a414){const _0x4d7ec8=_0x12a095;return _0x15a414[_0x4d7ec8(0x31f)]===_0x14b323['DRAWING_CHART']&&this[_0x4d7ec8(0x288)][_0x4d7ec8(0x243)](_0x15a414[_0x4d7ec8(0x2d5)],_0x15a414[_0x4d7ec8(0x283)])===_0x15a414['subUnitId'];}[_0x12a095(0x2c2)](_0x1b1f8a,_0x1c39d8){const _0x33fd4c=_0x12a095;let {unitId:_0xb89125,subUnitId:_0x4876a1,range:_0x162097}=_0x1b1f8a,_0x5e95ff=this['_sheetSkeletonService'][_0x33fd4c(0x292)](_0xb89125,_0x4876a1);if(!_0x5e95ff)return{'redos':[],'undos':[]};let _0x496562=_0x170923(_0x162097),{unitId:_0x11efbc,subUnitId:_0x492ffb,copyRange:_0x1e7453,drawings:_0x5860fd}=this[_0x33fd4c(0x32d)],_0x387104=this[_0x33fd4c(0x37c)][_0x33fd4c(0x292)](_0x11efbc,_0x492ffb);if(!_0x387104)return{'redos':[],'undos':[]};let _0x4d6507=[],_0x2c78fd=[];for(let _0x332dff of _0x5860fd){let {drawingId:_0x5032df,transform:_0x1c16ed,sheetTransform:_0x592a27}=_0x332dff,_0x354dc3=this['_chartModelService'][_0x33fd4c(0x1e6)](_0x5032df);if(!_0x354dc3||!_0x1c16ed||!_0x592a27)continue;let _0x2bfe06=this[_0x33fd4c(0x202)]({'transform':_0x1c16ed,'sheetTransform':_0x592a27},{'skeleton':_0x387104,'range':_0x1e7453},{'skeleton':_0x5e95ff,'range':_0x496562});if(_0x1c39d8){let {redos:_0x790eb6,undos:_0x468562}=this[_0x33fd4c(0x3df)]({'fromUnitId':_0x11efbc,'fromSubUnitId':_0x492ffb,'toUnitId':_0xb89125,'toSubUnitId':_0x4876a1,'drawing':_0x332dff,'newTransforms':_0x2bfe06},_0x354dc3);_0x4d6507[_0x33fd4c(0x333)](..._0x790eb6),_0x2c78fd['push'](..._0x468562);continue;}let {redos:_0x112906,undos:_0x10baa1}=this[_0x33fd4c(0x1bb)]({'toUnitId':_0xb89125,'toSubUnitId':_0x4876a1,'drawing':_0x332dff,'newTransforms':_0x2bfe06},_0x354dc3);_0x4d6507['push'](..._0x112906),_0x2c78fd[_0x33fd4c(0x333)](..._0x10baa1);}return{'redos':_0x4d6507,'undos':_0x2c78fd};}[_0x12a095(0x3df)](_0x2adddc,_0x1f32b4){const _0x3c9d83=_0x12a095;let {fromUnitId:_0x1cfe83,fromSubUnitId:_0x595d87,toUnitId:_0x4bea22,toSubUnitId:_0x28b9f2,drawing:_0x603ed3,newTransforms:_0x7076ee}=_0x2adddc,_0x543fb9={..._0x603ed3,'unitId':_0x4bea22,'subUnitId':_0x28b9f2,'transform':_0x7076ee[_0x3c9d83(0x368)],'sheetTransform':_0x7076ee[_0x3c9d83(0x437)]};if(_0x4bea22===_0x1cfe83&&_0x28b9f2===_0x595d87){let {redo:_0x157581,undo:_0x2dcfd3,objects:_0x1119c8}=this[_0x3c9d83(0x399)][_0x3c9d83(0x373)]([_0x543fb9]);return{'redos':[{'id':_0x268f8c['id'],'params':{'unitId':_0x4bea22,'subUnitId':_0x28b9f2,'type':_0x49285d[_0x3c9d83(0x3ce)],'op':_0x157581,'objects':_0x1119c8}}],'undos':[{'id':_0x268f8c['id'],'params':{'unitId':_0x4bea22,'subUnitId':_0x28b9f2,'type':_0x49285d[_0x3c9d83(0x3ce)],'op':_0x2dcfd3,'objects':_0x1119c8}}]};}{let _0xde89fe=this[_0x3c9d83(0x399)][_0x3c9d83(0x200)]([_0x603ed3]),_0x1df26e=this[_0x3c9d83(0x399)][_0x3c9d83(0x325)]([_0x543fb9]),_0x3114b0=this['_sheetsChartService']['getChartSourceSpec'](_0x1f32b4['id']);if(!_0x3114b0)return{'redos':[],'undos':[]};let {chartType:_0x4ea43f,context:_0x509dcd,style:_0x4119d4,dataAggregation:_0x15ccb7}=_0x1f32b4[_0x3c9d83(0x1c9)]();return{'redos':[{'id':_0x268f8c['id'],'params':{'unitId':_0x1cfe83,'subUnitId':_0x595d87,'type':_0x49285d[_0x3c9d83(0x375)],'op':_0xde89fe[_0x3c9d83(0x229)],'objects':_0xde89fe[_0x3c9d83(0x1f1)]}},{'id':_0x2eb031['id'],'params':{'unitId':_0x1cfe83,'subUnitId':_0x595d87,'chartId':_0x603ed3['drawingId']}},{'id':_0x268f8c['id'],'params':{'unitId':_0x4bea22,'subUnitId':_0x28b9f2,'type':_0x49285d[_0x3c9d83(0x3f2)],'op':_0x1df26e[_0x3c9d83(0x229)],'objects':_0x1df26e[_0x3c9d83(0x1f1)]}},{'id':_0x5b425e['id'],'params':{'unitId':_0x4bea22,'subUnitId':_0x28b9f2,'chartId':_0x603ed3[_0x3c9d83(0x283)],'chartType':_0x4ea43f,..._0x2ca872(_0x3114b0),'context':_0x509dcd,'style':_0x4119d4,'dataAggregation':_0x15ccb7}}],'undos':[{'id':_0x268f8c['id'],'params':{'unitId':_0x1cfe83,'subUnitId':_0x595d87,'type':_0x49285d['INSERT'],'op':_0xde89fe['undo'],'objects':_0xde89fe['objects']}},{'id':_0x5b425e['id'],'params':{'unitId':_0x1cfe83,'subUnitId':_0x595d87,'chartId':_0x603ed3[_0x3c9d83(0x283)],'chartType':_0x4ea43f,..._0x2ca872(_0x3114b0),'context':_0x509dcd,'style':_0x4119d4,'dataAggregation':_0x15ccb7}},{'id':_0x268f8c['id'],'params':{'unitId':_0x4bea22,'subUnitId':_0x28b9f2,'type':_0x49285d[_0x3c9d83(0x375)],'op':_0x1df26e[_0x3c9d83(0x2b5)],'objects':_0x1df26e['objects']}},{'id':_0x2eb031['id'],'params':{'unitId':_0x4bea22,'subUnitId':_0x28b9f2,'chartId':_0x603ed3[_0x3c9d83(0x283)]}}]};}}[_0x12a095(0x1bb)](_0x4a382f,_0x112081){const _0x4ee6f2=_0x12a095;let {toUnitId:_0x2abb57,toSubUnitId:_0x28feb0,drawing:_0x47385d,newTransforms:_0x51082d}=_0x4a382f,_0x56e4b0=_0x262636(),_0x1e8180={..._0x47385d,'unitId':_0x2abb57,'subUnitId':_0x28feb0,'drawingId':_0x56e4b0,'transform':_0x51082d[_0x4ee6f2(0x368)],'sheetTransform':_0x51082d[_0x4ee6f2(0x437)]},{redo:_0x8ca333,undo:_0x160d62,objects:_0x16bd09}=this[_0x4ee6f2(0x399)][_0x4ee6f2(0x325)]([_0x1e8180]),_0x187d60=this[_0x4ee6f2(0x288)][_0x4ee6f2(0x392)](_0x112081['id']);if(!_0x187d60)return{'redos':[],'undos':[]};let {chartType:_0x2794a0,context:_0x48b546,style:_0x607a40,dataAggregation:_0x17c22c}=_0x112081[_0x4ee6f2(0x1c9)]();return{'redos':[{'id':_0x268f8c['id'],'params':{'unitId':_0x2abb57,'subUnitId':_0x28feb0,'type':_0x49285d[_0x4ee6f2(0x3f2)],'op':_0x8ca333,'objects':_0x16bd09}},{'id':_0x5b425e['id'],'params':{'unitId':_0x2abb57,'subUnitId':_0x28feb0,'chartId':_0x56e4b0,'chartType':_0x2794a0,..._0x2ca872(_0x187d60),'context':_0x48b546,'style':_0x607a40,'dataAggregation':_0x17c22c}}],'undos':[{'id':_0x268f8c['id'],'params':{'unitId':_0x2abb57,'subUnitId':_0x28feb0,'type':_0x49285d[_0x4ee6f2(0x375)],'op':_0x160d62,'objects':_0x16bd09}},{'id':_0x2eb031['id'],'params':{'unitId':_0x2abb57,'subUnitId':_0x28feb0,'chartId':_0x56e4b0}}]};}[_0x12a095(0x202)](_0x373b63,_0x85bb9e,_0x101769){const _0x2511a1=_0x12a095;let {range:_0x46bcbd,skeleton:_0x1e74ee}=_0x85bb9e,{range:_0x284004,skeleton:_0x5a46fe}=_0x101769,{transform:_0x581960,sheetTransform:_0x45a84f}=_0x373b63,_0x33c45a={..._0x581960};if(_0x46bcbd){let _0x5ca40d=_0x3d5292(_0x1e74ee,_0x46bcbd),_0x25e41c=_0x3d5292(_0x5a46fe,_0x284004);if(_0x5ca40d&&_0x25e41c){let _0x4f62d1=_0x25e41c[_0x2511a1(0x237)]-_0x5ca40d[_0x2511a1(0x237)],_0x51093c=_0x25e41c['startY']-_0x5ca40d[_0x2511a1(0x323)];_0x33c45a[_0x2511a1(0x19d)]=(_0x33c45a[_0x2511a1(0x19d)]??0x0)+_0x4f62d1,_0x33c45a[_0x2511a1(0x1c8)]=(_0x33c45a[_0x2511a1(0x1c8)]??0x0)+_0x51093c;}}else{let _0x1f1582=_0x3d5292(_0x5a46fe,_0x284004);_0x33c45a[_0x2511a1(0x19d)]=_0x1f1582==null?void 0x0:_0x1f1582['startX'],_0x33c45a[_0x2511a1(0x1c8)]=_0x1f1582==null?void 0x0:_0x1f1582[_0x2511a1(0x323)];}return{'transform':_0x33c45a,'sheetTransform':_0xdd5e24(_0x33c45a,_0x5a46fe)??_0x45a84f};}};oa=q([K(0x0,_0x4958ff(_0x10d878)),K(0x1,_0x4958ff(_0x3a5a5a)),K(0x2,_0x4958ff(_0x268a19)),K(0x3,_0x4958ff(_0x336038)),K(0x4,_0x4958ff(_0x3bc38a))],oa);let sa=class extends _0x570089{constructor(_0x1580d3,_0x289443,_0x2eae2f,_0x5747ff){const _0x5b6cb4=_0x12a095;super(),this['_commandService']=_0x1580d3,this[_0x5b6cb4(0x30c)]=_0x289443,this[_0x5b6cb4(0x232)]=_0x2eae2f,this[_0x5b6cb4(0x288)]=_0x5747ff,this[_0x5b6cb4(0x395)]();}['_initPermission'](){const _0x3a10c3=_0x12a095;this['disposeWithMe'](this['_commandService'][_0x3a10c3(0x215)](_0x35ec31=>{const _0x52a81e=_0x3a10c3;let _0x131049,_0x227938;if(_0x35ec31['id']===_0xa4aa6['id']){let _0x1d41da=_0x35ec31[_0x52a81e(0x3b0)];_0x131049=_0x1d41da['unitId'],_0x227938=_0x1d41da[_0x52a81e(0x365)];}else{if(_0x35ec31['id']===_0x17cfd2['id']||_0x35ec31['id']===_0x2320a5['id']){let _0x1723ef=_0x35ec31[_0x52a81e(0x3b0)];_0x131049=_0x1723ef['unitId'],_0x227938=this[_0x52a81e(0x288)][_0x52a81e(0x243)](_0x1723ef[_0x52a81e(0x2d5)],_0x1723ef['chartModelId']);}}_0x131049&&_0x227938&&(this[_0x52a81e(0x232)][_0x52a81e(0x3a4)]({'workbookTypes':[_0x11d788],'worksheetTypes':[_0x4adc13]},_0x131049,_0x227938)||this['_sheetPermissionCheckController'][_0x52a81e(0x3dc)](this[_0x52a81e(0x30c)]['t'](_0x52a81e(0x1e0))));}));}};sa=q([K(0x0,_0x4958ff(_0x35e06d)),K(0x1,_0x4958ff(_0x1af081)),K(0x2,_0x4958ff(_0x13c37e)),K(0x3,_0x4958ff(_0x3bc38a))],sa);let ca=class extends _0x570089{constructor(_0x4fa308,_0x3191dc){const _0x19b19a=_0x12a095;super(),this[_0x19b19a(0x1bd)]=_0x3191dc,this['disposeWithMe'](_0x4fa308[_0x19b19a(0x285)](this));}[_0x12a095(0x2d6)](_0x3cf500){const _0x5b37b0=_0x12a095;return'unitId'in _0x3cf500&&_0x5b37b0(0x365)in _0x3cf500;}[_0x12a095(0x338)](_0x470997,_0x2b9ee0){const _0x2141b8=_0x12a095;return this[_0x2141b8(0x1bd)][_0x2141b8(0x338)](_0x470997['getId'](),_0x2b9ee0);}};ca=q([K(0x0,_0x4958ff(_0x4ab9cf)),K(0x1,_0x4958ff(J))],ca);let Q=class extends _0x3a3266{constructor(_0x29ac94=Mr,_0x9d521b,_0x44c94d,_0x20c2a8){const _0x1a13d8=_0x12a095;super(),this[_0x1a13d8(0x2fc)]=_0x29ac94,this[_0x1a13d8(0x1e8)]=_0x9d521b,this['_configService']=_0x44c94d,this['_commandService']=_0x20c2a8;let {..._0x1737e7}=_0xb6fcd0({},Mr,this[_0x1a13d8(0x2fc)]);this['_configService'][_0x1a13d8(0x1c0)](jr,_0x1737e7),this[_0x1a13d8(0x24e)]();}['onStarting'](){const _0x5791f3=_0x12a095;let _0x365f12=[[ia],[Y,{'useClass':Ci}],[yi,{'useClass':vi}],[di],[J],[ca],[aa],[Vi],[Hi],[oa],[Ji],[sa]],_0x504a84=[[ia],[aa],[Hi],[Vi],[ca],[Y],[oa],[Ji],[sa]];_0x365f12['forEach'](_0x55f360=>this[_0x5791f3(0x1e8)][_0x5791f3(0x1c4)](_0x55f360)),_0x36cafd(this[_0x5791f3(0x1e8)],_0x504a84);}[_0x12a095(0x364)](){const _0x2e1bb1=_0x12a095;var _0x14ab8f;(_0x14ab8f=this[_0x2e1bb1(0x1e8)]['get'](aa))==null||_0x14ab8f[_0x2e1bb1(0x261)]();}[_0x12a095(0x24e)](){const _0x4a2bcb=_0x12a095;[U,H][_0x4a2bcb(0x3ec)](_0x6a5eb5=>this[_0x4a2bcb(0x241)](this['_commandService'][_0x4a2bcb(0x204)](_0x6a5eb5)));}};function _0x5965(_0x3e02ce,_0x581419){_0x3e02ce=_0x3e02ce-0x190;const _0x5e274f=_0x5e27();let _0x596517=_0x5e274f[_0x3e02ce];return _0x596517;}W(Q,_0x12a095(0x3d3),_0x3d7cdd['UNIVER_SHEET']),W(Q,_0x12a095(0x2d4),_0x12a095(0x213)),W(Q,_0x12a095(0x3a3),zi),W(Q,_0x12a095(0x1d6),Bi),Q=q([_0x4c7a27(_0x1541fe,_0x2e1267,_0x29c8cc,_0x8c9f82,_0x297001,_0xff0cfa,_0x5a6543,_0x5cdc2a,_0x391c29,_0x159e63),K(0x1,_0x4958ff(_0x1e0717)),K(0x2,_0x503adb),K(0x3,_0x35e06d)],Q);const la={'scaleX':0x1,'scaleY':0x1};function ua(_0x36f07a){let _0x4f3cd0=_0x36f07a['nativeEvent'];return _0x4f3cd0 instanceof MouseEvent?_0x4f3cd0:void 0x0;}function da(_0x474b63){const _0x5de926=_0x12a095;let _0x5aa95d=_0x474b63[_0x5de926(0x2fd)],_0x576f69=_0x5aa95d==null?void 0x0:_0x5aa95d[_0x5de926(0x27b)];return _0x576f69 instanceof Element?_0x576f69:void 0x0;}function fa(_0x20d782){const _0x7ff8c1=_0x12a095;var _0xc4e941;return(_0xc4e941=da(_0x20d782))==null?void 0x0:_0xc4e941[_0x7ff8c1(0x1be)]();}function pa(_0x23792f){const _0x337f41=_0x12a095;return _0x23792f[_0x337f41(0x412)]||_0x23792f[_0x337f41(0x2a9)]-_0x23792f[_0x337f41(0x19d)];}function ma(_0x276982){const _0x3d7ae4=_0x12a095;return _0x276982['height']||_0x276982[_0x3d7ae4(0x1d1)]-_0x276982[_0x3d7ae4(0x1c8)];}function ha(_0x5917e8,_0x163989){const _0x5c15d7=_0x12a095;let _0x3c24b8=_0x5917e8[_0x5c15d7(0x24d)]||(_0x5917e8 instanceof HTMLElement?_0x5917e8[_0x5c15d7(0x352)]:0x0),_0xa3d48c=_0x5917e8[_0x5c15d7(0x29b)]||(_0x5917e8 instanceof HTMLElement?_0x5917e8['offsetHeight']:0x0),_0x4feeaf=pa(_0x163989),_0x523b5c=ma(_0x163989);return{'scaleX':_0x3c24b8>0x0&&_0x4feeaf>0x0?_0x4feeaf/_0x3c24b8:la[_0x5c15d7(0x238)],'scaleY':_0xa3d48c>0x0&&_0x523b5c>0x0?_0x523b5c/_0xa3d48c:la[_0x5c15d7(0x255)]};}function ga(_0x24978f,_0x4559df,_0x575729){const _0x29369e=_0x12a095;return{'left':_0x24978f['left']+_0x4559df['left']*_0x575729[_0x29369e(0x238)],'right':_0x24978f[_0x29369e(0x19d)]+_0x4559df['right']*_0x575729['scaleX'],'top':_0x24978f[_0x29369e(0x1c8)]+_0x4559df[_0x29369e(0x1c8)]*_0x575729[_0x29369e(0x255)],'bottom':_0x24978f['top']+_0x4559df[_0x29369e(0x1d1)]*_0x575729[_0x29369e(0x255)]};}function _a(_0x446a04){const _0x1b3ea5=_0x12a095;let _0x8c0aca=da(_0x446a04),_0x1ff78f=_0x446a04[_0x1b3ea5(0x24a)][_0x1b3ea5(0x30e)];return _0x8c0aca&&_0x1ff78f?()=>{const _0x2008eb=_0x1b3ea5;let _0xf4ece5=_0x8c0aca[_0x2008eb(0x1be)]();return ga(_0xf4ece5,_0x1ff78f,ha(_0x8c0aca,_0xf4ece5));}:()=>{const _0x5b778e=_0x1b3ea5;let _0x38643e=fa(_0x446a04);if(_0x38643e&&_0x1ff78f)return ga(_0x38643e,_0x1ff78f,_0x8c0aca?ha(_0x8c0aca,_0x38643e):la);let _0x257682=ua(_0x446a04),_0x3ffa67=_0x8c0aca&&_0x38643e?ha(_0x8c0aca,_0x38643e):la,_0x34084b=(_0x257682==null?void 0x0:_0x257682[_0x5b778e(0x2b7)])??(_0x38643e?_0x38643e[_0x5b778e(0x19d)]+_0x446a04[_0x5b778e(0x2fb)]['x']*_0x3ffa67[_0x5b778e(0x238)]:_0x446a04['localPoint']['x']),_0x548c61=(_0x257682==null?void 0x0:_0x257682[_0x5b778e(0x41d)])??(_0x38643e?_0x38643e[_0x5b778e(0x1c8)]+_0x446a04[_0x5b778e(0x2fb)]['y']*_0x3ffa67[_0x5b778e(0x255)]:_0x446a04[_0x5b778e(0x2fb)]['y']);return{'left':_0x34084b,'right':_0x34084b+0x1,'top':_0x548c61,'bottom':_0x548c61+0x1};};}function va(_0x373e63){const _0x210cc1=_0x12a095;return typeof _0x373e63==_0x210cc1(0x1b7)&&Number['isFinite'](_0x373e63);}function ya(_0xaeeeda){const _0x46d113=_0x12a095;if(!_0xaeeeda||typeof _0xaeeeda!=_0x46d113(0x3b2))return!0x0;let {startX:_0x18059f,endX:_0x188958,startY:_0x277ad4,endY:_0x50f8f8}=_0xaeeeda;return!va(_0x18059f)||!va(_0x188958)||!va(_0x277ad4)||!va(_0x50f8f8)||_0x188958-_0x18059f>0x2&&_0x50f8f8-_0x277ad4>0x2;}function ba(_0x6bf225){const _0x4102e7=_0x12a095;return _0x6bf225[_0x4102e7(0x2a9)]<=_0x6bf225[_0x4102e7(0x19d)]||_0x6bf225[_0x4102e7(0x1d1)]<=_0x6bf225['top']?!0x1:typeof window>'u'||_0x6bf225[_0x4102e7(0x2a9)]>0x0&&_0x6bf225[_0x4102e7(0x1d1)]>0x0&&_0x6bf225[_0x4102e7(0x19d)]<window[_0x4102e7(0x39f)]&&_0x6bf225[_0x4102e7(0x1c8)]<window[_0x4102e7(0x38b)];}function xa(_0x4ada3b){var _0x30c129;return _0x4ada3b==null||(_0x30c129=_0x4ada3b['getValue'])==null?void 0x0:_0x30c129['call'](_0x4ada3b);}function Sa(_0x56cdbb,_0x434ac6,_0x646df5){const _0x235de4=_0x12a095;let _0x3514e2=_a(_0x56cdbb),_0x3a0da4=xa(_0x434ac6),_0x3b755d=_0x3514e2(),_0xc01b07=new _0x3d1c7e(_0x3b755d),_0x53ceea=new _0x318945(),_0x37e343=!0x1,_0x1a0d56=!0x1,_0x2ed4bc=_0x3b0ffd=>ya(_0x3a0da4)&&ba(_0x3b0ffd),_0x5eac5d=()=>{_0x1a0d56||_0x37e343||(_0x1a0d56=!0x0,queueMicrotask(()=>{const _0x4bfde5=_0x5965;if(_0x1a0d56=!0x1,!_0x37e343){let _0x3eb2e2=_0x3514e2();if(!_0x2ed4bc(_0x3eb2e2)){_0x646df5();return;}_0xc01b07[_0x4bfde5(0x3ac)](_0x3eb2e2);}}));};return _0x434ac6&&_0x53ceea['add'](_0x434ac6[_0x235de4(0x195)](_0x743da4=>{_0x3a0da4=_0x743da4,_0x5eac5d();})),typeof window<'u'&&_0x53ceea[_0x235de4(0x1c4)](_0x15a9d8(_0xb43c9d(window,_0x235de4(0x3d9),{'capture':!0x0}),_0xb43c9d(window,'resize'))['pipe'](_0x1b837b(0x10))['subscribe'](_0x5eac5d)),{'initialRect':_0x3b755d,'anchorRect$':_0xc01b07['asObservable'](),'visible':_0x2ed4bc(_0x3b755d),'dispose':()=>{const _0x5965ab=_0x235de4;_0x37e343=!0x0,_0x53ceea[_0x5965ab(0x326)](),_0xc01b07['complete']();}};}const Ca=_0x12a095(0x271);let wa=class extends _0x570089{constructor(_0x9a306,_0x384632,_0x46d182,_0x2cb1bb,_0x26b086,_0x2d7104,_0x1ffac8,_0x5135ee,_0x4e3d2a){const _0x1ceced=_0x12a095;super(),this['_chartModelService']=_0x9a306,this[_0x1ceced(0x409)]=_0x384632,this['_chartHostProvider']=_0x46d182,this[_0x1ceced(0x451)]=_0x2cb1bb,this[_0x1ceced(0x2f6)]=_0x26b086,this[_0x1ceced(0x32e)]=_0x2d7104,this['_adapterRegistry']=_0x1ffac8,this[_0x1ceced(0x367)]=_0x5135ee,this[_0x1ceced(0x1e8)]=_0x4e3d2a,W(this,_0x1ceced(0x43d),null),W(this,_0x1ceced(0x2cc),null),W(this,_0x1ceced(0x1a9),null),this[_0x1ceced(0x259)](),this[_0x1ceced(0x2e5)]();}[_0x12a095(0x326)](){const _0x1cadf5=_0x12a095;this[_0x1cadf5(0x2d2)](),super[_0x1cadf5(0x326)]();}[_0x12a095(0x259)](){const _0x4a2735=_0x12a095;let _0x4721fd=_0x42bea8({'chartUIService':this[_0x4a2735(0x32e)],'getHostAdapter':_0x58a374=>{const _0x321a31=_0x4a2735;let _0x2a25d3=this[_0x321a31(0x2a4)]['getChartModel'](_0x58a374[_0x321a31(0x31a)]);if(_0x2a25d3&&_0x58a374[_0x321a31(0x365)])return new _0x311210(_0x2a25d3,new _0x101322({'unitId':_0x58a374[_0x321a31(0x2d5)],'subUnitId':_0x58a374[_0x321a31(0x365)],'chartId':_0x58a374[_0x321a31(0x31a)],'injector':this[_0x321a31(0x1e8)]}));},'close':()=>this['_closePopup'](),'openFullPanel':_0x142162=>{const _0x429c53=_0x4a2735;let {unitId:_0x12367b,subUnitId:_0x539d42,drawingId:_0x7f4540,chartId:_0x16d6af}=_0x142162,_0x121989=_0x5ce2fe(_0x142162['target']);this[_0x429c53(0x367)][_0x429c53(0x1df)](H['id'],{'unitId':_0x12367b,'subUnitId':_0x539d42??'','drawingId':_0x7f4540??_0x16d6af,..._0x121989?{'route':_0x121989}:{}});}});this[_0x4a2735(0x241)](this[_0x4a2735(0x1c7)]['register'](Ca,_0x4721fd));}[_0x12a095(0x2e5)](){const _0x23f188=_0x12a095;this[_0x23f188(0x241)](this[_0x23f188(0x2a4)][_0x23f188(0x258)][_0x23f188(0x195)](_0x751a59=>{const _0x2ff1af=_0x23f188;let _0x1bb213=new _0x318945();_0x1bb213['add'](this[_0x2ff1af(0x409)]['on'](_0x751a59['id'],_0x2ff1af(0x1db),_0x2354f2=>{const _0x1225e1=_0x2ff1af;this[_0x1225e1(0x1fb)](_0x751a59['id'],_0x2354f2);})),_0x1bb213[_0x2ff1af(0x1c4)](this['_chartRenderService']['on'](_0x751a59['id'],_0x2ff1af(0x300),()=>{const _0x4425bf=_0x2ff1af;this[_0x4425bf(0x416)](_0x751a59['id']);})),_0x751a59[_0x2ff1af(0x2ab)](()=>{const _0x13cd90=_0x2ff1af;_0x1bb213['dispose'](),this[_0x13cd90(0x448)](_0x751a59['id']);}),this[_0x2ff1af(0x241)](_0x1bb213);})),this[_0x23f188(0x241)](_0x341663([this['_chartModelService'][_0x23f188(0x383)],this[_0x23f188(0x32e)][_0x23f188(0x362)]])[_0x23f188(0x195)](([_0x3e037f,_0xed30dd])=>{const _0x42a781=_0x23f188;(!_0xed30dd||this[_0x42a781(0x2cc)]&&(_0x3e037f==null?void 0x0:_0x3e037f['id'])!==this[_0x42a781(0x2cc)])&&this[_0x42a781(0x2d2)]();})),this[_0x23f188(0x241)](this[_0x23f188(0x2f6)][_0x23f188(0x43c)]['subscribe'](({id:_0x5a931d})=>{const _0x844386=_0x23f188;this[_0x844386(0x448)](_0x5a931d);})),this[_0x23f188(0x241)](this[_0x23f188(0x2f6)][_0x23f188(0x1eb)][_0x23f188(0x195)](({id:_0x2a0cd5})=>{const _0x53d022=_0x23f188;this[_0x53d022(0x448)](_0x2a0cd5);})),this[_0x23f188(0x241)](this[_0x23f188(0x40d)][_0x23f188(0x1e7)][_0x23f188(0x195)](_0x1b7a43=>{const _0x502ce6=_0x23f188;this[_0x502ce6(0x448)](_0x1b7a43);}));}[_0x12a095(0x416)](_0x2b821c){const _0xb6bcc0=_0x12a095;if(this[_0xb6bcc0(0x32e)][_0xb6bcc0(0x44a)])return;let _0x44e6d8=this[_0xb6bcc0(0x2a4)][_0xb6bcc0(0x1e6)](_0x2b821c),_0x2a2b11=this['_sheetCanvasFloatDomManagerService']['getFloatDomInfo'](_0x2b821c);_0x44e6d8&&_0x2a2b11&&this[_0xb6bcc0(0x367)][_0xb6bcc0(0x1df)](H['id'],{'unitId':_0x2a2b11[_0xb6bcc0(0x2d5)],'subUnitId':_0x2a2b11['subUnitId']??'','drawingId':_0x2b821c});}[_0x12a095(0x1fb)](_0x3bccca,_0x4914c8){const _0xc9945f=_0x12a095;if(!this[_0xc9945f(0x32e)]['isElementEditModeActive'](_0x3bccca))return;let _0x3f825b=this[_0xc9945f(0x2a4)]['getChartModel'](_0x3bccca),_0x3ece8c=_0x3f825b?ei(_0x3f825b,_0x4914c8[_0xc9945f(0x24a)]):void 0x0;if(!_0x3ece8c){this[_0xc9945f(0x32e)][_0xc9945f(0x331)](),this[_0xc9945f(0x2d2)]();return;}let _0x4056bb=this[_0xc9945f(0x2f6)][_0xc9945f(0x1cf)](_0x3bccca);if(!_0x3f825b||!_0x4056bb){this[_0xc9945f(0x32e)][_0xc9945f(0x331)](),this['_closePopup']();return;}let _0x16f5cb=JSON[_0xc9945f(0x413)]([_0x4056bb[_0xc9945f(0x2d5)],_0x4056bb['subUnitId'],_0x3bccca,_0x3ece8c[_0xc9945f(0x27b)]]);if(this['_popupDisposable']&&this[_0xc9945f(0x1a9)]===_0x16f5cb||(this[_0xc9945f(0x32e)][_0xc9945f(0x2f5)](_0x3bccca,_0x3ece8c['route']),this[_0xc9945f(0x2d2)](),!_0x3ece8c[_0xc9945f(0x1a6)]))return;let _0xc438e8=Sa(_0x4914c8,_0x4056bb[_0xc9945f(0x353)],()=>this['_clearHiddenSelectedTarget'](_0x3bccca));if(!_0xc438e8[_0xc9945f(0x3e5)]){_0xc438e8['dispose']();return;}let _0x216bc9=this[_0xc9945f(0x451)][_0xc9945f(0x3c2)](_0xc438e8[_0xc9945f(0x390)],_0xc438e8['anchorRect$'],{'componentKey':_0x501e58,'constrainToCanvas':!0x0,'direction':_0xc9945f(0x233),'offset':[0x0,0x8],'extraProps':{'unitId':_0x4056bb[_0xc9945f(0x2d5)],'subUnitId':_0x4056bb[_0xc9945f(0x365)],'chartId':_0x3bccca,'drawingId':_0x3bccca,'element':_0x4914c8[_0xc9945f(0x24a)],'target':_0x3ece8c['target'],'adapterKey':Ca}},_0x4056bb[_0xc9945f(0x2d5)],_0x4056bb[_0xc9945f(0x365)])??null;if(!_0x216bc9){_0xc438e8['dispose']();return;}let _0x2a25d9=new _0x318945();_0x2a25d9[_0xc9945f(0x1c4)](_0x216bc9),_0x2a25d9[_0xc9945f(0x1c4)](_0xc438e8),this['_popupDisposable']=_0x2a25d9,this[_0xc9945f(0x2cc)]=_0x3bccca,this[_0xc9945f(0x1a9)]=_0x16f5cb;}[_0x12a095(0x2d2)](){const _0x58a5a2=_0x12a095;var _0x2dcaa1;(_0x2dcaa1=this[_0x58a5a2(0x43d)])==null||_0x2dcaa1[_0x58a5a2(0x326)](),this[_0x58a5a2(0x43d)]=null,this['_popupChartId']=null,this[_0x58a5a2(0x1a9)]=null;}['_clearSelectedTarget'](_0x287763){const _0xd2b1aa=_0x12a095;(this[_0xd2b1aa(0x32e)][_0xd2b1aa(0x334)](_0x287763)||this['_popupChartId']===_0x287763)&&(this['_chartUIService'][_0xd2b1aa(0x331)](),this['_popupChartId']===_0x287763&&this[_0xd2b1aa(0x2d2)]());}['_clearHiddenSelectedTarget'](_0x5866a7){const _0x170ffe=_0x12a095;this['_clearSelectedTarget'](_0x5866a7),this[_0x170ffe(0x32e)][_0x170ffe(0x334)](_0x5866a7)&&(this[_0x170ffe(0x409)][_0x170ffe(0x1e9)](_0x5866a7,!0x1),this['_chartRenderService'][_0x170ffe(0x1e9)](_0x5866a7,!0x0));}};wa=q([K(0x0,_0x4958ff(_0x336038)),K(0x1,_0x4958ff(J)),K(0x2,yi),K(0x3,_0x4958ff(_0x2099c6)),K(0x4,_0x4958ff(_0x7df4f2)),K(0x5,Y),K(0x6,_0x4958ff(_0x5d28bd)),K(0x7,_0x35e06d),K(0x8,_0x4958ff(_0x1e0717))],wa);let Ta=class extends _0x570089{constructor(_0x532789,_0x4b8954){const _0x169e2a=_0x12a095;super(),this[_0x169e2a(0x3c0)]=_0x532789,this[_0x169e2a(0x263)]=_0x4b8954,this['_registerIcons'](),this[_0x169e2a(0x404)]();}[_0x12a095(0x455)](){const _0x571a61=_0x12a095;this[_0x571a61(0x241)](this['_iconManager']['register']({'PenIcon':_0x1a9fef}));}['_registerComponents'](){[[Z,Ni]]['forEach'](([_0x4f12e8,_0x2486d3])=>{const _0xdbe8a2=_0x5965;this[_0xdbe8a2(0x241)](this[_0xdbe8a2(0x3c0)][_0xdbe8a2(0x285)](_0x4f12e8,_0x2486d3));});}};Ta=q([K(0x0,_0x4958ff(_0x13825f)),K(0x1,_0x4958ff(_0x4a4f5d))],Ta);let $=class extends _0x3a3266{constructor(_0x3b9a02=Mr,_0x5cb109,_0x4f9238,_0x5f4be8){const _0xb6c769=_0x12a095;super(),this[_0xb6c769(0x2fc)]=_0x3b9a02,this[_0xb6c769(0x1e8)]=_0x5cb109,this[_0xb6c769(0x44d)]=_0x4f9238,this[_0xb6c769(0x367)]=_0x5f4be8,W(this,_0xb6c769(0x436),void 0x0);let {..._0x590c29}=_0xb6fcd0({},Mr,this[_0xb6c769(0x2fc)]);this['_resolvedConfig']=_0x590c29,this[_0xb6c769(0x44d)][_0xb6c769(0x1c0)](jr,_0x590c29),this[_0xb6c769(0x24e)]();}[_0x12a095(0x257)](){const _0x1412de=_0x12a095;this[_0x1412de(0x1e8)][_0x1412de(0x1c4)]([Ta]),this[_0x1412de(0x1e8)][_0x1412de(0x1ba)](Ta);let _0x4462fb=this['_injector'],_0x36f6af=[[Y,{'useClass':Ci}],[yi,{'useClass':vi}],[di],[J],[ca],[Ri],[Vi],[Hi],[oa],[Ji],[sa]],_0x41118c=[[Ri],[Hi],[Vi],[ca],[Y],[oa],[Ji],[sa]];this[_0x1412de(0x436)][_0x1412de(0x3c3)]&&(_0x36f6af['push']([wa]),_0x41118c[_0x1412de(0x333)]([wa])),_0x36f6af[_0x1412de(0x3ec)](_0x5b2a3e=>_0x4462fb[_0x1412de(0x1c4)](_0x5b2a3e)),_0x36cafd(this[_0x1412de(0x1e8)],_0x41118c);}[_0x12a095(0x364)](){const _0x201920=_0x12a095;var _0xd7b583;(_0xd7b583=this[_0x201920(0x1e8)]['get'](Ri))==null||_0xd7b583[_0x201920(0x261)]();}[_0x12a095(0x24e)](){const _0x42322e=_0x12a095;[U,Ir,Lr,Rr,zr,H,Nr][_0x42322e(0x3ec)](_0x2c0a3d=>this[_0x42322e(0x241)](this[_0x42322e(0x367)][_0x42322e(0x204)](_0x2c0a3d)));}};W($,_0x12a095(0x3d3),_0x3d7cdd[_0x12a095(0x198)]),W($,'pluginName','UniverSheetsChartUIPlugin'),W($,_0x12a095(0x3a3),zi),W($,_0x12a095(0x1d6),Bi),$=q([_0x4c7a27(_0x1541fe,_0x2e1267,_0x29c8cc,_0x8c9f82,_0x297001,_0x196fcd,_0x5a6543,_0xd8dc05,_0x11f2cd),K(0x1,_0x4958ff(_0x1e0717)),K(0x2,_0x503adb),K(0x3,_0x35e06d)],$);export{H as ChartOpenPanelOperation,J as ChartRenderService,Y as ISheetsChartUIService,jr as SHEETS_CHART_UI_PLUGIN_CONFIG_KEY,Ri as SheetsChartUIController,Zr as SheetsChartUIMenuSchema,Ci as SheetsChartUIService,Q as UniverSheetsChartMobileUIPlugin,$ as UniverSheetsChartUIPlugin,Sa as createChartElementPopupAnchorObserver};
1
+ const _0x5d1a27=_0x14cc;(function(_0x316ab6,_0x4cbe5d){const _0x430d9f=_0x14cc,_0xbcd091=_0x316ab6();while(!![]){try{const _0x4dde00=-parseInt(_0x430d9f(0x379))/0x1+-parseInt(_0x430d9f(0x161))/0x2+-parseInt(_0x430d9f(0x176))/0x3*(parseInt(_0x430d9f(0x2b8))/0x4)+-parseInt(_0x430d9f(0x1a5))/0x5+-parseInt(_0x430d9f(0x235))/0x6+-parseInt(_0x430d9f(0x3bc))/0x7*(-parseInt(_0x430d9f(0x23b))/0x8)+parseInt(_0x430d9f(0x2a0))/0x9;if(_0x4dde00===_0x4cbe5d)break;else _0xbcd091['push'](_0xbcd091['shift']());}catch(_0x1ce40a){_0xbcd091['push'](_0xbcd091['shift']());}}}(_0x8646,0xbb3db));import{CommandType as _0x467099,DependentOn as _0x5da506,Disposable as _0x23a464,DisposableCollection as _0x396c56,DrawingTypeEnum as _0x4c00c3,FOCUSING_COMMON_DRAWINGS as _0x29388d,FOCUSING_PANEL_EDITOR as _0x3d0cdc,ICommandService as _0x23023c,IConfigService as _0x332790,IContextService as _0xae1c0,IUniverInstanceService as _0x50dd4e,Inject as _0x233312,Injector as _0x26189f,LocaleService as _0x2365aa,Plugin as _0x48bc1a,ThemeService as _0x6bd0cf,UniverInstanceType as _0x2a3654,createIdentifier as _0x4fb58e,debounce as _0x265549,generateRandomId as _0x23f566,isValidRange as _0x2f7016,merge as _0x11f8eb,numberToABC as _0x2a8fac,toDisposable as _0x1094b2,touchDependencies as _0x5b8a57}from'@univerjs/core';import{ChartModelService as _0xef00ca,ChartUpdateConfigCommand as _0x459ce1,ChartUpdateConfigMutation as _0x18807f,ChartUpdateSourceCommand as _0x38e7ef,InsertChartCommand as _0x6ba0fd,InsertSheetsChartMutation as _0x5c166f,RemoveSheetsChartMutation as _0x2ccbfe,SHEETS_CHART_PLUGIN_CONFIG_KEY as _0x1b5ad5,SHEETS_CHART_PLUGIN_NAME as _0xff1a05,SheetChartConfigAdapter as _0x467243,SheetsChartService as _0x45f46e,UniverSheetsChartPlugin as _0x5a4ecb,getAllowedChartTypes as _0x2ab3f2,toInsertChartMutationSource as _0x1d8687}from'@univerjs-pro/sheets-chart';import{IDrawingManagerService as _0x2a46aa,UniverDrawingPlugin as _0x5eca96,getDrawingShapeKeyByDrawingSearch as _0x4f61f4,getOrCreateDrawingCopyPlan as _0x5a52ec}from'@univerjs/drawing';import{DrawingApplyType as _0x30b7e4,ISheetDrawingService as _0x1ddd2c,RemoveSheetDrawingCommand as _0x14d389,SetDrawingApplyMutation as _0x16136c,UniverSheetsDrawingPlugin as _0x180756,transformToDrawingPosition as _0x38630f}from'@univerjs/sheets-drawing';import{SHEET_CHART_RENDER_OBJECT_CONFIG as _0x379573,SheetCanvasFloatDomManagerService as _0x1cd243,SheetDrawingHitTestService as _0x1c6a95,UniverSheetsDrawingMobileUIPlugin as _0x559b0f,UniverSheetsDrawingUIPlugin as _0x4e1419}from'@univerjs/sheets-drawing-ui';import{COPY_TYPE as _0xe1391d,ISheetClipboardService as _0x48255a,PREDEFINED_HOOK_NAME as _0x9ae0ee,SheetCanvasPopManagerService as _0x1ac4ba,SheetCopyCommand as _0x49cae7,SheetPrintInterceptorService as _0x4e275e,SheetSkeletonManagerService as _0x4936ae,UniverSheetsMobileUIPlugin as _0x479d7b,UniverSheetsUIPlugin as _0x43225f,deriveStateFromActiveSheet$ as _0x3ed158,getCurrentRangeDisable$ as _0x177389}from'@univerjs/sheets-ui';import{CanvasFloatDomService as _0x2f4ea6,ComponentManager as _0x59c972,ContextMenuGroup as _0x3caad2,ContextMenuPosition as _0x44ac90,IMenuManagerService as _0x3d6daf,ISidebarService as _0xe0c109,IconManager as _0x448b57,KeyCode as _0x85e98f,MenuItemType as _0x2d6dc8,NativeTextEditorShortcutBehavior as _0x1a8c0d,RibbonInsertGroup as _0x17e5d5,UniverMobileUIPlugin as _0x3593c7,getMenuHiddenObservable as _0x441bd8,useDependency as _0x216cfe,useObservable as _0x103df8}from'@univerjs/ui';import{BehaviorSubject as _0x36066b,Observable as _0x54465a,Subject as _0x19954c,combineLatest as _0x276a93,combineLatestWith as _0xedeac2,debounceTime as _0x13ec66,distinctUntilChanged as _0x29a798,filter as _0x5482cb,fromEvent as _0x320bfe,map as _0x1f7349,merge as _0x1ef318,pairwise as _0x18ea1,skip as _0x83aac8,startWith as _0x40fbf9,switchMap as _0x2ddbf4,take as _0x25844e,throttleTime as _0xff450d,withLatestFrom as _0x33b91a}from'rxjs';import{CHART_ELEMENT_FLOAT_MENU_COMPONENT as _0x1ac861,CHART_HOST_BORDER_RADIUS as _0x35f395,CHART_TYPE_CATALOG as _0x17f712,ChartAxisSection as _0x49da1a,ChartDomFrame as _0x389f97,ChartEditBlockTitle as _0x207394,ChartEditPanelSection as _0x5cd548,ChartEditPanelTab as _0x45ab14,ChartEditorCapability as _0x2db937,ChartEditorProvider as _0xadc9c2,ChartEditorTabs as _0x3e5287,ChartElementFloatMenuAdapterRegistry as _0x4222e1,ChartFrameContentMode as _0x2717d0,ChartFrameLayout as _0x513278,ChartFunnelStyleSection as _0x10f257,ChartGridlinesAndTicksSection as _0x275af9,ChartHeatmapStyleSection as _0xdb5d0c,ChartHostAdapter as _0x21eaab,ChartImageExportService as _0x5e98c4,ChartIndicatorLineSection as _0x2206f1,ChartLegendSection as _0x167edd,ChartLineAndAreaSection as _0x2adbfb,ChartNumberFormatAtom as _0x1952a3,ChartParetoSeriesSection as _0x19f761,ChartPieStyleSection as _0xfe26d,ChartRadarStyleSection as _0x29bb05,ChartRelationStyleSection as _0x3b130a,ChartSectionAccordion as _0x180c10,ChartSectionAccordionContent as _0x25002a,ChartSectionAccordionItem as _0x3ef861,ChartSectionAccordionTrigger as _0x57ffd4,ChartSeriesSection as _0x352738,ChartSetupPanel as _0xc7bb52,ChartStyleSection as _0x31470c,ChartTitlesSection as _0x2ba23b,ChartTrendlineSection as _0x3dc659,ChartTypeSpecificStyleSection as _0x47de5c,ChartUIService as _0x116c21,ChartViewStateRegistry as _0x3e8107,ChartWaterfallStyleSection as _0x3ed512,ChartWordCloudStyleSection as _0xbc59ea,DEFAULT_CHART_AXIS_VALUES as _0x139b61,DEFAULT_CHART_FUNNEL_VALUES as _0xb27861,DEFAULT_CHART_HEATMAP_VALUES as _0x12c1e1,DEFAULT_CHART_INDICATOR_LINE_VALUES as _0x31ba77,DEFAULT_CHART_LEGEND_VALUES as _0x5f58c5,DEFAULT_CHART_LINE_AND_AREA_VALUES as _0x446fe7,DEFAULT_CHART_PARETO_VALUES as _0x1643ce,DEFAULT_CHART_PIE_VALUES as _0x4d97b0,DEFAULT_CHART_RADAR_VALUES as _0x65c5c5,DEFAULT_CHART_RELATION_VALUES as _0x394271,DEFAULT_CHART_SERIES_VALUES as _0x268902,DEFAULT_CHART_STYLE_VALUES as _0x2b1fd5,DEFAULT_CHART_TITLE_VALUES as _0x164823,DEFAULT_CHART_TRENDLINE_VALUES as _0x4a9bbd,DEFAULT_CHART_WATERFALL_STYLE_VALUES as _0x506e01,DEFAULT_CHART_WORD_CLOUD_VALUES as _0x580b40,MobileChartEditorProvider as _0x5c14bf,UniverChartMobileUIPlugin as _0xd0b56d,UniverChartUIPlugin as _0x5af706,buildChartTypeSelectOptions as _0x5db475,chartTypeSupportsCapability as _0x4a2ff9,chartTypeSupportsLineAndAreaStyle as _0x4aab43,createChartElementFloatMenuAdapter as _0x32b76b,resolveChartCreationIntent as _0x518a98,resolveChartEditPanelRoute as _0x2ab4ba,resolveChartElementSelection as _0x422e0a,useChartEditorChartType as _0x2bf8dc,useChartEditorHasRightAxis as _0x207a58}from'@univerjs-pro/chart-ui';import{CHART_DATA_UPDATE_ANIMATION_DURATION as _0x24781a,ChartImageExportFormat as _0x4d43e3,ChartImageSourceType as _0x1a6044,ChartRenderMode as _0x5aea83,ChartSourceHeaderTitleType as _0x3471e0,ChartThemeService as _0x5a9273,ChartTypeBits as _0x1b41ef,ChartWaterfallStyleTarget as _0x4f4eae,DataOrientation as _0x10a164,EChartRenderEngineName as _0x2e63c9,IChartRenderModelManagerService as _0x51da78,ImageChartHost as _0x25bd7c,PieSecondaryPlotType as _0x5a7f11,RTLChartStyle as _0x53921e,chartBitsUtils as _0x159690,chartImageSourceToDataUrl as _0xa2d3cc,chartTypeCanUseTrendLine as _0x34a7ab,resolveChartRuntimeStyle as _0x2f8ba8,resolveChartStyleBackgroundColor as _0x2a1999,resolveDefaultChartHostFrameStyle as _0x214c2a}from'@univerjs-pro/engine-chart';import{CopySheetCommand as _0x488928,RemoveSheetCommand as _0x3c652c,SheetInterceptorService as _0x304912,SheetPermissionCheckController as _0x5672ce,SheetSkeletonService as _0x5f5b10,SheetsSelectionsService as _0x4b6f39,UniverSheetsPlugin as _0x282fcb,WorkbookEditablePermission as _0x467779,WorksheetEditPermission as _0x311452,attachRangeWithCoord as _0x57f3f4,discreteRangeToRange as _0x4c3d52,getSheetCommandTarget as _0x374c25}from'@univerjs/sheets';import{deserializeRangeWithSheet as _0x560030,matchToken as _0x11cdbd,serializeRangeWithSheet as _0x2a42f7}from'@univerjs/engine-formula';import{insertGroupObject as _0x43a0ef}from'@univerjs/drawing-ui';import{DRAWING_OBJECT_LAYER_INDEX as _0x1f3967,IRenderManagerService as _0x2b6adf,ObjectType as _0x4e0d4f,RENDER_CLASS_TYPE as _0x332d03,Rect as _0x5ea5cc,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x4f6e63,Transform as _0x23b379,UniverRenderEnginePlugin as _0x2c2309}from'@univerjs/engine-render';import{useCallback as _0x2b3d4a,useEffect as _0x3b35d2,useMemo as _0x1f6146,useRef as _0x399028,useState as _0x4cb90f}from'react';import{Button as _0x926487,Checkbox as _0x277379}from'@univerjs/design';import{MobileRangeSelector as _0x411079,RangeSelector as _0x16fe39}from'@univerjs/sheets-formula-ui';import{Fragment as _0x59371d,jsx as _0x29cee8,jsxs as _0x191e51}from'react/jsx-runtime';import{UniverLicensePlugin as _0x18ed5a}from'@univerjs-pro/license';import{PenIcon as _0x54e35}from'@univerjs/icons';const V={'type':_0x467099['OPERATION'],'id':_0x5d1a27(0x2a3),'handler'(){return!0x0;}},Cr=_0x5d1a27(0x258),wr={'enableChartElementFloatMenu':!0x0},Tr={'type':_0x467099[_0x5d1a27(0x20a)],'id':_0x5d1a27(0x2a5),'handler'(){return!0x0;}};function Er(_0x583ce8){const _0x5b702f=_0x5d1a27;let _0x31b3fe=_0x583ce8[_0x5b702f(0x3a6)](_0x1ddd2c)[_0x5b702f(0x23a)]();if(_0x31b3fe[_0x5b702f(0x355)]!==0x1)return null;let _0x3c4fa9=_0x31b3fe[0x0];return _0x3c4fa9[_0x5b702f(0x3e5)]===_0x4c00c3['DRAWING_CHART']?_0x3c4fa9:null;}function Dr(_0x331887,_0xfe0b15){const _0x573f7f=_0x5d1a27;let _0x273a97=document[_0x573f7f(0x26b)]('a');_0x273a97[_0x573f7f(0x231)]=_0x331887,_0x273a97['download']=_0xfe0b15,_0x273a97['click']();}const Or={'id':_0x5d1a27(0x24b),'type':_0x467099['COMMAND'],'handler':(_0x29e1f4,_0x5356ad)=>{const _0x1a90f4=_0x5d1a27;let _0x30f72a=Er(_0x29e1f4);return _0x30f72a?_0x29e1f4['get'](_0x23023c)[_0x1a90f4(0x2de)](V['id'],{'unitId':_0x30f72a['unitId'],'subUnitId':_0x30f72a[_0x1a90f4(0x2b4)],'drawingId':_0x30f72a['drawingId'],..._0x5356ad!=null&&_0x5356ad['route']?{'route':_0x5356ad[_0x1a90f4(0x204)]}:{}}):!0x1;}},kr={'id':_0x5d1a27(0x2e2),'type':_0x467099['COMMAND'],'handler':_0x22c2fc=>Er(_0x22c2fc)?_0x22c2fc[_0x5d1a27(0x3a6)](_0x23023c)[_0x5d1a27(0x2de)](_0x49cae7['id']):!0x1},Ar={'id':_0x5d1a27(0x292),'type':_0x467099[_0x5d1a27(0x26c)],'handler':async _0x3b7a5d=>{const _0x3da94b=_0x5d1a27;let _0x34144a=Er(_0x3b7a5d);if(!_0x34144a)return!0x1;let _0x335602=await _0x3b7a5d['get'](_0x5e98c4)[_0x3da94b(0x369)]({'unitId':_0x34144a[_0x3da94b(0x1b7)],'subUnitId':_0x34144a['subUnitId'],'getId':()=>_0x34144a['drawingId']});return _0x335602?(Dr(_0x335602,_0x34144a[_0x3da94b(0x14a)]+'.png'),!0x0):!0x1;}},jr={'id':'sheet.command.chart.delete-focused-chart','type':_0x467099[_0x5d1a27(0x26c)],'handler':_0x4a1c44=>{const _0x2b9c57=_0x5d1a27;let _0x4e218d=Er(_0x4a1c44);return _0x4e218d?_0x4a1c44[_0x2b9c57(0x3a6)](_0x23023c)[_0x2b9c57(0x2de)](_0x14d389['id'],{'unitId':_0x4e218d[_0x2b9c57(0x1b7)],'drawings':[{'unitId':_0x4e218d[_0x2b9c57(0x1b7)],'subUnitId':_0x4e218d[_0x2b9c57(0x2b4)],'drawingId':_0x4e218d[_0x2b9c57(0x14a)],'drawingType':_0x4c00c3[_0x2b9c57(0x249)]}]}):!0x1;}},H={'type':_0x467099[_0x5d1a27(0x26c)],'id':_0x5d1a27(0x17b),'handler':async(_0x34be5a,_0x228037)=>{const _0x11ae4c=_0x5d1a27;let _0x40f837=_0x374c25(_0x34be5a['get'](_0x50dd4e));if(!_0x40f837)return!0x1;let _0x5e9ae9=_0x34be5a[_0x11ae4c(0x3a6)](_0x4b6f39)[_0x11ae4c(0x3c5)]();if(!_0x5e9ae9)return!0x1;let {range:_0x4921f1}=_0x5e9ae9,_0x2d0c53=_0x34be5a[_0x11ae4c(0x3a6)](_0x23023c),{unitId:_0x3097fb,subUnitId:_0x4421bf}=_0x40f837,{pieSecondaryPlotType:_0x498b43,value:_0x1c2c23}=_0x228037,_0x574fc5=_0x498b43!==void 0x0;if(_0x574fc5&&(_0x1c2c23!==_0x1b41ef[_0x11ae4c(0x350)]||_0x498b43!==_0x5a7f11[_0x11ae4c(0x350)]&&_0x498b43!==_0x5a7f11[_0x11ae4c(0x34e)]))return!0x1;let _0x1456dd=_0x574fc5?_0x23f566():void 0x0;return _0x2d0c53[_0x11ae4c(0x2de)](_0x6ba0fd['id'],{'unitId':_0x3097fb,'subUnitId':_0x4421bf,'chartType':_0x1c2c23,..._0x1456dd&&_0x498b43?{'chartId':_0x1456dd,'config':{'unitId':_0x3097fb,'chartModelId':_0x1456dd,'style':{'pie':{'composite':{'enabled':!0x0,'secondaryPlot':{'type':_0x498b43}}}}}}:{},'source':{'rangeInfo':{'unitId':_0x4921f1[_0x11ae4c(0x1b7)]??_0x3097fb,'subUnitId':_0x4921f1['sheetId']??_0x4421bf,'range':_0x4921f1}}});}};function Mr(_0x597091,_0x5668b7){const _0x2a3304=_0x5d1a27;if(_0x597091==null)return'';if(Array[_0x2a3304(0x25b)](_0x597091)){var _0x5a21de;let _0x29dabd=(_0x5a21de=_0x597091[0x0])==null?void 0x0:_0x5a21de['range'];return _0x29dabd?Nr(_0x29dabd,_0x5668b7):'';}return Nr(_0x597091[_0x2a3304(0x2a6)],_0x5668b7);}function Nr(_0x8483df,_0x4d27c4){const _0x53285f=_0x5d1a27;var _0x4a8658;let {unitId:_0x3585b4,subUnitId:_0x48b819,range:_0xa4d388}=_0x8483df,_0x21131a=(_0x4a8658=_0x4d27c4[_0x53285f(0x2f4)](_0x3585b4))==null?void 0x0:_0x4a8658[_0x53285f(0x337)](_0x48b819);if(!_0x21131a)return'';let _0x54b2d5=_0x21131a[_0x53285f(0x339)]();return _0x2a42f7(_0x54b2d5,_0xa4d388);}const Pr=_0x17f712[_0x5d1a27(0x1a0)](_0x378beb=>({'id':'id'in _0x378beb?_0x378beb['id']:void 0x0,'labelId':_0x378beb[_0x5d1a27(0x356)],'pieSecondaryPlotType':_0x5d1a27(0x3dc)in _0x378beb?_0x378beb[_0x5d1a27(0x3dc)]:void 0x0,'value':_0x378beb[_0x5d1a27(0x385)],'icon':_0x378beb['iconName']}));function Fr(_0xbef68d=Pr){const _0x3e4a8b=_0x5d1a27;return _0xbef68d[_0x3e4a8b(0x1a0)](({id:_0x524082,icon:_0xb03523,value:_0x1256c8})=>{const _0x921799=_0x3e4a8b;let _0x521d88=_0x518a98(_0x524082??String(_0x1256c8)),_0x5bc2b6=_0x521d88?{'value':_0x521d88[_0x921799(0x38a)],..._0x521d88[_0x921799(0x3dc)]?{'pieSecondaryPlotType':_0x521d88['pieSecondaryPlotType']}:{}}:{'value':_0x1256c8};return{'icon':_0xb03523,'value':_0x524082??_0x1256c8,'params':_0x5bc2b6};});}const Ir=(_0x271545,_0x4a28ea)=>{const _0x1f94d2=_0x5d1a27;if(_0x4a28ea[_0x1f94d2(0x355)]===0x1&&_0x4a28ea[0x0]==='all')return _0x271545;if(_0x4a28ea[_0x1f94d2(0x355)]>0x1){let _0x628f00=new Set();for(let _0xffd095 of _0x4a28ea)_0x628f00[_0x1f94d2(0x248)](Number(_0xffd095));return _0x271545[_0x1f94d2(0x1e4)](_0x427970=>_0x628f00[_0x1f94d2(0x21c)](_0x427970['value']));}return[];};function Lr(_0x309860){const _0xcb2ea=_0x5d1a27;let _0x524b45=_0x309860[_0xcb2ea(0x3a6)](_0x50dd4e),_0x522039=_0x2ab3f2(_0x309860),_0x4feedd=Ir(Pr[_0xcb2ea(0x37b)](),_0x522039),_0x32118a=Fr(_0x4feedd)[_0xcb2ea(0x1a0)]((_0x185cee,_0x10b8a3)=>({'icon':_0x185cee[_0xcb2ea(0x1d9)],'value':_0x185cee[_0xcb2ea(0x385)],'params':_0x185cee[_0xcb2ea(0x398)],'label':'sheets-chart-ui.chartTypes.'+_0x4feedd[_0x10b8a3][_0xcb2ea(0x356)]}));return{'id':H['id'],'type':_0x2d6dc8[_0xcb2ea(0x2df)],'selectionsCommandId':H['id'],'selections':_0x32118a,'icon':'ChartIcon','tooltip':'sheets-chart-ui.common.insertChart','activated$':_0x3ed158(_0x524b45,!0x1,()=>new _0x54465a(_0xe912f3=>{const _0x23f377=_0xcb2ea;_0xe912f3[_0x23f377(0x2db)](!0x1);})),'hidden$':_0x441bd8(_0x309860,_0x2a3654[_0xcb2ea(0x1d7)]),'disabled$':_0x177389(_0x309860)};}function Rr(_0x19ccba){const _0x18922e=_0x5d1a27;let _0xfec7ec=_0x19ccba[_0x18922e(0x3a6)](_0x1ddd2c);return _0xfec7ec[_0x18922e(0x1d0)][_0x18922e(0x186)](_0x40fbf9(_0xfec7ec[_0x18922e(0x23a)]()),_0x1f7349(()=>Er(_0x19ccba)==null));}function zr(_0x151efa){const _0x5158d6=_0x5d1a27;return{'id':Or['id'],'commandId':Or['id'],'type':_0x2d6dc8[_0x5158d6(0x3bb)],'title':_0x151efa[_0x5158d6(0x3a6)](_0x2365aa)['t'](_0x5158d6(0x32c)),'icon':_0x5158d6(0x2b1),'hidden$':Rr(_0x151efa)};}function _0x14cc(_0x571550,_0x11d5bb){_0x571550=_0x571550-0x116;const _0x86467d=_0x8646();let _0x14cc66=_0x86467d[_0x571550];return _0x14cc66;}function Br(_0x9a9ea3){const _0x262cae=_0x5d1a27;return{'id':kr['id'],'commandId':kr['id'],'type':_0x2d6dc8['BUTTON'],'title':_0x9a9ea3['get'](_0x2365aa)['t'](_0x262cae(0x2f0)),'icon':_0x262cae(0x1d5),'hidden$':Rr(_0x9a9ea3)};}function Vr(_0x4359ac){const _0x7ec655=_0x5d1a27;return{'id':Ar['id'],'commandId':Ar['id'],'type':_0x2d6dc8[_0x7ec655(0x3bb)],'title':_0x4359ac[_0x7ec655(0x3a6)](_0x2365aa)['t'](_0x7ec655(0x304)),'icon':_0x7ec655(0x12b),'hidden$':Rr(_0x4359ac)};}function Hr(_0x1ca1aa){const _0x103bf7=_0x5d1a27;return{'id':jr['id'],'commandId':jr['id'],'type':_0x2d6dc8[_0x103bf7(0x3bb)],'title':_0x1ca1aa[_0x103bf7(0x3a6)](_0x2365aa)['t'](_0x103bf7(0x148)),'icon':_0x103bf7(0x13b),'hidden$':Rr(_0x1ca1aa)};}const Ur={[_0x17e5d5['MEDIA']]:{[H['id']]:{'order':0x4,'menuItemFactory':Lr}},[_0x44ac90[_0x5d1a27(0x297)]]:{[_0x3caad2[_0x5d1a27(0x1df)]]:{[Or['id']]:{'order':0x0,'menuItemFactory':zr},[kr['id']]:{'order':0x1,'menuItemFactory':Br},[Ar['id']]:{'order':0x3,'menuItemFactory':Vr},[jr['id']]:{'order':0x4,'menuItemFactory':Hr}}}};function Wr(_0xb1cebb){const _0x3ce1f7=_0x5d1a27;return _0xb1cebb===_0x1b41ef[_0x3ce1f7(0x25e)]||_0xb1cebb===_0x1b41ef[_0x3ce1f7(0x141)]||_0xb1cebb===_0x1b41ef[_0x3ce1f7(0x160)]||_0x159690['baseOn'](_0xb1cebb,_0x1b41ef[_0x3ce1f7(0x29b)])||_0x159690[_0x3ce1f7(0x38d)](_0xb1cebb,_0x1b41ef[_0x3ce1f7(0x27b)])||_0x159690[_0x3ce1f7(0x38d)](_0xb1cebb,_0x1b41ef[_0x3ce1f7(0x226)])||_0x159690[_0x3ce1f7(0x38d)](_0xb1cebb,_0x1b41ef[_0x3ce1f7(0x3c2)]);}function Gr(_0xaefe7c){const _0x413fda=_0x5d1a27;return Wr(_0xaefe7c)||_0x159690['baseOn'](_0xaefe7c,_0x1b41ef[_0x413fda(0x350)])||_0x159690[_0x413fda(0x38d)](_0xaefe7c,_0x1b41ef[_0x413fda(0x14b)])||_0x159690[_0x413fda(0x38d)](_0xaefe7c,_0x1b41ef[_0x413fda(0x2cf)]);}function Kr(_0x5ddde5,_0x195fd5){const _0x57e9e6=_0x5d1a27;let _0x5ecf3e=_0x422e0a(_0x5ddde5,_0x195fd5),_0x9f055b=_0x5ecf3e?_0x2ab4ba(_0x5ecf3e[_0x57e9e6(0x2cb)]):void 0x0;if(_0x5ecf3e&&_0x9f055b)return{..._0x5ecf3e,'route':_0x9f055b,'showFloatMenu':Gr(_0x5ddde5['chartType'])&&_0x5ecf3e[_0x57e9e6(0x2ba)]};}function qr(_0x361046){'@babel/helpers - typeof';const _0x4bb31d=_0x5d1a27;return qr=typeof Symbol==_0x4bb31d(0x2b5)&&typeof Symbol[_0x4bb31d(0x2c4)]==_0x4bb31d(0x3d2)?function(_0xae1662){return typeof _0xae1662;}:function(_0x1dd17e){const _0x269932=_0x4bb31d;return _0x1dd17e&&typeof Symbol==_0x269932(0x2b5)&&_0x1dd17e['constructor']===Symbol&&_0x1dd17e!==Symbol[_0x269932(0x1e1)]?_0x269932(0x3d2):typeof _0x1dd17e;},qr(_0x361046);}function Jr(_0x4ac941,_0x3d08bb){const _0x15daad=_0x5d1a27;if(qr(_0x4ac941)!=_0x15daad(0x382)||!_0x4ac941)return _0x4ac941;var _0x3be49f=_0x4ac941[Symbol[_0x15daad(0x122)]];if(_0x3be49f!==void 0x0){var _0x522b48=_0x3be49f[_0x15daad(0x172)](_0x4ac941,_0x3d08bb||_0x15daad(0x30e));if(qr(_0x522b48)!=_0x15daad(0x382))return _0x522b48;throw TypeError(_0x15daad(0x1ad));}return(_0x3d08bb===_0x15daad(0x130)?String:Number)(_0x4ac941);}function Yr(_0x3c0759){const _0x1a405e=_0x5d1a27;var _0x8cdb7b=Jr(_0x3c0759,_0x1a405e(0x130));return qr(_0x8cdb7b)==_0x1a405e(0x3d2)?_0x8cdb7b:_0x8cdb7b+'';}function U(_0xc3f1f3,_0xe4b05e,_0x5e675d){return(_0xe4b05e=Yr(_0xe4b05e))in _0xc3f1f3?Object['defineProperty'](_0xc3f1f3,_0xe4b05e,{'value':_0x5e675d,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0xc3f1f3[_0xe4b05e]=_0x5e675d,_0xc3f1f3;}var Xr=class extends _0x23a464{constructor(_0x594e65,_0x26e135){const _0x19bdc5=_0x5d1a27;super(),this[_0x19bdc5(0x15a)]=_0x594e65,this['_onChange']=_0x26e135,U(this,_0x19bdc5(0x1f1),null),U(this,_0x19bdc5(0x3d6),void 0x0),this[_0x19bdc5(0x3d6)]=this[_0x19bdc5(0x2ca)](),this['disposeWithMe'](_0x594e65[_0x19bdc5(0x16f)][_0x19bdc5(0x1a7)](()=>{const _0x18fd1d=_0x19bdc5;this['_frame']===null&&(this[_0x18fd1d(0x1f1)]=requestAnimationFrame(()=>this[_0x18fd1d(0x171)]()));}));}[_0x5d1a27(0x171)](){const _0xdf3da9=_0x5d1a27;if(this[_0xdf3da9(0x117)](),this['_disposed'])return;let _0x47c250=this[_0xdf3da9(0x2ca)](),_0x4476b0=this[_0xdf3da9(0x3d6)],_0x4d78b3=_0x47c250['width']!==_0x4476b0[_0xdf3da9(0x175)]||_0x47c250[_0xdf3da9(0x364)]!==_0x4476b0[_0xdf3da9(0x364)];(_0x4d78b3||_0x47c250[_0xdf3da9(0x290)]!==_0x4476b0[_0xdf3da9(0x290)]||_0x47c250[_0xdf3da9(0x2c0)]!==_0x4476b0[_0xdf3da9(0x2c0)])&&(this['_geometry']=_0x47c250,this[_0xdf3da9(0x2e0)](_0x4d78b3));}[_0x5d1a27(0x117)](){const _0x3de33d=_0x5d1a27;this[_0x3de33d(0x1f1)]!==null&&(cancelAnimationFrame(this[_0x3de33d(0x1f1)]),this[_0x3de33d(0x1f1)]=null);}[_0x5d1a27(0x33d)](){const _0x5d2702=_0x5d1a27;this['cancelPending'](),super[_0x5d2702(0x33d)]();}['_readGeometry'](){let {left:_0x598042,top:_0x562772,width:_0x47f02e,height:_0x1865e3}=this['_rect'];return{'left':_0x598042,'top':_0x562772,'width':_0x47f02e,'height':_0x1865e3};}};function Zr(_0x4d7b58,_0x4895e0=0x1){const _0x592d8b=_0x5d1a27;return{'width':Math[_0x592d8b(0x189)](_0x4895e0,_0x4d7b58[_0x592d8b(0x175)]),'height':Math[_0x592d8b(0x189)](_0x4895e0,_0x4d7b58[_0x592d8b(0x364)])};}function Qr(_0x5cf04a,_0x4409ff={},_0x511460={'left':0x0,'top':0x0}){const _0x36f7d1=_0x5d1a27;let _0x13eb5e=_0x4409ff[_0x36f7d1(0x39a)]??0x1,_0x1c306a=_0x4409ff[_0x36f7d1(0x3e4)]??0x1,_0xc4c1d9=_0x513278[_0x36f7d1(0x2ad)]({'logicalOuterRect':{'left':_0x511460[_0x36f7d1(0x290)]>0x0?-_0x511460[_0x36f7d1(0x290)]:0x0,'top':_0x511460[_0x36f7d1(0x2c0)]>0x0?-_0x511460['top']:0x0,...Zr(_0x5cf04a)},'scale':{'scaleX':_0x13eb5e,'scaleY':_0x1c306a},'hostStyle':{},'contentMode':_0x2717d0[_0x36f7d1(0x2a7)]});return{'left':_0xc4c1d9[_0x36f7d1(0x1ac)][_0x36f7d1(0x290)],'top':_0xc4c1d9['logicalOuterRect'][_0x36f7d1(0x2c0)],'width':_0xc4c1d9[_0x36f7d1(0x1ac)][_0x36f7d1(0x175)],'height':_0xc4c1d9[_0x36f7d1(0x1ac)][_0x36f7d1(0x364)],'scaleX':_0x13eb5e,'scaleY':_0x1c306a};}function $r(_0x395f0f){const _0x530544=_0x5d1a27;switch(_0x395f0f['type']){case _0x1a6044[_0x530544(0x12c)]:return _0x395f0f[_0x530544(0x1bf)];case _0x1a6044['ImageBitmap']:return _0x395f0f['imageBitmap'];default:return;}}var ei=class extends _0x5ea5cc{constructor(_0x582c0b,_0x104f6b,_0x7428bd,_0xf0dbb5=()=>!0x1,_0x5133f9=()=>{}){const _0x828a57=_0x5d1a27;super(_0x582c0b,{..._0x104f6b,'evented':_0x104f6b['evented']??!0x0}),this[_0x828a57(0x33a)]=_0x7428bd,this[_0x828a57(0x224)]=_0xf0dbb5,this[_0x828a57(0x374)]=_0x5133f9,U(this,'_urlImage',null),U(this,_0x828a57(0x1a9),null),U(this,_0x828a57(0x391),null),U(this,_0x828a57(0x18f),null),this[_0x828a57(0x3cd)](_0x4e0d4f[_0x828a57(0x359)]);}['dispose'](){const _0x37366a=_0x5d1a27;this[_0x37366a(0x3ac)](),this[_0x37366a(0x2e9)]=null,this['_url']=null,this[_0x37366a(0x391)]=null,this[_0x37366a(0x374)](),super[_0x37366a(0x33d)]();}[_0x5d1a27(0x3a9)](_0x58365f,_0x2f1917){const _0x5c5e6e=_0x5d1a27;if(!this[_0x5c5e6e(0x268)])return this[_0x5c5e6e(0x3d3)](!0x1),this;if(this[_0x5c5e6e(0x224)]()){let _0x27d562=this[_0x5c5e6e(0x33a)]();return _0x27d562&&this[_0x5c5e6e(0x2b9)](_0x27d562),this['makeDirty'](!0x1),this;}if(!this['transform'])return this;let {width:_0x2de7c4,height:_0x19ee73,left:_0x37f1a2,top:_0x4289e5}=this['getRealBound']();if(this[_0x5c5e6e(0x332)](_0x2f1917)){let {top:_0x417b3c,left:_0x70fa66,bottom:_0xe18500,right:_0xddf5dd}=_0x2f1917['viewBound'];if(_0x2de7c4+this[_0x5c5e6e(0x28e)]+_0x37f1a2<_0x70fa66||_0xddf5dd<_0x37f1a2||_0x19ee73+this[_0x5c5e6e(0x28e)]+_0x4289e5<_0x417b3c||_0xe18500<_0x4289e5)return this;}let _0x394050=this[_0x5c5e6e(0x31c)][_0x5c5e6e(0x2f8)]();_0x58365f['save']();let _0x13bc46=_0x37f1a2+_0x2de7c4/0x2,_0x52513a=_0x4289e5+_0x19ee73/0x2;return _0x58365f[_0x5c5e6e(0x31c)](_0x394050[0x0],_0x394050[0x1],_0x394050[0x2],_0x394050[0x3],_0x13bc46,_0x52513a),this[_0x5c5e6e(0x19c)]!==0x1&&(_0x58365f[_0x5c5e6e(0x31b)]=this[_0x5c5e6e(0x19c)]),this[_0x5c5e6e(0x17e)](_0x58365f,void 0x0,_0x2de7c4,_0x19ee73),_0x58365f['restore'](),this[_0x5c5e6e(0x3d3)](!0x1),this;}[_0x5d1a27(0x17e)](_0x577183,_0xfb4ba4,_0x18adc1=this[_0x5d1a27(0x175)],_0x598729=this[_0x5d1a27(0x364)]){const _0x11e147=_0x5d1a27;this['_drawChartFrame'](_0x577183,_0x18adc1,_0x598729,{'stroke':void 0x0,'strokeWidth':0x0}),this['_drawChartImage'](_0x577183,_0x18adc1,_0x598729),this[_0x11e147(0x2f7)](_0x577183,_0x18adc1,_0x598729,{'fill':void 0x0});}[_0x5d1a27(0x2f7)](_0x4fa236,_0x57a93f,_0x123bb1,_0x2ca99f){const _0x6e99ce=_0x5d1a27;_0x4fa236[_0x6e99ce(0x2d2)](),_0x4fa236[_0x6e99ce(0x31f)](-_0x57a93f/0x2,-_0x123bb1/0x2),_0x5ea5cc[_0x6e99ce(0x36b)](_0x4fa236,ti(this,_0x57a93f,_0x123bb1,_0x2ca99f)),_0x4fa236[_0x6e99ce(0x1b6)]();}[_0x5d1a27(0x2be)](_0x5b72b8){const _0x3326fa=_0x5d1a27;let {left:_0x2afe18,top:_0x385f61,width:_0x210a80,height:_0x2dd21c}=this[_0x3326fa(0x3ab)](),_0x38ae97=_0x2afe18+_0x210a80/0x2,_0x200f25=_0x385f61+_0x2dd21c/0x2,_0x222110=this[_0x3326fa(0x31c)][_0x3326fa(0x2f8)](),_0x3c964b=new _0x23b379([_0x222110[0x0],_0x222110[0x1],_0x222110[0x2],_0x222110[0x3],_0x38ae97,_0x200f25]),_0x2c935d=this[_0x3326fa(0x317)](),_0x5ade1f=(this[_0x3326fa(0x272)]&&(_0x2c935d==null?void 0x0:_0x2c935d['classType'])===_0x332d03[_0x3326fa(0x338)]?_0x2c935d['ancestorTransform']['multiply'](_0x3c964b):_0x3c964b)[_0x3326fa(0x132)]()[_0x3326fa(0x1da)](_0x5b72b8),_0x32834f=_0x210a80/0x2,_0x2a48bd=_0x2dd21c/0x2;return _0x5ade1f['x']>=-_0x32834f-this[_0x3326fa(0x28e)]/0x2&&_0x5ade1f['x']<=_0x32834f+this[_0x3326fa(0x28e)]/0x2&&_0x5ade1f['y']>=-_0x2a48bd-this[_0x3326fa(0x28e)]/0x2&&_0x5ade1f['y']<=_0x2a48bd+this[_0x3326fa(0x28e)]/0x2;}[_0x5d1a27(0x313)](_0x5ae456,_0x862e8f,_0x2c9acb){const _0x1d48ce=_0x5d1a27;let _0x37d858=this[_0x1d48ce(0x33a)](),_0x541194=_0x37d858?this[_0x1d48ce(0x2b9)](_0x37d858):void 0x0;if(!_0x541194)return;let {width:_0x2e1aee,height:_0x413dc4}=Zr({'width':_0x862e8f,'height':_0x2c9acb},0x0);_0x2e1aee!==0x0&&_0x413dc4!==0x0&&(_0x5ae456['save'](),_0x5ae456[_0x1d48ce(0x31f)](-_0x862e8f/0x2,-_0x2c9acb/0x2),ni(_0x5ae456,_0x2e1aee,_0x413dc4,this[_0x1d48ce(0x320)]),_0x5ae456['clip'](),_0x5ae456['drawImage'](_0x541194,0x0,0x0,_0x2e1aee,_0x413dc4),_0x5ae456[_0x1d48ce(0x1b6)]());}[_0x5d1a27(0x2b9)](_0x208f8b){const _0x417b13=_0x5d1a27;var _0x375448;let _0x52edce=$r(_0x208f8b);if(_0x52edce)return _0x52edce;if(_0x208f8b[_0x417b13(0x17a)]===_0x1a6044[_0x417b13(0x2fa)]&&(this['_requestedUrl']!==_0x208f8b[_0x417b13(0x34f)]&&(this[_0x417b13(0x391)]=_0x208f8b[_0x417b13(0x34f)],this['_clearPendingUrlImage'](),this[_0x417b13(0x1a9)]!==_0x208f8b['url']&&this['_loadUrlImage'](_0x208f8b[_0x417b13(0x34f)])),(_0x375448=this['_urlImage'])!=null&&_0x375448[_0x417b13(0x293)]&&this[_0x417b13(0x2e9)][_0x417b13(0x190)]>0x0&&this[_0x417b13(0x2e9)]['naturalHeight']>0x0))return this[_0x417b13(0x2e9)];}[_0x5d1a27(0x131)](_0x19b273){const _0x3db1ec=_0x5d1a27;let _0x3c9b13=document['createElement'](_0x3db1ec(0x38f));this['_pendingUrlImage']=_0x3c9b13,_0x3c9b13[_0x3db1ec(0x273)]=_0x3db1ec(0x329),_0x3c9b13[_0x3db1ec(0x25d)]=()=>{const _0x1d4af9=_0x3db1ec;this[_0x1d4af9(0x391)]===_0x19b273&&this[_0x1d4af9(0x18f)]===_0x3c9b13&&(_0x3c9b13[_0x1d4af9(0x190)]>0x0&&_0x3c9b13['naturalHeight']>0x0&&(this[_0x1d4af9(0x1a9)]=_0x19b273,this[_0x1d4af9(0x2e9)]=_0x3c9b13),this[_0x1d4af9(0x3ac)](),this[_0x1d4af9(0x3d3)](!0x0));},_0x3c9b13[_0x3db1ec(0x2a8)]=()=>{this['_pendingUrlImage']===_0x3c9b13&&this['_clearPendingUrlImage']();},_0x3c9b13[_0x3db1ec(0x2d4)]=_0x19b273;}[_0x5d1a27(0x3ac)](){const _0x5b2b27=_0x5d1a27;this['_pendingUrlImage']&&=(this[_0x5b2b27(0x18f)][_0x5b2b27(0x25d)]=null,this['_pendingUrlImage'][_0x5b2b27(0x2a8)]=null,null);}};function ti(_0x3e5c21,_0x565333,_0x392638,_0x474c12){const _0xaf2bdc=_0x5d1a27;let _0x51223f=Object[_0xaf2bdc(0x2ea)](_0x3e5c21);return Object[_0xaf2bdc(0x35d)](_0x51223f,_0xaf2bdc(0x175),{'value':_0x565333}),Object[_0xaf2bdc(0x35d)](_0x51223f,'height',{'value':_0x392638}),Object[_0xaf2bdc(0x30d)](_0x474c12)['forEach'](_0x2ce193=>{const _0x5ccbfd=_0xaf2bdc;Object[_0x5ccbfd(0x35d)](_0x51223f,_0x2ce193,{'value':_0x474c12[_0x2ce193]});}),_0x51223f;}function ni(_0x80484a,_0x4142d9,_0x5e50e7,_0x55be85){const _0x33e8d1=_0x5d1a27;let _0xd4024d=Math['min'](_0x55be85||0x0,_0x4142d9/0x2,_0x5e50e7/0x2);if(_0x80484a[_0x33e8d1(0x1ec)](),!_0xd4024d){_0x80484a[_0x33e8d1(0x1ed)](0x0,0x0,_0x4142d9,_0x5e50e7),_0x80484a[_0x33e8d1(0x2ed)]();return;}_0x80484a[_0x33e8d1(0x3c0)](_0xd4024d,0x0),_0x80484a[_0x33e8d1(0x146)](_0x4142d9-_0xd4024d,0x0),_0x80484a['arc'](_0x4142d9-_0xd4024d,_0xd4024d,_0xd4024d,Math['PI']*0x3/0x2,0x0,!0x1),_0x80484a[_0x33e8d1(0x146)](_0x4142d9,_0x5e50e7-_0xd4024d),_0x80484a[_0x33e8d1(0x1fa)](_0x4142d9-_0xd4024d,_0x5e50e7-_0xd4024d,_0xd4024d,0x0,Math['PI']/0x2,!0x1),_0x80484a[_0x33e8d1(0x146)](_0xd4024d,_0x5e50e7),_0x80484a[_0x33e8d1(0x1fa)](_0xd4024d,_0x5e50e7-_0xd4024d,_0xd4024d,Math['PI']/0x2,Math['PI'],!0x1),_0x80484a['lineTo'](0x0,_0xd4024d),_0x80484a['arc'](_0xd4024d,_0xd4024d,_0xd4024d,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x80484a[_0x33e8d1(0x2ed)]();}function W(_0x49c4b4){const _0x400660=_0x5d1a27;(_0x49c4b4==null?void 0x0:_0x49c4b4['type'])===_0x1a6044[_0x400660(0x150)]&&_0x49c4b4[_0x400660(0x276)]['close']();}function ri(_0xe809a4){const _0x37a795=_0x5d1a27;return _0xe809a4['unitId']+_0x37a795(0x3b4)+_0xe809a4[_0x37a795(0x2b4)]+_0x37a795(0x3b4)+_0xe809a4[_0x37a795(0x191)];}var ii=class extends _0x23a464{constructor(..._0x21f733){super(..._0x21f733),U(this,'_entries',new Map());}[_0x5d1a27(0x1e5)](_0x3b299f){const _0x105471=_0x5d1a27;let _0x3a7a8b=ri(_0x3b299f),_0x4b4f32=this[_0x105471(0x121)][_0x105471(0x3a6)](_0x3a7a8b)??{'version':0x0};return _0x4b4f32['version']+=0x1,this[_0x105471(0x121)][_0x105471(0x30a)](_0x3a7a8b,_0x4b4f32),_0x4b4f32[_0x105471(0x1ef)];}[_0x5d1a27(0x116)](_0x88d2c5,_0x580260){const _0x321f5e=_0x5d1a27;var _0x1bfcf2;return((_0x1bfcf2=this[_0x321f5e(0x121)][_0x321f5e(0x3a6)](ri(_0x88d2c5)))==null?void 0x0:_0x1bfcf2[_0x321f5e(0x1ef)])===_0x580260;}[_0x5d1a27(0x308)](_0x1d90bb,_0x21c894,_0x4da691){const _0x312779=_0x5d1a27;if(!this['isLatest'](_0x1d90bb,_0x4da691))return W(_0x21c894),!0x1;let _0x42983d=ri(_0x1d90bb),_0x8d2ae3=this[_0x312779(0x121)][_0x312779(0x3a6)](_0x42983d)??{'version':_0x4da691},_0x14c234=_0x8d2ae3['image'];return _0x8d2ae3[_0x312779(0x3de)]=_0x21c894,_0x8d2ae3[_0x312779(0x1ef)]=_0x4da691,this[_0x312779(0x121)][_0x312779(0x30a)](_0x42983d,_0x8d2ae3),_0x14c234!==_0x21c894&&W(_0x14c234),!0x0;}[_0x5d1a27(0x265)](_0x3ebeaa){const _0x1f290f=_0x5d1a27;var _0x12901c;return(_0x12901c=this[_0x1f290f(0x121)][_0x1f290f(0x3a6)](ri(_0x3ebeaa)))==null?void 0x0:_0x12901c[_0x1f290f(0x3de)];}[_0x5d1a27(0x17d)](_0x2d8a8a){const _0x48c3ee=_0x5d1a27;let _0x120b6d=ri(_0x2d8a8a),_0x873c1=this[_0x48c3ee(0x121)][_0x48c3ee(0x3a6)](_0x120b6d);_0x873c1&&(W(_0x873c1[_0x48c3ee(0x3de)]),this[_0x48c3ee(0x121)]['delete'](_0x120b6d));}[_0x5d1a27(0x26f)](_0x55090c){const _0x110284=_0x5d1a27;for(let [_0x1f0488,_0x149550]of this[_0x110284(0x121)])_0x1f0488[_0x110284(0x152)](_0x110284(0x3b4)+_0x55090c)&&(W(_0x149550[_0x110284(0x3de)]),this[_0x110284(0x121)][_0x110284(0x198)](_0x1f0488));}[_0x5d1a27(0x33d)](){const _0x185079=_0x5d1a27;this[_0x185079(0x121)]['forEach'](_0x2f088d=>W(_0x2f088d[_0x185079(0x3de)])),this['_entries'][_0x185079(0x368)](),super[_0x185079(0x33d)]();}};function ai(_0x57dda2,_0x5bdcee=0x7d0){let _0x3a4396=null,_0x3adb69=null,_0x1eb1ee=!0x1,_0x240ae4=()=>{},_0x3c64a6=()=>{_0x3a4396!=null&&(clearInterval(_0x3a4396),_0x3a4396=null),_0x3adb69!=null&&(clearTimeout(_0x3adb69),_0x3adb69=null);};return{'promise':new Promise((_0x38da1f,_0x376601)=>{_0x240ae4=_0x376601;let _0xc50627=()=>{let _0x29fa99=document['getElementById'](_0x57dda2);_0x29fa99&&!_0x1eb1ee&&(_0x1eb1ee=!0x0,_0x3c64a6(),_0x38da1f(_0x29fa99));};_0xc50627(),!_0x1eb1ee&&(_0x3a4396=setInterval(_0xc50627,16.666666666666668),_0x3adb69=setTimeout(()=>{const _0x1453a8=_0x14cc;_0x1eb1ee||(_0x1eb1ee=!0x0,_0x3c64a6(),_0x376601(Error(_0x1453a8(0x28b)+_0x57dda2+'\x22.')));},_0x5bdcee));}),'cancel':()=>{const _0x24c65e=_0x14cc;_0x1eb1ee||(_0x1eb1ee=!0x0,_0x3c64a6(),_0x240ae4(Error(_0x24c65e(0x1a3)+_0x57dda2+'\x22.')));}};}var oi=class extends _0x23a464{constructor(_0x4ba281,_0x907386,_0x1ce389,_0x230554,_0x6ee953,_0x3373a3,_0x3c97e9){const _0x488081=_0x5d1a27;super(),this[_0x488081(0x191)]=_0x4ba281,this[_0x488081(0x2c1)]=_0x907386,this[_0x488081(0x346)]=_0x1ce389,this[_0x488081(0x1bc)]=_0x230554,this[_0x488081(0x2fe)]=_0x6ee953,this['_markReady']=_0x3373a3,this[_0x488081(0x14e)]=_0x3c97e9,U(this,_0x488081(0x295),_0x5aea83[_0x488081(0x3da)]),U(this,'_domFrame',null),U(this,'_managed',!0x1),U(this,_0x488081(0x1fe),null),U(this,'_pendingHost',null),U(this,'_waiter',null),U(this,'_hostStyle',{}),U(this,_0x488081(0x168),null),U(this,_0x488081(0x1ff),null);}['isManaged'](){return this['_managed'];}[_0x5d1a27(0x3b0)](){const _0x50c754=_0x5d1a27;this[_0x50c754(0x21f)]=!0x1;}[_0x5d1a27(0x218)](){const _0x296d0f=_0x5d1a27;let _0x4bd90a=this[_0x296d0f(0x346)]();return _0x4bd90a?{'width':_0x4bd90a[_0x296d0f(0x175)],'height':_0x4bd90a[_0x296d0f(0x364)]}:null;}['setStyle'](_0x44fcb4){const _0x4eff3c=_0x5d1a27;this['_hostStyle']=_0x44fcb4,this[_0x4eff3c(0x1bc)](_0x44fcb4),this[_0x4eff3c(0x20e)]();}async['ensureHandle'](){const _0x4a8246=_0x5d1a27;if(this['_disposed']||this[_0x4a8246(0x2fe)]())throw Error(_0x4a8246(0x156));let _0x4011c3=this[_0x4a8246(0x2c1)](),_0x1790d6=(_0x4011c3==null?void 0x0:_0x4011c3[_0x4a8246(0x2b2)])??this['chartId'],_0x423806=document[_0x4a8246(0x197)](_0x1790d6);if(this['_domFrame']&&_0x423806!=null&&_0x423806['contains'](this[_0x4a8246(0x1ab)][_0x4a8246(0x256)]))return{'mountNode':this['_domFrame'][_0x4a8246(0x256)],'dispose':()=>{const _0x1ff4e5=_0x4a8246;this[_0x1ff4e5(0x33d)](),_0x4011c3==null||_0x4011c3[_0x1ff4e5(0x33d)][_0x1ff4e5(0x33d)]();}};if(this[_0x4a8246(0x228)])return this[_0x4a8246(0x228)];let _0x18de21=this[_0x4a8246(0x3a2)]();return this[_0x4a8246(0x228)]=_0x18de21,_0x18de21[_0x4a8246(0x138)](()=>{const _0x302aa9=_0x4a8246;this[_0x302aa9(0x228)]===_0x18de21&&(this[_0x302aa9(0x228)]=null);},()=>{const _0x446f84=_0x4a8246;this[_0x446f84(0x228)]===_0x18de21&&(this[_0x446f84(0x228)]=null);}),_0x18de21;}async['ensureMount'](){const _0x1c64b1=_0x5d1a27;try{return(await this[_0x1c64b1(0x24f)]())[_0x1c64b1(0x256)];}catch{return null;}}[_0x5d1a27(0x3ad)](){const _0x26ca55=_0x5d1a27;let _0x4ed78e=this[_0x26ca55(0x2c1)](),_0x539636=(_0x4ed78e==null?void 0x0:_0x4ed78e['domId'])??this['chartId'],_0xf0fd=document[_0x26ca55(0x197)](_0x539636);return!!(this[_0x26ca55(0x1ab)]&&_0xf0fd!=null&&_0xf0fd['contains'](this['_domFrame'][_0x26ca55(0x256)]));}[_0x5d1a27(0x1b9)](){const _0x3b39fb=_0x5d1a27;if(!this[_0x3b39fb(0x1ab)])return;let _0x2b0f06=this[_0x3b39fb(0x346)]();_0x2b0f06&&this[_0x3b39fb(0x1ab)][_0x3b39fb(0x327)](this[_0x3b39fb(0x2f3)](_0x2b0f06),this[_0x3b39fb(0x32a)]());}[_0x5d1a27(0x306)](){const _0x5adb65=_0x5d1a27;this[_0x5adb65(0x35b)]();}['markNotReady'](){const _0x7f08cc=_0x5d1a27;this[_0x7f08cc(0x14e)]();}[_0x5d1a27(0x20d)](_0x53088d){const _0x57cfdb=_0x5d1a27;this['_dataUpdateAnimationDuration']=_0x53088d;let _0xafb59e=this[_0x57cfdb(0x2c1)](),_0x271081=document[_0x57cfdb(0x197)]((_0xafb59e==null?void 0x0:_0xafb59e['domId'])??this['chartId']);_0x271081&&this[_0x57cfdb(0x383)](_0x271081);}[_0x5d1a27(0x33d)](){const _0x3db4c4=_0x5d1a27;var _0x58143b;this[_0x3db4c4(0x378)]||(this[_0x3db4c4(0x221)](),this[_0x3db4c4(0x1fe)]=null,this['_pendingHost']=null,this[_0x3db4c4(0x188)](),this[_0x3db4c4(0x21f)]=!0x1,this[_0x3db4c4(0x1ff)]=null,(_0x58143b=this[_0x3db4c4(0x1ab)])==null||_0x58143b[_0x3db4c4(0x33d)](),this[_0x3db4c4(0x1ab)]=null,this[_0x3db4c4(0x1e2)](),super[_0x3db4c4(0x33d)]());}async[_0x5d1a27(0x3a2)](){const _0x348a1e=_0x5d1a27;let _0x1ad76d=this['_getFloatDomInfo']();if(!_0x1ad76d)throw Error('Fail\x20to\x20create\x20float\x20dom');let _0xcdf71=_0x1ad76d[_0x348a1e(0x2b2)]??this[_0x348a1e(0x191)],_0x510e6b=ai(_0xcdf71),_0x4995d8=Symbol(this[_0x348a1e(0x191)]);this[_0x348a1e(0x1fe)]=_0x4995d8,this['_waiter']=_0x510e6b;try{let _0x2e9a75=await _0x510e6b[_0x348a1e(0x319)],_0x1dd12e=this[_0x348a1e(0x2c1)](),_0xb3e5a=(_0x1dd12e==null?void 0x0:_0x1dd12e[_0x348a1e(0x2b2)])??this[_0x348a1e(0x191)];if(this[_0x348a1e(0x378)]||this['_isProviderDisposed']()||this[_0x348a1e(0x1fe)]!==_0x4995d8||!_0x1dd12e||_0xb3e5a!==_0xcdf71||document[_0x348a1e(0x197)](_0xcdf71)!==_0x2e9a75||!_0x2e9a75[_0x348a1e(0x254)])throw Error(_0x348a1e(0x156));let _0x5b7744=this[_0x348a1e(0x346)]();if(!_0x5b7744)throw Error('Fail\x20to\x20create\x20float\x20dom');let _0x350573=new _0x389f97(_0x2e9a75);return _0x350573['update'](this[_0x348a1e(0x2f3)](_0x5b7744),this[_0x348a1e(0x32a)]()),this[_0x348a1e(0x126)](_0x2e9a75),this[_0x348a1e(0x1ab)]=_0x350573,this['_managed']=!0x0,{'mountNode':_0x350573[_0x348a1e(0x256)],'dispose':()=>{const _0xf5a2d1=_0x348a1e;this[_0xf5a2d1(0x33d)](),_0x1ad76d['dispose'][_0xf5a2d1(0x33d)]();}};}finally{this['_waiter']===_0x510e6b&&(this[_0x348a1e(0x227)]=null),this[_0x348a1e(0x1fe)]===_0x4995d8&&(this[_0x348a1e(0x1fe)]=null);}}['_cancelHostWait'](){const _0x424957=_0x5d1a27;let _0x48f6ef=this[_0x424957(0x227)];_0x48f6ef&&(_0x48f6ef[_0x424957(0x1b5)](),this[_0x424957(0x227)]=null);}[_0x5d1a27(0x20e)](){const _0x1ff1c7=_0x5d1a27;let _0x3344f4=this[_0x1ff1c7(0x346)]();this[_0x1ff1c7(0x1ab)]&&_0x3344f4&&this['_domFrame'][_0x1ff1c7(0x327)](this[_0x1ff1c7(0x2f3)](_0x3344f4),this[_0x1ff1c7(0x32a)]());}[_0x5d1a27(0x2f3)](_0x1d0c83){const _0x21ff01=_0x5d1a27;return _0x513278[_0x21ff01(0x2ad)]({'logicalOuterRect':{'left':_0x1d0c83[_0x21ff01(0x290)],'top':_0x1d0c83[_0x21ff01(0x2c0)],'width':_0x1d0c83[_0x21ff01(0x175)],'height':_0x1d0c83[_0x21ff01(0x364)]},'scale':{'scaleX':_0x1d0c83[_0x21ff01(0x39a)],'scaleY':_0x1d0c83[_0x21ff01(0x3e4)]},'hostStyle':this[_0x21ff01(0x32a)](),'contentMode':_0x2717d0[_0x21ff01(0x2a7)]});}['_frameStyle'](){const _0x94ac84=_0x5d1a27;return{...this[_0x94ac84(0x174)],'radius':_0x35f395};}[_0x5d1a27(0x126)](_0x34dc4f){const _0x460a0d=_0x5d1a27;let _0xdf9007=_0x34dc4f[_0x460a0d(0x27e)];_0xdf9007&&(this['_savedWrapperStyle']||={'zIndex':_0xdf9007['style'][_0x460a0d(0x2d8)],'pointerEvents':_0xdf9007[_0x460a0d(0x2ce)]['pointerEvents']},_0xdf9007['style']['zIndex']=_0x460a0d(0x27c),this[_0x460a0d(0x383)](_0x34dc4f));}[_0x5d1a27(0x383)](_0x171866){const _0x20f0d8=_0x5d1a27;let _0xd56eae=_0x171866['parentElement'];if(!_0xd56eae)return;let _0x4f4eff=this[_0x20f0d8(0x1ff)];if(_0x4f4eff!=null){_0x171866[_0x20f0d8(0x283)]['sheetChartDataAnimation']=_0x20f0d8(0x349),_0x171866[_0x20f0d8(0x283)][_0x20f0d8(0x274)]=String(_0x4f4eff),_0xd56eae[_0x20f0d8(0x2ce)][_0x20f0d8(0x25c)]='none';return;}delete _0x171866[_0x20f0d8(0x283)][_0x20f0d8(0x37d)],delete _0x171866[_0x20f0d8(0x283)]['sheetChartDataAnimationDuration'],_0xd56eae[_0x20f0d8(0x2ce)][_0x20f0d8(0x25c)]=_0x20f0d8(0x1ca);}[_0x5d1a27(0x1e2)](){const _0x52ab4e=_0x5d1a27;if(!this[_0x52ab4e(0x168)])return;let _0x50c6e3=this[_0x52ab4e(0x2c1)](),_0x5309a2=(_0x50c6e3==null?void 0x0:_0x50c6e3[_0x52ab4e(0x2b2)])??this['chartId'],_0x48047a=document['getElementById'](_0x5309a2);_0x48047a==null||delete _0x48047a[_0x52ab4e(0x283)]['sheetChartDataAnimation'],_0x48047a==null||delete _0x48047a[_0x52ab4e(0x283)]['sheetChartDataAnimationDuration'];let _0x4c4759=_0x48047a==null?void 0x0:_0x48047a[_0x52ab4e(0x27e)];_0x4c4759&&(_0x4c4759[_0x52ab4e(0x2ce)][_0x52ab4e(0x2d8)]=this[_0x52ab4e(0x168)][_0x52ab4e(0x2d8)],_0x4c4759[_0x52ab4e(0x2ce)][_0x52ab4e(0x25c)]=this[_0x52ab4e(0x168)]['pointerEvents']),this[_0x52ab4e(0x168)]=null;}},si=class extends _0x25bd7c{constructor(_0x1a6a39,_0x5f2984,_0x270fd0,_0x2a9d9d,_0x85b03b,_0x1d7109){const _0x515762=_0x5d1a27;super(_0x1a6a39),this['_getOuterRect']=_0x5f2984,this['_setHostStyle']=_0x270fd0,this[_0x515762(0x145)]=_0x2a9d9d,this[_0x515762(0x2b0)]=_0x85b03b,this[_0x515762(0x2e7)]=_0x1d7109;}[_0x5d1a27(0x218)](){const _0x297cc1=_0x5d1a27;let _0x164c50=this[_0x297cc1(0x3d4)]();return _0x164c50?Zr(_0x164c50):null;}[_0x5d1a27(0x21e)](_0x1e180e){const _0x3b8334=_0x5d1a27;this[_0x3b8334(0x1bc)](_0x1e180e);}['nextVersion'](){const _0x546af4=_0x5d1a27;return this[_0x546af4(0x2b0)][_0x546af4(0x1e5)](this[_0x546af4(0x145)]);}[_0x5d1a27(0x12e)](_0x59262b,_0x4fa65f){const _0x2760e6=_0x5d1a27;return this[_0x2760e6(0x2b0)]['setImage'](this[_0x2760e6(0x145)],_0x59262b,_0x4fa65f);}['requestPaint'](){this['_requestPaint']();}[_0x5d1a27(0x18d)](){const _0x594ee7=_0x5d1a27;this[_0x594ee7(0x2b0)][_0x594ee7(0x1e5)](this['_snapshotKey']);}};function G(_0x52c357,_0x522e17){return function(_0x440f00,_0x2cc5ca){_0x522e17(_0x440f00,_0x2cc5ca,_0x52c357);};}function K(_0x3e0926,_0x5189a0,_0x8434f,_0x17415){const _0x18de32=_0x5d1a27;var _0x39b294=arguments[_0x18de32(0x355)],_0x394fbb=_0x39b294<0x3?_0x5189a0:_0x17415===null?_0x17415=Object[_0x18de32(0x118)](_0x5189a0,_0x8434f):_0x17415,_0x25643d;if(typeof Reflect==_0x18de32(0x382)&&typeof Reflect[_0x18de32(0x147)]==_0x18de32(0x2b5))_0x394fbb=Reflect['decorate'](_0x3e0926,_0x5189a0,_0x8434f,_0x17415);else{for(var _0x3241af=_0x3e0926['length']-0x1;_0x3241af>=0x0;_0x3241af--)(_0x25643d=_0x3e0926[_0x3241af])&&(_0x394fbb=(_0x39b294<0x3?_0x25643d(_0x394fbb):_0x39b294>0x3?_0x25643d(_0x5189a0,_0x8434f,_0x394fbb):_0x25643d(_0x5189a0,_0x8434f))||_0x394fbb);}return _0x39b294>0x3&&_0x394fbb&&Object[_0x18de32(0x35d)](_0x5189a0,_0x8434f,_0x394fbb),_0x394fbb;}const ci=0.5;function li(_0x1862fa){const _0x581f12=_0x5d1a27;let _0x35d0c1=Math[_0x581f12(0x189)](_0x1862fa['endX']-_0x1862fa[_0x581f12(0x12d)],0x0),_0x2d7ebf=Math[_0x581f12(0x189)](_0x1862fa[_0x581f12(0x16a)]-_0x1862fa['startY'],0x0),_0x3f3994=_0x1862fa['absolute'][_0x581f12(0x290)]&&_0x1862fa[_0x581f12(0x175)]-_0x35d0c1>ci,_0x5e3eab=_0x1862fa[_0x581f12(0x360)]['top']&&_0x1862fa[_0x581f12(0x364)]-_0x2d7ebf>ci;return!_0x3f3994&&!_0x5e3eab?_0x1862fa:{..._0x1862fa,'absolute':{'left':!_0x3f3994&&_0x1862fa[_0x581f12(0x360)][_0x581f12(0x290)],'top':!_0x5e3eab&&_0x1862fa[_0x581f12(0x360)][_0x581f12(0x2c0)]}};}function ui(_0x5b07c3){const _0x500303=_0x5d1a27;if(!Object[_0x500303(0x1e1)]['hasOwnProperty'][_0x500303(0x172)](_0x5b07c3,_0x500303(0x208)))return _0x5b07c3;let {border:_0x36b6de,..._0x101202}=_0x5b07c3;return{..._0x101202,'stroke':(_0x36b6de==null?void 0x0:_0x36b6de['color'])??_0x500303(0x2ee),'strokeWidth':(_0x36b6de==null?void 0x0:_0x36b6de[_0x500303(0x175)])??0x0};}let di=class extends _0x23a464{constructor(_0x7997d2,_0x513620,_0x8a69e4,_0x4d5b8f,_0x2e0f7b){const _0x55111a=_0x5d1a27;super(),this['_sheetCanvasFloatDomManagerService']=_0x7997d2,this[_0x55111a(0x185)]=_0x513620,this['_chartSnapshotStoreService']=_0x8a69e4,this['_canvasFloatDomService']=_0x4d5b8f,this[_0x55111a(0x2aa)]=_0x2e0f7b,U(this,_0x55111a(0x281),new Map()),U(this,_0x55111a(0x2a1),new Set()),U(this,_0x55111a(0x1db),new _0x19954c()),U(this,_0x55111a(0x21a),this[_0x55111a(0x1db)]['asObservable']()),this[_0x55111a(0x27a)](this[_0x55111a(0x11a)][_0x55111a(0x241)][_0x55111a(0x3d5)](_0x4bd5f9=>{const _0x3a607e=_0x55111a;let _0x326507=this['_chartHostMap']['get'](_0x4bd5f9['id']);_0x326507!=null&&_0x326507['isManaged']()&&(_0x326507['markUnmanaged'](),this[_0x3a607e(0x1db)]['next'](_0x4bd5f9['id']));}));}[_0x5d1a27(0x315)](_0x383783){const _0x569a8d=_0x5d1a27;if(_0x383783==null)return;let _0x3df475=this[_0x569a8d(0x185)][_0x569a8d(0x22d)](_0x383783),_0x3c7809=_0x3df475==null?void 0x0:_0x3df475['scene'];return _0x3df475==null||_0x3c7809==null?null:{'scene':_0x3c7809,'transformer':_0x3c7809[_0x569a8d(0x271)](),'renderUnit':_0x3df475,'canvas':_0x3df475[_0x569a8d(0x285)][_0x569a8d(0x139)]()};}['setBorder'](_0x437aad,_0x3c27c4){const _0x59fe10=_0x5d1a27;let _0x1500a7=this['_sheetCanvasFloatDomManagerService'],_0x10bcfa=_0x3c27c4||_0x59fe10(0x2ee),_0x93be27=_0x1500a7['getFloatDomInfo'](_0x437aad);if(_0x93be27){let {unitId:_0x30bdc4,subUnitId:_0x5586a6}=_0x93be27;_0x1500a7[_0x59fe10(0x1fd)](_0x30bdc4,_0x5586a6,_0x437aad,{'stroke':_0x10bcfa});}}[_0x5d1a27(0x372)](_0x392f2e,_0x29e92b){const _0x3ab366=_0x5d1a27;let _0x52c50f=this[_0x3ab366(0x11a)],_0x28c1a8=_0x52c50f[_0x3ab366(0x177)](_0x392f2e);if(_0x28c1a8){let {unitId:_0x4914ce,subUnitId:_0x3fa3e0}=_0x28c1a8;_0x52c50f[_0x3ab366(0x1fd)](_0x4914ce,_0x3fa3e0,_0x392f2e,ui(_0x29e92b));}}[_0x5d1a27(0x30b)](_0x33450d){const _0x586d8d=_0x5d1a27;let _0x656898=this[_0x586d8d(0x11a)][_0x586d8d(0x177)](_0x33450d);return _0x656898?_0x656898[_0x586d8d(0x1ed)]:null;}[_0x5d1a27(0x3a4)](_0x102860){const _0x1a050b=_0x5d1a27;let _0x4e1143=this[_0x1a050b(0x11a)][_0x1a050b(0x177)](_0x102860),_0x29e5f1=document[_0x1a050b(0x197)]((_0x4e1143==null?void 0x0:_0x4e1143['domId'])??_0x102860);return(_0x29e5f1==null?void 0x0:_0x29e5f1['getBoundingClientRect']())??null;}['setDataUpdateAnimation'](_0x54327c,_0x317554){const _0x43b79f=_0x5d1a27;var _0x404688;(_0x404688=this[_0x43b79f(0x281)]['get'](_0x54327c))==null||_0x404688[_0x43b79f(0x20d)](_0x317554);}[_0x5d1a27(0x203)](_0x1e7ed8){const _0x4badb1=_0x5d1a27;var _0x536447;return((_0x536447=this['_chartHostMap'][_0x4badb1(0x3a6)](_0x1e7ed8))==null?void 0x0:_0x536447['checkMounted']())??!0x1;}['syncHostLayout'](_0x474c61){const _0x743960=_0x5d1a27;var _0x5c3c1c;(_0x5c3c1c=this[_0x743960(0x281)][_0x743960(0x3a6)](_0x474c61))==null||_0x5c3c1c['syncLayout']();}[_0x5d1a27(0x2d9)](_0x5e08fc){const _0x5e760f=_0x5d1a27;let _0xb92023=this[_0x5e760f(0x281)]['get'](_0x5e08fc);_0xb92023&&(_0xb92023[_0x5e760f(0x33d)](),this['_canvasFloatDomService'][_0x5e760f(0x134)](_0x5e08fc,{'eventPassThrough':!0x0})),this[_0x5e760f(0x281)][_0x5e760f(0x198)](_0x5e08fc);}async['ensureHost'](_0x524b2d,_0x22593a){const _0x2775b6=_0x5d1a27;if(_0x22593a===_0x5aea83[_0x2775b6(0x2af)])return this[_0x2775b6(0x361)](_0x524b2d);if(_0x22593a===_0x5aea83[_0x2775b6(0x3da)])return this[_0x2775b6(0x1e9)](_0x524b2d);let _0x4ed721=this['_getOrCreateSheetChartHost'](_0x524b2d);if(!_0x4ed721)throw Error(_0x2775b6(0x156));return _0x4ed721[_0x2775b6(0x24f)]();}['isDomReady'](_0x248b49){const _0x3a8708=_0x5d1a27;var _0x5d6daa;return this[_0x3a8708(0x2a1)][_0x3a8708(0x21c)](_0x248b49)?(_0x5d6daa=this[_0x3a8708(0x281)][_0x3a8708(0x3a6)](_0x248b49))!=null&&_0x5d6daa[_0x3a8708(0x3ad)]()?!0x0:(this[_0x3a8708(0x2a1)][_0x3a8708(0x198)](_0x248b49),this[_0x3a8708(0x2bc)](_0x248b49),!0x1):!0x1;}[_0x5d1a27(0x39f)](_0xd16df8){const _0x5ae275=_0x5d1a27;this[_0x5ae275(0x2a1)][_0x5ae275(0x198)](_0xd16df8)&&(this[_0x5ae275(0x2bc)](_0xd16df8),this[_0x5ae275(0x1cd)](_0xd16df8));}[_0x5d1a27(0x18d)](_0x4fdbac){const _0x1ea1ca=_0x5d1a27;let _0x32dbdc=this[_0x1ea1ca(0x232)](_0x4fdbac);_0x32dbdc&&this[_0x1ea1ca(0x3d9)][_0x1ea1ca(0x1e5)](_0x32dbdc);}[_0x5d1a27(0x361)](_0x1e792c){const _0x39d868=_0x5d1a27;let _0x40c6a1=this[_0x39d868(0x232)](_0x1e792c);return!_0x40c6a1||!this[_0x39d868(0x30b)](_0x1e792c)?null:new si(_0x1e792c,()=>this[_0x39d868(0x30b)](_0x1e792c),_0x209da7=>this[_0x39d868(0x372)](_0x1e792c,_0x209da7),_0x40c6a1,this['_chartSnapshotStoreService'],()=>this['_requestChartCanvasRender'](_0x1e792c));}['_getOrCreateSheetChartHost'](_0x1949e6){const _0x359ada=_0x5d1a27;var _0x15e89e;if(!this[_0x359ada(0x30b)](_0x1949e6))return null;this[_0x359ada(0x128)]['updateFloatDom'](_0x1949e6,{'eventPassThrough':((_0x15e89e=this[_0x359ada(0x2aa)][_0x359ada(0x26e)])==null?void 0x0:_0x15e89e['id'])!==_0x1949e6,'contentBox':{'wrapperInset':0x0,'contentInset':0x0}});let _0x53e06b=this[_0x359ada(0x281)][_0x359ada(0x3a6)](_0x1949e6);if(_0x53e06b)return _0x53e06b;let _0x48d801=new oi(_0x1949e6,()=>this[_0x359ada(0x11a)][_0x359ada(0x177)](_0x1949e6),()=>this[_0x359ada(0x222)](_0x1949e6),_0x4d3c36=>this[_0x359ada(0x372)](_0x1949e6,_0x4d3c36),()=>this[_0x359ada(0x378)],()=>this[_0x359ada(0x25f)](_0x1949e6),()=>this[_0x359ada(0x39f)](_0x1949e6));return this[_0x359ada(0x281)]['set'](_0x1949e6,_0x48d801),_0x48d801;}[_0x5d1a27(0x25f)](_0x2a8f0f){const _0x2eb98a=_0x5d1a27;this[_0x2eb98a(0x2a1)][_0x2eb98a(0x21c)](_0x2a8f0f)||(this['_activeDomReadyChartIds'][_0x2eb98a(0x248)](_0x2a8f0f),this[_0x2eb98a(0x384)](_0x2a8f0f),this[_0x2eb98a(0x1cd)](_0x2a8f0f));}[_0x5d1a27(0x384)](_0x3af27a){const _0x43130c=_0x5d1a27;var _0x292b59;let _0x7c2818=this[_0x43130c(0x11a)][_0x43130c(0x177)](_0x3af27a),_0x52209b=_0x7c2818?(_0x292b59=this['_renderManagerService']['getRenderUnitById'](_0x7c2818[_0x43130c(0x1b7)]))==null?void 0x0:_0x292b59[_0x43130c(0x1d8)]:null;if(!_0x7c2818||!_0x52209b)return;let _0x35242c=_0x1ef318(_0x7c2818[_0x43130c(0x2b7)][_0x43130c(0x186)](_0x25844e(0x1)),_0x52209b[_0x43130c(0x264)][_0x43130c(0x186)](_0x33b91a(_0x7c2818[_0x43130c(0x2b7)]),_0x1f7349(([,_0x73adad])=>_0x73adad)))[_0x43130c(0x186)](_0x29a798(),_0x1f7349(li));this[_0x43130c(0x128)][_0x43130c(0x134)](_0x3af27a,{'position$':_0x35242c});}[_0x5d1a27(0x2bc)](_0x143173){const _0x5beb8e=_0x5d1a27;let _0x5e94b0=this[_0x5beb8e(0x11a)][_0x5beb8e(0x177)](_0x143173);_0x5e94b0&&this[_0x5beb8e(0x128)][_0x5beb8e(0x134)](_0x143173,{'position$':_0x5e94b0['position$']});}['_getChartSnapshotKey'](_0x3aa5d1){const _0x30a216=_0x5d1a27;let _0x4bfe33=this[_0x30a216(0x11a)][_0x30a216(0x177)](_0x3aa5d1);return _0x4bfe33?{'unitId':_0x4bfe33['unitId'],'subUnitId':_0x4bfe33['subUnitId'],'chartId':_0x3aa5d1}:null;}[_0x5d1a27(0x1cd)](_0x379a73){const _0xccb6dc=_0x5d1a27;var _0x1af499,_0x342b6d,_0x44ae60;let _0x4f245f=this[_0xccb6dc(0x11a)][_0xccb6dc(0x177)](_0x379a73);if(!_0x4f245f)return;let _0x156d1e=(_0x1af499=this[_0xccb6dc(0x185)][_0xccb6dc(0x22d)](_0x4f245f[_0xccb6dc(0x1b7)]))==null?void 0x0:_0x1af499[_0xccb6dc(0x1d8)],_0x248d0e=(_0x156d1e==null||(_0x342b6d=_0x156d1e[_0xccb6dc(0x29d)])==null?void 0x0:_0x342b6d['call'](_0x156d1e,_0x4f61f4({'unitId':_0x4f245f[_0xccb6dc(0x1b7)],'subUnitId':_0x4f245f['subUnitId'],'drawingId':_0x379a73})))??(_0x156d1e==null?void 0x0:_0x156d1e['getObject'](_0x4f61f4({'unitId':_0x4f245f[_0xccb6dc(0x1b7)],'subUnitId':_0x4f245f['subUnitId'],'drawingId':_0x379a73})))??null;_0x248d0e==null||(_0x44ae60=_0x248d0e[_0xccb6dc(0x3d3)])==null||_0x44ae60[_0xccb6dc(0x172)](_0x248d0e,!0x0),_0x156d1e==null||_0x156d1e[_0xccb6dc(0x3d3)](!0x0);}['_getHostPlacement'](_0x25a05a){const _0x10c9c6=_0x5d1a27;let _0x4ebbe2=this[_0x10c9c6(0x11a)][_0x10c9c6(0x177)](_0x25a05a);if(!_0x4ebbe2)return null;let _0x5b889a=this[_0x10c9c6(0x315)](_0x4ebbe2[_0x10c9c6(0x1b7)]),_0x4bf859=_0x5b889a==null?void 0x0:_0x5b889a[_0x10c9c6(0x1d8)],_0x1125de=document[_0x10c9c6(0x197)](_0x4ebbe2[_0x10c9c6(0x2b2)]??_0x25a05a);return Qr(_0x4ebbe2[_0x10c9c6(0x1ed)],{'scaleX':(_0x4bf859==null?void 0x0:_0x4bf859['scaleX'])??0x1,'scaleY':(_0x4bf859==null?void 0x0:_0x4bf859[_0x10c9c6(0x3e4)])??0x1},_0x1125de?{'left':_0x1125de[_0x10c9c6(0x206)],'top':_0x1125de[_0x10c9c6(0x2c2)]}:void 0x0);}['dispose'](){const _0x19a586=_0x5d1a27;this['_disposed']||(Array[_0x19a586(0x38b)](this[_0x19a586(0x281)]['keys']())[_0x19a586(0x1e0)](_0x27ac38=>this[_0x19a586(0x2d9)](_0x27ac38)),this['_activeDomReadyChartIds'][_0x19a586(0x368)](),this[_0x19a586(0x1db)][_0x19a586(0x293)](),super['dispose']());}};di=K([G(0x0,_0x233312(_0x1cd243)),G(0x1,_0x233312(_0x2b6adf)),G(0x2,_0x233312(ii)),G(0x3,_0x233312(_0x2f4ea6)),G(0x4,_0x233312(_0xef00ca))],di);const fi=_0x4fb58e(_0x5d1a27(0x289)),pi=_0x5aea83['Image'];var mi=class extends _0x25bd7c{constructor(_0x5f357e,_0x106a5){const _0x579565=_0x5d1a27;super(_0x5f357e),this['_rect']=_0x106a5,U(this,'_version',0x0),U(this,_0x579565(0x386),void 0x0),U(this,_0x579565(0x2ce),{});}[_0x5d1a27(0x218)](){return this['_rect'];}[_0x5d1a27(0x21e)](_0x4b5525){const _0x4bb4be=_0x5d1a27;this[_0x4bb4be(0x2ce)]=_0x4b5525;}[_0x5d1a27(0x1e5)](){return++this['_version'];}[_0x5d1a27(0x12e)](_0x59f3a7,_0x5114dd){const _0x4625f3=_0x5d1a27;return _0x5114dd===this[_0x4625f3(0x3ae)]?(W(this[_0x4625f3(0x386)]),this[_0x4625f3(0x386)]=_0x59f3a7,!0x0):(W(_0x59f3a7),!0x1);}['requestPaint'](){}[_0x5d1a27(0x18d)](){const _0x590436=_0x5d1a27;this[_0x590436(0x3ae)]+=0x1;}[_0x5d1a27(0x244)](){const _0xf3916c=_0x5d1a27;let _0x5a78e3=this['_image'];return this[_0xf3916c(0x386)]=void 0x0,_0x5a78e3;}[_0x5d1a27(0x33d)](){const _0x213ce3=_0x5d1a27;W(this[_0x213ce3(0x386)]),this[_0x213ce3(0x386)]=void 0x0,super[_0x213ce3(0x33d)]();}};function hi(_0x50ac94,_0x23b007,_0x14a4d8){const _0x528570=_0x5d1a27;let _0x14e7f6=_0x50ac94[_0x528570(0x1eb)](_0x23b007),_0x2f2289={..._0x50ac94[_0x528570(0x2ce)],'runtime':{..._0x14e7f6,'layoutInset':0x8,..._0x14a4d8===void 0x0?{}:{'addWatermark':_0x14a4d8}},'direction':_0x23b007};return _0x2f8ba8(_0x2f2289,_0x50ac94[_0x528570(0x38a)]);}let q=class extends _0x23a464{constructor(_0x3d9543,_0x209ebe,_0x499a6d,_0x1b91b5,_0x1f9a31,_0x4303a5,_0x5277a7,_0x5cbef9,_0x2c720a,_0x47a5ec,_0x38e233,_0xe3b539,_0x577199){const _0x1d0111=_0x5d1a27;super(),this['_chartHostProvider']=_0x3d9543,this[_0x1d0111(0x11a)]=_0x209ebe,this['_chartModelService']=_0x499a6d,this['_drawingManagerService']=_0x1b91b5,this[_0x1d0111(0x3d8)]=_0x1f9a31,this[_0x1d0111(0x185)]=_0x4303a5,this[_0x1d0111(0x166)]=_0x5277a7,this[_0x1d0111(0x305)]=_0x5cbef9,this['_chartThemeService']=_0x2c720a,this[_0x1d0111(0x30f)]=_0x47a5ec,this[_0x1d0111(0x1d2)]=_0x38e233,this[_0x1d0111(0x3d9)]=_0xe3b539,this[_0x1d0111(0x1be)]=_0x577199,U(this,'_chartInstanceMap',new Map()),U(this,'_chartEventHandlers',new Map()),U(this,_0x1d0111(0x38e),new Map()),U(this,_0x1d0111(0x330),new Map()),U(this,_0x1d0111(0x16b),new Map()),U(this,_0x1d0111(0x32f),new Map()),U(this,_0x1d0111(0x15b),new Map()),U(this,_0x1d0111(0x3c3),void 0x0),U(this,_0x1d0111(0x2bd),void 0x0),U(this,_0x1d0111(0x2e5),new Map()),U(this,'_dataUpdateAnimationChartIds',new Set()),U(this,_0x1d0111(0x2f9),new Map()),U(this,_0x1d0111(0x13c),null),U(this,_0x1d0111(0x1c4),null);let _0x1237c5=_0x2ab3f2(this[_0x1d0111(0x305)]),_0x4a239c=this['_configService']['getConfig'](_0x1b5ad5);this['_chartRenderMode']=(_0x4a239c==null?void 0x0:_0x4a239c[_0x1d0111(0x2f2)])??pi,this[_0x1d0111(0x2bd)]=_0x1237c5[_0x1d0111(0x355)]!==0x1||_0x1237c5[0x0]!==_0x1d0111(0x22c),this['_registerChartImageRenderObjectFactory'](),this[_0x1d0111(0x242)](),this[_0x1d0111(0x34d)](),this['_initActiveRuntimeLayerListener'](),this[_0x1d0111(0x294)]();}[_0x5d1a27(0x2ef)](_0x53acff){const _0x3630d2=_0x5d1a27;let _0x11a893=this[_0x3630d2(0x232)](_0x53acff);return _0x11a893?this[_0x3630d2(0x3d9)][_0x3630d2(0x265)](_0x11a893):void 0x0;}[_0x5d1a27(0x36c)](_0x519ea9){const _0x472788=_0x5d1a27;var _0xe21558;return((_0xe21558=this[_0x472788(0x2aa)][_0x472788(0x26e)])==null?void 0x0:_0xe21558['id'])===_0x519ea9?_0x5aea83[_0x472788(0x3da)]:this[_0x472788(0x3c3)];}['_getChartSnapshotKey'](_0x121303){const _0x3d3c43=_0x5d1a27;let _0x1ebb17=this[_0x3d3c43(0x11a)]['getFloatDomInfo'](_0x121303);return _0x1ebb17?{'unitId':_0x1ebb17[_0x3d3c43(0x1b7)],'subUnitId':_0x1ebb17['subUnitId'],'chartId':_0x121303}:null;}[_0x5d1a27(0x182)](){const _0x20d07c=_0x5d1a27;this[_0x20d07c(0x3c3)]===_0x5aea83[_0x20d07c(0x2af)]&&this[_0x20d07c(0x27a)](this[_0x20d07c(0x11a)][_0x20d07c(0x1c8)](_0x4c00c3[_0x20d07c(0x249)],({key:_0xffa377,config:_0x3b1b9f,unitId:_0x4931bd,subUnitId:_0x21f0bb,drawingId:_0x1a5059})=>new ei(_0xffa377,_0x3b1b9f,()=>this[_0x20d07c(0x3d9)][_0x20d07c(0x265)]({'unitId':_0x4931bd,'subUnitId':_0x21f0bb,'chartId':_0x1a5059}),()=>this[_0x20d07c(0x22b)][_0x20d07c(0x29a)](_0x1a5059))));}[_0x5d1a27(0x242)](){const _0x471c2e=_0x5d1a27;this[_0x471c2e(0x27a)](this[_0x471c2e(0x2aa)][_0x471c2e(0x209)][_0x471c2e(0x3d5)](_0x37397c=>{const _0x534bc3=_0x471c2e;let _0x2640c1=(_0x37397c==null?void 0x0:_0x37397c['id'])??null,_0x3ab3ef=this['_activeChartId'];_0x3ab3ef!==_0x2640c1&&(_0x3ab3ef&&(this[_0x534bc3(0x22b)]['markHostNotReady'](_0x3ab3ef),this[_0x534bc3(0x362)](_0x3ab3ef),this[_0x534bc3(0x3b6)](_0x3ab3ef)),this[_0x534bc3(0x13c)]=_0x2640c1,_0x2640c1&&(this[_0x534bc3(0x2ae)](_0x2640c1),this[_0x534bc3(0x22b)][_0x534bc3(0x39f)](_0x2640c1),this[_0x534bc3(0x33c)](_0x2640c1),this[_0x534bc3(0x11e)](_0x2640c1)));}));}['_initDrawingDeactivationListener'](){const _0x1cc975=_0x5d1a27;this[_0x1cc975(0x27a)](this[_0x1cc975(0x3cb)][_0x1cc975(0x1c6)]['subscribe'](_0x57722e=>{const _0x29c530=_0x1cc975;var _0x3ee79e;let _0x1991ff=(_0x3ee79e=this[_0x29c530(0x2aa)][_0x29c530(0x26e)])==null?void 0x0:_0x3ee79e['id'];_0x1991ff&&_0x57722e[_0x29c530(0x119)](_0x5ef1de=>_0x5ef1de[_0x29c530(0x389)]['some'](_0x230952=>_0x230952['drawingId']===_0x1991ff))&&this[_0x29c530(0x2aa)][_0x29c530(0x284)](null);})),this[_0x1cc975(0x27a)](this['_drawingManagerService'][_0x1cc975(0x1fc)]['subscribe'](_0x3a94a1=>{const _0x4c0a24=_0x1cc975;var _0x49b553;let _0x260838=(_0x49b553=this[_0x4c0a24(0x2aa)][_0x4c0a24(0x26e)])==null?void 0x0:_0x49b553['id'];_0x260838&&_0x3a94a1[_0x4c0a24(0x119)](_0x26348c=>_0x26348c[_0x4c0a24(0x299)][_0x4c0a24(0x14a)]===_0x260838||_0x26348c[_0x4c0a24(0x389)][_0x4c0a24(0x119)](_0x373eab=>_0x373eab['drawingId']===_0x260838))&&this['_chartModelService'][_0x4c0a24(0x284)](null);}));}[_0x5d1a27(0x157)](){const _0x451f68=_0x5d1a27;this['disposeWithMe'](this[_0x451f68(0x3cb)][_0x451f68(0x2da)][_0x451f68(0x3d5)](_0x202b8c=>{const _0x53eedb=_0x451f68;var _0x2fe626;let _0x5232c6=(_0x2fe626=this[_0x53eedb(0x2aa)][_0x53eedb(0x26e)])==null?void 0x0:_0x2fe626['id'];if(!_0x5232c6){_0x202b8c[_0x53eedb(0x341)][_0x53eedb(0x1e0)](_0x49de68=>{const _0x4e2655=_0x53eedb;this[_0x4e2655(0x2aa)][_0x4e2655(0x1ce)](_0x49de68)&&this[_0x4e2655(0x362)](_0x49de68);});return;}let _0x3da9ca=this['_sheetCanvasFloatDomManagerService'][_0x53eedb(0x177)](_0x5232c6);(_0x3da9ca==null?void 0x0:_0x3da9ca['unitId'])===_0x202b8c[_0x53eedb(0x1b7)]&&_0x3da9ca[_0x53eedb(0x2b4)]===_0x202b8c[_0x53eedb(0x2b4)]&&this[_0x53eedb(0x33c)](_0x5232c6);})),this[_0x451f68(0x27a)](this['_drawingManagerService']['add$'][_0x451f68(0x3d5)](_0x4eb363=>{const _0x1aab6f=_0x451f68;var _0x1b9a6f;let _0x2e95bc=(_0x1b9a6f=this['_chartModelService']['activeChartModel'])==null?void 0x0:_0x1b9a6f['id'];if(!_0x2e95bc)return;let _0x403b08=this[_0x1aab6f(0x11a)]['getFloatDomInfo'](_0x2e95bc);_0x403b08&&_0x4eb363['some'](_0xec3d56=>_0xec3d56[_0x1aab6f(0x1b7)]===_0x403b08[_0x1aab6f(0x1b7)]&&_0xec3d56['subUnitId']===_0x403b08['subUnitId'])&&this['_applyActiveChartRuntimeZIndex'](_0x2e95bc);})),this[_0x451f68(0x27a)](this['_chartModelService']['chartModelRemoved$'][_0x451f68(0x3d5)](_0x48699e=>{const _0x1d81a9=_0x451f68;var _0x516f15;this[_0x1d81a9(0x2b6)](_0x48699e),this[_0x1d81a9(0x25a)](_0x48699e),this[_0x1d81a9(0x39d)][_0x1d81a9(0x198)](_0x48699e),this['_deactivateDataUpdateAnimation'](_0x48699e),this['_lastRenderInputMap'][_0x1d81a9(0x198)](_0x48699e),this[_0x1d81a9(0x3d9)][_0x1d81a9(0x26f)](_0x48699e),this[_0x1d81a9(0x31e)](_0x48699e),this[_0x1d81a9(0x22b)]['markHostNotReady'](_0x48699e),((_0x516f15=this[_0x1d81a9(0x2aa)][_0x1d81a9(0x26e)])==null?void 0x0:_0x516f15['id'])===_0x48699e?this[_0x1d81a9(0x2aa)]['setActiveChartModel'](null):this['_resetChartRuntimeZIndex'](_0x48699e),this[_0x1d81a9(0x288)](_0x48699e);}));}['_rerenderLatest'](_0x17c875){const _0x58087b=_0x5d1a27;let _0x178cd3=this[_0x58087b(0x2e5)][_0x58087b(0x3a6)](_0x17c875);_0x178cd3&&this[_0x58087b(0x3a9)](_0x17c875,_0x178cd3['config'],_0x178cd3[_0x58087b(0x2ce)]);}['_disposeChartDomInstance'](_0x12effe){const _0xd9cdce=_0x5d1a27;let _0x3d408a=this['_chartInstanceMap'][_0xd9cdce(0x3a6)](_0x12effe);(_0x3d408a==null?void 0x0:_0x3d408a[_0xd9cdce(0x295)])==='dom'&&(this[_0xd9cdce(0x25a)](_0x12effe),_0x3d408a['dispose'](),this[_0xd9cdce(0x3bd)][_0xd9cdce(0x198)](_0x12effe)),this[_0xd9cdce(0x22b)][_0xd9cdce(0x39f)](_0x12effe),this['_chartHostProvider'][_0xd9cdce(0x2d9)](_0x12effe);}[_0x5d1a27(0x288)](_0x491692){const _0x36d9c6=_0x5d1a27;let _0x4b7e35=this[_0x36d9c6(0x3bd)][_0x36d9c6(0x3a6)](_0x491692);_0x4b7e35&&(this[_0x36d9c6(0x25a)](_0x491692),_0x4b7e35[_0x36d9c6(0x33d)](),this['_chartInstanceMap'][_0x36d9c6(0x198)](_0x491692)),this[_0x36d9c6(0x22b)]['markHostNotReady'](_0x491692),this[_0x36d9c6(0x22b)][_0x36d9c6(0x2d9)](_0x491692);}[_0x5d1a27(0x31e)](_0x949d74){const _0x57e3ce=_0x5d1a27;var _0x2b4237,_0x2c5644;(_0x2b4237=this[_0x57e3ce(0x1be)][_0x57e3ce(0x2d1)](_0x2e63c9))==null||(_0x2c5644=_0x2b4237[_0x57e3ce(0x19a)])==null||_0x2c5644[_0x57e3ce(0x172)](_0x2b4237,_0x949d74);}[_0x5d1a27(0x1f2)](_0x2e78a2,_0x34bbb8){const _0xb5a983=_0x5d1a27;let _0x237d67=this[_0xb5a983(0x3cb)][_0xb5a983(0x3be)](_0x2e78a2,_0x34bbb8);Object[_0xb5a983(0x2d7)](_0x237d67??{})[_0xb5a983(0x1e0)](_0x4f2ed4=>{const _0x46a09d=_0xb5a983;_0x4f2ed4['drawingType']===_0x4c00c3[_0x46a09d(0x249)]&&this[_0x46a09d(0x31e)](_0x4f2ed4['drawingId']);});}['_getChartRenderObject'](_0x4d5b91,_0x2f9d27){const _0x5b116e=_0x5d1a27;var _0x22489b;return((_0x22489b=_0x4d5b91[_0x5b116e(0x29d)])==null?void 0x0:_0x22489b['call'](_0x4d5b91,_0x2f9d27))??_0x4d5b91[_0x5b116e(0x32d)](_0x2f9d27)??null;}['_getChartRenderObjectContext'](_0x1a6899){const _0x53db05=_0x5d1a27;var _0x4aef54;let _0x1facfe=this[_0x53db05(0x11a)]['getFloatDomInfo'](_0x1a6899);if(!_0x1facfe)return null;let _0x5a639b=(_0x4aef54=this[_0x53db05(0x185)][_0x53db05(0x22d)](_0x1facfe[_0x53db05(0x1b7)]))==null?void 0x0:_0x4aef54[_0x53db05(0x1d8)];if(!_0x5a639b)return null;let _0x25e6b6=this[_0x53db05(0x1d1)](_0x5a639b,_0x4f61f4({'unitId':_0x1facfe[_0x53db05(0x1b7)],'subUnitId':_0x1facfe[_0x53db05(0x2b4)],'drawingId':_0x1a6899}));return _0x25e6b6?{'info':_0x1facfe,'scene':_0x5a639b,'chartObject':_0x25e6b6}:null;}[_0x5d1a27(0x15f)](_0x11e9be,_0x4a980b){const _0x4e075c=_0x5d1a27;var _0x87f12e,_0x35e8d7,_0x3a076d,_0x3c3def;let _0x3f8fc0=this[_0x4e075c(0x278)](_0x11e9be);_0x3f8fc0&&((_0x87f12e=(_0x35e8d7=_0x3f8fc0[_0x4e075c(0x307)])[_0x4e075c(0x170)])==null||_0x87f12e[_0x4e075c(0x172)](_0x35e8d7,{'zIndex':_0x4a980b}),(_0x3a076d=(_0x3c3def=_0x3f8fc0[_0x4e075c(0x307)])[_0x4e075c(0x3d3)])==null||_0x3a076d[_0x4e075c(0x172)](_0x3c3def,!0x0),_0x3f8fc0[_0x4e075c(0x1d8)][_0x4e075c(0x3d3)](!0x0));}['_applyActiveChartRuntimeZIndex'](_0xf7b291){const _0x141170=_0x5d1a27;let _0x1288e8=this[_0x141170(0x11a)][_0x141170(0x177)](_0xf7b291);if(!_0x1288e8)return;let _0x1bbb53=this[_0x141170(0x3cb)][_0x141170(0x2ac)](_0x1288e8[_0x141170(0x1b7)],_0x1288e8[_0x141170(0x2b4)]);this[_0x141170(0x15f)](_0xf7b291,_0x1bbb53[_0x141170(0x355)]);}[_0x5d1a27(0x362)](_0x3288db){const _0x5200c8=_0x5d1a27;let _0x3525d0=this[_0x5200c8(0x11a)]['getFloatDomInfo'](_0x3288db);if(!_0x3525d0)return;let _0x10d22e=this[_0x5200c8(0x3cb)][_0x5200c8(0x2ac)](_0x3525d0[_0x5200c8(0x1b7)],_0x3525d0[_0x5200c8(0x2b4)]),_0x49b075=_0x10d22e[_0x5200c8(0x1b1)](_0x3288db);this[_0x5200c8(0x15f)](_0x3288db,_0x49b075===-0x1?Math[_0x5200c8(0x189)](_0x10d22e[_0x5200c8(0x355)]-0x1,0x0):_0x49b075);}[_0x5d1a27(0x35e)](_0xa66dbf,_0x1fb2d7){const _0x61e5b8=_0x5d1a27;let _0x56cf6d=this['_sheetCanvasFloatDomManagerService'][_0x61e5b8(0x177)](_0xa66dbf);if(_0x1fb2d7[_0x61e5b8(0x175)]!==void 0x0&&_0x1fb2d7['height']!==void 0x0&&_0x56cf6d){var _0xdf8a6e;let {subUnitId:_0x276d41}=_0x56cf6d,_0x57e807=(_0xdf8a6e=this[_0x61e5b8(0x3d8)]['getCurrentUnitOfType'](_0x2a3654[_0x61e5b8(0x1d7)]))==null?void 0x0:_0xdf8a6e[_0x61e5b8(0x144)]();if((_0x57e807==null?void 0x0:_0x57e807[_0x61e5b8(0x1c1)]())===_0x276d41){let {width:_0x4cb2f6,height:_0x59c2ac}=_0x1fb2d7,_0x400200=this[_0x61e5b8(0x2aa)]['getChartModel'](_0xa66dbf),_0x19bf2f=_0x400200==null?void 0x0:_0x400200[_0x61e5b8(0x2ce)];(Math['abs'](_0x4cb2f6-((_0x19bf2f==null?void 0x0:_0x19bf2f[_0x61e5b8(0x175)])||0x0))>0x1||Math[_0x61e5b8(0x124)](_0x59c2ac-((_0x19bf2f==null?void 0x0:_0x19bf2f[_0x61e5b8(0x364)])||0x0))>0x1)&&(_0x400200==null||_0x400200[_0x61e5b8(0x257)]({..._0x19bf2f,'width':_0x4cb2f6,'height':_0x59c2ac}));}}}['_debounceHandle'](_0x346003,_0x1ad532,_0x320117=0x0){const _0x513691=_0x5d1a27;let _0x176dba=this[_0x513691(0x32f)][_0x513691(0x3a6)](_0x346003);_0x176dba||(_0x176dba=_0x265549(_0x2f3898=>{const _0x533f8b=_0x513691;this[_0x533f8b(0x35e)](_0x346003,_0x2f3898);},_0x320117),this['_debounceHandleMap']['set'](_0x346003,_0x176dba)),_0x176dba(_0x1ad532);}[_0x5d1a27(0x294)](){const _0x2e9ac9=_0x5d1a27;let _0xbe35de=this[_0x2e9ac9(0x16b)],_0x5c110a=_0x35eed8=>{const _0xc2094e=_0x2e9ac9;if(!_0xbe35de[_0xc2094e(0x21c)](_0x35eed8)){let _0x203508=_0x265549((_0xdfd2c8,_0x5c5dbf,_0x198dec,_0x2128d6)=>{const _0x27df2d=_0xc2094e;var _0x15cdee,_0x358004;if(!_0x198dec)return;(_0x15cdee=_0x198dec[_0x27df2d(0x142)])==null||_0x15cdee['items']['forEach']((_0x1c874d,_0x57bb02)=>{const _0x58d08d=_0x27df2d;_0x1c874d[_0x58d08d(0x27d)]||=this[_0x58d08d(0x166)]['t'](_0x58d08d(0x3b9))+'\x20'+(_0x57bb02+0x1);}),_0x198dec[_0x27df2d(0x1e8)][_0x27df2d(0x1e0)]((_0x257ff7,_0x465c12)=>{const _0x417713=_0x27df2d;_0x257ff7[_0x417713(0x1ea)]||=this[_0x417713(0x166)]['t'](_0x417713(0x344))+'\x20'+(_0x465c12+0x1);});let _0x3c9d13=this['createRuntimeChartStyle'](_0xdfd2c8,_0x2128d6),_0x17e905=(_0x358004=this[_0x27df2d(0x3d8)][_0x27df2d(0x3ce)](_0x2a3654[_0x27df2d(0x1d7)]))==null?void 0x0:_0x358004[_0x27df2d(0x144)]();(_0x17e905==null?void 0x0:_0x17e905['getSheetId']())===_0x5c5dbf&&this[_0x27df2d(0x3a9)](_0xdfd2c8['id'],_0x198dec,_0x3c9d13);},0x11);_0xbe35de[_0xc2094e(0x30a)](_0x35eed8,_0x203508);}return _0xbe35de['get'](_0x35eed8);};this[_0x2e9ac9(0x27a)](this[_0x2e9ac9(0x3d8)][_0x2e9ac9(0x1f4)][_0x2e9ac9(0x3d5)](_0x4ed89d=>{const _0x4ad113=_0x2e9ac9;let _0x2fcae0=this[_0x4ad113(0x3d8)][_0x4ad113(0x3ce)](_0x2a3654[_0x4ad113(0x1d7)]);if(_0x4ed89d&&_0x2fcae0&&_0x2fcae0[_0x4ad113(0x18b)]()===_0x4ed89d){var _0x4d784b;let _0x1021ca=_0x2fcae0[_0x4ad113(0x144)]()[_0x4ad113(0x1c1)]();this['_lastActiveSheet']&&(this['_lastActiveSheet'][_0x4ad113(0x1b7)]!==_0x4ed89d||this[_0x4ad113(0x1c4)][_0x4ad113(0x2b4)]!==_0x1021ca)&&this['_clearSheetChartRuntimeCaches'](this[_0x4ad113(0x1c4)]['unitId'],this['_lastActiveSheet'][_0x4ad113(0x2b4)]),this[_0x4ad113(0x1c4)]={'unitId':_0x4ed89d,'subUnitId':_0x1021ca};let _0x10cc4b=this[_0x4ad113(0x3cb)][_0x4ad113(0x3be)](_0x4ed89d,_0x1021ca);if(!((_0x4d784b=this[_0x4ad113(0x185)]['getRenderUnitById'](_0x4ed89d))!=null&&_0x4d784b[_0x4ad113(0x388)](_0x4936ae)[_0x4ad113(0x392)](_0x1021ca)))return;if(_0x10cc4b)for(let _0x513d45 in _0x10cc4b){let {drawingId:_0x262d52}=_0x10cc4b[_0x513d45],_0x355c83=this[_0x4ad113(0x2aa)]['getChartModel'](_0x262d52);_0x355c83&&_0x5c110a(_0x355c83['id'])(_0x355c83,_0x1021ca,_0x355c83[_0x4ad113(0x2cc)],this[_0x4ad113(0x166)]['getDirection']());}}})),this[_0x2e9ac9(0x27a)](this[_0x2e9ac9(0x30f)][_0x2e9ac9(0x3a1)][_0x2e9ac9(0x3d5)](()=>{const _0x2c7bfd=_0x2e9ac9;var _0x5670ff;let _0x27e4d4=this['_univerInstanceService'][_0x2c7bfd(0x3ce)](_0x2a3654[_0x2c7bfd(0x1d7)]);if(!_0x27e4d4)return;let _0x16e761=_0x27e4d4[_0x2c7bfd(0x18b)](),_0x26c129=_0x27e4d4[_0x2c7bfd(0x144)]()['getSheetId'](),_0xea312d=this[_0x2c7bfd(0x3cb)][_0x2c7bfd(0x3be)](_0x16e761,_0x26c129);if((_0x5670ff=this[_0x2c7bfd(0x185)][_0x2c7bfd(0x22d)](_0x16e761))!=null&&_0x5670ff['with'](_0x4936ae)['getSkeleton'](_0x26c129)&&_0xea312d)for(let _0x5e4669 in _0xea312d){let {drawingId:_0x17242d}=_0xea312d[_0x5e4669],_0x3d781a=this[_0x2c7bfd(0x2aa)][_0x2c7bfd(0x1ce)](_0x17242d);_0x3d781a&&_0x5c110a(_0x3d781a['id'])(_0x3d781a,_0x26c129,_0x3d781a[_0x2c7bfd(0x2cc)],this[_0x2c7bfd(0x166)][_0x2c7bfd(0x36e)]());}})),this['disposeWithMe'](this[_0x2e9ac9(0x3cb)]['add$'][_0x2e9ac9(0x3d5)](_0x2978d6=>{_0x2978d6['forEach'](_0x203411=>{const _0x223f9d=_0x14cc;var _0x3e7c6d;let {drawingId:_0x531008,unitId:_0x59e377,subUnitId:_0x4746cd}=_0x203411,_0x3f2bc2=this['_renderManagerService']['getRenderUnitById'](_0x59e377);if((_0x3f2bc2==null?void 0x0:_0x3f2bc2[_0x223f9d(0x17a)])!==_0x2a3654[_0x223f9d(0x1d7)]||!_0x3f2bc2[_0x223f9d(0x388)](_0x4936ae)[_0x223f9d(0x392)](_0x4746cd))return;let {drawingType:_0x5b3c60}=this[_0x223f9d(0x3cb)]['getDrawingByParam'](_0x203411);if(_0x5b3c60!==_0x4c00c3[_0x223f9d(0x249)])return;let _0x191ad7=this[_0x223f9d(0x11a)][_0x223f9d(0x177)](_0x531008);this[_0x223f9d(0x2b6)](_0x531008);let _0x2e3960=new _0x23a464();this[_0x223f9d(0x15b)][_0x223f9d(0x30a)](_0x531008,_0x2e3960);let _0x4b194c=(_0x191ad7==null?void 0x0:_0x191ad7[_0x223f9d(0x2b2)])??_0x531008,_0x3d2695=_0x191ad7==null?void 0x0:_0x191ad7[_0x223f9d(0x1ed)],_0x4582c9=(_0x3e7c6d=this[_0x223f9d(0x185)][_0x223f9d(0x22d)](_0x59e377))==null?void 0x0:_0x3e7c6d[_0x223f9d(0x1d8)];if(_0x3d2695){let _0x339b70=new Xr(_0x3d2695,_0x4c209a=>{const _0x39817a=_0x223f9d;var _0x5d964e;let _0xb726f9=this[_0x39817a(0x3d8)][_0x39817a(0x3ce)](_0x2a3654['UNIVER_SHEET']);if((_0xb726f9==null?void 0x0:_0xb726f9[_0x39817a(0x18b)]())===_0x59e377&&((_0x5d964e=_0xb726f9[_0x39817a(0x144)]())==null?void 0x0:_0x5d964e[_0x39817a(0x1c1)]())===_0x4746cd&&(this['_chartHostProvider'][_0x39817a(0x155)](_0x531008),_0x4c209a)){var _0x15d4e9;(_0x15d4e9=this[_0x39817a(0x3bd)][_0x39817a(0x3a6)](_0x531008))==null||_0x15d4e9[_0x39817a(0x183)](),this[_0x39817a(0x353)](_0x531008,{'width':_0x3d2695[_0x39817a(0x175)],'height':_0x3d2695[_0x39817a(0x364)]},0x64);}});_0x2e3960[_0x223f9d(0x27a)](_0x339b70),_0x2e3960[_0x223f9d(0x27a)](this[_0x223f9d(0x3d8)][_0x223f9d(0x1f4)][_0x223f9d(0x3d5)](()=>_0x339b70[_0x223f9d(0x117)]())),_0x4582c9&&_0x2e3960[_0x223f9d(0x27a)](_0x4582c9[_0x223f9d(0x271)]()[_0x223f9d(0x345)][_0x223f9d(0x3d5)](({objects:_0x5127fe})=>{const _0x39e659=_0x223f9d;if(_0x5127fe[_0x39e659(0x21c)](_0x3d2695['oKey'])){var _0xd6bb38;_0x339b70[_0x39e659(0x171)](),(_0xd6bb38=this[_0x39e659(0x32f)]['get'](_0x531008))==null||_0xd6bb38[_0x39e659(0x171)]();}}));}_0x4582c9&&_0x2e3960[_0x223f9d(0x27a)](_0x4582c9['onTransformChange$'][_0x223f9d(0x1a7)](_0x3ccca9=>{const _0x3c2623=_0x223f9d;var _0xf21c06;_0x3ccca9[_0x3c2623(0x17a)]===_0x4f6e63[_0x3c2623(0x335)]&&(_0xf21c06=document[_0x3c2623(0x197)](_0x4b194c))!=null&&_0xf21c06['querySelector']('.chart-host')&&this[_0x3c2623(0x22b)][_0x3c2623(0x155)](_0x531008);}));let _0x3ddace=this[_0x223f9d(0x2aa)]['getChartModel'](_0x531008);_0x3ddace&&_0x2e3960[_0x223f9d(0x27a)](_0x276a93([_0x3ddace[_0x223f9d(0x310)],_0x3ddace['style$'],this[_0x223f9d(0x166)]['direction$']])[_0x223f9d(0x3d5)](([_0x3cc470,_0x194435,_0x554d10])=>{_0x5c110a(_0x3ddace['id'])(_0x3ddace,_0x4746cd,_0x3cc470,_0x554d10);}));});})),this[_0x2e9ac9(0x27a)](_0x276a93([this[_0x2e9ac9(0x3cb)][_0x2e9ac9(0x241)]])[_0x2e9ac9(0x3d5)](([_0x1290ca])=>{_0x1290ca['forEach'](_0x3a8fef=>{const _0x5119e6=_0x14cc;var _0xca086d;let {drawingId:_0x4ef6d1}=_0x3a8fef;this[_0x5119e6(0x2b6)](_0x4ef6d1),((_0xca086d=this[_0x5119e6(0x2aa)]['activeChartModel'])==null?void 0x0:_0xca086d['id'])===_0x4ef6d1&&this[_0x5119e6(0x2aa)]['setActiveChartModel'](null),this[_0x5119e6(0x25a)](_0x4ef6d1),this[_0x5119e6(0x22b)][_0x5119e6(0x39f)](_0x4ef6d1),this[_0x5119e6(0x362)](_0x4ef6d1),this['_disposeChartRenderInstance'](_0x4ef6d1),this[_0x5119e6(0x3d9)][_0x5119e6(0x26f)](_0x4ef6d1),this[_0x5119e6(0x31e)](_0x4ef6d1),this[_0x5119e6(0x2e5)][_0x5119e6(0x198)](_0x4ef6d1),this[_0x5119e6(0x330)][_0x5119e6(0x198)](_0x4ef6d1);});}));}[_0x5d1a27(0x318)](_0x24aaab,_0x26246e){const _0x3d48ea=_0x5d1a27;var _0x1082b8;_0x26246e?this[_0x3d48ea(0x330)][_0x3d48ea(0x30a)](_0x24aaab,!0x0):this[_0x3d48ea(0x330)][_0x3d48ea(0x198)](_0x24aaab),(_0x1082b8=this[_0x3d48ea(0x3bd)]['get'](_0x24aaab))==null||_0x1082b8[_0x3d48ea(0x318)](_0x26246e);}async[_0x5d1a27(0x369)](_0x1d5376,_0x58bfd9){const _0xa1f167=_0x5d1a27;var _0x515554;let _0x9ec81b=this[_0xa1f167(0x2e5)][_0xa1f167(0x3a6)](_0x1d5376),_0x1f1e98=(_0x515554=this[_0xa1f167(0x11a)][_0xa1f167(0x177)](_0x1d5376))==null?void 0x0:_0x515554[_0xa1f167(0x1ed)];if(_0x9ec81b&&_0x1f1e98)return(await this['_renderModelManager']['exportImage']({'chartId':_0x1d5376,'config':_0x9ec81b[_0xa1f167(0x2cc)],'style':_0x9ec81b[_0xa1f167(0x2ce)],'width':_0x1f1e98[_0xa1f167(0x175)],'height':_0x1f1e98['height']},_0x58bfd9))[_0xa1f167(0x12f)];if((_0x58bfd9==null?void 0x0:_0x58bfd9[_0xa1f167(0x243)])===_0x4d43e3['SVG'])return;let _0x5c1cd8=this[_0xa1f167(0x1b2)](_0x1d5376);return _0x5c1cd8?_0xa2d3cc(_0x5c1cd8):void 0x0;}['on'](_0x15a4f9,_0x20003c,_0x98d7ae){const _0x4ff7e6=_0x5d1a27;let _0x4e5008=this[_0x4ff7e6(0x39d)][_0x4ff7e6(0x3a6)](_0x15a4f9);_0x4e5008||(_0x4e5008=new Map(),this[_0x4ff7e6(0x39d)]['set'](_0x15a4f9,_0x4e5008));let _0x28ab7e=_0x4e5008[_0x4ff7e6(0x3a6)](_0x20003c);_0x28ab7e||(_0x28ab7e=new Set(),_0x4e5008['set'](_0x20003c,_0x28ab7e)),_0x28ab7e['add'](_0x98d7ae);let _0x57330b=this[_0x4ff7e6(0x3bd)][_0x4ff7e6(0x3a6)](_0x15a4f9);return _0x57330b&&this[_0x4ff7e6(0x238)](_0x15a4f9,_0x57330b,_0x20003c,_0x98d7ae),{'dispose':()=>{const _0x80fd2c=_0x4ff7e6;var _0x6bdbbc;(_0x6bdbbc=this['_chartEventHandlers'][_0x80fd2c(0x3a6)](_0x15a4f9))==null||(_0x6bdbbc=_0x6bdbbc[_0x80fd2c(0x3a6)](_0x20003c))==null||_0x6bdbbc[_0x80fd2c(0x198)](_0x98d7ae),this[_0x80fd2c(0x1dd)](_0x15a4f9,_0x20003c,_0x98d7ae);}};}[_0x5d1a27(0x1b2)](_0x549e3c){const _0x454bb3=_0x5d1a27;let _0x1f3c9f=this[_0x454bb3(0x3d8)]['getCurrentUnitOfType'](_0x2a3654['UNIVER_SHEET']),_0x3d6262=_0x1f3c9f==null?void 0x0:_0x1f3c9f[_0x454bb3(0x144)](),_0x535206=_0x1f3c9f==null?void 0x0:_0x1f3c9f['getUnitId'](),_0x36ad0b=_0x3d6262==null?void 0x0:_0x3d6262[_0x454bb3(0x1c1)]();if(_0x535206&&_0x36ad0b)return this[_0x454bb3(0x3d9)][_0x454bb3(0x265)]({'unitId':_0x535206,'subUnitId':_0x36ad0b,'chartId':_0x549e3c});}[_0x5d1a27(0x1a1)](_0x3c64d2,_0x1d1970){const _0x3fa1c1=_0x5d1a27;let _0x10b02f=this['_chartEventHandlers'][_0x3fa1c1(0x3a6)](_0x3c64d2);_0x10b02f&&_0x10b02f['forEach']((_0x4dcb27,_0x17850f)=>{const _0x3b45f4=_0x3fa1c1;_0x4dcb27[_0x3b45f4(0x1e0)](_0x4cc795=>this[_0x3b45f4(0x238)](_0x3c64d2,_0x1d1970,_0x17850f,_0x4cc795));});}[_0x5d1a27(0x238)](_0x194e44,_0x7c4ff0,_0x3e6506,_0x57c76d){const _0x2f9880=_0x5d1a27;let _0x384b90=this[_0x2f9880(0x38e)][_0x2f9880(0x3a6)](_0x194e44);_0x384b90||(_0x384b90=new Map(),this[_0x2f9880(0x38e)][_0x2f9880(0x30a)](_0x194e44,_0x384b90));let _0x40a4b9=_0x384b90[_0x2f9880(0x3a6)](_0x3e6506);_0x40a4b9||(_0x40a4b9=new Map(),_0x384b90[_0x2f9880(0x30a)](_0x3e6506,_0x40a4b9)),!_0x40a4b9[_0x2f9880(0x21c)](_0x57c76d)&&_0x40a4b9[_0x2f9880(0x30a)](_0x57c76d,_0x7c4ff0['on'](_0x3e6506,_0x57c76d));}[_0x5d1a27(0x1dd)](_0x4651d1,_0x23183f,_0x4994eb){const _0x271ec2=_0x5d1a27;var _0x5ed8d6,_0x174c94;let _0x44401d=(_0x5ed8d6=this[_0x271ec2(0x38e)][_0x271ec2(0x3a6)](_0x4651d1))==null?void 0x0:_0x5ed8d6[_0x271ec2(0x3a6)](_0x23183f);_0x44401d==null||(_0x174c94=_0x44401d[_0x271ec2(0x3a6)](_0x4994eb))==null||_0x174c94[_0x271ec2(0x33d)](),_0x44401d==null||_0x44401d[_0x271ec2(0x198)](_0x4994eb);}[_0x5d1a27(0x25a)](_0xe956c2){const _0x46ec4c=_0x5d1a27;let _0x1fb421=this[_0x46ec4c(0x38e)][_0x46ec4c(0x3a6)](_0xe956c2);_0x1fb421==null||_0x1fb421[_0x46ec4c(0x1e0)](_0x5752fb=>{const _0x43d8f9=_0x46ec4c;_0x5752fb[_0x43d8f9(0x1e0)](_0xa17092=>_0xa17092['dispose']()),_0x5752fb[_0x43d8f9(0x368)]();}),this[_0x46ec4c(0x38e)]['delete'](_0xe956c2);}[_0x5d1a27(0x37e)](_0x509bc7,_0xee3f17){const _0x56d28c=_0x5d1a27;return hi(_0x509bc7,_0xee3f17,this[_0x56d28c(0x2bd)]);}[_0x5d1a27(0x270)](_0x444b69){return this['_getChartRenderSkipReason'](_0x444b69)==null;}[_0x5d1a27(0x14c)](_0x19fb13){const _0x2679a5=_0x5d1a27;var _0x5eac1f;let _0x5a4e1b=this[_0x2679a5(0x11a)]['getFloatDomInfo'](_0x19fb13);if(!_0x5a4e1b)return _0x2679a5(0x3af);let {subUnitId:_0x79ffa}=_0x5a4e1b,_0x562b76=(_0x5eac1f=this[_0x2679a5(0x3d8)]['getCurrentUnitOfType'](_0x2a3654[_0x2679a5(0x1d7)]))==null?void 0x0:_0x5eac1f['getActiveSheet']();if(!_0x562b76)return _0x2679a5(0x32b);if(_0x562b76['getSheetId']()!==_0x79ffa)return'inactive-sheet';}async[_0x5d1a27(0x3a9)](_0x521c4e,_0x12ced0,_0x4dc6e8,_0x57e08d={}){const _0x580562=_0x5d1a27;let _0x6b9048=this[_0x580562(0x1be)][_0x580562(0x2d1)](_0x2e63c9);if(!_0x6b9048)return;let _0x5c7937=this['_lastRenderInputMap'][_0x580562(0x3a6)](_0x521c4e);if(this[_0x580562(0x2e5)][_0x580562(0x30a)](_0x521c4e,{'config':_0x12ced0,'style':_0x4dc6e8}),this['_getChartRenderSkipReason'](_0x521c4e))return;let {canAnimate:_0x38dd22,renderMode:_0xaeb34c,shouldStartTransientAnimation:_0x382cfc,transientAnimationActive:_0x170528}=this[_0x580562(0x3a8)](_0x521c4e,_0x5c7937!=null,_0x57e08d['animateDataUpdate']===!0x0);if(_0xaeb34c===_0x5aea83[_0x580562(0x2af)])this[_0x580562(0x3b6)](_0x521c4e);else{var _0x10436e;this[_0x580562(0x22b)]['invalidateSnapshot'](_0x521c4e),((_0x10436e=this[_0x580562(0x2aa)][_0x580562(0x26e)])==null?void 0x0:_0x10436e['id'])===_0x521c4e&&this[_0x580562(0x33c)](_0x521c4e);}let _0x5dea7b=_0xaeb34c===_0x5aea83[_0x580562(0x2af)]?_0x5aea83[_0x580562(0x2af)]:_0x5aea83[_0x580562(0x3da)],_0x245a02=await this['_chartHostProvider'][_0x580562(0x13a)](_0x521c4e,_0x5dea7b);if(!_0x245a02){_0x382cfc&&this[_0x580562(0x2ae)](_0x521c4e);return;}this['_chartHostProvider'][_0x580562(0x20d)](_0x521c4e,_0x170528?_0x24781a:null);let _0x43b4fb=this[_0x580562(0x3b2)](_0x521c4e,_0x5dea7b,_0x6b9048);_0x43b4fb[_0x580562(0x19d)](_0x245a02);try{let _0x3164d6={'chartId':_0x521c4e,'config':_0x12ced0,'style':_0x4dc6e8};_0x38dd22&&_0x5c7937&&_0x43b4fb['renderTransition']?await _0x43b4fb[_0x580562(0x24e)]({'chartId':_0x521c4e,'config':_0x5c7937['config'],'style':_0x5c7937['style']},_0x3164d6,{'duration':_0x24781a}):await _0x43b4fb[_0x580562(0x3a9)](_0x3164d6),await this[_0x580562(0x3e8)](_0x521c4e,_0xaeb34c,_0x43b4fb),_0x38dd22&&_0x170528&&this[_0x580562(0x2cd)](_0x521c4e);}catch(_0x59f127){if(_0x382cfc&&this[_0x580562(0x2ae)](_0x521c4e),_0xaeb34c!==_0x5aea83[_0x580562(0x2af)])throw _0x59f127;}}async[_0x5d1a27(0x3e8)](_0x538a64,_0x48665a,_0x46b519){const _0x522b0c=_0x5d1a27;var _0x1367e5;if(_0x48665a!==_0x5aea83[_0x522b0c(0x3da)]||((_0x1367e5=this['_chartModelService'][_0x522b0c(0x26e)])==null?void 0x0:_0x1367e5['id'])!==_0x538a64)return;let _0x24ac94=await this[_0x522b0c(0x22b)][_0x522b0c(0x13a)](_0x538a64,_0x5aea83[_0x522b0c(0x2af)]);if(!_0x24ac94)return;let _0x16434f=_0x24ac94[_0x522b0c(0x1e5)]();try{let _0x130b0e=await _0x46b519['exportImg']();_0x130b0e&&_0x24ac94['commitSnapshot']({'type':_0x1a6044[_0x522b0c(0x2fa)],'url':_0x130b0e},_0x16434f)&&_0x24ac94[_0x522b0c(0x2fc)]();}catch{}}[_0x5d1a27(0x3a8)](_0x173e64,_0x44dc8d,_0x44e1b3){const _0x5e99e0=_0x5d1a27;let _0x833ee7=this['_resolveChartRenderMode'](_0x173e64),_0x537970=_0x833ee7===_0x5aea83[_0x5e99e0(0x3da)]&&_0x44e1b3&&_0x44dc8d&&this['_canAnimateDataUpdate'](_0x173e64),_0x44a3d7=this['_dataUpdateAnimationChartIds'][_0x5e99e0(0x21c)](_0x173e64);return{'canAnimate':_0x537970,'renderMode':_0x44a3d7?_0x5aea83['Dom']:_0x833ee7,'shouldStartTransientAnimation':!0x1,'transientAnimationActive':_0x44a3d7};}[_0x5d1a27(0x33b)](_0x5958a2){const _0x50ef35=_0x5d1a27;var _0x1043dd,_0x4e6471,_0x45e172,_0x50392c;if(typeof document>'u'||typeof window>'u'||document[_0x50ef35(0x39c)]===_0x50ef35(0x1f7)||(_0x1043dd=(_0x4e6471=window)[_0x50ef35(0x2bf)])!=null&&(_0x1043dd=_0x1043dd[_0x50ef35(0x172)](_0x4e6471,_0x50ef35(0x3a5)))!=null&&_0x1043dd[_0x50ef35(0x3db)]||(_0x45e172=(_0x50392c=window)['matchMedia'])!=null&&(_0x45e172=_0x45e172['call'](_0x50392c,_0x50ef35(0x237)))!=null&&_0x45e172[_0x50ef35(0x3db)])return!0x1;let _0x37281f=this[_0x50ef35(0x22b)][_0x50ef35(0x3a4)](_0x5958a2);return _0x37281f!=null&&_0x37281f[_0x50ef35(0x175)]>0x0&&_0x37281f[_0x50ef35(0x364)]>0x0&&_0x37281f[_0x50ef35(0x135)]>0x0&&_0x37281f[_0x50ef35(0x1a8)]>0x0&&_0x37281f['left']<window[_0x50ef35(0x17c)]&&_0x37281f[_0x50ef35(0x2c0)]<window[_0x50ef35(0x1f0)];}['_activateDataUpdateAnimation'](_0xb917e9){const _0x459eaf=_0x5d1a27;let _0x3e1c7a=this[_0x459eaf(0x2f9)][_0x459eaf(0x3a6)](_0xb917e9);_0x3e1c7a&&(clearTimeout(_0x3e1c7a),this['_dataUpdateAnimationTimers'][_0x459eaf(0x198)](_0xb917e9)),this[_0x459eaf(0x3aa)][_0x459eaf(0x248)](_0xb917e9),this[_0x459eaf(0x22b)]['setDataUpdateAnimation'](_0xb917e9,_0x24781a);}[_0x5d1a27(0x2cd)](_0x389eca){const _0x531bb6=_0x5d1a27;let _0x3ba4ef=this[_0x531bb6(0x2f9)][_0x531bb6(0x3a6)](_0x389eca);_0x3ba4ef&&clearTimeout(_0x3ba4ef);let _0x439dc8=setTimeout(()=>{const _0x425c93=_0x531bb6;this[_0x425c93(0x2f9)][_0x425c93(0x198)](_0x389eca),this[_0x425c93(0x3aa)][_0x425c93(0x198)](_0x389eca)&&(this[_0x425c93(0x22b)][_0x425c93(0x20d)](_0x389eca,null),this[_0x425c93(0x3b6)](_0x389eca),this[_0x425c93(0x11e)](_0x389eca));},_0x24781a);this[_0x531bb6(0x2f9)][_0x531bb6(0x30a)](_0x389eca,_0x439dc8);}['_deactivateDataUpdateAnimation'](_0x3f2a15){const _0x4f5076=_0x5d1a27;let _0x10411c=this['_dataUpdateAnimationTimers'][_0x4f5076(0x3a6)](_0x3f2a15);_0x10411c&&(clearTimeout(_0x10411c),this['_dataUpdateAnimationTimers'][_0x4f5076(0x198)](_0x3f2a15)),this[_0x4f5076(0x3aa)]['delete'](_0x3f2a15),this['_chartHostProvider'][_0x4f5076(0x20d)](_0x3f2a15,null);}async[_0x5d1a27(0x2ff)](_0xc5649e,_0x12dbcc,_0x4b4d49){const _0x596be6=_0x5d1a27;let _0x1ee45f=this['_drawingManagerService']['getDrawingData'](_0xc5649e,_0x12dbcc),_0x1691cd=this[_0x596be6(0x3cb)]['getDrawingOrder'](_0xc5649e,_0x12dbcc),_0x164b09=Object[_0x596be6(0x2d7)](_0x1ee45f??{})['filter'](_0x2361df=>_0x2361df[_0x596be6(0x3e5)]===_0x4c00c3[_0x596be6(0x249)]&&_0x2361df[_0x596be6(0x1f7)]!==!0x0);await Promise[_0x596be6(0x3e0)](_0x164b09[_0x596be6(0x1a0)](async _0x11e99b=>{const _0x529ca5=_0x596be6;let _0x5b0b20=await this['_createPrintingChartObject'](_0x11e99b,_0x1691cd);_0x5b0b20&&(_0x4b4d49[_0x529ca5(0x129)](_0x5b0b20,_0x1f3967),_0x11e99b['groupId']&&_0x43a0ef({'drawingId':_0x11e99b[_0x529ca5(0x3c6)],'unitId':_0xc5649e,'subUnitId':_0x12dbcc},_0x5b0b20,_0x4b4d49,this[_0x529ca5(0x3cb)]));}));}async[_0x5d1a27(0x15c)](_0x5e7bf9,_0x1a3788){const _0x42b38c=_0x5d1a27;let _0x113b50=this[_0x42b38c(0x2aa)][_0x42b38c(0x1ce)](_0x5e7bf9[_0x42b38c(0x14a)]),_0x151be7=this[_0x42b38c(0x1be)][_0x42b38c(0x2d1)](_0x2e63c9),_0x433e17=_0x5e7bf9['transform'],_0x152100=_0x113b50==null?void 0x0:_0x113b50[_0x42b38c(0x2cc)];if(!_0x113b50||!_0x151be7||!_0x433e17||!_0x152100||_0x433e17[_0x42b38c(0x175)]==null||_0x433e17[_0x42b38c(0x364)]==null)return null;let _0x2d420c=new mi(_0x5e7bf9[_0x42b38c(0x14a)],{'width':_0x433e17[_0x42b38c(0x175)],'height':_0x433e17['height']}),_0x3bbf78=_0x151be7['createChartInstance'](_0x5aea83[_0x42b38c(0x2af)],this[_0x42b38c(0x24a)]());_0x3bbf78[_0x42b38c(0x19d)](_0x2d420c);let _0x48b975;try{await _0x3bbf78[_0x42b38c(0x3a9)]({'chartId':_0x5e7bf9['drawingId'],'config':_0x152100,'style':this[_0x42b38c(0x37e)](_0x113b50,this[_0x42b38c(0x166)]['getDirection']())});}catch(_0x4ef31f){console[_0x42b38c(0x252)]('[ChartRender]\x20Failed\x20to\x20render\x20chart\x20snapshot\x20for\x20printing',_0x4ef31f);}finally{_0x48b975=_0x2d420c[_0x42b38c(0x244)](),_0x3bbf78[_0x42b38c(0x33d)](),_0x2d420c[_0x42b38c(0x33d)]();}let _0xa02c34=this[_0x42b38c(0x3d9)][_0x42b38c(0x265)]({'unitId':_0x5e7bf9[_0x42b38c(0x1b7)],'subUnitId':_0x5e7bf9['subUnitId'],'chartId':_0x5e7bf9[_0x42b38c(0x14a)]}),_0x4f51ce=_0x48b975??_0xa02c34;if(!_0x4f51ce)return null;let _0x338244=_0x1a3788[_0x42b38c(0x1b1)](_0x5e7bf9['drawingId']);return new ei(_0x4f61f4(_0x5e7bf9),{..._0x433e17,..._0x379573,...ui(_0x2d420c[_0x42b38c(0x2ce)]),'visible':!0x0,'zIndex':_0x338244===-0x1?Math['max'](_0x1a3788[_0x42b38c(0x355)]-0x1,0x0):_0x338244},()=>_0x4f51ce,void 0x0,_0x48b975?()=>W(_0x48b975):void 0x0);}[_0x5d1a27(0x3b2)](_0x1e5596,_0x5748b0,_0x3f0585){const _0xf08016=_0x5d1a27;let _0x5d24c1=this['_chartInstanceMap'][_0xf08016(0x3a6)](_0x1e5596);if((_0x5d24c1==null?void 0x0:_0x5d24c1[_0xf08016(0x295)])===_0x5748b0)return _0x5d24c1;_0x5d24c1&&(this[_0xf08016(0x25a)](_0x1e5596),_0x5d24c1['dispose'](),this[_0xf08016(0x3bd)][_0xf08016(0x198)](_0x1e5596));let _0x5ef45e=_0x3f0585[_0xf08016(0x23c)](_0x5748b0,this[_0xf08016(0x24a)]());return this['_chartInstanceMap'][_0xf08016(0x30a)](_0x1e5596,_0x5ef45e),_0x5ef45e[_0xf08016(0x318)](this[_0xf08016(0x330)]['get'](_0x1e5596)===!0x0),this[_0xf08016(0x1a1)](_0x1e5596,_0x5ef45e),_0x5ef45e;}[_0x5d1a27(0x24a)](){const _0x132047=_0x5d1a27;return{'resolveHostStyle':({style:_0x2a2352})=>_0x214c2a({'style':_0x2a2352,'getRenderColor':_0x36102f=>this['_chartThemeService']['getRenderColor'](_0x36102f)}),'resolveRenderBackgroundColor':({style:_0xaa2ac7})=>this[_0x132047(0x28f)][_0x132047(0x181)](_0x2a1999(_0xaa2ac7))};}['_disposeChartChangeListeners'](_0x287c0a){const _0x2e3a61=_0x5d1a27;var _0x39594b,_0x58f0a1,_0x34eb74;(_0x39594b=this['_chartChangeSubscriptions'][_0x2e3a61(0x3a6)](_0x287c0a))==null||_0x39594b['dispose'](),this[_0x2e3a61(0x15b)][_0x2e3a61(0x198)](_0x287c0a),(_0x58f0a1=this['_renderDebounceMap'][_0x2e3a61(0x3a6)](_0x287c0a))==null||_0x58f0a1[_0x2e3a61(0x1b5)](),this[_0x2e3a61(0x16b)]['delete'](_0x287c0a),(_0x34eb74=this[_0x2e3a61(0x32f)]['get'](_0x287c0a))==null||_0x34eb74[_0x2e3a61(0x1b5)](),this[_0x2e3a61(0x32f)]['delete'](_0x287c0a);}[_0x5d1a27(0x36f)](){const _0x193229=_0x5d1a27;this[_0x193229(0x16b)][_0x193229(0x1e0)](_0xeef3c4=>_0xeef3c4[_0x193229(0x1b5)]()),this[_0x193229(0x16b)][_0x193229(0x368)](),this['_debounceHandleMap'][_0x193229(0x1e0)](_0x1dac2d=>_0x1dac2d[_0x193229(0x1b5)]()),this[_0x193229(0x32f)]['clear']();}[_0x5d1a27(0x33d)](){const _0x29603b=_0x5d1a27;this[_0x29603b(0x15b)]['forEach'](_0x4681f2=>_0x4681f2[_0x29603b(0x33d)]()),this[_0x29603b(0x15b)][_0x29603b(0x368)](),this[_0x29603b(0x2f9)][_0x29603b(0x1e0)](_0x4f4a3f=>clearTimeout(_0x4f4a3f)),this[_0x29603b(0x2f9)][_0x29603b(0x368)](),this[_0x29603b(0x3aa)]['clear'](),Array[_0x29603b(0x38b)](this[_0x29603b(0x3bd)][_0x29603b(0x30d)]())[_0x29603b(0x1e0)](_0x3dfa90=>this[_0x29603b(0x288)](_0x3dfa90)),this[_0x29603b(0x39d)][_0x29603b(0x368)](),this[_0x29603b(0x330)][_0x29603b(0x368)](),this[_0x29603b(0x36f)](),this['_lastRenderInputMap']['clear'](),this[_0x29603b(0x13c)]=null,this[_0x29603b(0x1c4)]=null,super[_0x29603b(0x33d)]();}};q=K([G(0x0,fi),G(0x1,_0x233312(_0x1cd243)),G(0x2,_0x233312(_0xef00ca)),G(0x3,_0x2a46aa),G(0x4,_0x50dd4e),G(0x5,_0x233312(_0x2b6adf)),G(0x6,_0x233312(_0x2365aa)),G(0x7,_0x233312(_0x26189f)),G(0x8,_0x233312(_0x5a9273)),G(0x9,_0x233312(_0x6bd0cf)),G(0xa,_0x332790),G(0xb,_0x233312(ii)),G(0xc,_0x51da78)],q);const J=_0x4fb58e(_0x5d1a27(0x1b4));let gi=class extends _0x116c21{constructor(_0x4b5ee1,_0x429cec,_0x513cf2,_0x2dc0b6,_0x13c4e4){const _0x357d50=_0x5d1a27;super(_0x13c4e4),this[_0x357d50(0x2aa)]=_0x4b5ee1,this[_0x357d50(0x1f9)]=_0x429cec,this[_0x357d50(0x3c7)]=_0x513cf2,this[_0x357d50(0x3d8)]=_0x2dc0b6,U(this,_0x357d50(0x1c3),!0x1),U(this,_0x357d50(0x1ee),new _0x36066b(!0x1)),U(this,_0x357d50(0x291),new _0x36066b(null)),U(this,_0x357d50(0x26d),this[_0x357d50(0x1ee)][_0x357d50(0x1cb)]()),U(this,_0x357d50(0x192),this[_0x357d50(0x291)][_0x357d50(0x1cb)]());}get[_0x5d1a27(0x371)](){const _0x574be4=_0x5d1a27;return this['_chartModelService'][_0x574be4(0x26e)]??null;}get[_0x5d1a27(0x380)](){const _0x443c1c=_0x5d1a27;return this[_0x443c1c(0x1ee)]['getValue']();}get['rangeSelectMode'](){return this['_rangeSelectMode'];}[_0x5d1a27(0x179)](_0x1348d4){const _0x45b48d=_0x5d1a27;this[_0x45b48d(0x1c3)]=_0x1348d4;}['setChartEditorOpen'](_0x28746d){const _0x3a5396=_0x5d1a27;this[_0x3a5396(0x1ee)][_0x3a5396(0x194)]()!==_0x28746d&&this[_0x3a5396(0x1ee)][_0x3a5396(0x2db)](_0x28746d);}['isElementEditModeActive'](_0x4c106c){const _0x559e67=_0x5d1a27;var _0xfeca62;return this[_0x559e67(0x380)]&&((_0xfeca62=this['_chartModelService'][_0x559e67(0x26e)])==null?void 0x0:_0xfeca62['id'])===_0x4c106c;}[_0x5d1a27(0x1c9)](_0x28a1d9,_0x593608){const _0x1545bb=_0x5d1a27;this[_0x1545bb(0x291)][_0x1545bb(0x2db)]({'chartId':_0x28a1d9,'route':_0x593608});}[_0x5d1a27(0x202)](){const _0x3bcdc5=_0x5d1a27;this[_0x3bcdc5(0x291)][_0x3bcdc5(0x2db)](null);}[_0x5d1a27(0x342)](_0x3542a8){const _0x4b9050=_0x5d1a27;let _0x11e529=this[_0x4b9050(0x2aa)]['activeChartModel'];_0x11e529&&this[_0x4b9050(0x18c)]({'chartModelId':_0x11e529['id'],'range':_0x3542a8});}[_0x5d1a27(0x2a2)](_0x47977a){const _0x5b29eb=_0x5d1a27;let _0x2ef30e=this[_0x5b29eb(0x2aa)][_0x5b29eb(0x26e)];if(!_0x2ef30e)return;let _0x3b3e8d=this[_0x5b29eb(0x1f9)][_0x5b29eb(0x34a)](_0x2ef30e['id']);if(!_0x3b3e8d||Array[_0x5b29eb(0x25b)](_0x3b3e8d))return;let _0x37cba0={..._0x3b3e8d,'isRowDirection':_0x47977a===_0x10a164[_0x5b29eb(0x1aa)]};this[_0x5b29eb(0x18c)]({'chartModelId':_0x2ef30e['id'],'range':_0x37cba0});}[_0x5d1a27(0x366)](_0x3a5305){const _0x20e815=_0x5d1a27;var _0x63c4d4;this['_commandService'][_0x20e815(0x2de)](_0x459ce1['id'],{..._0x3a5305,'unitId':((_0x63c4d4=this[_0x20e815(0x3d8)]['getFocusedUnit']())==null?void 0x0:_0x63c4d4[_0x20e815(0x18b)]())??''});}[_0x5d1a27(0x18c)](_0x182431){const _0x39fb47=_0x5d1a27;var _0x4fc40a;this[_0x39fb47(0x3c7)]['executeCommand'](_0x38e7ef['id'],{..._0x182431,'unitId':((_0x4fc40a=this[_0x39fb47(0x3d8)][_0x39fb47(0x376)]())==null?void 0x0:_0x4fc40a['getUnitId']())??''});}[_0x5d1a27(0x33d)](){const _0x3338a7=_0x5d1a27;this[_0x3338a7(0x1ee)][_0x3338a7(0x293)](),this['_panelRoute$'][_0x3338a7(0x293)](),super[_0x3338a7(0x33d)]();}};gi=K([G(0x0,_0x233312(_0xef00ca)),G(0x1,_0x233312(_0x45f46e)),G(0x2,_0x23023c),G(0x3,_0x50dd4e),G(0x4,_0x233312(_0x3e8107))],gi);var _i;const vi={'axis':{..._0x139b61,'primaryGridLineVisible':!0x1,'secondaryGridLineVisible':!0x0},'funnel':_0xb27861,'heatmap':_0x12c1e1,'indicatorLine':_0x31ba77,'legend':_0x5f58c5,'lineAndArea':_0x446fe7,'pareto':_0x1643ce,'pie':_0x4d97b0,'relation':{..._0x394271,'useValueAsSymbolSize':!0x0},'radar':_0x65c5c5,'series':{..._0x268902,'radarFillOpacity':0.2,'rightAxis':{'ltr':!0x1,'rtl':((_i=_0x53921e[_0x5d1a27(0x3b8)])==null?void 0x0:_i[_0x5d1a27(0x184)])??!0x1}},'style':_0x2b1fd5,'titles':_0x164823,'trendline':_0x4a9bbd,'waterfallStyle':_0x506e01,'wordCloud':_0x580b40},yi=_0x260156=>_0x260156[_0x5d1a27(0x3ce)](_0x2a3654[_0x5d1a27(0x1d7)])[_0x5d1a27(0x18b)](),bi=_0x11e824=>{const _0x2e2817=_0x5d1a27;var _0x449535;return(_0x449535=_0x11e824['getCurrentUnitOfType'](_0x2a3654[_0x2e2817(0x1d7)])[_0x2e2817(0x144)]())==null?void 0x0:_0x449535[_0x2e2817(0x1c1)]();},xi=()=>{const _0x1d3453=_0x5d1a27;var _0x821a5c;let _0x2d5107=_0x216cfe(J),_0x2fa751=_0x216cfe(_0xef00ca),_0x19d7e6=_0x216cfe(_0x2365aa),_0x408264=_0x216cfe(_0x26189f),_0x342b3e=_0x2ab3f2(_0x408264),_0x2117ae=_0x1f6146(()=>{const _0x41319a=_0x14cc;let _0x46bd6c=Ir(Pr[_0x41319a(0x37b)](),_0x342b3e);return _0x5db475(_0x46bd6c[_0x41319a(0x1a0)](_0x1bc774=>({'id':_0x1bc774['id'],'label':_0x19d7e6['t']('sheets-chart-ui.chartTypes.'+_0x1bc774['labelId']),'pieSecondaryPlotType':_0x1bc774['pieSecondaryPlotType'],'value':_0x1bc774[_0x41319a(0x385)]})));},[_0x342b3e,_0x19d7e6]),_0x2d27ad=_0x103df8(_0x2fa751[_0x1d3453(0x209)],_0x2fa751[_0x1d3453(0x26e)]),_0x4db033=_0x103df8(_0x2d27ad==null?void 0x0:_0x2d27ad[_0x1d3453(0x261)],_0x2d27ad==null?void 0x0:_0x2d27ad[_0x1d3453(0x216)]),_0x47e898=_0x103df8(_0x2d27ad==null?void 0x0:_0x2d27ad['dataSource$'],_0x2d27ad==null?void 0x0:_0x2d27ad[_0x1d3453(0x230)]),_0x40cd65=_0x103df8(_0x47e898==null?void 0x0:_0x47e898[_0x1d3453(0x301)],_0x47e898==null?void 0x0:_0x47e898[_0x1d3453(0x351)]()),_0x291d20=Array['isArray'](_0x40cd65),_0x525383=_0x40cd65&&!_0x291d20&&_0x40cd65[_0x1d3453(0x1c2)]?_0x10a164[_0x1d3453(0x1aa)]:_0x10a164[_0x1d3453(0x27b)],_0x18f9bc=_0x291d20?(_0x821a5c=_0x40cd65[0x0])==null?void 0x0:_0x821a5c['range']:_0x40cd65==null?void 0x0:_0x40cd65[_0x1d3453(0x2a6)];return _0x191e51(_0x1d3453(0x21b),{'className':_0x1d3453(0x1b3),'children':[_0x29cee8(_0xc7bb52,{'chartTypeOptions':_0x2117ae,'dataSourceControl':_0x29cee8(Si,{'dataRange':_0x40cd65,'primaryRange':_0x18f9bc}),'categoryToggleLabel':_0x19d7e6['t']('sheets-chart-ui.common.useAsCategoryLabels',_0x525383===_0x10a164[_0x1d3453(0x1aa)]?_0x525383+'\x20'+(((_0x18f9bc==null?void 0x0:_0x18f9bc['range']['startRow'])??0x0)+0x1):_0x525383+'\x20'+_0x2a8fac((_0x18f9bc==null?void 0x0:_0x18f9bc[_0x1d3453(0x363)][_0x1d3453(0x1b0)])??0x0)),'orientationControl':_0x291d20?void 0x0:_0x29cee8(_0x926487,{'size':_0x1d3453(0x1f5),'onClick':()=>_0x2d5107[_0x1d3453(0x2a2)](_0x525383===_0x10a164[_0x1d3453(0x1aa)]?_0x10a164[_0x1d3453(0x27b)]:_0x10a164[_0x1d3453(0x1aa)]),'children':_0x19d7e6['t'](_0x1d3453(0x11b))})}),_0x29cee8(_0x277379,{'checked':(_0x4db033==null?void 0x0:_0x4db033[_0x1d3453(0x1d6)])===!0x1,'disabled':!_0x2d27ad,'onChange':_0xd5b326=>{const _0x9a463d=_0x1d3453;_0x2d27ad&&_0x2d5107[_0x9a463d(0x366)]({'chartModelId':_0x2d27ad['id'],'context':{'plotVisibleOnly':!_0xd5b326}});},'children':_0x19d7e6['t'](_0x1d3453(0x2c5))})]});};function Si(_0x3dcadb){const _0x5c7209=_0x5d1a27;let {dataRange:_0xbd2409,primaryRange:_0x1199ea}=_0x3dcadb,_0x34255d=_0x216cfe(J),_0x2382d6=_0x216cfe(_0x2365aa),_0x49ec34=_0x216cfe(_0x50dd4e),_0x13937d=_0x216cfe(_0xae1c0),[_0x263cd8,_0x2a7bcd]=_0x4cb90f(!0x1),[_0x4018d0,_0x3ae1e5]=_0x4cb90f(!0x1),[_0xae9213,_0x121163]=_0x4cb90f(),_0x3c5cd7=yi(_0x49ec34),_0x43098e=bi(_0x49ec34),_0x6ea478=_0xbd2409?Mr(_0xbd2409,_0x49ec34):'',_0x3f8d6a=_0x399028(_0x6ea478),_0x197953=_0x399028(void 0x0),_0xf7a52d=_0x399028(null);_0x3b35d2(()=>{const _0x1d81c0=_0x14cc;_0x34255d[_0x1d81c0(0x179)](_0x263cd8),_0x13937d[_0x1d81c0(0x343)](_0x3d0cdc,_0x263cd8);},[_0x13937d,_0x263cd8,_0x34255d]),_0x3b35d2(()=>()=>{const _0x11d9b7=_0x14cc;_0x34255d[_0x11d9b7(0x179)](!0x1),_0x13937d[_0x11d9b7(0x343)](_0x3d0cdc,!0x1);},[_0x13937d,_0x34255d]);let _0x2b45dc=_0x2b3d4a(_0x3aa38d=>{const _0x1f1b64=_0x14cc;var _0x586d82;if(Mr(_0xbd2409,_0x49ec34)===_0x3aa38d)return _0x121163(void 0x0),!0x0;let _0x766572=_0x3aa38d[_0x1f1b64(0x259)](_0x11cdbd['COMMA']);if(!_0x3aa38d['trim']()||_0x766572[_0x1f1b64(0x355)]!==0x1||!((_0x586d82=_0xf7a52d['current'])!=null&&_0x586d82[_0x1f1b64(0x35a)]()))return _0x121163(_0x2382d6['t']('sheets-chart-ui.common.invalidDataRange')),!0x1;let {unitId:_0x28fbcd,sheetName:_0x259904,range:_0x17a314}=_0x560030(_0x766572[0x0]),_0x51acc4=_0x28fbcd||_0x3c5cd7,_0x25494b=_0x49ec34[_0x1f1b64(0x2f4)](_0x51acc4),_0x3b7aba=(_0x1199ea==null?void 0x0:_0x1199ea[_0x1f1b64(0x1b7)])===_0x51acc4?_0x1199ea[_0x1f1b64(0x2b4)]:_0x43098e,_0x3f32f8=_0x259904?_0x25494b==null?void 0x0:_0x25494b[_0x1f1b64(0x3c8)](_0x259904):_0x25494b==null?void 0x0:_0x25494b['getSheetBySheetId'](_0x3b7aba??'');return!_0x25494b||!_0x3f32f8||!_0x2f7016(_0x17a314,_0x3f32f8)?(_0x121163(_0x2382d6['t'](_0x1f1b64(0x3c4))),!0x1):(_0x121163(void 0x0),_0x34255d[_0x1f1b64(0x342)]({'rangeInfo':{'range':_0x17a314,'unitId':_0x51acc4,'subUnitId':_0x3f32f8[_0x1f1b64(0x1c1)]()}}),!0x0);},[_0xbd2409,_0x2382d6,_0x1199ea,_0x34255d,_0x43098e,_0x3c5cd7,_0x49ec34]),_0x443d1d=_0x1f6146(()=>({'keyCodes':[{'keyCode':_0x85e98f[_0x5c7209(0x262)],'nativeTextEditorBehavior':_0x1a8c0d[_0x5c7209(0x3ba)]}],'handler':_0x5baa9e=>{const _0x2cf8b6=_0x5c7209;_0x5baa9e===_0x85e98f[_0x2cf8b6(0x262)]&&_0x2b45dc(_0x3f8d6a[_0x2cf8b6(0x2d3)])&&(_0x197953[_0x2cf8b6(0x2d3)]=_0x3f8d6a['current']);}}),[_0x2b45dc]);return _0x29cee8(_0x5c7209(0x21b),{'className':_0x5c7209(0x321),'children':_0x191e51('div',{'children':[_0x29cee8(_0x207394,{'title':_0x2382d6['t'](_0x5c7209(0x24c))}),_0x29cee8(_0x16fe39,{'supportAcrossSheet':!0x0,'keepSheetReference':!0x0,'maxRangeCount':0x1,'unitId':_0x3c5cd7,'subUnitId':_0x43098e,'initialValue':_0x6ea478,'keyboardEventConfig':_0x443d1d,'selectorRef':_0xf7a52d,'onChange':(_0x4b6b40,_0x30e007)=>{const _0x444a7c=_0x5c7209;_0x3f8d6a[_0x444a7c(0x2d3)]=_0x30e007,_0x4018d0&&_0x197953[_0x444a7c(0x2d3)]!==_0x30e007&&_0x2b45dc(_0x30e007)&&(_0x197953[_0x444a7c(0x2d3)]=_0x30e007);},'onFocusChange':(_0x58003,_0x4902f1)=>{const _0x417571=_0x5c7209;if(_0x4902f1!==void 0x0&&(_0x3f8d6a[_0x417571(0x2d3)]=_0x4902f1),_0x4018d0||_0x2a7bcd(_0x58003),_0x58003)_0x197953[_0x417571(0x2d3)]=_0x3f8d6a[_0x417571(0x2d3)];else{let _0x48ebeb=_0x197953[_0x417571(0x2d3)];_0x197953[_0x417571(0x2d3)]=void 0x0,_0x48ebeb!==void 0x0&&_0x3f8d6a[_0x417571(0x2d3)]!==_0x48ebeb&&_0x2b45dc(_0x3f8d6a[_0x417571(0x2d3)]);}},'onRangeSelectorDialogVisibleChange':_0x27c37e=>{_0x3ae1e5(_0x27c37e),_0x2a7bcd(_0x27c37e);}}),_0xae9213?_0x29cee8(_0x5c7209(0x21b),{'className':_0x5c7209(0x196),'children':_0xae9213}):null]})});}function Y(_0x494b5a){const _0xdef697=_0x5d1a27;return _0x191e51(_0x3ef861,{'id':_0x494b5a['id'],'children':[_0x29cee8(_0x57ffd4,{'children':_0x494b5a['label']}),_0x29cee8(_0x25002a,{'children':_0x494b5a[_0xdef697(0x389)]})]});}const Ci=_0x49a043=>{const _0x30202b=_0x5d1a27;let _0x40ea29=_0x216cfe(_0x2365aa),_0x3c1d04=_0x216cfe(J),_0xa52dec=_0x216cfe(_0xef00ca),_0x2f9deb=_0x103df8(_0xa52dec[_0x30202b(0x209)],_0xa52dec['activeChartModel']),_0x5e949c=_0x103df8(_0x3c1d04[_0x30202b(0x192)],null),_0x1797d1=_0x5e949c&&_0x5e949c[_0x30202b(0x191)]===(_0x2f9deb==null?void 0x0:_0x2f9deb['id'])?_0x5e949c['route']:null,_0x590a20=_0x2bf8dc(),_0x4c1da0=_0x207a58(),[_0x3d6bb7,_0x2a173a]=_0x4cb90f(null);_0x3b35d2(()=>{const _0x3d2fe7=_0x30202b;_0x1797d1!=null&&_0x1797d1['section']&&_0x2a173a(_0x1797d1[_0x3d2fe7(0x165)]);},[_0x1797d1]);let _0x2fdb6e=_0x159690[_0x30202b(0x38d)](_0x590a20,_0x1b41ef[_0x30202b(0x350)]),_0x38a967=_0x590a20===_0x1b41ef[_0x30202b(0x141)],_0x2b8a79=_0x590a20===_0x1b41ef[_0x30202b(0x15d)],_0x46c981=_0x590a20===_0x1b41ef[_0x30202b(0x3d7)],_0x1ac061=_0x159690['baseOn'](_0x590a20,_0x1b41ef[_0x30202b(0x20f)]),_0x5f3c99=_0x590a20===_0x1b41ef[_0x30202b(0x30c)],_0x5b3247=_0x590a20===_0x1b41ef['Waterfall'],_0x1662bb=_0x590a20===_0x1b41ef[_0x30202b(0x14b)],_0x1873fc=_0x590a20===_0x1b41ef[_0x30202b(0x200)],_0x53d0b2,_0x33beab;switch(_0x590a20){case _0x1b41ef['Candlestick']:_0x53d0b2=_0x5cd548['Candlestick'],_0x33beab=_0x40ea29['t'](_0x30202b(0x36a));break;case _0x1b41ef['Histogram']:_0x53d0b2=_0x5cd548['Histogram'],_0x33beab=_0x40ea29['t'](_0x30202b(0x207));break;case _0x1b41ef[_0x30202b(0x16d)]:_0x53d0b2=_0x5cd548[_0x30202b(0x16d)],_0x33beab=_0x40ea29['t']('sheets-chart-ui.section.treemap');break;case _0x1b41ef[_0x30202b(0x15e)]:_0x53d0b2=_0x5cd548['Sunburst'],_0x33beab=_0x40ea29['t'](_0x30202b(0x2f1));break;case _0x1b41ef[_0x30202b(0x236)]:_0x53d0b2=_0x5cd548['Gauge'],_0x33beab=_0x40ea29['t']('sheets-chart-ui.section.gauge');break;case _0x1b41ef[_0x30202b(0x212)]:_0x53d0b2=_0x5cd548[_0x30202b(0x212)],_0x33beab=_0x40ea29['t'](_0x30202b(0x1cc));}let _0x534c1e=_0x4a2ff9(_0x590a20,_0x2db937[_0x30202b(0x37a)])&&!_0x1ac061&&!_0x1662bb;return _0x191e51(_0x180c10,{'value':_0x3d6bb7,'onChange':_0x2a173a,'children':[_0x29cee8(Y,{'id':_0x5cd548[_0x30202b(0x140)],'label':_0x40ea29['t'](_0x30202b(0x18a)),'children':_0x29cee8(_0x31470c,{'defaultValues':_0x49a043['defaultValues'][_0x30202b(0x2ce)]})}),_0x29cee8(Y,{'id':_0x5cd548['ChartAndAxisTitles'],'label':_0x40ea29['t']('sheets-chart-ui.common.chartAndAxisTitles'),'children':_0x29cee8(_0x2ba23b,{'commitMode':_0x30202b(0x300),'defaultValues':_0x49a043[_0x30202b(0x2c3)][_0x30202b(0x1a2)],'selectedTitleKey':_0x1797d1==null?void 0x0:_0x1797d1[_0x30202b(0x326)]})}),_0x534c1e&&_0x29cee8(Y,{'id':_0x5cd548[_0x30202b(0x127)],'label':_0x40ea29['t'](_0x30202b(0x225)),'children':_0x29cee8(_0x352738,{'defaultValues':_0x49a043[_0x30202b(0x2c3)]['series'],'NumberFormatField':_0x1952a3,'selectedSeriesId':_0x1797d1==null?void 0x0:_0x1797d1[_0x30202b(0x316)]})}),_0x5b3247&&_0x29cee8(Y,{'id':_0x5cd548[_0x30202b(0x266)],'label':_0x40ea29['t']('sheets-chart-ui.section.waterfall'),'children':_0x29cee8(_0x3ed512,{'defaultValues':_0x49a043[_0x30202b(0x2c3)]['waterfallStyle'],'getDefaultBucketName':({seriesName:_0x33a2f1,target:_0xf4b4c9})=>_0xf4b4c9===_0x4f4eae[_0x30202b(0x163)]?_0x40ea29['t']('sheets-chart-ui.waterfall.subtotal'):_0x33a2f1?_0x33a2f1+'-('+_0x40ea29['t'](_0xf4b4c9===_0x4f4eae[_0x30202b(0x367)]?_0x30202b(0x1a6):_0x30202b(0x3b7))+')':'','NumberFormatField':_0x1952a3,'selectedSeriesId':_0x1797d1==null?void 0x0:_0x1797d1[_0x30202b(0x316)]})}),_0x1662bb&&_0x191e51(_0x59371d,{'children':[_0x29cee8(Y,{'id':_0x5cd548['ParetoBarSeries'],'label':_0x40ea29['t']('sheets-chart-ui.section.paretoBar'),'children':_0x29cee8(_0x19f761,{'defaultValues':_0x49a043[_0x30202b(0x2c3)][_0x30202b(0x348)],'NumberFormatField':_0x1952a3,'showDataPointEditor':!0x0,'target':_0x30202b(0x162)})}),_0x29cee8(Y,{'id':_0x5cd548[_0x30202b(0x325)],'label':_0x40ea29['t'](_0x30202b(0x120)),'children':_0x29cee8(_0x19f761,{'defaultValues':_0x49a043[_0x30202b(0x2c3)][_0x30202b(0x348)],'NumberFormatField':_0x1952a3,'showDataPointEditor':!0x1,'target':_0x30202b(0x14d)})})]}),_0x2fdb6e&&_0x29cee8(Y,{'id':_0x5cd548[_0x30202b(0x1d4)],'label':_0x40ea29['t'](_0x30202b(0x1fb)),'children':_0x29cee8(_0xfe26d,{'defaultValues':_0x49a043[_0x30202b(0x2c3)][_0x30202b(0x396)],'NumberFormatField':_0x1952a3})}),_0x2b8a79&&_0x29cee8(Y,{'id':_0x5cd548[_0x30202b(0x15d)],'label':_0x40ea29['t'](_0x30202b(0x38c)),'children':_0x29cee8(_0xbc59ea,{'defaultValues':_0x49a043[_0x30202b(0x2c3)]['wordCloud']})}),_0x38a967&&_0x29cee8(Y,{'id':_0x5cd548[_0x30202b(0x141)],'label':_0x40ea29['t'](_0x30202b(0x303)),'children':_0x29cee8(_0x29bb05,{'defaultValues':_0x49a043[_0x30202b(0x2c3)]['radar']})}),_0x46c981&&_0x29cee8(Y,{'id':_0x5cd548[_0x30202b(0x3d7)],'label':_0x40ea29['t']('sheets-chart-ui.section.funnel'),'children':_0x29cee8(_0x10f257,{'defaultValues':_0x49a043['defaultValues'][_0x30202b(0x323)],'gapControl':_0x30202b(0x354)})}),_0x1873fc&&_0x29cee8(Y,{'id':_0x5cd548[_0x30202b(0x200)],'label':_0x40ea29['t']('sheets-chart-ui.common.heatmap'),'children':_0x29cee8(_0xdb5d0c,{'defaultValues':_0x49a043[_0x30202b(0x2c3)][_0x30202b(0x2dd)]})}),_0x5f3c99&&_0x29cee8(Y,{'id':_0x5cd548[_0x30202b(0x30c)],'label':_0x40ea29['t'](_0x30202b(0x164)),'children':_0x29cee8(_0x3b130a,{'defaultValues':_0x49a043[_0x30202b(0x2c3)][_0x30202b(0x2ab)]})}),_0x4aab43(_0x590a20)&&_0x29cee8(Y,{'id':_0x5cd548['LineAndArea'],'label':_0x40ea29['t'](_0x30202b(0x143)),'children':_0x29cee8(_0x2adbfb,{'defaultValues':_0x49a043[_0x30202b(0x2c3)][_0x30202b(0x39b)],'lineStyleControl':_0x30202b(0x26a)})}),_0x4a2ff9(_0x590a20,_0x2db937[_0x30202b(0x1c7)])&&_0x29cee8(Y,{'id':_0x5cd548['Legend'],'label':_0x40ea29['t'](_0x30202b(0x393)),'children':_0x29cee8(_0x167edd,{'defaultValues':_0x49a043[_0x30202b(0x2c3)][_0x30202b(0x234)]})}),_0x4a2ff9(_0x590a20,_0x2db937[_0x30202b(0x2c6)])&&_0x191e51(_0x59371d,{'children':[_0x29cee8(Y,{'id':_0x5cd548[_0x30202b(0x33e)],'label':_0x40ea29['t'](_0x30202b(0x32e)),'children':_0x29cee8(_0x49da1a,{'axis':'x','defaultValues':_0x49a043[_0x30202b(0x2c3)]['axis'],'NumberFormatField':_0x1952a3})}),_0x29cee8(Y,{'id':_0x5cd548[_0x30202b(0x240)],'label':_0x40ea29['t'](_0x30202b(0x357)),'children':_0x29cee8(_0x49da1a,{'axis':'y','defaultValues':_0x49a043[_0x30202b(0x2c3)][_0x30202b(0x37c)],'NumberFormatField':_0x1952a3})}),_0x4c1da0&&_0x29cee8(Y,{'id':_0x5cd548[_0x30202b(0x394)],'label':_0x40ea29['t'](_0x30202b(0x3dd)),'children':_0x29cee8(_0x49da1a,{'axis':_0x30202b(0x37f),'defaultValues':_0x49a043['defaultValues'][_0x30202b(0x37c)],'NumberFormatField':_0x1952a3})}),_0x29cee8(Y,{'id':_0x5cd548[_0x30202b(0x253)],'label':_0x40ea29['t'](_0x30202b(0x34b)),'children':_0x29cee8(_0x275af9,{'defaultValues':_0x49a043[_0x30202b(0x2c3)][_0x30202b(0x37c)]})})]}),_0x4a2ff9(_0x590a20,_0x2db937['IndicatorLine'])&&_0x29cee8(Y,{'id':_0x5cd548['IndicatorLine'],'label':_0x40ea29['t'](_0x30202b(0x340)),'children':_0x29cee8(_0x2206f1,{'defaultValues':_0x49a043[_0x30202b(0x2c3)][_0x30202b(0x14f)]})}),_0x34a7ab(_0x590a20)&&_0x29cee8(Y,{'id':_0x5cd548[_0x30202b(0x20b)],'label':_0x40ea29['t'](_0x30202b(0x3a0)),'children':_0x29cee8(_0x3dc659,{'defaultValues':_0x49a043[_0x30202b(0x2c3)][_0x30202b(0x223)]})}),_0x53d0b2&&_0x33beab&&_0x29cee8(Y,{'id':_0x53d0b2,'label':_0x33beab,'children':_0x29cee8(_0x47de5c,{})})]});};function wi(_0x2d1c46){const _0x3e8853=_0x5d1a27;let {className:_0x38830e}=_0x2d1c46,[_0x3f95af,_0x5e685c]=_0x4cb90f(_0x45ab14[_0x3e8853(0x211)]),_0x7a754=_0x216cfe(_0x26189f),_0x109bed=_0x216cfe(_0x2365aa),_0x416249=_0x216cfe(J),_0x1b105c=_0x216cfe(_0xef00ca),_0x3e01c0=_0x216cfe(_0x45f46e),_0x1001fa=_0x103df8(_0x1b105c[_0x3e8853(0x209)],_0x1b105c[_0x3e8853(0x26e)]),_0xc7ec1b=_0x103df8(_0x416249['panelRoute$'],null),_0x32d10d=_0x1f6146(()=>{const _0x5924fc=_0x3e8853;var _0x2e7f02;if(!_0x1001fa)return null;let _0x2d6363=_0x3e01c0['getChartSourceSpec'](_0x1001fa['id']);if(!_0x2d6363)return null;let _0x168565=Array[_0x5924fc(0x25b)](_0x2d6363)?(_0x2e7f02=_0x2d6363[0x0])==null?void 0x0:_0x2e7f02['range']:_0x2d6363[_0x5924fc(0x2a6)];return _0x168565?new _0x21eaab(_0x1001fa,new _0x467243({'unitId':_0x168565[_0x5924fc(0x1b7)],'subUnitId':_0x168565[_0x5924fc(0x2b4)],'chartId':_0x1001fa['id'],'injector':_0x7a754})):null;},[_0x1001fa,_0x7a754,_0x3e01c0]);if(_0x3b35d2(()=>{const _0x4ef729=_0x3e8853;var _0x354e57,_0x381f7a;_0x1001fa&&(_0xc7ec1b==null?void 0x0:_0xc7ec1b['chartId'])===_0x1001fa['id']&&(((_0x354e57=_0xc7ec1b[_0x4ef729(0x204)])==null?void 0x0:_0x354e57[_0x4ef729(0x3e7)])===_0x45ab14[_0x4ef729(0x2dc)]&&_0x5e685c(_0x45ab14[_0x4ef729(0x2dc)]),((_0x381f7a=_0xc7ec1b[_0x4ef729(0x204)])==null?void 0x0:_0x381f7a[_0x4ef729(0x3e7)])===_0x45ab14['Data']&&_0x5e685c(_0x45ab14['Data']));},[_0x1001fa,_0xc7ec1b]),!_0x32d10d)return null;let _0x370d22=_0x29cee8(_0x3e8853(0x21b),{'className':_0x3e8853(0x322)+(_0x3f95af===_0x45ab14['Style']?_0x3e8853(0x2e4):_0x3e8853(0x3e1))+'\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x38830e??'')+_0x3e8853(0x2fd),'children':_0x29cee8(_0x3e5287,{'ariaLabel':_0x109bed['t'](_0x3e8853(0x387)),'activeTab':_0x3f95af,'onTabChange':_0x5e685c,'tabListClassName':_0x3e8853(0x16c),'panelClassName':_0x3f95af===_0x45ab14[_0x3e8853(0x2dc)]?_0x3e8853(0x286):void 0x0,'tabs':[{'id':_0x45ab14['Data'],'panelId':Ei,'title':_0x109bed['t'](_0x3e8853(0x136)),'content':_0x29cee8(xi,{})},{'id':_0x45ab14['Style'],'panelId':Di,'title':_0x109bed['t']('sheets-chart-ui.common.customize'),'content':_0x29cee8(Ci,{'defaultValues':vi})}]})});return _0x29cee8(_0xadc9c2,{'chartUIService':_0x416249,'hostAdapter':_0x32d10d,'children':_0x370d22});}function _0x8646(){const _0xdf6270=['setElementEditMode','promise','hit','globalAlpha','transform','direction$','_clearChartRuntimeCache','translate','radius','univer-flex\x20univer-flex-col\x20univer-gap-3','\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','funnel','copyId','ParetoLineSeries','titleKey','update','onRendered','anonymous','_frameStyle','missing-active-sheet','sheets-chart-ui.common.openChartPanel','getObject','sheets-chart-ui.common.horizontalAxis','_debounceHandleMap','_chartElementEditMode','source','isRender','_contextService','push','scale','_openFloatMenu','getSheetBySheetId','GROUP','getName','_getImage','_canAnimateDataUpdate','_applyActiveChartRuntimeZIndex','dispose','HorizontalAxis','serialize','sheets-chart-ui.section.indicatorLine','drawingIds','setDataRange','setContextValue','sheets-chart-ui.chord.target','changeEnd$','_getPlacement','setChartEditorOpen','pareto','true','getChartSourceSpec','sheets-chart-ui.section.gridlinesAndTicks','@univerjs-pro/sheets-chart-ui','_initDrawingDeactivationListener','Bar','url','Pie','getRangeInfo','sheets-chart-ui.common.chart','_debounceHandle','select','length','labelId','sheets-chart-ui.common.verticalAxis','_menuManagerService','CHART','verify','_markReady','_sidebarDisposable','defineProperty','_resizeChart','_initMenus','absolute','_createImageChartHost','_resetChartRuntimeZIndex','range','height','mobile-sheet-chart-style-panel','executeChartUpdateConfig','Positive','clear','exportImage','sheets-chart-ui.section.candlestick','drawWith','_resolveChartRenderMode','_clearSelectedTarget','getDirection','_cancelDebouncedCallbacks','_registerIcons','activeRuntimeModel','setHostStyle','header','_disposeImage','getBatchUpdateOp','getFocusedUnit','sourceSubUnitId','_disposed','171649cEQPnG','GeneralSeries','concat','axis','sheetChartDataAnimation','createRuntimeChartStyle','rightY','chartEditorOpen','activeSheet$','object','_applyHostInteractionState','_alignFloatDomPositionWithSceneRender','value','_image','sheets-chart-ui.common.editChart','with','children','chartType','from','sheets-chart-ui.section.wordCloud','baseOn','_chartEventSubscriptions','img','offsetHeight','_requestedUrl','getSkeleton','sheets-chart-ui.common.legend','RightVerticalAxis','sheet.chart.edit.panel','pie','getId','params','_generatePasteMutations','scaleX','lineAndArea','visibilityState','_chartEventHandlers','data$','markHostNotReady','sheets-chart-ui.common.trendline','darkMode$','_createHost','getDrawingByParam','getHostClientRect','(prefers-reduced-motion:\x20reduce)','get','sheet-chart-setup-panel','_prepareDataUpdateRender','render','_dataUpdateAnimationChartIds','getRealBound','_clearPendingUrlImage','checkMounted','_version','missing-float-dom','markUnmanaged','_sheetCanvasPopManagerService','_getOrCreateChartRenderInstance','resourceCollector','#-#','INSERT','_disposeChartDomInstance','sheets-chart-ui.waterfall.negative','allSeriesStyle','sheets-chart-ui.common.category','OVERRIDE_NATIVE','BUTTON','8860334urLkhV','_chartInstanceMap','getDrawingData','_registerAdapter','moveTo','redo','Scatter','_chartRenderMode','sheets-chart-ui.common.invalidDataRange','getCurrentLastSelection','groupId','_commandService','getSheetBySheetName','sheetTransform','objects','_drawingManagerService','_initPermission','setObjectType','getCurrentUnitOfType','hidePanel','top-center','chartModelAdded$','symbol','makeDirty','_getOuterRect','subscribe','_geometry','Funnel','_univerInstanceService','_chartSnapshotStoreService','Dom','matches','pieSecondaryPlotType','sheets-chart-ui.common.rightVerticalAxis','image','_initPrinting','allSettled','univer-overflow-hidden','initPanel','_popupDisposable','scaleY','drawingType','scroll','tab','_cacheActiveDomChartSnapshot','_deactivateEditPanelState','isLatest','cancelPending','getOwnPropertyDescriptor','some','_sheetCanvasFloatDomManagerService','sheets-chart-ui.common.switchRowColumn','bounds','UniverSheetsChartUIPlugin','_rerenderLatest','_focusedDrawings','sheets-chart-ui.section.paretoLine','_entries','toPrimitive','_closePopup','abs','_initCommands','_activateHostWrapper','Series','_canvasFloatDomService','addObject','sheets-chart-ui.permission.editErr','DownloadImageIcon','Canvas','startX','commitSnapshot','dataUrl','string','_loadUrlImage','invert','_initSheetChange','updateFloatDom','right','sheets-chart-ui.common.setup','targetSubUnitId','then','getCanvasElement','ensureHost','DeleteIcon','_activeChartId','clientX','getChartDataSource','_iconManager','ChartStyle','Radar','category','sheets-chart-ui.section.lineAndArea','getActiveSheet','_snapshotKey','lineTo','decorate','sheets-chart-ui.common.deleteChart','_sidebarService','drawingId','Pareto','_getChartRenderSkipReason','cumulativeLineStyle','_markNotReady','indicatorLine','ImageBitmap','chartModelId','endsWith','clientY','setConfig','syncHostLayout','Fail\x20to\x20create\x20float\x20dom','_initActiveRuntimeLayerListener','univer-flex\x20univer-min-h-full\x20univer-w-full\x20univer-flex-col\x20univer-bg-gray-0\x20dark:!univer-bg-gray-900','mobile-sheet-chart-setup-panel','_rect','_chartChangeSubscriptions','_createPrintingChartObject','WordCloud','Sunburst','_setChartRuntimeZIndex','Boxplot','237764reznim','barStyle','Subtotal','sheets-chart-ui.section.relation','section','_localeService','idMap','_savedWrapperStyle','isElementEditModeActive','endY','_renderDebounceMap','univer-shrink-0','Treemap','undo','onTransformChange$','setProps','flush','call','sheets-chart-ui.common.customize','_hostStyle','width','7953oDQLuJ','getFloatDomInfo','_panelInitialized','setRangeSelectMode','type','sheet.command.menu-insert-chart','innerWidth','clearImage','_draw','_sheetClipboardService','registerCommand','getRenderColor','_registerChartImageRenderObjectFactory','resize','rightYAxis','_renderManagerService','pipe','UPDATE','_cancelHostWait','max','sheets-chart-ui.common.chartStyle','getUnitId','_executeChartUpdateSourceConfig','invalidateSnapshot','anchorRect$','_pendingUrlImage','naturalWidth','chartId','panelRoute$','sheetDisposed$','getValue','stringify','univer-my-1\x20univer-text-xs\x20univer-text-red-500','getElementById','delete','_config','clearRuntimeCache','getBatchRemoveOp','opacity','bind','offsetWidth','_sheetSkeletonService','map','_bindChartEventHandlers','titles','Canceled\x20waiting\x20for\x20float\x20dom\x20host\x20\x22','intercept','5680540NVpHFS','sheets-chart-ui.waterfall.positive','subscribeEvent','bottom','_url','Row','_domFrame','logicalOuterRect','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','DEFAULT_PASTE','localPoint','startColumn','indexOf','_getCurrentSnapshotImage','univer-flex\x20univer-flex-col\x20univer-gap-3\x20univer-pb-5','sheets-chart.ui.service','cancel','restore','unitId','_chartUIService','syncLayout','addClipboardHook','getCurrentTypeOfUnit$','_setHostStyle','_adapterRegistry','_renderModelManager','canvas','1.0.4','getSheetId','isRowDirection','_rangeSelectMode','_lastActiveSheet','_chartHostProviderService','featurePluginGroupUpdate$','Legend','registerRenderObjectFactory','setPanelRoute','auto','asObservable','sheets-chart-ui.section.chord','_requestChartCanvasRender','getChartModel','sheets-chart-element-float-menu','focus$','_getChartRenderObject','_configService','unsubscribe','PieStyle','CopyDoubleIcon','plotVisibleOnly','UNIVER_SHEET','scene','icon','applyPoint','_removeHost$','_generateCopyPasteMutations','_disposeChartEventSubscription','blockExecuteWithoutPermission','OTHERS','forEach','prototype','_restoreHostWrapper','References','filter','nextVersion','univer-sticky\x20-univer-top-3\x20univer-z-10\x20-univer-mx-4\x20-univer-mt-3\x20univer-shrink-0\x20univer-bg-gray-0\x20univer-px-4\x20univer-pt-3\x20dark:!univer-bg-gray-900','attachPopupToDynamicAbsolutePosition','series','_getOrCreateSheetChartHost','name','getRuntimeContext','beginPath','rect','_chartEditorOpen$','version','innerHeight','_frame','_clearSheetChartRuntimeCaches','_isChartElementEditEnabled','focused$','small','_componentManager','hidden','registerFeatureMenu','_sheetsChartService','arc','sheets-chart-ui.section.pie','featurePluginUngroupUpdate$','updateFloatDomProps','_pendingToken','_dataUpdateAnimationDuration','Heatmap','clientWidth','clearPanelRoute','checkHost','route','_pendingDataUpdateChartIds','offsetLeft','sheets-chart-ui.section.histogram','border','activeChartModel$','OPERATION','Trendline','Reference','setDataUpdateAnimation','_applyHostStyle','Bubble','fromEntries','Data','Chord','copyType','_chartRenderService','entries','context','_syncActiveEditChart','getRect','_shouldEnableChartElementEdit','removeHost$','div','has','items','setStyle','_managed','_sheetsChartUIService','markNotReady','_getHostPlacement','trendline','_shouldSuppressRender','sheets-chart-ui.common.series','Area','_waiter','_pendingHost','_renderAfterChartUpdateMutation','permissionCheckWithoutRange','_chartHostProvider','all','getRenderUnitById','transformChange$','supports','dataSource','href','_getChartSnapshotKey','register','legend','7834110KNjtiq','Gauge','print','_bindChartEventHandler','_clearPanelState','getFocusDrawings','8NDSCoi','createChartInstance','_popupSessionKey','_sheetDrawingHitTestService','click','VerticalAxis','remove$','_initActiveChartModelListener','format','takeSnapshot','enableChartElementFloatMenu','_initCopyPaste','_popupChartId','add','DRAWING_CHART','_createChartRenderInstanceContext','sheet.command.chart.open-focused-panel','sheets-chart-ui.common.dataRange','_openPanel','renderTransition','ensureHandle','_createCopyInfoByRange','CUT','error','GridlinesAndTicks','isConnected','pluginName','mountNode','assignStyle','sheets-chart-ui.config','split','_disposeChartEventSubscriptions','isArray','pointerEvents','onload','Combination','_markHostReady','_activateEditPanelState','context$','ENTER','sheets-chart-ui.common.hideChartPanel','afterRender$','getImage','WaterfallSeries','initialRect','visible','_clearHiddenSelectedTarget','segmented','createElement','COMMAND','chartEditorOpen$','activeChartModel','clearChart','checkChartCanRender','getTransformerByCreate','isInGroup','crossOrigin','sheetChartDataAnimationDuration','getContextValue','imageBitmap','_generateCutPasteMutations','_getChartRenderObjectContext','open','disposeWithMe','Column','1000','label','parentElement','_renderChartModel','packageName','_chartHostMap','_sheetInterceptorService','dataset','setActiveChartModel','engine','-univer-mx-4','onDispose','_disposeChartRenderInstance','sheets-chart-ui.host.provider','_pendingMutationConfigRenders','Timed\x20out\x20waiting\x20for\x20float\x20dom\x20host\x20\x22','_handleDrawingDoubleClick','onCommandExecuted','strokeWidth','_chartThemeService','left','_panelRoute$','sheet.command.chart.export-focused-image','complete','handleActiveSubUnitChange','mode','_sheetDrawingService','DRAWING','MEDIA','parent','isDomReady','Line','_openEditPanelByDoubleClick','getObjectIncludeInGroup','_listenChartUpdateMutations','PRINTING_COMPONENT_COLLECT','30766482eryXjY','_activeDomReadyChartIds','setOrientation','sheet.operation.open-chart-panel','focusDrawing','sheet.operation.hide-chart-panel','rangeInfo','Overlay','onerror','nativeEvent','_chartModelService','relation','getDrawingOrder','resolve','_deactivateDataUpdateAnimation','Image','_snapshotStore','PenIcon','domId','_resolvedConfig','subUnitId','function','_disposeChartChangeListeners','position$','1788reiHXb','_getDrawable','showFloatMenu','sheet-chart-style-panel','_restoreFloatDomPositionStream','_addWatermark','isHit','matchMedia','top','_getFloatDomInfo','offsetTop','defaultValues','iterator','sheets-chart-ui.common.showHiddenData','Axes','onStarting','rangeSelectMode','_renderService','_readGeometry','target','config','_scheduleDataUpdateAnimationEnd','style','Waterfall','-univer-mx-4\x20univer-overflow-visible','getRenderModel','save','current','src','sidebarOptions$','mergeMenu','values','zIndex','removeHost','featurePluginOrderUpdate$','next','Style','heatmap','executeCommand','SELECTOR','_onChange','_updateTransform','sheet.command.chart.copy-focused-chart','openChartPanelById','univer-overflow-visible','_lastRenderInputMap','_sheetPrintInterceptorService','_requestPaint','REMOVE','_urlImage','create','Literals','_subscribeChartEvents','closePath','transparent','getChartSnapshotImage','sheets-chart-ui.common.copy','sheets-chart-ui.section.sunburst','chartRenderMode','_resolveLayout','getUnit','startY','_isOwnedChart','_drawChartFrame','getMatrix','_dataUpdateAnimationTimers','Url','getBoundingClientRect','requestPaint','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','_isProviderDisposed','renderChartsForPrinting','blur','rangeInfo$','interceptor','sheets-chart-ui.section.radar','sheets-chart-ui.common.exportImage','_injector','markReady','chartObject','setImage','_init','set','getHostSize','Relation','keys','default','_themeService','config$','_sheetPermissionCheckController','_copyInfo','_drawChartImage','_registerComponents','_getSceneAndTransformerByDrawingSearch','seriesId','getParent'];_0x8646=function(){return _0xdf6270;};return _0x8646();}const Ti=_0x5d1a27(0x395),Ei=_0x5d1a27(0x3a7),Di=_0x5d1a27(0x2bb);function Oi(_0x478553){const _0x1bc8d0=_0x5d1a27;return _0x478553[_0x1bc8d0(0x355)]===0x1&&ki(_0x478553[0x0]);}function ki(_0x41fbe3){const _0x5a1ca2=_0x5d1a27;return(_0x41fbe3==null?void 0x0:_0x41fbe3['drawingType'])===_0x4c00c3[_0x5a1ca2(0x249)]&&!_0x41fbe3[_0x5a1ca2(0x3c6)];}let Ai=class extends _0x23a464{constructor(_0x2dde0f,_0x40d197,_0xd52bff,_0x271c96,_0x240fe6,_0x11f046,_0x23806f,_0x592bff,_0x4c8f72,_0x480f84,_0xbda961,_0x233b6f,_0x500f89,_0x3f2702,_0x61fac3){const _0x2623c4=_0x5d1a27;var _0x4c2bb5;super(),this['_drawingManagerService']=_0x2dde0f,this['_univerInstanceService']=_0x40d197,this[_0x2623c4(0x2aa)]=_0xd52bff,this['_sheetsChartService']=_0x271c96,this[_0x2623c4(0x214)]=_0x240fe6,this['_sheetDrawingHitTestService']=_0x11f046,this[_0x2623c4(0x149)]=_0x23806f,this[_0x2623c4(0x358)]=_0x592bff,this[_0x2623c4(0x11a)]=_0x4c8f72,this[_0x2623c4(0x3b1)]=_0x480f84,this[_0x2623c4(0x3c7)]=_0xbda961,this[_0x2623c4(0x220)]=_0x233b6f,this['_contextService']=_0x500f89,this[_0x2623c4(0x166)]=_0x3f2702,U(this,'_sidebarDisposable',null),U(this,_0x2623c4(0x1f3),void 0x0),this[_0x2623c4(0x1f3)]=((_0x4c2bb5=_0x61fac3['getConfig']('sheets-chart-ui.config'))==null?void 0x0:_0x4c2bb5[_0x2623c4(0x245)])===!0x0,this[_0x2623c4(0x35f)](),this[_0x2623c4(0x27a)](this[_0x2623c4(0x3d8)][_0x2623c4(0x1bb)](_0x2a3654[_0x2623c4(0x1d7)])[_0x2623c4(0x3d5)](_0x320c63=>{const _0x113432=_0x2623c4;var _0x2021d6;_0x320c63||(_0x2021d6=this[_0x113432(0x35c)])==null||_0x2021d6[_0x113432(0x33d)]();})),this[_0x2623c4(0x27a)](_0x1094b2(this[_0x2623c4(0x23e)]['onDoubleClick$'][_0x2623c4(0x3d5)](async({drawing:_0x549ab5})=>{const _0x372abc=_0x2623c4;await this[_0x372abc(0x28c)](_0x549ab5);})));}[_0x5d1a27(0x24d)](){const _0x23d676=_0x5d1a27;this[_0x23d676(0x35c)]=this[_0x23d676(0x149)][_0x23d676(0x279)]({'id':Ti,'header':{'title':this[_0x23d676(0x166)]['t'](_0x23d676(0x387))},'width':0x154,'children':{'label':Ti},'onClose':()=>{const _0x16f777=_0x23d676;this[_0x16f777(0x35c)]=null,this[_0x16f777(0x3e9)](),this[_0x16f777(0x2aa)][_0x16f777(0x26e)]&&this[_0x16f777(0x2aa)][_0x16f777(0x284)](null),this['_drawingManagerService'][_0x16f777(0x2a4)](null),this[_0x16f777(0x333)][_0x16f777(0x343)](_0x29388d,!0x1);}});}[_0x5d1a27(0x3cf)](){const _0x6a0c3a=_0x5d1a27;let _0x5138fc=this[_0x6a0c3a(0x35c)];this[_0x6a0c3a(0x35c)]=null,this['_deactivateEditPanelState'](),this['_chartModelService'][_0x6a0c3a(0x26e)]&&this[_0x6a0c3a(0x2aa)][_0x6a0c3a(0x284)](null),_0x5138fc==null||_0x5138fc['dispose']();}[_0x5d1a27(0x3e2)](){const _0x3c0f88=_0x5d1a27;let _0x1e6d1a=this['_univerInstanceService'][_0x3c0f88(0x3ce)](_0x2a3654[_0x3c0f88(0x1d7)]);this[_0x3c0f88(0x27a)](this[_0x3c0f88(0x149)][_0x3c0f88(0x2d5)][_0x3c0f88(0x3d5)](_0x135ecc=>{const _0x195bb6=_0x3c0f88;_0x135ecc['id']===_0x195bb6(0x395)&&(_0x135ecc[_0x195bb6(0x268)]||this[_0x195bb6(0x149)][_0x195bb6(0x2d5)][_0x195bb6(0x2db)]({'visible':!0x1}));})),this[_0x3c0f88(0x27a)](_0x276a93([this[_0x3c0f88(0x2aa)][_0x3c0f88(0x209)],this[_0x3c0f88(0x220)][_0x3c0f88(0x26d)]])[_0x3c0f88(0x186)](_0x1f7349(([_0x52307c,_0x3ff019])=>_0x3ff019?(_0x52307c==null?void 0x0:_0x52307c['id'])??null:null),_0x29a798(),_0x40fbf9(null),_0x18ea1())[_0x3c0f88(0x3d5)](([_0x349a89,_0x36b54b])=>{this['_syncActiveEditChart'](_0x349a89,_0x36b54b);})),this['disposeWithMe'](this['_chartModelService']['activeChartModel$'][_0x3c0f88(0x3d5)](_0x576a7f=>{!_0x576a7f&&this['_sidebarDisposable']&&this['hidePanel']();})),this['disposeWithMe'](this[_0x3c0f88(0x3c7)][_0x3c0f88(0x28d)](_0x23d14e=>{const _0x95d784=_0x3c0f88;if(_0x23d14e['id']===V['id']){let _0xc9de1=_0x23d14e[_0x95d784(0x398)];if(!ki(this['_drawingManagerService'][_0x95d784(0x3a3)]({'unitId':_0xc9de1['unitId'],'subUnitId':_0xc9de1[_0x95d784(0x2b4)],'drawingId':_0xc9de1[_0x95d784(0x14a)]})))return;this[_0x95d784(0x2e3)](_0xc9de1['drawingId'],_0xc9de1['route']);}if(_0x23d14e['id']===Tr['id']&&this[_0x95d784(0x3cf)](),_0x23d14e['id']===_0x2ccbfe['id']){var _0x3434c3;_0x23d14e[_0x95d784(0x398)][_0x95d784(0x191)]===((_0x3434c3=this[_0x95d784(0x2aa)][_0x95d784(0x26e)])==null?void 0x0:_0x3434c3['id'])&&this[_0x95d784(0x3cf)](),this[_0x95d784(0x333)][_0x95d784(0x275)](_0x29388d)&&(this['_contextService'][_0x95d784(0x343)](_0x29388d,!0x1),this[_0x95d784(0x3cb)][_0x95d784(0x2a4)](null));}})),this['disposeWithMe'](this['_sheetCanvasFloatDomManagerService'][_0x3c0f88(0x241)]['subscribe'](({id:_0x105a80})=>{const _0x40c757=_0x3c0f88;this[_0x40c757(0x220)][_0x40c757(0x169)](_0x105a80)&&this[_0x40c757(0x3cf)]();})),this[_0x3c0f88(0x27a)](this['_sheetCanvasFloatDomManagerService'][_0x3c0f88(0x22e)][_0x3c0f88(0x3d5)](({id:_0x19a2e7})=>{const _0x26b152=_0x3c0f88;this['_sheetsChartUIService']['isElementEditModeActive'](_0x19a2e7)&&(this[_0x26b152(0x220)][_0x26b152(0x202)](),this['_chartRenderService'][_0x26b152(0x318)](_0x19a2e7,!0x1),this['_shouldEnableChartElementEdit'](_0x19a2e7)&&this[_0x26b152(0x214)][_0x26b152(0x318)](_0x19a2e7,!0x0));})),this[_0x3c0f88(0x27a)](this[_0x3c0f88(0x3cb)][_0x3c0f88(0x1d0)][_0x3c0f88(0x3d5)](_0x56b215=>{const _0x439fc3=_0x3c0f88;let _0x235568=_0x56b215[0x0];if(!this['_sheetsChartUIService'][_0x439fc3(0x2c8)]){if(Oi(_0x56b215)){var _0xe127fb;let _0x371b24=this[_0x439fc3(0x2aa)][_0x439fc3(0x1ce)](_0x235568[_0x439fc3(0x14a)]);_0x371b24&&this[_0x439fc3(0x2f6)](_0x371b24['id'])&&((_0xe127fb=this[_0x439fc3(0x2aa)]['activeChartModel'])==null?void 0x0:_0xe127fb['id'])!==_0x371b24['id']&&this[_0x439fc3(0x2aa)][_0x439fc3(0x284)](_0x371b24);return;}this[_0x439fc3(0x2aa)][_0x439fc3(0x26e)]&&this[_0x439fc3(0x2aa)][_0x439fc3(0x284)](null),!_0x235568&&!this[_0x439fc3(0x220)][_0x439fc3(0x2c8)]&&this[_0x439fc3(0x3cf)]();}})),_0x1e6d1a&&(this[_0x3c0f88(0x27a)](_0x1e6d1a[_0x3c0f88(0x193)][_0x3c0f88(0x3d5)](()=>{const _0x4456bb=_0x3c0f88;this[_0x4456bb(0x3cf)]();})),this[_0x3c0f88(0x27a)](_0x1e6d1a[_0x3c0f88(0x381)][_0x3c0f88(0x3d5)](()=>{const _0x589fcf=_0x3c0f88;this[_0x589fcf(0x3cf)]();})));}async[_0x5d1a27(0x28c)](_0x9e04c0){const _0x22cdae=_0x5d1a27;this[_0x22cdae(0x220)]['chartEditorOpen']||ki(_0x9e04c0)&&this[_0x22cdae(0x2f6)](_0x9e04c0[_0x22cdae(0x14a)])&&await this['_openEditPanelByDoubleClick'](_0x9e04c0['unitId'],_0x9e04c0[_0x22cdae(0x2b4)],_0x9e04c0[_0x22cdae(0x14a)]);}async[_0x5d1a27(0x29c)](_0x34c7c7,_0x5bc67f,_0x7ca4c){const _0x11c89e=_0x5d1a27;this[_0x11c89e(0x2aa)][_0x11c89e(0x1ce)](_0x7ca4c)&&this[_0x11c89e(0x2f6)](_0x7ca4c)&&await this[_0x11c89e(0x3c7)][_0x11c89e(0x2de)](V['id'],{'unitId':_0x34c7c7,'subUnitId':_0x5bc67f,'drawingId':_0x7ca4c});}[_0x5d1a27(0x2e3)](_0x2b0235,_0x170b04){const _0x5856d3=_0x5d1a27;let _0x3507c8=this[_0x5856d3(0x2aa)][_0x5856d3(0x1ce)](_0x2b0235);_0x3507c8&&this[_0x5856d3(0x2f6)](_0x2b0235)&&(this['_chartModelService'][_0x5856d3(0x284)](_0x3507c8),this[_0x5856d3(0x24d)](),this[_0x5856d3(0x260)](_0x2b0235,_0x170b04??null));}['_activateEditPanelState'](_0x1b8de6,_0x4ddbae){const _0x2c521d=_0x5d1a27;this[_0x2c521d(0x220)][_0x2c521d(0x347)](!0x0),this['_sheetsChartUIService'][_0x2c521d(0x1c9)](_0x1b8de6,_0x4ddbae);}[_0x5d1a27(0x3e9)](){const _0x262d8e=_0x5d1a27;this[_0x262d8e(0x220)][_0x262d8e(0x347)](!0x1);}[_0x5d1a27(0x217)](_0x43ce1c,_0x57caf7){const _0x55f38b=_0x5d1a27;_0x43ce1c!==_0x57caf7&&(_0x43ce1c&&this['_chartRenderService'][_0x55f38b(0x318)](_0x43ce1c,!0x1),this['_sheetsChartUIService'][_0x55f38b(0x202)](),_0x57caf7&&(this['_sheetsChartUIService'][_0x55f38b(0x1c9)](_0x57caf7,null),this[_0x55f38b(0x214)][_0x55f38b(0x318)](_0x57caf7,this[_0x55f38b(0x219)](_0x57caf7))));}[_0x5d1a27(0x35f)](){const _0x446b63=_0x5d1a27;this[_0x446b63(0x358)][_0x446b63(0x2d6)](Ur),this[_0x446b63(0x3b1)]['registerFeatureMenu'](_0x4c00c3[_0x446b63(0x249)],this['getChartPopupMenus'][_0x446b63(0x19d)](this));}[_0x5d1a27(0x219)](_0x43f4f9){const _0x9d0e84=_0x5d1a27;let _0x5d58d0=this[_0x9d0e84(0x2aa)][_0x9d0e84(0x1ce)](_0x43f4f9);return!this['_isChartElementEditEnabled']||!_0x5d58d0||!this[_0x9d0e84(0x2f6)](_0x43f4f9)?!0x1:Gr(_0x5d58d0[_0x9d0e84(0x38a)]);}['getChartPopupMenus'](_0x5a5f2a,_0x570c49,_0x5a77b7,_0x2ab1de){const _0x3c8705=_0x5d1a27;if(!this[_0x3c8705(0x2aa)][_0x3c8705(0x1ce)](_0x5a77b7))return[];let _0x455200=[{'label':this[_0x3c8705(0x166)]['t']('sheets-chart-ui.common.openChartPanel'),'index':0x0,'commandId':V['id'],'commandParams':{'unitId':_0x5a5f2a,'subUnitId':_0x570c49,'drawingId':_0x5a77b7},'disable':_0x2ab1de!==_0x4c00c3['DRAWING_CHART']}];return this[_0x3c8705(0x2f6)](_0x5a77b7)?[..._0x455200,{'label':this[_0x3c8705(0x166)]['t'](_0x3c8705(0x148)),'index':0x1,'commandId':_0x14d389['id'],'commandParams':{'unitId':_0x5a5f2a,'drawings':[{'unitId':_0x5a5f2a,'subUnitId':_0x570c49,'drawingId':_0x5a77b7,'drawingType':_0x2ab1de}]},'disable':!0x1},{'label':this[_0x3c8705(0x166)]['t'](_0x3c8705(0x263)),'index':0x2,'commandId':Tr['id'],'commandParams':{'unitId':_0x5a5f2a,'subUnitId':_0x570c49,'drawingId':_0x5a77b7},'disable':!0x1}]:_0x455200;}[_0x5d1a27(0x2f6)](_0xbf2523){const _0x26ed4a=_0x5d1a27;return this['_sheetsChartService'][_0x26ed4a(0x34a)](_0xbf2523)!==void 0x0;}};Ai=K([G(0x0,_0x2a46aa),G(0x1,_0x50dd4e),G(0x2,_0x233312(_0xef00ca)),G(0x3,_0x233312(_0x45f46e)),G(0x4,_0x233312(q)),G(0x5,_0x233312(_0x1c6a95)),G(0x6,_0x233312(_0xe0c109)),G(0x7,_0x3d6daf),G(0x8,_0x233312(_0x1cd243)),G(0x9,_0x233312(_0x1ac4ba)),G(0xa,_0x23023c),G(0xb,J),G(0xc,_0xae1c0),G(0xd,_0x233312(_0x2365aa)),G(0xe,_0x332790)],Ai);var ji=_0x5d1a27(0x34c),Mi=_0x5d1a27(0x1c0);let X=class extends _0x23a464{constructor(_0x4c8634,_0x3effcf){const _0x59ba34=_0x5d1a27;super(),this[_0x59ba34(0x1c5)]=_0x4c8634,this[_0x59ba34(0x2aa)]=_0x3effcf,this[_0x59ba34(0x309)]();}[_0x5d1a27(0x309)](){const _0x4c9352=_0x5d1a27;this[_0x4c9352(0x27a)](this['_chartHostProviderService'][_0x4c9352(0x21a)][_0x4c9352(0x3d5)](_0x571b75=>{const _0x5d9112=_0x4c9352;this[_0x5d9112(0x2aa)]['removeChartModel'](_0x571b75);}));}};X=K([G(0x0,fi),G(0x1,_0x233312(_0xef00ca))],X);let Ni=class extends _0x23a464{constructor(_0x5e8598,_0x337282,_0x2e7b8f,_0x118939,_0x5867b4,_0x471965){const _0x4028d3=_0x5d1a27;super(),this['_chartModelService']=_0x5e8598,this[_0x4028d3(0x214)]=_0x337282,this[_0x4028d3(0x166)]=_0x2e7b8f,this[_0x4028d3(0x1b8)]=_0x118939,this['_commandService']=_0x5867b4,this[_0x4028d3(0x2e6)]=_0x471965,U(this,_0x4028d3(0x28a),new Map()),U(this,'_pendingDataUpdateChartIds',new Set()),this[_0x4028d3(0x309)](),this[_0x4028d3(0x29e)](),this[_0x4028d3(0x3df)]();}[_0x5d1a27(0x3df)](){const _0x478c6b=_0x5d1a27;this[_0x478c6b(0x27a)](this['_sheetPrintInterceptorService'][_0x478c6b(0x302)][_0x478c6b(0x1a4)](this[_0x478c6b(0x2e6)][_0x478c6b(0x302)]['getInterceptPoints']()[_0x478c6b(0x29f)],{'handler':(_0x51b5ab,_0x1077cf,_0x485525)=>{const _0x3635e8=_0x478c6b;let _0x2cf49b=this[_0x3635e8(0x214)][_0x3635e8(0x2ff)](_0x1077cf[_0x3635e8(0x1b7)],_0x1077cf[_0x3635e8(0x2b4)],_0x1077cf[_0x3635e8(0x1d8)]);return _0x1077cf[_0x3635e8(0x3b3)][_0x3635e8(0x248)](_0x2cf49b),_0x485525(_0x51b5ab);}}));}['_init'](){const _0x52f5bd=_0x5d1a27;this[_0x52f5bd(0x27a)](this[_0x52f5bd(0x2aa)]['chartModelAdded$'][_0x52f5bd(0x3d5)](_0x28e32a=>{const _0x2dd2d1=_0x52f5bd;if(_0x28e32a){let _0x20d669=new _0x396c56();_0x20d669[_0x2dd2d1(0x248)](_0x28e32a['dataSource$'][_0x2dd2d1(0x186)](_0x2ddbf4(_0x35c592=>_0x35c592[_0x2dd2d1(0x39e)][_0x2dd2d1(0x186)](_0x83aac8(0x1))))[_0x2dd2d1(0x3d5)](()=>{const _0x21374d=_0x2dd2d1;this[_0x21374d(0x205)][_0x21374d(0x248)](_0x28e32a['id']);})),_0x20d669[_0x2dd2d1(0x248)](_0x28e32a[_0x2dd2d1(0x310)][_0x2dd2d1(0x186)](_0xedeac2(_0x28e32a['style$']),_0xedeac2(this[_0x2dd2d1(0x166)][_0x2dd2d1(0x31d)]),_0x13ec66(0x64))['subscribe'](([[_0x1ed5e6,_0x4d416d],_0x303bc7])=>{const _0x437848=_0x2dd2d1;var _0x5b1165;if(!_0x1ed5e6)return;(_0x5b1165=_0x1ed5e6[_0x437848(0x142)])==null||_0x5b1165[_0x437848(0x21d)][_0x437848(0x1e0)]((_0x25e0fe,_0xaac3de)=>{const _0x582248=_0x437848;_0x25e0fe[_0x582248(0x27d)]||=this['_localeService']['t'](_0x582248(0x3b9))+'\x20'+(_0xaac3de+0x1);}),_0x1ed5e6['series']['forEach']((_0x5c9fba,_0x2d69a5)=>{const _0x4e8776=_0x437848;_0x5c9fba[_0x4e8776(0x1ea)]||=this[_0x4e8776(0x166)]['t'](_0x4e8776(0x344))+'\x20'+(_0x2d69a5+0x1);});let _0x3daf3c=this[_0x437848(0x214)][_0x437848(0x37e)](_0x28e32a,_0x303bc7),_0x45cdb9=this[_0x437848(0x205)][_0x437848(0x198)](_0x28e32a['id']);this[_0x437848(0x214)][_0x437848(0x3a9)](_0x28e32a['id'],_0x1ed5e6,_0x3daf3c,{'animateDataUpdate':_0x45cdb9});})),_0x28e32a[_0x2dd2d1(0x287)](()=>{const _0xe5245=_0x2dd2d1;this['_pendingDataUpdateChartIds']['delete'](_0x28e32a['id']),_0x20d669[_0xe5245(0x33d)]();});}}));}[_0x5d1a27(0x29e)](){const _0x3da67b=_0x5d1a27;this[_0x3da67b(0x27a)](this[_0x3da67b(0x3c7)]['onCommandExecuted'](_0x1d2451=>{const _0x35c51a=_0x3da67b;if(_0x1d2451['id']!==_0x18807f['id'])return;let _0xe70386=_0x1d2451[_0x35c51a(0x398)];_0xe70386!=null&&_0xe70386[_0x35c51a(0x151)]&&Promise['resolve']()[_0x35c51a(0x138)](()=>this['_renderAfterChartUpdateMutation'](_0xe70386));}));}[_0x5d1a27(0x229)](_0xca0ef8){const _0x5b7c86=_0x5d1a27;let _0x5d0779=this[_0x5b7c86(0x2aa)][_0x5b7c86(0x1ce)](_0xca0ef8[_0x5b7c86(0x151)]);if(!_0x5d0779||_0x5d0779[_0x5b7c86(0x38a)]!==_0x1b41ef['WordCloud'])return;let _0x48052d=_0x5d0779['config'];if(!_0x48052d){this['_renderWhenConfigReady'](_0x5d0779);return;}this[_0x5b7c86(0x27f)](_0x5d0779,_0x48052d);}['_renderWhenConfigReady'](_0x58bb07){const _0x24b584=_0x5d1a27;if(this['_pendingMutationConfigRenders']['get'](_0x58bb07['id']))return;let _0x36c374=_0x58bb07[_0x24b584(0x310)][_0x24b584(0x186)](_0x5482cb(_0x464c37=>_0x464c37!=null),_0x25844e(0x1))['subscribe'](_0x392e4d=>{const _0x286f39=_0x24b584;this['_pendingMutationConfigRenders'][_0x286f39(0x198)](_0x58bb07['id']),this[_0x286f39(0x27f)](_0x58bb07,_0x392e4d);});this[_0x24b584(0x28a)][_0x24b584(0x30a)](_0x58bb07['id'],_0x36c374),_0x58bb07[_0x24b584(0x287)](()=>{const _0x39d0f9=_0x24b584;_0x36c374[_0x39d0f9(0x1d3)](),this[_0x39d0f9(0x28a)][_0x39d0f9(0x198)](_0x58bb07['id']);});}[_0x5d1a27(0x27f)](_0x73cdb2,_0x1c0b42){const _0x22a8b3=_0x5d1a27;let _0x36103f=this[_0x22a8b3(0x214)][_0x22a8b3(0x37e)](_0x73cdb2,this[_0x22a8b3(0x166)][_0x22a8b3(0x36e)]());this[_0x22a8b3(0x214)][_0x22a8b3(0x3a9)](_0x73cdb2['id'],_0x1c0b42,_0x36103f);}};Ni=K([G(0x0,_0x233312(_0xef00ca)),G(0x1,_0x233312(q)),G(0x2,_0x233312(_0x2365aa)),G(0x3,J),G(0x4,_0x23023c),G(0x5,_0x233312(_0x4e275e))],Ni);function Pi(_0x562665,_0x137765){const _0x1f8f17=_0x5d1a27;return _0x562665['unitId']!==_0x137765['unitId']||_0x562665['subUnitId']!==_0x137765[_0x1f8f17(0x377)]?_0x562665:{..._0x562665,'subUnitId':_0x137765[_0x1f8f17(0x137)]};}function Fi(_0x16d908,_0x359e25){const _0x5aa20f=_0x5d1a27;return(_0x16d908==null?void 0x0:_0x16d908['type'])===_0x3471e0[_0x5aa20f(0x20c)]?{..._0x16d908,'source':Pi(_0x16d908[_0x5aa20f(0x331)],_0x359e25)}:_0x16d908;}function Ii(_0xd5a030,_0x250e13){const _0x1c284c=_0x5d1a27;let {rangeInfo:_0x45a59e}=_0xd5a030;return Array[_0x1c284c(0x25b)](_0x45a59e)?{..._0xd5a030,'rangeInfo':_0x45a59e['map'](_0x44570d=>({..._0x44570d,..._0x44570d[_0x1c284c(0x373)]?{'header':Fi(_0x44570d['header'],_0x250e13)}:{},'range':Pi(_0x44570d[_0x1c284c(0x363)],_0x250e13)}))}:{..._0xd5a030,'rangeInfo':{..._0x45a59e,..._0x45a59e[_0x1c284c(0x373)]?{'header':{..._0x45a59e['header'],..._0x45a59e[_0x1c284c(0x373)][_0x1c284c(0x1a2)]?{'titles':Li(_0x45a59e[_0x1c284c(0x373)]['titles'],_0x250e13)}:{}}}:{},'rangeInfo':Pi(_0x45a59e['rangeInfo'],_0x250e13)}};}function Li(_0x5d4ed4,_0x5f04fd){const _0xeb7db4=_0x5d1a27;return _0x5d4ed4[_0xeb7db4(0x17a)]===_0x3471e0[_0xeb7db4(0x2eb)]?{..._0x5d4ed4,'values':{..._0x5d4ed4[_0xeb7db4(0x2d7)]}}:_0x5d4ed4['type']===_0x3471e0[_0xeb7db4(0x1e3)]?{..._0x5d4ed4,'values':Object[_0xeb7db4(0x210)](Object[_0xeb7db4(0x215)](_0x5d4ed4[_0xeb7db4(0x2d7)])[_0xeb7db4(0x1a0)](([_0x2b3072,_0x57bf43])=>[_0x2b3072,_0x57bf43&&Pi(_0x57bf43,_0x5f04fd)]))}:{..._0x5d4ed4,'values':Object[_0xeb7db4(0x210)](Object[_0xeb7db4(0x215)](_0x5d4ed4[_0xeb7db4(0x2d7)])['map'](([_0xb2f407,_0x798a0e])=>[_0xb2f407,_0x798a0e&&Fi(_0x798a0e,_0x5f04fd)]))};}function Ri(_0x46ad12,_0x1a576e,_0x77bc73,_0x216db5){const _0x11e98f=_0x5d1a27;let _0x56b66d=_0x5a52ec(_0x46ad12,_0x1a576e,_0x77bc73),_0xbd2284=[];for(let _0x40c26e of _0x1a576e){let _0x2118dd=_0x56b66d[_0x11e98f(0x167)][_0x11e98f(0x3a6)](_0x40c26e[_0x11e98f(0x14a)]),_0x402903=_0x216db5(_0x40c26e);_0x2118dd&&_0x402903&&_0xbd2284['push']({'targetChartId':_0x2118dd,'source':Ii(_0x402903,_0x77bc73)});}return _0xbd2284;}let zi=class extends _0x23a464{constructor(_0x394407,_0x2a9b73,_0x56b795,_0x2aa0ba,_0xe61303){const _0x36868b=_0x5d1a27;super(),this[_0x36868b(0x3d8)]=_0x394407,this[_0x36868b(0x282)]=_0x2a9b73,this[_0x36868b(0x296)]=_0x56b795,this[_0x36868b(0x2aa)]=_0x2aa0ba,this[_0x36868b(0x1f9)]=_0xe61303,this[_0x36868b(0x133)]();}[_0x5d1a27(0x133)](){const _0x3b293d=_0x5d1a27;this[_0x3b293d(0x27a)](this['_sheetInterceptorService']['interceptCommand']({'getMutations':_0xe78c25=>{const _0x2c326f=_0x3b293d;if(_0xe78c25['id']===_0x3c652c['id']){let _0x2945dd=_0x374c25(this[_0x2c326f(0x3d8)],_0xe78c25[_0x2c326f(0x398)]);if(!_0x2945dd)return{'redos':[],'undos':[]};let {unitId:_0x8e553f,subUnitId:_0x390cf1}=_0x2945dd,_0x126833=this[_0x2c326f(0x296)]['getDrawingData'](_0x8e553f,_0x390cf1),_0x432628=Object[_0x2c326f(0x2d7)](_0x126833)[_0x2c326f(0x1e4)](_0x3cf80b=>_0x3cf80b[_0x2c326f(0x3e5)]===_0x4c00c3[_0x2c326f(0x249)]);if(_0x432628[_0x2c326f(0x355)]===0x0)return{'redos':[],'undos':[]};let _0x1c5190=[],_0x1b3f5a=[];for(let _0x1c2559=0x0;_0x1c2559<_0x432628[_0x2c326f(0x355)];_0x1c2559++){let _0xb2fe78=_0x432628[_0x1c2559],_0x52c747=this[_0x2c326f(0x2aa)][_0x2c326f(0x1ce)](_0xb2fe78[_0x2c326f(0x14a)]);if(!_0x52c747)continue;let _0x5ddbab=this[_0x2c326f(0x1f9)][_0x2c326f(0x34a)](_0x52c747['id']);if(!_0x5ddbab)continue;let {chartType:_0x3a0508,context:_0x3645fb,style:_0x1e675f,dataAggregation:_0x3dd4e9}=_0x52c747[_0x2c326f(0x33f)]();_0x1c5190['push']({'id':_0x2ccbfe['id'],'params':{'unitId':_0x8e553f,'subUnitId':_0x390cf1,'chartId':_0xb2fe78[_0x2c326f(0x14a)]}}),_0x1b3f5a['push']({'id':_0x5c166f['id'],'params':{'unitId':_0x8e553f,'subUnitId':_0x390cf1,'chartId':_0xb2fe78['drawingId'],'chartType':_0x3a0508,..._0x1d8687(_0x5ddbab),'context':_0x3645fb,'style':_0x1e675f,'dataAggregation':_0x3dd4e9}});}return{'redos':_0x1c5190,'undos':_0x1b3f5a};}if(_0xe78c25['id']===_0x488928['id']){let {unitId:_0xbff3b6,subUnitId:_0x36672f,targetSubUnitId:_0x3e59d9,copyContext:_0x5eb2fd}=_0xe78c25[_0x2c326f(0x398)];if(!_0xbff3b6||!_0x36672f||!_0x3e59d9)return{'redos':[],'undos':[]};let _0x3c81f6=this[_0x2c326f(0x296)][_0x2c326f(0x3be)](_0xbff3b6,_0x36672f),_0x164b38=Object[_0x2c326f(0x2d7)](_0x3c81f6)[_0x2c326f(0x1e4)](_0x4ab087=>_0x4ab087['drawingType']===_0x4c00c3[_0x2c326f(0x249)]);if(_0x164b38[_0x2c326f(0x355)]===0x0)return{'redos':[],'undos':[]};let _0x590a8e=Ri(_0x5eb2fd,_0x164b38,{'unitId':_0xbff3b6,'sourceSubUnitId':_0x36672f,'targetSubUnitId':_0x3e59d9},_0x32f152=>{const _0x10674c=_0x2c326f;let _0x43e997=this[_0x10674c(0x2aa)][_0x10674c(0x1ce)](_0x32f152[_0x10674c(0x14a)]);if(!_0x43e997)return;let _0xcecec7=this[_0x10674c(0x1f9)]['getChartSourceSpec'](_0x43e997['id']);if(!_0xcecec7)return;let {chartType:_0x22a600,context:_0x44e72e,style:_0x340a97,dataAggregation:_0x518a15}=_0x43e997[_0x10674c(0x33f)]();return{'rangeInfo':_0xcecec7,'chartType':_0x22a600,'context':_0x44e72e,'style':_0x340a97,'dataAggregation':_0x518a15};}),_0x1d03e0=[],_0x1c145c=[];for(let {targetChartId:_0x509af5,source:_0x159705}of _0x590a8e){let {rangeInfo:_0x4b3da0,chartType:_0x469797,context:_0x23b832,style:_0x1d04a7,dataAggregation:_0x20d5b0}=_0x159705;_0x1d03e0[_0x2c326f(0x334)]({'id':_0x5c166f['id'],'params':{'unitId':_0xbff3b6,'subUnitId':_0x3e59d9,'chartId':_0x509af5,'chartType':_0x469797,..._0x1d8687(_0x4b3da0),'context':_0x23b832,'style':_0x1d04a7,'dataAggregation':_0x20d5b0}}),_0x1c145c[_0x2c326f(0x334)]({'id':_0x2ccbfe['id'],'params':{'unitId':_0xbff3b6,'subUnitId':_0x3e59d9,'chartId':_0x509af5}});}return{'redos':_0x1d03e0,'undos':_0x1c145c};}return{'redos':[],'undos':[]};}}));}};zi=K([G(0x0,_0x233312(_0x50dd4e)),G(0x1,_0x233312(_0x304912)),G(0x2,_0x233312(_0x1ddd2c)),G(0x3,_0x233312(_0xef00ca)),G(0x4,_0x233312(_0x45f46e))],zi);const Bi=_0x1c8cda=>_0x1c8cda[_0x5d1a27(0x3ce)](_0x2a3654[_0x5d1a27(0x1d7)])['getUnitId'](),Vi=_0x1cf69f=>{const _0x44abdb=_0x5d1a27;var _0x424646;return(_0x424646=_0x1cf69f[_0x44abdb(0x3ce)](_0x2a3654[_0x44abdb(0x1d7)])[_0x44abdb(0x144)]())==null?void 0x0:_0x424646['getSheetId']();};function Hi(){const _0x284930=_0x5d1a27;var _0x3741dc;let _0x3303bf=_0x216cfe(J),_0x38e54e=_0x216cfe(_0xef00ca),_0x23175f=_0x216cfe(_0x45f46e),_0x479a84=_0x216cfe(_0x2365aa),_0x290aa9=_0x216cfe(_0x26189f),_0x510501=_0x2ab3f2(_0x290aa9),_0x5108c5=_0x1f6146(()=>{const _0x2f50ae=_0x14cc;let _0x1cd075=Ir(Pr[_0x2f50ae(0x37b)](),_0x510501);return _0x5db475(_0x1cd075['map'](_0x33ba6a=>({'id':_0x33ba6a['id'],'label':_0x479a84['t']('sheets-chart-ui.chartTypes.'+_0x33ba6a['labelId']),'pieSecondaryPlotType':_0x33ba6a[_0x2f50ae(0x3dc)],'value':_0x33ba6a['value']})));},[_0x510501,_0x479a84]),_0x35672d=_0x103df8(_0x38e54e[_0x284930(0x209)],_0x38e54e[_0x284930(0x26e)]),_0x1632de=_0x35672d?_0x23175f[_0x284930(0x13e)](_0x35672d['id']):void 0x0,_0xdb09be=_0x103df8(_0x1632de==null?void 0x0:_0x1632de[_0x284930(0x301)],_0x1632de==null?void 0x0:_0x1632de[_0x284930(0x351)]()),_0x22cb04=Array[_0x284930(0x25b)](_0xdb09be),_0x484b97=_0xdb09be&&!_0x22cb04&&_0xdb09be['isRowDirection']?_0x10a164[_0x284930(0x1aa)]:_0x10a164[_0x284930(0x27b)],_0x3204c0=_0x22cb04?(_0x3741dc=_0xdb09be[0x0])==null?void 0x0:_0x3741dc[_0x284930(0x363)]:_0xdb09be==null?void 0x0:_0xdb09be[_0x284930(0x2a6)];return _0x29cee8(_0x284930(0x21b),{'className':'univer-flex\x20univer-flex-col\x20univer-gap-3\x20univer-pb-5','children':_0x29cee8(_0xc7bb52,{'chartTypeOptions':_0x5108c5,'dataSourceControl':_0x29cee8(Ui,{'dataRange':_0xdb09be,'primaryRange':_0x3204c0}),'categoryToggleLabel':_0x479a84['t']('sheets-chart-ui.common.useAsCategoryLabels',_0x484b97===_0x10a164[_0x284930(0x1aa)]?_0x484b97+'\x20'+(((_0x3204c0==null?void 0x0:_0x3204c0[_0x284930(0x363)]['startRow'])??0x0)+0x1):_0x484b97+'\x20'+_0x2a8fac((_0x3204c0==null?void 0x0:_0x3204c0[_0x284930(0x363)]['startColumn'])??0x0)),'orientationControl':_0x22cb04?void 0x0:_0x29cee8(_0x926487,{'size':_0x284930(0x1f5),'onClick':()=>_0x3303bf[_0x284930(0x2a2)](_0x484b97===_0x10a164[_0x284930(0x1aa)]?_0x10a164[_0x284930(0x27b)]:_0x10a164['Row']),'children':_0x479a84['t'](_0x284930(0x11b))})})});}function Ui(_0x21751d){const _0x2d6411=_0x5d1a27;let {dataRange:_0xdf9f03,primaryRange:_0x50e0a3}=_0x21751d,_0x2b19c1=_0x216cfe(J),_0x377b37=_0x216cfe(_0x2365aa),_0x133861=_0x216cfe(_0x50dd4e),[_0x208508,_0x32259b]=_0x4cb90f(!0x1),[_0x5e1304,_0x347459]=_0x4cb90f(!0x1),_0x5a2c6d=Bi(_0x133861),_0x1a6d2d=Vi(_0x133861);_0x3b35d2(()=>{_0x2b19c1['setRangeSelectMode'](_0x208508);},[_0x208508,_0x2b19c1]);let _0x18f0fe=_0x1f6146(()=>_0x265549(async _0x2e9fa3=>{const _0x3afa26=_0x14cc;var _0x4c48b6;if(Mr(_0xdf9f03,_0x133861)===_0x2e9fa3)return;let _0x26563d=_0x2e9fa3['split'](',')[_0x3afa26(0x1e4)](Boolean)[_0x3afa26(0x1a0)](_0x560030)[0x0];if(!_0x26563d)return;let {unitId:_0x469a17,sheetName:_0x9d3bfd,range:_0xd93312}=_0x26563d,_0x361aa0=_0x469a17||_0x5a2c6d,_0x188674=((_0x4c48b6=_0x133861[_0x3afa26(0x2f4)](_0x361aa0)['getSheetBySheetName'](_0x9d3bfd))==null?void 0x0:_0x4c48b6[_0x3afa26(0x1c1)]())||(_0x50e0a3==null?void 0x0:_0x50e0a3['subUnitId'])||_0x1a6d2d;_0x188674&&_0x2b19c1['setDataRange']({'rangeInfo':{'range':_0xd93312,'unitId':_0x361aa0,'subUnitId':_0x188674}});},0x12c,{'leading':!0x1,'maxWait':0x3e8,'trailing':!0x0}),[_0xdf9f03,_0x50e0a3,_0x2b19c1,_0x1a6d2d,_0x5a2c6d,_0x133861]);return _0x3b35d2(()=>()=>_0x18f0fe[_0x2d6411(0x1b5)](),[_0x18f0fe]),_0x29cee8(_0x2d6411(0x21b),{'className':_0x2d6411(0x321),'children':_0x191e51(_0x2d6411(0x21b),{'children':[_0x29cee8(_0x207394,{'title':_0x377b37['t'](_0x2d6411(0x24c))}),_0x29cee8(_0x411079,{'supportAcrossSheet':!0x0,'keepSheetReference':!0x0,'maxRangeCount':0x1,'unitId':_0x5a2c6d,'subUnitId':_0x1a6d2d,'initialValue':_0xdf9f03?Mr(_0xdf9f03,_0x133861):'','onChange':(_0x79867d,_0xf4327d)=>_0x18f0fe(_0xf4327d),'onFocusChange':_0x153787=>{_0x5e1304||_0x32259b(_0x153787);},'onRangeSelectorDialogVisibleChange':_0x22b81c=>{_0x347459(_0x22b81c),_0x32259b(_0x22b81c);}})]})});}function Wi(){const _0x481c1c=_0x5d1a27;let [_0x5eb381,_0x1dbfc]=_0x4cb90f(_0x45ab14[_0x481c1c(0x211)]),_0xc18f48=_0x216cfe(_0x26189f),_0x4fe645=_0x216cfe(_0x2365aa),_0x4eda04=_0x216cfe(J),_0x282604=_0x216cfe(_0xef00ca),_0x8fcbb8=_0x216cfe(_0x45f46e),_0xfcdce2=_0x103df8(_0x282604['activeChartModel$'],_0x282604[_0x481c1c(0x26e)]),_0x1de565=_0x103df8(_0x4eda04[_0x481c1c(0x192)],null),_0x2e2098=_0x1f6146(()=>{const _0x45246c=_0x481c1c;var _0x2eca5a;if(!_0xfcdce2)return null;let _0x2b2c70=_0x8fcbb8[_0x45246c(0x34a)](_0xfcdce2['id']);if(!_0x2b2c70)return null;let _0x107a39=Array[_0x45246c(0x25b)](_0x2b2c70)?(_0x2eca5a=_0x2b2c70[0x0])==null?void 0x0:_0x2eca5a['range']:_0x2b2c70[_0x45246c(0x2a6)];return _0x107a39?new _0x21eaab(_0xfcdce2,new _0x467243({'unitId':_0x107a39['unitId'],'subUnitId':_0x107a39[_0x45246c(0x2b4)],'chartId':_0xfcdce2['id'],'injector':_0xc18f48})):null;},[_0xfcdce2,_0xc18f48,_0x8fcbb8]);if(_0x3b35d2(()=>{const _0x1b0356=_0x481c1c;var _0x2e9afa,_0x58d497;_0xfcdce2&&(_0x1de565==null?void 0x0:_0x1de565[_0x1b0356(0x191)])===_0xfcdce2['id']&&(((_0x2e9afa=_0x1de565[_0x1b0356(0x204)])==null?void 0x0:_0x2e9afa[_0x1b0356(0x3e7)])===_0x45ab14[_0x1b0356(0x2dc)]&&_0x1dbfc(_0x45ab14['Style']),((_0x58d497=_0x1de565['route'])==null?void 0x0:_0x58d497[_0x1b0356(0x3e7)])===_0x45ab14['Data']&&_0x1dbfc(_0x45ab14[_0x1b0356(0x211)]));},[_0xfcdce2,_0x1de565]),!_0x2e2098)return null;let _0x3434cf=_0x29cee8(_0x481c1c(0x21b),{'className':_0x481c1c(0x158),'children':_0x29cee8(_0x3e5287,{'ariaLabel':_0x4fe645['t'](_0x481c1c(0x387)),'activeTab':_0x5eb381,'onTabChange':_0x1dbfc,'tabListClassName':_0x481c1c(0x1e6),'panelClassName':_0x5eb381===_0x45ab14[_0x481c1c(0x2dc)]?_0x481c1c(0x2d0):_0x481c1c(0x2e4),'tabs':[{'id':_0x45ab14[_0x481c1c(0x211)],'panelId':_0x481c1c(0x159),'title':_0x4fe645['t']('sheets-chart-ui.common.setup'),'content':_0x29cee8(Hi,{})},{'id':_0x45ab14[_0x481c1c(0x2dc)],'panelId':_0x481c1c(0x365),'title':_0x4fe645['t'](_0x481c1c(0x173)),'content':_0x29cee8(Ci,{'defaultValues':vi})}]})});return _0x29cee8(_0x5c14bf,{'chartUIService':_0x4eda04,'hostAdapter':_0x2e2098,'children':_0x3434cf});}let Gi=class extends _0x23a464{constructor(_0x2c3ee9){const _0x938203=_0x5d1a27;super(),this[_0x938203(0x27a)](_0x2c3ee9['register'](Ti,Wi));}};Gi=K([G(0x0,_0x233312(_0x59c972))],Gi);let Ki=class extends _0x23a464{constructor(_0x4f95d7,_0x24b88f,_0x4ff6fa,_0x575776,_0x59bb7e,_0x58a717,_0x16114b,_0x3278d2,_0x36e901){const _0x207839=_0x5d1a27;super(),this[_0x207839(0x3cb)]=_0x4f95d7,this[_0x207839(0x2aa)]=_0x24b88f,this[_0x207839(0x149)]=_0x4ff6fa,this['_menuManagerService']=_0x575776,this['_sheetCanvasPopManagerService']=_0x59bb7e,this['_commandService']=_0x58a717,this[_0x207839(0x220)]=_0x16114b,this[_0x207839(0x333)]=_0x3278d2,this['_localeService']=_0x36e901,U(this,_0x207839(0x35c),null),U(this,'_panelInitialized',!0x1),this[_0x207839(0x35f)]();}[_0x5d1a27(0x33d)](){const _0x1724ff=_0x5d1a27;this['hidePanel'](),super[_0x1724ff(0x33d)]();}['initPanel'](){const _0x413497=_0x5d1a27;this[_0x413497(0x178)]||(this[_0x413497(0x178)]=!0x0,this['disposeWithMe'](this['_commandService']['onCommandExecuted'](_0x26dd12=>{const _0x3db47=_0x413497;if(_0x26dd12['id']!==V['id'])return;let _0x92f053=_0x26dd12[_0x3db47(0x398)];this[_0x3db47(0x2e3)](_0x92f053[_0x3db47(0x14a)],_0x92f053[_0x3db47(0x204)]);})));}['openChartPanelById'](_0x3026ac,_0x1172e4){const _0x54a176=_0x5d1a27;let _0x99a209=this[_0x54a176(0x2aa)][_0x54a176(0x1ce)](_0x3026ac);_0x99a209&&(this[_0x54a176(0x2aa)][_0x54a176(0x284)](_0x99a209),this[_0x54a176(0x24d)](),this[_0x54a176(0x220)][_0x54a176(0x347)](!0x0),this[_0x54a176(0x220)]['setPanelRoute'](_0x3026ac,_0x1172e4??null));}[_0x5d1a27(0x3cf)](){const _0x344d71=_0x5d1a27;let _0x247b67=this['_sidebarDisposable'];this[_0x344d71(0x35c)]=null,this[_0x344d71(0x239)](),_0x247b67==null||_0x247b67[_0x344d71(0x33d)]();}['_initMenus'](){const _0x2413e5=_0x5d1a27;this[_0x2413e5(0x358)][_0x2413e5(0x2d6)]({[_0x17e5d5[_0x2413e5(0x298)]]:{[H['id']]:{'order':0x4,'menuItemFactory':Lr}}}),this[_0x2413e5(0x3b1)][_0x2413e5(0x1f8)](_0x4c00c3['DRAWING_CHART'],(_0xd37126,_0x374946,_0x32b62a,_0x3865e4)=>[{'label':this[_0x2413e5(0x166)]['t'](_0x2413e5(0x387)),'index':0x0,'commandId':V['id'],'commandParams':{'unitId':_0xd37126,'subUnitId':_0x374946,'drawingId':_0x32b62a},'disable':_0x3865e4!==_0x4c00c3['DRAWING_CHART']},{'label':this['_localeService']['t']('sheets-chart-ui.common.deleteChart'),'index':0x1,'commandId':_0x14d389['id'],'commandParams':{'unitId':_0xd37126,'drawings':[{'unitId':_0xd37126,'subUnitId':_0x374946,'drawingId':_0x32b62a,'drawingType':_0x3865e4}]},'disable':!0x1}],_0x2413e5(0x352));}['_openPanel'](){const _0x7d5a19=_0x5d1a27;this[_0x7d5a19(0x35c)]=this[_0x7d5a19(0x149)][_0x7d5a19(0x279)]({'id':Ti,'header':{'title':this[_0x7d5a19(0x166)]['t'](_0x7d5a19(0x387))},'children':{'label':Ti},'onClose':()=>{const _0x3348fe=_0x7d5a19;this[_0x3348fe(0x35c)]=null,this[_0x3348fe(0x239)]();}});}['_clearPanelState'](){const _0x495605=_0x5d1a27;this[_0x495605(0x220)]['setChartEditorOpen'](!0x1),this[_0x495605(0x220)]['clearPanelRoute'](),this[_0x495605(0x2aa)][_0x495605(0x26e)]&&this[_0x495605(0x2aa)][_0x495605(0x284)](null),this['_drawingManagerService'][_0x495605(0x2a4)](null),this['_contextService'][_0x495605(0x343)](_0x29388d,!0x1);}};Ki=K([G(0x0,_0x2a46aa),G(0x1,_0x233312(_0xef00ca)),G(0x2,_0x233312(_0xe0c109)),G(0x3,_0x3d6daf),G(0x4,_0x233312(_0x1ac4ba)),G(0x5,_0x23023c),G(0x6,J),G(0x7,_0xae1c0),G(0x8,_0x233312(_0x2365aa))],Ki);let qi=class extends _0x23a464{constructor(_0x43f5d2,_0x396aa0,_0x39bf63,_0x4a5406,_0x3cecde){const _0x4a0920=_0x5d1a27;super(),this[_0x4a0920(0x19f)]=_0x43f5d2,this['_sheetClipboardService']=_0x396aa0,this[_0x4a0920(0x296)]=_0x39bf63,this[_0x4a0920(0x2aa)]=_0x4a5406,this[_0x4a0920(0x1f9)]=_0x3cecde,U(this,_0x4a0920(0x312),void 0x0),this[_0x4a0920(0x246)]();}get[_0x5d1a27(0x11f)](){const _0x39ef58=_0x5d1a27;return this[_0x39ef58(0x296)][_0x39ef58(0x23a)]();}['_initCopyPaste'](){const _0x32d143=_0x5d1a27;this['disposeWithMe'](this[_0x32d143(0x17f)][_0x32d143(0x1ba)]({'id':_0xff1a05,'onBeforeCopyFocusedObject':(_0x303e17,_0x3bc218,_0x43ecd6)=>{const _0x107ee9=_0x32d143;this[_0x107ee9(0x312)]=null;let _0x4751f7=this[_0x107ee9(0x11f)]['filter'](_0x130316=>this[_0x107ee9(0x2f6)](_0x130316));return _0x4751f7[_0x107ee9(0x355)]!==0x0&&(this[_0x107ee9(0x312)]={'unitId':_0x303e17,'subUnitId':_0x3bc218,'copyType':_0x43ecd6,'drawings':_0x4751f7},!0x0);},'onBeforeCopy':(_0x225331,_0x2c05c4,_0xf8074c,_0x5d786f)=>{this['_copyInfo']=null,this['_createCopyInfoByRange'](_0x225331,_0x2c05c4,_0xf8074c,_0x5d786f);},'onPasteCells':(_0x4ac869,_0x16e126,_0x269def,_0x4d6426)=>{const _0x337c0d=_0x32d143;if(!_0x4d6426[_0x337c0d(0x324)]||!_0x4ac869||!this[_0x337c0d(0x312)])return{'redos':[],'undos':[]};let {pasteType:_0x1fbc93}=_0x4d6426;return _0x1fbc93===_0x9ae0ee[_0x337c0d(0x1ae)]?this['_generatePasteMutations'](_0x16e126,this[_0x337c0d(0x312)][_0x337c0d(0x213)]===_0xe1391d[_0x337c0d(0x251)]):{'redos':[],'undos':[]};}}));}[_0x5d1a27(0x250)](_0x314717,_0x4779bd,_0x53a0ba,_0x35b8b3){const _0x52b7b0=_0x5d1a27;let _0x2e7a0e=this[_0x52b7b0(0x19f)][_0x52b7b0(0x392)](_0x314717,_0x4779bd);if(!_0x2e7a0e)return;let _0x61bf22=_0x57f3f4(_0x2e7a0e,_0x53a0ba);if(!_0x61bf22)return;let {startX:_0x5a07ca,endX:_0x50cc4c,startY:_0x41c52e,endY:_0xd97ab8}=_0x61bf22,_0x24f51c=this[_0x52b7b0(0x296)][_0x52b7b0(0x3be)](_0x314717,_0x4779bd),_0x29c650=[];for(let [_0xe396fd,_0x15fe67]of Object[_0x52b7b0(0x215)](_0x24f51c)){if(!this[_0x52b7b0(0x2f6)](_0x15fe67))continue;let {transform:_0x26f885}=_0x15fe67;if(!_0x26f885)continue;let {left:_0x56e398=0x0,top:_0x370801=0x0,width:_0x2a2a74=0x0,height:_0x2d8522=0x0}=_0x26f885;_0x5a07ca<=_0x56e398&&_0x50cc4c>=_0x56e398+_0x2a2a74&&_0x41c52e<=_0x370801&&_0xd97ab8>=_0x370801+_0x2d8522&&_0x29c650[_0x52b7b0(0x334)](_0x15fe67);}_0x29c650[_0x52b7b0(0x355)]>0x0&&(this[_0x52b7b0(0x312)]={'unitId':_0x314717,'subUnitId':_0x4779bd,'copyType':_0x35b8b3,'copyRange':_0x53a0ba,'drawings':_0x29c650});}[_0x5d1a27(0x2f6)](_0xfd669d){const _0x4395d1=_0x5d1a27;return _0xfd669d[_0x4395d1(0x3e5)]===_0x4c00c3[_0x4395d1(0x249)]&&this[_0x4395d1(0x1f9)]['getSubUnitId'](_0xfd669d[_0x4395d1(0x1b7)],_0xfd669d[_0x4395d1(0x14a)])===_0xfd669d[_0x4395d1(0x2b4)];}[_0x5d1a27(0x399)](_0x3d3f55,_0x52d1a8){const _0x3a8f6e=_0x5d1a27;let {unitId:_0x26c0f0,subUnitId:_0x12eb82,range:_0x5d3123}=_0x3d3f55,_0x39e3ab=this[_0x3a8f6e(0x19f)][_0x3a8f6e(0x392)](_0x26c0f0,_0x12eb82);if(!_0x39e3ab)return{'redos':[],'undos':[]};let _0x419e4c=_0x4c3d52(_0x5d3123),{unitId:_0x10ab60,subUnitId:_0x55a3c6,copyRange:_0x21de5d,drawings:_0x2d98e5}=this['_copyInfo'],_0x4f02c3=this[_0x3a8f6e(0x19f)][_0x3a8f6e(0x392)](_0x10ab60,_0x55a3c6);if(!_0x4f02c3)return{'redos':[],'undos':[]};let _0x267af3=[],_0x3ab04f=[];for(let _0x4c1f94 of _0x2d98e5){let {drawingId:_0x12c231,transform:_0x190959,sheetTransform:_0xe06b59}=_0x4c1f94,_0x77737=this[_0x3a8f6e(0x2aa)][_0x3a8f6e(0x1ce)](_0x12c231);if(!_0x77737||!_0x190959||!_0xe06b59)continue;let _0x2a5c83=this['_updateTransform']({'transform':_0x190959,'sheetTransform':_0xe06b59},{'skeleton':_0x4f02c3,'range':_0x21de5d},{'skeleton':_0x39e3ab,'range':_0x419e4c});if(_0x52d1a8){let {redos:_0x3fda03,undos:_0x6d5d2f}=this['_generateCutPasteMutations']({'fromUnitId':_0x10ab60,'fromSubUnitId':_0x55a3c6,'toUnitId':_0x26c0f0,'toSubUnitId':_0x12eb82,'drawing':_0x4c1f94,'newTransforms':_0x2a5c83},_0x77737);_0x267af3['push'](..._0x3fda03),_0x3ab04f[_0x3a8f6e(0x334)](..._0x6d5d2f);continue;}let {redos:_0x1d8ea9,undos:_0x97ae3}=this[_0x3a8f6e(0x1dc)]({'toUnitId':_0x26c0f0,'toSubUnitId':_0x12eb82,'drawing':_0x4c1f94,'newTransforms':_0x2a5c83},_0x77737);_0x267af3[_0x3a8f6e(0x334)](..._0x1d8ea9),_0x3ab04f[_0x3a8f6e(0x334)](..._0x97ae3);}return{'redos':_0x267af3,'undos':_0x3ab04f};}[_0x5d1a27(0x277)](_0x567a44,_0x272d30){const _0x2d9293=_0x5d1a27;let {fromUnitId:_0x28bda1,fromSubUnitId:_0x2b5801,toUnitId:_0x2b184e,toSubUnitId:_0x2e25b3,drawing:_0x3fb740,newTransforms:_0x430015}=_0x567a44,_0x36a1ea={..._0x3fb740,'unitId':_0x2b184e,'subUnitId':_0x2e25b3,'transform':_0x430015[_0x2d9293(0x31c)],'sheetTransform':_0x430015[_0x2d9293(0x3c9)]};if(_0x2b184e===_0x28bda1&&_0x2e25b3===_0x2b5801){let {redo:_0x237ec6,undo:_0x37b5e3,objects:_0x2e1f41}=this[_0x2d9293(0x296)][_0x2d9293(0x375)]([_0x36a1ea]);return{'redos':[{'id':_0x16136c['id'],'params':{'unitId':_0x2b184e,'subUnitId':_0x2e25b3,'type':_0x30b7e4[_0x2d9293(0x187)],'op':_0x237ec6,'objects':_0x2e1f41}}],'undos':[{'id':_0x16136c['id'],'params':{'unitId':_0x2b184e,'subUnitId':_0x2e25b3,'type':_0x30b7e4['UPDATE'],'op':_0x37b5e3,'objects':_0x2e1f41}}]};}{let _0x373a3c=this['_sheetDrawingService'][_0x2d9293(0x19b)]([_0x3fb740]),_0x80e613=this['_sheetDrawingService']['getBatchAddOp']([_0x36a1ea]),_0x2100d4=this[_0x2d9293(0x1f9)][_0x2d9293(0x34a)](_0x272d30['id']);if(!_0x2100d4)return{'redos':[],'undos':[]};let {chartType:_0x393093,context:_0xed6402,style:_0x20f597,dataAggregation:_0x481acb}=_0x272d30[_0x2d9293(0x33f)]();return{'redos':[{'id':_0x16136c['id'],'params':{'unitId':_0x28bda1,'subUnitId':_0x2b5801,'type':_0x30b7e4['REMOVE'],'op':_0x373a3c[_0x2d9293(0x3c1)],'objects':_0x373a3c[_0x2d9293(0x3ca)]}},{'id':_0x2ccbfe['id'],'params':{'unitId':_0x28bda1,'subUnitId':_0x2b5801,'chartId':_0x3fb740[_0x2d9293(0x14a)]}},{'id':_0x16136c['id'],'params':{'unitId':_0x2b184e,'subUnitId':_0x2e25b3,'type':_0x30b7e4['INSERT'],'op':_0x80e613['redo'],'objects':_0x80e613[_0x2d9293(0x3ca)]}},{'id':_0x5c166f['id'],'params':{'unitId':_0x2b184e,'subUnitId':_0x2e25b3,'chartId':_0x3fb740[_0x2d9293(0x14a)],'chartType':_0x393093,..._0x1d8687(_0x2100d4),'context':_0xed6402,'style':_0x20f597,'dataAggregation':_0x481acb}}],'undos':[{'id':_0x16136c['id'],'params':{'unitId':_0x28bda1,'subUnitId':_0x2b5801,'type':_0x30b7e4[_0x2d9293(0x3b5)],'op':_0x373a3c[_0x2d9293(0x16e)],'objects':_0x373a3c[_0x2d9293(0x3ca)]}},{'id':_0x5c166f['id'],'params':{'unitId':_0x28bda1,'subUnitId':_0x2b5801,'chartId':_0x3fb740[_0x2d9293(0x14a)],'chartType':_0x393093,..._0x1d8687(_0x2100d4),'context':_0xed6402,'style':_0x20f597,'dataAggregation':_0x481acb}},{'id':_0x16136c['id'],'params':{'unitId':_0x2b184e,'subUnitId':_0x2e25b3,'type':_0x30b7e4[_0x2d9293(0x2e8)],'op':_0x80e613['undo'],'objects':_0x80e613['objects']}},{'id':_0x2ccbfe['id'],'params':{'unitId':_0x2b184e,'subUnitId':_0x2e25b3,'chartId':_0x3fb740[_0x2d9293(0x14a)]}}]};}}[_0x5d1a27(0x1dc)](_0x10bfcd,_0x2bb0b6){const _0x42822e=_0x5d1a27;let {toUnitId:_0x2a12d2,toSubUnitId:_0x524874,drawing:_0x48befe,newTransforms:_0xdc912f}=_0x10bfcd,_0xbe8213=_0x23f566(),_0x5186e6={..._0x48befe,'unitId':_0x2a12d2,'subUnitId':_0x524874,'drawingId':_0xbe8213,'transform':_0xdc912f[_0x42822e(0x31c)],'sheetTransform':_0xdc912f[_0x42822e(0x3c9)]},{redo:_0x90caeb,undo:_0x186aed,objects:_0x402573}=this[_0x42822e(0x296)]['getBatchAddOp']([_0x5186e6]),_0x379940=this['_sheetsChartService'][_0x42822e(0x34a)](_0x2bb0b6['id']);if(!_0x379940)return{'redos':[],'undos':[]};let {chartType:_0x4495c1,context:_0x57c980,style:_0x4ffd2a,dataAggregation:_0xf3c09b}=_0x2bb0b6[_0x42822e(0x33f)]();return{'redos':[{'id':_0x16136c['id'],'params':{'unitId':_0x2a12d2,'subUnitId':_0x524874,'type':_0x30b7e4['INSERT'],'op':_0x90caeb,'objects':_0x402573}},{'id':_0x5c166f['id'],'params':{'unitId':_0x2a12d2,'subUnitId':_0x524874,'chartId':_0xbe8213,'chartType':_0x4495c1,..._0x1d8687(_0x379940),'context':_0x57c980,'style':_0x4ffd2a,'dataAggregation':_0xf3c09b}}],'undos':[{'id':_0x16136c['id'],'params':{'unitId':_0x2a12d2,'subUnitId':_0x524874,'type':_0x30b7e4[_0x42822e(0x2e8)],'op':_0x186aed,'objects':_0x402573}},{'id':_0x2ccbfe['id'],'params':{'unitId':_0x2a12d2,'subUnitId':_0x524874,'chartId':_0xbe8213}}]};}[_0x5d1a27(0x2e1)](_0x4193f5,_0x54b4a4,_0x1f9966){const _0x1561fc=_0x5d1a27;let {range:_0x10eecd,skeleton:_0x14660b}=_0x54b4a4,{range:_0x1f6912,skeleton:_0x28a3b4}=_0x1f9966,{transform:_0x542698,sheetTransform:_0x553e2a}=_0x4193f5,_0x54bdcb={..._0x542698};if(_0x10eecd){let _0x58eac9=_0x57f3f4(_0x14660b,_0x10eecd),_0x3cc4ae=_0x57f3f4(_0x28a3b4,_0x1f6912);if(_0x58eac9&&_0x3cc4ae){let _0x2f6c28=_0x3cc4ae[_0x1561fc(0x12d)]-_0x58eac9[_0x1561fc(0x12d)],_0x4b76c9=_0x3cc4ae['startY']-_0x58eac9[_0x1561fc(0x2f5)];_0x54bdcb[_0x1561fc(0x290)]=(_0x54bdcb[_0x1561fc(0x290)]??0x0)+_0x2f6c28,_0x54bdcb[_0x1561fc(0x2c0)]=(_0x54bdcb[_0x1561fc(0x2c0)]??0x0)+_0x4b76c9;}}else{let _0x1df664=_0x57f3f4(_0x28a3b4,_0x1f6912);_0x54bdcb[_0x1561fc(0x290)]=_0x1df664==null?void 0x0:_0x1df664[_0x1561fc(0x12d)],_0x54bdcb[_0x1561fc(0x2c0)]=_0x1df664==null?void 0x0:_0x1df664[_0x1561fc(0x2f5)];}return{'transform':_0x54bdcb,'sheetTransform':_0x38630f(_0x54bdcb,_0x28a3b4)??_0x553e2a};}};qi=K([G(0x0,_0x233312(_0x5f5b10)),G(0x1,_0x233312(_0x48255a)),G(0x2,_0x233312(_0x1ddd2c)),G(0x3,_0x233312(_0xef00ca)),G(0x4,_0x233312(_0x45f46e))],qi);let Ji=class extends _0x23a464{constructor(_0x4208d8,_0x575892,_0xb87fab,_0x1cb9aa){const _0x50d4b4=_0x5d1a27;super(),this[_0x50d4b4(0x3c7)]=_0x4208d8,this[_0x50d4b4(0x166)]=_0x575892,this[_0x50d4b4(0x311)]=_0xb87fab,this['_sheetsChartService']=_0x1cb9aa,this[_0x50d4b4(0x3cc)]();}[_0x5d1a27(0x3cc)](){const _0x26ed8a=_0x5d1a27;this[_0x26ed8a(0x27a)](this['_commandService']['beforeCommandExecuted'](_0x54fd4a=>{const _0x3c9dfc=_0x26ed8a;let _0x2e279d,_0x3825bc;if(_0x54fd4a['id']===_0x6ba0fd['id']){let _0x50e304=_0x54fd4a['params'];_0x2e279d=_0x50e304[_0x3c9dfc(0x1b7)],_0x3825bc=_0x50e304['subUnitId'];}else{if(_0x54fd4a['id']===_0x459ce1['id']||_0x54fd4a['id']===_0x38e7ef['id']){let _0x18267b=_0x54fd4a[_0x3c9dfc(0x398)];_0x2e279d=_0x18267b[_0x3c9dfc(0x1b7)],_0x3825bc=this[_0x3c9dfc(0x1f9)]['getSubUnitId'](_0x18267b[_0x3c9dfc(0x1b7)],_0x18267b[_0x3c9dfc(0x151)]);}}_0x2e279d&&_0x3825bc&&(this['_sheetPermissionCheckController'][_0x3c9dfc(0x22a)]({'workbookTypes':[_0x467779],'worksheetTypes':[_0x311452]},_0x2e279d,_0x3825bc)||this[_0x3c9dfc(0x311)][_0x3c9dfc(0x1de)](this[_0x3c9dfc(0x166)]['t'](_0x3c9dfc(0x12a))));}));}};Ji=K([G(0x0,_0x233312(_0x23023c)),G(0x1,_0x233312(_0x2365aa)),G(0x2,_0x233312(_0x5672ce)),G(0x3,_0x233312(_0x45f46e))],Ji);let Z=class extends _0x23a464{constructor(_0x209e2e,_0x102e16){const _0x2f3b65=_0x5d1a27;super(),this['_renderService']=_0x102e16,this[_0x2f3b65(0x27a)](_0x209e2e[_0x2f3b65(0x233)](this));}[_0x5d1a27(0x22f)](_0x5a9495){const _0x142e66=_0x5d1a27;return _0x142e66(0x1b7)in _0x5a9495&&'subUnitId'in _0x5a9495;}['exportImage'](_0x4ea67c,_0x7f7e2){const _0x52d504=_0x5d1a27;return this[_0x52d504(0x2c9)]['exportImage'](_0x4ea67c[_0x52d504(0x397)](),_0x7f7e2);}};Z=K([G(0x0,_0x233312(_0x5e98c4)),G(0x1,_0x233312(q))],Z);let Q=class extends _0x48bc1a{constructor(_0x355b8f=wr,_0x96b64c,_0x233087,_0x11070b){const _0x420905=_0x5d1a27;super(),this['_config']=_0x355b8f,this[_0x420905(0x305)]=_0x96b64c,this[_0x420905(0x1d2)]=_0x233087,this[_0x420905(0x3c7)]=_0x11070b;let {..._0x5b25e9}=_0x11f8eb({},wr,this['_config']);this['_configService'][_0x420905(0x154)](Cr,_0x5b25e9),this[_0x420905(0x125)]();}[_0x5d1a27(0x2c7)](){const _0x271dbc=_0x5d1a27;let _0xba615f=[[Gi],[J,{'useClass':gi}],[fi,{'useClass':di}],[ii],[q],[Z],[Ki],[X],[Ni],[qi],[zi],[Ji]],_0x2509e6=[[Gi],[Ki],[Ni],[X],[Z],[J],[qi],[zi],[Ji]];_0xba615f[_0x271dbc(0x1e0)](_0x2a9e35=>this['_injector']['add'](_0x2a9e35)),_0x5b8a57(this[_0x271dbc(0x305)],_0x2509e6);}[_0x5d1a27(0x328)](){const _0x4ead84=_0x5d1a27;var _0x2cb75e;(_0x2cb75e=this['_injector'][_0x4ead84(0x3a6)](Ki))==null||_0x2cb75e[_0x4ead84(0x3e2)]();}[_0x5d1a27(0x125)](){const _0x266d10=_0x5d1a27;[H,V][_0x266d10(0x1e0)](_0x1e7aaa=>this[_0x266d10(0x27a)](this[_0x266d10(0x3c7)][_0x266d10(0x180)](_0x1e7aaa)));}};U(Q,'type',_0x2a3654[_0x5d1a27(0x1d7)]),U(Q,_0x5d1a27(0x255),_0x5d1a27(0x11d)),U(Q,_0x5d1a27(0x280),ji),U(Q,'version',Mi),Q=K([_0x5da506(_0x18ed5a,_0x5eca96,_0x2c2309,_0x282fcb,_0x180756,_0xd0b56d,_0x5a4ecb,_0x559b0f,_0x479d7b,_0x3593c7),G(0x1,_0x233312(_0x26189f)),G(0x2,_0x332790),G(0x3,_0x23023c)],Q);const Yi={'scaleX':0x1,'scaleY':0x1};function Xi(_0xa1465){let _0x290c73=_0xa1465['nativeEvent'];return _0x290c73 instanceof MouseEvent?_0x290c73:void 0x0;}function Zi(_0x3ac1c9){const _0x5647f9=_0x5d1a27;let _0x30e82c=_0x3ac1c9[_0x5647f9(0x2a9)],_0x76325=_0x30e82c==null?void 0x0:_0x30e82c[_0x5647f9(0x2cb)];return _0x76325 instanceof Element?_0x76325:void 0x0;}function Qi(_0x3894e3){const _0x7fc1c2=_0x5d1a27;var _0x514511;return(_0x514511=Zi(_0x3894e3))==null?void 0x0:_0x514511[_0x7fc1c2(0x2fb)]();}function $i(_0x2c76f7){const _0x115d1d=_0x5d1a27;return _0x2c76f7[_0x115d1d(0x175)]||_0x2c76f7[_0x115d1d(0x135)]-_0x2c76f7[_0x115d1d(0x290)];}function ea(_0xf6718a){const _0x4200db=_0x5d1a27;return _0xf6718a['height']||_0xf6718a[_0x4200db(0x1a8)]-_0xf6718a[_0x4200db(0x2c0)];}function ta(_0x232dd3,_0x4838d8){const _0x467205=_0x5d1a27;let _0x337f42=_0x232dd3[_0x467205(0x201)]||(_0x232dd3 instanceof HTMLElement?_0x232dd3[_0x467205(0x19e)]:0x0),_0x41b66d=_0x232dd3['clientHeight']||(_0x232dd3 instanceof HTMLElement?_0x232dd3[_0x467205(0x390)]:0x0),_0x5b0acd=$i(_0x4838d8),_0x321089=ea(_0x4838d8);return{'scaleX':_0x337f42>0x0&&_0x5b0acd>0x0?_0x5b0acd/_0x337f42:Yi[_0x467205(0x39a)],'scaleY':_0x41b66d>0x0&&_0x321089>0x0?_0x321089/_0x41b66d:Yi[_0x467205(0x3e4)]};}function na(_0x196843,_0x47270c,_0x537f4e){const _0x268328=_0x5d1a27;return{'left':_0x196843[_0x268328(0x290)]+_0x47270c[_0x268328(0x290)]*_0x537f4e[_0x268328(0x39a)],'right':_0x196843['left']+_0x47270c[_0x268328(0x135)]*_0x537f4e[_0x268328(0x39a)],'top':_0x196843['top']+_0x47270c[_0x268328(0x2c0)]*_0x537f4e['scaleY'],'bottom':_0x196843['top']+_0x47270c[_0x268328(0x1a8)]*_0x537f4e[_0x268328(0x3e4)]};}function ra(_0x1ca010){const _0x4187de=_0x5d1a27;let _0x39c649=Zi(_0x1ca010),_0x19fe0b=_0x1ca010[_0x4187de(0x31a)][_0x4187de(0x11c)];if(_0x39c649&&_0x19fe0b){let _0x4d533d=_0x39c649['getBoundingClientRect']();return()=>{const _0x103da1=_0x4187de;let _0x4ea136=_0x39c649[_0x103da1(0x2fb)]();return(_0x39c649[_0x103da1(0x254)]||$i(_0x4ea136)>0x0||ea(_0x4ea136)>0x0)&&(_0x4d533d=_0x4ea136),na(_0x4d533d,_0x19fe0b,ta(_0x39c649,_0x4d533d));};}return()=>{const _0x4bc8fe=_0x4187de;let _0x224fe5=Qi(_0x1ca010);if(_0x224fe5&&_0x19fe0b)return na(_0x224fe5,_0x19fe0b,_0x39c649?ta(_0x39c649,_0x224fe5):Yi);let _0x9713ea=Xi(_0x1ca010),_0x221fd3=_0x39c649&&_0x224fe5?ta(_0x39c649,_0x224fe5):Yi,_0xc7bad6=(_0x9713ea==null?void 0x0:_0x9713ea[_0x4bc8fe(0x13d)])??(_0x224fe5?_0x224fe5[_0x4bc8fe(0x290)]+_0x1ca010[_0x4bc8fe(0x1af)]['x']*_0x221fd3[_0x4bc8fe(0x39a)]:_0x1ca010[_0x4bc8fe(0x1af)]['x']),_0xeb927f=(_0x9713ea==null?void 0x0:_0x9713ea[_0x4bc8fe(0x153)])??(_0x224fe5?_0x224fe5[_0x4bc8fe(0x2c0)]+_0x1ca010[_0x4bc8fe(0x1af)]['y']*_0x221fd3[_0x4bc8fe(0x3e4)]:_0x1ca010['localPoint']['y']);return{'left':_0xc7bad6,'right':_0xc7bad6+0x1,'top':_0xeb927f,'bottom':_0xeb927f+0x1};};}function ia(_0x2e6543){return typeof _0x2e6543=='number'&&Number['isFinite'](_0x2e6543);}function aa(_0xb79097){if(!_0xb79097||typeof _0xb79097!='object')return!0x0;let {startX:_0x5241ea,endX:_0x6691c3,startY:_0xc2483b,endY:_0x29f2e9}=_0xb79097;return!ia(_0x5241ea)||!ia(_0x6691c3)||!ia(_0xc2483b)||!ia(_0x29f2e9)||_0x6691c3-_0x5241ea>0x2&&_0x29f2e9-_0xc2483b>0x2;}function oa(_0x1866d9){const _0x536688=_0x5d1a27;return _0x1866d9[_0x536688(0x135)]<=_0x1866d9[_0x536688(0x290)]||_0x1866d9[_0x536688(0x1a8)]<=_0x1866d9[_0x536688(0x2c0)]?!0x1:typeof window>'u'||_0x1866d9[_0x536688(0x135)]>0x0&&_0x1866d9[_0x536688(0x1a8)]>0x0&&_0x1866d9[_0x536688(0x290)]<window[_0x536688(0x17c)]&&_0x1866d9[_0x536688(0x2c0)]<window[_0x536688(0x1f0)];}function sa(_0x3912e7){const _0x13f2a3=_0x5d1a27;var _0xf08aad;return _0x3912e7==null||(_0xf08aad=_0x3912e7[_0x13f2a3(0x194)])==null?void 0x0:_0xf08aad[_0x13f2a3(0x172)](_0x3912e7);}function ca(_0x5084bc,_0x2fe628,_0x4334a0){const _0x335b43=_0x5d1a27;let _0x9fc8e9=ra(_0x5084bc),_0x7eeb5=sa(_0x2fe628),_0x2af830=_0x9fc8e9(),_0x22ecbb=new _0x36066b(_0x2af830),_0x14335d=new _0x396c56(),_0x3a55f9=!0x1,_0x298f3f=!0x1,_0x280fec=_0x2ab23d=>aa(_0x7eeb5)&&oa(_0x2ab23d),_0x5e04cf=()=>{_0x298f3f||_0x3a55f9||(_0x298f3f=!0x0,queueMicrotask(()=>{const _0x131a6c=_0x14cc;if(_0x298f3f=!0x1,!_0x3a55f9){let _0x293ca5=_0x9fc8e9();if(!_0x280fec(_0x293ca5)){_0x4334a0();return;}_0x22ecbb[_0x131a6c(0x2db)](_0x293ca5);}}));};return _0x2fe628&&_0x14335d[_0x335b43(0x248)](_0x2fe628[_0x335b43(0x3d5)](_0x51bf98=>{_0x7eeb5=_0x51bf98,_0x5e04cf();})),typeof window<'u'&&_0x14335d['add'](_0x1ef318(_0x320bfe(window,_0x335b43(0x3e6),{'capture':!0x0}),_0x320bfe(window,_0x335b43(0x183)))[_0x335b43(0x186)](_0xff450d(0x10))['subscribe'](_0x5e04cf)),{'initialRect':_0x2af830,'anchorRect$':_0x22ecbb[_0x335b43(0x1cb)](),'visible':_0x280fec(_0x2af830),'dispose':()=>{const _0x72e260=_0x335b43;_0x3a55f9=!0x0,_0x14335d[_0x72e260(0x33d)](),_0x22ecbb[_0x72e260(0x293)]();}};}const la=_0x5d1a27(0x1cf);let ua=class extends _0x23a464{constructor(_0x5a7c0b,_0x283999,_0x2845bd,_0x415dd1,_0x4c75a2,_0x26e1d1,_0x44c891,_0x59c6af,_0x480b7b){const _0x173107=_0x5d1a27;super(),this[_0x173107(0x2aa)]=_0x5a7c0b,this[_0x173107(0x214)]=_0x283999,this[_0x173107(0x22b)]=_0x2845bd,this[_0x173107(0x3b1)]=_0x415dd1,this['_sheetCanvasFloatDomManagerService']=_0x4c75a2,this[_0x173107(0x1b8)]=_0x26e1d1,this[_0x173107(0x1bd)]=_0x44c891,this['_commandService']=_0x59c6af,this[_0x173107(0x305)]=_0x480b7b,U(this,_0x173107(0x3e3),null),U(this,_0x173107(0x247),null),U(this,_0x173107(0x23d),null),this['_registerAdapter'](),this['_subscribeChartEvents']();}[_0x5d1a27(0x33d)](){const _0x1eed79=_0x5d1a27;this[_0x1eed79(0x123)](),super['dispose']();}[_0x5d1a27(0x3bf)](){const _0xd3593a=_0x5d1a27;let _0x5b3488=_0x32b76b({'chartUIService':this[_0xd3593a(0x1b8)],'getHostAdapter':_0x411f85=>{const _0x5e99bf=_0xd3593a;let _0x2896ad=this[_0x5e99bf(0x2aa)]['getChartModel'](_0x411f85[_0x5e99bf(0x191)]);if(_0x2896ad&&_0x411f85[_0x5e99bf(0x2b4)])return new _0x21eaab(_0x2896ad,new _0x467243({'unitId':_0x411f85[_0x5e99bf(0x1b7)],'subUnitId':_0x411f85[_0x5e99bf(0x2b4)],'chartId':_0x411f85[_0x5e99bf(0x191)],'injector':this[_0x5e99bf(0x305)]}));},'close':()=>this['_closePopup'](),'openFullPanel':_0x286131=>{const _0x4bdf57=_0xd3593a;let {unitId:_0x19462f,subUnitId:_0xb1b77b,drawingId:_0x1f6a8a,chartId:_0x24eb35}=_0x286131,_0x106480=_0x2ab4ba(_0x286131[_0x4bdf57(0x2cb)]);this['_commandService'][_0x4bdf57(0x2de)](V['id'],{'unitId':_0x19462f,'subUnitId':_0xb1b77b??'','drawingId':_0x1f6a8a??_0x24eb35,..._0x106480?{'route':_0x106480}:{}});}});this[_0xd3593a(0x27a)](this[_0xd3593a(0x1bd)][_0xd3593a(0x233)](la,_0x5b3488));}[_0x5d1a27(0x2ec)](){const _0x46ea0a=_0x5d1a27;this['disposeWithMe'](this[_0x46ea0a(0x2aa)][_0x46ea0a(0x3d1)]['subscribe'](_0x13adec=>{const _0x4fbc9a=_0x46ea0a;let _0x44c317=new _0x396c56();_0x44c317['add'](this[_0x4fbc9a(0x214)]['on'](_0x13adec['id'],_0x4fbc9a(0x23f),_0x4b3bae=>{const _0x3b1f41=_0x4fbc9a;this[_0x3b1f41(0x336)](_0x13adec['id'],_0x4b3bae);})),_0x44c317['add'](this['_chartRenderService']['on'](_0x13adec['id'],'dblclick',()=>{const _0x3008b6=_0x4fbc9a;this[_0x3008b6(0x29c)](_0x13adec['id']);})),_0x13adec['onDispose'](()=>{const _0x5ca524=_0x4fbc9a;_0x44c317[_0x5ca524(0x33d)](),this[_0x5ca524(0x36d)](_0x13adec['id']);}),this[_0x4fbc9a(0x27a)](_0x44c317);})),this[_0x46ea0a(0x27a)](_0x276a93([this[_0x46ea0a(0x2aa)]['activeChartModel$'],this[_0x46ea0a(0x1b8)][_0x46ea0a(0x26d)]])['subscribe'](([_0x3e49ef,_0x42faf2])=>{const _0x5751e8=_0x46ea0a;(!_0x42faf2||this[_0x5751e8(0x247)]&&(_0x3e49ef==null?void 0x0:_0x3e49ef['id'])!==this['_popupChartId'])&&this['_closePopup']();})),this[_0x46ea0a(0x27a)](this[_0x46ea0a(0x11a)][_0x46ea0a(0x22e)][_0x46ea0a(0x3d5)](({id:_0x5d7b56})=>{const _0x37aff2=_0x46ea0a;this[_0x37aff2(0x36d)](_0x5d7b56);})),this[_0x46ea0a(0x27a)](this['_sheetCanvasFloatDomManagerService']['remove$'][_0x46ea0a(0x3d5)](({id:_0x5d7db8})=>{this['_clearSelectedTarget'](_0x5d7db8);})),this[_0x46ea0a(0x27a)](this['_chartHostProvider']['removeHost$'][_0x46ea0a(0x3d5)](_0x1bd1b3=>{this['_clearSelectedTarget'](_0x1bd1b3);}));}[_0x5d1a27(0x29c)](_0x1e25d3){const _0x4e5490=_0x5d1a27;if(this['_chartUIService'][_0x4e5490(0x380)])return;let _0x23d589=this[_0x4e5490(0x2aa)][_0x4e5490(0x1ce)](_0x1e25d3),_0x4ccfc0=this['_sheetCanvasFloatDomManagerService']['getFloatDomInfo'](_0x1e25d3);_0x23d589&&_0x4ccfc0&&this[_0x4e5490(0x3c7)]['executeCommand'](V['id'],{'unitId':_0x4ccfc0[_0x4e5490(0x1b7)],'subUnitId':_0x4ccfc0[_0x4e5490(0x2b4)]??'','drawingId':_0x1e25d3});}[_0x5d1a27(0x336)](_0x3c5fc8,_0x56e635){const _0x430b3d=_0x5d1a27;if(!this[_0x430b3d(0x1b8)][_0x430b3d(0x169)](_0x3c5fc8))return;let _0x257e33=this[_0x430b3d(0x2aa)][_0x430b3d(0x1ce)](_0x3c5fc8),_0x40c8e9=_0x257e33?Kr(_0x257e33,_0x56e635[_0x430b3d(0x31a)]):void 0x0;if(!_0x40c8e9){this[_0x430b3d(0x1b8)][_0x430b3d(0x202)](),this[_0x430b3d(0x123)]();return;}let _0x2173dd=this[_0x430b3d(0x11a)][_0x430b3d(0x177)](_0x3c5fc8);if(!_0x257e33||!_0x2173dd){this[_0x430b3d(0x1b8)][_0x430b3d(0x202)](),this[_0x430b3d(0x123)]();return;}let _0xe02dc1=JSON[_0x430b3d(0x195)]([_0x2173dd[_0x430b3d(0x1b7)],_0x2173dd[_0x430b3d(0x2b4)],_0x3c5fc8,_0x40c8e9[_0x430b3d(0x2cb)]]);if(this[_0x430b3d(0x3e3)]&&this[_0x430b3d(0x23d)]===_0xe02dc1||(this[_0x430b3d(0x1b8)][_0x430b3d(0x1c9)](_0x3c5fc8,_0x40c8e9[_0x430b3d(0x204)]),this['_closePopup'](),!_0x40c8e9[_0x430b3d(0x2ba)]))return;let _0x222e73=ca(_0x56e635,_0x2173dd['position$'],()=>this[_0x430b3d(0x269)](_0x3c5fc8));if(!_0x222e73[_0x430b3d(0x268)]){_0x222e73[_0x430b3d(0x33d)]();return;}let _0x5bd492=this[_0x430b3d(0x3b1)][_0x430b3d(0x1e7)](_0x222e73[_0x430b3d(0x267)],_0x222e73[_0x430b3d(0x18e)],{'componentKey':_0x1ac861,'constrainToCanvas':!0x0,'direction':_0x430b3d(0x3d0),'offset':[0x0,0x8],'extraProps':{'unitId':_0x2173dd[_0x430b3d(0x1b7)],'subUnitId':_0x2173dd[_0x430b3d(0x2b4)],'chartId':_0x3c5fc8,'drawingId':_0x3c5fc8,'element':_0x56e635['hit'],'target':_0x40c8e9[_0x430b3d(0x2cb)],'adapterKey':la}},_0x2173dd[_0x430b3d(0x1b7)],_0x2173dd[_0x430b3d(0x2b4)])??null;if(!_0x5bd492){_0x222e73[_0x430b3d(0x33d)]();return;}let _0x40dca0=new _0x396c56();_0x40dca0[_0x430b3d(0x248)](_0x5bd492),_0x40dca0['add'](_0x222e73),this[_0x430b3d(0x3e3)]=_0x40dca0,this['_popupChartId']=_0x3c5fc8,this[_0x430b3d(0x23d)]=_0xe02dc1;}[_0x5d1a27(0x123)](){const _0x3eb48b=_0x5d1a27;var _0x4d7602;(_0x4d7602=this[_0x3eb48b(0x3e3)])==null||_0x4d7602[_0x3eb48b(0x33d)](),this[_0x3eb48b(0x3e3)]=null,this[_0x3eb48b(0x247)]=null,this[_0x3eb48b(0x23d)]=null;}[_0x5d1a27(0x36d)](_0x51c87c){const _0x2c65c7=_0x5d1a27;(this[_0x2c65c7(0x1b8)][_0x2c65c7(0x169)](_0x51c87c)||this[_0x2c65c7(0x247)]===_0x51c87c)&&(this[_0x2c65c7(0x1b8)][_0x2c65c7(0x202)](),this['_popupChartId']===_0x51c87c&&this[_0x2c65c7(0x123)]());}[_0x5d1a27(0x269)](_0x512a0a){const _0x1afd20=_0x5d1a27;this[_0x1afd20(0x36d)](_0x512a0a),this[_0x1afd20(0x1b8)]['isElementEditModeActive'](_0x512a0a)&&(this[_0x1afd20(0x214)][_0x1afd20(0x318)](_0x512a0a,!0x1),this[_0x1afd20(0x214)]['setElementEditMode'](_0x512a0a,!0x0));}};ua=K([G(0x0,_0x233312(_0xef00ca)),G(0x1,_0x233312(q)),G(0x2,fi),G(0x3,_0x233312(_0x1ac4ba)),G(0x4,_0x233312(_0x1cd243)),G(0x5,J),G(0x6,_0x233312(_0x4222e1)),G(0x7,_0x23023c),G(0x8,_0x233312(_0x26189f))],ua);let da=class extends _0x23a464{constructor(_0x504c23,_0xd49bcb){const _0x867c8f=_0x5d1a27;super(),this[_0x867c8f(0x1f6)]=_0x504c23,this[_0x867c8f(0x13f)]=_0xd49bcb,this[_0x867c8f(0x370)](),this[_0x867c8f(0x314)]();}[_0x5d1a27(0x370)](){const _0x8427ff=_0x5d1a27;this[_0x8427ff(0x27a)](this[_0x8427ff(0x13f)][_0x8427ff(0x233)]({'PenIcon':_0x54e35}));}['_registerComponents'](){[[Ti,wi]]['forEach'](([_0x407070,_0x2acc82])=>{const _0x449dba=_0x14cc;this[_0x449dba(0x27a)](this['_componentManager']['register'](_0x407070,_0x2acc82));});}};da=K([G(0x0,_0x233312(_0x59c972)),G(0x1,_0x233312(_0x448b57))],da);let $=class extends _0x48bc1a{constructor(_0x19f4e3=wr,_0xd00b1,_0x3564f9,_0x3230c4){const _0x4be0dc=_0x5d1a27;super(),this[_0x4be0dc(0x199)]=_0x19f4e3,this['_injector']=_0xd00b1,this['_configService']=_0x3564f9,this[_0x4be0dc(0x3c7)]=_0x3230c4,U(this,'_resolvedConfig',void 0x0);let {..._0x2375ee}=_0x11f8eb({},wr,this[_0x4be0dc(0x199)]);this[_0x4be0dc(0x2b3)]=_0x2375ee,this[_0x4be0dc(0x1d2)][_0x4be0dc(0x154)](Cr,_0x2375ee),this[_0x4be0dc(0x125)]();}[_0x5d1a27(0x2c7)](){const _0x54ca65=_0x5d1a27;this[_0x54ca65(0x305)][_0x54ca65(0x248)]([da]),this[_0x54ca65(0x305)][_0x54ca65(0x3a6)](da);let _0x63f4c=this[_0x54ca65(0x305)],_0x3531cc=[[J,{'useClass':gi}],[fi,{'useClass':di}],[ii],[q],[Z],[Ai],[X],[Ni],[qi],[zi],[Ji]],_0x5007e1=[[Ai],[Ni],[X],[Z],[J],[qi],[zi],[Ji]];this[_0x54ca65(0x2b3)][_0x54ca65(0x245)]&&(_0x3531cc['push']([ua]),_0x5007e1['push']([ua])),_0x3531cc['forEach'](_0x5b699d=>_0x63f4c[_0x54ca65(0x248)](_0x5b699d)),_0x5b8a57(this[_0x54ca65(0x305)],_0x5007e1);}[_0x5d1a27(0x328)](){const _0x5c25c9=_0x5d1a27;var _0x4c3b38;(_0x4c3b38=this[_0x5c25c9(0x305)][_0x5c25c9(0x3a6)](Ai))==null||_0x4c3b38['initPanel']();}[_0x5d1a27(0x125)](){const _0x4a6ad5=_0x5d1a27;[H,Or,kr,Ar,jr,V,Tr][_0x4a6ad5(0x1e0)](_0x3703a9=>this['disposeWithMe'](this[_0x4a6ad5(0x3c7)]['registerCommand'](_0x3703a9)));}};U($,'type',_0x2a3654['UNIVER_SHEET']),U($,_0x5d1a27(0x255),'UniverSheetsChartUIPlugin'),U($,_0x5d1a27(0x280),ji),U($,'version',Mi),$=K([_0x5da506(_0x18ed5a,_0x5eca96,_0x2c2309,_0x282fcb,_0x180756,_0x5af706,_0x5a4ecb,_0x4e1419,_0x43225f),G(0x1,_0x233312(_0x26189f)),G(0x2,_0x332790),G(0x3,_0x23023c)],$);export{V as ChartOpenPanelOperation,q as ChartRenderService,J as ISheetsChartUIService,Cr as SHEETS_CHART_UI_PLUGIN_CONFIG_KEY,Ai as SheetsChartUIController,Ur as SheetsChartUIMenuSchema,gi as SheetsChartUIService,Q as UniverSheetsChartMobileUIPlugin,$ as UniverSheetsChartUIPlugin,ca as createChartElementPopupAnchorObserver};