@univerjs-pro/sheets-chart-ui 1.0.3 → 1.1.0
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.
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/ar-SA.js +1 -1
- package/lib/cjs/locale/ca-ES.js +1 -1
- package/lib/cjs/locale/de-DE.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/es-ES.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/id-ID.js +1 -1
- package/lib/cjs/locale/it-IT.js +1 -1
- package/lib/cjs/locale/ja-JP.js +1 -1
- package/lib/cjs/locale/ko-KR.js +1 -1
- package/lib/cjs/locale/pl-PL.js +1 -1
- package/lib/cjs/locale/pt-BR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/sk-SK.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-HK.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/ar-SA.js +1 -1
- package/lib/es/locale/ca-ES.js +1 -1
- package/lib/es/locale/de-DE.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/es-ES.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/id-ID.js +1 -1
- package/lib/es/locale/it-IT.js +1 -1
- package/lib/es/locale/ja-JP.js +1 -1
- package/lib/es/locale/ko-KR.js +1 -1
- package/lib/es/locale/pl-PL.js +1 -1
- package/lib/es/locale/pt-BR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/sk-SK.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-HK.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/ar-SA.js +1 -1
- package/lib/locale/ca-ES.js +1 -1
- package/lib/locale/de-DE.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/es-ES.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/id-ID.js +1 -1
- package/lib/locale/it-IT.js +1 -1
- package/lib/locale/ja-JP.js +1 -1
- package/lib/locale/ko-KR.js +1 -1
- package/lib/locale/pl-PL.js +1 -1
- package/lib/locale/pt-BR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/sk-SK.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-HK.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/types/locale/en-US.d.ts +11 -0
- package/lib/types/services/chart-geometry-subscription.d.ts +14 -0
- package/lib/types/services/chart-render.service.d.ts +2 -2
- package/lib/types/services/sheet-chart-host.d.ts +4 -1
- package/lib/types/services/sheet-chart-pointer-events.d.ts +16 -0
- package/lib/types/services/sheets-chart-host-provider.service.d.ts +1 -0
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/ar-SA.js +1 -1
- package/lib/umd/locale/ca-ES.js +1 -1
- package/lib/umd/locale/de-DE.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/es-ES.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/id-ID.js +1 -1
- package/lib/umd/locale/it-IT.js +1 -1
- package/lib/umd/locale/ja-JP.js +1 -1
- package/lib/umd/locale/ko-KR.js +1 -1
- package/lib/umd/locale/pl-PL.js +1 -1
- package/lib/umd/locale/pt-BR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/sk-SK.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-HK.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +21 -21
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 _0x3c84(_0x6203d4,_0x1c9f63){_0x6203d4=_0x6203d4-0xc6;const _0xb7552e=_0xb755();let _0x3c84f5=_0xb7552e[_0x6203d4];return _0x3c84f5;}function _0xb755(){const _0x166434=['_urlImage','initialRect','createChartElementFloatMenuAdapter','ChartSectionAccordionItem','renderChartsForPrinting','trim','getSheetCommandTarget','_chartHostProviderService','844505lCNhae','pairwise','ChartEditorTabs','small','with','_addWatermark','enableChartElementFloatMenu','decorate','TRANSFORM_CHANGE_OBSERVABLE_TYPE','getRect','getPropertyPriority','Literals','_getOrCreateSheetChartHost','_subscribeChartEvents','IRenderManagerService','_iconManager','getTransformerByCreate','transformToDrawingPosition','plotVisibleOnly','ISidebarService','create','imageBitmap','dataSource','_domFrame','indexOf','useDependency','MobileChartEditorProvider','_sheetClipboardService','showFloatMenu','DEFAULT_CHART_WORD_CLOUD_VALUES','IChartRenderModelManagerService','Disposable','Relation','_chartModelService','_themeService','matchMedia','_applyActiveChartRuntimeZIndex','Chord','sheets-chart-ui.section.relation','removeChartModel','event','1000','startRow','_keepChartCapture','ChartGridlinesAndTicksSection','Dom','_drawingManagerService','markUnmanaged','_popupSessionKey','transformer','exportImage','DRAWING_OBJECT_LAYER_INDEX','dataUrl','sheets-chart-ui.common.chartStyle','RemoveSheetDrawingCommand','CopySheetCommand','transform','_menuManagerService','baseVal','LocaleService','useCallback','hidePanel','1.1.0','hasOwnProperty','sheets-chart-ui.chartTypes.','@univerjs-pro/license','@univerjs/ui','changeEnd$','commitSnapshot','bounds','Image','resolveChartElementSelection','seriesId','url','subscribe','sheet.command.chart.open-focused-panel','_dataUpdateAnimationDuration','UniverSheetsChartUIPlugin','source','getImage','ChartEditPanelSection','Style','ChartSectionAccordionContent','rangeInfo$','_snapshotKey','IDrawingManagerService','UNIVER_SHEET','React','matches','targetSubUnitId','indicatorLine','_drawChartFrame','_managed','sheets-chart-ui.section.chord','DEFAULT_CHART_WATERFALL_STYLE_VALUES','getCurrentUnitOfType','sheetId','ChartSourceHeaderTitleType','none','_univerInstanceService','toStringTag','@univerjs/engine-formula','_clearSelectedTarget','resize','_generatePasteMutations','close','@univerjs/sheets','concat','img','RENDER_CLASS_TYPE','updateFloatDomProps','canvas','UniverSheetsChartPlugin','touchDependencies','ChartSectionAccordion','rangeInfo','ensureMount','hasPointerCapture','getDrawingShapeKeyByDrawingSearch','Sunburst','range','mountNode','removeEventListener','onCommandExecuted','ChartThreeDSection','_resolveLayout','_cancelDebouncedCallbacks','position$','196cNoyTC','div','_removeHost$','_getHostPlacement','_componentManager','requestPaint','stroke-width','getRenderColor','_sheetCanvasPopManagerService','_lastActiveSheet','sheets-chart-ui.common.setup','_dataUpdateAnimationChartIds','@univerjs/drawing','bind','_sheetInterceptorService','UPDATE','Injector','ISheetDrawingService','InsertSheetsChartMutation','_getDrawable','startY','ContextMenuPosition','_sidebarService','_commandService','_pendingToken','titles','getUnitId','getBoundingClientRect','ChartRenderMode','update','element','_renderModelManager','Canceled\x20waiting\x20for\x20float\x20dom\x20host\x20\x22','_chartRenderService','supports','mobile-sheet-chart-setup-panel','getCurrentLastSelection','Subtotal','Radar','-univer-mx-4\x20univer-overflow-visible','COPY_TYPE','getChartDataSource','getSheetId','beginPath','IConfigService','top-center','distinctUntilChanged','ChartLineAndAreaSection','call','section','rect','serializeRangeWithSheet','_initCopyPaste','RangeSelector','focused$','withLatestFrom','_pendingUrlImage','Heatmap','startX','WaterfallSeries','getRangeInfo','handleActiveSubUnitChange','_registerAdapter','_syncActiveEditChart','setContextValue','removeHost$','sheets-chart-ui.common.insertChart','_init','sheets-chart-ui.section.funnel','_getCurrentSnapshotImage','ChartSeriesSection','attrs','SetDrawingApplyMutation','localPoint','SheetCanvasFloatDomManagerService','_markNotReady','absolute','isFinite','_renderDebounceMap','innerWidth','onerror','47024IvDoXy','focus$','_savedWrapperStyle','DEFAULT_CHART_HEATMAP_VALUES','_resolvedConfig','_shouldEnableChartElementEdit','non-scaling-stroke','ChartRenderService','getPropertyValue','view','REMOVE','DataOrientation','cumulativeLineStyle','objects','defineProperty','_disposeChartRenderInstance','_pointerEvents','getBatchAddOp','chartEditorOpen','isDomReady','remove','has','sheets-chart-ui.section.histogram','isValidRange','_dataUpdateAnimationTimers','offsetLeft','trendline','Checkbox','getObjectIncludeInGroup','anchorRect$','setDataUpdateAnimation','style','sheet.operation.open-chart-panel','DEFAULT_CHART_TITLE_VALUES','getRenderModel','getDrawingOrder','getChartSnapshotImage','invert','ChartRelationStyleSection','ChartTitlesSection','right','LineAndArea','@univerjs/design','cancelPending','setHostStyle','ICommandService','groupId','_getImage','_waiter','isElementEditModeActive','react','sheets-chart-ui.section.pie','category','chartBitsUtils','@univerjs/sheets-drawing-ui','parentElement','items','_rangeSelectMode','ISheetClipboardService','isRender','getSheetBySheetName','nextVersion','image','attachPopupToDynamicAbsolutePosition','getConfig','axis','isConnected','scroll','replace','activeChartModel','_url','FOCUSING_COMMON_DRAWINGS','ChartSetupPanel','\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','drawingId','sheets-chart-ui.section.gauge','_cancelGesture','funnel','Row','createChartInstance','UniverRenderEnginePlugin','SHEETS_CHART_PLUGIN_CONFIG_KEY','_debounceHandle','ChartAxisSection','DEFAULT_CHART_RELATION_VALUES','unitId','SheetInterceptorService','createElement','sheets-chart-ui.common.chartAndAxisTitles','sheets-chart-ui.common.useAsCategoryLabels','setOrientation','_original','_getPlacement','chartTypeSupportsCapability','emitChartEvent','pie','ChartFrameContentMode','IUniverInstanceService','sheets-chart-ui.common.showHiddenData','getRealBound','ChartTypeBits','function','onTransformChange$','react/jsx-runtime','segmented','ChartParetoSeriesSection','unsubscribe','blockExecuteWithoutPermission','undo','References','flatMap','endX','CopyDoubleIcon','_setChartRuntimeZIndex','domId','SheetsChartUIMenuSchema','toDisposable','chartObject','sheets-chart-ui.section.waterfall','_resizeChart','sheets-chart-ui.common.deleteChart','startWith','Data','syncHostLayout','ChartElementFloatMenuAdapterRegistry','4PLGCnq','domLayers','_disposeChartChangeListeners','useState','_popupChartId','ThemeService','setActiveChartModel','ChartIcon','titleKey','getAllowedChartTypes','some','sheets-chart-ui.section.candlestick','anonymous','setElementEditMode','set','_hostStyle','_getFloatDomInfo','_localeService','moveY','1482090cacsaX','interceptor','save','Axes','_markReady','_draw','DownloadImageIcon','fromEvent','checkMounted','DEFAULT_CHART_LEGEND_VALUES','_entries','children','isLatest','url(#$1','UniverChartUIPlugin','remove$','_sheetsChartService','_renderAfterChartUpdateMutation','clientY','ChartModelService','sheets-chart-ui.section.gridlinesAndTicks','_chartHostProvider','_renderChartModel','blur','_resetChartRuntimeZIndex','_image','DeleteIcon','_clearPendingUrlImage','dispose','UniverSheetsDrawingPlugin','_canvasFloatDomService','ChartWaterfallStyleTarget','RTLChartStyle','univer-shrink-0','zIndex','depthAxis','currentColor','max','setConfig','push','_chartHostMap','isInGroup','DEFAULT_CHART_INDICATOR_LINE_VALUES','SheetPermissionCheckController','sheetChartDataAnimationDuration','_focusedDrawings','getRuntimeContext','_restoreHostWrapper','SheetCanvasPopManagerService','chartModelId','ancestorTransform','SVG','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','_copyInfo','_handleDrawingDoubleClick','_sheetCanvasFloatDomManagerService','getDrawingByParam','fill','useImperativeHandle','mode','sheetChartDataAnimation','_createPrintingChartObject','applyPoint','useObservable','getParent','defaultValues','numberToABC','addEventListener','scene','@univerjs/sheets-drawing','_createChartRenderInstanceContext','focusDrawing','DEFAULT_CHART_STYLE_VALUES','_applyHostStyle','restore','getDrawingData','classType','openChartPanelById','_isOwnedChart','_initMenus','rangeSelectMode','pieSecondaryPlotType','_sheetPermissionCheckController','0\x200\x2016\x2016','ChartEditBlockTitle','_activeDomReadyChartIds','@univerjs/sheets-ui','lineTo','ensureHost','univer-my-1\x20univer-text-xs\x20univer-text-red-500','_alignFloatDomPositionWithSceneRender','getFocusedUnit','setDataRange','#-#','SheetsChartUIController','DEFAULT_CHART_AXIS_VALUES','PieSecondaryPlotType','4839830YAAANQ','sheets-chart-element-float-menu','sheets-chart-ui.common.series','sheet.chart.edit.panel','SELECTOR','_notifySheetChartsDetached','Fail\x20to\x20create\x20float\x20dom','DEFAULT_PASTE','keys','sheets-chart-ui.common.customize','mergeMenu','generateRandomId','Candlestick','renderTransition','univerjs-icon\x20univerjs-icon-','syncLayout','univer-flex\x20univer-flex-col\x20univer-gap-3','sheets-chart-ui.common.dataRange','values','resolveDefaultChartHostFrameStyle','_getChartRenderObject','(prefers-reduced-motion:\x20reduce)','mask','scaleY','min','symbol','ChartUpdateSourceCommand','_disposeChartEventSubscription','getFloatDomInfo','RibbonInsertGroup','attachRangeWithCoord','forwardRef','click','_readGeometry','getUnit','iterator','UniverProLicense','ChartUpdateConfigCommand','sheet-chart-style-panel','markNotReady','transformChange$','DependentOn','UniverSheetsPlugin','@univerjs/drawing-ui','UniverLicensePlugin','DRAWING_CHART','Scatter','animateDataUpdate','sheets-chart-ui.waterfall.positive','globalAlpha','_chartEditorOpen$','UniverSheets','use','_isChartElementEditEnabled','sheets-chart.ui.service','11smMQnm','useEffect','_getChartRenderSkipReason','Gauge','initPanel','Plugin','sheetDisposed$','ImageBitmap','UniverSheetsChartMobileUIPlugin','strokeOpacity','object','missing-active-sheet','hit','drawWith','_sheetsChartUIService','ParetoLineSeries','Reference','PieStyle','_initActiveChartModelListener','executeChartUpdateConfig','_lastRenderInputMap','_sheetDrawingService','_getChartSnapshotKey','Legend','updateFloatDom','complete','WordCloud','disposeWithMe','GeneralSeries','@univerjs-pro/sheets-chart','_generateCutPasteMutations','viewBound','height','sheets-chart-ui.common.exportImage','setPanelRoute','checkHost','nativeEvent','_setHostStyle','UniverDesign','Button','buildChartTypeSelectOptions','map','GridlinesAndTicks','ChartWordCloudStyleSection','series','_activeChartId','panelRoute$','_configService','UniverProSheetsChart','BUTTON','resolveChartCreationIntent','DEFAULT_CHART_RADAR_VALUES','debounceTime','_pendingMutationConfigRenders','IContextService','_canAnimateDataUpdate','_activateEditPanelState','onStarting','config','auto','drawingType','path','Url','useRef','all','isHit','ChartTypeSpecificStyleSection','_initPermission','makeDirty','allSettled','displayName','EChartRenderEngineName','download','take','next','getChartPopupMenus','UniverUi','_sidebarDisposable','_pendingHost','MEDIA','setBorder','ChartViewStateRegistry','setRangeSelectMode','strokeWidth','sheet.command.menu-insert-chart','UniverSheetsUIPlugin','getHostSize','href','SheetPrintInterceptorService','resolve','data$','_pendingDataUpdateChartIds','setPointerCapture','resolveChartRuntimeStyle','originalStrokeWidth','sheets-chart-ui.waterfall.negative','Boxplot','CHART_TYPE_CATALOG','createIdentifier','DrawingApplyType','clearChart','_cancelHostWait','sheets-chart-ui.common.legend','promise','_adapterRegistry','activeRuntimeModel','RemoveSheetsChartMutation','takeSnapshot','1em','getBatchRemoveOp','resourceCollector','open','_rect','checkChartCanRender','createRuntimeChartStyle','from','Fragment','style$','entries','_drawChartImage','add$','CHART_DATA_UPDATE_ANIMATION_DURATION','_chartEventSubscriptions','ChartLegendSection','sheets-chart-ui.common.editChart','IndicatorLine','pointerEvents','getContextValue','Area','onPointerMove','ChartStyle','registerCommand','sheets-chart-ui.section.paretoLine','_disposeImage','sheets-chart-ui.permission.editErr','RemoveSheetCommand','UniverDrawingPlugin','toFixed','chartType','SheetsChartService','subscribeEvent','GROUP','chartRenderMode','jsx','_gesture','getActiveSheet','resolveChartEditPanelRoute','labelId','_closePopup','getSheetBySheetId','featurePluginOrderUpdate$','arc','_sheetSkeletonService','_popupDisposable','_isProviderDisposed','330403dcFHJP','insertGroupObject','ChartOpenPanelOperation','rightYAxis','scaleX','_injector','pointerId','clearPanelRoute','context','config$','_prepareDataUpdateRender','context$','packageName','src','_chartSnapshotStoreService','beforeCommandExecuted','_sheetPrintInterceptorService','Rect','getCurrentRangeDisable$','WorkbookEditablePermission','univer-overflow-hidden','version','@univerjs/sheets-formula-ui','-univer-mx-4','activeChartModel$','Pareto','clientX','SheetSkeletonManagerService','ChartAndAxisTitles','moveX','then','getSkeleton','UniverDrawing','getValue','isArray','baseOn','tag','_config','Inject','DrawingTypeEnum','ComponentManager','deserializeRangeWithSheet','UniverSheetsUi','_debounceHandleMap','tab','_panelInitialized','sheets-chart-ui.common.openChartPanel','sheets-chart-ui.config','default','360ULkjpk','_initPrinting','_clearHiddenSelectedTarget','Canvas','SheetDrawingHitTestService','InsertChartCommand','INSERT','_chartElementEditMode','Funnel','releasePointerCapture','ChartHostAdapter','toInsertChartMutationSource','radius','Series','_updateTransform','add','left','@univerjs/core','ImageChartHost','parseFloat','asObservable','_chartUIService','_deactivateDataUpdateAnimation','DEFAULT_CHART_TRENDLINE_VALUES','sheets-chart-ui.common.verticalAxis','onload','_initCommands','_getChartRenderObjectContext','chartId','UniverEngineRender','ChartNumberFormatAtom','DRAWING','_requestPaint','_initDrawingDeactivationListener','UniverProEngineChart','_version','evented','_renderManagerService','priority','UniverSheetsDrawingUIPlugin','_disposed','moveTo','SheetSkeletonService','throttleTime','getSubUnitId','_bindChartPointerEvents','Pie','addObject','waterfallStyle','ensureHandle','switchMap','drawImage','_chartChangeSubscriptions','ChartSectionAccordionTrigger','pipe','legend','_deactivateEditPanelState','_rerenderLatest','_markHostReady','length','target','_requestedUrl','useMemo','_cacheActiveDomChartSnapshot','transparent','jsxs','logicalOuterRect','useLayoutEffect','startColumn','_snapshotStore','fromEntries','featurePluginGroupUpdate$','OPERATION','preventDefault','RightVerticalAxis','stroke','_renderService','merge','ENTER','markReady','chartModelRemoved$','chartModelAdded$','ParetoBarSeries','_createHost','getName','setProperty','onDispose','params','rxjs','_getSceneAndTransformerByDrawingSearch','combineLatest','top','WorksheetEditPermission','header','_activateHostWrapper','Bubble','isRowDirection','setStyle','pointercancel','CHART','route','hidden','UniverSheetsFormulaUi','ChartEditorCapability','http://www.w3.org/2000/svg','getElementById','_bindChartEventHandlers','format','ChartImageSourceType','pluginName','xlink:href','_openEditPanelByDoubleClick','sheets-chart-ui.waterfall.subtotal','intercept','getBatchUpdateOp','Transform','8916JCjhiL','cancel','translate','getChartSourceSpec','naturalWidth','copyType','invalidateSnapshot','sheets-chart-ui.chartTypes.line','CHART_ELEMENT_FLOAT_MENU_COMPONENT','getChartModel','UniverCore','executeCommand','chartTypeSupportsLineAndAreaStyle','ChartFrameLayout','_disposeChartEventSubscriptions','univer-flex\x20univer-flex-col\x20univer-gap-3\x20univer-pb-5','sheets-chart-ui.common.horizontalAxis','register','drawingIds','debounce','ChartHeatmapStyleSection','closePath','width','iconName','assign','sheets-chart-ui.common.heatmap','onRendered','_notifyChartRemoved','IMenuManagerService','visible','wordCloud','print','UniverProSheetsChartUi','sheets-chart-ui.section.paretoBar','Module','_panelRoute$','subUnitId','forEach','dataset','_frame','rightY','true','_contextService','_requestChartCanvasRender','delete','clearImage','COMMAND','dblclick','_createCopyInfoByRange','Treemap','_frameStyle','ChartEditorProvider','barStyle','defIds','_chartInstanceMap','serialize','KeyCode','_renderWhenConfigReady','getObject','number','_chartRenderMode','filter','_clearPanelState','ChartWaterfallStyleSection','setObjectType','sheets-chart-ui.section.sunburst','pareto','endsWith','idSuffix','PREDEFINED_HOOK_NAME','_applyHostInteractionState','removeHost','BehaviorSubject','redo','_activateDataUpdateAnimation','offsetWidth','bottom','sheet.operation.hide-chart-panel','abs','SheetsChartUIService','@univerjs/engine-render','MenuItemType','current','get','error','setProps','Waterfall','sheet.command.chart.delete-focused-chart','disconnect','getMatrix','ObjectType','Column','direction$','exports','split','.png','UniverSheetsDrawingUi','PenIcon','_bindChartEventHandler','dataSource$','find','OVERRIDE_NATIVE','_initActiveRuntimeLayerListener','_sheetDrawingHitTestService','value','sourceSubUnitId','Overlay','opacity','sheets-chart-ui.common.rightVerticalAxis','allSeriesStyle','FOCUSING_PANEL_EDITOR','exportImg','render','OTHERS','getId','flush','_loadUrlImage','chartEditorOpen$','_bindPointerEvents','_scheduleDataUpdateAnimationEnd','sheet-chart-setup-panel','DisposableCollection','_listenChartUpdateMutations','_registerComponents','inactive-sheet','sheets-chart-ui.chartTypes.area','SheetCopyCommand','registerFeatureMenu','_restoreFloatDomPositionStream','engine','colorChannel1','CommandType','ChartThemeService','getDirection','svg','DEFAULT_CHART_SERIES_VALUES','2223QBDiOv','color','useId','assignStyle','setChartEditorOpen','querySelector','sheets-chart-ui.chord.target','markHostNotReady','idMap','_chartThemeService','sheetTransform','getInterceptPoints','string','visibilityState','_suppressClick','getRenderUnitById','setImage','contains','appliedStrokeWidth','_releaseGesture','_chartEventHandlers','getFocusDrawings','sheets-chart-ui.common.hideChartPanel','_getOuterRect','_generateCopyPasteMutations','_geometry','_registerChartImageRenderObjectFactory','univer-flex\x20univer-min-h-full\x20univer-w-full\x20univer-flex-col\x20univer-bg-gray-0\x20dark:!univer-bg-gray-900','isReleased','_disposeChartDomInstance','type','sheet.command.chart.export-focused-image','_openPanel','clear','SheetChartConfigAdapter','UniverInstanceType','ChartEditPanelTab','_openFloatMenu','multiply','Histogram','label','sheets-chart-ui.common.invalidDataRange','registerRenderObjectFactory','UniverSheetsDrawing'];_0xb755=function(){return _0x166434;};return _0xb755();}(function(_0x4ea111,_0x4f36ff){const _0x25275d=_0x3c84,_0x26aa90=_0x4ea111();while(!![]){try{const _0x32f09d=-parseInt(_0x25275d(0x268))/0x1+-parseInt(_0x25275d(0x49a))/0x2+parseInt(_0x25275d(0x135))/0x3+-parseInt(_0x25275d(0x122))/0x4*(parseInt(_0x25275d(0x3c9))/0x5)+parseInt(_0x25275d(0x30d))/0x6*(-parseInt(_0x25275d(0x449))/0x7)+-parseInt(_0x25275d(0x299))/0x8*(-parseInt(_0x25275d(0x395))/0x9)+-parseInt(_0x25275d(0x196))/0xa*(-parseInt(_0x25275d(0x1cd))/0xb);if(_0x32f09d===_0x4f36ff)break;else _0x26aa90['push'](_0x26aa90['shift']());}catch(_0x4baeab){_0x26aa90['push'](_0x26aa90['shift']());}}}(_0xb755,0x67b00),function(_0x2a7bf9,_0x549345){const _0x276c3a=_0x3c84;typeof exports==_0x276c3a(0x1d7)&&typeof module<'u'?_0x549345(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==_0x276c3a(0x10a)&&define['amd']?define([_0x276c3a(0x36a),_0x276c3a(0x2aa),_0x276c3a(0x1ea),_0x276c3a(0x455),_0x276c3a(0x17a),_0x276c3a(0xdb),_0x276c3a(0x18b),_0x276c3a(0x40b),_0x276c3a(0x2f1),'@univerjs-pro/chart-ui','@univerjs-pro/engine-chart',_0x276c3a(0x433),_0x276c3a(0x42e),_0x276c3a(0x1c1),_0x276c3a(0x35d),_0x276c3a(0xd7),_0x276c3a(0xcf),_0x276c3a(0x27e),_0x276c3a(0x10c),_0x276c3a(0x40a)],_0x549345):(_0x2a7bf9=typeof globalThis<'u'?globalThis:_0x2a7bf9||self,_0x549345(_0x2a7bf9[_0x276c3a(0x32d)]={},_0x2a7bf9[_0x276c3a(0x317)],_0x2a7bf9[_0x276c3a(0x1fd)],_0x2a7bf9[_0x276c3a(0x288)],_0x2a7bf9[_0x276c3a(0x3c0)],_0x2a7bf9[_0x276c3a(0x36d)],_0x2a7bf9[_0x276c3a(0x292)],_0x2a7bf9[_0x276c3a(0x219)],_0x2a7bf9[_0x276c3a(0x2f1)],_0x2a7bf9['UniverProChartUi'],_0x2a7bf9[_0x276c3a(0x2bb)],_0x2a7bf9[_0x276c3a(0x1c9)],_0x2a7bf9['UniverEngineFormula'],_0x2a7bf9['UniverDrawingUi'],_0x2a7bf9[_0x276c3a(0x2b6)],_0x2a7bf9['React'],_0x2a7bf9[_0x276c3a(0x1f3)],_0x2a7bf9[_0x276c3a(0x2ff)],_0x2a7bf9[_0x276c3a(0x420)],_0x2a7bf9[_0x276c3a(0x1ba)]));}(this,function(_0x44e059,_0x1e7325,_0x5979b3,_0x39bdba,_0x4dac75,_0x398b93,_0x2ef923,_0xced9f3,_0x24f269,_0x339b6e,_0x3611d5,_0x559364,_0x1ee0b1,_0x4015f2,_0x4fef78,_0x5de930,_0x15e416,_0x2aadda,_0x424e81,_0x4eff75){const _0xeb70cf=_0x3c84;Object[_0xeb70cf(0x4a8)](_0x44e059,Symbol[_0xeb70cf(0x42d)],{'value':_0xeb70cf(0x32f)});let _0x48776c={'type':_0x1e7325[_0xeb70cf(0x390)]['OPERATION'],'id':_0xeb70cf(0x4ba),'handler'(){return!0x0;}},_0x3e48e7=_0xeb70cf(0x297),_0x2be8c4={'enableChartElementFloatMenu':!0x0},_0x2f1627={'type':_0x1e7325[_0xeb70cf(0x390)][_0xeb70cf(0x2e1)],'id':_0xeb70cf(0x35a),'handler'(){return!0x0;}};function _0x474ca4(_0x5125a1){const _0x39349c=_0xeb70cf;let _0x3a39df=_0x5125a1[_0x39349c(0x360)](_0x4dac75['ISheetDrawingService'])[_0x39349c(0x3aa)]();if(_0x3a39df[_0x39349c(0x2d4)]!==0x1)return null;let _0x2e1a33=_0x3a39df[0x0];return _0x2e1a33[_0x39349c(0x209)]===_0x1e7325[_0x39349c(0x28f)][_0x39349c(0x1c3)]?_0x2e1a33:null;}function _0x20d613(_0x75663,_0x1aedcc){const _0xe962af=_0xeb70cf;let _0x1a48e4=document[_0xe962af(0xfc)]('a');_0x1a48e4[_0xe962af(0x224)]=_0x75663,_0x1a48e4[_0xe962af(0x215)]=_0x1aedcc,_0x1a48e4[_0xe962af(0x1b6)]();}let _0x512316={'id':_0xeb70cf(0x414),'type':_0x1e7325[_0xeb70cf(0x390)][_0xeb70cf(0x33b)],'handler':(_0x15d238,_0x37b046)=>{const _0x485da9=_0xeb70cf;let _0x91a29c=_0x474ca4(_0x15d238);return _0x91a29c?_0x15d238[_0x485da9(0x360)](_0x1e7325['ICommandService'])['executeCommand'](_0x48776c['id'],{'unitId':_0x91a29c[_0x485da9(0xfa)],'subUnitId':_0x91a29c['subUnitId'],'drawingId':_0x91a29c[_0x485da9(0xef)],..._0x37b046!=null&&_0x37b046[_0x485da9(0x2fd)]?{'route':_0x37b046[_0x485da9(0x2fd)]}:{}}):!0x1;}},_0xe02a20={'id':'sheet.command.chart.copy-focused-chart','type':_0x1e7325[_0xeb70cf(0x390)]['COMMAND'],'handler':_0x1fe7c4=>_0x474ca4(_0x1fe7c4)?_0x1fe7c4[_0xeb70cf(0x360)](_0x1e7325[_0xeb70cf(0xd2)])[_0xeb70cf(0x318)](_0x2ef923[_0xeb70cf(0x38b)]['id']):!0x1},_0x336d65={'id':_0xeb70cf(0x3b4),'type':_0x1e7325[_0xeb70cf(0x390)][_0xeb70cf(0x33b)],'handler':async _0x5afa20=>{const _0x399a8b=_0xeb70cf;let _0x58538e=_0x474ca4(_0x5afa20);if(!_0x58538e)return!0x1;let _0x267ab2=await _0x5afa20[_0x399a8b(0x360)](_0x339b6e['ChartImageExportService'])[_0x399a8b(0x3fb)]({'unitId':_0x58538e[_0x399a8b(0xfa)],'subUnitId':_0x58538e[_0x399a8b(0x331)],'getId':()=>_0x58538e['drawingId']});return _0x267ab2?(_0x20d613(_0x267ab2,_0x58538e[_0x399a8b(0xef)]+_0x399a8b(0x36c)),!0x0):!0x1;}},_0x13aee6={'id':_0xeb70cf(0x364),'type':_0x1e7325[_0xeb70cf(0x390)][_0xeb70cf(0x33b)],'handler':_0x2c887c=>{const _0x10e8d7=_0xeb70cf;let _0x27807c=_0x474ca4(_0x2c887c);return _0x27807c?_0x2c887c[_0x10e8d7(0x360)](_0x1e7325[_0x10e8d7(0xd2)])['executeCommand'](_0x4dac75['RemoveSheetDrawingCommand']['id'],{'unitId':_0x27807c[_0x10e8d7(0xfa)],'drawings':[{'unitId':_0x27807c[_0x10e8d7(0xfa)],'subUnitId':_0x27807c[_0x10e8d7(0x331)],'drawingId':_0x27807c[_0x10e8d7(0xef)],'drawingType':_0x1e7325[_0x10e8d7(0x28f)][_0x10e8d7(0x1c3)]}]}):!0x1;}},_0x5cbb78={'type':_0x1e7325[_0xeb70cf(0x390)]['COMMAND'],'id':_0xeb70cf(0x221),'handler':async(_0x58dfd5,_0x957390)=>{const _0x167744=_0xeb70cf;let _0x8aace2=(0x0,_0x559364[_0x167744(0x3c7)])(_0x58dfd5[_0x167744(0x360)](_0x1e7325[_0x167744(0x106)]));if(!_0x8aace2)return!0x1;let _0x495e43=_0x58dfd5[_0x167744(0x360)](_0x559364['SheetsSelectionsService'])[_0x167744(0x46d)]();if(!_0x495e43)return!0x1;let {range:_0x38fa7b}=_0x495e43,_0x1990c0=_0x58dfd5['get'](_0x1e7325[_0x167744(0xd2)]),{unitId:_0x3a551e,subUnitId:_0x448a36}=_0x8aace2,{pieSecondaryPlotType:_0x57df43,value:_0x19be38}=_0x957390,_0x5b2284=_0x57df43!==void 0x0;if(_0x5b2284&&(_0x19be38!==_0x3611d5[_0x167744(0x109)]['Pie']||_0x57df43!==_0x3611d5['PieSecondaryPlotType'][_0x167744(0x2c7)]&&_0x57df43!==_0x3611d5[_0x167744(0x195)]['Bar']))return!0x1;let _0x23faef=_0x5b2284?(0x0,_0x1e7325[_0x167744(0x1a1)])():void 0x0;return _0x1990c0[_0x167744(0x318)](_0x5979b3[_0x167744(0x29e)]['id'],{'unitId':_0x3a551e,'subUnitId':_0x448a36,'chartType':_0x19be38,..._0x23faef&&_0x57df43?{'chartId':_0x23faef,'config':{'unitId':_0x3a551e,'chartModelId':_0x23faef,'style':{'pie':{'composite':{'enabled':!0x0,'secondaryPlot':{'type':_0x57df43}}}}}}:{},'source':{'rangeInfo':{'unitId':_0x38fa7b[_0x167744(0xfa)]??_0x3a551e,'subUnitId':_0x38fa7b[_0x167744(0x429)]??_0x448a36,'range':_0x38fa7b}}});}};function _0x39337f(_0x1dfdb4,_0x43d7aa){const _0x3f8c46=_0xeb70cf;if(_0x1dfdb4==null)return'';if(Array['isArray'](_0x1dfdb4)){var _0x19f2f9;let _0x5e232d=(_0x19f2f9=_0x1dfdb4[0x0])==null?void 0x0:_0x19f2f9[_0x3f8c46(0x441)];return _0x5e232d?_0x8e43ae(_0x5e232d,_0x43d7aa):'';}return _0x8e43ae(_0x1dfdb4[_0x3f8c46(0x43c)],_0x43d7aa);}function _0x8e43ae(_0x11928c,_0x2695e1){const _0x2b217c=_0xeb70cf;var _0x2d8f41;let {unitId:_0x231975,subUnitId:_0x3cf1bf,range:_0x407dcb}=_0x11928c,_0x425963=(_0x2d8f41=_0x2695e1[_0x2b217c(0x1b8)](_0x231975))==null?void 0x0:_0x2d8f41[_0x2b217c(0x262)](_0x3cf1bf);if(!_0x425963)return'';let _0x7d0203=_0x425963[_0x2b217c(0x2ed)]();return(0x0,_0x1ee0b1[_0x2b217c(0x47c)])(_0x7d0203,_0x407dcb);}let _0x14f1e3=_0x339b6e[_0xeb70cf(0x22e)][_0xeb70cf(0x1f6)](_0x56c7b1=>({'id':'id'in _0x56c7b1?_0x56c7b1['id']:void 0x0,'labelId':_0x56c7b1[_0xeb70cf(0x260)],'pieSecondaryPlotType':'pieSecondaryPlotType'in _0x56c7b1?_0x56c7b1['pieSecondaryPlotType']:void 0x0,'value':_0x56c7b1['value'],'icon':_0x56c7b1[_0xeb70cf(0x324)]}));function _0x46af17(_0x56ec45=_0x14f1e3){return _0x56ec45['map'](({id:_0x10f805,icon:_0x1c6ffb,value:_0x14a4ca})=>{const _0x52400b=_0x3c84;let _0x3a2b33=(0x0,_0x339b6e[_0x52400b(0x1ff)])(_0x10f805??String(_0x14a4ca)),_0x2703df=_0x3a2b33?{'value':_0x3a2b33['chartType'],..._0x3a2b33[_0x52400b(0x186)]?{'pieSecondaryPlotType':_0x3a2b33[_0x52400b(0x186)]}:{}}:{'value':_0x14a4ca};return{'icon':_0x1c6ffb,'value':_0x10f805??_0x14a4ca,'params':_0x2703df};});}let _0x51c8a3=(_0x15e3d3,_0xd98da7)=>{const _0x4f1716=_0xeb70cf;if(_0xd98da7[_0x4f1716(0x2d4)]===0x1&&_0xd98da7[0x0]===_0x4f1716(0x20d))return _0x15e3d3;if(_0xd98da7['length']>0x1){let _0x4e003d=new Set();for(let _0x250f32 of _0xd98da7)_0x4e003d[_0x4f1716(0x2a8)](Number(_0x250f32));return _0x15e3d3[_0x4f1716(0x34a)](_0x14aea4=>_0x4e003d[_0x4f1716(0x4af)](_0x14aea4[_0x4f1716(0x375)]));}return[];};function _0x252a91(_0x48c76d){const _0x13a7d5=_0xeb70cf;let _0x4a668f=_0x48c76d[_0x13a7d5(0x360)](_0x1e7325[_0x13a7d5(0x106)]),_0x62b24e=(0x0,_0x5979b3[_0x13a7d5(0x12b)])(_0x48c76d),_0x472119=_0x51c8a3(_0x14f1e3[_0x13a7d5(0x434)](),_0x62b24e),_0x497817=_0x46af17(_0x472119)[_0x13a7d5(0x1f6)]((_0x479b98,_0x1ff7e1)=>({'icon':_0x479b98['icon'],'value':_0x479b98[_0x13a7d5(0x375)],'params':_0x479b98[_0x13a7d5(0x2f0)],'label':'sheets-chart-ui.chartTypes.'+_0x472119[_0x1ff7e1]['labelId']}));return{'id':_0x5cbb78['id'],'type':_0xced9f3['MenuItemType'][_0x13a7d5(0x19a)],'selectionsCommandId':_0x5cbb78['id'],'selections':_0x497817,'icon':_0x13a7d5(0x129),'tooltip':_0x13a7d5(0x48b),'activated$':(0x0,_0x2ef923['deriveStateFromActiveSheet$'])(_0x4a668f,!0x1,()=>new _0x24f269['Observable'](_0x591dfa=>{const _0x4439fa=_0x13a7d5;_0x591dfa[_0x4439fa(0x217)](!0x1);})),'hidden$':(0x0,_0xced9f3['getMenuHiddenObservable'])(_0x48c76d,_0x1e7325[_0x13a7d5(0x3b8)][_0x13a7d5(0x41f)]),'disabled$':(0x0,_0x2ef923[_0x13a7d5(0x27a)])(_0x48c76d)};}function _0x4c575c(_0x28c56d){const _0x475e44=_0xeb70cf;let _0x4dfe0b=_0x28c56d['get'](_0x4dac75[_0x475e44(0x45a)]);return _0x4dfe0b[_0x475e44(0x49b)][_0x475e44(0x2cf)]((0x0,_0x24f269[_0x475e44(0x11e)])(_0x4dfe0b[_0x475e44(0x3aa)]()),(0x0,_0x24f269[_0x475e44(0x1f6)])(()=>_0x474ca4(_0x28c56d)==null));}function _0x1f5608(_0x11b3e4){const _0x4ee8ba=_0xeb70cf;return{'id':_0x512316['id'],'commandId':_0x512316['id'],'type':_0xced9f3[_0x4ee8ba(0x35e)]['BUTTON'],'title':_0x11b3e4[_0x4ee8ba(0x360)](_0x1e7325[_0x4ee8ba(0x404)])['t'](_0x4ee8ba(0x296)),'icon':'PenIcon','hidden$':_0x4c575c(_0x11b3e4)};}function _0x4fb0f8(_0x4649ba){const _0x1dd4e1=_0xeb70cf;return{'id':_0xe02a20['id'],'commandId':_0xe02a20['id'],'type':_0xced9f3[_0x1dd4e1(0x35e)][_0x1dd4e1(0x1fe)],'title':_0x4649ba[_0x1dd4e1(0x360)](_0x1e7325[_0x1dd4e1(0x404)])['t']('sheets-chart-ui.common.copy'),'icon':_0x1dd4e1(0x115),'hidden$':_0x4c575c(_0x4649ba)};}function _0x1d2a26(_0x5b607a){const _0x43e627=_0xeb70cf;return{'id':_0x336d65['id'],'commandId':_0x336d65['id'],'type':_0xced9f3[_0x43e627(0x35e)][_0x43e627(0x1fe)],'title':_0x5b607a[_0x43e627(0x360)](_0x1e7325[_0x43e627(0x404)])['t'](_0x43e627(0x1ee)),'icon':_0x43e627(0x13b),'hidden$':_0x4c575c(_0x5b607a)};}function _0x1ad486(_0x97815a){const _0x28a1ec=_0xeb70cf;return{'id':_0x13aee6['id'],'commandId':_0x13aee6['id'],'type':_0xced9f3[_0x28a1ec(0x35e)][_0x28a1ec(0x1fe)],'title':_0x97815a[_0x28a1ec(0x360)](_0x1e7325[_0x28a1ec(0x404)])['t'](_0x28a1ec(0x11d)),'icon':_0x28a1ec(0x14f),'hidden$':_0x4c575c(_0x97815a)};}let _0x3350dd={[_0xced9f3[_0xeb70cf(0x1b3)][_0xeb70cf(0x21c)]]:{[_0x5cbb78['id']]:{'order':0x4,'menuItemFactory':_0x252a91}},[_0xced9f3[_0xeb70cf(0x45e)][_0xeb70cf(0x2b8)]]:{[_0xced9f3['ContextMenuGroup'][_0xeb70cf(0x37e)]]:{[_0x512316['id']]:{'order':0x0,'menuItemFactory':_0x1f5608},[_0xe02a20['id']]:{'order':0x1,'menuItemFactory':_0x4fb0f8},[_0x336d65['id']]:{'order':0x3,'menuItemFactory':_0x1d2a26},[_0x13aee6['id']]:{'order':0x4,'menuItemFactory':_0x1ad486}}}};function _0x24003c(_0x31b353){const _0x2b0bd7=_0xeb70cf;return _0x31b353===_0x3611d5['ChartTypeBits']['Combination']||_0x31b353===_0x3611d5[_0x2b0bd7(0x109)][_0x2b0bd7(0x46f)]||_0x31b353===_0x3611d5[_0x2b0bd7(0x109)][_0x2b0bd7(0x22d)]||_0x3611d5['chartBitsUtils'][_0x2b0bd7(0x28b)](_0x31b353,_0x3611d5[_0x2b0bd7(0x109)]['Line'])||_0x3611d5[_0x2b0bd7(0xda)]['baseOn'](_0x31b353,_0x3611d5['ChartTypeBits'][_0x2b0bd7(0x368)])||_0x3611d5[_0x2b0bd7(0xda)][_0x2b0bd7(0x28b)](_0x31b353,_0x3611d5[_0x2b0bd7(0x109)][_0x2b0bd7(0x24d)])||_0x3611d5['chartBitsUtils'][_0x2b0bd7(0x28b)](_0x31b353,_0x3611d5[_0x2b0bd7(0x109)][_0x2b0bd7(0x1c4)]);}function _0x3a7357(_0x5d8b5e){const _0x3baff1=_0xeb70cf;return _0x24003c(_0x5d8b5e)||_0x3611d5[_0x3baff1(0xda)][_0x3baff1(0x28b)](_0x5d8b5e,_0x3611d5[_0x3baff1(0x109)][_0x3baff1(0x2c7)])||_0x3611d5[_0x3baff1(0xda)][_0x3baff1(0x28b)](_0x5d8b5e,_0x3611d5[_0x3baff1(0x109)][_0x3baff1(0x281)])||_0x3611d5[_0x3baff1(0xda)][_0x3baff1(0x28b)](_0x5d8b5e,_0x3611d5['ChartTypeBits'][_0x3baff1(0x363)]);}function _0x424778(_0x525b8e,_0x3d2ad8){const _0x5a88d8=_0xeb70cf;let _0xd26a0e=(0x0,_0x339b6e[_0x5a88d8(0x410)])(_0x525b8e,_0x3d2ad8),_0x19e923=_0xd26a0e?(0x0,_0x339b6e[_0x5a88d8(0x25f)])(_0xd26a0e['target']):void 0x0;if(_0xd26a0e&&_0x19e923)return{..._0xd26a0e,'route':_0x19e923,'showFloatMenu':_0x3a7357(_0x525b8e[_0x5a88d8(0x257)])&&_0xd26a0e[_0x5a88d8(0x3e5)]};}function _0x47b3fc(_0x24ab3c){'@babel/helpers - typeof';const _0x240ce0=_0xeb70cf;return _0x47b3fc=typeof Symbol==_0x240ce0(0x10a)&&typeof Symbol[_0x240ce0(0x1b9)]==_0x240ce0(0x1af)?function(_0x3e0180){return typeof _0x3e0180;}:function(_0x541b08){return _0x541b08&&typeof Symbol=='function'&&_0x541b08['constructor']===Symbol&&_0x541b08!==Symbol['prototype']?'symbol':typeof _0x541b08;},_0x47b3fc(_0x24ab3c);}function _0xa9e424(_0x19adc9,_0x5e258a){const _0xf5ccb8=_0xeb70cf;if(_0x47b3fc(_0x19adc9)!='object'||!_0x19adc9)return _0x19adc9;var _0x2f704e=_0x19adc9[Symbol['toPrimitive']];if(_0x2f704e!==void 0x0){var _0x580fbf=_0x2f704e[_0xf5ccb8(0x479)](_0x19adc9,_0x5e258a||_0xf5ccb8(0x298));if(_0x47b3fc(_0x580fbf)!=_0xf5ccb8(0x1d7))return _0x580fbf;throw TypeError('@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.');}return(_0x5e258a==='string'?String:Number)(_0x19adc9);}function _0x45e879(_0x295637){const _0x330a8f=_0xeb70cf;var _0x54b017=_0xa9e424(_0x295637,'string');return _0x47b3fc(_0x54b017)==_0x330a8f(0x1af)?_0x54b017:_0x54b017+'';}function _0x1b6fbd(_0x3034f4,_0x564b16,_0x5ec35b){const _0x21bcd0=_0xeb70cf;return(_0x564b16=_0x45e879(_0x564b16))in _0x3034f4?Object[_0x21bcd0(0x4a8)](_0x3034f4,_0x564b16,{'value':_0x5ec35b,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x3034f4[_0x564b16]=_0x5ec35b,_0x3034f4;}var _0x495b73=class extends _0x1e7325[_0xeb70cf(0x3e8)]{constructor(_0x38e6c3,_0x4d4fbb){const _0x10ad46=_0xeb70cf;super(),this[_0x10ad46(0x23d)]=_0x38e6c3,this['_onChange']=_0x4d4fbb,_0x1b6fbd(this,_0x10ad46(0x334),null),_0x1b6fbd(this,_0x10ad46(0x3ae),void 0x0),this['_geometry']=this[_0x10ad46(0x1b7)](),this[_0x10ad46(0x1e8)](_0x38e6c3[_0x10ad46(0x10b)][_0x10ad46(0x259)](()=>{const _0x13fde6=_0x10ad46;this[_0x13fde6(0x334)]===null&&(this[_0x13fde6(0x334)]=requestAnimationFrame(()=>this[_0x13fde6(0x380)]()));}));}[_0xeb70cf(0x380)](){const _0x18eb9d=_0xeb70cf;if(this[_0x18eb9d(0xd0)](),this[_0x18eb9d(0x2c1)])return;let _0x4bb49d=this[_0x18eb9d(0x1b7)](),_0x17f351=this[_0x18eb9d(0x3ae)],_0x1937b5=_0x4bb49d[_0x18eb9d(0x323)]!==_0x17f351[_0x18eb9d(0x323)]||_0x4bb49d['height']!==_0x17f351['height'];(_0x1937b5||_0x4bb49d[_0x18eb9d(0x2a9)]!==_0x17f351['left']||_0x4bb49d[_0x18eb9d(0x2f4)]!==_0x17f351['top'])&&(this[_0x18eb9d(0x3ae)]=_0x4bb49d,this['_onChange'](_0x1937b5));}[_0xeb70cf(0xd0)](){const _0x188462=_0xeb70cf;this[_0x188462(0x334)]!==null&&(cancelAnimationFrame(this['_frame']),this[_0x188462(0x334)]=null);}[_0xeb70cf(0x151)](){const _0x153252=_0xeb70cf;this['cancelPending'](),super[_0x153252(0x151)]();}[_0xeb70cf(0x1b7)](){let {left:_0x50675f,top:_0x1016a3,width:_0x5d6d1e,height:_0x1406e4}=this['_rect'];return{'left':_0x50675f,'top':_0x1016a3,'width':_0x5d6d1e,'height':_0x1406e4};}};function _0x2c2298(_0x403426,_0x59d052=0x1){const _0x4d8747=_0xeb70cf;return{'width':Math[_0x4d8747(0x15a)](_0x59d052,_0x403426[_0x4d8747(0x323)]),'height':Math[_0x4d8747(0x15a)](_0x59d052,_0x403426['height'])};}function _0x5773c3(_0x5cd643,_0x29d934={},_0x281a0d={'left':0x0,'top':0x0}){const _0x248f05=_0xeb70cf;let _0x1ccf12=_0x29d934[_0x248f05(0x26c)]??0x1,_0x4e3065=_0x29d934[_0x248f05(0x1ad)]??0x1,_0x31ffa9=_0x339b6e[_0x248f05(0x31a)][_0x248f05(0x226)]({'logicalOuterRect':{'left':_0x281a0d[_0x248f05(0x2a9)]>0x0?-_0x281a0d[_0x248f05(0x2a9)]:0x0,'top':_0x281a0d[_0x248f05(0x2f4)]>0x0?-_0x281a0d[_0x248f05(0x2f4)]:0x0,..._0x2c2298(_0x5cd643)},'scale':{'scaleX':_0x1ccf12,'scaleY':_0x4e3065},'hostStyle':{},'contentMode':_0x339b6e['ChartFrameContentMode'][_0x248f05(0x377)]});return{'left':_0x31ffa9[_0x248f05(0x2db)][_0x248f05(0x2a9)],'top':_0x31ffa9[_0x248f05(0x2db)]['top'],'width':_0x31ffa9[_0x248f05(0x2db)][_0x248f05(0x323)],'height':_0x31ffa9['logicalOuterRect'][_0x248f05(0x1ed)],'scaleX':_0x1ccf12,'scaleY':_0x4e3065};}function _0x2a40a6(_0x19bc48){const _0x6342f5=_0xeb70cf;switch(_0x19bc48[_0x6342f5(0x3b3)]){case _0x3611d5[_0x6342f5(0x305)][_0x6342f5(0x29c)]:return _0x19bc48[_0x6342f5(0x438)];case _0x3611d5[_0x6342f5(0x305)][_0x6342f5(0x1d4)]:return _0x19bc48['imageBitmap'];default:return;}}var _0x391a42=class extends _0x4fef78['Rect']{constructor(_0x5225c7,_0x12a764,_0x408667,_0x42952c=()=>!0x1,_0x52a116=()=>{}){const _0x5b094d=_0xeb70cf;super(_0x5225c7,{..._0x12a764,'evented':_0x12a764[_0x5b094d(0x2bd)]??!0x0}),this['_getImage']=_0x408667,this['_shouldSuppressRender']=_0x42952c,this['_disposeImage']=_0x52a116,_0x1b6fbd(this,_0x5b094d(0x3c1),null),_0x1b6fbd(this,_0x5b094d(0xeb),null),_0x1b6fbd(this,'_requestedUrl',null),_0x1b6fbd(this,_0x5b094d(0x481),null),this[_0x5b094d(0x34d)](_0x4fef78[_0x5b094d(0x367)][_0x5b094d(0x2fc)]);}[_0xeb70cf(0x151)](){const _0x785f41=_0xeb70cf;this['_clearPendingUrlImage'](),this[_0x785f41(0x3c1)]=null,this[_0x785f41(0xeb)]=null,this['_requestedUrl']=null,this[_0x785f41(0x252)](),super[_0x785f41(0x151)]();}[_0xeb70cf(0x37d)](_0xae7f99,_0x479b7d){const _0x541116=_0xeb70cf;if(!this['visible'])return this[_0x541116(0x211)](!0x1),this;if(this['_shouldSuppressRender']()){let _0x53005e=this[_0x541116(0xd4)]();return _0x53005e&&this['_getDrawable'](_0x53005e),this['makeDirty'](!0x1),this;}if(!this[_0x541116(0x401)])return this;let {width:_0x2908aa,height:_0x21d915,left:_0x2f8780,top:_0x529294}=this[_0x541116(0x108)]();if(this[_0x541116(0xe0)](_0x479b7d)){let {top:_0x568ea4,left:_0x22c845,bottom:_0x291c2,right:_0x5877d8}=_0x479b7d[_0x541116(0x1ec)];if(_0x2908aa+this[_0x541116(0x220)]+_0x2f8780<_0x22c845||_0x5877d8<_0x2f8780||_0x21d915+this[_0x541116(0x220)]+_0x529294<_0x568ea4||_0x291c2<_0x529294)return this;}let _0x572fd5=this[_0x541116(0x401)][_0x541116(0x366)]();_0xae7f99['save']();let _0x26ba18=_0x2f8780+_0x2908aa/0x2,_0x188247=_0x529294+_0x21d915/0x2;return _0xae7f99[_0x541116(0x401)](_0x572fd5[0x0],_0x572fd5[0x1],_0x572fd5[0x2],_0x572fd5[0x3],_0x26ba18,_0x188247),this['opacity']!==0x1&&(_0xae7f99[_0x541116(0x1c7)]=this[_0x541116(0x378)]),this[_0x541116(0x13a)](_0xae7f99,void 0x0,_0x2908aa,_0x21d915),_0xae7f99[_0x541116(0x17f)](),this[_0x541116(0x211)](!0x1),this;}[_0xeb70cf(0x13a)](_0x57a679,_0x11de2e,_0x401fdb=this[_0xeb70cf(0x323)],_0x46e214=this['height']){const _0x2e421d=_0xeb70cf;this[_0x2e421d(0x424)](_0x57a679,_0x401fdb,_0x46e214,{'stroke':void 0x0,'strokeWidth':0x0}),this[_0x2e421d(0x244)](_0x57a679,_0x401fdb,_0x46e214),this[_0x2e421d(0x424)](_0x57a679,_0x401fdb,_0x46e214,{'fill':void 0x0});}['_drawChartFrame'](_0x18eb2f,_0x478dbb,_0x27693f,_0x31f14d){const _0x188eef=_0xeb70cf;_0x18eb2f['save'](),_0x18eb2f[_0x188eef(0x30f)](-_0x478dbb/0x2,-_0x27693f/0x2),_0x4fef78[_0x188eef(0x279)][_0x188eef(0x1da)](_0x18eb2f,_0x580525(this,_0x478dbb,_0x27693f,_0x31f14d)),_0x18eb2f['restore']();}[_0xeb70cf(0x20e)](_0x412484){const _0x813441=_0xeb70cf;let {left:_0x14de86,top:_0x41dcaa,width:_0x9367e5,height:_0x26d944}=this['getRealBound'](),_0x201d5b=_0x14de86+_0x9367e5/0x2,_0x33d77f=_0x41dcaa+_0x26d944/0x2,_0x1dc5cb=this[_0x813441(0x401)][_0x813441(0x366)](),_0x128994=new _0x4fef78[(_0x813441(0x30c))]([_0x1dc5cb[0x0],_0x1dc5cb[0x1],_0x1dc5cb[0x2],_0x1dc5cb[0x3],_0x201d5b,_0x33d77f]),_0xc1165d=this[_0x813441(0x175)](),_0x4bc970=(this[_0x813441(0x15e)]&&(_0xc1165d==null?void 0x0:_0xc1165d[_0x813441(0x181)])===_0x4fef78[_0x813441(0x436)][_0x813441(0x25a)]?_0xc1165d[_0x813441(0x167)][_0x813441(0x3bb)](_0x128994):_0x128994)[_0x813441(0xca)]()[_0x813441(0x173)](_0x412484),_0x4b6188=_0x9367e5/0x2,_0x153708=_0x26d944/0x2;return _0x4bc970['x']>=-_0x4b6188-this[_0x813441(0x220)]/0x2&&_0x4bc970['x']<=_0x4b6188+this[_0x813441(0x220)]/0x2&&_0x4bc970['y']>=-_0x153708-this['strokeWidth']/0x2&&_0x4bc970['y']<=_0x153708+this[_0x813441(0x220)]/0x2;}[_0xeb70cf(0x244)](_0x112156,_0x5cc166,_0x20f898){const _0x284d53=_0xeb70cf;let _0x1d1910=this[_0x284d53(0xd4)](),_0x5bb5e2=_0x1d1910?this[_0x284d53(0x45c)](_0x1d1910):void 0x0;if(!_0x5bb5e2)return;let {width:_0x5f4a94,height:_0x1166a9}=_0x2c2298({'width':_0x5cc166,'height':_0x20f898},0x0);_0x5f4a94!==0x0&&_0x1166a9!==0x0&&(_0x112156[_0x284d53(0x137)](),_0x112156[_0x284d53(0x30f)](-_0x5cc166/0x2,-_0x20f898/0x2),_0x599d8e(_0x112156,_0x5f4a94,_0x1166a9,this[_0x284d53(0x2a5)]),_0x112156['clip'](),_0x112156[_0x284d53(0x2cc)](_0x5bb5e2,0x0,0x0,_0x5f4a94,_0x1166a9),_0x112156[_0x284d53(0x17f)]());}['_getDrawable'](_0x3d9118){const _0x559df4=_0xeb70cf;var _0x3ea8f;let _0x292ee1=_0x2a40a6(_0x3d9118);if(_0x292ee1)return _0x292ee1;if(_0x3d9118[_0x559df4(0x3b3)]===_0x3611d5[_0x559df4(0x305)][_0x559df4(0x20b)]&&(this[_0x559df4(0x2d6)]!==_0x3d9118['url']&&(this[_0x559df4(0x2d6)]=_0x3d9118[_0x559df4(0x412)],this['_clearPendingUrlImage'](),this[_0x559df4(0xeb)]!==_0x3d9118[_0x559df4(0x412)]&&this[_0x559df4(0x381)](_0x3d9118[_0x559df4(0x412)])),(_0x3ea8f=this[_0x559df4(0x3c1)])!=null&&_0x3ea8f[_0x559df4(0x1e6)]&&this[_0x559df4(0x3c1)][_0x559df4(0x311)]>0x0&&this['_urlImage']['naturalHeight']>0x0))return this[_0x559df4(0x3c1)];}[_0xeb70cf(0x381)](_0x30a752){const _0x471de3=_0xeb70cf;let _0x11db7f=document[_0x471de3(0xfc)](_0x471de3(0x435));this[_0x471de3(0x481)]=_0x11db7f,_0x11db7f['crossOrigin']=_0x471de3(0x12e),_0x11db7f['onload']=()=>{const _0x38026e=_0x471de3;this[_0x38026e(0x2d6)]===_0x30a752&&this['_pendingUrlImage']===_0x11db7f&&(_0x11db7f[_0x38026e(0x311)]>0x0&&_0x11db7f['naturalHeight']>0x0&&(this['_url']=_0x30a752,this[_0x38026e(0x3c1)]=_0x11db7f),this[_0x38026e(0x150)](),this['makeDirty'](!0x0));},_0x11db7f[_0x471de3(0x499)]=()=>{const _0xad7f79=_0x471de3;this['_pendingUrlImage']===_0x11db7f&&this[_0xad7f79(0x150)]();},_0x11db7f[_0x471de3(0x275)]=_0x30a752;}['_clearPendingUrlImage'](){const _0x5a8f42=_0xeb70cf;this[_0x5a8f42(0x481)]&&=(this[_0x5a8f42(0x481)][_0x5a8f42(0x2b2)]=null,this[_0x5a8f42(0x481)][_0x5a8f42(0x499)]=null,null);}};function _0x580525(_0x3da107,_0x22df25,_0xd98018,_0x19cb42){const _0x8de773=_0xeb70cf;let _0x43c5c0=Object[_0x8de773(0x3dd)](_0x3da107);return Object['defineProperty'](_0x43c5c0,_0x8de773(0x323),{'value':_0x22df25}),Object[_0x8de773(0x4a8)](_0x43c5c0,'height',{'value':_0xd98018}),Object[_0x8de773(0x19e)](_0x19cb42)[_0x8de773(0x332)](_0xdcfd7a=>{const _0xa898=_0x8de773;Object[_0xa898(0x4a8)](_0x43c5c0,_0xdcfd7a,{'value':_0x19cb42[_0xdcfd7a]});}),_0x43c5c0;}function _0x599d8e(_0x2af289,_0x49c877,_0x4a0d92,_0x465ac7){const _0x47f2fd=_0xeb70cf;let _0x3f0cb2=Math[_0x47f2fd(0x1ae)](_0x465ac7||0x0,_0x49c877/0x2,_0x4a0d92/0x2);_0x2af289[_0x47f2fd(0x474)](),_0x3f0cb2?(_0x2af289[_0x47f2fd(0x2c2)](_0x3f0cb2,0x0),_0x2af289[_0x47f2fd(0x18c)](_0x49c877-_0x3f0cb2,0x0),_0x2af289[_0x47f2fd(0x264)](_0x49c877-_0x3f0cb2,_0x3f0cb2,_0x3f0cb2,Math['PI']*0x3/0x2,0x0,!0x1),_0x2af289[_0x47f2fd(0x18c)](_0x49c877,_0x4a0d92-_0x3f0cb2),_0x2af289[_0x47f2fd(0x264)](_0x49c877-_0x3f0cb2,_0x4a0d92-_0x3f0cb2,_0x3f0cb2,0x0,Math['PI']/0x2,!0x1),_0x2af289[_0x47f2fd(0x18c)](_0x3f0cb2,_0x4a0d92),_0x2af289[_0x47f2fd(0x264)](_0x3f0cb2,_0x4a0d92-_0x3f0cb2,_0x3f0cb2,Math['PI']/0x2,Math['PI'],!0x1),_0x2af289[_0x47f2fd(0x18c)](0x0,_0x3f0cb2),_0x2af289[_0x47f2fd(0x264)](_0x3f0cb2,_0x3f0cb2,_0x3f0cb2,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x2af289[_0x47f2fd(0x322)]()):(_0x2af289['rect'](0x0,0x0,_0x49c877,_0x4a0d92),_0x2af289[_0x47f2fd(0x322)]());}function _0x500cb6(_0x4269fc){const _0x19342f=_0xeb70cf;(_0x4269fc==null?void 0x0:_0x4269fc[_0x19342f(0x3b3)])===_0x3611d5[_0x19342f(0x305)][_0x19342f(0x1d4)]&&_0x4269fc[_0x19342f(0x3de)][_0x19342f(0x432)]();}function _0x5afec7(_0x139748){const _0x4d5174=_0xeb70cf;return _0x139748[_0x4d5174(0xfa)]+_0x4d5174(0x192)+_0x139748[_0x4d5174(0x331)]+_0x4d5174(0x192)+_0x139748[_0x4d5174(0x2b5)];}var _0x36a856=class extends _0x1e7325['Disposable']{constructor(..._0x2e90fc){const _0x378f9d=_0xeb70cf;super(..._0x2e90fc),_0x1b6fbd(this,_0x378f9d(0x13f),new Map());}[_0xeb70cf(0xe2)](_0x3d141a){const _0x5c07a2=_0xeb70cf;let _0x516d82=_0x5afec7(_0x3d141a),_0x2442e5=this[_0x5c07a2(0x13f)][_0x5c07a2(0x360)](_0x516d82)??{'version':0x0};return _0x2442e5[_0x5c07a2(0x27d)]+=0x1,this[_0x5c07a2(0x13f)][_0x5c07a2(0x130)](_0x516d82,_0x2442e5),_0x2442e5[_0x5c07a2(0x27d)];}[_0xeb70cf(0x141)](_0x29e9be,_0xb4a54c){const _0x2d3115=_0xeb70cf;var _0x4a574b;return((_0x4a574b=this[_0x2d3115(0x13f)][_0x2d3115(0x360)](_0x5afec7(_0x29e9be)))==null?void 0x0:_0x4a574b[_0x2d3115(0x27d)])===_0xb4a54c;}[_0xeb70cf(0x3a5)](_0x5ec446,_0x128792,_0x464408){const _0x46f1b5=_0xeb70cf;if(!this[_0x46f1b5(0x141)](_0x5ec446,_0x464408))return _0x500cb6(_0x128792),!0x1;let _0x1646ee=_0x5afec7(_0x5ec446),_0x295863=this[_0x46f1b5(0x13f)][_0x46f1b5(0x360)](_0x1646ee)??{'version':_0x464408},_0x4b7678=_0x295863[_0x46f1b5(0xe3)];return _0x295863['image']=_0x128792,_0x295863[_0x46f1b5(0x27d)]=_0x464408,this[_0x46f1b5(0x13f)][_0x46f1b5(0x130)](_0x1646ee,_0x295863),_0x4b7678!==_0x128792&&_0x500cb6(_0x4b7678),!0x0;}[_0xeb70cf(0x418)](_0x5e106d){const _0x2d4a88=_0xeb70cf;var _0x1640e7;return(_0x1640e7=this['_entries'][_0x2d4a88(0x360)](_0x5afec7(_0x5e106d)))==null?void 0x0:_0x1640e7[_0x2d4a88(0xe3)];}[_0xeb70cf(0x33a)](_0x489205){const _0x28e71a=_0xeb70cf;let _0x2de9c4=_0x5afec7(_0x489205),_0xdf0287=this['_entries'][_0x28e71a(0x360)](_0x2de9c4);_0xdf0287&&(_0x500cb6(_0xdf0287[_0x28e71a(0xe3)]),this['_entries'][_0x28e71a(0x339)](_0x2de9c4));}['clearChart'](_0x5addb5){const _0xf3c156=_0xeb70cf;for(let [_0x5c7aff,_0x99e573]of this[_0xf3c156(0x13f)])_0x5c7aff[_0xf3c156(0x350)](_0xf3c156(0x192)+_0x5addb5)&&(_0x500cb6(_0x99e573[_0xf3c156(0xe3)]),this[_0xf3c156(0x13f)][_0xf3c156(0x339)](_0x5c7aff));}[_0xeb70cf(0x151)](){const _0x177c87=_0xeb70cf;this['_entries'][_0x177c87(0x332)](_0x1f73bc=>_0x500cb6(_0x1f73bc[_0x177c87(0xe3)])),this['_entries'][_0x177c87(0x3b6)](),super[_0x177c87(0x151)]();}};function _0x59809b(_0x18bb33,_0x5afe36=0x7d0){let _0x4427dc=null,_0x545a6f=null,_0x3e17b3=!0x1,_0x133597=()=>{},_0x51b275=()=>{_0x4427dc!=null&&(clearInterval(_0x4427dc),_0x4427dc=null),_0x545a6f!=null&&(clearTimeout(_0x545a6f),_0x545a6f=null);};return{'promise':new Promise((_0x201af8,_0xbb7846)=>{_0x133597=_0xbb7846;let _0x4f3caa=()=>{const _0x76771b=_0x3c84;let _0x10385f=document[_0x76771b(0x302)](_0x18bb33);_0x10385f&&!_0x3e17b3&&(_0x3e17b3=!0x0,_0x51b275(),_0x201af8(_0x10385f));};_0x4f3caa(),!_0x3e17b3&&(_0x4427dc=setInterval(_0x4f3caa,16.666666666666668),_0x545a6f=setTimeout(()=>{_0x3e17b3||(_0x3e17b3=!0x0,_0x51b275(),_0xbb7846(Error('Timed\x20out\x20waiting\x20for\x20float\x20dom\x20host\x20\x22'+_0x18bb33+'\x22.')));},_0x5afe36));}),'cancel':()=>{const _0x11529a=_0x3c84;_0x3e17b3||(_0x3e17b3=!0x0,_0x51b275(),_0x133597(Error(_0x11529a(0x469)+_0x18bb33+'\x22.')));}};}var _0x2e9297=class extends _0x1e7325[_0xeb70cf(0x3e8)]{constructor(_0x15dc9c,_0x15f4f2,_0x904f6d,_0x1655f6,_0x5cc973,_0x4994de,_0x345540,_0x3b3e7d){const _0x3f5721=_0xeb70cf;super(),this[_0x3f5721(0x2b5)]=_0x15dc9c,this[_0x3f5721(0x132)]=_0x15f4f2,this['_getPlacement']=_0x904f6d,this[_0x3f5721(0x1f2)]=_0x1655f6,this[_0x3f5721(0x267)]=_0x5cc973,this[_0x3f5721(0x139)]=_0x4994de,this[_0x3f5721(0x494)]=_0x345540,this[_0x3f5721(0x383)]=_0x3b3e7d,_0x1b6fbd(this,_0x3f5721(0x170),_0x3611d5['ChartRenderMode']['Dom']),_0x1b6fbd(this,_0x3f5721(0x3e0),null),_0x1b6fbd(this,_0x3f5721(0x425),!0x1),_0x1b6fbd(this,_0x3f5721(0x461),null),_0x1b6fbd(this,_0x3f5721(0x21b),null),_0x1b6fbd(this,_0x3f5721(0xd5),null),_0x1b6fbd(this,_0x3f5721(0x131),{}),_0x1b6fbd(this,_0x3f5721(0x49c),null),_0x1b6fbd(this,'_dataUpdateAnimationDuration',null),_0x1b6fbd(this,_0x3f5721(0x4aa),null);}['isManaged'](){return this['_managed'];}[_0xeb70cf(0x3f8)](){const _0x280e41=_0xeb70cf;this[_0x280e41(0x425)]=!0x1;}[_0xeb70cf(0x3d2)](){const _0x280b6b=_0xeb70cf;let _0x4407e0=this[_0x280b6b(0x101)]();return _0x4407e0?{'width':_0x4407e0[_0x280b6b(0x323)],'height':_0x4407e0[_0x280b6b(0x1ed)]}:null;}[_0xeb70cf(0x2fa)](_0x5266bd){const _0x25b855=_0xeb70cf;this[_0x25b855(0x131)]=_0x5266bd,this[_0x25b855(0x1f2)](_0x5266bd),this[_0x25b855(0x17e)]();}async[_0xeb70cf(0x2ca)](){const _0x3bdd59=_0xeb70cf;if(this['_disposed']||this[_0x3bdd59(0x267)]())throw Error(_0x3bdd59(0x19c));let _0x31701b=this[_0x3bdd59(0x132)](),_0x329b6b=(_0x31701b==null?void 0x0:_0x31701b[_0x3bdd59(0x117)])??this[_0x3bdd59(0x2b5)],_0x40c611=document[_0x3bdd59(0x302)](_0x329b6b);if(this[_0x3bdd59(0x3e0)]&&_0x40c611!=null&&_0x40c611[_0x3bdd59(0x3a6)](this[_0x3bdd59(0x3e0)]['mountNode']))return{'mountNode':this[_0x3bdd59(0x3e0)][_0x3bdd59(0x442)],'dispose':()=>{const _0x26fc68=_0x3bdd59;this[_0x26fc68(0x151)](),_0x31701b==null||_0x31701b[_0x26fc68(0x151)][_0x26fc68(0x151)]();}};if(this['_pendingHost'])return this[_0x3bdd59(0x21b)];let _0x322838=this[_0x3bdd59(0x2ec)]();return this[_0x3bdd59(0x21b)]=_0x322838,_0x322838['then'](()=>{const _0x122b14=_0x3bdd59;this[_0x122b14(0x21b)]===_0x322838&&(this[_0x122b14(0x21b)]=null);},()=>{const _0x8856c2=_0x3bdd59;this['_pendingHost']===_0x322838&&(this[_0x8856c2(0x21b)]=null);}),_0x322838;}async[_0xeb70cf(0x43d)](){const _0x414dd8=_0xeb70cf;try{return(await this[_0x414dd8(0x2ca)]())[_0x414dd8(0x442)];}catch{return null;}}[_0xeb70cf(0x13d)](){const _0x429aed=_0xeb70cf;let _0x2012bc=this['_getFloatDomInfo'](),_0x496830=(_0x2012bc==null?void 0x0:_0x2012bc[_0x429aed(0x117)])??this[_0x429aed(0x2b5)],_0x56f708=document[_0x429aed(0x302)](_0x496830);return!!(this[_0x429aed(0x3e0)]&&_0x56f708!=null&&_0x56f708[_0x429aed(0x3a6)](this[_0x429aed(0x3e0)]['mountNode']));}['syncLayout'](){const _0x1e088b=_0xeb70cf;if(!this[_0x1e088b(0x3e0)])return;let _0x4854f8=this[_0x1e088b(0x101)]();_0x4854f8&&this[_0x1e088b(0x3e0)][_0x1e088b(0x466)](this['_resolveLayout'](_0x4854f8),this['_frameStyle']());}[_0xeb70cf(0x2e8)](){this['_markReady']();}[_0xeb70cf(0x1bd)](){this['_markNotReady']();}[_0xeb70cf(0x4b8)](_0x225d3b){const _0x2e563a=_0xeb70cf;this['_dataUpdateAnimationDuration']=_0x225d3b;let _0x271afb=this[_0x2e563a(0x132)](),_0x278359=document[_0x2e563a(0x302)]((_0x271afb==null?void 0x0:_0x271afb[_0x2e563a(0x117)])??this[_0x2e563a(0x2b5)]);_0x278359&&this[_0x2e563a(0x353)](_0x278359);}[_0xeb70cf(0x151)](){const _0x4daf50=_0xeb70cf;var _0x1ff33c,_0x2356df;this[_0x4daf50(0x2c1)]||(this['markNotReady'](),this[_0x4daf50(0x461)]=null,this[_0x4daf50(0x21b)]=null,this['_cancelHostWait'](),this[_0x4daf50(0x425)]=!0x1,this[_0x4daf50(0x415)]=null,(_0x1ff33c=this[_0x4daf50(0x4aa)])==null||_0x1ff33c['dispose'](),this[_0x4daf50(0x4aa)]=null,(_0x2356df=this['_domFrame'])==null||_0x2356df['dispose'](),this['_domFrame']=null,this[_0x4daf50(0x164)](),super[_0x4daf50(0x151)]());}async['_createHost'](){const _0x6937ce=_0xeb70cf;let _0x465d7d=this[_0x6937ce(0x132)]();if(!_0x465d7d)throw Error(_0x6937ce(0x19c));let _0x47f670=_0x465d7d[_0x6937ce(0x117)]??this[_0x6937ce(0x2b5)],_0x4d707d=_0x59809b(_0x47f670),_0x494874=Symbol(this[_0x6937ce(0x2b5)]);this['_pendingToken']=_0x494874,this[_0x6937ce(0xd5)]=_0x4d707d;try{var _0x1f937e;let _0x5d40ac=await _0x4d707d[_0x6937ce(0x234)],_0x24c52c=this[_0x6937ce(0x132)](),_0x7cf13f=(_0x24c52c==null?void 0x0:_0x24c52c[_0x6937ce(0x117)])??this[_0x6937ce(0x2b5)];if(this[_0x6937ce(0x2c1)]||this['_isProviderDisposed']()||this[_0x6937ce(0x461)]!==_0x494874||!_0x24c52c||_0x7cf13f!==_0x47f670||document['getElementById'](_0x47f670)!==_0x5d40ac||!_0x5d40ac[_0x6937ce(0xe7)])throw Error(_0x6937ce(0x19c));let _0x517ded=this[_0x6937ce(0x101)]();if(!_0x517ded)throw Error(_0x6937ce(0x19c));let _0x304107=new _0x339b6e['ChartDomFrame'](_0x5d40ac);return _0x304107['update'](this[_0x6937ce(0x446)](_0x517ded),this['_frameStyle']()),this[_0x6937ce(0x2f7)](_0x5d40ac),this[_0x6937ce(0x3e0)]=_0x304107,(_0x1f937e=this['_pointerEvents'])==null||_0x1f937e[_0x6937ce(0x151)](),this[_0x6937ce(0x4aa)]=this['_bindPointerEvents'](_0x5d40ac),this[_0x6937ce(0x425)]=!0x0,{'mountNode':_0x304107[_0x6937ce(0x442)],'dispose':()=>{const _0x3890bf=_0x6937ce;this[_0x3890bf(0x151)](),_0x465d7d['dispose'][_0x3890bf(0x151)]();}};}finally{this[_0x6937ce(0xd5)]===_0x4d707d&&(this[_0x6937ce(0xd5)]=null),this[_0x6937ce(0x461)]===_0x494874&&(this[_0x6937ce(0x461)]=null);}}[_0xeb70cf(0x232)](){const _0x12d32d=_0xeb70cf;let _0x20616c=this[_0x12d32d(0xd5)];_0x20616c&&(_0x20616c[_0x12d32d(0x30e)](),this[_0x12d32d(0xd5)]=null);}[_0xeb70cf(0x17e)](){const _0x3d8dd1=_0xeb70cf;let _0x1e9ec8=this[_0x3d8dd1(0x101)]();this[_0x3d8dd1(0x3e0)]&&_0x1e9ec8&&this['_domFrame'][_0x3d8dd1(0x466)](this['_resolveLayout'](_0x1e9ec8),this[_0x3d8dd1(0x33f)]());}['_resolveLayout'](_0x23ab18){const _0x44a88b=_0xeb70cf;return _0x339b6e[_0x44a88b(0x31a)]['resolve']({'logicalOuterRect':{'left':_0x23ab18[_0x44a88b(0x2a9)],'top':_0x23ab18['top'],'width':_0x23ab18[_0x44a88b(0x323)],'height':_0x23ab18['height']},'scale':{'scaleX':_0x23ab18['scaleX'],'scaleY':_0x23ab18['scaleY']},'hostStyle':this[_0x44a88b(0x33f)](),'contentMode':_0x339b6e[_0x44a88b(0x105)][_0x44a88b(0x377)]});}[_0xeb70cf(0x33f)](){return{...this['_hostStyle'],'radius':_0x339b6e['CHART_HOST_BORDER_RADIUS']};}[_0xeb70cf(0x2f7)](_0x2900bd){const _0x576499=_0xeb70cf;let _0x46631b=_0x2900bd['parentElement'];_0x46631b&&(this[_0x576499(0x49c)]||={'zIndex':_0x46631b[_0x576499(0x4b9)][_0x576499(0x157)],'pointerEvents':_0x46631b[_0x576499(0x4b9)]['pointerEvents']},_0x46631b['style']['zIndex']=_0x576499(0x3f2),this[_0x576499(0x353)](_0x2900bd));}[_0xeb70cf(0x353)](_0x5437d5){const _0x4549c3=_0xeb70cf;let _0x28abd5=_0x5437d5[_0x4549c3(0xdc)];if(!_0x28abd5)return;let _0x2fe4d0=this[_0x4549c3(0x415)];_0x2fe4d0==null?(delete _0x5437d5['dataset'][_0x4549c3(0x171)],delete _0x5437d5['dataset'][_0x4549c3(0x161)],_0x28abd5[_0x4549c3(0x4b9)]['pointerEvents']=_0x4549c3(0x208)):(_0x5437d5[_0x4549c3(0x333)][_0x4549c3(0x171)]=_0x4549c3(0x336),_0x5437d5[_0x4549c3(0x333)]['sheetChartDataAnimationDuration']=String(_0x2fe4d0),_0x28abd5[_0x4549c3(0x4b9)][_0x4549c3(0x24b)]=_0x4549c3(0x42b));}['_restoreHostWrapper'](){const _0x1837c9=_0xeb70cf;if(!this['_savedWrapperStyle'])return;let _0x4fba7e=this[_0x1837c9(0x132)](),_0x491c29=(_0x4fba7e==null?void 0x0:_0x4fba7e[_0x1837c9(0x117)])??this[_0x1837c9(0x2b5)],_0x200c13=document[_0x1837c9(0x302)](_0x491c29);_0x200c13==null||delete _0x200c13[_0x1837c9(0x333)][_0x1837c9(0x171)],_0x200c13==null||delete _0x200c13['dataset'][_0x1837c9(0x161)];let _0x4d0987=_0x200c13==null?void 0x0:_0x200c13['parentElement'];_0x4d0987&&(_0x4d0987[_0x1837c9(0x4b9)][_0x1837c9(0x157)]=this['_savedWrapperStyle'][_0x1837c9(0x157)],_0x4d0987['style'][_0x1837c9(0x24b)]=this[_0x1837c9(0x49c)][_0x1837c9(0x24b)]),this[_0x1837c9(0x49c)]=null;}},_0x6845c3=class extends _0x1e7325[_0xeb70cf(0x3e8)]{constructor(_0x563a4f,_0x4c5617,_0x4ce11a,_0x4a75b1){const _0x4fc8dd=_0xeb70cf;super(),this[_0x4fc8dd(0x100)]=_0x4c5617,_0x1b6fbd(this,'_gesture',null),_0x1b6fbd(this,_0x4fc8dd(0x3a3),!0x1);let _0x177b58=_0x46553f=>{const _0x3c7d3e=_0x4fc8dd;this['_suppressClick']&&(_0x46553f[_0x3c7d3e(0x2e2)](),_0x46553f['stopImmediatePropagation']());},_0x580004=_0x4dadbf=>{const _0x17dd12=_0x4fc8dd;let _0x5014e6=this[_0x17dd12(0x25d)];(_0x5014e6==null?void 0x0:_0x5014e6[_0x17dd12(0x3f1)]['pointerId'])===_0x4dadbf[_0x17dd12(0x26e)]&&!_0x5014e6[_0x17dd12(0x2d5)][_0x17dd12(0x43e)](_0x4dadbf['pointerId'])&&this[_0x17dd12(0xf1)]();};_0x563a4f[_0x4fc8dd(0x178)](_0x4fc8dd(0x1b6),_0x177b58,!0x0),_0x563a4f[_0x4fc8dd(0x178)]('dblclick',_0x177b58,!0x0),_0x563a4f[_0x4fc8dd(0x178)]('lostpointercapture',_0x580004),this['disposeWithMe']((0x0,_0x1e7325[_0x4fc8dd(0x119)])(()=>{const _0x19ceb7=_0x4fc8dd;_0x563a4f[_0x19ceb7(0x443)](_0x19ceb7(0x1b6),_0x177b58,!0x0),_0x563a4f[_0x19ceb7(0x443)]('dblclick',_0x177b58,!0x0),_0x563a4f[_0x19ceb7(0x443)]('lostpointercapture',_0x580004),_0x4a75b1(_0x4c5617);})),this[_0x4fc8dd(0x1e8)](_0x4ce11a[_0x4fc8dd(0x413)](()=>{const _0x3dd4b2=_0x4fc8dd;this[_0x3dd4b2(0x25d)]&&(this[_0x3dd4b2(0x3a3)]=!0x0);})),_0x4a75b1({'onPointerDown':_0x33bac9=>{const _0x1b2264=_0x4fc8dd;this[_0x1b2264(0x3a3)]=!0x1,_0x33bac9 instanceof PointerEvent&&_0x33bac9[_0x1b2264(0x2d5)]instanceof Element&&_0x563a4f[_0x1b2264(0x3a6)](_0x33bac9['target'])&&(this['_gesture']={'target':_0x33bac9['target'],'event':_0x33bac9}),_0x4c5617['onPointerDown'](_0x33bac9),this[_0x1b2264(0x3f4)](_0x33bac9);},'onPointerMove':_0x5de82d=>{const _0x5571bc=_0x4fc8dd;_0x4c5617[_0x5571bc(0x24e)](_0x5de82d),this[_0x5571bc(0x3f4)](_0x5de82d);},'onPointerUp':_0x330a7d=>{const _0x11a6ee=_0x4fc8dd;try{_0x4c5617['onPointerUp'](_0x330a7d);}finally{var _0x112177;_0x330a7d instanceof PointerEvent&&((_0x112177=this[_0x11a6ee(0x25d)])==null?void 0x0:_0x112177['event']['pointerId'])===_0x330a7d[_0x11a6ee(0x26e)]&&this[_0x11a6ee(0x3a8)]();}}});}['dispose'](){const _0x4197c8=_0xeb70cf;this['_disposed']||(this[_0x4197c8(0xf1)](),super[_0x4197c8(0x151)]());}[_0xeb70cf(0x3f4)](_0x4e83ee){const _0x25cce7=_0xeb70cf;let _0x56b39a=this[_0x25cce7(0x25d)];_0x4e83ee instanceof PointerEvent&&(_0x56b39a==null?void 0x0:_0x56b39a[_0x25cce7(0x3f1)]['pointerId'])===_0x4e83ee['pointerId']&&(_0x56b39a['event']=_0x4e83ee,_0x56b39a['target']['isConnected']?_0x56b39a['target'][_0x25cce7(0x229)](_0x4e83ee[_0x25cce7(0x26e)]):this[_0x25cce7(0xf1)]());}['_releaseGesture'](){const _0x34f9ae=_0xeb70cf;let _0x4f34c9=this[_0x34f9ae(0x25d)];this[_0x34f9ae(0x25d)]=null,_0x4f34c9!=null&&_0x4f34c9[_0x34f9ae(0x2d5)][_0x34f9ae(0x43e)](_0x4f34c9[_0x34f9ae(0x3f1)][_0x34f9ae(0x26e)])&&_0x4f34c9[_0x34f9ae(0x2d5)][_0x34f9ae(0x2a2)](_0x4f34c9[_0x34f9ae(0x3f1)]['pointerId']);}[_0xeb70cf(0xf1)](){const _0x5eebe7=_0xeb70cf;let _0x21e154=this['_gesture'];this[_0x5eebe7(0x3a8)](),_0x21e154&&this[_0x5eebe7(0x100)]['onPointerUp'](new PointerEvent(_0x5eebe7(0x2fb),_0x21e154['event']));}},_0x584a67=class extends _0x3611d5[_0xeb70cf(0x2ab)]{constructor(_0x420f69,_0x1d1e75,_0x75ea94,_0x4c93f3,_0x22d920,_0x1bb86c){const _0x49988a=_0xeb70cf;super(_0x420f69),this[_0x49988a(0x3ac)]=_0x1d1e75,this[_0x49988a(0x1f2)]=_0x75ea94,this['_snapshotKey']=_0x4c93f3,this[_0x49988a(0x2de)]=_0x22d920,this['_requestPaint']=_0x1bb86c;}[_0xeb70cf(0x3d2)](){const _0x18eb75=_0xeb70cf;let _0x167b4d=this[_0x18eb75(0x3ac)]();return _0x167b4d?_0x2c2298(_0x167b4d):null;}[_0xeb70cf(0x2fa)](_0x228c31){const _0x37917c=_0xeb70cf;this[_0x37917c(0x1f2)](_0x228c31);}['nextVersion'](){const _0x1c5eb6=_0xeb70cf;return this['_snapshotStore'][_0x1c5eb6(0xe2)](this[_0x1c5eb6(0x41d)]);}[_0xeb70cf(0x40d)](_0x3d0383,_0x5c9c79){const _0x448803=_0xeb70cf;return this[_0x448803(0x2de)][_0x448803(0x3a5)](this[_0x448803(0x41d)],_0x3d0383,_0x5c9c79);}[_0xeb70cf(0x44e)](){const _0x306afa=_0xeb70cf;this[_0x306afa(0x2b9)]();}[_0xeb70cf(0x313)](){const _0x3f21a5=_0xeb70cf;this[_0x3f21a5(0x2de)][_0x3f21a5(0xe2)](this['_snapshotKey']);}};function _0x16880b(_0x2fbdc0,_0x53f3a2){return function(_0x5b656f,_0xb11ae3){_0x53f3a2(_0x5b656f,_0xb11ae3,_0x2fbdc0);};}function _0x6243e3(_0x265d51,_0x4c7eed,_0x2624a2,_0x276e7b){const _0xbc269c=_0xeb70cf;var _0x461628=arguments[_0xbc269c(0x2d4)],_0x1daedf=_0x461628<0x3?_0x4c7eed:_0x276e7b===null?_0x276e7b=Object['getOwnPropertyDescriptor'](_0x4c7eed,_0x2624a2):_0x276e7b,_0x4e8ada;if(typeof Reflect==_0xbc269c(0x1d7)&&typeof Reflect[_0xbc269c(0x3d0)]==_0xbc269c(0x10a))_0x1daedf=Reflect[_0xbc269c(0x3d0)](_0x265d51,_0x4c7eed,_0x2624a2,_0x276e7b);else{for(var _0x4464a8=_0x265d51[_0xbc269c(0x2d4)]-0x1;_0x4464a8>=0x0;_0x4464a8--)(_0x4e8ada=_0x265d51[_0x4464a8])&&(_0x1daedf=(_0x461628<0x3?_0x4e8ada(_0x1daedf):_0x461628>0x3?_0x4e8ada(_0x4c7eed,_0x2624a2,_0x1daedf):_0x4e8ada(_0x4c7eed,_0x2624a2))||_0x1daedf);}return _0x461628>0x3&&_0x1daedf&&Object['defineProperty'](_0x4c7eed,_0x2624a2,_0x1daedf),_0x1daedf;}let _0x33a946=0.5;function _0x2ba426(_0x400622){const _0x48196e=_0xeb70cf;let _0x337975=Math[_0x48196e(0x15a)](_0x400622[_0x48196e(0x114)]-_0x400622[_0x48196e(0x483)],0x0),_0x1361b7=Math[_0x48196e(0x15a)](_0x400622['endY']-_0x400622[_0x48196e(0x45d)],0x0),_0x9ddec4=_0x400622['absolute']['left']&&_0x400622[_0x48196e(0x323)]-_0x337975>_0x33a946,_0x331c36=_0x400622['absolute'][_0x48196e(0x2f4)]&&_0x400622[_0x48196e(0x1ed)]-_0x1361b7>_0x33a946;return!_0x9ddec4&&!_0x331c36?_0x400622:{..._0x400622,'absolute':{'left':!_0x9ddec4&&_0x400622[_0x48196e(0x495)][_0x48196e(0x2a9)],'top':!_0x331c36&&_0x400622[_0x48196e(0x495)]['top']}};}function _0x3594ec(_0x931b41){const _0x287036=_0xeb70cf;if(!Object['prototype'][_0x287036(0x408)]['call'](_0x931b41,'border'))return _0x931b41;let {border:_0x5ed49a,..._0x1b05e0}=_0x931b41;return{..._0x1b05e0,'stroke':(_0x5ed49a==null?void 0x0:_0x5ed49a[_0x287036(0x396)])??_0x287036(0x2d9),'strokeWidth':(_0x5ed49a==null?void 0x0:_0x5ed49a[_0x287036(0x323)])??0x0};}let _0x1ca0a5=class extends _0x1e7325['Disposable']{constructor(_0x51a7b6,_0x202bac,_0x159661,_0x3ac75e){const _0x37ade6=_0xeb70cf;super(),this[_0x37ade6(0x16c)]=_0x51a7b6,this[_0x37ade6(0x2be)]=_0x202bac,this[_0x37ade6(0x276)]=_0x159661,this[_0x37ade6(0x153)]=_0x3ac75e,_0x1b6fbd(this,_0x37ade6(0x15d),new Map()),_0x1b6fbd(this,'_activeDomReadyChartIds',new Set()),_0x1b6fbd(this,_0x37ade6(0x44b),new _0x24f269['Subject']()),_0x1b6fbd(this,_0x37ade6(0x48a),this[_0x37ade6(0x44b)][_0x37ade6(0x2ad)]()),this[_0x37ade6(0x1e8)](this[_0x37ade6(0x16c)][_0x37ade6(0x144)][_0x37ade6(0x413)](_0x2b6bc9=>{const _0x3f7b35=_0x37ade6;let _0x42825d=this[_0x3f7b35(0x15d)]['get'](_0x2b6bc9['id']);_0x42825d!=null&&_0x42825d['isManaged']()&&(_0x42825d[_0x3f7b35(0x3f8)](),this[_0x3f7b35(0x44b)][_0x3f7b35(0x217)](_0x2b6bc9['id']));}));}[_0xeb70cf(0x2f2)](_0x1f2790){const _0x53ba3e=_0xeb70cf;if(_0x1f2790==null)return;let _0x45d71e=this[_0x53ba3e(0x2be)][_0x53ba3e(0x3a4)](_0x1f2790),_0x364f0e=_0x45d71e==null?void 0x0:_0x45d71e[_0x53ba3e(0x179)];return _0x45d71e==null||_0x364f0e==null?null:{'scene':_0x364f0e,'transformer':_0x364f0e[_0x53ba3e(0x3d9)](),'renderUnit':_0x45d71e,'canvas':_0x45d71e[_0x53ba3e(0x38e)]['getCanvasElement']()};}[_0xeb70cf(0x21d)](_0xd9d6f0,_0x458c94){const _0x311216=_0xeb70cf;let _0xd335fd=this[_0x311216(0x16c)],_0x9ab1c7=_0x458c94||_0x311216(0x2d9),_0x1705c6=_0xd335fd[_0x311216(0x1b2)](_0xd9d6f0);if(_0x1705c6){let {unitId:_0x24c6ff,subUnitId:_0x405202}=_0x1705c6;_0xd335fd['updateFloatDomProps'](_0x24c6ff,_0x405202,_0xd9d6f0,{'stroke':_0x9ab1c7});}}['setHostStyle'](_0x2be904,_0x25c9a3){const _0x34b7c4=_0xeb70cf;let _0x21f6d3=this[_0x34b7c4(0x16c)],_0x35c37b=_0x21f6d3['getFloatDomInfo'](_0x2be904);if(_0x35c37b){let {unitId:_0x24c5ca,subUnitId:_0xb0dc5b}=_0x35c37b;_0x21f6d3[_0x34b7c4(0x437)](_0x24c5ca,_0xb0dc5b,_0x2be904,_0x3594ec(_0x25c9a3));}}[_0xeb70cf(0x223)](_0xe4a762){const _0x4fc7be=_0xeb70cf;let _0x4da227=this['_sheetCanvasFloatDomManagerService']['getFloatDomInfo'](_0xe4a762);return _0x4da227?_0x4da227[_0x4fc7be(0x47b)]:null;}['getHostClientRect'](_0x5cbe42){const _0x5d1468=_0xeb70cf;let _0x28fb9d=this[_0x5d1468(0x16c)][_0x5d1468(0x1b2)](_0x5cbe42),_0x24f9a6=document[_0x5d1468(0x302)]((_0x28fb9d==null?void 0x0:_0x28fb9d[_0x5d1468(0x117)])??_0x5cbe42);return(_0x24f9a6==null?void 0x0:_0x24f9a6[_0x5d1468(0x464)]())??null;}[_0xeb70cf(0x4b8)](_0x839d54,_0x55bbf4){const _0x11c296=_0xeb70cf;var _0x2cd167;(_0x2cd167=this[_0x11c296(0x15d)][_0x11c296(0x360)](_0x839d54))==null||_0x2cd167[_0x11c296(0x4b8)](_0x55bbf4);}[_0xeb70cf(0x1f0)](_0x246ca3){const _0x4d529f=_0xeb70cf;var _0xa98817;return((_0xa98817=this[_0x4d529f(0x15d)][_0x4d529f(0x360)](_0x246ca3))==null?void 0x0:_0xa98817['checkMounted']())??!0x1;}[_0xeb70cf(0x120)](_0x3828ca){const _0x26b47f=_0xeb70cf;var _0x5b8cd2;(_0x5b8cd2=this['_chartHostMap'][_0x26b47f(0x360)](_0x3828ca))==null||_0x5b8cd2[_0x26b47f(0x1a5)]();}[_0xeb70cf(0x354)](_0x4009d7){const _0x4b99e7=_0xeb70cf;let _0x4be1c9=this[_0x4b99e7(0x15d)]['get'](_0x4009d7);_0x4be1c9&&(_0x4be1c9[_0x4b99e7(0x151)](),this['_canvasFloatDomService']['updateFloatDom'](_0x4009d7,{'eventPassThrough':!0x0})),this['_chartHostMap']['delete'](_0x4009d7);}async[_0xeb70cf(0x18d)](_0x3aea64,_0x306f84){const _0x50b136=_0xeb70cf;if(_0x306f84===_0x3611d5[_0x50b136(0x465)][_0x50b136(0x40f)])return this['_createImageChartHost'](_0x3aea64);if(_0x306f84===_0x3611d5['ChartRenderMode']['Dom'])return this[_0x50b136(0x3d5)](_0x3aea64);let _0x3c6880=this[_0x50b136(0x3d5)](_0x3aea64);if(!_0x3c6880)throw Error('Fail\x20to\x20create\x20float\x20dom');return _0x3c6880[_0x50b136(0x2ca)]();}['isDomReady'](_0x15a1a8){const _0x5338e0=_0xeb70cf;var _0x153115;return this[_0x5338e0(0x18a)][_0x5338e0(0x4af)](_0x15a1a8)?(_0x153115=this['_chartHostMap'][_0x5338e0(0x360)](_0x15a1a8))!=null&&_0x153115[_0x5338e0(0x13d)]()?!0x0:(this[_0x5338e0(0x18a)][_0x5338e0(0x339)](_0x15a1a8),this[_0x5338e0(0x38d)](_0x15a1a8),!0x1):!0x1;}['markHostNotReady'](_0xdeb908){const _0x8bb399=_0xeb70cf;this['_activeDomReadyChartIds'][_0x8bb399(0x339)](_0xdeb908)&&(this[_0x8bb399(0x38d)](_0xdeb908),this[_0x8bb399(0x338)](_0xdeb908));}[_0xeb70cf(0x313)](_0x188a4f){const _0x16ae26=_0xeb70cf;let _0x3b50f7=this[_0x16ae26(0x1e3)](_0x188a4f);_0x3b50f7&&this[_0x16ae26(0x276)][_0x16ae26(0xe2)](_0x3b50f7);}['_createImageChartHost'](_0x34b364){const _0x4eb645=_0xeb70cf;let _0x16fae1=this[_0x4eb645(0x1e3)](_0x34b364);return!_0x16fae1||!this[_0x4eb645(0x223)](_0x34b364)?null:new _0x584a67(_0x34b364,()=>this['getHostSize'](_0x34b364),_0x502d62=>this['setHostStyle'](_0x34b364,_0x502d62),_0x16fae1,this['_chartSnapshotStoreService'],()=>this['_requestChartCanvasRender'](_0x34b364));}[_0xeb70cf(0x3d5)](_0x1b3ea8){const _0xcfb116=_0xeb70cf;if(!this[_0xcfb116(0x223)](_0x1b3ea8))return null;this[_0xcfb116(0x153)]['updateFloatDom'](_0x1b3ea8,{'eventPassThrough':!0x0,'contentBox':{'wrapperInset':0x0,'contentInset':0x0}});let _0x19b9c6=this[_0xcfb116(0x15d)][_0xcfb116(0x360)](_0x1b3ea8);if(_0x19b9c6)return _0x19b9c6;let _0x30c6d=new _0x2e9297(_0x1b3ea8,()=>this[_0xcfb116(0x16c)]['getFloatDomInfo'](_0x1b3ea8),()=>this[_0xcfb116(0x44c)](_0x1b3ea8),_0x107c9c=>this[_0xcfb116(0xd1)](_0x1b3ea8,_0x107c9c),()=>this[_0xcfb116(0x2c1)],()=>this[_0xcfb116(0x2d3)](_0x1b3ea8),()=>this[_0xcfb116(0x39c)](_0x1b3ea8),_0x3c3ac7=>this[_0xcfb116(0x2c6)](_0x1b3ea8,_0x3c3ac7));return this[_0xcfb116(0x15d)][_0xcfb116(0x130)](_0x1b3ea8,_0x30c6d),_0x30c6d;}[_0xeb70cf(0x2c6)](_0x171e59,_0x28baea){const _0x23ba21=_0xeb70cf;var _0x16af0b;let _0x44420c=this[_0x23ba21(0x16c)][_0x23ba21(0x1b2)](_0x171e59),_0x5e02c5=(_0x16af0b=this[_0x23ba21(0x153)][_0x23ba21(0x123)][_0x23ba21(0x371)](([_0x323fe6])=>_0x323fe6===_0x171e59))==null?void 0x0:_0x16af0b[0x1],_0xa47437=_0x44420c?this['_getSceneAndTransformerByDrawingSearch'](_0x44420c[_0x23ba21(0xfa)]):null;if(!_0x44420c||!_0x5e02c5||!_0xa47437)return(0x0,_0x1e7325['toDisposable'])(()=>{});let _0x532a85=(0x0,_0x39bdba[_0x23ba21(0x43f)])({'unitId':_0x44420c[_0x23ba21(0xfa)],'subUnitId':_0x44420c[_0x23ba21(0x331)],'drawingId':_0x171e59});return new _0x6845c3(_0x28baea,{'onPointerDown':_0x5e02c5['onPointerDown'],'onPointerMove':_0x5e02c5[_0x23ba21(0x24e)],'onPointerUp':_0x5e02c5['onPointerUp']},_0xa47437[_0x23ba21(0x3fa)]['changing$'][_0x23ba21(0x2cf)]((0x0,_0x24f269[_0x23ba21(0x34a)])(_0x5f31ee=>_0x5f31ee[_0x23ba21(0x4a7)]['has'](_0x532a85)&&((_0x5f31ee[_0x23ba21(0x285)]??0x0)!==0x0||(_0x5f31ee[_0x23ba21(0x134)]??0x0)!==0x0))),_0x1ed33f=>this['_canvasFloatDomService'][_0x23ba21(0x1e5)](_0x171e59,_0x1ed33f));}[_0xeb70cf(0x2d3)](_0x5e8427){const _0x3f0d11=_0xeb70cf;this[_0x3f0d11(0x18a)][_0x3f0d11(0x4af)](_0x5e8427)||(this[_0x3f0d11(0x18a)][_0x3f0d11(0x2a8)](_0x5e8427),this[_0x3f0d11(0x18f)](_0x5e8427),this[_0x3f0d11(0x338)](_0x5e8427));}[_0xeb70cf(0x18f)](_0x116f91){const _0x24ae8e=_0xeb70cf;var _0x327054;let _0x554bc5=this[_0x24ae8e(0x16c)][_0x24ae8e(0x1b2)](_0x116f91),_0x5e3cd9=_0x554bc5?(_0x327054=this[_0x24ae8e(0x2be)]['getRenderUnitById'](_0x554bc5[_0x24ae8e(0xfa)]))==null?void 0x0:_0x327054[_0x24ae8e(0x179)]:null;if(!_0x554bc5||!_0x5e3cd9)return;let _0x120c0a=(0x0,_0x24f269[_0x24ae8e(0x2e6)])(_0x554bc5[_0x24ae8e(0x448)][_0x24ae8e(0x2cf)]((0x0,_0x24f269['take'])(0x1)),_0x5e3cd9['afterRender$'][_0x24ae8e(0x2cf)]((0x0,_0x24f269[_0x24ae8e(0x480)])(_0x554bc5['position$']),(0x0,_0x24f269['map'])(([,_0x54d66a])=>_0x54d66a)))[_0x24ae8e(0x2cf)]((0x0,_0x24f269[_0x24ae8e(0x477)])(),(0x0,_0x24f269['map'])(_0x2ba426));this[_0x24ae8e(0x153)]['updateFloatDom'](_0x116f91,{'position$':_0x120c0a});}[_0xeb70cf(0x38d)](_0x2a0ab0){const _0x30dec5=_0xeb70cf;let _0x1c3b8e=this['_sheetCanvasFloatDomManagerService'][_0x30dec5(0x1b2)](_0x2a0ab0);_0x1c3b8e&&this['_canvasFloatDomService'][_0x30dec5(0x1e5)](_0x2a0ab0,{'position$':_0x1c3b8e[_0x30dec5(0x448)]});}[_0xeb70cf(0x1e3)](_0xe30e15){const _0x1c570a=_0xeb70cf;let _0x1305a2=this[_0x1c570a(0x16c)][_0x1c570a(0x1b2)](_0xe30e15);return _0x1305a2?{'unitId':_0x1305a2[_0x1c570a(0xfa)],'subUnitId':_0x1305a2[_0x1c570a(0x331)],'chartId':_0xe30e15}:null;}[_0xeb70cf(0x338)](_0x460ede){const _0x3553aa=_0xeb70cf;var _0x3735dd,_0x362fac,_0x53723d;let _0x10ef8c=this[_0x3553aa(0x16c)][_0x3553aa(0x1b2)](_0x460ede);if(!_0x10ef8c)return;let _0x31de21=(_0x3735dd=this[_0x3553aa(0x2be)][_0x3553aa(0x3a4)](_0x10ef8c[_0x3553aa(0xfa)]))==null?void 0x0:_0x3735dd[_0x3553aa(0x179)],_0x2e2902=(_0x31de21==null||(_0x362fac=_0x31de21[_0x3553aa(0x4b6)])==null?void 0x0:_0x362fac[_0x3553aa(0x479)](_0x31de21,(0x0,_0x39bdba[_0x3553aa(0x43f)])({'unitId':_0x10ef8c[_0x3553aa(0xfa)],'subUnitId':_0x10ef8c[_0x3553aa(0x331)],'drawingId':_0x460ede})))??(_0x31de21==null?void 0x0:_0x31de21[_0x3553aa(0x347)]((0x0,_0x39bdba[_0x3553aa(0x43f)])({'unitId':_0x10ef8c[_0x3553aa(0xfa)],'subUnitId':_0x10ef8c[_0x3553aa(0x331)],'drawingId':_0x460ede})))??null;_0x2e2902==null||(_0x53723d=_0x2e2902[_0x3553aa(0x211)])==null||_0x53723d[_0x3553aa(0x479)](_0x2e2902,!0x0),_0x31de21==null||_0x31de21[_0x3553aa(0x211)](!0x0);}['_getHostPlacement'](_0x25fb3d){const _0x5a0f32=_0xeb70cf;let _0x4e970b=this['_sheetCanvasFloatDomManagerService'][_0x5a0f32(0x1b2)](_0x25fb3d);if(!_0x4e970b)return null;let _0x25bf34=this[_0x5a0f32(0x2f2)](_0x4e970b[_0x5a0f32(0xfa)]),_0x2dccce=_0x25bf34==null?void 0x0:_0x25bf34[_0x5a0f32(0x179)],_0xb72e18=document[_0x5a0f32(0x302)](_0x4e970b[_0x5a0f32(0x117)]??_0x25fb3d);return _0x5773c3(_0x4e970b[_0x5a0f32(0x47b)],{'scaleX':(_0x2dccce==null?void 0x0:_0x2dccce[_0x5a0f32(0x26c)])??0x1,'scaleY':(_0x2dccce==null?void 0x0:_0x2dccce[_0x5a0f32(0x1ad)])??0x1},_0xb72e18?{'left':_0xb72e18[_0x5a0f32(0x4b3)],'top':_0xb72e18['offsetTop']}:void 0x0);}[_0xeb70cf(0x151)](){const _0xaad4ec=_0xeb70cf;this[_0xaad4ec(0x2c1)]||(Array[_0xaad4ec(0x240)](this[_0xaad4ec(0x15d)][_0xaad4ec(0x19e)]())[_0xaad4ec(0x332)](_0x28b2fd=>this['removeHost'](_0x28b2fd)),this[_0xaad4ec(0x18a)][_0xaad4ec(0x3b6)](),this[_0xaad4ec(0x44b)][_0xaad4ec(0x1e6)](),super[_0xaad4ec(0x151)]());}};_0x1ca0a5=_0x6243e3([_0x16880b(0x0,(0x0,_0x1e7325['Inject'])(_0x398b93[_0xeb70cf(0x493)])),_0x16880b(0x1,(0x0,_0x1e7325[_0xeb70cf(0x28e)])(_0x4fef78[_0xeb70cf(0x3d7)])),_0x16880b(0x2,(0x0,_0x1e7325[_0xeb70cf(0x28e)])(_0x36a856)),_0x16880b(0x3,(0x0,_0x1e7325[_0xeb70cf(0x28e)])(_0xced9f3['CanvasFloatDomService']))],_0x1ca0a5);let _0x46b74e=(0x0,_0x1e7325[_0xeb70cf(0x22f)])('sheets-chart-ui.host.provider'),_0x12415b=_0x3611d5[_0xeb70cf(0x465)]['Image'];var _0xda5c6b=class extends _0x3611d5['ImageChartHost']{constructor(_0x3b80c8,_0x2f49b0){const _0x2694a3=_0xeb70cf;super(_0x3b80c8),this[_0x2694a3(0x23d)]=_0x2f49b0,_0x1b6fbd(this,_0x2694a3(0x2bc),0x0),_0x1b6fbd(this,_0x2694a3(0x14e),void 0x0),_0x1b6fbd(this,_0x2694a3(0x4b9),{});}[_0xeb70cf(0x3d2)](){const _0x5aab38=_0xeb70cf;return this[_0x5aab38(0x23d)];}['setStyle'](_0x584b74){this['style']=_0x584b74;}[_0xeb70cf(0xe2)](){const _0x1cefbe=_0xeb70cf;return++this[_0x1cefbe(0x2bc)];}[_0xeb70cf(0x40d)](_0x57fef0,_0x18371d){const _0x5e50d0=_0xeb70cf;return _0x18371d===this[_0x5e50d0(0x2bc)]?(_0x500cb6(this[_0x5e50d0(0x14e)]),this[_0x5e50d0(0x14e)]=_0x57fef0,!0x0):(_0x500cb6(_0x57fef0),!0x1);}[_0xeb70cf(0x44e)](){}[_0xeb70cf(0x313)](){const _0x1c821a=_0xeb70cf;this[_0x1c821a(0x2bc)]+=0x1;}[_0xeb70cf(0x238)](){const _0x4d8773=_0xeb70cf;let _0x882a88=this[_0x4d8773(0x14e)];return this[_0x4d8773(0x14e)]=void 0x0,_0x882a88;}[_0xeb70cf(0x151)](){const _0x3b0b47=_0xeb70cf;_0x500cb6(this[_0x3b0b47(0x14e)]),this[_0x3b0b47(0x14e)]=void 0x0,super['dispose']();}};function _0x1fd4bd(_0x49ab7b,_0xe6fedb,_0x2ae3eb){const _0x53d682=_0xeb70cf;let _0x2c38bf=_0x49ab7b[_0x53d682(0x163)](_0xe6fedb),_0x569e8b={..._0x49ab7b[_0x53d682(0x4b9)],'runtime':{..._0x2c38bf,'layoutInset':0x8,..._0x2ae3eb===void 0x0?{}:{'addWatermark':_0x2ae3eb}},'direction':_0xe6fedb};return(0x0,_0x3611d5[_0x53d682(0x22a)])(_0x569e8b,_0x49ab7b['chartType']);}let _0x114834=class extends _0x1e7325[_0xeb70cf(0x3e8)]{constructor(_0x428ca9,_0x489c49,_0x314190,_0x160cce,_0x5c4367,_0x245787,_0x46d59e,_0x5f269f,_0x50be95,_0x181c73,_0x1c522c,_0xe8474f,_0x403d28){const _0x33ee3c=_0xeb70cf;super(),this['_chartHostProvider']=_0x428ca9,this[_0x33ee3c(0x16c)]=_0x489c49,this[_0x33ee3c(0x3ea)]=_0x314190,this['_drawingManagerService']=_0x160cce,this['_univerInstanceService']=_0x5c4367,this['_renderManagerService']=_0x245787,this[_0x33ee3c(0x133)]=_0x46d59e,this['_injector']=_0x5f269f,this[_0x33ee3c(0x39e)]=_0x50be95,this[_0x33ee3c(0x3eb)]=_0x181c73,this[_0x33ee3c(0x1fc)]=_0x1c522c,this['_chartSnapshotStoreService']=_0xe8474f,this[_0x33ee3c(0x468)]=_0x403d28,_0x1b6fbd(this,_0x33ee3c(0x343),new Map()),_0x1b6fbd(this,_0x33ee3c(0x3a9),new Map()),_0x1b6fbd(this,_0x33ee3c(0x247),new Map()),_0x1b6fbd(this,_0x33ee3c(0x2a0),new Map()),_0x1b6fbd(this,_0x33ee3c(0x497),new Map()),_0x1b6fbd(this,_0x33ee3c(0x293),new Map()),_0x1b6fbd(this,_0x33ee3c(0x2cd),new Map()),_0x1b6fbd(this,'_chartRenderMode',void 0x0),_0x1b6fbd(this,'_addWatermark',void 0x0),_0x1b6fbd(this,_0x33ee3c(0x1e1),new Map()),_0x1b6fbd(this,_0x33ee3c(0x454),new Set()),_0x1b6fbd(this,_0x33ee3c(0x4b2),new Map()),_0x1b6fbd(this,'_activeChartId',null),_0x1b6fbd(this,'_lastActiveSheet',null);let _0x5c9c5d=(0x0,_0x5979b3[_0x33ee3c(0x12b)])(this[_0x33ee3c(0x26d)]),_0x26fbf3=this['_configService'][_0x33ee3c(0xe5)](_0x5979b3[_0x33ee3c(0xf6)]);this[_0x33ee3c(0x349)]=(_0x26fbf3==null?void 0x0:_0x26fbf3[_0x33ee3c(0x25b)])??_0x12415b,this[_0x33ee3c(0x3ce)]=_0x5c9c5d['length']!==0x1||_0x5c9c5d[0x0]!=='all',this[_0x33ee3c(0x3af)](),this['_initActiveChartModelListener'](),this[_0x33ee3c(0x2ba)](),this[_0x33ee3c(0x373)](),this[_0x33ee3c(0x486)]();}[_0xeb70cf(0xc9)](_0x22afe3){const _0x302a4c=_0xeb70cf;let _0x1089d6=this[_0x302a4c(0x1e3)](_0x22afe3);return _0x1089d6?this['_chartSnapshotStoreService'][_0x302a4c(0x418)](_0x1089d6):void 0x0;}['_resolveChartRenderMode'](_0x554a49){const _0xb58375=_0xeb70cf;var _0xfb8976;return((_0xfb8976=this['_chartModelService'][_0xb58375(0xea)])==null?void 0x0:_0xfb8976['id'])===_0x554a49?_0x3611d5[_0xb58375(0x465)][_0xb58375(0x3f6)]:this[_0xb58375(0x349)];}[_0xeb70cf(0x1e3)](_0x5708ba){const _0x2a0338=_0xeb70cf;let _0x25e9ee=this['_sheetCanvasFloatDomManagerService']['getFloatDomInfo'](_0x5708ba);return _0x25e9ee?{'unitId':_0x25e9ee['unitId'],'subUnitId':_0x25e9ee[_0x2a0338(0x331)],'chartId':_0x5708ba}:null;}[_0xeb70cf(0x3af)](){const _0x508224=_0xeb70cf;this[_0x508224(0x349)]===_0x3611d5[_0x508224(0x465)][_0x508224(0x40f)]&&this[_0x508224(0x1e8)](this[_0x508224(0x16c)][_0x508224(0x3bf)](_0x1e7325[_0x508224(0x28f)][_0x508224(0x1c3)],({key:_0xc278ee,config:_0x2fcf6c,unitId:_0x1a3682,subUnitId:_0xd9b994,drawingId:_0x3e687d})=>new _0x391a42(_0xc278ee,_0x2fcf6c,()=>this['_chartSnapshotStoreService']['getImage']({'unitId':_0x1a3682,'subUnitId':_0xd9b994,'chartId':_0x3e687d}),()=>this[_0x508224(0x14a)][_0x508224(0x4ad)](_0x3e687d))));}[_0xeb70cf(0x1df)](){const _0x167953=_0xeb70cf;this[_0x167953(0x1e8)](this[_0x167953(0x3ea)]['activeChartModel$'][_0x167953(0x413)](_0x2c76a3=>{const _0x18c3e5=_0x167953;let _0x389115=(_0x2c76a3==null?void 0x0:_0x2c76a3['id'])??null,_0x446865=this[_0x18c3e5(0x1fa)];_0x446865!==_0x389115&&(_0x446865&&(this[_0x18c3e5(0x14a)]['markHostNotReady'](_0x446865),this[_0x18c3e5(0x14d)](_0x446865),this[_0x18c3e5(0x3b2)](_0x446865)),this['_activeChartId']=_0x389115,_0x389115&&(this[_0x18c3e5(0x2af)](_0x389115),this['_chartHostProvider'][_0x18c3e5(0x39c)](_0x389115),this[_0x18c3e5(0x3ed)](_0x389115),this[_0x18c3e5(0x2d2)](_0x389115)));}));}[_0xeb70cf(0x2ba)](){const _0x24daad=_0xeb70cf;this[_0x24daad(0x1e8)](this['_drawingManagerService'][_0x24daad(0x2e0)]['subscribe'](_0x4204de=>{const _0x30052d=_0x24daad;var _0x2f7de5;let _0x241454=(_0x2f7de5=this[_0x30052d(0x3ea)][_0x30052d(0xea)])==null?void 0x0:_0x2f7de5['id'];_0x241454&&_0x4204de['some'](_0x6488e1=>_0x6488e1[_0x30052d(0x140)][_0x30052d(0x12c)](_0x30aa23=>_0x30aa23[_0x30052d(0xef)]===_0x241454))&&this[_0x30052d(0x3ea)][_0x30052d(0x128)](null);})),this[_0x24daad(0x1e8)](this[_0x24daad(0x3f7)]['featurePluginUngroupUpdate$'][_0x24daad(0x413)](_0xf8ae2c=>{const _0x5c079b=_0x24daad;var _0x4fb1bb;let _0x21958c=(_0x4fb1bb=this[_0x5c079b(0x3ea)][_0x5c079b(0xea)])==null?void 0x0:_0x4fb1bb['id'];_0x21958c&&_0xf8ae2c['some'](_0x1a2571=>_0x1a2571['parent'][_0x5c079b(0xef)]===_0x21958c||_0x1a2571[_0x5c079b(0x140)][_0x5c079b(0x12c)](_0x5a1cf9=>_0x5a1cf9[_0x5c079b(0xef)]===_0x21958c))&&this[_0x5c079b(0x3ea)]['setActiveChartModel'](null);}));}[_0xeb70cf(0x373)](){const _0x555c42=_0xeb70cf;this[_0x555c42(0x1e8)](this[_0x555c42(0x3f7)][_0x555c42(0x263)][_0x555c42(0x413)](_0x2f4a75=>{const _0xd1698c=_0x555c42;var _0x4ce54d;let _0x2d68f2=(_0x4ce54d=this['_chartModelService']['activeChartModel'])==null?void 0x0:_0x4ce54d['id'];if(!_0x2d68f2){_0x2f4a75[_0xd1698c(0x31f)]['forEach'](_0x480f8a=>{const _0x141463=_0xd1698c;this['_chartModelService'][_0x141463(0x316)](_0x480f8a)&&this[_0x141463(0x14d)](_0x480f8a);});return;}let _0x322795=this['_sheetCanvasFloatDomManagerService'][_0xd1698c(0x1b2)](_0x2d68f2);(_0x322795==null?void 0x0:_0x322795[_0xd1698c(0xfa)])===_0x2f4a75[_0xd1698c(0xfa)]&&_0x322795[_0xd1698c(0x331)]===_0x2f4a75[_0xd1698c(0x331)]&&this[_0xd1698c(0x3ed)](_0x2d68f2);})),this['disposeWithMe'](this[_0x555c42(0x3f7)][_0x555c42(0x245)][_0x555c42(0x413)](_0x5c360b=>{const _0x2e9dc0=_0x555c42;var _0x2274c3;let _0x365da8=(_0x2274c3=this[_0x2e9dc0(0x3ea)][_0x2e9dc0(0xea)])==null?void 0x0:_0x2274c3['id'];if(!_0x365da8)return;let _0x17780e=this[_0x2e9dc0(0x16c)][_0x2e9dc0(0x1b2)](_0x365da8);_0x17780e&&_0x5c360b[_0x2e9dc0(0x12c)](_0x2701d8=>_0x2701d8[_0x2e9dc0(0xfa)]===_0x17780e[_0x2e9dc0(0xfa)]&&_0x2701d8[_0x2e9dc0(0x331)]===_0x17780e['subUnitId'])&&this['_applyActiveChartRuntimeZIndex'](_0x365da8);})),this[_0x555c42(0x1e8)](this[_0x555c42(0x3ea)][_0x555c42(0x2e9)][_0x555c42(0x413)](_0xcefcc2=>{const _0x567485=_0x555c42;var _0x1081d1;this[_0x567485(0x124)](_0xcefcc2),this[_0x567485(0x31b)](_0xcefcc2),this[_0x567485(0x3a9)]['delete'](_0xcefcc2),this[_0x567485(0x2af)](_0xcefcc2),this[_0x567485(0x1e1)][_0x567485(0x339)](_0xcefcc2),this[_0x567485(0x276)][_0x567485(0x231)](_0xcefcc2),this[_0x567485(0x328)](_0xcefcc2),this['_chartHostProvider'][_0x567485(0x39c)](_0xcefcc2),((_0x1081d1=this[_0x567485(0x3ea)][_0x567485(0xea)])==null?void 0x0:_0x1081d1['id'])===_0xcefcc2?this[_0x567485(0x3ea)][_0x567485(0x128)](null):this[_0x567485(0x14d)](_0xcefcc2),this['_disposeChartRenderInstance'](_0xcefcc2);}));}['_rerenderLatest'](_0x177366){const _0x4dba5d=_0xeb70cf;let _0x366231=this[_0x4dba5d(0x1e1)][_0x4dba5d(0x360)](_0x177366);_0x366231&&this[_0x4dba5d(0x37d)](_0x177366,_0x366231[_0x4dba5d(0x207)],_0x366231[_0x4dba5d(0x4b9)]);}['_disposeChartDomInstance'](_0x3cc044){const _0x15e453=_0xeb70cf;let _0x5c81aa=this[_0x15e453(0x343)][_0x15e453(0x360)](_0x3cc044);(_0x5c81aa==null?void 0x0:_0x5c81aa[_0x15e453(0x170)])==='dom'&&(this[_0x15e453(0x31b)](_0x3cc044),_0x5c81aa['dispose'](),this[_0x15e453(0x343)][_0x15e453(0x339)](_0x3cc044)),this[_0x15e453(0x14a)]['markHostNotReady'](_0x3cc044),this[_0x15e453(0x14a)]['removeHost'](_0x3cc044);}['_disposeChartRenderInstance'](_0x279cfb){const _0x3f0ec7=_0xeb70cf;let _0x1befe7=this[_0x3f0ec7(0x343)][_0x3f0ec7(0x360)](_0x279cfb);_0x1befe7&&(this[_0x3f0ec7(0x31b)](_0x279cfb),_0x1befe7[_0x3f0ec7(0x151)](),this['_chartInstanceMap']['delete'](_0x279cfb)),this[_0x3f0ec7(0x14a)][_0x3f0ec7(0x39c)](_0x279cfb),this[_0x3f0ec7(0x14a)][_0x3f0ec7(0x354)](_0x279cfb);}[_0xeb70cf(0x328)](_0x48c02e){const _0x5b3361=_0xeb70cf;var _0x4c5a38,_0x2a7446;(_0x4c5a38=this[_0x5b3361(0x468)][_0x5b3361(0xc7)](_0x3611d5[_0x5b3361(0x214)]))==null||(_0x2a7446=_0x4c5a38[_0x5b3361(0x103)])==null||_0x2a7446[_0x5b3361(0x479)](_0x4c5a38,{'type':_0x5b3361(0x4ae),'chartId':_0x48c02e});}['_notifySheetChartsDetached'](_0x51dedd,_0x4309ec){const _0x2ac02e=_0xeb70cf;let _0x14c2c4=this[_0x2ac02e(0x3f7)][_0x2ac02e(0x180)](_0x51dedd,_0x4309ec);Object[_0x2ac02e(0x1a8)](_0x14c2c4??{})['forEach'](_0x1c6caf=>{const _0xef7a0=_0x2ac02e;if(_0x1c6caf[_0xef7a0(0x209)]===_0x1e7325['DrawingTypeEnum'][_0xef7a0(0x1c3)]){var _0x1aa9af,_0x567740;(_0x1aa9af=this['_renderModelManager'][_0xef7a0(0xc7)](_0x3611d5[_0xef7a0(0x214)]))==null||(_0x567740=_0x1aa9af[_0xef7a0(0x103)])==null||_0x567740['call'](_0x1aa9af,{'type':'detach','chartId':_0x1c6caf['drawingId']});}});}[_0xeb70cf(0x1aa)](_0x4d7979,_0x4637f5){const _0x424ea4=_0xeb70cf;var _0x1dbf8a;return((_0x1dbf8a=_0x4d7979[_0x424ea4(0x4b6)])==null?void 0x0:_0x1dbf8a[_0x424ea4(0x479)](_0x4d7979,_0x4637f5))??_0x4d7979[_0x424ea4(0x347)](_0x4637f5)??null;}['_getChartRenderObjectContext'](_0x416e29){const _0x1bcfa7=_0xeb70cf;var _0x12915d;let _0x34ab65=this[_0x1bcfa7(0x16c)][_0x1bcfa7(0x1b2)](_0x416e29);if(!_0x34ab65)return null;let _0xfc09df=(_0x12915d=this[_0x1bcfa7(0x2be)]['getRenderUnitById'](_0x34ab65[_0x1bcfa7(0xfa)]))==null?void 0x0:_0x12915d[_0x1bcfa7(0x179)];if(!_0xfc09df)return null;let _0x563ae5=this[_0x1bcfa7(0x1aa)](_0xfc09df,(0x0,_0x39bdba[_0x1bcfa7(0x43f)])({'unitId':_0x34ab65['unitId'],'subUnitId':_0x34ab65[_0x1bcfa7(0x331)],'drawingId':_0x416e29}));return _0x563ae5?{'info':_0x34ab65,'scene':_0xfc09df,'chartObject':_0x563ae5}:null;}[_0xeb70cf(0x116)](_0x5dbc5f,_0x1732cf){const _0x28b15e=_0xeb70cf;var _0x529975,_0x155320,_0x3937d9,_0x582a9a;let _0x5781eb=this[_0x28b15e(0x2b4)](_0x5dbc5f);_0x5781eb&&((_0x529975=(_0x155320=_0x5781eb[_0x28b15e(0x11a)])[_0x28b15e(0x362)])==null||_0x529975[_0x28b15e(0x479)](_0x155320,{'zIndex':_0x1732cf}),(_0x3937d9=(_0x582a9a=_0x5781eb[_0x28b15e(0x11a)])[_0x28b15e(0x211)])==null||_0x3937d9[_0x28b15e(0x479)](_0x582a9a,!0x0),_0x5781eb[_0x28b15e(0x179)]['makeDirty'](!0x0));}[_0xeb70cf(0x3ed)](_0x2369fd){const _0x5ad81a=_0xeb70cf;let _0x3c6520=this['_sheetCanvasFloatDomManagerService'][_0x5ad81a(0x1b2)](_0x2369fd);if(!_0x3c6520)return;let _0x1c8b12=this[_0x5ad81a(0x3f7)][_0x5ad81a(0xc8)](_0x3c6520[_0x5ad81a(0xfa)],_0x3c6520[_0x5ad81a(0x331)]);this[_0x5ad81a(0x116)](_0x2369fd,_0x1c8b12[_0x5ad81a(0x2d4)]);}[_0xeb70cf(0x14d)](_0x376405){const _0x5d258c=_0xeb70cf;let _0x1b6ae0=this[_0x5d258c(0x16c)][_0x5d258c(0x1b2)](_0x376405);if(!_0x1b6ae0)return;let _0x409936=this[_0x5d258c(0x3f7)][_0x5d258c(0xc8)](_0x1b6ae0['unitId'],_0x1b6ae0['subUnitId']),_0x3bfc43=_0x409936[_0x5d258c(0x3e1)](_0x376405);this[_0x5d258c(0x116)](_0x376405,_0x3bfc43===-0x1?Math['max'](_0x409936['length']-0x1,0x0):_0x3bfc43);}[_0xeb70cf(0x11c)](_0x2f7107,_0xe11620){const _0x3e803e=_0xeb70cf;let _0x1adf7f=this[_0x3e803e(0x16c)][_0x3e803e(0x1b2)](_0x2f7107);if(_0xe11620[_0x3e803e(0x323)]!==void 0x0&&_0xe11620[_0x3e803e(0x1ed)]!==void 0x0&&_0x1adf7f){var _0x311d33;let {subUnitId:_0x248c7d}=_0x1adf7f,_0x901f82=(_0x311d33=this['_univerInstanceService'][_0x3e803e(0x428)](_0x1e7325[_0x3e803e(0x3b8)][_0x3e803e(0x41f)]))==null?void 0x0:_0x311d33['getActiveSheet']();if((_0x901f82==null?void 0x0:_0x901f82['getSheetId']())===_0x248c7d){let {width:_0x1221c5,height:_0xe13a03}=_0xe11620,_0x2d8605=this[_0x3e803e(0x3ea)][_0x3e803e(0x316)](_0x2f7107),_0x347349=_0x2d8605==null?void 0x0:_0x2d8605[_0x3e803e(0x4b9)];(Math[_0x3e803e(0x35b)](_0x1221c5-((_0x347349==null?void 0x0:_0x347349[_0x3e803e(0x323)])||0x0))>0x1||Math[_0x3e803e(0x35b)](_0xe13a03-((_0x347349==null?void 0x0:_0x347349[_0x3e803e(0x1ed)])||0x0))>0x1)&&(_0x2d8605==null||_0x2d8605[_0x3e803e(0x398)]({..._0x347349,'width':_0x1221c5,'height':_0xe13a03}));}}}[_0xeb70cf(0xf7)](_0xf4096f,_0x219169,_0x5b3174=0x0){const _0x33fdd2=_0xeb70cf;let _0x3a4002=this[_0x33fdd2(0x293)]['get'](_0xf4096f);_0x3a4002||(_0x3a4002=(0x0,_0x1e7325[_0x33fdd2(0x320)])(_0x32179e=>{const _0x2d1f5c=_0x33fdd2;this[_0x2d1f5c(0x11c)](_0xf4096f,_0x32179e);},_0x5b3174),this[_0x33fdd2(0x293)]['set'](_0xf4096f,_0x3a4002)),_0x3a4002(_0x219169);}[_0xeb70cf(0x486)](){const _0x2fa4e4=_0xeb70cf;let _0x1d0a3a=this[_0x2fa4e4(0x497)],_0x257b4b=_0x41967e=>{const _0x3e299e=_0x2fa4e4;if(!_0x1d0a3a[_0x3e299e(0x4af)](_0x41967e)){let _0x201073=(0x0,_0x1e7325[_0x3e299e(0x320)])((_0x5212ed,_0x5671df,_0x1ef54d,_0x298829)=>{const _0x535559=_0x3e299e;var _0x3d8d51,_0x157ed3;if(!_0x1ef54d)return;(_0x3d8d51=_0x1ef54d['category'])==null||_0x3d8d51[_0x535559(0xdd)]['forEach']((_0x49e173,_0x320b70)=>{const _0x653671=_0x535559;_0x49e173[_0x653671(0x3bd)]||=this['_localeService']['t']('sheets-chart-ui.common.category')+'\x20'+(_0x320b70+0x1);}),_0x1ef54d[_0x535559(0x1f9)][_0x535559(0x332)]((_0x2f519d,_0x2adfef)=>{const _0x2b29ea=_0x535559;_0x2f519d['name']||=this[_0x2b29ea(0x133)]['t'](_0x2b29ea(0x39b))+'\x20'+(_0x2adfef+0x1);});let _0x282c54=this[_0x535559(0x23f)](_0x5212ed,_0x298829),_0x4bbac5=(_0x157ed3=this[_0x535559(0x42c)][_0x535559(0x428)](_0x1e7325[_0x535559(0x3b8)]['UNIVER_SHEET']))==null?void 0x0:_0x157ed3[_0x535559(0x25e)]();(_0x4bbac5==null?void 0x0:_0x4bbac5[_0x535559(0x473)]())===_0x5671df&&this[_0x535559(0x37d)](_0x5212ed['id'],_0x1ef54d,_0x282c54);},0x11);_0x1d0a3a['set'](_0x41967e,_0x201073);}return _0x1d0a3a[_0x3e299e(0x360)](_0x41967e);};this[_0x2fa4e4(0x1e8)](this[_0x2fa4e4(0x42c)]['focused$']['subscribe'](_0x588029=>{const _0x3912ea=_0x2fa4e4;let _0x1e4bfe=this[_0x3912ea(0x42c)]['getCurrentUnitOfType'](_0x1e7325[_0x3912ea(0x3b8)][_0x3912ea(0x41f)]);if(_0x588029&&_0x1e4bfe&&_0x1e4bfe[_0x3912ea(0x463)]()===_0x588029){var _0x5828ca;let _0x3c5411=_0x1e4bfe['getActiveSheet']()[_0x3912ea(0x473)]();this[_0x3912ea(0x452)]&&(this[_0x3912ea(0x452)][_0x3912ea(0xfa)]!==_0x588029||this[_0x3912ea(0x452)][_0x3912ea(0x331)]!==_0x3c5411)&&this[_0x3912ea(0x19b)](this['_lastActiveSheet'][_0x3912ea(0xfa)],this[_0x3912ea(0x452)][_0x3912ea(0x331)]),this[_0x3912ea(0x452)]={'unitId':_0x588029,'subUnitId':_0x3c5411};let _0x4c4133=this[_0x3912ea(0x3f7)][_0x3912ea(0x180)](_0x588029,_0x3c5411);if(!((_0x5828ca=this[_0x3912ea(0x2be)][_0x3912ea(0x3a4)](_0x588029))!=null&&_0x5828ca[_0x3912ea(0x3cd)](_0x2ef923[_0x3912ea(0x283)])[_0x3912ea(0x287)](_0x3c5411)))return;if(_0x4c4133)for(let _0x552f61 in _0x4c4133){let {drawingId:_0x1de8f7}=_0x4c4133[_0x552f61],_0x58cf6f=this[_0x3912ea(0x3ea)][_0x3912ea(0x316)](_0x1de8f7);_0x58cf6f&&_0x257b4b(_0x58cf6f['id'])(_0x58cf6f,_0x3c5411,_0x58cf6f[_0x3912ea(0x207)],this[_0x3912ea(0x133)][_0x3912ea(0x392)]());}}})),this[_0x2fa4e4(0x1e8)](this['_themeService']['darkMode$'][_0x2fa4e4(0x413)](()=>{const _0x4a2f34=_0x2fa4e4;var _0x4ef0f2;let _0x3864df=this[_0x4a2f34(0x42c)]['getCurrentUnitOfType'](_0x1e7325[_0x4a2f34(0x3b8)][_0x4a2f34(0x41f)]);if(!_0x3864df)return;let _0x15d9b3=_0x3864df['getUnitId'](),_0x52a345=_0x3864df[_0x4a2f34(0x25e)]()[_0x4a2f34(0x473)](),_0x5eda9c=this[_0x4a2f34(0x3f7)][_0x4a2f34(0x180)](_0x15d9b3,_0x52a345);if((_0x4ef0f2=this[_0x4a2f34(0x2be)][_0x4a2f34(0x3a4)](_0x15d9b3))!=null&&_0x4ef0f2[_0x4a2f34(0x3cd)](_0x2ef923['SheetSkeletonManagerService'])[_0x4a2f34(0x287)](_0x52a345)&&_0x5eda9c)for(let _0x2bfa33 in _0x5eda9c){let {drawingId:_0x3899ee}=_0x5eda9c[_0x2bfa33],_0x2143fd=this['_chartModelService'][_0x4a2f34(0x316)](_0x3899ee);_0x2143fd&&_0x257b4b(_0x2143fd['id'])(_0x2143fd,_0x52a345,_0x2143fd[_0x4a2f34(0x207)],this[_0x4a2f34(0x133)][_0x4a2f34(0x392)]());}})),this[_0x2fa4e4(0x1e8)](this[_0x2fa4e4(0x3f7)][_0x2fa4e4(0x245)]['subscribe'](_0x2c1afe=>{const _0x67e93b=_0x2fa4e4;_0x2c1afe[_0x67e93b(0x332)](_0xafe308=>{const _0x28dfb6=_0x67e93b;var _0x5c1cb5;let {drawingId:_0xff5e8d,unitId:_0x3bbbc8,subUnitId:_0x12eefd}=_0xafe308,_0x2ce6f1=this[_0x28dfb6(0x2be)][_0x28dfb6(0x3a4)](_0x3bbbc8);if((_0x2ce6f1==null?void 0x0:_0x2ce6f1[_0x28dfb6(0x3b3)])!==_0x1e7325[_0x28dfb6(0x3b8)][_0x28dfb6(0x41f)]||!_0x2ce6f1[_0x28dfb6(0x3cd)](_0x2ef923[_0x28dfb6(0x283)])[_0x28dfb6(0x287)](_0x12eefd))return;let {drawingType:_0x597c7d}=this[_0x28dfb6(0x3f7)][_0x28dfb6(0x16d)](_0xafe308);if(_0x597c7d!==_0x1e7325['DrawingTypeEnum']['DRAWING_CHART'])return;let _0x39af5c=this[_0x28dfb6(0x16c)]['getFloatDomInfo'](_0xff5e8d);this[_0x28dfb6(0x124)](_0xff5e8d);let _0x4e070a=new _0x1e7325[(_0x28dfb6(0x3e8))]();this[_0x28dfb6(0x2cd)]['set'](_0xff5e8d,_0x4e070a);let _0x483761=(_0x39af5c==null?void 0x0:_0x39af5c['domId'])??_0xff5e8d,_0x2861f3=_0x39af5c==null?void 0x0:_0x39af5c[_0x28dfb6(0x47b)],_0x42f7e8=(_0x5c1cb5=this[_0x28dfb6(0x2be)]['getRenderUnitById'](_0x3bbbc8))==null?void 0x0:_0x5c1cb5[_0x28dfb6(0x179)];if(_0x2861f3){let _0x308c80=new _0x495b73(_0x2861f3,_0x14bbeb=>{const _0x23f20f=_0x28dfb6;var _0x19429e;let _0x52780c=this[_0x23f20f(0x42c)]['getCurrentUnitOfType'](_0x1e7325[_0x23f20f(0x3b8)]['UNIVER_SHEET']);if((_0x52780c==null?void 0x0:_0x52780c[_0x23f20f(0x463)]())===_0x3bbbc8&&((_0x19429e=_0x52780c['getActiveSheet']())==null?void 0x0:_0x19429e[_0x23f20f(0x473)]())===_0x12eefd&&(this['_chartHostProvider'][_0x23f20f(0x120)](_0xff5e8d),_0x14bbeb)){var _0x5c0fda;(_0x5c0fda=this[_0x23f20f(0x343)]['get'](_0xff5e8d))==null||_0x5c0fda[_0x23f20f(0x430)](),this[_0x23f20f(0xf7)](_0xff5e8d,{'width':_0x2861f3[_0x23f20f(0x323)],'height':_0x2861f3[_0x23f20f(0x1ed)]},0x64);}});_0x4e070a[_0x28dfb6(0x1e8)](_0x308c80),_0x4e070a['disposeWithMe'](this[_0x28dfb6(0x42c)][_0x28dfb6(0x47f)][_0x28dfb6(0x413)](()=>_0x308c80[_0x28dfb6(0xd0)]())),_0x42f7e8&&_0x4e070a['disposeWithMe'](_0x42f7e8['getTransformerByCreate']()[_0x28dfb6(0x40c)][_0x28dfb6(0x413)](({objects:_0x3ef4a6})=>{const _0xa1c4f7=_0x28dfb6;if(_0x3ef4a6[_0xa1c4f7(0x4af)](_0x2861f3['oKey'])){var _0x2d13e0;_0x308c80['flush'](),(_0x2d13e0=this[_0xa1c4f7(0x293)]['get'](_0xff5e8d))==null||_0x2d13e0['flush']();}}));}_0x42f7e8&&_0x4e070a[_0x28dfb6(0x1e8)](_0x42f7e8[_0x28dfb6(0x10b)][_0x28dfb6(0x259)](_0x5d63c2=>{const _0x51ce7b=_0x28dfb6;var _0x4bb1c0;_0x5d63c2['type']===_0x4fef78[_0x51ce7b(0x3d1)]['scale']&&(_0x4bb1c0=document[_0x51ce7b(0x302)](_0x483761))!=null&&_0x4bb1c0[_0x51ce7b(0x39a)]('.chart-host')&&this[_0x51ce7b(0x14a)][_0x51ce7b(0x120)](_0xff5e8d);}));let _0x2d425e=this[_0x28dfb6(0x3ea)]['getChartModel'](_0xff5e8d);_0x2d425e&&_0x4e070a[_0x28dfb6(0x1e8)]((0x0,_0x24f269[_0x28dfb6(0x2f3)])([_0x2d425e['config$'],_0x2d425e[_0x28dfb6(0x242)],this[_0x28dfb6(0x133)][_0x28dfb6(0x369)]])[_0x28dfb6(0x413)](([_0x51a629,_0x2a6705,_0x4a4cb7])=>{_0x257b4b(_0x2d425e['id'])(_0x2d425e,_0x12eefd,_0x51a629,_0x4a4cb7);}));});})),this[_0x2fa4e4(0x1e8)]((0x0,_0x24f269[_0x2fa4e4(0x2f3)])([this[_0x2fa4e4(0x3f7)][_0x2fa4e4(0x144)]])[_0x2fa4e4(0x413)](([_0xf600fe])=>{const _0xfbccb=_0x2fa4e4;_0xf600fe[_0xfbccb(0x332)](_0x3620a3=>{const _0x3cf3e2=_0xfbccb;var _0x301690;let {drawingId:_0x3c7498}=_0x3620a3;this['_disposeChartChangeListeners'](_0x3c7498),((_0x301690=this[_0x3cf3e2(0x3ea)]['activeChartModel'])==null?void 0x0:_0x301690['id'])===_0x3c7498&&this[_0x3cf3e2(0x3ea)][_0x3cf3e2(0x128)](null),this['_disposeChartEventSubscriptions'](_0x3c7498),this[_0x3cf3e2(0x14a)][_0x3cf3e2(0x39c)](_0x3c7498),this[_0x3cf3e2(0x14d)](_0x3c7498),this[_0x3cf3e2(0x4a9)](_0x3c7498),this[_0x3cf3e2(0x276)][_0x3cf3e2(0x231)](_0x3c7498),this[_0x3cf3e2(0x328)](_0x3c7498),this[_0x3cf3e2(0x1e1)]['delete'](_0x3c7498),this[_0x3cf3e2(0x2a0)][_0x3cf3e2(0x339)](_0x3c7498);});}));}['setElementEditMode'](_0x386b31,_0x5a6c1a){const _0x48e67f=_0xeb70cf;var _0x2b599f;_0x5a6c1a?this['_chartElementEditMode'][_0x48e67f(0x130)](_0x386b31,!0x0):this[_0x48e67f(0x2a0)][_0x48e67f(0x339)](_0x386b31),(_0x2b599f=this[_0x48e67f(0x343)]['get'](_0x386b31))==null||_0x2b599f['setElementEditMode'](_0x5a6c1a);}async[_0xeb70cf(0x3fb)](_0x24bc4a,_0x19e1e5){const _0x5d6315=_0xeb70cf;var _0x194094;let _0x518aba=this[_0x5d6315(0x1e1)][_0x5d6315(0x360)](_0x24bc4a),_0x1c1218=(_0x194094=this[_0x5d6315(0x16c)][_0x5d6315(0x1b2)](_0x24bc4a))==null?void 0x0:_0x194094[_0x5d6315(0x47b)];if(_0x518aba&&_0x1c1218)return(await this['_renderModelManager'][_0x5d6315(0x3fb)]({'chartId':_0x24bc4a,'config':_0x518aba['config'],'style':_0x518aba['style'],'width':_0x1c1218[_0x5d6315(0x323)],'height':_0x1c1218[_0x5d6315(0x1ed)]},_0x19e1e5))[_0x5d6315(0x3fd)];if((_0x19e1e5==null?void 0x0:_0x19e1e5[_0x5d6315(0x304)])===_0x3611d5['ChartImageExportFormat'][_0x5d6315(0x168)])return;let _0x2d63e1=this[_0x5d6315(0x48e)](_0x24bc4a);return _0x2d63e1?(0x0,_0x3611d5['chartImageSourceToDataUrl'])(_0x2d63e1):void 0x0;}['on'](_0xab7b24,_0x1f19be,_0x3e3e66){const _0x18c627=_0xeb70cf;let _0x4273dd=this['_chartEventHandlers'][_0x18c627(0x360)](_0xab7b24);_0x4273dd||(_0x4273dd=new Map(),this[_0x18c627(0x3a9)][_0x18c627(0x130)](_0xab7b24,_0x4273dd));let _0x5ecfda=_0x4273dd[_0x18c627(0x360)](_0x1f19be);_0x5ecfda||(_0x5ecfda=new Set(),_0x4273dd[_0x18c627(0x130)](_0x1f19be,_0x5ecfda)),_0x5ecfda[_0x18c627(0x2a8)](_0x3e3e66);let _0x477e1a=this['_chartInstanceMap'][_0x18c627(0x360)](_0xab7b24);return _0x477e1a&&this[_0x18c627(0x36f)](_0xab7b24,_0x477e1a,_0x1f19be,_0x3e3e66),{'dispose':()=>{const _0x3083d2=_0x18c627;var _0x1d82c7;(_0x1d82c7=this[_0x3083d2(0x3a9)][_0x3083d2(0x360)](_0xab7b24))==null||(_0x1d82c7=_0x1d82c7['get'](_0x1f19be))==null||_0x1d82c7[_0x3083d2(0x339)](_0x3e3e66),this[_0x3083d2(0x1b1)](_0xab7b24,_0x1f19be,_0x3e3e66);}};}[_0xeb70cf(0x48e)](_0x2747ea){const _0x98eccc=_0xeb70cf;let _0x2a85e5=this[_0x98eccc(0x42c)][_0x98eccc(0x428)](_0x1e7325[_0x98eccc(0x3b8)][_0x98eccc(0x41f)]),_0x2b5a0d=_0x2a85e5==null?void 0x0:_0x2a85e5[_0x98eccc(0x25e)](),_0x24f13b=_0x2a85e5==null?void 0x0:_0x2a85e5[_0x98eccc(0x463)](),_0x5ea1af=_0x2b5a0d==null?void 0x0:_0x2b5a0d['getSheetId']();if(_0x24f13b&&_0x5ea1af)return this[_0x98eccc(0x276)][_0x98eccc(0x418)]({'unitId':_0x24f13b,'subUnitId':_0x5ea1af,'chartId':_0x2747ea});}[_0xeb70cf(0x303)](_0x1d89aa,_0x247b05){const _0x3b86e9=_0xeb70cf;let _0x513b75=this[_0x3b86e9(0x3a9)][_0x3b86e9(0x360)](_0x1d89aa);_0x513b75&&_0x513b75[_0x3b86e9(0x332)]((_0x1da3d3,_0x49c0bc)=>{const _0x49be80=_0x3b86e9;_0x1da3d3[_0x49be80(0x332)](_0x6cb220=>this[_0x49be80(0x36f)](_0x1d89aa,_0x247b05,_0x49c0bc,_0x6cb220));});}['_bindChartEventHandler'](_0x1cdd60,_0xfebde3,_0x6d32d1,_0x1ab7c8){const _0x12cfc3=_0xeb70cf;let _0x1f3fa7=this[_0x12cfc3(0x247)][_0x12cfc3(0x360)](_0x1cdd60);_0x1f3fa7||(_0x1f3fa7=new Map(),this[_0x12cfc3(0x247)][_0x12cfc3(0x130)](_0x1cdd60,_0x1f3fa7));let _0xc412fa=_0x1f3fa7['get'](_0x6d32d1);_0xc412fa||(_0xc412fa=new Map(),_0x1f3fa7[_0x12cfc3(0x130)](_0x6d32d1,_0xc412fa)),!_0xc412fa[_0x12cfc3(0x4af)](_0x1ab7c8)&&_0xc412fa[_0x12cfc3(0x130)](_0x1ab7c8,_0xfebde3['on'](_0x6d32d1,_0x1ab7c8));}[_0xeb70cf(0x1b1)](_0xa7c804,_0x1ed6c1,_0x5872a2){const _0x5ed7c2=_0xeb70cf;var _0x4c078e,_0xce3114;let _0x19488f=(_0x4c078e=this[_0x5ed7c2(0x247)][_0x5ed7c2(0x360)](_0xa7c804))==null?void 0x0:_0x4c078e['get'](_0x1ed6c1);_0x19488f==null||(_0xce3114=_0x19488f[_0x5ed7c2(0x360)](_0x5872a2))==null||_0xce3114[_0x5ed7c2(0x151)](),_0x19488f==null||_0x19488f[_0x5ed7c2(0x339)](_0x5872a2);}[_0xeb70cf(0x31b)](_0xe55d35){const _0x35f0df=_0xeb70cf;let _0x1e0d6b=this['_chartEventSubscriptions'][_0x35f0df(0x360)](_0xe55d35);_0x1e0d6b==null||_0x1e0d6b[_0x35f0df(0x332)](_0x5c8fbb=>{const _0x2aaf55=_0x35f0df;_0x5c8fbb[_0x2aaf55(0x332)](_0xa7e05=>_0xa7e05[_0x2aaf55(0x151)]()),_0x5c8fbb['clear']();}),this[_0x35f0df(0x247)]['delete'](_0xe55d35);}[_0xeb70cf(0x23f)](_0x3b9d77,_0x1369ce){const _0x165a63=_0xeb70cf;return _0x1fd4bd(_0x3b9d77,_0x1369ce,this[_0x165a63(0x3ce)]);}[_0xeb70cf(0x23e)](_0x322b82){return this['_getChartRenderSkipReason'](_0x322b82)==null;}[_0xeb70cf(0x1cf)](_0x51ad93){const _0x3e98de=_0xeb70cf;var _0x28f430;let _0x57e439=this[_0x3e98de(0x16c)][_0x3e98de(0x1b2)](_0x51ad93);if(!_0x57e439)return'missing-float-dom';let {subUnitId:_0x59c8eb}=_0x57e439,_0x40f11f=(_0x28f430=this[_0x3e98de(0x42c)]['getCurrentUnitOfType'](_0x1e7325['UniverInstanceType']['UNIVER_SHEET']))==null?void 0x0:_0x28f430['getActiveSheet']();if(!_0x40f11f)return _0x3e98de(0x1d8);if(_0x40f11f[_0x3e98de(0x473)]()!==_0x59c8eb)return _0x3e98de(0x389);}async[_0xeb70cf(0x37d)](_0x519fc0,_0x1ece2f,_0xda1f2d,_0x1b9f2a={}){const _0x19ae38=_0xeb70cf;let _0x34b815=this[_0x19ae38(0x468)][_0x19ae38(0xc7)](_0x3611d5[_0x19ae38(0x214)]);if(!_0x34b815)return;let _0x1a5791=this[_0x19ae38(0x1e1)][_0x19ae38(0x360)](_0x519fc0);if(this[_0x19ae38(0x1e1)][_0x19ae38(0x130)](_0x519fc0,{'config':_0x1ece2f,'style':_0xda1f2d}),this[_0x19ae38(0x1cf)](_0x519fc0))return;let {canAnimate:_0x1c3d8b,renderMode:_0x2cb317,shouldStartTransientAnimation:_0x327bfe,transientAnimationActive:_0x321e7b}=this['_prepareDataUpdateRender'](_0x519fc0,_0x1a5791!=null,_0x1b9f2a[_0x19ae38(0x1c5)]===!0x0);if(_0x2cb317===_0x3611d5[_0x19ae38(0x465)][_0x19ae38(0x40f)])this['_disposeChartDomInstance'](_0x519fc0);else{var _0x46fab5;this[_0x19ae38(0x14a)][_0x19ae38(0x313)](_0x519fc0),((_0x46fab5=this[_0x19ae38(0x3ea)]['activeChartModel'])==null?void 0x0:_0x46fab5['id'])===_0x519fc0&&this[_0x19ae38(0x3ed)](_0x519fc0);}let _0x3cdd2b=_0x2cb317===_0x3611d5[_0x19ae38(0x465)][_0x19ae38(0x40f)]?_0x3611d5[_0x19ae38(0x465)][_0x19ae38(0x40f)]:_0x3611d5[_0x19ae38(0x465)][_0x19ae38(0x3f6)],_0x3cf777=await this[_0x19ae38(0x14a)][_0x19ae38(0x18d)](_0x519fc0,_0x3cdd2b);if(!_0x3cf777){_0x327bfe&&this[_0x19ae38(0x2af)](_0x519fc0);return;}this['_chartHostProvider'][_0x19ae38(0x4b8)](_0x519fc0,_0x321e7b?_0x3611d5[_0x19ae38(0x246)]:null);let _0x2579f3=this['_getOrCreateChartRenderInstance'](_0x519fc0,_0x3cdd2b,_0x34b815);_0x2579f3[_0x19ae38(0x456)](_0x3cf777);try{let _0x53de66={'chartId':_0x519fc0,'config':_0x1ece2f,'style':_0xda1f2d};_0x1c3d8b&&_0x1a5791&&_0x2579f3[_0x19ae38(0x1a3)]?await _0x2579f3['renderTransition']({'chartId':_0x519fc0,'config':_0x1a5791[_0x19ae38(0x207)],'style':_0x1a5791[_0x19ae38(0x4b9)]},_0x53de66,{'duration':_0x3611d5[_0x19ae38(0x246)]}):await _0x2579f3[_0x19ae38(0x37d)](_0x53de66),await this[_0x19ae38(0x2d8)](_0x519fc0,_0x2cb317,_0x2579f3),_0x1c3d8b&&_0x321e7b&&this['_scheduleDataUpdateAnimationEnd'](_0x519fc0);}catch(_0x4d13e1){if(_0x327bfe&&this['_deactivateDataUpdateAnimation'](_0x519fc0),_0x2cb317!==_0x3611d5[_0x19ae38(0x465)][_0x19ae38(0x40f)])throw _0x4d13e1;}}async['_cacheActiveDomChartSnapshot'](_0x31f5bf,_0x1105ab,_0x3fb30a){const _0x1390ec=_0xeb70cf;var _0x14074e;if(_0x1105ab!==_0x3611d5[_0x1390ec(0x465)][_0x1390ec(0x3f6)]||((_0x14074e=this[_0x1390ec(0x3ea)][_0x1390ec(0xea)])==null?void 0x0:_0x14074e['id'])!==_0x31f5bf)return;let _0x438ce0=await this['_chartHostProvider'][_0x1390ec(0x18d)](_0x31f5bf,_0x3611d5[_0x1390ec(0x465)][_0x1390ec(0x40f)]);if(!_0x438ce0)return;let _0x39efac=_0x438ce0[_0x1390ec(0xe2)]();try{let _0x21db10=await _0x3fb30a[_0x1390ec(0x37c)]();_0x21db10&&_0x438ce0[_0x1390ec(0x40d)]({'type':_0x3611d5[_0x1390ec(0x305)][_0x1390ec(0x20b)],'url':_0x21db10},_0x39efac)&&_0x438ce0[_0x1390ec(0x44e)]();}catch{}}[_0xeb70cf(0x272)](_0x421c1a,_0x5378ac,_0x3721fa){const _0x319d5d=_0xeb70cf;let _0x48310b=this['_resolveChartRenderMode'](_0x421c1a),_0x5b0c87=_0x48310b===_0x3611d5[_0x319d5d(0x465)][_0x319d5d(0x3f6)]&&_0x3721fa&&_0x5378ac&&this[_0x319d5d(0x204)](_0x421c1a),_0xe62fe6=this[_0x319d5d(0x454)][_0x319d5d(0x4af)](_0x421c1a);return{'canAnimate':_0x5b0c87,'renderMode':_0xe62fe6?_0x3611d5[_0x319d5d(0x465)][_0x319d5d(0x3f6)]:_0x48310b,'shouldStartTransientAnimation':!0x1,'transientAnimationActive':_0xe62fe6};}['_canAnimateDataUpdate'](_0x27779a){const _0x2e7682=_0xeb70cf;var _0x2d239f,_0x5c1246,_0x3a7d66,_0x343cb5;if(typeof document>'u'||typeof window>'u'||document[_0x2e7682(0x3a2)]==='hidden'||(_0x2d239f=(_0x5c1246=window)[_0x2e7682(0x3ec)])!=null&&(_0x2d239f=_0x2d239f[_0x2e7682(0x479)](_0x5c1246,_0x2e7682(0x1ab)))!=null&&_0x2d239f[_0x2e7682(0x421)]||(_0x3a7d66=(_0x343cb5=window)[_0x2e7682(0x3ec)])!=null&&(_0x3a7d66=_0x3a7d66[_0x2e7682(0x479)](_0x343cb5,_0x2e7682(0x32c)))!=null&&_0x3a7d66['matches'])return!0x1;let _0x47ecd9=this['_chartHostProvider']['getHostClientRect'](_0x27779a);return _0x47ecd9!=null&&_0x47ecd9[_0x2e7682(0x323)]>0x0&&_0x47ecd9[_0x2e7682(0x1ed)]>0x0&&_0x47ecd9['right']>0x0&&_0x47ecd9[_0x2e7682(0x359)]>0x0&&_0x47ecd9[_0x2e7682(0x2a9)]<window['innerWidth']&&_0x47ecd9[_0x2e7682(0x2f4)]<window['innerHeight'];}[_0xeb70cf(0x357)](_0x17a288){const _0x2895e5=_0xeb70cf;let _0x64c05f=this['_dataUpdateAnimationTimers'][_0x2895e5(0x360)](_0x17a288);_0x64c05f&&(clearTimeout(_0x64c05f),this['_dataUpdateAnimationTimers'][_0x2895e5(0x339)](_0x17a288)),this['_dataUpdateAnimationChartIds'][_0x2895e5(0x2a8)](_0x17a288),this['_chartHostProvider'][_0x2895e5(0x4b8)](_0x17a288,_0x3611d5['CHART_DATA_UPDATE_ANIMATION_DURATION']);}[_0xeb70cf(0x384)](_0xcb14b1){const _0x3b32e4=_0xeb70cf;let _0x5f4253=this[_0x3b32e4(0x4b2)][_0x3b32e4(0x360)](_0xcb14b1);_0x5f4253&&clearTimeout(_0x5f4253);let _0x584e17=setTimeout(()=>{const _0x4ed208=_0x3b32e4;this[_0x4ed208(0x4b2)]['delete'](_0xcb14b1),this[_0x4ed208(0x454)][_0x4ed208(0x339)](_0xcb14b1)&&(this[_0x4ed208(0x14a)][_0x4ed208(0x4b8)](_0xcb14b1,null),this[_0x4ed208(0x3b2)](_0xcb14b1),this[_0x4ed208(0x2d2)](_0xcb14b1));},_0x3611d5[_0x3b32e4(0x246)]);this[_0x3b32e4(0x4b2)][_0x3b32e4(0x130)](_0xcb14b1,_0x584e17);}[_0xeb70cf(0x2af)](_0x25d69f){const _0x5d73cf=_0xeb70cf;let _0x105ca8=this['_dataUpdateAnimationTimers'][_0x5d73cf(0x360)](_0x25d69f);_0x105ca8&&(clearTimeout(_0x105ca8),this[_0x5d73cf(0x4b2)]['delete'](_0x25d69f)),this[_0x5d73cf(0x454)][_0x5d73cf(0x339)](_0x25d69f),this['_chartHostProvider'][_0x5d73cf(0x4b8)](_0x25d69f,null);}async[_0xeb70cf(0x3c5)](_0xb0b284,_0x205d26,_0xe157a9){const _0x12ea07=_0xeb70cf;let _0x164a3c=this['_drawingManagerService']['getDrawingData'](_0xb0b284,_0x205d26),_0x88a3b4=this['_drawingManagerService']['getDrawingOrder'](_0xb0b284,_0x205d26),_0x28f65d=Object[_0x12ea07(0x1a8)](_0x164a3c??{})['filter'](_0x3ff514=>_0x3ff514['drawingType']===_0x1e7325[_0x12ea07(0x28f)][_0x12ea07(0x1c3)]&&_0x3ff514[_0x12ea07(0x2fe)]!==!0x0);await Promise[_0x12ea07(0x212)](_0x28f65d[_0x12ea07(0x1f6)](async _0x23b1d8=>{const _0x4adc75=_0x12ea07;let _0x230760=await this[_0x4adc75(0x172)](_0x23b1d8,_0x88a3b4);_0x230760&&(_0xe157a9[_0x4adc75(0x2c8)](_0x230760,_0x4fef78[_0x4adc75(0x3fc)]),_0x23b1d8[_0x4adc75(0xd3)]&&(0x0,_0x4015f2[_0x4adc75(0x269)])({'drawingId':_0x23b1d8[_0x4adc75(0xd3)],'unitId':_0xb0b284,'subUnitId':_0x205d26},_0x230760,_0xe157a9,this['_drawingManagerService']));}));}async['_createPrintingChartObject'](_0x179e1b,_0x5439c4){const _0x12dd56=_0xeb70cf;let _0x1d1ef9=this[_0x12dd56(0x3ea)][_0x12dd56(0x316)](_0x179e1b[_0x12dd56(0xef)]),_0x200bfa=this[_0x12dd56(0x468)][_0x12dd56(0xc7)](_0x3611d5[_0x12dd56(0x214)]),_0x584648=_0x179e1b[_0x12dd56(0x401)],_0xfb6beb=_0x1d1ef9==null?void 0x0:_0x1d1ef9['config'];if(!_0x1d1ef9||!_0x200bfa||!_0x584648||!_0xfb6beb||_0x584648[_0x12dd56(0x323)]==null||_0x584648[_0x12dd56(0x1ed)]==null)return null;let _0x2523d9=new _0xda5c6b(_0x179e1b[_0x12dd56(0xef)],{'width':_0x584648[_0x12dd56(0x323)],'height':_0x584648[_0x12dd56(0x1ed)]}),_0x55361d=_0x200bfa[_0x12dd56(0xf4)](_0x3611d5[_0x12dd56(0x465)]['Image'],this[_0x12dd56(0x17b)]());_0x55361d[_0x12dd56(0x456)](_0x2523d9);let _0x679a91;try{await _0x55361d[_0x12dd56(0x37d)]({'chartId':_0x179e1b[_0x12dd56(0xef)],'config':_0xfb6beb,'style':this['createRuntimeChartStyle'](_0x1d1ef9,this[_0x12dd56(0x133)][_0x12dd56(0x392)]())});}catch(_0x49acd2){console[_0x12dd56(0x361)]('[ChartRender]\x20Failed\x20to\x20render\x20chart\x20snapshot\x20for\x20printing',_0x49acd2);}finally{_0x679a91=_0x2523d9['takeSnapshot'](),_0x55361d[_0x12dd56(0x151)](),_0x2523d9[_0x12dd56(0x151)]();}let _0x519048=this[_0x12dd56(0x276)][_0x12dd56(0x418)]({'unitId':_0x179e1b[_0x12dd56(0xfa)],'subUnitId':_0x179e1b[_0x12dd56(0x331)],'chartId':_0x179e1b['drawingId']}),_0x5ea4e0=_0x679a91??_0x519048;if(!_0x5ea4e0)return null;let _0x2b480a=_0x5439c4['indexOf'](_0x179e1b[_0x12dd56(0xef)]);return new _0x391a42((0x0,_0x39bdba['getDrawingShapeKeyByDrawingSearch'])(_0x179e1b),{..._0x584648,..._0x398b93['SHEET_CHART_RENDER_OBJECT_CONFIG'],..._0x3594ec(_0x2523d9[_0x12dd56(0x4b9)]),'visible':!0x0,'zIndex':_0x2b480a===-0x1?Math[_0x12dd56(0x15a)](_0x5439c4[_0x12dd56(0x2d4)]-0x1,0x0):_0x2b480a},()=>_0x5ea4e0,void 0x0,_0x679a91?()=>_0x500cb6(_0x679a91):void 0x0);}['_getOrCreateChartRenderInstance'](_0x4d88ef,_0x1a9086,_0x2bcdbb){const _0x53830b=_0xeb70cf;let _0x585085=this[_0x53830b(0x343)][_0x53830b(0x360)](_0x4d88ef);if((_0x585085==null?void 0x0:_0x585085[_0x53830b(0x170)])===_0x1a9086)return _0x585085;_0x585085&&(this['_disposeChartEventSubscriptions'](_0x4d88ef),_0x585085[_0x53830b(0x151)](),this['_chartInstanceMap'][_0x53830b(0x339)](_0x4d88ef));let _0x15956=_0x2bcdbb[_0x53830b(0xf4)](_0x1a9086,this[_0x53830b(0x17b)]());return this[_0x53830b(0x343)][_0x53830b(0x130)](_0x4d88ef,_0x15956),_0x15956[_0x53830b(0x12f)](this[_0x53830b(0x2a0)][_0x53830b(0x360)](_0x4d88ef)===!0x0),this[_0x53830b(0x303)](_0x4d88ef,_0x15956),_0x15956;}['_createChartRenderInstanceContext'](){const _0x40a776=_0xeb70cf;return{'resolveHostStyle':({style:_0x58347c})=>(0x0,_0x3611d5[_0x40a776(0x1a9)])({'style':_0x58347c,'getRenderColor':_0x84d42e=>this[_0x40a776(0x39e)][_0x40a776(0x450)](_0x84d42e)}),'resolveRenderBackgroundColor':({style:_0x346027})=>this[_0x40a776(0x39e)]['getRenderColor']((0x0,_0x3611d5['resolveChartStyleBackgroundColor'])(_0x346027))};}[_0xeb70cf(0x124)](_0x589b6c){const _0x2369fe=_0xeb70cf;var _0x2e2c2e,_0x3996c8,_0x4322d9;(_0x2e2c2e=this[_0x2369fe(0x2cd)]['get'](_0x589b6c))==null||_0x2e2c2e[_0x2369fe(0x151)](),this[_0x2369fe(0x2cd)][_0x2369fe(0x339)](_0x589b6c),(_0x3996c8=this[_0x2369fe(0x497)][_0x2369fe(0x360)](_0x589b6c))==null||_0x3996c8[_0x2369fe(0x30e)](),this[_0x2369fe(0x497)][_0x2369fe(0x339)](_0x589b6c),(_0x4322d9=this[_0x2369fe(0x293)]['get'](_0x589b6c))==null||_0x4322d9[_0x2369fe(0x30e)](),this['_debounceHandleMap'][_0x2369fe(0x339)](_0x589b6c);}['_cancelDebouncedCallbacks'](){const _0x13ad3d=_0xeb70cf;this['_renderDebounceMap']['forEach'](_0x4e78d6=>_0x4e78d6[_0x13ad3d(0x30e)]()),this[_0x13ad3d(0x497)][_0x13ad3d(0x3b6)](),this[_0x13ad3d(0x293)][_0x13ad3d(0x332)](_0x347703=>_0x347703[_0x13ad3d(0x30e)]()),this['_debounceHandleMap'][_0x13ad3d(0x3b6)]();}[_0xeb70cf(0x151)](){const _0x1d6e35=_0xeb70cf;this['_chartChangeSubscriptions'][_0x1d6e35(0x332)](_0x58dbe0=>_0x58dbe0[_0x1d6e35(0x151)]()),this[_0x1d6e35(0x2cd)][_0x1d6e35(0x3b6)](),this[_0x1d6e35(0x4b2)][_0x1d6e35(0x332)](_0x203784=>clearTimeout(_0x203784)),this[_0x1d6e35(0x4b2)][_0x1d6e35(0x3b6)](),this['_dataUpdateAnimationChartIds'][_0x1d6e35(0x3b6)](),Array[_0x1d6e35(0x240)](this[_0x1d6e35(0x343)][_0x1d6e35(0x19e)]())['forEach'](_0x7f2dce=>this[_0x1d6e35(0x4a9)](_0x7f2dce)),this[_0x1d6e35(0x3a9)][_0x1d6e35(0x3b6)](),this[_0x1d6e35(0x2a0)][_0x1d6e35(0x3b6)](),this[_0x1d6e35(0x447)](),this[_0x1d6e35(0x1e1)][_0x1d6e35(0x3b6)](),this[_0x1d6e35(0x1fa)]=null,this[_0x1d6e35(0x452)]=null,super[_0x1d6e35(0x151)]();}};_0x114834=_0x6243e3([_0x16880b(0x0,_0x46b74e),_0x16880b(0x1,(0x0,_0x1e7325['Inject'])(_0x398b93[_0xeb70cf(0x493)])),_0x16880b(0x2,(0x0,_0x1e7325[_0xeb70cf(0x28e)])(_0x5979b3[_0xeb70cf(0x148)])),_0x16880b(0x3,_0x39bdba[_0xeb70cf(0x41e)]),_0x16880b(0x4,_0x1e7325[_0xeb70cf(0x106)]),_0x16880b(0x5,(0x0,_0x1e7325[_0xeb70cf(0x28e)])(_0x4fef78[_0xeb70cf(0x3d7)])),_0x16880b(0x6,(0x0,_0x1e7325[_0xeb70cf(0x28e)])(_0x1e7325[_0xeb70cf(0x404)])),_0x16880b(0x7,(0x0,_0x1e7325[_0xeb70cf(0x28e)])(_0x1e7325[_0xeb70cf(0x459)])),_0x16880b(0x8,(0x0,_0x1e7325[_0xeb70cf(0x28e)])(_0x3611d5[_0xeb70cf(0x391)])),_0x16880b(0x9,(0x0,_0x1e7325[_0xeb70cf(0x28e)])(_0x1e7325[_0xeb70cf(0x127)])),_0x16880b(0xa,_0x1e7325['IConfigService']),_0x16880b(0xb,(0x0,_0x1e7325[_0xeb70cf(0x28e)])(_0x36a856)),_0x16880b(0xc,_0x3611d5[_0xeb70cf(0x3e7)])],_0x114834);let _0x19c057=(0x0,_0x1e7325['createIdentifier'])(_0xeb70cf(0x1cc)),_0x46657c=class extends _0x339b6e['ChartUIService']{constructor(_0x402d89,_0x343ddc,_0x57be94,_0xf8fff3,_0x575b10){const _0x54b8d9=_0xeb70cf;super(_0x575b10),this[_0x54b8d9(0x3ea)]=_0x402d89,this['_sheetsChartService']=_0x343ddc,this[_0x54b8d9(0x460)]=_0x57be94,this[_0x54b8d9(0x42c)]=_0xf8fff3,_0x1b6fbd(this,_0x54b8d9(0xde),!0x1),_0x1b6fbd(this,'_chartEditorOpen$',new _0x24f269[(_0x54b8d9(0x355))](!0x1)),_0x1b6fbd(this,_0x54b8d9(0x330),new _0x24f269[(_0x54b8d9(0x355))](null)),_0x1b6fbd(this,_0x54b8d9(0x382),this[_0x54b8d9(0x1c8)][_0x54b8d9(0x2ad)]()),_0x1b6fbd(this,_0x54b8d9(0x1fb),this[_0x54b8d9(0x330)]['asObservable']());}get[_0xeb70cf(0x236)](){const _0x3bfeb2=_0xeb70cf;return this['_chartModelService'][_0x3bfeb2(0xea)]??null;}get[_0xeb70cf(0x4ac)](){const _0x2335db=_0xeb70cf;return this[_0x2335db(0x1c8)][_0x2335db(0x289)]();}get['rangeSelectMode'](){const _0x29a25d=_0xeb70cf;return this[_0x29a25d(0xde)];}['setRangeSelectMode'](_0x21c4a4){this['_rangeSelectMode']=_0x21c4a4;}[_0xeb70cf(0x399)](_0x26fe41){const _0x5b3e19=_0xeb70cf;this[_0x5b3e19(0x1c8)][_0x5b3e19(0x289)]()!==_0x26fe41&&this[_0x5b3e19(0x1c8)][_0x5b3e19(0x217)](_0x26fe41);}[_0xeb70cf(0xd6)](_0x1567e5){const _0x510552=_0xeb70cf;var _0xa19c6c;return this[_0x510552(0x4ac)]&&((_0xa19c6c=this[_0x510552(0x3ea)][_0x510552(0xea)])==null?void 0x0:_0xa19c6c['id'])===_0x1567e5;}['setPanelRoute'](_0x2155d7,_0xf04ad9){const _0x282c19=_0xeb70cf;this[_0x282c19(0x330)][_0x282c19(0x217)]({'chartId':_0x2155d7,'route':_0xf04ad9});}[_0xeb70cf(0x26f)](){const _0x1a06d4=_0xeb70cf;this['_panelRoute$'][_0x1a06d4(0x217)](null);}[_0xeb70cf(0x191)](_0x4511e5){const _0x396c0b=_0xeb70cf;let _0x5de085=this[_0x396c0b(0x3ea)]['activeChartModel'];_0x5de085&&this['_executeChartUpdateSourceConfig']({'chartModelId':_0x5de085['id'],'range':_0x4511e5});}[_0xeb70cf(0xff)](_0x17c9cf){const _0x1d1329=_0xeb70cf;let _0x586a07=this['_chartModelService'][_0x1d1329(0xea)];if(!_0x586a07)return;let _0x47bb46=this[_0x1d1329(0x145)][_0x1d1329(0x310)](_0x586a07['id']);if(!_0x47bb46||Array[_0x1d1329(0x28a)](_0x47bb46))return;let _0x15d543={..._0x47bb46,'isRowDirection':_0x17c9cf===_0x3611d5[_0x1d1329(0x4a5)][_0x1d1329(0xf3)]};this['_executeChartUpdateSourceConfig']({'chartModelId':_0x586a07['id'],'range':_0x15d543});}[_0xeb70cf(0x1e0)](_0x5a8cb2){const _0x2e2f62=_0xeb70cf;var _0x5070c1;this['_commandService'][_0x2e2f62(0x318)](_0x5979b3[_0x2e2f62(0x1bb)]['id'],{..._0x5a8cb2,'unitId':((_0x5070c1=this[_0x2e2f62(0x42c)][_0x2e2f62(0x190)]())==null?void 0x0:_0x5070c1['getUnitId']())??''});}['_executeChartUpdateSourceConfig'](_0x56c81a){const _0x5b9d6b=_0xeb70cf;var _0x3bbc28;this[_0x5b9d6b(0x460)][_0x5b9d6b(0x318)](_0x5979b3[_0x5b9d6b(0x1b0)]['id'],{..._0x56c81a,'unitId':((_0x3bbc28=this[_0x5b9d6b(0x42c)][_0x5b9d6b(0x190)]())==null?void 0x0:_0x3bbc28[_0x5b9d6b(0x463)]())??''});}[_0xeb70cf(0x151)](){const _0x1cf2b6=_0xeb70cf;this[_0x1cf2b6(0x1c8)][_0x1cf2b6(0x1e6)](),this[_0x1cf2b6(0x330)][_0x1cf2b6(0x1e6)](),super[_0x1cf2b6(0x151)]();}};_0x46657c=_0x6243e3([_0x16880b(0x0,(0x0,_0x1e7325['Inject'])(_0x5979b3[_0xeb70cf(0x148)])),_0x16880b(0x1,(0x0,_0x1e7325[_0xeb70cf(0x28e)])(_0x5979b3['SheetsChartService'])),_0x16880b(0x2,_0x1e7325[_0xeb70cf(0xd2)]),_0x16880b(0x3,_0x1e7325[_0xeb70cf(0x106)]),_0x16880b(0x4,(0x0,_0x1e7325[_0xeb70cf(0x28e)])(_0x339b6e[_0xeb70cf(0x21e)]))],_0x46657c);var _0x390a76;let _0x434889={'axis':{..._0x339b6e[_0xeb70cf(0x194)],'primaryGridLineVisible':!0x1,'secondaryGridLineVisible':!0x0},'funnel':_0x339b6e['DEFAULT_CHART_FUNNEL_VALUES'],'heatmap':_0x339b6e[_0xeb70cf(0x49d)],'indicatorLine':_0x339b6e[_0xeb70cf(0x15f)],'legend':_0x339b6e[_0xeb70cf(0x13e)],'lineAndArea':_0x339b6e['DEFAULT_CHART_LINE_AND_AREA_VALUES'],'pareto':_0x339b6e['DEFAULT_CHART_PARETO_VALUES'],'pie':_0x339b6e['DEFAULT_CHART_PIE_VALUES'],'relation':{..._0x339b6e[_0xeb70cf(0xf9)],'useValueAsSymbolSize':!0x0},'radar':_0x339b6e[_0xeb70cf(0x200)],'series':{..._0x339b6e[_0xeb70cf(0x394)],'radarFillOpacity':0.2,'rightAxis':{'ltr':!0x1,'rtl':((_0x390a76=_0x3611d5[_0xeb70cf(0x155)][_0xeb70cf(0x37a)])==null?void 0x0:_0x390a76[_0xeb70cf(0x26b)])??!0x1}},'style':_0x339b6e[_0xeb70cf(0x17d)],'titles':_0x339b6e[_0xeb70cf(0xc6)],'trendline':_0x339b6e[_0xeb70cf(0x2b0)],'waterfallStyle':_0x339b6e[_0xeb70cf(0x427)],'wordCloud':_0x339b6e[_0xeb70cf(0x3e6)]},_0x166c91=_0x32eaa3=>_0x32eaa3[_0xeb70cf(0x428)](_0x1e7325['UniverInstanceType'][_0xeb70cf(0x41f)])[_0xeb70cf(0x463)](),_0x21b304=_0x118f18=>{const _0x30a63a=_0xeb70cf;var _0x643e56;return(_0x643e56=_0x118f18[_0x30a63a(0x428)](_0x1e7325['UniverInstanceType']['UNIVER_SHEET'])[_0x30a63a(0x25e)]())==null?void 0x0:_0x643e56[_0x30a63a(0x473)]();},_0x11a2c2=()=>{const _0x127116=_0xeb70cf;var _0x18d765;let _0x2db9f0=(0x0,_0xced9f3[_0x127116(0x3e2)])(_0x19c057),_0x1cd5a8=(0x0,_0xced9f3[_0x127116(0x3e2)])(_0x5979b3['ChartModelService']),_0x513363=(0x0,_0xced9f3[_0x127116(0x3e2)])(_0x1e7325[_0x127116(0x404)]),_0x5deb07=(0x0,_0xced9f3['useDependency'])(_0x1e7325[_0x127116(0x459)]),_0x5034d7=(0x0,_0x5979b3[_0x127116(0x12b)])(_0x5deb07),_0x71a4bb=(0x0,_0x5de930['useMemo'])(()=>{const _0x31a49c=_0x127116;let _0x2b820a=_0x51c8a3(_0x14f1e3[_0x31a49c(0x434)](),_0x5034d7);return(0x0,_0x339b6e[_0x31a49c(0x1f5)])(_0x2b820a['map'](_0x27ce6c=>({'id':_0x27ce6c['id'],'label':_0x513363['t'](_0x31a49c(0x409)+_0x27ce6c[_0x31a49c(0x260)]),'pieSecondaryPlotType':_0x27ce6c[_0x31a49c(0x186)],'value':_0x27ce6c[_0x31a49c(0x375)]})));},[_0x5034d7,_0x513363]),_0x157669=(0x0,_0xced9f3['useObservable'])(_0x1cd5a8[_0x127116(0x280)],_0x1cd5a8[_0x127116(0xea)]),_0x27127b=(0x0,_0xced9f3[_0x127116(0x174)])(_0x157669==null?void 0x0:_0x157669[_0x127116(0x273)],_0x157669==null?void 0x0:_0x157669[_0x127116(0x270)]),_0x332fae=(0x0,_0xced9f3[_0x127116(0x174)])(_0x157669==null?void 0x0:_0x157669[_0x127116(0x370)],_0x157669==null?void 0x0:_0x157669[_0x127116(0x3df)]),_0x463ee2=(0x0,_0xced9f3[_0x127116(0x174)])(_0x332fae==null?void 0x0:_0x332fae[_0x127116(0x41c)],_0x332fae==null?void 0x0:_0x332fae[_0x127116(0x485)]()),_0x16010c=Array[_0x127116(0x28a)](_0x463ee2),_0x45152f=_0x463ee2&&!_0x16010c&&_0x463ee2[_0x127116(0x2f9)]?_0x3611d5[_0x127116(0x4a5)]['Row']:_0x3611d5[_0x127116(0x4a5)][_0x127116(0x368)],_0x10354d=_0x16010c?(_0x18d765=_0x463ee2[0x0])==null?void 0x0:_0x18d765[_0x127116(0x441)]:_0x463ee2==null?void 0x0:_0x463ee2[_0x127116(0x43c)];return(0x0,_0x424e81['jsxs'])(_0x127116(0x44a),{'className':_0x127116(0x31c),'children':[(0x0,_0x424e81[_0x127116(0x25c)])(_0x339b6e[_0x127116(0xed)],{'chartTypeOptions':_0x71a4bb,'dataSourceControl':(0x0,_0x424e81[_0x127116(0x25c)])(_0x1761b9,{'dataRange':_0x463ee2,'primaryRange':_0x10354d}),'categoryToggleLabel':_0x513363['t'](_0x127116(0xfe),_0x45152f===_0x3611d5[_0x127116(0x4a5)][_0x127116(0xf3)]?_0x45152f+'\x20'+(((_0x10354d==null?void 0x0:_0x10354d[_0x127116(0x441)][_0x127116(0x3f3)])??0x0)+0x1):_0x45152f+'\x20'+(0x0,_0x1e7325[_0x127116(0x177)])((_0x10354d==null?void 0x0:_0x10354d['range'][_0x127116(0x2dd)])??0x0)),'orientationControl':_0x16010c?void 0x0:(0x0,_0x424e81[_0x127116(0x25c)])(_0x15e416[_0x127116(0x1f4)],{'size':'small','onClick':()=>_0x2db9f0['setOrientation'](_0x45152f===_0x3611d5['DataOrientation'][_0x127116(0xf3)]?_0x3611d5[_0x127116(0x4a5)][_0x127116(0x368)]:_0x3611d5[_0x127116(0x4a5)][_0x127116(0xf3)]),'children':_0x513363['t']('sheets-chart-ui.common.switchRowColumn')})}),(0x0,_0x424e81[_0x127116(0x25c)])(_0x15e416[_0x127116(0x4b5)],{'checked':(_0x27127b==null?void 0x0:_0x27127b[_0x127116(0x3db)])===!0x1,'disabled':!_0x157669,'onChange':_0x4edc1c=>{const _0x54e277=_0x127116;_0x157669&&_0x2db9f0[_0x54e277(0x1e0)]({'chartModelId':_0x157669['id'],'context':{'plotVisibleOnly':!_0x4edc1c}});},'children':_0x513363['t'](_0x127116(0x107))})]});};function _0x1761b9(_0xd088ab){const _0x358537=_0xeb70cf;let {dataRange:_0x4aeed5,primaryRange:_0x5719da}=_0xd088ab,_0x30832d=(0x0,_0xced9f3['useDependency'])(_0x19c057),_0x5a72e7=(0x0,_0xced9f3[_0x358537(0x3e2)])(_0x1e7325[_0x358537(0x404)]),_0x1e13b4=(0x0,_0xced9f3[_0x358537(0x3e2)])(_0x1e7325[_0x358537(0x106)]),_0x5438b3=(0x0,_0xced9f3['useDependency'])(_0x1e7325['IContextService']),[_0x3046e6,_0x4c7b9a]=(0x0,_0x5de930[_0x358537(0x125)])(!0x1),[_0x49e405,_0x22119a]=(0x0,_0x5de930[_0x358537(0x125)])(!0x1),[_0x11a3b5,_0x47654f]=(0x0,_0x5de930[_0x358537(0x125)])(),_0x4e7fa2=_0x166c91(_0x1e13b4),_0x323407=_0x21b304(_0x1e13b4),_0x173fdf=_0x4aeed5?_0x39337f(_0x4aeed5,_0x1e13b4):'',_0x1700eb=(0x0,_0x5de930['useRef'])(_0x173fdf),_0x1adf4e=(0x0,_0x5de930['useRef'])(void 0x0),_0x5cabf8=(0x0,_0x5de930[_0x358537(0x20c)])(null);(0x0,_0x5de930[_0x358537(0x1ce)])(()=>{const _0x1009bd=_0x358537;_0x30832d['setRangeSelectMode'](_0x3046e6),_0x5438b3[_0x1009bd(0x489)](_0x1e7325[_0x1009bd(0x37b)],_0x3046e6);},[_0x5438b3,_0x3046e6,_0x30832d]),(0x0,_0x5de930[_0x358537(0x1ce)])(()=>()=>{const _0x3d0b52=_0x358537;_0x30832d[_0x3d0b52(0x21f)](!0x1),_0x5438b3[_0x3d0b52(0x489)](_0x1e7325['FOCUSING_PANEL_EDITOR'],!0x1);},[_0x5438b3,_0x30832d]);let _0x24a5bd=(0x0,_0x5de930[_0x358537(0x405)])(_0x126a77=>{const _0x494253=_0x358537;var _0xe7e106;if(_0x39337f(_0x4aeed5,_0x1e13b4)===_0x126a77)return _0x47654f(void 0x0),!0x0;let _0x5861c6=_0x126a77['split'](_0x1ee0b1['matchToken']['COMMA']);if(!_0x126a77[_0x494253(0x3c6)]()||_0x5861c6[_0x494253(0x2d4)]!==0x1||!((_0xe7e106=_0x5cabf8[_0x494253(0x35f)])!=null&&_0xe7e106['verify']()))return _0x47654f(_0x5a72e7['t'](_0x494253(0x3be))),!0x1;let {unitId:_0x2898f3,sheetName:_0x2e7035,range:_0x27ba73}=(0x0,_0x1ee0b1['deserializeRangeWithSheet'])(_0x5861c6[0x0]),_0x43a644=_0x2898f3||_0x4e7fa2,_0x473ab1=_0x1e13b4[_0x494253(0x1b8)](_0x43a644),_0x31ec3c=(_0x5719da==null?void 0x0:_0x5719da[_0x494253(0xfa)])===_0x43a644?_0x5719da[_0x494253(0x331)]:_0x323407,_0x563bbf=_0x2e7035?_0x473ab1==null?void 0x0:_0x473ab1[_0x494253(0xe1)](_0x2e7035):_0x473ab1==null?void 0x0:_0x473ab1[_0x494253(0x262)](_0x31ec3c??'');return!_0x473ab1||!_0x563bbf||!(0x0,_0x1e7325[_0x494253(0x4b1)])(_0x27ba73,_0x563bbf)?(_0x47654f(_0x5a72e7['t'](_0x494253(0x3be))),!0x1):(_0x47654f(void 0x0),_0x30832d['setDataRange']({'rangeInfo':{'range':_0x27ba73,'unitId':_0x43a644,'subUnitId':_0x563bbf['getSheetId']()}}),!0x0);},[_0x4aeed5,_0x5a72e7,_0x5719da,_0x30832d,_0x323407,_0x4e7fa2,_0x1e13b4]),_0x54014a=(0x0,_0x5de930[_0x358537(0x2d7)])(()=>({'keyCodes':[{'keyCode':_0xced9f3[_0x358537(0x345)][_0x358537(0x2e7)],'nativeTextEditorBehavior':_0xced9f3['NativeTextEditorShortcutBehavior'][_0x358537(0x372)]}],'handler':_0x3fe96b=>{const _0xbaed47=_0x358537;_0x3fe96b===_0xced9f3[_0xbaed47(0x345)]['ENTER']&&_0x24a5bd(_0x1700eb[_0xbaed47(0x35f)])&&(_0x1adf4e[_0xbaed47(0x35f)]=_0x1700eb[_0xbaed47(0x35f)]);}}),[_0x24a5bd]);return(0x0,_0x424e81[_0x358537(0x25c)])(_0x358537(0x44a),{'className':_0x358537(0x1a6),'children':(0x0,_0x424e81[_0x358537(0x2da)])(_0x358537(0x44a),{'children':[(0x0,_0x424e81['jsx'])(_0x339b6e[_0x358537(0x189)],{'title':_0x5a72e7['t'](_0x358537(0x1a7))}),(0x0,_0x424e81[_0x358537(0x25c)])(_0x2aadda[_0x358537(0x47e)],{'supportAcrossSheet':!0x0,'keepSheetReference':!0x0,'maxRangeCount':0x1,'unitId':_0x4e7fa2,'subUnitId':_0x323407,'initialValue':_0x173fdf,'keyboardEventConfig':_0x54014a,'selectorRef':_0x5cabf8,'onChange':(_0x441fbb,_0x3b9339)=>{const _0x1b2764=_0x358537;_0x1700eb[_0x1b2764(0x35f)]=_0x3b9339,_0x49e405&&_0x1adf4e[_0x1b2764(0x35f)]!==_0x3b9339&&_0x24a5bd(_0x3b9339)&&(_0x1adf4e['current']=_0x3b9339);},'onFocusChange':(_0x2cea6d,_0x506f30)=>{const _0x55d7b5=_0x358537;if(_0x506f30!==void 0x0&&(_0x1700eb['current']=_0x506f30),_0x49e405||_0x4c7b9a(_0x2cea6d),_0x2cea6d)_0x1adf4e['current']=_0x1700eb[_0x55d7b5(0x35f)];else{let _0x1b3501=_0x1adf4e[_0x55d7b5(0x35f)];_0x1adf4e[_0x55d7b5(0x35f)]=void 0x0,_0x1b3501!==void 0x0&&_0x1700eb[_0x55d7b5(0x35f)]!==_0x1b3501&&_0x24a5bd(_0x1700eb['current']);}},'onRangeSelectorDialogVisibleChange':_0xfb0ff5=>{_0x22119a(_0xfb0ff5),_0x4c7b9a(_0xfb0ff5);}}),_0x11a3b5?(0x0,_0x424e81[_0x358537(0x25c)])(_0x358537(0x44a),{'className':_0x358537(0x18e),'children':_0x11a3b5}):null]})});}function _0x320cf3(_0x35c9b6){const _0x4264b2=_0xeb70cf;return(0x0,_0x424e81[_0x4264b2(0x2da)])(_0x339b6e[_0x4264b2(0x3c4)],{'id':_0x35c9b6['id'],'children':[(0x0,_0x424e81[_0x4264b2(0x25c)])(_0x339b6e[_0x4264b2(0x2ce)],{'children':_0x35c9b6[_0x4264b2(0x3bd)]}),(0x0,_0x424e81[_0x4264b2(0x25c)])(_0x339b6e[_0x4264b2(0x41b)],{'children':_0x35c9b6[_0x4264b2(0x140)]})]});}let _0x128705=_0x54115f=>{const _0x4bbd9a=_0xeb70cf;let _0x240a41=(0x0,_0xced9f3['useDependency'])(_0x1e7325[_0x4bbd9a(0x404)]),_0x3b83c7=(0x0,_0xced9f3[_0x4bbd9a(0x3e2)])(_0x19c057),_0x5c09ad=(0x0,_0xced9f3[_0x4bbd9a(0x3e2)])(_0x5979b3[_0x4bbd9a(0x148)]),_0x252896=(0x0,_0xced9f3[_0x4bbd9a(0x174)])(_0x5c09ad[_0x4bbd9a(0x280)],_0x5c09ad['activeChartModel']),_0x4e333f=(0x0,_0xced9f3['useObservable'])(_0x3b83c7[_0x4bbd9a(0x1fb)],null),_0x2a2b91=_0x4e333f&&_0x4e333f[_0x4bbd9a(0x2b5)]===(_0x252896==null?void 0x0:_0x252896['id'])?_0x4e333f[_0x4bbd9a(0x2fd)]:null,_0x158937=(0x0,_0x339b6e['useChartEditorChartType'])(),_0x4d4ef7=(0x0,_0x339b6e['useChartEditorHasRightAxis'])(),[_0x1eb416,_0x52246c]=(0x0,_0x5de930[_0x4bbd9a(0x125)])(null);(0x0,_0x5de930[_0x4bbd9a(0x1ce)])(()=>{const _0x2613ef=_0x4bbd9a;_0x2a2b91!=null&&_0x2a2b91[_0x2613ef(0x47a)]&&_0x52246c(_0x2a2b91[_0x2613ef(0x47a)]);},[_0x2a2b91]);let _0x23b01c=_0x3611d5[_0x4bbd9a(0xda)]['baseOn'](_0x158937,_0x3611d5[_0x4bbd9a(0x109)][_0x4bbd9a(0x2c7)]),_0x20ffa7=_0x158937===_0x3611d5[_0x4bbd9a(0x109)][_0x4bbd9a(0x46f)],_0x52ea64=_0x158937===_0x3611d5['ChartTypeBits'][_0x4bbd9a(0x1e7)],_0x3acc40=_0x158937===_0x3611d5['ChartTypeBits'][_0x4bbd9a(0x2a1)],_0x5d6aab=_0x3611d5['chartBitsUtils'][_0x4bbd9a(0x28b)](_0x158937,_0x3611d5[_0x4bbd9a(0x109)][_0x4bbd9a(0x2f8)]),_0x4d4f40=_0x158937===_0x3611d5[_0x4bbd9a(0x109)][_0x4bbd9a(0x3e9)],_0x594bf2=_0x158937===_0x3611d5[_0x4bbd9a(0x109)][_0x4bbd9a(0x363)],_0x1f1e18=_0x158937===_0x3611d5[_0x4bbd9a(0x109)][_0x4bbd9a(0x281)],_0x130c39=_0x158937===_0x3611d5['ChartTypeBits'][_0x4bbd9a(0x482)],_0x1a44e1,_0x238026;switch(_0x158937){case _0x3611d5[_0x4bbd9a(0x109)][_0x4bbd9a(0x1a2)]:_0x1a44e1=_0x339b6e[_0x4bbd9a(0x419)][_0x4bbd9a(0x1a2)],_0x238026=_0x240a41['t'](_0x4bbd9a(0x12d));break;case _0x3611d5[_0x4bbd9a(0x109)][_0x4bbd9a(0x3bc)]:_0x1a44e1=_0x339b6e[_0x4bbd9a(0x419)][_0x4bbd9a(0x3bc)],_0x238026=_0x240a41['t'](_0x4bbd9a(0x4b0));break;case _0x3611d5[_0x4bbd9a(0x109)][_0x4bbd9a(0x33e)]:_0x1a44e1=_0x339b6e[_0x4bbd9a(0x419)][_0x4bbd9a(0x33e)],_0x238026=_0x240a41['t']('sheets-chart-ui.section.treemap');break;case _0x3611d5['ChartTypeBits'][_0x4bbd9a(0x440)]:_0x1a44e1=_0x339b6e[_0x4bbd9a(0x419)][_0x4bbd9a(0x440)],_0x238026=_0x240a41['t'](_0x4bbd9a(0x34e));break;case _0x3611d5[_0x4bbd9a(0x109)][_0x4bbd9a(0x1d0)]:_0x1a44e1=_0x339b6e[_0x4bbd9a(0x419)][_0x4bbd9a(0x1d0)],_0x238026=_0x240a41['t'](_0x4bbd9a(0xf0));break;case _0x3611d5[_0x4bbd9a(0x109)][_0x4bbd9a(0x3ee)]:_0x1a44e1=_0x339b6e[_0x4bbd9a(0x419)][_0x4bbd9a(0x3ee)],_0x238026=_0x240a41['t'](_0x4bbd9a(0x426));}let _0x14a9da=(0x0,_0x339b6e[_0x4bbd9a(0x102)])(_0x158937,_0x339b6e[_0x4bbd9a(0x300)][_0x4bbd9a(0x1e9)])&&!_0x5d6aab&&!_0x1f1e18;return(0x0,_0x424e81[_0x4bbd9a(0x2da)])(_0x339b6e[_0x4bbd9a(0x43b)],{'value':_0x1eb416,'onChange':_0x52246c,'children':[(0x0,_0x424e81[_0x4bbd9a(0x25c)])(_0x320cf3,{'id':_0x339b6e[_0x4bbd9a(0x419)][_0x4bbd9a(0x24f)],'label':_0x240a41['t'](_0x4bbd9a(0x3fe)),'children':(0x0,_0x424e81[_0x4bbd9a(0x25c)])(_0x339b6e['ChartStyleSection'],{'defaultValues':_0x54115f[_0x4bbd9a(0x176)][_0x4bbd9a(0x4b9)]})}),(0x0,_0x424e81['jsx'])(_0x320cf3,{'id':_0x339b6e[_0x4bbd9a(0x419)][_0x4bbd9a(0x284)],'label':_0x240a41['t'](_0x4bbd9a(0xfd)),'children':(0x0,_0x424e81[_0x4bbd9a(0x25c)])(_0x339b6e[_0x4bbd9a(0xcc)],{'commitMode':_0x4bbd9a(0x14c),'defaultValues':_0x54115f['defaultValues']['titles'],'selectedTitleKey':_0x2a2b91==null?void 0x0:_0x2a2b91[_0x4bbd9a(0x12a)]})}),(0x0,_0x424e81[_0x4bbd9a(0x25c)])(_0x339b6e[_0x4bbd9a(0x445)],{'section':_0x4bbd9a(0x4a3)}),_0x14a9da&&(0x0,_0x424e81[_0x4bbd9a(0x25c)])(_0x320cf3,{'id':_0x339b6e[_0x4bbd9a(0x419)][_0x4bbd9a(0x2a6)],'label':_0x240a41['t'](_0x4bbd9a(0x198)),'children':(0x0,_0x424e81['jsx'])(_0x339b6e[_0x4bbd9a(0x48f)],{'defaultValues':_0x54115f['defaultValues']['series'],'NumberFormatField':_0x339b6e[_0x4bbd9a(0x2b7)],'selectedSeriesId':_0x2a2b91==null?void 0x0:_0x2a2b91['seriesId']})}),_0x594bf2&&(0x0,_0x424e81[_0x4bbd9a(0x25c)])(_0x320cf3,{'id':_0x339b6e[_0x4bbd9a(0x419)][_0x4bbd9a(0x484)],'label':_0x240a41['t'](_0x4bbd9a(0x11b)),'children':(0x0,_0x424e81[_0x4bbd9a(0x25c)])(_0x339b6e[_0x4bbd9a(0x34c)],{'defaultValues':_0x54115f['defaultValues'][_0x4bbd9a(0x2c9)],'getDefaultBucketName':({seriesName:_0x120a68,target:_0x29b0a3})=>_0x29b0a3===_0x3611d5['ChartWaterfallStyleTarget'][_0x4bbd9a(0x46e)]?_0x240a41['t'](_0x4bbd9a(0x309)):_0x120a68?_0x120a68+'-('+_0x240a41['t'](_0x29b0a3===_0x3611d5[_0x4bbd9a(0x154)]['Positive']?_0x4bbd9a(0x1c6):_0x4bbd9a(0x22c))+')':'','NumberFormatField':_0x339b6e[_0x4bbd9a(0x2b7)],'selectedSeriesId':_0x2a2b91==null?void 0x0:_0x2a2b91[_0x4bbd9a(0x411)]})}),_0x1f1e18&&(0x0,_0x424e81[_0x4bbd9a(0x2da)])(_0x424e81[_0x4bbd9a(0x241)],{'children':[(0x0,_0x424e81['jsx'])(_0x320cf3,{'id':_0x339b6e[_0x4bbd9a(0x419)][_0x4bbd9a(0x2eb)],'label':_0x240a41['t'](_0x4bbd9a(0x32e)),'children':(0x0,_0x424e81['jsx'])(_0x339b6e[_0x4bbd9a(0x10e)],{'defaultValues':_0x54115f[_0x4bbd9a(0x176)][_0x4bbd9a(0x34f)],'NumberFormatField':_0x339b6e[_0x4bbd9a(0x2b7)],'showDataPointEditor':!0x0,'target':_0x4bbd9a(0x341)})}),(0x0,_0x424e81['jsx'])(_0x320cf3,{'id':_0x339b6e['ChartEditPanelSection'][_0x4bbd9a(0x1dc)],'label':_0x240a41['t'](_0x4bbd9a(0x251)),'children':(0x0,_0x424e81[_0x4bbd9a(0x25c)])(_0x339b6e[_0x4bbd9a(0x10e)],{'defaultValues':_0x54115f[_0x4bbd9a(0x176)][_0x4bbd9a(0x34f)],'NumberFormatField':_0x339b6e[_0x4bbd9a(0x2b7)],'showDataPointEditor':!0x1,'target':_0x4bbd9a(0x4a6)})})]}),_0x23b01c&&(0x0,_0x424e81[_0x4bbd9a(0x25c)])(_0x320cf3,{'id':_0x339b6e[_0x4bbd9a(0x419)][_0x4bbd9a(0x1de)],'label':_0x240a41['t'](_0x4bbd9a(0xd8)),'children':(0x0,_0x424e81['jsx'])(_0x339b6e['ChartPieStyleSection'],{'defaultValues':_0x54115f[_0x4bbd9a(0x176)][_0x4bbd9a(0x104)],'NumberFormatField':_0x339b6e[_0x4bbd9a(0x2b7)]})}),_0x52ea64&&(0x0,_0x424e81['jsx'])(_0x320cf3,{'id':_0x339b6e[_0x4bbd9a(0x419)][_0x4bbd9a(0x1e7)],'label':_0x240a41['t']('sheets-chart-ui.section.wordCloud'),'children':(0x0,_0x424e81[_0x4bbd9a(0x25c)])(_0x339b6e[_0x4bbd9a(0x1f8)],{'defaultValues':_0x54115f['defaultValues'][_0x4bbd9a(0x32b)]})}),_0x20ffa7&&(0x0,_0x424e81[_0x4bbd9a(0x25c)])(_0x320cf3,{'id':_0x339b6e[_0x4bbd9a(0x419)]['Radar'],'label':_0x240a41['t']('sheets-chart-ui.section.radar'),'children':(0x0,_0x424e81[_0x4bbd9a(0x25c)])(_0x339b6e['ChartRadarStyleSection'],{'defaultValues':_0x54115f[_0x4bbd9a(0x176)]['radar']})}),_0x3acc40&&(0x0,_0x424e81['jsx'])(_0x320cf3,{'id':_0x339b6e[_0x4bbd9a(0x419)]['Funnel'],'label':_0x240a41['t'](_0x4bbd9a(0x48d)),'children':(0x0,_0x424e81['jsx'])(_0x339b6e['ChartFunnelStyleSection'],{'defaultValues':_0x54115f['defaultValues'][_0x4bbd9a(0xf2)],'gapControl':'select'})}),_0x130c39&&(0x0,_0x424e81['jsx'])(_0x320cf3,{'id':_0x339b6e[_0x4bbd9a(0x419)][_0x4bbd9a(0x482)],'label':_0x240a41['t'](_0x4bbd9a(0x326)),'children':(0x0,_0x424e81[_0x4bbd9a(0x25c)])(_0x339b6e[_0x4bbd9a(0x321)],{'defaultValues':_0x54115f[_0x4bbd9a(0x176)]['heatmap']})}),_0x4d4f40&&(0x0,_0x424e81[_0x4bbd9a(0x25c)])(_0x320cf3,{'id':_0x339b6e[_0x4bbd9a(0x419)][_0x4bbd9a(0x3e9)],'label':_0x240a41['t'](_0x4bbd9a(0x3ef)),'children':(0x0,_0x424e81['jsx'])(_0x339b6e[_0x4bbd9a(0xcb)],{'defaultValues':_0x54115f['defaultValues']['relation']})}),(0x0,_0x339b6e[_0x4bbd9a(0x319)])(_0x158937)&&(0x0,_0x424e81[_0x4bbd9a(0x25c)])(_0x320cf3,{'id':_0x339b6e['ChartEditPanelSection'][_0x4bbd9a(0xce)],'label':_0x240a41['t'](_0x3611d5[_0x4bbd9a(0xda)][_0x4bbd9a(0x28b)](_0x158937,_0x3611d5[_0x4bbd9a(0x109)]['Area'])?_0x4bbd9a(0x38a):_0x4bbd9a(0x314)),'children':(0x0,_0x424e81[_0x4bbd9a(0x25c)])(_0x339b6e[_0x4bbd9a(0x478)],{'defaultValues':_0x54115f[_0x4bbd9a(0x176)]['lineAndArea'],'lineStyleControl':_0x4bbd9a(0x10d)})}),(0x0,_0x339b6e[_0x4bbd9a(0x102)])(_0x158937,_0x339b6e[_0x4bbd9a(0x300)][_0x4bbd9a(0x1e4)])&&(0x0,_0x424e81[_0x4bbd9a(0x25c)])(_0x320cf3,{'id':_0x339b6e[_0x4bbd9a(0x419)][_0x4bbd9a(0x1e4)],'label':_0x240a41['t'](_0x4bbd9a(0x233)),'children':(0x0,_0x424e81[_0x4bbd9a(0x25c)])(_0x339b6e[_0x4bbd9a(0x248)],{'defaultValues':_0x54115f['defaultValues'][_0x4bbd9a(0x2d0)]})}),(0x0,_0x339b6e[_0x4bbd9a(0x102)])(_0x158937,_0x339b6e['ChartEditorCapability'][_0x4bbd9a(0x138)])&&(0x0,_0x424e81[_0x4bbd9a(0x2da)])(_0x424e81[_0x4bbd9a(0x241)],{'children':[(0x0,_0x424e81[_0x4bbd9a(0x25c)])(_0x320cf3,{'id':_0x339b6e[_0x4bbd9a(0x419)]['HorizontalAxis'],'label':_0x240a41['t'](_0x4bbd9a(0x31d)),'children':(0x0,_0x424e81[_0x4bbd9a(0x25c)])(_0x339b6e[_0x4bbd9a(0xf8)],{'axis':'x','defaultValues':_0x54115f['defaultValues'][_0x4bbd9a(0xe6)],'NumberFormatField':_0x339b6e[_0x4bbd9a(0x2b7)]})}),(0x0,_0x424e81[_0x4bbd9a(0x25c)])(_0x320cf3,{'id':_0x339b6e[_0x4bbd9a(0x419)]['VerticalAxis'],'label':_0x240a41['t'](_0x4bbd9a(0x2b1)),'children':(0x0,_0x424e81['jsx'])(_0x339b6e[_0x4bbd9a(0xf8)],{'axis':'y','defaultValues':_0x54115f[_0x4bbd9a(0x176)]['axis'],'NumberFormatField':_0x339b6e[_0x4bbd9a(0x2b7)]})}),(0x0,_0x424e81['jsx'])(_0x339b6e[_0x4bbd9a(0x445)],{'section':_0x4bbd9a(0x158)}),_0x4d4ef7&&(0x0,_0x424e81[_0x4bbd9a(0x25c)])(_0x320cf3,{'id':_0x339b6e[_0x4bbd9a(0x419)][_0x4bbd9a(0x2e3)],'label':_0x240a41['t'](_0x4bbd9a(0x379)),'children':(0x0,_0x424e81[_0x4bbd9a(0x25c)])(_0x339b6e[_0x4bbd9a(0xf8)],{'axis':_0x4bbd9a(0x335),'defaultValues':_0x54115f['defaultValues']['axis'],'NumberFormatField':_0x339b6e[_0x4bbd9a(0x2b7)]})}),(0x0,_0x424e81['jsx'])(_0x320cf3,{'id':_0x339b6e[_0x4bbd9a(0x419)][_0x4bbd9a(0x1f7)],'label':_0x240a41['t'](_0x4bbd9a(0x149)),'children':(0x0,_0x424e81[_0x4bbd9a(0x25c)])(_0x339b6e[_0x4bbd9a(0x3f5)],{'defaultValues':_0x54115f['defaultValues'][_0x4bbd9a(0xe6)]})})]}),(0x0,_0x339b6e[_0x4bbd9a(0x102)])(_0x158937,_0x339b6e[_0x4bbd9a(0x300)][_0x4bbd9a(0x24a)])&&(0x0,_0x424e81[_0x4bbd9a(0x25c)])(_0x320cf3,{'id':_0x339b6e[_0x4bbd9a(0x419)]['IndicatorLine'],'label':_0x240a41['t']('sheets-chart-ui.section.indicatorLine'),'children':(0x0,_0x424e81[_0x4bbd9a(0x25c)])(_0x339b6e['ChartIndicatorLineSection'],{'defaultValues':_0x54115f['defaultValues'][_0x4bbd9a(0x423)]})}),(0x0,_0x3611d5['chartTypeCanUseTrendLine'])(_0x158937)&&(0x0,_0x424e81[_0x4bbd9a(0x25c)])(_0x320cf3,{'id':_0x339b6e[_0x4bbd9a(0x419)]['Trendline'],'label':_0x240a41['t']('sheets-chart-ui.common.trendline'),'children':(0x0,_0x424e81[_0x4bbd9a(0x25c)])(_0x339b6e['ChartTrendlineSection'],{'defaultValues':_0x54115f[_0x4bbd9a(0x176)][_0x4bbd9a(0x4b4)]})}),_0x1a44e1&&_0x238026&&(0x0,_0x424e81['jsx'])(_0x320cf3,{'id':_0x1a44e1,'label':_0x238026,'children':(0x0,_0x424e81[_0x4bbd9a(0x25c)])(_0x339b6e[_0x4bbd9a(0x20f)],{})})]});};function _0x2427fb(_0x426018){const _0x1c5fec=_0xeb70cf;let {className:_0x23c97a}=_0x426018,[_0x4a4f9f,_0x382bda]=(0x0,_0x5de930[_0x1c5fec(0x125)])(_0x339b6e[_0x1c5fec(0x3b9)][_0x1c5fec(0x11f)]),_0x56b61a=(0x0,_0xced9f3[_0x1c5fec(0x3e2)])(_0x1e7325[_0x1c5fec(0x459)]),_0x2cd80d=(0x0,_0xced9f3[_0x1c5fec(0x3e2)])(_0x1e7325[_0x1c5fec(0x404)]),_0x5a4806=(0x0,_0xced9f3['useDependency'])(_0x19c057),_0x3618e6=(0x0,_0xced9f3[_0x1c5fec(0x3e2)])(_0x5979b3[_0x1c5fec(0x148)]),_0x27ccc1=(0x0,_0xced9f3[_0x1c5fec(0x3e2)])(_0x5979b3[_0x1c5fec(0x258)]),_0x595ae1=(0x0,_0xced9f3[_0x1c5fec(0x174)])(_0x3618e6['activeChartModel$'],_0x3618e6[_0x1c5fec(0xea)]),_0x5b035b=(0x0,_0xced9f3['useObservable'])(_0x5a4806[_0x1c5fec(0x1fb)],null),_0x4ea1a3=(0x0,_0x5de930[_0x1c5fec(0x2d7)])(()=>{const _0x3bfa81=_0x1c5fec;var _0x3e8346;if(!_0x595ae1)return null;let _0x4f836e=_0x27ccc1[_0x3bfa81(0x310)](_0x595ae1['id']);if(!_0x4f836e)return null;let _0x30b952=Array[_0x3bfa81(0x28a)](_0x4f836e)?(_0x3e8346=_0x4f836e[0x0])==null?void 0x0:_0x3e8346[_0x3bfa81(0x441)]:_0x4f836e['rangeInfo'];return _0x30b952?new _0x339b6e[(_0x3bfa81(0x2a3))](_0x595ae1,new _0x5979b3['SheetChartConfigAdapter']({'unitId':_0x30b952[_0x3bfa81(0xfa)],'subUnitId':_0x30b952['subUnitId'],'chartId':_0x595ae1['id'],'injector':_0x56b61a})):null;},[_0x595ae1,_0x56b61a,_0x27ccc1]);if((0x0,_0x5de930[_0x1c5fec(0x1ce)])(()=>{const _0x2ea474=_0x1c5fec;var _0x3a41ea,_0x22bf7e;_0x595ae1&&(_0x5b035b==null?void 0x0:_0x5b035b['chartId'])===_0x595ae1['id']&&(((_0x3a41ea=_0x5b035b[_0x2ea474(0x2fd)])==null?void 0x0:_0x3a41ea[_0x2ea474(0x294)])===_0x339b6e['ChartEditPanelTab'][_0x2ea474(0x41a)]&&_0x382bda(_0x339b6e[_0x2ea474(0x3b9)][_0x2ea474(0x41a)]),((_0x22bf7e=_0x5b035b[_0x2ea474(0x2fd)])==null?void 0x0:_0x22bf7e[_0x2ea474(0x294)])===_0x339b6e[_0x2ea474(0x3b9)][_0x2ea474(0x11f)]&&_0x382bda(_0x339b6e[_0x2ea474(0x3b9)][_0x2ea474(0x11f)]));},[_0x595ae1,_0x5b035b]),!_0x4ea1a3)return null;let _0x431ffb=(0x0,_0x424e81[_0x1c5fec(0x25c)])(_0x1c5fec(0x44a),{'className':_0x1c5fec(0xee)+(_0x4a4f9f===_0x339b6e[_0x1c5fec(0x3b9)][_0x1c5fec(0x41a)]?'univer-overflow-visible':_0x1c5fec(0x27c))+_0x1c5fec(0x169)+(_0x23c97a??'')+'\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','children':(0x0,_0x424e81[_0x1c5fec(0x25c)])(_0x339b6e[_0x1c5fec(0x3cb)],{'ariaLabel':_0x2cd80d['t']('sheets-chart-ui.common.editChart'),'activeTab':_0x4a4f9f,'onTabChange':_0x382bda,'tabListClassName':_0x1c5fec(0x156),'panelClassName':_0x4a4f9f===_0x339b6e[_0x1c5fec(0x3b9)][_0x1c5fec(0x41a)]?_0x1c5fec(0x27f):void 0x0,'tabs':[{'id':_0x339b6e[_0x1c5fec(0x3b9)][_0x1c5fec(0x11f)],'panelId':_0x3e560c,'title':_0x2cd80d['t'](_0x1c5fec(0x453)),'content':(0x0,_0x424e81[_0x1c5fec(0x25c)])(_0x11a2c2,{})},{'id':_0x339b6e['ChartEditPanelTab']['Style'],'panelId':_0x21b67e,'title':_0x2cd80d['t'](_0x1c5fec(0x19f)),'content':(0x0,_0x424e81[_0x1c5fec(0x25c)])(_0x128705,{'defaultValues':_0x434889})}]})});return(0x0,_0x424e81['jsx'])(_0x339b6e[_0x1c5fec(0x340)],{'chartUIService':_0x5a4806,'hostAdapter':_0x4ea1a3,'children':_0x431ffb});}let _0x47b009='sheet.chart.edit.panel',_0x3e560c=_0xeb70cf(0x385),_0x21b67e=_0xeb70cf(0x1bc);function _0x19d02f(_0x36d0e6){const _0x5dec89=_0xeb70cf;return _0x36d0e6[_0x5dec89(0x2d4)]===0x1&&_0x47f235(_0x36d0e6[0x0]);}function _0x47f235(_0x10db7f){const _0x25523a=_0xeb70cf;return(_0x10db7f==null?void 0x0:_0x10db7f['drawingType'])===_0x1e7325['DrawingTypeEnum'][_0x25523a(0x1c3)]&&!_0x10db7f['groupId'];}let _0xdc4924=class extends _0x1e7325['Disposable']{constructor(_0x5240e3,_0xfa4ee2,_0x16b856,_0x22ff8b,_0x195602,_0x578346,_0x1a3729,_0x1e5568,_0x58ce7b,_0x3db016,_0x289b3f,_0x21bb0b,_0x2aa19d,_0x40fcc2,_0x10188b){const _0xcff523=_0xeb70cf;var _0x1dfb81;super(),this[_0xcff523(0x3f7)]=_0x5240e3,this[_0xcff523(0x42c)]=_0xfa4ee2,this[_0xcff523(0x3ea)]=_0x16b856,this[_0xcff523(0x145)]=_0x22ff8b,this[_0xcff523(0x46a)]=_0x195602,this[_0xcff523(0x374)]=_0x578346,this[_0xcff523(0x45f)]=_0x1a3729,this[_0xcff523(0x402)]=_0x1e5568,this[_0xcff523(0x16c)]=_0x58ce7b,this[_0xcff523(0x451)]=_0x3db016,this['_commandService']=_0x289b3f,this[_0xcff523(0x1db)]=_0x21bb0b,this[_0xcff523(0x337)]=_0x2aa19d,this[_0xcff523(0x133)]=_0x40fcc2,_0x1b6fbd(this,'_sidebarDisposable',null),_0x1b6fbd(this,'_isChartElementEditEnabled',void 0x0),this['_isChartElementEditEnabled']=((_0x1dfb81=_0x10188b[_0xcff523(0xe5)](_0xcff523(0x297)))==null?void 0x0:_0x1dfb81['enableChartElementFloatMenu'])===!0x0,this[_0xcff523(0x184)](),this['disposeWithMe'](this[_0xcff523(0x42c)]['getCurrentTypeOfUnit$'](_0x1e7325['UniverInstanceType']['UNIVER_SHEET'])[_0xcff523(0x413)](_0x3ddb17=>{const _0x3b6a87=_0xcff523;var _0x25f17b;_0x3ddb17||(_0x25f17b=this[_0x3b6a87(0x21a)])==null||_0x25f17b['dispose']();})),this[_0xcff523(0x1e8)]((0x0,_0x1e7325['toDisposable'])(this[_0xcff523(0x374)]['onDoubleClick$'][_0xcff523(0x413)](async({drawing:_0x27f8d0})=>{await this['_handleDrawingDoubleClick'](_0x27f8d0);})));}['_openPanel'](){const _0x52d98c=_0xeb70cf;this[_0x52d98c(0x21a)]=this[_0x52d98c(0x45f)]['open']({'id':_0x47b009,'header':{'title':this[_0x52d98c(0x133)]['t'](_0x52d98c(0x249))},'width':0x154,'children':{'label':_0x47b009},'onClose':()=>{const _0x4b72c9=_0x52d98c;this[_0x4b72c9(0x21a)]=null,this[_0x4b72c9(0x2d1)](),this[_0x4b72c9(0x3ea)][_0x4b72c9(0xea)]&&this['_chartModelService'][_0x4b72c9(0x128)](null),this[_0x4b72c9(0x3f7)][_0x4b72c9(0x17c)](null),this[_0x4b72c9(0x337)][_0x4b72c9(0x489)](_0x1e7325['FOCUSING_COMMON_DRAWINGS'],!0x1);}});}[_0xeb70cf(0x406)](){const _0xee3eb=_0xeb70cf;let _0xd15b86=this[_0xee3eb(0x21a)];this[_0xee3eb(0x21a)]=null,this['_deactivateEditPanelState'](),this['_chartModelService'][_0xee3eb(0xea)]&&this[_0xee3eb(0x3ea)][_0xee3eb(0x128)](null),_0xd15b86==null||_0xd15b86[_0xee3eb(0x151)]();}[_0xeb70cf(0x1d1)](){const _0x11de54=_0xeb70cf;let _0xeca506=this[_0x11de54(0x42c)]['getCurrentUnitOfType'](_0x1e7325[_0x11de54(0x3b8)][_0x11de54(0x41f)]);this[_0x11de54(0x1e8)](this[_0x11de54(0x45f)]['sidebarOptions$'][_0x11de54(0x413)](_0x3029b6=>{const _0x56198c=_0x11de54;_0x3029b6['id']===_0x56198c(0x199)&&(_0x3029b6[_0x56198c(0x32a)]||this[_0x56198c(0x45f)]['sidebarOptions$'][_0x56198c(0x217)]({'visible':!0x1}));})),this[_0x11de54(0x1e8)]((0x0,_0x24f269['combineLatest'])([this[_0x11de54(0x3ea)]['activeChartModel$'],this[_0x11de54(0x1db)]['chartEditorOpen$']])['pipe']((0x0,_0x24f269[_0x11de54(0x1f6)])(([_0x487846,_0x435a09])=>_0x435a09?(_0x487846==null?void 0x0:_0x487846['id'])??null:null),(0x0,_0x24f269[_0x11de54(0x477)])(),(0x0,_0x24f269[_0x11de54(0x11e)])(null),(0x0,_0x24f269[_0x11de54(0x3ca)])())[_0x11de54(0x413)](([_0x6e62f1,_0x1aee28])=>{const _0x18fb11=_0x11de54;this[_0x18fb11(0x488)](_0x6e62f1,_0x1aee28);})),this[_0x11de54(0x1e8)](this[_0x11de54(0x3ea)][_0x11de54(0x280)][_0x11de54(0x413)](_0x2cc560=>{const _0x73020=_0x11de54;!_0x2cc560&&this[_0x73020(0x21a)]&&this[_0x73020(0x406)]();})),this[_0x11de54(0x1e8)](this['_commandService'][_0x11de54(0x444)](_0x233168=>{const _0x271daf=_0x11de54;if(_0x233168['id']===_0x48776c['id']){let _0x280106=_0x233168[_0x271daf(0x2f0)];if(!_0x47f235(this[_0x271daf(0x3f7)]['getDrawingByParam']({'unitId':_0x280106[_0x271daf(0xfa)],'subUnitId':_0x280106['subUnitId'],'drawingId':_0x280106[_0x271daf(0xef)]})))return;this[_0x271daf(0x182)](_0x280106[_0x271daf(0xef)],_0x280106[_0x271daf(0x2fd)]);}if(_0x233168['id']===_0x2f1627['id']&&this[_0x271daf(0x406)](),_0x233168['id']===_0x5979b3[_0x271daf(0x237)]['id']){var _0xede305;_0x233168[_0x271daf(0x2f0)][_0x271daf(0x2b5)]===((_0xede305=this['_chartModelService']['activeChartModel'])==null?void 0x0:_0xede305['id'])&&this['hidePanel'](),this[_0x271daf(0x337)][_0x271daf(0x24c)](_0x1e7325[_0x271daf(0xec)])&&(this[_0x271daf(0x337)]['setContextValue'](_0x1e7325['FOCUSING_COMMON_DRAWINGS'],!0x1),this[_0x271daf(0x3f7)][_0x271daf(0x17c)](null));}})),this[_0x11de54(0x1e8)](this[_0x11de54(0x16c)][_0x11de54(0x144)][_0x11de54(0x413)](({id:_0x4834b0})=>{const _0xeca385=_0x11de54;this[_0xeca385(0x1db)][_0xeca385(0xd6)](_0x4834b0)&&this['hidePanel']();})),this['disposeWithMe'](this[_0x11de54(0x16c)][_0x11de54(0x1be)][_0x11de54(0x413)](({id:_0x1c9e26})=>{const _0x328c43=_0x11de54;this['_sheetsChartUIService'][_0x328c43(0xd6)](_0x1c9e26)&&(this[_0x328c43(0x1db)][_0x328c43(0x26f)](),this['_chartRenderService'][_0x328c43(0x12f)](_0x1c9e26,!0x1),this[_0x328c43(0x49f)](_0x1c9e26)&&this[_0x328c43(0x46a)]['setElementEditMode'](_0x1c9e26,!0x0));})),this[_0x11de54(0x1e8)](this[_0x11de54(0x3f7)][_0x11de54(0x49b)][_0x11de54(0x413)](_0x3f5faa=>{const _0x5ca0d9=_0x11de54;let _0x357676=_0x3f5faa[0x0];if(!this[_0x5ca0d9(0x1db)][_0x5ca0d9(0x185)]){if(_0x19d02f(_0x3f5faa)){var _0x386025;let _0x2077cb=this[_0x5ca0d9(0x3ea)][_0x5ca0d9(0x316)](_0x357676['drawingId']);_0x2077cb&&this[_0x5ca0d9(0x183)](_0x2077cb['id'])&&((_0x386025=this[_0x5ca0d9(0x3ea)][_0x5ca0d9(0xea)])==null?void 0x0:_0x386025['id'])!==_0x2077cb['id']&&this['_chartModelService'][_0x5ca0d9(0x128)](_0x2077cb);}else this[_0x5ca0d9(0x3ea)][_0x5ca0d9(0xea)]&&this['_chartModelService'][_0x5ca0d9(0x128)](null),!_0x357676&&!this[_0x5ca0d9(0x1db)]['rangeSelectMode']&&this[_0x5ca0d9(0x406)]();}})),_0xeca506&&(this[_0x11de54(0x1e8)](_0xeca506[_0x11de54(0x1d3)][_0x11de54(0x413)](()=>{this['hidePanel']();})),this[_0x11de54(0x1e8)](_0xeca506['activeSheet$']['subscribe'](()=>{this['hidePanel']();})));}async[_0xeb70cf(0x16b)](_0x5432c3){const _0x7c66b9=_0xeb70cf;this[_0x7c66b9(0x1db)][_0x7c66b9(0x4ac)]||_0x47f235(_0x5432c3)&&this[_0x7c66b9(0x183)](_0x5432c3[_0x7c66b9(0xef)])&&await this[_0x7c66b9(0x308)](_0x5432c3[_0x7c66b9(0xfa)],_0x5432c3[_0x7c66b9(0x331)],_0x5432c3['drawingId']);}async[_0xeb70cf(0x308)](_0x5be89a,_0x5b917d,_0xf64a12){const _0xbe3171=_0xeb70cf;this[_0xbe3171(0x3ea)]['getChartModel'](_0xf64a12)&&this['_isOwnedChart'](_0xf64a12)&&await this[_0xbe3171(0x460)][_0xbe3171(0x318)](_0x48776c['id'],{'unitId':_0x5be89a,'subUnitId':_0x5b917d,'drawingId':_0xf64a12});}['openChartPanelById'](_0x5c759b,_0x432b8d){const _0x955128=_0xeb70cf;let _0xfe372=this[_0x955128(0x3ea)][_0x955128(0x316)](_0x5c759b);_0xfe372&&this[_0x955128(0x183)](_0x5c759b)&&(this[_0x955128(0x3ea)]['setActiveChartModel'](_0xfe372),this[_0x955128(0x3b5)](),this['_activateEditPanelState'](_0x5c759b,_0x432b8d??null));}[_0xeb70cf(0x205)](_0x4e7c80,_0x162c45){const _0x1953f3=_0xeb70cf;this['_sheetsChartUIService'][_0x1953f3(0x399)](!0x0),this[_0x1953f3(0x1db)][_0x1953f3(0x1ef)](_0x4e7c80,_0x162c45);}[_0xeb70cf(0x2d1)](){const _0x38f001=_0xeb70cf;this[_0x38f001(0x1db)][_0x38f001(0x399)](!0x1);}['_syncActiveEditChart'](_0x8e34b3,_0x47eda6){const _0x17b2d5=_0xeb70cf;_0x8e34b3!==_0x47eda6&&(_0x8e34b3&&this[_0x17b2d5(0x46a)][_0x17b2d5(0x12f)](_0x8e34b3,!0x1),this[_0x17b2d5(0x1db)]['clearPanelRoute'](),_0x47eda6&&(this['_sheetsChartUIService'][_0x17b2d5(0x1ef)](_0x47eda6,null),this[_0x17b2d5(0x46a)][_0x17b2d5(0x12f)](_0x47eda6,this[_0x17b2d5(0x49f)](_0x47eda6))));}[_0xeb70cf(0x184)](){const _0x5106c7=_0xeb70cf;this[_0x5106c7(0x402)][_0x5106c7(0x1a0)](_0x3350dd),this[_0x5106c7(0x451)]['registerFeatureMenu'](_0x1e7325[_0x5106c7(0x28f)][_0x5106c7(0x1c3)],this[_0x5106c7(0x218)][_0x5106c7(0x456)](this));}[_0xeb70cf(0x49f)](_0x144259){const _0x3d6e71=_0xeb70cf;let _0x15c31b=this['_chartModelService']['getChartModel'](_0x144259);return!this[_0x3d6e71(0x1cb)]||!_0x15c31b||!this[_0x3d6e71(0x183)](_0x144259)?!0x1:_0x3a7357(_0x15c31b[_0x3d6e71(0x257)]);}[_0xeb70cf(0x218)](_0x132282,_0x386caf,_0x5dd760,_0x11dd5b){const _0xed4cee=_0xeb70cf;if(!this['_chartModelService'][_0xed4cee(0x316)](_0x5dd760))return[];let _0xe49e71=[{'label':this[_0xed4cee(0x133)]['t'](_0xed4cee(0x296)),'index':0x0,'commandId':_0x48776c['id'],'commandParams':{'unitId':_0x132282,'subUnitId':_0x386caf,'drawingId':_0x5dd760},'disable':_0x11dd5b!==_0x1e7325['DrawingTypeEnum'][_0xed4cee(0x1c3)]}];return this[_0xed4cee(0x183)](_0x5dd760)?[..._0xe49e71,{'label':this[_0xed4cee(0x133)]['t'](_0xed4cee(0x11d)),'index':0x1,'commandId':_0x4dac75[_0xed4cee(0x3ff)]['id'],'commandParams':{'unitId':_0x132282,'drawings':[{'unitId':_0x132282,'subUnitId':_0x386caf,'drawingId':_0x5dd760,'drawingType':_0x11dd5b}]},'disable':!0x1},{'label':this[_0xed4cee(0x133)]['t'](_0xed4cee(0x3ab)),'index':0x2,'commandId':_0x2f1627['id'],'commandParams':{'unitId':_0x132282,'subUnitId':_0x386caf,'drawingId':_0x5dd760},'disable':!0x1}]:_0xe49e71;}[_0xeb70cf(0x183)](_0x1b80fc){const _0x3385c9=_0xeb70cf;return this[_0x3385c9(0x145)][_0x3385c9(0x310)](_0x1b80fc)!==void 0x0;}};_0xdc4924=_0x6243e3([_0x16880b(0x0,_0x39bdba[_0xeb70cf(0x41e)]),_0x16880b(0x1,_0x1e7325[_0xeb70cf(0x106)]),_0x16880b(0x2,(0x0,_0x1e7325[_0xeb70cf(0x28e)])(_0x5979b3['ChartModelService'])),_0x16880b(0x3,(0x0,_0x1e7325[_0xeb70cf(0x28e)])(_0x5979b3[_0xeb70cf(0x258)])),_0x16880b(0x4,(0x0,_0x1e7325[_0xeb70cf(0x28e)])(_0x114834)),_0x16880b(0x5,(0x0,_0x1e7325[_0xeb70cf(0x28e)])(_0x398b93[_0xeb70cf(0x29d)])),_0x16880b(0x6,(0x0,_0x1e7325[_0xeb70cf(0x28e)])(_0xced9f3[_0xeb70cf(0x3dc)])),_0x16880b(0x7,_0xced9f3[_0xeb70cf(0x329)]),_0x16880b(0x8,(0x0,_0x1e7325[_0xeb70cf(0x28e)])(_0x398b93[_0xeb70cf(0x493)])),_0x16880b(0x9,(0x0,_0x1e7325[_0xeb70cf(0x28e)])(_0x2ef923[_0xeb70cf(0x165)])),_0x16880b(0xa,_0x1e7325[_0xeb70cf(0xd2)]),_0x16880b(0xb,_0x19c057),_0x16880b(0xc,_0x1e7325['IContextService']),_0x16880b(0xd,(0x0,_0x1e7325['Inject'])(_0x1e7325['LocaleService'])),_0x16880b(0xe,_0x1e7325[_0xeb70cf(0x475)])],_0xdc4924);var _0x2a4915='@univerjs-pro/sheets-chart-ui',_0x362383=_0xeb70cf(0x407);let _0x34efc2=class extends _0x1e7325[_0xeb70cf(0x3e8)]{constructor(_0x526b38,_0x1f152b){const _0x49e204=_0xeb70cf;super(),this[_0x49e204(0x3c8)]=_0x526b38,this[_0x49e204(0x3ea)]=_0x1f152b,this[_0x49e204(0x48c)]();}[_0xeb70cf(0x48c)](){const _0x26d8f3=_0xeb70cf;this['disposeWithMe'](this[_0x26d8f3(0x3c8)][_0x26d8f3(0x48a)][_0x26d8f3(0x413)](_0x2126b6=>{const _0x16a234=_0x26d8f3;this['_chartModelService'][_0x16a234(0x3f0)](_0x2126b6);}));}};_0x34efc2=_0x6243e3([_0x16880b(0x0,_0x46b74e),_0x16880b(0x1,(0x0,_0x1e7325[_0xeb70cf(0x28e)])(_0x5979b3[_0xeb70cf(0x148)]))],_0x34efc2);let _0x4a438d=class extends _0x1e7325[_0xeb70cf(0x3e8)]{constructor(_0x157c0d,_0x46cc65,_0x8c924f,_0xc02724,_0x13739d,_0x5a281f){const _0x805f42=_0xeb70cf;super(),this[_0x805f42(0x3ea)]=_0x157c0d,this['_chartRenderService']=_0x46cc65,this['_localeService']=_0x8c924f,this[_0x805f42(0x2ae)]=_0xc02724,this[_0x805f42(0x460)]=_0x13739d,this[_0x805f42(0x278)]=_0x5a281f,_0x1b6fbd(this,'_pendingMutationConfigRenders',new Map()),_0x1b6fbd(this,'_pendingDataUpdateChartIds',new Set()),this[_0x805f42(0x48c)](),this['_listenChartUpdateMutations'](),this['_initPrinting']();}[_0xeb70cf(0x29a)](){const _0x4df638=_0xeb70cf;this[_0x4df638(0x1e8)](this['_sheetPrintInterceptorService']['interceptor'][_0x4df638(0x30a)](this[_0x4df638(0x278)][_0x4df638(0x136)][_0x4df638(0x3a0)]()['PRINTING_COMPONENT_COLLECT'],{'handler':(_0x5d2392,_0x31b226,_0x2fabce)=>{const _0x355602=_0x4df638;let _0x365e4a=this[_0x355602(0x46a)][_0x355602(0x3c5)](_0x31b226['unitId'],_0x31b226[_0x355602(0x331)],_0x31b226['scene']);return _0x31b226[_0x355602(0x23b)][_0x355602(0x2a8)](_0x365e4a),_0x2fabce(_0x5d2392);}}));}[_0xeb70cf(0x48c)](){const _0xe89551=_0xeb70cf;this[_0xe89551(0x1e8)](this[_0xe89551(0x3ea)][_0xe89551(0x2ea)][_0xe89551(0x413)](_0x1c3d05=>{const _0x47e68a=_0xe89551;if(_0x1c3d05){let _0x888236=new _0x1e7325[(_0x47e68a(0x386))]();_0x888236['add'](_0x1c3d05['dataSource$'][_0x47e68a(0x2cf)]((0x0,_0x24f269[_0x47e68a(0x2cb)])(_0x172582=>_0x172582[_0x47e68a(0x227)][_0x47e68a(0x2cf)]((0x0,_0x24f269['skip'])(0x1))))[_0x47e68a(0x413)](()=>{const _0x5cde4a=_0x47e68a;this[_0x5cde4a(0x228)][_0x5cde4a(0x2a8)](_0x1c3d05['id']);})),_0x888236['add'](_0x1c3d05[_0x47e68a(0x271)][_0x47e68a(0x2cf)]((0x0,_0x24f269['combineLatestWith'])(_0x1c3d05[_0x47e68a(0x242)]),(0x0,_0x24f269['combineLatestWith'])(this[_0x47e68a(0x133)][_0x47e68a(0x369)]),(0x0,_0x24f269[_0x47e68a(0x201)])(0x64))[_0x47e68a(0x413)](([[_0x24b973,_0xca4ebe],_0x519f92])=>{const _0x5cf9f0=_0x47e68a;var _0x273a5c;if(!_0x24b973)return;(_0x273a5c=_0x24b973[_0x5cf9f0(0xd9)])==null||_0x273a5c['items'][_0x5cf9f0(0x332)]((_0x2c498c,_0x163c1f)=>{const _0x5ee52e=_0x5cf9f0;_0x2c498c['label']||=this[_0x5ee52e(0x133)]['t']('sheets-chart-ui.common.category')+'\x20'+(_0x163c1f+0x1);}),_0x24b973[_0x5cf9f0(0x1f9)][_0x5cf9f0(0x332)]((_0x384470,_0xc5eb52)=>{const _0x45d133=_0x5cf9f0;_0x384470['name']||=this[_0x45d133(0x133)]['t'](_0x45d133(0x39b))+'\x20'+(_0xc5eb52+0x1);});let _0x3eadfd=this[_0x5cf9f0(0x46a)][_0x5cf9f0(0x23f)](_0x1c3d05,_0x519f92),_0x31765e=this[_0x5cf9f0(0x228)][_0x5cf9f0(0x339)](_0x1c3d05['id']);this[_0x5cf9f0(0x46a)][_0x5cf9f0(0x37d)](_0x1c3d05['id'],_0x24b973,_0x3eadfd,{'animateDataUpdate':_0x31765e});})),_0x1c3d05[_0x47e68a(0x2ef)](()=>{const _0x106640=_0x47e68a;this['_pendingDataUpdateChartIds'][_0x106640(0x339)](_0x1c3d05['id']),_0x888236[_0x106640(0x151)]();});}}));}[_0xeb70cf(0x387)](){const _0x3343e4=_0xeb70cf;this[_0x3343e4(0x1e8)](this[_0x3343e4(0x460)]['onCommandExecuted'](_0x48e30d=>{const _0x60325=_0x3343e4;if(_0x48e30d['id']!==_0x5979b3['ChartUpdateConfigMutation']['id'])return;let _0x55a229=_0x48e30d[_0x60325(0x2f0)];_0x55a229!=null&&_0x55a229[_0x60325(0x166)]&&Promise[_0x60325(0x226)]()[_0x60325(0x286)](()=>this['_renderAfterChartUpdateMutation'](_0x55a229));}));}[_0xeb70cf(0x146)](_0xf7a0f4){const _0x2c2f8b=_0xeb70cf;let _0x1b0543=this[_0x2c2f8b(0x3ea)][_0x2c2f8b(0x316)](_0xf7a0f4[_0x2c2f8b(0x166)]);if(!_0x1b0543||_0x1b0543[_0x2c2f8b(0x257)]!==_0x3611d5[_0x2c2f8b(0x109)][_0x2c2f8b(0x1e7)])return;let _0x50ee40=_0x1b0543['config'];_0x50ee40?this[_0x2c2f8b(0x14b)](_0x1b0543,_0x50ee40):this[_0x2c2f8b(0x346)](_0x1b0543);}[_0xeb70cf(0x346)](_0x248838){const _0x948d9e=_0xeb70cf;if(this['_pendingMutationConfigRenders'][_0x948d9e(0x360)](_0x248838['id']))return;let _0x58ba8e=_0x248838['config$']['pipe']((0x0,_0x24f269[_0x948d9e(0x34a)])(_0x748394=>_0x748394!=null),(0x0,_0x24f269[_0x948d9e(0x216)])(0x1))['subscribe'](_0x4a7068=>{const _0x5a1c13=_0x948d9e;this[_0x5a1c13(0x202)][_0x5a1c13(0x339)](_0x248838['id']),this[_0x5a1c13(0x14b)](_0x248838,_0x4a7068);});this[_0x948d9e(0x202)][_0x948d9e(0x130)](_0x248838['id'],_0x58ba8e),_0x248838[_0x948d9e(0x2ef)](()=>{const _0x59f38e=_0x948d9e;_0x58ba8e[_0x59f38e(0x10f)](),this[_0x59f38e(0x202)]['delete'](_0x248838['id']);});}[_0xeb70cf(0x14b)](_0x43c543,_0xf4119b){const _0x4f59a6=_0xeb70cf;let _0x194363=this[_0x4f59a6(0x46a)][_0x4f59a6(0x23f)](_0x43c543,this[_0x4f59a6(0x133)][_0x4f59a6(0x392)]());this[_0x4f59a6(0x46a)][_0x4f59a6(0x37d)](_0x43c543['id'],_0xf4119b,_0x194363);}};_0x4a438d=_0x6243e3([_0x16880b(0x0,(0x0,_0x1e7325[_0xeb70cf(0x28e)])(_0x5979b3[_0xeb70cf(0x148)])),_0x16880b(0x1,(0x0,_0x1e7325[_0xeb70cf(0x28e)])(_0x114834)),_0x16880b(0x2,(0x0,_0x1e7325[_0xeb70cf(0x28e)])(_0x1e7325['LocaleService'])),_0x16880b(0x3,_0x19c057),_0x16880b(0x4,_0x1e7325[_0xeb70cf(0xd2)]),_0x16880b(0x5,(0x0,_0x1e7325['Inject'])(_0x2ef923[_0xeb70cf(0x225)]))],_0x4a438d);function _0x7df262(_0x59d061,_0x223ef9){const _0x411643=_0xeb70cf;return _0x59d061['unitId']!==_0x223ef9[_0x411643(0xfa)]||_0x59d061[_0x411643(0x331)]!==_0x223ef9[_0x411643(0x376)]?_0x59d061:{..._0x59d061,'subUnitId':_0x223ef9[_0x411643(0x422)]};}function _0x44e0f1(_0x2fe770,_0x523a77){const _0x31e727=_0xeb70cf;return(_0x2fe770==null?void 0x0:_0x2fe770[_0x31e727(0x3b3)])===_0x3611d5[_0x31e727(0x42a)][_0x31e727(0x1dd)]?{..._0x2fe770,'source':_0x7df262(_0x2fe770[_0x31e727(0x417)],_0x523a77)}:_0x2fe770;}function _0xfdf4a2(_0x5aab1a,_0x5392df){const _0x21bf13=_0xeb70cf;let {rangeInfo:_0x179919}=_0x5aab1a;return Array[_0x21bf13(0x28a)](_0x179919)?{..._0x5aab1a,'rangeInfo':_0x179919[_0x21bf13(0x1f6)](_0x2bd86e=>({..._0x2bd86e,..._0x2bd86e[_0x21bf13(0x2f6)]?{'header':_0x44e0f1(_0x2bd86e['header'],_0x5392df)}:{},'range':_0x7df262(_0x2bd86e[_0x21bf13(0x441)],_0x5392df)}))}:{..._0x5aab1a,'rangeInfo':{..._0x179919,..._0x179919[_0x21bf13(0x2f6)]?{'header':{..._0x179919[_0x21bf13(0x2f6)],..._0x179919[_0x21bf13(0x2f6)][_0x21bf13(0x462)]?{'titles':_0x208cf1(_0x179919[_0x21bf13(0x2f6)][_0x21bf13(0x462)],_0x5392df)}:{}}}:{},'rangeInfo':_0x7df262(_0x179919[_0x21bf13(0x43c)],_0x5392df)}};}function _0x208cf1(_0x3bf916,_0x47a80b){const _0x1f80c0=_0xeb70cf;return _0x3bf916[_0x1f80c0(0x3b3)]===_0x3611d5['ChartSourceHeaderTitleType'][_0x1f80c0(0x3d4)]?{..._0x3bf916,'values':{..._0x3bf916['values']}}:_0x3bf916['type']===_0x3611d5[_0x1f80c0(0x42a)][_0x1f80c0(0x112)]?{..._0x3bf916,'values':Object['fromEntries'](Object[_0x1f80c0(0x243)](_0x3bf916['values'])[_0x1f80c0(0x1f6)](([_0x529f32,_0x3fbdad])=>[_0x529f32,_0x3fbdad&&_0x7df262(_0x3fbdad,_0x47a80b)]))}:{..._0x3bf916,'values':Object[_0x1f80c0(0x2df)](Object[_0x1f80c0(0x243)](_0x3bf916[_0x1f80c0(0x1a8)])[_0x1f80c0(0x1f6)](([_0x4fa7d2,_0x59bb9a])=>[_0x4fa7d2,_0x59bb9a&&_0x44e0f1(_0x59bb9a,_0x47a80b)]))};}function _0x4fc16d(_0x5626f2,_0x3937bf,_0x18f4cd,_0x437cfb){const _0x144c04=_0xeb70cf;let _0x5e6ffe=(0x0,_0x39bdba['getOrCreateDrawingCopyPlan'])(_0x5626f2,_0x3937bf,_0x18f4cd),_0x117500=[];for(let _0x48b78c of _0x3937bf){let _0x4901ea=_0x5e6ffe[_0x144c04(0x39d)][_0x144c04(0x360)](_0x48b78c[_0x144c04(0xef)]),_0x869016=_0x437cfb(_0x48b78c);_0x4901ea&&_0x869016&&_0x117500[_0x144c04(0x15c)]({'targetChartId':_0x4901ea,'source':_0xfdf4a2(_0x869016,_0x18f4cd)});}return _0x117500;}let _0x279d6d=class extends _0x1e7325[_0xeb70cf(0x3e8)]{constructor(_0x5d6ae8,_0x460014,_0x139d25,_0x5cd795,_0x1b9c5a){const _0x2ec2d2=_0xeb70cf;super(),this['_univerInstanceService']=_0x5d6ae8,this[_0x2ec2d2(0x457)]=_0x460014,this[_0x2ec2d2(0x1e2)]=_0x139d25,this[_0x2ec2d2(0x3ea)]=_0x5cd795,this[_0x2ec2d2(0x145)]=_0x1b9c5a,this['_initSheetChange']();}['_initSheetChange'](){const _0x2f0eb5=_0xeb70cf;this[_0x2f0eb5(0x1e8)](this[_0x2f0eb5(0x457)]['interceptCommand']({'getMutations':_0x4bf538=>{const _0x23907d=_0x2f0eb5;if(_0x4bf538['id']===_0x559364[_0x23907d(0x254)]['id']){let _0x17466c=(0x0,_0x559364[_0x23907d(0x3c7)])(this[_0x23907d(0x42c)],_0x4bf538[_0x23907d(0x2f0)]);if(!_0x17466c)return{'redos':[],'undos':[]};let {unitId:_0x195107,subUnitId:_0x1ff025}=_0x17466c,_0x34142a=this[_0x23907d(0x1e2)][_0x23907d(0x180)](_0x195107,_0x1ff025),_0x578680=Object['values'](_0x34142a)[_0x23907d(0x34a)](_0x6f714a=>_0x6f714a['drawingType']===_0x1e7325[_0x23907d(0x28f)][_0x23907d(0x1c3)]);if(_0x578680['length']===0x0)return{'redos':[],'undos':[]};let _0x613a8b=[],_0x4ef4d5=[];for(let _0x30e265=0x0;_0x30e265<_0x578680['length'];_0x30e265++){let _0x5047d0=_0x578680[_0x30e265],_0x8b9297=this[_0x23907d(0x3ea)][_0x23907d(0x316)](_0x5047d0[_0x23907d(0xef)]);if(!_0x8b9297)continue;let _0x35b984=this[_0x23907d(0x145)][_0x23907d(0x310)](_0x8b9297['id']);if(!_0x35b984)continue;let {chartType:_0x3746a8,context:_0x5c44c5,style:_0x51b96e,dataAggregation:_0x3c4ea6}=_0x8b9297[_0x23907d(0x344)]();_0x613a8b[_0x23907d(0x15c)]({'id':_0x5979b3[_0x23907d(0x237)]['id'],'params':{'unitId':_0x195107,'subUnitId':_0x1ff025,'chartId':_0x5047d0[_0x23907d(0xef)]}}),_0x4ef4d5[_0x23907d(0x15c)]({'id':_0x5979b3[_0x23907d(0x45b)]['id'],'params':{'unitId':_0x195107,'subUnitId':_0x1ff025,'chartId':_0x5047d0[_0x23907d(0xef)],'chartType':_0x3746a8,...(0x0,_0x5979b3['toInsertChartMutationSource'])(_0x35b984),'context':_0x5c44c5,'style':_0x51b96e,'dataAggregation':_0x3c4ea6}});}return{'redos':_0x613a8b,'undos':_0x4ef4d5};}if(_0x4bf538['id']===_0x559364[_0x23907d(0x400)]['id']){let {unitId:_0x3de63d,subUnitId:_0xac66ac,targetSubUnitId:_0x268d17,copyContext:_0x53dd81}=_0x4bf538[_0x23907d(0x2f0)];if(!_0x3de63d||!_0xac66ac||!_0x268d17)return{'redos':[],'undos':[]};let _0x148df5=this[_0x23907d(0x1e2)][_0x23907d(0x180)](_0x3de63d,_0xac66ac),_0x1f7f72=Object[_0x23907d(0x1a8)](_0x148df5)[_0x23907d(0x34a)](_0x1523cd=>_0x1523cd[_0x23907d(0x209)]===_0x1e7325[_0x23907d(0x28f)][_0x23907d(0x1c3)]);if(_0x1f7f72[_0x23907d(0x2d4)]===0x0)return{'redos':[],'undos':[]};let _0x4e6a83=_0x4fc16d(_0x53dd81,_0x1f7f72,{'unitId':_0x3de63d,'sourceSubUnitId':_0xac66ac,'targetSubUnitId':_0x268d17},_0x235ec9=>{const _0x214f1a=_0x23907d;let _0x3c8de1=this['_chartModelService'][_0x214f1a(0x316)](_0x235ec9[_0x214f1a(0xef)]);if(!_0x3c8de1)return;let _0x48d504=this[_0x214f1a(0x145)][_0x214f1a(0x310)](_0x3c8de1['id']);if(!_0x48d504)return;let {chartType:_0x4de3d3,context:_0xbe4b7f,style:_0x176187,dataAggregation:_0x193285}=_0x3c8de1[_0x214f1a(0x344)]();return{'rangeInfo':_0x48d504,'chartType':_0x4de3d3,'context':_0xbe4b7f,'style':_0x176187,'dataAggregation':_0x193285};}),_0x20bbdc=[],_0x2e97ac=[];for(let {targetChartId:_0x394e04,source:_0x1d1225}of _0x4e6a83){let {rangeInfo:_0x10eb70,chartType:_0x3f5c45,context:_0x3f57b7,style:_0x2ffcbd,dataAggregation:_0x159053}=_0x1d1225;_0x20bbdc['push']({'id':_0x5979b3['InsertSheetsChartMutation']['id'],'params':{'unitId':_0x3de63d,'subUnitId':_0x268d17,'chartId':_0x394e04,'chartType':_0x3f5c45,...(0x0,_0x5979b3[_0x23907d(0x2a4)])(_0x10eb70),'context':_0x3f57b7,'style':_0x2ffcbd,'dataAggregation':_0x159053}}),_0x2e97ac[_0x23907d(0x15c)]({'id':_0x5979b3[_0x23907d(0x237)]['id'],'params':{'unitId':_0x3de63d,'subUnitId':_0x268d17,'chartId':_0x394e04}});}return{'redos':_0x20bbdc,'undos':_0x2e97ac};}return{'redos':[],'undos':[]};}}));}};_0x279d6d=_0x6243e3([_0x16880b(0x0,(0x0,_0x1e7325[_0xeb70cf(0x28e)])(_0x1e7325['IUniverInstanceService'])),_0x16880b(0x1,(0x0,_0x1e7325[_0xeb70cf(0x28e)])(_0x559364[_0xeb70cf(0xfb)])),_0x16880b(0x2,(0x0,_0x1e7325[_0xeb70cf(0x28e)])(_0x4dac75[_0xeb70cf(0x45a)])),_0x16880b(0x3,(0x0,_0x1e7325[_0xeb70cf(0x28e)])(_0x5979b3['ChartModelService'])),_0x16880b(0x4,(0x0,_0x1e7325[_0xeb70cf(0x28e)])(_0x5979b3[_0xeb70cf(0x258)]))],_0x279d6d);let _0x1ffaa6=_0x1d8010=>_0x1d8010[_0xeb70cf(0x428)](_0x1e7325[_0xeb70cf(0x3b8)][_0xeb70cf(0x41f)])['getUnitId'](),_0x578228=_0x5daae2=>{const _0x4b5e5f=_0xeb70cf;var _0x6c111f;return(_0x6c111f=_0x5daae2['getCurrentUnitOfType'](_0x1e7325[_0x4b5e5f(0x3b8)][_0x4b5e5f(0x41f)])[_0x4b5e5f(0x25e)]())==null?void 0x0:_0x6c111f[_0x4b5e5f(0x473)]();};function _0x3a6035(){const _0x1063ae=_0xeb70cf;var _0x3ab7c6;let _0x1ea2cb=(0x0,_0xced9f3[_0x1063ae(0x3e2)])(_0x19c057),_0x5aaaf7=(0x0,_0xced9f3[_0x1063ae(0x3e2)])(_0x5979b3[_0x1063ae(0x148)]),_0x46d360=(0x0,_0xced9f3[_0x1063ae(0x3e2)])(_0x5979b3[_0x1063ae(0x258)]),_0x319d88=(0x0,_0xced9f3[_0x1063ae(0x3e2)])(_0x1e7325[_0x1063ae(0x404)]),_0x1c5ffe=(0x0,_0xced9f3[_0x1063ae(0x3e2)])(_0x1e7325[_0x1063ae(0x459)]),_0x1a6adb=(0x0,_0x5979b3[_0x1063ae(0x12b)])(_0x1c5ffe),_0xc1b95c=(0x0,_0x5de930[_0x1063ae(0x2d7)])(()=>{const _0x5acac9=_0x1063ae;let _0x418d7f=_0x51c8a3(_0x14f1e3[_0x5acac9(0x434)](),_0x1a6adb);return(0x0,_0x339b6e[_0x5acac9(0x1f5)])(_0x418d7f[_0x5acac9(0x1f6)](_0x4bfcbd=>({'id':_0x4bfcbd['id'],'label':_0x319d88['t'](_0x5acac9(0x409)+_0x4bfcbd[_0x5acac9(0x260)]),'pieSecondaryPlotType':_0x4bfcbd[_0x5acac9(0x186)],'value':_0x4bfcbd[_0x5acac9(0x375)]})));},[_0x1a6adb,_0x319d88]),_0x3fe1b2=(0x0,_0xced9f3[_0x1063ae(0x174)])(_0x5aaaf7[_0x1063ae(0x280)],_0x5aaaf7[_0x1063ae(0xea)]),_0x2d7b0f=_0x3fe1b2?_0x46d360[_0x1063ae(0x472)](_0x3fe1b2['id']):void 0x0,_0x16b386=(0x0,_0xced9f3[_0x1063ae(0x174)])(_0x2d7b0f==null?void 0x0:_0x2d7b0f['rangeInfo$'],_0x2d7b0f==null?void 0x0:_0x2d7b0f[_0x1063ae(0x485)]()),_0x1d84e5=Array[_0x1063ae(0x28a)](_0x16b386),_0x29dd99=_0x16b386&&!_0x1d84e5&&_0x16b386[_0x1063ae(0x2f9)]?_0x3611d5[_0x1063ae(0x4a5)][_0x1063ae(0xf3)]:_0x3611d5[_0x1063ae(0x4a5)][_0x1063ae(0x368)],_0xbefce4=_0x1d84e5?(_0x3ab7c6=_0x16b386[0x0])==null?void 0x0:_0x3ab7c6['range']:_0x16b386==null?void 0x0:_0x16b386['rangeInfo'];return(0x0,_0x424e81[_0x1063ae(0x25c)])(_0x1063ae(0x44a),{'className':_0x1063ae(0x31c),'children':(0x0,_0x424e81[_0x1063ae(0x25c)])(_0x339b6e[_0x1063ae(0xed)],{'chartTypeOptions':_0xc1b95c,'dataSourceControl':(0x0,_0x424e81[_0x1063ae(0x25c)])(_0x2a5920,{'dataRange':_0x16b386,'primaryRange':_0xbefce4}),'categoryToggleLabel':_0x319d88['t']('sheets-chart-ui.common.useAsCategoryLabels',_0x29dd99===_0x3611d5['DataOrientation'][_0x1063ae(0xf3)]?_0x29dd99+'\x20'+(((_0xbefce4==null?void 0x0:_0xbefce4['range'][_0x1063ae(0x3f3)])??0x0)+0x1):_0x29dd99+'\x20'+(0x0,_0x1e7325[_0x1063ae(0x177)])((_0xbefce4==null?void 0x0:_0xbefce4['range']['startColumn'])??0x0)),'orientationControl':_0x1d84e5?void 0x0:(0x0,_0x424e81[_0x1063ae(0x25c)])(_0x15e416[_0x1063ae(0x1f4)],{'size':_0x1063ae(0x3cc),'onClick':()=>_0x1ea2cb[_0x1063ae(0xff)](_0x29dd99===_0x3611d5[_0x1063ae(0x4a5)]['Row']?_0x3611d5['DataOrientation']['Column']:_0x3611d5[_0x1063ae(0x4a5)]['Row']),'children':_0x319d88['t']('sheets-chart-ui.common.switchRowColumn')})})});}function _0x2a5920(_0xc94835){const _0x557878=_0xeb70cf;let {dataRange:_0x3e5a81,primaryRange:_0x9f8966}=_0xc94835,_0x320faa=(0x0,_0xced9f3[_0x557878(0x3e2)])(_0x19c057),_0x7e6883=(0x0,_0xced9f3[_0x557878(0x3e2)])(_0x1e7325[_0x557878(0x404)]),_0x155318=(0x0,_0xced9f3[_0x557878(0x3e2)])(_0x1e7325[_0x557878(0x106)]),[_0x468a71,_0x3eb1a2]=(0x0,_0x5de930[_0x557878(0x125)])(!0x1),[_0x1b4b23,_0x5494ab]=(0x0,_0x5de930['useState'])(!0x1),_0x35259f=_0x1ffaa6(_0x155318),_0x47f5d6=_0x578228(_0x155318);(0x0,_0x5de930[_0x557878(0x1ce)])(()=>{const _0x583b55=_0x557878;_0x320faa[_0x583b55(0x21f)](_0x468a71);},[_0x468a71,_0x320faa]);let _0x4024c4=(0x0,_0x5de930[_0x557878(0x2d7)])(()=>(0x0,_0x1e7325[_0x557878(0x320)])(async _0x2376d6=>{const _0x5d170d=_0x557878;var _0x3b6ba0;if(_0x39337f(_0x3e5a81,_0x155318)===_0x2376d6)return;let _0x2748c9=_0x2376d6[_0x5d170d(0x36b)](',')[_0x5d170d(0x34a)](Boolean)['map'](_0x1ee0b1[_0x5d170d(0x291)])[0x0];if(!_0x2748c9)return;let {unitId:_0x5d7bc6,sheetName:_0x477fdf,range:_0x2c6464}=_0x2748c9,_0x4263c3=_0x5d7bc6||_0x35259f,_0x156549=((_0x3b6ba0=_0x155318[_0x5d170d(0x1b8)](_0x4263c3)[_0x5d170d(0xe1)](_0x477fdf))==null?void 0x0:_0x3b6ba0[_0x5d170d(0x473)]())||(_0x9f8966==null?void 0x0:_0x9f8966[_0x5d170d(0x331)])||_0x47f5d6;_0x156549&&_0x320faa[_0x5d170d(0x191)]({'rangeInfo':{'range':_0x2c6464,'unitId':_0x4263c3,'subUnitId':_0x156549}});},0x12c,{'leading':!0x1,'maxWait':0x3e8,'trailing':!0x0}),[_0x3e5a81,_0x9f8966,_0x320faa,_0x47f5d6,_0x35259f,_0x155318]);return(0x0,_0x5de930[_0x557878(0x1ce)])(()=>()=>_0x4024c4[_0x557878(0x30e)](),[_0x4024c4]),(0x0,_0x424e81[_0x557878(0x25c)])(_0x557878(0x44a),{'className':_0x557878(0x1a6),'children':(0x0,_0x424e81['jsxs'])(_0x557878(0x44a),{'children':[(0x0,_0x424e81[_0x557878(0x25c)])(_0x339b6e['ChartEditBlockTitle'],{'title':_0x7e6883['t'](_0x557878(0x1a7))}),(0x0,_0x424e81[_0x557878(0x25c)])(_0x2aadda['MobileRangeSelector'],{'supportAcrossSheet':!0x0,'keepSheetReference':!0x0,'maxRangeCount':0x1,'unitId':_0x35259f,'subUnitId':_0x47f5d6,'initialValue':_0x3e5a81?_0x39337f(_0x3e5a81,_0x155318):'','onChange':(_0x259e8a,_0x337566)=>_0x4024c4(_0x337566),'onFocusChange':_0x5ab670=>{_0x1b4b23||_0x3eb1a2(_0x5ab670);},'onRangeSelectorDialogVisibleChange':_0x13f1d8=>{_0x5494ab(_0x13f1d8),_0x3eb1a2(_0x13f1d8);}})]})});}function _0x21d10e(){const _0x2cc557=_0xeb70cf;let [_0x577019,_0x2a243b]=(0x0,_0x5de930[_0x2cc557(0x125)])(_0x339b6e['ChartEditPanelTab'][_0x2cc557(0x11f)]),_0x4b1040=(0x0,_0xced9f3[_0x2cc557(0x3e2)])(_0x1e7325['Injector']),_0x52e006=(0x0,_0xced9f3[_0x2cc557(0x3e2)])(_0x1e7325[_0x2cc557(0x404)]),_0x84998c=(0x0,_0xced9f3[_0x2cc557(0x3e2)])(_0x19c057),_0x463cd0=(0x0,_0xced9f3['useDependency'])(_0x5979b3[_0x2cc557(0x148)]),_0x2899a1=(0x0,_0xced9f3[_0x2cc557(0x3e2)])(_0x5979b3['SheetsChartService']),_0x3865c8=(0x0,_0xced9f3['useObservable'])(_0x463cd0['activeChartModel$'],_0x463cd0[_0x2cc557(0xea)]),_0x132e9a=(0x0,_0xced9f3[_0x2cc557(0x174)])(_0x84998c[_0x2cc557(0x1fb)],null),_0x26df1c=(0x0,_0x5de930[_0x2cc557(0x2d7)])(()=>{const _0x2626eb=_0x2cc557;var _0x4fa549;if(!_0x3865c8)return null;let _0xb23280=_0x2899a1[_0x2626eb(0x310)](_0x3865c8['id']);if(!_0xb23280)return null;let _0x5baadd=Array[_0x2626eb(0x28a)](_0xb23280)?(_0x4fa549=_0xb23280[0x0])==null?void 0x0:_0x4fa549['range']:_0xb23280[_0x2626eb(0x43c)];return _0x5baadd?new _0x339b6e['ChartHostAdapter'](_0x3865c8,new _0x5979b3[(_0x2626eb(0x3b7))]({'unitId':_0x5baadd[_0x2626eb(0xfa)],'subUnitId':_0x5baadd[_0x2626eb(0x331)],'chartId':_0x3865c8['id'],'injector':_0x4b1040})):null;},[_0x3865c8,_0x4b1040,_0x2899a1]);if((0x0,_0x5de930[_0x2cc557(0x1ce)])(()=>{const _0x322ec8=_0x2cc557;var _0x5a1c7d,_0x49efc1;_0x3865c8&&(_0x132e9a==null?void 0x0:_0x132e9a['chartId'])===_0x3865c8['id']&&(((_0x5a1c7d=_0x132e9a['route'])==null?void 0x0:_0x5a1c7d[_0x322ec8(0x294)])===_0x339b6e[_0x322ec8(0x3b9)][_0x322ec8(0x41a)]&&_0x2a243b(_0x339b6e[_0x322ec8(0x3b9)][_0x322ec8(0x41a)]),((_0x49efc1=_0x132e9a[_0x322ec8(0x2fd)])==null?void 0x0:_0x49efc1[_0x322ec8(0x294)])===_0x339b6e[_0x322ec8(0x3b9)][_0x322ec8(0x11f)]&&_0x2a243b(_0x339b6e[_0x322ec8(0x3b9)][_0x322ec8(0x11f)]));},[_0x3865c8,_0x132e9a]),!_0x26df1c)return null;let _0x561eca=(0x0,_0x424e81[_0x2cc557(0x25c)])(_0x2cc557(0x44a),{'className':_0x2cc557(0x3b0),'children':(0x0,_0x424e81[_0x2cc557(0x25c)])(_0x339b6e[_0x2cc557(0x3cb)],{'ariaLabel':_0x52e006['t'](_0x2cc557(0x249)),'activeTab':_0x577019,'onTabChange':_0x2a243b,'tabListClassName':'univer-sticky\x20-univer-top-3\x20univer-z-10\x20-univer-mx-4\x20-univer-mt-3\x20univer-shrink-0\x20univer-bg-gray-0\x20univer-px-4\x20univer-pt-3\x20dark:!univer-bg-gray-900','panelClassName':_0x577019===_0x339b6e[_0x2cc557(0x3b9)][_0x2cc557(0x41a)]?_0x2cc557(0x470):'univer-overflow-visible','tabs':[{'id':_0x339b6e[_0x2cc557(0x3b9)][_0x2cc557(0x11f)],'panelId':_0x2cc557(0x46c),'title':_0x52e006['t'](_0x2cc557(0x453)),'content':(0x0,_0x424e81[_0x2cc557(0x25c)])(_0x3a6035,{})},{'id':_0x339b6e[_0x2cc557(0x3b9)][_0x2cc557(0x41a)],'panelId':'mobile-sheet-chart-style-panel','title':_0x52e006['t']('sheets-chart-ui.common.customize'),'content':(0x0,_0x424e81[_0x2cc557(0x25c)])(_0x128705,{'defaultValues':_0x434889})}]})});return(0x0,_0x424e81[_0x2cc557(0x25c)])(_0x339b6e[_0x2cc557(0x3e3)],{'chartUIService':_0x84998c,'hostAdapter':_0x26df1c,'children':_0x561eca});}let _0x4b3a56=class extends _0x1e7325[_0xeb70cf(0x3e8)]{constructor(_0x3f8deb){const _0x44858e=_0xeb70cf;super(),this[_0x44858e(0x1e8)](_0x3f8deb[_0x44858e(0x31e)](_0x47b009,_0x21d10e));}};_0x4b3a56=_0x6243e3([_0x16880b(0x0,(0x0,_0x1e7325[_0xeb70cf(0x28e)])(_0xced9f3[_0xeb70cf(0x290)]))],_0x4b3a56);let _0x7054d1=class extends _0x1e7325[_0xeb70cf(0x3e8)]{constructor(_0x5a240a,_0x12d1af,_0x277fcf,_0x1a73c3,_0x293f12,_0x3e5023,_0x54565b,_0x4c844c,_0x2ad002){const _0x1c22d2=_0xeb70cf;super(),this[_0x1c22d2(0x3f7)]=_0x5a240a,this[_0x1c22d2(0x3ea)]=_0x12d1af,this[_0x1c22d2(0x45f)]=_0x277fcf,this['_menuManagerService']=_0x1a73c3,this[_0x1c22d2(0x451)]=_0x293f12,this[_0x1c22d2(0x460)]=_0x3e5023,this[_0x1c22d2(0x1db)]=_0x54565b,this[_0x1c22d2(0x337)]=_0x4c844c,this[_0x1c22d2(0x133)]=_0x2ad002,_0x1b6fbd(this,_0x1c22d2(0x21a),null),_0x1b6fbd(this,'_panelInitialized',!0x1),this['_initMenus']();}[_0xeb70cf(0x151)](){const _0x18ab22=_0xeb70cf;this[_0x18ab22(0x406)](),super[_0x18ab22(0x151)]();}[_0xeb70cf(0x1d1)](){const _0x17b620=_0xeb70cf;this[_0x17b620(0x295)]||(this[_0x17b620(0x295)]=!0x0,this['disposeWithMe'](this['_commandService']['onCommandExecuted'](_0x168d45=>{const _0x22dc6a=_0x17b620;if(_0x168d45['id']!==_0x48776c['id'])return;let _0xd56021=_0x168d45['params'];this[_0x22dc6a(0x182)](_0xd56021['drawingId'],_0xd56021['route']);})));}['openChartPanelById'](_0x30bdef,_0x303966){const _0x13b86a=_0xeb70cf;let _0x141b39=this['_chartModelService'][_0x13b86a(0x316)](_0x30bdef);_0x141b39&&(this[_0x13b86a(0x3ea)][_0x13b86a(0x128)](_0x141b39),this[_0x13b86a(0x3b5)](),this[_0x13b86a(0x1db)][_0x13b86a(0x399)](!0x0),this[_0x13b86a(0x1db)][_0x13b86a(0x1ef)](_0x30bdef,_0x303966??null));}[_0xeb70cf(0x406)](){const _0x3cda13=_0xeb70cf;let _0x534bf4=this[_0x3cda13(0x21a)];this[_0x3cda13(0x21a)]=null,this[_0x3cda13(0x34b)](),_0x534bf4==null||_0x534bf4[_0x3cda13(0x151)]();}[_0xeb70cf(0x184)](){const _0x5bf31d=_0xeb70cf;this[_0x5bf31d(0x402)][_0x5bf31d(0x1a0)]({[_0xced9f3[_0x5bf31d(0x1b3)][_0x5bf31d(0x21c)]]:{[_0x5cbb78['id']]:{'order':0x4,'menuItemFactory':_0x252a91}}}),this[_0x5bf31d(0x451)][_0x5bf31d(0x38c)](_0x1e7325[_0x5bf31d(0x28f)][_0x5bf31d(0x1c3)],(_0x12a322,_0xf87317,_0x314e7d,_0x4a7590)=>[{'label':this[_0x5bf31d(0x133)]['t'](_0x5bf31d(0x249)),'index':0x0,'commandId':_0x48776c['id'],'commandParams':{'unitId':_0x12a322,'subUnitId':_0xf87317,'drawingId':_0x314e7d},'disable':_0x4a7590!==_0x1e7325[_0x5bf31d(0x28f)][_0x5bf31d(0x1c3)]},{'label':this[_0x5bf31d(0x133)]['t'](_0x5bf31d(0x11d)),'index':0x1,'commandId':_0x4dac75[_0x5bf31d(0x3ff)]['id'],'commandParams':{'unitId':_0x12a322,'drawings':[{'unitId':_0x12a322,'subUnitId':_0xf87317,'drawingId':_0x314e7d,'drawingType':_0x4a7590}]},'disable':!0x1}],'sheets-chart-ui.common.chart');}[_0xeb70cf(0x3b5)](){const _0x14314d=_0xeb70cf;this[_0x14314d(0x21a)]=this[_0x14314d(0x45f)][_0x14314d(0x23c)]({'id':_0x47b009,'header':{'title':this[_0x14314d(0x133)]['t'](_0x14314d(0x249))},'children':{'label':_0x47b009},'onClose':()=>{const _0x49107c=_0x14314d;this['_sidebarDisposable']=null,this[_0x49107c(0x34b)]();}});}['_clearPanelState'](){const _0x519a2b=_0xeb70cf;this[_0x519a2b(0x1db)]['setChartEditorOpen'](!0x1),this[_0x519a2b(0x1db)][_0x519a2b(0x26f)](),this['_chartModelService']['activeChartModel']&&this[_0x519a2b(0x3ea)][_0x519a2b(0x128)](null),this[_0x519a2b(0x3f7)]['focusDrawing'](null),this[_0x519a2b(0x337)][_0x519a2b(0x489)](_0x1e7325[_0x519a2b(0xec)],!0x1);}};_0x7054d1=_0x6243e3([_0x16880b(0x0,_0x39bdba['IDrawingManagerService']),_0x16880b(0x1,(0x0,_0x1e7325[_0xeb70cf(0x28e)])(_0x5979b3[_0xeb70cf(0x148)])),_0x16880b(0x2,(0x0,_0x1e7325[_0xeb70cf(0x28e)])(_0xced9f3[_0xeb70cf(0x3dc)])),_0x16880b(0x3,_0xced9f3[_0xeb70cf(0x329)]),_0x16880b(0x4,(0x0,_0x1e7325[_0xeb70cf(0x28e)])(_0x2ef923[_0xeb70cf(0x165)])),_0x16880b(0x5,_0x1e7325[_0xeb70cf(0xd2)]),_0x16880b(0x6,_0x19c057),_0x16880b(0x7,_0x1e7325[_0xeb70cf(0x203)]),_0x16880b(0x8,(0x0,_0x1e7325[_0xeb70cf(0x28e)])(_0x1e7325[_0xeb70cf(0x404)]))],_0x7054d1);let _0x355040=class extends _0x1e7325['Disposable']{constructor(_0x19697a,_0x36abb2,_0x58d4aa,_0x23ba17,_0xe91132){const _0x6af6f5=_0xeb70cf;super(),this[_0x6af6f5(0x265)]=_0x19697a,this[_0x6af6f5(0x3e4)]=_0x36abb2,this[_0x6af6f5(0x1e2)]=_0x58d4aa,this[_0x6af6f5(0x3ea)]=_0x23ba17,this['_sheetsChartService']=_0xe91132,_0x1b6fbd(this,_0x6af6f5(0x16a),void 0x0),this['_initCopyPaste']();}get[_0xeb70cf(0x162)](){const _0x13d107=_0xeb70cf;return this[_0x13d107(0x1e2)]['getFocusDrawings']();}[_0xeb70cf(0x47d)](){const _0x21465c=_0xeb70cf;this['disposeWithMe'](this[_0x21465c(0x3e4)]['addClipboardHook']({'id':_0x5979b3['SHEETS_CHART_PLUGIN_NAME'],'onBeforeCopyFocusedObject':(_0xddf1eb,_0x42f80a,_0x2b1d33)=>{const _0x3e1943=_0x21465c;this['_copyInfo']=null;let _0x4030ce=this[_0x3e1943(0x162)][_0x3e1943(0x34a)](_0x1b3717=>this[_0x3e1943(0x183)](_0x1b3717));return _0x4030ce['length']!==0x0&&(this[_0x3e1943(0x16a)]={'unitId':_0xddf1eb,'subUnitId':_0x42f80a,'copyType':_0x2b1d33,'drawings':_0x4030ce},!0x0);},'onBeforeCopy':(_0x27497f,_0x3a4478,_0x365de7,_0x25ece5)=>{const _0x5ec59a=_0x21465c;this[_0x5ec59a(0x16a)]=null,this[_0x5ec59a(0x33d)](_0x27497f,_0x3a4478,_0x365de7,_0x25ece5);},'onPasteCells':(_0x3ac623,_0x412bc4,_0x2075ca,_0x28b5b3)=>{const _0x2e7084=_0x21465c;if(!_0x28b5b3['copyId']||!_0x3ac623||!this[_0x2e7084(0x16a)])return{'redos':[],'undos':[]};let {pasteType:_0x512c86}=_0x28b5b3;return _0x512c86===_0x2ef923[_0x2e7084(0x352)][_0x2e7084(0x19d)]?this[_0x2e7084(0x431)](_0x412bc4,this['_copyInfo'][_0x2e7084(0x312)]===_0x2ef923[_0x2e7084(0x471)]['CUT']):{'redos':[],'undos':[]};}}));}[_0xeb70cf(0x33d)](_0x26baff,_0x43bae4,_0x1357c8,_0x3a0ca6){const _0x150689=_0xeb70cf;let _0x453090=this[_0x150689(0x265)]['getSkeleton'](_0x26baff,_0x43bae4);if(!_0x453090)return;let _0x84f374=(0x0,_0x559364[_0x150689(0x1b4)])(_0x453090,_0x1357c8);if(!_0x84f374)return;let {startX:_0x4ceab2,endX:_0xe2f494,startY:_0x1f5467,endY:_0x74e2aa}=_0x84f374,_0x326ce2=this['_sheetDrawingService'][_0x150689(0x180)](_0x26baff,_0x43bae4),_0x1e6c0e=[];for(let [_0x2ed996,_0x47698e]of Object[_0x150689(0x243)](_0x326ce2)){if(!this[_0x150689(0x183)](_0x47698e))continue;let {transform:_0x49a110}=_0x47698e;if(!_0x49a110)continue;let {left:_0x453f07=0x0,top:_0x4cb0c3=0x0,width:_0x21a5af=0x0,height:_0x2c0362=0x0}=_0x49a110;_0x4ceab2<=_0x453f07&&_0xe2f494>=_0x453f07+_0x21a5af&&_0x1f5467<=_0x4cb0c3&&_0x74e2aa>=_0x4cb0c3+_0x2c0362&&_0x1e6c0e[_0x150689(0x15c)](_0x47698e);}_0x1e6c0e[_0x150689(0x2d4)]>0x0&&(this['_copyInfo']={'unitId':_0x26baff,'subUnitId':_0x43bae4,'copyType':_0x3a0ca6,'copyRange':_0x1357c8,'drawings':_0x1e6c0e});}[_0xeb70cf(0x183)](_0xe9e8ce){const _0x509b55=_0xeb70cf;return _0xe9e8ce[_0x509b55(0x209)]===_0x1e7325[_0x509b55(0x28f)][_0x509b55(0x1c3)]&&this[_0x509b55(0x145)][_0x509b55(0x2c5)](_0xe9e8ce[_0x509b55(0xfa)],_0xe9e8ce[_0x509b55(0xef)])===_0xe9e8ce['subUnitId'];}[_0xeb70cf(0x431)](_0xfb6b4f,_0x204b5e){const _0x4895be=_0xeb70cf;let {unitId:_0xde48b5,subUnitId:_0x79d433,range:_0x3006f7}=_0xfb6b4f,_0x305873=this[_0x4895be(0x265)][_0x4895be(0x287)](_0xde48b5,_0x79d433);if(!_0x305873)return{'redos':[],'undos':[]};let _0x2e31f3=(0x0,_0x559364['discreteRangeToRange'])(_0x3006f7),{unitId:_0x2fd38d,subUnitId:_0x162510,copyRange:_0x47b0d6,drawings:_0x1ce546}=this[_0x4895be(0x16a)],_0x1c03f7=this['_sheetSkeletonService'][_0x4895be(0x287)](_0x2fd38d,_0x162510);if(!_0x1c03f7)return{'redos':[],'undos':[]};let _0x3eeb38=[],_0x2ad96f=[];for(let _0xfb4b79 of _0x1ce546){let {drawingId:_0x2d5039,transform:_0x33a66a,sheetTransform:_0x55b407}=_0xfb4b79,_0x2bab9e=this[_0x4895be(0x3ea)]['getChartModel'](_0x2d5039);if(!_0x2bab9e||!_0x33a66a||!_0x55b407)continue;let _0x438fe0=this[_0x4895be(0x2a7)]({'transform':_0x33a66a,'sheetTransform':_0x55b407},{'skeleton':_0x1c03f7,'range':_0x47b0d6},{'skeleton':_0x305873,'range':_0x2e31f3});if(_0x204b5e){let {redos:_0x15ba8f,undos:_0x266c5c}=this[_0x4895be(0x1eb)]({'fromUnitId':_0x2fd38d,'fromSubUnitId':_0x162510,'toUnitId':_0xde48b5,'toSubUnitId':_0x79d433,'drawing':_0xfb4b79,'newTransforms':_0x438fe0},_0x2bab9e);_0x3eeb38['push'](..._0x15ba8f),_0x2ad96f['push'](..._0x266c5c);continue;}let {redos:_0x33c1aa,undos:_0x1af813}=this[_0x4895be(0x3ad)]({'toUnitId':_0xde48b5,'toSubUnitId':_0x79d433,'drawing':_0xfb4b79,'newTransforms':_0x438fe0},_0x2bab9e);_0x3eeb38[_0x4895be(0x15c)](..._0x33c1aa),_0x2ad96f[_0x4895be(0x15c)](..._0x1af813);}return{'redos':_0x3eeb38,'undos':_0x2ad96f};}[_0xeb70cf(0x1eb)](_0x2db6ad,_0x34f636){const _0x1ad1ef=_0xeb70cf;let {fromUnitId:_0x167249,fromSubUnitId:_0x141dc0,toUnitId:_0x7b9ee7,toSubUnitId:_0x3431c4,drawing:_0x4dfb5c,newTransforms:_0x59865c}=_0x2db6ad,_0x125517={..._0x4dfb5c,'unitId':_0x7b9ee7,'subUnitId':_0x3431c4,'transform':_0x59865c['transform'],'sheetTransform':_0x59865c['sheetTransform']};if(_0x7b9ee7===_0x167249&&_0x3431c4===_0x141dc0){let {redo:_0x530139,undo:_0x4a3201,objects:_0x4165c8}=this[_0x1ad1ef(0x1e2)][_0x1ad1ef(0x30b)]([_0x125517]);return{'redos':[{'id':_0x4dac75['SetDrawingApplyMutation']['id'],'params':{'unitId':_0x7b9ee7,'subUnitId':_0x3431c4,'type':_0x4dac75['DrawingApplyType'][_0x1ad1ef(0x458)],'op':_0x530139,'objects':_0x4165c8}}],'undos':[{'id':_0x4dac75['SetDrawingApplyMutation']['id'],'params':{'unitId':_0x7b9ee7,'subUnitId':_0x3431c4,'type':_0x4dac75['DrawingApplyType'][_0x1ad1ef(0x458)],'op':_0x4a3201,'objects':_0x4165c8}}]};}{let _0x1483f8=this[_0x1ad1ef(0x1e2)][_0x1ad1ef(0x23a)]([_0x4dfb5c]),_0x7e8a05=this[_0x1ad1ef(0x1e2)][_0x1ad1ef(0x4ab)]([_0x125517]),_0x76a40=this[_0x1ad1ef(0x145)][_0x1ad1ef(0x310)](_0x34f636['id']);if(!_0x76a40)return{'redos':[],'undos':[]};let {chartType:_0x91b28f,context:_0x37ba26,style:_0x453194,dataAggregation:_0x52438c}=_0x34f636[_0x1ad1ef(0x344)]();return{'redos':[{'id':_0x4dac75[_0x1ad1ef(0x491)]['id'],'params':{'unitId':_0x167249,'subUnitId':_0x141dc0,'type':_0x4dac75[_0x1ad1ef(0x230)][_0x1ad1ef(0x4a4)],'op':_0x1483f8['redo'],'objects':_0x1483f8[_0x1ad1ef(0x4a7)]}},{'id':_0x5979b3[_0x1ad1ef(0x237)]['id'],'params':{'unitId':_0x167249,'subUnitId':_0x141dc0,'chartId':_0x4dfb5c['drawingId']}},{'id':_0x4dac75[_0x1ad1ef(0x491)]['id'],'params':{'unitId':_0x7b9ee7,'subUnitId':_0x3431c4,'type':_0x4dac75[_0x1ad1ef(0x230)][_0x1ad1ef(0x29f)],'op':_0x7e8a05[_0x1ad1ef(0x356)],'objects':_0x7e8a05['objects']}},{'id':_0x5979b3[_0x1ad1ef(0x45b)]['id'],'params':{'unitId':_0x7b9ee7,'subUnitId':_0x3431c4,'chartId':_0x4dfb5c[_0x1ad1ef(0xef)],'chartType':_0x91b28f,...(0x0,_0x5979b3['toInsertChartMutationSource'])(_0x76a40),'context':_0x37ba26,'style':_0x453194,'dataAggregation':_0x52438c}}],'undos':[{'id':_0x4dac75[_0x1ad1ef(0x491)]['id'],'params':{'unitId':_0x167249,'subUnitId':_0x141dc0,'type':_0x4dac75[_0x1ad1ef(0x230)][_0x1ad1ef(0x29f)],'op':_0x1483f8[_0x1ad1ef(0x111)],'objects':_0x1483f8['objects']}},{'id':_0x5979b3[_0x1ad1ef(0x45b)]['id'],'params':{'unitId':_0x167249,'subUnitId':_0x141dc0,'chartId':_0x4dfb5c[_0x1ad1ef(0xef)],'chartType':_0x91b28f,...(0x0,_0x5979b3['toInsertChartMutationSource'])(_0x76a40),'context':_0x37ba26,'style':_0x453194,'dataAggregation':_0x52438c}},{'id':_0x4dac75[_0x1ad1ef(0x491)]['id'],'params':{'unitId':_0x7b9ee7,'subUnitId':_0x3431c4,'type':_0x4dac75[_0x1ad1ef(0x230)][_0x1ad1ef(0x4a4)],'op':_0x7e8a05[_0x1ad1ef(0x111)],'objects':_0x7e8a05[_0x1ad1ef(0x4a7)]}},{'id':_0x5979b3[_0x1ad1ef(0x237)]['id'],'params':{'unitId':_0x7b9ee7,'subUnitId':_0x3431c4,'chartId':_0x4dfb5c[_0x1ad1ef(0xef)]}}]};}}[_0xeb70cf(0x3ad)](_0x39680d,_0x334709){const _0x5def25=_0xeb70cf;let {toUnitId:_0x497be8,toSubUnitId:_0x328414,drawing:_0x2c0bf1,newTransforms:_0x316962}=_0x39680d,_0x5c03dd=(0x0,_0x1e7325['generateRandomId'])(),_0x56b2c0={..._0x2c0bf1,'unitId':_0x497be8,'subUnitId':_0x328414,'drawingId':_0x5c03dd,'transform':_0x316962[_0x5def25(0x401)],'sheetTransform':_0x316962[_0x5def25(0x39f)]},{redo:_0x2de63a,undo:_0x39e963,objects:_0x5bba4c}=this[_0x5def25(0x1e2)][_0x5def25(0x4ab)]([_0x56b2c0]),_0xed78c5=this[_0x5def25(0x145)][_0x5def25(0x310)](_0x334709['id']);if(!_0xed78c5)return{'redos':[],'undos':[]};let {chartType:_0x16003a,context:_0xd4d6be,style:_0x3460a0,dataAggregation:_0x112afa}=_0x334709['serialize']();return{'redos':[{'id':_0x4dac75[_0x5def25(0x491)]['id'],'params':{'unitId':_0x497be8,'subUnitId':_0x328414,'type':_0x4dac75['DrawingApplyType'][_0x5def25(0x29f)],'op':_0x2de63a,'objects':_0x5bba4c}},{'id':_0x5979b3['InsertSheetsChartMutation']['id'],'params':{'unitId':_0x497be8,'subUnitId':_0x328414,'chartId':_0x5c03dd,'chartType':_0x16003a,...(0x0,_0x5979b3['toInsertChartMutationSource'])(_0xed78c5),'context':_0xd4d6be,'style':_0x3460a0,'dataAggregation':_0x112afa}}],'undos':[{'id':_0x4dac75[_0x5def25(0x491)]['id'],'params':{'unitId':_0x497be8,'subUnitId':_0x328414,'type':_0x4dac75['DrawingApplyType'][_0x5def25(0x4a4)],'op':_0x39e963,'objects':_0x5bba4c}},{'id':_0x5979b3[_0x5def25(0x237)]['id'],'params':{'unitId':_0x497be8,'subUnitId':_0x328414,'chartId':_0x5c03dd}}]};}[_0xeb70cf(0x2a7)](_0x21a116,_0x48f671,_0x25c57c){const _0x576af1=_0xeb70cf;let {range:_0x23914d,skeleton:_0xf623dd}=_0x48f671,{range:_0x473348,skeleton:_0x403a6e}=_0x25c57c,{transform:_0x39ea7d,sheetTransform:_0x58ea5d}=_0x21a116,_0x50032d={..._0x39ea7d};if(_0x23914d){let _0x463097=(0x0,_0x559364[_0x576af1(0x1b4)])(_0xf623dd,_0x23914d),_0x597b64=(0x0,_0x559364[_0x576af1(0x1b4)])(_0x403a6e,_0x473348);if(_0x463097&&_0x597b64){let _0x3e96c5=_0x597b64['startX']-_0x463097[_0x576af1(0x483)],_0x39c8b8=_0x597b64[_0x576af1(0x45d)]-_0x463097['startY'];_0x50032d[_0x576af1(0x2a9)]=(_0x50032d['left']??0x0)+_0x3e96c5,_0x50032d[_0x576af1(0x2f4)]=(_0x50032d[_0x576af1(0x2f4)]??0x0)+_0x39c8b8;}}else{let _0x5baea4=(0x0,_0x559364['attachRangeWithCoord'])(_0x403a6e,_0x473348);_0x50032d[_0x576af1(0x2a9)]=_0x5baea4==null?void 0x0:_0x5baea4[_0x576af1(0x483)],_0x50032d[_0x576af1(0x2f4)]=_0x5baea4==null?void 0x0:_0x5baea4[_0x576af1(0x45d)];}return{'transform':_0x50032d,'sheetTransform':(0x0,_0x4dac75[_0x576af1(0x3da)])(_0x50032d,_0x403a6e)??_0x58ea5d};}};_0x355040=_0x6243e3([_0x16880b(0x0,(0x0,_0x1e7325['Inject'])(_0x559364[_0xeb70cf(0x2c3)])),_0x16880b(0x1,(0x0,_0x1e7325[_0xeb70cf(0x28e)])(_0x2ef923[_0xeb70cf(0xdf)])),_0x16880b(0x2,(0x0,_0x1e7325[_0xeb70cf(0x28e)])(_0x4dac75[_0xeb70cf(0x45a)])),_0x16880b(0x3,(0x0,_0x1e7325[_0xeb70cf(0x28e)])(_0x5979b3[_0xeb70cf(0x148)])),_0x16880b(0x4,(0x0,_0x1e7325['Inject'])(_0x5979b3['SheetsChartService']))],_0x355040);let _0x4273c9=class extends _0x1e7325[_0xeb70cf(0x3e8)]{constructor(_0x1bdae7,_0x441214,_0x1c560c,_0x1ee804){const _0x2f8b10=_0xeb70cf;super(),this[_0x2f8b10(0x460)]=_0x1bdae7,this[_0x2f8b10(0x133)]=_0x441214,this[_0x2f8b10(0x187)]=_0x1c560c,this[_0x2f8b10(0x145)]=_0x1ee804,this[_0x2f8b10(0x210)]();}['_initPermission'](){const _0x81d47f=_0xeb70cf;this[_0x81d47f(0x1e8)](this['_commandService'][_0x81d47f(0x277)](_0xe029c=>{const _0x1ac2a3=_0x81d47f;let _0x4f5fe7,_0x5bc9e1;if(_0xe029c['id']===_0x5979b3[_0x1ac2a3(0x29e)]['id']){let _0xf29861=_0xe029c[_0x1ac2a3(0x2f0)];_0x4f5fe7=_0xf29861[_0x1ac2a3(0xfa)],_0x5bc9e1=_0xf29861[_0x1ac2a3(0x331)];}else{if(_0xe029c['id']===_0x5979b3[_0x1ac2a3(0x1bb)]['id']||_0xe029c['id']===_0x5979b3[_0x1ac2a3(0x1b0)]['id']){let _0x4425ff=_0xe029c[_0x1ac2a3(0x2f0)];_0x4f5fe7=_0x4425ff[_0x1ac2a3(0xfa)],_0x5bc9e1=this['_sheetsChartService']['getSubUnitId'](_0x4425ff[_0x1ac2a3(0xfa)],_0x4425ff[_0x1ac2a3(0x166)]);}}_0x4f5fe7&&_0x5bc9e1&&(this[_0x1ac2a3(0x187)]['permissionCheckWithoutRange']({'workbookTypes':[_0x559364[_0x1ac2a3(0x27b)]],'worksheetTypes':[_0x559364[_0x1ac2a3(0x2f5)]]},_0x4f5fe7,_0x5bc9e1)||this[_0x1ac2a3(0x187)][_0x1ac2a3(0x110)](this[_0x1ac2a3(0x133)]['t'](_0x1ac2a3(0x253))));}));}};_0x4273c9=_0x6243e3([_0x16880b(0x0,(0x0,_0x1e7325[_0xeb70cf(0x28e)])(_0x1e7325[_0xeb70cf(0xd2)])),_0x16880b(0x1,(0x0,_0x1e7325[_0xeb70cf(0x28e)])(_0x1e7325[_0xeb70cf(0x404)])),_0x16880b(0x2,(0x0,_0x1e7325['Inject'])(_0x559364[_0xeb70cf(0x160)])),_0x16880b(0x3,(0x0,_0x1e7325['Inject'])(_0x5979b3[_0xeb70cf(0x258)]))],_0x4273c9);let _0x4ccea8=class extends _0x1e7325['Disposable']{constructor(_0x35c47e,_0x1f76bc){const _0x5e54cd=_0xeb70cf;super(),this['_renderService']=_0x1f76bc,this[_0x5e54cd(0x1e8)](_0x35c47e[_0x5e54cd(0x31e)](this));}[_0xeb70cf(0x46b)](_0x150f00){const _0x5b563a=_0xeb70cf;return _0x5b563a(0xfa)in _0x150f00&&_0x5b563a(0x331)in _0x150f00;}[_0xeb70cf(0x3fb)](_0x52a9ea,_0xa714db){const _0x447a2c=_0xeb70cf;return this[_0x447a2c(0x2e5)][_0x447a2c(0x3fb)](_0x52a9ea[_0x447a2c(0x37f)](),_0xa714db);}};_0x4ccea8=_0x6243e3([_0x16880b(0x0,(0x0,_0x1e7325['Inject'])(_0x339b6e['ChartImageExportService'])),_0x16880b(0x1,(0x0,_0x1e7325[_0xeb70cf(0x28e)])(_0x114834))],_0x4ccea8);let _0x4dbce9=class extends _0x1e7325[_0xeb70cf(0x1d2)]{constructor(_0x5209f9=_0x2be8c4,_0x25b992,_0x2e0854,_0x1437b0){const _0x1054d4=_0xeb70cf;super(),this['_config']=_0x5209f9,this[_0x1054d4(0x26d)]=_0x25b992,this[_0x1054d4(0x1fc)]=_0x2e0854,this[_0x1054d4(0x460)]=_0x1437b0;let {..._0x44e1aa}=(0x0,_0x1e7325[_0x1054d4(0x2e6)])({},_0x2be8c4,this[_0x1054d4(0x28d)]);this[_0x1054d4(0x1fc)][_0x1054d4(0x15b)](_0x3e48e7,_0x44e1aa),this[_0x1054d4(0x2b3)]();}[_0xeb70cf(0x206)](){const _0x52c579=_0xeb70cf;let _0x283fe0=[[_0x4b3a56],[_0x19c057,{'useClass':_0x46657c}],[_0x46b74e,{'useClass':_0x1ca0a5}],[_0x36a856],[_0x114834],[_0x4ccea8],[_0x7054d1],[_0x34efc2],[_0x4a438d],[_0x355040],[_0x279d6d],[_0x4273c9]],_0x70ccbc=[[_0x4b3a56],[_0x7054d1],[_0x4a438d],[_0x34efc2],[_0x4ccea8],[_0x19c057],[_0x355040],[_0x279d6d],[_0x4273c9]];_0x283fe0[_0x52c579(0x332)](_0x3c5579=>this[_0x52c579(0x26d)]['add'](_0x3c5579)),(0x0,_0x1e7325[_0x52c579(0x43a)])(this[_0x52c579(0x26d)],_0x70ccbc);}[_0xeb70cf(0x327)](){const _0x7f5661=_0xeb70cf;var _0x45d801;(_0x45d801=this[_0x7f5661(0x26d)][_0x7f5661(0x360)](_0x7054d1))==null||_0x45d801[_0x7f5661(0x1d1)]();}[_0xeb70cf(0x2b3)](){const _0x15d5f5=_0xeb70cf;[_0x5cbb78,_0x48776c][_0x15d5f5(0x332)](_0x5353f3=>this[_0x15d5f5(0x1e8)](this[_0x15d5f5(0x460)][_0x15d5f5(0x250)](_0x5353f3)));}};_0x1b6fbd(_0x4dbce9,_0xeb70cf(0x3b3),_0x1e7325[_0xeb70cf(0x3b8)][_0xeb70cf(0x41f)]),_0x1b6fbd(_0x4dbce9,_0xeb70cf(0x306),'UniverSheetsChartUIPlugin'),_0x1b6fbd(_0x4dbce9,_0xeb70cf(0x274),_0x2a4915),_0x1b6fbd(_0x4dbce9,_0xeb70cf(0x27d),_0x362383),_0x4dbce9=_0x6243e3([(0x0,_0x1e7325[_0xeb70cf(0x1bf)])(_0x4eff75[_0xeb70cf(0x1c2)],_0x39bdba[_0xeb70cf(0x255)],_0x4fef78[_0xeb70cf(0xf5)],_0x559364[_0xeb70cf(0x1c0)],_0x4dac75[_0xeb70cf(0x152)],_0x339b6e['UniverChartMobileUIPlugin'],_0x5979b3[_0xeb70cf(0x439)],_0x398b93['UniverSheetsDrawingMobileUIPlugin'],_0x2ef923['UniverSheetsMobileUIPlugin'],_0xced9f3['UniverMobileUIPlugin']),_0x16880b(0x1,(0x0,_0x1e7325[_0xeb70cf(0x28e)])(_0x1e7325['Injector'])),_0x16880b(0x2,_0x1e7325[_0xeb70cf(0x475)]),_0x16880b(0x3,_0x1e7325[_0xeb70cf(0xd2)])],_0x4dbce9);let _0x19eb81={'scaleX':0x1,'scaleY':0x1};function _0x5439de(_0x416684){let _0x3f1e89=_0x416684['nativeEvent'];return _0x3f1e89 instanceof MouseEvent?_0x3f1e89:void 0x0;}function _0x42cd13(_0x503914){const _0x10c841=_0xeb70cf;let _0x2998e4=_0x503914[_0x10c841(0x1f1)],_0x50acfe=_0x2998e4==null?void 0x0:_0x2998e4[_0x10c841(0x2d5)];return _0x50acfe instanceof Element?_0x50acfe:void 0x0;}function _0x11c1dc(_0x37b88b){const _0x4fea26=_0xeb70cf;var _0x359dd7;return(_0x359dd7=_0x42cd13(_0x37b88b))==null?void 0x0:_0x359dd7[_0x4fea26(0x464)]();}function _0x457e78(_0x389ab3){const _0x50a8cd=_0xeb70cf;return _0x389ab3[_0x50a8cd(0x323)]||_0x389ab3[_0x50a8cd(0xcd)]-_0x389ab3[_0x50a8cd(0x2a9)];}function _0x51ea00(_0x1b4037){const _0x3f120c=_0xeb70cf;return _0x1b4037[_0x3f120c(0x1ed)]||_0x1b4037[_0x3f120c(0x359)]-_0x1b4037[_0x3f120c(0x2f4)];}function _0xa5efb(_0x8c3d6b,_0x15067c){const _0x5a6669=_0xeb70cf;let _0x11a5d5=_0x8c3d6b['clientWidth']||(_0x8c3d6b instanceof HTMLElement?_0x8c3d6b[_0x5a6669(0x358)]:0x0),_0x21b6de=_0x8c3d6b['clientHeight']||(_0x8c3d6b instanceof HTMLElement?_0x8c3d6b['offsetHeight']:0x0),_0x2bcb03=_0x457e78(_0x15067c),_0x563059=_0x51ea00(_0x15067c);return{'scaleX':_0x11a5d5>0x0&&_0x2bcb03>0x0?_0x2bcb03/_0x11a5d5:_0x19eb81[_0x5a6669(0x26c)],'scaleY':_0x21b6de>0x0&&_0x563059>0x0?_0x563059/_0x21b6de:_0x19eb81[_0x5a6669(0x1ad)]};}function _0x21d3e6(_0xddddce,_0xc85e6,_0x1d21c7){const _0x25788c=_0xeb70cf;return{'left':_0xddddce['left']+_0xc85e6[_0x25788c(0x2a9)]*_0x1d21c7['scaleX'],'right':_0xddddce[_0x25788c(0x2a9)]+_0xc85e6[_0x25788c(0xcd)]*_0x1d21c7[_0x25788c(0x26c)],'top':_0xddddce[_0x25788c(0x2f4)]+_0xc85e6[_0x25788c(0x2f4)]*_0x1d21c7[_0x25788c(0x1ad)],'bottom':_0xddddce['top']+_0xc85e6[_0x25788c(0x359)]*_0x1d21c7[_0x25788c(0x1ad)]};}function _0x116573(_0x119a2a){const _0x4d050c=_0xeb70cf;let _0x4b3e11=_0x42cd13(_0x119a2a),_0x56d847=_0x119a2a[_0x4d050c(0x1d9)][_0x4d050c(0x40e)];if(_0x4b3e11&&_0x56d847){let _0x4a42e3=_0x4b3e11[_0x4d050c(0x464)]();return()=>{const _0x3d5f57=_0x4d050c;let _0x1af38f=_0x4b3e11['getBoundingClientRect']();return(_0x4b3e11[_0x3d5f57(0xe7)]||_0x457e78(_0x1af38f)>0x0||_0x51ea00(_0x1af38f)>0x0)&&(_0x4a42e3=_0x1af38f),_0x21d3e6(_0x4a42e3,_0x56d847,_0xa5efb(_0x4b3e11,_0x4a42e3));};}return()=>{const _0x3d399e=_0x4d050c;let _0x55650b=_0x11c1dc(_0x119a2a);if(_0x55650b&&_0x56d847)return _0x21d3e6(_0x55650b,_0x56d847,_0x4b3e11?_0xa5efb(_0x4b3e11,_0x55650b):_0x19eb81);let _0x399f2e=_0x5439de(_0x119a2a),_0xd13711=_0x4b3e11&&_0x55650b?_0xa5efb(_0x4b3e11,_0x55650b):_0x19eb81,_0x13727c=(_0x399f2e==null?void 0x0:_0x399f2e[_0x3d399e(0x282)])??(_0x55650b?_0x55650b[_0x3d399e(0x2a9)]+_0x119a2a[_0x3d399e(0x492)]['x']*_0xd13711[_0x3d399e(0x26c)]:_0x119a2a['localPoint']['x']),_0x161444=(_0x399f2e==null?void 0x0:_0x399f2e[_0x3d399e(0x147)])??(_0x55650b?_0x55650b[_0x3d399e(0x2f4)]+_0x119a2a[_0x3d399e(0x492)]['y']*_0xd13711[_0x3d399e(0x1ad)]:_0x119a2a[_0x3d399e(0x492)]['y']);return{'left':_0x13727c,'right':_0x13727c+0x1,'top':_0x161444,'bottom':_0x161444+0x1};};}function _0x1dd9d8(_0x345e76){const _0x1bb92e=_0xeb70cf;return typeof _0x345e76==_0x1bb92e(0x348)&&Number[_0x1bb92e(0x496)](_0x345e76);}function _0x159e72(_0x2a126a){const _0x2210d3=_0xeb70cf;if(!_0x2a126a||typeof _0x2a126a!=_0x2210d3(0x1d7))return!0x0;let {startX:_0x2942f6,endX:_0x23c7a0,startY:_0x464942,endY:_0x58037a}=_0x2a126a;return!_0x1dd9d8(_0x2942f6)||!_0x1dd9d8(_0x23c7a0)||!_0x1dd9d8(_0x464942)||!_0x1dd9d8(_0x58037a)||_0x23c7a0-_0x2942f6>0x2&&_0x58037a-_0x464942>0x2;}function _0x5de0ca(_0x42506e){const _0x4821b1=_0xeb70cf;return _0x42506e['right']<=_0x42506e['left']||_0x42506e[_0x4821b1(0x359)]<=_0x42506e[_0x4821b1(0x2f4)]?!0x1:typeof window>'u'||_0x42506e[_0x4821b1(0xcd)]>0x0&&_0x42506e['bottom']>0x0&&_0x42506e['left']<window[_0x4821b1(0x498)]&&_0x42506e[_0x4821b1(0x2f4)]<window['innerHeight'];}function _0x48646b(_0x127562){const _0x2c2bc3=_0xeb70cf;var _0x1caef3;return _0x127562==null||(_0x1caef3=_0x127562[_0x2c2bc3(0x289)])==null?void 0x0:_0x1caef3[_0x2c2bc3(0x479)](_0x127562);}function _0x56dfb8(_0x20924f,_0x406544,_0x54e8fe){const _0x201990=_0xeb70cf;let _0x42898c=_0x116573(_0x20924f),_0x531eec=_0x48646b(_0x406544),_0x55ead6=_0x42898c(),_0x18aae3=new _0x24f269['BehaviorSubject'](_0x55ead6),_0xfbda05=new _0x1e7325['DisposableCollection'](),_0x3f2218=!0x1,_0x1b7d02=!0x1,_0x2a6a94=_0x1a82da=>_0x159e72(_0x531eec)&&_0x5de0ca(_0x1a82da),_0x1cf612=()=>{_0x1b7d02||_0x3f2218||(_0x1b7d02=!0x0,queueMicrotask(()=>{const _0xf6afd5=_0x3c84;if(_0x1b7d02=!0x1,!_0x3f2218){let _0x52315c=_0x42898c();if(!_0x2a6a94(_0x52315c)){_0x54e8fe();return;}_0x18aae3[_0xf6afd5(0x217)](_0x52315c);}}));};return _0x406544&&_0xfbda05[_0x201990(0x2a8)](_0x406544['subscribe'](_0x33bec2=>{_0x531eec=_0x33bec2,_0x1cf612();})),typeof window<'u'&&_0xfbda05[_0x201990(0x2a8)]((0x0,_0x24f269[_0x201990(0x2e6)])((0x0,_0x24f269[_0x201990(0x13c)])(window,_0x201990(0xe8),{'capture':!0x0}),(0x0,_0x24f269[_0x201990(0x13c)])(window,_0x201990(0x430)))[_0x201990(0x2cf)]((0x0,_0x24f269[_0x201990(0x2c4)])(0x10))[_0x201990(0x413)](_0x1cf612)),{'initialRect':_0x55ead6,'anchorRect$':_0x18aae3[_0x201990(0x2ad)](),'visible':_0x2a6a94(_0x55ead6),'dispose':()=>{const _0x4444f3=_0x201990;_0x3f2218=!0x0,_0xfbda05[_0x4444f3(0x151)](),_0x18aae3[_0x4444f3(0x1e6)]();}};}let _0xb2585b=_0xeb70cf(0x197),_0x5bbc5e=class extends _0x1e7325[_0xeb70cf(0x3e8)]{constructor(_0x53a9f4,_0x9466ea,_0x43a19d,_0x3b50c9,_0x50c1e6,_0x2f842a,_0x40cdd8,_0x3366e4,_0x3422e3){const _0x31b07a=_0xeb70cf;super(),this['_chartModelService']=_0x53a9f4,this['_chartRenderService']=_0x9466ea,this[_0x31b07a(0x14a)]=_0x43a19d,this['_sheetCanvasPopManagerService']=_0x3b50c9,this['_sheetCanvasFloatDomManagerService']=_0x50c1e6,this[_0x31b07a(0x2ae)]=_0x2f842a,this['_adapterRegistry']=_0x40cdd8,this[_0x31b07a(0x460)]=_0x3366e4,this['_injector']=_0x3422e3,_0x1b6fbd(this,'_popupDisposable',null),_0x1b6fbd(this,'_popupChartId',null),_0x1b6fbd(this,_0x31b07a(0x3f9),null),this[_0x31b07a(0x487)](),this[_0x31b07a(0x3d6)]();}[_0xeb70cf(0x151)](){const _0x358dc9=_0xeb70cf;this[_0x358dc9(0x261)](),super['dispose']();}['_registerAdapter'](){const _0x5eddda=_0xeb70cf;let _0x501356=(0x0,_0x339b6e[_0x5eddda(0x3c3)])({'chartUIService':this[_0x5eddda(0x2ae)],'getHostAdapter':_0x1fdb62=>{const _0xb3ce5d=_0x5eddda;let _0x29c42b=this['_chartModelService'][_0xb3ce5d(0x316)](_0x1fdb62[_0xb3ce5d(0x2b5)]);if(_0x29c42b&&_0x1fdb62[_0xb3ce5d(0x331)])return new _0x339b6e['ChartHostAdapter'](_0x29c42b,new _0x5979b3[(_0xb3ce5d(0x3b7))]({'unitId':_0x1fdb62[_0xb3ce5d(0xfa)],'subUnitId':_0x1fdb62['subUnitId'],'chartId':_0x1fdb62[_0xb3ce5d(0x2b5)],'injector':this['_injector']}));},'close':()=>this[_0x5eddda(0x261)](),'openFullPanel':_0x16f596=>{const _0x163946=_0x5eddda;let {unitId:_0x2fc0ba,subUnitId:_0x4a1592,drawingId:_0x1aadd1,chartId:_0x3eed62}=_0x16f596,_0xd3cfc8=(0x0,_0x339b6e[_0x163946(0x25f)])(_0x16f596[_0x163946(0x2d5)]);this['_commandService'][_0x163946(0x318)](_0x48776c['id'],{'unitId':_0x2fc0ba,'subUnitId':_0x4a1592??'','drawingId':_0x1aadd1??_0x3eed62,..._0xd3cfc8?{'route':_0xd3cfc8}:{}});}});this['disposeWithMe'](this[_0x5eddda(0x235)][_0x5eddda(0x31e)](_0xb2585b,_0x501356));}['_subscribeChartEvents'](){const _0x3a85fe=_0xeb70cf;this[_0x3a85fe(0x1e8)](this[_0x3a85fe(0x3ea)][_0x3a85fe(0x2ea)][_0x3a85fe(0x413)](_0x5093f8=>{const _0x3667d3=_0x3a85fe;let _0x137046=new _0x1e7325[(_0x3667d3(0x386))]();_0x137046[_0x3667d3(0x2a8)](this['_chartRenderService']['on'](_0x5093f8['id'],'click',_0x38e362=>{const _0x56a244=_0x3667d3;this[_0x56a244(0x3ba)](_0x5093f8['id'],_0x38e362);})),_0x137046[_0x3667d3(0x2a8)](this['_chartRenderService']['on'](_0x5093f8['id'],_0x3667d3(0x33c),()=>{this['_openEditPanelByDoubleClick'](_0x5093f8['id']);})),_0x5093f8[_0x3667d3(0x2ef)](()=>{const _0x509351=_0x3667d3;_0x137046[_0x509351(0x151)](),this[_0x509351(0x42f)](_0x5093f8['id']);}),this[_0x3667d3(0x1e8)](_0x137046);})),this[_0x3a85fe(0x1e8)]((0x0,_0x24f269['combineLatest'])([this['_chartModelService'][_0x3a85fe(0x280)],this[_0x3a85fe(0x2ae)]['chartEditorOpen$']])[_0x3a85fe(0x413)](([_0x3b5096,_0x3122c7])=>{const _0x26fa78=_0x3a85fe;(!_0x3122c7||this[_0x26fa78(0x126)]&&(_0x3b5096==null?void 0x0:_0x3b5096['id'])!==this[_0x26fa78(0x126)])&&this[_0x26fa78(0x261)]();})),this[_0x3a85fe(0x1e8)](this[_0x3a85fe(0x16c)][_0x3a85fe(0x1be)][_0x3a85fe(0x413)](({id:_0x1b3633})=>{const _0x1b03f2=_0x3a85fe;this[_0x1b03f2(0x42f)](_0x1b3633);})),this[_0x3a85fe(0x1e8)](this[_0x3a85fe(0x16c)][_0x3a85fe(0x144)]['subscribe'](({id:_0x171526})=>{this['_clearSelectedTarget'](_0x171526);})),this[_0x3a85fe(0x1e8)](this[_0x3a85fe(0x14a)][_0x3a85fe(0x48a)][_0x3a85fe(0x413)](_0x455693=>{const _0x1ce812=_0x3a85fe;this[_0x1ce812(0x42f)](_0x455693);}));}[_0xeb70cf(0x308)](_0x2f32c8){const _0x21b6d0=_0xeb70cf;if(this[_0x21b6d0(0x2ae)]['chartEditorOpen'])return;let _0x105747=this[_0x21b6d0(0x3ea)][_0x21b6d0(0x316)](_0x2f32c8),_0x5a2b4a=this[_0x21b6d0(0x16c)]['getFloatDomInfo'](_0x2f32c8);_0x105747&&_0x5a2b4a&&this[_0x21b6d0(0x460)][_0x21b6d0(0x318)](_0x48776c['id'],{'unitId':_0x5a2b4a[_0x21b6d0(0xfa)],'subUnitId':_0x5a2b4a[_0x21b6d0(0x331)]??'','drawingId':_0x2f32c8});}['_openFloatMenu'](_0x3429b8,_0x2d1c41){const _0x5d3780=_0xeb70cf;if(!this[_0x5d3780(0x2ae)][_0x5d3780(0xd6)](_0x3429b8))return;let _0xe2e536=this[_0x5d3780(0x3ea)][_0x5d3780(0x316)](_0x3429b8),_0x279939=_0xe2e536?_0x424778(_0xe2e536,_0x2d1c41[_0x5d3780(0x1d9)]):void 0x0;if(!_0x279939){this['_chartUIService'][_0x5d3780(0x26f)](),this['_closePopup']();return;}let _0x441235=this[_0x5d3780(0x16c)]['getFloatDomInfo'](_0x3429b8);if(!_0xe2e536||!_0x441235){this[_0x5d3780(0x2ae)]['clearPanelRoute'](),this[_0x5d3780(0x261)]();return;}let _0x4b8d27=JSON['stringify']([_0x441235['unitId'],_0x441235['subUnitId'],_0x3429b8,_0x279939[_0x5d3780(0x2d5)]]);if(this[_0x5d3780(0x266)]&&this[_0x5d3780(0x3f9)]===_0x4b8d27||(this[_0x5d3780(0x2ae)]['setPanelRoute'](_0x3429b8,_0x279939[_0x5d3780(0x2fd)]),this[_0x5d3780(0x261)](),!_0x279939[_0x5d3780(0x3e5)]))return;let _0x5d8664=_0x56dfb8(_0x2d1c41,_0x441235[_0x5d3780(0x448)],()=>this['_clearHiddenSelectedTarget'](_0x3429b8));if(!_0x5d8664[_0x5d3780(0x32a)]){_0x5d8664['dispose']();return;}let _0x316109=this[_0x5d3780(0x451)][_0x5d3780(0xe4)](_0x5d8664[_0x5d3780(0x3c2)],_0x5d8664[_0x5d3780(0x4b7)],{'componentKey':_0x339b6e[_0x5d3780(0x315)],'constrainToCanvas':!0x0,'direction':_0x5d3780(0x476),'offset':[0x0,0x8],'extraProps':{'unitId':_0x441235[_0x5d3780(0xfa)],'subUnitId':_0x441235[_0x5d3780(0x331)],'chartId':_0x3429b8,'drawingId':_0x3429b8,'element':_0x2d1c41[_0x5d3780(0x1d9)],'target':_0x279939[_0x5d3780(0x2d5)],'adapterKey':_0xb2585b}},_0x441235[_0x5d3780(0xfa)],_0x441235['subUnitId'])??null;if(!_0x316109){_0x5d8664['dispose']();return;}let _0x53deda=new _0x1e7325[(_0x5d3780(0x386))]();_0x53deda[_0x5d3780(0x2a8)](_0x316109),_0x53deda[_0x5d3780(0x2a8)](_0x5d8664),this[_0x5d3780(0x266)]=_0x53deda,this[_0x5d3780(0x126)]=_0x3429b8,this[_0x5d3780(0x3f9)]=_0x4b8d27;}[_0xeb70cf(0x261)](){const _0x517f0f=_0xeb70cf;var _0x5d6f7e;(_0x5d6f7e=this[_0x517f0f(0x266)])==null||_0x5d6f7e[_0x517f0f(0x151)](),this[_0x517f0f(0x266)]=null,this[_0x517f0f(0x126)]=null,this[_0x517f0f(0x3f9)]=null;}[_0xeb70cf(0x42f)](_0x4756ca){const _0xca58ee=_0xeb70cf;(this[_0xca58ee(0x2ae)][_0xca58ee(0xd6)](_0x4756ca)||this[_0xca58ee(0x126)]===_0x4756ca)&&(this[_0xca58ee(0x2ae)][_0xca58ee(0x26f)](),this[_0xca58ee(0x126)]===_0x4756ca&&this[_0xca58ee(0x261)]());}[_0xeb70cf(0x29b)](_0x1b1ba0){const _0x1f7f25=_0xeb70cf;this[_0x1f7f25(0x42f)](_0x1b1ba0),this[_0x1f7f25(0x2ae)][_0x1f7f25(0xd6)](_0x1b1ba0)&&(this[_0x1f7f25(0x46a)][_0x1f7f25(0x12f)](_0x1b1ba0,!0x1),this[_0x1f7f25(0x46a)]['setElementEditMode'](_0x1b1ba0,!0x0));}};_0x5bbc5e=_0x6243e3([_0x16880b(0x0,(0x0,_0x1e7325[_0xeb70cf(0x28e)])(_0x5979b3[_0xeb70cf(0x148)])),_0x16880b(0x1,(0x0,_0x1e7325[_0xeb70cf(0x28e)])(_0x114834)),_0x16880b(0x2,_0x46b74e),_0x16880b(0x3,(0x0,_0x1e7325['Inject'])(_0x2ef923['SheetCanvasPopManagerService'])),_0x16880b(0x4,(0x0,_0x1e7325[_0xeb70cf(0x28e)])(_0x398b93['SheetCanvasFloatDomManagerService'])),_0x16880b(0x5,_0x19c057),_0x16880b(0x6,(0x0,_0x1e7325['Inject'])(_0x339b6e[_0xeb70cf(0x121)])),_0x16880b(0x7,_0x1e7325[_0xeb70cf(0xd2)]),_0x16880b(0x8,(0x0,_0x1e7325['Inject'])(_0x1e7325[_0xeb70cf(0x459)]))],_0x5bbc5e);function _0x5895c7({ref:_0x188616,..._0x2dce5f}){const _0x4cf7c5=_0xeb70cf;let {preserveStrokeWidth:_0x29d52b,icon:_0x4858e2,id:_0x5688f3,className:_0x320196,extend:_0x56c5c5,..._0x438988}=_0x2dce5f,_0xc5fffe=(_0x4cf7c5(0x1a4)+_0x5688f3+'\x20'+(_0x320196||''))[_0x4cf7c5(0x3c6)](),_0x1374ec='_'+(0x0,_0x5de930[_0x4cf7c5(0x397)])(),_0x472a16=(0x0,_0x5de930[_0x4cf7c5(0x20c)])(null);return(0x0,_0x5de930[_0x4cf7c5(0x16f)])(_0x188616,()=>_0x472a16[_0x4cf7c5(0x35f)]),(0x0,_0x5de930[_0x4cf7c5(0x2dc)])(()=>{const _0x6e5721=_0x4cf7c5;if(_0x29d52b&&_0x472a16[_0x6e5721(0x35f)]&&_0x472a16[_0x6e5721(0x35f)]['localName']===_0x4858e2['tag'])return _0xa9bb46(_0x472a16[_0x6e5721(0x35f)]);},[_0x29d52b,_0x4858e2]),_0x249393(_0x4858e2,''+_0x5688f3,{'defIds':_0x4858e2[_0x4cf7c5(0x342)],'idSuffix':_0x1374ec},{'ref':_0x472a16,'className':_0xc5fffe,..._0x438988},_0x56c5c5);}function _0x249393(_0x1615f5,_0x3d9b8e,_0x1c7b60,_0x158cbf,_0x11f42f){const _0x500407=_0xeb70cf;return(0x0,_0x5de930[_0x500407(0xfc)])(_0x1615f5[_0x500407(0x28c)],{'key':_0x3d9b8e,..._0x16bdd6(_0x1615f5,_0x1c7b60,_0x11f42f),..._0x158cbf},(_0x16ad5e(_0x1615f5,_0x1c7b60)[_0x500407(0x140)]||[])[_0x500407(0x1f6)]((_0x3d6922,_0x1c703a)=>_0x249393(_0x3d6922,_0x3d9b8e+'-'+_0x1615f5[_0x500407(0x28c)]+'-'+_0x1c703a,_0x1c7b60,void 0x0,_0x11f42f)));}function _0x16bdd6(_0x3eed7c,_0x514e5e,_0x571e00){const _0x4a3711=_0xeb70cf;let _0x2198c4={..._0x3eed7c[_0x4a3711(0x490)]};_0x571e00!=null&&_0x571e00[_0x4a3711(0x38f)]&&_0x2198c4[_0x4a3711(0x16e)]===_0x4a3711(0x38f)&&(_0x2198c4['fill']=_0x571e00['colorChannel1']),_0x571e00!=null&&_0x571e00[_0x4a3711(0x38f)]&&_0x2198c4[_0x4a3711(0x2e4)]===_0x4a3711(0x38f)&&(_0x2198c4[_0x4a3711(0x2e4)]=_0x571e00[_0x4a3711(0x38f)]),_0x3eed7c[_0x4a3711(0x28c)]===_0x4a3711(0x1ac)&&_0x2198c4['id']&&(_0x2198c4['id']+=_0x514e5e[_0x4a3711(0x351)]),Object[_0x4a3711(0x243)](_0x2198c4)[_0x4a3711(0x332)](([_0x488c00,_0x4779e6])=>{const _0x38aa8b=_0x4a3711;_0x488c00===_0x38aa8b(0x1ac)&&typeof _0x4779e6=='string'&&(_0x2198c4[_0x488c00]=_0x4779e6[_0x38aa8b(0xe9)](/url\(#(.*)\)/,'url(#$1'+_0x514e5e[_0x38aa8b(0x351)]+')'));});let {defIds:_0x4aed22}=_0x514e5e;return!_0x4aed22||_0x4aed22[_0x4a3711(0x2d4)]===0x0||(_0x3eed7c[_0x4a3711(0x28c)]===_0x4a3711(0x1ca)&&_0x2198c4[_0x4a3711(0x307)]&&(_0x2198c4[_0x4a3711(0x307)]+=_0x514e5e[_0x4a3711(0x351)]),Object[_0x4a3711(0x243)](_0x2198c4)[_0x4a3711(0x332)](([_0x58e944,_0x227fb4])=>{const _0x145fbd=_0x4a3711;typeof _0x227fb4==_0x145fbd(0x3a1)&&(_0x2198c4[_0x58e944]=_0x227fb4[_0x145fbd(0xe9)](/url\(#(.*)\)/,_0x145fbd(0x142)+_0x514e5e[_0x145fbd(0x351)]+')'));})),_0x2198c4;}function _0x16ad5e(_0xf23eb,_0x512cac){const _0x9e53de=_0xeb70cf;var _0x71cd92;let {defIds:_0x5c70a6}=_0x512cac;return!_0x5c70a6||_0x5c70a6['length']===0x0?_0xf23eb:_0xf23eb['tag']==='defs'&&(_0x71cd92=_0xf23eb[_0x9e53de(0x140)])!=null&&_0x71cd92[_0x9e53de(0x2d4)]?{..._0xf23eb,'children':_0xf23eb['children'][_0x9e53de(0x1f6)](_0x25f5b1=>typeof _0x25f5b1[_0x9e53de(0x490)]['id']==_0x9e53de(0x3a1)&&_0x5c70a6&&_0x5c70a6['includes'](_0x25f5b1[_0x9e53de(0x490)]['id'])?{..._0x25f5b1,'attrs':{..._0x25f5b1['attrs'],'id':_0x25f5b1[_0x9e53de(0x490)]['id']+_0x512cac[_0x9e53de(0x351)]}}:_0x25f5b1)}:_0xf23eb;}function _0xa9bb46(_0xec6ea2){const _0x1622d8=_0xeb70cf;let _0x125e52=_0xec6ea2['viewBox'][_0x1622d8(0x403)],_0x2a0043=Math['max'](_0x125e52['width'],_0x125e52[_0x1622d8(0x1ed)]);if(!Number[_0x1622d8(0x496)](_0x2a0043)||_0x2a0043<=0x0||_0x125e52[_0x1622d8(0x323)]<=0x0||_0x125e52['height']<=0x0)return()=>void 0x0;let _0x5d98dc=0x10/_0x2a0043,_0xfd31dd=Array[_0x1622d8(0x240)](_0xec6ea2['querySelectorAll']('circle,\x20ellipse,\x20line,\x20path,\x20polygon,\x20polyline,\x20rect,\x20text,\x20textPath,\x20tspan,\x20use'))[_0x1622d8(0x113)](_0x345437=>{const _0x3843e4=_0x1622d8;let _0x3cb0cb=getComputedStyle(_0x345437),_0x1767e5=Number[_0x3843e4(0x2ac)](_0x3cb0cb[_0x3843e4(0x220)]);return _0x3cb0cb[_0x3843e4(0x2e4)]===_0x3843e4(0x42b)||Number[_0x3843e4(0x2ac)](_0x3cb0cb[_0x3843e4(0x1d6)])===0x0||_0x3cb0cb['vectorEffect']===_0x3843e4(0x4a0)||!Number[_0x3843e4(0x496)](_0x1767e5)||_0x1767e5<=0x0?[]:[{'element':_0x345437,'hadStyleAttribute':_0x345437['hasAttribute']('style'),'originalStrokeWidth':_0x1767e5,'strokeWidth':_0x368583(_0x345437[_0x3843e4(0x4b9)],_0x3843e4(0x44f))}];})[_0x1622d8(0x1f6)](_0x2f27d0=>({'appliedStrokeWidth':null,'element':_0x2f27d0[_0x1622d8(0x467)],'hadStyleAttribute':_0x2f27d0['hadStyleAttribute'],'isReleased':!0x1,'originalStrokeWidth':_0x2f27d0[_0x1622d8(0x22b)],'strokeWidth':_0x2f27d0['strokeWidth']}));if(_0xfd31dd['length']===0x0)return()=>void 0x0;let _0x40938e=(_0x4e4289,_0x5a5585)=>{const _0x4fda8c=_0x1622d8;if(_0x125e52[_0x4fda8c(0x323)]<=0x0||_0x125e52[_0x4fda8c(0x1ed)]<=0x0||_0x4e4289<=0x0||_0x5a5585<=0x0)return;let _0x16dd68=Math['min'](_0x4e4289/_0x125e52[_0x4fda8c(0x323)],_0x5a5585/_0x125e52[_0x4fda8c(0x1ed)]);!Number['isFinite'](_0x16dd68)||_0x16dd68<=0x0||_0xfd31dd['forEach'](_0x328b58=>{const _0x118a51=_0x4fda8c;if(_0x328b58[_0x118a51(0x3b1)])return;if(_0x328b58['appliedStrokeWidth']!==null&&(_0x328b58[_0x118a51(0x467)][_0x118a51(0x4b9)][_0x118a51(0x4a2)](_0x118a51(0x44f))!==_0x328b58[_0x118a51(0x3a7)]||_0x328b58['element'][_0x118a51(0x4b9)]['getPropertyPriority'](_0x118a51(0x44f))!==_0x328b58[_0x118a51(0x220)][_0x118a51(0x2bf)])){_0x328b58[_0x118a51(0x3a7)]=null,_0x328b58[_0x118a51(0x3b1)]=!0x0;return;}let _0x34276f=_0x328b58[_0x118a51(0x22b)]*_0x5d98dc/_0x16dd68,_0x28c87e=Number(_0x34276f[_0x118a51(0x256)](0xc))+'px';_0x328b58[_0x118a51(0x467)][_0x118a51(0x4b9)][_0x118a51(0x2ee)]('stroke-width',_0x28c87e,_0x328b58[_0x118a51(0x220)][_0x118a51(0x2bf)]),_0x328b58[_0x118a51(0x3a7)]=_0x28c87e;});},_0x2ec8af=_0xec6ea2[_0x1622d8(0x464)]();_0x40938e(_0x2ec8af['width'],_0x2ec8af['height']);let _0xf6306c=typeof ResizeObserver>'u'?null:new ResizeObserver(_0x30cae0=>{const _0x45d28f=_0x1622d8;if(_0x30cae0[_0x45d28f(0x12c)](_0x2d5b83=>_0x2d5b83[_0x45d28f(0x2d5)]===_0xec6ea2)){let _0x5f50d1=_0xec6ea2[_0x45d28f(0x464)]();_0x40938e(_0x5f50d1[_0x45d28f(0x323)],_0x5f50d1[_0x45d28f(0x1ed)]);}});return _0xf6306c==null||_0xf6306c['observe'](_0xec6ea2),()=>{const _0x2b29e2=_0x1622d8;_0xf6306c==null||_0xf6306c[_0x2b29e2(0x365)](),_0xfd31dd[_0x2b29e2(0x332)](_0x219302=>{const _0x5219ae=_0x2b29e2;_0x219302[_0x5219ae(0x3a7)]!==null&&(_0x51a63a(_0x219302[_0x5219ae(0x467)][_0x5219ae(0x4b9)],'stroke-width',_0x219302['appliedStrokeWidth'],_0x219302['strokeWidth'][_0x5219ae(0x2bf)],_0x219302[_0x5219ae(0x220)]),!_0x219302['hadStyleAttribute']&&_0x219302[_0x5219ae(0x467)]['style'][_0x5219ae(0x2d4)]===0x0&&_0x219302[_0x5219ae(0x467)]['removeAttribute'](_0x5219ae(0x4b9)));});};}function _0x368583(_0xb7c780,_0xd16cb1){const _0x40b218=_0xeb70cf;return{'priority':_0xb7c780[_0x40b218(0x3d3)](_0xd16cb1),'value':_0xb7c780[_0x40b218(0x4a2)](_0xd16cb1)};}function _0x51a63a(_0x143645,_0x4be514,_0x4286bc,_0x5135d1,_0x12b0ca){const _0x1f3f57=_0xeb70cf;_0x143645[_0x1f3f57(0x4a2)](_0x4be514)===_0x4286bc&&_0x143645[_0x1f3f57(0x3d3)](_0x4be514)===_0x5135d1&&(_0x12b0ca[_0x1f3f57(0x375)]?_0x143645[_0x1f3f57(0x2ee)](_0x4be514,_0x12b0ca[_0x1f3f57(0x375)],_0x12b0ca['priority']):_0x143645['removeProperty'](_0x4be514));}_0x5895c7[_0xeb70cf(0x213)]='UniverIcon';let _0x20387a={'tag':_0xeb70cf(0x393),'attrs':{'xmlns':_0xeb70cf(0x301),'fill':_0xeb70cf(0x42b),'viewBox':_0xeb70cf(0x188),'width':_0xeb70cf(0x239),'height':_0xeb70cf(0x239)},'children':[{'tag':_0xeb70cf(0x20a),'attrs':{'fill':_0xeb70cf(0x159),'d':'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'}}]},_0x53de76=(0x0,_0x5de930[_0xeb70cf(0x1b5)])(function(_0x18c0b4,_0xc8d64b){const _0x28e038=_0xeb70cf;return(0x0,_0x5de930['createElement'])(_0x5895c7,Object[_0x28e038(0x325)]({},_0x18c0b4,{'id':'pen-icon','ref':_0xc8d64b,'icon':_0x20387a}));});_0x53de76['displayName']=_0xeb70cf(0x36e);let _0x1ad367=class extends _0x1e7325[_0xeb70cf(0x3e8)]{constructor(_0x3e8996,_0x223d45){const _0x3aec71=_0xeb70cf;super(),this[_0x3aec71(0x44d)]=_0x3e8996,this['_iconManager']=_0x223d45,this['_registerIcons'](),this[_0x3aec71(0x388)]();}['_registerIcons'](){const _0x3bb75f=_0xeb70cf;this[_0x3bb75f(0x1e8)](this[_0x3bb75f(0x3d8)]['register']({'PenIcon':_0x53de76}));}[_0xeb70cf(0x388)](){const _0x497757=_0xeb70cf;[[_0x47b009,_0x2427fb]][_0x497757(0x332)](([_0x294fd7,_0xcdddfc])=>{const _0x2700a3=_0x497757;this['disposeWithMe'](this['_componentManager'][_0x2700a3(0x31e)](_0x294fd7,_0xcdddfc));});}};_0x1ad367=_0x6243e3([_0x16880b(0x0,(0x0,_0x1e7325[_0xeb70cf(0x28e)])(_0xced9f3['ComponentManager'])),_0x16880b(0x1,(0x0,_0x1e7325[_0xeb70cf(0x28e)])(_0xced9f3['IconManager']))],_0x1ad367);let _0x321768=class extends _0x1e7325[_0xeb70cf(0x1d2)]{constructor(_0x15a0ac=_0x2be8c4,_0x190efa,_0x420eb5,_0x41963d){const _0x130220=_0xeb70cf;super(),this[_0x130220(0x28d)]=_0x15a0ac,this['_injector']=_0x190efa,this[_0x130220(0x1fc)]=_0x420eb5,this['_commandService']=_0x41963d,_0x1b6fbd(this,_0x130220(0x49e),void 0x0);let {..._0x584be0}=(0x0,_0x1e7325[_0x130220(0x2e6)])({},_0x2be8c4,this[_0x130220(0x28d)]);this[_0x130220(0x49e)]=_0x584be0,this[_0x130220(0x1fc)][_0x130220(0x15b)](_0x3e48e7,_0x584be0),this[_0x130220(0x2b3)]();}[_0xeb70cf(0x206)](){const _0x4f11a2=_0xeb70cf;this[_0x4f11a2(0x26d)][_0x4f11a2(0x2a8)]([_0x1ad367]),this[_0x4f11a2(0x26d)][_0x4f11a2(0x360)](_0x1ad367);let _0x28fbfd=this[_0x4f11a2(0x26d)],_0x58c74b=[[_0x19c057,{'useClass':_0x46657c}],[_0x46b74e,{'useClass':_0x1ca0a5}],[_0x36a856],[_0x114834],[_0x4ccea8],[_0xdc4924],[_0x34efc2],[_0x4a438d],[_0x355040],[_0x279d6d],[_0x4273c9]],_0x3ad168=[[_0xdc4924],[_0x4a438d],[_0x34efc2],[_0x4ccea8],[_0x19c057],[_0x355040],[_0x279d6d],[_0x4273c9]];this[_0x4f11a2(0x49e)][_0x4f11a2(0x3cf)]&&(_0x58c74b[_0x4f11a2(0x15c)]([_0x5bbc5e]),_0x3ad168[_0x4f11a2(0x15c)]([_0x5bbc5e])),_0x58c74b[_0x4f11a2(0x332)](_0xc916b9=>_0x28fbfd[_0x4f11a2(0x2a8)](_0xc916b9)),(0x0,_0x1e7325[_0x4f11a2(0x43a)])(this[_0x4f11a2(0x26d)],_0x3ad168);}[_0xeb70cf(0x327)](){const _0x1b033d=_0xeb70cf;var _0xf15374;(_0xf15374=this['_injector']['get'](_0xdc4924))==null||_0xf15374[_0x1b033d(0x1d1)]();}[_0xeb70cf(0x2b3)](){const _0x3eda49=_0xeb70cf;[_0x5cbb78,_0x512316,_0xe02a20,_0x336d65,_0x13aee6,_0x48776c,_0x2f1627][_0x3eda49(0x332)](_0x37b6b5=>this['disposeWithMe'](this[_0x3eda49(0x460)][_0x3eda49(0x250)](_0x37b6b5)));}};_0x1b6fbd(_0x321768,_0xeb70cf(0x3b3),_0x1e7325[_0xeb70cf(0x3b8)][_0xeb70cf(0x41f)]),_0x1b6fbd(_0x321768,_0xeb70cf(0x306),_0xeb70cf(0x416)),_0x1b6fbd(_0x321768,'packageName',_0x2a4915),_0x1b6fbd(_0x321768,'version',_0x362383),_0x321768=_0x6243e3([(0x0,_0x1e7325[_0xeb70cf(0x1bf)])(_0x4eff75['UniverLicensePlugin'],_0x39bdba[_0xeb70cf(0x255)],_0x4fef78[_0xeb70cf(0xf5)],_0x559364[_0xeb70cf(0x1c0)],_0x4dac75[_0xeb70cf(0x152)],_0x339b6e[_0xeb70cf(0x143)],_0x5979b3['UniverSheetsChartPlugin'],_0x398b93[_0xeb70cf(0x2c0)],_0x2ef923[_0xeb70cf(0x222)]),_0x16880b(0x1,(0x0,_0x1e7325['Inject'])(_0x1e7325[_0xeb70cf(0x459)])),_0x16880b(0x2,_0x1e7325[_0xeb70cf(0x475)]),_0x16880b(0x3,_0x1e7325[_0xeb70cf(0xd2)])],_0x321768),_0x44e059[_0xeb70cf(0x26a)]=_0x48776c,Object['defineProperty'](_0x44e059,_0xeb70cf(0x4a1),{'enumerable':!0x0,'get':function(){return _0x114834;}}),_0x44e059['ISheetsChartUIService']=_0x19c057,_0x44e059['SHEETS_CHART_UI_PLUGIN_CONFIG_KEY']=_0x3e48e7,Object[_0xeb70cf(0x4a8)](_0x44e059,_0xeb70cf(0x193),{'enumerable':!0x0,'get':function(){return _0xdc4924;}}),_0x44e059[_0xeb70cf(0x118)]=_0x3350dd,Object[_0xeb70cf(0x4a8)](_0x44e059,_0xeb70cf(0x35c),{'enumerable':!0x0,'get':function(){return _0x46657c;}}),Object[_0xeb70cf(0x4a8)](_0x44e059,_0xeb70cf(0x1d5),{'enumerable':!0x0,'get':function(){return _0x4dbce9;}}),Object['defineProperty'](_0x44e059,_0xeb70cf(0x416),{'enumerable':!0x0,'get':function(){return _0x321768;}}),_0x44e059['createChartElementPopupAnchorObserver']=_0x56dfb8;}));
|