@univerjs-pro/sheets-chart-ui 1.4.0 → 1.5.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (103) hide show
  1. package/README.md +9 -7
  2. package/lib/cjs/index.js +1 -1
  3. package/lib/cjs/locale/ar-SA.js +1 -1
  4. package/lib/cjs/locale/ca-ES.js +1 -1
  5. package/lib/cjs/locale/de-DE.js +1 -1
  6. package/lib/cjs/locale/en-US.js +1 -1
  7. package/lib/cjs/locale/es-ES.js +1 -1
  8. package/lib/cjs/locale/fa-IR.js +1 -1
  9. package/lib/cjs/locale/fr-FR.js +1 -1
  10. package/lib/cjs/locale/id-ID.js +1 -1
  11. package/lib/cjs/locale/it-IT.js +1 -1
  12. package/lib/cjs/locale/ja-JP.js +1 -1
  13. package/lib/cjs/locale/ko-KR.js +1 -1
  14. package/lib/cjs/locale/pl-PL.js +1 -1
  15. package/lib/cjs/locale/pt-BR.js +1 -1
  16. package/lib/cjs/locale/ru-RU.js +1 -1
  17. package/lib/cjs/locale/sk-SK.js +1 -1
  18. package/lib/cjs/locale/vi-VN.js +1 -1
  19. package/lib/cjs/locale/zh-CN.js +1 -1
  20. package/lib/cjs/locale/zh-HK.js +1 -1
  21. package/lib/cjs/locale/zh-TW.js +1 -1
  22. package/lib/es/index.js +1 -1
  23. package/lib/es/locale/ar-SA.js +1 -1
  24. package/lib/es/locale/ca-ES.js +1 -1
  25. package/lib/es/locale/de-DE.js +1 -1
  26. package/lib/es/locale/en-US.js +1 -1
  27. package/lib/es/locale/es-ES.js +1 -1
  28. package/lib/es/locale/fa-IR.js +1 -1
  29. package/lib/es/locale/fr-FR.js +1 -1
  30. package/lib/es/locale/id-ID.js +1 -1
  31. package/lib/es/locale/it-IT.js +1 -1
  32. package/lib/es/locale/ja-JP.js +1 -1
  33. package/lib/es/locale/ko-KR.js +1 -1
  34. package/lib/es/locale/pl-PL.js +1 -1
  35. package/lib/es/locale/pt-BR.js +1 -1
  36. package/lib/es/locale/ru-RU.js +1 -1
  37. package/lib/es/locale/sk-SK.js +1 -1
  38. package/lib/es/locale/vi-VN.js +1 -1
  39. package/lib/es/locale/zh-CN.js +1 -1
  40. package/lib/es/locale/zh-HK.js +1 -1
  41. package/lib/es/locale/zh-TW.js +1 -1
  42. package/lib/index.css +33 -0
  43. package/lib/index.js +1 -1
  44. package/lib/locale/ar-SA.js +1 -1
  45. package/lib/locale/ca-ES.js +1 -1
  46. package/lib/locale/de-DE.js +1 -1
  47. package/lib/locale/en-US.js +1 -1
  48. package/lib/locale/es-ES.js +1 -1
  49. package/lib/locale/fa-IR.js +1 -1
  50. package/lib/locale/fr-FR.js +1 -1
  51. package/lib/locale/id-ID.js +1 -1
  52. package/lib/locale/it-IT.js +1 -1
  53. package/lib/locale/ja-JP.js +1 -1
  54. package/lib/locale/ko-KR.js +1 -1
  55. package/lib/locale/pl-PL.js +1 -1
  56. package/lib/locale/pt-BR.js +1 -1
  57. package/lib/locale/ru-RU.js +1 -1
  58. package/lib/locale/sk-SK.js +1 -1
  59. package/lib/locale/vi-VN.js +1 -1
  60. package/lib/locale/zh-CN.js +1 -1
  61. package/lib/locale/zh-HK.js +1 -1
  62. package/lib/locale/zh-TW.js +1 -1
  63. package/lib/types/commands/commands/sheet-chart-menu.command.d.ts +3 -1
  64. package/lib/types/commands/operations/open-move-chart-dialog.operation.d.ts +4 -0
  65. package/lib/types/controllers/chart-render.controller.d.ts +4 -1
  66. package/lib/types/controllers/chart-sheet-ui.controller.d.ts +31 -0
  67. package/lib/types/controllers/sheets-chart-clipboard.controller.d.ts +11 -3
  68. package/lib/types/controllers/ui.controller.d.ts +3 -0
  69. package/lib/types/locale/en-US.d.ts +22 -0
  70. package/lib/types/menu/chart-sheet-menu.d.ts +6 -0
  71. package/lib/types/menu/chart-sheet-schema.d.ts +3 -0
  72. package/lib/types/services/chart-image-rect.d.ts +2 -1
  73. package/lib/types/services/chart-render.service.d.ts +26 -7
  74. package/lib/types/services/chart-sheet-presentation.d.ts +9 -0
  75. package/lib/types/services/chart-sheet-render.service.d.ts +39 -0
  76. package/lib/types/services/sheet-chart-host.d.ts +2 -1
  77. package/lib/types/services/sheet-image-chart-host.d.ts +4 -9
  78. package/lib/types/services/sheets-chart-host-provider.service.d.ts +10 -4
  79. package/lib/types/services/sheets-chart-ui.service.d.ts +12 -2
  80. package/lib/types/views/move-chart/MoveChartDialog.d.ts +6 -0
  81. package/lib/umd/index.js +1 -1
  82. package/lib/umd/locale/ar-SA.js +1 -1
  83. package/lib/umd/locale/ca-ES.js +1 -1
  84. package/lib/umd/locale/de-DE.js +1 -1
  85. package/lib/umd/locale/en-US.js +1 -1
  86. package/lib/umd/locale/es-ES.js +1 -1
  87. package/lib/umd/locale/fa-IR.js +1 -1
  88. package/lib/umd/locale/fr-FR.js +1 -1
  89. package/lib/umd/locale/id-ID.js +1 -1
  90. package/lib/umd/locale/it-IT.js +1 -1
  91. package/lib/umd/locale/ja-JP.js +1 -1
  92. package/lib/umd/locale/ko-KR.js +1 -1
  93. package/lib/umd/locale/pl-PL.js +1 -1
  94. package/lib/umd/locale/pt-BR.js +1 -1
  95. package/lib/umd/locale/ru-RU.js +1 -1
  96. package/lib/umd/locale/sk-SK.js +1 -1
  97. package/lib/umd/locale/vi-VN.js +1 -1
  98. package/lib/umd/locale/zh-CN.js +1 -1
  99. package/lib/umd/locale/zh-HK.js +1 -1
  100. package/lib/umd/locale/zh-TW.js +1 -1
  101. package/package.json +25 -20
  102. package/lib/types/controllers/chart-sheet-change.controller.d.ts +0 -13
  103. package/lib/types/controllers/chart-sheet-copy-plan.d.ts +0 -16
package/lib/umd/index.js CHANGED
@@ -1 +1 @@
1
- function _0x4020(_0x195abb,_0x1e3d83){_0x195abb=_0x195abb-0x177;const _0xc90910=_0xc909();let _0x40207c=_0xc90910[_0x195abb];return _0x40207c;}function _0xc909(){const _0x3b951b=['depthAxis','exportImg','chartModelAdded$','LineAndArea','IChartRenderModelManagerService','_activateEditPanelState','DRAWING_CHART','CHART_HOST_BORDER_RADIUS','_onChange','transformer','SheetsSelectionsService','featurePluginOrderUpdate$','_requestPaint','getOwnPropertyDescriptor','_focusedDrawings','_univerInstanceService','_urlImage','IUniverInstanceService','UniverDrawingPlugin','IndicatorLine','CHART_DATA_UPDATE_ANIMATION_DURATION','_pendingToken','buildChartTypeSelectOptions','arc','position$','OPERATION','MobileChartEditorProvider','RemoveSheetCommand','sheet.command.chart.export-focused-image','isLatest','_getOuterRect','activeChartModel$','_init','ChartSectionAccordion','[ChartRender]\x20Failed\x20to\x20render\x20chart\x20snapshot\x20for\x20printing','3PngfbD','_activateHostWrapper','_sidebarDisposable','univer-flex\x20univer-flex-col\x20univer-gap-3\x20univer-pb-5','sheets-chart-ui.section.treemap','CommandType','Boxplot','matchToken','pointerId','MEDIA','@univerjs-pro/engine-chart','pairwise','ChartImageExportFormat','getFocusDrawings','_dataUpdateAnimationDuration','getRenderColor','forEach','_sheetsChartUIService','_initActiveRuntimeLayerListener','Checkbox','Radar','sheets-chart-ui.chartTypes.line','ChartEditPanelTab','hadStyleAttribute','lineTo','sheets-chart-ui.common.deleteChart','SHEETS_CHART_UI_PLUGIN_CONFIG_KEY','removeAttribute','_chartHostProvider','type','_canvasFloatDomService','min','ICommandService','split','getElementById','_initCommands','_restoreHostWrapper','isArray','makeDirty','SheetPermissionCheckController','_iconManager','multiply','colorChannel1','DRAWING_OBJECT_LAYER_INDEX','mobile-sheet-chart-setup-panel','close','_chartModelService','_chartEventHandlers','getPropertyPriority','_panelInitialized','then','keys','ParetoBarSeries','_resolveLayout','rangeSelectMode','_chartThemeService','_markNotReady','_prepareDataUpdateRender','ContextMenuPosition','viewBound','promise','_bindChartEventHandler','getRect','number','matchMedia','PenIcon','RemoveSheetDrawingCommand','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','defaultValues','getAllowedChartTypes','DEFAULT_CHART_PARETO_VALUES','chartType','titleKey','combineLatest','naturalHeight','_registerIcons','path','dataSource','syncLayout','sidebarOptions$','domLayers','getContextValue','renderChartsForPrinting','subscribe','segmented','_sheetInterceptorService','sheet-chart-setup-panel','_version','ChartLegendSection','getUnitId','_initMenus','prototype','evented','DownloadImageIcon','max','_applyHostStyle','sheets-chart-ui.section.wordCloud','getMatrix','map','iterator','Series','sheets-chart-ui.common.switchRowColumn','next','_resetChartRuntimeZIndex','scheduler','COPY_TYPE','SheetDrawingHitTestService','getBatchRemoveOp','sheets-chart-ui.common.trendline','items','getFocusedUnit','_disposeChartDomInstance','useState','DEFAULT_CHART_SERIES_VALUES','deriveStateFromActiveSheet$','clientWidth','remove','sheets-chart-ui.common.editChart','url','scroll','Subtotal','priority','_canAnimateDataUpdate','dataUrl','.png','context','Dom','28494gAMBFd','M12.666\x202.70571C11.7769\x201.76476\x2010.3295\x201.76476\x209.4404\x202.70571L3.37843\x209.12427C3.31779\x209.18848\x203.27756\x209.26409\x203.24979\x209.3439C3.24809\x209.3493\x203.24299\x209.3529\x203.24129\x209.3583L2.02912\x2013.2097C1.96112\x2013.4251\x202.01439\x2013.6633\x202.16626\x2013.8236C2.27393\x2013.9382\x202.41901\x2014\x202.56692\x2014C2.62699\x2014\x202.68762\x2013.9898\x202.74599\x2013.9688L6.3825\x2012.6846C6.3876\x2012.6828\x206.391\x2012.678\x206.39553\x2012.6762C6.47147\x2012.6474\x206.54287\x2012.6042\x206.60351\x2012.54L12.666\x206.12202C13.5558\x205.18048\x2013.5558\x203.64725\x2012.666\x202.70571ZM8.62832\x205.26209L9.04031\x205.69836C9.03918\x205.69956\x209.03748\x205.70016\x209.03634\x205.70136L4.99182\x209.9836L4.58096\x209.54853L8.62832\x205.26209ZM3.46287\x2012.4512L4.02673\x2010.6593L5.15446\x2011.8535L3.46287\x2012.4512ZM6.20342\x2011.2672L5.79256\x2010.8321L9.83709\x206.54988C9.83822\x206.54868\x209.83879\x206.54688\x209.83992\x206.54568L10.2513\x206.98135L6.20342\x2011.2672ZM11.8647\x205.27349L11.0532\x206.13282L9.42963\x204.41356L10.2411\x203.55423C10.6888\x203.08016\x2011.417\x203.08076\x2011.8642\x203.55423C12.3124\x204.0283\x2012.3124\x204.79942\x2011.8647\x205.27349Z','UniverRenderEnginePlugin','defineProperty','Inject','_pending','Canceled\x20waiting\x20for\x20float\x20dom\x20host\x20\x22','_rect','attachPopupToDynamicAbsolutePosition','openChartPanelById','ChartEditorTabs','setChartEditorOpen','getCanvasElement','_chartRenderMode','_getOrCreateChartRenderInstance','removeEventListener','Image','Treemap','getActiveSheet','sheets-chart-ui.common.horizontalAxis','@univerjs/sheets','_isOwnedChart','blockExecuteWithoutPermission','_gesture','style','remove$','series','_config','setImage','strokeWidth','ChartTitlesSection','isReleased','sheets-chart-ui.common.useAsCategoryLabels','Canvas','_requestChartCanvasRender','attachRangeWithCoord','tab','IconManager','Gauge','setDataRange','context$','_registerAdapter','addObject','Relation','DependentOn','ChartStyle','labelId','sheets-chart-ui.common.category','_createPrintingChartObject','_rerenderLatest','UniverDesign','ISidebarService','InsertSheetsChartMutation','_generatePasteMutations','debounceTime','dataSource$','deserializeRangeWithSheet','getParent','entries','_readGeometry','save','OVERRIDE_NATIVE','_popupChartId','afterRender$','_isChartElementEditEnabled','sheets-chart-ui.section.relation','Fragment','sheets-chart-ui.chartTypes.','decorate','useDependency','string','getRenderModel','isConnected','onPointerUp','SheetsChartService','flatMap','transparent','@univerjs/drawing','DrawingTypeEnum','logicalOuterRect','_snapshotKey','function','rightY','innerHeight','_sheetCanvasFloatDomManagerService','sheets-chart-ui.common.copy','resourceCollector','createElement','UniverInstanceType','UniverLicensePlugin','_pointerEvents','renderTransition','isHit','UniverDrawingUi','debounce','getChartDataSource','DisposableCollection','_activeChartId','sheet.chart.edit.panel','RENDER_CLASS_TYPE','clear','sheet.command.chart.copy-focused-chart','_lastRenderInputMap','ChartHostAdapter','getValue','getChartModel','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','Observable','_markReady','sheets-chart-ui.section.histogram','_keepChartCapture','_pendingHost','showFloatMenu','@univerjs-pro/sheets-chart-ui','sheets-chart.ui.service','SetDrawingApplyMutation','exportImage','6776jEtvJU','add','attrs','getInterceptPoints','getDrawingShapeKeyByDrawingSearch','_requestedUrl','featurePluginGroupUpdate$','setContextValue','IMenuManagerService','1em','matches','scaleY','take','sheets-chart-ui.common.chartStyle','target','transformChange$','innerWidth','image','click','_drawChartImage','ChartSetupPanel','config$','rangeInfo','inactive-sheet','_pendingUrlImage','sheets-chart-ui.common.chart','category','_getChartRenderObjectContext','assign','amd','getMenuHiddenObservable','@univerjs/engine-render','_openEditPanelByDoubleClick','References','includes','updateFloatDom','clearPanelRoute','ChartDomFrame','_cancelGesture','useRef','_executeChartUpdateSourceConfig','ChartWaterfallStyleSection','insertGroupObject','_getHostPlacement','DeleteIcon','PRINTING_COMPONENT_COLLECT','href','Url','Candlestick','ISheetDrawingService','removeHost','getTransformerByCreate','Funnel','subscribeEvent','getCurrentTypeOfUnit$','stroke-width','hasPointerCapture','CHART_TYPE_CATALOG','throttleTime','ChartAndAxisTitles','objects','current','DEFAULT_CHART_INDICATOR_LINE_VALUES','toFixed','resolveChartCreationIntent','_chartHostMap','sheets-chart-ui.common.chartAndAxisTitles','mountNode','_handleDrawingDoubleClick','idSuffix','render','clearImage','removeProperty','UniverProSheetsChart','univer-overflow-visible','ensureMount','sheets-chart-ui.section.gridlinesAndTicks','ChartSectionAccordionTrigger','_restoreFloatDomPositionStream','DEFAULT_CHART_TITLE_VALUES','_openPanel','removeHost$','KeyCode','COMMA','MenuItemType','ChartThreeDSection','addEventListener','getFloatDomInfo','_panelRoute$','heatmap','setConfig','getDirection','Disposable','useObservable','ChartEditorCapability','color','add$','getName','SHEETS_CHART_PLUGIN_NAME','InsertChartCommand','@univerjs/drawing-ui','hit','activeChartModel','parentElement','registerFeatureMenu','chartEditorOpen','ThemeService','sheetChartDataAnimation','ChartIcon','finally','markHostNotReady','chartBitsUtils','syncHostLayout','globalAlpha','Row','getSkeleton','isInGroup','pointerEvents','getUnit','_disposeChartEventSubscription','#-#','options','setObjectType','-univer-mx-4','RightVerticalAxis','_themeService','sheets-chart-ui.section.gauge','ensureHandle','SheetInterceptorService','ChartRenderMode','WordCloud','find','DrawingApplyType','merge','value','panelRoute$','pluginName','_setHostStyle','_deactivateEditPanelState','ChartRelationStyleSection','unitId','_applyActiveChartRuntimeZIndex','children','ContextMenuGroup','BehaviorSubject','focused$','defIds','getRuntimeContext','React','UniverSheetsChartUIPlugin','hasAttribute','getChartPopupMenus','scaleX','BUTTON','_entries','FOCUSING_PANEL_EDITOR','ChartSeriesSection','_domFrame','generateRandomId','width','switchMap','download','DEFAULT_CHART_PIE_VALUES','assignStyle','endsWith','interceptor','_popupDisposable','_resolveChartRenderMode','handleActiveSubUnitChange','section','sheets-chart-ui.common.insertChart','_pendingDataUpdateChartIds','Line','_localeService','invalidateSnapshot','CopySheetCommand','div','chartTypeCanUseTrendLine','markNotReady','drawingType','releasePointerCapture','toPrimitive','isValidRange','height','_rangeSelectMode','copyType','UNIVER_SHEET','Waterfall','setProps','pointercancel','resolveChartStyleBackgroundColor','_registerComponents','getSubUnitId','delete','_chartChangeSubscriptions','drawImage','IConfigService','_savedWrapperStyle','SheetsChartUIMenuSchema','anonymous','top','getPropertyValue','transformToDrawingPosition','ChartHeatmapStyleSection','getSheetId','_sheetDrawingService','UniverChartUIPlugin','sheets-chart-ui.section.chord','ChartImageExportService','_activeDomReadyChartIds','addClipboardHook','_frameStyle','defer','CUT','dom','plotVisibleOnly','ChartRadarStyleSection','(prefers-reduced-motion:\x20reduce)','isRowDirection','indicatorLine','setPanelRoute','NativeTextEditorShortcutBehavior','baseVal','error','getSheetBySheetName','toStringTag','all','ChartParetoSeriesSection','source','abs','distinctUntilChanged','circle,\x20ellipse,\x20line,\x20path,\x20polygon,\x20polyline,\x20rect,\x20text,\x20textPath,\x20tspan,\x20use','Trendline','_initActiveChartModelListener','3xGtUxb','clip','.chart-host','_notifyChartRemoved','LocaleService','ChartFrameContentMode','sheets-chart-ui.waterfall.subtotal','missing-float-dom','_callback','cancelPending','supports','true','_bindChartEventHandlers','_closePopup','sheets-chart-ui.common.series','onDispose','IDrawingManagerService','sheets-chart-ui.section.pie','CHART','1000','clearChart','_initDrawingDeactivationListener','format','nextVersion','axis','7764RlaYhO','createChartInstance','style$','545dTuRrr','domId','useCallback','_scheduleDataUpdateAnimationEnd','UniverSheetsUi','cancel','SheetCopyCommand','strokeOpacity','Injector','waterfallStyle','Sunburst','Chord','sheets-chart-ui.common.rightVerticalAxis','PREDEFINED_HOOK_NAME','DEFAULT_CHART_WATERFALL_STYLE_VALUES','sheets-chart-ui.common.dataRange','sheets-chart-ui.chartTypes.area','-univer-mx-4\x20univer-overflow-visible','indexOf','_scheduler','sheets-chart-ui.common.verticalAxis','WorksheetEditPermission','ObjectType','titles','xlink:href','zIndex','range','naturalWidth','Timed\x20out\x20waiting\x20for\x20float\x20dom\x20host\x20\x22','COMMAND','displayName','_snapshotStore','chartEditorOpen$','opacity','REMOVE','ImageBitmap','restore','@univerjs/sheets-drawing','RTLChartStyle','_clearPendingUrlImage','darkMode$','_renderService','EChartRenderEngineName','OTHERS','element','direction$','_menuManagerService','_alignFloatDomPositionWithSceneRender','with','complete','Style','_removeHost$','pieSecondaryPlotType','disconnect','getSheetBySheetId','enableChartElementFloatMenu','_renderChartModel','sheets-chart-ui.common.showHiddenData','_renderWhenConfigReady','copyId','Subject','getConfig','_resizeChart','getCurrentRangeDisable$','ChartEditBlockTitle','sheetChartDataAnimationDuration','initPanel','UniverSheetsPlugin','SheetCanvasFloatDomManagerService','length','nativeEvent','RibbonInsertGroup','Bubble','ENTER','_shouldEnableChartElementEdit','call','dblclick','_sheetsChartService','ChartIndicatorLineSection','_createChartRenderInstanceContext','Heatmap','request','absolute','rightYAxis','querySelectorAll','@univerjs/sheets-drawing-ui','RemoveSheetsChartMutation','SheetsChartUIController','getBatchAddOp','checkMounted','transform','getDrawingOrder','visibilityState','Pie','chartTypeSupportsLineAndAreaStyle','onerror','replace','useImperativeHandle','originalStrokeWidth','resolveChartElementSelection','emitChartEvent','sheet-chart-style-panel','@univerjs/ui','_applyHostInteractionState','_generateCutPasteMutations','UniverSheetsDrawingUi','_getSceneAndTransformerByDrawingSearch','sheets-chart-ui.section.sunburst','verify','_getFloatDomInfo','flush','_waiter','Legend','ChartNumberFormatAtom','sheets-chart-ui.chord.target','CHART_ELEMENT_FLOAT_MENU_COMPONENT','_chartEventSubscriptions','getDrawingData','legend','forwardRef','register','_managed','getBoundingClientRect','sheets-chart-ui.permission.editErr','ChartThemeService','_debounceHandleMap','_sheetPrintInterceptorService','_renderModelManager','VerticalAxis','_shouldSuppressRender','_sheetDrawingHitTestService','_bindPointerEvents','concat','executeCommand','_disposeChartEventSubscriptions','GridlinesAndTicks','524493XZREFy','hidePanel','ChartTypeBits','1167509HqHBPb','groupId','ImageChartHost','numberToABC','UniverSheetsMobileUIPlugin','none','drawingId','_listenChartUpdateMutations','non-scaling-stroke','print','DEFAULT_CHART_LINE_AND_AREA_VALUES','ancestorTransform','_clearPanelState','push','sourceSubUnitId','sheets-chart-ui.section.waterfall','mobile-sheet-chart-style-panel','sheetTransform','ChartSourceHeaderTitleType','mask','WorkbookEditablePermission','_contextService','object','serializeRangeWithSheet','UniverSheetsDrawingMobileUIPlugin','lineAndArea','updateFloatDomProps','UniverProSheetsChartUi','focusDrawing','requestPaint','_chartRenderService','_drawingManagerService','allSettled','onPointerDown','ensureHost','_isProviderDisposed','useEffect','removeChartModel','disposeWithMe','skip','getSheetCommandTarget','sheets-chart-ui.waterfall.negative','from','_getChartRenderSkipReason','visible','auto','@univerjs-pro/chart-ui','_chartEditorOpen$','startWith','_loadUrlImage','bottom','invert','ComponentManager','filter','onRendered','_chartHostProviderService','offsetHeight','baseOn','executeChartUpdateConfig','_cancelDebouncedCallbacks','touchDependencies','getDrawingByParam','getRenderUnitById','getRangeInfo','animateDataUpdate','_deactivateDataUpdateAnimation','onPointerMove','ChartUIService','jsxs','_chartSnapshotStoreService','_disposeChartRenderInstance','UniverUi','_hostStyle','_running','_draw','some','undo','border','react/jsx-runtime','_disposeImage','sheets-chart-ui.section.funnel','bounds','_commandService','parseFloat','_addWatermark','FOCUSING_COMMON_DRAWINGS','closePath','small','_createHost','_cancelHostWait','_sheetClipboardService','_notifySheetChartsDetached','Bar','createRuntimeChartStyle','engine','toDisposable','right','_disposeChartChangeListeners','fromEntries','setOrientation','80fxsTex','label','_disposed','ChartStyleSection','ChartRenderService','_updateTransform','Pareto','ChartAxisSection','setPointerCapture','DEFAULT_CHART_FUNNEL_VALUES','chartTypeSupportsCapability','values','imageBitmap','getObject','rangeInfo$','resolve','_getOrCreateSheetChartHost','endY','\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','moveX','_clearSelectedTarget','ChartSectionAccordionItem','radar','chartModelId','Fail\x20to\x20create\x20float\x20dom','getImage','sheets-chart-ui.section.paretoBar','header','canvas','ChartEditPanelSection','chartObject','dataset','Combination','_getDrawable','relation','asObservable','top-center','onStarting','2507396iStyoe','_chartElementEditMode','SHEET_CHART_RENDER_OBJECT_CONFIG','update','sheets-chart-ui.common.customize','radius','UniverDrawing','get','barStyle','Column','SheetCanvasPopManagerService','constructor','_clearHiddenSelectedTarget','getCurrentUnitOfType','INSERT','defs','_subscribeChartEvents','univer-flex\x20univer-min-h-full\x20univer-w-full\x20univer-flex-col\x20univer-bg-gray-0\x20dark:!univer-bg-gray-900','_chartUIService','localPoint','getChartSourceSpec','_dataUpdateAnimationChartIds','useId','Overlay','_createCopyInfoByRange','serialize','route','sheetDisposed$','classType','UniverIcon','focus$','@univerjs/sheets-ui','_initCopyPaste','getHostSize','initialRect','set','_resolvedConfig','_sheetSkeletonService','IContextService','_getPlacement','mode','DRAWING','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','Transform','anchorRect$','DEFAULT_PASTE','_setChartRuntimeZIndex','sheets-chart-ui.common.exportImage','ChartWordCloudStyleSection','getCurrentLastSelection','Reference','checkChartCanRender','Scatter','UniverMobileUIPlugin','_original','sheets-chart-ui.config','isManaged','_chartInstanceMap','moveTo','isElementEditModeActive','version','Button','univer-my-1\x20univer-text-xs\x20univer-text-red-500','offsetWidth','ChartFrameLayout','GROUP','ChartModelService','trim','HorizontalAxis','ChartUpdateConfigMutation','SVG','seriesId','contains','_initPrinting','missing-active-sheet','univer-flex\x20univer-flex-col\x20univer-gap-3','onload','featurePluginUngroupUpdate$','_image','_popupSessionKey','UniverProLicense','SheetSkeletonManagerService','_injector','name','sheetId','clientHeight','3197592yuJSqx','useChartEditorChartType','scene','SheetChartConfigAdapter','registerRenderObjectFactory','_copyInfo','open','clientX','tag','61434DzudEg','DEFAULT_CHART_AXIS_VALUES','_debounceHandle','createIdentifier','ChartUpdateConfigCommand','permissionCheckWithoutRange','resolveChartEditPanelRoute','symbol','onCommandExecuted','setActiveChartModel','url(#$1','startY','preventDefault','commitSnapshot','getOrCreateDrawingCopyPlan','ChartViewStateRegistry','1.4.0','applyPoint','_componentManager','Rect','data$','ChartImageSourceType','_getCurrentSnapshotImage','_pendingMutationConfigRenders','has','_getChartSnapshotKey','@univerjs-pro/license','useMemo','_markHostReady','ChartUpdateSourceCommand','CopyDoubleIcon','PieSecondaryPlotType','toInsertChartMutationSource','_getChartRenderObject','onTransformChange$','_drawChartFrame','UPDATE','cumulativeLineStyle','fromEvent','react','DEFAULT_CHART_TRENDLINE_VALUES','_getImage','allSeriesStyle','_suppressClick','DEFAULT_CHART_STYLE_VALUES','_sheetCanvasPopManagerService','UniverSheetsDrawingPlugin','Data','ChartTypeSpecificStyleSection','lostpointercapture','_configService','stroke','startX','_geometry','setStyle','_lastActiveSheet','appliedStrokeWidth','pipe','GeneralSeries','drawingIds','Area','startColumn','dispose','chartId','setProperty','http://www.w3.org/2000/svg','univer-shrink-0','offsetLeft','getObjectIncludeInGroup','changing$','checkHost','_renderAfterChartUpdateMutation','_bindChartPointerEvents','sheets-chart-ui.common.openChartPanel','left','ChartSectionAccordionContent','funnel','setElementEditMode','translate','_adapterRegistry','changeEnd$','sheets-chart-ui.host.provider','_releaseGesture','detach','rect','jsx','_createImageChartHost','UniverSheetsChartPlugin','setHostStyle','withLatestFrom','ChartOpenPanelOperation','pen-icon','interceptCommand','resolveChartRuntimeStyle','sheets-chart-ui.waterfall.positive','sheet.operation.open-chart-panel','_openFloatMenu','combineLatestWith','use','config','_sidebarService','event','getChartSnapshotImage','_generateCopyPasteMutations','createChartElementFloatMenuAdapter','DEFAULT_CHART_HEATMAP_VALUES','wordCloud','getHostClientRect','_renderDebounceMap','_frame','UniverSheetsChartMobileUIPlugin','hasOwnProperty','_sheetPermissionCheckController','offsetTop','subUnitId','_registerChartImageRenderObjectFactory','startRow','_dataUpdateAnimationTimers','_initPermission','Axes','registerCommand','fill','svg','DataOrientation','ChartEditorProvider','onDoubleClick$','SHEETS_CHART_PLUGIN_CONFIG_KEY','redo','packageName','create','sheets-chart-ui.common.hideChartPanel','_renderManagerService','setDataUpdateAnimation','img','_initSheetChange','Plugin','select','idMap','parent','_url','@univerjs/core','IRenderManagerService','params'];_0xc909=function(){return _0x3b951b;};return _0xc909();}(function(_0x3cdbbb,_0x3dddee){const _0x23e61a=_0x4020,_0x160daa=_0x3cdbbb();while(!![]){try{const _0x12095f=-parseInt(_0x23e61a(0x54c))/0x1*(parseInt(_0x23e61a(0x49a))/0x2)+parseInt(_0x23e61a(0x30a))/0x3*(parseInt(_0x23e61a(0x43b))/0x4)+parseInt(_0x23e61a(0x326))/0x5*(-parseInt(_0x23e61a(0x1ab))/0x6)+-parseInt(_0x23e61a(0x3b1))/0x7+-parseInt(_0x23e61a(0x491))/0x8+-parseInt(_0x23e61a(0x3ae))/0x9*(-parseInt(_0x23e61a(0x415))/0xa)+parseInt(_0x23e61a(0x220))/0xb*(parseInt(_0x23e61a(0x323))/0xc);if(_0x12095f===_0x3dddee)break;else _0x160daa['push'](_0x160daa['shift']());}catch(_0x2b54d6){_0x160daa['push'](_0x160daa['shift']());}}}(_0xc909,0x4cfcb),function(_0x2c7c3b,_0x4b6bb9){const _0x347958=_0x4020;typeof exports==_0x347958(0x3c7)&&typeof module<'u'?_0x4b6bb9(exports,require('@univerjs/core'),require('@univerjs-pro/sheets-chart'),require('@univerjs/drawing'),require('@univerjs/sheets-drawing'),require('@univerjs/sheets-drawing-ui'),require('@univerjs/sheets-ui'),require('@univerjs/ui'),require('rxjs'),require('@univerjs-pro/chart-ui'),require('@univerjs-pro/engine-chart'),require('@univerjs/sheets'),require('@univerjs/engine-formula'),require('react'),require('@univerjs/design'),require('@univerjs/sheets-formula-ui'),require('react/jsx-runtime'),require('@univerjs/drawing-ui'),require('@univerjs/engine-render'),require('@univerjs-pro/license')):typeof define==_0x347958(0x1fc)&&define[_0x347958(0x23d)]?define(['exports',_0x347958(0x526),'@univerjs-pro/sheets-chart',_0x347958(0x1f8),_0x347958(0x34b),_0x347958(0x37b),_0x347958(0x45a),_0x347958(0x38c),'rxjs',_0x347958(0x3df),_0x347958(0x556),_0x347958(0x1bf),'@univerjs/engine-formula',_0x347958(0x4c1),'@univerjs/design','@univerjs/sheets-formula-ui',_0x347958(0x3ff),_0x347958(0x284),_0x347958(0x23f),_0x347958(0x4b4)],_0x4b6bb9):(_0x2c7c3b=typeof globalThis<'u'?globalThis:_0x2c7c3b||self,_0x4b6bb9(_0x2c7c3b[_0x347958(0x3cc)]={},_0x2c7c3b['UniverCore'],_0x2c7c3b[_0x347958(0x269)],_0x2c7c3b[_0x347958(0x441)],_0x2c7c3b['UniverSheetsDrawing'],_0x2c7c3b[_0x347958(0x38f)],_0x2c7c3b[_0x347958(0x32a)],_0x2c7c3b[_0x347958(0x3f8)],_0x2c7c3b['rxjs'],_0x2c7c3b['UniverProChartUi'],_0x2c7c3b['UniverProEngineChart'],_0x2c7c3b['UniverSheets'],_0x2c7c3b['UniverEngineFormula'],_0x2c7c3b[_0x347958(0x2b4)],_0x2c7c3b[_0x347958(0x1dd)],_0x2c7c3b['UniverSheetsFormulaUi'],_0x2c7c3b[_0x347958(0x2b4)],_0x2c7c3b[_0x347958(0x208)],_0x2c7c3b['UniverEngineRender'],_0x2c7c3b[_0x347958(0x48b)]));}(this,function(_0x30b554,_0x1ba070,_0x113ca7,_0x135c9c,_0x302521,_0x2cd04e,_0x53e756,_0x21688c,_0x5e3636,_0x37f706,_0x214e0a,_0x4a6d0b,_0x5f0a10,_0x119d22,_0x2b4c09,_0x33c938,_0x4da08e,_0xad66ff,_0x1d47e2,_0x427f18){const _0x185be1=_0x4020;Object[_0x185be1(0x1ae)](_0x30b554,Symbol[_0x185be1(0x301)],{'value':'Module'});let _0x272d7b={'type':_0x1ba070['CommandType'][_0x185be1(0x542)],'id':_0x185be1(0x4f9),'handler'(){return!0x0;}},_0x130aa7=_0x185be1(0x472),_0x3e134f={'enableChartElementFloatMenu':!0x0},_0x3007d3={'type':_0x1ba070[_0x185be1(0x551)]['OPERATION'],'id':'sheet.operation.hide-chart-panel','handler'(){return!0x0;}};function _0xf9815d(_0x1d54b9){const _0x34eea3=_0x185be1;let _0x328c14=_0x1d54b9[_0x34eea3(0x442)](_0x302521[_0x34eea3(0x251)])[_0x34eea3(0x559)]();if(_0x328c14['length']!==0x1)return null;let _0x439db3=_0x328c14[0x0];return _0x439db3[_0x34eea3(0x2d3)]===_0x1ba070[_0x34eea3(0x1f9)][_0x34eea3(0x52f)]?_0x439db3:null;}function _0x45783c(_0xb8b276,_0x1fcd8c){const _0x1f7733=_0x185be1;let _0x28e693=document['createElement']('a');_0x28e693[_0x1f7733(0x24e)]=_0xb8b276,_0x28e693[_0x1f7733(0x2c1)]=_0x1fcd8c,_0x28e693[_0x1f7733(0x232)]();}let _0xb862c8={'id':'sheet.command.chart.open-focused-panel','type':_0x1ba070[_0x185be1(0x551)][_0x185be1(0x343)],'handler':(_0x4e3e26,_0x1eba5b)=>{const _0x184117=_0x185be1;let _0xdcd5ae=_0xf9815d(_0x4e3e26);return _0xdcd5ae?_0x4e3e26[_0x184117(0x442)](_0x1ba070[_0x184117(0x56c)])[_0x184117(0x3ab)](_0x272d7b['id'],{'unitId':_0xdcd5ae[_0x184117(0x2ac)],'subUnitId':_0xdcd5ae['subUnitId'],'drawingId':_0xdcd5ae[_0x184117(0x3b7)],..._0x1eba5b!=null&&_0x1eba5b[_0x184117(0x455)]?{'route':_0x1eba5b['route']}:{}}):!0x1;}},_0xb06e29={'id':_0x185be1(0x210),'type':_0x1ba070[_0x185be1(0x551)][_0x185be1(0x343)],'handler':_0x182a0d=>_0xf9815d(_0x182a0d)?_0x182a0d[_0x185be1(0x442)](_0x1ba070[_0x185be1(0x56c)])[_0x185be1(0x3ab)](_0x53e756[_0x185be1(0x32c)]['id']):!0x1},_0x4c423d={'id':_0x185be1(0x545),'type':_0x1ba070[_0x185be1(0x551)][_0x185be1(0x343)],'handler':async _0x16af07=>{const _0x27dcab=_0x185be1;let _0x1a3f3b=_0xf9815d(_0x16af07);if(!_0x1a3f3b)return!0x1;let _0x18886f=await _0x16af07[_0x27dcab(0x442)](_0x37f706[_0x27dcab(0x2f0)])[_0x27dcab(0x21f)]({'unitId':_0x1a3f3b['unitId'],'subUnitId':_0x1a3f3b['subUnitId'],'getId':()=>_0x1a3f3b[_0x27dcab(0x3b7)]});return _0x18886f?(_0x45783c(_0x18886f,_0x1a3f3b['drawingId']+_0x27dcab(0x1a8)),!0x0):!0x1;}},_0x1468ca={'id':'sheet.command.chart.delete-focused-chart','type':_0x1ba070[_0x185be1(0x551)][_0x185be1(0x343)],'handler':_0x1ac7f3=>{const _0x23fd9b=_0x185be1;let _0x3a9333=_0xf9815d(_0x1ac7f3);return _0x3a9333?_0x1ac7f3[_0x23fd9b(0x442)](_0x1ba070[_0x23fd9b(0x56c)])[_0x23fd9b(0x3ab)](_0x302521[_0x23fd9b(0x58e)]['id'],{'unitId':_0x3a9333['unitId'],'drawings':[{'unitId':_0x3a9333[_0x23fd9b(0x2ac)],'subUnitId':_0x3a9333[_0x23fd9b(0x50c)],'drawingId':_0x3a9333[_0x23fd9b(0x3b7)],'drawingType':_0x1ba070[_0x23fd9b(0x1f9)][_0x23fd9b(0x52f)]}]}):!0x1;}},_0x1b45e5={'type':_0x1ba070['CommandType'][_0x185be1(0x343)],'id':'sheet.command.menu-insert-chart','handler':async(_0x33745e,_0x36fff7)=>{const _0x2d946b=_0x185be1;let _0x13d062=(0x0,_0x4a6d0b[_0x2d946b(0x3d9)])(_0x33745e[_0x2d946b(0x442)](_0x1ba070[_0x2d946b(0x53a)]));if(!_0x13d062)return!0x1;let _0x1a70b1=_0x33745e[_0x2d946b(0x442)](_0x4a6d0b[_0x2d946b(0x533)])[_0x2d946b(0x46c)]();if(!_0x1a70b1)return!0x1;let {range:_0x357dbb}=_0x1a70b1,_0x1d9385=_0x33745e[_0x2d946b(0x442)](_0x1ba070[_0x2d946b(0x56c)]),{unitId:_0x11f5d3,subUnitId:_0x3eccd7}=_0x13d062,{pieSecondaryPlotType:_0xd50a4,value:_0x499bfe}=_0x36fff7,_0x5f24a7=_0xd50a4!==void 0x0;if(_0x5f24a7&&(_0x499bfe!==_0x214e0a[_0x2d946b(0x3b0)][_0x2d946b(0x383)]||_0xd50a4!==_0x214e0a['PieSecondaryPlotType']['Pie']&&_0xd50a4!==_0x214e0a[_0x2d946b(0x4b9)][_0x2d946b(0x40d)]))return!0x1;let _0x2b719d=_0x5f24a7?(0x0,_0x1ba070[_0x2d946b(0x2be)])():void 0x0;return _0x1d9385['executeCommand'](_0x113ca7[_0x2d946b(0x283)]['id'],{'unitId':_0x11f5d3,'subUnitId':_0x3eccd7,'chartType':_0x499bfe,..._0x2b719d&&_0xd50a4?{'chartId':_0x2b719d,'config':{'unitId':_0x11f5d3,'chartModelId':_0x2b719d,'style':{'pie':{'composite':{'enabled':!0x0,'secondaryPlot':{'type':_0xd50a4}}}}}}:{},'source':{'rangeInfo':{'unitId':_0x357dbb[_0x2d946b(0x2ac)]??_0x11f5d3,'subUnitId':_0x357dbb[_0x2d946b(0x48f)]??_0x3eccd7,'range':_0x357dbb}}});}};function _0x5dbc9b(_0x2e8097,_0x301fb7){const _0xc69185=_0x185be1;if(_0x2e8097==null)return'';if(Array[_0xc69185(0x571)](_0x2e8097)){var _0x4ff02e;let _0x8f42a1=(_0x4ff02e=_0x2e8097[0x0])==null?void 0x0:_0x4ff02e[_0xc69185(0x340)];return _0x8f42a1?_0x30e19f(_0x8f42a1,_0x301fb7):'';}return _0x30e19f(_0x2e8097['rangeInfo'],_0x301fb7);}function _0x30e19f(_0x218ed3,_0x18118e){const _0x6fd158=_0x185be1;var _0x1662fc;let {unitId:_0x2c65bb,subUnitId:_0x58b5ce,range:_0x20c606}=_0x218ed3,_0x288647=(_0x1662fc=_0x18118e['getUnit'](_0x2c65bb))==null?void 0x0:_0x1662fc[_0x6fd158(0x35c)](_0x58b5ce);if(!_0x288647)return'';let _0x5a96d3=_0x288647[_0x6fd158(0x281)]();return(0x0,_0x5f0a10[_0x6fd158(0x3c8)])(_0x5a96d3,_0x20c606);}let _0x552a93=_0x37f706[_0x185be1(0x259)][_0x185be1(0x18e)](_0x1631a5=>({'id':'id'in _0x1631a5?_0x1631a5['id']:void 0x0,'labelId':_0x1631a5['labelId'],'pieSecondaryPlotType':_0x185be1(0x35a)in _0x1631a5?_0x1631a5['pieSecondaryPlotType']:void 0x0,'value':_0x1631a5[_0x185be1(0x2a6)],'icon':_0x1631a5['iconName']}));function _0x19a8f7(_0x3b43b5=_0x552a93){const _0xa4eb6f=_0x185be1;return _0x3b43b5[_0xa4eb6f(0x18e)](({id:_0x51d362,icon:_0x14a77d,value:_0x2bd5d7})=>{const _0x1778a8=_0xa4eb6f;let _0x3021e3=(0x0,_0x37f706[_0x1778a8(0x260)])(_0x51d362??String(_0x2bd5d7)),_0x57f572=_0x3021e3?{'value':_0x3021e3[_0x1778a8(0x593)],..._0x3021e3[_0x1778a8(0x35a)]?{'pieSecondaryPlotType':_0x3021e3[_0x1778a8(0x35a)]}:{}}:{'value':_0x2bd5d7};return{'icon':_0x14a77d,'value':_0x51d362??_0x2bd5d7,'params':_0x57f572};});}let _0x36e3f4=(_0x57bf63,_0x376e73)=>{const _0x1ad1da=_0x185be1;if(_0x376e73[_0x1ad1da(0x36b)]===0x1&&_0x376e73[0x0]===_0x1ad1da(0x302))return _0x57bf63;if(_0x376e73[_0x1ad1da(0x36b)]>0x1){let _0x2abc89=new Set();for(let _0x4f04bd of _0x376e73)_0x2abc89[_0x1ad1da(0x221)](Number(_0x4f04bd));return _0x57bf63[_0x1ad1da(0x3e6)](_0x5dc28d=>_0x2abc89[_0x1ad1da(0x4b2)](_0x5dc28d['value']));}return[];};function _0x20768b(_0x2a7ee7){const _0x30dfc3=_0x185be1;let _0x5f40ee=_0x2a7ee7['get'](_0x1ba070[_0x30dfc3(0x53a)]),_0x24b0c9=(0x0,_0x113ca7[_0x30dfc3(0x591)])(_0x2a7ee7),_0x2f07a7=_0x36e3f4(_0x552a93[_0x30dfc3(0x3aa)](),_0x24b0c9),_0x107016=_0x19a8f7(_0x2f07a7)[_0x30dfc3(0x18e)]((_0x634878,_0x2a365d)=>({'icon':_0x634878['icon'],'value':_0x634878[_0x30dfc3(0x2a6)],'params':_0x634878[_0x30dfc3(0x528)],'label':'sheets-chart-ui.chartTypes.'+_0x2f07a7[_0x2a365d][_0x30dfc3(0x1d9)]}));return{'id':_0x1b45e5['id'],'type':_0x21688c[_0x30dfc3(0x274)]['SELECTOR'],'selectionsCommandId':_0x1b45e5['id'],'selections':_0x107016,'icon':'ChartIcon','tooltip':_0x30dfc3(0x2ca),'activated$':(0x0,_0x53e756[_0x30dfc3(0x19e)])(_0x5f40ee,!0x1,()=>new _0x5e3636[(_0x30dfc3(0x216))](_0x5bf916=>{_0x5bf916['next'](!0x1);})),'hidden$':(0x0,_0x21688c[_0x30dfc3(0x23e)])(_0x2a7ee7,_0x1ba070['UniverInstanceType'][_0x30dfc3(0x2da)]),'disabled$':(0x0,_0x53e756[_0x30dfc3(0x365)])(_0x2a7ee7)};}function _0x4e33b2(_0x2b450e){'@babel/helpers - typeof';const _0x3cfb49=_0x185be1;return _0x4e33b2=typeof Symbol==_0x3cfb49(0x1fc)&&typeof Symbol[_0x3cfb49(0x18f)]==_0x3cfb49(0x4a1)?function(_0x3380f3){return typeof _0x3380f3;}:function(_0x2bf019){const _0x4b410c=_0x3cfb49;return _0x2bf019&&typeof Symbol=='function'&&_0x2bf019[_0x4b410c(0x446)]===Symbol&&_0x2bf019!==Symbol[_0x4b410c(0x187)]?_0x4b410c(0x4a1):typeof _0x2bf019;},_0x4e33b2(_0x2b450e);}function _0x4eb96c(_0xbbbc31,_0x5c4eed){const _0x5b1369=_0x185be1;if(_0x4e33b2(_0xbbbc31)!=_0x5b1369(0x3c7)||!_0xbbbc31)return _0xbbbc31;var _0x3554ca=_0xbbbc31[Symbol[_0x5b1369(0x2d5)]];if(_0x3554ca!==void 0x0){var _0x19ee6e=_0x3554ca[_0x5b1369(0x371)](_0xbbbc31,_0x5c4eed||'default');if(_0x4e33b2(_0x19ee6e)!=_0x5b1369(0x3c7))return _0x19ee6e;throw TypeError(_0x5b1369(0x58f));}return(_0x5c4eed===_0x5b1369(0x1f1)?String:Number)(_0xbbbc31);}function _0x3b2b7d(_0x561dc6){const _0x5b9476=_0x185be1;var _0x2a50a4=_0x4eb96c(_0x561dc6,_0x5b9476(0x1f1));return _0x4e33b2(_0x2a50a4)==_0x5b9476(0x4a1)?_0x2a50a4:_0x2a50a4+'';}function _0x3d73b3(_0x5084ab,_0x5dd563,_0x2b6534){return(_0x5dd563=_0x3b2b7d(_0x5dd563))in _0x5084ab?Object['defineProperty'](_0x5084ab,_0x5dd563,{'value':_0x2b6534,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x5084ab[_0x5dd563]=_0x2b6534,_0x5084ab;}function _0x42d632(_0x51f198,_0x5bb495){return function(_0x427e9f,_0x4d690b){_0x5bb495(_0x427e9f,_0x4d690b,_0x51f198);};}function _0x11ef44(_0xf2e45b,_0x51199a,_0x2a1ddf,_0x283bdc){const _0x2469e5=_0x185be1;var _0x36194c=arguments['length'],_0x203301=_0x36194c<0x3?_0x51199a:_0x283bdc===null?_0x283bdc=Object[_0x2469e5(0x536)](_0x51199a,_0x2a1ddf):_0x283bdc,_0x26c8f2;if(typeof Reflect=='object'&&typeof Reflect[_0x2469e5(0x1ef)]==_0x2469e5(0x1fc))_0x203301=Reflect['decorate'](_0xf2e45b,_0x51199a,_0x2a1ddf,_0x283bdc);else{for(var _0x53f5ae=_0xf2e45b['length']-0x1;_0x53f5ae>=0x0;_0x53f5ae--)(_0x26c8f2=_0xf2e45b[_0x53f5ae])&&(_0x203301=(_0x36194c<0x3?_0x26c8f2(_0x203301):_0x36194c>0x3?_0x26c8f2(_0x51199a,_0x2a1ddf,_0x203301):_0x26c8f2(_0x51199a,_0x2a1ddf))||_0x203301);}return _0x36194c>0x3&&_0x203301&&Object[_0x2469e5(0x1ae)](_0x51199a,_0x2a1ddf,_0x203301),_0x203301;}let _0x24cbf9=(0x0,_0x1ba070[_0x185be1(0x49d)])(_0x185be1(0x21d)),_0x27af68=class extends _0x37f706[_0x185be1(0x3f4)]{constructor(_0x256fc5,_0x55c5c5,_0xcb445d,_0x28c980,_0x39113a){const _0x48b63a=_0x185be1;super(_0x39113a),this[_0x48b63a(0x57a)]=_0x256fc5,this[_0x48b63a(0x373)]=_0x55c5c5,this[_0x48b63a(0x403)]=_0xcb445d,this[_0x48b63a(0x538)]=_0x28c980,_0x3d73b3(this,'_rangeSelectMode',!0x1),_0x3d73b3(this,'_chartEditorOpen$',new _0x5e3636[(_0x48b63a(0x2b0))](!0x1)),_0x3d73b3(this,_0x48b63a(0x278),new _0x5e3636[(_0x48b63a(0x2b0))](null)),_0x3d73b3(this,_0x48b63a(0x346),this[_0x48b63a(0x3e0)][_0x48b63a(0x438)]()),_0x3d73b3(this,_0x48b63a(0x2a7),this[_0x48b63a(0x278)][_0x48b63a(0x438)]());}get['activeRuntimeModel'](){const _0x5daee1=_0x185be1;return this[_0x5daee1(0x57a)][_0x5daee1(0x286)]??null;}get[_0x185be1(0x289)](){const _0x34cedb=_0x185be1;return this['_chartEditorOpen$'][_0x34cedb(0x213)]();}get[_0x185be1(0x582)](){const _0x3ce7af=_0x185be1;return this[_0x3ce7af(0x2d8)];}['setRangeSelectMode'](_0x1bccd4){const _0x14b70c=_0x185be1;this[_0x14b70c(0x2d8)]=_0x1bccd4;}['setChartEditorOpen'](_0x7a2c52){const _0x456005=_0x185be1;this[_0x456005(0x3e0)][_0x456005(0x213)]()!==_0x7a2c52&&this['_chartEditorOpen$']['next'](_0x7a2c52);}[_0x185be1(0x476)](_0x4f59b1){const _0x10cf96=_0x185be1;var _0x3d6a9f;return this[_0x10cf96(0x289)]&&((_0x3d6a9f=this[_0x10cf96(0x57a)][_0x10cf96(0x286)])==null?void 0x0:_0x3d6a9f['id'])===_0x4f59b1;}[_0x185be1(0x2fc)](_0x12c4d6,_0x5119a7){this['_panelRoute$']['next']({'chartId':_0x12c4d6,'route':_0x5119a7});}[_0x185be1(0x244)](){const _0x35892a=_0x185be1;this[_0x35892a(0x278)][_0x35892a(0x192)](null);}['setDataRange'](_0x45646d){const _0x27b313=_0x185be1;let _0xb2994d=this[_0x27b313(0x57a)][_0x27b313(0x286)];_0xb2994d&&this[_0x27b313(0x248)]({'chartModelId':_0xb2994d['id'],'range':_0x45646d});}[_0x185be1(0x414)](_0x576ef4){const _0x315257=_0x185be1;let _0x54fb45=this['_chartModelService'][_0x315257(0x286)];if(!_0x54fb45)return;let _0x3218ab=this['_sheetsChartService'][_0x315257(0x44f)](_0x54fb45['id']);if(!_0x3218ab||Array[_0x315257(0x571)](_0x3218ab))return;let _0x4a9f72={..._0x3218ab,'isRowDirection':_0x576ef4===_0x214e0a[_0x315257(0x515)][_0x315257(0x292)]};this[_0x315257(0x248)]({'chartModelId':_0x54fb45['id'],'range':_0x4a9f72});}[_0x185be1(0x3eb)](_0x540d32){const _0x9bc8d3=_0x185be1;var _0x6441c9;this[_0x9bc8d3(0x403)][_0x9bc8d3(0x3ab)](_0x113ca7[_0x9bc8d3(0x49e)]['id'],{..._0x540d32,'unitId':((_0x6441c9=this['_univerInstanceService'][_0x9bc8d3(0x19a)]())==null?void 0x0:_0x6441c9[_0x9bc8d3(0x185)]())??''});}[_0x185be1(0x248)](_0x410d17){const _0x3b8f28=_0x185be1;var _0x11f04a;this['_commandService'][_0x3b8f28(0x3ab)](_0x113ca7[_0x3b8f28(0x4b7)]['id'],{..._0x410d17,'unitId':((_0x11f04a=this[_0x3b8f28(0x538)][_0x3b8f28(0x19a)]())==null?void 0x0:_0x11f04a['getUnitId']())??''});}[_0x185be1(0x4d8)](){const _0x469e5d=_0x185be1;this[_0x469e5d(0x3e0)]['complete'](),this['_panelRoute$']['complete'](),super[_0x469e5d(0x4d8)]();}};_0x27af68=_0x11ef44([_0x42d632(0x0,(0x0,_0x1ba070[_0x185be1(0x1af)])(_0x113ca7[_0x185be1(0x47d)])),_0x42d632(0x1,(0x0,_0x1ba070['Inject'])(_0x113ca7[_0x185be1(0x1f5)])),_0x42d632(0x2,_0x1ba070[_0x185be1(0x56c)]),_0x42d632(0x3,_0x1ba070[_0x185be1(0x53a)]),_0x42d632(0x4,(0x0,_0x1ba070[_0x185be1(0x1af)])(_0x37f706[_0x185be1(0x4a9)]))],_0x27af68);var _0x2b81be;let _0x3580d8={'axis':{..._0x37f706[_0x185be1(0x49b)],'primaryGridLineVisible':!0x1,'secondaryGridLineVisible':!0x0},'funnel':_0x37f706[_0x185be1(0x41e)],'heatmap':_0x37f706[_0x185be1(0x503)],'indicatorLine':_0x37f706[_0x185be1(0x25e)],'legend':_0x37f706['DEFAULT_CHART_LEGEND_VALUES'],'lineAndArea':_0x37f706[_0x185be1(0x3bb)],'pareto':_0x37f706[_0x185be1(0x592)],'pie':_0x37f706[_0x185be1(0x2c2)],'relation':{..._0x37f706['DEFAULT_CHART_RELATION_VALUES'],'useValueAsSymbolSize':!0x0},'radar':_0x37f706['DEFAULT_CHART_RADAR_VALUES'],'series':{..._0x37f706[_0x185be1(0x19d)],'radarFillOpacity':0.2,'rightAxis':{'ltr':!0x1,'rtl':((_0x2b81be=_0x214e0a[_0x185be1(0x34c)][_0x185be1(0x4c4)])==null?void 0x0:_0x2b81be[_0x185be1(0x379)])??!0x1}},'style':_0x37f706[_0x185be1(0x4c6)],'titles':_0x37f706[_0x185be1(0x26f)],'trendline':_0x37f706[_0x185be1(0x4c2)],'waterfallStyle':_0x37f706[_0x185be1(0x334)],'wordCloud':_0x37f706['DEFAULT_CHART_WORD_CLOUD_VALUES']},_0xd3bdbf=_0x1cde78=>_0x1cde78['getCurrentUnitOfType'](_0x1ba070['UniverInstanceType'][_0x185be1(0x2da)])[_0x185be1(0x185)](),_0x1019e2=_0x4afc5b=>{const _0x405e48=_0x185be1;var _0x3ee2ff;return(_0x3ee2ff=_0x4afc5b[_0x405e48(0x448)](_0x1ba070[_0x405e48(0x203)][_0x405e48(0x2da)])[_0x405e48(0x1bd)]())==null?void 0x0:_0x3ee2ff[_0x405e48(0x2ec)]();},_0x2a6a33=()=>{const _0x5d02a7=_0x185be1;var _0x9e2e62;let _0x30e773=(0x0,_0x21688c[_0x5d02a7(0x1f0)])(_0x24cbf9),_0x1282ab=(0x0,_0x21688c['useDependency'])(_0x113ca7[_0x5d02a7(0x47d)]),_0x534876=(0x0,_0x21688c[_0x5d02a7(0x1f0)])(_0x1ba070['LocaleService']),_0x5dc338=(0x0,_0x21688c[_0x5d02a7(0x1f0)])(_0x1ba070[_0x5d02a7(0x32e)]),_0x20222d=(0x0,_0x113ca7[_0x5d02a7(0x591)])(_0x5dc338),_0x42e883=(0x0,_0x119d22[_0x5d02a7(0x4b5)])(()=>{const _0x5c3c14=_0x5d02a7;let _0x33a1bb=_0x36e3f4(_0x552a93['concat'](),_0x20222d);return(0x0,_0x37f706[_0x5c3c14(0x53f)])(_0x33a1bb[_0x5c3c14(0x18e)](_0x4f581f=>({'id':_0x4f581f['id'],'label':_0x534876['t'](_0x5c3c14(0x1ee)+_0x4f581f[_0x5c3c14(0x1d9)]),'pieSecondaryPlotType':_0x4f581f[_0x5c3c14(0x35a)],'value':_0x4f581f[_0x5c3c14(0x2a6)]})));},[_0x20222d,_0x534876]),_0x4d3a90=(0x0,_0x21688c[_0x5d02a7(0x27d)])(_0x1282ab[_0x5d02a7(0x548)],_0x1282ab[_0x5d02a7(0x286)]),_0xb9ee79=(0x0,_0x21688c[_0x5d02a7(0x27d)])(_0x4d3a90==null?void 0x0:_0x4d3a90[_0x5d02a7(0x1d3)],_0x4d3a90==null?void 0x0:_0x4d3a90[_0x5d02a7(0x1a9)]),_0x23a24d=(0x0,_0x21688c[_0x5d02a7(0x27d)])(_0x4d3a90==null?void 0x0:_0x4d3a90[_0x5d02a7(0x1e2)],_0x4d3a90==null?void 0x0:_0x4d3a90[_0x5d02a7(0x179)]),_0x16072e=(0x0,_0x21688c['useObservable'])(_0x23a24d==null?void 0x0:_0x23a24d[_0x5d02a7(0x423)],_0x23a24d==null?void 0x0:_0x23a24d[_0x5d02a7(0x3f0)]()),_0x267ec9=Array[_0x5d02a7(0x571)](_0x16072e),_0x5373ae=_0x16072e&&!_0x267ec9&&_0x16072e[_0x5d02a7(0x2fa)]?_0x214e0a['DataOrientation'][_0x5d02a7(0x292)]:_0x214e0a['DataOrientation']['Column'],_0x1cb8af=_0x267ec9?(_0x9e2e62=_0x16072e[0x0])==null?void 0x0:_0x9e2e62[_0x5d02a7(0x340)]:_0x16072e==null?void 0x0:_0x16072e[_0x5d02a7(0x236)];return(0x0,_0x4da08e[_0x5d02a7(0x3f5)])(_0x5d02a7(0x2d0),{'className':_0x5d02a7(0x54f),'children':[(0x0,_0x4da08e[_0x5d02a7(0x4ef)])(_0x37f706[_0x5d02a7(0x234)],{'chartTypeOptions':_0x42e883,'dataSourceControl':(0x0,_0x4da08e[_0x5d02a7(0x4ef)])(_0x2bf4f5,{'dataRange':_0x16072e,'primaryRange':_0x1cb8af}),'categoryToggleLabel':_0x534876['t'](_0x5d02a7(0x1cb),_0x5373ae===_0x214e0a[_0x5d02a7(0x515)]['Row']?_0x5373ae+'\x20'+(((_0x1cb8af==null?void 0x0:_0x1cb8af['range'][_0x5d02a7(0x50e)])??0x0)+0x1):_0x5373ae+'\x20'+(0x0,_0x1ba070[_0x5d02a7(0x3b4)])((_0x1cb8af==null?void 0x0:_0x1cb8af[_0x5d02a7(0x340)][_0x5d02a7(0x4d7)])??0x0)),'orientationControl':_0x267ec9?void 0x0:(0x0,_0x4da08e[_0x5d02a7(0x4ef)])(_0x2b4c09[_0x5d02a7(0x478)],{'size':_0x5d02a7(0x408),'onClick':()=>_0x30e773[_0x5d02a7(0x414)](_0x5373ae===_0x214e0a['DataOrientation']['Row']?_0x214e0a[_0x5d02a7(0x515)][_0x5d02a7(0x444)]:_0x214e0a['DataOrientation']['Row']),'children':_0x534876['t'](_0x5d02a7(0x191))})}),(0x0,_0x4da08e['jsx'])(_0x2b4c09[_0x5d02a7(0x55f)],{'checked':(_0xb9ee79==null?void 0x0:_0xb9ee79[_0x5d02a7(0x2f7)])===!0x1,'disabled':!_0x4d3a90,'onChange':_0x590394=>{const _0x1efd4c=_0x5d02a7;_0x4d3a90&&_0x30e773[_0x1efd4c(0x3eb)]({'chartModelId':_0x4d3a90['id'],'context':{'plotVisibleOnly':!_0x590394}});},'children':_0x534876['t'](_0x5d02a7(0x35f))})]});};function _0x2bf4f5(_0x3b546f){const _0x11da79=_0x185be1;let {dataRange:_0x3669cb,primaryRange:_0x46af0d}=_0x3b546f,_0x33c965=(0x0,_0x21688c[_0x11da79(0x1f0)])(_0x24cbf9),_0x16cc84=(0x0,_0x21688c[_0x11da79(0x1f0)])(_0x1ba070[_0x11da79(0x30e)]),_0x38c107=(0x0,_0x21688c['useDependency'])(_0x1ba070[_0x11da79(0x53a)]),_0x528290=(0x0,_0x21688c[_0x11da79(0x1f0)])(_0x1ba070[_0x11da79(0x461)]),[_0x148d74,_0x59d831]=(0x0,_0x119d22[_0x11da79(0x19c)])(!0x1),[_0x5ebbf1,_0x2dbee1]=(0x0,_0x119d22[_0x11da79(0x19c)])(!0x1),[_0x29a408,_0x3c79d1]=(0x0,_0x119d22['useState'])(),_0x298e13=_0xd3bdbf(_0x38c107),_0x514529=_0x1019e2(_0x38c107),_0x53f55f=_0x3669cb?_0x5dbc9b(_0x3669cb,_0x38c107):'',_0x49e533=(0x0,_0x119d22['useRef'])(_0x53f55f),_0x5e33cb=(0x0,_0x119d22[_0x11da79(0x247)])(void 0x0),_0x2b1a95=(0x0,_0x119d22['useRef'])(null);(0x0,_0x119d22[_0x11da79(0x3d5)])(()=>{const _0xd2fe7=_0x11da79;_0x33c965['setRangeSelectMode'](_0x148d74),_0x528290[_0xd2fe7(0x227)](_0x1ba070[_0xd2fe7(0x2bb)],_0x148d74);},[_0x528290,_0x148d74,_0x33c965]),(0x0,_0x119d22[_0x11da79(0x3d5)])(()=>()=>{const _0x537b71=_0x11da79;_0x33c965['setRangeSelectMode'](!0x1),_0x528290['setContextValue'](_0x1ba070[_0x537b71(0x2bb)],!0x1);},[_0x528290,_0x33c965]);let _0x42a02f=(0x0,_0x119d22[_0x11da79(0x328)])(_0x6c4056=>{const _0xa4d9c4=_0x11da79;var _0x4b267c;if(_0x5dbc9b(_0x3669cb,_0x38c107)===_0x6c4056)return _0x3c79d1(void 0x0),!0x0;let _0x3cd6da=_0x6c4056['split'](_0x5f0a10[_0xa4d9c4(0x553)][_0xa4d9c4(0x273)]);if(!_0x6c4056[_0xa4d9c4(0x47e)]()||_0x3cd6da['length']!==0x1||!((_0x4b267c=_0x2b1a95['current'])!=null&&_0x4b267c[_0xa4d9c4(0x392)]()))return _0x3c79d1(_0x16cc84['t']('sheets-chart-ui.common.invalidDataRange')),!0x1;let {unitId:_0x574112,sheetName:_0x5dc783,range:_0x405503}=(0x0,_0x5f0a10[_0xa4d9c4(0x1e3)])(_0x3cd6da[0x0]),_0x272307=_0x574112||_0x298e13,_0x54f792=_0x38c107[_0xa4d9c4(0x296)](_0x272307),_0x2da021=(_0x46af0d==null?void 0x0:_0x46af0d[_0xa4d9c4(0x2ac)])===_0x272307?_0x46af0d['subUnitId']:_0x514529,_0x4ed872=_0x5dc783?_0x54f792==null?void 0x0:_0x54f792[_0xa4d9c4(0x300)](_0x5dc783):_0x54f792==null?void 0x0:_0x54f792[_0xa4d9c4(0x35c)](_0x2da021??'');return!_0x54f792||!_0x4ed872||!(0x0,_0x1ba070[_0xa4d9c4(0x2d6)])(_0x405503,_0x4ed872)?(_0x3c79d1(_0x16cc84['t']('sheets-chart-ui.common.invalidDataRange')),!0x1):(_0x3c79d1(void 0x0),_0x33c965[_0xa4d9c4(0x1d2)]({'rangeInfo':{'range':_0x405503,'unitId':_0x272307,'subUnitId':_0x4ed872[_0xa4d9c4(0x2ec)]()}}),!0x0);},[_0x3669cb,_0x16cc84,_0x46af0d,_0x33c965,_0x514529,_0x298e13,_0x38c107]),_0x56e29f=(0x0,_0x119d22['useMemo'])(()=>({'keyCodes':[{'keyCode':_0x21688c[_0x11da79(0x272)]['ENTER'],'nativeTextEditorBehavior':_0x21688c[_0x11da79(0x2fd)][_0x11da79(0x1e8)]}],'handler':_0x281578=>{const _0x35d9ce=_0x11da79;_0x281578===_0x21688c['KeyCode'][_0x35d9ce(0x36f)]&&_0x42a02f(_0x49e533[_0x35d9ce(0x25d)])&&(_0x5e33cb['current']=_0x49e533[_0x35d9ce(0x25d)]);}}),[_0x42a02f]);return(0x0,_0x4da08e[_0x11da79(0x4ef)])('div',{'className':'univer-flex\x20univer-flex-col\x20univer-gap-3','children':(0x0,_0x4da08e['jsxs'])('div',{'children':[(0x0,_0x4da08e['jsx'])(_0x37f706[_0x11da79(0x366)],{'title':_0x16cc84['t'](_0x11da79(0x335))}),(0x0,_0x4da08e[_0x11da79(0x4ef)])(_0x33c938['RangeSelector'],{'supportAcrossSheet':!0x0,'keepSheetReference':!0x0,'maxRangeCount':0x1,'unitId':_0x298e13,'subUnitId':_0x514529,'initialValue':_0x53f55f,'keyboardEventConfig':_0x56e29f,'selectorRef':_0x2b1a95,'onChange':(_0x2fa769,_0x252bed)=>{const _0xe0b4f0=_0x11da79;_0x49e533[_0xe0b4f0(0x25d)]=_0x252bed,_0x5ebbf1&&_0x5e33cb[_0xe0b4f0(0x25d)]!==_0x252bed&&_0x42a02f(_0x252bed)&&(_0x5e33cb['current']=_0x252bed);},'onFocusChange':(_0x48ddf5,_0x5c24cb)=>{const _0x12d49f=_0x11da79;if(_0x5c24cb!==void 0x0&&(_0x49e533['current']=_0x5c24cb),_0x5ebbf1||_0x59d831(_0x48ddf5),_0x48ddf5)_0x5e33cb['current']=_0x49e533[_0x12d49f(0x25d)];else{let _0x1d5f2e=_0x5e33cb['current'];_0x5e33cb[_0x12d49f(0x25d)]=void 0x0,_0x1d5f2e!==void 0x0&&_0x49e533[_0x12d49f(0x25d)]!==_0x1d5f2e&&_0x42a02f(_0x49e533[_0x12d49f(0x25d)]);}},'onRangeSelectorDialogVisibleChange':_0x491492=>{_0x2dbee1(_0x491492),_0x59d831(_0x491492);}}),_0x29a408?(0x0,_0x4da08e[_0x11da79(0x4ef)])(_0x11da79(0x2d0),{'className':_0x11da79(0x479),'children':_0x29a408}):null]})});}function _0x6a5c93(_0x4d27a8){const _0x14e05f=_0x185be1;return(0x0,_0x4da08e[_0x14e05f(0x3f5)])(_0x37f706[_0x14e05f(0x42a)],{'id':_0x4d27a8['id'],'children':[(0x0,_0x4da08e['jsx'])(_0x37f706[_0x14e05f(0x26d)],{'children':_0x4d27a8[_0x14e05f(0x416)]}),(0x0,_0x4da08e['jsx'])(_0x37f706[_0x14e05f(0x4e5)],{'children':_0x4d27a8[_0x14e05f(0x2ae)]})]});}let _0x2f4187=_0x398f42=>{const _0x2aea59=_0x185be1;let _0x3ceb5e=(0x0,_0x21688c[_0x2aea59(0x1f0)])(_0x1ba070[_0x2aea59(0x30e)]),_0x3b0329=(0x0,_0x21688c[_0x2aea59(0x1f0)])(_0x24cbf9),_0xe05430=(0x0,_0x21688c[_0x2aea59(0x1f0)])(_0x113ca7['ChartModelService']),_0x35b328=(0x0,_0x21688c['useObservable'])(_0xe05430['activeChartModel$'],_0xe05430[_0x2aea59(0x286)]),_0x4decfa=(0x0,_0x21688c[_0x2aea59(0x27d)])(_0x3b0329['panelRoute$'],null),_0xc99d2a=_0x4decfa&&_0x4decfa[_0x2aea59(0x4d9)]===(_0x35b328==null?void 0x0:_0x35b328['id'])?_0x4decfa[_0x2aea59(0x455)]:null,_0x5c1c10=(0x0,_0x37f706[_0x2aea59(0x492)])(),_0x5b5d8a=(0x0,_0x37f706['useChartEditorHasRightAxis'])(),[_0x4a0549,_0x1e0cfc]=(0x0,_0x119d22[_0x2aea59(0x19c)])(null);(0x0,_0x119d22['useEffect'])(()=>{const _0x42e8f4=_0x2aea59;_0xc99d2a!=null&&_0xc99d2a[_0x42e8f4(0x2c9)]&&_0x1e0cfc(_0xc99d2a[_0x42e8f4(0x2c9)]);},[_0xc99d2a]);let _0x4524bb=_0x214e0a['chartBitsUtils'][_0x2aea59(0x3ea)](_0x5c1c10,_0x214e0a[_0x2aea59(0x3b0)][_0x2aea59(0x383)]),_0x3b3837=_0x5c1c10===_0x214e0a['ChartTypeBits']['Radar'],_0xd19031=_0x5c1c10===_0x214e0a['ChartTypeBits'][_0x2aea59(0x2a2)],_0x238186=_0x5c1c10===_0x214e0a[_0x2aea59(0x3b0)][_0x2aea59(0x254)],_0x33c8cf=_0x214e0a[_0x2aea59(0x28f)][_0x2aea59(0x3ea)](_0x5c1c10,_0x214e0a[_0x2aea59(0x3b0)][_0x2aea59(0x36e)]),_0xc9d18a=_0x5c1c10===_0x214e0a['ChartTypeBits'][_0x2aea59(0x1d6)],_0x25b62f=_0x5c1c10===_0x214e0a[_0x2aea59(0x3b0)][_0x2aea59(0x2db)],_0x1fc057=_0x5c1c10===_0x214e0a[_0x2aea59(0x3b0)][_0x2aea59(0x41b)],_0x12328b=_0x5c1c10===_0x214e0a['ChartTypeBits'][_0x2aea59(0x376)],_0x180ff2,_0x491e12;switch(_0x5c1c10){case _0x214e0a[_0x2aea59(0x3b0)][_0x2aea59(0x250)]:_0x180ff2=_0x37f706[_0x2aea59(0x432)][_0x2aea59(0x250)],_0x491e12=_0x3ceb5e['t']('sheets-chart-ui.section.candlestick');break;case _0x214e0a[_0x2aea59(0x3b0)]['Histogram']:_0x180ff2=_0x37f706[_0x2aea59(0x432)]['Histogram'],_0x491e12=_0x3ceb5e['t'](_0x2aea59(0x218));break;case _0x214e0a[_0x2aea59(0x3b0)][_0x2aea59(0x1bc)]:_0x180ff2=_0x37f706[_0x2aea59(0x432)]['Treemap'],_0x491e12=_0x3ceb5e['t'](_0x2aea59(0x550));break;case _0x214e0a[_0x2aea59(0x3b0)]['Sunburst']:_0x180ff2=_0x37f706[_0x2aea59(0x432)][_0x2aea59(0x330)],_0x491e12=_0x3ceb5e['t'](_0x2aea59(0x391));break;case _0x214e0a[_0x2aea59(0x3b0)][_0x2aea59(0x1d1)]:_0x180ff2=_0x37f706[_0x2aea59(0x432)]['Gauge'],_0x491e12=_0x3ceb5e['t'](_0x2aea59(0x29e));break;case _0x214e0a[_0x2aea59(0x3b0)]['Chord']:_0x180ff2=_0x37f706[_0x2aea59(0x432)][_0x2aea59(0x331)],_0x491e12=_0x3ceb5e['t'](_0x2aea59(0x2ef));}let _0xed0c23=(0x0,_0x37f706[_0x2aea59(0x41f)])(_0x5c1c10,_0x37f706[_0x2aea59(0x27e)][_0x2aea59(0x4d4)])&&!_0x33c8cf&&!_0x1fc057;return(0x0,_0x4da08e[_0x2aea59(0x3f5)])(_0x37f706[_0x2aea59(0x54a)],{'value':_0x4a0549,'onChange':_0x1e0cfc,'children':[(0x0,_0x4da08e[_0x2aea59(0x4ef)])(_0x6a5c93,{'id':_0x37f706[_0x2aea59(0x432)][_0x2aea59(0x1d8)],'label':_0x3ceb5e['t'](_0x2aea59(0x22d)),'children':(0x0,_0x4da08e[_0x2aea59(0x4ef)])(_0x37f706[_0x2aea59(0x418)],{'defaultValues':_0x398f42[_0x2aea59(0x590)][_0x2aea59(0x1c3)]})}),(0x0,_0x4da08e['jsx'])(_0x6a5c93,{'id':_0x37f706[_0x2aea59(0x432)][_0x2aea59(0x25b)],'label':_0x3ceb5e['t'](_0x2aea59(0x262)),'children':(0x0,_0x4da08e[_0x2aea59(0x4ef)])(_0x37f706[_0x2aea59(0x1c9)],{'commitMode':'blur','defaultValues':_0x398f42[_0x2aea59(0x590)]['titles'],'selectedTitleKey':_0xc99d2a==null?void 0x0:_0xc99d2a[_0x2aea59(0x594)]})}),(0x0,_0x4da08e[_0x2aea59(0x4ef)])(_0x37f706['ChartThreeDSection'],{'section':'view'}),_0xed0c23&&(0x0,_0x4da08e['jsx'])(_0x6a5c93,{'id':_0x37f706['ChartEditPanelSection'][_0x2aea59(0x190)],'label':_0x3ceb5e['t'](_0x2aea59(0x318)),'children':(0x0,_0x4da08e[_0x2aea59(0x4ef)])(_0x37f706[_0x2aea59(0x2bc)],{'defaultValues':_0x398f42[_0x2aea59(0x590)][_0x2aea59(0x1c5)],'NumberFormatField':_0x37f706[_0x2aea59(0x397)],'selectedSeriesId':_0xc99d2a==null?void 0x0:_0xc99d2a[_0x2aea59(0x482)]})}),_0x25b62f&&(0x0,_0x4da08e[_0x2aea59(0x4ef)])(_0x6a5c93,{'id':_0x37f706[_0x2aea59(0x432)]['WaterfallSeries'],'label':_0x3ceb5e['t'](_0x2aea59(0x3c0)),'children':(0x0,_0x4da08e[_0x2aea59(0x4ef)])(_0x37f706[_0x2aea59(0x249)],{'defaultValues':_0x398f42[_0x2aea59(0x590)][_0x2aea59(0x32f)],'getDefaultBucketName':({seriesName:_0x145c41,target:_0x1173d5})=>_0x1173d5===_0x214e0a['ChartWaterfallStyleTarget'][_0x2aea59(0x1a4)]?_0x3ceb5e['t'](_0x2aea59(0x310)):_0x145c41?_0x145c41+'-('+_0x3ceb5e['t'](_0x1173d5===_0x214e0a['ChartWaterfallStyleTarget']['Positive']?_0x2aea59(0x4f8):_0x2aea59(0x3da))+')':'','NumberFormatField':_0x37f706[_0x2aea59(0x397)],'selectedSeriesId':_0xc99d2a==null?void 0x0:_0xc99d2a[_0x2aea59(0x482)]})}),_0x1fc057&&(0x0,_0x4da08e['jsxs'])(_0x4da08e[_0x2aea59(0x1ed)],{'children':[(0x0,_0x4da08e[_0x2aea59(0x4ef)])(_0x6a5c93,{'id':_0x37f706[_0x2aea59(0x432)][_0x2aea59(0x580)],'label':_0x3ceb5e['t'](_0x2aea59(0x42f)),'children':(0x0,_0x4da08e[_0x2aea59(0x4ef)])(_0x37f706[_0x2aea59(0x303)],{'defaultValues':_0x398f42['defaultValues']['pareto'],'NumberFormatField':_0x37f706[_0x2aea59(0x397)],'showDataPointEditor':!0x0,'target':_0x2aea59(0x443)})}),(0x0,_0x4da08e['jsx'])(_0x6a5c93,{'id':_0x37f706['ChartEditPanelSection']['ParetoLineSeries'],'label':_0x3ceb5e['t']('sheets-chart-ui.section.paretoLine'),'children':(0x0,_0x4da08e[_0x2aea59(0x4ef)])(_0x37f706[_0x2aea59(0x303)],{'defaultValues':_0x398f42[_0x2aea59(0x590)]['pareto'],'NumberFormatField':_0x37f706[_0x2aea59(0x397)],'showDataPointEditor':!0x1,'target':_0x2aea59(0x4bf)})})]}),_0x4524bb&&(0x0,_0x4da08e['jsx'])(_0x6a5c93,{'id':_0x37f706[_0x2aea59(0x432)]['PieStyle'],'label':_0x3ceb5e['t'](_0x2aea59(0x31b)),'children':(0x0,_0x4da08e[_0x2aea59(0x4ef)])(_0x37f706['ChartPieStyleSection'],{'defaultValues':_0x398f42[_0x2aea59(0x590)]['pie'],'NumberFormatField':_0x37f706['ChartNumberFormatAtom']})}),_0xd19031&&(0x0,_0x4da08e['jsx'])(_0x6a5c93,{'id':_0x37f706['ChartEditPanelSection'][_0x2aea59(0x2a2)],'label':_0x3ceb5e['t'](_0x2aea59(0x18c)),'children':(0x0,_0x4da08e[_0x2aea59(0x4ef)])(_0x37f706[_0x2aea59(0x46b)],{'defaultValues':_0x398f42['defaultValues'][_0x2aea59(0x504)]})}),_0x3b3837&&(0x0,_0x4da08e['jsx'])(_0x6a5c93,{'id':_0x37f706['ChartEditPanelSection'][_0x2aea59(0x560)],'label':_0x3ceb5e['t']('sheets-chart-ui.section.radar'),'children':(0x0,_0x4da08e['jsx'])(_0x37f706[_0x2aea59(0x2f8)],{'defaultValues':_0x398f42[_0x2aea59(0x590)][_0x2aea59(0x42b)]})}),_0x238186&&(0x0,_0x4da08e[_0x2aea59(0x4ef)])(_0x6a5c93,{'id':_0x37f706[_0x2aea59(0x432)]['Funnel'],'label':_0x3ceb5e['t'](_0x2aea59(0x401)),'children':(0x0,_0x4da08e[_0x2aea59(0x4ef)])(_0x37f706['ChartFunnelStyleSection'],{'defaultValues':_0x398f42[_0x2aea59(0x590)][_0x2aea59(0x4e6)],'gapControl':_0x2aea59(0x522)})}),_0x12328b&&(0x0,_0x4da08e[_0x2aea59(0x4ef)])(_0x6a5c93,{'id':_0x37f706['ChartEditPanelSection'][_0x2aea59(0x376)],'label':_0x3ceb5e['t']('sheets-chart-ui.common.heatmap'),'children':(0x0,_0x4da08e[_0x2aea59(0x4ef)])(_0x37f706[_0x2aea59(0x2eb)],{'defaultValues':_0x398f42[_0x2aea59(0x590)][_0x2aea59(0x279)]})}),_0xc9d18a&&(0x0,_0x4da08e[_0x2aea59(0x4ef)])(_0x6a5c93,{'id':_0x37f706['ChartEditPanelSection']['Relation'],'label':_0x3ceb5e['t'](_0x2aea59(0x1ec)),'children':(0x0,_0x4da08e[_0x2aea59(0x4ef)])(_0x37f706[_0x2aea59(0x2ab)],{'defaultValues':_0x398f42[_0x2aea59(0x590)][_0x2aea59(0x437)]})}),(0x0,_0x37f706[_0x2aea59(0x384)])(_0x5c1c10)&&(0x0,_0x4da08e[_0x2aea59(0x4ef)])(_0x6a5c93,{'id':_0x37f706[_0x2aea59(0x432)][_0x2aea59(0x52c)],'label':_0x3ceb5e['t'](_0x214e0a[_0x2aea59(0x28f)][_0x2aea59(0x3ea)](_0x5c1c10,_0x214e0a[_0x2aea59(0x3b0)][_0x2aea59(0x4d6)])?_0x2aea59(0x336):_0x2aea59(0x561)),'children':(0x0,_0x4da08e['jsx'])(_0x37f706['ChartLineAndAreaSection'],{'defaultValues':_0x398f42['defaultValues'][_0x2aea59(0x3ca)],'lineStyleControl':_0x2aea59(0x180)})}),(0x0,_0x37f706[_0x2aea59(0x41f)])(_0x5c1c10,_0x37f706[_0x2aea59(0x27e)]['Legend'])&&(0x0,_0x4da08e[_0x2aea59(0x4ef)])(_0x6a5c93,{'id':_0x37f706['ChartEditPanelSection'][_0x2aea59(0x396)],'label':_0x3ceb5e['t']('sheets-chart-ui.common.legend'),'children':(0x0,_0x4da08e[_0x2aea59(0x4ef)])(_0x37f706[_0x2aea59(0x184)],{'defaultValues':_0x398f42[_0x2aea59(0x590)][_0x2aea59(0x39c)]})}),(0x0,_0x37f706[_0x2aea59(0x41f)])(_0x5c1c10,_0x37f706[_0x2aea59(0x27e)][_0x2aea59(0x511)])&&(0x0,_0x4da08e[_0x2aea59(0x3f5)])(_0x4da08e[_0x2aea59(0x1ed)],{'children':[(0x0,_0x4da08e[_0x2aea59(0x4ef)])(_0x6a5c93,{'id':_0x37f706['ChartEditPanelSection'][_0x2aea59(0x47f)],'label':_0x3ceb5e['t'](_0x2aea59(0x1be)),'children':(0x0,_0x4da08e[_0x2aea59(0x4ef)])(_0x37f706['ChartAxisSection'],{'axis':'x','defaultValues':_0x398f42['defaultValues']['axis'],'NumberFormatField':_0x37f706['ChartNumberFormatAtom']})}),(0x0,_0x4da08e['jsx'])(_0x6a5c93,{'id':_0x37f706[_0x2aea59(0x432)][_0x2aea59(0x3a6)],'label':_0x3ceb5e['t'](_0x2aea59(0x33a)),'children':(0x0,_0x4da08e[_0x2aea59(0x4ef)])(_0x37f706[_0x2aea59(0x41c)],{'axis':'y','defaultValues':_0x398f42['defaultValues'][_0x2aea59(0x322)],'NumberFormatField':_0x37f706['ChartNumberFormatAtom']})}),(0x0,_0x4da08e['jsx'])(_0x37f706[_0x2aea59(0x275)],{'section':_0x2aea59(0x529)}),_0x5b5d8a&&(0x0,_0x4da08e[_0x2aea59(0x4ef)])(_0x6a5c93,{'id':_0x37f706[_0x2aea59(0x432)][_0x2aea59(0x29c)],'label':_0x3ceb5e['t'](_0x2aea59(0x332)),'children':(0x0,_0x4da08e['jsx'])(_0x37f706[_0x2aea59(0x41c)],{'axis':_0x2aea59(0x1fd),'defaultValues':_0x398f42[_0x2aea59(0x590)][_0x2aea59(0x322)],'NumberFormatField':_0x37f706[_0x2aea59(0x397)]})}),(0x0,_0x4da08e[_0x2aea59(0x4ef)])(_0x6a5c93,{'id':_0x37f706[_0x2aea59(0x432)][_0x2aea59(0x3ad)],'label':_0x3ceb5e['t'](_0x2aea59(0x26c)),'children':(0x0,_0x4da08e[_0x2aea59(0x4ef)])(_0x37f706['ChartGridlinesAndTicksSection'],{'defaultValues':_0x398f42['defaultValues'][_0x2aea59(0x322)]})})]}),(0x0,_0x37f706['chartTypeSupportsCapability'])(_0x5c1c10,_0x37f706[_0x2aea59(0x27e)]['IndicatorLine'])&&(0x0,_0x4da08e[_0x2aea59(0x4ef)])(_0x6a5c93,{'id':_0x37f706[_0x2aea59(0x432)][_0x2aea59(0x53c)],'label':_0x3ceb5e['t']('sheets-chart-ui.section.indicatorLine'),'children':(0x0,_0x4da08e[_0x2aea59(0x4ef)])(_0x37f706[_0x2aea59(0x374)],{'defaultValues':_0x398f42[_0x2aea59(0x590)][_0x2aea59(0x2fb)]})}),(0x0,_0x214e0a[_0x2aea59(0x2d1)])(_0x5c1c10)&&(0x0,_0x4da08e[_0x2aea59(0x4ef)])(_0x6a5c93,{'id':_0x37f706['ChartEditPanelSection'][_0x2aea59(0x308)],'label':_0x3ceb5e['t'](_0x2aea59(0x198)),'children':(0x0,_0x4da08e[_0x2aea59(0x4ef)])(_0x37f706['ChartTrendlineSection'],{'defaultValues':_0x398f42[_0x2aea59(0x590)]['trendline']})}),_0x180ff2&&_0x491e12&&(0x0,_0x4da08e[_0x2aea59(0x4ef)])(_0x6a5c93,{'id':_0x180ff2,'label':_0x491e12,'children':(0x0,_0x4da08e[_0x2aea59(0x4ef)])(_0x37f706[_0x2aea59(0x4ca)],{})})]});};function _0x1fb49a(_0x23aa9a){const _0x15b4f2=_0x185be1;let {className:_0x479c1b}=_0x23aa9a,[_0x5b63d7,_0x1e967d]=(0x0,_0x119d22['useState'])(_0x37f706['ChartEditPanelTab'][_0x15b4f2(0x4c9)]),_0x1ac4c3=(0x0,_0x21688c[_0x15b4f2(0x1f0)])(_0x1ba070[_0x15b4f2(0x32e)]),_0x555ae1=(0x0,_0x21688c[_0x15b4f2(0x1f0)])(_0x1ba070[_0x15b4f2(0x30e)]),_0x4dc7c8=(0x0,_0x21688c[_0x15b4f2(0x1f0)])(_0x24cbf9),_0x285e76=(0x0,_0x21688c['useDependency'])(_0x113ca7['ChartModelService']),_0x2cff30=(0x0,_0x21688c[_0x15b4f2(0x1f0)])(_0x113ca7[_0x15b4f2(0x1f5)]),_0x4aab32=(0x0,_0x21688c[_0x15b4f2(0x27d)])(_0x285e76[_0x15b4f2(0x548)],_0x285e76[_0x15b4f2(0x286)]),_0xd4b653=(0x0,_0x21688c[_0x15b4f2(0x27d)])(_0x4dc7c8['panelRoute$'],null),_0x3db6a7=(0x0,_0x119d22[_0x15b4f2(0x4b5)])(()=>{const _0x2938a3=_0x15b4f2;var _0x142fee;if(!_0x4aab32)return null;let _0x51ad01=_0x2cff30[_0x2938a3(0x44f)](_0x4aab32['id']);if(!_0x51ad01)return null;let _0x3115f3=Array['isArray'](_0x51ad01)?(_0x142fee=_0x51ad01[0x0])==null?void 0x0:_0x142fee[_0x2938a3(0x340)]:_0x51ad01['rangeInfo'];return _0x3115f3?new _0x37f706[(_0x2938a3(0x212))](_0x4aab32,new _0x113ca7[(_0x2938a3(0x494))]({'unitId':_0x3115f3[_0x2938a3(0x2ac)],'subUnitId':_0x3115f3[_0x2938a3(0x50c)],'chartId':_0x4aab32['id'],'injector':_0x1ac4c3})):null;},[_0x4aab32,_0x1ac4c3,_0x2cff30]);if((0x0,_0x119d22['useEffect'])(()=>{const _0x13b0ef=_0x15b4f2;var _0x155230,_0x2039a7;_0x4aab32&&(_0xd4b653==null?void 0x0:_0xd4b653[_0x13b0ef(0x4d9)])===_0x4aab32['id']&&(((_0x155230=_0xd4b653[_0x13b0ef(0x455)])==null?void 0x0:_0x155230['tab'])===_0x37f706['ChartEditPanelTab'][_0x13b0ef(0x358)]&&_0x1e967d(_0x37f706['ChartEditPanelTab'][_0x13b0ef(0x358)]),((_0x2039a7=_0xd4b653[_0x13b0ef(0x455)])==null?void 0x0:_0x2039a7['tab'])===_0x37f706[_0x13b0ef(0x562)][_0x13b0ef(0x4c9)]&&_0x1e967d(_0x37f706[_0x13b0ef(0x562)][_0x13b0ef(0x4c9)]));},[_0x4aab32,_0xd4b653]),!_0x3db6a7)return null;let _0x4c0a5d=(0x0,_0x4da08e[_0x15b4f2(0x4ef)])(_0x15b4f2(0x2d0),{'className':_0x15b4f2(0x427)+(_0x5b63d7===_0x37f706[_0x15b4f2(0x562)][_0x15b4f2(0x358)]?_0x15b4f2(0x26a):'univer-overflow-hidden')+_0x15b4f2(0x465)+(_0x479c1b??'')+'\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','children':(0x0,_0x4da08e[_0x15b4f2(0x4ef)])(_0x37f706['ChartEditorTabs'],{'ariaLabel':_0x555ae1['t'](_0x15b4f2(0x1a1)),'activeTab':_0x5b63d7,'onTabChange':_0x1e967d,'tabListClassName':_0x15b4f2(0x4dc),'panelClassName':_0x5b63d7===_0x37f706[_0x15b4f2(0x562)][_0x15b4f2(0x358)]?_0x15b4f2(0x29b):void 0x0,'tabs':[{'id':_0x37f706['ChartEditPanelTab'][_0x15b4f2(0x4c9)],'panelId':_0x136d41,'title':_0x555ae1['t']('sheets-chart-ui.common.setup'),'content':(0x0,_0x4da08e[_0x15b4f2(0x4ef)])(_0x2a6a33,{})},{'id':_0x37f706[_0x15b4f2(0x562)][_0x15b4f2(0x358)],'panelId':_0x3281ac,'title':_0x555ae1['t'](_0x15b4f2(0x43f)),'content':(0x0,_0x4da08e[_0x15b4f2(0x4ef)])(_0x2f4187,{'defaultValues':_0x3580d8})}]})});return(0x0,_0x4da08e[_0x15b4f2(0x4ef)])(_0x37f706[_0x15b4f2(0x516)],{'chartUIService':_0x4dc7c8,'hostAdapter':_0x3db6a7,'children':_0x4c0a5d});}let _0x209d81=_0x185be1(0x20d),_0x136d41=_0x185be1(0x182),_0x3281ac=_0x185be1(0x38b);function _0x56fe1b(_0x44961a){const _0x37933f=_0x185be1;let _0xd44c93=_0x44961a['get'](_0x302521['ISheetDrawingService']);return _0xd44c93[_0x37933f(0x459)][_0x37933f(0x4d3)]((0x0,_0x5e3636[_0x37933f(0x3e1)])(_0xd44c93['getFocusDrawings']()),(0x0,_0x5e3636[_0x37933f(0x18e)])(()=>_0xf9815d(_0x44961a)==null));}function _0xe71819(_0x18ebae){const _0x425b72=_0x185be1;let _0x1c1b97=_0x18ebae['get'](_0x21688c[_0x425b72(0x1de)]);return{'activated$':(0x0,_0x5e3636[_0x425b72(0x2f4)])(()=>_0x1c1b97['sidebarOptions$'][_0x425b72(0x4d3)]((0x0,_0x5e3636[_0x425b72(0x3e1)])(_0x1c1b97[_0x425b72(0x299)]),(0x0,_0x5e3636[_0x425b72(0x18e)])(_0x145697=>_0x145697[_0x425b72(0x3dd)]===!0x0&&_0x145697['id']===_0x425b72(0x20d)),(0x0,_0x5e3636[_0x425b72(0x306)])())),'id':_0xb862c8['id'],'commandId':_0xb862c8['id'],'type':_0x21688c[_0x425b72(0x274)][_0x425b72(0x2b9)],'title':_0x18ebae[_0x425b72(0x442)](_0x1ba070['LocaleService'])['t'](_0x425b72(0x4e3)),'icon':_0x425b72(0x58d),'hidden$':_0x56fe1b(_0x18ebae)};}function _0x47de30(_0x2a081a){const _0x4e2f65=_0x185be1;return{'id':_0xb06e29['id'],'commandId':_0xb06e29['id'],'type':_0x21688c[_0x4e2f65(0x274)][_0x4e2f65(0x2b9)],'title':_0x2a081a['get'](_0x1ba070['LocaleService'])['t'](_0x4e2f65(0x200)),'icon':_0x4e2f65(0x4b8),'hidden$':_0x56fe1b(_0x2a081a)};}function _0x1f915c(_0xfc4d7f){const _0xa4b44e=_0x185be1;return{'id':_0x4c423d['id'],'commandId':_0x4c423d['id'],'type':_0x21688c[_0xa4b44e(0x274)][_0xa4b44e(0x2b9)],'title':_0xfc4d7f[_0xa4b44e(0x442)](_0x1ba070[_0xa4b44e(0x30e)])['t'](_0xa4b44e(0x46a)),'icon':_0xa4b44e(0x189),'hidden$':_0x56fe1b(_0xfc4d7f)};}function _0x22dd34(_0x37c81){const _0x38f9a0=_0x185be1;return{'id':_0x1468ca['id'],'commandId':_0x1468ca['id'],'type':_0x21688c[_0x38f9a0(0x274)][_0x38f9a0(0x2b9)],'title':_0x37c81['get'](_0x1ba070['LocaleService'])['t'](_0x38f9a0(0x565)),'icon':_0x38f9a0(0x24c),'hidden$':_0x56fe1b(_0x37c81)};}let _0x5b9097={[_0x21688c[_0x185be1(0x36d)][_0x185be1(0x555)]]:{[_0x1b45e5['id']]:{'order':0x4,'menuItemFactory':_0x20768b}},[_0x21688c[_0x185be1(0x586)][_0x185be1(0x464)]]:{[_0x21688c[_0x185be1(0x2af)][_0x185be1(0x351)]]:{[_0xb862c8['id']]:{'order':0x0,'menuItemFactory':_0xe71819},[_0xb06e29['id']]:{'order':0x1,'menuItemFactory':_0x47de30},[_0x4c423d['id']]:{'order':0x3,'menuItemFactory':_0x1f915c},[_0x1468ca['id']]:{'order':0x4,'menuItemFactory':_0x22dd34}}}};function _0x2679c1(_0x18ceeb){const _0x502746=_0x185be1;return _0x18ceeb===_0x214e0a[_0x502746(0x3b0)][_0x502746(0x435)]||_0x18ceeb===_0x214e0a[_0x502746(0x3b0)][_0x502746(0x560)]||_0x18ceeb===_0x214e0a['ChartTypeBits'][_0x502746(0x552)]||_0x214e0a[_0x502746(0x28f)][_0x502746(0x3ea)](_0x18ceeb,_0x214e0a[_0x502746(0x3b0)][_0x502746(0x2cc)])||_0x214e0a[_0x502746(0x28f)][_0x502746(0x3ea)](_0x18ceeb,_0x214e0a[_0x502746(0x3b0)][_0x502746(0x444)])||_0x214e0a[_0x502746(0x28f)][_0x502746(0x3ea)](_0x18ceeb,_0x214e0a[_0x502746(0x3b0)][_0x502746(0x4d6)])||_0x214e0a['chartBitsUtils'][_0x502746(0x3ea)](_0x18ceeb,_0x214e0a[_0x502746(0x3b0)][_0x502746(0x46f)]);}function _0x3fa9dc(_0xaf464f){const _0x1e0b8c=_0x185be1;return _0x2679c1(_0xaf464f)||_0x214e0a[_0x1e0b8c(0x28f)][_0x1e0b8c(0x3ea)](_0xaf464f,_0x214e0a['ChartTypeBits'][_0x1e0b8c(0x383)])||_0x214e0a['chartBitsUtils'][_0x1e0b8c(0x3ea)](_0xaf464f,_0x214e0a[_0x1e0b8c(0x3b0)][_0x1e0b8c(0x41b)])||_0x214e0a[_0x1e0b8c(0x28f)][_0x1e0b8c(0x3ea)](_0xaf464f,_0x214e0a[_0x1e0b8c(0x3b0)][_0x1e0b8c(0x2db)]);}function _0x25eb04(_0x239441,_0x3d4743){const _0x201e3d=_0x185be1;let _0x1092b7=(0x0,_0x37f706[_0x201e3d(0x389)])(_0x239441,_0x3d4743),_0x31d3f8=_0x1092b7?(0x0,_0x37f706['resolveChartEditPanelRoute'])(_0x1092b7[_0x201e3d(0x22e)]):void 0x0;if(_0x1092b7&&_0x31d3f8)return{..._0x1092b7,'route':_0x31d3f8,'showFloatMenu':_0x3fa9dc(_0x239441[_0x201e3d(0x593)])&&_0x1092b7[_0x201e3d(0x21b)]};}var _0x370ca0=class extends _0x1ba070[_0x185be1(0x27c)]{constructor(_0x481570){const _0x4e71b5=_0x185be1;super(),this[_0x4e71b5(0x312)]=_0x481570,_0x3d73b3(this,_0x4e71b5(0x507),null),_0x3d73b3(this,_0x4e71b5(0x3fa),!0x1),_0x3d73b3(this,_0x4e71b5(0x1b0),!0x1);}[_0x185be1(0x377)](){const _0x4c90a8=_0x185be1;this['_disposed']||(this[_0x4c90a8(0x1b0)]=!0x0,!this[_0x4c90a8(0x3fa)]&&this[_0x4c90a8(0x507)]===null&&(this[_0x4c90a8(0x507)]=requestAnimationFrame(()=>this[_0x4c90a8(0x394)]())));}[_0x185be1(0x394)](){const _0x352380=_0x185be1;if(this[_0x352380(0x417)]||this['_running'])return;this[_0x352380(0x313)]();let _0x277110=this[_0x352380(0x312)]();_0x277110&&(this[_0x352380(0x3fa)]=!0x0,_0x277110['catch'](_0x31948b=>console['error'](_0x31948b))[_0x352380(0x28d)](()=>{const _0x273f5f=_0x352380;this[_0x273f5f(0x3fa)]=!0x1,this[_0x273f5f(0x1b0)]&&this[_0x273f5f(0x377)]();}));}['cancelPending'](){const _0x3637be=_0x185be1;this['_pending']=!0x1,this[_0x3637be(0x507)]!==null&&(cancelAnimationFrame(this[_0x3637be(0x507)]),this[_0x3637be(0x507)]=null);}[_0x185be1(0x4d8)](){const _0x24235e=_0x185be1;this[_0x24235e(0x313)](),super[_0x24235e(0x4d8)]();}},_0x11d874=class extends _0x1ba070[_0x185be1(0x27c)]{constructor(_0x5c95e8,_0xb0ab8f){const _0x284e56=_0x185be1;super(),this[_0x284e56(0x1b2)]=_0x5c95e8,this[_0x284e56(0x531)]=_0xb0ab8f,_0x3d73b3(this,'_scheduler',void 0x0),_0x3d73b3(this,'_geometry',void 0x0),this[_0x284e56(0x4cf)]=this[_0x284e56(0x1e6)](),this[_0x284e56(0x339)]=new _0x370ca0(()=>this['_updateGeometry']()),this[_0x284e56(0x3d7)](this['_scheduler']),this['disposeWithMe'](_0x5c95e8[_0x284e56(0x4bc)]['subscribeEvent'](()=>this['_scheduler'][_0x284e56(0x377)]()));}get[_0x185be1(0x194)](){const _0x47e524=_0x185be1;return this[_0x47e524(0x339)];}['_updateGeometry'](){const _0x41bb2a=_0x185be1;let _0x2050b9=this[_0x41bb2a(0x1e6)](),_0x2c3991=this['_geometry'],_0x491e20=_0x2050b9[_0x41bb2a(0x2bf)]!==_0x2c3991[_0x41bb2a(0x2bf)]||_0x2050b9[_0x41bb2a(0x2d7)]!==_0x2c3991[_0x41bb2a(0x2d7)];if(_0x491e20||_0x2050b9[_0x41bb2a(0x4e4)]!==_0x2c3991['left']||_0x2050b9[_0x41bb2a(0x2e8)]!==_0x2c3991[_0x41bb2a(0x2e8)])return this['_geometry']=_0x2050b9,this[_0x41bb2a(0x531)](_0x491e20);}[_0x185be1(0x1e6)](){const _0x4d3ca1=_0x185be1;let {left:_0x562cd9,top:_0x283edc,width:_0x48dea3,height:_0x1958e8}=this[_0x4d3ca1(0x1b2)];return{'left':_0x562cd9,'top':_0x283edc,'width':_0x48dea3,'height':_0x1958e8};}};function _0xb4e4c5(_0x1dc292,_0x32b326=0x1){const _0x24dfe1=_0x185be1;return{'width':Math[_0x24dfe1(0x18a)](_0x32b326,_0x1dc292[_0x24dfe1(0x2bf)]),'height':Math[_0x24dfe1(0x18a)](_0x32b326,_0x1dc292['height'])};}function _0xa8b433(_0x3fa06f,_0x1029a3={},_0x4142fc={'left':0x0,'top':0x0}){const _0x21b7d4=_0x185be1;let _0x2f5926=_0x1029a3[_0x21b7d4(0x2b8)]??0x1,_0x65b59d=_0x1029a3['scaleY']??0x1,_0x19f3ae=_0x37f706[_0x21b7d4(0x47b)]['resolve']({'logicalOuterRect':{'left':_0x4142fc['left']>0x0?-_0x4142fc[_0x21b7d4(0x4e4)]:0x0,'top':_0x4142fc[_0x21b7d4(0x2e8)]>0x0?-_0x4142fc[_0x21b7d4(0x2e8)]:0x0,..._0xb4e4c5(_0x3fa06f)},'scale':{'scaleX':_0x2f5926,'scaleY':_0x65b59d},'hostStyle':{},'contentMode':_0x37f706[_0x21b7d4(0x30f)]['Overlay']});return{'left':_0x19f3ae[_0x21b7d4(0x1fa)][_0x21b7d4(0x4e4)],'top':_0x19f3ae[_0x21b7d4(0x1fa)][_0x21b7d4(0x2e8)],'width':_0x19f3ae[_0x21b7d4(0x1fa)][_0x21b7d4(0x2bf)],'height':_0x19f3ae[_0x21b7d4(0x1fa)][_0x21b7d4(0x2d7)],'scaleX':_0x2f5926,'scaleY':_0x65b59d};}function _0x519b59(_0x1ec340){const _0x5b7081=_0x185be1;switch(_0x1ec340[_0x5b7081(0x569)]){case _0x214e0a['ChartImageSourceType'][_0x5b7081(0x1cc)]:return _0x1ec340[_0x5b7081(0x431)];case _0x214e0a['ChartImageSourceType'][_0x5b7081(0x349)]:return _0x1ec340[_0x5b7081(0x421)];default:return;}}var _0x4613b7=class extends _0x1d47e2['Rect']{constructor(_0x1bc672,_0xc0f3d2,_0x23236f,_0x592aa8=()=>!0x1,_0x5dfc54=()=>{}){const _0x3adb06=_0x185be1;super(_0x1bc672,{..._0xc0f3d2,'evented':_0xc0f3d2[_0x3adb06(0x188)]??!0x0}),this[_0x3adb06(0x4c3)]=_0x23236f,this[_0x3adb06(0x3a7)]=_0x592aa8,this[_0x3adb06(0x400)]=_0x5dfc54,_0x3d73b3(this,_0x3adb06(0x539),null),_0x3d73b3(this,'_url',null),_0x3d73b3(this,_0x3adb06(0x225),null),_0x3d73b3(this,_0x3adb06(0x238),null),this[_0x3adb06(0x29a)](_0x1d47e2[_0x3adb06(0x33c)][_0x3adb06(0x31c)]);}['dispose'](){const _0x5a33a7=_0x185be1;this[_0x5a33a7(0x34d)](),this[_0x5a33a7(0x539)]=null,this[_0x5a33a7(0x525)]=null,this[_0x5a33a7(0x225)]=null,this[_0x5a33a7(0x400)](),super[_0x5a33a7(0x4d8)]();}['render'](_0x4933f1,_0x41f579){const _0x1d7ecb=_0x185be1;if(!this['visible'])return this[_0x1d7ecb(0x572)](!0x1),this;if(this['_shouldSuppressRender']()){let _0x53eca6=this[_0x1d7ecb(0x4c3)]();return _0x53eca6&&this[_0x1d7ecb(0x436)](_0x53eca6),this['makeDirty'](!0x1),this;}if(!this[_0x1d7ecb(0x380)])return this;let {width:_0x24eee0,height:_0x2c1c2a,left:_0x3701e2,top:_0x5101da}=this['getRealBound']();if(this['isRender'](_0x41f579)){let {top:_0x48e5ee,left:_0x7f5311,bottom:_0x3fdd7d,right:_0x320c67}=_0x41f579[_0x1d7ecb(0x587)];if(_0x24eee0+this['strokeWidth']+_0x3701e2<_0x7f5311||_0x320c67<_0x3701e2||_0x2c1c2a+this[_0x1d7ecb(0x1c8)]+_0x5101da<_0x48e5ee||_0x3fdd7d<_0x5101da)return this;}let _0x5db178=this[_0x1d7ecb(0x380)]['getMatrix']();_0x4933f1['save']();let _0x3d0192=_0x3701e2+_0x24eee0/0x2,_0x1ca99b=_0x5101da+_0x2c1c2a/0x2;return _0x4933f1['transform'](_0x5db178[0x0],_0x5db178[0x1],_0x5db178[0x2],_0x5db178[0x3],_0x3d0192,_0x1ca99b),this[_0x1d7ecb(0x347)]!==0x1&&(_0x4933f1[_0x1d7ecb(0x291)]=this[_0x1d7ecb(0x347)]),this[_0x1d7ecb(0x3fb)](_0x4933f1,void 0x0,_0x24eee0,_0x2c1c2a),_0x4933f1[_0x1d7ecb(0x34a)](),this['makeDirty'](!0x1),this;}['_draw'](_0x46fc51,_0x478d60,_0x500d04=this['width'],_0x3dc6a9=this[_0x185be1(0x2d7)]){const _0x494b7b=_0x185be1;this[_0x494b7b(0x4bd)](_0x46fc51,_0x500d04,_0x3dc6a9,{'stroke':void 0x0,'strokeWidth':0x0}),this[_0x494b7b(0x233)](_0x46fc51,_0x500d04,_0x3dc6a9),this[_0x494b7b(0x4bd)](_0x46fc51,_0x500d04,_0x3dc6a9,{'fill':void 0x0});}[_0x185be1(0x4bd)](_0x305335,_0x32d552,_0x5e354b,_0x50ca9a){const _0x4b45d8=_0x185be1;_0x305335[_0x4b45d8(0x1e7)](),_0x305335[_0x4b45d8(0x4e8)](-_0x32d552/0x2,-_0x5e354b/0x2),_0x1d47e2[_0x4b45d8(0x4ad)]['drawWith'](_0x305335,_0xce2f89(this,_0x32d552,_0x5e354b,_0x50ca9a)),_0x305335['restore']();}[_0x185be1(0x207)](_0x175348){const _0x29ccc0=_0x185be1;let {left:_0x4d9158,top:_0x171018,width:_0x17dec3,height:_0x36a2b9}=this['getRealBound'](),_0x548c5c=_0x4d9158+_0x17dec3/0x2,_0x7b01ef=_0x171018+_0x36a2b9/0x2,_0x4358d2=this[_0x29ccc0(0x380)][_0x29ccc0(0x18d)](),_0x6aa88d=new _0x1d47e2[(_0x29ccc0(0x466))]([_0x4358d2[0x0],_0x4358d2[0x1],_0x4358d2[0x2],_0x4358d2[0x3],_0x548c5c,_0x7b01ef]),_0x20384e=this[_0x29ccc0(0x1e4)](),_0x592e54=(this[_0x29ccc0(0x294)]&&(_0x20384e==null?void 0x0:_0x20384e[_0x29ccc0(0x457)])===_0x1d47e2[_0x29ccc0(0x20e)][_0x29ccc0(0x47c)]?_0x20384e[_0x29ccc0(0x3bc)][_0x29ccc0(0x575)](_0x6aa88d):_0x6aa88d)[_0x29ccc0(0x3e4)]()[_0x29ccc0(0x4ab)](_0x175348),_0x550e4a=_0x17dec3/0x2,_0x5c3ed2=_0x36a2b9/0x2;return _0x592e54['x']>=-_0x550e4a-this[_0x29ccc0(0x1c8)]/0x2&&_0x592e54['x']<=_0x550e4a+this['strokeWidth']/0x2&&_0x592e54['y']>=-_0x5c3ed2-this[_0x29ccc0(0x1c8)]/0x2&&_0x592e54['y']<=_0x5c3ed2+this[_0x29ccc0(0x1c8)]/0x2;}[_0x185be1(0x233)](_0x194a70,_0x1ff8b2,_0x51363b){const _0x2fac39=_0x185be1;let _0x5ec302=this[_0x2fac39(0x4c3)](),_0x5358c6=_0x5ec302?this['_getDrawable'](_0x5ec302):void 0x0;if(!_0x5358c6)return;let {width:_0x3eb9cc,height:_0x5875cf}=_0xb4e4c5({'width':_0x1ff8b2,'height':_0x51363b},0x0);_0x3eb9cc!==0x0&&_0x5875cf!==0x0&&(_0x194a70[_0x2fac39(0x1e7)](),_0x194a70[_0x2fac39(0x4e8)](-_0x1ff8b2/0x2,-_0x51363b/0x2),_0x176795(_0x194a70,_0x3eb9cc,_0x5875cf,this[_0x2fac39(0x440)]),_0x194a70[_0x2fac39(0x30b)](),_0x194a70[_0x2fac39(0x2e3)](_0x5358c6,0x0,0x0,_0x3eb9cc,_0x5875cf),_0x194a70[_0x2fac39(0x34a)]());}[_0x185be1(0x436)](_0x34fcfa){const _0x211448=_0x185be1;var _0x39066e;let _0x3157b6=_0x519b59(_0x34fcfa);if(_0x3157b6)return _0x3157b6;if(_0x34fcfa['type']===_0x214e0a[_0x211448(0x4af)][_0x211448(0x24f)]&&(this['_requestedUrl']!==_0x34fcfa['url']&&(this['_requestedUrl']=_0x34fcfa[_0x211448(0x1a2)],this[_0x211448(0x34d)](),this['_url']!==_0x34fcfa[_0x211448(0x1a2)]&&this[_0x211448(0x3e2)](_0x34fcfa[_0x211448(0x1a2)])),(_0x39066e=this['_urlImage'])!=null&&_0x39066e['complete']&&this[_0x211448(0x539)][_0x211448(0x341)]>0x0&&this['_urlImage'][_0x211448(0x596)]>0x0))return this[_0x211448(0x539)];}['_loadUrlImage'](_0x2b3b93){const _0x58e20a=_0x185be1;let _0x2fb3bd=document[_0x58e20a(0x202)](_0x58e20a(0x51f));this['_pendingUrlImage']=_0x2fb3bd,_0x2fb3bd['crossOrigin']=_0x58e20a(0x2e7),_0x2fb3bd[_0x58e20a(0x487)]=()=>{const _0x1a961b=_0x58e20a;this[_0x1a961b(0x225)]===_0x2b3b93&&this[_0x1a961b(0x238)]===_0x2fb3bd&&(_0x2fb3bd[_0x1a961b(0x341)]>0x0&&_0x2fb3bd[_0x1a961b(0x596)]>0x0&&(this['_url']=_0x2b3b93,this[_0x1a961b(0x539)]=_0x2fb3bd),this[_0x1a961b(0x34d)](),this[_0x1a961b(0x572)](!0x0));},_0x2fb3bd[_0x58e20a(0x385)]=()=>{const _0x1ab85b=_0x58e20a;this[_0x1ab85b(0x238)]===_0x2fb3bd&&this[_0x1ab85b(0x34d)]();},_0x2fb3bd['src']=_0x2b3b93;}[_0x185be1(0x34d)](){const _0x32e472=_0x185be1;this[_0x32e472(0x238)]&&=(this[_0x32e472(0x238)]['onload']=null,this[_0x32e472(0x238)][_0x32e472(0x385)]=null,null);}};function _0xce2f89(_0x3c3b5b,_0x7aec6a,_0x2f1100,_0x332e9c){const _0x4fdb51=_0x185be1;let _0x8ecab9=Object[_0x4fdb51(0x51b)](_0x3c3b5b);return Object[_0x4fdb51(0x1ae)](_0x8ecab9,'width',{'value':_0x7aec6a}),Object[_0x4fdb51(0x1ae)](_0x8ecab9,_0x4fdb51(0x2d7),{'value':_0x2f1100}),Object[_0x4fdb51(0x57f)](_0x332e9c)['forEach'](_0x4031e3=>{const _0xb75209=_0x4fdb51;Object[_0xb75209(0x1ae)](_0x8ecab9,_0x4031e3,{'value':_0x332e9c[_0x4031e3]});}),_0x8ecab9;}function _0x176795(_0x30b7c4,_0x485c59,_0x39f8e5,_0x3e58f1){const _0x6407ca=_0x185be1;let _0x61fbe2=Math[_0x6407ca(0x56b)](_0x3e58f1||0x0,_0x485c59/0x2,_0x39f8e5/0x2);_0x30b7c4['beginPath'](),_0x61fbe2?(_0x30b7c4[_0x6407ca(0x475)](_0x61fbe2,0x0),_0x30b7c4[_0x6407ca(0x564)](_0x485c59-_0x61fbe2,0x0),_0x30b7c4[_0x6407ca(0x540)](_0x485c59-_0x61fbe2,_0x61fbe2,_0x61fbe2,Math['PI']*0x3/0x2,0x0,!0x1),_0x30b7c4[_0x6407ca(0x564)](_0x485c59,_0x39f8e5-_0x61fbe2),_0x30b7c4[_0x6407ca(0x540)](_0x485c59-_0x61fbe2,_0x39f8e5-_0x61fbe2,_0x61fbe2,0x0,Math['PI']/0x2,!0x1),_0x30b7c4[_0x6407ca(0x564)](_0x61fbe2,_0x39f8e5),_0x30b7c4[_0x6407ca(0x540)](_0x61fbe2,_0x39f8e5-_0x61fbe2,_0x61fbe2,Math['PI']/0x2,Math['PI'],!0x1),_0x30b7c4[_0x6407ca(0x564)](0x0,_0x61fbe2),_0x30b7c4[_0x6407ca(0x540)](_0x61fbe2,_0x61fbe2,_0x61fbe2,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x30b7c4[_0x6407ca(0x407)]()):(_0x30b7c4[_0x6407ca(0x4ee)](0x0,0x0,_0x485c59,_0x39f8e5),_0x30b7c4[_0x6407ca(0x407)]());}function _0x173e38(_0x9d4dd5){const _0x49503b=_0x185be1;(_0x9d4dd5==null?void 0x0:_0x9d4dd5[_0x49503b(0x569)])===_0x214e0a['ChartImageSourceType'][_0x49503b(0x349)]&&_0x9d4dd5[_0x49503b(0x421)][_0x49503b(0x579)]();}function _0x564ffd(_0x241fbe){const _0x421d05=_0x185be1;return _0x241fbe['unitId']+_0x421d05(0x298)+_0x241fbe[_0x421d05(0x50c)]+_0x421d05(0x298)+_0x241fbe[_0x421d05(0x4d9)];}var _0x437b6a=class extends _0x1ba070[_0x185be1(0x27c)]{constructor(..._0x3c8ac8){const _0x2434b8=_0x185be1;super(..._0x3c8ac8),_0x3d73b3(this,_0x2434b8(0x2ba),new Map());}[_0x185be1(0x321)](_0xa2f677){const _0x172b13=_0x185be1;let _0x31a022=_0x564ffd(_0xa2f677),_0x20fae4=this['_entries'][_0x172b13(0x442)](_0x31a022)??{'version':0x0};return _0x20fae4[_0x172b13(0x477)]+=0x1,this[_0x172b13(0x2ba)]['set'](_0x31a022,_0x20fae4),_0x20fae4['version'];}[_0x185be1(0x546)](_0x330396,_0x2cb0b9){const _0x6e72c0=_0x185be1;var _0xd93545;return((_0xd93545=this['_entries']['get'](_0x564ffd(_0x330396)))==null?void 0x0:_0xd93545[_0x6e72c0(0x477)])===_0x2cb0b9;}[_0x185be1(0x1c7)](_0x20cc5e,_0x343c86,_0xa95723){const _0x5dfb7c=_0x185be1;if(!this[_0x5dfb7c(0x546)](_0x20cc5e,_0xa95723))return _0x173e38(_0x343c86),!0x1;let _0x398b3d=_0x564ffd(_0x20cc5e),_0x2656e9=this[_0x5dfb7c(0x2ba)][_0x5dfb7c(0x442)](_0x398b3d)??{'version':_0xa95723},_0x5ee743=_0x2656e9[_0x5dfb7c(0x231)];return _0x2656e9[_0x5dfb7c(0x231)]=_0x343c86,_0x2656e9['version']=_0xa95723,this[_0x5dfb7c(0x2ba)]['set'](_0x398b3d,_0x2656e9),_0x5ee743!==_0x343c86&&_0x173e38(_0x5ee743),!0x0;}['getImage'](_0x38140c){const _0x2c92b0=_0x185be1;var _0x155b9d;return(_0x155b9d=this[_0x2c92b0(0x2ba)]['get'](_0x564ffd(_0x38140c)))==null?void 0x0:_0x155b9d[_0x2c92b0(0x231)];}[_0x185be1(0x267)](_0x294d28){const _0x4064a9=_0x185be1;let _0x420edb=_0x564ffd(_0x294d28),_0x31a002=this[_0x4064a9(0x2ba)][_0x4064a9(0x442)](_0x420edb);_0x31a002&&(_0x173e38(_0x31a002['image']),this['_entries']['delete'](_0x420edb));}[_0x185be1(0x31e)](_0x45e532){const _0x28da69=_0x185be1;for(let [_0xdbd71f,_0x213cc5]of this['_entries'])_0xdbd71f[_0x28da69(0x2c4)](_0x28da69(0x298)+_0x45e532)&&(_0x173e38(_0x213cc5[_0x28da69(0x231)]),this[_0x28da69(0x2ba)]['delete'](_0xdbd71f));}[_0x185be1(0x4d8)](){const _0x584e5b=_0x185be1;this[_0x584e5b(0x2ba)]['forEach'](_0x1b7f87=>_0x173e38(_0x1b7f87['image'])),this[_0x584e5b(0x2ba)][_0x584e5b(0x20f)](),super['dispose']();}};function _0x5738e(_0x2a8431,_0x53129f=0x7d0){let _0x470f85=null,_0x4440a3=null,_0x127702=!0x1,_0x1a85ca=()=>{},_0x4f3fef=()=>{_0x470f85!=null&&(clearInterval(_0x470f85),_0x470f85=null),_0x4440a3!=null&&(clearTimeout(_0x4440a3),_0x4440a3=null);};return{'promise':new Promise((_0xa2edb1,_0x2b96d6)=>{_0x1a85ca=_0x2b96d6;let _0x2348d0=()=>{const _0x14cf48=_0x4020;let _0x32ece5=document[_0x14cf48(0x56e)](_0x2a8431);_0x32ece5&&!_0x127702&&(_0x127702=!0x0,_0x4f3fef(),_0xa2edb1(_0x32ece5));};_0x2348d0(),_0x127702||(_0x470f85=setInterval(_0x2348d0,16.666666666666668),_0x4440a3=setTimeout(()=>{const _0x3093f0=_0x4020;_0x127702||(_0x127702=!0x0,_0x4f3fef(),_0x2b96d6(Error(_0x3093f0(0x342)+_0x2a8431+'\x22.')));},_0x53129f));}),'cancel':()=>{const _0xd5fb57=_0x4020;_0x127702||(_0x127702=!0x0,_0x4f3fef(),_0x1a85ca(Error(_0xd5fb57(0x1b1)+_0x2a8431+'\x22.')));}};}var _0x792e16=class extends _0x1ba070[_0x185be1(0x27c)]{constructor(_0x2c7c93,_0x423671,_0x2fc9ad,_0x1cb4c0,_0x1ff6f5,_0x493fca,_0x8b0a60,_0x45c341){const _0x21740a=_0x185be1;super(),this['chartId']=_0x2c7c93,this['_getFloatDomInfo']=_0x423671,this[_0x21740a(0x462)]=_0x2fc9ad,this[_0x21740a(0x2a9)]=_0x1cb4c0,this['_isProviderDisposed']=_0x1ff6f5,this[_0x21740a(0x217)]=_0x493fca,this[_0x21740a(0x584)]=_0x8b0a60,this[_0x21740a(0x3a9)]=_0x45c341,_0x3d73b3(this,_0x21740a(0x463),_0x214e0a[_0x21740a(0x2a1)]['Dom']),_0x3d73b3(this,_0x21740a(0x2bd),null),_0x3d73b3(this,_0x21740a(0x39f),!0x1),_0x3d73b3(this,_0x21740a(0x53e),null),_0x3d73b3(this,'_pendingHost',null),_0x3d73b3(this,_0x21740a(0x395),null),_0x3d73b3(this,_0x21740a(0x3f9),{}),_0x3d73b3(this,_0x21740a(0x2e5),null),_0x3d73b3(this,_0x21740a(0x55a),null),_0x3d73b3(this,'_pointerEvents',null);}[_0x185be1(0x473)](){const _0x3e0885=_0x185be1;return this[_0x3e0885(0x39f)];}['markUnmanaged'](){const _0x57a707=_0x185be1;this[_0x57a707(0x39f)]=!0x1;}[_0x185be1(0x58a)](){const _0x186d53=_0x185be1;let _0x1f505c=this[_0x186d53(0x462)]();return _0x1f505c?{'width':_0x1f505c['width'],'height':_0x1f505c[_0x186d53(0x2d7)]}:null;}[_0x185be1(0x4d0)](_0x56993e){const _0x5a1889=_0x185be1;this['_hostStyle']=_0x56993e,this[_0x5a1889(0x2a9)](_0x56993e),this['_applyHostStyle']();}async['ensureHandle'](){const _0x32d374=_0x185be1;if(this[_0x32d374(0x417)]||this['_isProviderDisposed']())throw Error(_0x32d374(0x42d));let _0x7cd639=this[_0x32d374(0x393)](),_0x474e54=(_0x7cd639==null?void 0x0:_0x7cd639['domId'])??this['chartId'],_0x5cd2a1=document['getElementById'](_0x474e54);if(this[_0x32d374(0x2bd)]&&_0x5cd2a1!=null&&_0x5cd2a1[_0x32d374(0x483)](this[_0x32d374(0x2bd)]['mountNode']))return{'mountNode':this[_0x32d374(0x2bd)][_0x32d374(0x263)],'dispose':()=>{const _0x5ca131=_0x32d374;this['dispose'](),_0x7cd639==null||_0x7cd639[_0x5ca131(0x4d8)][_0x5ca131(0x4d8)]();}};if(this[_0x32d374(0x21a)])return this[_0x32d374(0x21a)];let _0x6046f5=this['_createHost']();return this[_0x32d374(0x21a)]=_0x6046f5,_0x6046f5[_0x32d374(0x57e)](()=>{const _0x517932=_0x32d374;this['_pendingHost']===_0x6046f5&&(this[_0x517932(0x21a)]=null);},()=>{const _0x44a5cf=_0x32d374;this[_0x44a5cf(0x21a)]===_0x6046f5&&(this[_0x44a5cf(0x21a)]=null);}),_0x6046f5;}async[_0x185be1(0x26b)](){const _0x4629fe=_0x185be1;try{return(await this[_0x4629fe(0x29f)]())[_0x4629fe(0x263)];}catch{return null;}}['checkMounted'](){const _0x12ddb9=_0x185be1;let _0x189ef4=this[_0x12ddb9(0x393)](),_0x5454ff=(_0x189ef4==null?void 0x0:_0x189ef4[_0x12ddb9(0x327)])??this[_0x12ddb9(0x4d9)],_0x3c5a98=document['getElementById'](_0x5454ff);return!!(this[_0x12ddb9(0x2bd)]&&_0x3c5a98!=null&&_0x3c5a98[_0x12ddb9(0x483)](this[_0x12ddb9(0x2bd)][_0x12ddb9(0x263)]));}[_0x185be1(0x17a)](){const _0x647af9=_0x185be1;if(!this[_0x647af9(0x2bd)])return;let _0x3e602b=this['_getPlacement']();_0x3e602b&&this[_0x647af9(0x2bd)][_0x647af9(0x43e)](this[_0x647af9(0x581)](_0x3e602b),this['_frameStyle']());}['markReady'](){const _0xcb81ef=_0x185be1;this[_0xcb81ef(0x217)]();}[_0x185be1(0x2d2)](){const _0x1bfdaa=_0x185be1;this[_0x1bfdaa(0x584)]();}[_0x185be1(0x51e)](_0x147c84){const _0x4792d5=_0x185be1;this[_0x4792d5(0x55a)]=_0x147c84;let _0x353803=this[_0x4792d5(0x393)](),_0x226c00=document[_0x4792d5(0x56e)]((_0x353803==null?void 0x0:_0x353803['domId'])??this[_0x4792d5(0x4d9)]);_0x226c00&&this[_0x4792d5(0x38d)](_0x226c00);}['dispose'](){const _0x37da9e=_0x185be1;var _0x4bc871,_0x3e339b;this['_disposed']||(this['markNotReady'](),this[_0x37da9e(0x53e)]=null,this[_0x37da9e(0x21a)]=null,this[_0x37da9e(0x40a)](),this[_0x37da9e(0x39f)]=!0x1,this['_dataUpdateAnimationDuration']=null,(_0x4bc871=this['_pointerEvents'])==null||_0x4bc871[_0x37da9e(0x4d8)](),this[_0x37da9e(0x205)]=null,(_0x3e339b=this[_0x37da9e(0x2bd)])==null||_0x3e339b[_0x37da9e(0x4d8)](),this[_0x37da9e(0x2bd)]=null,this[_0x37da9e(0x570)](),super[_0x37da9e(0x4d8)]());}async[_0x185be1(0x409)](){const _0x3b2890=_0x185be1;let _0x39e002=this[_0x3b2890(0x393)]();if(!_0x39e002)throw Error(_0x3b2890(0x42d));let _0x41add0=_0x39e002['domId']??this[_0x3b2890(0x4d9)],_0x4878f8=_0x5738e(_0x41add0),_0x3f6be8=Symbol(this[_0x3b2890(0x4d9)]);this['_pendingToken']=_0x3f6be8,this[_0x3b2890(0x395)]=_0x4878f8;try{var _0x5b97f0;let _0x506fa3=await _0x4878f8[_0x3b2890(0x588)],_0x5c9ed4=this[_0x3b2890(0x393)](),_0x46bbcb=(_0x5c9ed4==null?void 0x0:_0x5c9ed4[_0x3b2890(0x327)])??this['chartId'];if(this['_disposed']||this[_0x3b2890(0x3d4)]()||this[_0x3b2890(0x53e)]!==_0x3f6be8||!_0x5c9ed4||_0x46bbcb!==_0x41add0||document[_0x3b2890(0x56e)](_0x41add0)!==_0x506fa3||!_0x506fa3['isConnected'])throw Error(_0x3b2890(0x42d));let _0x2dd0b1=this['_getPlacement']();if(!_0x2dd0b1)throw Error(_0x3b2890(0x42d));let _0x38be07=new _0x37f706[(_0x3b2890(0x245))](_0x506fa3);return _0x38be07['update'](this[_0x3b2890(0x581)](_0x2dd0b1),this[_0x3b2890(0x2f3)]()),this[_0x3b2890(0x54d)](_0x506fa3),this[_0x3b2890(0x2bd)]=_0x38be07,(_0x5b97f0=this[_0x3b2890(0x205)])==null||_0x5b97f0[_0x3b2890(0x4d8)](),this[_0x3b2890(0x205)]=this['_bindPointerEvents'](_0x506fa3),this[_0x3b2890(0x39f)]=!0x0,{'mountNode':_0x38be07[_0x3b2890(0x263)],'dispose':()=>{const _0x3c40ef=_0x3b2890;this[_0x3c40ef(0x4d8)](),_0x39e002[_0x3c40ef(0x4d8)]['dispose']();}};}finally{this[_0x3b2890(0x395)]===_0x4878f8&&(this[_0x3b2890(0x395)]=null),this['_pendingToken']===_0x3f6be8&&(this['_pendingToken']=null);}}[_0x185be1(0x40a)](){const _0x455de9=_0x185be1;let _0x4bdee8=this['_waiter'];_0x4bdee8&&(_0x4bdee8['cancel'](),this[_0x455de9(0x395)]=null);}[_0x185be1(0x18b)](){const _0x14b948=_0x185be1;let _0x4de6e2=this[_0x14b948(0x462)]();this['_domFrame']&&_0x4de6e2&&this[_0x14b948(0x2bd)][_0x14b948(0x43e)](this[_0x14b948(0x581)](_0x4de6e2),this['_frameStyle']());}[_0x185be1(0x581)](_0x2c1c07){const _0x5cf62a=_0x185be1;return _0x37f706[_0x5cf62a(0x47b)][_0x5cf62a(0x424)]({'logicalOuterRect':{'left':_0x2c1c07[_0x5cf62a(0x4e4)],'top':_0x2c1c07['top'],'width':_0x2c1c07[_0x5cf62a(0x2bf)],'height':_0x2c1c07[_0x5cf62a(0x2d7)]},'scale':{'scaleX':_0x2c1c07[_0x5cf62a(0x2b8)],'scaleY':_0x2c1c07[_0x5cf62a(0x22b)]},'hostStyle':this[_0x5cf62a(0x2f3)](),'contentMode':_0x37f706['ChartFrameContentMode'][_0x5cf62a(0x452)]});}[_0x185be1(0x2f3)](){const _0x3890dc=_0x185be1;return{...this[_0x3890dc(0x3f9)],'radius':_0x37f706[_0x3890dc(0x530)]};}[_0x185be1(0x54d)](_0xfe6cee){const _0x38dc1e=_0x185be1;let _0x40dea1=_0xfe6cee['parentElement'];_0x40dea1&&(this[_0x38dc1e(0x2e5)]||={'zIndex':_0x40dea1[_0x38dc1e(0x1c3)][_0x38dc1e(0x33f)],'pointerEvents':_0x40dea1[_0x38dc1e(0x1c3)]['pointerEvents']},_0x40dea1['style'][_0x38dc1e(0x33f)]=_0x38dc1e(0x31d),this[_0x38dc1e(0x38d)](_0xfe6cee));}[_0x185be1(0x38d)](_0x539669){const _0x1246c4=_0x185be1;let _0x189e1c=_0x539669[_0x1246c4(0x287)];if(!_0x189e1c)return;let _0x1b2a2a=this['_dataUpdateAnimationDuration'];_0x1b2a2a==null?(delete _0x539669['dataset']['sheetChartDataAnimation'],delete _0x539669['dataset'][_0x1246c4(0x367)],_0x189e1c['style'][_0x1246c4(0x295)]=_0x1246c4(0x3de)):(_0x539669[_0x1246c4(0x434)]['sheetChartDataAnimation']=_0x1246c4(0x315),_0x539669['dataset'][_0x1246c4(0x367)]=String(_0x1b2a2a),_0x189e1c[_0x1246c4(0x1c3)]['pointerEvents']=_0x1246c4(0x3b6));}[_0x185be1(0x570)](){const _0x4c7d4b=_0x185be1;if(!this[_0x4c7d4b(0x2e5)])return;let _0x3468f1=this[_0x4c7d4b(0x393)](),_0x54dc35=(_0x3468f1==null?void 0x0:_0x3468f1[_0x4c7d4b(0x327)])??this['chartId'],_0x48742a=document[_0x4c7d4b(0x56e)](_0x54dc35);_0x48742a==null||delete _0x48742a[_0x4c7d4b(0x434)][_0x4c7d4b(0x28b)],_0x48742a==null||delete _0x48742a[_0x4c7d4b(0x434)][_0x4c7d4b(0x367)];let _0x15a773=_0x48742a==null?void 0x0:_0x48742a[_0x4c7d4b(0x287)];_0x15a773&&(_0x15a773[_0x4c7d4b(0x1c3)][_0x4c7d4b(0x33f)]=this[_0x4c7d4b(0x2e5)][_0x4c7d4b(0x33f)],_0x15a773[_0x4c7d4b(0x1c3)][_0x4c7d4b(0x295)]=this[_0x4c7d4b(0x2e5)][_0x4c7d4b(0x295)]),this[_0x4c7d4b(0x2e5)]=null;}},_0x2c5282=class extends _0x1ba070[_0x185be1(0x27c)]{constructor(_0x3bc844,_0x4af276,_0x30c6d1,_0x3f1907){const _0x43644f=_0x185be1;super(),this[_0x43644f(0x471)]=_0x4af276,_0x3d73b3(this,'_gesture',null),_0x3d73b3(this,'_suppressClick',!0x1);let _0x1efd21=_0x2ca67c=>{const _0x227087=_0x43644f;this[_0x227087(0x4c5)]&&(_0x2ca67c[_0x227087(0x4a6)](),_0x2ca67c['stopImmediatePropagation']());},_0x27a063=_0xb05423=>{const _0x3feb21=_0x43644f;let _0xde55b4=this['_gesture'];(_0xde55b4==null?void 0x0:_0xde55b4['event'][_0x3feb21(0x554)])===_0xb05423[_0x3feb21(0x554)]&&!_0xde55b4[_0x3feb21(0x22e)][_0x3feb21(0x258)](_0xb05423[_0x3feb21(0x554)])&&this[_0x3feb21(0x246)]();};_0x3bc844[_0x43644f(0x276)](_0x43644f(0x232),_0x1efd21,!0x0),_0x3bc844[_0x43644f(0x276)](_0x43644f(0x372),_0x1efd21,!0x0),_0x3bc844[_0x43644f(0x276)](_0x43644f(0x4cb),_0x27a063),this[_0x43644f(0x3d7)]((0x0,_0x1ba070[_0x43644f(0x410)])(()=>{const _0x32cca3=_0x43644f;_0x3bc844[_0x32cca3(0x1ba)](_0x32cca3(0x232),_0x1efd21,!0x0),_0x3bc844[_0x32cca3(0x1ba)](_0x32cca3(0x372),_0x1efd21,!0x0),_0x3bc844['removeEventListener'](_0x32cca3(0x4cb),_0x27a063),_0x3f1907(_0x4af276);})),this[_0x43644f(0x3d7)](_0x30c6d1['subscribe'](()=>{const _0x2d162e=_0x43644f;this[_0x2d162e(0x1c2)]&&(this[_0x2d162e(0x4c5)]=!0x0);})),_0x3f1907({'onPointerDown':_0xd461cd=>{const _0x4c4074=_0x43644f;this[_0x4c4074(0x4c5)]=!0x1,_0xd461cd instanceof PointerEvent&&_0xd461cd[_0x4c4074(0x22e)]instanceof Element&&_0x3bc844[_0x4c4074(0x483)](_0xd461cd['target'])&&(this[_0x4c4074(0x1c2)]={'target':_0xd461cd[_0x4c4074(0x22e)],'event':_0xd461cd}),_0x4af276['onPointerDown'](_0xd461cd),this[_0x4c4074(0x219)](_0xd461cd);},'onPointerMove':_0x1fb34c=>{const _0x235c13=_0x43644f;_0x4af276[_0x235c13(0x3f3)](_0x1fb34c),this[_0x235c13(0x219)](_0x1fb34c);},'onPointerUp':_0x195e07=>{const _0x186e67=_0x43644f;try{_0x4af276[_0x186e67(0x1f4)](_0x195e07);}finally{var _0x145c8b;_0x195e07 instanceof PointerEvent&&((_0x145c8b=this['_gesture'])==null?void 0x0:_0x145c8b[_0x186e67(0x4ff)][_0x186e67(0x554)])===_0x195e07[_0x186e67(0x554)]&&this[_0x186e67(0x4ec)]();}}});}['dispose'](){const _0x4f2397=_0x185be1;this['_disposed']||(this[_0x4f2397(0x246)](),super[_0x4f2397(0x4d8)]());}[_0x185be1(0x219)](_0x21bf46){const _0x102345=_0x185be1;let _0x2bc9f3=this[_0x102345(0x1c2)];_0x21bf46 instanceof PointerEvent&&(_0x2bc9f3==null?void 0x0:_0x2bc9f3[_0x102345(0x4ff)]['pointerId'])===_0x21bf46[_0x102345(0x554)]&&(_0x2bc9f3[_0x102345(0x4ff)]=_0x21bf46,_0x2bc9f3[_0x102345(0x22e)]['isConnected']?_0x2bc9f3[_0x102345(0x22e)][_0x102345(0x41d)](_0x21bf46[_0x102345(0x554)]):this[_0x102345(0x246)]());}['_releaseGesture'](){const _0x2908ab=_0x185be1;let _0x277ec6=this[_0x2908ab(0x1c2)];this['_gesture']=null,_0x277ec6!=null&&_0x277ec6[_0x2908ab(0x22e)][_0x2908ab(0x258)](_0x277ec6['event'][_0x2908ab(0x554)])&&_0x277ec6['target'][_0x2908ab(0x2d4)](_0x277ec6[_0x2908ab(0x4ff)][_0x2908ab(0x554)]);}[_0x185be1(0x246)](){const _0x57a8ef=_0x185be1;let _0x338e34=this[_0x57a8ef(0x1c2)];this[_0x57a8ef(0x4ec)](),_0x338e34&&this[_0x57a8ef(0x471)]['onPointerUp'](new PointerEvent(_0x57a8ef(0x2dd),_0x338e34[_0x57a8ef(0x4ff)]));}},_0x311011=class extends _0x214e0a['ImageChartHost']{constructor(_0x1fc059,_0x40ceff,_0x52e8b6,_0x27c41a,_0x2b5fc0,_0xdd3b09){const _0x1c69d3=_0x185be1;super(_0x1fc059),this['_getOuterRect']=_0x40ceff,this[_0x1c69d3(0x2a9)]=_0x52e8b6,this[_0x1c69d3(0x1fb)]=_0x27c41a,this[_0x1c69d3(0x345)]=_0x2b5fc0,this[_0x1c69d3(0x535)]=_0xdd3b09;}['getRect'](){const _0x363033=_0x185be1;let _0x40f635=this[_0x363033(0x547)]();return _0x40f635?_0xb4e4c5(_0x40f635):null;}[_0x185be1(0x4d0)](_0x4d9067){this['_setHostStyle'](_0x4d9067);}[_0x185be1(0x321)](){const _0x267852=_0x185be1;return this['_snapshotStore'][_0x267852(0x321)](this[_0x267852(0x1fb)]);}[_0x185be1(0x4a7)](_0x1ff083,_0x506472){const _0x10f0a4=_0x185be1;return this[_0x10f0a4(0x345)]['setImage'](this[_0x10f0a4(0x1fb)],_0x1ff083,_0x506472);}[_0x185be1(0x3ce)](){const _0x10e2f2=_0x185be1;this[_0x10e2f2(0x535)]();}[_0x185be1(0x2ce)](){const _0x4d12fb=_0x185be1;this[_0x4d12fb(0x345)][_0x4d12fb(0x321)](this[_0x4d12fb(0x1fb)]);}};let _0x18915e=0.5;function _0xbe7594(_0x229f4c){const _0x488404=_0x185be1;let _0x28bb44=Math[_0x488404(0x18a)](_0x229f4c['endX']-_0x229f4c[_0x488404(0x4ce)],0x0),_0x57dc84=Math[_0x488404(0x18a)](_0x229f4c[_0x488404(0x426)]-_0x229f4c[_0x488404(0x4a5)],0x0),_0x47c12c=_0x229f4c['absolute'][_0x488404(0x4e4)]&&_0x229f4c[_0x488404(0x2bf)]-_0x28bb44>_0x18915e,_0x3771da=_0x229f4c[_0x488404(0x378)][_0x488404(0x2e8)]&&_0x229f4c[_0x488404(0x2d7)]-_0x57dc84>_0x18915e;return!_0x47c12c&&!_0x3771da?_0x229f4c:{..._0x229f4c,'absolute':{'left':!_0x47c12c&&_0x229f4c[_0x488404(0x378)][_0x488404(0x4e4)],'top':!_0x3771da&&_0x229f4c[_0x488404(0x378)][_0x488404(0x2e8)]}};}function _0x11b810(_0x9dd616){const _0x41e565=_0x185be1;if(!Object[_0x41e565(0x187)][_0x41e565(0x509)]['call'](_0x9dd616,_0x41e565(0x3fe)))return _0x9dd616;let {border:_0x55fc8f,..._0x5cdecf}=_0x9dd616;return{..._0x5cdecf,'stroke':(_0x55fc8f==null?void 0x0:_0x55fc8f[_0x41e565(0x27f)])??_0x41e565(0x1f7),'strokeWidth':(_0x55fc8f==null?void 0x0:_0x55fc8f[_0x41e565(0x2bf)])??0x0};}let _0x3fe827=class extends _0x1ba070['Disposable']{constructor(_0x44912d,_0x18ef64,_0x32e451,_0x13c7ca){const _0x367df4=_0x185be1;super(),this[_0x367df4(0x1ff)]=_0x44912d,this[_0x367df4(0x51d)]=_0x18ef64,this['_chartSnapshotStoreService']=_0x32e451,this[_0x367df4(0x56a)]=_0x13c7ca,_0x3d73b3(this,_0x367df4(0x261),new Map()),_0x3d73b3(this,_0x367df4(0x2f1),new Set()),_0x3d73b3(this,_0x367df4(0x359),new _0x5e3636[(_0x367df4(0x362))]()),_0x3d73b3(this,'removeHost$',this[_0x367df4(0x359)][_0x367df4(0x438)]()),this[_0x367df4(0x3d7)](this[_0x367df4(0x1ff)][_0x367df4(0x1c4)]['subscribe'](_0x2fc6cc=>{const _0x395bf0=_0x367df4;let _0x861914=this[_0x395bf0(0x261)][_0x395bf0(0x442)](_0x2fc6cc['id']);_0x861914!=null&&_0x861914[_0x395bf0(0x473)]()&&(_0x861914['markUnmanaged'](),this[_0x395bf0(0x359)]['next'](_0x2fc6cc['id']));}));}[_0x185be1(0x390)](_0x2857c9){const _0x1b4a90=_0x185be1;if(_0x2857c9==null)return;let _0x138a84=this['_renderManagerService'][_0x1b4a90(0x3ef)](_0x2857c9),_0x3d4f88=_0x138a84==null?void 0x0:_0x138a84[_0x1b4a90(0x493)];return _0x138a84==null||_0x3d4f88==null?null:{'scene':_0x3d4f88,'transformer':_0x3d4f88['getTransformerByCreate'](),'renderUnit':_0x138a84,'canvas':_0x138a84[_0x1b4a90(0x40f)][_0x1b4a90(0x1b7)]()};}['setBorder'](_0x4c92f7,_0x3b370c){const _0x50ca3d=_0x185be1;let _0x49d2b1=this[_0x50ca3d(0x1ff)],_0x48887f=_0x3b370c||'transparent',_0xb40ce8=_0x49d2b1[_0x50ca3d(0x277)](_0x4c92f7);if(_0xb40ce8){let {unitId:_0x26fb25,subUnitId:_0x57624a}=_0xb40ce8;_0x49d2b1['updateFloatDomProps'](_0x26fb25,_0x57624a,_0x4c92f7,{'stroke':_0x48887f});}}['setHostStyle'](_0xadbe23,_0x3c4210){const _0x140013=_0x185be1;let _0x5f03dc=this[_0x140013(0x1ff)],_0x4973de=_0x5f03dc[_0x140013(0x277)](_0xadbe23);if(_0x4973de){let {unitId:_0x169789,subUnitId:_0x5576b6}=_0x4973de;_0x5f03dc[_0x140013(0x3cb)](_0x169789,_0x5576b6,_0xadbe23,_0x11b810(_0x3c4210));}}[_0x185be1(0x45c)](_0x13d5e5){const _0x2adc0b=_0x185be1;let _0x40405c=this[_0x2adc0b(0x1ff)][_0x2adc0b(0x277)](_0x13d5e5);return _0x40405c?_0x40405c[_0x2adc0b(0x4ee)]:null;}[_0x185be1(0x505)](_0x31c451){const _0x1b8e73=_0x185be1;let _0x31f53b=this[_0x1b8e73(0x1ff)][_0x1b8e73(0x277)](_0x31c451),_0x422ba3=document['getElementById']((_0x31f53b==null?void 0x0:_0x31f53b[_0x1b8e73(0x327)])??_0x31c451);return(_0x422ba3==null?void 0x0:_0x422ba3['getBoundingClientRect']())??null;}['setDataUpdateAnimation'](_0x537512,_0x57d2ba){const _0x319bb6=_0x185be1;var _0x29bb77;(_0x29bb77=this[_0x319bb6(0x261)][_0x319bb6(0x442)](_0x537512))==null||_0x29bb77[_0x319bb6(0x51e)](_0x57d2ba);}[_0x185be1(0x4e0)](_0x2767fa){const _0x380bf4=_0x185be1;var _0xcd8849;return((_0xcd8849=this[_0x380bf4(0x261)][_0x380bf4(0x442)](_0x2767fa))==null?void 0x0:_0xcd8849[_0x380bf4(0x37f)]())??!0x1;}['syncHostLayout'](_0x3080b4){const _0x33cd38=_0x185be1;var _0x3ab472;(_0x3ab472=this[_0x33cd38(0x261)]['get'](_0x3080b4))==null||_0x3ab472[_0x33cd38(0x17a)]();}[_0x185be1(0x252)](_0x47718e){const _0x410986=_0x185be1;let _0x50ea63=this[_0x410986(0x261)]['get'](_0x47718e);_0x50ea63&&(_0x50ea63[_0x410986(0x4d8)](),this['_canvasFloatDomService']['updateFloatDom'](_0x47718e,{'eventPassThrough':!0x0})),this[_0x410986(0x261)][_0x410986(0x2e1)](_0x47718e);}async[_0x185be1(0x3d3)](_0x147f3b,_0x3ff653){const _0x115849=_0x185be1;if(_0x3ff653===_0x214e0a['ChartRenderMode'][_0x115849(0x1bb)])return this[_0x115849(0x4f0)](_0x147f3b);if(_0x3ff653===_0x214e0a['ChartRenderMode']['Dom'])return this[_0x115849(0x425)](_0x147f3b);let _0x4fb662=this[_0x115849(0x425)](_0x147f3b);if(!_0x4fb662)throw Error(_0x115849(0x42d));return _0x4fb662[_0x115849(0x29f)]();}['isDomReady'](_0x54e089){const _0x20156b=_0x185be1;var _0x18239d;return this[_0x20156b(0x2f1)][_0x20156b(0x4b2)](_0x54e089)?(_0x18239d=this[_0x20156b(0x261)][_0x20156b(0x442)](_0x54e089))!=null&&_0x18239d['checkMounted']()?!0x0:(this[_0x20156b(0x2f1)][_0x20156b(0x2e1)](_0x54e089),this['_restoreFloatDomPositionStream'](_0x54e089),!0x1):!0x1;}[_0x185be1(0x28e)](_0x5b51d0){const _0x2a8e21=_0x185be1;this['_activeDomReadyChartIds'][_0x2a8e21(0x2e1)](_0x5b51d0)&&(this[_0x2a8e21(0x26e)](_0x5b51d0),this[_0x2a8e21(0x1cd)](_0x5b51d0));}['invalidateSnapshot'](_0x2a382b){const _0x3615d6=_0x185be1;let _0x5bb988=this[_0x3615d6(0x4b3)](_0x2a382b);_0x5bb988&&this[_0x3615d6(0x3f6)][_0x3615d6(0x321)](_0x5bb988);}[_0x185be1(0x4f0)](_0x14dd88){const _0x34e000=_0x185be1;let _0x29ed6f=this[_0x34e000(0x4b3)](_0x14dd88);return!_0x29ed6f||!this['getHostSize'](_0x14dd88)?null:new _0x311011(_0x14dd88,()=>this[_0x34e000(0x45c)](_0x14dd88),_0x560d2e=>this[_0x34e000(0x4f2)](_0x14dd88,_0x560d2e),_0x29ed6f,this['_chartSnapshotStoreService'],()=>this[_0x34e000(0x1cd)](_0x14dd88));}[_0x185be1(0x425)](_0x5390e2){const _0x472aa4=_0x185be1;if(!this[_0x472aa4(0x45c)](_0x5390e2))return null;this['_canvasFloatDomService'][_0x472aa4(0x243)](_0x5390e2,{'eventPassThrough':!0x0,'contentBox':{'wrapperInset':0x0,'contentInset':0x0}});let _0x51f341=this['_chartHostMap']['get'](_0x5390e2);if(_0x51f341)return _0x51f341;let _0x4e9287=new _0x792e16(_0x5390e2,()=>this[_0x472aa4(0x1ff)][_0x472aa4(0x277)](_0x5390e2),()=>this['_getHostPlacement'](_0x5390e2),_0x15d901=>this[_0x472aa4(0x4f2)](_0x5390e2,_0x15d901),()=>this[_0x472aa4(0x417)],()=>this['_markHostReady'](_0x5390e2),()=>this[_0x472aa4(0x28e)](_0x5390e2),_0x32d5c0=>this[_0x472aa4(0x4e2)](_0x5390e2,_0x32d5c0));return this['_chartHostMap'][_0x472aa4(0x45e)](_0x5390e2,_0x4e9287),_0x4e9287;}[_0x185be1(0x4e2)](_0x33bee9,_0x1d2d05){const _0x5b9766=_0x185be1;var _0x2e3c52;let _0x33fe46=this[_0x5b9766(0x1ff)][_0x5b9766(0x277)](_0x33bee9),_0x37e08b=(_0x2e3c52=this[_0x5b9766(0x56a)][_0x5b9766(0x17c)][_0x5b9766(0x2a3)](([_0x5bd3d8])=>_0x5bd3d8===_0x33bee9))==null?void 0x0:_0x2e3c52[0x1],_0x431ba9=_0x33fe46?this[_0x5b9766(0x390)](_0x33fe46[_0x5b9766(0x2ac)]):null;if(!_0x33fe46||!_0x37e08b||!_0x431ba9)return(0x0,_0x1ba070[_0x5b9766(0x410)])(()=>{});let _0x4ed94d=(0x0,_0x135c9c[_0x5b9766(0x224)])({'unitId':_0x33fe46[_0x5b9766(0x2ac)],'subUnitId':_0x33fe46[_0x5b9766(0x50c)],'drawingId':_0x33bee9});return new _0x2c5282(_0x1d2d05,{'onPointerDown':_0x37e08b[_0x5b9766(0x3d2)],'onPointerMove':_0x37e08b['onPointerMove'],'onPointerUp':_0x37e08b[_0x5b9766(0x1f4)]},_0x431ba9[_0x5b9766(0x532)][_0x5b9766(0x4df)][_0x5b9766(0x4d3)]((0x0,_0x5e3636[_0x5b9766(0x3e6)])(_0x4db467=>_0x4db467[_0x5b9766(0x25c)][_0x5b9766(0x4b2)](_0x4ed94d)&&((_0x4db467[_0x5b9766(0x428)]??0x0)!==0x0||(_0x4db467['moveY']??0x0)!==0x0))),_0x1c9eb7=>this[_0x5b9766(0x56a)][_0x5b9766(0x243)](_0x33bee9,_0x1c9eb7));}[_0x185be1(0x4b6)](_0x367a37){const _0x38afad=_0x185be1;this[_0x38afad(0x2f1)][_0x38afad(0x4b2)](_0x367a37)||(this[_0x38afad(0x2f1)]['add'](_0x367a37),this['_alignFloatDomPositionWithSceneRender'](_0x367a37),this[_0x38afad(0x1cd)](_0x367a37));}[_0x185be1(0x355)](_0x176e5b){const _0x356c91=_0x185be1;var _0x1c96ce;let _0x2cba7a=this[_0x356c91(0x1ff)][_0x356c91(0x277)](_0x176e5b),_0x20d30f=_0x2cba7a?(_0x1c96ce=this[_0x356c91(0x51d)][_0x356c91(0x3ef)](_0x2cba7a[_0x356c91(0x2ac)]))==null?void 0x0:_0x1c96ce[_0x356c91(0x493)]:null;if(!_0x2cba7a||!_0x20d30f)return;let _0x3f20be=(0x0,_0x5e3636[_0x356c91(0x2a5)])(_0x2cba7a[_0x356c91(0x541)]['pipe']((0x0,_0x5e3636[_0x356c91(0x22c)])(0x1)),_0x20d30f[_0x356c91(0x1ea)][_0x356c91(0x4d3)]((0x0,_0x5e3636[_0x356c91(0x4f3)])(_0x2cba7a['position$']),(0x0,_0x5e3636[_0x356c91(0x18e)])(([,_0x3b1449])=>_0x3b1449)))[_0x356c91(0x4d3)]((0x0,_0x5e3636[_0x356c91(0x306)])(),(0x0,_0x5e3636[_0x356c91(0x18e)])(_0xbe7594));this[_0x356c91(0x56a)][_0x356c91(0x243)](_0x176e5b,{'position$':_0x3f20be});}[_0x185be1(0x26e)](_0x37fbbc){const _0x1521f1=_0x185be1;let _0x2f81b8=this[_0x1521f1(0x1ff)]['getFloatDomInfo'](_0x37fbbc);_0x2f81b8&&this['_canvasFloatDomService'][_0x1521f1(0x243)](_0x37fbbc,{'position$':_0x2f81b8[_0x1521f1(0x541)]});}[_0x185be1(0x4b3)](_0x363000){const _0x1fd9ec=_0x185be1;let _0x1611a4=this[_0x1fd9ec(0x1ff)][_0x1fd9ec(0x277)](_0x363000);return _0x1611a4?{'unitId':_0x1611a4['unitId'],'subUnitId':_0x1611a4['subUnitId'],'chartId':_0x363000}:null;}['_requestChartCanvasRender'](_0x49d1ff){const _0xe10c47=_0x185be1;var _0xf2f798,_0x38ec36,_0xcba4df;let _0x198ef4=this['_sheetCanvasFloatDomManagerService']['getFloatDomInfo'](_0x49d1ff);if(!_0x198ef4)return;let _0x3d3366=(_0xf2f798=this[_0xe10c47(0x51d)]['getRenderUnitById'](_0x198ef4[_0xe10c47(0x2ac)]))==null?void 0x0:_0xf2f798['scene'],_0x206f3c=(_0x3d3366==null||(_0x38ec36=_0x3d3366[_0xe10c47(0x4de)])==null?void 0x0:_0x38ec36[_0xe10c47(0x371)](_0x3d3366,(0x0,_0x135c9c['getDrawingShapeKeyByDrawingSearch'])({'unitId':_0x198ef4[_0xe10c47(0x2ac)],'subUnitId':_0x198ef4['subUnitId'],'drawingId':_0x49d1ff})))??(_0x3d3366==null?void 0x0:_0x3d3366['getObject']((0x0,_0x135c9c[_0xe10c47(0x224)])({'unitId':_0x198ef4[_0xe10c47(0x2ac)],'subUnitId':_0x198ef4[_0xe10c47(0x50c)],'drawingId':_0x49d1ff})))??null;_0x206f3c==null||(_0xcba4df=_0x206f3c['makeDirty'])==null||_0xcba4df[_0xe10c47(0x371)](_0x206f3c,!0x0),_0x3d3366==null||_0x3d3366[_0xe10c47(0x572)](!0x0);}[_0x185be1(0x24b)](_0x58a5bf){const _0x2972d7=_0x185be1;let _0x2d26b7=this[_0x2972d7(0x1ff)][_0x2972d7(0x277)](_0x58a5bf);if(!_0x2d26b7)return null;let _0x3e7919=this[_0x2972d7(0x390)](_0x2d26b7['unitId']),_0x290c37=_0x3e7919==null?void 0x0:_0x3e7919[_0x2972d7(0x493)],_0x4bc370=document[_0x2972d7(0x56e)](_0x2d26b7[_0x2972d7(0x327)]??_0x58a5bf);return _0xa8b433(_0x2d26b7[_0x2972d7(0x4ee)],{'scaleX':(_0x290c37==null?void 0x0:_0x290c37[_0x2972d7(0x2b8)])??0x1,'scaleY':(_0x290c37==null?void 0x0:_0x290c37[_0x2972d7(0x22b)])??0x1},_0x4bc370?{'left':_0x4bc370[_0x2972d7(0x4dd)],'top':_0x4bc370[_0x2972d7(0x50b)]}:void 0x0);}['dispose'](){const _0x18b42a=_0x185be1;this[_0x18b42a(0x417)]||(Array['from'](this[_0x18b42a(0x261)]['keys']())['forEach'](_0x4ea283=>this[_0x18b42a(0x252)](_0x4ea283)),this[_0x18b42a(0x2f1)]['clear'](),this[_0x18b42a(0x359)][_0x18b42a(0x357)](),super[_0x18b42a(0x4d8)]());}};_0x3fe827=_0x11ef44([_0x42d632(0x0,(0x0,_0x1ba070[_0x185be1(0x1af)])(_0x2cd04e[_0x185be1(0x36a)])),_0x42d632(0x1,(0x0,_0x1ba070['Inject'])(_0x1d47e2['IRenderManagerService'])),_0x42d632(0x2,(0x0,_0x1ba070[_0x185be1(0x1af)])(_0x437b6a)),_0x42d632(0x3,(0x0,_0x1ba070[_0x185be1(0x1af)])(_0x21688c['CanvasFloatDomService']))],_0x3fe827);let _0xd413d=(0x0,_0x1ba070['createIdentifier'])(_0x185be1(0x4eb)),_0x1d526d=_0x214e0a[_0x185be1(0x2a1)][_0x185be1(0x1bb)];var _0x2da126=class extends _0x214e0a[_0x185be1(0x3b3)]{constructor(_0x5051f7,_0x4b9cf3){const _0x12ca4b=_0x185be1;super(_0x5051f7),this[_0x12ca4b(0x1b2)]=_0x4b9cf3,_0x3d73b3(this,_0x12ca4b(0x183),0x0),_0x3d73b3(this,'_image',void 0x0),_0x3d73b3(this,_0x12ca4b(0x1c3),{});}['getRect'](){return this['_rect'];}[_0x185be1(0x4d0)](_0x469177){const _0x130438=_0x185be1;this[_0x130438(0x1c3)]=_0x469177;}[_0x185be1(0x321)](){const _0x3c8f48=_0x185be1;return++this[_0x3c8f48(0x183)];}[_0x185be1(0x4a7)](_0x12ea5a,_0x211a46){const _0x4af1a5=_0x185be1;return _0x211a46===this[_0x4af1a5(0x183)]?(_0x173e38(this[_0x4af1a5(0x489)]),this['_image']=_0x12ea5a,!0x0):(_0x173e38(_0x12ea5a),!0x1);}['requestPaint'](){}[_0x185be1(0x2ce)](){const _0x5a9222=_0x185be1;this[_0x5a9222(0x183)]+=0x1;}['takeSnapshot'](){const _0x5f434e=_0x185be1;let _0x31794e=this[_0x5f434e(0x489)];return this['_image']=void 0x0,_0x31794e;}['dispose'](){const _0x5c7ad1=_0x185be1;_0x173e38(this[_0x5c7ad1(0x489)]),this[_0x5c7ad1(0x489)]=void 0x0,super['dispose']();}};function _0x9b82a3(_0x16cbf0,_0xddb1de,_0x4a22bb){const _0xdd3b32=_0x185be1;let _0x56f5df=_0x16cbf0[_0xdd3b32(0x2b3)](_0xddb1de),_0x449dee={..._0x16cbf0[_0xdd3b32(0x1c3)],'runtime':{..._0x56f5df,'layoutInset':0x8,..._0x4a22bb===void 0x0?{}:{'addWatermark':_0x4a22bb}},'direction':_0xddb1de};return(0x0,_0x214e0a[_0xdd3b32(0x4f7)])(_0x449dee,_0x16cbf0[_0xdd3b32(0x593)]);}let _0x17894a=class extends _0x1ba070[_0x185be1(0x27c)]{constructor(_0x2e5b06,_0x258d9b,_0x164c07,_0x3eddfd,_0x1aa14f,_0x35a3a4,_0x41d16e,_0x26bfdd,_0x45206d,_0x303c97,_0x56ead9,_0x3221c0,_0x49e278){const _0x58bcb4=_0x185be1;super(),this[_0x58bcb4(0x568)]=_0x2e5b06,this[_0x58bcb4(0x1ff)]=_0x258d9b,this[_0x58bcb4(0x57a)]=_0x164c07,this[_0x58bcb4(0x3d0)]=_0x3eddfd,this[_0x58bcb4(0x538)]=_0x1aa14f,this[_0x58bcb4(0x51d)]=_0x35a3a4,this[_0x58bcb4(0x2cd)]=_0x41d16e,this['_injector']=_0x26bfdd,this[_0x58bcb4(0x583)]=_0x45206d,this['_themeService']=_0x303c97,this[_0x58bcb4(0x4cc)]=_0x56ead9,this[_0x58bcb4(0x3f6)]=_0x3221c0,this['_renderModelManager']=_0x49e278,_0x3d73b3(this,_0x58bcb4(0x474),new Map()),_0x3d73b3(this,'_chartEventHandlers',new Map()),_0x3d73b3(this,_0x58bcb4(0x39a),new Map()),_0x3d73b3(this,_0x58bcb4(0x43c),new Map()),_0x3d73b3(this,_0x58bcb4(0x506),new Map()),_0x3d73b3(this,_0x58bcb4(0x3a3),new Map()),_0x3d73b3(this,_0x58bcb4(0x2e2),new Map()),_0x3d73b3(this,_0x58bcb4(0x1b8),void 0x0),_0x3d73b3(this,'_addWatermark',void 0x0),_0x3d73b3(this,_0x58bcb4(0x211),new Map()),_0x3d73b3(this,'_dataUpdateAnimationChartIds',new Set()),_0x3d73b3(this,_0x58bcb4(0x50f),new Map()),_0x3d73b3(this,_0x58bcb4(0x20c),null),_0x3d73b3(this,_0x58bcb4(0x4d1),null);let _0x411af1=(0x0,_0x113ca7[_0x58bcb4(0x591)])(this[_0x58bcb4(0x48d)]),_0x6b89a7=this[_0x58bcb4(0x4cc)]['getConfig'](_0x113ca7[_0x58bcb4(0x518)]);this[_0x58bcb4(0x1b8)]=(_0x6b89a7==null?void 0x0:_0x6b89a7['chartRenderMode'])??_0x1d526d,this[_0x58bcb4(0x405)]=_0x411af1[_0x58bcb4(0x36b)]!==0x1||_0x411af1[0x0]!==_0x58bcb4(0x302),this[_0x58bcb4(0x50d)](),this[_0x58bcb4(0x309)](),this[_0x58bcb4(0x31f)](),this[_0x58bcb4(0x55e)](),this[_0x58bcb4(0x2c8)]();}[_0x185be1(0x500)](_0x24f209){const _0x2cb030=_0x185be1;let _0x38caf9=this[_0x2cb030(0x4b3)](_0x24f209);return _0x38caf9?this[_0x2cb030(0x3f6)][_0x2cb030(0x42e)](_0x38caf9):void 0x0;}[_0x185be1(0x2c7)](_0x1a0384){const _0x12f43e=_0x185be1;var _0x3f074b;return((_0x3f074b=this['_chartModelService'][_0x12f43e(0x286)])==null?void 0x0:_0x3f074b['id'])===_0x1a0384?_0x214e0a[_0x12f43e(0x2a1)]['Dom']:this[_0x12f43e(0x1b8)];}[_0x185be1(0x4b3)](_0x11a0dc){const _0x2eb81d=_0x185be1;let _0x334847=this['_sheetCanvasFloatDomManagerService'][_0x2eb81d(0x277)](_0x11a0dc);return _0x334847?{'unitId':_0x334847[_0x2eb81d(0x2ac)],'subUnitId':_0x334847[_0x2eb81d(0x50c)],'chartId':_0x11a0dc}:null;}[_0x185be1(0x50d)](){const _0x48cc25=_0x185be1;this['_chartRenderMode']===_0x214e0a[_0x48cc25(0x2a1)][_0x48cc25(0x1bb)]&&this[_0x48cc25(0x3d7)](this[_0x48cc25(0x1ff)][_0x48cc25(0x495)](_0x1ba070[_0x48cc25(0x1f9)][_0x48cc25(0x52f)],({key:_0x5a0bb3,config:_0x4ec003,unitId:_0x4a45fe,subUnitId:_0x286b02,drawingId:_0xc903b9})=>new _0x4613b7(_0x5a0bb3,_0x4ec003,()=>this['_chartSnapshotStoreService']['getImage']({'unitId':_0x4a45fe,'subUnitId':_0x286b02,'chartId':_0xc903b9}),()=>this[_0x48cc25(0x568)]['isDomReady'](_0xc903b9))));}[_0x185be1(0x309)](){const _0x4083f3=_0x185be1;this['disposeWithMe'](this[_0x4083f3(0x57a)][_0x4083f3(0x548)]['subscribe'](_0x684518=>{const _0xf8e524=_0x4083f3;let _0x48da59=(_0x684518==null?void 0x0:_0x684518['id'])??null,_0x572a3c=this[_0xf8e524(0x20c)];_0x572a3c!==_0x48da59&&(_0x572a3c&&(this['_chartHostProvider'][_0xf8e524(0x28e)](_0x572a3c),this[_0xf8e524(0x193)](_0x572a3c),this[_0xf8e524(0x19b)](_0x572a3c)),this['_activeChartId']=_0x48da59,_0x48da59&&(this[_0xf8e524(0x3f2)](_0x48da59),this['_chartHostProvider'][_0xf8e524(0x28e)](_0x48da59),this[_0xf8e524(0x2ad)](_0x48da59),this[_0xf8e524(0x1dc)](_0x48da59)));}));}[_0x185be1(0x31f)](){const _0x23fe6f=_0x185be1;this[_0x23fe6f(0x3d7)](this['_drawingManagerService'][_0x23fe6f(0x226)][_0x23fe6f(0x17f)](_0x4e4617=>{const _0x5b1e14=_0x23fe6f;var _0x238050;let _0x145f8a=(_0x238050=this['_chartModelService'][_0x5b1e14(0x286)])==null?void 0x0:_0x238050['id'];_0x145f8a&&_0x4e4617[_0x5b1e14(0x3fc)](_0x602d9b=>_0x602d9b[_0x5b1e14(0x2ae)][_0x5b1e14(0x3fc)](_0x38d39d=>_0x38d39d[_0x5b1e14(0x3b7)]===_0x145f8a))&&this[_0x5b1e14(0x57a)]['setActiveChartModel'](null);})),this['disposeWithMe'](this[_0x23fe6f(0x3d0)][_0x23fe6f(0x488)][_0x23fe6f(0x17f)](_0x23c3b7=>{const _0x4f5e1b=_0x23fe6f;var _0x4785e2;let _0xcda561=(_0x4785e2=this['_chartModelService'][_0x4f5e1b(0x286)])==null?void 0x0:_0x4785e2['id'];_0xcda561&&_0x23c3b7['some'](_0x5dd2a8=>_0x5dd2a8[_0x4f5e1b(0x524)]['drawingId']===_0xcda561||_0x5dd2a8[_0x4f5e1b(0x2ae)][_0x4f5e1b(0x3fc)](_0x49bac6=>_0x49bac6[_0x4f5e1b(0x3b7)]===_0xcda561))&&this[_0x4f5e1b(0x57a)]['setActiveChartModel'](null);}));}['_initActiveRuntimeLayerListener'](){const _0x246af9=_0x185be1;this[_0x246af9(0x3d7)](this['_drawingManagerService'][_0x246af9(0x534)][_0x246af9(0x17f)](_0x284401=>{const _0x4de0fa=_0x246af9;var _0x3d7dad;let _0x347967=(_0x3d7dad=this[_0x4de0fa(0x57a)]['activeChartModel'])==null?void 0x0:_0x3d7dad['id'];if(!_0x347967){_0x284401[_0x4de0fa(0x4d5)][_0x4de0fa(0x55c)](_0x494728=>{const _0x3dc324=_0x4de0fa;this['_chartModelService'][_0x3dc324(0x214)](_0x494728)&&this[_0x3dc324(0x193)](_0x494728);});return;}let _0x1bedac=this[_0x4de0fa(0x1ff)][_0x4de0fa(0x277)](_0x347967);(_0x1bedac==null?void 0x0:_0x1bedac['unitId'])===_0x284401[_0x4de0fa(0x2ac)]&&_0x1bedac[_0x4de0fa(0x50c)]===_0x284401[_0x4de0fa(0x50c)]&&this[_0x4de0fa(0x2ad)](_0x347967);})),this[_0x246af9(0x3d7)](this[_0x246af9(0x3d0)]['add$']['subscribe'](_0x18e2a0=>{const _0x341be5=_0x246af9;var _0xb6a895;let _0x35b140=(_0xb6a895=this[_0x341be5(0x57a)][_0x341be5(0x286)])==null?void 0x0:_0xb6a895['id'];if(!_0x35b140)return;let _0x319fb0=this['_sheetCanvasFloatDomManagerService'][_0x341be5(0x277)](_0x35b140);_0x319fb0&&_0x18e2a0[_0x341be5(0x3fc)](_0x363dab=>_0x363dab[_0x341be5(0x2ac)]===_0x319fb0['unitId']&&_0x363dab[_0x341be5(0x50c)]===_0x319fb0[_0x341be5(0x50c)])&&this[_0x341be5(0x2ad)](_0x35b140);})),this['disposeWithMe'](this[_0x246af9(0x57a)]['chartModelRemoved$'][_0x246af9(0x17f)](_0x1883f8=>{const _0x5e8c0b=_0x246af9;var _0x247ded;this['_disposeChartChangeListeners'](_0x1883f8),this[_0x5e8c0b(0x3ac)](_0x1883f8),this[_0x5e8c0b(0x57b)][_0x5e8c0b(0x2e1)](_0x1883f8),this[_0x5e8c0b(0x3f2)](_0x1883f8),this[_0x5e8c0b(0x211)]['delete'](_0x1883f8),this[_0x5e8c0b(0x3f6)]['clearChart'](_0x1883f8),this[_0x5e8c0b(0x30d)](_0x1883f8),this[_0x5e8c0b(0x568)][_0x5e8c0b(0x28e)](_0x1883f8),((_0x247ded=this['_chartModelService'][_0x5e8c0b(0x286)])==null?void 0x0:_0x247ded['id'])===_0x1883f8?this['_chartModelService'][_0x5e8c0b(0x4a3)](null):this[_0x5e8c0b(0x193)](_0x1883f8),this[_0x5e8c0b(0x3f7)](_0x1883f8);}));}[_0x185be1(0x1dc)](_0x6683d1){const _0x32ac78=_0x185be1;let _0x3a60dc=this[_0x32ac78(0x211)][_0x32ac78(0x442)](_0x6683d1);_0x3a60dc&&this[_0x32ac78(0x266)](_0x6683d1,_0x3a60dc[_0x32ac78(0x4fd)],_0x3a60dc[_0x32ac78(0x1c3)]);}['_disposeChartDomInstance'](_0x50fa2f){const _0x1cc2b7=_0x185be1;let _0x3cb7ab=this[_0x1cc2b7(0x474)]['get'](_0x50fa2f);(_0x3cb7ab==null?void 0x0:_0x3cb7ab[_0x1cc2b7(0x463)])===_0x1cc2b7(0x2f6)&&(this['_disposeChartEventSubscriptions'](_0x50fa2f),_0x3cb7ab[_0x1cc2b7(0x4d8)](),this[_0x1cc2b7(0x474)][_0x1cc2b7(0x2e1)](_0x50fa2f)),this[_0x1cc2b7(0x568)][_0x1cc2b7(0x28e)](_0x50fa2f),this[_0x1cc2b7(0x568)][_0x1cc2b7(0x252)](_0x50fa2f);}[_0x185be1(0x3f7)](_0x2c9b8b){const _0x346c12=_0x185be1;let _0x511150=this[_0x346c12(0x474)][_0x346c12(0x442)](_0x2c9b8b);_0x511150&&(this[_0x346c12(0x3ac)](_0x2c9b8b),_0x511150[_0x346c12(0x4d8)](),this[_0x346c12(0x474)][_0x346c12(0x2e1)](_0x2c9b8b)),this[_0x346c12(0x568)][_0x346c12(0x28e)](_0x2c9b8b),this[_0x346c12(0x568)]['removeHost'](_0x2c9b8b);}['_notifyChartRemoved'](_0x32155d){const _0x10e797=_0x185be1;var _0x370037,_0x16a5e0;(_0x370037=this['_renderModelManager'][_0x10e797(0x1f2)](_0x214e0a[_0x10e797(0x350)]))==null||(_0x16a5e0=_0x370037['emitChartEvent'])==null||_0x16a5e0[_0x10e797(0x371)](_0x370037,{'type':_0x10e797(0x1a0),'chartId':_0x32155d});}[_0x185be1(0x40c)](_0x20efe0,_0x3d11b0){const _0x137311=_0x185be1;let _0x1d0547=this['_drawingManagerService'][_0x137311(0x39b)](_0x20efe0,_0x3d11b0);Object[_0x137311(0x420)](_0x1d0547??{})[_0x137311(0x55c)](_0xb6dac7=>{const _0x1a5f59=_0x137311;if(_0xb6dac7[_0x1a5f59(0x2d3)]===_0x1ba070[_0x1a5f59(0x1f9)]['DRAWING_CHART']){var _0x358992,_0x4b0b10;(_0x358992=this[_0x1a5f59(0x3a5)]['getRenderModel'](_0x214e0a['EChartRenderEngineName']))==null||(_0x4b0b10=_0x358992[_0x1a5f59(0x38a)])==null||_0x4b0b10['call'](_0x358992,{'type':_0x1a5f59(0x4ed),'chartId':_0xb6dac7[_0x1a5f59(0x3b7)]});}});}[_0x185be1(0x4bb)](_0x2ad88e,_0x159a38){const _0x37d74e=_0x185be1;var _0x38d88b;return((_0x38d88b=_0x2ad88e['getObjectIncludeInGroup'])==null?void 0x0:_0x38d88b[_0x37d74e(0x371)](_0x2ad88e,_0x159a38))??_0x2ad88e[_0x37d74e(0x422)](_0x159a38)??null;}[_0x185be1(0x23b)](_0x454453){const _0x50ce9a=_0x185be1;var _0xddecbc;let _0x3cd5c5=this['_sheetCanvasFloatDomManagerService'][_0x50ce9a(0x277)](_0x454453);if(!_0x3cd5c5)return null;let _0x4b05f7=(_0xddecbc=this[_0x50ce9a(0x51d)]['getRenderUnitById'](_0x3cd5c5[_0x50ce9a(0x2ac)]))==null?void 0x0:_0xddecbc[_0x50ce9a(0x493)];if(!_0x4b05f7)return null;let _0x25ae1f=this['_getChartRenderObject'](_0x4b05f7,(0x0,_0x135c9c[_0x50ce9a(0x224)])({'unitId':_0x3cd5c5[_0x50ce9a(0x2ac)],'subUnitId':_0x3cd5c5[_0x50ce9a(0x50c)],'drawingId':_0x454453}));return _0x25ae1f?{'info':_0x3cd5c5,'scene':_0x4b05f7,'chartObject':_0x25ae1f}:null;}[_0x185be1(0x469)](_0x1f3adc,_0x35637f){const _0x3e093c=_0x185be1;var _0xee82e2,_0x4d5527,_0x410aeb,_0x5517f4;let _0x5864a3=this[_0x3e093c(0x23b)](_0x1f3adc);_0x5864a3&&((_0xee82e2=(_0x4d5527=_0x5864a3[_0x3e093c(0x433)])[_0x3e093c(0x2dc)])==null||_0xee82e2['call'](_0x4d5527,{'zIndex':_0x35637f}),(_0x410aeb=(_0x5517f4=_0x5864a3[_0x3e093c(0x433)])[_0x3e093c(0x572)])==null||_0x410aeb[_0x3e093c(0x371)](_0x5517f4,!0x0),_0x5864a3[_0x3e093c(0x493)][_0x3e093c(0x572)](!0x0));}[_0x185be1(0x2ad)](_0x35d02e){const _0x3ea9ea=_0x185be1;let _0x33e246=this[_0x3ea9ea(0x1ff)][_0x3ea9ea(0x277)](_0x35d02e);if(!_0x33e246)return;let _0x545574=this[_0x3ea9ea(0x3d0)][_0x3ea9ea(0x381)](_0x33e246[_0x3ea9ea(0x2ac)],_0x33e246[_0x3ea9ea(0x50c)]);this[_0x3ea9ea(0x469)](_0x35d02e,_0x545574[_0x3ea9ea(0x36b)]);}[_0x185be1(0x193)](_0x33c950){const _0x396599=_0x185be1;let _0x76a090=this[_0x396599(0x1ff)][_0x396599(0x277)](_0x33c950);if(!_0x76a090)return;let _0x44fb7d=this[_0x396599(0x3d0)][_0x396599(0x381)](_0x76a090[_0x396599(0x2ac)],_0x76a090[_0x396599(0x50c)]),_0x514b0e=_0x44fb7d['indexOf'](_0x33c950);this['_setChartRuntimeZIndex'](_0x33c950,_0x514b0e===-0x1?Math['max'](_0x44fb7d[_0x396599(0x36b)]-0x1,0x0):_0x514b0e);}[_0x185be1(0x364)](_0x2d3c20,_0xc6a44e){const _0x1aa99e=_0x185be1;let _0x5cb347=this['_sheetCanvasFloatDomManagerService'][_0x1aa99e(0x277)](_0x2d3c20);if(_0xc6a44e['width']!==void 0x0&&_0xc6a44e[_0x1aa99e(0x2d7)]!==void 0x0&&_0x5cb347){var _0x2e5a28;let {subUnitId:_0xff2c08}=_0x5cb347,_0x50fabe=(_0x2e5a28=this[_0x1aa99e(0x538)][_0x1aa99e(0x448)](_0x1ba070[_0x1aa99e(0x203)][_0x1aa99e(0x2da)]))==null?void 0x0:_0x2e5a28[_0x1aa99e(0x1bd)]();if((_0x50fabe==null?void 0x0:_0x50fabe[_0x1aa99e(0x2ec)]())===_0xff2c08){let {width:_0x323673,height:_0x517359}=_0xc6a44e,_0x498a79=this['_chartModelService'][_0x1aa99e(0x214)](_0x2d3c20),_0x1090e4=_0x498a79==null?void 0x0:_0x498a79[_0x1aa99e(0x1c3)];(Math[_0x1aa99e(0x305)](_0x323673-((_0x1090e4==null?void 0x0:_0x1090e4[_0x1aa99e(0x2bf)])||0x0))>0x1||Math[_0x1aa99e(0x305)](_0x517359-((_0x1090e4==null?void 0x0:_0x1090e4[_0x1aa99e(0x2d7)])||0x0))>0x1)&&(_0x498a79==null||_0x498a79[_0x1aa99e(0x2c3)]({..._0x1090e4,'width':_0x323673,'height':_0x517359}));}}}[_0x185be1(0x49c)](_0x38e102,_0x281e48,_0x3a2a4e=0x0){const _0xa2bf84=_0x185be1;let _0x5bfb3d=this[_0xa2bf84(0x3a3)][_0xa2bf84(0x442)](_0x38e102);_0x5bfb3d||(_0x5bfb3d=(0x0,_0x1ba070[_0xa2bf84(0x209)])(_0x2875e6=>{const _0x2d34a8=_0xa2bf84;this[_0x2d34a8(0x364)](_0x38e102,_0x2875e6);},_0x3a2a4e),this[_0xa2bf84(0x3a3)]['set'](_0x38e102,_0x5bfb3d)),_0x5bfb3d(_0x281e48);}['handleActiveSubUnitChange'](){const _0x32983b=_0x185be1;let _0x5ed765=this[_0x32983b(0x506)],_0x23d07a=_0x3a570d=>{const _0x13ffaa=_0x32983b;if(!_0x5ed765[_0x13ffaa(0x4b2)](_0x3a570d)){let _0x6ca47=(0x0,_0x1ba070[_0x13ffaa(0x209)])((_0x5a8949,_0x2540d4,_0x36f48d,_0x11581e)=>{const _0x4501a7=_0x13ffaa;var _0x3f5c94,_0x4cab33;if(!_0x36f48d)return;(_0x3f5c94=_0x36f48d['category'])==null||_0x3f5c94[_0x4501a7(0x199)][_0x4501a7(0x55c)]((_0x3e4bc2,_0x46e27f)=>{const _0x38ac14=_0x4501a7;_0x3e4bc2['label']||=this[_0x38ac14(0x2cd)]['t']('sheets-chart-ui.common.category')+'\x20'+(_0x46e27f+0x1);}),_0x36f48d[_0x4501a7(0x1c5)]['forEach']((_0x4b2342,_0x2cdab9)=>{const _0x5ec0b0=_0x4501a7;_0x4b2342[_0x5ec0b0(0x48e)]||=this[_0x5ec0b0(0x2cd)]['t'](_0x5ec0b0(0x398))+'\x20'+(_0x2cdab9+0x1);});let _0x3d376=this[_0x4501a7(0x40e)](_0x5a8949,_0x11581e),_0x128f9d=(_0x4cab33=this[_0x4501a7(0x538)][_0x4501a7(0x448)](_0x1ba070[_0x4501a7(0x203)]['UNIVER_SHEET']))==null?void 0x0:_0x4cab33['getActiveSheet']();(_0x128f9d==null?void 0x0:_0x128f9d[_0x4501a7(0x2ec)]())===_0x2540d4&&this['render'](_0x5a8949['id'],_0x36f48d,_0x3d376);},0x64,{'leading':!0x0,'trailing':!0x0,'maxWait':0x64});_0x5ed765['set'](_0x3a570d,_0x6ca47);}return _0x5ed765[_0x13ffaa(0x442)](_0x3a570d);};this['disposeWithMe'](this[_0x32983b(0x538)][_0x32983b(0x2b1)][_0x32983b(0x17f)](_0x386cc7=>{const _0xf4fdd9=_0x32983b;let _0x1478ca=this[_0xf4fdd9(0x538)][_0xf4fdd9(0x448)](_0x1ba070['UniverInstanceType']['UNIVER_SHEET']);if(_0x386cc7&&_0x1478ca&&_0x1478ca[_0xf4fdd9(0x185)]()===_0x386cc7){var _0x1fcf29;let _0x4bdd3b=_0x1478ca[_0xf4fdd9(0x1bd)]()[_0xf4fdd9(0x2ec)]();this[_0xf4fdd9(0x4d1)]&&(this[_0xf4fdd9(0x4d1)][_0xf4fdd9(0x2ac)]!==_0x386cc7||this[_0xf4fdd9(0x4d1)][_0xf4fdd9(0x50c)]!==_0x4bdd3b)&&this[_0xf4fdd9(0x40c)](this['_lastActiveSheet']['unitId'],this[_0xf4fdd9(0x4d1)][_0xf4fdd9(0x50c)]),this[_0xf4fdd9(0x4d1)]={'unitId':_0x386cc7,'subUnitId':_0x4bdd3b};let _0x4df9c2=this['_drawingManagerService'][_0xf4fdd9(0x39b)](_0x386cc7,_0x4bdd3b);if(!((_0x1fcf29=this[_0xf4fdd9(0x51d)]['getRenderUnitById'](_0x386cc7))!=null&&_0x1fcf29[_0xf4fdd9(0x356)](_0x53e756[_0xf4fdd9(0x48c)])['getSkeleton'](_0x4bdd3b)))return;if(_0x4df9c2)for(let _0x30e1d2 in _0x4df9c2){let {drawingId:_0x13b491}=_0x4df9c2[_0x30e1d2],_0x11f4a7=this['_chartModelService']['getChartModel'](_0x13b491);_0x11f4a7&&_0x23d07a(_0x11f4a7['id'])(_0x11f4a7,_0x4bdd3b,_0x11f4a7[_0xf4fdd9(0x4fd)],this[_0xf4fdd9(0x2cd)][_0xf4fdd9(0x27b)]());}}})),this[_0x32983b(0x3d7)](this[_0x32983b(0x29d)][_0x32983b(0x34e)][_0x32983b(0x17f)](()=>{const _0x3de60a=_0x32983b;var _0x48d059;let _0x4fe046=this['_univerInstanceService'][_0x3de60a(0x448)](_0x1ba070[_0x3de60a(0x203)][_0x3de60a(0x2da)]);if(!_0x4fe046)return;let _0x26b046=_0x4fe046['getUnitId'](),_0x35ef17=_0x4fe046[_0x3de60a(0x1bd)]()[_0x3de60a(0x2ec)](),_0x3972f6=this[_0x3de60a(0x3d0)][_0x3de60a(0x39b)](_0x26b046,_0x35ef17);if((_0x48d059=this[_0x3de60a(0x51d)][_0x3de60a(0x3ef)](_0x26b046))!=null&&_0x48d059[_0x3de60a(0x356)](_0x53e756['SheetSkeletonManagerService'])[_0x3de60a(0x293)](_0x35ef17)&&_0x3972f6)for(let _0x521669 in _0x3972f6){let {drawingId:_0x3a9aba}=_0x3972f6[_0x521669],_0x5b38f9=this[_0x3de60a(0x57a)]['getChartModel'](_0x3a9aba);_0x5b38f9&&_0x23d07a(_0x5b38f9['id'])(_0x5b38f9,_0x35ef17,_0x5b38f9['config'],this[_0x3de60a(0x2cd)]['getDirection']());}})),this[_0x32983b(0x3d7)](this['_drawingManagerService'][_0x32983b(0x280)][_0x32983b(0x17f)](_0x43c78d=>{const _0x3adf13=_0x32983b;_0x43c78d[_0x3adf13(0x55c)](_0x100f61=>{const _0x29713d=_0x3adf13;var _0x409d56;let {drawingId:_0x57f2fe,unitId:_0x1b8eb2,subUnitId:_0x10e9fe}=_0x100f61,_0x4b61ed=this[_0x29713d(0x51d)]['getRenderUnitById'](_0x1b8eb2);if((_0x4b61ed==null?void 0x0:_0x4b61ed[_0x29713d(0x569)])!==_0x1ba070[_0x29713d(0x203)]['UNIVER_SHEET']||!_0x4b61ed[_0x29713d(0x356)](_0x53e756[_0x29713d(0x48c)])['getSkeleton'](_0x10e9fe))return;let {drawingType:_0x49841b}=this[_0x29713d(0x3d0)]['getDrawingByParam'](_0x100f61);if(_0x49841b!==_0x1ba070['DrawingTypeEnum'][_0x29713d(0x52f)])return;let _0x116311=this['_sheetCanvasFloatDomManagerService']['getFloatDomInfo'](_0x57f2fe);this[_0x29713d(0x412)](_0x57f2fe);let _0x2877ef=new _0x1ba070['Disposable']();this[_0x29713d(0x2e2)][_0x29713d(0x45e)](_0x57f2fe,_0x2877ef);let _0x182945=(_0x116311==null?void 0x0:_0x116311['domId'])??_0x57f2fe,_0x401b9d=_0x116311==null?void 0x0:_0x116311[_0x29713d(0x4ee)],_0x2f9e1b=(_0x409d56=this[_0x29713d(0x51d)]['getRenderUnitById'](_0x1b8eb2))==null?void 0x0:_0x409d56[_0x29713d(0x493)];if(_0x401b9d){let _0x502ce1=new _0x11d874(_0x401b9d,async _0x35cbc8=>{const _0xad7fc6=_0x29713d;var _0x1e5da9;let _0x28de5e=this[_0xad7fc6(0x538)][_0xad7fc6(0x448)](_0x1ba070['UniverInstanceType'][_0xad7fc6(0x2da)]);if((_0x28de5e==null?void 0x0:_0x28de5e['getUnitId']())===_0x1b8eb2&&((_0x1e5da9=_0x28de5e[_0xad7fc6(0x1bd)]())==null?void 0x0:_0x1e5da9[_0xad7fc6(0x2ec)]())===_0x10e9fe&&(this['_chartHostProvider'][_0xad7fc6(0x290)](_0x57f2fe),_0x35cbc8)){let {width:_0x548b45,height:_0x4f295c}=_0x401b9d;this['_debounceHandle'](_0x57f2fe,{'width':_0x548b45,'height':_0x4f295c},0x64);let _0x1f817b=this[_0xad7fc6(0x57a)]['getChartModel'](_0x57f2fe);_0x1f817b!=null&&_0x1f817b['config']&&await this['render'](_0x57f2fe,_0x1f817b[_0xad7fc6(0x4fd)],this[_0xad7fc6(0x40e)](_0x1f817b,this['_localeService'][_0xad7fc6(0x27b)]()));}});_0x2877ef['disposeWithMe'](_0x502ce1),_0x2877ef[_0x29713d(0x3d7)](this[_0x29713d(0x538)]['focused$'][_0x29713d(0x17f)](()=>_0x502ce1[_0x29713d(0x194)][_0x29713d(0x313)]())),_0x2f9e1b&&_0x2877ef[_0x29713d(0x3d7)](_0x2f9e1b[_0x29713d(0x253)]()[_0x29713d(0x4ea)][_0x29713d(0x17f)](({objects:_0x5b4bb3})=>{const _0x4b7dd3=_0x29713d;if(_0x5b4bb3[_0x4b7dd3(0x4b2)](_0x401b9d['oKey'])){var _0x56e3af;_0x502ce1[_0x4b7dd3(0x194)][_0x4b7dd3(0x394)](),(_0x56e3af=this[_0x4b7dd3(0x3a3)][_0x4b7dd3(0x442)](_0x57f2fe))==null||_0x56e3af[_0x4b7dd3(0x32b)](),this[_0x4b7dd3(0x364)](_0x57f2fe,{'width':_0x401b9d[_0x4b7dd3(0x2bf)],'height':_0x401b9d['height']});}}));}_0x2f9e1b&&_0x2877ef[_0x29713d(0x3d7)](_0x2f9e1b[_0x29713d(0x4bc)][_0x29713d(0x255)](_0x3c145c=>{const _0x166dae=_0x29713d;var _0x525839;_0x3c145c[_0x166dae(0x569)]===_0x1d47e2['TRANSFORM_CHANGE_OBSERVABLE_TYPE']['scale']&&(_0x525839=document['getElementById'](_0x182945))!=null&&_0x525839['querySelector'](_0x166dae(0x30c))&&this[_0x166dae(0x568)][_0x166dae(0x290)](_0x57f2fe);}));let _0x218c59=this[_0x29713d(0x57a)][_0x29713d(0x214)](_0x57f2fe);_0x218c59&&_0x2877ef['disposeWithMe']((0x0,_0x5e3636[_0x29713d(0x595)])([_0x218c59[_0x29713d(0x235)],_0x218c59[_0x29713d(0x325)],this[_0x29713d(0x2cd)][_0x29713d(0x353)]])[_0x29713d(0x17f)](([_0x2063ec,_0x249d6b,_0x354d6e])=>{_0x23d07a(_0x218c59['id'])(_0x218c59,_0x10e9fe,_0x2063ec,_0x354d6e);}));});})),this['disposeWithMe']((0x0,_0x5e3636['combineLatest'])([this[_0x32983b(0x3d0)][_0x32983b(0x1c4)]])['subscribe'](([_0xd5d76d])=>{const _0x587827=_0x32983b;_0xd5d76d[_0x587827(0x55c)](_0x4bedc2=>{const _0x4b628c=_0x587827;var _0x35b4c5;let {drawingId:_0x105959}=_0x4bedc2;this[_0x4b628c(0x412)](_0x105959),((_0x35b4c5=this[_0x4b628c(0x57a)][_0x4b628c(0x286)])==null?void 0x0:_0x35b4c5['id'])===_0x105959&&this[_0x4b628c(0x57a)][_0x4b628c(0x4a3)](null),this['_disposeChartEventSubscriptions'](_0x105959),this['_chartHostProvider'][_0x4b628c(0x28e)](_0x105959),this[_0x4b628c(0x193)](_0x105959),this[_0x4b628c(0x3f7)](_0x105959),this[_0x4b628c(0x3f6)][_0x4b628c(0x31e)](_0x105959),this[_0x4b628c(0x30d)](_0x105959),this[_0x4b628c(0x211)][_0x4b628c(0x2e1)](_0x105959),this[_0x4b628c(0x43c)]['delete'](_0x105959);});}));}[_0x185be1(0x4e7)](_0x371996,_0x15954f){const _0x25f174=_0x185be1;var _0x1b46ad;_0x15954f?this[_0x25f174(0x43c)][_0x25f174(0x45e)](_0x371996,!0x0):this[_0x25f174(0x43c)][_0x25f174(0x2e1)](_0x371996),(_0x1b46ad=this[_0x25f174(0x474)][_0x25f174(0x442)](_0x371996))==null||_0x1b46ad[_0x25f174(0x4e7)](_0x15954f);}async[_0x185be1(0x21f)](_0x43b866,_0x1274c2){const _0x15d650=_0x185be1;var _0x5a7b83;let _0x1ac339=this[_0x15d650(0x211)][_0x15d650(0x442)](_0x43b866),_0x405e73=(_0x5a7b83=this[_0x15d650(0x1ff)][_0x15d650(0x277)](_0x43b866))==null?void 0x0:_0x5a7b83['rect'];if(_0x1ac339&&_0x405e73)return(await this[_0x15d650(0x3a5)]['exportImage']({'chartId':_0x43b866,'config':_0x1ac339[_0x15d650(0x4fd)],'style':_0x1ac339[_0x15d650(0x1c3)],'width':_0x405e73[_0x15d650(0x2bf)],'height':_0x405e73[_0x15d650(0x2d7)]},_0x1274c2))[_0x15d650(0x1a7)];if((_0x1274c2==null?void 0x0:_0x1274c2[_0x15d650(0x320)])===_0x214e0a[_0x15d650(0x558)][_0x15d650(0x481)])return;let _0x5a18fd=this[_0x15d650(0x4b0)](_0x43b866);return _0x5a18fd?(0x0,_0x214e0a['chartImageSourceToDataUrl'])(_0x5a18fd):void 0x0;}['on'](_0x3d13b8,_0x2cdb3f,_0x2a87e3){const _0x30a038=_0x185be1;let _0x3aaf4d=this[_0x30a038(0x57b)][_0x30a038(0x442)](_0x3d13b8);_0x3aaf4d||(_0x3aaf4d=new Map(),this[_0x30a038(0x57b)]['set'](_0x3d13b8,_0x3aaf4d));let _0x312670=_0x3aaf4d[_0x30a038(0x442)](_0x2cdb3f);_0x312670||(_0x312670=new Set(),_0x3aaf4d[_0x30a038(0x45e)](_0x2cdb3f,_0x312670)),_0x312670[_0x30a038(0x221)](_0x2a87e3);let _0x59f17c=this[_0x30a038(0x474)][_0x30a038(0x442)](_0x3d13b8);return _0x59f17c&&this[_0x30a038(0x589)](_0x3d13b8,_0x59f17c,_0x2cdb3f,_0x2a87e3),{'dispose':()=>{const _0x17f4c2=_0x30a038;var _0x317dfc;(_0x317dfc=this[_0x17f4c2(0x57b)][_0x17f4c2(0x442)](_0x3d13b8))==null||(_0x317dfc=_0x317dfc[_0x17f4c2(0x442)](_0x2cdb3f))==null||_0x317dfc['delete'](_0x2a87e3),this[_0x17f4c2(0x297)](_0x3d13b8,_0x2cdb3f,_0x2a87e3);}};}[_0x185be1(0x4b0)](_0xfe25d6){const _0x36c42c=_0x185be1;let _0x347335=this[_0x36c42c(0x538)]['getCurrentUnitOfType'](_0x1ba070[_0x36c42c(0x203)][_0x36c42c(0x2da)]),_0x123437=_0x347335==null?void 0x0:_0x347335[_0x36c42c(0x1bd)](),_0x6619d4=_0x347335==null?void 0x0:_0x347335[_0x36c42c(0x185)](),_0x732c6=_0x123437==null?void 0x0:_0x123437[_0x36c42c(0x2ec)]();if(_0x6619d4&&_0x732c6)return this[_0x36c42c(0x3f6)][_0x36c42c(0x42e)]({'unitId':_0x6619d4,'subUnitId':_0x732c6,'chartId':_0xfe25d6});}['_bindChartEventHandlers'](_0xd71e4a,_0x57d387){const _0x33ca42=_0x185be1;let _0x3592c1=this[_0x33ca42(0x57b)][_0x33ca42(0x442)](_0xd71e4a);_0x3592c1&&_0x3592c1[_0x33ca42(0x55c)]((_0x285944,_0x1faa15)=>{const _0x539f97=_0x33ca42;_0x285944[_0x539f97(0x55c)](_0x3102f0=>this[_0x539f97(0x589)](_0xd71e4a,_0x57d387,_0x1faa15,_0x3102f0));});}[_0x185be1(0x589)](_0x1ab416,_0x153afb,_0x24e739,_0xc563c){const _0x14ddb8=_0x185be1;let _0xb042e1=this[_0x14ddb8(0x39a)]['get'](_0x1ab416);_0xb042e1||(_0xb042e1=new Map(),this['_chartEventSubscriptions'][_0x14ddb8(0x45e)](_0x1ab416,_0xb042e1));let _0xf14fde=_0xb042e1[_0x14ddb8(0x442)](_0x24e739);_0xf14fde||(_0xf14fde=new Map(),_0xb042e1[_0x14ddb8(0x45e)](_0x24e739,_0xf14fde)),_0xf14fde[_0x14ddb8(0x4b2)](_0xc563c)||_0xf14fde[_0x14ddb8(0x45e)](_0xc563c,_0x153afb['on'](_0x24e739,_0xc563c));}[_0x185be1(0x297)](_0x4602b1,_0x4ccab9,_0x91135e){const _0x3a9508=_0x185be1;var _0x2ac58a,_0x68c87b;let _0x43cfd5=(_0x2ac58a=this[_0x3a9508(0x39a)]['get'](_0x4602b1))==null?void 0x0:_0x2ac58a['get'](_0x4ccab9);_0x43cfd5==null||(_0x68c87b=_0x43cfd5['get'](_0x91135e))==null||_0x68c87b[_0x3a9508(0x4d8)](),_0x43cfd5==null||_0x43cfd5[_0x3a9508(0x2e1)](_0x91135e);}[_0x185be1(0x3ac)](_0x3046da){const _0x3d157e=_0x185be1;let _0x79c8ea=this[_0x3d157e(0x39a)]['get'](_0x3046da);_0x79c8ea==null||_0x79c8ea[_0x3d157e(0x55c)](_0x1fa0be=>{const _0xbf55cd=_0x3d157e;_0x1fa0be[_0xbf55cd(0x55c)](_0x5bc103=>_0x5bc103[_0xbf55cd(0x4d8)]()),_0x1fa0be[_0xbf55cd(0x20f)]();}),this['_chartEventSubscriptions'][_0x3d157e(0x2e1)](_0x3046da);}['createRuntimeChartStyle'](_0x5b125c,_0x504409){const _0x25e644=_0x185be1;return _0x9b82a3(_0x5b125c,_0x504409,this[_0x25e644(0x405)]);}[_0x185be1(0x46e)](_0x1f137f){const _0x4874ef=_0x185be1;return this[_0x4874ef(0x3dc)](_0x1f137f)==null;}[_0x185be1(0x3dc)](_0xecb556){const _0x43e75b=_0x185be1;var _0xb836c6;let _0x3751e7=this[_0x43e75b(0x1ff)][_0x43e75b(0x277)](_0xecb556);if(!_0x3751e7)return _0x43e75b(0x311);let {subUnitId:_0x588ab8}=_0x3751e7,_0x23b6eb=(_0xb836c6=this[_0x43e75b(0x538)][_0x43e75b(0x448)](_0x1ba070[_0x43e75b(0x203)][_0x43e75b(0x2da)]))==null?void 0x0:_0xb836c6[_0x43e75b(0x1bd)]();if(!_0x23b6eb)return _0x43e75b(0x485);if(_0x23b6eb['getSheetId']()!==_0x588ab8)return _0x43e75b(0x237);}async[_0x185be1(0x266)](_0x18f640,_0x34b324,_0x468045,_0x5c4fa4={}){const _0x1b937d=_0x185be1;let _0x1a0d89=this[_0x1b937d(0x3a5)][_0x1b937d(0x1f2)](_0x214e0a[_0x1b937d(0x350)]);if(!_0x1a0d89)return;let _0x74a098=this[_0x1b937d(0x211)][_0x1b937d(0x442)](_0x18f640);if(this[_0x1b937d(0x211)][_0x1b937d(0x45e)](_0x18f640,{'config':_0x34b324,'style':_0x468045}),this[_0x1b937d(0x3dc)](_0x18f640))return;let {canAnimate:_0x55db5a,renderMode:_0x3b36b3,shouldStartTransientAnimation:_0x38d269,transientAnimationActive:_0x8218dc}=this[_0x1b937d(0x585)](_0x18f640,_0x74a098!=null,_0x5c4fa4[_0x1b937d(0x3f1)]===!0x0);if(_0x3b36b3===_0x214e0a['ChartRenderMode'][_0x1b937d(0x1bb)])this[_0x1b937d(0x19b)](_0x18f640);else{var _0x59b265;this['_chartHostProvider'][_0x1b937d(0x2ce)](_0x18f640),((_0x59b265=this[_0x1b937d(0x57a)][_0x1b937d(0x286)])==null?void 0x0:_0x59b265['id'])===_0x18f640&&this[_0x1b937d(0x2ad)](_0x18f640);}let _0x46c057=_0x3b36b3===_0x214e0a[_0x1b937d(0x2a1)]['Image']?_0x214e0a[_0x1b937d(0x2a1)]['Image']:_0x214e0a[_0x1b937d(0x2a1)][_0x1b937d(0x1aa)],_0x12ea3a=await this[_0x1b937d(0x568)][_0x1b937d(0x3d3)](_0x18f640,_0x46c057);if(!_0x12ea3a){_0x38d269&&this[_0x1b937d(0x3f2)](_0x18f640);return;}this[_0x1b937d(0x568)][_0x1b937d(0x51e)](_0x18f640,_0x8218dc?_0x214e0a[_0x1b937d(0x53d)]:null);let _0x55ff5a=this['_getOrCreateChartRenderInstance'](_0x18f640,_0x46c057,_0x1a0d89);_0x55ff5a['bind'](_0x12ea3a);try{let _0x3f3ffa={'chartId':_0x18f640,'config':_0x34b324,'style':_0x468045};_0x55db5a&&_0x74a098&&_0x55ff5a[_0x1b937d(0x206)]?await _0x55ff5a[_0x1b937d(0x206)]({'chartId':_0x18f640,'config':_0x74a098[_0x1b937d(0x4fd)],'style':_0x74a098['style']},_0x3f3ffa,{'duration':_0x214e0a[_0x1b937d(0x53d)]}):await _0x55ff5a[_0x1b937d(0x266)](_0x3f3ffa),await this['_cacheActiveDomChartSnapshot'](_0x18f640,_0x3b36b3,_0x55ff5a),_0x55db5a&&_0x8218dc&&this[_0x1b937d(0x329)](_0x18f640);}catch(_0x3d9c1e){if(_0x38d269&&this[_0x1b937d(0x3f2)](_0x18f640),_0x3b36b3!==_0x214e0a[_0x1b937d(0x2a1)][_0x1b937d(0x1bb)])throw _0x3d9c1e;}}async['_cacheActiveDomChartSnapshot'](_0x30d92d,_0x2f2783,_0x55e1e3){const _0x356308=_0x185be1;var _0x31e068;if(_0x2f2783!==_0x214e0a[_0x356308(0x2a1)]['Dom']||((_0x31e068=this[_0x356308(0x57a)][_0x356308(0x286)])==null?void 0x0:_0x31e068['id'])!==_0x30d92d)return;let _0x50d875=await this[_0x356308(0x568)]['ensureHost'](_0x30d92d,_0x214e0a[_0x356308(0x2a1)]['Image']);if(!_0x50d875)return;let _0x7395bc=_0x50d875[_0x356308(0x321)]();try{let _0x51031d=await _0x55e1e3[_0x356308(0x52a)]();_0x51031d&&_0x50d875[_0x356308(0x4a7)]({'type':_0x214e0a[_0x356308(0x4af)][_0x356308(0x24f)],'url':_0x51031d},_0x7395bc)&&_0x50d875[_0x356308(0x3ce)]();}catch{}}[_0x185be1(0x585)](_0x323da6,_0x279341,_0x458bce){const _0x446363=_0x185be1;let _0x73f77e=this[_0x446363(0x2c7)](_0x323da6),_0x4b12ee=_0x73f77e===_0x214e0a[_0x446363(0x2a1)]['Dom']&&_0x458bce&&_0x279341&&this[_0x446363(0x1a6)](_0x323da6),_0x4a70d9=this[_0x446363(0x450)][_0x446363(0x4b2)](_0x323da6);return{'canAnimate':_0x4b12ee,'renderMode':_0x4a70d9?_0x214e0a['ChartRenderMode']['Dom']:_0x73f77e,'shouldStartTransientAnimation':!0x1,'transientAnimationActive':_0x4a70d9};}[_0x185be1(0x1a6)](_0xf83a42){const _0x3e2f9c=_0x185be1;var _0xda7461,_0x554542,_0x3ab84e,_0x2f9558;if(typeof document>'u'||typeof window>'u'||document[_0x3e2f9c(0x382)]==='hidden'||(_0xda7461=(_0x554542=window)[_0x3e2f9c(0x58c)])!=null&&(_0xda7461=_0xda7461[_0x3e2f9c(0x371)](_0x554542,_0x3e2f9c(0x2f9)))!=null&&_0xda7461[_0x3e2f9c(0x22a)]||(_0x3ab84e=(_0x2f9558=window)[_0x3e2f9c(0x58c)])!=null&&(_0x3ab84e=_0x3ab84e['call'](_0x2f9558,_0x3e2f9c(0x3ba)))!=null&&_0x3ab84e[_0x3e2f9c(0x22a)])return!0x1;let _0x1af2d1=this['_chartHostProvider'][_0x3e2f9c(0x505)](_0xf83a42);return _0x1af2d1!=null&&_0x1af2d1[_0x3e2f9c(0x2bf)]>0x0&&_0x1af2d1[_0x3e2f9c(0x2d7)]>0x0&&_0x1af2d1['right']>0x0&&_0x1af2d1['bottom']>0x0&&_0x1af2d1[_0x3e2f9c(0x4e4)]<window[_0x3e2f9c(0x230)]&&_0x1af2d1[_0x3e2f9c(0x2e8)]<window[_0x3e2f9c(0x1fe)];}['_activateDataUpdateAnimation'](_0x482516){const _0x30085d=_0x185be1;let _0x46a093=this[_0x30085d(0x50f)][_0x30085d(0x442)](_0x482516);_0x46a093&&(clearTimeout(_0x46a093),this[_0x30085d(0x50f)][_0x30085d(0x2e1)](_0x482516)),this['_dataUpdateAnimationChartIds']['add'](_0x482516),this['_chartHostProvider'][_0x30085d(0x51e)](_0x482516,_0x214e0a[_0x30085d(0x53d)]);}[_0x185be1(0x329)](_0x423770){const _0x30ca0b=_0x185be1;let _0x514dce=this[_0x30ca0b(0x50f)]['get'](_0x423770);_0x514dce&&clearTimeout(_0x514dce);let _0x20f6ea=setTimeout(()=>{const _0x50c99f=_0x30ca0b;this['_dataUpdateAnimationTimers'][_0x50c99f(0x2e1)](_0x423770),this[_0x50c99f(0x450)]['delete'](_0x423770)&&(this[_0x50c99f(0x568)]['setDataUpdateAnimation'](_0x423770,null),this[_0x50c99f(0x19b)](_0x423770),this['_rerenderLatest'](_0x423770));},_0x214e0a[_0x30ca0b(0x53d)]);this[_0x30ca0b(0x50f)][_0x30ca0b(0x45e)](_0x423770,_0x20f6ea);}[_0x185be1(0x3f2)](_0x33aa00){const _0x550e36=_0x185be1;let _0x265bdb=this[_0x550e36(0x50f)]['get'](_0x33aa00);_0x265bdb&&(clearTimeout(_0x265bdb),this[_0x550e36(0x50f)][_0x550e36(0x2e1)](_0x33aa00)),this[_0x550e36(0x450)][_0x550e36(0x2e1)](_0x33aa00),this[_0x550e36(0x568)][_0x550e36(0x51e)](_0x33aa00,null);}async[_0x185be1(0x17e)](_0x36ef48,_0x5a33f9,_0x4c40ec){const _0x5f2860=_0x185be1;let _0x4db4aa=this[_0x5f2860(0x3d0)][_0x5f2860(0x39b)](_0x36ef48,_0x5a33f9),_0x1a389d=this[_0x5f2860(0x3d0)]['getDrawingOrder'](_0x36ef48,_0x5a33f9),_0x3488c8=Object['values'](_0x4db4aa??{})[_0x5f2860(0x3e6)](_0x47d05b=>_0x47d05b[_0x5f2860(0x2d3)]===_0x1ba070[_0x5f2860(0x1f9)]['DRAWING_CHART']&&_0x47d05b['hidden']!==!0x0);await Promise[_0x5f2860(0x3d1)](_0x3488c8[_0x5f2860(0x18e)](async _0x550891=>{const _0x1db8ec=_0x5f2860;let _0x11945b=await this['_createPrintingChartObject'](_0x550891,_0x1a389d);_0x11945b&&(_0x4c40ec[_0x1db8ec(0x1d5)](_0x11945b,_0x1d47e2[_0x1db8ec(0x577)]),_0x550891[_0x1db8ec(0x3b2)]&&(0x0,_0xad66ff[_0x1db8ec(0x24a)])({'drawingId':_0x550891[_0x1db8ec(0x3b2)],'unitId':_0x36ef48,'subUnitId':_0x5a33f9},_0x11945b,_0x4c40ec,this['_drawingManagerService']));}));}async[_0x185be1(0x1db)](_0x1b8dd7,_0x4b208a){const _0x22a9f2=_0x185be1;let _0x120692=this[_0x22a9f2(0x57a)]['getChartModel'](_0x1b8dd7[_0x22a9f2(0x3b7)]),_0x9c4e57=this[_0x22a9f2(0x3a5)][_0x22a9f2(0x1f2)](_0x214e0a[_0x22a9f2(0x350)]),_0x522385=_0x1b8dd7[_0x22a9f2(0x380)],_0x1e8bc0=_0x120692==null?void 0x0:_0x120692[_0x22a9f2(0x4fd)];if(!_0x120692||!_0x9c4e57||!_0x522385||!_0x1e8bc0||_0x522385[_0x22a9f2(0x2bf)]==null||_0x522385[_0x22a9f2(0x2d7)]==null)return null;let _0x4aee76=new _0x2da126(_0x1b8dd7[_0x22a9f2(0x3b7)],{'width':_0x522385[_0x22a9f2(0x2bf)],'height':_0x522385['height']}),_0x174d5f=_0x9c4e57[_0x22a9f2(0x324)](_0x214e0a[_0x22a9f2(0x2a1)][_0x22a9f2(0x1bb)],this[_0x22a9f2(0x375)]());_0x174d5f['bind'](_0x4aee76);let _0x4c0648;try{await _0x174d5f[_0x22a9f2(0x266)]({'chartId':_0x1b8dd7[_0x22a9f2(0x3b7)],'config':_0x1e8bc0,'style':this['createRuntimeChartStyle'](_0x120692,this[_0x22a9f2(0x2cd)]['getDirection']())});}catch(_0xa3bfc){console[_0x22a9f2(0x2ff)](_0x22a9f2(0x54b),_0xa3bfc);}finally{_0x4c0648=_0x4aee76['takeSnapshot'](),_0x174d5f[_0x22a9f2(0x4d8)](),_0x4aee76['dispose']();}let _0x2f4df9=this['_chartSnapshotStoreService'][_0x22a9f2(0x42e)]({'unitId':_0x1b8dd7['unitId'],'subUnitId':_0x1b8dd7[_0x22a9f2(0x50c)],'chartId':_0x1b8dd7['drawingId']}),_0x442245=_0x4c0648??_0x2f4df9;if(!_0x442245)return null;let _0x209c38=_0x4b208a[_0x22a9f2(0x338)](_0x1b8dd7[_0x22a9f2(0x3b7)]);return new _0x4613b7((0x0,_0x135c9c[_0x22a9f2(0x224)])(_0x1b8dd7),{..._0x522385,..._0x2cd04e[_0x22a9f2(0x43d)],..._0x11b810(_0x4aee76['style']),'visible':!0x0,'zIndex':_0x209c38===-0x1?Math['max'](_0x4b208a[_0x22a9f2(0x36b)]-0x1,0x0):_0x209c38},()=>_0x442245,void 0x0,_0x4c0648?()=>_0x173e38(_0x4c0648):void 0x0);}[_0x185be1(0x1b9)](_0x46d06c,_0x35227d,_0x56267d){const _0x133c69=_0x185be1;let _0xd6d053=this[_0x133c69(0x474)][_0x133c69(0x442)](_0x46d06c);if((_0xd6d053==null?void 0x0:_0xd6d053['mode'])===_0x35227d)return _0xd6d053;_0xd6d053&&(this[_0x133c69(0x3ac)](_0x46d06c),_0xd6d053[_0x133c69(0x4d8)](),this['_chartInstanceMap'][_0x133c69(0x2e1)](_0x46d06c));let _0x25f6b7=_0x56267d[_0x133c69(0x324)](_0x35227d,this['_createChartRenderInstanceContext']());return this[_0x133c69(0x474)]['set'](_0x46d06c,_0x25f6b7),_0x25f6b7[_0x133c69(0x4e7)](this[_0x133c69(0x43c)][_0x133c69(0x442)](_0x46d06c)===!0x0),this[_0x133c69(0x316)](_0x46d06c,_0x25f6b7),_0x25f6b7;}[_0x185be1(0x375)](){const _0x1baaf8=_0x185be1;return{'resolveHostStyle':({style:_0xade062})=>(0x0,_0x214e0a['resolveDefaultChartHostFrameStyle'])({'style':_0xade062,'getRenderColor':_0x3c7998=>this[_0x1baaf8(0x583)][_0x1baaf8(0x55b)](_0x3c7998)}),'resolveRenderBackgroundColor':({style:_0xa876fe})=>this[_0x1baaf8(0x583)][_0x1baaf8(0x55b)]((0x0,_0x214e0a[_0x1baaf8(0x2de)])(_0xa876fe))};}[_0x185be1(0x412)](_0x1f685a){const _0x226862=_0x185be1;var _0x35560e,_0x142404,_0x47dfe4;(_0x35560e=this['_chartChangeSubscriptions']['get'](_0x1f685a))==null||_0x35560e[_0x226862(0x4d8)](),this[_0x226862(0x2e2)]['delete'](_0x1f685a),(_0x142404=this[_0x226862(0x506)][_0x226862(0x442)](_0x1f685a))==null||_0x142404[_0x226862(0x32b)](),this['_renderDebounceMap'][_0x226862(0x2e1)](_0x1f685a),(_0x47dfe4=this[_0x226862(0x3a3)]['get'](_0x1f685a))==null||_0x47dfe4[_0x226862(0x32b)](),this[_0x226862(0x3a3)]['delete'](_0x1f685a);}[_0x185be1(0x3ec)](){const _0x50f0be=_0x185be1;this[_0x50f0be(0x506)][_0x50f0be(0x55c)](_0x175c15=>_0x175c15[_0x50f0be(0x32b)]()),this[_0x50f0be(0x506)][_0x50f0be(0x20f)](),this[_0x50f0be(0x3a3)]['forEach'](_0x415542=>_0x415542[_0x50f0be(0x32b)]()),this[_0x50f0be(0x3a3)][_0x50f0be(0x20f)]();}[_0x185be1(0x4d8)](){const _0x15b287=_0x185be1;this['_chartChangeSubscriptions']['forEach'](_0x54fedc=>_0x54fedc[_0x15b287(0x4d8)]()),this[_0x15b287(0x2e2)][_0x15b287(0x20f)](),this[_0x15b287(0x50f)]['forEach'](_0x8998cd=>clearTimeout(_0x8998cd)),this['_dataUpdateAnimationTimers'][_0x15b287(0x20f)](),this[_0x15b287(0x450)][_0x15b287(0x20f)](),Array[_0x15b287(0x3db)](this[_0x15b287(0x474)][_0x15b287(0x57f)]())[_0x15b287(0x55c)](_0x148259=>this[_0x15b287(0x3f7)](_0x148259)),this['_chartEventHandlers'][_0x15b287(0x20f)](),this[_0x15b287(0x43c)][_0x15b287(0x20f)](),this['_cancelDebouncedCallbacks'](),this[_0x15b287(0x211)][_0x15b287(0x20f)](),this[_0x15b287(0x20c)]=null,this[_0x15b287(0x4d1)]=null,super[_0x15b287(0x4d8)]();}};_0x17894a=_0x11ef44([_0x42d632(0x0,_0xd413d),_0x42d632(0x1,(0x0,_0x1ba070[_0x185be1(0x1af)])(_0x2cd04e['SheetCanvasFloatDomManagerService'])),_0x42d632(0x2,(0x0,_0x1ba070[_0x185be1(0x1af)])(_0x113ca7[_0x185be1(0x47d)])),_0x42d632(0x3,_0x135c9c[_0x185be1(0x31a)]),_0x42d632(0x4,_0x1ba070[_0x185be1(0x53a)]),_0x42d632(0x5,(0x0,_0x1ba070[_0x185be1(0x1af)])(_0x1d47e2[_0x185be1(0x527)])),_0x42d632(0x6,(0x0,_0x1ba070['Inject'])(_0x1ba070[_0x185be1(0x30e)])),_0x42d632(0x7,(0x0,_0x1ba070[_0x185be1(0x1af)])(_0x1ba070[_0x185be1(0x32e)])),_0x42d632(0x8,(0x0,_0x1ba070[_0x185be1(0x1af)])(_0x214e0a[_0x185be1(0x3a2)])),_0x42d632(0x9,(0x0,_0x1ba070['Inject'])(_0x1ba070[_0x185be1(0x28a)])),_0x42d632(0xa,_0x1ba070[_0x185be1(0x2e4)]),_0x42d632(0xb,(0x0,_0x1ba070[_0x185be1(0x1af)])(_0x437b6a)),_0x42d632(0xc,_0x214e0a[_0x185be1(0x52d)])],_0x17894a);function _0x3c8e5b(_0x107124){const _0x39ebd6=_0x185be1;return _0x107124[_0x39ebd6(0x36b)]===0x1&&_0x5e33bf(_0x107124[0x0]);}function _0x5e33bf(_0x37a9d0){const _0x4fceb5=_0x185be1;return(_0x37a9d0==null?void 0x0:_0x37a9d0[_0x4fceb5(0x2d3)])===_0x1ba070[_0x4fceb5(0x1f9)][_0x4fceb5(0x52f)]&&!_0x37a9d0['groupId'];}let _0x188c9f=class extends _0x1ba070[_0x185be1(0x27c)]{constructor(_0x263749,_0x4d16ba,_0x5bb589,_0x5e1d9f,_0x50a286,_0x127d70,_0x125e9c,_0x37d8c3,_0x2b2252,_0x300383,_0x225cc2,_0x33082b,_0x235d34,_0x1b5ddd,_0xcf9271){const _0x47302a=_0x185be1;var _0x4b0319;super(),this['_drawingManagerService']=_0x263749,this[_0x47302a(0x538)]=_0x4d16ba,this['_chartModelService']=_0x5bb589,this[_0x47302a(0x373)]=_0x5e1d9f,this[_0x47302a(0x3cf)]=_0x50a286,this[_0x47302a(0x3a8)]=_0x127d70,this[_0x47302a(0x4fe)]=_0x125e9c,this[_0x47302a(0x354)]=_0x37d8c3,this['_sheetCanvasFloatDomManagerService']=_0x2b2252,this[_0x47302a(0x4c7)]=_0x300383,this[_0x47302a(0x403)]=_0x225cc2,this['_sheetsChartUIService']=_0x33082b,this['_contextService']=_0x235d34,this[_0x47302a(0x2cd)]=_0x1b5ddd,_0x3d73b3(this,'_sidebarDisposable',null),_0x3d73b3(this,_0x47302a(0x1eb),void 0x0),this[_0x47302a(0x1eb)]=((_0x4b0319=_0xcf9271[_0x47302a(0x363)](_0x47302a(0x472)))==null?void 0x0:_0x4b0319[_0x47302a(0x35d)])===!0x0,this['_initMenus'](),this[_0x47302a(0x3d7)](this['_univerInstanceService'][_0x47302a(0x256)](_0x1ba070[_0x47302a(0x203)][_0x47302a(0x2da)])['subscribe'](_0x359b9b=>{const _0x397646=_0x47302a;if(!_0x359b9b){var _0x2e5a3d;(_0x2e5a3d=this[_0x397646(0x54e)])==null||_0x2e5a3d[_0x397646(0x4d8)]();}})),this[_0x47302a(0x3d7)]((0x0,_0x1ba070[_0x47302a(0x410)])(this[_0x47302a(0x3a8)][_0x47302a(0x517)][_0x47302a(0x17f)](async({drawing:_0x2065d1})=>{const _0x5aa296=_0x47302a;await this[_0x5aa296(0x264)](_0x2065d1);})));}[_0x185be1(0x270)](){const _0x4f2519=_0x185be1;this[_0x4f2519(0x54e)]=this[_0x4f2519(0x4fe)][_0x4f2519(0x497)]({'id':_0x209d81,'header':{'title':this[_0x4f2519(0x2cd)]['t'](_0x4f2519(0x1a1))},'width':0x154,'children':{'label':_0x209d81},'onClose':()=>{const _0x10c6b5=_0x4f2519;this['_sidebarDisposable']=null,this[_0x10c6b5(0x2aa)](),this['_chartModelService']['activeChartModel']&&this['_chartModelService']['setActiveChartModel'](null),this[_0x10c6b5(0x3d0)][_0x10c6b5(0x3cd)](null),this[_0x10c6b5(0x3c6)]['setContextValue'](_0x1ba070[_0x10c6b5(0x406)],!0x1);}});}['hidePanel'](){const _0xb57b14=_0x185be1;let _0x352947=this[_0xb57b14(0x54e)];this[_0xb57b14(0x54e)]=null,this[_0xb57b14(0x2aa)](),this[_0xb57b14(0x57a)][_0xb57b14(0x286)]&&this[_0xb57b14(0x57a)]['setActiveChartModel'](null),_0x352947==null||_0x352947['dispose']();}[_0x185be1(0x368)](){const _0x270fa8=_0x185be1;let _0x5da46e=this[_0x270fa8(0x538)][_0x270fa8(0x448)](_0x1ba070[_0x270fa8(0x203)][_0x270fa8(0x2da)]);this[_0x270fa8(0x3d7)](this['_sidebarService'][_0x270fa8(0x17b)][_0x270fa8(0x17f)](_0x21e523=>{const _0x4cb2fc=_0x270fa8;_0x21e523['id']==='sheet.chart.edit.panel'&&(_0x21e523[_0x4cb2fc(0x3dd)]||this[_0x4cb2fc(0x4fe)][_0x4cb2fc(0x17b)][_0x4cb2fc(0x192)]({'visible':!0x1}));})),this[_0x270fa8(0x3d7)]((0x0,_0x5e3636[_0x270fa8(0x595)])([this['_chartModelService'][_0x270fa8(0x548)],this[_0x270fa8(0x55d)][_0x270fa8(0x346)]])[_0x270fa8(0x4d3)]((0x0,_0x5e3636[_0x270fa8(0x18e)])(([_0xab375c,_0x4cf55e])=>_0x4cf55e?(_0xab375c==null?void 0x0:_0xab375c['id'])??null:null),(0x0,_0x5e3636[_0x270fa8(0x306)])(),(0x0,_0x5e3636[_0x270fa8(0x3e1)])(null),(0x0,_0x5e3636[_0x270fa8(0x557)])())[_0x270fa8(0x17f)](([_0xcebb9b,_0x2329b8])=>{this['_syncActiveEditChart'](_0xcebb9b,_0x2329b8);})),this[_0x270fa8(0x3d7)](this[_0x270fa8(0x57a)][_0x270fa8(0x548)][_0x270fa8(0x17f)](_0x556559=>{const _0x44eef0=_0x270fa8;!_0x556559&&this[_0x44eef0(0x54e)]&&this[_0x44eef0(0x3af)]();})),this[_0x270fa8(0x3d7)](this[_0x270fa8(0x403)]['onCommandExecuted'](_0x9df25c=>{const _0x5cd8f7=_0x270fa8;if(_0x9df25c['id']===_0x272d7b['id']){let _0x84d32a=_0x9df25c['params'];if(!_0x5e33bf(this[_0x5cd8f7(0x3d0)][_0x5cd8f7(0x3ee)]({'unitId':_0x84d32a['unitId'],'subUnitId':_0x84d32a[_0x5cd8f7(0x50c)],'drawingId':_0x84d32a['drawingId']})))return;this[_0x5cd8f7(0x1b4)](_0x84d32a[_0x5cd8f7(0x3b7)],_0x84d32a[_0x5cd8f7(0x455)]);}if(_0x9df25c['id']===_0x3007d3['id']&&this[_0x5cd8f7(0x3af)](),_0x9df25c['id']===_0x113ca7['RemoveSheetsChartMutation']['id']){var _0x3b0c19;_0x9df25c[_0x5cd8f7(0x528)]['chartId']===((_0x3b0c19=this[_0x5cd8f7(0x57a)][_0x5cd8f7(0x286)])==null?void 0x0:_0x3b0c19['id'])&&this['hidePanel'](),this[_0x5cd8f7(0x3c6)][_0x5cd8f7(0x17d)](_0x1ba070['FOCUSING_COMMON_DRAWINGS'])&&(this[_0x5cd8f7(0x3c6)][_0x5cd8f7(0x227)](_0x1ba070['FOCUSING_COMMON_DRAWINGS'],!0x1),this[_0x5cd8f7(0x3d0)][_0x5cd8f7(0x3cd)](null));}})),this[_0x270fa8(0x3d7)](this[_0x270fa8(0x1ff)][_0x270fa8(0x1c4)]['subscribe'](({id:_0xbc8251})=>{const _0x53edca=_0x270fa8;this[_0x53edca(0x55d)][_0x53edca(0x476)](_0xbc8251)&&this[_0x53edca(0x3af)]();})),this[_0x270fa8(0x3d7)](this[_0x270fa8(0x1ff)][_0x270fa8(0x22f)][_0x270fa8(0x17f)](({id:_0x24d7f6})=>{const _0x5bf1d1=_0x270fa8;this['_sheetsChartUIService'][_0x5bf1d1(0x476)](_0x24d7f6)&&(this[_0x5bf1d1(0x55d)][_0x5bf1d1(0x244)](),this[_0x5bf1d1(0x3cf)][_0x5bf1d1(0x4e7)](_0x24d7f6,!0x1),this[_0x5bf1d1(0x370)](_0x24d7f6)&&this[_0x5bf1d1(0x3cf)][_0x5bf1d1(0x4e7)](_0x24d7f6,!0x0));})),this[_0x270fa8(0x3d7)](this[_0x270fa8(0x3d0)]['focus$'][_0x270fa8(0x17f)](_0x9125a8=>{const _0x7a854c=_0x270fa8;let _0x57f2ef=_0x9125a8[0x0];if(!this[_0x7a854c(0x55d)][_0x7a854c(0x582)]){if(_0x3c8e5b(_0x9125a8)){var _0x25b4cd;let _0x22113d=this[_0x7a854c(0x57a)]['getChartModel'](_0x57f2ef[_0x7a854c(0x3b7)]);_0x22113d&&this['_isOwnedChart'](_0x22113d['id'])&&((_0x25b4cd=this['_chartModelService'][_0x7a854c(0x286)])==null?void 0x0:_0x25b4cd['id'])!==_0x22113d['id']&&this[_0x7a854c(0x57a)][_0x7a854c(0x4a3)](_0x22113d);}else this[_0x7a854c(0x57a)][_0x7a854c(0x286)]&&this[_0x7a854c(0x57a)]['setActiveChartModel'](null),!_0x57f2ef&&!this[_0x7a854c(0x55d)]['rangeSelectMode']&&this[_0x7a854c(0x3af)]();}})),_0x5da46e&&(this[_0x270fa8(0x3d7)](_0x5da46e[_0x270fa8(0x456)][_0x270fa8(0x17f)](()=>{this['hidePanel']();})),this['disposeWithMe'](_0x5da46e['activeSheet$'][_0x270fa8(0x17f)](()=>{const _0x337c97=_0x270fa8;this[_0x337c97(0x3af)]();})));}async['_handleDrawingDoubleClick'](_0x14c3c4){const _0x4b936e=_0x185be1;this[_0x4b936e(0x55d)]['chartEditorOpen']||_0x5e33bf(_0x14c3c4)&&this['_isOwnedChart'](_0x14c3c4[_0x4b936e(0x3b7)])&&await this[_0x4b936e(0x240)](_0x14c3c4[_0x4b936e(0x2ac)],_0x14c3c4[_0x4b936e(0x50c)],_0x14c3c4[_0x4b936e(0x3b7)]);}async[_0x185be1(0x240)](_0x46c676,_0xdc8580,_0x157931){const _0x235b71=_0x185be1;this[_0x235b71(0x57a)][_0x235b71(0x214)](_0x157931)&&this[_0x235b71(0x1c0)](_0x157931)&&await this[_0x235b71(0x403)][_0x235b71(0x3ab)](_0x272d7b['id'],{'unitId':_0x46c676,'subUnitId':_0xdc8580,'drawingId':_0x157931});}[_0x185be1(0x1b4)](_0x49ef16,_0x5c27ac){const _0x307600=_0x185be1;let _0x562ac9=this[_0x307600(0x57a)][_0x307600(0x214)](_0x49ef16);_0x562ac9&&this[_0x307600(0x1c0)](_0x49ef16)&&(this[_0x307600(0x57a)][_0x307600(0x4a3)](_0x562ac9),this['_openPanel'](),this[_0x307600(0x52e)](_0x49ef16,_0x5c27ac??null));}[_0x185be1(0x52e)](_0x588566,_0x42ba5c){const _0x55a0ce=_0x185be1;this['_sheetsChartUIService']['setChartEditorOpen'](!0x0),this[_0x55a0ce(0x55d)][_0x55a0ce(0x2fc)](_0x588566,_0x42ba5c);}[_0x185be1(0x2aa)](){const _0x339e2c=_0x185be1;this[_0x339e2c(0x55d)][_0x339e2c(0x1b6)](!0x1);}['_syncActiveEditChart'](_0x1c8c7b,_0x1b5941){const _0x2722a4=_0x185be1;_0x1c8c7b!==_0x1b5941&&(_0x1c8c7b&&this[_0x2722a4(0x3cf)][_0x2722a4(0x4e7)](_0x1c8c7b,!0x1),this['_sheetsChartUIService'][_0x2722a4(0x244)](),_0x1b5941&&(this['_sheetsChartUIService']['setPanelRoute'](_0x1b5941,null),this[_0x2722a4(0x3cf)][_0x2722a4(0x4e7)](_0x1b5941,this['_shouldEnableChartElementEdit'](_0x1b5941))));}[_0x185be1(0x186)](){const _0x4634bc=_0x185be1;this[_0x4634bc(0x354)]['mergeMenu'](_0x5b9097),this[_0x4634bc(0x4c7)][_0x4634bc(0x288)](_0x1ba070[_0x4634bc(0x1f9)][_0x4634bc(0x52f)],this['getChartPopupMenus']['bind'](this),void 0x0,_0x4634bc(0x28c));}[_0x185be1(0x370)](_0x1ef203){const _0x408336=_0x185be1;let _0xde4105=this[_0x408336(0x57a)][_0x408336(0x214)](_0x1ef203);return!this[_0x408336(0x1eb)]||!_0xde4105||!this[_0x408336(0x1c0)](_0x1ef203)?!0x1:_0x3fa9dc(_0xde4105[_0x408336(0x593)]);}[_0x185be1(0x2b7)](_0x22960b,_0x4ab040,_0x2b5d60,_0x4f9b9d){const _0x14d054=_0x185be1;if(!this[_0x14d054(0x57a)][_0x14d054(0x214)](_0x2b5d60))return[];let _0x2618f6=[{'label':this['_localeService']['t'](_0x14d054(0x4e3)),'index':0x0,'commandId':_0x272d7b['id'],'commandParams':{'unitId':_0x22960b,'subUnitId':_0x4ab040,'drawingId':_0x2b5d60},'disable':_0x4f9b9d!==_0x1ba070[_0x14d054(0x1f9)][_0x14d054(0x52f)]}];return this['_isOwnedChart'](_0x2b5d60)?[..._0x2618f6,{'label':this[_0x14d054(0x2cd)]['t']('sheets-chart-ui.common.deleteChart'),'index':0x1,'commandId':_0x302521[_0x14d054(0x58e)]['id'],'commandParams':{'unitId':_0x22960b,'drawings':[{'unitId':_0x22960b,'subUnitId':_0x4ab040,'drawingId':_0x2b5d60,'drawingType':_0x4f9b9d}]},'disable':!0x1},{'label':this['_localeService']['t'](_0x14d054(0x51c)),'index':0x2,'commandId':_0x3007d3['id'],'commandParams':{'unitId':_0x22960b,'subUnitId':_0x4ab040,'drawingId':_0x2b5d60},'disable':!0x1}]:_0x2618f6;}[_0x185be1(0x1c0)](_0x490025){const _0x4775bf=_0x185be1;return this[_0x4775bf(0x373)][_0x4775bf(0x44f)](_0x490025)!==void 0x0;}};_0x188c9f=_0x11ef44([_0x42d632(0x0,_0x135c9c['IDrawingManagerService']),_0x42d632(0x1,_0x1ba070[_0x185be1(0x53a)]),_0x42d632(0x2,(0x0,_0x1ba070['Inject'])(_0x113ca7[_0x185be1(0x47d)])),_0x42d632(0x3,(0x0,_0x1ba070[_0x185be1(0x1af)])(_0x113ca7[_0x185be1(0x1f5)])),_0x42d632(0x4,(0x0,_0x1ba070[_0x185be1(0x1af)])(_0x17894a)),_0x42d632(0x5,(0x0,_0x1ba070['Inject'])(_0x2cd04e[_0x185be1(0x196)])),_0x42d632(0x6,(0x0,_0x1ba070[_0x185be1(0x1af)])(_0x21688c['ISidebarService'])),_0x42d632(0x7,_0x21688c[_0x185be1(0x228)]),_0x42d632(0x8,(0x0,_0x1ba070[_0x185be1(0x1af)])(_0x2cd04e[_0x185be1(0x36a)])),_0x42d632(0x9,(0x0,_0x1ba070[_0x185be1(0x1af)])(_0x53e756['SheetCanvasPopManagerService'])),_0x42d632(0xa,_0x1ba070[_0x185be1(0x56c)]),_0x42d632(0xb,_0x24cbf9),_0x42d632(0xc,_0x1ba070[_0x185be1(0x461)]),_0x42d632(0xd,(0x0,_0x1ba070[_0x185be1(0x1af)])(_0x1ba070[_0x185be1(0x30e)])),_0x42d632(0xe,_0x1ba070['IConfigService'])],_0x188c9f);var _0x3a2800=_0x185be1(0x21c),_0x23c060=_0x185be1(0x4aa);let _0x3ca18e=class extends _0x1ba070[_0x185be1(0x27c)]{constructor(_0x1da552,_0x3ca932){const _0x54023a=_0x185be1;super(),this[_0x54023a(0x3e8)]=_0x1da552,this[_0x54023a(0x57a)]=_0x3ca932,this['_init']();}['_init'](){const _0x2ad764=_0x185be1;this['disposeWithMe'](this['_chartHostProviderService'][_0x2ad764(0x271)][_0x2ad764(0x17f)](_0x32f78b=>{const _0x56d33f=_0x2ad764;this[_0x56d33f(0x57a)][_0x56d33f(0x3d6)](_0x32f78b);}));}};_0x3ca18e=_0x11ef44([_0x42d632(0x0,_0xd413d),_0x42d632(0x1,(0x0,_0x1ba070[_0x185be1(0x1af)])(_0x113ca7[_0x185be1(0x47d)]))],_0x3ca18e);let _0x198776=class extends _0x1ba070['Disposable']{constructor(_0x39f94f,_0x52461c,_0x19b0b6,_0x444702,_0xc4654c,_0x11447e){const _0x16e24e=_0x185be1;super(),this['_chartModelService']=_0x39f94f,this[_0x16e24e(0x3cf)]=_0x52461c,this[_0x16e24e(0x2cd)]=_0x19b0b6,this[_0x16e24e(0x44d)]=_0x444702,this[_0x16e24e(0x403)]=_0xc4654c,this[_0x16e24e(0x3a4)]=_0x11447e,_0x3d73b3(this,_0x16e24e(0x4b1),new Map()),_0x3d73b3(this,_0x16e24e(0x2cb),new Set()),this[_0x16e24e(0x549)](),this[_0x16e24e(0x3b8)](),this[_0x16e24e(0x484)]();}['_initPrinting'](){const _0x451fbc=_0x185be1;this[_0x451fbc(0x3d7)](this[_0x451fbc(0x3a4)][_0x451fbc(0x2c5)]['intercept'](this[_0x451fbc(0x3a4)][_0x451fbc(0x2c5)][_0x451fbc(0x223)]()[_0x451fbc(0x24d)],{'handler':(_0x4b772a,_0x41b623,_0x50a8a1)=>{const _0x2075bf=_0x451fbc;let _0x362684=this[_0x2075bf(0x3cf)]['renderChartsForPrinting'](_0x41b623['unitId'],_0x41b623[_0x2075bf(0x50c)],_0x41b623[_0x2075bf(0x493)]);return _0x41b623[_0x2075bf(0x201)][_0x2075bf(0x221)](_0x362684),_0x50a8a1(_0x4b772a);}}));}[_0x185be1(0x549)](){const _0x1522cc=_0x185be1;this[_0x1522cc(0x3d7)](this[_0x1522cc(0x57a)][_0x1522cc(0x52b)][_0x1522cc(0x17f)](_0x1a0647=>{const _0xed2856=_0x1522cc;if(_0x1a0647){let _0x5c71c2=new _0x1ba070[(_0xed2856(0x20b))]();_0x5c71c2['add'](_0x1a0647['dataSource$'][_0xed2856(0x4d3)]((0x0,_0x5e3636[_0xed2856(0x2c0)])(_0x23fa5d=>_0x23fa5d[_0xed2856(0x4ae)][_0xed2856(0x4d3)]((0x0,_0x5e3636[_0xed2856(0x3d8)])(0x1))))['subscribe'](()=>{const _0x4670e8=_0xed2856;this[_0x4670e8(0x2cb)][_0x4670e8(0x221)](_0x1a0647['id']);})),_0x5c71c2['add'](_0x1a0647[_0xed2856(0x235)][_0xed2856(0x4d3)]((0x0,_0x5e3636[_0xed2856(0x4fb)])(_0x1a0647[_0xed2856(0x325)]),(0x0,_0x5e3636[_0xed2856(0x4fb)])(this[_0xed2856(0x2cd)][_0xed2856(0x353)]),(0x0,_0x5e3636[_0xed2856(0x1e1)])(0x64))['subscribe'](([[_0x2b6fa2,_0x35e250],_0x324441])=>{const _0x1cfc00=_0xed2856;var _0x2540cb;if(!_0x2b6fa2)return;(_0x2540cb=_0x2b6fa2[_0x1cfc00(0x23a)])==null||_0x2540cb[_0x1cfc00(0x199)]['forEach']((_0x166ad5,_0x44bd8c)=>{const _0x38bf58=_0x1cfc00;_0x166ad5['label']||=this[_0x38bf58(0x2cd)]['t'](_0x38bf58(0x1da))+'\x20'+(_0x44bd8c+0x1);}),_0x2b6fa2[_0x1cfc00(0x1c5)][_0x1cfc00(0x55c)]((_0xbc5d91,_0x2d5f4b)=>{const _0x3504e6=_0x1cfc00;_0xbc5d91[_0x3504e6(0x48e)]||=this[_0x3504e6(0x2cd)]['t'](_0x3504e6(0x398))+'\x20'+(_0x2d5f4b+0x1);});let _0x36caf6=this[_0x1cfc00(0x3cf)][_0x1cfc00(0x40e)](_0x1a0647,_0x324441),_0x419f23=this[_0x1cfc00(0x2cb)]['delete'](_0x1a0647['id']);this[_0x1cfc00(0x3cf)][_0x1cfc00(0x266)](_0x1a0647['id'],_0x2b6fa2,_0x36caf6,{'animateDataUpdate':_0x419f23});})),_0x1a0647['onDispose'](()=>{const _0x4adec0=_0xed2856;this[_0x4adec0(0x2cb)][_0x4adec0(0x2e1)](_0x1a0647['id']),_0x5c71c2[_0x4adec0(0x4d8)]();});}}));}[_0x185be1(0x3b8)](){const _0x42e7dc=_0x185be1;this['disposeWithMe'](this[_0x42e7dc(0x403)][_0x42e7dc(0x4a2)](_0x5882bd=>{const _0x3aa2e1=_0x42e7dc;if(_0x5882bd['id']!==_0x113ca7[_0x3aa2e1(0x480)]['id'])return;let _0x1f8ac1=_0x5882bd[_0x3aa2e1(0x528)];_0x1f8ac1!=null&&_0x1f8ac1[_0x3aa2e1(0x42c)]&&Promise['resolve']()[_0x3aa2e1(0x57e)](()=>this[_0x3aa2e1(0x4e1)](_0x1f8ac1));}));}[_0x185be1(0x4e1)](_0x536bad){const _0x164e1d=_0x185be1;let _0x2a72cf=this['_chartModelService'][_0x164e1d(0x214)](_0x536bad['chartModelId']);if(!_0x2a72cf||_0x2a72cf[_0x164e1d(0x593)]!==_0x214e0a[_0x164e1d(0x3b0)][_0x164e1d(0x2a2)])return;let _0x4b5ade=_0x2a72cf[_0x164e1d(0x4fd)];_0x4b5ade?this[_0x164e1d(0x35e)](_0x2a72cf,_0x4b5ade):this[_0x164e1d(0x360)](_0x2a72cf);}['_renderWhenConfigReady'](_0x35e56b){const _0x12ff50=_0x185be1;if(this[_0x12ff50(0x4b1)][_0x12ff50(0x442)](_0x35e56b['id']))return;let _0xfc5e2f=_0x35e56b[_0x12ff50(0x235)][_0x12ff50(0x4d3)]((0x0,_0x5e3636[_0x12ff50(0x3e6)])(_0x589d4b=>_0x589d4b!=null),(0x0,_0x5e3636['take'])(0x1))['subscribe'](_0x283ff8=>{const _0x2009ee=_0x12ff50;this[_0x2009ee(0x4b1)][_0x2009ee(0x2e1)](_0x35e56b['id']),this[_0x2009ee(0x35e)](_0x35e56b,_0x283ff8);});this[_0x12ff50(0x4b1)]['set'](_0x35e56b['id'],_0xfc5e2f),_0x35e56b[_0x12ff50(0x319)](()=>{const _0x4f7e2e=_0x12ff50;_0xfc5e2f['unsubscribe'](),this['_pendingMutationConfigRenders'][_0x4f7e2e(0x2e1)](_0x35e56b['id']);});}[_0x185be1(0x35e)](_0x18b3a6,_0x11821b){const _0x349a64=_0x185be1;let _0x25487d=this[_0x349a64(0x3cf)][_0x349a64(0x40e)](_0x18b3a6,this[_0x349a64(0x2cd)]['getDirection']());this['_chartRenderService']['render'](_0x18b3a6['id'],_0x11821b,_0x25487d);}};_0x198776=_0x11ef44([_0x42d632(0x0,(0x0,_0x1ba070[_0x185be1(0x1af)])(_0x113ca7[_0x185be1(0x47d)])),_0x42d632(0x1,(0x0,_0x1ba070['Inject'])(_0x17894a)),_0x42d632(0x2,(0x0,_0x1ba070[_0x185be1(0x1af)])(_0x1ba070[_0x185be1(0x30e)])),_0x42d632(0x3,_0x24cbf9),_0x42d632(0x4,_0x1ba070[_0x185be1(0x56c)]),_0x42d632(0x5,(0x0,_0x1ba070['Inject'])(_0x53e756['SheetPrintInterceptorService']))],_0x198776);function _0x1fdfe6(_0x195ad5,_0x445b75){const _0x5cec51=_0x185be1;return _0x195ad5[_0x5cec51(0x2ac)]!==_0x445b75[_0x5cec51(0x2ac)]||_0x195ad5[_0x5cec51(0x50c)]!==_0x445b75[_0x5cec51(0x3bf)]?_0x195ad5:{..._0x195ad5,'subUnitId':_0x445b75['targetSubUnitId']};}function _0x232a8d(_0x3c204a,_0x265b98){const _0x15ed44=_0x185be1;return(_0x3c204a==null?void 0x0:_0x3c204a[_0x15ed44(0x569)])===_0x214e0a[_0x15ed44(0x3c3)][_0x15ed44(0x46d)]?{..._0x3c204a,'source':_0x1fdfe6(_0x3c204a[_0x15ed44(0x304)],_0x265b98)}:_0x3c204a;}function _0x2f07ad(_0x21c965,_0x1b37e4){const _0x27de60=_0x185be1;let {rangeInfo:_0x34ff1a}=_0x21c965;return Array[_0x27de60(0x571)](_0x34ff1a)?{..._0x21c965,'rangeInfo':_0x34ff1a[_0x27de60(0x18e)](_0x3d4de5=>({..._0x3d4de5,..._0x3d4de5[_0x27de60(0x430)]?{'header':_0x232a8d(_0x3d4de5['header'],_0x1b37e4)}:{},'range':_0x1fdfe6(_0x3d4de5[_0x27de60(0x340)],_0x1b37e4)}))}:{..._0x21c965,'rangeInfo':{..._0x34ff1a,..._0x34ff1a[_0x27de60(0x430)]?{'header':{..._0x34ff1a[_0x27de60(0x430)],..._0x34ff1a[_0x27de60(0x430)][_0x27de60(0x33d)]?{'titles':_0x41ecb7(_0x34ff1a[_0x27de60(0x430)][_0x27de60(0x33d)],_0x1b37e4)}:{}}}:{},'rangeInfo':_0x1fdfe6(_0x34ff1a[_0x27de60(0x236)],_0x1b37e4)}};}function _0x41ecb7(_0x27640d,_0x1640d5){const _0x441a8d=_0x185be1;return _0x27640d[_0x441a8d(0x569)]===_0x214e0a[_0x441a8d(0x3c3)]['Literals']?{..._0x27640d,'values':{..._0x27640d['values']}}:_0x27640d[_0x441a8d(0x569)]===_0x214e0a[_0x441a8d(0x3c3)][_0x441a8d(0x241)]?{..._0x27640d,'values':Object[_0x441a8d(0x413)](Object['entries'](_0x27640d[_0x441a8d(0x420)])[_0x441a8d(0x18e)](([_0x584116,_0x32e45d])=>[_0x584116,_0x32e45d&&_0x1fdfe6(_0x32e45d,_0x1640d5)]))}:{..._0x27640d,'values':Object[_0x441a8d(0x413)](Object[_0x441a8d(0x1e5)](_0x27640d['values'])['map'](([_0x29894f,_0x4311d8])=>[_0x29894f,_0x4311d8&&_0x232a8d(_0x4311d8,_0x1640d5)]))};}function _0x15356e(_0x513e8d,_0x479b6e,_0x4e8782,_0x2e4e64){const _0x50c828=_0x185be1;let _0x21441c=(0x0,_0x135c9c[_0x50c828(0x4a8)])(_0x513e8d,_0x479b6e,_0x4e8782),_0xfc5d68=[];for(let _0x202819 of _0x479b6e){let _0x347b90=_0x21441c[_0x50c828(0x523)]['get'](_0x202819[_0x50c828(0x3b7)]),_0x513acd=_0x2e4e64(_0x202819);_0x347b90&&_0x513acd&&_0xfc5d68['push']({'targetChartId':_0x347b90,'source':_0x2f07ad(_0x513acd,_0x4e8782)});}return _0xfc5d68;}let _0x1d1094=class extends _0x1ba070[_0x185be1(0x27c)]{constructor(_0x29c9e7,_0x349318,_0x2225e6,_0x10736f,_0x3eaa39){const _0xa358a7=_0x185be1;super(),this[_0xa358a7(0x538)]=_0x29c9e7,this['_sheetInterceptorService']=_0x349318,this[_0xa358a7(0x2ed)]=_0x2225e6,this[_0xa358a7(0x57a)]=_0x10736f,this[_0xa358a7(0x373)]=_0x3eaa39,this[_0xa358a7(0x520)]();}[_0x185be1(0x520)](){const _0x4e6fab=_0x185be1;this[_0x4e6fab(0x3d7)](this[_0x4e6fab(0x181)][_0x4e6fab(0x4f6)]({'getMutations':_0x51f249=>{const _0x63495d=_0x4e6fab;if(_0x51f249['id']===_0x4a6d0b[_0x63495d(0x544)]['id']){let _0x3227f7=(0x0,_0x4a6d0b[_0x63495d(0x3d9)])(this['_univerInstanceService'],_0x51f249[_0x63495d(0x528)]);if(!_0x3227f7)return{'redos':[],'undos':[]};let {unitId:_0x5c39e9,subUnitId:_0x5b8362}=_0x3227f7,_0x587b30=this[_0x63495d(0x2ed)][_0x63495d(0x39b)](_0x5c39e9,_0x5b8362),_0x20f234=Object[_0x63495d(0x420)](_0x587b30)['filter'](_0x3bf972=>_0x3bf972[_0x63495d(0x2d3)]===_0x1ba070['DrawingTypeEnum'][_0x63495d(0x52f)]);if(_0x20f234[_0x63495d(0x36b)]===0x0)return{'redos':[],'undos':[]};let _0x3f13ca=[],_0x25ba65=[];for(let _0x10855b=0x0;_0x10855b<_0x20f234[_0x63495d(0x36b)];_0x10855b++){let _0x5988d5=_0x20f234[_0x10855b],_0x5b924b=this['_chartModelService'][_0x63495d(0x214)](_0x5988d5[_0x63495d(0x3b7)]);if(!_0x5b924b)continue;let _0x4f910c=this[_0x63495d(0x373)][_0x63495d(0x44f)](_0x5b924b['id']);if(!_0x4f910c)continue;let {chartType:_0x9ce8c1,context:_0x55e9e8,style:_0x5ab78a,dataAggregation:_0x4750ff}=_0x5b924b['serialize']();_0x3f13ca[_0x63495d(0x3be)]({'id':_0x113ca7[_0x63495d(0x37c)]['id'],'params':{'unitId':_0x5c39e9,'subUnitId':_0x5b8362,'chartId':_0x5988d5[_0x63495d(0x3b7)]}}),_0x25ba65[_0x63495d(0x3be)]({'id':_0x113ca7[_0x63495d(0x1df)]['id'],'params':{'unitId':_0x5c39e9,'subUnitId':_0x5b8362,'chartId':_0x5988d5[_0x63495d(0x3b7)],'chartType':_0x9ce8c1,...(0x0,_0x113ca7['toInsertChartMutationSource'])(_0x4f910c),'context':_0x55e9e8,'style':_0x5ab78a,'dataAggregation':_0x4750ff}});}return{'redos':_0x3f13ca,'undos':_0x25ba65};}if(_0x51f249['id']===_0x4a6d0b[_0x63495d(0x2cf)]['id']){let {unitId:_0x558d32,subUnitId:_0x44b0c8,targetSubUnitId:_0x1d4c31,copyContext:_0x552e92}=_0x51f249[_0x63495d(0x528)];if(!_0x558d32||!_0x44b0c8||!_0x1d4c31)return{'redos':[],'undos':[]};let _0x1bbae9=this[_0x63495d(0x2ed)][_0x63495d(0x39b)](_0x558d32,_0x44b0c8),_0x4a5434=Object['values'](_0x1bbae9)[_0x63495d(0x3e6)](_0x21fba=>_0x21fba[_0x63495d(0x2d3)]===_0x1ba070[_0x63495d(0x1f9)][_0x63495d(0x52f)]);if(_0x4a5434['length']===0x0)return{'redos':[],'undos':[]};let _0x3ae24e=_0x15356e(_0x552e92,_0x4a5434,{'unitId':_0x558d32,'sourceSubUnitId':_0x44b0c8,'targetSubUnitId':_0x1d4c31},_0x33e606=>{const _0x25c4d4=_0x63495d;let _0x158640=this[_0x25c4d4(0x57a)]['getChartModel'](_0x33e606[_0x25c4d4(0x3b7)]);if(!_0x158640)return;let _0x3cb7cb=this['_sheetsChartService']['getChartSourceSpec'](_0x158640['id']);if(!_0x3cb7cb)return;let {chartType:_0x781ede,context:_0x1f91e6,style:_0xf27599,dataAggregation:_0x149623}=_0x158640[_0x25c4d4(0x454)]();return{'rangeInfo':_0x3cb7cb,'chartType':_0x781ede,'context':_0x1f91e6,'style':_0xf27599,'dataAggregation':_0x149623};}),_0x4f956a=[],_0xd1ef98=[];for(let {targetChartId:_0x531981,source:_0x390e7f}of _0x3ae24e){let {rangeInfo:_0x59de1d,chartType:_0x339f4,context:_0x463675,style:_0x21716b,dataAggregation:_0x5b3444}=_0x390e7f;_0x4f956a[_0x63495d(0x3be)]({'id':_0x113ca7[_0x63495d(0x1df)]['id'],'params':{'unitId':_0x558d32,'subUnitId':_0x1d4c31,'chartId':_0x531981,'chartType':_0x339f4,...(0x0,_0x113ca7[_0x63495d(0x4ba)])(_0x59de1d),'context':_0x463675,'style':_0x21716b,'dataAggregation':_0x5b3444}}),_0xd1ef98[_0x63495d(0x3be)]({'id':_0x113ca7[_0x63495d(0x37c)]['id'],'params':{'unitId':_0x558d32,'subUnitId':_0x1d4c31,'chartId':_0x531981}});}return{'redos':_0x4f956a,'undos':_0xd1ef98};}return{'redos':[],'undos':[]};}}));}};_0x1d1094=_0x11ef44([_0x42d632(0x0,(0x0,_0x1ba070[_0x185be1(0x1af)])(_0x1ba070[_0x185be1(0x53a)])),_0x42d632(0x1,(0x0,_0x1ba070[_0x185be1(0x1af)])(_0x4a6d0b[_0x185be1(0x2a0)])),_0x42d632(0x2,(0x0,_0x1ba070[_0x185be1(0x1af)])(_0x302521['ISheetDrawingService'])),_0x42d632(0x3,(0x0,_0x1ba070[_0x185be1(0x1af)])(_0x113ca7[_0x185be1(0x47d)])),_0x42d632(0x4,(0x0,_0x1ba070[_0x185be1(0x1af)])(_0x113ca7[_0x185be1(0x1f5)]))],_0x1d1094);let _0x4bb399=_0x224773=>_0x224773[_0x185be1(0x448)](_0x1ba070[_0x185be1(0x203)][_0x185be1(0x2da)])[_0x185be1(0x185)](),_0x53ef75=_0x3869cd=>{const _0x113979=_0x185be1;var _0x351149;return(_0x351149=_0x3869cd[_0x113979(0x448)](_0x1ba070[_0x113979(0x203)]['UNIVER_SHEET'])[_0x113979(0x1bd)]())==null?void 0x0:_0x351149[_0x113979(0x2ec)]();};function _0x55b881(){const _0x22b13=_0x185be1;var _0x3d2f17;let _0x556b8c=(0x0,_0x21688c[_0x22b13(0x1f0)])(_0x24cbf9),_0x5b14d4=(0x0,_0x21688c[_0x22b13(0x1f0)])(_0x113ca7[_0x22b13(0x47d)]),_0x17c6df=(0x0,_0x21688c['useDependency'])(_0x113ca7[_0x22b13(0x1f5)]),_0x37301e=(0x0,_0x21688c[_0x22b13(0x1f0)])(_0x1ba070[_0x22b13(0x30e)]),_0x21b572=(0x0,_0x21688c[_0x22b13(0x1f0)])(_0x1ba070[_0x22b13(0x32e)]),_0x2ed605=(0x0,_0x113ca7['getAllowedChartTypes'])(_0x21b572),_0x40a35b=(0x0,_0x119d22[_0x22b13(0x4b5)])(()=>{const _0x48541d=_0x22b13;let _0x399792=_0x36e3f4(_0x552a93[_0x48541d(0x3aa)](),_0x2ed605);return(0x0,_0x37f706[_0x48541d(0x53f)])(_0x399792[_0x48541d(0x18e)](_0x3db817=>({'id':_0x3db817['id'],'label':_0x37301e['t'](_0x48541d(0x1ee)+_0x3db817[_0x48541d(0x1d9)]),'pieSecondaryPlotType':_0x3db817[_0x48541d(0x35a)],'value':_0x3db817[_0x48541d(0x2a6)]})));},[_0x2ed605,_0x37301e]),_0x26938d=(0x0,_0x21688c['useObservable'])(_0x5b14d4[_0x22b13(0x548)],_0x5b14d4[_0x22b13(0x286)]),_0x43cdf6=_0x26938d?_0x17c6df[_0x22b13(0x20a)](_0x26938d['id']):void 0x0,_0x61961a=(0x0,_0x21688c[_0x22b13(0x27d)])(_0x43cdf6==null?void 0x0:_0x43cdf6[_0x22b13(0x423)],_0x43cdf6==null?void 0x0:_0x43cdf6[_0x22b13(0x3f0)]()),_0x21bdcc=Array[_0x22b13(0x571)](_0x61961a),_0xdb2f77=_0x61961a&&!_0x21bdcc&&_0x61961a[_0x22b13(0x2fa)]?_0x214e0a['DataOrientation'][_0x22b13(0x292)]:_0x214e0a['DataOrientation'][_0x22b13(0x444)],_0x35f2b8=_0x21bdcc?(_0x3d2f17=_0x61961a[0x0])==null?void 0x0:_0x3d2f17[_0x22b13(0x340)]:_0x61961a==null?void 0x0:_0x61961a['rangeInfo'];return(0x0,_0x4da08e[_0x22b13(0x4ef)])(_0x22b13(0x2d0),{'className':'univer-flex\x20univer-flex-col\x20univer-gap-3\x20univer-pb-5','children':(0x0,_0x4da08e['jsx'])(_0x37f706['ChartSetupPanel'],{'chartTypeOptions':_0x40a35b,'dataSourceControl':(0x0,_0x4da08e[_0x22b13(0x4ef)])(_0x27fbd0,{'dataRange':_0x61961a,'primaryRange':_0x35f2b8}),'categoryToggleLabel':_0x37301e['t'](_0x22b13(0x1cb),_0xdb2f77===_0x214e0a['DataOrientation']['Row']?_0xdb2f77+'\x20'+(((_0x35f2b8==null?void 0x0:_0x35f2b8[_0x22b13(0x340)]['startRow'])??0x0)+0x1):_0xdb2f77+'\x20'+(0x0,_0x1ba070['numberToABC'])((_0x35f2b8==null?void 0x0:_0x35f2b8[_0x22b13(0x340)][_0x22b13(0x4d7)])??0x0)),'orientationControl':_0x21bdcc?void 0x0:(0x0,_0x4da08e['jsx'])(_0x2b4c09['Button'],{'size':_0x22b13(0x408),'onClick':()=>_0x556b8c[_0x22b13(0x414)](_0xdb2f77===_0x214e0a['DataOrientation'][_0x22b13(0x292)]?_0x214e0a[_0x22b13(0x515)]['Column']:_0x214e0a[_0x22b13(0x515)][_0x22b13(0x292)]),'children':_0x37301e['t']('sheets-chart-ui.common.switchRowColumn')})})});}function _0x27fbd0(_0x2a354a){const _0x218b04=_0x185be1;let {dataRange:_0x5070cc,primaryRange:_0x3825f8}=_0x2a354a,_0x3d1891=(0x0,_0x21688c[_0x218b04(0x1f0)])(_0x24cbf9),_0x1772ce=(0x0,_0x21688c[_0x218b04(0x1f0)])(_0x1ba070[_0x218b04(0x30e)]),_0x116a12=(0x0,_0x21688c[_0x218b04(0x1f0)])(_0x1ba070[_0x218b04(0x53a)]),[_0x4a978a,_0x2579b8]=(0x0,_0x119d22[_0x218b04(0x19c)])(!0x1),[_0x993173,_0x5adfc3]=(0x0,_0x119d22[_0x218b04(0x19c)])(!0x1),_0x4c95db=_0x4bb399(_0x116a12),_0x2c0306=_0x53ef75(_0x116a12);(0x0,_0x119d22['useEffect'])(()=>{_0x3d1891['setRangeSelectMode'](_0x4a978a);},[_0x4a978a,_0x3d1891]);let _0x980303=(0x0,_0x119d22['useMemo'])(()=>(0x0,_0x1ba070[_0x218b04(0x209)])(async _0x401bef=>{const _0x126085=_0x218b04;var _0x56e1ad;if(_0x5dbc9b(_0x5070cc,_0x116a12)===_0x401bef)return;let _0x501c4d=_0x401bef[_0x126085(0x56d)](',')[_0x126085(0x3e6)](Boolean)[_0x126085(0x18e)](_0x5f0a10[_0x126085(0x1e3)])[0x0];if(!_0x501c4d)return;let {unitId:_0x5c36dd,sheetName:_0x2199a4,range:_0x2bac72}=_0x501c4d,_0x7cb56c=_0x5c36dd||_0x4c95db,_0xfcd8a1=((_0x56e1ad=_0x116a12[_0x126085(0x296)](_0x7cb56c)[_0x126085(0x300)](_0x2199a4))==null?void 0x0:_0x56e1ad[_0x126085(0x2ec)]())||(_0x3825f8==null?void 0x0:_0x3825f8[_0x126085(0x50c)])||_0x2c0306;_0xfcd8a1&&_0x3d1891['setDataRange']({'rangeInfo':{'range':_0x2bac72,'unitId':_0x7cb56c,'subUnitId':_0xfcd8a1}});},0x12c,{'leading':!0x1,'maxWait':0x3e8,'trailing':!0x0}),[_0x5070cc,_0x3825f8,_0x3d1891,_0x2c0306,_0x4c95db,_0x116a12]);return(0x0,_0x119d22['useEffect'])(()=>()=>_0x980303[_0x218b04(0x32b)](),[_0x980303]),(0x0,_0x4da08e[_0x218b04(0x4ef)])('div',{'className':_0x218b04(0x486),'children':(0x0,_0x4da08e[_0x218b04(0x3f5)])(_0x218b04(0x2d0),{'children':[(0x0,_0x4da08e[_0x218b04(0x4ef)])(_0x37f706['ChartEditBlockTitle'],{'title':_0x1772ce['t'](_0x218b04(0x335))}),(0x0,_0x4da08e[_0x218b04(0x4ef)])(_0x33c938['MobileRangeSelector'],{'supportAcrossSheet':!0x0,'keepSheetReference':!0x0,'maxRangeCount':0x1,'unitId':_0x4c95db,'subUnitId':_0x2c0306,'initialValue':_0x5070cc?_0x5dbc9b(_0x5070cc,_0x116a12):'','onChange':(_0xfc584f,_0x1f7986)=>_0x980303(_0x1f7986),'onFocusChange':_0x56efec=>{_0x993173||_0x2579b8(_0x56efec);},'onRangeSelectorDialogVisibleChange':_0x24eb7d=>{_0x5adfc3(_0x24eb7d),_0x2579b8(_0x24eb7d);}})]})});}function _0x4653eb(){const _0x263066=_0x185be1;let [_0x494dcc,_0x1c1015]=(0x0,_0x119d22['useState'])(_0x37f706[_0x263066(0x562)][_0x263066(0x4c9)]),_0x18526a=(0x0,_0x21688c[_0x263066(0x1f0)])(_0x1ba070[_0x263066(0x32e)]),_0x3f3135=(0x0,_0x21688c[_0x263066(0x1f0)])(_0x1ba070[_0x263066(0x30e)]),_0x26e140=(0x0,_0x21688c[_0x263066(0x1f0)])(_0x24cbf9),_0xfc0d2f=(0x0,_0x21688c['useDependency'])(_0x113ca7['ChartModelService']),_0xdcfbf3=(0x0,_0x21688c[_0x263066(0x1f0)])(_0x113ca7['SheetsChartService']),_0x430fc9=(0x0,_0x21688c['useObservable'])(_0xfc0d2f[_0x263066(0x548)],_0xfc0d2f[_0x263066(0x286)]),_0x217015=(0x0,_0x21688c[_0x263066(0x27d)])(_0x26e140[_0x263066(0x2a7)],null),_0x2e3f1d=(0x0,_0x119d22[_0x263066(0x4b5)])(()=>{const _0x109f4d=_0x263066;var _0x1bce0a;if(!_0x430fc9)return null;let _0x89c3f4=_0xdcfbf3['getChartSourceSpec'](_0x430fc9['id']);if(!_0x89c3f4)return null;let _0x4f7717=Array[_0x109f4d(0x571)](_0x89c3f4)?(_0x1bce0a=_0x89c3f4[0x0])==null?void 0x0:_0x1bce0a[_0x109f4d(0x340)]:_0x89c3f4[_0x109f4d(0x236)];return _0x4f7717?new _0x37f706[(_0x109f4d(0x212))](_0x430fc9,new _0x113ca7[(_0x109f4d(0x494))]({'unitId':_0x4f7717[_0x109f4d(0x2ac)],'subUnitId':_0x4f7717['subUnitId'],'chartId':_0x430fc9['id'],'injector':_0x18526a})):null;},[_0x430fc9,_0x18526a,_0xdcfbf3]);if((0x0,_0x119d22['useEffect'])(()=>{const _0x323608=_0x263066;var _0x4b3b10,_0x1fbcea;_0x430fc9&&(_0x217015==null?void 0x0:_0x217015[_0x323608(0x4d9)])===_0x430fc9['id']&&(((_0x4b3b10=_0x217015[_0x323608(0x455)])==null?void 0x0:_0x4b3b10[_0x323608(0x1cf)])===_0x37f706[_0x323608(0x562)][_0x323608(0x358)]&&_0x1c1015(_0x37f706[_0x323608(0x562)][_0x323608(0x358)]),((_0x1fbcea=_0x217015[_0x323608(0x455)])==null?void 0x0:_0x1fbcea[_0x323608(0x1cf)])===_0x37f706[_0x323608(0x562)][_0x323608(0x4c9)]&&_0x1c1015(_0x37f706[_0x323608(0x562)][_0x323608(0x4c9)]));},[_0x430fc9,_0x217015]),!_0x2e3f1d)return null;let _0x44448b=(0x0,_0x4da08e['jsx'])(_0x263066(0x2d0),{'className':_0x263066(0x44c),'children':(0x0,_0x4da08e[_0x263066(0x4ef)])(_0x37f706[_0x263066(0x1b5)],{'ariaLabel':_0x3f3135['t'](_0x263066(0x1a1)),'activeTab':_0x494dcc,'onTabChange':_0x1c1015,'tabListClassName':_0x263066(0x215),'panelClassName':_0x494dcc===_0x37f706[_0x263066(0x562)][_0x263066(0x358)]?_0x263066(0x337):_0x263066(0x26a),'tabs':[{'id':_0x37f706[_0x263066(0x562)]['Data'],'panelId':_0x263066(0x578),'title':_0x3f3135['t']('sheets-chart-ui.common.setup'),'content':(0x0,_0x4da08e[_0x263066(0x4ef)])(_0x55b881,{})},{'id':_0x37f706[_0x263066(0x562)][_0x263066(0x358)],'panelId':_0x263066(0x3c1),'title':_0x3f3135['t'](_0x263066(0x43f)),'content':(0x0,_0x4da08e[_0x263066(0x4ef)])(_0x2f4187,{'defaultValues':_0x3580d8})}]})});return(0x0,_0x4da08e[_0x263066(0x4ef)])(_0x37f706[_0x263066(0x543)],{'chartUIService':_0x26e140,'hostAdapter':_0x2e3f1d,'children':_0x44448b});}let _0x55b2f6=class extends _0x1ba070['Disposable']{constructor(_0xb488d0){const _0x1a5b0a=_0x185be1;super(),this[_0x1a5b0a(0x3d7)](_0xb488d0[_0x1a5b0a(0x39e)](_0x209d81,_0x4653eb));}};_0x55b2f6=_0x11ef44([_0x42d632(0x0,(0x0,_0x1ba070[_0x185be1(0x1af)])(_0x21688c['ComponentManager']))],_0x55b2f6);let _0x272d0f=class extends _0x1ba070['Disposable']{constructor(_0xbba1b5,_0x38d610,_0x2362d9,_0x363e8c,_0x55aa49,_0x331b2d,_0xa53247,_0x16e359,_0x13d676){const _0x341ae2=_0x185be1;super(),this[_0x341ae2(0x3d0)]=_0xbba1b5,this[_0x341ae2(0x57a)]=_0x38d610,this[_0x341ae2(0x4fe)]=_0x2362d9,this[_0x341ae2(0x354)]=_0x363e8c,this[_0x341ae2(0x4c7)]=_0x55aa49,this[_0x341ae2(0x403)]=_0x331b2d,this['_sheetsChartUIService']=_0xa53247,this[_0x341ae2(0x3c6)]=_0x16e359,this[_0x341ae2(0x2cd)]=_0x13d676,_0x3d73b3(this,_0x341ae2(0x54e),null),_0x3d73b3(this,_0x341ae2(0x57d),!0x1),this[_0x341ae2(0x186)]();}[_0x185be1(0x4d8)](){const _0x4d159a=_0x185be1;this['hidePanel'](),super[_0x4d159a(0x4d8)]();}[_0x185be1(0x368)](){const _0x1af7f2=_0x185be1;this[_0x1af7f2(0x57d)]||(this[_0x1af7f2(0x57d)]=!0x0,this[_0x1af7f2(0x3d7)](this['_commandService'][_0x1af7f2(0x4a2)](_0x1e7136=>{const _0x23b74f=_0x1af7f2;if(_0x1e7136['id']!==_0x272d7b['id'])return;let _0x29a7f4=_0x1e7136['params'];this[_0x23b74f(0x1b4)](_0x29a7f4[_0x23b74f(0x3b7)],_0x29a7f4[_0x23b74f(0x455)]);})));}[_0x185be1(0x1b4)](_0x451e17,_0x1471c4){const _0x1660f5=_0x185be1;let _0x2cc95f=this[_0x1660f5(0x57a)][_0x1660f5(0x214)](_0x451e17);_0x2cc95f&&(this['_chartModelService']['setActiveChartModel'](_0x2cc95f),this['_openPanel'](),this[_0x1660f5(0x55d)][_0x1660f5(0x1b6)](!0x0),this['_sheetsChartUIService'][_0x1660f5(0x2fc)](_0x451e17,_0x1471c4??null));}[_0x185be1(0x3af)](){const _0x14d563=_0x185be1;let _0x254ebd=this[_0x14d563(0x54e)];this['_sidebarDisposable']=null,this['_clearPanelState'](),_0x254ebd==null||_0x254ebd[_0x14d563(0x4d8)]();}['_initMenus'](){const _0x3848b0=_0x185be1;this[_0x3848b0(0x354)]['mergeMenu']({[_0x21688c['RibbonInsertGroup'][_0x3848b0(0x555)]]:{[_0x1b45e5['id']]:{'order':0x4,'menuItemFactory':_0x20768b}}}),this[_0x3848b0(0x4c7)][_0x3848b0(0x288)](_0x1ba070[_0x3848b0(0x1f9)][_0x3848b0(0x52f)],(_0x4aa11e,_0x328fda,_0x2600d8,_0x5b99fe)=>[{'label':this[_0x3848b0(0x2cd)]['t'](_0x3848b0(0x1a1)),'index':0x0,'commandId':_0x272d7b['id'],'commandParams':{'unitId':_0x4aa11e,'subUnitId':_0x328fda,'drawingId':_0x2600d8},'disable':_0x5b99fe!==_0x1ba070[_0x3848b0(0x1f9)][_0x3848b0(0x52f)]},{'label':this[_0x3848b0(0x2cd)]['t'](_0x3848b0(0x565)),'index':0x1,'commandId':_0x302521[_0x3848b0(0x58e)]['id'],'commandParams':{'unitId':_0x4aa11e,'drawings':[{'unitId':_0x4aa11e,'subUnitId':_0x328fda,'drawingId':_0x2600d8,'drawingType':_0x5b99fe}]},'disable':!0x1}],_0x3848b0(0x239));}[_0x185be1(0x270)](){const _0x537984=_0x185be1;this['_sidebarDisposable']=this[_0x537984(0x4fe)]['open']({'id':_0x209d81,'header':{'title':this[_0x537984(0x2cd)]['t'](_0x537984(0x1a1))},'children':{'label':_0x209d81},'onClose':()=>{const _0x2df3f3=_0x537984;this['_sidebarDisposable']=null,this[_0x2df3f3(0x3bd)]();}});}[_0x185be1(0x3bd)](){const _0x4623ac=_0x185be1;this['_sheetsChartUIService'][_0x4623ac(0x1b6)](!0x1),this[_0x4623ac(0x55d)]['clearPanelRoute'](),this[_0x4623ac(0x57a)][_0x4623ac(0x286)]&&this[_0x4623ac(0x57a)][_0x4623ac(0x4a3)](null),this['_drawingManagerService'][_0x4623ac(0x3cd)](null),this[_0x4623ac(0x3c6)][_0x4623ac(0x227)](_0x1ba070[_0x4623ac(0x406)],!0x1);}};_0x272d0f=_0x11ef44([_0x42d632(0x0,_0x135c9c[_0x185be1(0x31a)]),_0x42d632(0x1,(0x0,_0x1ba070[_0x185be1(0x1af)])(_0x113ca7[_0x185be1(0x47d)])),_0x42d632(0x2,(0x0,_0x1ba070['Inject'])(_0x21688c['ISidebarService'])),_0x42d632(0x3,_0x21688c[_0x185be1(0x228)]),_0x42d632(0x4,(0x0,_0x1ba070[_0x185be1(0x1af)])(_0x53e756['SheetCanvasPopManagerService'])),_0x42d632(0x5,_0x1ba070[_0x185be1(0x56c)]),_0x42d632(0x6,_0x24cbf9),_0x42d632(0x7,_0x1ba070[_0x185be1(0x461)]),_0x42d632(0x8,(0x0,_0x1ba070[_0x185be1(0x1af)])(_0x1ba070['LocaleService']))],_0x272d0f);let _0x2350ba=class extends _0x1ba070[_0x185be1(0x27c)]{constructor(_0x8dd860,_0x18f1de,_0x7535ab,_0xe216aa,_0x780452){const _0x3cd61a=_0x185be1;super(),this[_0x3cd61a(0x460)]=_0x8dd860,this[_0x3cd61a(0x40b)]=_0x18f1de,this['_sheetDrawingService']=_0x7535ab,this[_0x3cd61a(0x57a)]=_0xe216aa,this[_0x3cd61a(0x373)]=_0x780452,_0x3d73b3(this,_0x3cd61a(0x496),void 0x0),this['_initCopyPaste']();}get[_0x185be1(0x537)](){const _0x4ea1bb=_0x185be1;return this[_0x4ea1bb(0x2ed)][_0x4ea1bb(0x559)]();}[_0x185be1(0x45b)](){const _0x21e69b=_0x185be1;this[_0x21e69b(0x3d7)](this['_sheetClipboardService'][_0x21e69b(0x2f2)]({'id':_0x113ca7[_0x21e69b(0x282)],'onBeforeCopyFocusedObject':(_0x10942d,_0xc1a191,_0x2f541d)=>{const _0x2594c4=_0x21e69b;this['_copyInfo']=null;let _0x198363=this[_0x2594c4(0x537)]['filter'](_0x2c8590=>this['_isOwnedChart'](_0x2c8590));return _0x198363[_0x2594c4(0x36b)]!==0x0&&(this[_0x2594c4(0x496)]={'unitId':_0x10942d,'subUnitId':_0xc1a191,'copyType':_0x2f541d,'drawings':_0x198363},!0x0);},'onBeforeCopy':(_0x4f6fbb,_0x247896,_0x4e784c,_0x46c461)=>{const _0x10e6ac=_0x21e69b;this[_0x10e6ac(0x496)]=null,this[_0x10e6ac(0x453)](_0x4f6fbb,_0x247896,_0x4e784c,_0x46c461);},'onPasteCells':(_0x57e3cc,_0x224203,_0x4321b5,_0x295948)=>{const _0x746d33=_0x21e69b;if(!_0x295948[_0x746d33(0x361)]||!_0x57e3cc||!this['_copyInfo'])return{'redos':[],'undos':[]};let {pasteType:_0x246833}=_0x295948;return _0x246833===_0x53e756[_0x746d33(0x333)][_0x746d33(0x468)]?this[_0x746d33(0x1e0)](_0x224203,this[_0x746d33(0x496)][_0x746d33(0x2d9)]===_0x53e756[_0x746d33(0x195)][_0x746d33(0x2f5)]):{'redos':[],'undos':[]};}}));}[_0x185be1(0x453)](_0xcad044,_0x43f125,_0x47c3a6,_0x9cf2b){const _0x425982=_0x185be1;let _0x3d80d2=this[_0x425982(0x460)][_0x425982(0x293)](_0xcad044,_0x43f125);if(!_0x3d80d2)return;let _0x19ed6a=(0x0,_0x4a6d0b[_0x425982(0x1ce)])(_0x3d80d2,_0x47c3a6);if(!_0x19ed6a)return;let {startX:_0x4d032d,endX:_0x132823,startY:_0x20be70,endY:_0xfbb54d}=_0x19ed6a,_0x47af45=this[_0x425982(0x2ed)][_0x425982(0x39b)](_0xcad044,_0x43f125),_0x1e6ac8=[];for(let [_0x465134,_0xbe048f]of Object[_0x425982(0x1e5)](_0x47af45)){if(!this['_isOwnedChart'](_0xbe048f))continue;let {transform:_0x3f5069}=_0xbe048f;if(!_0x3f5069)continue;let {left:_0x79babd=0x0,top:_0xbc359=0x0,width:_0x58892c=0x0,height:_0x2db593=0x0}=_0x3f5069;_0x4d032d<=_0x79babd&&_0x132823>=_0x79babd+_0x58892c&&_0x20be70<=_0xbc359&&_0xfbb54d>=_0xbc359+_0x2db593&&_0x1e6ac8[_0x425982(0x3be)](_0xbe048f);}_0x1e6ac8[_0x425982(0x36b)]>0x0&&(this[_0x425982(0x496)]={'unitId':_0xcad044,'subUnitId':_0x43f125,'copyType':_0x9cf2b,'copyRange':_0x47c3a6,'drawings':_0x1e6ac8});}[_0x185be1(0x1c0)](_0x19e623){const _0x44ff2d=_0x185be1;return _0x19e623['drawingType']===_0x1ba070[_0x44ff2d(0x1f9)][_0x44ff2d(0x52f)]&&this[_0x44ff2d(0x373)][_0x44ff2d(0x2e0)](_0x19e623[_0x44ff2d(0x2ac)],_0x19e623[_0x44ff2d(0x3b7)])===_0x19e623[_0x44ff2d(0x50c)];}[_0x185be1(0x1e0)](_0x225726,_0x3013b1){const _0x19e75c=_0x185be1;let {unitId:_0x5c3489,subUnitId:_0x4abcfa,range:_0x4b35bc}=_0x225726,_0x4e9cfe=this[_0x19e75c(0x460)][_0x19e75c(0x293)](_0x5c3489,_0x4abcfa);if(!_0x4e9cfe)return{'redos':[],'undos':[]};let _0x80acde=(0x0,_0x4a6d0b['discreteRangeToRange'])(_0x4b35bc),{unitId:_0x1ebf76,subUnitId:_0xcbba83,copyRange:_0x3d001a,drawings:_0x4afac9}=this[_0x19e75c(0x496)],_0xdef1c8=this[_0x19e75c(0x460)][_0x19e75c(0x293)](_0x1ebf76,_0xcbba83);if(!_0xdef1c8)return{'redos':[],'undos':[]};let _0x2734eb=[],_0x29c2cf=[];for(let _0x50a825 of _0x4afac9){let {drawingId:_0x536da5,transform:_0x283a8d,sheetTransform:_0x507292}=_0x50a825,_0x3d6dcf=this[_0x19e75c(0x57a)][_0x19e75c(0x214)](_0x536da5);if(!_0x3d6dcf||!_0x283a8d||!_0x507292)continue;let _0x41a320=this[_0x19e75c(0x41a)]({'transform':_0x283a8d,'sheetTransform':_0x507292},{'skeleton':_0xdef1c8,'range':_0x3d001a},{'skeleton':_0x4e9cfe,'range':_0x80acde});if(_0x3013b1){let {redos:_0x498b98,undos:_0x409a91}=this['_generateCutPasteMutations']({'fromUnitId':_0x1ebf76,'fromSubUnitId':_0xcbba83,'toUnitId':_0x5c3489,'toSubUnitId':_0x4abcfa,'drawing':_0x50a825,'newTransforms':_0x41a320},_0x3d6dcf);_0x2734eb[_0x19e75c(0x3be)](..._0x498b98),_0x29c2cf[_0x19e75c(0x3be)](..._0x409a91);continue;}let {redos:_0x29d840,undos:_0x9066e9}=this[_0x19e75c(0x501)]({'toUnitId':_0x5c3489,'toSubUnitId':_0x4abcfa,'drawing':_0x50a825,'newTransforms':_0x41a320},_0x3d6dcf);_0x2734eb[_0x19e75c(0x3be)](..._0x29d840),_0x29c2cf['push'](..._0x9066e9);}return{'redos':_0x2734eb,'undos':_0x29c2cf};}[_0x185be1(0x38e)](_0x5b246e,_0x5caf2a){const _0x39f6b3=_0x185be1;let {fromUnitId:_0x486007,fromSubUnitId:_0x1a5330,toUnitId:_0x47d21a,toSubUnitId:_0x5694c3,drawing:_0x38656c,newTransforms:_0x11463b}=_0x5b246e,_0x2bee85={..._0x38656c,'unitId':_0x47d21a,'subUnitId':_0x5694c3,'transform':_0x11463b[_0x39f6b3(0x380)],'sheetTransform':_0x11463b[_0x39f6b3(0x3c2)]};if(_0x47d21a===_0x486007&&_0x5694c3===_0x1a5330){let {redo:_0xec6bdb,undo:_0x461093,objects:_0x4e36e7}=this[_0x39f6b3(0x2ed)]['getBatchUpdateOp']([_0x2bee85]);return{'redos':[{'id':_0x302521['SetDrawingApplyMutation']['id'],'params':{'unitId':_0x47d21a,'subUnitId':_0x5694c3,'type':_0x302521[_0x39f6b3(0x2a4)][_0x39f6b3(0x4be)],'op':_0xec6bdb,'objects':_0x4e36e7}}],'undos':[{'id':_0x302521['SetDrawingApplyMutation']['id'],'params':{'unitId':_0x47d21a,'subUnitId':_0x5694c3,'type':_0x302521[_0x39f6b3(0x2a4)][_0x39f6b3(0x4be)],'op':_0x461093,'objects':_0x4e36e7}}]};}{let _0x3d30cf=this[_0x39f6b3(0x2ed)][_0x39f6b3(0x197)]([_0x38656c]),_0x15d77f=this[_0x39f6b3(0x2ed)][_0x39f6b3(0x37e)]([_0x2bee85]),_0x22a9d7=this['_sheetsChartService'][_0x39f6b3(0x44f)](_0x5caf2a['id']);if(!_0x22a9d7)return{'redos':[],'undos':[]};let {chartType:_0x34912a,context:_0x3fe20d,style:_0x2df613,dataAggregation:_0x4c969c}=_0x5caf2a[_0x39f6b3(0x454)]();return{'redos':[{'id':_0x302521[_0x39f6b3(0x21e)]['id'],'params':{'unitId':_0x486007,'subUnitId':_0x1a5330,'type':_0x302521['DrawingApplyType'][_0x39f6b3(0x348)],'op':_0x3d30cf[_0x39f6b3(0x519)],'objects':_0x3d30cf[_0x39f6b3(0x25c)]}},{'id':_0x113ca7[_0x39f6b3(0x37c)]['id'],'params':{'unitId':_0x486007,'subUnitId':_0x1a5330,'chartId':_0x38656c[_0x39f6b3(0x3b7)]}},{'id':_0x302521[_0x39f6b3(0x21e)]['id'],'params':{'unitId':_0x47d21a,'subUnitId':_0x5694c3,'type':_0x302521[_0x39f6b3(0x2a4)][_0x39f6b3(0x449)],'op':_0x15d77f[_0x39f6b3(0x519)],'objects':_0x15d77f[_0x39f6b3(0x25c)]}},{'id':_0x113ca7['InsertSheetsChartMutation']['id'],'params':{'unitId':_0x47d21a,'subUnitId':_0x5694c3,'chartId':_0x38656c[_0x39f6b3(0x3b7)],'chartType':_0x34912a,...(0x0,_0x113ca7['toInsertChartMutationSource'])(_0x22a9d7),'context':_0x3fe20d,'style':_0x2df613,'dataAggregation':_0x4c969c}}],'undos':[{'id':_0x302521[_0x39f6b3(0x21e)]['id'],'params':{'unitId':_0x486007,'subUnitId':_0x1a5330,'type':_0x302521[_0x39f6b3(0x2a4)][_0x39f6b3(0x449)],'op':_0x3d30cf[_0x39f6b3(0x3fd)],'objects':_0x3d30cf['objects']}},{'id':_0x113ca7[_0x39f6b3(0x1df)]['id'],'params':{'unitId':_0x486007,'subUnitId':_0x1a5330,'chartId':_0x38656c[_0x39f6b3(0x3b7)],'chartType':_0x34912a,...(0x0,_0x113ca7['toInsertChartMutationSource'])(_0x22a9d7),'context':_0x3fe20d,'style':_0x2df613,'dataAggregation':_0x4c969c}},{'id':_0x302521[_0x39f6b3(0x21e)]['id'],'params':{'unitId':_0x47d21a,'subUnitId':_0x5694c3,'type':_0x302521[_0x39f6b3(0x2a4)][_0x39f6b3(0x348)],'op':_0x15d77f[_0x39f6b3(0x3fd)],'objects':_0x15d77f[_0x39f6b3(0x25c)]}},{'id':_0x113ca7[_0x39f6b3(0x37c)]['id'],'params':{'unitId':_0x47d21a,'subUnitId':_0x5694c3,'chartId':_0x38656c[_0x39f6b3(0x3b7)]}}]};}}[_0x185be1(0x501)](_0x74b221,_0x2a3a29){const _0x14e7e3=_0x185be1;let {toUnitId:_0x56f5b1,toSubUnitId:_0x566969,drawing:_0x266441,newTransforms:_0x1d9d0f}=_0x74b221,_0x47f499=(0x0,_0x1ba070[_0x14e7e3(0x2be)])(),_0x174f9d={..._0x266441,'unitId':_0x56f5b1,'subUnitId':_0x566969,'drawingId':_0x47f499,'transform':_0x1d9d0f[_0x14e7e3(0x380)],'sheetTransform':_0x1d9d0f['sheetTransform']},{redo:_0x555b1c,undo:_0x5bba1c,objects:_0x499a63}=this[_0x14e7e3(0x2ed)][_0x14e7e3(0x37e)]([_0x174f9d]),_0x19acd4=this[_0x14e7e3(0x373)][_0x14e7e3(0x44f)](_0x2a3a29['id']);if(!_0x19acd4)return{'redos':[],'undos':[]};let {chartType:_0x5a23ad,context:_0x42e407,style:_0x282e07,dataAggregation:_0x1eabae}=_0x2a3a29['serialize']();return{'redos':[{'id':_0x302521[_0x14e7e3(0x21e)]['id'],'params':{'unitId':_0x56f5b1,'subUnitId':_0x566969,'type':_0x302521[_0x14e7e3(0x2a4)][_0x14e7e3(0x449)],'op':_0x555b1c,'objects':_0x499a63}},{'id':_0x113ca7['InsertSheetsChartMutation']['id'],'params':{'unitId':_0x56f5b1,'subUnitId':_0x566969,'chartId':_0x47f499,'chartType':_0x5a23ad,...(0x0,_0x113ca7[_0x14e7e3(0x4ba)])(_0x19acd4),'context':_0x42e407,'style':_0x282e07,'dataAggregation':_0x1eabae}}],'undos':[{'id':_0x302521[_0x14e7e3(0x21e)]['id'],'params':{'unitId':_0x56f5b1,'subUnitId':_0x566969,'type':_0x302521[_0x14e7e3(0x2a4)][_0x14e7e3(0x348)],'op':_0x5bba1c,'objects':_0x499a63}},{'id':_0x113ca7[_0x14e7e3(0x37c)]['id'],'params':{'unitId':_0x56f5b1,'subUnitId':_0x566969,'chartId':_0x47f499}}]};}['_updateTransform'](_0x589594,_0x9f0c69,_0x3135c9){const _0x16f0d8=_0x185be1;let {range:_0x1dde0d,skeleton:_0x5a911d}=_0x9f0c69,{range:_0x2ad859,skeleton:_0x31bc47}=_0x3135c9,{transform:_0x4f6aeb,sheetTransform:_0x42901f}=_0x589594,_0x4db09b={..._0x4f6aeb};if(_0x1dde0d){let _0x26ae98=(0x0,_0x4a6d0b['attachRangeWithCoord'])(_0x5a911d,_0x1dde0d),_0x16074f=(0x0,_0x4a6d0b[_0x16f0d8(0x1ce)])(_0x31bc47,_0x2ad859);if(_0x26ae98&&_0x16074f){let _0x1dfd05=_0x16074f[_0x16f0d8(0x4ce)]-_0x26ae98[_0x16f0d8(0x4ce)],_0x806013=_0x16074f[_0x16f0d8(0x4a5)]-_0x26ae98[_0x16f0d8(0x4a5)];_0x4db09b[_0x16f0d8(0x4e4)]=(_0x4db09b[_0x16f0d8(0x4e4)]??0x0)+_0x1dfd05,_0x4db09b['top']=(_0x4db09b[_0x16f0d8(0x2e8)]??0x0)+_0x806013;}}else{let _0x59548e=(0x0,_0x4a6d0b['attachRangeWithCoord'])(_0x31bc47,_0x2ad859);_0x4db09b[_0x16f0d8(0x4e4)]=_0x59548e==null?void 0x0:_0x59548e[_0x16f0d8(0x4ce)],_0x4db09b[_0x16f0d8(0x2e8)]=_0x59548e==null?void 0x0:_0x59548e[_0x16f0d8(0x4a5)];}return{'transform':_0x4db09b,'sheetTransform':(0x0,_0x302521[_0x16f0d8(0x2ea)])(_0x4db09b,_0x31bc47)??_0x42901f};}};_0x2350ba=_0x11ef44([_0x42d632(0x0,(0x0,_0x1ba070[_0x185be1(0x1af)])(_0x4a6d0b['SheetSkeletonService'])),_0x42d632(0x1,(0x0,_0x1ba070[_0x185be1(0x1af)])(_0x53e756['ISheetClipboardService'])),_0x42d632(0x2,(0x0,_0x1ba070[_0x185be1(0x1af)])(_0x302521['ISheetDrawingService'])),_0x42d632(0x3,(0x0,_0x1ba070[_0x185be1(0x1af)])(_0x113ca7[_0x185be1(0x47d)])),_0x42d632(0x4,(0x0,_0x1ba070[_0x185be1(0x1af)])(_0x113ca7[_0x185be1(0x1f5)]))],_0x2350ba);let _0x5ad7a4=class extends _0x1ba070[_0x185be1(0x27c)]{constructor(_0x390267,_0x1ba6bf,_0x4e9431,_0x5677c0){const _0x86227c=_0x185be1;super(),this[_0x86227c(0x403)]=_0x390267,this[_0x86227c(0x2cd)]=_0x1ba6bf,this[_0x86227c(0x50a)]=_0x4e9431,this[_0x86227c(0x373)]=_0x5677c0,this[_0x86227c(0x510)]();}['_initPermission'](){const _0x5ea84a=_0x185be1;this[_0x5ea84a(0x3d7)](this[_0x5ea84a(0x403)]['beforeCommandExecuted'](_0x39ce06=>{const _0x3502c1=_0x5ea84a;let _0xa0a5ed,_0x5e7018;if(_0x39ce06['id']===_0x113ca7[_0x3502c1(0x283)]['id']){let _0x5ea0ea=_0x39ce06['params'];_0xa0a5ed=_0x5ea0ea[_0x3502c1(0x2ac)],_0x5e7018=_0x5ea0ea[_0x3502c1(0x50c)];}else{if(_0x39ce06['id']===_0x113ca7[_0x3502c1(0x49e)]['id']||_0x39ce06['id']===_0x113ca7['ChartUpdateSourceCommand']['id']){let _0x459cb0=_0x39ce06[_0x3502c1(0x528)];_0xa0a5ed=_0x459cb0['unitId'],_0x5e7018=this['_sheetsChartService']['getSubUnitId'](_0x459cb0['unitId'],_0x459cb0[_0x3502c1(0x42c)]);}}_0xa0a5ed&&_0x5e7018&&(this[_0x3502c1(0x50a)][_0x3502c1(0x49f)]({'workbookTypes':[_0x4a6d0b[_0x3502c1(0x3c5)]],'worksheetTypes':[_0x4a6d0b[_0x3502c1(0x33b)]]},_0xa0a5ed,_0x5e7018)||this['_sheetPermissionCheckController'][_0x3502c1(0x1c1)](this['_localeService']['t'](_0x3502c1(0x3a1))));}));}};_0x5ad7a4=_0x11ef44([_0x42d632(0x0,(0x0,_0x1ba070[_0x185be1(0x1af)])(_0x1ba070[_0x185be1(0x56c)])),_0x42d632(0x1,(0x0,_0x1ba070[_0x185be1(0x1af)])(_0x1ba070[_0x185be1(0x30e)])),_0x42d632(0x2,(0x0,_0x1ba070[_0x185be1(0x1af)])(_0x4a6d0b[_0x185be1(0x573)])),_0x42d632(0x3,(0x0,_0x1ba070['Inject'])(_0x113ca7[_0x185be1(0x1f5)]))],_0x5ad7a4);let _0x3940f9=class extends _0x1ba070['Disposable']{constructor(_0x2f7d6c,_0xf4ebb4){const _0x125d94=_0x185be1;super(),this['_renderService']=_0xf4ebb4,this[_0x125d94(0x3d7)](_0x2f7d6c[_0x125d94(0x39e)](this));}[_0x185be1(0x314)](_0x56c444){const _0xb23da7=_0x185be1;return _0xb23da7(0x2ac)in _0x56c444&&_0xb23da7(0x50c)in _0x56c444;}[_0x185be1(0x21f)](_0x1818dc,_0x12f592){const _0x300efe=_0x185be1;return this[_0x300efe(0x34f)][_0x300efe(0x21f)](_0x1818dc['getId'](),_0x12f592);}};_0x3940f9=_0x11ef44([_0x42d632(0x0,(0x0,_0x1ba070[_0x185be1(0x1af)])(_0x37f706[_0x185be1(0x2f0)])),_0x42d632(0x1,(0x0,_0x1ba070[_0x185be1(0x1af)])(_0x17894a))],_0x3940f9);let _0x33d9ac=class extends _0x1ba070[_0x185be1(0x521)]{constructor(_0x391b80=_0x3e134f,_0x52f8ec,_0x29fa10,_0x194775){const _0x5cfc07=_0x185be1;super(),this[_0x5cfc07(0x1c6)]=_0x391b80,this[_0x5cfc07(0x48d)]=_0x52f8ec,this[_0x5cfc07(0x4cc)]=_0x29fa10,this[_0x5cfc07(0x403)]=_0x194775;let {..._0x2aad1d}=(0x0,_0x1ba070[_0x5cfc07(0x2a5)])({},_0x3e134f,this['_config']);this[_0x5cfc07(0x4cc)]['setConfig'](_0x130aa7,_0x2aad1d),this[_0x5cfc07(0x56f)]();}[_0x185be1(0x43a)](){const _0x2fe5e4=_0x185be1;let _0x1714dd=[[_0x55b2f6],[_0x24cbf9,{'useClass':_0x27af68}],[_0xd413d,{'useClass':_0x3fe827}],[_0x437b6a],[_0x17894a],[_0x3940f9],[_0x272d0f],[_0x3ca18e],[_0x198776],[_0x2350ba],[_0x1d1094],[_0x5ad7a4]],_0x102046=[[_0x55b2f6],[_0x272d0f],[_0x198776],[_0x3ca18e],[_0x3940f9],[_0x24cbf9],[_0x2350ba],[_0x1d1094],[_0x5ad7a4]];_0x1714dd[_0x2fe5e4(0x55c)](_0x1c4354=>this[_0x2fe5e4(0x48d)][_0x2fe5e4(0x221)](_0x1c4354)),(0x0,_0x1ba070['touchDependencies'])(this[_0x2fe5e4(0x48d)],_0x102046);}[_0x185be1(0x3e7)](){const _0x332dca=_0x185be1;var _0x1879d0;(_0x1879d0=this[_0x332dca(0x48d)]['get'](_0x272d0f))==null||_0x1879d0['initPanel']();}['_initCommands'](){const _0x680dbc=_0x185be1;[_0x1b45e5,_0x272d7b][_0x680dbc(0x55c)](_0x167d1d=>this[_0x680dbc(0x3d7)](this['_commandService'][_0x680dbc(0x512)](_0x167d1d)));}};_0x3d73b3(_0x33d9ac,'type',_0x1ba070[_0x185be1(0x203)][_0x185be1(0x2da)]),_0x3d73b3(_0x33d9ac,_0x185be1(0x2a8),_0x185be1(0x2b5)),_0x3d73b3(_0x33d9ac,_0x185be1(0x51a),_0x3a2800),_0x3d73b3(_0x33d9ac,_0x185be1(0x477),_0x23c060),_0x33d9ac=_0x11ef44([(0x0,_0x1ba070['DependentOn'])(_0x427f18[_0x185be1(0x204)],_0x135c9c[_0x185be1(0x53b)],_0x1d47e2[_0x185be1(0x1ad)],_0x4a6d0b[_0x185be1(0x369)],_0x302521[_0x185be1(0x4c8)],_0x37f706['UniverChartMobileUIPlugin'],_0x113ca7[_0x185be1(0x4f1)],_0x2cd04e[_0x185be1(0x3c9)],_0x53e756[_0x185be1(0x3b5)],_0x21688c[_0x185be1(0x470)]),_0x42d632(0x1,(0x0,_0x1ba070['Inject'])(_0x1ba070[_0x185be1(0x32e)])),_0x42d632(0x2,_0x1ba070[_0x185be1(0x2e4)]),_0x42d632(0x3,_0x1ba070['ICommandService'])],_0x33d9ac);let _0x21e63e={'scaleX':0x1,'scaleY':0x1};function _0x2ed8c6(_0x1d015d){let _0x33679e=_0x1d015d['nativeEvent'];return _0x33679e instanceof MouseEvent?_0x33679e:void 0x0;}function _0x3f2c65(_0x1a469e){const _0x257975=_0x185be1;let _0x1f3144=_0x1a469e[_0x257975(0x36c)],_0x2a2efc=_0x1f3144==null?void 0x0:_0x1f3144[_0x257975(0x22e)];return _0x2a2efc instanceof Element?_0x2a2efc:void 0x0;}function _0x3ef814(_0x39fe75){var _0x2ae5e1;return(_0x2ae5e1=_0x3f2c65(_0x39fe75))==null?void 0x0:_0x2ae5e1['getBoundingClientRect']();}function _0x24cbed(_0x30a918){const _0x34d495=_0x185be1;return _0x30a918[_0x34d495(0x2bf)]||_0x30a918['right']-_0x30a918[_0x34d495(0x4e4)];}function _0x5632b6(_0x564e5d){const _0x524ea4=_0x185be1;return _0x564e5d[_0x524ea4(0x2d7)]||_0x564e5d[_0x524ea4(0x3e3)]-_0x564e5d['top'];}function _0xd4405(_0x10e780,_0x2e02a2){const _0x4e6a92=_0x185be1;let _0xd43d9a=_0x10e780[_0x4e6a92(0x19f)]||(_0x10e780 instanceof HTMLElement?_0x10e780[_0x4e6a92(0x47a)]:0x0),_0x5bbbd2=_0x10e780[_0x4e6a92(0x490)]||(_0x10e780 instanceof HTMLElement?_0x10e780[_0x4e6a92(0x3e9)]:0x0),_0x57bb21=_0x24cbed(_0x2e02a2),_0xb184fd=_0x5632b6(_0x2e02a2);return{'scaleX':_0xd43d9a>0x0&&_0x57bb21>0x0?_0x57bb21/_0xd43d9a:_0x21e63e['scaleX'],'scaleY':_0x5bbbd2>0x0&&_0xb184fd>0x0?_0xb184fd/_0x5bbbd2:_0x21e63e[_0x4e6a92(0x22b)]};}function _0x118688(_0x560e24,_0xaecb3b,_0x3ab594){const _0x4416a4=_0x185be1;return{'left':_0x560e24[_0x4416a4(0x4e4)]+_0xaecb3b['left']*_0x3ab594[_0x4416a4(0x2b8)],'right':_0x560e24['left']+_0xaecb3b[_0x4416a4(0x411)]*_0x3ab594['scaleX'],'top':_0x560e24['top']+_0xaecb3b[_0x4416a4(0x2e8)]*_0x3ab594[_0x4416a4(0x22b)],'bottom':_0x560e24[_0x4416a4(0x2e8)]+_0xaecb3b[_0x4416a4(0x3e3)]*_0x3ab594['scaleY']};}function _0x9ec622(_0x2d819f){const _0x4785b9=_0x185be1;let _0x7dba25=_0x3f2c65(_0x2d819f),_0x4aaf9f=_0x2d819f['hit'][_0x4785b9(0x402)];if(_0x7dba25&&_0x4aaf9f){let _0x4fba48=_0x7dba25['getBoundingClientRect']();return()=>{const _0x5c4cf9=_0x4785b9;let _0x511998=_0x7dba25['getBoundingClientRect']();return(_0x7dba25[_0x5c4cf9(0x1f3)]||_0x24cbed(_0x511998)>0x0||_0x5632b6(_0x511998)>0x0)&&(_0x4fba48=_0x511998),_0x118688(_0x4fba48,_0x4aaf9f,_0xd4405(_0x7dba25,_0x4fba48));};}return()=>{const _0x4f3878=_0x4785b9;let _0x11a5f5=_0x3ef814(_0x2d819f);if(_0x11a5f5&&_0x4aaf9f)return _0x118688(_0x11a5f5,_0x4aaf9f,_0x7dba25?_0xd4405(_0x7dba25,_0x11a5f5):_0x21e63e);let _0x2750b3=_0x2ed8c6(_0x2d819f),_0x31f3ef=_0x7dba25&&_0x11a5f5?_0xd4405(_0x7dba25,_0x11a5f5):_0x21e63e,_0x595750=(_0x2750b3==null?void 0x0:_0x2750b3[_0x4f3878(0x498)])??(_0x11a5f5?_0x11a5f5['left']+_0x2d819f[_0x4f3878(0x44e)]['x']*_0x31f3ef['scaleX']:_0x2d819f[_0x4f3878(0x44e)]['x']),_0x2395d1=(_0x2750b3==null?void 0x0:_0x2750b3['clientY'])??(_0x11a5f5?_0x11a5f5[_0x4f3878(0x2e8)]+_0x2d819f[_0x4f3878(0x44e)]['y']*_0x31f3ef['scaleY']:_0x2d819f[_0x4f3878(0x44e)]['y']);return{'left':_0x595750,'right':_0x595750+0x1,'top':_0x2395d1,'bottom':_0x2395d1+0x1};};}function _0x242ee3(_0x32e2a8){const _0x195cc6=_0x185be1;return typeof _0x32e2a8==_0x195cc6(0x58b)&&Number['isFinite'](_0x32e2a8);}function _0x2de7b3(_0x4c900d){if(!_0x4c900d||typeof _0x4c900d!='object')return!0x0;let {startX:_0x383fb1,endX:_0x28df9f,startY:_0x322b88,endY:_0x871ea3}=_0x4c900d;return!_0x242ee3(_0x383fb1)||!_0x242ee3(_0x28df9f)||!_0x242ee3(_0x322b88)||!_0x242ee3(_0x871ea3)||_0x28df9f-_0x383fb1>0x2&&_0x871ea3-_0x322b88>0x2;}function _0x1d2db0(_0xcee359){const _0x1ad106=_0x185be1;return _0xcee359['right']<=_0xcee359[_0x1ad106(0x4e4)]||_0xcee359[_0x1ad106(0x3e3)]<=_0xcee359[_0x1ad106(0x2e8)]?!0x1:typeof window>'u'||_0xcee359[_0x1ad106(0x411)]>0x0&&_0xcee359['bottom']>0x0&&_0xcee359[_0x1ad106(0x4e4)]<window['innerWidth']&&_0xcee359[_0x1ad106(0x2e8)]<window[_0x1ad106(0x1fe)];}function _0x3b8d0f(_0x41aa09){const _0xc9badf=_0x185be1;var _0x229965;return _0x41aa09==null||(_0x229965=_0x41aa09['getValue'])==null?void 0x0:_0x229965[_0xc9badf(0x371)](_0x41aa09);}function _0x5cbd1c(_0x9a2a85,_0x1c80f5,_0x6eda6e){const _0xd35ce5=_0x185be1;let _0x6d95d1=_0x9ec622(_0x9a2a85),_0x33456f=_0x3b8d0f(_0x1c80f5),_0x2534a7=_0x6d95d1(),_0x2ce8f3=new _0x5e3636[(_0xd35ce5(0x2b0))](_0x2534a7),_0x13fad3=new _0x1ba070[(_0xd35ce5(0x20b))](),_0x2d05cf=!0x1,_0x19eebe=!0x1,_0x284cb5=_0x2319fc=>_0x2de7b3(_0x33456f)&&_0x1d2db0(_0x2319fc),_0x2ca0ae=()=>{_0x19eebe||_0x2d05cf||(_0x19eebe=!0x0,queueMicrotask(()=>{if(_0x19eebe=!0x1,!_0x2d05cf){let _0x3172ee=_0x6d95d1();if(!_0x284cb5(_0x3172ee)){_0x6eda6e();return;}_0x2ce8f3['next'](_0x3172ee);}}));};return _0x1c80f5&&_0x13fad3[_0xd35ce5(0x221)](_0x1c80f5['subscribe'](_0x586d0f=>{_0x33456f=_0x586d0f,_0x2ca0ae();})),typeof window<'u'&&_0x13fad3[_0xd35ce5(0x221)]((0x0,_0x5e3636[_0xd35ce5(0x2a5)])((0x0,_0x5e3636['fromEvent'])(window,_0xd35ce5(0x1a3),{'capture':!0x0}),(0x0,_0x5e3636[_0xd35ce5(0x4c0)])(window,'resize'))['pipe']((0x0,_0x5e3636[_0xd35ce5(0x25a)])(0x10))[_0xd35ce5(0x17f)](_0x2ca0ae)),{'initialRect':_0x2534a7,'anchorRect$':_0x2ce8f3['asObservable'](),'visible':_0x284cb5(_0x2534a7),'dispose':()=>{const _0x47b7c7=_0xd35ce5;_0x2d05cf=!0x0,_0x13fad3['dispose'](),_0x2ce8f3[_0x47b7c7(0x357)]();}};}let _0x4343c9='sheets-chart-element-float-menu',_0x463620=class extends _0x1ba070[_0x185be1(0x27c)]{constructor(_0x25fe3c,_0x18566d,_0x1cd18a,_0x2febe2,_0x1f99c1,_0x597968,_0x17bb34,_0x5c84a1,_0x25f17d){const _0x25b098=_0x185be1;super(),this['_chartModelService']=_0x25fe3c,this['_chartRenderService']=_0x18566d,this['_chartHostProvider']=_0x1cd18a,this[_0x25b098(0x4c7)]=_0x2febe2,this[_0x25b098(0x1ff)]=_0x1f99c1,this['_chartUIService']=_0x597968,this[_0x25b098(0x4e9)]=_0x17bb34,this[_0x25b098(0x403)]=_0x5c84a1,this[_0x25b098(0x48d)]=_0x25f17d,_0x3d73b3(this,'_popupDisposable',null),_0x3d73b3(this,_0x25b098(0x1e9),null),_0x3d73b3(this,_0x25b098(0x48a),null),this[_0x25b098(0x1d4)](),this['_subscribeChartEvents']();}[_0x185be1(0x4d8)](){const _0x2ca51c=_0x185be1;this[_0x2ca51c(0x317)](),super['dispose']();}['_registerAdapter'](){const _0x49323f=_0x185be1;let _0xf03ab1=(0x0,_0x37f706[_0x49323f(0x502)])({'chartUIService':this[_0x49323f(0x44d)],'getHostAdapter':_0x58ac64=>{const _0x3fed8d=_0x49323f;let _0x475528=this[_0x3fed8d(0x57a)]['getChartModel'](_0x58ac64[_0x3fed8d(0x4d9)]);if(_0x475528&&_0x58ac64[_0x3fed8d(0x50c)])return new _0x37f706[(_0x3fed8d(0x212))](_0x475528,new _0x113ca7[(_0x3fed8d(0x494))]({'unitId':_0x58ac64[_0x3fed8d(0x2ac)],'subUnitId':_0x58ac64[_0x3fed8d(0x50c)],'chartId':_0x58ac64[_0x3fed8d(0x4d9)],'injector':this[_0x3fed8d(0x48d)]}));},'close':()=>this[_0x49323f(0x317)](),'openFullPanel':_0x56b019=>{const _0x3de08f=_0x49323f;let {unitId:_0x3fbd27,subUnitId:_0x2f59b1,drawingId:_0x15bb11,chartId:_0x3a72c0}=_0x56b019,_0x1dcdd1=(0x0,_0x37f706[_0x3de08f(0x4a0)])(_0x56b019['target']);this[_0x3de08f(0x403)][_0x3de08f(0x3ab)](_0x272d7b['id'],{'unitId':_0x3fbd27,'subUnitId':_0x2f59b1??'','drawingId':_0x15bb11??_0x3a72c0,..._0x1dcdd1?{'route':_0x1dcdd1}:{}});}});this[_0x49323f(0x3d7)](this['_adapterRegistry'][_0x49323f(0x39e)](_0x4343c9,_0xf03ab1));}[_0x185be1(0x44b)](){const _0x24152e=_0x185be1;this['disposeWithMe'](this[_0x24152e(0x57a)]['chartModelAdded$'][_0x24152e(0x17f)](_0x1b2457=>{const _0x564cbe=_0x24152e;let _0x5076d0=new _0x1ba070[(_0x564cbe(0x20b))]();_0x5076d0[_0x564cbe(0x221)](this['_chartRenderService']['on'](_0x1b2457['id'],'click',_0xe033c=>{const _0x187d37=_0x564cbe;this[_0x187d37(0x4fa)](_0x1b2457['id'],_0xe033c);})),_0x5076d0[_0x564cbe(0x221)](this[_0x564cbe(0x3cf)]['on'](_0x1b2457['id'],_0x564cbe(0x372),()=>{const _0x54eaee=_0x564cbe;this[_0x54eaee(0x240)](_0x1b2457['id']);})),_0x1b2457['onDispose'](()=>{const _0x5ec7a0=_0x564cbe;_0x5076d0[_0x5ec7a0(0x4d8)](),this[_0x5ec7a0(0x429)](_0x1b2457['id']);}),this['disposeWithMe'](_0x5076d0);})),this['disposeWithMe']((0x0,_0x5e3636[_0x24152e(0x595)])([this[_0x24152e(0x57a)]['activeChartModel$'],this[_0x24152e(0x44d)][_0x24152e(0x346)]])[_0x24152e(0x17f)](([_0x55adbc,_0x5b999b])=>{const _0x1e0102=_0x24152e;(!_0x5b999b||this[_0x1e0102(0x1e9)]&&(_0x55adbc==null?void 0x0:_0x55adbc['id'])!==this['_popupChartId'])&&this[_0x1e0102(0x317)]();})),this['disposeWithMe'](this[_0x24152e(0x1ff)][_0x24152e(0x22f)][_0x24152e(0x17f)](({id:_0x356958})=>{const _0x48911a=_0x24152e;this[_0x48911a(0x429)](_0x356958);})),this[_0x24152e(0x3d7)](this[_0x24152e(0x1ff)]['remove$'][_0x24152e(0x17f)](({id:_0x1a781b})=>{this['_clearSelectedTarget'](_0x1a781b);})),this[_0x24152e(0x3d7)](this['_chartHostProvider'][_0x24152e(0x271)][_0x24152e(0x17f)](_0xa5de23=>{const _0xa15802=_0x24152e;this[_0xa15802(0x429)](_0xa5de23);}));}[_0x185be1(0x240)](_0x224caa){const _0x5712d4=_0x185be1;if(this['_chartUIService']['chartEditorOpen'])return;let _0x5ce5b4=this[_0x5712d4(0x57a)]['getChartModel'](_0x224caa),_0x51c6d4=this[_0x5712d4(0x1ff)]['getFloatDomInfo'](_0x224caa);_0x5ce5b4&&_0x51c6d4&&this[_0x5712d4(0x403)][_0x5712d4(0x3ab)](_0x272d7b['id'],{'unitId':_0x51c6d4[_0x5712d4(0x2ac)],'subUnitId':_0x51c6d4[_0x5712d4(0x50c)]??'','drawingId':_0x224caa});}[_0x185be1(0x4fa)](_0x38e501,_0x1ace15){const _0x4b77dc=_0x185be1;if(!this[_0x4b77dc(0x44d)]['isElementEditModeActive'](_0x38e501))return;let _0x56c6a5=this[_0x4b77dc(0x57a)][_0x4b77dc(0x214)](_0x38e501),_0x231924=_0x56c6a5?_0x25eb04(_0x56c6a5,_0x1ace15[_0x4b77dc(0x285)]):void 0x0;if(!_0x231924){this['_chartUIService']['clearPanelRoute'](),this['_closePopup']();return;}let _0x32ac7f=this[_0x4b77dc(0x1ff)][_0x4b77dc(0x277)](_0x38e501);if(!_0x56c6a5||!_0x32ac7f){this['_chartUIService'][_0x4b77dc(0x244)](),this['_closePopup']();return;}let _0x2a42d0=JSON['stringify']([_0x32ac7f[_0x4b77dc(0x2ac)],_0x32ac7f[_0x4b77dc(0x50c)],_0x38e501,_0x231924[_0x4b77dc(0x22e)]]);if(this[_0x4b77dc(0x2c6)]&&this[_0x4b77dc(0x48a)]===_0x2a42d0||(this[_0x4b77dc(0x44d)][_0x4b77dc(0x2fc)](_0x38e501,_0x231924[_0x4b77dc(0x455)]),this[_0x4b77dc(0x317)](),!_0x231924[_0x4b77dc(0x21b)]))return;let _0x244dc3=_0x5cbd1c(_0x1ace15,_0x32ac7f[_0x4b77dc(0x541)],()=>this['_clearHiddenSelectedTarget'](_0x38e501));if(!_0x244dc3['visible']){_0x244dc3[_0x4b77dc(0x4d8)]();return;}let _0x533bd3=this[_0x4b77dc(0x4c7)][_0x4b77dc(0x1b3)](_0x244dc3[_0x4b77dc(0x45d)],_0x244dc3[_0x4b77dc(0x467)],{'componentKey':_0x37f706[_0x4b77dc(0x399)],'constrainToCanvas':!0x0,'direction':_0x4b77dc(0x439),'offset':[0x0,0x8],'extraProps':{'unitId':_0x32ac7f[_0x4b77dc(0x2ac)],'subUnitId':_0x32ac7f['subUnitId'],'chartId':_0x38e501,'drawingId':_0x38e501,'element':_0x1ace15[_0x4b77dc(0x285)],'target':_0x231924[_0x4b77dc(0x22e)],'adapterKey':_0x4343c9}},_0x32ac7f[_0x4b77dc(0x2ac)],_0x32ac7f[_0x4b77dc(0x50c)])??null;if(!_0x533bd3){_0x244dc3['dispose']();return;}let _0x5c63b9=new _0x1ba070[(_0x4b77dc(0x20b))]();_0x5c63b9[_0x4b77dc(0x221)](_0x533bd3),_0x5c63b9[_0x4b77dc(0x221)](_0x244dc3),this['_popupDisposable']=_0x5c63b9,this[_0x4b77dc(0x1e9)]=_0x38e501,this[_0x4b77dc(0x48a)]=_0x2a42d0;}[_0x185be1(0x317)](){const _0x52d89b=_0x185be1;var _0x1a6d99;(_0x1a6d99=this[_0x52d89b(0x2c6)])==null||_0x1a6d99[_0x52d89b(0x4d8)](),this[_0x52d89b(0x2c6)]=null,this[_0x52d89b(0x1e9)]=null,this[_0x52d89b(0x48a)]=null;}[_0x185be1(0x429)](_0x18dd8b){const _0x571951=_0x185be1;(this[_0x571951(0x44d)][_0x571951(0x476)](_0x18dd8b)||this[_0x571951(0x1e9)]===_0x18dd8b)&&(this[_0x571951(0x44d)]['clearPanelRoute'](),this['_popupChartId']===_0x18dd8b&&this[_0x571951(0x317)]());}[_0x185be1(0x447)](_0xa6e898){const _0x4e730e=_0x185be1;this[_0x4e730e(0x429)](_0xa6e898),this[_0x4e730e(0x44d)][_0x4e730e(0x476)](_0xa6e898)&&(this['_chartRenderService'][_0x4e730e(0x4e7)](_0xa6e898,!0x1),this['_chartRenderService'][_0x4e730e(0x4e7)](_0xa6e898,!0x0));}};_0x463620=_0x11ef44([_0x42d632(0x0,(0x0,_0x1ba070[_0x185be1(0x1af)])(_0x113ca7[_0x185be1(0x47d)])),_0x42d632(0x1,(0x0,_0x1ba070[_0x185be1(0x1af)])(_0x17894a)),_0x42d632(0x2,_0xd413d),_0x42d632(0x3,(0x0,_0x1ba070['Inject'])(_0x53e756[_0x185be1(0x445)])),_0x42d632(0x4,(0x0,_0x1ba070[_0x185be1(0x1af)])(_0x2cd04e[_0x185be1(0x36a)])),_0x42d632(0x5,_0x24cbf9),_0x42d632(0x6,(0x0,_0x1ba070[_0x185be1(0x1af)])(_0x37f706['ChartElementFloatMenuAdapterRegistry'])),_0x42d632(0x7,_0x1ba070[_0x185be1(0x56c)]),_0x42d632(0x8,(0x0,_0x1ba070['Inject'])(_0x1ba070[_0x185be1(0x32e)]))],_0x463620);function _0x182c49({ref:_0x5dd9ab,..._0x349a09}){const _0x178ad8=_0x185be1;let {preserveStrokeWidth:_0x5d235e,icon:_0x1bc32b,id:_0x4f3afd,className:_0x2cfdfe,extend:_0x29ac6a,..._0x135fcc}=_0x349a09,_0x19c71b=('univerjs-icon\x20univerjs-icon-'+_0x4f3afd+'\x20'+(_0x2cfdfe||''))[_0x178ad8(0x47e)](),_0x2394fd='_'+(0x0,_0x119d22[_0x178ad8(0x451)])(),_0x6328d4=(0x0,_0x119d22[_0x178ad8(0x247)])(null);return(0x0,_0x119d22[_0x178ad8(0x387)])(_0x5dd9ab,()=>_0x6328d4[_0x178ad8(0x25d)]),(0x0,_0x119d22['useLayoutEffect'])(()=>{const _0x579026=_0x178ad8;if(_0x5d235e&&_0x6328d4[_0x579026(0x25d)]&&_0x6328d4[_0x579026(0x25d)]['localName']===_0x1bc32b['tag'])return _0x153657(_0x6328d4[_0x579026(0x25d)]);},[_0x5d235e,_0x1bc32b]),_0x44bc3d(_0x1bc32b,''+_0x4f3afd,{'defIds':_0x1bc32b[_0x178ad8(0x2b2)],'idSuffix':_0x2394fd},{'ref':_0x6328d4,'className':_0x19c71b,..._0x135fcc},_0x29ac6a);}function _0x44bc3d(_0xe4b1ba,_0x426e08,_0x48f15b,_0x3f5ad7,_0x514442){const _0x110b6e=_0x185be1;return(0x0,_0x119d22[_0x110b6e(0x202)])(_0xe4b1ba['tag'],{'key':_0x426e08,..._0x1e27dc(_0xe4b1ba,_0x48f15b,_0x514442),..._0x3f5ad7},(_0x59f34a(_0xe4b1ba,_0x48f15b)[_0x110b6e(0x2ae)]||[])['map']((_0x4b0b8a,_0x540836)=>_0x44bc3d(_0x4b0b8a,_0x426e08+'-'+_0xe4b1ba['tag']+'-'+_0x540836,_0x48f15b,void 0x0,_0x514442)));}function _0x1e27dc(_0xacf82,_0x5a56e6,_0x175caf){const _0x1ec90b=_0x185be1;let _0xd11172={..._0xacf82['attrs']};_0x175caf!=null&&_0x175caf['colorChannel1']&&_0xd11172[_0x1ec90b(0x513)]==='colorChannel1'&&(_0xd11172[_0x1ec90b(0x513)]=_0x175caf[_0x1ec90b(0x576)]),_0x175caf!=null&&_0x175caf[_0x1ec90b(0x576)]&&_0xd11172[_0x1ec90b(0x4cd)]===_0x1ec90b(0x576)&&(_0xd11172['stroke']=_0x175caf[_0x1ec90b(0x576)]),_0xacf82[_0x1ec90b(0x499)]==='mask'&&_0xd11172['id']&&(_0xd11172['id']+=_0x5a56e6['idSuffix']),Object['entries'](_0xd11172)[_0x1ec90b(0x55c)](([_0x48ed00,_0x3ea8b1])=>{const _0x355aab=_0x1ec90b;_0x48ed00===_0x355aab(0x3c4)&&typeof _0x3ea8b1=='string'&&(_0xd11172[_0x48ed00]=_0x3ea8b1[_0x355aab(0x386)](/url\(#(.*)\)/,_0x355aab(0x4a4)+_0x5a56e6[_0x355aab(0x265)]+')'));});let {defIds:_0x272dfb}=_0x5a56e6;return!_0x272dfb||_0x272dfb[_0x1ec90b(0x36b)]===0x0||(_0xacf82['tag']===_0x1ec90b(0x4fc)&&_0xd11172['xlink:href']&&(_0xd11172[_0x1ec90b(0x33e)]+=_0x5a56e6[_0x1ec90b(0x265)]),Object[_0x1ec90b(0x1e5)](_0xd11172)[_0x1ec90b(0x55c)](([_0x54cec9,_0x259a4d])=>{const _0x3b4f15=_0x1ec90b;typeof _0x259a4d=='string'&&(_0xd11172[_0x54cec9]=_0x259a4d['replace'](/url\(#(.*)\)/,_0x3b4f15(0x4a4)+_0x5a56e6['idSuffix']+')'));})),_0xd11172;}function _0x59f34a(_0x5b4e32,_0x16a6b1){const _0x4b8024=_0x185be1;var _0xb1d0bd;let {defIds:_0xaf4fab}=_0x16a6b1;return!_0xaf4fab||_0xaf4fab[_0x4b8024(0x36b)]===0x0?_0x5b4e32:_0x5b4e32[_0x4b8024(0x499)]===_0x4b8024(0x44a)&&(_0xb1d0bd=_0x5b4e32[_0x4b8024(0x2ae)])!=null&&_0xb1d0bd[_0x4b8024(0x36b)]?{..._0x5b4e32,'children':_0x5b4e32[_0x4b8024(0x2ae)]['map'](_0x38b3d5=>typeof _0x38b3d5[_0x4b8024(0x222)]['id']=='string'&&_0xaf4fab&&_0xaf4fab[_0x4b8024(0x242)](_0x38b3d5['attrs']['id'])?{..._0x38b3d5,'attrs':{..._0x38b3d5[_0x4b8024(0x222)],'id':_0x38b3d5[_0x4b8024(0x222)]['id']+_0x16a6b1[_0x4b8024(0x265)]}}:_0x38b3d5)}:_0x5b4e32;}function _0x153657(_0x590911){const _0x5263bb=_0x185be1;let _0x26037c=_0x590911['viewBox'][_0x5263bb(0x2fe)],_0x3af486=Math[_0x5263bb(0x18a)](_0x26037c[_0x5263bb(0x2bf)],_0x26037c[_0x5263bb(0x2d7)]);if(!Number['isFinite'](_0x3af486)||_0x3af486<=0x0||_0x26037c[_0x5263bb(0x2bf)]<=0x0||_0x26037c[_0x5263bb(0x2d7)]<=0x0)return()=>void 0x0;let _0x2cf2b2=0x10/_0x3af486,_0x578e64=Array['from'](_0x590911[_0x5263bb(0x37a)](_0x5263bb(0x307)))[_0x5263bb(0x1f6)](_0x1bec4e=>{const _0x1236e3=_0x5263bb;let _0x3ff320=getComputedStyle(_0x1bec4e),_0x15cb0c=Number[_0x1236e3(0x404)](_0x3ff320[_0x1236e3(0x1c8)]);return _0x3ff320['stroke']==='none'||Number[_0x1236e3(0x404)](_0x3ff320[_0x1236e3(0x32d)])===0x0||_0x3ff320['vectorEffect']===_0x1236e3(0x3b9)||!Number['isFinite'](_0x15cb0c)||_0x15cb0c<=0x0?[]:[{'element':_0x1bec4e,'hadStyleAttribute':_0x1bec4e[_0x1236e3(0x2b6)](_0x1236e3(0x1c3)),'originalStrokeWidth':_0x15cb0c,'strokeWidth':_0x4b7ae9(_0x1bec4e[_0x1236e3(0x1c3)],'stroke-width')}];})['map'](_0x3745f6=>({'appliedStrokeWidth':null,'element':_0x3745f6[_0x5263bb(0x352)],'hadStyleAttribute':_0x3745f6[_0x5263bb(0x563)],'isReleased':!0x1,'originalStrokeWidth':_0x3745f6['originalStrokeWidth'],'strokeWidth':_0x3745f6[_0x5263bb(0x1c8)]}));if(_0x578e64['length']===0x0)return()=>void 0x0;let _0x1e956d=(_0x37b5ad,_0x2706be)=>{const _0x7a78a4=_0x5263bb;if(_0x26037c[_0x7a78a4(0x2bf)]<=0x0||_0x26037c['height']<=0x0||_0x37b5ad<=0x0||_0x2706be<=0x0)return;let _0x5b1945=Math[_0x7a78a4(0x56b)](_0x37b5ad/_0x26037c[_0x7a78a4(0x2bf)],_0x2706be/_0x26037c[_0x7a78a4(0x2d7)]);!Number['isFinite'](_0x5b1945)||_0x5b1945<=0x0||_0x578e64['forEach'](_0x2c3ceb=>{const _0x126983=_0x7a78a4;if(_0x2c3ceb[_0x126983(0x1ca)])return;if(_0x2c3ceb[_0x126983(0x4d2)]!==null&&(_0x2c3ceb[_0x126983(0x352)][_0x126983(0x1c3)]['getPropertyValue']('stroke-width')!==_0x2c3ceb[_0x126983(0x4d2)]||_0x2c3ceb[_0x126983(0x352)][_0x126983(0x1c3)]['getPropertyPriority'](_0x126983(0x257))!==_0x2c3ceb[_0x126983(0x1c8)][_0x126983(0x1a5)])){_0x2c3ceb[_0x126983(0x4d2)]=null,_0x2c3ceb['isReleased']=!0x0;return;}let _0xfbefcb=_0x2c3ceb[_0x126983(0x388)]*_0x2cf2b2/_0x5b1945,_0x2dce5c=Number(_0xfbefcb[_0x126983(0x25f)](0xc))+'px';_0x2c3ceb[_0x126983(0x352)][_0x126983(0x1c3)][_0x126983(0x4da)](_0x126983(0x257),_0x2dce5c,_0x2c3ceb[_0x126983(0x1c8)][_0x126983(0x1a5)]),_0x2c3ceb['appliedStrokeWidth']=_0x2dce5c;});},_0x2dc694=_0x590911['getBoundingClientRect']();_0x1e956d(_0x2dc694[_0x5263bb(0x2bf)],_0x2dc694[_0x5263bb(0x2d7)]);let _0x26312d=typeof ResizeObserver>'u'?null:new ResizeObserver(_0x3b117c=>{const _0x227902=_0x5263bb;if(_0x3b117c[_0x227902(0x3fc)](_0x85a2ef=>_0x85a2ef[_0x227902(0x22e)]===_0x590911)){let _0xc4ff18=_0x590911[_0x227902(0x3a0)]();_0x1e956d(_0xc4ff18[_0x227902(0x2bf)],_0xc4ff18[_0x227902(0x2d7)]);}});return _0x26312d==null||_0x26312d['observe'](_0x590911),()=>{const _0x2b009e=_0x5263bb;_0x26312d==null||_0x26312d[_0x2b009e(0x35b)](),_0x578e64['forEach'](_0x55b0ea=>{const _0x3273fa=_0x2b009e;_0x55b0ea[_0x3273fa(0x4d2)]!==null&&(_0x570277(_0x55b0ea[_0x3273fa(0x352)][_0x3273fa(0x1c3)],_0x3273fa(0x257),_0x55b0ea[_0x3273fa(0x4d2)],_0x55b0ea[_0x3273fa(0x1c8)][_0x3273fa(0x1a5)],_0x55b0ea['strokeWidth']),!_0x55b0ea[_0x3273fa(0x563)]&&_0x55b0ea[_0x3273fa(0x352)]['style'][_0x3273fa(0x36b)]===0x0&&_0x55b0ea['element'][_0x3273fa(0x567)](_0x3273fa(0x1c3)));});};}function _0x4b7ae9(_0x4a0336,_0x542a14){const _0x12efa4=_0x185be1;return{'priority':_0x4a0336[_0x12efa4(0x57c)](_0x542a14),'value':_0x4a0336[_0x12efa4(0x2e9)](_0x542a14)};}function _0x570277(_0x5b59f3,_0x11b102,_0x54f359,_0x3d8782,_0x37581a){const _0x4287ef=_0x185be1;_0x5b59f3[_0x4287ef(0x2e9)](_0x11b102)===_0x54f359&&_0x5b59f3[_0x4287ef(0x57c)](_0x11b102)===_0x3d8782&&(_0x37581a[_0x4287ef(0x2a6)]?_0x5b59f3[_0x4287ef(0x4da)](_0x11b102,_0x37581a[_0x4287ef(0x2a6)],_0x37581a['priority']):_0x5b59f3[_0x4287ef(0x268)](_0x11b102));}_0x182c49[_0x185be1(0x344)]=_0x185be1(0x458);let _0x5862f1={'tag':_0x185be1(0x514),'attrs':{'xmlns':_0x185be1(0x4db),'fill':_0x185be1(0x3b6),'viewBox':'0\x200\x2016\x2016','width':_0x185be1(0x229),'height':'1em'},'children':[{'tag':_0x185be1(0x178),'attrs':{'fill':'currentColor','d':_0x185be1(0x1ac)}}]},_0x175fdc=(0x0,_0x119d22[_0x185be1(0x39d)])(function(_0x58e26d,_0x578ea6){const _0x25dca1=_0x185be1;return(0x0,_0x119d22['createElement'])(_0x182c49,Object[_0x25dca1(0x23c)]({},_0x58e26d,{'id':_0x25dca1(0x4f5),'ref':_0x578ea6,'icon':_0x5862f1}));});_0x175fdc[_0x185be1(0x344)]=_0x185be1(0x58d);let _0x5c48f7=class extends _0x1ba070[_0x185be1(0x27c)]{constructor(_0x217116,_0x1cf749){const _0x231968=_0x185be1;super(),this['_componentManager']=_0x217116,this['_iconManager']=_0x1cf749,this[_0x231968(0x177)](),this[_0x231968(0x2df)]();}['_registerIcons'](){const _0x10ff5f=_0x185be1;this[_0x10ff5f(0x3d7)](this[_0x10ff5f(0x574)][_0x10ff5f(0x39e)]({'PenIcon':_0x175fdc}));}[_0x185be1(0x2df)](){const _0x4469e1=_0x185be1;[[_0x209d81,_0x1fb49a]][_0x4469e1(0x55c)](([_0x2074c1,_0x22992b])=>{const _0x2764e1=_0x4469e1;this[_0x2764e1(0x3d7)](this[_0x2764e1(0x4ac)][_0x2764e1(0x39e)](_0x2074c1,_0x22992b));});}};_0x5c48f7=_0x11ef44([_0x42d632(0x0,(0x0,_0x1ba070[_0x185be1(0x1af)])(_0x21688c[_0x185be1(0x3e5)])),_0x42d632(0x1,(0x0,_0x1ba070[_0x185be1(0x1af)])(_0x21688c[_0x185be1(0x1d0)]))],_0x5c48f7);let _0x169178=class extends _0x1ba070[_0x185be1(0x521)]{constructor(_0x36e776=_0x3e134f,_0x560af7,_0x325d9b,_0x1bb772){const _0x339043=_0x185be1;super(),this['_config']=_0x36e776,this[_0x339043(0x48d)]=_0x560af7,this[_0x339043(0x4cc)]=_0x325d9b,this['_commandService']=_0x1bb772,_0x3d73b3(this,'_resolvedConfig',void 0x0);let {..._0x5c0078}=(0x0,_0x1ba070[_0x339043(0x2a5)])({},_0x3e134f,this['_config']);this[_0x339043(0x45f)]=_0x5c0078,this[_0x339043(0x4cc)][_0x339043(0x27a)](_0x130aa7,_0x5c0078),this['_initCommands']();}[_0x185be1(0x43a)](){const _0x8c7ce5=_0x185be1;this[_0x8c7ce5(0x48d)][_0x8c7ce5(0x221)]([_0x5c48f7]),this['_injector']['get'](_0x5c48f7);let _0x16f575=this[_0x8c7ce5(0x48d)],_0x489ea9=[[_0x24cbf9,{'useClass':_0x27af68}],[_0xd413d,{'useClass':_0x3fe827}],[_0x437b6a],[_0x17894a],[_0x3940f9],[_0x188c9f],[_0x3ca18e],[_0x198776],[_0x2350ba],[_0x1d1094],[_0x5ad7a4]],_0x30ae9c=[[_0x188c9f],[_0x198776],[_0x3ca18e],[_0x3940f9],[_0x24cbf9],[_0x2350ba],[_0x1d1094],[_0x5ad7a4]];this[_0x8c7ce5(0x45f)][_0x8c7ce5(0x35d)]&&(_0x489ea9[_0x8c7ce5(0x3be)]([_0x463620]),_0x30ae9c[_0x8c7ce5(0x3be)]([_0x463620])),_0x489ea9['forEach'](_0xabfdd6=>_0x16f575['add'](_0xabfdd6)),(0x0,_0x1ba070[_0x8c7ce5(0x3ed)])(this[_0x8c7ce5(0x48d)],_0x30ae9c);}[_0x185be1(0x3e7)](){const _0x5047d0=_0x185be1;var _0xbecac9;(_0xbecac9=this[_0x5047d0(0x48d)][_0x5047d0(0x442)](_0x188c9f))==null||_0xbecac9[_0x5047d0(0x368)]();}['_initCommands'](){const _0x48caf5=_0x185be1;[_0x1b45e5,_0xb862c8,_0xb06e29,_0x4c423d,_0x1468ca,_0x272d7b,_0x3007d3][_0x48caf5(0x55c)](_0x319ac3=>this[_0x48caf5(0x3d7)](this[_0x48caf5(0x403)][_0x48caf5(0x512)](_0x319ac3)));}};_0x3d73b3(_0x169178,_0x185be1(0x569),_0x1ba070[_0x185be1(0x203)][_0x185be1(0x2da)]),_0x3d73b3(_0x169178,'pluginName','UniverSheetsChartUIPlugin'),_0x3d73b3(_0x169178,_0x185be1(0x51a),_0x3a2800),_0x3d73b3(_0x169178,_0x185be1(0x477),_0x23c060),_0x169178=_0x11ef44([(0x0,_0x1ba070[_0x185be1(0x1d7)])(_0x427f18[_0x185be1(0x204)],_0x135c9c[_0x185be1(0x53b)],_0x1d47e2[_0x185be1(0x1ad)],_0x4a6d0b[_0x185be1(0x369)],_0x302521['UniverSheetsDrawingPlugin'],_0x37f706[_0x185be1(0x2ee)],_0x113ca7[_0x185be1(0x4f1)],_0x2cd04e['UniverSheetsDrawingUIPlugin'],_0x53e756['UniverSheetsUIPlugin']),_0x42d632(0x1,(0x0,_0x1ba070['Inject'])(_0x1ba070[_0x185be1(0x32e)])),_0x42d632(0x2,_0x1ba070[_0x185be1(0x2e4)]),_0x42d632(0x3,_0x1ba070[_0x185be1(0x56c)])],_0x169178),_0x30b554[_0x185be1(0x4f4)]=_0x272d7b,Object['defineProperty'](_0x30b554,_0x185be1(0x419),{'enumerable':!0x0,'get':function(){return _0x17894a;}}),_0x30b554['ISheetsChartUIService']=_0x24cbf9,_0x30b554[_0x185be1(0x566)]=_0x130aa7,Object[_0x185be1(0x1ae)](_0x30b554,_0x185be1(0x37d),{'enumerable':!0x0,'get':function(){return _0x188c9f;}}),_0x30b554[_0x185be1(0x2e6)]=_0x5b9097,Object['defineProperty'](_0x30b554,'SheetsChartUIService',{'enumerable':!0x0,'get':function(){return _0x27af68;}}),Object[_0x185be1(0x1ae)](_0x30b554,_0x185be1(0x508),{'enumerable':!0x0,'get':function(){return _0x33d9ac;}}),Object[_0x185be1(0x1ae)](_0x30b554,_0x185be1(0x2b5),{'enumerable':!0x0,'get':function(){return _0x169178;}}),_0x30b554['createChartElementPopupAnchorObserver']=_0x5cbd1c;}));
1
+ function _0x1afa(){const _0x103e95=['_getDrawingLayerRank','setSelectionRanges','_permissions','getRealBound','created$','ICanvasColorService','_univerInstanceService','handleActiveSubUnitChange','executeCommand','_draw','_pageFrameRender','circle,\x20ellipse,\x20line,\x20path,\x20polygon,\x20polyline,\x20rect,\x20text,\x20textPath,\x20tspan,\x20use','_reconcileChartResources','assign','_renderService','_chartHostMap','hasOwnProperty','barStyle','moveX','#-#','_chartSheetService','_releaseGesture','save','registerChartSheetPresentation','useChartEditorChartType','rightToLeft','depthAxis','UniverSheetsDrawingPlugin','_getChartSnapshotKey','_cancelDebouncedCallbacks','_getChartRenderMode','SheetPrintInterceptorService','Funnel','touchDependencies','DataOrientation','DEFAULT_CHART_TITLE_VALUES','_activeChartId','setTransform','featurePluginUngroupUpdate$','useEffect','_renderWhenConfigReady','getChartDataSource','switchMap','UniverProSheetsChart','series','lifecycle$','ChartModelService','_sheetsChartUIService','_scheduler','setProps','DEFAULT_CHART_PIE_VALUES','PREDEFINED_HOOK_NAME','SheetChartConfigAdapter','ILogService','_registerMenus','_frame','WorkbookEditablePermission','sheet.command.menu-insert-chart','_activateDataUpdateAnimation','string','_chartEventSubscriptions','_chartRenderMode','forEach','DEFAULT_CHART_TRENDLINE_VALUES','Relation','COMMA','render','_resolvedConfig','floatDomConfig','LS_CONFIG_KEY','Column','sheets-chart-ui.common.deleteChart','titleKey','Trendline','Plugin','order$','_pointerEvents','every','UniverSheetsUIPlugin','querySelectorAll','sheets-chart-ui.chartSheet.defaultName','eyelash-icon','onRendered','univer-my-1\x20univer-text-xs\x20univer-text-red-500','sequenceNodeType','ChartSheetService','zIndex','_canvasFloatDomService','setContextValue','disposeWithMe','_sidebarService','SheetsChartService','sheetId','InsertSheetsChartMutation','removeChartModel','originalStrokeWidth','mode','sheets-chart-ui.chartTypes.area','mountNode','showRangeSelectorDialog','ChartPieStyleSection','entries','generateRandomId','ChartWaterfallStyleSection','KeyCode','resolve','_renderBoundChart','undo','_version','ThemeService','chartRenderMode','onCommandExecuted','asObservable','_rangeSelectMode','_clearHiddenSelectedTarget','call','calcViewportInfo','onStarting','UniverSheetsDrawingMobileUIPlugin','chartTypeSupportsCapability','IMenuManagerService','unsubscribe','ChartEditorProvider','Checkbox','Waterfall','ChartHostAdapter','sheets-chart-ui.chartTypes.','Scatter','permissionCheckWithoutRange','_renderDebounceMap','sheet.chart.edit.panel','enableAdaptiveSize','NativeTextEditorShortcutBehavior','sheets-chart-ui.chartSheet.move.confirmAction','objects','sheets-chart-ui.common.openChartPanel','endX','_chartRenderService','SVG','from','getRenderUnitById','getActiveSheet','sheets-chart-ui.chartSheet.move.title','matches','DrawingApplyType','CHART_PAGE','resizeEnabled','subscribeConfigValue$','WorkbookRenameSheetPermission','CanvasFloatDomService','2898714jwgWDu','useChartEditorHasRightAxis','_shouldEnableChartElementEdit','engine','axis','position$','_debounceHandle','getRangeInfo','getSkeleton','registerCommandCheck','focusDrawing','updateFloatDom','setStyle','setConfig','_registerIcons','useState','getFocusedUnit','GROUP','DEFAULT_CHART_RELATION_VALUES','_shouldRenderLicenseWatermark','sheets-chart-ui.common.horizontalAxis','univer-overflow-hidden','_popupSessionKey','_menuManagerService','univer-size-6\x20univer-p-0','viewportScrollY','ChartTypeBits','CHART_ELEMENT_FLOAT_MENU_COMPONENT','fill','lineTo','UniverSheetsFormulaUIPlugin','ActionRow','Rect','SheetCanvasFloatDomManagerService','UniverDrawing','_drawChartFrame','clientX','OTHERS','resize','Data','ChartIndicatorLineSection','_handleDrawingDoubleClick','sheetChartDataAnimation','input,\x20textarea,\x20select,\x20[contenteditable=\x22true\x22]','ChartHeatmapStyleSection','DEFAULT_CHART_RADAR_VALUES','sheets-chart-ui.common.setup','_moveDialogUnitId','GlobalRangeSelectorService','hidePanel','showEmptyState','getColorFromTheme','Inject','target','auto','opacity','dom','naturalHeight','chartId','_generateChartCopy','sheets-chart-ui.permission.editErr','_closeMoveChartDialog','tab','_activateHostWrapper','getCurrentTypeOfUnit$','scrollToViewportPos','UniverSheetsDrawing','evented','defIds','use','ChartAxisSection','amd','sheets-chart-ui.common.dataRange','addClipboardHook','non-scaling-stroke','_executeChartUpdateSourceConfig','openMoveChartDialog','Gauge','_chartSheetPresentation','url(#$1','CHART','_rect','chartObject','resolveChartCreationIntent','isRowDirection','allSeriesStyle','_lastRenderInputMap','_reconcileQueued','_openEditPanelByDoubleClick','getDocumentDataModel','univer-shrink-0','includes','WaterfallSeries','_drawChartImage','Pareto','category','_resolveLayout','_localeService','getRect','ChartFrameLayout','_disposeImage','_listenChartUpdateMutations','_isOwnedChart','sheet-icon','top','moveTo','_instanceService','defs','getConfig','_sheetPrintInterceptorService','parent','merge','_moveDialogFocus','preventDefault','number','getChartModel','startY','serialize','interceptor','_getSheetType','_contextMenuService','innerWidth','markHostNotReady','_initCopyPaste','worksheet','_clearPendingUrlImage','sheets-chart-ui.section.paretoLine','baseOn','UniverInstanceType','min','assignStyle','UniverChartUIPlugin','_savedWrapperStyle','addObject','openDataRangeSelector','ChartEditBlockTitle','route','replace','@univerjs/sheets-drawing-ui','vectorEffect','UNIVER_SHEET','@univerjs/docs-ui','IRenderManagerService','React','subscribeEvent','sheetDisposed$','_commandService','resetPadding','decorate','object','ChartImageExportFormat','sheets-chart-ui.common.switchRowColumn','_getPrimaryBinding','getSheets','_dataUpdateAnimationChartIds','config','M12.666\x202.70571C11.7769\x201.76476\x2010.3295\x201.76476\x209.4404\x202.70571L3.37843\x209.12427C3.31779\x209.18848\x203.27756\x209.26409\x203.24979\x209.3439C3.24809\x209.3493\x203.24299\x209.3529\x203.24129\x209.3583L2.02912\x2013.2097C1.96112\x2013.4251\x202.01439\x2013.6633\x202.16626\x2013.8236C2.27393\x2013.9382\x202.41901\x2014\x202.56692\x2014C2.62699\x2014\x202.68762\x2013.9898\x202.74599\x2013.9688L6.3825\x2012.6846C6.3876\x2012.6828\x206.391\x2012.678\x206.39553\x2012.6762C6.47147\x2012.6474\x206.54287\x2012.6042\x206.60351\x2012.54L12.666\x206.12202C13.5558\x205.18048\x2013.5558\x203.64725\x2012.666\x202.70571ZM8.62832\x205.26209L9.04031\x205.69836C9.03918\x205.69956\x209.03748\x205.70016\x209.03634\x205.70136L4.99182\x209.9836L4.58096\x209.54853L8.62832\x205.26209ZM3.46287\x2012.4512L4.02673\x2010.6593L5.15446\x2011.8535L3.46287\x2012.4512ZM6.20342\x2011.2672L5.79256\x2010.8321L9.83709\x206.54988C9.83822\x206.54868\x209.83879\x206.54688\x209.83992\x206.54568L10.2513\x206.98135L6.20342\x2011.2672ZM11.8647\x205.27349L11.0532\x206.13282L9.42963\x204.41356L10.2411\x203.55423C10.6888\x203.08016\x2011.417\x203.08076\x2011.8642\x203.55423C12.3124\x204.0283\x2012.3124\x204.79942\x2011.8647\x205.27349Z','IUniverInstanceService','BehaviorSubject','finally','_pageViewportOrigin','ChartSetupPanel','set','getHostSize','UniverProLicense','has','sheets-chart-ui.host.provider','Bubble','UniverLicensePlugin','CopyDoubleIcon','max','_popupChartId','radar','mergeMenu','_closePopup','endsWith','_managed','-univer-mx-4\x20univer-overflow-visible','addEventListener','_sidebarDisposable','SetDrawingApplyMutation','ChartMoveTargetType','SHEETS_CHART_UI_PLUGIN_CONFIG_KEY','COPY','_createChartRenderInstanceContext','_disposeChartDomInstance','getPrimaryChartModel','IPermissionService','composite','isElementEditModeActive','ChartUpdateConfigMutation','_notifyChartRemoved','style','unitDisposed$','_config','innerHeight','None','sheets-chart-ui.chartSheet.move.name','activeChartModel','Canceled\x20waiting\x20for\x20float\x20dom\x20host\x20\x22','getSheetBySheetId','SELECTOR','_syncActiveEditChart','M5.93\x201.47H10.07M1.7\x203.64H14.3M4.75\x205.82H11.25A1\x201\x200\x200\x201\x2012.25\x206.82V12.53A2\x202\x200\x200\x201\x2010.25\x2014.53H5.75A2\x202\x200\x200\x201\x203.75\x2012.53V6.82A1\x201\x200\x200\x201\x204.75\x205.82ZM6.55\x208.73L9.45\x2011.63M9.45\x208.73L6.55\x2011.63','resolveChartStyleBackgroundColor','border','onPointerDown','IEditorService','sheets-chart-ui.chord.target','top-center','markNotReady','_initActiveRuntimeLayerListener','domLayers','toInsertChartMutationSource','pluginName','DEFAULT_CHART_PARETO_VALUES','name','_applyingFit','ChartSectionAccordion','_geometry','_chartHostProviderService','ISheetDrawingService','ChartSeriesSection','@univerjs-pro/sheets-chart-ui','_pendingDataUpdateChartModels','ChartImageExportService','COMMAND','pasteType','applied','_createImageChartHost','_subscribeChartEvents','sheets-chart-ui.common.chartStyle','viewportScrollX','_disposeChartModel','univer-flex\x20univer-flex-col\x20univer-gap-3','syncLayout','toLowerCase','drawingIds','ChartThreeDSection','CHART_DATA_UPDATE_ANIMATION_DURATION','observe','isFinite','onPointerUp','panelRoute$','isArray','rxjs','pipe','ChartFunnelStyleSection','withLatestFrom','getBatchAddOp','WordCloud','univer-flex\x20univer-justify-end\x20univer-gap-2','toStringTag','_sheetDrawingService','_initActiveChartModelListener','OPERATION','sheets-chart-ui.chartSheet.move.unavailable','sheet.command.chart.open-focused-panel','getHostClientRect','_updatingChartPage','isManaged','4644227eOWlNB','nextVersion','_activateEditPanelState','missing-active-sheet','_snapshotKey','transparent','_renderModelManager','moveEnabled','sheet.operation.open-move-chart-dialog','_openPanel','PointerInput','Fail\x20to\x20create\x20float\x20dom','ChartEditorTabs','setActiveChartModel','permissionPointUpdate$','prototype','sheets-chart-ui.config','debounce','_layoutService','INSERT','style$','sheets-chart-ui.common.insertChart','chartEditorOpen$','darkMode$','scene','globalAlpha','DEFAULT_CHART_INDICATOR_LINE_VALUES','commitSnapshot','_bindPointerEvents','_cancelHostWait','missing-float-dom','permissionCheckWithRanges','DEFAULT_PASTE','cancel','272KGzygl','offsetX','createChartElementFloatMenuAdapter','useObservable','_iconManager','TRANSFORM_CHANGE_OBSERVABLE_TYPE','Tools','moveY','SetZoomRatioOperation','data$','BooleanNumber','ChartStyle','scale','transformerConfig','_focusedDrawings','sheets-chart-ui.chartSheet.move.cancel','applySheetDrawingPlacement','getElementById','existing','getSheetBySheetName','rangeInfo','packageName','sheets-chart-ui.waterfall.negative','LifecycleService','anchorType','_snapshotStore','WorksheetCopyPermission','ChartWordCloudStyleSection','params','Subject','height','ChartSectionAccordionTrigger','intercept','_getOrCreateSheetChartHost','isHit','concat','getChartSourceSpec','getMatrix','ImageChartHost','idSuffix','hit','getRenderAll','UniverSheetsDrawingUi','bottom','Row','rightY','PenIcon','RangeProtectionPermissionViewPoint','_updateTransform','sheets-chart-ui.chartSheet.move.newSheet','previous','_pageCanvasBackground','body','UniverSheetsPlugin','svg','span','create','_initPrinting','chart-sheet-presentation-disabled','_createCopyInfoByRange','_generateCopyPasteMutations','_registerChartPopupMenu','subUnitId','_bindChartEventHandlers','DEFAULT_CHART_WORD_CLOUD_VALUES','priority','canvas','hasPointerCapture','currentTheme$','displayName','chartTypeCanUseTrendLine','copyContentCache','ChartSectionAccordionItem','contains','Input','_markReady','useRef','ChartEditPanelSection','IndicatorLine','Canvas','UniverDrawingUi','changing$','ancestorTransform','scheduler','\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','useLayoutEffect','@univerjs/design','_domFrame','defaultValues','ChartEditPanelTab','_chartModelService','Sunburst','eventOptions','config$','sheets-chart-ui.section.gridlinesAndTicks','rangeSelectMode','setObjectType','takeSnapshot','onResized$','_sheetSkeletonService','ExistingSheet','_registerChartImageRenderObjectFactory','ChartIcon','_chartUIService','CommandType','getInterceptPoints','wordCloud','options','activeSheet$','ChartTrendlineSection','_queueResourceReconciliation','seriesId','_chartThemeService','_resetChartRuntimeZIndex','pairwise','univerjs-icon\x20univerjs-icon-','_updateChartPagePresentation','SheetSkeletonService','stroke-width','catch','classType','clearChart','clearPage','_initCommands','Position','then','_hostStyle','_sheetDrawingHitTestService','copyType','Image','icon','pointerId','IConfigService','Cannot\x20export\x20the\x20chart\x20without\x20a\x20canvas\x20context.','beforeCommandExecuted','_markHostReady','radius','featurePluginGroupUpdate$','startRow','_injector','titles','currentColor','executeChartUpdateConfig','small','MEDIA','DEFAULT_CHART_LINE_AND_AREA_VALUES','version','multiply','3376764PxeUZE','_pendingHost','abs','stopImmediatePropagation','_removeHost$','ArrowRightIcon','chartModelAdded$','sheets-chart-ui.section.candlestick','react/jsx-runtime','attachPopupToDynamicAbsolutePosition','isObservable','src','_openFloatMenu','_permissionCheck','_chartSheetRegistration','getFocusDrawings','createRuntimeChartStyle','renderTransition','_chartHostProvider','_url','_attachDrawingTransformConstraint','scaleX','ChartLineAndAreaSection','allSettled','_frameStyle','WorkbookCreateSheetPermission','TRUE','xlink:href','jsxs','trendline','DisposableCollection','getSheetCommandTarget','ENTER','_sheetClipboardService','DEFAULT_CHART_SERIES_VALUES','_generatePasteMutations','getPropertyValue','univer-mt-3','domId','_cacheActiveDomChartSnapshot','react','DEFAULT_CHART_AXIS_VALUES','plotVisibleOnly','@univerjs/drawing','_registerPrimaryContextMenus','_disposeChartEventSubscriptions','_callback','absolute','getDrawingByParam','Module','onTransformChange$','getUnitId','getTransformerByCreate','removeHost','shouldAddSheetChartWatermark','UniverMobileUIPlugin','colorChannel1','keys','_renderAfterChartUpdateMutation','UniverSheetsMobileUIPlugin','_getDrawable','createElement','getContextValue','isReleased','getCurrentUnitOfType','_panelInitialized','Transform','ChartGridlinesAndTicksSection','_chartChangeSubscriptions','getDrawingData','sheets-chart-ui.chartSheet.move.target','SheetPermissionCheckController','ChartUpdateConfigCommand','makeDirty','rootDrawingId','_copyInfo','1716760cJvYJA','_shouldSuppressRender','exportImage','dataUrl','isInGroup','1em','_bindChartEventHandler','getImage','Style','_onChange','BUTTON','getPlainText','_sheetCanvasPopManagerService','closePath','numberToABC','RibbonPosition','_scheduleDataUpdateAnimationEnd','_canAnimateDataUpdate','SheetsChartUIController','Pie','_urlImage','type','getFloatDomInfo','@univerjs-pro/chart-ui','sheets-chart-ui.chartSheet.move.confirm','sheetTransform','waterfallStyle','RemoveSheetsChartMutation','Axes','heatmap','DEFAULT_CHART_HEATMAP_VALUES','combineLatest','forwardRef','startX','showFloatMenu','Bar','ContextMenuPosition','.png','SheetDrawingHitTestService','onload','ensureHandle','strokeWidth','round','localName','_sheetCanvasFloatDomManagerService','groupId','dispose','chart-sheet-paste','IContextService','_getOuterRect','transformChange$','DEFAULT_CHART_LEGEND_VALUES','bind','_getPlacement','_getChartRenderSkipReason','SHEET_VIEW_KEY','setPointerCapture','UniverEngineFormula','GRID','_getSceneAndTransformerByDrawingSearch','DependentOn','current','@univerjs/core','startColumn','transform','Radar','primary','RichTextEditor','open','emitChartEvent','MenuManagerPosition','_entries','@univerjs/engine-formula','LocaleService','defineProperty','_markNotReady','crossOrigin','ISidebarService','clientWidth','axisAlignSheetTransform','_chartModelDisposables','subscribe','getBatchRemoveOp','sheets-chart-ui.section.relation','close','supports','UniverSheetsChartUIPlugin','discreteRangeToRange','@univerjs/sheets-formula-ui','sheet.menu.change-chart-type','checkMounted','getRenderModel','_chartCopyInfo','M1\x2014.4076H15','sheets-chart-ui.section.paretoBar','matchMedia','renderChartsForPrinting','visibilityState','changeEnd$','ChartViewStateRegistry','endY','_drawingManagerService','click','IConfirmService','enableChartElementFloatMenu','ISheetsChartUIService','_deactivateEditPanelState','clip','updateFloatDomProps','evenodd','beginPath','RibbonInsertGroup','activeChartModel$','setDataUpdateAnimation','redo','ensureHost','sheet.operation.hide-chart-panel','_isPrimaryChart','distinctUntilChanged','exports','_lastActiveSheet','sequenceNodesBuilder','_dataUpdateAnimationTimers','_getOrCreateChartRenderInstance','FOCUSING_COMMON_DRAWINGS','stroke','WorkbookDeleteSheetPermission','sheets-chart-ui.section.indicatorLine','vertical','sheet.command.chart.copy-focused-chart','isLatest','_clearSelectedTarget','useDependency','_renderChartModel','filter','Heatmap','_prepareDataUpdateRender','relation','_disposed','matchToken','UniverCore','diffValue','add','clientHeight','labelId','path','flatMap','href','_alignFloatDomPositionWithSceneRender','stringify','markReady','sheets-chart-ui.section.treemap','map','_resizeChart','sheets-chart-ui.section.chord','jsx','_initMenus','_popupDisposable','_pendingUrlImage','wrapper','offsetHeight','resolveChartElementSelection','disconnect','label','sheets-chart-ui.common.invalidDataRange','RadioGroup','width','visible','_detachChartResources','values','sheets-chart-ui.common.chartAndAxisTitles','PieStyle','next','_chartElementEditMode','nameCharacterCheck','text','fitPrimaryChart','sheetName','setChartEditorOpen','688631cSGVAU','_activeDomReadyChartIds','lineAndArea','registerShortcut','MobileChartEditorProvider','ChartUIService','ICommandService','_chartEventHandlers','registerFeatureMenu','@univerjs/drawing-ui','clearPanelRoute','insertGroupObject','backgroundColor','_createHostLivenessCheck','_suppressClick','documentElement','sheets-chart-ui.chartSheet.move.confirmDescription','ChartParetoSeriesSection','setBorder','SheetCanvasPopManagerService','event','getDrawingShapeKeyByDrawingSearch','chartType','releasePointerCapture','univer-flex\x20univer-flex-col\x20univer-gap-3\x20univer-pb-5','DRAWING_CHART','_gesture','sheets-chart-ui.move-chart-dialog','arc','DOCS_NORMAL_EDITOR_UNIT_ID_KEY','_pendingMutationConfigRenders','iconName','nativeEvent','function','getObject','getDirection','UniverSheetsUi','Candlestick','imageBitmap','inactive-sheet','SelectRangeIcon','symbol','PieSecondaryPlotType','EyelashIcon','_isProviderDisposed','cancelPending','_configService','SheetsChartUIMenuSchema','onPointerMove','Boxplot','isValidRange','setImage','univer-flex\x20univer-min-h-full\x20univer-w-full\x20univer-flex-col\x20univer-bg-gray-0\x20dark:!univer-bg-gray-900','_rerenderLatest','items','drawings','skip','InsertChartCommand','_keepChartCapture','removeHost$','currentLocale$','_init','getSheetId','CTRL_COMMAND','mask','add$','pareto','sheets-chart-ui.common.editChart','PRINTING_COMPONENT_COLLECT','hasAttribute','fitChartDrawingToPage','Both','getDrawingOrder','@univerjs/sheets-ui','removeAttribute','sheets-chart-ui.section.funnel','ChartErrorBarsSection','initPanel','checkChartCanRender','_getPrimaryChartModel','sheets-chart-ui.common.heatmap','some','_initPermission','sheets-chart-ui.common.category','Cannot\x20load\x20the\x20cached\x20chart\x20image.','logicalOuterRect','Disposable','pieSecondaryPlotType','M9.29961\x205.6002V10.892C9.29961\x2011.61\x208.71758\x2012.192\x207.99961\x2012.192C7.28164\x2012.192\x206.69961\x2011.61\x206.69961\x2010.892V5.6002C6.69961\x204.88222\x207.28164\x204.3002\x207.99961\x204.3002C8.71758\x204.3002\x209.29961\x204.88223\x209.29961\x205.6002Z','sheets-chart-ui.chartSheet.changeType','hadStyleAttribute','chartModelRemoved$','@univerjs/ui','sheet.command.chart.export-focused-image','_isReadableSource','LexerTreeBuilder','context$','viewBox','UniverSheetsChartPlugin','wheel','_createPrintingChartObject','RENDER_CLASS_TYPE','DEFAULT_CHART_WATERFALL_STYLE_VALUES','_getImage','sheets-chart-ui.common.hideChartPanel','syncExecuteCommand','_logService','hidden','legend','_pageFrame','syncHostLayout','localPoint','M1.28096\x204.6541C1.57489\x204.50109\x201.93721\x204.61533\x202.09022\x204.90926C2.27315\x205.26067\x202.55999\x205.60455\x202.94829\x205.92278C4.04628\x206.82266\x205.87505\x207.44865\x207.99828\x207.44865C10.1215\x207.44865\x2011.9503\x206.82267\x2013.0482\x205.92279C13.4366\x205.60455\x2013.7234\x205.26067\x2013.9063\x204.90927C14.0594\x204.61533\x2014.4217\x204.50109\x2014.7156\x204.65409C15.0095\x204.8071\x2015.1238\x205.16941\x2014.9708\x205.46334C14.6995\x205.98445\x2014.2981\x206.44997\x2013.8089\x206.8509C13.7298\x206.91575\x2013.6481\x206.97914\x2013.564\x207.041L15.2245\x208.70153C15.4588\x208.93585\x2015.4588\x209.31575\x2015.2245\x209.55006C14.9902\x209.78438\x2014.6103\x209.78438\x2014.376\x209.55006L12.5041\x207.67822C11.8977\x207.97568\x2011.2181\x208.21208\x2010.4884\x208.37706L11.0996\x2010.6581C11.1853\x2010.9782\x2010.9954\x2011.3072\x2010.6753\x2011.393C10.3552\x2011.4787\x2010.0262\x2011.2888\x209.94045\x2010.9687L9.29949\x208.57652C8.8758\x208.62404\x208.44081\x208.64865\x207.99828\x208.64865C7.55276\x208.64865\x207.11487\x208.62371\x206.68846\x208.57555L6.04723\x2010.9687C5.96147\x2011.2888\x205.63247\x2011.4788\x205.31239\x2011.393C4.99231\x2011.3073\x204.80236\x2010.9783\x204.88812\x2010.6582L5.49983\x208.37516C4.7743\x208.2105\x204.09843\x207.9752\x203.49498\x207.67947L1.62436\x209.55009C1.39005\x209.78441\x201.01015\x209.78441\x200.775835\x209.5501C0.54152\x209.31578\x200.541518\x208.93588\x200.775832\x208.70157L2.43478\x207.04261C2.34987\x206.98024\x202.26746\x206.91632\x202.18764\x206.8509C1.69842\x206.44997\x201.29706\x205.98445\x201.0258\x205.46335C0.872791\x205.16942\x200.987031\x204.80711\x201.28096\x204.6541Z','setPanelRoute','model','deriveStateFromActiveSheet$','getObjectIncludeInGroup','setProperty','M10.1562\x204.2458H4.24365V10.1583C4.24365\x2011.042\x204.96\x2011.7583\x205.84365\x2011.7583H11.7562V5.8458C11.7562\x204.96215\x2011.0398\x204.2458\x2010.1562\x204.2458ZM5.44365\x2010.1583V8.53174H7.3999V10.5583H5.84365C5.62274\x2010.5583\x205.44365\x2010.3792\x205.44365\x2010.1583ZM7.3999\x207.33174H5.44365V5.4458H7.3999V7.33174ZM8.5999\x2010.5583V8.53174H10.5562V10.5583H8.5999ZM8.5999\x207.33174H10.5562V5.8458C10.5562\x205.62489\x2010.3771\x205.4458\x2010.1562\x205.4458H8.5999V7.33174Z','_pending','0\x200\x2016\x2016','getUnit','getSubUnitId','Treemap','@univerjs/sheets-drawing','useMemo','FOCUSING_SHEET','_contextService','sheets-chart-ui.common.rightVerticalAxis','flush','ImageBitmap','_applyHostInteractionState','skipCellCopy','triggerContextMenu','ChartTitlesSection','getAllowedChartTypes','_requestPaint','_scheduleMoveDialogFocus','anchorRect$','_getHostPlacement','Chord','getName','sheets-chart-ui.waterfall.subtotal','_original','initialRect','WorksheetEditPermission','_disposeChartChangeListeners','_deactivateDataUpdateAnimation','toDisposable','isConnected','_resourceBindings','trim','viewBound','setOrientation','gray.400','SHEET_CHART_RENDER_OBJECT_CONFIG','UniverProChartUi','_isCurrent','enabled','Injector','_applyActiveChartRuntimeZIndex','renderChartLicenseWatermark','SheetDrawingAnchorType','@univerjs-pro/engine-chart','ObjectType','_getCurrentSnapshotImage','getOwnPropertyDescriptor','setHostStyle','sheets-chart-ui.section.pie','getRenderColor','sheet-chart-style-panel','find','Dom','_initDrawingDeactivationListener','div','dataSource$','RIBBON','unitId','_readGeometry','drawingId','Subtotal','5srNJXt','activeRuntimeModel','_registerAdapter','sheets-chart-ui.chartSheet.move.ownChartObjects','lostpointercapture','_lifecycleService','remove$','registerCommand','funnel','_pendingToken','delete-icon','_isChartElementEditEnabled','attachRangeWithCoord','RTLChartStyle','_requestedUrl','anonymous','sheets-chart-element-float-menu','delete','update','_adapterRegistry','get','hitTest','drawing','section','chartEditorOpen','toFixed','FOCUSING_PANEL_EDITOR','_componentManager','iterator','_disposeChartEventSubscription','UniverRenderEnginePlugin','ChartTypeSpecificStyleSection','Fragment','M1\x203.6C1\x202.16406\x202.16406\x201\x203.6\x201H12.3C13.7359\x201\x2014.9\x202.16406\x2014.9\x203.6V5.81156C14.9003\x205.81881\x2014.9004\x205.82609\x2014.9004\x205.8334C14.9004\x205.84071\x2014.9003\x205.84799\x2014.9\x205.85524V10.045C14.9003\x2010.0522\x2014.9004\x2010.0595\x2014.9004\x2010.0668C14.9004\x2010.3982\x2014.6318\x2010.6668\x2014.3004\x2010.6668H11.1668C10.8907\x2010.6668\x2010.6668\x2010.8907\x2010.6668\x2011.1668V14.3C10.6668\x2014.6314\x2010.3982\x2014.9\x2010.0668\x2014.9L10.05\x2014.8998L3.6\x2014.9C2.16406\x2014.9\x201\x2013.7359\x201\x2012.3V3.6ZM13.2\x205.2334C13.4761\x205.2334\x2013.7\x205.00954\x2013.7\x204.7334V3.6C13.7\x202.8268\x2013.0732\x202.2\x2012.3\x202.2H11.1668C10.8907\x202.2\x2010.6668\x202.42386\x2010.6668\x202.7V4.7334C10.6668\x205.00954\x2010.8907\x205.2334\x2011.1668\x205.2334H13.2ZM10.6668\x206.9334C10.6668\x206.65726\x2010.8907\x206.4334\x2011.1668\x206.4334H13.2C13.4761\x206.4334\x2013.7\x206.65726\x2013.7\x206.9334V8.9668C13.7\x209.24294\x2013.4761\x209.4668\x2013.2\x209.4668H11.1668C10.8907\x209.4668\x2010.6668\x209.24294\x2010.6668\x208.9668V6.9334ZM8.9668\x205.2334C9.24294\x205.2334\x209.4668\x205.00954\x209.4668\x204.7334V2.7C9.4668\x202.42386\x209.24294\x202.2\x208.9668\x202.2H6.9334C6.65726\x202.2\x206.4334\x202.42386\x206.4334\x202.7V4.7334C6.4334\x205.00954\x206.65726\x205.2334\x206.9334\x205.2334L8.9668\x205.2334ZM6.4334\x206.9334C6.4334\x206.65726\x206.65726\x206.4334\x206.9334\x206.4334L8.9668\x206.4334C9.24294\x206.4334\x209.4668\x206.65726\x209.4668\x206.9334V8.9668C9.4668\x209.24294\x209.24294\x209.4668\x208.9668\x209.4668L6.9334\x209.4668C6.65726\x209.4668\x206.4334\x209.24294\x206.4334\x208.9668V6.9334ZM4.7334\x205.2334C5.00954\x205.2334\x205.2334\x205.00954\x205.2334\x204.7334V2.7C5.2334\x202.42386\x205.00954\x202.2\x204.7334\x202.2H3.6C2.8268\x202.2\x202.2\x202.8268\x202.2\x203.6V4.7334C2.2\x205.00954\x202.42386\x205.2334\x202.7\x205.2334H4.7334ZM2.2\x206.9334C2.2\x206.65726\x202.42386\x206.4334\x202.7\x206.4334H4.7334C5.00954\x206.4334\x205.2334\x206.65725\x205.2334\x206.9334V8.9668C5.2334\x209.24294\x205.00954\x209.4668\x204.7334\x209.4668H2.7C2.42386\x209.4668\x202.2\x209.24294\x202.2\x208.9668V6.9334ZM5.2334\x2011.1668C5.2334\x2010.8907\x205.00954\x2010.6668\x204.7334\x2010.6668H2.7C2.42386\x2010.6668\x202.2\x2010.8907\x202.2\x2011.1668V12.3C2.2\x2013.0732\x202.8268\x2013.7\x203.6\x2013.7H4.7334C5.00954\x2013.7\x205.2334\x2013.4761\x205.2334\x2013.2V11.1668ZM9.4668\x2011.1668C9.4668\x2010.8907\x209.24294\x2010.6668\x208.9668\x2010.6668H6.9334C6.65726\x2010.6668\x206.4334\x2010.8907\x206.4334\x2011.1668V13.2C6.4334\x2013.4761\x206.65726\x2013.7\x206.9334\x2013.7H8.9668C9.24294\x2013.7\x209.4668\x2013.4761\x209.4668\x2013.2V11.1668Z','requestPaint','_running','onPointerUp$','ChartDomFrame','ChartRenderMode','serializeRangeWithSheet','offsetWidth','setElementEditMode','chartImageSourceToDataUrl','complete','WorkbookCopyPermission','IChartRenderModelManagerService','_cancelMoveDialogFocus','SetSheetChartMetadataMutation','Area','Url','toDataURL','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','getBoundingClientRect','clear','deepClone','IDrawingManagerService','_debounceHandleMap','ChartNumberFormatAtom','_waiter','_cancelGesture','_fitReady','setRangeSelectMode','-univer-mx-4\x20univer-pb-4','rect','remove','element','_loadUrlImage','_themeService','disposed$','transformByState','sheets-chart-ui.common.customize','take','_getFloatDomInfo','split','useCallback','SetDrawingGroupOperation','LifecycleStages','getChartPopupMenus','sheets-chart-ui.common.series','sheet-chart-setup-panel','sheets-chart-ui.waterfall.positive','constructor','segmented','univer-overflow-visible','focused$','_primaryDomComposition','animateDataUpdate','range','none','sheets-chart-ui.chartSheet.move.failed','registerMoveTransformConstraint','updatePage','@univerjs-pro/license','chartModelId','UniverSheetsFormulaMobileUIPlugin','format','info','drawingType','sheets-chart-ui.section.gauge','@univerjs/engine-render','LineAndArea','_getChartCopyDrawings','_chartEditorOpen$','updateFloatDomEventOptions','right','parseFloat','UniverUi','copyId','sheets-chart-ui.common.useAsCategoryLabels','startWith','register','_setHostStyle','_image','ChartThemeService','_disposeChartRenderInstance','getId','chart-icon','SheetIcon','1264176pOTtPt','baseVal','rangeInfo$','transformDrawingsToChartSheet','_dialogService','image/png','ContextMenuGroup','offsetY','chartSheetPresentationEnabled','Positive','sheetChartDataAnimationDuration','Histogram','RemoveSheetDrawingCommand','children','UniverDesign','_createHost','translate','UniverSheetsDrawingUIPlugin','inputIndex','_drawingHitTestService','_registerComponents','getMainViewport','createIdentifier','dataset','_bindChartPointerEvents','components','499194pjXzVY','RightClick','new','scaleY','_chartSnapshotStoreService','ILayoutService','getCurrentRangeDisable$','push','_drawingTransformSubscriptions','DRAWING_OBJECT_LAYER_INDEX','SheetPasteCommand','DRAWING','Series','chartTypeSupportsLineAndAreaStyle','checkHost','image','featurePluginOrderUpdate$','_requestChartCanvasRender','M1.90107\x200.578613C1.45925\x200.578613\x201.10107\x200.936785\x201.10107\x201.37861V11.8216C1.10107\x2013.8098\x202.71285\x2015.4216\x204.70107\x2015.4216H14.0987C14.5406\x2015.4216\x2014.8987\x2015.0634\x2014.8987\x2014.6216V4.17861C14.8987\x202.19039\x2013.287\x200.578613\x2011.2987\x200.578613H1.90107ZM2.30107\x2011.8216V1.77861H11.2987C12.6242\x201.77861\x2013.6987\x202.85313\x2013.6987\x204.17861V14.2216H4.70107C3.37559\x2014.2216\x202.30107\x2013.1471\x202.30107\x2011.8216Z','left','mobile-sheet-chart-setup-panel','ChartImageSourceType','request','ChartSectionAccordionContent','deserializeRangeWithSheet','isDomReady','UniverDrawingPlugin','pointerEvents','_clearPanelState','runtime','EChartRenderEngineName','CustomCommandExecutionError','attrs','value','Button','dblclick','transformer','getValue','buildChartTypeSelectOptions','indexOf','select','activeElement','getChartHost','UniverProSheetsChartUi','appliedStrokeWidth','MetaKeys','tag','error','_renderManagerService','sheets-chart-ui.chartTypes.line','getPropertyPriority','useId','_sheetPermissionCheckController','_sheetsChartService','naturalWidth','MenuItemType','drawImage','_primaryContextMenuBindings','SheetsChartUIService','select-range-icon','http://www.w3.org/2000/svg','_applyHostStyle','_restoreHostWrapper','length','DrawingTypeEnum','sheets-chart-ui.common.exportImage','resolveChartEditPanelRoute','Overlay','CUT','combineLatestWith','url','removeEventListener','COPY_TYPE','canMovePrimaryChart','_panelRoute$','blur','_dataUpdateAnimationDuration','chartBitsUtils','sheets-chart-ui.section.wordCloud','pie','restore','ParetoLineSeries','_moveDialogClose','Rendered','focus$','_generateCutPasteMutations','getParent','SheetTypes','_setChartRuntimeZIndex','_updateGeometry','fromEvent','transformToDrawingPosition','strokeOpacity','oKey','isRender','univer-inline-flex\x20univer-items-center\x20univer-gap-2','openChartPanelById','sheets-chart-ui.common.copy','UPDATE','applyPoint','_updateChartPage','ChartWaterfallStyleTarget','resolveChartRuntimeStyle','removeProperty','getMenuHiddenObservable','_clearPageFrame','IContextMenuService','_chartInstanceMap','Select','ChartUpdateSourceCommand','onerror','indicatorLine','_drawingManager','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','DeleteIcon'];_0x1afa=function(){return _0x103e95;};return _0x1afa();}function _0x18ca(_0x15fb59,_0x27ce48){_0x15fb59=_0x15fb59-0x1d7;const _0x1afafa=_0x1afa();let _0x18caff=_0x1afafa[_0x15fb59];return _0x18caff;}(function(_0xa508e1,_0x1d1fa5){const _0xc0dfe8=_0x18ca,_0x1dc816=_0xa508e1();while(!![]){try{const _0x5b3fa0=parseInt(_0xc0dfe8(0x450))/0x1+-parseInt(_0xc0dfe8(0x57b))/0x2+-parseInt(_0xc0dfe8(0x351))/0x3+-parseInt(_0xc0dfe8(0x39d))/0x4+parseInt(_0xc0dfe8(0x505))/0x5*(-parseInt(_0xc0dfe8(0x69e))/0x6)+parseInt(_0xc0dfe8(0x29b))/0x7+-parseInt(_0xc0dfe8(0x2bd))/0x8*(-parseInt(_0xc0dfe8(0x595))/0x9);if(_0x5b3fa0===_0x1d1fa5)break;else _0x1dc816['push'](_0x1dc816['shift']());}catch(_0x116384){_0x1dc816['push'](_0x1dc816['shift']());}}}(_0x1afa,0x8aa8f),function(_0x5124f0,_0x1290a9){const _0x56cb1c=_0x18ca;typeof exports==_0x56cb1c(0x22b)&&typeof module<'u'?_0x1290a9(exports,require('@univerjs/core'),require('@univerjs-pro/sheets-chart'),require('@univerjs/drawing'),require('@univerjs/sheets-drawing'),require('@univerjs/sheets-drawing-ui'),require('@univerjs/sheets-ui'),require('@univerjs/ui'),require('rxjs'),require('@univerjs-pro/chart-ui'),require('@univerjs-pro/engine-chart'),require('@univerjs/sheets'),require('@univerjs-pro/license'),require('@univerjs/drawing-ui'),require('@univerjs/engine-render'),require('@univerjs/engine-formula'),require('react'),require('@univerjs/sheets-formula-ui'),require('@univerjs/design'),require('@univerjs/docs-ui'),require('react/jsx-runtime')):typeof define==_0x56cb1c(0x471)&&define[_0x56cb1c(0x1dd)]?define([_0x56cb1c(0x414),_0x56cb1c(0x3db),'@univerjs-pro/sheets-chart',_0x56cb1c(0x37c),_0x56cb1c(0x4cc),_0x56cb1c(0x220),_0x56cb1c(0x499),_0x56cb1c(0x4ac),'rxjs',_0x56cb1c(0x3b4),_0x56cb1c(0x4f3),'@univerjs/sheets',_0x56cb1c(0x561),_0x56cb1c(0x459),_0x56cb1c(0x568),_0x56cb1c(0x3e5),_0x56cb1c(0x379),_0x56cb1c(0x3f5),_0x56cb1c(0x313),_0x56cb1c(0x223),_0x56cb1c(0x359)],_0x1290a9):(_0x5124f0=typeof globalThis<'u'?globalThis:_0x5124f0||self,_0x1290a9(_0x5124f0[_0x56cb1c(0x5c0)]={},_0x5124f0[_0x56cb1c(0x429)],_0x5124f0[_0x56cb1c(0x633)],_0x5124f0[_0x56cb1c(0x6c0)],_0x5124f0[_0x56cb1c(0x1d8)],_0x5124f0[_0x56cb1c(0x2e7)],_0x5124f0[_0x56cb1c(0x474)],_0x5124f0[_0x56cb1c(0x56f)],_0x5124f0[_0x56cb1c(0x28b)],_0x5124f0[_0x56cb1c(0x4ec)],_0x5124f0['UniverProEngineChart'],_0x5124f0['UniverSheets'],_0x5124f0[_0x56cb1c(0x23a)],_0x5124f0[_0x56cb1c(0x30d)],_0x5124f0['UniverEngineRender'],_0x5124f0[_0x56cb1c(0x3d6)],_0x5124f0['React'],_0x5124f0['UniverSheetsFormulaUi'],_0x5124f0[_0x56cb1c(0x589)],_0x5124f0['UniverDocsUi'],_0x5124f0[_0x56cb1c(0x225)]));}(this,function(_0x7ffc42,_0x29b193,_0x1593c9,_0x4b86b8,_0x303a0f,_0x379e87,_0x2d4cf1,_0x3862b0,_0x482a91,_0x2132f2,_0x199e4a,_0x313b04,_0x358ed8,_0x57f250,_0x4feb4f,_0x47a98f,_0x57ab3a,_0x42e6b5,_0x3836fd,_0x10710a,_0x422fa2){const _0x53d83c=_0x18ca;Object['defineProperty'](_0x7ffc42,Symbol[_0x53d83c(0x292)],{'value':_0x53d83c(0x382)});let _0x5f10b8={'type':_0x29b193['CommandType'][_0x53d83c(0x295)],'id':'sheet.operation.open-chart-panel','handler'(){return!0x0;}},_0x583c49=_0x53d83c(0x2ab),_0x4420ef={'enableChartElementFloatMenu':!0x0},_0x2c7ff5={'type':_0x29b193[_0x53d83c(0x325)][_0x53d83c(0x295)],'id':_0x53d83c(0x411),'handler'(){return!0x0;}};function _0xd3cd96(_0x4e413e){const _0x24026b=_0x53d83c;let _0x306126=_0x4e413e['get'](_0x303a0f[_0x24026b(0x273)])[_0x24026b(0x360)]();if(_0x306126[_0x24026b(0x5d4)]!==0x1)return null;let _0x2a73b3=_0x306126[0x0];return _0x2a73b3[_0x24026b(0x566)]===_0x29b193[_0x24026b(0x5d5)][_0x24026b(0x469)]?_0x2a73b3:null;}function _0x48d4df(_0xca7613,_0x31e71b){const _0x5488e3=_0x53d83c;let _0x2c5fe6=document[_0x5488e3(0x38e)]('a');_0x2c5fe6[_0x5488e3(0x430)]=_0xca7613,_0x2c5fe6['download']=_0x31e71b,_0x2c5fe6[_0x5488e3(0x403)]();}let _0x52d5c9={'id':_0x53d83c(0x297),'type':_0x29b193[_0x53d83c(0x325)][_0x53d83c(0x278)],'handler':(_0x3cbb56,_0xf2a8c0)=>{const _0x461731=_0x53d83c;let _0x5a6e7e=_0xd3cd96(_0x3cbb56);return _0x5a6e7e?_0x3cbb56[_0x461731(0x519)](_0x29b193[_0x461731(0x456)])[_0x461731(0x610)](_0x5f10b8['id'],{'unitId':_0x5a6e7e[_0x461731(0x501)],'subUnitId':_0x5a6e7e['subUnitId'],'drawingId':_0x5a6e7e[_0x461731(0x503)],..._0xf2a8c0!=null&&_0xf2a8c0['route']?{'route':_0xf2a8c0[_0x461731(0x21e)]}:{}}):!0x1;}},_0x3f9fc3={'id':_0x53d83c(0x41e),'type':_0x29b193[_0x53d83c(0x325)][_0x53d83c(0x278)],'handler':_0x453836=>_0xd3cd96(_0x453836)?_0x453836[_0x53d83c(0x519)](_0x29b193[_0x53d83c(0x456)])[_0x53d83c(0x610)](_0x2d4cf1['SheetCopyCommand']['id']):!0x1},_0xbf5f42={'id':_0x53d83c(0x4ad),'type':_0x29b193[_0x53d83c(0x325)][_0x53d83c(0x278)],'handler':async _0x3f0f66=>{const _0x2a69c9=_0x53d83c;let _0x2268bb=_0xd3cd96(_0x3f0f66);if(!_0x2268bb)return!0x1;let _0x2c4427=await _0x3f0f66['get'](_0x2132f2[_0x2a69c9(0x277)])[_0x2a69c9(0x39f)]({'unitId':_0x2268bb[_0x2a69c9(0x501)],'subUnitId':_0x2268bb['subUnitId'],'getId':()=>_0x2268bb[_0x2a69c9(0x503)]});return _0x2c4427?(_0x48d4df(_0x2c4427,_0x2268bb[_0x2a69c9(0x503)]+_0x2a69c9(0x3c2)),!0x0):!0x1;}},_0x4dca24={'id':'sheet.command.chart.delete-focused-chart','type':_0x29b193[_0x53d83c(0x325)][_0x53d83c(0x278)],'handler':_0x3cf63b=>{const _0xb84f24=_0x53d83c;let _0x3052c8=_0xd3cd96(_0x3cf63b);return _0x3052c8?_0x3cf63b[_0xb84f24(0x519)](_0x29b193[_0xb84f24(0x456)])[_0xb84f24(0x610)](_0x303a0f[_0xb84f24(0x587)]['id'],{'unitId':_0x3052c8[_0xb84f24(0x501)],'drawings':[{'unitId':_0x3052c8[_0xb84f24(0x501)],'subUnitId':_0x3052c8['subUnitId'],'drawingId':_0x3052c8['drawingId'],'drawingType':_0x29b193[_0xb84f24(0x5d5)][_0xb84f24(0x469)]}]}):!0x1;}};function _0x171ae7(_0x630c7){'@babel/helpers - typeof';const _0x4bd033=_0x53d83c;return _0x171ae7=typeof Symbol==_0x4bd033(0x471)&&typeof Symbol[_0x4bd033(0x521)]==_0x4bd033(0x479)?function(_0x1c8630){return typeof _0x1c8630;}:function(_0x12019a){const _0x4e2e7f=_0x4bd033;return _0x12019a&&typeof Symbol==_0x4e2e7f(0x471)&&_0x12019a[_0x4e2e7f(0x556)]===Symbol&&_0x12019a!==Symbol[_0x4e2e7f(0x2aa)]?_0x4e2e7f(0x479):typeof _0x12019a;},_0x171ae7(_0x630c7);}function _0x4e0a74(_0x538ef5,_0x3b679a){const _0x7dd701=_0x53d83c;if(_0x171ae7(_0x538ef5)!=_0x7dd701(0x22b)||!_0x538ef5)return _0x538ef5;var _0x27edba;if(typeof Symbol<'u'&&(_0x27edba=_0x538ef5[Symbol['toPrimitive']])!==void 0x0){var _0x49c608=_0x27edba[_0x7dd701(0x67b)](_0x538ef5,_0x3b679a||'default');if(_0x171ae7(_0x49c608)!='object')return _0x49c608;throw TypeError(_0x7dd701(0x606));}return(_0x3b679a===_0x7dd701(0x643)?String:Number)(_0x538ef5);}function _0x549279(_0x480dd0){var _0x19a37a=_0x4e0a74(_0x480dd0,'string');return _0x171ae7(_0x19a37a)=='symbol'?_0x19a37a:_0x19a37a+'';}function _0x3e8fbf(_0x2a5adb,_0x5337e4,_0x503724){const _0x12dfb1=_0x53d83c;return(_0x5337e4=_0x549279(_0x5337e4))in _0x2a5adb?Object[_0x12dfb1(0x3e7)](_0x2a5adb,_0x5337e4,{'value':_0x503724,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x2a5adb[_0x5337e4]=_0x503724,_0x2a5adb;}var _0x434356=class extends _0x29b193['Disposable']{constructor(_0x17385d){const _0x1314e4=_0x53d83c;super(),this[_0x1314e4(0x37f)]=_0x17385d,_0x3e8fbf(this,_0x1314e4(0x63f),null),_0x3e8fbf(this,_0x1314e4(0x528),!0x1),_0x3e8fbf(this,_0x1314e4(0x4c7),!0x1);}[_0x53d83c(0x5ab)](){const _0x3b0d16=_0x53d83c;this['_disposed']||(this['_pending']=!0x0,!this[_0x3b0d16(0x528)]&&this['_frame']===null&&(this[_0x3b0d16(0x63f)]=requestAnimationFrame(()=>this['flush']())));}[_0x53d83c(0x4d1)](){const _0x377acf=_0x53d83c;if(this['_disposed']||this[_0x377acf(0x528)])return;this[_0x377acf(0x47d)]();let _0x1c630b=this[_0x377acf(0x37f)]();_0x1c630b&&(this[_0x377acf(0x528)]=!0x0,_0x1c630b[_0x377acf(0x334)](_0x28f726=>console[_0x377acf(0x5c4)](_0x28f726))[_0x377acf(0x235)](()=>{const _0x4b6e3a=_0x377acf;this['_running']=!0x1,this[_0x4b6e3a(0x4c7)]&&this[_0x4b6e3a(0x5ab)]();}));}['cancelPending'](){const _0x172c43=_0x53d83c;this[_0x172c43(0x4c7)]=!0x1,this['_frame']!==null&&(cancelAnimationFrame(this[_0x172c43(0x63f)]),this[_0x172c43(0x63f)]=null);}[_0x53d83c(0x3cb)](){const _0x441b63=_0x53d83c;this[_0x441b63(0x47d)](),super[_0x441b63(0x3cb)]();}},_0x3c76f2=class extends _0x29b193['Disposable']{constructor(_0x22879e,_0x125e44){const _0x26eaee=_0x53d83c;super(),this[_0x26eaee(0x1e7)]=_0x22879e,this['_onChange']=_0x125e44,_0x3e8fbf(this,'_scheduler',void 0x0),_0x3e8fbf(this,'_geometry',void 0x0),this[_0x26eaee(0x271)]=this[_0x26eaee(0x502)](),this[_0x26eaee(0x638)]=new _0x434356(()=>this[_0x26eaee(0x5ee)]()),this[_0x26eaee(0x661)](this[_0x26eaee(0x638)]),this[_0x26eaee(0x661)](_0x22879e[_0x26eaee(0x383)]['subscribeEvent'](()=>this[_0x26eaee(0x638)][_0x26eaee(0x5ab)]()));}get[_0x53d83c(0x310)](){const _0x5c4576=_0x53d83c;return this[_0x5c4576(0x638)];}[_0x53d83c(0x5ee)](){const _0x558766=_0x53d83c;let _0xf1c5b5=this[_0x558766(0x502)](),_0x1b3b63=this[_0x558766(0x271)],_0x5903ee=_0xf1c5b5[_0x558766(0x443)]!==_0x1b3b63['width']||_0xf1c5b5[_0x558766(0x2db)]!==_0x1b3b63[_0x558766(0x2db)];if(_0x5903ee||_0xf1c5b5[_0x558766(0x5a8)]!==_0x1b3b63['left']||_0xf1c5b5['top']!==_0x1b3b63[_0x558766(0x1fe)])return this[_0x558766(0x271)]=_0xf1c5b5,this[_0x558766(0x3a6)](_0x5903ee);}[_0x53d83c(0x502)](){const _0x54b187=_0x53d83c;let {left:_0x3e3cb6,top:_0x46a78e,width:_0x56813a,height:_0x23e156}=this[_0x54b187(0x1e7)];return{'left':_0x3e3cb6,'top':_0x46a78e,'width':_0x56813a,'height':_0x23e156};}};function _0x5198cf(_0x503d97,_0x19688c=0x1){const _0x157f01=_0x53d83c;return{'width':Math[_0x157f01(0x240)](_0x19688c,_0x503d97[_0x157f01(0x443)]),'height':Math[_0x157f01(0x240)](_0x19688c,_0x503d97['height'])};}function _0x19863e(_0x2282da,_0x3a56c3={},_0x5b7420={'left':0x0,'top':0x0}){const _0x50baf5=_0x53d83c;let _0x1cb3db=_0x3a56c3['scaleX']??0x1,_0x39ca24=_0x3a56c3[_0x50baf5(0x598)]??0x1,_0x4056cb=_0x2132f2[_0x50baf5(0x1f9)][_0x50baf5(0x671)]({'logicalOuterRect':{'left':_0x5b7420[_0x50baf5(0x5a8)]>0x0?-_0x5b7420[_0x50baf5(0x5a8)]:0x0,'top':_0x5b7420[_0x50baf5(0x1fe)]>0x0?-_0x5b7420['top']:0x0,..._0x5198cf(_0x2282da)},'scale':{'scaleX':_0x1cb3db,'scaleY':_0x39ca24},'hostStyle':{},'contentMode':_0x2132f2['ChartFrameContentMode'][_0x50baf5(0x5d8)]});return{'left':_0x4056cb[_0x50baf5(0x4a5)][_0x50baf5(0x5a8)],'top':_0x4056cb[_0x50baf5(0x4a5)][_0x50baf5(0x1fe)],'width':_0x4056cb[_0x50baf5(0x4a5)][_0x50baf5(0x443)],'height':_0x4056cb[_0x50baf5(0x4a5)][_0x50baf5(0x2db)],'scaleX':_0x1cb3db,'scaleY':_0x39ca24};}function _0xf10062(_0x41a2e1){const _0x56a86e=_0x53d83c;switch(_0x41a2e1[_0x56a86e(0x3b2)]){case _0x199e4a[_0x56a86e(0x5aa)]['Canvas']:return _0x41a2e1[_0x56a86e(0x2ff)];case _0x199e4a[_0x56a86e(0x5aa)][_0x56a86e(0x4d2)]:return _0x41a2e1['imageBitmap'];default:return;}}var _0x41aeff=class extends _0x4feb4f[_0x53d83c(0x6be)]{constructor(_0x210cb8,_0x14c672,_0xaf6b42,_0x30a04e=()=>!0x1,_0x6bcaa9=()=>{},_0x4ebfa4=()=>!0x1){const _0x4a8844=_0x53d83c;super(_0x210cb8,{..._0x14c672,'evented':_0x14c672[_0x4a8844(0x1d9)]??!0x0}),this['_getImage']=_0xaf6b42,this[_0x4a8844(0x39e)]=_0x30a04e,this[_0x4a8844(0x1fa)]=_0x6bcaa9,this[_0x4a8844(0x6b1)]=_0x4ebfa4,_0x3e8fbf(this,_0x4a8844(0x3b1),null),_0x3e8fbf(this,'_url',null),_0x3e8fbf(this,_0x4a8844(0x513),null),_0x3e8fbf(this,_0x4a8844(0x43b),null),this[_0x4a8844(0x31d)](_0x4feb4f[_0x4a8844(0x4f4)]['CHART']);}[_0x53d83c(0x3cb)](){const _0x2dd0ca=_0x53d83c;this[_0x2dd0ca(0x213)](),this['_urlImage']=null,this[_0x2dd0ca(0x364)]=null,this[_0x2dd0ca(0x513)]=null,this[_0x2dd0ca(0x1fa)](),super['dispose']();}[_0x53d83c(0x64a)](_0x22b819,_0x28f3fa){const _0x16100c=_0x53d83c;if(!this[_0x16100c(0x444)])return this['makeDirty'](!0x1),this;if(this[_0x16100c(0x39e)]()){let _0x20f034=this[_0x16100c(0x4b7)]();return _0x20f034&&this[_0x16100c(0x38d)](_0x20f034),this[_0x16100c(0x39a)](!0x1),this;}if(!this[_0x16100c(0x3dd)])return this;let {width:_0x25d57b,height:_0x44be2d,left:_0x1bcc61,top:_0x1b0d5e}=this['getRealBound']();if(this[_0x16100c(0x5f3)](_0x28f3fa)){let {top:_0x2657c9,left:_0x377934,bottom:_0x53b8d5,right:_0x1e0c80}=_0x28f3fa[_0x16100c(0x4e8)];if(_0x25d57b+this[_0x16100c(0x3c6)]+_0x1bcc61<_0x377934||_0x1e0c80<_0x1bcc61||_0x44be2d+this['strokeWidth']+_0x1b0d5e<_0x2657c9||_0x53b8d5<_0x1b0d5e)return this;}let _0x4d137c=this[_0x16100c(0x3dd)]['getMatrix']();_0x22b819[_0x16100c(0x61e)]();let _0x5baa15=_0x1bcc61+_0x25d57b/0x2,_0x4dce18=_0x1b0d5e+_0x44be2d/0x2;return _0x22b819[_0x16100c(0x3dd)](_0x4d137c[0x0],_0x4d137c[0x1],_0x4d137c[0x2],_0x4d137c[0x3],_0x5baa15,_0x4dce18),this[_0x16100c(0x6d5)]!==0x1&&(_0x22b819[_0x16100c(0x2b4)]=this[_0x16100c(0x6d5)]),this[_0x16100c(0x611)](_0x22b819,void 0x0,_0x25d57b,_0x44be2d),_0x22b819[_0x16100c(0x5e5)](),this['makeDirty'](!0x1),this;}['_draw'](_0x55040e,_0x1fcf8a,_0x452333=this['width'],_0x110b7b=this[_0x53d83c(0x2db)]){const _0x19713b=_0x53d83c;this[_0x19713b(0x6c1)](_0x55040e,_0x452333,_0x110b7b,{'stroke':void 0x0,'strokeWidth':0x0}),this[_0x19713b(0x1f3)](_0x55040e,_0x452333,_0x110b7b),this[_0x19713b(0x6c1)](_0x55040e,_0x452333,_0x110b7b,{'fill':void 0x0});}['_drawChartFrame'](_0x2cda25,_0x3bbac0,_0x5cd835,_0x5b20de){const _0x3c44a7=_0x53d83c;_0x2cda25[_0x3c44a7(0x61e)](),_0x2cda25[_0x3c44a7(0x58b)](-_0x3bbac0/0x2,-_0x5cd835/0x2),_0x4feb4f[_0x3c44a7(0x6be)]['drawWith'](_0x2cda25,_0x141899(this,_0x3bbac0,_0x5cd835,_0x5b20de)),_0x2cda25[_0x3c44a7(0x5e5)]();}[_0x53d83c(0x2df)](_0x1cd1fc){const _0x40c581=_0x53d83c;let {left:_0xa7d080,top:_0x5d3c67,width:_0x1fe1e2,height:_0xbb0069}=this[_0x40c581(0x60b)](),_0x204f60=_0xa7d080+_0x1fe1e2/0x2,_0x36d3d4=_0x5d3c67+_0xbb0069/0x2,_0x1a2b3e=this[_0x40c581(0x3dd)][_0x40c581(0x2e2)](),_0xc8a3e1=new _0x4feb4f[(_0x40c581(0x393))]([_0x1a2b3e[0x0],_0x1a2b3e[0x1],_0x1a2b3e[0x2],_0x1a2b3e[0x3],_0x204f60,_0x36d3d4]),_0x517192=this[_0x40c581(0x5eb)](),_0x4ace68=(this[_0x40c581(0x3a1)]&&(_0x517192==null?void 0x0:_0x517192[_0x40c581(0x335)])===_0x4feb4f[_0x40c581(0x4b5)][_0x40c581(0x6af)]?_0x517192[_0x40c581(0x30f)][_0x40c581(0x350)](_0xc8a3e1):_0xc8a3e1)['invert']()[_0x40c581(0x5f8)](_0x1cd1fc),_0x5a48d6=_0x1fe1e2/0x2,_0x587f1f=_0xbb0069/0x2;return _0x4ace68['x']>=-_0x5a48d6-this[_0x40c581(0x3c6)]/0x2&&_0x4ace68['x']<=_0x5a48d6+this[_0x40c581(0x3c6)]/0x2&&_0x4ace68['y']>=-_0x587f1f-this[_0x40c581(0x3c6)]/0x2&&_0x4ace68['y']<=_0x587f1f+this['strokeWidth']/0x2;}['_drawChartImage'](_0x18fe6d,_0x2fe3b1,_0xf258be){const _0x1198f8=_0x53d83c;let _0x5e2e04=this['_getImage'](),_0x38a1f4=_0x5e2e04?this['_getDrawable'](_0x5e2e04):void 0x0;if(!_0x38a1f4)return;let {width:_0x735b29,height:_0x18b330}=_0x5198cf({'width':_0x2fe3b1,'height':_0xf258be},0x0);_0x735b29!==0x0&&_0x18b330!==0x0&&(_0x18fe6d[_0x1198f8(0x61e)](),_0x18fe6d[_0x1198f8(0x58b)](-_0x2fe3b1/0x2,-_0xf258be/0x2),_0x2bde49(_0x18fe6d,_0x735b29,_0x18b330,this[_0x1198f8(0x345)]),_0x18fe6d[_0x1198f8(0x408)](),_0x18fe6d[_0x1198f8(0x5cd)](_0x38a1f4,0x0,0x0,_0x735b29,_0x18b330),this[_0x1198f8(0x6b1)]()&&(0x0,_0x199e4a[_0x1198f8(0x4f1)])(_0x18fe6d,_0x735b29,_0x18b330),_0x18fe6d[_0x1198f8(0x5e5)]());}[_0x53d83c(0x38d)](_0x316e4b){const _0x54c685=_0x53d83c;var _0x133efe;let _0x11ce64=_0xf10062(_0x316e4b);if(_0x11ce64)return _0x11ce64;if(_0x316e4b[_0x54c685(0x3b2)]===_0x199e4a[_0x54c685(0x5aa)][_0x54c685(0x536)]&&(this[_0x54c685(0x513)]!==_0x316e4b[_0x54c685(0x5db)]&&(this['_requestedUrl']=_0x316e4b['url'],this[_0x54c685(0x213)](),this[_0x54c685(0x364)]!==_0x316e4b[_0x54c685(0x5db)]&&this[_0x54c685(0x547)](_0x316e4b[_0x54c685(0x5db)])),(_0x133efe=this[_0x54c685(0x3b1)])!=null&&_0x133efe[_0x54c685(0x530)]&&this[_0x54c685(0x3b1)][_0x54c685(0x5cb)]>0x0&&this['_urlImage'][_0x54c685(0x6d7)]>0x0))return this[_0x54c685(0x3b1)];}['_loadUrlImage'](_0x7015af){const _0x2ac477=_0x53d83c;let _0x5f096b=document[_0x2ac477(0x38e)]('img');this['_pendingUrlImage']=_0x5f096b,_0x5f096b[_0x2ac477(0x3e9)]=_0x2ac477(0x514),_0x5f096b[_0x2ac477(0x3c4)]=()=>{const _0xaea13e=_0x2ac477;this['_requestedUrl']===_0x7015af&&this[_0xaea13e(0x43b)]===_0x5f096b&&(_0x5f096b[_0xaea13e(0x5cb)]>0x0&&_0x5f096b[_0xaea13e(0x6d7)]>0x0&&(this['_url']=_0x7015af,this[_0xaea13e(0x3b1)]=_0x5f096b),this[_0xaea13e(0x213)](),this['makeDirty'](!0x0));},_0x5f096b[_0x2ac477(0x603)]=()=>{const _0x83ced7=_0x2ac477;this[_0x83ced7(0x43b)]===_0x5f096b&&this[_0x83ced7(0x213)]();},_0x5f096b['src']=_0x7015af;}['_clearPendingUrlImage'](){const _0xba56ca=_0x53d83c;this[_0xba56ca(0x43b)]&&=(this[_0xba56ca(0x43b)][_0xba56ca(0x3c4)]=null,this[_0xba56ca(0x43b)][_0xba56ca(0x603)]=null,null);}};function _0x141899(_0x470c5f,_0x24ebfb,_0xec7245,_0x85a198){const _0x3b6b6e=_0x53d83c;let _0x6800a=Object[_0x3b6b6e(0x2f5)](_0x470c5f);return Object[_0x3b6b6e(0x3e7)](_0x6800a,_0x3b6b6e(0x443),{'value':_0x24ebfb}),Object[_0x3b6b6e(0x3e7)](_0x6800a,_0x3b6b6e(0x2db),{'value':_0xec7245}),Object[_0x3b6b6e(0x38a)](_0x85a198)['forEach'](_0x40b8a5=>{const _0x5c3c58=_0x3b6b6e;Object[_0x5c3c58(0x3e7)](_0x6800a,_0x40b8a5,{'value':_0x85a198[_0x40b8a5]});}),_0x6800a;}function _0x2bde49(_0x3a800f,_0x53a4c1,_0x35f049,_0x34e6c0){const _0x149774=_0x53d83c;let _0x4600d1=Math[_0x149774(0x217)](_0x34e6c0||0x0,_0x53a4c1/0x2,_0x35f049/0x2);_0x3a800f[_0x149774(0x40b)](),_0x4600d1?(_0x3a800f[_0x149774(0x1ff)](_0x4600d1,0x0),_0x3a800f[_0x149774(0x6bb)](_0x53a4c1-_0x4600d1,0x0),_0x3a800f[_0x149774(0x46c)](_0x53a4c1-_0x4600d1,_0x4600d1,_0x4600d1,Math['PI']*0x3/0x2,0x0,!0x1),_0x3a800f['lineTo'](_0x53a4c1,_0x35f049-_0x4600d1),_0x3a800f[_0x149774(0x46c)](_0x53a4c1-_0x4600d1,_0x35f049-_0x4600d1,_0x4600d1,0x0,Math['PI']/0x2,!0x1),_0x3a800f[_0x149774(0x6bb)](_0x4600d1,_0x35f049),_0x3a800f[_0x149774(0x46c)](_0x4600d1,_0x35f049-_0x4600d1,_0x4600d1,Math['PI']/0x2,Math['PI'],!0x1),_0x3a800f[_0x149774(0x6bb)](0x0,_0x4600d1),_0x3a800f[_0x149774(0x46c)](_0x4600d1,_0x4600d1,_0x4600d1,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x3a800f[_0x149774(0x3aa)]()):(_0x3a800f['rect'](0x0,0x0,_0x53a4c1,_0x35f049),_0x3a800f[_0x149774(0x3aa)]());}function _0x2bf6d2(_0x5ed55a){const _0x9cf55=_0x53d83c;(_0x5ed55a==null?void 0x0:_0x5ed55a[_0x9cf55(0x3b2)])===_0x199e4a[_0x9cf55(0x5aa)]['ImageBitmap']&&_0x5ed55a[_0x9cf55(0x476)]['close']();}function _0x3ed5fe(_0x582585){const _0x32cba9=_0x53d83c;return _0x582585[_0x32cba9(0x501)]+'#-#'+_0x582585[_0x32cba9(0x2fb)]+'#-#'+_0x582585[_0x32cba9(0x6d8)];}var _0x4a18f2=class extends _0x29b193[_0x53d83c(0x4a6)]{constructor(..._0x4ef74f){const _0x26ff49=_0x53d83c;super(..._0x4ef74f),_0x3e8fbf(this,_0x26ff49(0x3e4),new Map());}[_0x53d83c(0x29c)](_0x382a6d){const _0x300cf1=_0x53d83c;let _0x48d051=_0x3ed5fe(_0x382a6d),_0x271e42=this[_0x300cf1(0x3e4)][_0x300cf1(0x519)](_0x48d051)??{'version':0x0};return _0x271e42[_0x300cf1(0x34f)]+=0x1,this[_0x300cf1(0x3e4)][_0x300cf1(0x238)](_0x48d051,_0x271e42),_0x271e42['version'];}['isLatest'](_0x15f254,_0x22fbed){const _0x51cee7=_0x53d83c;var _0x39d05d;return((_0x39d05d=this[_0x51cee7(0x3e4)]['get'](_0x3ed5fe(_0x15f254)))==null?void 0x0:_0x39d05d[_0x51cee7(0x34f)])===_0x22fbed;}['setImage'](_0x314426,_0x35c1e2,_0x1dd527){const _0xf29ce9=_0x53d83c;if(!this[_0xf29ce9(0x41f)](_0x314426,_0x1dd527))return _0x2bf6d2(_0x35c1e2),!0x1;let _0x4a41c9=_0x3ed5fe(_0x314426),_0x56300e=this['_entries'][_0xf29ce9(0x519)](_0x4a41c9)??{'version':_0x1dd527},_0x1fc8cd=_0x56300e[_0xf29ce9(0x5a4)];return _0x56300e[_0xf29ce9(0x5a4)]=_0x35c1e2,_0x56300e[_0xf29ce9(0x34f)]=_0x1dd527,this[_0xf29ce9(0x3e4)][_0xf29ce9(0x238)](_0x4a41c9,_0x56300e),_0x1fc8cd!==_0x35c1e2&&_0x2bf6d2(_0x1fc8cd),!0x0;}[_0x53d83c(0x3a4)](_0x1ed32d){const _0x3dbfc4=_0x53d83c;var _0x2da1e2;return(_0x2da1e2=this[_0x3dbfc4(0x3e4)][_0x3dbfc4(0x519)](_0x3ed5fe(_0x1ed32d)))==null?void 0x0:_0x2da1e2[_0x3dbfc4(0x5a4)];}['clearImage'](_0x2adc19){const _0x56296c=_0x53d83c;let _0x2d4282=_0x3ed5fe(_0x2adc19),_0x2decd6=this[_0x56296c(0x3e4)]['get'](_0x2d4282);_0x2decd6&&(_0x2bf6d2(_0x2decd6[_0x56296c(0x5a4)]),this[_0x56296c(0x3e4)][_0x56296c(0x516)](_0x2d4282));}['clearChart'](_0x5cd893){const _0x454919=_0x53d83c;for(let [_0x1b348f,_0x301a28]of this[_0x454919(0x3e4)])_0x1b348f[_0x454919(0x245)](_0x454919(0x61b)+_0x5cd893)&&(_0x2bf6d2(_0x301a28[_0x454919(0x5a4)]),this['_entries'][_0x454919(0x516)](_0x1b348f));}[_0x53d83c(0x3cb)](){const _0x500c68=_0x53d83c;this[_0x500c68(0x3e4)][_0x500c68(0x646)](_0x4e4d95=>_0x2bf6d2(_0x4e4d95['image'])),this[_0x500c68(0x3e4)][_0x500c68(0x53a)](),super[_0x500c68(0x3cb)]();}};let _0x20e767=0x3e8;function _0x1f0fd9(_0xaf6c80,_0x45af18=0x7d0){let _0x412c85=null,_0x1e9572=null,_0x241cce=!0x1,_0x1c1b48=()=>{},_0x99b57=()=>{const _0x394ea9=_0x18ca;_0x412c85==null||_0x412c85[_0x394ea9(0x43f)](),_0x412c85=null,_0x1e9572!=null&&(clearTimeout(_0x1e9572),_0x1e9572=null);};return{'promise':new Promise((_0x204e92,_0x44fc01)=>{const _0xd6af0=_0x18ca;_0x1c1b48=_0x44fc01;let _0x2404a5=()=>{let _0x5a67b7=document['getElementById'](_0xaf6c80);_0x5a67b7&&!_0x241cce&&(_0x241cce=!0x0,_0x99b57(),_0x204e92(_0x5a67b7));};_0x2404a5(),_0x241cce||(_0x412c85=new MutationObserver(_0x2404a5),_0x412c85[_0xd6af0(0x286)](document[_0xd6af0(0x45f)],{'childList':!0x0,'subtree':!0x0}),_0x1e9572=setTimeout(()=>{_0x241cce||(_0x241cce=!0x0,_0x99b57(),_0x44fc01(Error('Timed\x20out\x20waiting\x20for\x20float\x20dom\x20host\x20\x22'+_0xaf6c80+'\x22.')));},_0x45af18));}),'cancel':()=>{const _0x5925ed=_0x18ca;_0x241cce||(_0x241cce=!0x0,_0x99b57(),_0x1c1b48(Error(_0x5925ed(0x25d)+_0xaf6c80+'\x22.')));}};}var _0x1f4d7b=class extends _0x29b193[_0x53d83c(0x4a6)]{constructor(_0x14b2aa,_0x23da00,_0x5060a7,_0x1b840a,_0x46a1e8,_0x5e927b,_0x47a07a,_0x1f231b,_0x1b4cf0){const _0x5408f5=_0x53d83c;super(),this[_0x5408f5(0x6d8)]=_0x14b2aa,this['_getFloatDomInfo']=_0x23da00,this[_0x5408f5(0x3d2)]=_0x5060a7,this[_0x5408f5(0x574)]=_0x1b840a,this['_isProviderDisposed']=_0x46a1e8,this[_0x5408f5(0x308)]=_0x5e927b,this[_0x5408f5(0x3e8)]=_0x47a07a,this['_bindPointerEvents']=_0x1f231b,this[_0x5408f5(0x608)]=_0x1b4cf0,_0x3e8fbf(this,_0x5408f5(0x668),_0x199e4a[_0x5408f5(0x52b)][_0x5408f5(0x4fc)]),_0x3e8fbf(this,_0x5408f5(0x314),null),_0x3e8fbf(this,_0x5408f5(0x246),!0x1),_0x3e8fbf(this,_0x5408f5(0x50e),null),_0x3e8fbf(this,_0x5408f5(0x352),null),_0x3e8fbf(this,'_waiter',null),_0x3e8fbf(this,_0x5408f5(0x33b),{}),_0x3e8fbf(this,'_savedWrapperStyle',null),_0x3e8fbf(this,_0x5408f5(0x5e1),null),_0x3e8fbf(this,'_pointerEvents',null);}[_0x53d83c(0x29a)](){const _0x5df54a=_0x53d83c;return this[_0x5df54a(0x246)];}['markUnmanaged'](){const _0x33520d=_0x53d83c;this[_0x33520d(0x246)]=!0x1;}[_0x53d83c(0x1f8)](){const _0x412d16=_0x53d83c;let _0x1d89c1=this['_getPlacement']();return _0x1d89c1?{'width':_0x1d89c1[_0x412d16(0x443)],'height':_0x1d89c1[_0x412d16(0x2db)]}:null;}[_0x53d83c(0x6aa)](_0x57c1b4){const _0x3b4025=_0x53d83c;this['_disposed']||this[_0x3b4025(0x47c)]()||(this[_0x3b4025(0x33b)]=_0x57c1b4,this[_0x3b4025(0x574)](_0x57c1b4),this[_0x3b4025(0x5d2)]());}async['ensureHandle'](){const _0x307e6b=_0x53d83c;if(this[_0x307e6b(0x427)]||this[_0x307e6b(0x47c)]())throw Error(_0x307e6b(0x2a6));let _0xc474ad=this['_getFloatDomInfo'](),_0x114da1=(_0xc474ad==null?void 0x0:_0xc474ad[_0x307e6b(0x377)])??this[_0x307e6b(0x6d8)],_0x5862ce=document[_0x307e6b(0x2ce)](_0x114da1);if(this[_0x307e6b(0x314)]&&_0x5862ce!=null&&_0x5862ce[_0x307e6b(0x306)](this[_0x307e6b(0x314)][_0x307e6b(0x66a)]))return{'mountNode':this[_0x307e6b(0x314)][_0x307e6b(0x66a)],'dispose':()=>{const _0x530dac=_0x307e6b;this['dispose'](),_0xc474ad==null||_0xc474ad[_0x530dac(0x3cb)][_0x530dac(0x3cb)]();}};if(this[_0x307e6b(0x352)])return this['_pendingHost'];let _0x1fee01=this['_createHost']();return this[_0x307e6b(0x352)]=_0x1fee01,_0x1fee01[_0x307e6b(0x33a)](()=>{const _0x5ed3ef=_0x307e6b;this[_0x5ed3ef(0x352)]===_0x1fee01&&(this['_pendingHost']=null);},()=>{const _0x316f4a=_0x307e6b;this[_0x316f4a(0x352)]===_0x1fee01&&(this[_0x316f4a(0x352)]=null);}),_0x1fee01;}async['ensureMount'](){try{return(await this['ensureHandle']())['mountNode'];}catch{return null;}}[_0x53d83c(0x3f7)](){const _0x504e4e=_0x53d83c;let _0x613509=this[_0x504e4e(0x54d)](),_0x33ef95=(_0x613509==null?void 0x0:_0x613509[_0x504e4e(0x377)])??this['chartId'],_0x46bcfe=document[_0x504e4e(0x2ce)](_0x33ef95);return!!(this['_domFrame']&&_0x46bcfe!=null&&_0x46bcfe[_0x504e4e(0x306)](this[_0x504e4e(0x314)][_0x504e4e(0x66a)]));}[_0x53d83c(0x281)](){const _0xfc6474=_0x53d83c;var _0x578fd9;if(!this[_0xfc6474(0x314)])return;let _0x1d3a78=this['_getPlacement']();if(!_0x1d3a78)return;this[_0xfc6474(0x314)][_0xfc6474(0x517)](this['_resolveLayout'](_0x1d3a78),this['_frameStyle']());let _0x51fc49=(_0x578fd9=this[_0xfc6474(0x21a)])==null?void 0x0:_0x578fd9['wrapper'];_0x51fc49&&(_0x51fc49[_0xfc6474(0x256)][_0xfc6474(0x65e)]=String(_0x20e767+(this[_0xfc6474(0x608)]()??0x0)));}[_0x53d83c(0x433)](){const _0x1787b1=_0x53d83c;!this[_0x1787b1(0x427)]&&!this['_isProviderDisposed']()&&this['_markReady']();}[_0x53d83c(0x268)](){const _0x25f581=_0x53d83c;this[_0x25f581(0x3e8)]();}[_0x53d83c(0x40e)](_0xad16){const _0x5128cc=_0x53d83c;this[_0x5128cc(0x5e1)]=_0xad16;let _0x20d098=this[_0x5128cc(0x54d)](),_0xccda56=document['getElementById']((_0x20d098==null?void 0x0:_0x20d098['domId'])??this[_0x5128cc(0x6d8)]);_0xccda56&&this['_applyHostInteractionState'](_0xccda56);}[_0x53d83c(0x3cb)](){const _0x2f359c=_0x53d83c;var _0x426299,_0x3845df;this['_disposed']||(this['markNotReady'](),this['_pendingToken']=null,this[_0x2f359c(0x352)]=null,this[_0x2f359c(0x2b8)](),this[_0x2f359c(0x246)]=!0x1,this[_0x2f359c(0x5e1)]=null,(_0x426299=this[_0x2f359c(0x654)])==null||_0x426299[_0x2f359c(0x3cb)](),this[_0x2f359c(0x654)]=null,(_0x3845df=this[_0x2f359c(0x314)])==null||_0x3845df[_0x2f359c(0x3cb)](),this['_domFrame']=null,this[_0x2f359c(0x5d3)](),super[_0x2f359c(0x3cb)]());}async[_0x53d83c(0x58a)](){const _0x3638e5=_0x53d83c;let _0x2c7ab0=this[_0x3638e5(0x54d)]();if(!_0x2c7ab0)throw Error(_0x3638e5(0x2a6));let _0x3c2f54=_0x2c7ab0[_0x3638e5(0x377)]??this[_0x3638e5(0x6d8)],_0x759429=_0x1f0fd9(_0x3c2f54),_0x5f9450=Symbol(this[_0x3638e5(0x6d8)]);this[_0x3638e5(0x50e)]=_0x5f9450,this[_0x3638e5(0x53f)]=_0x759429;try{var _0x19ce6f;let _0x35d2b7=await _0x759429['promise'],_0x1ee866=this[_0x3638e5(0x54d)](),_0x4a58dc=(_0x1ee866==null?void 0x0:_0x1ee866[_0x3638e5(0x377)])??this['chartId'];if(this[_0x3638e5(0x427)]||this[_0x3638e5(0x47c)]()||this['_pendingToken']!==_0x5f9450||_0x1ee866!==_0x2c7ab0||_0x4a58dc!==_0x3c2f54||document['getElementById'](_0x3c2f54)!==_0x35d2b7||!_0x35d2b7['isConnected'])throw Error(_0x3638e5(0x2a6));let _0x33536d=this[_0x3638e5(0x3d2)]();if(!_0x33536d)throw Error(_0x3638e5(0x2a6));let _0x4b08d5=new _0x2132f2[(_0x3638e5(0x52a))](_0x35d2b7);return _0x4b08d5[_0x3638e5(0x517)](this['_resolveLayout'](_0x33536d),this[_0x3638e5(0x369)]()),this[_0x3638e5(0x6dd)](_0x35d2b7),this[_0x3638e5(0x314)]=_0x4b08d5,(_0x19ce6f=this[_0x3638e5(0x654)])==null||_0x19ce6f[_0x3638e5(0x3cb)](),this['_pointerEvents']=this[_0x3638e5(0x2b7)](_0x35d2b7),this[_0x3638e5(0x246)]=!0x0,{'mountNode':_0x4b08d5[_0x3638e5(0x66a)],'dispose':()=>{const _0x2bed57=_0x3638e5;this[_0x2bed57(0x3cb)](),_0x2c7ab0[_0x2bed57(0x3cb)][_0x2bed57(0x3cb)]();}};}finally{this['_waiter']===_0x759429&&(this[_0x3638e5(0x53f)]=null),this[_0x3638e5(0x50e)]===_0x5f9450&&(this[_0x3638e5(0x50e)]=null);}}[_0x53d83c(0x2b8)](){const _0xbf1ed9=_0x53d83c;let _0x2b693d=this[_0xbf1ed9(0x53f)];_0x2b693d&&(_0x2b693d[_0xbf1ed9(0x2bc)](),this['_waiter']=null);}[_0x53d83c(0x5d2)](){const _0x3c41bc=_0x53d83c;let _0x26c868=this[_0x3c41bc(0x3d2)]();this['_domFrame']&&_0x26c868&&this[_0x3c41bc(0x314)][_0x3c41bc(0x517)](this[_0x3c41bc(0x1f6)](_0x26c868),this[_0x3c41bc(0x369)]());}[_0x53d83c(0x1f6)](_0x1bf9b0){const _0x2f7cc5=_0x53d83c;return _0x2132f2['ChartFrameLayout'][_0x2f7cc5(0x671)]({'logicalOuterRect':{'left':_0x1bf9b0[_0x2f7cc5(0x5a8)],'top':_0x1bf9b0[_0x2f7cc5(0x1fe)],'width':_0x1bf9b0[_0x2f7cc5(0x443)],'height':_0x1bf9b0[_0x2f7cc5(0x2db)]},'scale':{'scaleX':_0x1bf9b0[_0x2f7cc5(0x366)],'scaleY':_0x1bf9b0['scaleY']},'hostStyle':this['_frameStyle'](),'contentMode':_0x2132f2['ChartFrameContentMode'][_0x2f7cc5(0x5d8)]});}['_frameStyle'](){const _0xd98a07=_0x53d83c;return{...this[_0xd98a07(0x33b)],'radius':this[_0xd98a07(0x33b)][_0xd98a07(0x345)]??_0x2132f2['CHART_HOST_BORDER_RADIUS']};}['_activateHostWrapper'](_0x601f1){const _0x39dead=_0x53d83c;let _0x41702e=_0x601f1['parentElement'];_0x41702e&&(this[_0x39dead(0x21a)]||={'wrapper':_0x41702e,'zIndex':_0x41702e[_0x39dead(0x256)][_0x39dead(0x65e)],'pointerEvents':_0x41702e[_0x39dead(0x256)][_0x39dead(0x5b0)]},_0x41702e['style'][_0x39dead(0x65e)]=String(_0x20e767+(this[_0x39dead(0x608)]()??0x0)),this['_applyHostInteractionState'](_0x601f1));}[_0x53d83c(0x4d3)](_0x5af27d){const _0x1dfc9e=_0x53d83c;let _0xacb9ca=_0x5af27d['parentElement'];if(!_0xacb9ca)return;let _0x473806=this[_0x1dfc9e(0x5e1)];_0x473806==null?(delete _0x5af27d[_0x1dfc9e(0x592)][_0x1dfc9e(0x6c8)],delete _0x5af27d['dataset']['sheetChartDataAnimationDuration'],_0xacb9ca['style'][_0x1dfc9e(0x5b0)]=_0x1dfc9e(0x6d4)):(_0x5af27d['dataset'][_0x1dfc9e(0x6c8)]='true',_0x5af27d['dataset'][_0x1dfc9e(0x585)]=String(_0x473806),_0xacb9ca['style'][_0x1dfc9e(0x5b0)]=_0x1dfc9e(0x55d));}[_0x53d83c(0x5d3)](){const _0x13e9aa=_0x53d83c;if(!this['_savedWrapperStyle'])return;let _0x17798d=this[_0x13e9aa(0x54d)](),_0x2bd405=(_0x17798d==null?void 0x0:_0x17798d[_0x13e9aa(0x377)])??this[_0x13e9aa(0x6d8)],_0x52b304=document[_0x13e9aa(0x2ce)](_0x2bd405);_0x52b304==null||delete _0x52b304['dataset'][_0x13e9aa(0x6c8)],_0x52b304==null||delete _0x52b304[_0x13e9aa(0x592)][_0x13e9aa(0x585)];let _0x347d07=this[_0x13e9aa(0x21a)][_0x13e9aa(0x43c)];_0x347d07&&(_0x347d07[_0x13e9aa(0x256)]['zIndex']=this[_0x13e9aa(0x21a)][_0x13e9aa(0x65e)],_0x347d07[_0x13e9aa(0x256)]['pointerEvents']=this['_savedWrapperStyle']['pointerEvents']),this[_0x13e9aa(0x21a)]=null;}},_0x1aad43=class extends _0x29b193[_0x53d83c(0x4a6)]{constructor(_0x566478,_0x2cea8c,_0x1590fb,_0x32b2e7){const _0x5ce0a3=_0x53d83c;super(),this[_0x5ce0a3(0x4df)]=_0x2cea8c,_0x3e8fbf(this,'_gesture',null),_0x3e8fbf(this,'_suppressClick',!0x1);let _0x38b945=_0x106dfe=>{const _0x580f26=_0x5ce0a3;this[_0x580f26(0x45e)]&&(_0x106dfe[_0x580f26(0x207)](),_0x106dfe[_0x580f26(0x354)]());},_0x526994=_0x4917c2=>{const _0x531dca=_0x5ce0a3;let _0x3b6ce2=this[_0x531dca(0x46a)];(_0x3b6ce2==null?void 0x0:_0x3b6ce2['event']['pointerId'])===_0x4917c2[_0x531dca(0x340)]&&!_0x3b6ce2['target'][_0x531dca(0x300)](_0x4917c2[_0x531dca(0x340)])&&this[_0x531dca(0x540)]();};_0x566478[_0x5ce0a3(0x248)](_0x5ce0a3(0x403),_0x38b945,!0x0),_0x566478[_0x5ce0a3(0x248)](_0x5ce0a3(0x5b8),_0x38b945,!0x0),_0x566478[_0x5ce0a3(0x248)](_0x5ce0a3(0x509),_0x526994),this[_0x5ce0a3(0x661)]((0x0,_0x29b193[_0x5ce0a3(0x4e4)])(()=>{const _0x4ac687=_0x5ce0a3;_0x566478[_0x4ac687(0x5dc)](_0x4ac687(0x403),_0x38b945,!0x0),_0x566478[_0x4ac687(0x5dc)](_0x4ac687(0x5b8),_0x38b945,!0x0),_0x566478[_0x4ac687(0x5dc)](_0x4ac687(0x509),_0x526994),_0x32b2e7(_0x2cea8c);})),this[_0x5ce0a3(0x661)](_0x1590fb[_0x5ce0a3(0x3ee)](()=>{const _0x47b2e4=_0x5ce0a3;this[_0x47b2e4(0x46a)]&&(this[_0x47b2e4(0x45e)]=!0x0);})),_0x32b2e7({'onPointerDown':_0x5ee4e6=>{const _0x13e2ea=_0x5ce0a3;this[_0x13e2ea(0x45e)]=!0x1,_0x2cea8c[_0x13e2ea(0x264)](_0x5ee4e6),!this[_0x13e2ea(0x427)]&&_0x5ee4e6 instanceof PointerEvent&&_0x5ee4e6[_0x13e2ea(0x6d3)]instanceof Element&&_0x5ee4e6[_0x13e2ea(0x6d3)][_0x13e2ea(0x4e5)]&&_0x566478[_0x13e2ea(0x306)](_0x5ee4e6[_0x13e2ea(0x6d3)])&&(this[_0x13e2ea(0x46a)]={'target':_0x5ee4e6[_0x13e2ea(0x6d3)],'event':_0x5ee4e6},this[_0x13e2ea(0x48a)](_0x5ee4e6));},'onPointerMove':_0x19c3ca=>{_0x2cea8c['onPointerMove'](_0x19c3ca),this['_keepChartCapture'](_0x19c3ca);},'onPointerUp':_0x4b4795=>{const _0x17e282=_0x5ce0a3;try{_0x2cea8c[_0x17e282(0x288)](_0x4b4795);}finally{var _0x478aa6;_0x4b4795 instanceof PointerEvent&&((_0x478aa6=this[_0x17e282(0x46a)])==null?void 0x0:_0x478aa6['event'][_0x17e282(0x340)])===_0x4b4795[_0x17e282(0x340)]&&this[_0x17e282(0x61d)]();}}});}[_0x53d83c(0x3cb)](){const _0x5b11a4=_0x53d83c;this[_0x5b11a4(0x427)]||(this[_0x5b11a4(0x540)](),super[_0x5b11a4(0x3cb)]());}[_0x53d83c(0x48a)](_0xa24464){const _0x1eb9e3=_0x53d83c;let _0x4113ba=this[_0x1eb9e3(0x46a)];_0xa24464 instanceof PointerEvent&&(_0x4113ba==null?void 0x0:_0x4113ba['event'][_0x1eb9e3(0x340)])===_0xa24464[_0x1eb9e3(0x340)]&&(_0x4113ba[_0x1eb9e3(0x464)]=_0xa24464,_0x4113ba[_0x1eb9e3(0x6d3)][_0x1eb9e3(0x4e5)]?_0x4113ba[_0x1eb9e3(0x6d3)][_0x1eb9e3(0x3d5)](_0xa24464[_0x1eb9e3(0x340)]):this[_0x1eb9e3(0x540)]());}['_releaseGesture'](){const _0xe4d0e4=_0x53d83c;let _0x4cd954=this[_0xe4d0e4(0x46a)];this['_gesture']=null,_0x4cd954!=null&&_0x4cd954['target'][_0xe4d0e4(0x300)](_0x4cd954['event'][_0xe4d0e4(0x340)])&&_0x4cd954[_0xe4d0e4(0x6d3)][_0xe4d0e4(0x467)](_0x4cd954[_0xe4d0e4(0x464)][_0xe4d0e4(0x340)]);}['_cancelGesture'](){const _0x4e687e=_0x53d83c;let _0x61350c=this[_0x4e687e(0x46a)];this[_0x4e687e(0x61d)](),_0x61350c&&this[_0x4e687e(0x4df)][_0x4e687e(0x288)](new PointerEvent('pointercancel',_0x61350c[_0x4e687e(0x464)]));}},_0x17c8d3=class extends _0x199e4a[_0x53d83c(0x2e3)]{constructor(_0x1d9f56,_0x55fe5b,_0xa8eb82,_0x54a7cc,_0x9a43e7,_0x214622,_0x2e79e0){const _0x52c941=_0x53d83c;super(_0x1d9f56),this[_0x52c941(0x3ce)]=_0x55fe5b,this['_setHostStyle']=_0xa8eb82,this['_snapshotKey']=_0x54a7cc,this[_0x52c941(0x2d6)]=_0x9a43e7,this[_0x52c941(0x4d8)]=_0x214622,this[_0x52c941(0x4ed)]=_0x2e79e0;}[_0x53d83c(0x1f8)](){let _0x565e46=this['_isCurrent']()?this['_getOuterRect']():null;return _0x565e46?_0x5198cf(_0x565e46):null;}[_0x53d83c(0x6aa)](_0x143d9a){const _0x16e34c=_0x53d83c;this[_0x16e34c(0x4ed)]()&&this[_0x16e34c(0x574)](_0x143d9a);}[_0x53d83c(0x29c)](){const _0x4e2518=_0x53d83c;return this[_0x4e2518(0x2d6)][_0x4e2518(0x29c)](this[_0x4e2518(0x29f)]);}['commitSnapshot'](_0xd2c1f4,_0x4b2bee){const _0x442eae=_0x53d83c;return this[_0x442eae(0x4ed)]()?this[_0x442eae(0x2d6)][_0x442eae(0x483)](this[_0x442eae(0x29f)],_0xd2c1f4,_0x4b2bee):(_0x2bf6d2(_0xd2c1f4),!0x1);}[_0x53d83c(0x527)](){const _0x516ac9=_0x53d83c;this[_0x516ac9(0x4ed)]()&&this[_0x516ac9(0x4d8)]();}['invalidateSnapshot'](){const _0x4d931f=_0x53d83c;this['_isCurrent']()&&this[_0x4d931f(0x2d6)][_0x4d931f(0x29c)](this[_0x4d931f(0x29f)]);}};function _0x24d873(_0x3da85b,_0x28c16e){return function(_0x5ebb2c,_0x42f2f4){_0x28c16e(_0x5ebb2c,_0x42f2f4,_0x3da85b);};}function _0x2db00d(_0x257def,_0xc87094,_0x3331a7,_0xcbe132){const _0x3e223a=_0x53d83c;var _0x1d4541=arguments[_0x3e223a(0x5d4)],_0x4ca7de=_0x1d4541<0x3?_0xc87094:_0xcbe132===null?_0xcbe132=Object[_0x3e223a(0x4f6)](_0xc87094,_0x3331a7):_0xcbe132,_0x2e811b;if(typeof Reflect==_0x3e223a(0x22b)&&typeof Reflect[_0x3e223a(0x22a)]=='function')_0x4ca7de=Reflect[_0x3e223a(0x22a)](_0x257def,_0xc87094,_0x3331a7,_0xcbe132);else{for(var _0x464deb=_0x257def[_0x3e223a(0x5d4)]-0x1;_0x464deb>=0x0;_0x464deb--)(_0x2e811b=_0x257def[_0x464deb])&&(_0x4ca7de=(_0x1d4541<0x3?_0x2e811b(_0x4ca7de):_0x1d4541>0x3?_0x2e811b(_0xc87094,_0x3331a7,_0x4ca7de):_0x2e811b(_0xc87094,_0x3331a7))||_0x4ca7de);}return _0x1d4541>0x3&&_0x4ca7de&&Object[_0x3e223a(0x3e7)](_0xc87094,_0x3331a7,_0x4ca7de),_0x4ca7de;}let _0x106611=0.5;function _0x2cfd90(_0x541df2){const _0x1c7883=_0x53d83c;let _0x266448=Math['max'](_0x541df2[_0x1c7883(0x690)]-_0x541df2[_0x1c7883(0x3be)],0x0),_0x47930=Math[_0x1c7883(0x240)](_0x541df2[_0x1c7883(0x401)]-_0x541df2[_0x1c7883(0x20a)],0x0),_0x45768c=_0x541df2[_0x1c7883(0x380)][_0x1c7883(0x5a8)]&&_0x541df2[_0x1c7883(0x443)]-_0x266448>_0x106611,_0x60402f=_0x541df2['absolute']['top']&&_0x541df2[_0x1c7883(0x2db)]-_0x47930>_0x106611;return!_0x45768c&&!_0x60402f?_0x541df2:{..._0x541df2,'absolute':{'left':!_0x45768c&&_0x541df2[_0x1c7883(0x380)][_0x1c7883(0x5a8)],'top':!_0x60402f&&_0x541df2['absolute'][_0x1c7883(0x1fe)]}};}function _0x184244(_0x2babc0){const _0x392162=_0x53d83c;if(!Object[_0x392162(0x2aa)][_0x392162(0x618)][_0x392162(0x67b)](_0x2babc0,_0x392162(0x263)))return _0x2babc0;let {border:_0x348a51,..._0x3ad253}=_0x2babc0;return{..._0x3ad253,'stroke':(_0x348a51==null?void 0x0:_0x348a51['color'])??_0x392162(0x2a0),'strokeWidth':(_0x348a51==null?void 0x0:_0x348a51[_0x392162(0x443)])??0x0};}let _0x4fd093=class extends _0x29b193[_0x53d83c(0x4a6)]{constructor(_0x3bebe9,_0x446c38,_0x42d4fa,_0xf95867,_0x2d539a,_0x92f677,_0x4b2c5f){const _0x12592d=_0x53d83c;super(),this[_0x12592d(0x3c9)]=_0x3bebe9,this[_0x12592d(0x5c5)]=_0x446c38,this[_0x12592d(0x599)]=_0x42d4fa,this['_canvasFloatDomService']=_0xf95867,this[_0x12592d(0x317)]=_0x2d539a,this['_instanceService']=_0x92f677,this[_0x12592d(0x293)]=_0x4b2c5f,_0x3e8fbf(this,_0x12592d(0x617),new Map()),_0x3e8fbf(this,_0x12592d(0x451),new Set()),_0x3e8fbf(this,'_removeHost$',new _0x482a91[(_0x12592d(0x2da))]()),_0x3e8fbf(this,'removeHost$',this[_0x12592d(0x355)][_0x12592d(0x678)]()),this[_0x12592d(0x661)](this[_0x12592d(0x3c9)][_0x12592d(0x50b)][_0x12592d(0x3ee)](_0x1c2f95=>{const _0x3edee1=_0x12592d;let _0x5dfb9e=this['_chartHostMap'][_0x3edee1(0x519)](_0x1c2f95['id']),_0x47d68e=_0x5dfb9e==null?void 0x0:_0x5dfb9e[_0x3edee1(0x29a)]();this['removeHost'](_0x1c2f95['id']),_0x47d68e&&!this[_0x3edee1(0x293)][_0x3edee1(0x381)]({'unitId':_0x1c2f95['unitId'],'subUnitId':_0x1c2f95[_0x3edee1(0x2fb)],'drawingId':_0x1c2f95['id']})&&this[_0x3edee1(0x355)][_0x3edee1(0x449)](_0x1c2f95['id']);}));}[_0x53d83c(0x3d8)](_0x1b89d1){const _0x47aee8=_0x53d83c;if(_0x1b89d1==null)return;let _0x5f358d=this['_renderManagerService'][_0x47aee8(0x694)](_0x1b89d1),_0x24a0bd=_0x5f358d==null?void 0x0:_0x5f358d[_0x47aee8(0x2b3)];return _0x5f358d==null||_0x24a0bd==null?null:{'scene':_0x24a0bd,'transformer':_0x24a0bd[_0x47aee8(0x385)](),'renderUnit':_0x5f358d,'canvas':_0x5f358d['engine']['getCanvasElement']()};}[_0x53d83c(0x462)](_0x15223b,_0x277fd6){const _0x8e1ff7=_0x53d83c;let _0x35ef51=this[_0x8e1ff7(0x3c9)],_0x10d3df=_0x277fd6||_0x8e1ff7(0x2a0),_0x5a7f37=_0x35ef51[_0x8e1ff7(0x3b3)](_0x15223b);if(_0x5a7f37){let {unitId:_0x171f4f,subUnitId:_0x352665}=_0x5a7f37;_0x35ef51[_0x8e1ff7(0x409)](_0x171f4f,_0x352665,_0x15223b,{'stroke':_0x10d3df});}}[_0x53d83c(0x4f7)](_0x346b22,_0x89d17e){const _0x29094a=_0x53d83c;let _0x47a10f=this[_0x29094a(0x3c9)],_0x25ece1=_0x47a10f[_0x29094a(0x3b3)](_0x346b22);if(_0x25ece1){let {unitId:_0x568a99,subUnitId:_0x4c68f5}=_0x25ece1;_0x47a10f[_0x29094a(0x409)](_0x568a99,_0x4c68f5,_0x346b22,_0x184244(_0x89d17e));}}[_0x53d83c(0x239)](_0x5cff96){const _0x31b2d6=_0x53d83c;let _0x296c55=this[_0x31b2d6(0x3c9)][_0x31b2d6(0x3b3)](_0x5cff96);return _0x296c55?_0x296c55['rect']:null;}['getHostClientRect'](_0x37922a){const _0x30357e=_0x53d83c;let _0x10debc=this[_0x30357e(0x3c9)][_0x30357e(0x3b3)](_0x37922a),_0x52c926=document['getElementById']((_0x10debc==null?void 0x0:_0x10debc[_0x30357e(0x377)])??_0x37922a);return(_0x52c926==null?void 0x0:_0x52c926['getBoundingClientRect']())??null;}[_0x53d83c(0x40e)](_0x4f99b5,_0x4130dd){const _0x44bada=_0x53d83c;var _0x50e6ef;(_0x50e6ef=this[_0x44bada(0x617)][_0x44bada(0x519)](_0x4f99b5))==null||_0x50e6ef[_0x44bada(0x40e)](_0x4130dd);}[_0x53d83c(0x5a3)](_0xc3a9a7){const _0x274984=_0x53d83c;var _0x24e4ed;return((_0x24e4ed=this['_chartHostMap'][_0x274984(0x519)](_0xc3a9a7))==null?void 0x0:_0x24e4ed['checkMounted']())??!0x1;}[_0x53d83c(0x4be)](_0x408382){const _0x4371c5=_0x53d83c;var _0x196319;(_0x196319=this[_0x4371c5(0x617)]['get'](_0x408382))==null||_0x196319[_0x4371c5(0x281)]();}[_0x53d83c(0x386)](_0x1b4173){const _0x27e465=_0x53d83c;let _0x1ffd8c=this[_0x27e465(0x617)][_0x27e465(0x519)](_0x1b4173);_0x1ffd8c&&(_0x1ffd8c[_0x27e465(0x3cb)](),this['_canvasFloatDomService']['updateFloatDom'](_0x1b4173,{'eventPassThrough':!0x0})),this['_chartHostMap'][_0x27e465(0x516)](_0x1b4173);}async[_0x53d83c(0x410)](_0x593843,_0x4f5105){const _0x121acd=_0x53d83c;if(_0x4f5105===_0x199e4a[_0x121acd(0x52b)][_0x121acd(0x33e)])return this[_0x121acd(0x27b)](_0x593843);if(_0x4f5105===_0x199e4a[_0x121acd(0x52b)]['Dom'])return this['_getOrCreateSheetChartHost'](_0x593843);let _0x5200d8=this['_getOrCreateSheetChartHost'](_0x593843);if(!_0x5200d8)throw Error(_0x121acd(0x2a6));return _0x5200d8[_0x121acd(0x3c5)]();}[_0x53d83c(0x5ae)](_0xed9308){const _0x45bb2d=_0x53d83c;var _0x3c33f0;return this['_activeDomReadyChartIds'][_0x45bb2d(0x23b)](_0xed9308)?(_0x3c33f0=this[_0x45bb2d(0x617)]['get'](_0xed9308))!=null&&_0x3c33f0[_0x45bb2d(0x3f7)]()?!0x0:(this[_0x45bb2d(0x451)]['delete'](_0xed9308),this['_restoreFloatDomPositionStream'](_0xed9308),!0x1):!0x1;}[_0x53d83c(0x210)](_0x2842f9){const _0x5b94b6=_0x53d83c;this[_0x5b94b6(0x451)][_0x5b94b6(0x516)](_0x2842f9)&&(this['_restoreFloatDomPositionStream'](_0x2842f9),this['_requestChartCanvasRender'](_0x2842f9));}['invalidateSnapshot'](_0x7953e9){const _0x3c694d=_0x53d83c;let _0x39cd8b=this['_getChartSnapshotKey'](_0x7953e9);_0x39cd8b&&this[_0x3c694d(0x599)][_0x3c694d(0x29c)](_0x39cd8b);}['_createImageChartHost'](_0x174a41){const _0x4de836=_0x53d83c;let _0x3dc947=this[_0x4de836(0x624)](_0x174a41);return!_0x3dc947||!this[_0x4de836(0x239)](_0x174a41)?null:new _0x17c8d3(_0x174a41,()=>this['getHostSize'](_0x174a41),_0x224a26=>this['setHostStyle'](_0x174a41,_0x224a26),_0x3dc947,this[_0x4de836(0x599)],()=>this['_requestChartCanvasRender'](_0x174a41),this[_0x4de836(0x45d)](_0x174a41));}[_0x53d83c(0x2de)](_0x52a91d){const _0x1a37ca=_0x53d83c;if(!this[_0x1a37ca(0x239)](_0x52a91d))return null;this[_0x1a37ca(0x65f)]['updateFloatDom'](_0x52a91d,{'eventPassThrough':!0x0,'contentBox':{'wrapperInset':0x0,'contentInset':0x0}});let _0xa2edf8=this[_0x1a37ca(0x617)][_0x1a37ca(0x519)](_0x52a91d);if(_0xa2edf8)return _0xa2edf8;let _0x36e118=this[_0x1a37ca(0x45d)](_0x52a91d),_0x48ebcf=new _0x1f4d7b(_0x52a91d,()=>_0x36e118()?this[_0x1a37ca(0x3c9)][_0x1a37ca(0x3b3)](_0x52a91d):void 0x0,()=>this[_0x1a37ca(0x4db)](_0x52a91d),_0x46f0eb=>this['setHostStyle'](_0x52a91d,_0x46f0eb),()=>!_0x36e118(),()=>{const _0x3d8358=_0x1a37ca;_0x36e118()&&this[_0x3d8358(0x617)]['get'](_0x52a91d)===_0x48ebcf&&this['_markHostReady'](_0x52a91d);},()=>{const _0x711408=_0x1a37ca;this[_0x711408(0x617)][_0x711408(0x519)](_0x52a91d)===_0x48ebcf&&this[_0x711408(0x210)](_0x52a91d);},_0x332f1e=>this[_0x1a37ca(0x593)](_0x52a91d,_0x332f1e),()=>{const _0x337e6a=_0x1a37ca;var _0x1289ea;let _0x18c98d=this['_sheetCanvasFloatDomManagerService'][_0x337e6a(0x3b3)](_0x52a91d),_0x431749=_0x18c98d?this[_0x337e6a(0x200)][_0x337e6a(0x4c9)](_0x18c98d[_0x337e6a(0x501)],_0x29b193[_0x337e6a(0x216)]['UNIVER_SHEET']):null;return _0x18c98d&&(_0x431749==null||(_0x1289ea=_0x431749[_0x337e6a(0x25e)](_0x18c98d[_0x337e6a(0x2fb)]))==null?void 0x0:_0x1289ea[_0x337e6a(0x202)]()[_0x337e6a(0x3b2)])===_0x29b193[_0x337e6a(0x5ec)][_0x337e6a(0x1e6)]?_0x18c98d[_0x337e6a(0x544)][_0x337e6a(0x65e)]:void 0x0;});return this[_0x1a37ca(0x617)]['set'](_0x52a91d,_0x48ebcf),_0x48ebcf;}[_0x53d83c(0x45d)](_0x3a441f){const _0x28fb0d=_0x53d83c;let _0x3e3ac0=this[_0x28fb0d(0x3c9)][_0x28fb0d(0x3b3)](_0x3a441f),_0x222cd5=_0x3e3ac0?this[_0x28fb0d(0x5c5)]['getRenderUnitById'](_0x3e3ac0['unitId']):null,_0x41314b=this[_0x28fb0d(0x317)][_0x28fb0d(0x209)](_0x3a441f);return()=>{const _0x17a01b=_0x28fb0d;var _0x196687;let _0x11ede0=this[_0x17a01b(0x200)][_0x17a01b(0x391)](_0x29b193['UniverInstanceType'][_0x17a01b(0x222)]);return!this[_0x17a01b(0x427)]&&_0x3e3ac0!=null&&_0x222cd5!=null&&_0x3e3ac0===this['_sheetCanvasFloatDomManagerService'][_0x17a01b(0x3b3)](_0x3a441f)&&_0x222cd5===this[_0x17a01b(0x5c5)][_0x17a01b(0x694)](_0x3e3ac0[_0x17a01b(0x501)])&&_0x41314b===this[_0x17a01b(0x317)][_0x17a01b(0x209)](_0x3a441f)&&(_0x11ede0==null?void 0x0:_0x11ede0[_0x17a01b(0x384)]())===_0x3e3ac0[_0x17a01b(0x501)]&&((_0x196687=_0x11ede0['getActiveSheet']())==null?void 0x0:_0x196687[_0x17a01b(0x48e)]())===_0x3e3ac0[_0x17a01b(0x2fb)];};}['_bindChartPointerEvents'](_0x188805,_0xaa7153){const _0x5b6000=_0x53d83c;var _0xc613f2;let _0x255c6b=this['_sheetCanvasFloatDomManagerService'][_0x5b6000(0x3b3)](_0x188805),_0x53c484=(_0xc613f2=this[_0x5b6000(0x65f)][_0x5b6000(0x26a)][_0x5b6000(0x4fb)](([_0x356bc5])=>_0x356bc5===_0x188805))==null?void 0x0:_0xc613f2[0x1],_0x346e65=_0x255c6b?this[_0x5b6000(0x3d8)](_0x255c6b['unitId']):null;if(!_0x255c6b||!_0x53c484||!_0x346e65)return(0x0,_0x29b193[_0x5b6000(0x4e4)])(()=>{});let _0x1289f3=(0x0,_0x4b86b8[_0x5b6000(0x465)])({'unitId':_0x255c6b[_0x5b6000(0x501)],'subUnitId':_0x255c6b['subUnitId'],'drawingId':_0x188805});return new _0x1aad43(_0xaa7153,{'onPointerDown':_0x53c484[_0x5b6000(0x264)],'onPointerMove':_0x53c484[_0x5b6000(0x480)],'onPointerUp':_0x53c484[_0x5b6000(0x288)]},_0x346e65[_0x5b6000(0x5b9)]['changing$'][_0x5b6000(0x28c)]((0x0,_0x482a91[_0x5b6000(0x423)])(_0x7b3057=>_0x7b3057[_0x5b6000(0x68e)][_0x5b6000(0x23b)](_0x1289f3)&&((_0x7b3057[_0x5b6000(0x61a)]??0x0)!==0x0||(_0x7b3057[_0x5b6000(0x2c4)]??0x0)!==0x0))),_0xb10c2=>this[_0x5b6000(0x65f)][_0x5b6000(0x6a9)](_0x188805,_0xb10c2));}[_0x53d83c(0x344)](_0x452db6){const _0xcdf2a2=_0x53d83c;this[_0xcdf2a2(0x451)][_0xcdf2a2(0x23b)](_0x452db6)||(this[_0xcdf2a2(0x451)]['add'](_0x452db6),this[_0xcdf2a2(0x431)](_0x452db6),this[_0xcdf2a2(0x5a6)](_0x452db6));}[_0x53d83c(0x431)](_0x452857){const _0x3b4e0c=_0x53d83c;var _0xa37db0;let _0x230ab1=this['_sheetCanvasFloatDomManagerService'][_0x3b4e0c(0x3b3)](_0x452857),_0x17f05b=_0x230ab1?(_0xa37db0=this['_renderManagerService'][_0x3b4e0c(0x694)](_0x230ab1[_0x3b4e0c(0x501)]))==null?void 0x0:_0xa37db0['scene']:null;if(!_0x230ab1||!_0x17f05b)return;let _0xd16217=(0x0,_0x482a91['merge'])(_0x230ab1['position$'][_0x3b4e0c(0x28c)]((0x0,_0x482a91[_0x3b4e0c(0x54c)])(0x1)),_0x17f05b['afterRender$'][_0x3b4e0c(0x28c)]((0x0,_0x482a91[_0x3b4e0c(0x28e)])(_0x230ab1[_0x3b4e0c(0x6a3)]),(0x0,_0x482a91[_0x3b4e0c(0x435)])(([,_0x191141])=>_0x191141)))[_0x3b4e0c(0x28c)]((0x0,_0x482a91['distinctUntilChanged'])(),(0x0,_0x482a91[_0x3b4e0c(0x435)])(_0x2cfd90));this['_canvasFloatDomService'][_0x3b4e0c(0x6a9)](_0x452857,{'position$':_0xd16217});}['_restoreFloatDomPositionStream'](_0x491aab){const _0x259230=_0x53d83c;let _0x57cad4=this['_sheetCanvasFloatDomManagerService'][_0x259230(0x3b3)](_0x491aab);_0x57cad4&&this[_0x259230(0x65f)][_0x259230(0x6a9)](_0x491aab,{'position$':_0x57cad4[_0x259230(0x6a3)]});}[_0x53d83c(0x624)](_0x12fee6){const _0x25974d=_0x53d83c;let _0x316d36=this[_0x25974d(0x3c9)][_0x25974d(0x3b3)](_0x12fee6);return _0x316d36?{'unitId':_0x316d36[_0x25974d(0x501)],'subUnitId':_0x316d36[_0x25974d(0x2fb)],'chartId':_0x12fee6}:null;}['_requestChartCanvasRender'](_0x255113){const _0x2377eb=_0x53d83c;var _0x3675f1,_0x36f780,_0x5464ed;let _0x35f129=this[_0x2377eb(0x3c9)][_0x2377eb(0x3b3)](_0x255113);if(!_0x35f129)return;let _0x3ef448=(_0x3675f1=this[_0x2377eb(0x5c5)][_0x2377eb(0x694)](_0x35f129['unitId']))==null?void 0x0:_0x3675f1[_0x2377eb(0x2b3)],_0x28144d=(_0x3ef448==null||(_0x36f780=_0x3ef448[_0x2377eb(0x4c4)])==null?void 0x0:_0x36f780['call'](_0x3ef448,(0x0,_0x4b86b8[_0x2377eb(0x465)])({'unitId':_0x35f129[_0x2377eb(0x501)],'subUnitId':_0x35f129[_0x2377eb(0x2fb)],'drawingId':_0x255113})))??(_0x3ef448==null?void 0x0:_0x3ef448['getObject']((0x0,_0x4b86b8[_0x2377eb(0x465)])({'unitId':_0x35f129[_0x2377eb(0x501)],'subUnitId':_0x35f129['subUnitId'],'drawingId':_0x255113})))??null;_0x28144d==null||(_0x5464ed=_0x28144d['makeDirty'])==null||_0x5464ed['call'](_0x28144d,!0x0),_0x3ef448==null||_0x3ef448['makeDirty'](!0x0);}['_getHostPlacement'](_0x33a763){const _0x569771=_0x53d83c;let _0x1b2428=this[_0x569771(0x3c9)][_0x569771(0x3b3)](_0x33a763);if(!_0x1b2428)return null;let _0xcc2dae=this[_0x569771(0x3d8)](_0x1b2428['unitId']),_0x107662=_0xcc2dae==null?void 0x0:_0xcc2dae[_0x569771(0x2b3)],_0x1b43bb=document[_0x569771(0x2ce)](_0x1b2428['domId']??_0x33a763);return _0x19863e(_0x1b2428[_0x569771(0x544)],{'scaleX':(_0x107662==null?void 0x0:_0x107662[_0x569771(0x366)])??0x1,'scaleY':(_0x107662==null?void 0x0:_0x107662[_0x569771(0x598)])??0x1},_0x1b43bb?{'left':_0x1b43bb['offsetLeft'],'top':_0x1b43bb['offsetTop']}:void 0x0);}[_0x53d83c(0x3cb)](){const _0x2227bb=_0x53d83c;this[_0x2227bb(0x427)]||(Array[_0x2227bb(0x693)](this[_0x2227bb(0x617)][_0x2227bb(0x38a)]())[_0x2227bb(0x646)](_0x3345cf=>this[_0x2227bb(0x386)](_0x3345cf)),this[_0x2227bb(0x451)]['clear'](),this[_0x2227bb(0x355)]['complete'](),super['dispose']());}};_0x4fd093=_0x2db00d([_0x24d873(0x0,(0x0,_0x29b193[_0x53d83c(0x6d2)])(_0x379e87['SheetCanvasFloatDomManagerService'])),_0x24d873(0x1,(0x0,_0x29b193[_0x53d83c(0x6d2)])(_0x4feb4f[_0x53d83c(0x224)])),_0x24d873(0x2,(0x0,_0x29b193['Inject'])(_0x4a18f2)),_0x24d873(0x3,(0x0,_0x29b193[_0x53d83c(0x6d2)])(_0x3862b0[_0x53d83c(0x69d)])),_0x24d873(0x4,(0x0,_0x29b193['Inject'])(_0x1593c9[_0x53d83c(0x636)])),_0x24d873(0x5,_0x29b193[_0x53d83c(0x233)]),_0x24d873(0x6,_0x303a0f[_0x53d83c(0x273)])],_0x4fd093);let _0x1bd436=(0x0,_0x29b193['createIdentifier'])(_0x53d83c(0x23c)),_0x11dce7=_0x199e4a[_0x53d83c(0x52b)][_0x53d83c(0x33e)];var _0xdb5951=class extends _0x199e4a['ImageChartHost']{constructor(_0x2c52b9,_0x584815){const _0x303535=_0x53d83c;super(_0x2c52b9),this[_0x303535(0x1e7)]=_0x584815,_0x3e8fbf(this,_0x303535(0x674),0x0),_0x3e8fbf(this,'_image',void 0x0),_0x3e8fbf(this,_0x303535(0x256),{});}[_0x53d83c(0x1f8)](){const _0x209d41=_0x53d83c;return this[_0x209d41(0x1e7)];}[_0x53d83c(0x6aa)](_0x40c80d){const _0x53b483=_0x53d83c;this[_0x53b483(0x256)]=_0x40c80d;}[_0x53d83c(0x29c)](){const _0x3065ce=_0x53d83c;return++this[_0x3065ce(0x674)];}[_0x53d83c(0x2b6)](_0x50c7c0,_0x23aae8){const _0x36f6d4=_0x53d83c;return _0x23aae8===this['_version']?(_0x2bf6d2(this[_0x36f6d4(0x575)]),this[_0x36f6d4(0x575)]=_0x50c7c0,!0x0):(_0x2bf6d2(_0x50c7c0),!0x1);}[_0x53d83c(0x527)](){}['invalidateSnapshot'](){const _0x3c5bb9=_0x53d83c;this[_0x3c5bb9(0x674)]+=0x1;}[_0x53d83c(0x31e)](){const _0x41fcb6=_0x53d83c;let _0x23fba5=this[_0x41fcb6(0x575)];return this['_image']=void 0x0,_0x23fba5;}['dispose'](){const _0x340efa=_0x53d83c;_0x2bf6d2(this[_0x340efa(0x575)]),this['_image']=void 0x0,super[_0x340efa(0x3cb)]();}};function _0x436720(_0x2281e3,_0x4b1279,_0x79c513){const _0xeef531=_0x53d83c;let _0x2d4070=_0x2281e3['getRuntimeContext'](_0x4b1279),_0x47e421={..._0x2281e3['style'],'runtime':{..._0x2d4070,'layoutInset':0x8,..._0x79c513===void 0x0?{}:{'addWatermark':_0x79c513}},'direction':_0x4b1279};return(0x0,_0x199e4a[_0xeef531(0x5fb)])(_0x47e421,_0x2281e3[_0xeef531(0x466)]);}let _0x3064f4=class extends _0x29b193[_0x53d83c(0x4a6)]{constructor(_0x1246ec,_0x44209b,_0x5dcc87,_0x531d1d,_0x4d874d,_0xa36825,_0x1f973f,_0x46f17e,_0x56b295,_0x2ed7d2,_0x295f45,_0x5e8440,_0x154839,_0x3b0143,_0x5aea9b,_0x1441d8,_0x431e6d){const _0xc4d4fc=_0x53d83c;super(),this[_0xc4d4fc(0x363)]=_0x1246ec,this['_sheetCanvasFloatDomManagerService']=_0x44209b,this[_0xc4d4fc(0x317)]=_0x5dcc87,this[_0xc4d4fc(0x5ca)]=_0x531d1d,this[_0xc4d4fc(0x228)]=_0x4d874d,this['_logService']=_0xa36825,this[_0xc4d4fc(0x402)]=_0x1f973f,this['_univerInstanceService']=_0x46f17e,this[_0xc4d4fc(0x5c5)]=_0x56b295,this[_0xc4d4fc(0x50a)]=_0x2ed7d2,this[_0xc4d4fc(0x1f7)]=_0x295f45,this[_0xc4d4fc(0x348)]=_0x5e8440,this[_0xc4d4fc(0x32d)]=_0x154839,this['_themeService']=_0x3b0143,this['_configService']=_0x5aea9b,this[_0xc4d4fc(0x599)]=_0x1441d8,this[_0xc4d4fc(0x2a1)]=_0x431e6d,_0x3e8fbf(this,_0xc4d4fc(0x600),new Map()),_0x3e8fbf(this,_0xc4d4fc(0x457),new Map()),_0x3e8fbf(this,_0xc4d4fc(0x644),new Map()),_0x3e8fbf(this,_0xc4d4fc(0x44a),new Map()),_0x3e8fbf(this,_0xc4d4fc(0x689),new Map()),_0x3e8fbf(this,_0xc4d4fc(0x53d),new Map()),_0x3e8fbf(this,_0xc4d4fc(0x395),new Map()),_0x3e8fbf(this,_0xc4d4fc(0x645),void 0x0),_0x3e8fbf(this,_0xc4d4fc(0x1ec),new Map()),_0x3e8fbf(this,'_dataUpdateAnimationChartIds',new Set()),_0x3e8fbf(this,'_dataUpdateAnimationTimers',new Map()),_0x3e8fbf(this,_0xc4d4fc(0x4e6),new Map()),_0x3e8fbf(this,'_chartSheetPresentation',null),_0x3e8fbf(this,'_chartSheetRegistration',null),_0x3e8fbf(this,_0xc4d4fc(0x55a),null),_0x3e8fbf(this,_0xc4d4fc(0x1ed),!0x1),_0x3e8fbf(this,_0xc4d4fc(0x62c),null),_0x3e8fbf(this,'_lastActiveSheet',null);let _0x1a290c=this[_0xc4d4fc(0x47e)]['getConfig'](_0x1593c9['SHEETS_CHART_PLUGIN_CONFIG_KEY']);this['_chartRenderMode']=(_0x1a290c==null?void 0x0:_0x1a290c[_0xc4d4fc(0x676)])??_0x11dce7,this[_0xc4d4fc(0x322)](),this[_0xc4d4fc(0x294)](),this[_0xc4d4fc(0x4fd)](),this[_0xc4d4fc(0x269)](),this[_0xc4d4fc(0x60f)]();}get[_0x53d83c(0x583)](){const _0x1e630f=_0x53d83c;return this[_0x1e630f(0x1e4)]!==null;}[_0x53d83c(0x61f)](_0x5fb863){const _0x475ff7=_0x53d83c;var _0x57e8b6;(_0x57e8b6=this[_0x475ff7(0x35f)])==null||_0x57e8b6[_0x475ff7(0x3cb)]();let _0x593a3b=(0x0,_0x29b193['toDisposable'])(()=>{const _0x2d92b2=_0x475ff7;this[_0x2d92b2(0x35f)]===_0x593a3b&&(_0x5fb863['clearPage'](),this['_chartSheetRegistration']=null,this[_0x2d92b2(0x1e4)]=null,this['_primaryDomComposition']=null,this[_0x2d92b2(0x614)]());});return this['_chartSheetPresentation']=_0x5fb863,this[_0x475ff7(0x35f)]=_0x593a3b,this[_0x475ff7(0x614)](),this[_0x475ff7(0x32b)](),_0x593a3b;}['getChartSnapshotImage'](_0x1f39a7){const _0x5e773a=_0x53d83c;let _0x20b60f=this[_0x5e773a(0x624)](_0x1f39a7);return _0x20b60f?this[_0x5e773a(0x599)][_0x5e773a(0x3a4)](_0x20b60f):void 0x0;}[_0x53d83c(0x626)](_0x1ebea7){const _0x19866c=_0x53d83c;var _0x2ceed5,_0x2aa1bd,_0x3ea299,_0x30ecee,_0x2d7dd4;let _0x32b2ea=(_0x2ceed5=this[_0x19866c(0x317)][_0x19866c(0x25c)])==null?void 0x0:_0x2ceed5['id'];return _0x32b2ea===_0x1ebea7||_0x32b2ea&&this[_0x19866c(0x412)](_0x32b2ea)&&((_0x2aa1bd=this[_0x19866c(0x624)](_0x1ebea7))==null?void 0x0:_0x2aa1bd['unitId'])===((_0x3ea299=this[_0x19866c(0x624)](_0x32b2ea))==null?void 0x0:_0x3ea299['unitId'])&&((_0x30ecee=this[_0x19866c(0x624)](_0x1ebea7))==null?void 0x0:_0x30ecee[_0x19866c(0x2fb)])===((_0x2d7dd4=this[_0x19866c(0x624)](_0x32b2ea))==null?void 0x0:_0x2d7dd4[_0x19866c(0x2fb)])?_0x199e4a[_0x19866c(0x52b)][_0x19866c(0x4fc)]:this[_0x19866c(0x645)];}[_0x53d83c(0x624)](_0x302170){const _0x4f9ce0=_0x53d83c;let _0x592194=this[_0x4f9ce0(0x3c9)][_0x4f9ce0(0x3b3)](_0x302170);return _0x592194?{'unitId':_0x592194[_0x4f9ce0(0x501)],'subUnitId':_0x592194['subUnitId'],'chartId':_0x302170}:null;}[_0x53d83c(0x322)](){const _0x5cc514=_0x53d83c;this[_0x5cc514(0x661)](this[_0x5cc514(0x3c9)]['registerRenderObjectFactory'](_0x29b193[_0x5cc514(0x5d5)]['DRAWING_CHART'],({key:_0x4f4c5e,config:_0x5167bb,unitId:_0x2b4e0e,subUnitId:_0x57b159,drawingId:_0x15294d})=>{const _0x28f5cd=_0x5cc514;var _0x40705c;let _0xec54e6=(_0x40705c=this[_0x28f5cd(0x60e)][_0x28f5cd(0x4c9)](_0x2b4e0e,_0x29b193['UniverInstanceType'][_0x28f5cd(0x222)]))==null?void 0x0:_0x40705c[_0x28f5cd(0x25e)](_0x57b159);return this['_chartRenderMode']!==_0x199e4a[_0x28f5cd(0x52b)]['Image']&&(_0xec54e6==null?void 0x0:_0xec54e6[_0x28f5cd(0x202)]()[_0x28f5cd(0x3b2)])!==_0x29b193[_0x28f5cd(0x5ec)][_0x28f5cd(0x1e6)]?new _0x4feb4f[(_0x28f5cd(0x6be))](_0x4f4c5e,_0x5167bb):new _0x41aeff(_0x4f4c5e,_0x5167bb,()=>{const _0x4ecb6d=_0x28f5cd;if((_0xec54e6==null?void 0x0:_0xec54e6['getConfig']()[_0x4ecb6d(0x3b2)])!==_0x29b193[_0x4ecb6d(0x5ec)]['CHART']||this['_chartSheetPresentation'])return this[_0x4ecb6d(0x599)]['getImage']({'unitId':_0x2b4e0e,'subUnitId':_0x57b159,'chartId':_0x15294d});},()=>this[_0x28f5cd(0x363)]['isDomReady'](_0x15294d),void 0x0,()=>(0x0,_0x1593c9[_0x28f5cd(0x387)])(this['_injector']));}));}[_0x53d83c(0x294)](){const _0x580591=_0x53d83c;this[_0x580591(0x661)](this[_0x580591(0x317)][_0x580591(0x40d)][_0x580591(0x3ee)](_0x1c65e5=>{const _0x5e17e4=_0x580591;let _0x11e9a8=(_0x1c65e5==null?void 0x0:_0x1c65e5['id'])??null,_0x9a0d7d=this[_0x5e17e4(0x62c)];if(_0x9a0d7d===_0x11e9a8)return;_0x9a0d7d&&(this[_0x5e17e4(0x363)]['markHostNotReady'](_0x9a0d7d),this[_0x5e17e4(0x32e)](_0x9a0d7d),this[_0x5e17e4(0x24f)](_0x9a0d7d));let _0x53295f=_0x11e9a8&&this[_0x5e17e4(0x412)](_0x11e9a8),_0x3aa145=this[_0x5e17e4(0x55a)]!=null||_0x9a0d7d&&this[_0x5e17e4(0x412)](_0x9a0d7d)||_0x53295f;this['_primaryDomComposition']=_0x53295f?this[_0x5e17e4(0x4e6)][_0x5e17e4(0x519)](_0x11e9a8)??null:null,this[_0x5e17e4(0x62c)]=_0x11e9a8,_0x11e9a8&&(this[_0x5e17e4(0x4e3)](_0x11e9a8),this[_0x5e17e4(0x363)][_0x5e17e4(0x210)](_0x11e9a8),this[_0x5e17e4(0x4f0)](_0x11e9a8),_0x3aa145||this[_0x5e17e4(0x485)](_0x11e9a8)),!_0x3aa145&&_0x9a0d7d&&this[_0x5e17e4(0x645)]===_0x199e4a[_0x5e17e4(0x52b)][_0x5e17e4(0x4fc)]&&this[_0x5e17e4(0x485)](_0x9a0d7d),_0x3aa145&&this[_0x5e17e4(0x4e6)][_0x5e17e4(0x646)](_0x2bf0d6=>this[_0x5e17e4(0x672)](_0x2bf0d6));}));}[_0x53d83c(0x4fd)](){const _0x507205=_0x53d83c;this[_0x507205(0x661)](this[_0x507205(0x402)][_0x507205(0x346)]['subscribe'](_0x150bbd=>{const _0x36e5c6=_0x507205;var _0x4d48e5;let _0x3a814e=(_0x4d48e5=this[_0x36e5c6(0x317)][_0x36e5c6(0x25c)])==null?void 0x0:_0x4d48e5['id'];_0x3a814e&&_0x150bbd[_0x36e5c6(0x4a1)](_0x4ed676=>_0x4ed676[_0x36e5c6(0x588)][_0x36e5c6(0x4a1)](_0x1774ff=>_0x1774ff[_0x36e5c6(0x503)]===_0x3a814e))&&this[_0x36e5c6(0x317)][_0x36e5c6(0x2a8)](null);})),this[_0x507205(0x661)](this[_0x507205(0x402)][_0x507205(0x62e)][_0x507205(0x3ee)](_0x20f63d=>{const _0x3a80dc=_0x507205;var _0x31da5c;let _0x2060f1=(_0x31da5c=this[_0x3a80dc(0x317)]['activeChartModel'])==null?void 0x0:_0x31da5c['id'];_0x2060f1&&_0x20f63d[_0x3a80dc(0x4a1)](_0x1021d1=>_0x1021d1[_0x3a80dc(0x204)][_0x3a80dc(0x503)]===_0x2060f1||_0x1021d1['children'][_0x3a80dc(0x4a1)](_0x626716=>_0x626716[_0x3a80dc(0x503)]===_0x2060f1))&&this[_0x3a80dc(0x317)]['setActiveChartModel'](null);}));}[_0x53d83c(0x269)](){const _0x40e109=_0x53d83c;this['disposeWithMe'](this[_0x40e109(0x402)][_0x40e109(0x653)]['subscribe'](({unitId:_0x19cedc,subUnitId:_0x14e811})=>{const _0x1a03b1=_0x40e109;var _0x357bb8;((_0x357bb8=this[_0x1a03b1(0x415)])==null?void 0x0:_0x357bb8[_0x1a03b1(0x501)])===_0x19cedc&&this[_0x1a03b1(0x415)][_0x1a03b1(0x2fb)]===_0x14e811&&this[_0x1a03b1(0x49f)](_0x19cedc,_0x14e811)&&this['_queueResourceReconciliation']();})),this[_0x40e109(0x661)](this[_0x40e109(0x402)][_0x40e109(0x5a5)][_0x40e109(0x3ee)](_0x4a7de4=>{const _0x2c23bb=_0x40e109;var _0x5c4ba0;let _0x59adbc=(_0x5c4ba0=this['_chartModelService']['activeChartModel'])==null?void 0x0:_0x5c4ba0['id'];if(this[_0x2c23bb(0x49f)](_0x4a7de4[_0x2c23bb(0x501)],_0x4a7de4[_0x2c23bb(0x2fb)])){this[_0x2c23bb(0x614)]();return;}if(!_0x59adbc){_0x4a7de4[_0x2c23bb(0x283)][_0x2c23bb(0x646)](_0xb268e7=>{const _0x13378e=_0x2c23bb;this[_0x13378e(0x317)][_0x13378e(0x209)](_0xb268e7)&&this[_0x13378e(0x32e)](_0xb268e7);});return;}let _0x284c06=this[_0x2c23bb(0x3c9)][_0x2c23bb(0x3b3)](_0x59adbc);(_0x284c06==null?void 0x0:_0x284c06[_0x2c23bb(0x501)])===_0x4a7de4['unitId']&&_0x284c06[_0x2c23bb(0x2fb)]===_0x4a7de4['subUnitId']&&this[_0x2c23bb(0x4f0)](_0x59adbc);})),this['disposeWithMe'](this[_0x40e109(0x402)][_0x40e109(0x491)]['subscribe'](_0x14c8ba=>{const _0x2e1304=_0x40e109;var _0x535f74;let _0x4bce2c=(_0x535f74=this['_chartModelService'][_0x2e1304(0x25c)])==null?void 0x0:_0x535f74['id'];if(!_0x4bce2c)return;let _0x4e2874=this[_0x2e1304(0x3c9)][_0x2e1304(0x3b3)](_0x4bce2c);_0x4e2874&&_0x14c8ba['some'](_0x1fbec9=>_0x1fbec9[_0x2e1304(0x501)]===_0x4e2874['unitId']&&_0x1fbec9[_0x2e1304(0x2fb)]===_0x4e2874['subUnitId'])&&this[_0x2e1304(0x4f0)](_0x4bce2c);})),this[_0x40e109(0x661)](this['_chartModelService'][_0x40e109(0x4ab)][_0x40e109(0x3ee)](_0x802d0c=>{const _0x4ba476=_0x40e109;var _0xe925b0;this[_0x4ba476(0x4e6)][_0x4ba476(0x516)](_0x802d0c),this[_0x4ba476(0x32b)](),this['_disposeChartChangeListeners'](_0x802d0c),this[_0x4ba476(0x37e)](_0x802d0c),this[_0x4ba476(0x457)][_0x4ba476(0x516)](_0x802d0c),this[_0x4ba476(0x4e3)](_0x802d0c),this[_0x4ba476(0x1ec)][_0x4ba476(0x516)](_0x802d0c),this[_0x4ba476(0x599)][_0x4ba476(0x336)](_0x802d0c),this[_0x4ba476(0x255)](_0x802d0c),this[_0x4ba476(0x363)][_0x4ba476(0x210)](_0x802d0c),((_0xe925b0=this['_chartModelService'][_0x4ba476(0x25c)])==null?void 0x0:_0xe925b0['id'])===_0x802d0c?this[_0x4ba476(0x317)]['setActiveChartModel'](null):this[_0x4ba476(0x32e)](_0x802d0c),this['_disposeChartRenderInstance'](_0x802d0c);}));}[_0x53d83c(0x485)](_0x342dec){const _0x3c579f=_0x53d83c;let _0x5f1059=this['_lastRenderInputMap'][_0x3c579f(0x519)](_0x342dec);_0x5f1059&&this[_0x3c579f(0x64a)](_0x342dec,_0x5f1059[_0x3c579f(0x231)],_0x5f1059[_0x3c579f(0x256)])['catch'](_0x3c9fa0=>this[_0x3c579f(0x4ba)][_0x3c579f(0x5c4)](_0x3c9fa0));}[_0x53d83c(0x24f)](_0x32e006){const _0x3ef7db=_0x53d83c;let _0x5b8ebe=this[_0x3ef7db(0x600)]['get'](_0x32e006);(_0x5b8ebe==null?void 0x0:_0x5b8ebe[_0x3ef7db(0x668)])===_0x3ef7db(0x6d6)&&(this['_disposeChartEventSubscriptions'](_0x32e006),_0x5b8ebe[_0x3ef7db(0x3cb)](),this[_0x3ef7db(0x600)][_0x3ef7db(0x516)](_0x32e006)),this[_0x3ef7db(0x363)][_0x3ef7db(0x210)](_0x32e006),this[_0x3ef7db(0x363)]['removeHost'](_0x32e006);}[_0x53d83c(0x577)](_0x354373){const _0x5734ec=_0x53d83c;let _0x1dd72e=this[_0x5734ec(0x600)][_0x5734ec(0x519)](_0x354373);_0x1dd72e&&(this[_0x5734ec(0x37e)](_0x354373),_0x1dd72e[_0x5734ec(0x3cb)](),this['_chartInstanceMap'][_0x5734ec(0x516)](_0x354373)),this['_chartHostProvider'][_0x5734ec(0x210)](_0x354373),this[_0x5734ec(0x363)][_0x5734ec(0x386)](_0x354373);}[_0x53d83c(0x255)](_0x599457){const _0x46a4f0=_0x53d83c;var _0x484093,_0x1450f3;(_0x484093=this[_0x46a4f0(0x2a1)]['getRenderModel'](_0x199e4a['EChartRenderEngineName']))==null||(_0x1450f3=_0x484093['emitChartEvent'])==null||_0x1450f3[_0x46a4f0(0x67b)](_0x484093,{'type':_0x46a4f0(0x545),'chartId':_0x599457});}['_getChartRenderObject'](_0x32796b,_0x589638){const _0x3970da=_0x53d83c;var _0x563cf2;return((_0x563cf2=_0x32796b[_0x3970da(0x4c4)])==null?void 0x0:_0x563cf2[_0x3970da(0x67b)](_0x32796b,_0x589638))??_0x32796b[_0x3970da(0x472)](_0x589638)??null;}['_getChartRenderObjectContext'](_0x3ab92c){const _0x503b0=_0x53d83c;var _0x2ba9ee;let _0x47a671=this[_0x503b0(0x3c9)][_0x503b0(0x3b3)](_0x3ab92c);if(!_0x47a671)return null;let _0x4b382b=(_0x2ba9ee=this[_0x503b0(0x5c5)][_0x503b0(0x694)](_0x47a671[_0x503b0(0x501)]))==null?void 0x0:_0x2ba9ee[_0x503b0(0x2b3)];if(!_0x4b382b)return null;let _0x5e0258=this['_getChartRenderObject'](_0x4b382b,(0x0,_0x4b86b8[_0x503b0(0x465)])({'unitId':_0x47a671[_0x503b0(0x501)],'subUnitId':_0x47a671[_0x503b0(0x2fb)],'drawingId':_0x3ab92c}));return _0x5e0258?{'info':_0x47a671,'scene':_0x4b382b,'chartObject':_0x5e0258}:null;}[_0x53d83c(0x5ed)](_0x66535d,_0x5a9b1a){const _0x2ed4c1=_0x53d83c;var _0x17d293,_0x41c010,_0x5b1ba0,_0x126271;let _0x4250a6=this['_getChartRenderObjectContext'](_0x66535d);_0x4250a6&&((_0x17d293=(_0x41c010=_0x4250a6[_0x2ed4c1(0x1e8)])[_0x2ed4c1(0x639)])==null||_0x17d293[_0x2ed4c1(0x67b)](_0x41c010,{'zIndex':_0x5a9b1a}),(_0x5b1ba0=(_0x126271=_0x4250a6[_0x2ed4c1(0x1e8)])[_0x2ed4c1(0x39a)])==null||_0x5b1ba0[_0x2ed4c1(0x67b)](_0x126271,!0x0),_0x4250a6[_0x2ed4c1(0x2b3)][_0x2ed4c1(0x39a)](!0x0),this[_0x2ed4c1(0x363)]['syncHostLayout'](_0x66535d));}[_0x53d83c(0x4f0)](_0x373259){const _0x2b6efa=_0x53d83c;let _0x11e271=this['_sheetCanvasFloatDomManagerService'][_0x2b6efa(0x3b3)](_0x373259);if(!_0x11e271)return;let _0x523328=this[_0x2b6efa(0x402)][_0x2b6efa(0x498)](_0x11e271[_0x2b6efa(0x501)],_0x11e271[_0x2b6efa(0x2fb)]),_0x522971=this[_0x2b6efa(0x49f)](_0x11e271['unitId'],_0x11e271[_0x2b6efa(0x2fb)]);this[_0x2b6efa(0x5ed)](_0x373259,(_0x522971==null?void 0x0:_0x522971['id'])===_0x373259?0x0:_0x523328['length']+ +!!_0x522971);}['_resetChartRuntimeZIndex'](_0x5ae095){const _0x2ddfce=_0x53d83c;let _0x4a0a03=this['_sheetCanvasFloatDomManagerService'][_0x2ddfce(0x3b3)](_0x5ae095);if(!_0x4a0a03)return;let _0x352926=this[_0x2ddfce(0x402)]['getDrawingOrder'](_0x4a0a03['unitId'],_0x4a0a03['subUnitId']),_0x1bd7a3=this[_0x2ddfce(0x49f)](_0x4a0a03['unitId'],_0x4a0a03[_0x2ddfce(0x2fb)]),_0x4dd309=_0x352926[_0x2ddfce(0x5bc)](_0x5ae095),_0x2f2ad2=_0x4dd309===-0x1?Math[_0x2ddfce(0x240)](_0x352926[_0x2ddfce(0x5d4)]-0x1,0x0):_0x4dd309;this[_0x2ddfce(0x5ed)](_0x5ae095,(_0x1bd7a3==null?void 0x0:_0x1bd7a3['id'])===_0x5ae095?0x0:_0x2f2ad2+ +!!_0x1bd7a3);}['_resizeChart'](_0x1ee21e,_0x3abf4e){const _0x1530b6=_0x53d83c;let _0x17c37f=this[_0x1530b6(0x3c9)][_0x1530b6(0x3b3)](_0x1ee21e);if(_0x3abf4e['width']!==void 0x0&&_0x3abf4e[_0x1530b6(0x2db)]!==void 0x0&&_0x17c37f){var _0x2919a7;let {unitId:_0x26a16d,subUnitId:_0x4dd62f}=_0x17c37f,_0x1e86c3=this[_0x1530b6(0x60e)]['getCurrentUnitOfType'](_0x29b193[_0x1530b6(0x216)][_0x1530b6(0x222)]);if((_0x1e86c3==null?void 0x0:_0x1e86c3[_0x1530b6(0x384)]())===_0x26a16d&&((_0x2919a7=_0x1e86c3[_0x1530b6(0x695)]())==null?void 0x0:_0x2919a7[_0x1530b6(0x48e)]())===_0x4dd62f){let {width:_0x566c6b,height:_0x30a3e9}=_0x3abf4e,_0x3c9361=this[_0x1530b6(0x317)][_0x1530b6(0x209)](_0x1ee21e),_0x1cef94=_0x3c9361==null?void 0x0:_0x3c9361[_0x1530b6(0x256)];(Math[_0x1530b6(0x353)](_0x566c6b-((_0x1cef94==null?void 0x0:_0x1cef94[_0x1530b6(0x443)])||0x0))>0x1||Math[_0x1530b6(0x353)](_0x30a3e9-((_0x1cef94==null?void 0x0:_0x1cef94[_0x1530b6(0x2db)])||0x0))>0x1)&&(_0x3c9361==null||_0x3c9361[_0x1530b6(0x218)]({..._0x1cef94,'width':_0x566c6b,'height':_0x30a3e9}));}}}[_0x53d83c(0x6a4)](_0x5c8448,_0x4c540c,_0x51b73f=0x0){const _0x110fe4=_0x53d83c;let _0x18c3cf=this[_0x110fe4(0x53d)][_0x110fe4(0x519)](_0x5c8448);_0x18c3cf||(_0x18c3cf=(0x0,_0x29b193[_0x110fe4(0x2ac)])(_0xb36f06=>{const _0x478797=_0x110fe4;this[_0x478797(0x436)](_0x5c8448,_0xb36f06);},_0x51b73f),this[_0x110fe4(0x53d)][_0x110fe4(0x238)](_0x5c8448,_0x18c3cf)),_0x18c3cf(_0x4c540c);}['handleActiveSubUnitChange'](){const _0x3a8762=_0x53d83c;let _0x1cf497=()=>this[_0x3a8762(0x32b)]();this[_0x3a8762(0x661)](this[_0x3a8762(0x50a)]['lifecycle$'][_0x3a8762(0x3ee)](_0x53d90e=>{const _0x45da02=_0x3a8762;_0x53d90e>=_0x29b193['LifecycleStages'][_0x45da02(0x5e8)]&&_0x1cf497();})),this['disposeWithMe'](this[_0x3a8762(0x228)]['onCommandExecuted'](_0x56557d=>{const _0x33e5ea=_0x3a8762;_0x56557d['id']===_0x1593c9[_0x33e5ea(0x534)]['id']&&(this[_0x33e5ea(0x614)](),_0x1cf497());})),this['disposeWithMe'](this[_0x3a8762(0x60e)]['getCurrentTypeOfUnit$'](_0x29b193[_0x3a8762(0x216)]['UNIVER_SHEET'])['pipe']((0x0,_0x482a91[_0x3a8762(0x632)])(_0x25a28f=>(_0x25a28f==null?void 0x0:_0x25a28f['activeSheet$'])??(0x0,_0x482a91['of'])(null)))['subscribe'](()=>{const _0x25cd17=_0x3a8762;this[_0x25cd17(0x614)](),_0x1cf497();})),this[_0x3a8762(0x661)](this['_univerInstanceService'][_0x3a8762(0x559)][_0x3a8762(0x3ee)](_0x1cf497)),this['disposeWithMe'](this[_0x3a8762(0x60e)]['unitDisposed$'][_0x3a8762(0x3ee)](_0x1cf497)),this[_0x3a8762(0x661)](this[_0x3a8762(0x317)][_0x3a8762(0x357)][_0x3a8762(0x3ee)](_0x1cf497)),this['disposeWithMe'](this[_0x3a8762(0x5c5)][_0x3a8762(0x60c)][_0x3a8762(0x3ee)](_0x1cf497)),this['disposeWithMe'](this[_0x3a8762(0x5c5)][_0x3a8762(0x549)][_0x3a8762(0x3ee)](_0x59f1d9=>{const _0xb59112=_0x3a8762;for(let [_0x45df73,_0x4e4270]of this[_0xb59112(0x4e6)])_0x4e4270[_0xb59112(0x565)][_0xb59112(0x501)]===_0x59f1d9&&this[_0xb59112(0x445)](_0x45df73);this[_0xb59112(0x5fe)]();})),this[_0x3a8762(0x661)](this['_drawingManagerService']['add$'][_0x3a8762(0x3ee)](_0x1cf497)),this[_0x3a8762(0x661)](this[_0x3a8762(0x3c9)][_0x3a8762(0x491)][_0x3a8762(0x3ee)](_0x1cf497)),this[_0x3a8762(0x661)](this[_0x3a8762(0x3c9)]['transformChange$']['subscribe'](({id:_0x8704b8,value:_0x2ffb86})=>{const _0x290618=_0x3a8762;var _0xb8d3d4;(_0xb8d3d4=this[_0x290618(0x4e6)]['get'](_0x8704b8))==null||_0xb8d3d4[_0x290618(0x565)][_0x290618(0x544)][_0x290618(0x54a)](_0x2ffb86),this['_isPrimaryChart'](_0x8704b8)&&this[_0x290618(0x5f9)]();})),this[_0x3a8762(0x661)](this[_0x3a8762(0x3c9)]['remove$'][_0x3a8762(0x3ee)](({id:_0x4633ef})=>{this['_detachChartResources'](_0x4633ef),_0x1cf497();})),this[_0x3a8762(0x661)](this[_0x3a8762(0x402)][_0x3a8762(0x50b)]['subscribe'](_0x36e4ca=>{const _0x30abc5=_0x3a8762;_0x36e4ca[_0x30abc5(0x646)](({drawingId:_0xffa7be})=>this[_0x30abc5(0x445)](_0xffa7be)),_0x1cf497();})),this[_0x3a8762(0x661)]((0x0,_0x482a91['combineLatest'])([this[_0x3a8762(0x548)][_0x3a8762(0x301)],this[_0x3a8762(0x548)][_0x3a8762(0x2b2)]])['subscribe'](()=>{const _0x7c2d5f=_0x3a8762;this['_resourceBindings'][_0x7c2d5f(0x646)](_0x1e3379=>this[_0x7c2d5f(0x672)](_0x1e3379));})),this[_0x3a8762(0x614)]();}[_0x53d83c(0x32b)](){const _0x554d61=_0x53d83c;this[_0x554d61(0x1ed)]||this[_0x554d61(0x427)]||(this['_reconcileQueued']=!0x0,Promise[_0x554d61(0x671)]()[_0x554d61(0x33a)](()=>{const _0x1bb951=_0x554d61;this[_0x1bb951(0x1ed)]=!0x1,this[_0x1bb951(0x427)]||this[_0x1bb951(0x614)]();})['catch'](_0x3fd93e=>this['_logService'][_0x554d61(0x5c4)](_0x3fd93e)));}[_0x53d83c(0x614)](){const _0x5e2d6c=_0x53d83c;var _0x1f1098,_0x3066a8,_0x505667;let _0x4c2851=this[_0x5e2d6c(0x60e)][_0x5e2d6c(0x391)](_0x29b193[_0x5e2d6c(0x216)]['UNIVER_SHEET']),_0x5295c8=_0x4c2851==null?void 0x0:_0x4c2851[_0x5e2d6c(0x695)](),_0x9663e1=_0x4c2851==null?void 0x0:_0x4c2851[_0x5e2d6c(0x384)](),_0x448793=_0x5295c8==null?void 0x0:_0x5295c8[_0x5e2d6c(0x48e)](),_0x3254d7=_0x9663e1?this[_0x5e2d6c(0x5c5)][_0x5e2d6c(0x694)](_0x9663e1):null,_0x178765=(_0x5295c8==null?void 0x0:_0x5295c8[_0x5e2d6c(0x202)]()[_0x5e2d6c(0x3b2)])===_0x29b193['SheetTypes']['CHART']&&!this[_0x5e2d6c(0x1e4)];for(let [_0x464499,_0x2baa48]of this[_0x5e2d6c(0x4e6)])(_0x178765||_0x2baa48[_0x5e2d6c(0x565)][_0x5e2d6c(0x501)]!==_0x9663e1||_0x2baa48[_0x5e2d6c(0x565)][_0x5e2d6c(0x2fb)]!==_0x448793||_0x2baa48[_0x5e2d6c(0x64a)]!==_0x3254d7||_0x2baa48[_0x5e2d6c(0x565)]!==this[_0x5e2d6c(0x3c9)]['getFloatDomInfo'](_0x464499)||_0x2baa48[_0x5e2d6c(0x4c2)]!==this[_0x5e2d6c(0x317)][_0x5e2d6c(0x209)](_0x464499))&&this[_0x5e2d6c(0x445)](_0x464499);if((((_0x1f1098=this['_lastActiveSheet'])==null?void 0x0:_0x1f1098[_0x5e2d6c(0x501)])!==_0x9663e1||((_0x3066a8=this[_0x5e2d6c(0x415)])==null?void 0x0:_0x3066a8['subUnitId'])!==_0x448793)&&(this[_0x5e2d6c(0x5fe)](),this['_lastActiveSheet']=_0x9663e1&&_0x448793?{'unitId':_0x9663e1,'subUnitId':_0x448793}:null),!_0x9663e1||!_0x448793||!_0x3254d7||_0x178765){this[_0x5e2d6c(0x5fe)]();return;}let _0x43b2e6=this['_drawingManagerService'][_0x5e2d6c(0x396)](_0x9663e1,_0x448793);for(let _0x3e0d13 of Object['values'](_0x43b2e6??{})){let _0x242615=this[_0x5e2d6c(0x317)][_0x5e2d6c(0x209)](_0x3e0d13['drawingId']),_0x21aec9=this[_0x5e2d6c(0x3c9)]['getFloatDomInfo'](_0x3e0d13[_0x5e2d6c(0x503)]);_0x3e0d13[_0x5e2d6c(0x566)]===_0x29b193[_0x5e2d6c(0x5d5)][_0x5e2d6c(0x469)]&&_0x242615&&_0x21aec9&&_0x21aec9['unitId']===_0x9663e1&&_0x21aec9[_0x5e2d6c(0x2fb)]===_0x448793&&!this['_resourceBindings']['has'](_0x242615['id'])&&this['_bindChartResources']({'model':_0x242615,'info':_0x21aec9,'render':_0x3254d7});}this[_0x5e2d6c(0x4e6)][_0x5e2d6c(0x646)]((_0x11dede,_0x54a26d)=>{const _0x301220=_0x5e2d6c;var _0x1088d2,_0x3c8d26,_0x36e1f9;let {rect:_0x332b90}=_0x11dede[_0x301220(0x565)];if(this['_isPrimaryChart'](_0x54a26d)&&(((_0x1088d2=_0x332b90[_0x301220(0x2ca)])==null?void 0x0:_0x1088d2['moveEnabled'])!==!0x1||((_0x3c8d26=_0x332b90[_0x301220(0x2ca)])==null?void 0x0:_0x3c8d26['resizeEnabled'])!==!0x1)){let _0x1ce27b=_0x332b90['transformerConfig'];_0x332b90[_0x301220(0x2ca)]={..._0x1ce27b,'moveEnabled':!0x1,'resizeEnabled':!0x1},this[_0x301220(0x395)][_0x301220(0x519)](_0x54a26d)[_0x301220(0x661)]((0x0,_0x29b193[_0x301220(0x4e4)])(()=>{const _0x4e9073=_0x301220;_0x332b90['transformerConfig']={..._0x332b90[_0x4e9073(0x2ca)],'moveEnabled':_0x1ce27b==null?void 0x0:_0x1ce27b[_0x4e9073(0x2a2)],'resizeEnabled':_0x1ce27b==null?void 0x0:_0x1ce27b[_0x4e9073(0x69a)]};}));}((_0x36e1f9=this[_0x301220(0x317)][_0x301220(0x25c)])==null?void 0x0:_0x36e1f9['id'])===_0x54a26d?this[_0x301220(0x4f0)](_0x54a26d):this['_resetChartRuntimeZIndex'](_0x54a26d);});let _0x2e6d7d=(_0x505667=this['_chartModelService'][_0x5e2d6c(0x25c)])==null?void 0x0:_0x505667['id'];this[_0x5e2d6c(0x55a)]=_0x2e6d7d&&this[_0x5e2d6c(0x412)](_0x2e6d7d)?this['_resourceBindings'][_0x5e2d6c(0x519)](_0x2e6d7d)??null:null,this[_0x5e2d6c(0x5f9)]();}['_bindChartResources'](_0x3fab22){const _0x2d971b=_0x53d83c;var _0x739b80;let {model:_0x5b8d6d,info:_0x54af18,render:_0x4e9da6}=_0x3fab22,_0x2552f9=_0x5b8d6d['id'];this[_0x2d971b(0x4e6)]['set'](_0x2552f9,_0x3fab22);let _0x1449a6=new _0x29b193[(_0x2d971b(0x4a6))]();this[_0x2d971b(0x395)]['set'](_0x2552f9,_0x1449a6);let _0x36144e=(_0x739b80=this[_0x2d971b(0x60e)][_0x2d971b(0x4c9)](_0x54af18[_0x2d971b(0x501)],_0x29b193[_0x2d971b(0x216)][_0x2d971b(0x222)]))==null?void 0x0:_0x739b80['getSheetBySheetId'](_0x54af18[_0x2d971b(0x2fb)]);if((_0x36144e==null?void 0x0:_0x36144e[_0x2d971b(0x202)]()['type'])===_0x29b193[_0x2d971b(0x5ec)][_0x2d971b(0x1e6)]){var _0xd7df05;let _0x3c3963=(_0xd7df05=_0x54af18[_0x2d971b(0x64c)])==null?void 0x0:_0xd7df05[_0x2d971b(0x319)];this[_0x2d971b(0x3c9)]['updateFloatDomEventOptions'](_0x2552f9,{..._0x3c3963,'wheel':{..._0x3c3963==null?void 0x0:_0x3c3963[_0x2d971b(0x4b3)],'passive':!0x1}}),_0x1449a6[_0x2d971b(0x661)]((0x0,_0x29b193[_0x2d971b(0x4e4)])(()=>{const _0x53842a=_0x2d971b;this[_0x53842a(0x3c9)]['getFloatDomInfo'](_0x2552f9)===_0x54af18&&this[_0x53842a(0x3c9)][_0x53842a(0x56c)](_0x2552f9,_0x3c3963);}));}let _0x49e2c9=new _0x3c76f2(_0x54af18['rect'],_0x1cddf2=>{const _0x18a06=_0x2d971b;this[_0x18a06(0x4e6)][_0x18a06(0x519)](_0x2552f9)===_0x3fab22&&(this[_0x18a06(0x363)][_0x18a06(0x4be)](_0x2552f9),this[_0x18a06(0x5f9)](),_0x1cddf2&&(this['_debounceHandle'](_0x2552f9,{'width':_0x54af18[_0x18a06(0x544)][_0x18a06(0x443)],'height':_0x54af18[_0x18a06(0x544)]['height']},0x64),this[_0x18a06(0x672)](_0x3fab22)));});_0x1449a6['disposeWithMe'](_0x49e2c9);let _0x39690c,_0x45b4b5=_0x4e9da6[_0x2d971b(0x2b3)]['getTransformerByCreate']();_0x1449a6[_0x2d971b(0x661)](_0x45b4b5['changeStart$'][_0x2d971b(0x3ee)](({objects:_0x284fb9})=>{const _0x47d424=_0x2d971b;_0x39690c=_0x284fb9[_0x47d424(0x23b)](_0x54af18[_0x47d424(0x544)][_0x47d424(0x5f2)])?{'width':_0x54af18[_0x47d424(0x544)][_0x47d424(0x443)],'height':_0x54af18[_0x47d424(0x544)][_0x47d424(0x2db)]}:void 0x0;})),_0x1449a6[_0x2d971b(0x661)](_0x45b4b5[_0x2d971b(0x3ff)][_0x2d971b(0x3ee)](({objects:_0x2d2041})=>{const _0x31ee1e=_0x2d971b;let _0x1874f3=_0x39690c;if(_0x39690c=void 0x0,_0x2d2041['has'](_0x54af18[_0x31ee1e(0x544)][_0x31ee1e(0x5f2)])&&(_0x49e2c9[_0x31ee1e(0x310)]['flush'](),_0x1874f3&&(_0x1874f3['width']!==_0x54af18[_0x31ee1e(0x544)]['width']||_0x1874f3[_0x31ee1e(0x2db)]!==_0x54af18['rect']['height']))){var _0x225e84;(_0x225e84=this[_0x31ee1e(0x53d)][_0x31ee1e(0x519)](_0x2552f9))==null||_0x225e84[_0x31ee1e(0x2bc)](),this['_resizeChart'](_0x2552f9,{'width':_0x54af18['rect'][_0x31ee1e(0x443)],'height':_0x54af18['rect'][_0x31ee1e(0x2db)]});}})),_0x1449a6[_0x2d971b(0x661)](_0x4e9da6[_0x2d971b(0x2b3)][_0x2d971b(0x383)][_0x2d971b(0x226)](_0x29a464=>{const _0x5f10fe=_0x2d971b;_0x29a464['type']===_0x4feb4f['TRANSFORM_CHANGE_OBSERVABLE_TYPE'][_0x5f10fe(0x2c9)]&&this[_0x5f10fe(0x363)][_0x5f10fe(0x4be)](_0x2552f9);}));let _0x988876=(0x0,_0x29b193[_0x2d971b(0x2ac)])(()=>this[_0x2d971b(0x672)](_0x3fab22),0x64,{'leading':!0x0,'trailing':!0x0,'maxWait':0x64});this[_0x2d971b(0x689)][_0x2d971b(0x238)](_0x2552f9,_0x988876),_0x1449a6['disposeWithMe']((0x0,_0x482a91[_0x2d971b(0x3bc)])([_0x5b8d6d[_0x2d971b(0x31a)],_0x5b8d6d[_0x2d971b(0x2af)],this[_0x2d971b(0x1f7)]['direction$']])['subscribe'](_0x988876)),this[_0x2d971b(0x32e)](_0x2552f9);}[_0x53d83c(0x672)]({model:_0x4f279e}){const _0x21a761=_0x53d83c;var _0x5d728b;let _0x5caf25=_0x4f279e['config'];_0x5caf25&&((_0x5d728b=_0x5caf25[_0x21a761(0x1f5)])==null||_0x5d728b['items'][_0x21a761(0x646)]((_0x2a8359,_0x4faf36)=>{const _0x46d831=_0x21a761;_0x2a8359[_0x46d831(0x440)]||=this[_0x46d831(0x1f7)]['t'](_0x46d831(0x4a3))+'\x20'+(_0x4faf36+0x1);}),_0x5caf25[_0x21a761(0x634)]['forEach']((_0x20e141,_0x28396e)=>{const _0x57a6c9=_0x21a761;_0x20e141[_0x57a6c9(0x26e)]||=this['_localeService']['t'](_0x57a6c9(0x266))+'\x20'+(_0x28396e+0x1);}),this['render'](_0x4f279e['id'],_0x5caf25,this['createRuntimeChartStyle'](_0x4f279e,this[_0x21a761(0x1f7)][_0x21a761(0x473)]()))[_0x21a761(0x334)](_0x968f85=>this[_0x21a761(0x4ba)][_0x21a761(0x5c4)](_0x968f85)));}[_0x53d83c(0x445)](_0x218a88){const _0x483fe2=_0x53d83c;var _0x3e1727;if(this[_0x483fe2(0x4e6)][_0x483fe2(0x516)](_0x218a88)||this[_0x483fe2(0x600)][_0x483fe2(0x23b)](_0x218a88)||this[_0x483fe2(0x1ec)][_0x483fe2(0x23b)](_0x218a88)){var _0x2fd6be,_0xa393e;(_0x2fd6be=this[_0x483fe2(0x2a1)][_0x483fe2(0x3f8)](_0x199e4a[_0x483fe2(0x5b3)]))==null||(_0xa393e=_0x2fd6be[_0x483fe2(0x3e2)])==null||_0xa393e[_0x483fe2(0x67b)](_0x2fd6be,{'type':'detach','chartId':_0x218a88});}this[_0x483fe2(0x4e2)](_0x218a88),this[_0x483fe2(0x4e3)](_0x218a88),this[_0x483fe2(0x577)](_0x218a88),this[_0x483fe2(0x599)][_0x483fe2(0x336)](_0x218a88),this[_0x483fe2(0x1ec)][_0x483fe2(0x516)](_0x218a88),((_0x3e1727=this['_chartModelService']['activeChartModel'])==null?void 0x0:_0x3e1727['id'])===_0x218a88&&this['_chartModelService'][_0x483fe2(0x2a8)](null);}[_0x53d83c(0x49f)](_0x745fc6,_0x462a12){const _0x4146ef=_0x53d83c;var _0x20b49d;return(_0x20b49d=this['_chartSheetPresentation'])==null?void 0x0:_0x20b49d[_0x4146ef(0x250)](_0x745fc6,_0x462a12);}[_0x53d83c(0x412)](_0x109fbf){const _0x44067f=_0x53d83c;var _0x508e61;let _0x2f0fe7=this['_sheetCanvasFloatDomManagerService']['getFloatDomInfo'](_0x109fbf);return!!(_0x2f0fe7&&((_0x508e61=this[_0x44067f(0x49f)](_0x2f0fe7['unitId'],_0x2f0fe7[_0x44067f(0x2fb)]))==null?void 0x0:_0x508e61['id'])===_0x109fbf);}['_clearPageFrame'](){const _0x2b10dc=_0x53d83c;var _0xa3a709;(_0xa3a709=this[_0x2b10dc(0x1e4)])==null||_0xa3a709[_0x2b10dc(0x337)]();}['_updateChartPage'](){const _0x280b68=_0x53d83c;var _0xffb503;let _0x5aa96e=this[_0x280b68(0x60e)][_0x280b68(0x391)](_0x29b193[_0x280b68(0x216)][_0x280b68(0x222)]),_0x1376ac=_0x5aa96e==null?void 0x0:_0x5aa96e[_0x280b68(0x695)](),_0x18e027=_0x5aa96e&&_0x1376ac&&this[_0x280b68(0x49f)](_0x5aa96e[_0x280b68(0x384)](),_0x1376ac['getSheetId']()),_0x4ccf96=_0x18e027&&this[_0x280b68(0x4e6)][_0x280b68(0x519)](_0x18e027['id']);if(_0x4ccf96&&this[_0x280b68(0x4e6)][_0x280b68(0x519)](_0x4ccf96[_0x280b68(0x4c2)]['id'])===_0x4ccf96){var _0xa3ed47;(_0xa3ed47=this[_0x280b68(0x1e4)])==null||_0xa3ed47[_0x280b68(0x44d)](_0x4ccf96['model'],_0x4ccf96[_0x280b68(0x64a)],_0x4ccf96[_0x280b68(0x565)]);}(_0xffb503=this[_0x280b68(0x1e4)])==null||_0xffb503['updatePage']();}[_0x53d83c(0x52e)](_0x4bbb8e,_0x201119){const _0x5ac0cc=_0x53d83c;var _0x38a4b2;_0x201119?this[_0x5ac0cc(0x44a)]['set'](_0x4bbb8e,!0x0):this[_0x5ac0cc(0x44a)][_0x5ac0cc(0x516)](_0x4bbb8e),(_0x38a4b2=this['_chartInstanceMap'][_0x5ac0cc(0x519)](_0x4bbb8e))==null||_0x38a4b2['setElementEditMode'](_0x201119);}async[_0x53d83c(0x39f)](_0x4cd503,_0x2423ac){const _0x2c5a6c=_0x53d83c;var _0x1f4ee1;let _0x1133a0=this[_0x2c5a6c(0x1ec)][_0x2c5a6c(0x519)](_0x4cd503),_0x458505=(_0x1f4ee1=this[_0x2c5a6c(0x3c9)][_0x2c5a6c(0x3b3)](_0x4cd503))==null?void 0x0:_0x1f4ee1[_0x2c5a6c(0x544)];if(_0x1133a0&&_0x458505)return(await this[_0x2c5a6c(0x2a1)][_0x2c5a6c(0x39f)]({'chartId':_0x4cd503,'config':_0x1133a0[_0x2c5a6c(0x231)],'style':{..._0x1133a0[_0x2c5a6c(0x256)],'runtime':{..._0x1133a0[_0x2c5a6c(0x256)]['runtime'],'addWatermark':(0x0,_0x1593c9[_0x2c5a6c(0x387)])(this[_0x2c5a6c(0x348)])}},'width':_0x458505[_0x2c5a6c(0x443)],'height':_0x458505['height']},_0x2423ac))[_0x2c5a6c(0x3a0)];if((_0x2423ac==null?void 0x0:_0x2423ac[_0x2c5a6c(0x564)])===_0x199e4a[_0x2c5a6c(0x22c)][_0x2c5a6c(0x692)])return;let _0x38c2e2=this[_0x2c5a6c(0x4f5)](_0x4cd503);if(!_0x38c2e2)return;if(!(0x0,_0x1593c9[_0x2c5a6c(0x387)])(this[_0x2c5a6c(0x348)]))return(0x0,_0x199e4a[_0x2c5a6c(0x52f)])(_0x38c2e2);let _0x30d068;if(_0x38c2e2[_0x2c5a6c(0x3b2)]===_0x199e4a['ChartImageSourceType'][_0x2c5a6c(0x536)]){let _0x595c20=new Image();await new Promise((_0x4c64ab,_0x2b6836)=>{const _0x3fb9b5=_0x2c5a6c;_0x595c20[_0x3fb9b5(0x3c4)]=()=>_0x4c64ab(),_0x595c20[_0x3fb9b5(0x603)]=()=>_0x2b6836(Error(_0x3fb9b5(0x4a4))),_0x595c20[_0x3fb9b5(0x35c)]=_0x38c2e2['url'];}),_0x30d068=_0x595c20;}else _0x30d068=_0x38c2e2[_0x2c5a6c(0x3b2)]===_0x199e4a[_0x2c5a6c(0x5aa)][_0x2c5a6c(0x30c)]?_0x38c2e2['canvas']:_0x38c2e2[_0x2c5a6c(0x476)];let _0x4061eb=document[_0x2c5a6c(0x38e)](_0x2c5a6c(0x2ff));_0x4061eb[_0x2c5a6c(0x443)]=_0x30d068[_0x2c5a6c(0x443)],_0x4061eb[_0x2c5a6c(0x2db)]=_0x30d068[_0x2c5a6c(0x2db)];let _0x11cecd=_0x4061eb['getContext']('2d');if(!_0x11cecd)throw Error(_0x2c5a6c(0x342));_0x11cecd[_0x2c5a6c(0x5cd)](_0x30d068,0x0,0x0);let _0xbde954=(_0x458505==null?void 0x0:_0x458505[_0x2c5a6c(0x443)])??_0x4061eb[_0x2c5a6c(0x443)],_0x287d9a=(_0x458505==null?void 0x0:_0x458505['height'])??_0x4061eb[_0x2c5a6c(0x2db)];_0x11cecd[_0x2c5a6c(0x62d)](_0x4061eb['width']/_0xbde954,0x0,0x0,_0x4061eb[_0x2c5a6c(0x2db)]/_0x287d9a,0x0,0x0);let _0x324f48=new _0x4feb4f['UniverRenderingContext'](_0x11cecd,{'canvasColorService':this[_0x2c5a6c(0x348)][_0x2c5a6c(0x519)](_0x4feb4f[_0x2c5a6c(0x60d)])});return(0x0,_0x358ed8['renderOutputWatermark'])({'getContext':()=>_0x324f48,'getWidth':()=>_0xbde954,'getHeight':()=>_0x287d9a}),_0x4061eb[_0x2c5a6c(0x537)](_0x2c5a6c(0x580));}['on'](_0x35da0d,_0x364cb3,_0x1dfc21){const _0x424d5e=_0x53d83c;let _0x5d2ec8=this[_0x424d5e(0x457)]['get'](_0x35da0d);_0x5d2ec8||(_0x5d2ec8=new Map(),this['_chartEventHandlers'][_0x424d5e(0x238)](_0x35da0d,_0x5d2ec8));let _0x59f99c=_0x5d2ec8[_0x424d5e(0x519)](_0x364cb3);_0x59f99c||(_0x59f99c=new Set(),_0x5d2ec8[_0x424d5e(0x238)](_0x364cb3,_0x59f99c)),_0x59f99c[_0x424d5e(0x42b)](_0x1dfc21);let _0xac943c=this[_0x424d5e(0x600)][_0x424d5e(0x519)](_0x35da0d);return _0xac943c&&this[_0x424d5e(0x3a3)](_0x35da0d,_0xac943c,_0x364cb3,_0x1dfc21),{'dispose':()=>{const _0x15390c=_0x424d5e;var _0x4ee97b;(_0x4ee97b=this[_0x15390c(0x457)][_0x15390c(0x519)](_0x35da0d))==null||(_0x4ee97b=_0x4ee97b[_0x15390c(0x519)](_0x364cb3))==null||_0x4ee97b[_0x15390c(0x516)](_0x1dfc21),this[_0x15390c(0x522)](_0x35da0d,_0x364cb3,_0x1dfc21);}};}[_0x53d83c(0x4f5)](_0x5a029a){const _0x3cb038=_0x53d83c;let _0x26f642=this[_0x3cb038(0x60e)][_0x3cb038(0x391)](_0x29b193[_0x3cb038(0x216)][_0x3cb038(0x222)]),_0xbbc99f=_0x26f642==null?void 0x0:_0x26f642['getActiveSheet'](),_0x27ff7d=_0x26f642==null?void 0x0:_0x26f642[_0x3cb038(0x384)](),_0xb24f14=_0xbbc99f==null?void 0x0:_0xbbc99f['getSheetId']();if(_0x27ff7d&&_0xb24f14)return this[_0x3cb038(0x599)][_0x3cb038(0x3a4)]({'unitId':_0x27ff7d,'subUnitId':_0xb24f14,'chartId':_0x5a029a});}[_0x53d83c(0x2fc)](_0x3b41b0,_0x5d1295){const _0x3766a6=_0x53d83c;let _0x1ac99d=this['_chartEventHandlers'][_0x3766a6(0x519)](_0x3b41b0);_0x1ac99d&&_0x1ac99d[_0x3766a6(0x646)]((_0x176172,_0x3f938e)=>{const _0x413010=_0x3766a6;_0x176172[_0x413010(0x646)](_0x585197=>this[_0x413010(0x3a3)](_0x3b41b0,_0x5d1295,_0x3f938e,_0x585197));});}[_0x53d83c(0x3a3)](_0x4a68bb,_0x10a1e3,_0x59eaca,_0x1633e8){const _0x559b85=_0x53d83c;let _0x3fff42=this[_0x559b85(0x644)]['get'](_0x4a68bb);_0x3fff42||(_0x3fff42=new Map(),this[_0x559b85(0x644)][_0x559b85(0x238)](_0x4a68bb,_0x3fff42));let _0x32dc70=_0x3fff42[_0x559b85(0x519)](_0x59eaca);_0x32dc70||(_0x32dc70=new Map(),_0x3fff42['set'](_0x59eaca,_0x32dc70)),_0x32dc70['has'](_0x1633e8)||_0x32dc70[_0x559b85(0x238)](_0x1633e8,_0x10a1e3['on'](_0x59eaca,_0x1633e8));}[_0x53d83c(0x522)](_0x45f62f,_0x55f192,_0x12cf47){const _0x5b5297=_0x53d83c;var _0x3f0d07,_0x286668;let _0x441c19=(_0x3f0d07=this[_0x5b5297(0x644)][_0x5b5297(0x519)](_0x45f62f))==null?void 0x0:_0x3f0d07[_0x5b5297(0x519)](_0x55f192);_0x441c19==null||(_0x286668=_0x441c19['get'](_0x12cf47))==null||_0x286668[_0x5b5297(0x3cb)](),_0x441c19==null||_0x441c19[_0x5b5297(0x516)](_0x12cf47);}[_0x53d83c(0x37e)](_0x2945dc){const _0x36e486=_0x53d83c;let _0x1f1c69=this[_0x36e486(0x644)][_0x36e486(0x519)](_0x2945dc);_0x1f1c69==null||_0x1f1c69[_0x36e486(0x646)](_0x7f5790=>{const _0x31a9d3=_0x36e486;_0x7f5790[_0x31a9d3(0x646)](_0x408461=>_0x408461['dispose']()),_0x7f5790[_0x31a9d3(0x53a)]();}),this[_0x36e486(0x644)][_0x36e486(0x516)](_0x2945dc);}[_0x53d83c(0x361)](_0x367218,_0x36c597){const _0x44711e=_0x53d83c;let _0x2f95c0=_0x436720(_0x367218,_0x36c597,(0x0,_0x1593c9[_0x44711e(0x387)])(this[_0x44711e(0x348)]));return _0x367218['id']&&this[_0x44711e(0x412)](_0x367218['id'])&&(_0x2f95c0[_0x44711e(0x5b2)][_0x44711e(0x68b)]=!0x0,_0x2f95c0[_0x44711e(0x5b2)][_0x44711e(0x6d0)]=!0x1),_0x2f95c0;}[_0x53d83c(0x49e)](_0x1b0dcd){return this['_getChartRenderSkipReason'](_0x1b0dcd)==null;}[_0x53d83c(0x3d3)](_0x2cab78){const _0x422f01=_0x53d83c;let _0x578a4a=this['_sheetCanvasFloatDomManagerService'][_0x422f01(0x3b3)](_0x2cab78);if(!_0x578a4a)return _0x422f01(0x2b9);let {unitId:_0x23786c,subUnitId:_0x451244}=_0x578a4a,_0x96f3e8=this['_univerInstanceService'][_0x422f01(0x391)](_0x29b193['UniverInstanceType'][_0x422f01(0x222)]),_0x1984bc=_0x96f3e8==null?void 0x0:_0x96f3e8[_0x422f01(0x695)]();if(!_0x1984bc)return _0x422f01(0x29e);if(_0x1984bc[_0x422f01(0x202)]()['type']===_0x29b193[_0x422f01(0x5ec)][_0x422f01(0x1e6)]&&!this['_chartSheetPresentation'])return _0x422f01(0x2f7);if((_0x96f3e8==null?void 0x0:_0x96f3e8[_0x422f01(0x384)]())!==_0x23786c||_0x1984bc[_0x422f01(0x48e)]()!==_0x451244)return _0x422f01(0x477);}async[_0x53d83c(0x64a)](_0x4c1cad,_0x18177c,_0x20803c,_0x34b6d9={}){const _0x5be440=_0x53d83c;let _0x411ce7=this[_0x5be440(0x2a1)][_0x5be440(0x3f8)](_0x199e4a['EChartRenderEngineName']);if(this[_0x5be440(0x427)]||!_0x411ce7)return;let _0x285236={..._0x20803c,'runtime':{..._0x20803c[_0x5be440(0x5b2)],'addWatermark':!0x1}},_0x55b81a=this['_lastRenderInputMap'][_0x5be440(0x519)](_0x4c1cad),_0x7a42e4={'config':_0x18177c,'style':_0x285236};if(this[_0x5be440(0x1ec)][_0x5be440(0x238)](_0x4c1cad,_0x7a42e4),this['_getChartRenderSkipReason'](_0x4c1cad))return;let {canAnimate:_0x19478d,renderMode:_0x499fa5,shouldStartTransientAnimation:_0x4aed51,transientAnimationActive:_0x1ab688}=this[_0x5be440(0x425)](_0x4c1cad,_0x55b81a!=null,_0x34b6d9[_0x5be440(0x55b)]===!0x0);if(_0x499fa5===_0x199e4a[_0x5be440(0x52b)]['Image'])this[_0x5be440(0x24f)](_0x4c1cad);else{var _0x40913b;this[_0x5be440(0x363)]['invalidateSnapshot'](_0x4c1cad),((_0x40913b=this[_0x5be440(0x317)][_0x5be440(0x25c)])==null?void 0x0:_0x40913b['id'])===_0x4c1cad&&this[_0x5be440(0x4f0)](_0x4c1cad);}let _0x5a009b=this['_sheetCanvasFloatDomManagerService'][_0x5be440(0x3b3)](_0x4c1cad),_0x54bf34=this[_0x5be440(0x317)][_0x5be440(0x209)](_0x4c1cad),_0x2970d7=_0x5a009b?this[_0x5be440(0x5c5)]['getRenderUnitById'](_0x5a009b[_0x5be440(0x501)]):null,_0x26c548=()=>!this[_0x5be440(0x427)]&&this[_0x5be440(0x1ec)]['get'](_0x4c1cad)===_0x7a42e4&&this['_sheetCanvasFloatDomManagerService']['getFloatDomInfo'](_0x4c1cad)===_0x5a009b&&this[_0x5be440(0x317)][_0x5be440(0x209)](_0x4c1cad)===_0x54bf34&&(_0x5a009b?this[_0x5be440(0x5c5)]['getRenderUnitById'](_0x5a009b['unitId']):null)===_0x2970d7&&this[_0x5be440(0x626)](_0x4c1cad)===_0x499fa5&&this[_0x5be440(0x49e)](_0x4c1cad),_0x4606a5=_0x499fa5===_0x199e4a[_0x5be440(0x52b)][_0x5be440(0x33e)]?_0x199e4a['ChartRenderMode'][_0x5be440(0x33e)]:_0x199e4a[_0x5be440(0x52b)][_0x5be440(0x4fc)];_0x285236[_0x5be440(0x5b2)]['addWatermark']=_0x4606a5===_0x199e4a[_0x5be440(0x52b)]['Dom']&&(0x0,_0x1593c9[_0x5be440(0x387)])(this[_0x5be440(0x348)]);let _0x312646=await this[_0x5be440(0x363)][_0x5be440(0x410)](_0x4c1cad,_0x4606a5);if(!_0x312646||!_0x26c548()){_0x4aed51&&this[_0x5be440(0x4e3)](_0x4c1cad);return;}this[_0x5be440(0x363)]['setDataUpdateAnimation'](_0x4c1cad,_0x1ab688?_0x199e4a[_0x5be440(0x285)]:null);let _0x100eff=this['_getOrCreateChartRenderInstance'](_0x4c1cad,_0x4606a5,_0x411ce7);_0x100eff[_0x5be440(0x3d1)](_0x312646);try{let _0x31e0d9={'chartId':_0x4c1cad,'config':_0x18177c,'style':_0x285236};if(_0x19478d&&_0x55b81a&&_0x100eff[_0x5be440(0x362)]?await _0x100eff[_0x5be440(0x362)]({'chartId':_0x4c1cad,'config':_0x55b81a['config'],'style':_0x55b81a[_0x5be440(0x256)]},_0x31e0d9,{'duration':_0x199e4a[_0x5be440(0x285)]}):await _0x100eff[_0x5be440(0x64a)](_0x31e0d9),!_0x26c548()||this[_0x5be440(0x600)]['get'](_0x4c1cad)!==_0x100eff)return;await this[_0x5be440(0x378)](_0x4c1cad,_0x499fa5,_0x26c548),_0x19478d&&_0x1ab688&&this[_0x5be440(0x3ad)](_0x4c1cad);}catch(_0x9232d5){if(_0x4aed51&&this[_0x5be440(0x4e3)](_0x4c1cad),_0x499fa5!==_0x199e4a[_0x5be440(0x52b)][_0x5be440(0x33e)])throw _0x9232d5;}}async[_0x53d83c(0x378)](_0x429d45,_0x388b28,_0x33c676){const _0x32ead7=_0x53d83c;var _0x5a57c1;if(_0x388b28!==_0x199e4a[_0x32ead7(0x52b)][_0x32ead7(0x4fc)]||((_0x5a57c1=this[_0x32ead7(0x317)]['activeChartModel'])==null?void 0x0:_0x5a57c1['id'])!==_0x429d45)return;let _0x36214c=await this[_0x32ead7(0x363)][_0x32ead7(0x410)](_0x429d45,_0x199e4a[_0x32ead7(0x52b)]['Image']);if(!_0x36214c||!_0x33c676())return;let _0x592c27=this['_lastRenderInputMap'][_0x32ead7(0x519)](_0x429d45),_0x4ca70e=_0x36214c[_0x32ead7(0x1f8)]();if(!_0x592c27||!_0x4ca70e)return;let _0x24eab2=_0x36214c[_0x32ead7(0x29c)]();try{let {dataUrl:_0x1252c2}=await this['_renderModelManager']['exportImage']({'chartId':_0x429d45,'config':_0x592c27[_0x32ead7(0x231)],'style':{..._0x592c27['style'],'runtime':{..._0x592c27[_0x32ead7(0x256)][_0x32ead7(0x5b2)],'addWatermark':!0x1}},'width':_0x4ca70e[_0x32ead7(0x443)],'height':_0x4ca70e[_0x32ead7(0x2db)]});_0x1252c2&&_0x33c676()&&_0x36214c[_0x32ead7(0x2b6)]({'type':_0x199e4a['ChartImageSourceType'][_0x32ead7(0x536)],'url':_0x1252c2},_0x24eab2)&&_0x36214c['requestPaint']();}catch{}}['_prepareDataUpdateRender'](_0x5f2436,_0x3a9387,_0x141894){const _0x5490d8=_0x53d83c;let _0x386bd2=this[_0x5490d8(0x626)](_0x5f2436),_0x598a27=_0x386bd2===_0x199e4a['ChartRenderMode'][_0x5490d8(0x4fc)]&&_0x141894&&_0x3a9387&&this[_0x5490d8(0x3ae)](_0x5f2436),_0x3223d1=this[_0x5490d8(0x230)][_0x5490d8(0x23b)](_0x5f2436);return{'canAnimate':_0x598a27,'renderMode':_0x3223d1?_0x199e4a[_0x5490d8(0x52b)][_0x5490d8(0x4fc)]:_0x386bd2,'shouldStartTransientAnimation':!0x1,'transientAnimationActive':_0x3223d1};}['_canAnimateDataUpdate'](_0x4a4260){const _0x95f09f=_0x53d83c;var _0x400565,_0x55b839,_0x1e1493,_0x55bce0;if(typeof document>'u'||typeof window>'u'||document[_0x95f09f(0x3fe)]===_0x95f09f(0x4bb)||(_0x400565=(_0x55b839=window)[_0x95f09f(0x3fc)])!=null&&(_0x400565=_0x400565[_0x95f09f(0x67b)](_0x55b839,'(prefers-reduced-motion:\x20reduce)'))!=null&&_0x400565[_0x95f09f(0x697)]||(_0x1e1493=(_0x55bce0=window)[_0x95f09f(0x3fc)])!=null&&(_0x1e1493=_0x1e1493[_0x95f09f(0x67b)](_0x55bce0,'print'))!=null&&_0x1e1493[_0x95f09f(0x697)])return!0x1;let _0x40643d=this[_0x95f09f(0x363)][_0x95f09f(0x298)](_0x4a4260);return _0x40643d!=null&&_0x40643d[_0x95f09f(0x443)]>0x0&&_0x40643d[_0x95f09f(0x2db)]>0x0&&_0x40643d[_0x95f09f(0x56d)]>0x0&&_0x40643d[_0x95f09f(0x2e8)]>0x0&&_0x40643d[_0x95f09f(0x5a8)]<window['innerWidth']&&_0x40643d[_0x95f09f(0x1fe)]<window[_0x95f09f(0x259)];}[_0x53d83c(0x642)](_0x57bf03){const _0x294687=_0x53d83c;let _0x574e7c=this[_0x294687(0x417)]['get'](_0x57bf03);_0x574e7c&&(clearTimeout(_0x574e7c),this[_0x294687(0x417)][_0x294687(0x516)](_0x57bf03)),this['_dataUpdateAnimationChartIds']['add'](_0x57bf03),this['_chartHostProvider'][_0x294687(0x40e)](_0x57bf03,_0x199e4a['CHART_DATA_UPDATE_ANIMATION_DURATION']);}[_0x53d83c(0x3ad)](_0x5ac400){const _0x2c8b45=_0x53d83c;let _0x54b169=this[_0x2c8b45(0x417)][_0x2c8b45(0x519)](_0x5ac400);_0x54b169&&clearTimeout(_0x54b169);let _0x47fe02=setTimeout(()=>{const _0x4b2557=_0x2c8b45;this[_0x4b2557(0x417)][_0x4b2557(0x516)](_0x5ac400),this[_0x4b2557(0x230)][_0x4b2557(0x516)](_0x5ac400)&&(this['_chartHostProvider']['setDataUpdateAnimation'](_0x5ac400,null),this[_0x4b2557(0x24f)](_0x5ac400),this[_0x4b2557(0x485)](_0x5ac400));},_0x199e4a['CHART_DATA_UPDATE_ANIMATION_DURATION']);this[_0x2c8b45(0x417)]['set'](_0x5ac400,_0x47fe02);}[_0x53d83c(0x4e3)](_0x11e9d8){const _0x25cf5a=_0x53d83c;let _0x4b2aa9=this[_0x25cf5a(0x417)][_0x25cf5a(0x519)](_0x11e9d8);_0x4b2aa9&&(clearTimeout(_0x4b2aa9),this['_dataUpdateAnimationTimers']['delete'](_0x11e9d8)),this[_0x25cf5a(0x230)]['delete'](_0x11e9d8),this[_0x25cf5a(0x363)][_0x25cf5a(0x40e)](_0x11e9d8,null);}async['renderChartsForPrinting'](_0x57aeac,_0x57c4c5,_0x2f1c3f){const _0x4c6af4=_0x53d83c;let _0x156650=this[_0x4c6af4(0x402)][_0x4c6af4(0x396)](_0x57aeac,_0x57c4c5),_0x1cb343=this['_drawingManagerService']['getDrawingOrder'](_0x57aeac,_0x57c4c5),_0x526f84=Object['values'](_0x156650??{})['filter'](_0x5404d8=>_0x5404d8['drawingType']===_0x29b193[_0x4c6af4(0x5d5)][_0x4c6af4(0x469)]&&_0x5404d8[_0x4c6af4(0x4bb)]!==!0x0);await Promise[_0x4c6af4(0x368)](_0x526f84['map'](async _0x298275=>{const _0x10e264=_0x4c6af4;let _0x127cba=await this['_createPrintingChartObject'](_0x298275,_0x1cb343);_0x127cba&&(_0x2f1c3f[_0x10e264(0x21b)](_0x127cba,_0x4feb4f[_0x10e264(0x59e)]),_0x298275[_0x10e264(0x3ca)]&&(0x0,_0x57f250[_0x10e264(0x45b)])({'drawingId':_0x298275[_0x10e264(0x3ca)],'unitId':_0x57aeac,'subUnitId':_0x57c4c5},_0x127cba,_0x2f1c3f,this[_0x10e264(0x402)]));}));}async[_0x53d83c(0x4b4)](_0x9396,_0x5cd133){const _0xc55e9f=_0x53d83c;let _0x35f9ca=this[_0xc55e9f(0x317)]['getChartModel'](_0x9396[_0xc55e9f(0x503)]),_0x4d4724=this[_0xc55e9f(0x2a1)][_0xc55e9f(0x3f8)](_0x199e4a[_0xc55e9f(0x5b3)]),_0x410efc=_0x9396[_0xc55e9f(0x3dd)],_0x18e4d5=_0x35f9ca==null?void 0x0:_0x35f9ca[_0xc55e9f(0x231)];if(!_0x35f9ca||!_0x4d4724||!_0x410efc||!_0x18e4d5||_0x410efc[_0xc55e9f(0x443)]==null||_0x410efc['height']==null)return null;let _0x23827d=new _0xdb5951(_0x9396[_0xc55e9f(0x503)],{'width':_0x410efc[_0xc55e9f(0x443)],'height':_0x410efc['height']}),_0x3c314f=_0x4d4724['createChartInstance'](_0x199e4a[_0xc55e9f(0x52b)][_0xc55e9f(0x33e)],this[_0xc55e9f(0x24e)]());_0x3c314f[_0xc55e9f(0x3d1)](_0x23827d);let _0x412797;try{await _0x3c314f['render']({'chartId':_0x9396[_0xc55e9f(0x503)],'config':_0x18e4d5,'style':_0x436720(_0x35f9ca,this[_0xc55e9f(0x1f7)]['getDirection'](),!0x1)});}catch(_0x431a56){console['error']('[ChartRender]\x20Failed\x20to\x20render\x20chart\x20snapshot\x20for\x20printing',_0x431a56);}finally{_0x412797=_0x23827d['takeSnapshot'](),_0x3c314f[_0xc55e9f(0x3cb)](),_0x23827d[_0xc55e9f(0x3cb)]();}let _0x85f2f0=this[_0xc55e9f(0x599)][_0xc55e9f(0x3a4)]({'unitId':_0x9396[_0xc55e9f(0x501)],'subUnitId':_0x9396['subUnitId'],'chartId':_0x9396[_0xc55e9f(0x503)]}),_0x494a38=_0x412797??_0x85f2f0;if(!_0x494a38)return null;let _0x235acf=_0x5cd133[_0xc55e9f(0x5bc)](_0x9396[_0xc55e9f(0x503)]);return new _0x41aeff((0x0,_0x4b86b8[_0xc55e9f(0x465)])(_0x9396),{..._0x410efc,..._0x379e87[_0xc55e9f(0x4eb)],..._0x184244(_0x23827d[_0xc55e9f(0x256)]),'visible':!0x0,'zIndex':_0x235acf===-0x1?Math['max'](_0x5cd133['length']-0x1,0x0):_0x235acf},()=>_0x494a38,void 0x0,_0x412797?()=>_0x2bf6d2(_0x412797):void 0x0);}[_0x53d83c(0x418)](_0x4f63c2,_0x294bb7,_0x5f75d7){const _0x3af73d=_0x53d83c;let _0x2041fb=this['_chartInstanceMap']['get'](_0x4f63c2);if((_0x2041fb==null?void 0x0:_0x2041fb[_0x3af73d(0x668)])===_0x294bb7)return _0x2041fb;_0x2041fb&&(this[_0x3af73d(0x37e)](_0x4f63c2),_0x2041fb[_0x3af73d(0x3cb)](),this[_0x3af73d(0x600)][_0x3af73d(0x516)](_0x4f63c2));let _0x2fbe49=_0x5f75d7['createChartInstance'](_0x294bb7,this[_0x3af73d(0x24e)]());return this[_0x3af73d(0x600)][_0x3af73d(0x238)](_0x4f63c2,_0x2fbe49),_0x2fbe49[_0x3af73d(0x52e)](this[_0x3af73d(0x44a)][_0x3af73d(0x519)](_0x4f63c2)===!0x0),this['_bindChartEventHandlers'](_0x4f63c2,_0x2fbe49),_0x2fbe49;}[_0x53d83c(0x24e)](){const _0x140ece=_0x53d83c;return{'resolveHostStyle':({chartId:_0x4e71ba,style:_0x1ce679})=>{const _0x19291d=_0x18ca;var _0x8d6913;let _0x23e87c=(0x0,_0x199e4a['resolveDefaultChartHostFrameStyle'])({'style':_0x1ce679,'getRenderColor':_0x3a7553=>this[_0x19291d(0x32d)][_0x19291d(0x4f9)](_0x3a7553)}),_0x2b3b9a=this['_sheetCanvasFloatDomManagerService']['getFloatDomInfo'](_0x4e71ba),_0x4ea125=_0x2b3b9a&&((_0x8d6913=this['_univerInstanceService'][_0x19291d(0x4c9)](_0x2b3b9a[_0x19291d(0x501)],_0x29b193[_0x19291d(0x216)][_0x19291d(0x222)]))==null?void 0x0:_0x8d6913[_0x19291d(0x25e)](_0x2b3b9a[_0x19291d(0x2fb)]));return(_0x4ea125==null?void 0x0:_0x4ea125[_0x19291d(0x202)]()[_0x19291d(0x3b2)])===_0x29b193[_0x19291d(0x5ec)][_0x19291d(0x1e6)]&&(_0x23e87c[_0x19291d(0x345)]=0x0),_0x23e87c;},'resolveRenderBackgroundColor':({style:_0x40741d})=>this[_0x140ece(0x32d)]['getRenderColor']((0x0,_0x199e4a[_0x140ece(0x262)])(_0x40741d))};}['_disposeChartChangeListeners'](_0x5efe60){const _0x1915d6=_0x53d83c;var _0x5b6fec,_0x486742,_0x55e762;(_0x5b6fec=this[_0x1915d6(0x395)][_0x1915d6(0x519)](_0x5efe60))==null||_0x5b6fec[_0x1915d6(0x3cb)](),this[_0x1915d6(0x395)][_0x1915d6(0x516)](_0x5efe60),(_0x486742=this[_0x1915d6(0x689)][_0x1915d6(0x519)](_0x5efe60))==null||_0x486742['cancel'](),this[_0x1915d6(0x689)]['delete'](_0x5efe60),(_0x55e762=this['_debounceHandleMap'][_0x1915d6(0x519)](_0x5efe60))==null||_0x55e762['cancel'](),this[_0x1915d6(0x53d)][_0x1915d6(0x516)](_0x5efe60);}[_0x53d83c(0x625)](){const _0x345218=_0x53d83c;this['_renderDebounceMap'][_0x345218(0x646)](_0x3456e6=>_0x3456e6['cancel']()),this[_0x345218(0x689)][_0x345218(0x53a)](),this[_0x345218(0x53d)]['forEach'](_0x482679=>_0x482679[_0x345218(0x2bc)]()),this[_0x345218(0x53d)][_0x345218(0x53a)]();}[_0x53d83c(0x3cb)](){const _0x3e4781=_0x53d83c;var _0x36adee;this['_disposed']||((_0x36adee=this['_chartSheetRegistration'])==null||_0x36adee['dispose'](),super[_0x3e4781(0x3cb)](),this['_lastRenderInputMap'][_0x3e4781(0x646)]((_0x4fef4e,_0x1e7ac9)=>this[_0x3e4781(0x599)][_0x3e4781(0x336)](_0x1e7ac9)),this['_clearPageFrame'](),this[_0x3e4781(0x4e6)]['clear'](),this[_0x3e4781(0x55a)]=null,this['_chartChangeSubscriptions'][_0x3e4781(0x646)](_0x188a1e=>_0x188a1e['dispose']()),this[_0x3e4781(0x395)][_0x3e4781(0x53a)](),this[_0x3e4781(0x417)][_0x3e4781(0x646)](_0x4a96c0=>clearTimeout(_0x4a96c0)),this['_dataUpdateAnimationTimers'][_0x3e4781(0x53a)](),this['_dataUpdateAnimationChartIds']['clear'](),Array[_0x3e4781(0x693)](this[_0x3e4781(0x600)]['keys']())['forEach'](_0x279907=>this[_0x3e4781(0x577)](_0x279907)),this[_0x3e4781(0x457)][_0x3e4781(0x53a)](),this['_chartElementEditMode'][_0x3e4781(0x53a)](),this[_0x3e4781(0x625)](),this[_0x3e4781(0x1ec)][_0x3e4781(0x53a)](),this[_0x3e4781(0x62c)]=null,this[_0x3e4781(0x415)]=null);}};_0x3064f4=_0x2db00d([_0x24d873(0x0,_0x1bd436),_0x24d873(0x1,(0x0,_0x29b193['Inject'])(_0x379e87['SheetCanvasFloatDomManagerService'])),_0x24d873(0x2,(0x0,_0x29b193[_0x53d83c(0x6d2)])(_0x1593c9[_0x53d83c(0x636)])),_0x24d873(0x3,(0x0,_0x29b193[_0x53d83c(0x6d2)])(_0x1593c9[_0x53d83c(0x663)])),_0x24d873(0x4,_0x29b193[_0x53d83c(0x456)]),_0x24d873(0x5,_0x29b193[_0x53d83c(0x63d)]),_0x24d873(0x6,_0x4b86b8[_0x53d83c(0x53c)]),_0x24d873(0x7,_0x29b193['IUniverInstanceService']),_0x24d873(0x8,(0x0,_0x29b193[_0x53d83c(0x6d2)])(_0x4feb4f[_0x53d83c(0x224)])),_0x24d873(0x9,(0x0,_0x29b193[_0x53d83c(0x6d2)])(_0x29b193[_0x53d83c(0x2d4)])),_0x24d873(0xa,(0x0,_0x29b193[_0x53d83c(0x6d2)])(_0x29b193['LocaleService'])),_0x24d873(0xb,(0x0,_0x29b193[_0x53d83c(0x6d2)])(_0x29b193[_0x53d83c(0x4ef)])),_0x24d873(0xc,(0x0,_0x29b193[_0x53d83c(0x6d2)])(_0x199e4a[_0x53d83c(0x576)])),_0x24d873(0xd,(0x0,_0x29b193[_0x53d83c(0x6d2)])(_0x29b193[_0x53d83c(0x675)])),_0x24d873(0xe,_0x29b193[_0x53d83c(0x341)]),_0x24d873(0xf,(0x0,_0x29b193[_0x53d83c(0x6d2)])(_0x4a18f2)),_0x24d873(0x10,_0x199e4a[_0x53d83c(0x532)])],_0x3064f4);let _0x2553ca={'type':_0x29b193['CommandType']['COMMAND'],'id':_0x53d83c(0x641),'handler':async(_0x1eea9d,_0x150ff8)=>{const _0x3bb0a5=_0x53d83c;if(!_0x150ff8||typeof _0x150ff8['value']!=_0x3bb0a5(0x208)||_0x150ff8['value']===_0x199e4a[_0x3bb0a5(0x6b8)][_0x3bb0a5(0x25a)]||_0x199e4a[_0x3bb0a5(0x6b8)][_0x150ff8['value']]===void 0x0)return!0x1;let _0x356437=(0x0,_0x313b04[_0x3bb0a5(0x370)])(_0x1eea9d['get'](_0x29b193[_0x3bb0a5(0x233)]));if(!_0x356437||!_0x248f72(_0x1eea9d,_0x356437['unitId'],_0x356437['subUnitId']))return!0x1;let _0x3b645f=_0x1eea9d[_0x3bb0a5(0x519)](_0x29b193[_0x3bb0a5(0x456)]),{unitId:_0x508824,subUnitId:_0x3273ad,worksheet:_0x1c8956}=_0x356437,_0x198544=_0x1c8956[_0x3bb0a5(0x202)]()['type']??_0x29b193[_0x3bb0a5(0x5ec)][_0x3bb0a5(0x3d7)],{pieSecondaryPlotType:_0x30a070,value:_0x543de0}=_0x150ff8,_0x3d1e90=_0x30a070!==void 0x0;if(_0x3d1e90&&(_0x543de0!==_0x199e4a[_0x3bb0a5(0x6b8)]['Pie']||_0x30a070!==_0x199e4a['PieSecondaryPlotType'][_0x3bb0a5(0x3b0)]&&_0x30a070!==_0x199e4a[_0x3bb0a5(0x47a)][_0x3bb0a5(0x3c0)]))return!0x1;let _0x9680e6=_0x3d1e90?{'pie':{'composite':{'enabled':!0x0,'secondaryPlot':{'type':_0x30a070}}}}:void 0x0;if(_0x198544===_0x29b193[_0x3bb0a5(0x5ec)][_0x3bb0a5(0x1e6)]){var _0x33413e;let _0x539d63=_0x4479cb(_0x1eea9d);if(!_0x539d63)return!0x1;let _0x3b36bc=_0x9680e6,_0x22856e=(_0x33413e=_0x539d63[_0x3bb0a5(0x256)][_0x3bb0a5(0x5e4)])==null?void 0x0:_0x33413e[_0x3bb0a5(0x252)];return!_0x3d1e90&&_0x199e4a[_0x3bb0a5(0x5e2)][_0x3bb0a5(0x215)](_0x543de0,_0x199e4a['ChartTypeBits'][_0x3bb0a5(0x3b0)])&&_0x22856e&&_0x22856e[_0x3bb0a5(0x4ee)]!==!0x1&&(_0x3b36bc={'pie':{'composite':{'enabled':!0x1}}}),_0x3b645f[_0x3bb0a5(0x610)](_0x1593c9['ChartUpdateConfigCommand']['id'],{'unitId':_0x508824,'chartModelId':_0x539d63['id'],'chartType':_0x543de0,..._0x3b36bc?{'style':_0x3b36bc}:{}});}if(_0x198544!==_0x29b193['SheetTypes'][_0x3bb0a5(0x3d7)])return!0x1;let _0x12ea71=_0x1eea9d[_0x3bb0a5(0x519)](_0x313b04['SheetsSelectionsService'])['getCurrentLastSelection']();if(!_0x12ea71)return!0x1;let {range:_0x5130ae}=_0x12ea71,_0x55ccf0=_0x3d1e90?(0x0,_0x29b193[_0x3bb0a5(0x66e)])():void 0x0;return _0x3b645f[_0x3bb0a5(0x610)](_0x1593c9[_0x3bb0a5(0x489)]['id'],{'unitId':_0x508824,'subUnitId':_0x3273ad,'chartType':_0x543de0,..._0x55ccf0&&_0x30a070?{'chartId':_0x55ccf0,'config':{'unitId':_0x508824,'chartModelId':_0x55ccf0,'style':_0x9680e6}}:{},'source':{'rangeInfo':{'unitId':_0x5130ae[_0x3bb0a5(0x501)]??_0x508824,'subUnitId':_0x5130ae[_0x3bb0a5(0x664)]??_0x3273ad,'range':_0x5130ae}}});}};function _0x248f72(_0x360bdb,_0x308607,_0x455109){const _0x16b255=_0x53d83c;return _0x360bdb[_0x16b255(0x519)](_0x313b04[_0x16b255(0x398)])[_0x16b255(0x688)]({'workbookTypes':[_0x313b04[_0x16b255(0x640)]],'worksheetTypes':[_0x313b04['WorksheetEditPermission']]},_0x308607,_0x455109);}function _0x4479cb(_0x473cdc){const _0x4b34fb=_0x53d83c;var _0xf345e7;let _0x432e37=(0x0,_0x313b04['getSheetCommandTarget'])(_0x473cdc['get'](_0x29b193[_0x4b34fb(0x233)]));if(!_0x432e37||_0x432e37[_0x4b34fb(0x212)]['getConfig']()[_0x4b34fb(0x3b2)]!==_0x29b193['SheetTypes'][_0x4b34fb(0x1e6)]||!_0x473cdc[_0x4b34fb(0x519)](_0x3064f4)['chartSheetPresentationEnabled']||!_0x248f72(_0x473cdc,_0x432e37[_0x4b34fb(0x501)],_0x432e37[_0x4b34fb(0x2fb)]))return;let {unitId:_0x49c226,subUnitId:_0xc2d65}=_0x432e37,_0x4eaa45=_0x473cdc[_0x4b34fb(0x519)](_0x1593c9[_0x4b34fb(0x663)]),_0x4405b9=_0x473cdc[_0x4b34fb(0x519)](_0x4b86b8['IDrawingManagerService']),_0x4beba2=_0x4405b9['getFocusDrawings']();if(_0x4beba2[_0x4b34fb(0x5d4)]>0x1)return;let _0xb26ad6=_0x4beba2[0x0],_0x15ce3d=(_0xb26ad6==null?void 0x0:_0xb26ad6[_0x4b34fb(0x503)])??((_0xf345e7=_0x4eaa45[_0x4b34fb(0x250)](_0x49c226,_0xc2d65))==null?void 0x0:_0xf345e7['id']);if(!_0x15ce3d||_0xb26ad6&&(_0xb26ad6[_0x4b34fb(0x501)]!==_0x49c226||_0xb26ad6[_0x4b34fb(0x2fb)]!==_0xc2d65))return;let _0x56d1f9=_0x4405b9[_0x4b34fb(0x381)]({'unitId':_0x49c226,'subUnitId':_0xc2d65,'drawingId':_0x15ce3d});if(_0x56d1f9&&_0x56d1f9['drawingType']===_0x29b193[_0x4b34fb(0x5d5)]['DRAWING_CHART']&&!_0x56d1f9[_0x4b34fb(0x3ca)]&&_0x4eaa45[_0x4b34fb(0x4ca)](_0x49c226,_0x15ce3d)===_0xc2d65)return _0x4eaa45[_0x4b34fb(0x209)](_0x15ce3d);}function _0x1170c6(_0x2987d1,_0x9b0dc6){const _0x35a549=_0x53d83c;if(_0x2987d1==null)return'';if(Array[_0x35a549(0x28a)](_0x2987d1)){var _0x329c9e;let _0x5b4ced=(_0x329c9e=_0x2987d1[0x0])==null?void 0x0:_0x329c9e[_0x35a549(0x55c)];return _0x5b4ced?_0x9d360b(_0x5b4ced,_0x9b0dc6):'';}return _0x9d360b(_0x2987d1[_0x35a549(0x2d1)],_0x9b0dc6);}function _0x9d360b(_0x271322,_0x4432da){const _0x403ada=_0x53d83c;var _0x27de04;let {unitId:_0x4b6400,subUnitId:_0x3c0dc3,range:_0x1817d7}=_0x271322,_0x21dde6=(_0x27de04=_0x4432da['getUnit'](_0x4b6400))==null?void 0x0:_0x27de04[_0x403ada(0x25e)](_0x3c0dc3);if(!_0x21dde6)return'';let _0xd976a0=_0x21dde6[_0x403ada(0x4dd)]();return(0x0,_0x47a98f[_0x403ada(0x52c)])(_0xd976a0,_0x1817d7);}let _0xbeb940=_0x2132f2['CHART_TYPE_CATALOG'][_0x53d83c(0x435)](_0x4ad1f1=>({'id':'id'in _0x4ad1f1?_0x4ad1f1['id']:void 0x0,'labelId':_0x4ad1f1[_0x53d83c(0x42d)],'pieSecondaryPlotType':_0x53d83c(0x4a7)in _0x4ad1f1?_0x4ad1f1[_0x53d83c(0x4a7)]:void 0x0,'value':_0x4ad1f1[_0x53d83c(0x5b6)],'icon':_0x4ad1f1[_0x53d83c(0x46f)]}));function _0x2c1ed2(_0xb2ccdd=_0xbeb940){const _0x1962ea=_0x53d83c;return _0xb2ccdd[_0x1962ea(0x435)](({id:_0x326028,icon:_0x2f83ab,value:_0x2294a4})=>{const _0x4032f1=_0x1962ea;let _0x1e9448=(0x0,_0x2132f2[_0x4032f1(0x1e9)])(_0x326028??String(_0x2294a4)),_0xb3dd57=_0x1e9448?{'value':_0x1e9448[_0x4032f1(0x466)],..._0x1e9448[_0x4032f1(0x4a7)]?{'pieSecondaryPlotType':_0x1e9448[_0x4032f1(0x4a7)]}:{}}:{'value':_0x2294a4};return{'icon':_0x2f83ab,'value':_0x326028??_0x2294a4,'params':_0xb3dd57};});}let _0x3bd200=(_0x57cfdd,_0x21cc68)=>{const _0x530548=_0x53d83c;if(_0x21cc68[_0x530548(0x5d4)]===0x1&&_0x21cc68[0x0]==='all')return _0x57cfdd;let _0x2b409e=new Set();for(let _0x476612 of _0x21cc68)_0x2b409e[_0x530548(0x42b)](Number(_0x476612));return _0x57cfdd[_0x530548(0x423)](_0x84be1e=>_0x2b409e[_0x530548(0x23b)](_0x84be1e[_0x530548(0x5b6)]));};function _0xa9a316(_0x44a894){const _0x43c998=_0x53d83c;let _0x1a7728=_0x44a894[_0x43c998(0x519)](_0x1593c9['ChartModelService']);return(0x0,_0x482a91['merge'])(_0x44a894[_0x43c998(0x519)](_0x29b193['IPermissionService'])[_0x43c998(0x2a9)],_0x44a894['get'](_0x29b193[_0x43c998(0x341)])['subscribeConfigValue$'](_0x358ed8[_0x43c998(0x64d)]),_0x44a894[_0x43c998(0x519)](_0x4b86b8[_0x43c998(0x53c)])[_0x43c998(0x5e9)],_0x1a7728['activeChartModel$'],_0x1a7728[_0x43c998(0x357)],_0x1a7728[_0x43c998(0x4ab)])[_0x43c998(0x28c)]((0x0,_0x482a91[_0x43c998(0x572)])(null));}function _0x4dd93e(_0x993b35,_0x53b6a3){const _0x2256d9=_0x53d83c;return(0x0,_0x482a91[_0x2256d9(0x3bc)])([(0x0,_0x3862b0[_0x2256d9(0x5fd)])(_0x993b35,_0x29b193['UniverInstanceType'][_0x2256d9(0x222)]),(0x0,_0x2d4cf1[_0x2256d9(0x4c3)])(_0x993b35['get'](_0x29b193[_0x2256d9(0x233)]),!0x0,({worksheet:_0x47cfa6})=>_0xa9a316(_0x993b35)[_0x2256d9(0x28c)]((0x0,_0x482a91[_0x2256d9(0x435)])(()=>(_0x47cfa6[_0x2256d9(0x202)]()[_0x2256d9(0x3b2)]??_0x29b193['SheetTypes']['GRID'])!==(_0x53b6a3?_0x29b193[_0x2256d9(0x5ec)][_0x2256d9(0x1e6)]:_0x29b193['SheetTypes'][_0x2256d9(0x3d7)]))))])[_0x2256d9(0x28c)]((0x0,_0x482a91[_0x2256d9(0x435)])(([_0x404dce,_0x4cc84c])=>_0x404dce||_0x4cc84c),(0x0,_0x482a91[_0x2256d9(0x413)])());}function _0x137d99(_0x5ba66e){const _0x3fcdd5=_0x53d83c;return _0x5ba66e[_0x3fcdd5(0x519)](_0x29b193['IConfigService'])['subscribeConfigValue$'](_0x358ed8[_0x3fcdd5(0x64d)])[_0x3fcdd5(0x28c)]((0x0,_0x482a91['startWith'])(null),(0x0,_0x482a91[_0x3fcdd5(0x435)])(()=>{const _0x5609a8=_0x3fcdd5;let _0x38a350=_0x3bd200(_0xbeb940[_0x5609a8(0x2e0)](),(0x0,_0x1593c9[_0x5609a8(0x4d7)])(_0x5ba66e));return _0x2c1ed2(_0x38a350)[_0x5609a8(0x435)]((_0x20ecf6,_0x2c277e)=>({'icon':_0x20ecf6[_0x5609a8(0x33f)],'value':_0x20ecf6['value'],'params':_0x20ecf6[_0x5609a8(0x2d9)],'label':_0x5609a8(0x686)+_0x38a350[_0x2c277e][_0x5609a8(0x42d)]}));}));}function _0x11e1da(_0x5730e7){const _0x5638ee=_0x53d83c;return{'id':_0x2553ca['id'],'type':_0x3862b0['MenuItemType'][_0x5638ee(0x25f)],'selectionsCommandId':_0x2553ca['id'],'selections':_0x137d99(_0x5730e7),'icon':_0x5638ee(0x323),'tooltip':_0x5638ee(0x2b0),'hidden$':_0x4dd93e(_0x5730e7,!0x1),'disabled$':(0x0,_0x2d4cf1[_0x5638ee(0x59b)])(_0x5730e7)};}let _0x316a04=(0x0,_0x29b193[_0x53d83c(0x591)])('sheets-chart.ui.service'),_0x11991e=class extends _0x2132f2[_0x53d83c(0x455)]{constructor(_0x5edad9,_0x2834bc,_0x1deeb5,_0x2edb57,_0x273ff7,_0x2827b3,_0x57444c){const _0x31891a=_0x53d83c;super(_0x57444c),this[_0x31891a(0x317)]=_0x5edad9,this[_0x31891a(0x5ca)]=_0x2834bc,this[_0x31891a(0x228)]=_0x1deeb5,this[_0x31891a(0x60e)]=_0x2edb57,this[_0x31891a(0x348)]=_0x273ff7,this['_permissionCheck']=_0x2827b3,_0x3e8fbf(this,_0x31891a(0x679),!0x1),_0x3e8fbf(this,_0x31891a(0x56b),new _0x482a91['BehaviorSubject'](!0x1)),_0x3e8fbf(this,_0x31891a(0x5df),new _0x482a91[(_0x31891a(0x234))](null)),_0x3e8fbf(this,_0x31891a(0x2b1),this[_0x31891a(0x56b)][_0x31891a(0x678)]()),_0x3e8fbf(this,_0x31891a(0x289),this[_0x31891a(0x5df)][_0x31891a(0x678)]());}get[_0x53d83c(0x506)](){const _0x1b1dd8=_0x53d83c;return this[_0x1b1dd8(0x317)][_0x1b1dd8(0x25c)]??null;}get[_0x53d83c(0x51d)](){const _0x477576=_0x53d83c;return this['_chartEditorOpen$'][_0x477576(0x5ba)]();}get[_0x53d83c(0x31c)](){return this['_rangeSelectMode'];}[_0x53d83c(0x542)](_0x37a224){this['_rangeSelectMode']=_0x37a224;}[_0x53d83c(0x44f)](_0x11a222){const _0x2845c3=_0x53d83c;this[_0x2845c3(0x56b)][_0x2845c3(0x5ba)]()!==_0x11a222&&this['_chartEditorOpen$'][_0x2845c3(0x449)](_0x11a222);}['isElementEditModeActive'](_0x382804){const _0x3b0d1d=_0x53d83c;var _0x4b91a8;return this[_0x3b0d1d(0x51d)]&&((_0x4b91a8=this[_0x3b0d1d(0x317)][_0x3b0d1d(0x25c)])==null?void 0x0:_0x4b91a8['id'])===_0x382804;}[_0x53d83c(0x4c1)](_0x5dde18,_0x3656c3){const _0x3fa177=_0x53d83c;this[_0x3fa177(0x5df)][_0x3fa177(0x449)]({'chartId':_0x5dde18,'route':_0x3656c3});}[_0x53d83c(0x45a)](){const _0x59495e=_0x53d83c;this[_0x59495e(0x5df)]['next'](null);}['getChartHost'](_0x190bc2){const _0x58da89=_0x53d83c;for(let _0x283ce4 of this[_0x58da89(0x60e)]['getAllUnitsForType'](_0x29b193[_0x58da89(0x216)]['UNIVER_SHEET'])){let _0x499f98=_0x283ce4['getUnitId'](),_0x171b71=this['_sheetsChartService']['getSubUnitId'](_0x499f98,_0x190bc2);if(_0x171b71)return{'unitId':_0x499f98,'subUnitId':_0x171b71};}return null;}['setDataRange'](_0x48c268){const _0x31416e=_0x53d83c;let _0x20486b=this['_chartModelService'][_0x31416e(0x25c)];_0x20486b&&this['_executeChartUpdateSourceConfig']({'chartModelId':_0x20486b['id'],'range':_0x48c268});}async[_0x53d83c(0x21c)](_0x1e3999,_0x4da9d1,_0xfde5fe){const _0xa7e00a=_0x53d83c;let _0x3e0ffb=this[_0xa7e00a(0x5ca)][_0xa7e00a(0x4ca)](_0x1e3999,_0x4da9d1);_0x3e0ffb&&await this[_0xa7e00a(0x348)][_0xa7e00a(0x519)](_0x42e6b5[_0xa7e00a(0x6ce)])[_0xa7e00a(0x66b)]({'unitId':_0x1e3999,'subUnitId':_0x3e0ffb,'initialValue':_0xfde5fe,'maxRangeCount':0x1,'supportAcrossSheet':!0x0,'callback':_0x1e6d0d=>{const _0x103c32=_0xa7e00a;if(_0x1e6d0d[_0x103c32(0x5d4)]!==0x1||!this[_0x103c32(0x60e)][_0x103c32(0x4c9)](_0x1e3999)||!this[_0x103c32(0x5ca)][_0x103c32(0x4ca)](_0x1e3999,_0x4da9d1))return;let _0x1185b9=_0x1e6d0d[0x0],_0x512d88=_0x1185b9[_0x103c32(0x501)]||_0x1e3999,_0xaef6bb=this[_0x103c32(0x60e)][_0x103c32(0x4c9)](_0x512d88),_0x3bf98b=_0x1185b9['sheetName']?_0xaef6bb==null?void 0x0:_0xaef6bb[_0x103c32(0x2d0)](_0x1185b9[_0x103c32(0x44e)]):_0xaef6bb==null?void 0x0:_0xaef6bb['getSheetBySheetId'](_0x3e0ffb);_0x3bf98b&&(0x0,_0x29b193['isValidRange'])(_0x1185b9[_0x103c32(0x55c)],_0x3bf98b)&&this['_executeChartUpdateSourceConfig']({'chartModelId':_0x4da9d1,'range':{'rangeInfo':{'unitId':_0x512d88,'subUnitId':_0x3bf98b[_0x103c32(0x48e)](),'range':_0x1185b9[_0x103c32(0x55c)]}}});}});}[_0x53d83c(0x4e9)](_0xaeafe4){const _0x4c3305=_0x53d83c;let _0xcc8382=this[_0x4c3305(0x317)]['activeChartModel'];if(!_0xcc8382)return;let _0x708b33=this[_0x4c3305(0x5ca)][_0x4c3305(0x2e1)](_0xcc8382['id']);if(!_0x708b33||Array[_0x4c3305(0x28a)](_0x708b33))return;let _0x33188a={..._0x708b33,'isRowDirection':_0xaeafe4===_0x199e4a[_0x4c3305(0x62a)]['Row']};this['_executeChartUpdateSourceConfig']({'chartModelId':_0xcc8382['id'],'range':_0x33188a});}[_0x53d83c(0x34b)](_0x17a598){const _0xe1e1a4=_0x53d83c;let _0xa314e3=this[_0xe1e1a4(0x5bf)](_0x17a598[_0xe1e1a4(0x562)]);_0xa314e3&&this['_commandService']['syncExecuteCommand'](_0x1593c9['ChartUpdateConfigCommand']['id'],{..._0x17a598,'unitId':_0xa314e3['unitId']});}[_0x53d83c(0x1e1)](_0x378078){const _0x3522b3=_0x53d83c;let _0x5245bf=this[_0x3522b3(0x5bf)](_0x378078[_0x3522b3(0x562)]),_0xab55df=Array[_0x3522b3(0x28a)](_0x378078[_0x3522b3(0x55c)])?_0x378078['range'][_0x3522b3(0x435)](_0x4b322b=>_0x4b322b['range']):[_0x378078['range'][_0x3522b3(0x2d1)]];_0x5245bf&&!_0xab55df[_0x3522b3(0x4a1)](_0x42f5dd=>!this[_0x3522b3(0x4ae)](_0x42f5dd))&&this[_0x3522b3(0x228)][_0x3522b3(0x4b9)](_0x1593c9[_0x3522b3(0x602)]['id'],{..._0x378078,'unitId':_0x5245bf[_0x3522b3(0x501)]});}['_isReadableSource'](_0xdd84c1){const _0x314cef=_0x53d83c;let _0x35cbe1=this[_0x314cef(0x60e)][_0x314cef(0x4c9)](_0xdd84c1['unitId'],_0x29b193[_0x314cef(0x216)][_0x314cef(0x222)]),_0xe3e68e=_0x35cbe1==null?void 0x0:_0x35cbe1['getSheetBySheetId'](_0xdd84c1[_0x314cef(0x2fb)]);return!!_0xe3e68e&&(_0xe3e68e[_0x314cef(0x202)]()[_0x314cef(0x3b2)]??_0x29b193[_0x314cef(0x5ec)][_0x314cef(0x3d7)])===_0x29b193[_0x314cef(0x5ec)][_0x314cef(0x3d7)]&&(0x0,_0x29b193['isValidRange'])(_0xdd84c1[_0x314cef(0x55c)],_0xe3e68e)&&this[_0x314cef(0x35e)][_0x314cef(0x2ba)]({'workbookTypes':[_0x313b04['WorkbookViewPermission']],'worksheetTypes':[_0x313b04['WorksheetViewPermission']],'rangeTypes':[_0x313b04[_0x314cef(0x2ec)]]},[_0xdd84c1[_0x314cef(0x55c)]],_0xdd84c1['unitId'],_0xdd84c1[_0x314cef(0x2fb)]);}['dispose'](){const _0x12d4bb=_0x53d83c;this[_0x12d4bb(0x56b)][_0x12d4bb(0x530)](),this[_0x12d4bb(0x5df)][_0x12d4bb(0x530)](),super['dispose']();}};_0x11991e=_0x2db00d([_0x24d873(0x0,(0x0,_0x29b193[_0x53d83c(0x6d2)])(_0x1593c9[_0x53d83c(0x636)])),_0x24d873(0x1,(0x0,_0x29b193[_0x53d83c(0x6d2)])(_0x1593c9['SheetsChartService'])),_0x24d873(0x2,_0x29b193[_0x53d83c(0x456)]),_0x24d873(0x3,_0x29b193[_0x53d83c(0x233)]),_0x24d873(0x4,(0x0,_0x29b193[_0x53d83c(0x6d2)])(_0x29b193[_0x53d83c(0x4ef)])),_0x24d873(0x5,(0x0,_0x29b193['Inject'])(_0x313b04[_0x53d83c(0x398)])),_0x24d873(0x6,(0x0,_0x29b193[_0x53d83c(0x6d2)])(_0x2132f2[_0x53d83c(0x400)]))],_0x11991e);var _0x134bf9;let _0x57f0d0={'axis':{..._0x2132f2[_0x53d83c(0x37a)],'primaryGridLineVisible':!0x1,'secondaryGridLineVisible':!0x0},'funnel':_0x2132f2['DEFAULT_CHART_FUNNEL_VALUES'],'heatmap':_0x2132f2[_0x53d83c(0x3bb)],'indicatorLine':_0x2132f2[_0x53d83c(0x2b5)],'legend':_0x2132f2[_0x53d83c(0x3d0)],'lineAndArea':_0x2132f2[_0x53d83c(0x34e)],'pareto':_0x2132f2[_0x53d83c(0x26d)],'pie':_0x2132f2[_0x53d83c(0x63a)],'relation':{..._0x2132f2[_0x53d83c(0x6b0)],'useValueAsSymbolSize':!0x0},'radar':_0x2132f2[_0x53d83c(0x6cb)],'series':{..._0x2132f2[_0x53d83c(0x373)],'radarFillOpacity':0.2,'rightAxis':{'ltr':!0x1,'rtl':((_0x134bf9=_0x199e4a[_0x53d83c(0x512)][_0x53d83c(0x1eb)])==null?void 0x0:_0x134bf9['rightYAxis'])??!0x1}},'style':_0x2132f2['DEFAULT_CHART_STYLE_VALUES'],'titles':_0x2132f2[_0x53d83c(0x62b)],'trendline':_0x2132f2[_0x53d83c(0x647)],'waterfallStyle':_0x2132f2[_0x53d83c(0x4b6)],'wordCloud':_0x2132f2[_0x53d83c(0x2fd)]};function _0x1dd5b0({ref:_0x3232ff,..._0x4a3fc0}){const _0x5264fe=_0x53d83c;let {preserveStrokeWidth:_0xa7db0c,icon:_0x482252,id:_0x51f5d5,className:_0x739451,extend:_0x239e73,..._0x50391d}=_0x4a3fc0,_0x5c00b6=(_0x5264fe(0x330)+_0x51f5d5+'\x20'+(_0x739451||''))[_0x5264fe(0x4e7)](),_0x572dbc='_'+(0x0,_0x57ab3a[_0x5264fe(0x5c8)])(),_0x368f50=(0x0,_0x57ab3a[_0x5264fe(0x309)])(null);return(0x0,_0x57ab3a['useImperativeHandle'])(_0x3232ff,()=>_0x368f50['current']),(0x0,_0x57ab3a[_0x5264fe(0x312)])(()=>{const _0xa9ebee=_0x5264fe;if(_0xa7db0c&&_0x368f50[_0xa9ebee(0x3da)]&&_0x368f50[_0xa9ebee(0x3da)][_0xa9ebee(0x3c8)]===_0x482252['tag'])return _0x5e6f7a(_0x368f50['current']);},[_0xa7db0c,_0x482252]),_0x3cbea3(_0x482252,''+_0x51f5d5,{'defIds':_0x482252[_0x5264fe(0x1da)],'idSuffix':_0x572dbc},{'ref':_0x368f50,'className':_0x5c00b6,..._0x50391d},_0x239e73);}function _0x3cbea3(_0x47f976,_0x3c0c96,_0x374610,_0x58f91e,_0x4686c5){const _0x4e0fb5=_0x53d83c;return(0x0,_0x57ab3a[_0x4e0fb5(0x38e)])(_0x47f976[_0x4e0fb5(0x5c3)],{'key':_0x3c0c96,..._0x2866a7(_0x47f976,_0x374610,_0x4686c5),..._0x58f91e},(_0x2bbd58(_0x47f976,_0x374610)[_0x4e0fb5(0x588)]||[])['map']((_0x50559c,_0x41907b)=>_0x3cbea3(_0x50559c,_0x3c0c96+'-'+_0x47f976[_0x4e0fb5(0x5c3)]+'-'+_0x41907b,_0x374610,void 0x0,_0x4686c5)));}function _0x2866a7(_0xbf1223,_0x413736,_0x5692fb){const _0x1c5974=_0x53d83c;let _0x2cbe7e={..._0xbf1223[_0x1c5974(0x5b5)]};_0x5692fb!=null&&_0x5692fb[_0x1c5974(0x389)]&&_0x2cbe7e[_0x1c5974(0x6ba)]==='colorChannel1'&&(_0x2cbe7e[_0x1c5974(0x6ba)]=_0x5692fb[_0x1c5974(0x389)]),_0x5692fb!=null&&_0x5692fb[_0x1c5974(0x389)]&&_0x2cbe7e[_0x1c5974(0x41a)]==='colorChannel1'&&(_0x2cbe7e['stroke']=_0x5692fb['colorChannel1']),_0xbf1223[_0x1c5974(0x5c3)]===_0x1c5974(0x490)&&_0x2cbe7e['id']&&(_0x2cbe7e['id']+=_0x413736[_0x1c5974(0x2e4)]),Object[_0x1c5974(0x66d)](_0x2cbe7e)[_0x1c5974(0x646)](([_0x2274ee,_0x52e204])=>{const _0x2bdd0d=_0x1c5974;_0x2274ee===_0x2bdd0d(0x490)&&typeof _0x52e204==_0x2bdd0d(0x643)&&(_0x2cbe7e[_0x2274ee]=_0x52e204[_0x2bdd0d(0x21f)](/url\(#(.*)\)/,_0x2bdd0d(0x1e5)+_0x413736[_0x2bdd0d(0x2e4)]+')'));});let {defIds:_0x6d5efe}=_0x413736;return!_0x6d5efe||_0x6d5efe[_0x1c5974(0x5d4)]===0x0||(_0xbf1223[_0x1c5974(0x5c3)]===_0x1c5974(0x1db)&&_0x2cbe7e[_0x1c5974(0x36c)]&&(_0x2cbe7e[_0x1c5974(0x36c)]+=_0x413736[_0x1c5974(0x2e4)]),Object[_0x1c5974(0x66d)](_0x2cbe7e)[_0x1c5974(0x646)](([_0xbf0c92,_0x36c256])=>{const _0x19bd87=_0x1c5974;typeof _0x36c256==_0x19bd87(0x643)&&(_0x2cbe7e[_0xbf0c92]=_0x36c256[_0x19bd87(0x21f)](/url\(#(.*)\)/,_0x19bd87(0x1e5)+_0x413736[_0x19bd87(0x2e4)]+')'));})),_0x2cbe7e;}function _0x2bbd58(_0x55c9a4,_0x2fa150){const _0x4ac325=_0x53d83c;var _0x2751fe;let {defIds:_0x279110}=_0x2fa150;return!_0x279110||_0x279110[_0x4ac325(0x5d4)]===0x0?_0x55c9a4:_0x55c9a4[_0x4ac325(0x5c3)]===_0x4ac325(0x201)&&(_0x2751fe=_0x55c9a4[_0x4ac325(0x588)])!=null&&_0x2751fe['length']?{..._0x55c9a4,'children':_0x55c9a4['children'][_0x4ac325(0x435)](_0x1e8a32=>typeof _0x1e8a32[_0x4ac325(0x5b5)]['id']==_0x4ac325(0x643)&&_0x279110&&_0x279110[_0x4ac325(0x1f1)](_0x1e8a32[_0x4ac325(0x5b5)]['id'])?{..._0x1e8a32,'attrs':{..._0x1e8a32[_0x4ac325(0x5b5)],'id':_0x1e8a32[_0x4ac325(0x5b5)]['id']+_0x2fa150['idSuffix']}}:_0x1e8a32)}:_0x55c9a4;}function _0x5e6f7a(_0xdb9f78){const _0x5bd483=_0x53d83c;let _0x5043eb=_0xdb9f78[_0x5bd483(0x4b1)][_0x5bd483(0x57c)],_0x2a4594=Math['max'](_0x5043eb[_0x5bd483(0x443)],_0x5043eb['height']);if(!Number[_0x5bd483(0x287)](_0x2a4594)||_0x2a4594<=0x0||_0x5043eb['width']<=0x0||_0x5043eb[_0x5bd483(0x2db)]<=0x0)return()=>void 0x0;let _0x3abecc=0x10/_0x2a4594,_0xdeb83d=Array[_0x5bd483(0x693)](_0xdb9f78[_0x5bd483(0x657)](_0x5bd483(0x613)))[_0x5bd483(0x42f)](_0x327d29=>{const _0x37e019=_0x5bd483;let _0x1425de=getComputedStyle(_0x327d29),_0x4a9793=Number[_0x37e019(0x56e)](_0x1425de[_0x37e019(0x3c6)]);return _0x1425de[_0x37e019(0x41a)]===_0x37e019(0x55d)||Number[_0x37e019(0x56e)](_0x1425de[_0x37e019(0x5f1)])===0x0||_0x1425de[_0x37e019(0x221)]===_0x37e019(0x1e0)||!Number[_0x37e019(0x287)](_0x4a9793)||_0x4a9793<=0x0?[]:[{'element':_0x327d29,'hadStyleAttribute':_0x327d29[_0x37e019(0x495)](_0x37e019(0x256)),'originalStrokeWidth':_0x4a9793,'strokeWidth':_0x2b6a20(_0x327d29[_0x37e019(0x256)],_0x37e019(0x333))}];})['map'](_0x4aaa7f=>({'appliedStrokeWidth':null,'element':_0x4aaa7f[_0x5bd483(0x546)],'hadStyleAttribute':_0x4aaa7f['hadStyleAttribute'],'isReleased':!0x1,'originalStrokeWidth':_0x4aaa7f[_0x5bd483(0x667)],'strokeWidth':_0x4aaa7f[_0x5bd483(0x3c6)]}));if(_0xdeb83d[_0x5bd483(0x5d4)]===0x0)return()=>void 0x0;let _0x4cf1d1=(_0x4c6488,_0x8e59e)=>{const _0x1645e9=_0x5bd483;if(_0x5043eb[_0x1645e9(0x443)]<=0x0||_0x5043eb[_0x1645e9(0x2db)]<=0x0||_0x4c6488<=0x0||_0x8e59e<=0x0)return;let _0x5165d6=Math[_0x1645e9(0x217)](_0x4c6488/_0x5043eb[_0x1645e9(0x443)],_0x8e59e/_0x5043eb[_0x1645e9(0x2db)]);!Number[_0x1645e9(0x287)](_0x5165d6)||_0x5165d6<=0x0||_0xdeb83d[_0x1645e9(0x646)](_0x370adb=>{const _0xd8eee=_0x1645e9;if(_0x370adb[_0xd8eee(0x390)])return;if(_0x370adb[_0xd8eee(0x5c1)]!==null&&(_0x370adb[_0xd8eee(0x546)]['style']['getPropertyValue']('stroke-width')!==_0x370adb[_0xd8eee(0x5c1)]||_0x370adb[_0xd8eee(0x546)][_0xd8eee(0x256)]['getPropertyPriority'](_0xd8eee(0x333))!==_0x370adb[_0xd8eee(0x3c6)]['priority'])){_0x370adb[_0xd8eee(0x5c1)]=null,_0x370adb[_0xd8eee(0x390)]=!0x0;return;}let _0x197a6f=_0x370adb[_0xd8eee(0x667)]*_0x3abecc/_0x5165d6,_0x2af341=Number(_0x197a6f[_0xd8eee(0x51e)](0xc))+'px';_0x370adb[_0xd8eee(0x546)][_0xd8eee(0x256)][_0xd8eee(0x4c5)](_0xd8eee(0x333),_0x2af341,_0x370adb[_0xd8eee(0x3c6)][_0xd8eee(0x2fe)]),_0x370adb['appliedStrokeWidth']=_0x2af341;});},_0x3dc504=_0xdb9f78[_0x5bd483(0x539)]();_0x4cf1d1(_0x3dc504[_0x5bd483(0x443)],_0x3dc504['height']);let _0x2b4db1=typeof ResizeObserver>'u'?null:new ResizeObserver(_0x4147d4=>{const _0x4608af=_0x5bd483;if(_0x4147d4[_0x4608af(0x4a1)](_0xf781a1=>_0xf781a1['target']===_0xdb9f78)){let _0x32b9bb=_0xdb9f78['getBoundingClientRect']();_0x4cf1d1(_0x32b9bb['width'],_0x32b9bb[_0x4608af(0x2db)]);}});return _0x2b4db1==null||_0x2b4db1[_0x5bd483(0x286)](_0xdb9f78),()=>{_0x2b4db1==null||_0x2b4db1['disconnect'](),_0xdeb83d['forEach'](_0x1d5574=>{const _0xc98674=_0x18ca;_0x1d5574[_0xc98674(0x5c1)]!==null&&(_0x139679(_0x1d5574['element'][_0xc98674(0x256)],_0xc98674(0x333),_0x1d5574[_0xc98674(0x5c1)],_0x1d5574[_0xc98674(0x3c6)][_0xc98674(0x2fe)],_0x1d5574['strokeWidth']),!_0x1d5574[_0xc98674(0x4aa)]&&_0x1d5574[_0xc98674(0x546)][_0xc98674(0x256)][_0xc98674(0x5d4)]===0x0&&_0x1d5574[_0xc98674(0x546)][_0xc98674(0x49a)](_0xc98674(0x256)));});};}function _0x2b6a20(_0x9b2bc0,_0xc60b58){const _0x454a17=_0x53d83c;return{'priority':_0x9b2bc0[_0x454a17(0x5c7)](_0xc60b58),'value':_0x9b2bc0['getPropertyValue'](_0xc60b58)};}function _0x139679(_0xc699ec,_0x16e12f,_0x51bc09,_0x173b86,_0x59eef3){const _0x579ddd=_0x53d83c;_0xc699ec[_0x579ddd(0x375)](_0x16e12f)===_0x51bc09&&_0xc699ec[_0x579ddd(0x5c7)](_0x16e12f)===_0x173b86&&(_0x59eef3[_0x579ddd(0x5b6)]?_0xc699ec['setProperty'](_0x16e12f,_0x59eef3[_0x579ddd(0x5b6)],_0x59eef3['priority']):_0xc699ec[_0x579ddd(0x5fc)](_0x16e12f));}_0x1dd5b0['displayName']='UniverIcon';let _0x3a2be0={'tag':_0x53d83c(0x2f3),'attrs':{'xmlns':_0x53d83c(0x5d1),'fill':_0x53d83c(0x55d),'viewBox':'0\x200\x2016\x2016','width':_0x53d83c(0x3a2),'height':_0x53d83c(0x3a2)},'children':[{'tag':_0x53d83c(0x42e),'attrs':{'stroke':_0x53d83c(0x34a),'d':'M2.5\x208H13.5M8.5\x203L13.5\x208L8.5\x2013','strokeLinecap':'round','strokeLinejoin':_0x53d83c(0x3c7),'strokeWidth':1.2}}]},_0x432f3d=(0x0,_0x57ab3a[_0x53d83c(0x3bd)])(function(_0x4b874e,_0x3ea4e8){const _0x5d30f4=_0x53d83c;return(0x0,_0x57ab3a[_0x5d30f4(0x38e)])(_0x1dd5b0,Object[_0x5d30f4(0x615)]({},_0x4b874e,{'id':'arrow-right-icon','ref':_0x3ea4e8,'icon':_0x3a2be0}));});_0x432f3d['displayName']='ArrowRightIcon';let _0x3b7b96={'tag':_0x53d83c(0x2f3),'attrs':{'xmlns':_0x53d83c(0x5d1),'fill':_0x53d83c(0x55d),'viewBox':_0x53d83c(0x4c8),'width':_0x53d83c(0x3a2),'height':_0x53d83c(0x3a2)},'children':[{'tag':_0x53d83c(0x42e),'attrs':{'stroke':_0x53d83c(0x34a),'d':_0x53d83c(0x3fa),'strokeLinecap':_0x53d83c(0x3c7),'strokeWidth':1.2}},{'tag':'rect','attrs':{'width':2.6,'height':5.72,'x':1.94,'y':6.47,'stroke':_0x53d83c(0x34a),'rx':1.3,'strokeWidth':1.2}},{'tag':_0x53d83c(0x42e),'attrs':{'stroke':_0x53d83c(0x34a),'d':_0x53d83c(0x4a8),'strokeWidth':1.2}},{'tag':_0x53d83c(0x544),'attrs':{'width':2.6,'height':10.6,'x':11.46,'y':1.59,'stroke':'currentColor','rx':1.3,'strokeWidth':1.2}}]},_0x55a0fc=(0x0,_0x57ab3a[_0x53d83c(0x3bd)])(function(_0x49450b,_0x5bf749){const _0x192614=_0x53d83c;return(0x0,_0x57ab3a[_0x192614(0x38e)])(_0x1dd5b0,Object[_0x192614(0x615)]({},_0x49450b,{'id':_0x192614(0x579),'ref':_0x5bf749,'icon':_0x3b7b96}));});_0x55a0fc[_0x53d83c(0x302)]=_0x53d83c(0x323);let _0xf0abae={'tag':_0x53d83c(0x2f3),'attrs':{'xmlns':_0x53d83c(0x5d1),'fill':_0x53d83c(0x55d),'viewBox':_0x53d83c(0x4c8),'width':'1em','height':_0x53d83c(0x3a2)},'children':[{'tag':_0x53d83c(0x42e),'attrs':{'stroke':_0x53d83c(0x34a),'d':_0x53d83c(0x261),'strokeLinecap':'round','strokeLinejoin':_0x53d83c(0x3c7),'strokeWidth':1.2}}]},_0x3c94d5=(0x0,_0x57ab3a[_0x53d83c(0x3bd)])(function(_0xd811eb,_0x230c21){const _0x139dce=_0x53d83c;return(0x0,_0x57ab3a[_0x139dce(0x38e)])(_0x1dd5b0,Object['assign']({},_0xd811eb,{'id':_0x139dce(0x50f),'ref':_0x230c21,'icon':_0xf0abae}));});_0x3c94d5[_0x53d83c(0x302)]='DeleteIcon';let _0x34fd89={'tag':'svg','attrs':{'xmlns':_0x53d83c(0x5d1),'fill':_0x53d83c(0x55d),'viewBox':_0x53d83c(0x4c8),'width':_0x53d83c(0x3a2),'height':_0x53d83c(0x3a2)},'children':[{'tag':_0x53d83c(0x42e),'attrs':{'fill':_0x53d83c(0x34a),'d':_0x53d83c(0x4c0)}}]},_0x497735=(0x0,_0x57ab3a[_0x53d83c(0x3bd)])(function(_0x4fc56b,_0x15b50f){const _0x482f45=_0x53d83c;return(0x0,_0x57ab3a[_0x482f45(0x38e)])(_0x1dd5b0,Object[_0x482f45(0x615)]({},_0x4fc56b,{'id':_0x482f45(0x659),'ref':_0x15b50f,'icon':_0x34fd89}));});_0x497735[_0x53d83c(0x302)]=_0x53d83c(0x47b);let _0x137907={'tag':_0x53d83c(0x2f3),'attrs':{'xmlns':_0x53d83c(0x5d1),'fill':_0x53d83c(0x55d),'viewBox':_0x53d83c(0x4c8),'width':_0x53d83c(0x3a2),'height':_0x53d83c(0x3a2)},'children':[{'tag':_0x53d83c(0x42e),'attrs':{'fill':_0x53d83c(0x34a),'d':_0x53d83c(0x232)}}]},_0x3c2692=(0x0,_0x57ab3a['forwardRef'])(function(_0x25f8d8,_0xa87ff6){const _0x35d7ee=_0x53d83c;return(0x0,_0x57ab3a[_0x35d7ee(0x38e)])(_0x1dd5b0,Object[_0x35d7ee(0x615)]({},_0x25f8d8,{'id':'pen-icon','ref':_0xa87ff6,'icon':_0x137907}));});_0x3c2692[_0x53d83c(0x302)]=_0x53d83c(0x2eb);let _0x594077={'tag':_0x53d83c(0x2f3),'attrs':{'xmlns':_0x53d83c(0x5d1),'fill':'none','viewBox':'0\x200\x2016\x2016','width':'1em','height':_0x53d83c(0x3a2)},'children':[{'tag':_0x53d83c(0x42e),'attrs':{'fill':'currentColor','d':'M12.6185\x2012.4423C12.5907\x2012.2749\x2012.7773\x2012.15\x2012.9343\x2012.2308L15.4242\x2013.5126C15.6102\x2013.6084\x2015.5544\x2013.8745\x2015.3439\x2013.8955L14.2456\x2014.184L13.4521\x2015.1286C13.3495\x2015.2939\x2013.085\x2015.2463\x2013.0534\x2015.0568L12.6185\x2012.4423Z'}},{'tag':_0x53d83c(0x42e),'attrs':{'fill':'currentColor','d':_0x53d83c(0x526),'fillRule':_0x53d83c(0x40a),'clipRule':_0x53d83c(0x40a)}}]},_0x3d3f97=(0x0,_0x57ab3a['forwardRef'])(function(_0x2e4b02,_0x423135){const _0x19c9f5=_0x53d83c;return(0x0,_0x57ab3a[_0x19c9f5(0x38e)])(_0x1dd5b0,Object[_0x19c9f5(0x615)]({},_0x2e4b02,{'id':_0x19c9f5(0x5d0),'ref':_0x423135,'icon':_0x594077}));});_0x3d3f97[_0x53d83c(0x302)]=_0x53d83c(0x478);let _0x3c67ca={'tag':'svg','attrs':{'xmlns':_0x53d83c(0x5d1),'fill':_0x53d83c(0x55d),'viewBox':'0\x200\x2016\x2016','width':_0x53d83c(0x3a2),'height':_0x53d83c(0x3a2)},'children':[{'tag':_0x53d83c(0x42e),'attrs':{'fill':'currentColor','d':_0x53d83c(0x4c6),'fillRule':'evenodd','clipRule':_0x53d83c(0x40a)}},{'tag':_0x53d83c(0x42e),'attrs':{'fill':_0x53d83c(0x34a),'d':_0x53d83c(0x5a7),'fillRule':_0x53d83c(0x40a),'clipRule':_0x53d83c(0x40a)}}]},_0x3220fa=(0x0,_0x57ab3a[_0x53d83c(0x3bd)])(function(_0x5ddc1b,_0x3236ab){const _0x51be91=_0x53d83c;return(0x0,_0x57ab3a['createElement'])(_0x1dd5b0,Object[_0x51be91(0x615)]({},_0x5ddc1b,{'id':_0x51be91(0x1fd),'ref':_0x3236ab,'icon':_0x3c67ca}));});_0x3220fa['displayName']=_0x53d83c(0x57a);let _0x25e936=_0x155e8f=>_0x155e8f[_0x53d83c(0x391)](_0x29b193[_0x53d83c(0x216)]['UNIVER_SHEET'])[_0x53d83c(0x384)](),_0x16061c=_0x2bb231=>{const _0xa5b0a6=_0x53d83c;var _0x344d1e;return(_0x344d1e=_0x2bb231[_0xa5b0a6(0x391)](_0x29b193[_0xa5b0a6(0x216)]['UNIVER_SHEET'])[_0xa5b0a6(0x695)]())==null?void 0x0:_0x344d1e[_0xa5b0a6(0x48e)]();},_0x20433b=()=>{const _0x512a83=_0x53d83c;var _0x3a250a;let _0x259bf1=(0x0,_0x3862b0[_0x512a83(0x421)])(_0x316a04),_0x256ec4=(0x0,_0x3862b0[_0x512a83(0x421)])(_0x1593c9[_0x512a83(0x636)]),_0x38ebb9=(0x0,_0x3862b0[_0x512a83(0x421)])(_0x29b193[_0x512a83(0x3e6)]),_0x29ff1c=(0x0,_0x3862b0['useDependency'])(_0x29b193[_0x512a83(0x4ef)]),_0x386a45=(0x0,_0x1593c9[_0x512a83(0x4d7)])(_0x29ff1c),_0xef628d=(0x0,_0x57ab3a[_0x512a83(0x4cd)])(()=>{const _0x43ca78=_0x512a83;let _0x320b91=_0x3bd200(_0xbeb940[_0x43ca78(0x2e0)](),_0x386a45);return(0x0,_0x2132f2[_0x43ca78(0x5bb)])(_0x320b91[_0x43ca78(0x435)](_0x54f627=>({'id':_0x54f627['id'],'label':_0x38ebb9['t']('sheets-chart-ui.chartTypes.'+_0x54f627['labelId']),'pieSecondaryPlotType':_0x54f627[_0x43ca78(0x4a7)],'value':_0x54f627['value']})));},[_0x386a45,_0x38ebb9]),_0x302f42=(0x0,_0x3862b0[_0x512a83(0x2c0)])(_0x256ec4['activeChartModel$'],_0x256ec4[_0x512a83(0x25c)]),_0x240a48=(0x0,_0x3862b0['useObservable'])(_0x302f42==null?void 0x0:_0x302f42[_0x512a83(0x4b0)],_0x302f42==null?void 0x0:_0x302f42['context']),_0x406d50=(0x0,_0x3862b0[_0x512a83(0x2c0)])(_0x302f42==null?void 0x0:_0x302f42[_0x512a83(0x4ff)],_0x302f42==null?void 0x0:_0x302f42['dataSource']),_0x2fba5b=(0x0,_0x3862b0[_0x512a83(0x2c0)])(_0x406d50==null?void 0x0:_0x406d50[_0x512a83(0x57d)],_0x406d50==null?void 0x0:_0x406d50['getRangeInfo']()),_0x3626e9=Array[_0x512a83(0x28a)](_0x2fba5b),_0x13d963=_0x2fba5b&&!_0x3626e9&&_0x2fba5b[_0x512a83(0x1ea)]?_0x199e4a[_0x512a83(0x62a)][_0x512a83(0x2e9)]:_0x199e4a[_0x512a83(0x62a)][_0x512a83(0x64e)],_0x6ccfda=_0x3626e9?(_0x3a250a=_0x2fba5b[0x0])==null?void 0x0:_0x3a250a[_0x512a83(0x55c)]:_0x2fba5b==null?void 0x0:_0x2fba5b[_0x512a83(0x2d1)];return(0x0,_0x422fa2[_0x512a83(0x36d)])(_0x512a83(0x4fe),{'className':'univer-flex\x20univer-flex-col\x20univer-gap-3\x20univer-pb-5','children':[(0x0,_0x422fa2[_0x512a83(0x438)])(_0x2132f2[_0x512a83(0x237)],{'chartTypeOptions':_0xef628d,'dataSourceControl':(0x0,_0x422fa2[_0x512a83(0x438)])(_0x4f73c0,{'chartId':_0x302f42==null?void 0x0:_0x302f42['id'],'dataRange':_0x2fba5b,'primaryRange':_0x6ccfda}),'categoryToggleLabel':_0x38ebb9['t'](_0x512a83(0x571),_0x13d963===_0x199e4a[_0x512a83(0x62a)][_0x512a83(0x2e9)]?_0x13d963+'\x20'+(((_0x6ccfda==null?void 0x0:_0x6ccfda['range']['startRow'])??0x0)+0x1):_0x13d963+'\x20'+(0x0,_0x29b193[_0x512a83(0x3ab)])((_0x6ccfda==null?void 0x0:_0x6ccfda[_0x512a83(0x55c)]['startColumn'])??0x0)),'orientationControl':_0x3626e9?void 0x0:(0x0,_0x422fa2[_0x512a83(0x438)])(_0x3836fd[_0x512a83(0x5b7)],{'size':_0x512a83(0x34c),'onClick':()=>_0x259bf1['setOrientation'](_0x13d963===_0x199e4a[_0x512a83(0x62a)][_0x512a83(0x2e9)]?_0x199e4a[_0x512a83(0x62a)][_0x512a83(0x64e)]:_0x199e4a['DataOrientation'][_0x512a83(0x2e9)]),'children':_0x38ebb9['t']('sheets-chart-ui.common.switchRowColumn')})}),(0x0,_0x422fa2[_0x512a83(0x438)])(_0x3836fd[_0x512a83(0x683)],{'checked':(_0x240a48==null?void 0x0:_0x240a48[_0x512a83(0x37b)])===!0x1,'disabled':!_0x302f42,'onChange':_0x2f697a=>{const _0x3183d6=_0x512a83;_0x302f42&&_0x259bf1[_0x3183d6(0x34b)]({'chartModelId':_0x302f42['id'],'context':{'plotVisibleOnly':!_0x2f697a}});},'children':_0x38ebb9['t']('sheets-chart-ui.common.showHiddenData')})]});};function _0x4f73c0(_0x1c659d){const _0x3a3b44=_0x53d83c;let {chartId:_0x2b06a4,dataRange:_0x36f794,primaryRange:_0x2053fc}=_0x1c659d,_0x4402d4=(0x0,_0x3862b0[_0x3a3b44(0x421)])(_0x316a04),_0xec6d59=(0x0,_0x3862b0['useDependency'])(_0x29b193[_0x3a3b44(0x3e6)]),_0x13980c=(0x0,_0x3862b0[_0x3a3b44(0x421)])(_0x29b193[_0x3a3b44(0x233)]),_0x1032ff=(0x0,_0x3862b0[_0x3a3b44(0x421)])(_0x29b193['IContextService']),_0x4c1044=(0x0,_0x3862b0[_0x3a3b44(0x421)])(_0x29b193[_0x3a3b44(0x63d)]),[_0x5ee715,_0x14f4e7]=(0x0,_0x57ab3a[_0x3a3b44(0x6ad)])(!0x1),[_0x24b5cf,_0x1979d7]=(0x0,_0x57ab3a[_0x3a3b44(0x6ad)])(),_0x59c014=_0x25e936(_0x13980c),_0x1108df=_0x16061c(_0x13980c),_0x5ba403=_0x36f794?_0x1170c6(_0x36f794,_0x13980c):'',_0x5a4215=(0x0,_0x57ab3a[_0x3a3b44(0x309)])(_0x5ba403),_0x2f7651=(0x0,_0x57ab3a[_0x3a3b44(0x309)])(void 0x0),_0x30789e=(0x0,_0x57ab3a[_0x3a3b44(0x309)])(null),_0x98aae8=(0x0,_0x3862b0[_0x3a3b44(0x421)])(_0x10710a['IEditorService']);(0x0,_0x57ab3a[_0x3a3b44(0x62f)])(()=>{const _0x2c1a78=_0x3a3b44;var _0x190326;_0x5a4215[_0x2c1a78(0x3da)]=_0x5ba403,_0x2f7651['current']=void 0x0;let _0x3a7f4b=_0x30789e[_0x2c1a78(0x3da)];_0x3a7f4b&&((_0x190326=_0x3a7f4b[_0x2c1a78(0x1ef)]())==null?void 0x0:_0x190326[_0x2c1a78(0x3a8)]())!==_0x5ba403&&_0x3a7f4b['replaceText'](_0x5ba403);},[_0x5ba403]);let _0x59e20d=(0x0,_0x3862b0['useDependency'])(_0x47a98f[_0x3a3b44(0x4af)]),_0x412af4=()=>{const _0xf796a0=_0x3a3b44;var _0x525731,_0x4a0d2e;(_0x525731=_0x30789e[_0xf796a0(0x3da)])==null||_0x525731[_0xf796a0(0x609)]([]),(_0x4a0d2e=_0x30789e['current'])==null||_0x4a0d2e[_0xf796a0(0x5e0)](),_0x98aae8[_0xf796a0(0x5e0)]();},_0xf80395=()=>{const _0x2f9248=_0x3a3b44;var _0x4a0f5e;if(!_0x2b06a4)return;let _0x137d8f=(((_0x4a0f5e=_0x30789e[_0x2f9248(0x3da)])==null||(_0x4a0f5e=_0x4a0f5e[_0x2f9248(0x1ef)]())==null?void 0x0:_0x4a0f5e[_0x2f9248(0x3a8)]())??_0x5ba403)[_0x2f9248(0x54e)](_0x47a98f[_0x2f9248(0x428)]['COMMA'])['filter'](_0x1534c1=>_0x1534c1[_0x2f9248(0x4e7)]())[_0x2f9248(0x435)](_0x578947=>(0x0,_0x47a98f[_0x2f9248(0x5ad)])(_0x578947));_0x412af4(),_0x4402d4[_0x2f9248(0x21c)](_0x59c014,_0x2b06a4,_0x137d8f)[_0x2f9248(0x334)](_0x59477e=>_0x4c1044['error'](_0x59477e));};(0x0,_0x57ab3a['useEffect'])(()=>{const _0x4fa73a=_0x3a3b44;_0x4402d4[_0x4fa73a(0x542)](_0x5ee715),_0x1032ff[_0x4fa73a(0x660)](_0x29b193[_0x4fa73a(0x51f)],_0x5ee715);},[_0x1032ff,_0x5ee715,_0x4402d4]),(0x0,_0x57ab3a['useEffect'])(()=>()=>{const _0x438f62=_0x3a3b44;_0x4402d4[_0x438f62(0x542)](!0x1),_0x1032ff[_0x438f62(0x660)](_0x29b193[_0x438f62(0x51f)],!0x1);},[_0x1032ff,_0x4402d4]);let _0x3443ae=(0x0,_0x57ab3a[_0x3a3b44(0x54f)])(_0x3bd8ee=>{const _0x236ab7=_0x3a3b44;if(_0x1170c6(_0x36f794,_0x13980c)===_0x3bd8ee)return _0x1979d7(void 0x0),!0x0;let _0xfab7ea=_0x3bd8ee[_0x236ab7(0x54e)](_0x47a98f[_0x236ab7(0x428)][_0x236ab7(0x649)]),_0x2f3a27=_0x59e20d[_0x236ab7(0x416)](_0x3bd8ee);if(!_0x3bd8ee[_0x236ab7(0x4e7)]()||_0xfab7ea[_0x236ab7(0x5d4)]!==0x1||(_0x2f3a27==null?void 0x0:_0x2f3a27[_0x236ab7(0x5d4)])!==0x1||typeof _0x2f3a27[0x0]==_0x236ab7(0x643)||_0x2f3a27[0x0]['nodeType']!==_0x47a98f[_0x236ab7(0x65c)]['REFERENCE'])return _0x1979d7(_0xec6d59['t'](_0x236ab7(0x441))),!0x1;let {unitId:_0x631c59,sheetName:_0x9f2527,range:_0xbbaf53}=(0x0,_0x47a98f[_0x236ab7(0x5ad)])(_0xfab7ea[0x0]),_0x381023=_0x631c59||_0x59c014,_0x434a0e=_0x13980c[_0x236ab7(0x4c9)](_0x381023),_0x187ca5=(_0x2053fc==null?void 0x0:_0x2053fc[_0x236ab7(0x501)])===_0x381023?_0x2053fc['subUnitId']:_0x1108df,_0x32ef5e=_0x9f2527?_0x434a0e==null?void 0x0:_0x434a0e['getSheetBySheetName'](_0x9f2527):_0x434a0e==null?void 0x0:_0x434a0e['getSheetBySheetId'](_0x187ca5??'');return!_0x434a0e||!_0x32ef5e||!(0x0,_0x29b193[_0x236ab7(0x482)])(_0xbbaf53,_0x32ef5e)?(_0x1979d7(_0xec6d59['t']('sheets-chart-ui.common.invalidDataRange')),!0x1):(_0x1979d7(void 0x0),_0x4402d4['setDataRange']({'rangeInfo':{'range':_0xbbaf53,'unitId':_0x381023,'subUnitId':_0x32ef5e[_0x236ab7(0x48e)]()}}),!0x0);},[_0x36f794,_0x59e20d,_0xec6d59,_0x2053fc,_0x4402d4,_0x1108df,_0x59c014,_0x13980c]),_0x40ccd4=(0x0,_0x57ab3a[_0x3a3b44(0x4cd)])(()=>({'keyCodes':[{'keyCode':_0x3862b0[_0x3a3b44(0x670)]['ENTER'],'nativeTextEditorBehavior':_0x3862b0[_0x3a3b44(0x68c)]['OVERRIDE_NATIVE']}],'handler':_0x4545de=>{const _0x43f46e=_0x3a3b44;_0x4545de===_0x3862b0['KeyCode'][_0x43f46e(0x371)]&&_0x3443ae(_0x5a4215[_0x43f46e(0x3da)])&&(_0x2f7651[_0x43f46e(0x3da)]=_0x5a4215['current']);}}),[_0x3443ae]);return(0x0,_0x422fa2['jsx'])('div',{'className':_0x3a3b44(0x280),'children':(0x0,_0x422fa2[_0x3a3b44(0x36d)])('div',{'children':[(0x0,_0x422fa2[_0x3a3b44(0x438)])(_0x2132f2[_0x3a3b44(0x21d)],{'title':_0xec6d59['t'](_0x3a3b44(0x1de))}),(0x0,_0x422fa2[_0x3a3b44(0x438)])(_0x10710a['RichTextEditor'],{'isSingle':!0x0,'preserveHostFocus':!0x0,'onClickOutside':_0x412af4,'initialValue':_0x5ba403,'keyboardEventConfig':_0x40ccd4,'editorRef':_0x30789e,'icon':(0x0,_0x422fa2[_0x3a3b44(0x438)])(_0x3836fd['Tooltip'],{'title':_0xec6d59['t'](_0x3a3b44(0x1de)),'children':(0x0,_0x422fa2[_0x3a3b44(0x438)])(_0x3836fd[_0x3a3b44(0x5b7)],{'variant':_0x3a3b44(0x44c),'size':_0x3a3b44(0x34c),'className':_0x3a3b44(0x6b6),'aria-label':_0xec6d59['t'](_0x3a3b44(0x1de)),'onClick':_0xf80395,'children':(0x0,_0x422fa2['jsx'])(_0x3d3f97,{})})}),'onChange':(_0x4c4ca9,_0x5113f9)=>{const _0x4484cd=_0x3a3b44;_0x5a4215[_0x4484cd(0x3da)]=_0x5113f9;},'onFocusChange':(_0x4101e2,_0x3cd26a)=>{const _0x390983=_0x3a3b44;if(_0x3cd26a!==void 0x0&&(_0x5a4215[_0x390983(0x3da)]=_0x3cd26a),_0x14f4e7(_0x4101e2),_0x4101e2)_0x2f7651[_0x390983(0x3da)]=_0x5a4215[_0x390983(0x3da)];else{let _0x3fcae9=_0x2f7651[_0x390983(0x3da)];_0x2f7651[_0x390983(0x3da)]=void 0x0,_0x3fcae9!==void 0x0&&_0x5a4215[_0x390983(0x3da)]!==_0x3fcae9&&_0x3443ae(_0x5a4215[_0x390983(0x3da)]);}}}),_0x24b5cf?(0x0,_0x422fa2['jsx'])('div',{'className':_0x3a3b44(0x65b),'children':_0x24b5cf}):null]})});}function _0x2ebe68(_0x40bb49){const _0x252c75=_0x53d83c;return(0x0,_0x422fa2[_0x252c75(0x36d)])(_0x2132f2[_0x252c75(0x305)],{'id':_0x40bb49['id'],'children':[(0x0,_0x422fa2['jsx'])(_0x2132f2[_0x252c75(0x2dc)],{'children':_0x40bb49['label']}),(0x0,_0x422fa2[_0x252c75(0x438)])(_0x2132f2[_0x252c75(0x5ac)],{'children':_0x40bb49[_0x252c75(0x588)]})]});}let _0x183cad=_0x1de38c=>{const _0x2fb9a5=_0x53d83c;let _0x81c4c9=(0x0,_0x3862b0[_0x2fb9a5(0x421)])(_0x29b193[_0x2fb9a5(0x3e6)]),_0x1b843a=(0x0,_0x3862b0[_0x2fb9a5(0x421)])(_0x316a04),_0x2e6258=(0x0,_0x3862b0[_0x2fb9a5(0x421)])(_0x1593c9[_0x2fb9a5(0x636)]),_0x5a30fd=(0x0,_0x3862b0[_0x2fb9a5(0x2c0)])(_0x2e6258[_0x2fb9a5(0x40d)],_0x2e6258[_0x2fb9a5(0x25c)]),_0x48be7e=(0x0,_0x3862b0[_0x2fb9a5(0x2c0)])(_0x1b843a[_0x2fb9a5(0x289)],null),_0x375aa8=_0x48be7e&&_0x48be7e[_0x2fb9a5(0x6d8)]===(_0x5a30fd==null?void 0x0:_0x5a30fd['id'])?_0x48be7e[_0x2fb9a5(0x21e)]:null,_0x5429b7=(0x0,_0x2132f2[_0x2fb9a5(0x620)])(),_0x2bd6f7=(0x0,_0x2132f2[_0x2fb9a5(0x69f)])(),[_0x476c1d,_0x761b72]=(0x0,_0x57ab3a[_0x2fb9a5(0x6ad)])(null);(0x0,_0x57ab3a[_0x2fb9a5(0x62f)])(()=>{const _0x5a9832=_0x2fb9a5;_0x375aa8!=null&&_0x375aa8[_0x5a9832(0x51c)]&&_0x761b72(_0x375aa8[_0x5a9832(0x51c)]);},[_0x375aa8]);let _0x3ade11=_0x199e4a[_0x2fb9a5(0x5e2)][_0x2fb9a5(0x215)](_0x5429b7,_0x199e4a[_0x2fb9a5(0x6b8)]['Pie']),_0x3602b1=_0x5429b7===_0x199e4a[_0x2fb9a5(0x6b8)]['Radar'],_0x453b76=_0x5429b7===_0x199e4a[_0x2fb9a5(0x6b8)][_0x2fb9a5(0x290)],_0x2b5123=_0x5429b7===_0x199e4a[_0x2fb9a5(0x6b8)]['Funnel'],_0x46016b=_0x199e4a[_0x2fb9a5(0x5e2)][_0x2fb9a5(0x215)](_0x5429b7,_0x199e4a[_0x2fb9a5(0x6b8)][_0x2fb9a5(0x23d)]),_0x5026d1=_0x5429b7===_0x199e4a[_0x2fb9a5(0x6b8)][_0x2fb9a5(0x648)],_0x5229f8=_0x5429b7===_0x199e4a[_0x2fb9a5(0x6b8)][_0x2fb9a5(0x684)],_0x3a95be=_0x5429b7===_0x199e4a['ChartTypeBits']['Pareto'],_0x2b749e=_0x5429b7===_0x199e4a[_0x2fb9a5(0x6b8)][_0x2fb9a5(0x424)],_0x39e5a8,_0x447954;switch(_0x5429b7){case _0x199e4a['ChartTypeBits']['Candlestick']:_0x39e5a8=_0x2132f2[_0x2fb9a5(0x30a)][_0x2fb9a5(0x475)],_0x447954=_0x81c4c9['t'](_0x2fb9a5(0x358));break;case _0x199e4a[_0x2fb9a5(0x6b8)][_0x2fb9a5(0x586)]:_0x39e5a8=_0x2132f2[_0x2fb9a5(0x30a)][_0x2fb9a5(0x586)],_0x447954=_0x81c4c9['t']('sheets-chart-ui.section.histogram');break;case _0x199e4a[_0x2fb9a5(0x6b8)][_0x2fb9a5(0x4cb)]:_0x39e5a8=_0x2132f2[_0x2fb9a5(0x30a)][_0x2fb9a5(0x4cb)],_0x447954=_0x81c4c9['t'](_0x2fb9a5(0x434));break;case _0x199e4a[_0x2fb9a5(0x6b8)][_0x2fb9a5(0x318)]:_0x39e5a8=_0x2132f2[_0x2fb9a5(0x30a)][_0x2fb9a5(0x318)],_0x447954=_0x81c4c9['t']('sheets-chart-ui.section.sunburst');break;case _0x199e4a['ChartTypeBits']['Gauge']:_0x39e5a8=_0x2132f2[_0x2fb9a5(0x30a)][_0x2fb9a5(0x1e3)],_0x447954=_0x81c4c9['t'](_0x2fb9a5(0x567));break;case _0x199e4a[_0x2fb9a5(0x6b8)][_0x2fb9a5(0x4dc)]:_0x39e5a8=_0x2132f2[_0x2fb9a5(0x30a)][_0x2fb9a5(0x4dc)],_0x447954=_0x81c4c9['t'](_0x2fb9a5(0x437));}let _0x32fb56=(0x0,_0x2132f2[_0x2fb9a5(0x67f)])(_0x5429b7,_0x2132f2['ChartEditorCapability']['GeneralSeries'])&&!_0x46016b&&!_0x3a95be;return(0x0,_0x422fa2[_0x2fb9a5(0x36d)])(_0x2132f2[_0x2fb9a5(0x270)],{'value':_0x476c1d,'onChange':_0x761b72,'children':[(0x0,_0x422fa2['jsx'])(_0x2ebe68,{'id':_0x2132f2[_0x2fb9a5(0x30a)][_0x2fb9a5(0x2c8)],'label':_0x81c4c9['t'](_0x2fb9a5(0x27d)),'children':(0x0,_0x422fa2['jsx'])(_0x2132f2['ChartStyleSection'],{'defaultValues':_0x1de38c['defaultValues'][_0x2fb9a5(0x256)]})}),(0x0,_0x422fa2[_0x2fb9a5(0x438)])(_0x2ebe68,{'id':_0x2132f2[_0x2fb9a5(0x30a)]['ChartAndAxisTitles'],'label':_0x81c4c9['t'](_0x2fb9a5(0x447)),'children':(0x0,_0x422fa2[_0x2fb9a5(0x438)])(_0x2132f2[_0x2fb9a5(0x4d6)],{'commitMode':_0x2fb9a5(0x5e0),'defaultValues':_0x1de38c[_0x2fb9a5(0x315)][_0x2fb9a5(0x349)],'selectedTitleKey':_0x375aa8==null?void 0x0:_0x375aa8[_0x2fb9a5(0x650)]})}),(0x0,_0x422fa2[_0x2fb9a5(0x438)])(_0x2132f2[_0x2fb9a5(0x284)],{'section':'view'}),_0x32fb56&&(0x0,_0x422fa2[_0x2fb9a5(0x438)])(_0x2ebe68,{'id':_0x2132f2[_0x2fb9a5(0x30a)][_0x2fb9a5(0x5a1)],'label':_0x81c4c9['t'](_0x2fb9a5(0x553)),'children':(0x0,_0x422fa2['jsx'])(_0x2132f2[_0x2fb9a5(0x274)],{'defaultValues':_0x1de38c[_0x2fb9a5(0x315)][_0x2fb9a5(0x634)],'NumberFormatField':_0x2132f2['ChartNumberFormatAtom'],'selectedSeriesId':_0x375aa8==null?void 0x0:_0x375aa8[_0x2fb9a5(0x32c)]})}),_0x5229f8&&(0x0,_0x422fa2[_0x2fb9a5(0x438)])(_0x2ebe68,{'id':_0x2132f2[_0x2fb9a5(0x30a)][_0x2fb9a5(0x1f2)],'label':_0x81c4c9['t']('sheets-chart-ui.section.waterfall'),'children':(0x0,_0x422fa2['jsx'])(_0x2132f2[_0x2fb9a5(0x66f)],{'defaultValues':_0x1de38c['defaultValues'][_0x2fb9a5(0x3b7)],'getDefaultBucketName':({seriesName:_0x57d98e,target:_0x2bdc13})=>_0x2bdc13===_0x199e4a[_0x2fb9a5(0x5fa)][_0x2fb9a5(0x504)]?_0x81c4c9['t'](_0x2fb9a5(0x4de)):_0x57d98e?_0x57d98e+'-('+_0x81c4c9['t'](_0x2bdc13===_0x199e4a[_0x2fb9a5(0x5fa)][_0x2fb9a5(0x584)]?_0x2fb9a5(0x555):_0x2fb9a5(0x2d3))+')':'','NumberFormatField':_0x2132f2[_0x2fb9a5(0x53e)],'selectedSeriesId':_0x375aa8==null?void 0x0:_0x375aa8[_0x2fb9a5(0x32c)]})}),_0x3a95be&&(0x0,_0x422fa2[_0x2fb9a5(0x36d)])(_0x422fa2['Fragment'],{'children':[(0x0,_0x422fa2['jsx'])(_0x2ebe68,{'id':_0x2132f2['ChartEditPanelSection']['ParetoBarSeries'],'label':_0x81c4c9['t'](_0x2fb9a5(0x3fb)),'children':(0x0,_0x422fa2[_0x2fb9a5(0x438)])(_0x2132f2[_0x2fb9a5(0x461)],{'defaultValues':_0x1de38c[_0x2fb9a5(0x315)][_0x2fb9a5(0x492)],'NumberFormatField':_0x2132f2[_0x2fb9a5(0x53e)],'showDataPointEditor':!0x0,'target':_0x2fb9a5(0x619)})}),(0x0,_0x422fa2[_0x2fb9a5(0x438)])(_0x2ebe68,{'id':_0x2132f2[_0x2fb9a5(0x30a)][_0x2fb9a5(0x5e6)],'label':_0x81c4c9['t'](_0x2fb9a5(0x214)),'children':(0x0,_0x422fa2[_0x2fb9a5(0x438)])(_0x2132f2[_0x2fb9a5(0x461)],{'defaultValues':_0x1de38c[_0x2fb9a5(0x315)][_0x2fb9a5(0x492)],'NumberFormatField':_0x2132f2[_0x2fb9a5(0x53e)],'showDataPointEditor':!0x1,'target':'cumulativeLineStyle'})})]}),_0x3ade11&&(0x0,_0x422fa2['jsx'])(_0x2ebe68,{'id':_0x2132f2[_0x2fb9a5(0x30a)][_0x2fb9a5(0x448)],'label':_0x81c4c9['t'](_0x2fb9a5(0x4f8)),'children':(0x0,_0x422fa2['jsx'])(_0x2132f2[_0x2fb9a5(0x66c)],{'defaultValues':_0x1de38c['defaultValues'][_0x2fb9a5(0x5e4)],'NumberFormatField':_0x2132f2['ChartNumberFormatAtom']})}),_0x453b76&&(0x0,_0x422fa2[_0x2fb9a5(0x438)])(_0x2ebe68,{'id':_0x2132f2['ChartEditPanelSection'][_0x2fb9a5(0x290)],'label':_0x81c4c9['t'](_0x2fb9a5(0x5e3)),'children':(0x0,_0x422fa2['jsx'])(_0x2132f2[_0x2fb9a5(0x2d8)],{'defaultValues':_0x1de38c[_0x2fb9a5(0x315)][_0x2fb9a5(0x327)]})}),_0x3602b1&&(0x0,_0x422fa2[_0x2fb9a5(0x438)])(_0x2ebe68,{'id':_0x2132f2['ChartEditPanelSection'][_0x2fb9a5(0x3de)],'label':_0x81c4c9['t']('sheets-chart-ui.section.radar'),'children':(0x0,_0x422fa2[_0x2fb9a5(0x438)])(_0x2132f2['ChartRadarStyleSection'],{'defaultValues':_0x1de38c['defaultValues'][_0x2fb9a5(0x242)]})}),_0x2b5123&&(0x0,_0x422fa2[_0x2fb9a5(0x438)])(_0x2ebe68,{'id':_0x2132f2['ChartEditPanelSection'][_0x2fb9a5(0x628)],'label':_0x81c4c9['t'](_0x2fb9a5(0x49b)),'children':(0x0,_0x422fa2['jsx'])(_0x2132f2[_0x2fb9a5(0x28d)],{'defaultValues':_0x1de38c[_0x2fb9a5(0x315)][_0x2fb9a5(0x50d)],'gapControl':_0x2fb9a5(0x5bd)})}),_0x2b749e&&(0x0,_0x422fa2[_0x2fb9a5(0x438)])(_0x2ebe68,{'id':_0x2132f2[_0x2fb9a5(0x30a)]['Heatmap'],'label':_0x81c4c9['t'](_0x2fb9a5(0x4a0)),'children':(0x0,_0x422fa2['jsx'])(_0x2132f2[_0x2fb9a5(0x6ca)],{'defaultValues':_0x1de38c[_0x2fb9a5(0x315)][_0x2fb9a5(0x3ba)]})}),_0x5026d1&&(0x0,_0x422fa2[_0x2fb9a5(0x438)])(_0x2ebe68,{'id':_0x2132f2[_0x2fb9a5(0x30a)]['Relation'],'label':_0x81c4c9['t'](_0x2fb9a5(0x3f0)),'children':(0x0,_0x422fa2[_0x2fb9a5(0x438)])(_0x2132f2['ChartRelationStyleSection'],{'defaultValues':_0x1de38c[_0x2fb9a5(0x315)][_0x2fb9a5(0x426)]})}),(0x0,_0x2132f2[_0x2fb9a5(0x5a2)])(_0x5429b7)&&(0x0,_0x422fa2['jsx'])(_0x2ebe68,{'id':_0x2132f2[_0x2fb9a5(0x30a)][_0x2fb9a5(0x569)],'label':_0x81c4c9['t'](_0x199e4a[_0x2fb9a5(0x5e2)][_0x2fb9a5(0x215)](_0x5429b7,_0x199e4a[_0x2fb9a5(0x6b8)][_0x2fb9a5(0x535)])?_0x2fb9a5(0x669):_0x2fb9a5(0x5c6)),'children':(0x0,_0x422fa2[_0x2fb9a5(0x438)])(_0x2132f2[_0x2fb9a5(0x367)],{'defaultValues':_0x1de38c['defaultValues'][_0x2fb9a5(0x452)],'lineStyleControl':_0x2fb9a5(0x557)})}),(0x0,_0x2132f2[_0x2fb9a5(0x67f)])(_0x5429b7,_0x2132f2['ChartEditorCapability']['Legend'])&&(0x0,_0x422fa2[_0x2fb9a5(0x438)])(_0x2ebe68,{'id':_0x2132f2[_0x2fb9a5(0x30a)]['Legend'],'label':_0x81c4c9['t']('sheets-chart-ui.common.legend'),'children':(0x0,_0x422fa2[_0x2fb9a5(0x438)])(_0x2132f2['ChartLegendSection'],{'defaultValues':_0x1de38c[_0x2fb9a5(0x315)][_0x2fb9a5(0x4bc)]})}),(0x0,_0x2132f2[_0x2fb9a5(0x67f)])(_0x5429b7,_0x2132f2['ChartEditorCapability'][_0x2fb9a5(0x3b9)])&&(0x0,_0x422fa2[_0x2fb9a5(0x36d)])(_0x422fa2[_0x2fb9a5(0x525)],{'children':[(0x0,_0x422fa2[_0x2fb9a5(0x438)])(_0x2ebe68,{'id':_0x2132f2[_0x2fb9a5(0x30a)]['HorizontalAxis'],'label':_0x81c4c9['t'](_0x2fb9a5(0x6b2)),'children':(0x0,_0x422fa2['jsx'])(_0x2132f2['ChartAxisSection'],{'axis':'x','defaultValues':_0x1de38c['defaultValues'][_0x2fb9a5(0x6a2)],'NumberFormatField':_0x2132f2[_0x2fb9a5(0x53e)]})}),(0x0,_0x422fa2[_0x2fb9a5(0x438)])(_0x2ebe68,{'id':_0x2132f2['ChartEditPanelSection']['VerticalAxis'],'label':_0x81c4c9['t']('sheets-chart-ui.common.verticalAxis'),'children':(0x0,_0x422fa2[_0x2fb9a5(0x438)])(_0x2132f2[_0x2fb9a5(0x1dc)],{'axis':'y','defaultValues':_0x1de38c[_0x2fb9a5(0x315)]['axis'],'NumberFormatField':_0x2132f2[_0x2fb9a5(0x53e)]})}),(0x0,_0x422fa2[_0x2fb9a5(0x438)])(_0x2132f2[_0x2fb9a5(0x284)],{'section':_0x2fb9a5(0x622)}),_0x2bd6f7&&(0x0,_0x422fa2['jsx'])(_0x2ebe68,{'id':_0x2132f2[_0x2fb9a5(0x30a)]['RightVerticalAxis'],'label':_0x81c4c9['t'](_0x2fb9a5(0x4d0)),'children':(0x0,_0x422fa2['jsx'])(_0x2132f2['ChartAxisSection'],{'axis':_0x2fb9a5(0x2ea),'defaultValues':_0x1de38c['defaultValues']['axis'],'NumberFormatField':_0x2132f2[_0x2fb9a5(0x53e)]})}),(0x0,_0x422fa2[_0x2fb9a5(0x438)])(_0x2ebe68,{'id':_0x2132f2[_0x2fb9a5(0x30a)]['GridlinesAndTicks'],'label':_0x81c4c9['t'](_0x2fb9a5(0x31b)),'children':(0x0,_0x422fa2[_0x2fb9a5(0x438)])(_0x2132f2[_0x2fb9a5(0x394)],{'defaultValues':_0x1de38c[_0x2fb9a5(0x315)][_0x2fb9a5(0x6a2)]})})]}),(0x0,_0x2132f2['chartTypeSupportsCapability'])(_0x5429b7,_0x2132f2['ChartEditorCapability'][_0x2fb9a5(0x30b)])&&(0x0,_0x422fa2[_0x2fb9a5(0x438)])(_0x2ebe68,{'id':_0x2132f2['ChartEditPanelSection'][_0x2fb9a5(0x30b)],'label':_0x81c4c9['t'](_0x2fb9a5(0x41c)),'children':(0x0,_0x422fa2[_0x2fb9a5(0x438)])(_0x2132f2[_0x2fb9a5(0x6c6)],{'defaultValues':_0x1de38c[_0x2fb9a5(0x315)][_0x2fb9a5(0x604)]})}),(0x0,_0x199e4a[_0x2fb9a5(0x303)])(_0x5429b7)&&(0x0,_0x422fa2[_0x2fb9a5(0x438)])(_0x2ebe68,{'id':_0x2132f2[_0x2fb9a5(0x30a)][_0x2fb9a5(0x651)],'label':_0x81c4c9['t']('sheets-chart-ui.common.trendline'),'children':(0x0,_0x422fa2[_0x2fb9a5(0x438)])(_0x2132f2[_0x2fb9a5(0x32a)],{'defaultValues':_0x1de38c[_0x2fb9a5(0x315)][_0x2fb9a5(0x36e)]})}),(0x0,_0x422fa2[_0x2fb9a5(0x438)])(_0x2132f2[_0x2fb9a5(0x49c)],{}),_0x39e5a8&&_0x447954&&(0x0,_0x422fa2[_0x2fb9a5(0x438)])(_0x2ebe68,{'id':_0x39e5a8,'label':_0x447954,'children':(0x0,_0x422fa2[_0x2fb9a5(0x438)])(_0x2132f2[_0x2fb9a5(0x524)],{})})]});};function _0x408c1f(_0xcbcd2e){const _0x30785d=_0x53d83c;let {className:_0x5d2334}=_0xcbcd2e,[_0x3d4168,_0x126b53]=(0x0,_0x57ab3a[_0x30785d(0x6ad)])(_0x2132f2[_0x30785d(0x316)][_0x30785d(0x6c5)]),_0x3dfdb5=(0x0,_0x3862b0[_0x30785d(0x421)])(_0x29b193[_0x30785d(0x4ef)]),_0x568de8=(0x0,_0x3862b0[_0x30785d(0x421)])(_0x29b193[_0x30785d(0x3e6)]),_0x159445=(0x0,_0x3862b0[_0x30785d(0x421)])(_0x316a04),_0x3a12c1=(0x0,_0x3862b0[_0x30785d(0x421)])(_0x1593c9['ChartModelService']),_0x31a5fd=(0x0,_0x3862b0[_0x30785d(0x2c0)])(_0x3a12c1[_0x30785d(0x40d)],_0x3a12c1['activeChartModel']),_0x12dadd=(0x0,_0x3862b0['useObservable'])(_0x159445[_0x30785d(0x289)],null),_0x3fb0a1=(0x0,_0x57ab3a[_0x30785d(0x4cd)])(()=>{const _0x100877=_0x30785d;if(!_0x31a5fd)return null;let _0x5a2ed6=_0x159445[_0x100877(0x5bf)](_0x31a5fd['id']);return _0x5a2ed6?new _0x2132f2[(_0x100877(0x685))](_0x31a5fd,new _0x1593c9['SheetChartConfigAdapter']({'unitId':_0x5a2ed6['unitId'],'subUnitId':_0x5a2ed6[_0x100877(0x2fb)],'chartId':_0x31a5fd['id'],'injector':_0x3dfdb5})):null;},[_0x31a5fd,_0x3dfdb5,_0x159445]);if((0x0,_0x57ab3a[_0x30785d(0x62f)])(()=>{const _0x8dcb33=_0x30785d;var _0x1d3d4e,_0x35af4c;_0x31a5fd&&(_0x12dadd==null?void 0x0:_0x12dadd[_0x8dcb33(0x6d8)])===_0x31a5fd['id']&&(((_0x1d3d4e=_0x12dadd[_0x8dcb33(0x21e)])==null?void 0x0:_0x1d3d4e[_0x8dcb33(0x6dc)])===_0x2132f2[_0x8dcb33(0x316)]['Style']&&_0x126b53(_0x2132f2[_0x8dcb33(0x316)]['Style']),((_0x35af4c=_0x12dadd[_0x8dcb33(0x21e)])==null?void 0x0:_0x35af4c[_0x8dcb33(0x6dc)])===_0x2132f2[_0x8dcb33(0x316)][_0x8dcb33(0x6c5)]&&_0x126b53(_0x2132f2[_0x8dcb33(0x316)][_0x8dcb33(0x6c5)]));},[_0x31a5fd,_0x12dadd]),!_0x3fb0a1)return null;let _0x3a28bd=(0x0,_0x422fa2[_0x30785d(0x438)])(_0x30785d(0x4fe),{'className':_0x30785d(0x311)+(_0x3d4168===_0x2132f2[_0x30785d(0x316)]['Style']?'univer-overflow-visible':_0x30785d(0x6b3))+'\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x5d2334??'')+_0x30785d(0x538),'children':(0x0,_0x422fa2['jsx'])(_0x2132f2[_0x30785d(0x2a7)],{'ariaLabel':_0x568de8['t'](_0x30785d(0x493)),'activeTab':_0x3d4168,'onTabChange':_0x126b53,'tabListClassName':_0x30785d(0x1f0),'panelClassName':_0x3d4168===_0x2132f2['ChartEditPanelTab'][_0x30785d(0x3a5)]?_0x30785d(0x543):void 0x0,'tabs':[{'id':_0x2132f2[_0x30785d(0x316)]['Data'],'panelId':_0x4a0c8f,'title':_0x568de8['t']('sheets-chart-ui.common.setup'),'content':(0x0,_0x422fa2[_0x30785d(0x438)])(_0x20433b,{})},{'id':_0x2132f2[_0x30785d(0x316)][_0x30785d(0x3a5)],'panelId':_0x3d01e2,'title':_0x568de8['t'](_0x30785d(0x54b)),'content':(0x0,_0x422fa2[_0x30785d(0x438)])(_0x183cad,{'defaultValues':_0x57f0d0})}]})});return(0x0,_0x422fa2['jsx'])(_0x2132f2[_0x30785d(0x682)],{'chartUIService':_0x159445,'hostAdapter':_0x3fb0a1,'children':_0x3a28bd});}let _0x432744='sheet.chart.edit.panel',_0x4a0c8f=_0x53d83c(0x554),_0x3d01e2=_0x53d83c(0x4fa);function _0x5530bf(_0x28dd95){const _0x18bf49=_0x53d83c;let _0x88aa0f=_0x28dd95[_0x18bf49(0x519)](_0x303a0f['ISheetDrawingService']);return _0x88aa0f[_0x18bf49(0x5e9)][_0x18bf49(0x28c)]((0x0,_0x482a91['startWith'])(_0x88aa0f[_0x18bf49(0x360)]()),(0x0,_0x482a91[_0x18bf49(0x435)])(()=>_0xd3cd96(_0x28dd95)==null));}function _0x1df868(_0x5b302b){const _0x319e30=_0x53d83c;let _0x143cec=_0x5b302b[_0x319e30(0x519)](_0x3862b0['ISidebarService']);return{'activated$':(0x0,_0x482a91['defer'])(()=>_0x143cec['sidebarOptions$']['pipe']((0x0,_0x482a91[_0x319e30(0x572)])(_0x143cec[_0x319e30(0x328)]),(0x0,_0x482a91[_0x319e30(0x435)])(_0x52c56a=>_0x52c56a[_0x319e30(0x444)]===!0x0&&_0x52c56a['id']===_0x319e30(0x68a)),(0x0,_0x482a91[_0x319e30(0x413)])())),'id':_0x52d5c9['id'],'commandId':_0x52d5c9['id'],'type':_0x3862b0['MenuItemType'][_0x319e30(0x3a7)],'title':_0x5b302b[_0x319e30(0x519)](_0x29b193[_0x319e30(0x3e6)])['t'](_0x319e30(0x68f)),'icon':'PenIcon','hidden$':_0x5530bf(_0x5b302b)};}function _0x153868(_0x698ebc){const _0x41b8f2=_0x53d83c;return{'id':_0x3f9fc3['id'],'commandId':_0x3f9fc3['id'],'type':_0x3862b0['MenuItemType'][_0x41b8f2(0x3a7)],'title':_0x698ebc[_0x41b8f2(0x519)](_0x29b193[_0x41b8f2(0x3e6)])['t'](_0x41b8f2(0x5f6)),'icon':_0x41b8f2(0x23f),'hidden$':_0x5530bf(_0x698ebc)};}function _0x2e3303(_0x3bbcb8){const _0x21fd9d=_0x53d83c;return{'id':_0xbf5f42['id'],'commandId':_0xbf5f42['id'],'type':_0x3862b0[_0x21fd9d(0x5cc)]['BUTTON'],'title':_0x3bbcb8[_0x21fd9d(0x519)](_0x29b193['LocaleService'])['t'](_0x21fd9d(0x5d6)),'icon':'DownloadImageIcon','hidden$':_0x5530bf(_0x3bbcb8)};}function _0x13212b(_0x1967b2){const _0x162690=_0x53d83c;return{'id':_0x4dca24['id'],'commandId':_0x4dca24['id'],'type':_0x3862b0[_0x162690(0x5cc)][_0x162690(0x3a7)],'title':_0x1967b2[_0x162690(0x519)](_0x29b193[_0x162690(0x3e6)])['t'](_0x162690(0x64f)),'icon':_0x162690(0x607),'hidden$':_0x5530bf(_0x1967b2)};}let _0x30c6a6={[_0x3862b0[_0x53d83c(0x40c)][_0x53d83c(0x34d)]]:{[_0x2553ca['id']]:{'order':0x4,'menuItemFactory':_0x11e1da}},[_0x3862b0[_0x53d83c(0x3c1)][_0x53d83c(0x5a0)]]:{[_0x3862b0['ContextMenuGroup'][_0x53d83c(0x6c3)]]:{[_0x52d5c9['id']]:{'order':0x0,'menuItemFactory':_0x1df868},[_0x3f9fc3['id']]:{'order':0x1,'menuItemFactory':_0x153868},[_0xbf5f42['id']]:{'order':0x3,'menuItemFactory':_0x2e3303},[_0x4dca24['id']]:{'order':0x4,'menuItemFactory':_0x13212b}}}};function _0x2f3988(_0x3d070e){const _0x52be84=_0x53d83c;return _0x3d070e===_0x199e4a[_0x52be84(0x6b8)]['Combination']||_0x3d070e===_0x199e4a[_0x52be84(0x6b8)][_0x52be84(0x3de)]||_0x3d070e===_0x199e4a['ChartTypeBits'][_0x52be84(0x481)]||_0x199e4a[_0x52be84(0x5e2)][_0x52be84(0x215)](_0x3d070e,_0x199e4a[_0x52be84(0x6b8)]['Line'])||_0x199e4a[_0x52be84(0x5e2)][_0x52be84(0x215)](_0x3d070e,_0x199e4a['ChartTypeBits']['Column'])||_0x199e4a['chartBitsUtils'][_0x52be84(0x215)](_0x3d070e,_0x199e4a[_0x52be84(0x6b8)][_0x52be84(0x535)])||_0x199e4a['chartBitsUtils']['baseOn'](_0x3d070e,_0x199e4a[_0x52be84(0x6b8)][_0x52be84(0x687)]);}function _0x21b5ea(_0x43f03f){const _0x54dbc4=_0x53d83c;return _0x2f3988(_0x43f03f)||_0x199e4a[_0x54dbc4(0x5e2)]['baseOn'](_0x43f03f,_0x199e4a[_0x54dbc4(0x6b8)][_0x54dbc4(0x3b0)])||_0x199e4a[_0x54dbc4(0x5e2)]['baseOn'](_0x43f03f,_0x199e4a[_0x54dbc4(0x6b8)][_0x54dbc4(0x1f4)])||_0x199e4a['chartBitsUtils'][_0x54dbc4(0x215)](_0x43f03f,_0x199e4a[_0x54dbc4(0x6b8)][_0x54dbc4(0x684)]);}function _0x18704a(_0x5c9ad0,_0x41361d){const _0x35a041=_0x53d83c;let _0x3c1acb=(0x0,_0x2132f2[_0x35a041(0x43e)])(_0x5c9ad0,_0x41361d),_0x1a0316=_0x3c1acb?(0x0,_0x2132f2[_0x35a041(0x5d7)])(_0x3c1acb[_0x35a041(0x6d3)]):void 0x0;if(_0x3c1acb&&_0x1a0316)return{..._0x3c1acb,'route':_0x1a0316,'showFloatMenu':_0x21b5ea(_0x5c9ad0[_0x35a041(0x466)])&&_0x3c1acb[_0x35a041(0x3bf)]};}function _0x3690bb(_0x2ed7b9){return _0x2ed7b9['length']===0x1&&_0x2831aa(_0x2ed7b9[0x0]);}function _0x2831aa(_0x3dd940){const _0x5450a1=_0x53d83c;return(_0x3dd940==null?void 0x0:_0x3dd940[_0x5450a1(0x566)])===_0x29b193['DrawingTypeEnum']['DRAWING_CHART']&&!_0x3dd940[_0x5450a1(0x3ca)];}let _0x5d386e=class extends _0x29b193[_0x53d83c(0x4a6)]{constructor(_0x1813f7,_0x4f1da1,_0x62ef1f,_0x1e817c,_0x34df38,_0xfafec5,_0x53094d,_0x9b3c8f,_0x5f0fa7,_0x28253f,_0x3a619b,_0x23c2df,_0xf3342d,_0x3893e4,_0x12b4d8){const _0x25e3e1=_0x53d83c;var _0x533820;super(),this['_drawingManagerService']=_0x1813f7,this[_0x25e3e1(0x60e)]=_0x4f1da1,this['_chartModelService']=_0x62ef1f,this[_0x25e3e1(0x5ca)]=_0x1e817c,this['_chartRenderService']=_0x34df38,this[_0x25e3e1(0x33c)]=_0xfafec5,this[_0x25e3e1(0x662)]=_0x53094d,this[_0x25e3e1(0x6b5)]=_0x9b3c8f,this[_0x25e3e1(0x3c9)]=_0x5f0fa7,this['_sheetCanvasPopManagerService']=_0x28253f,this[_0x25e3e1(0x228)]=_0x3a619b,this[_0x25e3e1(0x637)]=_0x23c2df,this[_0x25e3e1(0x4cf)]=_0xf3342d,this[_0x25e3e1(0x1f7)]=_0x3893e4,_0x3e8fbf(this,_0x25e3e1(0x249),null),_0x3e8fbf(this,'_isChartElementEditEnabled',void 0x0),this[_0x25e3e1(0x510)]=((_0x533820=_0x12b4d8['getConfig'](_0x25e3e1(0x2ab)))==null?void 0x0:_0x533820['enableChartElementFloatMenu'])===!0x0,this[_0x25e3e1(0x439)](),this[_0x25e3e1(0x661)](this[_0x25e3e1(0x60e)][_0x25e3e1(0x6de)](_0x29b193[_0x25e3e1(0x216)][_0x25e3e1(0x222)])[_0x25e3e1(0x3ee)](_0x50ba28=>{const _0x5481a9=_0x25e3e1;if(!_0x50ba28){var _0x47326a;(_0x47326a=this['_sidebarDisposable'])==null||_0x47326a[_0x5481a9(0x3cb)]();}})),this[_0x25e3e1(0x661)]((0x0,_0x29b193[_0x25e3e1(0x4e4)])(this['_sheetDrawingHitTestService']['onDoubleClick$'][_0x25e3e1(0x3ee)](async({drawing:_0x5e6d30})=>{const _0x16d214=_0x25e3e1;await this[_0x16d214(0x6c7)](_0x5e6d30);})));}[_0x53d83c(0x3cb)](){const _0x44e590=_0x53d83c;this['hidePanel'](),super[_0x44e590(0x3cb)]();}[_0x53d83c(0x2a4)](){const _0x2fd1f4=_0x53d83c;this[_0x2fd1f4(0x249)]=this['_sidebarService']['open']({'id':_0x432744,'header':{'title':this[_0x2fd1f4(0x1f7)]['t'](_0x2fd1f4(0x493))},'width':0x154,'children':{'label':_0x432744},'onClose':()=>{const _0x29c88c=_0x2fd1f4;this['_sidebarDisposable']=null,this[_0x29c88c(0x407)](),this[_0x29c88c(0x317)][_0x29c88c(0x25c)]&&this[_0x29c88c(0x317)][_0x29c88c(0x2a8)](null),this['_drawingManagerService'][_0x29c88c(0x6a8)](null),this[_0x29c88c(0x4cf)][_0x29c88c(0x660)](_0x29b193['FOCUSING_COMMON_DRAWINGS'],!0x1);}});}['hidePanel'](){const _0xba31e7=_0x53d83c;let _0x14b53f=this[_0xba31e7(0x249)];this[_0xba31e7(0x249)]=null,this[_0xba31e7(0x407)](),this[_0xba31e7(0x317)][_0xba31e7(0x25c)]&&this[_0xba31e7(0x317)][_0xba31e7(0x2a8)](null),_0x14b53f==null||_0x14b53f[_0xba31e7(0x3cb)]();}[_0x53d83c(0x49d)](){const _0x40905b=_0x53d83c;let _0x35d68c=this['_univerInstanceService'][_0x40905b(0x391)](_0x29b193[_0x40905b(0x216)][_0x40905b(0x222)]);this['disposeWithMe'](this[_0x40905b(0x662)]['sidebarOptions$'][_0x40905b(0x3ee)](_0xaa8f56=>{const _0x51e656=_0x40905b;_0xaa8f56['id']===_0x51e656(0x68a)&&(_0xaa8f56[_0x51e656(0x444)]||this[_0x51e656(0x662)]['sidebarOptions$'][_0x51e656(0x449)]({'visible':!0x1}));})),this[_0x40905b(0x661)]((0x0,_0x482a91[_0x40905b(0x3bc)])([this[_0x40905b(0x317)]['activeChartModel$'],this[_0x40905b(0x637)][_0x40905b(0x2b1)]])[_0x40905b(0x28c)]((0x0,_0x482a91[_0x40905b(0x435)])(([_0x190469,_0x11c670])=>_0x11c670?(_0x190469==null?void 0x0:_0x190469['id'])??null:null),(0x0,_0x482a91[_0x40905b(0x413)])(),(0x0,_0x482a91[_0x40905b(0x572)])(null),(0x0,_0x482a91[_0x40905b(0x32f)])())[_0x40905b(0x3ee)](([_0xc11ca6,_0x3636d6])=>{const _0x4af6c6=_0x40905b;this[_0x4af6c6(0x260)](_0xc11ca6,_0x3636d6);})),this[_0x40905b(0x661)](this[_0x40905b(0x317)][_0x40905b(0x40d)][_0x40905b(0x3ee)](_0x5ac492=>{const _0x5aadcb=_0x40905b;!_0x5ac492&&this[_0x5aadcb(0x249)]&&this[_0x5aadcb(0x6cf)]();})),this['disposeWithMe'](this[_0x40905b(0x228)][_0x40905b(0x677)](_0x25ec76=>{const _0x1e9a2b=_0x40905b;if(_0x25ec76['id']===_0x5f10b8['id']){let _0x4ed006=_0x25ec76[_0x1e9a2b(0x2d9)];if(!_0x2831aa(this[_0x1e9a2b(0x402)][_0x1e9a2b(0x381)]({'unitId':_0x4ed006['unitId'],'subUnitId':_0x4ed006[_0x1e9a2b(0x2fb)],'drawingId':_0x4ed006[_0x1e9a2b(0x503)]})))return;this[_0x1e9a2b(0x5f5)](_0x4ed006[_0x1e9a2b(0x503)],_0x4ed006[_0x1e9a2b(0x21e)]);}if(_0x25ec76['id']===_0x2c7ff5['id']&&this[_0x1e9a2b(0x6cf)](),_0x25ec76['id']===_0x1593c9[_0x1e9a2b(0x3b8)]['id']){var _0xd1a71e;_0x25ec76['params'][_0x1e9a2b(0x6d8)]===((_0xd1a71e=this[_0x1e9a2b(0x317)]['activeChartModel'])==null?void 0x0:_0xd1a71e['id'])&&this[_0x1e9a2b(0x6cf)](),this[_0x1e9a2b(0x4cf)][_0x1e9a2b(0x38f)](_0x29b193[_0x1e9a2b(0x419)])&&(this[_0x1e9a2b(0x4cf)]['setContextValue'](_0x29b193['FOCUSING_COMMON_DRAWINGS'],!0x1),this[_0x1e9a2b(0x402)][_0x1e9a2b(0x6a8)](null));}})),this[_0x40905b(0x661)](this['_sheetCanvasFloatDomManagerService'][_0x40905b(0x50b)][_0x40905b(0x3ee)](({id:_0x4d6e1c})=>{const _0x4b876a=_0x40905b;this[_0x4b876a(0x637)][_0x4b876a(0x253)](_0x4d6e1c)&&this[_0x4b876a(0x6cf)]();})),this[_0x40905b(0x661)](this[_0x40905b(0x3c9)][_0x40905b(0x3cf)]['subscribe'](({id:_0x221921})=>{const _0x4e0f39=_0x40905b;this[_0x4e0f39(0x637)][_0x4e0f39(0x253)](_0x221921)&&(this[_0x4e0f39(0x637)][_0x4e0f39(0x45a)](),this[_0x4e0f39(0x691)][_0x4e0f39(0x52e)](_0x221921,!0x1),this[_0x4e0f39(0x6a0)](_0x221921)&&this['_chartRenderService'][_0x4e0f39(0x52e)](_0x221921,!0x0));})),this[_0x40905b(0x661)](this[_0x40905b(0x402)][_0x40905b(0x5e9)][_0x40905b(0x3ee)](_0x1eb781=>{const _0xf1f367=_0x40905b;let _0x29af51=_0x1eb781[0x0];if(!this[_0xf1f367(0x637)][_0xf1f367(0x31c)]){if(_0x3690bb(_0x1eb781)){var _0x33913c;let _0x5dbc41=this[_0xf1f367(0x317)][_0xf1f367(0x209)](_0x29af51['drawingId']);_0x5dbc41&&this['_isOwnedChart'](_0x5dbc41['id'])&&((_0x33913c=this[_0xf1f367(0x317)][_0xf1f367(0x25c)])==null?void 0x0:_0x33913c['id'])!==_0x5dbc41['id']&&this[_0xf1f367(0x317)][_0xf1f367(0x2a8)](_0x5dbc41);}else this['_chartModelService']['activeChartModel']&&this[_0xf1f367(0x317)][_0xf1f367(0x2a8)](null),!_0x29af51&&!this[_0xf1f367(0x637)][_0xf1f367(0x31c)]&&this[_0xf1f367(0x6cf)]();}})),_0x35d68c&&(this['disposeWithMe'](_0x35d68c[_0x40905b(0x227)][_0x40905b(0x3ee)](()=>{this['hidePanel']();})),this[_0x40905b(0x661)](_0x35d68c[_0x40905b(0x329)][_0x40905b(0x3ee)](()=>{const _0x394b29=_0x40905b;this[_0x394b29(0x6cf)]();})));}async[_0x53d83c(0x6c7)](_0x4c8788){const _0x37ed81=_0x53d83c;this[_0x37ed81(0x637)][_0x37ed81(0x51d)]||_0x2831aa(_0x4c8788)&&this['_isOwnedChart'](_0x4c8788[_0x37ed81(0x503)])&&await this['_openEditPanelByDoubleClick'](_0x4c8788[_0x37ed81(0x501)],_0x4c8788['subUnitId'],_0x4c8788[_0x37ed81(0x503)]);}async['_openEditPanelByDoubleClick'](_0x5eddec,_0x5e1438,_0x5f3b8d){const _0x2e0122=_0x53d83c;this[_0x2e0122(0x317)][_0x2e0122(0x209)](_0x5f3b8d)&&this['_isOwnedChart'](_0x5f3b8d)&&await this[_0x2e0122(0x228)][_0x2e0122(0x610)](_0x5f10b8['id'],{'unitId':_0x5eddec,'subUnitId':_0x5e1438,'drawingId':_0x5f3b8d});}[_0x53d83c(0x5f5)](_0x56105f,_0x971773){const _0x34577c=_0x53d83c;let _0xabebd6=this[_0x34577c(0x317)]['getChartModel'](_0x56105f);_0xabebd6&&this[_0x34577c(0x1fc)](_0x56105f)&&(this['_chartModelService'][_0x34577c(0x2a8)](_0xabebd6),this[_0x34577c(0x2a4)](),this[_0x34577c(0x29d)](_0x56105f,_0x971773??null));}[_0x53d83c(0x29d)](_0x5b71fa,_0x142c1e){const _0x542ccf=_0x53d83c;this[_0x542ccf(0x637)][_0x542ccf(0x44f)](!0x0),this['_sheetsChartUIService'][_0x542ccf(0x4c1)](_0x5b71fa,_0x142c1e);}[_0x53d83c(0x407)](){const _0x384e37=_0x53d83c;this[_0x384e37(0x637)][_0x384e37(0x44f)](!0x1);}[_0x53d83c(0x260)](_0x5df568,_0x1d0696){const _0x4c4e1c=_0x53d83c;_0x5df568!==_0x1d0696&&(_0x5df568&&this[_0x4c4e1c(0x691)]['setElementEditMode'](_0x5df568,!0x1),this[_0x4c4e1c(0x637)][_0x4c4e1c(0x45a)](),_0x1d0696&&(this[_0x4c4e1c(0x637)]['setPanelRoute'](_0x1d0696,null),this[_0x4c4e1c(0x691)][_0x4c4e1c(0x52e)](_0x1d0696,this[_0x4c4e1c(0x6a0)](_0x1d0696))));}[_0x53d83c(0x439)](){const _0x5173aa=_0x53d83c;this[_0x5173aa(0x6b5)][_0x5173aa(0x243)](_0x30c6a6),this[_0x5173aa(0x3a9)]['registerFeatureMenu'](_0x29b193['DrawingTypeEnum']['DRAWING_CHART'],this[_0x5173aa(0x552)][_0x5173aa(0x3d1)](this),void 0x0,_0x5173aa(0x323));}[_0x53d83c(0x6a0)](_0x2eb1be){const _0x40f844=_0x53d83c;let _0x4daa57=this[_0x40f844(0x317)][_0x40f844(0x209)](_0x2eb1be);return!this['_isChartElementEditEnabled']||!_0x4daa57||!this[_0x40f844(0x1fc)](_0x2eb1be)?!0x1:_0x21b5ea(_0x4daa57['chartType']);}[_0x53d83c(0x552)](_0x292e36,_0xadd869,_0xe82f7b,_0x56b228){const _0x1ba491=_0x53d83c;if(!this['_chartModelService'][_0x1ba491(0x209)](_0xe82f7b))return[];let _0x9c78d2=[{'label':this[_0x1ba491(0x1f7)]['t'](_0x1ba491(0x68f)),'icon':_0x1ba491(0x2eb),'index':0x0,'commandId':_0x5f10b8['id'],'commandParams':{'unitId':_0x292e36,'subUnitId':_0xadd869,'drawingId':_0xe82f7b},'disable':_0x56b228!==_0x29b193['DrawingTypeEnum'][_0x1ba491(0x469)]}];return this[_0x1ba491(0x1fc)](_0xe82f7b)?[..._0x9c78d2,{'label':this[_0x1ba491(0x1f7)]['t'](_0x1ba491(0x64f)),'icon':_0x1ba491(0x607),'index':0x1,'commandId':_0x303a0f[_0x1ba491(0x587)]['id'],'commandParams':{'unitId':_0x292e36,'drawings':[{'unitId':_0x292e36,'subUnitId':_0xadd869,'drawingId':_0xe82f7b,'drawingType':_0x56b228}]},'disable':!0x1},{'label':this[_0x1ba491(0x1f7)]['t'](_0x1ba491(0x4b8)),'icon':_0x1ba491(0x47b),'index':0x2,'commandId':_0x2c7ff5['id'],'commandParams':{'unitId':_0x292e36,'subUnitId':_0xadd869,'drawingId':_0xe82f7b},'disable':!0x1}]:_0x9c78d2;}[_0x53d83c(0x1fc)](_0x119cfa){const _0x33661f=_0x53d83c;return this[_0x33661f(0x5ca)][_0x33661f(0x2e1)](_0x119cfa)!==void 0x0;}};_0x5d386e=_0x2db00d([_0x24d873(0x0,_0x4b86b8[_0x53d83c(0x53c)]),_0x24d873(0x1,_0x29b193[_0x53d83c(0x233)]),_0x24d873(0x2,(0x0,_0x29b193[_0x53d83c(0x6d2)])(_0x1593c9['ChartModelService'])),_0x24d873(0x3,(0x0,_0x29b193['Inject'])(_0x1593c9['SheetsChartService'])),_0x24d873(0x4,(0x0,_0x29b193[_0x53d83c(0x6d2)])(_0x3064f4)),_0x24d873(0x5,(0x0,_0x29b193['Inject'])(_0x379e87[_0x53d83c(0x3c3)])),_0x24d873(0x6,(0x0,_0x29b193[_0x53d83c(0x6d2)])(_0x3862b0[_0x53d83c(0x3ea)])),_0x24d873(0x7,_0x3862b0[_0x53d83c(0x680)]),_0x24d873(0x8,(0x0,_0x29b193[_0x53d83c(0x6d2)])(_0x379e87['SheetCanvasFloatDomManagerService'])),_0x24d873(0x9,(0x0,_0x29b193[_0x53d83c(0x6d2)])(_0x2d4cf1[_0x53d83c(0x463)])),_0x24d873(0xa,_0x29b193[_0x53d83c(0x456)]),_0x24d873(0xb,_0x316a04),_0x24d873(0xc,_0x29b193['IContextService']),_0x24d873(0xd,(0x0,_0x29b193['Inject'])(_0x29b193['LocaleService'])),_0x24d873(0xe,_0x29b193[_0x53d83c(0x341)])],_0x5d386e);var _0xb3ca54=_0x53d83c(0x275),_0xdca65='1.5.1';let _0x843ef2=class extends _0x29b193[_0x53d83c(0x4a6)]{constructor(_0x281e26,_0x5afb1d){const _0x561816=_0x53d83c;super(),this[_0x561816(0x272)]=_0x281e26,this['_chartModelService']=_0x5afb1d,this['_init']();}[_0x53d83c(0x48d)](){const _0x177860=_0x53d83c;this[_0x177860(0x661)](this[_0x177860(0x272)][_0x177860(0x48b)][_0x177860(0x3ee)](_0x1536d7=>{const _0x19c137=_0x177860;this[_0x19c137(0x317)][_0x19c137(0x666)](_0x1536d7);}));}};_0x843ef2=_0x2db00d([_0x24d873(0x0,_0x1bd436),_0x24d873(0x1,(0x0,_0x29b193[_0x53d83c(0x6d2)])(_0x1593c9['ChartModelService']))],_0x843ef2);let _0x6b0216=class extends _0x29b193[_0x53d83c(0x4a6)]{constructor(_0x42d0fa,_0x3da4d2,_0x2f2205,_0x4485e1,_0x5c9262,_0x48078f){const _0x5adedb=_0x53d83c;super(),this['_chartModelService']=_0x42d0fa,this[_0x5adedb(0x691)]=_0x3da4d2,this[_0x5adedb(0x1f7)]=_0x2f2205,this[_0x5adedb(0x324)]=_0x4485e1,this['_commandService']=_0x5c9262,this['_sheetPrintInterceptorService']=_0x48078f,_0x3e8fbf(this,_0x5adedb(0x3ed),new Map()),_0x3e8fbf(this,_0x5adedb(0x46e),new Set()),_0x3e8fbf(this,_0x5adedb(0x276),new Set()),this[_0x5adedb(0x48d)](),this[_0x5adedb(0x1fb)](),this[_0x5adedb(0x2f6)]();}[_0x53d83c(0x2f6)](){const _0x548a53=_0x53d83c;this[_0x548a53(0x661)](this[_0x548a53(0x203)][_0x548a53(0x20c)][_0x548a53(0x2dd)](this[_0x548a53(0x203)][_0x548a53(0x20c)][_0x548a53(0x326)]()[_0x548a53(0x494)],{'handler':(_0x4fd1be,_0x2e5000,_0x5c7487)=>{const _0xfbf927=_0x548a53;let _0x58d966=this[_0xfbf927(0x691)][_0xfbf927(0x3fd)](_0x2e5000[_0xfbf927(0x501)],_0x2e5000[_0xfbf927(0x2fb)],_0x2e5000[_0xfbf927(0x2b3)]);return _0x2e5000['resourceCollector']['add'](_0x58d966),_0x5c7487(_0x4fd1be);}}));}[_0x53d83c(0x48d)](){this['disposeWithMe'](this['_chartModelService']['chartModelAdded$']['subscribe'](_0x5a654a=>{const _0x4f766c=_0x18ca;if(_0x5a654a){let _0x552afd=new _0x29b193[(_0x4f766c(0x36f))]();this['_chartModelDisposables'][_0x4f766c(0x238)](_0x5a654a,_0x552afd),_0x552afd[_0x4f766c(0x42b)](_0x5a654a[_0x4f766c(0x31a)][_0x4f766c(0x3ee)]({'complete':()=>this[_0x4f766c(0x27f)](_0x5a654a)})),_0x552afd[_0x4f766c(0x42b)](_0x5a654a['dataSource$'][_0x4f766c(0x28c)]((0x0,_0x482a91['switchMap'])(_0x2922f7=>_0x2922f7[_0x4f766c(0x2c6)][_0x4f766c(0x28c)]((0x0,_0x482a91[_0x4f766c(0x488)])(0x1))))[_0x4f766c(0x3ee)](()=>{this['_pendingDataUpdateChartModels']['add'](_0x5a654a);})),_0x552afd[_0x4f766c(0x42b)](_0x5a654a['config$'][_0x4f766c(0x28c)]((0x0,_0x482a91['combineLatestWith'])(_0x5a654a[_0x4f766c(0x2af)]),(0x0,_0x482a91[_0x4f766c(0x5da)])(this[_0x4f766c(0x1f7)]['direction$']),(0x0,_0x482a91['debounceTime'])(0x64))[_0x4f766c(0x3ee)](([[_0x1b3aa7,_0xf166e2],_0x285abb])=>{const _0x1c40c2=_0x4f766c;var _0x4c10fc;if(!_0x1b3aa7)return;(_0x4c10fc=_0x1b3aa7[_0x1c40c2(0x1f5)])==null||_0x4c10fc[_0x1c40c2(0x486)][_0x1c40c2(0x646)]((_0x352d8f,_0x1c57c1)=>{const _0x3221dd=_0x1c40c2;_0x352d8f[_0x3221dd(0x440)]||=this[_0x3221dd(0x1f7)]['t']('sheets-chart-ui.common.category')+'\x20'+(_0x1c57c1+0x1);}),_0x1b3aa7[_0x1c40c2(0x634)][_0x1c40c2(0x646)]((_0x180d70,_0x5b8907)=>{const _0x1c867d=_0x1c40c2;_0x180d70['name']||=this[_0x1c867d(0x1f7)]['t'](_0x1c867d(0x266))+'\x20'+(_0x5b8907+0x1);});let _0x4f1508=this[_0x1c40c2(0x691)][_0x1c40c2(0x361)](_0x5a654a,_0x285abb),_0x1637e8=this[_0x1c40c2(0x276)][_0x1c40c2(0x516)](_0x5a654a);this[_0x1c40c2(0x691)][_0x1c40c2(0x64a)](_0x5a654a['id'],_0x1b3aa7,_0x4f1508,{'animateDataUpdate':_0x1637e8});}));}}));}['_listenChartUpdateMutations'](){const _0x223f04=_0x53d83c;this['disposeWithMe'](this[_0x223f04(0x228)][_0x223f04(0x677)](_0x3af431=>{const _0x481277=_0x223f04;if(_0x3af431['id']!==_0x1593c9[_0x481277(0x254)]['id'])return;let _0xe42fa3=_0x3af431[_0x481277(0x2d9)];if(!(_0xe42fa3!=null&&_0xe42fa3[_0x481277(0x562)]))return;let _0x2aa2a8=this[_0x481277(0x317)][_0x481277(0x209)](_0xe42fa3[_0x481277(0x562)]);_0x2aa2a8&&Promise['resolve']()[_0x481277(0x33a)](()=>{const _0x2173c5=_0x481277;!this[_0x2173c5(0x427)]&&this[_0x2173c5(0x3ed)]['has'](_0x2aa2a8)&&this[_0x2173c5(0x317)][_0x2173c5(0x209)](_0x2aa2a8['id'])===_0x2aa2a8&&this[_0x2173c5(0x38b)](_0x2aa2a8);});}));}[_0x53d83c(0x38b)](_0x3dfba6){const _0x11239f=_0x53d83c;if(_0x3dfba6[_0x11239f(0x466)]!==_0x199e4a['ChartTypeBits']['WordCloud'])return;let _0x553e7d=_0x3dfba6[_0x11239f(0x231)];_0x553e7d?this[_0x11239f(0x422)](_0x3dfba6,_0x553e7d):this[_0x11239f(0x630)](_0x3dfba6);}[_0x53d83c(0x630)](_0x4355dc){const _0x4f6271=_0x53d83c;if(this[_0x4f6271(0x46e)][_0x4f6271(0x23b)](_0x4355dc))return;this[_0x4f6271(0x46e)]['add'](_0x4355dc);let _0x3f8561=_0x4355dc[_0x4f6271(0x31a)][_0x4f6271(0x28c)]((0x0,_0x482a91['filter'])(_0x43972b=>_0x43972b!=null),(0x0,_0x482a91[_0x4f6271(0x54c)])(0x1))[_0x4f6271(0x3ee)](_0x254919=>{const _0x4a456c=_0x4f6271;this[_0x4a456c(0x46e)][_0x4a456c(0x516)](_0x4355dc),this['_renderChartModel'](_0x4355dc,_0x254919);});this[_0x4f6271(0x3ed)][_0x4f6271(0x519)](_0x4355dc)[_0x4f6271(0x42b)](_0x3f8561);}['_disposeChartModel'](_0x565699){const _0x32b60c=_0x53d83c;let _0x2f7fa4=this['_chartModelDisposables'][_0x32b60c(0x519)](_0x565699);this[_0x32b60c(0x3ed)][_0x32b60c(0x516)](_0x565699),_0x2f7fa4==null||_0x2f7fa4[_0x32b60c(0x3cb)](),this[_0x32b60c(0x46e)][_0x32b60c(0x516)](_0x565699),this[_0x32b60c(0x276)]['delete'](_0x565699);}['dispose'](){const _0x478d08=_0x53d83c;super[_0x478d08(0x3cb)](),this[_0x478d08(0x3ed)][_0x478d08(0x646)]((_0x1c1cad,_0x1e9472)=>this[_0x478d08(0x27f)](_0x1e9472));}[_0x53d83c(0x422)](_0x215cef,_0x1b4990){const _0x31ee46=_0x53d83c;let _0x3178dd=this[_0x31ee46(0x691)][_0x31ee46(0x361)](_0x215cef,this[_0x31ee46(0x1f7)][_0x31ee46(0x473)]());this[_0x31ee46(0x691)][_0x31ee46(0x64a)](_0x215cef['id'],_0x1b4990,_0x3178dd);}};_0x6b0216=_0x2db00d([_0x24d873(0x0,(0x0,_0x29b193[_0x53d83c(0x6d2)])(_0x1593c9['ChartModelService'])),_0x24d873(0x1,(0x0,_0x29b193[_0x53d83c(0x6d2)])(_0x3064f4)),_0x24d873(0x2,(0x0,_0x29b193[_0x53d83c(0x6d2)])(_0x29b193[_0x53d83c(0x3e6)])),_0x24d873(0x3,_0x316a04),_0x24d873(0x4,_0x29b193['ICommandService']),_0x24d873(0x5,(0x0,_0x29b193[_0x53d83c(0x6d2)])(_0x2d4cf1[_0x53d83c(0x627)]))],_0x6b0216);let _0xa6a0d0=_0x15dd84=>_0x15dd84[_0x53d83c(0x391)](_0x29b193['UniverInstanceType'][_0x53d83c(0x222)])[_0x53d83c(0x384)](),_0x20a143=_0xa8a25e=>{const _0x4cf371=_0x53d83c;var _0x172813;return(_0x172813=_0xa8a25e['getCurrentUnitOfType'](_0x29b193[_0x4cf371(0x216)][_0x4cf371(0x222)])['getActiveSheet']())==null?void 0x0:_0x172813[_0x4cf371(0x48e)]();};function _0x31601b(){const _0x451dfc=_0x53d83c;var _0x82e8bc;let _0x4a48ae=(0x0,_0x3862b0['useDependency'])(_0x316a04),_0x2f6811=(0x0,_0x3862b0[_0x451dfc(0x421)])(_0x1593c9[_0x451dfc(0x636)]),_0x466763=(0x0,_0x3862b0[_0x451dfc(0x421)])(_0x1593c9['SheetsChartService']),_0x390800=(0x0,_0x3862b0['useDependency'])(_0x29b193[_0x451dfc(0x3e6)]),_0x5b6e85=(0x0,_0x3862b0[_0x451dfc(0x421)])(_0x29b193[_0x451dfc(0x4ef)]),_0x5a216f=(0x0,_0x1593c9[_0x451dfc(0x4d7)])(_0x5b6e85),_0x2c50b6=(0x0,_0x57ab3a[_0x451dfc(0x4cd)])(()=>{const _0x439c35=_0x451dfc;let _0x14f33e=_0x3bd200(_0xbeb940[_0x439c35(0x2e0)](),_0x5a216f);return(0x0,_0x2132f2[_0x439c35(0x5bb)])(_0x14f33e['map'](_0x2d03d6=>({'id':_0x2d03d6['id'],'label':_0x390800['t'](_0x439c35(0x686)+_0x2d03d6['labelId']),'pieSecondaryPlotType':_0x2d03d6[_0x439c35(0x4a7)],'value':_0x2d03d6[_0x439c35(0x5b6)]})));},[_0x5a216f,_0x390800]),_0x2230d1=(0x0,_0x3862b0[_0x451dfc(0x2c0)])(_0x2f6811[_0x451dfc(0x40d)],_0x2f6811[_0x451dfc(0x25c)]),_0xec9ff4=_0x2230d1?_0x466763[_0x451dfc(0x631)](_0x2230d1['id']):void 0x0,_0x148caf=(0x0,_0x3862b0[_0x451dfc(0x2c0)])(_0xec9ff4==null?void 0x0:_0xec9ff4[_0x451dfc(0x57d)],_0xec9ff4==null?void 0x0:_0xec9ff4[_0x451dfc(0x6a5)]()),_0x1bb9d5=Array[_0x451dfc(0x28a)](_0x148caf),_0x8c507d=_0x148caf&&!_0x1bb9d5&&_0x148caf[_0x451dfc(0x1ea)]?_0x199e4a[_0x451dfc(0x62a)]['Row']:_0x199e4a[_0x451dfc(0x62a)][_0x451dfc(0x64e)],_0x541ed8=_0x1bb9d5?(_0x82e8bc=_0x148caf[0x0])==null?void 0x0:_0x82e8bc[_0x451dfc(0x55c)]:_0x148caf==null?void 0x0:_0x148caf[_0x451dfc(0x2d1)];return(0x0,_0x422fa2[_0x451dfc(0x438)])('div',{'className':_0x451dfc(0x468),'children':(0x0,_0x422fa2[_0x451dfc(0x438)])(_0x2132f2[_0x451dfc(0x237)],{'chartTypeOptions':_0x2c50b6,'dataSourceControl':(0x0,_0x422fa2['jsx'])(_0x237240,{'chartId':_0x2230d1==null?void 0x0:_0x2230d1['id'],'dataRange':_0x148caf,'primaryRange':_0x541ed8}),'categoryToggleLabel':_0x390800['t'](_0x451dfc(0x571),_0x8c507d===_0x199e4a[_0x451dfc(0x62a)][_0x451dfc(0x2e9)]?_0x8c507d+'\x20'+(((_0x541ed8==null?void 0x0:_0x541ed8[_0x451dfc(0x55c)][_0x451dfc(0x347)])??0x0)+0x1):_0x8c507d+'\x20'+(0x0,_0x29b193[_0x451dfc(0x3ab)])((_0x541ed8==null?void 0x0:_0x541ed8[_0x451dfc(0x55c)][_0x451dfc(0x3dc)])??0x0)),'orientationControl':_0x1bb9d5?void 0x0:(0x0,_0x422fa2[_0x451dfc(0x438)])(_0x3836fd[_0x451dfc(0x5b7)],{'onClick':()=>_0x4a48ae[_0x451dfc(0x4e9)](_0x8c507d===_0x199e4a[_0x451dfc(0x62a)][_0x451dfc(0x2e9)]?_0x199e4a[_0x451dfc(0x62a)][_0x451dfc(0x64e)]:_0x199e4a[_0x451dfc(0x62a)]['Row']),'size':'middle','children':_0x390800['t'](_0x451dfc(0x22d))})})});}function _0x237240(_0x31c506){const _0x541942=_0x53d83c;let {chartId:_0x3f2ce3,dataRange:_0x484c3f,primaryRange:_0x1d99e3}=_0x31c506,_0x53a4de=(0x0,_0x3862b0[_0x541942(0x421)])(_0x316a04),_0x5eacb8=(0x0,_0x3862b0['useDependency'])(_0x29b193['LocaleService']),_0x26912f=(0x0,_0x3862b0[_0x541942(0x421)])(_0x29b193['IUniverInstanceService']),_0x47e05d=(0x0,_0x3862b0['useDependency'])(_0x29b193[_0x541942(0x63d)]),_0x1f63ac=(0x0,_0x3862b0[_0x541942(0x421)])(_0x29b193['IContextService']),_0x176fba=(0x0,_0x57ab3a[_0x541942(0x309)])(null),_0x7cb137=(0x0,_0x3862b0[_0x541942(0x421)])(_0x10710a[_0x541942(0x265)]),[_0x4aaa76,_0x135674]=(0x0,_0x57ab3a[_0x541942(0x6ad)])(!0x1),_0xd09b0c=_0xa6a0d0(_0x26912f),_0xb44306=_0x20a143(_0x26912f),_0x31d9bc=_0x484c3f?_0x1170c6(_0x484c3f,_0x26912f):'';(0x0,_0x57ab3a[_0x541942(0x62f)])(()=>{const _0x2b19bd=_0x541942;var _0x111d93;let _0x57004a=_0x176fba['current'];_0x57004a&&((_0x111d93=_0x57004a[_0x2b19bd(0x1ef)]())==null?void 0x0:_0x111d93[_0x2b19bd(0x3a8)]())!==_0x31d9bc&&_0x57004a['replaceText'](_0x31d9bc);},[_0x31d9bc]);let _0x4cb26f=()=>{const _0x29f33c=_0x541942;var _0x1130a3,_0x1964ab;(_0x1130a3=_0x176fba[_0x29f33c(0x3da)])==null||_0x1130a3['setSelectionRanges']([]),(_0x1964ab=_0x176fba['current'])==null||_0x1964ab[_0x29f33c(0x5e0)](),_0x7cb137[_0x29f33c(0x5e0)]();},_0x292d25=()=>{const _0x4036f9=_0x541942;var _0x402e25;if(!_0x3f2ce3)return;let _0x4f1261=(((_0x402e25=_0x176fba[_0x4036f9(0x3da)])==null||(_0x402e25=_0x402e25[_0x4036f9(0x1ef)]())==null?void 0x0:_0x402e25['getPlainText']())??_0x1170c6(_0x484c3f,_0x26912f))[_0x4036f9(0x54e)](',')[_0x4036f9(0x423)](_0x5012f5=>_0x5012f5['trim']())['map'](_0x1fcdee=>(0x0,_0x47a98f['deserializeRangeWithSheet'])(_0x1fcdee));_0x4cb26f(),_0x53a4de['openDataRangeSelector'](_0xd09b0c,_0x3f2ce3,_0x4f1261)[_0x4036f9(0x334)](_0x1a0e55=>_0x47e05d[_0x4036f9(0x5c4)](_0x1a0e55));};(0x0,_0x57ab3a[_0x541942(0x62f)])(()=>{const _0x2ee361=_0x541942;_0x53a4de['setRangeSelectMode'](_0x4aaa76),_0x1f63ac[_0x2ee361(0x660)](_0x29b193[_0x2ee361(0x51f)],_0x4aaa76);},[_0x1f63ac,_0x4aaa76,_0x53a4de]),(0x0,_0x57ab3a[_0x541942(0x62f)])(()=>()=>{const _0x10bcfa=_0x541942;_0x53a4de[_0x10bcfa(0x542)](!0x1),_0x1f63ac[_0x10bcfa(0x660)](_0x29b193[_0x10bcfa(0x51f)],!0x1);},[_0x1f63ac,_0x53a4de]);let _0x352764=(0x0,_0x57ab3a[_0x541942(0x4cd)])(()=>(0x0,_0x29b193['debounce'])(async _0x1768a3=>{const _0x5f4e42=_0x541942;var _0x3d62f3;if(_0x1170c6(_0x484c3f,_0x26912f)===_0x1768a3)return;let _0x154b5e=_0x1768a3['split'](',')[_0x5f4e42(0x423)](Boolean)[_0x5f4e42(0x435)](_0x47a98f['deserializeRangeWithSheet'])[0x0];if(!_0x154b5e)return;let {unitId:_0x3e0360,sheetName:_0x342e51,range:_0x459454}=_0x154b5e,_0x12e64d=_0x3e0360||_0xd09b0c,_0x2fd48b=((_0x3d62f3=_0x26912f[_0x5f4e42(0x4c9)](_0x12e64d)[_0x5f4e42(0x2d0)](_0x342e51))==null?void 0x0:_0x3d62f3[_0x5f4e42(0x48e)]())||(_0x1d99e3==null?void 0x0:_0x1d99e3[_0x5f4e42(0x2fb)])||_0xb44306;_0x2fd48b&&_0x53a4de['setDataRange']({'rangeInfo':{'range':_0x459454,'unitId':_0x12e64d,'subUnitId':_0x2fd48b}});},0x12c,{'leading':!0x1,'maxWait':0x3e8,'trailing':!0x0}),[_0x484c3f,_0x1d99e3,_0x53a4de,_0xb44306,_0xd09b0c,_0x26912f]);return(0x0,_0x57ab3a[_0x541942(0x62f)])(()=>()=>_0x352764['cancel'](),[_0x352764]),(0x0,_0x422fa2[_0x541942(0x438)])('div',{'className':'univer-flex\x20univer-flex-col\x20univer-gap-3','children':(0x0,_0x422fa2[_0x541942(0x36d)])(_0x541942(0x4fe),{'children':[(0x0,_0x422fa2['jsx'])(_0x2132f2[_0x541942(0x21d)],{'title':_0x5eacb8['t'](_0x541942(0x1de))}),(0x0,_0x422fa2['jsx'])(_0x10710a[_0x541942(0x3e0)],{'isSingle':!0x0,'preserveHostFocus':!0x0,'editorRef':_0x176fba,'onClickOutside':_0x4cb26f,'icon':(0x0,_0x422fa2[_0x541942(0x438)])(_0x3836fd[_0x541942(0x5b7)],{'variant':'text','size':'small','className':_0x541942(0x6b6),'aria-label':_0x5eacb8['t']('sheets-chart-ui.common.dataRange'),'onClick':_0x292d25,'children':(0x0,_0x422fa2[_0x541942(0x438)])(_0x3d3f97,{})}),'initialValue':_0x31d9bc,'onChange':(_0x1c7234,_0x523d82)=>_0x352764(_0x523d82),'onFocusChange':_0x4e7cbb=>{_0x135674(_0x4e7cbb);}})]})});}function _0x24dafa(){const _0x46a43=_0x53d83c;let [_0x2cb4ef,_0x3c440c]=(0x0,_0x57ab3a[_0x46a43(0x6ad)])(_0x2132f2[_0x46a43(0x316)][_0x46a43(0x6c5)]),_0x5aa9e0=(0x0,_0x3862b0[_0x46a43(0x421)])(_0x29b193[_0x46a43(0x4ef)]),_0xbd9d52=(0x0,_0x3862b0[_0x46a43(0x421)])(_0x29b193[_0x46a43(0x3e6)]),_0x23187d=(0x0,_0x3862b0[_0x46a43(0x421)])(_0x316a04),_0x3c06dc=(0x0,_0x3862b0[_0x46a43(0x421)])(_0x1593c9[_0x46a43(0x636)]),_0x5ba831=(0x0,_0x3862b0[_0x46a43(0x2c0)])(_0x3c06dc[_0x46a43(0x40d)],_0x3c06dc[_0x46a43(0x25c)]),_0x15293a=(0x0,_0x3862b0['useObservable'])(_0x23187d[_0x46a43(0x289)],null),_0x3cc3b0=(0x0,_0x57ab3a[_0x46a43(0x4cd)])(()=>{const _0x6cfed2=_0x46a43;if(!_0x5ba831)return null;let _0x450dd0=_0x23187d[_0x6cfed2(0x5bf)](_0x5ba831['id']);return _0x450dd0?new _0x2132f2['ChartHostAdapter'](_0x5ba831,new _0x1593c9[(_0x6cfed2(0x63c))]({'unitId':_0x450dd0[_0x6cfed2(0x501)],'subUnitId':_0x450dd0[_0x6cfed2(0x2fb)],'chartId':_0x5ba831['id'],'injector':_0x5aa9e0})):null;},[_0x5ba831,_0x5aa9e0,_0x23187d]);if((0x0,_0x57ab3a['useEffect'])(()=>{const _0x154de6=_0x46a43;var _0x12dd27,_0x15ccfe;_0x5ba831&&(_0x15293a==null?void 0x0:_0x15293a[_0x154de6(0x6d8)])===_0x5ba831['id']&&(((_0x12dd27=_0x15293a[_0x154de6(0x21e)])==null?void 0x0:_0x12dd27['tab'])===_0x2132f2[_0x154de6(0x316)][_0x154de6(0x3a5)]&&_0x3c440c(_0x2132f2[_0x154de6(0x316)][_0x154de6(0x3a5)]),((_0x15ccfe=_0x15293a['route'])==null?void 0x0:_0x15ccfe[_0x154de6(0x6dc)])===_0x2132f2[_0x154de6(0x316)][_0x154de6(0x6c5)]&&_0x3c440c(_0x2132f2['ChartEditPanelTab'][_0x154de6(0x6c5)]));},[_0x5ba831,_0x15293a]),!_0x3cc3b0)return null;let _0x106b92=(0x0,_0x422fa2[_0x46a43(0x438)])(_0x46a43(0x4fe),{'className':_0x46a43(0x484),'children':(0x0,_0x422fa2[_0x46a43(0x438)])(_0x2132f2['ChartEditorTabs'],{'ariaLabel':_0xbd9d52['t'](_0x46a43(0x493)),'activeTab':_0x2cb4ef,'onTabChange':_0x3c440c,'tabListClassName':'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','panelClassName':_0x2cb4ef===_0x2132f2[_0x46a43(0x316)]['Style']?_0x46a43(0x247):_0x46a43(0x558),'tabs':[{'id':_0x2132f2['ChartEditPanelTab']['Data'],'panelId':_0x46a43(0x5a9),'title':_0xbd9d52['t'](_0x46a43(0x6cc)),'content':(0x0,_0x422fa2[_0x46a43(0x438)])(_0x31601b,{})},{'id':_0x2132f2[_0x46a43(0x316)][_0x46a43(0x3a5)],'panelId':'mobile-sheet-chart-style-panel','title':_0xbd9d52['t'](_0x46a43(0x54b)),'content':(0x0,_0x422fa2[_0x46a43(0x438)])(_0x183cad,{'defaultValues':_0x57f0d0})}]})});return(0x0,_0x422fa2[_0x46a43(0x438)])(_0x2132f2[_0x46a43(0x454)],{'chartUIService':_0x23187d,'hostAdapter':_0x3cc3b0,'children':_0x106b92});}let _0x1cbf60=class extends _0x29b193[_0x53d83c(0x4a6)]{constructor(_0x25df1e){const _0x55545e=_0x53d83c;super(),this['disposeWithMe'](_0x25df1e[_0x55545e(0x573)](_0x432744,_0x24dafa));}};_0x1cbf60=_0x2db00d([_0x24d873(0x0,(0x0,_0x29b193[_0x53d83c(0x6d2)])(_0x3862b0['ComponentManager']))],_0x1cbf60);let _0x3460d1=class extends _0x29b193[_0x53d83c(0x4a6)]{constructor(_0x5c8e46,_0x40126c,_0x2373f4,_0x3a4482,_0xf01b8a,_0x13d1fa,_0x3e452e,_0x5022af,_0x34f413){const _0x1d0b37=_0x53d83c;super(),this['_drawingManagerService']=_0x5c8e46,this[_0x1d0b37(0x317)]=_0x40126c,this['_sidebarService']=_0x2373f4,this[_0x1d0b37(0x6b5)]=_0x3a4482,this[_0x1d0b37(0x3a9)]=_0xf01b8a,this[_0x1d0b37(0x228)]=_0x13d1fa,this[_0x1d0b37(0x637)]=_0x3e452e,this[_0x1d0b37(0x4cf)]=_0x5022af,this[_0x1d0b37(0x1f7)]=_0x34f413,_0x3e8fbf(this,_0x1d0b37(0x249),null),_0x3e8fbf(this,_0x1d0b37(0x392),!0x1),this[_0x1d0b37(0x439)]();}[_0x53d83c(0x3cb)](){const _0xd6e3a4=_0x53d83c;this[_0xd6e3a4(0x6cf)](),super[_0xd6e3a4(0x3cb)]();}[_0x53d83c(0x49d)](){const _0x35d291=_0x53d83c;this[_0x35d291(0x392)]||(this['_panelInitialized']=!0x0,this[_0x35d291(0x661)](this[_0x35d291(0x228)][_0x35d291(0x677)](_0x40a183=>{const _0x1455fa=_0x35d291;if(_0x40a183['id']!==_0x5f10b8['id'])return;let _0x184c21=_0x40a183[_0x1455fa(0x2d9)];this['openChartPanelById'](_0x184c21[_0x1455fa(0x503)],_0x184c21[_0x1455fa(0x21e)]);})));}[_0x53d83c(0x5f5)](_0x250cab,_0xf760e1){const _0x58ae57=_0x53d83c;let _0xe93b5a=this['_chartModelService'][_0x58ae57(0x209)](_0x250cab);_0xe93b5a&&(this[_0x58ae57(0x317)][_0x58ae57(0x2a8)](_0xe93b5a),this[_0x58ae57(0x2a4)](),this[_0x58ae57(0x637)][_0x58ae57(0x44f)](!0x0),this[_0x58ae57(0x637)]['setPanelRoute'](_0x250cab,_0xf760e1??null));}[_0x53d83c(0x6cf)](){const _0x4d0f51=_0x53d83c;let _0x5263bb=this['_sidebarDisposable'];this[_0x4d0f51(0x249)]=null,this[_0x4d0f51(0x5b1)](),_0x5263bb==null||_0x5263bb[_0x4d0f51(0x3cb)]();}[_0x53d83c(0x439)](){const _0x20bf69=_0x53d83c;this[_0x20bf69(0x6b5)][_0x20bf69(0x243)]({[_0x3862b0[_0x20bf69(0x40c)]['MEDIA']]:{[_0x2553ca['id']]:{'order':0x4,'menuItemFactory':_0x11e1da}}}),this[_0x20bf69(0x3a9)]['registerFeatureMenu'](_0x29b193[_0x20bf69(0x5d5)][_0x20bf69(0x469)],(_0xceab94,_0x47b36d,_0x29b948,_0x42322b)=>[{'label':this[_0x20bf69(0x1f7)]['t'](_0x20bf69(0x493)),'index':0x0,'commandId':_0x5f10b8['id'],'commandParams':{'unitId':_0xceab94,'subUnitId':_0x47b36d,'drawingId':_0x29b948},'disable':_0x42322b!==_0x29b193[_0x20bf69(0x5d5)]['DRAWING_CHART']},{'label':this[_0x20bf69(0x1f7)]['t'](_0x20bf69(0x64f)),'index':0x1,'commandId':_0x303a0f[_0x20bf69(0x587)]['id'],'commandParams':{'unitId':_0xceab94,'drawings':[{'unitId':_0xceab94,'subUnitId':_0x47b36d,'drawingId':_0x29b948,'drawingType':_0x42322b}]},'disable':!0x1}],'sheets-chart-ui.common.chart');}['_openPanel'](){const _0x176cd4=_0x53d83c;this[_0x176cd4(0x249)]=this['_sidebarService']['open']({'id':_0x432744,'header':{'title':this[_0x176cd4(0x1f7)]['t']('sheets-chart-ui.common.editChart')},'children':{'label':_0x432744},'onClose':()=>{const _0x24ea4c=_0x176cd4;this[_0x24ea4c(0x249)]=null,this[_0x24ea4c(0x5b1)]();}});}[_0x53d83c(0x5b1)](){const _0x44b330=_0x53d83c;this['_sheetsChartUIService'][_0x44b330(0x44f)](!0x1),this[_0x44b330(0x637)][_0x44b330(0x45a)](),this[_0x44b330(0x317)][_0x44b330(0x25c)]&&this['_chartModelService'][_0x44b330(0x2a8)](null),this['_drawingManagerService'][_0x44b330(0x6a8)](null),this[_0x44b330(0x4cf)][_0x44b330(0x660)](_0x29b193['FOCUSING_COMMON_DRAWINGS'],!0x1);}};_0x3460d1=_0x2db00d([_0x24d873(0x0,_0x4b86b8[_0x53d83c(0x53c)]),_0x24d873(0x1,(0x0,_0x29b193['Inject'])(_0x1593c9['ChartModelService'])),_0x24d873(0x2,(0x0,_0x29b193[_0x53d83c(0x6d2)])(_0x3862b0['ISidebarService'])),_0x24d873(0x3,_0x3862b0[_0x53d83c(0x680)]),_0x24d873(0x4,(0x0,_0x29b193[_0x53d83c(0x6d2)])(_0x2d4cf1['SheetCanvasPopManagerService'])),_0x24d873(0x5,_0x29b193['ICommandService']),_0x24d873(0x6,_0x316a04),_0x24d873(0x7,_0x29b193[_0x53d83c(0x3cd)]),_0x24d873(0x8,(0x0,_0x29b193['Inject'])(_0x29b193[_0x53d83c(0x3e6)]))],_0x3460d1);let _0x99f73b=class extends _0x29b193[_0x53d83c(0x4a6)]{constructor(_0x5a17c1,_0x2999b2,_0x5974e0,_0x564802,_0x4fbef5,_0x565894,_0x3c58a0,_0x18c3de){const _0x2faa51=_0x53d83c;super(),this[_0x2faa51(0x320)]=_0x5a17c1,this[_0x2faa51(0x372)]=_0x2999b2,this[_0x2faa51(0x293)]=_0x5974e0,this[_0x2faa51(0x317)]=_0x564802,this[_0x2faa51(0x5ca)]=_0x4fbef5,this[_0x2faa51(0x200)]=_0x565894,this['_drawingManager']=_0x3c58a0,this[_0x2faa51(0x60a)]=_0x18c3de,_0x3e8fbf(this,_0x2faa51(0x3f9),null),_0x3e8fbf(this,_0x2faa51(0x39c),void 0x0),this[_0x2faa51(0x661)](this['_instanceService'][_0x2faa51(0x257)]['subscribe'](_0x31849f=>{const _0x39b74b=_0x2faa51;var _0x37c93f,_0x2887bf;let _0x107fdd=_0x31849f[_0x39b74b(0x384)]();((_0x37c93f=this['_chartCopyInfo'])==null?void 0x0:_0x37c93f[_0x39b74b(0x501)])===_0x107fdd&&(this['_chartCopyInfo']=null),((_0x2887bf=this[_0x39b74b(0x39c)])==null?void 0x0:_0x2887bf[_0x39b74b(0x501)])===_0x107fdd&&(this[_0x39b74b(0x39c)]=null);})),this[_0x2faa51(0x211)]();}[_0x53d83c(0x3cb)](){const _0xd6d8ac=_0x53d83c;this['_chartCopyInfo']=null,this['_copyInfo']=null,super[_0xd6d8ac(0x3cb)]();}get[_0x53d83c(0x2cb)](){const _0x43b396=_0x53d83c;return this[_0x43b396(0x293)]['getFocusDrawings']();}['_initCopyPaste'](){const _0x171d77=_0x53d83c;this['disposeWithMe'](this[_0x171d77(0x372)][_0x171d77(0x1df)]({'id':_0x1593c9['SHEETS_CHART_PLUGIN_NAME'],'onBeforeCopyFocusedObject':(_0x1606d1,_0x417e16,_0x5dce2e)=>{const _0x46ac14=_0x171d77;this['_copyInfo']=null,this[_0x46ac14(0x3f9)]=null;let _0x2dc19f=this[_0x46ac14(0x2cb)][_0x46ac14(0x423)](_0x8996a1=>this['_isOwnedChart'](_0x8996a1));return _0x2dc19f[_0x46ac14(0x5d4)]===0x0?!0x1:_0x5dce2e===_0x2d4cf1[_0x46ac14(0x5dd)][_0x46ac14(0x24d)]&&this['_focusedDrawings']['length']===0x1&&_0x2dc19f[_0x46ac14(0x5d4)]===0x1&&!_0x2dc19f[0x0][_0x46ac14(0x3ca)]?(this[_0x46ac14(0x3f9)]={'unitId':_0x1606d1,'subUnitId':_0x417e16,'rootDrawingId':_0x2dc19f[0x0]['drawingId'],'drawings':_0x29b193[_0x46ac14(0x2c3)][_0x46ac14(0x53b)](this[_0x46ac14(0x56a)](_0x1606d1,_0x417e16,_0x2dc19f[0x0][_0x46ac14(0x503)]))},!0x0):(this['_copyInfo']={'unitId':_0x1606d1,'subUnitId':_0x417e16,'copyType':_0x5dce2e,'drawings':_0x2dc19f},!0x0);},'onBeforeCopy':(_0x3c0571,_0x2582e3,_0x4e1237,_0x230947)=>{const _0x3c5b4b=_0x171d77;this[_0x3c5b4b(0x39c)]=null,this[_0x3c5b4b(0x3f9)]=null,this[_0x3c5b4b(0x2f8)](_0x3c0571,_0x2582e3,_0x4e1237,_0x230947);},'onPasteCells':(_0x41210c,_0x27afa8,_0x42fce3,_0x13a4b0)=>{const _0xcf8ff=_0x171d77;if(_0x13a4b0['copyId']&&_0x41210c&&this[_0xcf8ff(0x3f9)]){if(_0x13a4b0[_0xcf8ff(0x33d)]!==_0x2d4cf1[_0xcf8ff(0x5dd)][_0xcf8ff(0x24d)]||_0x13a4b0[_0xcf8ff(0x279)]!==_0x2d4cf1[_0xcf8ff(0x63b)][_0xcf8ff(0x2bb)]||_0x41210c[_0xcf8ff(0x501)]!==this[_0xcf8ff(0x3f9)][_0xcf8ff(0x501)]||_0x41210c[_0xcf8ff(0x2fb)]!==this['_chartCopyInfo'][_0xcf8ff(0x2fb)])throw new _0x29b193[(_0xcf8ff(0x5b4))](_0x2d4cf1[_0xcf8ff(0x59f)]['id']);return this[_0xcf8ff(0x6d9)](_0x27afa8);}if(!_0x13a4b0[_0xcf8ff(0x570)]||!_0x41210c||!this[_0xcf8ff(0x39c)])return{'redos':[],'undos':[]};let {pasteType:_0x92618f}=_0x13a4b0;return _0x92618f===_0x2d4cf1[_0xcf8ff(0x63b)]['DEFAULT_PASTE']?this[_0xcf8ff(0x374)](_0x27afa8,this[_0xcf8ff(0x39c)][_0xcf8ff(0x33d)]===_0x2d4cf1[_0xcf8ff(0x5dd)][_0xcf8ff(0x5d9)]):{'redos':[],'undos':[]};}}));}[_0x53d83c(0x56a)](_0x902e6f,_0x15b339,_0x171cfc){const _0x3f0f39=_0x53d83c;let _0x2da90e=this[_0x3f0f39(0x293)][_0x3f0f39(0x381)]({'unitId':_0x902e6f,'subUnitId':_0x15b339,'drawingId':_0x171cfc}),_0x4f9d1d=this[_0x3f0f39(0x605)][_0x3f0f39(0x381)]({'unitId':_0x902e6f,'subUnitId':_0x15b339,'drawingId':_0x171cfc}),_0xf42671=_0x2da90e==null?void 0x0:_0x2da90e['transform'];if(!_0x2da90e||_0x2da90e[_0x3f0f39(0x501)]!==_0x902e6f||_0x2da90e[_0x3f0f39(0x2fb)]!==_0x15b339||_0x2da90e[_0x3f0f39(0x3ca)]||_0x2da90e[_0x3f0f39(0x566)]!==_0x29b193[_0x3f0f39(0x5d5)]['DRAWING_CHART']||!_0x29b193[_0x3f0f39(0x2c3)][_0x3f0f39(0x42a)](_0x2da90e,_0x4f9d1d)||!_0xf42671||![_0xf42671['left'],_0xf42671[_0x3f0f39(0x1fe)],_0xf42671['width'],_0xf42671[_0x3f0f39(0x2db)]][_0x3f0f39(0x655)](_0x59e496=>typeof _0x59e496=='number'&&Number[_0x3f0f39(0x287)](_0x59e496))||_0xf42671[_0x3f0f39(0x443)]<=0x0||_0xf42671[_0x3f0f39(0x2db)]<=0x0)throw new _0x29b193['CustomCommandExecutionError'](_0x2d4cf1['SheetPasteCommand']['id']);return[_0x2da90e];}['_generateChartCopy'](_0x5d5411){const _0x1cd451=_0x53d83c;var _0xd833a9,_0x216c0b;let _0x40be50=this[_0x1cd451(0x3f9)],_0x3847c4=this[_0x1cd451(0x56a)](_0x40be50[_0x1cd451(0x501)],_0x40be50['subUnitId'],_0x40be50[_0x1cd451(0x39b)]);if(!_0x29b193['Tools'][_0x1cd451(0x42a)](_0x3847c4,_0x40be50[_0x1cd451(0x487)]))throw new _0x29b193[(_0x1cd451(0x5b4))](_0x2d4cf1[_0x1cd451(0x59f)]['id']);let _0x3aa8dc=(_0xd833a9=this[_0x1cd451(0x200)][_0x1cd451(0x4c9)](_0x40be50['unitId'],_0x29b193[_0x1cd451(0x216)][_0x1cd451(0x222)]))==null?void 0x0:_0xd833a9['getSheetBySheetId'](_0x40be50[_0x1cd451(0x2fb)]),_0x1ca085=(_0x216c0b=this[_0x1cd451(0x200)][_0x1cd451(0x4c9)](_0x5d5411[_0x1cd451(0x501)],_0x29b193[_0x1cd451(0x216)][_0x1cd451(0x222)]))==null?void 0x0:_0x216c0b[_0x1cd451(0x25e)](_0x5d5411[_0x1cd451(0x2fb)]),_0x5c9483=(_0x3aa8dc==null?void 0x0:_0x3aa8dc['getConfig']()[_0x1cd451(0x3b2)])??_0x29b193[_0x1cd451(0x5ec)][_0x1cd451(0x3d7)],_0x189928=(_0x1ca085==null?void 0x0:_0x1ca085[_0x1cd451(0x202)]()[_0x1cd451(0x3b2)])??_0x29b193[_0x1cd451(0x5ec)][_0x1cd451(0x3d7)];if(!_0x3aa8dc||!_0x1ca085||![_0x29b193[_0x1cd451(0x5ec)][_0x1cd451(0x3d7)],_0x29b193[_0x1cd451(0x5ec)][_0x1cd451(0x1e6)]]['includes'](_0x5c9483)||![_0x29b193[_0x1cd451(0x5ec)][_0x1cd451(0x3d7)],_0x29b193[_0x1cd451(0x5ec)][_0x1cd451(0x1e6)]]['includes'](_0x189928))throw new _0x29b193[(_0x1cd451(0x5b4))](_0x2d4cf1[_0x1cd451(0x59f)]['id']);if(_0x5c9483===_0x29b193['SheetTypes'][_0x1cd451(0x1e6)]||_0x189928===_0x29b193[_0x1cd451(0x5ec)][_0x1cd451(0x1e6)]){let _0x19ccca=this[_0x1cd451(0x60a)]['permissionCheckWithoutRange']({'workbookTypes':[_0x313b04[_0x1cd451(0x531)]],'worksheetTypes':[_0x313b04[_0x1cd451(0x2d7)]]},_0x40be50[_0x1cd451(0x501)],_0x40be50[_0x1cd451(0x2fb)]),_0x16b5f1=this[_0x1cd451(0x60a)]['permissionCheckWithoutRange']({'workbookTypes':[_0x313b04[_0x1cd451(0x640)]],'worksheetTypes':[_0x313b04['WorksheetEditPermission']]},_0x5d5411[_0x1cd451(0x501)],_0x5d5411[_0x1cd451(0x2fb)]);if(!_0x19ccca||!_0x16b5f1)throw new _0x29b193[(_0x1cd451(0x5b4))](_0x2d4cf1['SheetPasteCommand']['id']);}let _0x363c8c=_0x3847c4[_0x1cd451(0x4fb)](_0x54d836=>_0x54d836[_0x1cd451(0x503)]===_0x40be50[_0x1cd451(0x39b)]),_0x22a122=this[_0x1cd451(0x320)][_0x1cd451(0x6a6)](_0x5d5411[_0x1cd451(0x501)],_0x5d5411[_0x1cd451(0x2fb)]),_0x5e28b3=_0x22a122&&(0x0,_0x313b04[_0x1cd451(0x511)])(_0x22a122,(0x0,_0x313b04['discreteRangeToRange'])(_0x5d5411[_0x1cd451(0x55c)]));if(_0x189928===_0x29b193[_0x1cd451(0x5ec)][_0x1cd451(0x3d7)]&&!_0x5e28b3)throw new _0x29b193[(_0x1cd451(0x5b4))](_0x2d4cf1[_0x1cd451(0x59f)]['id']);let _0x4eac2b=_0x189928===_0x29b193[_0x1cd451(0x5ec)][_0x1cd451(0x3d7)]?_0x5e28b3[_0x1cd451(0x3be)]-_0x363c8c['transform'][_0x1cd451(0x5a8)]:0x0,_0x5186ae=_0x189928===_0x29b193[_0x1cd451(0x5ec)][_0x1cd451(0x3d7)]?_0x5e28b3['startY']-_0x363c8c[_0x1cd451(0x3dd)]['top']:0x0,_0x13ec44=_0x3847c4[_0x1cd451(0x435)](_0x1a083a=>{const _0x1010de=_0x1cd451;let _0x47bbc8=_0x1a083a[_0x1010de(0x3dd)],_0x43c870={'left':_0x47bbc8[_0x1010de(0x5a8)]+_0x4eac2b,'top':_0x47bbc8[_0x1010de(0x1fe)]+_0x5186ae,'width':_0x47bbc8[_0x1010de(0x443)],'height':_0x47bbc8['height']},_0x38c87e=_0x1a083a,_0xfc3805=_0x5c9483===_0x29b193['SheetTypes'][_0x1010de(0x3d7)]&&_0x189928===_0x29b193[_0x1010de(0x5ec)][_0x1010de(0x3d7)],_0x6ac116=_0xfc3805?_0x38c87e[_0x1010de(0x2d5)]??_0x303a0f[_0x1010de(0x4f2)]['Position']:_0x303a0f['SheetDrawingAnchorType']['None'];if(_0x6ac116===_0x303a0f[_0x1010de(0x4f2)][_0x1010de(0x25a)])return(0x0,_0x303a0f[_0x1010de(0x2cd)])(_0x1a083a,{'kind':_0x6ac116,..._0x43c870});if(_0x6ac116!==_0x303a0f['SheetDrawingAnchorType'][_0x1010de(0x497)]&&_0x6ac116!==_0x303a0f['SheetDrawingAnchorType'][_0x1010de(0x339)])throw new _0x29b193[(_0x1010de(0x5b4))](_0x2d4cf1['SheetPasteCommand']['id']);let _0x5ab373=(0x0,_0x303a0f[_0x1010de(0x5f0)])(_0x43c870,_0x22a122),_0x5ba9b9=_0x6ac116===_0x303a0f[_0x1010de(0x4f2)][_0x1010de(0x497)]?(0x0,_0x303a0f[_0x1010de(0x2cd)])(_0x1a083a,{'kind':_0x6ac116,'from':_0x5ab373['from'],'to':_0x5ab373['to']},_0x22a122):(0x0,_0x303a0f[_0x1010de(0x2cd)])(_0x1a083a,{'kind':_0x6ac116,'from':_0x5ab373['from'],'width':_0x43c870[_0x1010de(0x443)],'height':_0x43c870[_0x1010de(0x2db)]},_0x22a122);return _0xfc3805&&_0x38c87e[_0x1010de(0x2d5)]===void 0x0&&delete _0x5ba9b9[_0x1010de(0x2d5)],_0x5ba9b9;});if(_0x189928===_0x29b193['SheetTypes']['CHART']){let _0x186a53=this[_0x1cd451(0x5ca)][_0x1cd451(0x250)](_0x5d5411[_0x1cd451(0x501)],_0x5d5411[_0x1cd451(0x2fb)]),_0x2ee774=_0x186a53&&this[_0x1cd451(0x293)][_0x1cd451(0x381)]({..._0x5d5411,'drawingId':_0x186a53['id']}),_0x129970=_0x2ee774==null?void 0x0:_0x2ee774[_0x1cd451(0x3dd)],_0x1bfda7=_0x129970&&(0x0,_0x303a0f[_0x1cd451(0x57e)])(_0x13ec44,{'left':_0x129970[_0x1cd451(0x5a8)],'top':_0x129970[_0x1cd451(0x1fe)],'width':_0x129970[_0x1cd451(0x443)],'height':_0x129970[_0x1cd451(0x2db)]},_0x1ca085[_0x1cd451(0x202)]()[_0x1cd451(0x621)]===_0x29b193[_0x1cd451(0x2c7)]['TRUE']);if(!_0x1bfda7)throw new _0x29b193[(_0x1cd451(0x5b4))](_0x2d4cf1[_0x1cd451(0x59f)]['id']);_0x13ec44=_0x1bfda7;}let _0x46bfb7=_0x13ec44[0x0],_0x57ef8e=this[_0x1cd451(0x317)]['getChartModel'](_0x363c8c[_0x1cd451(0x503)]);if(!_0x57ef8e)throw new _0x29b193[(_0x1cd451(0x5b4))](_0x2d4cf1[_0x1cd451(0x59f)]['id']);return this['_generateCopyPasteMutations']({'toUnitId':_0x5d5411['unitId'],'toSubUnitId':_0x5d5411['subUnitId'],'drawing':_0x363c8c,'newTransforms':{'transform':_0x46bfb7[_0x1cd451(0x3dd)],'sheetTransform':_0x46bfb7[_0x1cd451(0x3b6)],'axisAlignSheetTransform':_0x46bfb7[_0x1cd451(0x3ec)],..._0x46bfb7[_0x1cd451(0x2d5)]===void 0x0?{}:{'anchorType':_0x46bfb7['anchorType']}}},_0x57ef8e);}[_0x53d83c(0x2f8)](_0x4e9687,_0x5e0b22,_0x3d123a,_0x33562d){const _0x52875c=_0x53d83c;let _0x80da7a=this[_0x52875c(0x320)][_0x52875c(0x6a6)](_0x4e9687,_0x5e0b22);if(!_0x80da7a)return;let _0x54405d=(0x0,_0x313b04['attachRangeWithCoord'])(_0x80da7a,_0x3d123a);if(!_0x54405d)return;let {startX:_0x57bdb2,endX:_0x55933b,startY:_0x2bbaa4,endY:_0x2d73ad}=_0x54405d,_0x2c4edd=this['_sheetDrawingService'][_0x52875c(0x396)](_0x4e9687,_0x5e0b22),_0x381563=[];for(let [_0x1fc95c,_0x45e51c]of Object[_0x52875c(0x66d)](_0x2c4edd)){if(!this[_0x52875c(0x1fc)](_0x45e51c))continue;let {transform:_0xb1b454}=_0x45e51c;if(!_0xb1b454)continue;let {left:_0x5b3963=0x0,top:_0x4a331a=0x0,width:_0x2a58a8=0x0,height:_0x13a067=0x0}=_0xb1b454;_0x57bdb2<=_0x5b3963&&_0x55933b>=_0x5b3963+_0x2a58a8&&_0x2bbaa4<=_0x4a331a&&_0x2d73ad>=_0x4a331a+_0x13a067&&_0x381563[_0x52875c(0x59c)](_0x45e51c);}_0x381563[_0x52875c(0x5d4)]>0x0&&(this['_copyInfo']={'unitId':_0x4e9687,'subUnitId':_0x5e0b22,'copyType':_0x33562d,'copyRange':_0x3d123a,'drawings':_0x381563});}[_0x53d83c(0x1fc)](_0x472df1){const _0x1fad0a=_0x53d83c;return _0x472df1[_0x1fad0a(0x566)]===_0x29b193[_0x1fad0a(0x5d5)]['DRAWING_CHART']&&this[_0x1fad0a(0x5ca)][_0x1fad0a(0x4ca)](_0x472df1[_0x1fad0a(0x501)],_0x472df1[_0x1fad0a(0x503)])===_0x472df1['subUnitId'];}[_0x53d83c(0x374)](_0x140f83,_0x1eb091){const _0x4d45d4=_0x53d83c;var _0x30a094,_0x160947;let {unitId:_0x352f07,subUnitId:_0x1f6b2d,range:_0x43114c}=_0x140f83,{unitId:_0xf49dad,subUnitId:_0x4727f3,copyRange:_0x25dc34,drawings:_0x44d6fe}=this['_copyInfo'],_0x45edb2=(_0x30a094=this[_0x4d45d4(0x200)][_0x4d45d4(0x4c9)](_0xf49dad,_0x29b193[_0x4d45d4(0x216)]['UNIVER_SHEET']))==null?void 0x0:_0x30a094[_0x4d45d4(0x25e)](_0x4727f3),_0x4354c3=(_0x160947=this[_0x4d45d4(0x200)][_0x4d45d4(0x4c9)](_0x352f07,_0x29b193[_0x4d45d4(0x216)]['UNIVER_SHEET']))==null?void 0x0:_0x160947[_0x4d45d4(0x25e)](_0x1f6b2d),_0x209fc3=(_0x45edb2==null?void 0x0:_0x45edb2[_0x4d45d4(0x202)]()['type'])??_0x29b193['SheetTypes'][_0x4d45d4(0x3d7)],_0x128215=(_0x4354c3==null?void 0x0:_0x4354c3['getConfig']()[_0x4d45d4(0x3b2)])??_0x29b193[_0x4d45d4(0x5ec)][_0x4d45d4(0x3d7)],_0x5048c8=this['_sheetDrawingService'][_0x4d45d4(0x396)](_0xf49dad,_0x4727f3),_0xa6ab88=this[_0x4d45d4(0x605)][_0x4d45d4(0x396)](_0xf49dad,_0x4727f3);if(!_0x45edb2||!_0x4354c3||_0x209fc3!==_0x29b193[_0x4d45d4(0x5ec)]['GRID']||_0x128215!==_0x29b193[_0x4d45d4(0x5ec)][_0x4d45d4(0x3d7)]||_0x44d6fe['some'](_0x4e5b0b=>_0x4e5b0b[_0x4d45d4(0x501)]!==_0xf49dad||_0x4e5b0b[_0x4d45d4(0x2fb)]!==_0x4727f3||!this[_0x4d45d4(0x1fc)](_0x4e5b0b)||!_0x29b193[_0x4d45d4(0x2c3)][_0x4d45d4(0x42a)](_0x4e5b0b,_0x5048c8[_0x4e5b0b[_0x4d45d4(0x503)]])||!_0x29b193[_0x4d45d4(0x2c3)][_0x4d45d4(0x42a)](_0x4e5b0b,_0xa6ab88[_0x4e5b0b[_0x4d45d4(0x503)]])||!this[_0x4d45d4(0x317)][_0x4d45d4(0x209)](_0x4e5b0b[_0x4d45d4(0x503)])||!this[_0x4d45d4(0x5ca)][_0x4d45d4(0x2e1)](_0x4e5b0b[_0x4d45d4(0x503)])||!_0x4e5b0b[_0x4d45d4(0x3dd)]||!_0x4e5b0b['sheetTransform']))throw new _0x29b193[(_0x4d45d4(0x5b4))](_0x2d4cf1[_0x4d45d4(0x59f)]['id']);let _0x4acaa4=this['_sheetSkeletonService']['getSkeleton'](_0x352f07,_0x1f6b2d),_0x11c5e4=(0x0,_0x313b04[_0x4d45d4(0x3f4)])(_0x43114c),_0x538805=this[_0x4d45d4(0x320)][_0x4d45d4(0x6a6)](_0xf49dad,_0x4727f3);if(!_0x4acaa4||!_0x538805)throw new _0x29b193[(_0x4d45d4(0x5b4))](_0x2d4cf1[_0x4d45d4(0x59f)]['id']);let _0x4ba603=[],_0x30f1c1=[];for(let _0x13531a of _0x44d6fe){let {drawingId:_0x24ec9b,transform:_0x38ced1,sheetTransform:_0xc6fccb}=_0x13531a,_0xa6dc86=this[_0x4d45d4(0x317)][_0x4d45d4(0x209)](_0x24ec9b);if(!_0xa6dc86||!_0x38ced1||!_0xc6fccb)continue;let _0x1004d5=this[_0x4d45d4(0x2ed)]({'transform':_0x38ced1,'sheetTransform':_0xc6fccb},{'skeleton':_0x538805,'range':_0x25dc34},{'skeleton':_0x4acaa4,'range':_0x11c5e4});if(_0x1eb091){let {redos:_0x58ab94,undos:_0x2e905b}=this[_0x4d45d4(0x5ea)]({'fromUnitId':_0xf49dad,'fromSubUnitId':_0x4727f3,'toUnitId':_0x352f07,'toSubUnitId':_0x1f6b2d,'drawing':_0x13531a,'newTransforms':_0x1004d5},_0xa6dc86);_0x4ba603[_0x4d45d4(0x59c)](..._0x58ab94),_0x30f1c1[_0x4d45d4(0x59c)](..._0x2e905b);continue;}let {redos:_0x4b0440,undos:_0x309614}=this['_generateCopyPasteMutations']({'toUnitId':_0x352f07,'toSubUnitId':_0x1f6b2d,'drawing':_0x13531a,'newTransforms':_0x1004d5},_0xa6dc86);_0x4ba603[_0x4d45d4(0x59c)](..._0x4b0440),_0x30f1c1[_0x4d45d4(0x59c)](..._0x309614);}return{'redos':_0x4ba603,'undos':_0x30f1c1};}[_0x53d83c(0x5ea)](_0x2bc55f,_0x17de6e){const _0x44cae7=_0x53d83c;let {fromUnitId:_0x2f7570,fromSubUnitId:_0x479cf3,toUnitId:_0x4b7fb8,toSubUnitId:_0x233ef1,drawing:_0x45000b,newTransforms:_0x45f5a3}=_0x2bc55f,_0x217015={..._0x45000b,'unitId':_0x4b7fb8,'subUnitId':_0x233ef1,'transform':_0x45f5a3[_0x44cae7(0x3dd)],'sheetTransform':_0x45f5a3[_0x44cae7(0x3b6)]};if(_0x4b7fb8===_0x2f7570&&_0x233ef1===_0x479cf3){let {redo:_0x4a6007,undo:_0x103f36,objects:_0x53a6a6}=this[_0x44cae7(0x293)]['getBatchUpdateOp']([_0x217015]);return{'redos':[{'id':_0x303a0f['SetDrawingApplyMutation']['id'],'params':{'unitId':_0x4b7fb8,'subUnitId':_0x233ef1,'type':_0x303a0f[_0x44cae7(0x698)][_0x44cae7(0x5f7)],'op':_0x4a6007,'objects':_0x53a6a6}}],'undos':[{'id':_0x303a0f[_0x44cae7(0x24a)]['id'],'params':{'unitId':_0x4b7fb8,'subUnitId':_0x233ef1,'type':_0x303a0f[_0x44cae7(0x698)][_0x44cae7(0x5f7)],'op':_0x103f36,'objects':_0x53a6a6}}]};}{let _0x6f0aaa=this[_0x44cae7(0x293)][_0x44cae7(0x3ef)]([_0x45000b]),_0x388835=this[_0x44cae7(0x293)][_0x44cae7(0x28f)]([_0x217015]),_0x4e75f5=this[_0x44cae7(0x5ca)][_0x44cae7(0x2e1)](_0x17de6e['id']);if(!_0x4e75f5)return{'redos':[],'undos':[]};let {chartType:_0x241456,context:_0x5679ac,style:_0x16776e,dataAggregation:_0x56b98d}=_0x17de6e[_0x44cae7(0x20b)]();return{'redos':[{'id':_0x303a0f[_0x44cae7(0x24a)]['id'],'params':{'unitId':_0x2f7570,'subUnitId':_0x479cf3,'type':_0x303a0f[_0x44cae7(0x698)]['REMOVE'],'op':_0x6f0aaa[_0x44cae7(0x40f)],'objects':_0x6f0aaa[_0x44cae7(0x68e)]}},{'id':_0x1593c9['RemoveSheetsChartMutation']['id'],'params':{'unitId':_0x2f7570,'subUnitId':_0x479cf3,'chartId':_0x45000b[_0x44cae7(0x503)]}},{'id':_0x303a0f[_0x44cae7(0x24a)]['id'],'params':{'unitId':_0x4b7fb8,'subUnitId':_0x233ef1,'type':_0x303a0f[_0x44cae7(0x698)]['INSERT'],'op':_0x388835[_0x44cae7(0x40f)],'objects':_0x388835[_0x44cae7(0x68e)]}},{'id':_0x1593c9[_0x44cae7(0x665)]['id'],'params':{'unitId':_0x4b7fb8,'subUnitId':_0x233ef1,'chartId':_0x45000b['drawingId'],'chartType':_0x241456,...(0x0,_0x1593c9[_0x44cae7(0x26b)])(_0x4e75f5),'context':_0x5679ac,'style':_0x16776e,'dataAggregation':_0x56b98d}}],'undos':[{'id':_0x303a0f[_0x44cae7(0x24a)]['id'],'params':{'unitId':_0x2f7570,'subUnitId':_0x479cf3,'type':_0x303a0f[_0x44cae7(0x698)][_0x44cae7(0x2ae)],'op':_0x6f0aaa[_0x44cae7(0x673)],'objects':_0x6f0aaa[_0x44cae7(0x68e)]}},{'id':_0x1593c9[_0x44cae7(0x665)]['id'],'params':{'unitId':_0x2f7570,'subUnitId':_0x479cf3,'chartId':_0x45000b[_0x44cae7(0x503)],'chartType':_0x241456,...(0x0,_0x1593c9['toInsertChartMutationSource'])(_0x4e75f5),'context':_0x5679ac,'style':_0x16776e,'dataAggregation':_0x56b98d}},{'id':_0x303a0f[_0x44cae7(0x24a)]['id'],'params':{'unitId':_0x4b7fb8,'subUnitId':_0x233ef1,'type':_0x303a0f['DrawingApplyType']['REMOVE'],'op':_0x388835[_0x44cae7(0x673)],'objects':_0x388835[_0x44cae7(0x68e)]}},{'id':_0x1593c9[_0x44cae7(0x3b8)]['id'],'params':{'unitId':_0x4b7fb8,'subUnitId':_0x233ef1,'chartId':_0x45000b[_0x44cae7(0x503)]}}]};}}[_0x53d83c(0x2f9)](_0xe2aeda,_0x398c34){const _0xfeee57=_0x53d83c;let {toUnitId:_0x1b7ce2,toSubUnitId:_0x58dd2c,drawing:_0x3489e4,newTransforms:_0x1eea9a}=_0xe2aeda,_0x5b6f75=(0x0,_0x29b193[_0xfeee57(0x66e)])(),_0x36cc14={..._0x29b193['Tools'][_0xfeee57(0x53b)](_0x3489e4),'unitId':_0x1b7ce2,'subUnitId':_0x58dd2c,'drawingId':_0x5b6f75,..._0x1eea9a},_0x56672f=this[_0xfeee57(0x5ca)][_0xfeee57(0x2e1)](_0x398c34['id']);if(!_0x56672f||this[_0xfeee57(0x317)][_0xfeee57(0x209)](_0x5b6f75)||this[_0xfeee57(0x293)][_0xfeee57(0x381)](_0x36cc14)||this[_0xfeee57(0x605)]['getDrawingByParam'](_0x36cc14))throw new _0x29b193['CustomCommandExecutionError'](_0x2d4cf1['SheetPasteCommand']['id']);let {redo:_0x3240f3,undo:_0x3ff01d,objects:_0x20cbb9}=this[_0xfeee57(0x293)][_0xfeee57(0x28f)]([_0x36cc14]),{chartType:_0x353455,context:_0x104833,style:_0x3cb833,dataAggregation:_0x4f9194}=_0x398c34[_0xfeee57(0x20b)]();return{'redos':[{'id':_0x303a0f['SetDrawingApplyMutation']['id'],'params':{'unitId':_0x1b7ce2,'subUnitId':_0x58dd2c,'type':_0x303a0f[_0xfeee57(0x698)]['INSERT'],'op':_0x3240f3,'objects':_0x20cbb9}},{'id':_0x1593c9[_0xfeee57(0x665)]['id'],'params':{'unitId':_0x1b7ce2,'subUnitId':_0x58dd2c,'chartId':_0x5b6f75,'chartType':_0x353455,...(0x0,_0x1593c9[_0xfeee57(0x26b)])(_0x56672f),'context':_0x104833,'style':_0x3cb833,'dataAggregation':_0x4f9194}},{'id':_0x1593c9['ChartReplaceConfigMutation']['id'],'params':{'unitId':_0x1b7ce2,'chartModelId':_0x5b6f75,'style':_0x3cb833}}],'undos':[{'id':_0x303a0f[_0xfeee57(0x24a)]['id'],'params':{'unitId':_0x1b7ce2,'subUnitId':_0x58dd2c,'type':_0x303a0f[_0xfeee57(0x698)]['REMOVE'],'op':_0x3ff01d,'objects':_0x20cbb9}},{'id':_0x1593c9[_0xfeee57(0x3b8)]['id'],'params':{'unitId':_0x1b7ce2,'subUnitId':_0x58dd2c,'chartId':_0x5b6f75}}]};}[_0x53d83c(0x2ed)](_0xad7d6d,_0x5c2a97,_0x5672c0){const _0x5cee3c=_0x53d83c;let {range:_0x373c5e,skeleton:_0x3d0202}=_0x5c2a97,{range:_0x3ec340,skeleton:_0x1d73f2}=_0x5672c0,{transform:_0x367dd2,sheetTransform:_0x4423dd}=_0xad7d6d,_0x49ddec={..._0x367dd2};if(_0x373c5e){let _0x262e26=(0x0,_0x313b04['attachRangeWithCoord'])(_0x3d0202,_0x373c5e),_0x443e66=(0x0,_0x313b04[_0x5cee3c(0x511)])(_0x1d73f2,_0x3ec340);if(_0x262e26&&_0x443e66){let _0x321f37=_0x443e66[_0x5cee3c(0x3be)]-_0x262e26['startX'],_0x4e0ade=_0x443e66[_0x5cee3c(0x20a)]-_0x262e26[_0x5cee3c(0x20a)];_0x49ddec[_0x5cee3c(0x5a8)]=(_0x49ddec[_0x5cee3c(0x5a8)]??0x0)+_0x321f37,_0x49ddec['top']=(_0x49ddec[_0x5cee3c(0x1fe)]??0x0)+_0x4e0ade;}}else{let _0x4541cd=(0x0,_0x313b04[_0x5cee3c(0x511)])(_0x1d73f2,_0x3ec340);_0x49ddec[_0x5cee3c(0x5a8)]=_0x4541cd==null?void 0x0:_0x4541cd[_0x5cee3c(0x3be)],_0x49ddec[_0x5cee3c(0x1fe)]=_0x4541cd==null?void 0x0:_0x4541cd[_0x5cee3c(0x20a)];}return{'transform':_0x49ddec,'sheetTransform':(0x0,_0x303a0f[_0x5cee3c(0x5f0)])(_0x49ddec,_0x1d73f2)??_0x4423dd};}};_0x99f73b=_0x2db00d([_0x24d873(0x0,(0x0,_0x29b193['Inject'])(_0x313b04[_0x53d83c(0x332)])),_0x24d873(0x1,(0x0,_0x29b193[_0x53d83c(0x6d2)])(_0x2d4cf1['ISheetClipboardService'])),_0x24d873(0x2,(0x0,_0x29b193[_0x53d83c(0x6d2)])(_0x303a0f['ISheetDrawingService'])),_0x24d873(0x3,(0x0,_0x29b193[_0x53d83c(0x6d2)])(_0x1593c9['ChartModelService'])),_0x24d873(0x4,(0x0,_0x29b193[_0x53d83c(0x6d2)])(_0x1593c9[_0x53d83c(0x663)])),_0x24d873(0x5,_0x29b193['IUniverInstanceService']),_0x24d873(0x6,_0x4b86b8['IDrawingManagerService']),_0x24d873(0x7,(0x0,_0x29b193[_0x53d83c(0x6d2)])(_0x313b04[_0x53d83c(0x398)]))],_0x99f73b);let _0x595d06=class extends _0x29b193['Disposable']{constructor(_0x29b891,_0x420e12,_0x25003a,_0x20b190){const _0x38bf04=_0x53d83c;super(),this[_0x38bf04(0x228)]=_0x29b891,this[_0x38bf04(0x1f7)]=_0x420e12,this[_0x38bf04(0x5c9)]=_0x25003a,this[_0x38bf04(0x5ca)]=_0x20b190,this[_0x38bf04(0x4a2)]();}[_0x53d83c(0x4a2)](){const _0xa579c0=_0x53d83c;this[_0xa579c0(0x661)](this[_0xa579c0(0x228)][_0xa579c0(0x343)](_0x40ec20=>{const _0x3c19c3=_0xa579c0;let _0x4ff3e9,_0x36525e;if(_0x40ec20['id']===_0x1593c9['InsertChartCommand']['id']){let _0x18978=_0x40ec20[_0x3c19c3(0x2d9)];_0x4ff3e9=_0x18978['unitId'],_0x36525e=_0x18978[_0x3c19c3(0x2fb)];}else{if(_0x40ec20['id']===_0x1593c9[_0x3c19c3(0x399)]['id']||_0x40ec20['id']===_0x1593c9[_0x3c19c3(0x602)]['id']){let _0x3a01ae=_0x40ec20['params'];_0x4ff3e9=_0x3a01ae['unitId'],_0x36525e=this[_0x3c19c3(0x5ca)][_0x3c19c3(0x4ca)](_0x3a01ae['unitId'],_0x3a01ae[_0x3c19c3(0x562)]);}}_0x4ff3e9&&_0x36525e&&(this['_sheetPermissionCheckController']['permissionCheckWithoutRange']({'workbookTypes':[_0x313b04[_0x3c19c3(0x640)]],'worksheetTypes':[_0x313b04[_0x3c19c3(0x4e1)]]},_0x4ff3e9,_0x36525e)||this[_0x3c19c3(0x5c9)]['blockExecuteWithoutPermission'](this['_localeService']['t'](_0x3c19c3(0x6da))));}));}};_0x595d06=_0x2db00d([_0x24d873(0x0,(0x0,_0x29b193['Inject'])(_0x29b193[_0x53d83c(0x456)])),_0x24d873(0x1,(0x0,_0x29b193['Inject'])(_0x29b193[_0x53d83c(0x3e6)])),_0x24d873(0x2,(0x0,_0x29b193['Inject'])(_0x313b04[_0x53d83c(0x398)])),_0x24d873(0x3,(0x0,_0x29b193['Inject'])(_0x1593c9[_0x53d83c(0x663)]))],_0x595d06);let _0x3ebe35=class extends _0x29b193[_0x53d83c(0x4a6)]{constructor(_0x52ce52,_0x2400a2){const _0xcf90a0=_0x53d83c;super(),this[_0xcf90a0(0x616)]=_0x2400a2,this[_0xcf90a0(0x661)](_0x52ce52['register'](this));}[_0x53d83c(0x3f2)](_0x4957cb){const _0x1225d8=_0x53d83c;return _0x1225d8(0x501)in _0x4957cb&&'subUnitId'in _0x4957cb;}[_0x53d83c(0x39f)](_0x5299e8,_0x3564c4){const _0x51c47f=_0x53d83c;return this['_renderService'][_0x51c47f(0x39f)](_0x5299e8[_0x51c47f(0x578)](),_0x3564c4);}};_0x3ebe35=_0x2db00d([_0x24d873(0x0,(0x0,_0x29b193[_0x53d83c(0x6d2)])(_0x2132f2[_0x53d83c(0x277)])),_0x24d873(0x1,(0x0,_0x29b193['Inject'])(_0x3064f4))],_0x3ebe35);let _0x616357=class extends _0x29b193['Plugin']{constructor(_0x4bebe2=_0x4420ef,_0x20ffcd,_0x259553,_0xc22a1e){const _0x538997=_0x53d83c;super(),this[_0x538997(0x258)]=_0x4bebe2,this[_0x538997(0x348)]=_0x20ffcd,this[_0x538997(0x47e)]=_0x259553,this[_0x538997(0x228)]=_0xc22a1e;let {..._0x1becfb}=(0x0,_0x29b193['merge'])({},_0x4420ef,this[_0x538997(0x258)]);this[_0x538997(0x47e)]['setConfig'](_0x583c49,_0x1becfb),this['_initCommands']();}['onStarting'](){const _0x33ba87=_0x53d83c;let _0x3a8ef7=[[_0x1cbf60],[_0x316a04,{'useClass':_0x11991e}],[_0x1bd436,{'useClass':_0x4fd093}],[_0x4a18f2],[_0x3064f4],[_0x3ebe35],[_0x3460d1],[_0x843ef2],[_0x6b0216],[_0x99f73b],[_0x595d06]],_0x3603f7=[[_0x1cbf60],[_0x3460d1],[_0x6b0216],[_0x843ef2],[_0x3ebe35],[_0x316a04],[_0x99f73b],[_0x595d06]];_0x3a8ef7['forEach'](_0x48ef7b=>this['_injector'][_0x33ba87(0x42b)](_0x48ef7b)),(0x0,_0x29b193[_0x33ba87(0x629)])(this['_injector'],_0x3603f7);}[_0x53d83c(0x65a)](){const _0x3af286=_0x53d83c;var _0x1156b5;(_0x1156b5=this[_0x3af286(0x348)][_0x3af286(0x519)](_0x3460d1))==null||_0x1156b5[_0x3af286(0x49d)]();}[_0x53d83c(0x338)](){const _0xf1057c=_0x53d83c;[_0x2553ca,_0x5f10b8][_0xf1057c(0x646)](_0x10f185=>this[_0xf1057c(0x661)](this[_0xf1057c(0x228)][_0xf1057c(0x50c)](_0x10f185)));}};_0x3e8fbf(_0x616357,'type',_0x29b193[_0x53d83c(0x216)][_0x53d83c(0x222)]),_0x3e8fbf(_0x616357,_0x53d83c(0x26c),'UniverSheetsChartUIPlugin'),_0x3e8fbf(_0x616357,_0x53d83c(0x2d2),_0xb3ca54),_0x3e8fbf(_0x616357,_0x53d83c(0x34f),_0xdca65),_0x616357=_0x2db00d([(0x0,_0x29b193[_0x53d83c(0x3d9)])(_0x358ed8[_0x53d83c(0x23e)],_0x4b86b8[_0x53d83c(0x5af)],_0x4feb4f['UniverRenderEnginePlugin'],_0x313b04[_0x53d83c(0x2f2)],_0x303a0f[_0x53d83c(0x623)],_0x2132f2['UniverChartMobileUIPlugin'],_0x1593c9[_0x53d83c(0x4b2)],_0x379e87[_0x53d83c(0x67e)],_0x42e6b5[_0x53d83c(0x563)],_0x2d4cf1[_0x53d83c(0x38c)],_0x3862b0[_0x53d83c(0x388)]),_0x24d873(0x1,(0x0,_0x29b193['Inject'])(_0x29b193['Injector'])),_0x24d873(0x2,_0x29b193[_0x53d83c(0x341)]),_0x24d873(0x3,_0x29b193[_0x53d83c(0x456)])],_0x616357);let _0x4f25b3={'scaleX':0x1,'scaleY':0x1};function _0x50c49c(_0x1b0c24){const _0x580f10=_0x53d83c;let _0x3c0e79=_0x1b0c24[_0x580f10(0x470)];return _0x3c0e79 instanceof MouseEvent?_0x3c0e79:void 0x0;}function _0x4884d3(_0x3cc178){const _0x22c860=_0x53d83c;let _0x5c2f9c=_0x3cc178[_0x22c860(0x470)],_0x495262=_0x5c2f9c==null?void 0x0:_0x5c2f9c['target'];return _0x495262 instanceof Element?_0x495262:void 0x0;}function _0x21d2f1(_0x5a5586){const _0x369fe8=_0x53d83c;var _0x1f3353;return(_0x1f3353=_0x4884d3(_0x5a5586))==null?void 0x0:_0x1f3353[_0x369fe8(0x539)]();}function _0x3c8e2b(_0x45da21){const _0x4f19e0=_0x53d83c;return _0x45da21[_0x4f19e0(0x443)]||_0x45da21['right']-_0x45da21[_0x4f19e0(0x5a8)];}function _0x354618(_0x3745a0){const _0x4cc21e=_0x53d83c;return _0x3745a0[_0x4cc21e(0x2db)]||_0x3745a0[_0x4cc21e(0x2e8)]-_0x3745a0[_0x4cc21e(0x1fe)];}function _0x2b304c(_0x4a0305,_0x520216){const _0x3c1a71=_0x53d83c;let _0x1de76e=_0x4a0305[_0x3c1a71(0x3eb)]||(_0x4a0305 instanceof HTMLElement?_0x4a0305[_0x3c1a71(0x52d)]:0x0),_0x1f27c3=_0x4a0305[_0x3c1a71(0x42c)]||(_0x4a0305 instanceof HTMLElement?_0x4a0305[_0x3c1a71(0x43d)]:0x0),_0x300e47=_0x3c8e2b(_0x520216),_0x238555=_0x354618(_0x520216);return{'scaleX':_0x1de76e>0x0&&_0x300e47>0x0?_0x300e47/_0x1de76e:_0x4f25b3[_0x3c1a71(0x366)],'scaleY':_0x1f27c3>0x0&&_0x238555>0x0?_0x238555/_0x1f27c3:_0x4f25b3['scaleY']};}function _0xebd8(_0x194ee6,_0xa1bc3a,_0x46815f){const _0xc65b59=_0x53d83c;return{'left':_0x194ee6['left']+_0xa1bc3a[_0xc65b59(0x5a8)]*_0x46815f['scaleX'],'right':_0x194ee6[_0xc65b59(0x5a8)]+_0xa1bc3a[_0xc65b59(0x56d)]*_0x46815f[_0xc65b59(0x366)],'top':_0x194ee6[_0xc65b59(0x1fe)]+_0xa1bc3a[_0xc65b59(0x1fe)]*_0x46815f[_0xc65b59(0x598)],'bottom':_0x194ee6[_0xc65b59(0x1fe)]+_0xa1bc3a[_0xc65b59(0x2e8)]*_0x46815f[_0xc65b59(0x598)]};}function _0x13c04c(_0x284c92){const _0x578797=_0x53d83c;let _0xf0d77=_0x4884d3(_0x284c92),_0x4b75a0=_0x284c92[_0x578797(0x2e5)]['bounds'];if(_0xf0d77&&_0x4b75a0){let _0xa76adb=_0xf0d77[_0x578797(0x539)]();return()=>{const _0x4f40f1=_0x578797;let _0x159e59=_0xf0d77[_0x4f40f1(0x539)]();return(_0xf0d77['isConnected']||_0x3c8e2b(_0x159e59)>0x0||_0x354618(_0x159e59)>0x0)&&(_0xa76adb=_0x159e59),_0xebd8(_0xa76adb,_0x4b75a0,_0x2b304c(_0xf0d77,_0xa76adb));};}return()=>{const _0x46bec5=_0x578797;let _0x29b1cb=_0x21d2f1(_0x284c92);if(_0x29b1cb&&_0x4b75a0)return _0xebd8(_0x29b1cb,_0x4b75a0,_0xf0d77?_0x2b304c(_0xf0d77,_0x29b1cb):_0x4f25b3);let _0x5b75ad=_0x50c49c(_0x284c92),_0x163568=_0xf0d77&&_0x29b1cb?_0x2b304c(_0xf0d77,_0x29b1cb):_0x4f25b3,_0x177c9b=(_0x5b75ad==null?void 0x0:_0x5b75ad[_0x46bec5(0x6c2)])??(_0x29b1cb?_0x29b1cb[_0x46bec5(0x5a8)]+_0x284c92[_0x46bec5(0x4bf)]['x']*_0x163568[_0x46bec5(0x366)]:_0x284c92[_0x46bec5(0x4bf)]['x']),_0x4ff02c=(_0x5b75ad==null?void 0x0:_0x5b75ad['clientY'])??(_0x29b1cb?_0x29b1cb[_0x46bec5(0x1fe)]+_0x284c92[_0x46bec5(0x4bf)]['y']*_0x163568[_0x46bec5(0x598)]:_0x284c92[_0x46bec5(0x4bf)]['y']);return{'left':_0x177c9b,'right':_0x177c9b+0x1,'top':_0x4ff02c,'bottom':_0x4ff02c+0x1};};}function _0x59f50e(_0x52925f){const _0x1e76de=_0x53d83c;return typeof _0x52925f==_0x1e76de(0x208)&&Number[_0x1e76de(0x287)](_0x52925f);}function _0x1d6978(_0x4076fd){const _0x19f4c=_0x53d83c;if(!_0x4076fd||typeof _0x4076fd!=_0x19f4c(0x22b))return!0x0;let {startX:_0x2d90bf,endX:_0x12cfe8,startY:_0x7ec0cd,endY:_0x15e7dc}=_0x4076fd;return!_0x59f50e(_0x2d90bf)||!_0x59f50e(_0x12cfe8)||!_0x59f50e(_0x7ec0cd)||!_0x59f50e(_0x15e7dc)||_0x12cfe8-_0x2d90bf>0x2&&_0x15e7dc-_0x7ec0cd>0x2;}function _0x3844e9(_0x2e4897){const _0x23b632=_0x53d83c;return _0x2e4897[_0x23b632(0x56d)]<=_0x2e4897[_0x23b632(0x5a8)]||_0x2e4897['bottom']<=_0x2e4897[_0x23b632(0x1fe)]?!0x1:typeof window>'u'||_0x2e4897[_0x23b632(0x56d)]>0x0&&_0x2e4897[_0x23b632(0x2e8)]>0x0&&_0x2e4897['left']<window[_0x23b632(0x20f)]&&_0x2e4897[_0x23b632(0x1fe)]<window[_0x23b632(0x259)];}function _0x3a696d(_0x301342){const _0x3b790b=_0x53d83c;var _0x2555fe;return _0x301342==null||(_0x2555fe=_0x301342[_0x3b790b(0x5ba)])==null?void 0x0:_0x2555fe[_0x3b790b(0x67b)](_0x301342);}function _0x2441a8(_0x149243,_0x29b17b,_0x2e90a6){const _0x42363e=_0x53d83c;let _0x30164f=_0x13c04c(_0x149243),_0x206e61=_0x3a696d(_0x29b17b),_0x55c2ed=_0x30164f(),_0x1af29c=new _0x482a91[(_0x42363e(0x234))](_0x55c2ed),_0xe1bd1f=new _0x29b193['DisposableCollection'](),_0x87af0b=!0x1,_0x1fd45a=!0x1,_0xffcc4=_0x106536=>_0x1d6978(_0x206e61)&&_0x3844e9(_0x106536),_0x27b499=()=>{_0x1fd45a||_0x87af0b||(_0x1fd45a=!0x0,queueMicrotask(()=>{const _0x202917=_0x18ca;if(_0x1fd45a=!0x1,!_0x87af0b){let _0x16f704=_0x30164f();if(!_0xffcc4(_0x16f704)){_0x2e90a6();return;}_0x1af29c[_0x202917(0x449)](_0x16f704);}}));};return _0x29b17b&&_0xe1bd1f[_0x42363e(0x42b)](_0x29b17b[_0x42363e(0x3ee)](_0x22e74a=>{_0x206e61=_0x22e74a,_0x27b499();})),typeof window<'u'&&_0xe1bd1f[_0x42363e(0x42b)]((0x0,_0x482a91[_0x42363e(0x205)])((0x0,_0x482a91[_0x42363e(0x5ef)])(window,'scroll',{'capture':!0x0}),(0x0,_0x482a91[_0x42363e(0x5ef)])(window,'resize'))['pipe']((0x0,_0x482a91['throttleTime'])(0x10))[_0x42363e(0x3ee)](_0x27b499)),{'initialRect':_0x55c2ed,'anchorRect$':_0x1af29c[_0x42363e(0x678)](),'visible':_0xffcc4(_0x55c2ed),'dispose':()=>{const _0x3b2cbf=_0x42363e;_0x87af0b=!0x0,_0xe1bd1f['dispose'](),_0x1af29c[_0x3b2cbf(0x530)]();}};}let _0x26ecbd=_0x53d83c(0x515),_0x3083bd=class extends _0x29b193[_0x53d83c(0x4a6)]{constructor(_0x474d57,_0x1be49d,_0x3bdf2d,_0x301e50,_0x263a93,_0x4cb22e,_0x38bcdb,_0x1592bd,_0x2956b7){const _0x5f4008=_0x53d83c;super(),this[_0x5f4008(0x317)]=_0x474d57,this[_0x5f4008(0x691)]=_0x1be49d,this['_chartHostProvider']=_0x3bdf2d,this[_0x5f4008(0x3a9)]=_0x301e50,this[_0x5f4008(0x3c9)]=_0x263a93,this[_0x5f4008(0x324)]=_0x4cb22e,this[_0x5f4008(0x518)]=_0x38bcdb,this[_0x5f4008(0x228)]=_0x1592bd,this[_0x5f4008(0x348)]=_0x2956b7,_0x3e8fbf(this,_0x5f4008(0x43a),null),_0x3e8fbf(this,'_popupChartId',null),_0x3e8fbf(this,_0x5f4008(0x6b4),null),this[_0x5f4008(0x507)](),this[_0x5f4008(0x27c)]();}['dispose'](){const _0x395efa=_0x53d83c;this[_0x395efa(0x244)](),super[_0x395efa(0x3cb)]();}[_0x53d83c(0x507)](){const _0x3ea8ed=_0x53d83c;let _0x41e25c=(0x0,_0x2132f2[_0x3ea8ed(0x2bf)])({'chartUIService':this[_0x3ea8ed(0x324)],'getHostAdapter':_0x2aa31f=>{const _0x24316b=_0x3ea8ed;let _0x3da61b=this[_0x24316b(0x317)][_0x24316b(0x209)](_0x2aa31f['chartId']);if(_0x3da61b&&_0x2aa31f['subUnitId'])return new _0x2132f2['ChartHostAdapter'](_0x3da61b,new _0x1593c9[(_0x24316b(0x63c))]({'unitId':_0x2aa31f['unitId'],'subUnitId':_0x2aa31f['subUnitId'],'chartId':_0x2aa31f[_0x24316b(0x6d8)],'injector':this[_0x24316b(0x348)]}));},'close':()=>this[_0x3ea8ed(0x244)](),'openFullPanel':_0x3ef348=>{const _0x59bd2d=_0x3ea8ed;let {unitId:_0x2ea169,subUnitId:_0x48c666,drawingId:_0x483597,chartId:_0x39a390}=_0x3ef348,_0x23c319=(0x0,_0x2132f2[_0x59bd2d(0x5d7)])(_0x3ef348[_0x59bd2d(0x6d3)]);this[_0x59bd2d(0x228)][_0x59bd2d(0x610)](_0x5f10b8['id'],{'unitId':_0x2ea169,'subUnitId':_0x48c666??'','drawingId':_0x483597??_0x39a390,..._0x23c319?{'route':_0x23c319}:{}});}});this[_0x3ea8ed(0x661)](this[_0x3ea8ed(0x518)][_0x3ea8ed(0x573)](_0x26ecbd,_0x41e25c));}['_subscribeChartEvents'](){const _0x12e9b1=_0x53d83c;this[_0x12e9b1(0x661)](this[_0x12e9b1(0x317)]['chartModelAdded$']['subscribe'](_0x197baa=>{const _0x9428d8=_0x12e9b1;let _0x552b34=new _0x29b193['DisposableCollection']();_0x552b34[_0x9428d8(0x42b)](this['_chartRenderService']['on'](_0x197baa['id'],_0x9428d8(0x403),_0x2ecfae=>{const _0x176f6e=_0x9428d8;this[_0x176f6e(0x35d)](_0x197baa['id'],_0x2ecfae);})),_0x552b34[_0x9428d8(0x42b)](this[_0x9428d8(0x691)]['on'](_0x197baa['id'],_0x9428d8(0x5b8),()=>{this['_openEditPanelByDoubleClick'](_0x197baa['id']);})),_0x197baa['onDispose'](()=>{const _0x39f344=_0x9428d8;_0x552b34['dispose'](),this[_0x39f344(0x420)](_0x197baa['id']);}),this[_0x9428d8(0x661)](_0x552b34);})),this[_0x12e9b1(0x661)]((0x0,_0x482a91['combineLatest'])([this[_0x12e9b1(0x317)][_0x12e9b1(0x40d)],this['_chartUIService'][_0x12e9b1(0x2b1)]])[_0x12e9b1(0x3ee)](([_0x3710b0,_0x397458])=>{const _0x4cb6a0=_0x12e9b1;(!_0x397458||this[_0x4cb6a0(0x241)]&&(_0x3710b0==null?void 0x0:_0x3710b0['id'])!==this[_0x4cb6a0(0x241)])&&this[_0x4cb6a0(0x244)]();})),this[_0x12e9b1(0x661)](this[_0x12e9b1(0x3c9)]['transformChange$'][_0x12e9b1(0x3ee)](({id:_0x491c06})=>{const _0x40af8a=_0x12e9b1;this[_0x40af8a(0x420)](_0x491c06);})),this['disposeWithMe'](this[_0x12e9b1(0x3c9)][_0x12e9b1(0x50b)]['subscribe'](({id:_0x4f8a19})=>{const _0xbf7749=_0x12e9b1;this[_0xbf7749(0x420)](_0x4f8a19);})),this[_0x12e9b1(0x661)](this[_0x12e9b1(0x363)][_0x12e9b1(0x48b)][_0x12e9b1(0x3ee)](_0x424013=>{const _0x41160a=_0x12e9b1;this[_0x41160a(0x420)](_0x424013);}));}[_0x53d83c(0x1ee)](_0x40833f){const _0x17bd0c=_0x53d83c;if(this['_chartUIService'][_0x17bd0c(0x51d)])return;let _0x77bd64=this[_0x17bd0c(0x317)][_0x17bd0c(0x209)](_0x40833f),_0x778e77=this[_0x17bd0c(0x3c9)][_0x17bd0c(0x3b3)](_0x40833f);_0x77bd64&&_0x778e77&&this[_0x17bd0c(0x228)][_0x17bd0c(0x610)](_0x5f10b8['id'],{'unitId':_0x778e77[_0x17bd0c(0x501)],'subUnitId':_0x778e77['subUnitId']??'','drawingId':_0x40833f});}[_0x53d83c(0x35d)](_0x5dbafe,_0x4b2314){const _0xbfeff9=_0x53d83c;if(!this[_0xbfeff9(0x324)][_0xbfeff9(0x253)](_0x5dbafe))return;let _0x20c390=this['_chartModelService'][_0xbfeff9(0x209)](_0x5dbafe),_0x3fee4c=_0x20c390?_0x18704a(_0x20c390,_0x4b2314[_0xbfeff9(0x2e5)]):void 0x0;if(!_0x3fee4c){this[_0xbfeff9(0x324)][_0xbfeff9(0x45a)](),this['_closePopup']();return;}let _0x980fe1=this[_0xbfeff9(0x3c9)][_0xbfeff9(0x3b3)](_0x5dbafe);if(!_0x20c390||!_0x980fe1){this[_0xbfeff9(0x324)][_0xbfeff9(0x45a)](),this['_closePopup']();return;}let _0x45da2e=JSON[_0xbfeff9(0x432)]([_0x980fe1['unitId'],_0x980fe1[_0xbfeff9(0x2fb)],_0x5dbafe,_0x3fee4c[_0xbfeff9(0x6d3)]]);if(this['_popupDisposable']&&this[_0xbfeff9(0x6b4)]===_0x45da2e||(this[_0xbfeff9(0x324)][_0xbfeff9(0x4c1)](_0x5dbafe,_0x3fee4c[_0xbfeff9(0x21e)]),this[_0xbfeff9(0x244)](),!_0x3fee4c['showFloatMenu']))return;let _0x28f6b5=_0x2441a8(_0x4b2314,_0x980fe1[_0xbfeff9(0x6a3)],()=>this[_0xbfeff9(0x67a)](_0x5dbafe));if(!_0x28f6b5['visible']){_0x28f6b5['dispose']();return;}let _0x525e2b=this[_0xbfeff9(0x3a9)][_0xbfeff9(0x35a)](_0x28f6b5[_0xbfeff9(0x4e0)],_0x28f6b5[_0xbfeff9(0x4da)],{'componentKey':_0x2132f2[_0xbfeff9(0x6b9)],'constrainToCanvas':!0x0,'direction':_0xbfeff9(0x267),'offset':[0x0,0x8],'extraProps':{'unitId':_0x980fe1[_0xbfeff9(0x501)],'subUnitId':_0x980fe1[_0xbfeff9(0x2fb)],'chartId':_0x5dbafe,'drawingId':_0x5dbafe,'element':_0x4b2314[_0xbfeff9(0x2e5)],'target':_0x3fee4c['target'],'adapterKey':_0x26ecbd}},_0x980fe1[_0xbfeff9(0x501)],_0x980fe1[_0xbfeff9(0x2fb)])??null;if(!_0x525e2b){_0x28f6b5[_0xbfeff9(0x3cb)]();return;}let _0x224c33=new _0x29b193['DisposableCollection']();_0x224c33[_0xbfeff9(0x42b)](_0x525e2b),_0x224c33[_0xbfeff9(0x42b)](_0x28f6b5),this[_0xbfeff9(0x43a)]=_0x224c33,this['_popupChartId']=_0x5dbafe,this[_0xbfeff9(0x6b4)]=_0x45da2e;}[_0x53d83c(0x244)](){const _0x108e29=_0x53d83c;var _0x4e4330;(_0x4e4330=this[_0x108e29(0x43a)])==null||_0x4e4330[_0x108e29(0x3cb)](),this[_0x108e29(0x43a)]=null,this[_0x108e29(0x241)]=null,this[_0x108e29(0x6b4)]=null;}[_0x53d83c(0x420)](_0x5e5003){const _0x213e16=_0x53d83c;(this[_0x213e16(0x324)][_0x213e16(0x253)](_0x5e5003)||this[_0x213e16(0x241)]===_0x5e5003)&&(this[_0x213e16(0x324)]['clearPanelRoute'](),this['_popupChartId']===_0x5e5003&&this[_0x213e16(0x244)]());}[_0x53d83c(0x67a)](_0x297766){const _0x2e70eb=_0x53d83c;this[_0x2e70eb(0x420)](_0x297766),this['_chartUIService'][_0x2e70eb(0x253)](_0x297766)&&(this['_chartRenderService'][_0x2e70eb(0x52e)](_0x297766,!0x1),this['_chartRenderService']['setElementEditMode'](_0x297766,!0x0));}};_0x3083bd=_0x2db00d([_0x24d873(0x0,(0x0,_0x29b193[_0x53d83c(0x6d2)])(_0x1593c9['ChartModelService'])),_0x24d873(0x1,(0x0,_0x29b193[_0x53d83c(0x6d2)])(_0x3064f4)),_0x24d873(0x2,_0x1bd436),_0x24d873(0x3,(0x0,_0x29b193[_0x53d83c(0x6d2)])(_0x2d4cf1[_0x53d83c(0x463)])),_0x24d873(0x4,(0x0,_0x29b193[_0x53d83c(0x6d2)])(_0x379e87[_0x53d83c(0x6bf)])),_0x24d873(0x5,_0x316a04),_0x24d873(0x6,(0x0,_0x29b193['Inject'])(_0x2132f2['ChartElementFloatMenuAdapterRegistry'])),_0x24d873(0x7,_0x29b193['ICommandService']),_0x24d873(0x8,(0x0,_0x29b193[_0x53d83c(0x6d2)])(_0x29b193['Injector']))],_0x3083bd);function _0x2ede7a(_0x2ba81f){const _0x5e730c=_0x53d83c;var _0x2ab574;if(!_0x2ba81f[_0x5e730c(0x519)](_0x3064f4)[_0x5e730c(0x583)])return;let _0x1ad12f=(0x0,_0x313b04['getSheetCommandTarget'])(_0x2ba81f['get'](_0x29b193[_0x5e730c(0x233)]));if(!_0x1ad12f)return;let _0x603644=_0x1ad12f[_0x5e730c(0x212)][_0x5e730c(0x202)]()['type']??_0x29b193[_0x5e730c(0x5ec)][_0x5e730c(0x3d7)];if(_0x603644!==_0x29b193[_0x5e730c(0x5ec)][_0x5e730c(0x3d7)]&&_0x603644!==_0x29b193[_0x5e730c(0x5ec)][_0x5e730c(0x1e6)])return;let {unitId:_0x5aaa24,subUnitId:_0x37c286}=_0x1ad12f,_0x180106=_0x2ba81f[_0x5e730c(0x519)](_0x1593c9[_0x5e730c(0x663)]),_0x5876f2=_0x2ba81f[_0x5e730c(0x519)](_0x4b86b8['IDrawingManagerService'])[_0x5e730c(0x360)]();if(_0x5876f2[_0x5e730c(0x5d4)]>0x1)return;let _0x20eb81=_0x5876f2[0x0];if(_0x20eb81&&(_0x20eb81['unitId']!==_0x5aaa24||_0x20eb81[_0x5e730c(0x2fb)]!==_0x37c286))return;let _0x2141a3=(_0x20eb81==null?void 0x0:_0x20eb81[_0x5e730c(0x503)])??((_0x2ab574=_0x2ba81f['get'](_0x1593c9[_0x5e730c(0x65d)])[_0x5e730c(0x250)](_0x5aaa24,_0x37c286))==null?void 0x0:_0x2ab574['id']);if(!_0x2141a3||_0x180106['getSubUnitId'](_0x5aaa24,_0x2141a3)!==_0x37c286||!_0x180106[_0x5e730c(0x209)](_0x2141a3))return;let _0x3587b4=_0x2ba81f['get'](_0x303a0f[_0x5e730c(0x273)])['getDrawingByParam']({'unitId':_0x5aaa24,'subUnitId':_0x37c286,'drawingId':_0x2141a3});return(_0x3587b4==null?void 0x0:_0x3587b4[_0x5e730c(0x566)])===_0x29b193['DrawingTypeEnum']['DRAWING_CHART']&&!_0x3587b4[_0x5e730c(0x3ca)]?{'unitId':_0x5aaa24,'subUnitId':_0x37c286,'chartId':_0x2141a3}:void 0x0;}let _0x3b13e4={'id':_0x53d83c(0x2a3),'type':_0x29b193[_0x53d83c(0x325)][_0x53d83c(0x295)],'handler':_0x2d43c3=>_0x2d43c3['get'](_0x3097d6)[_0x53d83c(0x1e2)]()},_0x3a16bf=_0x53d83c(0x3f6);function _0x41a220(_0x37a731,_0x33e43c){const _0x4b6c6d=_0x53d83c;let _0x1af008=_0x37a731[_0x4b6c6d(0x519)](_0x1593c9[_0x4b6c6d(0x636)]);return(0x0,_0x2d4cf1[_0x4b6c6d(0x4c3)])(_0x37a731[_0x4b6c6d(0x519)](_0x29b193[_0x4b6c6d(0x233)]),!0x0,()=>(0x0,_0x482a91[_0x4b6c6d(0x205)])(_0x37a731[_0x4b6c6d(0x519)](_0x29b193[_0x4b6c6d(0x251)])[_0x4b6c6d(0x2a9)],_0x37a731[_0x4b6c6d(0x519)](_0x29b193[_0x4b6c6d(0x341)])[_0x4b6c6d(0x69b)](_0x358ed8[_0x4b6c6d(0x64d)]),_0x37a731[_0x4b6c6d(0x519)](_0x4b86b8[_0x4b6c6d(0x53c)])[_0x4b6c6d(0x5e9)],_0x1af008[_0x4b6c6d(0x40d)],_0x1af008['chartModelAdded$'],_0x1af008[_0x4b6c6d(0x4ab)])[_0x4b6c6d(0x28c)]((0x0,_0x482a91['startWith'])(null),(0x0,_0x482a91['map'])(()=>!_0x33e43c(_0x37a731)),(0x0,_0x482a91['distinctUntilChanged'])()));}function _0x254496(_0x443ff8){const _0x25d122=_0x53d83c;let _0xb44daf=_0x11e1da(_0x443ff8),{selections:_0x166062}=_0xb44daf,_0x8d0428=(0x0,_0x482a91[_0x25d122(0x35b)])(_0x166062)?_0x166062:(0x0,_0x482a91['of'])(_0x166062??[]);return{..._0xb44daf,'id':_0x3a16bf,'title':_0x25d122(0x4a9),'tooltip':_0x25d122(0x4a9),'hidden$':(0x0,_0x2d4cf1[_0x25d122(0x4c3)])(_0x443ff8[_0x25d122(0x519)](_0x29b193['IUniverInstanceService']),!0x0,({worksheet:_0x8c1e42})=>(0x0,_0x482a91['of'])(_0x8c1e42['getConfig']()[_0x25d122(0x3b2)]!==_0x29b193[_0x25d122(0x5ec)]['CHART'])),'disabled$':(0x0,_0x482a91[_0x25d122(0x3bc)])([_0x41a220(_0x443ff8,_0x136f27=>!!_0x4479cb(_0x136f27)),_0x8d0428])['pipe']((0x0,_0x482a91['map'])(([_0x13a7ef,_0x9498aa])=>_0x13a7ef||_0x9498aa[_0x25d122(0x5d4)]===0x0))};}function _0x4252ed(_0xef0d6c){const _0x294d39=_0x53d83c;return{'id':_0x3b13e4['id'],'commandId':_0x3b13e4['id'],'type':_0x3862b0[_0x294d39(0x5cc)]['BUTTON'],'title':'sheets-chart-ui.chartSheet.move.title','icon':_0x294d39(0x356),'hidden$':_0x41a220(_0xef0d6c,_0x4bc832=>!!_0x2ede7a(_0x4bc832)),'disabled$':_0x41a220(_0xef0d6c,_0x10ad91=>{const _0x259b1c=_0x294d39;let _0xf00e50=_0x2ede7a(_0x10ad91);return!!_0xf00e50&&_0x248f72(_0x10ad91,_0xf00e50[_0x259b1c(0x501)],_0xf00e50[_0x259b1c(0x2fb)]);})};}function _0x27e8a1(){const _0x1182ff=_0x53d83c;return{[_0x3862b0[_0x1182ff(0x3e3)]['RIBBON']]:{[_0x3862b0['RibbonPosition'][_0x1182ff(0x2ae)]]:{[_0x3862b0[_0x1182ff(0x40c)][_0x1182ff(0x34d)]]:{[_0x3a16bf]:{'order':0x4,'menuItemFactory':_0x254496}}}},[_0x3862b0[_0x1182ff(0x3c1)]['DRAWING']]:{[_0x3862b0['ContextMenuGroup'][_0x1182ff(0x6c3)]]:{[_0x3b13e4['id']]:{'order':0x2,'menuItemFactory':_0x4252ed}}}};}function _0x412e91(){const _0x496a2f=_0x53d83c;return{[_0x3862b0[_0x496a2f(0x3e3)][_0x496a2f(0x500)]]:{[_0x3862b0[_0x496a2f(0x3ac)]['INSERT']]:{[_0x3862b0['RibbonInsertGroup'][_0x496a2f(0x34d)]]:{[_0x3a16bf]:{'replace':!0x0}}}},[_0x3862b0[_0x496a2f(0x3c1)][_0x496a2f(0x5a0)]]:{[_0x3862b0[_0x496a2f(0x581)][_0x496a2f(0x6c3)]]:{[_0x3b13e4['id']]:{'replace':!0x0}}}};}let _0x28427c=_0x53d83c(0x46b);function _0x404106(_0x7bb561){const _0xa54c2e=_0x53d83c;var _0xf47a1b;let {unitId:_0xf23397,subUnitId:_0x325d44,chartId:_0x18a7ac,onClose:_0x2d967a}=_0x7bb561,_0x4f66cc=(0x0,_0x3862b0[_0xa54c2e(0x421)])(_0x29b193[_0xa54c2e(0x233)]),_0x495732=(0x0,_0x3862b0[_0xa54c2e(0x421)])(_0x1593c9['SheetsChartService']),_0x3001d2=(0x0,_0x3862b0[_0xa54c2e(0x421)])(_0x1593c9['ChartSheetService']),_0x3bf8ed=(0x0,_0x3862b0[_0xa54c2e(0x421)])(_0x1593c9['ChartModelService']),_0x242c6e=(0x0,_0x3862b0['useDependency'])(_0x303a0f[_0xa54c2e(0x273)]),_0x3df7da=(0x0,_0x3862b0[_0xa54c2e(0x421)])(_0x4b86b8[_0xa54c2e(0x53c)]),_0x4a92f5=(0x0,_0x3862b0['useDependency'])(_0x29b193[_0xa54c2e(0x456)]),_0x2b4578=(0x0,_0x3862b0[_0xa54c2e(0x421)])(_0x29b193[_0xa54c2e(0x404)]),_0x537148=(0x0,_0x3862b0['useDependency'])(_0x29b193['IPermissionService']),_0x4e1172=(0x0,_0x3862b0[_0xa54c2e(0x421)])(_0x313b04[_0xa54c2e(0x398)]),_0x3e413b=(0x0,_0x3862b0[_0xa54c2e(0x421)])(_0x29b193['LocaleService']);(0x0,_0x3862b0['useObservable'])(_0x3e413b[_0xa54c2e(0x48c)],_0x3e413b['getCurrentLocale']());let [,_0xbe5e2a]=(0x0,_0x57ab3a[_0xa54c2e(0x6ad)])(0x0),_0x4106ed=_0x4f66cc[_0xa54c2e(0x4c9)](_0xf23397,_0x29b193[_0xa54c2e(0x216)]['UNIVER_SHEET']),_0x105f44=_0x4106ed==null?void 0x0:_0x4106ed['getSheetBySheetId'](_0x325d44),_0xe0bf75=((_0xf47a1b=_0x3001d2[_0xa54c2e(0x250)](_0xf23397,_0x325d44))==null?void 0x0:_0xf47a1b['id'])===_0x18a7ac,[_0x41c901,_0x1c6cd7]=(0x0,_0x57ab3a[_0xa54c2e(0x6ad)])(_0xe0bf75?_0xa54c2e(0x597):_0xa54c2e(0x2cf)),[_0x3562f7,_0x607b5c]=(0x0,_0x57ab3a['useState'])(()=>_0xe0bf75?(_0x105f44==null?void 0x0:_0x105f44[_0xa54c2e(0x4dd)]())??'':(_0x4106ed==null?void 0x0:_0x4106ed['generateNewSheetName'](_0x3e413b['t'](_0xa54c2e(0x658))))??''),[_0x51719a,_0x40ac88]=(0x0,_0x57ab3a['useState'])(_0x325d44),[_0x1e3175,_0x5b2710]=(0x0,_0x57ab3a['useState'])(),[_0x5077f8,_0xf44d69]=(0x0,_0x57ab3a[_0xa54c2e(0x6ad)])(!0x1),_0x4cb5cf=(0x0,_0x57ab3a[_0xa54c2e(0x309)])(!0x1),_0x10fb98=(0x0,_0x57ab3a[_0xa54c2e(0x309)])(!0x0),_0x5d8aae=(0x0,_0x57ab3a[_0xa54c2e(0x309)])(null);(0x0,_0x57ab3a[_0xa54c2e(0x62f)])(()=>{const _0x29ab39=_0xa54c2e;_0x10fb98[_0x29ab39(0x3da)]=!0x0;let _0x86f745=new _0x29b193[(_0x29ab39(0x36f))](),_0x4cc518=()=>_0xbe5e2a(_0x52aead=>_0x52aead+0x1);return _0x86f745[_0x29ab39(0x42b)](_0x537148['permissionPointUpdate$']['subscribe'](_0x4cc518)),_0x86f745[_0x29ab39(0x42b)](_0x3bf8ed[_0x29ab39(0x357)][_0x29ab39(0x3ee)](_0x4cc518)),_0x86f745[_0x29ab39(0x42b)](_0x3bf8ed[_0x29ab39(0x4ab)]['subscribe'](_0x4cc518)),_0x86f745[_0x29ab39(0x42b)](_0x3df7da[_0x29ab39(0x491)][_0x29ab39(0x3ee)](_0x4cc518)),_0x86f745[_0x29ab39(0x42b)](_0x3df7da['remove$']['subscribe'](_0x4cc518)),_0x86f745[_0x29ab39(0x42b)](_0x4a92f5[_0x29ab39(0x677)](_0x4cc518)),_0x86f745[_0x29ab39(0x42b)](_0x4f66cc[_0x29ab39(0x257)][_0x29ab39(0x3ee)](_0x15f4e6=>{const _0x5cce15=_0x29ab39;if(_0x15f4e6[_0x5cce15(0x384)]()===_0xf23397){var _0x243fce;(_0x243fce=_0x5d8aae[_0x5cce15(0x3da)])==null||_0x243fce[_0x5cce15(0x67b)](_0x5d8aae);}_0x4cc518();})),()=>{const _0x29bc27=_0x29ab39;var _0x2ed3bb;_0x10fb98['current']=!0x1,(_0x2ed3bb=_0x5d8aae[_0x29bc27(0x3da)])==null||_0x2ed3bb['call'](_0x5d8aae),_0x86f745[_0x29bc27(0x3cb)]();};},[_0x4a92f5,_0x3df7da,_0x4f66cc,_0x3bf8ed,_0x537148,_0xf23397]);let _0x5db495=_0x495732[_0xa54c2e(0x209)](_0x18a7ac),_0x58e2d4=_0x242c6e[_0xa54c2e(0x381)]({'unitId':_0xf23397,'subUnitId':_0x325d44,'drawingId':_0x18a7ac}),_0x46f047=!!_0x4106ed&&!!_0x105f44&&!!_0x5db495&&_0x495732['getSubUnitId'](_0xf23397,_0x18a7ac)===_0x325d44&&(_0x58e2d4==null?void 0x0:_0x58e2d4[_0xa54c2e(0x566)])===_0x29b193[_0xa54c2e(0x5d5)]['DRAWING_CHART']&&!_0x58e2d4['groupId'];(0x0,_0x57ab3a[_0xa54c2e(0x62f)])(()=>{const _0x20459f=_0xa54c2e;!_0x46f047&&!_0x4cb5cf[_0x20459f(0x3da)]&&_0x2d967a();},[_0x2d967a,_0x46f047]);let _0x373cac=_0x49ef65=>_0x4e1172[_0xa54c2e(0x688)]({'workbookTypes':[_0x313b04[_0xa54c2e(0x640)]],'worksheetTypes':[_0x313b04['WorksheetEditPermission']]},_0xf23397,_0x49ef65),_0x17f517=((_0x4106ed==null?void 0x0:_0x4106ed[_0xa54c2e(0x22f)]())??[])[_0xa54c2e(0x435)](_0x1e97ba=>({'value':_0x1e97ba[_0xa54c2e(0x48e)](),'disabled':!_0x373cac(_0x1e97ba[_0xa54c2e(0x48e)]()),'label':(0x0,_0x422fa2[_0xa54c2e(0x36d)])(_0xa54c2e(0x2f4),{'className':_0xa54c2e(0x5f4),'children':[_0x1e97ba[_0xa54c2e(0x202)]()['type']===_0x29b193[_0xa54c2e(0x5ec)][_0xa54c2e(0x1e6)]?(0x0,_0x422fa2['jsx'])(_0x55a0fc,{}):(0x0,_0x422fa2[_0xa54c2e(0x438)])(_0x3220fa,{}),_0x1e97ba[_0xa54c2e(0x4dd)]()]})})),_0x23cecd;if(!_0x46f047||!_0x373cac(_0x325d44))_0x23cecd='sheets-chart-ui.chartSheet.move.unavailable';else{if(_0x41c901===_0xa54c2e(0x597)){let _0xc5537e=_0x4106ed[_0xa54c2e(0x22f)]()['some'](_0x5ea5a3=>(!_0xe0bf75||_0x5ea5a3[_0xa54c2e(0x48e)]()!==_0x325d44)&&_0x5ea5a3['getName']()['toLowerCase']()===_0x3562f7[_0xa54c2e(0x282)]());!_0x3562f7['trim']()||!(0x0,_0x29b193[_0xa54c2e(0x44b)])(_0x3562f7)||_0xc5537e?_0x23cecd='sheets-chart-ui.chartSheet.move.invalidName':_0x4e1172[_0xa54c2e(0x688)]({'workbookTypes':[_0x313b04[_0xa54c2e(0x640)],_0xe0bf75?_0x313b04[_0xa54c2e(0x69c)]:_0x313b04[_0xa54c2e(0x36a)]]},_0xf23397,_0x325d44)||(_0x23cecd=_0xa54c2e(0x296));}else!_0x17f517[_0xa54c2e(0x4a1)](_0x5cca0e=>_0x5cca0e['value']===_0x51719a)||!_0x373cac(_0x51719a)?_0x23cecd=_0xa54c2e(0x296):_0xe0bf75&&_0x51719a!==_0x325d44&&(_0x3001d2[_0xa54c2e(0x5de)](_0xf23397,_0x325d44,_0x18a7ac)?_0x4e1172[_0xa54c2e(0x688)]({'workbookTypes':[_0x313b04['WorkbookDeleteSheetPermission']]},_0xf23397,_0x325d44)||(_0x23cecd=_0xa54c2e(0x296)):_0x23cecd=_0xa54c2e(0x508));}let _0x5f150f=_0x23cecd??_0x1e3175;return(0x0,_0x422fa2['jsxs'])(_0xa54c2e(0x4fe),{'dir':_0x3e413b[_0xa54c2e(0x473)](),'children':[(0x0,_0x422fa2[_0xa54c2e(0x36d)])(_0x3836fd[_0xa54c2e(0x442)],{'value':_0x41c901,'direction':_0xa54c2e(0x41d),'disabled':_0x5077f8,'onChange':_0x40f1ee=>{const _0x39549c=_0xa54c2e;(_0x40f1ee===_0x39549c(0x597)||_0x40f1ee==='existing')&&(_0x1c6cd7(_0x40f1ee),_0x5b2710(void 0x0));},'children':[(0x0,_0x422fa2[_0xa54c2e(0x438)])(_0x3836fd['Radio'],{'value':'new','children':_0x3e413b['t'](_0xa54c2e(0x2ee))}),(0x0,_0x422fa2[_0xa54c2e(0x438)])(_0x3836fd['Radio'],{'value':'existing','children':_0x3e413b['t']('sheets-chart-ui.chartSheet.move.objectIn')})]}),(0x0,_0x422fa2[_0xa54c2e(0x438)])(_0x3836fd['FormLayout'],{'className':_0xa54c2e(0x376),'label':_0x3e413b['t']('sheets-chart-ui.chartSheet.move.name'),'error':_0x41c901===_0xa54c2e(0x597)&&_0x5f150f?_0x3e413b['t'](_0x5f150f):void 0x0,'children':(0x0,_0x422fa2[_0xa54c2e(0x438)])(_0x3836fd[_0xa54c2e(0x307)],{'aria-label':_0x3e413b['t'](_0xa54c2e(0x25b)),'value':_0x3562f7,'disabled':_0x41c901!==_0xa54c2e(0x597)||_0x5077f8,'onChange':_0x195cc0=>{_0x607b5c(_0x195cc0),_0x5b2710(void 0x0);}})}),(0x0,_0x422fa2[_0xa54c2e(0x438)])(_0x3836fd['FormLayout'],{'label':_0x3e413b['t'](_0xa54c2e(0x397)),'error':_0x41c901==='existing'&&_0x5f150f?_0x3e413b['t'](_0x5f150f):void 0x0,'children':(0x0,_0x422fa2[_0xa54c2e(0x438)])(_0x3836fd[_0xa54c2e(0x601)],{'aria-label':_0x3e413b['t']('sheets-chart-ui.chartSheet.move.target'),'value':_0x51719a,'options':_0x17f517,'disabled':_0x41c901!==_0xa54c2e(0x2cf)||_0x5077f8,'onChange':_0x5a3ce0=>{_0x40ac88(_0x5a3ce0),_0x5b2710(void 0x0);}})}),(0x0,_0x422fa2[_0xa54c2e(0x36d)])(_0x3836fd[_0xa54c2e(0x6bd)],{'className':_0xa54c2e(0x291),'children':[(0x0,_0x422fa2[_0xa54c2e(0x438)])(_0x3836fd[_0xa54c2e(0x5b7)],{'disabled':_0x5077f8,'onClick':_0x2d967a,'children':_0x3e413b['t']('sheets-chart-ui.chartSheet.move.cancel')}),(0x0,_0x422fa2['jsx'])(_0x3836fd['Button'],{'variant':_0xa54c2e(0x3df),'disabled':_0x5077f8||!!_0x23cecd,'aria-busy':_0x5077f8,'onClick':async()=>{const _0x4d82f7=_0xa54c2e;if(!(_0x4cb5cf[_0x4d82f7(0x3da)]||_0x23cecd)){_0x4cb5cf[_0x4d82f7(0x3da)]=!0x0,_0xf44d69(!0x0),_0x5b2710(void 0x0);try{if(_0xe0bf75&&_0x41c901===_0x4d82f7(0x2cf)&&_0x51719a!==_0x325d44){if(!await new Promise(_0x4d3627=>{const _0x1b76b6=_0x4d82f7;let _0x572010=!0x1,_0xbeb4b4,_0xc91e33=_0x59f0ec=>{const _0x29e780=_0x18ca;_0x572010||(_0x572010=!0x0,_0x5d8aae[_0x29e780(0x3da)]=null,_0xbeb4b4==null||_0xbeb4b4[_0x29e780(0x681)](),_0x2b4578['close']('sheets-chart-ui.move-chart-dialog'),_0x4d3627(_0x59f0ec));};_0x2b4578[_0x1b76b6(0x3e1)]({'id':_0x1b76b6(0x46b),'title':{'title':_0x3e413b['t']('sheets-chart-ui.chartSheet.move.confirmTitle')},'children':{'title':_0x3e413b['t'](_0x1b76b6(0x460))},'cancelText':_0x3e413b['t'](_0x1b76b6(0x2cc)),'confirmText':_0x3e413b['t'](_0x1b76b6(0x68d)),'onConfirm':()=>_0xc91e33(!0x0),'onClose':()=>_0xc91e33(!0x1)}),_0x572010||(_0x5d8aae[_0x1b76b6(0x3da)]=()=>_0xc91e33(!0x1),_0xbeb4b4=_0x2b4578['confirmOptions$'][_0x1b76b6(0x3ee)](_0x4c7edf=>{const _0x45d67c=_0x1b76b6;_0x4c7edf[_0x45d67c(0x4a1)](_0x92617e=>_0x92617e['id']===_0x45d67c(0x46b)&&_0x92617e[_0x45d67c(0x444)])||_0xc91e33(!0x1);}),_0x572010&&_0xbeb4b4['unsubscribe']());})||!_0x10fb98['current'])return;let _0x5b1d3d=_0x4f66cc[_0x4d82f7(0x4c9)](_0xf23397,_0x29b193[_0x4d82f7(0x216)][_0x4d82f7(0x222)]);if(!(_0x5b1d3d!=null&&_0x5b1d3d['getSheetBySheetId'](_0x51719a))||_0x495732[_0x4d82f7(0x4ca)](_0xf23397,_0x18a7ac)!==_0x325d44||!_0x3001d2[_0x4d82f7(0x5de)](_0xf23397,_0x325d44,_0x18a7ac)||!_0x373cac(_0x325d44)||!_0x373cac(_0x51719a)||!_0x4e1172[_0x4d82f7(0x688)]({'workbookTypes':[_0x313b04[_0x4d82f7(0x41b)]]},_0xf23397,_0x325d44)){_0x5b2710(_0x4d82f7(0x296));return;}}await _0x4a92f5[_0x4d82f7(0x610)](_0x1593c9['MoveChartCommand']['id'],{'unitId':_0xf23397,'subUnitId':_0x325d44,'chartId':_0x18a7ac,'target':_0x41c901==='new'?{'type':_0x1593c9[_0x4d82f7(0x24b)]['NewSheet'],'name':_0x3562f7}:{'type':_0x1593c9[_0x4d82f7(0x24b)][_0x4d82f7(0x321)],'subUnitId':_0x51719a}})?_0x2d967a():_0x10fb98[_0x4d82f7(0x3da)]&&_0x5b2710(_0x4d82f7(0x55e));}catch{_0x10fb98[_0x4d82f7(0x3da)]&&_0x5b2710('sheets-chart-ui.chartSheet.move.failed');}finally{_0x4cb5cf[_0x4d82f7(0x3da)]=!0x1,_0x10fb98['current']&&_0xf44d69(!0x1);}}},'children':_0x3e413b['t'](_0xa54c2e(0x3b5))})]})]});}let _0x3097d6=class extends _0x29b193[_0x53d83c(0x4a6)]{constructor(_0x4bc31e,_0xbb4aeb,_0x21de9d,_0x4ecfb4,_0x266d1f,_0xb1c8c1,_0x1ec037,_0x2907c7,_0x3eaebf,_0x385bc1,_0x2a297d,_0x1c98f7){const _0x136a8e=_0x53d83c;super(),this['_chartSheetService']=_0x4bc31e,this['_drawingManagerService']=_0xbb4aeb,this[_0x136a8e(0x5c5)]=_0x21de9d,this[_0x136a8e(0x58e)]=_0x4ecfb4,this[_0x136a8e(0x20e)]=_0x266d1f,this[_0x136a8e(0x57f)]=_0x2907c7,this[_0x136a8e(0x2ad)]=_0x3eaebf,this[_0x136a8e(0x348)]=_0x385bc1,this['_localeService']=_0x2a297d,this[_0x136a8e(0x200)]=_0x1c98f7,_0x3e8fbf(this,'_primaryContextMenuBindings',new Map()),_0x3e8fbf(this,_0x136a8e(0x6cd),null),_0x3e8fbf(this,_0x136a8e(0x5e7),null),_0x3e8fbf(this,_0x136a8e(0x206),null),this[_0x136a8e(0x661)](_0x1ec037[_0x136a8e(0x50c)](_0x3b13e4)),this[_0x136a8e(0x661)](this[_0x136a8e(0x402)][_0x136a8e(0x6a7)](_0x270e4c=>{const _0x3ee03e=_0x136a8e;if(_0x270e4c['id']!==_0x57f250[_0x3ee03e(0x550)]['id'])return!0x0;let _0x442815=_0x270e4c[_0x3ee03e(0x2d9)];return!((_0x442815==null?void 0x0:_0x442815['drawings'])??this[_0x3ee03e(0x402)]['getFocusDrawings']())[_0x3ee03e(0x4a1)](_0x8a0a93=>{const _0x54b0f6=_0x3ee03e;var _0x53410b;return((_0x53410b=this[_0x54b0f6(0x61c)][_0x54b0f6(0x250)](_0x8a0a93['unitId'],_0x8a0a93[_0x54b0f6(0x2fb)]))==null?void 0x0:_0x53410b['id'])===_0x8a0a93['drawingId'];});})),this[_0x136a8e(0x661)](this[_0x136a8e(0x200)][_0x136a8e(0x257)][_0x136a8e(0x3ee)](_0x32228a=>{const _0x1fec66=_0x136a8e;var _0x1a5f24;_0x32228a[_0x1fec66(0x384)]()===((_0x1a5f24=this[_0x1fec66(0x206)])==null?void 0x0:_0x1a5f24[_0x1fec66(0x501)])&&this[_0x1fec66(0x533)](),_0x32228a[_0x1fec66(0x384)]()===this[_0x1fec66(0x6cd)]&&this[_0x1fec66(0x6db)]();})),this[_0x136a8e(0x661)](_0xb1c8c1[_0x136a8e(0x453)]({'id':_0x2d4cf1[_0x136a8e(0x59f)]['id'],'binding':_0x3862b0['KeyCode']['V']|_0x3862b0[_0x136a8e(0x5c2)][_0x136a8e(0x48f)],'preconditions':_0x1a00e2=>{const _0x363e2a=_0x136a8e;var _0x2b3e60;return _0x1a00e2['getContextValue'](_0x29b193[_0x363e2a(0x4ce)])&&!_0x1a00e2[_0x363e2a(0x38f)](_0x29b193['EDITOR_ACTIVATED'])&&!_0x1a00e2[_0x363e2a(0x38f)](_0x29b193[_0x363e2a(0x51f)])&&((_0x2b3e60=(0x0,_0x313b04[_0x363e2a(0x370)])(this[_0x363e2a(0x200)]))==null?void 0x0:_0x2b3e60[_0x363e2a(0x212)][_0x363e2a(0x202)]()[_0x363e2a(0x3b2)])===_0x29b193['SheetTypes']['CHART'];},'eventPreconditions':_0x23351f=>{const _0x3c9376=_0x136a8e;if(!(_0x23351f['target']instanceof HTMLElement))return!0x0;let _0x223150=_0x23351f[_0x3c9376(0x6d3)]['closest'](_0x3c9376(0x6c9));return!_0x223150||_0x223150['id']==='__editor_'+_0x29b193[_0x3c9376(0x46d)];}}));let _0x59d9a9=this['_injector'][_0x136a8e(0x519)](_0x2d4cf1['ISheetClipboardService']);this[_0x136a8e(0x661)](_0x59d9a9[_0x136a8e(0x1df)]({'id':_0x136a8e(0x3cc),'onBeforePaste':(_0x25daac,_0x2fa7c4)=>{const _0x13cc55=_0x136a8e;let _0xd50a33=(0x0,_0x313b04[_0x13cc55(0x370)])(this[_0x13cc55(0x200)],_0x25daac);if((_0xd50a33==null?void 0x0:_0xd50a33[_0x13cc55(0x212)][_0x13cc55(0x202)]()[_0x13cc55(0x3b2)])!==_0x29b193[_0x13cc55(0x5ec)][_0x13cc55(0x1e6)])return!0x0;let _0x1c5b6c=_0x2fa7c4!=null&&_0x2fa7c4['copyId']?_0x59d9a9[_0x13cc55(0x304)]()[_0x13cc55(0x519)](_0x2fa7c4[_0x13cc55(0x570)]):void 0x0;return(_0x1c5b6c==null?void 0x0:_0x1c5b6c[_0x13cc55(0x4d4)])===!0x0;}})),this[_0x136a8e(0x37d)](),this[_0x136a8e(0x2fa)](),this[_0x136a8e(0x63e)]();}['_registerMenus'](){const _0x381593=_0x53d83c;let _0x548d40=this[_0x381593(0x348)][_0x381593(0x519)](_0x3862b0[_0x381593(0x680)]),_0x6c3f2e=!0x0;this[_0x381593(0x661)](this[_0x381593(0x1f7)][_0x381593(0x48c)]['subscribe']({'complete':()=>{_0x6c3f2e=!0x1;}})),_0x548d40['mergeMenu'](_0x27e8a1()),this[_0x381593(0x661)]((0x0,_0x29b193['toDisposable'])(()=>{const _0x29b205=_0x381593;_0x6c3f2e&&_0x548d40[_0x29b205(0x243)](_0x412e91());}));}[_0x53d83c(0x37d)](){const _0xcec5d6=_0x53d83c;let _0x2b08cc=_0x11d0ed=>{const _0x857e9f=_0x18ca;if(_0x11d0ed[_0x857e9f(0x3b2)]!==_0x29b193[_0x857e9f(0x216)][_0x857e9f(0x222)]||this[_0x857e9f(0x5ce)][_0x857e9f(0x23b)](_0x11d0ed))return;let _0x29f50f=_0x11d0ed['scene'][_0x857e9f(0x529)][_0x857e9f(0x226)](_0xa3ba50=>{const _0x578534=_0x857e9f;if(_0xa3ba50[_0x578534(0x58d)]!==_0x4feb4f[_0x578534(0x2a5)][_0x578534(0x596)])return;let _0x2352ab=(0x0,_0x313b04[_0x578534(0x370)])(this[_0x578534(0x200)]);if(!_0x2352ab||_0x2352ab[_0x578534(0x501)]!==_0x11d0ed['unitId']||_0x2352ab[_0x578534(0x212)][_0x578534(0x202)]()[_0x578534(0x3b2)]!==_0x29b193[_0x578534(0x5ec)][_0x578534(0x1e6)])return;let _0xdefdda=this[_0x578534(0x61c)][_0x578534(0x250)](_0x2352ab[_0x578534(0x501)],_0x2352ab[_0x578534(0x2fb)]),_0x23b17f=this[_0x578534(0x58e)][_0x578534(0x51a)](_0x2352ab[_0x578534(0x501)],_0x2352ab['subUnitId'],_0xa3ba50[_0x578534(0x2be)],_0xa3ba50[_0x578534(0x582)]);_0xdefdda&&(_0x23b17f==null?void 0x0:_0x23b17f[_0x578534(0x51b)][_0x578534(0x503)])===_0xdefdda['id']&&(this[_0x578534(0x402)][_0x578534(0x6a8)](null),this['_contextMenuService'][_0x578534(0x4d5)](_0xa3ba50,_0x3862b0[_0x578534(0x3c1)][_0x578534(0x5a0)]));});this[_0x857e9f(0x5ce)][_0x857e9f(0x238)](_0x11d0ed,(0x0,_0x29b193['toDisposable'])(()=>_0x29f50f[_0x857e9f(0x681)]()));};this[_0xcec5d6(0x661)](this[_0xcec5d6(0x5c5)][_0xcec5d6(0x60c)][_0xcec5d6(0x3ee)](_0x2b08cc)),this[_0xcec5d6(0x661)](this[_0xcec5d6(0x5c5)][_0xcec5d6(0x549)][_0xcec5d6(0x3ee)](_0x1749d1=>{const _0x2fc2dc=_0xcec5d6;for(let [_0x1990c4,_0x4523d2]of this[_0x2fc2dc(0x5ce)])_0x1990c4[_0x2fc2dc(0x501)]===_0x1749d1&&(_0x4523d2['dispose'](),this[_0x2fc2dc(0x5ce)]['delete'](_0x1990c4));})),this['_renderManagerService'][_0xcec5d6(0x2e6)]()[_0xcec5d6(0x646)](_0x2b08cc),this[_0xcec5d6(0x661)]((0x0,_0x29b193['toDisposable'])(()=>{const _0x287301=_0xcec5d6;this[_0x287301(0x5ce)][_0x287301(0x646)](_0x1c774e=>_0x1c774e[_0x287301(0x3cb)]()),this[_0x287301(0x5ce)][_0x287301(0x53a)]();}));}[_0x53d83c(0x1e2)](){const _0x48ae48=_0x53d83c;let _0x28aad8=_0x2ede7a(this[_0x48ae48(0x348)]);if(!_0x28aad8||!_0x248f72(this[_0x48ae48(0x348)],_0x28aad8['unitId'],_0x28aad8[_0x48ae48(0x2fb)]))return!0x1;this[_0x48ae48(0x533)](),this[_0x48ae48(0x6db)]();let _0x1783c7=document[_0x48ae48(0x5be)];this[_0x48ae48(0x6cd)]=_0x28aad8[_0x48ae48(0x501)];let _0x12b6ad=()=>{const _0x29fe8a=_0x48ae48;this[_0x29fe8a(0x5e7)]===_0x12b6ad&&(this[_0x29fe8a(0x6db)](),this['_scheduleMoveDialogFocus'](_0x28aad8['unitId'],_0x1783c7));};return this['_moveDialogClose']=_0x12b6ad,this[_0x48ae48(0x57f)][_0x48ae48(0x3e1)]({'id':_0x28427c,'title':{'title':this['_localeService']['t'](_0x48ae48(0x696))},'children':{'label':{'name':_0x28427c,'props':{..._0x28aad8,'onClose':_0x12b6ad}}},'onClose':_0x12b6ad}),!0x0;}['dispose'](){const _0x4f15ff=_0x53d83c;this[_0x4f15ff(0x533)](),this[_0x4f15ff(0x6db)](),super[_0x4f15ff(0x3cb)]();}[_0x53d83c(0x2fa)](){const _0x4efe33=_0x53d83c;let _0x598bff=this[_0x4efe33(0x348)][_0x4efe33(0x519)](_0x2d4cf1['SheetCanvasPopManagerService']),_0x5674da=this[_0x4efe33(0x348)][_0x4efe33(0x519)](_0x5d386e),_0x2f5518=_0x5674da[_0x4efe33(0x552)][_0x4efe33(0x3d1)](_0x5674da);_0x598bff[_0x4efe33(0x458)](_0x29b193[_0x4efe33(0x5d5)][_0x4efe33(0x469)],(_0x4870b2,_0x3f9e91,_0x14d28d,_0x147efd)=>{const _0x4d0d4c=_0x4efe33;let _0x4b0eb8=_0x2f5518(_0x4870b2,_0x3f9e91,_0x14d28d,_0x147efd),_0x8e9eaf=_0x2ede7a(this[_0x4d0d4c(0x348)]);return!_0x8e9eaf||_0x8e9eaf['unitId']!==_0x4870b2||_0x8e9eaf[_0x4d0d4c(0x2fb)]!==_0x3f9e91||_0x8e9eaf[_0x4d0d4c(0x6d8)]!==_0x14d28d?_0x4b0eb8:[..._0x4b0eb8,{'label':this[_0x4d0d4c(0x1f7)]['t'](_0x4d0d4c(0x696)),'icon':_0x4d0d4c(0x356),'index':0x3,'commandId':_0x3b13e4['id'],'commandParams':{'unitId':_0x4870b2,'subUnitId':_0x3f9e91,'drawingId':_0x14d28d},'disable':!_0x248f72(this[_0x4d0d4c(0x348)],_0x4870b2,_0x3f9e91)}];}),this[_0x4efe33(0x661)]((0x0,_0x29b193['toDisposable'])(()=>{const _0x526b3b=_0x4efe33;_0x598bff[_0x526b3b(0x458)](_0x29b193[_0x526b3b(0x5d5)]['DRAWING_CHART'],_0x2f5518);}));}[_0x53d83c(0x533)](){this['_moveDialogFocus']&&=(cancelAnimationFrame(this['_moveDialogFocus']['frame']),null);}[_0x53d83c(0x4d9)](_0x51faf0,_0x32dd9d){const _0x57c2d8=_0x53d83c;this[_0x57c2d8(0x533)](),this['_moveDialogFocus']={'unitId':_0x51faf0,'frame':requestAnimationFrame(()=>{const _0xda9600=_0x57c2d8;var _0x3bfa96;this[_0xda9600(0x206)]=null,this[_0xda9600(0x427)]||this['_moveDialogUnitId']!==null||((_0x3bfa96=this[_0xda9600(0x200)][_0xda9600(0x6ae)]())==null?void 0x0:_0x3bfa96[_0xda9600(0x384)]())!==_0x51faf0||_0x32dd9d instanceof HTMLElement&&_0x32dd9d[_0xda9600(0x4e5)]||document[_0xda9600(0x5be)]&&document['activeElement']!==document[_0xda9600(0x2f1)]||this['_layoutService']['focus'](_0x51faf0);})};}[_0x53d83c(0x6db)](){const _0x120495=_0x53d83c;this['_moveDialogUnitId']!==null&&(this[_0x120495(0x6cd)]=null,this[_0x120495(0x5e7)]=null,this[_0x120495(0x57f)][_0x120495(0x3f1)](_0x28427c));}};_0x3097d6=_0x2db00d([_0x24d873(0x0,(0x0,_0x29b193[_0x53d83c(0x6d2)])(_0x1593c9[_0x53d83c(0x65d)])),_0x24d873(0x1,_0x4b86b8['IDrawingManagerService']),_0x24d873(0x2,_0x4feb4f[_0x53d83c(0x224)]),_0x24d873(0x3,(0x0,_0x29b193['Inject'])(_0x379e87[_0x53d83c(0x3c3)])),_0x24d873(0x4,_0x3862b0[_0x53d83c(0x5ff)]),_0x24d873(0x5,_0x3862b0['IShortcutService']),_0x24d873(0x6,_0x29b193[_0x53d83c(0x456)]),_0x24d873(0x7,_0x3862b0['IDialogService']),_0x24d873(0x8,_0x3862b0[_0x53d83c(0x59a)]),_0x24d873(0x9,(0x0,_0x29b193[_0x53d83c(0x6d2)])(_0x29b193[_0x53d83c(0x4ef)])),_0x24d873(0xa,(0x0,_0x29b193[_0x53d83c(0x6d2)])(_0x29b193[_0x53d83c(0x3e6)])),_0x24d873(0xb,_0x29b193[_0x53d83c(0x233)])],_0x3097d6);let _0x4ee66b=class extends _0x29b193[_0x53d83c(0x4a6)]{constructor(_0x1916b9,_0x121ee7){const _0x17b001=_0x53d83c;super(),this[_0x17b001(0x520)]=_0x1916b9,this['_iconManager']=_0x121ee7,this[_0x17b001(0x6ac)](),this[_0x17b001(0x58f)]();}[_0x53d83c(0x6ac)](){const _0x13e4e8=_0x53d83c;this[_0x13e4e8(0x661)](this[_0x13e4e8(0x2c1)][_0x13e4e8(0x573)]({'ArrowRightIcon':_0x432f3d,'DeleteIcon':_0x3c94d5,'EyelashIcon':_0x497735,'PenIcon':_0x3c2692}));}[_0x53d83c(0x58f)](){const _0x2230b9=_0x53d83c;[[_0x432744,_0x408c1f],[_0x28427c,_0x404106]][_0x2230b9(0x646)](([_0x5c8023,_0x5da4f6])=>{const _0x2506c=_0x2230b9;this[_0x2506c(0x661)](this[_0x2506c(0x520)][_0x2506c(0x573)](_0x5c8023,_0x5da4f6));});}};_0x4ee66b=_0x2db00d([_0x24d873(0x0,(0x0,_0x29b193[_0x53d83c(0x6d2)])(_0x3862b0['ComponentManager'])),_0x24d873(0x1,(0x0,_0x29b193[_0x53d83c(0x6d2)])(_0x3862b0['IconManager']))],_0x4ee66b);let _0x5d81e7=class extends _0x29b193[_0x53d83c(0x4a6)]{constructor(_0xdc4b14,_0x2b05b5,_0x35cb8c,_0x2a6b86,_0x1175e4,_0x39acf1,_0xb5a83d,_0x27bbf5,_0x133ecc,_0x8864c,_0x17d791){const _0x1a28fd=_0x53d83c;super(),this[_0x1a28fd(0x61c)]=_0x2b05b5,this[_0x1a28fd(0x3c9)]=_0x35cb8c,this[_0x1a28fd(0x228)]=_0x2a6b86,this['_logService']=_0x1175e4,this[_0x1a28fd(0x60e)]=_0x39acf1,this['_renderManagerService']=_0xb5a83d,this[_0x1a28fd(0x402)]=_0x27bbf5,this[_0x1a28fd(0x548)]=_0x133ecc,this[_0x1a28fd(0x32d)]=_0x8864c,_0x3e8fbf(this,_0x1a28fd(0x4bd),null),_0x3e8fbf(this,'_pageFrameRender',null),_0x3e8fbf(this,_0x1a28fd(0x2f0),null),_0x3e8fbf(this,_0x1a28fd(0x236),null),_0x3e8fbf(this,_0x1a28fd(0x299),!0x1),_0x3e8fbf(this,_0x1a28fd(0x26f),!0x1),_0x3e8fbf(this,_0x1a28fd(0x541),!0x1),_0x3e8fbf(this,_0x1a28fd(0x59d),new Map()),this[_0x1a28fd(0x661)](_0xdc4b14[_0x1a28fd(0x661)]((0x0,_0x29b193[_0x1a28fd(0x4e4)])(()=>this['dispose']())));let _0x21158d=this['_sheetCanvasFloatDomManagerService'][_0x1a28fd(0x55f)]((_0xc2b837,_0x51b080)=>{const _0x464b0a=_0x1a28fd;let _0x1533a9=this[_0x464b0a(0x61c)][_0x464b0a(0x250)](_0xc2b837[_0x464b0a(0x501)],_0xc2b837[_0x464b0a(0x2fb)]);if(!_0x1533a9||_0xc2b837[_0x464b0a(0x503)]===_0x1533a9['id'])return _0x51b080;let _0x299f9d=this[_0x464b0a(0x402)][_0x464b0a(0x381)]({..._0xc2b837,'drawingId':_0x1533a9['id']});return _0x299f9d?this[_0x464b0a(0x61c)][_0x464b0a(0x496)](_0xc2b837,{'kind':_0x303a0f[_0x464b0a(0x4f2)]['None'],'left':_0x51b080[_0x464b0a(0x5a8)],'top':_0x51b080[_0x464b0a(0x1fe)],'width':_0x51b080['width'],'height':_0x51b080[_0x464b0a(0x2db)]},_0x299f9d)[_0x464b0a(0x3dd)]:_0x51b080;});this['disposeWithMe'](_0x21158d),this[_0x1a28fd(0x661)](_0xdc4b14['registerChartSheetPresentation'](this));let _0x2de4e4=_0x193408=>{const _0x2cd0c6=_0x1a28fd;if(_0x193408[_0x2cd0c6(0x3b2)]!==_0x29b193['UniverInstanceType'][_0x2cd0c6(0x222)]||this[_0x2cd0c6(0x59d)]['has'](_0x193408))return;this[_0x2cd0c6(0x365)](_0x193408,_0x193408[_0x2cd0c6(0x501)]);let _0x1bce1c=this[_0x2cd0c6(0x59d)][_0x2cd0c6(0x519)](_0x193408),_0x50cbfa=new _0x29b193['Disposable']();_0x50cbfa[_0x2cd0c6(0x661)](_0x1bce1c),_0x50cbfa['disposeWithMe'](_0x193408[_0x2cd0c6(0x2b3)][_0x2cd0c6(0x590)]()[_0x2cd0c6(0x31f)][_0x2cd0c6(0x3ee)](()=>this['updatePage']())),_0x50cbfa['disposeWithMe'](_0x193408['engine'][_0x2cd0c6(0x383)][_0x2cd0c6(0x226)](_0x573f96=>{const _0x41e0f0=_0x2cd0c6;_0x573f96['type']===_0x4feb4f[_0x41e0f0(0x2c2)][_0x41e0f0(0x6c4)]&&this['updatePage']();})),this['_drawingTransformSubscriptions'][_0x2cd0c6(0x238)](_0x193408,_0x50cbfa);};this[_0x1a28fd(0x5c5)][_0x1a28fd(0x2e6)]()[_0x1a28fd(0x646)](_0x2de4e4),this[_0x1a28fd(0x661)](this[_0x1a28fd(0x5c5)][_0x1a28fd(0x60c)][_0x1a28fd(0x3ee)](_0x2de4e4)),this[_0x1a28fd(0x661)](this['_renderManagerService'][_0x1a28fd(0x549)][_0x1a28fd(0x3ee)](_0x5f1963=>{const _0x33691d=_0x1a28fd;for(let [_0x50e682,_0x72c5a3]of this[_0x33691d(0x59d)])_0x50e682[_0x33691d(0x501)]===_0x5f1963&&(_0x72c5a3['dispose'](),this['_drawingTransformSubscriptions'][_0x33691d(0x516)](_0x50e682));this[_0x33691d(0x337)]();})),this[_0x1a28fd(0x661)](_0x17d791[_0x1a28fd(0x635)]['subscribe'](_0x1efb77=>{const _0x1ce7fc=_0x1a28fd;_0x1efb77>=_0x29b193[_0x1ce7fc(0x551)]['Rendered']&&Promise[_0x1ce7fc(0x671)]()[_0x1ce7fc(0x33a)](()=>{const _0x26ae49=_0x1ce7fc;this['_disposed']||(this[_0x26ae49(0x541)]=!0x0,this[_0x26ae49(0x560)]());})[_0x1ce7fc(0x334)](_0x3a425e=>this['_logService']['error'](_0x3a425e));})),this[_0x1a28fd(0x661)](this[_0x1a28fd(0x228)]['onCommandExecuted'](_0x66a846=>{const _0xa3017d=_0x1a28fd;_0x66a846['id']===_0x2d4cf1[_0xa3017d(0x2c5)]['id']&&!this[_0xa3017d(0x26f)]&&this['updatePage']();})),this[_0x1a28fd(0x661)]((0x0,_0x482a91[_0x1a28fd(0x3bc)])([this['_themeService'][_0x1a28fd(0x301)],this['_themeService']['darkMode$']])['subscribe'](()=>this[_0x1a28fd(0x560)]()));}[_0x53d83c(0x250)](_0x4d5ae8,_0xef2520){const _0x5e2aeb=_0x53d83c;return this['_chartSheetService'][_0x5e2aeb(0x250)](_0x4d5ae8,_0xef2520);}[_0x53d83c(0x22e)](_0x4d5983){const _0x2ca896=_0x53d83c;let _0x5dd1fc=this['_sheetCanvasFloatDomManagerService']['getFloatDomInfo'](_0x4d5983['id']),_0x80c008=_0x5dd1fc&&this['_renderManagerService'][_0x2ca896(0x694)](_0x5dd1fc[_0x2ca896(0x501)]);if(_0x5dd1fc&&_0x80c008&&this[_0x2ca896(0x250)](_0x5dd1fc[_0x2ca896(0x501)],_0x5dd1fc[_0x2ca896(0x2fb)])===_0x4d5983)return{'model':_0x4d5983,'render':_0x80c008,'info':_0x5dd1fc};}[_0x53d83c(0x365)](_0x4b4448,_0x3891e6){const _0x4ed1ba=_0x53d83c;if(this['_drawingTransformSubscriptions'][_0x4ed1ba(0x23b)](_0x4b4448))return;let _0x15137b=_0x4b4448['scene'][_0x4ed1ba(0x385)]()[_0x4ed1ba(0x30e)][_0x4ed1ba(0x3ee)](({objects:_0x5e4184})=>{const _0xbbbb77=_0x4ed1ba;var _0x4a9847;let _0x4815eb=(_0x4a9847=this[_0xbbbb77(0x60e)][_0xbbbb77(0x4c9)](_0x3891e6,_0x29b193[_0xbbbb77(0x216)][_0xbbbb77(0x222)]))==null||(_0x4a9847=_0x4a9847[_0xbbbb77(0x695)]())==null?void 0x0:_0x4a9847['getSheetId']();if(!_0x4815eb)return;let _0x545d18=this[_0xbbbb77(0x61c)][_0xbbbb77(0x250)](_0x3891e6,_0x4815eb);if(!_0x545d18)return;let _0x247131=this[_0xbbbb77(0x402)][_0xbbbb77(0x396)](_0x3891e6,_0x4815eb),_0x4192d3=_0x247131[_0x545d18['id']];if(!_0x4192d3)return;let _0x5b356e=Object[_0xbbbb77(0x446)](_0x247131)['flatMap'](_0x57ec8b=>{const _0x5d96ee=_0xbbbb77;let _0x10897a=_0x5e4184['get']((0x0,_0x4b86b8[_0x5d96ee(0x465)])(_0x57ec8b));return _0x10897a?[{..._0x57ec8b,'transform':{..._0x57ec8b[_0x5d96ee(0x3dd)],'left':_0x10897a[_0x5d96ee(0x5a8)],'top':_0x10897a[_0x5d96ee(0x1fe)],'width':_0x10897a[_0x5d96ee(0x443)],'height':_0x10897a[_0x5d96ee(0x2db)]}}]:[];});for(let _0x4af2cf of _0x5b356e){var _0x306809;if(_0x4af2cf[_0xbbbb77(0x503)]===_0x545d18['id'])continue;let _0x29e5a9=this[_0xbbbb77(0x61c)][_0xbbbb77(0x496)](_0x247131[_0x4af2cf[_0xbbbb77(0x503)]],{'kind':_0x303a0f[_0xbbbb77(0x4f2)][_0xbbbb77(0x25a)],'left':_0x4af2cf[_0xbbbb77(0x3dd)]['left'],'top':_0x4af2cf[_0xbbbb77(0x3dd)][_0xbbbb77(0x1fe)],'width':_0x4af2cf['transform'][_0xbbbb77(0x443)],'height':_0x4af2cf['transform'][_0xbbbb77(0x2db)]},_0x4192d3,!0x0);(_0x306809=_0x5e4184['get']((0x0,_0x4b86b8[_0xbbbb77(0x465)])(_0x4af2cf)))==null||_0x306809[_0xbbbb77(0x54a)](_0x29e5a9[_0xbbbb77(0x3dd)]);}});this[_0x4ed1ba(0x59d)]['set'](_0x4b4448,(0x0,_0x29b193[_0x4ed1ba(0x4e4)])(()=>_0x15137b['unsubscribe']()));}[_0x53d83c(0x337)](){const _0x31bc8d=_0x53d83c;let _0x56fd8a=this[_0x31bc8d(0x4bd)],_0x2e1d01=this[_0x31bc8d(0x612)];_0x56fd8a&&(_0x2e1d01==null?void 0x0:_0x2e1d01[_0x31bc8d(0x594)]['get'](_0x2d4cf1[_0x31bc8d(0x3d4)]['CHART_PAGE']))===_0x56fd8a&&_0x2e1d01[_0x31bc8d(0x594)]['delete'](_0x2d4cf1['SHEET_VIEW_KEY']['CHART_PAGE']),this['_pageFrame']=null,this[_0x31bc8d(0x612)]=null,this['_pageViewportOrigin']=null;let _0x4e88db=this[_0x31bc8d(0x2f0)];this[_0x31bc8d(0x2f0)]=null,_0x4e88db&&_0x4e88db[_0x31bc8d(0x2ff)][_0x31bc8d(0x256)][_0x31bc8d(0x45c)]===_0x4e88db[_0x31bc8d(0x27a)]&&(_0x4e88db[_0x31bc8d(0x2ff)][_0x31bc8d(0x256)][_0x31bc8d(0x45c)]=_0x4e88db[_0x31bc8d(0x2ef)]);let _0x275396=this[_0x31bc8d(0x60e)][_0x31bc8d(0x391)](_0x29b193[_0x31bc8d(0x216)][_0x31bc8d(0x222)]);_0x2e1d01&&this[_0x31bc8d(0x5c5)][_0x31bc8d(0x694)]((_0x275396==null?void 0x0:_0x275396[_0x31bc8d(0x384)]())??'')===_0x2e1d01&&this['_getSheetType'](_0x275396==null?void 0x0:_0x275396[_0x31bc8d(0x695)]())===_0x29b193[_0x31bc8d(0x5ec)][_0x31bc8d(0x1e6)]&&_0x2e1d01[_0x31bc8d(0x2b3)][_0x31bc8d(0x590)]()[_0x31bc8d(0x229)](),_0x56fd8a==null||_0x56fd8a['dispose']();}['updatePage'](){const _0x37d116=_0x53d83c;if(!(this[_0x37d116(0x299)]||this['_disposed'])){this[_0x37d116(0x299)]=!0x0;try{this[_0x37d116(0x331)]();}finally{this[_0x37d116(0x299)]=!0x1;}}}[_0x53d83c(0x20d)](_0x376098){const _0x5e52da=_0x53d83c;return _0x376098==null?void 0x0:_0x376098[_0x5e52da(0x202)]()[_0x5e52da(0x3b2)];}['_updateChartPagePresentation'](){const _0x57e60d=_0x53d83c;var _0x17e011,_0xa744ff;let _0x1ca378=this['_univerInstanceService'][_0x57e60d(0x391)](_0x29b193['UniverInstanceType']['UNIVER_SHEET']),_0x44e1e4=_0x1ca378==null?void 0x0:_0x1ca378[_0x57e60d(0x695)]();if(!_0x1ca378||!_0x44e1e4||this[_0x57e60d(0x20d)](_0x44e1e4)!==_0x29b193[_0x57e60d(0x5ec)][_0x57e60d(0x1e6)]){this[_0x57e60d(0x337)]();return;}let _0x1c1f8f=this['getPrimaryChartModel'](_0x1ca378[_0x57e60d(0x384)](),_0x44e1e4['getSheetId']()),_0x29fea1=_0x1c1f8f?this['_getPrimaryBinding'](_0x1c1f8f):void 0x0;if(!_0x29fea1){this[_0x57e60d(0x337)]();return;}let {rect:_0x3f486c}=_0x29fea1[_0x57e60d(0x565)],{scene:_0x557d64}=_0x29fea1['render'];if(this[_0x57e60d(0x612)]!==_0x29fea1[_0x57e60d(0x64a)]&&this[_0x57e60d(0x337)](),!this['_pageFrame']){let _0x2a100a=new _0x4feb4f[(_0x57e60d(0x6be))]('chart-page-boundary-'+_0x29fea1[_0x57e60d(0x4c2)]['id'],{'evented':!0x1,'zIndex':_0x3f486c[_0x57e60d(0x65e)]-0x1}),_0x3dbc85=_0x29fea1[_0x57e60d(0x64a)];_0x2a100a[_0x57e60d(0x661)]({'dispose':()=>{const _0x109e7d=_0x57e60d;_0x3dbc85[_0x109e7d(0x594)][_0x109e7d(0x519)](_0x2d4cf1[_0x109e7d(0x3d4)][_0x109e7d(0x699)])===_0x2a100a&&_0x3dbc85[_0x109e7d(0x594)]['delete'](_0x2d4cf1['SHEET_VIEW_KEY'][_0x109e7d(0x699)]),this[_0x109e7d(0x4bd)]===_0x2a100a&&(this['_pageFrame']=null,this[_0x109e7d(0x612)]=null);}}),this[_0x57e60d(0x4bd)]=_0x2a100a,this[_0x57e60d(0x612)]=_0x3dbc85,_0x557d64[_0x57e60d(0x21b)](_0x2a100a,_0x4feb4f[_0x57e60d(0x59e)]);}this[_0x57e60d(0x4bd)][_0x57e60d(0x54a)]({'left':_0x3f486c[_0x57e60d(0x5a8)],'top':_0x3f486c[_0x57e60d(0x1fe)],'width':_0x3f486c[_0x57e60d(0x443)],'height':_0x3f486c['height']}),this[_0x57e60d(0x4bd)]['setProps']({'fill':this['_themeService'][_0x57e60d(0x6d1)]('gray.0'),'stroke':this[_0x57e60d(0x548)][_0x57e60d(0x6d1)](_0x57e60d(0x4ea)),'strokeWidth':0x1});let _0x2a625a=_0x29fea1[_0x57e60d(0x64a)][_0x57e60d(0x6a1)]['getCanvasElement']();this[_0x57e60d(0x2f0)]||={'canvas':_0x2a625a,'previous':_0x2a625a[_0x57e60d(0x256)][_0x57e60d(0x45c)],'applied':''},_0x2a625a[_0x57e60d(0x256)][_0x57e60d(0x45c)]=this[_0x57e60d(0x32d)]['getRenderColor'](this[_0x57e60d(0x548)]['getColorFromTheme']('gray.100')),this[_0x57e60d(0x2f0)][_0x57e60d(0x27a)]=_0x2a625a['style']['backgroundColor'],_0x29fea1[_0x57e60d(0x64a)][_0x57e60d(0x594)][_0x57e60d(0x238)](_0x2d4cf1[_0x57e60d(0x3d4)][_0x57e60d(0x699)],this['_pageFrame']),this[_0x57e60d(0x4bd)][_0x57e60d(0x39a)](!0x0),_0x557d64[_0x57e60d(0x39a)](!0x0),this[_0x57e60d(0x44d)](_0x29fea1[_0x57e60d(0x4c2)],_0x29fea1[_0x57e60d(0x64a)],_0x29fea1[_0x57e60d(0x565)]);let _0x478b04=_0x557d64[_0x57e60d(0x590)](),{viewBound:_0x1d86f4}=_0x478b04['calcViewportInfo'](),_0x42df60=_0x1d86f4[_0x57e60d(0x56d)]-_0x1d86f4[_0x57e60d(0x5a8)],_0x2a7a82=_0x1d86f4['bottom']-_0x1d86f4['top'],_0x5be4eb=Math[_0x57e60d(0x240)](0x0,(_0x42df60-_0x3f486c['width'])/0x2),_0x756c9c=Math['max'](0x0,(_0x2a7a82-_0x3f486c[_0x57e60d(0x2db)])/0x2),_0x2570d8={'x':_0x3f486c[_0x57e60d(0x5a8)]-_0x5be4eb,'y':_0x3f486c[_0x57e60d(0x1fe)]-_0x756c9c},_0x37edea=_0x44e1e4[_0x57e60d(0x202)]()['zoomToFit']===_0x29b193[_0x57e60d(0x2c7)]['TRUE'],_0x36cfc2=_0x37edea?0x0:Math['max'](0x0,_0x478b04[_0x57e60d(0x27e)]-(((_0x17e011=this[_0x57e60d(0x236)])==null?void 0x0:_0x17e011['x'])??_0x3f486c[_0x57e60d(0x5a8)])),_0x3fed59=_0x37edea?0x0:Math['max'](0x0,_0x478b04[_0x57e60d(0x6b7)]-(((_0xa744ff=this[_0x57e60d(0x236)])==null?void 0x0:_0xa744ff['y'])??_0x3f486c[_0x57e60d(0x1fe)]));this[_0x57e60d(0x236)]=_0x2570d8,_0x557d64[_0x57e60d(0x54a)]({'width':Math[_0x57e60d(0x240)](_0x42df60,_0x3f486c['width']),'height':Math['max'](_0x2a7a82,_0x3f486c[_0x57e60d(0x2db)])}),_0x478b04['setMargin'](0x0,0x0),_0x478b04['setPadding']({'startX':_0x2570d8['x'],'startY':_0x2570d8['y'],'endX':0x0,'endY':0x0}),_0x478b04[_0x57e60d(0x1d7)]({'viewportScrollX':_0x2570d8['x']+_0x36cfc2,'viewportScrollY':_0x2570d8['y']+_0x3fed59});}[_0x53d83c(0x44d)](_0x1bd326,_0x408f87,_0xbb2b58){const _0x5cbac5=_0x53d83c;let _0x1d1551={'model':_0x1bd326,'render':_0x408f87,'info':_0xbb2b58};if(this[_0x5cbac5(0x427)]||!this[_0x5cbac5(0x541)]||this[_0x5cbac5(0x26f)]||this[_0x5cbac5(0x3c9)][_0x5cbac5(0x3b3)](_0x1bd326['id'])!==_0xbb2b58)return;let _0x293ac0=this[_0x5cbac5(0x60e)]['getCurrentUnitOfType'](_0x29b193[_0x5cbac5(0x216)][_0x5cbac5(0x222)]),_0x385b44=_0x293ac0==null?void 0x0:_0x293ac0[_0x5cbac5(0x695)]();if(!_0x293ac0||!_0x385b44||this[_0x5cbac5(0x20d)](_0x385b44)!==_0x29b193[_0x5cbac5(0x5ec)][_0x5cbac5(0x1e6)]||_0x385b44['getConfig']()['zoomToFit']!==_0x29b193['BooleanNumber'][_0x5cbac5(0x36b)]||_0x293ac0['getUnitId']()!==_0x1d1551[_0x5cbac5(0x565)]['unitId']||_0x385b44['getSheetId']()!==_0x1d1551['info']['subUnitId']||this[_0x5cbac5(0x5c5)][_0x5cbac5(0x694)](_0x293ac0['getUnitId']())!==_0x1d1551[_0x5cbac5(0x64a)]||this['getPrimaryChartModel'](_0x293ac0[_0x5cbac5(0x384)](),_0x385b44[_0x5cbac5(0x48e)]())!==_0x1d1551[_0x5cbac5(0x4c2)])return;let {scene:_0x26046a}=_0x1d1551[_0x5cbac5(0x64a)],{viewBound:_0x224453}=_0x26046a[_0x5cbac5(0x590)]()[_0x5cbac5(0x67c)](),{rect:_0x194da0}=_0x1d1551[_0x5cbac5(0x565)],_0x4ab42b=(_0x224453[_0x5cbac5(0x56d)]-_0x224453[_0x5cbac5(0x5a8)])*_0x26046a['scaleX'],_0x42ad82=(_0x224453[_0x5cbac5(0x2e8)]-_0x224453['top'])*_0x26046a[_0x5cbac5(0x598)],_0x15254a=_0x194da0[_0x5cbac5(0x443)],_0x2527e4=_0x194da0[_0x5cbac5(0x2db)];if(_0x4ab42b<=0x0||_0x42ad82<=0x0||_0x15254a<=0x0||_0x2527e4<=0x0)return;let _0x5b6990=Math[_0x5cbac5(0x217)](_0x4ab42b/_0x15254a,_0x42ad82/_0x2527e4);if(_0x5b6990!==_0x385b44['getZoomRatio']()||_0x5b6990!==_0x26046a['scaleX']){this[_0x5cbac5(0x26f)]=!0x0;try{this['_commandService'][_0x5cbac5(0x4b9)](_0x2d4cf1[_0x5cbac5(0x2c5)]['id'],{'unitId':_0x293ac0['getUnitId'](),'subUnitId':_0x385b44['getSheetId'](),'zoomRatio':_0x5b6990,'zoomToFit':_0x29b193[_0x5cbac5(0x2c7)][_0x5cbac5(0x36b)]});}finally{this['_applyingFit']=!0x1;}}}['dispose'](){const _0x169a6c=_0x53d83c;this[_0x169a6c(0x427)]||(super['dispose'](),this['clearPage'](),this['_drawingTransformSubscriptions'][_0x169a6c(0x646)](_0x3492ef=>_0x3492ef[_0x169a6c(0x3cb)]()),this[_0x169a6c(0x59d)][_0x169a6c(0x53a)]());}};_0x5d81e7=_0x2db00d([_0x24d873(0x0,(0x0,_0x29b193[_0x53d83c(0x6d2)])(_0x3064f4)),_0x24d873(0x1,(0x0,_0x29b193['Inject'])(_0x1593c9[_0x53d83c(0x65d)])),_0x24d873(0x2,(0x0,_0x29b193[_0x53d83c(0x6d2)])(_0x379e87[_0x53d83c(0x6bf)])),_0x24d873(0x3,_0x29b193[_0x53d83c(0x456)]),_0x24d873(0x4,_0x29b193[_0x53d83c(0x63d)]),_0x24d873(0x5,_0x29b193[_0x53d83c(0x233)]),_0x24d873(0x6,_0x4feb4f[_0x53d83c(0x224)]),_0x24d873(0x7,_0x4b86b8[_0x53d83c(0x53c)]),_0x24d873(0x8,(0x0,_0x29b193[_0x53d83c(0x6d2)])(_0x29b193[_0x53d83c(0x675)])),_0x24d873(0x9,(0x0,_0x29b193['Inject'])(_0x199e4a[_0x53d83c(0x576)])),_0x24d873(0xa,(0x0,_0x29b193['Inject'])(_0x29b193[_0x53d83c(0x2d4)]))],_0x5d81e7);let _0x5d1b32=class extends _0x29b193[_0x53d83c(0x652)]{constructor(_0x262bba=_0x4420ef,_0x488a6b,_0x26e503,_0x223462){const _0x3e9e69=_0x53d83c;super(),this['_config']=_0x262bba,this['_injector']=_0x488a6b,this[_0x3e9e69(0x47e)]=_0x26e503,this['_commandService']=_0x223462,_0x3e8fbf(this,_0x3e9e69(0x64b),void 0x0);let {..._0x119aec}=(0x0,_0x29b193[_0x3e9e69(0x205)])({},_0x4420ef,this[_0x3e9e69(0x258)]);this[_0x3e9e69(0x64b)]=_0x119aec,this[_0x3e9e69(0x47e)][_0x3e9e69(0x6ab)](_0x583c49,_0x119aec),this[_0x3e9e69(0x338)]();}[_0x53d83c(0x67d)](){const _0x4dac57=_0x53d83c;this['_injector'][_0x4dac57(0x42b)]([_0x4ee66b]),this['_injector'][_0x4dac57(0x519)](_0x4ee66b);let _0x2229e1=this[_0x4dac57(0x348)],_0x1b70ba=[[_0x316a04,{'useClass':_0x11991e}],[_0x1bd436,{'useClass':_0x4fd093}],[_0x4a18f2],[_0x3064f4],[_0x5d81e7],[_0x3097d6],[_0x3ebe35],[_0x5d386e],[_0x843ef2],[_0x6b0216],[_0x99f73b],[_0x595d06]],_0x38c941=[[_0x5d386e],[_0x6b0216],[_0x843ef2],[_0x3ebe35],[_0x316a04],[_0x99f73b],[_0x595d06]];this[_0x4dac57(0x64b)][_0x4dac57(0x405)]&&(_0x1b70ba['push']([_0x3083bd]),_0x38c941[_0x4dac57(0x59c)]([_0x3083bd])),_0x1b70ba[_0x4dac57(0x646)](_0xeacfb2=>_0x2229e1[_0x4dac57(0x42b)](_0xeacfb2)),(0x0,_0x29b193[_0x4dac57(0x629)])(this[_0x4dac57(0x348)],_0x38c941);let _0x177177=_0x2229e1[_0x4dac57(0x519)](_0x5d81e7),_0x3d8333=_0x2229e1[_0x4dac57(0x519)](_0x3097d6);_0x3d8333[_0x4dac57(0x661)](_0x177177),this[_0x4dac57(0x661)](_0x3d8333);}[_0x53d83c(0x65a)](){const _0x56e4ba=_0x53d83c;var _0xfb649;(_0xfb649=this[_0x56e4ba(0x348)]['get'](_0x5d386e))==null||_0xfb649['initPanel']();}[_0x53d83c(0x338)](){const _0x265116=_0x53d83c;[_0x2553ca,_0x52d5c9,_0x3f9fc3,_0xbf5f42,_0x4dca24,_0x5f10b8,_0x2c7ff5][_0x265116(0x646)](_0x23b1d5=>this[_0x265116(0x661)](this[_0x265116(0x228)][_0x265116(0x50c)](_0x23b1d5)));}};_0x3e8fbf(_0x5d1b32,'type',_0x29b193['UniverInstanceType'][_0x53d83c(0x222)]),_0x3e8fbf(_0x5d1b32,_0x53d83c(0x26c),_0x53d83c(0x3f3)),_0x3e8fbf(_0x5d1b32,_0x53d83c(0x2d2),_0xb3ca54),_0x3e8fbf(_0x5d1b32,'version',_0xdca65),_0x5d1b32=_0x2db00d([(0x0,_0x29b193[_0x53d83c(0x3d9)])(_0x358ed8[_0x53d83c(0x23e)],_0x4b86b8[_0x53d83c(0x5af)],_0x4feb4f[_0x53d83c(0x523)],_0x313b04[_0x53d83c(0x2f2)],_0x303a0f[_0x53d83c(0x623)],_0x2132f2[_0x53d83c(0x219)],_0x1593c9[_0x53d83c(0x4b2)],_0x379e87[_0x53d83c(0x58c)],_0x42e6b5[_0x53d83c(0x6bc)],_0x2d4cf1[_0x53d83c(0x656)]),_0x24d873(0x1,(0x0,_0x29b193['Inject'])(_0x29b193[_0x53d83c(0x4ef)])),_0x24d873(0x2,_0x29b193[_0x53d83c(0x341)]),_0x24d873(0x3,_0x29b193[_0x53d83c(0x456)])],_0x5d1b32),_0x7ffc42['ChartOpenPanelOperation']=_0x5f10b8,Object[_0x53d83c(0x3e7)](_0x7ffc42,'ChartRenderService',{'enumerable':!0x0,'get':function(){return _0x3064f4;}}),_0x7ffc42[_0x53d83c(0x406)]=_0x316a04,_0x7ffc42[_0x53d83c(0x24c)]=_0x583c49,Object['defineProperty'](_0x7ffc42,_0x53d83c(0x3af),{'enumerable':!0x0,'get':function(){return _0x5d386e;}}),_0x7ffc42[_0x53d83c(0x47f)]=_0x30c6a6,Object[_0x53d83c(0x3e7)](_0x7ffc42,_0x53d83c(0x5cf),{'enumerable':!0x0,'get':function(){return _0x11991e;}}),Object['defineProperty'](_0x7ffc42,'UniverSheetsChartMobileUIPlugin',{'enumerable':!0x0,'get':function(){return _0x616357;}}),Object[_0x53d83c(0x3e7)](_0x7ffc42,_0x53d83c(0x3f3),{'enumerable':!0x0,'get':function(){return _0x5d1b32;}}),_0x7ffc42['createChartElementPopupAnchorObserver']=_0x2441a8;}));