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

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 (84) hide show
  1. package/lib/cjs/index.js +1 -1
  2. package/lib/cjs/locale/ar-SA.js +1 -1
  3. package/lib/cjs/locale/ca-ES.js +1 -1
  4. package/lib/cjs/locale/de-DE.js +1 -1
  5. package/lib/cjs/locale/en-US.js +1 -1
  6. package/lib/cjs/locale/es-ES.js +1 -1
  7. package/lib/cjs/locale/fa-IR.js +1 -1
  8. package/lib/cjs/locale/fr-FR.js +1 -1
  9. package/lib/cjs/locale/id-ID.js +1 -1
  10. package/lib/cjs/locale/it-IT.js +1 -1
  11. package/lib/cjs/locale/ja-JP.js +1 -1
  12. package/lib/cjs/locale/ko-KR.js +1 -1
  13. package/lib/cjs/locale/pl-PL.js +1 -1
  14. package/lib/cjs/locale/pt-BR.js +1 -1
  15. package/lib/cjs/locale/ru-RU.js +1 -1
  16. package/lib/cjs/locale/sk-SK.js +1 -1
  17. package/lib/cjs/locale/vi-VN.js +1 -1
  18. package/lib/cjs/locale/zh-CN.js +1 -1
  19. package/lib/cjs/locale/zh-HK.js +1 -1
  20. package/lib/cjs/locale/zh-TW.js +1 -1
  21. package/lib/es/index.js +1 -1
  22. package/lib/es/locale/ar-SA.js +1 -1
  23. package/lib/es/locale/ca-ES.js +1 -1
  24. package/lib/es/locale/de-DE.js +1 -1
  25. package/lib/es/locale/en-US.js +1 -1
  26. package/lib/es/locale/es-ES.js +1 -1
  27. package/lib/es/locale/fa-IR.js +1 -1
  28. package/lib/es/locale/fr-FR.js +1 -1
  29. package/lib/es/locale/id-ID.js +1 -1
  30. package/lib/es/locale/it-IT.js +1 -1
  31. package/lib/es/locale/ja-JP.js +1 -1
  32. package/lib/es/locale/ko-KR.js +1 -1
  33. package/lib/es/locale/pl-PL.js +1 -1
  34. package/lib/es/locale/pt-BR.js +1 -1
  35. package/lib/es/locale/ru-RU.js +1 -1
  36. package/lib/es/locale/sk-SK.js +1 -1
  37. package/lib/es/locale/vi-VN.js +1 -1
  38. package/lib/es/locale/zh-CN.js +1 -1
  39. package/lib/es/locale/zh-HK.js +1 -1
  40. package/lib/es/locale/zh-TW.js +1 -1
  41. package/lib/index.js +1 -1
  42. package/lib/locale/ar-SA.js +1 -1
  43. package/lib/locale/ca-ES.js +1 -1
  44. package/lib/locale/de-DE.js +1 -1
  45. package/lib/locale/en-US.js +1 -1
  46. package/lib/locale/es-ES.js +1 -1
  47. package/lib/locale/fa-IR.js +1 -1
  48. package/lib/locale/fr-FR.js +1 -1
  49. package/lib/locale/id-ID.js +1 -1
  50. package/lib/locale/it-IT.js +1 -1
  51. package/lib/locale/ja-JP.js +1 -1
  52. package/lib/locale/ko-KR.js +1 -1
  53. package/lib/locale/pl-PL.js +1 -1
  54. package/lib/locale/pt-BR.js +1 -1
  55. package/lib/locale/ru-RU.js +1 -1
  56. package/lib/locale/sk-SK.js +1 -1
  57. package/lib/locale/vi-VN.js +1 -1
  58. package/lib/locale/zh-CN.js +1 -1
  59. package/lib/locale/zh-HK.js +1 -1
  60. package/lib/locale/zh-TW.js +1 -1
  61. package/lib/types/views/chart-edit-panel/chart-editor-default-values.d.ts +0 -4
  62. package/lib/types/views/chart-edit-panel/data-tab-panel/DataTabPanel.d.ts +1 -4
  63. package/lib/types/views/mobile/chart-edit-panel/MobileDataTabPanel.d.ts +1 -4
  64. package/lib/umd/index.js +1 -1
  65. package/lib/umd/locale/ar-SA.js +1 -1
  66. package/lib/umd/locale/ca-ES.js +1 -1
  67. package/lib/umd/locale/de-DE.js +1 -1
  68. package/lib/umd/locale/en-US.js +1 -1
  69. package/lib/umd/locale/es-ES.js +1 -1
  70. package/lib/umd/locale/fa-IR.js +1 -1
  71. package/lib/umd/locale/fr-FR.js +1 -1
  72. package/lib/umd/locale/id-ID.js +1 -1
  73. package/lib/umd/locale/it-IT.js +1 -1
  74. package/lib/umd/locale/ja-JP.js +1 -1
  75. package/lib/umd/locale/ko-KR.js +1 -1
  76. package/lib/umd/locale/pl-PL.js +1 -1
  77. package/lib/umd/locale/pt-BR.js +1 -1
  78. package/lib/umd/locale/ru-RU.js +1 -1
  79. package/lib/umd/locale/sk-SK.js +1 -1
  80. package/lib/umd/locale/vi-VN.js +1 -1
  81. package/lib/umd/locale/zh-CN.js +1 -1
  82. package/lib/umd/locale/zh-HK.js +1 -1
  83. package/lib/umd/locale/zh-TW.js +1 -1
  84. package/package.json +18 -18
package/lib/umd/index.js CHANGED
@@ -1 +1 @@
1
- function _0xc585(){const _0xadc2ce=['_panelRoute$','scaleY','_pendingDataUpdateChartIds','toInsertChartMutationSource','27390gFOUEL','opacity','path','_getOrCreateChartRenderInstance','_activeChartId','_clearPendingUrlImage','ChartAxisSection','visible','sheets-chart-ui.common.invalidDataRange','_requestChartCanvasRender','getOrCreateDrawingCopyPlan','TRANSFORM_CHANGE_OBSERVABLE_TYPE','univerjs-icon\x20univerjs-icon-','Overlay','getDirection','_createImageChartHost','download','getRealBound','img','_rangeSelectMode','hit','checkChartCanRender','waterfallStyle','_resizeChart','444399byXseV','_getChartRenderSkipReason','onTransformChange$','startY','_cancelDebouncedCallbacks','99WHVuDz','scene','_initCommands','ChartPieStyleSection','ChartEditorCapability','MEDIA','sheets-chart-ui.common.exportImage','isHit','replace','targetSubUnitId','scroll','_registerAdapter','SheetCanvasPopManagerService','_menuManagerService','_applyActiveChartRuntimeZIndex','buildChartTypeSelectOptions','@univerjs/ui','ChartWordCloudStyleSection','plotVisibleOnly','setProperty','CHART_HOST_BORDER_RADIUS','name','ChartIndicatorLineSection','DRAWING_CHART','sheets-chart-ui.config','PRINTING_COMPONENT_COLLECT','ChartUpdateConfigCommand','endY','DependentOn','appliedStrokeWidth','setHostStyle','focused$','_openPanel','@univerjs/sheets-drawing','addObject','clientY','sheets-chart-ui.common.customize','markReady','INSERT','top','DEFAULT_CHART_AXIS_VALUES','includes','Canvas','Data','stringify','DrawingApplyType','useObservable','width','IChartRenderModelManagerService','_deactivateEditPanelState','idSuffix','deriveStateFromActiveSheet$','transform','transformToDrawingPosition','_renderAfterChartUpdateMutation','react','1582629laqgAK','_copyInfo','mobile-sheet-chart-setup-panel','ChartWaterfallStyleSection','max','_generateCopyPasteMutations','UniverRenderEnginePlugin','ChartIcon','transparent','4VMNfZQ','useId','[ChartRender]\x20Failed\x20to\x20render\x20chart\x20snapshot\x20for\x20printing','_activeDomReadyChartIds','4674246bLUzMk','hasOwnProperty','@univerjs/engine-formula','_localeService','subscribeEvent','enableChartElementFloatMenu','innerHeight','setRangeSelectMode','sheets-chart-ui.section.sunburst','UniverSheetsUIPlugin','ChartLineAndAreaSection','params','setDataRange','Bubble','_deactivateDataUpdateAnimation','_pendingHost','sheets-chart-ui.section.candlestick','isConnected','getHostSize','UniverDrawingPlugin','checkMounted','dataUrl','UniverProLicense','rangeInfo$','SetDrawingApplyMutation','ImageBitmap','2FTWPFM','fill','bottom','setChartEditorOpen','ISheetsChartUIService','REMOVE','amd','then','panelRoute$','packageName','.chart-host','_shouldEnableChartElementEdit','univer-flex\x20univer-flex-col\x20univer-gap-3\x20univer-pb-5','UniverSheetsDrawing','div','getRenderModel','height','ChartRadarStyleSection','sheet.command.chart.copy-focused-chart','_popupChartId','_drawChartImage','getSheetCommandTarget','Inject','References','ThemeService','version','_clearPanelState','ChartFrameContentMode','_url','sheets-chart-ui.section.indicatorLine','string','_registerComponents','_chartEventHandlers','_chartModelService','_getHostPlacement','_chartEditorOpen$','@univerjs/design','print','offsetTop','DEFAULT_PASTE','_chartEventSubscriptions','sheets-chart-ui.common.openChartPanel','UniverDrawingUi','Column','_removeHost$','hidden','has','strokeOpacity','getOwnPropertyDescriptor','UniverSheetsMobileUIPlugin','iconName','@univerjs/drawing-ui','_sheetInterceptorService','_requestedUrl','CHART_DATA_UPDATE_ANIMATION_DURATION','deserializeRangeWithSheet','_resolveChartRenderMode','with','startRow','_openFloatMenu','Row','chartTypeSupportsLineAndAreaStyle','afterRender$','_debounceHandleMap','activeSheet$','toStringTag','WorkbookEditablePermission','ChartHostAdapter','_clearChartRuntimeCache','ChartGridlinesAndTicksSection','CopySheetCommand','getConfig','(prefers-reduced-motion:\x20reduce)','ChartThemeField','parseFloat','createElement','entries','Pareto','setObjectType','EChartRenderEngineName','sheets-chart-ui.waterfall.subtotal','sheets-chart-ui.section.wordCloud','engine','direction$','Candlestick','rangeSelectMode','univer-flex\x20univer-min-h-full\x20univer-w-full\x20univer-flex-col\x20univer-bg-gray-0\x20dark:!univer-bg-gray-900','use','sheets-chart-ui.common.insertChart','evented','ChartNumberFormatAtom','ParetoLineSeries','keys','querySelector','RemoveSheetsChartMutation','_initActiveChartModelListener','useCallback','_syncActiveEditChart','DEFAULT_CHART_PARETO_VALUES','ChartRenderMode','@univerjs/sheets-drawing-ui','trim','executeCommand','ChartEditBlockTitle','getValue','getObject','ChartModelService','rightYAxis','resolveChartEditPanelRoute','resolveDefaultChartHostFrameStyle','mode','_requestPaint','_generateCutPasteMutations','Heatmap','flatMap','getActiveSheet','invalidateSnapshot','isManaged','isFinite','_chartUIService','_chartSnapshotStoreService','_markHostReady','MobileChartEditorProvider','blur','debounce','getFloatDomInfo','_lastActiveSheet','Dom','localName','UniverProSheetsChart','-univer-mx-4','length','call','_waiter','redo','displayName','_canvasFloatDomService','pipe','@univerjs-pro/engine-chart','updateFloatDomProps','_domFrame','Radar','getRuntimeContext','useChartEditorChartType','renderChartsForPrinting','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','toPrimitive','some','isReleased','_chartRenderService','ChartTypeSpecificStyleSection','UniverDesign','getSubUnitId','min','clientX','ChartStyle','DEFAULT_CHART_TITLE_VALUES','setContextValue','DEFAULT_CHART_PIE_VALUES','get','WaterfallSeries','featurePluginGroupUpdate$','_getPlacement','ICommandService','lineTo','naturalHeight','ChartSectionAccordionItem','KeyCode','getDrawingByParam','forEach','getHostClientRect','isElementEditModeActive','contains','drawingId','ChartThemeService','featurePluginOrderUpdate$','switchMap','ChartTypeSpecificDataSection','mergeMenu','104hCxGyE','route','UniverChartMobileUIPlugin','sheet.command.chart.open-focused-panel','style$','sheets-chart-ui.permission.editErr','_sheetCanvasPopManagerService','ChartOpenPanelOperation','_dataUpdateAnimationTimers','_clearSelectedTarget','_canAnimateDataUpdate','InsertChartCommand','_sheetClipboardService','resolveChartCreationIntent','strokeWidth','close','onDispose','_init','setActiveChartModel','Waterfall','sheets-chart-ui.common.showHiddenData','IUniverInstanceService','setProps','3388695xzJlSZ','crossOrigin','sheets-chart-ui.section.radar','InsertSheetsChartMutation','IConfigService','abs','sheets-chart-ui.section.paretoBar','_bindChartEventHandler','ChartStackField','WordCloud','_commandService','exportImage','exportImg','_applyHostInteractionState','add','waterfall','_hostStyle','sheets-chart-ui.common.category','concat','ChartWaterfallSetupFields','RangeSelector','DataOrientation','ensureMount','type','_sheetDrawingHitTestService','zIndex','markNotReady','UniverIcon','_config','_pendingUrlImage','pairwise','useLayoutEffect','_renderManagerService','SheetDrawingHitTestService','DEFAULT_CHART_STYLE_VALUES','setPanelRoute','isDomReady','getName','markUnmanaged','clearRuntimeCache','chartObject','forwardRef','useDependency','ObjectType','DRAWING','absolute','Area','_getDrawable','getAllowedChartTypes','idMap','ChartImageSourceType','unitId','sheetTransform','_sidebarDisposable','assignStyle','source','_rerenderLatest','fromEntries','sheet.operation.hide-chart-panel','sheets-chart-ui.section.chord','univer-flex\x20univer-flex-col\x20univer-gap-3','DRAWING_OBJECT_LAYER_INDEX','ancestorTransform','scale','getCurrentTypeOfUnit$','jsx','RibbonInsertGroup','attrs','UniverUi','_disposed','chartBitsUtils','_drawChartFrame','univer-shrink-0','ParetoBarSeries','xlink:href','_activateEditPanelState','sheets-chart-ui.section.histogram','subscribe','_initCopyPaste','_cancelHostWait','copyType','Url','sheets-chart-ui.common.setup','_renderDebounceMap','_createCopyInfoByRange','_initActiveRuntimeLayerListener','getSheetBySheetName','useState','_getOrCreateSheetChartHost','_disposeChartDomInstance','_rect','pluginName','_bindChartEventHandlers','requestPaint','pieSecondaryPlotType','Histogram','all','getRect','updateFloatDom','Relation','sheetChartDataAnimationDuration','sheets-chart-ui.common.series','GridlinesAndTicks','missing-active-sheet','IRenderManagerService','localPoint','_subscribeChartEvents','classType','chartId','getParent','getMatrix','_urlImage','url','resolve','dispose','header','useChartEditorHasRightAxis','sheets-chart-ui.common.dataRange','_dataUpdateAnimationDuration','UniverChartUIPlugin','getBatchAddOp','_image','_isChartElementEditEnabled','CUT','current','sheets-chart-ui.common.legend','sheets-chart-element-float-menu','_sidebarService','ENTER','Observable','_componentManager','registerFeatureMenu','activeRuntimeModel','domId','DEFAULT_CHART_HEATMAP_VALUES','Gauge','getCurrentRangeDisable$','anchorRect$','Literals','Injector','chartType','_renderModelManager','getChartModel','symbol','sheet-chart-style-panel','registerRenderObjectFactory','DrawingTypeEnum','endX','activeChartModel$','clearChart','_initPrinting','UniverSheetsDrawingUi','makeDirty','arc','left','defs','_closePopup','getPropertyValue','getObjectIncludeInGroup','object','Transform','invert','_sheetCanvasFloatDomManagerService','DEFAULT_CHART_WATERFALL_STYLE_VALUES','mask','useMemo','url(#$1','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','icon','setElementEditMode','Module','_lastRenderInputMap','small','translate','Line','Fragment','isArray','clientWidth','removeAttribute','getDrawingShapeKeyByDrawingSearch','getCurrentLastSelection','sheet.command.menu-insert-chart','OPERATION','getFocusDrawings','permissionCheckWithoutRange','SheetPermissionCheckController','UNIVER_SHEET','canvas','_sheetDrawingService','stroke-width','useImperativeHandle','missing-float-dom','defineProperty','DisposableCollection','set','_adapterRegistry','hidePanel','clearImage','ChartTypeBits','ChartTitlesSection','_getChartRenderObject','rect','href','non-scaling-stroke','LocaleService','withLatestFrom','stroke','SheetsSelectionsService','getBatchRemoveOp','_sheetPermissionCheckController','featurePluginUngroupUpdate$','image','complete','DeleteIcon','UniverSheetsUi','Fail\x20to\x20create\x20float\x20dom','sheets-chart-ui.common.useAsCategoryLabels','_chartInstanceMap','_prepareDataUpdateRender','WorksheetEditPermission','onerror','_sheetsChartUIService','generateRandomId','removeHost$','@univerjs-pro/license','_shouldSuppressRender','value','_univerInstanceService','showFloatMenu','_markReady','_scheduleDataUpdateAnimationEnd','SHEETS_CHART_UI_PLUGIN_CONFIG_KEY','UniverSheetsFormulaUi','querySelectorAll','setImage','Bar','ChartTypeField','_focusedDrawings','subUnitId','sheets-chart-ui.common.chartAndAxisTitles','distinctUntilChanged','COMMA','_applyHostStyle','titles','_activateHostWrapper','indexOf','_version','sheets-chart-ui.common.copy','getUnitId','_clearHiddenSelectedTarget','ChartEditPanel','_entries','src','_getFloatDomInfo','assign','resolveChartRuntimeStyle','applyPoint','syncLayout','_generatePasteMutations','activeChartModel','dataSource$','anonymous','nextVersion','.png','chartModelRemoved$','_updateTransform','_setHostStyle','@univerjs-pro/sheets-chart','mountNode','ChartCommonDataMappingSection','Axes','SheetsChartUIController','ChartFunnelStyleSection','openChartPanelById','colorChannel1','allSeriesStyle','label','ChartParetoSeriesSection','undo','Canceled\x20waiting\x20for\x20float\x20dom\x20host\x20\x22','#-#','ImageChartHost','sheet.command.chart.delete-focused-chart','sheets-chart-ui.common.deleteChart','Disposable','getRangeInfo','_loadUrlImage','chartRenderMode','lineAndArea','sheets-chart-ui.section.funnel','SheetsChartUIService','_chartThemeService','UniverSheetsChartMobileUIPlugin','setOrientation','drawImage','ChartImageExportService','_getChartRenderObjectContext','UniverSheetsDrawingUIPlugin','range','ChartTrendlineSection','rightY','combineLatest','transformChange$','sheets-chart-ui.common.horizontalAxis','ChartFrameLayout','_handleDrawingDoubleClick','PieStyle','_disposeChartChangeListeners','DEFAULT_CHART_LINE_AND_AREA_VALUES','defIds','tab','jsxs','values','ChartAndAxisTitles','getMenuHiddenObservable','IndicatorLine','React','globalAlpha','_injector','throttleTime','category','ContextMenuGroup','isRender','priority','sheets-chart-ui.waterfall.negative','objects','_frameStyle','open','_getImage','ComponentManager','_snapshotStore','chartTypeSupportsCapability','_cacheActiveDomChartSnapshot','_sheetsChartService','ChartGradientFillField','createRuntimeChartStyle','registerCommand','Boxplot','COMMAND','vectorEffect','toDisposable','SheetCanvasFloatDomManagerService','pointerEvents','DEFAULT_CHART_TRENDLINE_VALUES','Subtotal','remove$','UniverSheetsPlugin','defaultValues','imageBitmap','DEFAULT_CHART_RELATION_VALUES','_renderService','next','DownloadImageIcon','render','getId','useRef','series','getTransformerByCreate','PieSecondaryPlotType','_themeService','ChartUIService','chartEditorOpen$','_resetChartRuntimeZIndex','sheets-chart-ui.common.heatmap','update','drawingType','ChartRenderService','ISidebarService','commitSnapshot','sheets-chart-ui.chord.target','copyId','logicalOuterRect','chartEditorOpen','_sheetPrintInterceptorService','viewBound','@univerjs-pro/sheets-chart-ui','UniverInstanceType','Style','BehaviorSubject','_isOwnedChart','ChartSourceHeaderTitleType','_resolveLayout','circle,\x20ellipse,\x20line,\x20path,\x20polygon,\x20polyline,\x20rect,\x20text,\x20textPath,\x20tspan,\x20use','removeProperty','504301rYjMyE','labelId','segmented','sheets-chart-ui.section.lineAndArea','_getChartSnapshotKey','register','ChartLegendSection','config','_chartHostMap','ChartEditPanelSection','from','getRenderColor','_chartHostProvider','ISheetDrawingService','Image','getImage','UniverDrawing','right','startX','resolveChartStyleBackgroundColor','_restoreFloatDomPositionStream','handleActiveSubUnitChange','scaleX','rangeInfo','baseOn','iterator','pen-icon','sheets-chart-ui.section.relation','Subject','createChartElementFloatMenuAdapter','IContextService','getCurrentUnitOfType','sheetChartDataAnimation','UniverLicensePlugin','RemoveSheetCommand','drawWith','click','axis','chartModelId','@univerjs/sheets','hasAttribute','sheet.chart.edit.panel','getSheetId','FOCUSING_COMMON_DRAWINGS','BUTTON','getElementById','cumulativeLineStyle','setConfig','RightVerticalAxis','combineLatestWith','map','SheetChartConfigAdapter','dataset','filter','1.0.2','_disposeChartEventSubscription','UniverSheetsDrawingMobileUIPlugin','DEFAULT_CHART_SERIES_VALUES','toFixed','matchToken','Pie','sheets-chart-ui.common.editChart','SheetSkeletonManagerService','blockExecuteWithoutPermission','restore','setDataUpdateAnimation','split','viewBox','HorizontalAxis','sheets-chart-ui.common.rightVerticalAxis','10625364wtMSIM','_configService','prototype','removeHost','_contextService','nativeEvent','Treemap','multiply','bind','attachRangeWithCoord','sheets-chart-ui.common.chartStyle','_chartRenderMode','exports','add$','_chartElementEditMode','1000','_createChartRenderInstanceContext','ChartEditPanelTab','Sunburst','_managed','radar','ChartUpdateSourceCommand','_addWatermark','color','style','markHostNotReady','CommandType','_createPrintingChartObject','SheetSkeletonService','executeChartUpdateConfig','promise','innerWidth','_registerIcons','_openEditPanelByDoubleClick','isRowDirection','_savedWrapperStyle','Button','_disposeImage','interceptCommand','_disposeChartEventSubscriptions','getPropertyPriority','tag','SELECTOR','sourceSubUnitId','UniverMobileUIPlugin','getBoundingClientRect','Legend','_initSheetChange','sheets-chart-ui.section.paretoLine','hadStyleAttribute','svg','Rect','constructor','initPanel','getRenderUnitById','save','getDrawingOrder','Funnel','_iconManager','_isProviderDisposed','onRendered','every','children','pareto','clientHeight','_markNotReady','originalStrokeWidth','_registerChartImageRenderObjectFactory','_getOuterRect','closePath','CHART_TYPE_CATALOG','asObservable','push','_drawingManagerService','sheets-chart-ui.section.gauge','\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','1em','ChartWaterfallStyleTarget','setStyle','merge','getFocusedUnit','_renderChartModel','SVG','useEffect','skip','checkHost','Sankey','matches','_getSceneAndTransformerByDrawingSearch','items','Scatter','sheets-chart-ui.common.switchRowColumn','config$','getUnit','position$','ChartStyleSection','chartModelAdded$','sheetId','ChartTypeSpecificSetupSection','sheets-chart-ui.chartTypes.','_activateDataUpdateAnimation','none','ChartElementFloatMenuAdapterRegistry','true','verify','ensureHandle','_disposeChartRenderInstance','parentElement','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','focus$','getSkeleton','_pendingToken','touchDependencies','Plugin','_pendingMutationConfigRenders','sheets-chart-ui.section.pie','UniverSheetsChartPlugin','_chartChangeSubscriptions','syncHostLayout','clear','startWith','numberToABC','data$','_snapshotKey','MenuItemType','_setChartRuntimeZIndex','Series','_sheetSkeletonService','sheets-chart-ui.section.treemap','univer-overflow-visible','matchMedia','UniverSheetsChartUIPlugin','_draw','ChartEditPanelTabs','sheet.operation.open-chart-panel','select','_alignFloatDomPositionWithSceneRender','isLatest','isInGroup','parent','_resolvedConfig','naturalWidth','getChartSourceSpec','animateDataUpdate','target','delete','indicatorLine','focusDrawing','context$','onCommandExecuted','_dataUpdateAnimationChartIds','sheets-chart-ui.common.chart','FOCUSING_PANEL_EDITOR','serialize','ChartRelationStyleSection','Checkbox','_initPermission','getChartSnapshotImage','_clearSheetChartRuntimeCaches','_panelInitialized','Chord','offsetWidth','getDrawingData','_popupDisposable','cancel','CanvasFloatDomService','NativeTextEditorShortcutBehavior','_initMenus','clearPanelRoute','radius','univer-overflow-hidden','createIdentifier','createChartElementPopupAnchorObserver','groupId','onStarting','startColumn','getSheetBySheetId','UPDATE','function','_initDrawingDeactivationListener','element','dataSource','context','resize','endsWith','sheets-chart-ui.common.trendline','fromEvent','relation','number','UniverSheetsDrawingPlugin','IDrawingManagerService','addClipboardHook','ensureHost','ISheetClipboardService','SheetsChartService','dom','_renderWhenConfigReady','removeChartModel','createChartInstance','getChartPopupMenus','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','PenIcon','disposeWithMe','_chartHostProviderService','RemoveSheetDrawingCommand','decorate','supports','_popupSessionKey','UniverProChartUi'];_0xc585=function(){return _0xadc2ce;};return _0xc585();}function _0x8413(_0x1c4501,_0x40b88a){_0x1c4501=_0x1c4501-0xec;const _0xc585b1=_0xc585();let _0x8413d8=_0xc585b1[_0x1c4501];return _0x8413d8;}(function(_0x1d3ba2,_0x2de8b5){const _0x5a8999=_0x8413,_0x5d097b=_0x1d3ba2();while(!![]){try{const _0xf19132=parseInt(_0x5a8999(0x301))/0x1*(parseInt(_0x5a8999(0x365))/0x2)+parseInt(_0x5a8999(0x33e))/0x3+parseInt(_0x5a8999(0x347))/0x4*(parseInt(_0x5a8999(0x42f))/0x5)+-parseInt(_0x5a8999(0x34b))/0x6+parseInt(_0x5a8999(0x1ce))/0x7*(parseInt(_0x5a8999(0x418))/0x8)+-parseInt(_0x5a8999(0x214))/0x9+-parseInt(_0x5a8999(0x2e9))/0xa*(parseInt(_0x5a8999(0x306))/0xb);if(_0xf19132===_0x2de8b5)break;else _0x5d097b['push'](_0x5d097b['shift']());}catch(_0x4c5213){_0x5d097b['push'](_0x5d097b['shift']());}}}(_0xc585,0x92f60),function(_0x55fe4f,_0x2e0409){const _0x147c2c=_0x8413;typeof exports==_0x147c2c(0xed)&&typeof module<'u'?_0x2e0409(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('@univerjs/drawing-ui'),require('@univerjs/engine-render'),require('react'),require('@univerjs/design'),require('@univerjs/sheets-formula-ui'),require('react/jsx-runtime'),require('@univerjs-pro/license')):typeof define==_0x147c2c(0x2c6)&&define[_0x147c2c(0x36b)]?define([_0x147c2c(0x220),'@univerjs/core',_0x147c2c(0x159),'@univerjs/drawing',_0x147c2c(0x327),_0x147c2c(0x3c9),'@univerjs/sheets-ui',_0x147c2c(0x316),'rxjs','@univerjs-pro/chart-ui',_0x147c2c(0x3ef),_0x147c2c(0x1f5),_0x147c2c(0x34d),_0x147c2c(0x398),'@univerjs/engine-render',_0x147c2c(0x33d),_0x147c2c(0x389),'@univerjs/sheets-formula-ui','react/jsx-runtime',_0x147c2c(0x12e)],_0x2e0409):(_0x55fe4f=typeof globalThis<'u'?globalThis:_0x55fe4f||self,_0x2e0409(_0x55fe4f['UniverProSheetsChartUi']={},_0x55fe4f['UniverCore'],_0x55fe4f[_0x147c2c(0x3e6)],_0x55fe4f[_0x147c2c(0x1de)],_0x55fe4f[_0x147c2c(0x372)],_0x55fe4f[_0x147c2c(0x4c6)],_0x55fe4f[_0x147c2c(0x124)],_0x55fe4f[_0x147c2c(0x473)],_0x55fe4f['rxjs'],_0x55fe4f[_0x147c2c(0x2e4)],_0x55fe4f['UniverProEngineChart'],_0x55fe4f['UniverSheets'],_0x55fe4f['UniverEngineFormula'],_0x55fe4f[_0x147c2c(0x38f)],_0x55fe4f['UniverEngineRender'],_0x55fe4f['React'],_0x55fe4f[_0x147c2c(0x3fc)],_0x55fe4f[_0x147c2c(0x136)],_0x55fe4f[_0x147c2c(0x18a)],_0x55fe4f[_0x147c2c(0x361)]));}(this,function(_0x5a80bb,_0x2b5065,_0x27938e,_0x1c7848,_0x1fbc4d,_0x45c19d,_0x580364,_0x4585f0,_0xb5e9d7,_0x6741ad,_0x27e583,_0x231dba,_0x38c4c6,_0x51f318,_0x5f0e57,_0x45f5c8,_0x451fc4,_0x1a35d8,_0x38421a,_0xb5b92e){const _0x28722a=_0x8413;Object[_0x28722a(0x10e)](_0x5a80bb,Symbol[_0x28722a(0x3a6)],{'value':_0x28722a(0xf8)});let _0x22a72a={'type':_0x2b5065[_0x28722a(0x22e)][_0x28722a(0x104)],'id':_0x28722a(0x29a),'handler'(){return!0x0;}},_0x4e285b=_0x28722a(0x31e),_0x11abf0={'enableChartElementFloatMenu':!0x0},_0x271157={'type':_0x2b5065[_0x28722a(0x22e)][_0x28722a(0x104)],'id':_0x28722a(0x469),'handler'(){return!0x0;}};function _0x409fff(_0x4711eb){const _0x1c3fb5=_0x28722a;let _0x3c5cd0=_0x4711eb[_0x1c3fb5(0x404)](_0x1fbc4d['ISheetDrawingService'])[_0x1c3fb5(0x105)]();if(_0x3c5cd0[_0x1c3fb5(0x3e8)]!==0x1)return null;let _0x497fb6=_0x3c5cd0[0x0];return _0x497fb6[_0x1c3fb5(0x1bb)]===_0x2b5065[_0x1c3fb5(0x4c1)][_0x1c3fb5(0x31d)]?_0x497fb6:null;}function _0x2f5747(_0x15d909,_0x39bd6b){const _0x5bbf20=_0x28722a;let _0x31f2f9=document[_0x5bbf20(0x3b0)]('a');_0x31f2f9[_0x5bbf20(0x118)]=_0x15d909,_0x31f2f9[_0x5bbf20(0x2f9)]=_0x39bd6b,_0x31f2f9[_0x5bbf20(0x1f2)]();}let _0x32b2a3={'id':_0x28722a(0x41b),'type':_0x2b5065[_0x28722a(0x22e)][_0x28722a(0x1a0)],'handler':(_0x23c78f,_0x331b1a)=>{const _0x53ed7c=_0x28722a;let _0x46ed5a=_0x409fff(_0x23c78f);return _0x46ed5a?_0x23c78f['get'](_0x2b5065[_0x53ed7c(0x408)])['executeCommand'](_0x22a72a['id'],{'unitId':_0x46ed5a['unitId'],'subUnitId':_0x46ed5a[_0x53ed7c(0x13c)],'drawingId':_0x46ed5a[_0x53ed7c(0x412)],..._0x331b1a!=null&&_0x331b1a['route']?{'route':_0x331b1a[_0x53ed7c(0x419)]}:{}}):!0x1;}},_0x2fe892={'id':_0x28722a(0x377),'type':_0x2b5065[_0x28722a(0x22e)][_0x28722a(0x1a0)],'handler':_0x42f744=>_0x409fff(_0x42f744)?_0x42f744[_0x28722a(0x404)](_0x2b5065[_0x28722a(0x408)])[_0x28722a(0x3cb)](_0x580364['SheetCopyCommand']['id']):!0x1},_0x36a61c={'id':'sheet.command.chart.export-focused-image','type':_0x2b5065['CommandType'][_0x28722a(0x1a0)],'handler':async _0x4d6c8b=>{const _0x206f7d=_0x28722a;let _0x2ac01c=_0x409fff(_0x4d6c8b);if(!_0x2ac01c)return!0x1;let _0x2a745c=await _0x4d6c8b[_0x206f7d(0x404)](_0x6741ad[_0x206f7d(0x175)])[_0x206f7d(0x43a)]({'unitId':_0x2ac01c[_0x206f7d(0x462)],'subUnitId':_0x2ac01c['subUnitId'],'getId':()=>_0x2ac01c[_0x206f7d(0x412)]});return _0x2a745c?(_0x2f5747(_0x2a745c,_0x2ac01c[_0x206f7d(0x412)]+_0x206f7d(0x155)),!0x0):!0x1;}},_0x44b2a1={'id':_0x28722a(0x168),'type':_0x2b5065[_0x28722a(0x22e)][_0x28722a(0x1a0)],'handler':_0x546a85=>{const _0x2adf5a=_0x28722a;let _0x1e21ba=_0x409fff(_0x546a85);return _0x1e21ba?_0x546a85['get'](_0x2b5065['ICommandService'])[_0x2adf5a(0x3cb)](_0x1fbc4d['RemoveSheetDrawingCommand']['id'],{'unitId':_0x1e21ba[_0x2adf5a(0x462)],'drawings':[{'unitId':_0x1e21ba[_0x2adf5a(0x462)],'subUnitId':_0x1e21ba[_0x2adf5a(0x13c)],'drawingId':_0x1e21ba['drawingId'],'drawingType':_0x2b5065['DrawingTypeEnum']['DRAWING_CHART']}]}):!0x1;}},_0x3be84b={'type':_0x2b5065[_0x28722a(0x22e)]['COMMAND'],'id':_0x28722a(0x103),'handler':async(_0x414b11,_0x29e094)=>{const _0x4d5142=_0x28722a;let _0x5789ad=(0x0,_0x231dba['getSheetCommandTarget'])(_0x414b11['get'](_0x2b5065[_0x4d5142(0x42d)]));if(!_0x5789ad)return!0x1;let _0x54e488=_0x414b11[_0x4d5142(0x404)](_0x231dba[_0x4d5142(0x11d)])[_0x4d5142(0x102)]();if(!_0x54e488)return!0x1;let {range:_0x5538d2}=_0x54e488,_0x285c4a=_0x414b11[_0x4d5142(0x404)](_0x2b5065[_0x4d5142(0x408)]),{unitId:_0x47aa0b,subUnitId:_0x3dcd57}=_0x5789ad,{pieSecondaryPlotType:_0x1df17a,value:_0x99dac2}=_0x29e094,_0x4cfc02=_0x1df17a!==void 0x0;if(_0x4cfc02&&(_0x99dac2!==_0x27e583[_0x4d5142(0x114)][_0x4d5142(0x20a)]||_0x1df17a!==_0x27e583['PieSecondaryPlotType'][_0x4d5142(0x20a)]&&_0x1df17a!==_0x27e583[_0x4d5142(0x1b4)][_0x4d5142(0x139)]))return!0x1;let _0x23dd0d=_0x4cfc02?(0x0,_0x2b5065[_0x4d5142(0x12c)])():void 0x0;return _0x285c4a[_0x4d5142(0x3cb)](_0x27938e[_0x4d5142(0x423)]['id'],{'unitId':_0x47aa0b,'subUnitId':_0x3dcd57,'chartType':_0x99dac2,..._0x23dd0d&&_0x1df17a?{'chartId':_0x23dd0d,'config':{'unitId':_0x47aa0b,'chartModelId':_0x23dd0d,'style':{'pie':{'composite':{'enabled':!0x0,'secondaryPlot':{'type':_0x1df17a}}}}}}:{},'source':{'rangeInfo':{'unitId':_0x5538d2[_0x4d5142(0x462)]??_0x47aa0b,'subUnitId':_0x5538d2[_0x4d5142(0x275)]??_0x3dcd57,'range':_0x5538d2}}});}};function _0x42552d(_0x10c547,_0x4f6839){const _0x31d409=_0x28722a;if(_0x10c547==null)return'';if(Array[_0x31d409(0xfe)](_0x10c547)){var _0x1b5dff;let _0x5389f7=(_0x1b5dff=_0x10c547[0x0])==null?void 0x0:_0x1b5dff['range'];return _0x5389f7?_0x4927ee(_0x5389f7,_0x4f6839):'';}return _0x4927ee(_0x10c547[_0x31d409(0x1e5)],_0x4f6839);}function _0x4927ee(_0x1eb802,_0x51ad13){const _0x177efc=_0x28722a;var _0x498844;let {unitId:_0x547248,subUnitId:_0x422304,range:_0x43f341}=_0x1eb802,_0x5e70de=(_0x498844=_0x51ad13[_0x177efc(0x271)](_0x547248))==null?void 0x0:_0x498844[_0x177efc(0x2c4)](_0x422304);if(!_0x5e70de)return'';let _0x30e215=_0x5e70de[_0x177efc(0x454)]();return(0x0,_0x38c4c6['serializeRangeWithSheet'])(_0x30e215,_0x43f341);}let _0x20e80e=_0x6741ad[_0x28722a(0x25a)][_0x28722a(0x200)](_0x8a5e10=>({'id':'id'in _0x8a5e10?_0x8a5e10['id']:void 0x0,'labelId':_0x8a5e10['labelId'],'pieSecondaryPlotType':_0x28722a(0x48d)in _0x8a5e10?_0x8a5e10['pieSecondaryPlotType']:void 0x0,'value':_0x8a5e10[_0x28722a(0x130)],'icon':_0x8a5e10[_0x28722a(0x397)]}));function _0xc65ef7(_0x1c896a=_0x20e80e){const _0x4cf72f=_0x28722a;return _0x1c896a[_0x4cf72f(0x200)](({id:_0x4c5b51,icon:_0x22b93a,value:_0x534add})=>{const _0x610fda=_0x4cf72f;let _0x2e467b=(0x0,_0x6741ad[_0x610fda(0x425)])(_0x4c5b51??String(_0x534add)),_0x30f9a9=_0x2e467b?{'value':_0x2e467b[_0x610fda(0x4bb)],..._0x2e467b[_0x610fda(0x48d)]?{'pieSecondaryPlotType':_0x2e467b['pieSecondaryPlotType']}:{}}:{'value':_0x534add};return{'icon':_0x22b93a,'value':_0x4c5b51??_0x534add,'params':_0x30f9a9};});}let _0x1c4a7f=(_0x495dab,_0x5a8bcb)=>{const _0x45fd68=_0x28722a;if(_0x5a8bcb[_0x45fd68(0x3e8)]===0x1&&_0x5a8bcb[0x0]===_0x45fd68(0x48f))return _0x495dab;if(_0x5a8bcb[_0x45fd68(0x3e8)]>0x1){let _0x784b9b=new Set();for(let _0xecd73b of _0x5a8bcb)_0x784b9b[_0x45fd68(0x43d)](Number(_0xecd73b));return _0x495dab[_0x45fd68(0x203)](_0x42ad8d=>_0x784b9b[_0x45fd68(0x393)](_0x42ad8d[_0x45fd68(0x130)]));}return[];};function _0x12a73f(_0x1affb4){const _0x1d5980=_0x28722a;let _0x4c1ef3=_0x1affb4[_0x1d5980(0x404)](_0x2b5065[_0x1d5980(0x42d)]),_0x3fee4c=(0x0,_0x27938e['getAllowedChartTypes'])(_0x1affb4),_0x5482e9=_0x1c4a7f(_0x20e80e['concat'](),_0x3fee4c),_0x25bc78=_0xc65ef7(_0x5482e9)['map']((_0x3de397,_0x4c7517)=>({'icon':_0x3de397[_0x1d5980(0xf6)],'value':_0x3de397[_0x1d5980(0x130)],'params':_0x3de397[_0x1d5980(0x356)],'label':'sheets-chart-ui.chartTypes.'+_0x5482e9[_0x4c7517][_0x1d5980(0x1cf)]}));return{'id':_0x3be84b['id'],'type':_0x4585f0[_0x1d5980(0x290)][_0x1d5980(0x23e)],'selectionsCommandId':_0x3be84b['id'],'selections':_0x25bc78,'icon':_0x1d5980(0x345),'tooltip':_0x1d5980(0x3bd),'activated$':(0x0,_0x580364[_0x1d5980(0x339)])(_0x4c1ef3,!0x1,()=>new _0xb5e9d7[(_0x1d5980(0x4b0))](_0x2081e9=>{_0x2081e9['next'](!0x1);})),'hidden$':(0x0,_0x4585f0[_0x1d5980(0x188)])(_0x1affb4,_0x2b5065[_0x1d5980(0x1c6)]['UNIVER_SHEET']),'disabled$':(0x0,_0x580364[_0x1d5980(0x4b7)])(_0x1affb4)};}function _0x148573(_0x30d354){const _0x1fc665=_0x28722a;let _0x50b383=_0x30d354[_0x1fc665(0x404)](_0x1fbc4d[_0x1fc665(0x1db)]);return _0x50b383[_0x1fc665(0x281)]['pipe']((0x0,_0xb5e9d7['startWith'])(_0x50b383['getFocusDrawings']()),(0x0,_0xb5e9d7[_0x1fc665(0x200)])(()=>_0x409fff(_0x30d354)==null));}function _0x3a5087(_0x384a26){const _0x3e545c=_0x28722a;return{'id':_0x32b2a3['id'],'commandId':_0x32b2a3['id'],'type':_0x4585f0[_0x3e545c(0x290)][_0x3e545c(0x1fa)],'title':_0x384a26[_0x3e545c(0x404)](_0x2b5065[_0x3e545c(0x11a)])['t'](_0x3e545c(0x38e)),'icon':_0x3e545c(0x2dd),'hidden$':_0x148573(_0x384a26)};}function _0xffeadd(_0x9337af){const _0xc6da25=_0x28722a;return{'id':_0x2fe892['id'],'commandId':_0x2fe892['id'],'type':_0x4585f0[_0xc6da25(0x290)][_0xc6da25(0x1fa)],'title':_0x9337af[_0xc6da25(0x404)](_0x2b5065['LocaleService'])['t'](_0xc6da25(0x145)),'icon':'CopyDoubleIcon','hidden$':_0x148573(_0x9337af)};}function _0xf1fb23(_0x501030){const _0x51d2bb=_0x28722a;return{'id':_0x36a61c['id'],'commandId':_0x36a61c['id'],'type':_0x4585f0[_0x51d2bb(0x290)][_0x51d2bb(0x1fa)],'title':_0x501030[_0x51d2bb(0x404)](_0x2b5065['LocaleService'])['t'](_0x51d2bb(0x30c)),'icon':_0x51d2bb(0x1ae),'hidden$':_0x148573(_0x501030)};}function _0x432c0f(_0x4645c7){const _0x5a3262=_0x28722a;return{'id':_0x44b2a1['id'],'commandId':_0x44b2a1['id'],'type':_0x4585f0['MenuItemType'][_0x5a3262(0x1fa)],'title':_0x4645c7[_0x5a3262(0x404)](_0x2b5065['LocaleService'])['t'](_0x5a3262(0x169)),'icon':_0x5a3262(0x123),'hidden$':_0x148573(_0x4645c7)};}let _0x16cc3f={[_0x4585f0[_0x28722a(0x471)][_0x28722a(0x30b)]]:{[_0x3be84b['id']]:{'order':0x4,'menuItemFactory':_0x12a73f}},[_0x4585f0['ContextMenuPosition'][_0x28722a(0x45b)]]:{[_0x4585f0[_0x28722a(0x18f)]['OTHERS']]:{[_0x32b2a3['id']]:{'order':0x0,'menuItemFactory':_0x3a5087},[_0x2fe892['id']]:{'order':0x1,'menuItemFactory':_0xffeadd},[_0x36a61c['id']]:{'order':0x3,'menuItemFactory':_0xf1fb23},[_0x44b2a1['id']]:{'order':0x4,'menuItemFactory':_0x432c0f}}}};function _0x2e87ea(_0x40eea2){const _0x9ecb89=_0x28722a;return _0x40eea2===_0x27e583[_0x9ecb89(0x114)]['Combination']||_0x40eea2===_0x27e583[_0x9ecb89(0x114)]['Radar']||_0x40eea2===_0x27e583['ChartTypeBits'][_0x9ecb89(0x19f)]||_0x27e583[_0x9ecb89(0x475)][_0x9ecb89(0x1e6)](_0x40eea2,_0x27e583[_0x9ecb89(0x114)][_0x9ecb89(0xfc)])||_0x27e583['chartBitsUtils'][_0x9ecb89(0x1e6)](_0x40eea2,_0x27e583[_0x9ecb89(0x114)][_0x9ecb89(0x390)])||_0x27e583[_0x9ecb89(0x475)][_0x9ecb89(0x1e6)](_0x40eea2,_0x27e583[_0x9ecb89(0x114)][_0x9ecb89(0x45d)])||_0x27e583[_0x9ecb89(0x475)][_0x9ecb89(0x1e6)](_0x40eea2,_0x27e583[_0x9ecb89(0x114)][_0x9ecb89(0x26e)]);}function _0x3af916(_0x567755){const _0x281fa0=_0x28722a;return _0x2e87ea(_0x567755)||_0x27e583[_0x281fa0(0x475)][_0x281fa0(0x1e6)](_0x567755,_0x27e583[_0x281fa0(0x114)][_0x281fa0(0x20a)])||_0x27e583[_0x281fa0(0x475)]['baseOn'](_0x567755,_0x27e583[_0x281fa0(0x114)][_0x281fa0(0x3b2)])||_0x27e583['chartBitsUtils'][_0x281fa0(0x1e6)](_0x567755,_0x27e583[_0x281fa0(0x114)][_0x281fa0(0x42b)]);}function _0x5b121c(_0x5552e0,_0x31548f){const _0x546cfa=_0x28722a;let _0x3b5972=(0x0,_0x6741ad['resolveChartElementSelection'])(_0x5552e0,_0x31548f),_0x310296=_0x3b5972?(0x0,_0x6741ad[_0x546cfa(0x3d1)])(_0x3b5972[_0x546cfa(0x2a4)]):void 0x0;if(_0x3b5972&&_0x310296)return{..._0x3b5972,'route':_0x310296,'showFloatMenu':_0x3af916(_0x5552e0[_0x546cfa(0x4bb)])&&_0x3b5972[_0x546cfa(0x132)]};}function _0x226411(_0x3d60b1,_0x557fc0=0x1){const _0x39e410=_0x28722a;return{'width':Math[_0x39e410(0x342)](_0x557fc0,_0x3d60b1[_0x39e410(0x335)]),'height':Math['max'](_0x557fc0,_0x3d60b1[_0x39e410(0x375)])};}function _0x378a2b(_0xd7a8d1,_0xe7a5c={},_0x300112={'left':0x0,'top':0x0}){const _0x321a8=_0x28722a;let _0x23cd10=_0xe7a5c['scaleX']??0x1,_0x15735d=_0xe7a5c['scaleY']??0x1,_0x3fdc06=_0x6741ad[_0x321a8(0x17e)][_0x321a8(0x4a0)]({'logicalOuterRect':{'left':_0x300112['left']>0x0?-_0x300112[_0x321a8(0x4c9)]:0x0,'top':_0x300112[_0x321a8(0x32d)]>0x0?-_0x300112[_0x321a8(0x32d)]:0x0,..._0x226411(_0xd7a8d1)},'scale':{'scaleX':_0x23cd10,'scaleY':_0x15735d},'hostStyle':{},'contentMode':_0x6741ad[_0x321a8(0x380)][_0x321a8(0x2f6)]});return{'left':_0x3fdc06[_0x321a8(0x1c1)][_0x321a8(0x4c9)],'top':_0x3fdc06[_0x321a8(0x1c1)][_0x321a8(0x32d)],'width':_0x3fdc06[_0x321a8(0x1c1)][_0x321a8(0x335)],'height':_0x3fdc06[_0x321a8(0x1c1)][_0x321a8(0x375)],'scaleX':_0x23cd10,'scaleY':_0x15735d};}function _0x33d23c(_0x56e60c){'@babel/helpers - typeof';const _0x47784a=_0x28722a;return _0x33d23c=typeof Symbol==_0x47784a(0x2c6)&&typeof Symbol[_0x47784a(0x1e7)]==_0x47784a(0x4be)?function(_0x6a13f9){return typeof _0x6a13f9;}:function(_0x5c97ad){const _0x9c8d75=_0x47784a;return _0x5c97ad&&typeof Symbol==_0x9c8d75(0x2c6)&&_0x5c97ad[_0x9c8d75(0x248)]===Symbol&&_0x5c97ad!==Symbol['prototype']?'symbol':typeof _0x5c97ad;},_0x33d23c(_0x56e60c);}function _0x4225a7(_0xef13fc,_0x44c2f6){const _0x2b4498=_0x28722a;if(_0x33d23c(_0xef13fc)!=_0x2b4498(0xed)||!_0xef13fc)return _0xef13fc;var _0x10140a=_0xef13fc[Symbol[_0x2b4498(0x3f7)]];if(_0x10140a!==void 0x0){var _0x1fd7cc=_0x10140a[_0x2b4498(0x3e9)](_0xef13fc,_0x44c2f6||'default');if(_0x33d23c(_0x1fd7cc)!=_0x2b4498(0xed))return _0x1fd7cc;throw TypeError(_0x2b4498(0xf5));}return(_0x44c2f6===_0x2b4498(0x383)?String:Number)(_0xef13fc);}function _0x25d521(_0xadbb57){const _0x1103fd=_0x28722a;var _0x19d0c0=_0x4225a7(_0xadbb57,_0x1103fd(0x383));return _0x33d23c(_0x19d0c0)==_0x1103fd(0x4be)?_0x19d0c0:_0x19d0c0+'';}function _0x5a923f(_0x1df5c2,_0x3b1a86,_0x1f6598){const _0x333d3f=_0x28722a;return(_0x3b1a86=_0x25d521(_0x3b1a86))in _0x1df5c2?Object[_0x333d3f(0x10e)](_0x1df5c2,_0x3b1a86,{'value':_0x1f6598,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x1df5c2[_0x3b1a86]=_0x1f6598,_0x1df5c2;}function _0x57b8f0(_0x1a227e){const _0x21eedf=_0x28722a;switch(_0x1a227e[_0x21eedf(0x446)]){case _0x27e583[_0x21eedf(0x461)][_0x21eedf(0x330)]:return _0x1a227e[_0x21eedf(0x109)];case _0x27e583[_0x21eedf(0x461)][_0x21eedf(0x364)]:return _0x1a227e[_0x21eedf(0x1aa)];default:return;}}var _0x4f389d=class extends _0x5f0e57['Rect']{constructor(_0x36da60,_0x46c0e2,_0x20c2f4,_0x39e0a4=()=>!0x1,_0x59d877=()=>{}){const _0x11b4af=_0x28722a;super(_0x36da60,{..._0x46c0e2,'evented':_0x46c0e2[_0x11b4af(0x3be)]??!0x0}),this[_0x11b4af(0x196)]=_0x20c2f4,this[_0x11b4af(0x12f)]=_0x39e0a4,this[_0x11b4af(0x239)]=_0x59d877,_0x5a923f(this,'_urlImage',null),_0x5a923f(this,'_url',null),_0x5a923f(this,'_requestedUrl',null),_0x5a923f(this,_0x11b4af(0x44c),null),this[_0x11b4af(0x3b3)](_0x5f0e57[_0x11b4af(0x45a)]['CHART']);}[_0x28722a(0x4a1)](){const _0x157dc1=_0x28722a;this['_clearPendingUrlImage'](),this[_0x157dc1(0x49e)]=null,this['_url']=null,this['_requestedUrl']=null,this[_0x157dc1(0x239)](),super[_0x157dc1(0x4a1)]();}[_0x28722a(0x1af)](_0x10bf21,_0x539867){const _0x599eee=_0x28722a;if(!this[_0x599eee(0x2f0)])return this['makeDirty'](!0x1),this;if(this['_shouldSuppressRender']()){let _0xc76ae2=this[_0x599eee(0x196)]();return _0xc76ae2&&this[_0x599eee(0x45e)](_0xc76ae2),this[_0x599eee(0x4c7)](!0x1),this;}if(!this[_0x599eee(0x33a)])return this;let {width:_0x482001,height:_0x1e852a,left:_0x3021ea,top:_0x525bb4}=this[_0x599eee(0x2fa)]();if(this[_0x599eee(0x190)](_0x539867)){let {top:_0x21bc0d,left:_0x288bbc,bottom:_0x26a581,right:_0x17176a}=_0x539867[_0x599eee(0x1c4)];if(_0x482001+this[_0x599eee(0x426)]+_0x3021ea<_0x288bbc||_0x17176a<_0x3021ea||_0x1e852a+this['strokeWidth']+_0x525bb4<_0x21bc0d||_0x26a581<_0x525bb4)return this;}let _0x40f33d=this[_0x599eee(0x33a)][_0x599eee(0x49d)]();_0x10bf21[_0x599eee(0x24b)]();let _0x39d37d=_0x3021ea+_0x482001/0x2,_0x25b303=_0x525bb4+_0x1e852a/0x2;return _0x10bf21[_0x599eee(0x33a)](_0x40f33d[0x0],_0x40f33d[0x1],_0x40f33d[0x2],_0x40f33d[0x3],_0x39d37d,_0x25b303),this['opacity']!==0x1&&(_0x10bf21[_0x599eee(0x18b)]=this[_0x599eee(0x2ea)]),this[_0x599eee(0x298)](_0x10bf21,void 0x0,_0x482001,_0x1e852a),_0x10bf21[_0x599eee(0x20e)](),this[_0x599eee(0x4c7)](!0x1),this;}[_0x28722a(0x298)](_0x18ac8b,_0xa1a448,_0x4f1ad7=this[_0x28722a(0x335)],_0x215e92=this[_0x28722a(0x375)]){const _0x579128=_0x28722a;this[_0x579128(0x476)](_0x18ac8b,_0x4f1ad7,_0x215e92,{'stroke':void 0x0,'strokeWidth':0x0}),this[_0x579128(0x379)](_0x18ac8b,_0x4f1ad7,_0x215e92),this[_0x579128(0x476)](_0x18ac8b,_0x4f1ad7,_0x215e92,{'fill':void 0x0});}[_0x28722a(0x476)](_0x3c9729,_0x8bc68e,_0x51126f,_0xf3335b){const _0x39a200=_0x28722a;_0x3c9729[_0x39a200(0x24b)](),_0x3c9729[_0x39a200(0xfb)](-_0x8bc68e/0x2,-_0x51126f/0x2),_0x5f0e57[_0x39a200(0x247)][_0x39a200(0x1f1)](_0x3c9729,_0x3a48eb(this,_0x8bc68e,_0x51126f,_0xf3335b)),_0x3c9729[_0x39a200(0x20e)]();}[_0x28722a(0x30d)](_0x110bcd){const _0x575388=_0x28722a;let {left:_0x272f80,top:_0x4075a3,width:_0x28f2bb,height:_0x3ff083}=this[_0x575388(0x2fa)](),_0x5936a6=_0x272f80+_0x28f2bb/0x2,_0x5134d4=_0x4075a3+_0x3ff083/0x2,_0x27da40=this[_0x575388(0x33a)][_0x575388(0x49d)](),_0x3aea32=new _0x5f0e57[(_0x575388(0xee))]([_0x27da40[0x0],_0x27da40[0x1],_0x27da40[0x2],_0x27da40[0x3],_0x5936a6,_0x5134d4]),_0x4f8953=this[_0x575388(0x49c)](),_0x397b0b=(this[_0x575388(0x29e)]&&(_0x4f8953==null?void 0x0:_0x4f8953[_0x575388(0x49a)])===_0x5f0e57['RENDER_CLASS_TYPE']['GROUP']?_0x4f8953[_0x575388(0x46d)][_0x575388(0x21b)](_0x3aea32):_0x3aea32)[_0x575388(0xef)]()[_0x575388(0x14e)](_0x110bcd),_0x1491bf=_0x28f2bb/0x2,_0x27b904=_0x3ff083/0x2;return _0x397b0b['x']>=-_0x1491bf-this[_0x575388(0x426)]/0x2&&_0x397b0b['x']<=_0x1491bf+this[_0x575388(0x426)]/0x2&&_0x397b0b['y']>=-_0x27b904-this[_0x575388(0x426)]/0x2&&_0x397b0b['y']<=_0x27b904+this['strokeWidth']/0x2;}['_drawChartImage'](_0x469bde,_0x2b31e8,_0x252819){const _0x2cb3b8=_0x28722a;let _0x5e8e5d=this[_0x2cb3b8(0x196)](),_0x58ce79=_0x5e8e5d?this[_0x2cb3b8(0x45e)](_0x5e8e5d):void 0x0;if(!_0x58ce79)return;let {width:_0x5dd691,height:_0x2b4496}=_0x226411({'width':_0x2b31e8,'height':_0x252819},0x0);_0x5dd691!==0x0&&_0x2b4496!==0x0&&(_0x469bde[_0x2cb3b8(0x24b)](),_0x469bde['translate'](-_0x2b31e8/0x2,-_0x252819/0x2),_0x28955d(_0x469bde,_0x5dd691,_0x2b4496,this[_0x2cb3b8(0x2bd)]),_0x469bde['clip'](),_0x469bde[_0x2cb3b8(0x174)](_0x58ce79,0x0,0x0,_0x5dd691,_0x2b4496),_0x469bde['restore']());}['_getDrawable'](_0x546dce){const _0x52c66e=_0x28722a;var _0x4fb033;let _0x12c28d=_0x57b8f0(_0x546dce);if(_0x12c28d)return _0x12c28d;if(_0x546dce['type']===_0x27e583[_0x52c66e(0x461)][_0x52c66e(0x480)]&&(this[_0x52c66e(0x39a)]!==_0x546dce['url']&&(this[_0x52c66e(0x39a)]=_0x546dce[_0x52c66e(0x49f)],this[_0x52c66e(0x2ee)](),this[_0x52c66e(0x381)]!==_0x546dce[_0x52c66e(0x49f)]&&this[_0x52c66e(0x16c)](_0x546dce['url'])),(_0x4fb033=this['_urlImage'])!=null&&_0x4fb033[_0x52c66e(0x122)]&&this[_0x52c66e(0x49e)][_0x52c66e(0x2a1)]>0x0&&this[_0x52c66e(0x49e)][_0x52c66e(0x40a)]>0x0))return this[_0x52c66e(0x49e)];}[_0x28722a(0x16c)](_0x556f4b){const _0x47b848=_0x28722a;let _0x3437d6=document[_0x47b848(0x3b0)](_0x47b848(0x2fb));this[_0x47b848(0x44c)]=_0x3437d6,_0x3437d6[_0x47b848(0x430)]=_0x47b848(0x153),_0x3437d6['onload']=()=>{const _0x57c34d=_0x47b848;this[_0x57c34d(0x39a)]===_0x556f4b&&this[_0x57c34d(0x44c)]===_0x3437d6&&(_0x3437d6[_0x57c34d(0x2a1)]>0x0&&_0x3437d6[_0x57c34d(0x40a)]>0x0&&(this[_0x57c34d(0x381)]=_0x556f4b,this['_urlImage']=_0x3437d6),this[_0x57c34d(0x2ee)](),this[_0x57c34d(0x4c7)](!0x0));},_0x3437d6[_0x47b848(0x12a)]=()=>{const _0xd5251e=_0x47b848;this[_0xd5251e(0x44c)]===_0x3437d6&&this['_clearPendingUrlImage']();},_0x3437d6[_0x47b848(0x14a)]=_0x556f4b;}[_0x28722a(0x2ee)](){const _0x11efe4=_0x28722a;this[_0x11efe4(0x44c)]&&=(this['_pendingUrlImage']['onload']=null,this[_0x11efe4(0x44c)][_0x11efe4(0x12a)]=null,null);}};function _0x3a48eb(_0x306bc4,_0x29fa78,_0x5ae44d,_0x578335){const _0x466675=_0x28722a;let _0x1158b6=Object['create'](_0x306bc4);return Object[_0x466675(0x10e)](_0x1158b6,_0x466675(0x335),{'value':_0x29fa78}),Object[_0x466675(0x10e)](_0x1158b6,_0x466675(0x375),{'value':_0x5ae44d}),Object[_0x466675(0x3c1)](_0x578335)[_0x466675(0x40e)](_0x582cc1=>{const _0x584394=_0x466675;Object[_0x584394(0x10e)](_0x1158b6,_0x582cc1,{'value':_0x578335[_0x582cc1]});}),_0x1158b6;}function _0x28955d(_0x287ca0,_0x1e9c62,_0x183977,_0x120b0a){const _0x44d1bc=_0x28722a;let _0xf8d43f=Math[_0x44d1bc(0x3fe)](_0x120b0a||0x0,_0x1e9c62/0x2,_0x183977/0x2);if(_0x287ca0['beginPath'](),!_0xf8d43f){_0x287ca0[_0x44d1bc(0x117)](0x0,0x0,_0x1e9c62,_0x183977),_0x287ca0[_0x44d1bc(0x259)]();return;}_0x287ca0['moveTo'](_0xf8d43f,0x0),_0x287ca0[_0x44d1bc(0x409)](_0x1e9c62-_0xf8d43f,0x0),_0x287ca0[_0x44d1bc(0x4c8)](_0x1e9c62-_0xf8d43f,_0xf8d43f,_0xf8d43f,Math['PI']*0x3/0x2,0x0,!0x1),_0x287ca0[_0x44d1bc(0x409)](_0x1e9c62,_0x183977-_0xf8d43f),_0x287ca0[_0x44d1bc(0x4c8)](_0x1e9c62-_0xf8d43f,_0x183977-_0xf8d43f,_0xf8d43f,0x0,Math['PI']/0x2,!0x1),_0x287ca0[_0x44d1bc(0x409)](_0xf8d43f,_0x183977),_0x287ca0['arc'](_0xf8d43f,_0x183977-_0xf8d43f,_0xf8d43f,Math['PI']/0x2,Math['PI'],!0x1),_0x287ca0[_0x44d1bc(0x409)](0x0,_0xf8d43f),_0x287ca0[_0x44d1bc(0x4c8)](_0xf8d43f,_0xf8d43f,_0xf8d43f,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x287ca0[_0x44d1bc(0x259)]();}function _0x5cad89(_0x299af8){const _0x91c467=_0x28722a;(_0x299af8==null?void 0x0:_0x299af8[_0x91c467(0x446)])===_0x27e583['ChartImageSourceType'][_0x91c467(0x364)]&&_0x299af8[_0x91c467(0x1aa)][_0x91c467(0x427)]();}function _0x2892fe(_0x56b163){const _0x48777a=_0x28722a;return _0x56b163[_0x48777a(0x462)]+_0x48777a(0x166)+_0x56b163[_0x48777a(0x13c)]+'#-#'+_0x56b163[_0x48777a(0x49b)];}var _0xcb489d=class extends _0x2b5065[_0x28722a(0x16a)]{constructor(..._0x152f3c){const _0x4a0c31=_0x28722a;super(..._0x152f3c),_0x5a923f(this,_0x4a0c31(0x149),new Map());}['nextVersion'](_0x178586){const _0x429cbd=_0x28722a;let _0x57d761=_0x2892fe(_0x178586),_0x58917f=this[_0x429cbd(0x149)][_0x429cbd(0x404)](_0x57d761)??{'version':0x0};return _0x58917f['version']+=0x1,this[_0x429cbd(0x149)][_0x429cbd(0x110)](_0x57d761,_0x58917f),_0x58917f[_0x429cbd(0x37e)];}[_0x28722a(0x29d)](_0x2e71b7,_0x3a7442){const _0x2235f5=_0x28722a;var _0x2fd4d6;return((_0x2fd4d6=this[_0x2235f5(0x149)][_0x2235f5(0x404)](_0x2892fe(_0x2e71b7)))==null?void 0x0:_0x2fd4d6['version'])===_0x3a7442;}[_0x28722a(0x138)](_0x4ab9a5,_0x280e8c,_0x2ac5ae){const _0x3e94bf=_0x28722a;if(!this['isLatest'](_0x4ab9a5,_0x2ac5ae))return _0x5cad89(_0x280e8c),!0x1;let _0x223df8=_0x2892fe(_0x4ab9a5),_0x4b0724=this['_entries'][_0x3e94bf(0x404)](_0x223df8)??{'version':_0x2ac5ae},_0x3573e2=_0x4b0724[_0x3e94bf(0x121)];return _0x4b0724['image']=_0x280e8c,_0x4b0724[_0x3e94bf(0x37e)]=_0x2ac5ae,this[_0x3e94bf(0x149)][_0x3e94bf(0x110)](_0x223df8,_0x4b0724),_0x3573e2!==_0x280e8c&&_0x5cad89(_0x3573e2),!0x0;}[_0x28722a(0x1dd)](_0x1c0206){const _0x5d351b=_0x28722a;var _0x559698;return(_0x559698=this['_entries'][_0x5d351b(0x404)](_0x2892fe(_0x1c0206)))==null?void 0x0:_0x559698[_0x5d351b(0x121)];}[_0x28722a(0x113)](_0x2b0eb0){const _0x4fd5b1=_0x28722a;let _0xcd363f=_0x2892fe(_0x2b0eb0),_0xc35db6=this['_entries'][_0x4fd5b1(0x404)](_0xcd363f);_0xc35db6&&(_0x5cad89(_0xc35db6[_0x4fd5b1(0x121)]),this[_0x4fd5b1(0x149)][_0x4fd5b1(0x2a5)](_0xcd363f));}[_0x28722a(0x4c4)](_0x2eb6c3){const _0x2fa460=_0x28722a;for(let [_0x18621d,_0x566d9c]of this[_0x2fa460(0x149)])_0x18621d[_0x2fa460(0x2cc)](_0x2fa460(0x166)+_0x2eb6c3)&&(_0x5cad89(_0x566d9c[_0x2fa460(0x121)]),this[_0x2fa460(0x149)]['delete'](_0x18621d));}['dispose'](){const _0x25d28d=_0x28722a;this[_0x25d28d(0x149)][_0x25d28d(0x40e)](_0x12d83e=>_0x5cad89(_0x12d83e[_0x25d28d(0x121)])),this[_0x25d28d(0x149)][_0x25d28d(0x28b)](),super['dispose']();}};function _0x59c149(_0x44884c,_0x16cb36=0x7d0){let _0x4c6178=null,_0x1e33aa=null,_0xb12088=!0x1,_0x219097=()=>{},_0x44dd35=()=>{_0x4c6178!=null&&(clearInterval(_0x4c6178),_0x4c6178=null),_0x1e33aa!=null&&(clearTimeout(_0x1e33aa),_0x1e33aa=null);};return{'promise':new Promise((_0x59872d,_0x551a8a)=>{_0x219097=_0x551a8a;let _0x1c02c4=()=>{const _0x131bb8=_0x8413;let _0x48deea=document[_0x131bb8(0x1fb)](_0x44884c);_0x48deea&&!_0xb12088&&(_0xb12088=!0x0,_0x44dd35(),_0x59872d(_0x48deea));};_0x1c02c4(),!_0xb12088&&(_0x4c6178=setInterval(_0x1c02c4,16.666666666666668),_0x1e33aa=setTimeout(()=>{_0xb12088||(_0xb12088=!0x0,_0x44dd35(),_0x551a8a(Error('Timed\x20out\x20waiting\x20for\x20float\x20dom\x20host\x20\x22'+_0x44884c+'\x22.')));},_0x16cb36));}),'cancel':()=>{const _0xe22e02=_0x8413;_0xb12088||(_0xb12088=!0x0,_0x44dd35(),_0x219097(Error(_0xe22e02(0x165)+_0x44884c+'\x22.')));}};}var _0x3f02f5=class extends _0x2b5065[_0x28722a(0x16a)]{constructor(_0x1deb28,_0xeccef8,_0x373cac,_0x1bce8d,_0x4e1389,_0x2a05ce,_0x591f55){const _0x39b3e5=_0x28722a;super(),this[_0x39b3e5(0x49b)]=_0x1deb28,this[_0x39b3e5(0x14b)]=_0xeccef8,this[_0x39b3e5(0x407)]=_0x373cac,this[_0x39b3e5(0x158)]=_0x1bce8d,this[_0x39b3e5(0x24f)]=_0x4e1389,this['_markReady']=_0x2a05ce,this[_0x39b3e5(0x255)]=_0x591f55,_0x5a923f(this,_0x39b3e5(0x3d3),_0x27e583[_0x39b3e5(0x3c8)][_0x39b3e5(0x3e4)]),_0x5a923f(this,_0x39b3e5(0x3f1),null),_0x5a923f(this,_0x39b3e5(0x227),!0x1),_0x5a923f(this,'_pendingToken',null),_0x5a923f(this,_0x39b3e5(0x35a),null),_0x5a923f(this,'_waiter',null),_0x5a923f(this,_0x39b3e5(0x43f),{}),_0x5a923f(this,_0x39b3e5(0x237),null),_0x5a923f(this,'_dataUpdateAnimationDuration',null);}[_0x28722a(0x3da)](){const _0x6f7e92=_0x28722a;return this[_0x6f7e92(0x227)];}[_0x28722a(0x455)](){const _0x3343b9=_0x28722a;this[_0x3343b9(0x227)]=!0x1;}[_0x28722a(0x490)](){const _0x52207a=_0x28722a;let _0x332410=this['_getPlacement']();return _0x332410?{'width':_0x332410[_0x52207a(0x335)],'height':_0x332410[_0x52207a(0x375)]}:null;}[_0x28722a(0x262)](_0x3f0706){const _0x4b972a=_0x28722a;this[_0x4b972a(0x43f)]=_0x3f0706,this[_0x4b972a(0x158)](_0x3f0706),this['_applyHostStyle']();}async[_0x28722a(0x27d)](){const _0x2a06bf=_0x28722a;if(this['_disposed']||this['_isProviderDisposed']())throw Error('Fail\x20to\x20create\x20float\x20dom');let _0x4f92dd=this[_0x2a06bf(0x14b)](),_0x5df72a=(_0x4f92dd==null?void 0x0:_0x4f92dd[_0x2a06bf(0x4b4)])??this[_0x2a06bf(0x49b)],_0x3a078e=document[_0x2a06bf(0x1fb)](_0x5df72a);if(this[_0x2a06bf(0x3f1)]&&_0x3a078e!=null&&_0x3a078e[_0x2a06bf(0x411)](this[_0x2a06bf(0x3f1)][_0x2a06bf(0x15a)]))return{'mountNode':this[_0x2a06bf(0x3f1)][_0x2a06bf(0x15a)],'dispose':()=>{const _0x42ae69=_0x2a06bf;this['dispose'](),_0x4f92dd==null||_0x4f92dd[_0x42ae69(0x4a1)][_0x42ae69(0x4a1)]();}};if(this['_pendingHost'])return this['_pendingHost'];let _0x57f46a=this['_createHost']();return this[_0x2a06bf(0x35a)]=_0x57f46a,_0x57f46a[_0x2a06bf(0x36c)](()=>{const _0x2a7228=_0x2a06bf;this[_0x2a7228(0x35a)]===_0x57f46a&&(this[_0x2a7228(0x35a)]=null);},()=>{const _0x50c9e5=_0x2a06bf;this[_0x50c9e5(0x35a)]===_0x57f46a&&(this[_0x50c9e5(0x35a)]=null);}),_0x57f46a;}async[_0x28722a(0x445)](){const _0x45eb55=_0x28722a;try{return(await this[_0x45eb55(0x27d)]())[_0x45eb55(0x15a)];}catch{return null;}}[_0x28722a(0x35f)](){const _0x110853=_0x28722a;let _0x36f552=this[_0x110853(0x14b)](),_0x3fd7fd=(_0x36f552==null?void 0x0:_0x36f552[_0x110853(0x4b4)])??this['chartId'],_0x4dc08e=document[_0x110853(0x1fb)](_0x3fd7fd);return!!(this[_0x110853(0x3f1)]&&_0x4dc08e!=null&&_0x4dc08e[_0x110853(0x411)](this[_0x110853(0x3f1)][_0x110853(0x15a)]));}[_0x28722a(0x14f)](){const _0x27269d=_0x28722a;if(!this[_0x27269d(0x3f1)])return;let _0x4cf041=this[_0x27269d(0x407)]();_0x4cf041&&this[_0x27269d(0x3f1)][_0x27269d(0x1ba)](this[_0x27269d(0x1cb)](_0x4cf041),this[_0x27269d(0x194)]());}[_0x28722a(0x32b)](){const _0x33e643=_0x28722a;this[_0x33e643(0x133)]();}[_0x28722a(0x449)](){const _0x1bc78c=_0x28722a;this[_0x1bc78c(0x255)]();}[_0x28722a(0x20f)](_0x1aa4e6){const _0x199eff=_0x28722a;this[_0x199eff(0x4a5)]=_0x1aa4e6;let _0x3be35b=this[_0x199eff(0x14b)](),_0xe25058=document[_0x199eff(0x1fb)]((_0x3be35b==null?void 0x0:_0x3be35b[_0x199eff(0x4b4)])??this[_0x199eff(0x49b)]);_0xe25058&&this[_0x199eff(0x43c)](_0xe25058);}['dispose'](){const _0x446a37=_0x28722a;var _0x160f0e;this[_0x446a37(0x474)]||(this[_0x446a37(0x449)](),this['_pendingToken']=null,this[_0x446a37(0x35a)]=null,this['_cancelHostWait'](),this['_managed']=!0x1,this[_0x446a37(0x4a5)]=null,(_0x160f0e=this['_domFrame'])==null||_0x160f0e[_0x446a37(0x4a1)](),this['_domFrame']=null,this['_restoreHostWrapper'](),super['dispose']());}async['_createHost'](){const _0x38ff50=_0x28722a;let _0x174d58=this[_0x38ff50(0x14b)]();if(!_0x174d58)throw Error(_0x38ff50(0x125));let _0x3f25a8=_0x174d58['domId']??this['chartId'],_0x5e0b90=_0x59c149(_0x3f25a8),_0x39488a=Symbol(this[_0x38ff50(0x49b)]);this[_0x38ff50(0x283)]=_0x39488a,this['_waiter']=_0x5e0b90;try{let _0xda09ae=await _0x5e0b90[_0x38ff50(0x232)],_0x19a8a8=this[_0x38ff50(0x14b)](),_0x411330=(_0x19a8a8==null?void 0x0:_0x19a8a8[_0x38ff50(0x4b4)])??this[_0x38ff50(0x49b)];if(this['_disposed']||this[_0x38ff50(0x24f)]()||this[_0x38ff50(0x283)]!==_0x39488a||!_0x19a8a8||_0x411330!==_0x3f25a8||document[_0x38ff50(0x1fb)](_0x3f25a8)!==_0xda09ae||!_0xda09ae[_0x38ff50(0x35c)])throw Error(_0x38ff50(0x125));let _0x263bc5=this[_0x38ff50(0x407)]();if(!_0x263bc5)throw Error(_0x38ff50(0x125));let _0x125799=new _0x6741ad['ChartDomFrame'](_0xda09ae);return _0x125799[_0x38ff50(0x1ba)](this[_0x38ff50(0x1cb)](_0x263bc5),this[_0x38ff50(0x194)]()),this['_activateHostWrapper'](_0xda09ae),this['_domFrame']=_0x125799,this[_0x38ff50(0x227)]=!0x0,{'mountNode':_0x125799[_0x38ff50(0x15a)],'dispose':()=>{const _0x5769c3=_0x38ff50;this[_0x5769c3(0x4a1)](),_0x174d58['dispose']['dispose']();}};}finally{this[_0x38ff50(0x3ea)]===_0x5e0b90&&(this[_0x38ff50(0x3ea)]=null),this['_pendingToken']===_0x39488a&&(this[_0x38ff50(0x283)]=null);}}[_0x28722a(0x47e)](){const _0x29dd21=_0x28722a;let _0x3fb6c0=this[_0x29dd21(0x3ea)];_0x3fb6c0&&(_0x3fb6c0['cancel'](),this[_0x29dd21(0x3ea)]=null);}[_0x28722a(0x140)](){const _0x3eec21=_0x28722a;let _0x2a1275=this[_0x3eec21(0x407)]();this['_domFrame']&&_0x2a1275&&this[_0x3eec21(0x3f1)][_0x3eec21(0x1ba)](this[_0x3eec21(0x1cb)](_0x2a1275),this[_0x3eec21(0x194)]());}[_0x28722a(0x1cb)](_0x16cb70){const _0x4cab58=_0x28722a;return _0x6741ad['ChartFrameLayout'][_0x4cab58(0x4a0)]({'logicalOuterRect':{'left':_0x16cb70[_0x4cab58(0x4c9)],'top':_0x16cb70[_0x4cab58(0x32d)],'width':_0x16cb70['width'],'height':_0x16cb70['height']},'scale':{'scaleX':_0x16cb70[_0x4cab58(0x1e4)],'scaleY':_0x16cb70[_0x4cab58(0x2e6)]},'hostStyle':this['_frameStyle'](),'contentMode':_0x6741ad[_0x4cab58(0x380)][_0x4cab58(0x2f6)]});}['_frameStyle'](){const _0x43b35f=_0x28722a;return{...this[_0x43b35f(0x43f)],'radius':_0x6741ad[_0x43b35f(0x31a)]};}[_0x28722a(0x142)](_0x248835){const _0x309f88=_0x28722a;let _0x340d0c=_0x248835[_0x309f88(0x27f)];_0x340d0c&&(this['_savedWrapperStyle']||={'zIndex':_0x340d0c[_0x309f88(0x22c)][_0x309f88(0x448)],'pointerEvents':_0x340d0c[_0x309f88(0x22c)][_0x309f88(0x1a4)]},_0x340d0c[_0x309f88(0x22c)]['zIndex']=_0x309f88(0x223),this[_0x309f88(0x43c)](_0x248835));}[_0x28722a(0x43c)](_0x1744f3){const _0xdc3747=_0x28722a;let _0x3d7908=_0x1744f3[_0xdc3747(0x27f)];if(!_0x3d7908)return;let _0x3a18a5=this[_0xdc3747(0x4a5)];if(_0x3a18a5!=null){_0x1744f3['dataset'][_0xdc3747(0x1ee)]=_0xdc3747(0x27b),_0x1744f3[_0xdc3747(0x202)][_0xdc3747(0x493)]=String(_0x3a18a5),_0x3d7908[_0xdc3747(0x22c)][_0xdc3747(0x1a4)]='none';return;}delete _0x1744f3['dataset']['sheetChartDataAnimation'],delete _0x1744f3[_0xdc3747(0x202)]['sheetChartDataAnimationDuration'],_0x3d7908['style'][_0xdc3747(0x1a4)]='auto';}['_restoreHostWrapper'](){const _0x155933=_0x28722a;if(!this[_0x155933(0x237)])return;let _0x504c31=this['_getFloatDomInfo'](),_0x44f389=(_0x504c31==null?void 0x0:_0x504c31['domId'])??this['chartId'],_0x1464c7=document[_0x155933(0x1fb)](_0x44f389);_0x1464c7==null||delete _0x1464c7['dataset']['sheetChartDataAnimation'],_0x1464c7==null||delete _0x1464c7[_0x155933(0x202)][_0x155933(0x493)];let _0x2e0a00=_0x1464c7==null?void 0x0:_0x1464c7['parentElement'];_0x2e0a00&&(_0x2e0a00[_0x155933(0x22c)]['zIndex']=this['_savedWrapperStyle'][_0x155933(0x448)],_0x2e0a00[_0x155933(0x22c)][_0x155933(0x1a4)]=this[_0x155933(0x237)][_0x155933(0x1a4)]),this['_savedWrapperStyle']=null;}},_0x1bfb5c=class extends _0x27e583[_0x28722a(0x167)]{constructor(_0x27eaa3,_0x9818bf,_0x4b5ae6,_0x429930,_0x5afb56,_0x14ec00){const _0x4699b0=_0x28722a;super(_0x27eaa3),this[_0x4699b0(0x258)]=_0x9818bf,this[_0x4699b0(0x158)]=_0x4b5ae6,this[_0x4699b0(0x28f)]=_0x429930,this[_0x4699b0(0x198)]=_0x5afb56,this[_0x4699b0(0x3d4)]=_0x14ec00;}[_0x28722a(0x490)](){const _0x1c7af9=_0x28722a;let _0x2ada6f=this[_0x1c7af9(0x258)]();return _0x2ada6f?_0x226411(_0x2ada6f):null;}[_0x28722a(0x262)](_0x24500d){const _0x338ad9=_0x28722a;this[_0x338ad9(0x158)](_0x24500d);}['nextVersion'](){const _0xa6d870=_0x28722a;return this[_0xa6d870(0x198)]['nextVersion'](this[_0xa6d870(0x28f)]);}[_0x28722a(0x1be)](_0x11f09d,_0x5dc2c){const _0x70e108=_0x28722a;return this['_snapshotStore'][_0x70e108(0x138)](this['_snapshotKey'],_0x11f09d,_0x5dc2c);}['requestPaint'](){this['_requestPaint']();}[_0x28722a(0x3d9)](){const _0x1bf062=_0x28722a;this[_0x1bf062(0x198)][_0x1bf062(0x154)](this['_snapshotKey']);}};function _0x5e0768(_0xeda9f5,_0x1a4266){return function(_0x2e5c65,_0x63a96f){_0x1a4266(_0x2e5c65,_0x63a96f,_0xeda9f5);};}function _0x3215db(_0x4d4219,_0x5cece0,_0x4c8b16,_0x54ee37){const _0x15ce75=_0x28722a;var _0x397aff=arguments[_0x15ce75(0x3e8)],_0x4a8828=_0x397aff<0x3?_0x5cece0:_0x54ee37===null?_0x54ee37=Object[_0x15ce75(0x395)](_0x5cece0,_0x4c8b16):_0x54ee37,_0x21b058;if(typeof Reflect==_0x15ce75(0xed)&&typeof Reflect[_0x15ce75(0x2e1)]==_0x15ce75(0x2c6))_0x4a8828=Reflect['decorate'](_0x4d4219,_0x5cece0,_0x4c8b16,_0x54ee37);else{for(var _0x3c21b0=_0x4d4219[_0x15ce75(0x3e8)]-0x1;_0x3c21b0>=0x0;_0x3c21b0--)(_0x21b058=_0x4d4219[_0x3c21b0])&&(_0x4a8828=(_0x397aff<0x3?_0x21b058(_0x4a8828):_0x397aff>0x3?_0x21b058(_0x5cece0,_0x4c8b16,_0x4a8828):_0x21b058(_0x5cece0,_0x4c8b16))||_0x4a8828);}return _0x397aff>0x3&&_0x4a8828&&Object[_0x15ce75(0x10e)](_0x5cece0,_0x4c8b16,_0x4a8828),_0x4a8828;}let _0x2b8dbb=0.5;function _0x3f33c6(_0x2d56b3){const _0x4829d5=_0x28722a;let _0x13e463=Math['max'](_0x2d56b3[_0x4829d5(0x4c2)]-_0x2d56b3[_0x4829d5(0x1e0)],0x0),_0x27cedd=Math[_0x4829d5(0x342)](_0x2d56b3[_0x4829d5(0x321)]-_0x2d56b3[_0x4829d5(0x304)],0x0),_0x34c890=_0x2d56b3['absolute'][_0x4829d5(0x4c9)]&&_0x2d56b3[_0x4829d5(0x335)]-_0x13e463>_0x2b8dbb,_0x306d1d=_0x2d56b3['absolute'][_0x4829d5(0x32d)]&&_0x2d56b3[_0x4829d5(0x375)]-_0x27cedd>_0x2b8dbb;return!_0x34c890&&!_0x306d1d?_0x2d56b3:{..._0x2d56b3,'absolute':{'left':!_0x34c890&&_0x2d56b3[_0x4829d5(0x45c)][_0x4829d5(0x4c9)],'top':!_0x306d1d&&_0x2d56b3[_0x4829d5(0x45c)][_0x4829d5(0x32d)]}};}function _0x248255(_0x124a64){const _0x56155f=_0x28722a;if(!Object[_0x56155f(0x216)][_0x56155f(0x34c)][_0x56155f(0x3e9)](_0x124a64,'border'))return _0x124a64;let {border:_0x5a7709,..._0x5b20ce}=_0x124a64;return{..._0x5b20ce,'stroke':(_0x5a7709==null?void 0x0:_0x5a7709[_0x56155f(0x22b)])??_0x56155f(0x346),'strokeWidth':(_0x5a7709==null?void 0x0:_0x5a7709[_0x56155f(0x335)])??0x0};}let _0x106489=class extends _0x2b5065['Disposable']{constructor(_0xc9837e,_0xddb828,_0x27ff24,_0x2d88d3){const _0x31f1d8=_0x28722a;super(),this[_0x31f1d8(0xf0)]=_0xc9837e,this[_0x31f1d8(0x44f)]=_0xddb828,this[_0x31f1d8(0x3dd)]=_0x27ff24,this[_0x31f1d8(0x3ed)]=_0x2d88d3,_0x5a923f(this,_0x31f1d8(0x1d6),new Map()),_0x5a923f(this,_0x31f1d8(0x34a),new Set()),_0x5a923f(this,_0x31f1d8(0x391),new _0xb5e9d7[(_0x31f1d8(0x1ea))]()),_0x5a923f(this,_0x31f1d8(0x12d),this[_0x31f1d8(0x391)][_0x31f1d8(0x25b)]()),this[_0x31f1d8(0x2de)](this[_0x31f1d8(0xf0)][_0x31f1d8(0x1a7)][_0x31f1d8(0x47c)](_0x394de1=>{const _0x57abd7=_0x31f1d8;let _0x530a48=this[_0x57abd7(0x1d6)]['get'](_0x394de1['id']);_0x530a48!=null&&_0x530a48['isManaged']()&&(_0x530a48['markUnmanaged'](),this[_0x57abd7(0x391)][_0x57abd7(0x1ad)](_0x394de1['id']));}));}[_0x28722a(0x26c)](_0x1db549){const _0x177d8a=_0x28722a;if(_0x1db549==null)return;let _0x352426=this[_0x177d8a(0x44f)]['getRenderUnitById'](_0x1db549),_0x587390=_0x352426==null?void 0x0:_0x352426['scene'];return _0x352426==null||_0x587390==null?null:{'scene':_0x587390,'transformer':_0x587390[_0x177d8a(0x1b3)](),'renderUnit':_0x352426,'canvas':_0x352426[_0x177d8a(0x3b7)]['getCanvasElement']()};}['setBorder'](_0x1e272b,_0x43df7c){const _0x47f813=_0x28722a;let _0x283352=this[_0x47f813(0xf0)],_0x27bbb9=_0x43df7c||_0x47f813(0x346),_0x446fe2=_0x283352[_0x47f813(0x3e2)](_0x1e272b);if(_0x446fe2){let {unitId:_0x3aee26,subUnitId:_0xfbe85f}=_0x446fe2;_0x283352[_0x47f813(0x3f0)](_0x3aee26,_0xfbe85f,_0x1e272b,{'stroke':_0x27bbb9});}}['setHostStyle'](_0x25cb03,_0x1a080c){const _0x387b60=_0x28722a;let _0x256333=this[_0x387b60(0xf0)],_0x4c1350=_0x256333[_0x387b60(0x3e2)](_0x25cb03);if(_0x4c1350){let {unitId:_0x35a745,subUnitId:_0x373671}=_0x4c1350;_0x256333[_0x387b60(0x3f0)](_0x35a745,_0x373671,_0x25cb03,_0x248255(_0x1a080c));}}[_0x28722a(0x35d)](_0x541589){const _0x7c9815=_0x28722a;let _0x29e966=this[_0x7c9815(0xf0)]['getFloatDomInfo'](_0x541589);return _0x29e966?_0x29e966['rect']:null;}[_0x28722a(0x40f)](_0x42f1cd){const _0x30d707=_0x28722a;let _0xc5b781=this[_0x30d707(0xf0)][_0x30d707(0x3e2)](_0x42f1cd),_0x5553c9=document[_0x30d707(0x1fb)]((_0xc5b781==null?void 0x0:_0xc5b781['domId'])??_0x42f1cd);return(_0x5553c9==null?void 0x0:_0x5553c9[_0x30d707(0x241)]())??null;}['setDataUpdateAnimation'](_0x5dfe4f,_0x1e9535){const _0x4d0aed=_0x28722a;var _0x1efc82;(_0x1efc82=this['_chartHostMap'][_0x4d0aed(0x404)](_0x5dfe4f))==null||_0x1efc82['setDataUpdateAnimation'](_0x1e9535);}[_0x28722a(0x269)](_0x5f59be){const _0x3c00e0=_0x28722a;var _0x5d38b0;return((_0x5d38b0=this[_0x3c00e0(0x1d6)][_0x3c00e0(0x404)](_0x5f59be))==null?void 0x0:_0x5d38b0[_0x3c00e0(0x35f)]())??!0x1;}[_0x28722a(0x28a)](_0x318991){const _0x963960=_0x28722a;var _0x3c423d;(_0x3c423d=this[_0x963960(0x1d6)][_0x963960(0x404)](_0x318991))==null||_0x3c423d['syncLayout']();}[_0x28722a(0x217)](_0xb5138b){const _0x5d88b6=_0x28722a;let _0x2f2342=this[_0x5d88b6(0x1d6)][_0x5d88b6(0x404)](_0xb5138b);_0x2f2342==null||_0x2f2342['dispose'](),this[_0x5d88b6(0x1d6)][_0x5d88b6(0x2a5)](_0xb5138b);}async[_0x28722a(0x2d4)](_0x129333,_0x1f5c3d){const _0x384408=_0x28722a;if(_0x1f5c3d===_0x27e583[_0x384408(0x3c8)]['Image'])return this[_0x384408(0x2f8)](_0x129333);if(_0x1f5c3d===_0x27e583[_0x384408(0x3c8)][_0x384408(0x3e4)])return this[_0x384408(0x487)](_0x129333);let _0xcae56=this[_0x384408(0x487)](_0x129333);if(!_0xcae56)throw Error(_0x384408(0x125));return _0xcae56[_0x384408(0x27d)]();}[_0x28722a(0x453)](_0x25ec2a){const _0x588341=_0x28722a;var _0x119871;return this[_0x588341(0x34a)][_0x588341(0x393)](_0x25ec2a)?(_0x119871=this[_0x588341(0x1d6)][_0x588341(0x404)](_0x25ec2a))!=null&&_0x119871['checkMounted']()?!0x0:(this[_0x588341(0x34a)][_0x588341(0x2a5)](_0x25ec2a),this[_0x588341(0x1e2)](_0x25ec2a),!0x1):!0x1;}[_0x28722a(0x22d)](_0x24a149){const _0x1adf78=_0x28722a;this[_0x1adf78(0x34a)][_0x1adf78(0x2a5)](_0x24a149)&&(this['_restoreFloatDomPositionStream'](_0x24a149),this[_0x1adf78(0x2f2)](_0x24a149));}[_0x28722a(0x3d9)](_0x5aa561){const _0x14490e=_0x28722a;let _0x245195=this[_0x14490e(0x1d2)](_0x5aa561);_0x245195&&this['_chartSnapshotStoreService'][_0x14490e(0x154)](_0x245195);}[_0x28722a(0x2f8)](_0x28526f){const _0xe9878e=_0x28722a;let _0x2bc975=this[_0xe9878e(0x1d2)](_0x28526f);return!_0x2bc975||!this[_0xe9878e(0x35d)](_0x28526f)?null:new _0x1bfb5c(_0x28526f,()=>this[_0xe9878e(0x35d)](_0x28526f),_0x1f91d7=>this[_0xe9878e(0x324)](_0x28526f,_0x1f91d7),_0x2bc975,this[_0xe9878e(0x3dd)],()=>this[_0xe9878e(0x2f2)](_0x28526f));}[_0x28722a(0x487)](_0x1b4b25){const _0x2c1192=_0x28722a;if(!this[_0x2c1192(0x35d)](_0x1b4b25))return null;this[_0x2c1192(0x3ed)]['updateFloatDom'](_0x1b4b25,{'contentBox':{'wrapperInset':0x0,'contentInset':0x0}});let _0x202622=this[_0x2c1192(0x1d6)][_0x2c1192(0x404)](_0x1b4b25);if(_0x202622)return _0x202622;let _0x1edec9=new _0x3f02f5(_0x1b4b25,()=>this[_0x2c1192(0xf0)][_0x2c1192(0x3e2)](_0x1b4b25),()=>this[_0x2c1192(0x387)](_0x1b4b25),_0x33b258=>this[_0x2c1192(0x324)](_0x1b4b25,_0x33b258),()=>this[_0x2c1192(0x474)],()=>this[_0x2c1192(0x3de)](_0x1b4b25),()=>this[_0x2c1192(0x22d)](_0x1b4b25));return this['_chartHostMap'][_0x2c1192(0x110)](_0x1b4b25,_0x1edec9),_0x1edec9;}[_0x28722a(0x3de)](_0x3a564c){const _0x447d76=_0x28722a;this[_0x447d76(0x34a)][_0x447d76(0x393)](_0x3a564c)||(this[_0x447d76(0x34a)][_0x447d76(0x43d)](_0x3a564c),this[_0x447d76(0x29c)](_0x3a564c),this[_0x447d76(0x2f2)](_0x3a564c));}['_alignFloatDomPositionWithSceneRender'](_0x4a8cd6){const _0x285a84=_0x28722a;var _0x4f1f62;let _0x24100b=this[_0x285a84(0xf0)][_0x285a84(0x3e2)](_0x4a8cd6),_0x3d5f63=_0x24100b?(_0x4f1f62=this[_0x285a84(0x44f)][_0x285a84(0x24a)](_0x24100b[_0x285a84(0x462)]))==null?void 0x0:_0x4f1f62[_0x285a84(0x307)]:null;if(!_0x24100b||!_0x3d5f63)return;let _0xfe2e2=(0x0,_0xb5e9d7[_0x285a84(0x263)])(_0x24100b['position$'][_0x285a84(0x3ee)]((0x0,_0xb5e9d7['take'])(0x1)),_0x3d5f63[_0x285a84(0x3a3)][_0x285a84(0x3ee)]((0x0,_0xb5e9d7[_0x285a84(0x11b)])(_0x24100b[_0x285a84(0x272)]),(0x0,_0xb5e9d7[_0x285a84(0x200)])(([,_0x32f30a])=>_0x32f30a)))['pipe']((0x0,_0xb5e9d7['distinctUntilChanged'])(),(0x0,_0xb5e9d7[_0x285a84(0x200)])(_0x3f33c6));this[_0x285a84(0x3ed)][_0x285a84(0x491)](_0x4a8cd6,{'position$':_0xfe2e2});}['_restoreFloatDomPositionStream'](_0x37d2bf){const _0x25d10b=_0x28722a;let _0x47395a=this[_0x25d10b(0xf0)]['getFloatDomInfo'](_0x37d2bf);_0x47395a&&this['_canvasFloatDomService'][_0x25d10b(0x491)](_0x37d2bf,{'position$':_0x47395a['position$']});}['_getChartSnapshotKey'](_0xa741e9){const _0x22e48c=_0x28722a;let _0xada237=this[_0x22e48c(0xf0)][_0x22e48c(0x3e2)](_0xa741e9);return _0xada237?{'unitId':_0xada237[_0x22e48c(0x462)],'subUnitId':_0xada237[_0x22e48c(0x13c)],'chartId':_0xa741e9}:null;}['_requestChartCanvasRender'](_0x213fba){const _0x21558d=_0x28722a;var _0x589545,_0x267a0c,_0x4444f3;let _0x565513=this[_0x21558d(0xf0)][_0x21558d(0x3e2)](_0x213fba);if(!_0x565513)return;let _0x41d772=(_0x589545=this[_0x21558d(0x44f)]['getRenderUnitById'](_0x565513['unitId']))==null?void 0x0:_0x589545[_0x21558d(0x307)],_0x259dbb=(_0x41d772==null||(_0x267a0c=_0x41d772[_0x21558d(0xec)])==null?void 0x0:_0x267a0c[_0x21558d(0x3e9)](_0x41d772,(0x0,_0x1c7848[_0x21558d(0x101)])({'unitId':_0x565513[_0x21558d(0x462)],'subUnitId':_0x565513[_0x21558d(0x13c)],'drawingId':_0x213fba})))??(_0x41d772==null?void 0x0:_0x41d772[_0x21558d(0x3ce)]((0x0,_0x1c7848[_0x21558d(0x101)])({'unitId':_0x565513[_0x21558d(0x462)],'subUnitId':_0x565513[_0x21558d(0x13c)],'drawingId':_0x213fba})))??null;_0x259dbb==null||(_0x4444f3=_0x259dbb[_0x21558d(0x4c7)])==null||_0x4444f3[_0x21558d(0x3e9)](_0x259dbb,!0x0),_0x41d772==null||_0x41d772[_0x21558d(0x4c7)](!0x0);}['_getHostPlacement'](_0x54036f){const _0x4f8246=_0x28722a;let _0x4f9fd2=this[_0x4f8246(0xf0)][_0x4f8246(0x3e2)](_0x54036f);if(!_0x4f9fd2)return null;let _0x1efa36=this[_0x4f8246(0x26c)](_0x4f9fd2['unitId']),_0xd162b3=_0x1efa36==null?void 0x0:_0x1efa36[_0x4f8246(0x307)],_0x1a6f41=document[_0x4f8246(0x1fb)](_0x4f9fd2[_0x4f8246(0x4b4)]??_0x54036f);return _0x378a2b(_0x4f9fd2[_0x4f8246(0x117)],{'scaleX':(_0xd162b3==null?void 0x0:_0xd162b3[_0x4f8246(0x1e4)])??0x1,'scaleY':(_0xd162b3==null?void 0x0:_0xd162b3[_0x4f8246(0x2e6)])??0x1},_0x1a6f41?{'left':_0x1a6f41['offsetLeft'],'top':_0x1a6f41[_0x4f8246(0x38b)]}:void 0x0);}['dispose'](){const _0x17b3ce=_0x28722a;this[_0x17b3ce(0x474)]||(this[_0x17b3ce(0x1d6)][_0x17b3ce(0x40e)](_0x4f04a6=>_0x4f04a6[_0x17b3ce(0x4a1)]()),this[_0x17b3ce(0x1d6)]['clear'](),this[_0x17b3ce(0x34a)][_0x17b3ce(0x28b)](),this[_0x17b3ce(0x391)][_0x17b3ce(0x122)](),super[_0x17b3ce(0x4a1)]());}};_0x106489=_0x3215db([_0x5e0768(0x0,(0x0,_0x2b5065[_0x28722a(0x37b)])(_0x45c19d[_0x28722a(0x1a3)])),_0x5e0768(0x1,(0x0,_0x2b5065[_0x28722a(0x37b)])(_0x5f0e57[_0x28722a(0x497)])),_0x5e0768(0x2,(0x0,_0x2b5065[_0x28722a(0x37b)])(_0xcb489d)),_0x5e0768(0x3,(0x0,_0x2b5065[_0x28722a(0x37b)])(_0x4585f0[_0x28722a(0x2b9)]))],_0x106489);let _0x4d63c2=(0x0,_0x2b5065['createIdentifier'])('sheets-chart-ui.host.provider'),_0x2aebc3=_0x27e583[_0x28722a(0x3c8)]['Image'];var _0x23bdc2=class extends _0x27e583[_0x28722a(0x167)]{constructor(_0x279a91,_0x4cfd00){const _0xc96fa7=_0x28722a;super(_0x279a91),this['_rect']=_0x4cfd00,_0x5a923f(this,_0xc96fa7(0x144),0x0),_0x5a923f(this,'_image',void 0x0),_0x5a923f(this,'style',{});}[_0x28722a(0x490)](){const _0x30d89a=_0x28722a;return this[_0x30d89a(0x489)];}[_0x28722a(0x262)](_0x3839c3){this['style']=_0x3839c3;}['nextVersion'](){return++this['_version'];}[_0x28722a(0x1be)](_0x23f03c,_0x423873){const _0x1085ba=_0x28722a;return _0x423873===this['_version']?(_0x5cad89(this[_0x1085ba(0x4a8)]),this['_image']=_0x23f03c,!0x0):(_0x5cad89(_0x23f03c),!0x1);}[_0x28722a(0x48c)](){}['invalidateSnapshot'](){this['_version']+=0x1;}['takeSnapshot'](){const _0x9f7427=_0x28722a;let _0x3bb7b0=this[_0x9f7427(0x4a8)];return this[_0x9f7427(0x4a8)]=void 0x0,_0x3bb7b0;}[_0x28722a(0x4a1)](){const _0x236619=_0x28722a;_0x5cad89(this['_image']),this[_0x236619(0x4a8)]=void 0x0,super[_0x236619(0x4a1)]();}};function _0x456d54(_0x35406a,_0x3b72fc,_0x198a6c){const _0x2d0043=_0x28722a;let _0x2337b3=_0x35406a[_0x2d0043(0x3f3)](_0x3b72fc),_0x46f8c1={..._0x35406a['style'],'runtime':{..._0x2337b3,'layoutInset':0x8,..._0x198a6c===void 0x0?{}:{'addWatermark':_0x198a6c}},'direction':_0x3b72fc};return(0x0,_0x27e583[_0x2d0043(0x14d)])(_0x46f8c1,_0x35406a['chartType']);}let _0xf20d9=class extends _0x2b5065[_0x28722a(0x16a)]{constructor(_0x12ba88,_0x345294,_0x389298,_0x3d9eea,_0x3a2776,_0xf62b05,_0x2bad1c,_0x39c9c2,_0x26a768,_0x3000df,_0x11a745,_0x295602,_0x235b43){const _0x231c8e=_0x28722a;super(),this[_0x231c8e(0x1da)]=_0x12ba88,this[_0x231c8e(0xf0)]=_0x345294,this[_0x231c8e(0x386)]=_0x389298,this[_0x231c8e(0x25d)]=_0x3d9eea,this['_univerInstanceService']=_0x3a2776,this['_renderManagerService']=_0xf62b05,this['_localeService']=_0x2bad1c,this[_0x231c8e(0x18c)]=_0x39c9c2,this[_0x231c8e(0x171)]=_0x26a768,this[_0x231c8e(0x1b5)]=_0x3000df,this['_configService']=_0x11a745,this[_0x231c8e(0x3dd)]=_0x295602,this[_0x231c8e(0x4bc)]=_0x235b43,_0x5a923f(this,_0x231c8e(0x127),new Map()),_0x5a923f(this,_0x231c8e(0x385),new Map()),_0x5a923f(this,'_chartEventSubscriptions',new Map()),_0x5a923f(this,_0x231c8e(0x222),new Map()),_0x5a923f(this,_0x231c8e(0x482),new Map()),_0x5a923f(this,_0x231c8e(0x3a4),new Map()),_0x5a923f(this,_0x231c8e(0x289),new Map()),_0x5a923f(this,_0x231c8e(0x21f),void 0x0),_0x5a923f(this,_0x231c8e(0x22a),void 0x0),_0x5a923f(this,_0x231c8e(0xf9),new Map()),_0x5a923f(this,'_dataUpdateAnimationChartIds',new Set()),_0x5a923f(this,'_dataUpdateAnimationTimers',new Map()),_0x5a923f(this,_0x231c8e(0x2ed),null),_0x5a923f(this,_0x231c8e(0x3e3),null);let _0xf1e793=(0x0,_0x27938e[_0x231c8e(0x45f)])(this['_injector']),_0xa38099=this[_0x231c8e(0x215)][_0x231c8e(0x3ac)](_0x27938e['SHEETS_CHART_PLUGIN_CONFIG_KEY']);this[_0x231c8e(0x21f)]=(_0xa38099==null?void 0x0:_0xa38099[_0x231c8e(0x16d)])??_0x2aebc3,this[_0x231c8e(0x22a)]=_0xf1e793[_0x231c8e(0x3e8)]!==0x1||_0xf1e793[0x0]!=='all',this[_0x231c8e(0x257)](),this[_0x231c8e(0x3c4)](),this[_0x231c8e(0x2c7)](),this[_0x231c8e(0x484)](),this['handleActiveSubUnitChange']();}[_0x28722a(0x2b1)](_0x349c3a){const _0x22de25=_0x28722a;let _0x1b97c5=this['_getChartSnapshotKey'](_0x349c3a);return _0x1b97c5?this[_0x22de25(0x3dd)][_0x22de25(0x1dd)](_0x1b97c5):void 0x0;}[_0x28722a(0x39d)](_0x2bafc0){const _0x4842e7=_0x28722a;var _0x2d4068;return((_0x2d4068=this[_0x4842e7(0x386)][_0x4842e7(0x151)])==null?void 0x0:_0x2d4068['id'])===_0x2bafc0?_0x27e583[_0x4842e7(0x3c8)][_0x4842e7(0x3e4)]:this[_0x4842e7(0x21f)];}[_0x28722a(0x1d2)](_0x4f4001){const _0x24b305=_0x28722a;let _0x5c449e=this[_0x24b305(0xf0)][_0x24b305(0x3e2)](_0x4f4001);return _0x5c449e?{'unitId':_0x5c449e[_0x24b305(0x462)],'subUnitId':_0x5c449e[_0x24b305(0x13c)],'chartId':_0x4f4001}:null;}['_registerChartImageRenderObjectFactory'](){const _0x32e7ac=_0x28722a;this[_0x32e7ac(0x21f)]===_0x27e583[_0x32e7ac(0x3c8)][_0x32e7ac(0x1dc)]&&this[_0x32e7ac(0x2de)](this[_0x32e7ac(0xf0)][_0x32e7ac(0x4c0)](_0x2b5065[_0x32e7ac(0x4c1)][_0x32e7ac(0x31d)],({key:_0x3b0508,config:_0x32251d,unitId:_0x2ef84a,subUnitId:_0xc7a788,drawingId:_0x5cd7a4})=>new _0x4f389d(_0x3b0508,_0x32251d,()=>this[_0x32e7ac(0x3dd)][_0x32e7ac(0x1dd)]({'unitId':_0x2ef84a,'subUnitId':_0xc7a788,'chartId':_0x5cd7a4}),()=>this[_0x32e7ac(0x1da)][_0x32e7ac(0x453)](_0x5cd7a4))));}[_0x28722a(0x3c4)](){const _0x103090=_0x28722a;this[_0x103090(0x2de)](this[_0x103090(0x386)]['activeChartModel$'][_0x103090(0x47c)](_0x1c80e0=>{const _0x32e463=_0x103090;let _0x2ddd42=(_0x1c80e0==null?void 0x0:_0x1c80e0['id'])??null,_0x4549d5=this[_0x32e463(0x2ed)];_0x4549d5!==_0x2ddd42&&(_0x4549d5&&(this[_0x32e463(0x1da)][_0x32e463(0x22d)](_0x4549d5),this['_resetChartRuntimeZIndex'](_0x4549d5),this[_0x32e463(0x488)](_0x4549d5)),this[_0x32e463(0x2ed)]=_0x2ddd42,_0x2ddd42&&(this[_0x32e463(0x359)](_0x2ddd42),this['_chartHostProvider']['markHostNotReady'](_0x2ddd42),this[_0x32e463(0x314)](_0x2ddd42),this[_0x32e463(0x467)](_0x2ddd42)));}));}[_0x28722a(0x2c7)](){const _0x1b45b1=_0x28722a;this[_0x1b45b1(0x2de)](this['_drawingManagerService'][_0x1b45b1(0x406)][_0x1b45b1(0x47c)](_0x576ec6=>{const _0x5e7c30=_0x1b45b1;var _0x37bfac;let _0x5aecf1=(_0x37bfac=this['_chartModelService'][_0x5e7c30(0x151)])==null?void 0x0:_0x37bfac['id'];_0x5aecf1&&_0x576ec6[_0x5e7c30(0x3f8)](_0x1031e9=>_0x1031e9[_0x5e7c30(0x252)]['some'](_0x42819f=>_0x42819f[_0x5e7c30(0x412)]===_0x5aecf1))&&this[_0x5e7c30(0x386)]['setActiveChartModel'](null);})),this[_0x1b45b1(0x2de)](this[_0x1b45b1(0x25d)][_0x1b45b1(0x120)]['subscribe'](_0x35e7f3=>{const _0x3fc8e8=_0x1b45b1;var _0x1e5f1b;let _0x53255e=(_0x1e5f1b=this['_chartModelService'][_0x3fc8e8(0x151)])==null?void 0x0:_0x1e5f1b['id'];_0x53255e&&_0x35e7f3[_0x3fc8e8(0x3f8)](_0x3b986c=>_0x3b986c[_0x3fc8e8(0x29f)]['drawingId']===_0x53255e||_0x3b986c['children'][_0x3fc8e8(0x3f8)](_0x3d24c8=>_0x3d24c8[_0x3fc8e8(0x412)]===_0x53255e))&&this['_chartModelService'][_0x3fc8e8(0x42a)](null);}));}['_initActiveRuntimeLayerListener'](){const _0xc10679=_0x28722a;this[_0xc10679(0x2de)](this[_0xc10679(0x25d)][_0xc10679(0x414)][_0xc10679(0x47c)](_0xc90cd9=>{const _0x2b6d24=_0xc10679;var _0x265f3c;let _0x271403=(_0x265f3c=this[_0x2b6d24(0x386)][_0x2b6d24(0x151)])==null?void 0x0:_0x265f3c['id'];if(!_0x271403){_0xc90cd9['drawingIds'][_0x2b6d24(0x40e)](_0x3e72aa=>{const _0x2234c5=_0x2b6d24;this[_0x2234c5(0x386)][_0x2234c5(0x4bd)](_0x3e72aa)&&this[_0x2234c5(0x1b8)](_0x3e72aa);});return;}let _0x37a184=this[_0x2b6d24(0xf0)]['getFloatDomInfo'](_0x271403);(_0x37a184==null?void 0x0:_0x37a184['unitId'])===_0xc90cd9[_0x2b6d24(0x462)]&&_0x37a184[_0x2b6d24(0x13c)]===_0xc90cd9[_0x2b6d24(0x13c)]&&this[_0x2b6d24(0x314)](_0x271403);})),this[_0xc10679(0x2de)](this[_0xc10679(0x25d)][_0xc10679(0x221)][_0xc10679(0x47c)](_0x5db500=>{const _0x207169=_0xc10679;var _0x4aad2a;let _0x481235=(_0x4aad2a=this['_chartModelService'][_0x207169(0x151)])==null?void 0x0:_0x4aad2a['id'];if(!_0x481235)return;let _0x573ffe=this['_sheetCanvasFloatDomManagerService'][_0x207169(0x3e2)](_0x481235);_0x573ffe&&_0x5db500[_0x207169(0x3f8)](_0x1f4a81=>_0x1f4a81[_0x207169(0x462)]===_0x573ffe[_0x207169(0x462)]&&_0x1f4a81[_0x207169(0x13c)]===_0x573ffe['subUnitId'])&&this['_applyActiveChartRuntimeZIndex'](_0x481235);})),this['disposeWithMe'](this[_0xc10679(0x386)][_0xc10679(0x156)][_0xc10679(0x47c)](_0x227727=>{const _0x4a573d=_0xc10679;var _0x38f4ad;this[_0x4a573d(0x181)](_0x227727),this['_deactivateDataUpdateAnimation'](_0x227727),this[_0x4a573d(0xf9)]['delete'](_0x227727),this[_0x4a573d(0x3dd)][_0x4a573d(0x4c4)](_0x227727),this[_0x4a573d(0x3a9)](_0x227727),this[_0x4a573d(0x1da)][_0x4a573d(0x22d)](_0x227727),((_0x38f4ad=this[_0x4a573d(0x386)][_0x4a573d(0x151)])==null?void 0x0:_0x38f4ad['id'])===_0x227727?this[_0x4a573d(0x386)][_0x4a573d(0x42a)](null):this[_0x4a573d(0x1b8)](_0x227727),this[_0x4a573d(0x27e)](_0x227727);}));}[_0x28722a(0x467)](_0x1657c9){const _0x43f300=_0x28722a;let _0x367cdc=this[_0x43f300(0xf9)][_0x43f300(0x404)](_0x1657c9);_0x367cdc&&this[_0x43f300(0x1af)](_0x1657c9,_0x367cdc[_0x43f300(0x1d5)],_0x367cdc[_0x43f300(0x22c)]);}['_disposeChartDomInstance'](_0x5e4115){const _0x26d681=_0x28722a;let _0x5c445c=this[_0x26d681(0x127)][_0x26d681(0x404)](_0x5e4115);(_0x5c445c==null?void 0x0:_0x5c445c[_0x26d681(0x3d3)])===_0x26d681(0x2d7)&&(this['_disposeChartEventSubscriptions'](_0x5e4115),_0x5c445c[_0x26d681(0x4a1)](),this['_chartInstanceMap'][_0x26d681(0x2a5)](_0x5e4115)),this[_0x26d681(0x1da)]['markHostNotReady'](_0x5e4115),this[_0x26d681(0x1da)][_0x26d681(0x217)](_0x5e4115);}['_disposeChartRenderInstance'](_0x3dad3a){const _0xa96be3=_0x28722a;let _0x4e1d54=this[_0xa96be3(0x127)][_0xa96be3(0x404)](_0x3dad3a);_0x4e1d54&&(this[_0xa96be3(0x23b)](_0x3dad3a),_0x4e1d54['dispose'](),this[_0xa96be3(0x127)][_0xa96be3(0x2a5)](_0x3dad3a)),this['_chartHostProvider']['markHostNotReady'](_0x3dad3a),this[_0xa96be3(0x1da)]['removeHost'](_0x3dad3a);}['_clearChartRuntimeCache'](_0x22053d){const _0x2d150d=_0x28722a;var _0x592293,_0x40fe4f;(_0x592293=this[_0x2d150d(0x4bc)][_0x2d150d(0x374)](_0x27e583[_0x2d150d(0x3b4)]))==null||(_0x40fe4f=_0x592293[_0x2d150d(0x456)])==null||_0x40fe4f['call'](_0x592293,_0x22053d);}[_0x28722a(0x2b2)](_0x3b1a08,_0x3892bf){const _0x19d4d4=_0x28722a;let _0xb931aa=this[_0x19d4d4(0x25d)]['getDrawingData'](_0x3b1a08,_0x3892bf);Object[_0x19d4d4(0x186)](_0xb931aa??{})['forEach'](_0x4865aa=>{const _0x44a124=_0x19d4d4;_0x4865aa['drawingType']===_0x2b5065[_0x44a124(0x4c1)][_0x44a124(0x31d)]&&this[_0x44a124(0x3a9)](_0x4865aa[_0x44a124(0x412)]);});}[_0x28722a(0x116)](_0x360d3a,_0x508030){const _0x2558d9=_0x28722a;var _0x2a1710;return((_0x2a1710=_0x360d3a['getObjectIncludeInGroup'])==null?void 0x0:_0x2a1710[_0x2558d9(0x3e9)](_0x360d3a,_0x508030))??_0x360d3a[_0x2558d9(0x3ce)](_0x508030)??null;}[_0x28722a(0x176)](_0x137f89){const _0x15c1e3=_0x28722a;var _0x2b49d0;let _0x367664=this[_0x15c1e3(0xf0)][_0x15c1e3(0x3e2)](_0x137f89);if(!_0x367664)return null;let _0x2b4995=(_0x2b49d0=this['_renderManagerService']['getRenderUnitById'](_0x367664[_0x15c1e3(0x462)]))==null?void 0x0:_0x2b49d0[_0x15c1e3(0x307)];if(!_0x2b4995)return null;let _0x464460=this['_getChartRenderObject'](_0x2b4995,(0x0,_0x1c7848[_0x15c1e3(0x101)])({'unitId':_0x367664[_0x15c1e3(0x462)],'subUnitId':_0x367664[_0x15c1e3(0x13c)],'drawingId':_0x137f89}));return _0x464460?{'info':_0x367664,'scene':_0x2b4995,'chartObject':_0x464460}:null;}[_0x28722a(0x291)](_0x4e5c30,_0x24b67f){const _0xef05ff=_0x28722a;var _0x220c28,_0x41480c,_0x1f5d2f,_0x402075;let _0x246e22=this[_0xef05ff(0x176)](_0x4e5c30);_0x246e22&&((_0x220c28=(_0x41480c=_0x246e22[_0xef05ff(0x457)])[_0xef05ff(0x42e)])==null||_0x220c28[_0xef05ff(0x3e9)](_0x41480c,{'zIndex':_0x24b67f}),(_0x1f5d2f=(_0x402075=_0x246e22['chartObject'])[_0xef05ff(0x4c7)])==null||_0x1f5d2f['call'](_0x402075,!0x0),_0x246e22[_0xef05ff(0x307)][_0xef05ff(0x4c7)](!0x0));}[_0x28722a(0x314)](_0x47233b){const _0x29af81=_0x28722a;let _0xfa8efa=this[_0x29af81(0xf0)][_0x29af81(0x3e2)](_0x47233b);if(!_0xfa8efa)return;let _0x436168=this[_0x29af81(0x25d)]['getDrawingOrder'](_0xfa8efa[_0x29af81(0x462)],_0xfa8efa['subUnitId']);this[_0x29af81(0x291)](_0x47233b,_0x436168[_0x29af81(0x3e8)]);}[_0x28722a(0x1b8)](_0x569d04){const _0x91b11=_0x28722a;let _0x27b29f=this[_0x91b11(0xf0)]['getFloatDomInfo'](_0x569d04);if(!_0x27b29f)return;let _0x16f65e=this[_0x91b11(0x25d)][_0x91b11(0x24c)](_0x27b29f[_0x91b11(0x462)],_0x27b29f['subUnitId']),_0x126e1f=_0x16f65e['indexOf'](_0x569d04);this['_setChartRuntimeZIndex'](_0x569d04,_0x126e1f===-0x1?Math['max'](_0x16f65e[_0x91b11(0x3e8)]-0x1,0x0):_0x126e1f);}[_0x28722a(0x300)](_0x3a81ec,_0x46e196){const _0x1dad1f=_0x28722a;let _0x1f3639=this[_0x1dad1f(0xf0)][_0x1dad1f(0x3e2)](_0x3a81ec);if(_0x46e196[_0x1dad1f(0x335)]!==void 0x0&&_0x46e196[_0x1dad1f(0x375)]!==void 0x0&&_0x1f3639){var _0x257a15;let {subUnitId:_0x46299e}=_0x1f3639,_0x44f0bb=(_0x257a15=this[_0x1dad1f(0x131)][_0x1dad1f(0x1ed)](_0x2b5065[_0x1dad1f(0x1c6)]['UNIVER_SHEET']))==null?void 0x0:_0x257a15[_0x1dad1f(0x3d8)]();if((_0x44f0bb==null?void 0x0:_0x44f0bb['getSheetId']())===_0x46299e){let {width:_0x1306ec,height:_0x2e4aa0}=_0x46e196,_0x59cc98=this[_0x1dad1f(0x386)][_0x1dad1f(0x4bd)](_0x3a81ec),_0x2014c6=_0x59cc98==null?void 0x0:_0x59cc98['style'];if(Math[_0x1dad1f(0x434)](_0x1306ec-((_0x2014c6==null?void 0x0:_0x2014c6['width'])||0x0))>0x1||Math[_0x1dad1f(0x434)](_0x2e4aa0-((_0x2014c6==null?void 0x0:_0x2014c6['height'])||0x0))>0x1){_0x59cc98==null||_0x59cc98[_0x1dad1f(0x465)]({..._0x2014c6,'width':_0x1306ec,'height':_0x2e4aa0});let _0x11bb66=this['_chartInstanceMap'][_0x1dad1f(0x404)](_0x3a81ec);_0x11bb66&&(this[_0x1dad1f(0x1da)][_0x1dad1f(0x28a)](_0x3a81ec),_0x11bb66['resize']());}}}}['_debounceHandle'](_0x2e7709,_0x39cf5a,_0x377f58=0x0){const _0x9fd79a=_0x28722a;let _0x2b2536=this[_0x9fd79a(0x3a4)][_0x9fd79a(0x404)](_0x2e7709);_0x2b2536||(_0x2b2536=(0x0,_0x2b5065[_0x9fd79a(0x3e1)])(_0x3fd0e4=>{const _0x431c49=_0x9fd79a;this[_0x431c49(0x300)](_0x2e7709,_0x3fd0e4);},_0x377f58),this['_debounceHandleMap'][_0x9fd79a(0x110)](_0x2e7709,_0x2b2536)),_0x2b2536(_0x39cf5a);}[_0x28722a(0x1e3)](){const _0x1cb5ce=_0x28722a;let _0x51ad1d=this[_0x1cb5ce(0x482)],_0x143fa6=_0x20745d=>{const _0x192342=_0x1cb5ce;if(!_0x51ad1d[_0x192342(0x393)](_0x20745d)){let _0x1d4f8f=(0x0,_0x2b5065['debounce'])((_0x4dcbf3,_0x1cda4c,_0x42085f,_0xb0c2f5)=>{const _0x5f499c=_0x192342;var _0x17cf05,_0xeee4cb;if(!_0x42085f)return;(_0x17cf05=_0x42085f[_0x5f499c(0x18e)])==null||_0x17cf05[_0x5f499c(0x26d)][_0x5f499c(0x40e)]((_0x5670a6,_0x497496)=>{const _0x4c1cdb=_0x5f499c;_0x5670a6[_0x4c1cdb(0x162)]||=this['_localeService']['t'](_0x4c1cdb(0x440))+'\x20'+(_0x497496+0x1);}),_0x42085f[_0x5f499c(0x1b2)][_0x5f499c(0x40e)]((_0x10c839,_0x36d8dd)=>{const _0x2cf34a=_0x5f499c;_0x10c839[_0x2cf34a(0x31b)]||=this[_0x2cf34a(0x34e)]['t'](_0x2cf34a(0x1bf))+'\x20'+(_0x36d8dd+0x1);});let _0x3974a5=this[_0x5f499c(0x19d)](_0x4dcbf3,_0xb0c2f5),_0x38f787=(_0xeee4cb=this[_0x5f499c(0x131)][_0x5f499c(0x1ed)](_0x2b5065[_0x5f499c(0x1c6)][_0x5f499c(0x108)]))==null?void 0x0:_0xeee4cb[_0x5f499c(0x3d8)]();(_0x38f787==null?void 0x0:_0x38f787['getSheetId']())===_0x1cda4c&&this[_0x5f499c(0x1af)](_0x4dcbf3['id'],_0x42085f,_0x3974a5);},0x11);_0x51ad1d['set'](_0x20745d,_0x1d4f8f);}return _0x51ad1d[_0x192342(0x404)](_0x20745d);};this['disposeWithMe'](this['_univerInstanceService'][_0x1cb5ce(0x325)][_0x1cb5ce(0x47c)](_0x2e4954=>{const _0x23b2cb=_0x1cb5ce;let _0xd74d46=this[_0x23b2cb(0x131)][_0x23b2cb(0x1ed)](_0x2b5065[_0x23b2cb(0x1c6)][_0x23b2cb(0x108)]);if(_0x2e4954&&_0xd74d46&&_0xd74d46[_0x23b2cb(0x146)]()===_0x2e4954){var _0x2801bd;let _0x3257dd=_0xd74d46['getActiveSheet']()[_0x23b2cb(0x1f8)]();this[_0x23b2cb(0x3e3)]&&(this[_0x23b2cb(0x3e3)][_0x23b2cb(0x462)]!==_0x2e4954||this['_lastActiveSheet']['subUnitId']!==_0x3257dd)&&this[_0x23b2cb(0x2b2)](this[_0x23b2cb(0x3e3)][_0x23b2cb(0x462)],this[_0x23b2cb(0x3e3)][_0x23b2cb(0x13c)]),this[_0x23b2cb(0x3e3)]={'unitId':_0x2e4954,'subUnitId':_0x3257dd};let _0x10500d=this['_drawingManagerService'][_0x23b2cb(0x2b6)](_0x2e4954,_0x3257dd);if(!((_0x2801bd=this[_0x23b2cb(0x44f)][_0x23b2cb(0x24a)](_0x2e4954))!=null&&_0x2801bd['with'](_0x580364[_0x23b2cb(0x20c)])[_0x23b2cb(0x282)](_0x3257dd)))return;if(_0x10500d)for(let _0x496579 in _0x10500d){let {drawingId:_0x532569}=_0x10500d[_0x496579],_0xe14d3e=this[_0x23b2cb(0x386)][_0x23b2cb(0x4bd)](_0x532569);_0xe14d3e&&_0x143fa6(_0xe14d3e['id'])(_0xe14d3e,_0x3257dd,_0xe14d3e[_0x23b2cb(0x1d5)],this[_0x23b2cb(0x34e)][_0x23b2cb(0x2f7)]());}}})),this[_0x1cb5ce(0x2de)](this[_0x1cb5ce(0x1b5)]['darkMode$'][_0x1cb5ce(0x47c)](()=>{const _0x2c9743=_0x1cb5ce;var _0x3c9aa9;let _0x43e9f9=this['_univerInstanceService']['getCurrentUnitOfType'](_0x2b5065['UniverInstanceType']['UNIVER_SHEET']);if(!_0x43e9f9)return;let _0x1a76bf=_0x43e9f9[_0x2c9743(0x146)](),_0x3b78e3=_0x43e9f9[_0x2c9743(0x3d8)]()[_0x2c9743(0x1f8)](),_0x90386c=this[_0x2c9743(0x25d)][_0x2c9743(0x2b6)](_0x1a76bf,_0x3b78e3);if((_0x3c9aa9=this[_0x2c9743(0x44f)][_0x2c9743(0x24a)](_0x1a76bf))!=null&&_0x3c9aa9[_0x2c9743(0x39e)](_0x580364['SheetSkeletonManagerService'])[_0x2c9743(0x282)](_0x3b78e3)&&_0x90386c)for(let _0x30356c in _0x90386c){let {drawingId:_0x165b03}=_0x90386c[_0x30356c],_0x5df85e=this[_0x2c9743(0x386)][_0x2c9743(0x4bd)](_0x165b03);_0x5df85e&&_0x143fa6(_0x5df85e['id'])(_0x5df85e,_0x3b78e3,_0x5df85e['config'],this[_0x2c9743(0x34e)][_0x2c9743(0x2f7)]());}})),this[_0x1cb5ce(0x2de)](this[_0x1cb5ce(0x25d)][_0x1cb5ce(0x221)][_0x1cb5ce(0x47c)](_0x4e6ad1=>{_0x4e6ad1['forEach'](_0x57c8ec=>{const _0x3a8581=_0x8413;var _0x3c75bf;let {drawingId:_0x2230d5,unitId:_0x137635,subUnitId:_0x4502c3}=_0x57c8ec,_0x48ac74=this[_0x3a8581(0x44f)][_0x3a8581(0x24a)](_0x137635);if((_0x48ac74==null?void 0x0:_0x48ac74[_0x3a8581(0x446)])!==_0x2b5065[_0x3a8581(0x1c6)][_0x3a8581(0x108)]||!_0x48ac74[_0x3a8581(0x39e)](_0x580364[_0x3a8581(0x20c)])['getSkeleton'](_0x4502c3))return;let {drawingType:_0xe4ec8}=this['_drawingManagerService'][_0x3a8581(0x40d)](_0x57c8ec);if(_0xe4ec8!==_0x2b5065[_0x3a8581(0x4c1)][_0x3a8581(0x31d)])return;let _0x817274=this[_0x3a8581(0xf0)]['getFloatDomInfo'](_0x2230d5);this[_0x3a8581(0x181)](_0x2230d5);let _0x1053f0=new _0x2b5065['Disposable']();this[_0x3a8581(0x289)]['set'](_0x2230d5,_0x1053f0);let _0x11bf9d=(_0x817274==null?void 0x0:_0x817274[_0x3a8581(0x4b4)])??_0x2230d5,_0x2ea603=_0x817274==null?void 0x0:_0x817274[_0x3a8581(0x117)],_0x4f02e0=(_0x3c75bf=this[_0x3a8581(0x44f)][_0x3a8581(0x24a)](_0x137635))==null?void 0x0:_0x3c75bf['scene'];_0x2ea603&&_0x1053f0[_0x3a8581(0x2de)](_0x2ea603['onTransformChange$'][_0x3a8581(0x34f)](_0x596f16=>{const _0x2233ab=_0x3a8581;let {type:_0x4c1271,value:_0x17dfb6}=_0x596f16;if(_0x5f0e57['TRANSFORM_CHANGE_OBSERVABLE_TYPE']['resize']===_0x4c1271||_0x5f0e57['TRANSFORM_CHANGE_OBSERVABLE_TYPE'][_0x2233ab(0x48f)]===_0x4c1271){let {width:_0x587cea,height:_0xa9efaf}=_0x17dfb6;this['_debounceHandle'](_0x2230d5,{'width':_0x587cea,'height':_0xa9efaf},0x64);}})),_0x4f02e0&&_0x1053f0[_0x3a8581(0x2de)](_0x4f02e0[_0x3a8581(0x303)][_0x3a8581(0x34f)](_0x133b69=>{const _0x2f2771=_0x3a8581;var _0x40b713;_0x133b69[_0x2f2771(0x446)]===_0x5f0e57[_0x2f2771(0x2f4)][_0x2f2771(0x46e)]&&(_0x40b713=document[_0x2f2771(0x1fb)](_0x11bf9d))!=null&&_0x40b713[_0x2f2771(0x3c2)](_0x2f2771(0x36f))&&this[_0x2f2771(0x1da)][_0x2f2771(0x28a)](_0x2230d5);}));let _0x301ec7=this[_0x3a8581(0x386)][_0x3a8581(0x4bd)](_0x2230d5);_0x301ec7&&_0x1053f0[_0x3a8581(0x2de)]((0x0,_0xb5e9d7[_0x3a8581(0x17b)])([_0x301ec7[_0x3a8581(0x270)],_0x301ec7[_0x3a8581(0x41c)],this[_0x3a8581(0x34e)][_0x3a8581(0x3b8)]])[_0x3a8581(0x47c)](([_0x5b24be,_0x3b7d54,_0x1e8647])=>{_0x143fa6(_0x301ec7['id'])(_0x301ec7,_0x4502c3,_0x5b24be,_0x1e8647);}));});})),this[_0x1cb5ce(0x2de)]((0x0,_0xb5e9d7[_0x1cb5ce(0x17b)])([this[_0x1cb5ce(0x25d)]['remove$']])[_0x1cb5ce(0x47c)](([_0x386143])=>{const _0x3f6bf8=_0x1cb5ce;_0x386143[_0x3f6bf8(0x40e)](_0x4e11ec=>{const _0x586c02=_0x3f6bf8;var _0x3d4e23;let {drawingId:_0x4c9595}=_0x4e11ec;this[_0x586c02(0x181)](_0x4c9595),((_0x3d4e23=this[_0x586c02(0x386)]['activeChartModel'])==null?void 0x0:_0x3d4e23['id'])===_0x4c9595&&this[_0x586c02(0x386)][_0x586c02(0x42a)](null),this[_0x586c02(0x23b)](_0x4c9595),this[_0x586c02(0x385)]['delete'](_0x4c9595),this[_0x586c02(0x1da)][_0x586c02(0x22d)](_0x4c9595),this['_resetChartRuntimeZIndex'](_0x4c9595),this['_disposeChartRenderInstance'](_0x4c9595),this[_0x586c02(0x3dd)][_0x586c02(0x4c4)](_0x4c9595),this[_0x586c02(0x3a9)](_0x4c9595),this['_lastRenderInputMap'][_0x586c02(0x2a5)](_0x4c9595),this[_0x586c02(0x222)]['delete'](_0x4c9595);});}));}['setElementEditMode'](_0x27d655,_0x3475c1){const _0x50b9d0=_0x28722a;var _0x535c54;_0x3475c1?this[_0x50b9d0(0x222)]['set'](_0x27d655,!0x0):this['_chartElementEditMode'][_0x50b9d0(0x2a5)](_0x27d655),(_0x535c54=this[_0x50b9d0(0x127)][_0x50b9d0(0x404)](_0x27d655))==null||_0x535c54['setElementEditMode'](_0x3475c1);}async[_0x28722a(0x43a)](_0x7199fc,_0x4779c5){const _0x44ee92=_0x28722a;var _0x507942;let _0x5e6151=this['_lastRenderInputMap']['get'](_0x7199fc),_0x4dab25=(_0x507942=this[_0x44ee92(0xf0)][_0x44ee92(0x3e2)](_0x7199fc))==null?void 0x0:_0x507942['rect'];if(_0x5e6151&&_0x4dab25)return(await this[_0x44ee92(0x4bc)][_0x44ee92(0x43a)]({'chartId':_0x7199fc,'config':_0x5e6151[_0x44ee92(0x1d5)],'style':_0x5e6151[_0x44ee92(0x22c)],'width':_0x4dab25[_0x44ee92(0x335)],'height':_0x4dab25[_0x44ee92(0x375)]},_0x4779c5))[_0x44ee92(0x360)];if((_0x4779c5==null?void 0x0:_0x4779c5['format'])===_0x27e583['ChartImageExportFormat'][_0x44ee92(0x266)])return;let _0x620434=this['_getCurrentSnapshotImage'](_0x7199fc);return _0x620434?(0x0,_0x27e583['chartImageSourceToDataUrl'])(_0x620434):void 0x0;}['on'](_0x2e7e28,_0x56f316,_0x169f29){const _0x5234ae=_0x28722a;let _0x9e8870=this[_0x5234ae(0x385)]['get'](_0x2e7e28);_0x9e8870||(_0x9e8870=new Map(),this[_0x5234ae(0x385)][_0x5234ae(0x110)](_0x2e7e28,_0x9e8870));let _0x3860eb=_0x9e8870['get'](_0x56f316);_0x3860eb||(_0x3860eb=new Set(),_0x9e8870['set'](_0x56f316,_0x3860eb)),_0x3860eb[_0x5234ae(0x43d)](_0x169f29);let _0x27e324=this['_chartInstanceMap'][_0x5234ae(0x404)](_0x2e7e28);return _0x27e324&&this[_0x5234ae(0x436)](_0x2e7e28,_0x27e324,_0x56f316,_0x169f29),{'dispose':()=>{const _0x4ddcbe=_0x5234ae;var _0xbf7459;(_0xbf7459=this[_0x4ddcbe(0x385)]['get'](_0x2e7e28))==null||(_0xbf7459=_0xbf7459[_0x4ddcbe(0x404)](_0x56f316))==null||_0xbf7459[_0x4ddcbe(0x2a5)](_0x169f29),this[_0x4ddcbe(0x205)](_0x2e7e28,_0x56f316,_0x169f29);}};}['_getCurrentSnapshotImage'](_0x2feea2){const _0x18fb60=_0x28722a;let _0x5379ac=this[_0x18fb60(0x131)][_0x18fb60(0x1ed)](_0x2b5065[_0x18fb60(0x1c6)][_0x18fb60(0x108)]),_0x5cef8b=_0x5379ac==null?void 0x0:_0x5379ac[_0x18fb60(0x3d8)](),_0x4755cd=_0x5379ac==null?void 0x0:_0x5379ac[_0x18fb60(0x146)](),_0x3a5e6c=_0x5cef8b==null?void 0x0:_0x5cef8b[_0x18fb60(0x1f8)]();if(_0x4755cd&&_0x3a5e6c)return this[_0x18fb60(0x3dd)][_0x18fb60(0x1dd)]({'unitId':_0x4755cd,'subUnitId':_0x3a5e6c,'chartId':_0x2feea2});}[_0x28722a(0x48b)](_0x1a3ae3,_0xfcda66){const _0x3011a6=_0x28722a;let _0x5987f8=this[_0x3011a6(0x385)][_0x3011a6(0x404)](_0x1a3ae3);_0x5987f8&&_0x5987f8[_0x3011a6(0x40e)]((_0x2ddbb7,_0x51279c)=>{const _0x24af4a=_0x3011a6;_0x2ddbb7[_0x24af4a(0x40e)](_0x18a3ec=>this[_0x24af4a(0x436)](_0x1a3ae3,_0xfcda66,_0x51279c,_0x18a3ec));});}[_0x28722a(0x436)](_0x24b194,_0x3ab21b,_0x143032,_0x4a08c9){const _0x5d5246=_0x28722a;let _0x1a8a2e=this['_chartEventSubscriptions'][_0x5d5246(0x404)](_0x24b194);_0x1a8a2e||(_0x1a8a2e=new Map(),this[_0x5d5246(0x38d)][_0x5d5246(0x110)](_0x24b194,_0x1a8a2e));let _0x43f67d=_0x1a8a2e[_0x5d5246(0x404)](_0x143032);_0x43f67d||(_0x43f67d=new Map(),_0x1a8a2e[_0x5d5246(0x110)](_0x143032,_0x43f67d)),!_0x43f67d[_0x5d5246(0x393)](_0x4a08c9)&&_0x43f67d[_0x5d5246(0x110)](_0x4a08c9,_0x3ab21b['on'](_0x143032,_0x4a08c9));}[_0x28722a(0x205)](_0x45b785,_0x297f58,_0x379199){const _0x27174c=_0x28722a;var _0x2383b6,_0x4d76fe;let _0x4bc001=(_0x2383b6=this[_0x27174c(0x38d)]['get'](_0x45b785))==null?void 0x0:_0x2383b6[_0x27174c(0x404)](_0x297f58);_0x4bc001==null||(_0x4d76fe=_0x4bc001[_0x27174c(0x404)](_0x379199))==null||_0x4d76fe[_0x27174c(0x4a1)](),_0x4bc001==null||_0x4bc001[_0x27174c(0x2a5)](_0x379199);}[_0x28722a(0x23b)](_0x1049d4){const _0x3d4296=_0x28722a;let _0x55503c=this[_0x3d4296(0x38d)][_0x3d4296(0x404)](_0x1049d4);_0x55503c==null||_0x55503c[_0x3d4296(0x40e)](_0x363a21=>{const _0x16186a=_0x3d4296;_0x363a21[_0x16186a(0x40e)](_0xc09568=>_0xc09568['dispose']()),_0x363a21[_0x16186a(0x28b)]();}),this[_0x3d4296(0x38d)]['delete'](_0x1049d4);}[_0x28722a(0x19d)](_0x1dfb0b,_0x4cb9e7){const _0x339748=_0x28722a;return _0x456d54(_0x1dfb0b,_0x4cb9e7,this[_0x339748(0x22a)]);}[_0x28722a(0x2fe)](_0x5771df){const _0x42bc82=_0x28722a;return this[_0x42bc82(0x302)](_0x5771df)==null;}[_0x28722a(0x302)](_0x2482f9){const _0x24e908=_0x28722a;var _0x212ab2;let _0x4bdebd=this[_0x24e908(0xf0)][_0x24e908(0x3e2)](_0x2482f9);if(!_0x4bdebd)return _0x24e908(0x10d);let {subUnitId:_0x229e7c}=_0x4bdebd,_0x287e0c=(_0x212ab2=this['_univerInstanceService'][_0x24e908(0x1ed)](_0x2b5065[_0x24e908(0x1c6)]['UNIVER_SHEET']))==null?void 0x0:_0x212ab2[_0x24e908(0x3d8)]();if(!_0x287e0c)return _0x24e908(0x496);if(_0x287e0c['getSheetId']()!==_0x229e7c)return'inactive-sheet';}async[_0x28722a(0x1af)](_0x267aae,_0x74de2d,_0x3db1fa,_0x2126cc={}){const _0x42e85c=_0x28722a;let _0x1ddf89=this[_0x42e85c(0x4bc)][_0x42e85c(0x374)](_0x27e583[_0x42e85c(0x3b4)]);if(!_0x1ddf89)return;let _0x4a9622=this['_lastRenderInputMap'][_0x42e85c(0x404)](_0x267aae);if(this[_0x42e85c(0xf9)]['set'](_0x267aae,{'config':_0x74de2d,'style':_0x3db1fa}),this[_0x42e85c(0x302)](_0x267aae))return;let {canAnimate:_0x3b4752,renderMode:_0x2887ed,shouldStartTransientAnimation:_0x50888c,transientAnimationActive:_0x1063c2}=this[_0x42e85c(0x128)](_0x267aae,_0x4a9622!=null,_0x2126cc[_0x42e85c(0x2a3)]===!0x0);if(_0x2887ed===_0x27e583[_0x42e85c(0x3c8)][_0x42e85c(0x1dc)])this[_0x42e85c(0x488)](_0x267aae);else{var _0x109124;this['_chartHostProvider'][_0x42e85c(0x3d9)](_0x267aae),((_0x109124=this[_0x42e85c(0x386)][_0x42e85c(0x151)])==null?void 0x0:_0x109124['id'])===_0x267aae&&this[_0x42e85c(0x314)](_0x267aae);}let _0x1466bf=_0x2887ed===_0x27e583[_0x42e85c(0x3c8)][_0x42e85c(0x1dc)]?_0x27e583[_0x42e85c(0x3c8)][_0x42e85c(0x1dc)]:_0x27e583[_0x42e85c(0x3c8)][_0x42e85c(0x3e4)],_0x2d9e7a=await this['_chartHostProvider'][_0x42e85c(0x2d4)](_0x267aae,_0x1466bf);if(!_0x2d9e7a){_0x50888c&&this[_0x42e85c(0x359)](_0x267aae);return;}this['_chartHostProvider'][_0x42e85c(0x20f)](_0x267aae,_0x1063c2?_0x27e583[_0x42e85c(0x39b)]:null);let _0x319f01=this[_0x42e85c(0x2ec)](_0x267aae,_0x1466bf,_0x1ddf89);_0x319f01['bind'](_0x2d9e7a);try{let _0x223cc4={'chartId':_0x267aae,'config':_0x74de2d,'style':_0x3db1fa};_0x3b4752&&_0x4a9622&&_0x319f01['renderTransition']?await _0x319f01['renderTransition']({'chartId':_0x267aae,'config':_0x4a9622[_0x42e85c(0x1d5)],'style':_0x4a9622['style']},_0x223cc4,{'duration':_0x27e583[_0x42e85c(0x39b)]}):await _0x319f01[_0x42e85c(0x1af)](_0x223cc4),await this['_cacheActiveDomChartSnapshot'](_0x267aae,_0x2887ed,_0x319f01),_0x3b4752&&_0x1063c2&&this[_0x42e85c(0x134)](_0x267aae);}catch(_0xa2cf75){if(_0x50888c&&this[_0x42e85c(0x359)](_0x267aae),_0x2887ed!==_0x27e583[_0x42e85c(0x3c8)][_0x42e85c(0x1dc)])throw _0xa2cf75;}}async[_0x28722a(0x19a)](_0x424415,_0x4321f6,_0x42c253){const _0x370e08=_0x28722a;var _0x3e0fed;if(_0x4321f6!==_0x27e583[_0x370e08(0x3c8)]['Dom']||((_0x3e0fed=this[_0x370e08(0x386)][_0x370e08(0x151)])==null?void 0x0:_0x3e0fed['id'])!==_0x424415)return;let _0x10797d=await this[_0x370e08(0x1da)]['ensureHost'](_0x424415,_0x27e583[_0x370e08(0x3c8)][_0x370e08(0x1dc)]);if(!_0x10797d)return;let _0x5a22ba=_0x10797d[_0x370e08(0x154)]();try{let _0x1ce96a=await _0x42c253[_0x370e08(0x43b)]();_0x1ce96a&&_0x10797d[_0x370e08(0x1be)]({'type':_0x27e583[_0x370e08(0x461)][_0x370e08(0x480)],'url':_0x1ce96a},_0x5a22ba)&&_0x10797d['requestPaint']();}catch{}}['_prepareDataUpdateRender'](_0x23b14e,_0x280d01,_0x38cb90){const _0x234a50=_0x28722a;let _0x4011f0=this[_0x234a50(0x39d)](_0x23b14e),_0x48bffa=_0x4011f0===_0x27e583[_0x234a50(0x3c8)]['Dom']&&_0x38cb90&&_0x280d01&&this['_canAnimateDataUpdate'](_0x23b14e),_0x47fffd=this[_0x234a50(0x2aa)][_0x234a50(0x393)](_0x23b14e);return{'canAnimate':_0x48bffa,'renderMode':_0x47fffd?_0x27e583[_0x234a50(0x3c8)][_0x234a50(0x3e4)]:_0x4011f0,'shouldStartTransientAnimation':!0x1,'transientAnimationActive':_0x47fffd};}[_0x28722a(0x422)](_0x9e7acb){const _0x2b57cf=_0x28722a;var _0x22bc0c,_0x57d408,_0x17e8df,_0x44a355;if(typeof document>'u'||typeof window>'u'||document['visibilityState']===_0x2b57cf(0x392)||(_0x22bc0c=(_0x57d408=window)[_0x2b57cf(0x296)])!=null&&(_0x22bc0c=_0x22bc0c[_0x2b57cf(0x3e9)](_0x57d408,_0x2b57cf(0x3ad)))!=null&&_0x22bc0c[_0x2b57cf(0x26b)]||(_0x17e8df=(_0x44a355=window)[_0x2b57cf(0x296)])!=null&&(_0x17e8df=_0x17e8df['call'](_0x44a355,_0x2b57cf(0x38a)))!=null&&_0x17e8df[_0x2b57cf(0x26b)])return!0x1;let _0x548722=this[_0x2b57cf(0x1da)]['getHostClientRect'](_0x9e7acb);return _0x548722!=null&&_0x548722['width']>0x0&&_0x548722['height']>0x0&&_0x548722['right']>0x0&&_0x548722[_0x2b57cf(0x367)]>0x0&&_0x548722[_0x2b57cf(0x4c9)]<window['innerWidth']&&_0x548722[_0x2b57cf(0x32d)]<window['innerHeight'];}[_0x28722a(0x278)](_0x762434){const _0x2d858d=_0x28722a;let _0x1b4aae=this[_0x2d858d(0x420)][_0x2d858d(0x404)](_0x762434);_0x1b4aae&&(clearTimeout(_0x1b4aae),this[_0x2d858d(0x420)][_0x2d858d(0x2a5)](_0x762434)),this[_0x2d858d(0x2aa)][_0x2d858d(0x43d)](_0x762434),this[_0x2d858d(0x1da)]['setDataUpdateAnimation'](_0x762434,_0x27e583[_0x2d858d(0x39b)]);}[_0x28722a(0x134)](_0x4d93d1){const _0x4ce197=_0x28722a;let _0x748373=this[_0x4ce197(0x420)][_0x4ce197(0x404)](_0x4d93d1);_0x748373&&clearTimeout(_0x748373);let _0x3b446f=setTimeout(()=>{const _0x30f92f=_0x4ce197;this[_0x30f92f(0x420)][_0x30f92f(0x2a5)](_0x4d93d1),this[_0x30f92f(0x2aa)][_0x30f92f(0x2a5)](_0x4d93d1)&&(this['_chartHostProvider'][_0x30f92f(0x20f)](_0x4d93d1,null),this['_disposeChartDomInstance'](_0x4d93d1),this[_0x30f92f(0x467)](_0x4d93d1));},_0x27e583['CHART_DATA_UPDATE_ANIMATION_DURATION']);this['_dataUpdateAnimationTimers']['set'](_0x4d93d1,_0x3b446f);}['_deactivateDataUpdateAnimation'](_0x150d62){const _0x25f157=_0x28722a;let _0x3961b4=this[_0x25f157(0x420)]['get'](_0x150d62);_0x3961b4&&(clearTimeout(_0x3961b4),this[_0x25f157(0x420)][_0x25f157(0x2a5)](_0x150d62)),this['_dataUpdateAnimationChartIds'][_0x25f157(0x2a5)](_0x150d62),this[_0x25f157(0x1da)][_0x25f157(0x20f)](_0x150d62,null);}async['renderChartsForPrinting'](_0x29abf7,_0x339319,_0x89ef90){const _0x32b421=_0x28722a;let _0x19eaf8=this[_0x32b421(0x25d)][_0x32b421(0x2b6)](_0x29abf7,_0x339319),_0x3a582e=this[_0x32b421(0x25d)][_0x32b421(0x24c)](_0x29abf7,_0x339319),_0x3689c2=Object[_0x32b421(0x186)](_0x19eaf8??{})[_0x32b421(0x203)](_0x5b52e6=>_0x5b52e6['drawingType']===_0x2b5065[_0x32b421(0x4c1)][_0x32b421(0x31d)]&&_0x5b52e6[_0x32b421(0x392)]!==!0x0);await Promise['allSettled'](_0x3689c2[_0x32b421(0x200)](async _0x14a1c9=>{const _0x55f0=_0x32b421;let _0x3dbdb1=await this[_0x55f0(0x22f)](_0x14a1c9,_0x3a582e);_0x3dbdb1&&(_0x89ef90[_0x55f0(0x328)](_0x3dbdb1,_0x5f0e57[_0x55f0(0x46c)]),_0x14a1c9[_0x55f0(0x2c1)]&&(0x0,_0x51f318['insertGroupObject'])({'drawingId':_0x14a1c9[_0x55f0(0x2c1)],'unitId':_0x29abf7,'subUnitId':_0x339319},_0x3dbdb1,_0x89ef90,this[_0x55f0(0x25d)]));}));}async['_createPrintingChartObject'](_0x52b9ef,_0x7077fa){const _0x25f94e=_0x28722a;let _0x5054a7=this[_0x25f94e(0x386)][_0x25f94e(0x4bd)](_0x52b9ef[_0x25f94e(0x412)]),_0x56847a=this[_0x25f94e(0x4bc)][_0x25f94e(0x374)](_0x27e583[_0x25f94e(0x3b4)]),_0x494228=_0x52b9ef[_0x25f94e(0x33a)],_0x397579=_0x5054a7==null?void 0x0:_0x5054a7[_0x25f94e(0x1d5)];if(!_0x5054a7||!_0x56847a||!_0x494228||!_0x397579||_0x494228['width']==null||_0x494228[_0x25f94e(0x375)]==null)return null;let _0x4a1449=new _0x23bdc2(_0x52b9ef['drawingId'],{'width':_0x494228[_0x25f94e(0x335)],'height':_0x494228[_0x25f94e(0x375)]}),_0x25b21d=_0x56847a[_0x25f94e(0x2da)](_0x27e583['ChartRenderMode'][_0x25f94e(0x1dc)],this[_0x25f94e(0x224)]());_0x25b21d[_0x25f94e(0x21c)](_0x4a1449);let _0x5c42b3;try{await _0x25b21d[_0x25f94e(0x1af)]({'chartId':_0x52b9ef[_0x25f94e(0x412)],'config':_0x397579,'style':this['createRuntimeChartStyle'](_0x5054a7,this[_0x25f94e(0x34e)]['getDirection']())});}catch(_0x368831){console['error'](_0x25f94e(0x349),_0x368831);}finally{_0x5c42b3=_0x4a1449['takeSnapshot'](),_0x25b21d[_0x25f94e(0x4a1)](),_0x4a1449[_0x25f94e(0x4a1)]();}let _0x2104bd=this[_0x25f94e(0x3dd)][_0x25f94e(0x1dd)]({'unitId':_0x52b9ef[_0x25f94e(0x462)],'subUnitId':_0x52b9ef[_0x25f94e(0x13c)],'chartId':_0x52b9ef['drawingId']}),_0x1c2be7=_0x5c42b3??_0x2104bd;if(!_0x1c2be7)return null;let _0x3f8abb=_0x7077fa[_0x25f94e(0x143)](_0x52b9ef[_0x25f94e(0x412)]);return new _0x4f389d((0x0,_0x1c7848['getDrawingShapeKeyByDrawingSearch'])(_0x52b9ef),{..._0x494228,..._0x45c19d['SHEET_CHART_RENDER_OBJECT_CONFIG'],..._0x248255(_0x4a1449[_0x25f94e(0x22c)]),'visible':!0x0,'zIndex':_0x3f8abb===-0x1?Math[_0x25f94e(0x342)](_0x7077fa[_0x25f94e(0x3e8)]-0x1,0x0):_0x3f8abb},()=>_0x1c2be7,void 0x0,_0x5c42b3?()=>_0x5cad89(_0x5c42b3):void 0x0);}[_0x28722a(0x2ec)](_0x24854f,_0x860414,_0x30ad36){const _0x3a7d9a=_0x28722a;let _0x174104=this[_0x3a7d9a(0x127)][_0x3a7d9a(0x404)](_0x24854f);if((_0x174104==null?void 0x0:_0x174104[_0x3a7d9a(0x3d3)])===_0x860414)return _0x174104;_0x174104&&(this[_0x3a7d9a(0x23b)](_0x24854f),_0x174104[_0x3a7d9a(0x4a1)](),this[_0x3a7d9a(0x127)][_0x3a7d9a(0x2a5)](_0x24854f));let _0x80a9c1=_0x30ad36[_0x3a7d9a(0x2da)](_0x860414,this['_createChartRenderInstanceContext']());return this[_0x3a7d9a(0x127)][_0x3a7d9a(0x110)](_0x24854f,_0x80a9c1),_0x80a9c1[_0x3a7d9a(0xf7)](this[_0x3a7d9a(0x222)][_0x3a7d9a(0x404)](_0x24854f)===!0x0),this[_0x3a7d9a(0x48b)](_0x24854f,_0x80a9c1),_0x80a9c1;}[_0x28722a(0x224)](){const _0x3dd983=_0x28722a;return{'resolveHostStyle':({style:_0x69c774})=>(0x0,_0x27e583[_0x3dd983(0x3d2)])({'style':_0x69c774,'getRenderColor':_0x32f084=>this['_chartThemeService'][_0x3dd983(0x1d9)](_0x32f084)}),'resolveRenderBackgroundColor':({style:_0x543975})=>this[_0x3dd983(0x171)]['getRenderColor']((0x0,_0x27e583[_0x3dd983(0x1e1)])(_0x543975))};}['_disposeChartChangeListeners'](_0x366db9){const _0xaedd98=_0x28722a;var _0x41dc68,_0x2ea059,_0x20d158;(_0x41dc68=this[_0xaedd98(0x289)]['get'](_0x366db9))==null||_0x41dc68['dispose'](),this[_0xaedd98(0x289)][_0xaedd98(0x2a5)](_0x366db9),(_0x2ea059=this[_0xaedd98(0x482)][_0xaedd98(0x404)](_0x366db9))==null||_0x2ea059[_0xaedd98(0x2b8)](),this['_renderDebounceMap']['delete'](_0x366db9),(_0x20d158=this[_0xaedd98(0x3a4)][_0xaedd98(0x404)](_0x366db9))==null||_0x20d158[_0xaedd98(0x2b8)](),this[_0xaedd98(0x3a4)][_0xaedd98(0x2a5)](_0x366db9);}[_0x28722a(0x305)](){const _0x473eba=_0x28722a;this[_0x473eba(0x482)]['forEach'](_0x11e2f8=>_0x11e2f8[_0x473eba(0x2b8)]()),this['_renderDebounceMap'][_0x473eba(0x28b)](),this[_0x473eba(0x3a4)][_0x473eba(0x40e)](_0x3d65de=>_0x3d65de[_0x473eba(0x2b8)]()),this[_0x473eba(0x3a4)]['clear']();}[_0x28722a(0x4a1)](){const _0x16d015=_0x28722a;this[_0x16d015(0x289)]['forEach'](_0x3980b1=>_0x3980b1[_0x16d015(0x4a1)]()),this[_0x16d015(0x289)][_0x16d015(0x28b)](),this[_0x16d015(0x420)]['forEach'](_0x59e47f=>clearTimeout(_0x59e47f)),this['_dataUpdateAnimationTimers'][_0x16d015(0x28b)](),this[_0x16d015(0x2aa)][_0x16d015(0x28b)](),Array[_0x16d015(0x1d8)](this[_0x16d015(0x127)][_0x16d015(0x3c1)]())[_0x16d015(0x40e)](_0x5f04ed=>this['_disposeChartRenderInstance'](_0x5f04ed)),this[_0x16d015(0x222)][_0x16d015(0x28b)](),this[_0x16d015(0x305)](),this[_0x16d015(0xf9)][_0x16d015(0x28b)](),this[_0x16d015(0x2ed)]=null,this[_0x16d015(0x3e3)]=null,super[_0x16d015(0x4a1)]();}};_0xf20d9=_0x3215db([_0x5e0768(0x0,_0x4d63c2),_0x5e0768(0x1,(0x0,_0x2b5065[_0x28722a(0x37b)])(_0x45c19d[_0x28722a(0x1a3)])),_0x5e0768(0x2,(0x0,_0x2b5065[_0x28722a(0x37b)])(_0x27938e[_0x28722a(0x3cf)])),_0x5e0768(0x3,_0x1c7848['IDrawingManagerService']),_0x5e0768(0x4,_0x2b5065[_0x28722a(0x42d)]),_0x5e0768(0x5,(0x0,_0x2b5065[_0x28722a(0x37b)])(_0x5f0e57[_0x28722a(0x497)])),_0x5e0768(0x6,(0x0,_0x2b5065[_0x28722a(0x37b)])(_0x2b5065['LocaleService'])),_0x5e0768(0x7,(0x0,_0x2b5065['Inject'])(_0x2b5065[_0x28722a(0x4ba)])),_0x5e0768(0x8,(0x0,_0x2b5065[_0x28722a(0x37b)])(_0x27e583[_0x28722a(0x413)])),_0x5e0768(0x9,(0x0,_0x2b5065[_0x28722a(0x37b)])(_0x2b5065[_0x28722a(0x37d)])),_0x5e0768(0xa,_0x2b5065[_0x28722a(0x433)]),_0x5e0768(0xb,(0x0,_0x2b5065[_0x28722a(0x37b)])(_0xcb489d)),_0x5e0768(0xc,_0x27e583[_0x28722a(0x336)])],_0xf20d9);let _0x5808bd=(0x0,_0x2b5065[_0x28722a(0x2bf)])('sheets-chart.ui.service'),_0x134b62=class extends _0x6741ad[_0x28722a(0x1b6)]{constructor(_0x19d13e,_0x4f6e00,_0x5798af,_0x179514,_0x4ab231){const _0x2772ea=_0x28722a;super(_0x4ab231),this['_chartModelService']=_0x19d13e,this[_0x2772ea(0x19b)]=_0x4f6e00,this[_0x2772ea(0x439)]=_0x5798af,this[_0x2772ea(0x131)]=_0x179514,_0x5a923f(this,'_rangeSelectMode',!0x1),_0x5a923f(this,'_chartEditorOpen$',new _0xb5e9d7[(_0x2772ea(0x1c8))](!0x1)),_0x5a923f(this,'_panelRoute$',new _0xb5e9d7['BehaviorSubject'](null)),_0x5a923f(this,_0x2772ea(0x1b7),this['_chartEditorOpen$'][_0x2772ea(0x25b)]()),_0x5a923f(this,_0x2772ea(0x36d),this[_0x2772ea(0x2e5)][_0x2772ea(0x25b)]());}get[_0x28722a(0x4b3)](){const _0x35720c=_0x28722a;return this[_0x35720c(0x386)]['activeChartModel']??null;}get[_0x28722a(0x1c2)](){const _0x3cb6bf=_0x28722a;return this['_chartEditorOpen$'][_0x3cb6bf(0x3cd)]();}get[_0x28722a(0x3ba)](){const _0x120abb=_0x28722a;return this[_0x120abb(0x2fc)];}[_0x28722a(0x352)](_0x1ca50f){const _0x4dde76=_0x28722a;this[_0x4dde76(0x2fc)]=_0x1ca50f;}[_0x28722a(0x368)](_0x1a951d){const _0x1bdf90=_0x28722a;this['_chartEditorOpen$']['getValue']()!==_0x1a951d&&this[_0x1bdf90(0x388)][_0x1bdf90(0x1ad)](_0x1a951d);}['isElementEditModeActive'](_0x34031b){const _0x427670=_0x28722a;var _0x3beafb;return this[_0x427670(0x1c2)]&&((_0x3beafb=this[_0x427670(0x386)][_0x427670(0x151)])==null?void 0x0:_0x3beafb['id'])===_0x34031b;}[_0x28722a(0x452)](_0x5b350e,_0x1a1d59){const _0x1fb166=_0x28722a;this[_0x1fb166(0x2e5)][_0x1fb166(0x1ad)]({'chartId':_0x5b350e,'route':_0x1a1d59});}[_0x28722a(0x2bc)](){const _0x4fd424=_0x28722a;this[_0x4fd424(0x2e5)][_0x4fd424(0x1ad)](null);}[_0x28722a(0x357)](_0x488204){const _0x5931c8=_0x28722a;let _0x1c3865=this['_chartModelService'][_0x5931c8(0x151)];_0x1c3865&&this['_executeChartUpdateSourceConfig']({'chartModelId':_0x1c3865['id'],'range':_0x488204});}[_0x28722a(0x173)](_0x4f3c6d){const _0x7ae6bf=_0x28722a;let _0x2f4184=this[_0x7ae6bf(0x386)][_0x7ae6bf(0x151)];if(!_0x2f4184)return;let _0x51a4bc=this[_0x7ae6bf(0x19b)][_0x7ae6bf(0x2a2)](_0x2f4184['id']);if(!_0x51a4bc||Array[_0x7ae6bf(0xfe)](_0x51a4bc))return;let _0x38ebdf={..._0x51a4bc,'isRowDirection':_0x4f3c6d===_0x27e583['DataOrientation']['Row']};this['_executeChartUpdateSourceConfig']({'chartModelId':_0x2f4184['id'],'range':_0x38ebdf});}['executeChartUpdateConfig'](_0x216a9f){const _0x184021=_0x28722a;var _0x1ba8a3;this['_commandService'][_0x184021(0x3cb)](_0x27938e[_0x184021(0x320)]['id'],{..._0x216a9f,'unitId':((_0x1ba8a3=this[_0x184021(0x131)]['getFocusedUnit']())==null?void 0x0:_0x1ba8a3['getUnitId']())??''});}['_executeChartUpdateSourceConfig'](_0x4d06c3){const _0x5348e1=_0x28722a;var _0x23c972;this[_0x5348e1(0x439)]['executeCommand'](_0x27938e['ChartUpdateSourceCommand']['id'],{..._0x4d06c3,'unitId':((_0x23c972=this[_0x5348e1(0x131)][_0x5348e1(0x264)]())==null?void 0x0:_0x23c972[_0x5348e1(0x146)]())??''});}[_0x28722a(0x4a1)](){const _0x2f7520=_0x28722a;this[_0x2f7520(0x388)]['complete'](),this['_panelRoute$'][_0x2f7520(0x122)](),super[_0x2f7520(0x4a1)]();}};_0x134b62=_0x3215db([_0x5e0768(0x0,(0x0,_0x2b5065[_0x28722a(0x37b)])(_0x27938e[_0x28722a(0x3cf)])),_0x5e0768(0x1,(0x0,_0x2b5065[_0x28722a(0x37b)])(_0x27938e['SheetsChartService'])),_0x5e0768(0x2,_0x2b5065[_0x28722a(0x408)]),_0x5e0768(0x3,_0x2b5065[_0x28722a(0x42d)]),_0x5e0768(0x4,(0x0,_0x2b5065[_0x28722a(0x37b)])(_0x6741ad['ChartViewStateRegistry']))],_0x134b62);var _0x7e1bc2;let _0x39eb37={'axis':{..._0x6741ad[_0x28722a(0x32e)],'primaryGridLineVisible':!0x1,'secondaryGridLineVisible':!0x0},'funnel':_0x6741ad['DEFAULT_CHART_FUNNEL_VALUES'],'heatmap':_0x6741ad[_0x28722a(0x4b5)],'indicatorLine':_0x6741ad['DEFAULT_CHART_INDICATOR_LINE_VALUES'],'legend':_0x6741ad['DEFAULT_CHART_LEGEND_VALUES'],'lineAndArea':_0x6741ad[_0x28722a(0x182)],'pareto':_0x6741ad[_0x28722a(0x3c7)],'pie':_0x6741ad[_0x28722a(0x403)],'relation':{..._0x6741ad[_0x28722a(0x1ab)],'useValueAsSymbolSize':!0x0},'radar':_0x6741ad['DEFAULT_CHART_RADAR_VALUES'],'series':{..._0x6741ad[_0x28722a(0x207)],'radarFillOpacity':0.2,'rightAxis':{'ltr':!0x1,'rtl':((_0x7e1bc2=_0x27e583['RTLChartStyle'][_0x28722a(0x161)])==null?void 0x0:_0x7e1bc2[_0x28722a(0x3d0)])??!0x1}},'style':_0x6741ad[_0x28722a(0x451)],'titles':_0x6741ad[_0x28722a(0x401)],'trendline':_0x6741ad[_0x28722a(0x1a5)],'waterfall':{..._0x6741ad['DEFAULT_CHART_WATERFALL_SETUP_VALUES'],'useSubtotal':!0x0},'waterfallStyle':_0x6741ad[_0x28722a(0xf1)],'wordCloud':_0x6741ad['DEFAULT_CHART_WORD_CLOUD_VALUES']},_0x1c88e6=_0x29fc62=>_0x29fc62['getCurrentUnitOfType'](_0x2b5065[_0x28722a(0x1c6)][_0x28722a(0x108)])[_0x28722a(0x146)](),_0x15fe34=_0x258575=>{const _0x5ec24f=_0x28722a;var _0x3efc97;return(_0x3efc97=_0x258575[_0x5ec24f(0x1ed)](_0x2b5065[_0x5ec24f(0x1c6)][_0x5ec24f(0x108)])[_0x5ec24f(0x3d8)]())==null?void 0x0:_0x3efc97[_0x5ec24f(0x1f8)]();},_0x138e2a=[_0x27e583[_0x28722a(0x114)][_0x28722a(0xfc)],_0x27e583['ChartTypeBits'][_0x28722a(0x3f2)],_0x27e583['ChartTypeBits'][_0x28722a(0x438)],_0x27e583[_0x28722a(0x114)][_0x28722a(0x26e)],_0x27e583[_0x28722a(0x114)][_0x28722a(0x24d)],_0x27e583[_0x28722a(0x114)][_0x28722a(0x492)],_0x27e583[_0x28722a(0x114)]['Sankey'],_0x27e583[_0x28722a(0x114)][_0x28722a(0x3d6)],_0x27e583[_0x28722a(0x114)][_0x28722a(0x19f)],_0x27e583['ChartTypeBits'][_0x28722a(0x3b9)],_0x27e583['ChartTypeBits']['Histogram'],_0x27e583['ChartTypeBits']['Treemap'],_0x27e583['ChartTypeBits'][_0x28722a(0x226)],_0x27e583[_0x28722a(0x114)]['Gauge'],_0x27e583[_0x28722a(0x114)][_0x28722a(0x2b4)]];function _0x5f4d59(){const _0x209c68=_0x28722a;let _0x5a62d5=(0x0,_0x6741ad[_0x209c68(0x3f4)])(),_0x1e3ddc=_0x138e2a[_0x209c68(0x251)](_0x1a51b9=>!_0x27e583[_0x209c68(0x475)][_0x209c68(0x1e6)](_0x5a62d5,_0x1a51b9));return(0x0,_0x38421a[_0x209c68(0x470)])(_0x6741ad[_0x209c68(0x19c)],{'visible':_0x1e3ddc});}let _0x522cc9=_0x7e1471=>{const _0x1c9db7=_0x28722a;var _0x5af0cb;let _0x1b9c6f=(0x0,_0x4585f0[_0x1c9db7(0x459)])(_0x5808bd),_0x3a1c7b=(0x0,_0x4585f0['useDependency'])(_0x27938e['ChartModelService']),_0x4a86d5=(0x0,_0x4585f0[_0x1c9db7(0x459)])(_0x2b5065[_0x1c9db7(0x11a)]),_0x3b7b9e=(0x0,_0x4585f0[_0x1c9db7(0x459)])(_0x2b5065[_0x1c9db7(0x4ba)]),_0x42b87b=(0x0,_0x27938e['getAllowedChartTypes'])(_0x3b7b9e),_0x4d7ca0=(0x0,_0x45f5c8[_0x1c9db7(0xf3)])(()=>{const _0x5c2507=_0x1c9db7;let _0x27e489=_0x1c4a7f(_0x20e80e[_0x5c2507(0x441)](),_0x42b87b);return(0x0,_0x6741ad[_0x5c2507(0x315)])(_0x27e489[_0x5c2507(0x200)](_0x2d8fdf=>({'id':_0x2d8fdf['id'],'label':_0x4a86d5['t'](_0x5c2507(0x277)+_0x2d8fdf['labelId']),'pieSecondaryPlotType':_0x2d8fdf[_0x5c2507(0x48d)],'value':_0x2d8fdf[_0x5c2507(0x130)]})));},[_0x42b87b,_0x4a86d5]),_0x1ab6f2=(0x0,_0x4585f0[_0x1c9db7(0x334)])(_0x3a1c7b['activeChartModel$'],_0x3a1c7b[_0x1c9db7(0x151)]),_0x272dad=(0x0,_0x4585f0[_0x1c9db7(0x334)])(_0x1ab6f2==null?void 0x0:_0x1ab6f2[_0x1c9db7(0x2a8)],_0x1ab6f2==null?void 0x0:_0x1ab6f2[_0x1c9db7(0x2ca)]),_0x28f27b=(0x0,_0x4585f0[_0x1c9db7(0x334)])(_0x1ab6f2==null?void 0x0:_0x1ab6f2[_0x1c9db7(0x152)],_0x1ab6f2==null?void 0x0:_0x1ab6f2[_0x1c9db7(0x2c9)]),_0x9f458=(0x0,_0x4585f0[_0x1c9db7(0x334)])(_0x28f27b==null?void 0x0:_0x28f27b[_0x1c9db7(0x362)],_0x28f27b==null?void 0x0:_0x28f27b[_0x1c9db7(0x16b)]()),_0x1e4b0e=Array[_0x1c9db7(0xfe)](_0x9f458),_0x365b7b=_0x9f458&&!_0x1e4b0e&&_0x9f458[_0x1c9db7(0x236)]?_0x27e583[_0x1c9db7(0x444)][_0x1c9db7(0x3a1)]:_0x27e583[_0x1c9db7(0x444)][_0x1c9db7(0x390)],_0x2e3e5e=_0x1e4b0e?(_0x5af0cb=_0x9f458[0x0])==null?void 0x0:_0x5af0cb[_0x1c9db7(0x178)]:_0x9f458==null?void 0x0:_0x9f458[_0x1c9db7(0x1e5)];return(0x0,_0x38421a[_0x1c9db7(0x185)])(_0x1c9db7(0x373),{'className':_0x1c9db7(0x371),'children':[(0x0,_0x38421a['jsx'])(_0x6741ad[_0x1c9db7(0x13a)],{'options':_0x4d7ca0}),(0x0,_0x38421a['jsx'])(_0x6741ad[_0x1c9db7(0x276)],{}),(0x0,_0x38421a[_0x1c9db7(0x470)])(_0x6741ad[_0x1c9db7(0x3ae)],{}),(0x0,_0x38421a[_0x1c9db7(0x470)])(_0x5f4d59,{}),(0x0,_0x38421a['jsx'])(_0x6741ad[_0x1c9db7(0x437)],{}),(0x0,_0x38421a[_0x1c9db7(0x470)])(_0x22255c,{'dataRange':_0x9f458,'primaryRange':_0x2e3e5e}),(0x0,_0x38421a[_0x1c9db7(0x470)])(_0x6741ad['ChartCommonDataMappingSection'],{'categoryToggleLabel':_0x4a86d5['t'](_0x1c9db7(0x126),_0x365b7b===_0x27e583[_0x1c9db7(0x444)][_0x1c9db7(0x3a1)]?_0x365b7b+'\x20'+(((_0x2e3e5e==null?void 0x0:_0x2e3e5e[_0x1c9db7(0x178)][_0x1c9db7(0x39f)])??0x0)+0x1):_0x365b7b+'\x20'+(0x0,_0x2b5065[_0x1c9db7(0x28d)])((_0x2e3e5e==null?void 0x0:_0x2e3e5e['range'][_0x1c9db7(0x2c3)])??0x0)),'orientationControl':_0x1e4b0e?void 0x0:(0x0,_0x38421a['jsx'])(_0x451fc4[_0x1c9db7(0x238)],{'size':'small','onClick':()=>_0x1b9c6f['setOrientation'](_0x365b7b===_0x27e583[_0x1c9db7(0x444)]['Row']?_0x27e583['DataOrientation'][_0x1c9db7(0x390)]:_0x27e583[_0x1c9db7(0x444)]['Row']),'children':_0x4a86d5['t'](_0x1c9db7(0x26f))})}),(0x0,_0x38421a['jsx'])(_0x6741ad[_0x1c9db7(0x416)],{}),(0x0,_0x38421a['jsx'])(_0x6741ad[_0x1c9db7(0x442)],{'defaultValues':_0x7e1471[_0x1c9db7(0x1a9)]['waterfall']}),(0x0,_0x38421a[_0x1c9db7(0x470)])(_0x451fc4[_0x1c9db7(0x2af)],{'checked':(_0x272dad==null?void 0x0:_0x272dad[_0x1c9db7(0x318)])===!0x1,'disabled':!_0x1ab6f2,'onChange':_0x399a77=>{const _0x54ed67=_0x1c9db7;_0x1ab6f2&&_0x1b9c6f[_0x54ed67(0x231)]({'chartModelId':_0x1ab6f2['id'],'context':{'plotVisibleOnly':!_0x399a77}});},'children':_0x4a86d5['t'](_0x1c9db7(0x42c))})]});};function _0x22255c(_0x1c83c6){const _0x2b14c1=_0x28722a;let {dataRange:_0x26f84c,primaryRange:_0x3a875c}=_0x1c83c6,_0x5544a6=(0x0,_0x4585f0[_0x2b14c1(0x459)])(_0x5808bd),_0x32e0b0=(0x0,_0x4585f0['useDependency'])(_0x2b5065[_0x2b14c1(0x11a)]),_0x348e46=(0x0,_0x4585f0[_0x2b14c1(0x459)])(_0x2b5065[_0x2b14c1(0x42d)]),_0x2220ad=(0x0,_0x4585f0[_0x2b14c1(0x459)])(_0x2b5065[_0x2b14c1(0x1ec)]),[_0x98f3aa,_0x58ba7f]=(0x0,_0x45f5c8[_0x2b14c1(0x486)])(!0x1),[_0x415550,_0x3bd663]=(0x0,_0x45f5c8['useState'])(!0x1),[_0x1cf21d,_0x33505c]=(0x0,_0x45f5c8[_0x2b14c1(0x486)])(),_0x2ad82f=_0x1c88e6(_0x348e46),_0x3472d5=_0x15fe34(_0x348e46),_0x2f49e7=_0x26f84c?_0x42552d(_0x26f84c,_0x348e46):'',_0xfbe959=(0x0,_0x45f5c8[_0x2b14c1(0x1b1)])(_0x2f49e7),_0x160d10=(0x0,_0x45f5c8[_0x2b14c1(0x1b1)])(void 0x0),_0x5791db=(0x0,_0x45f5c8['useRef'])(null);(0x0,_0x45f5c8[_0x2b14c1(0x267)])(()=>{const _0xba04d2=_0x2b14c1;_0x5544a6['setRangeSelectMode'](_0x98f3aa),_0x2220ad[_0xba04d2(0x402)](_0x2b5065[_0xba04d2(0x2ac)],_0x98f3aa);},[_0x2220ad,_0x98f3aa,_0x5544a6]),(0x0,_0x45f5c8['useEffect'])(()=>()=>{const _0x2af450=_0x2b14c1;_0x5544a6[_0x2af450(0x352)](!0x1),_0x2220ad[_0x2af450(0x402)](_0x2b5065['FOCUSING_PANEL_EDITOR'],!0x1);},[_0x2220ad,_0x5544a6]);let _0x5a43c9=(0x0,_0x45f5c8[_0x2b14c1(0x3c5)])(_0x59a466=>{const _0x16796b=_0x2b14c1;var _0x528dc6;if(_0x42552d(_0x26f84c,_0x348e46)===_0x59a466)return _0x33505c(void 0x0),!0x0;let _0x296928=_0x59a466[_0x16796b(0x210)](_0x38c4c6[_0x16796b(0x209)][_0x16796b(0x13f)]);if(!_0x59a466[_0x16796b(0x3ca)]()||_0x296928[_0x16796b(0x3e8)]!==0x1||!((_0x528dc6=_0x5791db[_0x16796b(0x4ab)])!=null&&_0x528dc6[_0x16796b(0x27c)]()))return _0x33505c(_0x32e0b0['t'](_0x16796b(0x2f1))),!0x1;let {unitId:_0x5d3afc,sheetName:_0x46ae1e,range:_0x407577}=(0x0,_0x38c4c6[_0x16796b(0x39c)])(_0x296928[0x0]),_0x4745ca=_0x5d3afc||_0x2ad82f,_0x1ddb96=_0x348e46['getUnit'](_0x4745ca),_0x5f1de1=(_0x3a875c==null?void 0x0:_0x3a875c[_0x16796b(0x462)])===_0x4745ca?_0x3a875c['subUnitId']:_0x3472d5,_0x23222a=_0x46ae1e?_0x1ddb96==null?void 0x0:_0x1ddb96[_0x16796b(0x485)](_0x46ae1e):_0x1ddb96==null?void 0x0:_0x1ddb96['getSheetBySheetId'](_0x5f1de1??'');return!_0x1ddb96||!_0x23222a||!(0x0,_0x2b5065['isValidRange'])(_0x407577,_0x23222a)?(_0x33505c(_0x32e0b0['t'](_0x16796b(0x2f1))),!0x1):(_0x33505c(void 0x0),_0x5544a6[_0x16796b(0x357)]({'rangeInfo':{'range':_0x407577,'unitId':_0x4745ca,'subUnitId':_0x23222a[_0x16796b(0x1f8)]()}}),!0x0);},[_0x26f84c,_0x32e0b0,_0x3a875c,_0x5544a6,_0x3472d5,_0x2ad82f,_0x348e46]),_0x214353=(0x0,_0x45f5c8[_0x2b14c1(0xf3)])(()=>({'keyCodes':[{'keyCode':_0x4585f0[_0x2b14c1(0x40c)]['ENTER'],'nativeTextEditorBehavior':_0x4585f0[_0x2b14c1(0x2ba)]['OVERRIDE_NATIVE']}],'handler':_0xde873b=>{const _0x5a7ee8=_0x2b14c1;_0xde873b===_0x4585f0['KeyCode'][_0x5a7ee8(0x4af)]&&_0x5a43c9(_0xfbe959[_0x5a7ee8(0x4ab)])&&(_0x160d10['current']=_0xfbe959[_0x5a7ee8(0x4ab)]);}}),[_0x5a43c9]);return(0x0,_0x38421a[_0x2b14c1(0x470)])(_0x2b14c1(0x373),{'className':_0x2b14c1(0x46b),'children':(0x0,_0x38421a[_0x2b14c1(0x185)])(_0x2b14c1(0x373),{'children':[(0x0,_0x38421a[_0x2b14c1(0x470)])(_0x6741ad[_0x2b14c1(0x3cc)],{'title':_0x32e0b0['t'](_0x2b14c1(0x4a4))}),(0x0,_0x38421a[_0x2b14c1(0x470)])(_0x1a35d8[_0x2b14c1(0x443)],{'supportAcrossSheet':!0x0,'keepSheetReference':!0x0,'maxRangeCount':0x1,'unitId':_0x2ad82f,'subUnitId':_0x3472d5,'initialValue':_0x2f49e7,'keyboardEventConfig':_0x214353,'selectorRef':_0x5791db,'onChange':(_0x36cc8f,_0x417180)=>{const _0x50fae8=_0x2b14c1;_0xfbe959[_0x50fae8(0x4ab)]=_0x417180,_0x415550&&_0x160d10[_0x50fae8(0x4ab)]!==_0x417180&&_0x5a43c9(_0x417180)&&(_0x160d10[_0x50fae8(0x4ab)]=_0x417180);},'onFocusChange':(_0x30bd22,_0x1b54b6)=>{const _0x26f07c=_0x2b14c1;if(_0x1b54b6!==void 0x0&&(_0xfbe959[_0x26f07c(0x4ab)]=_0x1b54b6),_0x415550||_0x58ba7f(_0x30bd22),_0x30bd22)_0x160d10[_0x26f07c(0x4ab)]=_0xfbe959[_0x26f07c(0x4ab)];else{let _0x1a1f84=_0x160d10['current'];_0x160d10[_0x26f07c(0x4ab)]=void 0x0,_0x1a1f84!==void 0x0&&_0xfbe959[_0x26f07c(0x4ab)]!==_0x1a1f84&&_0x5a43c9(_0xfbe959['current']);}},'onRangeSelectorDialogVisibleChange':_0x4dea4e=>{_0x3bd663(_0x4dea4e),_0x58ba7f(_0x4dea4e);}}),_0x1cf21d?(0x0,_0x38421a[_0x2b14c1(0x470)])(_0x2b14c1(0x373),{'className':'univer-my-1\x20univer-text-xs\x20univer-text-red-500','children':_0x1cf21d}):null]})});}function _0x18b695(_0x2307f1){const _0x4753c1=_0x28722a;return(0x0,_0x38421a['jsxs'])(_0x6741ad[_0x4753c1(0x40b)],{'id':_0x2307f1['id'],'children':[(0x0,_0x38421a[_0x4753c1(0x470)])(_0x6741ad['ChartSectionAccordionTrigger'],{'children':_0x2307f1[_0x4753c1(0x162)]}),(0x0,_0x38421a[_0x4753c1(0x470)])(_0x6741ad['ChartSectionAccordionContent'],{'children':_0x2307f1['children']})]});}let _0x73f068=_0x400fe0=>{const _0x4b33ad=_0x28722a;let _0xa3cd2e=(0x0,_0x4585f0[_0x4b33ad(0x459)])(_0x2b5065[_0x4b33ad(0x11a)]),_0x25ed89=(0x0,_0x4585f0[_0x4b33ad(0x459)])(_0x5808bd),_0x3d0a07=(0x0,_0x4585f0['useDependency'])(_0x27938e[_0x4b33ad(0x3cf)]),_0x2a95ee=(0x0,_0x4585f0[_0x4b33ad(0x334)])(_0x3d0a07[_0x4b33ad(0x4c3)],_0x3d0a07[_0x4b33ad(0x151)]),_0xc1a322=(0x0,_0x4585f0['useObservable'])(_0x25ed89[_0x4b33ad(0x36d)],null),_0xa589d8=_0xc1a322&&_0xc1a322['chartId']===(_0x2a95ee==null?void 0x0:_0x2a95ee['id'])?_0xc1a322[_0x4b33ad(0x419)]:null,_0x56dbd4=(0x0,_0x6741ad[_0x4b33ad(0x3f4)])(),_0x17ea2e=(0x0,_0x6741ad[_0x4b33ad(0x4a3)])(),[_0x51b6c3,_0x3a658c]=(0x0,_0x45f5c8['useState'])(null);(0x0,_0x45f5c8[_0x4b33ad(0x267)])(()=>{_0xa589d8!=null&&_0xa589d8['section']&&_0x3a658c(_0xa589d8['section']);},[_0xa589d8]);let _0x2ca01d=_0x27e583[_0x4b33ad(0x475)][_0x4b33ad(0x1e6)](_0x56dbd4,_0x27e583[_0x4b33ad(0x114)][_0x4b33ad(0x20a)]),_0x3c47d4=_0x56dbd4===_0x27e583['ChartTypeBits'][_0x4b33ad(0x3f2)],_0x330437=_0x56dbd4===_0x27e583['ChartTypeBits']['WordCloud'],_0x215479=_0x56dbd4===_0x27e583['ChartTypeBits']['Funnel'],_0x437d73=_0x27e583[_0x4b33ad(0x475)][_0x4b33ad(0x1e6)](_0x56dbd4,_0x27e583[_0x4b33ad(0x114)][_0x4b33ad(0x358)]),_0x6222ff=_0x56dbd4===_0x27e583[_0x4b33ad(0x114)][_0x4b33ad(0x492)],_0x36ae3f=_0x56dbd4===_0x27e583[_0x4b33ad(0x114)][_0x4b33ad(0x42b)],_0xc26d9d=_0x56dbd4===_0x27e583[_0x4b33ad(0x114)][_0x4b33ad(0x3b2)],_0x560cfb=_0x56dbd4===_0x27e583[_0x4b33ad(0x114)]['Heatmap'],_0x4782e7,_0x4d51da;switch(_0x56dbd4){case _0x27e583[_0x4b33ad(0x114)][_0x4b33ad(0x3b9)]:_0x4782e7=_0x6741ad[_0x4b33ad(0x1d7)][_0x4b33ad(0x3b9)],_0x4d51da=_0xa3cd2e['t'](_0x4b33ad(0x35b));break;case _0x27e583[_0x4b33ad(0x114)][_0x4b33ad(0x48e)]:_0x4782e7=_0x6741ad[_0x4b33ad(0x1d7)][_0x4b33ad(0x48e)],_0x4d51da=_0xa3cd2e['t'](_0x4b33ad(0x47b));break;case _0x27e583[_0x4b33ad(0x114)][_0x4b33ad(0x21a)]:_0x4782e7=_0x6741ad[_0x4b33ad(0x1d7)][_0x4b33ad(0x21a)],_0x4d51da=_0xa3cd2e['t'](_0x4b33ad(0x294));break;case _0x27e583[_0x4b33ad(0x114)][_0x4b33ad(0x226)]:_0x4782e7=_0x6741ad[_0x4b33ad(0x1d7)][_0x4b33ad(0x226)],_0x4d51da=_0xa3cd2e['t'](_0x4b33ad(0x353));break;case _0x27e583['ChartTypeBits'][_0x4b33ad(0x4b6)]:_0x4782e7=_0x6741ad[_0x4b33ad(0x1d7)]['Gauge'],_0x4d51da=_0xa3cd2e['t'](_0x4b33ad(0x25e));break;case _0x27e583['ChartTypeBits'][_0x4b33ad(0x2b4)]:_0x4782e7=_0x6741ad['ChartEditPanelSection'][_0x4b33ad(0x2b4)],_0x4d51da=_0xa3cd2e['t'](_0x4b33ad(0x46a));}let _0x3bf59e=(0x0,_0x6741ad['chartTypeSupportsCapability'])(_0x56dbd4,_0x6741ad[_0x4b33ad(0x30a)]['GeneralSeries'])&&!_0x437d73&&!_0xc26d9d;return(0x0,_0x38421a[_0x4b33ad(0x185)])(_0x6741ad['ChartSectionAccordion'],{'value':_0x51b6c3,'onChange':_0x3a658c,'children':[(0x0,_0x38421a[_0x4b33ad(0x470)])(_0x18b695,{'id':_0x6741ad[_0x4b33ad(0x1d7)][_0x4b33ad(0x400)],'label':_0xa3cd2e['t'](_0x4b33ad(0x21e)),'children':(0x0,_0x38421a[_0x4b33ad(0x470)])(_0x6741ad[_0x4b33ad(0x273)],{'defaultValues':_0x400fe0[_0x4b33ad(0x1a9)]['style']})}),(0x0,_0x38421a['jsx'])(_0x18b695,{'id':_0x6741ad[_0x4b33ad(0x1d7)][_0x4b33ad(0x187)],'label':_0xa3cd2e['t'](_0x4b33ad(0x13d)),'children':(0x0,_0x38421a[_0x4b33ad(0x470)])(_0x6741ad[_0x4b33ad(0x115)],{'commitMode':_0x4b33ad(0x3e0),'defaultValues':_0x400fe0[_0x4b33ad(0x1a9)][_0x4b33ad(0x141)],'selectedTitleKey':_0xa589d8==null?void 0x0:_0xa589d8['titleKey']})}),_0x3bf59e&&(0x0,_0x38421a[_0x4b33ad(0x470)])(_0x18b695,{'id':_0x6741ad['ChartEditPanelSection'][_0x4b33ad(0x292)],'label':_0xa3cd2e['t'](_0x4b33ad(0x494)),'children':(0x0,_0x38421a[_0x4b33ad(0x470)])(_0x6741ad['ChartSeriesSection'],{'defaultValues':_0x400fe0['defaultValues']['series'],'NumberFormatField':_0x6741ad[_0x4b33ad(0x3bf)],'selectedSeriesId':_0xa589d8==null?void 0x0:_0xa589d8['seriesId']})}),_0x36ae3f&&(0x0,_0x38421a[_0x4b33ad(0x470)])(_0x18b695,{'id':_0x6741ad[_0x4b33ad(0x1d7)][_0x4b33ad(0x405)],'label':_0xa3cd2e['t']('sheets-chart-ui.section.waterfall'),'children':(0x0,_0x38421a['jsx'])(_0x6741ad[_0x4b33ad(0x341)],{'defaultValues':_0x400fe0[_0x4b33ad(0x1a9)][_0x4b33ad(0x2ff)],'getDefaultBucketName':({seriesName:_0x523bd7,target:_0x13bc37})=>_0x13bc37===_0x27e583[_0x4b33ad(0x261)][_0x4b33ad(0x1a6)]?_0xa3cd2e['t'](_0x4b33ad(0x3b5)):_0x523bd7?_0x523bd7+'-('+_0xa3cd2e['t'](_0x13bc37===_0x27e583[_0x4b33ad(0x261)]['Positive']?'sheets-chart-ui.waterfall.positive':_0x4b33ad(0x192))+')':'','NumberFormatField':_0x6741ad['ChartNumberFormatAtom'],'selectedSeriesId':_0xa589d8==null?void 0x0:_0xa589d8['seriesId']})}),_0xc26d9d&&(0x0,_0x38421a[_0x4b33ad(0x185)])(_0x38421a[_0x4b33ad(0xfd)],{'children':[(0x0,_0x38421a[_0x4b33ad(0x470)])(_0x18b695,{'id':_0x6741ad[_0x4b33ad(0x1d7)][_0x4b33ad(0x478)],'label':_0xa3cd2e['t'](_0x4b33ad(0x435)),'children':(0x0,_0x38421a[_0x4b33ad(0x470)])(_0x6741ad['ChartParetoSeriesSection'],{'defaultValues':_0x400fe0[_0x4b33ad(0x1a9)]['pareto'],'NumberFormatField':_0x6741ad[_0x4b33ad(0x3bf)],'showDataPointEditor':!0x0,'target':'barStyle'})}),(0x0,_0x38421a['jsx'])(_0x18b695,{'id':_0x6741ad['ChartEditPanelSection'][_0x4b33ad(0x3c0)],'label':_0xa3cd2e['t'](_0x4b33ad(0x244)),'children':(0x0,_0x38421a[_0x4b33ad(0x470)])(_0x6741ad[_0x4b33ad(0x163)],{'defaultValues':_0x400fe0[_0x4b33ad(0x1a9)][_0x4b33ad(0x253)],'NumberFormatField':_0x6741ad[_0x4b33ad(0x3bf)],'showDataPointEditor':!0x1,'target':_0x4b33ad(0x1fc)})})]}),_0x2ca01d&&(0x0,_0x38421a[_0x4b33ad(0x470)])(_0x18b695,{'id':_0x6741ad[_0x4b33ad(0x1d7)][_0x4b33ad(0x180)],'label':_0xa3cd2e['t'](_0x4b33ad(0x287)),'children':(0x0,_0x38421a[_0x4b33ad(0x470)])(_0x6741ad[_0x4b33ad(0x309)],{'defaultValues':_0x400fe0[_0x4b33ad(0x1a9)]['pie'],'NumberFormatField':_0x6741ad[_0x4b33ad(0x3bf)]})}),_0x330437&&(0x0,_0x38421a[_0x4b33ad(0x470)])(_0x18b695,{'id':_0x6741ad['ChartEditPanelSection'][_0x4b33ad(0x438)],'label':_0xa3cd2e['t'](_0x4b33ad(0x3b6)),'children':(0x0,_0x38421a[_0x4b33ad(0x470)])(_0x6741ad[_0x4b33ad(0x317)],{'defaultValues':_0x400fe0[_0x4b33ad(0x1a9)]['wordCloud']})}),_0x3c47d4&&(0x0,_0x38421a[_0x4b33ad(0x470)])(_0x18b695,{'id':_0x6741ad['ChartEditPanelSection'][_0x4b33ad(0x3f2)],'label':_0xa3cd2e['t'](_0x4b33ad(0x431)),'children':(0x0,_0x38421a[_0x4b33ad(0x470)])(_0x6741ad[_0x4b33ad(0x376)],{'defaultValues':_0x400fe0[_0x4b33ad(0x1a9)][_0x4b33ad(0x228)]})}),_0x215479&&(0x0,_0x38421a[_0x4b33ad(0x470)])(_0x18b695,{'id':_0x6741ad[_0x4b33ad(0x1d7)]['Funnel'],'label':_0xa3cd2e['t'](_0x4b33ad(0x16f)),'children':(0x0,_0x38421a['jsx'])(_0x6741ad[_0x4b33ad(0x15e)],{'defaultValues':_0x400fe0[_0x4b33ad(0x1a9)]['funnel'],'gapControl':_0x4b33ad(0x29b)})}),_0x560cfb&&(0x0,_0x38421a['jsx'])(_0x18b695,{'id':_0x6741ad[_0x4b33ad(0x1d7)][_0x4b33ad(0x3d6)],'label':_0xa3cd2e['t'](_0x4b33ad(0x1b9)),'children':(0x0,_0x38421a['jsx'])(_0x6741ad['ChartHeatmapStyleSection'],{'defaultValues':_0x400fe0['defaultValues']['heatmap']})}),_0x6222ff&&(0x0,_0x38421a[_0x4b33ad(0x470)])(_0x18b695,{'id':_0x6741ad[_0x4b33ad(0x1d7)][_0x4b33ad(0x492)],'label':_0xa3cd2e['t'](_0x4b33ad(0x1e9)),'children':(0x0,_0x38421a[_0x4b33ad(0x470)])(_0x6741ad[_0x4b33ad(0x2ae)],{'defaultValues':_0x400fe0[_0x4b33ad(0x1a9)][_0x4b33ad(0x2cf)]})}),(0x0,_0x6741ad[_0x4b33ad(0x3a2)])(_0x56dbd4)&&(0x0,_0x38421a[_0x4b33ad(0x470)])(_0x18b695,{'id':_0x6741ad[_0x4b33ad(0x1d7)]['LineAndArea'],'label':_0xa3cd2e['t'](_0x4b33ad(0x1d1)),'children':(0x0,_0x38421a['jsx'])(_0x6741ad[_0x4b33ad(0x355)],{'defaultValues':_0x400fe0[_0x4b33ad(0x1a9)][_0x4b33ad(0x16e)],'lineStyleControl':_0x4b33ad(0x1d0)})}),(0x0,_0x6741ad['chartTypeSupportsCapability'])(_0x56dbd4,_0x6741ad['ChartEditorCapability'][_0x4b33ad(0x242)])&&(0x0,_0x38421a[_0x4b33ad(0x470)])(_0x18b695,{'id':_0x6741ad[_0x4b33ad(0x1d7)][_0x4b33ad(0x242)],'label':_0xa3cd2e['t'](_0x4b33ad(0x4ac)),'children':(0x0,_0x38421a[_0x4b33ad(0x470)])(_0x6741ad[_0x4b33ad(0x1d4)],{'defaultValues':_0x400fe0[_0x4b33ad(0x1a9)]['legend']})}),(0x0,_0x6741ad[_0x4b33ad(0x199)])(_0x56dbd4,_0x6741ad[_0x4b33ad(0x30a)][_0x4b33ad(0x15c)])&&(0x0,_0x38421a['jsxs'])(_0x38421a[_0x4b33ad(0xfd)],{'children':[(0x0,_0x38421a[_0x4b33ad(0x470)])(_0x18b695,{'id':_0x6741ad[_0x4b33ad(0x1d7)][_0x4b33ad(0x212)],'label':_0xa3cd2e['t'](_0x4b33ad(0x17d)),'children':(0x0,_0x38421a['jsx'])(_0x6741ad[_0x4b33ad(0x2ef)],{'axis':'x','defaultValues':_0x400fe0['defaultValues'][_0x4b33ad(0x1f3)],'NumberFormatField':_0x6741ad[_0x4b33ad(0x3bf)]})}),(0x0,_0x38421a[_0x4b33ad(0x470)])(_0x18b695,{'id':_0x6741ad[_0x4b33ad(0x1d7)]['VerticalAxis'],'label':_0xa3cd2e['t']('sheets-chart-ui.common.verticalAxis'),'children':(0x0,_0x38421a[_0x4b33ad(0x470)])(_0x6741ad[_0x4b33ad(0x2ef)],{'axis':'y','defaultValues':_0x400fe0[_0x4b33ad(0x1a9)][_0x4b33ad(0x1f3)],'NumberFormatField':_0x6741ad[_0x4b33ad(0x3bf)]})}),_0x17ea2e&&(0x0,_0x38421a['jsx'])(_0x18b695,{'id':_0x6741ad[_0x4b33ad(0x1d7)][_0x4b33ad(0x1fe)],'label':_0xa3cd2e['t'](_0x4b33ad(0x213)),'children':(0x0,_0x38421a[_0x4b33ad(0x470)])(_0x6741ad['ChartAxisSection'],{'axis':_0x4b33ad(0x17a),'defaultValues':_0x400fe0[_0x4b33ad(0x1a9)][_0x4b33ad(0x1f3)],'NumberFormatField':_0x6741ad['ChartNumberFormatAtom']})}),(0x0,_0x38421a[_0x4b33ad(0x470)])(_0x18b695,{'id':_0x6741ad[_0x4b33ad(0x1d7)][_0x4b33ad(0x495)],'label':_0xa3cd2e['t']('sheets-chart-ui.section.gridlinesAndTicks'),'children':(0x0,_0x38421a[_0x4b33ad(0x470)])(_0x6741ad[_0x4b33ad(0x3aa)],{'defaultValues':_0x400fe0['defaultValues'][_0x4b33ad(0x1f3)]})})]}),(0x0,_0x6741ad[_0x4b33ad(0x199)])(_0x56dbd4,_0x6741ad[_0x4b33ad(0x30a)][_0x4b33ad(0x189)])&&(0x0,_0x38421a[_0x4b33ad(0x470)])(_0x18b695,{'id':_0x6741ad[_0x4b33ad(0x1d7)]['IndicatorLine'],'label':_0xa3cd2e['t'](_0x4b33ad(0x382)),'children':(0x0,_0x38421a[_0x4b33ad(0x470)])(_0x6741ad[_0x4b33ad(0x31c)],{'defaultValues':_0x400fe0[_0x4b33ad(0x1a9)][_0x4b33ad(0x2a6)]})}),(0x0,_0x27e583['chartTypeCanUseTrendLine'])(_0x56dbd4)&&(0x0,_0x38421a['jsx'])(_0x18b695,{'id':_0x6741ad[_0x4b33ad(0x1d7)]['Trendline'],'label':_0xa3cd2e['t'](_0x4b33ad(0x2cd)),'children':(0x0,_0x38421a[_0x4b33ad(0x470)])(_0x6741ad[_0x4b33ad(0x179)],{'defaultValues':_0x400fe0['defaultValues']['trendline']})}),_0x4782e7&&_0x4d51da&&(0x0,_0x38421a[_0x4b33ad(0x470)])(_0x18b695,{'id':_0x4782e7,'label':_0x4d51da,'children':(0x0,_0x38421a['jsx'])(_0x6741ad[_0x4b33ad(0x3fb)],{})})]});};function _0x283532(_0x49074d){const _0x2fd349=_0x28722a;let {className:_0x49a288}=_0x49074d,[_0x34de69,_0x27804b]=(0x0,_0x45f5c8['useState'])(_0x6741ad[_0x2fd349(0x225)][_0x2fd349(0x331)]),_0x5575dd=(0x0,_0x4585f0[_0x2fd349(0x459)])(_0x2b5065[_0x2fd349(0x4ba)]),_0x44f747=(0x0,_0x4585f0[_0x2fd349(0x459)])(_0x2b5065[_0x2fd349(0x11a)]),_0x570095=(0x0,_0x4585f0[_0x2fd349(0x459)])(_0x5808bd),_0x229f1a=(0x0,_0x4585f0[_0x2fd349(0x459)])(_0x27938e[_0x2fd349(0x3cf)]),_0x258bbe=(0x0,_0x4585f0[_0x2fd349(0x459)])(_0x27938e['SheetsChartService']),_0x261007=(0x0,_0x4585f0[_0x2fd349(0x334)])(_0x229f1a[_0x2fd349(0x4c3)],_0x229f1a[_0x2fd349(0x151)]),_0x22de64=(0x0,_0x4585f0[_0x2fd349(0x334)])(_0x570095[_0x2fd349(0x36d)],null),_0x57de7d=(0x0,_0x45f5c8[_0x2fd349(0xf3)])(()=>{const _0x75e6aa=_0x2fd349;var _0x1c4c04;if(!_0x261007)return null;let _0x2c3522=_0x258bbe[_0x75e6aa(0x2a2)](_0x261007['id']);if(!_0x2c3522)return null;let _0x3d914c=Array[_0x75e6aa(0xfe)](_0x2c3522)?(_0x1c4c04=_0x2c3522[0x0])==null?void 0x0:_0x1c4c04[_0x75e6aa(0x178)]:_0x2c3522[_0x75e6aa(0x1e5)];return _0x3d914c?new _0x6741ad[(_0x75e6aa(0x3a8))](_0x261007,new _0x27938e[(_0x75e6aa(0x201))]({'unitId':_0x3d914c[_0x75e6aa(0x462)],'subUnitId':_0x3d914c['subUnitId'],'chartId':_0x261007['id'],'injector':_0x5575dd})):null;},[_0x261007,_0x5575dd,_0x258bbe]);if((0x0,_0x45f5c8[_0x2fd349(0x267)])(()=>{const _0x548877=_0x2fd349;var _0x2bd60d,_0xe0af34;_0x261007&&(_0x22de64==null?void 0x0:_0x22de64[_0x548877(0x49b)])===_0x261007['id']&&(((_0x2bd60d=_0x22de64['route'])==null?void 0x0:_0x2bd60d[_0x548877(0x184)])===_0x6741ad[_0x548877(0x225)][_0x548877(0x1c7)]&&_0x27804b(_0x6741ad[_0x548877(0x225)][_0x548877(0x1c7)]),((_0xe0af34=_0x22de64['route'])==null?void 0x0:_0xe0af34[_0x548877(0x184)])===_0x6741ad[_0x548877(0x225)]['Data']&&_0x27804b(_0x6741ad[_0x548877(0x225)][_0x548877(0x331)]));},[_0x261007,_0x22de64]),!_0x57de7d)return null;let _0x4321a9=(0x0,_0x38421a[_0x2fd349(0x185)])('div',{'className':_0x2fd349(0x25f)+(_0x34de69===_0x6741ad[_0x2fd349(0x225)][_0x2fd349(0x1c7)]?'univer-overflow-visible':_0x2fd349(0x2be))+'\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+(_0x49a288??'')+_0x2fd349(0x280),'children':[(0x0,_0x38421a[_0x2fd349(0x470)])(_0x6741ad[_0x2fd349(0x299)],{'ariaLabel':_0x44f747['t'](_0x2fd349(0x20b)),'className':_0x2fd349(0x477),'items':[{'label':_0x44f747['t'](_0x2fd349(0x481)),'panelId':_0x18a659,'value':_0x6741ad[_0x2fd349(0x225)]['Data']},{'label':_0x44f747['t'](_0x2fd349(0x32a)),'panelId':_0xecdf2d,'value':_0x6741ad['ChartEditPanelTab'][_0x2fd349(0x1c7)]}],'value':_0x34de69,'onChange':_0x27804b}),_0x34de69===_0x6741ad[_0x2fd349(0x225)][_0x2fd349(0x331)]?(0x0,_0x38421a[_0x2fd349(0x470)])(_0x6741ad['ChartEditPanel'],{'id':_0x18a659,'label':_0x44f747['t'](_0x2fd349(0x481)),'children':(0x0,_0x38421a[_0x2fd349(0x470)])(_0x522cc9,{'defaultValues':_0x39eb37})}):(0x0,_0x38421a[_0x2fd349(0x470)])(_0x6741ad[_0x2fd349(0x148)],{'id':_0xecdf2d,'className':_0x2fd349(0x3e7),'label':_0x44f747['t'](_0x2fd349(0x32a)),'children':(0x0,_0x38421a[_0x2fd349(0x470)])(_0x73f068,{'defaultValues':_0x39eb37})})]});return(0x0,_0x38421a[_0x2fd349(0x470)])(_0x6741ad['ChartEditorProvider'],{'chartUIService':_0x570095,'hostAdapter':_0x57de7d,'children':_0x4321a9});}let _0x2d9dc3='sheet.chart.edit.panel',_0x18a659='sheet-chart-setup-panel',_0xecdf2d=_0x28722a(0x4bf);function _0x3353c5(_0xb436db){const _0x710a6d=_0x28722a;return _0xb436db[_0x710a6d(0x3e8)]===0x1&&_0x1f582f(_0xb436db[0x0]);}function _0x1f582f(_0x54f185){const _0x1dd216=_0x28722a;return(_0x54f185==null?void 0x0:_0x54f185[_0x1dd216(0x1bb)])===_0x2b5065['DrawingTypeEnum'][_0x1dd216(0x31d)]&&!_0x54f185[_0x1dd216(0x2c1)];}let _0x11d0ed=class extends _0x2b5065[_0x28722a(0x16a)]{constructor(_0x1ed0ce,_0x406ac9,_0xfc1d1c,_0x577f4d,_0x572d21,_0x2535d3,_0x5642f3,_0x3c13e9,_0x303d1a,_0x3c2710,_0x1dd16d,_0x451988,_0x3c8a45,_0x1f14f5,_0x31ddf){const _0x5b7547=_0x28722a;var _0x35f39a;super(),this[_0x5b7547(0x25d)]=_0x1ed0ce,this[_0x5b7547(0x131)]=_0x406ac9,this['_chartModelService']=_0xfc1d1c,this[_0x5b7547(0x19b)]=_0x577f4d,this[_0x5b7547(0x3fa)]=_0x572d21,this[_0x5b7547(0x447)]=_0x2535d3,this['_sidebarService']=_0x5642f3,this[_0x5b7547(0x313)]=_0x3c13e9,this['_sheetCanvasFloatDomManagerService']=_0x303d1a,this[_0x5b7547(0x41e)]=_0x3c2710,this[_0x5b7547(0x439)]=_0x1dd16d,this[_0x5b7547(0x12b)]=_0x451988,this['_contextService']=_0x3c8a45,this['_localeService']=_0x1f14f5,_0x5a923f(this,_0x5b7547(0x464),null),_0x5a923f(this,'_isChartElementEditEnabled',void 0x0),this[_0x5b7547(0x4a9)]=((_0x35f39a=_0x31ddf['getConfig'](_0x5b7547(0x31e)))==null?void 0x0:_0x35f39a[_0x5b7547(0x350)])===!0x0,this[_0x5b7547(0x2bb)](),this[_0x5b7547(0x2de)](this[_0x5b7547(0x131)][_0x5b7547(0x46f)](_0x2b5065[_0x5b7547(0x1c6)][_0x5b7547(0x108)])['subscribe'](_0x1ce8cb=>{const _0xc5c8ea=_0x5b7547;var _0x897e8f;_0x1ce8cb||(_0x897e8f=this[_0xc5c8ea(0x464)])==null||_0x897e8f['dispose']();})),this['disposeWithMe']((0x0,_0x2b5065[_0x5b7547(0x1a2)])(this['_sheetDrawingHitTestService']['onDoubleClick$'][_0x5b7547(0x47c)](async({drawing:_0x2199e2})=>{const _0x1e7b28=_0x5b7547;await this[_0x1e7b28(0x17f)](_0x2199e2);})));}[_0x28722a(0x326)](){const _0x53d9e8=_0x28722a;this[_0x53d9e8(0x464)]=this[_0x53d9e8(0x4ae)]['open']({'id':_0x2d9dc3,'header':{'title':this[_0x53d9e8(0x34e)]['t'](_0x53d9e8(0x20b))},'width':0x154,'children':{'label':_0x2d9dc3},'onClose':()=>{const _0x2f9db=_0x53d9e8;this[_0x2f9db(0x464)]=null,this[_0x2f9db(0x337)](),this[_0x2f9db(0x386)][_0x2f9db(0x151)]&&this[_0x2f9db(0x386)][_0x2f9db(0x42a)](null),this[_0x2f9db(0x25d)][_0x2f9db(0x2a7)](null),this['_contextService'][_0x2f9db(0x402)](_0x2b5065['FOCUSING_COMMON_DRAWINGS'],!0x1);}});}[_0x28722a(0x112)](){const _0x7263de=_0x28722a;let _0x31fb2e=this[_0x7263de(0x464)];this[_0x7263de(0x464)]=null,this[_0x7263de(0x337)](),this[_0x7263de(0x386)][_0x7263de(0x151)]&&this['_chartModelService'][_0x7263de(0x42a)](null),_0x31fb2e==null||_0x31fb2e[_0x7263de(0x4a1)]();}[_0x28722a(0x249)](){const _0x2c8404=_0x28722a;let _0x37e49c=this[_0x2c8404(0x131)][_0x2c8404(0x1ed)](_0x2b5065[_0x2c8404(0x1c6)][_0x2c8404(0x108)]);this['disposeWithMe'](this[_0x2c8404(0x4ae)]['sidebarOptions$'][_0x2c8404(0x47c)](_0x44f9d6=>{const _0x35726b=_0x2c8404;_0x44f9d6['id']===_0x35726b(0x1f7)&&(_0x44f9d6[_0x35726b(0x2f0)]||this[_0x35726b(0x4ae)]['sidebarOptions$'][_0x35726b(0x1ad)]({'visible':!0x1}));})),this[_0x2c8404(0x2de)]((0x0,_0xb5e9d7[_0x2c8404(0x17b)])([this[_0x2c8404(0x386)][_0x2c8404(0x4c3)],this[_0x2c8404(0x12b)][_0x2c8404(0x1b7)]])[_0x2c8404(0x3ee)]((0x0,_0xb5e9d7[_0x2c8404(0x200)])(([_0xfeac92,_0x4f24a0])=>_0x4f24a0?(_0xfeac92==null?void 0x0:_0xfeac92['id'])??null:null),(0x0,_0xb5e9d7[_0x2c8404(0x13e)])(),(0x0,_0xb5e9d7[_0x2c8404(0x28c)])(null),(0x0,_0xb5e9d7[_0x2c8404(0x44d)])())['subscribe'](([_0x5b8b5a,_0xe5f4cc])=>{const _0x4528f6=_0x2c8404;this[_0x4528f6(0x3c6)](_0x5b8b5a,_0xe5f4cc);})),this[_0x2c8404(0x2de)](this['_chartModelService'][_0x2c8404(0x4c3)][_0x2c8404(0x47c)](_0x42ba14=>{const _0x31a766=_0x2c8404;!_0x42ba14&&this[_0x31a766(0x464)]&&this[_0x31a766(0x112)]();})),this['disposeWithMe'](this[_0x2c8404(0x439)][_0x2c8404(0x2a9)](_0x2e4220=>{const _0x4ea02a=_0x2c8404;if(_0x2e4220['id']===_0x22a72a['id']){let _0x4bde70=_0x2e4220[_0x4ea02a(0x356)];if(!_0x1f582f(this[_0x4ea02a(0x25d)][_0x4ea02a(0x40d)]({'unitId':_0x4bde70[_0x4ea02a(0x462)],'subUnitId':_0x4bde70[_0x4ea02a(0x13c)],'drawingId':_0x4bde70[_0x4ea02a(0x412)]})))return;this[_0x4ea02a(0x15f)](_0x4bde70[_0x4ea02a(0x412)],_0x4bde70[_0x4ea02a(0x419)]);}if(_0x2e4220['id']===_0x271157['id']&&this[_0x4ea02a(0x112)](),_0x2e4220['id']===_0x27938e[_0x4ea02a(0x3c3)]['id']){var _0x9479c4;_0x2e4220[_0x4ea02a(0x356)][_0x4ea02a(0x49b)]===((_0x9479c4=this[_0x4ea02a(0x386)][_0x4ea02a(0x151)])==null?void 0x0:_0x9479c4['id'])&&this[_0x4ea02a(0x112)](),this[_0x4ea02a(0x218)]['getContextValue'](_0x2b5065[_0x4ea02a(0x1f9)])&&(this[_0x4ea02a(0x218)][_0x4ea02a(0x402)](_0x2b5065[_0x4ea02a(0x1f9)],!0x1),this[_0x4ea02a(0x25d)][_0x4ea02a(0x2a7)](null));}})),this[_0x2c8404(0x2de)](this[_0x2c8404(0xf0)][_0x2c8404(0x1a7)][_0x2c8404(0x47c)](({id:_0x192e86})=>{const _0x36a269=_0x2c8404;this['_sheetsChartUIService'][_0x36a269(0x410)](_0x192e86)&&this['hidePanel']();})),this[_0x2c8404(0x2de)](this[_0x2c8404(0xf0)][_0x2c8404(0x17c)]['subscribe'](({id:_0xa9681b})=>{const _0x4164fc=_0x2c8404;this[_0x4164fc(0x12b)][_0x4164fc(0x410)](_0xa9681b)&&(this[_0x4164fc(0x12b)][_0x4164fc(0x2bc)](),this[_0x4164fc(0x3fa)][_0x4164fc(0xf7)](_0xa9681b,!0x1),this[_0x4164fc(0x370)](_0xa9681b)&&this[_0x4164fc(0x3fa)][_0x4164fc(0xf7)](_0xa9681b,!0x0));})),this[_0x2c8404(0x2de)](this[_0x2c8404(0x25d)][_0x2c8404(0x281)]['subscribe'](_0x2831a9=>{const _0x187c7a=_0x2c8404;let _0x52c6c9=_0x2831a9[0x0];if(!this[_0x187c7a(0x12b)][_0x187c7a(0x3ba)]){if(_0x3353c5(_0x2831a9)){var _0x37f360;let _0x430bb1=this[_0x187c7a(0x386)][_0x187c7a(0x4bd)](_0x52c6c9['drawingId']);_0x430bb1&&this['_isOwnedChart'](_0x430bb1['id'])&&((_0x37f360=this[_0x187c7a(0x386)][_0x187c7a(0x151)])==null?void 0x0:_0x37f360['id'])!==_0x430bb1['id']&&this[_0x187c7a(0x386)][_0x187c7a(0x42a)](_0x430bb1);return;}this[_0x187c7a(0x386)][_0x187c7a(0x151)]&&this[_0x187c7a(0x386)][_0x187c7a(0x42a)](null),!_0x52c6c9&&!this[_0x187c7a(0x12b)][_0x187c7a(0x3ba)]&&this[_0x187c7a(0x112)]();}})),_0x37e49c&&(this[_0x2c8404(0x2de)](_0x37e49c['sheetDisposed$']['subscribe'](()=>{const _0x400a46=_0x2c8404;this[_0x400a46(0x112)]();})),this[_0x2c8404(0x2de)](_0x37e49c[_0x2c8404(0x3a5)]['subscribe'](()=>{const _0xf724fd=_0x2c8404;this[_0xf724fd(0x112)]();})));}async[_0x28722a(0x17f)](_0x5b6797){const _0x2053de=_0x28722a;this[_0x2053de(0x12b)][_0x2053de(0x1c2)]||_0x1f582f(_0x5b6797)&&this[_0x2053de(0x1c9)](_0x5b6797[_0x2053de(0x412)])&&await this[_0x2053de(0x235)](_0x5b6797['unitId'],_0x5b6797['subUnitId'],_0x5b6797[_0x2053de(0x412)]);}async[_0x28722a(0x235)](_0xe676f1,_0x13824f,_0x2ce985){const _0x41238a=_0x28722a;this[_0x41238a(0x386)][_0x41238a(0x4bd)](_0x2ce985)&&this[_0x41238a(0x1c9)](_0x2ce985)&&await this[_0x41238a(0x439)][_0x41238a(0x3cb)](_0x22a72a['id'],{'unitId':_0xe676f1,'subUnitId':_0x13824f,'drawingId':_0x2ce985});}[_0x28722a(0x15f)](_0x211a25,_0x16ff31){const _0x4e65c7=_0x28722a;let _0xfeba87=this[_0x4e65c7(0x386)][_0x4e65c7(0x4bd)](_0x211a25);_0xfeba87&&this[_0x4e65c7(0x1c9)](_0x211a25)&&(this[_0x4e65c7(0x386)][_0x4e65c7(0x42a)](_0xfeba87),this['_openPanel'](),this[_0x4e65c7(0x47a)](_0x211a25,_0x16ff31??null));}[_0x28722a(0x47a)](_0x2f578f,_0x19c59f){const _0x4118ac=_0x28722a;this[_0x4118ac(0x12b)][_0x4118ac(0x368)](!0x0),this[_0x4118ac(0x12b)][_0x4118ac(0x452)](_0x2f578f,_0x19c59f);}['_deactivateEditPanelState'](){const _0x2fc75b=_0x28722a;this[_0x2fc75b(0x12b)][_0x2fc75b(0x368)](!0x1);}[_0x28722a(0x3c6)](_0x7515f4,_0x297476){const _0x25093b=_0x28722a;_0x7515f4!==_0x297476&&(_0x7515f4&&this['_chartRenderService'][_0x25093b(0xf7)](_0x7515f4,!0x1),this['_sheetsChartUIService'][_0x25093b(0x2bc)](),_0x297476&&(this[_0x25093b(0x12b)][_0x25093b(0x452)](_0x297476,null),this[_0x25093b(0x3fa)]['setElementEditMode'](_0x297476,this['_shouldEnableChartElementEdit'](_0x297476))));}[_0x28722a(0x2bb)](){const _0x2ae8dc=_0x28722a;this['_menuManagerService'][_0x2ae8dc(0x417)](_0x16cc3f),this[_0x2ae8dc(0x41e)][_0x2ae8dc(0x4b2)](_0x2b5065['DrawingTypeEnum'][_0x2ae8dc(0x31d)],this[_0x2ae8dc(0x2db)]['bind'](this));}['_shouldEnableChartElementEdit'](_0x4a03eb){const _0x5e551f=_0x28722a;let _0x3c8a97=this[_0x5e551f(0x386)][_0x5e551f(0x4bd)](_0x4a03eb);return!this[_0x5e551f(0x4a9)]||!_0x3c8a97||!this['_isOwnedChart'](_0x4a03eb)?!0x1:_0x3af916(_0x3c8a97[_0x5e551f(0x4bb)]);}[_0x28722a(0x2db)](_0x499aad,_0x3e9344,_0x3fd622,_0x281b9f){const _0x34339a=_0x28722a;if(!this[_0x34339a(0x386)][_0x34339a(0x4bd)](_0x3fd622))return[];let _0x581314=[{'label':this['_localeService']['t'](_0x34339a(0x38e)),'index':0x0,'commandId':_0x22a72a['id'],'commandParams':{'unitId':_0x499aad,'subUnitId':_0x3e9344,'drawingId':_0x3fd622},'disable':_0x281b9f!==_0x2b5065[_0x34339a(0x4c1)]['DRAWING_CHART']}];return this[_0x34339a(0x1c9)](_0x3fd622)?[..._0x581314,{'label':this[_0x34339a(0x34e)]['t'](_0x34339a(0x169)),'index':0x1,'commandId':_0x1fbc4d['RemoveSheetDrawingCommand']['id'],'commandParams':{'unitId':_0x499aad,'drawings':[{'unitId':_0x499aad,'subUnitId':_0x3e9344,'drawingId':_0x3fd622,'drawingType':_0x281b9f}]},'disable':!0x1},{'label':this[_0x34339a(0x34e)]['t']('sheets-chart-ui.common.hideChartPanel'),'index':0x2,'commandId':_0x271157['id'],'commandParams':{'unitId':_0x499aad,'subUnitId':_0x3e9344,'drawingId':_0x3fd622},'disable':!0x1}]:_0x581314;}[_0x28722a(0x1c9)](_0x1e9b92){const _0x4375f5=_0x28722a;return this[_0x4375f5(0x19b)]['getChartSourceSpec'](_0x1e9b92)!==void 0x0;}};_0x11d0ed=_0x3215db([_0x5e0768(0x0,_0x1c7848[_0x28722a(0x2d2)]),_0x5e0768(0x1,_0x2b5065[_0x28722a(0x42d)]),_0x5e0768(0x2,(0x0,_0x2b5065[_0x28722a(0x37b)])(_0x27938e[_0x28722a(0x3cf)])),_0x5e0768(0x3,(0x0,_0x2b5065[_0x28722a(0x37b)])(_0x27938e[_0x28722a(0x2d6)])),_0x5e0768(0x4,(0x0,_0x2b5065[_0x28722a(0x37b)])(_0xf20d9)),_0x5e0768(0x5,(0x0,_0x2b5065[_0x28722a(0x37b)])(_0x45c19d[_0x28722a(0x450)])),_0x5e0768(0x6,(0x0,_0x2b5065[_0x28722a(0x37b)])(_0x4585f0[_0x28722a(0x1bd)])),_0x5e0768(0x7,_0x4585f0['IMenuManagerService']),_0x5e0768(0x8,(0x0,_0x2b5065[_0x28722a(0x37b)])(_0x45c19d[_0x28722a(0x1a3)])),_0x5e0768(0x9,(0x0,_0x2b5065[_0x28722a(0x37b)])(_0x580364['SheetCanvasPopManagerService'])),_0x5e0768(0xa,_0x2b5065[_0x28722a(0x408)]),_0x5e0768(0xb,_0x5808bd),_0x5e0768(0xc,_0x2b5065[_0x28722a(0x1ec)]),_0x5e0768(0xd,(0x0,_0x2b5065[_0x28722a(0x37b)])(_0x2b5065[_0x28722a(0x11a)])),_0x5e0768(0xe,_0x2b5065[_0x28722a(0x433)])],_0x11d0ed);var _0x2305e8=_0x28722a(0x1c5),_0x5ca769=_0x28722a(0x204);let _0x36f43e=class extends _0x2b5065[_0x28722a(0x16a)]{constructor(_0x29f616,_0xf03d62){const _0x5abb77=_0x28722a;super(),this['_chartHostProviderService']=_0x29f616,this[_0x5abb77(0x386)]=_0xf03d62,this[_0x5abb77(0x429)]();}[_0x28722a(0x429)](){const _0x32e00f=_0x28722a;this[_0x32e00f(0x2de)](this[_0x32e00f(0x2df)]['removeHost$'][_0x32e00f(0x47c)](_0x58777a=>{const _0x3cf5f7=_0x32e00f;this['_chartModelService'][_0x3cf5f7(0x2d9)](_0x58777a);}));}};_0x36f43e=_0x3215db([_0x5e0768(0x0,_0x4d63c2),_0x5e0768(0x1,(0x0,_0x2b5065['Inject'])(_0x27938e[_0x28722a(0x3cf)]))],_0x36f43e);let _0x501225=class extends _0x2b5065[_0x28722a(0x16a)]{constructor(_0x4e90bb,_0xcb820b,_0x10ef24,_0x31762c,_0xd0bf38,_0x571daf){const _0xc2026=_0x28722a;super(),this[_0xc2026(0x386)]=_0x4e90bb,this[_0xc2026(0x3fa)]=_0xcb820b,this['_localeService']=_0x10ef24,this['_chartUIService']=_0x31762c,this[_0xc2026(0x439)]=_0xd0bf38,this['_sheetPrintInterceptorService']=_0x571daf,_0x5a923f(this,_0xc2026(0x286),new Map()),_0x5a923f(this,'_pendingDataUpdateChartIds',new Set()),this[_0xc2026(0x429)](),this['_listenChartUpdateMutations'](),this[_0xc2026(0x4c5)]();}[_0x28722a(0x4c5)](){const _0x56c995=_0x28722a;this['disposeWithMe'](this['_sheetPrintInterceptorService']['interceptor']['intercept'](this[_0x56c995(0x1c3)]['interceptor']['getInterceptPoints']()[_0x56c995(0x31f)],{'handler':(_0x344721,_0x4be8de,_0x4a4688)=>{const _0x4fe3e8=_0x56c995;let _0x33af02=this[_0x4fe3e8(0x3fa)][_0x4fe3e8(0x3f5)](_0x4be8de[_0x4fe3e8(0x462)],_0x4be8de[_0x4fe3e8(0x13c)],_0x4be8de[_0x4fe3e8(0x307)]);return _0x4be8de['resourceCollector'][_0x4fe3e8(0x43d)](_0x33af02),_0x4a4688(_0x344721);}}));}['_init'](){const _0x28764d=_0x28722a;this[_0x28764d(0x2de)](this[_0x28764d(0x386)][_0x28764d(0x274)][_0x28764d(0x47c)](_0x3b12e0=>{const _0x5797df=_0x28764d;if(_0x3b12e0){let _0x47fca0=new _0x2b5065[(_0x5797df(0x10f))]();_0x47fca0[_0x5797df(0x43d)](_0x3b12e0[_0x5797df(0x152)][_0x5797df(0x3ee)]((0x0,_0xb5e9d7[_0x5797df(0x415)])(_0x15749b=>_0x15749b[_0x5797df(0x28e)][_0x5797df(0x3ee)]((0x0,_0xb5e9d7[_0x5797df(0x268)])(0x1))))[_0x5797df(0x47c)](()=>{const _0x1ab99c=_0x5797df;this[_0x1ab99c(0x2e7)][_0x1ab99c(0x43d)](_0x3b12e0['id']);})),_0x47fca0[_0x5797df(0x43d)](_0x3b12e0['config$']['pipe']((0x0,_0xb5e9d7['combineLatestWith'])(_0x3b12e0[_0x5797df(0x41c)]),(0x0,_0xb5e9d7[_0x5797df(0x1ff)])(this[_0x5797df(0x34e)][_0x5797df(0x3b8)]),(0x0,_0xb5e9d7['debounceTime'])(0x64))[_0x5797df(0x47c)](([[_0x505d7f,_0x311768],_0x28aaf9])=>{const _0x1a8002=_0x5797df;var _0x5bbfb7;if(!_0x505d7f)return;(_0x5bbfb7=_0x505d7f[_0x1a8002(0x18e)])==null||_0x5bbfb7[_0x1a8002(0x26d)][_0x1a8002(0x40e)]((_0x49cda1,_0x112470)=>{const _0x574ea3=_0x1a8002;_0x49cda1['label']||=this['_localeService']['t'](_0x574ea3(0x440))+'\x20'+(_0x112470+0x1);}),_0x505d7f[_0x1a8002(0x1b2)][_0x1a8002(0x40e)]((_0x5e0fa3,_0x3efa85)=>{const _0x80c30=_0x1a8002;_0x5e0fa3[_0x80c30(0x31b)]||=this[_0x80c30(0x34e)]['t']('sheets-chart-ui.chord.target')+'\x20'+(_0x3efa85+0x1);});let _0x391a5a=this[_0x1a8002(0x3fa)][_0x1a8002(0x19d)](_0x3b12e0,_0x28aaf9),_0x289200=this['_pendingDataUpdateChartIds'][_0x1a8002(0x2a5)](_0x3b12e0['id']);this['_chartRenderService'][_0x1a8002(0x1af)](_0x3b12e0['id'],_0x505d7f,_0x391a5a,{'animateDataUpdate':_0x289200});})),_0x3b12e0[_0x5797df(0x428)](()=>{const _0xe550d7=_0x5797df;this[_0xe550d7(0x2e7)][_0xe550d7(0x2a5)](_0x3b12e0['id']),_0x47fca0[_0xe550d7(0x4a1)]();});}}));}['_listenChartUpdateMutations'](){const _0x74e502=_0x28722a;this[_0x74e502(0x2de)](this[_0x74e502(0x439)][_0x74e502(0x2a9)](_0x2f994a=>{const _0x4ff73e=_0x74e502;if(_0x2f994a['id']!==_0x27938e['ChartUpdateConfigMutation']['id'])return;let _0x4f1f52=_0x2f994a[_0x4ff73e(0x356)];_0x4f1f52!=null&&_0x4f1f52[_0x4ff73e(0x1f4)]&&Promise[_0x4ff73e(0x4a0)]()['then'](()=>this[_0x4ff73e(0x33c)](_0x4f1f52));}));}[_0x28722a(0x33c)](_0x19e044){const _0x13b244=_0x28722a;let _0x1217a0=this['_chartModelService'][_0x13b244(0x4bd)](_0x19e044[_0x13b244(0x1f4)]);if(!_0x1217a0||_0x1217a0[_0x13b244(0x4bb)]!==_0x27e583[_0x13b244(0x114)][_0x13b244(0x438)])return;let _0x44a693=_0x1217a0[_0x13b244(0x1d5)];if(!_0x44a693){this[_0x13b244(0x2d8)](_0x1217a0);return;}this['_renderChartModel'](_0x1217a0,_0x44a693);}[_0x28722a(0x2d8)](_0x10cee0){const _0x52fd40=_0x28722a;if(this[_0x52fd40(0x286)][_0x52fd40(0x404)](_0x10cee0['id']))return;let _0x1fd370=_0x10cee0[_0x52fd40(0x270)][_0x52fd40(0x3ee)]((0x0,_0xb5e9d7[_0x52fd40(0x203)])(_0x50322d=>_0x50322d!=null),(0x0,_0xb5e9d7['take'])(0x1))[_0x52fd40(0x47c)](_0x1e550b=>{const _0x320e41=_0x52fd40;this[_0x320e41(0x286)][_0x320e41(0x2a5)](_0x10cee0['id']),this[_0x320e41(0x265)](_0x10cee0,_0x1e550b);});this[_0x52fd40(0x286)]['set'](_0x10cee0['id'],_0x1fd370),_0x10cee0[_0x52fd40(0x428)](()=>{_0x1fd370['unsubscribe'](),this['_pendingMutationConfigRenders']['delete'](_0x10cee0['id']);});}[_0x28722a(0x265)](_0x5b7c8a,_0xd05df1){const _0x2bec67=_0x28722a;let _0x1d5b1f=this[_0x2bec67(0x3fa)][_0x2bec67(0x19d)](_0x5b7c8a,this[_0x2bec67(0x34e)][_0x2bec67(0x2f7)]());this[_0x2bec67(0x3fa)][_0x2bec67(0x1af)](_0x5b7c8a['id'],_0xd05df1,_0x1d5b1f);}};_0x501225=_0x3215db([_0x5e0768(0x0,(0x0,_0x2b5065[_0x28722a(0x37b)])(_0x27938e[_0x28722a(0x3cf)])),_0x5e0768(0x1,(0x0,_0x2b5065[_0x28722a(0x37b)])(_0xf20d9)),_0x5e0768(0x2,(0x0,_0x2b5065[_0x28722a(0x37b)])(_0x2b5065[_0x28722a(0x11a)])),_0x5e0768(0x3,_0x5808bd),_0x5e0768(0x4,_0x2b5065[_0x28722a(0x408)]),_0x5e0768(0x5,(0x0,_0x2b5065[_0x28722a(0x37b)])(_0x580364['SheetPrintInterceptorService']))],_0x501225);function _0x92c0be(_0xa98be0,_0x3f3b47){const _0x2431f8=_0x28722a;return _0xa98be0[_0x2431f8(0x462)]!==_0x3f3b47['unitId']||_0xa98be0['subUnitId']!==_0x3f3b47[_0x2431f8(0x23f)]?_0xa98be0:{..._0xa98be0,'subUnitId':_0x3f3b47[_0x2431f8(0x30f)]};}function _0x142cde(_0x48a656,_0x5bd5a0){const _0x12b723=_0x28722a;return(_0x48a656==null?void 0x0:_0x48a656['type'])===_0x27e583['ChartSourceHeaderTitleType']['Reference']?{..._0x48a656,'source':_0x92c0be(_0x48a656[_0x12b723(0x466)],_0x5bd5a0)}:_0x48a656;}function _0x4da7f0(_0x137f9d,_0x156a16){const _0x1f1a19=_0x28722a;let {rangeInfo:_0x46e15e}=_0x137f9d;return Array[_0x1f1a19(0xfe)](_0x46e15e)?{..._0x137f9d,'rangeInfo':_0x46e15e[_0x1f1a19(0x200)](_0x2f8d35=>({..._0x2f8d35,..._0x2f8d35[_0x1f1a19(0x4a2)]?{'header':_0x142cde(_0x2f8d35[_0x1f1a19(0x4a2)],_0x156a16)}:{},'range':_0x92c0be(_0x2f8d35[_0x1f1a19(0x178)],_0x156a16)}))}:{..._0x137f9d,'rangeInfo':{..._0x46e15e,..._0x46e15e['header']?{'header':{..._0x46e15e['header'],..._0x46e15e[_0x1f1a19(0x4a2)]['titles']?{'titles':_0x898c53(_0x46e15e[_0x1f1a19(0x4a2)][_0x1f1a19(0x141)],_0x156a16)}:{}}}:{},'rangeInfo':_0x92c0be(_0x46e15e[_0x1f1a19(0x1e5)],_0x156a16)}};}function _0x898c53(_0x547216,_0x2b457d){const _0x449864=_0x28722a;return _0x547216[_0x449864(0x446)]===_0x27e583[_0x449864(0x1ca)][_0x449864(0x4b9)]?{..._0x547216,'values':{..._0x547216[_0x449864(0x186)]}}:_0x547216[_0x449864(0x446)]===_0x27e583['ChartSourceHeaderTitleType'][_0x449864(0x37c)]?{..._0x547216,'values':Object[_0x449864(0x468)](Object[_0x449864(0x3b1)](_0x547216[_0x449864(0x186)])[_0x449864(0x200)](([_0x40d992,_0x354ffd])=>[_0x40d992,_0x354ffd&&_0x92c0be(_0x354ffd,_0x2b457d)]))}:{..._0x547216,'values':Object['fromEntries'](Object['entries'](_0x547216[_0x449864(0x186)])[_0x449864(0x200)](([_0x17e9d3,_0x55a075])=>[_0x17e9d3,_0x55a075&&_0x142cde(_0x55a075,_0x2b457d)]))};}function _0x2abad9(_0x420e10,_0x40e4a3,_0x2880aa,_0x309085){const _0xb9edea=_0x28722a;let _0x541a73=(0x0,_0x1c7848[_0xb9edea(0x2f3)])(_0x420e10,_0x40e4a3,_0x2880aa),_0x234591=[];for(let _0x57fd00 of _0x40e4a3){let _0x43d65b=_0x541a73[_0xb9edea(0x460)][_0xb9edea(0x404)](_0x57fd00['drawingId']),_0x403fca=_0x309085(_0x57fd00);_0x43d65b&&_0x403fca&&_0x234591[_0xb9edea(0x25c)]({'targetChartId':_0x43d65b,'source':_0x4da7f0(_0x403fca,_0x2880aa)});}return _0x234591;}let _0x3fbcb4=class extends _0x2b5065[_0x28722a(0x16a)]{constructor(_0x1a7675,_0x9d19fd,_0x3026fd,_0x6e0a65,_0x3e5965){const _0x4c1a4f=_0x28722a;super(),this['_univerInstanceService']=_0x1a7675,this[_0x4c1a4f(0x399)]=_0x9d19fd,this[_0x4c1a4f(0x10a)]=_0x3026fd,this[_0x4c1a4f(0x386)]=_0x6e0a65,this[_0x4c1a4f(0x19b)]=_0x3e5965,this[_0x4c1a4f(0x243)]();}[_0x28722a(0x243)](){const _0x44508f=_0x28722a;this['disposeWithMe'](this['_sheetInterceptorService'][_0x44508f(0x23a)]({'getMutations':_0x57e9ea=>{const _0x164445=_0x44508f;if(_0x57e9ea['id']===_0x231dba[_0x164445(0x1f0)]['id']){let _0x3bef40=(0x0,_0x231dba[_0x164445(0x37a)])(this[_0x164445(0x131)],_0x57e9ea[_0x164445(0x356)]);if(!_0x3bef40)return{'redos':[],'undos':[]};let {unitId:_0x46e5f2,subUnitId:_0x1b5946}=_0x3bef40,_0x13321a=this[_0x164445(0x10a)]['getDrawingData'](_0x46e5f2,_0x1b5946),_0x9bcded=Object[_0x164445(0x186)](_0x13321a)[_0x164445(0x203)](_0x3da2bd=>_0x3da2bd[_0x164445(0x1bb)]===_0x2b5065['DrawingTypeEnum'][_0x164445(0x31d)]);if(_0x9bcded[_0x164445(0x3e8)]===0x0)return{'redos':[],'undos':[]};let _0x467989=[],_0x3469f0=[];for(let _0x5852cb=0x0;_0x5852cb<_0x9bcded[_0x164445(0x3e8)];_0x5852cb++){let _0x1a654f=_0x9bcded[_0x5852cb],_0x4fbec8=this['_chartModelService'][_0x164445(0x4bd)](_0x1a654f[_0x164445(0x412)]);if(!_0x4fbec8)continue;let _0x32d65e=this[_0x164445(0x19b)]['getChartSourceSpec'](_0x4fbec8['id']);if(!_0x32d65e)continue;let {chartType:_0x331a86,context:_0x29a59f,style:_0x1774dc,dataAggregation:_0x51a23f}=_0x4fbec8['serialize']();_0x467989['push']({'id':_0x27938e[_0x164445(0x3c3)]['id'],'params':{'unitId':_0x46e5f2,'subUnitId':_0x1b5946,'chartId':_0x1a654f['drawingId']}}),_0x3469f0['push']({'id':_0x27938e[_0x164445(0x432)]['id'],'params':{'unitId':_0x46e5f2,'subUnitId':_0x1b5946,'chartId':_0x1a654f[_0x164445(0x412)],'chartType':_0x331a86,...(0x0,_0x27938e[_0x164445(0x2e8)])(_0x32d65e),'context':_0x29a59f,'style':_0x1774dc,'dataAggregation':_0x51a23f}});}return{'redos':_0x467989,'undos':_0x3469f0};}if(_0x57e9ea['id']===_0x231dba[_0x164445(0x3ab)]['id']){let {unitId:_0x448f3f,subUnitId:_0x34dc64,targetSubUnitId:_0x4432cf,copyContext:_0x40b361}=_0x57e9ea['params'];if(!_0x448f3f||!_0x34dc64||!_0x4432cf)return{'redos':[],'undos':[]};let _0x2d74a9=this[_0x164445(0x10a)]['getDrawingData'](_0x448f3f,_0x34dc64),_0x2b2471=Object[_0x164445(0x186)](_0x2d74a9)[_0x164445(0x203)](_0x2c6298=>_0x2c6298[_0x164445(0x1bb)]===_0x2b5065[_0x164445(0x4c1)][_0x164445(0x31d)]);if(_0x2b2471[_0x164445(0x3e8)]===0x0)return{'redos':[],'undos':[]};let _0x4a41f9=_0x2abad9(_0x40b361,_0x2b2471,{'unitId':_0x448f3f,'sourceSubUnitId':_0x34dc64,'targetSubUnitId':_0x4432cf},_0x3abb15=>{const _0x2d819b=_0x164445;let _0x3441fc=this[_0x2d819b(0x386)]['getChartModel'](_0x3abb15[_0x2d819b(0x412)]);if(!_0x3441fc)return;let _0x1ef2e0=this[_0x2d819b(0x19b)][_0x2d819b(0x2a2)](_0x3441fc['id']);if(!_0x1ef2e0)return;let {chartType:_0x18f7bf,context:_0x505b02,style:_0x38bf99,dataAggregation:_0x176bdd}=_0x3441fc[_0x2d819b(0x2ad)]();return{'rangeInfo':_0x1ef2e0,'chartType':_0x18f7bf,'context':_0x505b02,'style':_0x38bf99,'dataAggregation':_0x176bdd};}),_0x2da340=[],_0x150c69=[];for(let {targetChartId:_0x4e499f,source:_0x74c656}of _0x4a41f9){let {rangeInfo:_0x932d41,chartType:_0x3e5d54,context:_0x655a16,style:_0x5b2c39,dataAggregation:_0x81207c}=_0x74c656;_0x2da340[_0x164445(0x25c)]({'id':_0x27938e[_0x164445(0x432)]['id'],'params':{'unitId':_0x448f3f,'subUnitId':_0x4432cf,'chartId':_0x4e499f,'chartType':_0x3e5d54,...(0x0,_0x27938e[_0x164445(0x2e8)])(_0x932d41),'context':_0x655a16,'style':_0x5b2c39,'dataAggregation':_0x81207c}}),_0x150c69[_0x164445(0x25c)]({'id':_0x27938e[_0x164445(0x3c3)]['id'],'params':{'unitId':_0x448f3f,'subUnitId':_0x4432cf,'chartId':_0x4e499f}});}return{'redos':_0x2da340,'undos':_0x150c69};}return{'redos':[],'undos':[]};}}));}};_0x3fbcb4=_0x3215db([_0x5e0768(0x0,(0x0,_0x2b5065[_0x28722a(0x37b)])(_0x2b5065['IUniverInstanceService'])),_0x5e0768(0x1,(0x0,_0x2b5065[_0x28722a(0x37b)])(_0x231dba['SheetInterceptorService'])),_0x5e0768(0x2,(0x0,_0x2b5065['Inject'])(_0x1fbc4d[_0x28722a(0x1db)])),_0x5e0768(0x3,(0x0,_0x2b5065['Inject'])(_0x27938e[_0x28722a(0x3cf)])),_0x5e0768(0x4,(0x0,_0x2b5065['Inject'])(_0x27938e['SheetsChartService']))],_0x3fbcb4);let _0x221afd=_0x2f16e4=>_0x2f16e4[_0x28722a(0x1ed)](_0x2b5065[_0x28722a(0x1c6)][_0x28722a(0x108)])[_0x28722a(0x146)](),_0x5b3eba=_0xd02f62=>{const _0x3087bb=_0x28722a;var _0x2e71bd;return(_0x2e71bd=_0xd02f62[_0x3087bb(0x1ed)](_0x2b5065[_0x3087bb(0x1c6)][_0x3087bb(0x108)])[_0x3087bb(0x3d8)]())==null?void 0x0:_0x2e71bd[_0x3087bb(0x1f8)]();},_0xf073a8=[_0x27e583[_0x28722a(0x114)][_0x28722a(0xfc)],_0x27e583[_0x28722a(0x114)]['Radar'],_0x27e583[_0x28722a(0x114)][_0x28722a(0x438)],_0x27e583[_0x28722a(0x114)][_0x28722a(0x26e)],_0x27e583[_0x28722a(0x114)][_0x28722a(0x24d)],_0x27e583[_0x28722a(0x114)][_0x28722a(0x492)],_0x27e583[_0x28722a(0x114)][_0x28722a(0x26a)],_0x27e583[_0x28722a(0x114)][_0x28722a(0x3d6)],_0x27e583[_0x28722a(0x114)][_0x28722a(0x19f)],_0x27e583[_0x28722a(0x114)][_0x28722a(0x3b9)],_0x27e583[_0x28722a(0x114)][_0x28722a(0x48e)],_0x27e583[_0x28722a(0x114)][_0x28722a(0x21a)],_0x27e583[_0x28722a(0x114)][_0x28722a(0x226)],_0x27e583[_0x28722a(0x114)][_0x28722a(0x4b6)],_0x27e583['ChartTypeBits'][_0x28722a(0x2b4)]];function _0x358888(){const _0x3e0879=_0x28722a;let _0x296350=(0x0,_0x6741ad[_0x3e0879(0x3f4)])(),_0x35735b=_0xf073a8['every'](_0x159db8=>!_0x27e583[_0x3e0879(0x475)][_0x3e0879(0x1e6)](_0x296350,_0x159db8));return(0x0,_0x38421a[_0x3e0879(0x470)])(_0x6741ad['ChartGradientFillField'],{'visible':_0x35735b});}function _0x49a03b(_0x386200){const _0x3612a6=_0x28722a;var _0x2b0654;let _0xba5dd8=(0x0,_0x4585f0[_0x3612a6(0x459)])(_0x5808bd),_0x1526bc=(0x0,_0x4585f0['useDependency'])(_0x27938e[_0x3612a6(0x3cf)]),_0x4bbedf=(0x0,_0x4585f0[_0x3612a6(0x459)])(_0x27938e['SheetsChartService']),_0x1e9b1e=(0x0,_0x4585f0[_0x3612a6(0x459)])(_0x2b5065[_0x3612a6(0x11a)]),_0x5962ba=(0x0,_0x4585f0[_0x3612a6(0x459)])(_0x2b5065[_0x3612a6(0x4ba)]),_0x4e0a19=(0x0,_0x27938e[_0x3612a6(0x45f)])(_0x5962ba),_0x17d4d9=(0x0,_0x45f5c8['useMemo'])(()=>{const _0x47174b=_0x3612a6;let _0x3d1e3a=_0x1c4a7f(_0x20e80e[_0x47174b(0x441)](),_0x4e0a19);return(0x0,_0x6741ad[_0x47174b(0x315)])(_0x3d1e3a[_0x47174b(0x200)](_0x144920=>({'id':_0x144920['id'],'label':_0x1e9b1e['t'](_0x47174b(0x277)+_0x144920['labelId']),'pieSecondaryPlotType':_0x144920['pieSecondaryPlotType'],'value':_0x144920['value']})));},[_0x4e0a19,_0x1e9b1e]),_0x241b8b=(0x0,_0x4585f0[_0x3612a6(0x334)])(_0x1526bc['activeChartModel$'],_0x1526bc[_0x3612a6(0x151)]),_0xfa13c2=_0x241b8b?_0x4bbedf['getChartDataSource'](_0x241b8b['id']):void 0x0,_0x46131d=(0x0,_0x4585f0[_0x3612a6(0x334)])(_0xfa13c2==null?void 0x0:_0xfa13c2[_0x3612a6(0x362)],_0xfa13c2==null?void 0x0:_0xfa13c2['getRangeInfo']()),_0x33a8cd=Array['isArray'](_0x46131d),_0x9a7b71=_0x46131d&&!_0x33a8cd&&_0x46131d[_0x3612a6(0x236)]?_0x27e583[_0x3612a6(0x444)][_0x3612a6(0x3a1)]:_0x27e583['DataOrientation']['Column'],_0x6e8190=_0x33a8cd?(_0x2b0654=_0x46131d[0x0])==null?void 0x0:_0x2b0654[_0x3612a6(0x178)]:_0x46131d==null?void 0x0:_0x46131d[_0x3612a6(0x1e5)];return(0x0,_0x38421a[_0x3612a6(0x185)])(_0x3612a6(0x373),{'className':_0x3612a6(0x371),'children':[(0x0,_0x38421a[_0x3612a6(0x470)])(_0x6741ad[_0x3612a6(0x13a)],{'options':_0x17d4d9}),(0x0,_0x38421a[_0x3612a6(0x470)])(_0x6741ad[_0x3612a6(0x276)],{}),(0x0,_0x38421a[_0x3612a6(0x470)])(_0x6741ad[_0x3612a6(0x3ae)],{}),(0x0,_0x38421a[_0x3612a6(0x470)])(_0x358888,{}),(0x0,_0x38421a[_0x3612a6(0x470)])(_0x6741ad[_0x3612a6(0x437)],{}),(0x0,_0x38421a['jsx'])(_0x1dd179,{'dataRange':_0x46131d,'primaryRange':_0x6e8190}),(0x0,_0x38421a['jsx'])(_0x6741ad[_0x3612a6(0x15b)],{'categoryToggleLabel':_0x1e9b1e['t'](_0x3612a6(0x126),_0x9a7b71===_0x27e583[_0x3612a6(0x444)][_0x3612a6(0x3a1)]?_0x9a7b71+'\x20'+(((_0x6e8190==null?void 0x0:_0x6e8190['range'][_0x3612a6(0x39f)])??0x0)+0x1):_0x9a7b71+'\x20'+(0x0,_0x2b5065[_0x3612a6(0x28d)])((_0x6e8190==null?void 0x0:_0x6e8190[_0x3612a6(0x178)]['startColumn'])??0x0)),'orientationControl':_0x33a8cd?void 0x0:(0x0,_0x38421a[_0x3612a6(0x470)])(_0x451fc4[_0x3612a6(0x238)],{'size':_0x3612a6(0xfa),'onClick':()=>_0xba5dd8[_0x3612a6(0x173)](_0x9a7b71===_0x27e583['DataOrientation'][_0x3612a6(0x3a1)]?_0x27e583[_0x3612a6(0x444)]['Column']:_0x27e583[_0x3612a6(0x444)]['Row']),'children':_0x1e9b1e['t'](_0x3612a6(0x26f))})}),(0x0,_0x38421a[_0x3612a6(0x470)])(_0x6741ad['ChartTypeSpecificDataSection'],{}),(0x0,_0x38421a[_0x3612a6(0x470)])(_0x6741ad['ChartWaterfallSetupFields'],{'defaultValues':_0x386200[_0x3612a6(0x1a9)][_0x3612a6(0x43e)]})]});}function _0x1dd179(_0x2a6ea7){const _0x24d92a=_0x28722a;let {dataRange:_0x1928be,primaryRange:_0x37c990}=_0x2a6ea7,_0x202686=(0x0,_0x4585f0[_0x24d92a(0x459)])(_0x5808bd),_0x5007cb=(0x0,_0x4585f0[_0x24d92a(0x459)])(_0x2b5065['LocaleService']),_0x397353=(0x0,_0x4585f0[_0x24d92a(0x459)])(_0x2b5065[_0x24d92a(0x42d)]),[_0x525a3a,_0x1ca231]=(0x0,_0x45f5c8['useState'])(!0x1),[_0x593606,_0x5dc22b]=(0x0,_0x45f5c8[_0x24d92a(0x486)])(!0x1),_0x244c12=_0x221afd(_0x397353),_0x2d3f36=_0x5b3eba(_0x397353);(0x0,_0x45f5c8[_0x24d92a(0x267)])(()=>{const _0xe4316c=_0x24d92a;_0x202686[_0xe4316c(0x352)](_0x525a3a);},[_0x525a3a,_0x202686]);let _0x3d59e9=(0x0,_0x45f5c8[_0x24d92a(0xf3)])(()=>(0x0,_0x2b5065[_0x24d92a(0x3e1)])(async _0x4398de=>{const _0x2ba796=_0x24d92a;var _0x2e0f03;if(_0x42552d(_0x1928be,_0x397353)===_0x4398de)return;let _0x3aa477=_0x4398de[_0x2ba796(0x210)](',')[_0x2ba796(0x203)](Boolean)[_0x2ba796(0x200)](_0x38c4c6['deserializeRangeWithSheet'])[0x0];if(!_0x3aa477)return;let {unitId:_0x490426,sheetName:_0x30b18a,range:_0x2f2090}=_0x3aa477,_0x505a57=_0x490426||_0x244c12,_0x5c45f3=((_0x2e0f03=_0x397353['getUnit'](_0x505a57)[_0x2ba796(0x485)](_0x30b18a))==null?void 0x0:_0x2e0f03[_0x2ba796(0x1f8)]())||(_0x37c990==null?void 0x0:_0x37c990[_0x2ba796(0x13c)])||_0x2d3f36;_0x5c45f3&&_0x202686[_0x2ba796(0x357)]({'rangeInfo':{'range':_0x2f2090,'unitId':_0x505a57,'subUnitId':_0x5c45f3}});},0x12c,{'leading':!0x1,'maxWait':0x3e8,'trailing':!0x0}),[_0x1928be,_0x37c990,_0x202686,_0x2d3f36,_0x244c12,_0x397353]);return(0x0,_0x45f5c8['useEffect'])(()=>()=>_0x3d59e9['cancel'](),[_0x3d59e9]),(0x0,_0x38421a[_0x24d92a(0x470)])('div',{'className':_0x24d92a(0x46b),'children':(0x0,_0x38421a[_0x24d92a(0x185)])('div',{'children':[(0x0,_0x38421a[_0x24d92a(0x470)])(_0x6741ad[_0x24d92a(0x3cc)],{'title':_0x5007cb['t'](_0x24d92a(0x4a4))}),(0x0,_0x38421a[_0x24d92a(0x470)])(_0x1a35d8['MobileRangeSelector'],{'supportAcrossSheet':!0x0,'keepSheetReference':!0x0,'maxRangeCount':0x1,'unitId':_0x244c12,'subUnitId':_0x2d3f36,'initialValue':_0x1928be?_0x42552d(_0x1928be,_0x397353):'','onChange':(_0x5f1a71,_0x3fe2de)=>_0x3d59e9(_0x3fe2de),'onFocusChange':_0x565c14=>{_0x593606||_0x1ca231(_0x565c14);},'onRangeSelectorDialogVisibleChange':_0x3fddec=>{_0x5dc22b(_0x3fddec),_0x1ca231(_0x3fddec);}})]})});}let _0x57b703=_0x28722a(0x340),_0x5a40b6='mobile-sheet-chart-style-panel';function _0x24b539(){const _0x43f294=_0x28722a;let [_0x3d55c7,_0x33fbc5]=(0x0,_0x45f5c8['useState'])(_0x6741ad[_0x43f294(0x225)][_0x43f294(0x331)]),_0x1588f4=(0x0,_0x4585f0[_0x43f294(0x459)])(_0x2b5065[_0x43f294(0x4ba)]),_0x229515=(0x0,_0x4585f0['useDependency'])(_0x2b5065[_0x43f294(0x11a)]),_0x45abb1=(0x0,_0x4585f0[_0x43f294(0x459)])(_0x5808bd),_0x1cb0bb=(0x0,_0x4585f0[_0x43f294(0x459)])(_0x27938e[_0x43f294(0x3cf)]),_0x48ce86=(0x0,_0x4585f0[_0x43f294(0x459)])(_0x27938e[_0x43f294(0x2d6)]),_0x2f0c8c=(0x0,_0x4585f0[_0x43f294(0x334)])(_0x1cb0bb[_0x43f294(0x4c3)],_0x1cb0bb[_0x43f294(0x151)]),_0x3142f2=(0x0,_0x4585f0[_0x43f294(0x334)])(_0x45abb1[_0x43f294(0x36d)],null),_0x2636dd=(0x0,_0x45f5c8['useMemo'])(()=>{const _0x17fd26=_0x43f294;var _0x5e7be0;if(!_0x2f0c8c)return null;let _0xda10cc=_0x48ce86[_0x17fd26(0x2a2)](_0x2f0c8c['id']);if(!_0xda10cc)return null;let _0x182ba4=Array[_0x17fd26(0xfe)](_0xda10cc)?(_0x5e7be0=_0xda10cc[0x0])==null?void 0x0:_0x5e7be0[_0x17fd26(0x178)]:_0xda10cc[_0x17fd26(0x1e5)];return _0x182ba4?new _0x6741ad[(_0x17fd26(0x3a8))](_0x2f0c8c,new _0x27938e[(_0x17fd26(0x201))]({'unitId':_0x182ba4['unitId'],'subUnitId':_0x182ba4[_0x17fd26(0x13c)],'chartId':_0x2f0c8c['id'],'injector':_0x1588f4})):null;},[_0x2f0c8c,_0x1588f4,_0x48ce86]);if((0x0,_0x45f5c8['useEffect'])(()=>{const _0x424f54=_0x43f294;var _0x39d79e,_0x1478d1;_0x2f0c8c&&(_0x3142f2==null?void 0x0:_0x3142f2[_0x424f54(0x49b)])===_0x2f0c8c['id']&&(((_0x39d79e=_0x3142f2[_0x424f54(0x419)])==null?void 0x0:_0x39d79e[_0x424f54(0x184)])===_0x6741ad['ChartEditPanelTab'][_0x424f54(0x1c7)]&&_0x33fbc5(_0x6741ad['ChartEditPanelTab'][_0x424f54(0x1c7)]),((_0x1478d1=_0x3142f2['route'])==null?void 0x0:_0x1478d1['tab'])===_0x6741ad[_0x424f54(0x225)][_0x424f54(0x331)]&&_0x33fbc5(_0x6741ad['ChartEditPanelTab'][_0x424f54(0x331)]));},[_0x2f0c8c,_0x3142f2]),!_0x2636dd)return null;let _0x443a63=(0x0,_0x38421a[_0x43f294(0x185)])(_0x43f294(0x373),{'className':_0x43f294(0x3bb),'children':[(0x0,_0x38421a['jsx'])(_0x6741ad[_0x43f294(0x299)],{'ariaLabel':_0x229515['t'](_0x43f294(0x20b)),'className':_0x43f294(0x3f6),'items':[{'label':_0x229515['t'](_0x43f294(0x481)),'panelId':_0x57b703,'value':_0x6741ad['ChartEditPanelTab']['Data']},{'label':_0x229515['t'](_0x43f294(0x32a)),'panelId':_0x5a40b6,'value':_0x6741ad[_0x43f294(0x225)][_0x43f294(0x1c7)]}],'value':_0x3d55c7,'onChange':_0x33fbc5}),_0x3d55c7===_0x6741ad[_0x43f294(0x225)][_0x43f294(0x331)]?(0x0,_0x38421a[_0x43f294(0x470)])(_0x6741ad[_0x43f294(0x148)],{'id':_0x57b703,'className':_0x43f294(0x295),'label':_0x229515['t']('sheets-chart-ui.common.setup'),'children':(0x0,_0x38421a[_0x43f294(0x470)])(_0x49a03b,{'defaultValues':_0x39eb37})}):(0x0,_0x38421a[_0x43f294(0x470)])(_0x6741ad['ChartEditPanel'],{'id':_0x5a40b6,'className':'-univer-mx-4\x20univer-overflow-visible','label':_0x229515['t'](_0x43f294(0x32a)),'children':(0x0,_0x38421a[_0x43f294(0x470)])(_0x73f068,{'defaultValues':_0x39eb37})})]});return(0x0,_0x38421a[_0x43f294(0x470)])(_0x6741ad[_0x43f294(0x3df)],{'chartUIService':_0x45abb1,'hostAdapter':_0x2636dd,'children':_0x443a63});}let _0x50dfc7=class extends _0x2b5065[_0x28722a(0x16a)]{constructor(_0x44250a){const _0x1d9940=_0x28722a;super(),this[_0x1d9940(0x2de)](_0x44250a['register'](_0x2d9dc3,_0x24b539));}};_0x50dfc7=_0x3215db([_0x5e0768(0x0,(0x0,_0x2b5065[_0x28722a(0x37b)])(_0x4585f0[_0x28722a(0x197)]))],_0x50dfc7);let _0x44735f=class extends _0x2b5065[_0x28722a(0x16a)]{constructor(_0x1d68d0,_0x198331,_0x86aac0,_0x4535be,_0x5f04a9,_0x8af6e3,_0x1973f2,_0x1f158d,_0x58e36f){const _0x18a615=_0x28722a;super(),this['_drawingManagerService']=_0x1d68d0,this[_0x18a615(0x386)]=_0x198331,this['_sidebarService']=_0x86aac0,this['_menuManagerService']=_0x4535be,this[_0x18a615(0x41e)]=_0x5f04a9,this[_0x18a615(0x439)]=_0x8af6e3,this[_0x18a615(0x12b)]=_0x1973f2,this['_contextService']=_0x1f158d,this[_0x18a615(0x34e)]=_0x58e36f,_0x5a923f(this,'_sidebarDisposable',null),_0x5a923f(this,'_panelInitialized',!0x1),this[_0x18a615(0x2bb)]();}[_0x28722a(0x4a1)](){this['hidePanel'](),super['dispose']();}['initPanel'](){const _0x46a0e8=_0x28722a;this[_0x46a0e8(0x2b3)]||(this[_0x46a0e8(0x2b3)]=!0x0,this[_0x46a0e8(0x2de)](this['_commandService'][_0x46a0e8(0x2a9)](_0x1303d2=>{const _0x3fb23e=_0x46a0e8;if(_0x1303d2['id']!==_0x22a72a['id'])return;let _0x1b2df8=_0x1303d2[_0x3fb23e(0x356)];this[_0x3fb23e(0x15f)](_0x1b2df8['drawingId'],_0x1b2df8[_0x3fb23e(0x419)]);})));}[_0x28722a(0x15f)](_0x5587e4,_0x318e01){const _0x2a461f=_0x28722a;let _0x571da9=this[_0x2a461f(0x386)][_0x2a461f(0x4bd)](_0x5587e4);_0x571da9&&(this['_chartModelService']['setActiveChartModel'](_0x571da9),this[_0x2a461f(0x326)](),this[_0x2a461f(0x12b)][_0x2a461f(0x368)](!0x0),this[_0x2a461f(0x12b)][_0x2a461f(0x452)](_0x5587e4,_0x318e01??null));}[_0x28722a(0x112)](){const _0x43e8fc=_0x28722a;let _0x1af654=this[_0x43e8fc(0x464)];this['_sidebarDisposable']=null,this[_0x43e8fc(0x37f)](),_0x1af654==null||_0x1af654[_0x43e8fc(0x4a1)]();}[_0x28722a(0x2bb)](){const _0x514cd6=_0x28722a;this[_0x514cd6(0x313)][_0x514cd6(0x417)]({[_0x4585f0[_0x514cd6(0x471)]['MEDIA']]:{[_0x3be84b['id']]:{'order':0x4,'menuItemFactory':_0x12a73f}}}),this['_sheetCanvasPopManagerService'][_0x514cd6(0x4b2)](_0x2b5065[_0x514cd6(0x4c1)][_0x514cd6(0x31d)],(_0x337d66,_0x5ba0f0,_0x1f5f4b,_0x56ac08)=>[{'label':this['_localeService']['t'](_0x514cd6(0x20b)),'index':0x0,'commandId':_0x22a72a['id'],'commandParams':{'unitId':_0x337d66,'subUnitId':_0x5ba0f0,'drawingId':_0x1f5f4b},'disable':_0x56ac08!==_0x2b5065[_0x514cd6(0x4c1)][_0x514cd6(0x31d)]},{'label':this[_0x514cd6(0x34e)]['t']('sheets-chart-ui.common.deleteChart'),'index':0x1,'commandId':_0x1fbc4d[_0x514cd6(0x2e0)]['id'],'commandParams':{'unitId':_0x337d66,'drawings':[{'unitId':_0x337d66,'subUnitId':_0x5ba0f0,'drawingId':_0x1f5f4b,'drawingType':_0x56ac08}]},'disable':!0x1}],_0x514cd6(0x2ab));}['_openPanel'](){const _0x59e4d9=_0x28722a;this[_0x59e4d9(0x464)]=this[_0x59e4d9(0x4ae)][_0x59e4d9(0x195)]({'id':_0x2d9dc3,'header':{'title':this[_0x59e4d9(0x34e)]['t'](_0x59e4d9(0x20b))},'children':{'label':_0x2d9dc3},'onClose':()=>{const _0xd3780b=_0x59e4d9;this[_0xd3780b(0x464)]=null,this[_0xd3780b(0x37f)]();}});}[_0x28722a(0x37f)](){const _0x5929c9=_0x28722a;this[_0x5929c9(0x12b)][_0x5929c9(0x368)](!0x1),this[_0x5929c9(0x12b)][_0x5929c9(0x2bc)](),this[_0x5929c9(0x386)][_0x5929c9(0x151)]&&this[_0x5929c9(0x386)][_0x5929c9(0x42a)](null),this[_0x5929c9(0x25d)][_0x5929c9(0x2a7)](null),this[_0x5929c9(0x218)][_0x5929c9(0x402)](_0x2b5065['FOCUSING_COMMON_DRAWINGS'],!0x1);}};_0x44735f=_0x3215db([_0x5e0768(0x0,_0x1c7848['IDrawingManagerService']),_0x5e0768(0x1,(0x0,_0x2b5065[_0x28722a(0x37b)])(_0x27938e[_0x28722a(0x3cf)])),_0x5e0768(0x2,(0x0,_0x2b5065[_0x28722a(0x37b)])(_0x4585f0[_0x28722a(0x1bd)])),_0x5e0768(0x3,_0x4585f0['IMenuManagerService']),_0x5e0768(0x4,(0x0,_0x2b5065[_0x28722a(0x37b)])(_0x580364[_0x28722a(0x312)])),_0x5e0768(0x5,_0x2b5065[_0x28722a(0x408)]),_0x5e0768(0x6,_0x5808bd),_0x5e0768(0x7,_0x2b5065['IContextService']),_0x5e0768(0x8,(0x0,_0x2b5065['Inject'])(_0x2b5065['LocaleService']))],_0x44735f);let _0x2bb201=class extends _0x2b5065['Disposable']{constructor(_0x53082c,_0x266b23,_0x41aa1a,_0x8d819d,_0x577344){const _0x4bc640=_0x28722a;super(),this[_0x4bc640(0x293)]=_0x53082c,this[_0x4bc640(0x424)]=_0x266b23,this[_0x4bc640(0x10a)]=_0x41aa1a,this['_chartModelService']=_0x8d819d,this[_0x4bc640(0x19b)]=_0x577344,_0x5a923f(this,_0x4bc640(0x33f),void 0x0),this[_0x4bc640(0x47d)]();}get[_0x28722a(0x13b)](){const _0x2e0bd6=_0x28722a;return this['_sheetDrawingService'][_0x2e0bd6(0x105)]();}[_0x28722a(0x47d)](){const _0x5732fa=_0x28722a;this[_0x5732fa(0x2de)](this[_0x5732fa(0x424)][_0x5732fa(0x2d3)]({'id':_0x27938e['SHEETS_CHART_PLUGIN_NAME'],'onBeforeCopyFocusedObject':(_0x35baa1,_0x2acf59,_0x3c599d)=>{const _0x3b756e=_0x5732fa;this[_0x3b756e(0x33f)]=null;let _0x4f2f0e=this['_focusedDrawings']['filter'](_0x356874=>this[_0x3b756e(0x1c9)](_0x356874));return _0x4f2f0e[_0x3b756e(0x3e8)]!==0x0&&(this[_0x3b756e(0x33f)]={'unitId':_0x35baa1,'subUnitId':_0x2acf59,'copyType':_0x3c599d,'drawings':_0x4f2f0e},!0x0);},'onBeforeCopy':(_0x256aa6,_0x35ce3c,_0x1a9bcc,_0x4ca7a4)=>{const _0x35937e=_0x5732fa;this[_0x35937e(0x33f)]=null,this[_0x35937e(0x483)](_0x256aa6,_0x35ce3c,_0x1a9bcc,_0x4ca7a4);},'onPasteCells':(_0x5b2b13,_0x3ab9b2,_0x322069,_0x3fead7)=>{const _0x506c2b=_0x5732fa;if(!_0x3fead7[_0x506c2b(0x1c0)]||!_0x5b2b13||!this[_0x506c2b(0x33f)])return{'redos':[],'undos':[]};let {pasteType:_0x2d5588}=_0x3fead7;return _0x2d5588===_0x580364['PREDEFINED_HOOK_NAME'][_0x506c2b(0x38c)]?this[_0x506c2b(0x150)](_0x3ab9b2,this[_0x506c2b(0x33f)][_0x506c2b(0x47f)]===_0x580364['COPY_TYPE'][_0x506c2b(0x4aa)]):{'redos':[],'undos':[]};}}));}[_0x28722a(0x483)](_0x1c2682,_0x48ba9a,_0x1a45d0,_0x42a82e){const _0x23e00f=_0x28722a;let _0x70230b=this[_0x23e00f(0x293)][_0x23e00f(0x282)](_0x1c2682,_0x48ba9a);if(!_0x70230b)return;let _0x10168c=(0x0,_0x231dba['attachRangeWithCoord'])(_0x70230b,_0x1a45d0);if(!_0x10168c)return;let {startX:_0x1f067d,endX:_0x257a4b,startY:_0x9a49c9,endY:_0x3fef39}=_0x10168c,_0x197a47=this['_sheetDrawingService'][_0x23e00f(0x2b6)](_0x1c2682,_0x48ba9a),_0x20a8b9=[];for(let [_0x461ae3,_0x459783]of Object['entries'](_0x197a47)){if(!this[_0x23e00f(0x1c9)](_0x459783))continue;let {transform:_0x274436}=_0x459783;if(!_0x274436)continue;let {left:_0x2e9869=0x0,top:_0x56e72f=0x0,width:_0x2309e2=0x0,height:_0x14a512=0x0}=_0x274436;_0x1f067d<=_0x2e9869&&_0x257a4b>=_0x2e9869+_0x2309e2&&_0x9a49c9<=_0x56e72f&&_0x3fef39>=_0x56e72f+_0x14a512&&_0x20a8b9['push'](_0x459783);}_0x20a8b9[_0x23e00f(0x3e8)]>0x0&&(this[_0x23e00f(0x33f)]={'unitId':_0x1c2682,'subUnitId':_0x48ba9a,'copyType':_0x42a82e,'copyRange':_0x1a45d0,'drawings':_0x20a8b9});}[_0x28722a(0x1c9)](_0x5dd615){const _0x5b97f8=_0x28722a;return _0x5dd615[_0x5b97f8(0x1bb)]===_0x2b5065[_0x5b97f8(0x4c1)]['DRAWING_CHART']&&this[_0x5b97f8(0x19b)][_0x5b97f8(0x3fd)](_0x5dd615['unitId'],_0x5dd615['drawingId'])===_0x5dd615[_0x5b97f8(0x13c)];}[_0x28722a(0x150)](_0x27e2d2,_0x1e979f){const _0x2f00e7=_0x28722a;let {unitId:_0x567189,subUnitId:_0x30705f,range:_0x1c210f}=_0x27e2d2,_0x3a3826=this[_0x2f00e7(0x293)][_0x2f00e7(0x282)](_0x567189,_0x30705f);if(!_0x3a3826)return{'redos':[],'undos':[]};let _0x1a020b=(0x0,_0x231dba['discreteRangeToRange'])(_0x1c210f),{unitId:_0x183e3e,subUnitId:_0x50f4c5,copyRange:_0x3c790a,drawings:_0x482113}=this[_0x2f00e7(0x33f)],_0x332558=this[_0x2f00e7(0x293)][_0x2f00e7(0x282)](_0x183e3e,_0x50f4c5);if(!_0x332558)return{'redos':[],'undos':[]};let _0x1459fd=[],_0x55487e=[];for(let _0x13acdc of _0x482113){let {drawingId:_0x504493,transform:_0x3b284e,sheetTransform:_0x25994f}=_0x13acdc,_0x128585=this[_0x2f00e7(0x386)][_0x2f00e7(0x4bd)](_0x504493);if(!_0x128585||!_0x3b284e||!_0x25994f)continue;let _0xd7a1e3=this[_0x2f00e7(0x157)]({'transform':_0x3b284e,'sheetTransform':_0x25994f},{'skeleton':_0x332558,'range':_0x3c790a},{'skeleton':_0x3a3826,'range':_0x1a020b});if(_0x1e979f){let {redos:_0x21bed9,undos:_0x561436}=this[_0x2f00e7(0x3d5)]({'fromUnitId':_0x183e3e,'fromSubUnitId':_0x50f4c5,'toUnitId':_0x567189,'toSubUnitId':_0x30705f,'drawing':_0x13acdc,'newTransforms':_0xd7a1e3},_0x128585);_0x1459fd[_0x2f00e7(0x25c)](..._0x21bed9),_0x55487e[_0x2f00e7(0x25c)](..._0x561436);continue;}let {redos:_0x5e9535,undos:_0x383f74}=this['_generateCopyPasteMutations']({'toUnitId':_0x567189,'toSubUnitId':_0x30705f,'drawing':_0x13acdc,'newTransforms':_0xd7a1e3},_0x128585);_0x1459fd[_0x2f00e7(0x25c)](..._0x5e9535),_0x55487e['push'](..._0x383f74);}return{'redos':_0x1459fd,'undos':_0x55487e};}[_0x28722a(0x3d5)](_0x5f25e4,_0xba67b5){const _0x4f0195=_0x28722a;let {fromUnitId:_0xcebba7,fromSubUnitId:_0x58a069,toUnitId:_0x5ef4f2,toSubUnitId:_0x47532d,drawing:_0x380ab8,newTransforms:_0x4cf406}=_0x5f25e4,_0x34c8f7={..._0x380ab8,'unitId':_0x5ef4f2,'subUnitId':_0x47532d,'transform':_0x4cf406[_0x4f0195(0x33a)],'sheetTransform':_0x4cf406[_0x4f0195(0x463)]};if(_0x5ef4f2===_0xcebba7&&_0x47532d===_0x58a069){let {redo:_0x5862fa,undo:_0x45b3e2,objects:_0x2320cd}=this['_sheetDrawingService']['getBatchUpdateOp']([_0x34c8f7]);return{'redos':[{'id':_0x1fbc4d[_0x4f0195(0x363)]['id'],'params':{'unitId':_0x5ef4f2,'subUnitId':_0x47532d,'type':_0x1fbc4d['DrawingApplyType'][_0x4f0195(0x2c5)],'op':_0x5862fa,'objects':_0x2320cd}}],'undos':[{'id':_0x1fbc4d[_0x4f0195(0x363)]['id'],'params':{'unitId':_0x5ef4f2,'subUnitId':_0x47532d,'type':_0x1fbc4d['DrawingApplyType'][_0x4f0195(0x2c5)],'op':_0x45b3e2,'objects':_0x2320cd}}]};}{let _0x59c923=this[_0x4f0195(0x10a)][_0x4f0195(0x11e)]([_0x380ab8]),_0x492a3f=this[_0x4f0195(0x10a)]['getBatchAddOp']([_0x34c8f7]),_0xfd3acf=this['_sheetsChartService'][_0x4f0195(0x2a2)](_0xba67b5['id']);if(!_0xfd3acf)return{'redos':[],'undos':[]};let {chartType:_0x3f9975,context:_0x157c55,style:_0x38e26b,dataAggregation:_0xdc924d}=_0xba67b5[_0x4f0195(0x2ad)]();return{'redos':[{'id':_0x1fbc4d[_0x4f0195(0x363)]['id'],'params':{'unitId':_0xcebba7,'subUnitId':_0x58a069,'type':_0x1fbc4d[_0x4f0195(0x333)][_0x4f0195(0x36a)],'op':_0x59c923[_0x4f0195(0x3eb)],'objects':_0x59c923[_0x4f0195(0x193)]}},{'id':_0x27938e[_0x4f0195(0x3c3)]['id'],'params':{'unitId':_0xcebba7,'subUnitId':_0x58a069,'chartId':_0x380ab8[_0x4f0195(0x412)]}},{'id':_0x1fbc4d[_0x4f0195(0x363)]['id'],'params':{'unitId':_0x5ef4f2,'subUnitId':_0x47532d,'type':_0x1fbc4d[_0x4f0195(0x333)][_0x4f0195(0x32c)],'op':_0x492a3f[_0x4f0195(0x3eb)],'objects':_0x492a3f[_0x4f0195(0x193)]}},{'id':_0x27938e['InsertSheetsChartMutation']['id'],'params':{'unitId':_0x5ef4f2,'subUnitId':_0x47532d,'chartId':_0x380ab8[_0x4f0195(0x412)],'chartType':_0x3f9975,...(0x0,_0x27938e[_0x4f0195(0x2e8)])(_0xfd3acf),'context':_0x157c55,'style':_0x38e26b,'dataAggregation':_0xdc924d}}],'undos':[{'id':_0x1fbc4d[_0x4f0195(0x363)]['id'],'params':{'unitId':_0xcebba7,'subUnitId':_0x58a069,'type':_0x1fbc4d[_0x4f0195(0x333)][_0x4f0195(0x32c)],'op':_0x59c923[_0x4f0195(0x164)],'objects':_0x59c923[_0x4f0195(0x193)]}},{'id':_0x27938e[_0x4f0195(0x432)]['id'],'params':{'unitId':_0xcebba7,'subUnitId':_0x58a069,'chartId':_0x380ab8[_0x4f0195(0x412)],'chartType':_0x3f9975,...(0x0,_0x27938e[_0x4f0195(0x2e8)])(_0xfd3acf),'context':_0x157c55,'style':_0x38e26b,'dataAggregation':_0xdc924d}},{'id':_0x1fbc4d[_0x4f0195(0x363)]['id'],'params':{'unitId':_0x5ef4f2,'subUnitId':_0x47532d,'type':_0x1fbc4d['DrawingApplyType'][_0x4f0195(0x36a)],'op':_0x492a3f[_0x4f0195(0x164)],'objects':_0x492a3f[_0x4f0195(0x193)]}},{'id':_0x27938e['RemoveSheetsChartMutation']['id'],'params':{'unitId':_0x5ef4f2,'subUnitId':_0x47532d,'chartId':_0x380ab8['drawingId']}}]};}}[_0x28722a(0x343)](_0x1bc2e5,_0x10f420){const _0x3b4f3d=_0x28722a;let {toUnitId:_0x6f5b3e,toSubUnitId:_0x2dae1c,drawing:_0x1e0866,newTransforms:_0x2597bc}=_0x1bc2e5,_0x599343=(0x0,_0x2b5065[_0x3b4f3d(0x12c)])(),_0x2d53c0={..._0x1e0866,'unitId':_0x6f5b3e,'subUnitId':_0x2dae1c,'drawingId':_0x599343,'transform':_0x2597bc[_0x3b4f3d(0x33a)],'sheetTransform':_0x2597bc[_0x3b4f3d(0x463)]},{redo:_0x308d94,undo:_0x278d32,objects:_0x3c4f9c}=this[_0x3b4f3d(0x10a)][_0x3b4f3d(0x4a7)]([_0x2d53c0]),_0x271985=this[_0x3b4f3d(0x19b)][_0x3b4f3d(0x2a2)](_0x10f420['id']);if(!_0x271985)return{'redos':[],'undos':[]};let {chartType:_0x4c635a,context:_0xff7fdd,style:_0x1b03fa,dataAggregation:_0x30dc0f}=_0x10f420['serialize']();return{'redos':[{'id':_0x1fbc4d[_0x3b4f3d(0x363)]['id'],'params':{'unitId':_0x6f5b3e,'subUnitId':_0x2dae1c,'type':_0x1fbc4d[_0x3b4f3d(0x333)][_0x3b4f3d(0x32c)],'op':_0x308d94,'objects':_0x3c4f9c}},{'id':_0x27938e[_0x3b4f3d(0x432)]['id'],'params':{'unitId':_0x6f5b3e,'subUnitId':_0x2dae1c,'chartId':_0x599343,'chartType':_0x4c635a,...(0x0,_0x27938e[_0x3b4f3d(0x2e8)])(_0x271985),'context':_0xff7fdd,'style':_0x1b03fa,'dataAggregation':_0x30dc0f}}],'undos':[{'id':_0x1fbc4d['SetDrawingApplyMutation']['id'],'params':{'unitId':_0x6f5b3e,'subUnitId':_0x2dae1c,'type':_0x1fbc4d['DrawingApplyType'][_0x3b4f3d(0x36a)],'op':_0x278d32,'objects':_0x3c4f9c}},{'id':_0x27938e[_0x3b4f3d(0x3c3)]['id'],'params':{'unitId':_0x6f5b3e,'subUnitId':_0x2dae1c,'chartId':_0x599343}}]};}['_updateTransform'](_0xa4cebb,_0x8197ff,_0x4b768){const _0x4adfed=_0x28722a;let {range:_0x277d13,skeleton:_0x1145c2}=_0x8197ff,{range:_0x1d3cbe,skeleton:_0xd56ff8}=_0x4b768,{transform:_0x2ea57b,sheetTransform:_0x3f5d2d}=_0xa4cebb,_0x1d8eda={..._0x2ea57b};if(_0x277d13){let _0x461927=(0x0,_0x231dba[_0x4adfed(0x21d)])(_0x1145c2,_0x277d13),_0x3fdc5a=(0x0,_0x231dba[_0x4adfed(0x21d)])(_0xd56ff8,_0x1d3cbe);if(_0x461927&&_0x3fdc5a){let _0x340b5c=_0x3fdc5a['startX']-_0x461927[_0x4adfed(0x1e0)],_0x3b0fd7=_0x3fdc5a[_0x4adfed(0x304)]-_0x461927[_0x4adfed(0x304)];_0x1d8eda[_0x4adfed(0x4c9)]=(_0x1d8eda[_0x4adfed(0x4c9)]??0x0)+_0x340b5c,_0x1d8eda[_0x4adfed(0x32d)]=(_0x1d8eda[_0x4adfed(0x32d)]??0x0)+_0x3b0fd7;}}else{let _0x2b7bd5=(0x0,_0x231dba[_0x4adfed(0x21d)])(_0xd56ff8,_0x1d3cbe);_0x1d8eda['left']=_0x2b7bd5==null?void 0x0:_0x2b7bd5[_0x4adfed(0x1e0)],_0x1d8eda['top']=_0x2b7bd5==null?void 0x0:_0x2b7bd5[_0x4adfed(0x304)];}return{'transform':_0x1d8eda,'sheetTransform':(0x0,_0x1fbc4d[_0x4adfed(0x33b)])(_0x1d8eda,_0xd56ff8)??_0x3f5d2d};}};_0x2bb201=_0x3215db([_0x5e0768(0x0,(0x0,_0x2b5065[_0x28722a(0x37b)])(_0x231dba[_0x28722a(0x230)])),_0x5e0768(0x1,(0x0,_0x2b5065[_0x28722a(0x37b)])(_0x580364[_0x28722a(0x2d5)])),_0x5e0768(0x2,(0x0,_0x2b5065[_0x28722a(0x37b)])(_0x1fbc4d[_0x28722a(0x1db)])),_0x5e0768(0x3,(0x0,_0x2b5065[_0x28722a(0x37b)])(_0x27938e[_0x28722a(0x3cf)])),_0x5e0768(0x4,(0x0,_0x2b5065[_0x28722a(0x37b)])(_0x27938e[_0x28722a(0x2d6)]))],_0x2bb201);let _0x27a401=class extends _0x2b5065['Disposable']{constructor(_0x4fd387,_0x5063b4,_0x30ac9e,_0x213e43){const _0x5c12de=_0x28722a;super(),this[_0x5c12de(0x439)]=_0x4fd387,this[_0x5c12de(0x34e)]=_0x5063b4,this['_sheetPermissionCheckController']=_0x30ac9e,this['_sheetsChartService']=_0x213e43,this[_0x5c12de(0x2b0)]();}[_0x28722a(0x2b0)](){const _0x4652b0=_0x28722a;this[_0x4652b0(0x2de)](this['_commandService']['beforeCommandExecuted'](_0x33db62=>{const _0x3049a2=_0x4652b0;let _0x472e73,_0x4207e9;if(_0x33db62['id']===_0x27938e[_0x3049a2(0x423)]['id']){let _0x19d269=_0x33db62['params'];_0x472e73=_0x19d269['unitId'],_0x4207e9=_0x19d269[_0x3049a2(0x13c)];}else{if(_0x33db62['id']===_0x27938e['ChartUpdateConfigCommand']['id']||_0x33db62['id']===_0x27938e[_0x3049a2(0x229)]['id']){let _0x132077=_0x33db62[_0x3049a2(0x356)];_0x472e73=_0x132077[_0x3049a2(0x462)],_0x4207e9=this[_0x3049a2(0x19b)][_0x3049a2(0x3fd)](_0x132077[_0x3049a2(0x462)],_0x132077[_0x3049a2(0x1f4)]);}}_0x472e73&&_0x4207e9&&(this['_sheetPermissionCheckController'][_0x3049a2(0x106)]({'workbookTypes':[_0x231dba[_0x3049a2(0x3a7)]],'worksheetTypes':[_0x231dba[_0x3049a2(0x129)]]},_0x472e73,_0x4207e9)||this[_0x3049a2(0x11f)][_0x3049a2(0x20d)](this[_0x3049a2(0x34e)]['t'](_0x3049a2(0x41d))));}));}};_0x27a401=_0x3215db([_0x5e0768(0x0,(0x0,_0x2b5065[_0x28722a(0x37b)])(_0x2b5065[_0x28722a(0x408)])),_0x5e0768(0x1,(0x0,_0x2b5065[_0x28722a(0x37b)])(_0x2b5065[_0x28722a(0x11a)])),_0x5e0768(0x2,(0x0,_0x2b5065[_0x28722a(0x37b)])(_0x231dba[_0x28722a(0x107)])),_0x5e0768(0x3,(0x0,_0x2b5065[_0x28722a(0x37b)])(_0x27938e['SheetsChartService']))],_0x27a401);let _0x101af9=class extends _0x2b5065[_0x28722a(0x16a)]{constructor(_0xe15ce1,_0x161828){const _0x3a7fdb=_0x28722a;super(),this['_renderService']=_0x161828,this[_0x3a7fdb(0x2de)](_0xe15ce1['register'](this));}[_0x28722a(0x2e2)](_0x3cf798){const _0x18b020=_0x28722a;return _0x18b020(0x462)in _0x3cf798&&_0x18b020(0x13c)in _0x3cf798;}[_0x28722a(0x43a)](_0xf7893d,_0x51ddd5){const _0x3da83d=_0x28722a;return this[_0x3da83d(0x1ac)][_0x3da83d(0x43a)](_0xf7893d[_0x3da83d(0x1b0)](),_0x51ddd5);}};_0x101af9=_0x3215db([_0x5e0768(0x0,(0x0,_0x2b5065[_0x28722a(0x37b)])(_0x6741ad[_0x28722a(0x175)])),_0x5e0768(0x1,(0x0,_0x2b5065['Inject'])(_0xf20d9))],_0x101af9);let _0x530575=class extends _0x2b5065[_0x28722a(0x285)]{constructor(_0x56abe2=_0x11abf0,_0x1222a4,_0x5f3db2,_0x5b3906){const _0x365781=_0x28722a;super(),this['_config']=_0x56abe2,this[_0x365781(0x18c)]=_0x1222a4,this[_0x365781(0x215)]=_0x5f3db2,this[_0x365781(0x439)]=_0x5b3906;let {..._0x410ebe}=(0x0,_0x2b5065[_0x365781(0x263)])({},_0x11abf0,this[_0x365781(0x44b)]);this[_0x365781(0x215)][_0x365781(0x1fd)](_0x4e285b,_0x410ebe),this[_0x365781(0x308)]();}[_0x28722a(0x2c2)](){const _0x1cd46a=_0x28722a;let _0x23cd31=[[_0x50dfc7],[_0x5808bd,{'useClass':_0x134b62}],[_0x4d63c2,{'useClass':_0x106489}],[_0xcb489d],[_0xf20d9],[_0x101af9],[_0x44735f],[_0x36f43e],[_0x501225],[_0x2bb201],[_0x3fbcb4],[_0x27a401]],_0x1d240f=[[_0x50dfc7],[_0x44735f],[_0x501225],[_0x36f43e],[_0x101af9],[_0x5808bd],[_0x2bb201],[_0x3fbcb4],[_0x27a401]];_0x23cd31[_0x1cd46a(0x40e)](_0x2412f3=>this[_0x1cd46a(0x18c)]['add'](_0x2412f3)),(0x0,_0x2b5065[_0x1cd46a(0x284)])(this['_injector'],_0x1d240f);}[_0x28722a(0x250)](){const _0x594af2=_0x28722a;var _0x641631;(_0x641631=this['_injector'][_0x594af2(0x404)](_0x44735f))==null||_0x641631[_0x594af2(0x249)]();}[_0x28722a(0x308)](){const _0x3b5ea9=_0x28722a;[_0x3be84b,_0x22a72a]['forEach'](_0x23cc18=>this[_0x3b5ea9(0x2de)](this[_0x3b5ea9(0x439)][_0x3b5ea9(0x19e)](_0x23cc18)));}};_0x5a923f(_0x530575,_0x28722a(0x446),_0x2b5065[_0x28722a(0x1c6)][_0x28722a(0x108)]),_0x5a923f(_0x530575,_0x28722a(0x48a),_0x28722a(0x297)),_0x5a923f(_0x530575,_0x28722a(0x36e),_0x2305e8),_0x5a923f(_0x530575,'version',_0x5ca769),_0x530575=_0x3215db([(0x0,_0x2b5065[_0x28722a(0x322)])(_0xb5b92e[_0x28722a(0x1ef)],_0x1c7848['UniverDrawingPlugin'],_0x5f0e57[_0x28722a(0x344)],_0x231dba[_0x28722a(0x1a8)],_0x1fbc4d['UniverSheetsDrawingPlugin'],_0x6741ad[_0x28722a(0x41a)],_0x27938e[_0x28722a(0x288)],_0x45c19d[_0x28722a(0x206)],_0x580364[_0x28722a(0x396)],_0x4585f0[_0x28722a(0x240)]),_0x5e0768(0x1,(0x0,_0x2b5065['Inject'])(_0x2b5065[_0x28722a(0x4ba)])),_0x5e0768(0x2,_0x2b5065['IConfigService']),_0x5e0768(0x3,_0x2b5065[_0x28722a(0x408)])],_0x530575);let _0xd91bb6={'scaleX':0x1,'scaleY':0x1};function _0x3e3541(_0x7921df){const _0x661c03=_0x28722a;let _0x5510e1=_0x7921df[_0x661c03(0x219)];return _0x5510e1 instanceof MouseEvent?_0x5510e1:void 0x0;}function _0x55ee43(_0x902641){const _0x2ce37d=_0x28722a;let _0xe6ef34=_0x902641[_0x2ce37d(0x219)],_0x49657a=_0xe6ef34==null?void 0x0:_0xe6ef34[_0x2ce37d(0x2a4)];return _0x49657a instanceof Element?_0x49657a:void 0x0;}function _0x173fe6(_0x572ed7){const _0x253138=_0x28722a;var _0x454c4b;return(_0x454c4b=_0x55ee43(_0x572ed7))==null?void 0x0:_0x454c4b[_0x253138(0x241)]();}function _0x2bbee2(_0x3f2fbf){const _0xb8bbfa=_0x28722a;return _0x3f2fbf[_0xb8bbfa(0x335)]||_0x3f2fbf[_0xb8bbfa(0x1df)]-_0x3f2fbf[_0xb8bbfa(0x4c9)];}function _0x2c3548(_0x1e7d47){const _0x396723=_0x28722a;return _0x1e7d47[_0x396723(0x375)]||_0x1e7d47[_0x396723(0x367)]-_0x1e7d47[_0x396723(0x32d)];}function _0xf3bf5d(_0x238f32,_0xf1e9d8){const _0x4065cf=_0x28722a;let _0x5f4a56=_0x238f32[_0x4065cf(0xff)]||(_0x238f32 instanceof HTMLElement?_0x238f32[_0x4065cf(0x2b5)]:0x0),_0x108d2b=_0x238f32[_0x4065cf(0x254)]||(_0x238f32 instanceof HTMLElement?_0x238f32['offsetHeight']:0x0),_0x167276=_0x2bbee2(_0xf1e9d8),_0x32535d=_0x2c3548(_0xf1e9d8);return{'scaleX':_0x5f4a56>0x0&&_0x167276>0x0?_0x167276/_0x5f4a56:_0xd91bb6[_0x4065cf(0x1e4)],'scaleY':_0x108d2b>0x0&&_0x32535d>0x0?_0x32535d/_0x108d2b:_0xd91bb6[_0x4065cf(0x2e6)]};}function _0x47c190(_0x3b650b,_0x4109ae,_0x4fc89a){const _0x38ffb6=_0x28722a;return{'left':_0x3b650b[_0x38ffb6(0x4c9)]+_0x4109ae[_0x38ffb6(0x4c9)]*_0x4fc89a['scaleX'],'right':_0x3b650b[_0x38ffb6(0x4c9)]+_0x4109ae[_0x38ffb6(0x1df)]*_0x4fc89a[_0x38ffb6(0x1e4)],'top':_0x3b650b[_0x38ffb6(0x32d)]+_0x4109ae[_0x38ffb6(0x32d)]*_0x4fc89a[_0x38ffb6(0x2e6)],'bottom':_0x3b650b[_0x38ffb6(0x32d)]+_0x4109ae['bottom']*_0x4fc89a['scaleY']};}function _0x2b5fa0(_0x455f55){const _0x16f541=_0x28722a;let _0x4350ad=_0x55ee43(_0x455f55),_0x5a64b9=_0x455f55[_0x16f541(0x2fd)]['bounds'];return _0x4350ad&&_0x5a64b9?()=>{const _0xc4598d=_0x16f541;let _0x17a68e=_0x4350ad[_0xc4598d(0x241)]();return _0x47c190(_0x17a68e,_0x5a64b9,_0xf3bf5d(_0x4350ad,_0x17a68e));}:()=>{const _0x3f5d2e=_0x16f541;let _0x53fce2=_0x173fe6(_0x455f55);if(_0x53fce2&&_0x5a64b9)return _0x47c190(_0x53fce2,_0x5a64b9,_0x4350ad?_0xf3bf5d(_0x4350ad,_0x53fce2):_0xd91bb6);let _0x563273=_0x3e3541(_0x455f55),_0x142e27=_0x4350ad&&_0x53fce2?_0xf3bf5d(_0x4350ad,_0x53fce2):_0xd91bb6,_0x411cf6=(_0x563273==null?void 0x0:_0x563273[_0x3f5d2e(0x3ff)])??(_0x53fce2?_0x53fce2[_0x3f5d2e(0x4c9)]+_0x455f55[_0x3f5d2e(0x498)]['x']*_0x142e27['scaleX']:_0x455f55[_0x3f5d2e(0x498)]['x']),_0x49cbf5=(_0x563273==null?void 0x0:_0x563273[_0x3f5d2e(0x329)])??(_0x53fce2?_0x53fce2[_0x3f5d2e(0x32d)]+_0x455f55[_0x3f5d2e(0x498)]['y']*_0x142e27[_0x3f5d2e(0x2e6)]:_0x455f55[_0x3f5d2e(0x498)]['y']);return{'left':_0x411cf6,'right':_0x411cf6+0x1,'top':_0x49cbf5,'bottom':_0x49cbf5+0x1};};}function _0x21071a(_0x344fc0){const _0x4468f4=_0x28722a;return typeof _0x344fc0==_0x4468f4(0x2d0)&&Number[_0x4468f4(0x3db)](_0x344fc0);}function _0x39dbcb(_0x57db79){if(!_0x57db79||typeof _0x57db79!='object')return!0x0;let {startX:_0x2bc3f4,endX:_0x134d02,startY:_0x1cc1fc,endY:_0x434c2c}=_0x57db79;return!_0x21071a(_0x2bc3f4)||!_0x21071a(_0x134d02)||!_0x21071a(_0x1cc1fc)||!_0x21071a(_0x434c2c)||_0x134d02-_0x2bc3f4>0x2&&_0x434c2c-_0x1cc1fc>0x2;}function _0x59c8cb(_0x5ddb5c){const _0x5740e3=_0x28722a;return _0x5ddb5c[_0x5740e3(0x1df)]<=_0x5ddb5c[_0x5740e3(0x4c9)]||_0x5ddb5c[_0x5740e3(0x367)]<=_0x5ddb5c[_0x5740e3(0x32d)]?!0x1:typeof window>'u'||_0x5ddb5c[_0x5740e3(0x1df)]>0x0&&_0x5ddb5c[_0x5740e3(0x367)]>0x0&&_0x5ddb5c[_0x5740e3(0x4c9)]<window[_0x5740e3(0x233)]&&_0x5ddb5c['top']<window[_0x5740e3(0x351)];}function _0x2d8214(_0x1c90e7){const _0x154721=_0x28722a;var _0x39744d;return _0x1c90e7==null||(_0x39744d=_0x1c90e7[_0x154721(0x3cd)])==null?void 0x0:_0x39744d[_0x154721(0x3e9)](_0x1c90e7);}function _0xa23e32(_0x58b683,_0x14a6f0,_0x7ca07e){const _0x5b8918=_0x28722a;let _0x65a616=_0x2b5fa0(_0x58b683),_0x1d83ee=_0x2d8214(_0x14a6f0),_0x23daf8=_0x65a616(),_0x3e70b8=new _0xb5e9d7[(_0x5b8918(0x1c8))](_0x23daf8),_0x231114=new _0x2b5065[(_0x5b8918(0x10f))](),_0xd3a05a=!0x1,_0x370f32=!0x1,_0x23df74=_0x36a3c1=>_0x39dbcb(_0x1d83ee)&&_0x59c8cb(_0x36a3c1),_0x131f90=()=>{_0x370f32||_0xd3a05a||(_0x370f32=!0x0,queueMicrotask(()=>{const _0xb18b21=_0x8413;if(_0x370f32=!0x1,!_0xd3a05a){let _0x2ebd07=_0x65a616();if(!_0x23df74(_0x2ebd07)){_0x7ca07e();return;}_0x3e70b8[_0xb18b21(0x1ad)](_0x2ebd07);}}));};return _0x14a6f0&&_0x231114[_0x5b8918(0x43d)](_0x14a6f0['subscribe'](_0x5505a6=>{_0x1d83ee=_0x5505a6,_0x131f90();})),typeof window<'u'&&_0x231114['add']((0x0,_0xb5e9d7[_0x5b8918(0x263)])((0x0,_0xb5e9d7[_0x5b8918(0x2ce)])(window,_0x5b8918(0x310),{'capture':!0x0}),(0x0,_0xb5e9d7[_0x5b8918(0x2ce)])(window,_0x5b8918(0x2cb)))[_0x5b8918(0x3ee)]((0x0,_0xb5e9d7[_0x5b8918(0x18d)])(0x10))[_0x5b8918(0x47c)](_0x131f90)),{'initialRect':_0x23daf8,'anchorRect$':_0x3e70b8[_0x5b8918(0x25b)](),'visible':_0x23df74(_0x23daf8),'dispose':()=>{const _0x33b89a=_0x5b8918;_0xd3a05a=!0x0,_0x231114[_0x33b89a(0x4a1)](),_0x3e70b8[_0x33b89a(0x122)]();}};}let _0x503520=_0x28722a(0x4ad),_0x26d29c=class extends _0x2b5065[_0x28722a(0x16a)]{constructor(_0x548f5a,_0x5318b5,_0x3aae8e,_0x51d268,_0xae35c,_0x500729,_0xe42f5b,_0x5a9f86,_0xd0dc71){const _0x1c6ad0=_0x28722a;super(),this[_0x1c6ad0(0x386)]=_0x548f5a,this[_0x1c6ad0(0x3fa)]=_0x5318b5,this[_0x1c6ad0(0x1da)]=_0x3aae8e,this[_0x1c6ad0(0x41e)]=_0x51d268,this[_0x1c6ad0(0xf0)]=_0xae35c,this[_0x1c6ad0(0x3dc)]=_0x500729,this[_0x1c6ad0(0x111)]=_0xe42f5b,this[_0x1c6ad0(0x439)]=_0x5a9f86,this[_0x1c6ad0(0x18c)]=_0xd0dc71,_0x5a923f(this,_0x1c6ad0(0x2b7),null),_0x5a923f(this,_0x1c6ad0(0x378),null),_0x5a923f(this,_0x1c6ad0(0x2e3),null),this[_0x1c6ad0(0x311)](),this[_0x1c6ad0(0x499)]();}['dispose'](){const _0x2f5a87=_0x28722a;this['_closePopup'](),super[_0x2f5a87(0x4a1)]();}[_0x28722a(0x311)](){const _0x28d663=_0x28722a;let _0x533c70=(0x0,_0x6741ad[_0x28d663(0x1eb)])({'chartUIService':this[_0x28d663(0x3dc)],'getHostAdapter':_0x279eb1=>{const _0x2717ab=_0x28d663;let _0x37511c=this[_0x2717ab(0x386)]['getChartModel'](_0x279eb1['chartId']);if(_0x37511c&&_0x279eb1[_0x2717ab(0x13c)])return new _0x6741ad[(_0x2717ab(0x3a8))](_0x37511c,new _0x27938e[(_0x2717ab(0x201))]({'unitId':_0x279eb1['unitId'],'subUnitId':_0x279eb1[_0x2717ab(0x13c)],'chartId':_0x279eb1['chartId'],'injector':this[_0x2717ab(0x18c)]}));},'close':()=>this[_0x28d663(0x4cb)](),'openFullPanel':_0x3acee6=>{const _0x57d48c=_0x28d663;let {unitId:_0x408a08,subUnitId:_0x1edb50,drawingId:_0x1fa943,chartId:_0x2dbe4d}=_0x3acee6,_0xf003f4=(0x0,_0x6741ad[_0x57d48c(0x3d1)])(_0x3acee6[_0x57d48c(0x2a4)]);this[_0x57d48c(0x439)][_0x57d48c(0x3cb)](_0x22a72a['id'],{'unitId':_0x408a08,'subUnitId':_0x1edb50??'','drawingId':_0x1fa943??_0x2dbe4d,..._0xf003f4?{'route':_0xf003f4}:{}});}});this['disposeWithMe'](this[_0x28d663(0x111)]['register'](_0x503520,_0x533c70));}[_0x28722a(0x499)](){const _0x208179=_0x28722a;this[_0x208179(0x2de)](this[_0x208179(0x386)][_0x208179(0x274)][_0x208179(0x47c)](_0x1287ff=>{const _0x3198af=_0x208179;let _0x4fe72c=new _0x2b5065[(_0x3198af(0x10f))]();_0x4fe72c[_0x3198af(0x43d)](this[_0x3198af(0x3fa)]['on'](_0x1287ff['id'],_0x3198af(0x1f2),_0xa82cbe=>{const _0x516d35=_0x3198af;this[_0x516d35(0x3a0)](_0x1287ff['id'],_0xa82cbe);})),_0x4fe72c[_0x3198af(0x43d)](this[_0x3198af(0x3fa)]['on'](_0x1287ff['id'],'dblclick',()=>{const _0xc6bd39=_0x3198af;this[_0xc6bd39(0x235)](_0x1287ff['id']);})),_0x1287ff[_0x3198af(0x428)](()=>{const _0x2daf81=_0x3198af;_0x4fe72c[_0x2daf81(0x4a1)](),this[_0x2daf81(0x421)](_0x1287ff['id']);}),this[_0x3198af(0x2de)](_0x4fe72c);})),this[_0x208179(0x2de)]((0x0,_0xb5e9d7[_0x208179(0x17b)])([this[_0x208179(0x386)][_0x208179(0x4c3)],this['_chartUIService'][_0x208179(0x1b7)]])[_0x208179(0x47c)](([_0x4e5d04,_0x589d6e])=>{const _0x1304e9=_0x208179;(!_0x589d6e||this[_0x1304e9(0x378)]&&(_0x4e5d04==null?void 0x0:_0x4e5d04['id'])!==this[_0x1304e9(0x378)])&&this[_0x1304e9(0x4cb)]();})),this[_0x208179(0x2de)](this[_0x208179(0xf0)][_0x208179(0x17c)][_0x208179(0x47c)](({id:_0x531be1})=>{const _0x559008=_0x208179;this[_0x559008(0x421)](_0x531be1);})),this['disposeWithMe'](this['_sheetCanvasFloatDomManagerService'][_0x208179(0x1a7)][_0x208179(0x47c)](({id:_0x3d3b03})=>{const _0xcd3ef0=_0x208179;this[_0xcd3ef0(0x421)](_0x3d3b03);})),this['disposeWithMe'](this[_0x208179(0x1da)]['removeHost$'][_0x208179(0x47c)](_0x2f5ba5=>{const _0x5e2732=_0x208179;this[_0x5e2732(0x421)](_0x2f5ba5);}));}[_0x28722a(0x235)](_0x5e0960){const _0x2921c5=_0x28722a;if(this[_0x2921c5(0x3dc)][_0x2921c5(0x1c2)])return;let _0xdc1674=this[_0x2921c5(0x386)][_0x2921c5(0x4bd)](_0x5e0960),_0x41e1db=this[_0x2921c5(0xf0)][_0x2921c5(0x3e2)](_0x5e0960);_0xdc1674&&_0x41e1db&&this[_0x2921c5(0x439)][_0x2921c5(0x3cb)](_0x22a72a['id'],{'unitId':_0x41e1db[_0x2921c5(0x462)],'subUnitId':_0x41e1db[_0x2921c5(0x13c)]??'','drawingId':_0x5e0960});}[_0x28722a(0x3a0)](_0x476d8d,_0x265e0d){const _0x39f4a7=_0x28722a;if(!this[_0x39f4a7(0x3dc)][_0x39f4a7(0x410)](_0x476d8d))return;let _0x1c8f0e=this[_0x39f4a7(0x386)][_0x39f4a7(0x4bd)](_0x476d8d),_0x2e3060=_0x1c8f0e?_0x5b121c(_0x1c8f0e,_0x265e0d[_0x39f4a7(0x2fd)]):void 0x0;if(!_0x2e3060){this[_0x39f4a7(0x3dc)][_0x39f4a7(0x2bc)](),this[_0x39f4a7(0x4cb)]();return;}let _0x5c702f=this['_sheetCanvasFloatDomManagerService'][_0x39f4a7(0x3e2)](_0x476d8d);if(!_0x1c8f0e||!_0x5c702f){this[_0x39f4a7(0x3dc)][_0x39f4a7(0x2bc)](),this[_0x39f4a7(0x4cb)]();return;}let _0x5b4769=JSON[_0x39f4a7(0x332)]([_0x5c702f[_0x39f4a7(0x462)],_0x5c702f[_0x39f4a7(0x13c)],_0x476d8d,_0x2e3060[_0x39f4a7(0x2a4)]]);if(this[_0x39f4a7(0x2b7)]&&this['_popupSessionKey']===_0x5b4769||(this[_0x39f4a7(0x3dc)][_0x39f4a7(0x452)](_0x476d8d,_0x2e3060[_0x39f4a7(0x419)]),this[_0x39f4a7(0x4cb)](),!_0x2e3060['showFloatMenu']))return;let _0x44a0d1=_0xa23e32(_0x265e0d,_0x5c702f['position$'],()=>this[_0x39f4a7(0x147)](_0x476d8d));if(!_0x44a0d1[_0x39f4a7(0x2f0)]){_0x44a0d1[_0x39f4a7(0x4a1)]();return;}let _0x2a343e=this[_0x39f4a7(0x41e)]['attachPopupToDynamicAbsolutePosition'](_0x44a0d1['initialRect'],_0x44a0d1[_0x39f4a7(0x4b8)],{'componentKey':_0x6741ad['CHART_ELEMENT_FLOAT_MENU_COMPONENT'],'constrainToCanvas':!0x0,'direction':'top-center','offset':[0x0,0x8],'extraProps':{'unitId':_0x5c702f[_0x39f4a7(0x462)],'subUnitId':_0x5c702f[_0x39f4a7(0x13c)],'chartId':_0x476d8d,'drawingId':_0x476d8d,'element':_0x265e0d[_0x39f4a7(0x2fd)],'target':_0x2e3060['target'],'adapterKey':_0x503520}},_0x5c702f[_0x39f4a7(0x462)],_0x5c702f[_0x39f4a7(0x13c)])??null;if(!_0x2a343e){_0x44a0d1[_0x39f4a7(0x4a1)]();return;}let _0x1d8474=new _0x2b5065[(_0x39f4a7(0x10f))]();_0x1d8474[_0x39f4a7(0x43d)](_0x2a343e),_0x1d8474[_0x39f4a7(0x43d)](_0x44a0d1),this['_popupDisposable']=_0x1d8474,this[_0x39f4a7(0x378)]=_0x476d8d,this[_0x39f4a7(0x2e3)]=_0x5b4769;}['_closePopup'](){const _0x422f29=_0x28722a;var _0x5dd46f;(_0x5dd46f=this[_0x422f29(0x2b7)])==null||_0x5dd46f[_0x422f29(0x4a1)](),this[_0x422f29(0x2b7)]=null,this[_0x422f29(0x378)]=null,this[_0x422f29(0x2e3)]=null;}[_0x28722a(0x421)](_0x3c82b8){const _0x133e9c=_0x28722a;(this[_0x133e9c(0x3dc)][_0x133e9c(0x410)](_0x3c82b8)||this[_0x133e9c(0x378)]===_0x3c82b8)&&(this[_0x133e9c(0x3dc)][_0x133e9c(0x2bc)](),this[_0x133e9c(0x378)]===_0x3c82b8&&this['_closePopup']());}[_0x28722a(0x147)](_0x2f4bed){const _0x4ad5b1=_0x28722a;this['_clearSelectedTarget'](_0x2f4bed),this[_0x4ad5b1(0x3dc)][_0x4ad5b1(0x410)](_0x2f4bed)&&(this['_chartRenderService']['setElementEditMode'](_0x2f4bed,!0x1),this['_chartRenderService'][_0x4ad5b1(0xf7)](_0x2f4bed,!0x0));}};_0x26d29c=_0x3215db([_0x5e0768(0x0,(0x0,_0x2b5065['Inject'])(_0x27938e['ChartModelService'])),_0x5e0768(0x1,(0x0,_0x2b5065[_0x28722a(0x37b)])(_0xf20d9)),_0x5e0768(0x2,_0x4d63c2),_0x5e0768(0x3,(0x0,_0x2b5065[_0x28722a(0x37b)])(_0x580364[_0x28722a(0x312)])),_0x5e0768(0x4,(0x0,_0x2b5065[_0x28722a(0x37b)])(_0x45c19d['SheetCanvasFloatDomManagerService'])),_0x5e0768(0x5,_0x5808bd),_0x5e0768(0x6,(0x0,_0x2b5065[_0x28722a(0x37b)])(_0x6741ad[_0x28722a(0x27a)])),_0x5e0768(0x7,_0x2b5065['ICommandService']),_0x5e0768(0x8,(0x0,_0x2b5065[_0x28722a(0x37b)])(_0x2b5065[_0x28722a(0x4ba)]))],_0x26d29c);function _0x5285ea({ref:_0x5dd078,..._0x17108f}){const _0x1cee43=_0x28722a;let {preserveStrokeWidth:_0x8b8e8,icon:_0xcb1bfe,id:_0x25c1d5,className:_0x542ea7,extend:_0x3921f7,..._0x4cf037}=_0x17108f,_0x3c750b=(_0x1cee43(0x2f5)+_0x25c1d5+'\x20'+(_0x542ea7||''))['trim'](),_0x54c5b8='_'+(0x0,_0x45f5c8[_0x1cee43(0x348)])(),_0x43d78c=(0x0,_0x45f5c8[_0x1cee43(0x1b1)])(null);return(0x0,_0x45f5c8[_0x1cee43(0x10c)])(_0x5dd078,()=>_0x43d78c[_0x1cee43(0x4ab)]),(0x0,_0x45f5c8[_0x1cee43(0x44e)])(()=>{const _0x230129=_0x1cee43;if(_0x8b8e8&&_0x43d78c[_0x230129(0x4ab)]&&_0x43d78c[_0x230129(0x4ab)][_0x230129(0x3e5)]===_0xcb1bfe[_0x230129(0x23d)])return _0x259455(_0x43d78c['current']);},[_0x8b8e8,_0xcb1bfe]),_0x3ec0e2(_0xcb1bfe,''+_0x25c1d5,{'defIds':_0xcb1bfe[_0x1cee43(0x183)],'idSuffix':_0x54c5b8},{'ref':_0x43d78c,'className':_0x3c750b,..._0x4cf037},_0x3921f7);}function _0x3ec0e2(_0x268639,_0xb0408b,_0xc7c97,_0x2cf273,_0x21a6cf){const _0x25f14d=_0x28722a;return(0x0,_0x45f5c8['createElement'])(_0x268639['tag'],{'key':_0xb0408b,..._0x32813e(_0x268639,_0xc7c97,_0x21a6cf),..._0x2cf273},(_0x2fa6a8(_0x268639,_0xc7c97)[_0x25f14d(0x252)]||[])['map']((_0xa2b490,_0x4d6349)=>_0x3ec0e2(_0xa2b490,_0xb0408b+'-'+_0x268639[_0x25f14d(0x23d)]+'-'+_0x4d6349,_0xc7c97,void 0x0,_0x21a6cf)));}function _0x32813e(_0xf9e2df,_0x239760,_0x2c49e7){const _0x433904=_0x28722a;let _0x4585b7={..._0xf9e2df['attrs']};_0x2c49e7!=null&&_0x2c49e7[_0x433904(0x160)]&&_0x4585b7[_0x433904(0x366)]===_0x433904(0x160)&&(_0x4585b7[_0x433904(0x366)]=_0x2c49e7[_0x433904(0x160)]),_0x2c49e7!=null&&_0x2c49e7[_0x433904(0x160)]&&_0x4585b7['stroke']===_0x433904(0x160)&&(_0x4585b7['stroke']=_0x2c49e7[_0x433904(0x160)]),_0xf9e2df[_0x433904(0x23d)]===_0x433904(0xf2)&&_0x4585b7['id']&&(_0x4585b7['id']+=_0x239760[_0x433904(0x338)]),Object[_0x433904(0x3b1)](_0x4585b7)[_0x433904(0x40e)](([_0x110c57,_0x4b69ce])=>{const _0x730c6d=_0x433904;_0x110c57===_0x730c6d(0xf2)&&typeof _0x4b69ce==_0x730c6d(0x383)&&(_0x4585b7[_0x110c57]=_0x4b69ce[_0x730c6d(0x30e)](/url\(#(.*)\)/,'url(#$1'+_0x239760[_0x730c6d(0x338)]+')'));});let {defIds:_0x130c3c}=_0x239760;return!_0x130c3c||_0x130c3c[_0x433904(0x3e8)]===0x0?_0x4585b7:(_0xf9e2df['tag']===_0x433904(0x3bc)&&_0x4585b7['xlink:href']&&(_0x4585b7[_0x433904(0x479)]+=_0x239760[_0x433904(0x338)]),Object[_0x433904(0x3b1)](_0x4585b7)[_0x433904(0x40e)](([_0x22e709,_0x12b459])=>{const _0xbd44a1=_0x433904;typeof _0x12b459=='string'&&(_0x4585b7[_0x22e709]=_0x12b459[_0xbd44a1(0x30e)](/url\(#(.*)\)/,_0xbd44a1(0xf4)+_0x239760['idSuffix']+')'));}),_0x4585b7);}function _0x2fa6a8(_0x56927c,_0xf3cc34){const _0x1be273=_0x28722a;var _0x333ad7;let {defIds:_0x281225}=_0xf3cc34;return!_0x281225||_0x281225['length']===0x0?_0x56927c:_0x56927c[_0x1be273(0x23d)]===_0x1be273(0x4ca)&&(_0x333ad7=_0x56927c[_0x1be273(0x252)])!=null&&_0x333ad7[_0x1be273(0x3e8)]?{..._0x56927c,'children':_0x56927c['children'][_0x1be273(0x200)](_0x2cff66=>typeof _0x2cff66[_0x1be273(0x472)]['id']==_0x1be273(0x383)&&_0x281225&&_0x281225[_0x1be273(0x32f)](_0x2cff66[_0x1be273(0x472)]['id'])?{..._0x2cff66,'attrs':{..._0x2cff66[_0x1be273(0x472)],'id':_0x2cff66[_0x1be273(0x472)]['id']+_0xf3cc34['idSuffix']}}:_0x2cff66)}:_0x56927c;}function _0x259455(_0x3b4a8c){const _0x21f970=_0x28722a;let _0x5a30d1=_0x3b4a8c[_0x21f970(0x211)]['baseVal'],_0x6e0928=Math[_0x21f970(0x342)](_0x5a30d1['width'],_0x5a30d1[_0x21f970(0x375)]);if(!Number[_0x21f970(0x3db)](_0x6e0928)||_0x6e0928<=0x0||_0x5a30d1[_0x21f970(0x335)]<=0x0||_0x5a30d1[_0x21f970(0x375)]<=0x0)return()=>void 0x0;let _0x468946=0x10/_0x6e0928,_0x38af44=Array[_0x21f970(0x1d8)](_0x3b4a8c[_0x21f970(0x137)](_0x21f970(0x1cc)))[_0x21f970(0x3d7)](_0x4f1813=>{const _0x281a1e=_0x21f970;let _0x2560c9=getComputedStyle(_0x4f1813),_0x387e12=Number[_0x281a1e(0x3af)](_0x2560c9[_0x281a1e(0x426)]);return _0x2560c9[_0x281a1e(0x11c)]==='none'||Number[_0x281a1e(0x3af)](_0x2560c9[_0x281a1e(0x394)])===0x0||_0x2560c9[_0x281a1e(0x1a1)]===_0x281a1e(0x119)||!Number[_0x281a1e(0x3db)](_0x387e12)||_0x387e12<=0x0?[]:[{'element':_0x4f1813,'hadStyleAttribute':_0x4f1813[_0x281a1e(0x1f6)](_0x281a1e(0x22c)),'originalStrokeWidth':_0x387e12,'strokeWidth':_0x3f4483(_0x4f1813[_0x281a1e(0x22c)],_0x281a1e(0x10b))}];})[_0x21f970(0x200)](_0x2b8dfe=>({'appliedStrokeWidth':null,'element':_0x2b8dfe[_0x21f970(0x2c8)],'hadStyleAttribute':_0x2b8dfe[_0x21f970(0x245)],'isReleased':!0x1,'originalStrokeWidth':_0x2b8dfe[_0x21f970(0x256)],'strokeWidth':_0x2b8dfe[_0x21f970(0x426)]}));if(_0x38af44[_0x21f970(0x3e8)]===0x0)return()=>void 0x0;let _0x253edc=(_0x216370,_0x34f200)=>{const _0x3e7012=_0x21f970;if(_0x5a30d1[_0x3e7012(0x335)]<=0x0||_0x5a30d1[_0x3e7012(0x375)]<=0x0||_0x216370<=0x0||_0x34f200<=0x0)return;let _0x133e3d=Math[_0x3e7012(0x3fe)](_0x216370/_0x5a30d1['width'],_0x34f200/_0x5a30d1['height']);!Number[_0x3e7012(0x3db)](_0x133e3d)||_0x133e3d<=0x0||_0x38af44[_0x3e7012(0x40e)](_0x2652d0=>{const _0x18f48b=_0x3e7012;if(_0x2652d0[_0x18f48b(0x3f9)])return;if(_0x2652d0['appliedStrokeWidth']!==null&&(_0x2652d0[_0x18f48b(0x2c8)][_0x18f48b(0x22c)][_0x18f48b(0x4cc)]('stroke-width')!==_0x2652d0['appliedStrokeWidth']||_0x2652d0[_0x18f48b(0x2c8)][_0x18f48b(0x22c)][_0x18f48b(0x23c)](_0x18f48b(0x10b))!==_0x2652d0[_0x18f48b(0x426)][_0x18f48b(0x191)])){_0x2652d0[_0x18f48b(0x323)]=null,_0x2652d0['isReleased']=!0x0;return;}let _0x486614=_0x2652d0['originalStrokeWidth']*_0x468946/_0x133e3d,_0x140e41=Number(_0x486614[_0x18f48b(0x208)](0xc))+'px';_0x2652d0[_0x18f48b(0x2c8)][_0x18f48b(0x22c)][_0x18f48b(0x319)](_0x18f48b(0x10b),_0x140e41,_0x2652d0[_0x18f48b(0x426)]['priority']),_0x2652d0['appliedStrokeWidth']=_0x140e41;});},_0x1cef02=_0x3b4a8c[_0x21f970(0x241)]();_0x253edc(_0x1cef02[_0x21f970(0x335)],_0x1cef02[_0x21f970(0x375)]);let _0x26bc59=typeof ResizeObserver>'u'?null:new ResizeObserver(_0x12d27c=>{const _0xe36e22=_0x21f970;if(_0x12d27c[_0xe36e22(0x3f8)](_0xb73943=>_0xb73943['target']===_0x3b4a8c)){let _0x817df=_0x3b4a8c[_0xe36e22(0x241)]();_0x253edc(_0x817df[_0xe36e22(0x335)],_0x817df[_0xe36e22(0x375)]);}});return _0x26bc59==null||_0x26bc59['observe'](_0x3b4a8c),()=>{const _0x33496b=_0x21f970;_0x26bc59==null||_0x26bc59['disconnect'](),_0x38af44[_0x33496b(0x40e)](_0x3ce211=>{const _0xddae92=_0x33496b;_0x3ce211[_0xddae92(0x323)]!==null&&(_0xd07f0(_0x3ce211[_0xddae92(0x2c8)][_0xddae92(0x22c)],_0xddae92(0x10b),_0x3ce211[_0xddae92(0x323)],_0x3ce211[_0xddae92(0x426)][_0xddae92(0x191)],_0x3ce211[_0xddae92(0x426)]),!_0x3ce211[_0xddae92(0x245)]&&_0x3ce211['element'][_0xddae92(0x22c)][_0xddae92(0x3e8)]===0x0&&_0x3ce211[_0xddae92(0x2c8)][_0xddae92(0x100)](_0xddae92(0x22c)));});};}function _0x3f4483(_0x564b12,_0x6fcec8){const _0x3b9447=_0x28722a;return{'priority':_0x564b12[_0x3b9447(0x23c)](_0x6fcec8),'value':_0x564b12[_0x3b9447(0x4cc)](_0x6fcec8)};}function _0xd07f0(_0x4ecc9c,_0x11f284,_0x4fe91a,_0x487476,_0x17c62f){const _0x160d54=_0x28722a;_0x4ecc9c[_0x160d54(0x4cc)](_0x11f284)===_0x4fe91a&&_0x4ecc9c['getPropertyPriority'](_0x11f284)===_0x487476&&(_0x17c62f['value']?_0x4ecc9c[_0x160d54(0x319)](_0x11f284,_0x17c62f[_0x160d54(0x130)],_0x17c62f[_0x160d54(0x191)]):_0x4ecc9c[_0x160d54(0x1cd)](_0x11f284));}_0x5285ea[_0x28722a(0x3ec)]=_0x28722a(0x44a);let _0x4e9976={'tag':_0x28722a(0x246),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x28722a(0x279),'viewBox':'0\x200\x2016\x2016','width':_0x28722a(0x260),'height':_0x28722a(0x260)},'children':[{'tag':_0x28722a(0x2eb),'attrs':{'fill':'currentColor','d':_0x28722a(0x2dc)}}]},_0x24d305=(0x0,_0x45f5c8[_0x28722a(0x458)])(function(_0x304cec,_0x595e37){const _0xb19837=_0x28722a;return(0x0,_0x45f5c8[_0xb19837(0x3b0)])(_0x5285ea,Object[_0xb19837(0x14c)]({},_0x304cec,{'id':_0xb19837(0x1e8),'ref':_0x595e37,'icon':_0x4e9976}));});_0x24d305[_0x28722a(0x3ec)]=_0x28722a(0x2dd);let _0x35d911=class extends _0x2b5065[_0x28722a(0x16a)]{constructor(_0x2bb0b2,_0x314706){const _0x4ac670=_0x28722a;super(),this[_0x4ac670(0x4b1)]=_0x2bb0b2,this[_0x4ac670(0x24e)]=_0x314706,this['_registerIcons'](),this[_0x4ac670(0x384)]();}[_0x28722a(0x234)](){const _0x3aed6c=_0x28722a;this[_0x3aed6c(0x2de)](this[_0x3aed6c(0x24e)][_0x3aed6c(0x1d3)]({'PenIcon':_0x24d305}));}[_0x28722a(0x384)](){const _0xea3359=_0x28722a;[[_0x2d9dc3,_0x283532]][_0xea3359(0x40e)](([_0x34c550,_0x44b0ea])=>{const _0x4f00ba=_0xea3359;this[_0x4f00ba(0x2de)](this[_0x4f00ba(0x4b1)][_0x4f00ba(0x1d3)](_0x34c550,_0x44b0ea));});}};_0x35d911=_0x3215db([_0x5e0768(0x0,(0x0,_0x2b5065[_0x28722a(0x37b)])(_0x4585f0[_0x28722a(0x197)])),_0x5e0768(0x1,(0x0,_0x2b5065[_0x28722a(0x37b)])(_0x4585f0['IconManager']))],_0x35d911);let _0x7d1de1=class extends _0x2b5065[_0x28722a(0x285)]{constructor(_0x577bf0=_0x11abf0,_0x2be26d,_0x780663,_0x434b38){const _0x3abd07=_0x28722a;super(),this['_config']=_0x577bf0,this[_0x3abd07(0x18c)]=_0x2be26d,this[_0x3abd07(0x215)]=_0x780663,this['_commandService']=_0x434b38,_0x5a923f(this,_0x3abd07(0x2a0),void 0x0);let {..._0x2e2663}=(0x0,_0x2b5065[_0x3abd07(0x263)])({},_0x11abf0,this[_0x3abd07(0x44b)]);this['_resolvedConfig']=_0x2e2663,this['_configService'][_0x3abd07(0x1fd)](_0x4e285b,_0x2e2663),this['_initCommands']();}['onStarting'](){const _0x46a592=_0x28722a;this[_0x46a592(0x18c)][_0x46a592(0x43d)]([_0x35d911]),this['_injector']['get'](_0x35d911);let _0x218927=this[_0x46a592(0x18c)],_0xd72d5c=[[_0x5808bd,{'useClass':_0x134b62}],[_0x4d63c2,{'useClass':_0x106489}],[_0xcb489d],[_0xf20d9],[_0x101af9],[_0x11d0ed],[_0x36f43e],[_0x501225],[_0x2bb201],[_0x3fbcb4],[_0x27a401]],_0x371c79=[[_0x11d0ed],[_0x501225],[_0x36f43e],[_0x101af9],[_0x5808bd],[_0x2bb201],[_0x3fbcb4],[_0x27a401]];this[_0x46a592(0x2a0)][_0x46a592(0x350)]&&(_0xd72d5c[_0x46a592(0x25c)]([_0x26d29c]),_0x371c79['push']([_0x26d29c])),_0xd72d5c[_0x46a592(0x40e)](_0x301f94=>_0x218927[_0x46a592(0x43d)](_0x301f94)),(0x0,_0x2b5065[_0x46a592(0x284)])(this['_injector'],_0x371c79);}[_0x28722a(0x250)](){const _0x9f60fa=_0x28722a;var _0x470ecc;(_0x470ecc=this['_injector'][_0x9f60fa(0x404)](_0x11d0ed))==null||_0x470ecc[_0x9f60fa(0x249)]();}[_0x28722a(0x308)](){const _0x1af84b=_0x28722a;[_0x3be84b,_0x32b2a3,_0x2fe892,_0x36a61c,_0x44b2a1,_0x22a72a,_0x271157][_0x1af84b(0x40e)](_0x344ec5=>this[_0x1af84b(0x2de)](this['_commandService']['registerCommand'](_0x344ec5)));}};_0x5a923f(_0x7d1de1,_0x28722a(0x446),_0x2b5065[_0x28722a(0x1c6)]['UNIVER_SHEET']),_0x5a923f(_0x7d1de1,'pluginName',_0x28722a(0x297)),_0x5a923f(_0x7d1de1,_0x28722a(0x36e),_0x2305e8),_0x5a923f(_0x7d1de1,_0x28722a(0x37e),_0x5ca769),_0x7d1de1=_0x3215db([(0x0,_0x2b5065[_0x28722a(0x322)])(_0xb5b92e[_0x28722a(0x1ef)],_0x1c7848[_0x28722a(0x35e)],_0x5f0e57[_0x28722a(0x344)],_0x231dba['UniverSheetsPlugin'],_0x1fbc4d[_0x28722a(0x2d1)],_0x6741ad[_0x28722a(0x4a6)],_0x27938e[_0x28722a(0x288)],_0x45c19d[_0x28722a(0x177)],_0x580364[_0x28722a(0x354)]),_0x5e0768(0x1,(0x0,_0x2b5065[_0x28722a(0x37b)])(_0x2b5065[_0x28722a(0x4ba)])),_0x5e0768(0x2,_0x2b5065['IConfigService']),_0x5e0768(0x3,_0x2b5065[_0x28722a(0x408)])],_0x7d1de1),_0x5a80bb[_0x28722a(0x41f)]=_0x22a72a,Object[_0x28722a(0x10e)](_0x5a80bb,_0x28722a(0x1bc),{'enumerable':!0x0,'get':function(){return _0xf20d9;}}),_0x5a80bb[_0x28722a(0x369)]=_0x5808bd,_0x5a80bb[_0x28722a(0x135)]=_0x4e285b,Object[_0x28722a(0x10e)](_0x5a80bb,_0x28722a(0x15d),{'enumerable':!0x0,'get':function(){return _0x11d0ed;}}),_0x5a80bb['SheetsChartUIMenuSchema']=_0x16cc3f,Object[_0x28722a(0x10e)](_0x5a80bb,_0x28722a(0x170),{'enumerable':!0x0,'get':function(){return _0x134b62;}}),Object[_0x28722a(0x10e)](_0x5a80bb,_0x28722a(0x172),{'enumerable':!0x0,'get':function(){return _0x530575;}}),Object[_0x28722a(0x10e)](_0x5a80bb,_0x28722a(0x297),{'enumerable':!0x0,'get':function(){return _0x7d1de1;}}),_0x5a80bb[_0x28722a(0x2c0)]=_0xa23e32;}));
1
+ function _0x595f(){const _0x1900d4=['RangeSelector','sheets-chart-ui.common.exportImage','ImageChartHost','1.0.3','isLatest','auto','@univerjs/drawing-ui','tag','_contextService','removeAttribute','requestPaint','sheets-chart-ui.section.indicatorLine','_adapterRegistry','sheet.command.chart.open-focused-panel','barStyle','sheets-chart-ui.config','_getSceneAndTransformerByDrawingSearch','DisposableCollection','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','checkMounted','RemoveSheetCommand','pen-icon','matchMedia','bounds','getContextValue','ICommandService','heatmap','clientWidth','Series','_chartEventHandlers','Legend','_deactivateEditPanelState','_debounceHandleMap','_sidebarService','UniverProChartUi','executeCommand','_lastActiveSheet','_activeDomReadyChartIds','DEFAULT_CHART_WORD_CLOUD_VALUES','_rangeSelectMode','commitSnapshot','NativeTextEditorShortcutBehavior','_clearPendingUrlImage','sheet.chart.edit.panel','useRef','ChartUpdateConfigMutation','markHostNotReady','parent','Reference','Subject','object','resolveChartCreationIntent','numberToABC','displayName','_waiter','6232JySCOK','DependentOn','getChartSourceSpec','Positive','symbol','setActiveChartModel','ObjectType','exports','PieSecondaryPlotType','dataSource$','sheet-chart-style-panel','clientHeight','deriveStateFromActiveSheet$','1000','0\x200\x2016\x2016','_getOrCreateSheetChartHost','ensureHandle','_getChartRenderObject','domId','_dataUpdateAnimationDuration','context','dispose','bottom','setRangeSelectMode','getDirection','_initMenus','evented','_menuManagerService','-univer-mx-4\x20univer-overflow-visible','offsetWidth','SheetsChartUIController','PREDEFINED_HOOK_NAME','renderChartsForPrinting','createChartElementFloatMenuAdapter','redo','type','delete','ChartRenderMode','objects','add$','SheetDrawingHitTestService','save','UniverInstanceType','isElementEditModeActive','getChartSnapshotImage','useLayoutEffect','getUnitId','_loadUrlImage','chartModelAdded$','sheets-chart-ui.common.switchRowColumn','ChartEditorTabs','toInsertChartMutationSource','_updateTransform','focus$','MenuItemType','route','isValidRange','Combination','non-scaling-stroke','_resolvedConfig','nextVersion','mergeMenu','url(#$1','Area','ChartUpdateConfigCommand','takeSnapshot','UniverRenderEnginePlugin','isDomReady','chartId','UniverSheetsFormulaUi','UniverDrawingPlugin','plotVisibleOnly','_renderService','debounce','IUniverInstanceService','UniverSheetsPlugin','sheets-chart-ui.common.chartAndAxisTitles','activeChartModel$','ChartHostAdapter','removeChartModel','univer-overflow-visible','render','_initSheetChange','_sheetCanvasPopManagerService','getRenderModel','GeneralSeries','idMap','removeHost','_savedWrapperStyle','getRealBound','_generateCopyPasteMutations','iconName','disposeWithMe','_getCurrentSnapshotImage','getPropertyValue','_localeService','sheets-chart-ui.common.horizontalAxis','GridlinesAndTicks','rxjs','amd','renderTransition','chartTypeSupportsLineAndAreaStyle','push','absolute','ChartPieStyleSection','univer-flex\x20univer-min-h-full\x20univer-w-full\x20univer-flex-col\x20univer-bg-gray-0\x20dark:!univer-bg-gray-900','isManaged','waterfallStyle','UniverIcon','sheets-chart-ui.section.relation','Funnel','dataSource','chartTypeSupportsCapability','_sheetPermissionCheckController','_sheetsChartService','sidebarOptions$','bind','UniverCore','_disposed','_focusedDrawings','pipe','attachRangeWithCoord','_getFloatDomInfo','checkChartCanRender','clip','CHART_ELEMENT_FLOAT_MENU_COMPONENT','clear','rangeSelectMode','CopyDoubleIcon','select','_panelInitialized','UniverSheetsUi','syncHostLayout','drawingId','Image','DEFAULT_CHART_TRENDLINE_VALUES','DRAWING','globalAlpha','_markNotReady','UniverUi','onDispose','getBatchUpdateOp','imageBitmap','UniverMobileUIPlugin','UniverSheetsChartUIPlugin','SetDrawingApplyMutation','_themeService','jsxs','sheets-chart-ui.common.customize','sheets-chart-ui.section.radar','ChartEditorCapability','Timed\x20out\x20waiting\x20for\x20float\x20dom\x20host\x20\x22','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','sheet.command.chart.export-focused-image','GROUP','url','segmented','width','PRINTING_COMPONENT_COLLECT','defs','HorizontalAxis','Chord','closePath','_markReady','_clearSheetChartRuntimeCaches','drawingType','Checkbox','intercept','@univerjs-pro/engine-chart','sheets-chart-ui.section.funnel','restore','2326860LgqwpG','setProps','getChartModel','matches','IConfigService','ChartSectionAccordionItem','chartRenderMode','.chart-host','Subtotal','UniverProSheetsChart','default','SVG','getCanvasElement','translate','hidePanel','radar','merge','univer-flex\x20univer-flex-col\x20univer-gap-3\x20univer-pb-5','EChartRenderEngineName','legend','_renderWhenConfigReady','createChartInstance','_renderChartModel','dataUrl','touchDependencies','chartModelRemoved$','setElementEditMode','sheets-chart.ui.service','indexOf','sheets-chart-ui.common.copy','packageName','tab','univer-my-1\x20univer-text-xs\x20univer-text-red-500','setStyle','update','_resolveLayout','_injector','sheets-chart-ui.waterfall.subtotal','mobile-sheet-chart-style-panel','_copyInfo','getElementById','594468lkceyg','UniverDrawingUi','border','getDrawingShapeKeyByDrawingSearch','subscribe','_disposeChartChangeListeners','complete','stroke-width','max','_sheetsChartUIService','ChartFrameLayout','sheets-chart-ui.section.paretoBar','Gauge','3711145TitBrj','_dataUpdateAnimationTimers','_sheetSkeletonService','_pendingUrlImage','rangeInfo$','rightYAxis','href','debounceTime','xlink:href','mobile-sheet-chart-setup-panel','innerWidth','.png','LocaleService','scaleY','_cancelDebouncedCallbacks','length','_snapshotStore','UniverEngineFormula','sheets-chart-ui.waterfall.negative','arc','_panelRoute$','@univerjs/ui','_chartHostProvider','_dataUpdateAnimationChartIds','getCurrentUnitOfType','_chartHostProviderService','entries','crossOrigin','PenIcon','sourceSubUnitId','getHostSize','has','Bubble','stroke','@univerjs/sheets','IconManager','appliedStrokeWidth','sheets-chart-ui.common.series','_applyHostInteractionState','RibbonInsertGroup','close','ChartEditPanelSection','_chartEditorOpen$','Treemap','getRangeInfo','sheets-chart-ui.common.rightVerticalAxis','IChartRenderModelManagerService','_clearPanelState','prototype','getRenderUnitById','sheets-chart-ui.common.trendline','@univerjs/sheets-drawing','markUnmanaged','sheets-chart-ui.chartTypes.','getBatchAddOp','syncLayout','with','sheets-chart-ui.common.hideChartPanel','Style','combineLatest','stringify','resourceCollector','call','svg','invalidateSnapshot','attrs','VerticalAxis','UniverChartMobileUIPlugin','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','getBoundingClientRect','BehaviorSubject','Injector','_setHostStyle','getName','_image','TRANSFORM_CHANGE_OBSERVABLE_TYPE','ChartSectionAccordion','blockExecuteWithoutPermission','_activateEditPanelState','Data','onDoubleClick$','ChartTitlesSection','interceptCommand','_isProviderDisposed','getRect','sheets-chart-ui.common.insertChart','ComponentManager','_chartElementEditMode','pie','_disposeChartEventSubscription','true','_frameStyle','setProperty','MobileRangeSelector','_getImage','SheetCanvasFloatDomManagerService','cancel','setConfig','_restoreFloatDomPositionStream','nativeEvent','isArray','_pendingToken','clearChart','_lastRenderInputMap','ChartGridlinesAndTicksSection','getOwnPropertyDescriptor','Axes','src','_alignFloatDomPositionWithSceneRender','add','FOCUSING_PANEL_EDITOR','offsetLeft','error','sheets-chart-ui.section.treemap','radius','resolveChartElementSelection','sheetChartDataAnimation','COPY_TYPE','startWith','_resizeChart','DEFAULT_CHART_SERIES_VALUES','ChartFunnelStyleSection','useEffect','resolveDefaultChartHostFrameStyle','_renderAfterChartUpdateMutation','DEFAULT_CHART_LEGEND_VALUES','createElement','setBorder','insertGroupObject','dblclick','element','UniverSheetsDrawingMobileUIPlugin','DEFAULT_CHART_RELATION_VALUES','getDrawingByParam','_getPlacement','getRenderColor','scale','@univerjs-pro/chart-ui','univer-shrink-0','References','transformChange$','getDrawingData','checkHost','_isChartElementEditEnabled','focusDrawing','sheet.operation.open-chart-panel','format','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','@univerjs/sheets-formula-ui','sheets-chart-ui.section.wordCloud','1em','4991CszWUR','featurePluginUngroupUpdate$','_clearChartRuntimeCache','UniverSheetsChartMobileUIPlugin','panelRoute$','sheets-chart-ui.host.provider','getSheetBySheetId','UniverSheetsUIPlugin','UniverProLicense','register','dom','pieSecondaryPlotType','SHEETS_CHART_PLUGIN_NAME','_debounceHandle','mask','missing-active-sheet','trim','sheets-chart-ui.common.setup','getFocusedUnit','Scatter','trendline','distinctUntilChanged','viewBox','beginPath','_generateCutPasteMutations','_getHostPlacement','ImageBitmap','@univerjs-pro/sheets-chart-ui','ChartDomFrame','circle,\x20ellipse,\x20line,\x20path,\x20polygon,\x20polyline,\x20rect,\x20text,\x20textPath,\x20tspan,\x20use','_isOwnedChart','_version','registerFeatureMenu','startY','_rerenderLatest','DEFAULT_CHART_RADAR_VALUES','3504ILkIOg','function','_registerAdapter','scaleX','sheets-chart-ui.common.invalidDataRange','_chartInstanceMap','relation','setChartEditorOpen','Dom','defaultValues','context$','featurePluginOrderUpdate$','sheets-chart-ui.section.lineAndArea','DEFAULT_PASTE','onStarting','getAllowedChartTypes','_createPrintingChartObject','sheets-chart-ui.section.gridlinesAndTicks','_applyHostStyle','_requestedUrl','series','useMemo','innerHeight','_generatePasteMutations','sheets-chart-ui.common.verticalAxis','Disposable','some','Module','_openPanel','isHit','removeHost$','onload','DataOrientation','CopySheetCommand','makeDirty','string','getDrawingOrder','print','strokeWidth','updateFloatDom','_init','_initPermission','Pie','UniverLicensePlugin','setHostStyle','values','_url','_cacheActiveDomChartSnapshot','sheets-chart-ui.section.histogram','_pendingHost','Column','startRow','onerror','applyPoint','_deactivateDataUpdateAnimation','_syncActiveEditChart','sheetChartDataAnimationDuration','_clearSelectedTarget','fill','position$','allSeriesStyle','COMMAND','items','removeProperty','resolve','IndicatorLine','@univerjs/drawing','WorksheetEditPermission','IDrawingManagerService','next','isInGroup','_chartThemeService','WordCloud','useChartEditorChartType','React','sheet.command.chart.delete-focused-chart','@univerjs/engine-formula','Histogram','_sheetPrintInterceptorService','Plugin','Fail\x20to\x20create\x20float\x20dom','SheetsSelectionsService','_chartEventSubscriptions','logicalOuterRect','react/jsx-runtime','_popupChartId','showFloatMenu','_activateHostWrapper','SheetInterceptorService','offsetTop','toStringTag','children','copyType','DEFAULT_CHART_LINE_AND_AREA_VALUES','seriesId','drawImage','DEFAULT_CHART_PIE_VALUES','sheetId','verify','_chartHostMap','Canvas','take','_domFrame','getActiveSheet','activeSheet$','_chartChangeSubscriptions','_urlImage','getSkeleton','_drawChartFrame','enableChartElementFloatMenu','_setChartRuntimeZIndex','canvas','UniverDesign','(prefers-reduced-motion:\x20reduce)','Canceled\x20waiting\x20for\x20float\x20dom\x20host\x20\x22','getBatchRemoveOp','querySelector','PieStyle','engine','UniverSheetsDrawingUIPlugin','rangeInfo','sheet.command.menu-insert-chart','clientY','useChartEditorHasRightAxis','ParetoBarSeries','style','DEFAULT_CHART_AXIS_VALUES','_getOuterRect','_canAnimateDataUpdate','ISidebarService','UniverSheetsChartPlugin','label','_resetChartRuntimeZIndex','_sheetCanvasFloatDomManagerService','UNIVER_SHEET','Inject','SheetCopyCommand','REMOVE','naturalWidth','ChartSetupPanel','config$','-univer-mx-4','719041gtAByr','_rect','#-#','ChartEditorProvider','_getOrCreateChartRenderInstance','sheets-chart-ui.common.chart','clearRuntimeCache','INSERT','chartModelId','mountNode','ChartAxisSection','visibilityState','target','SheetPermissionCheckController','clientX','_managed','_activeChartId','@univerjs/sheets-ui','Fragment','clearPanelRoute','contains','_listenChartUpdateMutations','missing-float-dom','icon','_configService','addClipboardHook','initPanel','remove$','chartImageSourceToDataUrl','offsetHeight','_chartSnapshotStoreService','concat','baseOn','hadStyleAttribute','getValue','chartObject','ChartWordCloudStyleSection','DeleteIcon','getMenuHiddenObservable','_bindChartEventHandlers','getSheetBySheetName','_drawingManagerService','filter','activeChartModel','getUnit','SHEET_CHART_RENDER_OBJECT_CONFIG','defIds','setDataRange','hidden','Waterfall','fromEvent','_addWatermark','subscribeEvent','rightY','idSuffix','map','asObservable','FOCUSING_COMMON_DRAWINGS','combineLatestWith','ChartNumberFormatAtom','lineAndArea','setPanelRoute','useCallback','Trendline','ChartParetoSeriesSection','onRendered','style$','chartTypeCanUseTrendLine','ContextMenuGroup','univerjs-icon\x20univerjs-icon-','_sheetDrawingHitTestService','skip','CUT','ChartViewStateRegistry','CHART_HOST_BORDER_RADIUS','transformToDrawingPosition','CHART_DATA_UPDATE_ANIMATION_DURATION','clearImage','getId','includes','_disposeChartEventSubscriptions','_commandService','colorChannel1','deserializeRangeWithSheet','startX','_componentManager','height','handleActiveSubUnitChange','ChartImageExportFormat','startColumn','getOrCreateDrawingCopyPlan','getImage','_disposeChartDomInstance','onCommandExecuted','BUTTON','ChartUIService','darkMode$','titleKey','_executeChartUpdateSourceConfig','IContextService','_removeHost$','InsertChartCommand','Boxplot','setContextValue','_bindChartEventHandler','open','setDataUpdateAnimation','@univerjs/design','_initPrinting','_sheetClipboardService','_sheetInterceptorService','ChartImageExportService','2207624gWoOMC','useDependency','left','initialRect','_initActiveRuntimeLayerListener','ChartStyleSection','_snapshotKey','opacity','ChartSourceHeaderTitleType','useState','_chartRenderMode','_openEditPanelByDoubleClick','openChartPanelById','WaterfallSeries','SheetsChartService','getFloatDomInfo','_renderManagerService','chartBitsUtils','resolveChartEditPanelRoute','toFixed','assign','ChartThemeService','sheets-chart-ui.common.deleteChart','image','ChartModelService','setImage','CanvasFloatDomService','scene','univer-flex\x20univer-flex-col\x20univer-gap-3','Overlay','sheets-chart-ui.common.editChart','isRowDirection','updateFloatDomProps','_config','version','top','visible','_iconManager','_cancelHostWait','_clearHiddenSelectedTarget','_disposeImage','ChartTrendlineSection','config','_requestPaint','getObjectIncludeInGroup','interceptor','jsx','_renderModelManager','pareto','localPoint','observe','getFocusDrawings','DEFAULT_CHART_INDICATOR_LINE_VALUES','from','pointerEvents','isRender','getSheetCommandTarget','_closePopup','addObject','ChartEditPanelTab','sheets-chart-ui.common.dataRange','ensureHost','DrawingTypeEnum','UniverSheetsDrawingPlugin','react','rect','sheets-chart-ui.section.candlestick','getConfig','sheets-chart-ui.section.gauge','getSubUnitId','ChartOpenPanelOperation','activeRuntimeModel','Url','none','undo','endX','UniverEngineRender','isConnected','set','_prepareDataUpdateRender','_chartModelService','Rect','right','sheets-chart-ui.common.heatmap','lineTo','464cAeKud','_resolveChartRenderMode','category','_requestChartCanvasRender','sheets-chart-ui.common.openChartPanel','SHEETS_CHART_UI_PLUGIN_CONFIG_KEY','_initCommands','subUnitId','getHostClientRect','KeyCode','ChartEditBlockTitle','markNotReady','_canvasFloatDomService','sheet.command.chart.copy-focused-chart','_registerIcons','ChartImageSourceType','discreteRangeToRange','_applyActiveChartRuntimeZIndex','@univerjs-pro/license','abs','top-center','titles','small','RemoveSheetsChartMutation','UniverSheetsDrawing','ChartFrameContentMode','MEDIA','anonymous','sheets-chart-ui.section.chord','createRuntimeChartStyle','_subscribeChartEvents','_markHostReady','_getChartRenderObjectContext','current','getSheetId','_registerChartImageRenderObjectFactory','_entries','parseFloat','ENTER','wordCloud','priority','UPDATE','_renderDebounceMap','chartType','defineProperty','_popupSessionKey','_createHost','viewBound','_initDrawingDeactivationListener','create','DRAWING_CHART','toPrimitive','IMenuManagerService','sheets-chart-ui.chord.target','Radar','_getChartRenderSkipReason','resolveChartRuntimeStyle','animateDataUpdate','chartEditorOpen','transform','drawWith','getObject','UniverSheetsMobileUIPlugin','_drawChartImage','_restoreHostWrapper','_registerComponents','zIndex','[ChartRender]\x20Failed\x20to\x20render\x20chart\x20snapshot\x20for\x20printing','_sheetDrawingService','_shouldEnableChartElementEdit','originalStrokeWidth','_scheduleDataUpdateAnimationEnd','registerCommand','ContextMenuPosition','parentElement','ChartLegendSection','_disposeChartRenderInstance','DrawingApplyType','@univerjs/sheets-drawing-ui','onTransformChange$','throttleTime','labelId','sheets-chart-element-float-menu','blur','isFinite','getChartDataSource','sheet.operation.hide-chart-panel','transparent','ISheetDrawingService','DEFAULT_CHART_HEATMAP_VALUES','assignStyle','ChartTypeSpecificStyleSection','exportImage','InsertSheetsChartMutation','createIdentifier','Button','RemoveSheetDrawingCommand','Row','buildChartTypeSelectOptions','div','sheets-chart-ui.section.waterfall','number','_initCopyPaste','_getDrawable','CHART_TYPE_CATALOG','_chartUIService','Observable','params','sheets-chart-ui.section.sunburst','sheets-chart-ui.common.showHiddenData','_createCopyInfoByRange','Relation','useId','DEFAULT_CHART_STYLE_VALUES','DEFAULT_CHART_FUNNEL_VALUES','keys','_getChartSnapshotKey','withLatestFrom','getInterceptPoints','serialize','SheetPrintInterceptorService','pluginName','value','Candlestick','_chartRenderService','http://www.w3.org/2000/svg','getChartPopupMenus','decorate','dataset','header','axis','_univerInstanceService','ThemeService','hit','chartEditorOpen$','unitId','SheetChartConfigAdapter','color','useObservable','resize','_activateDataUpdateAnimation','strokeOpacity','LineAndArea','_pendingDataUpdateChartIds','name','ChartTypeBits','ChartSeriesSection','permissionCheckWithoutRange','setObjectType','split','fromEntries','SheetSkeletonManagerService','ISheetsChartUIService','SheetCanvasPopManagerService','CommandType','mode','Heatmap','ChartWaterfallStyleTarget','executeChartUpdateConfig','_hostStyle','classType','univer-overflow-hidden','get','UniverChartUIPlugin','range','_sidebarDisposable','setOrientation','img','unsubscribe','_pendingMutationConfigRenders','_popupDisposable','UniverProEngineChart','_initActiveChartModelListener','sheets-chart-ui.common.useAsCategoryLabels','OVERRIDE_NATIVE','download','multiply','@univerjs/core','forEach'];_0x595f=function(){return _0x1900d4;};return _0x595f();}function _0x3bb2(_0x35d302,_0x414572){_0x35d302=_0x35d302-0x1c1;const _0x595f89=_0x595f();let _0x3bb2f7=_0x595f89[_0x35d302];return _0x3bb2f7;}(function(_0x58a8d2,_0x2e9a2){const _0xfe0e0a=_0x3bb2,_0x47a2ab=_0x58a8d2();while(!![]){try{const _0x1fe851=-parseInt(_0xfe0e0a(0x3a0))/0x1+parseInt(_0xfe0e0a(0x465))/0x2*(-parseInt(_0xfe0e0a(0x312))/0x3)+parseInt(_0xfe0e0a(0x410))/0x4+parseInt(_0xfe0e0a(0x257))/0x5+-parseInt(_0xfe0e0a(0x221))/0x6+-parseInt(_0xfe0e0a(0x2ee))/0x7*(-parseInt(_0xfe0e0a(0x54f))/0x8)+-parseInt(_0xfe0e0a(0x24a))/0x9;if(_0x1fe851===_0x2e9a2)break;else _0x47a2ab['push'](_0x47a2ab['shift']());}catch(_0x51fd50){_0x47a2ab['push'](_0x47a2ab['shift']());}}}(_0x595f,0x630b3),function(_0x9b4e9d,_0x41e3b7){const _0x48e7e3=_0x3bb2;typeof exports=='object'&&typeof module<'u'?_0x41e3b7(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('@univerjs/drawing-ui'),require('@univerjs/engine-render'),require('react'),require('@univerjs/design'),require('@univerjs/sheets-formula-ui'),require('react/jsx-runtime'),require('@univerjs-pro/license')):typeof define==_0x48e7e3(0x313)&&define[_0x48e7e3(0x1d9)]?define([_0x48e7e3(0x556),_0x48e7e3(0x516),'@univerjs-pro/sheets-chart',_0x48e7e3(0x354),_0x48e7e3(0x28a),_0x48e7e3(0x4b3),_0x48e7e3(0x3b1),_0x48e7e3(0x26c),_0x48e7e3(0x1d8),_0x48e7e3(0x2e0),_0x48e7e3(0x21e),_0x48e7e3(0x279),_0x48e7e3(0x35e),_0x48e7e3(0x51e),'@univerjs/engine-render',_0x48e7e3(0x450),_0x48e7e3(0x40b),_0x48e7e3(0x2eb),_0x48e7e3(0x366),_0x48e7e3(0x477)],_0x41e3b7):(_0x9b4e9d=typeof globalThis<'u'?globalThis:_0x9b4e9d||self,_0x41e3b7(_0x9b4e9d['UniverProSheetsChartUi']={},_0x9b4e9d[_0x48e7e3(0x1eb)],_0x9b4e9d[_0x48e7e3(0x22a)],_0x9b4e9d['UniverDrawing'],_0x9b4e9d[_0x48e7e3(0x47d)],_0x9b4e9d['UniverSheetsDrawingUi'],_0x9b4e9d[_0x48e7e3(0x1f9)],_0x9b4e9d[_0x48e7e3(0x201)],_0x9b4e9d[_0x48e7e3(0x1d8)],_0x9b4e9d[_0x48e7e3(0x53a)],_0x9b4e9d[_0x48e7e3(0x510)],_0x9b4e9d['UniverSheets'],_0x9b4e9d[_0x48e7e3(0x268)],_0x9b4e9d[_0x48e7e3(0x24b)],_0x9b4e9d[_0x48e7e3(0x45c)],_0x9b4e9d[_0x48e7e3(0x35c)],_0x9b4e9d[_0x48e7e3(0x382)],_0x9b4e9d[_0x48e7e3(0x594)],_0x9b4e9d[_0x48e7e3(0x35c)],_0x9b4e9d[_0x48e7e3(0x2f6)]));}(this,function(_0x3a3678,_0x39ea90,_0x517bbe,_0x393073,_0x173cae,_0x545a31,_0x128e70,_0x120999,_0x233567,_0x3289ff,_0x1e04b6,_0x437459,_0x23cc12,_0xe620b7,_0x4330b5,_0x48e4d2,_0x462b7d,_0x53cc79,_0x4bd19a,_0x239db3){const _0x3c513e=_0x3bb2;Object['defineProperty'](_0x3a3678,Symbol[_0x3c513e(0x36c)],{'value':_0x3c513e(0x32d)});let _0x25de76={'type':_0x39ea90[_0x3c513e(0x4ff)]['OPERATION'],'id':_0x3c513e(0x2e8),'handler'(){return!0x0;}},_0x122536=_0x3c513e(0x527),_0x377b59={'enableChartElementFloatMenu':!0x0},_0x196607={'type':_0x39ea90[_0x3c513e(0x4ff)]['OPERATION'],'id':_0x3c513e(0x4bb),'handler'(){return!0x0;}};function _0x2d4706(_0x4aca34){const _0x5105b0=_0x3c513e;let _0x11ef6c=_0x4aca34[_0x5105b0(0x507)](_0x173cae[_0x5105b0(0x4bd)])[_0x5105b0(0x443)]();if(_0x11ef6c['length']!==0x1)return null;let _0x9d8028=_0x11ef6c[0x0];return _0x9d8028['drawingType']===_0x39ea90[_0x5105b0(0x44e)][_0x5105b0(0x497)]?_0x9d8028:null;}function _0x3c7cb5(_0x47d990,_0x57956f){const _0x2b7109=_0x3c513e;let _0xab4a66=document['createElement']('a');_0xab4a66[_0x2b7109(0x25d)]=_0x47d990,_0xab4a66[_0x2b7109(0x514)]=_0x57956f,_0xab4a66['click']();}let _0x3d423a={'id':_0x3c513e(0x525),'type':_0x39ea90[_0x3c513e(0x4ff)][_0x3c513e(0x34f)],'handler':(_0xc8e722,_0x5ee6a0)=>{const _0x1d8b8a=_0x3c513e;let _0x1820b4=_0x2d4706(_0xc8e722);return _0x1820b4?_0xc8e722['get'](_0x39ea90[_0x1d8b8a(0x531)])['executeCommand'](_0x25de76['id'],{'unitId':_0x1820b4[_0x1d8b8a(0x4ec)],'subUnitId':_0x1820b4['subUnitId'],'drawingId':_0x1820b4[_0x1d8b8a(0x1fb)],..._0x5ee6a0!=null&&_0x5ee6a0[_0x1d8b8a(0x586)]?{'route':_0x5ee6a0[_0x1d8b8a(0x586)]}:{}}):!0x1;}},_0xa767db={'id':_0x3c513e(0x472),'type':_0x39ea90[_0x3c513e(0x4ff)][_0x3c513e(0x34f)],'handler':_0x4949b1=>_0x2d4706(_0x4949b1)?_0x4949b1[_0x3c513e(0x507)](_0x39ea90['ICommandService'])[_0x3c513e(0x53b)](_0x128e70[_0x3c513e(0x39a)]['id']):!0x1},_0x51fe11={'id':_0x3c513e(0x20f),'type':_0x39ea90[_0x3c513e(0x4ff)]['COMMAND'],'handler':async _0x5efe5d=>{const _0x434d9d=_0x3c513e;let _0x210674=_0x2d4706(_0x5efe5d);if(!_0x210674)return!0x1;let _0x15ba9e=await _0x5efe5d[_0x434d9d(0x507)](_0x3289ff[_0x434d9d(0x40f)])['exportImage']({'unitId':_0x210674[_0x434d9d(0x4ec)],'subUnitId':_0x210674[_0x434d9d(0x46c)],'getId':()=>_0x210674[_0x434d9d(0x1fb)]});return _0x15ba9e?(_0x3c7cb5(_0x15ba9e,_0x210674[_0x434d9d(0x1fb)]+_0x434d9d(0x262)),!0x0):!0x1;}},_0x4c6278={'id':_0x3c513e(0x35d),'type':_0x39ea90[_0x3c513e(0x4ff)]['COMMAND'],'handler':_0x47eb4b=>{const _0x53a06c=_0x3c513e;let _0xfdea70=_0x2d4706(_0x47eb4b);return _0xfdea70?_0x47eb4b[_0x53a06c(0x507)](_0x39ea90['ICommandService'])['executeCommand'](_0x173cae[_0x53a06c(0x4c5)]['id'],{'unitId':_0xfdea70['unitId'],'drawings':[{'unitId':_0xfdea70['unitId'],'subUnitId':_0xfdea70[_0x53a06c(0x46c)],'drawingId':_0xfdea70[_0x53a06c(0x1fb)],'drawingType':_0x39ea90[_0x53a06c(0x44e)][_0x53a06c(0x497)]}]}):!0x1;}},_0x20c525={'type':_0x39ea90[_0x3c513e(0x4ff)]['COMMAND'],'id':_0x3c513e(0x38b),'handler':async(_0x2f6cee,_0x3f4094)=>{const _0x3446f9=_0x3c513e;let _0x39c98e=(0x0,_0x437459[_0x3446f9(0x448)])(_0x2f6cee[_0x3446f9(0x507)](_0x39ea90[_0x3446f9(0x599)]));if(!_0x39c98e)return!0x1;let _0x3a366f=_0x2f6cee['get'](_0x437459[_0x3446f9(0x363)])['getCurrentLastSelection']();if(!_0x3a366f)return!0x1;let {range:_0x44b1c1}=_0x3a366f,_0x31dfe6=_0x2f6cee[_0x3446f9(0x507)](_0x39ea90[_0x3446f9(0x531)]),{unitId:_0x22e5db,subUnitId:_0x5562be}=_0x39c98e,{pieSecondaryPlotType:_0x9e197d,value:_0x23b323}=_0x3f4094,_0x3771f9=_0x9e197d!==void 0x0;if(_0x3771f9&&(_0x23b323!==_0x1e04b6[_0x3446f9(0x4f6)][_0x3446f9(0x33c)]||_0x9e197d!==_0x1e04b6['PieSecondaryPlotType'][_0x3446f9(0x33c)]&&_0x9e197d!==_0x1e04b6[_0x3446f9(0x557)]['Bar']))return!0x1;let _0x233f17=_0x3771f9?(0x0,_0x39ea90['generateRandomId'])():void 0x0;return _0x31dfe6[_0x3446f9(0x53b)](_0x517bbe[_0x3446f9(0x405)]['id'],{'unitId':_0x22e5db,'subUnitId':_0x5562be,'chartType':_0x23b323,..._0x233f17&&_0x9e197d?{'chartId':_0x233f17,'config':{'unitId':_0x22e5db,'chartModelId':_0x233f17,'style':{'pie':{'composite':{'enabled':!0x0,'secondaryPlot':{'type':_0x9e197d}}}}}}:{},'source':{'rangeInfo':{'unitId':_0x44b1c1['unitId']??_0x22e5db,'subUnitId':_0x44b1c1[_0x3446f9(0x373)]??_0x5562be,'range':_0x44b1c1}}});}};function _0x5bf1ff(_0x52d49f,_0x36c68a){const _0x447601=_0x3c513e;if(_0x52d49f==null)return'';if(Array[_0x447601(0x2bb)](_0x52d49f)){var _0x222b8e;let _0x3288e8=(_0x222b8e=_0x52d49f[0x0])==null?void 0x0:_0x222b8e[_0x447601(0x509)];return _0x3288e8?_0x2bcf4e(_0x3288e8,_0x36c68a):'';}return _0x2bcf4e(_0x52d49f[_0x447601(0x38a)],_0x36c68a);}function _0x2bcf4e(_0x24b9af,_0x252083){const _0x23be4d=_0x3c513e;var _0xf19999;let {unitId:_0x4c96f5,subUnitId:_0x3c4c18,range:_0x52081c}=_0x24b9af,_0x5d2736=(_0xf19999=_0x252083['getUnit'](_0x4c96f5))==null?void 0x0:_0xf19999[_0x23be4d(0x2f4)](_0x3c4c18);if(!_0x5d2736)return'';let _0x3a4169=_0x5d2736[_0x23be4d(0x2a0)]();return(0x0,_0x23cc12['serializeRangeWithSheet'])(_0x3a4169,_0x52081c);}let _0x102ab1=_0x3289ff[_0x3c513e(0x4cd)][_0x3c513e(0x3d7)](_0x2c8090=>({'id':'id'in _0x2c8090?_0x2c8090['id']:void 0x0,'labelId':_0x2c8090[_0x3c513e(0x4b6)],'pieSecondaryPlotType':_0x3c513e(0x2f9)in _0x2c8090?_0x2c8090[_0x3c513e(0x2f9)]:void 0x0,'value':_0x2c8090[_0x3c513e(0x4df)],'icon':_0x2c8090[_0x3c513e(0x1d1)]}));function _0x556019(_0x4e23f7=_0x102ab1){return _0x4e23f7['map'](({id:_0x18d83a,icon:_0x3f9b72,value:_0x578765})=>{const _0x44dac6=_0x3bb2;let _0x44a8b7=(0x0,_0x3289ff[_0x44dac6(0x54b)])(_0x18d83a??String(_0x578765)),_0x1c1f2a=_0x44a8b7?{'value':_0x44a8b7['chartType'],..._0x44a8b7[_0x44dac6(0x2f9)]?{'pieSecondaryPlotType':_0x44a8b7[_0x44dac6(0x2f9)]}:{}}:{'value':_0x578765};return{'icon':_0x3f9b72,'value':_0x18d83a??_0x578765,'params':_0x1c1f2a};});}let _0x42cbaf=(_0x24a442,_0x364284)=>{const _0x117fd7=_0x3c513e;if(_0x364284[_0x117fd7(0x266)]===0x1&&_0x364284[0x0]==='all')return _0x24a442;if(_0x364284[_0x117fd7(0x266)]>0x1){let _0x6d8400=new Set();for(let _0x1473dc of _0x364284)_0x6d8400['add'](Number(_0x1473dc));return _0x24a442[_0x117fd7(0x3ca)](_0x10ab45=>_0x6d8400[_0x117fd7(0x276)](_0x10ab45['value']));}return[];};function _0x16281e(_0x365fed){const _0x5413d1=_0x3c513e;let _0x4db57a=_0x365fed[_0x5413d1(0x507)](_0x39ea90[_0x5413d1(0x599)]),_0x3c4b56=(0x0,_0x517bbe['getAllowedChartTypes'])(_0x365fed),_0x109199=_0x42cbaf(_0x102ab1[_0x5413d1(0x3bf)](),_0x3c4b56),_0x59de4c=_0x556019(_0x109199)[_0x5413d1(0x3d7)]((_0x331cb3,_0xb5e499)=>({'icon':_0x331cb3[_0x5413d1(0x3b7)],'value':_0x331cb3[_0x5413d1(0x4df)],'params':_0x331cb3[_0x5413d1(0x4d0)],'label':_0x5413d1(0x28c)+_0x109199[_0xb5e499][_0x5413d1(0x4b6)]}));return{'id':_0x20c525['id'],'type':_0x120999[_0x5413d1(0x585)]['SELECTOR'],'selectionsCommandId':_0x20c525['id'],'selections':_0x59de4c,'icon':'ChartIcon','tooltip':_0x5413d1(0x2ac),'activated$':(0x0,_0x128e70[_0x5413d1(0x55b)])(_0x4db57a,!0x1,()=>new _0x233567[(_0x5413d1(0x4cf))](_0x3888d4=>{const _0x5a30f7=_0x5413d1;_0x3888d4[_0x5a30f7(0x357)](!0x1);})),'hidden$':(0x0,_0x120999[_0x5413d1(0x3c6)])(_0x365fed,_0x39ea90['UniverInstanceType'][_0x5413d1(0x398)]),'disabled$':(0x0,_0x128e70['getCurrentRangeDisable$'])(_0x365fed)};}function _0x369770(_0x49b4aa){const _0x548440=_0x3c513e;let _0x56eff1=_0x49b4aa[_0x548440(0x507)](_0x173cae[_0x548440(0x4bd)]);return _0x56eff1[_0x548440(0x584)][_0x548440(0x1ee)]((0x0,_0x233567[_0x548440(0x2cd)])(_0x56eff1['getFocusDrawings']()),(0x0,_0x233567[_0x548440(0x3d7)])(()=>_0x2d4706(_0x49b4aa)==null));}function _0x550989(_0x9d8f04){const _0x3697ed=_0x3c513e;return{'id':_0x3d423a['id'],'commandId':_0x3d423a['id'],'type':_0x120999[_0x3697ed(0x585)][_0x3697ed(0x3fe)],'title':_0x9d8f04[_0x3697ed(0x507)](_0x39ea90[_0x3697ed(0x263)])['t'](_0x3697ed(0x469)),'icon':_0x3697ed(0x273),'hidden$':_0x369770(_0x9d8f04)};}function _0x130782(_0x5bbdbc){const _0x3bc260=_0x3c513e;return{'id':_0xa767db['id'],'commandId':_0xa767db['id'],'type':_0x120999[_0x3bc260(0x585)][_0x3bc260(0x3fe)],'title':_0x5bbdbc[_0x3bc260(0x507)](_0x39ea90[_0x3bc260(0x263)])['t'](_0x3bc260(0x23e)),'icon':_0x3bc260(0x1f6),'hidden$':_0x369770(_0x5bbdbc)};}function _0x12d348(_0x3b5c1d){const _0xd4223a=_0x3c513e;return{'id':_0x51fe11['id'],'commandId':_0x51fe11['id'],'type':_0x120999[_0xd4223a(0x585)][_0xd4223a(0x3fe)],'title':_0x3b5c1d[_0xd4223a(0x507)](_0x39ea90[_0xd4223a(0x263)])['t'](_0xd4223a(0x519)),'icon':'DownloadImageIcon','hidden$':_0x369770(_0x3b5c1d)};}function _0x16621f(_0x328997){const _0x25612c=_0x3c513e;return{'id':_0x4c6278['id'],'commandId':_0x4c6278['id'],'type':_0x120999['MenuItemType'][_0x25612c(0x3fe)],'title':_0x328997[_0x25612c(0x507)](_0x39ea90[_0x25612c(0x263)])['t']('sheets-chart-ui.common.deleteChart'),'icon':_0x25612c(0x3c5),'hidden$':_0x369770(_0x328997)};}let _0xc769d0={[_0x120999[_0x3c513e(0x27e)][_0x3c513e(0x47f)]]:{[_0x20c525['id']]:{'order':0x4,'menuItemFactory':_0x16281e}},[_0x120999[_0x3c513e(0x4ae)][_0x3c513e(0x1fe)]]:{[_0x120999[_0x3c513e(0x3e4)]['OTHERS']]:{[_0x3d423a['id']]:{'order':0x0,'menuItemFactory':_0x550989},[_0xa767db['id']]:{'order':0x1,'menuItemFactory':_0x130782},[_0x51fe11['id']]:{'order':0x3,'menuItemFactory':_0x12d348},[_0x4c6278['id']]:{'order':0x4,'menuItemFactory':_0x16621f}}}};function _0x3f2418(_0x367969){const _0x3140af=_0x3c513e;return _0x367969===_0x1e04b6[_0x3140af(0x4f6)][_0x3140af(0x588)]||_0x367969===_0x1e04b6[_0x3140af(0x4f6)]['Radar']||_0x367969===_0x1e04b6[_0x3140af(0x4f6)][_0x3140af(0x406)]||_0x1e04b6['chartBitsUtils'][_0x3140af(0x3c0)](_0x367969,_0x1e04b6[_0x3140af(0x4f6)]['Line'])||_0x1e04b6[_0x3140af(0x421)][_0x3140af(0x3c0)](_0x367969,_0x1e04b6['ChartTypeBits']['Column'])||_0x1e04b6['chartBitsUtils']['baseOn'](_0x367969,_0x1e04b6[_0x3140af(0x4f6)][_0x3140af(0x58e)])||_0x1e04b6[_0x3140af(0x421)][_0x3140af(0x3c0)](_0x367969,_0x1e04b6[_0x3140af(0x4f6)][_0x3140af(0x301)]);}function _0x2d3d28(_0x303ca7){const _0xbe4d9d=_0x3c513e;return _0x3f2418(_0x303ca7)||_0x1e04b6[_0xbe4d9d(0x421)][_0xbe4d9d(0x3c0)](_0x303ca7,_0x1e04b6[_0xbe4d9d(0x4f6)][_0xbe4d9d(0x33c)])||_0x1e04b6[_0xbe4d9d(0x421)]['baseOn'](_0x303ca7,_0x1e04b6[_0xbe4d9d(0x4f6)]['Pareto'])||_0x1e04b6[_0xbe4d9d(0x421)][_0xbe4d9d(0x3c0)](_0x303ca7,_0x1e04b6['ChartTypeBits'][_0xbe4d9d(0x3d1)]);}function _0x8c835f(_0x4861be,_0xaa8832){const _0x3fe21d=_0x3c513e;let _0x3a662b=(0x0,_0x3289ff[_0x3fe21d(0x2ca)])(_0x4861be,_0xaa8832),_0x464fd8=_0x3a662b?(0x0,_0x3289ff[_0x3fe21d(0x422)])(_0x3a662b[_0x3fe21d(0x3ac)]):void 0x0;if(_0x3a662b&&_0x464fd8)return{..._0x3a662b,'route':_0x464fd8,'showFloatMenu':_0x2d3d28(_0x4861be[_0x3fe21d(0x490)])&&_0x3a662b[_0x3fe21d(0x368)]};}function _0x12dcb8(_0x3cda08,_0x25e6e1=0x1){const _0x808237=_0x3c513e;return{'width':Math[_0x808237(0x252)](_0x25e6e1,_0x3cda08[_0x808237(0x213)]),'height':Math[_0x808237(0x252)](_0x25e6e1,_0x3cda08[_0x808237(0x3f6)])};}function _0x1d85c7(_0x1805cc,_0x5a3163={},_0x1045fa={'left':0x0,'top':0x0}){const _0x3e308e=_0x3c513e;let _0x279cd7=_0x5a3163[_0x3e308e(0x315)]??0x1,_0x5dbd24=_0x5a3163[_0x3e308e(0x264)]??0x1,_0x81136d=_0x3289ff[_0x3e308e(0x254)][_0x3e308e(0x352)]({'logicalOuterRect':{'left':_0x1045fa[_0x3e308e(0x412)]>0x0?-_0x1045fa[_0x3e308e(0x412)]:0x0,'top':_0x1045fa['top']>0x0?-_0x1045fa[_0x3e308e(0x433)]:0x0,..._0x12dcb8(_0x1805cc)},'scale':{'scaleX':_0x279cd7,'scaleY':_0x5dbd24},'hostStyle':{},'contentMode':_0x3289ff[_0x3e308e(0x47e)]['Overlay']});return{'left':_0x81136d['logicalOuterRect']['left'],'top':_0x81136d[_0x3e308e(0x365)][_0x3e308e(0x433)],'width':_0x81136d[_0x3e308e(0x365)][_0x3e308e(0x213)],'height':_0x81136d[_0x3e308e(0x365)]['height'],'scaleX':_0x279cd7,'scaleY':_0x5dbd24};}function _0x2b7729(_0x3d16fd){'@babel/helpers - typeof';const _0x46d765=_0x3c513e;return _0x2b7729=typeof Symbol==_0x46d765(0x313)&&typeof Symbol['iterator']=='symbol'?function(_0x46b0ce){return typeof _0x46b0ce;}:function(_0x591927){const _0x3c138f=_0x46d765;return _0x591927&&typeof Symbol==_0x3c138f(0x313)&&_0x591927['constructor']===Symbol&&_0x591927!==Symbol[_0x3c138f(0x287)]?'symbol':typeof _0x591927;},_0x2b7729(_0x3d16fd);}function _0x3c233f(_0x48d3f4,_0x20424a){const _0x25c1db=_0x3c513e;if(_0x2b7729(_0x48d3f4)!='object'||!_0x48d3f4)return _0x48d3f4;var _0x1bf848=_0x48d3f4[Symbol[_0x25c1db(0x498)]];if(_0x1bf848!==void 0x0){var _0x5314f6=_0x1bf848[_0x25c1db(0x295)](_0x48d3f4,_0x20424a||_0x25c1db(0x22b));if(_0x2b7729(_0x5314f6)!='object')return _0x5314f6;throw TypeError(_0x25c1db(0x20e));}return(_0x20424a===_0x25c1db(0x335)?String:Number)(_0x48d3f4);}function _0x3d0050(_0x2c886d){const _0xabb540=_0x3c513e;var _0x26ce1f=_0x3c233f(_0x2c886d,_0xabb540(0x335));return _0x2b7729(_0x26ce1f)==_0xabb540(0x553)?_0x26ce1f:_0x26ce1f+'';}function _0x2d2886(_0x37cb46,_0x441cd9,_0x33cb18){const _0x4fa9e9=_0x3c513e;return(_0x441cd9=_0x3d0050(_0x441cd9))in _0x37cb46?Object[_0x4fa9e9(0x491)](_0x37cb46,_0x441cd9,{'value':_0x33cb18,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x37cb46[_0x441cd9]=_0x33cb18,_0x37cb46;}function _0xb2c9fa(_0x5eaf78){const _0x5099ba=_0x3c513e;switch(_0x5eaf78[_0x5099ba(0x572)]){case _0x1e04b6[_0x5099ba(0x474)][_0x5099ba(0x376)]:return _0x5eaf78[_0x5099ba(0x381)];case _0x1e04b6[_0x5099ba(0x474)][_0x5099ba(0x308)]:return _0x5eaf78[_0x5099ba(0x204)];default:return;}}var _0x44badd=class extends _0x4330b5[_0x3c513e(0x461)]{constructor(_0x1cd6e4,_0xfa27f7,_0x55f6f8,_0x329576=()=>!0x1,_0x22773f=()=>{}){const _0x1e7be3=_0x3c513e;super(_0x1cd6e4,{..._0xfa27f7,'evented':_0xfa27f7[_0x1e7be3(0x569)]??!0x0}),this[_0x1e7be3(0x2b5)]=_0x55f6f8,this['_shouldSuppressRender']=_0x329576,this[_0x1e7be3(0x438)]=_0x22773f,_0x2d2886(this,_0x1e7be3(0x37c),null),_0x2d2886(this,_0x1e7be3(0x340),null),_0x2d2886(this,_0x1e7be3(0x325),null),_0x2d2886(this,'_pendingUrlImage',null),this[_0x1e7be3(0x4f9)](_0x4330b5[_0x1e7be3(0x555)]['CHART']);}['dispose'](){const _0x36f43=_0x3c513e;this[_0x36f43(0x542)](),this[_0x36f43(0x37c)]=null,this[_0x36f43(0x340)]=null,this[_0x36f43(0x325)]=null,this['_disposeImage'](),super['dispose']();}[_0x3c513e(0x1c7)](_0x2903b4,_0x32226d){const _0x585ee3=_0x3c513e;if(!this[_0x585ee3(0x434)])return this['makeDirty'](!0x1),this;if(this['_shouldSuppressRender']()){let _0x3cdb25=this[_0x585ee3(0x2b5)]();return _0x3cdb25&&this[_0x585ee3(0x4cc)](_0x3cdb25),this[_0x585ee3(0x334)](!0x1),this;}if(!this['transform'])return this;let {width:_0x3ba78f,height:_0x3e43fc,left:_0x17d7ce,top:_0x5139a8}=this[_0x585ee3(0x1cf)]();if(this[_0x585ee3(0x447)](_0x32226d)){let {top:_0x10609c,left:_0x48f876,bottom:_0x30409e,right:_0x51dc4e}=_0x32226d[_0x585ee3(0x494)];if(_0x3ba78f+this['strokeWidth']+_0x17d7ce<_0x48f876||_0x51dc4e<_0x17d7ce||_0x3e43fc+this['strokeWidth']+_0x5139a8<_0x10609c||_0x30409e<_0x5139a8)return this;}let _0x43fc46=this[_0x585ee3(0x4a0)]['getMatrix']();_0x2903b4[_0x585ee3(0x578)]();let _0x6d8efd=_0x17d7ce+_0x3ba78f/0x2,_0x1c398f=_0x5139a8+_0x3e43fc/0x2;return _0x2903b4[_0x585ee3(0x4a0)](_0x43fc46[0x0],_0x43fc46[0x1],_0x43fc46[0x2],_0x43fc46[0x3],_0x6d8efd,_0x1c398f),this[_0x585ee3(0x417)]!==0x1&&(_0x2903b4[_0x585ee3(0x1ff)]=this['opacity']),this['_draw'](_0x2903b4,void 0x0,_0x3ba78f,_0x3e43fc),_0x2903b4[_0x585ee3(0x220)](),this[_0x585ee3(0x334)](!0x1),this;}['_draw'](_0x5c3da7,_0x4e2447,_0x1657f1=this[_0x3c513e(0x213)],_0x2572c8=this[_0x3c513e(0x3f6)]){const _0x383404=_0x3c513e;this[_0x383404(0x37e)](_0x5c3da7,_0x1657f1,_0x2572c8,{'stroke':void 0x0,'strokeWidth':0x0}),this['_drawChartImage'](_0x5c3da7,_0x1657f1,_0x2572c8),this[_0x383404(0x37e)](_0x5c3da7,_0x1657f1,_0x2572c8,{'fill':void 0x0});}[_0x3c513e(0x37e)](_0x1b4098,_0x50fc20,_0x1b1d35,_0x4e2912){const _0xea010a=_0x3c513e;_0x1b4098[_0xea010a(0x578)](),_0x1b4098[_0xea010a(0x22e)](-_0x50fc20/0x2,-_0x1b1d35/0x2),_0x4330b5['Rect'][_0xea010a(0x4a1)](_0x1b4098,_0x102dfe(this,_0x50fc20,_0x1b1d35,_0x4e2912)),_0x1b4098['restore']();}[_0x3c513e(0x32f)](_0x156ecf){const _0x5cc530=_0x3c513e;let {left:_0x119157,top:_0x3ad185,width:_0x42a4f7,height:_0x3ba004}=this['getRealBound'](),_0x1886b4=_0x119157+_0x42a4f7/0x2,_0x5e398f=_0x3ad185+_0x3ba004/0x2,_0x598ec6=this[_0x5cc530(0x4a0)]['getMatrix'](),_0x411c7d=new _0x4330b5['Transform']([_0x598ec6[0x0],_0x598ec6[0x1],_0x598ec6[0x2],_0x598ec6[0x3],_0x1886b4,_0x5e398f]),_0x1c05c1=this['getParent'](),_0x88de70=(this[_0x5cc530(0x358)]&&(_0x1c05c1==null?void 0x0:_0x1c05c1[_0x5cc530(0x505)])===_0x4330b5['RENDER_CLASS_TYPE'][_0x5cc530(0x210)]?_0x1c05c1['ancestorTransform'][_0x5cc530(0x515)](_0x411c7d):_0x411c7d)['invert']()[_0x5cc530(0x347)](_0x156ecf),_0x3b1bdf=_0x42a4f7/0x2,_0x1f9d3e=_0x3ba004/0x2;return _0x88de70['x']>=-_0x3b1bdf-this[_0x5cc530(0x338)]/0x2&&_0x88de70['x']<=_0x3b1bdf+this[_0x5cc530(0x338)]/0x2&&_0x88de70['y']>=-_0x1f9d3e-this['strokeWidth']/0x2&&_0x88de70['y']<=_0x1f9d3e+this[_0x5cc530(0x338)]/0x2;}[_0x3c513e(0x4a4)](_0x2698f9,_0xb12bad,_0xc6c824){const _0x2b90da=_0x3c513e;let _0xd8315=this[_0x2b90da(0x2b5)](),_0x3bf721=_0xd8315?this[_0x2b90da(0x4cc)](_0xd8315):void 0x0;if(!_0x3bf721)return;let {width:_0x36f247,height:_0x5b5f33}=_0x12dcb8({'width':_0xb12bad,'height':_0xc6c824},0x0);_0x36f247!==0x0&&_0x5b5f33!==0x0&&(_0x2698f9['save'](),_0x2698f9[_0x2b90da(0x22e)](-_0xb12bad/0x2,-_0xc6c824/0x2),_0x42abcb(_0x2698f9,_0x36f247,_0x5b5f33,this[_0x2b90da(0x2c9)]),_0x2698f9[_0x2b90da(0x1f2)](),_0x2698f9[_0x2b90da(0x371)](_0x3bf721,0x0,0x0,_0x36f247,_0x5b5f33),_0x2698f9[_0x2b90da(0x220)]());}[_0x3c513e(0x4cc)](_0x1b32ff){const _0x456dd8=_0x3c513e;var _0x4cb21e;let _0x3d1fb2=_0xb2c9fa(_0x1b32ff);if(_0x3d1fb2)return _0x3d1fb2;if(_0x1b32ff[_0x456dd8(0x572)]===_0x1e04b6[_0x456dd8(0x474)][_0x456dd8(0x458)]&&(this[_0x456dd8(0x325)]!==_0x1b32ff[_0x456dd8(0x211)]&&(this[_0x456dd8(0x325)]=_0x1b32ff[_0x456dd8(0x211)],this['_clearPendingUrlImage'](),this[_0x456dd8(0x340)]!==_0x1b32ff[_0x456dd8(0x211)]&&this[_0x456dd8(0x57e)](_0x1b32ff[_0x456dd8(0x211)])),(_0x4cb21e=this[_0x456dd8(0x37c)])!=null&&_0x4cb21e[_0x456dd8(0x250)]&&this[_0x456dd8(0x37c)][_0x456dd8(0x39c)]>0x0&&this['_urlImage']['naturalHeight']>0x0))return this['_urlImage'];}[_0x3c513e(0x57e)](_0x1c4ae3){const _0x301602=_0x3c513e;let _0x28be5d=document[_0x301602(0x2d5)](_0x301602(0x50c));this[_0x301602(0x25a)]=_0x28be5d,_0x28be5d[_0x301602(0x272)]=_0x301602(0x480),_0x28be5d[_0x301602(0x331)]=()=>{const _0x3a0ec7=_0x301602;this[_0x3a0ec7(0x325)]===_0x1c4ae3&&this[_0x3a0ec7(0x25a)]===_0x28be5d&&(_0x28be5d[_0x3a0ec7(0x39c)]>0x0&&_0x28be5d['naturalHeight']>0x0&&(this[_0x3a0ec7(0x340)]=_0x1c4ae3,this[_0x3a0ec7(0x37c)]=_0x28be5d),this[_0x3a0ec7(0x542)](),this[_0x3a0ec7(0x334)](!0x0));},_0x28be5d['onerror']=()=>{const _0x1450c7=_0x301602;this['_pendingUrlImage']===_0x28be5d&&this[_0x1450c7(0x542)]();},_0x28be5d[_0x301602(0x2c2)]=_0x1c4ae3;}[_0x3c513e(0x542)](){const _0x3f06c2=_0x3c513e;this[_0x3f06c2(0x25a)]&&=(this[_0x3f06c2(0x25a)][_0x3f06c2(0x331)]=null,this['_pendingUrlImage'][_0x3f06c2(0x346)]=null,null);}};function _0x102dfe(_0x5d3c82,_0xf8ac49,_0x17277e,_0x4be994){const _0x2b8e79=_0x3c513e;let _0xbae4af=Object[_0x2b8e79(0x496)](_0x5d3c82);return Object[_0x2b8e79(0x491)](_0xbae4af,'width',{'value':_0xf8ac49}),Object[_0x2b8e79(0x491)](_0xbae4af,_0x2b8e79(0x3f6),{'value':_0x17277e}),Object[_0x2b8e79(0x4d8)](_0x4be994)[_0x2b8e79(0x517)](_0x10d5a0=>{const _0x18aac0=_0x2b8e79;Object[_0x18aac0(0x491)](_0xbae4af,_0x10d5a0,{'value':_0x4be994[_0x10d5a0]});}),_0xbae4af;}function _0x42abcb(_0xb55909,_0x2e6651,_0x4da936,_0x3ff216){const _0x66a5d2=_0x3c513e;let _0x1bf573=Math['min'](_0x3ff216||0x0,_0x2e6651/0x2,_0x4da936/0x2);if(_0xb55909[_0x66a5d2(0x305)](),!_0x1bf573){_0xb55909[_0x66a5d2(0x451)](0x0,0x0,_0x2e6651,_0x4da936),_0xb55909[_0x66a5d2(0x218)]();return;}_0xb55909['moveTo'](_0x1bf573,0x0),_0xb55909[_0x66a5d2(0x464)](_0x2e6651-_0x1bf573,0x0),_0xb55909[_0x66a5d2(0x26a)](_0x2e6651-_0x1bf573,_0x1bf573,_0x1bf573,Math['PI']*0x3/0x2,0x0,!0x1),_0xb55909['lineTo'](_0x2e6651,_0x4da936-_0x1bf573),_0xb55909['arc'](_0x2e6651-_0x1bf573,_0x4da936-_0x1bf573,_0x1bf573,0x0,Math['PI']/0x2,!0x1),_0xb55909[_0x66a5d2(0x464)](_0x1bf573,_0x4da936),_0xb55909[_0x66a5d2(0x26a)](_0x1bf573,_0x4da936-_0x1bf573,_0x1bf573,Math['PI']/0x2,Math['PI'],!0x1),_0xb55909[_0x66a5d2(0x464)](0x0,_0x1bf573),_0xb55909[_0x66a5d2(0x26a)](_0x1bf573,_0x1bf573,_0x1bf573,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0xb55909['closePath']();}function _0x442d50(_0xb3a13d){const _0x19b7be=_0x3c513e;(_0xb3a13d==null?void 0x0:_0xb3a13d[_0x19b7be(0x572)])===_0x1e04b6[_0x19b7be(0x474)][_0x19b7be(0x308)]&&_0xb3a13d[_0x19b7be(0x204)][_0x19b7be(0x27f)]();}function _0x461055(_0x56a205){const _0x4cf96d=_0x3c513e;return _0x56a205[_0x4cf96d(0x4ec)]+_0x4cf96d(0x3a2)+_0x56a205[_0x4cf96d(0x46c)]+_0x4cf96d(0x3a2)+_0x56a205[_0x4cf96d(0x593)];}var _0x3de613=class extends _0x39ea90[_0x3c513e(0x32b)]{constructor(..._0x8c78a4){super(..._0x8c78a4),_0x2d2886(this,'_entries',new Map());}[_0x3c513e(0x58b)](_0x387873){const _0x284cca=_0x3c513e;let _0x1c4ed5=_0x461055(_0x387873),_0x5773c=this[_0x284cca(0x489)][_0x284cca(0x507)](_0x1c4ed5)??{'version':0x0};return _0x5773c[_0x284cca(0x432)]+=0x1,this[_0x284cca(0x489)][_0x284cca(0x45e)](_0x1c4ed5,_0x5773c),_0x5773c['version'];}[_0x3c513e(0x51c)](_0x1588e5,_0x2dadce){const _0x42e6d6=_0x3c513e;var _0x837d1e;return((_0x837d1e=this[_0x42e6d6(0x489)][_0x42e6d6(0x507)](_0x461055(_0x1588e5)))==null?void 0x0:_0x837d1e[_0x42e6d6(0x432)])===_0x2dadce;}[_0x3c513e(0x429)](_0x5bc5eb,_0x29a19f,_0x5146a4){const _0x319b55=_0x3c513e;if(!this[_0x319b55(0x51c)](_0x5bc5eb,_0x5146a4))return _0x442d50(_0x29a19f),!0x1;let _0x10659f=_0x461055(_0x5bc5eb),_0x1371c1=this[_0x319b55(0x489)][_0x319b55(0x507)](_0x10659f)??{'version':_0x5146a4},_0x3502fc=_0x1371c1[_0x319b55(0x427)];return _0x1371c1[_0x319b55(0x427)]=_0x29a19f,_0x1371c1[_0x319b55(0x432)]=_0x5146a4,this[_0x319b55(0x489)][_0x319b55(0x45e)](_0x10659f,_0x1371c1),_0x3502fc!==_0x29a19f&&_0x442d50(_0x3502fc),!0x0;}['getImage'](_0x1493aa){const _0x268673=_0x3c513e;var _0x3c9060;return(_0x3c9060=this[_0x268673(0x489)][_0x268673(0x507)](_0x461055(_0x1493aa)))==null?void 0x0:_0x3c9060[_0x268673(0x427)];}[_0x3c513e(0x3ed)](_0x9d1f6c){const _0x15e457=_0x3c513e;let _0x41707e=_0x461055(_0x9d1f6c),_0x24ce45=this['_entries']['get'](_0x41707e);_0x24ce45&&(_0x442d50(_0x24ce45['image']),this['_entries'][_0x15e457(0x573)](_0x41707e));}[_0x3c513e(0x2bd)](_0x387391){const _0xe6ba44=_0x3c513e;for(let [_0x385995,_0x8c75ca]of this['_entries'])_0x385995['endsWith'](_0xe6ba44(0x3a2)+_0x387391)&&(_0x442d50(_0x8c75ca[_0xe6ba44(0x427)]),this[_0xe6ba44(0x489)][_0xe6ba44(0x573)](_0x385995));}[_0x3c513e(0x564)](){const _0xa9b899=_0x3c513e;this[_0xa9b899(0x489)]['forEach'](_0x702ce3=>_0x442d50(_0x702ce3[_0xa9b899(0x427)])),this[_0xa9b899(0x489)]['clear'](),super[_0xa9b899(0x564)]();}};function _0x2d4fd9(_0x40c657,_0x11165c=0x7d0){let _0x4bbc11=null,_0xe76252=null,_0x143b2a=!0x1,_0x408051=()=>{},_0x4401da=()=>{_0x4bbc11!=null&&(clearInterval(_0x4bbc11),_0x4bbc11=null),_0xe76252!=null&&(clearTimeout(_0xe76252),_0xe76252=null);};return{'promise':new Promise((_0x30e910,_0x38f254)=>{_0x408051=_0x38f254;let _0x4b41db=()=>{const _0x325f25=_0x3bb2;let _0x4d1d5d=document[_0x325f25(0x249)](_0x40c657);_0x4d1d5d&&!_0x143b2a&&(_0x143b2a=!0x0,_0x4401da(),_0x30e910(_0x4d1d5d));};_0x4b41db(),!_0x143b2a&&(_0x4bbc11=setInterval(_0x4b41db,16.666666666666668),_0xe76252=setTimeout(()=>{const _0xf5d632=_0x3bb2;_0x143b2a||(_0x143b2a=!0x0,_0x4401da(),_0x38f254(Error(_0xf5d632(0x20d)+_0x40c657+'\x22.')));},_0x11165c));}),'cancel':()=>{const _0x2de0f2=_0x3bb2;_0x143b2a||(_0x143b2a=!0x0,_0x4401da(),_0x408051(Error(_0x2de0f2(0x384)+_0x40c657+'\x22.')));}};}var _0x5b65eb=class extends _0x39ea90[_0x3c513e(0x32b)]{constructor(_0x47e469,_0x81722,_0x4b0887,_0x1e29c5,_0x569f9c,_0x4ef405,_0x597c6a){const _0x227315=_0x3c513e;super(),this['chartId']=_0x47e469,this[_0x227315(0x1f0)]=_0x81722,this[_0x227315(0x2dd)]=_0x4b0887,this[_0x227315(0x29f)]=_0x1e29c5,this[_0x227315(0x2aa)]=_0x569f9c,this['_markReady']=_0x4ef405,this['_markNotReady']=_0x597c6a,_0x2d2886(this,_0x227315(0x500),_0x1e04b6[_0x227315(0x574)][_0x227315(0x31a)]),_0x2d2886(this,_0x227315(0x378),null),_0x2d2886(this,_0x227315(0x3af),!0x1),_0x2d2886(this,_0x227315(0x2bc),null),_0x2d2886(this,_0x227315(0x343),null),_0x2d2886(this,_0x227315(0x54e),null),_0x2d2886(this,_0x227315(0x504),{}),_0x2d2886(this,'_savedWrapperStyle',null),_0x2d2886(this,_0x227315(0x562),null);}[_0x3c513e(0x1e0)](){const _0x47b512=_0x3c513e;return this[_0x47b512(0x3af)];}['markUnmanaged'](){this['_managed']=!0x1;}['getRect'](){const _0x334630=_0x3c513e;let _0x5b3d7d=this[_0x334630(0x2dd)]();return _0x5b3d7d?{'width':_0x5b3d7d['width'],'height':_0x5b3d7d[_0x334630(0x3f6)]}:null;}['setStyle'](_0x25e8f7){const _0x21231c=_0x3c513e;this[_0x21231c(0x504)]=_0x25e8f7,this[_0x21231c(0x29f)](_0x25e8f7),this['_applyHostStyle']();}async['ensureHandle'](){const _0x3bf6b0=_0x3c513e;if(this[_0x3bf6b0(0x1ec)]||this[_0x3bf6b0(0x2aa)]())throw Error('Fail\x20to\x20create\x20float\x20dom');let _0x18fe33=this['_getFloatDomInfo'](),_0x436db2=(_0x18fe33==null?void 0x0:_0x18fe33[_0x3bf6b0(0x561)])??this['chartId'],_0x30e8c5=document[_0x3bf6b0(0x249)](_0x436db2);if(this[_0x3bf6b0(0x378)]&&_0x30e8c5!=null&&_0x30e8c5[_0x3bf6b0(0x3b4)](this[_0x3bf6b0(0x378)][_0x3bf6b0(0x3a9)]))return{'mountNode':this[_0x3bf6b0(0x378)][_0x3bf6b0(0x3a9)],'dispose':()=>{const _0x369240=_0x3bf6b0;this[_0x369240(0x564)](),_0x18fe33==null||_0x18fe33[_0x369240(0x564)][_0x369240(0x564)]();}};if(this['_pendingHost'])return this[_0x3bf6b0(0x343)];let _0x4e8cf8=this[_0x3bf6b0(0x493)]();return this[_0x3bf6b0(0x343)]=_0x4e8cf8,_0x4e8cf8['then'](()=>{const _0x2fa37f=_0x3bf6b0;this['_pendingHost']===_0x4e8cf8&&(this[_0x2fa37f(0x343)]=null);},()=>{const _0xbfc057=_0x3bf6b0;this[_0xbfc057(0x343)]===_0x4e8cf8&&(this[_0xbfc057(0x343)]=null);}),_0x4e8cf8;}async['ensureMount'](){const _0x3ed51c=_0x3c513e;try{return(await this[_0x3ed51c(0x55f)]())[_0x3ed51c(0x3a9)];}catch{return null;}}[_0x3c513e(0x52b)](){const _0x583f2f=_0x3c513e;let _0x2eadb9=this[_0x583f2f(0x1f0)](),_0xf63670=(_0x2eadb9==null?void 0x0:_0x2eadb9[_0x583f2f(0x561)])??this['chartId'],_0x2bda3c=document['getElementById'](_0xf63670);return!!(this[_0x583f2f(0x378)]&&_0x2bda3c!=null&&_0x2bda3c[_0x583f2f(0x3b4)](this[_0x583f2f(0x378)][_0x583f2f(0x3a9)]));}[_0x3c513e(0x28e)](){const _0x236104=_0x3c513e;if(!this[_0x236104(0x378)])return;let _0x51b986=this[_0x236104(0x2dd)]();_0x51b986&&this['_domFrame']['update'](this[_0x236104(0x244)](_0x51b986),this[_0x236104(0x2b2)]());}['markReady'](){const _0x2a515d=_0x3c513e;this[_0x2a515d(0x219)]();}['markNotReady'](){const _0x93cbd5=_0x3c513e;this[_0x93cbd5(0x200)]();}['setDataUpdateAnimation'](_0x24da1c){const _0x1a7b6c=_0x3c513e;this[_0x1a7b6c(0x562)]=_0x24da1c;let _0x10b51c=this[_0x1a7b6c(0x1f0)](),_0x5e24cb=document[_0x1a7b6c(0x249)]((_0x10b51c==null?void 0x0:_0x10b51c[_0x1a7b6c(0x561)])??this[_0x1a7b6c(0x593)]);_0x5e24cb&&this[_0x1a7b6c(0x27d)](_0x5e24cb);}[_0x3c513e(0x564)](){const _0x484e6b=_0x3c513e;var _0x2953cb;this[_0x484e6b(0x1ec)]||(this[_0x484e6b(0x470)](),this[_0x484e6b(0x2bc)]=null,this[_0x484e6b(0x343)]=null,this['_cancelHostWait'](),this[_0x484e6b(0x3af)]=!0x1,this[_0x484e6b(0x562)]=null,(_0x2953cb=this[_0x484e6b(0x378)])==null||_0x2953cb[_0x484e6b(0x564)](),this[_0x484e6b(0x378)]=null,this[_0x484e6b(0x4a5)](),super[_0x484e6b(0x564)]());}async['_createHost'](){const _0x2e6fb8=_0x3c513e;let _0x4473b1=this['_getFloatDomInfo']();if(!_0x4473b1)throw Error(_0x2e6fb8(0x362));let _0x23be79=_0x4473b1['domId']??this['chartId'],_0x582a44=_0x2d4fd9(_0x23be79),_0x2955bb=Symbol(this['chartId']);this['_pendingToken']=_0x2955bb,this[_0x2e6fb8(0x54e)]=_0x582a44;try{let _0x33fd46=await _0x582a44['promise'],_0xce950=this[_0x2e6fb8(0x1f0)](),_0x56246a=(_0xce950==null?void 0x0:_0xce950[_0x2e6fb8(0x561)])??this[_0x2e6fb8(0x593)];if(this[_0x2e6fb8(0x1ec)]||this['_isProviderDisposed']()||this[_0x2e6fb8(0x2bc)]!==_0x2955bb||!_0xce950||_0x56246a!==_0x23be79||document[_0x2e6fb8(0x249)](_0x23be79)!==_0x33fd46||!_0x33fd46[_0x2e6fb8(0x45d)])throw Error(_0x2e6fb8(0x362));let _0x5d561b=this[_0x2e6fb8(0x2dd)]();if(!_0x5d561b)throw Error(_0x2e6fb8(0x362));let _0x273f49=new _0x3289ff[(_0x2e6fb8(0x30a))](_0x33fd46);return _0x273f49[_0x2e6fb8(0x243)](this['_resolveLayout'](_0x5d561b),this['_frameStyle']()),this['_activateHostWrapper'](_0x33fd46),this['_domFrame']=_0x273f49,this[_0x2e6fb8(0x3af)]=!0x0,{'mountNode':_0x273f49[_0x2e6fb8(0x3a9)],'dispose':()=>{const _0x34bbc4=_0x2e6fb8;this[_0x34bbc4(0x564)](),_0x4473b1['dispose'][_0x34bbc4(0x564)]();}};}finally{this['_waiter']===_0x582a44&&(this[_0x2e6fb8(0x54e)]=null),this['_pendingToken']===_0x2955bb&&(this['_pendingToken']=null);}}[_0x3c513e(0x436)](){const _0x520e2c=_0x3c513e;let _0x50ca73=this[_0x520e2c(0x54e)];_0x50ca73&&(_0x50ca73[_0x520e2c(0x2b7)](),this[_0x520e2c(0x54e)]=null);}[_0x3c513e(0x324)](){const _0x57ce1f=_0x3c513e;let _0x4552de=this[_0x57ce1f(0x2dd)]();this[_0x57ce1f(0x378)]&&_0x4552de&&this['_domFrame'][_0x57ce1f(0x243)](this['_resolveLayout'](_0x4552de),this['_frameStyle']());}[_0x3c513e(0x244)](_0x498fb0){const _0x567d97=_0x3c513e;return _0x3289ff[_0x567d97(0x254)][_0x567d97(0x352)]({'logicalOuterRect':{'left':_0x498fb0[_0x567d97(0x412)],'top':_0x498fb0['top'],'width':_0x498fb0[_0x567d97(0x213)],'height':_0x498fb0[_0x567d97(0x3f6)]},'scale':{'scaleX':_0x498fb0[_0x567d97(0x315)],'scaleY':_0x498fb0[_0x567d97(0x264)]},'hostStyle':this[_0x567d97(0x2b2)](),'contentMode':_0x3289ff[_0x567d97(0x47e)][_0x567d97(0x42d)]});}[_0x3c513e(0x2b2)](){const _0xfcc4f7=_0x3c513e;return{...this[_0xfcc4f7(0x504)],'radius':_0x3289ff[_0xfcc4f7(0x3ea)]};}[_0x3c513e(0x369)](_0x5ecd74){const _0x354ff9=_0x3c513e;let _0x105701=_0x5ecd74[_0x354ff9(0x4af)];_0x105701&&(this['_savedWrapperStyle']||={'zIndex':_0x105701['style'][_0x354ff9(0x4a7)],'pointerEvents':_0x105701[_0x354ff9(0x38f)][_0x354ff9(0x446)]},_0x105701[_0x354ff9(0x38f)][_0x354ff9(0x4a7)]=_0x354ff9(0x55c),this[_0x354ff9(0x27d)](_0x5ecd74));}[_0x3c513e(0x27d)](_0x1ce766){const _0x354d54=_0x3c513e;let _0x2b8404=_0x1ce766[_0x354d54(0x4af)];if(!_0x2b8404)return;let _0x456f15=this[_0x354d54(0x562)];if(_0x456f15!=null){_0x1ce766[_0x354d54(0x4e5)][_0x354d54(0x2cb)]=_0x354d54(0x2b1),_0x1ce766[_0x354d54(0x4e5)][_0x354d54(0x34a)]=String(_0x456f15),_0x2b8404['style'][_0x354d54(0x446)]=_0x354d54(0x459);return;}delete _0x1ce766[_0x354d54(0x4e5)][_0x354d54(0x2cb)],delete _0x1ce766[_0x354d54(0x4e5)][_0x354d54(0x34a)],_0x2b8404[_0x354d54(0x38f)][_0x354d54(0x446)]=_0x354d54(0x51d);}[_0x3c513e(0x4a5)](){const _0x321f34=_0x3c513e;if(!this['_savedWrapperStyle'])return;let _0x565322=this[_0x321f34(0x1f0)](),_0x304863=(_0x565322==null?void 0x0:_0x565322['domId'])??this[_0x321f34(0x593)],_0x26adde=document['getElementById'](_0x304863);_0x26adde==null||delete _0x26adde[_0x321f34(0x4e5)][_0x321f34(0x2cb)],_0x26adde==null||delete _0x26adde[_0x321f34(0x4e5)][_0x321f34(0x34a)];let _0x5f1dfc=_0x26adde==null?void 0x0:_0x26adde[_0x321f34(0x4af)];_0x5f1dfc&&(_0x5f1dfc['style']['zIndex']=this[_0x321f34(0x1ce)][_0x321f34(0x4a7)],_0x5f1dfc[_0x321f34(0x38f)][_0x321f34(0x446)]=this['_savedWrapperStyle'][_0x321f34(0x446)]),this[_0x321f34(0x1ce)]=null;}},_0x45aeae=class extends _0x1e04b6[_0x3c513e(0x51a)]{constructor(_0x3ac219,_0x1c7a62,_0x11354a,_0x3a2eb8,_0x54a50c,_0x44a826){const _0x18d98a=_0x3c513e;super(_0x3ac219),this['_getOuterRect']=_0x1c7a62,this[_0x18d98a(0x29f)]=_0x11354a,this[_0x18d98a(0x416)]=_0x3a2eb8,this[_0x18d98a(0x267)]=_0x54a50c,this[_0x18d98a(0x43b)]=_0x44a826;}[_0x3c513e(0x2ab)](){const _0x226cec=_0x3c513e;let _0x4e1f2d=this[_0x226cec(0x391)]();return _0x4e1f2d?_0x12dcb8(_0x4e1f2d):null;}[_0x3c513e(0x242)](_0x4b8c8c){this['_setHostStyle'](_0x4b8c8c);}[_0x3c513e(0x58b)](){const _0x2cd2da=_0x3c513e;return this[_0x2cd2da(0x267)][_0x2cd2da(0x58b)](this[_0x2cd2da(0x416)]);}['commitSnapshot'](_0x3fb762,_0x1dc827){const _0x2afa31=_0x3c513e;return this[_0x2afa31(0x267)][_0x2afa31(0x429)](this[_0x2afa31(0x416)],_0x3fb762,_0x1dc827);}[_0x3c513e(0x522)](){this['_requestPaint']();}[_0x3c513e(0x297)](){const _0x94b625=_0x3c513e;this[_0x94b625(0x267)][_0x94b625(0x58b)](this[_0x94b625(0x416)]);}};function _0x420a6e(_0x3a23a3,_0xd1604f){return function(_0x5693bf,_0x490788){_0xd1604f(_0x5693bf,_0x490788,_0x3a23a3);};}function _0x2c620b(_0x146077,_0x1e3bc2,_0x54210b,_0x192e68){const _0x3e3242=_0x3c513e;var _0x208694=arguments[_0x3e3242(0x266)],_0x10db86=_0x208694<0x3?_0x1e3bc2:_0x192e68===null?_0x192e68=Object[_0x3e3242(0x2c0)](_0x1e3bc2,_0x54210b):_0x192e68,_0x209d31;if(typeof Reflect==_0x3e3242(0x54a)&&typeof Reflect[_0x3e3242(0x4e4)]=='function')_0x10db86=Reflect[_0x3e3242(0x4e4)](_0x146077,_0x1e3bc2,_0x54210b,_0x192e68);else{for(var _0x522450=_0x146077['length']-0x1;_0x522450>=0x0;_0x522450--)(_0x209d31=_0x146077[_0x522450])&&(_0x10db86=(_0x208694<0x3?_0x209d31(_0x10db86):_0x208694>0x3?_0x209d31(_0x1e3bc2,_0x54210b,_0x10db86):_0x209d31(_0x1e3bc2,_0x54210b))||_0x10db86);}return _0x208694>0x3&&_0x10db86&&Object[_0x3e3242(0x491)](_0x1e3bc2,_0x54210b,_0x10db86),_0x10db86;}let _0x69c520=0.5;function _0xaedd0e(_0x282f30){const _0x125034=_0x3c513e;let _0x2a42e6=Math[_0x125034(0x252)](_0x282f30[_0x125034(0x45b)]-_0x282f30[_0x125034(0x3f4)],0x0),_0x4a7c14=Math[_0x125034(0x252)](_0x282f30['endY']-_0x282f30[_0x125034(0x30f)],0x0),_0x238f4a=_0x282f30['absolute']['left']&&_0x282f30[_0x125034(0x213)]-_0x2a42e6>_0x69c520,_0x327208=_0x282f30[_0x125034(0x1dd)][_0x125034(0x433)]&&_0x282f30[_0x125034(0x3f6)]-_0x4a7c14>_0x69c520;return!_0x238f4a&&!_0x327208?_0x282f30:{..._0x282f30,'absolute':{'left':!_0x238f4a&&_0x282f30[_0x125034(0x1dd)][_0x125034(0x412)],'top':!_0x327208&&_0x282f30[_0x125034(0x1dd)][_0x125034(0x433)]}};}function _0x194d1c(_0x5611b8){const _0x2ef1c1=_0x3c513e;if(!Object['prototype']['hasOwnProperty'][_0x2ef1c1(0x295)](_0x5611b8,_0x2ef1c1(0x24c)))return _0x5611b8;let {border:_0x422f99,..._0x2355be}=_0x5611b8;return{..._0x2355be,'stroke':(_0x422f99==null?void 0x0:_0x422f99[_0x2ef1c1(0x4ee)])??_0x2ef1c1(0x4bc),'strokeWidth':(_0x422f99==null?void 0x0:_0x422f99['width'])??0x0};}let _0x5f23a1=class extends _0x39ea90[_0x3c513e(0x32b)]{constructor(_0x743d8f,_0x4432,_0x4e7277,_0x1101ed){const _0x31d1e3=_0x3c513e;super(),this[_0x31d1e3(0x397)]=_0x743d8f,this['_renderManagerService']=_0x4432,this['_chartSnapshotStoreService']=_0x4e7277,this['_canvasFloatDomService']=_0x1101ed,_0x2d2886(this,_0x31d1e3(0x375),new Map()),_0x2d2886(this,_0x31d1e3(0x53d),new Set()),_0x2d2886(this,_0x31d1e3(0x404),new _0x233567[(_0x31d1e3(0x549))]()),_0x2d2886(this,_0x31d1e3(0x330),this[_0x31d1e3(0x404)][_0x31d1e3(0x3d8)]()),this[_0x31d1e3(0x1d2)](this[_0x31d1e3(0x397)][_0x31d1e3(0x3bb)][_0x31d1e3(0x24e)](_0x24645d=>{const _0x167dbe=_0x31d1e3;let _0x35bd8c=this[_0x167dbe(0x375)][_0x167dbe(0x507)](_0x24645d['id']);_0x35bd8c!=null&&_0x35bd8c['isManaged']()&&(_0x35bd8c[_0x167dbe(0x28b)](),this[_0x167dbe(0x404)]['next'](_0x24645d['id']));}));}[_0x3c513e(0x528)](_0x24930f){const _0x648783=_0x3c513e;if(_0x24930f==null)return;let _0x151b5f=this[_0x648783(0x420)][_0x648783(0x288)](_0x24930f),_0x1b4068=_0x151b5f==null?void 0x0:_0x151b5f[_0x648783(0x42b)];return _0x151b5f==null||_0x1b4068==null?null:{'scene':_0x1b4068,'transformer':_0x1b4068['getTransformerByCreate'](),'renderUnit':_0x151b5f,'canvas':_0x151b5f[_0x648783(0x388)][_0x648783(0x22d)]()};}[_0x3c513e(0x2d6)](_0x59402c,_0x59e7a1){const _0x1b9485=_0x3c513e;let _0x512e62=this[_0x1b9485(0x397)],_0x22abdd=_0x59e7a1||'transparent',_0x420d41=_0x512e62[_0x1b9485(0x41f)](_0x59402c);if(_0x420d41){let {unitId:_0x43ee5b,subUnitId:_0x1e1332}=_0x420d41;_0x512e62[_0x1b9485(0x430)](_0x43ee5b,_0x1e1332,_0x59402c,{'stroke':_0x22abdd});}}[_0x3c513e(0x33e)](_0x39e487,_0x5886d6){const _0x308d94=_0x3c513e;let _0x4a6221=this[_0x308d94(0x397)],_0x58fc98=_0x4a6221[_0x308d94(0x41f)](_0x39e487);if(_0x58fc98){let {unitId:_0x2875be,subUnitId:_0x3d114f}=_0x58fc98;_0x4a6221[_0x308d94(0x430)](_0x2875be,_0x3d114f,_0x39e487,_0x194d1c(_0x5886d6));}}[_0x3c513e(0x275)](_0x1ec610){const _0x43c69a=_0x3c513e;let _0x194645=this[_0x43c69a(0x397)][_0x43c69a(0x41f)](_0x1ec610);return _0x194645?_0x194645[_0x43c69a(0x451)]:null;}[_0x3c513e(0x46d)](_0x18956f){const _0x245797=_0x3c513e;let _0xb3c4b7=this[_0x245797(0x397)][_0x245797(0x41f)](_0x18956f),_0x36eef0=document['getElementById']((_0xb3c4b7==null?void 0x0:_0xb3c4b7[_0x245797(0x561)])??_0x18956f);return(_0x36eef0==null?void 0x0:_0x36eef0[_0x245797(0x29c)]())??null;}[_0x3c513e(0x40a)](_0x5b6734,_0xb41743){const _0x1bc814=_0x3c513e;var _0x374d07;(_0x374d07=this[_0x1bc814(0x375)][_0x1bc814(0x507)](_0x5b6734))==null||_0x374d07['setDataUpdateAnimation'](_0xb41743);}[_0x3c513e(0x2e5)](_0x20bcd4){const _0x33dac1=_0x3c513e;var _0x340be4;return((_0x340be4=this[_0x33dac1(0x375)][_0x33dac1(0x507)](_0x20bcd4))==null?void 0x0:_0x340be4[_0x33dac1(0x52b)]())??!0x1;}[_0x3c513e(0x1fa)](_0x3e5ee4){const _0x1f167a=_0x3c513e;var _0x56ca02;(_0x56ca02=this[_0x1f167a(0x375)][_0x1f167a(0x507)](_0x3e5ee4))==null||_0x56ca02[_0x1f167a(0x28e)]();}[_0x3c513e(0x1cd)](_0x5d986f){const _0xee6f63=_0x3c513e;let _0x1b7b13=this['_chartHostMap']['get'](_0x5d986f);_0x1b7b13==null||_0x1b7b13[_0xee6f63(0x564)](),this[_0xee6f63(0x375)]['delete'](_0x5d986f);}async[_0x3c513e(0x44d)](_0x108609,_0x4c0d81){const _0x2086c6=_0x3c513e;if(_0x4c0d81===_0x1e04b6[_0x2086c6(0x574)]['Image'])return this['_createImageChartHost'](_0x108609);if(_0x4c0d81===_0x1e04b6[_0x2086c6(0x574)][_0x2086c6(0x31a)])return this[_0x2086c6(0x55e)](_0x108609);let _0x3ec028=this[_0x2086c6(0x55e)](_0x108609);if(!_0x3ec028)throw Error(_0x2086c6(0x362));return _0x3ec028[_0x2086c6(0x55f)]();}[_0x3c513e(0x592)](_0x550bf4){const _0x15b3c0=_0x3c513e;var _0x5977f;return this[_0x15b3c0(0x53d)][_0x15b3c0(0x276)](_0x550bf4)?(_0x5977f=this['_chartHostMap'][_0x15b3c0(0x507)](_0x550bf4))!=null&&_0x5977f[_0x15b3c0(0x52b)]()?!0x0:(this['_activeDomReadyChartIds']['delete'](_0x550bf4),this[_0x15b3c0(0x2b9)](_0x550bf4),!0x1):!0x1;}[_0x3c513e(0x546)](_0x1509c6){const _0x35f7e1=_0x3c513e;this[_0x35f7e1(0x53d)]['delete'](_0x1509c6)&&(this['_restoreFloatDomPositionStream'](_0x1509c6),this['_requestChartCanvasRender'](_0x1509c6));}['invalidateSnapshot'](_0x14415a){const _0x2a054c=_0x3c513e;let _0x57e281=this[_0x2a054c(0x4d9)](_0x14415a);_0x57e281&&this['_chartSnapshotStoreService']['nextVersion'](_0x57e281);}['_createImageChartHost'](_0x282129){const _0x3c24be=_0x3c513e;let _0x3d867e=this[_0x3c24be(0x4d9)](_0x282129);return!_0x3d867e||!this['getHostSize'](_0x282129)?null:new _0x45aeae(_0x282129,()=>this[_0x3c24be(0x275)](_0x282129),_0x5b6286=>this[_0x3c24be(0x33e)](_0x282129,_0x5b6286),_0x3d867e,this['_chartSnapshotStoreService'],()=>this[_0x3c24be(0x468)](_0x282129));}[_0x3c513e(0x55e)](_0x101975){const _0x1f83f0=_0x3c513e;if(!this[_0x1f83f0(0x275)](_0x101975))return null;this[_0x1f83f0(0x471)][_0x1f83f0(0x339)](_0x101975,{'contentBox':{'wrapperInset':0x0,'contentInset':0x0}});let _0x40ddc9=this['_chartHostMap'][_0x1f83f0(0x507)](_0x101975);if(_0x40ddc9)return _0x40ddc9;let _0x1d24e2=new _0x5b65eb(_0x101975,()=>this['_sheetCanvasFloatDomManagerService'][_0x1f83f0(0x41f)](_0x101975),()=>this[_0x1f83f0(0x307)](_0x101975),_0x210f30=>this[_0x1f83f0(0x33e)](_0x101975,_0x210f30),()=>this['_disposed'],()=>this[_0x1f83f0(0x484)](_0x101975),()=>this['markHostNotReady'](_0x101975));return this[_0x1f83f0(0x375)]['set'](_0x101975,_0x1d24e2),_0x1d24e2;}[_0x3c513e(0x484)](_0x41124e){const _0x2476d7=_0x3c513e;this[_0x2476d7(0x53d)][_0x2476d7(0x276)](_0x41124e)||(this[_0x2476d7(0x53d)][_0x2476d7(0x2c4)](_0x41124e),this[_0x2476d7(0x2c3)](_0x41124e),this[_0x2476d7(0x468)](_0x41124e));}[_0x3c513e(0x2c3)](_0x1e9e84){const _0x1009be=_0x3c513e;var _0x2f9d98;let _0x35c322=this[_0x1009be(0x397)]['getFloatDomInfo'](_0x1e9e84),_0x1c368a=_0x35c322?(_0x2f9d98=this[_0x1009be(0x420)][_0x1009be(0x288)](_0x35c322[_0x1009be(0x4ec)]))==null?void 0x0:_0x2f9d98[_0x1009be(0x42b)]:null;if(!_0x35c322||!_0x1c368a)return;let _0x20f4ed=(0x0,_0x233567[_0x1009be(0x231)])(_0x35c322[_0x1009be(0x34d)][_0x1009be(0x1ee)]((0x0,_0x233567[_0x1009be(0x377)])(0x1)),_0x1c368a['afterRender$'][_0x1009be(0x1ee)]((0x0,_0x233567[_0x1009be(0x4da)])(_0x35c322[_0x1009be(0x34d)]),(0x0,_0x233567[_0x1009be(0x3d7)])(([,_0x208745])=>_0x208745)))[_0x1009be(0x1ee)]((0x0,_0x233567['distinctUntilChanged'])(),(0x0,_0x233567['map'])(_0xaedd0e));this[_0x1009be(0x471)][_0x1009be(0x339)](_0x1e9e84,{'position$':_0x20f4ed});}[_0x3c513e(0x2b9)](_0x1eec65){let _0x314532=this['_sheetCanvasFloatDomManagerService']['getFloatDomInfo'](_0x1eec65);_0x314532&&this['_canvasFloatDomService']['updateFloatDom'](_0x1eec65,{'position$':_0x314532['position$']});}[_0x3c513e(0x4d9)](_0x209d57){const _0x639c1b=_0x3c513e;let _0x597ca9=this[_0x639c1b(0x397)][_0x639c1b(0x41f)](_0x209d57);return _0x597ca9?{'unitId':_0x597ca9[_0x639c1b(0x4ec)],'subUnitId':_0x597ca9[_0x639c1b(0x46c)],'chartId':_0x209d57}:null;}['_requestChartCanvasRender'](_0xa55a2a){const _0x103f12=_0x3c513e;var _0x33adca,_0x514485,_0x40d443;let _0x3a4372=this[_0x103f12(0x397)][_0x103f12(0x41f)](_0xa55a2a);if(!_0x3a4372)return;let _0x512e9f=(_0x33adca=this['_renderManagerService'][_0x103f12(0x288)](_0x3a4372['unitId']))==null?void 0x0:_0x33adca[_0x103f12(0x42b)],_0x319896=(_0x512e9f==null||(_0x514485=_0x512e9f[_0x103f12(0x43c)])==null?void 0x0:_0x514485[_0x103f12(0x295)](_0x512e9f,(0x0,_0x393073['getDrawingShapeKeyByDrawingSearch'])({'unitId':_0x3a4372[_0x103f12(0x4ec)],'subUnitId':_0x3a4372[_0x103f12(0x46c)],'drawingId':_0xa55a2a})))??(_0x512e9f==null?void 0x0:_0x512e9f[_0x103f12(0x4a2)]((0x0,_0x393073[_0x103f12(0x24d)])({'unitId':_0x3a4372['unitId'],'subUnitId':_0x3a4372[_0x103f12(0x46c)],'drawingId':_0xa55a2a})))??null;_0x319896==null||(_0x40d443=_0x319896[_0x103f12(0x334)])==null||_0x40d443[_0x103f12(0x295)](_0x319896,!0x0),_0x512e9f==null||_0x512e9f[_0x103f12(0x334)](!0x0);}[_0x3c513e(0x307)](_0xcf8095){const _0x76ae45=_0x3c513e;let _0x153ad5=this[_0x76ae45(0x397)][_0x76ae45(0x41f)](_0xcf8095);if(!_0x153ad5)return null;let _0x3fce77=this[_0x76ae45(0x528)](_0x153ad5['unitId']),_0x1dd979=_0x3fce77==null?void 0x0:_0x3fce77[_0x76ae45(0x42b)],_0x3f07c4=document[_0x76ae45(0x249)](_0x153ad5[_0x76ae45(0x561)]??_0xcf8095);return _0x1d85c7(_0x153ad5[_0x76ae45(0x451)],{'scaleX':(_0x1dd979==null?void 0x0:_0x1dd979[_0x76ae45(0x315)])??0x1,'scaleY':(_0x1dd979==null?void 0x0:_0x1dd979[_0x76ae45(0x264)])??0x1},_0x3f07c4?{'left':_0x3f07c4[_0x76ae45(0x2c6)],'top':_0x3f07c4[_0x76ae45(0x36b)]}:void 0x0);}[_0x3c513e(0x564)](){const _0x2a9211=_0x3c513e;this['_disposed']||(this[_0x2a9211(0x375)]['forEach'](_0x530846=>_0x530846['dispose']()),this[_0x2a9211(0x375)][_0x2a9211(0x1f4)](),this['_activeDomReadyChartIds'][_0x2a9211(0x1f4)](),this[_0x2a9211(0x404)]['complete'](),super[_0x2a9211(0x564)]());}};_0x5f23a1=_0x2c620b([_0x420a6e(0x0,(0x0,_0x39ea90[_0x3c513e(0x399)])(_0x545a31['SheetCanvasFloatDomManagerService'])),_0x420a6e(0x1,(0x0,_0x39ea90[_0x3c513e(0x399)])(_0x4330b5['IRenderManagerService'])),_0x420a6e(0x2,(0x0,_0x39ea90[_0x3c513e(0x399)])(_0x3de613)),_0x420a6e(0x3,(0x0,_0x39ea90[_0x3c513e(0x399)])(_0x120999[_0x3c513e(0x42a)]))],_0x5f23a1);let _0x1e2812=(0x0,_0x39ea90[_0x3c513e(0x4c3)])(_0x3c513e(0x2f3)),_0x3d332e=_0x1e04b6[_0x3c513e(0x574)][_0x3c513e(0x1fc)];var _0x5b3f65=class extends _0x1e04b6[_0x3c513e(0x51a)]{constructor(_0xf96795,_0x5918ef){const _0x263e36=_0x3c513e;super(_0xf96795),this['_rect']=_0x5918ef,_0x2d2886(this,'_version',0x0),_0x2d2886(this,_0x263e36(0x2a1),void 0x0),_0x2d2886(this,'style',{});}['getRect'](){const _0x3006ea=_0x3c513e;return this[_0x3006ea(0x3a1)];}[_0x3c513e(0x242)](_0x445f99){const _0x809a5c=_0x3c513e;this[_0x809a5c(0x38f)]=_0x445f99;}[_0x3c513e(0x58b)](){return++this['_version'];}[_0x3c513e(0x540)](_0x4100a1,_0x5af5fb){const _0x2a35c0=_0x3c513e;return _0x5af5fb===this[_0x2a35c0(0x30d)]?(_0x442d50(this['_image']),this[_0x2a35c0(0x2a1)]=_0x4100a1,!0x0):(_0x442d50(_0x4100a1),!0x1);}[_0x3c513e(0x522)](){}[_0x3c513e(0x297)](){const _0x4105d4=_0x3c513e;this[_0x4105d4(0x30d)]+=0x1;}[_0x3c513e(0x590)](){const _0x1822d5=_0x3c513e;let _0x18f14c=this[_0x1822d5(0x2a1)];return this[_0x1822d5(0x2a1)]=void 0x0,_0x18f14c;}['dispose'](){const _0x478124=_0x3c513e;_0x442d50(this[_0x478124(0x2a1)]),this[_0x478124(0x2a1)]=void 0x0,super[_0x478124(0x564)]();}};function _0x250241(_0x31528e,_0x26b3b7,_0x4225bf){const _0x5d2a70=_0x3c513e;let _0xafd916=_0x31528e['getRuntimeContext'](_0x26b3b7),_0x221871={..._0x31528e[_0x5d2a70(0x38f)],'runtime':{..._0xafd916,'layoutInset':0x8,..._0x4225bf===void 0x0?{}:{'addWatermark':_0x4225bf}},'direction':_0x26b3b7};return(0x0,_0x1e04b6[_0x5d2a70(0x49d)])(_0x221871,_0x31528e[_0x5d2a70(0x490)]);}let _0x5ecc7f=class extends _0x39ea90['Disposable']{constructor(_0x49b525,_0x6a11b9,_0x971164,_0x15c143,_0x50c32d,_0x2ee6de,_0x5d5263,_0xf86cfd,_0x29a29f,_0x5158cf,_0x1df682,_0x1a5fbf,_0x551a5e){const _0x2841bd=_0x3c513e;super(),this[_0x2841bd(0x26d)]=_0x49b525,this['_sheetCanvasFloatDomManagerService']=_0x6a11b9,this[_0x2841bd(0x460)]=_0x971164,this[_0x2841bd(0x3c9)]=_0x15c143,this['_univerInstanceService']=_0x50c32d,this['_renderManagerService']=_0x2ee6de,this['_localeService']=_0x5d5263,this[_0x2841bd(0x245)]=_0xf86cfd,this[_0x2841bd(0x359)]=_0x29a29f,this[_0x2841bd(0x208)]=_0x5158cf,this['_configService']=_0x1df682,this['_chartSnapshotStoreService']=_0x1a5fbf,this['_renderModelManager']=_0x551a5e,_0x2d2886(this,'_chartInstanceMap',new Map()),_0x2d2886(this,_0x2841bd(0x535),new Map()),_0x2d2886(this,_0x2841bd(0x364),new Map()),_0x2d2886(this,_0x2841bd(0x2ae),new Map()),_0x2d2886(this,_0x2841bd(0x48f),new Map()),_0x2d2886(this,_0x2841bd(0x538),new Map()),_0x2d2886(this,'_chartChangeSubscriptions',new Map()),_0x2d2886(this,_0x2841bd(0x41a),void 0x0),_0x2d2886(this,_0x2841bd(0x3d3),void 0x0),_0x2d2886(this,_0x2841bd(0x2be),new Map()),_0x2d2886(this,_0x2841bd(0x26e),new Set()),_0x2d2886(this,_0x2841bd(0x258),new Map()),_0x2d2886(this,_0x2841bd(0x3b0),null),_0x2d2886(this,_0x2841bd(0x53c),null);let _0x415279=(0x0,_0x517bbe[_0x2841bd(0x321)])(this[_0x2841bd(0x245)]),_0x1051d2=this[_0x2841bd(0x3b8)][_0x2841bd(0x453)](_0x517bbe['SHEETS_CHART_PLUGIN_CONFIG_KEY']);this[_0x2841bd(0x41a)]=(_0x1051d2==null?void 0x0:_0x1051d2[_0x2841bd(0x227)])??_0x3d332e,this[_0x2841bd(0x3d3)]=_0x415279[_0x2841bd(0x266)]!==0x1||_0x415279[0x0]!=='all',this[_0x2841bd(0x488)](),this[_0x2841bd(0x511)](),this[_0x2841bd(0x495)](),this[_0x2841bd(0x414)](),this[_0x2841bd(0x3f7)]();}[_0x3c513e(0x57b)](_0x28f96f){const _0x248a64=_0x3c513e;let _0x30eac4=this[_0x248a64(0x4d9)](_0x28f96f);return _0x30eac4?this[_0x248a64(0x3be)][_0x248a64(0x3fb)](_0x30eac4):void 0x0;}[_0x3c513e(0x466)](_0x2d88fe){const _0x3015b1=_0x3c513e;var _0x54e89b;return((_0x54e89b=this[_0x3015b1(0x460)]['activeChartModel'])==null?void 0x0:_0x54e89b['id'])===_0x2d88fe?_0x1e04b6[_0x3015b1(0x574)][_0x3015b1(0x31a)]:this[_0x3015b1(0x41a)];}['_getChartSnapshotKey'](_0xc61dff){const _0x1546f4=_0x3c513e;let _0x29edc2=this['_sheetCanvasFloatDomManagerService'][_0x1546f4(0x41f)](_0xc61dff);return _0x29edc2?{'unitId':_0x29edc2[_0x1546f4(0x4ec)],'subUnitId':_0x29edc2[_0x1546f4(0x46c)],'chartId':_0xc61dff}:null;}[_0x3c513e(0x488)](){const _0x56251b=_0x3c513e;this[_0x56251b(0x41a)]===_0x1e04b6[_0x56251b(0x574)][_0x56251b(0x1fc)]&&this[_0x56251b(0x1d2)](this[_0x56251b(0x397)]['registerRenderObjectFactory'](_0x39ea90['DrawingTypeEnum']['DRAWING_CHART'],({key:_0x1f31bf,config:_0x25d715,unitId:_0x36019d,subUnitId:_0x30017b,drawingId:_0x3d1d75})=>new _0x44badd(_0x1f31bf,_0x25d715,()=>this[_0x56251b(0x3be)]['getImage']({'unitId':_0x36019d,'subUnitId':_0x30017b,'chartId':_0x3d1d75}),()=>this['_chartHostProvider'][_0x56251b(0x592)](_0x3d1d75))));}[_0x3c513e(0x511)](){const _0x43c4da=_0x3c513e;this[_0x43c4da(0x1d2)](this['_chartModelService']['activeChartModel$']['subscribe'](_0x5840b6=>{const _0x334bdc=_0x43c4da;let _0x16e459=(_0x5840b6==null?void 0x0:_0x5840b6['id'])??null,_0x45a1b9=this[_0x334bdc(0x3b0)];_0x45a1b9!==_0x16e459&&(_0x45a1b9&&(this[_0x334bdc(0x26d)][_0x334bdc(0x546)](_0x45a1b9),this[_0x334bdc(0x396)](_0x45a1b9),this[_0x334bdc(0x3fc)](_0x45a1b9)),this['_activeChartId']=_0x16e459,_0x16e459&&(this[_0x334bdc(0x348)](_0x16e459),this[_0x334bdc(0x26d)][_0x334bdc(0x546)](_0x16e459),this[_0x334bdc(0x476)](_0x16e459),this[_0x334bdc(0x310)](_0x16e459)));}));}['_initDrawingDeactivationListener'](){const _0x152d68=_0x3c513e;this[_0x152d68(0x1d2)](this[_0x152d68(0x3c9)]['featurePluginGroupUpdate$'][_0x152d68(0x24e)](_0x3418d5=>{const _0x424193=_0x152d68;var _0x4b2748;let _0x1ef604=(_0x4b2748=this[_0x424193(0x460)][_0x424193(0x3cb)])==null?void 0x0:_0x4b2748['id'];_0x1ef604&&_0x3418d5[_0x424193(0x32c)](_0x5a7552=>_0x5a7552[_0x424193(0x36d)][_0x424193(0x32c)](_0x1a3b94=>_0x1a3b94[_0x424193(0x1fb)]===_0x1ef604))&&this[_0x424193(0x460)][_0x424193(0x554)](null);})),this[_0x152d68(0x1d2)](this['_drawingManagerService'][_0x152d68(0x2ef)][_0x152d68(0x24e)](_0x3b25d0=>{const _0x7bf247=_0x152d68;var _0x500d4a;let _0x3037b5=(_0x500d4a=this[_0x7bf247(0x460)][_0x7bf247(0x3cb)])==null?void 0x0:_0x500d4a['id'];_0x3037b5&&_0x3b25d0[_0x7bf247(0x32c)](_0x319757=>_0x319757[_0x7bf247(0x547)][_0x7bf247(0x1fb)]===_0x3037b5||_0x319757['children'][_0x7bf247(0x32c)](_0x49bbcb=>_0x49bbcb[_0x7bf247(0x1fb)]===_0x3037b5))&&this[_0x7bf247(0x460)]['setActiveChartModel'](null);}));}[_0x3c513e(0x414)](){const _0x4528fb=_0x3c513e;this[_0x4528fb(0x1d2)](this[_0x4528fb(0x3c9)][_0x4528fb(0x31d)]['subscribe'](_0x39a32d=>{const _0x204c1f=_0x4528fb;var _0xeb7674;let _0xc06f7a=(_0xeb7674=this[_0x204c1f(0x460)][_0x204c1f(0x3cb)])==null?void 0x0:_0xeb7674['id'];if(!_0xc06f7a){_0x39a32d['drawingIds'][_0x204c1f(0x517)](_0x21a42a=>{const _0x1fc8e6=_0x204c1f;this[_0x1fc8e6(0x460)][_0x1fc8e6(0x223)](_0x21a42a)&&this[_0x1fc8e6(0x396)](_0x21a42a);});return;}let _0x411b7e=this[_0x204c1f(0x397)]['getFloatDomInfo'](_0xc06f7a);(_0x411b7e==null?void 0x0:_0x411b7e['unitId'])===_0x39a32d[_0x204c1f(0x4ec)]&&_0x411b7e[_0x204c1f(0x46c)]===_0x39a32d['subUnitId']&&this['_applyActiveChartRuntimeZIndex'](_0xc06f7a);})),this['disposeWithMe'](this[_0x4528fb(0x3c9)]['add$'][_0x4528fb(0x24e)](_0x2542e1=>{const _0x5492bb=_0x4528fb;var _0x53a3c8;let _0x2d18fa=(_0x53a3c8=this[_0x5492bb(0x460)]['activeChartModel'])==null?void 0x0:_0x53a3c8['id'];if(!_0x2d18fa)return;let _0x33af8a=this[_0x5492bb(0x397)][_0x5492bb(0x41f)](_0x2d18fa);_0x33af8a&&_0x2542e1[_0x5492bb(0x32c)](_0x1db9b8=>_0x1db9b8[_0x5492bb(0x4ec)]===_0x33af8a[_0x5492bb(0x4ec)]&&_0x1db9b8[_0x5492bb(0x46c)]===_0x33af8a[_0x5492bb(0x46c)])&&this[_0x5492bb(0x476)](_0x2d18fa);})),this[_0x4528fb(0x1d2)](this['_chartModelService'][_0x4528fb(0x23a)][_0x4528fb(0x24e)](_0x4bfe98=>{const _0x2bbb3d=_0x4528fb;var _0x20aba9;this[_0x2bbb3d(0x24f)](_0x4bfe98),this[_0x2bbb3d(0x348)](_0x4bfe98),this['_lastRenderInputMap'][_0x2bbb3d(0x573)](_0x4bfe98),this[_0x2bbb3d(0x3be)][_0x2bbb3d(0x2bd)](_0x4bfe98),this[_0x2bbb3d(0x2f0)](_0x4bfe98),this[_0x2bbb3d(0x26d)][_0x2bbb3d(0x546)](_0x4bfe98),((_0x20aba9=this['_chartModelService'][_0x2bbb3d(0x3cb)])==null?void 0x0:_0x20aba9['id'])===_0x4bfe98?this[_0x2bbb3d(0x460)][_0x2bbb3d(0x554)](null):this[_0x2bbb3d(0x396)](_0x4bfe98),this[_0x2bbb3d(0x4b1)](_0x4bfe98);}));}['_rerenderLatest'](_0x29a6f5){const _0x269383=_0x3c513e;let _0x37f9a0=this[_0x269383(0x2be)][_0x269383(0x507)](_0x29a6f5);_0x37f9a0&&this[_0x269383(0x1c7)](_0x29a6f5,_0x37f9a0['config'],_0x37f9a0[_0x269383(0x38f)]);}['_disposeChartDomInstance'](_0x36c7c1){const _0xc1911d=_0x3c513e;let _0x5f1c87=this[_0xc1911d(0x317)]['get'](_0x36c7c1);(_0x5f1c87==null?void 0x0:_0x5f1c87[_0xc1911d(0x500)])===_0xc1911d(0x2f8)&&(this[_0xc1911d(0x3f0)](_0x36c7c1),_0x5f1c87['dispose'](),this[_0xc1911d(0x317)][_0xc1911d(0x573)](_0x36c7c1)),this[_0xc1911d(0x26d)][_0xc1911d(0x546)](_0x36c7c1),this[_0xc1911d(0x26d)][_0xc1911d(0x1cd)](_0x36c7c1);}['_disposeChartRenderInstance'](_0x40a47c){const _0xab1e82=_0x3c513e;let _0xb7971a=this['_chartInstanceMap'][_0xab1e82(0x507)](_0x40a47c);_0xb7971a&&(this[_0xab1e82(0x3f0)](_0x40a47c),_0xb7971a[_0xab1e82(0x564)](),this[_0xab1e82(0x317)][_0xab1e82(0x573)](_0x40a47c)),this[_0xab1e82(0x26d)][_0xab1e82(0x546)](_0x40a47c),this[_0xab1e82(0x26d)]['removeHost'](_0x40a47c);}[_0x3c513e(0x2f0)](_0x1c7196){const _0x51e815=_0x3c513e;var _0x21e2b8,_0x541cd2;(_0x21e2b8=this[_0x51e815(0x43f)][_0x51e815(0x1ca)](_0x1e04b6[_0x51e815(0x233)]))==null||(_0x541cd2=_0x21e2b8[_0x51e815(0x3a6)])==null||_0x541cd2[_0x51e815(0x295)](_0x21e2b8,_0x1c7196);}[_0x3c513e(0x21a)](_0xc96c8e,_0x4bb1cd){const _0x34bad7=_0x3c513e;let _0x123318=this[_0x34bad7(0x3c9)]['getDrawingData'](_0xc96c8e,_0x4bb1cd);Object[_0x34bad7(0x33f)](_0x123318??{})[_0x34bad7(0x517)](_0x389fd9=>{const _0x1c6429=_0x34bad7;_0x389fd9[_0x1c6429(0x21b)]===_0x39ea90[_0x1c6429(0x44e)]['DRAWING_CHART']&&this['_clearChartRuntimeCache'](_0x389fd9[_0x1c6429(0x1fb)]);});}['_getChartRenderObject'](_0x1dd36c,_0x13bffd){const _0x5e7123=_0x3c513e;var _0x2d9ac4;return((_0x2d9ac4=_0x1dd36c['getObjectIncludeInGroup'])==null?void 0x0:_0x2d9ac4[_0x5e7123(0x295)](_0x1dd36c,_0x13bffd))??_0x1dd36c[_0x5e7123(0x4a2)](_0x13bffd)??null;}['_getChartRenderObjectContext'](_0x13d7f4){const _0x26467b=_0x3c513e;var _0x4c86fd;let _0x57a7a2=this[_0x26467b(0x397)][_0x26467b(0x41f)](_0x13d7f4);if(!_0x57a7a2)return null;let _0x468982=(_0x4c86fd=this[_0x26467b(0x420)][_0x26467b(0x288)](_0x57a7a2[_0x26467b(0x4ec)]))==null?void 0x0:_0x4c86fd[_0x26467b(0x42b)];if(!_0x468982)return null;let _0x3922d1=this[_0x26467b(0x560)](_0x468982,(0x0,_0x393073[_0x26467b(0x24d)])({'unitId':_0x57a7a2[_0x26467b(0x4ec)],'subUnitId':_0x57a7a2[_0x26467b(0x46c)],'drawingId':_0x13d7f4}));return _0x3922d1?{'info':_0x57a7a2,'scene':_0x468982,'chartObject':_0x3922d1}:null;}[_0x3c513e(0x380)](_0x17e8ad,_0x2bd20b){const _0x3b89b8=_0x3c513e;var _0x11dddb,_0x45d557,_0x5c5811,_0x59ac24;let _0x45dd1a=this[_0x3b89b8(0x485)](_0x17e8ad);_0x45dd1a&&((_0x11dddb=(_0x45d557=_0x45dd1a[_0x3b89b8(0x3c3)])[_0x3b89b8(0x222)])==null||_0x11dddb['call'](_0x45d557,{'zIndex':_0x2bd20b}),(_0x5c5811=(_0x59ac24=_0x45dd1a[_0x3b89b8(0x3c3)])[_0x3b89b8(0x334)])==null||_0x5c5811[_0x3b89b8(0x295)](_0x59ac24,!0x0),_0x45dd1a['scene'][_0x3b89b8(0x334)](!0x0));}['_applyActiveChartRuntimeZIndex'](_0x15b7d9){const _0x3d6def=_0x3c513e;let _0x3f0ee1=this[_0x3d6def(0x397)][_0x3d6def(0x41f)](_0x15b7d9);if(!_0x3f0ee1)return;let _0xcd0b0d=this[_0x3d6def(0x3c9)][_0x3d6def(0x336)](_0x3f0ee1[_0x3d6def(0x4ec)],_0x3f0ee1[_0x3d6def(0x46c)]);this['_setChartRuntimeZIndex'](_0x15b7d9,_0xcd0b0d[_0x3d6def(0x266)]);}[_0x3c513e(0x396)](_0x5d971b){const _0x4d8e79=_0x3c513e;let _0x5bb32d=this[_0x4d8e79(0x397)][_0x4d8e79(0x41f)](_0x5d971b);if(!_0x5bb32d)return;let _0xddc9c8=this[_0x4d8e79(0x3c9)]['getDrawingOrder'](_0x5bb32d[_0x4d8e79(0x4ec)],_0x5bb32d[_0x4d8e79(0x46c)]),_0xc71667=_0xddc9c8[_0x4d8e79(0x23d)](_0x5d971b);this[_0x4d8e79(0x380)](_0x5d971b,_0xc71667===-0x1?Math['max'](_0xddc9c8[_0x4d8e79(0x266)]-0x1,0x0):_0xc71667);}['_resizeChart'](_0x4cb04f,_0x478193){const _0x387318=_0x3c513e;let _0x120917=this['_sheetCanvasFloatDomManagerService'][_0x387318(0x41f)](_0x4cb04f);if(_0x478193['width']!==void 0x0&&_0x478193[_0x387318(0x3f6)]!==void 0x0&&_0x120917){var _0x312c90;let {subUnitId:_0x2b9c66}=_0x120917,_0x30b4f5=(_0x312c90=this['_univerInstanceService'][_0x387318(0x26f)](_0x39ea90[_0x387318(0x579)]['UNIVER_SHEET']))==null?void 0x0:_0x312c90[_0x387318(0x379)]();if((_0x30b4f5==null?void 0x0:_0x30b4f5[_0x387318(0x487)]())===_0x2b9c66){let {width:_0x31df84,height:_0x8d866f}=_0x478193,_0x5638b3=this[_0x387318(0x460)][_0x387318(0x223)](_0x4cb04f),_0x1a6115=_0x5638b3==null?void 0x0:_0x5638b3['style'];if(Math[_0x387318(0x478)](_0x31df84-((_0x1a6115==null?void 0x0:_0x1a6115[_0x387318(0x213)])||0x0))>0x1||Math[_0x387318(0x478)](_0x8d866f-((_0x1a6115==null?void 0x0:_0x1a6115['height'])||0x0))>0x1){_0x5638b3==null||_0x5638b3[_0x387318(0x4bf)]({..._0x1a6115,'width':_0x31df84,'height':_0x8d866f});let _0x1b988c=this[_0x387318(0x317)][_0x387318(0x507)](_0x4cb04f);_0x1b988c&&(this[_0x387318(0x26d)][_0x387318(0x1fa)](_0x4cb04f),_0x1b988c[_0x387318(0x4f0)]());}}}}[_0x3c513e(0x2fb)](_0x5d5805,_0x5efbfc,_0x133484=0x0){const _0xd33221=_0x3c513e;let _0x3fe611=this[_0xd33221(0x538)]['get'](_0x5d5805);_0x3fe611||(_0x3fe611=(0x0,_0x39ea90[_0xd33221(0x598)])(_0x51aabf=>{const _0x5f2f5b=_0xd33221;this[_0x5f2f5b(0x2ce)](_0x5d5805,_0x51aabf);},_0x133484),this[_0xd33221(0x538)][_0xd33221(0x45e)](_0x5d5805,_0x3fe611)),_0x3fe611(_0x5efbfc);}[_0x3c513e(0x3f7)](){const _0x61c3ec=_0x3c513e;let _0x1539a4=this[_0x61c3ec(0x48f)],_0x3bb233=_0x1d1d3e=>{const _0x13171c=_0x61c3ec;if(!_0x1539a4['has'](_0x1d1d3e)){let _0x2231d5=(0x0,_0x39ea90['debounce'])((_0x35afea,_0x2c8586,_0xcd430d,_0x40bb45)=>{const _0x393d72=_0x3bb2;var _0x865200,_0x4bdafa;if(!_0xcd430d)return;(_0x865200=_0xcd430d[_0x393d72(0x467)])==null||_0x865200[_0x393d72(0x350)][_0x393d72(0x517)]((_0x297ad5,_0x356fc5)=>{const _0x5b4516=_0x393d72;_0x297ad5[_0x5b4516(0x395)]||=this[_0x5b4516(0x1d5)]['t']('sheets-chart-ui.common.category')+'\x20'+(_0x356fc5+0x1);}),_0xcd430d[_0x393d72(0x326)]['forEach']((_0x405462,_0xd9fce1)=>{const _0x4ee819=_0x393d72;_0x405462[_0x4ee819(0x4f5)]||=this[_0x4ee819(0x1d5)]['t'](_0x4ee819(0x49a))+'\x20'+(_0xd9fce1+0x1);});let _0x2453c5=this[_0x393d72(0x482)](_0x35afea,_0x40bb45),_0x321b89=(_0x4bdafa=this[_0x393d72(0x4e8)][_0x393d72(0x26f)](_0x39ea90[_0x393d72(0x579)]['UNIVER_SHEET']))==null?void 0x0:_0x4bdafa['getActiveSheet']();(_0x321b89==null?void 0x0:_0x321b89['getSheetId']())===_0x2c8586&&this['render'](_0x35afea['id'],_0xcd430d,_0x2453c5);},0x11);_0x1539a4[_0x13171c(0x45e)](_0x1d1d3e,_0x2231d5);}return _0x1539a4[_0x13171c(0x507)](_0x1d1d3e);};this[_0x61c3ec(0x1d2)](this[_0x61c3ec(0x4e8)]['focused$'][_0x61c3ec(0x24e)](_0x15e2bd=>{const _0x101bf8=_0x61c3ec;let _0x1f9989=this['_univerInstanceService'][_0x101bf8(0x26f)](_0x39ea90[_0x101bf8(0x579)]['UNIVER_SHEET']);if(_0x15e2bd&&_0x1f9989&&_0x1f9989['getUnitId']()===_0x15e2bd){var _0x127990;let _0x167b10=_0x1f9989[_0x101bf8(0x379)]()['getSheetId']();this[_0x101bf8(0x53c)]&&(this['_lastActiveSheet']['unitId']!==_0x15e2bd||this['_lastActiveSheet'][_0x101bf8(0x46c)]!==_0x167b10)&&this[_0x101bf8(0x21a)](this['_lastActiveSheet'][_0x101bf8(0x4ec)],this[_0x101bf8(0x53c)]['subUnitId']),this['_lastActiveSheet']={'unitId':_0x15e2bd,'subUnitId':_0x167b10};let _0x17c77e=this[_0x101bf8(0x3c9)][_0x101bf8(0x2e4)](_0x15e2bd,_0x167b10);if(!((_0x127990=this[_0x101bf8(0x420)]['getRenderUnitById'](_0x15e2bd))!=null&&_0x127990[_0x101bf8(0x28f)](_0x128e70[_0x101bf8(0x4fc)])['getSkeleton'](_0x167b10)))return;if(_0x17c77e)for(let _0x188d18 in _0x17c77e){let {drawingId:_0x2db8e2}=_0x17c77e[_0x188d18],_0x20d114=this[_0x101bf8(0x460)][_0x101bf8(0x223)](_0x2db8e2);_0x20d114&&_0x3bb233(_0x20d114['id'])(_0x20d114,_0x167b10,_0x20d114[_0x101bf8(0x43a)],this[_0x101bf8(0x1d5)][_0x101bf8(0x567)]());}}})),this[_0x61c3ec(0x1d2)](this[_0x61c3ec(0x208)][_0x61c3ec(0x400)]['subscribe'](()=>{const _0x52a1d6=_0x61c3ec;var _0x1d695e;let _0x2a6a97=this['_univerInstanceService']['getCurrentUnitOfType'](_0x39ea90['UniverInstanceType'][_0x52a1d6(0x398)]);if(!_0x2a6a97)return;let _0x22b4c9=_0x2a6a97[_0x52a1d6(0x57d)](),_0x4763e3=_0x2a6a97[_0x52a1d6(0x379)]()[_0x52a1d6(0x487)](),_0x12e3f6=this[_0x52a1d6(0x3c9)]['getDrawingData'](_0x22b4c9,_0x4763e3);if((_0x1d695e=this[_0x52a1d6(0x420)]['getRenderUnitById'](_0x22b4c9))!=null&&_0x1d695e[_0x52a1d6(0x28f)](_0x128e70[_0x52a1d6(0x4fc)])['getSkeleton'](_0x4763e3)&&_0x12e3f6)for(let _0x2c8016 in _0x12e3f6){let {drawingId:_0x3f1bae}=_0x12e3f6[_0x2c8016],_0x44cc5b=this[_0x52a1d6(0x460)][_0x52a1d6(0x223)](_0x3f1bae);_0x44cc5b&&_0x3bb233(_0x44cc5b['id'])(_0x44cc5b,_0x4763e3,_0x44cc5b[_0x52a1d6(0x43a)],this[_0x52a1d6(0x1d5)]['getDirection']());}})),this['disposeWithMe'](this[_0x61c3ec(0x3c9)][_0x61c3ec(0x576)][_0x61c3ec(0x24e)](_0x2d2c58=>{const _0x30cdc6=_0x61c3ec;_0x2d2c58[_0x30cdc6(0x517)](_0x4ef8f1=>{const _0x364b78=_0x30cdc6;var _0x258dcc;let {drawingId:_0x3d017a,unitId:_0x4f4081,subUnitId:_0x9159d6}=_0x4ef8f1,_0x5f0d55=this['_renderManagerService'][_0x364b78(0x288)](_0x4f4081);if((_0x5f0d55==null?void 0x0:_0x5f0d55[_0x364b78(0x572)])!==_0x39ea90[_0x364b78(0x579)][_0x364b78(0x398)]||!_0x5f0d55[_0x364b78(0x28f)](_0x128e70[_0x364b78(0x4fc)])[_0x364b78(0x37d)](_0x9159d6))return;let {drawingType:_0x54caa0}=this[_0x364b78(0x3c9)][_0x364b78(0x2dc)](_0x4ef8f1);if(_0x54caa0!==_0x39ea90['DrawingTypeEnum'][_0x364b78(0x497)])return;let _0x219f29=this[_0x364b78(0x397)][_0x364b78(0x41f)](_0x3d017a);this['_disposeChartChangeListeners'](_0x3d017a);let _0x4df8b8=new _0x39ea90[(_0x364b78(0x32b))]();this[_0x364b78(0x37b)][_0x364b78(0x45e)](_0x3d017a,_0x4df8b8);let _0x3f7b0f=(_0x219f29==null?void 0x0:_0x219f29[_0x364b78(0x561)])??_0x3d017a,_0x323ca3=_0x219f29==null?void 0x0:_0x219f29[_0x364b78(0x451)],_0x4cffd5=(_0x258dcc=this[_0x364b78(0x420)][_0x364b78(0x288)](_0x4f4081))==null?void 0x0:_0x258dcc[_0x364b78(0x42b)];_0x323ca3&&_0x4df8b8[_0x364b78(0x1d2)](_0x323ca3['onTransformChange$'][_0x364b78(0x3d4)](_0xc506af=>{const _0x21d16e=_0x364b78;let {type:_0x5392a8,value:_0x44b5ac}=_0xc506af;if(_0x4330b5[_0x21d16e(0x2a2)]['resize']===_0x5392a8||_0x4330b5[_0x21d16e(0x2a2)]['all']===_0x5392a8){let {width:_0x890ebf,height:_0x3b70ff}=_0x44b5ac;this[_0x21d16e(0x2fb)](_0x3d017a,{'width':_0x890ebf,'height':_0x3b70ff},0x64);}})),_0x4cffd5&&_0x4df8b8[_0x364b78(0x1d2)](_0x4cffd5[_0x364b78(0x4b4)][_0x364b78(0x3d4)](_0x495acc=>{const _0x4a87f9=_0x364b78;var _0x399381;_0x495acc[_0x4a87f9(0x572)]===_0x4330b5[_0x4a87f9(0x2a2)][_0x4a87f9(0x2df)]&&(_0x399381=document[_0x4a87f9(0x249)](_0x3f7b0f))!=null&&_0x399381[_0x4a87f9(0x386)](_0x4a87f9(0x228))&&this[_0x4a87f9(0x26d)][_0x4a87f9(0x1fa)](_0x3d017a);}));let _0x25ee6e=this[_0x364b78(0x460)][_0x364b78(0x223)](_0x3d017a);_0x25ee6e&&_0x4df8b8[_0x364b78(0x1d2)]((0x0,_0x233567[_0x364b78(0x292)])([_0x25ee6e[_0x364b78(0x39e)],_0x25ee6e[_0x364b78(0x3e2)],this[_0x364b78(0x1d5)]['direction$']])[_0x364b78(0x24e)](([_0x7423c4,_0x4e7865,_0x4d1f64])=>{_0x3bb233(_0x25ee6e['id'])(_0x25ee6e,_0x9159d6,_0x7423c4,_0x4d1f64);}));});})),this[_0x61c3ec(0x1d2)]((0x0,_0x233567[_0x61c3ec(0x292)])([this[_0x61c3ec(0x3c9)]['remove$']])[_0x61c3ec(0x24e)](([_0x46c849])=>{const _0x416e21=_0x61c3ec;_0x46c849[_0x416e21(0x517)](_0x4f0bd2=>{const _0x4438c7=_0x416e21;var _0x5ee1fc;let {drawingId:_0x2d5d6e}=_0x4f0bd2;this[_0x4438c7(0x24f)](_0x2d5d6e),((_0x5ee1fc=this['_chartModelService']['activeChartModel'])==null?void 0x0:_0x5ee1fc['id'])===_0x2d5d6e&&this['_chartModelService'][_0x4438c7(0x554)](null),this['_disposeChartEventSubscriptions'](_0x2d5d6e),this['_chartEventHandlers'][_0x4438c7(0x573)](_0x2d5d6e),this[_0x4438c7(0x26d)][_0x4438c7(0x546)](_0x2d5d6e),this[_0x4438c7(0x396)](_0x2d5d6e),this['_disposeChartRenderInstance'](_0x2d5d6e),this['_chartSnapshotStoreService'][_0x4438c7(0x2bd)](_0x2d5d6e),this[_0x4438c7(0x2f0)](_0x2d5d6e),this[_0x4438c7(0x2be)]['delete'](_0x2d5d6e),this[_0x4438c7(0x2ae)][_0x4438c7(0x573)](_0x2d5d6e);});}));}[_0x3c513e(0x23b)](_0x4af711,_0x24fa83){const _0x27df3e=_0x3c513e;var _0x1618a3;_0x24fa83?this[_0x27df3e(0x2ae)][_0x27df3e(0x45e)](_0x4af711,!0x0):this[_0x27df3e(0x2ae)]['delete'](_0x4af711),(_0x1618a3=this[_0x27df3e(0x317)][_0x27df3e(0x507)](_0x4af711))==null||_0x1618a3['setElementEditMode'](_0x24fa83);}async['exportImage'](_0x42ac6a,_0x218522){const _0x371bb9=_0x3c513e;var _0x1ab6e5;let _0x50ac9e=this[_0x371bb9(0x2be)][_0x371bb9(0x507)](_0x42ac6a),_0xb1af8b=(_0x1ab6e5=this['_sheetCanvasFloatDomManagerService'][_0x371bb9(0x41f)](_0x42ac6a))==null?void 0x0:_0x1ab6e5[_0x371bb9(0x451)];if(_0x50ac9e&&_0xb1af8b)return(await this[_0x371bb9(0x43f)][_0x371bb9(0x4c1)]({'chartId':_0x42ac6a,'config':_0x50ac9e[_0x371bb9(0x43a)],'style':_0x50ac9e['style'],'width':_0xb1af8b[_0x371bb9(0x213)],'height':_0xb1af8b[_0x371bb9(0x3f6)]},_0x218522))[_0x371bb9(0x238)];if((_0x218522==null?void 0x0:_0x218522[_0x371bb9(0x2e9)])===_0x1e04b6[_0x371bb9(0x3f8)][_0x371bb9(0x22c)])return;let _0x14fa27=this[_0x371bb9(0x1d3)](_0x42ac6a);return _0x14fa27?(0x0,_0x1e04b6[_0x371bb9(0x3bc)])(_0x14fa27):void 0x0;}['on'](_0x3a2c08,_0x1d8d52,_0x39561c){const _0x9728f6=_0x3c513e;let _0x20ca2d=this[_0x9728f6(0x535)][_0x9728f6(0x507)](_0x3a2c08);_0x20ca2d||(_0x20ca2d=new Map(),this[_0x9728f6(0x535)][_0x9728f6(0x45e)](_0x3a2c08,_0x20ca2d));let _0x2bbddb=_0x20ca2d['get'](_0x1d8d52);_0x2bbddb||(_0x2bbddb=new Set(),_0x20ca2d['set'](_0x1d8d52,_0x2bbddb)),_0x2bbddb[_0x9728f6(0x2c4)](_0x39561c);let _0x25d55c=this[_0x9728f6(0x317)]['get'](_0x3a2c08);return _0x25d55c&&this['_bindChartEventHandler'](_0x3a2c08,_0x25d55c,_0x1d8d52,_0x39561c),{'dispose':()=>{const _0x40f198=_0x9728f6;var _0x2fbcf4;(_0x2fbcf4=this[_0x40f198(0x535)][_0x40f198(0x507)](_0x3a2c08))==null||(_0x2fbcf4=_0x2fbcf4[_0x40f198(0x507)](_0x1d8d52))==null||_0x2fbcf4[_0x40f198(0x573)](_0x39561c),this[_0x40f198(0x2b0)](_0x3a2c08,_0x1d8d52,_0x39561c);}};}[_0x3c513e(0x1d3)](_0x2bf06e){const _0x1fb64f=_0x3c513e;let _0x254546=this['_univerInstanceService'][_0x1fb64f(0x26f)](_0x39ea90['UniverInstanceType'][_0x1fb64f(0x398)]),_0xcd0cce=_0x254546==null?void 0x0:_0x254546[_0x1fb64f(0x379)](),_0x3ae6f7=_0x254546==null?void 0x0:_0x254546[_0x1fb64f(0x57d)](),_0x514f8e=_0xcd0cce==null?void 0x0:_0xcd0cce[_0x1fb64f(0x487)]();if(_0x3ae6f7&&_0x514f8e)return this['_chartSnapshotStoreService'][_0x1fb64f(0x3fb)]({'unitId':_0x3ae6f7,'subUnitId':_0x514f8e,'chartId':_0x2bf06e});}[_0x3c513e(0x3c7)](_0x54464b,_0x2c2757){const _0x2fc31b=_0x3c513e;let _0x25a5be=this[_0x2fc31b(0x535)]['get'](_0x54464b);_0x25a5be&&_0x25a5be[_0x2fc31b(0x517)]((_0x3b1039,_0x1ff54a)=>{const _0x188ea6=_0x2fc31b;_0x3b1039['forEach'](_0x17931e=>this[_0x188ea6(0x408)](_0x54464b,_0x2c2757,_0x1ff54a,_0x17931e));});}[_0x3c513e(0x408)](_0x550346,_0x7e3ad5,_0x3d3e05,_0x378efe){const _0x422c31=_0x3c513e;let _0xcb44ec=this[_0x422c31(0x364)][_0x422c31(0x507)](_0x550346);_0xcb44ec||(_0xcb44ec=new Map(),this['_chartEventSubscriptions']['set'](_0x550346,_0xcb44ec));let _0x119ee7=_0xcb44ec[_0x422c31(0x507)](_0x3d3e05);_0x119ee7||(_0x119ee7=new Map(),_0xcb44ec[_0x422c31(0x45e)](_0x3d3e05,_0x119ee7)),!_0x119ee7[_0x422c31(0x276)](_0x378efe)&&_0x119ee7[_0x422c31(0x45e)](_0x378efe,_0x7e3ad5['on'](_0x3d3e05,_0x378efe));}[_0x3c513e(0x2b0)](_0x50bae8,_0x433a07,_0x26a13a){const _0x1a13b5=_0x3c513e;var _0x22adc7,_0xb909ab;let _0x1a09ab=(_0x22adc7=this[_0x1a13b5(0x364)][_0x1a13b5(0x507)](_0x50bae8))==null?void 0x0:_0x22adc7['get'](_0x433a07);_0x1a09ab==null||(_0xb909ab=_0x1a09ab[_0x1a13b5(0x507)](_0x26a13a))==null||_0xb909ab[_0x1a13b5(0x564)](),_0x1a09ab==null||_0x1a09ab[_0x1a13b5(0x573)](_0x26a13a);}[_0x3c513e(0x3f0)](_0x3bf91f){const _0x2eb53e=_0x3c513e;let _0x535bc8=this[_0x2eb53e(0x364)][_0x2eb53e(0x507)](_0x3bf91f);_0x535bc8==null||_0x535bc8[_0x2eb53e(0x517)](_0x38a0ec=>{const _0x3e3e32=_0x2eb53e;_0x38a0ec[_0x3e3e32(0x517)](_0x2028b5=>_0x2028b5[_0x3e3e32(0x564)]()),_0x38a0ec['clear']();}),this[_0x2eb53e(0x364)][_0x2eb53e(0x573)](_0x3bf91f);}[_0x3c513e(0x482)](_0x50cbc2,_0x3e5c10){const _0x3dfd0e=_0x3c513e;return _0x250241(_0x50cbc2,_0x3e5c10,this[_0x3dfd0e(0x3d3)]);}[_0x3c513e(0x1f1)](_0x9fde67){const _0x456be8=_0x3c513e;return this[_0x456be8(0x49c)](_0x9fde67)==null;}[_0x3c513e(0x49c)](_0x1909ea){const _0x34cfca=_0x3c513e;var _0x8f786c;let _0x19133e=this['_sheetCanvasFloatDomManagerService'][_0x34cfca(0x41f)](_0x1909ea);if(!_0x19133e)return _0x34cfca(0x3b6);let {subUnitId:_0x5a606e}=_0x19133e,_0x556bae=(_0x8f786c=this[_0x34cfca(0x4e8)][_0x34cfca(0x26f)](_0x39ea90[_0x34cfca(0x579)][_0x34cfca(0x398)]))==null?void 0x0:_0x8f786c['getActiveSheet']();if(!_0x556bae)return _0x34cfca(0x2fd);if(_0x556bae[_0x34cfca(0x487)]()!==_0x5a606e)return'inactive-sheet';}async[_0x3c513e(0x1c7)](_0x43ea86,_0x411364,_0xe301d3,_0xb0b040={}){const _0xe228fc=_0x3c513e;let _0x49db85=this[_0xe228fc(0x43f)]['getRenderModel'](_0x1e04b6[_0xe228fc(0x233)]);if(!_0x49db85)return;let _0x41f85d=this[_0xe228fc(0x2be)][_0xe228fc(0x507)](_0x43ea86);if(this['_lastRenderInputMap'][_0xe228fc(0x45e)](_0x43ea86,{'config':_0x411364,'style':_0xe301d3}),this[_0xe228fc(0x49c)](_0x43ea86))return;let {canAnimate:_0xfc5bf0,renderMode:_0x15cf0a,shouldStartTransientAnimation:_0x3bc1da,transientAnimationActive:_0x3931c2}=this[_0xe228fc(0x45f)](_0x43ea86,_0x41f85d!=null,_0xb0b040[_0xe228fc(0x49e)]===!0x0);if(_0x15cf0a===_0x1e04b6['ChartRenderMode']['Image'])this['_disposeChartDomInstance'](_0x43ea86);else{var _0x3d9970;this[_0xe228fc(0x26d)][_0xe228fc(0x297)](_0x43ea86),((_0x3d9970=this[_0xe228fc(0x460)][_0xe228fc(0x3cb)])==null?void 0x0:_0x3d9970['id'])===_0x43ea86&&this['_applyActiveChartRuntimeZIndex'](_0x43ea86);}let _0x302746=_0x15cf0a===_0x1e04b6[_0xe228fc(0x574)][_0xe228fc(0x1fc)]?_0x1e04b6[_0xe228fc(0x574)]['Image']:_0x1e04b6[_0xe228fc(0x574)][_0xe228fc(0x31a)],_0x44c00f=await this[_0xe228fc(0x26d)][_0xe228fc(0x44d)](_0x43ea86,_0x302746);if(!_0x44c00f){_0x3bc1da&&this[_0xe228fc(0x348)](_0x43ea86);return;}this[_0xe228fc(0x26d)]['setDataUpdateAnimation'](_0x43ea86,_0x3931c2?_0x1e04b6['CHART_DATA_UPDATE_ANIMATION_DURATION']:null);let _0x2c0c85=this[_0xe228fc(0x3a4)](_0x43ea86,_0x302746,_0x49db85);_0x2c0c85[_0xe228fc(0x1ea)](_0x44c00f);try{let _0x175656={'chartId':_0x43ea86,'config':_0x411364,'style':_0xe301d3};_0xfc5bf0&&_0x41f85d&&_0x2c0c85[_0xe228fc(0x1da)]?await _0x2c0c85[_0xe228fc(0x1da)]({'chartId':_0x43ea86,'config':_0x41f85d[_0xe228fc(0x43a)],'style':_0x41f85d['style']},_0x175656,{'duration':_0x1e04b6[_0xe228fc(0x3ec)]}):await _0x2c0c85[_0xe228fc(0x1c7)](_0x175656),await this[_0xe228fc(0x341)](_0x43ea86,_0x15cf0a,_0x2c0c85),_0xfc5bf0&&_0x3931c2&&this[_0xe228fc(0x4ac)](_0x43ea86);}catch(_0x240961){if(_0x3bc1da&&this[_0xe228fc(0x348)](_0x43ea86),_0x15cf0a!==_0x1e04b6['ChartRenderMode'][_0xe228fc(0x1fc)])throw _0x240961;}}async[_0x3c513e(0x341)](_0x44049c,_0x372310,_0x2b7655){const _0x596ae1=_0x3c513e;var _0x18cc0d;if(_0x372310!==_0x1e04b6['ChartRenderMode'][_0x596ae1(0x31a)]||((_0x18cc0d=this[_0x596ae1(0x460)][_0x596ae1(0x3cb)])==null?void 0x0:_0x18cc0d['id'])!==_0x44049c)return;let _0x64246b=await this[_0x596ae1(0x26d)]['ensureHost'](_0x44049c,_0x1e04b6[_0x596ae1(0x574)][_0x596ae1(0x1fc)]);if(!_0x64246b)return;let _0x2c8eff=_0x64246b['nextVersion']();try{let _0x53ebd6=await _0x2b7655['exportImg']();_0x53ebd6&&_0x64246b[_0x596ae1(0x540)]({'type':_0x1e04b6[_0x596ae1(0x474)][_0x596ae1(0x458)],'url':_0x53ebd6},_0x2c8eff)&&_0x64246b[_0x596ae1(0x522)]();}catch{}}[_0x3c513e(0x45f)](_0x3039da,_0xddacdc,_0x43f536){const _0x240ae7=_0x3c513e;let _0x433280=this[_0x240ae7(0x466)](_0x3039da),_0xc58733=_0x433280===_0x1e04b6['ChartRenderMode'][_0x240ae7(0x31a)]&&_0x43f536&&_0xddacdc&&this[_0x240ae7(0x392)](_0x3039da),_0x1f56ba=this['_dataUpdateAnimationChartIds'][_0x240ae7(0x276)](_0x3039da);return{'canAnimate':_0xc58733,'renderMode':_0x1f56ba?_0x1e04b6[_0x240ae7(0x574)][_0x240ae7(0x31a)]:_0x433280,'shouldStartTransientAnimation':!0x1,'transientAnimationActive':_0x1f56ba};}[_0x3c513e(0x392)](_0x4e43d5){const _0x50854c=_0x3c513e;var _0x47e330,_0x2b88e7,_0x1baef1,_0x5c69d1;if(typeof document>'u'||typeof window>'u'||document[_0x50854c(0x3ab)]===_0x50854c(0x3d0)||(_0x47e330=(_0x2b88e7=window)[_0x50854c(0x52e)])!=null&&(_0x47e330=_0x47e330[_0x50854c(0x295)](_0x2b88e7,_0x50854c(0x383)))!=null&&_0x47e330[_0x50854c(0x224)]||(_0x1baef1=(_0x5c69d1=window)[_0x50854c(0x52e)])!=null&&(_0x1baef1=_0x1baef1[_0x50854c(0x295)](_0x5c69d1,_0x50854c(0x337)))!=null&&_0x1baef1[_0x50854c(0x224)])return!0x1;let _0x536dd8=this[_0x50854c(0x26d)][_0x50854c(0x46d)](_0x4e43d5);return _0x536dd8!=null&&_0x536dd8[_0x50854c(0x213)]>0x0&&_0x536dd8[_0x50854c(0x3f6)]>0x0&&_0x536dd8[_0x50854c(0x462)]>0x0&&_0x536dd8[_0x50854c(0x565)]>0x0&&_0x536dd8[_0x50854c(0x412)]<window[_0x50854c(0x261)]&&_0x536dd8[_0x50854c(0x433)]<window['innerHeight'];}[_0x3c513e(0x4f1)](_0x3ae490){const _0xd9490c=_0x3c513e;let _0x102b79=this['_dataUpdateAnimationTimers'][_0xd9490c(0x507)](_0x3ae490);_0x102b79&&(clearTimeout(_0x102b79),this[_0xd9490c(0x258)][_0xd9490c(0x573)](_0x3ae490)),this[_0xd9490c(0x26e)]['add'](_0x3ae490),this[_0xd9490c(0x26d)][_0xd9490c(0x40a)](_0x3ae490,_0x1e04b6[_0xd9490c(0x3ec)]);}['_scheduleDataUpdateAnimationEnd'](_0x2e2866){const _0x27bda8=_0x3c513e;let _0x4b0a39=this[_0x27bda8(0x258)]['get'](_0x2e2866);_0x4b0a39&&clearTimeout(_0x4b0a39);let _0x205ee6=setTimeout(()=>{const _0x13f634=_0x27bda8;this[_0x13f634(0x258)][_0x13f634(0x573)](_0x2e2866),this[_0x13f634(0x26e)][_0x13f634(0x573)](_0x2e2866)&&(this['_chartHostProvider'][_0x13f634(0x40a)](_0x2e2866,null),this[_0x13f634(0x3fc)](_0x2e2866),this[_0x13f634(0x310)](_0x2e2866));},_0x1e04b6[_0x27bda8(0x3ec)]);this[_0x27bda8(0x258)]['set'](_0x2e2866,_0x205ee6);}[_0x3c513e(0x348)](_0x597d6c){const _0x2e7ef0=_0x3c513e;let _0x407a5b=this[_0x2e7ef0(0x258)][_0x2e7ef0(0x507)](_0x597d6c);_0x407a5b&&(clearTimeout(_0x407a5b),this[_0x2e7ef0(0x258)]['delete'](_0x597d6c)),this[_0x2e7ef0(0x26e)][_0x2e7ef0(0x573)](_0x597d6c),this[_0x2e7ef0(0x26d)][_0x2e7ef0(0x40a)](_0x597d6c,null);}async[_0x3c513e(0x56f)](_0x55ee87,_0xb84c5a,_0x560785){const _0x1afb07=_0x3c513e;let _0x492e18=this['_drawingManagerService'][_0x1afb07(0x2e4)](_0x55ee87,_0xb84c5a),_0x1688b5=this[_0x1afb07(0x3c9)][_0x1afb07(0x336)](_0x55ee87,_0xb84c5a),_0x1ff117=Object[_0x1afb07(0x33f)](_0x492e18??{})[_0x1afb07(0x3ca)](_0x1745ac=>_0x1745ac[_0x1afb07(0x21b)]===_0x39ea90[_0x1afb07(0x44e)][_0x1afb07(0x497)]&&_0x1745ac[_0x1afb07(0x3d0)]!==!0x0);await Promise['allSettled'](_0x1ff117[_0x1afb07(0x3d7)](async _0x2cb2a2=>{const _0xea1310=_0x1afb07;let _0x3b7517=await this[_0xea1310(0x322)](_0x2cb2a2,_0x1688b5);_0x3b7517&&(_0x560785[_0xea1310(0x44a)](_0x3b7517,_0x4330b5['DRAWING_OBJECT_LAYER_INDEX']),_0x2cb2a2['groupId']&&(0x0,_0xe620b7[_0xea1310(0x2d7)])({'drawingId':_0x2cb2a2['groupId'],'unitId':_0x55ee87,'subUnitId':_0xb84c5a},_0x3b7517,_0x560785,this[_0xea1310(0x3c9)]));}));}async['_createPrintingChartObject'](_0x2ee16e,_0x850be){const _0x1e73f4=_0x3c513e;let _0x5a707d=this[_0x1e73f4(0x460)][_0x1e73f4(0x223)](_0x2ee16e[_0x1e73f4(0x1fb)]),_0x22cbc7=this[_0x1e73f4(0x43f)][_0x1e73f4(0x1ca)](_0x1e04b6[_0x1e73f4(0x233)]),_0x1b56cf=_0x2ee16e[_0x1e73f4(0x4a0)],_0x4b84f5=_0x5a707d==null?void 0x0:_0x5a707d[_0x1e73f4(0x43a)];if(!_0x5a707d||!_0x22cbc7||!_0x1b56cf||!_0x4b84f5||_0x1b56cf['width']==null||_0x1b56cf[_0x1e73f4(0x3f6)]==null)return null;let _0x15fabb=new _0x5b3f65(_0x2ee16e[_0x1e73f4(0x1fb)],{'width':_0x1b56cf['width'],'height':_0x1b56cf[_0x1e73f4(0x3f6)]}),_0x2edc74=_0x22cbc7[_0x1e73f4(0x236)](_0x1e04b6['ChartRenderMode'][_0x1e73f4(0x1fc)],this['_createChartRenderInstanceContext']());_0x2edc74[_0x1e73f4(0x1ea)](_0x15fabb);let _0x33f349;try{await _0x2edc74[_0x1e73f4(0x1c7)]({'chartId':_0x2ee16e[_0x1e73f4(0x1fb)],'config':_0x4b84f5,'style':this[_0x1e73f4(0x482)](_0x5a707d,this[_0x1e73f4(0x1d5)][_0x1e73f4(0x567)]())});}catch(_0x3b58c7){console[_0x1e73f4(0x2c7)](_0x1e73f4(0x4a8),_0x3b58c7);}finally{_0x33f349=_0x15fabb['takeSnapshot'](),_0x2edc74[_0x1e73f4(0x564)](),_0x15fabb['dispose']();}let _0x39d33d=this[_0x1e73f4(0x3be)]['getImage']({'unitId':_0x2ee16e[_0x1e73f4(0x4ec)],'subUnitId':_0x2ee16e['subUnitId'],'chartId':_0x2ee16e[_0x1e73f4(0x1fb)]}),_0x54269a=_0x33f349??_0x39d33d;if(!_0x54269a)return null;let _0x46111b=_0x850be[_0x1e73f4(0x23d)](_0x2ee16e[_0x1e73f4(0x1fb)]);return new _0x44badd((0x0,_0x393073['getDrawingShapeKeyByDrawingSearch'])(_0x2ee16e),{..._0x1b56cf,..._0x545a31[_0x1e73f4(0x3cd)],..._0x194d1c(_0x15fabb[_0x1e73f4(0x38f)]),'visible':!0x0,'zIndex':_0x46111b===-0x1?Math[_0x1e73f4(0x252)](_0x850be[_0x1e73f4(0x266)]-0x1,0x0):_0x46111b},()=>_0x54269a,void 0x0,_0x33f349?()=>_0x442d50(_0x33f349):void 0x0);}['_getOrCreateChartRenderInstance'](_0x4d4a2b,_0x83b55b,_0x3fbd52){const _0x26d8e4=_0x3c513e;let _0x508998=this[_0x26d8e4(0x317)][_0x26d8e4(0x507)](_0x4d4a2b);if((_0x508998==null?void 0x0:_0x508998['mode'])===_0x83b55b)return _0x508998;_0x508998&&(this[_0x26d8e4(0x3f0)](_0x4d4a2b),_0x508998[_0x26d8e4(0x564)](),this[_0x26d8e4(0x317)][_0x26d8e4(0x573)](_0x4d4a2b));let _0x5a5dcf=_0x3fbd52['createChartInstance'](_0x83b55b,this['_createChartRenderInstanceContext']());return this['_chartInstanceMap']['set'](_0x4d4a2b,_0x5a5dcf),_0x5a5dcf[_0x26d8e4(0x23b)](this[_0x26d8e4(0x2ae)][_0x26d8e4(0x507)](_0x4d4a2b)===!0x0),this[_0x26d8e4(0x3c7)](_0x4d4a2b,_0x5a5dcf),_0x5a5dcf;}['_createChartRenderInstanceContext'](){const _0x5a9907=_0x3c513e;return{'resolveHostStyle':({style:_0x441aed})=>(0x0,_0x1e04b6[_0x5a9907(0x2d2)])({'style':_0x441aed,'getRenderColor':_0x51cc61=>this[_0x5a9907(0x359)][_0x5a9907(0x2de)](_0x51cc61)}),'resolveRenderBackgroundColor':({style:_0x2cabfa})=>this[_0x5a9907(0x359)][_0x5a9907(0x2de)]((0x0,_0x1e04b6['resolveChartStyleBackgroundColor'])(_0x2cabfa))};}['_disposeChartChangeListeners'](_0x493711){const _0x4fb47d=_0x3c513e;var _0x2eaf23,_0x116ff9,_0x5cd8a3;(_0x2eaf23=this[_0x4fb47d(0x37b)]['get'](_0x493711))==null||_0x2eaf23['dispose'](),this[_0x4fb47d(0x37b)][_0x4fb47d(0x573)](_0x493711),(_0x116ff9=this[_0x4fb47d(0x48f)]['get'](_0x493711))==null||_0x116ff9[_0x4fb47d(0x2b7)](),this[_0x4fb47d(0x48f)]['delete'](_0x493711),(_0x5cd8a3=this[_0x4fb47d(0x538)][_0x4fb47d(0x507)](_0x493711))==null||_0x5cd8a3[_0x4fb47d(0x2b7)](),this[_0x4fb47d(0x538)]['delete'](_0x493711);}[_0x3c513e(0x265)](){const _0xb5df76=_0x3c513e;this[_0xb5df76(0x48f)][_0xb5df76(0x517)](_0xe15588=>_0xe15588[_0xb5df76(0x2b7)]()),this[_0xb5df76(0x48f)]['clear'](),this[_0xb5df76(0x538)][_0xb5df76(0x517)](_0x64fe6d=>_0x64fe6d[_0xb5df76(0x2b7)]()),this[_0xb5df76(0x538)]['clear']();}[_0x3c513e(0x564)](){const _0x4f8d62=_0x3c513e;this[_0x4f8d62(0x37b)][_0x4f8d62(0x517)](_0x518294=>_0x518294[_0x4f8d62(0x564)]()),this['_chartChangeSubscriptions']['clear'](),this[_0x4f8d62(0x258)]['forEach'](_0x2abe87=>clearTimeout(_0x2abe87)),this[_0x4f8d62(0x258)][_0x4f8d62(0x1f4)](),this[_0x4f8d62(0x26e)]['clear'](),Array[_0x4f8d62(0x445)](this[_0x4f8d62(0x317)][_0x4f8d62(0x4d8)]())[_0x4f8d62(0x517)](_0x5c1a61=>this[_0x4f8d62(0x4b1)](_0x5c1a61)),this['_chartElementEditMode'][_0x4f8d62(0x1f4)](),this[_0x4f8d62(0x265)](),this[_0x4f8d62(0x2be)][_0x4f8d62(0x1f4)](),this[_0x4f8d62(0x3b0)]=null,this[_0x4f8d62(0x53c)]=null,super['dispose']();}};_0x5ecc7f=_0x2c620b([_0x420a6e(0x0,_0x1e2812),_0x420a6e(0x1,(0x0,_0x39ea90[_0x3c513e(0x399)])(_0x545a31[_0x3c513e(0x2b6)])),_0x420a6e(0x2,(0x0,_0x39ea90[_0x3c513e(0x399)])(_0x517bbe[_0x3c513e(0x428)])),_0x420a6e(0x3,_0x393073['IDrawingManagerService']),_0x420a6e(0x4,_0x39ea90[_0x3c513e(0x599)]),_0x420a6e(0x5,(0x0,_0x39ea90[_0x3c513e(0x399)])(_0x4330b5['IRenderManagerService'])),_0x420a6e(0x6,(0x0,_0x39ea90['Inject'])(_0x39ea90[_0x3c513e(0x263)])),_0x420a6e(0x7,(0x0,_0x39ea90[_0x3c513e(0x399)])(_0x39ea90['Injector'])),_0x420a6e(0x8,(0x0,_0x39ea90[_0x3c513e(0x399)])(_0x1e04b6[_0x3c513e(0x425)])),_0x420a6e(0x9,(0x0,_0x39ea90[_0x3c513e(0x399)])(_0x39ea90[_0x3c513e(0x4e9)])),_0x420a6e(0xa,_0x39ea90[_0x3c513e(0x225)]),_0x420a6e(0xb,(0x0,_0x39ea90['Inject'])(_0x3de613)),_0x420a6e(0xc,_0x1e04b6[_0x3c513e(0x285)])],_0x5ecc7f);let _0x1e2d2f=(0x0,_0x39ea90['createIdentifier'])(_0x3c513e(0x23c)),_0x54c185=class extends _0x3289ff[_0x3c513e(0x3ff)]{constructor(_0x7854c3,_0xc5fc9,_0x9a1a5d,_0x459b79,_0x11c8bf){const _0xe14a0a=_0x3c513e;super(_0x11c8bf),this[_0xe14a0a(0x460)]=_0x7854c3,this[_0xe14a0a(0x1e8)]=_0xc5fc9,this['_commandService']=_0x9a1a5d,this[_0xe14a0a(0x4e8)]=_0x459b79,_0x2d2886(this,_0xe14a0a(0x53f),!0x1),_0x2d2886(this,_0xe14a0a(0x281),new _0x233567['BehaviorSubject'](!0x1)),_0x2d2886(this,_0xe14a0a(0x26b),new _0x233567[(_0xe14a0a(0x29d))](null)),_0x2d2886(this,_0xe14a0a(0x4eb),this['_chartEditorOpen$']['asObservable']()),_0x2d2886(this,_0xe14a0a(0x2f2),this[_0xe14a0a(0x26b)]['asObservable']());}get[_0x3c513e(0x457)](){const _0x80dcaa=_0x3c513e;return this[_0x80dcaa(0x460)][_0x80dcaa(0x3cb)]??null;}get[_0x3c513e(0x49f)](){const _0x7e2500=_0x3c513e;return this['_chartEditorOpen$'][_0x7e2500(0x3c2)]();}get[_0x3c513e(0x1f5)](){const _0x1c4d84=_0x3c513e;return this[_0x1c4d84(0x53f)];}[_0x3c513e(0x566)](_0x36e7a0){const _0x280093=_0x3c513e;this[_0x280093(0x53f)]=_0x36e7a0;}[_0x3c513e(0x319)](_0x472c40){const _0x4a653a=_0x3c513e;this['_chartEditorOpen$'][_0x4a653a(0x3c2)]()!==_0x472c40&&this[_0x4a653a(0x281)][_0x4a653a(0x357)](_0x472c40);}[_0x3c513e(0x57a)](_0x5cf791){const _0x37b2cb=_0x3c513e;var _0x3d4002;return this['chartEditorOpen']&&((_0x3d4002=this[_0x37b2cb(0x460)][_0x37b2cb(0x3cb)])==null?void 0x0:_0x3d4002['id'])===_0x5cf791;}['setPanelRoute'](_0x5dabae,_0x3d570b){const _0x5f589b=_0x3c513e;this[_0x5f589b(0x26b)][_0x5f589b(0x357)]({'chartId':_0x5dabae,'route':_0x3d570b});}['clearPanelRoute'](){const _0xeb2403=_0x3c513e;this[_0xeb2403(0x26b)][_0xeb2403(0x357)](null);}[_0x3c513e(0x3cf)](_0x278ed0){const _0x4e615e=_0x3c513e;let _0x5b427e=this[_0x4e615e(0x460)]['activeChartModel'];_0x5b427e&&this['_executeChartUpdateSourceConfig']({'chartModelId':_0x5b427e['id'],'range':_0x278ed0});}[_0x3c513e(0x50b)](_0x5d0186){const _0x3d48f8=_0x3c513e;let _0x1b1d9d=this['_chartModelService'][_0x3d48f8(0x3cb)];if(!_0x1b1d9d)return;let _0x21a604=this['_sheetsChartService'][_0x3d48f8(0x551)](_0x1b1d9d['id']);if(!_0x21a604||Array['isArray'](_0x21a604))return;let _0x5ca8ab={..._0x21a604,'isRowDirection':_0x5d0186===_0x1e04b6[_0x3d48f8(0x332)][_0x3d48f8(0x4c6)]};this[_0x3d48f8(0x402)]({'chartModelId':_0x1b1d9d['id'],'range':_0x5ca8ab});}[_0x3c513e(0x503)](_0x24a5a5){const _0x3b353c=_0x3c513e;var _0x3fdbab;this[_0x3b353c(0x3f1)][_0x3b353c(0x53b)](_0x517bbe[_0x3b353c(0x58f)]['id'],{..._0x24a5a5,'unitId':((_0x3fdbab=this['_univerInstanceService'][_0x3b353c(0x300)]())==null?void 0x0:_0x3fdbab[_0x3b353c(0x57d)]())??''});}['_executeChartUpdateSourceConfig'](_0x58827a){const _0x18d78b=_0x3c513e;var _0xbb282b;this[_0x18d78b(0x3f1)][_0x18d78b(0x53b)](_0x517bbe['ChartUpdateSourceCommand']['id'],{..._0x58827a,'unitId':((_0xbb282b=this['_univerInstanceService']['getFocusedUnit']())==null?void 0x0:_0xbb282b['getUnitId']())??''});}[_0x3c513e(0x564)](){const _0x127842=_0x3c513e;this[_0x127842(0x281)]['complete'](),this[_0x127842(0x26b)]['complete'](),super[_0x127842(0x564)]();}};_0x54c185=_0x2c620b([_0x420a6e(0x0,(0x0,_0x39ea90['Inject'])(_0x517bbe[_0x3c513e(0x428)])),_0x420a6e(0x1,(0x0,_0x39ea90['Inject'])(_0x517bbe[_0x3c513e(0x41e)])),_0x420a6e(0x2,_0x39ea90[_0x3c513e(0x531)]),_0x420a6e(0x3,_0x39ea90[_0x3c513e(0x599)]),_0x420a6e(0x4,(0x0,_0x39ea90['Inject'])(_0x3289ff[_0x3c513e(0x3e9)]))],_0x54c185);var _0x4328fe;let _0xcfdc2={'axis':{..._0x3289ff[_0x3c513e(0x390)],'primaryGridLineVisible':!0x1,'secondaryGridLineVisible':!0x0},'funnel':_0x3289ff[_0x3c513e(0x4d7)],'heatmap':_0x3289ff[_0x3c513e(0x4be)],'indicatorLine':_0x3289ff[_0x3c513e(0x444)],'legend':_0x3289ff[_0x3c513e(0x2d4)],'lineAndArea':_0x3289ff[_0x3c513e(0x36f)],'pareto':_0x3289ff['DEFAULT_CHART_PARETO_VALUES'],'pie':_0x3289ff[_0x3c513e(0x372)],'relation':{..._0x3289ff[_0x3c513e(0x2db)],'useValueAsSymbolSize':!0x0},'radar':_0x3289ff[_0x3c513e(0x311)],'series':{..._0x3289ff[_0x3c513e(0x2cf)],'radarFillOpacity':0.2,'rightAxis':{'ltr':!0x1,'rtl':((_0x4328fe=_0x1e04b6['RTLChartStyle'][_0x3c513e(0x34e)])==null?void 0x0:_0x4328fe[_0x3c513e(0x25c)])??!0x1}},'style':_0x3289ff[_0x3c513e(0x4d6)],'titles':_0x3289ff['DEFAULT_CHART_TITLE_VALUES'],'trendline':_0x3289ff[_0x3c513e(0x1fd)],'waterfallStyle':_0x3289ff['DEFAULT_CHART_WATERFALL_STYLE_VALUES'],'wordCloud':_0x3289ff[_0x3c513e(0x53e)]},_0x2614c4=_0x51c6f2=>_0x51c6f2[_0x3c513e(0x26f)](_0x39ea90[_0x3c513e(0x579)]['UNIVER_SHEET'])['getUnitId'](),_0x3cee6d=_0x273401=>{const _0x26615b=_0x3c513e;var _0x4c6bd3;return(_0x4c6bd3=_0x273401[_0x26615b(0x26f)](_0x39ea90['UniverInstanceType'][_0x26615b(0x398)])[_0x26615b(0x379)]())==null?void 0x0:_0x4c6bd3[_0x26615b(0x487)]();},_0x2d87d9=()=>{const _0x2c6126=_0x3c513e;var _0x59a5b4;let _0x4d4c65=(0x0,_0x120999['useDependency'])(_0x1e2d2f),_0x3ca855=(0x0,_0x120999[_0x2c6126(0x411)])(_0x517bbe['ChartModelService']),_0x34be22=(0x0,_0x120999[_0x2c6126(0x411)])(_0x39ea90[_0x2c6126(0x263)]),_0x5197a4=(0x0,_0x120999[_0x2c6126(0x411)])(_0x39ea90['Injector']),_0x4acfa7=(0x0,_0x517bbe[_0x2c6126(0x321)])(_0x5197a4),_0x4dd3c3=(0x0,_0x48e4d2['useMemo'])(()=>{const _0x303394=_0x2c6126;let _0x550929=_0x42cbaf(_0x102ab1['concat'](),_0x4acfa7);return(0x0,_0x3289ff[_0x303394(0x4c7)])(_0x550929[_0x303394(0x3d7)](_0x4cc978=>({'id':_0x4cc978['id'],'label':_0x34be22['t'](_0x303394(0x28c)+_0x4cc978[_0x303394(0x4b6)]),'pieSecondaryPlotType':_0x4cc978[_0x303394(0x2f9)],'value':_0x4cc978['value']})));},[_0x4acfa7,_0x34be22]),_0x3af6fc=(0x0,_0x120999[_0x2c6126(0x4ef)])(_0x3ca855[_0x2c6126(0x1c3)],_0x3ca855[_0x2c6126(0x3cb)]),_0x474fc7=(0x0,_0x120999[_0x2c6126(0x4ef)])(_0x3af6fc==null?void 0x0:_0x3af6fc[_0x2c6126(0x31c)],_0x3af6fc==null?void 0x0:_0x3af6fc[_0x2c6126(0x563)]),_0x27dafd=(0x0,_0x120999[_0x2c6126(0x4ef)])(_0x3af6fc==null?void 0x0:_0x3af6fc[_0x2c6126(0x558)],_0x3af6fc==null?void 0x0:_0x3af6fc[_0x2c6126(0x1e5)]),_0xc321b6=(0x0,_0x120999[_0x2c6126(0x4ef)])(_0x27dafd==null?void 0x0:_0x27dafd['rangeInfo$'],_0x27dafd==null?void 0x0:_0x27dafd[_0x2c6126(0x283)]()),_0x389c40=Array[_0x2c6126(0x2bb)](_0xc321b6),_0x52e467=_0xc321b6&&!_0x389c40&&_0xc321b6[_0x2c6126(0x42f)]?_0x1e04b6['DataOrientation']['Row']:_0x1e04b6[_0x2c6126(0x332)][_0x2c6126(0x344)],_0x31e84a=_0x389c40?(_0x59a5b4=_0xc321b6[0x0])==null?void 0x0:_0x59a5b4['range']:_0xc321b6==null?void 0x0:_0xc321b6[_0x2c6126(0x38a)];return(0x0,_0x4bd19a['jsxs'])(_0x2c6126(0x4c8),{'className':_0x2c6126(0x232),'children':[(0x0,_0x4bd19a[_0x2c6126(0x43e)])(_0x3289ff[_0x2c6126(0x39d)],{'chartTypeOptions':_0x4dd3c3,'dataSourceControl':(0x0,_0x4bd19a[_0x2c6126(0x43e)])(_0x491d14,{'dataRange':_0xc321b6,'primaryRange':_0x31e84a}),'categoryToggleLabel':_0x34be22['t'](_0x2c6126(0x512),_0x52e467===_0x1e04b6['DataOrientation']['Row']?_0x52e467+'\x20'+(((_0x31e84a==null?void 0x0:_0x31e84a[_0x2c6126(0x509)][_0x2c6126(0x345)])??0x0)+0x1):_0x52e467+'\x20'+(0x0,_0x39ea90[_0x2c6126(0x54c)])((_0x31e84a==null?void 0x0:_0x31e84a['range']['startColumn'])??0x0)),'orientationControl':_0x389c40?void 0x0:(0x0,_0x4bd19a[_0x2c6126(0x43e)])(_0x462b7d[_0x2c6126(0x4c4)],{'size':'small','onClick':()=>_0x4d4c65[_0x2c6126(0x50b)](_0x52e467===_0x1e04b6[_0x2c6126(0x332)][_0x2c6126(0x4c6)]?_0x1e04b6[_0x2c6126(0x332)][_0x2c6126(0x344)]:_0x1e04b6['DataOrientation'][_0x2c6126(0x4c6)]),'children':_0x34be22['t'](_0x2c6126(0x580))})}),(0x0,_0x4bd19a[_0x2c6126(0x43e)])(_0x462b7d[_0x2c6126(0x21c)],{'checked':(_0x474fc7==null?void 0x0:_0x474fc7[_0x2c6126(0x596)])===!0x1,'disabled':!_0x3af6fc,'onChange':_0x495a8d=>{_0x3af6fc&&_0x4d4c65['executeChartUpdateConfig']({'chartModelId':_0x3af6fc['id'],'context':{'plotVisibleOnly':!_0x495a8d}});},'children':_0x34be22['t'](_0x2c6126(0x4d2))})]});};function _0x491d14(_0x1327d7){const _0x4cb31f=_0x3c513e;let {dataRange:_0x1c9b52,primaryRange:_0x143489}=_0x1327d7,_0x455095=(0x0,_0x120999[_0x4cb31f(0x411)])(_0x1e2d2f),_0x10f624=(0x0,_0x120999[_0x4cb31f(0x411)])(_0x39ea90[_0x4cb31f(0x263)]),_0x28eab3=(0x0,_0x120999[_0x4cb31f(0x411)])(_0x39ea90['IUniverInstanceService']),_0x40d4cb=(0x0,_0x120999[_0x4cb31f(0x411)])(_0x39ea90[_0x4cb31f(0x403)]),[_0x1b8ad7,_0x49a0b5]=(0x0,_0x48e4d2['useState'])(!0x1),[_0x573f81,_0xaf8e36]=(0x0,_0x48e4d2[_0x4cb31f(0x419)])(!0x1),[_0x576c3c,_0x3abf6a]=(0x0,_0x48e4d2['useState'])(),_0x4a4ac2=_0x2614c4(_0x28eab3),_0xbbc467=_0x3cee6d(_0x28eab3),_0x20abb0=_0x1c9b52?_0x5bf1ff(_0x1c9b52,_0x28eab3):'',_0x3f5dc0=(0x0,_0x48e4d2[_0x4cb31f(0x544)])(_0x20abb0),_0x43f61e=(0x0,_0x48e4d2[_0x4cb31f(0x544)])(void 0x0),_0x5aeb88=(0x0,_0x48e4d2[_0x4cb31f(0x544)])(null);(0x0,_0x48e4d2[_0x4cb31f(0x2d1)])(()=>{const _0x511ba5=_0x4cb31f;_0x455095[_0x511ba5(0x566)](_0x1b8ad7),_0x40d4cb[_0x511ba5(0x407)](_0x39ea90[_0x511ba5(0x2c5)],_0x1b8ad7);},[_0x40d4cb,_0x1b8ad7,_0x455095]),(0x0,_0x48e4d2[_0x4cb31f(0x2d1)])(()=>()=>{const _0x15fa8d=_0x4cb31f;_0x455095['setRangeSelectMode'](!0x1),_0x40d4cb['setContextValue'](_0x39ea90[_0x15fa8d(0x2c5)],!0x1);},[_0x40d4cb,_0x455095]);let _0x3f4701=(0x0,_0x48e4d2[_0x4cb31f(0x3de)])(_0x4fba45=>{const _0x39f9bb=_0x4cb31f;var _0x853cdd;if(_0x5bf1ff(_0x1c9b52,_0x28eab3)===_0x4fba45)return _0x3abf6a(void 0x0),!0x0;let _0x53332b=_0x4fba45[_0x39f9bb(0x4fa)](_0x23cc12['matchToken']['COMMA']);if(!_0x4fba45['trim']()||_0x53332b[_0x39f9bb(0x266)]!==0x1||!((_0x853cdd=_0x5aeb88[_0x39f9bb(0x486)])!=null&&_0x853cdd[_0x39f9bb(0x374)]()))return _0x3abf6a(_0x10f624['t'](_0x39f9bb(0x316))),!0x1;let {unitId:_0x4bfa58,sheetName:_0x502066,range:_0x3aedaf}=(0x0,_0x23cc12[_0x39f9bb(0x3f3)])(_0x53332b[0x0]),_0x2d7609=_0x4bfa58||_0x4a4ac2,_0x382b7e=_0x28eab3[_0x39f9bb(0x3cc)](_0x2d7609),_0x497c78=(_0x143489==null?void 0x0:_0x143489[_0x39f9bb(0x4ec)])===_0x2d7609?_0x143489[_0x39f9bb(0x46c)]:_0xbbc467,_0x1acc83=_0x502066?_0x382b7e==null?void 0x0:_0x382b7e['getSheetBySheetName'](_0x502066):_0x382b7e==null?void 0x0:_0x382b7e[_0x39f9bb(0x2f4)](_0x497c78??'');return!_0x382b7e||!_0x1acc83||!(0x0,_0x39ea90[_0x39f9bb(0x587)])(_0x3aedaf,_0x1acc83)?(_0x3abf6a(_0x10f624['t'](_0x39f9bb(0x316))),!0x1):(_0x3abf6a(void 0x0),_0x455095[_0x39f9bb(0x3cf)]({'rangeInfo':{'range':_0x3aedaf,'unitId':_0x2d7609,'subUnitId':_0x1acc83[_0x39f9bb(0x487)]()}}),!0x0);},[_0x1c9b52,_0x10f624,_0x143489,_0x455095,_0xbbc467,_0x4a4ac2,_0x28eab3]),_0x210d45=(0x0,_0x48e4d2['useMemo'])(()=>({'keyCodes':[{'keyCode':_0x120999[_0x4cb31f(0x46e)][_0x4cb31f(0x48b)],'nativeTextEditorBehavior':_0x120999[_0x4cb31f(0x541)][_0x4cb31f(0x513)]}],'handler':_0x2622c5=>{const _0x2da830=_0x4cb31f;_0x2622c5===_0x120999[_0x2da830(0x46e)][_0x2da830(0x48b)]&&_0x3f4701(_0x3f5dc0[_0x2da830(0x486)])&&(_0x43f61e[_0x2da830(0x486)]=_0x3f5dc0['current']);}}),[_0x3f4701]);return(0x0,_0x4bd19a[_0x4cb31f(0x43e)])(_0x4cb31f(0x4c8),{'className':_0x4cb31f(0x42c),'children':(0x0,_0x4bd19a[_0x4cb31f(0x209)])(_0x4cb31f(0x4c8),{'children':[(0x0,_0x4bd19a[_0x4cb31f(0x43e)])(_0x3289ff[_0x4cb31f(0x46f)],{'title':_0x10f624['t'](_0x4cb31f(0x44c))}),(0x0,_0x4bd19a[_0x4cb31f(0x43e)])(_0x53cc79[_0x4cb31f(0x518)],{'supportAcrossSheet':!0x0,'keepSheetReference':!0x0,'maxRangeCount':0x1,'unitId':_0x4a4ac2,'subUnitId':_0xbbc467,'initialValue':_0x20abb0,'keyboardEventConfig':_0x210d45,'selectorRef':_0x5aeb88,'onChange':(_0x4f0ca5,_0x1a9e38)=>{const _0x1041ea=_0x4cb31f;_0x3f5dc0[_0x1041ea(0x486)]=_0x1a9e38,_0x573f81&&_0x43f61e['current']!==_0x1a9e38&&_0x3f4701(_0x1a9e38)&&(_0x43f61e[_0x1041ea(0x486)]=_0x1a9e38);},'onFocusChange':(_0x17ee90,_0x29cda9)=>{const _0x19c08c=_0x4cb31f;if(_0x29cda9!==void 0x0&&(_0x3f5dc0['current']=_0x29cda9),_0x573f81||_0x49a0b5(_0x17ee90),_0x17ee90)_0x43f61e[_0x19c08c(0x486)]=_0x3f5dc0[_0x19c08c(0x486)];else{let _0x14f325=_0x43f61e['current'];_0x43f61e[_0x19c08c(0x486)]=void 0x0,_0x14f325!==void 0x0&&_0x3f5dc0[_0x19c08c(0x486)]!==_0x14f325&&_0x3f4701(_0x3f5dc0[_0x19c08c(0x486)]);}},'onRangeSelectorDialogVisibleChange':_0x408cdb=>{_0xaf8e36(_0x408cdb),_0x49a0b5(_0x408cdb);}}),_0x576c3c?(0x0,_0x4bd19a[_0x4cb31f(0x43e)])(_0x4cb31f(0x4c8),{'className':_0x4cb31f(0x241),'children':_0x576c3c}):null]})});}function _0x37145f(_0x358530){const _0x9bf91e=_0x3c513e;return(0x0,_0x4bd19a['jsxs'])(_0x3289ff[_0x9bf91e(0x226)],{'id':_0x358530['id'],'children':[(0x0,_0x4bd19a[_0x9bf91e(0x43e)])(_0x3289ff['ChartSectionAccordionTrigger'],{'children':_0x358530['label']}),(0x0,_0x4bd19a[_0x9bf91e(0x43e)])(_0x3289ff['ChartSectionAccordionContent'],{'children':_0x358530[_0x9bf91e(0x36d)]})]});}let _0x57de13=_0xd3ee75=>{const _0xd1ac6=_0x3c513e;let _0x17633c=(0x0,_0x120999[_0xd1ac6(0x411)])(_0x39ea90['LocaleService']),_0x237fc0=(0x0,_0x120999[_0xd1ac6(0x411)])(_0x1e2d2f),_0xf0d51a=(0x0,_0x120999[_0xd1ac6(0x411)])(_0x517bbe[_0xd1ac6(0x428)]),_0x4c146e=(0x0,_0x120999['useObservable'])(_0xf0d51a['activeChartModel$'],_0xf0d51a[_0xd1ac6(0x3cb)]),_0x473b0c=(0x0,_0x120999[_0xd1ac6(0x4ef)])(_0x237fc0['panelRoute$'],null),_0x2a21e3=_0x473b0c&&_0x473b0c[_0xd1ac6(0x593)]===(_0x4c146e==null?void 0x0:_0x4c146e['id'])?_0x473b0c[_0xd1ac6(0x586)]:null,_0x46e400=(0x0,_0x3289ff[_0xd1ac6(0x35b)])(),_0x310d89=(0x0,_0x3289ff[_0xd1ac6(0x38d)])(),[_0x52fbc2,_0x36c92d]=(0x0,_0x48e4d2[_0xd1ac6(0x419)])(null);(0x0,_0x48e4d2[_0xd1ac6(0x2d1)])(()=>{_0x2a21e3!=null&&_0x2a21e3['section']&&_0x36c92d(_0x2a21e3['section']);},[_0x2a21e3]);let _0x4c0b15=_0x1e04b6['chartBitsUtils'][_0xd1ac6(0x3c0)](_0x46e400,_0x1e04b6[_0xd1ac6(0x4f6)][_0xd1ac6(0x33c)]),_0x39bbd0=_0x46e400===_0x1e04b6[_0xd1ac6(0x4f6)][_0xd1ac6(0x49b)],_0x7127e6=_0x46e400===_0x1e04b6[_0xd1ac6(0x4f6)]['WordCloud'],_0x492e45=_0x46e400===_0x1e04b6[_0xd1ac6(0x4f6)][_0xd1ac6(0x1e4)],_0x2d22bd=_0x1e04b6['chartBitsUtils'][_0xd1ac6(0x3c0)](_0x46e400,_0x1e04b6[_0xd1ac6(0x4f6)][_0xd1ac6(0x277)]),_0x525f02=_0x46e400===_0x1e04b6[_0xd1ac6(0x4f6)][_0xd1ac6(0x4d4)],_0x495e28=_0x46e400===_0x1e04b6[_0xd1ac6(0x4f6)]['Waterfall'],_0x41dd4f=_0x46e400===_0x1e04b6['ChartTypeBits']['Pareto'],_0x3bfc9d=_0x46e400===_0x1e04b6['ChartTypeBits'][_0xd1ac6(0x501)],_0x369b6d,_0x1fa600;switch(_0x46e400){case _0x1e04b6[_0xd1ac6(0x4f6)][_0xd1ac6(0x4e0)]:_0x369b6d=_0x3289ff[_0xd1ac6(0x280)][_0xd1ac6(0x4e0)],_0x1fa600=_0x17633c['t'](_0xd1ac6(0x452));break;case _0x1e04b6[_0xd1ac6(0x4f6)][_0xd1ac6(0x35f)]:_0x369b6d=_0x3289ff[_0xd1ac6(0x280)]['Histogram'],_0x1fa600=_0x17633c['t'](_0xd1ac6(0x342));break;case _0x1e04b6[_0xd1ac6(0x4f6)][_0xd1ac6(0x282)]:_0x369b6d=_0x3289ff[_0xd1ac6(0x280)]['Treemap'],_0x1fa600=_0x17633c['t'](_0xd1ac6(0x2c8));break;case _0x1e04b6[_0xd1ac6(0x4f6)]['Sunburst']:_0x369b6d=_0x3289ff[_0xd1ac6(0x280)]['Sunburst'],_0x1fa600=_0x17633c['t'](_0xd1ac6(0x4d1));break;case _0x1e04b6[_0xd1ac6(0x4f6)][_0xd1ac6(0x256)]:_0x369b6d=_0x3289ff[_0xd1ac6(0x280)][_0xd1ac6(0x256)],_0x1fa600=_0x17633c['t'](_0xd1ac6(0x454));break;case _0x1e04b6[_0xd1ac6(0x4f6)][_0xd1ac6(0x217)]:_0x369b6d=_0x3289ff[_0xd1ac6(0x280)][_0xd1ac6(0x217)],_0x1fa600=_0x17633c['t'](_0xd1ac6(0x481));}let _0x1f695c=(0x0,_0x3289ff[_0xd1ac6(0x1e6)])(_0x46e400,_0x3289ff[_0xd1ac6(0x20c)][_0xd1ac6(0x1cb)])&&!_0x2d22bd&&!_0x41dd4f;return(0x0,_0x4bd19a['jsxs'])(_0x3289ff[_0xd1ac6(0x2a3)],{'value':_0x52fbc2,'onChange':_0x36c92d,'children':[(0x0,_0x4bd19a[_0xd1ac6(0x43e)])(_0x37145f,{'id':_0x3289ff['ChartEditPanelSection']['ChartStyle'],'label':_0x17633c['t']('sheets-chart-ui.common.chartStyle'),'children':(0x0,_0x4bd19a['jsx'])(_0x3289ff[_0xd1ac6(0x415)],{'defaultValues':_0xd3ee75[_0xd1ac6(0x31b)][_0xd1ac6(0x38f)]})}),(0x0,_0x4bd19a[_0xd1ac6(0x43e)])(_0x37145f,{'id':_0x3289ff[_0xd1ac6(0x280)]['ChartAndAxisTitles'],'label':_0x17633c['t'](_0xd1ac6(0x1c2)),'children':(0x0,_0x4bd19a[_0xd1ac6(0x43e)])(_0x3289ff[_0xd1ac6(0x2a8)],{'commitMode':_0xd1ac6(0x4b8),'defaultValues':_0xd3ee75[_0xd1ac6(0x31b)][_0xd1ac6(0x47a)],'selectedTitleKey':_0x2a21e3==null?void 0x0:_0x2a21e3[_0xd1ac6(0x401)]})}),_0x1f695c&&(0x0,_0x4bd19a[_0xd1ac6(0x43e)])(_0x37145f,{'id':_0x3289ff[_0xd1ac6(0x280)][_0xd1ac6(0x534)],'label':_0x17633c['t'](_0xd1ac6(0x27c)),'children':(0x0,_0x4bd19a[_0xd1ac6(0x43e)])(_0x3289ff[_0xd1ac6(0x4f7)],{'defaultValues':_0xd3ee75[_0xd1ac6(0x31b)][_0xd1ac6(0x326)],'NumberFormatField':_0x3289ff[_0xd1ac6(0x3db)],'selectedSeriesId':_0x2a21e3==null?void 0x0:_0x2a21e3[_0xd1ac6(0x370)]})}),_0x495e28&&(0x0,_0x4bd19a[_0xd1ac6(0x43e)])(_0x37145f,{'id':_0x3289ff[_0xd1ac6(0x280)][_0xd1ac6(0x41d)],'label':_0x17633c['t'](_0xd1ac6(0x4c9)),'children':(0x0,_0x4bd19a[_0xd1ac6(0x43e)])(_0x3289ff['ChartWaterfallStyleSection'],{'defaultValues':_0xd3ee75[_0xd1ac6(0x31b)][_0xd1ac6(0x1e1)],'getDefaultBucketName':({seriesName:_0x2b1052,target:_0x485803})=>_0x485803===_0x1e04b6[_0xd1ac6(0x502)][_0xd1ac6(0x229)]?_0x17633c['t'](_0xd1ac6(0x246)):_0x2b1052?_0x2b1052+'-('+_0x17633c['t'](_0x485803===_0x1e04b6[_0xd1ac6(0x502)][_0xd1ac6(0x552)]?'sheets-chart-ui.waterfall.positive':_0xd1ac6(0x269))+')':'','NumberFormatField':_0x3289ff[_0xd1ac6(0x3db)],'selectedSeriesId':_0x2a21e3==null?void 0x0:_0x2a21e3[_0xd1ac6(0x370)]})}),_0x41dd4f&&(0x0,_0x4bd19a[_0xd1ac6(0x209)])(_0x4bd19a['Fragment'],{'children':[(0x0,_0x4bd19a['jsx'])(_0x37145f,{'id':_0x3289ff[_0xd1ac6(0x280)][_0xd1ac6(0x38e)],'label':_0x17633c['t'](_0xd1ac6(0x255)),'children':(0x0,_0x4bd19a['jsx'])(_0x3289ff[_0xd1ac6(0x3e0)],{'defaultValues':_0xd3ee75[_0xd1ac6(0x31b)][_0xd1ac6(0x440)],'NumberFormatField':_0x3289ff[_0xd1ac6(0x3db)],'showDataPointEditor':!0x0,'target':_0xd1ac6(0x526)})}),(0x0,_0x4bd19a[_0xd1ac6(0x43e)])(_0x37145f,{'id':_0x3289ff[_0xd1ac6(0x280)]['ParetoLineSeries'],'label':_0x17633c['t']('sheets-chart-ui.section.paretoLine'),'children':(0x0,_0x4bd19a[_0xd1ac6(0x43e)])(_0x3289ff[_0xd1ac6(0x3e0)],{'defaultValues':_0xd3ee75['defaultValues'][_0xd1ac6(0x440)],'NumberFormatField':_0x3289ff[_0xd1ac6(0x3db)],'showDataPointEditor':!0x1,'target':'cumulativeLineStyle'})})]}),_0x4c0b15&&(0x0,_0x4bd19a[_0xd1ac6(0x43e)])(_0x37145f,{'id':_0x3289ff[_0xd1ac6(0x280)][_0xd1ac6(0x387)],'label':_0x17633c['t']('sheets-chart-ui.section.pie'),'children':(0x0,_0x4bd19a[_0xd1ac6(0x43e)])(_0x3289ff[_0xd1ac6(0x1de)],{'defaultValues':_0xd3ee75[_0xd1ac6(0x31b)][_0xd1ac6(0x2af)],'NumberFormatField':_0x3289ff[_0xd1ac6(0x3db)]})}),_0x7127e6&&(0x0,_0x4bd19a[_0xd1ac6(0x43e)])(_0x37145f,{'id':_0x3289ff[_0xd1ac6(0x280)][_0xd1ac6(0x35a)],'label':_0x17633c['t'](_0xd1ac6(0x2ec)),'children':(0x0,_0x4bd19a[_0xd1ac6(0x43e)])(_0x3289ff[_0xd1ac6(0x3c4)],{'defaultValues':_0xd3ee75[_0xd1ac6(0x31b)][_0xd1ac6(0x48c)]})}),_0x39bbd0&&(0x0,_0x4bd19a[_0xd1ac6(0x43e)])(_0x37145f,{'id':_0x3289ff[_0xd1ac6(0x280)]['Radar'],'label':_0x17633c['t'](_0xd1ac6(0x20b)),'children':(0x0,_0x4bd19a[_0xd1ac6(0x43e)])(_0x3289ff['ChartRadarStyleSection'],{'defaultValues':_0xd3ee75[_0xd1ac6(0x31b)][_0xd1ac6(0x230)]})}),_0x492e45&&(0x0,_0x4bd19a['jsx'])(_0x37145f,{'id':_0x3289ff[_0xd1ac6(0x280)]['Funnel'],'label':_0x17633c['t'](_0xd1ac6(0x21f)),'children':(0x0,_0x4bd19a[_0xd1ac6(0x43e)])(_0x3289ff[_0xd1ac6(0x2d0)],{'defaultValues':_0xd3ee75[_0xd1ac6(0x31b)]['funnel'],'gapControl':_0xd1ac6(0x1f7)})}),_0x3bfc9d&&(0x0,_0x4bd19a['jsx'])(_0x37145f,{'id':_0x3289ff[_0xd1ac6(0x280)][_0xd1ac6(0x501)],'label':_0x17633c['t'](_0xd1ac6(0x463)),'children':(0x0,_0x4bd19a[_0xd1ac6(0x43e)])(_0x3289ff['ChartHeatmapStyleSection'],{'defaultValues':_0xd3ee75['defaultValues'][_0xd1ac6(0x532)]})}),_0x525f02&&(0x0,_0x4bd19a[_0xd1ac6(0x43e)])(_0x37145f,{'id':_0x3289ff[_0xd1ac6(0x280)][_0xd1ac6(0x4d4)],'label':_0x17633c['t'](_0xd1ac6(0x1e3)),'children':(0x0,_0x4bd19a[_0xd1ac6(0x43e)])(_0x3289ff['ChartRelationStyleSection'],{'defaultValues':_0xd3ee75[_0xd1ac6(0x31b)][_0xd1ac6(0x318)]})}),(0x0,_0x3289ff[_0xd1ac6(0x1db)])(_0x46e400)&&(0x0,_0x4bd19a['jsx'])(_0x37145f,{'id':_0x3289ff['ChartEditPanelSection'][_0xd1ac6(0x4f3)],'label':_0x17633c['t'](_0xd1ac6(0x31e)),'children':(0x0,_0x4bd19a['jsx'])(_0x3289ff['ChartLineAndAreaSection'],{'defaultValues':_0xd3ee75[_0xd1ac6(0x31b)][_0xd1ac6(0x3dc)],'lineStyleControl':_0xd1ac6(0x212)})}),(0x0,_0x3289ff[_0xd1ac6(0x1e6)])(_0x46e400,_0x3289ff[_0xd1ac6(0x20c)][_0xd1ac6(0x536)])&&(0x0,_0x4bd19a['jsx'])(_0x37145f,{'id':_0x3289ff[_0xd1ac6(0x280)][_0xd1ac6(0x536)],'label':_0x17633c['t']('sheets-chart-ui.common.legend'),'children':(0x0,_0x4bd19a['jsx'])(_0x3289ff[_0xd1ac6(0x4b0)],{'defaultValues':_0xd3ee75[_0xd1ac6(0x31b)][_0xd1ac6(0x234)]})}),(0x0,_0x3289ff[_0xd1ac6(0x1e6)])(_0x46e400,_0x3289ff[_0xd1ac6(0x20c)][_0xd1ac6(0x2c1)])&&(0x0,_0x4bd19a['jsxs'])(_0x4bd19a[_0xd1ac6(0x3b2)],{'children':[(0x0,_0x4bd19a[_0xd1ac6(0x43e)])(_0x37145f,{'id':_0x3289ff[_0xd1ac6(0x280)][_0xd1ac6(0x216)],'label':_0x17633c['t'](_0xd1ac6(0x1d6)),'children':(0x0,_0x4bd19a['jsx'])(_0x3289ff[_0xd1ac6(0x3aa)],{'axis':'x','defaultValues':_0xd3ee75[_0xd1ac6(0x31b)][_0xd1ac6(0x4e7)],'NumberFormatField':_0x3289ff[_0xd1ac6(0x3db)]})}),(0x0,_0x4bd19a['jsx'])(_0x37145f,{'id':_0x3289ff['ChartEditPanelSection'][_0xd1ac6(0x299)],'label':_0x17633c['t'](_0xd1ac6(0x32a)),'children':(0x0,_0x4bd19a[_0xd1ac6(0x43e)])(_0x3289ff[_0xd1ac6(0x3aa)],{'axis':'y','defaultValues':_0xd3ee75['defaultValues'][_0xd1ac6(0x4e7)],'NumberFormatField':_0x3289ff[_0xd1ac6(0x3db)]})}),_0x310d89&&(0x0,_0x4bd19a[_0xd1ac6(0x43e)])(_0x37145f,{'id':_0x3289ff[_0xd1ac6(0x280)]['RightVerticalAxis'],'label':_0x17633c['t'](_0xd1ac6(0x284)),'children':(0x0,_0x4bd19a[_0xd1ac6(0x43e)])(_0x3289ff[_0xd1ac6(0x3aa)],{'axis':_0xd1ac6(0x3d5),'defaultValues':_0xd3ee75[_0xd1ac6(0x31b)][_0xd1ac6(0x4e7)],'NumberFormatField':_0x3289ff[_0xd1ac6(0x3db)]})}),(0x0,_0x4bd19a[_0xd1ac6(0x43e)])(_0x37145f,{'id':_0x3289ff[_0xd1ac6(0x280)][_0xd1ac6(0x1d7)],'label':_0x17633c['t'](_0xd1ac6(0x323)),'children':(0x0,_0x4bd19a['jsx'])(_0x3289ff[_0xd1ac6(0x2bf)],{'defaultValues':_0xd3ee75[_0xd1ac6(0x31b)]['axis']})})]}),(0x0,_0x3289ff[_0xd1ac6(0x1e6)])(_0x46e400,_0x3289ff['ChartEditorCapability']['IndicatorLine'])&&(0x0,_0x4bd19a[_0xd1ac6(0x43e)])(_0x37145f,{'id':_0x3289ff[_0xd1ac6(0x280)][_0xd1ac6(0x353)],'label':_0x17633c['t'](_0xd1ac6(0x523)),'children':(0x0,_0x4bd19a[_0xd1ac6(0x43e)])(_0x3289ff['ChartIndicatorLineSection'],{'defaultValues':_0xd3ee75[_0xd1ac6(0x31b)]['indicatorLine']})}),(0x0,_0x1e04b6[_0xd1ac6(0x3e3)])(_0x46e400)&&(0x0,_0x4bd19a[_0xd1ac6(0x43e)])(_0x37145f,{'id':_0x3289ff['ChartEditPanelSection'][_0xd1ac6(0x3df)],'label':_0x17633c['t'](_0xd1ac6(0x289)),'children':(0x0,_0x4bd19a[_0xd1ac6(0x43e)])(_0x3289ff[_0xd1ac6(0x439)],{'defaultValues':_0xd3ee75[_0xd1ac6(0x31b)][_0xd1ac6(0x302)]})}),_0x369b6d&&_0x1fa600&&(0x0,_0x4bd19a['jsx'])(_0x37145f,{'id':_0x369b6d,'label':_0x1fa600,'children':(0x0,_0x4bd19a[_0xd1ac6(0x43e)])(_0x3289ff[_0xd1ac6(0x4c0)],{})})]});};function _0x3103f4(_0x3cae2e){const _0x55ff0c=_0x3c513e;let {className:_0x3d589d}=_0x3cae2e,[_0xa562ac,_0x3127c8]=(0x0,_0x48e4d2[_0x55ff0c(0x419)])(_0x3289ff[_0x55ff0c(0x44b)][_0x55ff0c(0x2a6)]),_0x48adf7=(0x0,_0x120999[_0x55ff0c(0x411)])(_0x39ea90[_0x55ff0c(0x29e)]),_0x3694ac=(0x0,_0x120999[_0x55ff0c(0x411)])(_0x39ea90['LocaleService']),_0x59a64f=(0x0,_0x120999['useDependency'])(_0x1e2d2f),_0x140abc=(0x0,_0x120999[_0x55ff0c(0x411)])(_0x517bbe[_0x55ff0c(0x428)]),_0x11d596=(0x0,_0x120999[_0x55ff0c(0x411)])(_0x517bbe[_0x55ff0c(0x41e)]),_0x154da7=(0x0,_0x120999[_0x55ff0c(0x4ef)])(_0x140abc[_0x55ff0c(0x1c3)],_0x140abc[_0x55ff0c(0x3cb)]),_0x5c1425=(0x0,_0x120999[_0x55ff0c(0x4ef)])(_0x59a64f[_0x55ff0c(0x2f2)],null),_0x29fe02=(0x0,_0x48e4d2['useMemo'])(()=>{const _0x360e59=_0x55ff0c;var _0x583d9a;if(!_0x154da7)return null;let _0x310a88=_0x11d596[_0x360e59(0x551)](_0x154da7['id']);if(!_0x310a88)return null;let _0x18d815=Array[_0x360e59(0x2bb)](_0x310a88)?(_0x583d9a=_0x310a88[0x0])==null?void 0x0:_0x583d9a[_0x360e59(0x509)]:_0x310a88[_0x360e59(0x38a)];return _0x18d815?new _0x3289ff[(_0x360e59(0x1c4))](_0x154da7,new _0x517bbe[(_0x360e59(0x4ed))]({'unitId':_0x18d815[_0x360e59(0x4ec)],'subUnitId':_0x18d815[_0x360e59(0x46c)],'chartId':_0x154da7['id'],'injector':_0x48adf7})):null;},[_0x154da7,_0x48adf7,_0x11d596]);if((0x0,_0x48e4d2[_0x55ff0c(0x2d1)])(()=>{const _0x824e8e=_0x55ff0c;var _0x4d3bf0,_0x109e06;_0x154da7&&(_0x5c1425==null?void 0x0:_0x5c1425[_0x824e8e(0x593)])===_0x154da7['id']&&(((_0x4d3bf0=_0x5c1425[_0x824e8e(0x586)])==null?void 0x0:_0x4d3bf0[_0x824e8e(0x240)])===_0x3289ff[_0x824e8e(0x44b)][_0x824e8e(0x291)]&&_0x3127c8(_0x3289ff[_0x824e8e(0x44b)]['Style']),((_0x109e06=_0x5c1425['route'])==null?void 0x0:_0x109e06[_0x824e8e(0x240)])===_0x3289ff['ChartEditPanelTab'][_0x824e8e(0x2a6)]&&_0x3127c8(_0x3289ff[_0x824e8e(0x44b)][_0x824e8e(0x2a6)]));},[_0x154da7,_0x5c1425]),!_0x29fe02)return null;let _0x64504e=(0x0,_0x4bd19a['jsx'])('div',{'className':'\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-flex\x20univer-h-0\x20univer-min-h-full\x20univer-w-full\x20univer-flex-col\x20univer-bg-gray-0\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dark:!univer-bg-gray-900\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+(_0xa562ac===_0x3289ff[_0x55ff0c(0x44b)][_0x55ff0c(0x291)]?_0x55ff0c(0x1c6):_0x55ff0c(0x506))+_0x55ff0c(0x29b)+(_0x3d589d??'')+'\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','children':(0x0,_0x4bd19a['jsx'])(_0x3289ff[_0x55ff0c(0x581)],{'ariaLabel':_0x3694ac['t'](_0x55ff0c(0x42e)),'activeTab':_0xa562ac,'onTabChange':_0x3127c8,'tabListClassName':_0x55ff0c(0x2e1),'panelClassName':_0xa562ac===_0x3289ff[_0x55ff0c(0x44b)][_0x55ff0c(0x291)]?_0x55ff0c(0x39f):void 0x0,'tabs':[{'id':_0x3289ff[_0x55ff0c(0x44b)][_0x55ff0c(0x2a6)],'panelId':_0xdb91ff,'title':_0x3694ac['t'](_0x55ff0c(0x2ff)),'content':(0x0,_0x4bd19a[_0x55ff0c(0x43e)])(_0x2d87d9,{})},{'id':_0x3289ff['ChartEditPanelTab']['Style'],'panelId':_0x5ddc46,'title':_0x3694ac['t'](_0x55ff0c(0x20a)),'content':(0x0,_0x4bd19a[_0x55ff0c(0x43e)])(_0x57de13,{'defaultValues':_0xcfdc2})}]})});return(0x0,_0x4bd19a[_0x55ff0c(0x43e)])(_0x3289ff[_0x55ff0c(0x3a3)],{'chartUIService':_0x59a64f,'hostAdapter':_0x29fe02,'children':_0x64504e});}let _0x3ddd9b=_0x3c513e(0x543),_0xdb91ff='sheet-chart-setup-panel',_0x5ddc46=_0x3c513e(0x559);function _0x319b69(_0x1f6e4d){const _0x259d4a=_0x3c513e;return _0x1f6e4d[_0x259d4a(0x266)]===0x1&&_0x4b87a9(_0x1f6e4d[0x0]);}function _0x4b87a9(_0x150c40){const _0x1016e9=_0x3c513e;return(_0x150c40==null?void 0x0:_0x150c40[_0x1016e9(0x21b)])===_0x39ea90['DrawingTypeEnum'][_0x1016e9(0x497)]&&!_0x150c40['groupId'];}let _0x50564b=class extends _0x39ea90[_0x3c513e(0x32b)]{constructor(_0x190bcd,_0x395711,_0x388582,_0x34369a,_0x527f96,_0x328563,_0x150748,_0x328d45,_0x34004,_0x37b591,_0x46d5d2,_0x3c7dc1,_0xf8d133,_0x4d8308,_0x2da468){const _0x5714d0=_0x3c513e;var _0x418e71;super(),this[_0x5714d0(0x3c9)]=_0x190bcd,this[_0x5714d0(0x4e8)]=_0x395711,this['_chartModelService']=_0x388582,this['_sheetsChartService']=_0x34369a,this[_0x5714d0(0x4e1)]=_0x527f96,this[_0x5714d0(0x3e6)]=_0x328563,this[_0x5714d0(0x539)]=_0x150748,this[_0x5714d0(0x56a)]=_0x328d45,this[_0x5714d0(0x397)]=_0x34004,this[_0x5714d0(0x1c9)]=_0x37b591,this['_commandService']=_0x46d5d2,this['_sheetsChartUIService']=_0x3c7dc1,this[_0x5714d0(0x520)]=_0xf8d133,this[_0x5714d0(0x1d5)]=_0x4d8308,_0x2d2886(this,'_sidebarDisposable',null),_0x2d2886(this,_0x5714d0(0x2e6),void 0x0),this[_0x5714d0(0x2e6)]=((_0x418e71=_0x2da468[_0x5714d0(0x453)](_0x5714d0(0x527)))==null?void 0x0:_0x418e71[_0x5714d0(0x37f)])===!0x0,this['_initMenus'](),this[_0x5714d0(0x1d2)](this['_univerInstanceService']['getCurrentTypeOfUnit$'](_0x39ea90[_0x5714d0(0x579)][_0x5714d0(0x398)])[_0x5714d0(0x24e)](_0x192041=>{const _0x6d8938=_0x5714d0;var _0x35003a;_0x192041||(_0x35003a=this[_0x6d8938(0x50a)])==null||_0x35003a[_0x6d8938(0x564)]();})),this[_0x5714d0(0x1d2)]((0x0,_0x39ea90['toDisposable'])(this[_0x5714d0(0x3e6)][_0x5714d0(0x2a7)][_0x5714d0(0x24e)](async({drawing:_0x4e2f8b})=>{await this['_handleDrawingDoubleClick'](_0x4e2f8b);})));}[_0x3c513e(0x32e)](){const _0x5ee023=_0x3c513e;this[_0x5ee023(0x50a)]=this[_0x5ee023(0x539)]['open']({'id':_0x3ddd9b,'header':{'title':this['_localeService']['t']('sheets-chart-ui.common.editChart')},'width':0x154,'children':{'label':_0x3ddd9b},'onClose':()=>{const _0x4ec5fe=_0x5ee023;this[_0x4ec5fe(0x50a)]=null,this[_0x4ec5fe(0x537)](),this[_0x4ec5fe(0x460)][_0x4ec5fe(0x3cb)]&&this[_0x4ec5fe(0x460)][_0x4ec5fe(0x554)](null),this['_drawingManagerService']['focusDrawing'](null),this[_0x4ec5fe(0x520)][_0x4ec5fe(0x407)](_0x39ea90[_0x4ec5fe(0x3d9)],!0x1);}});}['hidePanel'](){const _0x3d6f38=_0x3c513e;let _0x3f3df0=this[_0x3d6f38(0x50a)];this['_sidebarDisposable']=null,this['_deactivateEditPanelState'](),this[_0x3d6f38(0x460)][_0x3d6f38(0x3cb)]&&this[_0x3d6f38(0x460)]['setActiveChartModel'](null),_0x3f3df0==null||_0x3f3df0['dispose']();}['initPanel'](){const _0x55d002=_0x3c513e;let _0x166564=this['_univerInstanceService'][_0x55d002(0x26f)](_0x39ea90[_0x55d002(0x579)][_0x55d002(0x398)]);this['disposeWithMe'](this[_0x55d002(0x539)][_0x55d002(0x1e9)][_0x55d002(0x24e)](_0x462600=>{const _0x4e1bf4=_0x55d002;_0x462600['id']===_0x4e1bf4(0x543)&&(_0x462600[_0x4e1bf4(0x434)]||this[_0x4e1bf4(0x539)]['sidebarOptions$'][_0x4e1bf4(0x357)]({'visible':!0x1}));})),this['disposeWithMe']((0x0,_0x233567['combineLatest'])([this[_0x55d002(0x460)]['activeChartModel$'],this[_0x55d002(0x253)]['chartEditorOpen$']])[_0x55d002(0x1ee)]((0x0,_0x233567[_0x55d002(0x3d7)])(([_0x99ae23,_0x1de09a])=>_0x1de09a?(_0x99ae23==null?void 0x0:_0x99ae23['id'])??null:null),(0x0,_0x233567[_0x55d002(0x303)])(),(0x0,_0x233567['startWith'])(null),(0x0,_0x233567['pairwise'])())[_0x55d002(0x24e)](([_0xe79aa7,_0xaa85a2])=>{const _0x1ec94a=_0x55d002;this[_0x1ec94a(0x349)](_0xe79aa7,_0xaa85a2);})),this[_0x55d002(0x1d2)](this[_0x55d002(0x460)]['activeChartModel$'][_0x55d002(0x24e)](_0x1ad093=>{const _0x4d6400=_0x55d002;!_0x1ad093&&this[_0x4d6400(0x50a)]&&this['hidePanel']();})),this['disposeWithMe'](this[_0x55d002(0x3f1)][_0x55d002(0x3fd)](_0x30b7f9=>{const _0x12949c=_0x55d002;if(_0x30b7f9['id']===_0x25de76['id']){let _0x2686f2=_0x30b7f9[_0x12949c(0x4d0)];if(!_0x4b87a9(this['_drawingManagerService'][_0x12949c(0x2dc)]({'unitId':_0x2686f2['unitId'],'subUnitId':_0x2686f2[_0x12949c(0x46c)],'drawingId':_0x2686f2['drawingId']})))return;this[_0x12949c(0x41c)](_0x2686f2[_0x12949c(0x1fb)],_0x2686f2[_0x12949c(0x586)]);}if(_0x30b7f9['id']===_0x196607['id']&&this[_0x12949c(0x22f)](),_0x30b7f9['id']===_0x517bbe['RemoveSheetsChartMutation']['id']){var _0x3bf959;_0x30b7f9['params'][_0x12949c(0x593)]===((_0x3bf959=this[_0x12949c(0x460)][_0x12949c(0x3cb)])==null?void 0x0:_0x3bf959['id'])&&this['hidePanel'](),this['_contextService'][_0x12949c(0x530)](_0x39ea90['FOCUSING_COMMON_DRAWINGS'])&&(this['_contextService'][_0x12949c(0x407)](_0x39ea90[_0x12949c(0x3d9)],!0x1),this[_0x12949c(0x3c9)][_0x12949c(0x2e7)](null));}})),this['disposeWithMe'](this['_sheetCanvasFloatDomManagerService'][_0x55d002(0x3bb)][_0x55d002(0x24e)](({id:_0x572126})=>{const _0x6a2f99=_0x55d002;this[_0x6a2f99(0x253)][_0x6a2f99(0x57a)](_0x572126)&&this[_0x6a2f99(0x22f)]();})),this[_0x55d002(0x1d2)](this[_0x55d002(0x397)][_0x55d002(0x2e3)][_0x55d002(0x24e)](({id:_0x1eeec1})=>{const _0x3b5436=_0x55d002;this[_0x3b5436(0x253)]['isElementEditModeActive'](_0x1eeec1)&&(this[_0x3b5436(0x253)][_0x3b5436(0x3b3)](),this[_0x3b5436(0x4e1)][_0x3b5436(0x23b)](_0x1eeec1,!0x1),this[_0x3b5436(0x4aa)](_0x1eeec1)&&this[_0x3b5436(0x4e1)][_0x3b5436(0x23b)](_0x1eeec1,!0x0));})),this[_0x55d002(0x1d2)](this['_drawingManagerService']['focus$'][_0x55d002(0x24e)](_0x28c04a=>{const _0x3e1ad9=_0x55d002;let _0xa3b4cc=_0x28c04a[0x0];if(!this['_sheetsChartUIService'][_0x3e1ad9(0x1f5)]){if(_0x319b69(_0x28c04a)){var _0x51a0dd;let _0x592462=this[_0x3e1ad9(0x460)][_0x3e1ad9(0x223)](_0xa3b4cc['drawingId']);_0x592462&&this[_0x3e1ad9(0x30c)](_0x592462['id'])&&((_0x51a0dd=this['_chartModelService']['activeChartModel'])==null?void 0x0:_0x51a0dd['id'])!==_0x592462['id']&&this[_0x3e1ad9(0x460)][_0x3e1ad9(0x554)](_0x592462);return;}this[_0x3e1ad9(0x460)][_0x3e1ad9(0x3cb)]&&this[_0x3e1ad9(0x460)][_0x3e1ad9(0x554)](null),!_0xa3b4cc&&!this[_0x3e1ad9(0x253)]['rangeSelectMode']&&this['hidePanel']();}})),_0x166564&&(this[_0x55d002(0x1d2)](_0x166564['sheetDisposed$'][_0x55d002(0x24e)](()=>{this['hidePanel']();})),this[_0x55d002(0x1d2)](_0x166564[_0x55d002(0x37a)][_0x55d002(0x24e)](()=>{const _0x22564a=_0x55d002;this[_0x22564a(0x22f)]();})));}async['_handleDrawingDoubleClick'](_0x3442a5){const _0x206a2f=_0x3c513e;this[_0x206a2f(0x253)][_0x206a2f(0x49f)]||_0x4b87a9(_0x3442a5)&&this[_0x206a2f(0x30c)](_0x3442a5[_0x206a2f(0x1fb)])&&await this[_0x206a2f(0x41b)](_0x3442a5[_0x206a2f(0x4ec)],_0x3442a5['subUnitId'],_0x3442a5[_0x206a2f(0x1fb)]);}async[_0x3c513e(0x41b)](_0x5cfb5b,_0x204cd3,_0x7bcad1){const _0x5a120a=_0x3c513e;this['_chartModelService'][_0x5a120a(0x223)](_0x7bcad1)&&this[_0x5a120a(0x30c)](_0x7bcad1)&&await this[_0x5a120a(0x3f1)]['executeCommand'](_0x25de76['id'],{'unitId':_0x5cfb5b,'subUnitId':_0x204cd3,'drawingId':_0x7bcad1});}[_0x3c513e(0x41c)](_0x4217d,_0x23de86){const _0x295d3f=_0x3c513e;let _0x44315c=this['_chartModelService'][_0x295d3f(0x223)](_0x4217d);_0x44315c&&this[_0x295d3f(0x30c)](_0x4217d)&&(this[_0x295d3f(0x460)][_0x295d3f(0x554)](_0x44315c),this[_0x295d3f(0x32e)](),this['_activateEditPanelState'](_0x4217d,_0x23de86??null));}[_0x3c513e(0x2a5)](_0x3ee2fa,_0x1b7730){const _0x2c5803=_0x3c513e;this[_0x2c5803(0x253)]['setChartEditorOpen'](!0x0),this[_0x2c5803(0x253)]['setPanelRoute'](_0x3ee2fa,_0x1b7730);}['_deactivateEditPanelState'](){const _0x125e7f=_0x3c513e;this['_sheetsChartUIService'][_0x125e7f(0x319)](!0x1);}[_0x3c513e(0x349)](_0x3b357a,_0x386acd){const _0x2c9ce4=_0x3c513e;_0x3b357a!==_0x386acd&&(_0x3b357a&&this[_0x2c9ce4(0x4e1)][_0x2c9ce4(0x23b)](_0x3b357a,!0x1),this[_0x2c9ce4(0x253)][_0x2c9ce4(0x3b3)](),_0x386acd&&(this[_0x2c9ce4(0x253)][_0x2c9ce4(0x3dd)](_0x386acd,null),this[_0x2c9ce4(0x4e1)][_0x2c9ce4(0x23b)](_0x386acd,this[_0x2c9ce4(0x4aa)](_0x386acd))));}['_initMenus'](){const _0x4d14e7=_0x3c513e;this[_0x4d14e7(0x56a)]['mergeMenu'](_0xc769d0),this[_0x4d14e7(0x1c9)][_0x4d14e7(0x30e)](_0x39ea90[_0x4d14e7(0x44e)][_0x4d14e7(0x497)],this[_0x4d14e7(0x4e3)][_0x4d14e7(0x1ea)](this));}[_0x3c513e(0x4aa)](_0x2e8212){const _0x2d5516=_0x3c513e;let _0x4fea7b=this[_0x2d5516(0x460)][_0x2d5516(0x223)](_0x2e8212);return!this[_0x2d5516(0x2e6)]||!_0x4fea7b||!this[_0x2d5516(0x30c)](_0x2e8212)?!0x1:_0x2d3d28(_0x4fea7b[_0x2d5516(0x490)]);}['getChartPopupMenus'](_0x520063,_0x499e29,_0x5180e9,_0x5af0bb){const _0x388aa3=_0x3c513e;if(!this[_0x388aa3(0x460)][_0x388aa3(0x223)](_0x5180e9))return[];let _0x31a194=[{'label':this[_0x388aa3(0x1d5)]['t'](_0x388aa3(0x469)),'index':0x0,'commandId':_0x25de76['id'],'commandParams':{'unitId':_0x520063,'subUnitId':_0x499e29,'drawingId':_0x5180e9},'disable':_0x5af0bb!==_0x39ea90[_0x388aa3(0x44e)]['DRAWING_CHART']}];return this[_0x388aa3(0x30c)](_0x5180e9)?[..._0x31a194,{'label':this['_localeService']['t']('sheets-chart-ui.common.deleteChart'),'index':0x1,'commandId':_0x173cae[_0x388aa3(0x4c5)]['id'],'commandParams':{'unitId':_0x520063,'drawings':[{'unitId':_0x520063,'subUnitId':_0x499e29,'drawingId':_0x5180e9,'drawingType':_0x5af0bb}]},'disable':!0x1},{'label':this['_localeService']['t'](_0x388aa3(0x290)),'index':0x2,'commandId':_0x196607['id'],'commandParams':{'unitId':_0x520063,'subUnitId':_0x499e29,'drawingId':_0x5180e9},'disable':!0x1}]:_0x31a194;}[_0x3c513e(0x30c)](_0x389828){const _0x4c7dac=_0x3c513e;return this[_0x4c7dac(0x1e8)]['getChartSourceSpec'](_0x389828)!==void 0x0;}};_0x50564b=_0x2c620b([_0x420a6e(0x0,_0x393073[_0x3c513e(0x356)]),_0x420a6e(0x1,_0x39ea90[_0x3c513e(0x599)]),_0x420a6e(0x2,(0x0,_0x39ea90[_0x3c513e(0x399)])(_0x517bbe['ChartModelService'])),_0x420a6e(0x3,(0x0,_0x39ea90[_0x3c513e(0x399)])(_0x517bbe[_0x3c513e(0x41e)])),_0x420a6e(0x4,(0x0,_0x39ea90['Inject'])(_0x5ecc7f)),_0x420a6e(0x5,(0x0,_0x39ea90[_0x3c513e(0x399)])(_0x545a31[_0x3c513e(0x577)])),_0x420a6e(0x6,(0x0,_0x39ea90[_0x3c513e(0x399)])(_0x120999['ISidebarService'])),_0x420a6e(0x7,_0x120999[_0x3c513e(0x499)]),_0x420a6e(0x8,(0x0,_0x39ea90['Inject'])(_0x545a31[_0x3c513e(0x2b6)])),_0x420a6e(0x9,(0x0,_0x39ea90[_0x3c513e(0x399)])(_0x128e70[_0x3c513e(0x4fe)])),_0x420a6e(0xa,_0x39ea90[_0x3c513e(0x531)]),_0x420a6e(0xb,_0x1e2d2f),_0x420a6e(0xc,_0x39ea90[_0x3c513e(0x403)]),_0x420a6e(0xd,(0x0,_0x39ea90[_0x3c513e(0x399)])(_0x39ea90['LocaleService'])),_0x420a6e(0xe,_0x39ea90[_0x3c513e(0x225)])],_0x50564b);var _0x36dbe1=_0x3c513e(0x309),_0x26c672=_0x3c513e(0x51b);let _0x5748de=class extends _0x39ea90[_0x3c513e(0x32b)]{constructor(_0x58ca0e,_0x17541b){const _0x14f272=_0x3c513e;super(),this[_0x14f272(0x270)]=_0x58ca0e,this['_chartModelService']=_0x17541b,this['_init']();}['_init'](){const _0x4fa791=_0x3c513e;this['disposeWithMe'](this[_0x4fa791(0x270)][_0x4fa791(0x330)]['subscribe'](_0xe1cd73=>{const _0x3f6c07=_0x4fa791;this[_0x3f6c07(0x460)][_0x3f6c07(0x1c5)](_0xe1cd73);}));}};_0x5748de=_0x2c620b([_0x420a6e(0x0,_0x1e2812),_0x420a6e(0x1,(0x0,_0x39ea90[_0x3c513e(0x399)])(_0x517bbe[_0x3c513e(0x428)]))],_0x5748de);let _0x2b7453=class extends _0x39ea90[_0x3c513e(0x32b)]{constructor(_0x3d64ae,_0x3cad40,_0x5e6f78,_0x396bf2,_0x4514ca,_0x24079a){const _0x41a67f=_0x3c513e;super(),this[_0x41a67f(0x460)]=_0x3d64ae,this[_0x41a67f(0x4e1)]=_0x3cad40,this['_localeService']=_0x5e6f78,this[_0x41a67f(0x4ce)]=_0x396bf2,this[_0x41a67f(0x3f1)]=_0x4514ca,this[_0x41a67f(0x360)]=_0x24079a,_0x2d2886(this,'_pendingMutationConfigRenders',new Map()),_0x2d2886(this,_0x41a67f(0x4f4),new Set()),this[_0x41a67f(0x33a)](),this['_listenChartUpdateMutations'](),this[_0x41a67f(0x40c)]();}[_0x3c513e(0x40c)](){const _0x3b1e2b=_0x3c513e;this['disposeWithMe'](this[_0x3b1e2b(0x360)][_0x3b1e2b(0x43d)][_0x3b1e2b(0x21d)](this[_0x3b1e2b(0x360)]['interceptor'][_0x3b1e2b(0x4db)]()[_0x3b1e2b(0x214)],{'handler':(_0x18c04c,_0x3f370d,_0x3af484)=>{const _0x3329a3=_0x3b1e2b;let _0x24bfb4=this[_0x3329a3(0x4e1)][_0x3329a3(0x56f)](_0x3f370d[_0x3329a3(0x4ec)],_0x3f370d[_0x3329a3(0x46c)],_0x3f370d[_0x3329a3(0x42b)]);return _0x3f370d[_0x3329a3(0x294)][_0x3329a3(0x2c4)](_0x24bfb4),_0x3af484(_0x18c04c);}}));}[_0x3c513e(0x33a)](){const _0x210cb0=_0x3c513e;this['disposeWithMe'](this[_0x210cb0(0x460)]['chartModelAdded$']['subscribe'](_0xa57ede=>{const _0x4f111a=_0x210cb0;if(_0xa57ede){let _0x2316ec=new _0x39ea90[(_0x4f111a(0x529))]();_0x2316ec[_0x4f111a(0x2c4)](_0xa57ede[_0x4f111a(0x558)][_0x4f111a(0x1ee)]((0x0,_0x233567['switchMap'])(_0x49d1ad=>_0x49d1ad['data$']['pipe']((0x0,_0x233567[_0x4f111a(0x3e7)])(0x1))))['subscribe'](()=>{const _0x4ad604=_0x4f111a;this['_pendingDataUpdateChartIds'][_0x4ad604(0x2c4)](_0xa57ede['id']);})),_0x2316ec[_0x4f111a(0x2c4)](_0xa57ede['config$']['pipe']((0x0,_0x233567[_0x4f111a(0x3da)])(_0xa57ede[_0x4f111a(0x3e2)]),(0x0,_0x233567[_0x4f111a(0x3da)])(this['_localeService']['direction$']),(0x0,_0x233567[_0x4f111a(0x25e)])(0x64))[_0x4f111a(0x24e)](([[_0x3f4d6f,_0x227235],_0x3294cf])=>{const _0x16cec9=_0x4f111a;var _0x1c856d;if(!_0x3f4d6f)return;(_0x1c856d=_0x3f4d6f['category'])==null||_0x1c856d[_0x16cec9(0x350)][_0x16cec9(0x517)]((_0x4b53c4,_0x15e1dc)=>{const _0x306640=_0x16cec9;_0x4b53c4[_0x306640(0x395)]||=this[_0x306640(0x1d5)]['t']('sheets-chart-ui.common.category')+'\x20'+(_0x15e1dc+0x1);}),_0x3f4d6f[_0x16cec9(0x326)]['forEach']((_0x412c44,_0x34a231)=>{const _0x18eaef=_0x16cec9;_0x412c44[_0x18eaef(0x4f5)]||=this[_0x18eaef(0x1d5)]['t'](_0x18eaef(0x49a))+'\x20'+(_0x34a231+0x1);});let _0x3b8433=this[_0x16cec9(0x4e1)][_0x16cec9(0x482)](_0xa57ede,_0x3294cf),_0x11e75c=this['_pendingDataUpdateChartIds'][_0x16cec9(0x573)](_0xa57ede['id']);this[_0x16cec9(0x4e1)][_0x16cec9(0x1c7)](_0xa57ede['id'],_0x3f4d6f,_0x3b8433,{'animateDataUpdate':_0x11e75c});})),_0xa57ede[_0x4f111a(0x202)](()=>{const _0x23b4ae=_0x4f111a;this[_0x23b4ae(0x4f4)][_0x23b4ae(0x573)](_0xa57ede['id']),_0x2316ec[_0x23b4ae(0x564)]();});}}));}[_0x3c513e(0x3b5)](){const _0x350d83=_0x3c513e;this[_0x350d83(0x1d2)](this[_0x350d83(0x3f1)][_0x350d83(0x3fd)](_0x6c6107=>{const _0x327cd8=_0x350d83;if(_0x6c6107['id']!==_0x517bbe[_0x327cd8(0x545)]['id'])return;let _0x1ebc94=_0x6c6107['params'];_0x1ebc94!=null&&_0x1ebc94[_0x327cd8(0x3a8)]&&Promise[_0x327cd8(0x352)]()['then'](()=>this[_0x327cd8(0x2d3)](_0x1ebc94));}));}['_renderAfterChartUpdateMutation'](_0x4a8376){const _0x49c68f=_0x3c513e;let _0x18d6da=this[_0x49c68f(0x460)]['getChartModel'](_0x4a8376[_0x49c68f(0x3a8)]);if(!_0x18d6da||_0x18d6da[_0x49c68f(0x490)]!==_0x1e04b6[_0x49c68f(0x4f6)][_0x49c68f(0x35a)])return;let _0x3bc7be=_0x18d6da[_0x49c68f(0x43a)];if(!_0x3bc7be){this[_0x49c68f(0x235)](_0x18d6da);return;}this['_renderChartModel'](_0x18d6da,_0x3bc7be);}[_0x3c513e(0x235)](_0x246e9f){const _0xbeb8bf=_0x3c513e;if(this[_0xbeb8bf(0x50e)][_0xbeb8bf(0x507)](_0x246e9f['id']))return;let _0x5012e1=_0x246e9f[_0xbeb8bf(0x39e)][_0xbeb8bf(0x1ee)]((0x0,_0x233567[_0xbeb8bf(0x3ca)])(_0x142f38=>_0x142f38!=null),(0x0,_0x233567[_0xbeb8bf(0x377)])(0x1))['subscribe'](_0x42300c=>{const _0x7a8191=_0xbeb8bf;this[_0x7a8191(0x50e)][_0x7a8191(0x573)](_0x246e9f['id']),this[_0x7a8191(0x237)](_0x246e9f,_0x42300c);});this[_0xbeb8bf(0x50e)][_0xbeb8bf(0x45e)](_0x246e9f['id'],_0x5012e1),_0x246e9f[_0xbeb8bf(0x202)](()=>{const _0x54d3d5=_0xbeb8bf;_0x5012e1[_0x54d3d5(0x50d)](),this[_0x54d3d5(0x50e)][_0x54d3d5(0x573)](_0x246e9f['id']);});}[_0x3c513e(0x237)](_0x5c28d9,_0x7ea1ba){const _0x291c3f=_0x3c513e;let _0x287d2e=this[_0x291c3f(0x4e1)][_0x291c3f(0x482)](_0x5c28d9,this[_0x291c3f(0x1d5)][_0x291c3f(0x567)]());this[_0x291c3f(0x4e1)][_0x291c3f(0x1c7)](_0x5c28d9['id'],_0x7ea1ba,_0x287d2e);}};_0x2b7453=_0x2c620b([_0x420a6e(0x0,(0x0,_0x39ea90['Inject'])(_0x517bbe[_0x3c513e(0x428)])),_0x420a6e(0x1,(0x0,_0x39ea90[_0x3c513e(0x399)])(_0x5ecc7f)),_0x420a6e(0x2,(0x0,_0x39ea90[_0x3c513e(0x399)])(_0x39ea90[_0x3c513e(0x263)])),_0x420a6e(0x3,_0x1e2d2f),_0x420a6e(0x4,_0x39ea90['ICommandService']),_0x420a6e(0x5,(0x0,_0x39ea90['Inject'])(_0x128e70[_0x3c513e(0x4dd)]))],_0x2b7453);function _0x3c9e65(_0x2e4efe,_0x1375f6){const _0x55b803=_0x3c513e;return _0x2e4efe[_0x55b803(0x4ec)]!==_0x1375f6[_0x55b803(0x4ec)]||_0x2e4efe[_0x55b803(0x46c)]!==_0x1375f6[_0x55b803(0x274)]?_0x2e4efe:{..._0x2e4efe,'subUnitId':_0x1375f6['targetSubUnitId']};}function _0x142c75(_0x2a6f0f,_0xe11ef3){const _0x4f6de9=_0x3c513e;return(_0x2a6f0f==null?void 0x0:_0x2a6f0f[_0x4f6de9(0x572)])===_0x1e04b6['ChartSourceHeaderTitleType'][_0x4f6de9(0x548)]?{..._0x2a6f0f,'source':_0x3c9e65(_0x2a6f0f['source'],_0xe11ef3)}:_0x2a6f0f;}function _0x147e2e(_0x331b94,_0x30e4e3){const _0x4124a4=_0x3c513e;let {rangeInfo:_0x9f8d08}=_0x331b94;return Array[_0x4124a4(0x2bb)](_0x9f8d08)?{..._0x331b94,'rangeInfo':_0x9f8d08[_0x4124a4(0x3d7)](_0x40dbaa=>({..._0x40dbaa,..._0x40dbaa['header']?{'header':_0x142c75(_0x40dbaa[_0x4124a4(0x4e6)],_0x30e4e3)}:{},'range':_0x3c9e65(_0x40dbaa[_0x4124a4(0x509)],_0x30e4e3)}))}:{..._0x331b94,'rangeInfo':{..._0x9f8d08,..._0x9f8d08[_0x4124a4(0x4e6)]?{'header':{..._0x9f8d08[_0x4124a4(0x4e6)],..._0x9f8d08['header'][_0x4124a4(0x47a)]?{'titles':_0x49b2f2(_0x9f8d08[_0x4124a4(0x4e6)][_0x4124a4(0x47a)],_0x30e4e3)}:{}}}:{},'rangeInfo':_0x3c9e65(_0x9f8d08[_0x4124a4(0x38a)],_0x30e4e3)}};}function _0x49b2f2(_0x9b91e1,_0x4c604a){const _0x88e1fb=_0x3c513e;return _0x9b91e1[_0x88e1fb(0x572)]===_0x1e04b6[_0x88e1fb(0x418)]['Literals']?{..._0x9b91e1,'values':{..._0x9b91e1['values']}}:_0x9b91e1[_0x88e1fb(0x572)]===_0x1e04b6[_0x88e1fb(0x418)][_0x88e1fb(0x2e2)]?{..._0x9b91e1,'values':Object[_0x88e1fb(0x4fb)](Object[_0x88e1fb(0x271)](_0x9b91e1[_0x88e1fb(0x33f)])['map'](([_0x27fe34,_0x58d947])=>[_0x27fe34,_0x58d947&&_0x3c9e65(_0x58d947,_0x4c604a)]))}:{..._0x9b91e1,'values':Object[_0x88e1fb(0x4fb)](Object[_0x88e1fb(0x271)](_0x9b91e1[_0x88e1fb(0x33f)])[_0x88e1fb(0x3d7)](([_0x2f5424,_0x3e31b6])=>[_0x2f5424,_0x3e31b6&&_0x142c75(_0x3e31b6,_0x4c604a)]))};}function _0x526889(_0x9e865a,_0x53e8cc,_0x2e22c0,_0x1344a0){const _0x25f860=_0x3c513e;let _0x589b18=(0x0,_0x393073[_0x25f860(0x3fa)])(_0x9e865a,_0x53e8cc,_0x2e22c0),_0x4f9c2e=[];for(let _0x8f640a of _0x53e8cc){let _0x39fd75=_0x589b18[_0x25f860(0x1cc)][_0x25f860(0x507)](_0x8f640a[_0x25f860(0x1fb)]),_0x445dcd=_0x1344a0(_0x8f640a);_0x39fd75&&_0x445dcd&&_0x4f9c2e[_0x25f860(0x1dc)]({'targetChartId':_0x39fd75,'source':_0x147e2e(_0x445dcd,_0x2e22c0)});}return _0x4f9c2e;}let _0x15e961=class extends _0x39ea90[_0x3c513e(0x32b)]{constructor(_0x1b5354,_0x117596,_0x433cb5,_0x4f1e51,_0x2a1f35){const _0x129034=_0x3c513e;super(),this['_univerInstanceService']=_0x1b5354,this[_0x129034(0x40e)]=_0x117596,this[_0x129034(0x4a9)]=_0x433cb5,this['_chartModelService']=_0x4f1e51,this[_0x129034(0x1e8)]=_0x2a1f35,this['_initSheetChange']();}[_0x3c513e(0x1c8)](){const _0x3a35c9=_0x3c513e;this['disposeWithMe'](this[_0x3a35c9(0x40e)][_0x3a35c9(0x2a9)]({'getMutations':_0x10a764=>{const _0x358e9c=_0x3a35c9;if(_0x10a764['id']===_0x437459[_0x358e9c(0x52c)]['id']){let _0x52b021=(0x0,_0x437459[_0x358e9c(0x448)])(this[_0x358e9c(0x4e8)],_0x10a764[_0x358e9c(0x4d0)]);if(!_0x52b021)return{'redos':[],'undos':[]};let {unitId:_0x39e7a0,subUnitId:_0x23d100}=_0x52b021,_0x5a19b9=this[_0x358e9c(0x4a9)]['getDrawingData'](_0x39e7a0,_0x23d100),_0xecf5a0=Object[_0x358e9c(0x33f)](_0x5a19b9)['filter'](_0x15fb90=>_0x15fb90['drawingType']===_0x39ea90[_0x358e9c(0x44e)]['DRAWING_CHART']);if(_0xecf5a0[_0x358e9c(0x266)]===0x0)return{'redos':[],'undos':[]};let _0x1700e4=[],_0x17c301=[];for(let _0x3ffa7a=0x0;_0x3ffa7a<_0xecf5a0['length'];_0x3ffa7a++){let _0x324976=_0xecf5a0[_0x3ffa7a],_0x16b43e=this[_0x358e9c(0x460)][_0x358e9c(0x223)](_0x324976[_0x358e9c(0x1fb)]);if(!_0x16b43e)continue;let _0x561123=this[_0x358e9c(0x1e8)][_0x358e9c(0x551)](_0x16b43e['id']);if(!_0x561123)continue;let {chartType:_0x3e00af,context:_0x12d299,style:_0x493b6d,dataAggregation:_0x1d1f23}=_0x16b43e[_0x358e9c(0x4dc)]();_0x1700e4['push']({'id':_0x517bbe[_0x358e9c(0x47c)]['id'],'params':{'unitId':_0x39e7a0,'subUnitId':_0x23d100,'chartId':_0x324976['drawingId']}}),_0x17c301['push']({'id':_0x517bbe[_0x358e9c(0x4c2)]['id'],'params':{'unitId':_0x39e7a0,'subUnitId':_0x23d100,'chartId':_0x324976[_0x358e9c(0x1fb)],'chartType':_0x3e00af,...(0x0,_0x517bbe['toInsertChartMutationSource'])(_0x561123),'context':_0x12d299,'style':_0x493b6d,'dataAggregation':_0x1d1f23}});}return{'redos':_0x1700e4,'undos':_0x17c301};}if(_0x10a764['id']===_0x437459[_0x358e9c(0x333)]['id']){let {unitId:_0x551c9d,subUnitId:_0x583067,targetSubUnitId:_0x3d04e3,copyContext:_0x4cab4f}=_0x10a764[_0x358e9c(0x4d0)];if(!_0x551c9d||!_0x583067||!_0x3d04e3)return{'redos':[],'undos':[]};let _0x40a90e=this[_0x358e9c(0x4a9)][_0x358e9c(0x2e4)](_0x551c9d,_0x583067),_0x5ed0c9=Object['values'](_0x40a90e)[_0x358e9c(0x3ca)](_0x35ae7e=>_0x35ae7e[_0x358e9c(0x21b)]===_0x39ea90[_0x358e9c(0x44e)][_0x358e9c(0x497)]);if(_0x5ed0c9['length']===0x0)return{'redos':[],'undos':[]};let _0x222429=_0x526889(_0x4cab4f,_0x5ed0c9,{'unitId':_0x551c9d,'sourceSubUnitId':_0x583067,'targetSubUnitId':_0x3d04e3},_0x5ef29f=>{const _0xb85b5=_0x358e9c;let _0x4107e9=this[_0xb85b5(0x460)][_0xb85b5(0x223)](_0x5ef29f[_0xb85b5(0x1fb)]);if(!_0x4107e9)return;let _0x2b0003=this[_0xb85b5(0x1e8)][_0xb85b5(0x551)](_0x4107e9['id']);if(!_0x2b0003)return;let {chartType:_0x195507,context:_0x1510ce,style:_0x25c4e,dataAggregation:_0x3327b8}=_0x4107e9[_0xb85b5(0x4dc)]();return{'rangeInfo':_0x2b0003,'chartType':_0x195507,'context':_0x1510ce,'style':_0x25c4e,'dataAggregation':_0x3327b8};}),_0x502e25=[],_0x442bc5=[];for(let {targetChartId:_0x2c6ddc,source:_0x4f28cb}of _0x222429){let {rangeInfo:_0x502712,chartType:_0x235168,context:_0x374363,style:_0x5cd9bf,dataAggregation:_0x53d4aa}=_0x4f28cb;_0x502e25[_0x358e9c(0x1dc)]({'id':_0x517bbe['InsertSheetsChartMutation']['id'],'params':{'unitId':_0x551c9d,'subUnitId':_0x3d04e3,'chartId':_0x2c6ddc,'chartType':_0x235168,...(0x0,_0x517bbe['toInsertChartMutationSource'])(_0x502712),'context':_0x374363,'style':_0x5cd9bf,'dataAggregation':_0x53d4aa}}),_0x442bc5[_0x358e9c(0x1dc)]({'id':_0x517bbe['RemoveSheetsChartMutation']['id'],'params':{'unitId':_0x551c9d,'subUnitId':_0x3d04e3,'chartId':_0x2c6ddc}});}return{'redos':_0x502e25,'undos':_0x442bc5};}return{'redos':[],'undos':[]};}}));}};_0x15e961=_0x2c620b([_0x420a6e(0x0,(0x0,_0x39ea90[_0x3c513e(0x399)])(_0x39ea90[_0x3c513e(0x599)])),_0x420a6e(0x1,(0x0,_0x39ea90[_0x3c513e(0x399)])(_0x437459[_0x3c513e(0x36a)])),_0x420a6e(0x2,(0x0,_0x39ea90[_0x3c513e(0x399)])(_0x173cae[_0x3c513e(0x4bd)])),_0x420a6e(0x3,(0x0,_0x39ea90[_0x3c513e(0x399)])(_0x517bbe['ChartModelService'])),_0x420a6e(0x4,(0x0,_0x39ea90[_0x3c513e(0x399)])(_0x517bbe['SheetsChartService']))],_0x15e961);let _0xbd012=_0x4f592d=>_0x4f592d['getCurrentUnitOfType'](_0x39ea90[_0x3c513e(0x579)][_0x3c513e(0x398)])[_0x3c513e(0x57d)](),_0x5929eb=_0x1f87f4=>{const _0x217cb6=_0x3c513e;var _0x202f21;return(_0x202f21=_0x1f87f4['getCurrentUnitOfType'](_0x39ea90[_0x217cb6(0x579)][_0x217cb6(0x398)])[_0x217cb6(0x379)]())==null?void 0x0:_0x202f21[_0x217cb6(0x487)]();};function _0x2fa988(){const _0x44625a=_0x3c513e;var _0x4d5f24;let _0x117303=(0x0,_0x120999[_0x44625a(0x411)])(_0x1e2d2f),_0x3456a4=(0x0,_0x120999[_0x44625a(0x411)])(_0x517bbe[_0x44625a(0x428)]),_0x51176c=(0x0,_0x120999[_0x44625a(0x411)])(_0x517bbe[_0x44625a(0x41e)]),_0x466ab3=(0x0,_0x120999[_0x44625a(0x411)])(_0x39ea90[_0x44625a(0x263)]),_0x3945cf=(0x0,_0x120999[_0x44625a(0x411)])(_0x39ea90[_0x44625a(0x29e)]),_0x3b70ce=(0x0,_0x517bbe[_0x44625a(0x321)])(_0x3945cf),_0x58e68c=(0x0,_0x48e4d2['useMemo'])(()=>{const _0x3b7716=_0x44625a;let _0x114ef8=_0x42cbaf(_0x102ab1['concat'](),_0x3b70ce);return(0x0,_0x3289ff[_0x3b7716(0x4c7)])(_0x114ef8['map'](_0x4ca13d=>({'id':_0x4ca13d['id'],'label':_0x466ab3['t'](_0x3b7716(0x28c)+_0x4ca13d[_0x3b7716(0x4b6)]),'pieSecondaryPlotType':_0x4ca13d[_0x3b7716(0x2f9)],'value':_0x4ca13d['value']})));},[_0x3b70ce,_0x466ab3]),_0x483f62=(0x0,_0x120999['useObservable'])(_0x3456a4[_0x44625a(0x1c3)],_0x3456a4[_0x44625a(0x3cb)]),_0x38b849=_0x483f62?_0x51176c[_0x44625a(0x4ba)](_0x483f62['id']):void 0x0,_0x206666=(0x0,_0x120999[_0x44625a(0x4ef)])(_0x38b849==null?void 0x0:_0x38b849[_0x44625a(0x25b)],_0x38b849==null?void 0x0:_0x38b849[_0x44625a(0x283)]()),_0x49ec81=Array[_0x44625a(0x2bb)](_0x206666),_0x14ea9e=_0x206666&&!_0x49ec81&&_0x206666[_0x44625a(0x42f)]?_0x1e04b6[_0x44625a(0x332)][_0x44625a(0x4c6)]:_0x1e04b6[_0x44625a(0x332)][_0x44625a(0x344)],_0x4fe546=_0x49ec81?(_0x4d5f24=_0x206666[0x0])==null?void 0x0:_0x4d5f24[_0x44625a(0x509)]:_0x206666==null?void 0x0:_0x206666[_0x44625a(0x38a)];return(0x0,_0x4bd19a['jsx'])(_0x44625a(0x4c8),{'className':_0x44625a(0x232),'children':(0x0,_0x4bd19a[_0x44625a(0x43e)])(_0x3289ff['ChartSetupPanel'],{'chartTypeOptions':_0x58e68c,'dataSourceControl':(0x0,_0x4bd19a[_0x44625a(0x43e)])(_0x2ae446,{'dataRange':_0x206666,'primaryRange':_0x4fe546}),'categoryToggleLabel':_0x466ab3['t'](_0x44625a(0x512),_0x14ea9e===_0x1e04b6[_0x44625a(0x332)][_0x44625a(0x4c6)]?_0x14ea9e+'\x20'+(((_0x4fe546==null?void 0x0:_0x4fe546[_0x44625a(0x509)][_0x44625a(0x345)])??0x0)+0x1):_0x14ea9e+'\x20'+(0x0,_0x39ea90['numberToABC'])((_0x4fe546==null?void 0x0:_0x4fe546['range'][_0x44625a(0x3f9)])??0x0)),'orientationControl':_0x49ec81?void 0x0:(0x0,_0x4bd19a[_0x44625a(0x43e)])(_0x462b7d['Button'],{'size':_0x44625a(0x47b),'onClick':()=>_0x117303[_0x44625a(0x50b)](_0x14ea9e===_0x1e04b6[_0x44625a(0x332)]['Row']?_0x1e04b6[_0x44625a(0x332)]['Column']:_0x1e04b6['DataOrientation'][_0x44625a(0x4c6)]),'children':_0x466ab3['t']('sheets-chart-ui.common.switchRowColumn')})})});}function _0x2ae446(_0x6ff9df){const _0x11665f=_0x3c513e;let {dataRange:_0xcb0f4e,primaryRange:_0x1fc9b8}=_0x6ff9df,_0xd60eb5=(0x0,_0x120999[_0x11665f(0x411)])(_0x1e2d2f),_0x4de66e=(0x0,_0x120999[_0x11665f(0x411)])(_0x39ea90['LocaleService']),_0x5ea749=(0x0,_0x120999[_0x11665f(0x411)])(_0x39ea90[_0x11665f(0x599)]),[_0x1b5ef0,_0x22876d]=(0x0,_0x48e4d2['useState'])(!0x1),[_0x1bef5c,_0x57d536]=(0x0,_0x48e4d2[_0x11665f(0x419)])(!0x1),_0x39b96a=_0xbd012(_0x5ea749),_0x134259=_0x5929eb(_0x5ea749);(0x0,_0x48e4d2[_0x11665f(0x2d1)])(()=>{const _0x5cd1de=_0x11665f;_0xd60eb5[_0x5cd1de(0x566)](_0x1b5ef0);},[_0x1b5ef0,_0xd60eb5]);let _0x4b86fa=(0x0,_0x48e4d2[_0x11665f(0x327)])(()=>(0x0,_0x39ea90['debounce'])(async _0x4fddeb=>{const _0x39d6d4=_0x11665f;var _0x4eb565;if(_0x5bf1ff(_0xcb0f4e,_0x5ea749)===_0x4fddeb)return;let _0x341d1b=_0x4fddeb[_0x39d6d4(0x4fa)](',')['filter'](Boolean)['map'](_0x23cc12['deserializeRangeWithSheet'])[0x0];if(!_0x341d1b)return;let {unitId:_0x257ae2,sheetName:_0x125af7,range:_0x2f7111}=_0x341d1b,_0x577427=_0x257ae2||_0x39b96a,_0x33fc22=((_0x4eb565=_0x5ea749[_0x39d6d4(0x3cc)](_0x577427)[_0x39d6d4(0x3c8)](_0x125af7))==null?void 0x0:_0x4eb565['getSheetId']())||(_0x1fc9b8==null?void 0x0:_0x1fc9b8[_0x39d6d4(0x46c)])||_0x134259;_0x33fc22&&_0xd60eb5['setDataRange']({'rangeInfo':{'range':_0x2f7111,'unitId':_0x577427,'subUnitId':_0x33fc22}});},0x12c,{'leading':!0x1,'maxWait':0x3e8,'trailing':!0x0}),[_0xcb0f4e,_0x1fc9b8,_0xd60eb5,_0x134259,_0x39b96a,_0x5ea749]);return(0x0,_0x48e4d2[_0x11665f(0x2d1)])(()=>()=>_0x4b86fa['cancel'](),[_0x4b86fa]),(0x0,_0x4bd19a['jsx'])(_0x11665f(0x4c8),{'className':_0x11665f(0x42c),'children':(0x0,_0x4bd19a['jsxs'])(_0x11665f(0x4c8),{'children':[(0x0,_0x4bd19a[_0x11665f(0x43e)])(_0x3289ff[_0x11665f(0x46f)],{'title':_0x4de66e['t'](_0x11665f(0x44c))}),(0x0,_0x4bd19a[_0x11665f(0x43e)])(_0x53cc79[_0x11665f(0x2b4)],{'supportAcrossSheet':!0x0,'keepSheetReference':!0x0,'maxRangeCount':0x1,'unitId':_0x39b96a,'subUnitId':_0x134259,'initialValue':_0xcb0f4e?_0x5bf1ff(_0xcb0f4e,_0x5ea749):'','onChange':(_0x3e8d9b,_0x364871)=>_0x4b86fa(_0x364871),'onFocusChange':_0x1dcba2=>{_0x1bef5c||_0x22876d(_0x1dcba2);},'onRangeSelectorDialogVisibleChange':_0x371756=>{_0x57d536(_0x371756),_0x22876d(_0x371756);}})]})});}function _0x459e27(){const _0x135aef=_0x3c513e;let [_0x58fe10,_0x219721]=(0x0,_0x48e4d2[_0x135aef(0x419)])(_0x3289ff[_0x135aef(0x44b)][_0x135aef(0x2a6)]),_0x98837e=(0x0,_0x120999['useDependency'])(_0x39ea90[_0x135aef(0x29e)]),_0x1d7de3=(0x0,_0x120999['useDependency'])(_0x39ea90[_0x135aef(0x263)]),_0x2ac44c=(0x0,_0x120999[_0x135aef(0x411)])(_0x1e2d2f),_0x116c73=(0x0,_0x120999[_0x135aef(0x411)])(_0x517bbe[_0x135aef(0x428)]),_0x19cdea=(0x0,_0x120999[_0x135aef(0x411)])(_0x517bbe['SheetsChartService']),_0x1d3f93=(0x0,_0x120999[_0x135aef(0x4ef)])(_0x116c73[_0x135aef(0x1c3)],_0x116c73[_0x135aef(0x3cb)]),_0x359a26=(0x0,_0x120999[_0x135aef(0x4ef)])(_0x2ac44c['panelRoute$'],null),_0x25dc88=(0x0,_0x48e4d2['useMemo'])(()=>{const _0xc1d60c=_0x135aef;var _0xac81cc;if(!_0x1d3f93)return null;let _0x5a839=_0x19cdea[_0xc1d60c(0x551)](_0x1d3f93['id']);if(!_0x5a839)return null;let _0x580fa3=Array[_0xc1d60c(0x2bb)](_0x5a839)?(_0xac81cc=_0x5a839[0x0])==null?void 0x0:_0xac81cc[_0xc1d60c(0x509)]:_0x5a839[_0xc1d60c(0x38a)];return _0x580fa3?new _0x3289ff[(_0xc1d60c(0x1c4))](_0x1d3f93,new _0x517bbe['SheetChartConfigAdapter']({'unitId':_0x580fa3[_0xc1d60c(0x4ec)],'subUnitId':_0x580fa3['subUnitId'],'chartId':_0x1d3f93['id'],'injector':_0x98837e})):null;},[_0x1d3f93,_0x98837e,_0x19cdea]);if((0x0,_0x48e4d2['useEffect'])(()=>{const _0xdf1322=_0x135aef;var _0x3d04d7,_0x1aa8f5;_0x1d3f93&&(_0x359a26==null?void 0x0:_0x359a26[_0xdf1322(0x593)])===_0x1d3f93['id']&&(((_0x3d04d7=_0x359a26['route'])==null?void 0x0:_0x3d04d7['tab'])===_0x3289ff[_0xdf1322(0x44b)][_0xdf1322(0x291)]&&_0x219721(_0x3289ff[_0xdf1322(0x44b)][_0xdf1322(0x291)]),((_0x1aa8f5=_0x359a26[_0xdf1322(0x586)])==null?void 0x0:_0x1aa8f5['tab'])===_0x3289ff[_0xdf1322(0x44b)]['Data']&&_0x219721(_0x3289ff[_0xdf1322(0x44b)][_0xdf1322(0x2a6)]));},[_0x1d3f93,_0x359a26]),!_0x25dc88)return null;let _0x205c77=(0x0,_0x4bd19a[_0x135aef(0x43e)])('div',{'className':_0x135aef(0x1df),'children':(0x0,_0x4bd19a[_0x135aef(0x43e)])(_0x3289ff[_0x135aef(0x581)],{'ariaLabel':_0x1d7de3['t'](_0x135aef(0x42e)),'activeTab':_0x58fe10,'onTabChange':_0x219721,'tabListClassName':_0x135aef(0x2ea),'panelClassName':_0x58fe10===_0x3289ff[_0x135aef(0x44b)][_0x135aef(0x291)]?_0x135aef(0x56b):'univer-overflow-visible','tabs':[{'id':_0x3289ff[_0x135aef(0x44b)][_0x135aef(0x2a6)],'panelId':_0x135aef(0x260),'title':_0x1d7de3['t'](_0x135aef(0x2ff)),'content':(0x0,_0x4bd19a[_0x135aef(0x43e)])(_0x2fa988,{})},{'id':_0x3289ff[_0x135aef(0x44b)][_0x135aef(0x291)],'panelId':_0x135aef(0x247),'title':_0x1d7de3['t']('sheets-chart-ui.common.customize'),'content':(0x0,_0x4bd19a['jsx'])(_0x57de13,{'defaultValues':_0xcfdc2})}]})});return(0x0,_0x4bd19a[_0x135aef(0x43e)])(_0x3289ff['MobileChartEditorProvider'],{'chartUIService':_0x2ac44c,'hostAdapter':_0x25dc88,'children':_0x205c77});}let _0x22c565=class extends _0x39ea90['Disposable']{constructor(_0x263eeb){const _0x24dfad=_0x3c513e;super(),this[_0x24dfad(0x1d2)](_0x263eeb[_0x24dfad(0x2f7)](_0x3ddd9b,_0x459e27));}};_0x22c565=_0x2c620b([_0x420a6e(0x0,(0x0,_0x39ea90['Inject'])(_0x120999[_0x3c513e(0x2ad)]))],_0x22c565);let _0x4500d0=class extends _0x39ea90['Disposable']{constructor(_0x57ad2f,_0x15810f,_0x354457,_0x4843de,_0x297d3b,_0x1b19af,_0x2683b7,_0x3a0d7f,_0x4152d5){const _0x37a4b6=_0x3c513e;super(),this[_0x37a4b6(0x3c9)]=_0x57ad2f,this[_0x37a4b6(0x460)]=_0x15810f,this['_sidebarService']=_0x354457,this[_0x37a4b6(0x56a)]=_0x4843de,this[_0x37a4b6(0x1c9)]=_0x297d3b,this[_0x37a4b6(0x3f1)]=_0x1b19af,this[_0x37a4b6(0x253)]=_0x2683b7,this[_0x37a4b6(0x520)]=_0x3a0d7f,this['_localeService']=_0x4152d5,_0x2d2886(this,_0x37a4b6(0x50a),null),_0x2d2886(this,_0x37a4b6(0x1f8),!0x1),this[_0x37a4b6(0x568)]();}[_0x3c513e(0x564)](){const _0x55521b=_0x3c513e;this[_0x55521b(0x22f)](),super[_0x55521b(0x564)]();}[_0x3c513e(0x3ba)](){const _0x51b5b3=_0x3c513e;this[_0x51b5b3(0x1f8)]||(this['_panelInitialized']=!0x0,this[_0x51b5b3(0x1d2)](this[_0x51b5b3(0x3f1)][_0x51b5b3(0x3fd)](_0x3cbd25=>{const _0x3c107c=_0x51b5b3;if(_0x3cbd25['id']!==_0x25de76['id'])return;let _0x130688=_0x3cbd25[_0x3c107c(0x4d0)];this[_0x3c107c(0x41c)](_0x130688['drawingId'],_0x130688[_0x3c107c(0x586)]);})));}[_0x3c513e(0x41c)](_0x3ce064,_0x1c4420){const _0x3f1f95=_0x3c513e;let _0x5344a1=this[_0x3f1f95(0x460)][_0x3f1f95(0x223)](_0x3ce064);_0x5344a1&&(this[_0x3f1f95(0x460)][_0x3f1f95(0x554)](_0x5344a1),this[_0x3f1f95(0x32e)](),this[_0x3f1f95(0x253)]['setChartEditorOpen'](!0x0),this[_0x3f1f95(0x253)][_0x3f1f95(0x3dd)](_0x3ce064,_0x1c4420??null));}[_0x3c513e(0x22f)](){const _0x2fd765=_0x3c513e;let _0xf42bc8=this[_0x2fd765(0x50a)];this[_0x2fd765(0x50a)]=null,this[_0x2fd765(0x286)](),_0xf42bc8==null||_0xf42bc8[_0x2fd765(0x564)]();}[_0x3c513e(0x568)](){const _0x175585=_0x3c513e;this[_0x175585(0x56a)][_0x175585(0x58c)]({[_0x120999[_0x175585(0x27e)][_0x175585(0x47f)]]:{[_0x20c525['id']]:{'order':0x4,'menuItemFactory':_0x16281e}}}),this['_sheetCanvasPopManagerService'][_0x175585(0x30e)](_0x39ea90[_0x175585(0x44e)][_0x175585(0x497)],(_0x37a6d4,_0x38a73f,_0x167281,_0x1c267b)=>[{'label':this[_0x175585(0x1d5)]['t'](_0x175585(0x42e)),'index':0x0,'commandId':_0x25de76['id'],'commandParams':{'unitId':_0x37a6d4,'subUnitId':_0x38a73f,'drawingId':_0x167281},'disable':_0x1c267b!==_0x39ea90[_0x175585(0x44e)][_0x175585(0x497)]},{'label':this[_0x175585(0x1d5)]['t'](_0x175585(0x426)),'index':0x1,'commandId':_0x173cae[_0x175585(0x4c5)]['id'],'commandParams':{'unitId':_0x37a6d4,'drawings':[{'unitId':_0x37a6d4,'subUnitId':_0x38a73f,'drawingId':_0x167281,'drawingType':_0x1c267b}]},'disable':!0x1}],_0x175585(0x3a5));}[_0x3c513e(0x32e)](){const _0x1cdc55=_0x3c513e;this['_sidebarDisposable']=this['_sidebarService'][_0x1cdc55(0x409)]({'id':_0x3ddd9b,'header':{'title':this[_0x1cdc55(0x1d5)]['t'](_0x1cdc55(0x42e))},'children':{'label':_0x3ddd9b},'onClose':()=>{const _0x3c6aae=_0x1cdc55;this[_0x3c6aae(0x50a)]=null,this[_0x3c6aae(0x286)]();}});}[_0x3c513e(0x286)](){const _0x2a568e=_0x3c513e;this[_0x2a568e(0x253)]['setChartEditorOpen'](!0x1),this[_0x2a568e(0x253)][_0x2a568e(0x3b3)](),this['_chartModelService']['activeChartModel']&&this[_0x2a568e(0x460)][_0x2a568e(0x554)](null),this['_drawingManagerService'][_0x2a568e(0x2e7)](null),this[_0x2a568e(0x520)][_0x2a568e(0x407)](_0x39ea90[_0x2a568e(0x3d9)],!0x1);}};_0x4500d0=_0x2c620b([_0x420a6e(0x0,_0x393073[_0x3c513e(0x356)]),_0x420a6e(0x1,(0x0,_0x39ea90[_0x3c513e(0x399)])(_0x517bbe['ChartModelService'])),_0x420a6e(0x2,(0x0,_0x39ea90[_0x3c513e(0x399)])(_0x120999[_0x3c513e(0x393)])),_0x420a6e(0x3,_0x120999[_0x3c513e(0x499)]),_0x420a6e(0x4,(0x0,_0x39ea90['Inject'])(_0x128e70['SheetCanvasPopManagerService'])),_0x420a6e(0x5,_0x39ea90['ICommandService']),_0x420a6e(0x6,_0x1e2d2f),_0x420a6e(0x7,_0x39ea90['IContextService']),_0x420a6e(0x8,(0x0,_0x39ea90[_0x3c513e(0x399)])(_0x39ea90[_0x3c513e(0x263)]))],_0x4500d0);let _0x4f8318=class extends _0x39ea90['Disposable']{constructor(_0x381419,_0x15ab04,_0x3ea12f,_0x5ec287,_0x57945b){const _0x2c6522=_0x3c513e;super(),this[_0x2c6522(0x259)]=_0x381419,this[_0x2c6522(0x40d)]=_0x15ab04,this[_0x2c6522(0x4a9)]=_0x3ea12f,this[_0x2c6522(0x460)]=_0x5ec287,this['_sheetsChartService']=_0x57945b,_0x2d2886(this,_0x2c6522(0x248),void 0x0),this[_0x2c6522(0x4cb)]();}get[_0x3c513e(0x1ed)](){const _0x23f2c8=_0x3c513e;return this[_0x23f2c8(0x4a9)]['getFocusDrawings']();}[_0x3c513e(0x4cb)](){const _0x5923c6=_0x3c513e;this[_0x5923c6(0x1d2)](this[_0x5923c6(0x40d)][_0x5923c6(0x3b9)]({'id':_0x517bbe[_0x5923c6(0x2fa)],'onBeforeCopyFocusedObject':(_0x356eb7,_0x186a7a,_0xcc2f5a)=>{const _0x587b7c=_0x5923c6;this['_copyInfo']=null;let _0x58b207=this[_0x587b7c(0x1ed)][_0x587b7c(0x3ca)](_0x31e2e8=>this[_0x587b7c(0x30c)](_0x31e2e8));return _0x58b207['length']!==0x0&&(this[_0x587b7c(0x248)]={'unitId':_0x356eb7,'subUnitId':_0x186a7a,'copyType':_0xcc2f5a,'drawings':_0x58b207},!0x0);},'onBeforeCopy':(_0x1fa825,_0x3a4843,_0x3bb872,_0x1e5bad)=>{const _0x5c6b7b=_0x5923c6;this[_0x5c6b7b(0x248)]=null,this['_createCopyInfoByRange'](_0x1fa825,_0x3a4843,_0x3bb872,_0x1e5bad);},'onPasteCells':(_0x4fe431,_0x3fc786,_0x50928d,_0x33bed0)=>{const _0x3c8e69=_0x5923c6;if(!_0x33bed0['copyId']||!_0x4fe431||!this[_0x3c8e69(0x248)])return{'redos':[],'undos':[]};let {pasteType:_0x1fda9a}=_0x33bed0;return _0x1fda9a===_0x128e70[_0x3c8e69(0x56e)][_0x3c8e69(0x31f)]?this[_0x3c8e69(0x329)](_0x3fc786,this['_copyInfo'][_0x3c8e69(0x36e)]===_0x128e70[_0x3c8e69(0x2cc)][_0x3c8e69(0x3e8)]):{'redos':[],'undos':[]};}}));}[_0x3c513e(0x4d3)](_0x430c2d,_0x517e46,_0x5eb41f,_0x3c0e0d){const _0x327b15=_0x3c513e;let _0x4ce138=this[_0x327b15(0x259)][_0x327b15(0x37d)](_0x430c2d,_0x517e46);if(!_0x4ce138)return;let _0x4b1907=(0x0,_0x437459[_0x327b15(0x1ef)])(_0x4ce138,_0x5eb41f);if(!_0x4b1907)return;let {startX:_0x2216c1,endX:_0x5100fd,startY:_0x234326,endY:_0xe619a8}=_0x4b1907,_0x5c850b=this[_0x327b15(0x4a9)][_0x327b15(0x2e4)](_0x430c2d,_0x517e46),_0x589728=[];for(let [_0x2bd2dd,_0x2d55bd]of Object['entries'](_0x5c850b)){if(!this[_0x327b15(0x30c)](_0x2d55bd))continue;let {transform:_0x340cb5}=_0x2d55bd;if(!_0x340cb5)continue;let {left:_0x3ac303=0x0,top:_0x5705ff=0x0,width:_0x5420b7=0x0,height:_0x1bc6c1=0x0}=_0x340cb5;_0x2216c1<=_0x3ac303&&_0x5100fd>=_0x3ac303+_0x5420b7&&_0x234326<=_0x5705ff&&_0xe619a8>=_0x5705ff+_0x1bc6c1&&_0x589728[_0x327b15(0x1dc)](_0x2d55bd);}_0x589728['length']>0x0&&(this[_0x327b15(0x248)]={'unitId':_0x430c2d,'subUnitId':_0x517e46,'copyType':_0x3c0e0d,'copyRange':_0x5eb41f,'drawings':_0x589728});}[_0x3c513e(0x30c)](_0x183661){const _0x35d6a0=_0x3c513e;return _0x183661['drawingType']===_0x39ea90[_0x35d6a0(0x44e)][_0x35d6a0(0x497)]&&this[_0x35d6a0(0x1e8)]['getSubUnitId'](_0x183661[_0x35d6a0(0x4ec)],_0x183661[_0x35d6a0(0x1fb)])===_0x183661['subUnitId'];}[_0x3c513e(0x329)](_0x71ebd8,_0x3be615){const _0x17ec31=_0x3c513e;let {unitId:_0x75728e,subUnitId:_0x490cd0,range:_0x1abad6}=_0x71ebd8,_0x210ad0=this[_0x17ec31(0x259)][_0x17ec31(0x37d)](_0x75728e,_0x490cd0);if(!_0x210ad0)return{'redos':[],'undos':[]};let _0x3c2231=(0x0,_0x437459[_0x17ec31(0x475)])(_0x1abad6),{unitId:_0x1c4995,subUnitId:_0x4a17b6,copyRange:_0x36f41d,drawings:_0x40e92f}=this[_0x17ec31(0x248)],_0x541128=this['_sheetSkeletonService'][_0x17ec31(0x37d)](_0x1c4995,_0x4a17b6);if(!_0x541128)return{'redos':[],'undos':[]};let _0x20dbbd=[],_0x2cb23b=[];for(let _0x31f84d of _0x40e92f){let {drawingId:_0x1c7519,transform:_0x75dc1d,sheetTransform:_0x24da8d}=_0x31f84d,_0x1ef2f6=this[_0x17ec31(0x460)]['getChartModel'](_0x1c7519);if(!_0x1ef2f6||!_0x75dc1d||!_0x24da8d)continue;let _0x4520c1=this[_0x17ec31(0x583)]({'transform':_0x75dc1d,'sheetTransform':_0x24da8d},{'skeleton':_0x541128,'range':_0x36f41d},{'skeleton':_0x210ad0,'range':_0x3c2231});if(_0x3be615){let {redos:_0x504205,undos:_0x3b87bd}=this[_0x17ec31(0x306)]({'fromUnitId':_0x1c4995,'fromSubUnitId':_0x4a17b6,'toUnitId':_0x75728e,'toSubUnitId':_0x490cd0,'drawing':_0x31f84d,'newTransforms':_0x4520c1},_0x1ef2f6);_0x20dbbd[_0x17ec31(0x1dc)](..._0x504205),_0x2cb23b[_0x17ec31(0x1dc)](..._0x3b87bd);continue;}let {redos:_0x126223,undos:_0x92d13f}=this[_0x17ec31(0x1d0)]({'toUnitId':_0x75728e,'toSubUnitId':_0x490cd0,'drawing':_0x31f84d,'newTransforms':_0x4520c1},_0x1ef2f6);_0x20dbbd[_0x17ec31(0x1dc)](..._0x126223),_0x2cb23b['push'](..._0x92d13f);}return{'redos':_0x20dbbd,'undos':_0x2cb23b};}['_generateCutPasteMutations'](_0x204187,_0x51490d){const _0x291130=_0x3c513e;let {fromUnitId:_0x1cde6f,fromSubUnitId:_0x79e4eb,toUnitId:_0x3f8627,toSubUnitId:_0xbf9389,drawing:_0x238a73,newTransforms:_0x4b051d}=_0x204187,_0x521725={..._0x238a73,'unitId':_0x3f8627,'subUnitId':_0xbf9389,'transform':_0x4b051d[_0x291130(0x4a0)],'sheetTransform':_0x4b051d['sheetTransform']};if(_0x3f8627===_0x1cde6f&&_0xbf9389===_0x79e4eb){let {redo:_0x45dd8a,undo:_0x5ab656,objects:_0x300425}=this['_sheetDrawingService'][_0x291130(0x203)]([_0x521725]);return{'redos':[{'id':_0x173cae['SetDrawingApplyMutation']['id'],'params':{'unitId':_0x3f8627,'subUnitId':_0xbf9389,'type':_0x173cae['DrawingApplyType'][_0x291130(0x48e)],'op':_0x45dd8a,'objects':_0x300425}}],'undos':[{'id':_0x173cae['SetDrawingApplyMutation']['id'],'params':{'unitId':_0x3f8627,'subUnitId':_0xbf9389,'type':_0x173cae['DrawingApplyType']['UPDATE'],'op':_0x5ab656,'objects':_0x300425}}]};}{let _0x5f154e=this[_0x291130(0x4a9)][_0x291130(0x385)]([_0x238a73]),_0x2163ca=this['_sheetDrawingService'][_0x291130(0x28d)]([_0x521725]),_0x5bc050=this[_0x291130(0x1e8)][_0x291130(0x551)](_0x51490d['id']);if(!_0x5bc050)return{'redos':[],'undos':[]};let {chartType:_0x18d4dc,context:_0x2fe8bf,style:_0x31aab5,dataAggregation:_0x54c3ad}=_0x51490d[_0x291130(0x4dc)]();return{'redos':[{'id':_0x173cae[_0x291130(0x207)]['id'],'params':{'unitId':_0x1cde6f,'subUnitId':_0x79e4eb,'type':_0x173cae[_0x291130(0x4b2)][_0x291130(0x39b)],'op':_0x5f154e[_0x291130(0x571)],'objects':_0x5f154e[_0x291130(0x575)]}},{'id':_0x517bbe[_0x291130(0x47c)]['id'],'params':{'unitId':_0x1cde6f,'subUnitId':_0x79e4eb,'chartId':_0x238a73[_0x291130(0x1fb)]}},{'id':_0x173cae[_0x291130(0x207)]['id'],'params':{'unitId':_0x3f8627,'subUnitId':_0xbf9389,'type':_0x173cae[_0x291130(0x4b2)]['INSERT'],'op':_0x2163ca[_0x291130(0x571)],'objects':_0x2163ca[_0x291130(0x575)]}},{'id':_0x517bbe[_0x291130(0x4c2)]['id'],'params':{'unitId':_0x3f8627,'subUnitId':_0xbf9389,'chartId':_0x238a73[_0x291130(0x1fb)],'chartType':_0x18d4dc,...(0x0,_0x517bbe[_0x291130(0x582)])(_0x5bc050),'context':_0x2fe8bf,'style':_0x31aab5,'dataAggregation':_0x54c3ad}}],'undos':[{'id':_0x173cae['SetDrawingApplyMutation']['id'],'params':{'unitId':_0x1cde6f,'subUnitId':_0x79e4eb,'type':_0x173cae[_0x291130(0x4b2)][_0x291130(0x3a7)],'op':_0x5f154e['undo'],'objects':_0x5f154e[_0x291130(0x575)]}},{'id':_0x517bbe['InsertSheetsChartMutation']['id'],'params':{'unitId':_0x1cde6f,'subUnitId':_0x79e4eb,'chartId':_0x238a73[_0x291130(0x1fb)],'chartType':_0x18d4dc,...(0x0,_0x517bbe[_0x291130(0x582)])(_0x5bc050),'context':_0x2fe8bf,'style':_0x31aab5,'dataAggregation':_0x54c3ad}},{'id':_0x173cae[_0x291130(0x207)]['id'],'params':{'unitId':_0x3f8627,'subUnitId':_0xbf9389,'type':_0x173cae[_0x291130(0x4b2)][_0x291130(0x39b)],'op':_0x2163ca[_0x291130(0x45a)],'objects':_0x2163ca[_0x291130(0x575)]}},{'id':_0x517bbe[_0x291130(0x47c)]['id'],'params':{'unitId':_0x3f8627,'subUnitId':_0xbf9389,'chartId':_0x238a73[_0x291130(0x1fb)]}}]};}}[_0x3c513e(0x1d0)](_0x252ea7,_0x48c542){const _0x383286=_0x3c513e;let {toUnitId:_0x253427,toSubUnitId:_0x5e4421,drawing:_0x464f77,newTransforms:_0x336ff2}=_0x252ea7,_0x3f8976=(0x0,_0x39ea90['generateRandomId'])(),_0x1c5501={..._0x464f77,'unitId':_0x253427,'subUnitId':_0x5e4421,'drawingId':_0x3f8976,'transform':_0x336ff2['transform'],'sheetTransform':_0x336ff2['sheetTransform']},{redo:_0x4568a9,undo:_0x2eac70,objects:_0x397a6e}=this[_0x383286(0x4a9)][_0x383286(0x28d)]([_0x1c5501]),_0x43316a=this[_0x383286(0x1e8)][_0x383286(0x551)](_0x48c542['id']);if(!_0x43316a)return{'redos':[],'undos':[]};let {chartType:_0xd90568,context:_0x1ac0fb,style:_0x17190d,dataAggregation:_0x3baaca}=_0x48c542[_0x383286(0x4dc)]();return{'redos':[{'id':_0x173cae[_0x383286(0x207)]['id'],'params':{'unitId':_0x253427,'subUnitId':_0x5e4421,'type':_0x173cae[_0x383286(0x4b2)][_0x383286(0x3a7)],'op':_0x4568a9,'objects':_0x397a6e}},{'id':_0x517bbe[_0x383286(0x4c2)]['id'],'params':{'unitId':_0x253427,'subUnitId':_0x5e4421,'chartId':_0x3f8976,'chartType':_0xd90568,...(0x0,_0x517bbe[_0x383286(0x582)])(_0x43316a),'context':_0x1ac0fb,'style':_0x17190d,'dataAggregation':_0x3baaca}}],'undos':[{'id':_0x173cae['SetDrawingApplyMutation']['id'],'params':{'unitId':_0x253427,'subUnitId':_0x5e4421,'type':_0x173cae[_0x383286(0x4b2)][_0x383286(0x39b)],'op':_0x2eac70,'objects':_0x397a6e}},{'id':_0x517bbe[_0x383286(0x47c)]['id'],'params':{'unitId':_0x253427,'subUnitId':_0x5e4421,'chartId':_0x3f8976}}]};}[_0x3c513e(0x583)](_0x497522,_0x2cfcfc,_0x47089f){const _0xccf389=_0x3c513e;let {range:_0x1c6c8b,skeleton:_0x10750b}=_0x2cfcfc,{range:_0x2c245e,skeleton:_0x2df174}=_0x47089f,{transform:_0x1ac0f8,sheetTransform:_0x66d507}=_0x497522,_0x4b13a3={..._0x1ac0f8};if(_0x1c6c8b){let _0x31c2f1=(0x0,_0x437459['attachRangeWithCoord'])(_0x10750b,_0x1c6c8b),_0x18be57=(0x0,_0x437459[_0xccf389(0x1ef)])(_0x2df174,_0x2c245e);if(_0x31c2f1&&_0x18be57){let _0x122325=_0x18be57[_0xccf389(0x3f4)]-_0x31c2f1[_0xccf389(0x3f4)],_0x578d3a=_0x18be57['startY']-_0x31c2f1[_0xccf389(0x30f)];_0x4b13a3['left']=(_0x4b13a3['left']??0x0)+_0x122325,_0x4b13a3[_0xccf389(0x433)]=(_0x4b13a3['top']??0x0)+_0x578d3a;}}else{let _0x3222fa=(0x0,_0x437459[_0xccf389(0x1ef)])(_0x2df174,_0x2c245e);_0x4b13a3['left']=_0x3222fa==null?void 0x0:_0x3222fa[_0xccf389(0x3f4)],_0x4b13a3['top']=_0x3222fa==null?void 0x0:_0x3222fa[_0xccf389(0x30f)];}return{'transform':_0x4b13a3,'sheetTransform':(0x0,_0x173cae[_0xccf389(0x3eb)])(_0x4b13a3,_0x2df174)??_0x66d507};}};_0x4f8318=_0x2c620b([_0x420a6e(0x0,(0x0,_0x39ea90[_0x3c513e(0x399)])(_0x437459['SheetSkeletonService'])),_0x420a6e(0x1,(0x0,_0x39ea90[_0x3c513e(0x399)])(_0x128e70['ISheetClipboardService'])),_0x420a6e(0x2,(0x0,_0x39ea90[_0x3c513e(0x399)])(_0x173cae['ISheetDrawingService'])),_0x420a6e(0x3,(0x0,_0x39ea90['Inject'])(_0x517bbe[_0x3c513e(0x428)])),_0x420a6e(0x4,(0x0,_0x39ea90[_0x3c513e(0x399)])(_0x517bbe[_0x3c513e(0x41e)]))],_0x4f8318);let _0x301ff4=class extends _0x39ea90['Disposable']{constructor(_0x4af4f3,_0xa1c1a1,_0x87cbcd,_0xf4a056){const _0xe1d110=_0x3c513e;super(),this[_0xe1d110(0x3f1)]=_0x4af4f3,this['_localeService']=_0xa1c1a1,this[_0xe1d110(0x1e7)]=_0x87cbcd,this[_0xe1d110(0x1e8)]=_0xf4a056,this[_0xe1d110(0x33b)]();}[_0x3c513e(0x33b)](){const _0x3d3a8b=_0x3c513e;this[_0x3d3a8b(0x1d2)](this[_0x3d3a8b(0x3f1)]['beforeCommandExecuted'](_0x2736ad=>{const _0x4fe802=_0x3d3a8b;let _0x40fb0b,_0x13aafb;if(_0x2736ad['id']===_0x517bbe['InsertChartCommand']['id']){let _0x43a582=_0x2736ad[_0x4fe802(0x4d0)];_0x40fb0b=_0x43a582[_0x4fe802(0x4ec)],_0x13aafb=_0x43a582[_0x4fe802(0x46c)];}else{if(_0x2736ad['id']===_0x517bbe[_0x4fe802(0x58f)]['id']||_0x2736ad['id']===_0x517bbe['ChartUpdateSourceCommand']['id']){let _0x239860=_0x2736ad[_0x4fe802(0x4d0)];_0x40fb0b=_0x239860[_0x4fe802(0x4ec)],_0x13aafb=this[_0x4fe802(0x1e8)][_0x4fe802(0x455)](_0x239860[_0x4fe802(0x4ec)],_0x239860[_0x4fe802(0x3a8)]);}}_0x40fb0b&&_0x13aafb&&(this['_sheetPermissionCheckController'][_0x4fe802(0x4f8)]({'workbookTypes':[_0x437459['WorkbookEditablePermission']],'worksheetTypes':[_0x437459[_0x4fe802(0x355)]]},_0x40fb0b,_0x13aafb)||this[_0x4fe802(0x1e7)][_0x4fe802(0x2a4)](this['_localeService']['t']('sheets-chart-ui.permission.editErr')));}));}};_0x301ff4=_0x2c620b([_0x420a6e(0x0,(0x0,_0x39ea90[_0x3c513e(0x399)])(_0x39ea90['ICommandService'])),_0x420a6e(0x1,(0x0,_0x39ea90['Inject'])(_0x39ea90[_0x3c513e(0x263)])),_0x420a6e(0x2,(0x0,_0x39ea90[_0x3c513e(0x399)])(_0x437459[_0x3c513e(0x3ad)])),_0x420a6e(0x3,(0x0,_0x39ea90['Inject'])(_0x517bbe[_0x3c513e(0x41e)]))],_0x301ff4);let _0x753064=class extends _0x39ea90[_0x3c513e(0x32b)]{constructor(_0x4a12d5,_0xaa8f7e){const _0x30f4b2=_0x3c513e;super(),this[_0x30f4b2(0x597)]=_0xaa8f7e,this[_0x30f4b2(0x1d2)](_0x4a12d5[_0x30f4b2(0x2f7)](this));}['supports'](_0x1f6651){const _0xe6f2e6=_0x3c513e;return _0xe6f2e6(0x4ec)in _0x1f6651&&_0xe6f2e6(0x46c)in _0x1f6651;}[_0x3c513e(0x4c1)](_0x13bc0a,_0x591fb7){const _0x3168e1=_0x3c513e;return this['_renderService'][_0x3168e1(0x4c1)](_0x13bc0a[_0x3168e1(0x3ee)](),_0x591fb7);}};_0x753064=_0x2c620b([_0x420a6e(0x0,(0x0,_0x39ea90[_0x3c513e(0x399)])(_0x3289ff[_0x3c513e(0x40f)])),_0x420a6e(0x1,(0x0,_0x39ea90['Inject'])(_0x5ecc7f))],_0x753064);let _0x1dc8e8=class extends _0x39ea90['Plugin']{constructor(_0x31f000=_0x377b59,_0x49d90b,_0x42357e,_0x440168){const _0x72cc96=_0x3c513e;super(),this['_config']=_0x31f000,this[_0x72cc96(0x245)]=_0x49d90b,this['_configService']=_0x42357e,this[_0x72cc96(0x3f1)]=_0x440168;let {..._0x2d64a9}=(0x0,_0x39ea90[_0x72cc96(0x231)])({},_0x377b59,this[_0x72cc96(0x431)]);this[_0x72cc96(0x3b8)][_0x72cc96(0x2b8)](_0x122536,_0x2d64a9),this[_0x72cc96(0x46b)]();}[_0x3c513e(0x320)](){const _0x703db0=_0x3c513e;let _0x4002be=[[_0x22c565],[_0x1e2d2f,{'useClass':_0x54c185}],[_0x1e2812,{'useClass':_0x5f23a1}],[_0x3de613],[_0x5ecc7f],[_0x753064],[_0x4500d0],[_0x5748de],[_0x2b7453],[_0x4f8318],[_0x15e961],[_0x301ff4]],_0x13d514=[[_0x22c565],[_0x4500d0],[_0x2b7453],[_0x5748de],[_0x753064],[_0x1e2d2f],[_0x4f8318],[_0x15e961],[_0x301ff4]];_0x4002be[_0x703db0(0x517)](_0xc4b67b=>this[_0x703db0(0x245)]['add'](_0xc4b67b)),(0x0,_0x39ea90[_0x703db0(0x239)])(this[_0x703db0(0x245)],_0x13d514);}[_0x3c513e(0x3e1)](){const _0x355057=_0x3c513e;var _0x43d00a;(_0x43d00a=this[_0x355057(0x245)]['get'](_0x4500d0))==null||_0x43d00a[_0x355057(0x3ba)]();}['_initCommands'](){const _0x21dce1=_0x3c513e;[_0x20c525,_0x25de76][_0x21dce1(0x517)](_0x595a3c=>this[_0x21dce1(0x1d2)](this['_commandService'][_0x21dce1(0x4ad)](_0x595a3c)));}};_0x2d2886(_0x1dc8e8,'type',_0x39ea90[_0x3c513e(0x579)][_0x3c513e(0x398)]),_0x2d2886(_0x1dc8e8,_0x3c513e(0x4de),'UniverSheetsChartUIPlugin'),_0x2d2886(_0x1dc8e8,_0x3c513e(0x23f),_0x36dbe1),_0x2d2886(_0x1dc8e8,_0x3c513e(0x432),_0x26c672),_0x1dc8e8=_0x2c620b([(0x0,_0x39ea90[_0x3c513e(0x550)])(_0x239db3[_0x3c513e(0x33d)],_0x393073[_0x3c513e(0x595)],_0x4330b5[_0x3c513e(0x591)],_0x437459['UniverSheetsPlugin'],_0x173cae[_0x3c513e(0x44f)],_0x3289ff[_0x3c513e(0x29a)],_0x517bbe[_0x3c513e(0x394)],_0x545a31[_0x3c513e(0x2da)],_0x128e70[_0x3c513e(0x4a3)],_0x120999[_0x3c513e(0x205)]),_0x420a6e(0x1,(0x0,_0x39ea90[_0x3c513e(0x399)])(_0x39ea90[_0x3c513e(0x29e)])),_0x420a6e(0x2,_0x39ea90[_0x3c513e(0x225)]),_0x420a6e(0x3,_0x39ea90[_0x3c513e(0x531)])],_0x1dc8e8);let _0x2ce5da={'scaleX':0x1,'scaleY':0x1};function _0x18e3cc(_0x56319d){let _0x356829=_0x56319d['nativeEvent'];return _0x356829 instanceof MouseEvent?_0x356829:void 0x0;}function _0x4ac65e(_0x305767){const _0x47186b=_0x3c513e;let _0x83f40b=_0x305767[_0x47186b(0x2ba)],_0x48f859=_0x83f40b==null?void 0x0:_0x83f40b[_0x47186b(0x3ac)];return _0x48f859 instanceof Element?_0x48f859:void 0x0;}function _0x5287c9(_0x90c549){const _0xba1369=_0x3c513e;var _0x575eba;return(_0x575eba=_0x4ac65e(_0x90c549))==null?void 0x0:_0x575eba[_0xba1369(0x29c)]();}function _0x1068b1(_0x5054d0){const _0xe7f4f2=_0x3c513e;return _0x5054d0[_0xe7f4f2(0x213)]||_0x5054d0['right']-_0x5054d0['left'];}function _0x536186(_0x2be132){const _0x1d7f6f=_0x3c513e;return _0x2be132[_0x1d7f6f(0x3f6)]||_0x2be132[_0x1d7f6f(0x565)]-_0x2be132[_0x1d7f6f(0x433)];}function _0xea40d(_0x26315f,_0x41bcdc){const _0x2563ed=_0x3c513e;let _0x5d773e=_0x26315f[_0x2563ed(0x533)]||(_0x26315f instanceof HTMLElement?_0x26315f[_0x2563ed(0x56c)]:0x0),_0x13451a=_0x26315f[_0x2563ed(0x55a)]||(_0x26315f instanceof HTMLElement?_0x26315f[_0x2563ed(0x3bd)]:0x0),_0x48629b=_0x1068b1(_0x41bcdc),_0x28442e=_0x536186(_0x41bcdc);return{'scaleX':_0x5d773e>0x0&&_0x48629b>0x0?_0x48629b/_0x5d773e:_0x2ce5da[_0x2563ed(0x315)],'scaleY':_0x13451a>0x0&&_0x28442e>0x0?_0x28442e/_0x13451a:_0x2ce5da[_0x2563ed(0x264)]};}function _0x22afbc(_0x21128d,_0x271074,_0x136f76){const _0x2a3b4e=_0x3c513e;return{'left':_0x21128d[_0x2a3b4e(0x412)]+_0x271074[_0x2a3b4e(0x412)]*_0x136f76[_0x2a3b4e(0x315)],'right':_0x21128d[_0x2a3b4e(0x412)]+_0x271074[_0x2a3b4e(0x462)]*_0x136f76[_0x2a3b4e(0x315)],'top':_0x21128d['top']+_0x271074[_0x2a3b4e(0x433)]*_0x136f76[_0x2a3b4e(0x264)],'bottom':_0x21128d[_0x2a3b4e(0x433)]+_0x271074['bottom']*_0x136f76[_0x2a3b4e(0x264)]};}function _0x3b48c5(_0x5da1d0){const _0x214663=_0x3c513e;let _0x336269=_0x4ac65e(_0x5da1d0),_0xc3c766=_0x5da1d0[_0x214663(0x4ea)][_0x214663(0x52f)];return _0x336269&&_0xc3c766?()=>{const _0x19b2fa=_0x214663;let _0x15717d=_0x336269[_0x19b2fa(0x29c)]();return _0x22afbc(_0x15717d,_0xc3c766,_0xea40d(_0x336269,_0x15717d));}:()=>{const _0x2a7dec=_0x214663;let _0x217966=_0x5287c9(_0x5da1d0);if(_0x217966&&_0xc3c766)return _0x22afbc(_0x217966,_0xc3c766,_0x336269?_0xea40d(_0x336269,_0x217966):_0x2ce5da);let _0x507faf=_0x18e3cc(_0x5da1d0),_0x3c1086=_0x336269&&_0x217966?_0xea40d(_0x336269,_0x217966):_0x2ce5da,_0x481838=(_0x507faf==null?void 0x0:_0x507faf[_0x2a7dec(0x3ae)])??(_0x217966?_0x217966['left']+_0x5da1d0[_0x2a7dec(0x441)]['x']*_0x3c1086['scaleX']:_0x5da1d0[_0x2a7dec(0x441)]['x']),_0x40cc4d=(_0x507faf==null?void 0x0:_0x507faf[_0x2a7dec(0x38c)])??(_0x217966?_0x217966[_0x2a7dec(0x433)]+_0x5da1d0[_0x2a7dec(0x441)]['y']*_0x3c1086['scaleY']:_0x5da1d0[_0x2a7dec(0x441)]['y']);return{'left':_0x481838,'right':_0x481838+0x1,'top':_0x40cc4d,'bottom':_0x40cc4d+0x1};};}function _0x3acf3b(_0x25b75a){const _0x56a59b=_0x3c513e;return typeof _0x25b75a==_0x56a59b(0x4ca)&&Number[_0x56a59b(0x4b9)](_0x25b75a);}function _0x1e5993(_0x9fdda9){const _0x2a3f25=_0x3c513e;if(!_0x9fdda9||typeof _0x9fdda9!=_0x2a3f25(0x54a))return!0x0;let {startX:_0x543fd1,endX:_0x29963c,startY:_0x5c8f3e,endY:_0x31c275}=_0x9fdda9;return!_0x3acf3b(_0x543fd1)||!_0x3acf3b(_0x29963c)||!_0x3acf3b(_0x5c8f3e)||!_0x3acf3b(_0x31c275)||_0x29963c-_0x543fd1>0x2&&_0x31c275-_0x5c8f3e>0x2;}function _0xd8baf9(_0x52184b){const _0x514ae7=_0x3c513e;return _0x52184b['right']<=_0x52184b['left']||_0x52184b[_0x514ae7(0x565)]<=_0x52184b['top']?!0x1:typeof window>'u'||_0x52184b[_0x514ae7(0x462)]>0x0&&_0x52184b['bottom']>0x0&&_0x52184b['left']<window[_0x514ae7(0x261)]&&_0x52184b[_0x514ae7(0x433)]<window[_0x514ae7(0x328)];}function _0x2f9963(_0x479b4b){const _0x401d71=_0x3c513e;var _0x139696;return _0x479b4b==null||(_0x139696=_0x479b4b[_0x401d71(0x3c2)])==null?void 0x0:_0x139696[_0x401d71(0x295)](_0x479b4b);}function _0x18a1d7(_0x479706,_0x2e564d,_0x18a9da){const _0x53f139=_0x3c513e;let _0x5da15a=_0x3b48c5(_0x479706),_0x5a80a4=_0x2f9963(_0x2e564d),_0x1e412f=_0x5da15a(),_0x51cd16=new _0x233567['BehaviorSubject'](_0x1e412f),_0x110274=new _0x39ea90[(_0x53f139(0x529))](),_0x18ff03=!0x1,_0x111ee9=!0x1,_0x4d2599=_0x51e882=>_0x1e5993(_0x5a80a4)&&_0xd8baf9(_0x51e882),_0x47878c=()=>{_0x111ee9||_0x18ff03||(_0x111ee9=!0x0,queueMicrotask(()=>{const _0x4a6912=_0x3bb2;if(_0x111ee9=!0x1,!_0x18ff03){let _0x2b49cf=_0x5da15a();if(!_0x4d2599(_0x2b49cf)){_0x18a9da();return;}_0x51cd16[_0x4a6912(0x357)](_0x2b49cf);}}));};return _0x2e564d&&_0x110274['add'](_0x2e564d[_0x53f139(0x24e)](_0xa3d6d=>{_0x5a80a4=_0xa3d6d,_0x47878c();})),typeof window<'u'&&_0x110274[_0x53f139(0x2c4)]((0x0,_0x233567[_0x53f139(0x231)])((0x0,_0x233567['fromEvent'])(window,'scroll',{'capture':!0x0}),(0x0,_0x233567[_0x53f139(0x3d2)])(window,_0x53f139(0x4f0)))[_0x53f139(0x1ee)]((0x0,_0x233567[_0x53f139(0x4b5)])(0x10))[_0x53f139(0x24e)](_0x47878c)),{'initialRect':_0x1e412f,'anchorRect$':_0x51cd16['asObservable'](),'visible':_0x4d2599(_0x1e412f),'dispose':()=>{const _0x271b5f=_0x53f139;_0x18ff03=!0x0,_0x110274['dispose'](),_0x51cd16[_0x271b5f(0x250)]();}};}let _0xf6519=_0x3c513e(0x4b7),_0xa53502=class extends _0x39ea90[_0x3c513e(0x32b)]{constructor(_0x14b989,_0x37f068,_0x143981,_0x2bf06a,_0x16df1c,_0x4c8613,_0x513973,_0x426a90,_0x514408){const _0x4f33e2=_0x3c513e;super(),this['_chartModelService']=_0x14b989,this[_0x4f33e2(0x4e1)]=_0x37f068,this[_0x4f33e2(0x26d)]=_0x143981,this[_0x4f33e2(0x1c9)]=_0x2bf06a,this[_0x4f33e2(0x397)]=_0x16df1c,this[_0x4f33e2(0x4ce)]=_0x4c8613,this[_0x4f33e2(0x524)]=_0x513973,this['_commandService']=_0x426a90,this[_0x4f33e2(0x245)]=_0x514408,_0x2d2886(this,_0x4f33e2(0x50f),null),_0x2d2886(this,'_popupChartId',null),_0x2d2886(this,_0x4f33e2(0x492),null),this[_0x4f33e2(0x314)](),this['_subscribeChartEvents']();}[_0x3c513e(0x564)](){const _0x36e955=_0x3c513e;this['_closePopup'](),super[_0x36e955(0x564)]();}[_0x3c513e(0x314)](){const _0x549d6a=_0x3c513e;let _0x2ba748=(0x0,_0x3289ff[_0x549d6a(0x570)])({'chartUIService':this[_0x549d6a(0x4ce)],'getHostAdapter':_0x3af524=>{const _0x32610a=_0x549d6a;let _0x4761bb=this['_chartModelService'][_0x32610a(0x223)](_0x3af524['chartId']);if(_0x4761bb&&_0x3af524[_0x32610a(0x46c)])return new _0x3289ff[(_0x32610a(0x1c4))](_0x4761bb,new _0x517bbe[(_0x32610a(0x4ed))]({'unitId':_0x3af524[_0x32610a(0x4ec)],'subUnitId':_0x3af524[_0x32610a(0x46c)],'chartId':_0x3af524[_0x32610a(0x593)],'injector':this[_0x32610a(0x245)]}));},'close':()=>this['_closePopup'](),'openFullPanel':_0x459323=>{const _0x70d25=_0x549d6a;let {unitId:_0x398a91,subUnitId:_0x18f439,drawingId:_0x1a2b94,chartId:_0x942f74}=_0x459323,_0x11a173=(0x0,_0x3289ff[_0x70d25(0x422)])(_0x459323[_0x70d25(0x3ac)]);this[_0x70d25(0x3f1)]['executeCommand'](_0x25de76['id'],{'unitId':_0x398a91,'subUnitId':_0x18f439??'','drawingId':_0x1a2b94??_0x942f74,..._0x11a173?{'route':_0x11a173}:{}});}});this[_0x549d6a(0x1d2)](this[_0x549d6a(0x524)][_0x549d6a(0x2f7)](_0xf6519,_0x2ba748));}[_0x3c513e(0x483)](){const _0x1b2a63=_0x3c513e;this[_0x1b2a63(0x1d2)](this[_0x1b2a63(0x460)][_0x1b2a63(0x57f)][_0x1b2a63(0x24e)](_0x2f9589=>{const _0x41d7fb=_0x1b2a63;let _0x2c37dd=new _0x39ea90[(_0x41d7fb(0x529))]();_0x2c37dd[_0x41d7fb(0x2c4)](this[_0x41d7fb(0x4e1)]['on'](_0x2f9589['id'],'click',_0x1c880f=>{this['_openFloatMenu'](_0x2f9589['id'],_0x1c880f);})),_0x2c37dd['add'](this[_0x41d7fb(0x4e1)]['on'](_0x2f9589['id'],_0x41d7fb(0x2d8),()=>{const _0x85be77=_0x41d7fb;this[_0x85be77(0x41b)](_0x2f9589['id']);})),_0x2f9589[_0x41d7fb(0x202)](()=>{const _0xbe69a2=_0x41d7fb;_0x2c37dd[_0xbe69a2(0x564)](),this[_0xbe69a2(0x34b)](_0x2f9589['id']);}),this['disposeWithMe'](_0x2c37dd);})),this[_0x1b2a63(0x1d2)]((0x0,_0x233567['combineLatest'])([this[_0x1b2a63(0x460)]['activeChartModel$'],this['_chartUIService']['chartEditorOpen$']])[_0x1b2a63(0x24e)](([_0x521850,_0x194367])=>{const _0xa8cd50=_0x1b2a63;(!_0x194367||this[_0xa8cd50(0x367)]&&(_0x521850==null?void 0x0:_0x521850['id'])!==this['_popupChartId'])&&this[_0xa8cd50(0x449)]();})),this[_0x1b2a63(0x1d2)](this['_sheetCanvasFloatDomManagerService'][_0x1b2a63(0x2e3)]['subscribe'](({id:_0x23c9c5})=>{this['_clearSelectedTarget'](_0x23c9c5);})),this[_0x1b2a63(0x1d2)](this[_0x1b2a63(0x397)][_0x1b2a63(0x3bb)]['subscribe'](({id:_0x34c938})=>{const _0x11dfa0=_0x1b2a63;this[_0x11dfa0(0x34b)](_0x34c938);})),this[_0x1b2a63(0x1d2)](this['_chartHostProvider']['removeHost$']['subscribe'](_0x17f919=>{const _0x3899e9=_0x1b2a63;this[_0x3899e9(0x34b)](_0x17f919);}));}[_0x3c513e(0x41b)](_0x2cd580){const _0x449ce0=_0x3c513e;if(this['_chartUIService'][_0x449ce0(0x49f)])return;let _0xf3f015=this[_0x449ce0(0x460)]['getChartModel'](_0x2cd580),_0x303645=this[_0x449ce0(0x397)]['getFloatDomInfo'](_0x2cd580);_0xf3f015&&_0x303645&&this[_0x449ce0(0x3f1)][_0x449ce0(0x53b)](_0x25de76['id'],{'unitId':_0x303645['unitId'],'subUnitId':_0x303645[_0x449ce0(0x46c)]??'','drawingId':_0x2cd580});}['_openFloatMenu'](_0x1ced88,_0x44ef15){const _0x234128=_0x3c513e;if(!this['_chartUIService']['isElementEditModeActive'](_0x1ced88))return;let _0x227d96=this[_0x234128(0x460)][_0x234128(0x223)](_0x1ced88),_0x56be84=_0x227d96?_0x8c835f(_0x227d96,_0x44ef15[_0x234128(0x4ea)]):void 0x0;if(!_0x56be84){this[_0x234128(0x4ce)]['clearPanelRoute'](),this[_0x234128(0x449)]();return;}let _0x112810=this[_0x234128(0x397)][_0x234128(0x41f)](_0x1ced88);if(!_0x227d96||!_0x112810){this[_0x234128(0x4ce)][_0x234128(0x3b3)](),this[_0x234128(0x449)]();return;}let _0x440b3c=JSON[_0x234128(0x293)]([_0x112810[_0x234128(0x4ec)],_0x112810[_0x234128(0x46c)],_0x1ced88,_0x56be84[_0x234128(0x3ac)]]);if(this['_popupDisposable']&&this['_popupSessionKey']===_0x440b3c||(this[_0x234128(0x4ce)]['setPanelRoute'](_0x1ced88,_0x56be84[_0x234128(0x586)]),this[_0x234128(0x449)](),!_0x56be84[_0x234128(0x368)]))return;let _0x5e5944=_0x18a1d7(_0x44ef15,_0x112810[_0x234128(0x34d)],()=>this[_0x234128(0x437)](_0x1ced88));if(!_0x5e5944[_0x234128(0x434)]){_0x5e5944['dispose']();return;}let _0x2d8be1=this['_sheetCanvasPopManagerService']['attachPopupToDynamicAbsolutePosition'](_0x5e5944[_0x234128(0x413)],_0x5e5944['anchorRect$'],{'componentKey':_0x3289ff[_0x234128(0x1f3)],'constrainToCanvas':!0x0,'direction':_0x234128(0x479),'offset':[0x0,0x8],'extraProps':{'unitId':_0x112810[_0x234128(0x4ec)],'subUnitId':_0x112810[_0x234128(0x46c)],'chartId':_0x1ced88,'drawingId':_0x1ced88,'element':_0x44ef15['hit'],'target':_0x56be84[_0x234128(0x3ac)],'adapterKey':_0xf6519}},_0x112810[_0x234128(0x4ec)],_0x112810[_0x234128(0x46c)])??null;if(!_0x2d8be1){_0x5e5944[_0x234128(0x564)]();return;}let _0x339af8=new _0x39ea90['DisposableCollection']();_0x339af8[_0x234128(0x2c4)](_0x2d8be1),_0x339af8['add'](_0x5e5944),this[_0x234128(0x50f)]=_0x339af8,this[_0x234128(0x367)]=_0x1ced88,this['_popupSessionKey']=_0x440b3c;}[_0x3c513e(0x449)](){const _0xaed78a=_0x3c513e;var _0x2fdb8a;(_0x2fdb8a=this[_0xaed78a(0x50f)])==null||_0x2fdb8a['dispose'](),this[_0xaed78a(0x50f)]=null,this[_0xaed78a(0x367)]=null,this[_0xaed78a(0x492)]=null;}[_0x3c513e(0x34b)](_0x48dafe){const _0x2a6972=_0x3c513e;(this[_0x2a6972(0x4ce)]['isElementEditModeActive'](_0x48dafe)||this[_0x2a6972(0x367)]===_0x48dafe)&&(this[_0x2a6972(0x4ce)]['clearPanelRoute'](),this[_0x2a6972(0x367)]===_0x48dafe&&this[_0x2a6972(0x449)]());}[_0x3c513e(0x437)](_0x5acb18){const _0xd08084=_0x3c513e;this[_0xd08084(0x34b)](_0x5acb18),this[_0xd08084(0x4ce)][_0xd08084(0x57a)](_0x5acb18)&&(this['_chartRenderService'][_0xd08084(0x23b)](_0x5acb18,!0x1),this[_0xd08084(0x4e1)][_0xd08084(0x23b)](_0x5acb18,!0x0));}};_0xa53502=_0x2c620b([_0x420a6e(0x0,(0x0,_0x39ea90[_0x3c513e(0x399)])(_0x517bbe[_0x3c513e(0x428)])),_0x420a6e(0x1,(0x0,_0x39ea90[_0x3c513e(0x399)])(_0x5ecc7f)),_0x420a6e(0x2,_0x1e2812),_0x420a6e(0x3,(0x0,_0x39ea90[_0x3c513e(0x399)])(_0x128e70[_0x3c513e(0x4fe)])),_0x420a6e(0x4,(0x0,_0x39ea90[_0x3c513e(0x399)])(_0x545a31[_0x3c513e(0x2b6)])),_0x420a6e(0x5,_0x1e2d2f),_0x420a6e(0x6,(0x0,_0x39ea90['Inject'])(_0x3289ff['ChartElementFloatMenuAdapterRegistry'])),_0x420a6e(0x7,_0x39ea90['ICommandService']),_0x420a6e(0x8,(0x0,_0x39ea90[_0x3c513e(0x399)])(_0x39ea90[_0x3c513e(0x29e)]))],_0xa53502);function _0x18d31b({ref:_0x6b5a0b,..._0x299e91}){const _0x24c474=_0x3c513e;let {preserveStrokeWidth:_0x21cfd8,icon:_0x3dc434,id:_0x81b76a,className:_0x270904,extend:_0x288753,..._0x5e4bc9}=_0x299e91,_0x277224=(_0x24c474(0x3e5)+_0x81b76a+'\x20'+(_0x270904||''))[_0x24c474(0x2fe)](),_0x2cef13='_'+(0x0,_0x48e4d2[_0x24c474(0x4d5)])(),_0x243c39=(0x0,_0x48e4d2[_0x24c474(0x544)])(null);return(0x0,_0x48e4d2['useImperativeHandle'])(_0x6b5a0b,()=>_0x243c39[_0x24c474(0x486)]),(0x0,_0x48e4d2[_0x24c474(0x57c)])(()=>{const _0x5c5828=_0x24c474;if(_0x21cfd8&&_0x243c39['current']&&_0x243c39[_0x5c5828(0x486)]['localName']===_0x3dc434['tag'])return _0x5d375a(_0x243c39[_0x5c5828(0x486)]);},[_0x21cfd8,_0x3dc434]),_0xd854c9(_0x3dc434,''+_0x81b76a,{'defIds':_0x3dc434[_0x24c474(0x3ce)],'idSuffix':_0x2cef13},{'ref':_0x243c39,'className':_0x277224,..._0x5e4bc9},_0x288753);}function _0xd854c9(_0x128a4a,_0x576aa6,_0x39e653,_0x5beb00,_0x5ebf92){const _0x4fe683=_0x3c513e;return(0x0,_0x48e4d2[_0x4fe683(0x2d5)])(_0x128a4a[_0x4fe683(0x51f)],{'key':_0x576aa6,..._0x4188c1(_0x128a4a,_0x39e653,_0x5ebf92),..._0x5beb00},(_0x3a6dcc(_0x128a4a,_0x39e653)[_0x4fe683(0x36d)]||[])[_0x4fe683(0x3d7)]((_0x5d8819,_0x5ce3d6)=>_0xd854c9(_0x5d8819,_0x576aa6+'-'+_0x128a4a[_0x4fe683(0x51f)]+'-'+_0x5ce3d6,_0x39e653,void 0x0,_0x5ebf92)));}function _0x4188c1(_0x1f742b,_0xa121a6,_0x519a09){const _0x17403b=_0x3c513e;let _0x117c7c={..._0x1f742b[_0x17403b(0x298)]};_0x519a09!=null&&_0x519a09['colorChannel1']&&_0x117c7c[_0x17403b(0x34c)]===_0x17403b(0x3f2)&&(_0x117c7c[_0x17403b(0x34c)]=_0x519a09['colorChannel1']),_0x519a09!=null&&_0x519a09['colorChannel1']&&_0x117c7c[_0x17403b(0x278)]==='colorChannel1'&&(_0x117c7c[_0x17403b(0x278)]=_0x519a09[_0x17403b(0x3f2)]),_0x1f742b[_0x17403b(0x51f)]===_0x17403b(0x2fc)&&_0x117c7c['id']&&(_0x117c7c['id']+=_0xa121a6['idSuffix']),Object[_0x17403b(0x271)](_0x117c7c)[_0x17403b(0x517)](([_0x5f03ca,_0x286218])=>{const _0x471dc7=_0x17403b;_0x5f03ca===_0x471dc7(0x2fc)&&typeof _0x286218==_0x471dc7(0x335)&&(_0x117c7c[_0x5f03ca]=_0x286218['replace'](/url\(#(.*)\)/,_0x471dc7(0x58d)+_0xa121a6['idSuffix']+')'));});let {defIds:_0x4ee337}=_0xa121a6;return!_0x4ee337||_0x4ee337[_0x17403b(0x266)]===0x0?_0x117c7c:(_0x1f742b[_0x17403b(0x51f)]==='use'&&_0x117c7c[_0x17403b(0x25f)]&&(_0x117c7c[_0x17403b(0x25f)]+=_0xa121a6[_0x17403b(0x3d6)]),Object[_0x17403b(0x271)](_0x117c7c)[_0x17403b(0x517)](([_0x4831cc,_0x38782c])=>{const _0x3adc3c=_0x17403b;typeof _0x38782c==_0x3adc3c(0x335)&&(_0x117c7c[_0x4831cc]=_0x38782c['replace'](/url\(#(.*)\)/,_0x3adc3c(0x58d)+_0xa121a6[_0x3adc3c(0x3d6)]+')'));}),_0x117c7c);}function _0x3a6dcc(_0x33862b,_0x49b603){const _0x57840d=_0x3c513e;var _0x3e6664;let {defIds:_0xb79c13}=_0x49b603;return!_0xb79c13||_0xb79c13[_0x57840d(0x266)]===0x0?_0x33862b:_0x33862b['tag']===_0x57840d(0x215)&&(_0x3e6664=_0x33862b['children'])!=null&&_0x3e6664[_0x57840d(0x266)]?{..._0x33862b,'children':_0x33862b[_0x57840d(0x36d)][_0x57840d(0x3d7)](_0x19260a=>typeof _0x19260a[_0x57840d(0x298)]['id']==_0x57840d(0x335)&&_0xb79c13&&_0xb79c13[_0x57840d(0x3ef)](_0x19260a[_0x57840d(0x298)]['id'])?{..._0x19260a,'attrs':{..._0x19260a['attrs'],'id':_0x19260a[_0x57840d(0x298)]['id']+_0x49b603[_0x57840d(0x3d6)]}}:_0x19260a)}:_0x33862b;}function _0x5d375a(_0x4419e9){const _0x59f098=_0x3c513e;let _0x91fea4=_0x4419e9[_0x59f098(0x304)]['baseVal'],_0x4540fc=Math['max'](_0x91fea4[_0x59f098(0x213)],_0x91fea4['height']);if(!Number[_0x59f098(0x4b9)](_0x4540fc)||_0x4540fc<=0x0||_0x91fea4[_0x59f098(0x213)]<=0x0||_0x91fea4[_0x59f098(0x3f6)]<=0x0)return()=>void 0x0;let _0x54e3e2=0x10/_0x4540fc,_0x1106ff=Array['from'](_0x4419e9['querySelectorAll'](_0x59f098(0x30b)))['flatMap'](_0x37aa0f=>{const _0x523127=_0x59f098;let _0x154e31=getComputedStyle(_0x37aa0f),_0x4c3f08=Number[_0x523127(0x48a)](_0x154e31['strokeWidth']);return _0x154e31['stroke']===_0x523127(0x459)||Number['parseFloat'](_0x154e31[_0x523127(0x4f2)])===0x0||_0x154e31['vectorEffect']===_0x523127(0x589)||!Number[_0x523127(0x4b9)](_0x4c3f08)||_0x4c3f08<=0x0?[]:[{'element':_0x37aa0f,'hadStyleAttribute':_0x37aa0f['hasAttribute']('style'),'originalStrokeWidth':_0x4c3f08,'strokeWidth':_0x34e69a(_0x37aa0f['style'],_0x523127(0x251))}];})['map'](_0xa388dd=>({'appliedStrokeWidth':null,'element':_0xa388dd[_0x59f098(0x2d9)],'hadStyleAttribute':_0xa388dd[_0x59f098(0x3c1)],'isReleased':!0x1,'originalStrokeWidth':_0xa388dd['originalStrokeWidth'],'strokeWidth':_0xa388dd[_0x59f098(0x338)]}));if(_0x1106ff[_0x59f098(0x266)]===0x0)return()=>void 0x0;let _0x338054=(_0x2df05f,_0x3070ca)=>{const _0x2ade34=_0x59f098;if(_0x91fea4[_0x2ade34(0x213)]<=0x0||_0x91fea4[_0x2ade34(0x3f6)]<=0x0||_0x2df05f<=0x0||_0x3070ca<=0x0)return;let _0x1f7a88=Math['min'](_0x2df05f/_0x91fea4[_0x2ade34(0x213)],_0x3070ca/_0x91fea4[_0x2ade34(0x3f6)]);!Number['isFinite'](_0x1f7a88)||_0x1f7a88<=0x0||_0x1106ff[_0x2ade34(0x517)](_0x135ffa=>{const _0x53d1e7=_0x2ade34;if(_0x135ffa['isReleased'])return;if(_0x135ffa[_0x53d1e7(0x27b)]!==null&&(_0x135ffa[_0x53d1e7(0x2d9)][_0x53d1e7(0x38f)][_0x53d1e7(0x1d4)](_0x53d1e7(0x251))!==_0x135ffa[_0x53d1e7(0x27b)]||_0x135ffa[_0x53d1e7(0x2d9)][_0x53d1e7(0x38f)]['getPropertyPriority'](_0x53d1e7(0x251))!==_0x135ffa[_0x53d1e7(0x338)][_0x53d1e7(0x48d)])){_0x135ffa[_0x53d1e7(0x27b)]=null,_0x135ffa['isReleased']=!0x0;return;}let _0x248bec=_0x135ffa[_0x53d1e7(0x4ab)]*_0x54e3e2/_0x1f7a88,_0x599a96=Number(_0x248bec[_0x53d1e7(0x423)](0xc))+'px';_0x135ffa[_0x53d1e7(0x2d9)][_0x53d1e7(0x38f)][_0x53d1e7(0x2b3)](_0x53d1e7(0x251),_0x599a96,_0x135ffa[_0x53d1e7(0x338)][_0x53d1e7(0x48d)]),_0x135ffa[_0x53d1e7(0x27b)]=_0x599a96;});},_0x1e9e97=_0x4419e9['getBoundingClientRect']();_0x338054(_0x1e9e97[_0x59f098(0x213)],_0x1e9e97['height']);let _0x3e9647=typeof ResizeObserver>'u'?null:new ResizeObserver(_0x545c98=>{const _0x4fa8ed=_0x59f098;if(_0x545c98[_0x4fa8ed(0x32c)](_0x4cd6b9=>_0x4cd6b9['target']===_0x4419e9)){let _0x13427f=_0x4419e9[_0x4fa8ed(0x29c)]();_0x338054(_0x13427f['width'],_0x13427f[_0x4fa8ed(0x3f6)]);}});return _0x3e9647==null||_0x3e9647[_0x59f098(0x442)](_0x4419e9),()=>{const _0x3fc1f8=_0x59f098;_0x3e9647==null||_0x3e9647['disconnect'](),_0x1106ff[_0x3fc1f8(0x517)](_0x41fe6d=>{const _0x2747f5=_0x3fc1f8;_0x41fe6d[_0x2747f5(0x27b)]!==null&&(_0x38736f(_0x41fe6d[_0x2747f5(0x2d9)][_0x2747f5(0x38f)],'stroke-width',_0x41fe6d[_0x2747f5(0x27b)],_0x41fe6d[_0x2747f5(0x338)]['priority'],_0x41fe6d[_0x2747f5(0x338)]),!_0x41fe6d[_0x2747f5(0x3c1)]&&_0x41fe6d[_0x2747f5(0x2d9)]['style'][_0x2747f5(0x266)]===0x0&&_0x41fe6d[_0x2747f5(0x2d9)][_0x2747f5(0x521)](_0x2747f5(0x38f)));});};}function _0x34e69a(_0x30cebc,_0x1cbaba){const _0x5cb4db=_0x3c513e;return{'priority':_0x30cebc['getPropertyPriority'](_0x1cbaba),'value':_0x30cebc[_0x5cb4db(0x1d4)](_0x1cbaba)};}function _0x38736f(_0x14e5bc,_0x36dee7,_0x786351,_0x1959e5,_0x5612d2){const _0x162e5a=_0x3c513e;_0x14e5bc[_0x162e5a(0x1d4)](_0x36dee7)===_0x786351&&_0x14e5bc['getPropertyPriority'](_0x36dee7)===_0x1959e5&&(_0x5612d2[_0x162e5a(0x4df)]?_0x14e5bc['setProperty'](_0x36dee7,_0x5612d2[_0x162e5a(0x4df)],_0x5612d2['priority']):_0x14e5bc[_0x162e5a(0x351)](_0x36dee7));}_0x18d31b[_0x3c513e(0x54d)]=_0x3c513e(0x1e2);let _0x48cfc0={'tag':_0x3c513e(0x296),'attrs':{'xmlns':_0x3c513e(0x4e2),'fill':'none','viewBox':_0x3c513e(0x55d),'width':_0x3c513e(0x2ed),'height':_0x3c513e(0x2ed)},'children':[{'tag':'path','attrs':{'fill':'currentColor','d':_0x3c513e(0x52a)}}]},_0x4c448f=(0x0,_0x48e4d2['forwardRef'])(function(_0x1a7b57,_0x3edcc6){const _0x43f455=_0x3c513e;return(0x0,_0x48e4d2[_0x43f455(0x2d5)])(_0x18d31b,Object[_0x43f455(0x424)]({},_0x1a7b57,{'id':_0x43f455(0x52d),'ref':_0x3edcc6,'icon':_0x48cfc0}));});_0x4c448f[_0x3c513e(0x54d)]='PenIcon';let _0x11f95f=class extends _0x39ea90[_0x3c513e(0x32b)]{constructor(_0x31ede4,_0x4faea1){const _0x3b5053=_0x3c513e;super(),this[_0x3b5053(0x3f5)]=_0x31ede4,this[_0x3b5053(0x435)]=_0x4faea1,this[_0x3b5053(0x473)](),this[_0x3b5053(0x4a6)]();}[_0x3c513e(0x473)](){const _0x51e68f=_0x3c513e;this[_0x51e68f(0x1d2)](this['_iconManager'][_0x51e68f(0x2f7)]({'PenIcon':_0x4c448f}));}[_0x3c513e(0x4a6)](){const _0x561a84=_0x3c513e;[[_0x3ddd9b,_0x3103f4]][_0x561a84(0x517)](([_0x2b8300,_0x3ac8ac])=>{const _0x1d7c89=_0x561a84;this['disposeWithMe'](this[_0x1d7c89(0x3f5)][_0x1d7c89(0x2f7)](_0x2b8300,_0x3ac8ac));});}};_0x11f95f=_0x2c620b([_0x420a6e(0x0,(0x0,_0x39ea90[_0x3c513e(0x399)])(_0x120999[_0x3c513e(0x2ad)])),_0x420a6e(0x1,(0x0,_0x39ea90[_0x3c513e(0x399)])(_0x120999[_0x3c513e(0x27a)]))],_0x11f95f);let _0x5a00c3=class extends _0x39ea90[_0x3c513e(0x361)]{constructor(_0x38aba7=_0x377b59,_0x59b841,_0x8ae635,_0x680e5){const _0x362d52=_0x3c513e;super(),this[_0x362d52(0x431)]=_0x38aba7,this[_0x362d52(0x245)]=_0x59b841,this[_0x362d52(0x3b8)]=_0x8ae635,this[_0x362d52(0x3f1)]=_0x680e5,_0x2d2886(this,_0x362d52(0x58a),void 0x0);let {..._0x54e6d9}=(0x0,_0x39ea90[_0x362d52(0x231)])({},_0x377b59,this[_0x362d52(0x431)]);this['_resolvedConfig']=_0x54e6d9,this[_0x362d52(0x3b8)]['setConfig'](_0x122536,_0x54e6d9),this[_0x362d52(0x46b)]();}['onStarting'](){const _0x421710=_0x3c513e;this['_injector']['add']([_0x11f95f]),this[_0x421710(0x245)][_0x421710(0x507)](_0x11f95f);let _0x3cba16=this[_0x421710(0x245)],_0x58d5e8=[[_0x1e2d2f,{'useClass':_0x54c185}],[_0x1e2812,{'useClass':_0x5f23a1}],[_0x3de613],[_0x5ecc7f],[_0x753064],[_0x50564b],[_0x5748de],[_0x2b7453],[_0x4f8318],[_0x15e961],[_0x301ff4]],_0x2365df=[[_0x50564b],[_0x2b7453],[_0x5748de],[_0x753064],[_0x1e2d2f],[_0x4f8318],[_0x15e961],[_0x301ff4]];this[_0x421710(0x58a)][_0x421710(0x37f)]&&(_0x58d5e8[_0x421710(0x1dc)]([_0xa53502]),_0x2365df[_0x421710(0x1dc)]([_0xa53502])),_0x58d5e8[_0x421710(0x517)](_0x40d5ff=>_0x3cba16[_0x421710(0x2c4)](_0x40d5ff)),(0x0,_0x39ea90[_0x421710(0x239)])(this[_0x421710(0x245)],_0x2365df);}[_0x3c513e(0x3e1)](){const _0x2e6830=_0x3c513e;var _0x4e76c4;(_0x4e76c4=this[_0x2e6830(0x245)][_0x2e6830(0x507)](_0x50564b))==null||_0x4e76c4['initPanel']();}[_0x3c513e(0x46b)](){const _0x441ab7=_0x3c513e;[_0x20c525,_0x3d423a,_0xa767db,_0x51fe11,_0x4c6278,_0x25de76,_0x196607][_0x441ab7(0x517)](_0x256e59=>this[_0x441ab7(0x1d2)](this[_0x441ab7(0x3f1)][_0x441ab7(0x4ad)](_0x256e59)));}};_0x2d2886(_0x5a00c3,_0x3c513e(0x572),_0x39ea90['UniverInstanceType'][_0x3c513e(0x398)]),_0x2d2886(_0x5a00c3,_0x3c513e(0x4de),_0x3c513e(0x206)),_0x2d2886(_0x5a00c3,'packageName',_0x36dbe1),_0x2d2886(_0x5a00c3,_0x3c513e(0x432),_0x26c672),_0x5a00c3=_0x2c620b([(0x0,_0x39ea90[_0x3c513e(0x550)])(_0x239db3[_0x3c513e(0x33d)],_0x393073[_0x3c513e(0x595)],_0x4330b5[_0x3c513e(0x591)],_0x437459[_0x3c513e(0x1c1)],_0x173cae[_0x3c513e(0x44f)],_0x3289ff[_0x3c513e(0x508)],_0x517bbe[_0x3c513e(0x394)],_0x545a31[_0x3c513e(0x389)],_0x128e70[_0x3c513e(0x2f5)]),_0x420a6e(0x1,(0x0,_0x39ea90[_0x3c513e(0x399)])(_0x39ea90[_0x3c513e(0x29e)])),_0x420a6e(0x2,_0x39ea90[_0x3c513e(0x225)]),_0x420a6e(0x3,_0x39ea90['ICommandService'])],_0x5a00c3),_0x3a3678[_0x3c513e(0x456)]=_0x25de76,Object[_0x3c513e(0x491)](_0x3a3678,'ChartRenderService',{'enumerable':!0x0,'get':function(){return _0x5ecc7f;}}),_0x3a3678[_0x3c513e(0x4fd)]=_0x1e2d2f,_0x3a3678[_0x3c513e(0x46a)]=_0x122536,Object['defineProperty'](_0x3a3678,_0x3c513e(0x56d),{'enumerable':!0x0,'get':function(){return _0x50564b;}}),_0x3a3678['SheetsChartUIMenuSchema']=_0xc769d0,Object[_0x3c513e(0x491)](_0x3a3678,'SheetsChartUIService',{'enumerable':!0x0,'get':function(){return _0x54c185;}}),Object[_0x3c513e(0x491)](_0x3a3678,_0x3c513e(0x2f1),{'enumerable':!0x0,'get':function(){return _0x1dc8e8;}}),Object['defineProperty'](_0x3a3678,_0x3c513e(0x206),{'enumerable':!0x0,'get':function(){return _0x5a00c3;}}),_0x3a3678['createChartElementPopupAnchorObserver']=_0x18a1d7;}));