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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (83) hide show
  1. package/lib/cjs/index.js +1 -1
  2. package/lib/cjs/locale/ar-SA.js +1 -1
  3. package/lib/cjs/locale/ca-ES.js +1 -1
  4. package/lib/cjs/locale/de-DE.js +1 -1
  5. package/lib/cjs/locale/en-US.js +1 -1
  6. package/lib/cjs/locale/es-ES.js +1 -1
  7. package/lib/cjs/locale/fa-IR.js +1 -1
  8. package/lib/cjs/locale/fr-FR.js +1 -1
  9. package/lib/cjs/locale/id-ID.js +1 -1
  10. package/lib/cjs/locale/it-IT.js +1 -1
  11. package/lib/cjs/locale/ja-JP.js +1 -1
  12. package/lib/cjs/locale/ko-KR.js +1 -1
  13. package/lib/cjs/locale/pl-PL.js +1 -1
  14. package/lib/cjs/locale/pt-BR.js +1 -1
  15. package/lib/cjs/locale/ru-RU.js +1 -1
  16. package/lib/cjs/locale/sk-SK.js +1 -1
  17. package/lib/cjs/locale/vi-VN.js +1 -1
  18. package/lib/cjs/locale/zh-CN.js +1 -1
  19. package/lib/cjs/locale/zh-HK.js +1 -1
  20. package/lib/cjs/locale/zh-TW.js +1 -1
  21. package/lib/es/index.js +1 -1
  22. package/lib/es/locale/ar-SA.js +1 -1
  23. package/lib/es/locale/ca-ES.js +1 -1
  24. package/lib/es/locale/de-DE.js +1 -1
  25. package/lib/es/locale/en-US.js +1 -1
  26. package/lib/es/locale/es-ES.js +1 -1
  27. package/lib/es/locale/fa-IR.js +1 -1
  28. package/lib/es/locale/fr-FR.js +1 -1
  29. package/lib/es/locale/id-ID.js +1 -1
  30. package/lib/es/locale/it-IT.js +1 -1
  31. package/lib/es/locale/ja-JP.js +1 -1
  32. package/lib/es/locale/ko-KR.js +1 -1
  33. package/lib/es/locale/pl-PL.js +1 -1
  34. package/lib/es/locale/pt-BR.js +1 -1
  35. package/lib/es/locale/ru-RU.js +1 -1
  36. package/lib/es/locale/sk-SK.js +1 -1
  37. package/lib/es/locale/vi-VN.js +1 -1
  38. package/lib/es/locale/zh-CN.js +1 -1
  39. package/lib/es/locale/zh-HK.js +1 -1
  40. package/lib/es/locale/zh-TW.js +1 -1
  41. package/lib/index.js +1 -1
  42. package/lib/locale/ar-SA.js +1 -1
  43. package/lib/locale/ca-ES.js +1 -1
  44. package/lib/locale/de-DE.js +1 -1
  45. package/lib/locale/en-US.js +1 -1
  46. package/lib/locale/es-ES.js +1 -1
  47. package/lib/locale/fa-IR.js +1 -1
  48. package/lib/locale/fr-FR.js +1 -1
  49. package/lib/locale/id-ID.js +1 -1
  50. package/lib/locale/it-IT.js +1 -1
  51. package/lib/locale/ja-JP.js +1 -1
  52. package/lib/locale/ko-KR.js +1 -1
  53. package/lib/locale/pl-PL.js +1 -1
  54. package/lib/locale/pt-BR.js +1 -1
  55. package/lib/locale/ru-RU.js +1 -1
  56. package/lib/locale/sk-SK.js +1 -1
  57. package/lib/locale/vi-VN.js +1 -1
  58. package/lib/locale/zh-CN.js +1 -1
  59. package/lib/locale/zh-HK.js +1 -1
  60. package/lib/locale/zh-TW.js +1 -1
  61. package/lib/types/services/chart-geometry-subscription.d.ts +14 -0
  62. package/lib/types/services/sheets-chart-host-provider.service.d.ts +3 -1
  63. package/lib/umd/index.js +1 -1
  64. package/lib/umd/locale/ar-SA.js +1 -1
  65. package/lib/umd/locale/ca-ES.js +1 -1
  66. package/lib/umd/locale/de-DE.js +1 -1
  67. package/lib/umd/locale/en-US.js +1 -1
  68. package/lib/umd/locale/es-ES.js +1 -1
  69. package/lib/umd/locale/fa-IR.js +1 -1
  70. package/lib/umd/locale/fr-FR.js +1 -1
  71. package/lib/umd/locale/id-ID.js +1 -1
  72. package/lib/umd/locale/it-IT.js +1 -1
  73. package/lib/umd/locale/ja-JP.js +1 -1
  74. package/lib/umd/locale/ko-KR.js +1 -1
  75. package/lib/umd/locale/pl-PL.js +1 -1
  76. package/lib/umd/locale/pt-BR.js +1 -1
  77. package/lib/umd/locale/ru-RU.js +1 -1
  78. package/lib/umd/locale/sk-SK.js +1 -1
  79. package/lib/umd/locale/vi-VN.js +1 -1
  80. package/lib/umd/locale/zh-CN.js +1 -1
  81. package/lib/umd/locale/zh-HK.js +1 -1
  82. package/lib/umd/locale/zh-TW.js +1 -1
  83. package/package.json +18 -18
package/lib/umd/index.js CHANGED
@@ -1 +1 @@
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;}));
1
+ function _0x3410(_0x14827f,_0x4b8816){_0x14827f=_0x14827f-0x95;const _0x57188c=_0x5718();let _0x341068=_0x57188c[_0x14827f];return _0x341068;}(function(_0x45a818,_0x2946b5){const _0x521739=_0x3410,_0x107dde=_0x45a818();while(!![]){try{const _0x416270=parseInt(_0x521739(0x305))/0x1*(parseInt(_0x521739(0x258))/0x2)+parseInt(_0x521739(0x299))/0x3+-parseInt(_0x521739(0xf0))/0x4*(-parseInt(_0x521739(0x2a4))/0x5)+parseInt(_0x521739(0x3de))/0x6+parseInt(_0x521739(0xd8))/0x7+-parseInt(_0x521739(0x401))/0x8+-parseInt(_0x521739(0xda))/0x9;if(_0x416270===_0x2946b5)break;else _0x107dde['push'](_0x107dde['shift']());}catch(_0x4d4513){_0x107dde['push'](_0x107dde['shift']());}}}(_0x5718,0xa85e8),function(_0x268542,_0x10476b){const _0x2392c3=_0x3410;typeof exports=='object'&&typeof module<'u'?_0x10476b(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==_0x2392c3(0x24b)&&define[_0x2392c3(0xbf)]?define(['exports',_0x2392c3(0x3af),'@univerjs-pro/sheets-chart','@univerjs/drawing',_0x2392c3(0x40f),'@univerjs/sheets-drawing-ui',_0x2392c3(0x10f),_0x2392c3(0x329),_0x2392c3(0x373),'@univerjs-pro/chart-ui',_0x2392c3(0x189),_0x2392c3(0x3b3),_0x2392c3(0x3b4),_0x2392c3(0x23b),_0x2392c3(0x332),_0x2392c3(0x473),_0x2392c3(0x17b),_0x2392c3(0x397),_0x2392c3(0x387),_0x2392c3(0x44d)],_0x10476b):(_0x268542=typeof globalThis<'u'?globalThis:_0x268542||self,_0x10476b(_0x268542['UniverProSheetsChartUi']={},_0x268542[_0x2392c3(0x30a)],_0x268542[_0x2392c3(0x3ce)],_0x268542[_0x2392c3(0xb1)],_0x268542['UniverSheetsDrawing'],_0x268542[_0x2392c3(0x36f)],_0x268542[_0x2392c3(0xdc)],_0x268542[_0x2392c3(0x10e)],_0x268542['rxjs'],_0x268542[_0x2392c3(0x2a5)],_0x268542[_0x2392c3(0x10b)],_0x268542[_0x2392c3(0x11b)],_0x268542[_0x2392c3(0x409)],_0x268542[_0x2392c3(0x2e5)],_0x268542['UniverEngineRender'],_0x268542[_0x2392c3(0x3d9)],_0x268542['UniverDesign'],_0x268542[_0x2392c3(0x165)],_0x268542[_0x2392c3(0x3d9)],_0x268542['UniverProLicense']));}(this,function(_0x5cf52d,_0xe0fba2,_0x201ec2,_0x3543bc,_0x42712d,_0x102b65,_0x270231,_0x4fef69,_0x1a141d,_0x1e42e6,_0x4a5d1e,_0x2e7a19,_0x488a9e,_0x3a7d4d,_0x120bdc,_0xd79b15,_0x5c25d9,_0x1dbfa7,_0xc43640,_0x45eba4){const _0x351b7e=_0x3410;Object[_0x351b7e(0x3ea)](_0x5cf52d,Symbol[_0x351b7e(0x227)],{'value':_0x351b7e(0xc3)});let _0x577343={'type':_0xe0fba2[_0x351b7e(0x9e)][_0x351b7e(0x2e4)],'id':_0x351b7e(0x141),'handler'(){return!0x0;}},_0x55aca2=_0x351b7e(0x1ec),_0x241941={'enableChartElementFloatMenu':!0x0},_0x16f198={'type':_0xe0fba2[_0x351b7e(0x9e)][_0x351b7e(0x2e4)],'id':_0x351b7e(0x1ba),'handler'(){return!0x0;}};function _0x5660b0(_0x785f6a){const _0x5cd423=_0x351b7e;let _0x57cc4c=_0x785f6a[_0x5cd423(0x1aa)](_0x42712d['ISheetDrawingService'])[_0x5cd423(0x26f)]();if(_0x57cc4c['length']!==0x1)return null;let _0x40c93d=_0x57cc4c[0x0];return _0x40c93d['drawingType']===_0xe0fba2[_0x5cd423(0x371)][_0x5cd423(0x1af)]?_0x40c93d:null;}function _0x3d0f91(_0x1a5dc3,_0x2630d1){const _0x5d2f47=_0x351b7e;let _0x39483c=document[_0x5d2f47(0x448)]('a');_0x39483c[_0x5d2f47(0x3fc)]=_0x1a5dc3,_0x39483c[_0x5d2f47(0xf3)]=_0x2630d1,_0x39483c[_0x5d2f47(0x30e)]();}let _0x2d01e3={'id':_0x351b7e(0x3fe),'type':_0xe0fba2['CommandType']['COMMAND'],'handler':(_0x5c98ae,_0x2c4bca)=>{const _0x4454a7=_0x351b7e;let _0x16164e=_0x5660b0(_0x5c98ae);return _0x16164e?_0x5c98ae[_0x4454a7(0x1aa)](_0xe0fba2[_0x4454a7(0x370)])[_0x4454a7(0x463)](_0x577343['id'],{'unitId':_0x16164e['unitId'],'subUnitId':_0x16164e[_0x4454a7(0x2b0)],'drawingId':_0x16164e[_0x4454a7(0xa3)],..._0x2c4bca!=null&&_0x2c4bca[_0x4454a7(0x1df)]?{'route':_0x2c4bca[_0x4454a7(0x1df)]}:{}}):!0x1;}},_0x483f56={'id':_0x351b7e(0x2b1),'type':_0xe0fba2[_0x351b7e(0x9e)][_0x351b7e(0x3d7)],'handler':_0x279ec6=>_0x5660b0(_0x279ec6)?_0x279ec6[_0x351b7e(0x1aa)](_0xe0fba2[_0x351b7e(0x370)])[_0x351b7e(0x463)](_0x270231['SheetCopyCommand']['id']):!0x1},_0x18c810={'id':'sheet.command.chart.export-focused-image','type':_0xe0fba2['CommandType'][_0x351b7e(0x3d7)],'handler':async _0x2b4732=>{const _0x1fd7bd=_0x351b7e;let _0x5784bd=_0x5660b0(_0x2b4732);if(!_0x5784bd)return!0x1;let _0x4e8097=await _0x2b4732['get'](_0x1e42e6[_0x1fd7bd(0x394)])['exportImage']({'unitId':_0x5784bd[_0x1fd7bd(0x12d)],'subUnitId':_0x5784bd[_0x1fd7bd(0x2b0)],'getId':()=>_0x5784bd[_0x1fd7bd(0xa3)]});return _0x4e8097?(_0x3d0f91(_0x4e8097,_0x5784bd[_0x1fd7bd(0xa3)]+'.png'),!0x0):!0x1;}},_0x55d99b={'id':_0x351b7e(0x388),'type':_0xe0fba2[_0x351b7e(0x9e)][_0x351b7e(0x3d7)],'handler':_0x22c1a2=>{const _0x5140d4=_0x351b7e;let _0x1d2539=_0x5660b0(_0x22c1a2);return _0x1d2539?_0x22c1a2[_0x5140d4(0x1aa)](_0xe0fba2[_0x5140d4(0x370)])[_0x5140d4(0x463)](_0x42712d['RemoveSheetDrawingCommand']['id'],{'unitId':_0x1d2539['unitId'],'drawings':[{'unitId':_0x1d2539[_0x5140d4(0x12d)],'subUnitId':_0x1d2539[_0x5140d4(0x2b0)],'drawingId':_0x1d2539[_0x5140d4(0xa3)],'drawingType':_0xe0fba2[_0x5140d4(0x371)]['DRAWING_CHART']}]}):!0x1;}},_0x3b438b={'type':_0xe0fba2[_0x351b7e(0x9e)][_0x351b7e(0x3d7)],'id':_0x351b7e(0x129),'handler':async(_0x48d780,_0x46d506)=>{const _0x30a74f=_0x351b7e;let _0x5bc154=(0x0,_0x2e7a19[_0x30a74f(0x1f3)])(_0x48d780['get'](_0xe0fba2[_0x30a74f(0x238)]));if(!_0x5bc154)return!0x1;let _0x3233bf=_0x48d780[_0x30a74f(0x1aa)](_0x2e7a19['SheetsSelectionsService'])[_0x30a74f(0x229)]();if(!_0x3233bf)return!0x1;let {range:_0xc7f2d7}=_0x3233bf,_0x105dd4=_0x48d780['get'](_0xe0fba2[_0x30a74f(0x370)]),{unitId:_0x2a64cd,subUnitId:_0x380d2d}=_0x5bc154,{pieSecondaryPlotType:_0x59418d,value:_0x36f3c9}=_0x46d506,_0x46cd7d=_0x59418d!==void 0x0;if(_0x46cd7d&&(_0x36f3c9!==_0x4a5d1e['ChartTypeBits'][_0x30a74f(0x228)]||_0x59418d!==_0x4a5d1e[_0x30a74f(0x134)][_0x30a74f(0x228)]&&_0x59418d!==_0x4a5d1e[_0x30a74f(0x134)][_0x30a74f(0x43d)]))return!0x1;let _0x6f4fc5=_0x46cd7d?(0x0,_0xe0fba2['generateRandomId'])():void 0x0;return _0x105dd4[_0x30a74f(0x463)](_0x201ec2['InsertChartCommand']['id'],{'unitId':_0x2a64cd,'subUnitId':_0x380d2d,'chartType':_0x36f3c9,..._0x6f4fc5&&_0x59418d?{'chartId':_0x6f4fc5,'config':{'unitId':_0x2a64cd,'chartModelId':_0x6f4fc5,'style':{'pie':{'composite':{'enabled':!0x0,'secondaryPlot':{'type':_0x59418d}}}}}}:{},'source':{'rangeInfo':{'unitId':_0xc7f2d7['unitId']??_0x2a64cd,'subUnitId':_0xc7f2d7[_0x30a74f(0x361)]??_0x380d2d,'range':_0xc7f2d7}}});}};function _0x32dc36(_0x45cd35,_0x4dfcdb){const _0x5adf7a=_0x351b7e;if(_0x45cd35==null)return'';if(Array[_0x5adf7a(0xde)](_0x45cd35)){var _0x1536a2;let _0x305596=(_0x1536a2=_0x45cd35[0x0])==null?void 0x0:_0x1536a2['range'];return _0x305596?_0xf681e0(_0x305596,_0x4dfcdb):'';}return _0xf681e0(_0x45cd35['rangeInfo'],_0x4dfcdb);}function _0xf681e0(_0x13634b,_0x220a39){const _0x459942=_0x351b7e;var _0x2e22e6;let {unitId:_0xa289aa,subUnitId:_0x52bd0c,range:_0x2d9330}=_0x13634b,_0x537241=(_0x2e22e6=_0x220a39[_0x459942(0x3d5)](_0xa289aa))==null?void 0x0:_0x2e22e6[_0x459942(0x45f)](_0x52bd0c);if(!_0x537241)return'';let _0x53c3cd=_0x537241[_0x459942(0x374)]();return(0x0,_0x488a9e[_0x459942(0x190)])(_0x53c3cd,_0x2d9330);}let _0x32093c=_0x1e42e6[_0x351b7e(0x1c2)][_0x351b7e(0xfc)](_0x2307a0=>({'id':'id'in _0x2307a0?_0x2307a0['id']:void 0x0,'labelId':_0x2307a0[_0x351b7e(0x1ed)],'pieSecondaryPlotType':'pieSecondaryPlotType'in _0x2307a0?_0x2307a0[_0x351b7e(0x159)]:void 0x0,'value':_0x2307a0[_0x351b7e(0x40b)],'icon':_0x2307a0[_0x351b7e(0x32d)]}));function _0x5e6ad4(_0x20f1e3=_0x32093c){return _0x20f1e3['map'](({id:_0x424d99,icon:_0x2448ce,value:_0x17c678})=>{const _0x400d09=_0x3410;let _0x14120b=(0x0,_0x1e42e6['resolveChartCreationIntent'])(_0x424d99??String(_0x17c678)),_0x2e1931=_0x14120b?{'value':_0x14120b[_0x400d09(0x153)],..._0x14120b[_0x400d09(0x159)]?{'pieSecondaryPlotType':_0x14120b['pieSecondaryPlotType']}:{}}:{'value':_0x17c678};return{'icon':_0x2448ce,'value':_0x424d99??_0x17c678,'params':_0x2e1931};});}let _0x446ceb=(_0x5dec50,_0x5b6c23)=>{const _0x22f76a=_0x351b7e;if(_0x5b6c23[_0x22f76a(0x1fd)]===0x1&&_0x5b6c23[0x0]==='all')return _0x5dec50;if(_0x5b6c23[_0x22f76a(0x1fd)]>0x1){let _0x47a022=new Set();for(let _0x5c7f75 of _0x5b6c23)_0x47a022['add'](Number(_0x5c7f75));return _0x5dec50['filter'](_0x463c1b=>_0x47a022[_0x22f76a(0x309)](_0x463c1b['value']));}return[];};function _0x3a6f3e(_0x39f91b){const _0x806016=_0x351b7e;let _0x50db66=_0x39f91b[_0x806016(0x1aa)](_0xe0fba2['IUniverInstanceService']),_0x261be5=(0x0,_0x201ec2[_0x806016(0x155)])(_0x39f91b),_0x1a2143=_0x446ceb(_0x32093c[_0x806016(0x10d)](),_0x261be5),_0x29af79=_0x5e6ad4(_0x1a2143)[_0x806016(0xfc)]((_0x976d1f,_0x24e40b)=>({'icon':_0x976d1f[_0x806016(0x1c9)],'value':_0x976d1f['value'],'params':_0x976d1f[_0x806016(0x1e0)],'label':_0x806016(0x144)+_0x1a2143[_0x24e40b]['labelId']}));return{'id':_0x3b438b['id'],'type':_0x4fef69[_0x806016(0x34c)][_0x806016(0x296)],'selectionsCommandId':_0x3b438b['id'],'selections':_0x29af79,'icon':'ChartIcon','tooltip':'sheets-chart-ui.common.insertChart','activated$':(0x0,_0x270231[_0x806016(0x21d)])(_0x50db66,!0x1,()=>new _0x1a141d['Observable'](_0x58bc28=>{const _0x5f681e=_0x806016;_0x58bc28[_0x5f681e(0xf2)](!0x1);})),'hidden$':(0x0,_0x4fef69[_0x806016(0x130)])(_0x39f91b,_0xe0fba2['UniverInstanceType']['UNIVER_SHEET']),'disabled$':(0x0,_0x270231[_0x806016(0x297)])(_0x39f91b)};}function _0x133c92(_0x90f8b3){const _0x1d3823=_0x351b7e;let _0x5ca0fc=_0x90f8b3[_0x1d3823(0x1aa)](_0x42712d[_0x1d3823(0x22b)]);return _0x5ca0fc[_0x1d3823(0x1ff)][_0x1d3823(0x1a6)]((0x0,_0x1a141d[_0x1d3823(0x128)])(_0x5ca0fc[_0x1d3823(0x26f)]()),(0x0,_0x1a141d['map'])(()=>_0x5660b0(_0x90f8b3)==null));}function _0x41ebd6(_0x156f10){const _0x5acad7=_0x351b7e;return{'id':_0x2d01e3['id'],'commandId':_0x2d01e3['id'],'type':_0x4fef69[_0x5acad7(0x34c)][_0x5acad7(0x122)],'title':_0x156f10['get'](_0xe0fba2[_0x5acad7(0x3f9)])['t'](_0x5acad7(0x402)),'icon':_0x5acad7(0x23a),'hidden$':_0x133c92(_0x156f10)};}function _0x2993c7(_0x3113c9){const _0xcccabd=_0x351b7e;return{'id':_0x483f56['id'],'commandId':_0x483f56['id'],'type':_0x4fef69[_0xcccabd(0x34c)]['BUTTON'],'title':_0x3113c9['get'](_0xe0fba2[_0xcccabd(0x3f9)])['t'](_0xcccabd(0x436)),'icon':_0xcccabd(0x2d1),'hidden$':_0x133c92(_0x3113c9)};}function _0xb716ad(_0x429437){const _0x553d6c=_0x351b7e;return{'id':_0x18c810['id'],'commandId':_0x18c810['id'],'type':_0x4fef69[_0x553d6c(0x34c)]['BUTTON'],'title':_0x429437[_0x553d6c(0x1aa)](_0xe0fba2[_0x553d6c(0x3f9)])['t']('sheets-chart-ui.common.exportImage'),'icon':'DownloadImageIcon','hidden$':_0x133c92(_0x429437)};}function _0x7bec39(_0x30a617){const _0x37b888=_0x351b7e;return{'id':_0x55d99b['id'],'commandId':_0x55d99b['id'],'type':_0x4fef69[_0x37b888(0x34c)][_0x37b888(0x122)],'title':_0x30a617[_0x37b888(0x1aa)](_0xe0fba2[_0x37b888(0x3f9)])['t']('sheets-chart-ui.common.deleteChart'),'icon':_0x37b888(0x209),'hidden$':_0x133c92(_0x30a617)};}let _0x497f50={[_0x4fef69[_0x351b7e(0x3b0)]['MEDIA']]:{[_0x3b438b['id']]:{'order':0x4,'menuItemFactory':_0x3a6f3e}},[_0x4fef69['ContextMenuPosition'][_0x351b7e(0x3e4)]]:{[_0x4fef69[_0x351b7e(0x198)]['OTHERS']]:{[_0x2d01e3['id']]:{'order':0x0,'menuItemFactory':_0x41ebd6},[_0x483f56['id']]:{'order':0x1,'menuItemFactory':_0x2993c7},[_0x18c810['id']]:{'order':0x3,'menuItemFactory':_0xb716ad},[_0x55d99b['id']]:{'order':0x4,'menuItemFactory':_0x7bec39}}}};function _0x361d90(_0x5b81f0){const _0x50fb75=_0x351b7e;return _0x5b81f0===_0x4a5d1e[_0x50fb75(0x43f)][_0x50fb75(0x2dd)]||_0x5b81f0===_0x4a5d1e[_0x50fb75(0x43f)]['Radar']||_0x5b81f0===_0x4a5d1e[_0x50fb75(0x43f)][_0x50fb75(0xed)]||_0x4a5d1e[_0x50fb75(0x310)][_0x50fb75(0x26a)](_0x5b81f0,_0x4a5d1e[_0x50fb75(0x43f)][_0x50fb75(0x427)])||_0x4a5d1e[_0x50fb75(0x310)][_0x50fb75(0x26a)](_0x5b81f0,_0x4a5d1e[_0x50fb75(0x43f)][_0x50fb75(0x201)])||_0x4a5d1e[_0x50fb75(0x310)]['baseOn'](_0x5b81f0,_0x4a5d1e[_0x50fb75(0x43f)]['Area'])||_0x4a5d1e['chartBitsUtils'][_0x50fb75(0x26a)](_0x5b81f0,_0x4a5d1e[_0x50fb75(0x43f)][_0x50fb75(0x16b)]);}function _0x277b9d(_0x40ed16){const _0x18bb19=_0x351b7e;return _0x361d90(_0x40ed16)||_0x4a5d1e['chartBitsUtils'][_0x18bb19(0x26a)](_0x40ed16,_0x4a5d1e[_0x18bb19(0x43f)][_0x18bb19(0x228)])||_0x4a5d1e['chartBitsUtils'][_0x18bb19(0x26a)](_0x40ed16,_0x4a5d1e[_0x18bb19(0x43f)]['Pareto'])||_0x4a5d1e[_0x18bb19(0x310)][_0x18bb19(0x26a)](_0x40ed16,_0x4a5d1e[_0x18bb19(0x43f)][_0x18bb19(0x1ac)]);}function _0xb6de24(_0x184d5a,_0x1f5393){const _0x2a70a9=_0x351b7e;let _0x2fee26=(0x0,_0x1e42e6[_0x2a70a9(0x233)])(_0x184d5a,_0x1f5393),_0x256ade=_0x2fee26?(0x0,_0x1e42e6[_0x2a70a9(0x32e)])(_0x2fee26[_0x2a70a9(0x1b3)]):void 0x0;if(_0x2fee26&&_0x256ade)return{..._0x2fee26,'route':_0x256ade,'showFloatMenu':_0x277b9d(_0x184d5a['chartType'])&&_0x2fee26['showFloatMenu']};}function _0x48abfd(_0x1ea9f6){'@babel/helpers - typeof';const _0x3f842b=_0x351b7e;return _0x48abfd=typeof Symbol==_0x3f842b(0x24b)&&typeof Symbol[_0x3f842b(0x111)]==_0x3f842b(0xfa)?function(_0x2e8d83){return typeof _0x2e8d83;}:function(_0x2c9607){const _0x454e15=_0x3f842b;return _0x2c9607&&typeof Symbol==_0x454e15(0x24b)&&_0x2c9607[_0x454e15(0x461)]===Symbol&&_0x2c9607!==Symbol[_0x454e15(0x116)]?_0x454e15(0xfa):typeof _0x2c9607;},_0x48abfd(_0x1ea9f6);}function _0x33c0e6(_0x4453f2,_0x104937){const _0x1e3215=_0x351b7e;if(_0x48abfd(_0x4453f2)!=_0x1e3215(0x164)||!_0x4453f2)return _0x4453f2;var _0x38c35d=_0x4453f2[Symbol[_0x1e3215(0x252)]];if(_0x38c35d!==void 0x0){var _0x23b06a=_0x38c35d[_0x1e3215(0x406)](_0x4453f2,_0x104937||_0x1e3215(0x311));if(_0x48abfd(_0x23b06a)!=_0x1e3215(0x164))return _0x23b06a;throw TypeError('@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.');}return(_0x104937===_0x1e3215(0x39d)?String:Number)(_0x4453f2);}function _0x3cdcf5(_0x4be9a1){const _0x37efbd=_0x351b7e;var _0x44dd19=_0x33c0e6(_0x4be9a1,_0x37efbd(0x39d));return _0x48abfd(_0x44dd19)==_0x37efbd(0xfa)?_0x44dd19:_0x44dd19+'';}function _0x2d50c7(_0x23b5be,_0x488a21,_0x362054){const _0x441a41=_0x351b7e;return(_0x488a21=_0x3cdcf5(_0x488a21))in _0x23b5be?Object[_0x441a41(0x3ea)](_0x23b5be,_0x488a21,{'value':_0x362054,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x23b5be[_0x488a21]=_0x362054,_0x23b5be;}var _0x5d1456=class extends _0xe0fba2['Disposable']{constructor(_0x45fae8,_0x2ebe9e){const _0x18ccdb=_0x351b7e;super(),this[_0x18ccdb(0x17d)]=_0x45fae8,this['_onChange']=_0x2ebe9e,_0x2d50c7(this,_0x18ccdb(0x213),null),_0x2d50c7(this,'_geometry',void 0x0),this['_geometry']=this[_0x18ccdb(0x2ab)](),this['disposeWithMe'](_0x45fae8[_0x18ccdb(0x1d5)][_0x18ccdb(0x21a)](()=>{const _0x2148d8=_0x18ccdb;this[_0x2148d8(0x213)]===null&&(this['_frame']=requestAnimationFrame(()=>this['flush']()));}));}[_0x351b7e(0x172)](){const _0x4a8169=_0x351b7e;if(this[_0x4a8169(0x338)](),this[_0x4a8169(0x3f5)])return;let _0x5683df=this[_0x4a8169(0x2ab)](),_0x4fa3d3=this[_0x4a8169(0x1f2)],_0x389d77=_0x5683df[_0x4a8169(0x2aa)]!==_0x4fa3d3[_0x4a8169(0x2aa)]||_0x5683df[_0x4a8169(0x196)]!==_0x4fa3d3[_0x4a8169(0x196)];(_0x389d77||_0x5683df['left']!==_0x4fa3d3[_0x4a8169(0x150)]||_0x5683df[_0x4a8169(0x195)]!==_0x4fa3d3['top'])&&(this['_geometry']=_0x5683df,this['_onChange'](_0x389d77));}[_0x351b7e(0x338)](){const _0x325afb=_0x351b7e;this[_0x325afb(0x213)]!==null&&(cancelAnimationFrame(this[_0x325afb(0x213)]),this[_0x325afb(0x213)]=null);}[_0x351b7e(0x183)](){const _0x128cbd=_0x351b7e;this[_0x128cbd(0x338)](),super[_0x128cbd(0x183)]();}[_0x351b7e(0x2ab)](){const _0x5a2f38=_0x351b7e;let {left:_0x38b0f5,top:_0x6cd397,width:_0x21162f,height:_0x531137}=this[_0x5a2f38(0x17d)];return{'left':_0x38b0f5,'top':_0x6cd397,'width':_0x21162f,'height':_0x531137};}};function _0x5f5d9d(_0x3c13c6,_0x301cfd=0x1){const _0xc79113=_0x351b7e;return{'width':Math['max'](_0x301cfd,_0x3c13c6[_0xc79113(0x2aa)]),'height':Math[_0xc79113(0xdb)](_0x301cfd,_0x3c13c6[_0xc79113(0x196)])};}function _0x1c189c(_0x59d111,_0x42c9bc={},_0x1c2b6c={'left':0x0,'top':0x0}){const _0x4d15fb=_0x351b7e;let _0x11be46=_0x42c9bc[_0x4d15fb(0x224)]??0x1,_0x440f2a=_0x42c9bc['scaleY']??0x1,_0x43ff7b=_0x1e42e6[_0x4d15fb(0xee)][_0x4d15fb(0x19f)]({'logicalOuterRect':{'left':_0x1c2b6c[_0x4d15fb(0x150)]>0x0?-_0x1c2b6c['left']:0x0,'top':_0x1c2b6c[_0x4d15fb(0x195)]>0x0?-_0x1c2b6c[_0x4d15fb(0x195)]:0x0,..._0x5f5d9d(_0x59d111)},'scale':{'scaleX':_0x11be46,'scaleY':_0x440f2a},'hostStyle':{},'contentMode':_0x1e42e6[_0x4d15fb(0x31e)][_0x4d15fb(0x3c2)]});return{'left':_0x43ff7b[_0x4d15fb(0x45b)][_0x4d15fb(0x150)],'top':_0x43ff7b['logicalOuterRect'][_0x4d15fb(0x195)],'width':_0x43ff7b['logicalOuterRect'][_0x4d15fb(0x2aa)],'height':_0x43ff7b[_0x4d15fb(0x45b)][_0x4d15fb(0x196)],'scaleX':_0x11be46,'scaleY':_0x440f2a};}function _0x3e7afe(_0x58e066){const _0x33222a=_0x351b7e;switch(_0x58e066[_0x33222a(0x441)]){case _0x4a5d1e[_0x33222a(0x38b)][_0x33222a(0x23d)]:return _0x58e066[_0x33222a(0x204)];case _0x4a5d1e[_0x33222a(0x38b)][_0x33222a(0x459)]:return _0x58e066[_0x33222a(0x13a)];default:return;}}var _0x582d7a=class extends _0x120bdc[_0x351b7e(0x237)]{constructor(_0x1dd810,_0x5654f9,_0x3a94ed,_0x2bf2e6=()=>!0x1,_0x31dee5=()=>{}){const _0x39f318=_0x351b7e;super(_0x1dd810,{..._0x5654f9,'evented':_0x5654f9[_0x39f318(0x292)]??!0x0}),this['_getImage']=_0x3a94ed,this[_0x39f318(0x43e)]=_0x2bf2e6,this[_0x39f318(0x2fe)]=_0x31dee5,_0x2d50c7(this,_0x39f318(0x1f8),null),_0x2d50c7(this,_0x39f318(0x291),null),_0x2d50c7(this,_0x39f318(0x244),null),_0x2d50c7(this,_0x39f318(0x331),null),this['setObjectType'](_0x120bdc[_0x39f318(0x27e)][_0x39f318(0x403)]);}[_0x351b7e(0x183)](){const _0x370458=_0x351b7e;this['_clearPendingUrlImage'](),this[_0x370458(0x1f8)]=null,this[_0x370458(0x291)]=null,this['_requestedUrl']=null,this['_disposeImage'](),super[_0x370458(0x183)]();}['render'](_0x56fd62,_0x2ebb8d){const _0x495420=_0x351b7e;if(!this[_0x495420(0x3a6)])return this[_0x495420(0x135)](!0x1),this;if(this[_0x495420(0x43e)]()){let _0x41b3f7=this[_0x495420(0xb0)]();return _0x41b3f7&&this[_0x495420(0x458)](_0x41b3f7),this[_0x495420(0x135)](!0x1),this;}if(!this[_0x495420(0x399)])return this;let {width:_0x1db37a,height:_0x1bad35,left:_0x29f129,top:_0x225c94}=this[_0x495420(0x340)]();if(this[_0x495420(0x13e)](_0x2ebb8d)){let {top:_0x46240d,left:_0x130f8a,bottom:_0x3cfae4,right:_0x3183bb}=_0x2ebb8d[_0x495420(0x274)];if(_0x1db37a+this[_0x495420(0x3eb)]+_0x29f129<_0x130f8a||_0x3183bb<_0x29f129||_0x1bad35+this[_0x495420(0x3eb)]+_0x225c94<_0x46240d||_0x3cfae4<_0x225c94)return this;}let _0x4f6093=this[_0x495420(0x399)]['getMatrix']();_0x56fd62[_0x495420(0x1ad)]();let _0x4be633=_0x29f129+_0x1db37a/0x2,_0x46f492=_0x225c94+_0x1bad35/0x2;return _0x56fd62[_0x495420(0x399)](_0x4f6093[0x0],_0x4f6093[0x1],_0x4f6093[0x2],_0x4f6093[0x3],_0x4be633,_0x46f492),this['opacity']!==0x1&&(_0x56fd62[_0x495420(0xbb)]=this[_0x495420(0x158)]),this[_0x495420(0x3f1)](_0x56fd62,void 0x0,_0x1db37a,_0x1bad35),_0x56fd62[_0x495420(0x28e)](),this[_0x495420(0x135)](!0x1),this;}[_0x351b7e(0x3f1)](_0x12b9e5,_0x4f3226,_0x56b0b3=this['width'],_0xda7b06=this[_0x351b7e(0x196)]){const _0x62a884=_0x351b7e;this[_0x62a884(0x455)](_0x12b9e5,_0x56b0b3,_0xda7b06,{'stroke':void 0x0,'strokeWidth':0x0}),this[_0x62a884(0x344)](_0x12b9e5,_0x56b0b3,_0xda7b06),this[_0x62a884(0x455)](_0x12b9e5,_0x56b0b3,_0xda7b06,{'fill':void 0x0});}[_0x351b7e(0x455)](_0x259ca1,_0x1be6fb,_0x1e973f,_0x49f3c2){const _0x2764d3=_0x351b7e;_0x259ca1[_0x2764d3(0x1ad)](),_0x259ca1[_0x2764d3(0x2a8)](-_0x1be6fb/0x2,-_0x1e973f/0x2),_0x120bdc[_0x2764d3(0x237)][_0x2764d3(0x2b6)](_0x259ca1,_0xbc7abb(this,_0x1be6fb,_0x1e973f,_0x49f3c2)),_0x259ca1[_0x2764d3(0x28e)]();}[_0x351b7e(0xa6)](_0x170a98){const _0x54baf8=_0x351b7e;let {left:_0xdb5bb0,top:_0x38c6a7,width:_0x556860,height:_0x1e07f2}=this['getRealBound'](),_0x49bb5f=_0xdb5bb0+_0x556860/0x2,_0x3b45c8=_0x38c6a7+_0x1e07f2/0x2,_0x4a4cb8=this['transform'][_0x54baf8(0x1d2)](),_0x3a469b=new _0x120bdc['Transform']([_0x4a4cb8[0x0],_0x4a4cb8[0x1],_0x4a4cb8[0x2],_0x4a4cb8[0x3],_0x49bb5f,_0x3b45c8]),_0x4fc838=this['getParent'](),_0x47c648=(this[_0x54baf8(0x203)]&&(_0x4fc838==null?void 0x0:_0x4fc838[_0x54baf8(0x2a0)])===_0x120bdc[_0x54baf8(0x221)][_0x54baf8(0xe6)]?_0x4fc838['ancestorTransform'][_0x54baf8(0x25e)](_0x3a469b):_0x3a469b)[_0x54baf8(0x2c0)]()[_0x54baf8(0x99)](_0x170a98),_0x28ad3e=_0x556860/0x2,_0x3d66de=_0x1e07f2/0x2;return _0x47c648['x']>=-_0x28ad3e-this[_0x54baf8(0x3eb)]/0x2&&_0x47c648['x']<=_0x28ad3e+this[_0x54baf8(0x3eb)]/0x2&&_0x47c648['y']>=-_0x3d66de-this[_0x54baf8(0x3eb)]/0x2&&_0x47c648['y']<=_0x3d66de+this['strokeWidth']/0x2;}['_drawChartImage'](_0x372c28,_0xb6a525,_0x32483b){const _0x3d580f=_0x351b7e;let _0x25233d=this[_0x3d580f(0xb0)](),_0x2e24a5=_0x25233d?this[_0x3d580f(0x458)](_0x25233d):void 0x0;if(!_0x2e24a5)return;let {width:_0x4b4c7b,height:_0x4996e8}=_0x5f5d9d({'width':_0xb6a525,'height':_0x32483b},0x0);_0x4b4c7b!==0x0&&_0x4996e8!==0x0&&(_0x372c28[_0x3d580f(0x1ad)](),_0x372c28[_0x3d580f(0x2a8)](-_0xb6a525/0x2,-_0x32483b/0x2),_0x1ad018(_0x372c28,_0x4b4c7b,_0x4996e8,this[_0x3d580f(0xcc)]),_0x372c28[_0x3d580f(0x23c)](),_0x372c28[_0x3d580f(0x326)](_0x2e24a5,0x0,0x0,_0x4b4c7b,_0x4996e8),_0x372c28['restore']());}[_0x351b7e(0x458)](_0x454aec){const _0x54a08a=_0x351b7e;var _0x458a00;let _0x21f223=_0x3e7afe(_0x454aec);if(_0x21f223)return _0x21f223;if(_0x454aec['type']===_0x4a5d1e['ChartImageSourceType'][_0x54a08a(0x2d2)]&&(this[_0x54a08a(0x244)]!==_0x454aec[_0x54a08a(0x1a3)]&&(this[_0x54a08a(0x244)]=_0x454aec['url'],this[_0x54a08a(0x223)](),this[_0x54a08a(0x291)]!==_0x454aec[_0x54a08a(0x1a3)]&&this[_0x54a08a(0x1b7)](_0x454aec[_0x54a08a(0x1a3)])),(_0x458a00=this[_0x54a08a(0x1f8)])!=null&&_0x458a00['complete']&&this[_0x54a08a(0x1f8)][_0x54a08a(0x42a)]>0x0&&this[_0x54a08a(0x1f8)][_0x54a08a(0x3bb)]>0x0))return this['_urlImage'];}[_0x351b7e(0x1b7)](_0x2ac4e2){const _0x404571=_0x351b7e;let _0x387897=document[_0x404571(0x448)]('img');this[_0x404571(0x331)]=_0x387897,_0x387897['crossOrigin']=_0x404571(0x27a),_0x387897['onload']=()=>{const _0x289826=_0x404571;this[_0x289826(0x244)]===_0x2ac4e2&&this[_0x289826(0x331)]===_0x387897&&(_0x387897['naturalWidth']>0x0&&_0x387897[_0x289826(0x3bb)]>0x0&&(this[_0x289826(0x291)]=_0x2ac4e2,this[_0x289826(0x1f8)]=_0x387897),this[_0x289826(0x223)](),this[_0x289826(0x135)](!0x0));},_0x387897[_0x404571(0x182)]=()=>{const _0x20cf64=_0x404571;this['_pendingUrlImage']===_0x387897&&this[_0x20cf64(0x223)]();},_0x387897['src']=_0x2ac4e2;}[_0x351b7e(0x223)](){const _0x1f658e=_0x351b7e;this['_pendingUrlImage']&&=(this['_pendingUrlImage'][_0x1f658e(0x3b7)]=null,this[_0x1f658e(0x331)][_0x1f658e(0x182)]=null,null);}};function _0xbc7abb(_0x50c64d,_0x378090,_0x3c70ee,_0x62c24e){const _0x14d337=_0x351b7e;let _0x31b80e=Object['create'](_0x50c64d);return Object[_0x14d337(0x3ea)](_0x31b80e,_0x14d337(0x2aa),{'value':_0x378090}),Object['defineProperty'](_0x31b80e,_0x14d337(0x196),{'value':_0x3c70ee}),Object[_0x14d337(0xc8)](_0x62c24e)[_0x14d337(0x120)](_0xebea9c=>{const _0x5fcb39=_0x14d337;Object[_0x5fcb39(0x3ea)](_0x31b80e,_0xebea9c,{'value':_0x62c24e[_0xebea9c]});}),_0x31b80e;}function _0x1ad018(_0x5a3cb6,_0x38bd17,_0xab4079,_0x26e652){const _0x1a1120=_0x351b7e;let _0x2deb00=Math['min'](_0x26e652||0x0,_0x38bd17/0x2,_0xab4079/0x2);if(_0x5a3cb6[_0x1a1120(0x1ab)](),!_0x2deb00){_0x5a3cb6[_0x1a1120(0x3ad)](0x0,0x0,_0x38bd17,_0xab4079),_0x5a3cb6[_0x1a1120(0xc1)]();return;}_0x5a3cb6[_0x1a1120(0x184)](_0x2deb00,0x0),_0x5a3cb6['lineTo'](_0x38bd17-_0x2deb00,0x0),_0x5a3cb6['arc'](_0x38bd17-_0x2deb00,_0x2deb00,_0x2deb00,Math['PI']*0x3/0x2,0x0,!0x1),_0x5a3cb6[_0x1a1120(0x44c)](_0x38bd17,_0xab4079-_0x2deb00),_0x5a3cb6['arc'](_0x38bd17-_0x2deb00,_0xab4079-_0x2deb00,_0x2deb00,0x0,Math['PI']/0x2,!0x1),_0x5a3cb6['lineTo'](_0x2deb00,_0xab4079),_0x5a3cb6[_0x1a1120(0x365)](_0x2deb00,_0xab4079-_0x2deb00,_0x2deb00,Math['PI']/0x2,Math['PI'],!0x1),_0x5a3cb6[_0x1a1120(0x44c)](0x0,_0x2deb00),_0x5a3cb6['arc'](_0x2deb00,_0x2deb00,_0x2deb00,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x5a3cb6[_0x1a1120(0xc1)]();}function _0x20324d(_0x1615c4){const _0x37cb06=_0x351b7e;(_0x1615c4==null?void 0x0:_0x1615c4[_0x37cb06(0x441)])===_0x4a5d1e[_0x37cb06(0x38b)]['ImageBitmap']&&_0x1615c4[_0x37cb06(0x13a)][_0x37cb06(0x39f)]();}function _0x500ff9(_0x47634f){const _0x2515eb=_0x351b7e;return _0x47634f[_0x2515eb(0x12d)]+_0x2515eb(0x131)+_0x47634f[_0x2515eb(0x2b0)]+'#-#'+_0x47634f[_0x2515eb(0x2ff)];}var _0x5736e0=class extends _0xe0fba2[_0x351b7e(0x304)]{constructor(..._0x5bce96){super(..._0x5bce96),_0x2d50c7(this,'_entries',new Map());}[_0x351b7e(0x246)](_0x34023e){const _0xed152d=_0x351b7e;let _0xe85359=_0x500ff9(_0x34023e),_0x48d641=this['_entries'][_0xed152d(0x1aa)](_0xe85359)??{'version':0x0};return _0x48d641['version']+=0x1,this[_0xed152d(0x312)]['set'](_0xe85359,_0x48d641),_0x48d641[_0xed152d(0x2df)];}[_0x351b7e(0x307)](_0x4d62ad,_0x55d6a0){const _0x735cfa=_0x351b7e;var _0x447803;return((_0x447803=this['_entries'][_0x735cfa(0x1aa)](_0x500ff9(_0x4d62ad)))==null?void 0x0:_0x447803['version'])===_0x55d6a0;}[_0x351b7e(0x28f)](_0x4ffd80,_0x59f8c6,_0x299ee5){const _0x482437=_0x351b7e;if(!this[_0x482437(0x307)](_0x4ffd80,_0x299ee5))return _0x20324d(_0x59f8c6),!0x1;let _0x37948b=_0x500ff9(_0x4ffd80),_0x42d595=this[_0x482437(0x312)][_0x482437(0x1aa)](_0x37948b)??{'version':_0x299ee5},_0x523277=_0x42d595[_0x482437(0x2ed)];return _0x42d595['image']=_0x59f8c6,_0x42d595['version']=_0x299ee5,this[_0x482437(0x312)]['set'](_0x37948b,_0x42d595),_0x523277!==_0x59f8c6&&_0x20324d(_0x523277),!0x0;}['getImage'](_0x20e1de){const _0x3aff33=_0x351b7e;var _0x36fec0;return(_0x36fec0=this['_entries'][_0x3aff33(0x1aa)](_0x500ff9(_0x20e1de)))==null?void 0x0:_0x36fec0[_0x3aff33(0x2ed)];}[_0x351b7e(0xe9)](_0x439209){const _0xcbf03=_0x351b7e;let _0x339cd4=_0x500ff9(_0x439209),_0x21b512=this[_0xcbf03(0x312)][_0xcbf03(0x1aa)](_0x339cd4);_0x21b512&&(_0x20324d(_0x21b512[_0xcbf03(0x2ed)]),this[_0xcbf03(0x312)][_0xcbf03(0x437)](_0x339cd4));}['clearChart'](_0x56f6dc){const _0x317109=_0x351b7e;for(let [_0x42687c,_0x55f650]of this[_0x317109(0x312)])_0x42687c['endsWith'](_0x317109(0x131)+_0x56f6dc)&&(_0x20324d(_0x55f650[_0x317109(0x2ed)]),this[_0x317109(0x312)][_0x317109(0x437)](_0x42687c));}['dispose'](){const _0x950cc3=_0x351b7e;this['_entries'][_0x950cc3(0x120)](_0x454a4f=>_0x20324d(_0x454a4f[_0x950cc3(0x2ed)])),this[_0x950cc3(0x312)][_0x950cc3(0x3c3)](),super[_0x950cc3(0x183)]();}};function _0x1cef92(_0x25c86a,_0x533a9f=0x7d0){let _0x14650b=null,_0x2bce99=null,_0x24f51e=!0x1,_0x54f82=()=>{},_0x1089c2=()=>{_0x14650b!=null&&(clearInterval(_0x14650b),_0x14650b=null),_0x2bce99!=null&&(clearTimeout(_0x2bce99),_0x2bce99=null);};return{'promise':new Promise((_0x228434,_0x47e34a)=>{_0x54f82=_0x47e34a;let _0x302004=()=>{let _0x1dbfe5=document['getElementById'](_0x25c86a);_0x1dbfe5&&!_0x24f51e&&(_0x24f51e=!0x0,_0x1089c2(),_0x228434(_0x1dbfe5));};_0x302004(),!_0x24f51e&&(_0x14650b=setInterval(_0x302004,16.666666666666668),_0x2bce99=setTimeout(()=>{const _0x95e6b0=_0x3410;_0x24f51e||(_0x24f51e=!0x0,_0x1089c2(),_0x47e34a(Error(_0x95e6b0(0x396)+_0x25c86a+'\x22.')));},_0x533a9f));}),'cancel':()=>{const _0x20a779=_0x3410;_0x24f51e||(_0x24f51e=!0x0,_0x1089c2(),_0x54f82(Error(_0x20a779(0x2b8)+_0x25c86a+'\x22.')));}};}var _0x17a1bf=class extends _0xe0fba2[_0x351b7e(0x304)]{constructor(_0x52b830,_0xc1c5c,_0x56789f,_0x35adda,_0x17a68d,_0x31f18f,_0x180692){const _0x563e24=_0x351b7e;super(),this['chartId']=_0x52b830,this[_0x563e24(0x36b)]=_0xc1c5c,this['_getPlacement']=_0x56789f,this[_0x563e24(0x146)]=_0x35adda,this[_0x563e24(0x423)]=_0x17a68d,this[_0x563e24(0x168)]=_0x31f18f,this[_0x563e24(0x17f)]=_0x180692,_0x2d50c7(this,'mode',_0x4a5d1e['ChartRenderMode'][_0x563e24(0x2ba)]),_0x2d50c7(this,_0x563e24(0x20d),null),_0x2d50c7(this,_0x563e24(0x9c),!0x1),_0x2d50c7(this,'_pendingToken',null),_0x2d50c7(this,_0x563e24(0x287),null),_0x2d50c7(this,_0x563e24(0xf7),null),_0x2d50c7(this,_0x563e24(0x2b4),{}),_0x2d50c7(this,_0x563e24(0x2da),null),_0x2d50c7(this,'_dataUpdateAnimationDuration',null);}[_0x351b7e(0xea)](){return this['_managed'];}['markUnmanaged'](){const _0x2ecd07=_0x351b7e;this[_0x2ecd07(0x9c)]=!0x1;}[_0x351b7e(0x16c)](){const _0x4f4fd5=_0x351b7e;let _0x5cebab=this[_0x4f4fd5(0x43b)]();return _0x5cebab?{'width':_0x5cebab['width'],'height':_0x5cebab[_0x4f4fd5(0x196)]}:null;}[_0x351b7e(0x136)](_0x439a8e){const _0x4b8619=_0x351b7e;this['_hostStyle']=_0x439a8e,this['_setHostStyle'](_0x439a8e),this[_0x4b8619(0xef)]();}async['ensureHandle'](){const _0x3f2c19=_0x351b7e;if(this['_disposed']||this[_0x3f2c19(0x423)]())throw Error(_0x3f2c19(0x3ed));let _0x78849c=this[_0x3f2c19(0x36b)](),_0x157e65=(_0x78849c==null?void 0x0:_0x78849c[_0x3f2c19(0x22c)])??this[_0x3f2c19(0x2ff)],_0x25b66e=document['getElementById'](_0x157e65);if(this[_0x3f2c19(0x20d)]&&_0x25b66e!=null&&_0x25b66e[_0x3f2c19(0x301)](this['_domFrame']['mountNode']))return{'mountNode':this['_domFrame'][_0x3f2c19(0x249)],'dispose':()=>{const _0x37586d=_0x3f2c19;this[_0x37586d(0x183)](),_0x78849c==null||_0x78849c[_0x37586d(0x183)][_0x37586d(0x183)]();}};if(this[_0x3f2c19(0x287)])return this[_0x3f2c19(0x287)];let _0x4777fb=this[_0x3f2c19(0x42f)]();return this[_0x3f2c19(0x287)]=_0x4777fb,_0x4777fb[_0x3f2c19(0x17a)](()=>{const _0x4c4cb2=_0x3f2c19;this[_0x4c4cb2(0x287)]===_0x4777fb&&(this[_0x4c4cb2(0x287)]=null);},()=>{const _0x3eae3d=_0x3f2c19;this[_0x3eae3d(0x287)]===_0x4777fb&&(this[_0x3eae3d(0x287)]=null);}),_0x4777fb;}async['ensureMount'](){const _0x10afd3=_0x351b7e;try{return(await this[_0x10afd3(0x2f6)]())['mountNode'];}catch{return null;}}['checkMounted'](){const _0x274e27=_0x351b7e;let _0xa2d840=this['_getFloatDomInfo'](),_0x47a039=(_0xa2d840==null?void 0x0:_0xa2d840[_0x274e27(0x22c)])??this[_0x274e27(0x2ff)],_0x18667d=document[_0x274e27(0x236)](_0x47a039);return!!(this[_0x274e27(0x20d)]&&_0x18667d!=null&&_0x18667d[_0x274e27(0x301)](this[_0x274e27(0x20d)][_0x274e27(0x249)]));}[_0x351b7e(0xf1)](){const _0x5d7958=_0x351b7e;if(!this[_0x5d7958(0x20d)])return;let _0x3989a4=this[_0x5d7958(0x43b)]();_0x3989a4&&this['_domFrame'][_0x5d7958(0x355)](this[_0x5d7958(0x386)](_0x3989a4),this[_0x5d7958(0x27b)]());}[_0x351b7e(0x2f7)](){const _0x18faf6=_0x351b7e;this[_0x18faf6(0x168)]();}['markNotReady'](){const _0x4c1952=_0x351b7e;this[_0x4c1952(0x17f)]();}[_0x351b7e(0x3ca)](_0x33229e){const _0x39448b=_0x351b7e;this[_0x39448b(0x2d7)]=_0x33229e;let _0x5251ef=this['_getFloatDomInfo'](),_0xae7f4b=document[_0x39448b(0x236)]((_0x5251ef==null?void 0x0:_0x5251ef[_0x39448b(0x22c)])??this[_0x39448b(0x2ff)]);_0xae7f4b&&this[_0x39448b(0x2d0)](_0xae7f4b);}[_0x351b7e(0x183)](){const _0x23ff22=_0x351b7e;var _0x3ac400;this[_0x23ff22(0x3f5)]||(this['markNotReady'](),this['_pendingToken']=null,this[_0x23ff22(0x287)]=null,this[_0x23ff22(0x11e)](),this[_0x23ff22(0x9c)]=!0x1,this['_dataUpdateAnimationDuration']=null,(_0x3ac400=this[_0x23ff22(0x20d)])==null||_0x3ac400['dispose'](),this[_0x23ff22(0x20d)]=null,this[_0x23ff22(0x34a)](),super[_0x23ff22(0x183)]());}async[_0x351b7e(0x42f)](){const _0x4cb02b=_0x351b7e;let _0x501032=this[_0x4cb02b(0x36b)]();if(!_0x501032)throw Error('Fail\x20to\x20create\x20float\x20dom');let _0x18bef2=_0x501032[_0x4cb02b(0x22c)]??this['chartId'],_0x54225e=_0x1cef92(_0x18bef2),_0x3ccf29=Symbol(this[_0x4cb02b(0x2ff)]);this[_0x4cb02b(0x113)]=_0x3ccf29,this[_0x4cb02b(0xf7)]=_0x54225e;try{let _0x1748e6=await _0x54225e[_0x4cb02b(0x15a)],_0x4136bf=this['_getFloatDomInfo'](),_0x59930a=(_0x4136bf==null?void 0x0:_0x4136bf[_0x4cb02b(0x22c)])??this[_0x4cb02b(0x2ff)];if(this['_disposed']||this[_0x4cb02b(0x423)]()||this[_0x4cb02b(0x113)]!==_0x3ccf29||!_0x4136bf||_0x59930a!==_0x18bef2||document['getElementById'](_0x18bef2)!==_0x1748e6||!_0x1748e6['isConnected'])throw Error(_0x4cb02b(0x3ed));let _0x5e3d85=this[_0x4cb02b(0x43b)]();if(!_0x5e3d85)throw Error(_0x4cb02b(0x3ed));let _0x16f67f=new _0x1e42e6['ChartDomFrame'](_0x1748e6);return _0x16f67f[_0x4cb02b(0x355)](this[_0x4cb02b(0x386)](_0x5e3d85),this['_frameStyle']()),this[_0x4cb02b(0x20c)](_0x1748e6),this[_0x4cb02b(0x20d)]=_0x16f67f,this[_0x4cb02b(0x9c)]=!0x0,{'mountNode':_0x16f67f[_0x4cb02b(0x249)],'dispose':()=>{const _0x3693ce=_0x4cb02b;this[_0x3693ce(0x183)](),_0x501032[_0x3693ce(0x183)][_0x3693ce(0x183)]();}};}finally{this['_waiter']===_0x54225e&&(this[_0x4cb02b(0xf7)]=null),this[_0x4cb02b(0x113)]===_0x3ccf29&&(this[_0x4cb02b(0x113)]=null);}}[_0x351b7e(0x11e)](){const _0xaa5ef0=_0x351b7e;let _0x47fc9d=this['_waiter'];_0x47fc9d&&(_0x47fc9d[_0xaa5ef0(0x321)](),this[_0xaa5ef0(0xf7)]=null);}['_applyHostStyle'](){const _0x3b3868=_0x351b7e;let _0x2f686b=this[_0x3b3868(0x43b)]();this[_0x3b3868(0x20d)]&&_0x2f686b&&this['_domFrame']['update'](this[_0x3b3868(0x386)](_0x2f686b),this[_0x3b3868(0x27b)]());}[_0x351b7e(0x386)](_0x56d71a){const _0x3256eb=_0x351b7e;return _0x1e42e6['ChartFrameLayout']['resolve']({'logicalOuterRect':{'left':_0x56d71a['left'],'top':_0x56d71a[_0x3256eb(0x195)],'width':_0x56d71a['width'],'height':_0x56d71a[_0x3256eb(0x196)]},'scale':{'scaleX':_0x56d71a[_0x3256eb(0x224)],'scaleY':_0x56d71a['scaleY']},'hostStyle':this[_0x3256eb(0x27b)](),'contentMode':_0x1e42e6[_0x3256eb(0x31e)][_0x3256eb(0x3c2)]});}['_frameStyle'](){const _0x365853=_0x351b7e;return{...this[_0x365853(0x2b4)],'radius':_0x1e42e6['CHART_HOST_BORDER_RADIUS']};}['_activateHostWrapper'](_0x1cba5c){const _0x1bccf3=_0x351b7e;let _0x573bec=_0x1cba5c[_0x1bccf3(0x33f)];_0x573bec&&(this['_savedWrapperStyle']||={'zIndex':_0x573bec[_0x1bccf3(0x12c)]['zIndex'],'pointerEvents':_0x573bec['style'][_0x1bccf3(0x3e6)]},_0x573bec[_0x1bccf3(0x12c)]['zIndex']=_0x1bccf3(0x39c),this[_0x1bccf3(0x2d0)](_0x1cba5c));}[_0x351b7e(0x2d0)](_0x5e2c01){const _0x268d80=_0x351b7e;let _0x3999bb=_0x5e2c01[_0x268d80(0x33f)];if(!_0x3999bb)return;let _0x46ba24=this[_0x268d80(0x2d7)];if(_0x46ba24!=null){_0x5e2c01[_0x268d80(0x13c)][_0x268d80(0x28c)]='true',_0x5e2c01[_0x268d80(0x13c)][_0x268d80(0x1b1)]=String(_0x46ba24),_0x3999bb['style']['pointerEvents']=_0x268d80(0x11f);return;}delete _0x5e2c01['dataset'][_0x268d80(0x28c)],delete _0x5e2c01[_0x268d80(0x13c)][_0x268d80(0x1b1)],_0x3999bb[_0x268d80(0x12c)][_0x268d80(0x3e6)]='auto';}[_0x351b7e(0x34a)](){const _0x1f8aa9=_0x351b7e;if(!this['_savedWrapperStyle'])return;let _0x599a5b=this['_getFloatDomInfo'](),_0x83b8e7=(_0x599a5b==null?void 0x0:_0x599a5b[_0x1f8aa9(0x22c)])??this[_0x1f8aa9(0x2ff)],_0xb2ec8c=document[_0x1f8aa9(0x236)](_0x83b8e7);_0xb2ec8c==null||delete _0xb2ec8c[_0x1f8aa9(0x13c)]['sheetChartDataAnimation'],_0xb2ec8c==null||delete _0xb2ec8c[_0x1f8aa9(0x13c)][_0x1f8aa9(0x1b1)];let _0x4704f1=_0xb2ec8c==null?void 0x0:_0xb2ec8c[_0x1f8aa9(0x33f)];_0x4704f1&&(_0x4704f1[_0x1f8aa9(0x12c)]['zIndex']=this[_0x1f8aa9(0x2da)][_0x1f8aa9(0x3ac)],_0x4704f1[_0x1f8aa9(0x12c)][_0x1f8aa9(0x3e6)]=this[_0x1f8aa9(0x2da)][_0x1f8aa9(0x3e6)]),this['_savedWrapperStyle']=null;}},_0x1605d2=class extends _0x4a5d1e[_0x351b7e(0xe5)]{constructor(_0x58f5ff,_0x5aaf47,_0x28a88b,_0x3cf730,_0x42b9ee,_0x569540){const _0x35da5b=_0x351b7e;super(_0x58f5ff),this[_0x35da5b(0x216)]=_0x5aaf47,this[_0x35da5b(0x146)]=_0x28a88b,this[_0x35da5b(0x470)]=_0x3cf730,this[_0x35da5b(0x2c1)]=_0x42b9ee,this[_0x35da5b(0x29f)]=_0x569540;}[_0x351b7e(0x16c)](){let _0x156b67=this['_getOuterRect']();return _0x156b67?_0x5f5d9d(_0x156b67):null;}[_0x351b7e(0x136)](_0x136e15){this['_setHostStyle'](_0x136e15);}[_0x351b7e(0x246)](){const _0x3634f8=_0x351b7e;return this['_snapshotStore'][_0x3634f8(0x246)](this[_0x3634f8(0x470)]);}[_0x351b7e(0x225)](_0x354374,_0x5e9324){const _0x1dfc24=_0x351b7e;return this[_0x1dfc24(0x2c1)][_0x1dfc24(0x28f)](this['_snapshotKey'],_0x354374,_0x5e9324);}[_0x351b7e(0x438)](){const _0xbf2c33=_0x351b7e;this[_0xbf2c33(0x29f)]();}[_0x351b7e(0x1c6)](){const _0x2832f8=_0x351b7e;this[_0x2832f8(0x2c1)][_0x2832f8(0x246)](this[_0x2832f8(0x470)]);}};function _0x40aea1(_0x250043,_0x2e73c4){return function(_0x3392e5,_0x4c320e){_0x2e73c4(_0x3392e5,_0x4c320e,_0x250043);};}function _0x5a0cd2(_0x4089e0,_0xf78075,_0x44001c,_0x256af6){const _0x1d7cf3=_0x351b7e;var _0x1af8a4=arguments[_0x1d7cf3(0x1fd)],_0x8b6c47=_0x1af8a4<0x3?_0xf78075:_0x256af6===null?_0x256af6=Object[_0x1d7cf3(0x3c6)](_0xf78075,_0x44001c):_0x256af6,_0x38ffab;if(typeof Reflect==_0x1d7cf3(0x164)&&typeof Reflect[_0x1d7cf3(0x389)]==_0x1d7cf3(0x24b))_0x8b6c47=Reflect[_0x1d7cf3(0x389)](_0x4089e0,_0xf78075,_0x44001c,_0x256af6);else{for(var _0x14924b=_0x4089e0['length']-0x1;_0x14924b>=0x0;_0x14924b--)(_0x38ffab=_0x4089e0[_0x14924b])&&(_0x8b6c47=(_0x1af8a4<0x3?_0x38ffab(_0x8b6c47):_0x1af8a4>0x3?_0x38ffab(_0xf78075,_0x44001c,_0x8b6c47):_0x38ffab(_0xf78075,_0x44001c))||_0x8b6c47);}return _0x1af8a4>0x3&&_0x8b6c47&&Object[_0x1d7cf3(0x3ea)](_0xf78075,_0x44001c,_0x8b6c47),_0x8b6c47;}let _0xcaa8a=0.5;function _0x3847c2(_0x462c21){const _0x41c06c=_0x351b7e;let _0x5837bd=Math[_0x41c06c(0xdb)](_0x462c21['endX']-_0x462c21[_0x41c06c(0x261)],0x0),_0x5938f7=Math[_0x41c06c(0xdb)](_0x462c21['endY']-_0x462c21['startY'],0x0),_0x415c34=_0x462c21[_0x41c06c(0x2e0)][_0x41c06c(0x150)]&&_0x462c21[_0x41c06c(0x2aa)]-_0x5837bd>_0xcaa8a,_0x42174c=_0x462c21['absolute'][_0x41c06c(0x195)]&&_0x462c21[_0x41c06c(0x196)]-_0x5938f7>_0xcaa8a;return!_0x415c34&&!_0x42174c?_0x462c21:{..._0x462c21,'absolute':{'left':!_0x415c34&&_0x462c21['absolute'][_0x41c06c(0x150)],'top':!_0x42174c&&_0x462c21['absolute']['top']}};}function _0x4da893(_0x4dce5b){const _0x591912=_0x351b7e;if(!Object[_0x591912(0x116)]['hasOwnProperty'][_0x591912(0x406)](_0x4dce5b,_0x591912(0x298)))return _0x4dce5b;let {border:_0x1c4da9,..._0x28d01e}=_0x4dce5b;return{..._0x28d01e,'stroke':(_0x1c4da9==null?void 0x0:_0x1c4da9[_0x591912(0xc5)])??'transparent','strokeWidth':(_0x1c4da9==null?void 0x0:_0x1c4da9[_0x591912(0x2aa)])??0x0};}let _0x1a5ddf=class extends _0xe0fba2[_0x351b7e(0x304)]{constructor(_0x248de1,_0x4ecd8e,_0x3802d3,_0x4f91df,_0xcf2895){const _0x50fb73=_0x351b7e;super(),this['_sheetCanvasFloatDomManagerService']=_0x248de1,this[_0x50fb73(0x465)]=_0x4ecd8e,this[_0x50fb73(0x1b2)]=_0x3802d3,this['_canvasFloatDomService']=_0x4f91df,this[_0x50fb73(0x9d)]=_0xcf2895,_0x2d50c7(this,_0x50fb73(0x416),new Map()),_0x2d50c7(this,_0x50fb73(0x160),new Set()),_0x2d50c7(this,_0x50fb73(0x1c0),new _0x1a141d['Subject']()),_0x2d50c7(this,'removeHost$',this['_removeHost$'][_0x50fb73(0x3fb)]()),this[_0x50fb73(0x3f2)](this[_0x50fb73(0x2f2)][_0x50fb73(0x2fc)][_0x50fb73(0x1b5)](_0x224b59=>{const _0x3d85d1=_0x50fb73;let _0x16cc1a=this['_chartHostMap']['get'](_0x224b59['id']);_0x16cc1a!=null&&_0x16cc1a[_0x3d85d1(0xea)]()&&(_0x16cc1a[_0x3d85d1(0x119)](),this[_0x3d85d1(0x1c0)][_0x3d85d1(0xf2)](_0x224b59['id']));}));}[_0x351b7e(0x169)](_0x40d1c5){const _0x2e564b=_0x351b7e;if(_0x40d1c5==null)return;let _0x343ce6=this[_0x2e564b(0x465)][_0x2e564b(0x38e)](_0x40d1c5),_0x4a5074=_0x343ce6==null?void 0x0:_0x343ce6[_0x2e564b(0x37b)];return _0x343ce6==null||_0x4a5074==null?null:{'scene':_0x4a5074,'transformer':_0x4a5074['getTransformerByCreate'](),'renderUnit':_0x343ce6,'canvas':_0x343ce6[_0x2e564b(0x3c0)][_0x2e564b(0x2ae)]()};}[_0x351b7e(0xaa)](_0x19af00,_0x57ca74){const _0x457dba=_0x351b7e;let _0x50d0b3=this[_0x457dba(0x2f2)],_0x132666=_0x57ca74||_0x457dba(0x2b2),_0x31e21b=_0x50d0b3[_0x457dba(0xcb)](_0x19af00);if(_0x31e21b){let {unitId:_0x35189a,subUnitId:_0x2c7135}=_0x31e21b;_0x50d0b3[_0x457dba(0x1b4)](_0x35189a,_0x2c7135,_0x19af00,{'stroke':_0x132666});}}[_0x351b7e(0x2ef)](_0x2c4f58,_0x231258){const _0x2782fd=_0x351b7e;let _0x36ab62=this[_0x2782fd(0x2f2)],_0x4847f3=_0x36ab62[_0x2782fd(0xcb)](_0x2c4f58);if(_0x4847f3){let {unitId:_0x53ecbd,subUnitId:_0x54257a}=_0x4847f3;_0x36ab62[_0x2782fd(0x1b4)](_0x53ecbd,_0x54257a,_0x2c4f58,_0x4da893(_0x231258));}}['getHostSize'](_0x554524){let _0x2b6b5a=this['_sheetCanvasFloatDomManagerService']['getFloatDomInfo'](_0x554524);return _0x2b6b5a?_0x2b6b5a['rect']:null;}[_0x351b7e(0xa1)](_0x2ad538){const _0x40511c=_0x351b7e;let _0x2c36ef=this[_0x40511c(0x2f2)][_0x40511c(0xcb)](_0x2ad538),_0x58bceb=document['getElementById']((_0x2c36ef==null?void 0x0:_0x2c36ef[_0x40511c(0x22c)])??_0x2ad538);return(_0x58bceb==null?void 0x0:_0x58bceb[_0x40511c(0x452)]())??null;}[_0x351b7e(0x3ca)](_0x8f6001,_0x20df01){const _0x4947f9=_0x351b7e;var _0x35f560;(_0x35f560=this[_0x4947f9(0x416)][_0x4947f9(0x1aa)](_0x8f6001))==null||_0x35f560[_0x4947f9(0x3ca)](_0x20df01);}[_0x351b7e(0x123)](_0x96ac7a){const _0x1315c1=_0x351b7e;var _0xb96c46;return((_0xb96c46=this[_0x1315c1(0x416)][_0x1315c1(0x1aa)](_0x96ac7a))==null?void 0x0:_0xb96c46[_0x1315c1(0x29d)]())??!0x1;}[_0x351b7e(0x40e)](_0x4da4a4){const _0x37226e=_0x351b7e;var _0x2b581e;(_0x2b581e=this['_chartHostMap'][_0x37226e(0x1aa)](_0x4da4a4))==null||_0x2b581e[_0x37226e(0xf1)]();}['removeHost'](_0x5d3162){const _0x5aa24d=_0x351b7e;let _0x48c278=this['_chartHostMap']['get'](_0x5d3162);_0x48c278&&(_0x48c278['dispose'](),this[_0x5aa24d(0x3a5)][_0x5aa24d(0x1d6)](_0x5d3162,{'eventPassThrough':!0x0})),this[_0x5aa24d(0x416)][_0x5aa24d(0x437)](_0x5d3162);}async[_0x351b7e(0x3d2)](_0x1ec4c1,_0x1eb72f){const _0x5f28cf=_0x351b7e;if(_0x1eb72f===_0x4a5d1e[_0x5f28cf(0x31c)]['Image'])return this[_0x5f28cf(0x219)](_0x1ec4c1);if(_0x1eb72f===_0x4a5d1e[_0x5f28cf(0x31c)][_0x5f28cf(0x2ba)])return this[_0x5f28cf(0x266)](_0x1ec4c1);let _0x5f23ef=this[_0x5f28cf(0x266)](_0x1ec4c1);if(!_0x5f23ef)throw Error('Fail\x20to\x20create\x20float\x20dom');return _0x5f23ef[_0x5f28cf(0x2f6)]();}[_0x351b7e(0x445)](_0x4b7186){const _0x1d91cb=_0x351b7e;var _0x1f71da;return this[_0x1d91cb(0x160)][_0x1d91cb(0x309)](_0x4b7186)?(_0x1f71da=this[_0x1d91cb(0x416)][_0x1d91cb(0x1aa)](_0x4b7186))!=null&&_0x1f71da[_0x1d91cb(0x29d)]()?!0x0:(this[_0x1d91cb(0x160)][_0x1d91cb(0x437)](_0x4b7186),this[_0x1d91cb(0x34b)](_0x4b7186),!0x1):!0x1;}[_0x351b7e(0x317)](_0x115af6){const _0x2c5113=_0x351b7e;this[_0x2c5113(0x160)][_0x2c5113(0x437)](_0x115af6)&&(this['_restoreFloatDomPositionStream'](_0x115af6),this[_0x2c5113(0x456)](_0x115af6));}[_0x351b7e(0x1c6)](_0x24e77d){const _0x253826=_0x351b7e;let _0x3deae7=this[_0x253826(0x368)](_0x24e77d);_0x3deae7&&this[_0x253826(0x1b2)]['nextVersion'](_0x3deae7);}[_0x351b7e(0x219)](_0x5cd8e4){const _0x26de17=_0x351b7e;let _0x150032=this[_0x26de17(0x368)](_0x5cd8e4);return!_0x150032||!this['getHostSize'](_0x5cd8e4)?null:new _0x1605d2(_0x5cd8e4,()=>this[_0x26de17(0x275)](_0x5cd8e4),_0x48b0be=>this['setHostStyle'](_0x5cd8e4,_0x48b0be),_0x150032,this[_0x26de17(0x1b2)],()=>this[_0x26de17(0x456)](_0x5cd8e4));}[_0x351b7e(0x266)](_0x2168db){const _0x34dbe1=_0x351b7e;var _0x3e7a79;if(!this['getHostSize'](_0x2168db))return null;this[_0x34dbe1(0x3a5)][_0x34dbe1(0x1d6)](_0x2168db,{'eventPassThrough':((_0x3e7a79=this[_0x34dbe1(0x9d)][_0x34dbe1(0x267)])==null?void 0x0:_0x3e7a79['id'])!==_0x2168db,'contentBox':{'wrapperInset':0x0,'contentInset':0x0}});let _0x5accd7=this['_chartHostMap'][_0x34dbe1(0x1aa)](_0x2168db);if(_0x5accd7)return _0x5accd7;let _0x27da8f=new _0x17a1bf(_0x2168db,()=>this[_0x34dbe1(0x2f2)][_0x34dbe1(0xcb)](_0x2168db),()=>this[_0x34dbe1(0x434)](_0x2168db),_0x4f72a1=>this[_0x34dbe1(0x2ef)](_0x2168db,_0x4f72a1),()=>this[_0x34dbe1(0x3f5)],()=>this[_0x34dbe1(0x383)](_0x2168db),()=>this[_0x34dbe1(0x317)](_0x2168db));return this[_0x34dbe1(0x416)][_0x34dbe1(0xac)](_0x2168db,_0x27da8f),_0x27da8f;}['_markHostReady'](_0x3044a9){const _0x486586=_0x351b7e;this[_0x486586(0x160)]['has'](_0x3044a9)||(this[_0x486586(0x160)][_0x486586(0x429)](_0x3044a9),this[_0x486586(0x206)](_0x3044a9),this['_requestChartCanvasRender'](_0x3044a9));}['_alignFloatDomPositionWithSceneRender'](_0x394ecb){const _0x2d91a8=_0x351b7e;var _0x311895;let _0x2f5270=this['_sheetCanvasFloatDomManagerService']['getFloatDomInfo'](_0x394ecb),_0x1fe4e8=_0x2f5270?(_0x311895=this[_0x2d91a8(0x465)]['getRenderUnitById'](_0x2f5270[_0x2d91a8(0x12d)]))==null?void 0x0:_0x311895['scene']:null;if(!_0x2f5270||!_0x1fe4e8)return;let _0x3ee553=(0x0,_0x1a141d['merge'])(_0x2f5270[_0x2d91a8(0x127)]['pipe']((0x0,_0x1a141d[_0x2d91a8(0x451)])(0x1)),_0x1fe4e8[_0x2d91a8(0x3ba)][_0x2d91a8(0x1a6)]((0x0,_0x1a141d[_0x2d91a8(0x339)])(_0x2f5270[_0x2d91a8(0x127)]),(0x0,_0x1a141d[_0x2d91a8(0xfc)])(([,_0x5ae5e3])=>_0x5ae5e3)))[_0x2d91a8(0x1a6)]((0x0,_0x1a141d[_0x2d91a8(0x3cd)])(),(0x0,_0x1a141d[_0x2d91a8(0xfc)])(_0x3847c2));this['_canvasFloatDomService'][_0x2d91a8(0x1d6)](_0x394ecb,{'position$':_0x3ee553});}[_0x351b7e(0x34b)](_0x4027c8){const _0x447979=_0x351b7e;let _0x7046d2=this[_0x447979(0x2f2)]['getFloatDomInfo'](_0x4027c8);_0x7046d2&&this[_0x447979(0x3a5)][_0x447979(0x1d6)](_0x4027c8,{'position$':_0x7046d2[_0x447979(0x127)]});}[_0x351b7e(0x368)](_0x242fd4){const _0x2f53ab=_0x351b7e;let _0xb4d45e=this['_sheetCanvasFloatDomManagerService']['getFloatDomInfo'](_0x242fd4);return _0xb4d45e?{'unitId':_0xb4d45e['unitId'],'subUnitId':_0xb4d45e[_0x2f53ab(0x2b0)],'chartId':_0x242fd4}:null;}[_0x351b7e(0x456)](_0x1da6f2){const _0x20716e=_0x351b7e;var _0x50d512,_0x3dbaea,_0x5d2e2d;let _0x447f0c=this[_0x20716e(0x2f2)][_0x20716e(0xcb)](_0x1da6f2);if(!_0x447f0c)return;let _0x134a71=(_0x50d512=this['_renderManagerService'][_0x20716e(0x38e)](_0x447f0c[_0x20716e(0x12d)]))==null?void 0x0:_0x50d512[_0x20716e(0x37b)],_0x47881d=(_0x134a71==null||(_0x3dbaea=_0x134a71[_0x20716e(0x162)])==null?void 0x0:_0x3dbaea[_0x20716e(0x406)](_0x134a71,(0x0,_0x3543bc[_0x20716e(0x469)])({'unitId':_0x447f0c['unitId'],'subUnitId':_0x447f0c['subUnitId'],'drawingId':_0x1da6f2})))??(_0x134a71==null?void 0x0:_0x134a71[_0x20716e(0x468)]((0x0,_0x3543bc[_0x20716e(0x469)])({'unitId':_0x447f0c[_0x20716e(0x12d)],'subUnitId':_0x447f0c[_0x20716e(0x2b0)],'drawingId':_0x1da6f2})))??null;_0x47881d==null||(_0x5d2e2d=_0x47881d[_0x20716e(0x135)])==null||_0x5d2e2d[_0x20716e(0x406)](_0x47881d,!0x0),_0x134a71==null||_0x134a71[_0x20716e(0x135)](!0x0);}[_0x351b7e(0x434)](_0x5d0fcf){const _0xec3a5b=_0x351b7e;let _0x17955c=this[_0xec3a5b(0x2f2)][_0xec3a5b(0xcb)](_0x5d0fcf);if(!_0x17955c)return null;let _0x48f810=this[_0xec3a5b(0x169)](_0x17955c[_0xec3a5b(0x12d)]),_0x100039=_0x48f810==null?void 0x0:_0x48f810[_0xec3a5b(0x37b)],_0x240d03=document[_0xec3a5b(0x236)](_0x17955c['domId']??_0x5d0fcf);return _0x1c189c(_0x17955c[_0xec3a5b(0x3ad)],{'scaleX':(_0x100039==null?void 0x0:_0x100039['scaleX'])??0x1,'scaleY':(_0x100039==null?void 0x0:_0x100039['scaleY'])??0x1},_0x240d03?{'left':_0x240d03[_0xec3a5b(0xb4)],'top':_0x240d03['offsetTop']}:void 0x0);}[_0x351b7e(0x183)](){const _0x584dbc=_0x351b7e;this[_0x584dbc(0x3f5)]||(Array[_0x584dbc(0xd0)](this[_0x584dbc(0x416)][_0x584dbc(0xc8)]())[_0x584dbc(0x120)](_0x2dbe84=>this[_0x584dbc(0x39e)](_0x2dbe84)),this[_0x584dbc(0x160)]['clear'](),this[_0x584dbc(0x1c0)]['complete'](),super[_0x584dbc(0x183)]());}};_0x1a5ddf=_0x5a0cd2([_0x40aea1(0x0,(0x0,_0xe0fba2[_0x351b7e(0x2f8)])(_0x102b65[_0x351b7e(0x30d)])),_0x40aea1(0x1,(0x0,_0xe0fba2[_0x351b7e(0x2f8)])(_0x120bdc[_0x351b7e(0x1d7)])),_0x40aea1(0x2,(0x0,_0xe0fba2[_0x351b7e(0x2f8)])(_0x5736e0)),_0x40aea1(0x3,(0x0,_0xe0fba2[_0x351b7e(0x2f8)])(_0x4fef69[_0x351b7e(0x24a)])),_0x40aea1(0x4,(0x0,_0xe0fba2[_0x351b7e(0x2f8)])(_0x201ec2[_0x351b7e(0x3bd)]))],_0x1a5ddf);let _0x57a861=(0x0,_0xe0fba2[_0x351b7e(0x316)])('sheets-chart-ui.host.provider'),_0x10f944=_0x4a5d1e['ChartRenderMode'][_0x351b7e(0x41e)];var _0x34a8a7=class extends _0x4a5d1e[_0x351b7e(0xe5)]{constructor(_0x43dc6e,_0x3a6fd9){const _0x9c6326=_0x351b7e;super(_0x43dc6e),this[_0x9c6326(0x17d)]=_0x3a6fd9,_0x2d50c7(this,_0x9c6326(0x293),0x0),_0x2d50c7(this,_0x9c6326(0x2c8),void 0x0),_0x2d50c7(this,_0x9c6326(0x12c),{});}[_0x351b7e(0x16c)](){const _0xc670a9=_0x351b7e;return this[_0xc670a9(0x17d)];}[_0x351b7e(0x136)](_0x10f506){const _0x4da6b7=_0x351b7e;this[_0x4da6b7(0x12c)]=_0x10f506;}[_0x351b7e(0x246)](){const _0x2fc3e3=_0x351b7e;return++this[_0x2fc3e3(0x293)];}[_0x351b7e(0x225)](_0x44b1bf,_0x1d073c){const _0x40d1c8=_0x351b7e;return _0x1d073c===this[_0x40d1c8(0x293)]?(_0x20324d(this[_0x40d1c8(0x2c8)]),this[_0x40d1c8(0x2c8)]=_0x44b1bf,!0x0):(_0x20324d(_0x44b1bf),!0x1);}[_0x351b7e(0x438)](){}[_0x351b7e(0x1c6)](){this['_version']+=0x1;}[_0x351b7e(0x26e)](){const _0x5d4676=_0x351b7e;let _0x193f6f=this[_0x5d4676(0x2c8)];return this[_0x5d4676(0x2c8)]=void 0x0,_0x193f6f;}['dispose'](){const _0x1af8b7=_0x351b7e;_0x20324d(this[_0x1af8b7(0x2c8)]),this[_0x1af8b7(0x2c8)]=void 0x0,super[_0x1af8b7(0x183)]();}};function _0x371a1c(_0x465f2a,_0x1f36fb,_0x2fb8e1){const _0x52357a=_0x351b7e;let _0x2670a5=_0x465f2a[_0x52357a(0x3b8)](_0x1f36fb),_0x5a74d4={..._0x465f2a[_0x52357a(0x12c)],'runtime':{..._0x2670a5,'layoutInset':0x8,..._0x2fb8e1===void 0x0?{}:{'addWatermark':_0x2fb8e1}},'direction':_0x1f36fb};return(0x0,_0x4a5d1e[_0x52357a(0x408)])(_0x5a74d4,_0x465f2a[_0x52357a(0x153)]);}let _0x591b5a=class extends _0xe0fba2[_0x351b7e(0x304)]{constructor(_0x4961ec,_0x56f38e,_0x54cd7b,_0x25339d,_0x1f80ab,_0x41b837,_0x20d9d3,_0x4e060a,_0xfb3cf2,_0xf652a6,_0x5cf17f,_0x2d2a88,_0x55fd64){const _0x37b047=_0x351b7e;super(),this[_0x37b047(0x1d3)]=_0x4961ec,this[_0x37b047(0x2f2)]=_0x56f38e,this[_0x37b047(0x9d)]=_0x54cd7b,this['_drawingManagerService']=_0x25339d,this[_0x37b047(0x115)]=_0x1f80ab,this[_0x37b047(0x465)]=_0x41b837,this['_localeService']=_0x20d9d3,this[_0x37b047(0x1f0)]=_0x4e060a,this[_0x37b047(0x156)]=_0xfb3cf2,this[_0x37b047(0x280)]=_0xf652a6,this[_0x37b047(0xfe)]=_0x5cf17f,this[_0x37b047(0x1b2)]=_0x2d2a88,this[_0x37b047(0xb6)]=_0x55fd64,_0x2d50c7(this,_0x37b047(0x3ab),new Map()),_0x2d50c7(this,_0x37b047(0x400),new Map()),_0x2d50c7(this,_0x37b047(0x240),new Map()),_0x2d50c7(this,_0x37b047(0x263),new Map()),_0x2d50c7(this,_0x37b047(0x460),new Map()),_0x2d50c7(this,_0x37b047(0x145),new Map()),_0x2d50c7(this,_0x37b047(0x1d4),new Map()),_0x2d50c7(this,_0x37b047(0xfd),void 0x0),_0x2d50c7(this,'_addWatermark',void 0x0),_0x2d50c7(this,_0x37b047(0x271),new Map()),_0x2d50c7(this,'_dataUpdateAnimationChartIds',new Set()),_0x2d50c7(this,_0x37b047(0xa8),new Map()),_0x2d50c7(this,_0x37b047(0x1d8),null),_0x2d50c7(this,_0x37b047(0x430),null);let _0x1816dc=(0x0,_0x201ec2['getAllowedChartTypes'])(this['_injector']),_0x552460=this[_0x37b047(0xfe)]['getConfig'](_0x201ec2[_0x37b047(0x372)]);this[_0x37b047(0xfd)]=(_0x552460==null?void 0x0:_0x552460[_0x37b047(0x1fe)])??_0x10f944,this[_0x37b047(0x1de)]=_0x1816dc[_0x37b047(0x1fd)]!==0x1||_0x1816dc[0x0]!==_0x37b047(0x2af),this['_registerChartImageRenderObjectFactory'](),this['_initActiveChartModelListener'](),this['_initDrawingDeactivationListener'](),this[_0x37b047(0x421)](),this[_0x37b047(0x2f4)]();}[_0x351b7e(0x25d)](_0x1159b4){const _0x11dd48=_0x351b7e;let _0x2d8423=this[_0x11dd48(0x368)](_0x1159b4);return _0x2d8423?this[_0x11dd48(0x1b2)][_0x11dd48(0x1eb)](_0x2d8423):void 0x0;}[_0x351b7e(0x1e6)](_0x4e7f96){const _0x3d6893=_0x351b7e;var _0x4c115b;return((_0x4c115b=this[_0x3d6893(0x9d)][_0x3d6893(0x267)])==null?void 0x0:_0x4c115b['id'])===_0x4e7f96?_0x4a5d1e[_0x3d6893(0x31c)]['Dom']:this[_0x3d6893(0xfd)];}['_getChartSnapshotKey'](_0x3cd486){const _0x530b5c=_0x351b7e;let _0x38da37=this['_sheetCanvasFloatDomManagerService']['getFloatDomInfo'](_0x3cd486);return _0x38da37?{'unitId':_0x38da37[_0x530b5c(0x12d)],'subUnitId':_0x38da37[_0x530b5c(0x2b0)],'chartId':_0x3cd486}:null;}[_0x351b7e(0x2b3)](){const _0x1d7021=_0x351b7e;this[_0x1d7021(0xfd)]===_0x4a5d1e[_0x1d7021(0x31c)][_0x1d7021(0x41e)]&&this['disposeWithMe'](this['_sheetCanvasFloatDomManagerService']['registerRenderObjectFactory'](_0xe0fba2[_0x1d7021(0x371)][_0x1d7021(0x1af)],({key:_0x506d64,config:_0x181d38,unitId:_0x3af9bb,subUnitId:_0x3100b4,drawingId:_0x34f2d3})=>new _0x582d7a(_0x506d64,_0x181d38,()=>this[_0x1d7021(0x1b2)][_0x1d7021(0x1eb)]({'unitId':_0x3af9bb,'subUnitId':_0x3100b4,'chartId':_0x34f2d3}),()=>this[_0x1d7021(0x1d3)]['isDomReady'](_0x34f2d3))));}[_0x351b7e(0x2b9)](){const _0x189da7=_0x351b7e;this[_0x189da7(0x3f2)](this[_0x189da7(0x9d)][_0x189da7(0x1a8)][_0x189da7(0x1b5)](_0x58b810=>{const _0x167a74=_0x189da7;let _0x3547b9=(_0x58b810==null?void 0x0:_0x58b810['id'])??null,_0xb79c9d=this['_activeChartId'];_0xb79c9d!==_0x3547b9&&(_0xb79c9d&&(this[_0x167a74(0x1d3)]['markHostNotReady'](_0xb79c9d),this[_0x167a74(0x12f)](_0xb79c9d),this['_disposeChartDomInstance'](_0xb79c9d)),this[_0x167a74(0x1d8)]=_0x3547b9,_0x3547b9&&(this[_0x167a74(0x40a)](_0x3547b9),this['_chartHostProvider'][_0x167a74(0x317)](_0x3547b9),this[_0x167a74(0x1e1)](_0x3547b9),this['_rerenderLatest'](_0x3547b9)));}));}[_0x351b7e(0x194)](){const _0x6c036f=_0x351b7e;this['disposeWithMe'](this[_0x6c036f(0x3ef)][_0x6c036f(0x30f)][_0x6c036f(0x1b5)](_0x5eac84=>{const _0x3be7e3=_0x6c036f;var _0x411901;let _0x501b74=(_0x411901=this[_0x3be7e3(0x9d)][_0x3be7e3(0x267)])==null?void 0x0:_0x411901['id'];_0x501b74&&_0x5eac84['some'](_0x4c9584=>_0x4c9584['children'][_0x3be7e3(0x3e8)](_0x2b7cc6=>_0x2b7cc6[_0x3be7e3(0xa3)]===_0x501b74))&&this['_chartModelService'][_0x3be7e3(0x410)](null);})),this[_0x6c036f(0x3f2)](this['_drawingManagerService'][_0x6c036f(0x22d)]['subscribe'](_0x5e690e=>{const _0x1e3947=_0x6c036f;var _0x229d58;let _0x54cf8b=(_0x229d58=this['_chartModelService']['activeChartModel'])==null?void 0x0:_0x229d58['id'];_0x54cf8b&&_0x5e690e[_0x1e3947(0x3e8)](_0x2fe051=>_0x2fe051['parent']['drawingId']===_0x54cf8b||_0x2fe051[_0x1e3947(0x166)][_0x1e3947(0x3e8)](_0x33a1a8=>_0x33a1a8[_0x1e3947(0xa3)]===_0x54cf8b))&&this[_0x1e3947(0x9d)][_0x1e3947(0x410)](null);}));}['_initActiveRuntimeLayerListener'](){const _0x55eb95=_0x351b7e;this['disposeWithMe'](this[_0x55eb95(0x3ef)][_0x55eb95(0x34d)][_0x55eb95(0x1b5)](_0x59dc31=>{const _0x460067=_0x55eb95;var _0x12755f;let _0x401f0e=(_0x12755f=this['_chartModelService']['activeChartModel'])==null?void 0x0:_0x12755f['id'];if(!_0x401f0e){_0x59dc31[_0x460067(0x36c)][_0x460067(0x120)](_0x4b92ce=>{const _0x58ab1d=_0x460067;this[_0x58ab1d(0x9d)][_0x58ab1d(0x96)](_0x4b92ce)&&this[_0x58ab1d(0x12f)](_0x4b92ce);});return;}let _0x3d42c4=this[_0x460067(0x2f2)][_0x460067(0xcb)](_0x401f0e);(_0x3d42c4==null?void 0x0:_0x3d42c4[_0x460067(0x12d)])===_0x59dc31[_0x460067(0x12d)]&&_0x3d42c4['subUnitId']===_0x59dc31[_0x460067(0x2b0)]&&this[_0x460067(0x1e1)](_0x401f0e);})),this[_0x55eb95(0x3f2)](this[_0x55eb95(0x3ef)][_0x55eb95(0x2db)]['subscribe'](_0x35d4df=>{const _0x247cff=_0x55eb95;var _0x3a3db6;let _0x48fd1c=(_0x3a3db6=this[_0x247cff(0x9d)][_0x247cff(0x267)])==null?void 0x0:_0x3a3db6['id'];if(!_0x48fd1c)return;let _0x20af23=this[_0x247cff(0x2f2)][_0x247cff(0xcb)](_0x48fd1c);_0x20af23&&_0x35d4df[_0x247cff(0x3e8)](_0x573e95=>_0x573e95[_0x247cff(0x12d)]===_0x20af23['unitId']&&_0x573e95[_0x247cff(0x2b0)]===_0x20af23[_0x247cff(0x2b0)])&&this[_0x247cff(0x1e1)](_0x48fd1c);})),this['disposeWithMe'](this[_0x55eb95(0x9d)][_0x55eb95(0x208)]['subscribe'](_0x1a34d7=>{const _0xde656e=_0x55eb95;var _0x4bcea2;this[_0xde656e(0x105)](_0x1a34d7),this[_0xde656e(0x9b)](_0x1a34d7),this[_0xde656e(0x400)][_0xde656e(0x437)](_0x1a34d7),this[_0xde656e(0x40a)](_0x1a34d7),this[_0xde656e(0x271)][_0xde656e(0x437)](_0x1a34d7),this['_chartSnapshotStoreService'][_0xde656e(0xd6)](_0x1a34d7),this[_0xde656e(0x2d6)](_0x1a34d7),this[_0xde656e(0x1d3)][_0xde656e(0x317)](_0x1a34d7),((_0x4bcea2=this[_0xde656e(0x9d)][_0xde656e(0x267)])==null?void 0x0:_0x4bcea2['id'])===_0x1a34d7?this[_0xde656e(0x9d)][_0xde656e(0x410)](null):this[_0xde656e(0x12f)](_0x1a34d7),this[_0xde656e(0x220)](_0x1a34d7);}));}[_0x351b7e(0x1a2)](_0x109534){const _0x3f6b59=_0x351b7e;let _0x1627bb=this['_lastRenderInputMap'][_0x3f6b59(0x1aa)](_0x109534);_0x1627bb&&this[_0x3f6b59(0x1e5)](_0x109534,_0x1627bb[_0x3f6b59(0x262)],_0x1627bb[_0x3f6b59(0x12c)]);}[_0x351b7e(0x46f)](_0x4fee32){const _0x2a862d=_0x351b7e;let _0x30dbf1=this['_chartInstanceMap'][_0x2a862d(0x1aa)](_0x4fee32);(_0x30dbf1==null?void 0x0:_0x30dbf1[_0x2a862d(0x100)])==='dom'&&(this[_0x2a862d(0x9b)](_0x4fee32),_0x30dbf1['dispose'](),this[_0x2a862d(0x3ab)][_0x2a862d(0x437)](_0x4fee32)),this['_chartHostProvider'][_0x2a862d(0x317)](_0x4fee32),this[_0x2a862d(0x1d3)]['removeHost'](_0x4fee32);}[_0x351b7e(0x220)](_0x41a244){const _0x44670c=_0x351b7e;let _0x4ede06=this['_chartInstanceMap']['get'](_0x41a244);_0x4ede06&&(this[_0x44670c(0x9b)](_0x41a244),_0x4ede06[_0x44670c(0x183)](),this['_chartInstanceMap'][_0x44670c(0x437)](_0x41a244)),this['_chartHostProvider']['markHostNotReady'](_0x41a244),this[_0x44670c(0x1d3)][_0x44670c(0x39e)](_0x41a244);}[_0x351b7e(0x2d6)](_0x3e66ed){const _0x38995f=_0x351b7e;var _0x3b9730,_0x43c98d;(_0x3b9730=this[_0x38995f(0xb6)][_0x38995f(0x234)](_0x4a5d1e[_0x38995f(0xc0)]))==null||(_0x43c98d=_0x3b9730[_0x38995f(0x1e2)])==null||_0x43c98d['call'](_0x3b9730,_0x3e66ed);}[_0x351b7e(0x294)](_0x2aafea,_0x439696){const _0x12e764=_0x351b7e;let _0x9cb616=this[_0x12e764(0x3ef)]['getDrawingData'](_0x2aafea,_0x439696);Object['values'](_0x9cb616??{})[_0x12e764(0x120)](_0x50ef92=>{const _0x4ddfa1=_0x12e764;_0x50ef92[_0x4ddfa1(0x405)]===_0xe0fba2[_0x4ddfa1(0x371)][_0x4ddfa1(0x1af)]&&this[_0x4ddfa1(0x2d6)](_0x50ef92[_0x4ddfa1(0xa3)]);});}[_0x351b7e(0x2bc)](_0x3f33e4,_0x4bb301){const _0x17251d=_0x351b7e;var _0x1cf8b8;return((_0x1cf8b8=_0x3f33e4['getObjectIncludeInGroup'])==null?void 0x0:_0x1cf8b8[_0x17251d(0x406)](_0x3f33e4,_0x4bb301))??_0x3f33e4[_0x17251d(0x468)](_0x4bb301)??null;}[_0x351b7e(0x1ee)](_0x3c1959){const _0x54d0a9=_0x351b7e;var _0x4c6814;let _0x1a9ba1=this[_0x54d0a9(0x2f2)][_0x54d0a9(0xcb)](_0x3c1959);if(!_0x1a9ba1)return null;let _0x482c39=(_0x4c6814=this['_renderManagerService'][_0x54d0a9(0x38e)](_0x1a9ba1[_0x54d0a9(0x12d)]))==null?void 0x0:_0x4c6814['scene'];if(!_0x482c39)return null;let _0x4b121f=this[_0x54d0a9(0x2bc)](_0x482c39,(0x0,_0x3543bc[_0x54d0a9(0x469)])({'unitId':_0x1a9ba1[_0x54d0a9(0x12d)],'subUnitId':_0x1a9ba1[_0x54d0a9(0x2b0)],'drawingId':_0x3c1959}));return _0x4b121f?{'info':_0x1a9ba1,'scene':_0x482c39,'chartObject':_0x4b121f}:null;}['_setChartRuntimeZIndex'](_0x4394cc,_0x2d4f75){const _0x339c91=_0x351b7e;var _0x47d2c3,_0x328e5c,_0x3f87bc,_0x2a90cd;let _0x57f406=this['_getChartRenderObjectContext'](_0x4394cc);_0x57f406&&((_0x47d2c3=(_0x328e5c=_0x57f406[_0x339c91(0xba)])[_0x339c91(0x314)])==null||_0x47d2c3[_0x339c91(0x406)](_0x328e5c,{'zIndex':_0x2d4f75}),(_0x3f87bc=(_0x2a90cd=_0x57f406['chartObject'])[_0x339c91(0x135)])==null||_0x3f87bc[_0x339c91(0x406)](_0x2a90cd,!0x0),_0x57f406[_0x339c91(0x37b)][_0x339c91(0x135)](!0x0));}[_0x351b7e(0x1e1)](_0x432059){const _0x196ebf=_0x351b7e;let _0x4f48e7=this[_0x196ebf(0x2f2)][_0x196ebf(0xcb)](_0x432059);if(!_0x4f48e7)return;let _0xd2a764=this['_drawingManagerService'][_0x196ebf(0x243)](_0x4f48e7[_0x196ebf(0x12d)],_0x4f48e7['subUnitId']);this[_0x196ebf(0x109)](_0x432059,_0xd2a764[_0x196ebf(0x1fd)]);}[_0x351b7e(0x12f)](_0x3dba5e){const _0x2cb7b0=_0x351b7e;let _0x131444=this[_0x2cb7b0(0x2f2)][_0x2cb7b0(0xcb)](_0x3dba5e);if(!_0x131444)return;let _0x4423c3=this['_drawingManagerService']['getDrawingOrder'](_0x131444[_0x2cb7b0(0x12d)],_0x131444['subUnitId']),_0x31333a=_0x4423c3[_0x2cb7b0(0xa5)](_0x3dba5e);this[_0x2cb7b0(0x109)](_0x3dba5e,_0x31333a===-0x1?Math[_0x2cb7b0(0xdb)](_0x4423c3[_0x2cb7b0(0x1fd)]-0x1,0x0):_0x31333a);}[_0x351b7e(0xa9)](_0x484caf,_0xb45e5b){const _0x43ebe8=_0x351b7e;let _0x5ef914=this['_sheetCanvasFloatDomManagerService'][_0x43ebe8(0xcb)](_0x484caf);if(_0xb45e5b[_0x43ebe8(0x2aa)]!==void 0x0&&_0xb45e5b[_0x43ebe8(0x196)]!==void 0x0&&_0x5ef914){var _0x5c290b;let {subUnitId:_0x3ecdfd}=_0x5ef914,_0x181114=(_0x5c290b=this['_univerInstanceService'][_0x43ebe8(0x2a3)](_0xe0fba2['UniverInstanceType'][_0x43ebe8(0x3fd)]))==null?void 0x0:_0x5c290b[_0x43ebe8(0x26c)]();if((_0x181114==null?void 0x0:_0x181114[_0x43ebe8(0x1a0)]())===_0x3ecdfd){let {width:_0x4f1841,height:_0x424855}=_0xb45e5b,_0x54874e=this[_0x43ebe8(0x9d)][_0x43ebe8(0x96)](_0x484caf),_0xe22099=_0x54874e==null?void 0x0:_0x54874e[_0x43ebe8(0x12c)];(Math[_0x43ebe8(0x35d)](_0x4f1841-((_0xe22099==null?void 0x0:_0xe22099[_0x43ebe8(0x2aa)])||0x0))>0x1||Math[_0x43ebe8(0x35d)](_0x424855-((_0xe22099==null?void 0x0:_0xe22099[_0x43ebe8(0x196)])||0x0))>0x1)&&(_0x54874e==null||_0x54874e[_0x43ebe8(0x457)]({..._0xe22099,'width':_0x4f1841,'height':_0x424855}));}}}[_0x351b7e(0x179)](_0x38e0df,_0x889517,_0x4549e3=0x0){const _0x108e87=_0x351b7e;let _0x1cf9a1=this[_0x108e87(0x145)]['get'](_0x38e0df);_0x1cf9a1||(_0x1cf9a1=(0x0,_0xe0fba2['debounce'])(_0x396838=>{this['_resizeChart'](_0x38e0df,_0x396838);},_0x4549e3),this[_0x108e87(0x145)][_0x108e87(0xac)](_0x38e0df,_0x1cf9a1)),_0x1cf9a1(_0x889517);}['handleActiveSubUnitChange'](){const _0x7f8fe2=_0x351b7e;let _0x1661f0=this[_0x7f8fe2(0x460)],_0x385ea1=_0x3bef42=>{const _0x25b696=_0x7f8fe2;if(!_0x1661f0[_0x25b696(0x309)](_0x3bef42)){let _0x29c3ed=(0x0,_0xe0fba2[_0x25b696(0x3dd)])((_0x169b42,_0x1c74fa,_0x41f3ec,_0x995ac1)=>{const _0x49ed8e=_0x25b696;var _0x2108bf,_0x5ba6d1;if(!_0x41f3ec)return;(_0x2108bf=_0x41f3ec[_0x49ed8e(0x254)])==null||_0x2108bf[_0x49ed8e(0x2e6)]['forEach']((_0x1cc678,_0x4ed764)=>{const _0x10ca30=_0x49ed8e;_0x1cc678[_0x10ca30(0x138)]||=this[_0x10ca30(0xf8)]['t']('sheets-chart-ui.common.category')+'\x20'+(_0x4ed764+0x1);}),_0x41f3ec[_0x49ed8e(0x139)]['forEach']((_0x255c33,_0x4286e1)=>{const _0x676e2f=_0x49ed8e;_0x255c33['name']||=this[_0x676e2f(0xf8)]['t'](_0x676e2f(0xce))+'\x20'+(_0x4286e1+0x1);});let _0x13ef5b=this[_0x49ed8e(0x2a7)](_0x169b42,_0x995ac1),_0x8faa3d=(_0x5ba6d1=this[_0x49ed8e(0x115)][_0x49ed8e(0x2a3)](_0xe0fba2[_0x49ed8e(0x282)]['UNIVER_SHEET']))==null?void 0x0:_0x5ba6d1[_0x49ed8e(0x26c)]();(_0x8faa3d==null?void 0x0:_0x8faa3d[_0x49ed8e(0x1a0)]())===_0x1c74fa&&this[_0x49ed8e(0x1e5)](_0x169b42['id'],_0x41f3ec,_0x13ef5b);},0x11);_0x1661f0[_0x25b696(0xac)](_0x3bef42,_0x29c3ed);}return _0x1661f0[_0x25b696(0x1aa)](_0x3bef42);};this[_0x7f8fe2(0x3f2)](this[_0x7f8fe2(0x115)]['focused$'][_0x7f8fe2(0x1b5)](_0x1140bc=>{const _0x2f43fb=_0x7f8fe2;let _0x11ba68=this[_0x2f43fb(0x115)][_0x2f43fb(0x2a3)](_0xe0fba2[_0x2f43fb(0x282)][_0x2f43fb(0x3fd)]);if(_0x1140bc&&_0x11ba68&&_0x11ba68['getUnitId']()===_0x1140bc){var _0x3c14f7;let _0x14b1d8=_0x11ba68[_0x2f43fb(0x26c)]()[_0x2f43fb(0x1a0)]();this[_0x2f43fb(0x430)]&&(this[_0x2f43fb(0x430)][_0x2f43fb(0x12d)]!==_0x1140bc||this['_lastActiveSheet'][_0x2f43fb(0x2b0)]!==_0x14b1d8)&&this[_0x2f43fb(0x294)](this[_0x2f43fb(0x430)][_0x2f43fb(0x12d)],this[_0x2f43fb(0x430)][_0x2f43fb(0x2b0)]),this['_lastActiveSheet']={'unitId':_0x1140bc,'subUnitId':_0x14b1d8};let _0x2e9811=this['_drawingManagerService'][_0x2f43fb(0x328)](_0x1140bc,_0x14b1d8);if(!((_0x3c14f7=this['_renderManagerService'][_0x2f43fb(0x38e)](_0x1140bc))!=null&&_0x3c14f7[_0x2f43fb(0x161)](_0x270231[_0x2f43fb(0xb3)])[_0x2f43fb(0x37e)](_0x14b1d8)))return;if(_0x2e9811)for(let _0x5aab40 in _0x2e9811){let {drawingId:_0x8e0325}=_0x2e9811[_0x5aab40],_0xdea0f7=this[_0x2f43fb(0x9d)][_0x2f43fb(0x96)](_0x8e0325);_0xdea0f7&&_0x385ea1(_0xdea0f7['id'])(_0xdea0f7,_0x14b1d8,_0xdea0f7[_0x2f43fb(0x262)],this[_0x2f43fb(0xf8)][_0x2f43fb(0xd7)]());}}})),this[_0x7f8fe2(0x3f2)](this[_0x7f8fe2(0x280)][_0x7f8fe2(0x454)][_0x7f8fe2(0x1b5)](()=>{const _0x150bd3=_0x7f8fe2;var _0x4edc4a;let _0x29381c=this[_0x150bd3(0x115)][_0x150bd3(0x2a3)](_0xe0fba2[_0x150bd3(0x282)][_0x150bd3(0x3fd)]);if(!_0x29381c)return;let _0x17a0b3=_0x29381c[_0x150bd3(0x367)](),_0x1972c7=_0x29381c['getActiveSheet']()[_0x150bd3(0x1a0)](),_0x2bd439=this[_0x150bd3(0x3ef)]['getDrawingData'](_0x17a0b3,_0x1972c7);if((_0x4edc4a=this[_0x150bd3(0x465)]['getRenderUnitById'](_0x17a0b3))!=null&&_0x4edc4a[_0x150bd3(0x161)](_0x270231[_0x150bd3(0xb3)])['getSkeleton'](_0x1972c7)&&_0x2bd439)for(let _0x2b403f in _0x2bd439){let {drawingId:_0x93d9ce}=_0x2bd439[_0x2b403f],_0x6f7706=this[_0x150bd3(0x9d)][_0x150bd3(0x96)](_0x93d9ce);_0x6f7706&&_0x385ea1(_0x6f7706['id'])(_0x6f7706,_0x1972c7,_0x6f7706[_0x150bd3(0x262)],this[_0x150bd3(0xf8)][_0x150bd3(0xd7)]());}})),this[_0x7f8fe2(0x3f2)](this[_0x7f8fe2(0x3ef)][_0x7f8fe2(0x2db)][_0x7f8fe2(0x1b5)](_0x5088de=>{const _0x441cdc=_0x7f8fe2;_0x5088de[_0x441cdc(0x120)](_0xc781e8=>{const _0x1ef22a=_0x441cdc;var _0x2c475b;let {drawingId:_0x4cd4a5,unitId:_0x270fd2,subUnitId:_0x4dcb16}=_0xc781e8,_0x251311=this[_0x1ef22a(0x465)][_0x1ef22a(0x38e)](_0x270fd2);if((_0x251311==null?void 0x0:_0x251311[_0x1ef22a(0x441)])!==_0xe0fba2[_0x1ef22a(0x282)][_0x1ef22a(0x3fd)]||!_0x251311[_0x1ef22a(0x161)](_0x270231[_0x1ef22a(0xb3)])[_0x1ef22a(0x37e)](_0x4dcb16))return;let {drawingType:_0x46b7cf}=this[_0x1ef22a(0x3ef)]['getDrawingByParam'](_0xc781e8);if(_0x46b7cf!==_0xe0fba2[_0x1ef22a(0x371)]['DRAWING_CHART'])return;let _0x4fc13c=this[_0x1ef22a(0x2f2)]['getFloatDomInfo'](_0x4cd4a5);this[_0x1ef22a(0x105)](_0x4cd4a5);let _0x426fd9=new _0xe0fba2[(_0x1ef22a(0x304))]();this[_0x1ef22a(0x1d4)][_0x1ef22a(0xac)](_0x4cd4a5,_0x426fd9);let _0x1706a7=(_0x4fc13c==null?void 0x0:_0x4fc13c[_0x1ef22a(0x22c)])??_0x4cd4a5,_0x2039db=_0x4fc13c==null?void 0x0:_0x4fc13c['rect'],_0x54e4ee=(_0x2c475b=this['_renderManagerService']['getRenderUnitById'](_0x270fd2))==null?void 0x0:_0x2c475b[_0x1ef22a(0x37b)];if(_0x2039db){let _0x19f8af=new _0x5d1456(_0x2039db,_0x153b57=>{const _0x4a171b=_0x1ef22a;var _0x575885;let _0x3123d1=this[_0x4a171b(0x115)][_0x4a171b(0x2a3)](_0xe0fba2['UniverInstanceType']['UNIVER_SHEET']);if((_0x3123d1==null?void 0x0:_0x3123d1[_0x4a171b(0x367)]())===_0x270fd2&&((_0x575885=_0x3123d1[_0x4a171b(0x26c)]())==null?void 0x0:_0x575885[_0x4a171b(0x1a0)]())===_0x4dcb16&&(this[_0x4a171b(0x1d3)][_0x4a171b(0x40e)](_0x4cd4a5),_0x153b57)){var _0x24be7a;(_0x24be7a=this[_0x4a171b(0x3ab)][_0x4a171b(0x1aa)](_0x4cd4a5))==null||_0x24be7a['resize'](),this[_0x4a171b(0x179)](_0x4cd4a5,{'width':_0x2039db[_0x4a171b(0x2aa)],'height':_0x2039db[_0x4a171b(0x196)]},0x64);}});_0x426fd9[_0x1ef22a(0x3f2)](_0x19f8af),_0x426fd9[_0x1ef22a(0x3f2)](this[_0x1ef22a(0x115)][_0x1ef22a(0xd2)][_0x1ef22a(0x1b5)](()=>_0x19f8af[_0x1ef22a(0x338)]())),_0x54e4ee&&_0x426fd9['disposeWithMe'](_0x54e4ee['getTransformerByCreate']()[_0x1ef22a(0x348)][_0x1ef22a(0x1b5)](({objects:_0x2b1cee})=>{const _0x4b7b2c=_0x1ef22a;if(_0x2b1cee['has'](_0x2039db[_0x4b7b2c(0x3e5)])){var _0x32452b;_0x19f8af['flush'](),(_0x32452b=this[_0x4b7b2c(0x145)]['get'](_0x4cd4a5))==null||_0x32452b['flush']();}}));}_0x54e4ee&&_0x426fd9[_0x1ef22a(0x3f2)](_0x54e4ee['onTransformChange$'][_0x1ef22a(0x21a)](_0x46819b=>{const _0x11771b=_0x1ef22a;var _0x1457fe;_0x46819b['type']===_0x120bdc['TRANSFORM_CHANGE_OBSERVABLE_TYPE'][_0x11771b(0x38c)]&&(_0x1457fe=document[_0x11771b(0x236)](_0x1706a7))!=null&&_0x1457fe['querySelector'](_0x11771b(0x212))&&this[_0x11771b(0x1d3)][_0x11771b(0x40e)](_0x4cd4a5);}));let _0x4da1b2=this['_chartModelService'][_0x1ef22a(0x96)](_0x4cd4a5);_0x4da1b2&&_0x426fd9['disposeWithMe']((0x0,_0x1a141d['combineLatest'])([_0x4da1b2[_0x1ef22a(0x1d0)],_0x4da1b2[_0x1ef22a(0xf9)],this[_0x1ef22a(0xf8)]['direction$']])[_0x1ef22a(0x1b5)](([_0xe8e8ff,_0x599c40,_0x1e7673])=>{_0x385ea1(_0x4da1b2['id'])(_0x4da1b2,_0x4dcb16,_0xe8e8ff,_0x1e7673);}));});})),this['disposeWithMe']((0x0,_0x1a141d[_0x7f8fe2(0xb7)])([this[_0x7f8fe2(0x3ef)][_0x7f8fe2(0x2fc)]])[_0x7f8fe2(0x1b5)](([_0x29c329])=>{_0x29c329['forEach'](_0x525f18=>{const _0x2a0a38=_0x3410;var _0x269327;let {drawingId:_0x3aa8fa}=_0x525f18;this[_0x2a0a38(0x105)](_0x3aa8fa),((_0x269327=this[_0x2a0a38(0x9d)][_0x2a0a38(0x267)])==null?void 0x0:_0x269327['id'])===_0x3aa8fa&&this[_0x2a0a38(0x9d)][_0x2a0a38(0x410)](null),this[_0x2a0a38(0x9b)](_0x3aa8fa),this[_0x2a0a38(0x1d3)][_0x2a0a38(0x317)](_0x3aa8fa),this[_0x2a0a38(0x12f)](_0x3aa8fa),this[_0x2a0a38(0x220)](_0x3aa8fa),this[_0x2a0a38(0x1b2)][_0x2a0a38(0xd6)](_0x3aa8fa),this['_clearChartRuntimeCache'](_0x3aa8fa),this[_0x2a0a38(0x271)][_0x2a0a38(0x437)](_0x3aa8fa),this[_0x2a0a38(0x263)][_0x2a0a38(0x437)](_0x3aa8fa);});}));}['setElementEditMode'](_0x25704c,_0x33ca21){const _0x3cf95c=_0x351b7e;var _0x379bf5;_0x33ca21?this[_0x3cf95c(0x263)][_0x3cf95c(0xac)](_0x25704c,!0x0):this[_0x3cf95c(0x263)][_0x3cf95c(0x437)](_0x25704c),(_0x379bf5=this[_0x3cf95c(0x3ab)][_0x3cf95c(0x1aa)](_0x25704c))==null||_0x379bf5[_0x3cf95c(0x22f)](_0x33ca21);}async[_0x351b7e(0x3db)](_0x51c9fe,_0x4531db){const _0x2cb0fc=_0x351b7e;var _0x1e9465;let _0x19e7ef=this[_0x2cb0fc(0x271)][_0x2cb0fc(0x1aa)](_0x51c9fe),_0x3f93b2=(_0x1e9465=this[_0x2cb0fc(0x2f2)][_0x2cb0fc(0xcb)](_0x51c9fe))==null?void 0x0:_0x1e9465[_0x2cb0fc(0x3ad)];if(_0x19e7ef&&_0x3f93b2)return(await this[_0x2cb0fc(0xb6)]['exportImage']({'chartId':_0x51c9fe,'config':_0x19e7ef[_0x2cb0fc(0x262)],'style':_0x19e7ef[_0x2cb0fc(0x12c)],'width':_0x3f93b2['width'],'height':_0x3f93b2[_0x2cb0fc(0x196)]},_0x4531db))[_0x2cb0fc(0x247)];if((_0x4531db==null?void 0x0:_0x4531db[_0x2cb0fc(0x285)])===_0x4a5d1e['ChartImageExportFormat']['SVG'])return;let _0x557a4e=this[_0x2cb0fc(0x324)](_0x51c9fe);return _0x557a4e?(0x0,_0x4a5d1e[_0x2cb0fc(0xe3)])(_0x557a4e):void 0x0;}['on'](_0x565c90,_0x460d94,_0xae5ffd){const _0x48754f=_0x351b7e;let _0xa3be5e=this[_0x48754f(0x400)]['get'](_0x565c90);_0xa3be5e||(_0xa3be5e=new Map(),this[_0x48754f(0x400)]['set'](_0x565c90,_0xa3be5e));let _0x59cbe9=_0xa3be5e['get'](_0x460d94);_0x59cbe9||(_0x59cbe9=new Set(),_0xa3be5e[_0x48754f(0xac)](_0x460d94,_0x59cbe9)),_0x59cbe9[_0x48754f(0x429)](_0xae5ffd);let _0x3d73a5=this[_0x48754f(0x3ab)][_0x48754f(0x1aa)](_0x565c90);return _0x3d73a5&&this[_0x48754f(0x289)](_0x565c90,_0x3d73a5,_0x460d94,_0xae5ffd),{'dispose':()=>{const _0x101d7f=_0x48754f;var _0x4b5b2d;(_0x4b5b2d=this[_0x101d7f(0x400)]['get'](_0x565c90))==null||(_0x4b5b2d=_0x4b5b2d['get'](_0x460d94))==null||_0x4b5b2d['delete'](_0xae5ffd),this[_0x101d7f(0x2f3)](_0x565c90,_0x460d94,_0xae5ffd);}};}[_0x351b7e(0x324)](_0x24a750){const _0x5efe4d=_0x351b7e;let _0x5a769e=this[_0x5efe4d(0x115)]['getCurrentUnitOfType'](_0xe0fba2[_0x5efe4d(0x282)][_0x5efe4d(0x3fd)]),_0x3ad21c=_0x5a769e==null?void 0x0:_0x5a769e[_0x5efe4d(0x26c)](),_0x583ea3=_0x5a769e==null?void 0x0:_0x5a769e[_0x5efe4d(0x367)](),_0x4bff29=_0x3ad21c==null?void 0x0:_0x3ad21c[_0x5efe4d(0x1a0)]();if(_0x583ea3&&_0x4bff29)return this[_0x5efe4d(0x1b2)][_0x5efe4d(0x1eb)]({'unitId':_0x583ea3,'subUnitId':_0x4bff29,'chartId':_0x24a750});}[_0x351b7e(0x3dc)](_0x6a3e98,_0x1bc357){const _0x35e7a9=_0x351b7e;let _0x1d1d45=this[_0x35e7a9(0x400)][_0x35e7a9(0x1aa)](_0x6a3e98);_0x1d1d45&&_0x1d1d45['forEach']((_0x18705c,_0x5ad764)=>{const _0xcae657=_0x35e7a9;_0x18705c[_0xcae657(0x120)](_0x2ceb19=>this[_0xcae657(0x289)](_0x6a3e98,_0x1bc357,_0x5ad764,_0x2ceb19));});}[_0x351b7e(0x289)](_0x2fc728,_0x31cd95,_0x137074,_0x9d7a1c){const _0x16c528=_0x351b7e;let _0x4746b9=this[_0x16c528(0x240)][_0x16c528(0x1aa)](_0x2fc728);_0x4746b9||(_0x4746b9=new Map(),this[_0x16c528(0x240)][_0x16c528(0xac)](_0x2fc728,_0x4746b9));let _0x405de3=_0x4746b9['get'](_0x137074);_0x405de3||(_0x405de3=new Map(),_0x4746b9[_0x16c528(0xac)](_0x137074,_0x405de3)),!_0x405de3['has'](_0x9d7a1c)&&_0x405de3[_0x16c528(0xac)](_0x9d7a1c,_0x31cd95['on'](_0x137074,_0x9d7a1c));}[_0x351b7e(0x2f3)](_0x300587,_0x2e875e,_0x354cc1){const _0x585749=_0x351b7e;var _0x3ffa54,_0x2cf26e;let _0x2a8403=(_0x3ffa54=this['_chartEventSubscriptions']['get'](_0x300587))==null?void 0x0:_0x3ffa54[_0x585749(0x1aa)](_0x2e875e);_0x2a8403==null||(_0x2cf26e=_0x2a8403['get'](_0x354cc1))==null||_0x2cf26e[_0x585749(0x183)](),_0x2a8403==null||_0x2a8403['delete'](_0x354cc1);}[_0x351b7e(0x9b)](_0xd00970){const _0x2e033d=_0x351b7e;let _0x262e62=this[_0x2e033d(0x240)]['get'](_0xd00970);_0x262e62==null||_0x262e62['forEach'](_0x19408c=>{const _0x1b12bb=_0x2e033d;_0x19408c[_0x1b12bb(0x120)](_0x26355f=>_0x26355f[_0x1b12bb(0x183)]()),_0x19408c[_0x1b12bb(0x3c3)]();}),this[_0x2e033d(0x240)][_0x2e033d(0x437)](_0xd00970);}[_0x351b7e(0x2a7)](_0x55f0d5,_0x434398){const _0xde470c=_0x351b7e;return _0x371a1c(_0x55f0d5,_0x434398,this[_0xde470c(0x1de)]);}['checkChartCanRender'](_0x3e02a4){const _0x30e344=_0x351b7e;return this[_0x30e344(0x471)](_0x3e02a4)==null;}['_getChartRenderSkipReason'](_0x4bd57f){const _0x237af1=_0x351b7e;var _0x584a44;let _0x34b414=this[_0x237af1(0x2f2)][_0x237af1(0xcb)](_0x4bd57f);if(!_0x34b414)return _0x237af1(0x9a);let {subUnitId:_0x289af6}=_0x34b414,_0x4baf5e=(_0x584a44=this[_0x237af1(0x115)][_0x237af1(0x2a3)](_0xe0fba2['UniverInstanceType'][_0x237af1(0x3fd)]))==null?void 0x0:_0x584a44[_0x237af1(0x26c)]();if(!_0x4baf5e)return'missing-active-sheet';if(_0x4baf5e['getSheetId']()!==_0x289af6)return _0x237af1(0x265);}async[_0x351b7e(0x1e5)](_0x2a2c71,_0x136135,_0x4f8b3e,_0x42bb18={}){const _0x390fdc=_0x351b7e;let _0x2ba08c=this['_renderModelManager'][_0x390fdc(0x234)](_0x4a5d1e['EChartRenderEngineName']);if(!_0x2ba08c)return;let _0x517398=this['_lastRenderInputMap'][_0x390fdc(0x1aa)](_0x2a2c71);if(this['_lastRenderInputMap'][_0x390fdc(0xac)](_0x2a2c71,{'config':_0x136135,'style':_0x4f8b3e}),this[_0x390fdc(0x471)](_0x2a2c71))return;let {canAnimate:_0x4e19b3,renderMode:_0xd96022,shouldStartTransientAnimation:_0x22207b,transientAnimationActive:_0x1f7683}=this[_0x390fdc(0x3c1)](_0x2a2c71,_0x517398!=null,_0x42bb18[_0x390fdc(0x3b6)]===!0x0);if(_0xd96022===_0x4a5d1e[_0x390fdc(0x31c)][_0x390fdc(0x41e)])this[_0x390fdc(0x46f)](_0x2a2c71);else{var _0xa467a;this['_chartHostProvider'][_0x390fdc(0x1c6)](_0x2a2c71),((_0xa467a=this[_0x390fdc(0x9d)][_0x390fdc(0x267)])==null?void 0x0:_0xa467a['id'])===_0x2a2c71&&this['_applyActiveChartRuntimeZIndex'](_0x2a2c71);}let _0x3ab934=_0xd96022===_0x4a5d1e['ChartRenderMode'][_0x390fdc(0x41e)]?_0x4a5d1e[_0x390fdc(0x31c)][_0x390fdc(0x41e)]:_0x4a5d1e[_0x390fdc(0x31c)]['Dom'],_0x3ea98a=await this[_0x390fdc(0x1d3)]['ensureHost'](_0x2a2c71,_0x3ab934);if(!_0x3ea98a){_0x22207b&&this[_0x390fdc(0x40a)](_0x2a2c71);return;}this[_0x390fdc(0x1d3)][_0x390fdc(0x3ca)](_0x2a2c71,_0x1f7683?_0x4a5d1e[_0x390fdc(0x2d9)]:null);let _0x5bcefd=this[_0x390fdc(0x385)](_0x2a2c71,_0x3ab934,_0x2ba08c);_0x5bcefd[_0x390fdc(0x276)](_0x3ea98a);try{let _0x21ecb4={'chartId':_0x2a2c71,'config':_0x136135,'style':_0x4f8b3e};_0x4e19b3&&_0x517398&&_0x5bcefd[_0x390fdc(0x35f)]?await _0x5bcefd[_0x390fdc(0x35f)]({'chartId':_0x2a2c71,'config':_0x517398[_0x390fdc(0x262)],'style':_0x517398[_0x390fdc(0x12c)]},_0x21ecb4,{'duration':_0x4a5d1e[_0x390fdc(0x2d9)]}):await _0x5bcefd[_0x390fdc(0x1e5)](_0x21ecb4),await this[_0x390fdc(0xb5)](_0x2a2c71,_0xd96022,_0x5bcefd),_0x4e19b3&&_0x1f7683&&this[_0x390fdc(0x2be)](_0x2a2c71);}catch(_0x194b0c){if(_0x22207b&&this[_0x390fdc(0x40a)](_0x2a2c71),_0xd96022!==_0x4a5d1e[_0x390fdc(0x31c)][_0x390fdc(0x41e)])throw _0x194b0c;}}async[_0x351b7e(0xb5)](_0x4c922f,_0x325dc3,_0x35b94e){const _0x35e144=_0x351b7e;var _0x3e57a1;if(_0x325dc3!==_0x4a5d1e['ChartRenderMode'][_0x35e144(0x2ba)]||((_0x3e57a1=this['_chartModelService']['activeChartModel'])==null?void 0x0:_0x3e57a1['id'])!==_0x4c922f)return;let _0x1e3c2c=await this[_0x35e144(0x1d3)][_0x35e144(0x3d2)](_0x4c922f,_0x4a5d1e[_0x35e144(0x31c)]['Image']);if(!_0x1e3c2c)return;let _0x46a500=_0x1e3c2c[_0x35e144(0x246)]();try{let _0x25d6a0=await _0x35b94e[_0x35e144(0x379)]();_0x25d6a0&&_0x1e3c2c['commitSnapshot']({'type':_0x4a5d1e['ChartImageSourceType'][_0x35e144(0x2d2)],'url':_0x25d6a0},_0x46a500)&&_0x1e3c2c['requestPaint']();}catch{}}[_0x351b7e(0x3c1)](_0x4a63fa,_0x428aca,_0x3788d4){const _0x36ccfa=_0x351b7e;let _0x1ee1a7=this[_0x36ccfa(0x1e6)](_0x4a63fa),_0x15d0f9=_0x1ee1a7===_0x4a5d1e[_0x36ccfa(0x31c)][_0x36ccfa(0x2ba)]&&_0x3788d4&&_0x428aca&&this[_0x36ccfa(0x1bc)](_0x4a63fa),_0x3d0dfd=this[_0x36ccfa(0xaf)][_0x36ccfa(0x309)](_0x4a63fa);return{'canAnimate':_0x15d0f9,'renderMode':_0x3d0dfd?_0x4a5d1e['ChartRenderMode'][_0x36ccfa(0x2ba)]:_0x1ee1a7,'shouldStartTransientAnimation':!0x1,'transientAnimationActive':_0x3d0dfd};}[_0x351b7e(0x1bc)](_0x2ffebb){const _0x19554f=_0x351b7e;var _0x2bd950,_0x4183ef,_0x180230,_0x2a0638;if(typeof document>'u'||typeof window>'u'||document[_0x19554f(0x323)]===_0x19554f(0x19c)||(_0x2bd950=(_0x4183ef=window)[_0x19554f(0x2c2)])!=null&&(_0x2bd950=_0x2bd950[_0x19554f(0x406)](_0x4183ef,_0x19554f(0x474)))!=null&&_0x2bd950[_0x19554f(0x449)]||(_0x180230=(_0x2a0638=window)[_0x19554f(0x2c2)])!=null&&(_0x180230=_0x180230[_0x19554f(0x406)](_0x2a0638,_0x19554f(0x1d1)))!=null&&_0x180230[_0x19554f(0x449)])return!0x1;let _0x3f6131=this[_0x19554f(0x1d3)][_0x19554f(0xa1)](_0x2ffebb);return _0x3f6131!=null&&_0x3f6131[_0x19554f(0x2aa)]>0x0&&_0x3f6131[_0x19554f(0x196)]>0x0&&_0x3f6131[_0x19554f(0x19a)]>0x0&&_0x3f6131[_0x19554f(0x2c9)]>0x0&&_0x3f6131[_0x19554f(0x150)]<window[_0x19554f(0x260)]&&_0x3f6131['top']<window[_0x19554f(0x20a)];}[_0x351b7e(0x453)](_0x4a5f20){const _0x4067e3=_0x351b7e;let _0x33c97d=this[_0x4067e3(0xa8)][_0x4067e3(0x1aa)](_0x4a5f20);_0x33c97d&&(clearTimeout(_0x33c97d),this[_0x4067e3(0xa8)][_0x4067e3(0x437)](_0x4a5f20)),this[_0x4067e3(0xaf)][_0x4067e3(0x429)](_0x4a5f20),this[_0x4067e3(0x1d3)][_0x4067e3(0x3ca)](_0x4a5f20,_0x4a5d1e['CHART_DATA_UPDATE_ANIMATION_DURATION']);}[_0x351b7e(0x2be)](_0x3ee847){const _0x3269d1=_0x351b7e;let _0x3b1ef0=this[_0x3269d1(0xa8)][_0x3269d1(0x1aa)](_0x3ee847);_0x3b1ef0&&clearTimeout(_0x3b1ef0);let _0x236dd6=setTimeout(()=>{const _0x353019=_0x3269d1;this[_0x353019(0xa8)][_0x353019(0x437)](_0x3ee847),this[_0x353019(0xaf)][_0x353019(0x437)](_0x3ee847)&&(this[_0x353019(0x1d3)][_0x353019(0x3ca)](_0x3ee847,null),this[_0x353019(0x46f)](_0x3ee847),this[_0x353019(0x1a2)](_0x3ee847));},_0x4a5d1e[_0x3269d1(0x2d9)]);this[_0x3269d1(0xa8)][_0x3269d1(0xac)](_0x3ee847,_0x236dd6);}[_0x351b7e(0x40a)](_0x1bfae8){const _0x16f180=_0x351b7e;let _0x14e863=this[_0x16f180(0xa8)]['get'](_0x1bfae8);_0x14e863&&(clearTimeout(_0x14e863),this[_0x16f180(0xa8)][_0x16f180(0x437)](_0x1bfae8)),this['_dataUpdateAnimationChartIds']['delete'](_0x1bfae8),this['_chartHostProvider']['setDataUpdateAnimation'](_0x1bfae8,null);}async[_0x351b7e(0x1e7)](_0x4d170b,_0xad045e,_0x564114){const _0x2df7dc=_0x351b7e;let _0x3b2ca1=this[_0x2df7dc(0x3ef)][_0x2df7dc(0x328)](_0x4d170b,_0xad045e),_0x5ab6a6=this[_0x2df7dc(0x3ef)]['getDrawingOrder'](_0x4d170b,_0xad045e),_0x446240=Object['values'](_0x3b2ca1??{})[_0x2df7dc(0x286)](_0x1ceab0=>_0x1ceab0['drawingType']===_0xe0fba2[_0x2df7dc(0x371)][_0x2df7dc(0x1af)]&&_0x1ceab0[_0x2df7dc(0x19c)]!==!0x0);await Promise[_0x2df7dc(0x342)](_0x446240[_0x2df7dc(0xfc)](async _0x3e389a=>{const _0x565fce=_0x2df7dc;let _0x4d8499=await this[_0x565fce(0x186)](_0x3e389a,_0x5ab6a6);_0x4d8499&&(_0x564114[_0x565fce(0xd9)](_0x4d8499,_0x120bdc['DRAWING_OBJECT_LAYER_INDEX']),_0x3e389a[_0x565fce(0x3a4)]&&(0x0,_0x3a7d4d['insertGroupObject'])({'drawingId':_0x3e389a[_0x565fce(0x3a4)],'unitId':_0x4d170b,'subUnitId':_0xad045e},_0x4d8499,_0x564114,this['_drawingManagerService']));}));}async[_0x351b7e(0x186)](_0x4df914,_0x39f9fa){const _0x2c478c=_0x351b7e;let _0x193033=this[_0x2c478c(0x9d)][_0x2c478c(0x96)](_0x4df914[_0x2c478c(0xa3)]),_0x4279b9=this[_0x2c478c(0xb6)]['getRenderModel'](_0x4a5d1e[_0x2c478c(0xc0)]),_0x16d83e=_0x4df914[_0x2c478c(0x399)],_0x12aed2=_0x193033==null?void 0x0:_0x193033[_0x2c478c(0x262)];if(!_0x193033||!_0x4279b9||!_0x16d83e||!_0x12aed2||_0x16d83e[_0x2c478c(0x2aa)]==null||_0x16d83e[_0x2c478c(0x196)]==null)return null;let _0x5b1b0a=new _0x34a8a7(_0x4df914[_0x2c478c(0xa3)],{'width':_0x16d83e[_0x2c478c(0x2aa)],'height':_0x16d83e['height']}),_0x1dc255=_0x4279b9[_0x2c478c(0xbc)](_0x4a5d1e[_0x2c478c(0x31c)][_0x2c478c(0x41e)],this[_0x2c478c(0x176)]());_0x1dc255[_0x2c478c(0x276)](_0x5b1b0a);let _0xdab1d4;try{await _0x1dc255[_0x2c478c(0x1e5)]({'chartId':_0x4df914[_0x2c478c(0xa3)],'config':_0x12aed2,'style':this[_0x2c478c(0x2a7)](_0x193033,this[_0x2c478c(0xf8)][_0x2c478c(0xd7)]())});}catch(_0x19797d){console[_0x2c478c(0x1b9)](_0x2c478c(0x3f8),_0x19797d);}finally{_0xdab1d4=_0x5b1b0a['takeSnapshot'](),_0x1dc255[_0x2c478c(0x183)](),_0x5b1b0a['dispose']();}let _0x49e55e=this[_0x2c478c(0x1b2)][_0x2c478c(0x1eb)]({'unitId':_0x4df914[_0x2c478c(0x12d)],'subUnitId':_0x4df914[_0x2c478c(0x2b0)],'chartId':_0x4df914[_0x2c478c(0xa3)]}),_0x198360=_0xdab1d4??_0x49e55e;if(!_0x198360)return null;let _0x586549=_0x39f9fa['indexOf'](_0x4df914[_0x2c478c(0xa3)]);return new _0x582d7a((0x0,_0x3543bc[_0x2c478c(0x469)])(_0x4df914),{..._0x16d83e,..._0x102b65[_0x2c478c(0x45e)],..._0x4da893(_0x5b1b0a[_0x2c478c(0x12c)]),'visible':!0x0,'zIndex':_0x586549===-0x1?Math[_0x2c478c(0xdb)](_0x39f9fa['length']-0x1,0x0):_0x586549},()=>_0x198360,void 0x0,_0xdab1d4?()=>_0x20324d(_0xdab1d4):void 0x0);}['_getOrCreateChartRenderInstance'](_0x171d0b,_0xd83db5,_0x400be2){const _0x2ce32d=_0x351b7e;let _0x2a8413=this[_0x2ce32d(0x3ab)]['get'](_0x171d0b);if((_0x2a8413==null?void 0x0:_0x2a8413['mode'])===_0xd83db5)return _0x2a8413;_0x2a8413&&(this['_disposeChartEventSubscriptions'](_0x171d0b),_0x2a8413[_0x2ce32d(0x183)](),this[_0x2ce32d(0x3ab)]['delete'](_0x171d0b));let _0x189ab0=_0x400be2[_0x2ce32d(0xbc)](_0xd83db5,this[_0x2ce32d(0x176)]());return this[_0x2ce32d(0x3ab)][_0x2ce32d(0xac)](_0x171d0b,_0x189ab0),_0x189ab0[_0x2ce32d(0x22f)](this[_0x2ce32d(0x263)][_0x2ce32d(0x1aa)](_0x171d0b)===!0x0),this[_0x2ce32d(0x3dc)](_0x171d0b,_0x189ab0),_0x189ab0;}['_createChartRenderInstanceContext'](){const _0x43e9a7=_0x351b7e;return{'resolveHostStyle':({style:_0x1cf53d})=>(0x0,_0x4a5d1e[_0x43e9a7(0x333)])({'style':_0x1cf53d,'getRenderColor':_0x24a07a=>this[_0x43e9a7(0x156)][_0x43e9a7(0x315)](_0x24a07a)}),'resolveRenderBackgroundColor':({style:_0x18eb65})=>this['_chartThemeService'][_0x43e9a7(0x315)]((0x0,_0x4a5d1e[_0x43e9a7(0xae)])(_0x18eb65))};}[_0x351b7e(0x105)](_0x45c9f6){const _0x422bf4=_0x351b7e;var _0x5de00e,_0x12edf9,_0x46bfc8;(_0x5de00e=this['_chartChangeSubscriptions'][_0x422bf4(0x1aa)](_0x45c9f6))==null||_0x5de00e[_0x422bf4(0x183)](),this[_0x422bf4(0x1d4)][_0x422bf4(0x437)](_0x45c9f6),(_0x12edf9=this[_0x422bf4(0x460)]['get'](_0x45c9f6))==null||_0x12edf9[_0x422bf4(0x321)](),this[_0x422bf4(0x460)][_0x422bf4(0x437)](_0x45c9f6),(_0x46bfc8=this[_0x422bf4(0x145)][_0x422bf4(0x1aa)](_0x45c9f6))==null||_0x46bfc8[_0x422bf4(0x321)](),this[_0x422bf4(0x145)][_0x422bf4(0x437)](_0x45c9f6);}['_cancelDebouncedCallbacks'](){const _0x5a6890=_0x351b7e;this[_0x5a6890(0x460)][_0x5a6890(0x120)](_0xc1563d=>_0xc1563d[_0x5a6890(0x321)]()),this[_0x5a6890(0x460)]['clear'](),this[_0x5a6890(0x145)][_0x5a6890(0x120)](_0x157701=>_0x157701[_0x5a6890(0x321)]()),this[_0x5a6890(0x145)][_0x5a6890(0x3c3)]();}[_0x351b7e(0x183)](){const _0x1ef51a=_0x351b7e;this['_chartChangeSubscriptions'][_0x1ef51a(0x120)](_0x33291f=>_0x33291f[_0x1ef51a(0x183)]()),this[_0x1ef51a(0x1d4)][_0x1ef51a(0x3c3)](),this[_0x1ef51a(0xa8)][_0x1ef51a(0x120)](_0x5f4262=>clearTimeout(_0x5f4262)),this['_dataUpdateAnimationTimers'][_0x1ef51a(0x3c3)](),this[_0x1ef51a(0xaf)][_0x1ef51a(0x3c3)](),Array['from'](this[_0x1ef51a(0x3ab)][_0x1ef51a(0xc8)]())[_0x1ef51a(0x120)](_0x4cfe61=>this['_disposeChartRenderInstance'](_0x4cfe61)),this['_chartEventHandlers'][_0x1ef51a(0x3c3)](),this[_0x1ef51a(0x263)]['clear'](),this[_0x1ef51a(0x375)](),this[_0x1ef51a(0x271)][_0x1ef51a(0x3c3)](),this[_0x1ef51a(0x1d8)]=null,this[_0x1ef51a(0x430)]=null,super[_0x1ef51a(0x183)]();}};_0x591b5a=_0x5a0cd2([_0x40aea1(0x0,_0x57a861),_0x40aea1(0x1,(0x0,_0xe0fba2['Inject'])(_0x102b65[_0x351b7e(0x30d)])),_0x40aea1(0x2,(0x0,_0xe0fba2[_0x351b7e(0x2f8)])(_0x201ec2[_0x351b7e(0x3bd)])),_0x40aea1(0x3,_0x3543bc[_0x351b7e(0x101)]),_0x40aea1(0x4,_0xe0fba2[_0x351b7e(0x238)]),_0x40aea1(0x5,(0x0,_0xe0fba2[_0x351b7e(0x2f8)])(_0x120bdc[_0x351b7e(0x1d7)])),_0x40aea1(0x6,(0x0,_0xe0fba2['Inject'])(_0xe0fba2[_0x351b7e(0x3f9)])),_0x40aea1(0x7,(0x0,_0xe0fba2['Inject'])(_0xe0fba2[_0x351b7e(0x44b)])),_0x40aea1(0x8,(0x0,_0xe0fba2[_0x351b7e(0x2f8)])(_0x4a5d1e[_0x351b7e(0x3d0)])),_0x40aea1(0x9,(0x0,_0xe0fba2[_0x351b7e(0x2f8)])(_0xe0fba2[_0x351b7e(0x3bc)])),_0x40aea1(0xa,_0xe0fba2[_0x351b7e(0x42c)]),_0x40aea1(0xb,(0x0,_0xe0fba2['Inject'])(_0x5736e0)),_0x40aea1(0xc,_0x4a5d1e['IChartRenderModelManagerService'])],_0x591b5a);let _0x5d8988=(0x0,_0xe0fba2['createIdentifier'])(_0x351b7e(0x3f0)),_0x434bb3=class extends _0x1e42e6[_0x351b7e(0x435)]{constructor(_0x845f51,_0x2caf87,_0xfb7600,_0x3ea9d2,_0x575c4e){const _0x14c859=_0x351b7e;super(_0x575c4e),this['_chartModelService']=_0x845f51,this['_sheetsChartService']=_0x2caf87,this[_0x14c859(0x2d4)]=_0xfb7600,this[_0x14c859(0x115)]=_0x3ea9d2,_0x2d50c7(this,_0x14c859(0x3ff),!0x1),_0x2d50c7(this,_0x14c859(0x426),new _0x1a141d['BehaviorSubject'](!0x1)),_0x2d50c7(this,_0x14c859(0x41f),new _0x1a141d[(_0x14c859(0x197))](null)),_0x2d50c7(this,_0x14c859(0x32b),this[_0x14c859(0x426)][_0x14c859(0x3fb)]()),_0x2d50c7(this,_0x14c859(0x424),this['_panelRoute$'][_0x14c859(0x3fb)]());}get[_0x351b7e(0x369)](){const _0x764ab2=_0x351b7e;return this[_0x764ab2(0x9d)]['activeChartModel']??null;}get[_0x351b7e(0x215)](){const _0x3e261d=_0x351b7e;return this['_chartEditorOpen$'][_0x3e261d(0x3ec)]();}get['rangeSelectMode'](){return this['_rangeSelectMode'];}[_0x351b7e(0x35a)](_0x432c06){const _0x1ad0b4=_0x351b7e;this[_0x1ad0b4(0x3ff)]=_0x432c06;}[_0x351b7e(0x284)](_0xff8c52){const _0x24c1dd=_0x351b7e;this[_0x24c1dd(0x426)][_0x24c1dd(0x3ec)]()!==_0xff8c52&&this['_chartEditorOpen$'][_0x24c1dd(0xf2)](_0xff8c52);}[_0x351b7e(0xbd)](_0x12a64b){const _0x23059f=_0x351b7e;var _0xf18d4b;return this[_0x23059f(0x215)]&&((_0xf18d4b=this[_0x23059f(0x9d)][_0x23059f(0x267)])==null?void 0x0:_0xf18d4b['id'])===_0x12a64b;}[_0x351b7e(0x217)](_0x25e29f,_0x78b35f){const _0x47317d=_0x351b7e;this[_0x47317d(0x41f)]['next']({'chartId':_0x25e29f,'route':_0x78b35f});}[_0x351b7e(0x2fb)](){const _0x37cfa6=_0x351b7e;this[_0x37cfa6(0x41f)][_0x37cfa6(0xf2)](null);}[_0x351b7e(0x106)](_0x4d7657){const _0x23c3f1=_0x351b7e;let _0x2d7eca=this['_chartModelService'][_0x23c3f1(0x267)];_0x2d7eca&&this['_executeChartUpdateSourceConfig']({'chartModelId':_0x2d7eca['id'],'range':_0x4d7657});}[_0x351b7e(0xeb)](_0x479931){const _0x25c19b=_0x351b7e;let _0x5621b6=this[_0x25c19b(0x9d)][_0x25c19b(0x267)];if(!_0x5621b6)return;let _0x3644c1=this[_0x25c19b(0x3b1)][_0x25c19b(0x29a)](_0x5621b6['id']);if(!_0x3644c1||Array[_0x25c19b(0xde)](_0x3644c1))return;let _0x361265={..._0x3644c1,'isRowDirection':_0x479931===_0x4a5d1e[_0x25c19b(0x38a)]['Row']};this[_0x25c19b(0x1c1)]({'chartModelId':_0x5621b6['id'],'range':_0x361265});}[_0x351b7e(0x27f)](_0x1600a7){const _0x1c7449=_0x351b7e;var _0xfaf54d;this['_commandService'][_0x1c7449(0x463)](_0x201ec2[_0x1c7449(0x398)]['id'],{..._0x1600a7,'unitId':((_0xfaf54d=this[_0x1c7449(0x115)]['getFocusedUnit']())==null?void 0x0:_0xfaf54d[_0x1c7449(0x367)]())??''});}['_executeChartUpdateSourceConfig'](_0x53ab3d){const _0x52e9dc=_0x351b7e;var _0x21bc78;this[_0x52e9dc(0x2d4)]['executeCommand'](_0x201ec2['ChartUpdateSourceCommand']['id'],{..._0x53ab3d,'unitId':((_0x21bc78=this['_univerInstanceService']['getFocusedUnit']())==null?void 0x0:_0x21bc78[_0x52e9dc(0x367)]())??''});}[_0x351b7e(0x183)](){const _0x5deab8=_0x351b7e;this[_0x5deab8(0x426)]['complete'](),this[_0x5deab8(0x41f)][_0x5deab8(0x1f7)](),super[_0x5deab8(0x183)]();}};_0x434bb3=_0x5a0cd2([_0x40aea1(0x0,(0x0,_0xe0fba2[_0x351b7e(0x2f8)])(_0x201ec2['ChartModelService'])),_0x40aea1(0x1,(0x0,_0xe0fba2[_0x351b7e(0x2f8)])(_0x201ec2[_0x351b7e(0x36a)])),_0x40aea1(0x2,_0xe0fba2[_0x351b7e(0x370)]),_0x40aea1(0x3,_0xe0fba2[_0x351b7e(0x238)]),_0x40aea1(0x4,(0x0,_0xe0fba2['Inject'])(_0x1e42e6[_0x351b7e(0x124)]))],_0x434bb3);var _0x5d7bff;let _0x54e319={'axis':{..._0x1e42e6[_0x351b7e(0xa2)],'primaryGridLineVisible':!0x1,'secondaryGridLineVisible':!0x0},'funnel':_0x1e42e6[_0x351b7e(0x1c5)],'heatmap':_0x1e42e6['DEFAULT_CHART_HEATMAP_VALUES'],'indicatorLine':_0x1e42e6[_0x351b7e(0x3e3)],'legend':_0x1e42e6[_0x351b7e(0x133)],'lineAndArea':_0x1e42e6[_0x351b7e(0x1f6)],'pareto':_0x1e42e6[_0x351b7e(0x395)],'pie':_0x1e42e6[_0x351b7e(0x1e8)],'relation':{..._0x1e42e6[_0x351b7e(0x3be)],'useValueAsSymbolSize':!0x0},'radar':_0x1e42e6['DEFAULT_CHART_RADAR_VALUES'],'series':{..._0x1e42e6[_0x351b7e(0x3da)],'radarFillOpacity':0.2,'rightAxis':{'ltr':!0x1,'rtl':((_0x5d7bff=_0x4a5d1e['RTLChartStyle'][_0x351b7e(0xff)])==null?void 0x0:_0x5d7bff['rightYAxis'])??!0x1}},'style':_0x1e42e6['DEFAULT_CHART_STYLE_VALUES'],'titles':_0x1e42e6['DEFAULT_CHART_TITLE_VALUES'],'trendline':_0x1e42e6[_0x351b7e(0x341)],'waterfallStyle':_0x1e42e6['DEFAULT_CHART_WATERFALL_STYLE_VALUES'],'wordCloud':_0x1e42e6[_0x351b7e(0x3e7)]},_0x1f6281=_0x20e9a9=>_0x20e9a9[_0x351b7e(0x2a3)](_0xe0fba2[_0x351b7e(0x282)][_0x351b7e(0x3fd)])['getUnitId'](),_0x1d8c70=_0x575719=>{const _0x1f9ae7=_0x351b7e;var _0x4c92d4;return(_0x4c92d4=_0x575719[_0x1f9ae7(0x2a3)](_0xe0fba2[_0x1f9ae7(0x282)]['UNIVER_SHEET'])[_0x1f9ae7(0x26c)]())==null?void 0x0:_0x4c92d4['getSheetId']();},_0xa29d2c=()=>{const _0x46aa32=_0x351b7e;var _0x4413f5;let _0x1d0545=(0x0,_0x4fef69['useDependency'])(_0x5d8988),_0x152d93=(0x0,_0x4fef69[_0x46aa32(0x2dc)])(_0x201ec2[_0x46aa32(0x3bd)]),_0x31ffb2=(0x0,_0x4fef69[_0x46aa32(0x2dc)])(_0xe0fba2[_0x46aa32(0x3f9)]),_0x2713b3=(0x0,_0x4fef69['useDependency'])(_0xe0fba2[_0x46aa32(0x44b)]),_0x1696c1=(0x0,_0x201ec2[_0x46aa32(0x155)])(_0x2713b3),_0x4eef32=(0x0,_0xd79b15['useMemo'])(()=>{const _0x5ad92f=_0x46aa32;let _0xcd83a1=_0x446ceb(_0x32093c[_0x5ad92f(0x10d)](),_0x1696c1);return(0x0,_0x1e42e6[_0x5ad92f(0x272)])(_0xcd83a1[_0x5ad92f(0xfc)](_0xf01f88=>({'id':_0xf01f88['id'],'label':_0x31ffb2['t'](_0x5ad92f(0x144)+_0xf01f88[_0x5ad92f(0x1ed)]),'pieSecondaryPlotType':_0xf01f88[_0x5ad92f(0x159)],'value':_0xf01f88['value']})));},[_0x1696c1,_0x31ffb2]),_0x2acbce=(0x0,_0x4fef69[_0x46aa32(0x1e3)])(_0x152d93[_0x46aa32(0x1a8)],_0x152d93[_0x46aa32(0x267)]),_0x34de58=(0x0,_0x4fef69['useObservable'])(_0x2acbce==null?void 0x0:_0x2acbce[_0x46aa32(0x357)],_0x2acbce==null?void 0x0:_0x2acbce[_0x46aa32(0x1be)]),_0x31b1d2=(0x0,_0x4fef69[_0x46aa32(0x1e3)])(_0x2acbce==null?void 0x0:_0x2acbce['dataSource$'],_0x2acbce==null?void 0x0:_0x2acbce[_0x46aa32(0x349)]),_0x5298cf=(0x0,_0x4fef69[_0x46aa32(0x1e3)])(_0x31b1d2==null?void 0x0:_0x31b1d2[_0x46aa32(0x1d9)],_0x31b1d2==null?void 0x0:_0x31b1d2[_0x46aa32(0x283)]()),_0x15d06c=Array[_0x46aa32(0xde)](_0x5298cf),_0x33be7a=_0x5298cf&&!_0x15d06c&&_0x5298cf[_0x46aa32(0x14a)]?_0x4a5d1e['DataOrientation'][_0x46aa32(0x21f)]:_0x4a5d1e[_0x46aa32(0x38a)][_0x46aa32(0x201)],_0x10e1e5=_0x15d06c?(_0x4413f5=_0x5298cf[0x0])==null?void 0x0:_0x4413f5[_0x46aa32(0x2e1)]:_0x5298cf==null?void 0x0:_0x5298cf[_0x46aa32(0x255)];return(0x0,_0xc43640[_0x46aa32(0x1ea)])(_0x46aa32(0x264),{'className':'univer-flex\x20univer-flex-col\x20univer-gap-3\x20univer-pb-5','children':[(0x0,_0xc43640[_0x46aa32(0x3aa)])(_0x1e42e6[_0x46aa32(0x29e)],{'chartTypeOptions':_0x4eef32,'dataSourceControl':(0x0,_0xc43640[_0x46aa32(0x3aa)])(_0x52fec3,{'dataRange':_0x5298cf,'primaryRange':_0x10e1e5}),'categoryToggleLabel':_0x31ffb2['t'](_0x46aa32(0x170),_0x33be7a===_0x4a5d1e['DataOrientation'][_0x46aa32(0x21f)]?_0x33be7a+'\x20'+(((_0x10e1e5==null?void 0x0:_0x10e1e5['range'][_0x46aa32(0x171)])??0x0)+0x1):_0x33be7a+'\x20'+(0x0,_0xe0fba2[_0x46aa32(0x140)])((_0x10e1e5==null?void 0x0:_0x10e1e5[_0x46aa32(0x2e1)][_0x46aa32(0x1da)])??0x0)),'orientationControl':_0x15d06c?void 0x0:(0x0,_0xc43640[_0x46aa32(0x3aa)])(_0x5c25d9[_0x46aa32(0x1dd)],{'size':_0x46aa32(0x364),'onClick':()=>_0x1d0545['setOrientation'](_0x33be7a===_0x4a5d1e[_0x46aa32(0x38a)][_0x46aa32(0x21f)]?_0x4a5d1e['DataOrientation']['Column']:_0x4a5d1e[_0x46aa32(0x38a)][_0x46aa32(0x21f)]),'children':_0x31ffb2['t'](_0x46aa32(0x279))})}),(0x0,_0xc43640[_0x46aa32(0x3aa)])(_0x5c25d9[_0x46aa32(0x466)],{'checked':(_0x34de58==null?void 0x0:_0x34de58[_0x46aa32(0x107)])===!0x1,'disabled':!_0x2acbce,'onChange':_0x345c8e=>{const _0x1d1b47=_0x46aa32;_0x2acbce&&_0x1d0545[_0x1d1b47(0x27f)]({'chartModelId':_0x2acbce['id'],'context':{'plotVisibleOnly':!_0x345c8e}});},'children':_0x31ffb2['t']('sheets-chart-ui.common.showHiddenData')})]});};function _0x52fec3(_0x10e3c1){const _0x29a219=_0x351b7e;let {dataRange:_0x2e3fc9,primaryRange:_0x35756a}=_0x10e3c1,_0x3bd853=(0x0,_0x4fef69['useDependency'])(_0x5d8988),_0x2357ca=(0x0,_0x4fef69[_0x29a219(0x2dc)])(_0xe0fba2[_0x29a219(0x3f9)]),_0x35abed=(0x0,_0x4fef69[_0x29a219(0x2dc)])(_0xe0fba2[_0x29a219(0x238)]),_0x43269f=(0x0,_0x4fef69['useDependency'])(_0xe0fba2[_0x29a219(0x19d)]),[_0x7710dd,_0x378a63]=(0x0,_0xd79b15[_0x29a219(0x14d)])(!0x1),[_0x46dc06,_0x394cd7]=(0x0,_0xd79b15[_0x29a219(0x14d)])(!0x1),[_0x1d75cb,_0x23f1e3]=(0x0,_0xd79b15[_0x29a219(0x14d)])(),_0x20f6ae=_0x1f6281(_0x35abed),_0x121a52=_0x1d8c70(_0x35abed),_0x410f09=_0x2e3fc9?_0x32dc36(_0x2e3fc9,_0x35abed):'',_0x47cf36=(0x0,_0xd79b15[_0x29a219(0xe1)])(_0x410f09),_0x4e7efa=(0x0,_0xd79b15[_0x29a219(0xe1)])(void 0x0),_0x84e032=(0x0,_0xd79b15[_0x29a219(0xe1)])(null);(0x0,_0xd79b15[_0x29a219(0xf4)])(()=>{const _0x7b6736=_0x29a219;_0x3bd853['setRangeSelectMode'](_0x7710dd),_0x43269f[_0x7b6736(0x103)](_0xe0fba2[_0x7b6736(0x14f)],_0x7710dd);},[_0x43269f,_0x7710dd,_0x3bd853]),(0x0,_0xd79b15[_0x29a219(0xf4)])(()=>()=>{const _0x3d1d82=_0x29a219;_0x3bd853[_0x3d1d82(0x35a)](!0x1),_0x43269f[_0x3d1d82(0x103)](_0xe0fba2[_0x3d1d82(0x14f)],!0x1);},[_0x43269f,_0x3bd853]);let _0x18ba2e=(0x0,_0xd79b15[_0x29a219(0x15f)])(_0x379e50=>{const _0x1be886=_0x29a219;var _0x339dd6;if(_0x32dc36(_0x2e3fc9,_0x35abed)===_0x379e50)return _0x23f1e3(void 0x0),!0x0;let _0x1d38f3=_0x379e50[_0x1be886(0x22e)](_0x488a9e[_0x1be886(0x10c)][_0x1be886(0x3a1)]);if(!_0x379e50[_0x1be886(0x391)]()||_0x1d38f3[_0x1be886(0x1fd)]!==0x1||!((_0x339dd6=_0x84e032[_0x1be886(0x12e)])!=null&&_0x339dd6['verify']()))return _0x23f1e3(_0x2357ca['t'](_0x1be886(0x18d))),!0x1;let {unitId:_0x2a8617,sheetName:_0xfd2975,range:_0xd955f0}=(0x0,_0x488a9e[_0x1be886(0x269)])(_0x1d38f3[0x0]),_0xa37b1d=_0x2a8617||_0x20f6ae,_0x5156b9=_0x35abed[_0x1be886(0x3d5)](_0xa37b1d),_0x233577=(_0x35756a==null?void 0x0:_0x35756a[_0x1be886(0x12d)])===_0xa37b1d?_0x35756a[_0x1be886(0x2b0)]:_0x121a52,_0x50c7f4=_0xfd2975?_0x5156b9==null?void 0x0:_0x5156b9[_0x1be886(0x23e)](_0xfd2975):_0x5156b9==null?void 0x0:_0x5156b9[_0x1be886(0x45f)](_0x233577??'');return!_0x5156b9||!_0x50c7f4||!(0x0,_0xe0fba2[_0x1be886(0x268)])(_0xd955f0,_0x50c7f4)?(_0x23f1e3(_0x2357ca['t'](_0x1be886(0x18d))),!0x1):(_0x23f1e3(void 0x0),_0x3bd853['setDataRange']({'rangeInfo':{'range':_0xd955f0,'unitId':_0xa37b1d,'subUnitId':_0x50c7f4[_0x1be886(0x1a0)]()}}),!0x0);},[_0x2e3fc9,_0x2357ca,_0x35756a,_0x3bd853,_0x121a52,_0x20f6ae,_0x35abed]),_0x144836=(0x0,_0xd79b15[_0x29a219(0x2ce)])(()=>({'keyCodes':[{'keyCode':_0x4fef69['KeyCode']['ENTER'],'nativeTextEditorBehavior':_0x4fef69['NativeTextEditorShortcutBehavior']['OVERRIDE_NATIVE']}],'handler':_0x33f62d=>{const _0x1f6bd1=_0x29a219;_0x33f62d===_0x4fef69[_0x1f6bd1(0x354)][_0x1f6bd1(0x2bf)]&&_0x18ba2e(_0x47cf36['current'])&&(_0x4e7efa[_0x1f6bd1(0x12e)]=_0x47cf36[_0x1f6bd1(0x12e)]);}}),[_0x18ba2e]);return(0x0,_0xc43640['jsx'])(_0x29a219(0x264),{'className':_0x29a219(0x242),'children':(0x0,_0xc43640[_0x29a219(0x1ea)])(_0x29a219(0x264),{'children':[(0x0,_0xc43640[_0x29a219(0x3aa)])(_0x1e42e6['ChartEditBlockTitle'],{'title':_0x2357ca['t'](_0x29a219(0x1e9))}),(0x0,_0xc43640[_0x29a219(0x3aa)])(_0x1dbfa7[_0x29a219(0x46d)],{'supportAcrossSheet':!0x0,'keepSheetReference':!0x0,'maxRangeCount':0x1,'unitId':_0x20f6ae,'subUnitId':_0x121a52,'initialValue':_0x410f09,'keyboardEventConfig':_0x144836,'selectorRef':_0x84e032,'onChange':(_0x31160a,_0x1abb44)=>{const _0x328a0b=_0x29a219;_0x47cf36[_0x328a0b(0x12e)]=_0x1abb44,_0x46dc06&&_0x4e7efa[_0x328a0b(0x12e)]!==_0x1abb44&&_0x18ba2e(_0x1abb44)&&(_0x4e7efa[_0x328a0b(0x12e)]=_0x1abb44);},'onFocusChange':(_0x187b1f,_0x1ea951)=>{const _0x1a0c8e=_0x29a219;if(_0x1ea951!==void 0x0&&(_0x47cf36[_0x1a0c8e(0x12e)]=_0x1ea951),_0x46dc06||_0x378a63(_0x187b1f),_0x187b1f)_0x4e7efa[_0x1a0c8e(0x12e)]=_0x47cf36[_0x1a0c8e(0x12e)];else{let _0x3f2eef=_0x4e7efa[_0x1a0c8e(0x12e)];_0x4e7efa['current']=void 0x0,_0x3f2eef!==void 0x0&&_0x47cf36[_0x1a0c8e(0x12e)]!==_0x3f2eef&&_0x18ba2e(_0x47cf36['current']);}},'onRangeSelectorDialogVisibleChange':_0x319731=>{_0x394cd7(_0x319731),_0x378a63(_0x319731);}}),_0x1d75cb?(0x0,_0xc43640['jsx'])('div',{'className':_0x29a219(0x433),'children':_0x1d75cb}):null]})});}function _0xdc7540(_0x3f836b){const _0x58cfcc=_0x351b7e;return(0x0,_0xc43640[_0x58cfcc(0x1ea)])(_0x1e42e6['ChartSectionAccordionItem'],{'id':_0x3f836b['id'],'children':[(0x0,_0xc43640['jsx'])(_0x1e42e6['ChartSectionAccordionTrigger'],{'children':_0x3f836b[_0x58cfcc(0x138)]}),(0x0,_0xc43640['jsx'])(_0x1e42e6[_0x58cfcc(0x25c)],{'children':_0x3f836b[_0x58cfcc(0x166)]})]});}let _0x3e5160=_0x359779=>{const _0x1a2046=_0x351b7e;let _0x4c1a71=(0x0,_0x4fef69[_0x1a2046(0x2dc)])(_0xe0fba2['LocaleService']),_0x3284e6=(0x0,_0x4fef69['useDependency'])(_0x5d8988),_0xd285f0=(0x0,_0x4fef69[_0x1a2046(0x2dc)])(_0x201ec2[_0x1a2046(0x3bd)]),_0x58345e=(0x0,_0x4fef69['useObservable'])(_0xd285f0[_0x1a2046(0x1a8)],_0xd285f0[_0x1a2046(0x267)]),_0x335a66=(0x0,_0x4fef69[_0x1a2046(0x1e3)])(_0x3284e6[_0x1a2046(0x424)],null),_0x3e64db=_0x335a66&&_0x335a66['chartId']===(_0x58345e==null?void 0x0:_0x58345e['id'])?_0x335a66[_0x1a2046(0x1df)]:null,_0x4315f7=(0x0,_0x1e42e6[_0x1a2046(0x327)])(),_0x2fc498=(0x0,_0x1e42e6[_0x1a2046(0x15e)])(),[_0x26eef4,_0x12f5ad]=(0x0,_0xd79b15[_0x1a2046(0x14d)])(null);(0x0,_0xd79b15['useEffect'])(()=>{const _0x37de89=_0x1a2046;_0x3e64db!=null&&_0x3e64db[_0x37de89(0x26d)]&&_0x12f5ad(_0x3e64db[_0x37de89(0x26d)]);},[_0x3e64db]);let _0x575a8a=_0x4a5d1e['chartBitsUtils'][_0x1a2046(0x26a)](_0x4315f7,_0x4a5d1e['ChartTypeBits'][_0x1a2046(0x228)]),_0x3d2aeb=_0x4315f7===_0x4a5d1e[_0x1a2046(0x43f)][_0x1a2046(0x359)],_0x13ae9b=_0x4315f7===_0x4a5d1e[_0x1a2046(0x43f)][_0x1a2046(0x415)],_0x4fc9d9=_0x4315f7===_0x4a5d1e[_0x1a2046(0x43f)][_0x1a2046(0x232)],_0x49221a=_0x4a5d1e['chartBitsUtils'][_0x1a2046(0x26a)](_0x4315f7,_0x4a5d1e[_0x1a2046(0x43f)][_0x1a2046(0x175)]),_0x36dd8e=_0x4315f7===_0x4a5d1e['ChartTypeBits']['Relation'],_0xe5a6ba=_0x4315f7===_0x4a5d1e['ChartTypeBits'][_0x1a2046(0x1ac)],_0x5ac85b=_0x4315f7===_0x4a5d1e[_0x1a2046(0x43f)][_0x1a2046(0x46b)],_0x5e79f2=_0x4315f7===_0x4a5d1e[_0x1a2046(0x43f)]['Heatmap'],_0x586580,_0x127b8c;switch(_0x4315f7){case _0x4a5d1e[_0x1a2046(0x43f)][_0x1a2046(0x18c)]:_0x586580=_0x1e42e6[_0x1a2046(0x1a5)][_0x1a2046(0x18c)],_0x127b8c=_0x4c1a71['t'](_0x1a2046(0x1e4));break;case _0x4a5d1e[_0x1a2046(0x43f)][_0x1a2046(0xb2)]:_0x586580=_0x1e42e6[_0x1a2046(0x1a5)][_0x1a2046(0xb2)],_0x127b8c=_0x4c1a71['t'](_0x1a2046(0x250));break;case _0x4a5d1e[_0x1a2046(0x43f)][_0x1a2046(0x308)]:_0x586580=_0x1e42e6[_0x1a2046(0x1a5)][_0x1a2046(0x308)],_0x127b8c=_0x4c1a71['t'](_0x1a2046(0xfb));break;case _0x4a5d1e[_0x1a2046(0x43f)][_0x1a2046(0x177)]:_0x586580=_0x1e42e6[_0x1a2046(0x1a5)][_0x1a2046(0x177)],_0x127b8c=_0x4c1a71['t'](_0x1a2046(0x13b));break;case _0x4a5d1e[_0x1a2046(0x43f)]['Gauge']:_0x586580=_0x1e42e6[_0x1a2046(0x1a5)][_0x1a2046(0xca)],_0x127b8c=_0x4c1a71['t']('sheets-chart-ui.section.gauge');break;case _0x4a5d1e[_0x1a2046(0x43f)][_0x1a2046(0x104)]:_0x586580=_0x1e42e6[_0x1a2046(0x1a5)]['Chord'],_0x127b8c=_0x4c1a71['t'](_0x1a2046(0x41d));}let _0x5a7b7b=(0x0,_0x1e42e6[_0x1a2046(0x14b)])(_0x4315f7,_0x1e42e6['ChartEditorCapability'][_0x1a2046(0x34f)])&&!_0x49221a&&!_0x5ac85b;return(0x0,_0xc43640[_0x1a2046(0x1ea)])(_0x1e42e6[_0x1a2046(0x222)],{'value':_0x26eef4,'onChange':_0x12f5ad,'children':[(0x0,_0xc43640['jsx'])(_0xdc7540,{'id':_0x1e42e6[_0x1a2046(0x1a5)][_0x1a2046(0xc4)],'label':_0x4c1a71['t'](_0x1a2046(0x1b0)),'children':(0x0,_0xc43640[_0x1a2046(0x3aa)])(_0x1e42e6[_0x1a2046(0x3a8)],{'defaultValues':_0x359779[_0x1a2046(0x362)][_0x1a2046(0x12c)]})}),(0x0,_0xc43640['jsx'])(_0xdc7540,{'id':_0x1e42e6[_0x1a2046(0x1a5)][_0x1a2046(0xc2)],'label':_0x4c1a71['t'](_0x1a2046(0x302)),'children':(0x0,_0xc43640[_0x1a2046(0x3aa)])(_0x1e42e6[_0x1a2046(0x335)],{'commitMode':_0x1a2046(0x151),'defaultValues':_0x359779[_0x1a2046(0x362)][_0x1a2046(0x41c)],'selectedTitleKey':_0x3e64db==null?void 0x0:_0x3e64db[_0x1a2046(0x33a)]})}),_0x5a7b7b&&(0x0,_0xc43640[_0x1a2046(0x3aa)])(_0xdc7540,{'id':_0x1e42e6[_0x1a2046(0x1a5)]['Series'],'label':_0x4c1a71['t']('sheets-chart-ui.common.series'),'children':(0x0,_0xc43640[_0x1a2046(0x3aa)])(_0x1e42e6[_0x1a2046(0x343)],{'defaultValues':_0x359779[_0x1a2046(0x362)][_0x1a2046(0x139)],'NumberFormatField':_0x1e42e6[_0x1a2046(0x22a)],'selectedSeriesId':_0x3e64db==null?void 0x0:_0x3e64db['seriesId']})}),_0xe5a6ba&&(0x0,_0xc43640[_0x1a2046(0x3aa)])(_0xdc7540,{'id':_0x1e42e6[_0x1a2046(0x1a5)]['WaterfallSeries'],'label':_0x4c1a71['t'](_0x1a2046(0x29c)),'children':(0x0,_0xc43640['jsx'])(_0x1e42e6[_0x1a2046(0x1fc)],{'defaultValues':_0x359779[_0x1a2046(0x362)][_0x1a2046(0x1a7)],'getDefaultBucketName':({seriesName:_0x3d8480,target:_0x1db22d})=>_0x1db22d===_0x4a5d1e[_0x1a2046(0x1bf)][_0x1a2046(0x157)]?_0x4c1a71['t'](_0x1a2046(0x11d)):_0x3d8480?_0x3d8480+'-('+_0x4c1a71['t'](_0x1db22d===_0x4a5d1e[_0x1a2046(0x1bf)][_0x1a2046(0xd5)]?_0x1a2046(0x163):_0x1a2046(0x12b))+')':'','NumberFormatField':_0x1e42e6[_0x1a2046(0x22a)],'selectedSeriesId':_0x3e64db==null?void 0x0:_0x3e64db[_0x1a2046(0x118)]})}),_0x5ac85b&&(0x0,_0xc43640[_0x1a2046(0x1ea)])(_0xc43640[_0x1a2046(0x464)],{'children':[(0x0,_0xc43640['jsx'])(_0xdc7540,{'id':_0x1e42e6[_0x1a2046(0x1a5)]['ParetoBarSeries'],'label':_0x4c1a71['t'](_0x1a2046(0x15d)),'children':(0x0,_0xc43640[_0x1a2046(0x3aa)])(_0x1e42e6[_0x1a2046(0x3cb)],{'defaultValues':_0x359779[_0x1a2046(0x362)][_0x1a2046(0x378)],'NumberFormatField':_0x1e42e6[_0x1a2046(0x22a)],'showDataPointEditor':!0x0,'target':'barStyle'})}),(0x0,_0xc43640['jsx'])(_0xdc7540,{'id':_0x1e42e6[_0x1a2046(0x1a5)][_0x1a2046(0x356)],'label':_0x4c1a71['t'](_0x1a2046(0x18b)),'children':(0x0,_0xc43640[_0x1a2046(0x3aa)])(_0x1e42e6['ChartParetoSeriesSection'],{'defaultValues':_0x359779[_0x1a2046(0x362)][_0x1a2046(0x378)],'NumberFormatField':_0x1e42e6[_0x1a2046(0x22a)],'showDataPointEditor':!0x1,'target':_0x1a2046(0x347)})})]}),_0x575a8a&&(0x0,_0xc43640[_0x1a2046(0x3aa)])(_0xdc7540,{'id':_0x1e42e6[_0x1a2046(0x1a5)][_0x1a2046(0x1a9)],'label':_0x4c1a71['t'](_0x1a2046(0x35c)),'children':(0x0,_0xc43640[_0x1a2046(0x3aa)])(_0x1e42e6[_0x1a2046(0x2c7)],{'defaultValues':_0x359779[_0x1a2046(0x362)]['pie'],'NumberFormatField':_0x1e42e6[_0x1a2046(0x22a)]})}),_0x13ae9b&&(0x0,_0xc43640[_0x1a2046(0x3aa)])(_0xdc7540,{'id':_0x1e42e6[_0x1a2046(0x1a5)][_0x1a2046(0x415)],'label':_0x4c1a71['t'](_0x1a2046(0x467)),'children':(0x0,_0xc43640[_0x1a2046(0x3aa)])(_0x1e42e6[_0x1a2046(0x319)],{'defaultValues':_0x359779['defaultValues'][_0x1a2046(0x439)]})}),_0x3d2aeb&&(0x0,_0xc43640['jsx'])(_0xdc7540,{'id':_0x1e42e6[_0x1a2046(0x1a5)][_0x1a2046(0x359)],'label':_0x4c1a71['t'](_0x1a2046(0x44a)),'children':(0x0,_0xc43640[_0x1a2046(0x3aa)])(_0x1e42e6[_0x1a2046(0x419)],{'defaultValues':_0x359779[_0x1a2046(0x362)][_0x1a2046(0xa4)]})}),_0x4fc9d9&&(0x0,_0xc43640[_0x1a2046(0x3aa)])(_0xdc7540,{'id':_0x1e42e6['ChartEditPanelSection']['Funnel'],'label':_0x4c1a71['t'](_0x1a2046(0x2b7)),'children':(0x0,_0xc43640[_0x1a2046(0x3aa)])(_0x1e42e6[_0x1a2046(0xf6)],{'defaultValues':_0x359779[_0x1a2046(0x362)][_0x1a2046(0x11c)],'gapControl':'select'})}),_0x5e79f2&&(0x0,_0xc43640[_0x1a2046(0x3aa)])(_0xdc7540,{'id':_0x1e42e6[_0x1a2046(0x1a5)][_0x1a2046(0x1c3)],'label':_0x4c1a71['t'](_0x1a2046(0xec)),'children':(0x0,_0xc43640['jsx'])(_0x1e42e6['ChartHeatmapStyleSection'],{'defaultValues':_0x359779[_0x1a2046(0x362)][_0x1a2046(0x3f6)]})}),_0x36dd8e&&(0x0,_0xc43640['jsx'])(_0xdc7540,{'id':_0x1e42e6[_0x1a2046(0x1a5)][_0x1a2046(0x2e9)],'label':_0x4c1a71['t'](_0x1a2046(0xc7)),'children':(0x0,_0xc43640[_0x1a2046(0x3aa)])(_0x1e42e6[_0x1a2046(0x19e)],{'defaultValues':_0x359779[_0x1a2046(0x362)][_0x1a2046(0x31b)]})}),(0x0,_0x1e42e6[_0x1a2046(0x143)])(_0x4315f7)&&(0x0,_0xc43640['jsx'])(_0xdc7540,{'id':_0x1e42e6[_0x1a2046(0x1a5)]['LineAndArea'],'label':_0x4c1a71['t'](_0x1a2046(0x1a1)),'children':(0x0,_0xc43640['jsx'])(_0x1e42e6[_0x1a2046(0x16e)],{'defaultValues':_0x359779[_0x1a2046(0x362)][_0x1a2046(0x393)],'lineStyleControl':'segmented'})}),(0x0,_0x1e42e6[_0x1a2046(0x14b)])(_0x4315f7,_0x1e42e6[_0x1a2046(0x202)][_0x1a2046(0x1cc)])&&(0x0,_0xc43640['jsx'])(_0xdc7540,{'id':_0x1e42e6[_0x1a2046(0x1a5)][_0x1a2046(0x1cc)],'label':_0x4c1a71['t']('sheets-chart-ui.common.legend'),'children':(0x0,_0xc43640[_0x1a2046(0x3aa)])(_0x1e42e6[_0x1a2046(0x273)],{'defaultValues':_0x359779[_0x1a2046(0x362)][_0x1a2046(0x3d3)]})}),(0x0,_0x1e42e6[_0x1a2046(0x14b)])(_0x4315f7,_0x1e42e6[_0x1a2046(0x202)][_0x1a2046(0x352)])&&(0x0,_0xc43640['jsxs'])(_0xc43640[_0x1a2046(0x464)],{'children':[(0x0,_0xc43640[_0x1a2046(0x3aa)])(_0xdc7540,{'id':_0x1e42e6['ChartEditPanelSection'][_0x1a2046(0x45d)],'label':_0x4c1a71['t'](_0x1a2046(0x24e)),'children':(0x0,_0xc43640[_0x1a2046(0x3aa)])(_0x1e42e6[_0x1a2046(0x440)],{'axis':'x','defaultValues':_0x359779[_0x1a2046(0x362)][_0x1a2046(0x39a)],'NumberFormatField':_0x1e42e6[_0x1a2046(0x22a)]})}),(0x0,_0xc43640['jsx'])(_0xdc7540,{'id':_0x1e42e6[_0x1a2046(0x1a5)][_0x1a2046(0x256)],'label':_0x4c1a71['t'](_0x1a2046(0x154)),'children':(0x0,_0xc43640[_0x1a2046(0x3aa)])(_0x1e42e6['ChartAxisSection'],{'axis':'y','defaultValues':_0x359779[_0x1a2046(0x362)][_0x1a2046(0x39a)],'NumberFormatField':_0x1e42e6[_0x1a2046(0x22a)]})}),_0x2fc498&&(0x0,_0xc43640[_0x1a2046(0x3aa)])(_0xdc7540,{'id':_0x1e42e6['ChartEditPanelSection'][_0x1a2046(0x42b)],'label':_0x4c1a71['t'](_0x1a2046(0x239)),'children':(0x0,_0xc43640[_0x1a2046(0x3aa)])(_0x1e42e6[_0x1a2046(0x440)],{'axis':_0x1a2046(0x25b),'defaultValues':_0x359779[_0x1a2046(0x362)][_0x1a2046(0x39a)],'NumberFormatField':_0x1e42e6[_0x1a2046(0x22a)]})}),(0x0,_0xc43640[_0x1a2046(0x3aa)])(_0xdc7540,{'id':_0x1e42e6[_0x1a2046(0x1a5)][_0x1a2046(0x30b)],'label':_0x4c1a71['t'](_0x1a2046(0x411)),'children':(0x0,_0xc43640['jsx'])(_0x1e42e6[_0x1a2046(0x345)],{'defaultValues':_0x359779[_0x1a2046(0x362)][_0x1a2046(0x39a)]})})]}),(0x0,_0x1e42e6[_0x1a2046(0x14b)])(_0x4315f7,_0x1e42e6[_0x1a2046(0x202)][_0x1a2046(0x295)])&&(0x0,_0xc43640[_0x1a2046(0x3aa)])(_0xdc7540,{'id':_0x1e42e6[_0x1a2046(0x1a5)][_0x1a2046(0x295)],'label':_0x4c1a71['t'](_0x1a2046(0x187)),'children':(0x0,_0xc43640['jsx'])(_0x1e42e6[_0x1a2046(0x173)],{'defaultValues':_0x359779[_0x1a2046(0x362)][_0x1a2046(0x2f5)]})}),(0x0,_0x4a5d1e[_0x1a2046(0x425)])(_0x4315f7)&&(0x0,_0xc43640[_0x1a2046(0x3aa)])(_0xdc7540,{'id':_0x1e42e6[_0x1a2046(0x1a5)]['Trendline'],'label':_0x4c1a71['t'](_0x1a2046(0x28a)),'children':(0x0,_0xc43640[_0x1a2046(0x3aa)])(_0x1e42e6[_0x1a2046(0xc9)],{'defaultValues':_0x359779['defaultValues'][_0x1a2046(0x3e2)]})}),_0x586580&&_0x127b8c&&(0x0,_0xc43640[_0x1a2046(0x3aa)])(_0xdc7540,{'id':_0x586580,'label':_0x127b8c,'children':(0x0,_0xc43640['jsx'])(_0x1e42e6[_0x1a2046(0x3fa)],{})})]});};function _0x3889b5(_0x3a47ad){const _0x251acb=_0x351b7e;let {className:_0x54fbe6}=_0x3a47ad,[_0x5de59c,_0x3b40f1]=(0x0,_0xd79b15[_0x251acb(0x14d)])(_0x1e42e6[_0x251acb(0x428)][_0x251acb(0x2c4)]),_0x269e60=(0x0,_0x4fef69[_0x251acb(0x2dc)])(_0xe0fba2[_0x251acb(0x44b)]),_0x2a1301=(0x0,_0x4fef69[_0x251acb(0x2dc)])(_0xe0fba2[_0x251acb(0x3f9)]),_0x5843a4=(0x0,_0x4fef69[_0x251acb(0x2dc)])(_0x5d8988),_0x474eda=(0x0,_0x4fef69[_0x251acb(0x2dc)])(_0x201ec2['ChartModelService']),_0x43d250=(0x0,_0x4fef69['useDependency'])(_0x201ec2[_0x251acb(0x36a)]),_0xdb2164=(0x0,_0x4fef69[_0x251acb(0x1e3)])(_0x474eda['activeChartModel$'],_0x474eda[_0x251acb(0x267)]),_0x1b14ad=(0x0,_0x4fef69['useObservable'])(_0x5843a4[_0x251acb(0x424)],null),_0x1568d5=(0x0,_0xd79b15['useMemo'])(()=>{const _0x59f9c0=_0x251acb;var _0x21b393;if(!_0xdb2164)return null;let _0x28af8e=_0x43d250[_0x59f9c0(0x29a)](_0xdb2164['id']);if(!_0x28af8e)return null;let _0x1dc059=Array[_0x59f9c0(0xde)](_0x28af8e)?(_0x21b393=_0x28af8e[0x0])==null?void 0x0:_0x21b393[_0x59f9c0(0x2e1)]:_0x28af8e[_0x59f9c0(0x255)];return _0x1dc059?new _0x1e42e6['ChartHostAdapter'](_0xdb2164,new _0x201ec2[(_0x59f9c0(0x200))]({'unitId':_0x1dc059['unitId'],'subUnitId':_0x1dc059['subUnitId'],'chartId':_0xdb2164['id'],'injector':_0x269e60})):null;},[_0xdb2164,_0x269e60,_0x43d250]);if((0x0,_0xd79b15[_0x251acb(0xf4)])(()=>{const _0x59278f=_0x251acb;var _0x232f1d,_0x56315b;_0xdb2164&&(_0x1b14ad==null?void 0x0:_0x1b14ad[_0x59278f(0x2ff)])===_0xdb2164['id']&&(((_0x232f1d=_0x1b14ad[_0x59278f(0x1df)])==null?void 0x0:_0x232f1d[_0x59278f(0x24c)])===_0x1e42e6[_0x59278f(0x428)][_0x59278f(0xcd)]&&_0x3b40f1(_0x1e42e6[_0x59278f(0x428)][_0x59278f(0xcd)]),((_0x56315b=_0x1b14ad['route'])==null?void 0x0:_0x56315b['tab'])===_0x1e42e6[_0x59278f(0x428)]['Data']&&_0x3b40f1(_0x1e42e6[_0x59278f(0x428)]['Data']));},[_0xdb2164,_0x1b14ad]),!_0x1568d5)return null;let _0x56d76c=(0x0,_0xc43640[_0x251acb(0x3aa)])(_0x251acb(0x264),{'className':_0x251acb(0x382)+(_0x5de59c===_0x1e42e6[_0x251acb(0x428)]['Style']?_0x251acb(0xdd):_0x251acb(0x278))+_0x251acb(0x2d8)+(_0x54fbe6??'')+'\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','children':(0x0,_0xc43640[_0x251acb(0x3aa)])(_0x1e42e6['ChartEditorTabs'],{'ariaLabel':_0x2a1301['t'](_0x251acb(0x37f)),'activeTab':_0x5de59c,'onTabChange':_0x3b40f1,'tabListClassName':_0x251acb(0x40d),'panelClassName':_0x5de59c===_0x1e42e6[_0x251acb(0x428)]['Style']?_0x251acb(0x33e):void 0x0,'tabs':[{'id':_0x1e42e6[_0x251acb(0x428)][_0x251acb(0x2c4)],'panelId':_0x4bda69,'title':_0x2a1301['t'](_0x251acb(0x2a9)),'content':(0x0,_0xc43640['jsx'])(_0xa29d2c,{})},{'id':_0x1e42e6[_0x251acb(0x428)]['Style'],'panelId':_0x25508e,'title':_0x2a1301['t'](_0x251acb(0x11a)),'content':(0x0,_0xc43640[_0x251acb(0x3aa)])(_0x3e5160,{'defaultValues':_0x54e319})}]})});return(0x0,_0xc43640[_0x251acb(0x3aa)])(_0x1e42e6[_0x251acb(0x420)],{'chartUIService':_0x5843a4,'hostAdapter':_0x1568d5,'children':_0x56d76c});}let _0x3d7cdd=_0x351b7e(0x1ef),_0x4bda69=_0x351b7e(0xa0),_0x25508e=_0x351b7e(0x26b);function _0x29ca6f(_0x28c4b4){const _0x1eba88=_0x351b7e;return _0x28c4b4[_0x1eba88(0x1fd)]===0x1&&_0x4c59e6(_0x28c4b4[0x0]);}function _0x4c59e6(_0x58c3d4){const _0x43f4bb=_0x351b7e;return(_0x58c3d4==null?void 0x0:_0x58c3d4[_0x43f4bb(0x405)])===_0xe0fba2[_0x43f4bb(0x371)][_0x43f4bb(0x1af)]&&!_0x58c3d4[_0x43f4bb(0x3a4)];}let _0x313dc5=class extends _0xe0fba2[_0x351b7e(0x304)]{constructor(_0x4807f3,_0xdf4274,_0x407d45,_0x387195,_0x34e883,_0x1b252b,_0x34db8a,_0x5b47f8,_0x458a8b,_0x22e011,_0x4d77fd,_0x543b3a,_0x28b896,_0x5b9e70,_0x3a4cf0){const _0x641cf=_0x351b7e;var _0x5637bf;super(),this[_0x641cf(0x3ef)]=_0x4807f3,this[_0x641cf(0x115)]=_0xdf4274,this[_0x641cf(0x9d)]=_0x407d45,this[_0x641cf(0x3b1)]=_0x387195,this[_0x641cf(0x2ea)]=_0x34e883,this[_0x641cf(0x178)]=_0x1b252b,this[_0x641cf(0x259)]=_0x34db8a,this[_0x641cf(0x230)]=_0x5b47f8,this[_0x641cf(0x2f2)]=_0x458a8b,this[_0x641cf(0x31a)]=_0x22e011,this[_0x641cf(0x2d4)]=_0x4d77fd,this['_sheetsChartUIService']=_0x543b3a,this['_contextService']=_0x28b896,this[_0x641cf(0xf8)]=_0x5b9e70,_0x2d50c7(this,_0x641cf(0xe4),null),_0x2d50c7(this,_0x641cf(0x174),void 0x0),this[_0x641cf(0x174)]=((_0x5637bf=_0x3a4cf0[_0x641cf(0x325)]('sheets-chart-ui.config'))==null?void 0x0:_0x5637bf[_0x641cf(0x353)])===!0x0,this[_0x641cf(0x112)](),this[_0x641cf(0x3f2)](this[_0x641cf(0x115)][_0x641cf(0x447)](_0xe0fba2[_0x641cf(0x282)]['UNIVER_SHEET'])[_0x641cf(0x1b5)](_0xf2f532=>{const _0x5ce9c6=_0x641cf;var _0x4e9b12;_0xf2f532||(_0x4e9b12=this[_0x5ce9c6(0xe4)])==null||_0x4e9b12[_0x5ce9c6(0x183)]();})),this[_0x641cf(0x3f2)]((0x0,_0xe0fba2['toDisposable'])(this[_0x641cf(0x178)][_0x641cf(0x248)]['subscribe'](async({drawing:_0x6edd9a})=>{const _0x48d379=_0x641cf;await this[_0x48d379(0x3ee)](_0x6edd9a);})));}[_0x351b7e(0x2f9)](){const _0x274da9=_0x351b7e;this[_0x274da9(0xe4)]=this[_0x274da9(0x259)][_0x274da9(0x3c5)]({'id':_0x3d7cdd,'header':{'title':this[_0x274da9(0xf8)]['t'](_0x274da9(0x37f))},'width':0x154,'children':{'label':_0x3d7cdd},'onClose':()=>{const _0x548dc4=_0x274da9;this[_0x548dc4(0xe4)]=null,this[_0x548dc4(0x313)](),this[_0x548dc4(0x9d)][_0x548dc4(0x267)]&&this[_0x548dc4(0x9d)][_0x548dc4(0x410)](null),this[_0x548dc4(0x3ef)][_0x548dc4(0x390)](null),this[_0x548dc4(0x404)][_0x548dc4(0x103)](_0xe0fba2[_0x548dc4(0x36e)],!0x1);}});}['hidePanel'](){const _0x228dfe=_0x351b7e;let _0x29c6a9=this['_sidebarDisposable'];this['_sidebarDisposable']=null,this[_0x228dfe(0x313)](),this[_0x228dfe(0x9d)][_0x228dfe(0x267)]&&this[_0x228dfe(0x9d)][_0x228dfe(0x410)](null),_0x29c6a9==null||_0x29c6a9['dispose']();}[_0x351b7e(0x3c7)](){const _0x4b614c=_0x351b7e;let _0x322bda=this['_univerInstanceService'][_0x4b614c(0x2a3)](_0xe0fba2[_0x4b614c(0x282)][_0x4b614c(0x3fd)]);this[_0x4b614c(0x3f2)](this['_sidebarService'][_0x4b614c(0x97)][_0x4b614c(0x1b5)](_0xefd95d=>{const _0x5c3601=_0x4b614c;_0xefd95d['id']===_0x5c3601(0x1ef)&&(_0xefd95d[_0x5c3601(0x3a6)]||this['_sidebarService'][_0x5c3601(0x97)][_0x5c3601(0xf2)]({'visible':!0x1}));})),this[_0x4b614c(0x3f2)]((0x0,_0x1a141d[_0x4b614c(0xb7)])([this[_0x4b614c(0x9d)]['activeChartModel$'],this[_0x4b614c(0x442)][_0x4b614c(0x32b)]])['pipe']((0x0,_0x1a141d['map'])(([_0x5375bb,_0x8cfcfa])=>_0x8cfcfa?(_0x5375bb==null?void 0x0:_0x5375bb['id'])??null:null),(0x0,_0x1a141d[_0x4b614c(0x3cd)])(),(0x0,_0x1a141d['startWith'])(null),(0x0,_0x1a141d[_0x4b614c(0x207)])())[_0x4b614c(0x1b5)](([_0x2808ab,_0x13642e])=>{const _0x4cceb8=_0x4b614c;this[_0x4cceb8(0x42d)](_0x2808ab,_0x13642e);})),this['disposeWithMe'](this['_chartModelService'][_0x4b614c(0x1a8)][_0x4b614c(0x1b5)](_0x1d43ef=>{const _0x2f49b3=_0x4b614c;!_0x1d43ef&&this[_0x2f49b3(0xe4)]&&this['hidePanel']();})),this[_0x4b614c(0x3f2)](this['_commandService']['onCommandExecuted'](_0x2e3d02=>{const _0x45b624=_0x4b614c;if(_0x2e3d02['id']===_0x577343['id']){let _0x5e2b99=_0x2e3d02[_0x45b624(0x1e0)];if(!_0x4c59e6(this[_0x45b624(0x3ef)][_0x45b624(0x257)]({'unitId':_0x5e2b99[_0x45b624(0x12d)],'subUnitId':_0x5e2b99[_0x45b624(0x2b0)],'drawingId':_0x5e2b99[_0x45b624(0xa3)]})))return;this['openChartPanelById'](_0x5e2b99['drawingId'],_0x5e2b99[_0x45b624(0x1df)]);}if(_0x2e3d02['id']===_0x16f198['id']&&this[_0x45b624(0x417)](),_0x2e3d02['id']===_0x201ec2['RemoveSheetsChartMutation']['id']){var _0x54807c;_0x2e3d02['params'][_0x45b624(0x2ff)]===((_0x54807c=this[_0x45b624(0x9d)]['activeChartModel'])==null?void 0x0:_0x54807c['id'])&&this[_0x45b624(0x417)](),this['_contextService'][_0x45b624(0x33c)](_0xe0fba2[_0x45b624(0x36e)])&&(this[_0x45b624(0x404)][_0x45b624(0x103)](_0xe0fba2[_0x45b624(0x36e)],!0x1),this[_0x45b624(0x3ef)][_0x45b624(0x390)](null));}})),this['disposeWithMe'](this[_0x4b614c(0x2f2)][_0x4b614c(0x2fc)][_0x4b614c(0x1b5)](({id:_0x4d65e1})=>{const _0x34c864=_0x4b614c;this[_0x34c864(0x442)][_0x34c864(0xbd)](_0x4d65e1)&&this[_0x34c864(0x417)]();})),this[_0x4b614c(0x3f2)](this['_sheetCanvasFloatDomManagerService']['transformChange$'][_0x4b614c(0x1b5)](({id:_0x699053})=>{const _0x22a61f=_0x4b614c;this[_0x22a61f(0x442)][_0x22a61f(0xbd)](_0x699053)&&(this['_sheetsChartUIService'][_0x22a61f(0x2fb)](),this[_0x22a61f(0x2ea)][_0x22a61f(0x22f)](_0x699053,!0x1),this[_0x22a61f(0x21e)](_0x699053)&&this[_0x22a61f(0x2ea)][_0x22a61f(0x22f)](_0x699053,!0x0));})),this[_0x4b614c(0x3f2)](this['_drawingManagerService']['focus$'][_0x4b614c(0x1b5)](_0x5f38fa=>{const _0x745029=_0x4b614c;let _0x38a020=_0x5f38fa[0x0];if(!this[_0x745029(0x442)][_0x745029(0x3a0)]){if(_0x29ca6f(_0x5f38fa)){var _0x3d234d;let _0x27fd6b=this['_chartModelService'][_0x745029(0x96)](_0x38a020[_0x745029(0xa3)]);_0x27fd6b&&this[_0x745029(0x13d)](_0x27fd6b['id'])&&((_0x3d234d=this[_0x745029(0x9d)][_0x745029(0x267)])==null?void 0x0:_0x3d234d['id'])!==_0x27fd6b['id']&&this[_0x745029(0x9d)][_0x745029(0x410)](_0x27fd6b);return;}this[_0x745029(0x9d)]['activeChartModel']&&this['_chartModelService'][_0x745029(0x410)](null),!_0x38a020&&!this[_0x745029(0x442)][_0x745029(0x3a0)]&&this[_0x745029(0x417)]();}})),_0x322bda&&(this[_0x4b614c(0x3f2)](_0x322bda['sheetDisposed$'][_0x4b614c(0x1b5)](()=>{this['hidePanel']();})),this[_0x4b614c(0x3f2)](_0x322bda['activeSheet$'][_0x4b614c(0x1b5)](()=>{const _0x235673=_0x4b614c;this[_0x235673(0x417)]();})));}async[_0x351b7e(0x3ee)](_0x3f36e6){const _0x3694f5=_0x351b7e;this['_sheetsChartUIService'][_0x3694f5(0x215)]||_0x4c59e6(_0x3f36e6)&&this['_isOwnedChart'](_0x3f36e6[_0x3694f5(0xa3)])&&await this['_openEditPanelByDoubleClick'](_0x3f36e6[_0x3694f5(0x12d)],_0x3f36e6[_0x3694f5(0x2b0)],_0x3f36e6[_0x3694f5(0xa3)]);}async[_0x351b7e(0x37d)](_0x1f21b5,_0x57290e,_0x172ea9){const _0x52ec0a=_0x351b7e;this[_0x52ec0a(0x9d)]['getChartModel'](_0x172ea9)&&this['_isOwnedChart'](_0x172ea9)&&await this[_0x52ec0a(0x2d4)][_0x52ec0a(0x463)](_0x577343['id'],{'unitId':_0x1f21b5,'subUnitId':_0x57290e,'drawingId':_0x172ea9});}[_0x351b7e(0x446)](_0x4e14c1,_0x4f9897){const _0x316e1c=_0x351b7e;let _0x2cd04e=this[_0x316e1c(0x9d)][_0x316e1c(0x96)](_0x4e14c1);_0x2cd04e&&this['_isOwnedChart'](_0x4e14c1)&&(this[_0x316e1c(0x9d)][_0x316e1c(0x410)](_0x2cd04e),this['_openPanel'](),this[_0x316e1c(0xd1)](_0x4e14c1,_0x4f9897??null));}[_0x351b7e(0xd1)](_0x27b004,_0x2ef1a4){const _0x340050=_0x351b7e;this[_0x340050(0x442)][_0x340050(0x284)](!0x0),this[_0x340050(0x442)][_0x340050(0x217)](_0x27b004,_0x2ef1a4);}[_0x351b7e(0x313)](){const _0x515f4f=_0x351b7e;this[_0x515f4f(0x442)][_0x515f4f(0x284)](!0x1);}[_0x351b7e(0x42d)](_0x35bf5d,_0x2d1bbb){const _0x3e4673=_0x351b7e;_0x35bf5d!==_0x2d1bbb&&(_0x35bf5d&&this['_chartRenderService'][_0x3e4673(0x22f)](_0x35bf5d,!0x1),this[_0x3e4673(0x442)][_0x3e4673(0x2fb)](),_0x2d1bbb&&(this[_0x3e4673(0x442)][_0x3e4673(0x217)](_0x2d1bbb,null),this[_0x3e4673(0x2ea)][_0x3e4673(0x22f)](_0x2d1bbb,this[_0x3e4673(0x21e)](_0x2d1bbb))));}[_0x351b7e(0x112)](){const _0x41dbb4=_0x351b7e;this[_0x41dbb4(0x230)][_0x41dbb4(0x34e)](_0x497f50),this[_0x41dbb4(0x31a)][_0x41dbb4(0x199)](_0xe0fba2[_0x41dbb4(0x371)][_0x41dbb4(0x1af)],this[_0x41dbb4(0x1f9)]['bind'](this));}[_0x351b7e(0x21e)](_0x853576){const _0x585de3=_0x351b7e;let _0x580658=this[_0x585de3(0x9d)][_0x585de3(0x96)](_0x853576);return!this[_0x585de3(0x174)]||!_0x580658||!this['_isOwnedChart'](_0x853576)?!0x1:_0x277b9d(_0x580658[_0x585de3(0x153)]);}[_0x351b7e(0x1f9)](_0x26a87b,_0x2586ab,_0x2aab0c,_0x4cdc93){const _0x35f6c4=_0x351b7e;if(!this[_0x35f6c4(0x9d)][_0x35f6c4(0x96)](_0x2aab0c))return[];let _0xaa5c32=[{'label':this[_0x35f6c4(0xf8)]['t'](_0x35f6c4(0x402)),'index':0x0,'commandId':_0x577343['id'],'commandParams':{'unitId':_0x26a87b,'subUnitId':_0x2586ab,'drawingId':_0x2aab0c},'disable':_0x4cdc93!==_0xe0fba2[_0x35f6c4(0x371)][_0x35f6c4(0x1af)]}];return this[_0x35f6c4(0x13d)](_0x2aab0c)?[..._0xaa5c32,{'label':this[_0x35f6c4(0xf8)]['t']('sheets-chart-ui.common.deleteChart'),'index':0x1,'commandId':_0x42712d[_0x35f6c4(0x363)]['id'],'commandParams':{'unitId':_0x26a87b,'drawings':[{'unitId':_0x26a87b,'subUnitId':_0x2586ab,'drawingId':_0x2aab0c,'drawingType':_0x4cdc93}]},'disable':!0x1},{'label':this[_0x35f6c4(0xf8)]['t'](_0x35f6c4(0x413)),'index':0x2,'commandId':_0x16f198['id'],'commandParams':{'unitId':_0x26a87b,'subUnitId':_0x2586ab,'drawingId':_0x2aab0c},'disable':!0x1}]:_0xaa5c32;}['_isOwnedChart'](_0x347a0f){const _0x265043=_0x351b7e;return this[_0x265043(0x3b1)][_0x265043(0x29a)](_0x347a0f)!==void 0x0;}};_0x313dc5=_0x5a0cd2([_0x40aea1(0x0,_0x3543bc[_0x351b7e(0x101)]),_0x40aea1(0x1,_0xe0fba2['IUniverInstanceService']),_0x40aea1(0x2,(0x0,_0xe0fba2['Inject'])(_0x201ec2['ChartModelService'])),_0x40aea1(0x3,(0x0,_0xe0fba2[_0x351b7e(0x2f8)])(_0x201ec2[_0x351b7e(0x36a)])),_0x40aea1(0x4,(0x0,_0xe0fba2[_0x351b7e(0x2f8)])(_0x591b5a)),_0x40aea1(0x5,(0x0,_0xe0fba2['Inject'])(_0x102b65[_0x351b7e(0x1bb)])),_0x40aea1(0x6,(0x0,_0xe0fba2[_0x351b7e(0x2f8)])(_0x4fef69['ISidebarService'])),_0x40aea1(0x7,_0x4fef69[_0x351b7e(0x41a)]),_0x40aea1(0x8,(0x0,_0xe0fba2['Inject'])(_0x102b65[_0x351b7e(0x30d)])),_0x40aea1(0x9,(0x0,_0xe0fba2[_0x351b7e(0x2f8)])(_0x270231['SheetCanvasPopManagerService'])),_0x40aea1(0xa,_0xe0fba2[_0x351b7e(0x370)]),_0x40aea1(0xb,_0x5d8988),_0x40aea1(0xc,_0xe0fba2[_0x351b7e(0x19d)]),_0x40aea1(0xd,(0x0,_0xe0fba2[_0x351b7e(0x2f8)])(_0xe0fba2[_0x351b7e(0x3f9)])),_0x40aea1(0xe,_0xe0fba2[_0x351b7e(0x42c)])],_0x313dc5);var _0x47d7f2='@univerjs-pro/sheets-chart-ui',_0x3b3a89=_0x351b7e(0x46c);let _0x1eb24a=class extends _0xe0fba2[_0x351b7e(0x304)]{constructor(_0x23e081,_0x295cba){const _0x3f47ad=_0x351b7e;super(),this[_0x3f47ad(0x300)]=_0x23e081,this[_0x3f47ad(0x9d)]=_0x295cba,this[_0x3f47ad(0x1cd)]();}[_0x351b7e(0x1cd)](){const _0x30fdc0=_0x351b7e;this[_0x30fdc0(0x3f2)](this[_0x30fdc0(0x300)]['removeHost$'][_0x30fdc0(0x1b5)](_0x5c3c42=>{const _0x311e62=_0x30fdc0;this[_0x311e62(0x9d)][_0x311e62(0x3f7)](_0x5c3c42);}));}};_0x1eb24a=_0x5a0cd2([_0x40aea1(0x0,_0x57a861),_0x40aea1(0x1,(0x0,_0xe0fba2['Inject'])(_0x201ec2[_0x351b7e(0x3bd)]))],_0x1eb24a);let _0x3d0520=class extends _0xe0fba2[_0x351b7e(0x304)]{constructor(_0x13c31f,_0x4b9392,_0x1de41d,_0x141155,_0x10becb,_0x1cc3f6){const _0xfa1925=_0x351b7e;super(),this[_0xfa1925(0x9d)]=_0x13c31f,this['_chartRenderService']=_0x4b9392,this['_localeService']=_0x1de41d,this[_0xfa1925(0x46e)]=_0x141155,this[_0xfa1925(0x2d4)]=_0x10becb,this[_0xfa1925(0xe7)]=_0x1cc3f6,_0x2d50c7(this,_0xfa1925(0x32f),new Map()),_0x2d50c7(this,'_pendingDataUpdateChartIds',new Set()),this['_init'](),this['_listenChartUpdateMutations'](),this[_0xfa1925(0x15c)]();}[_0x351b7e(0x15c)](){const _0x21bf0c=_0x351b7e;this[_0x21bf0c(0x3f2)](this['_sheetPrintInterceptorService'][_0x21bf0c(0x245)][_0x21bf0c(0xb8)](this[_0x21bf0c(0xe7)][_0x21bf0c(0x245)][_0x21bf0c(0x31d)]()[_0x21bf0c(0x2e3)],{'handler':(_0x310b98,_0x5d3618,_0x26130a)=>{const _0x51de31=_0x21bf0c;let _0x4f625b=this['_chartRenderService'][_0x51de31(0x1e7)](_0x5d3618[_0x51de31(0x12d)],_0x5d3618[_0x51de31(0x2b0)],_0x5d3618[_0x51de31(0x37b)]);return _0x5d3618[_0x51de31(0x102)][_0x51de31(0x429)](_0x4f625b),_0x26130a(_0x310b98);}}));}[_0x351b7e(0x1cd)](){const _0x3b9964=_0x351b7e;this['disposeWithMe'](this[_0x3b9964(0x9d)][_0x3b9964(0x3cc)][_0x3b9964(0x1b5)](_0x1e95f1=>{const _0x2418d1=_0x3b9964;if(_0x1e95f1){let _0x518817=new _0xe0fba2[(_0x2418d1(0x30c))]();_0x518817['add'](_0x1e95f1[_0x2418d1(0xad)][_0x2418d1(0x1a6)]((0x0,_0x1a141d['switchMap'])(_0x4dfe46=>_0x4dfe46[_0x2418d1(0x1f1)]['pipe']((0x0,_0x1a141d[_0x2418d1(0x2cb)])(0x1))))[_0x2418d1(0x1b5)](()=>{const _0x55c95d=_0x2418d1;this[_0x55c95d(0x218)]['add'](_0x1e95f1['id']);})),_0x518817[_0x2418d1(0x429)](_0x1e95f1[_0x2418d1(0x1d0)][_0x2418d1(0x1a6)]((0x0,_0x1a141d[_0x2418d1(0x2d3)])(_0x1e95f1[_0x2418d1(0xf9)]),(0x0,_0x1a141d[_0x2418d1(0x2d3)])(this[_0x2418d1(0xf8)][_0x2418d1(0x45a)]),(0x0,_0x1a141d['debounceTime'])(0x64))[_0x2418d1(0x1b5)](([[_0x6bdc34,_0x767ea1],_0x5d084a])=>{const _0x2ab653=_0x2418d1;var _0x2f8ecb;if(!_0x6bdc34)return;(_0x2f8ecb=_0x6bdc34['category'])==null||_0x2f8ecb[_0x2ab653(0x2e6)]['forEach']((_0x39ed00,_0x1a99cd)=>{const _0x190395=_0x2ab653;_0x39ed00[_0x190395(0x138)]||=this[_0x190395(0xf8)]['t']('sheets-chart-ui.common.category')+'\x20'+(_0x1a99cd+0x1);}),_0x6bdc34[_0x2ab653(0x139)]['forEach']((_0x2d6cec,_0x269af5)=>{const _0x33e597=_0x2ab653;_0x2d6cec[_0x33e597(0x3e9)]||=this['_localeService']['t'](_0x33e597(0xce))+'\x20'+(_0x269af5+0x1);});let _0x1233f8=this[_0x2ab653(0x2ea)][_0x2ab653(0x2a7)](_0x1e95f1,_0x5d084a),_0x4a8491=this[_0x2ab653(0x218)]['delete'](_0x1e95f1['id']);this[_0x2ab653(0x2ea)][_0x2ab653(0x1e5)](_0x1e95f1['id'],_0x6bdc34,_0x1233f8,{'animateDataUpdate':_0x4a8491});})),_0x1e95f1[_0x2418d1(0x376)](()=>{const _0x4faca7=_0x2418d1;this[_0x4faca7(0x218)]['delete'](_0x1e95f1['id']),_0x518817[_0x4faca7(0x183)]();});}}));}[_0x351b7e(0x31f)](){const _0x49f823=_0x351b7e;this[_0x49f823(0x3f2)](this[_0x49f823(0x2d4)][_0x49f823(0x288)](_0x43118f=>{const _0x479ec4=_0x49f823;if(_0x43118f['id']!==_0x201ec2[_0x479ec4(0x2b5)]['id'])return;let _0x307b1a=_0x43118f[_0x479ec4(0x1e0)];_0x307b1a!=null&&_0x307b1a[_0x479ec4(0x14c)]&&Promise[_0x479ec4(0x19f)]()[_0x479ec4(0x17a)](()=>this['_renderAfterChartUpdateMutation'](_0x307b1a));}));}[_0x351b7e(0x1db)](_0x228007){const _0x198fe7=_0x351b7e;let _0x51437c=this['_chartModelService'][_0x198fe7(0x96)](_0x228007[_0x198fe7(0x14c)]);if(!_0x51437c||_0x51437c[_0x198fe7(0x153)]!==_0x4a5d1e[_0x198fe7(0x43f)][_0x198fe7(0x415)])return;let _0xf697c4=_0x51437c['config'];if(!_0xf697c4){this['_renderWhenConfigReady'](_0x51437c);return;}this[_0x198fe7(0x114)](_0x51437c,_0xf697c4);}[_0x351b7e(0x2fd)](_0x481191){const _0x47cbcc=_0x351b7e;if(this[_0x47cbcc(0x32f)]['get'](_0x481191['id']))return;let _0xd5d80d=_0x481191['config$'][_0x47cbcc(0x1a6)]((0x0,_0x1a141d[_0x47cbcc(0x286)])(_0x378bf3=>_0x378bf3!=null),(0x0,_0x1a141d['take'])(0x1))[_0x47cbcc(0x1b5)](_0x4d9c1e=>{const _0x55a715=_0x47cbcc;this[_0x55a715(0x32f)][_0x55a715(0x437)](_0x481191['id']),this['_renderChartModel'](_0x481191,_0x4d9c1e);});this[_0x47cbcc(0x32f)][_0x47cbcc(0xac)](_0x481191['id'],_0xd5d80d),_0x481191['onDispose'](()=>{const _0x27104d=_0x47cbcc;_0xd5d80d['unsubscribe'](),this['_pendingMutationConfigRenders'][_0x27104d(0x437)](_0x481191['id']);});}['_renderChartModel'](_0x17c6a1,_0x3757fd){const _0x217981=_0x351b7e;let _0x5ca7c6=this[_0x217981(0x2ea)]['createRuntimeChartStyle'](_0x17c6a1,this[_0x217981(0xf8)][_0x217981(0xd7)]());this['_chartRenderService'][_0x217981(0x1e5)](_0x17c6a1['id'],_0x3757fd,_0x5ca7c6);}};_0x3d0520=_0x5a0cd2([_0x40aea1(0x0,(0x0,_0xe0fba2[_0x351b7e(0x2f8)])(_0x201ec2[_0x351b7e(0x3bd)])),_0x40aea1(0x1,(0x0,_0xe0fba2[_0x351b7e(0x2f8)])(_0x591b5a)),_0x40aea1(0x2,(0x0,_0xe0fba2[_0x351b7e(0x2f8)])(_0xe0fba2['LocaleService'])),_0x40aea1(0x3,_0x5d8988),_0x40aea1(0x4,_0xe0fba2[_0x351b7e(0x370)]),_0x40aea1(0x5,(0x0,_0xe0fba2[_0x351b7e(0x2f8)])(_0x270231[_0x351b7e(0x422)]))],_0x3d0520);function _0x595a30(_0x21f5db,_0xb1b0c2){const _0x416e79=_0x351b7e;return _0x21f5db[_0x416e79(0x12d)]!==_0xb1b0c2['unitId']||_0x21f5db[_0x416e79(0x2b0)]!==_0xb1b0c2[_0x416e79(0x33b)]?_0x21f5db:{..._0x21f5db,'subUnitId':_0xb1b0c2[_0x416e79(0x3b2)]};}function _0x41ade8(_0x3bf89a,_0x1f75d3){const _0x15036c=_0x351b7e;return(_0x3bf89a==null?void 0x0:_0x3bf89a['type'])===_0x4a5d1e[_0x15036c(0x2f1)][_0x15036c(0x3a3)]?{..._0x3bf89a,'source':_0x595a30(_0x3bf89a[_0x15036c(0x2f0)],_0x1f75d3)}:_0x3bf89a;}function _0x9ffb6b(_0x427d69,_0x5e8d8c){const _0x58c83d=_0x351b7e;let {rangeInfo:_0x1159dd}=_0x427d69;return Array[_0x58c83d(0xde)](_0x1159dd)?{..._0x427d69,'rangeInfo':_0x1159dd[_0x58c83d(0xfc)](_0x15cff7=>({..._0x15cff7,..._0x15cff7[_0x58c83d(0x42e)]?{'header':_0x41ade8(_0x15cff7['header'],_0x5e8d8c)}:{},'range':_0x595a30(_0x15cff7[_0x58c83d(0x2e1)],_0x5e8d8c)}))}:{..._0x427d69,'rangeInfo':{..._0x1159dd,..._0x1159dd['header']?{'header':{..._0x1159dd['header'],..._0x1159dd[_0x58c83d(0x42e)]['titles']?{'titles':_0x1578aa(_0x1159dd[_0x58c83d(0x42e)][_0x58c83d(0x41c)],_0x5e8d8c)}:{}}}:{},'rangeInfo':_0x595a30(_0x1159dd[_0x58c83d(0x255)],_0x5e8d8c)}};}function _0x1578aa(_0x5a7c15,_0x560d7b){const _0x48c388=_0x351b7e;return _0x5a7c15[_0x48c388(0x441)]===_0x4a5d1e[_0x48c388(0x2f1)][_0x48c388(0x1c7)]?{..._0x5a7c15,'values':{..._0x5a7c15[_0x48c388(0x231)]}}:_0x5a7c15[_0x48c388(0x441)]===_0x4a5d1e[_0x48c388(0x2f1)][_0x48c388(0x148)]?{..._0x5a7c15,'values':Object[_0x48c388(0x205)](Object['entries'](_0x5a7c15[_0x48c388(0x231)])[_0x48c388(0xfc)](([_0x2fb03f,_0x3e064d])=>[_0x2fb03f,_0x3e064d&&_0x595a30(_0x3e064d,_0x560d7b)]))}:{..._0x5a7c15,'values':Object[_0x48c388(0x205)](Object[_0x48c388(0xbe)](_0x5a7c15[_0x48c388(0x231)])['map'](([_0x18aab2,_0x305fb1])=>[_0x18aab2,_0x305fb1&&_0x41ade8(_0x305fb1,_0x560d7b)]))};}function _0x50a5c2(_0x55e27f,_0x56ac4f,_0x40dfd6,_0x90e8f7){const _0x37c2e8=_0x351b7e;let _0x27e14f=(0x0,_0x3543bc['getOrCreateDrawingCopyPlan'])(_0x55e27f,_0x56ac4f,_0x40dfd6),_0x1bb517=[];for(let _0x1a3380 of _0x56ac4f){let _0x131b29=_0x27e14f[_0x37c2e8(0x1ca)]['get'](_0x1a3380[_0x37c2e8(0xa3)]),_0x54a5ee=_0x90e8f7(_0x1a3380);_0x131b29&&_0x54a5ee&&_0x1bb517['push']({'targetChartId':_0x131b29,'source':_0x9ffb6b(_0x54a5ee,_0x40dfd6)});}return _0x1bb517;}let _0x24189e=class extends _0xe0fba2[_0x351b7e(0x304)]{constructor(_0x4fe0d2,_0x55b5cd,_0x145b54,_0x2c0d9c,_0x138ec2){const _0x3bacc6=_0x351b7e;super(),this[_0x3bacc6(0x115)]=_0x4fe0d2,this[_0x3bacc6(0x18a)]=_0x55b5cd,this[_0x3bacc6(0x443)]=_0x145b54,this[_0x3bacc6(0x9d)]=_0x2c0d9c,this[_0x3bacc6(0x3b1)]=_0x138ec2,this[_0x3bacc6(0x43a)]();}['_initSheetChange'](){const _0x308f5a=_0x351b7e;this[_0x308f5a(0x3f2)](this[_0x308f5a(0x18a)][_0x308f5a(0x2e2)]({'getMutations':_0x47b06f=>{const _0x3c0201=_0x308f5a;if(_0x47b06f['id']===_0x2e7a19['RemoveSheetCommand']['id']){let _0x4cad13=(0x0,_0x2e7a19[_0x3c0201(0x1f3)])(this[_0x3c0201(0x115)],_0x47b06f[_0x3c0201(0x1e0)]);if(!_0x4cad13)return{'redos':[],'undos':[]};let {unitId:_0x30936e,subUnitId:_0x1245a0}=_0x4cad13,_0x12a56b=this[_0x3c0201(0x443)][_0x3c0201(0x328)](_0x30936e,_0x1245a0),_0xcd2eaf=Object[_0x3c0201(0x231)](_0x12a56b)[_0x3c0201(0x286)](_0x119698=>_0x119698[_0x3c0201(0x405)]===_0xe0fba2['DrawingTypeEnum']['DRAWING_CHART']);if(_0xcd2eaf['length']===0x0)return{'redos':[],'undos':[]};let _0x39d973=[],_0x1b4331=[];for(let _0x19f1b1=0x0;_0x19f1b1<_0xcd2eaf['length'];_0x19f1b1++){let _0x24848e=_0xcd2eaf[_0x19f1b1],_0x2dcb74=this[_0x3c0201(0x9d)][_0x3c0201(0x96)](_0x24848e[_0x3c0201(0xa3)]);if(!_0x2dcb74)continue;let _0x34ffa6=this['_sheetsChartService']['getChartSourceSpec'](_0x2dcb74['id']);if(!_0x34ffa6)continue;let {chartType:_0xa8102f,context:_0x2b5b43,style:_0x312804,dataAggregation:_0x1a3912}=_0x2dcb74[_0x3c0201(0x185)]();_0x39d973['push']({'id':_0x201ec2['RemoveSheetsChartMutation']['id'],'params':{'unitId':_0x30936e,'subUnitId':_0x1245a0,'chartId':_0x24848e['drawingId']}}),_0x1b4331['push']({'id':_0x201ec2[_0x3c0201(0x24d)]['id'],'params':{'unitId':_0x30936e,'subUnitId':_0x1245a0,'chartId':_0x24848e['drawingId'],'chartType':_0xa8102f,...(0x0,_0x201ec2[_0x3c0201(0x2ac)])(_0x34ffa6),'context':_0x2b5b43,'style':_0x312804,'dataAggregation':_0x1a3912}});}return{'redos':_0x39d973,'undos':_0x1b4331};}if(_0x47b06f['id']===_0x2e7a19[_0x3c0201(0xe8)]['id']){let {unitId:_0xa3a055,subUnitId:_0x2cbef9,targetSubUnitId:_0x36c633,copyContext:_0xbbfd8c}=_0x47b06f[_0x3c0201(0x1e0)];if(!_0xa3a055||!_0x2cbef9||!_0x36c633)return{'redos':[],'undos':[]};let _0x5dd858=this[_0x3c0201(0x443)][_0x3c0201(0x328)](_0xa3a055,_0x2cbef9),_0x52189c=Object[_0x3c0201(0x231)](_0x5dd858)[_0x3c0201(0x286)](_0x1b9516=>_0x1b9516[_0x3c0201(0x405)]===_0xe0fba2['DrawingTypeEnum'][_0x3c0201(0x1af)]);if(_0x52189c[_0x3c0201(0x1fd)]===0x0)return{'redos':[],'undos':[]};let _0x54688f=_0x50a5c2(_0xbbfd8c,_0x52189c,{'unitId':_0xa3a055,'sourceSubUnitId':_0x2cbef9,'targetSubUnitId':_0x36c633},_0x2c97d0=>{const _0x1d6446=_0x3c0201;let _0x57b135=this[_0x1d6446(0x9d)][_0x1d6446(0x96)](_0x2c97d0[_0x1d6446(0xa3)]);if(!_0x57b135)return;let _0x2c92c0=this[_0x1d6446(0x3b1)]['getChartSourceSpec'](_0x57b135['id']);if(!_0x2c92c0)return;let {chartType:_0x14525d,context:_0x1ccc30,style:_0x5a9fba,dataAggregation:_0x4198b5}=_0x57b135[_0x1d6446(0x185)]();return{'rangeInfo':_0x2c92c0,'chartType':_0x14525d,'context':_0x1ccc30,'style':_0x5a9fba,'dataAggregation':_0x4198b5};}),_0x303fe7=[],_0x13991c=[];for(let {targetChartId:_0x1e0a08,source:_0x417787}of _0x54688f){let {rangeInfo:_0x40a61d,chartType:_0x40220c,context:_0x2fe1f0,style:_0x116621,dataAggregation:_0x238993}=_0x417787;_0x303fe7[_0x3c0201(0x3d8)]({'id':_0x201ec2[_0x3c0201(0x24d)]['id'],'params':{'unitId':_0xa3a055,'subUnitId':_0x36c633,'chartId':_0x1e0a08,'chartType':_0x40220c,...(0x0,_0x201ec2['toInsertChartMutationSource'])(_0x40a61d),'context':_0x2fe1f0,'style':_0x116621,'dataAggregation':_0x238993}}),_0x13991c[_0x3c0201(0x3d8)]({'id':_0x201ec2[_0x3c0201(0x2bb)]['id'],'params':{'unitId':_0xa3a055,'subUnitId':_0x36c633,'chartId':_0x1e0a08}});}return{'redos':_0x303fe7,'undos':_0x13991c};}return{'redos':[],'undos':[]};}}));}};_0x24189e=_0x5a0cd2([_0x40aea1(0x0,(0x0,_0xe0fba2[_0x351b7e(0x2f8)])(_0xe0fba2[_0x351b7e(0x238)])),_0x40aea1(0x1,(0x0,_0xe0fba2[_0x351b7e(0x2f8)])(_0x2e7a19[_0x351b7e(0x241)])),_0x40aea1(0x2,(0x0,_0xe0fba2[_0x351b7e(0x2f8)])(_0x42712d['ISheetDrawingService'])),_0x40aea1(0x3,(0x0,_0xe0fba2['Inject'])(_0x201ec2[_0x351b7e(0x3bd)])),_0x40aea1(0x4,(0x0,_0xe0fba2[_0x351b7e(0x2f8)])(_0x201ec2[_0x351b7e(0x36a)]))],_0x24189e);let _0x41a5ae=_0x15bae2=>_0x15bae2[_0x351b7e(0x2a3)](_0xe0fba2[_0x351b7e(0x282)][_0x351b7e(0x3fd)])['getUnitId'](),_0x1cc955=_0x410df9=>{const _0x18575f=_0x351b7e;var _0x10f86a;return(_0x10f86a=_0x410df9[_0x18575f(0x2a3)](_0xe0fba2[_0x18575f(0x282)][_0x18575f(0x3fd)])['getActiveSheet']())==null?void 0x0:_0x10f86a[_0x18575f(0x1a0)]();};function _0x119e72(){const _0x54c27c=_0x351b7e;var _0x29848d;let _0x9e88d1=(0x0,_0x4fef69[_0x54c27c(0x2dc)])(_0x5d8988),_0x2f04af=(0x0,_0x4fef69[_0x54c27c(0x2dc)])(_0x201ec2[_0x54c27c(0x3bd)]),_0x41be1b=(0x0,_0x4fef69[_0x54c27c(0x2dc)])(_0x201ec2['SheetsChartService']),_0x45ad38=(0x0,_0x4fef69[_0x54c27c(0x2dc)])(_0xe0fba2[_0x54c27c(0x3f9)]),_0x5be962=(0x0,_0x4fef69['useDependency'])(_0xe0fba2[_0x54c27c(0x44b)]),_0x23210f=(0x0,_0x201ec2['getAllowedChartTypes'])(_0x5be962),_0x5b2b42=(0x0,_0xd79b15[_0x54c27c(0x2ce)])(()=>{const _0x41351b=_0x54c27c;let _0x3899fe=_0x446ceb(_0x32093c[_0x41351b(0x10d)](),_0x23210f);return(0x0,_0x1e42e6[_0x41351b(0x272)])(_0x3899fe[_0x41351b(0xfc)](_0x37b58d=>({'id':_0x37b58d['id'],'label':_0x45ad38['t'](_0x41351b(0x144)+_0x37b58d['labelId']),'pieSecondaryPlotType':_0x37b58d[_0x41351b(0x159)],'value':_0x37b58d[_0x41351b(0x40b)]})));},[_0x23210f,_0x45ad38]),_0x580239=(0x0,_0x4fef69[_0x54c27c(0x1e3)])(_0x2f04af[_0x54c27c(0x1a8)],_0x2f04af[_0x54c27c(0x267)]),_0x351ed7=_0x580239?_0x41be1b['getChartDataSource'](_0x580239['id']):void 0x0,_0x297c3c=(0x0,_0x4fef69[_0x54c27c(0x1e3)])(_0x351ed7==null?void 0x0:_0x351ed7[_0x54c27c(0x1d9)],_0x351ed7==null?void 0x0:_0x351ed7[_0x54c27c(0x283)]()),_0x42d9e5=Array['isArray'](_0x297c3c),_0x21c41c=_0x297c3c&&!_0x42d9e5&&_0x297c3c[_0x54c27c(0x14a)]?_0x4a5d1e[_0x54c27c(0x38a)][_0x54c27c(0x21f)]:_0x4a5d1e[_0x54c27c(0x38a)][_0x54c27c(0x201)],_0x32bf80=_0x42d9e5?(_0x29848d=_0x297c3c[0x0])==null?void 0x0:_0x29848d['range']:_0x297c3c==null?void 0x0:_0x297c3c[_0x54c27c(0x255)];return(0x0,_0xc43640[_0x54c27c(0x3aa)])(_0x54c27c(0x264),{'className':'univer-flex\x20univer-flex-col\x20univer-gap-3\x20univer-pb-5','children':(0x0,_0xc43640['jsx'])(_0x1e42e6[_0x54c27c(0x29e)],{'chartTypeOptions':_0x5b2b42,'dataSourceControl':(0x0,_0xc43640[_0x54c27c(0x3aa)])(_0x4746f9,{'dataRange':_0x297c3c,'primaryRange':_0x32bf80}),'categoryToggleLabel':_0x45ad38['t'](_0x54c27c(0x170),_0x21c41c===_0x4a5d1e[_0x54c27c(0x38a)][_0x54c27c(0x21f)]?_0x21c41c+'\x20'+(((_0x32bf80==null?void 0x0:_0x32bf80[_0x54c27c(0x2e1)][_0x54c27c(0x171)])??0x0)+0x1):_0x21c41c+'\x20'+(0x0,_0xe0fba2[_0x54c27c(0x140)])((_0x32bf80==null?void 0x0:_0x32bf80['range'][_0x54c27c(0x1da)])??0x0)),'orientationControl':_0x42d9e5?void 0x0:(0x0,_0xc43640[_0x54c27c(0x3aa)])(_0x5c25d9[_0x54c27c(0x1dd)],{'size':_0x54c27c(0x364),'onClick':()=>_0x9e88d1[_0x54c27c(0xeb)](_0x21c41c===_0x4a5d1e[_0x54c27c(0x38a)][_0x54c27c(0x21f)]?_0x4a5d1e[_0x54c27c(0x38a)][_0x54c27c(0x201)]:_0x4a5d1e[_0x54c27c(0x38a)]['Row']),'children':_0x45ad38['t']('sheets-chart-ui.common.switchRowColumn')})})});}function _0x4746f9(_0x39797a){const _0x213513=_0x351b7e;let {dataRange:_0x30ee97,primaryRange:_0x524eae}=_0x39797a,_0x1606ab=(0x0,_0x4fef69[_0x213513(0x2dc)])(_0x5d8988),_0x19cefe=(0x0,_0x4fef69[_0x213513(0x2dc)])(_0xe0fba2[_0x213513(0x3f9)]),_0x3ac144=(0x0,_0x4fef69['useDependency'])(_0xe0fba2['IUniverInstanceService']),[_0x2d2907,_0x19ceb0]=(0x0,_0xd79b15[_0x213513(0x14d)])(!0x1),[_0x2d4fa5,_0x377305]=(0x0,_0xd79b15['useState'])(!0x1),_0x6b0920=_0x41a5ae(_0x3ac144),_0x4a82c7=_0x1cc955(_0x3ac144);(0x0,_0xd79b15[_0x213513(0xf4)])(()=>{const _0x3a2401=_0x213513;_0x1606ab[_0x3a2401(0x35a)](_0x2d2907);},[_0x2d2907,_0x1606ab]);let _0x4c02c3=(0x0,_0xd79b15[_0x213513(0x2ce)])(()=>(0x0,_0xe0fba2[_0x213513(0x3dd)])(async _0x9522e=>{const _0x22d233=_0x213513;var _0x54ca4b;if(_0x32dc36(_0x30ee97,_0x3ac144)===_0x9522e)return;let _0x3fc66d=_0x9522e['split'](',')[_0x22d233(0x286)](Boolean)[_0x22d233(0xfc)](_0x488a9e[_0x22d233(0x269)])[0x0];if(!_0x3fc66d)return;let {unitId:_0x5bc8a3,sheetName:_0x2f4cd9,range:_0x35916a}=_0x3fc66d,_0x19ab1e=_0x5bc8a3||_0x6b0920,_0x397b77=((_0x54ca4b=_0x3ac144['getUnit'](_0x19ab1e)[_0x22d233(0x23e)](_0x2f4cd9))==null?void 0x0:_0x54ca4b[_0x22d233(0x1a0)]())||(_0x524eae==null?void 0x0:_0x524eae[_0x22d233(0x2b0)])||_0x4a82c7;_0x397b77&&_0x1606ab['setDataRange']({'rangeInfo':{'range':_0x35916a,'unitId':_0x19ab1e,'subUnitId':_0x397b77}});},0x12c,{'leading':!0x1,'maxWait':0x3e8,'trailing':!0x0}),[_0x30ee97,_0x524eae,_0x1606ab,_0x4a82c7,_0x6b0920,_0x3ac144]);return(0x0,_0xd79b15[_0x213513(0xf4)])(()=>()=>_0x4c02c3[_0x213513(0x321)](),[_0x4c02c3]),(0x0,_0xc43640[_0x213513(0x3aa)])(_0x213513(0x264),{'className':'univer-flex\x20univer-flex-col\x20univer-gap-3','children':(0x0,_0xc43640['jsxs'])(_0x213513(0x264),{'children':[(0x0,_0xc43640[_0x213513(0x3aa)])(_0x1e42e6[_0x213513(0x2e7)],{'title':_0x19cefe['t'](_0x213513(0x1e9))}),(0x0,_0xc43640['jsx'])(_0x1dbfa7[_0x213513(0x152)],{'supportAcrossSheet':!0x0,'keepSheetReference':!0x0,'maxRangeCount':0x1,'unitId':_0x6b0920,'subUnitId':_0x4a82c7,'initialValue':_0x30ee97?_0x32dc36(_0x30ee97,_0x3ac144):'','onChange':(_0x538016,_0x29d252)=>_0x4c02c3(_0x29d252),'onFocusChange':_0x5a4fe3=>{_0x2d4fa5||_0x19ceb0(_0x5a4fe3);},'onRangeSelectorDialogVisibleChange':_0x1db02f=>{_0x377305(_0x1db02f),_0x19ceb0(_0x1db02f);}})]})});}function _0x5f0ff0(){const _0x14c0dd=_0x351b7e;let [_0x382c8a,_0x533f4e]=(0x0,_0xd79b15[_0x14c0dd(0x14d)])(_0x1e42e6['ChartEditPanelTab'][_0x14c0dd(0x2c4)]),_0x561d4c=(0x0,_0x4fef69[_0x14c0dd(0x2dc)])(_0xe0fba2[_0x14c0dd(0x44b)]),_0x4372fe=(0x0,_0x4fef69[_0x14c0dd(0x2dc)])(_0xe0fba2[_0x14c0dd(0x3f9)]),_0x38b7cf=(0x0,_0x4fef69['useDependency'])(_0x5d8988),_0x110077=(0x0,_0x4fef69[_0x14c0dd(0x2dc)])(_0x201ec2[_0x14c0dd(0x3bd)]),_0x1cd9ff=(0x0,_0x4fef69[_0x14c0dd(0x2dc)])(_0x201ec2['SheetsChartService']),_0x21585d=(0x0,_0x4fef69[_0x14c0dd(0x1e3)])(_0x110077[_0x14c0dd(0x1a8)],_0x110077[_0x14c0dd(0x267)]),_0x552c63=(0x0,_0x4fef69['useObservable'])(_0x38b7cf[_0x14c0dd(0x424)],null),_0x5276b1=(0x0,_0xd79b15['useMemo'])(()=>{const _0x3a54a2=_0x14c0dd;var _0x4718ff;if(!_0x21585d)return null;let _0x1cb92d=_0x1cd9ff['getChartSourceSpec'](_0x21585d['id']);if(!_0x1cb92d)return null;let _0x3e98d5=Array[_0x3a54a2(0xde)](_0x1cb92d)?(_0x4718ff=_0x1cb92d[0x0])==null?void 0x0:_0x4718ff['range']:_0x1cb92d['rangeInfo'];return _0x3e98d5?new _0x1e42e6[(_0x3a54a2(0x253))](_0x21585d,new _0x201ec2[(_0x3a54a2(0x200))]({'unitId':_0x3e98d5[_0x3a54a2(0x12d)],'subUnitId':_0x3e98d5[_0x3a54a2(0x2b0)],'chartId':_0x21585d['id'],'injector':_0x561d4c})):null;},[_0x21585d,_0x561d4c,_0x1cd9ff]);if((0x0,_0xd79b15[_0x14c0dd(0xf4)])(()=>{const _0x329569=_0x14c0dd;var _0x3f10ba,_0x2d30b1;_0x21585d&&(_0x552c63==null?void 0x0:_0x552c63[_0x329569(0x2ff)])===_0x21585d['id']&&(((_0x3f10ba=_0x552c63[_0x329569(0x1df)])==null?void 0x0:_0x3f10ba['tab'])===_0x1e42e6[_0x329569(0x428)]['Style']&&_0x533f4e(_0x1e42e6[_0x329569(0x428)]['Style']),((_0x2d30b1=_0x552c63[_0x329569(0x1df)])==null?void 0x0:_0x2d30b1[_0x329569(0x24c)])===_0x1e42e6['ChartEditPanelTab'][_0x329569(0x2c4)]&&_0x533f4e(_0x1e42e6[_0x329569(0x428)][_0x329569(0x2c4)]));},[_0x21585d,_0x552c63]),!_0x5276b1)return null;let _0x1a8d5b=(0x0,_0xc43640['jsx'])(_0x14c0dd(0x264),{'className':'univer-flex\x20univer-min-h-full\x20univer-w-full\x20univer-flex-col\x20univer-bg-gray-0\x20dark:!univer-bg-gray-900','children':(0x0,_0xc43640[_0x14c0dd(0x3aa)])(_0x1e42e6[_0x14c0dd(0x210)],{'ariaLabel':_0x4372fe['t']('sheets-chart-ui.common.editChart'),'activeTab':_0x382c8a,'onTabChange':_0x533f4e,'tabListClassName':_0x14c0dd(0x43c),'panelClassName':_0x382c8a===_0x1e42e6[_0x14c0dd(0x428)][_0x14c0dd(0xcd)]?_0x14c0dd(0x1bd):'univer-overflow-visible','tabs':[{'id':_0x1e42e6['ChartEditPanelTab'][_0x14c0dd(0x2c4)],'panelId':_0x14c0dd(0x3ae),'title':_0x4372fe['t']('sheets-chart-ui.common.setup'),'content':(0x0,_0xc43640[_0x14c0dd(0x3aa)])(_0x119e72,{})},{'id':_0x1e42e6[_0x14c0dd(0x428)][_0x14c0dd(0xcd)],'panelId':_0x14c0dd(0x35e),'title':_0x4372fe['t'](_0x14c0dd(0x11a)),'content':(0x0,_0xc43640['jsx'])(_0x3e5160,{'defaultValues':_0x54e319})}]})});return(0x0,_0xc43640['jsx'])(_0x1e42e6[_0x14c0dd(0x19b)],{'chartUIService':_0x38b7cf,'hostAdapter':_0x5276b1,'children':_0x1a8d5b});}let _0x2e5479=class extends _0xe0fba2[_0x351b7e(0x304)]{constructor(_0x4d7844){const _0x36e9c5=_0x351b7e;super(),this['disposeWithMe'](_0x4d7844[_0x36e9c5(0x29b)](_0x3d7cdd,_0x5f0ff0));}};_0x2e5479=_0x5a0cd2([_0x40aea1(0x0,(0x0,_0xe0fba2['Inject'])(_0x4fef69['ComponentManager']))],_0x2e5479);let _0x49abb4=class extends _0xe0fba2[_0x351b7e(0x304)]{constructor(_0x1d3457,_0x2a5eb5,_0x14a3f1,_0x322c88,_0x1b733e,_0x5a628f,_0x33a624,_0x598011,_0x371e81){const _0x24e75f=_0x351b7e;super(),this['_drawingManagerService']=_0x1d3457,this[_0x24e75f(0x9d)]=_0x2a5eb5,this[_0x24e75f(0x259)]=_0x14a3f1,this['_menuManagerService']=_0x322c88,this['_sheetCanvasPopManagerService']=_0x1b733e,this[_0x24e75f(0x2d4)]=_0x5a628f,this[_0x24e75f(0x442)]=_0x33a624,this[_0x24e75f(0x404)]=_0x598011,this[_0x24e75f(0xf8)]=_0x371e81,_0x2d50c7(this,_0x24e75f(0xe4),null),_0x2d50c7(this,_0x24e75f(0x38f),!0x1),this['_initMenus']();}[_0x351b7e(0x183)](){const _0x43b4cf=_0x351b7e;this[_0x43b4cf(0x417)](),super[_0x43b4cf(0x183)]();}[_0x351b7e(0x3c7)](){const _0x2b3ec8=_0x351b7e;this['_panelInitialized']||(this[_0x2b3ec8(0x38f)]=!0x0,this[_0x2b3ec8(0x3f2)](this[_0x2b3ec8(0x2d4)][_0x2b3ec8(0x288)](_0x51a9c0=>{const _0x18d67b=_0x2b3ec8;if(_0x51a9c0['id']!==_0x577343['id'])return;let _0x3d9478=_0x51a9c0[_0x18d67b(0x1e0)];this[_0x18d67b(0x446)](_0x3d9478[_0x18d67b(0xa3)],_0x3d9478[_0x18d67b(0x1df)]);})));}[_0x351b7e(0x446)](_0x26ac0a,_0x1de945){const _0x27715d=_0x351b7e;let _0xf87529=this['_chartModelService'][_0x27715d(0x96)](_0x26ac0a);_0xf87529&&(this[_0x27715d(0x9d)][_0x27715d(0x410)](_0xf87529),this[_0x27715d(0x2f9)](),this[_0x27715d(0x442)]['setChartEditorOpen'](!0x0),this[_0x27715d(0x442)][_0x27715d(0x217)](_0x26ac0a,_0x1de945??null));}[_0x351b7e(0x417)](){const _0x1f396a=_0x351b7e;let _0x519c87=this[_0x1f396a(0xe4)];this[_0x1f396a(0xe4)]=null,this[_0x1f396a(0x3df)](),_0x519c87==null||_0x519c87['dispose']();}['_initMenus'](){const _0x293e66=_0x351b7e;this[_0x293e66(0x230)][_0x293e66(0x34e)]({[_0x4fef69[_0x293e66(0x3b0)]['MEDIA']]:{[_0x3b438b['id']]:{'order':0x4,'menuItemFactory':_0x3a6f3e}}}),this[_0x293e66(0x31a)][_0x293e66(0x199)](_0xe0fba2['DrawingTypeEnum'][_0x293e66(0x1af)],(_0x381e66,_0x5e793b,_0x3ce1e4,_0x2f1d55)=>[{'label':this[_0x293e66(0xf8)]['t']('sheets-chart-ui.common.editChart'),'index':0x0,'commandId':_0x577343['id'],'commandParams':{'unitId':_0x381e66,'subUnitId':_0x5e793b,'drawingId':_0x3ce1e4},'disable':_0x2f1d55!==_0xe0fba2[_0x293e66(0x371)][_0x293e66(0x1af)]},{'label':this['_localeService']['t']('sheets-chart-ui.common.deleteChart'),'index':0x1,'commandId':_0x42712d['RemoveSheetDrawingCommand']['id'],'commandParams':{'unitId':_0x381e66,'drawings':[{'unitId':_0x381e66,'subUnitId':_0x5e793b,'drawingId':_0x3ce1e4,'drawingType':_0x2f1d55}]},'disable':!0x1}],_0x293e66(0x45c));}[_0x351b7e(0x2f9)](){const _0x1ecf8d=_0x351b7e;this[_0x1ecf8d(0xe4)]=this[_0x1ecf8d(0x259)][_0x1ecf8d(0x3c5)]({'id':_0x3d7cdd,'header':{'title':this[_0x1ecf8d(0xf8)]['t'](_0x1ecf8d(0x37f))},'children':{'label':_0x3d7cdd},'onClose':()=>{const _0x2f4624=_0x1ecf8d;this[_0x2f4624(0xe4)]=null,this[_0x2f4624(0x3df)]();}});}['_clearPanelState'](){const _0x1509d9=_0x351b7e;this['_sheetsChartUIService'][_0x1509d9(0x284)](!0x1),this[_0x1509d9(0x442)][_0x1509d9(0x2fb)](),this[_0x1509d9(0x9d)]['activeChartModel']&&this[_0x1509d9(0x9d)][_0x1509d9(0x410)](null),this['_drawingManagerService']['focusDrawing'](null),this['_contextService'][_0x1509d9(0x103)](_0xe0fba2[_0x1509d9(0x36e)],!0x1);}};_0x49abb4=_0x5a0cd2([_0x40aea1(0x0,_0x3543bc[_0x351b7e(0x101)]),_0x40aea1(0x1,(0x0,_0xe0fba2[_0x351b7e(0x2f8)])(_0x201ec2[_0x351b7e(0x3bd)])),_0x40aea1(0x2,(0x0,_0xe0fba2[_0x351b7e(0x2f8)])(_0x4fef69[_0x351b7e(0x3a9)])),_0x40aea1(0x3,_0x4fef69[_0x351b7e(0x41a)]),_0x40aea1(0x4,(0x0,_0xe0fba2['Inject'])(_0x270231[_0x351b7e(0x1b6)])),_0x40aea1(0x5,_0xe0fba2[_0x351b7e(0x370)]),_0x40aea1(0x6,_0x5d8988),_0x40aea1(0x7,_0xe0fba2[_0x351b7e(0x19d)]),_0x40aea1(0x8,(0x0,_0xe0fba2[_0x351b7e(0x2f8)])(_0xe0fba2['LocaleService']))],_0x49abb4);let _0x2654df=class extends _0xe0fba2[_0x351b7e(0x304)]{constructor(_0x45fac8,_0x4512de,_0x1b0568,_0x2955cc,_0x76cb59){const _0x241aaa=_0x351b7e;super(),this[_0x241aaa(0x2c5)]=_0x45fac8,this[_0x241aaa(0x98)]=_0x4512de,this[_0x241aaa(0x443)]=_0x1b0568,this[_0x241aaa(0x9d)]=_0x2955cc,this['_sheetsChartService']=_0x76cb59,_0x2d50c7(this,_0x241aaa(0x191),void 0x0),this[_0x241aaa(0x2ec)]();}get[_0x351b7e(0x2fa)](){const _0x28e00a=_0x351b7e;return this[_0x28e00a(0x443)][_0x28e00a(0x26f)]();}['_initCopyPaste'](){const _0x50d630=_0x351b7e;this['disposeWithMe'](this[_0x50d630(0x98)]['addClipboardHook']({'id':_0x201ec2[_0x50d630(0x121)],'onBeforeCopyFocusedObject':(_0x44085c,_0x21dbb9,_0x283623)=>{const _0x5f15b2=_0x50d630;this[_0x5f15b2(0x191)]=null;let _0x2b82d2=this[_0x5f15b2(0x2fa)][_0x5f15b2(0x286)](_0xe52783=>this[_0x5f15b2(0x13d)](_0xe52783));return _0x2b82d2['length']!==0x0&&(this['_copyInfo']={'unitId':_0x44085c,'subUnitId':_0x21dbb9,'copyType':_0x283623,'drawings':_0x2b82d2},!0x0);},'onBeforeCopy':(_0x56a52c,_0x4152de,_0x173e4d,_0x537940)=>{this['_copyInfo']=null,this['_createCopyInfoByRange'](_0x56a52c,_0x4152de,_0x173e4d,_0x537940);},'onPasteCells':(_0x597d59,_0xd429dc,_0x8dd969,_0x425006)=>{const _0xbe99b4=_0x50d630;if(!_0x425006[_0xbe99b4(0x1f5)]||!_0x597d59||!this[_0xbe99b4(0x191)])return{'redos':[],'undos':[]};let {pasteType:_0x4e22e2}=_0x425006;return _0x4e22e2===_0x270231[_0xbe99b4(0x1f4)]['DEFAULT_PASTE']?this['_generatePasteMutations'](_0xd429dc,this['_copyInfo'][_0xbe99b4(0x3f4)]===_0x270231[_0xbe99b4(0x33d)][_0xbe99b4(0x2ad)]):{'redos':[],'undos':[]};}}));}['_createCopyInfoByRange'](_0xa16d3d,_0x174444,_0x5af534,_0x15223c){const _0xa1a824=_0x351b7e;let _0xef40e0=this[_0xa1a824(0x2c5)]['getSkeleton'](_0xa16d3d,_0x174444);if(!_0xef40e0)return;let _0x54922c=(0x0,_0x2e7a19[_0xa1a824(0xe0)])(_0xef40e0,_0x5af534);if(!_0x54922c)return;let {startX:_0x1c4a51,endX:_0x16a426,startY:_0x149a46,endY:_0x3b9c69}=_0x54922c,_0x5e3010=this[_0xa1a824(0x443)][_0xa1a824(0x328)](_0xa16d3d,_0x174444),_0x1bd84e=[];for(let [_0x55f997,_0x2c5292]of Object[_0xa1a824(0xbe)](_0x5e3010)){if(!this[_0xa1a824(0x13d)](_0x2c5292))continue;let {transform:_0x2a2dbc}=_0x2c5292;if(!_0x2a2dbc)continue;let {left:_0x20d6f9=0x0,top:_0x1f4eae=0x0,width:_0xdea720=0x0,height:_0x579e77=0x0}=_0x2a2dbc;_0x1c4a51<=_0x20d6f9&&_0x16a426>=_0x20d6f9+_0xdea720&&_0x149a46<=_0x1f4eae&&_0x3b9c69>=_0x1f4eae+_0x579e77&&_0x1bd84e[_0xa1a824(0x3d8)](_0x2c5292);}_0x1bd84e[_0xa1a824(0x1fd)]>0x0&&(this[_0xa1a824(0x191)]={'unitId':_0xa16d3d,'subUnitId':_0x174444,'copyType':_0x15223c,'copyRange':_0x5af534,'drawings':_0x1bd84e});}[_0x351b7e(0x13d)](_0x268cd2){const _0x5aed32=_0x351b7e;return _0x268cd2[_0x5aed32(0x405)]===_0xe0fba2[_0x5aed32(0x371)]['DRAWING_CHART']&&this[_0x5aed32(0x3b1)][_0x5aed32(0x192)](_0x268cd2[_0x5aed32(0x12d)],_0x268cd2['drawingId'])===_0x268cd2[_0x5aed32(0x2b0)];}[_0x351b7e(0x1cf)](_0x33febb,_0x46b759){const _0x174b83=_0x351b7e;let {unitId:_0x5cabec,subUnitId:_0x344c49,range:_0x4fb11}=_0x33febb,_0x46ae26=this[_0x174b83(0x2c5)][_0x174b83(0x37e)](_0x5cabec,_0x344c49);if(!_0x46ae26)return{'redos':[],'undos':[]};let _0x3b9675=(0x0,_0x2e7a19['discreteRangeToRange'])(_0x4fb11),{unitId:_0x509364,subUnitId:_0x48609c,copyRange:_0x4e3f83,drawings:_0x553a33}=this[_0x174b83(0x191)],_0x109206=this[_0x174b83(0x2c5)][_0x174b83(0x37e)](_0x509364,_0x48609c);if(!_0x109206)return{'redos':[],'undos':[]};let _0x310d56=[],_0x927b59=[];for(let _0x41a6f3 of _0x553a33){let {drawingId:_0xb4c4d5,transform:_0x5424be,sheetTransform:_0xed37a0}=_0x41a6f3,_0x29df93=this[_0x174b83(0x9d)][_0x174b83(0x96)](_0xb4c4d5);if(!_0x29df93||!_0x5424be||!_0xed37a0)continue;let _0x2a5b88=this[_0x174b83(0x320)]({'transform':_0x5424be,'sheetTransform':_0xed37a0},{'skeleton':_0x109206,'range':_0x4e3f83},{'skeleton':_0x46ae26,'range':_0x3b9675});if(_0x46b759){let {redos:_0x307a71,undos:_0x1fb2ff}=this[_0x174b83(0x384)]({'fromUnitId':_0x509364,'fromSubUnitId':_0x48609c,'toUnitId':_0x5cabec,'toSubUnitId':_0x344c49,'drawing':_0x41a6f3,'newTransforms':_0x2a5b88},_0x29df93);_0x310d56[_0x174b83(0x3d8)](..._0x307a71),_0x927b59[_0x174b83(0x3d8)](..._0x1fb2ff);continue;}let {redos:_0x3fd09f,undos:_0x53753d}=this[_0x174b83(0x318)]({'toUnitId':_0x5cabec,'toSubUnitId':_0x344c49,'drawing':_0x41a6f3,'newTransforms':_0x2a5b88},_0x29df93);_0x310d56[_0x174b83(0x3d8)](..._0x3fd09f),_0x927b59[_0x174b83(0x3d8)](..._0x53753d);}return{'redos':_0x310d56,'undos':_0x927b59};}[_0x351b7e(0x384)](_0x1299b8,_0x4ccc14){const _0x106edb=_0x351b7e;let {fromUnitId:_0x3d37c2,fromSubUnitId:_0x448782,toUnitId:_0x50a41d,toSubUnitId:_0x1b0831,drawing:_0x64dd13,newTransforms:_0x23a900}=_0x1299b8,_0x26c606={..._0x64dd13,'unitId':_0x50a41d,'subUnitId':_0x1b0831,'transform':_0x23a900['transform'],'sheetTransform':_0x23a900[_0x106edb(0xab)]};if(_0x50a41d===_0x3d37c2&&_0x1b0831===_0x448782){let {redo:_0x4d25c3,undo:_0x3f158f,objects:_0x38b90a}=this[_0x106edb(0x443)][_0x106edb(0x18e)]([_0x26c606]);return{'redos':[{'id':_0x42712d[_0x106edb(0x27c)]['id'],'params':{'unitId':_0x50a41d,'subUnitId':_0x1b0831,'type':_0x42712d[_0x106edb(0x306)][_0x106edb(0x28d)],'op':_0x4d25c3,'objects':_0x38b90a}}],'undos':[{'id':_0x42712d[_0x106edb(0x27c)]['id'],'params':{'unitId':_0x50a41d,'subUnitId':_0x1b0831,'type':_0x42712d[_0x106edb(0x306)][_0x106edb(0x28d)],'op':_0x3f158f,'objects':_0x38b90a}}]};}{let _0x431b33=this[_0x106edb(0x443)][_0x106edb(0x17c)]([_0x64dd13]),_0x7a24d3=this[_0x106edb(0x443)][_0x106edb(0x95)]([_0x26c606]),_0x43750a=this[_0x106edb(0x3b1)][_0x106edb(0x29a)](_0x4ccc14['id']);if(!_0x43750a)return{'redos':[],'undos':[]};let {chartType:_0x57f714,context:_0x26ee3e,style:_0x12a4cf,dataAggregation:_0x16f070}=_0x4ccc14[_0x106edb(0x185)]();return{'redos':[{'id':_0x42712d['SetDrawingApplyMutation']['id'],'params':{'unitId':_0x3d37c2,'subUnitId':_0x448782,'type':_0x42712d['DrawingApplyType']['REMOVE'],'op':_0x431b33[_0x106edb(0x322)],'objects':_0x431b33[_0x106edb(0x214)]}},{'id':_0x201ec2['RemoveSheetsChartMutation']['id'],'params':{'unitId':_0x3d37c2,'subUnitId':_0x448782,'chartId':_0x64dd13['drawingId']}},{'id':_0x42712d[_0x106edb(0x27c)]['id'],'params':{'unitId':_0x50a41d,'subUnitId':_0x1b0831,'type':_0x42712d[_0x106edb(0x306)][_0x106edb(0x46a)],'op':_0x7a24d3[_0x106edb(0x322)],'objects':_0x7a24d3[_0x106edb(0x214)]}},{'id':_0x201ec2['InsertSheetsChartMutation']['id'],'params':{'unitId':_0x50a41d,'subUnitId':_0x1b0831,'chartId':_0x64dd13[_0x106edb(0xa3)],'chartType':_0x57f714,...(0x0,_0x201ec2['toInsertChartMutationSource'])(_0x43750a),'context':_0x26ee3e,'style':_0x12a4cf,'dataAggregation':_0x16f070}}],'undos':[{'id':_0x42712d[_0x106edb(0x27c)]['id'],'params':{'unitId':_0x3d37c2,'subUnitId':_0x448782,'type':_0x42712d[_0x106edb(0x306)][_0x106edb(0x46a)],'op':_0x431b33[_0x106edb(0x235)],'objects':_0x431b33[_0x106edb(0x214)]}},{'id':_0x201ec2[_0x106edb(0x24d)]['id'],'params':{'unitId':_0x3d37c2,'subUnitId':_0x448782,'chartId':_0x64dd13[_0x106edb(0xa3)],'chartType':_0x57f714,...(0x0,_0x201ec2['toInsertChartMutationSource'])(_0x43750a),'context':_0x26ee3e,'style':_0x12a4cf,'dataAggregation':_0x16f070}},{'id':_0x42712d[_0x106edb(0x27c)]['id'],'params':{'unitId':_0x50a41d,'subUnitId':_0x1b0831,'type':_0x42712d[_0x106edb(0x306)][_0x106edb(0x167)],'op':_0x7a24d3[_0x106edb(0x235)],'objects':_0x7a24d3[_0x106edb(0x214)]}},{'id':_0x201ec2[_0x106edb(0x2bb)]['id'],'params':{'unitId':_0x50a41d,'subUnitId':_0x1b0831,'chartId':_0x64dd13[_0x106edb(0xa3)]}}]};}}[_0x351b7e(0x318)](_0x22a799,_0x9ef554){const _0xdcd927=_0x351b7e;let {toUnitId:_0x2066a8,toSubUnitId:_0x3dd243,drawing:_0x4da59b,newTransforms:_0x409862}=_0x22a799,_0x39e71f=(0x0,_0xe0fba2[_0xdcd927(0x27d)])(),_0xc6bcb2={..._0x4da59b,'unitId':_0x2066a8,'subUnitId':_0x3dd243,'drawingId':_0x39e71f,'transform':_0x409862['transform'],'sheetTransform':_0x409862[_0xdcd927(0xab)]},{redo:_0x12033d,undo:_0x34923d,objects:_0x51eb5c}=this['_sheetDrawingService'][_0xdcd927(0x95)]([_0xc6bcb2]),_0x1cdd49=this[_0xdcd927(0x3b1)][_0xdcd927(0x29a)](_0x9ef554['id']);if(!_0x1cdd49)return{'redos':[],'undos':[]};let {chartType:_0x2470e8,context:_0x5bd0cf,style:_0x4d3ba0,dataAggregation:_0x2f5773}=_0x9ef554['serialize']();return{'redos':[{'id':_0x42712d[_0xdcd927(0x27c)]['id'],'params':{'unitId':_0x2066a8,'subUnitId':_0x3dd243,'type':_0x42712d['DrawingApplyType'][_0xdcd927(0x46a)],'op':_0x12033d,'objects':_0x51eb5c}},{'id':_0x201ec2['InsertSheetsChartMutation']['id'],'params':{'unitId':_0x2066a8,'subUnitId':_0x3dd243,'chartId':_0x39e71f,'chartType':_0x2470e8,...(0x0,_0x201ec2[_0xdcd927(0x2ac)])(_0x1cdd49),'context':_0x5bd0cf,'style':_0x4d3ba0,'dataAggregation':_0x2f5773}}],'undos':[{'id':_0x42712d['SetDrawingApplyMutation']['id'],'params':{'unitId':_0x2066a8,'subUnitId':_0x3dd243,'type':_0x42712d[_0xdcd927(0x306)][_0xdcd927(0x167)],'op':_0x34923d,'objects':_0x51eb5c}},{'id':_0x201ec2['RemoveSheetsChartMutation']['id'],'params':{'unitId':_0x2066a8,'subUnitId':_0x3dd243,'chartId':_0x39e71f}}]};}[_0x351b7e(0x320)](_0x320ba2,_0x332f2b,_0x44ff2d){const _0xb0887e=_0x351b7e;let {range:_0x435706,skeleton:_0x1f67c6}=_0x332f2b,{range:_0x321e06,skeleton:_0x447963}=_0x44ff2d,{transform:_0x3c6560,sheetTransform:_0x3146e4}=_0x320ba2,_0x21b695={..._0x3c6560};if(_0x435706){let _0x99a08a=(0x0,_0x2e7a19[_0xb0887e(0xe0)])(_0x1f67c6,_0x435706),_0x48347f=(0x0,_0x2e7a19[_0xb0887e(0xe0)])(_0x447963,_0x321e06);if(_0x99a08a&&_0x48347f){let _0xb98669=_0x48347f[_0xb0887e(0x261)]-_0x99a08a['startX'],_0x3d86ed=_0x48347f[_0xb0887e(0x137)]-_0x99a08a[_0xb0887e(0x137)];_0x21b695[_0xb0887e(0x150)]=(_0x21b695[_0xb0887e(0x150)]??0x0)+_0xb98669,_0x21b695[_0xb0887e(0x195)]=(_0x21b695[_0xb0887e(0x195)]??0x0)+_0x3d86ed;}}else{let _0x590308=(0x0,_0x2e7a19['attachRangeWithCoord'])(_0x447963,_0x321e06);_0x21b695['left']=_0x590308==null?void 0x0:_0x590308[_0xb0887e(0x261)],_0x21b695[_0xb0887e(0x195)]=_0x590308==null?void 0x0:_0x590308['startY'];}return{'transform':_0x21b695,'sheetTransform':(0x0,_0x42712d[_0xb0887e(0x303)])(_0x21b695,_0x447963)??_0x3146e4};}};_0x2654df=_0x5a0cd2([_0x40aea1(0x0,(0x0,_0xe0fba2[_0x351b7e(0x2f8)])(_0x2e7a19[_0x351b7e(0x10a)])),_0x40aea1(0x1,(0x0,_0xe0fba2[_0x351b7e(0x2f8)])(_0x270231[_0x351b7e(0x475)])),_0x40aea1(0x2,(0x0,_0xe0fba2[_0x351b7e(0x2f8)])(_0x42712d[_0x351b7e(0x22b)])),_0x40aea1(0x3,(0x0,_0xe0fba2['Inject'])(_0x201ec2['ChartModelService'])),_0x40aea1(0x4,(0x0,_0xe0fba2[_0x351b7e(0x2f8)])(_0x201ec2[_0x351b7e(0x36a)]))],_0x2654df);let _0xa422fb=class extends _0xe0fba2[_0x351b7e(0x304)]{constructor(_0xadab52,_0x573bb3,_0x142339,_0x4e62d9){const _0x3361a6=_0x351b7e;super(),this[_0x3361a6(0x2d4)]=_0xadab52,this[_0x3361a6(0xf8)]=_0x573bb3,this[_0x3361a6(0x23f)]=_0x142339,this[_0x3361a6(0x3b1)]=_0x4e62d9,this['_initPermission']();}['_initPermission'](){const _0x2f8a3b=_0x351b7e;this[_0x2f8a3b(0x3f2)](this[_0x2f8a3b(0x2d4)]['beforeCommandExecuted'](_0x5af403=>{const _0x259173=_0x2f8a3b;let _0x46ebfc,_0x314e76;if(_0x5af403['id']===_0x201ec2[_0x259173(0x16f)]['id']){let _0x128904=_0x5af403[_0x259173(0x1e0)];_0x46ebfc=_0x128904['unitId'],_0x314e76=_0x128904['subUnitId'];}else{if(_0x5af403['id']===_0x201ec2[_0x259173(0x398)]['id']||_0x5af403['id']===_0x201ec2[_0x259173(0xe2)]['id']){let _0x4ed4bf=_0x5af403[_0x259173(0x1e0)];_0x46ebfc=_0x4ed4bf[_0x259173(0x12d)],_0x314e76=this['_sheetsChartService']['getSubUnitId'](_0x4ed4bf[_0x259173(0x12d)],_0x4ed4bf['chartModelId']);}}_0x46ebfc&&_0x314e76&&(this[_0x259173(0x23f)][_0x259173(0x281)]({'workbookTypes':[_0x2e7a19[_0x259173(0x117)]],'worksheetTypes':[_0x2e7a19[_0x259173(0x25f)]]},_0x46ebfc,_0x314e76)||this[_0x259173(0x23f)][_0x259173(0x2a6)](this[_0x259173(0xf8)]['t'](_0x259173(0x381))));}));}};_0xa422fb=_0x5a0cd2([_0x40aea1(0x0,(0x0,_0xe0fba2[_0x351b7e(0x2f8)])(_0xe0fba2[_0x351b7e(0x370)])),_0x40aea1(0x1,(0x0,_0xe0fba2[_0x351b7e(0x2f8)])(_0xe0fba2[_0x351b7e(0x3f9)])),_0x40aea1(0x2,(0x0,_0xe0fba2['Inject'])(_0x2e7a19['SheetPermissionCheckController'])),_0x40aea1(0x3,(0x0,_0xe0fba2[_0x351b7e(0x2f8)])(_0x201ec2['SheetsChartService']))],_0xa422fb);let _0x107397=class extends _0xe0fba2[_0x351b7e(0x304)]{constructor(_0x5c6717,_0x28681e){const _0x429435=_0x351b7e;super(),this['_renderService']=_0x28681e,this[_0x429435(0x3f2)](_0x5c6717[_0x429435(0x29b)](this));}[_0x351b7e(0x2bd)](_0x2ebec7){const _0x371f4b=_0x351b7e;return _0x371f4b(0x12d)in _0x2ebec7&&_0x371f4b(0x2b0)in _0x2ebec7;}['exportImage'](_0x4d8963,_0x204d5e){const _0x13c45d=_0x351b7e;return this[_0x13c45d(0x431)][_0x13c45d(0x3db)](_0x4d8963['getId'](),_0x204d5e);}};_0x107397=_0x5a0cd2([_0x40aea1(0x0,(0x0,_0xe0fba2['Inject'])(_0x1e42e6[_0x351b7e(0x394)])),_0x40aea1(0x1,(0x0,_0xe0fba2['Inject'])(_0x591b5a))],_0x107397);let _0x2b5a1c=class extends _0xe0fba2[_0x351b7e(0x392)]{constructor(_0x2914a7=_0x241941,_0x29b985,_0x21bac0,_0x51771b){const _0x23b427=_0x351b7e;super(),this[_0x23b427(0x2cd)]=_0x2914a7,this[_0x23b427(0x1f0)]=_0x29b985,this[_0x23b427(0xfe)]=_0x21bac0,this[_0x23b427(0x2d4)]=_0x51771b;let {..._0x1eca99}=(0x0,_0xe0fba2[_0x23b427(0x16a)])({},_0x241941,this['_config']);this[_0x23b427(0xfe)][_0x23b427(0x360)](_0x55aca2,_0x1eca99),this[_0x23b427(0x2c3)]();}[_0x351b7e(0x125)](){const _0x57bdc4=_0x351b7e;let _0x179906=[[_0x2e5479],[_0x5d8988,{'useClass':_0x434bb3}],[_0x57a861,{'useClass':_0x1a5ddf}],[_0x5736e0],[_0x591b5a],[_0x107397],[_0x49abb4],[_0x1eb24a],[_0x3d0520],[_0x2654df],[_0x24189e],[_0xa422fb]],_0x36fff2=[[_0x2e5479],[_0x49abb4],[_0x3d0520],[_0x1eb24a],[_0x107397],[_0x5d8988],[_0x2654df],[_0x24189e],[_0xa422fb]];_0x179906['forEach'](_0x516136=>this[_0x57bdc4(0x1f0)][_0x57bdc4(0x429)](_0x516136)),(0x0,_0xe0fba2[_0x57bdc4(0x37c)])(this[_0x57bdc4(0x1f0)],_0x36fff2);}[_0x351b7e(0x3e1)](){const _0x31351c=_0x351b7e;var _0x2c6749;(_0x2c6749=this[_0x31351c(0x1f0)][_0x31351c(0x1aa)](_0x49abb4))==null||_0x2c6749[_0x31351c(0x3c7)]();}[_0x351b7e(0x2c3)](){const _0x4f7069=_0x351b7e;[_0x3b438b,_0x577343][_0x4f7069(0x120)](_0x5103e9=>this[_0x4f7069(0x3f2)](this[_0x4f7069(0x2d4)]['registerCommand'](_0x5103e9)));}};_0x2d50c7(_0x2b5a1c,_0x351b7e(0x441),_0xe0fba2[_0x351b7e(0x282)][_0x351b7e(0x3fd)]),_0x2d50c7(_0x2b5a1c,_0x351b7e(0x3a2),'UniverSheetsChartUIPlugin'),_0x2d50c7(_0x2b5a1c,_0x351b7e(0x13f),_0x47d7f2),_0x2d50c7(_0x2b5a1c,_0x351b7e(0x2df),_0x3b3a89),_0x2b5a1c=_0x5a0cd2([(0x0,_0xe0fba2[_0x351b7e(0xdf)])(_0x45eba4[_0x351b7e(0x32a)],_0x3543bc['UniverDrawingPlugin'],_0x120bdc[_0x351b7e(0x290)],_0x2e7a19['UniverSheetsPlugin'],_0x42712d[_0x351b7e(0x3b5)],_0x1e42e6[_0x351b7e(0x450)],_0x201ec2[_0x351b7e(0x3d1)],_0x102b65['UniverSheetsDrawingMobileUIPlugin'],_0x270231['UniverSheetsMobileUIPlugin'],_0x4fef69[_0x351b7e(0x432)]),_0x40aea1(0x1,(0x0,_0xe0fba2[_0x351b7e(0x2f8)])(_0xe0fba2['Injector'])),_0x40aea1(0x2,_0xe0fba2[_0x351b7e(0x42c)]),_0x40aea1(0x3,_0xe0fba2[_0x351b7e(0x370)])],_0x2b5a1c);let _0x5559b2={'scaleX':0x1,'scaleY':0x1};function _0x50e347(_0x17674c){let _0x30c22c=_0x17674c['nativeEvent'];return _0x30c22c instanceof MouseEvent?_0x30c22c:void 0x0;}function _0x3276a5(_0x3b4867){const _0x3348a9=_0x351b7e;let _0x9f6568=_0x3b4867[_0x3348a9(0x3d4)],_0x724cd1=_0x9f6568==null?void 0x0:_0x9f6568[_0x3348a9(0x1b3)];return _0x724cd1 instanceof Element?_0x724cd1:void 0x0;}function _0x11a3d5(_0x29476f){const _0xbcbd37=_0x351b7e;var _0x4e161d;return(_0x4e161d=_0x3276a5(_0x29476f))==null?void 0x0:_0x4e161d[_0xbcbd37(0x452)]();}function _0x52f231(_0x29aaca){const _0x4b8dee=_0x351b7e;return _0x29aaca[_0x4b8dee(0x2aa)]||_0x29aaca[_0x4b8dee(0x19a)]-_0x29aaca[_0x4b8dee(0x150)];}function _0x2ab28a(_0x54ea8d){const _0x9dc23=_0x351b7e;return _0x54ea8d[_0x9dc23(0x196)]||_0x54ea8d[_0x9dc23(0x2c9)]-_0x54ea8d['top'];}function _0x2dbec1(_0x24fd42,_0x4f15ff){const _0x140fe9=_0x351b7e;let _0x3d48bb=_0x24fd42[_0x140fe9(0x1cb)]||(_0x24fd42 instanceof HTMLElement?_0x24fd42['offsetWidth']:0x0),_0x15aabc=_0x24fd42[_0x140fe9(0x142)]||(_0x24fd42 instanceof HTMLElement?_0x24fd42[_0x140fe9(0x126)]:0x0),_0x1bd868=_0x52f231(_0x4f15ff),_0x592d4b=_0x2ab28a(_0x4f15ff);return{'scaleX':_0x3d48bb>0x0&&_0x1bd868>0x0?_0x1bd868/_0x3d48bb:_0x5559b2[_0x140fe9(0x224)],'scaleY':_0x15aabc>0x0&&_0x592d4b>0x0?_0x592d4b/_0x15aabc:_0x5559b2[_0x140fe9(0x17e)]};}function _0x4b8630(_0x2da331,_0x476243,_0x38afc8){const _0x8537ef=_0x351b7e;return{'left':_0x2da331[_0x8537ef(0x150)]+_0x476243['left']*_0x38afc8[_0x8537ef(0x224)],'right':_0x2da331[_0x8537ef(0x150)]+_0x476243[_0x8537ef(0x19a)]*_0x38afc8[_0x8537ef(0x224)],'top':_0x2da331[_0x8537ef(0x195)]+_0x476243[_0x8537ef(0x195)]*_0x38afc8['scaleY'],'bottom':_0x2da331[_0x8537ef(0x195)]+_0x476243[_0x8537ef(0x2c9)]*_0x38afc8[_0x8537ef(0x17e)]};}function _0x2ffd81(_0x2046d8){const _0x29882a=_0x351b7e;let _0x374a7e=_0x3276a5(_0x2046d8),_0x1dec87=_0x2046d8[_0x29882a(0x2cf)][_0x29882a(0x181)];if(_0x374a7e&&_0x1dec87){let _0xaee01=_0x374a7e[_0x29882a(0x452)]();return()=>{const _0x290f65=_0x29882a;let _0x18d151=_0x374a7e[_0x290f65(0x452)]();return(_0x374a7e[_0x290f65(0x366)]||_0x52f231(_0x18d151)>0x0||_0x2ab28a(_0x18d151)>0x0)&&(_0xaee01=_0x18d151),_0x4b8630(_0xaee01,_0x1dec87,_0x2dbec1(_0x374a7e,_0xaee01));};}return()=>{const _0x219971=_0x29882a;let _0x437906=_0x11a3d5(_0x2046d8);if(_0x437906&&_0x1dec87)return _0x4b8630(_0x437906,_0x1dec87,_0x374a7e?_0x2dbec1(_0x374a7e,_0x437906):_0x5559b2);let _0x4f9a05=_0x50e347(_0x2046d8),_0x25eaf7=_0x374a7e&&_0x437906?_0x2dbec1(_0x374a7e,_0x437906):_0x5559b2,_0x37a50d=(_0x4f9a05==null?void 0x0:_0x4f9a05['clientX'])??(_0x437906?_0x437906[_0x219971(0x150)]+_0x2046d8[_0x219971(0x2de)]['x']*_0x25eaf7[_0x219971(0x224)]:_0x2046d8['localPoint']['x']),_0x4b4932=(_0x4f9a05==null?void 0x0:_0x4f9a05[_0x219971(0x3b9)])??(_0x437906?_0x437906[_0x219971(0x195)]+_0x2046d8[_0x219971(0x2de)]['y']*_0x25eaf7[_0x219971(0x17e)]:_0x2046d8[_0x219971(0x2de)]['y']);return{'left':_0x37a50d,'right':_0x37a50d+0x1,'top':_0x4b4932,'bottom':_0x4b4932+0x1};};}function _0x4f9bee(_0x1d4da9){const _0x5db29b=_0x351b7e;return typeof _0x1d4da9==_0x5db29b(0x226)&&Number[_0x5db29b(0xd4)](_0x1d4da9);}function _0x2f2562(_0x37e4d9){const _0x5f0e31=_0x351b7e;if(!_0x37e4d9||typeof _0x37e4d9!=_0x5f0e31(0x164))return!0x0;let {startX:_0x43a0c5,endX:_0x301fa8,startY:_0x4c3707,endY:_0x5b5e1b}=_0x37e4d9;return!_0x4f9bee(_0x43a0c5)||!_0x4f9bee(_0x301fa8)||!_0x4f9bee(_0x4c3707)||!_0x4f9bee(_0x5b5e1b)||_0x301fa8-_0x43a0c5>0x2&&_0x5b5e1b-_0x4c3707>0x2;}function _0x567c3a(_0x4eeee8){const _0x24efab=_0x351b7e;return _0x4eeee8['right']<=_0x4eeee8[_0x24efab(0x150)]||_0x4eeee8[_0x24efab(0x2c9)]<=_0x4eeee8[_0x24efab(0x195)]?!0x1:typeof window>'u'||_0x4eeee8[_0x24efab(0x19a)]>0x0&&_0x4eeee8['bottom']>0x0&&_0x4eeee8[_0x24efab(0x150)]<window[_0x24efab(0x260)]&&_0x4eeee8[_0x24efab(0x195)]<window[_0x24efab(0x20a)];}function _0x5821b7(_0x3f242d){const _0x11ea15=_0x351b7e;var _0x33b999;return _0x3f242d==null||(_0x33b999=_0x3f242d[_0x11ea15(0x3ec)])==null?void 0x0:_0x33b999[_0x11ea15(0x406)](_0x3f242d);}function _0x6db41f(_0x5b0329,_0x5d9291,_0xf7ea58){const _0x18d18e=_0x351b7e;let _0x4d4530=_0x2ffd81(_0x5b0329),_0x4373e1=_0x5821b7(_0x5d9291),_0x3fe06f=_0x4d4530(),_0x52f6c2=new _0x1a141d[(_0x18d18e(0x197))](_0x3fe06f),_0x4f0fa3=new _0xe0fba2[(_0x18d18e(0x30c))](),_0xc64465=!0x1,_0x237d1e=!0x1,_0x58205f=_0x581c60=>_0x2f2562(_0x4373e1)&&_0x567c3a(_0x581c60),_0x3619b6=()=>{_0x237d1e||_0xc64465||(_0x237d1e=!0x0,queueMicrotask(()=>{if(_0x237d1e=!0x1,!_0xc64465){let _0x105884=_0x4d4530();if(!_0x58205f(_0x105884)){_0xf7ea58();return;}_0x52f6c2['next'](_0x105884);}}));};return _0x5d9291&&_0x4f0fa3[_0x18d18e(0x429)](_0x5d9291['subscribe'](_0x3cb52e=>{_0x4373e1=_0x3cb52e,_0x3619b6();})),typeof window<'u'&&_0x4f0fa3[_0x18d18e(0x429)]((0x0,_0x1a141d['merge'])((0x0,_0x1a141d[_0x18d18e(0x188)])(window,_0x18d18e(0x2e8),{'capture':!0x0}),(0x0,_0x1a141d[_0x18d18e(0x188)])(window,'resize'))[_0x18d18e(0x1a6)]((0x0,_0x1a141d[_0x18d18e(0x36d)])(0x10))['subscribe'](_0x3619b6)),{'initialRect':_0x3fe06f,'anchorRect$':_0x52f6c2[_0x18d18e(0x3fb)](),'visible':_0x58205f(_0x3fe06f),'dispose':()=>{const _0x26d324=_0x18d18e;_0xc64465=!0x0,_0x4f0fa3['dispose'](),_0x52f6c2[_0x26d324(0x1f7)]();}};}let _0x17cbb4=_0x351b7e(0x16d),_0x1da5a6=class extends _0xe0fba2['Disposable']{constructor(_0x30302a,_0xb3ca27,_0x579a77,_0x2a2c64,_0x1b6f43,_0x50c8c3,_0x35c72f,_0x1205a0,_0x5e20eb){const _0x11ff8c=_0x351b7e;super(),this[_0x11ff8c(0x9d)]=_0x30302a,this[_0x11ff8c(0x2ea)]=_0xb3ca27,this[_0x11ff8c(0x1d3)]=_0x579a77,this[_0x11ff8c(0x31a)]=_0x2a2c64,this['_sheetCanvasFloatDomManagerService']=_0x1b6f43,this[_0x11ff8c(0x46e)]=_0x50c8c3,this[_0x11ff8c(0x251)]=_0x35c72f,this['_commandService']=_0x1205a0,this[_0x11ff8c(0x1f0)]=_0x5e20eb,_0x2d50c7(this,_0x11ff8c(0x377),null),_0x2d50c7(this,_0x11ff8c(0x462),null),_0x2d50c7(this,'_popupSessionKey',null),this[_0x11ff8c(0x3e0)](),this[_0x11ff8c(0xa7)]();}[_0x351b7e(0x183)](){const _0x409676=_0x351b7e;this['_closePopup'](),super[_0x409676(0x183)]();}[_0x351b7e(0x3e0)](){const _0x346308=_0x351b7e;let _0x3c8245=(0x0,_0x1e42e6[_0x346308(0x350)])({'chartUIService':this[_0x346308(0x46e)],'getHostAdapter':_0x1ede8d=>{const _0x1f3807=_0x346308;let _0x5b472b=this[_0x1f3807(0x9d)][_0x1f3807(0x96)](_0x1ede8d[_0x1f3807(0x2ff)]);if(_0x5b472b&&_0x1ede8d['subUnitId'])return new _0x1e42e6['ChartHostAdapter'](_0x5b472b,new _0x201ec2[(_0x1f3807(0x200))]({'unitId':_0x1ede8d['unitId'],'subUnitId':_0x1ede8d[_0x1f3807(0x2b0)],'chartId':_0x1ede8d['chartId'],'injector':this[_0x1f3807(0x1f0)]}));},'close':()=>this[_0x346308(0x44f)](),'openFullPanel':_0x9c0bbd=>{const _0x1e0897=_0x346308;let {unitId:_0x336d5c,subUnitId:_0x1ce544,drawingId:_0x579d1e,chartId:_0xfb0a85}=_0x9c0bbd,_0x176dd3=(0x0,_0x1e42e6['resolveChartEditPanelRoute'])(_0x9c0bbd[_0x1e0897(0x1b3)]);this[_0x1e0897(0x2d4)][_0x1e0897(0x463)](_0x577343['id'],{'unitId':_0x336d5c,'subUnitId':_0x1ce544??'','drawingId':_0x579d1e??_0xfb0a85,..._0x176dd3?{'route':_0x176dd3}:{}});}});this[_0x346308(0x3f2)](this['_adapterRegistry'][_0x346308(0x29b)](_0x17cbb4,_0x3c8245));}['_subscribeChartEvents'](){const _0x2b56b6=_0x351b7e;this[_0x2b56b6(0x3f2)](this['_chartModelService'][_0x2b56b6(0x3cc)]['subscribe'](_0x4ab7bc=>{const _0x51c8a3=_0x2b56b6;let _0x17e59e=new _0xe0fba2[(_0x51c8a3(0x30c))]();_0x17e59e[_0x51c8a3(0x429)](this[_0x51c8a3(0x2ea)]['on'](_0x4ab7bc['id'],_0x51c8a3(0x30e),_0x37047c=>{this['_openFloatMenu'](_0x4ab7bc['id'],_0x37047c);})),_0x17e59e[_0x51c8a3(0x429)](this[_0x51c8a3(0x2ea)]['on'](_0x4ab7bc['id'],_0x51c8a3(0x2a2),()=>{const _0x34e9f2=_0x51c8a3;this[_0x34e9f2(0x37d)](_0x4ab7bc['id']);})),_0x4ab7bc[_0x51c8a3(0x376)](()=>{const _0x1f0df9=_0x51c8a3;_0x17e59e['dispose'](),this[_0x1f0df9(0x3bf)](_0x4ab7bc['id']);}),this[_0x51c8a3(0x3f2)](_0x17e59e);})),this[_0x2b56b6(0x3f2)]((0x0,_0x1a141d[_0x2b56b6(0xb7)])([this[_0x2b56b6(0x9d)][_0x2b56b6(0x1a8)],this[_0x2b56b6(0x46e)][_0x2b56b6(0x32b)]])[_0x2b56b6(0x1b5)](([_0x49b015,_0x2b1c9a])=>{const _0x31a01f=_0x2b56b6;(!_0x2b1c9a||this['_popupChartId']&&(_0x49b015==null?void 0x0:_0x49b015['id'])!==this['_popupChartId'])&&this[_0x31a01f(0x44f)]();})),this[_0x2b56b6(0x3f2)](this[_0x2b56b6(0x2f2)]['transformChange$'][_0x2b56b6(0x1b5)](({id:_0x30d2d4})=>{const _0x516813=_0x2b56b6;this[_0x516813(0x3bf)](_0x30d2d4);})),this[_0x2b56b6(0x3f2)](this[_0x2b56b6(0x2f2)][_0x2b56b6(0x2fc)]['subscribe'](({id:_0x2de9c5})=>{this['_clearSelectedTarget'](_0x2de9c5);})),this[_0x2b56b6(0x3f2)](this[_0x2b56b6(0x1d3)][_0x2b56b6(0x337)][_0x2b56b6(0x1b5)](_0x3f8d67=>{const _0x568714=_0x2b56b6;this[_0x568714(0x3bf)](_0x3f8d67);}));}[_0x351b7e(0x37d)](_0x3eed59){const _0x1415a2=_0x351b7e;if(this['_chartUIService']['chartEditorOpen'])return;let _0x3db96b=this[_0x1415a2(0x9d)][_0x1415a2(0x96)](_0x3eed59),_0x4cbef6=this[_0x1415a2(0x2f2)][_0x1415a2(0xcb)](_0x3eed59);_0x3db96b&&_0x4cbef6&&this[_0x1415a2(0x2d4)][_0x1415a2(0x463)](_0x577343['id'],{'unitId':_0x4cbef6['unitId'],'subUnitId':_0x4cbef6[_0x1415a2(0x2b0)]??'','drawingId':_0x3eed59});}[_0x351b7e(0x20b)](_0x57be06,_0x13a349){const _0x15ae66=_0x351b7e;if(!this[_0x15ae66(0x46e)][_0x15ae66(0xbd)](_0x57be06))return;let _0x399c4b=this[_0x15ae66(0x9d)]['getChartModel'](_0x57be06),_0x222d46=_0x399c4b?_0xb6de24(_0x399c4b,_0x13a349[_0x15ae66(0x2cf)]):void 0x0;if(!_0x222d46){this[_0x15ae66(0x46e)][_0x15ae66(0x2fb)](),this[_0x15ae66(0x44f)]();return;}let _0x203cd1=this[_0x15ae66(0x2f2)][_0x15ae66(0xcb)](_0x57be06);if(!_0x399c4b||!_0x203cd1){this[_0x15ae66(0x46e)][_0x15ae66(0x2fb)](),this[_0x15ae66(0x44f)]();return;}let _0x4da060=JSON['stringify']([_0x203cd1[_0x15ae66(0x12d)],_0x203cd1[_0x15ae66(0x2b0)],_0x57be06,_0x222d46[_0x15ae66(0x1b3)]]);if(this[_0x15ae66(0x377)]&&this[_0x15ae66(0x193)]===_0x4da060||(this[_0x15ae66(0x46e)][_0x15ae66(0x217)](_0x57be06,_0x222d46[_0x15ae66(0x1df)]),this[_0x15ae66(0x44f)](),!_0x222d46[_0x15ae66(0xb9)]))return;let _0x60e066=_0x6db41f(_0x13a349,_0x203cd1[_0x15ae66(0x127)],()=>this[_0x15ae66(0x418)](_0x57be06));if(!_0x60e066['visible']){_0x60e066[_0x15ae66(0x183)]();return;}let _0x4640ee=this['_sheetCanvasPopManagerService'][_0x15ae66(0x14e)](_0x60e066[_0x15ae66(0x412)],_0x60e066['anchorRect$'],{'componentKey':_0x1e42e6[_0x15ae66(0x32c)],'constrainToCanvas':!0x0,'direction':_0x15ae66(0x277),'offset':[0x0,0x8],'extraProps':{'unitId':_0x203cd1['unitId'],'subUnitId':_0x203cd1[_0x15ae66(0x2b0)],'chartId':_0x57be06,'drawingId':_0x57be06,'element':_0x13a349[_0x15ae66(0x2cf)],'target':_0x222d46[_0x15ae66(0x1b3)],'adapterKey':_0x17cbb4}},_0x203cd1[_0x15ae66(0x12d)],_0x203cd1['subUnitId'])??null;if(!_0x4640ee){_0x60e066[_0x15ae66(0x183)]();return;}let _0x3c043d=new _0xe0fba2[(_0x15ae66(0x30c))]();_0x3c043d[_0x15ae66(0x429)](_0x4640ee),_0x3c043d['add'](_0x60e066),this[_0x15ae66(0x377)]=_0x3c043d,this[_0x15ae66(0x462)]=_0x57be06,this[_0x15ae66(0x193)]=_0x4da060;}[_0x351b7e(0x44f)](){const _0x4d8544=_0x351b7e;var _0x3b93d2;(_0x3b93d2=this[_0x4d8544(0x377)])==null||_0x3b93d2[_0x4d8544(0x183)](),this['_popupDisposable']=null,this[_0x4d8544(0x462)]=null,this[_0x4d8544(0x193)]=null;}[_0x351b7e(0x3bf)](_0x4905ba){const _0x5ce6f0=_0x351b7e;(this[_0x5ce6f0(0x46e)]['isElementEditModeActive'](_0x4905ba)||this[_0x5ce6f0(0x462)]===_0x4905ba)&&(this[_0x5ce6f0(0x46e)][_0x5ce6f0(0x2fb)](),this['_popupChartId']===_0x4905ba&&this[_0x5ce6f0(0x44f)]());}[_0x351b7e(0x418)](_0x21ba4d){const _0x239b52=_0x351b7e;this[_0x239b52(0x3bf)](_0x21ba4d),this[_0x239b52(0x46e)][_0x239b52(0xbd)](_0x21ba4d)&&(this[_0x239b52(0x2ea)][_0x239b52(0x22f)](_0x21ba4d,!0x1),this[_0x239b52(0x2ea)][_0x239b52(0x22f)](_0x21ba4d,!0x0));}};_0x1da5a6=_0x5a0cd2([_0x40aea1(0x0,(0x0,_0xe0fba2['Inject'])(_0x201ec2[_0x351b7e(0x3bd)])),_0x40aea1(0x1,(0x0,_0xe0fba2['Inject'])(_0x591b5a)),_0x40aea1(0x2,_0x57a861),_0x40aea1(0x3,(0x0,_0xe0fba2[_0x351b7e(0x2f8)])(_0x270231[_0x351b7e(0x1b6)])),_0x40aea1(0x4,(0x0,_0xe0fba2['Inject'])(_0x102b65[_0x351b7e(0x30d)])),_0x40aea1(0x5,_0x5d8988),_0x40aea1(0x6,(0x0,_0xe0fba2[_0x351b7e(0x2f8)])(_0x1e42e6[_0x351b7e(0x21b)])),_0x40aea1(0x7,_0xe0fba2[_0x351b7e(0x370)]),_0x40aea1(0x8,(0x0,_0xe0fba2['Inject'])(_0xe0fba2[_0x351b7e(0x44b)]))],_0x1da5a6);function _0x47e4dc({ref:_0xab9532,..._0x58d065}){const _0x2bbd95=_0x351b7e;let {preserveStrokeWidth:_0x41b7a9,icon:_0x5c6734,id:_0x4f358f,className:_0x1976f0,extend:_0x54bd3a,..._0x3696b9}=_0x58d065,_0x27beff=(_0x2bbd95(0x3d6)+_0x4f358f+'\x20'+(_0x1976f0||''))['trim'](),_0x41a13c='_'+(0x0,_0xd79b15[_0x2bbd95(0x37a)])(),_0x18cec4=(0x0,_0xd79b15[_0x2bbd95(0xe1)])(null);return(0x0,_0xd79b15[_0x2bbd95(0x9f)])(_0xab9532,()=>_0x18cec4[_0x2bbd95(0x12e)]),(0x0,_0xd79b15[_0x2bbd95(0x20e)])(()=>{const _0x4f5f8b=_0x2bbd95;if(_0x41b7a9&&_0x18cec4[_0x4f5f8b(0x12e)]&&_0x18cec4[_0x4f5f8b(0x12e)][_0x4f5f8b(0x1fb)]===_0x5c6734[_0x4f5f8b(0x39b)])return _0x19928e(_0x18cec4['current']);},[_0x41b7a9,_0x5c6734]),_0x24b9a4(_0x5c6734,''+_0x4f358f,{'defIds':_0x5c6734[_0x2bbd95(0x2cc)],'idSuffix':_0x41a13c},{'ref':_0x18cec4,'className':_0x27beff,..._0x3696b9},_0x54bd3a);}function _0x24b9a4(_0x87b4c6,_0x25dfe9,_0x1b6ac0,_0x3abb2e,_0x4f7fe8){const _0x1316ac=_0x351b7e;return(0x0,_0xd79b15[_0x1316ac(0x448)])(_0x87b4c6['tag'],{'key':_0x25dfe9,..._0x147bf2(_0x87b4c6,_0x1b6ac0,_0x4f7fe8),..._0x3abb2e},(_0x3f9b7d(_0x87b4c6,_0x1b6ac0)['children']||[])[_0x1316ac(0xfc)]((_0x3fa2a5,_0x2e4509)=>_0x24b9a4(_0x3fa2a5,_0x25dfe9+'-'+_0x87b4c6['tag']+'-'+_0x2e4509,_0x1b6ac0,void 0x0,_0x4f7fe8)));}function _0x147bf2(_0x302c09,_0x9a321b,_0x38116b){const _0x4674cf=_0x351b7e;let _0x5544e7={..._0x302c09['attrs']};_0x38116b!=null&&_0x38116b['colorChannel1']&&_0x5544e7['fill']===_0x4674cf(0x3a7)&&(_0x5544e7[_0x4674cf(0x41b)]=_0x38116b[_0x4674cf(0x3a7)]),_0x38116b!=null&&_0x38116b[_0x4674cf(0x3a7)]&&_0x5544e7[_0x4674cf(0x1ae)]===_0x4674cf(0x3a7)&&(_0x5544e7[_0x4674cf(0x1ae)]=_0x38116b[_0x4674cf(0x3a7)]),_0x302c09['tag']===_0x4674cf(0x147)&&_0x5544e7['id']&&(_0x5544e7['id']+=_0x9a321b['idSuffix']),Object[_0x4674cf(0xbe)](_0x5544e7)[_0x4674cf(0x120)](([_0x22d279,_0xc2289])=>{const _0x1a7e47=_0x4674cf;_0x22d279==='mask'&&typeof _0xc2289==_0x1a7e47(0x39d)&&(_0x5544e7[_0x22d279]=_0xc2289[_0x1a7e47(0x1ce)](/url\(#(.*)\)/,'url(#$1'+_0x9a321b[_0x1a7e47(0x28b)]+')'));});let {defIds:_0x42b384}=_0x9a321b;return!_0x42b384||_0x42b384['length']===0x0?_0x5544e7:(_0x302c09[_0x4674cf(0x39b)]===_0x4674cf(0x2c6)&&_0x5544e7[_0x4674cf(0x330)]&&(_0x5544e7[_0x4674cf(0x330)]+=_0x9a321b[_0x4674cf(0x28b)]),Object[_0x4674cf(0xbe)](_0x5544e7)['forEach'](([_0x1077f5,_0x122f5c])=>{const _0x2a5fb6=_0x4674cf;typeof _0x122f5c==_0x2a5fb6(0x39d)&&(_0x5544e7[_0x1077f5]=_0x122f5c[_0x2a5fb6(0x1ce)](/url\(#(.*)\)/,_0x2a5fb6(0x346)+_0x9a321b[_0x2a5fb6(0x28b)]+')'));}),_0x5544e7);}function _0x3f9b7d(_0x4af645,_0x354c7c){const _0x2fb5b7=_0x351b7e;var _0x31ae3f;let {defIds:_0x2cb09c}=_0x354c7c;return!_0x2cb09c||_0x2cb09c[_0x2fb5b7(0x1fd)]===0x0?_0x4af645:_0x4af645[_0x2fb5b7(0x39b)]===_0x2fb5b7(0x414)&&(_0x31ae3f=_0x4af645[_0x2fb5b7(0x166)])!=null&&_0x31ae3f[_0x2fb5b7(0x1fd)]?{..._0x4af645,'children':_0x4af645['children']['map'](_0x4bd333=>typeof _0x4bd333['attrs']['id']==_0x2fb5b7(0x39d)&&_0x2cb09c&&_0x2cb09c['includes'](_0x4bd333['attrs']['id'])?{..._0x4bd333,'attrs':{..._0x4bd333[_0x2fb5b7(0x2d5)],'id':_0x4bd333[_0x2fb5b7(0x2d5)]['id']+_0x354c7c[_0x2fb5b7(0x28b)]}}:_0x4bd333)}:_0x4af645;}function _0x19928e(_0x19b445){const _0x27953e=_0x351b7e;let _0x2129f9=_0x19b445['viewBox']['baseVal'],_0xf45725=Math[_0x27953e(0xdb)](_0x2129f9[_0x27953e(0x2aa)],_0x2129f9['height']);if(!Number[_0x27953e(0xd4)](_0xf45725)||_0xf45725<=0x0||_0x2129f9['width']<=0x0||_0x2129f9['height']<=0x0)return()=>void 0x0;let _0x5d9adf=0x10/_0xf45725,_0x19f93e=Array[_0x27953e(0xd0)](_0x19b445[_0x27953e(0x1b8)](_0x27953e(0x20f)))[_0x27953e(0x336)](_0x4902b8=>{const _0x5285f5=_0x27953e;let _0x5bb777=getComputedStyle(_0x4902b8),_0x20014d=Number[_0x5285f5(0x380)](_0x5bb777[_0x5285f5(0x3eb)]);return _0x5bb777['stroke']===_0x5285f5(0x11f)||Number['parseFloat'](_0x5bb777['strokeOpacity'])===0x0||_0x5bb777[_0x5285f5(0x40c)]===_0x5285f5(0x3c4)||!Number[_0x5285f5(0xd4)](_0x20014d)||_0x20014d<=0x0?[]:[{'element':_0x4902b8,'hadStyleAttribute':_0x4902b8[_0x5285f5(0x1c4)](_0x5285f5(0x12c)),'originalStrokeWidth':_0x20014d,'strokeWidth':_0x125c34(_0x4902b8[_0x5285f5(0x12c)],_0x5285f5(0x3cf))}];})[_0x27953e(0xfc)](_0x35d561=>({'appliedStrokeWidth':null,'element':_0x35d561[_0x27953e(0x149)],'hadStyleAttribute':_0x35d561['hadStyleAttribute'],'isReleased':!0x1,'originalStrokeWidth':_0x35d561[_0x27953e(0xf5)],'strokeWidth':_0x35d561['strokeWidth']}));if(_0x19f93e[_0x27953e(0x1fd)]===0x0)return()=>void 0x0;let _0x3300d5=(_0x2574b7,_0x3fba0d)=>{const _0x4f744a=_0x27953e;if(_0x2129f9[_0x4f744a(0x2aa)]<=0x0||_0x2129f9[_0x4f744a(0x196)]<=0x0||_0x2574b7<=0x0||_0x3fba0d<=0x0)return;let _0x52c785=Math[_0x4f744a(0x2ee)](_0x2574b7/_0x2129f9[_0x4f744a(0x2aa)],_0x3fba0d/_0x2129f9['height']);!Number['isFinite'](_0x52c785)||_0x52c785<=0x0||_0x19f93e[_0x4f744a(0x120)](_0x167d3b=>{const _0x590fbf=_0x4f744a;if(_0x167d3b[_0x590fbf(0x407)])return;if(_0x167d3b['appliedStrokeWidth']!==null&&(_0x167d3b['element'][_0x590fbf(0x12c)][_0x590fbf(0x21c)](_0x590fbf(0x3cf))!==_0x167d3b[_0x590fbf(0x180)]||_0x167d3b[_0x590fbf(0x149)][_0x590fbf(0x12c)][_0x590fbf(0x132)](_0x590fbf(0x3cf))!==_0x167d3b[_0x590fbf(0x3eb)][_0x590fbf(0x1a4)])){_0x167d3b[_0x590fbf(0x180)]=null,_0x167d3b[_0x590fbf(0x407)]=!0x0;return;}let _0x1b52c5=_0x167d3b[_0x590fbf(0xf5)]*_0x5d9adf/_0x52c785,_0x19924a=Number(_0x1b52c5[_0x590fbf(0x3f3)](0xc))+'px';_0x167d3b[_0x590fbf(0x149)][_0x590fbf(0x12c)][_0x590fbf(0x211)]('stroke-width',_0x19924a,_0x167d3b[_0x590fbf(0x3eb)]['priority']),_0x167d3b[_0x590fbf(0x180)]=_0x19924a;});},_0x432a2c=_0x19b445[_0x27953e(0x452)]();_0x3300d5(_0x432a2c['width'],_0x432a2c[_0x27953e(0x196)]);let _0x280fcb=typeof ResizeObserver>'u'?null:new ResizeObserver(_0x3d3efa=>{const _0x2eb933=_0x27953e;if(_0x3d3efa[_0x2eb933(0x3e8)](_0x173bd5=>_0x173bd5[_0x2eb933(0x1b3)]===_0x19b445)){let _0x30e466=_0x19b445[_0x2eb933(0x452)]();_0x3300d5(_0x30e466[_0x2eb933(0x2aa)],_0x30e466[_0x2eb933(0x196)]);}});return _0x280fcb==null||_0x280fcb['observe'](_0x19b445),()=>{const _0x3ba8d2=_0x27953e;_0x280fcb==null||_0x280fcb[_0x3ba8d2(0x44e)](),_0x19f93e[_0x3ba8d2(0x120)](_0x2ebd6e=>{const _0x3c057e=_0x3ba8d2;_0x2ebd6e[_0x3c057e(0x180)]!==null&&(_0xad6a86(_0x2ebd6e[_0x3c057e(0x149)][_0x3c057e(0x12c)],_0x3c057e(0x3cf),_0x2ebd6e['appliedStrokeWidth'],_0x2ebd6e[_0x3c057e(0x3eb)]['priority'],_0x2ebd6e[_0x3c057e(0x3eb)]),!_0x2ebd6e[_0x3c057e(0x18f)]&&_0x2ebd6e[_0x3c057e(0x149)]['style']['length']===0x0&&_0x2ebd6e['element'][_0x3c057e(0x2a1)]('style'));});};}function _0x125c34(_0x59450e,_0x3e92c7){const _0x23907e=_0x351b7e;return{'priority':_0x59450e[_0x23907e(0x132)](_0x3e92c7),'value':_0x59450e[_0x23907e(0x21c)](_0x3e92c7)};}function _0xad6a86(_0x488329,_0x56863f,_0x2d7271,_0x3ceba0,_0x545018){const _0x43ac52=_0x351b7e;_0x488329[_0x43ac52(0x21c)](_0x56863f)===_0x2d7271&&_0x488329[_0x43ac52(0x132)](_0x56863f)===_0x3ceba0&&(_0x545018[_0x43ac52(0x40b)]?_0x488329[_0x43ac52(0x211)](_0x56863f,_0x545018[_0x43ac52(0x40b)],_0x545018['priority']):_0x488329['removeProperty'](_0x56863f));}_0x47e4dc[_0x351b7e(0xd3)]='UniverIcon';let _0x39c549={'tag':'svg','attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x351b7e(0x11f),'viewBox':_0x351b7e(0xc6),'width':'1em','height':'1em'},'children':[{'tag':_0x351b7e(0x2eb),'attrs':{'fill':'currentColor','d':_0x351b7e(0x3c8)}}]},_0x38cf74=(0x0,_0xd79b15[_0x351b7e(0x108)])(function(_0x48f6f5,_0x34af7f){const _0x23ff80=_0x351b7e;return(0x0,_0xd79b15['createElement'])(_0x47e4dc,Object[_0x23ff80(0x38d)]({},_0x48f6f5,{'id':_0x23ff80(0x25a),'ref':_0x34af7f,'icon':_0x39c549}));});_0x38cf74[_0x351b7e(0xd3)]=_0x351b7e(0x23a);let _0xb2b40a=class extends _0xe0fba2['Disposable']{constructor(_0x18a8a1,_0x2dd1c3){const _0x14ef29=_0x351b7e;super(),this[_0x14ef29(0x334)]=_0x18a8a1,this[_0x14ef29(0x110)]=_0x2dd1c3,this['_registerIcons'](),this['_registerComponents']();}[_0x351b7e(0xcf)](){const _0x2689db=_0x351b7e;this[_0x2689db(0x3f2)](this[_0x2689db(0x110)]['register']({'PenIcon':_0x38cf74}));}[_0x351b7e(0x1c8)](){const _0x179f35=_0x351b7e;[[_0x3d7cdd,_0x3889b5]][_0x179f35(0x120)](([_0x3503c1,_0x589b61])=>{const _0x18330c=_0x179f35;this['disposeWithMe'](this[_0x18330c(0x334)]['register'](_0x3503c1,_0x589b61));});}};_0xb2b40a=_0x5a0cd2([_0x40aea1(0x0,(0x0,_0xe0fba2[_0x351b7e(0x2f8)])(_0x4fef69['ComponentManager'])),_0x40aea1(0x1,(0x0,_0xe0fba2[_0x351b7e(0x2f8)])(_0x4fef69[_0x351b7e(0x444)]))],_0xb2b40a);let _0x34651e=class extends _0xe0fba2[_0x351b7e(0x392)]{constructor(_0x404779=_0x241941,_0x4c0978,_0x336493,_0x19a192){const _0x896e21=_0x351b7e;super(),this[_0x896e21(0x2cd)]=_0x404779,this[_0x896e21(0x1f0)]=_0x4c0978,this['_configService']=_0x336493,this['_commandService']=_0x19a192,_0x2d50c7(this,_0x896e21(0x24f),void 0x0);let {..._0x67a61c}=(0x0,_0xe0fba2[_0x896e21(0x16a)])({},_0x241941,this[_0x896e21(0x2cd)]);this[_0x896e21(0x24f)]=_0x67a61c,this[_0x896e21(0xfe)]['setConfig'](_0x55aca2,_0x67a61c),this['_initCommands']();}[_0x351b7e(0x125)](){const _0x57b3a6=_0x351b7e;this[_0x57b3a6(0x1f0)]['add']([_0xb2b40a]),this[_0x57b3a6(0x1f0)][_0x57b3a6(0x1aa)](_0xb2b40a);let _0x3d4364=this[_0x57b3a6(0x1f0)],_0x174932=[[_0x5d8988,{'useClass':_0x434bb3}],[_0x57a861,{'useClass':_0x1a5ddf}],[_0x5736e0],[_0x591b5a],[_0x107397],[_0x313dc5],[_0x1eb24a],[_0x3d0520],[_0x2654df],[_0x24189e],[_0xa422fb]],_0x53fc50=[[_0x313dc5],[_0x3d0520],[_0x1eb24a],[_0x107397],[_0x5d8988],[_0x2654df],[_0x24189e],[_0xa422fb]];this[_0x57b3a6(0x24f)][_0x57b3a6(0x353)]&&(_0x174932[_0x57b3a6(0x3d8)]([_0x1da5a6]),_0x53fc50[_0x57b3a6(0x3d8)]([_0x1da5a6])),_0x174932['forEach'](_0x1aa08a=>_0x3d4364['add'](_0x1aa08a)),(0x0,_0xe0fba2[_0x57b3a6(0x37c)])(this[_0x57b3a6(0x1f0)],_0x53fc50);}[_0x351b7e(0x3e1)](){const _0x3e9cca=_0x351b7e;var _0x2614d8;(_0x2614d8=this[_0x3e9cca(0x1f0)]['get'](_0x313dc5))==null||_0x2614d8[_0x3e9cca(0x3c7)]();}['_initCommands'](){const _0x2db706=_0x351b7e;[_0x3b438b,_0x2d01e3,_0x483f56,_0x18c810,_0x55d99b,_0x577343,_0x16f198][_0x2db706(0x120)](_0x57911d=>this[_0x2db706(0x3f2)](this[_0x2db706(0x2d4)][_0x2db706(0x351)](_0x57911d)));}};_0x2d50c7(_0x34651e,_0x351b7e(0x441),_0xe0fba2[_0x351b7e(0x282)]['UNIVER_SHEET']),_0x2d50c7(_0x34651e,'pluginName','UniverSheetsChartUIPlugin'),_0x2d50c7(_0x34651e,'packageName',_0x47d7f2),_0x2d50c7(_0x34651e,_0x351b7e(0x2df),_0x3b3a89),_0x34651e=_0x5a0cd2([(0x0,_0xe0fba2[_0x351b7e(0xdf)])(_0x45eba4[_0x351b7e(0x32a)],_0x3543bc[_0x351b7e(0x35b)],_0x120bdc[_0x351b7e(0x290)],_0x2e7a19[_0x351b7e(0x12a)],_0x42712d[_0x351b7e(0x3b5)],_0x1e42e6['UniverChartUIPlugin'],_0x201ec2['UniverSheetsChartPlugin'],_0x102b65[_0x351b7e(0x15b)],_0x270231[_0x351b7e(0x2ca)]),_0x40aea1(0x1,(0x0,_0xe0fba2[_0x351b7e(0x2f8)])(_0xe0fba2['Injector'])),_0x40aea1(0x2,_0xe0fba2[_0x351b7e(0x42c)]),_0x40aea1(0x3,_0xe0fba2[_0x351b7e(0x370)])],_0x34651e),_0x5cf52d['ChartOpenPanelOperation']=_0x577343,Object['defineProperty'](_0x5cf52d,_0x351b7e(0x358),{'enumerable':!0x0,'get':function(){return _0x591b5a;}}),_0x5cf52d[_0x351b7e(0x472)]=_0x5d8988,_0x5cf52d[_0x351b7e(0x270)]=_0x55aca2,Object[_0x351b7e(0x3ea)](_0x5cf52d,'SheetsChartUIController',{'enumerable':!0x0,'get':function(){return _0x313dc5;}}),_0x5cf52d['SheetsChartUIMenuSchema']=_0x497f50,Object[_0x351b7e(0x3ea)](_0x5cf52d,_0x351b7e(0x3c9),{'enumerable':!0x0,'get':function(){return _0x434bb3;}}),Object[_0x351b7e(0x3ea)](_0x5cf52d,_0x351b7e(0x1fa),{'enumerable':!0x0,'get':function(){return _0x2b5a1c;}}),Object['defineProperty'](_0x5cf52d,'UniverSheetsChartUIPlugin',{'enumerable':!0x0,'get':function(){return _0x34651e;}}),_0x5cf52d[_0x351b7e(0x1dc)]=_0x6db41f;}));function _0x5718(){const _0x3be1af=['useDependency','Combination','localPoint','version','absolute','range','interceptCommand','PRINTING_COMPONENT_COLLECT','OPERATION','UniverDrawingUi','items','ChartEditBlockTitle','scroll','Relation','_chartRenderService','path','_initCopyPaste','image','min','setHostStyle','source','ChartSourceHeaderTitleType','_sheetCanvasFloatDomManagerService','_disposeChartEventSubscription','handleActiveSubUnitChange','indicatorLine','ensureHandle','markReady','Inject','_openPanel','_focusedDrawings','clearPanelRoute','remove$','_renderWhenConfigReady','_disposeImage','chartId','_chartHostProviderService','contains','sheets-chart-ui.common.chartAndAxisTitles','transformToDrawingPosition','Disposable','2411dcOjyH','DrawingApplyType','isLatest','Treemap','has','UniverCore','GridlinesAndTicks','DisposableCollection','SheetCanvasFloatDomManagerService','click','featurePluginGroupUpdate$','chartBitsUtils','default','_entries','_deactivateEditPanelState','setProps','getRenderColor','createIdentifier','markHostNotReady','_generateCopyPasteMutations','ChartWordCloudStyleSection','_sheetCanvasPopManagerService','relation','ChartRenderMode','getInterceptPoints','ChartFrameContentMode','_listenChartUpdateMutations','_updateTransform','cancel','redo','visibilityState','_getCurrentSnapshotImage','getConfig','drawImage','useChartEditorChartType','getDrawingData','@univerjs/ui','UniverLicensePlugin','chartEditorOpen$','CHART_ELEMENT_FLOAT_MENU_COMPONENT','iconName','resolveChartEditPanelRoute','_pendingMutationConfigRenders','xlink:href','_pendingUrlImage','@univerjs/engine-render','resolveDefaultChartHostFrameStyle','_componentManager','ChartTitlesSection','flatMap','removeHost$','cancelPending','withLatestFrom','titleKey','sourceSubUnitId','getContextValue','COPY_TYPE','-univer-mx-4','parentElement','getRealBound','DEFAULT_CHART_TRENDLINE_VALUES','allSettled','ChartSeriesSection','_drawChartImage','ChartGridlinesAndTicksSection','url(#$1','cumulativeLineStyle','changeEnd$','dataSource','_restoreHostWrapper','_restoreFloatDomPositionStream','MenuItemType','featurePluginOrderUpdate$','mergeMenu','GeneralSeries','createChartElementFloatMenuAdapter','registerCommand','Axes','enableChartElementFloatMenu','KeyCode','update','ParetoLineSeries','context$','ChartRenderService','Radar','setRangeSelectMode','UniverDrawingPlugin','sheets-chart-ui.section.pie','abs','mobile-sheet-chart-style-panel','renderTransition','setConfig','sheetId','defaultValues','RemoveSheetDrawingCommand','small','arc','isConnected','getUnitId','_getChartSnapshotKey','activeRuntimeModel','SheetsChartService','_getFloatDomInfo','drawingIds','throttleTime','FOCUSING_COMMON_DRAWINGS','UniverSheetsDrawingUi','ICommandService','DrawingTypeEnum','SHEETS_CHART_PLUGIN_CONFIG_KEY','rxjs','getName','_cancelDebouncedCallbacks','onDispose','_popupDisposable','pareto','exportImg','useId','scene','touchDependencies','_openEditPanelByDoubleClick','getSkeleton','sheets-chart-ui.common.editChart','parseFloat','sheets-chart-ui.permission.editErr','\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','_markHostReady','_generateCutPasteMutations','_getOrCreateChartRenderInstance','_resolveLayout','react/jsx-runtime','sheet.command.chart.delete-focused-chart','decorate','DataOrientation','ChartImageSourceType','scale','assign','getRenderUnitById','_panelInitialized','focusDrawing','trim','Plugin','lineAndArea','ChartImageExportService','DEFAULT_CHART_PARETO_VALUES','Timed\x20out\x20waiting\x20for\x20float\x20dom\x20host\x20\x22','@univerjs/sheets-formula-ui','ChartUpdateConfigCommand','transform','axis','tag','1000','string','removeHost','close','rangeSelectMode','COMMA','pluginName','Reference','groupId','_canvasFloatDomService','visible','colorChannel1','ChartStyleSection','ISidebarService','jsx','_chartInstanceMap','zIndex','rect','mobile-sheet-chart-setup-panel','@univerjs/core','RibbonInsertGroup','_sheetsChartService','targetSubUnitId','@univerjs/sheets','@univerjs/engine-formula','UniverSheetsDrawingPlugin','animateDataUpdate','onload','getRuntimeContext','clientY','afterRender$','naturalHeight','ThemeService','ChartModelService','DEFAULT_CHART_RELATION_VALUES','_clearSelectedTarget','engine','_prepareDataUpdateRender','Overlay','clear','non-scaling-stroke','open','getOwnPropertyDescriptor','initPanel','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','SheetsChartUIService','setDataUpdateAnimation','ChartParetoSeriesSection','chartModelAdded$','distinctUntilChanged','UniverProSheetsChart','stroke-width','ChartThemeService','UniverSheetsChartPlugin','ensureHost','legend','nativeEvent','getUnit','univerjs-icon\x20univerjs-icon-','COMMAND','push','React','DEFAULT_CHART_SERIES_VALUES','exportImage','_bindChartEventHandlers','debounce','6991086jKgFtF','_clearPanelState','_registerAdapter','onRendered','trendline','DEFAULT_CHART_INDICATOR_LINE_VALUES','DRAWING','oKey','pointerEvents','DEFAULT_CHART_WORD_CLOUD_VALUES','some','name','defineProperty','strokeWidth','getValue','Fail\x20to\x20create\x20float\x20dom','_handleDrawingDoubleClick','_drawingManagerService','sheets-chart.ui.service','_draw','disposeWithMe','toFixed','copyType','_disposed','heatmap','removeChartModel','[ChartRender]\x20Failed\x20to\x20render\x20chart\x20snapshot\x20for\x20printing','LocaleService','ChartTypeSpecificStyleSection','asObservable','href','UNIVER_SHEET','sheet.command.chart.open-focused-panel','_rangeSelectMode','_chartEventHandlers','3389432yiOPAl','sheets-chart-ui.common.openChartPanel','CHART','_contextService','drawingType','call','isReleased','resolveChartRuntimeStyle','UniverEngineFormula','_deactivateDataUpdateAnimation','value','vectorEffect','univer-shrink-0','syncHostLayout','@univerjs/sheets-drawing','setActiveChartModel','sheets-chart-ui.section.gridlinesAndTicks','initialRect','sheets-chart-ui.common.hideChartPanel','defs','WordCloud','_chartHostMap','hidePanel','_clearHiddenSelectedTarget','ChartRadarStyleSection','IMenuManagerService','fill','titles','sheets-chart-ui.section.chord','Image','_panelRoute$','ChartEditorProvider','_initActiveRuntimeLayerListener','SheetPrintInterceptorService','_isProviderDisposed','panelRoute$','chartTypeCanUseTrendLine','_chartEditorOpen$','Line','ChartEditPanelTab','add','naturalWidth','RightVerticalAxis','IConfigService','_syncActiveEditChart','header','_createHost','_lastActiveSheet','_renderService','UniverMobileUIPlugin','univer-my-1\x20univer-text-xs\x20univer-text-red-500','_getHostPlacement','ChartUIService','sheets-chart-ui.common.copy','delete','requestPaint','wordCloud','_initSheetChange','_getPlacement','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','Bar','_shouldSuppressRender','ChartTypeBits','ChartAxisSection','type','_sheetsChartUIService','_sheetDrawingService','IconManager','isDomReady','openChartPanelById','getCurrentTypeOfUnit$','createElement','matches','sheets-chart-ui.section.radar','Injector','lineTo','@univerjs-pro/license','disconnect','_closePopup','UniverChartMobileUIPlugin','take','getBoundingClientRect','_activateDataUpdateAnimation','darkMode$','_drawChartFrame','_requestChartCanvasRender','assignStyle','_getDrawable','ImageBitmap','direction$','logicalOuterRect','sheets-chart-ui.common.chart','HorizontalAxis','SHEET_CHART_RENDER_OBJECT_CONFIG','getSheetBySheetId','_renderDebounceMap','constructor','_popupChartId','executeCommand','Fragment','_renderManagerService','Checkbox','sheets-chart-ui.section.wordCloud','getObject','getDrawingShapeKeyByDrawingSearch','INSERT','Pareto','1.0.4','RangeSelector','_chartUIService','_disposeChartDomInstance','_snapshotKey','_getChartRenderSkipReason','ISheetsChartUIService','react','(prefers-reduced-motion:\x20reduce)','ISheetClipboardService','getBatchAddOp','getChartModel','sidebarOptions$','_sheetClipboardService','applyPoint','missing-float-dom','_disposeChartEventSubscriptions','_managed','_chartModelService','CommandType','useImperativeHandle','sheet-chart-setup-panel','getHostClientRect','DEFAULT_CHART_AXIS_VALUES','drawingId','radar','indexOf','isHit','_subscribeChartEvents','_dataUpdateAnimationTimers','_resizeChart','setBorder','sheetTransform','set','dataSource$','resolveChartStyleBackgroundColor','_dataUpdateAnimationChartIds','_getImage','UniverDrawing','Histogram','SheetSkeletonManagerService','offsetLeft','_cacheActiveDomChartSnapshot','_renderModelManager','combineLatest','intercept','showFloatMenu','chartObject','globalAlpha','createChartInstance','isElementEditModeActive','entries','amd','EChartRenderEngineName','closePath','ChartAndAxisTitles','Module','ChartStyle','color','0\x200\x2016\x2016','sheets-chart-ui.section.relation','keys','ChartTrendlineSection','Gauge','getFloatDomInfo','radius','Style','sheets-chart-ui.chord.target','_registerIcons','from','_activateEditPanelState','focused$','displayName','isFinite','Positive','clearChart','getDirection','6205717AxyarO','addObject','17438175BsGsgL','max','UniverSheetsUi','univer-overflow-visible','isArray','DependentOn','attachRangeWithCoord','useRef','ChartUpdateSourceCommand','chartImageSourceToDataUrl','_sidebarDisposable','ImageChartHost','GROUP','_sheetPrintInterceptorService','CopySheetCommand','clearImage','isManaged','setOrientation','sheets-chart-ui.common.heatmap','Boxplot','ChartFrameLayout','_applyHostStyle','4aXoOsy','syncLayout','next','download','useEffect','originalStrokeWidth','ChartFunnelStyleSection','_waiter','_localeService','style$','symbol','sheets-chart-ui.section.treemap','map','_chartRenderMode','_configService','allSeriesStyle','mode','IDrawingManagerService','resourceCollector','setContextValue','Chord','_disposeChartChangeListeners','setDataRange','plotVisibleOnly','forwardRef','_setChartRuntimeZIndex','SheetSkeletonService','UniverProEngineChart','matchToken','concat','UniverUi','@univerjs/sheets-ui','_iconManager','iterator','_initMenus','_pendingToken','_renderChartModel','_univerInstanceService','prototype','WorkbookEditablePermission','seriesId','markUnmanaged','sheets-chart-ui.common.customize','UniverSheets','funnel','sheets-chart-ui.waterfall.subtotal','_cancelHostWait','none','forEach','SHEETS_CHART_PLUGIN_NAME','BUTTON','checkHost','ChartViewStateRegistry','onStarting','offsetHeight','position$','startWith','sheet.command.menu-insert-chart','UniverSheetsPlugin','sheets-chart-ui.waterfall.negative','style','unitId','current','_resetChartRuntimeZIndex','getMenuHiddenObservable','#-#','getPropertyPriority','DEFAULT_CHART_LEGEND_VALUES','PieSecondaryPlotType','makeDirty','setStyle','startY','label','series','imageBitmap','sheets-chart-ui.section.sunburst','dataset','_isOwnedChart','isRender','packageName','numberToABC','sheet.operation.open-chart-panel','clientHeight','chartTypeSupportsLineAndAreaStyle','sheets-chart-ui.chartTypes.','_debounceHandleMap','_setHostStyle','mask','References','element','isRowDirection','chartTypeSupportsCapability','chartModelId','useState','attachPopupToDynamicAbsolutePosition','FOCUSING_PANEL_EDITOR','left','blur','MobileRangeSelector','chartType','sheets-chart-ui.common.verticalAxis','getAllowedChartTypes','_chartThemeService','Subtotal','opacity','pieSecondaryPlotType','promise','UniverSheetsDrawingUIPlugin','_initPrinting','sheets-chart-ui.section.paretoBar','useChartEditorHasRightAxis','useCallback','_activeDomReadyChartIds','with','getObjectIncludeInGroup','sheets-chart-ui.waterfall.positive','object','UniverSheetsFormulaUi','children','REMOVE','_markReady','_getSceneAndTransformerByDrawingSearch','merge','Scatter','getRect','sheets-chart-element-float-menu','ChartLineAndAreaSection','InsertChartCommand','sheets-chart-ui.common.useAsCategoryLabels','startRow','flush','ChartIndicatorLineSection','_isChartElementEditEnabled','Bubble','_createChartRenderInstanceContext','Sunburst','_sheetDrawingHitTestService','_debounceHandle','then','@univerjs/design','getBatchRemoveOp','_rect','scaleY','_markNotReady','appliedStrokeWidth','bounds','onerror','dispose','moveTo','serialize','_createPrintingChartObject','sheets-chart-ui.section.indicatorLine','fromEvent','@univerjs-pro/engine-chart','_sheetInterceptorService','sheets-chart-ui.section.paretoLine','Candlestick','sheets-chart-ui.common.invalidDataRange','getBatchUpdateOp','hadStyleAttribute','serializeRangeWithSheet','_copyInfo','getSubUnitId','_popupSessionKey','_initDrawingDeactivationListener','top','height','BehaviorSubject','ContextMenuGroup','registerFeatureMenu','right','MobileChartEditorProvider','hidden','IContextService','ChartRelationStyleSection','resolve','getSheetId','sheets-chart-ui.section.lineAndArea','_rerenderLatest','url','priority','ChartEditPanelSection','pipe','waterfallStyle','activeChartModel$','PieStyle','get','beginPath','Waterfall','save','stroke','DRAWING_CHART','sheets-chart-ui.common.chartStyle','sheetChartDataAnimationDuration','_chartSnapshotStoreService','target','updateFloatDomProps','subscribe','SheetCanvasPopManagerService','_loadUrlImage','querySelectorAll','error','sheet.operation.hide-chart-panel','SheetDrawingHitTestService','_canAnimateDataUpdate','-univer-mx-4\x20univer-overflow-visible','context','ChartWaterfallStyleTarget','_removeHost$','_executeChartUpdateSourceConfig','CHART_TYPE_CATALOG','Heatmap','hasAttribute','DEFAULT_CHART_FUNNEL_VALUES','invalidateSnapshot','Literals','_registerComponents','icon','idMap','clientWidth','Legend','_init','replace','_generatePasteMutations','config$','print','getMatrix','_chartHostProvider','_chartChangeSubscriptions','onTransformChange$','updateFloatDom','IRenderManagerService','_activeChartId','rangeInfo$','startColumn','_renderAfterChartUpdateMutation','createChartElementPopupAnchorObserver','Button','_addWatermark','route','params','_applyActiveChartRuntimeZIndex','clearRuntimeCache','useObservable','sheets-chart-ui.section.candlestick','render','_resolveChartRenderMode','renderChartsForPrinting','DEFAULT_CHART_PIE_VALUES','sheets-chart-ui.common.dataRange','jsxs','getImage','sheets-chart-ui.config','labelId','_getChartRenderObjectContext','sheet.chart.edit.panel','_injector','data$','_geometry','getSheetCommandTarget','PREDEFINED_HOOK_NAME','copyId','DEFAULT_CHART_LINE_AND_AREA_VALUES','complete','_urlImage','getChartPopupMenus','UniverSheetsChartMobileUIPlugin','localName','ChartWaterfallStyleSection','length','chartRenderMode','focus$','SheetChartConfigAdapter','Column','ChartEditorCapability','isInGroup','canvas','fromEntries','_alignFloatDomPositionWithSceneRender','pairwise','chartModelRemoved$','DeleteIcon','innerHeight','_openFloatMenu','_activateHostWrapper','_domFrame','useLayoutEffect','circle,\x20ellipse,\x20line,\x20path,\x20polygon,\x20polyline,\x20rect,\x20text,\x20textPath,\x20tspan,\x20use','ChartEditorTabs','setProperty','.chart-host','_frame','objects','chartEditorOpen','_getOuterRect','setPanelRoute','_pendingDataUpdateChartIds','_createImageChartHost','subscribeEvent','ChartElementFloatMenuAdapterRegistry','getPropertyValue','deriveStateFromActiveSheet$','_shouldEnableChartElementEdit','Row','_disposeChartRenderInstance','RENDER_CLASS_TYPE','ChartSectionAccordion','_clearPendingUrlImage','scaleX','commitSnapshot','number','toStringTag','Pie','getCurrentLastSelection','ChartNumberFormatAtom','ISheetDrawingService','domId','featurePluginUngroupUpdate$','split','setElementEditMode','_menuManagerService','values','Funnel','resolveChartElementSelection','getRenderModel','undo','getElementById','Rect','IUniverInstanceService','sheets-chart-ui.common.rightVerticalAxis','PenIcon','@univerjs/drawing-ui','clip','Canvas','getSheetBySheetName','_sheetPermissionCheckController','_chartEventSubscriptions','SheetInterceptorService','univer-flex\x20univer-flex-col\x20univer-gap-3','getDrawingOrder','_requestedUrl','interceptor','nextVersion','dataUrl','onDoubleClick$','mountNode','CanvasFloatDomService','function','tab','InsertSheetsChartMutation','sheets-chart-ui.common.horizontalAxis','_resolvedConfig','sheets-chart-ui.section.histogram','_adapterRegistry','toPrimitive','ChartHostAdapter','category','rangeInfo','VerticalAxis','getDrawingByParam','198VVpEpE','_sidebarService','pen-icon','rightY','ChartSectionAccordionContent','getChartSnapshotImage','multiply','WorksheetEditPermission','innerWidth','startX','config','_chartElementEditMode','div','inactive-sheet','_getOrCreateSheetChartHost','activeChartModel','isValidRange','deserializeRangeWithSheet','baseOn','sheet-chart-style-panel','getActiveSheet','section','takeSnapshot','getFocusDrawings','SHEETS_CHART_UI_PLUGIN_CONFIG_KEY','_lastRenderInputMap','buildChartTypeSelectOptions','ChartLegendSection','viewBound','getHostSize','bind','top-center','univer-overflow-hidden','sheets-chart-ui.common.switchRowColumn','anonymous','_frameStyle','SetDrawingApplyMutation','generateRandomId','ObjectType','executeChartUpdateConfig','_themeService','permissionCheckWithoutRange','UniverInstanceType','getRangeInfo','setChartEditorOpen','format','filter','_pendingHost','onCommandExecuted','_bindChartEventHandler','sheets-chart-ui.common.trendline','idSuffix','sheetChartDataAnimation','UPDATE','restore','setImage','UniverRenderEnginePlugin','_url','evented','_version','_clearSheetChartRuntimeCaches','IndicatorLine','SELECTOR','getCurrentRangeDisable$','border','1941093KcRXRA','getChartSourceSpec','register','sheets-chart-ui.section.waterfall','checkMounted','ChartSetupPanel','_requestPaint','classType','removeAttribute','dblclick','getCurrentUnitOfType','567310Xeoslk','UniverProChartUi','blockExecuteWithoutPermission','createRuntimeChartStyle','translate','sheets-chart-ui.common.setup','width','_readGeometry','toInsertChartMutationSource','CUT','getCanvasElement','all','subUnitId','sheet.command.chart.copy-focused-chart','transparent','_registerChartImageRenderObjectFactory','_hostStyle','ChartUpdateConfigMutation','drawWith','sheets-chart-ui.section.funnel','Canceled\x20waiting\x20for\x20float\x20dom\x20host\x20\x22','_initActiveChartModelListener','Dom','RemoveSheetsChartMutation','_getChartRenderObject','supports','_scheduleDataUpdateAnimationEnd','ENTER','invert','_snapshotStore','matchMedia','_initCommands','Data','_sheetSkeletonService','use','ChartPieStyleSection','_image','bottom','UniverSheetsUIPlugin','skip','defIds','_config','useMemo','hit','_applyHostInteractionState','CopyDoubleIcon','Url','combineLatestWith','_commandService','attrs','_clearChartRuntimeCache','_dataUpdateAnimationDuration','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','CHART_DATA_UPDATE_ANIMATION_DURATION','_savedWrapperStyle','add$'];_0x5718=function(){return _0x3be1af;};return _0x5718();}