@univerjs-pro/docs-chart-ui 1.0.0-rc.0 → 1.0.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.css +12 -0
- 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/components/DocChartEditPanel.d.ts +1 -0
- package/lib/types/components/DocChartEditorDialog.d.ts +4 -0
- package/lib/types/components/MobileDocChartDataEditor.d.ts +17 -0
- package/lib/types/components/MobileDocChartEditor.d.ts +17 -0
- package/lib/types/components/MobileDocChartInsertPanel.d.ts +17 -0
- package/lib/types/controllers/components.controller.d.ts +3 -2
- package/lib/types/controllers/mobile/components.controller.d.ts +8 -0
- package/lib/types/controllers/mobile/ui.controller.d.ts +20 -0
- package/lib/types/index.d.ts +1 -0
- package/lib/types/mobile-plugin.d.ts +16 -0
- package/lib/types/plugin.d.ts +2 -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 +17 -17
package/lib/umd/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function _0x241d(_0x349681,_0x6923b2){_0x349681=_0x349681-0xee;const _0x3cd8ef=_0x3cd8();let _0x241d2a=_0x3cd8ef[_0x349681];return _0x241d2a;}function _0x3cd8(){const _0xb4495a=['DrawingTypeEnum','@univerjs/docs-drawing-ui','ChartTypeSpecificSetupSection','referenced','chartTypeSupportsCapability','_floatingToolbarAdapterService','WaterfallSeries','_mountNode','getOwnPropertyDescriptor','default','source','then','buildChartTypeSelectOptions','refreshTransform$','docs-chart-ui.chord.source','ChartStyleSection','axis','UniverDocsUIPlugin','createElement','ChartSubtitleFields','getRuntimeContext','useChartEditorChartType','target','docs-chart-ui.section.gridlinesAndTicks','content-box','contentRect','endOffset','engine','disconnect','issue','DOC_CHART_CLIPBOARD_RESOURCE_KEY','DRAWING_CHART','chartId','getUnitId','UniverDocsUi','500862BRKHXt','useState','Radar','PARAGRAPH','DocChartInsertRibbonMenuItemFactory','combineLatest','@univerjs-pro/docs-chart','right','UniverDocsChartUIPlugin','docs-chart-ui.section.treemap','154KdjEwK','BreakLineCommand','_getActiveRenderScale','DEFAULT_CHART_INDICATOR_LINE_VALUES','getDirection','_drawingAdapterService','ChartUIService','READY','auditTime','hit','tables','docs-chart-ui.section.paretoLine','univer-flex\x20univer-min-h-0\x20univer-w-[388px]\x20univer-shrink-0\x20univer-flex-col\x20univer-gap-4\x20univer-overflow-hidden\x20univer-overscroll-contain','getInfo','min(1200px,\x20calc(100vw\x20-\x2032px))','getMenuHiddenObservable','select','onReady','ChartSeriesFillFields','ChartThemeService','buildOrientedChartDataSet','defaultPluginConfig','_initMenus','docs-chart-ui.section.pie','_prepareStandaloneInsertLine','toPrimitive','shared','A\x0912','addEventListener','_imageContentHidden','rightY','ChartEditPanelTabs','position','barStyle','set','@univerjs/design','doc-chart-preview-','mountChart','transformOrigin','docTransform','_renderService','charts','DOC_CHART_INSERT_MENU_ID','ChartThemeField','univer-flex\x20univer-justify-end\x20univer-gap-2','call','docsLeft','pie','ContextMenuPosition','rxjs','ChartEditorCapability','getId','_captureInsertRange','context','_getDrawingSearch','Data','_applyHostStyle','current','dispatchEvent','isActive','DOCS_CHART_UI_PLUGIN_CONFIG_KEY','_initPrinting','docs-chart-ui.section.paretoBar','add$','VerticalAxis','_createImageShape','get','ChartAxisFormatTextField','doc-chart.editor-dialog','getBody','3279IxSycQ','doughnutHole','open','makeDirty','ChartImageExportFormat','generateRandomId','syncExecuteCommand','Document\x20chart\x20snapshot\x20rendering\x20requires\x20a\x20browser\x20document.','activeRuntimeModel','UniverProDocsChart','LineAndArea','isInlineChartDataSource','DocumentChartConfigAdapter','UniverProChartUi','overflow','ChartSeriesPointFields','render','InlineChartCreationIssueCode','DataUrlImageChartHost','Inject','doc-chart-style-panel','getDataUrl','_getDrawingRect','next','chartModelRemoved$','section','univer-w-full\x20univer-justify-start','PRINTING_COMPONENT_COLLECT','getDataSourceRuntimeState$','_staticRenderController','duplicate','_canvasFloatDomService','contains','collapsed','ComponentManager','code','push','Failed\x20to\x20render\x20document\x20chart\x20snapshot:\x20','Subject','toSpec','DOC_CHART_EDITOR_DIALOG_ID','_initClipboardHooks','ChartWaterfallSetupFields','tabpanel','_instanceService','ChartHostAdapter','exports','DEFAULT_CHART_DEVICE_PIXEL_RATIO','_host','dispose','_frameNode','registerPrintPreparation','Treemap','titles','createChartInlineStarterData','initialRoute','univer-absolute\x20univer-inset-0\x20univer-min-h-0\x20univer-min-w-0\x20univer-overflow-hidden\x20univer-rounded-lg','Doughnut','ChartIcon','MEDIA','Tools','disposeWithMe','DRAWING_OBJECT_LAYER_INDEX','merge','jsxs','type','CHART_TYPE_CATALOG','onScrollAfter$','series','_preparedCharts','ChartWordCloudRepeatField','ChartAxisLabelVisibilityField','main','cumulativeLineStyle','clipBounds','docs-chart-ui.common.setup','Column','-data-source','Histogram','disableMenuWhenHeaderFooterEditing','click','ChartAxisTickVisibilityField','position$','getDataSource','docs-chart-ui.common.series','doc-chart.dialog.insert','inline','config','defineProperty','IDocChartSnapshotRendererService','div','_getRenderScale','status','ChartLegendWrapField','docs-chart-ui.sunburst.hierarchy','isFinite','dark:!univer-bg-gray-900/90\x20univer-bg-gray-0/90\x20univer-absolute\x20univer-bottom-3\x20univer-left-3\x20univer-rounded\x20univer-px-2\x20univer-py-1\x20univer-text-xs\x20univer-text-red-600\x20dark:!univer-text-red-400','fill','univer-w-full\x20!univer-min-w-0','some','DEFAULT_CHART_FUNNEL_VALUES','dataUrl','getCurrentUnitOfType','sharingCount','_injector','ChartTitleFontSizeFields','_activeLayer','createIdentifier','DocChartSnapshotRefreshController','DEFAULT_CHART_WATERFALL_SETUP_VALUES','univer-mt-2\x20univer-text-xs\x20univer-text-red-600\x20dark:!univer-text-red-400','univer-min-h-0\x20univer-flex-1\x20univer-overflow-auto\x20univer-overscroll-contain\x20univer-pr-1','dblclick','_pasteAdapterService','toStringTag','_getContentRect','model','left','scale(','DOC_ACTIVE_CHART_COMPONENT','CanvasFloatDomService','clearTimeout','getCanvasElement','doc-chart-setup-panel','syncLayout','docs-chart-ui.active-chart','univer-flex\x20univer-h-full\x20univer-min-h-0\x20univer-w-full\x20univer-flex-col\x20univer-gap-4','onStarting','resolveDefaultChartHostFrameStyle','Failed\x20to\x20load\x20document\x20chart\x20print\x20image.','plan','_docClipboardService','Waterfall','config$','_deactivate','_syncRenderedChartVisibility','@univerjs/docs','resolveChartRuntimeStyle','subscribe','DEFAULT_CHART_RELATION_VALUES','DocSelectionManagerService','SVG','export','_draw','DOC_PARAGRAPH_T_INSERT_BELOW_MENU_ID','endIndex','_renderCharts','DEFAULT_CHART_HEATMAP_VALUES','customBlockMappings','IMenuManagerService','hidden','absolute','Category\x09Value','registerCommand','removeObject','pending','Document\x20chart\x20','DocChartInsertService','getRenderUnitById','flipY','_handleFocus','getNative','getDrawingByParam','indexOf','getDrawingShapeKeyByDrawingSearch','customBlocks','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','DocDrawingFloatingToolbarAdapterService','style','getDataSourceRuntimeState','createRenderInput','transformByState','ChartRadarStyleSection','doc-chart-preview','_bindActiveLayerObservers','DocChartDataEditor','ChartSeriesRoot','lastIndexOf','radius','UniverEngineRender','baseOn','dataSource','getCurrentRenderModel','subscription','getAncestorScale','docs-chart-ui.section.wordCloud','unsubscribe','Optional','defaultTableText','ChartWordCloudShapeField','getCurrentTypeOfUnit$','onCommandExecuted','map','bind','docs-chart-ui.candlestick.high','@univerjs/ui','segmentId','ChartEditBlockTitle','dataStream','scene','renderRect','univer-min-h-0\x20univer-flex-1','object','univer-relative\x20univer-box-border\x20univer-flex\x20univer-h-full\x20univer-min-h-0\x20univer-w-full\x20univer-min-w-0\x20univer-overflow-hidden\x20univer-rounded-lg\x20univer-border\x20univer-border-solid\x20univer-border-gray-200\x20univer-bg-gray-0\x20dark:!univer-border-gray-700\x20dark:!univer-bg-gray-900','IRenderManagerService','@univerjs/engine-render','publishDataSet','docs-chart-ui.common.customize','_createChartRenderInstanceContext','skeDrawings','_requestSnapshotsForUnit','compactInlineTableValues','executeChartUpdateConfig','_getChartDrawings','register','doc-chart-editor-panel','_getOrCreatePastedDataSourceId','chartInvalidated$','image','button','_retryActivateFocusedChart','sourceDrawing','Disposable','ChartCommonDataMappingSection','getObjectIncludeInGroup','Button','removeFloatDom','_univerInstanceService','className','ChartSeriesLabelVisibilityField','tab','ChartLineAndAreaSection','chartModelAdded$','ChartSectionAccordionTrigger','scaleX','_snapshotService','ChartDataSource','docs-chart-ui.common.verticalAxis','ChartSectionAccordionItem','getRenderColor','ChartStackField','GeneralSeries','max','openEditorDialog','UniverChartUIPlugin','doc.operation.open-doc-chart-insert-dialog','getRect','index','skip','doc-chart.snapshot-renderer','ChartParetoSeriesSection','ChartLegendSelectModeField','doc','scaleY','ensureChartModel','docs-chart-ui.chartTypes.','_getPasteMutationInfos','focus','waterfall','_initCommands','@univerjs-pro/docs-chart-ui','DEFAULT_CHART_SERIES_VALUES','top','_isActiveLayer','format','DocChartInsertPanel','positionObserver','DOC_DRAWING_PRINTING_COMPONENT_KEY','DependentOn','backgroundColor','_appendChartResources','getHostStyle','doc-chart.dialog.data-editor','docs-chart-ui.common.tableDataEmpty','_getActiveRenderRect','docs-chart-ui.updateChartFailed','HorizontalAxis','ChartEditPanelTab','scale','useDependency','deepClone','_refreshActivePosition','ChartTypeSpecificDataSection','_syncChartImageVisibility','transparent','UnknownOption','UniverCore','SetDocChartDataSourceMutation','getChartHostFrameContentRect','registerAdapter','_registerComponents','forEach','border-box','DocChartEditorDialog','UniverDocsDrawingUIPlugin','SHARED','docs-chart-ui.previewRenderFailed','univer-shrink-0\x20univer-px-3','getDataSet','params','defaultChartType','iterator','subscribeEvent','getInterceptPoints','startIndex','1381980RtrMYi','ChartWaterfallStyleSection','_listenRuntimeData','ChartReferencedDataSourceEditor','WordCloud','getDrawingId','_registerDialogOperations','IUniverInstanceService','intercept','marginTop','attachTransformerTo','slice','data','ChartPieStyleSection','imageContentHidden','_getChartDrawing','docs-chart-ui.common.chartAndAxisTitles','UNIVER_DOC','root','addObject','_configService','setStyle','_snapshotRenderService','getDrawingEditable','tryBuildInlineChartCreationPlan','changeSource','insertRange','DOC_CONTENT_INSERT_MENU_ID','indicatorLine','addClipboardHook','ChartAxisTitleFields','getChart','height','DocsChartUIMenuSchema','-tab','show','INSERT_BELLOW_MENU_ID','ChartSectionAccordion','dataSources','univer-flex\x20univer-flex-col\x20univer-gap-3','addFloatDom','RightVerticalAxis','ChartMainTitleFields','@univerjs-pro/license','updateData','symbol','ICommandService','ChartNumberFormatTextField','DocChartModelService','keys','1.0.0-rc.0','getTextRanges','_requestSnapshot','VIEW_MAIN','subUnitId','drawingId','chartType$','getChartInlineTableMinColumns','5xfpTSc','sceneRect','breakOffsets','size','key','univer-flex\x20univer-h-0\x20univer-min-h-full\x20univer-w-full\x20univer-flex-col\x20univer-overflow-hidden\x20univer-bg-gray-0\x20dark:!univer-bg-gray-900','docs-chart-ui.common.trendline','context$','IConfigService','observe','DocChartDataEditService','isReferencedChartDataSource','_renderDrawing','ChartInlineTableEditor','_docContentInsertService','lineAndArea','remove$','Gauge','DUPLICATE','react/jsx-runtime','univer-flex\x20univer-w-full\x20univer-min-w-0\x20univer-flex-col\x20univer-overflow-hidden\x20univer-overscroll-contain','univer-flex\x20univer-shrink-0\x20univer-justify-end\x20univer-gap-2','hide','VIEWPORT_KEY','snapshotUpdated$','TRANSFORM_CHANGE_OBSERVABLE_TYPE','useMemo','Injector','UniverProLicense','_forEachChartDrawing','doc-chart.dialog.editor','pageMarginTop','requestSnapshot','getCacheKey','chartBitsUtils','split','number','docs-chart-ui.common.chartStyle','DEFAULT_CHART_WATERFALL_STYLE_VALUES','ChartAndAxisTitles','startOffset','docs-chart-ui.section.lineAndArea','labelId','Series','docs-chart-ui.common.editData','.below','boxSizing','docs-chart-ui.common.horizontalAxis','replaceChildren','UniverDocsDrawingPlugin','supports','_getRenderedChartImage','find','string','UniverDocsChartPlugin','univer-min-h-0\x20univer-flex-1\x20univer-pt-4','docs-chart-ui.common.cancel','SetDocChartSnapshotMutation','unitId','route','_dialogService','ChartGridlineWidthField','chart','angle','pluginName','DataStreamTreeTokenType','IndicatorLine','IChartRenderModelManagerService','docsTop','UniverInstanceType','setImageContentHidden','drawingType','textRanges','insertChartFromText','onClose','_getPositionState','RemoveDocChartSnapshotMutation','340000HQQPuz','getFocusDrawings','changeDataSource','pageHeight','_isDocChartDrawing','doc-chart-host','primary','@univerjs/drawing','UpdateDocChartConfigCommand','docs-chart-ui.common.rightVerticalAxis','sourceDocuments','radar','allSettled','transformerConfig','ContextMenuGroup','catch','delete','_setElementSize','color','round','DOC_CHART_INSERT_PANEL_COMPONENT','IDrawingManagerService','onTransformChange$','generateChartContext','tryPrepareInlineChartData','_chartThemeService','Candlestick','has','touchDependencies','docs-chart-ui.common.apply','ChartTypeField','docs-chart-ui.section.chord','resolve','change','dataAggregation','version','_activate','DrawingDeleteIcon','ChangeDocChartDataSourceCommand','_config','_resourceService','RemoveDocDrawingCommand','DrawingEditIcon','chartContext','DocPrintInterceptorService','DocChartEditPanel','aLeft','DocChartInsertBelowMenuItemFactory','docs-chart-ui.common.value','useRef','ChartAxisLabelStyleFields','_localeService','useObservable','_initAdapter','wordCloud','init','_hostStyle','blockRanges','appendChild','docs-chart-ui.chartNotFound','ChartEditPanelSection','doc-chart.insert-panel','DocChartActiveRenderService','B\x0918','applyHostStyle','docs-chart-ui.common.insertChart','ChartIndicatorLineTypeField','_drawingManagerService','px\x20solid\x20','complete','getUnit','2453584EPLlBD','_getRenderRect','CommandType','_refreshActiveLayout','DEFAULT_CHART_LEGEND_VALUES','ChartTypeBits','reconcileChartContext','ready','Image','univer-text-xs\x20univer-text-red-600\x20dark:!univer-text-red-400','onerror','values','_init','getViewport','DEFAULT_CHART_PIE_VALUES','docs-chart-ui.candlestick.open','getDataSourceSharingCount','_componentManager','ChartImageExportService','MenuItemType','border','Pie','bottom','Sunburst','_docSelectionManagerService','3889305KloQRQ','toDisposable','RibbonInsertGroup','docs-chart-ui.section.gauge','_resolveInsertPosition','docs-chart-ui.common.chartType','_modelService','univer-flex\x20univer-shrink-0\x20univer-justify-end\x20univer-px-1\x20univer-pb-4\x20univer-pt-4','ChartHeatmapStyleSection','DocChartUIService','_activeDomReadyDrawingKeys','ChartGridlineVisibilityField','label','Axes','onload','_removeRenderedCharts','consumeInsertRange','EMPTY_PARAGRAPH_MENU_ID','_updatePosition','setActiveDomReady','ParetoBarSeries','_subscribeRender','ChartSeriesLabelPositionField','univer-flex\x20univer-flex-col\x20univer-gap-3\x20univer-px-4\x20univer-pb-5','jsx','LAYOUT','_bindRuntimeState','DocContentInsertService','Dom','seriesId','OPERATION','ChartLegendPositionField','ChartLegendFontSizeField','ChartModel','DocChartSnapshotRenderService','docs-chart-ui.common.category','chartTypeSupportsLineAndAreaStyle','React','remove','print','LocaleService','docs-chart-ui.common.editChart','DocDomChartHost','prototype','DocChartPrintService','function','DEFAULT_CHART_PARETO_VALUES','BehaviorSubject','docs-chart-ui.section.funnel','_commandService','getDrawings','_requestSnapshotsForSearches','shouldComposeChartHostFrame','interceptor','doc-chart-data-panel','min','style$','univer-text-sm\x20univer-font-medium\x20univer-text-gray-900\x20dark:!univer-text-gray-0','Style','updateDataFromText','\x20has\x20no\x20render\x20config.','length','scaleObserver','UniverDrawing','_layoutChanged$','getBoundingClientRect','DocChartDataEditorSubmitMode','doc.operation.open-doc-chart-editor-dialog','@univerjs-pro/chart-ui','Chord','span','executeCommand','DocChartClipboardController','DOC_CHART_DATA_EDITOR_DIALOG_ID','every','pipe','pareto','resolveChartEditPanelRoute','SECTION_BREAK','GridlinesAndTicks','docs-chart-ui.section.relation','docs-chart-ui.close','univer-flex\x20univer-flex-col\x20univer-gap-2','doc-chart.data-editor','308364bRYqLm','PieStyle','drawings','insertChart','ChartSnapshotQueue','exportImage','OpenDocChartEditorDialogOperation','dataSourceId','targetDrawing','parseInt','docs-chart-ui.candlestick.columnsError','DOC_CHART_DATA_EDITOR_COMPONENT','ChartDataSourceRuntimeStatus','getSelfOrHeaderFooterModel','DEFAULT_TRANSFORMER_CONFIG','ChartEditorProvider','order','ChartSeriesLabelFontSizeField','ParetoLineSeries','chartType','filter','_docPrintInterceptorService','_visualLayoutChanged$','ChartRenderMode','setConfig','docs-chart-ui.common.data','transform','createChartInstance','__docsChartResource','Relation','prepare','_renderManagerService','Funnel','parseInlineChartTable','docs-chart-ui.common.label','width','DEFAULT_CHART_WORD_CLOUD_VALUES','Legend','UniverDocs','textSelection$','Heatmap','_menuManagerService','src','ChartAxisReverseField','BUTTON','value','join','_renderModelManager','onDataSourceSubmit','markNotReady','DocChartRenderService','heatmap','_runtimeStateSubscriptions','react','getEditorState','useEffect','pieSecondaryPlotType'];_0x3cd8=function(){return _0xb4495a;};return _0x3cd8();}(function(_0x21f2ee,_0x16ccd9){const _0x45cf5b=_0x241d,_0x3e7654=_0x21f2ee();while(!![]){try{const _0x324f3b=parseInt(_0x45cf5b(0x3da))/0x1*(-parseInt(_0x45cf5b(0x394))/0x2)+parseInt(_0x45cf5b(0x1f3))/0x3+-parseInt(_0x45cf5b(0x32e))/0x4*(-parseInt(_0x45cf5b(0x22d))/0x5)+-parseInt(_0x45cf5b(0x38a))/0x6+-parseInt(_0x45cf5b(0x2c1))/0x7+-parseInt(_0x45cf5b(0x27a))/0x8+parseInt(_0x45cf5b(0x2da))/0x9;if(_0x324f3b===_0x16ccd9)break;else _0x3e7654['push'](_0x3e7654['shift']());}catch(_0x27c014){_0x3e7654['push'](_0x3e7654['shift']());}}}(_0x3cd8,0x3ad1c),function(_0x635441,_0x5d5078){const _0x5eeb1f=_0x241d;typeof exports==_0x5eeb1f(0x18c)&&typeof module<'u'?_0x5d5078(exports,require('@univerjs/core'),require('@univerjs-pro/chart-ui'),require('@univerjs-pro/engine-chart'),require('@univerjs/design'),require('@univerjs/ui'),require('react'),require('react/jsx-runtime'),require('@univerjs-pro/docs-chart'),require('@univerjs/docs'),require('@univerjs/docs-ui'),require('@univerjs/docs-drawing'),require('@univerjs/docs-drawing-ui'),require('rxjs'),require('@univerjs-pro/license'),require('@univerjs/drawing'),require('@univerjs/engine-render')):typeof define==_0x5eeb1f(0x307)&&define['amd']?define([_0x5eeb1f(0xf0),'@univerjs/core',_0x5eeb1f(0x31e),'@univerjs-pro/engine-chart',_0x5eeb1f(0x3b7),_0x5eeb1f(0x185),_0x5eeb1f(0x363),_0x5eeb1f(0x240),_0x5eeb1f(0x390),_0x5eeb1f(0x14a),'@univerjs/docs-ui','@univerjs/docs-drawing',_0x5eeb1f(0x368),_0x5eeb1f(0x3c5),_0x5eeb1f(0x21e),_0x5eeb1f(0x281),_0x5eeb1f(0x18f)],_0x5d5078):(_0x635441=typeof globalThis<'u'?globalThis:_0x635441||self,_0x5d5078(_0x635441['UniverProDocsChartUi']={},_0x635441[_0x5eeb1f(0x1e0)],_0x635441[_0x5eeb1f(0x3e7)],_0x635441['UniverProEngineChart'],_0x635441['UniverDesign'],_0x635441['UniverUi'],_0x635441[_0x5eeb1f(0x2ff)],_0x635441[_0x5eeb1f(0x2ff)],_0x635441[_0x5eeb1f(0x3e3)],_0x635441[_0x5eeb1f(0x354)],_0x635441[_0x5eeb1f(0x389)],_0x635441['UniverDocsDrawing'],_0x635441['UniverDocsDrawingUi'],_0x635441['rxjs'],_0x635441[_0x5eeb1f(0x249)],_0x635441[_0x5eeb1f(0x319)],_0x635441[_0x5eeb1f(0x175)]));}(this,function(_0xe3ddb8,_0x47edb2,_0x54f46,_0x225029,_0x5c2852,_0x1e1dce,_0x4c966c,_0x232568,_0x5e3af7,_0x1b976a,_0x42517f,_0x27ace2,_0x9803db,_0x133690,_0x625734,_0x426163,_0x2c5795){const _0x5555b0=_0x241d;Object['defineProperty'](_0xe3ddb8,Symbol[_0x5555b0(0x134)],{'value':'Module'});let _0x4d3ffd={'id':_0x5555b0(0x1b7),'type':_0x47edb2[_0x5555b0(0x2c3)]['OPERATION'],'handler'(){return!0x0;}},_0x532994={'id':_0x5555b0(0x31d),'type':_0x47edb2['CommandType'][_0x5555b0(0x2f8)],'handler'(){return!0x0;}},_0x55cec0=_0x5555b0(0x32d),_0x18ae04=function(_0x41a839){const _0x329cda=_0x5555b0;return _0x41a839[_0x329cda(0x1e9)]='shared',_0x41a839[_0x329cda(0x23f)]=_0x329cda(0x3f8),_0x41a839;}({});function _0x365943(_0xf2ac7a){const _0x375cd1=_0x5555b0;let _0x59c8e5=(0x0,_0x1e1dce['useDependency'])(_0x47edb2[_0x375cd1(0x302)]),{values:_0x590777,onCancel:_0x72f7d3,onChange:_0x59260e,onSubmit:_0x44b0f8}=_0xf2ac7a,[_0x23401d,_0x608152]=(0x0,_0x4c966c[_0x375cd1(0x38b)])(()=>(0x0,_0x225029[_0x375cd1(0x238)])(_0xf2ac7a[_0x375cd1(0x177)])?_0x375cd1(0x36a):_0x375cd1(0x118)),[_0x1d8623,_0xc7ebfe]=(0x0,_0x4c966c[_0x375cd1(0x38b)])(null),[_0x2f270e,_0x254d43]=(0x0,_0x4c966c[_0x375cd1(0x38b)])(()=>_0x590777['map'](_0x4ff505=>[..._0x4ff505])),[_0x44f16e,_0x471e11]=(0x0,_0x4c966c[_0x375cd1(0x38b)])(null),_0x555a57=_0x3bd286=>{_0x254d43(_0x3bd286),_0x59260e==null||_0x59260e(_0x3bd286);},_0x105c85=_0x935402=>{const _0x5ccb1a=_0x375cd1;let _0x370a0f=(0x0,_0x54f46[_0x5ccb1a(0x195)])(_0x2f270e);if(_0x370a0f['length']===0x0){_0x471e11(_0x59c8e5['t'](_0x5ccb1a(0x1d3)));return;}_0x471e11(null),_0x44b0f8(_0x370a0f,_0x935402);};return(0x0,_0x232568['jsxs'])(_0x375cd1(0x11c),{'className':_0x375cd1(0x140),'children':[(0x0,_0x232568[_0x375cd1(0x2f2)])('div',{'className':_0x375cd1(0x131),'children':(0x0,_0x232568[_0x375cd1(0x2f2)])(_0x54f46[_0x375cd1(0x1f6)],{'mode':_0x23401d,'initialSource':(0x0,_0x225029[_0x375cd1(0x238)])(_0xf2ac7a[_0x375cd1(0x177)])?_0xf2ac7a[_0x375cd1(0x177)][_0x375cd1(0x371)]:void 0x0,'inlineContent':(0x0,_0x232568[_0x375cd1(0x2f2)])(_0x54f46[_0x375cd1(0x23a)],{'values':_0x2f270e,'parsePastedText':_0x225029[_0x375cd1(0x34f)],'onChange':_0x555a57}),'onModeChange':_0x50edee=>{_0x608152(_0x50edee),_0xc7ebfe(null);},'onPreviewChange':(_0x49d492,_0x58d374)=>{const _0x1e1ba9=_0x375cd1;_0xc7ebfe(_0x49d492&&_0x58d374['status']===_0x225029[_0x1e1ba9(0x33a)]['READY']?{'source':_0x49d492}:null),_0x58d374[_0x1e1ba9(0x2cc)]&&(_0x59260e==null||_0x59260e(_0x58d374[_0x1e1ba9(0x2cc)][_0x1e1ba9(0x182)](_0x17da62=>[..._0x17da62])));}})}),_0x44f16e&&(0x0,_0x232568[_0x375cd1(0x2f2)])(_0x375cd1(0x11c),{'className':_0x375cd1(0x2ca),'children':_0x44f16e}),(0x0,_0x232568[_0x375cd1(0x102)])(_0x375cd1(0x11c),{'className':_0x375cd1(0x242),'children':[_0x72f7d3&&(0x0,_0x232568[_0x375cd1(0x2f2)])(_0x5c2852['Button'],{'type':'button','variant':'default','onClick':_0x72f7d3,'children':_0x59c8e5['t'](_0x375cd1(0x265))}),(0x0,_0x232568[_0x375cd1(0x2f2)])(_0x5c2852[_0x375cd1(0x1a3)],{'type':_0x375cd1(0x19d),'variant':'primary','disabled':_0x23401d===_0x375cd1(0x36a)&&!_0x1d8623,'onClick':()=>{const _0x153515=_0x375cd1;var _0x5784a1;return _0x23401d===_0x153515(0x36a)&&_0x1d8623?(_0x5784a1=_0xf2ac7a[_0x153515(0x35e)])==null?void 0x0:_0x5784a1['call'](_0xf2ac7a,_0x1d8623):_0x105c85(_0x153515(0x3ae));},'children':_0x59c8e5['t'](_0x375cd1(0x297))})]})]});}function _0x255c81(_0x862746,_0xc88066){return function(_0x366506,_0x48a571){_0xc88066(_0x366506,_0x48a571,_0x862746);};}function _0x187f80(_0x1ed80b,_0x5c89fb,_0x33e3bc,_0x5909c4){const _0x859ca4=_0x5555b0;var _0x3ed46d=arguments[_0x859ca4(0x317)],_0x571d7c=_0x3ed46d<0x3?_0x5c89fb:_0x5909c4===null?_0x5909c4=Object[_0x859ca4(0x36f)](_0x5c89fb,_0x33e3bc):_0x5909c4,_0x250bf6;if(typeof Reflect==_0x859ca4(0x18c)&&typeof Reflect['decorate']=='function')_0x571d7c=Reflect['decorate'](_0x1ed80b,_0x5c89fb,_0x33e3bc,_0x5909c4);else{for(var _0x562c1e=_0x1ed80b['length']-0x1;_0x562c1e>=0x0;_0x562c1e--)(_0x250bf6=_0x1ed80b[_0x562c1e])&&(_0x571d7c=(_0x3ed46d<0x3?_0x250bf6(_0x571d7c):_0x3ed46d>0x3?_0x250bf6(_0x5c89fb,_0x33e3bc,_0x571d7c):_0x250bf6(_0x5c89fb,_0x33e3bc))||_0x571d7c);}return _0x3ed46d>0x3&&_0x571d7c&&Object[_0x859ca4(0x11a)](_0x5c89fb,_0x33e3bc,_0x571d7c),_0x571d7c;}let _0x16a879=class{constructor(_0x458037,_0x5cf3d7){this['_commandService']=_0x458037,this['_resourceService']=_0x5cf3d7;}['getEditorState'](_0x1586bb,_0x175087){const _0x199b0c=_0x5555b0;let _0x43f1a3=this[_0x199b0c(0x2a2)][_0x199b0c(0x212)](_0x1586bb,_0x175087),_0x42f614=_0x43f1a3?this['_resourceService'][_0x199b0c(0x115)](_0x1586bb,_0x43f1a3[_0x199b0c(0x335)]):void 0x0;return!_0x43f1a3||!_0x42f614?null:{'unitId':_0x1586bb,'chartId':_0x175087,'dataSourceId':_0x42f614['id'],'dataSource':_0x42f614,'values':(0x0,_0x225029[_0x199b0c(0x3e5)])(_0x42f614)?_0x42f614[_0x199b0c(0x2cc)][_0x199b0c(0x182)](_0x5a78c6=>[..._0x5a78c6]):[],'sharingCount':this[_0x199b0c(0x2a2)][_0x199b0c(0x2d1)](_0x1586bb,_0x42f614['id'])};}[_0x5555b0(0x315)](_0x4abc12,_0x1ac69d,_0x2ac1af,_0x5a2e65){const _0x8bee3f=_0x5555b0;let _0xbee8e=(0x0,_0x225029[_0x8bee3f(0x34f)])(_0x2ac1af);return _0xbee8e['length']!==0x0&&this[_0x8bee3f(0x21f)](_0x4abc12,_0x1ac69d,_0xbee8e,_0x5a2e65);}[_0x5555b0(0x21f)](_0x5f1a9d,_0x40f67e,_0x1918f3,_0x21d672){const _0x23ccdc=_0x5555b0;var _0x2793a1;if(!this['getEditorState'](_0x5f1a9d,_0x40f67e)||_0x1918f3[_0x23ccdc(0x317)]===0x0)return!0x1;let _0x27e8dd=(_0x2793a1=this['_resourceService'][_0x23ccdc(0x212)](_0x5f1a9d,_0x40f67e))==null?void 0x0:_0x2793a1[_0x23ccdc(0x341)];if(_0x27e8dd===void 0x0)return!0x1;let _0x57f989=(0x0,_0x54f46[_0x23ccdc(0x292)])(_0x27e8dd,_0x1918f3);return _0x57f989['ok']?this[_0x23ccdc(0x27c)](_0x5f1a9d,_0x40f67e,{'values':_0x57f989['values']}):!0x1;}[_0x5555b0(0x27c)](_0x3e7457,_0x41c670,_0x53b617){const _0x15e32d=_0x5555b0;return this[_0x15e32d(0x30b)][_0x15e32d(0x3e0)](_0x5e3af7[_0x15e32d(0x2a0)]['id'],{'unitId':_0x3e7457,'chartId':_0x41c670,'dataSource':_0x53b617});}};_0x16a879=_0x187f80([_0x255c81(0x0,_0x47edb2[_0x5555b0(0x221)]),_0x255c81(0x1,(0x0,_0x47edb2[_0x5555b0(0x3ed)])(_0x225029['ChartResourceRepository']))],_0x16a879);let _0x55ae54=(0x0,_0x47edb2[_0x5555b0(0x12d)])('doc-chart.ui.service'),_0x2ef4d0=class extends _0x54f46[_0x5555b0(0x39a)]{constructor(_0x3e603e,_0x4c8244,_0x24a524){super(_0x24a524),this['_modelService']=_0x3e603e,this['_commandService']=_0x4c8244;}get['activeRuntimeModel'](){const _0x4f94f2=_0x5555b0;return this[_0x4f94f2(0x2e0)]['activeRuntimeModel'];}[_0x5555b0(0x196)](_0x4756a7){const _0x51fc42=_0x5555b0;let _0x2dcecd=this[_0x51fc42(0x3e2)],_0x1efe4b=_0x4756a7[_0x51fc42(0x267)]??(_0x2dcecd==null?void 0x0:_0x2dcecd[_0x51fc42(0x267)]),_0x4fe00c=_0x4756a7[_0x51fc42(0x387)]??(_0x2dcecd==null?void 0x0:_0x2dcecd[_0x51fc42(0x387)]);!_0x1efe4b||!_0x4fe00c||this[_0x51fc42(0x30b)][_0x51fc42(0x321)](_0x5e3af7[_0x51fc42(0x282)]['id'],{..._0x4756a7,'unitId':_0x1efe4b,'chartId':_0x4fe00c});}};_0x2ef4d0=_0x187f80([_0x255c81(0x0,(0x0,_0x47edb2['Inject'])(_0x5e3af7[_0x5555b0(0x223)])),_0x255c81(0x1,_0x47edb2[_0x5555b0(0x221)]),_0x255c81(0x2,(0x0,_0x47edb2['Inject'])(_0x54f46['ChartViewStateRegistry']))],_0x2ef4d0);let _0x35a7fd={'axis':{..._0x54f46['DEFAULT_CHART_AXIS_VALUES'],'primaryGridLineVisible':!0x0,'secondaryGridLineVisible':!0x0},'legend':_0x54f46[_0x5555b0(0x2c5)],'lineAndArea':_0x54f46['DEFAULT_CHART_LINE_AND_AREA_VALUES'],'pareto':_0x54f46[_0x5555b0(0x308)],'funnel':_0x54f46[_0x5555b0(0x126)],'heatmap':_0x54f46[_0x5555b0(0x155)],'indicatorLine':_0x54f46[_0x5555b0(0x397)],'pie':{..._0x54f46[_0x5555b0(0x2cf)],'doughnutHole':0x0,'pieHole':0x0},'relation':{..._0x54f46[_0x5555b0(0x14d)],'useValueAsSymbolSize':!0x1},'radar':_0x54f46['DEFAULT_CHART_RADAR_VALUES'],'series':{..._0x54f46[_0x5555b0(0x1c7)],'radarFillOpacity':0x1,'rightAxis':{'ltr':!0x1,'rtl':!0x1}},'style':_0x54f46['DEFAULT_CHART_STYLE_VALUES'],'titles':_0x54f46['DEFAULT_CHART_TITLE_VALUES'],'waterfall':{..._0x54f46[_0x5555b0(0x12f)],'useSubtotal':!0x0},'waterfallStyle':_0x54f46[_0x5555b0(0x253)],'wordCloud':_0x54f46[_0x5555b0(0x352)]},_0xa7bae1=[_0x225029['ChartTypeBits']['Candlestick'],_0x225029[_0x5555b0(0x2c6)][_0x5555b0(0x110)],_0x225029['ChartTypeBits']['Treemap'],_0x225029[_0x5555b0(0x2c6)][_0x5555b0(0x2d8)],_0x225029[_0x5555b0(0x2c6)][_0x5555b0(0x23e)],_0x225029[_0x5555b0(0x2c6)][_0x5555b0(0x31f)]];function _0x22fa5a(){const _0x55c820=_0x5555b0;let _0x597dd=(0x0,_0x54f46[_0x55c820(0x37c)])();return(0x0,_0x232568['jsx'])(_0x54f46['ChartGradientFillField'],{'visible':_0xa7bae1[_0x55c820(0x324)](_0x174142=>!_0x225029['chartBitsUtils'][_0x55c820(0x176)](_0x597dd,_0x174142))});}function _0x1f0c37(_0x127dd1){const _0x51d407=_0x5555b0;return(0x0,_0x232568[_0x51d407(0x102)])(_0x54f46[_0x51d407(0x1b0)],{'id':_0x127dd1['id'],'children':[(0x0,_0x232568['jsx'])(_0x54f46[_0x51d407(0x1ab)],{'children':_0x127dd1[_0x51d407(0x2e6)]}),(0x0,_0x232568[_0x51d407(0x2f2)])(_0x54f46['ChartSectionAccordionContent'],{'children':_0x127dd1['children']})]});}function _0x5e4351(_0x28dea9,_0x56151a=!0x1){const _0x587cf7=_0x5555b0;let _0x4167a1=_0x28dea9===_0x225029[_0x587cf7(0x2c6)][_0x587cf7(0x1f7)],_0x45073a=_0x225029[_0x587cf7(0x24f)]['baseOn'](_0x28dea9,_0x225029[_0x587cf7(0x2c6)][_0x587cf7(0x2d6)]),_0x5a765e=_0x28dea9===_0x225029[_0x587cf7(0x2c6)]['Radar'],_0x2ac81f=_0x28dea9===_0x225029[_0x587cf7(0x2c6)][_0x587cf7(0x34e)],_0x2c7ca1=_0x28dea9===_0x225029[_0x587cf7(0x2c6)][_0x587cf7(0x146)],_0xc3dcff=_0x28dea9===_0x225029[_0x587cf7(0x2c6)]['Pareto'],_0x528ea3=_0x28dea9===_0x225029[_0x587cf7(0x2c6)][_0x587cf7(0x294)],_0x26f9d6=_0x28dea9===_0x225029['ChartTypeBits']['Histogram'],_0x178095=_0x28dea9===_0x225029[_0x587cf7(0x2c6)][_0x587cf7(0xf6)],_0xebf1e=_0x28dea9===_0x225029[_0x587cf7(0x2c6)][_0x587cf7(0x2d8)],_0x2d997e=_0x28dea9===_0x225029[_0x587cf7(0x2c6)][_0x587cf7(0x23e)],_0x1105d0=_0x28dea9===_0x225029[_0x587cf7(0x2c6)][_0x587cf7(0x31f)],_0x59be67=_0x28dea9===_0x225029[_0x587cf7(0x2c6)]['Relation'],_0x134245=_0x28dea9===_0x225029[_0x587cf7(0x2c6)][_0x587cf7(0x356)],_0x2cbae8=[_0x54f46[_0x587cf7(0x2b6)]['ChartStyle'],_0x54f46['ChartEditPanelSection'][_0x587cf7(0x254)]];return _0x4167a1&&_0x2cbae8[_0x587cf7(0x3fe)](_0x54f46[_0x587cf7(0x2b6)]['WordCloud']),(0x0,_0x54f46['chartTypeSupportsCapability'])(_0x28dea9,_0x54f46[_0x587cf7(0x3c6)][_0x587cf7(0x1b3)])&&!_0xc3dcff&&_0x2cbae8[_0x587cf7(0x3fe)](_0x54f46['ChartEditPanelSection'][_0x587cf7(0x258)]),(0x0,_0x54f46[_0x587cf7(0x2fe)])(_0x28dea9)&&_0x2cbae8[_0x587cf7(0x3fe)](_0x54f46[_0x587cf7(0x2b6)]['LineAndArea']),_0x5a765e&&_0x2cbae8['push'](_0x54f46['ChartEditPanelSection'][_0x587cf7(0x38c)]),_0x2c7ca1&&_0x2cbae8[_0x587cf7(0x3fe)](_0x54f46[_0x587cf7(0x2b6)][_0x587cf7(0x36d)]),_0xc3dcff&&_0x2cbae8[_0x587cf7(0x3fe)](_0x54f46[_0x587cf7(0x2b6)]['ParetoBarSeries'],_0x54f46[_0x587cf7(0x2b6)][_0x587cf7(0x340)]),_0x45073a&&_0x2cbae8[_0x587cf7(0x3fe)](_0x54f46[_0x587cf7(0x2b6)]['PieStyle']),_0x2ac81f&&_0x2cbae8[_0x587cf7(0x3fe)](_0x54f46[_0x587cf7(0x2b6)][_0x587cf7(0x34e)]),_0x134245&&_0x2cbae8['push'](_0x54f46[_0x587cf7(0x2b6)][_0x587cf7(0x356)]),_0x59be67&&_0x2cbae8[_0x587cf7(0x3fe)](_0x54f46[_0x587cf7(0x2b6)]['Relation']),_0x528ea3&&_0x2cbae8[_0x587cf7(0x3fe)](_0x54f46[_0x587cf7(0x2b6)]['Candlestick']),_0x26f9d6&&_0x2cbae8['push'](_0x54f46[_0x587cf7(0x2b6)][_0x587cf7(0x110)]),_0x178095&&_0x2cbae8[_0x587cf7(0x3fe)](_0x54f46[_0x587cf7(0x2b6)][_0x587cf7(0xf6)]),_0xebf1e&&_0x2cbae8[_0x587cf7(0x3fe)](_0x54f46[_0x587cf7(0x2b6)][_0x587cf7(0x2d8)]),_0x2d997e&&_0x2cbae8[_0x587cf7(0x3fe)](_0x54f46[_0x587cf7(0x2b6)][_0x587cf7(0x23e)]),_0x1105d0&&_0x2cbae8[_0x587cf7(0x3fe)](_0x54f46[_0x587cf7(0x2b6)]['Chord']),(0x0,_0x54f46['chartTypeSupportsCapability'])(_0x28dea9,_0x54f46['ChartEditorCapability']['Legend'])&&_0x2cbae8[_0x587cf7(0x3fe)](_0x54f46[_0x587cf7(0x2b6)][_0x587cf7(0x353)]),(0x0,_0x54f46[_0x587cf7(0x36b)])(_0x28dea9,_0x54f46[_0x587cf7(0x3c6)][_0x587cf7(0x2e7)])&&(_0x2cbae8[_0x587cf7(0x3fe)](_0x54f46['ChartEditPanelSection'][_0x587cf7(0x1d6)],_0x54f46[_0x587cf7(0x2b6)][_0x587cf7(0x3d4)]),_0x56151a&&_0x2cbae8[_0x587cf7(0x3fe)](_0x54f46[_0x587cf7(0x2b6)][_0x587cf7(0x21c)]),_0x2cbae8[_0x587cf7(0x3fe)](_0x54f46[_0x587cf7(0x2b6)][_0x587cf7(0x329)])),(0x0,_0x54f46[_0x587cf7(0x36b)])(_0x28dea9,_0x54f46['ChartEditorCapability'][_0x587cf7(0x26f)])&&_0x2cbae8[_0x587cf7(0x3fe)](_0x54f46[_0x587cf7(0x2b6)]['IndicatorLine']),_0x2cbae8;}function _0xa2f47e(_0x306209){const _0x2ed2b7=_0x5555b0;return(0x0,_0x232568[_0x2ed2b7(0x102)])('div',{'className':_0x2ed2b7(0x21a),'children':[(0x0,_0x232568[_0x2ed2b7(0x2f2)])(_0x54f46['ChartAxisLineVisibilityField'],{'axis':_0x306209[_0x2ed2b7(0x377)],'defaultValues':_0x35a7fd[_0x2ed2b7(0x377)]}),(0x0,_0x232568['jsx'])(_0x54f46[_0x2ed2b7(0x109)],{'axis':_0x306209['axis'],'defaultValues':_0x35a7fd[_0x2ed2b7(0x377)]}),(0x0,_0x232568[_0x2ed2b7(0x2f2)])(_0x54f46[_0x2ed2b7(0x359)],{'axis':_0x306209['axis'],'defaultValues':_0x35a7fd[_0x2ed2b7(0x377)]}),(0x0,_0x232568[_0x2ed2b7(0x2f2)])(_0x54f46['ChartAxisBoundsFields'],{'axis':_0x306209[_0x2ed2b7(0x377)]}),(0x0,_0x232568[_0x2ed2b7(0x2f2)])(_0x54f46[_0x2ed2b7(0x3d7)],{'axis':_0x306209[_0x2ed2b7(0x377)]}),(0x0,_0x232568[_0x2ed2b7(0x2f2)])(_0x54f46[_0x2ed2b7(0x2ac)],{'axis':_0x306209['axis'],'defaultValues':_0x35a7fd['axis']}),(0x0,_0x232568[_0x2ed2b7(0x2f2)])(_0x54f46[_0x2ed2b7(0x113)],{'axis':_0x306209[_0x2ed2b7(0x377)],'defaultValues':_0x35a7fd['axis']})]});}function _0x745dd1(_0x450b56){const _0x38de05=_0x5555b0;var _0x36ca61,_0x259d75;let _0x40e5e5=(0x0,_0x1e1dce[_0x38de05(0x1d9)])(_0x47edb2[_0x38de05(0x302)]),_0x14a3a7=(0x0,_0x54f46[_0x38de05(0x37c)])(),_0x2f005a=(0x0,_0x54f46['useChartEditorHasRightAxis'])(),[_0xc55831,_0x2dc629]=(0x0,_0x4c966c[_0x38de05(0x38b)])(null),_0x534033=(0x0,_0x232568[_0x38de05(0x2f2)])(_0x54f46['ChartTypeSpecificStyleSection'],{}),_0x782b7={[_0x54f46[_0x38de05(0x2b6)][_0x38de05(0x294)]]:_0x40e5e5['t']('docs-chart-ui.section.candlestick'),[_0x54f46[_0x38de05(0x2b6)][_0x38de05(0x254)]]:_0x40e5e5['t'](_0x38de05(0x203)),[_0x54f46['ChartEditPanelSection']['ChartStyle']]:_0x40e5e5['t'](_0x38de05(0x252)),[_0x54f46[_0x38de05(0x2b6)][_0x38de05(0x31f)]]:_0x40e5e5['t'](_0x38de05(0x299)),[_0x54f46[_0x38de05(0x2b6)][_0x38de05(0x34e)]]:_0x40e5e5['t'](_0x38de05(0x30a)),[_0x54f46[_0x38de05(0x2b6)][_0x38de05(0x23e)]]:_0x40e5e5['t'](_0x38de05(0x2dd)),[_0x54f46[_0x38de05(0x2b6)][_0x38de05(0x329)]]:_0x40e5e5['t'](_0x38de05(0x37e)),[_0x54f46[_0x38de05(0x2b6)][_0x38de05(0x356)]]:_0x40e5e5['t']('docs-chart-ui.common.heatmap'),[_0x54f46['ChartEditPanelSection'][_0x38de05(0x110)]]:_0x40e5e5['t']('docs-chart-ui.section.histogram'),[_0x54f46[_0x38de05(0x2b6)][_0x38de05(0x1d6)]]:_0x40e5e5['t'](_0x38de05(0x25c)),[_0x54f46[_0x38de05(0x2b6)][_0x38de05(0x26f)]]:_0x40e5e5['t']('docs-chart-ui.section.indicatorLine'),[_0x54f46[_0x38de05(0x2b6)][_0x38de05(0x353)]]:_0x40e5e5['t']('docs-chart-ui.common.legend'),[_0x54f46['ChartEditPanelSection']['LineAndArea']]:_0x40e5e5['t'](_0x38de05(0x256)),[_0x54f46[_0x38de05(0x2b6)]['ParetoBarSeries']]:_0x40e5e5['t'](_0x38de05(0x3d2)),[_0x54f46['ChartEditPanelSection']['ParetoLineSeries']]:_0x40e5e5['t'](_0x38de05(0x39f)),[_0x54f46['ChartEditPanelSection'][_0x38de05(0x32f)]]:_0x40e5e5['t'](_0x38de05(0x3ab)),[_0x54f46[_0x38de05(0x2b6)]['Radar']]:_0x40e5e5['t']('docs-chart-ui.section.radar'),[_0x54f46['ChartEditPanelSection'][_0x38de05(0x34b)]]:_0x40e5e5['t'](_0x38de05(0x32a)),[_0x54f46[_0x38de05(0x2b6)][_0x38de05(0x21c)]]:_0x40e5e5['t'](_0x38de05(0x283)),[_0x54f46[_0x38de05(0x2b6)][_0x38de05(0x258)]]:_0x40e5e5['t'](_0x38de05(0x116)),[_0x54f46[_0x38de05(0x2b6)][_0x38de05(0x2d8)]]:_0x40e5e5['t']('docs-chart-ui.section.sunburst'),[_0x54f46[_0x38de05(0x2b6)][_0x38de05(0xf6)]]:_0x40e5e5['t'](_0x38de05(0x393)),[_0x54f46[_0x38de05(0x2b6)]['Trendline']]:_0x40e5e5['t'](_0x38de05(0x233)),[_0x54f46[_0x38de05(0x2b6)][_0x38de05(0x3d4)]]:_0x40e5e5['t'](_0x38de05(0x1af)),[_0x54f46['ChartEditPanelSection']['WaterfallSeries']]:_0x40e5e5['t']('docs-chart-ui.section.waterfall'),[_0x54f46[_0x38de05(0x2b6)]['WordCloud']]:_0x40e5e5['t'](_0x38de05(0x17b))};(0x0,_0x4c966c[_0x38de05(0x365)])(()=>{const _0x4a9e88=_0x38de05;var _0x1e8245;(_0x1e8245=_0x450b56[_0x4a9e88(0x268)])!=null&&_0x1e8245[_0x4a9e88(0x3f3)]&&_0x2dc629(_0x450b56[_0x4a9e88(0x268)][_0x4a9e88(0x3f3)]);},[_0x450b56[_0x38de05(0x268)]]);let _0x35bfe3={[_0x54f46[_0x38de05(0x2b6)]['ChartStyle']]:(0x0,_0x232568[_0x38de05(0x2f2)])(_0x54f46[_0x38de05(0x376)],{'defaultValues':_0x35a7fd['style']}),[_0x54f46['ChartEditPanelSection'][_0x38de05(0x254)]]:(0x0,_0x232568[_0x38de05(0x102)])(_0x38de05(0x11c),{'className':'univer-flex\x20univer-flex-col\x20univer-gap-3','children':[(0x0,_0x232568[_0x38de05(0x2f2)])(_0x54f46[_0x38de05(0x21d)],{'commitMode':_0x38de05(0x29b),'defaultValues':_0x35a7fd[_0x38de05(0xf7)],'showFont':!0x1}),(0x0,_0x232568['jsx'])(_0x54f46[_0x38de05(0x37a)],{'commitMode':_0x38de05(0x29b),'defaultValues':_0x35a7fd[_0x38de05(0xf7)],'showFont':!0x1}),(0x0,_0x232568[_0x38de05(0x2f2)])(_0x54f46['ChartAxisTitleFields'],{'axis':'x','commitMode':_0x38de05(0x29b),'defaultValues':_0x35a7fd[_0x38de05(0xf7)],'showAlignment':!0x1,'showFont':!0x1}),(0x0,_0x232568['jsx'])(_0x54f46[_0x38de05(0x211)],{'axis':'y','commitMode':_0x38de05(0x29b),'defaultValues':_0x35a7fd[_0x38de05(0xf7)],'showAlignment':!0x1,'showFont':!0x1}),(0x0,_0x232568[_0x38de05(0x2f2)])(_0x54f46[_0x38de05(0x211)],{'axis':_0x38de05(0x3b2),'commitMode':_0x38de05(0x29b),'defaultValues':_0x35a7fd[_0x38de05(0xf7)],'showAlignment':!0x1,'showFont':!0x1}),(0x0,_0x232568['jsx'])(_0x54f46[_0x38de05(0x12b)],{'defaultValues':_0x35a7fd[_0x38de05(0xf7)]})]}),[_0x54f46[_0x38de05(0x2b6)][_0x38de05(0x258)]]:(0x0,_0x232568[_0x38de05(0x102)])(_0x54f46[_0x38de05(0x172)],{'defaultValues':_0x35a7fd[_0x38de05(0x106)],'NumberFormatField':_0x54f46['ChartNumberFormatTextField'],'selectedSeriesId':(_0x36ca61=_0x450b56['route'])==null?void 0x0:_0x36ca61[_0x38de05(0x2f7)],'children':[(0x0,_0x232568[_0x38de05(0x2f2)])(_0x54f46[_0x38de05(0x3a6)],{}),(0x0,_0x232568[_0x38de05(0x2f2)])(_0x54f46['ChartSeriesBorderFields'],{'showColor':!0x1,'showOpacity':!0x1}),(0x0,_0x232568['jsx'])(_0x54f46[_0x38de05(0x3e9)],{'showColor':!0x1}),(0x0,_0x232568[_0x38de05(0x2f2)])(_0x54f46[_0x38de05(0x1a7)],{}),(0x0,_0x232568['jsx'])(_0x54f46[_0x38de05(0x2f0)],{}),(0x0,_0x232568['jsx'])(_0x54f46[_0x38de05(0x33f)],{})]}),[_0x54f46[_0x38de05(0x2b6)][_0x38de05(0x3e4)]]:(0x0,_0x232568['jsx'])(_0x54f46[_0x38de05(0x1a9)],{'defaultValues':_0x35a7fd[_0x38de05(0x23c)],'lineStyleControl':_0x38de05(0x3a4)}),[_0x54f46[_0x38de05(0x2b6)][_0x38de05(0x1f7)]]:(0x0,_0x232568[_0x38de05(0x102)])(_0x54f46['ChartWordCloudRoot'],{'children':[(0x0,_0x232568[_0x38de05(0x2f2)])(_0x54f46[_0x38de05(0x17f)],{'defaultValues':_0x35a7fd[_0x38de05(0x2b0)]}),(0x0,_0x232568['jsx'])(_0x54f46[_0x38de05(0x108)],{'defaultValues':_0x35a7fd[_0x38de05(0x2b0)]})]}),[_0x54f46[_0x38de05(0x2b6)][_0x38de05(0x38c)]]:(0x0,_0x232568[_0x38de05(0x2f2)])(_0x54f46[_0x38de05(0x16e)],{'defaultValues':_0x35a7fd[_0x38de05(0x285)]}),[_0x54f46['ChartEditPanelSection'][_0x38de05(0x36d)]]:(0x0,_0x232568[_0x38de05(0x2f2)])(_0x54f46[_0x38de05(0x1f4)],{'defaultValues':_0x35a7fd['waterfallStyle'],'NumberFormatField':_0x54f46[_0x38de05(0x222)],'selectedSeriesId':(_0x259d75=_0x450b56[_0x38de05(0x268)])==null?void 0x0:_0x259d75[_0x38de05(0x2f7)]}),[_0x54f46[_0x38de05(0x2b6)][_0x38de05(0x2ee)]]:(0x0,_0x232568[_0x38de05(0x2f2)])(_0x54f46[_0x38de05(0x1bc)],{'defaultValues':_0x35a7fd['pareto'],'NumberFormatField':_0x54f46[_0x38de05(0x222)],'showDataPointEditor':!0x0,'target':_0x38de05(0x3b5)}),[_0x54f46[_0x38de05(0x2b6)][_0x38de05(0x340)]]:(0x0,_0x232568[_0x38de05(0x2f2)])(_0x54f46[_0x38de05(0x1bc)],{'defaultValues':_0x35a7fd[_0x38de05(0x326)],'NumberFormatField':_0x54f46[_0x38de05(0x222)],'showDataPointEditor':!0x0,'target':_0x38de05(0x10b)}),[_0x54f46[_0x38de05(0x2b6)][_0x38de05(0x32f)]]:(0x0,_0x232568[_0x38de05(0x2f2)])(_0x54f46[_0x38de05(0x200)],{'defaultValues':_0x35a7fd[_0x38de05(0x3c3)],'NumberFormatField':_0x54f46[_0x38de05(0x222)]}),[_0x54f46[_0x38de05(0x2b6)][_0x38de05(0x34e)]]:(0x0,_0x232568[_0x38de05(0x2f2)])(_0x54f46['ChartFunnelStyleSection'],{'defaultValues':_0x35a7fd['funnel'],'gapControl':_0x38de05(0x251)}),[_0x54f46['ChartEditPanelSection'][_0x38de05(0x356)]]:(0x0,_0x232568['jsx'])(_0x54f46[_0x38de05(0x2e2)],{'defaultValues':_0x35a7fd[_0x38de05(0x361)]}),[_0x54f46[_0x38de05(0x2b6)][_0x38de05(0x34b)]]:(0x0,_0x232568[_0x38de05(0x2f2)])(_0x54f46['ChartRelationStyleSection'],{'defaultValues':_0x35a7fd['relation']}),[_0x54f46[_0x38de05(0x2b6)][_0x38de05(0x353)]]:(0x0,_0x232568[_0x38de05(0x2f2)])(_0x54f46['ChartLegendRoot'],{'defaultValues':_0x35a7fd['legend'],'children':(0x0,_0x232568['jsxs'])(_0x38de05(0x11c),{'className':_0x38de05(0x21a),'children':[(0x0,_0x232568['jsx'])(_0x54f46[_0x38de05(0x2f9)],{}),(0x0,_0x232568[_0x38de05(0x2f2)])(_0x54f46[_0x38de05(0x11f)],{}),(0x0,_0x232568[_0x38de05(0x2f2)])(_0x54f46[_0x38de05(0x1bd)],{}),(0x0,_0x232568[_0x38de05(0x2f2)])(_0x54f46[_0x38de05(0x2fa)],{})]})}),[_0x54f46[_0x38de05(0x2b6)][_0x38de05(0x1d6)]]:(0x0,_0x232568[_0x38de05(0x2f2)])(_0xa2f47e,{'axis':'x'}),[_0x54f46[_0x38de05(0x2b6)][_0x38de05(0x3d4)]]:(0x0,_0x232568[_0x38de05(0x2f2)])(_0xa2f47e,{'axis':'y'}),[_0x54f46['ChartEditPanelSection'][_0x38de05(0x21c)]]:(0x0,_0x232568[_0x38de05(0x2f2)])(_0xa2f47e,{'axis':'rightY'}),[_0x54f46[_0x38de05(0x2b6)][_0x38de05(0x329)]]:(0x0,_0x232568['jsxs'])('div',{'className':_0x38de05(0x32c),'children':[(0x0,_0x232568[_0x38de05(0x2f2)])(_0x54f46[_0x38de05(0x2e5)],{'axis':'x','defaultValues':_0x35a7fd[_0x38de05(0x377)],'label':_0x40e5e5['t'](_0x38de05(0x25c))}),(0x0,_0x232568['jsx'])(_0x54f46[_0x38de05(0x2e5)],{'axis':'y','defaultValues':_0x35a7fd[_0x38de05(0x377)],'label':_0x40e5e5['t'](_0x38de05(0x1af))}),(0x0,_0x232568[_0x38de05(0x102)])(_0x38de05(0x11c),{'className':'univer-grid\x20univer-grid-cols-2\x20univer-gap-2','children':[(0x0,_0x232568[_0x38de05(0x2f2)])(_0x54f46[_0x38de05(0x26a)],{'axis':'x','defaultValues':_0x35a7fd[_0x38de05(0x377)]}),(0x0,_0x232568[_0x38de05(0x2f2)])(_0x54f46[_0x38de05(0x26a)],{'axis':'y','defaultValues':_0x35a7fd[_0x38de05(0x377)]})]})]}),[_0x54f46[_0x38de05(0x2b6)][_0x38de05(0x26f)]]:(0x0,_0x232568[_0x38de05(0x102)])(_0x38de05(0x11c),{'className':_0x38de05(0x32c),'children':[(0x0,_0x232568[_0x38de05(0x2f2)])(_0x54f46['ChartIndicatorLineColorField'],{'defaultValues':_0x35a7fd[_0x38de05(0x20f)]}),(0x0,_0x232568[_0x38de05(0x2f2)])(_0x54f46[_0x38de05(0x2bc)],{'defaultValues':_0x35a7fd['indicatorLine']})]}),[_0x54f46[_0x38de05(0x2b6)][_0x38de05(0x294)]]:_0x534033,[_0x54f46['ChartEditPanelSection']['Histogram']]:_0x534033,[_0x54f46[_0x38de05(0x2b6)][_0x38de05(0xf6)]]:_0x534033,[_0x54f46[_0x38de05(0x2b6)]['Sunburst']]:_0x534033,[_0x54f46[_0x38de05(0x2b6)]['Gauge']]:_0x534033,[_0x54f46['ChartEditPanelSection'][_0x38de05(0x31f)]]:_0x534033};return(0x0,_0x232568['jsx'])(_0x54f46[_0x38de05(0x218)],{'value':_0xc55831,'onChange':_0x2dc629,'children':_0x5e4351(_0x14a3a7,_0x2f005a)[_0x38de05(0x182)](_0x300caf=>(0x0,_0x232568['jsx'])(_0x1f0c37,{'id':_0x300caf,'label':_0x782b7[_0x300caf],'children':_0x35bfe3[_0x300caf]},_0x300caf))});}function _0x3eb499(_0x5bce4f){const _0x59608a=_0x5555b0;var _0x48b620;let _0x3a527c=(0x0,_0x1e1dce['useDependency'])(_0x47edb2['LocaleService']),[_0x21f723,_0x13c4ff]=(0x0,_0x4c966c[_0x59608a(0x38b)])(((_0x48b620=_0x5bce4f[_0x59608a(0xf9)])==null?void 0x0:_0x48b620[_0x59608a(0x1a8)])??_0x54f46[_0x59608a(0x1d7)]['Data']),_0x2a4cf8=(0x0,_0x4c966c['useMemo'])(()=>(0x0,_0x54f46[_0x59608a(0x373)])(_0x54f46['CHART_TYPE_CATALOG'][_0x59608a(0x182)](_0x15c417=>({..._0x15c417,'label':_0x3a527c['t'](_0x59608a(0x1c1)+_0x15c417[_0x59608a(0x257)])}))),[_0x3a527c]);return(0x0,_0x4c966c[_0x59608a(0x365)])(()=>{const _0x5170e6=_0x59608a;var _0x2f0cc8;(_0x2f0cc8=_0x5bce4f[_0x5170e6(0xf9)])!=null&&_0x2f0cc8[_0x5170e6(0x1a8)]&&_0x13c4ff(_0x5bce4f['initialRoute'][_0x5170e6(0x1a8)]);},[_0x5bce4f['initialRoute']]),(0x0,_0x232568[_0x59608a(0x102)])(_0x59608a(0x11c),{'className':_0x59608a(0x232),'children':[(0x0,_0x232568[_0x59608a(0x2f2)])(_0x54f46[_0x59608a(0x3b3)],{'ariaLabel':_0x3a527c['t'](_0x59608a(0x303)),'className':_0x59608a(0x1eb),'items':[{'label':_0x3a527c['t']('docs-chart-ui.common.setup'),'panelId':_0x25cf52,'value':_0x54f46[_0x59608a(0x1d7)][_0x59608a(0x3cb)]},{'label':_0x3a527c['t'](_0x59608a(0x191)),'panelId':_0x5021b0,'value':_0x54f46[_0x59608a(0x1d7)][_0x59608a(0x314)]}],'value':_0x21f723,'onChange':_0x13c4ff}),_0x21f723===_0x54f46['ChartEditPanelTab'][_0x59608a(0x3cb)]?(0x0,_0x232568[_0x59608a(0x2f2)])(_0x54f46['ChartEditPanel'],{'id':_0x25cf52,'label':_0x3a527c['t'](_0x59608a(0x10d)),'children':(0x0,_0x232568[_0x59608a(0x102)])('div',{'className':_0x59608a(0x2f1),'children':[(0x0,_0x232568['jsx'])(_0x54f46[_0x59608a(0x298)],{'options':_0x2a4cf8,'onChange':_0x5bce4f['onPreviewChartTypeChange']}),(0x0,_0x232568[_0x59608a(0x2f2)])(_0x54f46[_0x59608a(0x369)],{}),(0x0,_0x232568[_0x59608a(0x2f2)])(_0x54f46[_0x59608a(0x3bf)],{}),(0x0,_0x232568['jsx'])(_0x22fa5a,{}),(0x0,_0x232568[_0x59608a(0x2f2)])(_0x54f46[_0x59608a(0x1b2)],{}),(0x0,_0x232568[_0x59608a(0x102)])(_0x59608a(0x11c),{'children':[(0x0,_0x232568[_0x59608a(0x2f2)])(_0x54f46[_0x59608a(0x187)],{'title':_0x3a527c['t'](_0x59608a(0x347))}),(0x0,_0x232568['jsx'])(_0x5c2852[_0x59608a(0x1a3)],{'className':_0x59608a(0x3f4),'onClick':_0x5bce4f['onModifyData'],'children':_0x3a527c['t'](_0x59608a(0x259))})]}),(0x0,_0x232568[_0x59608a(0x2f2)])(_0x54f46[_0x59608a(0x1a1)],{}),(0x0,_0x232568[_0x59608a(0x2f2)])(_0x54f46[_0x59608a(0x1dc)],{}),(0x0,_0x232568[_0x59608a(0x2f2)])(_0x54f46[_0x59608a(0x404)],{'defaultValues':_0x35a7fd[_0x59608a(0x1c4)]})]})}):(0x0,_0x232568['jsx'])(_0x54f46['ChartEditPanel'],{'id':_0x5021b0,'label':_0x3a527c['t'](_0x59608a(0x191)),'children':(0x0,_0x232568[_0x59608a(0x2f2)])(_0x745dd1,{'route':_0x5bce4f['initialRoute']})}),_0x5bce4f[_0x59608a(0x277)]&&(0x0,_0x232568[_0x59608a(0x2f2)])(_0x59608a(0x11c),{'className':_0x59608a(0x2e1),'children':(0x0,_0x232568[_0x59608a(0x2f2)])(_0x5c2852['Button'],{'type':_0x59608a(0x19d),'variant':'default','onClick':_0x5bce4f['onClose'],'children':_0x3a527c['t'](_0x59608a(0x32b))})})]});}let _0x25cf52=_0x5555b0(0x13d),_0x5021b0=_0x5555b0(0x3ee);function _0x5003f3(_0x5636f8){'@babel/helpers - typeof';const _0x368d5e=_0x5555b0;return _0x5003f3=typeof Symbol=='function'&&typeof Symbol[_0x368d5e(0x1ef)]==_0x368d5e(0x220)?function(_0x3df2f8){return typeof _0x3df2f8;}:function(_0x247508){const _0x10beed=_0x368d5e;return _0x247508&&typeof Symbol==_0x10beed(0x307)&&_0x247508['constructor']===Symbol&&_0x247508!==Symbol[_0x10beed(0x305)]?_0x10beed(0x220):typeof _0x247508;},_0x5003f3(_0x5636f8);}function _0x568123(_0x54ec90,_0xda46bc){const _0x5540d9=_0x5555b0;if(_0x5003f3(_0x54ec90)!=_0x5540d9(0x18c)||!_0x54ec90)return _0x54ec90;var _0x102547=_0x54ec90[Symbol[_0x5540d9(0x3ad)]];if(_0x102547!==void 0x0){var _0x1a719f=_0x102547['call'](_0x54ec90,_0xda46bc||'default');if(_0x5003f3(_0x1a719f)!=_0x5540d9(0x18c))return _0x1a719f;throw TypeError(_0x5540d9(0x168));}return(_0xda46bc===_0x5540d9(0x262)?String:Number)(_0x54ec90);}function _0x4f0596(_0x50c9b4){const _0x4c49f7=_0x5555b0;var _0x6c34e3=_0x568123(_0x50c9b4,_0x4c49f7(0x262));return _0x5003f3(_0x6c34e3)==_0x4c49f7(0x220)?_0x6c34e3:_0x6c34e3+'';}function _0xf1bfd(_0x266342,_0x472a86,_0x3099f0){const _0x5e7fd8=_0x5555b0;return(_0x472a86=_0x4f0596(_0x472a86))in _0x266342?Object[_0x5e7fd8(0x11a)](_0x266342,_0x472a86,{'value':_0x3099f0,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x266342[_0x472a86]=_0x3099f0,_0x266342;}var _0x5faa7a=class extends _0x47edb2[_0x5555b0(0x1a0)]{constructor(_0x5d37a3,_0x5ba846,_0xd5adbd,_0xd10cba,_0x47b93a=!0x0,_0x16c2eb){const _0x1a016b=_0x5555b0;super(),this['chartId']=_0x5d37a3,this[_0x1a016b(0xf2)]=_0x5ba846,this[_0x1a016b(0x3cc)]=_0xd5adbd,this[_0x1a016b(0x2c2)]=_0xd10cba,this['_manageHostSize']=_0x47b93a,this[_0x1a016b(0x11d)]=_0x16c2eb,_0xf1bfd(this,'mode',_0x225029[_0x1a016b(0x345)][_0x1a016b(0x2f6)]),_0xf1bfd(this,_0x1a016b(0xf4),null),_0xf1bfd(this,'_mountNode',null),_0xf1bfd(this,'_hostStyle',{});}[_0x5555b0(0x1b8)](){const _0x15bcf0=_0x5555b0;var _0x581631;let _0x26bbd2=(_0x581631=this[_0x15bcf0(0x2c2)])==null?void 0x0:_0x581631[_0x15bcf0(0x3c1)](this);if(_0x26bbd2)return{'width':Math[_0x15bcf0(0x1b4)](0x1,_0x26bbd2[_0x15bcf0(0x351)]),'height':Math[_0x15bcf0(0x1b4)](0x1,_0x26bbd2[_0x15bcf0(0x213)])};let _0x1385eb=this[_0x15bcf0(0xf2)][_0x15bcf0(0x31b)]();return{'width':Math[_0x15bcf0(0x1b4)](0x1,_0x1385eb[_0x15bcf0(0x351)]),'height':Math[_0x15bcf0(0x1b4)](0x1,_0x1385eb['height'])};}[_0x5555b0(0x208)](_0x16841f){const _0x5ccdfd=_0x5555b0;this[_0x5ccdfd(0x2b2)]=_0x16841f,this[_0x5ccdfd(0xf4)]&&this[_0x5ccdfd(0x3cc)](this[_0x5ccdfd(0xf4)],_0x16841f);}async['ensureMount'](){const _0x2dbcc1=_0x5555b0;if(!this[_0x2dbcc1(0x36e)]){let _0xa96ff6=document[_0x2dbcc1(0x379)](_0x2dbcc1(0x11c));_0xa96ff6['style']['position']=_0x2dbcc1(0x159),_0xa96ff6[_0x2dbcc1(0x16a)][_0x2dbcc1(0x137)]='0',_0xa96ff6['style'][_0x2dbcc1(0x1c8)]='0';let _0x4f28f8=document[_0x2dbcc1(0x379)]('div');_0x4f28f8[_0x2dbcc1(0x16a)][_0x2dbcc1(0x3b4)]='relative',_0x4f28f8[_0x2dbcc1(0x16a)][_0x2dbcc1(0x2d5)]='0',_0x4f28f8[_0x2dbcc1(0x16a)][_0x2dbcc1(0x25b)]=_0x2dbcc1(0x37f),_0x4f28f8[_0x2dbcc1(0x16a)]['overflow']=_0x2dbcc1(0x158),_0x4f28f8[_0x2dbcc1(0x1a6)]=_0x2dbcc1(0x27f),_0xa96ff6[_0x2dbcc1(0x2b4)](_0x4f28f8),this[_0x2dbcc1(0xf2)]['appendChild'](_0xa96ff6),this[_0x2dbcc1(0xf4)]=_0xa96ff6,this[_0x2dbcc1(0x36e)]=_0x4f28f8,this[_0x2dbcc1(0x3cc)](_0xa96ff6,this[_0x2dbcc1(0x2b2)]);}return this[_0x2dbcc1(0x13e)](),this[_0x2dbcc1(0x36e)];}['checkMounted'](){const _0x413eaa=_0x5555b0;return!!(this[_0x413eaa(0x36e)]&&this[_0x413eaa(0xf2)][_0x413eaa(0x3fa)](this['_mountNode']));}['syncLayout'](){const _0x38bd3d=_0x5555b0;var _0x422df9;let _0x2399a1=this[_0x38bd3d(0x1b8)](),_0x22c6b7=(_0x422df9=this[_0x38bd3d(0x11d)])==null?void 0x0:_0x422df9[_0x38bd3d(0x3c1)](this),_0x27f26a=(_0x22c6b7==null?void 0x0:_0x22c6b7[_0x38bd3d(0x1ac)])??0x1,_0x3e7f87=(_0x22c6b7==null?void 0x0:_0x22c6b7[_0x38bd3d(0x1bf)])??0x1;this['_manageHostSize']&&this['_setElementSize'](this[_0x38bd3d(0xf2)],{'width':_0x2399a1[_0x38bd3d(0x351)]*_0x27f26a,'height':_0x2399a1[_0x38bd3d(0x213)]*_0x3e7f87}),this[_0x38bd3d(0xf4)]&&(this[_0x38bd3d(0x28b)](this[_0x38bd3d(0xf4)],_0x2399a1),this[_0x38bd3d(0x11d)]&&(this['_frameNode'][_0x38bd3d(0x16a)][_0x38bd3d(0x348)]=_0x38bd3d(0x138)+_0x27f26a+',\x20'+_0x3e7f87+')',this['_frameNode'][_0x38bd3d(0x16a)][_0x38bd3d(0x3ba)]='top\x20left')),this[_0x38bd3d(0x36e)]&&this['_setElementSize'](this[_0x38bd3d(0x36e)],this[_0x38bd3d(0x135)](_0x2399a1));}['markReady'](){}[_0x5555b0(0x35f)](){}[_0x5555b0(0xf3)](){const _0x5e2cbf=_0x5555b0;var _0x591449;(_0x591449=this[_0x5e2cbf(0xf4)])==null||_0x591449[_0x5e2cbf(0x300)](),this[_0x5e2cbf(0xf4)]=null,this[_0x5e2cbf(0x36e)]=null,super[_0x5e2cbf(0xf3)]();}['_setElementSize'](_0x400e75,_0x4dfca6){const _0x5ceda5=_0x5555b0;_0x400e75[_0x5ceda5(0x16a)][_0x5ceda5(0x351)]=_0x4dfca6[_0x5ceda5(0x351)]+'px',_0x400e75[_0x5ceda5(0x16a)][_0x5ceda5(0x213)]=_0x4dfca6[_0x5ceda5(0x213)]+'px';}[_0x5555b0(0x135)](_0x1ffe64){const _0x5f5ce8=_0x5555b0;if(!(0x0,_0x225029[_0x5f5ce8(0x30e)])(this[_0x5f5ce8(0x2b2)]))return _0x1ffe64;let _0x3060fd=(0x0,_0x225029[_0x5f5ce8(0x1e2)])(_0x1ffe64,this[_0x5f5ce8(0x2b2)]);return{'width':_0x3060fd['width'],'height':_0x3060fd[_0x5f5ce8(0x213)]};}};function _0x2705b1(_0x142b2d){const _0x318f34=_0x5555b0;var _0x259d73;let _0x560285=(_0x259d73=_0x142b2d['match'](/^#([\da-f]{3}|[\da-f]{6})$/i))==null?void 0x0:_0x259d73[0x1];if(_0x560285){let _0x4db542=_0x560285[_0x318f34(0x317)]===0x3?_0x560285[_0x318f34(0x250)]('')[_0x318f34(0x182)](_0x47eab4=>''+_0x47eab4+_0x47eab4)[_0x318f34(0x35c)](''):_0x560285;return'rgb('+Number['parseInt'](_0x4db542[_0x318f34(0x1fe)](0x0,0x2),0x10)+',\x20'+Number[_0x318f34(0x337)](_0x4db542[_0x318f34(0x1fe)](0x2,0x4),0x10)+',\x20'+Number[_0x318f34(0x337)](_0x4db542[_0x318f34(0x1fe)](0x4,0x6),0x10)+')';}let _0x4067a1=document[_0x318f34(0x379)](_0x318f34(0x320));return _0x4067a1[_0x318f34(0x16a)]['color']=_0x142b2d,_0x4067a1[_0x318f34(0x16a)][_0x318f34(0x28c)]||_0x142b2d;}let _0x3de2c7=class extends _0x47edb2[_0x5555b0(0x1a0)]{constructor(_0x49760d,_0x1ce1e0,_0x3916d4){const _0x47aea5=_0x5555b0;super(),this[_0x47aea5(0x2ad)]=_0x49760d,this[_0x47aea5(0x293)]=_0x1ce1e0,this[_0x47aea5(0x35d)]=_0x3916d4;}['createChartInstance'](_0x234070){const _0x3a0c66=_0x5555b0;return _0x234070?this[_0x3a0c66(0x35d)][_0x3a0c66(0x349)](_0x234070,this['_createChartRenderInstanceContext']()):this['_renderModelManager']['createChartInstance']();}['createRenderInput'](_0x150600){const _0xedb92d=_0x5555b0;let _0x1c4428=_0x150600[_0xedb92d(0x136)][_0xedb92d(0x119)];if(!_0x1c4428)throw Error(_0xedb92d(0x15e)+_0x150600[_0xedb92d(0x387)]+_0xedb92d(0x316));let _0x406092=this[_0xedb92d(0x2ad)][_0xedb92d(0x398)]();return{'chartConfig':_0x1c4428,'chartStyle':(0x0,_0x225029[_0xedb92d(0x14b)])({..._0x150600[_0xedb92d(0x136)][_0xedb92d(0x16a)],'runtime':_0x150600[_0xedb92d(0x136)][_0xedb92d(0x37b)](_0x406092),'direction':_0x406092},_0x1c4428[_0xedb92d(0x103)])};}['createRenderSpec'](_0x18e213,_0x598e90,_0x40f7f0){const _0x173cb2=_0x5555b0;let {chartConfig:_0x408ff3,chartStyle:_0x512718}=this[_0x173cb2(0x16c)](_0x18e213),_0x31aaa4=this[_0x173cb2(0x35d)][_0x173cb2(0x178)]();return{'spec':_0x31aaa4['stylizeSpec'](_0x31aaa4[_0x173cb2(0x401)](_0x408ff3,_0x512718),{'chartConfig':_0x408ff3,'chartStyle':_0x512718,'chartInstance':_0x40f7f0},_0x598e90),'chartConfig':_0x408ff3,'chartStyle':_0x512718,'hostStyle':this[_0x173cb2(0x1d1)](_0x512718)};}['getHostStyle'](_0x3c9fe4){const _0x26fb64=_0x5555b0;return(0x0,_0x225029[_0x26fb64(0x142)])({'style':_0x3c9fe4,'getRenderColor':_0x129a68=>this[_0x26fb64(0x293)][_0x26fb64(0x1b1)](_0x129a68)});}[_0x5555b0(0x2ba)](_0x130236,_0x288e8b){const _0x1e7a22=_0x5555b0;var _0x29db75;let _0x4289d8=(_0x29db75=_0x288e8b[_0x1e7a22(0x2d5)])!=null&&_0x29db75[_0x1e7a22(0x28c)]&&_0x288e8b[_0x1e7a22(0x2d5)][_0x1e7a22(0x351)]?_0x288e8b[_0x1e7a22(0x2d5)][_0x1e7a22(0x351)]+_0x1e7a22(0x2be)+_0x2705b1(_0x288e8b[_0x1e7a22(0x2d5)][_0x1e7a22(0x28c)]):'';_0x130236[_0x1e7a22(0x16a)][_0x1e7a22(0x2d5)]=_0x4289d8,_0x130236[_0x1e7a22(0x16a)][_0x1e7a22(0x1cf)]=_0x288e8b[_0x1e7a22(0x123)]?_0x2705b1(_0x288e8b[_0x1e7a22(0x123)]):_0x1e7a22(0x1de),_0x130236[_0x1e7a22(0x16a)]['borderRadius']=_0x288e8b[_0x1e7a22(0x174)]?_0x288e8b[_0x1e7a22(0x174)]+'px':'',_0x130236[_0x1e7a22(0x16a)][_0x1e7a22(0x3e8)]='hidden',_0x130236[_0x1e7a22(0x16a)]['boxSizing']=_0x1e7a22(0x1e6);}[_0x5555b0(0x192)](){const _0x58a184=_0x5555b0;return{'resolveHostStyle':({style:_0x3f88cb})=>this[_0x58a184(0x1d1)](_0x3f88cb),'resolveRenderBackgroundColor':({hostStyle:_0x274447})=>_0x274447[_0x58a184(0x123)],'prepareSpec':({mode:_0x5a7f7e,spec:_0x2f30d8})=>_0x5a7f7e===_0x58a184(0x19c)?{..._0x2f30d8,'animation':!0x1,'tooltip':{'show':!0x1}}:_0x2f30d8};}['dispose'](){const _0x12b8cf=_0x5555b0;super[_0x12b8cf(0xf3)]();}};_0x3de2c7=_0x187f80([_0x255c81(0x0,(0x0,_0x47edb2[_0x5555b0(0x3ed)])(_0x47edb2['LocaleService'])),_0x255c81(0x1,(0x0,_0x47edb2['Inject'])(_0x225029[_0x5555b0(0x3a7)])),_0x255c81(0x2,_0x225029[_0x5555b0(0x270)])],_0x3de2c7);var _0x5eaecc=class extends _0x225029[_0x5555b0(0x1ae)]{constructor(_0x498163){const _0x3e4cdb=_0x5555b0;super(),this[_0x3e4cdb(0x190)](_0x498163);}};function _0x4cf14c(_0x316a82,_0x5902cb,_0x713e5e,_0x4e6141,_0x11701a,_0x160463,_0x1f502e){const _0x9e3e70=_0x5555b0;let _0x5b1b3d=new _0x5eaecc((0x0,_0x225029[_0x9e3e70(0x3a8)])((0x0,_0x54f46['compactInlineTableValues'])(_0x5902cb),{'context':_0x4e6141})),_0x1c669c=new _0x225029[(_0x9e3e70(0x2fb))](_0x316a82,{'chartType':_0x713e5e,'dataSource':_0x5b1b3d,'dataAggregation':_0x11701a,'style':_0x160463},_0x1f502e);return _0x1c669c[_0x9e3e70(0x2b1)](),_0x1c669c['setChartContext']((_0x4e6141==null?void 0x0:_0x4e6141[_0x9e3e70(0x2a5)])===void 0x0?(0x0,_0x225029[_0x9e3e70(0x2c7)])(_0x5b1b3d[_0x9e3e70(0x1ec)](),_0x1c669c[_0x9e3e70(0x3c9)],_0x713e5e):(0x0,_0x225029[_0x9e3e70(0x291)])(_0x5b1b3d['getDataSet'](),_0x4e6141[_0x9e3e70(0x2a5)],!0x1)),{'unitId':_0x9e3e70(0x16f),'chartId':_0x316a82,'dataSourceId':_0x316a82+_0x9e3e70(0x10f),'model':_0x1c669c,'source':_0x5b1b3d};}function _0x3b0bfe(_0x30849a){const _0x2816e9=_0x5555b0;let _0x568b14=(0x0,_0x1e1dce[_0x2816e9(0x1d9)])(_0x47edb2[_0x2816e9(0x302)]),_0x3a2025=(0x0,_0x1e1dce[_0x2816e9(0x1d9)])(_0x47edb2[_0x2816e9(0x248)]),_0x1fe47c=(0x0,_0x1e1dce['useDependency'])(_0x3de2c7),_0x20dd7c=(0x0,_0x4c966c[_0x2816e9(0x2ab)])(null),_0x34c072=(0x0,_0x4c966c[_0x2816e9(0x2ab)])(null),_0x214620=(0x0,_0x4c966c[_0x2816e9(0x2ab)])(_0x2816e9(0x3b8)+(0x0,_0x47edb2[_0x2816e9(0x3df)])(0x8)),[_0x246913,_0x3d9740]=(0x0,_0x4c966c[_0x2816e9(0x38b)])(null);return(0x0,_0x4c966c[_0x2816e9(0x365)])(()=>{const _0x106185=_0x2816e9;let _0x138c59=_0x20dd7c[_0x106185(0x3cd)];if(!_0x138c59)return;_0x3d9740(null),_0x138c59[_0x106185(0x25d)](),_0x34c072[_0x106185(0x3cd)]=_0x41e5bc(_0x138c59);let _0x4d9276=!0x1,_0xc2caf=_0x420fe5=>{_0x4d9276||_0x3d9740(_0x420fe5);},_0xf2933b=null,_0x5809d5=null,_0x112c33=null;try{_0xf2933b=_0x4cf14c(_0x214620[_0x106185(0x3cd)],_0x30849a[_0x106185(0x2cc)],_0x30849a[_0x106185(0x341)],_0x30849a[_0x106185(0x3c9)],_0x30849a[_0x106185(0x29c)],_0x30849a['style'],_0x3a2025),_0x5809d5=new _0x5faa7a(_0xf2933b[_0x106185(0x387)],_0x138c59,(_0x4f1579,_0x3c6887)=>_0x1fe47c['applyHostStyle'](_0x4f1579,_0x3c6887),()=>_0x34c072[_0x106185(0x3cd)]??_0x41e5bc(_0x138c59),!0x1),_0x112c33=_0x1fe47c[_0x106185(0x349)](_0x225029['ChartRenderMode']['Dom']),_0x112c33['bind'](_0x5809d5);}catch(_0x45ccc4){return _0xc2caf(_0x45ccc4),()=>{const _0x115c84=_0x106185;_0x4d9276=!0x0,_0x138c59[_0x115c84(0x25d)]();};}if(!_0xf2933b||!_0x5809d5||!_0x112c33)return()=>{const _0x2eb7a3=_0x106185;_0x4d9276=!0x0,_0x138c59[_0x2eb7a3(0x25d)]();};let _0x43c00=_0xf2933b,_0x2ea1a5=_0x5809d5,_0x174d4f=_0x112c33,_0x59d995=()=>{const _0x1ed542=_0x106185;let _0x482c51,_0x1a8799;try{({chartConfig:_0x482c51,chartStyle:_0x1a8799}=_0x1fe47c['createRenderInput'](_0x43c00));}catch(_0x2ae5cf){_0xc2caf(_0x2ae5cf);return;}_0x174d4f['render']({'chartId':_0x43c00[_0x1ed542(0x387)],'config':_0x482c51,'style':_0x1a8799})[_0x1ed542(0x372)](()=>{_0x4d9276||_0x3d9740(null);})['catch'](_0xc2caf);},_0x37bebf=_0x43c00[_0x106185(0x136)]['config$']['subscribe'](_0x76f84e=>{_0x76f84e&&_0x59d995();}),_0x178338=typeof ResizeObserver>'u'?null:new ResizeObserver(_0x25807a=>{const _0x63787a=_0x106185;var _0x3f9cd1;let _0x572362=(_0x3f9cd1=_0x25807a[0x0])==null?void 0x0:_0x3f9cd1[_0x63787a(0x380)];_0x34c072[_0x63787a(0x3cd)]=_0x572362&&_0x572362[_0x63787a(0x351)]>0x0&&_0x572362[_0x63787a(0x213)]>0x0?{'width':_0x572362[_0x63787a(0x351)],'height':_0x572362[_0x63787a(0x213)]}:_0x41e5bc(_0x138c59),_0x59d995();});return _0x178338==null||_0x178338[_0x106185(0x236)](_0x138c59),()=>{const _0x33f606=_0x106185;_0x4d9276=!0x0,_0x37bebf[_0x33f606(0x17c)](),_0x178338==null||_0x178338[_0x33f606(0x383)](),_0x174d4f[_0x33f606(0xf3)](),_0x2ea1a5[_0x33f606(0xf3)](),_0x43c00['model'][_0x33f606(0xf3)](),_0x43c00['source'][_0x33f606(0xf3)](),_0x138c59['replaceChildren']();};},[_0x3a2025,_0x30849a['chartType'],_0x30849a['context'],_0x30849a['dataAggregation'],_0x30849a['style'],_0x30849a['values'],_0x1fe47c]),(0x0,_0x232568['jsxs'])(_0x2816e9(0x11c),{'className':_0x2816e9(0x18d),'children':[(0x0,_0x232568['jsx'])('div',{'ref':_0x20dd7c,'className':_0x2816e9(0xfa)}),_0x246913!=null&&(0x0,_0x232568[_0x2816e9(0x2f2)])(_0x2816e9(0x11c),{'className':_0x2816e9(0x122),'children':_0x568b14['t'](_0x2816e9(0x1ea))})]});}function _0x41e5bc(_0x53f968){const _0x4faf2b=_0x5555b0;let _0x3aab93=_0x53f968[_0x4faf2b(0x31b)]();return _0x3aab93[_0x4faf2b(0x351)]<=0x0||_0x3aab93[_0x4faf2b(0x213)]<=0x0?null:{'width':_0x3aab93[_0x4faf2b(0x351)],'height':_0x3aab93[_0x4faf2b(0x213)]};}let _0x4b7b1f=_0x5555b0(0x3d8),_0x1f8c36=_0x5555b0(0x24b);function _0x39766c(_0x5a7eb9){const _0x343442=_0x5555b0;var _0x440ec4,_0x5b8230,_0x33bc16;let {unitId:_0x27ad17,chartId:_0x258270,drawingId:_0x5e3b64}=_0x5a7eb9,_0x33c5bc=(0x0,_0x1e1dce[_0x343442(0x1d9)])(_0x47edb2['LocaleService']),_0x5af20d=(0x0,_0x1e1dce[_0x343442(0x1d9)])(_0x47edb2[_0x343442(0x248)]),_0x33589d=(0x0,_0x1e1dce['useDependency'])(_0x47edb2[_0x343442(0x1fa)]),_0x52df92=(0x0,_0x1e1dce['useDependency'])(_0x225029['ChartResourceRepository']),_0x31df57=(0x0,_0x1e1dce[_0x343442(0x1d9)])(_0x5e3af7[_0x343442(0x223)]),_0x405f56=(0x0,_0x1e1dce['useDependency'])(_0x16a879),_0x5ce365=(0x0,_0x1e1dce[_0x343442(0x1d9)])(_0x55ae54),_0x1d6c7f=(0x0,_0x4c966c[_0x343442(0x247)])(()=>_0x405f56[_0x343442(0x364)](_0x27ad17,_0x258270),[_0x258270,_0x405f56,_0x27ad17]),_0x57f2c9=_0x52df92[_0x343442(0x212)](_0x27ad17,_0x258270),_0x2c09a2=(0x0,_0x4c966c[_0x343442(0x247)])(()=>_0x31df57==null?void 0x0:_0x31df57['ensureChartModel'](_0x27ad17,_0x258270),[_0x258270,_0x31df57,_0x27ad17]),_0x36c524=(0x0,_0x1e1dce[_0x343442(0x2ae)])(_0x2c09a2==null?void 0x0:_0x2c09a2[_0x343442(0x136)][_0x343442(0x22b)],(_0x2c09a2==null?void 0x0:_0x2c09a2[_0x343442(0x136)]['chartType'])??(_0x57f2c9==null?void 0x0:_0x57f2c9[_0x343442(0x341)])),_0x3ceae8=(0x0,_0x1e1dce[_0x343442(0x2ae)])(_0x2c09a2==null?void 0x0:_0x2c09a2[_0x343442(0x136)][_0x343442(0x234)],(_0x2c09a2==null?void 0x0:_0x2c09a2[_0x343442(0x136)][_0x343442(0x3c9)])??(_0x57f2c9==null||(_0x440ec4=_0x57f2c9[_0x343442(0x3c9)])==null?void 0x0:_0x440ec4[_0x343442(0x2a5)])),_0x40a69c=(0x0,_0x1e1dce['useObservable'])(_0x2c09a2==null?void 0x0:_0x2c09a2['model']['dataAggregation$'],(_0x2c09a2==null?void 0x0:_0x2c09a2[_0x343442(0x136)][_0x343442(0x29c)])??(_0x57f2c9==null?void 0x0:_0x57f2c9[_0x343442(0x29c)])),_0x5bde1c=(0x0,_0x1e1dce[_0x343442(0x2ae)])(_0x2c09a2==null?void 0x0:_0x2c09a2[_0x343442(0x136)][_0x343442(0x312)],(_0x2c09a2==null?void 0x0:_0x2c09a2[_0x343442(0x136)][_0x343442(0x16a)])??(_0x57f2c9==null?void 0x0:_0x57f2c9['style'])),_0x369ec0=(0x0,_0x1e1dce['useObservable'])((0x0,_0x4c966c[_0x343442(0x247)])(()=>{const _0x4e4548=_0x343442;var _0x59cc9a;return _0x31df57==null||(_0x59cc9a=_0x31df57[_0x4e4548(0x3f6)])==null?void 0x0:_0x59cc9a[_0x4e4548(0x3c1)](_0x31df57,_0x27ad17,_0x258270);},[_0x258270,_0x31df57,_0x27ad17]),_0x31df57==null||(_0x5b8230=_0x31df57[_0x343442(0x16b)])==null?void 0x0:_0x5b8230[_0x343442(0x3c1)](_0x31df57,_0x27ad17,_0x258270)),_0x58eee0=(0x0,_0x4c966c[_0x343442(0x247)])(()=>({..._0x57f2c9==null?void 0x0:_0x57f2c9[_0x343442(0x3c9)],'chartContext':_0x3ceae8}),[_0x57f2c9==null?void 0x0:_0x57f2c9[_0x343442(0x3c9)],_0x3ceae8]),[_0x55e177,_0x4c1647]=(0x0,_0x4c966c[_0x343442(0x38b)])(_0x1d6c7f),[_0x25d588,_0x208fa4]=(0x0,_0x4c966c[_0x343442(0x38b)])(()=>(_0x1d6c7f==null?void 0x0:_0x1d6c7f[_0x343442(0x2cc)][_0x343442(0x182)](_0x4beafb=>[..._0x4beafb]))??[]),[_0x25381a,_0x64795a]=(0x0,_0x4c966c['useState'])(()=>(_0x1d6c7f==null?void 0x0:_0x1d6c7f['values'][_0x343442(0x182)](_0x6304be=>[..._0x6304be]))??[]),[_0x5a2536,_0x470ba3]=(0x0,_0x4c966c[_0x343442(0x38b)])(()=>_0x57f2c9==null?void 0x0:_0x57f2c9[_0x343442(0x341)]),[_0x55c547,_0x975c14]=(0x0,_0x4c966c[_0x343442(0x38b)])(()=>{const _0x1497a5=_0x343442;var _0x3c2fef;return((_0x3c2fef=_0x5a7eb9[_0x1497a5(0x268)])==null?void 0x0:_0x3c2fef[_0x1497a5(0x1a8)])===_0x54f46['ChartEditPanelTab']['Data']?_0x1497a5(0x1ff):_0x1497a5(0x26b);}),[_0x238d98,_0x987059]=(0x0,_0x4c966c[_0x343442(0x38b)])(null),_0x41637c=_0x369ec0==null||(_0x33bc16=_0x369ec0[_0x343442(0x2cc)])==null?void 0x0:_0x33bc16['map'](_0x3bf1a8=>[..._0x3bf1a8]),_0x5f353a=(0x0,_0x4c966c[_0x343442(0x247)])(()=>{const _0x11cb24=_0x343442;var _0x3d4060;let _0x2fd993=_0x33589d['getUnit'](_0x27ad17,_0x47edb2['UniverInstanceType'][_0x11cb24(0x204)]);if(!_0x2c09a2||!_0x2fd993)return null;let _0x21ae07=_0x5e3b64??((_0x3d4060=Object[_0x11cb24(0x2cc)](_0x2fd993[_0x11cb24(0x30c)]()??{})[_0x11cb24(0x261)](_0x7a601c=>_0x7a601c[_0x11cb24(0x387)]===_0x258270))==null?void 0x0:_0x3d4060['drawingId']);return _0x21ae07?new _0x54f46[(_0x11cb24(0xef))](_0x2c09a2[_0x11cb24(0x136)],new _0x5e3af7[(_0x11cb24(0x3e6))]({'unitId':_0x27ad17,'chartId':_0x258270,'drawingId':_0x21ae07,'documentDataModel':_0x2fd993,'injector':_0x5af20d})):null;},[_0x258270,_0x5e3b64,_0x5af20d,_0x2c09a2,_0x27ad17,_0x33589d]);return!_0x55e177||!_0x57f2c9?(0x0,_0x232568[_0x343442(0x2f2)])(_0x343442(0x11c),{'className':'univer-p-4\x20univer-text-sm\x20univer-text-gray-500\x20dark:!univer-text-gray-400','children':_0x33c5bc['t']('docs-chart-ui.chartNotFound')}):(0x0,_0x232568[_0x343442(0x102)])(_0x343442(0x11c),{'className':_0x343442(0x241),'style':{'height':'min(560px,\x20calc(100vh\x20-\x20180px))'},'children':[(0x0,_0x232568[_0x343442(0x2f2)])(_0x54f46[_0x343442(0x3b3)],{'ariaLabel':_0x33c5bc['t'](_0x343442(0x303)),'className':'univer-shrink-0','value':_0x55c547,'items':[{'label':_0x33c5bc['t']('docs-chart-ui.floatMenu.menuTitle.chart'),'panelId':_0x2ff32e,'value':_0x343442(0x26b)},{'label':_0x33c5bc['t']('docs-chart-ui.common.data'),'panelId':_0x5d0432,'value':_0x343442(0x1ff)}],'variant':'segmented','onChange':_0x975c14}),(0x0,_0x232568['jsxs'])(_0x343442(0x11c),{'id':_0x55c547==='data'?_0x5d0432:_0x2ff32e,'aria-labelledby':(_0x55c547==='data'?_0x5d0432:_0x2ff32e)+_0x343442(0x215),'className':_0x343442(0x264),'role':_0x343442(0x405),'children':[_0x55c547==='data'?(0x0,_0x232568[_0x343442(0x2f2)])(_0x365943,{'values':_0x41637c??_0x25d588,'dataSource':_0x55e177[_0x343442(0x177)],'sharingCount':_0x55e177[_0x343442(0x129)],'onCancel':()=>_0x975c14('chart'),'onSubmit':(_0x4471cd,_0x2df014)=>{const _0x1a9805=_0x343442;if(!_0x405f56[_0x1a9805(0x21f)](_0x27ad17,_0x258270,_0x4471cd,_0x2df014)){_0x987059(_0x33c5bc['t'](_0x1a9805(0x1d5)));return;}_0x987059(null);let _0x41a68d=_0x405f56[_0x1a9805(0x364)](_0x27ad17,_0x258270);_0x4c1647(_0x41a68d??_0x55e177),_0x208fa4((_0x41a68d==null?void 0x0:_0x41a68d['values'])??_0x4471cd),_0x64795a((_0x41a68d==null?void 0x0:_0x41a68d[_0x1a9805(0x2cc)])??_0x4471cd),_0x975c14(_0x1a9805(0x26b));},'onDataSourceSubmit':_0x28cb60=>{const _0x287d29=_0x343442;if(!_0x405f56[_0x287d29(0x27c)](_0x27ad17,_0x258270,_0x28cb60)){_0x987059(_0x33c5bc['t']('docs-chart-ui.updateChartFailed'));return;}_0x987059(null),_0x4c1647(_0x405f56['getEditorState'](_0x27ad17,_0x258270)??_0x55e177),_0x975c14('chart');}}):(0x0,_0x232568[_0x343442(0x102)])(_0x343442(0x11c),{'className':'univer-flex\x20univer-size-full\x20univer-min-w-0\x20univer-gap-5','children':[(0x0,_0x232568[_0x343442(0x2f2)])(_0x343442(0x11c),{'className':'univer-min-h-0\x20univer-min-w-0\x20univer-flex-1\x20univer-overflow-hidden','children':(0x0,_0x232568[_0x343442(0x2f2)])(_0x3b0bfe,{'values':_0x41637c??_0x25381a,'chartType':_0x36c524??_0x5a2536??_0x57f2c9[_0x343442(0x341)],'context':_0x58eee0,'dataAggregation':_0x40a69c,'style':_0x5bde1c})}),(0x0,_0x232568[_0x343442(0x102)])(_0x343442(0x11c),{'className':_0x343442(0x3a0),'children':[(0x0,_0x232568[_0x343442(0x2f2)])(_0x343442(0x11c),{'className':_0x343442(0x18b),'children':_0x5f353a?(0x0,_0x232568['jsx'])(_0x54f46[_0x343442(0x33d)],{'chartUIService':_0x5ce365,'hostAdapter':_0x5f353a,'children':(0x0,_0x232568[_0x343442(0x2f2)])(_0x3eb499,{'initialRoute':_0x5a7eb9[_0x343442(0x268)],'onClose':_0x5a7eb9[_0x343442(0x277)],'onPreviewChartTypeChange':_0x470ba3,'onModifyData':()=>_0x975c14('data')})}):(0x0,_0x232568[_0x343442(0x2f2)])(_0x343442(0x11c),{'className':'univer-p-4\x20univer-text-sm\x20univer-text-gray-500\x20dark:!univer-text-gray-400','children':_0x33c5bc['t'](_0x343442(0x2b5))})}),_0x238d98&&(0x0,_0x232568[_0x343442(0x2f2)])('div',{'className':_0x343442(0x2ca),'children':_0x238d98})]})]}),_0x55c547===_0x343442(0x1ff)&&_0x238d98&&(0x0,_0x232568[_0x343442(0x2f2)])('div',{'className':_0x343442(0x130),'children':_0x238d98})]})]});}let _0x2ff32e=_0x5555b0(0x199),_0x5d0432=_0x5555b0(0x310);function _0x440665(_0x55e715,_0x52768e){const _0x30b145=_0x5555b0;var _0x31db22;if(!(_0x52768e!=null&&_0x52768e[_0x30b145(0x3fb)])||_0x52768e[_0x30b145(0x255)]==null)return null;let _0x27766b=_0x52768e[_0x30b145(0x186)]??'';if(_0x27766b!=='')return null;let _0x383b69=(_0x31db22=_0x55e715[_0x30b145(0x33b)](_0x27766b))==null?void 0x0:_0x31db22[_0x30b145(0x3d9)]();if(!_0x383b69)return null;let _0x2acb74=_0x4bae99(_0x383b69,_0x52768e[_0x30b145(0x255)]);if(!_0x3d571a(_0x383b69,_0x2acb74))return null;let _0x3b33ad=_0x33c702(_0x383b69,_0x2acb74);return _0x3b33ad?{'unitId':_0x55e715[_0x30b145(0x388)](),'index':_0x3b33ad['index'],'segmentId':_0x27766b,'breakOffsets':_0x3b33ad[_0x30b145(0x22f)]}:null;}function _0x4bae99(_0x23dcd6,_0x2c9da4){const _0x2b975a=_0x5555b0;return _0x2c9da4===0x0&&_0x23dcd6[_0x2b975a(0x188)][0x0]===_0x47edb2['DataStreamTreeTokenType'][_0x2b975a(0x38d)]?0x1:_0x2c9da4;}function _0x3d571a(_0x96adc7,_0x427976){const _0x38ee84=_0x5555b0;return!(_0xfe9d3b(_0x96adc7[_0x38ee84(0x39e)],_0x427976)||_0x5f0b10(_0x96adc7[_0x38ee84(0x2b3)],_0x427976)||_0x55f86f(_0x96adc7[_0x38ee84(0x167)],_0x427976));}function _0x8c9fb2(_0x163f77,_0x38b205){const _0x1b5bd3=_0x5555b0;let {dataStream:_0x2f67b0}=_0x163f77;if(!_0x2f67b0||_0x38b205<0x0||_0x38b205>=_0x2f67b0[_0x1b5bd3(0x317)])return!0x1;let _0x161ebc=_0x39197a(_0x2f67b0,_0x38b205)+0x1,_0x4ad559=_0x530451(_0x2f67b0,_0x38b205);return _0x161ebc<=_0x4ad559&&_0x2f67b0[_0x1b5bd3(0x1fe)](_0x161ebc,_0x4ad559)[_0x1b5bd3(0x317)]===0x0;}function _0x33c702(_0x47cc63,_0x5d4c4f){let {dataStream:_0x35585}=_0x47cc63;if(!_0x35585||_0x5d4c4f<0x0||_0x5d4c4f>=_0x35585['length'])return null;if(_0x8c9fb2(_0x47cc63,_0x5d4c4f))return{'index':_0x5d4c4f,'breakOffsets':[]};let _0x29cb49=_0x39197a(_0x35585,_0x5d4c4f)+0x1,_0x5e5d1c=_0x530451(_0x35585,_0x5d4c4f);return _0x5d4c4f<=_0x29cb49?{'index':_0x5d4c4f,'breakOffsets':[_0x5d4c4f]}:_0x5d4c4f>=_0x5e5d1c?{'index':_0x5d4c4f+0x1,'breakOffsets':[_0x5d4c4f]}:{'index':_0x5d4c4f+0x1,'breakOffsets':[_0x5d4c4f,_0x5d4c4f+0x1]};}function _0x39197a(_0x4b5fbf,_0x4b5543){const _0x54aff7=_0x5555b0;let _0x5a7e59=Math['max'](0x0,Math[_0x54aff7(0x311)](_0x4b5543-0x1,_0x4b5fbf[_0x54aff7(0x317)]-0x1));return Math[_0x54aff7(0x1b4)](_0x4b5fbf[_0x54aff7(0x173)](_0x47edb2['DataStreamTreeTokenType']['PARAGRAPH'],_0x5a7e59),_0x4b5fbf['lastIndexOf'](_0x47edb2[_0x54aff7(0x26e)][_0x54aff7(0x328)],_0x5a7e59));}function _0x530451(_0x319aad,_0x910388){const _0x518800=_0x5555b0;let _0x365a7e=Math[_0x518800(0x1b4)](0x0,Math['min'](_0x910388,_0x319aad[_0x518800(0x317)]-0x1)),_0x48cba6=_0x319aad[_0x518800(0x165)](_0x47edb2[_0x518800(0x26e)][_0x518800(0x38d)],_0x365a7e),_0x5a41ad=_0x319aad['indexOf'](_0x47edb2[_0x518800(0x26e)][_0x518800(0x328)],_0x365a7e);return _0x48cba6===-0x1&&_0x5a41ad===-0x1?_0x319aad[_0x518800(0x317)]:_0x48cba6===-0x1?_0x5a41ad:_0x5a41ad===-0x1?_0x48cba6:Math[_0x518800(0x311)](_0x48cba6,_0x5a41ad);}function _0xfe9d3b(_0x2de39b,_0x2c94e0){const _0x50089c=_0x5555b0;return!!(_0x2de39b!=null&&_0x2de39b['some'](_0x52cdfb=>_0x52cdfb[_0x50089c(0x1f2)]<=_0x2c94e0&&_0x2c94e0<_0x52cdfb[_0x50089c(0x153)]));}function _0x5f0b10(_0x3712c5,_0x5dd1de){const _0x29fbd2=_0x5555b0;return!!(_0x3712c5!=null&&_0x3712c5[_0x29fbd2(0x125)](_0x5dab66=>_0x5dab66[_0x29fbd2(0x1f2)]<=_0x5dd1de&&_0x5dd1de<=_0x5dab66[_0x29fbd2(0x153)]));}function _0x55f86f(_0x238fb6,_0xce2e8b){const _0x1fe1e9=_0x5555b0;return!!(_0x238fb6!=null&&_0x238fb6[_0x1fe1e9(0x125)](_0x5eb497=>_0x5eb497[_0x1fe1e9(0x1f2)]===_0xce2e8b));}let _0x340b67=class{constructor(_0x346770,_0x500869,_0x1b9891,_0x555015){const _0x846753=_0x5555b0;this[_0x846753(0xee)]=_0x346770,this[_0x846753(0x30b)]=_0x500869,this[_0x846753(0x2d9)]=_0x1b9891,this[_0x846753(0x23b)]=_0x555015;}[_0x5555b0(0x276)](_0x4916ae,_0x5a6216,_0x5d84ff){const _0x355ce5=_0x5555b0;let _0x59a233=(0x0,_0x225029[_0x355ce5(0x34f)])(_0x4916ae);return _0x59a233['length']!==0x0&&this[_0x355ce5(0x331)](_0x59a233,_0x5a6216,_0x5d84ff);}['insertChart'](_0x283882,_0x370bd4,_0x11bbe1={}){const _0x2b62f0=_0x5555b0;if(_0x283882[_0x2b62f0(0x317)]===0x0)return!0x1;let _0x5de0c8=(0x0,_0x54f46['tryPrepareInlineChartData'])(_0x370bd4,_0x283882);if(!_0x5de0c8['ok'])return!0x1;let _0x14afdd=_0x11bbe1[_0x2b62f0(0x267)]?this[_0x2b62f0(0xee)][_0x2b62f0(0x2c0)](_0x11bbe1[_0x2b62f0(0x267)],_0x47edb2['UniverInstanceType'][_0x2b62f0(0x204)]):this['_instanceService'][_0x2b62f0(0x128)](_0x47edb2['UniverInstanceType'][_0x2b62f0(0x204)]);if(!_0x14afdd)return!0x1;let _0x32166b=this[_0x2b62f0(0x2de)](_0x14afdd,_0x11bbe1[_0x2b62f0(0x20d)]);if(!_0x32166b||!this[_0x2b62f0(0x3ac)](_0x14afdd['getUnitId'](),_0x32166b['breakOffsets'],_0x32166b[_0x2b62f0(0x186)]))return!0x1;let _0x1df5ae=_0x32166b[_0x2b62f0(0x267)],_0xc6eacd={'chartType':_0x370bd4};_0x11bbe1[_0x2b62f0(0x3c9)]&&(_0xc6eacd[_0x2b62f0(0x3c9)]=_0x11bbe1['context']),_0x11bbe1[_0x2b62f0(0x29c)]&&(_0xc6eacd[_0x2b62f0(0x29c)]=_0x11bbe1[_0x2b62f0(0x29c)]),_0x11bbe1['style']&&(_0xc6eacd[_0x2b62f0(0x16a)]=_0x11bbe1[_0x2b62f0(0x16a)]);let _0x86886b=this[_0x2b62f0(0x30b)][_0x2b62f0(0x3e0)](_0x5e3af7['InsertDocChartCommand']['id'],{'unitId':_0x1df5ae,'textRange':{'startOffset':_0x32166b[_0x2b62f0(0x1b9)],'endOffset':_0x32166b['index'],'collapsed':!0x0,'segmentId':_0x32166b['segmentId']},'chart':_0xc6eacd,'dataSource':_0x11bbe1[_0x2b62f0(0x177)]??{'values':_0x5de0c8[_0x2b62f0(0x2cc)]},'width':_0x11bbe1[_0x2b62f0(0x351)],'height':_0x11bbe1['height'],'focus':_0x11bbe1[_0x2b62f0(0x1c3)]});return _0x86886b?{..._0x86886b,'unitId':_0x1df5ae}:!0x1;}[_0x5555b0(0x2de)](_0x3a3bcd,_0x240adb){const _0x4a162f=_0x5555b0;if(_0x240adb)return _0x440665(_0x3a3bcd,_0x240adb);let _0x450f28=_0x3a3bcd[_0x4a162f(0x388)](),_0x1ef4fd=null;try{_0x1ef4fd=this[_0x4a162f(0x23b)]['consumeInsertRange'](_0x450f28);}catch{_0x1ef4fd=null;}if(_0x1ef4fd)return _0x440665(_0x3a3bcd,{'startOffset':_0x1ef4fd[_0x4a162f(0x255)],'endOffset':_0x1ef4fd[_0x4a162f(0x381)],'collapsed':_0x1ef4fd[_0x4a162f(0x255)]===_0x1ef4fd[_0x4a162f(0x381)],'segmentId':_0x1ef4fd['segmentId']??''});let _0x33d447={'unitId':_0x450f28,'subUnitId':_0x450f28},_0x3e7b17=this['_docSelectionManagerService']['getTextRanges'](_0x33d447)??[];return _0x440665(_0x3a3bcd,_0x10cd49(_0x3e7b17['find'](_0x394a62=>_0x394a62[_0x4a162f(0x3cf)])??_0x3e7b17[0x0]));}['_prepareStandaloneInsertLine'](_0x35a8e2,_0x25ae61,_0xcf00f3){const _0x361c4b=_0x5555b0;for(let _0x48d72d of _0x25ae61)if(!this['_commandService']['syncExecuteCommand'](_0x42517f[_0x361c4b(0x395)]['id'],{'unitId':_0x35a8e2,'textRange':{'startOffset':_0x48d72d,'endOffset':_0x48d72d,'collapsed':!0x0,'segmentId':_0xcf00f3}}))return!0x1;return!0x0;}};_0x340b67=_0x187f80([_0x255c81(0x0,_0x47edb2[_0x5555b0(0x1fa)]),_0x255c81(0x1,_0x47edb2[_0x5555b0(0x221)]),_0x255c81(0x2,(0x0,_0x47edb2['Inject'])(_0x1b976a['DocSelectionManagerService'])),_0x255c81(0x3,(0x0,_0x47edb2[_0x5555b0(0x3ed)])(_0x1b976a[_0x5555b0(0x2f5)]))],_0x340b67);function _0x10cd49(_0xddc795){const _0x4f5c72=_0x5555b0;return!_0xddc795||typeof _0xddc795!=_0x4f5c72(0x18c)?null:_0xddc795;}let _0xf47311=_0x5555b0(0x2b7),_0x1f1e68=[_0x5555b0(0x15a),_0x5555b0(0x3af),_0x5555b0(0x2b9),'C\x099'][_0x5555b0(0x35c)]('\x0a');function _0x4ade61(_0x5142dc){const _0x4d6ef3=_0x5555b0;let _0x2f7b96=(0x0,_0x1e1dce[_0x4d6ef3(0x1d9)])(_0x340b67),_0xef52e3=(0x0,_0x1e1dce[_0x4d6ef3(0x1d9)])(_0x47edb2['LocaleService']),{defaultChartType:_0x2e66c5=_0x225029['ChartTypeBits'][_0x4d6ef3(0x10e)],defaultTableText:_0x3e4b7d=_0x1f1e68,insertOptions:_0x59637c,onCancel:_0x4b75ae,onInserted:_0x4bab38}=_0x5142dc,_0xd014c7=(0x0,_0x4c966c['useMemo'])(()=>(0x0,_0x54f46[_0x4d6ef3(0x373)])(_0x54f46['CHART_TYPE_CATALOG']['map'](_0x1d6d59=>({..._0x1d6d59,'label':_0xef52e3['t']('docs-chart-ui.chartTypes.'+_0x1d6d59[_0x4d6ef3(0x257)])}))),[_0xef52e3]),[_0x2af4c2,_0x583003]=(0x0,_0x4c966c[_0x4d6ef3(0x38b)])(String(_0x2e66c5)),_0x931da7=_0xd014c7['find'](_0x4172b9=>_0x4172b9[_0x4d6ef3(0x35b)]===_0x2af4c2),_0x30d2cc=(_0x931da7==null?void 0x0:_0x931da7[_0x4d6ef3(0x341)])??_0x2e66c5,_0x3615ce=_0x53957b=>(0x0,_0x54f46[_0x4d6ef3(0xf8)])(_0x53957b,{'candlestickClose':_0xef52e3['t']('docs-chart-ui.candlestick.close'),'candlestickHigh':_0xef52e3['t'](_0x4d6ef3(0x184)),'candlestickLow':_0xef52e3['t']('docs-chart-ui.candlestick.low'),'candlestickOpen':_0xef52e3['t'](_0x4d6ef3(0x2d0)),'category':_0xef52e3['t'](_0x4d6ef3(0x2fd)),'chordSource':_0xef52e3['t'](_0x4d6ef3(0x375)),'chordTarget':_0xef52e3['t']('docs-chart-ui.chord.target'),'label':_0xef52e3['t'](_0x4d6ef3(0x350)),'sunburstHierarchy':_0xef52e3['t'](_0x4d6ef3(0x120)),'value':_0xef52e3['t'](_0x4d6ef3(0x2aa)),'valueField':_0xef52e3['t']('docs-chart-ui.common.valueField')}),[_0x50a134,_0x497f0d]=(0x0,_0x4c966c[_0x4d6ef3(0x38b)])(()=>_0x5142dc[_0x4d6ef3(0x17e)]===void 0x0?_0x3615ce(_0x2e66c5)??(0x0,_0x225029[_0x4d6ef3(0x34f)])(_0x3e4b7d):(0x0,_0x225029['parseInlineChartTable'])(_0x3e4b7d)),[_0x422096,_0xc51cab]=(0x0,_0x4c966c[_0x4d6ef3(0x38b)])(_0x4d6ef3(0x118)),[_0x167394,_0x1629b3]=(0x0,_0x4c966c[_0x4d6ef3(0x38b)])(null),[_0x118381,_0x58f3e4]=(0x0,_0x4c966c[_0x4d6ef3(0x38b)])([]),[_0x3ac713,_0x2ab86a]=(0x0,_0x4c966c[_0x4d6ef3(0x38b)])(null),_0x5225de={[_0x54f46['InlineChartCreationIssueCode'][_0x4d6ef3(0x1df)]]:_0xef52e3['t']('docs-chart-ui.common.insertChartFailed'),[_0x54f46[_0x4d6ef3(0x3eb)]['EmptyData']]:_0xef52e3['t'](_0x4d6ef3(0x1d3)),[_0x54f46['InlineChartCreationIssueCode']['InvalidCandlestickData']]:_0xef52e3['t'](_0x4d6ef3(0x338))};return(0x0,_0x232568['jsxs'])(_0x4d6ef3(0x11c),{'className':'univer-flex\x20univer-w-full\x20univer-flex-col\x20univer-gap-4','children':[(0x0,_0x232568['jsxs'])(_0x4d6ef3(0x11c),{'className':_0x4d6ef3(0x32c),'children':[(0x0,_0x232568[_0x4d6ef3(0x2f2)])(_0x4d6ef3(0x11c),{'className':_0x4d6ef3(0x313),'children':_0xef52e3['t'](_0x4d6ef3(0x2df))}),(0x0,_0x232568[_0x4d6ef3(0x2f2)])(_0x5c2852['Select'],{'className':_0x4d6ef3(0x124),'value':_0x2af4c2,'options':_0xd014c7,'onChange':_0x5dbdc1=>{const _0x415a2a=_0x4d6ef3;var _0x5e6e2b;_0x583003(_0x5dbdc1);let _0xb12a0=((_0x5e6e2b=_0xd014c7['find'](_0x1bee05=>_0x1bee05[_0x415a2a(0x35b)]===_0x5dbdc1))==null?void 0x0:_0x5e6e2b[_0x415a2a(0x341)])??Number(_0x5dbdc1),_0x419d28=_0x3615ce(_0xb12a0);_0x419d28&&_0x497f0d(_0x419d28);}})]}),(0x0,_0x232568[_0x4d6ef3(0x2f2)])(_0x54f46[_0x4d6ef3(0x1f6)],{'mode':_0x422096,'inlineContent':(0x0,_0x232568[_0x4d6ef3(0x2f2)])(_0x54f46[_0x4d6ef3(0x23a)],{'values':_0x50a134,'minColumns':(0x0,_0x54f46[_0x4d6ef3(0x22c)])(_0x30d2cc),'parsePastedText':_0x225029[_0x4d6ef3(0x34f)],'onChange':_0x497f0d}),'onModeChange':_0x508060=>{_0xc51cab(_0x508060),_0x1629b3(null),_0x58f3e4([]);},'onPreviewChange':(_0x3c33cf,_0x40e29f)=>{const _0x27c143=_0x4d6ef3;_0x3c33cf&&_0x40e29f[_0x27c143(0x11e)]===_0x225029['ChartDataSourceRuntimeStatus'][_0x27c143(0x39b)]&&_0x40e29f[_0x27c143(0x2cc)]?(_0x1629b3({'source':_0x3c33cf}),_0x58f3e4(_0x40e29f[_0x27c143(0x2cc)][_0x27c143(0x182)](_0x1b9e32=>[..._0x1b9e32]))):(_0x1629b3(null),_0x58f3e4([]));}}),_0x3ac713&&(0x0,_0x232568[_0x4d6ef3(0x2f2)])('div',{'className':_0x4d6ef3(0x2ca),'children':_0x3ac713}),(0x0,_0x232568['jsxs'])(_0x4d6ef3(0x11c),{'className':_0x4d6ef3(0x3c0),'children':[_0x4b75ae&&(0x0,_0x232568[_0x4d6ef3(0x2f2)])(_0x5c2852[_0x4d6ef3(0x1a3)],{'type':_0x4d6ef3(0x19d),'variant':_0x4d6ef3(0x370),'onClick':_0x4b75ae,'children':_0xef52e3['t']('docs-chart-ui.common.cancel')}),(0x0,_0x232568[_0x4d6ef3(0x2f2)])(_0x5c2852[_0x4d6ef3(0x1a3)],{'type':'button','variant':_0x4d6ef3(0x280),'disabled':_0x422096==='referenced'&&!_0x167394,'onClick':()=>{const _0x33a16f=_0x4d6ef3;var _0x3173ba;let _0x1cf5ba=(0x0,_0x54f46[_0x33a16f(0x20b)])({'optionId':_0x2af4c2,'values':_0x422096===_0x33a16f(0x36a)?_0x118381:_0x50a134});if(!_0x1cf5ba['ok']){_0x2ab86a(_0x5225de[_0x1cf5ba[_0x33a16f(0x384)][_0x33a16f(0x3fd)]]);return;}let _0x50eb58={..._0x59637c,..._0x422096===_0x33a16f(0x36a)&&_0x167394?{'dataSource':_0x167394}:{},'context':{..._0x1cf5ba[_0x33a16f(0x144)]['context'],..._0x59637c==null?void 0x0:_0x59637c[_0x33a16f(0x3c9)]}},_0x3f6d08=_0x1cf5ba[_0x33a16f(0x144)][_0x33a16f(0x16a)]?{..._0x50eb58,'style':{..._0x50eb58==null?void 0x0:_0x50eb58[_0x33a16f(0x16a)],'pie':{..._0x50eb58==null||(_0x3173ba=_0x50eb58[_0x33a16f(0x16a)])==null?void 0x0:_0x3173ba['pie'],..._0x1cf5ba[_0x33a16f(0x144)][_0x33a16f(0x16a)][_0x33a16f(0x3c3)]}}}:_0x50eb58,_0x4835ca=_0x2f7b96[_0x33a16f(0x331)](_0x1cf5ba['plan'][_0x33a16f(0x2cc)],_0x1cf5ba[_0x33a16f(0x144)][_0x33a16f(0x341)],_0x3f6d08);if(!_0x4835ca){_0x2ab86a(_0xef52e3['t']('docs-chart-ui.common.insertChartFailed'));return;}_0x2ab86a(null),_0x4bab38==null||_0x4bab38(_0x4835ca);},'children':_0xef52e3['t']('docs-chart-ui.common.insert')})]})]});}let _0x391f0a='docs-chart-ui.config',_0x56ae2c={},_0x399c3d=_0x5555b0(0x34a),_0x5325a0=class extends _0x47edb2['Disposable']{constructor(_0x28df75,_0x4797bd,_0x4a15cc){const _0x34ba94=_0x5555b0;super(),this['_docClipboardService']=_0x28df75,this['_pasteAdapterService']=_0x4797bd,this[_0x34ba94(0x2a2)]=_0x4a15cc,this['_initClipboardHooks']();}[_0x5555b0(0x403)](){const _0x5a06a3=_0x5555b0;this[_0x5a06a3(0xff)](this[_0x5a06a3(0x145)][_0x5a06a3(0x210)]({'onCopyDocData':(_0x4b8ac7,_0x6bf447)=>this[_0x5a06a3(0x1d0)](_0x4b8ac7,_0x6bf447[_0x5a06a3(0x284)])})),this[_0x5a06a3(0xff)](this[_0x5a06a3(0x133)][_0x5a06a3(0x1e3)]({'getPasteMutationInfos':_0x267501=>this[_0x5a06a3(0x1c2)](_0x267501)}));}['_appendChartResources'](_0x2aebbb,_0x1e18ac){const _0x413c35=_0x5555b0;var _0x21be78;let _0x2ad566=(_0x21be78=_0x1e18ac[0x0])==null?void 0x0:_0x21be78['id'];if(!_0x2ad566)return _0x2aebbb;let _0x58b648=Object[_0x413c35(0x2cc)](_0x2aebbb[_0x413c35(0x330)]??{})['filter'](_0x1a4e0e=>this[_0x413c35(0x27e)](_0x1a4e0e));if(_0x58b648[_0x413c35(0x317)]===0x0)return _0x2aebbb;let _0x17b1cf={'version':_0x225029['CHART_RESOURCE_VERSION'],'dataSources':{},'charts':{}};return _0x58b648[_0x413c35(0x1e5)](_0x441559=>{const _0x311daf=_0x413c35;let _0x4766ad=this['_resourceService']['getChart'](_0x2ad566,_0x441559[_0x311daf(0x387)]);if(!_0x4766ad)return;let _0x48e30c=this['_resourceService']['getDataSource'](_0x2ad566,_0x4766ad[_0x311daf(0x335)]);_0x48e30c&&(_0x17b1cf['charts'][_0x4766ad['id']]=_0x47edb2[_0x311daf(0xfe)][_0x311daf(0x1da)](_0x4766ad),_0x17b1cf[_0x311daf(0x219)][_0x48e30c['id']]=_0x48e30c);}),Object[_0x413c35(0x224)](_0x17b1cf[_0x413c35(0x3bd)])['length']===0x0?_0x2aebbb:{..._0x2aebbb,[_0x399c3d]:_0x17b1cf};}[_0x5555b0(0x1c2)](_0x4fb760){const _0x50bbd5=_0x5555b0;let _0x21a8a9=_0x4fb760[_0x50bbd5(0x1be)][_0x399c3d];if(!_0x21a8a9)return{'redoMutations':[],'undoMutations':[]};let _0x2a25c2=new Map(),_0x5ef6f9=[],_0x586e89=[],_0x149cad=[],_0x59993f=[];return _0x4fb760[_0x50bbd5(0x156)][_0x50bbd5(0x1e5)](_0x17f890=>{const _0x4535a9=_0x50bbd5;if(!this[_0x4535a9(0x27e)](_0x17f890[_0x4535a9(0x19f)])||!this[_0x4535a9(0x27e)](_0x17f890['targetDrawing']))return;let _0x46a6cb=_0x21a8a9['charts'][_0x17f890['sourceDrawing']['chartId']];if(!_0x46a6cb)return;let _0x20a4a8=_0x21a8a9[_0x4535a9(0x219)][_0x46a6cb[_0x4535a9(0x335)]];if(!_0x20a4a8)return;let _0x11db38=this['_getOrCreatePastedDataSourceId'](_0x4fb760[_0x4535a9(0x267)],_0x20a4a8,_0x2a25c2,_0x5ef6f9,_0x586e89),_0x551b20=(0x0,_0x47edb2[_0x4535a9(0x3df)])(),_0x3ec47d={..._0x46a6cb,'id':_0x551b20,'dataSourceId':_0x11db38};_0x17f890[_0x4535a9(0x336)]['chartId']=_0x551b20,_0x149cad[_0x4535a9(0x3fe)]({'id':_0x5e3af7[_0x4535a9(0x266)]['id'],'params':{'unitId':_0x4fb760[_0x4535a9(0x267)],'chart':_0x3ec47d}}),_0x59993f['push']({'id':_0x5e3af7[_0x4535a9(0x279)]['id'],'params':{'unitId':_0x4fb760[_0x4535a9(0x267)],'chartId':_0x551b20}});}),{'redoMutations':[..._0x5ef6f9,..._0x149cad],'undoMutations':[..._0x59993f,..._0x586e89]};}[_0x5555b0(0x19a)](_0x1624f1,_0x32bcae,_0x1aa0d7,_0x4425fe,_0x32a40c){const _0x50a62a=_0x5555b0;let _0x410088=_0x1aa0d7[_0x50a62a(0x3d6)](_0x32bcae['id']);if(_0x410088)return _0x410088;let _0x1e9a60=(0x0,_0x47edb2['generateRandomId'])();return _0x1aa0d7['set'](_0x32bcae['id'],_0x1e9a60),_0x4425fe[_0x50a62a(0x3fe)]({'id':_0x5e3af7[_0x50a62a(0x1e1)]['id'],'params':{'unitId':_0x1624f1,'dataSource':{..._0x32bcae,'id':_0x1e9a60}}}),_0x32a40c[_0x50a62a(0x3fe)]({'id':_0x5e3af7['RemoveDocChartDataSourceMutation']['id'],'params':{'unitId':_0x1624f1,'dataSourceId':_0x1e9a60}}),_0x1e9a60;}[_0x5555b0(0x27e)](_0x2fed6d){const _0xfe8d5f=_0x5555b0;let _0x38d2cf=_0x2fed6d;return(_0x38d2cf==null?void 0x0:_0x38d2cf[_0xfe8d5f(0x274)])===_0x47edb2[_0xfe8d5f(0x367)]['DRAWING_CHART']&&typeof _0x38d2cf[_0xfe8d5f(0x387)]=='string';}};_0x5325a0=_0x187f80([_0x255c81(0x0,(0x0,_0x47edb2[_0x5555b0(0x3ed)])(_0x42517f['IDocClipboardService'])),_0x255c81(0x1,(0x0,_0x47edb2[_0x5555b0(0x3ed)])(_0x42517f['IDocClipboardPasteAdapterService'])),_0x255c81(0x2,(0x0,_0x47edb2[_0x5555b0(0x3ed)])(_0x225029['ChartResourceRepository']))],_0x5325a0);let _0x39b236=class extends _0x47edb2['Disposable']{constructor(_0x10a330,_0x302ea7,_0x44f836,_0x3e5352){const _0x28eb2d=_0x5555b0;super(),this['_drawingAdapterService']=_0x10a330,this[_0x28eb2d(0x36c)]=_0x302ea7,this[_0x28eb2d(0x2a2)]=_0x44f836,this[_0x28eb2d(0x2ad)]=_0x3e5352,this[_0x28eb2d(0x2af)]();}[_0x5555b0(0x2af)](){const _0x18d1e3=_0x5555b0;this['disposeWithMe'](this[_0x18d1e3(0x399)][_0x18d1e3(0x1e3)]({'getEditDrawingCommandInfo':({unitId:_0x2dccf8,drawing:_0x4241ec})=>{const _0x3273bf=_0x18d1e3;let _0x1890e3=_0x27d4f5(_0x4241ec);return _0x1890e3?{'label':this[_0x3273bf(0x2ad)]['t'](_0x3273bf(0x303)),'commandId':_0x532994['id'],'commandParams':{'unitId':_0x2dccf8,'chartId':_0x1890e3[_0x3273bf(0x387)],'drawingId':_0x1890e3['drawingId']}}:null;}})),this[_0x18d1e3(0xff)](this['_floatingToolbarAdapterService'][_0x18d1e3(0x1e3)]({'getItems':({unitId:_0x44caf6,subUnitId:_0xf27b9b,drawing:_0x28c6e})=>{const _0x5d81b0=_0x18d1e3;var _0x161b40;let _0x246781=_0x27d4f5(_0x28c6e);if(!_0x246781)return null;let _0x349789=this[_0x5d81b0(0x2a2)]['getChart'](_0x44caf6,_0x246781['chartId']),_0x3400bc=(_0x349789==null?void 0x0:_0x349789[_0x5d81b0(0x341)])??_0x225029[_0x5d81b0(0x2c6)][_0x5d81b0(0x10e)],_0x11881b=_0x54f46[_0x5d81b0(0x104)][_0x5d81b0(0x182)](_0x492e86=>({'value':'id'in _0x492e86?_0x492e86['id']:String(_0x492e86[_0x5d81b0(0x35b)]),'chartType':_0x492e86[_0x5d81b0(0x35b)],..._0x5d81b0(0x366)in _0x492e86?{'pieSecondaryPlotType':_0x492e86[_0x5d81b0(0x366)]}:{},'icon':_0x492e86['iconName'],'label':this['_localeService']['t'](_0x5d81b0(0x1c1)+_0x492e86[_0x5d81b0(0x257)])})),_0x4feaa4=(0x0,_0x54f46['resolveChartTypeFieldValue'])(_0x3400bc,_0x349789==null||(_0x161b40=_0x349789[_0x5d81b0(0x16a)])==null?void 0x0:_0x161b40[_0x5d81b0(0x3c3)],_0x11881b);return[{'type':_0x5d81b0(0x3a4),'label':this[_0x5d81b0(0x2ad)]['t']('docs-chart-ui.common.chartType'),'index':0x0,'commandId':_0x5e3af7[_0x5d81b0(0x282)]['id'],'commandParamsFactory':_0x2869df=>{const _0xac8037=_0x5d81b0;var _0x52d20f,_0x3c8ba0;let _0xc19005=_0x11881b[_0xac8037(0x261)](_0x56726e=>_0x56726e[_0xac8037(0x35b)]===_0x2869df),_0x21ad4c=(_0xc19005==null?void 0x0:_0xc19005['chartType'])??Number(_0x2869df),_0x478927=_0x349789==null||(_0x52d20f=_0x349789['style'])==null||(_0x52d20f=_0x52d20f['pie'])==null?void 0x0:_0x52d20f['composite'],_0x12683e=(_0x21ad4c===_0x225029[_0xac8037(0x2c6)][_0xac8037(0x2d6)]||_0x21ad4c===_0x225029['ChartTypeBits'][_0xac8037(0xfb)])&&typeof(_0x349789==null||(_0x3c8ba0=_0x349789['style'])==null||(_0x3c8ba0=_0x3c8ba0[_0xac8037(0x3c3)])==null?void 0x0:_0x3c8ba0[_0xac8037(0x3db)])=='number',_0x25702e=_0x12683e?{'doughnutHole':null}:{},_0xfd9f94={'unitId':_0x44caf6,'chartId':_0x246781[_0xac8037(0x387)],'chartType':_0x21ad4c};if(_0xc19005!=null&&_0xc19005['pieSecondaryPlotType']){var _0x1fcb67;return{..._0xfd9f94,'style':{..._0x349789==null?void 0x0:_0x349789[_0xac8037(0x16a)],'pie':{..._0x349789==null||(_0x1fcb67=_0x349789[_0xac8037(0x16a)])==null?void 0x0:_0x1fcb67[_0xac8037(0x3c3)],..._0x25702e,'composite':{..._0x478927,'enabled':!0x0,'secondaryPlot':{..._0x478927==null?void 0x0:_0x478927['secondaryPlot'],'type':_0xc19005[_0xac8037(0x366)]}}}}};}if(_0x21ad4c===_0x225029['ChartTypeBits']['Pie']&&_0x478927){var _0x25378d;return{..._0xfd9f94,'style':{..._0x349789==null?void 0x0:_0x349789[_0xac8037(0x16a)],'pie':{..._0x349789==null||(_0x25378d=_0x349789[_0xac8037(0x16a)])==null?void 0x0:_0x25378d['pie'],..._0x25702e,'composite':{..._0x478927,'enabled':!0x1}}}};}return _0x12683e?{..._0xfd9f94,'style':{'pie':_0x25702e}}:_0xfd9f94;},'disable':!_0x349789,'value':_0x4feaa4,'options':_0x11881b},{'type':_0x5d81b0(0x19d),'label':this['_localeService']['t']('docs-chart-ui.common.editChart'),'index':0x1,'commandId':_0x532994['id'],'commandParams':{'unitId':_0x44caf6,'chartId':_0x246781[_0x5d81b0(0x387)],'drawingId':_0x246781[_0x5d81b0(0x22a)]},'disable':!0x1,'icon':_0x5d81b0(0x2a4)},{'type':'button','label':this[_0x5d81b0(0x2ad)]['t']('docs-chart-ui.common.deleteChart'),'index':0x2,'commandId':_0x27ace2[_0x5d81b0(0x2a3)]['id'],'commandParams':{'unitId':_0x44caf6,'drawings':[{'unitId':_0x44caf6,'subUnitId':_0xf27b9b,'drawingId':_0x246781['drawingId']}]},'disable':!0x1,'icon':_0x5d81b0(0x29f)}];}}));}};_0x39b236=_0x187f80([_0x255c81(0x0,_0x27ace2['IDocDrawingAdapterService']),_0x255c81(0x1,(0x0,_0x47edb2[_0x5555b0(0x3ed)])(_0x9803db[_0x5555b0(0x169)])),_0x255c81(0x2,(0x0,_0x47edb2[_0x5555b0(0x3ed)])(_0x225029['ChartResourceRepository'])),_0x255c81(0x3,(0x0,_0x47edb2['Inject'])(_0x47edb2['LocaleService']))],_0x39b236);function _0x27d4f5(_0x8f25a6){const _0x210087=_0x5555b0;let _0x5a58a0=_0x8f25a6;return(_0x5a58a0==null?void 0x0:_0x5a58a0[_0x210087(0x274)])===_0x47edb2[_0x210087(0x367)][_0x210087(0x386)]&&typeof _0x5a58a0['chartId']=='string'?_0x5a58a0:null;}let _0x1b553f=(0x0,_0x47edb2[_0x5555b0(0x12d)])(_0x5555b0(0x1bb));var _0x272d97=class{constructor(_0xa93041,_0x32c89a){const _0x4fdf90=_0x5555b0;this[_0x4fdf90(0x3bc)]=_0xa93041,this[_0x4fdf90(0x35d)]=_0x32c89a;}async[_0x5555b0(0x3ea)](_0x5c8927,_0x1d7c3f){const _0x1e84f4=_0x5555b0;if(typeof document>'u')throw TypeError(_0x1e84f4(0x3e1));let {chartConfig:_0x21bae4,chartStyle:_0x1970f3}=this[_0x1e84f4(0x3bc)][_0x1e84f4(0x16c)](_0x1d7c3f);if(_0x5c8927[_0x1e84f4(0x1ca)]===_0x225029[_0x1e84f4(0x3de)][_0x1e84f4(0x14f)])return(await this['_renderModelManager'][_0x1e84f4(0x333)]({'chartId':_0x1d7c3f['chartId'],'config':_0x21bae4,'style':_0x1970f3,'width':_0x5c8927['width'],'height':_0x5c8927[_0x1e84f4(0x213)]},{'format':_0x5c8927['format']}))[_0x1e84f4(0x127)];let _0x64546a=new _0x225029[(_0x1e84f4(0x3ec))](_0x1d7c3f['chartId'],{'width':_0x5c8927[_0x1e84f4(0x351)],'height':_0x5c8927[_0x1e84f4(0x213)]}),_0x513985=this[_0x1e84f4(0x3bc)][_0x1e84f4(0x349)](_0x225029['ChartRenderMode'][_0x1e84f4(0x2c9)]);try{_0x513985['bind'](_0x64546a),await _0x513985['render']({'chartId':_0x1d7c3f[_0x1e84f4(0x387)],'config':_0x21bae4,'style':_0x1970f3});let _0x178597=_0x64546a[_0x1e84f4(0x3ef)]();if(!_0x178597)throw Error(_0x1e84f4(0x3ff)+_0x1d7c3f[_0x1e84f4(0x267)]+'/'+_0x1d7c3f[_0x1e84f4(0x387)]);return _0x178597;}finally{_0x513985[_0x1e84f4(0xf3)](),_0x64546a[_0x1e84f4(0xf3)]();}}};let _0x22478b=class extends _0x54f46[_0x5555b0(0x332)]{constructor(_0x41b47f,_0xd1b7ae,_0x392951,_0x2ea38e,_0x188893){super(_0x41b47f,_0xd1b7ae,_0x188893??new _0x272d97(_0x392951,_0x2ea38e));}[_0x5555b0(0x24e)](_0x4897af){const _0x1d64bb=_0x5555b0;let _0x103365=super[_0x1d64bb(0x24e)](_0x4897af);return _0x4897af[_0x1d64bb(0x1ca)]===_0x225029['ChartImageExportFormat'][_0x1d64bb(0x14f)]?_0x103365+'::'+_0x4897af[_0x1d64bb(0x1ca)]:_0x103365;}};_0x22478b=_0x187f80([_0x255c81(0x0,(0x0,_0x47edb2[_0x5555b0(0x3ed)])(_0x47edb2['LocaleService'])),_0x255c81(0x1,(0x0,_0x47edb2[_0x5555b0(0x3ed)])(_0x5e3af7[_0x5555b0(0x223)])),_0x255c81(0x2,(0x0,_0x47edb2[_0x5555b0(0x3ed)])(_0x3de2c7)),_0x255c81(0x3,_0x225029[_0x5555b0(0x270)]),_0x255c81(0x4,(0x0,_0x47edb2[_0x5555b0(0x17d)])(_0x1b553f))],_0x22478b);let _0x6d56c4=class extends _0x47edb2[_0x5555b0(0x1a0)]{constructor(_0xee7c92,_0x5d9275){const _0x26589c=_0x5555b0;super(),this[_0x26589c(0x1ad)]=_0xee7c92,this['_modelService']=_0x5d9275,_0xf1bfd(this,_0x26589c(0x362),new Map()),this['_listenRuntimeData']();}[_0x5555b0(0x1f5)](){const _0x5dad14=_0x5555b0;this[_0x5dad14(0xff)](this[_0x5dad14(0x2e0)][_0x5dad14(0x1aa)][_0x5dad14(0x14c)](_0x6da268=>this[_0x5dad14(0x2f4)](_0x6da268))),this[_0x5dad14(0xff)](this[_0x5dad14(0x2e0)][_0x5dad14(0x3f2)][_0x5dad14(0x14c)](_0x12bacf=>this['_releaseRuntimeState'](_0x12bacf))),this[_0x5dad14(0xff)]((0x0,_0x47edb2[_0x5dad14(0x2db)])(()=>{const _0x479249=_0x5dad14;this['_runtimeStateSubscriptions']['forEach'](({subscription:_0x4baec8})=>_0x4baec8[_0x479249(0x17c)]()),this[_0x479249(0x362)]['clear']();}));}[_0x5555b0(0x2f4)](_0x495065){const _0x4960fe=_0x5555b0;if(this[_0x4960fe(0x362)]['has'](_0x495065))return;let _0x3edb89=_0x495065[_0x4960fe(0x136)][_0x4960fe(0x119)]==null?0x0:0x1,_0x47d3c7=(0x0,_0x133690[_0x4960fe(0x38f)])([_0x495065['model'][_0x4960fe(0x147)][_0x4960fe(0x325)]((0x0,_0x133690[_0x4960fe(0x342)])(_0x47da8a=>_0x47da8a!=null)),_0x495065[_0x4960fe(0x136)][_0x4960fe(0x312)]])[_0x4960fe(0x325)]((0x0,_0x133690[_0x4960fe(0x1ba)])(_0x3edb89),(0x0,_0x133690[_0x4960fe(0x39c)])(0x0))[_0x4960fe(0x14c)](()=>this['_snapshotService']['invalidateChart'](_0x495065[_0x4960fe(0x267)],_0x495065[_0x4960fe(0x387)]));this[_0x4960fe(0x362)][_0x4960fe(0x3b6)](_0x495065,{'subscription':_0x47d3c7});}['_releaseRuntimeState'](_0x5f5d2d){const _0x127396=_0x5555b0;var _0x3c73ed;(_0x3c73ed=this[_0x127396(0x362)][_0x127396(0x3d6)](_0x5f5d2d))==null||_0x3c73ed[_0x127396(0x179)][_0x127396(0x17c)](),this[_0x127396(0x362)]['delete'](_0x5f5d2d);}};_0x6d56c4=_0x187f80([_0x255c81(0x0,(0x0,_0x47edb2[_0x5555b0(0x3ed)])(_0x22478b)),_0x255c81(0x1,(0x0,_0x47edb2['Inject'])(_0x5e3af7[_0x5555b0(0x223)]))],_0x6d56c4);let _0x2b7762=_0x4d3ffd['id'],_0x36065d=_0x2b7762+_0x5555b0(0x25a);function _0x28801(_0x2c4833){const _0x427d45=_0x5555b0;return(0x0,_0x133690[_0x427d45(0x38f)])([(0x0,_0x42517f[_0x427d45(0x111)])(_0x2c4833),_0xe066da(_0x2c4833)])[_0x427d45(0x325)]((0x0,_0x133690[_0x427d45(0x182)])(([_0x2ba7e0,_0xb11ed0])=>_0x2ba7e0||_0xb11ed0));}function _0xe066da(_0xcdd0e5){const _0x4c209=_0x5555b0;let _0x2ee692=_0xcdd0e5[_0x4c209(0x3d6)](_0x1b976a['DocSelectionManagerService']),_0x278007=_0xcdd0e5[_0x4c209(0x3d6)](_0x47edb2['IUniverInstanceService']);return new _0x133690['Observable'](_0x53face=>{const _0x1daf2f=_0x4c209;let _0x39baa2=_0x53f618=>{const _0x314136=_0x241d;let _0x36739f=_0x278007[_0x314136(0x128)](_0x47edb2[_0x314136(0x272)]['UNIVER_DOC']);if(!_0x36739f){_0x53face['next'](!0x0);return;}let _0x12e045=_0x36739f[_0x314136(0x388)](),_0x549f54=(_0x53f618==null?void 0x0:_0x53f618[_0x314136(0x267)])===_0x12e045?_0x53f618[_0x314136(0x275)]??[]:[..._0x2ee692[_0x314136(0x226)]({'unitId':_0x12e045,'subUnitId':_0x12e045})??[]];if(_0x549f54['length']!==0x1){_0x53face[_0x314136(0x3f1)](!0x0);return;}let _0x117d2a=_0x549f54[_0x314136(0x261)](_0x292055=>_0x292055[_0x314136(0x3cf)])??_0x549f54[0x0];if(!_0x117d2a||!_0x117d2a[_0x314136(0x3fb)]||_0x117d2a[_0x314136(0x255)]==null){_0x53face[_0x314136(0x3f1)](!0x0);return;}let _0x3b29ec=_0x440665(_0x36739f,{..._0x117d2a,'segmentId':_0x117d2a[_0x314136(0x186)]??(_0x53f618==null?void 0x0:_0x53f618['segmentId'])??''});_0x53face[_0x314136(0x3f1)](_0x3b29ec==null);};_0x39baa2();let _0x475a92=_0x2ee692[_0x1daf2f(0x355)][_0x1daf2f(0x14c)](_0x3d7f1d=>_0x39baa2(_0x3d7f1d));return()=>_0x475a92[_0x1daf2f(0x17c)]();});}function _0x2f0ade(_0xfd8175){return _0x4bd32d(_0xfd8175);}function _0x4bd32d(_0xed356a){const _0x540a97=_0x5555b0;let _0x344de6=_0xed356a[_0x540a97(0x3d6)](_0x47edb2['LocaleService'])['t'](_0x540a97(0x2bb));return{'id':_0x2b7762,'commandId':_0x4d3ffd['id'],'type':_0x1e1dce[_0x540a97(0x2d4)][_0x540a97(0x35a)],'icon':'ChartIcon','title':_0x344de6,'tooltip':_0x344de6,'disabled$':_0x28801(_0xed356a),'hidden$':(0x0,_0x1e1dce[_0x540a97(0x3a3)])(_0xed356a,_0x47edb2[_0x540a97(0x272)]['UNIVER_DOC'])};}function _0x582350(_0x325040){const _0x49141c=_0x5555b0;let _0x105e65=_0x325040['get'](_0x47edb2['LocaleService'])['t']('docs-chart-ui.common.insertChart');return{'id':_0x36065d,'commandId':_0x4d3ffd['id'],'type':_0x1e1dce['MenuItemType'][_0x49141c(0x35a)],'icon':_0x49141c(0xfc),'title':_0x105e65,'tooltip':_0x105e65,'disabled$':_0x28801(_0x325040),'hidden$':(0x0,_0x1e1dce[_0x49141c(0x3a3)])(_0x325040,_0x47edb2[_0x49141c(0x272)][_0x49141c(0x204)])};}let _0xb9c1f3={[_0x1e1dce[_0x5555b0(0x2dc)][_0x5555b0(0xfd)]]:{[_0x2b7762]:{'order':2.5,'menuItemFactory':_0x2f0ade}},[_0x1e1dce[_0x5555b0(0x3c4)][_0x5555b0(0x38d)]]:{[_0x1e1dce[_0x5555b0(0x288)][_0x5555b0(0x2f3)]]:{[_0x42517f[_0x5555b0(0x217)]]:{[_0x2b7762]:{'order':4.5,'menuItemFactory':_0x4bd32d}}},[_0x42517f[_0x5555b0(0x2eb)]]:{[_0x1e1dce[_0x5555b0(0x288)][_0x5555b0(0x2f3)]]:{[_0x2b7762]:{'order':5.5,'menuItemFactory':_0x4bd32d}}},[_0x42517f[_0x5555b0(0x20e)]]:{[_0x1e1dce[_0x5555b0(0x288)]['LAYOUT']]:{[_0x2b7762]:{'order':4.5,'menuItemFactory':_0x4bd32d}}},[_0x42517f['DOC_PARAGRAPH_T_INSERT_MENU_ID']]:{'insert':{[_0x2b7762]:{'order':1.5,'menuItemFactory':_0x4bd32d}}},[_0x42517f[_0x5555b0(0x152)]]:{'insert':{[_0x36065d]:{'order':1.5,'menuItemFactory':_0x582350}}}}};var _0x2ce664=_0x5555b0(0x1c6),_0x23c859=_0x5555b0(0x225),_0x577f9b=class extends _0x2c5795[_0x5555b0(0x2c9)]{constructor(..._0x27e0fe){const _0x58d003=_0x5555b0;super(..._0x27e0fe),_0xf1bfd(this,_0x58d003(0x3b1),!0x1);}get[_0x5555b0(0x201)](){const _0x123e5c=_0x5555b0;return this[_0x123e5c(0x3b1)];}['setImageContentHidden'](_0x35a228){const _0x44c5d7=_0x5555b0;this[_0x44c5d7(0x3b1)]!==_0x35a228&&(this[_0x44c5d7(0x3b1)]=_0x35a228,this[_0x44c5d7(0x3dd)](!0x0));}[_0x5555b0(0x151)](_0x216dbc,_0x25d96f,_0x17289a,_0x22b0e2){const _0x232b77=_0x5555b0;this[_0x232b77(0x3b1)]||super[_0x232b77(0x151)](_0x216dbc,_0x25d96f,_0x17289a,_0x22b0e2);}};let _0x26410a={..._0x2c5795[_0x5555b0(0x33c)],'rotateEnabled':!0x1,'keepRatio':!0x1,'moveBoundaryEnabled':!0x1},_0x444ec8=class extends _0x47edb2[_0x5555b0(0x1a0)]{constructor(_0x325ec4,_0x1601ef,_0x586b79){const _0x99bb57=_0x5555b0;super(),this[_0x99bb57(0x2bd)]=_0x325ec4,this[_0x99bb57(0x34d)]=_0x1601ef,this[_0x99bb57(0x209)]=_0x586b79,_0xf1bfd(this,'_activeDomReadyDrawingKeys',new Set()),this[_0x99bb57(0x2cd)]();}[_0x5555b0(0x2ed)](_0x3b3b60,_0x615439){const _0x11ea3c=_0x5555b0;let _0x1dfd22=(0x0,_0x426163[_0x11ea3c(0x166)])(_0x3b3b60);_0x615439?this['_activeDomReadyDrawingKeys']['add'](_0x1dfd22):this[_0x11ea3c(0x2e4)]['delete'](_0x1dfd22),this[_0x11ea3c(0x149)](_0x3b3b60);}['_init'](){const _0x17d806=_0x5555b0;this[_0x17d806(0xff)](this['_drawingManagerService'][_0x17d806(0x3d3)]['subscribe'](_0x5f300e=>{this['_requestSnapshotsForSearches'](_0x5f300e);})),this[_0x17d806(0xff)](this[_0x17d806(0x2bd)][_0x17d806(0x374)][_0x17d806(0x14c)](_0x22cb28=>{this['_requestSnapshotsForSearches'](_0x22cb28);})),this[_0x17d806(0xff)](this[_0x17d806(0x2bd)][_0x17d806(0x23d)]['subscribe'](_0x3a8527=>{this['_removeRenderedCharts'](_0x3a8527);})),this[_0x17d806(0xff)](this[_0x17d806(0x209)][_0x17d806(0x19b)]['subscribe'](({unitId:_0x3cb0a2,chartId:_0x82ccf7})=>{const _0x1899db=_0x17d806;this[_0x1899db(0x194)](_0x3cb0a2,_0x82ccf7);})),this[_0x17d806(0xff)](this[_0x17d806(0x209)][_0x17d806(0x245)][_0x17d806(0x14c)](_0x51b4da=>{const _0x319ae4=_0x17d806;if(_0x51b4da[_0x319ae4(0x11e)]!==_0x319ae4(0x2c8)||!_0x51b4da['dataUrl'])return;let [_0x54bc69,_0x48f367]=_0x51b4da[_0x319ae4(0x231)][_0x319ae4(0x250)]('::');!_0x54bc69||!_0x48f367||this[_0x319ae4(0x154)](_0x54bc69,_0x48f367,_0x51b4da['dataUrl']);}));}[_0x5555b0(0x30d)](_0x1d8a1f){_0x1d8a1f['forEach'](_0x58812a=>{const _0x4f9796=_0x241d;let _0x368d49=this[_0x4f9796(0x202)](_0x58812a);_0x368d49&&this['_requestSnapshot'](_0x368d49);});}[_0x5555b0(0x194)](_0x55c718,_0x5a2612){const _0x58a874=_0x5555b0;this[_0x58a874(0x24a)](_0x55c718,_0x28692b=>{const _0x2039fc=_0x58a874;(_0x5a2612==null||_0x28692b['chartId']===_0x5a2612)&&this[_0x2039fc(0x227)](_0x28692b);});}[_0x5555b0(0x227)](_0x3ba805){const _0x146f76=_0x5555b0;let _0x37887e=this[_0x146f76(0x3f0)](_0x3ba805);if(!_0x37887e)return;let _0x5d4e8c=this[_0x146f76(0x209)][_0x146f76(0x24d)]({'unitId':_0x3ba805[_0x146f76(0x267)],'chartId':_0x3ba805[_0x146f76(0x387)],'width':_0x37887e[_0x146f76(0x351)],'height':_0x37887e[_0x146f76(0x213)],'dpr':_0x225029[_0x146f76(0xf1)],'mode':_0x146f76(0x10a)});_0x5d4e8c[_0x146f76(0x11e)]===_0x146f76(0x2c8)&&_0x5d4e8c[_0x146f76(0x127)]&&this[_0x146f76(0x239)](_0x3ba805,_0x5d4e8c[_0x146f76(0x127)]);}['_renderCharts'](_0x57e707,_0x442f9b,_0x2b484b){const _0x3fbd35=_0x5555b0;this[_0x3fbd35(0x24a)](_0x57e707,_0x68c60f=>{const _0x5d715e=_0x3fbd35;_0x68c60f['chartId']===_0x442f9b&&this[_0x5d715e(0x239)](_0x68c60f,_0x2b484b);});}[_0x5555b0(0x239)](_0x232c61,_0x18af03){const _0x3f9b63=_0x5555b0;let _0x117683=this[_0x3f9b63(0x34d)][_0x3f9b63(0x160)](_0x232c61['unitId']),_0x3dae2a=_0x117683==null?void 0x0:_0x117683[_0x3f9b63(0x189)];if(!_0x3dae2a||!this[_0x3f9b63(0x3f0)](_0x232c61))return;let _0x1ed7a9=(0x0,_0x426163[_0x3f9b63(0x166)])(_0x232c61),_0x1ada27=_0x3dae2a[_0x3f9b63(0x1a2)](_0x1ed7a9);if(_0x1ada27!=null&&_0x1ada27[_0x3f9b63(0x20c)]){var _0xf19208,_0x557eb1,_0x433ca8,_0x52a200,_0x34c52d;_0x1ada27[_0x3f9b63(0x287)]={..._0x1ada27['transformerConfig'],..._0x26410a},(_0xf19208=_0x1ada27[_0x3f9b63(0x163)])==null||(_0xf19208=_0xf19208[_0x3f9b63(0x3c1)](_0x1ada27))==null||_0xf19208[_0x3f9b63(0x3b0)]('load',()=>{const _0x4d782f=_0x3f9b63;var _0xa6f0c;(_0xa6f0c=_0x1ada27[_0x4d782f(0x3dd)])==null||_0xa6f0c[_0x4d782f(0x3c1)](_0x1ada27,!0x0),_0x3dae2a[_0x4d782f(0x3dd)](!0x0),_0x3dae2a['requestRender']()[_0x4d782f(0x289)](()=>{});},{'once':!0x0}),_0x1ada27[_0x3f9b63(0x20c)](_0x18af03),(_0x557eb1=_0x1ada27[_0x3f9b63(0x16d)])==null||_0x557eb1[_0x3f9b63(0x3c1)](_0x1ada27,_0x232c61[_0x3f9b63(0x348)]),(_0x433ca8=_0x1ada27['setClipBounds'])==null||_0x433ca8['call'](_0x1ada27,(_0x52a200=_0x232c61['transform'])==null?void 0x0:_0x52a200['clipBounds']),this[_0x3f9b63(0x1dd)](_0x1ada27,_0x232c61,_0x1ed7a9),(_0x34c52d=_0x1ada27['makeDirty'])==null||_0x34c52d['call'](_0x1ada27,!0x0),_0x3dae2a[_0x3f9b63(0x3dd)](!0x0);return;}this[_0x3f9b63(0x3d5)](_0x232c61,_0x18af03,_0x3dae2a,_0x1ed7a9);}[_0x5555b0(0x3d5)](_0x2ffc9e,_0x1b429f,_0x2d5913,_0x1ed99e){const _0x5ed350=_0x5555b0;let _0x124702=_0x2ffc9e[_0x5ed350(0x348)];if(!_0x124702)return;let _0x7bbc91=this[_0x5ed350(0x2bd)]['getDrawingOrder'](_0x2ffc9e[_0x5ed350(0x267)],_0x2ffc9e[_0x5ed350(0x229)]),_0x4540d3=_0x7bbc91[_0x5ed350(0x165)](_0x2ffc9e['drawingId']),_0x43b0aa={..._0x124702,'zIndex':_0x4540d3===-0x1?_0x7bbc91[_0x5ed350(0x317)]-0x1:_0x4540d3,'clipBounds':_0x124702[_0x5ed350(0x10c)],'printable':!0x0,'rotateEnabled':!0x1,'transformerConfig':_0x26410a,'url':_0x1b429f};_0x2ffc9e[_0x5ed350(0x158)]&&(_0x43b0aa['visible']=!0x1);let _0x7ebb12=new _0x577f9b(_0x1ed99e,_0x43b0aa);_0x7ebb12['setImageContentHidden'](this[_0x5ed350(0x2e4)]['has'](_0x1ed99e)),_0x2d5913[_0x5ed350(0x206)](_0x7ebb12,_0x2c5795[_0x5ed350(0x100)]),this[_0x5ed350(0x2bd)][_0x5ed350(0x20a)]()&&_0x2d5913[_0x5ed350(0x1fd)](_0x7ebb12);}[_0x5555b0(0x2e9)](_0x5449d0){_0x5449d0['forEach'](_0x2f84ee=>{const _0x398749=_0x241d;this[_0x398749(0x2e4)][_0x398749(0x28a)]((0x0,_0x426163['getDrawingShapeKeyByDrawingSearch'])(_0x2f84ee));let _0x17375e=this[_0x398749(0x34d)][_0x398749(0x160)](_0x2f84ee[_0x398749(0x267)]),_0x311ad0=_0x17375e==null?void 0x0:_0x17375e[_0x398749(0x189)];if(!_0x311ad0)return;let _0x30cd1b=_0x311ad0[_0x398749(0x1a2)]((0x0,_0x426163[_0x398749(0x166)])(_0x2f84ee));_0x30cd1b&&_0x311ad0[_0x398749(0x15c)](_0x30cd1b);});}[_0x5555b0(0x149)](_0x3e9711){const _0x5d65f9=_0x5555b0;let _0x564a52=this[_0x5d65f9(0x34d)]['getRenderUnitById'](_0x3e9711[_0x5d65f9(0x267)]),_0x5b59a5=_0x564a52==null?void 0x0:_0x564a52[_0x5d65f9(0x189)];if(!_0x5b59a5)return;let _0xcaf22e=(0x0,_0x426163[_0x5d65f9(0x166)])(_0x3e9711),_0x1477d5=_0x5b59a5[_0x5d65f9(0x1a2)](_0xcaf22e);if(!_0x1477d5)return;let _0x3b6860=this[_0x5d65f9(0x2bd)][_0x5d65f9(0x164)](_0x3e9711);this[_0x5d65f9(0x1dd)](_0x1477d5,_0x3b6860,_0xcaf22e);}['_syncChartImageVisibility'](_0x15794c,_0x4b5ef0,_0x5d184d){const _0xe04074=_0x5555b0;var _0x4cefe3,_0x919e1c;let _0x2a5aa6=this['_activeDomReadyDrawingKeys'][_0xe04074(0x295)](_0x5d184d);if(_0x15794c[_0xe04074(0x273)]){var _0x8b551d,_0x48c185;_0x15794c[_0xe04074(0x273)](_0x2a5aa6),(_0x4b5ef0==null?void 0x0:_0x4b5ef0['hidden'])===!0x0?(_0x8b551d=_0x15794c[_0xe04074(0x243)])==null||_0x8b551d[_0xe04074(0x3c1)](_0x15794c):(_0x48c185=_0x15794c[_0xe04074(0x216)])==null||_0x48c185['call'](_0x15794c);return;}(_0x4b5ef0==null?void 0x0:_0x4b5ef0[_0xe04074(0x158)])===!0x0?(_0x4cefe3=_0x15794c[_0xe04074(0x243)])==null||_0x4cefe3[_0xe04074(0x3c1)](_0x15794c):(_0x919e1c=_0x15794c['show'])==null||_0x919e1c[_0xe04074(0x3c1)](_0x15794c);}[_0x5555b0(0x202)](_0x20693f){const _0x2215a1=_0x5555b0;let _0x2788a9=this['_drawingManagerService'][_0x2215a1(0x164)](_0x20693f);return _0x31d6b2(_0x2788a9)?_0x2788a9:null;}[_0x5555b0(0x24a)](_0x217f90,_0x5829a9){const _0x361007=_0x5555b0;let _0x371eac=this[_0x361007(0x2bd)]['getDrawingDataForUnit'](_0x217f90),_0x5bc7fa=_0x371eac==null?void 0x0:_0x371eac[_0x217f90];_0x5bc7fa&&_0x5bc7fa[_0x361007(0x33e)]['forEach'](_0x132d3a=>{let _0x33012b=_0x5bc7fa['data'][_0x132d3a];_0x31d6b2(_0x33012b)&&_0x5829a9(_0x33012b);});}[_0x5555b0(0x3f0)](_0x1feeba){const _0x701051=_0x5555b0;var _0x5edfad,_0x37e5d4,_0x3bf23e,_0x58fdc0;let _0x4e83ec=((_0x5edfad=_0x1feeba['transform'])==null?void 0x0:_0x5edfad[_0x701051(0x351)])??((_0x37e5d4=_0x1feeba['docTransform'])==null||(_0x37e5d4=_0x37e5d4[_0x701051(0x230)])==null?void 0x0:_0x37e5d4['width'])??0x0,_0x3163f3=((_0x3bf23e=_0x1feeba[_0x701051(0x348)])==null?void 0x0:_0x3bf23e[_0x701051(0x213)])??((_0x58fdc0=_0x1feeba[_0x701051(0x3bb)])==null||(_0x58fdc0=_0x58fdc0['size'])==null?void 0x0:_0x58fdc0[_0x701051(0x213)])??0x0;return _0x4e83ec<=0x0||_0x3163f3<=0x0?null:{'width':Math[_0x701051(0x1b4)](0x1,Math['round'](_0x4e83ec)),'height':Math[_0x701051(0x1b4)](0x1,Math[_0x701051(0x28d)](_0x3163f3))};}};_0x444ec8=_0x187f80([_0x255c81(0x0,_0x426163['IDrawingManagerService']),_0x255c81(0x1,_0x2c5795[_0x5555b0(0x18e)]),_0x255c81(0x2,(0x0,_0x47edb2[_0x5555b0(0x3ed)])(_0x22478b))],_0x444ec8);function _0x31d6b2(_0x41b21d){const _0x512b7d=_0x5555b0;let _0x2fb5ed=_0x41b21d;return(_0x2fb5ed==null?void 0x0:_0x2fb5ed['drawingType'])===_0x47edb2[_0x512b7d(0x367)][_0x512b7d(0x386)]&&typeof _0x2fb5ed[_0x512b7d(0x387)]==_0x512b7d(0x262);}function _0x291448(_0xc872d,_0x354ada,_0x156c3a=0x1,_0x1cd10b=0x0){const _0x42d53a=_0x5555b0;let {top:_0x5090f4,left:_0x740d4b,bottom:_0x571b0e,right:_0x273d3b}=_0xc872d,_0x127e42=_0x273d3b-_0x740d4b,_0x2657fb=_0x571b0e-_0x5090f4,{viewportScrollX:_0x4f8bad,viewportScrollY:_0x4340c6}=_0x354ada[_0x42d53a(0x2ce)](_0x42517f[_0x42d53a(0x244)][_0x42d53a(0x228)]),{scaleX:_0x4cc3a9,scaleY:_0x5075c9}=_0x354ada[_0x42d53a(0x17a)](),_0x517d63=(_0x740d4b-_0x4f8bad)*_0x4cc3a9,_0x164970=(_0x5090f4-_0x4340c6)*_0x5075c9,_0x2bf693=_0x127e42*_0x4cc3a9,_0x38f835=_0x2657fb*_0x5075c9;return{'startX':_0x517d63,'startY':_0x164970,'endX':_0x517d63+_0x2bf693,'endY':_0x164970+_0x38f835,'width':_0x2bf693,'height':_0x38f835,'rotate':_0x1cd10b,'absolute':{'left':!0x1,'top':!0x1},'opacity':_0x156c3a};}function _0x1c142d(_0xa15b59,_0x536e1d){const _0x2977a2=_0x5555b0;return _0xa15b59[_0x2977a2(0x267)]===_0x536e1d[_0x2977a2(0x267)]&&(_0xa15b59['subUnitId']??_0xa15b59[_0x2977a2(0x267)])===(_0x536e1d[_0x2977a2(0x229)]??_0x536e1d[_0x2977a2(0x267)])&&_0xa15b59[_0x2977a2(0x22a)]===_0x536e1d[_0x2977a2(0x22a)];}function _0x5d2f4e(_0x3525a2,_0x2e6787=0x0){const _0x4b25ae=_0x5555b0;return _0x3525a2[_0x4b25ae(0x261)](_0x2e72f5=>typeof _0x2e72f5=='number'&&Number[_0x4b25ae(0x121)](_0x2e72f5))??_0x2e6787;}function _0x100d4d(_0x1d1f80,_0xe141b2){const _0x5938c2=_0x5555b0;var _0x54cbef,_0x5edf5c,_0x340e9e,_0x44d648,_0x254bca,_0x5b8f7d,_0x17122a;let _0x10a117=_0xe141b2==null||(_0x54cbef=_0xe141b2['getRealBound'])==null?void 0x0:_0x54cbef[_0x5938c2(0x3c1)](_0xe141b2),_0x5887d4=_0x5d2f4e([_0x10a117==null?void 0x0:_0x10a117[_0x5938c2(0x351)],(_0x5edf5c=_0x1d1f80[_0x5938c2(0x348)])==null?void 0x0:_0x5edf5c[_0x5938c2(0x351)],(_0x340e9e=_0x1d1f80[_0x5938c2(0x3bb)])==null||(_0x340e9e=_0x340e9e[_0x5938c2(0x230)])==null?void 0x0:_0x340e9e[_0x5938c2(0x351)]]),_0xad0392=_0x5d2f4e([_0x10a117==null?void 0x0:_0x10a117[_0x5938c2(0x213)],(_0x44d648=_0x1d1f80[_0x5938c2(0x348)])==null?void 0x0:_0x44d648[_0x5938c2(0x213)],(_0x254bca=_0x1d1f80['docTransform'])==null||(_0x254bca=_0x254bca[_0x5938c2(0x230)])==null?void 0x0:_0x254bca['height']]),_0x57d701=_0x5d2f4e([_0x10a117==null?void 0x0:_0x10a117[_0x5938c2(0x137)],(_0x5b8f7d=_0x1d1f80[_0x5938c2(0x348)])==null?void 0x0:_0x5b8f7d[_0x5938c2(0x137)]]),_0x5395b8=_0x5d2f4e([_0x10a117==null?void 0x0:_0x10a117['top'],(_0x17122a=_0x1d1f80[_0x5938c2(0x348)])==null?void 0x0:_0x17122a[_0x5938c2(0x1c8)]]);return{'left':_0x57d701,'top':_0x5395b8,'right':_0x57d701+_0x5887d4,'bottom':_0x5395b8+_0xad0392};}function _0x363b5f(_0x14343d,_0x5db6d7){const _0x2ae7fe=_0x5555b0;if(!_0x14343d||typeof _0x14343d!='object')return;let _0x14c4ec=_0x14343d;if(typeof _0x14c4ec[_0x2ae7fe(0x1f0)]==_0x2ae7fe(0x307)){let _0x130030=_0x14c4ec['subscribeEvent'](_0x5db6d7);return(0x0,_0x47edb2[_0x2ae7fe(0x2db)])(()=>{const _0x193991=_0x2ae7fe;var _0x3f4711;if(typeof _0x130030['dispose']==_0x193991(0x307)){_0x130030['dispose']();return;}(_0x3f4711=_0x130030['unsubscribe'])==null||_0x3f4711[_0x193991(0x3c1)](_0x130030);});}let _0x408f9a=_0x14343d;if(typeof _0x408f9a[_0x2ae7fe(0x14c)]=='function'){let _0x17ffde=_0x408f9a[_0x2ae7fe(0x14c)](_0x5db6d7);return(0x0,_0x47edb2[_0x2ae7fe(0x2db)])(()=>{const _0xee5aa8=_0x2ae7fe;var _0x129a9e;return(_0x129a9e=_0x17ffde[_0xee5aa8(0x17c)])==null?void 0x0:_0x129a9e[_0xee5aa8(0x3c1)](_0x17ffde);});}}let _0x3dfbc1=class extends _0x47edb2['Disposable']{constructor(_0x3788ae,_0x59a18d,_0xece46d,_0x5da834,_0x5a7612,_0x46e9d2,_0x3698e7,_0x21f8ca,_0x5de167,_0x2f37e5){const _0x459d86=_0x5555b0;super(),this[_0x459d86(0x2bd)]=_0x3788ae,this['_renderManagerService']=_0x59a18d,this[_0x459d86(0x3f9)]=_0xece46d,this[_0x459d86(0x2e0)]=_0x5da834,this['_renderService']=_0x5a7612,this[_0x459d86(0x209)]=_0x46e9d2,this[_0x459d86(0x30b)]=_0x3698e7,this[_0x459d86(0x1a5)]=_0x21f8ca,this[_0x459d86(0x2ad)]=_0x5de167,this['_staticRenderController']=_0x2f37e5,_0xf1bfd(this,_0x459d86(0x12c),null),_0xf1bfd(this,_0x459d86(0x31a),new _0x133690[(_0x459d86(0x400))]()),_0xf1bfd(this,_0x459d86(0x344),new _0x133690[(_0x459d86(0x400))]()),this['_init']();}[_0x5555b0(0x3b9)](_0x5197ad){const _0x50d720=_0x5555b0;let _0x48efbc=this['_modelService'][_0x50d720(0x1c0)](_0x5197ad[_0x50d720(0x267)],_0x5197ad['chartId']);if(!_0x48efbc)return(0x0,_0x47edb2[_0x50d720(0x2db)])(()=>{});let _0x4dc961=new _0x5faa7a(_0x5197ad[_0x50d720(0x387)],_0x5197ad['root'],(_0x472b48,_0x4f2a4a)=>this['_renderService']['applyHostStyle'](_0x472b48,_0x4f2a4a),()=>this[_0x50d720(0x1d4)](_0x5197ad),!0x0,()=>this[_0x50d720(0x396)](_0x5197ad)),_0x5e7698=this[_0x50d720(0x3bc)]['createChartInstance'](_0x225029[_0x50d720(0x345)][_0x50d720(0x2f6)]);_0x5e7698[_0x50d720(0x183)](_0x4dc961);let _0x40d7a9=[_0x5e7698['on'](_0x50d720(0x112),_0x5e9283=>{const _0x28664c=_0x50d720;let _0x11856a=(0x0,_0x54f46['resolveChartElementSelection'])(_0x48efbc[_0x28664c(0x136)],_0x5e9283[_0x28664c(0x39d)]);if(!_0x11856a)return;let _0x371702=(0x0,_0x54f46[_0x28664c(0x327)])(_0x11856a[_0x28664c(0x37d)]);_0x371702&&this[_0x28664c(0x30b)]['executeCommand'](_0x532994['id'],{'unitId':_0x5197ad[_0x28664c(0x267)],'chartId':_0x5197ad[_0x28664c(0x387)],'drawingId':_0x5197ad[_0x28664c(0x22a)],'route':_0x371702});}),_0x5e7698['on'](_0x50d720(0x132),()=>{const _0x26c995=_0x50d720;this[_0x26c995(0x30b)][_0x26c995(0x321)](_0x532994['id'],{'unitId':_0x5197ad[_0x26c995(0x267)],'chartId':_0x5197ad['chartId'],'drawingId':_0x5197ad[_0x26c995(0x22a)]});})],_0x5b9015=!0x0;return _0x40d7a9[_0x50d720(0x3fe)](this[_0x50d720(0x2ef)](_0x48efbc,_0x5e7698,_0x4dc961,_0x5197ad,()=>_0x5b9015)),(0x0,_0x47edb2[_0x50d720(0x2db)])(()=>{const _0x312b9b=_0x50d720;_0x5b9015=!0x1,this['_staticRenderController']['setActiveDomReady'](this[_0x312b9b(0x3ca)](_0x5197ad),!0x1),_0x40d7a9[_0x312b9b(0x1e5)](_0x45dbae=>_0x45dbae[_0x312b9b(0xf3)]()),_0x5e7698[_0x312b9b(0xf3)](),_0x4dc961[_0x312b9b(0xf3)]();});}['dispose'](){const _0x1756f5=_0x5555b0;this[_0x1756f5(0x148)](),this[_0x1756f5(0x31a)][_0x1756f5(0x2bf)](),this[_0x1756f5(0x344)][_0x1756f5(0x2bf)](),super['dispose']();}[_0x5555b0(0x2cd)](){const _0x50b596=_0x5555b0;this['disposeWithMe'](this[_0x50b596(0x2bd)]['focus$'][_0x50b596(0x14c)](_0xb31905=>{const _0x1ea534=_0x50b596;this[_0x1ea534(0x162)](_0xb31905);})),this['disposeWithMe'](this[_0x50b596(0x2bd)][_0x50b596(0x23d)][_0x50b596(0x14c)](_0x484a22=>{const _0x2f3ca4=_0x50b596;let _0x4f73e1=this[_0x2f3ca4(0x12c)];_0x4f73e1&&_0x484a22[_0x2f3ca4(0x125)](_0x365b82=>_0x1c142d(_0x365b82,_0x4f73e1))&&this[_0x2f3ca4(0x148)]();})),this['disposeWithMe'](this[_0x50b596(0x2bd)][_0x50b596(0x374)][_0x50b596(0x14c)](_0x3c099e=>{const _0x1ae27f=_0x50b596;let _0x568fe3=this[_0x1ae27f(0x12c)];if(!_0x568fe3){this[_0x1ae27f(0x19e)](_0x3c099e);return;}let _0x518950=_0x3c099e['find'](_0x328371=>_0x1c142d(_0x328371,_0x568fe3));if(_0x518950){let _0x4d8245=this[_0x1ae27f(0x2bd)]['getDrawingByParam']({'unitId':_0x518950[_0x1ae27f(0x267)],'subUnitId':_0x518950[_0x1ae27f(0x229)],'drawingId':_0x518950[_0x1ae27f(0x22a)]});this[_0x1ae27f(0x27e)](_0x4d8245)&&this['_updatePosition'](_0x4d8245);}})),this[_0x50b596(0xff)](this[_0x50b596(0x1a5)][_0x50b596(0x180)](_0x47edb2[_0x50b596(0x272)][_0x50b596(0x204)])[_0x50b596(0x14c)](_0x38f4b4=>{const _0x5a9b39=_0x50b596;let _0xec656c=this[_0x5a9b39(0x12c)];_0xec656c&&(_0x38f4b4==null?void 0x0:_0x38f4b4['getUnitId']())!==_0xec656c['unitId']&&this['_deactivate']();}));}[_0x5555b0(0x2ef)](_0x2ac384,_0x3b1fbb,_0xc48288,_0x2888eb,_0x3ba526){const _0x3a7e27=_0x5555b0;let _0x3e531b=()=>{const _0x395f8b=_0x241d;let {chartConfig:_0x554445,chartStyle:_0x17897c}=this[_0x395f8b(0x3bc)][_0x395f8b(0x16c)](_0x2ac384);Promise[_0x395f8b(0x29a)](_0x3b1fbb[_0x395f8b(0x3ea)]({'chartId':_0x2ac384['chartId'],'config':_0x554445,'style':_0x17897c}))[_0x395f8b(0x372)](()=>{const _0x5e4775=_0x395f8b;_0x3ba526()&&this[_0x5e4775(0x1c9)](_0x2888eb)&&this[_0x5e4775(0x3f7)][_0x5e4775(0x2ed)](this[_0x5e4775(0x3ca)](_0x2888eb),!0x0);},()=>{});},_0xd5bb74=(0x0,_0x133690['combineLatest'])([_0x2ac384[_0x3a7e27(0x136)][_0x3a7e27(0x147)],_0x2ac384[_0x3a7e27(0x136)][_0x3a7e27(0x312)],this[_0x3a7e27(0x2ad)]['direction$']])[_0x3a7e27(0x325)]((0x0,_0x133690[_0x3a7e27(0x342)])(([_0x1a8742])=>_0x1a8742!=null))['subscribe'](_0x3e531b),_0x5919ea=this[_0x3a7e27(0x31a)][_0x3a7e27(0x325)]((0x0,_0x133690[_0x3a7e27(0x342)])(_0x8729b0=>_0x8729b0===_0x2888eb['drawingId']))[_0x3a7e27(0x14c)](_0x3e531b),_0x22f407=this[_0x3a7e27(0x344)][_0x3a7e27(0x325)]((0x0,_0x133690['filter'])(_0x45f5ba=>_0x45f5ba===_0x2888eb['drawingId']))[_0x3a7e27(0x14c)](()=>_0xc48288[_0x3a7e27(0x13e)]());return(0x0,_0x47edb2[_0x3a7e27(0x2db)])(()=>{const _0x109b29=_0x3a7e27;_0xd5bb74[_0x109b29(0x17c)](),_0x5919ea['unsubscribe'](),_0x22f407[_0x109b29(0x17c)]();});}[_0x5555b0(0x162)](_0x4fab81){const _0xe420ff=_0x5555b0;let _0x219c2d=(_0x4fab81??[])[_0xe420ff(0x342)](_0x3c9582=>this[_0xe420ff(0x27e)](_0x3c9582));if(_0x219c2d[_0xe420ff(0x317)]!==0x1){this['_deactivate']();return;}this[_0xe420ff(0x29e)](_0x219c2d[0x0]);}[_0x5555b0(0x29e)](_0x532dbd){const _0x4ebaa7=_0x5555b0;var _0xcf0593,_0x593bb2,_0x5dd439;let _0x40b7f6=this[_0x4ebaa7(0x278)](_0x532dbd),_0x14e38d=this[_0x4ebaa7(0x2c2)](_0x532dbd),_0x372490=_0x532dbd['subUnitId']??_0x532dbd[_0x4ebaa7(0x267)];if(!_0x40b7f6||!_0x14e38d){this[_0x4ebaa7(0x148)]();return;}if(((_0xcf0593=this[_0x4ebaa7(0x12c)])==null?void 0x0:_0xcf0593[_0x4ebaa7(0x267)])===_0x532dbd[_0x4ebaa7(0x267)]&&this['_activeLayer']['subUnitId']===_0x372490&&this[_0x4ebaa7(0x12c)]['drawingId']===_0x532dbd[_0x4ebaa7(0x22a)]&&this[_0x4ebaa7(0x12c)][_0x4ebaa7(0x387)]===_0x532dbd['chartId']){let _0x30eb0f=this['_activeLayer'][_0x4ebaa7(0x189)]!==_0x40b7f6[_0x4ebaa7(0x189)];this[_0x4ebaa7(0x12c)][_0x4ebaa7(0x189)]=_0x40b7f6[_0x4ebaa7(0x189)],this[_0x4ebaa7(0x12c)][_0x4ebaa7(0x22e)]=_0x40b7f6[_0x4ebaa7(0x22e)],this[_0x4ebaa7(0x12c)]['angle']=_0x40b7f6[_0x4ebaa7(0x26c)],this[_0x4ebaa7(0x12c)][_0x4ebaa7(0x18a)]=_0x14e38d,this['_activeLayer']['position$']['next'](_0x40b7f6[_0x4ebaa7(0x3b4)]),_0x30eb0f&&this['_bindActiveLayerObservers'](this[_0x4ebaa7(0x12c)]);return;}this[_0x4ebaa7(0x148)]();let _0x3360aa=new _0x133690[(_0x4ebaa7(0x309))](_0x40b7f6[_0x4ebaa7(0x3b4)]),_0xe38dc9=this[_0x4ebaa7(0x34d)][_0x4ebaa7(0x160)](_0x532dbd['unitId']),_0x5813bc=_0xe38dc9==null||(_0x5dd439=(_0x593bb2=_0xe38dc9[_0x4ebaa7(0x382)])[_0x4ebaa7(0x13c)])==null?void 0x0:_0x5dd439[_0x4ebaa7(0x3c1)](_0x593bb2);this[_0x4ebaa7(0x3f9)][_0x4ebaa7(0x21b)]({'id':_0x532dbd[_0x4ebaa7(0x22a)],'componentKey':_0x567252,'position$':_0x3360aa,'unitId':_0x532dbd['unitId'],'contentBox':{'wrapperInset':0x0,'contentInset':0x0},'props':{'chartId':_0x532dbd[_0x4ebaa7(0x387)],'subUnitId':_0x372490},'onPointerDown':_0x3d1dc5=>_0x5813bc==null?void 0x0:_0x5813bc['dispatchEvent'](new PointerEvent(_0x3d1dc5[_0x4ebaa7(0x103)],_0x3d1dc5)),'onPointerMove':_0x4e7595=>_0x5813bc==null?void 0x0:_0x5813bc[_0x4ebaa7(0x3ce)](new PointerEvent(_0x4e7595['type'],_0x4e7595)),'onPointerUp':_0x9ef23b=>_0x5813bc==null?void 0x0:_0x5813bc[_0x4ebaa7(0x3ce)](new PointerEvent(_0x9ef23b['type'],_0x9ef23b)),'onWheel':_0x580899=>_0x5813bc==null?void 0x0:_0x5813bc[_0x4ebaa7(0x3ce)](new WheelEvent(_0x580899[_0x4ebaa7(0x103)],_0x580899))}),this['_modelService']['setActiveChartById'](_0x532dbd[_0x4ebaa7(0x267)],_0x532dbd[_0x4ebaa7(0x387)]);let _0x1c55d4={'unitId':_0x532dbd[_0x4ebaa7(0x267)],'subUnitId':_0x372490,'drawingId':_0x532dbd[_0x4ebaa7(0x22a)],'chartId':_0x532dbd['chartId'],'scene':_0x40b7f6[_0x4ebaa7(0x189)],'sceneRect':_0x40b7f6[_0x4ebaa7(0x22e)],'angle':_0x40b7f6[_0x4ebaa7(0x26c)],'renderRect':_0x14e38d,'position$':_0x3360aa};this[_0x4ebaa7(0x12c)]=_0x1c55d4,this[_0x4ebaa7(0x170)](_0x1c55d4);}[_0x5555b0(0x148)](){const _0x174f0a=_0x5555b0;var _0x3ed348,_0xab8651;let _0x16c866=this['_activeLayer'];_0x16c866&&(this[_0x174f0a(0x12c)]=null,(_0x3ed348=_0x16c866['positionObserver'])==null||_0x3ed348[_0x174f0a(0xf3)](),(_0xab8651=_0x16c866[_0x174f0a(0x318)])==null||_0xab8651[_0x174f0a(0xf3)](),this[_0x174f0a(0x3f7)][_0x174f0a(0x2ed)]({'unitId':_0x16c866['unitId'],'subUnitId':_0x16c866[_0x174f0a(0x229)],'drawingId':_0x16c866['drawingId']},!0x1),this[_0x174f0a(0x3f9)][_0x174f0a(0x1a4)](_0x16c866[_0x174f0a(0x22a)]),this['_modelService']['setActiveChartRuntime'](null),this['_snapshotRenderService']['invalidateChart'](_0x16c866[_0x174f0a(0x267)],_0x16c866['chartId']),_0x16c866[_0x174f0a(0x114)][_0x174f0a(0x2bf)]());}['_refreshActivePosition'](_0x275612,_0x278303,_0x3cdb3f){const _0x55d70d=_0x5555b0;let _0x19725f=this[_0x55d70d(0x12c)];(_0x19725f==null?void 0x0:_0x19725f[_0x55d70d(0x267)])===_0x275612&&_0x19725f[_0x55d70d(0x22a)]===_0x278303&&_0x19725f['chartId']===_0x3cdb3f&&_0x19725f[_0x55d70d(0x114)][_0x55d70d(0x3f1)](_0x291448(_0x19725f[_0x55d70d(0x22e)],_0x19725f[_0x55d70d(0x189)],0x1,_0x19725f[_0x55d70d(0x26c)]));}['_refreshActiveLayout'](_0x4365ec){const _0x5e297b=_0x5555b0;let _0x1c0cd2=this['_activeLayer'];!_0x1c0cd2||_0x1c0cd2[_0x5e297b(0x267)]!==_0x4365ec||(this[_0x5e297b(0x1db)](_0x1c0cd2[_0x5e297b(0x267)],_0x1c0cd2[_0x5e297b(0x22a)],_0x1c0cd2[_0x5e297b(0x387)]),this[_0x5e297b(0x344)][_0x5e297b(0x3f1)](_0x1c0cd2[_0x5e297b(0x22a)]));}[_0x5555b0(0x170)](_0x83a70f){const _0x158c00=_0x5555b0;var _0x463c4a,_0x32d5b3;(_0x463c4a=_0x83a70f[_0x158c00(0x1cc)])==null||_0x463c4a[_0x158c00(0xf3)](),(_0x32d5b3=_0x83a70f[_0x158c00(0x318)])==null||_0x32d5b3[_0x158c00(0xf3)]();let _0x3277d4=_0x83a70f[_0x158c00(0x189)][_0x158c00(0x2ce)](_0x42517f[_0x158c00(0x244)][_0x158c00(0x228)]);if(!_0x3277d4)return;_0x83a70f[_0x158c00(0x1cc)]=_0x363b5f(_0x3277d4[_0x158c00(0x105)],()=>{const _0x27a1c5=_0x158c00;this[_0x27a1c5(0x1db)](_0x83a70f[_0x27a1c5(0x267)],_0x83a70f[_0x27a1c5(0x22a)],_0x83a70f[_0x27a1c5(0x387)]);});let _0x349428=_0x83a70f[_0x158c00(0x189)][_0x158c00(0x290)][_0x158c00(0x1f0)](_0x52f3d4=>{const _0x279d5a=_0x158c00;_0x52f3d4[_0x279d5a(0x103)]!==_0x2c5795[_0x279d5a(0x246)][_0x279d5a(0x1d8)]||_0x52f3d4[_0x279d5a(0x35b)][_0x279d5a(0x1ac)]===_0x52f3d4['preValue'][_0x279d5a(0x1ac)]&&_0x52f3d4[_0x279d5a(0x35b)]['scaleY']===_0x52f3d4['preValue'][_0x279d5a(0x1bf)]||this[_0x279d5a(0x2c4)](_0x83a70f['unitId']);});_0x83a70f[_0x158c00(0x318)]=(0x0,_0x47edb2['toDisposable'])(()=>_0x349428[_0x158c00(0x17c)]());}[_0x5555b0(0x2ec)](_0x1d9b42){const _0x132129=_0x5555b0;let _0x576645=this[_0x132129(0x278)](_0x1d9b42),_0x38ead4=this[_0x132129(0x2c2)](_0x1d9b42);if(_0x576645&&_0x38ead4){var _0x48e767;if(this[_0x132129(0x12c)]){let _0x5105d3=this[_0x132129(0x12c)][_0x132129(0x189)]!==_0x576645[_0x132129(0x189)];this[_0x132129(0x12c)][_0x132129(0x189)]=_0x576645['scene'],this[_0x132129(0x12c)][_0x132129(0x22e)]=_0x576645['sceneRect'],this[_0x132129(0x12c)][_0x132129(0x26c)]=_0x576645['angle'],this[_0x132129(0x12c)]['renderRect']=_0x38ead4,_0x5105d3&&this[_0x132129(0x170)](this[_0x132129(0x12c)]);}(_0x48e767=this[_0x132129(0x12c)])==null||_0x48e767['position$'][_0x132129(0x3f1)](_0x576645[_0x132129(0x3b4)]),this[_0x132129(0x31a)]['next'](_0x1d9b42[_0x132129(0x22a)]);}}[_0x5555b0(0x19e)](_0x8f0106){const _0x228bbd=_0x5555b0;let _0x3ba2c8=this[_0x228bbd(0x2bd)][_0x228bbd(0x27b)]()[_0x228bbd(0x342)](_0x3718dd=>this[_0x228bbd(0x27e)](_0x3718dd));_0x3ba2c8['length']===0x1&&_0x8f0106['some'](_0x5e2d41=>_0x1c142d(_0x5e2d41,_0x3ba2c8[0x0]))&&this[_0x228bbd(0x29e)](_0x3ba2c8[0x0]);}[_0x5555b0(0x278)](_0x4e4867){const _0x21bcb1=_0x5555b0;let _0x4aa001=_0x4e4867[_0x21bcb1(0x348)];if(!_0x4aa001)return null;let _0x417cd3=this[_0x21bcb1(0x34d)][_0x21bcb1(0x160)](_0x4e4867['unitId']);if(!(_0x417cd3!=null&&_0x417cd3[_0x21bcb1(0x189)])||!_0x417cd3[_0x21bcb1(0x189)][_0x21bcb1(0x2ce)](_0x42517f['VIEWPORT_KEY']['VIEW_MAIN']))return null;let _0x4ed104=(0x0,_0x426163['getDrawingShapeKeyByDrawingSearch'])(_0x4e4867),_0x4da965=_0x417cd3[_0x21bcb1(0x189)]['getObjectIncludeInGroup'](_0x4ed104),_0x26182f=_0x100d4d(_0x4e4867,_0x4da965),_0x23e4c6=_0x26182f[_0x21bcb1(0x391)]-_0x26182f[_0x21bcb1(0x137)],_0x46238c=_0x26182f[_0x21bcb1(0x2d7)]-_0x26182f[_0x21bcb1(0x1c8)];if(_0x23e4c6<=0x0||_0x46238c<=0x0)return null;let _0x7cdc3d=_0x5d2f4e([_0x4da965==null?void 0x0:_0x4da965[_0x21bcb1(0x26c)],_0x4aa001[_0x21bcb1(0x26c)]]);return{'scene':_0x417cd3[_0x21bcb1(0x189)],'sceneRect':_0x26182f,'angle':_0x7cdc3d,'position':_0x291448(_0x26182f,_0x417cd3[_0x21bcb1(0x189)],0x1,_0x7cdc3d)};}[_0x5555b0(0x2c2)](_0x37d946){const _0x244547=_0x5555b0;var _0x5c0266,_0x285ca9,_0x44e95d,_0x419944;let _0x182140=((_0x5c0266=_0x37d946['transform'])==null?void 0x0:_0x5c0266[_0x244547(0x351)])??((_0x285ca9=_0x37d946[_0x244547(0x3bb)])==null||(_0x285ca9=_0x285ca9[_0x244547(0x230)])==null?void 0x0:_0x285ca9[_0x244547(0x351)])??0x0,_0x1f0595=((_0x44e95d=_0x37d946[_0x244547(0x348)])==null?void 0x0:_0x44e95d['height'])??((_0x419944=_0x37d946['docTransform'])==null||(_0x419944=_0x419944[_0x244547(0x230)])==null?void 0x0:_0x419944['height'])??0x0;return _0x182140<=0x0||_0x1f0595<=0x0?null:{'width':Math[_0x244547(0x1b4)](0x1,Math[_0x244547(0x28d)](_0x182140)),'height':Math[_0x244547(0x1b4)](0x1,Math[_0x244547(0x28d)](_0x1f0595))};}[_0x5555b0(0x1d4)](_0x1a2c66){const _0x58f743=_0x5555b0;let _0x1c6f47=this['_activeLayer'];if((_0x1c6f47==null?void 0x0:_0x1c6f47['unitId'])===_0x1a2c66[_0x58f743(0x267)]&&_0x1c6f47[_0x58f743(0x229)]===(_0x1a2c66[_0x58f743(0x229)]??_0x1a2c66[_0x58f743(0x267)])&&_0x1c6f47[_0x58f743(0x22a)]===_0x1a2c66[_0x58f743(0x22a)]&&_0x1c6f47[_0x58f743(0x387)]===_0x1a2c66[_0x58f743(0x387)])return _0x1c6f47[_0x58f743(0x18a)];let _0x198989=this[_0x58f743(0x2bd)]['getDrawingByParam'](this[_0x58f743(0x3ca)](_0x1a2c66));return this[_0x58f743(0x27e)](_0x198989)?this[_0x58f743(0x2c2)](_0x198989):null;}[_0x5555b0(0x396)](_0x42bd68){const _0x52c006=_0x5555b0;let _0x4eaa4c=this[_0x52c006(0x12c)];return _0x4eaa4c&&this[_0x52c006(0x1c9)](_0x42bd68)?_0x4eaa4c[_0x52c006(0x189)][_0x52c006(0x17a)]():null;}[_0x5555b0(0x3ca)](_0x2bb0c9){const _0x19f033=_0x5555b0;return{'unitId':_0x2bb0c9[_0x19f033(0x267)],'subUnitId':_0x2bb0c9['subUnitId']??_0x2bb0c9[_0x19f033(0x267)],'drawingId':_0x2bb0c9[_0x19f033(0x22a)]};}[_0x5555b0(0x1c9)](_0x891c0b){const _0x1cd1de=_0x5555b0;let _0x22cb3b=this[_0x1cd1de(0x12c)];return(_0x22cb3b==null?void 0x0:_0x22cb3b[_0x1cd1de(0x267)])===_0x891c0b[_0x1cd1de(0x267)]&&_0x22cb3b[_0x1cd1de(0x229)]===(_0x891c0b[_0x1cd1de(0x229)]??_0x891c0b['unitId'])&&_0x22cb3b[_0x1cd1de(0x22a)]===_0x891c0b[_0x1cd1de(0x22a)]&&_0x22cb3b[_0x1cd1de(0x387)]===_0x891c0b[_0x1cd1de(0x387)];}[_0x5555b0(0x27e)](_0x10e241){const _0x28bd33=_0x5555b0;let _0x867eca=_0x10e241;return(_0x867eca==null?void 0x0:_0x867eca[_0x28bd33(0x274)])===_0x47edb2[_0x28bd33(0x367)]['DRAWING_CHART']&&typeof _0x867eca['chartId']==_0x28bd33(0x262);}};_0x3dfbc1=_0x187f80([_0x255c81(0x0,_0x426163[_0x5555b0(0x28f)]),_0x255c81(0x1,_0x2c5795[_0x5555b0(0x18e)]),_0x255c81(0x2,(0x0,_0x47edb2[_0x5555b0(0x3ed)])(_0x1e1dce[_0x5555b0(0x13a)])),_0x255c81(0x3,(0x0,_0x47edb2[_0x5555b0(0x3ed)])(_0x5e3af7[_0x5555b0(0x223)])),_0x255c81(0x4,(0x0,_0x47edb2[_0x5555b0(0x3ed)])(_0x3de2c7)),_0x255c81(0x5,(0x0,_0x47edb2[_0x5555b0(0x3ed)])(_0x22478b)),_0x255c81(0x6,_0x47edb2[_0x5555b0(0x221)]),_0x255c81(0x7,_0x47edb2[_0x5555b0(0x1fa)]),_0x255c81(0x8,(0x0,_0x47edb2[_0x5555b0(0x3ed)])(_0x47edb2[_0x5555b0(0x302)])),_0x255c81(0x9,(0x0,_0x47edb2[_0x5555b0(0x3ed)])(_0x444ec8))],_0x3dfbc1);let _0x567252=_0x5555b0(0x13f),_0x5081c1=_0x25dee0=>{const _0x483c1e=_0x5555b0;let {unitId:_0xe3f86d,subUnitId:_0x12b372,floatDomId:_0x456503,chartId:_0x15169a,context:_0x1c25bc}=_0x25dee0,_0x1af323=(0x0,_0x1e1dce[_0x483c1e(0x1d9)])(_0x3dfbc1);return(0x0,_0x4c966c[_0x483c1e(0x365)])(()=>{const _0xdc32b9=_0x483c1e;let _0x53fc5e=_0x1c25bc[_0xdc32b9(0x205)][_0xdc32b9(0x3cd)];if(!_0x53fc5e)return;let _0x4703d2=_0x1af323[_0xdc32b9(0x3b9)]({'unitId':_0xe3f86d,'subUnitId':_0x12b372,'drawingId':_0x456503,'chartId':_0x15169a,'root':_0x53fc5e});return()=>_0x4703d2[_0xdc32b9(0xf3)]();},[_0x1af323,_0x15169a,_0x1c25bc[_0x483c1e(0x205)],_0x456503,_0x12b372,_0xe3f86d]),null;},_0x4493b6=()=>null,_0x5d4374=class extends _0x47edb2[_0x5555b0(0x1a0)]{constructor(_0x40082e){const _0x5d52d7=_0x5555b0;super(),this['_componentManager']=_0x40082e,this[_0x5d52d7(0x1e4)]();}[_0x5555b0(0x1e4)](){const _0x17e60b=_0x5555b0;this[_0x17e60b(0xff)](this['_componentManager'][_0x17e60b(0x198)](_0xf47311,_0x4ade61)),this[_0x17e60b(0xff)](this[_0x17e60b(0x2d2)][_0x17e60b(0x198)](_0x55cec0,_0x365943)),this[_0x17e60b(0xff)](this['_componentManager'][_0x17e60b(0x198)](_0x4b7b1f,_0x39766c)),this[_0x17e60b(0xff)](this[_0x17e60b(0x2d2)]['register'](_0x47edb2[_0x17e60b(0x1cd)],_0x4493b6)),this[_0x17e60b(0xff)](this[_0x17e60b(0x2d2)]['register'](_0x567252,_0x5081c1));}};_0x5d4374=_0x187f80([_0x255c81(0x0,(0x0,_0x47edb2[_0x5555b0(0x3ed)])(_0x1e1dce[_0x5555b0(0x3fc)]))],_0x5d4374);let _0xb9a41d=_0x5555b0(0x3a2),_0x5d59c0=class extends _0x47edb2[_0x5555b0(0x1a0)]{constructor(_0xd7917e,_0x56ea64,_0xc45af9,_0x3d46b2,_0x1b4084,_0xd587bc,_0x5a7567){const _0x3d77c2=_0x5555b0;super(),this[_0x3d77c2(0x269)]=_0xd7917e,this[_0x3d77c2(0x2ad)]=_0x56ea64,this[_0x3d77c2(0xee)]=_0xc45af9,this['_docSelectionManagerService']=_0x3d46b2,this['_docContentInsertService']=_0x1b4084,this[_0x3d77c2(0x357)]=_0xd587bc,this[_0x3d77c2(0x30b)]=_0x5a7567,this[_0x3d77c2(0x3aa)](),this[_0x3d77c2(0x1f9)]();}['openInsertDialog'](_0x22784a){const _0x2fc7ad=_0x5555b0;let _0x43a7ce=null,_0x44baff=this[_0x2fc7ad(0xee)][_0x2fc7ad(0x128)](_0x47edb2['UniverInstanceType'][_0x2fc7ad(0x204)]),_0x4c5502=()=>{const _0x394ea2=_0x2fc7ad;_0x43a7ce==null||_0x43a7ce[_0x394ea2(0xf3)](),_0x43a7ce=null;};return _0x43a7ce=this[_0x2fc7ad(0x269)][_0x2fc7ad(0x3dc)]({'id':_0x2fc7ad(0x117),'title':{'title':this['_localeService']['t'](_0x2fc7ad(0x303))},'width':_0xb9a41d,'draggable':!0x1,'mask':!0x0,'maskClosable':!0x1,'children':{'label':{'name':_0xf47311,'props':{'defaultChartType':(_0x22784a==null?void 0x0:_0x22784a[_0x2fc7ad(0x1ee)])??(_0x22784a==null?void 0x0:_0x22784a[_0x2fc7ad(0x35b)]),'defaultTableText':_0x22784a==null?void 0x0:_0x22784a[_0x2fc7ad(0x17e)],'insertOptions':{'unitId':_0x44baff==null?void 0x0:_0x44baff[_0x2fc7ad(0x388)](),'insertRange':(_0x22784a==null?void 0x0:_0x22784a[_0x2fc7ad(0x20d)])??this['_captureInsertRange']()},'onCancel':_0x4c5502,'onInserted':_0x4c5502}}},'onClose':_0x4c5502}),!0x0;}[_0x5555b0(0x1b5)](_0x66b216){const _0x2781c2=_0x5555b0;let _0x44dec3=null,_0x508a31=()=>{_0x44dec3==null||_0x44dec3['dispose'](),_0x44dec3=null;};return _0x44dec3=this['_dialogService']['open']({'id':_0x1f8c36,'title':{'title':this['_localeService']['t'](_0x2781c2(0x303))},'width':_0xb9a41d,'draggable':!0x1,'mask':!0x0,'maskClosable':!0x1,'children':{'label':{'name':_0x4b7b1f,'props':{..._0x66b216,'onClose':_0x508a31}}},'onClose':_0x508a31}),!0x0;}[_0x5555b0(0x3aa)](){this['_menuManagerService']['mergeMenu'](_0xb9c1f3);}[_0x5555b0(0x1f9)](){const _0x3eee61=_0x5555b0;this[_0x3eee61(0xff)](this[_0x3eee61(0x30b)][_0x3eee61(0x181)](_0xf28fc=>{const _0x2369c4=_0x3eee61;if(_0xf28fc['id']===_0x4d3ffd['id']){this['openInsertDialog'](_0xf28fc[_0x2369c4(0x1ed)]);return;}if(_0xf28fc['id']===_0x532994['id']){let _0x21cb24=_0xf28fc[_0x2369c4(0x1ed)];_0x21cb24&&this[_0x2369c4(0x1b5)](_0x21cb24);}}));}[_0x5555b0(0x3c8)](){const _0x18a36d=_0x5555b0;let _0x15facb=this[_0x18a36d(0xee)][_0x18a36d(0x128)](_0x47edb2[_0x18a36d(0x272)][_0x18a36d(0x204)]);if(!_0x15facb)return;let _0x9bae11=_0x15facb['getUnitId'](),_0x1c1f6b=null;try{_0x1c1f6b=this[_0x18a36d(0x23b)][_0x18a36d(0x2ea)](_0x9bae11);}catch{_0x1c1f6b=null;}if(_0x1c1f6b){let _0x2dd172={'startOffset':_0x1c1f6b[_0x18a36d(0x255)],'endOffset':_0x1c1f6b[_0x18a36d(0x381)],'collapsed':_0x1c1f6b[_0x18a36d(0x255)]===_0x1c1f6b['endOffset'],'segmentId':_0x1c1f6b[_0x18a36d(0x186)]??''};return _0x440665(_0x15facb,_0x2dd172)?_0x2dd172:void 0x0;}let _0x3b8777={'unitId':_0x9bae11,'subUnitId':_0x9bae11},_0x3fdd05=[...this['_docSelectionManagerService'][_0x18a36d(0x226)](_0x3b8777)??[]];if(_0x3fdd05[_0x18a36d(0x317)]!==0x1)return;let _0x2dc86a=_0x3fdd05[_0x18a36d(0x261)](_0x146f27=>_0x146f27[_0x18a36d(0x3cf)])??_0x3fdd05[0x0];if(!_0x2dc86a||!_0x2dc86a[_0x18a36d(0x3fb)]||_0x2dc86a['startOffset']==null)return;let _0x251413={..._0x2dc86a,'segmentId':_0x2dc86a[_0x18a36d(0x186)]??''};return _0x440665(_0x15facb,_0x251413)?_0x251413:void 0x0;}};_0x5d59c0=_0x187f80([_0x255c81(0x0,(0x0,_0x47edb2[_0x5555b0(0x3ed)])(_0x1e1dce['IDialogService'])),_0x255c81(0x1,(0x0,_0x47edb2[_0x5555b0(0x3ed)])(_0x47edb2[_0x5555b0(0x302)])),_0x255c81(0x2,_0x47edb2[_0x5555b0(0x1fa)]),_0x255c81(0x3,(0x0,_0x47edb2['Inject'])(_0x1b976a[_0x5555b0(0x14e)])),_0x255c81(0x4,(0x0,_0x47edb2[_0x5555b0(0x3ed)])(_0x1b976a[_0x5555b0(0x2f5)])),_0x255c81(0x5,_0x1e1dce[_0x5555b0(0x157)]),_0x255c81(0x6,_0x47edb2['ICommandService'])],_0x5d59c0);let _0x460ef4=class extends _0x47edb2[_0x5555b0(0x1a0)]{constructor(_0x2daaf8,_0x5f02ff){const _0x5d654d=_0x5555b0;super(),this[_0x5d654d(0x1ad)]=_0x5f02ff,this[_0x5d654d(0xff)](_0x2daaf8['register'](this));}[_0x5555b0(0x25f)](_0x3288aa){const _0x307975=_0x5555b0;return _0x307975(0x267)in _0x3288aa&&_0x307975(0x1f8)in _0x3288aa;}[_0x5555b0(0x333)](_0x43bd00,_0x24da13){const _0x53f837=_0x5555b0;if(!this['supports'](_0x43bd00))return Promise['resolve'](void 0x0);let _0x2802f4=_0x43bd00[_0x53f837(0x3a1)]()['size'];return this[_0x53f837(0x1ad)][_0x53f837(0x333)]({'unitId':_0x43bd00[_0x53f837(0x267)],'chartId':_0x43bd00[_0x53f837(0x3c7)](),'width':Math[_0x53f837(0x1b4)](0x1,(_0x2802f4==null?void 0x0:_0x2802f4[_0x53f837(0x351)])??0x1),'height':Math['max'](0x1,(_0x2802f4==null?void 0x0:_0x2802f4[_0x53f837(0x213)])??0x1),'format':_0x24da13==null?void 0x0:_0x24da13[_0x53f837(0x1ca)],'mode':_0x53f837(0x150)});}};_0x460ef4=_0x187f80([_0x255c81(0x0,(0x0,_0x47edb2[_0x5555b0(0x3ed)])(_0x54f46[_0x5555b0(0x2d3)])),_0x255c81(0x1,(0x0,_0x47edb2[_0x5555b0(0x3ed)])(_0x22478b))],_0x460ef4);function _0xe0747e(_0x1e1464,_0x15d014,_0x281a81){const _0x2d36eb=_0x5555b0;let _0x211b71=_0x281a81[_0x2d36eb(0x271)]??0x0,_0x5a11c4=_0x281a81[_0x2d36eb(0x3c2)]??0x0,_0x1884d6=_0x211b71;for(let _0x3dccb5 of _0x15d014){let _0x4c5cd4=_0x3dccb5[_0x2d36eb(0x193)]['get'](_0x1e1464[_0x2d36eb(0x22a)]);if(_0x4c5cd4)return{'left':_0x5a11c4+_0x3dccb5['marginLeft']+_0x4c5cd4[_0x2d36eb(0x2a8)],'top':_0x1884d6+_0x3dccb5[_0x2d36eb(0x1fc)]+_0x4c5cd4['aTop'],'width':_0x4c5cd4['width'],'height':_0x4c5cd4[_0x2d36eb(0x213)],'angle':_0x4c5cd4['angle'],'flipX':_0x1e1464[_0x2d36eb(0x3bb)]['flipX'],'flipY':_0x1e1464[_0x2d36eb(0x3bb)][_0x2d36eb(0x161)]};let _0x446f35=Number['isFinite'](_0x3dccb5[_0x2d36eb(0x27d)])?_0x3dccb5[_0x2d36eb(0x27d)]:_0x3dccb5[_0x2d36eb(0x213)];_0x1884d6+=Math[_0x2d36eb(0x1b4)](0x0,_0x446f35)+_0x281a81[_0x2d36eb(0x24c)];}return null;}let _0x5c3c1a=class extends _0x47edb2[_0x5555b0(0x1a0)]{constructor(_0x3e0d52,_0x3fe69b,_0x4406b3,_0x44dd3e){const _0x25c654=_0x5555b0;super(),this[_0x25c654(0x2bd)]=_0x3e0d52,this[_0x25c654(0x34d)]=_0x3fe69b,this['_snapshotRenderService']=_0x4406b3,this['_docPrintInterceptorService']=_0x44dd3e,_0xf1bfd(this,'_preparedCharts',new Map());let _0x23938d=this[_0x25c654(0x343)][_0x25c654(0xf5)];_0x23938d&&this[_0x25c654(0xff)](_0x23938d[_0x25c654(0x3c1)](this[_0x25c654(0x343)],_0x488946=>this[_0x25c654(0x34c)](_0x488946))),this[_0x25c654(0x3d1)]();}async['prepare'](_0x8b5c0e){const _0x21c65b=_0x5555b0;let _0x2bc8d9=this[_0x21c65b(0x197)](_0x8b5c0e[_0x21c65b(0x267)]),_0x7ae2b4=new Map();this[_0x21c65b(0x107)][_0x21c65b(0x3b6)](_0x8b5c0e[_0x21c65b(0x267)],_0x7ae2b4),await Promise[_0x21c65b(0x286)](_0x2bc8d9['map'](async _0x4c5721=>{const _0x434cd0=_0x21c65b;let _0x89ec7e=_0x8561ef(_0x4c5721);if(!_0x89ec7e)return;let _0x256c49={'unitId':_0x8b5c0e[_0x434cd0(0x267)],'chartId':_0x4c5721[_0x434cd0(0x387)],'width':_0x89ec7e[_0x434cd0(0x351)],'height':_0x89ec7e[_0x434cd0(0x213)],'dpr':_0x8b5c0e['dpr'],'mode':_0x434cd0(0x301)},_0x301be1={..._0x256c49,'dpr':_0x225029[_0x434cd0(0xf1)],'mode':_0x434cd0(0x10a)},_0x4c989b=this[_0x434cd0(0x209)]['getSnapshot'](_0x301be1),_0x46ff8d=(_0x4c989b==null?void 0x0:_0x4c989b['status'])==='ready'?this[_0x434cd0(0x260)](_0x4c5721):null;if(_0x46ff8d){_0x7ae2b4['set'](_0x4c5721['drawingId'],{'image':_0x46ff8d});return;}let _0x26d426=(_0x4c989b==null?void 0x0:_0x4c989b[_0x434cd0(0x11e)])===_0x434cd0(0x2c8)?_0x4c989b['dataUrl']:await this[_0x434cd0(0x209)][_0x434cd0(0x333)]((_0x4c989b==null?void 0x0:_0x4c989b[_0x434cd0(0x11e)])===_0x434cd0(0x15d)?_0x301be1:_0x256c49);_0x26d426&&_0x7ae2b4[_0x434cd0(0x3b6)](_0x4c5721[_0x434cd0(0x22a)],{'image':await _0x37d500(_0x26d426)});}));}[_0x5555b0(0x3d1)](){const _0x3a9115=_0x5555b0;this[_0x3a9115(0xff)](this[_0x3a9115(0x343)][_0x3a9115(0x30f)][_0x3a9115(0x1fb)](this[_0x3a9115(0x343)][_0x3a9115(0x30f)][_0x3a9115(0x1f1)]()[_0x3a9115(0x3f5)],{'handler':(_0x300ecf,{unitId:_0x5c71e4,scene:_0x233360,skeleton:_0x3b170b,documents:_0xbee420},_0x1b10b4)=>{const _0x5f4fa3=_0x3a9115;var _0xb410d3,_0x4a7a5d;let _0x4790b1=_0x1b10b4(_0x300ecf),_0x2f932c=this['_preparedCharts']['get'](_0x5c71e4),_0x53cb47=((_0xb410d3=_0x3b170b['getSkeletonData']())==null?void 0x0:_0xb410d3['pages'])??[];if(!(_0x2f932c!=null&&_0x2f932c[_0x5f4fa3(0x230)])||!_0x53cb47['length'])return _0x4790b1;let _0x282709=(_0x4a7a5d=this[_0x5f4fa3(0x2bd)]['getDrawingDataForUnit'](_0x5c71e4))==null?void 0x0:_0x4a7a5d[_0x5c71e4];return _0x282709==null||_0x282709[_0x5f4fa3(0x33e)][_0x5f4fa3(0x1e5)]((_0xf0d964,_0x5095da)=>{const _0x4878ca=_0x5f4fa3;let _0x4afbd2=_0x282709['data'][_0xf0d964],_0x5c8e1a=_0x2f932c['get'](_0xf0d964);if(!_0x5c8e1a||_0x4afbd2[_0x4878ca(0x158)]||_0x4afbd2['drawingType']!==_0x47edb2[_0x4878ca(0x367)]['DRAWING_CHART'])return;let _0x309cab={..._0xe0747e(_0x4afbd2,_0x53cb47,_0xbee420['getOffsetConfig']())??(0x0,_0x1b976a['docDrawingPositionToTransform'])(_0x4afbd2[_0x4878ca(0x3bb)]),'image':_0x5c8e1a[_0x4878ca(0x19c)],'printable':!0x0,'forceRender':!0x0,'zIndex':_0x5095da};_0x233360[_0x4878ca(0x206)](new _0x2c5795[(_0x4878ca(0x2c9))]((0x0,_0x426163[_0x4878ca(0x166)])(_0x4afbd2),_0x309cab),_0x2c5795['DRAWING_OBJECT_LAYER_INDEX']);}),_0x4790b1;}}));}[_0x5555b0(0x197)](_0x1887e5){const _0x4cb04e=_0x5555b0;var _0x1bcf68;let _0x4ce129=(_0x1bcf68=this[_0x4cb04e(0x2bd)]['getDrawingDataForUnit'](_0x1887e5))==null?void 0x0:_0x1bcf68[_0x1887e5];return(_0x4ce129==null?void 0x0:_0x4ce129['order']['map'](_0x454322=>_0x4ce129[_0x4cb04e(0x1ff)][_0x454322])[_0x4cb04e(0x342)](_0xb0bb29=>_0xb0bb29[_0x4cb04e(0x274)]===_0x47edb2[_0x4cb04e(0x367)]['DRAWING_CHART']&&!_0xb0bb29[_0x4cb04e(0x158)]&&!!_0xb0bb29['chartId']))??[];}[_0x5555b0(0x260)](_0x1e0f56){const _0x468ba7=_0x5555b0;var _0xfc8ac8,_0xd9a927;let _0x1a6bab=(_0xfc8ac8=this[_0x468ba7(0x34d)][_0x468ba7(0x160)](_0x1e0f56[_0x468ba7(0x267)]))==null?void 0x0:_0xfc8ac8['scene'],_0x37d369=_0x1a6bab==null?void 0x0:_0x1a6bab[_0x468ba7(0x1a2)]((0x0,_0x426163[_0x468ba7(0x166)])(_0x1e0f56)),_0xe33a17=_0x37d369==null||(_0xd9a927=_0x37d369['getNative'])==null?void 0x0:_0xd9a927['call'](_0x37d369);return _0xe33a17!=null&&_0xe33a17[_0x468ba7(0x2bf)]&&_0xe33a17['naturalWidth']>0x0?_0xe33a17:null;}};_0x5c3c1a=_0x187f80([_0x255c81(0x0,_0x426163[_0x5555b0(0x28f)]),_0x255c81(0x1,_0x2c5795[_0x5555b0(0x18e)]),_0x255c81(0x2,(0x0,_0x47edb2[_0x5555b0(0x3ed)])(_0x22478b)),_0x255c81(0x3,(0x0,_0x47edb2[_0x5555b0(0x3ed)])(_0x42517f[_0x5555b0(0x2a6)]))],_0x5c3c1a);function _0x8561ef(_0x52d4f5){const _0x13daa2=_0x5555b0;var _0x417d12,_0x5a0372,_0x4800ad,_0x5e9b42;let _0x30b488=((_0x417d12=_0x52d4f5[_0x13daa2(0x348)])==null?void 0x0:_0x417d12[_0x13daa2(0x351)])??((_0x5a0372=_0x52d4f5[_0x13daa2(0x3bb)])==null||(_0x5a0372=_0x5a0372[_0x13daa2(0x230)])==null?void 0x0:_0x5a0372[_0x13daa2(0x351)])??0x0,_0x5022ff=((_0x4800ad=_0x52d4f5[_0x13daa2(0x348)])==null?void 0x0:_0x4800ad[_0x13daa2(0x213)])??((_0x5e9b42=_0x52d4f5[_0x13daa2(0x3bb)])==null||(_0x5e9b42=_0x5e9b42[_0x13daa2(0x230)])==null?void 0x0:_0x5e9b42[_0x13daa2(0x213)])??0x0;return _0x30b488>0x0&&_0x5022ff>0x0?{'width':Math[_0x13daa2(0x1b4)](0x1,Math[_0x13daa2(0x28d)](_0x30b488)),'height':Math[_0x13daa2(0x1b4)](0x1,Math[_0x13daa2(0x28d)](_0x5022ff))}:null;}function _0x37d500(_0x51f597){return new Promise((_0x14699b,_0x1bd00f)=>{const _0x2044fa=_0x241d;let _0x3557df=new globalThis[(_0x2044fa(0x2c9))](),_0x174101=globalThis['setTimeout'](()=>_0x1bd00f(Error('Timed\x20out\x20loading\x20document\x20chart\x20print\x20image.')),0x2710),_0x50cd56=_0x17f33e=>{const _0x33c029=_0x2044fa;globalThis[_0x33c029(0x13b)](_0x174101),_0x3557df['onload']=null,_0x3557df[_0x33c029(0x2cb)]=null,_0x17f33e();};_0x3557df[_0x2044fa(0x2e8)]=()=>_0x50cd56(()=>_0x14699b(_0x3557df)),_0x3557df['onerror']=()=>_0x50cd56(()=>_0x1bd00f(Error(_0x2044fa(0x143)))),_0x3557df[_0x2044fa(0x358)]=_0x51f597,_0x3557df['complete']&&_0x3557df['naturalWidth']>0x0&&_0x50cd56(()=>_0x14699b(_0x3557df));});}let _0xaaff8=class extends _0x47edb2['Plugin']{constructor(_0x32364a=_0x56ae2c,_0x47bc4a,_0x445060,_0x29d6d7){const _0x379c7e=_0x5555b0;super(),this['_config']=_0x32364a,this['_injector']=_0x47bc4a,this[_0x379c7e(0x207)]=_0x445060,this[_0x379c7e(0x30b)]=_0x29d6d7;let {..._0x401d17}=(0x0,_0x47edb2[_0x379c7e(0x101)])({},_0x56ae2c,this[_0x379c7e(0x2a1)]);this[_0x379c7e(0x207)][_0x379c7e(0x346)](_0x391f0a,_0x401d17),this[_0x379c7e(0x1c5)]();}[_0x5555b0(0x141)](){const _0x56cb0d=_0x5555b0;let _0x3c6e66=this['_injector'];[[_0x5d4374],[_0x340b67],[_0x16a879],[_0x55ae54,{'useClass':_0x2ef4d0}],[_0x3dfbc1],[_0x5c3c1a],[_0x3de2c7],[_0x22478b],[_0x460ef4],[_0x6d56c4],[_0x444ec8],[_0x5325a0],[_0x39b236],[_0x5d59c0]][_0x56cb0d(0x1e5)](_0x4622ab=>_0x3c6e66['add'](_0x4622ab)),(0x0,_0x47edb2[_0x56cb0d(0x296)])(_0x3c6e66,[[_0x340b67],[_0x16a879],[_0x55ae54],[_0x3dfbc1],[_0x5c3c1a],[_0x3de2c7],[_0x22478b],[_0x460ef4],[_0x5325a0],[_0x39b236]]),this[_0x56cb0d(0x12a)][_0x56cb0d(0x3d6)](_0x5d4374);}[_0x5555b0(0x3a5)](){const _0xe4a9db=_0x5555b0;this[_0xe4a9db(0x12a)]['get'](_0x6d56c4),this[_0xe4a9db(0x12a)][_0xe4a9db(0x3d6)](_0x444ec8),this[_0xe4a9db(0x12a)][_0xe4a9db(0x3d6)](_0x5325a0),this['_injector'][_0xe4a9db(0x3d6)](_0x39b236),this[_0xe4a9db(0x12a)][_0xe4a9db(0x3d6)](_0x5d59c0);}[_0x5555b0(0x1c5)](){const _0x2439a5=_0x5555b0;[_0x4d3ffd,_0x532994][_0x2439a5(0x1e5)](_0x125ba1=>{const _0x3a8171=_0x2439a5;this[_0x3a8171(0xff)](this[_0x3a8171(0x30b)][_0x3a8171(0x15b)](_0x125ba1));});}};_0xf1bfd(_0xaaff8,_0x5555b0(0x103),_0x47edb2[_0x5555b0(0x272)][_0x5555b0(0x204)]),_0xf1bfd(_0xaaff8,_0x5555b0(0x26d),_0x5555b0(0x392)),_0xf1bfd(_0xaaff8,'packageName',_0x2ce664),_0xf1bfd(_0xaaff8,_0x5555b0(0x29d),_0x23c859),_0xaaff8=_0x187f80([(0x0,_0x47edb2[_0x5555b0(0x1ce)])(_0x625734['UniverLicensePlugin'],_0x1b976a['UniverDocsPlugin'],_0x426163['UniverDrawingPlugin'],_0x2c5795['UniverRenderEnginePlugin'],_0x27ace2[_0x5555b0(0x25e)],_0x42517f[_0x5555b0(0x378)],_0x54f46[_0x5555b0(0x1b6)],_0x5e3af7[_0x5555b0(0x263)],_0x9803db[_0x5555b0(0x1e8)]),_0x255c81(0x1,(0x0,_0x47edb2[_0x5555b0(0x3ed)])(_0x47edb2[_0x5555b0(0x248)])),_0x255c81(0x2,_0x47edb2[_0x5555b0(0x235)]),_0x255c81(0x3,_0x47edb2[_0x5555b0(0x221)])],_0xaaff8),_0xe3ddb8[_0x5555b0(0x3d0)]=_0x391f0a,_0xe3ddb8[_0x5555b0(0x139)]=_0x567252,_0xe3ddb8[_0x5555b0(0x385)]=_0x399c3d,_0xe3ddb8[_0x5555b0(0x339)]=_0x55cec0,_0xe3ddb8[_0x5555b0(0x323)]=_0x5555b0(0x1d2),_0xe3ddb8['DOC_CHART_EDITOR_DIALOG_COMPONENT']=_0x4b7b1f,_0xe3ddb8[_0x5555b0(0x402)]=_0x1f8c36,_0xe3ddb8['DOC_CHART_INSERT_BELOW_MENU_ID']=_0x36065d,_0xe3ddb8[_0x5555b0(0x3be)]=_0x2b7762,_0xe3ddb8[_0x5555b0(0x28e)]=_0xf47311,_0xe3ddb8['DocActiveChart']=_0x5081c1,Object['defineProperty'](_0xe3ddb8,_0x5555b0(0x2b8),{'enumerable':!0x0,'get':function(){return _0x3dfbc1;}}),Object['defineProperty'](_0xe3ddb8,_0x5555b0(0x322),{'enumerable':!0x0,'get':function(){return _0x5325a0;}}),Object['defineProperty'](_0xe3ddb8,_0x5555b0(0x237),{'enumerable':!0x0,'get':function(){return _0x16a879;}}),_0xe3ddb8[_0x5555b0(0x171)]=_0x365943,_0xe3ddb8[_0x5555b0(0x31c)]=_0x18ae04,Object[_0x5555b0(0x11a)](_0xe3ddb8,'DocChartDrawingEditController',{'enumerable':!0x0,'get':function(){return _0x39b236;}}),_0xe3ddb8[_0x5555b0(0x2a7)]=_0x3eb499,_0xe3ddb8[_0x5555b0(0x1e7)]=_0x39766c,_0xe3ddb8[_0x5555b0(0x2a9)]=_0x582350,_0xe3ddb8['DocChartInsertMenuItemFactory']=_0x4bd32d,_0xe3ddb8[_0x5555b0(0x1cb)]=_0x4ade61,_0xe3ddb8[_0x5555b0(0x38e)]=_0x2f0ade,Object[_0x5555b0(0x11a)](_0xe3ddb8,_0x5555b0(0x15f),{'enumerable':!0x0,'get':function(){return _0x340b67;}}),Object[_0x5555b0(0x11a)](_0xe3ddb8,_0x5555b0(0x306),{'enumerable':!0x0,'get':function(){return _0x5c3c1a;}}),Object[_0x5555b0(0x11a)](_0xe3ddb8,_0x5555b0(0x360),{'enumerable':!0x0,'get':function(){return _0x3de2c7;}}),Object[_0x5555b0(0x11a)](_0xe3ddb8,_0x5555b0(0x12e),{'enumerable':!0x0,'get':function(){return _0x6d56c4;}}),Object['defineProperty'](_0xe3ddb8,_0x5555b0(0x2fc),{'enumerable':!0x0,'get':function(){return _0x22478b;}}),Object[_0x5555b0(0x11a)](_0xe3ddb8,_0x5555b0(0x2e3),{'enumerable':!0x0,'get':function(){return _0x2ef4d0;}}),_0xe3ddb8[_0x5555b0(0x304)]=_0x5faa7a,_0xe3ddb8['DocPrintChart']=_0x4493b6,_0xe3ddb8[_0x5555b0(0x214)]=_0xb9c1f3,_0xe3ddb8[_0x5555b0(0x11b)]=_0x1b553f,_0xe3ddb8['IDocChartUIService']=_0x55ae54,_0xe3ddb8[_0x5555b0(0x334)]=_0x532994,_0xe3ddb8['OpenDocChartInsertDialogOperation']=_0x4d3ffd,Object['defineProperty'](_0xe3ddb8,_0x5555b0(0x392),{'enumerable':!0x0,'get':function(){return _0xaaff8;}}),_0xe3ddb8[_0x5555b0(0x3a9)]=_0x56ae2c,_0xe3ddb8['getDocChartInsertDisabledObservable']=_0x28801;}));
|
|
1
|
+
function _0x3b85(_0x4022a6,_0x2a3e3a){_0x4022a6=_0x4022a6-0x1be;const _0xc482d8=_0xc482();let _0x3b85af=_0xc482d8[_0x4022a6];return _0x3b85af;}(function(_0x1fac09,_0x31057e){const _0x41252e=_0x3b85,_0x333d0d=_0x1fac09();while(!![]){try{const _0x31f7db=parseInt(_0x41252e(0x208))/0x1+-parseInt(_0x41252e(0x310))/0x2*(-parseInt(_0x41252e(0x4c0))/0x3)+-parseInt(_0x41252e(0x1d4))/0x4+parseInt(_0x41252e(0x27b))/0x5*(parseInt(_0x41252e(0x25c))/0x6)+-parseInt(_0x41252e(0x345))/0x7*(-parseInt(_0x41252e(0x41f))/0x8)+parseInt(_0x41252e(0x45e))/0x9*(-parseInt(_0x41252e(0x28e))/0xa)+-parseInt(_0x41252e(0x3a1))/0xb;if(_0x31f7db===_0x31057e)break;else _0x333d0d['push'](_0x333d0d['shift']());}catch(_0x13df00){_0x333d0d['push'](_0x333d0d['shift']());}}}(_0xc482,0x45879),function(_0x8963cb,_0x319ab7){const _0x239c91=_0x3b85;typeof exports=='object'&&typeof module<'u'?_0x319ab7(exports,require('@univerjs/core'),require('@univerjs-pro/chart-ui'),require('@univerjs-pro/engine-chart'),require('@univerjs/ui'),require('react'),require('react/jsx-runtime'),require('@univerjs-pro/docs-chart'),require('@univerjs/docs'),require('@univerjs/docs-ui'),require('@univerjs/docs-drawing'),require('@univerjs/docs-drawing-ui'),require('rxjs'),require('@univerjs-pro/license'),require('@univerjs/drawing'),require('@univerjs/engine-render')):typeof define==_0x239c91(0x45f)&&define[_0x239c91(0x503)]?define(['exports',_0x239c91(0x3a8),_0x239c91(0x495),'@univerjs-pro/engine-chart',_0x239c91(0x260),_0x239c91(0x405),_0x239c91(0x1d8),_0x239c91(0x4b5),_0x239c91(0x1c8),_0x239c91(0x448),_0x239c91(0x4c5),_0x239c91(0x412),_0x239c91(0x1c7),'@univerjs-pro/license',_0x239c91(0x485),_0x239c91(0x37e)],_0x319ab7):(_0x8963cb=typeof globalThis<'u'?globalThis:_0x8963cb||self,_0x319ab7(_0x8963cb[_0x239c91(0x279)]={},_0x8963cb[_0x239c91(0x48f)],_0x8963cb[_0x239c91(0x23b)],_0x8963cb[_0x239c91(0x3d0)],_0x8963cb['UniverUi'],_0x8963cb[_0x239c91(0x1de)],_0x8963cb[_0x239c91(0x1de)],_0x8963cb[_0x239c91(0x22b)],_0x8963cb['UniverDocs'],_0x8963cb['UniverDocsUi'],_0x8963cb['UniverDocsDrawing'],_0x8963cb[_0x239c91(0x506)],_0x8963cb[_0x239c91(0x1c7)],_0x8963cb[_0x239c91(0x2bf)],_0x8963cb[_0x239c91(0x3b8)],_0x8963cb[_0x239c91(0x3c2)]));}(this,function(_0x3267f0,_0x3811f3,_0x28ba9f,_0x10d771,_0x212387,_0x781fbd,_0xfc6bb1,_0x2d4ecf,_0x100932,_0x39ab44,_0x3e994e,_0x530b3f,_0x244a93,_0x10544d,_0x1cc938,_0x1d3927){const _0x2c9ee4=_0x3b85;Object[_0x2c9ee4(0x4e8)](_0x3267f0,Symbol[_0x2c9ee4(0x34c)],{'value':_0x2c9ee4(0x4fe)});let _0x5637e0={'id':_0x2c9ee4(0x2c3),'type':_0x3811f3[_0x2c9ee4(0x356)]['OPERATION'],'handler'(){return!0x0;}},_0x76fe7={'id':_0x2c9ee4(0x416),'type':_0x3811f3['CommandType'][_0x2c9ee4(0x31c)],'handler'(){return!0x0;}},_0x4ec2c5=_0x2c9ee4(0x417),_0x35204c=function(_0x2e15d0){const _0x5db79d=_0x2c9ee4;return _0x2e15d0[_0x5db79d(0x30e)]=_0x5db79d(0x334),_0x2e15d0[_0x5db79d(0x3aa)]=_0x5db79d(0x2c4),_0x2e15d0;}({});function _0xc76323(_0x2fb592){const _0x2467cd=_0x2c9ee4;let {ButtonComponent:_0x27a0b7}=(0x0,_0x28ba9f['useChartEditorComponents'])(),_0x184221=(0x0,_0x212387[_0x2467cd(0x326)])(_0x3811f3[_0x2467cd(0x312)]),{values:_0x23b78a,onCancel:_0x568732,onChange:_0x1f556e,onSubmit:_0x5b0f4f}=_0x2fb592,[_0x4e1787,_0x4b726d]=(0x0,_0x781fbd['useState'])(()=>(0x0,_0x10d771['isReferencedChartDataSource'])(_0x2fb592[_0x2467cd(0x1f4)])?'referenced':'inline'),[_0x47d4fe,_0xae16c5]=(0x0,_0x781fbd[_0x2467cd(0x48a)])(null),[_0x2fa53d,_0x425bb3]=(0x0,_0x781fbd['useState'])(()=>_0x23b78a['map'](_0x4abb61=>[..._0x4abb61])),[_0xfe99c,_0x4459d6]=(0x0,_0x781fbd[_0x2467cd(0x48a)])(null),_0x1d0cd6=_0x3bcb82=>{_0x425bb3(_0x3bcb82),_0x1f556e==null||_0x1f556e(_0x3bcb82);},_0x34cf21=_0x471372=>{const _0x437f33=_0x2467cd;let _0x448619=(0x0,_0x28ba9f['compactInlineTableValues'])(_0x2fa53d);if(_0x448619[_0x437f33(0x3f8)]===0x0){_0x4459d6(_0x184221['t'](_0x437f33(0x483)));return;}_0x4459d6(null),_0x5b0f4f(_0x448619,_0x471372);};return(0x0,_0xfc6bb1[_0x2467cd(0x43a)])(_0x2467cd(0x48b),{'className':_0x2467cd(0x46b),'children':[(0x0,_0xfc6bb1[_0x2467cd(0x3da)])(_0x2467cd(0x48b),{'className':_0x2467cd(0x265),'children':(0x0,_0xfc6bb1[_0x2467cd(0x3da)])(_0x28ba9f[_0x2467cd(0x47f)],{'mode':_0x4e1787,'initialSource':(0x0,_0x10d771[_0x2467cd(0x235)])(_0x2fb592[_0x2467cd(0x1f4)])?_0x2fb592['dataSource']['source']:void 0x0,'inlineContent':(0x0,_0xfc6bb1[_0x2467cd(0x3da)])(_0x28ba9f[_0x2467cd(0x380)],{'values':_0x2fa53d,'parsePastedText':_0x10d771[_0x2467cd(0x232)],'onChange':_0x1d0cd6}),'onModeChange':_0x3b1b55=>{_0x4b726d(_0x3b1b55),_0xae16c5(null);},'onPreviewChange':(_0x394bc8,_0x32f0f6)=>{const _0x3e9e10=_0x2467cd;_0xae16c5(_0x394bc8&&_0x32f0f6[_0x3e9e10(0x2db)]===_0x10d771[_0x3e9e10(0x486)][_0x3e9e10(0x467)]?{'source':_0x394bc8}:null),_0x32f0f6[_0x3e9e10(0x324)]&&(_0x1f556e==null||_0x1f556e(_0x32f0f6[_0x3e9e10(0x324)][_0x3e9e10(0x4ca)](_0x44f362=>[..._0x44f362])));}})}),_0xfe99c&&(0x0,_0xfc6bb1[_0x2467cd(0x3da)])('div',{'className':_0x2467cd(0x3e0),'children':_0xfe99c}),(0x0,_0xfc6bb1[_0x2467cd(0x43a)])(_0x2467cd(0x48b),{'className':_0x2467cd(0x23f),'children':[_0x568732&&(0x0,_0xfc6bb1[_0x2467cd(0x3da)])(_0x27a0b7,{'type':'button','variant':_0x2467cd(0x419),'onClick':_0x568732,'children':_0x184221['t'](_0x2467cd(0x428))}),(0x0,_0xfc6bb1[_0x2467cd(0x3da)])(_0x27a0b7,{'type':_0x2467cd(0x285),'variant':_0x2467cd(0x35c),'disabled':_0x4e1787==='referenced'&&!_0x47d4fe,'onClick':()=>{const _0x23885f=_0x2467cd;var _0x5157bd;return _0x4e1787===_0x23885f(0x1cd)&&_0x47d4fe?(_0x5157bd=_0x2fb592[_0x23885f(0x3e3)])==null?void 0x0:_0x5157bd['call'](_0x2fb592,_0x47d4fe):_0x34cf21(_0x23885f(0x334));},'children':_0x184221['t'](_0x2467cd(0x263))})]})]});}function _0x492bb2(_0xca16e4,_0x26c446){return function(_0xac1423,_0xfe93dd){_0x26c446(_0xac1423,_0xfe93dd,_0xca16e4);};}function _0x58c753(_0x124cb5,_0x4e1ab7,_0x5a7ba2,_0xb5c918){const _0x556fa3=_0x2c9ee4;var _0x4dc8c4=arguments[_0x556fa3(0x3f8)],_0x303add=_0x4dc8c4<0x3?_0x4e1ab7:_0xb5c918===null?_0xb5c918=Object[_0x556fa3(0x475)](_0x4e1ab7,_0x5a7ba2):_0xb5c918,_0xbd5a40;if(typeof Reflect==_0x556fa3(0x2dc)&&typeof Reflect[_0x556fa3(0x1e4)]==_0x556fa3(0x45f))_0x303add=Reflect[_0x556fa3(0x1e4)](_0x124cb5,_0x4e1ab7,_0x5a7ba2,_0xb5c918);else{for(var _0x43845a=_0x124cb5[_0x556fa3(0x3f8)]-0x1;_0x43845a>=0x0;_0x43845a--)(_0xbd5a40=_0x124cb5[_0x43845a])&&(_0x303add=(_0x4dc8c4<0x3?_0xbd5a40(_0x303add):_0x4dc8c4>0x3?_0xbd5a40(_0x4e1ab7,_0x5a7ba2,_0x303add):_0xbd5a40(_0x4e1ab7,_0x5a7ba2))||_0x303add);}return _0x4dc8c4>0x3&&_0x303add&&Object['defineProperty'](_0x4e1ab7,_0x5a7ba2,_0x303add),_0x303add;}let _0x437a27=class{constructor(_0x498f6f,_0x3590a0){this['_commandService']=_0x498f6f,this['_resourceService']=_0x3590a0;}[_0x2c9ee4(0x33c)](_0x1fde63,_0x3e567d){const _0xbc5b5b=_0x2c9ee4;let _0x1c136e=this[_0xbc5b5b(0x311)][_0xbc5b5b(0x30a)](_0x1fde63,_0x3e567d),_0x4d1bb4=_0x1c136e?this[_0xbc5b5b(0x311)]['getDataSource'](_0x1fde63,_0x1c136e[_0xbc5b5b(0x229)]):void 0x0;return!_0x1c136e||!_0x4d1bb4?null:{'unitId':_0x1fde63,'chartId':_0x3e567d,'dataSourceId':_0x4d1bb4['id'],'dataSource':_0x4d1bb4,'values':(0x0,_0x10d771[_0xbc5b5b(0x3ca)])(_0x4d1bb4)?_0x4d1bb4[_0xbc5b5b(0x324)][_0xbc5b5b(0x4ca)](_0x203102=>[..._0x203102]):[],'sharingCount':this[_0xbc5b5b(0x311)][_0xbc5b5b(0x4cb)](_0x1fde63,_0x4d1bb4['id'])};}['updateDataFromText'](_0x5b3bc3,_0xe7e9f3,_0x35198f,_0xac1a37){const _0x166375=_0x2c9ee4;let _0x586de1=(0x0,_0x10d771['parseInlineChartTable'])(_0x35198f);return _0x586de1[_0x166375(0x3f8)]!==0x0&&this[_0x166375(0x434)](_0x5b3bc3,_0xe7e9f3,_0x586de1,_0xac1a37);}[_0x2c9ee4(0x434)](_0xc4b10f,_0x2fd90a,_0x2981bf,_0x1b608b){const _0x4ba025=_0x2c9ee4;var _0x3434ce;if(!this['getEditorState'](_0xc4b10f,_0x2fd90a)||_0x2981bf[_0x4ba025(0x3f8)]===0x0)return!0x1;let _0x3f32d1=(_0x3434ce=this[_0x4ba025(0x311)]['getChart'](_0xc4b10f,_0x2fd90a))==null?void 0x0:_0x3434ce[_0x4ba025(0x24e)];if(_0x3f32d1===void 0x0)return!0x1;let _0x329aa7=(0x0,_0x28ba9f[_0x4ba025(0x3ae)])(_0x3f32d1,_0x2981bf);return _0x329aa7['ok']?this[_0x4ba025(0x225)](_0xc4b10f,_0x2fd90a,{'values':_0x329aa7['values']}):!0x1;}[_0x2c9ee4(0x225)](_0x4d7c8c,_0x390a33,_0x1e7885){const _0x30f0c6=_0x2c9ee4;return this[_0x30f0c6(0x2be)][_0x30f0c6(0x2ac)](_0x2d4ecf[_0x30f0c6(0x47e)]['id'],{'unitId':_0x4d7c8c,'chartId':_0x390a33,'dataSource':_0x1e7885});}};_0x437a27=_0x58c753([_0x492bb2(0x0,_0x3811f3[_0x2c9ee4(0x3c1)]),_0x492bb2(0x1,(0x0,_0x3811f3['Inject'])(_0x10d771[_0x2c9ee4(0x248)]))],_0x437a27);let _0x480905=(0x0,_0x3811f3[_0x2c9ee4(0x215)])(_0x2c9ee4(0x4d6)),_0x42559e=class extends _0x28ba9f[_0x2c9ee4(0x244)]{constructor(_0x2afab5,_0x12c6ee,_0x577778){const _0x5d9f57=_0x2c9ee4;super(_0x577778),this[_0x5d9f57(0x2a1)]=_0x2afab5,this[_0x5d9f57(0x2be)]=_0x12c6ee;}get[_0x2c9ee4(0x3b0)](){const _0x357c37=_0x2c9ee4;return this['_modelService'][_0x357c37(0x3b0)];}[_0x2c9ee4(0x2f2)](_0x28445a){const _0x367207=_0x2c9ee4;let _0x162133=this[_0x367207(0x3b0)],_0x19521d=_0x28445a['unitId']??(_0x162133==null?void 0x0:_0x162133[_0x367207(0x370)]),_0x367580=_0x28445a['chartId']??(_0x162133==null?void 0x0:_0x162133[_0x367207(0x240)]);_0x19521d&&_0x367580&&this[_0x367207(0x2be)][_0x367207(0x31b)](_0x2d4ecf[_0x367207(0x3bf)]['id'],{..._0x28445a,'unitId':_0x19521d,'chartId':_0x367580});}};_0x42559e=_0x58c753([_0x492bb2(0x0,(0x0,_0x3811f3[_0x2c9ee4(0x33e)])(_0x2d4ecf[_0x2c9ee4(0x23a)])),_0x492bb2(0x1,_0x3811f3['ICommandService']),_0x492bb2(0x2,(0x0,_0x3811f3[_0x2c9ee4(0x33e)])(_0x28ba9f['ChartViewStateRegistry']))],_0x42559e);let _0x23adb7={'axis':{..._0x28ba9f[_0x2c9ee4(0x3e8)],'primaryGridLineVisible':!0x0,'secondaryGridLineVisible':!0x0},'legend':_0x28ba9f['DEFAULT_CHART_LEGEND_VALUES'],'lineAndArea':_0x28ba9f[_0x2c9ee4(0x332)],'pareto':_0x28ba9f[_0x2c9ee4(0x344)],'funnel':_0x28ba9f[_0x2c9ee4(0x224)],'heatmap':_0x28ba9f['DEFAULT_CHART_HEATMAP_VALUES'],'indicatorLine':_0x28ba9f[_0x2c9ee4(0x4bf)],'pie':{..._0x28ba9f[_0x2c9ee4(0x4b9)],'doughnutHole':0x0,'pieHole':0x0},'relation':{..._0x28ba9f['DEFAULT_CHART_RELATION_VALUES'],'useValueAsSymbolSize':!0x1},'radar':_0x28ba9f[_0x2c9ee4(0x501)],'series':{..._0x28ba9f[_0x2c9ee4(0x2de)],'radarFillOpacity':0x1,'rightAxis':{'ltr':!0x1,'rtl':!0x1}},'style':_0x28ba9f[_0x2c9ee4(0x461)],'titles':_0x28ba9f[_0x2c9ee4(0x4ad)],'waterfall':{..._0x28ba9f['DEFAULT_CHART_WATERFALL_SETUP_VALUES'],'useSubtotal':!0x0},'waterfallStyle':_0x28ba9f[_0x2c9ee4(0x2ec)],'wordCloud':_0x28ba9f[_0x2c9ee4(0x300)]},_0x95cf28=[_0x10d771[_0x2c9ee4(0x321)]['Candlestick'],_0x10d771[_0x2c9ee4(0x321)][_0x2c9ee4(0x28f)],_0x10d771['ChartTypeBits'][_0x2c9ee4(0x1ce)],_0x10d771[_0x2c9ee4(0x321)][_0x2c9ee4(0x487)],_0x10d771[_0x2c9ee4(0x321)][_0x2c9ee4(0x32b)],_0x10d771[_0x2c9ee4(0x321)][_0x2c9ee4(0x21b)]];function _0x41a550(){const _0x311882=_0x2c9ee4;let _0x571fa3=(0x0,_0x28ba9f['useChartEditorChartType'])(),_0x1d8614=_0x95cf28[_0x311882(0x452)](_0xe86c8d=>!_0x10d771[_0x311882(0x3e4)][_0x311882(0x24d)](_0x571fa3,_0xe86c8d));return(0x0,_0xfc6bb1[_0x311882(0x3da)])(_0x28ba9f[_0x311882(0x306)],{'visible':_0x1d8614});}function _0x3688bc(_0x1450e6){const _0x3067c3=_0x2c9ee4;return(0x0,_0xfc6bb1[_0x3067c3(0x43a)])(_0x28ba9f['ChartSectionAccordionItem'],{'id':_0x1450e6['id'],'children':[(0x0,_0xfc6bb1[_0x3067c3(0x3da)])(_0x28ba9f[_0x3067c3(0x346)],{'children':_0x1450e6[_0x3067c3(0x4cd)]}),(0x0,_0xfc6bb1[_0x3067c3(0x3da)])(_0x28ba9f[_0x3067c3(0x1f5)],{'children':_0x1450e6[_0x3067c3(0x292)]})]});}function _0x146d32(_0x43f5ea,_0x301417=!0x1){const _0x7b2bb9=_0x2c9ee4;let _0x5c0189=_0x43f5ea===_0x10d771[_0x7b2bb9(0x321)][_0x7b2bb9(0x286)],_0x54cfd3=_0x10d771[_0x7b2bb9(0x3e4)][_0x7b2bb9(0x24d)](_0x43f5ea,_0x10d771[_0x7b2bb9(0x321)][_0x7b2bb9(0x29f)]),_0x53329d=_0x43f5ea===_0x10d771['ChartTypeBits'][_0x7b2bb9(0x420)],_0xfa0d96=_0x43f5ea===_0x10d771[_0x7b2bb9(0x321)][_0x7b2bb9(0x2fd)],_0x1d8687=_0x43f5ea===_0x10d771[_0x7b2bb9(0x321)][_0x7b2bb9(0x409)],_0x37c8ee=_0x43f5ea===_0x10d771['ChartTypeBits'][_0x7b2bb9(0x293)],_0x455bc6=_0x43f5ea===_0x10d771[_0x7b2bb9(0x321)]['Candlestick'],_0x404b5f=_0x43f5ea===_0x10d771[_0x7b2bb9(0x321)][_0x7b2bb9(0x28f)],_0x37a07c=_0x43f5ea===_0x10d771['ChartTypeBits'][_0x7b2bb9(0x1ce)],_0x1e94d6=_0x43f5ea===_0x10d771['ChartTypeBits']['Sunburst'],_0x23ed92=_0x43f5ea===_0x10d771['ChartTypeBits']['Gauge'],_0x22d53f=_0x43f5ea===_0x10d771[_0x7b2bb9(0x321)][_0x7b2bb9(0x21b)],_0x442b11=_0x43f5ea===_0x10d771[_0x7b2bb9(0x321)][_0x7b2bb9(0x3a5)],_0x4192d7=_0x43f5ea===_0x10d771[_0x7b2bb9(0x321)][_0x7b2bb9(0x2bb)],_0x2e3b87=[_0x28ba9f[_0x7b2bb9(0x4b7)][_0x7b2bb9(0x1ef)],_0x28ba9f[_0x7b2bb9(0x4b7)][_0x7b2bb9(0x251)]];return _0x5c0189&&_0x2e3b87[_0x7b2bb9(0x372)](_0x28ba9f[_0x7b2bb9(0x4b7)][_0x7b2bb9(0x286)]),(0x0,_0x28ba9f[_0x7b2bb9(0x3b2)])(_0x43f5ea,_0x28ba9f[_0x7b2bb9(0x246)][_0x7b2bb9(0x21c)])&&!_0x37c8ee&&_0x2e3b87['push'](_0x28ba9f[_0x7b2bb9(0x4b7)][_0x7b2bb9(0x402)]),(0x0,_0x28ba9f[_0x7b2bb9(0x410)])(_0x43f5ea)&&_0x2e3b87[_0x7b2bb9(0x372)](_0x28ba9f['ChartEditPanelSection'][_0x7b2bb9(0x2cf)]),_0x53329d&&_0x2e3b87[_0x7b2bb9(0x372)](_0x28ba9f[_0x7b2bb9(0x4b7)]['Radar']),_0x1d8687&&_0x2e3b87[_0x7b2bb9(0x372)](_0x28ba9f[_0x7b2bb9(0x4b7)][_0x7b2bb9(0x201)]),_0x37c8ee&&_0x2e3b87[_0x7b2bb9(0x372)](_0x28ba9f[_0x7b2bb9(0x4b7)][_0x7b2bb9(0x38d)],_0x28ba9f[_0x7b2bb9(0x4b7)]['ParetoLineSeries']),_0x54cfd3&&_0x2e3b87[_0x7b2bb9(0x372)](_0x28ba9f['ChartEditPanelSection'][_0x7b2bb9(0x3df)]),_0xfa0d96&&_0x2e3b87[_0x7b2bb9(0x372)](_0x28ba9f[_0x7b2bb9(0x4b7)]['Funnel']),_0x4192d7&&_0x2e3b87['push'](_0x28ba9f['ChartEditPanelSection']['Heatmap']),_0x442b11&&_0x2e3b87['push'](_0x28ba9f[_0x7b2bb9(0x4b7)][_0x7b2bb9(0x3a5)]),_0x455bc6&&_0x2e3b87[_0x7b2bb9(0x372)](_0x28ba9f[_0x7b2bb9(0x4b7)]['Candlestick']),_0x404b5f&&_0x2e3b87['push'](_0x28ba9f[_0x7b2bb9(0x4b7)][_0x7b2bb9(0x28f)]),_0x37a07c&&_0x2e3b87[_0x7b2bb9(0x372)](_0x28ba9f[_0x7b2bb9(0x4b7)]['Treemap']),_0x1e94d6&&_0x2e3b87[_0x7b2bb9(0x372)](_0x28ba9f[_0x7b2bb9(0x4b7)][_0x7b2bb9(0x487)]),_0x23ed92&&_0x2e3b87['push'](_0x28ba9f[_0x7b2bb9(0x4b7)][_0x7b2bb9(0x32b)]),_0x22d53f&&_0x2e3b87[_0x7b2bb9(0x372)](_0x28ba9f[_0x7b2bb9(0x4b7)][_0x7b2bb9(0x21b)]),(0x0,_0x28ba9f[_0x7b2bb9(0x3b2)])(_0x43f5ea,_0x28ba9f[_0x7b2bb9(0x246)][_0x7b2bb9(0x339)])&&_0x2e3b87[_0x7b2bb9(0x372)](_0x28ba9f[_0x7b2bb9(0x4b7)][_0x7b2bb9(0x339)]),(0x0,_0x28ba9f[_0x7b2bb9(0x3b2)])(_0x43f5ea,_0x28ba9f[_0x7b2bb9(0x246)][_0x7b2bb9(0x3b9)])&&(_0x2e3b87[_0x7b2bb9(0x372)](_0x28ba9f[_0x7b2bb9(0x4b7)]['HorizontalAxis'],_0x28ba9f[_0x7b2bb9(0x4b7)]['VerticalAxis']),_0x301417&&_0x2e3b87[_0x7b2bb9(0x372)](_0x28ba9f[_0x7b2bb9(0x4b7)][_0x7b2bb9(0x270)]),_0x2e3b87[_0x7b2bb9(0x372)](_0x28ba9f[_0x7b2bb9(0x4b7)][_0x7b2bb9(0x49f)])),(0x0,_0x28ba9f[_0x7b2bb9(0x3b2)])(_0x43f5ea,_0x28ba9f[_0x7b2bb9(0x246)]['IndicatorLine'])&&_0x2e3b87[_0x7b2bb9(0x372)](_0x28ba9f[_0x7b2bb9(0x4b7)][_0x7b2bb9(0x42c)]),_0x2e3b87;}function _0x395cc5(_0x1ca32c){const _0x15d4a3=_0x2c9ee4;return(0x0,_0xfc6bb1[_0x15d4a3(0x43a)])(_0x15d4a3(0x48b),{'className':_0x15d4a3(0x484),'children':[(0x0,_0xfc6bb1[_0x15d4a3(0x3da)])(_0x28ba9f[_0x15d4a3(0x308)],{'axis':_0x1ca32c[_0x15d4a3(0x250)],'defaultValues':_0x23adb7[_0x15d4a3(0x250)]}),(0x0,_0xfc6bb1[_0x15d4a3(0x3da)])(_0x28ba9f[_0x15d4a3(0x301)],{'axis':_0x1ca32c['axis'],'defaultValues':_0x23adb7[_0x15d4a3(0x250)]}),(0x0,_0xfc6bb1[_0x15d4a3(0x3da)])(_0x28ba9f[_0x15d4a3(0x4ba)],{'axis':_0x1ca32c[_0x15d4a3(0x250)],'defaultValues':_0x23adb7['axis']}),(0x0,_0xfc6bb1[_0x15d4a3(0x3da)])(_0x28ba9f[_0x15d4a3(0x228)],{'axis':_0x1ca32c['axis']}),(0x0,_0xfc6bb1[_0x15d4a3(0x3da)])(_0x28ba9f[_0x15d4a3(0x4e3)],{'axis':_0x1ca32c[_0x15d4a3(0x250)]}),(0x0,_0xfc6bb1[_0x15d4a3(0x3da)])(_0x28ba9f[_0x15d4a3(0x297)],{'axis':_0x1ca32c[_0x15d4a3(0x250)],'defaultValues':_0x23adb7['axis']}),(0x0,_0xfc6bb1[_0x15d4a3(0x3da)])(_0x28ba9f[_0x15d4a3(0x441)],{'axis':_0x1ca32c[_0x15d4a3(0x250)],'defaultValues':_0x23adb7[_0x15d4a3(0x250)]})]});}function _0x5906d2(_0x33b36f){const _0x5bd289=_0x2c9ee4;var _0x355189,_0x41f248;let _0x106cc6=(0x0,_0x212387['useDependency'])(_0x3811f3[_0x5bd289(0x312)]),_0x3adfda=(0x0,_0x28ba9f[_0x5bd289(0x407)])(),_0x2d3abe=(0x0,_0x28ba9f[_0x5bd289(0x26b)])(),[_0x290230,_0x5aba4d]=(0x0,_0x781fbd[_0x5bd289(0x48a)])(null),_0x2d8cb8=(0x0,_0xfc6bb1[_0x5bd289(0x3da)])(_0x28ba9f[_0x5bd289(0x3d5)],{}),_0x316682={[_0x28ba9f['ChartEditPanelSection']['Candlestick']]:_0x106cc6['t'](_0x5bd289(0x2a2)),[_0x28ba9f[_0x5bd289(0x4b7)][_0x5bd289(0x251)]]:_0x106cc6['t']('docs-chart-ui.common.chartAndAxisTitles'),[_0x28ba9f[_0x5bd289(0x4b7)][_0x5bd289(0x1ef)]]:_0x106cc6['t'](_0x5bd289(0x4dd)),[_0x28ba9f[_0x5bd289(0x4b7)]['Chord']]:_0x106cc6['t'](_0x5bd289(0x3d9)),[_0x28ba9f['ChartEditPanelSection']['Funnel']]:_0x106cc6['t'](_0x5bd289(0x2d4)),[_0x28ba9f[_0x5bd289(0x4b7)][_0x5bd289(0x32b)]]:_0x106cc6['t'](_0x5bd289(0x252)),[_0x28ba9f[_0x5bd289(0x4b7)][_0x5bd289(0x49f)]]:_0x106cc6['t'](_0x5bd289(0x38b)),[_0x28ba9f['ChartEditPanelSection'][_0x5bd289(0x2bb)]]:_0x106cc6['t'](_0x5bd289(0x31a)),[_0x28ba9f[_0x5bd289(0x4b7)][_0x5bd289(0x28f)]]:_0x106cc6['t'](_0x5bd289(0x266)),[_0x28ba9f[_0x5bd289(0x4b7)]['HorizontalAxis']]:_0x106cc6['t'](_0x5bd289(0x482)),[_0x28ba9f['ChartEditPanelSection'][_0x5bd289(0x42c)]]:_0x106cc6['t'](_0x5bd289(0x4b6)),[_0x28ba9f[_0x5bd289(0x4b7)][_0x5bd289(0x339)]]:_0x106cc6['t']('docs-chart-ui.common.legend'),[_0x28ba9f['ChartEditPanelSection']['LineAndArea']]:_0x106cc6['t'](_0x5bd289(0x4ce)),[_0x28ba9f[_0x5bd289(0x4b7)][_0x5bd289(0x38d)]]:_0x106cc6['t']('docs-chart-ui.section.paretoBar'),[_0x28ba9f[_0x5bd289(0x4b7)]['ParetoLineSeries']]:_0x106cc6['t']('docs-chart-ui.section.paretoLine'),[_0x28ba9f[_0x5bd289(0x4b7)][_0x5bd289(0x3df)]]:_0x106cc6['t'](_0x5bd289(0x426)),[_0x28ba9f[_0x5bd289(0x4b7)][_0x5bd289(0x420)]]:_0x106cc6['t'](_0x5bd289(0x305)),[_0x28ba9f['ChartEditPanelSection'][_0x5bd289(0x3a5)]]:_0x106cc6['t']('docs-chart-ui.section.relation'),[_0x28ba9f[_0x5bd289(0x4b7)][_0x5bd289(0x270)]]:_0x106cc6['t'](_0x5bd289(0x2c1)),[_0x28ba9f[_0x5bd289(0x4b7)][_0x5bd289(0x402)]]:_0x106cc6['t'](_0x5bd289(0x4c6)),[_0x28ba9f['ChartEditPanelSection'][_0x5bd289(0x487)]]:_0x106cc6['t'](_0x5bd289(0x4d4)),[_0x28ba9f[_0x5bd289(0x4b7)][_0x5bd289(0x1ce)]]:_0x106cc6['t'](_0x5bd289(0x456)),[_0x28ba9f[_0x5bd289(0x4b7)][_0x5bd289(0x20b)]]:_0x106cc6['t'](_0x5bd289(0x3ea)),[_0x28ba9f['ChartEditPanelSection'][_0x5bd289(0x48e)]]:_0x106cc6['t'](_0x5bd289(0x4db)),[_0x28ba9f['ChartEditPanelSection'][_0x5bd289(0x201)]]:_0x106cc6['t'](_0x5bd289(0x41e)),[_0x28ba9f[_0x5bd289(0x4b7)][_0x5bd289(0x286)]]:_0x106cc6['t']('docs-chart-ui.section.wordCloud')};(0x0,_0x781fbd[_0x5bd289(0x1df)])(()=>{const _0x142da4=_0x5bd289;var _0x4655f4;(_0x4655f4=_0x33b36f[_0x142da4(0x2c2)])!=null&&_0x4655f4[_0x142da4(0x41c)]&&_0x5aba4d(_0x33b36f[_0x142da4(0x2c2)]['section']);},[_0x33b36f[_0x5bd289(0x2c2)]]);let _0x24f6ac={[_0x28ba9f['ChartEditPanelSection'][_0x5bd289(0x1ef)]]:(0x0,_0xfc6bb1[_0x5bd289(0x3da)])(_0x28ba9f[_0x5bd289(0x4f6)],{'defaultValues':_0x23adb7[_0x5bd289(0x25d)]}),[_0x28ba9f[_0x5bd289(0x4b7)][_0x5bd289(0x251)]]:(0x0,_0xfc6bb1['jsxs'])(_0x5bd289(0x48b),{'className':_0x5bd289(0x484),'children':[(0x0,_0xfc6bb1[_0x5bd289(0x3da)])(_0x28ba9f[_0x5bd289(0x3f9)],{'commitMode':'change','defaultValues':_0x23adb7[_0x5bd289(0x3ed)],'showFont':!0x1}),(0x0,_0xfc6bb1[_0x5bd289(0x3da)])(_0x28ba9f[_0x5bd289(0x32c)],{'commitMode':_0x5bd289(0x350),'defaultValues':_0x23adb7[_0x5bd289(0x3ed)],'showFont':!0x1}),(0x0,_0xfc6bb1[_0x5bd289(0x3da)])(_0x28ba9f[_0x5bd289(0x381)],{'axis':'x','commitMode':_0x5bd289(0x350),'defaultValues':_0x23adb7[_0x5bd289(0x3ed)],'showAlignment':!0x1,'showFont':!0x1}),(0x0,_0xfc6bb1[_0x5bd289(0x3da)])(_0x28ba9f[_0x5bd289(0x381)],{'axis':'y','commitMode':_0x5bd289(0x350),'defaultValues':_0x23adb7[_0x5bd289(0x3ed)],'showAlignment':!0x1,'showFont':!0x1}),(0x0,_0xfc6bb1[_0x5bd289(0x3da)])(_0x28ba9f[_0x5bd289(0x381)],{'axis':_0x5bd289(0x21e),'commitMode':'change','defaultValues':_0x23adb7[_0x5bd289(0x3ed)],'showAlignment':!0x1,'showFont':!0x1}),(0x0,_0xfc6bb1[_0x5bd289(0x3da)])(_0x28ba9f[_0x5bd289(0x269)],{'defaultValues':_0x23adb7[_0x5bd289(0x3ed)]})]}),[_0x28ba9f[_0x5bd289(0x4b7)]['Series']]:(0x0,_0xfc6bb1['jsxs'])(_0x28ba9f[_0x5bd289(0x3c3)],{'defaultValues':_0x23adb7[_0x5bd289(0x3c9)],'NumberFormatField':_0x28ba9f['ChartNumberFormatTextField'],'selectedSeriesId':(_0x355189=_0x33b36f[_0x5bd289(0x2c2)])==null?void 0x0:_0x355189[_0x5bd289(0x291)],'children':[(0x0,_0xfc6bb1['jsx'])(_0x28ba9f[_0x5bd289(0x386)],{}),(0x0,_0xfc6bb1[_0x5bd289(0x3da)])(_0x28ba9f['ChartSeriesBorderFields'],{'showColor':!0x1,'showOpacity':!0x1}),(0x0,_0xfc6bb1['jsx'])(_0x28ba9f[_0x5bd289(0x26d)],{'showColor':!0x1}),(0x0,_0xfc6bb1['jsx'])(_0x28ba9f[_0x5bd289(0x1e9)],{}),(0x0,_0xfc6bb1['jsx'])(_0x28ba9f[_0x5bd289(0x3d1)],{}),(0x0,_0xfc6bb1['jsx'])(_0x28ba9f[_0x5bd289(0x2aa)],{})]}),[_0x28ba9f[_0x5bd289(0x4b7)]['LineAndArea']]:(0x0,_0xfc6bb1[_0x5bd289(0x3da)])(_0x28ba9f['ChartLineAndAreaSection'],{'defaultValues':_0x23adb7[_0x5bd289(0x238)],'lineStyleControl':'select'}),[_0x28ba9f[_0x5bd289(0x4b7)][_0x5bd289(0x286)]]:(0x0,_0xfc6bb1[_0x5bd289(0x43a)])(_0x28ba9f[_0x5bd289(0x41a)],{'children':[(0x0,_0xfc6bb1['jsx'])(_0x28ba9f[_0x5bd289(0x2fe)],{'defaultValues':_0x23adb7[_0x5bd289(0x4b4)]}),(0x0,_0xfc6bb1['jsx'])(_0x28ba9f[_0x5bd289(0x362)],{'defaultValues':_0x23adb7['wordCloud']})]}),[_0x28ba9f[_0x5bd289(0x4b7)]['Radar']]:(0x0,_0xfc6bb1['jsx'])(_0x28ba9f[_0x5bd289(0x352)],{'defaultValues':_0x23adb7[_0x5bd289(0x3fb)]}),[_0x28ba9f[_0x5bd289(0x4b7)]['WaterfallSeries']]:(0x0,_0xfc6bb1[_0x5bd289(0x3da)])(_0x28ba9f[_0x5bd289(0x21a)],{'defaultValues':_0x23adb7[_0x5bd289(0x32d)],'NumberFormatField':_0x28ba9f[_0x5bd289(0x4aa)],'selectedSeriesId':(_0x41f248=_0x33b36f[_0x5bd289(0x2c2)])==null?void 0x0:_0x41f248['seriesId']}),[_0x28ba9f['ChartEditPanelSection']['ParetoBarSeries']]:(0x0,_0xfc6bb1['jsx'])(_0x28ba9f[_0x5bd289(0x29c)],{'defaultValues':_0x23adb7[_0x5bd289(0x2a8)],'NumberFormatField':_0x28ba9f['ChartNumberFormatTextField'],'showDataPointEditor':!0x0,'target':_0x5bd289(0x44a)}),[_0x28ba9f[_0x5bd289(0x4b7)][_0x5bd289(0x45a)]]:(0x0,_0xfc6bb1[_0x5bd289(0x3da)])(_0x28ba9f[_0x5bd289(0x29c)],{'defaultValues':_0x23adb7[_0x5bd289(0x2a8)],'NumberFormatField':_0x28ba9f[_0x5bd289(0x4aa)],'showDataPointEditor':!0x0,'target':_0x5bd289(0x322)}),[_0x28ba9f[_0x5bd289(0x4b7)][_0x5bd289(0x3df)]]:(0x0,_0xfc6bb1[_0x5bd289(0x3da)])(_0x28ba9f[_0x5bd289(0x3a7)],{'defaultValues':_0x23adb7[_0x5bd289(0x3de)],'NumberFormatField':_0x28ba9f[_0x5bd289(0x4aa)]}),[_0x28ba9f[_0x5bd289(0x4b7)][_0x5bd289(0x2fd)]]:(0x0,_0xfc6bb1[_0x5bd289(0x3da)])(_0x28ba9f[_0x5bd289(0x4fc)],{'defaultValues':_0x23adb7[_0x5bd289(0x317)],'gapControl':_0x5bd289(0x288)}),[_0x28ba9f[_0x5bd289(0x4b7)][_0x5bd289(0x2bb)]]:(0x0,_0xfc6bb1[_0x5bd289(0x3da)])(_0x28ba9f['ChartHeatmapStyleSection'],{'defaultValues':_0x23adb7['heatmap']}),[_0x28ba9f['ChartEditPanelSection']['Relation']]:(0x0,_0xfc6bb1[_0x5bd289(0x3da)])(_0x28ba9f[_0x5bd289(0x3cc)],{'defaultValues':_0x23adb7[_0x5bd289(0x353)]}),[_0x28ba9f['ChartEditPanelSection'][_0x5bd289(0x339)]]:(0x0,_0xfc6bb1[_0x5bd289(0x3da)])(_0x28ba9f[_0x5bd289(0x2ca)],{'defaultValues':_0x23adb7['legend'],'children':(0x0,_0xfc6bb1[_0x5bd289(0x43a)])(_0x5bd289(0x48b),{'className':_0x5bd289(0x484),'children':[(0x0,_0xfc6bb1['jsx'])(_0x28ba9f[_0x5bd289(0x37c)],{}),(0x0,_0xfc6bb1[_0x5bd289(0x3da)])(_0x28ba9f[_0x5bd289(0x1e7)],{}),(0x0,_0xfc6bb1[_0x5bd289(0x3da)])(_0x28ba9f[_0x5bd289(0x373)],{}),(0x0,_0xfc6bb1['jsx'])(_0x28ba9f[_0x5bd289(0x25e)],{})]})}),[_0x28ba9f[_0x5bd289(0x4b7)][_0x5bd289(0x209)]]:(0x0,_0xfc6bb1[_0x5bd289(0x3da)])(_0x395cc5,{'axis':'x'}),[_0x28ba9f[_0x5bd289(0x4b7)][_0x5bd289(0x48e)]]:(0x0,_0xfc6bb1['jsx'])(_0x395cc5,{'axis':'y'}),[_0x28ba9f[_0x5bd289(0x4b7)][_0x5bd289(0x270)]]:(0x0,_0xfc6bb1['jsx'])(_0x395cc5,{'axis':_0x5bd289(0x21e)}),[_0x28ba9f[_0x5bd289(0x4b7)]['GridlinesAndTicks']]:(0x0,_0xfc6bb1[_0x5bd289(0x43a)])(_0x5bd289(0x48b),{'className':_0x5bd289(0x1f1),'children':[(0x0,_0xfc6bb1[_0x5bd289(0x3da)])(_0x28ba9f['ChartGridlineVisibilityField'],{'axis':'x','defaultValues':_0x23adb7['axis'],'label':_0x106cc6['t'](_0x5bd289(0x482))}),(0x0,_0xfc6bb1[_0x5bd289(0x3da)])(_0x28ba9f[_0x5bd289(0x3ee)],{'axis':'y','defaultValues':_0x23adb7[_0x5bd289(0x250)],'label':_0x106cc6['t'](_0x5bd289(0x4db))}),(0x0,_0xfc6bb1[_0x5bd289(0x43a)])(_0x5bd289(0x48b),{'className':'univer-grid\x20univer-grid-cols-2\x20univer-gap-2','children':[(0x0,_0xfc6bb1['jsx'])(_0x28ba9f[_0x5bd289(0x4b8)],{'axis':'x','defaultValues':_0x23adb7[_0x5bd289(0x250)]}),(0x0,_0xfc6bb1[_0x5bd289(0x3da)])(_0x28ba9f[_0x5bd289(0x4b8)],{'axis':'y','defaultValues':_0x23adb7[_0x5bd289(0x250)]})]})]}),[_0x28ba9f['ChartEditPanelSection'][_0x5bd289(0x42c)]]:(0x0,_0xfc6bb1['jsxs'])(_0x5bd289(0x48b),{'className':'univer-flex\x20univer-flex-col\x20univer-gap-2','children':[(0x0,_0xfc6bb1['jsx'])(_0x28ba9f[_0x5bd289(0x49a)],{'defaultValues':_0x23adb7[_0x5bd289(0x4e7)]}),(0x0,_0xfc6bb1[_0x5bd289(0x3da)])(_0x28ba9f[_0x5bd289(0x3b6)],{'defaultValues':_0x23adb7[_0x5bd289(0x4e7)]})]}),[_0x28ba9f[_0x5bd289(0x4b7)][_0x5bd289(0x3cb)]]:_0x2d8cb8,[_0x28ba9f[_0x5bd289(0x4b7)][_0x5bd289(0x28f)]]:_0x2d8cb8,[_0x28ba9f['ChartEditPanelSection'][_0x5bd289(0x1ce)]]:_0x2d8cb8,[_0x28ba9f[_0x5bd289(0x4b7)][_0x5bd289(0x487)]]:_0x2d8cb8,[_0x28ba9f[_0x5bd289(0x4b7)][_0x5bd289(0x32b)]]:_0x2d8cb8,[_0x28ba9f[_0x5bd289(0x4b7)][_0x5bd289(0x21b)]]:_0x2d8cb8};return(0x0,_0xfc6bb1[_0x5bd289(0x3da)])(_0x28ba9f[_0x5bd289(0x474)],{'value':_0x290230,'onChange':_0x5aba4d,'children':_0x146d32(_0x3adfda,_0x2d3abe)['map'](_0x5080a6=>(0x0,_0xfc6bb1[_0x5bd289(0x3da)])(_0x3688bc,{'id':_0x5080a6,'label':_0x316682[_0x5080a6],'children':_0x24f6ac[_0x5080a6]},_0x5080a6))});}function _0x2622c2(_0x4741f5){const _0x5e6254=_0x2c9ee4;var _0x5a2db1;let {ButtonComponent:_0x19fa6b}=(0x0,_0x28ba9f[_0x5e6254(0x3fa)])(),_0x4d97a6=(0x0,_0x212387[_0x5e6254(0x326)])(_0x3811f3[_0x5e6254(0x312)]),[_0x41c06f,_0x54f0a7]=(0x0,_0x781fbd[_0x5e6254(0x48a)])(((_0x5a2db1=_0x4741f5['initialRoute'])==null?void 0x0:_0x5a2db1[_0x5e6254(0x2a9)])??_0x28ba9f[_0x5e6254(0x4a1)][_0x5e6254(0x490)]),_0x37cf0a=(0x0,_0x781fbd[_0x5e6254(0x34a)])(()=>(0x0,_0x28ba9f[_0x5e6254(0x34f)])(_0x28ba9f['CHART_TYPE_CATALOG']['map'](_0x243aec=>({..._0x243aec,'label':_0x4d97a6['t'](_0x5e6254(0x447)+_0x243aec['labelId'])}))),[_0x4d97a6]);return(0x0,_0x781fbd['useEffect'])(()=>{const _0x44ced2=_0x5e6254;var _0x28d6ea;(_0x28d6ea=_0x4741f5[_0x44ced2(0x33f)])!=null&&_0x28d6ea[_0x44ced2(0x2a9)]&&_0x54f0a7(_0x4741f5[_0x44ced2(0x33f)][_0x44ced2(0x2a9)]);},[_0x4741f5[_0x5e6254(0x33f)]]),(0x0,_0xfc6bb1[_0x5e6254(0x43a)])(_0x5e6254(0x48b),{'className':_0x4741f5[_0x5e6254(0x2c0)]?_0x5e6254(0x491):_0x5e6254(0x2c6),'children':[(0x0,_0xfc6bb1['jsx'])(_0x28ba9f[_0x5e6254(0x2da)],{'ariaLabel':_0x4d97a6['t'](_0x5e6254(0x3bb)),'className':_0x5e6254(0x2e9),'items':[{'label':_0x4d97a6['t'](_0x5e6254(0x41d)),'panelId':_0x3bf8d0,'value':_0x28ba9f[_0x5e6254(0x4a1)]['Data']},{'label':_0x4d97a6['t'](_0x5e6254(0x2b4)),'panelId':_0x5ae390,'value':_0x28ba9f[_0x5e6254(0x4a1)]['Style']}],'value':_0x41c06f,'onChange':_0x54f0a7}),_0x41c06f===_0x28ba9f[_0x5e6254(0x4a1)][_0x5e6254(0x490)]?(0x0,_0xfc6bb1[_0x5e6254(0x3da)])(_0x28ba9f[_0x5e6254(0x3ac)],{'id':_0x3bf8d0,'label':_0x4d97a6['t'](_0x5e6254(0x41d)),'className':_0x4741f5['mobile']?_0x5e6254(0x213):void 0x0,'children':(0x0,_0xfc6bb1[_0x5e6254(0x43a)])('div',{'className':_0x5e6254(0x1ee),'children':[(0x0,_0xfc6bb1[_0x5e6254(0x3da)])(_0x28ba9f['ChartTypeField'],{'options':_0x37cf0a,'onChange':_0x4741f5[_0x5e6254(0x400)]}),(0x0,_0xfc6bb1[_0x5e6254(0x3da)])(_0x28ba9f[_0x5e6254(0x1eb)],{}),(0x0,_0xfc6bb1[_0x5e6254(0x3da)])(_0x28ba9f['ChartThemeField'],{}),(0x0,_0xfc6bb1[_0x5e6254(0x3da)])(_0x41a550,{}),(0x0,_0xfc6bb1[_0x5e6254(0x3da)])(_0x28ba9f['ChartStackField'],{}),(0x0,_0xfc6bb1['jsxs'])(_0x5e6254(0x48b),{'children':[(0x0,_0xfc6bb1[_0x5e6254(0x3da)])(_0x28ba9f[_0x5e6254(0x316)],{'title':_0x4d97a6['t'](_0x5e6254(0x4e0))}),(0x0,_0xfc6bb1[_0x5e6254(0x3da)])(_0x19fa6b,{'className':_0x5e6254(0x3f1),'onClick':_0x4741f5['onModifyData'],'children':_0x4d97a6['t'](_0x5e6254(0x281))})]}),(0x0,_0xfc6bb1['jsx'])(_0x28ba9f['ChartCommonDataMappingSection'],{}),(0x0,_0xfc6bb1['jsx'])(_0x28ba9f[_0x5e6254(0x47a)],{}),(0x0,_0xfc6bb1[_0x5e6254(0x3da)])(_0x28ba9f[_0x5e6254(0x2f4)],{'defaultValues':_0x23adb7['waterfall']})]})}):(0x0,_0xfc6bb1[_0x5e6254(0x3da)])(_0x28ba9f[_0x5e6254(0x3ac)],{'id':_0x5ae390,'label':_0x4d97a6['t']('docs-chart-ui.common.customize'),'className':_0x4741f5[_0x5e6254(0x2c0)]?_0x5e6254(0x213):void 0x0,'children':(0x0,_0xfc6bb1[_0x5e6254(0x3da)])(_0x5906d2,{'route':_0x4741f5['initialRoute']})}),_0x4741f5[_0x5e6254(0x2f7)]&&(0x0,_0xfc6bb1['jsx'])('div',{'className':_0x4741f5[_0x5e6254(0x2c0)]?_0x5e6254(0x3a6):_0x5e6254(0x45c),'children':(0x0,_0xfc6bb1[_0x5e6254(0x3da)])(_0x19fa6b,{'type':_0x5e6254(0x285),'variant':'default','className':_0x4741f5['mobile']?_0x5e6254(0x3f5):void 0x0,'onClick':_0x4741f5['onClose'],'children':_0x4d97a6['t'](_0x5e6254(0x46e))})})]});}let _0x3bf8d0=_0x2c9ee4(0x432),_0x5ae390='doc-chart-style-panel';function _0x109dcc(_0x13cad3){'@babel/helpers - typeof';const _0xe72049=_0x2c9ee4;return _0x109dcc=typeof Symbol==_0xe72049(0x45f)&&typeof Symbol[_0xe72049(0x3be)]=='symbol'?function(_0x22c276){return typeof _0x22c276;}:function(_0x4d2497){const _0x3e1ffa=_0xe72049;return _0x4d2497&&typeof Symbol==_0x3e1ffa(0x45f)&&_0x4d2497[_0x3e1ffa(0x32e)]===Symbol&&_0x4d2497!==Symbol['prototype']?_0x3e1ffa(0x368):typeof _0x4d2497;},_0x109dcc(_0x13cad3);}function _0x20770e(_0x263804,_0x3456f3){const _0x133bec=_0x2c9ee4;if(_0x109dcc(_0x263804)!=_0x133bec(0x2dc)||!_0x263804)return _0x263804;var _0x16a9de=_0x263804[Symbol[_0x133bec(0x231)]];if(_0x16a9de!==void 0x0){var _0x9e9a82=_0x16a9de[_0x133bec(0x222)](_0x263804,_0x3456f3||_0x133bec(0x419));if(_0x109dcc(_0x9e9a82)!=_0x133bec(0x2dc))return _0x9e9a82;throw TypeError('@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.');}return(_0x3456f3===_0x133bec(0x366)?String:Number)(_0x263804);}function _0x1ad071(_0x46c967){const _0x5b86b3=_0x2c9ee4;var _0x2319c8=_0x20770e(_0x46c967,_0x5b86b3(0x366));return _0x109dcc(_0x2319c8)=='symbol'?_0x2319c8:_0x2319c8+'';}function _0x5e43a2(_0x1a6fc5,_0x24b0d2,_0x52e448){const _0x3b7ca9=_0x2c9ee4;return(_0x24b0d2=_0x1ad071(_0x24b0d2))in _0x1a6fc5?Object[_0x3b7ca9(0x4e8)](_0x1a6fc5,_0x24b0d2,{'value':_0x52e448,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x1a6fc5[_0x24b0d2]=_0x52e448,_0x1a6fc5;}var _0x47f1b4=class extends _0x3811f3['Disposable']{constructor(_0x44233c,_0x4df0fa,_0x1112d6,_0x575316,_0x37fcea=!0x0,_0x65190f){const _0x174b4c=_0x2c9ee4;super(),this['chartId']=_0x44233c,this[_0x174b4c(0x500)]=_0x4df0fa,this[_0x174b4c(0x4f0)]=_0x1112d6,this['_getRenderRect']=_0x575316,this[_0x174b4c(0x4ab)]=_0x37fcea,this[_0x174b4c(0x3d7)]=_0x65190f,_0x5e43a2(this,_0x174b4c(0x219),_0x10d771[_0x174b4c(0x1ec)][_0x174b4c(0x34e)]),_0x5e43a2(this,_0x174b4c(0x39f),null),_0x5e43a2(this,'_mountNode',null),_0x5e43a2(this,_0x174b4c(0x2ba),{});}['getRect'](){const _0x2d06da=_0x2c9ee4;var _0x4b70a6;let _0x377079=(_0x4b70a6=this[_0x2d06da(0x42b)])==null?void 0x0:_0x4b70a6[_0x2d06da(0x222)](this);if(_0x377079)return{'width':Math[_0x2d06da(0x3c6)](0x1,_0x377079[_0x2d06da(0x273)]),'height':Math['max'](0x1,_0x377079[_0x2d06da(0x217)])};let _0xc6853a=this[_0x2d06da(0x500)][_0x2d06da(0x3f0)]();return{'width':Math[_0x2d06da(0x3c6)](0x1,_0xc6853a[_0x2d06da(0x273)]),'height':Math['max'](0x1,_0xc6853a[_0x2d06da(0x217)])};}[_0x2c9ee4(0x2ef)](_0x494209){const _0x2c6319=_0x2c9ee4;this[_0x2c6319(0x2ba)]=_0x494209,this[_0x2c6319(0x39f)]&&this['_applyHostStyle'](this[_0x2c6319(0x39f)],_0x494209);}async[_0x2c9ee4(0x2e1)](){const _0x182a36=_0x2c9ee4;if(!this[_0x182a36(0x31d)]){let _0x51e87f=document['createElement'](_0x182a36(0x48b));_0x51e87f[_0x182a36(0x25d)]['position']=_0x182a36(0x1c0),_0x51e87f['style'][_0x182a36(0x2d7)]='0',_0x51e87f[_0x182a36(0x25d)]['top']='0';let _0x256b03=document[_0x182a36(0x221)](_0x182a36(0x48b));_0x256b03[_0x182a36(0x25d)][_0x182a36(0x214)]=_0x182a36(0x3e5),_0x256b03[_0x182a36(0x25d)]['border']='0',_0x256b03['style']['boxSizing']=_0x182a36(0x445),_0x256b03[_0x182a36(0x25d)][_0x182a36(0x4f3)]='hidden',_0x256b03[_0x182a36(0x220)]=_0x182a36(0x267),_0x51e87f[_0x182a36(0x3c5)](_0x256b03),this[_0x182a36(0x500)]['appendChild'](_0x51e87f),this['_frameNode']=_0x51e87f,this[_0x182a36(0x31d)]=_0x256b03,this[_0x182a36(0x4f0)](_0x51e87f,this['_hostStyle']);}return this[_0x182a36(0x3cd)](),this[_0x182a36(0x31d)];}[_0x2c9ee4(0x4df)](){const _0x52ebf3=_0x2c9ee4;return!!(this[_0x52ebf3(0x31d)]&&this[_0x52ebf3(0x500)][_0x52ebf3(0x47d)](this[_0x52ebf3(0x31d)]));}[_0x2c9ee4(0x3cd)](){const _0x251774=_0x2c9ee4;var _0x3764b5;let _0x53de72=this[_0x251774(0x239)](),_0x1d1011=(_0x3764b5=this[_0x251774(0x3d7)])==null?void 0x0:_0x3764b5[_0x251774(0x222)](this),_0x46c8c4=(_0x1d1011==null?void 0x0:_0x1d1011[_0x251774(0x226)])??0x1,_0x455487=(_0x1d1011==null?void 0x0:_0x1d1011['scaleY'])??0x1;this['_manageHostSize']&&this[_0x251774(0x2dd)](this['_host'],{'width':_0x53de72['width']*_0x46c8c4,'height':_0x53de72[_0x251774(0x217)]*_0x455487}),this[_0x251774(0x39f)]&&(this['_setElementSize'](this['_frameNode'],_0x53de72),this[_0x251774(0x3d7)]&&(this[_0x251774(0x39f)][_0x251774(0x25d)]['transform']=_0x251774(0x4e4)+_0x46c8c4+',\x20'+_0x455487+')',this[_0x251774(0x39f)][_0x251774(0x25d)][_0x251774(0x392)]=_0x251774(0x393))),this[_0x251774(0x31d)]&&this[_0x251774(0x2dd)](this[_0x251774(0x31d)],this[_0x251774(0x3c4)](_0x53de72));}[_0x2c9ee4(0x3e9)](){}[_0x2c9ee4(0x2b9)](){}[_0x2c9ee4(0x247)](){const _0x56948c=_0x2c9ee4;var _0x45e21b;(_0x45e21b=this['_frameNode'])==null||_0x45e21b['remove'](),this['_frameNode']=null,this['_mountNode']=null,super[_0x56948c(0x247)]();}[_0x2c9ee4(0x2dd)](_0x491a26,_0xb13555){const _0xaa89b1=_0x2c9ee4;_0x491a26[_0xaa89b1(0x25d)][_0xaa89b1(0x273)]=_0xb13555[_0xaa89b1(0x273)]+'px',_0x491a26['style'][_0xaa89b1(0x217)]=_0xb13555[_0xaa89b1(0x217)]+'px';}[_0x2c9ee4(0x3c4)](_0x4a737b){const _0x12f250=_0x2c9ee4;if(!(0x0,_0x10d771[_0x12f250(0x435)])(this[_0x12f250(0x2ba)]))return _0x4a737b;let _0x265f09=(0x0,_0x10d771[_0x12f250(0x364)])(_0x4a737b,this[_0x12f250(0x2ba)]);return{'width':_0x265f09[_0x12f250(0x273)],'height':_0x265f09['height']};}};function _0x2710e6(_0x104a66){const _0x198abb=_0x2c9ee4;var _0x5a55c1;let _0x2b6826=(_0x5a55c1=_0x104a66[_0x198abb(0x2d9)](/^#([\da-f]{3}|[\da-f]{6})$/i))==null?void 0x0:_0x5a55c1[0x1];if(_0x2b6826){let _0x1f2663=_0x2b6826[_0x198abb(0x3f8)]===0x3?_0x2b6826[_0x198abb(0x4f5)]('')[_0x198abb(0x4ca)](_0x426d3f=>''+_0x426d3f+_0x426d3f)[_0x198abb(0x46d)](''):_0x2b6826;return'rgb('+Number[_0x198abb(0x440)](_0x1f2663[_0x198abb(0x3fc)](0x0,0x2),0x10)+',\x20'+Number[_0x198abb(0x440)](_0x1f2663['slice'](0x2,0x4),0x10)+',\x20'+Number[_0x198abb(0x440)](_0x1f2663[_0x198abb(0x3fc)](0x4,0x6),0x10)+')';}let _0x125de9=document[_0x198abb(0x221)](_0x198abb(0x4c3));return _0x125de9['style']['color']=_0x104a66,_0x125de9['style']['color']||_0x104a66;}let _0x4423c2=class extends _0x3811f3[_0x2c9ee4(0x277)]{constructor(_0x1fd201,_0x33c7be,_0x406d7a){const _0x2a1f3e=_0x2c9ee4;super(),this[_0x2a1f3e(0x25f)]=_0x1fd201,this[_0x2a1f3e(0x271)]=_0x33c7be,this['_renderModelManager']=_0x406d7a;}[_0x2c9ee4(0x1e3)](_0x20f301){const _0x5dc0a8=_0x2c9ee4;return _0x20f301?this['_renderModelManager'][_0x5dc0a8(0x1e3)](_0x20f301,this[_0x5dc0a8(0x4a8)]()):this[_0x5dc0a8(0x2f6)][_0x5dc0a8(0x1e3)]();}[_0x2c9ee4(0x361)](_0x2b90de){const _0x25e8c8=_0x2c9ee4;let _0x2887c1=_0x2b90de[_0x25e8c8(0x379)]['config'];if(!_0x2887c1)throw Error(_0x25e8c8(0x470)+_0x2b90de['chartId']+_0x25e8c8(0x1bf));let _0xa8816d=this[_0x25e8c8(0x25f)][_0x25e8c8(0x34b)](),_0x3ee82a={..._0x2b90de[_0x25e8c8(0x379)]['style'],'runtime':_0x2b90de[_0x25e8c8(0x379)]['getRuntimeContext'](_0xa8816d),'direction':_0xa8816d};return{'chartConfig':_0x2887c1,'chartStyle':(0x0,_0x10d771['resolveChartRuntimeStyle'])(_0x3ee82a,_0x2887c1[_0x25e8c8(0x4ea)])};}[_0x2c9ee4(0x4e1)](_0x3b13de,_0x21b5c4,_0x34af89){const _0x4078e5=_0x2c9ee4;let {chartConfig:_0x358999,chartStyle:_0x3a67db}=this[_0x4078e5(0x361)](_0x3b13de),_0x317a1e=this[_0x4078e5(0x2f6)][_0x4078e5(0x3ad)]();return{'spec':_0x317a1e['stylizeSpec'](_0x317a1e['toSpec'](_0x358999,_0x3a67db),{'chartConfig':_0x358999,'chartStyle':_0x3a67db,'chartInstance':_0x34af89},_0x21b5c4),'chartConfig':_0x358999,'chartStyle':_0x3a67db,'hostStyle':this[_0x4078e5(0x3d8)](_0x3a67db)};}[_0x2c9ee4(0x3d8)](_0x2cb448){const _0x1d7b24=_0x2c9ee4;return(0x0,_0x10d771[_0x1d7b24(0x4c9)])({'style':_0x2cb448,'getRenderColor':_0x297eeb=>this[_0x1d7b24(0x271)]['getRenderColor'](_0x297eeb)});}[_0x2c9ee4(0x330)](_0x1516d5,_0x16b32a){const _0x179cc6=_0x2c9ee4;var _0x2f76f0;let _0x163cc3=(_0x2f76f0=_0x16b32a[_0x179cc6(0x2b6)])!=null&&_0x2f76f0[_0x179cc6(0x4d2)]&&_0x16b32a[_0x179cc6(0x2b6)][_0x179cc6(0x273)]?_0x16b32a[_0x179cc6(0x2b6)]['width']+_0x179cc6(0x319)+_0x2710e6(_0x16b32a[_0x179cc6(0x2b6)][_0x179cc6(0x4d2)]):'';_0x1516d5[_0x179cc6(0x25d)][_0x179cc6(0x2b6)]=_0x163cc3,_0x1516d5['style'][_0x179cc6(0x2c7)]=_0x16b32a[_0x179cc6(0x268)]?_0x2710e6(_0x16b32a[_0x179cc6(0x268)]):_0x179cc6(0x23d),_0x1516d5[_0x179cc6(0x25d)][_0x179cc6(0x1da)]=_0x16b32a[_0x179cc6(0x423)]?_0x16b32a[_0x179cc6(0x423)]+'px':'',_0x1516d5[_0x179cc6(0x25d)][_0x179cc6(0x4f3)]=_0x179cc6(0x1c4),_0x1516d5[_0x179cc6(0x25d)][_0x179cc6(0x24b)]='border-box';}[_0x2c9ee4(0x4a8)](){const _0x375968=_0x2c9ee4;return{'resolveHostStyle':({style:_0x2b3db9})=>this[_0x375968(0x3d8)](_0x2b3db9),'resolveRenderBackgroundColor':({hostStyle:_0x31887d})=>_0x31887d[_0x375968(0x268)],'prepareSpec':({mode:_0x318437,spec:_0x43110b})=>_0x318437===_0x375968(0x42d)?{..._0x43110b,'animation':!0x1,'tooltip':{'show':!0x1}}:_0x43110b};}[_0x2c9ee4(0x247)](){const _0xb29de4=_0x2c9ee4;super[_0xb29de4(0x247)]();}};_0x4423c2=_0x58c753([_0x492bb2(0x0,(0x0,_0x3811f3['Inject'])(_0x3811f3[_0x2c9ee4(0x312)])),_0x492bb2(0x1,(0x0,_0x3811f3[_0x2c9ee4(0x33e)])(_0x10d771[_0x2c9ee4(0x280)])),_0x492bb2(0x2,_0x10d771[_0x2c9ee4(0x227)])],_0x4423c2);var _0x3e16fa=class extends _0x10d771['ChartDataSource']{constructor(_0x5d3ef0){super(),this['publishDataSet'](_0x5d3ef0);}};function _0x316ef2(_0x5c5a22,_0x105b9e,_0x1a33f1,_0x193d25,_0x4efc8a,_0x2755e4,_0x236479){const _0x4802c3=_0x2c9ee4;let _0x49e098=new _0x3e16fa((0x0,_0x10d771[_0x4802c3(0x2e2)])((0x0,_0x28ba9f['compactInlineTableValues'])(_0x105b9e),{'context':_0x193d25})),_0xa8b697=new _0x10d771[(_0x4802c3(0x253))](_0x5c5a22,{'chartType':_0x1a33f1,'dataSource':_0x49e098,'dataAggregation':_0x4efc8a,'style':_0x2755e4},_0x236479);return _0xa8b697[_0x4802c3(0x377)](),_0xa8b697[_0x4802c3(0x323)]((_0x193d25==null?void 0x0:_0x193d25[_0x4802c3(0x298)])===void 0x0?(0x0,_0x10d771[_0x4802c3(0x504)])(_0x49e098[_0x4802c3(0x2df)](),_0xa8b697[_0x4802c3(0x31e)],_0x1a33f1):(0x0,_0x10d771[_0x4802c3(0x479)])(_0x49e098[_0x4802c3(0x2df)](),_0x193d25[_0x4802c3(0x298)],!0x1)),{'unitId':_0x4802c3(0x360),'chartId':_0x5c5a22,'dataSourceId':_0x5c5a22+_0x4802c3(0x3ba),'model':_0xa8b697,'source':_0x49e098};}function _0x6950a0(_0x58a67f){const _0x2b0376=_0x2c9ee4;let _0x3bb262=(0x0,_0x212387[_0x2b0376(0x326)])(_0x3811f3[_0x2b0376(0x312)]),_0x1bc27e=(0x0,_0x212387['useDependency'])(_0x3811f3[_0x2b0376(0x3f2)]),_0x108669=(0x0,_0x212387[_0x2b0376(0x326)])(_0x4423c2),_0xcf0873=(0x0,_0x781fbd[_0x2b0376(0x436)])(null),_0x293a5c=(0x0,_0x781fbd[_0x2b0376(0x436)])(null),_0x336607=(0x0,_0x781fbd[_0x2b0376(0x436)])(_0x2b0376(0x4a0)+(0x0,_0x3811f3[_0x2b0376(0x2b5)])(0x8)),[_0xfc36e9,_0x2aa444]=(0x0,_0x781fbd['useState'])(null);return(0x0,_0x781fbd[_0x2b0376(0x1df)])(()=>{const _0x323db4=_0x2b0376;let _0x5244c4=_0xcf0873[_0x323db4(0x2ed)];if(!_0x5244c4)return;_0x2aa444(null),_0x5244c4[_0x323db4(0x36d)](),_0x293a5c[_0x323db4(0x2ed)]=_0x9a988e(_0x5244c4);let _0x531c4e=!0x1,_0x2b243c=_0x586571=>{_0x531c4e||_0x2aa444(_0x586571);},_0x40f2ff=null,_0xf98c40=null,_0x4449fe=null;try{_0x40f2ff=_0x316ef2(_0x336607[_0x323db4(0x2ed)],_0x58a67f[_0x323db4(0x324)],_0x58a67f['chartType'],_0x58a67f[_0x323db4(0x31e)],_0x58a67f[_0x323db4(0x357)],_0x58a67f[_0x323db4(0x25d)],_0x1bc27e),_0xf98c40=new _0x47f1b4(_0x40f2ff[_0x323db4(0x240)],_0x5244c4,(_0x149f3a,_0x25a8f5)=>_0x108669[_0x323db4(0x330)](_0x149f3a,_0x25a8f5),()=>_0x293a5c[_0x323db4(0x2ed)]??_0x9a988e(_0x5244c4),!0x1),_0x4449fe=_0x108669[_0x323db4(0x1e3)](_0x10d771[_0x323db4(0x1ec)][_0x323db4(0x34e)]),_0x4449fe[_0x323db4(0x3c8)](_0xf98c40);}catch(_0x163b0d){return _0x2b243c(_0x163b0d),()=>{_0x531c4e=!0x0,_0x5244c4['replaceChildren']();};}if(!_0x40f2ff||!_0xf98c40||!_0x4449fe)return()=>{const _0x1dd550=_0x323db4;_0x531c4e=!0x0,_0x5244c4[_0x1dd550(0x36d)]();};let _0x200b7f=_0x40f2ff,_0x5c7908=_0xf98c40,_0x28e793=_0x4449fe,_0x50bd47=()=>{const _0x5d00d1=_0x323db4;let _0x436c8c,_0x41589e;try{({chartConfig:_0x436c8c,chartStyle:_0x41589e}=_0x108669[_0x5d00d1(0x361)](_0x200b7f));}catch(_0x370095){_0x2b243c(_0x370095);return;}_0x28e793[_0x5d00d1(0x478)]({'chartId':_0x200b7f[_0x5d00d1(0x240)],'config':_0x436c8c,'style':_0x41589e})[_0x5d00d1(0x21f)](()=>{_0x531c4e||_0x2aa444(null);})[_0x5d00d1(0x27a)](_0x2b243c);},_0x738f88=_0x200b7f[_0x323db4(0x379)]['config$']['subscribe'](_0x462c14=>{_0x462c14&&_0x50bd47();}),_0x4a367c=typeof ResizeObserver>'u'?null:new ResizeObserver(_0x1d9795=>{const _0x35a4e5=_0x323db4;var _0x58a523;let _0x58d88d=(_0x58a523=_0x1d9795[0x0])==null?void 0x0:_0x58a523[_0x35a4e5(0x4d7)];_0x293a5c['current']=_0x58d88d&&_0x58d88d[_0x35a4e5(0x273)]>0x0&&_0x58d88d[_0x35a4e5(0x217)]>0x0?{'width':_0x58d88d['width'],'height':_0x58d88d['height']}:_0x9a988e(_0x5244c4),_0x5c7908[_0x35a4e5(0x3cd)](),_0x50bd47();});return _0x4a367c==null||_0x4a367c[_0x323db4(0x391)](_0x5244c4),()=>{const _0x13e864=_0x323db4;_0x531c4e=!0x0,_0x738f88[_0x13e864(0x466)](),_0x4a367c==null||_0x4a367c[_0x13e864(0x39d)](),_0x28e793[_0x13e864(0x247)](),_0x5c7908[_0x13e864(0x247)](),_0x200b7f['model'][_0x13e864(0x247)](),_0x200b7f['source'][_0x13e864(0x247)](),_0x5244c4[_0x13e864(0x36d)]();};},[_0x1bc27e,_0x58a67f[_0x2b0376(0x24e)],_0x58a67f['context'],_0x58a67f['dataAggregation'],_0x58a67f[_0x2b0376(0x25d)],_0x58a67f[_0x2b0376(0x324)],_0x108669]),(0x0,_0xfc6bb1['jsxs'])(_0x2b0376(0x48b),{'className':'univer-relative\x20univer-box-border\x20univer-flex\x20univer-h-full\x20univer-min-h-0\x20univer-w-full\x20univer-min-w-0\x20univer-overflow-hidden\x20univer-rounded-lg\x20univer-border\x20univer-border-solid\x20univer-border-gray-200\x20univer-bg-gray-0\x20dark:!univer-border-gray-700\x20dark:!univer-bg-gray-900','children':[(0x0,_0xfc6bb1[_0x2b0376(0x3da)])(_0x2b0376(0x48b),{'ref':_0xcf0873,'className':'univer-absolute\x20univer-inset-0\x20univer-min-h-0\x20univer-min-w-0\x20univer-overflow-hidden\x20univer-rounded-lg'}),_0xfc36e9!=null&&(0x0,_0xfc6bb1['jsx'])(_0x2b0376(0x48b),{'className':_0x2b0376(0x20d),'children':_0x3bb262['t'](_0x2b0376(0x30c))})]});}function _0x9a988e(_0x5f075c){const _0xa48518=_0x2c9ee4;let _0xc5e410=_0x5f075c[_0xa48518(0x3f0)]();return _0xc5e410[_0xa48518(0x273)]<=0x0||_0xc5e410[_0xa48518(0x217)]<=0x0?null:{'width':_0xc5e410[_0xa48518(0x273)],'height':_0xc5e410[_0xa48518(0x217)]};}let _0x5a0ada=_0x2c9ee4(0x397),_0x4bcfb2='doc-chart.dialog.editor';function _0x1b106e(_0x25764b){const _0x5c8de6=_0x2c9ee4;var _0x51ca84,_0x2e2e0f,_0x4bc6a8;let {unitId:_0xa1b6d,chartId:_0x26ef29,drawingId:_0x371998,ProviderComponent:_0x18d2f9=_0x28ba9f[_0x5c8de6(0x338)]}=_0x25764b,_0x459985=(0x0,_0x212387[_0x5c8de6(0x326)])(_0x3811f3[_0x5c8de6(0x312)]),_0x25643f=(0x0,_0x212387['useDependency'])(_0x3811f3[_0x5c8de6(0x3f2)]),_0xa8d82b=(0x0,_0x212387[_0x5c8de6(0x326)])(_0x3811f3[_0x5c8de6(0x390)]),_0x153859=(0x0,_0x212387[_0x5c8de6(0x326)])(_0x10d771[_0x5c8de6(0x248)]),_0xfa70f8=(0x0,_0x212387['useDependency'])(_0x2d4ecf[_0x5c8de6(0x23a)]),_0x5193fe=(0x0,_0x212387[_0x5c8de6(0x326)])(_0x437a27),_0x1b4c73=(0x0,_0x212387[_0x5c8de6(0x326)])(_0x480905),_0x595b31=(0x0,_0x781fbd[_0x5c8de6(0x34a)])(()=>_0x5193fe[_0x5c8de6(0x33c)](_0xa1b6d,_0x26ef29),[_0x26ef29,_0x5193fe,_0xa1b6d]),_0x18deeb=_0x153859[_0x5c8de6(0x30a)](_0xa1b6d,_0x26ef29),_0x3e799f=(0x0,_0x781fbd['useMemo'])(()=>_0xfa70f8==null?void 0x0:_0xfa70f8['ensureChartModel'](_0xa1b6d,_0x26ef29),[_0x26ef29,_0xfa70f8,_0xa1b6d]),_0x5e8e14=(0x0,_0x212387['useObservable'])(_0x3e799f==null?void 0x0:_0x3e799f['model'][_0x5c8de6(0x49b)],(_0x3e799f==null?void 0x0:_0x3e799f[_0x5c8de6(0x379)][_0x5c8de6(0x24e)])??(_0x18deeb==null?void 0x0:_0x18deeb[_0x5c8de6(0x24e)])),_0x2d7e30=(0x0,_0x212387[_0x5c8de6(0x337)])(_0x3e799f==null?void 0x0:_0x3e799f[_0x5c8de6(0x379)][_0x5c8de6(0x4fb)],(_0x3e799f==null?void 0x0:_0x3e799f[_0x5c8de6(0x379)][_0x5c8de6(0x31e)])??(_0x18deeb==null||(_0x51ca84=_0x18deeb[_0x5c8de6(0x31e)])==null?void 0x0:_0x51ca84[_0x5c8de6(0x298)])),_0x14d150=(0x0,_0x212387['useObservable'])(_0x3e799f==null?void 0x0:_0x3e799f[_0x5c8de6(0x379)][_0x5c8de6(0x4ee)],(_0x3e799f==null?void 0x0:_0x3e799f[_0x5c8de6(0x379)][_0x5c8de6(0x357)])??(_0x18deeb==null?void 0x0:_0x18deeb[_0x5c8de6(0x357)])),_0x39267a=(0x0,_0x212387[_0x5c8de6(0x337)])(_0x3e799f==null?void 0x0:_0x3e799f[_0x5c8de6(0x379)][_0x5c8de6(0x477)],(_0x3e799f==null?void 0x0:_0x3e799f[_0x5c8de6(0x379)][_0x5c8de6(0x25d)])??(_0x18deeb==null?void 0x0:_0x18deeb[_0x5c8de6(0x25d)])),_0x1e6d22=(0x0,_0x781fbd[_0x5c8de6(0x34a)])(()=>{const _0x267f34=_0x5c8de6;var _0x25ae74;return _0xfa70f8==null||(_0x25ae74=_0xfa70f8[_0x267f34(0x1f3)])==null?void 0x0:_0x25ae74[_0x267f34(0x222)](_0xfa70f8,_0xa1b6d,_0x26ef29);},[_0x26ef29,_0xfa70f8,_0xa1b6d]),_0x13e8fc=(0x0,_0x212387[_0x5c8de6(0x337)])(_0x1e6d22,_0xfa70f8==null||(_0x2e2e0f=_0xfa70f8[_0x5c8de6(0x245)])==null?void 0x0:_0x2e2e0f[_0x5c8de6(0x222)](_0xfa70f8,_0xa1b6d,_0x26ef29)),_0x15899c=(0x0,_0x781fbd[_0x5c8de6(0x34a)])(()=>({..._0x18deeb==null?void 0x0:_0x18deeb[_0x5c8de6(0x31e)],'chartContext':_0x2d7e30}),[_0x18deeb==null?void 0x0:_0x18deeb[_0x5c8de6(0x31e)],_0x2d7e30]),[_0x44be2d,_0x1a5595]=(0x0,_0x781fbd['useState'])(_0x595b31),[_0x4d7110,_0x264c5f]=(0x0,_0x781fbd[_0x5c8de6(0x48a)])(()=>(_0x595b31==null?void 0x0:_0x595b31['values']['map'](_0x290a7a=>[..._0x290a7a]))??[]),[_0x4ead2d,_0x4deb2b]=(0x0,_0x781fbd['useState'])(()=>(_0x595b31==null?void 0x0:_0x595b31[_0x5c8de6(0x324)][_0x5c8de6(0x4ca)](_0x254d11=>[..._0x254d11]))??[]),[_0x267f4c,_0x5adfa7]=(0x0,_0x781fbd[_0x5c8de6(0x48a)])(()=>_0x18deeb==null?void 0x0:_0x18deeb[_0x5c8de6(0x24e)]),[_0x1c0aa1,_0x345c37]=(0x0,_0x781fbd['useState'])(()=>{const _0x4c7984=_0x5c8de6;var _0x4095bb;return((_0x4095bb=_0x25764b[_0x4c7984(0x2c2)])==null?void 0x0:_0x4095bb[_0x4c7984(0x2a9)])===_0x28ba9f[_0x4c7984(0x4a1)][_0x4c7984(0x490)]?_0x4c7984(0x455):_0x4c7984(0x4f1);}),[_0x4492ca,_0x1fbaec]=(0x0,_0x781fbd['useState'])(null),_0x3e89b2=_0x13e8fc==null||(_0x4bc6a8=_0x13e8fc['values'])==null?void 0x0:_0x4bc6a8[_0x5c8de6(0x4ca)](_0x5609e9=>[..._0x5609e9]),_0x3f6e4b=(0x0,_0x781fbd[_0x5c8de6(0x34a)])(()=>{const _0x3477fd=_0x5c8de6;var _0x4ad096;let _0x145d1a=_0xa8d82b['getUnit'](_0xa1b6d,_0x3811f3[_0x3477fd(0x450)][_0x3477fd(0x1ed)]);if(!_0x3e799f||!_0x145d1a)return null;let _0x1d6df2=_0x371998??((_0x4ad096=Object[_0x3477fd(0x324)](_0x145d1a[_0x3477fd(0x403)]()??{})[_0x3477fd(0x3e1)](_0x2b2d91=>_0x2b2d91[_0x3477fd(0x240)]===_0x26ef29))==null?void 0x0:_0x4ad096[_0x3477fd(0x42a)]);return _0x1d6df2?new _0x28ba9f['ChartHostAdapter'](_0x3e799f[_0x3477fd(0x379)],new _0x2d4ecf[(_0x3477fd(0x349))]({'unitId':_0xa1b6d,'chartId':_0x26ef29,'drawingId':_0x1d6df2,'documentDataModel':_0x145d1a,'injector':_0x25643f})):null;},[_0x26ef29,_0x371998,_0x25643f,_0x3e799f,_0xa1b6d,_0xa8d82b]);return!_0x44be2d||!_0x18deeb?(0x0,_0xfc6bb1[_0x5c8de6(0x3da)])(_0x5c8de6(0x48b),{'className':'univer-p-4\x20univer-text-sm\x20univer-text-gray-500\x20dark:!univer-text-gray-400','children':_0x459985['t'](_0x5c8de6(0x1ea))}):(0x0,_0xfc6bb1[_0x5c8de6(0x43a)])(_0x5c8de6(0x48b),{'className':_0x25764b[_0x5c8de6(0x2c0)]?_0x5c8de6(0x43d):_0x5c8de6(0x38c),'style':_0x25764b[_0x5c8de6(0x2c0)]?void 0x0:{'height':_0x5c8de6(0x3d3)},'children':[(0x0,_0xfc6bb1[_0x5c8de6(0x3da)])(_0x28ba9f[_0x5c8de6(0x2da)],{'ariaLabel':_0x459985['t']('docs-chart-ui.common.editChart'),'className':_0x5c8de6(0x4a4),'value':_0x1c0aa1,'items':[{'label':_0x459985['t'](_0x5c8de6(0x289)),'panelId':_0x2135d9,'value':_0x5c8de6(0x4f1)},{'label':_0x459985['t']('docs-chart-ui.common.data'),'panelId':_0x248171,'value':_0x5c8de6(0x455)}],'variant':_0x5c8de6(0x375),'onChange':_0x345c37}),(0x0,_0xfc6bb1['jsxs'])(_0x5c8de6(0x48b),{'id':_0x1c0aa1===_0x5c8de6(0x455)?_0x248171:_0x2135d9,'aria-labelledby':(_0x1c0aa1===_0x5c8de6(0x455)?_0x248171:_0x2135d9)+_0x5c8de6(0x1db),'className':'univer-min-h-0\x20univer-flex-1\x20univer-pt-4','role':_0x5c8de6(0x4a9),'children':[_0x1c0aa1===_0x5c8de6(0x455)?(0x0,_0xfc6bb1[_0x5c8de6(0x3da)])(_0xc76323,{'values':_0x3e89b2??_0x4d7110,'dataSource':_0x44be2d['dataSource'],'sharingCount':_0x44be2d['sharingCount'],'onCancel':()=>_0x345c37('chart'),'onSubmit':(_0x3ab7da,_0x5373af)=>{const _0x198571=_0x5c8de6;if(!_0x5193fe[_0x198571(0x434)](_0xa1b6d,_0x26ef29,_0x3ab7da,_0x5373af)){_0x1fbaec(_0x459985['t'](_0x198571(0x28a)));return;}_0x1fbaec(null);let _0x3ae7fe=_0x5193fe[_0x198571(0x33c)](_0xa1b6d,_0x26ef29);_0x1a5595(_0x3ae7fe??_0x44be2d),_0x264c5f((_0x3ae7fe==null?void 0x0:_0x3ae7fe[_0x198571(0x324)])??_0x3ab7da),_0x4deb2b((_0x3ae7fe==null?void 0x0:_0x3ae7fe[_0x198571(0x324)])??_0x3ab7da),_0x345c37(_0x198571(0x4f1));},'onDataSourceSubmit':_0x516fc0=>{const _0x1d35f4=_0x5c8de6;if(!_0x5193fe[_0x1d35f4(0x225)](_0xa1b6d,_0x26ef29,_0x516fc0)){_0x1fbaec(_0x459985['t'](_0x1d35f4(0x28a)));return;}_0x1fbaec(null),_0x1a5595(_0x5193fe['getEditorState'](_0xa1b6d,_0x26ef29)??_0x44be2d),_0x345c37(_0x1d35f4(0x4f1));}}):(0x0,_0xfc6bb1['jsxs'])(_0x5c8de6(0x48b),{'className':_0x25764b[_0x5c8de6(0x2c0)]?_0x5c8de6(0x2c5):_0x5c8de6(0x1d5),'children':[!_0x25764b[_0x5c8de6(0x2c0)]&&(0x0,_0xfc6bb1[_0x5c8de6(0x3da)])('div',{'className':_0x5c8de6(0x249),'children':(0x0,_0xfc6bb1['jsx'])(_0x6950a0,{'values':_0x3e89b2??_0x4ead2d,'chartType':_0x5e8e14??_0x267f4c??_0x18deeb[_0x5c8de6(0x24e)],'context':_0x15899c,'dataAggregation':_0x14d150,'style':_0x39267a})}),(0x0,_0xfc6bb1[_0x5c8de6(0x43a)])(_0x5c8de6(0x48b),{'className':_0x25764b[_0x5c8de6(0x2c0)]?_0x5c8de6(0x314):'\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-flex\x20univer-min-h-0\x20univer-w-[388px]\x20univer-shrink-0\x20univer-flex-col\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-gap-4\x20univer-overflow-hidden\x20univer-overscroll-contain\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','children':[(0x0,_0xfc6bb1[_0x5c8de6(0x3da)])(_0x5c8de6(0x48b),{'className':_0x5c8de6(0x296),'children':_0x3f6e4b?(0x0,_0xfc6bb1['jsx'])(_0x18d2f9,{'chartUIService':_0x1b4c73,'hostAdapter':_0x3f6e4b,'children':(0x0,_0xfc6bb1[_0x5c8de6(0x3da)])(_0x2622c2,{'mobile':_0x25764b[_0x5c8de6(0x2c0)],'initialRoute':_0x25764b[_0x5c8de6(0x2c2)],'onClose':_0x25764b[_0x5c8de6(0x2f7)],'onPreviewChartTypeChange':_0x5adfa7,'onModifyData':()=>_0x345c37('data')})}):(0x0,_0xfc6bb1[_0x5c8de6(0x3da)])(_0x5c8de6(0x48b),{'className':_0x5c8de6(0x26f),'children':_0x459985['t'](_0x5c8de6(0x1ea))})}),_0x4492ca&&(0x0,_0xfc6bb1[_0x5c8de6(0x3da)])(_0x5c8de6(0x48b),{'className':_0x5c8de6(0x3e0),'children':_0x4492ca})]})]}),_0x1c0aa1===_0x5c8de6(0x455)&&_0x4492ca&&(0x0,_0xfc6bb1[_0x5c8de6(0x3da)])('div',{'className':'univer-mt-2\x20univer-text-xs\x20univer-text-red-600\x20dark:!univer-text-red-400','children':_0x4492ca})]})]});}let _0x2135d9=_0x2c9ee4(0x1d9),_0x248171=_0x2c9ee4(0x4c1);function _0x11935b(_0x3801f1,_0x16d3b7){const _0x13c80a=_0x2c9ee4;var _0x451810;if(!(_0x16d3b7!=null&&_0x16d3b7['collapsed'])||_0x16d3b7['startOffset']==null)return null;let _0xc71277=_0x16d3b7[_0x13c80a(0x2ea)]??'';if(_0xc71277!=='')return null;let _0x55b8d2=(_0x451810=_0x3801f1[_0x13c80a(0x45b)](_0xc71277))==null?void 0x0:_0x451810[_0x13c80a(0x507)]();if(!_0x55b8d2)return null;let _0x5a5e1a=_0x30912c(_0x55b8d2,_0x16d3b7[_0x13c80a(0x1e2)]);if(!_0x583bf4(_0x55b8d2,_0x5a5e1a))return null;let _0x340af4=_0x2c33d3(_0x55b8d2,_0x5a5e1a);return _0x340af4?{'unitId':_0x3801f1[_0x13c80a(0x236)](),'index':_0x340af4['index'],'segmentId':_0xc71277,'breakOffsets':_0x340af4[_0x13c80a(0x3c0)]}:null;}function _0x30912c(_0x466be7,_0x28a602){const _0x141cc4=_0x2c9ee4;return _0x28a602===0x0&&_0x466be7['dataStream'][0x0]===_0x3811f3[_0x141cc4(0x21d)][_0x141cc4(0x36e)]?0x1:_0x28a602;}function _0x583bf4(_0x34128d,_0x15cbe9){const _0x4ea355=_0x2c9ee4;return!(_0x45d380(_0x34128d[_0x4ea355(0x47b)],_0x15cbe9)||_0x263f04(_0x34128d[_0x4ea355(0x4f9)],_0x15cbe9)||_0xc7ebb3(_0x34128d[_0x4ea355(0x29d)],_0x15cbe9));}function _0x187b7f(_0x1a5f3b,_0x300453){const _0x5557fc=_0x2c9ee4;let {dataStream:_0x5c879f}=_0x1a5f3b;if(!_0x5c879f||_0x300453<0x0||_0x300453>=_0x5c879f[_0x5557fc(0x3f8)])return!0x1;let _0x3f0e26=_0xd1c989(_0x5c879f,_0x300453)+0x1,_0xbd41a4=_0x31cafa(_0x5c879f,_0x300453);return _0x3f0e26<=_0xbd41a4&&_0x5c879f[_0x5557fc(0x3fc)](_0x3f0e26,_0xbd41a4)[_0x5557fc(0x3f8)]===0x0;}function _0x2c33d3(_0x47c58b,_0x5de5b1){let {dataStream:_0x4fc6f5}=_0x47c58b;if(!_0x4fc6f5||_0x5de5b1<0x0||_0x5de5b1>=_0x4fc6f5['length'])return null;if(_0x187b7f(_0x47c58b,_0x5de5b1))return{'index':_0x5de5b1,'breakOffsets':[]};let _0x2d9e29=_0xd1c989(_0x4fc6f5,_0x5de5b1)+0x1,_0x3d4966=_0x31cafa(_0x4fc6f5,_0x5de5b1);return _0x5de5b1<=_0x2d9e29?{'index':_0x5de5b1,'breakOffsets':[_0x5de5b1]}:_0x5de5b1>=_0x3d4966?{'index':_0x5de5b1+0x1,'breakOffsets':[_0x5de5b1]}:{'index':_0x5de5b1+0x1,'breakOffsets':[_0x5de5b1,_0x5de5b1+0x1]};}function _0xd1c989(_0x5099b2,_0x513ef7){const _0x2ea15d=_0x2c9ee4;let _0x134819=Math[_0x2ea15d(0x3c6)](0x0,Math[_0x2ea15d(0x365)](_0x513ef7-0x1,_0x5099b2[_0x2ea15d(0x3f8)]-0x1));return Math[_0x2ea15d(0x3c6)](_0x5099b2[_0x2ea15d(0x1fa)](_0x3811f3[_0x2ea15d(0x21d)]['PARAGRAPH'],_0x134819),_0x5099b2['lastIndexOf'](_0x3811f3['DataStreamTreeTokenType'][_0x2ea15d(0x46c)],_0x134819));}function _0x31cafa(_0x1c88f4,_0x5bdae6){const _0x34a17e=_0x2c9ee4;let _0x2965b1=Math[_0x34a17e(0x3c6)](0x0,Math[_0x34a17e(0x365)](_0x5bdae6,_0x1c88f4[_0x34a17e(0x3f8)]-0x1)),_0x50e2a4=_0x1c88f4[_0x34a17e(0x302)](_0x3811f3[_0x34a17e(0x21d)]['PARAGRAPH'],_0x2965b1),_0x17dd81=_0x1c88f4[_0x34a17e(0x302)](_0x3811f3['DataStreamTreeTokenType'][_0x34a17e(0x46c)],_0x2965b1);return _0x50e2a4===-0x1&&_0x17dd81===-0x1?_0x1c88f4[_0x34a17e(0x3f8)]:_0x50e2a4===-0x1?_0x17dd81:_0x17dd81===-0x1?_0x50e2a4:Math[_0x34a17e(0x365)](_0x50e2a4,_0x17dd81);}function _0x45d380(_0x36022b,_0x5d01de){const _0x5527fc=_0x2c9ee4;return!!(_0x36022b!=null&&_0x36022b['some'](_0x4f8c29=>_0x4f8c29[_0x5527fc(0x1d1)]<=_0x5d01de&&_0x5d01de<_0x4f8c29[_0x5527fc(0x1cb)]));}function _0x263f04(_0x2df8cb,_0x3b5c09){const _0x5c3ddf=_0x2c9ee4;return!!(_0x2df8cb!=null&&_0x2df8cb[_0x5c3ddf(0x40a)](_0xb5f703=>_0xb5f703[_0x5c3ddf(0x1d1)]<=_0x3b5c09&&_0x3b5c09<=_0xb5f703[_0x5c3ddf(0x1cb)]));}function _0xc7ebb3(_0xd2a2d4,_0x5e9457){const _0x54e0be=_0x2c9ee4;return!!(_0xd2a2d4!=null&&_0xd2a2d4['some'](_0x4e646a=>_0x4e646a[_0x54e0be(0x1d1)]===_0x5e9457));}let _0xf47eb3=class{constructor(_0x193e6c,_0x3769c5,_0x7781fa,_0x19860c){const _0x452659=_0x2c9ee4;this[_0x452659(0x2f0)]=_0x193e6c,this[_0x452659(0x2be)]=_0x3769c5,this['_docSelectionManagerService']=_0x7781fa,this[_0x452659(0x496)]=_0x19860c;}['insertChartFromText'](_0xf463eb,_0x778ce5,_0x2cc699){let _0x3cb050=(0x0,_0x10d771['parseInlineChartTable'])(_0xf463eb);return _0x3cb050['length']!==0x0&&this['insertChart'](_0x3cb050,_0x778ce5,_0x2cc699);}[_0x2c9ee4(0x492)](_0x3ee70c,_0x383570,_0x22e641={}){const _0x4d157c=_0x2c9ee4;if(_0x3ee70c[_0x4d157c(0x3f8)]===0x0)return!0x1;let _0x195d74=(0x0,_0x28ba9f['tryPrepareInlineChartData'])(_0x383570,_0x3ee70c);if(!_0x195d74['ok'])return!0x1;let _0x5a51e8=_0x22e641[_0x4d157c(0x370)]?this[_0x4d157c(0x2f0)][_0x4d157c(0x30b)](_0x22e641[_0x4d157c(0x370)],_0x3811f3[_0x4d157c(0x450)][_0x4d157c(0x1ed)]):this[_0x4d157c(0x2f0)][_0x4d157c(0x2d2)](_0x3811f3[_0x4d157c(0x450)]['UNIVER_DOC']);if(!_0x5a51e8)return!0x1;let _0x123ae0=this[_0x4d157c(0x206)](_0x5a51e8,_0x22e641['insertRange']);if(!_0x123ae0||!this[_0x4d157c(0x1fc)](_0x5a51e8[_0x4d157c(0x236)](),_0x123ae0[_0x4d157c(0x3c0)],_0x123ae0[_0x4d157c(0x2ea)]))return!0x1;let _0x1ee3c1=_0x123ae0[_0x4d157c(0x370)],_0x30b335={'chartType':_0x383570};_0x22e641[_0x4d157c(0x31e)]&&(_0x30b335['context']=_0x22e641[_0x4d157c(0x31e)]),_0x22e641['dataAggregation']&&(_0x30b335['dataAggregation']=_0x22e641['dataAggregation']),_0x22e641[_0x4d157c(0x25d)]&&(_0x30b335[_0x4d157c(0x25d)]=_0x22e641['style']);let _0x2be1d9=this[_0x4d157c(0x2be)][_0x4d157c(0x2ac)](_0x2d4ecf[_0x4d157c(0x22d)]['id'],{'unitId':_0x1ee3c1,'textRange':{'startOffset':_0x123ae0[_0x4d157c(0x290)],'endOffset':_0x123ae0[_0x4d157c(0x290)],'collapsed':!0x0,'segmentId':_0x123ae0[_0x4d157c(0x2ea)]},'chart':_0x30b335,'dataSource':_0x22e641[_0x4d157c(0x1f4)]??{'values':_0x195d74['values']},'width':_0x22e641[_0x4d157c(0x273)],'height':_0x22e641['height'],'focus':_0x22e641[_0x4d157c(0x4dc)]});return _0x2be1d9?{..._0x2be1d9,'unitId':_0x1ee3c1}:!0x1;}[_0x2c9ee4(0x206)](_0x36b742,_0x70d8e4){const _0x5cb9a3=_0x2c9ee4;if(_0x70d8e4)return _0x11935b(_0x36b742,_0x70d8e4);let _0x43b69f=_0x36b742['getUnitId'](),_0x2fe099=null;try{_0x2fe099=this[_0x5cb9a3(0x496)][_0x5cb9a3(0x3a3)](_0x43b69f);}catch{_0x2fe099=null;}if(_0x2fe099)return _0x11935b(_0x36b742,{'startOffset':_0x2fe099[_0x5cb9a3(0x1e2)],'endOffset':_0x2fe099['endOffset'],'collapsed':_0x2fe099[_0x5cb9a3(0x1e2)]===_0x2fe099[_0x5cb9a3(0x38e)],'segmentId':_0x2fe099[_0x5cb9a3(0x2ea)]??''});let _0x59a3da={'unitId':_0x43b69f,'subUnitId':_0x43b69f},_0x5ea27f=this[_0x5cb9a3(0x2cc)][_0x5cb9a3(0x4b3)](_0x59a3da)??[];return _0x11935b(_0x36b742,_0x20fd91(_0x5ea27f[_0x5cb9a3(0x3e1)](_0x49433f=>_0x49433f[_0x5cb9a3(0x4a5)])??_0x5ea27f[0x0]));}[_0x2c9ee4(0x1fc)](_0x512de4,_0x5c9891,_0x2d567b){const _0x1df23d=_0x2c9ee4;for(let _0x485e65 of _0x5c9891)if(!this['_commandService'][_0x1df23d(0x2ac)](_0x39ab44['BreakLineCommand']['id'],{'unitId':_0x512de4,'textRange':{'startOffset':_0x485e65,'endOffset':_0x485e65,'collapsed':!0x0,'segmentId':_0x2d567b}}))return!0x1;return!0x0;}};_0xf47eb3=_0x58c753([_0x492bb2(0x0,_0x3811f3[_0x2c9ee4(0x390)]),_0x492bb2(0x1,_0x3811f3['ICommandService']),_0x492bb2(0x2,(0x0,_0x3811f3[_0x2c9ee4(0x33e)])(_0x100932['DocSelectionManagerService'])),_0x492bb2(0x3,(0x0,_0x3811f3[_0x2c9ee4(0x33e)])(_0x100932[_0x2c9ee4(0x1be)]))],_0xf47eb3);function _0x20fd91(_0x30cbdb){const _0x45d8bf=_0x2c9ee4;return!_0x30cbdb||typeof _0x30cbdb!=_0x45d8bf(0x2dc)?null:_0x30cbdb;}let _0x3bedb1=_0x2c9ee4(0x4d5),_0x365d43=[_0x2c9ee4(0x4cc),_0x2c9ee4(0x2e3),_0x2c9ee4(0x4e9),'C\x099'][_0x2c9ee4(0x46d)]('\x0a');function _0x5ac44e(_0x40d6b6){const _0x5327da=_0x2c9ee4;let {ButtonComponent:_0x32643a,SelectComponent:_0x5767c2}=(0x0,_0x28ba9f[_0x5327da(0x3fa)])(),_0x4a82f7=(0x0,_0x212387[_0x5327da(0x326)])(_0xf47eb3),_0x5e6a1d=(0x0,_0x212387[_0x5327da(0x326)])(_0x3811f3[_0x5327da(0x312)]),{defaultChartType:_0x536cd0=_0x10d771[_0x5327da(0x321)]['Column'],defaultTableText:_0x2bd4a1=_0x365d43,insertOptions:_0x39a153,onCancel:_0x3d8375,onInserted:_0x3c87c7}=_0x40d6b6,_0x580fe0=(0x0,_0x781fbd[_0x5327da(0x34a)])(()=>(0x0,_0x28ba9f[_0x5327da(0x34f)])(_0x28ba9f['CHART_TYPE_CATALOG'][_0x5327da(0x4ca)](_0x22ee65=>({..._0x22ee65,'label':_0x5e6a1d['t'](_0x5327da(0x447)+_0x22ee65[_0x5327da(0x20c)])}))),[_0x5e6a1d]),[_0xd896a9,_0x8d3d1a]=(0x0,_0x781fbd['useState'])(String(_0x536cd0)),_0x3464e3=_0x580fe0[_0x5327da(0x3e1)](_0x879330=>_0x879330['value']===_0xd896a9),_0x57b16c=(_0x3464e3==null?void 0x0:_0x3464e3[_0x5327da(0x24e)])??_0x536cd0,_0x1fdd0e=_0x253c33=>(0x0,_0x28ba9f[_0x5327da(0x258)])(_0x253c33,{'candlestickClose':_0x5e6a1d['t']('docs-chart-ui.candlestick.close'),'candlestickHigh':_0x5e6a1d['t'](_0x5327da(0x468)),'candlestickLow':_0x5e6a1d['t'](_0x5327da(0x465)),'candlestickOpen':_0x5e6a1d['t'](_0x5327da(0x2fb)),'category':_0x5e6a1d['t'](_0x5327da(0x439)),'chordSource':_0x5e6a1d['t'](_0x5327da(0x34d)),'chordTarget':_0x5e6a1d['t'](_0x5327da(0x1f8)),'label':_0x5e6a1d['t'](_0x5327da(0x43f)),'sunburstHierarchy':_0x5e6a1d['t'](_0x5327da(0x261)),'value':_0x5e6a1d['t'](_0x5327da(0x36b)),'valueField':_0x5e6a1d['t'](_0x5327da(0x264))}),[_0xe30566,_0x493676]=(0x0,_0x781fbd[_0x5327da(0x48a)])(()=>_0x40d6b6['defaultTableText']===void 0x0?_0x1fdd0e(_0x536cd0)??(0x0,_0x10d771['parseInlineChartTable'])(_0x2bd4a1):(0x0,_0x10d771[_0x5327da(0x232)])(_0x2bd4a1)),[_0x41f4d3,_0x11aa3d]=(0x0,_0x781fbd[_0x5327da(0x48a)])(_0x5327da(0x411)),[_0x6155e0,_0x2581e2]=(0x0,_0x781fbd[_0x5327da(0x48a)])(null),[_0x415080,_0x487efe]=(0x0,_0x781fbd['useState'])([]),[_0x3789fe,_0x5e2e0e]=(0x0,_0x781fbd['useState'])(null),_0x1368d0={[_0x28ba9f[_0x5327da(0x31f)][_0x5327da(0x4da)]]:_0x5e6a1d['t'](_0x5327da(0x363)),[_0x28ba9f['InlineChartCreationIssueCode'][_0x5327da(0x472)]]:_0x5e6a1d['t'](_0x5327da(0x483)),[_0x28ba9f[_0x5327da(0x31f)]['InvalidCandlestickData']]:_0x5e6a1d['t'](_0x5327da(0x23c))};return(0x0,_0xfc6bb1['jsxs'])(_0x5327da(0x48b),{'className':_0x5327da(0x49e),'children':[(0x0,_0xfc6bb1[_0x5327da(0x43a)])('div',{'className':_0x5327da(0x1f1),'children':[(0x0,_0xfc6bb1[_0x5327da(0x3da)])(_0x5327da(0x48b),{'className':_0x5327da(0x2f3),'children':_0x5e6a1d['t']('docs-chart-ui.common.chartType')}),(0x0,_0xfc6bb1[_0x5327da(0x3da)])(_0x5767c2,{'className':_0x5327da(0x394),'value':_0xd896a9,'options':_0x580fe0,'onChange':_0x4eaa37=>{const _0x464dc4=_0x5327da;var _0xc13766;_0x8d3d1a(_0x4eaa37);let _0x4b1c77=((_0xc13766=_0x580fe0['find'](_0x45b143=>_0x45b143[_0x464dc4(0x3f7)]===_0x4eaa37))==null?void 0x0:_0xc13766[_0x464dc4(0x24e)])??_0x536cd0,_0xcbac50=_0x1fdd0e(_0x4b1c77);_0xcbac50&&_0x493676(_0xcbac50);}})]}),(0x0,_0xfc6bb1[_0x5327da(0x3da)])(_0x28ba9f[_0x5327da(0x47f)],{'mode':_0x41f4d3,'inlineContent':(0x0,_0xfc6bb1[_0x5327da(0x3da)])(_0x28ba9f[_0x5327da(0x380)],{'values':_0xe30566,'minColumns':(0x0,_0x28ba9f[_0x5327da(0x27d)])(_0x57b16c),'parsePastedText':_0x10d771[_0x5327da(0x232)],'onChange':_0x493676}),'onModeChange':_0x5e0d1e=>{_0x11aa3d(_0x5e0d1e),_0x2581e2(null),_0x487efe([]);},'onPreviewChange':(_0xa0f58e,_0xb67e1c)=>{const _0x152ae3=_0x5327da;_0xa0f58e&&_0xb67e1c[_0x152ae3(0x2db)]===_0x10d771[_0x152ae3(0x486)][_0x152ae3(0x467)]&&_0xb67e1c[_0x152ae3(0x324)]?(_0x2581e2({'source':_0xa0f58e}),_0x487efe(_0xb67e1c['values']['map'](_0x5bd500=>[..._0x5bd500]))):(_0x2581e2(null),_0x487efe([]));}}),_0x3789fe&&(0x0,_0xfc6bb1[_0x5327da(0x3da)])('div',{'className':_0x5327da(0x3e0),'children':_0x3789fe}),(0x0,_0xfc6bb1['jsxs'])('div',{'className':_0x5327da(0x1c2),'children':[_0x3d8375&&(0x0,_0xfc6bb1[_0x5327da(0x3da)])(_0x32643a,{'type':_0x5327da(0x285),'variant':'default','onClick':_0x3d8375,'children':_0x5e6a1d['t'](_0x5327da(0x428))}),(0x0,_0xfc6bb1[_0x5327da(0x3da)])(_0x32643a,{'type':_0x5327da(0x285),'variant':_0x5327da(0x35c),'disabled':_0x41f4d3===_0x5327da(0x1cd)&&!_0x6155e0,'onClick':()=>{const _0x4e1372=_0x5327da;var _0x1b2ffc;let _0xdb8f67=(0x0,_0x28ba9f[_0x4e1372(0x43e)])({'optionId':_0xd896a9,'values':_0x41f4d3==='referenced'?_0x415080:_0xe30566});if(!_0xdb8f67['ok']){_0x5e2e0e(_0x1368d0[_0xdb8f67[_0x4e1372(0x3e6)][_0x4e1372(0x2e8)]]);return;}let _0x12e545={..._0x39a153,..._0x41f4d3===_0x4e1372(0x1cd)&&_0x6155e0?{'dataSource':_0x6155e0}:{},'context':{..._0xdb8f67[_0x4e1372(0x406)][_0x4e1372(0x31e)],..._0x39a153==null?void 0x0:_0x39a153[_0x4e1372(0x31e)]}},_0x475014=_0xdb8f67[_0x4e1372(0x406)][_0x4e1372(0x25d)]?{..._0x12e545,'style':{..._0x12e545==null?void 0x0:_0x12e545[_0x4e1372(0x25d)],'pie':{..._0x12e545==null||(_0x1b2ffc=_0x12e545[_0x4e1372(0x25d)])==null?void 0x0:_0x1b2ffc[_0x4e1372(0x3de)],..._0xdb8f67['plan'][_0x4e1372(0x25d)]['pie']}}}:_0x12e545,_0x37e3b1=_0x4a82f7[_0x4e1372(0x492)](_0xdb8f67['plan'][_0x4e1372(0x324)],_0xdb8f67[_0x4e1372(0x406)]['chartType'],_0x475014);if(!_0x37e3b1){_0x5e2e0e(_0x5e6a1d['t'](_0x4e1372(0x363)));return;}_0x5e2e0e(null),_0x3c87c7==null||_0x3c87c7(_0x37e3b1);},'children':_0x5e6a1d['t'](_0x5327da(0x230))})]})]});}let _0x4be4e2=_0x2c9ee4(0x422),_0x3ddb96={},_0x1dc157=_0x2c9ee4(0x442),_0x186c71=class extends _0x3811f3[_0x2c9ee4(0x277)]{constructor(_0x42e595,_0x23a79d,_0x23e6f7){const _0xee8d7=_0x2c9ee4;super(),this[_0xee8d7(0x36a)]=_0x42e595,this['_pasteAdapterService']=_0x23a79d,this[_0xee8d7(0x311)]=_0x23e6f7,this[_0xee8d7(0x3db)]();}[_0x2c9ee4(0x3db)](){const _0x3d91a7=_0x2c9ee4;this[_0x3d91a7(0x1d0)](this[_0x3d91a7(0x36a)][_0x3d91a7(0x257)]({'onCopyDocData':(_0x303d06,_0x242a9a)=>this['_appendChartResources'](_0x303d06,_0x242a9a[_0x3d91a7(0x44c)])})),this['disposeWithMe'](this[_0x3d91a7(0x200)]['registerAdapter']({'getPasteMutationInfos':_0x21e4f7=>this[_0x3d91a7(0x2c9)](_0x21e4f7)}));}[_0x2c9ee4(0x37d)](_0x35bf63,_0xd572e4){const _0x358543=_0x2c9ee4;var _0x411cd0;let _0x165501=(_0x411cd0=_0xd572e4[0x0])==null?void 0x0:_0x411cd0['id'];if(!_0x165501)return _0x35bf63;let _0x22c1ba=Object[_0x358543(0x324)](_0x35bf63['drawings']??{})[_0x358543(0x255)](_0x363d29=>this[_0x358543(0x388)](_0x363d29));if(_0x22c1ba[_0x358543(0x3f8)]===0x0)return _0x35bf63;let _0x39b8bb={'version':_0x10d771[_0x358543(0x45d)],'dataSources':{},'charts':{}};return _0x22c1ba[_0x358543(0x26e)](_0x58e4d2=>{const _0xf44fac=_0x358543;let _0x4a6920=this[_0xf44fac(0x311)]['getChart'](_0x165501,_0x58e4d2[_0xf44fac(0x240)]);if(!_0x4a6920)return;let _0xcce67f=this[_0xf44fac(0x311)][_0xf44fac(0x414)](_0x165501,_0x4a6920['dataSourceId']);_0xcce67f&&(_0x39b8bb[_0xf44fac(0x2ee)][_0x4a6920['id']]=_0x3811f3[_0xf44fac(0x3a0)][_0xf44fac(0x3bd)](_0x4a6920),_0x39b8bb[_0xf44fac(0x329)][_0xcce67f['id']]=_0xcce67f);}),Object[_0x358543(0x3fe)](_0x39b8bb['charts'])[_0x358543(0x3f8)]===0x0?_0x35bf63:{..._0x35bf63,[_0x1dc157]:_0x39b8bb};}[_0x2c9ee4(0x2c9)](_0x2d0060){const _0x301ae3=_0x2c9ee4;let _0x1712d5=_0x2d0060[_0x301ae3(0x307)][_0x1dc157];if(!_0x1712d5)return{'redoMutations':[],'undoMutations':[]};let _0x2774fa=new Map(),_0x337ad6=[],_0x4779c6=[],_0x9ed7a4=[],_0x122da2=[];return _0x2d0060[_0x301ae3(0x4d3)][_0x301ae3(0x26e)](_0x2817bd=>{const _0x57225f=_0x301ae3;if(!this['_isDocChartDrawing'](_0x2817bd['sourceDrawing'])||!this[_0x57225f(0x388)](_0x2817bd[_0x57225f(0x3af)]))return;let _0x1dde35=_0x1712d5[_0x57225f(0x2ee)][_0x2817bd[_0x57225f(0x33d)][_0x57225f(0x240)]];if(!_0x1dde35)return;let _0x24c0a2=_0x1712d5[_0x57225f(0x329)][_0x1dde35[_0x57225f(0x229)]];if(!_0x24c0a2)return;let _0x462fe1=this[_0x57225f(0x2ff)](_0x2d0060['unitId'],_0x24c0a2,_0x2774fa,_0x337ad6,_0x4779c6),_0x12d602=(0x0,_0x3811f3[_0x57225f(0x2b5)])(),_0xc71a60={..._0x1dde35,'id':_0x12d602,'dataSourceId':_0x462fe1};_0x2817bd[_0x57225f(0x3af)][_0x57225f(0x240)]=_0x12d602,_0x9ed7a4[_0x57225f(0x372)]({'id':_0x2d4ecf[_0x57225f(0x1e1)]['id'],'params':{'unitId':_0x2d0060['unitId'],'chart':_0xc71a60}}),_0x122da2[_0x57225f(0x372)]({'id':_0x2d4ecf[_0x57225f(0x2ab)]['id'],'params':{'unitId':_0x2d0060[_0x57225f(0x370)],'chartId':_0x12d602}});}),{'redoMutations':[..._0x337ad6,..._0x9ed7a4],'undoMutations':[..._0x122da2,..._0x4779c6]};}[_0x2c9ee4(0x2ff)](_0x1de059,_0x260ae4,_0x2ba42a,_0x31c3c3,_0x2cced0){const _0x2342f1=_0x2c9ee4;let _0x4ec131=_0x2ba42a[_0x2342f1(0x315)](_0x260ae4['id']);if(_0x4ec131)return _0x4ec131;let _0x140cdc=(0x0,_0x3811f3[_0x2342f1(0x2b5)])();return _0x2ba42a[_0x2342f1(0x202)](_0x260ae4['id'],_0x140cdc),_0x31c3c3['push']({'id':_0x2d4ecf[_0x2342f1(0x1e8)]['id'],'params':{'unitId':_0x1de059,'dataSource':{..._0x260ae4,'id':_0x140cdc}}}),_0x2cced0[_0x2342f1(0x372)]({'id':_0x2d4ecf[_0x2342f1(0x20f)]['id'],'params':{'unitId':_0x1de059,'dataSourceId':_0x140cdc}}),_0x140cdc;}[_0x2c9ee4(0x388)](_0x2311e8){const _0x238338=_0x2c9ee4;let _0x19479f=_0x2311e8;return(_0x19479f==null?void 0x0:_0x19479f[_0x238338(0x237)])===_0x3811f3[_0x238338(0x4a6)][_0x238338(0x4d9)]&&typeof _0x19479f[_0x238338(0x240)]==_0x238338(0x366);}};_0x186c71=_0x58c753([_0x492bb2(0x0,(0x0,_0x3811f3['Inject'])(_0x39ab44[_0x2c9ee4(0x29a)])),_0x492bb2(0x1,(0x0,_0x3811f3[_0x2c9ee4(0x33e)])(_0x39ab44['IDocClipboardPasteAdapterService'])),_0x492bb2(0x2,(0x0,_0x3811f3[_0x2c9ee4(0x33e)])(_0x10d771[_0x2c9ee4(0x248)]))],_0x186c71);let _0x277872=class extends _0x3811f3[_0x2c9ee4(0x277)]{constructor(_0x4bcd71,_0x5d3b04,_0x3ef8b1,_0x49b41b){const _0x46dbca=_0x2c9ee4;super(),this[_0x46dbca(0x1e0)]=_0x4bcd71,this[_0x46dbca(0x294)]=_0x5d3b04,this[_0x46dbca(0x311)]=_0x3ef8b1,this[_0x46dbca(0x25f)]=_0x49b41b,this[_0x46dbca(0x28d)]();}['_initAdapter'](){const _0x3dda66=_0x2c9ee4;this[_0x3dda66(0x1d0)](this[_0x3dda66(0x1e0)][_0x3dda66(0x212)]({'getEditDrawingCommandInfo':({unitId:_0x400d81,drawing:_0x573334})=>{const _0x4d25b1=_0x3dda66;let _0x52380b=_0x55d471(_0x573334);return _0x52380b?{'label':this['_localeService']['t'](_0x4d25b1(0x3bb)),'commandId':_0x76fe7['id'],'commandParams':{'unitId':_0x400d81,'chartId':_0x52380b[_0x4d25b1(0x240)],'drawingId':_0x52380b['drawingId']}}:null;}})),this[_0x3dda66(0x1d0)](this['_floatingToolbarAdapterService']['registerAdapter']({'getItems':({unitId:_0x18fbea,subUnitId:_0x7cbfa9,drawing:_0x4844e9})=>{const _0x576bc5=_0x3dda66;var _0x5a2d84;let _0x1bbffb=_0x55d471(_0x4844e9);if(!_0x1bbffb)return null;let _0xa72bd2=this[_0x576bc5(0x311)][_0x576bc5(0x30a)](_0x18fbea,_0x1bbffb[_0x576bc5(0x240)]),_0x1b29d4=(_0xa72bd2==null?void 0x0:_0xa72bd2[_0x576bc5(0x24e)])??_0x10d771[_0x576bc5(0x321)][_0x576bc5(0x2d8)],_0x596106=_0x28ba9f[_0x576bc5(0x4c2)][_0x576bc5(0x4ca)](_0x6d3a00=>({'value':'id'in _0x6d3a00?_0x6d3a00['id']:String(_0x6d3a00['value']),'chartType':_0x6d3a00[_0x576bc5(0x3f7)],..._0x576bc5(0x37b)in _0x6d3a00?{'pieSecondaryPlotType':_0x6d3a00['pieSecondaryPlotType']}:{},'icon':_0x6d3a00[_0x576bc5(0x3f3)],'label':this['_localeService']['t'](_0x576bc5(0x447)+_0x6d3a00[_0x576bc5(0x20c)])})),_0x52c48c=(0x0,_0x28ba9f['resolveChartTypeFieldValue'])(_0x1b29d4,_0xa72bd2==null||(_0x5a2d84=_0xa72bd2[_0x576bc5(0x25d)])==null?void 0x0:_0x5a2d84[_0x576bc5(0x3de)],_0x596106);return[{'type':'select','label':this[_0x576bc5(0x25f)]['t'](_0x576bc5(0x4bd)),'index':0x0,'commandId':_0x2d4ecf[_0x576bc5(0x3bf)]['id'],'commandParamsFactory':_0x174e8d=>{const _0x5aaa3b=_0x576bc5;var _0x4158f0,_0x2f1c66;let _0x29fe4b=_0x596106[_0x5aaa3b(0x3e1)](_0x3f4f96=>_0x3f4f96[_0x5aaa3b(0x3f7)]===_0x174e8d),_0xccc061=(_0x29fe4b==null?void 0x0:_0x29fe4b[_0x5aaa3b(0x24e)])??Number(_0x174e8d),_0x56acdb=_0xa72bd2==null||(_0x4158f0=_0xa72bd2[_0x5aaa3b(0x25d)])==null||(_0x4158f0=_0x4158f0[_0x5aaa3b(0x3de)])==null?void 0x0:_0x4158f0['composite'],_0x513435=(_0xccc061===_0x10d771['ChartTypeBits'][_0x5aaa3b(0x29f)]||_0xccc061===_0x10d771['ChartTypeBits'][_0x5aaa3b(0x41b)])&&typeof(_0xa72bd2==null||(_0x2f1c66=_0xa72bd2['style'])==null||(_0x2f1c66=_0x2f1c66[_0x5aaa3b(0x3de)])==null?void 0x0:_0x2f1c66[_0x5aaa3b(0x367)])==_0x5aaa3b(0x288),_0x4d9ad5=_0x513435?{'doughnutHole':null}:{},_0x31afc2={'unitId':_0x18fbea,'chartId':_0x1bbffb[_0x5aaa3b(0x240)],'chartType':_0xccc061};if(_0x29fe4b!=null&&_0x29fe4b['pieSecondaryPlotType']){var _0x4ed0e6;return{..._0x31afc2,'style':{..._0xa72bd2==null?void 0x0:_0xa72bd2[_0x5aaa3b(0x25d)],'pie':{..._0xa72bd2==null||(_0x4ed0e6=_0xa72bd2[_0x5aaa3b(0x25d)])==null?void 0x0:_0x4ed0e6[_0x5aaa3b(0x3de)],..._0x4d9ad5,'composite':{..._0x56acdb,'enabled':!0x0,'secondaryPlot':{..._0x56acdb==null?void 0x0:_0x56acdb[_0x5aaa3b(0x4fd)],'type':_0x29fe4b[_0x5aaa3b(0x37b)]}}}}};}if(_0xccc061===_0x10d771['ChartTypeBits'][_0x5aaa3b(0x29f)]&&_0x56acdb){var _0xb94e4e;return{..._0x31afc2,'style':{..._0xa72bd2==null?void 0x0:_0xa72bd2[_0x5aaa3b(0x25d)],'pie':{..._0xa72bd2==null||(_0xb94e4e=_0xa72bd2[_0x5aaa3b(0x25d)])==null?void 0x0:_0xb94e4e[_0x5aaa3b(0x3de)],..._0x4d9ad5,'composite':{..._0x56acdb,'enabled':!0x1}}}};}return _0x513435?{..._0x31afc2,'style':{'pie':_0x4d9ad5}}:_0x31afc2;},'disable':!_0xa72bd2,'value':_0x52c48c,'options':_0x596106},{'type':_0x576bc5(0x285),'label':this[_0x576bc5(0x25f)]['t']('docs-chart-ui.common.editChart'),'index':0x1,'commandId':_0x76fe7['id'],'commandParams':{'unitId':_0x18fbea,'chartId':_0x1bbffb[_0x576bc5(0x240)],'drawingId':_0x1bbffb[_0x576bc5(0x42a)]},'disable':!0x1,'icon':_0x576bc5(0x3ff)},{'type':_0x576bc5(0x285),'label':this[_0x576bc5(0x25f)]['t'](_0x576bc5(0x347)),'index':0x2,'commandId':_0x3e994e[_0x576bc5(0x433)]['id'],'commandParams':{'unitId':_0x18fbea,'drawings':[{'unitId':_0x18fbea,'subUnitId':_0x7cbfa9,'drawingId':_0x1bbffb[_0x576bc5(0x42a)]}]},'disable':!0x1,'icon':'DrawingDeleteIcon'}];}}));}};_0x277872=_0x58c753([_0x492bb2(0x0,_0x3e994e[_0x2c9ee4(0x4be)]),_0x492bb2(0x1,(0x0,_0x3811f3[_0x2c9ee4(0x33e)])(_0x530b3f['DocDrawingFloatingToolbarAdapterService'])),_0x492bb2(0x2,(0x0,_0x3811f3[_0x2c9ee4(0x33e)])(_0x10d771[_0x2c9ee4(0x248)])),_0x492bb2(0x3,(0x0,_0x3811f3[_0x2c9ee4(0x33e)])(_0x3811f3[_0x2c9ee4(0x312)]))],_0x277872);function _0x55d471(_0x319de3){const _0x2a1f61=_0x2c9ee4;let _0x28ccb4=_0x319de3;return(_0x28ccb4==null?void 0x0:_0x28ccb4[_0x2a1f61(0x237)])===_0x3811f3['DrawingTypeEnum'][_0x2a1f61(0x4d9)]&&typeof _0x28ccb4[_0x2a1f61(0x240)]==_0x2a1f61(0x366)?_0x28ccb4:null;}let _0x22a0b8=(0x0,_0x3811f3[_0x2c9ee4(0x215)])(_0x2c9ee4(0x457));var _0x35b0a0=class{constructor(_0x24338d,_0x4cb7c4){const _0x8ef6=_0x2c9ee4;this[_0x8ef6(0x35b)]=_0x24338d,this[_0x8ef6(0x2f6)]=_0x4cb7c4;}async[_0x2c9ee4(0x478)](_0x26167f,_0x3e916e){const _0xf889e6=_0x2c9ee4;if(typeof document>'u')throw TypeError(_0xf889e6(0x35a));let {chartConfig:_0x56e3fc,chartStyle:_0x34dba3}=this[_0xf889e6(0x35b)]['createRenderInput'](_0x3e916e);if(_0x26167f[_0xf889e6(0x325)]===_0x10d771[_0xf889e6(0x276)][_0xf889e6(0x3ce)])return(await this['_renderModelManager'][_0xf889e6(0x4ec)]({'chartId':_0x3e916e['chartId'],'config':_0x56e3fc,'style':_0x34dba3,'width':_0x26167f[_0xf889e6(0x273)],'height':_0x26167f['height']},{'format':_0x26167f[_0xf889e6(0x325)]}))[_0xf889e6(0x2ad)];let _0x3a25dc=new _0x10d771['DataUrlImageChartHost'](_0x3e916e[_0xf889e6(0x240)],{'width':_0x26167f['width'],'height':_0x26167f[_0xf889e6(0x217)]}),_0x26327c=this[_0xf889e6(0x35b)]['createChartInstance'](_0x10d771[_0xf889e6(0x1ec)][_0xf889e6(0x37a)]);try{_0x26327c[_0xf889e6(0x3c8)](_0x3a25dc),await _0x26327c['render']({'chartId':_0x3e916e[_0xf889e6(0x240)],'config':_0x56e3fc,'style':_0x34dba3});let _0x4f76fd=_0x3a25dc[_0xf889e6(0x449)]();if(!_0x4f76fd)throw Error(_0xf889e6(0x401)+_0x3e916e[_0xf889e6(0x370)]+'/'+_0x3e916e[_0xf889e6(0x240)]);return _0x4f76fd;}finally{_0x26327c[_0xf889e6(0x247)](),_0x3a25dc['dispose']();}}};let _0x2927d8=class extends _0x28ba9f[_0x2c9ee4(0x498)]{constructor(_0x2c3795,_0x4babe1,_0x37f680,_0x30cd74,_0x295126){super(_0x2c3795,_0x4babe1,_0x295126??new _0x35b0a0(_0x37f680,_0x30cd74));}[_0x2c9ee4(0x463)](_0x4e9f35){const _0x14d7ef=_0x2c9ee4;let _0x19b0c3=super[_0x14d7ef(0x463)](_0x4e9f35);return _0x4e9f35[_0x14d7ef(0x325)]===_0x10d771[_0x14d7ef(0x276)]['SVG']?_0x19b0c3+'::'+_0x4e9f35[_0x14d7ef(0x325)]:_0x19b0c3;}};_0x2927d8=_0x58c753([_0x492bb2(0x0,(0x0,_0x3811f3[_0x2c9ee4(0x33e)])(_0x3811f3[_0x2c9ee4(0x312)])),_0x492bb2(0x1,(0x0,_0x3811f3[_0x2c9ee4(0x33e)])(_0x2d4ecf['DocChartModelService'])),_0x492bb2(0x2,(0x0,_0x3811f3[_0x2c9ee4(0x33e)])(_0x4423c2)),_0x492bb2(0x3,_0x10d771[_0x2c9ee4(0x227)]),_0x492bb2(0x4,(0x0,_0x3811f3[_0x2c9ee4(0x284)])(_0x22a0b8))],_0x2927d8);let _0x6516ba=class extends _0x3811f3[_0x2c9ee4(0x277)]{constructor(_0x2f3bb6,_0x397d63){const _0x1cf2b5=_0x2c9ee4;super(),this[_0x1cf2b5(0x1dd)]=_0x2f3bb6,this[_0x1cf2b5(0x2a1)]=_0x397d63,_0x5e43a2(this,_0x1cf2b5(0x3fd),new Map()),this[_0x1cf2b5(0x396)]();}[_0x2c9ee4(0x396)](){const _0x374aca=_0x2c9ee4;this['disposeWithMe'](this[_0x374aca(0x2a1)][_0x374aca(0x4ae)][_0x374aca(0x458)](_0x4bd371=>this[_0x374aca(0x398)](_0x4bd371))),this[_0x374aca(0x1d0)](this['_modelService'][_0x374aca(0x2af)][_0x374aca(0x458)](_0x41b952=>this[_0x374aca(0x469)](_0x41b952))),this[_0x374aca(0x1d0)]((0x0,_0x3811f3[_0x374aca(0x354)])(()=>{const _0x4d89e8=_0x374aca;this[_0x4d89e8(0x3fd)][_0x4d89e8(0x26e)](({subscription:_0x11fbca})=>_0x11fbca[_0x4d89e8(0x466)]()),this['_runtimeStateSubscriptions'][_0x4d89e8(0x4b0)]();}));}[_0x2c9ee4(0x398)](_0x3ba9af){const _0x1575f5=_0x2c9ee4;if(this['_runtimeStateSubscriptions']['has'](_0x3ba9af))return;let _0x4861f8=_0x3ba9af[_0x1575f5(0x379)][_0x1575f5(0x211)]==null?0x0:0x1,_0x3c52c6=(0x0,_0x244a93[_0x1575f5(0x387)])([_0x3ba9af['model'][_0x1575f5(0x25b)][_0x1575f5(0x4b1)]((0x0,_0x244a93[_0x1575f5(0x255)])(_0x2af93c=>_0x2af93c!=null)),_0x3ba9af[_0x1575f5(0x379)][_0x1575f5(0x477)]])[_0x1575f5(0x4b1)]((0x0,_0x244a93['skip'])(_0x4861f8),(0x0,_0x244a93[_0x1575f5(0x1fe)])(0x0))[_0x1575f5(0x458)](()=>this[_0x1575f5(0x1dd)][_0x1575f5(0x1f2)](_0x3ba9af[_0x1575f5(0x370)],_0x3ba9af[_0x1575f5(0x240)]));this['_runtimeStateSubscriptions'][_0x1575f5(0x202)](_0x3ba9af,{'subscription':_0x3c52c6});}[_0x2c9ee4(0x469)](_0x1467bd){const _0x58053f=_0x2c9ee4;var _0xcf176f;(_0xcf176f=this[_0x58053f(0x3fd)]['get'](_0x1467bd))==null||_0xcf176f[_0x58053f(0x348)][_0x58053f(0x466)](),this[_0x58053f(0x3fd)][_0x58053f(0x47c)](_0x1467bd);}};_0x6516ba=_0x58c753([_0x492bb2(0x0,(0x0,_0x3811f3[_0x2c9ee4(0x33e)])(_0x2927d8)),_0x492bb2(0x1,(0x0,_0x3811f3['Inject'])(_0x2d4ecf[_0x2c9ee4(0x23a)]))],_0x6516ba);let _0x694caf=_0x5637e0['id'],_0x2f25e7=_0x694caf+_0x2c9ee4(0x369);function _0x5bd49c(_0x5d9935){const _0x4f10cf=_0x2c9ee4;return(0x0,_0x244a93[_0x4f10cf(0x387)])([(0x0,_0x39ab44[_0x4f10cf(0x3a9)])(_0x5d9935),_0x32c73d(_0x5d9935)])[_0x4f10cf(0x4b1)]((0x0,_0x244a93[_0x4f10cf(0x4ca)])(([_0x27213d,_0x45e0bb])=>_0x27213d||_0x45e0bb));}function _0x32c73d(_0x53a549){const _0x1965c0=_0x2c9ee4;let _0x48d734=_0x53a549[_0x1965c0(0x315)](_0x100932['DocSelectionManagerService']),_0x44ebfd=_0x53a549['get'](_0x3811f3[_0x1965c0(0x390)]);return new _0x244a93[(_0x1965c0(0x272))](_0x12416a=>{const _0x91c16d=_0x1965c0;let _0xcd5276=_0x2fd997=>{const _0x4e1859=_0x3b85;let _0x334013=_0x44ebfd[_0x4e1859(0x2d2)](_0x3811f3[_0x4e1859(0x450)][_0x4e1859(0x1ed)]);if(!_0x334013){_0x12416a[_0x4e1859(0x207)](!0x0);return;}let _0x5bb426=_0x334013[_0x4e1859(0x236)](),_0x3bb7e7=(_0x2fd997==null?void 0x0:_0x2fd997[_0x4e1859(0x370)])===_0x5bb426?_0x2fd997[_0x4e1859(0x33b)]??[]:[..._0x48d734[_0x4e1859(0x4b3)]({'unitId':_0x5bb426,'subUnitId':_0x5bb426})??[]];if(_0x3bb7e7[_0x4e1859(0x3f8)]!==0x1){_0x12416a[_0x4e1859(0x207)](!0x0);return;}let _0x2cb8f6=_0x3bb7e7[_0x4e1859(0x3e1)](_0x5c9752=>_0x5c9752['isActive'])??_0x3bb7e7[0x0];if(!_0x2cb8f6||!_0x2cb8f6[_0x4e1859(0x44f)]||_0x2cb8f6[_0x4e1859(0x1e2)]==null){_0x12416a['next'](!0x0);return;}let _0x5de2ca=_0x11935b(_0x334013,{..._0x2cb8f6,'segmentId':_0x2cb8f6[_0x4e1859(0x2ea)]??(_0x2fd997==null?void 0x0:_0x2fd997[_0x4e1859(0x2ea)])??''});_0x12416a[_0x4e1859(0x207)](_0x5de2ca==null);};_0xcd5276();let _0x4ed230=_0x48d734[_0x91c16d(0x2b8)][_0x91c16d(0x458)](_0x28ad1e=>_0xcd5276(_0x28ad1e));return()=>_0x4ed230['unsubscribe']();});}function _0x42c7cf(_0x2c3cd3){return _0x28f528(_0x2c3cd3);}function _0x28f528(_0xb7d982){const _0x9d8dbe=_0x2c9ee4;let _0x492cd2=_0xb7d982['get'](_0x3811f3[_0x9d8dbe(0x312)])['t']('docs-chart-ui.common.insertChart');return{'id':_0x694caf,'commandId':_0x5637e0['id'],'type':_0x212387[_0x9d8dbe(0x4d1)][_0x9d8dbe(0x40d)],'icon':_0x9d8dbe(0x320),'title':_0x492cd2,'tooltip':_0x492cd2,'disabled$':_0x5bd49c(_0xb7d982),'hidden$':(0x0,_0x212387['getMenuHiddenObservable'])(_0xb7d982,_0x3811f3[_0x9d8dbe(0x450)]['UNIVER_DOC'])};}function _0x268a25(_0x105dbb){const _0x5740d4=_0x2c9ee4;let _0x53e3be=_0x105dbb['get'](_0x3811f3[_0x5740d4(0x312)])['t'](_0x5740d4(0x309));return{'id':_0x2f25e7,'commandId':_0x5637e0['id'],'type':_0x212387[_0x5740d4(0x4d1)]['BUTTON'],'icon':_0x5740d4(0x320),'title':_0x53e3be,'tooltip':_0x53e3be,'disabled$':_0x5bd49c(_0x105dbb),'hidden$':(0x0,_0x212387[_0x5740d4(0x359)])(_0x105dbb,_0x3811f3[_0x5740d4(0x450)][_0x5740d4(0x1ed)])};}let _0x46031f={[_0x212387['RibbonInsertGroup'][_0x2c9ee4(0x430)]]:{[_0x694caf]:{'order':2.5,'gridLayout':{'row':0x2,'column':0x4},'menuItemFactory':_0x42c7cf}},[_0x212387['ContextMenuPosition'][_0x2c9ee4(0x36e)]]:{[_0x212387[_0x2c9ee4(0x1fd)][_0x2c9ee4(0x287)]]:{[_0x39ab44[_0x2c9ee4(0x2e6)]]:{[_0x694caf]:{'order':4.5,'menuItemFactory':_0x28f528}}},[_0x39ab44['EMPTY_PARAGRAPH_MENU_ID']]:{[_0x212387[_0x2c9ee4(0x1fd)]['LAYOUT']]:{[_0x694caf]:{'order':5.5,'menuItemFactory':_0x28f528}}},[_0x39ab44[_0x2c9ee4(0x4a3)]]:{[_0x212387['ContextMenuGroup']['LAYOUT']]:{[_0x694caf]:{'order':4.5,'menuItemFactory':_0x28f528}}},[_0x39ab44[_0x2c9ee4(0x2d3)]]:{'insert':{[_0x694caf]:{'order':1.5,'menuItemFactory':_0x28f528}}},[_0x39ab44[_0x2c9ee4(0x275)]]:{'insert':{[_0x2f25e7]:{'order':1.5,'menuItemFactory':_0x268a25}}}}};var _0x4e2369=_0x2c9ee4(0x464),_0x12a4c9=_0x2c9ee4(0x29e),_0x478f56=class extends _0x1d3927[_0x2c9ee4(0x37a)]{constructor(..._0x4fb364){const _0x275147=_0x2c9ee4;super(..._0x4fb364),_0x5e43a2(this,_0x275147(0x355),!0x1);}get['imageContentHidden'](){const _0x5e93cf=_0x2c9ee4;return this[_0x5e93cf(0x355)];}[_0x2c9ee4(0x358)](_0x1fd9c0){const _0x3d7a0a=_0x2c9ee4;this[_0x3d7a0a(0x355)]!==_0x1fd9c0&&(this[_0x3d7a0a(0x355)]=_0x1fd9c0,this[_0x3d7a0a(0x243)](!0x0));}[_0x2c9ee4(0x233)](_0x5715b1,_0x1240fc,_0x35b246,_0x34fe49){const _0x2909da=_0x2c9ee4;this[_0x2909da(0x355)]||super[_0x2909da(0x233)](_0x5715b1,_0x1240fc,_0x35b246,_0x34fe49);}};let _0x227758={..._0x1d3927[_0x2c9ee4(0x3b5)],'rotateEnabled':!0x1,'keepRatio':!0x1,'moveBoundaryEnabled':!0x1},_0x208aa3=class extends _0x3811f3[_0x2c9ee4(0x277)]{constructor(_0x24f5ac,_0x520b56,_0x1749d8){const _0x393845=_0x2c9ee4;super(),this['_drawingManagerService']=_0x24f5ac,this[_0x393845(0x2b7)]=_0x520b56,this['_snapshotRenderService']=_0x1749d8,_0x5e43a2(this,'_activeDomReadyDrawingKeys',new Set()),this[_0x393845(0x218)]();}[_0x2c9ee4(0x25a)](_0x4dc258,_0x1f2d7b){const _0x2a1629=_0x2c9ee4;let _0x2ae9d4=(0x0,_0x1cc938[_0x2a1629(0x489)])(_0x4dc258);_0x1f2d7b?this[_0x2a1629(0x49d)]['add'](_0x2ae9d4):this[_0x2a1629(0x49d)][_0x2a1629(0x47c)](_0x2ae9d4),this[_0x2a1629(0x241)](_0x4dc258);}[_0x2c9ee4(0x218)](){const _0x3ecafd=_0x2c9ee4;this[_0x3ecafd(0x1d0)](this[_0x3ecafd(0x295)][_0x3ecafd(0x3f4)][_0x3ecafd(0x458)](_0x4ec100=>{const _0x6223f2=_0x3ecafd;this[_0x6223f2(0x234)](_0x4ec100);})),this[_0x3ecafd(0x1d0)](this[_0x3ecafd(0x295)][_0x3ecafd(0x3ec)][_0x3ecafd(0x458)](_0x1bb527=>{const _0x2fec43=_0x3ecafd;this[_0x2fec43(0x234)](_0x1bb527);})),this[_0x3ecafd(0x1d0)](this[_0x3ecafd(0x295)]['remove$']['subscribe'](_0x121cad=>{const _0x19d8b3=_0x3ecafd;this[_0x19d8b3(0x20a)](_0x121cad);})),this[_0x3ecafd(0x1d0)](this[_0x3ecafd(0x26a)]['chartInvalidated$']['subscribe'](({unitId:_0x1c1a0f,chartId:_0x886c37})=>{const _0x506c94=_0x3ecafd;this[_0x506c94(0x4c7)](_0x1c1a0f,_0x886c37);})),this[_0x3ecafd(0x1d0)](this['_snapshotRenderService'][_0x3ecafd(0x1c1)][_0x3ecafd(0x458)](_0x36fa56=>{const _0xb969c0=_0x3ecafd;if(_0x36fa56[_0xb969c0(0x2db)]!==_0xb969c0(0x3ef)||!_0x36fa56[_0xb969c0(0x2ad)])return;let [_0x51cb7b,_0x149108]=_0x36fa56['key'][_0xb969c0(0x4f5)]('::');_0x51cb7b&&_0x149108&&this[_0xb969c0(0x44d)](_0x51cb7b,_0x149108,_0x36fa56[_0xb969c0(0x2ad)]);}));}['_requestSnapshotsForSearches'](_0x2234c9){const _0x17790=_0x2c9ee4;_0x2234c9[_0x17790(0x26e)](_0x55f5c1=>{const _0x4c87ab=_0x17790;let _0x491b5d=this[_0x4c87ab(0x4f2)](_0x55f5c1);_0x491b5d&&this['_requestSnapshot'](_0x491b5d);});}['_requestSnapshotsForUnit'](_0x4f40f2,_0x57a867){const _0x35f068=_0x2c9ee4;this[_0x35f068(0x3ab)](_0x4f40f2,_0xd82747=>{const _0x40bbf1=_0x35f068;(_0x57a867==null||_0xd82747[_0x40bbf1(0x240)]===_0x57a867)&&this['_requestSnapshot'](_0xd82747);});}[_0x2c9ee4(0x22f)](_0x2e8270){const _0x3fa794=_0x2c9ee4;let _0x2a149e=this[_0x3fa794(0x223)](_0x2e8270);if(!_0x2a149e)return;let _0x5cd72d=this[_0x3fa794(0x26a)][_0x3fa794(0x274)]({'unitId':_0x2e8270[_0x3fa794(0x370)],'chartId':_0x2e8270[_0x3fa794(0x240)],'width':_0x2a149e[_0x3fa794(0x273)],'height':_0x2a149e[_0x3fa794(0x217)],'dpr':_0x10d771[_0x3fa794(0x4af)],'mode':_0x3fa794(0x3e7)});_0x5cd72d[_0x3fa794(0x2db)]==='ready'&&_0x5cd72d['dataUrl']&&this[_0x3fa794(0x460)](_0x2e8270,_0x5cd72d['dataUrl']);}[_0x2c9ee4(0x44d)](_0x33c34d,_0xfa6bac,_0x50bfcd){const _0x4d46ce=_0x2c9ee4;this[_0x4d46ce(0x3ab)](_0x33c34d,_0x3130c7=>{const _0x4566da=_0x4d46ce;_0x3130c7[_0x4566da(0x240)]===_0xfa6bac&&this['_renderDrawing'](_0x3130c7,_0x50bfcd);});}[_0x2c9ee4(0x460)](_0x532808,_0x415b8f){const _0x18dc0b=_0x2c9ee4;let _0x4cdca8=this[_0x18dc0b(0x2b7)][_0x18dc0b(0x23e)](_0x532808[_0x18dc0b(0x370)]),_0xfc5a6e=_0x4cdca8==null?void 0x0:_0x4cdca8['scene'];if(!_0xfc5a6e||!this[_0x18dc0b(0x223)](_0x532808))return;let _0x2cd3eb=(0x0,_0x1cc938[_0x18dc0b(0x489)])(_0x532808),_0x4a3a27=_0xfc5a6e[_0x18dc0b(0x40b)](_0x2cd3eb);if(_0x4a3a27!=null&&_0x4a3a27[_0x18dc0b(0x446)]){var _0x6126ae,_0x331720,_0x14376e,_0x1ffbba;_0x4a3a27['transformerConfig']={..._0x4a3a27['transformerConfig'],..._0x227758},(_0x6126ae=_0x4a3a27[_0x18dc0b(0x40c)])==null||(_0x6126ae=_0x6126ae[_0x18dc0b(0x222)](_0x4a3a27))==null||_0x6126ae[_0x18dc0b(0x1e5)](_0x18dc0b(0x333),()=>{const _0x52de2c=_0x18dc0b;var _0x5672ce;(_0x5672ce=_0x4a3a27[_0x52de2c(0x243)])==null||_0x5672ce['call'](_0x4a3a27,!0x0),_0xfc5a6e[_0x52de2c(0x243)](!0x0),_0xfc5a6e['requestRender']()[_0x52de2c(0x27a)](()=>{});},{'once':!0x0}),_0x4a3a27[_0x18dc0b(0x446)](_0x415b8f);let {clipBounds:_0x5df5f7,..._0x4dec92}=_0x532808[_0x18dc0b(0x413)]??{};(_0x331720=_0x4a3a27[_0x18dc0b(0x328)])==null||_0x331720['call'](_0x4a3a27,_0x4dec92),(_0x14376e=_0x4a3a27[_0x18dc0b(0x4d0)])==null||_0x14376e[_0x18dc0b(0x222)](_0x4a3a27,_0x5df5f7),this[_0x18dc0b(0x49c)](_0x4a3a27,_0x532808,_0x2cd3eb),(_0x1ffbba=_0x4a3a27[_0x18dc0b(0x243)])==null||_0x1ffbba['call'](_0x4a3a27,!0x0),_0xfc5a6e[_0x18dc0b(0x243)](!0x0);return;}this['_createImageShape'](_0x532808,_0x415b8f,_0xfc5a6e,_0x2cd3eb);}[_0x2c9ee4(0x48c)](_0x3121b0,_0xee0811,_0x5a1fd0,_0x3075dd){const _0x41b7b2=_0x2c9ee4;let _0x551b67=_0x3121b0[_0x41b7b2(0x413)];if(!_0x551b67)return;let _0x4a32fd=this[_0x41b7b2(0x295)][_0x41b7b2(0x1f7)](_0x3121b0[_0x41b7b2(0x370)],_0x3121b0['subUnitId']),_0x2cbd25=_0x4a32fd['indexOf'](_0x3121b0['drawingId']),_0x55f7c1={..._0x551b67,'zIndex':_0x2cbd25===-0x1?_0x4a32fd[_0x41b7b2(0x3f8)]-0x1:_0x2cbd25,'clipBounds':_0x551b67['clipBounds'],'printable':!0x0,'rotateEnabled':!0x1,'transformerConfig':_0x227758,'url':_0xee0811};_0x3121b0[_0x41b7b2(0x1c4)]&&(_0x55f7c1[_0x41b7b2(0x382)]=!0x1);let _0x5d3b29=new _0x478f56(_0x3075dd,_0x55f7c1);_0x5d3b29[_0x41b7b2(0x358)](this[_0x41b7b2(0x49d)]['has'](_0x3075dd)),_0x5a1fd0[_0x41b7b2(0x4e2)](_0x5d3b29,_0x1d3927[_0x41b7b2(0x2a3)]),this[_0x41b7b2(0x295)]['getDrawingEditable']()&&_0x5a1fd0['attachTransformerTo'](_0x5d3b29);}[_0x2c9ee4(0x20a)](_0xad0fbc){const _0x40a80b=_0x2c9ee4;_0xad0fbc[_0x40a80b(0x26e)](_0x42d0b1=>{const _0x2c6be6=_0x40a80b;this[_0x2c6be6(0x49d)][_0x2c6be6(0x47c)]((0x0,_0x1cc938[_0x2c6be6(0x489)])(_0x42d0b1));let _0xf9e678=this['_renderManagerService']['getRenderUnitById'](_0x42d0b1[_0x2c6be6(0x370)]),_0x31a839=_0xf9e678==null?void 0x0:_0xf9e678[_0x2c6be6(0x1f0)];if(!_0x31a839)return;let _0x44a763=_0x31a839['getObjectIncludeInGroup']((0x0,_0x1cc938[_0x2c6be6(0x489)])(_0x42d0b1));_0x44a763&&_0x31a839['removeObject'](_0x44a763);});}[_0x2c9ee4(0x241)](_0x5a89f5){const _0x983015=_0x2c9ee4;let _0x932a96=this[_0x983015(0x2b7)][_0x983015(0x23e)](_0x5a89f5[_0x983015(0x370)]),_0x3cf623=_0x932a96==null?void 0x0:_0x932a96['scene'];if(!_0x3cf623)return;let _0x15fd7b=(0x0,_0x1cc938['getDrawingShapeKeyByDrawingSearch'])(_0x5a89f5),_0xeb6a9a=_0x3cf623['getObjectIncludeInGroup'](_0x15fd7b);if(!_0xeb6a9a)return;let _0x15b0c3=this[_0x983015(0x295)][_0x983015(0x488)](_0x5a89f5);this[_0x983015(0x49c)](_0xeb6a9a,_0x15b0c3,_0x15fd7b);}[_0x2c9ee4(0x49c)](_0x2871f8,_0x2b1a9a,_0x42ab23){const _0x57dc0f=_0x2c9ee4;var _0x2597f1,_0x3a2d84;let _0x1d574f=this['_activeDomReadyDrawingKeys'][_0x57dc0f(0x2b0)](_0x42ab23);if(_0x2871f8[_0x57dc0f(0x358)]){var _0x362ca0,_0x535ce9;_0x2871f8['setImageContentHidden'](_0x1d574f),(_0x2b1a9a==null?void 0x0:_0x2b1a9a['hidden'])===!0x0?(_0x362ca0=_0x2871f8[_0x57dc0f(0x42e)])==null||_0x362ca0[_0x57dc0f(0x222)](_0x2871f8):(_0x535ce9=_0x2871f8[_0x57dc0f(0x44b)])==null||_0x535ce9[_0x57dc0f(0x222)](_0x2871f8);return;}(_0x2b1a9a==null?void 0x0:_0x2b1a9a['hidden'])===!0x0?(_0x2597f1=_0x2871f8[_0x57dc0f(0x42e)])==null||_0x2597f1[_0x57dc0f(0x222)](_0x2871f8):(_0x3a2d84=_0x2871f8[_0x57dc0f(0x44b)])==null||_0x3a2d84[_0x57dc0f(0x222)](_0x2871f8);}[_0x2c9ee4(0x4f2)](_0x38e2a0){const _0x3277a8=_0x2c9ee4;let _0x3d2efd=this[_0x3277a8(0x295)]['getDrawingByParam'](_0x38e2a0);return _0x2317bb(_0x3d2efd)?_0x3d2efd:null;}[_0x2c9ee4(0x3ab)](_0x3865c1,_0x26507f){const _0x3040a9=_0x2c9ee4;let _0x4e7b9e=this[_0x3040a9(0x295)]['getDrawingDataForUnit'](_0x3865c1),_0x3a6942=_0x4e7b9e==null?void 0x0:_0x4e7b9e[_0x3865c1];_0x3a6942&&_0x3a6942[_0x3040a9(0x2fc)]['forEach'](_0x1a811b=>{const _0x3430a0=_0x3040a9;let _0x2ca950=_0x3a6942[_0x3430a0(0x455)][_0x1a811b];_0x2317bb(_0x2ca950)&&_0x26507f(_0x2ca950);});}[_0x2c9ee4(0x223)](_0x2593c8){const _0x103526=_0x2c9ee4;var _0x30fb73,_0x5f2f23,_0x1eddee,_0x517143;let _0x133e1c=((_0x30fb73=_0x2593c8[_0x103526(0x413)])==null?void 0x0:_0x30fb73[_0x103526(0x273)])??((_0x5f2f23=_0x2593c8[_0x103526(0x262)])==null||(_0x5f2f23=_0x5f2f23['size'])==null?void 0x0:_0x5f2f23[_0x103526(0x273)])??0x0,_0x3f105e=((_0x1eddee=_0x2593c8[_0x103526(0x413)])==null?void 0x0:_0x1eddee['height'])??((_0x517143=_0x2593c8[_0x103526(0x262)])==null||(_0x517143=_0x517143[_0x103526(0x39c)])==null?void 0x0:_0x517143[_0x103526(0x217)])??0x0;return _0x133e1c<=0x0||_0x3f105e<=0x0?null:{'width':Math[_0x103526(0x3c6)](0x1,Math['round'](_0x133e1c)),'height':Math['max'](0x1,Math[_0x103526(0x1ff)](_0x3f105e))};}};_0x208aa3=_0x58c753([_0x492bb2(0x0,_0x1cc938['IDrawingManagerService']),_0x492bb2(0x1,_0x1d3927[_0x2c9ee4(0x2a7)]),_0x492bb2(0x2,(0x0,_0x3811f3[_0x2c9ee4(0x33e)])(_0x2927d8))],_0x208aa3);function _0x2317bb(_0x49cf1e){const _0x36f55c=_0x2c9ee4;let _0x2b09b7=_0x49cf1e;return(_0x2b09b7==null?void 0x0:_0x2b09b7['drawingType'])===_0x3811f3[_0x36f55c(0x4a6)][_0x36f55c(0x4d9)]&&typeof _0x2b09b7[_0x36f55c(0x240)]=='string';}function _0x53b3b6(_0x1fae99){const _0x2a7776=_0x2c9ee4;return(0x0,_0xfc6bb1[_0x2a7776(0x3da)])(_0x28ba9f[_0x2a7776(0x2b3)],{'children':(0x0,_0xfc6bb1[_0x2a7776(0x3da)])(_0xc76323,{..._0x1fae99})});}function _0x556169(_0x54a493){const _0x4750f2=_0x2c9ee4;return(0x0,_0xfc6bb1[_0x4750f2(0x3da)])(_0x28ba9f['MobileChartEditorControls'],{'children':(0x0,_0xfc6bb1[_0x4750f2(0x3da)])(_0x1b106e,{..._0x54a493,'mobile':!0x0,'ProviderComponent':_0x28ba9f[_0x4750f2(0x203)]})});}function _0x3f805f(_0x1306c8){const _0x920f1a=_0x2c9ee4;return(0x0,_0xfc6bb1[_0x920f1a(0x3da)])(_0x28ba9f[_0x920f1a(0x2b3)],{'children':(0x0,_0xfc6bb1[_0x920f1a(0x3da)])(_0x5ac44e,{..._0x1306c8})});}function _0x30c6c7(_0x4281a6,_0x37b87b,_0x37faae=0x1,_0x10ed57=0x0){let {top:_0x34f4bf,left:_0x16af14,bottom:_0x182402,right:_0x38314c}=_0x4281a6,_0x40181b=_0x38314c-_0x16af14,_0x2a068f=_0x182402-_0x34f4bf,{viewportScrollX:_0x26acf8,viewportScrollY:_0x251c49}=_0x37b87b['getViewport'](_0x39ab44['VIEWPORT_KEY']['VIEW_MAIN']),{scaleX:_0x51c4d0,scaleY:_0x2185b3}=_0x37b87b['getAncestorScale'](),_0x5847be=(_0x16af14-_0x26acf8)*_0x51c4d0,_0x2f053e=(_0x34f4bf-_0x251c49)*_0x2185b3,_0x515e59=_0x40181b*_0x51c4d0,_0x45963b=_0x2a068f*_0x2185b3;return{'startX':_0x5847be,'startY':_0x2f053e,'endX':_0x5847be+_0x515e59,'endY':_0x2f053e+_0x45963b,'width':_0x515e59,'height':_0x45963b,'rotate':_0x10ed57,'absolute':{'left':!0x1,'top':!0x1},'opacity':_0x37faae};}function _0x5be96b(_0x14d818,_0xe5b7a8){const _0x2277eb=_0x2c9ee4;return _0x14d818[_0x2277eb(0x370)]===_0xe5b7a8[_0x2277eb(0x370)]&&(_0x14d818[_0x2277eb(0x3a2)]??_0x14d818[_0x2277eb(0x370)])===(_0xe5b7a8['subUnitId']??_0xe5b7a8[_0x2277eb(0x370)])&&_0x14d818[_0x2277eb(0x42a)]===_0xe5b7a8[_0x2277eb(0x42a)];}function _0xb0d20c(_0x496b95,_0x25e37f=0x0){const _0x6f35cd=_0x2c9ee4;return _0x496b95[_0x6f35cd(0x3e1)](_0x3c2005=>typeof _0x3c2005=='number'&&Number['isFinite'](_0x3c2005))??_0x25e37f;}function _0x27fae6(_0x1b97f6,_0x4bddf8){const _0x45bcbe=_0x2c9ee4;var _0x25e052,_0x46b37b,_0x409e30,_0x29e6dc,_0x26da4b,_0xa1ce61,_0x5e4046;let _0x255563=_0x4bddf8==null||(_0x25e052=_0x4bddf8[_0x45bcbe(0x205)])==null?void 0x0:_0x25e052[_0x45bcbe(0x222)](_0x4bddf8),_0x322685=_0xb0d20c([_0x255563==null?void 0x0:_0x255563[_0x45bcbe(0x273)],(_0x46b37b=_0x1b97f6[_0x45bcbe(0x413)])==null?void 0x0:_0x46b37b[_0x45bcbe(0x273)],(_0x409e30=_0x1b97f6[_0x45bcbe(0x262)])==null||(_0x409e30=_0x409e30['size'])==null?void 0x0:_0x409e30[_0x45bcbe(0x273)]]),_0x4f8883=_0xb0d20c([_0x255563==null?void 0x0:_0x255563['height'],(_0x29e6dc=_0x1b97f6[_0x45bcbe(0x413)])==null?void 0x0:_0x29e6dc[_0x45bcbe(0x217)],(_0x26da4b=_0x1b97f6[_0x45bcbe(0x262)])==null||(_0x26da4b=_0x26da4b[_0x45bcbe(0x39c)])==null?void 0x0:_0x26da4b[_0x45bcbe(0x217)]]),_0x4a6f8b=_0xb0d20c([_0x255563==null?void 0x0:_0x255563[_0x45bcbe(0x2d7)],(_0xa1ce61=_0x1b97f6[_0x45bcbe(0x413)])==null?void 0x0:_0xa1ce61[_0x45bcbe(0x2d7)]]),_0x200a5b=_0xb0d20c([_0x255563==null?void 0x0:_0x255563[_0x45bcbe(0x1d6)],(_0x5e4046=_0x1b97f6[_0x45bcbe(0x413)])==null?void 0x0:_0x5e4046[_0x45bcbe(0x1d6)]]);return{'left':_0x4a6f8b,'top':_0x200a5b,'right':_0x4a6f8b+_0x322685,'bottom':_0x200a5b+_0x4f8883};}function _0x1b032f(_0x49b655,_0x476da9){const _0x47c8da=_0x2c9ee4;if(!_0x49b655||typeof _0x49b655!=_0x47c8da(0x2dc))return;let _0x397838=_0x49b655;if(typeof _0x397838[_0x47c8da(0x437)]==_0x47c8da(0x45f)){let _0x5b5c07=_0x397838[_0x47c8da(0x437)](_0x476da9);return(0x0,_0x3811f3['toDisposable'])(()=>{const _0x12f916=_0x47c8da;var _0x4326e4;if(typeof _0x5b5c07[_0x12f916(0x247)]=='function'){_0x5b5c07[_0x12f916(0x247)]();return;}(_0x4326e4=_0x5b5c07['unsubscribe'])==null||_0x4326e4[_0x12f916(0x222)](_0x5b5c07);});}let _0x231223=_0x49b655;if(typeof _0x231223[_0x47c8da(0x458)]==_0x47c8da(0x45f)){let _0x30d091=_0x231223[_0x47c8da(0x458)](_0x476da9);return(0x0,_0x3811f3[_0x47c8da(0x354)])(()=>{const _0x85e730=_0x47c8da;var _0x31a149;return(_0x31a149=_0x30d091[_0x85e730(0x466)])==null?void 0x0:_0x31a149[_0x85e730(0x222)](_0x30d091);});}}let _0x5d9504=class extends _0x3811f3[_0x2c9ee4(0x277)]{constructor(_0x13342c,_0x39a99b,_0x454eb6,_0xeb0d5a,_0x4d64e1,_0xee38b5,_0x5cdc83,_0x14bae6,_0x129e6d,_0x47c45b){const _0x3fa279=_0x2c9ee4;super(),this[_0x3fa279(0x295)]=_0x13342c,this['_renderManagerService']=_0x39a99b,this[_0x3fa279(0x1c9)]=_0x454eb6,this[_0x3fa279(0x2a1)]=_0xeb0d5a,this[_0x3fa279(0x35b)]=_0x4d64e1,this[_0x3fa279(0x26a)]=_0xee38b5,this[_0x3fa279(0x2be)]=_0x5cdc83,this[_0x3fa279(0x35d)]=_0x14bae6,this[_0x3fa279(0x25f)]=_0x129e6d,this[_0x3fa279(0x28b)]=_0x47c45b,_0x5e43a2(this,_0x3fa279(0x3d2),null),_0x5e43a2(this,_0x3fa279(0x2b1),new _0x244a93[(_0x3fa279(0x1cf))]()),_0x5e43a2(this,'_visualLayoutChanged$',new _0x244a93[(_0x3fa279(0x1cf))]()),this[_0x3fa279(0x218)]();}[_0x2c9ee4(0x1c3)](_0x2357f8){const _0x55f6b9=_0x2c9ee4;let _0x1663a2=this['_modelService'][_0x55f6b9(0x24f)](_0x2357f8['unitId'],_0x2357f8[_0x55f6b9(0x240)]);if(!_0x1663a2)return(0x0,_0x3811f3['toDisposable'])(()=>{});let _0x19557a=new _0x47f1b4(_0x2357f8[_0x55f6b9(0x240)],_0x2357f8[_0x55f6b9(0x3b3)],(_0x2bdbc6,_0x395379)=>this['_renderService'][_0x55f6b9(0x330)](_0x2bdbc6,_0x395379),()=>this[_0x55f6b9(0x242)](_0x2357f8),!0x0,()=>this[_0x55f6b9(0x283)](_0x2357f8)),_0xc6fbcc=this[_0x55f6b9(0x35b)]['createChartInstance'](_0x10d771[_0x55f6b9(0x1ec)][_0x55f6b9(0x34e)]);_0xc6fbcc[_0x55f6b9(0x3c8)](_0x19557a);let _0x363dce=[_0xc6fbcc['on'](_0x55f6b9(0x4a7),_0x28bd16=>{const _0x5cd5f2=_0x55f6b9;let _0x4c5ec9=(0x0,_0x28ba9f[_0x5cd5f2(0x493)])(_0x1663a2[_0x5cd5f2(0x379)],_0x28bd16['hit']);if(!_0x4c5ec9)return;let _0x17b985=(0x0,_0x28ba9f[_0x5cd5f2(0x39b)])(_0x4c5ec9[_0x5cd5f2(0x36f)]);if(_0x17b985)return this[_0x5cd5f2(0x2be)]['executeCommand'](_0x76fe7['id'],{'unitId':_0x2357f8[_0x5cd5f2(0x370)],'chartId':_0x2357f8[_0x5cd5f2(0x240)],'drawingId':_0x2357f8[_0x5cd5f2(0x42a)],'route':_0x17b985});}),_0xc6fbcc['on'](_0x55f6b9(0x438),()=>this[_0x55f6b9(0x2be)][_0x55f6b9(0x31b)](_0x76fe7['id'],{'unitId':_0x2357f8[_0x55f6b9(0x370)],'chartId':_0x2357f8[_0x55f6b9(0x240)],'drawingId':_0x2357f8[_0x55f6b9(0x42a)]}))],_0xf563bd=!0x0;return _0x363dce[_0x55f6b9(0x372)](this['_subscribeRender'](_0x1663a2,_0xc6fbcc,_0x19557a,_0x2357f8,()=>_0xf563bd)),(0x0,_0x3811f3[_0x55f6b9(0x354)])(()=>{const _0x127fff=_0x55f6b9;_0xf563bd=!0x1,this[_0x127fff(0x28b)][_0x127fff(0x25a)](this['_getDrawingSearch'](_0x2357f8),!0x1),_0x363dce[_0x127fff(0x26e)](_0x419544=>_0x419544[_0x127fff(0x247)]()),_0xc6fbcc[_0x127fff(0x247)](),_0x19557a[_0x127fff(0x247)]();});}[_0x2c9ee4(0x247)](){const _0x385d15=_0x2c9ee4;this[_0x385d15(0x318)](),this[_0x385d15(0x2b1)][_0x385d15(0x4cf)](),this[_0x385d15(0x1cc)][_0x385d15(0x4cf)](),super[_0x385d15(0x247)]();}[_0x2c9ee4(0x218)](){const _0x3b1533=_0x2c9ee4;this[_0x3b1533(0x1d0)](this[_0x3b1533(0x295)][_0x3b1533(0x4c4)][_0x3b1533(0x458)](_0x4b7b1f=>{const _0x20071a=_0x3b1533;this[_0x20071a(0x3b1)](_0x4b7b1f);})),this[_0x3b1533(0x1d0)](this[_0x3b1533(0x295)][_0x3b1533(0x4ed)][_0x3b1533(0x458)](_0x8b0ac9=>{const _0x2ae1bd=_0x3b1533;let _0x4c3f9c=this[_0x2ae1bd(0x3d2)];_0x4c3f9c&&_0x8b0ac9['some'](_0x437325=>_0x5be96b(_0x437325,_0x4c3f9c))&&this['_deactivate']();})),this['disposeWithMe'](this['_drawingManagerService'][_0x3b1533(0x3ec)]['subscribe'](_0x5870b8=>{const _0x1df26c=_0x3b1533;let _0x21cf36=this['_activeLayer'];if(!_0x21cf36){this['_retryActivateFocusedChart'](_0x5870b8);return;}let _0x49c820=_0x5870b8['find'](_0x502661=>_0x5be96b(_0x502661,_0x21cf36));if(_0x49c820){let _0x30cc91=this['_drawingManagerService'][_0x1df26c(0x488)]({'unitId':_0x49c820[_0x1df26c(0x370)],'subUnitId':_0x49c820['subUnitId'],'drawingId':_0x49c820[_0x1df26c(0x42a)]});this[_0x1df26c(0x388)](_0x30cc91)&&this[_0x1df26c(0x2eb)](_0x30cc91);}})),this[_0x3b1533(0x1d0)](this[_0x3b1533(0x35d)][_0x3b1533(0x327)](_0x3811f3['UniverInstanceType'][_0x3b1533(0x1ed)])[_0x3b1533(0x458)](_0x13b346=>{const _0x22be44=_0x3b1533;let _0x258a3d=this[_0x22be44(0x3d2)];_0x258a3d&&(_0x13b346==null?void 0x0:_0x13b346[_0x22be44(0x236)]())!==_0x258a3d[_0x22be44(0x370)]&&this['_deactivate']();}));}['_subscribeRender'](_0x1efa6e,_0xe44b94,_0x564fc2,_0x2bc882,_0x4d311b){const _0x4fc2c0=_0x2c9ee4;let _0x1a872e=()=>{const _0x4e23b8=_0x3b85;let {chartConfig:_0x289814,chartStyle:_0x20b090}=this[_0x4e23b8(0x35b)]['createRenderInput'](_0x1efa6e);Promise[_0x4e23b8(0x1ca)](_0xe44b94[_0x4e23b8(0x478)]({'chartId':_0x1efa6e[_0x4e23b8(0x240)],'config':_0x289814,'style':_0x20b090}))[_0x4e23b8(0x21f)](()=>{const _0x47c769=_0x4e23b8;_0x4d311b()&&this[_0x47c769(0x40e)](_0x2bc882)&&this[_0x47c769(0x28b)]['setActiveDomReady'](this['_getDrawingSearch'](_0x2bc882),!0x0);},()=>{});},_0x1b596d=(0x0,_0x244a93[_0x4fc2c0(0x387)])([_0x1efa6e['model'][_0x4fc2c0(0x25b)],_0x1efa6e[_0x4fc2c0(0x379)]['style$'],this[_0x4fc2c0(0x25f)][_0x4fc2c0(0x1c5)]])['pipe']((0x0,_0x244a93[_0x4fc2c0(0x255)])(([_0x20a006])=>_0x20a006!=null))[_0x4fc2c0(0x458)](_0x1a872e),_0x13b082=this['_layoutChanged$']['pipe']((0x0,_0x244a93['filter'])(_0x123d0d=>_0x123d0d===_0x2bc882[_0x4fc2c0(0x42a)]))[_0x4fc2c0(0x458)](_0x1a872e),_0x2eae7d=this[_0x4fc2c0(0x1cc)][_0x4fc2c0(0x4b1)]((0x0,_0x244a93[_0x4fc2c0(0x255)])(_0x36ced0=>_0x36ced0===_0x2bc882[_0x4fc2c0(0x42a)]))[_0x4fc2c0(0x458)](()=>_0x564fc2[_0x4fc2c0(0x3cd)]());return(0x0,_0x3811f3[_0x4fc2c0(0x354)])(()=>{const _0x9a4d27=_0x4fc2c0;_0x1b596d[_0x9a4d27(0x466)](),_0x13b082[_0x9a4d27(0x466)](),_0x2eae7d['unsubscribe']();});}['_handleFocus'](_0x40f5a0){const _0x58678b=_0x2c9ee4;let _0x54432f=(_0x40f5a0??[])['filter'](_0x26a50a=>this['_isDocChartDrawing'](_0x26a50a));if(_0x54432f[_0x58678b(0x3f8)]!==0x1){this['_deactivate']();return;}this[_0x58678b(0x2f9)](_0x54432f[0x0]);}[_0x2c9ee4(0x2f9)](_0x52ee9c){const _0x540b0a=_0x2c9ee4;var _0x589149,_0x4db9d8,_0x537df1;let _0x2e7e96=this[_0x540b0a(0x37f)](_0x52ee9c),_0xaa69d8=this[_0x540b0a(0x42b)](_0x52ee9c),_0x9dc85=_0x52ee9c['subUnitId']??_0x52ee9c[_0x540b0a(0x370)];if(!_0x2e7e96||!_0xaa69d8){this[_0x540b0a(0x318)]();return;}if(((_0x589149=this[_0x540b0a(0x3d2)])==null?void 0x0:_0x589149[_0x540b0a(0x370)])===_0x52ee9c['unitId']&&this['_activeLayer'][_0x540b0a(0x3a2)]===_0x9dc85&&this[_0x540b0a(0x3d2)][_0x540b0a(0x42a)]===_0x52ee9c['drawingId']&&this['_activeLayer']['chartId']===_0x52ee9c['chartId']){let _0x229101=this['_activeLayer']['scene']!==_0x2e7e96[_0x540b0a(0x1f0)];this[_0x540b0a(0x3d2)]['scene']=_0x2e7e96[_0x540b0a(0x1f0)],this[_0x540b0a(0x3d2)]['sceneRect']=_0x2e7e96[_0x540b0a(0x313)],this[_0x540b0a(0x3d2)][_0x540b0a(0x3e2)]=_0x2e7e96[_0x540b0a(0x3e2)],this[_0x540b0a(0x3d2)][_0x540b0a(0x4c8)]=_0xaa69d8,this['_activeLayer'][_0x540b0a(0x502)][_0x540b0a(0x207)](_0x2e7e96['position']),_0x229101&&this[_0x540b0a(0x2bd)](this[_0x540b0a(0x3d2)]);return;}this[_0x540b0a(0x318)]();let _0x54d3c1=new _0x244a93[(_0x540b0a(0x24a))](_0x2e7e96[_0x540b0a(0x214)]),_0x3de4ec=this[_0x540b0a(0x2b7)][_0x540b0a(0x23e)](_0x52ee9c['unitId']),_0xf4616e=_0x3de4ec==null||(_0x537df1=(_0x4db9d8=_0x3de4ec[_0x540b0a(0x481)])[_0x540b0a(0x4bc)])==null?void 0x0:_0x537df1[_0x540b0a(0x222)](_0x4db9d8);this['_canvasFloatDomService'][_0x540b0a(0x4b2)]({'id':_0x52ee9c[_0x540b0a(0x42a)],'componentKey':_0x2ebdef,'position$':_0x54d3c1,'unitId':_0x52ee9c[_0x540b0a(0x370)],'contentBox':{'wrapperInset':0x0,'contentInset':0x0},'props':{'chartId':_0x52ee9c[_0x540b0a(0x240)],'subUnitId':_0x9dc85},'onPointerDown':_0x1f1c1e=>_0xf4616e==null?void 0x0:_0xf4616e[_0x540b0a(0x2d5)](new PointerEvent(_0x1f1c1e[_0x540b0a(0x4ea)],_0x1f1c1e)),'onPointerMove':_0x5395a0=>_0xf4616e==null?void 0x0:_0xf4616e['dispatchEvent'](new PointerEvent(_0x5395a0['type'],_0x5395a0)),'onPointerUp':_0x5241f5=>_0xf4616e==null?void 0x0:_0xf4616e['dispatchEvent'](new PointerEvent(_0x5241f5[_0x540b0a(0x4ea)],_0x5241f5)),'onWheel':_0xfe67ee=>_0xf4616e==null?void 0x0:_0xf4616e[_0x540b0a(0x2d5)](new WheelEvent(_0xfe67ee[_0x540b0a(0x4ea)],_0xfe67ee))}),this[_0x540b0a(0x2a1)][_0x540b0a(0x2e0)](_0x52ee9c['unitId'],_0x52ee9c[_0x540b0a(0x240)]);let _0x548b8a={'unitId':_0x52ee9c[_0x540b0a(0x370)],'subUnitId':_0x9dc85,'drawingId':_0x52ee9c['drawingId'],'chartId':_0x52ee9c[_0x540b0a(0x240)],'scene':_0x2e7e96[_0x540b0a(0x1f0)],'sceneRect':_0x2e7e96[_0x540b0a(0x313)],'angle':_0x2e7e96[_0x540b0a(0x3e2)],'renderRect':_0xaa69d8,'position$':_0x54d3c1};this[_0x540b0a(0x3d2)]=_0x548b8a,this[_0x540b0a(0x2bd)](_0x548b8a);}['_deactivate'](){const _0x17b46b=_0x2c9ee4;var _0x35fd44,_0x2797c0;let _0x192ba2=this[_0x17b46b(0x3d2)];_0x192ba2&&(this['_activeLayer']=null,(_0x35fd44=_0x192ba2['positionObserver'])==null||_0x35fd44[_0x17b46b(0x247)](),(_0x2797c0=_0x192ba2['scaleObserver'])==null||_0x2797c0[_0x17b46b(0x247)](),this['_staticRenderController'][_0x17b46b(0x25a)]({'unitId':_0x192ba2['unitId'],'subUnitId':_0x192ba2[_0x17b46b(0x3a2)],'drawingId':_0x192ba2['drawingId']},!0x1),this[_0x17b46b(0x1c9)][_0x17b46b(0x454)](_0x192ba2[_0x17b46b(0x42a)]),this[_0x17b46b(0x2a1)][_0x17b46b(0x505)](null),this['_snapshotRenderService'][_0x17b46b(0x1f2)](_0x192ba2['unitId'],_0x192ba2[_0x17b46b(0x240)]),_0x192ba2[_0x17b46b(0x502)]['complete']());}['_refreshActivePosition'](_0x289016,_0x54e19b,_0x419eab){const _0x2378be=_0x2c9ee4;let _0xf91c86=this[_0x2378be(0x3d2)];(_0xf91c86==null?void 0x0:_0xf91c86[_0x2378be(0x370)])===_0x289016&&_0xf91c86['drawingId']===_0x54e19b&&_0xf91c86['chartId']===_0x419eab&&_0xf91c86[_0x2378be(0x502)][_0x2378be(0x207)](_0x30c6c7(_0xf91c86[_0x2378be(0x313)],_0xf91c86[_0x2378be(0x1f0)],0x1,_0xf91c86['angle']));}[_0x2c9ee4(0x499)](_0x4513ee){const _0x2ee8d6=_0x2c9ee4;let _0x193eac=this[_0x2ee8d6(0x3d2)];_0x193eac&&_0x193eac['unitId']===_0x4513ee&&(this['_refreshActivePosition'](_0x193eac['unitId'],_0x193eac[_0x2ee8d6(0x42a)],_0x193eac[_0x2ee8d6(0x240)]),this[_0x2ee8d6(0x1cc)][_0x2ee8d6(0x207)](_0x193eac[_0x2ee8d6(0x42a)]));}[_0x2c9ee4(0x2bd)](_0x535935){const _0x13d5fe=_0x2c9ee4;var _0x1f8aba,_0x166d88;(_0x1f8aba=_0x535935[_0x13d5fe(0x278)])==null||_0x1f8aba['dispose'](),(_0x166d88=_0x535935['scaleObserver'])==null||_0x166d88[_0x13d5fe(0x247)]();let _0x4d8556=_0x535935['scene']['getViewport'](_0x39ab44[_0x13d5fe(0x476)][_0x13d5fe(0x4a2)]);if(!_0x4d8556)return;_0x535935[_0x13d5fe(0x278)]=_0x1b032f(_0x4d8556[_0x13d5fe(0x254)],()=>{const _0x3c7d70=_0x13d5fe;this[_0x3c7d70(0x46f)](_0x535935[_0x3c7d70(0x370)],_0x535935[_0x3c7d70(0x42a)],_0x535935[_0x3c7d70(0x240)]);});let _0x18f61e=_0x535935[_0x13d5fe(0x1f0)][_0x13d5fe(0x480)]['subscribeEvent'](_0xaf115e=>{const _0x192b76=_0x13d5fe;_0xaf115e[_0x192b76(0x4ea)]!==_0x1d3927[_0x192b76(0x1dc)][_0x192b76(0x385)]||_0xaf115e[_0x192b76(0x3f7)][_0x192b76(0x226)]===_0xaf115e[_0x192b76(0x299)][_0x192b76(0x226)]&&_0xaf115e[_0x192b76(0x3f7)][_0x192b76(0x43c)]===_0xaf115e[_0x192b76(0x299)][_0x192b76(0x43c)]||this[_0x192b76(0x499)](_0x535935['unitId']);});_0x535935[_0x13d5fe(0x443)]=(0x0,_0x3811f3[_0x13d5fe(0x354)])(()=>_0x18f61e[_0x13d5fe(0x466)]());}[_0x2c9ee4(0x2eb)](_0x51bb6d){const _0x26ee30=_0x2c9ee4;let _0x1edbb5=this[_0x26ee30(0x37f)](_0x51bb6d),_0x26f43e=this['_getRenderRect'](_0x51bb6d);if(_0x1edbb5&&_0x26f43e){var _0x12f3bc;if(this[_0x26ee30(0x3d2)]){let _0x51e742=this[_0x26ee30(0x3d2)]['scene']!==_0x1edbb5['scene'];this[_0x26ee30(0x3d2)][_0x26ee30(0x1f0)]=_0x1edbb5['scene'],this[_0x26ee30(0x3d2)][_0x26ee30(0x313)]=_0x1edbb5[_0x26ee30(0x313)],this[_0x26ee30(0x3d2)][_0x26ee30(0x3e2)]=_0x1edbb5[_0x26ee30(0x3e2)],this[_0x26ee30(0x3d2)][_0x26ee30(0x4c8)]=_0x26f43e,_0x51e742&&this['_bindActiveLayerObservers'](this[_0x26ee30(0x3d2)]);}(_0x12f3bc=this['_activeLayer'])==null||_0x12f3bc[_0x26ee30(0x502)]['next'](_0x1edbb5['position']),this[_0x26ee30(0x2b1)][_0x26ee30(0x207)](_0x51bb6d[_0x26ee30(0x42a)]);}}['_retryActivateFocusedChart'](_0x27f1c6){const _0x5e48ea=_0x2c9ee4;let _0x26465c=this[_0x5e48ea(0x295)]['getFocusDrawings']()[_0x5e48ea(0x255)](_0x17ca34=>this[_0x5e48ea(0x388)](_0x17ca34));_0x26465c['length']===0x1&&_0x27f1c6[_0x5e48ea(0x40a)](_0x36c772=>_0x5be96b(_0x36c772,_0x26465c[0x0]))&&this[_0x5e48ea(0x2f9)](_0x26465c[0x0]);}['_getPositionState'](_0x13481c){const _0x3a4d92=_0x2c9ee4;let _0x518e85=_0x13481c[_0x3a4d92(0x413)];if(!_0x518e85)return null;let _0x3bd103=this[_0x3a4d92(0x2b7)][_0x3a4d92(0x23e)](_0x13481c['unitId']);if(!(_0x3bd103!=null&&_0x3bd103[_0x3a4d92(0x1f0)])||!_0x3bd103[_0x3a4d92(0x1f0)]['getViewport'](_0x39ab44['VIEWPORT_KEY'][_0x3a4d92(0x4a2)]))return null;let _0x1fc49f=(0x0,_0x1cc938[_0x3a4d92(0x489)])(_0x13481c),_0x1309cf=_0x3bd103[_0x3a4d92(0x1f0)]['getObjectIncludeInGroup'](_0x1fc49f),_0x5d202a=_0x27fae6(_0x13481c,_0x1309cf),_0x5e258e=_0x5d202a[_0x3a4d92(0x32f)]-_0x5d202a['left'],_0x9789b=_0x5d202a['bottom']-_0x5d202a[_0x3a4d92(0x1d6)];if(_0x5e258e<=0x0||_0x9789b<=0x0)return null;let _0x5a4024=_0xb0d20c([_0x1309cf==null?void 0x0:_0x1309cf[_0x3a4d92(0x3e2)],_0x518e85[_0x3a4d92(0x3e2)]]);return{'scene':_0x3bd103[_0x3a4d92(0x1f0)],'sceneRect':_0x5d202a,'angle':_0x5a4024,'position':_0x30c6c7(_0x5d202a,_0x3bd103[_0x3a4d92(0x1f0)],0x1,_0x5a4024)};}['_getRenderRect'](_0x216772){const _0x18c3db=_0x2c9ee4;var _0x528df5,_0x3390ab,_0x49d360,_0x870c85;let _0x17526a=((_0x528df5=_0x216772[_0x18c3db(0x413)])==null?void 0x0:_0x528df5[_0x18c3db(0x273)])??((_0x3390ab=_0x216772['docTransform'])==null||(_0x3390ab=_0x3390ab[_0x18c3db(0x39c)])==null?void 0x0:_0x3390ab[_0x18c3db(0x273)])??0x0,_0x340714=((_0x49d360=_0x216772[_0x18c3db(0x413)])==null?void 0x0:_0x49d360[_0x18c3db(0x217)])??((_0x870c85=_0x216772[_0x18c3db(0x262)])==null||(_0x870c85=_0x870c85[_0x18c3db(0x39c)])==null?void 0x0:_0x870c85[_0x18c3db(0x217)])??0x0;return _0x17526a<=0x0||_0x340714<=0x0?null:{'width':Math[_0x18c3db(0x3c6)](0x1,Math[_0x18c3db(0x1ff)](_0x17526a)),'height':Math[_0x18c3db(0x3c6)](0x1,Math[_0x18c3db(0x1ff)](_0x340714))};}['_getActiveRenderRect'](_0xa9509f){const _0xa1ad2=_0x2c9ee4;let _0x27b9b4=this[_0xa1ad2(0x3d2)];if((_0x27b9b4==null?void 0x0:_0x27b9b4[_0xa1ad2(0x370)])===_0xa9509f['unitId']&&_0x27b9b4[_0xa1ad2(0x3a2)]===(_0xa9509f[_0xa1ad2(0x3a2)]??_0xa9509f['unitId'])&&_0x27b9b4['drawingId']===_0xa9509f[_0xa1ad2(0x42a)]&&_0x27b9b4[_0xa1ad2(0x240)]===_0xa9509f[_0xa1ad2(0x240)])return _0x27b9b4[_0xa1ad2(0x4c8)];let _0x2d1f5b=this[_0xa1ad2(0x295)][_0xa1ad2(0x488)](this[_0xa1ad2(0x3a4)](_0xa9509f));return this[_0xa1ad2(0x388)](_0x2d1f5b)?this[_0xa1ad2(0x42b)](_0x2d1f5b):null;}[_0x2c9ee4(0x283)](_0x253f56){const _0x3323d4=_0x2c9ee4;let _0x3294b4=this[_0x3323d4(0x3d2)];return _0x3294b4&&this['_isActiveLayer'](_0x253f56)?_0x3294b4[_0x3323d4(0x1f0)]['getAncestorScale']():null;}['_getDrawingSearch'](_0x2bbc93){const _0x299c0e=_0x2c9ee4;return{'unitId':_0x2bbc93['unitId'],'subUnitId':_0x2bbc93['subUnitId']??_0x2bbc93[_0x299c0e(0x370)],'drawingId':_0x2bbc93[_0x299c0e(0x42a)]};}[_0x2c9ee4(0x40e)](_0x324254){const _0x2d029f=_0x2c9ee4;let _0x398a2a=this['_activeLayer'];return(_0x398a2a==null?void 0x0:_0x398a2a[_0x2d029f(0x370)])===_0x324254[_0x2d029f(0x370)]&&_0x398a2a[_0x2d029f(0x3a2)]===(_0x324254[_0x2d029f(0x3a2)]??_0x324254[_0x2d029f(0x370)])&&_0x398a2a[_0x2d029f(0x42a)]===_0x324254[_0x2d029f(0x42a)]&&_0x398a2a[_0x2d029f(0x240)]===_0x324254[_0x2d029f(0x240)];}['_isDocChartDrawing'](_0x5c4592){const _0x4a307b=_0x2c9ee4;let _0xddcb6=_0x5c4592;return(_0xddcb6==null?void 0x0:_0xddcb6['drawingType'])===_0x3811f3[_0x4a307b(0x4a6)]['DRAWING_CHART']&&typeof _0xddcb6['chartId']==_0x4a307b(0x366);}};_0x5d9504=_0x58c753([_0x492bb2(0x0,_0x1cc938[_0x2c9ee4(0x395)]),_0x492bb2(0x1,_0x1d3927['IRenderManagerService']),_0x492bb2(0x2,(0x0,_0x3811f3[_0x2c9ee4(0x33e)])(_0x212387[_0x2c9ee4(0x3b4)])),_0x492bb2(0x3,(0x0,_0x3811f3['Inject'])(_0x2d4ecf['DocChartModelService'])),_0x492bb2(0x4,(0x0,_0x3811f3[_0x2c9ee4(0x33e)])(_0x4423c2)),_0x492bb2(0x5,(0x0,_0x3811f3[_0x2c9ee4(0x33e)])(_0x2927d8)),_0x492bb2(0x6,_0x3811f3['ICommandService']),_0x492bb2(0x7,_0x3811f3[_0x2c9ee4(0x390)]),_0x492bb2(0x8,(0x0,_0x3811f3[_0x2c9ee4(0x33e)])(_0x3811f3['LocaleService'])),_0x492bb2(0x9,(0x0,_0x3811f3[_0x2c9ee4(0x33e)])(_0x208aa3))],_0x5d9504);let _0x2ebdef=_0x2c9ee4(0x2d6),_0x5c5dca=_0xae50f9=>{const _0x1c1533=_0x2c9ee4;let {unitId:_0x5c0e3c,subUnitId:_0x3b4a84,floatDomId:_0x5964fc,chartId:_0x569436,context:_0x2399c7}=_0xae50f9,_0xac31d9=(0x0,_0x212387[_0x1c1533(0x326)])(_0x5d9504);return(0x0,_0x781fbd[_0x1c1533(0x1df)])(()=>{const _0x3b5af2=_0x1c1533;let _0x2ce11f=_0x2399c7['root'][_0x3b5af2(0x2ed)];if(!_0x2ce11f)return;let _0x405c34=_0xac31d9[_0x3b5af2(0x1c3)]({'unitId':_0x5c0e3c,'subUnitId':_0x3b4a84,'drawingId':_0x5964fc,'chartId':_0x569436,'root':_0x2ce11f});return()=>_0x405c34['dispose']();},[_0xac31d9,_0x569436,_0x2399c7[_0x1c1533(0x3b3)],_0x5964fc,_0x3b4a84,_0x5c0e3c]),null;},_0x24c46c=()=>null,_0x3d48c5=class extends _0x3811f3['Disposable']{constructor(_0x50d21a){super(),this['_componentManager']=_0x50d21a,this['_registerComponents']();}[_0x2c9ee4(0x2f8)](){const _0x2062f3=_0x2c9ee4;this[_0x2062f3(0x1f6)](),this[_0x2062f3(0x1d0)](this['_componentManager'][_0x2062f3(0x282)](_0x3811f3[_0x2062f3(0x1c6)],_0x24c46c)),this[_0x2062f3(0x1d0)](this[_0x2062f3(0x415)][_0x2062f3(0x282)](_0x2ebdef,_0x5c5dca));}[_0x2c9ee4(0x1f6)](){const _0x535b07=_0x2c9ee4;this[_0x535b07(0x1d0)](this[_0x535b07(0x415)]['register'](_0x3bedb1,_0x3f805f)),this[_0x535b07(0x1d0)](this[_0x535b07(0x415)][_0x535b07(0x282)](_0x5a0ada,_0x556169)),this[_0x535b07(0x1d0)](this[_0x535b07(0x415)][_0x535b07(0x282)](_0x4ec2c5,_0x53b3b6));}};_0x3d48c5=_0x58c753([_0x492bb2(0x0,(0x0,_0x3811f3['Inject'])(_0x212387[_0x2c9ee4(0x30d)]))],_0x3d48c5);let _0x5ce5e6=_0x2c9ee4(0x48d),_0x48a9d1=class extends _0x3811f3[_0x2c9ee4(0x277)]{constructor(_0x174482,_0x1901ce,_0x26a9b7,_0x5c7fb6,_0x42c1dd,_0x407eb8,_0x4bae0a){const _0x1230c5=_0x2c9ee4;super(),this[_0x1230c5(0x335)]=_0x174482,this[_0x1230c5(0x25f)]=_0x1901ce,this[_0x1230c5(0x2f0)]=_0x26a9b7,this['_docSelectionManagerService']=_0x5c7fb6,this[_0x1230c5(0x496)]=_0x42c1dd,this[_0x1230c5(0x471)]=_0x407eb8,this[_0x1230c5(0x2be)]=_0x4bae0a,this['_initMenus'](),this[_0x1230c5(0x4ac)]();}[_0x2c9ee4(0x343)](_0x475fab){const _0x1d91ac=_0x2c9ee4;let _0x4814a0=null,_0x5f5917=this[_0x1d91ac(0x2f0)][_0x1d91ac(0x2d2)](_0x3811f3['UniverInstanceType'][_0x1d91ac(0x1ed)]),_0x3598e0=()=>{const _0x233aeb=_0x1d91ac;let _0x9543a9=_0x4814a0;_0x4814a0=null,_0x9543a9==null||_0x9543a9[_0x233aeb(0x247)]();},_0x57b659={'id':_0x1d91ac(0x3c7),'layout':_0x1d91ac(0x3cf),'title':{'title':this['_localeService']['t'](_0x1d91ac(0x3bb))},'width':_0x5ce5e6,'draggable':!0x1,'mask':!0x0,'maskClosable':!0x1,'children':{'label':{'name':_0x3bedb1,'props':{'defaultChartType':(_0x475fab==null?void 0x0:_0x475fab[_0x1d91ac(0x341)])??(_0x475fab==null?void 0x0:_0x475fab[_0x1d91ac(0x3f7)]),'defaultTableText':_0x475fab==null?void 0x0:_0x475fab[_0x1d91ac(0x3b7)],'insertOptions':{'unitId':_0x5f5917==null?void 0x0:_0x5f5917[_0x1d91ac(0x236)](),'insertRange':(_0x475fab==null?void 0x0:_0x475fab['insertRange'])??this[_0x1d91ac(0x462)]()},'onCancel':_0x3598e0,'onInserted':_0x3598e0}}},'onClose':_0x3598e0};return _0x4814a0=this[_0x1d91ac(0x335)][_0x1d91ac(0x210)](_0x57b659),!0x0;}['openEditorDialog'](_0x4d28bd){const _0x2441c8=_0x2c9ee4;let _0x4683bb=null,_0x1feda9=()=>{const _0x5b7974=_0x3b85;let _0x1f122c=_0x4683bb;_0x4683bb=null,_0x1f122c==null||_0x1f122c[_0x5b7974(0x247)]();},_0x5a2d51={'id':_0x4bcfb2,'layout':_0x2441c8(0x3cf),'title':{'title':this[_0x2441c8(0x25f)]['t']('docs-chart-ui.common.editChart')},'width':_0x5ce5e6,'draggable':!0x1,'mask':!0x0,'maskClosable':!0x1,'children':{'label':{'name':_0x5a0ada,'props':{..._0x4d28bd,'onClose':_0x1feda9}}},'onClose':_0x1feda9};return _0x4683bb=this[_0x2441c8(0x335)][_0x2441c8(0x210)](_0x5a2d51),!0x0;}[_0x2c9ee4(0x459)](){const _0x470035=_0x2c9ee4;this[_0x470035(0x471)][_0x470035(0x4fa)](_0x46031f);}[_0x2c9ee4(0x4ac)](){const _0x1f0de3=_0x2c9ee4;this[_0x1f0de3(0x1d0)](this[_0x1f0de3(0x2be)][_0x1f0de3(0x46a)](_0x2eae71=>{const _0x2239b3=_0x1f0de3;if(_0x2eae71['id']===_0x5637e0['id']){this[_0x2239b3(0x343)](_0x2eae71[_0x2239b3(0x4ef)]);return;}if(_0x2eae71['id']===_0x76fe7['id']){let _0x54c7a5=_0x2eae71[_0x2239b3(0x4ef)];_0x54c7a5&&this['openEditorDialog'](_0x54c7a5);}}));}[_0x2c9ee4(0x462)](){const _0x59fb7b=_0x2c9ee4;let _0x59b797=this['_instanceService'][_0x59fb7b(0x2d2)](_0x3811f3['UniverInstanceType'][_0x59fb7b(0x1ed)]);if(!_0x59b797)return;let _0x275807=_0x59b797[_0x59fb7b(0x236)](),_0x464b79=null;try{_0x464b79=this[_0x59fb7b(0x496)][_0x59fb7b(0x3a3)](_0x275807);}catch{_0x464b79=null;}if(_0x464b79){let _0x2551d1={'startOffset':_0x464b79['startOffset'],'endOffset':_0x464b79['endOffset'],'collapsed':_0x464b79[_0x59fb7b(0x1e2)]===_0x464b79['endOffset'],'segmentId':_0x464b79[_0x59fb7b(0x2ea)]??''};return _0x11935b(_0x59b797,_0x2551d1)?_0x2551d1:void 0x0;}let _0x1535ef={'unitId':_0x275807,'subUnitId':_0x275807},_0xea519=[...this[_0x59fb7b(0x2cc)][_0x59fb7b(0x4b3)](_0x1535ef)??[]];if(_0xea519['length']!==0x1)return;let _0x50fcea=_0xea519[_0x59fb7b(0x3e1)](_0x376f7e=>_0x376f7e[_0x59fb7b(0x4a5)])??_0xea519[0x0];if(!_0x50fcea||!_0x50fcea[_0x59fb7b(0x44f)]||_0x50fcea[_0x59fb7b(0x1e2)]==null)return;let _0x15b5c2={..._0x50fcea,'segmentId':_0x50fcea[_0x59fb7b(0x2ea)]??''};return _0x11935b(_0x59b797,_0x15b5c2)?_0x15b5c2:void 0x0;}};_0x48a9d1=_0x58c753([_0x492bb2(0x0,(0x0,_0x3811f3[_0x2c9ee4(0x33e)])(_0x212387[_0x2c9ee4(0x2ae)])),_0x492bb2(0x1,(0x0,_0x3811f3['Inject'])(_0x3811f3[_0x2c9ee4(0x312)])),_0x492bb2(0x2,_0x3811f3[_0x2c9ee4(0x390)]),_0x492bb2(0x3,(0x0,_0x3811f3[_0x2c9ee4(0x33e)])(_0x100932[_0x2c9ee4(0x216)])),_0x492bb2(0x4,(0x0,_0x3811f3[_0x2c9ee4(0x33e)])(_0x100932[_0x2c9ee4(0x1be)])),_0x492bb2(0x5,_0x212387[_0x2c9ee4(0x408)]),_0x492bb2(0x6,_0x3811f3['ICommandService'])],_0x48a9d1);let _0x46b4f3=class extends _0x3811f3[_0x2c9ee4(0x277)]{constructor(_0x13e599,_0x24771f){const _0x3dc1f4=_0x2c9ee4;super(),this[_0x3dc1f4(0x1dd)]=_0x24771f,this['disposeWithMe'](_0x13e599[_0x3dc1f4(0x282)](this));}[_0x2c9ee4(0x342)](_0xbe87a2){return'unitId'in _0xbe87a2&&'getDrawingId'in _0xbe87a2;}[_0x2c9ee4(0x4ec)](_0x138021,_0x5a6bd1){const _0x6583e6=_0x2c9ee4;if(!this['supports'](_0x138021))return Promise[_0x6583e6(0x1ca)](void 0x0);let _0x25f68a=_0x138021['getInfo']()[_0x6583e6(0x39c)];return this['_snapshotService'][_0x6583e6(0x4ec)]({'unitId':_0x138021[_0x6583e6(0x370)],'chartId':_0x138021[_0x6583e6(0x399)](),'width':Math['max'](0x1,(_0x25f68a==null?void 0x0:_0x25f68a['width'])??0x1),'height':Math[_0x6583e6(0x3c6)](0x1,(_0x25f68a==null?void 0x0:_0x25f68a[_0x6583e6(0x217)])??0x1),'format':_0x5a6bd1==null?void 0x0:_0x5a6bd1[_0x6583e6(0x325)],'mode':'export'});}};_0x46b4f3=_0x58c753([_0x492bb2(0x0,(0x0,_0x3811f3[_0x2c9ee4(0x33e)])(_0x28ba9f[_0x2c9ee4(0x4de)])),_0x492bb2(0x1,(0x0,_0x3811f3[_0x2c9ee4(0x33e)])(_0x2927d8))],_0x46b4f3);function _0x53f4b6(_0x5bf7cf,_0x1006a3,_0x5ea09d){const _0x1d20d5=_0x2c9ee4;let _0x3ef927=_0x5ea09d[_0x1d20d5(0x2cd)]??0x0,_0x1083ad=_0x5ea09d['docsLeft']??0x0,_0x4deb9e=_0x3ef927;for(let _0x5cd9b5 of _0x1006a3){let _0x5f38d5=_0x5cd9b5[_0x1d20d5(0x3d6)][_0x1d20d5(0x315)](_0x5bf7cf[_0x1d20d5(0x42a)]);if(_0x5f38d5)return{'left':_0x1083ad+_0x5cd9b5[_0x1d20d5(0x2ce)]+_0x5f38d5[_0x1d20d5(0x20e)],'top':_0x4deb9e+_0x5cd9b5[_0x1d20d5(0x4e5)]+_0x5f38d5[_0x1d20d5(0x40f)],'width':_0x5f38d5['width'],'height':_0x5f38d5[_0x1d20d5(0x217)],'angle':_0x5f38d5['angle'],'flipX':_0x5bf7cf[_0x1d20d5(0x262)][_0x1d20d5(0x424)],'flipY':_0x5bf7cf[_0x1d20d5(0x262)][_0x1d20d5(0x204)]};let _0x255937=Number[_0x1d20d5(0x256)](_0x5cd9b5[_0x1d20d5(0x1d3)])?_0x5cd9b5[_0x1d20d5(0x1d3)]:_0x5cd9b5['height'];_0x4deb9e+=Math[_0x1d20d5(0x3c6)](0x0,_0x255937)+_0x5ea09d['pageMarginTop'];}return null;}let _0x415d7c=class extends _0x3811f3[_0x2c9ee4(0x277)]{constructor(_0x5deff5,_0x5acd7c,_0x33b498,_0x5cc370){const _0x33200e=_0x2c9ee4;super(),this[_0x33200e(0x295)]=_0x5deff5,this[_0x33200e(0x2b7)]=_0x5acd7c,this[_0x33200e(0x26a)]=_0x33b498,this[_0x33200e(0x30f)]=_0x5cc370,_0x5e43a2(this,'_preparedCharts',new Map());let _0x31d0c7=this[_0x33200e(0x30f)]['registerPrintPreparation'];_0x31d0c7&&this[_0x33200e(0x1d0)](_0x31d0c7[_0x33200e(0x222)](this[_0x33200e(0x30f)],_0x499feb=>this['prepare'](_0x499feb))),this[_0x33200e(0x38f)]();}async[_0x2c9ee4(0x2f5)](_0xb09a44){const _0x3214fd=_0x2c9ee4;let _0x351bd9=this[_0x3214fd(0x2e4)](_0xb09a44[_0x3214fd(0x370)]),_0x3de474=new Map();this['_preparedCharts']['set'](_0xb09a44[_0x3214fd(0x370)],_0x3de474),await Promise[_0x3214fd(0x1d7)](_0x351bd9[_0x3214fd(0x4ca)](async _0x259bd6=>{const _0x13b327=_0x3214fd;let _0x3a51da=_0xb5a7dc(_0x259bd6);if(!_0x3a51da)return;let _0x1dbb41={'unitId':_0xb09a44[_0x13b327(0x370)],'chartId':_0x259bd6[_0x13b327(0x240)],'width':_0x3a51da[_0x13b327(0x273)],'height':_0x3a51da[_0x13b327(0x217)],'dpr':_0xb09a44[_0x13b327(0x3f6)],'mode':'print'},_0x1c221d={..._0x1dbb41,'dpr':_0x10d771[_0x13b327(0x4af)],'mode':_0x13b327(0x3e7)},_0x4ffc2a=this[_0x13b327(0x26a)]['getSnapshot'](_0x1c221d),_0x433c84=(_0x4ffc2a==null?void 0x0:_0x4ffc2a[_0x13b327(0x2db)])==='ready'?this['_getRenderedChartImage'](_0x259bd6):null;if(_0x433c84){_0x3de474[_0x13b327(0x202)](_0x259bd6[_0x13b327(0x42a)],{'image':_0x433c84});return;}let _0x2919c9=(_0x4ffc2a==null?void 0x0:_0x4ffc2a['status'])===_0x13b327(0x3ef)?_0x4ffc2a[_0x13b327(0x2ad)]:await this['_snapshotRenderService'][_0x13b327(0x4ec)]((_0x4ffc2a==null?void 0x0:_0x4ffc2a['status'])===_0x13b327(0x1fb)?_0x1c221d:_0x1dbb41);_0x2919c9&&_0x3de474[_0x13b327(0x202)](_0x259bd6[_0x13b327(0x42a)],{'image':await _0x4562d2(_0x2919c9)});}));}['_initPrinting'](){const _0x55e0cc=_0x2c9ee4;this[_0x55e0cc(0x1d0)](this['_docPrintInterceptorService']['interceptor'][_0x55e0cc(0x2a4)](this[_0x55e0cc(0x30f)]['interceptor']['getInterceptPoints']()[_0x55e0cc(0x2a0)],{'handler':(_0x3775ec,{unitId:_0x418fed,scene:_0x1dbbb0,skeleton:_0xbfdfa6,documents:_0x31463e},_0x4898bf)=>{const _0x281dfc=_0x55e0cc;var _0x4f102e,_0x4cfdb2;let _0x325b88=_0x4898bf(_0x3775ec),_0xb01620=this[_0x281dfc(0x2c8)]['get'](_0x418fed),_0x3e823b=((_0x4f102e=_0xbfdfa6[_0x281dfc(0x4ff)]())==null?void 0x0:_0x4f102e[_0x281dfc(0x35e)])??[];if(!(_0xb01620!=null&&_0xb01620[_0x281dfc(0x39c)])||!_0x3e823b[_0x281dfc(0x3f8)])return _0x325b88;let _0x579d08=(_0x4cfdb2=this[_0x281dfc(0x295)]['getDrawingDataForUnit'](_0x418fed))==null?void 0x0:_0x4cfdb2[_0x418fed];return _0x579d08==null||_0x579d08[_0x281dfc(0x2fc)][_0x281dfc(0x26e)]((_0x1728fe,_0x949265)=>{const _0x4e8c8e=_0x281dfc;let _0x2ea822=_0x579d08[_0x4e8c8e(0x455)][_0x1728fe],_0x3a46c5=_0xb01620[_0x4e8c8e(0x315)](_0x1728fe);if(!_0x3a46c5||_0x2ea822[_0x4e8c8e(0x1c4)]||_0x2ea822['drawingType']!==_0x3811f3[_0x4e8c8e(0x4a6)][_0x4e8c8e(0x4d9)])return;let _0x2af8e0={..._0x53f4b6(_0x2ea822,_0x3e823b,_0x31463e[_0x4e8c8e(0x383)]())??(0x0,_0x100932[_0x4e8c8e(0x24c)])(_0x2ea822[_0x4e8c8e(0x262)]),'image':_0x3a46c5[_0x4e8c8e(0x42d)],'printable':!0x0,'forceRender':!0x0,'zIndex':_0x949265};_0x1dbbb0[_0x4e8c8e(0x4e2)](new _0x1d3927['Image']((0x0,_0x1cc938[_0x4e8c8e(0x489)])(_0x2ea822),_0x2af8e0),_0x1d3927[_0x4e8c8e(0x2a3)]);}),_0x325b88;}}));}[_0x2c9ee4(0x2e4)](_0x3a6d82){const _0x1d1a5a=_0x2c9ee4;var _0x24f1f4;let _0xcd251d=(_0x24f1f4=this[_0x1d1a5a(0x295)][_0x1d1a5a(0x404)](_0x3a6d82))==null?void 0x0:_0x24f1f4[_0x3a6d82];return(_0xcd251d==null?void 0x0:_0xcd251d['order'][_0x1d1a5a(0x4ca)](_0x228391=>_0xcd251d[_0x1d1a5a(0x455)][_0x228391])[_0x1d1a5a(0x255)](_0x3beae2=>_0x3beae2[_0x1d1a5a(0x237)]===_0x3811f3[_0x1d1a5a(0x4a6)][_0x1d1a5a(0x4d9)]&&!_0x3beae2['hidden']&&!!_0x3beae2['chartId']))??[];}[_0x2c9ee4(0x2e5)](_0x384b4f){const _0x41d176=_0x2c9ee4;var _0x2eb26d,_0x1038e5;let _0x5497fc=(_0x2eb26d=this[_0x41d176(0x2b7)][_0x41d176(0x23e)](_0x384b4f[_0x41d176(0x370)]))==null?void 0x0:_0x2eb26d[_0x41d176(0x1f0)],_0x45beb9=_0x5497fc==null?void 0x0:_0x5497fc[_0x41d176(0x40b)]((0x0,_0x1cc938['getDrawingShapeKeyByDrawingSearch'])(_0x384b4f)),_0x5013d9=_0x45beb9==null||(_0x1038e5=_0x45beb9[_0x41d176(0x40c)])==null?void 0x0:_0x1038e5['call'](_0x45beb9);return _0x5013d9!=null&&_0x5013d9[_0x41d176(0x4cf)]&&_0x5013d9['naturalWidth']>0x0?_0x5013d9:null;}};_0x415d7c=_0x58c753([_0x492bb2(0x0,_0x1cc938[_0x2c9ee4(0x395)]),_0x492bb2(0x1,_0x1d3927[_0x2c9ee4(0x2a7)]),_0x492bb2(0x2,(0x0,_0x3811f3[_0x2c9ee4(0x33e)])(_0x2927d8)),_0x492bb2(0x3,(0x0,_0x3811f3[_0x2c9ee4(0x33e)])(_0x39ab44['DocPrintInterceptorService']))],_0x415d7c);function _0xb5a7dc(_0x3f3f93){const _0x5c145d=_0x2c9ee4;var _0x2d279a,_0x29a0e4,_0x4fc1ee,_0x231898;let _0x459baa=((_0x2d279a=_0x3f3f93[_0x5c145d(0x413)])==null?void 0x0:_0x2d279a['width'])??((_0x29a0e4=_0x3f3f93[_0x5c145d(0x262)])==null||(_0x29a0e4=_0x29a0e4[_0x5c145d(0x39c)])==null?void 0x0:_0x29a0e4[_0x5c145d(0x273)])??0x0,_0x33981f=((_0x4fc1ee=_0x3f3f93[_0x5c145d(0x413)])==null?void 0x0:_0x4fc1ee[_0x5c145d(0x217)])??((_0x231898=_0x3f3f93['docTransform'])==null||(_0x231898=_0x231898['size'])==null?void 0x0:_0x231898['height'])??0x0;return _0x459baa>0x0&&_0x33981f>0x0?{'width':Math[_0x5c145d(0x3c6)](0x1,Math[_0x5c145d(0x1ff)](_0x459baa)),'height':Math[_0x5c145d(0x3c6)](0x1,Math[_0x5c145d(0x1ff)](_0x33981f))}:null;}function _0x4562d2(_0x249e1d){return new Promise((_0xc7fe5a,_0x44355b)=>{const _0x38153f=_0x3b85;let _0x27f119=new globalThis[(_0x38153f(0x37a))](),_0x51be5c=globalThis[_0x38153f(0x44e)](()=>_0x44355b(Error(_0x38153f(0x43b))),0x2710),_0x276b8a=_0x229c7e=>{const _0x57ae33=_0x38153f;globalThis[_0x57ae33(0x22e)](_0x51be5c),_0x27f119['onload']=null,_0x27f119['onerror']=null,_0x229c7e();};_0x27f119['onload']=()=>_0x276b8a(()=>_0xc7fe5a(_0x27f119)),_0x27f119[_0x38153f(0x1f9)]=()=>_0x276b8a(()=>_0x44355b(Error('Failed\x20to\x20load\x20document\x20chart\x20print\x20image.'))),_0x27f119[_0x38153f(0x421)]=_0x249e1d,_0x27f119['complete']&&_0x27f119[_0x38153f(0x431)]>0x0&&_0x276b8a(()=>_0xc7fe5a(_0x27f119));});}let _0x133472=class extends _0x3811f3[_0x2c9ee4(0x2e7)]{constructor(_0xbb1d42=_0x3ddb96,_0xe754de,_0x20d37f,_0x46c2f0){const _0x1a2250=_0x2c9ee4;super(),this[_0x1a2250(0x2cb)]=_0xbb1d42,this[_0x1a2250(0x340)]=_0xe754de,this['_configService']=_0x20d37f,this[_0x1a2250(0x2be)]=_0x46c2f0;let {..._0x2d0cd2}=(0x0,_0x3811f3[_0x1a2250(0x27e)])({},_0x3ddb96,this[_0x1a2250(0x2cb)]);this['_configService'][_0x1a2250(0x2a5)](_0x4be4e2,_0x2d0cd2),[_0x5637e0,_0x76fe7][_0x1a2250(0x26e)](_0xd8e86a=>this['disposeWithMe'](this[_0x1a2250(0x2be)][_0x1a2250(0x4f7)](_0xd8e86a)));}['onStarting'](){const _0x420059=_0x2c9ee4;[[_0x3d48c5],[_0xf47eb3],[_0x437a27],[_0x480905,{'useClass':_0x42559e}],[_0x5d9504],[_0x415d7c],[_0x4423c2],[_0x2927d8],[_0x46b4f3],[_0x6516ba],[_0x208aa3],[_0x186c71],[_0x277872],[_0x48a9d1]][_0x420059(0x26e)](_0x259b20=>this[_0x420059(0x340)][_0x420059(0x494)](_0x259b20)),(0x0,_0x3811f3['touchDependencies'])(this[_0x420059(0x340)],[[_0xf47eb3],[_0x437a27],[_0x480905],[_0x5d9504],[_0x415d7c],[_0x4423c2],[_0x2927d8],[_0x46b4f3],[_0x186c71],[_0x277872]]),this[_0x420059(0x340)][_0x420059(0x315)](_0x3d48c5);}[_0x2c9ee4(0x22a)](){const _0x8b9800=_0x2c9ee4;this[_0x8b9800(0x340)][_0x8b9800(0x315)](_0x6516ba),this[_0x8b9800(0x340)][_0x8b9800(0x315)](_0x208aa3),this[_0x8b9800(0x340)][_0x8b9800(0x315)](_0x186c71),this[_0x8b9800(0x340)][_0x8b9800(0x315)](_0x277872),this[_0x8b9800(0x340)][_0x8b9800(0x315)](_0x48a9d1);}};_0x5e43a2(_0x133472,'type',_0x3811f3['UniverInstanceType']['UNIVER_DOC']),_0x5e43a2(_0x133472,_0x2c9ee4(0x451),'UniverDocsChartUIPlugin'),_0x5e43a2(_0x133472,_0x2c9ee4(0x389),_0x4e2369),_0x5e43a2(_0x133472,_0x2c9ee4(0x351),_0x12a4c9),_0x133472=_0x58c753([(0x0,_0x3811f3[_0x2c9ee4(0x22c)])(_0x10544d[_0x2c9ee4(0x331)],_0x100932[_0x2c9ee4(0x378)],_0x1cc938['UniverDrawingPlugin'],_0x1d3927[_0x2c9ee4(0x497)],_0x3e994e['UniverDocsDrawingPlugin'],_0x39ab44[_0x2c9ee4(0x371)],_0x28ba9f['UniverChartMobileUIPlugin'],_0x2d4ecf[_0x2c9ee4(0x42f)],_0x530b3f[_0x2c9ee4(0x4f4)]),_0x492bb2(0x1,(0x0,_0x3811f3[_0x2c9ee4(0x33e)])(_0x3811f3['Injector'])),_0x492bb2(0x2,_0x3811f3[_0x2c9ee4(0x1e6)]),_0x492bb2(0x3,_0x3811f3[_0x2c9ee4(0x3c1)])],_0x133472);let _0x541062=class extends _0x3811f3['Disposable']{constructor(_0x3ec6ad){const _0x235770=_0x2c9ee4;super(),this[_0x235770(0x415)]=_0x3ec6ad,this['_registerComponents']();}[_0x2c9ee4(0x2f8)](){const _0x1c3dcb=_0x2c9ee4;this[_0x1c3dcb(0x1f6)](),this[_0x1c3dcb(0x1d0)](this[_0x1c3dcb(0x415)][_0x1c3dcb(0x282)](_0x3811f3['DOC_DRAWING_PRINTING_COMPONENT_KEY'],_0x24c46c)),this[_0x1c3dcb(0x1d0)](this[_0x1c3dcb(0x415)][_0x1c3dcb(0x282)](_0x2ebdef,_0x5c5dca));}['_registerEditors'](){const _0x1a140e=_0x2c9ee4;this[_0x1a140e(0x1d0)](this[_0x1a140e(0x415)][_0x1a140e(0x282)](_0x3bedb1,_0x5ac44e)),this['disposeWithMe'](this[_0x1a140e(0x415)][_0x1a140e(0x282)](_0x4ec2c5,_0xc76323)),this[_0x1a140e(0x1d0)](this[_0x1a140e(0x415)][_0x1a140e(0x282)](_0x5a0ada,_0x1b106e));}};_0x541062=_0x58c753([_0x492bb2(0x0,(0x0,_0x3811f3[_0x2c9ee4(0x33e)])(_0x212387[_0x2c9ee4(0x30d)]))],_0x541062);let _0x41324d='min(1200px,\x20calc(100vw\x20-\x2032px))',_0x5bba46=class extends _0x3811f3[_0x2c9ee4(0x277)]{constructor(_0x1f9ee5,_0x40f671,_0x34b6ee,_0x4e7042,_0x5596eb,_0xac35c3,_0x5a4526){const _0x138a25=_0x2c9ee4;super(),this[_0x138a25(0x335)]=_0x1f9ee5,this[_0x138a25(0x25f)]=_0x40f671,this['_instanceService']=_0x34b6ee,this[_0x138a25(0x2cc)]=_0x4e7042,this['_docContentInsertService']=_0x5596eb,this[_0x138a25(0x471)]=_0xac35c3,this[_0x138a25(0x2be)]=_0x5a4526,this[_0x138a25(0x459)](),this[_0x138a25(0x4ac)]();}[_0x2c9ee4(0x343)](_0x14c869){const _0x3c83e6=_0x2c9ee4;let _0x3d443a=null,_0x50be25=this[_0x3c83e6(0x2f0)]['getCurrentUnitOfType'](_0x3811f3['UniverInstanceType'][_0x3c83e6(0x1ed)]),_0x28a68d=()=>{let _0x49c3b4=_0x3d443a;_0x3d443a=null,_0x49c3b4==null||_0x49c3b4['dispose']();};return _0x3d443a=this[_0x3c83e6(0x335)][_0x3c83e6(0x210)]({'id':_0x3c83e6(0x3c7),'title':{'title':this['_localeService']['t'](_0x3c83e6(0x3bb))},'width':_0x41324d,'draggable':!0x1,'mask':!0x0,'maskClosable':!0x1,'children':{'label':{'name':_0x3bedb1,'props':{'defaultChartType':(_0x14c869==null?void 0x0:_0x14c869[_0x3c83e6(0x341)])??(_0x14c869==null?void 0x0:_0x14c869['value']),'defaultTableText':_0x14c869==null?void 0x0:_0x14c869[_0x3c83e6(0x3b7)],'insertOptions':{'unitId':_0x50be25==null?void 0x0:_0x50be25[_0x3c83e6(0x236)](),'insertRange':(_0x14c869==null?void 0x0:_0x14c869[_0x3c83e6(0x3dc)])??this[_0x3c83e6(0x462)]()},'onCancel':_0x28a68d,'onInserted':_0x28a68d}}},'onClose':_0x28a68d}),!0x0;}['openEditorDialog'](_0x1c805e){const _0x1e3f53=_0x2c9ee4;let _0x25ed15=null,_0x1a87b2=()=>{let _0x1df9e2=_0x25ed15;_0x25ed15=null,_0x1df9e2==null||_0x1df9e2['dispose']();};return _0x25ed15=this[_0x1e3f53(0x335)][_0x1e3f53(0x210)]({'id':_0x4bcfb2,'title':{'title':this[_0x1e3f53(0x25f)]['t']('docs-chart-ui.common.editChart')},'width':_0x41324d,'draggable':!0x1,'mask':!0x0,'maskClosable':!0x1,'children':{'label':{'name':_0x5a0ada,'props':{..._0x1c805e,'onClose':_0x1a87b2}}},'onClose':_0x1a87b2}),!0x0;}[_0x2c9ee4(0x459)](){const _0x37e055=_0x2c9ee4;this[_0x37e055(0x471)]['mergeMenu'](_0x46031f);}[_0x2c9ee4(0x4ac)](){const _0x202b3c=_0x2c9ee4;this[_0x202b3c(0x1d0)](this[_0x202b3c(0x2be)][_0x202b3c(0x46a)](_0x2085ba=>{const _0x3f3deb=_0x202b3c;if(_0x2085ba['id']===_0x5637e0['id']){this[_0x3f3deb(0x343)](_0x2085ba[_0x3f3deb(0x4ef)]);return;}if(_0x2085ba['id']===_0x76fe7['id']){let _0x5a49f5=_0x2085ba[_0x3f3deb(0x4ef)];_0x5a49f5&&this['openEditorDialog'](_0x5a49f5);}}));}['_captureInsertRange'](){const _0x1652b1=_0x2c9ee4;let _0xfc913f=this[_0x1652b1(0x2f0)][_0x1652b1(0x2d2)](_0x3811f3['UniverInstanceType'][_0x1652b1(0x1ed)]);if(!_0xfc913f)return;let _0x444f3b=_0xfc913f[_0x1652b1(0x236)](),_0x31fba8=null;try{_0x31fba8=this['_docContentInsertService'][_0x1652b1(0x3a3)](_0x444f3b);}catch{_0x31fba8=null;}if(_0x31fba8){let _0x2e8016={'startOffset':_0x31fba8[_0x1652b1(0x1e2)],'endOffset':_0x31fba8[_0x1652b1(0x38e)],'collapsed':_0x31fba8['startOffset']===_0x31fba8[_0x1652b1(0x38e)],'segmentId':_0x31fba8['segmentId']??''};return _0x11935b(_0xfc913f,_0x2e8016)?_0x2e8016:void 0x0;}let _0x42f154={'unitId':_0x444f3b,'subUnitId':_0x444f3b},_0x54a569=[...this[_0x1652b1(0x2cc)][_0x1652b1(0x4b3)](_0x42f154)??[]];if(_0x54a569['length']!==0x1)return;let _0x4c71b7=_0x54a569['find'](_0x85bd5a=>_0x85bd5a[_0x1652b1(0x4a5)])??_0x54a569[0x0];if(!_0x4c71b7||!_0x4c71b7[_0x1652b1(0x44f)]||_0x4c71b7[_0x1652b1(0x1e2)]==null)return;let _0xf0a47d={..._0x4c71b7,'segmentId':_0x4c71b7[_0x1652b1(0x2ea)]??''};return _0x11935b(_0xfc913f,_0xf0a47d)?_0xf0a47d:void 0x0;}};_0x5bba46=_0x58c753([_0x492bb2(0x0,(0x0,_0x3811f3[_0x2c9ee4(0x33e)])(_0x212387[_0x2c9ee4(0x2ae)])),_0x492bb2(0x1,(0x0,_0x3811f3['Inject'])(_0x3811f3[_0x2c9ee4(0x312)])),_0x492bb2(0x2,_0x3811f3[_0x2c9ee4(0x390)]),_0x492bb2(0x3,(0x0,_0x3811f3[_0x2c9ee4(0x33e)])(_0x100932[_0x2c9ee4(0x216)])),_0x492bb2(0x4,(0x0,_0x3811f3['Inject'])(_0x100932[_0x2c9ee4(0x1be)])),_0x492bb2(0x5,_0x212387[_0x2c9ee4(0x408)]),_0x492bb2(0x6,_0x3811f3['ICommandService'])],_0x5bba46);let _0x449f27=class extends _0x3811f3[_0x2c9ee4(0x2e7)]{constructor(_0xb25a9d=_0x3ddb96,_0x2f632c,_0x480cb4,_0x1591f7){const _0x54b374=_0x2c9ee4;super(),this[_0x54b374(0x2cb)]=_0xb25a9d,this[_0x54b374(0x340)]=_0x2f632c,this[_0x54b374(0x2bc)]=_0x480cb4,this[_0x54b374(0x2be)]=_0x1591f7;let {..._0x23fc2b}=(0x0,_0x3811f3[_0x54b374(0x27e)])({},_0x3ddb96,this[_0x54b374(0x2cb)]);this[_0x54b374(0x2bc)][_0x54b374(0x2a5)](_0x4be4e2,_0x23fc2b),this[_0x54b374(0x27c)]();}[_0x2c9ee4(0x4bb)](){const _0x16eaea=_0x2c9ee4;let _0x57e5b7=this[_0x16eaea(0x340)];this[_0x16eaea(0x38a)]()[_0x16eaea(0x26e)](_0x3f6f4e=>_0x57e5b7[_0x16eaea(0x494)](_0x3f6f4e)),(0x0,_0x3811f3[_0x16eaea(0x427)])(_0x57e5b7,[[_0xf47eb3],[_0x437a27],[_0x480905],[_0x5d9504],[_0x415d7c],[_0x4423c2],[_0x2927d8],[_0x46b4f3],[_0x186c71],[_0x277872]]),this[_0x16eaea(0x340)]['get'](_0x541062);}[_0x2c9ee4(0x22a)](){const _0xdf862d=_0x2c9ee4;this['_injector'][_0xdf862d(0x315)](_0x6516ba),this[_0xdf862d(0x340)][_0xdf862d(0x315)](_0x208aa3),this[_0xdf862d(0x340)]['get'](_0x186c71),this[_0xdf862d(0x340)][_0xdf862d(0x315)](_0x277872),this[_0xdf862d(0x340)][_0xdf862d(0x315)](_0x5bba46);}[_0x2c9ee4(0x38a)](){return[[_0x541062],[_0xf47eb3],[_0x437a27],[_0x480905,{'useClass':_0x42559e}],[_0x5d9504],[_0x415d7c],[_0x4423c2],[_0x2927d8],[_0x46b4f3],[_0x6516ba],[_0x208aa3],[_0x186c71],[_0x277872],[_0x5bba46]];}[_0x2c9ee4(0x27c)](){const _0x5394f1=_0x2c9ee4;[_0x5637e0,_0x76fe7][_0x5394f1(0x26e)](_0x515448=>{const _0x42368d=_0x5394f1;this[_0x42368d(0x1d0)](this[_0x42368d(0x2be)][_0x42368d(0x4f7)](_0x515448));});}};_0x5e43a2(_0x449f27,'type',_0x3811f3[_0x2c9ee4(0x450)][_0x2c9ee4(0x1ed)]),_0x5e43a2(_0x449f27,'pluginName',_0x2c9ee4(0x33a)),_0x5e43a2(_0x449f27,_0x2c9ee4(0x389),_0x4e2369),_0x5e43a2(_0x449f27,_0x2c9ee4(0x351),_0x12a4c9),_0x449f27=_0x58c753([(0x0,_0x3811f3[_0x2c9ee4(0x22c)])(_0x10544d[_0x2c9ee4(0x331)],_0x100932[_0x2c9ee4(0x378)],_0x1cc938[_0x2c9ee4(0x336)],_0x1d3927['UniverRenderEnginePlugin'],_0x3e994e['UniverDocsDrawingPlugin'],_0x39ab44[_0x2c9ee4(0x425)],_0x28ba9f[_0x2c9ee4(0x3d4)],_0x2d4ecf[_0x2c9ee4(0x42f)],_0x530b3f[_0x2c9ee4(0x2f1)]),_0x492bb2(0x1,(0x0,_0x3811f3[_0x2c9ee4(0x33e)])(_0x3811f3['Injector'])),_0x492bb2(0x2,_0x3811f3['IConfigService']),_0x492bb2(0x3,_0x3811f3[_0x2c9ee4(0x3c1)])],_0x449f27),_0x3267f0['DOCS_CHART_UI_PLUGIN_CONFIG_KEY']=_0x4be4e2,_0x3267f0[_0x2c9ee4(0x473)]=_0x2ebdef,_0x3267f0[_0x2c9ee4(0x376)]=_0x1dc157,_0x3267f0[_0x2c9ee4(0x2b2)]=_0x4ec2c5,_0x3267f0[_0x2c9ee4(0x418)]=_0x2c9ee4(0x4eb),_0x3267f0[_0x2c9ee4(0x26c)]=_0x5a0ada,_0x3267f0[_0x2c9ee4(0x2fa)]=_0x4bcfb2,_0x3267f0[_0x2c9ee4(0x35f)]=_0x2f25e7,_0x3267f0['DOC_CHART_INSERT_MENU_ID']=_0x694caf,_0x3267f0[_0x2c9ee4(0x4e6)]=_0x3bedb1,_0x3267f0[_0x2c9ee4(0x28c)]=_0x5c5dca,Object[_0x2c9ee4(0x4e8)](_0x3267f0,_0x2c9ee4(0x27f),{'enumerable':!0x0,'get':function(){return _0x5d9504;}}),Object[_0x2c9ee4(0x4e8)](_0x3267f0,_0x2c9ee4(0x303),{'enumerable':!0x0,'get':function(){return _0x186c71;}}),Object[_0x2c9ee4(0x4e8)](_0x3267f0,'DocChartDataEditService',{'enumerable':!0x0,'get':function(){return _0x437a27;}}),_0x3267f0[_0x2c9ee4(0x384)]=_0xc76323,_0x3267f0['DocChartDataEditorSubmitMode']=_0x35204c,Object[_0x2c9ee4(0x4e8)](_0x3267f0,_0x2c9ee4(0x4d8),{'enumerable':!0x0,'get':function(){return _0x277872;}}),_0x3267f0[_0x2c9ee4(0x304)]=_0x2622c2,_0x3267f0['DocChartEditorDialog']=_0x1b106e,_0x3267f0[_0x2c9ee4(0x29b)]=_0x268a25,_0x3267f0[_0x2c9ee4(0x259)]=_0x28f528,_0x3267f0[_0x2c9ee4(0x2d0)]=_0x5ac44e,_0x3267f0[_0x2c9ee4(0x39e)]=_0x42c7cf,Object[_0x2c9ee4(0x4e8)](_0x3267f0,_0x2c9ee4(0x36c),{'enumerable':!0x0,'get':function(){return _0xf47eb3;}}),Object[_0x2c9ee4(0x4e8)](_0x3267f0,_0x2c9ee4(0x2d1),{'enumerable':!0x0,'get':function(){return _0x415d7c;}}),Object['defineProperty'](_0x3267f0,_0x2c9ee4(0x444),{'enumerable':!0x0,'get':function(){return _0x4423c2;}}),Object[_0x2c9ee4(0x4e8)](_0x3267f0,'DocChartSnapshotRefreshController',{'enumerable':!0x0,'get':function(){return _0x6516ba;}}),Object[_0x2c9ee4(0x4e8)](_0x3267f0,_0x2c9ee4(0x3bc),{'enumerable':!0x0,'get':function(){return _0x2927d8;}}),Object[_0x2c9ee4(0x4e8)](_0x3267f0,'DocChartUIService',{'enumerable':!0x0,'get':function(){return _0x42559e;}}),_0x3267f0[_0x2c9ee4(0x3dd)]=_0x47f1b4,_0x3267f0[_0x2c9ee4(0x4f8)]=_0x24c46c,_0x3267f0[_0x2c9ee4(0x374)]=_0x46031f,_0x3267f0[_0x2c9ee4(0x2a6)]=_0x22a0b8,_0x3267f0[_0x2c9ee4(0x3eb)]=_0x480905,_0x3267f0[_0x2c9ee4(0x39a)]=_0x76fe7,_0x3267f0[_0x2c9ee4(0x32a)]=_0x5637e0,Object['defineProperty'](_0x3267f0,_0x2c9ee4(0x1d2),{'enumerable':!0x0,'get':function(){return _0x133472;}}),Object[_0x2c9ee4(0x4e8)](_0x3267f0,_0x2c9ee4(0x33a),{'enumerable':!0x0,'get':function(){return _0x449f27;}}),_0x3267f0[_0x2c9ee4(0x429)]=_0x3ddb96,_0x3267f0[_0x2c9ee4(0x453)]=_0x5bd49c;}));function _0xc482(){const _0x541b18=['resolveChartElementSelection','add','@univerjs-pro/chart-ui','_docContentInsertService','UniverRenderEnginePlugin','ChartSnapshotQueue','_refreshActiveLayout','ChartIndicatorLineColorField','chartType$','_syncChartImageVisibility','_activeDomReadyDrawingKeys','univer-flex\x20univer-w-full\x20univer-flex-col\x20univer-gap-4','GridlinesAndTicks','doc-chart-preview-','ChartEditPanelTab','VIEW_MAIN','DOC_CONTENT_INSERT_MENU_ID','univer-shrink-0','isActive','DrawingTypeEnum','click','_createChartRenderInstanceContext','tabpanel','ChartNumberFormatTextField','_manageHostSize','_registerDialogOperations','DEFAULT_CHART_TITLE_VALUES','chartModelAdded$','DEFAULT_CHART_DEVICE_PIXEL_RATIO','clear','pipe','addFloatDom','getTextRanges','wordCloud','@univerjs-pro/docs-chart','docs-chart-ui.section.indicatorLine','ChartEditPanelSection','ChartGridlineWidthField','DEFAULT_CHART_PIE_VALUES','ChartAxisReverseField','onStarting','getCanvasElement','docs-chart-ui.common.chartType','IDocDrawingAdapterService','DEFAULT_CHART_INDICATOR_LINE_VALUES','3sGykFw','doc-chart-data-panel','CHART_TYPE_CATALOG','span','focus$','@univerjs/docs-drawing','docs-chart-ui.common.series','_requestSnapshotsForUnit','renderRect','resolveDefaultChartHostFrameStyle','map','getDataSourceSharingCount','Category\x09Value','label','docs-chart-ui.section.lineAndArea','complete','setClipBounds','MenuItemType','color','customBlockMappings','docs-chart-ui.section.sunburst','doc-chart.insert-panel','doc-chart.ui.service','contentRect','DocChartDrawingEditController','DRAWING_CHART','UnknownOption','docs-chart-ui.common.verticalAxis','focus','docs-chart-ui.common.chartStyle','ChartImageExportService','checkMounted','docs-chart-ui.common.data','createRenderSpec','addObject','ChartAxisFormatTextField','scale(','marginTop','DOC_CHART_INSERT_PANEL_COMPONENT','indicatorLine','defineProperty','B\x0918','type','doc-chart.dialog.data-editor','exportImage','remove$','dataAggregation$','params','_applyHostStyle','chart','_getChartDrawing','overflow','UniverDocsDrawingMobileUIPlugin','split','ChartStyleSection','registerCommand','DocPrintChart','blockRanges','mergeMenu','context$','ChartFunnelStyleSection','secondaryPlot','Module','getSkeletonData','_host','DEFAULT_CHART_RADAR_VALUES','position$','amd','reconcileChartContext','setActiveChartRuntime','UniverDocsDrawingUi','getBody','DocContentInsertService','\x20has\x20no\x20render\x20config.','absolute','snapshotUpdated$','univer-flex\x20univer-justify-end\x20univer-gap-2','mountChart','hidden','direction$','DOC_DRAWING_PRINTING_COMPONENT_KEY','rxjs','@univerjs/docs','_canvasFloatDomService','resolve','endIndex','_visualLayoutChanged$','referenced','Treemap','Subject','disposeWithMe','startIndex','UniverDocsChartMobileUIPlugin','pageHeight','1545468sFWqIM','univer-flex\x20univer-size-full\x20univer-min-w-0\x20univer-gap-5','top','allSettled','react/jsx-runtime','doc-chart-editor-panel','borderRadius','-tab','TRANSFORM_CHANGE_OBSERVABLE_TYPE','_snapshotService','React','useEffect','_drawingAdapterService','SetDocChartSnapshotMutation','startOffset','createChartInstance','decorate','addEventListener','IConfigService','ChartLegendWrapField','SetDocChartDataSourceMutation','ChartSeriesLabelVisibilityField','docs-chart-ui.chartNotFound','ChartTypeSpecificSetupSection','ChartRenderMode','UNIVER_DOC','univer-flex\x20univer-flex-col\x20univer-gap-3\x20univer-px-4\x20univer-pb-5','ChartStyle','scene','univer-flex\x20univer-flex-col\x20univer-gap-2','invalidateChart','getDataSourceRuntimeState$','dataSource','ChartSectionAccordionContent','_registerEditors','getDrawingOrder','docs-chart-ui.chord.target','onerror','lastIndexOf','pending','_prepareStandaloneInsertLine','ContextMenuGroup','auditTime','round','_pasteAdapterService','WaterfallSeries','set','MobileChartEditorProvider','flipY','getRealBound','_resolveInsertPosition','next','466223lPIMTQ','HorizontalAxis','_removeRenderedCharts','Trendline','labelId','dark:!univer-bg-gray-900/90\x20univer-bg-gray-0/90\x20univer-absolute\x20univer-bottom-3\x20univer-left-3\x20univer-rounded\x20univer-px-2\x20univer-py-1\x20univer-text-xs\x20univer-text-red-600\x20dark:!univer-text-red-400','aLeft','RemoveDocChartDataSourceMutation','open','config','registerAdapter','univer-flex-none\x20univer-overflow-visible','position','createIdentifier','DocSelectionManagerService','height','_init','mode','ChartWaterfallStyleSection','Chord','GeneralSeries','DataStreamTreeTokenType','rightY','then','className','createElement','call','_getDrawingRect','DEFAULT_CHART_FUNNEL_VALUES','changeDataSource','scaleX','IChartRenderModelManagerService','ChartAxisBoundsFields','dataSourceId','onReady','UniverProDocsChart','DependentOn','InsertDocChartCommand','clearTimeout','_requestSnapshot','docs-chart-ui.common.insert','toPrimitive','parseInlineChartTable','_draw','_requestSnapshotsForSearches','isReferencedChartDataSource','getUnitId','drawingType','lineAndArea','getRect','DocChartModelService','UniverProChartUi','docs-chart-ui.candlestick.columnsError','transparent','getRenderUnitById','univer-flex\x20univer-shrink-0\x20univer-justify-end\x20univer-gap-2','chartId','_syncRenderedChartVisibility','_getActiveRenderRect','makeDirty','ChartUIService','getDataSourceRuntimeState','ChartEditorCapability','dispose','ChartResourceRepository','univer-min-h-0\x20univer-min-w-0\x20univer-flex-1\x20univer-overflow-hidden','BehaviorSubject','boxSizing','docDrawingPositionToTransform','baseOn','chartType','ensureChartModel','axis','ChartAndAxisTitles','docs-chart-ui.section.gauge','ChartModel','onScrollAfter$','filter','isFinite','addClipboardHook','createChartInlineStarterData','DocChartInsertMenuItemFactory','setActiveDomReady','config$','96gCFjZh','style','ChartLegendFontSizeField','_localeService','@univerjs/ui','docs-chart-ui.sunburst.hierarchy','docTransform','docs-chart-ui.common.apply','docs-chart-ui.common.valueField','univer-min-h-0\x20univer-flex-1\x20univer-overflow-auto\x20univer-overscroll-contain\x20univer-pr-1','docs-chart-ui.section.histogram','doc-chart-host','fill','ChartTitleFontSizeFields','_snapshotRenderService','useChartEditorHasRightAxis','DOC_CHART_EDITOR_DIALOG_COMPONENT','ChartSeriesPointFields','forEach','univer-p-4\x20univer-text-sm\x20univer-text-gray-500\x20dark:!univer-text-gray-400','RightVerticalAxis','_chartThemeService','Observable','width','requestSnapshot','DOC_PARAGRAPH_T_INSERT_BELOW_MENU_ID','ChartImageExportFormat','Disposable','positionObserver','UniverProDocsChartUi','catch','62865UgaEWM','_initCommands','getChartInlineTableMinColumns','merge','DocChartActiveRenderService','ChartThemeService','docs-chart-ui.common.editData','register','_getActiveRenderScale','Optional','button','WordCloud','LAYOUT','number','docs-chart-ui.floatMenu.menuTitle.chart','docs-chart-ui.updateChartFailed','_staticRenderController','DocActiveChart','_initAdapter','80itIkrc','Histogram','index','seriesId','children','Pareto','_floatingToolbarAdapterService','_drawingManagerService','univer-min-h-0\x20univer-flex-1','ChartAxisLabelStyleFields','chartContext','preValue','IDocClipboardService','DocChartInsertBelowMenuItemFactory','ChartParetoSeriesSection','customBlocks','1.0.0','Pie','PRINTING_COMPONENT_COLLECT','_modelService','docs-chart-ui.section.candlestick','DRAWING_OBJECT_LAYER_INDEX','intercept','setConfig','IDocChartSnapshotRendererService','IRenderManagerService','pareto','tab','ChartSeriesLabelFontSizeField','RemoveDocChartSnapshotMutation','syncExecuteCommand','dataUrl','IDialogService','chartModelRemoved$','has','_layoutChanged$','DOC_CHART_DATA_EDITOR_COMPONENT','MobileChartEditorControls','docs-chart-ui.common.customize','generateRandomId','border','_renderManagerService','textSelection$','markNotReady','_hostStyle','Heatmap','_configService','_bindActiveLayerObservers','_commandService','UniverProLicense','mobile','docs-chart-ui.common.rightVerticalAxis','route','doc.operation.open-doc-chart-insert-dialog','duplicate','univer-flex\x20univer-min-w-0\x20univer-flex-col\x20univer-gap-4','\x0a\x20\x20\x20\x20\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-overflow-hidden\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-bg-gray-0\x0a\x20\x20\x20\x20\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\x20\x20','backgroundColor','_preparedCharts','_getPasteMutationInfos','ChartLegendRoot','_config','_docSelectionManagerService','docsTop','marginLeft','LineAndArea','DocChartInsertPanel','DocChartPrintService','getCurrentUnitOfType','DOC_PARAGRAPH_T_INSERT_MENU_ID','docs-chart-ui.section.funnel','dispatchEvent','docs-chart-ui.active-chart','left','Column','match','ChartEditPanelTabs','status','object','_setElementSize','DEFAULT_CHART_SERIES_VALUES','getDataSet','setActiveChartById','ensureMount','buildOrientedChartDataSet','A\x0912','_getChartDrawings','_getRenderedChartImage','INSERT_BELLOW_MENU_ID','Plugin','code','univer-shrink-0\x20univer-px-3','segmentId','_updatePosition','DEFAULT_CHART_WATERFALL_STYLE_VALUES','current','charts','setStyle','_instanceService','UniverDocsDrawingUIPlugin','executeChartUpdateConfig','univer-text-sm\x20univer-font-medium\x20univer-text-gray-900\x20dark:!univer-text-gray-0','ChartWaterfallSetupFields','prepare','_renderModelManager','onClose','_registerComponents','_activate','DOC_CHART_EDITOR_DIALOG_ID','docs-chart-ui.candlestick.open','order','Funnel','ChartWordCloudShapeField','_getOrCreatePastedDataSourceId','DEFAULT_CHART_WORD_CLOUD_VALUES','ChartAxisLabelVisibilityField','indexOf','DocChartClipboardController','DocChartEditPanel','docs-chart-ui.section.radar','ChartGradientFillField','doc','ChartAxisLineVisibilityField','docs-chart-ui.common.insertChart','getChart','getUnit','docs-chart-ui.previewRenderFailed','ComponentManager','SHARED','_docPrintInterceptorService','629126URgtOt','_resourceService','LocaleService','sceneRect','univer-flex\x20univer-min-h-0\x20univer-w-full\x20univer-flex-col\x20univer-gap-4','get','ChartEditBlockTitle','funnel','_deactivate','px\x20solid\x20','docs-chart-ui.common.heatmap','executeCommand','OPERATION','_mountNode','context','InlineChartCreationIssueCode','ChartIcon','ChartTypeBits','cumulativeLineStyle','setChartContext','values','format','useDependency','getCurrentTypeOfUnit$','transformByState','dataSources','OpenDocChartInsertDialogOperation','Gauge','ChartSubtitleFields','waterfallStyle','constructor','right','applyHostStyle','UniverLicensePlugin','DEFAULT_CHART_LINE_AND_AREA_VALUES','load','shared','_dialogService','UniverDrawingPlugin','useObservable','ChartEditorProvider','Legend','UniverDocsChartUIPlugin','textRanges','getEditorState','sourceDrawing','Inject','initialRoute','_injector','defaultChartType','supports','openInsertDialog','DEFAULT_CHART_PARETO_VALUES','375557cKjkvV','ChartSectionAccordionTrigger','docs-chart-ui.common.deleteChart','subscription','DocumentChartConfigAdapter','useMemo','getDirection','toStringTag','docs-chart-ui.chord.source','Dom','buildChartTypeSelectOptions','change','version','ChartRadarStyleSection','relation','toDisposable','_imageContentHidden','CommandType','dataAggregation','setImageContentHidden','getMenuHiddenObservable','Document\x20chart\x20snapshot\x20rendering\x20requires\x20a\x20browser\x20document.','_renderService','primary','_univerInstanceService','pages','DOC_CHART_INSERT_BELOW_MENU_ID','doc-chart-preview','createRenderInput','ChartWordCloudRepeatField','docs-chart-ui.common.insertChartFailed','getChartHostFrameContentRect','min','string','doughnutHole','symbol','.below','_docClipboardService','docs-chart-ui.common.value','DocChartInsertService','replaceChildren','PARAGRAPH','target','unitId','UniverDocsMobileUIPlugin','push','ChartLegendSelectModeField','DocsChartUIMenuSchema','segmented','DOC_CHART_CLIPBOARD_RESOURCE_KEY','init','UniverDocsPlugin','model','Image','pieSecondaryPlotType','ChartLegendPositionField','_appendChartResources','@univerjs/engine-render','_getPositionState','ChartInlineTableEditor','ChartAxisTitleFields','visible','getOffsetConfig','DocChartDataEditor','scale','ChartSeriesFillFields','combineLatest','_isDocChartDrawing','packageName','_getDependencies','docs-chart-ui.section.gridlinesAndTicks','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-flex\x20univer-w-full\x20univer-min-w-0\x20univer-flex-col\x20univer-overflow-hidden\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-overscroll-contain\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','ParetoBarSeries','endOffset','_initPrinting','IUniverInstanceService','observe','transformOrigin','top\x20left','univer-w-full\x20!univer-min-w-0','IDrawingManagerService','_listenRuntimeData','doc-chart.editor-dialog','_bindRuntimeState','getId','OpenDocChartEditorDialogOperation','resolveChartEditPanelRoute','size','disconnect','DocChartInsertRibbonMenuItemFactory','_frameNode','Tools','5918693RRUQzm','subUnitId','consumeInsertRange','_getDrawingSearch','Relation','univer-flex\x20univer-shrink-0\x20univer-px-1\x20univer-pb-4\x20univer-pt-4','ChartPieStyleSection','@univerjs/core','disableMenuWhenHeaderFooterEditing','DUPLICATE','_forEachChartDrawing','ChartEditPanel','getCurrentRenderModel','tryPrepareInlineChartData','targetDrawing','activeRuntimeModel','_handleFocus','chartTypeSupportsCapability','root','CanvasFloatDomService','DEFAULT_TRANSFORMER_CONFIG','ChartIndicatorLineTypeField','defaultTableText','UniverDrawing','Axes','-data-source','docs-chart-ui.common.editChart','DocChartSnapshotRenderService','deepClone','iterator','UpdateDocChartConfigCommand','breakOffsets','ICommandService','UniverEngineRender','ChartSeriesRoot','_getContentRect','appendChild','max','doc-chart.dialog.insert','bind','series','isInlineChartDataSource','Candlestick','ChartRelationStyleSection','syncLayout','SVG','canvas','UniverProEngineChart','ChartSeriesLabelPositionField','_activeLayer','min(560px,\x20calc(100vh\x20-\x20180px))','UniverChartUIPlugin','ChartTypeSpecificStyleSection','skeDrawings','_getRenderScale','getHostStyle','docs-chart-ui.section.chord','jsx','_initClipboardHooks','insertRange','DocDomChartHost','pie','PieStyle','univer-text-xs\x20univer-text-red-600\x20dark:!univer-text-red-400','find','angle','onDataSourceSubmit','chartBitsUtils','relative','issue','main','DEFAULT_CHART_AXIS_VALUES','markReady','docs-chart-ui.common.trendline','IDocChartUIService','refreshTransform$','titles','ChartGridlineVisibilityField','ready','getBoundingClientRect','univer-w-full\x20univer-justify-start','Injector','iconName','add$','univer-h-12\x20univer-w-full','dpr','value','length','ChartMainTitleFields','useChartEditorComponents','radar','slice','_runtimeStateSubscriptions','keys','DrawingEditIcon','onPreviewChartTypeChange','Failed\x20to\x20render\x20document\x20chart\x20snapshot:\x20','Series','getDrawings','getDrawingDataForUnit','react','plan','useChartEditorChartType','IMenuManagerService','Waterfall','some','getObjectIncludeInGroup','getNative','BUTTON','_isActiveLayer','aTop','chartTypeSupportsLineAndAreaStyle','inline','@univerjs/docs-drawing-ui','transform','getDataSource','_componentManager','doc.operation.open-doc-chart-editor-dialog','doc-chart.data-editor','DOC_CHART_DATA_EDITOR_DIALOG_ID','default','ChartWordCloudRoot','Doughnut','section','docs-chart-ui.common.setup','docs-chart-ui.section.waterfall','56ACiYbo','Radar','src','docs-chart-ui.config','radius','flipX','UniverDocsUIPlugin','docs-chart-ui.section.pie','touchDependencies','docs-chart-ui.common.cancel','defaultPluginConfig','drawingId','_getRenderRect','IndicatorLine','image','hide','UniverDocsChartPlugin','MEDIA','naturalWidth','doc-chart-setup-panel','RemoveDocDrawingCommand','updateData','shouldComposeChartHostFrame','useRef','subscribeEvent','dblclick','docs-chart-ui.common.category','jsxs','Timed\x20out\x20loading\x20document\x20chart\x20print\x20image.','scaleY','univer-flex\x20univer-w-full\x20univer-min-w-0\x20univer-flex-col','tryBuildInlineChartCreationPlan','docs-chart-ui.common.label','parseInt','ChartAxisTickVisibilityField','__docsChartResource','scaleObserver','DocChartRenderService','content-box','changeSource','docs-chart-ui.chartTypes.','@univerjs/docs-ui','getDataUrl','barStyle','show','sourceDocuments','_renderCharts','setTimeout','collapsed','UniverInstanceType','pluginName','every','getDocChartInsertDisabledObservable','removeFloatDom','data','docs-chart-ui.section.treemap','doc-chart.snapshot-renderer','subscribe','_initMenus','ParetoLineSeries','getSelfOrHeaderFooterModel','univer-flex\x20univer-shrink-0\x20univer-justify-end\x20univer-px-1\x20univer-pb-4\x20univer-pt-4','CHART_RESOURCE_VERSION','166824LVWoMY','function','_renderDrawing','DEFAULT_CHART_STYLE_VALUES','_captureInsertRange','getCacheKey','@univerjs-pro/docs-chart-ui','docs-chart-ui.candlestick.low','unsubscribe','READY','docs-chart-ui.candlestick.high','_releaseRuntimeState','onCommandExecuted','univer-flex\x20univer-h-full\x20univer-min-h-0\x20univer-w-full\x20univer-flex-col\x20univer-gap-4','SECTION_BREAK','join','docs-chart-ui.close','_refreshActivePosition','Document\x20chart\x20','_menuManagerService','EmptyData','DOC_ACTIVE_CHART_COMPONENT','ChartSectionAccordion','getOwnPropertyDescriptor','VIEWPORT_KEY','style$','render','generateChartContext','ChartTypeSpecificDataSection','tables','delete','contains','ChangeDocChartDataSourceCommand','ChartReferencedDataSourceEditor','onTransformChange$','engine','docs-chart-ui.common.horizontalAxis','docs-chart-ui.common.tableDataEmpty','univer-flex\x20univer-flex-col\x20univer-gap-3','@univerjs/drawing','ChartDataSourceRuntimeStatus','Sunburst','getDrawingByParam','getDrawingShapeKeyByDrawingSearch','useState','div','_createImageShape','min(1200px,\x20calc(100vw\x20-\x2032px))','VerticalAxis','UniverCore','Data','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-flex\x20univer-w-full\x20univer-flex-col\x20univer-bg-gray-0\x0a\x20\x20\x20\x20\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\x20\x20','insertChart'];_0xc482=function(){return _0x541b18;};return _0xc482();}
|