@univerjs-pro/docs-chart-ui 1.0.0-rc.0 → 1.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (93) hide show
  1. package/lib/cjs/index.js +1 -1
  2. package/lib/cjs/locale/ar-SA.js +1 -1
  3. package/lib/cjs/locale/ca-ES.js +1 -1
  4. package/lib/cjs/locale/de-DE.js +1 -1
  5. package/lib/cjs/locale/en-US.js +1 -1
  6. package/lib/cjs/locale/es-ES.js +1 -1
  7. package/lib/cjs/locale/fa-IR.js +1 -1
  8. package/lib/cjs/locale/fr-FR.js +1 -1
  9. package/lib/cjs/locale/id-ID.js +1 -1
  10. package/lib/cjs/locale/it-IT.js +1 -1
  11. package/lib/cjs/locale/ja-JP.js +1 -1
  12. package/lib/cjs/locale/ko-KR.js +1 -1
  13. package/lib/cjs/locale/pl-PL.js +1 -1
  14. package/lib/cjs/locale/pt-BR.js +1 -1
  15. package/lib/cjs/locale/ru-RU.js +1 -1
  16. package/lib/cjs/locale/sk-SK.js +1 -1
  17. package/lib/cjs/locale/vi-VN.js +1 -1
  18. package/lib/cjs/locale/zh-CN.js +1 -1
  19. package/lib/cjs/locale/zh-HK.js +1 -1
  20. package/lib/cjs/locale/zh-TW.js +1 -1
  21. package/lib/es/index.js +1 -1
  22. package/lib/es/locale/ar-SA.js +1 -1
  23. package/lib/es/locale/ca-ES.js +1 -1
  24. package/lib/es/locale/de-DE.js +1 -1
  25. package/lib/es/locale/en-US.js +1 -1
  26. package/lib/es/locale/es-ES.js +1 -1
  27. package/lib/es/locale/fa-IR.js +1 -1
  28. package/lib/es/locale/fr-FR.js +1 -1
  29. package/lib/es/locale/id-ID.js +1 -1
  30. package/lib/es/locale/it-IT.js +1 -1
  31. package/lib/es/locale/ja-JP.js +1 -1
  32. package/lib/es/locale/ko-KR.js +1 -1
  33. package/lib/es/locale/pl-PL.js +1 -1
  34. package/lib/es/locale/pt-BR.js +1 -1
  35. package/lib/es/locale/ru-RU.js +1 -1
  36. package/lib/es/locale/sk-SK.js +1 -1
  37. package/lib/es/locale/vi-VN.js +1 -1
  38. package/lib/es/locale/zh-CN.js +1 -1
  39. package/lib/es/locale/zh-HK.js +1 -1
  40. package/lib/es/locale/zh-TW.js +1 -1
  41. package/lib/index.css +12 -0
  42. package/lib/index.js +1 -1
  43. package/lib/locale/ar-SA.js +1 -1
  44. package/lib/locale/ca-ES.js +1 -1
  45. package/lib/locale/de-DE.js +1 -1
  46. package/lib/locale/en-US.js +1 -1
  47. package/lib/locale/es-ES.js +1 -1
  48. package/lib/locale/fa-IR.js +1 -1
  49. package/lib/locale/fr-FR.js +1 -1
  50. package/lib/locale/id-ID.js +1 -1
  51. package/lib/locale/it-IT.js +1 -1
  52. package/lib/locale/ja-JP.js +1 -1
  53. package/lib/locale/ko-KR.js +1 -1
  54. package/lib/locale/pl-PL.js +1 -1
  55. package/lib/locale/pt-BR.js +1 -1
  56. package/lib/locale/ru-RU.js +1 -1
  57. package/lib/locale/sk-SK.js +1 -1
  58. package/lib/locale/vi-VN.js +1 -1
  59. package/lib/locale/zh-CN.js +1 -1
  60. package/lib/locale/zh-HK.js +1 -1
  61. package/lib/locale/zh-TW.js +1 -1
  62. package/lib/types/components/DocChartEditPanel.d.ts +1 -0
  63. package/lib/types/components/DocChartEditorDialog.d.ts +4 -0
  64. package/lib/types/components/MobileDocChartDataEditor.d.ts +17 -0
  65. package/lib/types/components/MobileDocChartEditor.d.ts +17 -0
  66. package/lib/types/components/MobileDocChartInsertPanel.d.ts +17 -0
  67. package/lib/types/controllers/components.controller.d.ts +3 -2
  68. package/lib/types/controllers/mobile/components.controller.d.ts +8 -0
  69. package/lib/types/controllers/mobile/ui.controller.d.ts +20 -0
  70. package/lib/types/index.d.ts +1 -0
  71. package/lib/types/mobile-plugin.d.ts +16 -0
  72. package/lib/types/plugin.d.ts +2 -0
  73. package/lib/umd/index.js +1 -1
  74. package/lib/umd/locale/ar-SA.js +1 -1
  75. package/lib/umd/locale/ca-ES.js +1 -1
  76. package/lib/umd/locale/de-DE.js +1 -1
  77. package/lib/umd/locale/en-US.js +1 -1
  78. package/lib/umd/locale/es-ES.js +1 -1
  79. package/lib/umd/locale/fa-IR.js +1 -1
  80. package/lib/umd/locale/fr-FR.js +1 -1
  81. package/lib/umd/locale/id-ID.js +1 -1
  82. package/lib/umd/locale/it-IT.js +1 -1
  83. package/lib/umd/locale/ja-JP.js +1 -1
  84. package/lib/umd/locale/ko-KR.js +1 -1
  85. package/lib/umd/locale/pl-PL.js +1 -1
  86. package/lib/umd/locale/pt-BR.js +1 -1
  87. package/lib/umd/locale/ru-RU.js +1 -1
  88. package/lib/umd/locale/sk-SK.js +1 -1
  89. package/lib/umd/locale/vi-VN.js +1 -1
  90. package/lib/umd/locale/zh-CN.js +1 -1
  91. package/lib/umd/locale/zh-HK.js +1 -1
  92. package/lib/umd/locale/zh-TW.js +1 -1
  93. package/package.json +17 -17
package/lib/index.js CHANGED
@@ -1 +1 @@
1
- const _0x4f20c2=_0x40ed;(function(_0x5e53c6,_0x15090d){const _0x190a36=_0x40ed,_0x4c2b5e=_0x5e53c6();while(!![]){try{const _0x5effc8=-parseInt(_0x190a36(0x382))/0x1*(parseInt(_0x190a36(0x3c9))/0x2)+parseInt(_0x190a36(0x28e))/0x3*(-parseInt(_0x190a36(0x1e7))/0x4)+-parseInt(_0x190a36(0x33a))/0x5*(-parseInt(_0x190a36(0x294))/0x6)+parseInt(_0x190a36(0x302))/0x7+-parseInt(_0x190a36(0x234))/0x8*(parseInt(_0x190a36(0x20c))/0x9)+-parseInt(_0x190a36(0x1a3))/0xa*(-parseInt(_0x190a36(0x307))/0xb)+-parseInt(_0x190a36(0x1f3))/0xc*(parseInt(_0x190a36(0x1ab))/0xd);if(_0x5effc8===_0x15090d)break;else _0x4c2b5e['push'](_0x4c2b5e['shift']());}catch(_0x2a819e){_0x4c2b5e['push'](_0x4c2b5e['shift']());}}}(_0x2187,0x7dde9));import{CommandType as _0xf74252,DOC_DRAWING_PRINTING_COMPONENT_KEY as _0x1978b1,DataStreamTreeTokenType as _0x198cf0,DependentOn as _0x16a024,Disposable as _0x5243ee,DrawingTypeEnum as _0x1c73b1,ICommandService as _0x2a1459,IConfigService as _0x3ac3b8,IUniverInstanceService as _0x559230,Inject as _0x571022,Injector as _0x577ec7,LocaleService as _0x15ff2e,Optional as _0x2153d7,Plugin as _0x1fd94b,Tools as _0x43501b,UniverInstanceType as _0x1a7e8c,createIdentifier as _0x52bae9,generateRandomId as _0x4280f7,merge as _0x5c65f9,toDisposable as _0x290cb5,touchDependencies as _0x51d409}from'@univerjs/core';import{CHART_TYPE_CATALOG as _0x22763b,ChartAxisBoundsFields as _0x402b69,ChartAxisFormatTextField as _0x8253ae,ChartAxisLabelStyleFields as _0x495cf6,ChartAxisLabelVisibilityField as _0x5c59e3,ChartAxisLineVisibilityField as _0x151db3,ChartAxisReverseField as _0x561c8b,ChartAxisTickVisibilityField as _0x146199,ChartAxisTitleFields as _0xcffd1c,ChartCommonDataMappingSection as _0x1ff491,ChartEditBlockTitle as _0x1e79b7,ChartEditPanel as _0x1722d3,ChartEditPanelSection as _0x5ea5aa,ChartEditPanelTab as _0x37480e,ChartEditPanelTabs as _0x46effc,ChartEditorCapability as _0x1d6892,ChartEditorProvider as _0x53646a,ChartFunnelStyleSection as _0x5b6a29,ChartGradientFillField as _0x513094,ChartGridlineVisibilityField as _0xa7448c,ChartGridlineWidthField as _0xd5afa6,ChartHeatmapStyleSection as _0x34fc5e,ChartHostAdapter as _0x825d5d,ChartImageExportService as _0xe4663e,ChartIndicatorLineColorField as _0x2b6552,ChartIndicatorLineTypeField as _0x2d8737,ChartInlineTableEditor as _0x3370ea,ChartLegendFontSizeField as _0xb46fd3,ChartLegendPositionField as _0x2f3702,ChartLegendRoot as _0x710448,ChartLegendSelectModeField as _0x481a4f,ChartLegendWrapField as _0x53124b,ChartLineAndAreaSection as _0x16097a,ChartMainTitleFields as _0xf5e6e2,ChartNumberFormatTextField as _0x35d8e2,ChartParetoSeriesSection as _0xc6a3b0,ChartPieStyleSection as _0x272df9,ChartRadarStyleSection as _0x94d58a,ChartReferencedDataSourceEditor as _0x53c43c,ChartRelationStyleSection as _0x389510,ChartSectionAccordion as _0x2a96be,ChartSectionAccordionContent as _0x33384f,ChartSectionAccordionItem as _0x56d838,ChartSectionAccordionTrigger as _0x113281,ChartSeriesBorderFields as _0x2705c8,ChartSeriesFillFields as _0x239fc8,ChartSeriesLabelFontSizeField as _0x315e33,ChartSeriesLabelPositionField as _0xab5780,ChartSeriesLabelVisibilityField as _0x4c8068,ChartSeriesPointFields as _0x1fd9ad,ChartSeriesRoot as _0xa7d666,ChartSnapshotQueue as _0x133d7b,ChartStackField as _0x8de745,ChartStyleSection as _0x268d1a,ChartSubtitleFields as _0x1ce0bb,ChartThemeField as _0xc82739,ChartTitleFontSizeFields as _0xbd8c2,ChartTypeField as _0xe4c803,ChartTypeSpecificDataSection as _0x33e4b7,ChartTypeSpecificSetupSection as _0x4b494c,ChartTypeSpecificStyleSection as _0x472157,ChartUIService as _0x1c92f4,ChartViewStateRegistry as _0x1f6827,ChartWaterfallSetupFields as _0x5045f6,ChartWaterfallStyleSection as _0x2ad750,ChartWordCloudRepeatField as _0x9f3b6a,ChartWordCloudRoot as _0x3d23e3,ChartWordCloudShapeField as _0x2b773d,DEFAULT_CHART_AXIS_VALUES as _0x1c4a81,DEFAULT_CHART_FUNNEL_VALUES as _0x3e8315,DEFAULT_CHART_HEATMAP_VALUES as _0x520ac7,DEFAULT_CHART_INDICATOR_LINE_VALUES as _0x474982,DEFAULT_CHART_LEGEND_VALUES as _0xaae5c9,DEFAULT_CHART_LINE_AND_AREA_VALUES as _0x1b6adb,DEFAULT_CHART_PARETO_VALUES as _0x2f9463,DEFAULT_CHART_PIE_VALUES as _0x14b66a,DEFAULT_CHART_RADAR_VALUES as _0x48c226,DEFAULT_CHART_RELATION_VALUES as _0x4e2b3c,DEFAULT_CHART_SERIES_VALUES as _0x43ed45,DEFAULT_CHART_STYLE_VALUES as _0x300044,DEFAULT_CHART_TITLE_VALUES as _0x4e2cd6,DEFAULT_CHART_WATERFALL_SETUP_VALUES as _0x27893b,DEFAULT_CHART_WATERFALL_STYLE_VALUES as _0x78423f,DEFAULT_CHART_WORD_CLOUD_VALUES as _0x5a32ea,InlineChartCreationIssueCode as _0x1733db,UniverChartUIPlugin as _0x41b0fc,buildChartTypeSelectOptions as _0x34001b,chartTypeSupportsCapability as _0x86e882,chartTypeSupportsLineAndAreaStyle as _0x869394,compactInlineTableValues as _0x58b562,createChartInlineStarterData as _0xd1e20f,getChartInlineTableMinColumns as _0x4d3850,resolveChartEditPanelRoute as _0x1b8a6e,resolveChartElementSelection as _0x326bca,resolveChartTypeFieldValue as _0x47ca81,tryBuildInlineChartCreationPlan as _0x4dc28e,tryPrepareInlineChartData as _0x4dadfa,useChartEditorChartType as _0x35d771,useChartEditorHasRightAxis as _0x18f5ee}from'@univerjs-pro/chart-ui';import{CHART_RESOURCE_VERSION as _0x41e96b,ChartDataSource as _0x3fa314,ChartDataSourceRuntimeStatus as _0x3e747d,ChartImageExportFormat as _0x5d0e73,ChartModel as _0x52ed06,ChartRenderMode as _0x237e52,ChartResourceRepository as _0x48987d,ChartThemeService as _0x31db7f,ChartTypeBits as _0x279288,DEFAULT_CHART_DEVICE_PIXEL_RATIO as _0x964797,DataUrlImageChartHost as _0x2b665d,IChartRenderModelManagerService as _0x569e74,buildOrientedChartDataSet as _0x47a8ea,chartBitsUtils as _0x1cedc4,generateChartContext as _0x217180,getChartHostFrameContentRect as _0x130c78,isInlineChartDataSource as _0x8b9694,isReferencedChartDataSource as _0x5b09cf,parseInlineChartTable as _0x333315,reconcileChartContext as _0x484815,resolveChartRuntimeStyle as _0x32e0a5,resolveDefaultChartHostFrameStyle as _0x556746,shouldComposeChartHostFrame as _0x31316e}from'@univerjs-pro/engine-chart';import{Button as _0x269b0c,Select as _0x20a571}from'@univerjs/design';import{CanvasFloatDomService as _0x161a4d,ComponentManager as _0x203f1e,ContextMenuGroup as _0x4d0f0e,ContextMenuPosition as _0x474f4f,IDialogService as _0x510c83,IMenuManagerService as _0x5bfde3,MenuItemType as _0x205f90,RibbonInsertGroup as _0x1e14da,getMenuHiddenObservable as _0x2ffc08,useDependency as _0x31f505,useObservable as _0x59e8da}from'@univerjs/ui';import{useEffect as _0x40f294,useMemo as _0x86d104,useRef as _0x2d329c,useState as _0x15fd4a}from'react';import{jsx as _0x6d07a4,jsxs as _0x2bc748}from'react/jsx-runtime';function _0x2187(){const _0x5f57d3=['docs-chart-ui.previewRenderFailed','removeObject','syncLayout','_applyHostStyle','set','_getPasteMutationInfos','Failed\x20to\x20load\x20document\x20chart\x20print\x20image.','203992XnvJOu','docs-chart-ui.common.label','pareto','radius','UNIVER_DOC','overflow','_isDocChartDrawing','univer-w-full\x20univer-justify-start','_requestSnapshotsForUnit','VIEW_MAIN','doc-chart-preview','ParetoLineSeries','LAYOUT','_docSelectionManagerService','preValue','format','supports','status','dispose','tabpanel','_getPositionState','__docsChartResource','button','hide','univer-min-h-0\x20univer-flex-1\x20univer-overflow-auto\x20univer-overscroll-contain\x20univer-pr-1','getEditorState','PieStyle','PARAGRAPH','docs-chart-ui.active-chart','relation','docs-chart-ui.common.chartStyle','getDataSource','section','_staticRenderController','attachTransformerTo','doc-chart.ui.service','round','_activeDomReadyDrawingKeys','pieSecondaryPlotType','default','docs-chart-ui.section.funnel','univer-flex\x20univer-shrink-0\x20univer-justify-end\x20univer-px-1\x20univer-pb-4\x20univer-pt-4','docs-chart-ui.section.gauge','radar','chartType','source','docs-chart-ui.section.gridlinesAndTicks','docTransform','_bindRuntimeState','heatmap','removeFloatDom','getDrawingEditable','axis','_createChartRenderInstanceContext','Data','docs-chart-ui.section.histogram','docs-chart-ui.common.setup','className','onTransformChange$','breakOffsets','prototype','scaleObserver','image','GridlinesAndTicks','ensureMount','transformByState','OPERATION','getTextRanges','mode','right','getRealBound','deepClone','has','-data-source','_renderDrawing','docs-chart-ui.section.sunburst','scale(','border','dataUrl','isActive','WordCloud','pluginName','_refreshActiveLayout','charts','indicatorLine','order','syncExecuteCommand','_mountNode','createRenderInput','_appendChartResources','2590899FLsYPL','univer-w-full\x20!univer-min-w-0','complete','constructor','.below','univer-text-xs\x20univer-text-red-600\x20dark:!univer-text-red-400','6APnLjx','chart','publishDataSet','sceneRect','getDrawingOrder','catch','params','docs-chart-ui.candlestick.open','getCurrentTypeOfUnit$','_drawingAdapterService','boxSizing','match','Axes','univer-shrink-0','docs-chart-ui.common.insert','WaterfallSeries','register','_visualLayoutChanged$','getAncestorScale','_registerDialogOperations','_resourceService','mountChart','docs-chart-ui.common.editChart','config$','rgb(','subUnitId','plan','funnel','univer-flex\x20univer-flex-col\x20univer-gap-3','_chartThemeService','scale','getRuntimeContext','sourceDocuments','style','inline','Legend','consumeInsertRange','_activeLayer','Relation','drawingType','call','drawings','doc-chart.dialog.editor','focus$','min(560px,\x20calc(100vh\x20-\x20180px))','flipY','univer-flex\x20univer-shrink-0\x20univer-justify-end\x20univer-gap-2','imageContentHidden','changeDataSource','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','LineAndArea','snapshotUpdated$','docs-chart-ui.common.insertChartFailed','barStyle','docsTop','createRenderSpec','_imageContentHidden','_getChartDrawings','legend','docs-chart-ui.chord.target','prepare','intercept','some','docs-chart-ui.section.paretoBar','customBlocks','naturalWidth','load','toPrimitive','get','lastIndexOf','getDataSourceRuntimeState','main','createElement','EmptyData','docs-chart-ui.common.heatmap','_renderManagerService','parseInt','_config','_docClipboardService','_bindActiveLayerObservers','@univerjs-pro/docs-chart-ui','_snapshotRenderService','univer-p-4\x20univer-text-sm\x20univer-text-gray-500\x20dark:!univer-text-gray-400','startOffset','setTimeout','_host','univer-min-h-0\x20univer-flex-1\x20univer-pt-4','add$','number','SVG','packageName','UnknownOption','_getDrawingSearch','contentRect','current','insertChart','root','angle','children','ChartAndAxisTitles','_handleFocus','DUPLICATE','_requestSnapshot','docs-chart-ui.config','setActiveDomReady','DrawingEditIcon','_frameNode','targetDrawing','_localeService','_deactivate','4677029miAtsS','style$','docs-chart-ui.section.lineAndArea','docs-chart-ui.common.category','univer-mt-2\x20univer-text-xs\x20univer-text-red-600\x20dark:!univer-text-red-400','77jTbZEl','Trendline','symbol','hidden','_modelService','doc-chart-preview-','ChartIcon','HorizontalAxis','Image','baseOn','getHostStyle','getSnapshot','openInsertDialog','getBoundingClientRect','RightVerticalAxis','_requestSnapshotsForSearches','border-box','openEditorDialog','Dom','remove','getViewport','getFocusDrawings','docs-chart-ui.section.radar','stylizeSpec','_getActiveRenderScale','univer-flex\x20univer-min-h-0\x20univer-w-[388px]\x20univer-shrink-0\x20univer-flex-col\x20univer-gap-4\x20univer-overflow-hidden\x20univer-overscroll-contain','_getRenderedChartImage','Pareto','_registerComponents','setChartContext','getSelfOrHeaderFooterModel','borderRadius','doc-chart.dialog.insert','Document\x20chart\x20snapshot\x20rendering\x20requires\x20a\x20browser\x20document.','forEach','SECTION_BREAK','-tab','_initClipboardHooks','_subscribeRender','defaultChartType','issue','univer-min-h-0\x20univer-flex-1','render','docs-chart-ui.common.customize','Style','_snapshotService','join','resolve','Document\x20chart\x20','docs-chart-ui.section.waterfall','activeRuntimeModel','770970UYhDfz','slice','sharingCount','univer-flex\x20univer-h-full\x20univer-min-h-0\x20univer-w-full\x20univer-flex-col\x20univer-gap-4','Chord','doc-chart-setup-panel','updateDataFromText','_isActiveLayer','onModifyData','onCommandExecuted','unitId','getRenderUnitById','subscription','addClipboardHook','transformOrigin','next','docs-chart-ui.section.candlestick','doughnutHole','backgroundColor','show','_syncChartImageVisibility','docs-chart-ui.common.verticalAxis','labelId','getDrawingId','getDirection','IndicatorLine','MEDIA','subscribe','setConfig','contains','transform','chartInvalidated$','Column','doc-chart.insert-panel','exportImage','getCanvasElement','aTop','_initAdapter','doc-chart.editor-dialog','tables','_releaseRuntimeState','getDrawingDataForUnit','onerror','_renderModelManager','_runtimeStateSubscriptions','_hostStyle','_getRenderRect','series','docsLeft','univer-shrink-0\x20univer-px-3','getCacheKey','_initPrinting','_getContentRect','_docContentInsertService','getDrawingByParam','px\x20solid\x20','textRanges','VerticalAxis','docs-chart-ui.common.trendline','UniverDocsChartUIPlugin','doc.operation.open-doc-chart-insert-dialog','1.0.0-rc.0','direction$','position','docs-chart-ui.common.tableDataEmpty','find','onload','chartId','pipe','_getDrawingRect','docs-chart-ui.floatMenu.menuTitle.chart','docs-chart-ui.common.chartType','1613ReuEQy','split','drawingId','docs-chart-ui.common.series','setClipBounds','checkMounted','onStarting','hit','top\x20left','decorate','getUnit','createChartInstance','code','univer-flex\x20univer-w-full\x20univer-flex-col\x20univer-gap-4','getDataUrl','getRect','getDataSourceSharingCount','blockRanges','addFloatDom','makeDirty','Series','delete','onDataSourceSubmit','BUTTON','size','engine','appendChild','docs-chart-ui.section.paretoLine','_initMenus','univer-flex\x20univer-flex-col\x20univer-gap-2','Pie','click','keys','pending','transformerConfig','replaceChildren','getDataSet','context$','univer-flex\x20univer-justify-end\x20univer-gap-2','invalidateChart','_docPrintInterceptorService','_init','initialRoute','dataAggregation','GeneralSeries','onReady','wordCloud','updateData','Gauge','addEventListener','ensureChartModel','getNative','lineAndArea','_draw','_drawingManagerService','indexOf','top','refreshTransform$','scaleX','allSettled','docs-chart-ui.common.insertChart','height','_captureInsertRange','markNotReady','dpr','dataSources','_syncRenderedChartVisibility','pie','ChartStyle','subscribeEvent','docs-chart-ui.common.cancel','98vHvAez','_setElementSize','focus','disconnect','tab','setActiveChartById','string','_prepareStandaloneInsertLine','docs-chart-ui.section.chord','setImageContentHidden','_layoutChanged$','config','getObjectIncludeInGroup','DrawingDeleteIcon','B\x0918','primary','_pasteAdapterService','_manageHostSize','left','getSkeletonData','chartModelRemoved$','Histogram','docs-chart-ui.section.pie','aLeft','src','ParetoBarSeries','skeDrawings','_updatePosition','remove$','renderRect','_renderCharts','disposeWithMe','docs-chart-ui.candlestick.low','_getRenderScale','_configService','1266690pbPKYx','_renderService','registerAdapter','bind','getChart','requestSnapshot','getCurrentRenderModel','univer-flex\x20univer-size-full\x20univer-min-w-0\x20univer-gap-5','13kIwAhv','doc-chart-editor-panel','pageMarginTop','getDataSourceRuntimeState$','doc-chart-data-panel','length','SHARED','cumulativeLineStyle','docs-chart-ui.updateChartFailed','chartContext','Timed\x20out\x20loading\x20document\x20chart\x20print\x20image.','_getActiveRenderRect','max','startIndex','index','type','univer-flex\x20univer-w-full\x20univer-min-w-0\x20univer-flex-col\x20univer-overflow-hidden\x20univer-overscroll-contain','sourceDrawing','doc','dataSourceId','clearTimeout','docs-chart-ui.common.horizontalAxis','then','Treemap','pages','onClose','DRAWING_CHART','model','function','_removeRenderedCharts','doc-chart.dialog.data-editor','isFinite','clear','data','doc-chart.data-editor','dispatchEvent','Sunburst','referenced','marginTop','docs-chart-ui.candlestick.columnsError','docs-chart-ui.chartTypes.','collapsed','route','executeCommand','getOwnPropertyDescriptor','observe','open','color','titles','_univerInstanceService','insertRange','InvalidCandlestickData','changeSource','values','select','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','rightY','_preparedCharts','print','_refreshActivePosition','4eLsBOH','change','interceptor','registerCommand','version','Candlestick','seriesId','getCurrentUnitOfType','Radar','endIndex','scaleY','docs-chart-ui.section.indicatorLine','2703528xsZUGp','_injector','getDrawings','getInfo','getUnitId','chartType$','chartModelAdded$','_createImageShape','filter','context','_menuManagerService','docs-chart-ui.common.legend','defineProperty','docs-chart-ui.common.apply','Waterfall','duplicate','univer-absolute\x20univer-inset-0\x20univer-min-h-0\x20univer-min-w-0\x20univer-overflow-hidden\x20univer-rounded-lg','value','docs-chart-ui.close','_retryActivateFocusedChart','docs-chart-ui.common.chartAndAxisTitles','_resolveInsertPosition','_commandService','width','segmentId','9vzkSre','setStyle','_componentManager','content-box','map','executeChartUpdateConfig','mergeMenu','flipX','ready','dataSource','_forEachChartDrawing','clipBounds','applyHostStyle','docs-chart-ui.common.data','waterfall','_getChartDrawing','_dialogService','position$','docs-chart-ui.common.editData','positionObserver','endOffset','object','unsubscribe','_floatingToolbarAdapterService','Funnel','_activate','min','scene','addObject','push','_instanceService','div','registerPrintPreparation'];_0x2187=function(){return _0x5f57d3;};return _0x2187();}import{ChangeDocChartDataSourceCommand as _0x107c4e,DocChartModelService as _0x155196,DocumentChartConfigAdapter as _0x2e7723,InsertDocChartCommand as _0x5ded8d,RemoveDocChartDataSourceMutation as _0x327b8e,RemoveDocChartSnapshotMutation as _0x2c91cb,SetDocChartDataSourceMutation as _0x191f83,SetDocChartSnapshotMutation as _0x20cf6e,UniverDocsChartPlugin as _0x5ed5ce,UpdateDocChartConfigCommand as _0x5b018c}from'@univerjs-pro/docs-chart';import{DocContentInsertService as _0x3c4cce,DocSelectionManagerService as _0x528519,UniverDocsPlugin as _0x167852,docDrawingPositionToTransform as _0x1bf64e}from'@univerjs/docs';import{BreakLineCommand as _0xa70a01,DOC_CONTENT_INSERT_MENU_ID as _0x4f26c1,DOC_PARAGRAPH_T_INSERT_BELOW_MENU_ID as _0x1018e8,DOC_PARAGRAPH_T_INSERT_MENU_ID as _0x1db031,DocPrintInterceptorService as _0x59eebf,EMPTY_PARAGRAPH_MENU_ID as _0x1e1509,IDocClipboardPasteAdapterService as _0x317ab0,IDocClipboardService as _0x408af3,INSERT_BELLOW_MENU_ID as _0x232049,UniverDocsUIPlugin as _0x4dd692,VIEWPORT_KEY as _0x3c7940,disableMenuWhenHeaderFooterEditing as _0x41d0d5}from'@univerjs/docs-ui';import{IDocDrawingAdapterService as _0x1d4123,RemoveDocDrawingCommand as _0x424937,UniverDocsDrawingPlugin as _0x5481e5}from'@univerjs/docs-drawing';function _0x40ed(_0xbee407,_0x47228c){_0xbee407=_0xbee407-0x19e;const _0x218729=_0x2187();let _0x40ede3=_0x218729[_0xbee407];return _0x40ede3;}import{DocDrawingFloatingToolbarAdapterService as _0x294fe1,UniverDocsDrawingUIPlugin as _0xd1a4bf}from'@univerjs/docs-drawing-ui';import{BehaviorSubject as _0x311462,Observable as _0x178722,Subject as _0x1fb5f5,auditTime as _0x1cce15,combineLatest as _0x2cf3ee,filter as _0x3b1037,map as _0x2b2110,skip as _0x55e47d}from'rxjs';import{UniverLicensePlugin as _0x3fd741}from'@univerjs-pro/license';import{IDrawingManagerService as _0x32a27c,UniverDrawingPlugin as _0x4470f7,getDrawingShapeKeyByDrawingSearch as _0xc82c45}from'@univerjs/drawing';import{DEFAULT_TRANSFORMER_CONFIG as _0x34da46,DRAWING_OBJECT_LAYER_INDEX as _0x52abeb,IRenderManagerService as _0x631398,Image as _0x36c2a2,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x51ca04,UniverRenderEnginePlugin as _0x1b3801}from'@univerjs/engine-render';const L={'id':_0x4f20c2(0x376),'type':_0xf74252[_0x4f20c2(0x276)],'handler'(){return!0x0;}},R={'id':'doc.operation.open-doc-chart-editor-dialog','type':_0xf74252[_0x4f20c2(0x276)],'handler'(){return!0x0;}},pr=_0x4f20c2(0x1cd),mr=_0x4f20c2(0x1c9);let hr=function(_0x454571){const _0x2d8fc3=_0x4f20c2;return _0x454571[_0x2d8fc3(0x1b1)]='shared',_0x454571[_0x2d8fc3(0x2f9)]=_0x2d8fc3(0x202),_0x454571;}({});function gr(_0x26a7d3){const _0x14d287=_0x4f20c2;let _0x44d2c2=_0x31f505(_0x15ff2e),{values:_0x2c0fe3,onCancel:_0x1554c9,onChange:_0x5aa115,onSubmit:_0x225e47}=_0x26a7d3,[_0x460054,_0x594812]=_0x15fd4a(()=>_0x5b09cf(_0x26a7d3[_0x14d287(0x215)])?_0x14d287(0x1d0):'inline'),[_0x548eef,_0x524f71]=_0x15fd4a(null),[_0x29bbf2,_0x597fb5]=_0x15fd4a(()=>_0x2c0fe3[_0x14d287(0x210)](_0x9178cd=>[..._0x9178cd])),[_0x2eb6f8,_0x371a64]=_0x15fd4a(null),_0x171645=_0x1ac724=>{_0x597fb5(_0x1ac724),_0x5aa115==null||_0x5aa115(_0x1ac724);},_0x1d9b1c=_0x35629a=>{const _0x5214ed=_0x14d287;let _0x332df5=_0x58b562(_0x29bbf2);if(_0x332df5['length']===0x0){_0x371a64(_0x44d2c2['t'](_0x5214ed(0x37a)));return;}_0x371a64(null),_0x225e47(_0x332df5,_0x35629a);};return _0x2bc748(_0x14d287(0x22b),{'className':_0x14d287(0x33d),'children':[_0x6d07a4(_0x14d287(0x22b),{'className':_0x14d287(0x24c),'children':_0x6d07a4(_0x53c43c,{'mode':_0x460054,'initialSource':_0x5b09cf(_0x26a7d3[_0x14d287(0x215)])?_0x26a7d3[_0x14d287(0x215)][_0x14d287(0x261)]:void 0x0,'inlineContent':_0x6d07a4(_0x3370ea,{'values':_0x29bbf2,'parsePastedText':_0x333315,'onChange':_0x171645}),'onModeChange':_0x1b8cbc=>{_0x594812(_0x1b8cbc),_0x524f71(null);},'onPreviewChange':(_0x1f8e71,_0x551cda)=>{const _0x497aef=_0x14d287;_0x524f71(_0x1f8e71&&_0x551cda[_0x497aef(0x245)]===_0x3e747d['READY']?{'source':_0x1f8e71}:null),_0x551cda['values']&&(_0x5aa115==null||_0x5aa115(_0x551cda[_0x497aef(0x1e0)][_0x497aef(0x210)](_0x413dde=>[..._0x413dde])));}})}),_0x2eb6f8&&_0x6d07a4('div',{'className':_0x14d287(0x293),'children':_0x2eb6f8}),_0x2bc748(_0x14d287(0x22b),{'className':_0x14d287(0x2c2),'children':[_0x1554c9&&_0x6d07a4(_0x269b0c,{'type':'button','variant':_0x14d287(0x25b),'onClick':_0x1554c9,'children':_0x44d2c2['t'](_0x14d287(0x3c8))}),_0x6d07a4(_0x269b0c,{'type':_0x14d287(0x24a),'variant':_0x14d287(0x3d8),'disabled':_0x460054===_0x14d287(0x1d0)&&!_0x548eef,'onClick':()=>{const _0x54bbda=_0x14d287;var _0x4a9fc6;return _0x460054===_0x54bbda(0x1d0)&&_0x548eef?(_0x4a9fc6=_0x26a7d3[_0x54bbda(0x398)])==null?void 0x0:_0x4a9fc6[_0x54bbda(0x2bc)](_0x26a7d3,_0x548eef):_0x1d9b1c('shared');},'children':_0x44d2c2['t'](_0x14d287(0x200))})]})]});}function z(_0x161ad1,_0x416424){return function(_0x1843a1,_0x2d03bd){_0x416424(_0x1843a1,_0x2d03bd,_0x161ad1);};}function B(_0x161349,_0xf17f68,_0x1f23e4,_0x2d4a95){const _0x2d5dc2=_0x4f20c2;var _0x56747d=arguments['length'],_0x17a98f=_0x56747d<0x3?_0xf17f68:_0x2d4a95===null?_0x2d4a95=Object[_0x2d5dc2(0x1d7)](_0xf17f68,_0x1f23e4):_0x2d4a95,_0x490601;if(typeof Reflect=='object'&&typeof Reflect['decorate']=='function')_0x17a98f=Reflect[_0x2d5dc2(0x38b)](_0x161349,_0xf17f68,_0x1f23e4,_0x2d4a95);else{for(var _0x599beb=_0x161349['length']-0x1;_0x599beb>=0x0;_0x599beb--)(_0x490601=_0x161349[_0x599beb])&&(_0x17a98f=(_0x56747d<0x3?_0x490601(_0x17a98f):_0x56747d>0x3?_0x490601(_0xf17f68,_0x1f23e4,_0x17a98f):_0x490601(_0xf17f68,_0x1f23e4))||_0x17a98f);}return _0x56747d>0x3&&_0x17a98f&&Object[_0x2d5dc2(0x1ff)](_0xf17f68,_0x1f23e4,_0x17a98f),_0x17a98f;}let V=class{constructor(_0x28c40f,_0xf9b1ad){const _0x4f1603=_0x4f20c2;this[_0x4f1603(0x209)]=_0x28c40f,this[_0x4f1603(0x2a8)]=_0xf9b1ad;}[_0x4f20c2(0x24d)](_0x36cd99,_0x50d7bd){const _0x1cf868=_0x4f20c2;let _0x57b78a=this[_0x1cf868(0x2a8)][_0x1cf868(0x1a7)](_0x36cd99,_0x50d7bd),_0xbdc44=_0x57b78a?this[_0x1cf868(0x2a8)][_0x1cf868(0x253)](_0x36cd99,_0x57b78a[_0x1cf868(0x1be)]):void 0x0;return!_0x57b78a||!_0xbdc44?null:{'unitId':_0x36cd99,'chartId':_0x50d7bd,'dataSourceId':_0xbdc44['id'],'dataSource':_0xbdc44,'values':_0x8b9694(_0xbdc44)?_0xbdc44[_0x1cf868(0x1e0)][_0x1cf868(0x210)](_0x482b0c=>[..._0x482b0c]):[],'sharingCount':this[_0x1cf868(0x2a8)][_0x1cf868(0x392)](_0x36cd99,_0xbdc44['id'])};}[_0x4f20c2(0x340)](_0x9f8673,_0x241267,_0x276e6f,_0x3daa05){const _0x1a761b=_0x4f20c2;let _0x2a1d2f=_0x333315(_0x276e6f);return _0x2a1d2f[_0x1a761b(0x1b0)]!==0x0&&this[_0x1a761b(0x3b1)](_0x9f8673,_0x241267,_0x2a1d2f,_0x3daa05);}['updateData'](_0x4acd6a,_0x57c2c6,_0x142c13,_0x566f93){const _0x446060=_0x4f20c2;var _0x379791;if(!this[_0x446060(0x24d)](_0x4acd6a,_0x57c2c6)||_0x142c13['length']===0x0)return!0x1;let _0x4a788c=(_0x379791=this['_resourceService']['getChart'](_0x4acd6a,_0x57c2c6))==null?void 0x0:_0x379791[_0x446060(0x260)];if(_0x4a788c===void 0x0)return!0x1;let _0x2298e5=_0x4dadfa(_0x4a788c,_0x142c13);return _0x2298e5['ok']?this[_0x446060(0x2c4)](_0x4acd6a,_0x57c2c6,{'values':_0x2298e5[_0x446060(0x1e0)]}):!0x1;}[_0x4f20c2(0x2c4)](_0x5b9fd6,_0x43281f,_0x403b4f){const _0x2c2df9=_0x4f20c2;return this[_0x2c2df9(0x209)][_0x2c2df9(0x28a)](_0x107c4e['id'],{'unitId':_0x5b9fd6,'chartId':_0x43281f,'dataSource':_0x403b4f});}};V=B([z(0x0,_0x2a1459),z(0x1,_0x571022(_0x48987d))],V);const _r=_0x52bae9(_0x4f20c2(0x257));let vr=class extends _0x1c92f4{constructor(_0x4bb655,_0x1663fe,_0x39b912){const _0x1afdf9=_0x4f20c2;super(_0x39b912),this[_0x1afdf9(0x30b)]=_0x4bb655,this[_0x1afdf9(0x209)]=_0x1663fe;}get[_0x4f20c2(0x339)](){const _0x582fd2=_0x4f20c2;return this[_0x582fd2(0x30b)][_0x582fd2(0x339)];}[_0x4f20c2(0x211)](_0x21872b){const _0x2a5fdb=_0x4f20c2;let _0x2a075a=this['activeRuntimeModel'],_0x1d9c2f=_0x21872b[_0x2a5fdb(0x344)]??(_0x2a075a==null?void 0x0:_0x2a075a[_0x2a5fdb(0x344)]),_0x419f5=_0x21872b['chartId']??(_0x2a075a==null?void 0x0:_0x2a075a[_0x2a5fdb(0x37d)]);!_0x1d9c2f||!_0x419f5||this['_commandService'][_0x2a5fdb(0x1d6)](_0x5b018c['id'],{..._0x21872b,'unitId':_0x1d9c2f,'chartId':_0x419f5});}};vr=B([z(0x0,_0x571022(_0x155196)),z(0x1,_0x2a1459),z(0x2,_0x571022(_0x1f6827))],vr);const H={'axis':{..._0x1c4a81,'primaryGridLineVisible':!0x0,'secondaryGridLineVisible':!0x0},'legend':_0xaae5c9,'lineAndArea':_0x1b6adb,'pareto':_0x2f9463,'funnel':_0x3e8315,'heatmap':_0x520ac7,'indicatorLine':_0x474982,'pie':{..._0x14b66a,'doughnutHole':0x0,'pieHole':0x0},'relation':{..._0x4e2b3c,'useValueAsSymbolSize':!0x1},'radar':_0x48c226,'series':{..._0x43ed45,'radarFillOpacity':0x1,'rightAxis':{'ltr':!0x1,'rtl':!0x1}},'style':_0x300044,'titles':_0x4e2cd6,'waterfall':{..._0x27893b,'useSubtotal':!0x0},'waterfallStyle':_0x78423f,'wordCloud':_0x5a32ea},yr=[_0x279288[_0x4f20c2(0x1ec)],_0x279288[_0x4f20c2(0x3de)],_0x279288[_0x4f20c2(0x1c2)],_0x279288[_0x4f20c2(0x1cf)],_0x279288[_0x4f20c2(0x3b2)],_0x279288[_0x4f20c2(0x33e)]];function br(){const _0x12dcc5=_0x4f20c2;let _0x14c140=_0x35d771();return _0x6d07a4(_0x513094,{'visible':yr['every'](_0xe656a2=>!_0x1cedc4[_0x12dcc5(0x310)](_0x14c140,_0xe656a2))});}function xr(_0x53f3c8){const _0x544da4=_0x4f20c2;return _0x2bc748(_0x56d838,{'id':_0x53f3c8['id'],'children':[_0x6d07a4(_0x113281,{'children':_0x53f3c8['label']}),_0x6d07a4(_0x33384f,{'children':_0x53f3c8[_0x544da4(0x2f6)]})]});}function Sr(_0x8cf11b,_0xc75632=!0x1){const _0x63d7f7=_0x4f20c2;let _0x1afc9e=_0x8cf11b===_0x279288[_0x63d7f7(0x284)],_0x4feec6=_0x1cedc4[_0x63d7f7(0x310)](_0x8cf11b,_0x279288[_0x63d7f7(0x3a0)]),_0x143b16=_0x8cf11b===_0x279288[_0x63d7f7(0x1ef)],_0x1d3795=_0x8cf11b===_0x279288[_0x63d7f7(0x224)],_0x44ba77=_0x8cf11b===_0x279288[_0x63d7f7(0x201)],_0x4f0653=_0x8cf11b===_0x279288[_0x63d7f7(0x322)],_0x432cfc=_0x8cf11b===_0x279288[_0x63d7f7(0x1ec)],_0x32dc67=_0x8cf11b===_0x279288['Histogram'],_0x40233b=_0x8cf11b===_0x279288[_0x63d7f7(0x1c2)],_0x55809f=_0x8cf11b===_0x279288['Sunburst'],_0x28a835=_0x8cf11b===_0x279288[_0x63d7f7(0x3b2)],_0x294804=_0x8cf11b===_0x279288[_0x63d7f7(0x33e)],_0x2f073c=_0x8cf11b===_0x279288['Relation'],_0xccd24a=_0x8cf11b===_0x279288['Heatmap'],_0x5a40ff=[_0x5ea5aa[_0x63d7f7(0x3c6)],_0x5ea5aa[_0x63d7f7(0x2f7)]];return _0x1afc9e&&_0x5a40ff[_0x63d7f7(0x229)](_0x5ea5aa[_0x63d7f7(0x284)]),_0x86e882(_0x8cf11b,_0x1d6892[_0x63d7f7(0x3ae)])&&!_0x4f0653&&_0x5a40ff[_0x63d7f7(0x229)](_0x5ea5aa[_0x63d7f7(0x396)]),_0x869394(_0x8cf11b)&&_0x5a40ff['push'](_0x5ea5aa[_0x63d7f7(0x2c6)]),_0x143b16&&_0x5a40ff[_0x63d7f7(0x229)](_0x5ea5aa[_0x63d7f7(0x1ef)]),_0x44ba77&&_0x5a40ff[_0x63d7f7(0x229)](_0x5ea5aa['WaterfallSeries']),_0x4f0653&&_0x5a40ff[_0x63d7f7(0x229)](_0x5ea5aa[_0x63d7f7(0x3e2)],_0x5ea5aa[_0x63d7f7(0x23f)]),_0x4feec6&&_0x5a40ff[_0x63d7f7(0x229)](_0x5ea5aa['PieStyle']),_0x1d3795&&_0x5a40ff[_0x63d7f7(0x229)](_0x5ea5aa['Funnel']),_0xccd24a&&_0x5a40ff[_0x63d7f7(0x229)](_0x5ea5aa['Heatmap']),_0x2f073c&&_0x5a40ff[_0x63d7f7(0x229)](_0x5ea5aa['Relation']),_0x432cfc&&_0x5a40ff['push'](_0x5ea5aa[_0x63d7f7(0x1ec)]),_0x32dc67&&_0x5a40ff[_0x63d7f7(0x229)](_0x5ea5aa[_0x63d7f7(0x3de)]),_0x40233b&&_0x5a40ff[_0x63d7f7(0x229)](_0x5ea5aa['Treemap']),_0x55809f&&_0x5a40ff[_0x63d7f7(0x229)](_0x5ea5aa[_0x63d7f7(0x1cf)]),_0x28a835&&_0x5a40ff['push'](_0x5ea5aa[_0x63d7f7(0x3b2)]),_0x294804&&_0x5a40ff['push'](_0x5ea5aa['Chord']),_0x86e882(_0x8cf11b,_0x1d6892[_0x63d7f7(0x2b7)])&&_0x5a40ff[_0x63d7f7(0x229)](_0x5ea5aa['Legend']),_0x86e882(_0x8cf11b,_0x1d6892[_0x63d7f7(0x2a0)])&&(_0x5a40ff[_0x63d7f7(0x229)](_0x5ea5aa[_0x63d7f7(0x30e)],_0x5ea5aa[_0x63d7f7(0x373)]),_0xc75632&&_0x5a40ff['push'](_0x5ea5aa['RightVerticalAxis']),_0x5a40ff[_0x63d7f7(0x229)](_0x5ea5aa[_0x63d7f7(0x273)])),_0x86e882(_0x8cf11b,_0x1d6892[_0x63d7f7(0x353)])&&_0x5a40ff[_0x63d7f7(0x229)](_0x5ea5aa['IndicatorLine']),_0x5a40ff;}function Cr(_0x2671e1){const _0x4591dd=_0x4f20c2;return _0x2bc748(_0x4591dd(0x22b),{'className':_0x4591dd(0x2b0),'children':[_0x6d07a4(_0x151db3,{'axis':_0x2671e1[_0x4591dd(0x268)],'defaultValues':H[_0x4591dd(0x268)]}),_0x6d07a4(_0x5c59e3,{'axis':_0x2671e1[_0x4591dd(0x268)],'defaultValues':H[_0x4591dd(0x268)]}),_0x6d07a4(_0x561c8b,{'axis':_0x2671e1['axis'],'defaultValues':H[_0x4591dd(0x268)]}),_0x6d07a4(_0x402b69,{'axis':_0x2671e1[_0x4591dd(0x268)]}),_0x6d07a4(_0x8253ae,{'axis':_0x2671e1['axis']}),_0x6d07a4(_0x495cf6,{'axis':_0x2671e1['axis'],'defaultValues':H['axis']}),_0x6d07a4(_0x146199,{'axis':_0x2671e1['axis'],'defaultValues':H['axis']})]});}function wr(_0xb62aeb){const _0xec1dcc=_0x4f20c2;var _0x39ab8e,_0x4ef959;let _0x34de50=_0x31f505(_0x15ff2e),_0x39203b=_0x35d771(),_0x2360fa=_0x18f5ee(),[_0x602c81,_0xf416f3]=_0x15fd4a(null),_0x151dd3=_0x6d07a4(_0x472157,{}),_0x5b2de0={[_0x5ea5aa['Candlestick']]:_0x34de50['t'](_0xec1dcc(0x34a)),[_0x5ea5aa[_0xec1dcc(0x2f7)]]:_0x34de50['t'](_0xec1dcc(0x207)),[_0x5ea5aa[_0xec1dcc(0x3c6)]]:_0x34de50['t'](_0xec1dcc(0x252)),[_0x5ea5aa[_0xec1dcc(0x33e)]]:_0x34de50['t'](_0xec1dcc(0x3d1)),[_0x5ea5aa[_0xec1dcc(0x224)]]:_0x34de50['t'](_0xec1dcc(0x25c)),[_0x5ea5aa['Gauge']]:_0x34de50['t'](_0xec1dcc(0x25e)),[_0x5ea5aa[_0xec1dcc(0x273)]]:_0x34de50['t'](_0xec1dcc(0x262)),[_0x5ea5aa['Heatmap']]:_0x34de50['t'](_0xec1dcc(0x2de)),[_0x5ea5aa['Histogram']]:_0x34de50['t'](_0xec1dcc(0x26b)),[_0x5ea5aa['HorizontalAxis']]:_0x34de50['t']('docs-chart-ui.common.horizontalAxis'),[_0x5ea5aa[_0xec1dcc(0x353)]]:_0x34de50['t'](_0xec1dcc(0x1f2)),[_0x5ea5aa[_0xec1dcc(0x2b7)]]:_0x34de50['t'](_0xec1dcc(0x1fe)),[_0x5ea5aa['LineAndArea']]:_0x34de50['t'](_0xec1dcc(0x304)),[_0x5ea5aa[_0xec1dcc(0x3e2)]]:_0x34de50['t'](_0xec1dcc(0x2d3)),[_0x5ea5aa[_0xec1dcc(0x23f)]]:_0x34de50['t'](_0xec1dcc(0x39d)),[_0x5ea5aa['PieStyle']]:_0x34de50['t'](_0xec1dcc(0x3df)),[_0x5ea5aa[_0xec1dcc(0x1ef)]]:_0x34de50['t'](_0xec1dcc(0x31d)),[_0x5ea5aa[_0xec1dcc(0x2ba)]]:_0x34de50['t']('docs-chart-ui.section.relation'),[_0x5ea5aa[_0xec1dcc(0x315)]]:_0x34de50['t']('docs-chart-ui.common.rightVerticalAxis'),[_0x5ea5aa[_0xec1dcc(0x396)]]:_0x34de50['t'](_0xec1dcc(0x385)),[_0x5ea5aa[_0xec1dcc(0x1cf)]]:_0x34de50['t'](_0xec1dcc(0x27f)),[_0x5ea5aa['Treemap']]:_0x34de50['t']('docs-chart-ui.section.treemap'),[_0x5ea5aa[_0xec1dcc(0x308)]]:_0x34de50['t'](_0xec1dcc(0x374)),[_0x5ea5aa[_0xec1dcc(0x373)]]:_0x34de50['t'](_0xec1dcc(0x34f)),[_0x5ea5aa[_0xec1dcc(0x2a3)]]:_0x34de50['t'](_0xec1dcc(0x338)),[_0x5ea5aa[_0xec1dcc(0x284)]]:_0x34de50['t']('docs-chart-ui.section.wordCloud')};_0x40f294(()=>{const _0x41e941=_0xec1dcc;var _0x507df1;(_0x507df1=_0xb62aeb['route'])!=null&&_0x507df1['section']&&_0xf416f3(_0xb62aeb[_0x41e941(0x1d5)][_0x41e941(0x254)]);},[_0xb62aeb[_0xec1dcc(0x1d5)]]);let _0x17a649={[_0x5ea5aa[_0xec1dcc(0x3c6)]]:_0x6d07a4(_0x268d1a,{'defaultValues':H[_0xec1dcc(0x2b5)]}),[_0x5ea5aa['ChartAndAxisTitles']]:_0x2bc748(_0xec1dcc(0x22b),{'className':_0xec1dcc(0x2b0),'children':[_0x6d07a4(_0xf5e6e2,{'commitMode':'change','defaultValues':H[_0xec1dcc(0x1db)],'showFont':!0x1}),_0x6d07a4(_0x1ce0bb,{'commitMode':_0xec1dcc(0x1e8),'defaultValues':H[_0xec1dcc(0x1db)],'showFont':!0x1}),_0x6d07a4(_0xcffd1c,{'axis':'x','commitMode':'change','defaultValues':H[_0xec1dcc(0x1db)],'showAlignment':!0x1,'showFont':!0x1}),_0x6d07a4(_0xcffd1c,{'axis':'y','commitMode':_0xec1dcc(0x1e8),'defaultValues':H[_0xec1dcc(0x1db)],'showAlignment':!0x1,'showFont':!0x1}),_0x6d07a4(_0xcffd1c,{'axis':_0xec1dcc(0x1e3),'commitMode':_0xec1dcc(0x1e8),'defaultValues':H[_0xec1dcc(0x1db)],'showAlignment':!0x1,'showFont':!0x1}),_0x6d07a4(_0xbd8c2,{'defaultValues':H[_0xec1dcc(0x1db)]})]}),[_0x5ea5aa[_0xec1dcc(0x396)]]:_0x2bc748(_0xa7d666,{'defaultValues':H[_0xec1dcc(0x369)],'NumberFormatField':_0x35d8e2,'selectedSeriesId':(_0x39ab8e=_0xb62aeb['route'])==null?void 0x0:_0x39ab8e['seriesId'],'children':[_0x6d07a4(_0x239fc8,{}),_0x6d07a4(_0x2705c8,{'showColor':!0x1,'showOpacity':!0x1}),_0x6d07a4(_0x1fd9ad,{'showColor':!0x1}),_0x6d07a4(_0x4c8068,{}),_0x6d07a4(_0xab5780,{}),_0x6d07a4(_0x315e33,{})]}),[_0x5ea5aa[_0xec1dcc(0x2c6)]]:_0x6d07a4(_0x16097a,{'defaultValues':H[_0xec1dcc(0x3b6)],'lineStyleControl':_0xec1dcc(0x1e1)}),[_0x5ea5aa[_0xec1dcc(0x284)]]:_0x2bc748(_0x3d23e3,{'children':[_0x6d07a4(_0x2b773d,{'defaultValues':H['wordCloud']}),_0x6d07a4(_0x9f3b6a,{'defaultValues':H[_0xec1dcc(0x3b0)]})]}),[_0x5ea5aa[_0xec1dcc(0x1ef)]]:_0x6d07a4(_0x94d58a,{'defaultValues':H[_0xec1dcc(0x25f)]}),[_0x5ea5aa[_0xec1dcc(0x2a3)]]:_0x6d07a4(_0x2ad750,{'defaultValues':H['waterfallStyle'],'NumberFormatField':_0x35d8e2,'selectedSeriesId':(_0x4ef959=_0xb62aeb[_0xec1dcc(0x1d5)])==null?void 0x0:_0x4ef959[_0xec1dcc(0x1ed)]}),[_0x5ea5aa[_0xec1dcc(0x3e2)]]:_0x6d07a4(_0xc6a3b0,{'defaultValues':H[_0xec1dcc(0x236)],'NumberFormatField':_0x35d8e2,'showDataPointEditor':!0x0,'target':_0xec1dcc(0x2c9)}),[_0x5ea5aa['ParetoLineSeries']]:_0x6d07a4(_0xc6a3b0,{'defaultValues':H[_0xec1dcc(0x236)],'NumberFormatField':_0x35d8e2,'showDataPointEditor':!0x0,'target':_0xec1dcc(0x1b2)}),[_0x5ea5aa[_0xec1dcc(0x24e)]]:_0x6d07a4(_0x272df9,{'defaultValues':H['pie'],'NumberFormatField':_0x35d8e2}),[_0x5ea5aa[_0xec1dcc(0x224)]]:_0x6d07a4(_0x5b6a29,{'defaultValues':H[_0xec1dcc(0x2af)],'gapControl':_0xec1dcc(0x2ec)}),[_0x5ea5aa['Heatmap']]:_0x6d07a4(_0x34fc5e,{'defaultValues':H[_0xec1dcc(0x265)]}),[_0x5ea5aa['Relation']]:_0x6d07a4(_0x389510,{'defaultValues':H[_0xec1dcc(0x251)]}),[_0x5ea5aa[_0xec1dcc(0x2b7)]]:_0x6d07a4(_0x710448,{'defaultValues':H[_0xec1dcc(0x2ce)],'children':_0x2bc748(_0xec1dcc(0x22b),{'className':'univer-flex\x20univer-flex-col\x20univer-gap-3','children':[_0x6d07a4(_0x2f3702,{}),_0x6d07a4(_0x53124b,{}),_0x6d07a4(_0x481a4f,{}),_0x6d07a4(_0xb46fd3,{})]})}),[_0x5ea5aa['HorizontalAxis']]:_0x6d07a4(Cr,{'axis':'x'}),[_0x5ea5aa[_0xec1dcc(0x373)]]:_0x6d07a4(Cr,{'axis':'y'}),[_0x5ea5aa[_0xec1dcc(0x315)]]:_0x6d07a4(Cr,{'axis':_0xec1dcc(0x1e3)}),[_0x5ea5aa[_0xec1dcc(0x273)]]:_0x2bc748(_0xec1dcc(0x22b),{'className':_0xec1dcc(0x39f),'children':[_0x6d07a4(_0xa7448c,{'axis':'x','defaultValues':H['axis'],'label':_0x34de50['t'](_0xec1dcc(0x1c0))}),_0x6d07a4(_0xa7448c,{'axis':'y','defaultValues':H['axis'],'label':_0x34de50['t'](_0xec1dcc(0x34f))}),_0x2bc748(_0xec1dcc(0x22b),{'className':'univer-grid\x20univer-grid-cols-2\x20univer-gap-2','children':[_0x6d07a4(_0xd5afa6,{'axis':'x','defaultValues':H['axis']}),_0x6d07a4(_0xd5afa6,{'axis':'y','defaultValues':H[_0xec1dcc(0x268)]})]})]}),[_0x5ea5aa['IndicatorLine']]:_0x2bc748('div',{'className':_0xec1dcc(0x39f),'children':[_0x6d07a4(_0x2b6552,{'defaultValues':H[_0xec1dcc(0x288)]}),_0x6d07a4(_0x2d8737,{'defaultValues':H['indicatorLine']})]}),[_0x5ea5aa[_0xec1dcc(0x1ec)]]:_0x151dd3,[_0x5ea5aa[_0xec1dcc(0x3de)]]:_0x151dd3,[_0x5ea5aa[_0xec1dcc(0x1c2)]]:_0x151dd3,[_0x5ea5aa['Sunburst']]:_0x151dd3,[_0x5ea5aa[_0xec1dcc(0x3b2)]]:_0x151dd3,[_0x5ea5aa['Chord']]:_0x151dd3};return _0x6d07a4(_0x2a96be,{'value':_0x602c81,'onChange':_0xf416f3,'children':Sr(_0x39203b,_0x2360fa)[_0xec1dcc(0x210)](_0x265ec8=>_0x6d07a4(xr,{'id':_0x265ec8,'label':_0x5b2de0[_0x265ec8],'children':_0x17a649[_0x265ec8]},_0x265ec8))});}function Tr(_0x345715){const _0x62d451=_0x4f20c2;var _0x2b7762;let _0x3df2cd=_0x31f505(_0x15ff2e),[_0xb61e15,_0x1b06de]=_0x15fd4a(((_0x2b7762=_0x345715['initialRoute'])==null?void 0x0:_0x2b7762[_0x62d451(0x3cd)])??_0x37480e[_0x62d451(0x26a)]),_0x4f3b30=_0x86d104(()=>_0x34001b(_0x22763b[_0x62d451(0x210)](_0x462544=>({..._0x462544,'label':_0x3df2cd['t'](_0x62d451(0x1d3)+_0x462544['labelId'])}))),[_0x3df2cd]);return _0x40f294(()=>{const _0x4d2389=_0x62d451;var _0x2dc738;(_0x2dc738=_0x345715['initialRoute'])!=null&&_0x2dc738[_0x4d2389(0x3cd)]&&_0x1b06de(_0x345715[_0x4d2389(0x3ac)][_0x4d2389(0x3cd)]);},[_0x345715['initialRoute']]),_0x2bc748(_0x62d451(0x22b),{'className':_0x62d451(0x2c5),'children':[_0x6d07a4(_0x46effc,{'ariaLabel':_0x3df2cd['t'](_0x62d451(0x2aa)),'className':_0x62d451(0x36b),'items':[{'label':_0x3df2cd['t'](_0x62d451(0x26c)),'panelId':Er,'value':_0x37480e[_0x62d451(0x26a)]},{'label':_0x3df2cd['t'](_0x62d451(0x332)),'panelId':Dr,'value':_0x37480e[_0x62d451(0x333)]}],'value':_0xb61e15,'onChange':_0x1b06de}),_0xb61e15===_0x37480e[_0x62d451(0x26a)]?_0x6d07a4(_0x1722d3,{'id':Er,'label':_0x3df2cd['t'](_0x62d451(0x26c)),'children':_0x2bc748(_0x62d451(0x22b),{'className':'univer-flex\x20univer-flex-col\x20univer-gap-3\x20univer-px-4\x20univer-pb-5','children':[_0x6d07a4(_0xe4c803,{'options':_0x4f3b30,'onChange':_0x345715['onPreviewChartTypeChange']}),_0x6d07a4(_0x4b494c,{}),_0x6d07a4(_0xc82739,{}),_0x6d07a4(br,{}),_0x6d07a4(_0x8de745,{}),_0x2bc748(_0x62d451(0x22b),{'children':[_0x6d07a4(_0x1e79b7,{'title':_0x3df2cd['t'](_0x62d451(0x219))}),_0x6d07a4(_0x269b0c,{'className':_0x62d451(0x23b),'onClick':_0x345715[_0x62d451(0x342)],'children':_0x3df2cd['t'](_0x62d451(0x21e))})]}),_0x6d07a4(_0x1ff491,{}),_0x6d07a4(_0x33e4b7,{}),_0x6d07a4(_0x5045f6,{'defaultValues':H[_0x62d451(0x21a)]})]})}):_0x6d07a4(_0x1722d3,{'id':Dr,'label':_0x3df2cd['t'](_0x62d451(0x332)),'children':_0x6d07a4(wr,{'route':_0x345715[_0x62d451(0x3ac)]})}),_0x345715[_0x62d451(0x1c4)]&&_0x6d07a4('div',{'className':_0x62d451(0x25d),'children':_0x6d07a4(_0x269b0c,{'type':_0x62d451(0x24a),'variant':_0x62d451(0x25b),'onClick':_0x345715[_0x62d451(0x1c4)],'children':_0x3df2cd['t'](_0x62d451(0x205))})})]});}const Er=_0x4f20c2(0x33f),Dr='doc-chart-style-panel';function Or(_0x2d4e36){'@babel/helpers - typeof';const _0x44bdcc=_0x4f20c2;return Or=typeof Symbol==_0x44bdcc(0x1c7)&&typeof Symbol['iterator']==_0x44bdcc(0x309)?function(_0x3fec15){return typeof _0x3fec15;}:function(_0x58130e){const _0x1c0404=_0x44bdcc;return _0x58130e&&typeof Symbol==_0x1c0404(0x1c7)&&_0x58130e[_0x1c0404(0x291)]===Symbol&&_0x58130e!==Symbol[_0x1c0404(0x270)]?_0x1c0404(0x309):typeof _0x58130e;},Or(_0x2d4e36);}function kr(_0x6aee1a,_0x39b957){const _0x438409=_0x4f20c2;if(Or(_0x6aee1a)!='object'||!_0x6aee1a)return _0x6aee1a;var _0x2b0996=_0x6aee1a[Symbol[_0x438409(0x2d7)]];if(_0x2b0996!==void 0x0){var _0x138c3a=_0x2b0996[_0x438409(0x2bc)](_0x6aee1a,_0x39b957||_0x438409(0x25b));if(Or(_0x138c3a)!=_0x438409(0x221))return _0x138c3a;throw TypeError(_0x438409(0x1e2));}return(_0x39b957==='string'?String:Number)(_0x6aee1a);}function Ar(_0x5d4779){var _0x1c9fdf=kr(_0x5d4779,'string');return Or(_0x1c9fdf)=='symbol'?_0x1c9fdf:_0x1c9fdf+'';}function U(_0x1f0eea,_0x24914d,_0x5a8ac0){const _0x16fdf4=_0x4f20c2;return(_0x24914d=Ar(_0x24914d))in _0x1f0eea?Object[_0x16fdf4(0x1ff)](_0x1f0eea,_0x24914d,{'value':_0x5a8ac0,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x1f0eea[_0x24914d]=_0x5a8ac0,_0x1f0eea;}var jr=class extends _0x5243ee{constructor(_0x1b24b2,_0x5e197d,_0x38f308,_0x196f3f,_0x2dede8=!0x0,_0x67e5af){const _0xb4127a=_0x4f20c2;super(),this[_0xb4127a(0x37d)]=_0x1b24b2,this[_0xb4127a(0x2e9)]=_0x5e197d,this[_0xb4127a(0x230)]=_0x38f308,this['_getRenderRect']=_0x196f3f,this['_manageHostSize']=_0x2dede8,this['_getRenderScale']=_0x67e5af,U(this,_0xb4127a(0x278),_0x237e52[_0xb4127a(0x319)]),U(this,_0xb4127a(0x2fe),null),U(this,_0xb4127a(0x28b),null),U(this,'_hostStyle',{});}[_0x4f20c2(0x391)](){const _0xc90f88=_0x4f20c2;var _0xc67af5;let _0xc9ffdf=(_0xc67af5=this[_0xc90f88(0x368)])==null?void 0x0:_0xc67af5[_0xc90f88(0x2bc)](this);if(_0xc9ffdf)return{'width':Math['max'](0x1,_0xc9ffdf[_0xc90f88(0x20a)]),'height':Math[_0xc90f88(0x1b7)](0x1,_0xc9ffdf['height'])};let _0x32d6dd=this[_0xc90f88(0x2e9)][_0xc90f88(0x314)]();return{'width':Math[_0xc90f88(0x1b7)](0x1,_0x32d6dd[_0xc90f88(0x20a)]),'height':Math[_0xc90f88(0x1b7)](0x1,_0x32d6dd[_0xc90f88(0x3bf)])};}[_0x4f20c2(0x20d)](_0x37b873){const _0x176845=_0x4f20c2;this[_0x176845(0x367)]=_0x37b873,this[_0x176845(0x2fe)]&&this[_0x176845(0x230)](this['_frameNode'],_0x37b873);}async[_0x4f20c2(0x274)](){const _0x70aa0=_0x4f20c2;if(!this[_0x70aa0(0x28b)]){let _0x1745af=document[_0x70aa0(0x2dc)](_0x70aa0(0x22b));_0x1745af[_0x70aa0(0x2b5)][_0x70aa0(0x379)]='absolute',_0x1745af['style'][_0x70aa0(0x3db)]='0',_0x1745af[_0x70aa0(0x2b5)]['top']='0';let _0x214ace=document[_0x70aa0(0x2dc)](_0x70aa0(0x22b));_0x214ace[_0x70aa0(0x2b5)][_0x70aa0(0x379)]='relative',_0x214ace[_0x70aa0(0x2b5)][_0x70aa0(0x281)]='0',_0x214ace['style'][_0x70aa0(0x29e)]=_0x70aa0(0x20f),_0x214ace['style']['overflow']=_0x70aa0(0x30a),_0x214ace[_0x70aa0(0x26d)]='doc-chart-host',_0x1745af['appendChild'](_0x214ace),this['_host'][_0x70aa0(0x39c)](_0x1745af),this['_frameNode']=_0x1745af,this[_0x70aa0(0x28b)]=_0x214ace,this[_0x70aa0(0x230)](_0x1745af,this[_0x70aa0(0x367)]);}return this['syncLayout'](),this[_0x70aa0(0x28b)];}[_0x4f20c2(0x387)](){const _0x93ba8=_0x4f20c2;return!!(this[_0x93ba8(0x28b)]&&this['_host'][_0x93ba8(0x357)](this[_0x93ba8(0x28b)]));}[_0x4f20c2(0x22f)](){const _0xce9ded=_0x4f20c2;var _0xff7d6c;let _0x239724=this[_0xce9ded(0x391)](),_0x4b8125=(_0xff7d6c=this[_0xce9ded(0x1a1)])==null?void 0x0:_0xff7d6c[_0xce9ded(0x2bc)](this),_0xf23c5c=(_0x4b8125==null?void 0x0:_0x4b8125['scaleX'])??0x1,_0x241293=(_0x4b8125==null?void 0x0:_0x4b8125[_0xce9ded(0x1f1)])??0x1;this[_0xce9ded(0x3da)]&&this['_setElementSize'](this[_0xce9ded(0x2e9)],{'width':_0x239724[_0xce9ded(0x20a)]*_0xf23c5c,'height':_0x239724[_0xce9ded(0x3bf)]*_0x241293}),this['_frameNode']&&(this[_0xce9ded(0x3ca)](this['_frameNode'],_0x239724),this[_0xce9ded(0x1a1)]&&(this['_frameNode'][_0xce9ded(0x2b5)][_0xce9ded(0x358)]=_0xce9ded(0x280)+_0xf23c5c+',\x20'+_0x241293+')',this[_0xce9ded(0x2fe)]['style'][_0xce9ded(0x348)]=_0xce9ded(0x38a))),this[_0xce9ded(0x28b)]&&this[_0xce9ded(0x3ca)](this[_0xce9ded(0x28b)],this[_0xce9ded(0x36e)](_0x239724));}['markReady'](){}[_0x4f20c2(0x3c1)](){}[_0x4f20c2(0x246)](){const _0xd4ae9=_0x4f20c2;var _0x59c389;(_0x59c389=this[_0xd4ae9(0x2fe)])==null||_0x59c389[_0xd4ae9(0x31a)](),this['_frameNode']=null,this['_mountNode']=null,super[_0xd4ae9(0x246)]();}[_0x4f20c2(0x3ca)](_0x4bc51d,_0x52f790){const _0x3edbbf=_0x4f20c2;_0x4bc51d[_0x3edbbf(0x2b5)][_0x3edbbf(0x20a)]=_0x52f790[_0x3edbbf(0x20a)]+'px',_0x4bc51d[_0x3edbbf(0x2b5)]['height']=_0x52f790[_0x3edbbf(0x3bf)]+'px';}[_0x4f20c2(0x36e)](_0x1e25fb){const _0x140d14=_0x4f20c2;if(!_0x31316e(this[_0x140d14(0x367)]))return _0x1e25fb;let _0x1563d0=_0x130c78(_0x1e25fb,this[_0x140d14(0x367)]);return{'width':_0x1563d0[_0x140d14(0x20a)],'height':_0x1563d0['height']};}};function Mr(_0x225d53){const _0xbc7455=_0x4f20c2;var _0x39c045;let _0x9052fd=(_0x39c045=_0x225d53[_0xbc7455(0x29f)](/^#([\da-f]{3}|[\da-f]{6})$/i))==null?void 0x0:_0x39c045[0x1];if(_0x9052fd){let _0x4f794a=_0x9052fd[_0xbc7455(0x1b0)]===0x3?_0x9052fd[_0xbc7455(0x383)]('')['map'](_0x544802=>''+_0x544802+_0x544802)['join'](''):_0x9052fd;return _0xbc7455(0x2ac)+Number[_0xbc7455(0x2e0)](_0x4f794a[_0xbc7455(0x33b)](0x0,0x2),0x10)+',\x20'+Number['parseInt'](_0x4f794a[_0xbc7455(0x33b)](0x2,0x4),0x10)+',\x20'+Number[_0xbc7455(0x2e0)](_0x4f794a[_0xbc7455(0x33b)](0x4,0x6),0x10)+')';}let _0x59b2c2=document['createElement']('span');return _0x59b2c2['style'][_0xbc7455(0x1da)]=_0x225d53,_0x59b2c2['style'][_0xbc7455(0x1da)]||_0x225d53;}let W=class extends _0x5243ee{constructor(_0x566ee1,_0x3262b5,_0x4e436e){const _0x4ba934=_0x4f20c2;super(),this[_0x4ba934(0x300)]=_0x566ee1,this[_0x4ba934(0x2b1)]=_0x3262b5,this[_0x4ba934(0x365)]=_0x4e436e;}[_0x4f20c2(0x38d)](_0x41ff00){const _0x2390ce=_0x4f20c2;return _0x41ff00?this['_renderModelManager'][_0x2390ce(0x38d)](_0x41ff00,this[_0x2390ce(0x269)]()):this[_0x2390ce(0x365)][_0x2390ce(0x38d)]();}[_0x4f20c2(0x28c)](_0x4f80c0){const _0x13b31b=_0x4f20c2;let _0x1fc83f=_0x4f80c0['model'][_0x13b31b(0x3d4)];if(!_0x1fc83f)throw Error(_0x13b31b(0x337)+_0x4f80c0[_0x13b31b(0x37d)]+'\x20has\x20no\x20render\x20config.');let _0x4d4298=this[_0x13b31b(0x300)][_0x13b31b(0x352)]();return{'chartConfig':_0x1fc83f,'chartStyle':_0x32e0a5({..._0x4f80c0[_0x13b31b(0x1c6)]['style'],'runtime':_0x4f80c0[_0x13b31b(0x1c6)][_0x13b31b(0x2b3)](_0x4d4298),'direction':_0x4d4298},_0x1fc83f[_0x13b31b(0x1ba)])};}[_0x4f20c2(0x2cb)](_0x1489b0,_0x1ea2e6,_0x5ca1a7){const _0x2afb2a=_0x4f20c2;let {chartConfig:_0x402a1c,chartStyle:_0x1ee060}=this[_0x2afb2a(0x28c)](_0x1489b0),_0x2207b5=this[_0x2afb2a(0x365)][_0x2afb2a(0x1a9)]();return{'spec':_0x2207b5[_0x2afb2a(0x31e)](_0x2207b5['toSpec'](_0x402a1c,_0x1ee060),{'chartConfig':_0x402a1c,'chartStyle':_0x1ee060,'chartInstance':_0x5ca1a7},_0x1ea2e6),'chartConfig':_0x402a1c,'chartStyle':_0x1ee060,'hostStyle':this[_0x2afb2a(0x311)](_0x1ee060)};}['getHostStyle'](_0x398588){return _0x556746({'style':_0x398588,'getRenderColor':_0x1fe5ad=>this['_chartThemeService']['getRenderColor'](_0x1fe5ad)});}[_0x4f20c2(0x218)](_0x3b2741,_0x58f3b2){const _0x5352f3=_0x4f20c2;var _0x3ac79c;let _0x1a7911=(_0x3ac79c=_0x58f3b2[_0x5352f3(0x281)])!=null&&_0x3ac79c[_0x5352f3(0x1da)]&&_0x58f3b2[_0x5352f3(0x281)][_0x5352f3(0x20a)]?_0x58f3b2['border'][_0x5352f3(0x20a)]+_0x5352f3(0x371)+Mr(_0x58f3b2[_0x5352f3(0x281)]['color']):'';_0x3b2741[_0x5352f3(0x2b5)][_0x5352f3(0x281)]=_0x1a7911,_0x3b2741[_0x5352f3(0x2b5)][_0x5352f3(0x34c)]=_0x58f3b2['fill']?Mr(_0x58f3b2['fill']):'transparent',_0x3b2741[_0x5352f3(0x2b5)][_0x5352f3(0x326)]=_0x58f3b2[_0x5352f3(0x237)]?_0x58f3b2[_0x5352f3(0x237)]+'px':'',_0x3b2741[_0x5352f3(0x2b5)][_0x5352f3(0x239)]='hidden',_0x3b2741[_0x5352f3(0x2b5)][_0x5352f3(0x29e)]=_0x5352f3(0x317);}['_createChartRenderInstanceContext'](){const _0x56c68a=_0x4f20c2;return{'resolveHostStyle':({style:_0x4208b5})=>this[_0x56c68a(0x311)](_0x4208b5),'resolveRenderBackgroundColor':({hostStyle:_0x203d4c})=>_0x203d4c['fill'],'prepareSpec':({mode:_0x40d5da,spec:_0x1dbdda})=>_0x40d5da===_0x56c68a(0x272)?{..._0x1dbdda,'animation':!0x1,'tooltip':{'show':!0x1}}:_0x1dbdda};}[_0x4f20c2(0x246)](){super['dispose']();}};W=B([z(0x0,_0x571022(_0x15ff2e)),z(0x1,_0x571022(_0x31db7f)),z(0x2,_0x569e74)],W);var Nr=class extends _0x3fa314{constructor(_0x53916f){const _0x54b4c7=_0x4f20c2;super(),this[_0x54b4c7(0x296)](_0x53916f);}};function Pr(_0x4b1bce,_0x2bdbcf,_0x35c470,_0x31d596,_0x62a37d,_0x443f4c,_0x31353f){const _0x3b89f4=_0x4f20c2;let _0x12ec4b=new Nr(_0x47a8ea(_0x58b562(_0x2bdbcf),{'context':_0x31d596})),_0x3b0db5=new _0x52ed06(_0x4b1bce,{'chartType':_0x35c470,'dataSource':_0x12ec4b,'dataAggregation':_0x62a37d,'style':_0x443f4c},_0x31353f);return _0x3b0db5['init'](),_0x3b0db5[_0x3b89f4(0x324)]((_0x31d596==null?void 0x0:_0x31d596[_0x3b89f4(0x1b4)])===void 0x0?_0x484815(_0x12ec4b[_0x3b89f4(0x3a6)](),_0x3b0db5[_0x3b89f4(0x1fc)],_0x35c470):_0x217180(_0x12ec4b[_0x3b89f4(0x3a6)](),_0x31d596[_0x3b89f4(0x1b4)],!0x1)),{'unitId':_0x3b89f4(0x23e),'chartId':_0x4b1bce,'dataSourceId':_0x4b1bce+_0x3b89f4(0x27d),'model':_0x3b0db5,'source':_0x12ec4b};}function Fr(_0x88a4c7){const _0x2d11bb=_0x4f20c2;let _0x1a9a9b=_0x31f505(_0x15ff2e),_0x160241=_0x31f505(_0x577ec7),_0x41d436=_0x31f505(W),_0x37247f=_0x2d329c(null),_0x5bd72a=_0x2d329c(null),_0x22aad3=_0x2d329c(_0x2d11bb(0x30c)+_0x4280f7(0x8)),[_0x238dac,_0x491f5f]=_0x15fd4a(null);return _0x40f294(()=>{const _0x4179c7=_0x2d11bb;let _0x104444=_0x37247f[_0x4179c7(0x2f2)];if(!_0x104444)return;_0x491f5f(null),_0x104444[_0x4179c7(0x3a5)](),_0x5bd72a[_0x4179c7(0x2f2)]=Ir(_0x104444);let _0x4291cc=!0x1,_0x25253b=_0x1aeb43=>{_0x4291cc||_0x491f5f(_0x1aeb43);},_0x21ef8c=null,_0x4f31f1=null,_0x3cb2f9=null;try{_0x21ef8c=Pr(_0x22aad3['current'],_0x88a4c7[_0x4179c7(0x1e0)],_0x88a4c7[_0x4179c7(0x260)],_0x88a4c7['context'],_0x88a4c7[_0x4179c7(0x3ad)],_0x88a4c7['style'],_0x160241),_0x4f31f1=new jr(_0x21ef8c[_0x4179c7(0x37d)],_0x104444,(_0x11131f,_0x4a0c52)=>_0x41d436[_0x4179c7(0x218)](_0x11131f,_0x4a0c52),()=>_0x5bd72a[_0x4179c7(0x2f2)]??Ir(_0x104444),!0x1),_0x3cb2f9=_0x41d436[_0x4179c7(0x38d)](_0x237e52['Dom']),_0x3cb2f9[_0x4179c7(0x1a6)](_0x4f31f1);}catch(_0x570ff0){return _0x25253b(_0x570ff0),()=>{const _0xe499e2=_0x4179c7;_0x4291cc=!0x0,_0x104444[_0xe499e2(0x3a5)]();};}if(!_0x21ef8c||!_0x4f31f1||!_0x3cb2f9)return()=>{const _0x70cd7d=_0x4179c7;_0x4291cc=!0x0,_0x104444[_0x70cd7d(0x3a5)]();};let _0x21c223=_0x21ef8c,_0x3b2e3a=_0x4f31f1,_0x46d35b=_0x3cb2f9,_0x16a5e1=()=>{const _0x23e610=_0x4179c7;let _0x42dcfc,_0x4125d1;try{({chartConfig:_0x42dcfc,chartStyle:_0x4125d1}=_0x41d436['createRenderInput'](_0x21c223));}catch(_0x3c6d5b){_0x25253b(_0x3c6d5b);return;}_0x46d35b[_0x23e610(0x331)]({'chartId':_0x21c223[_0x23e610(0x37d)],'config':_0x42dcfc,'style':_0x4125d1})[_0x23e610(0x1c1)](()=>{_0x4291cc||_0x491f5f(null);})[_0x23e610(0x299)](_0x25253b);},_0x525860=_0x21c223['model'][_0x4179c7(0x2ab)][_0x4179c7(0x355)](_0xf4ebc5=>{_0xf4ebc5&&_0x16a5e1();}),_0x568237=typeof ResizeObserver>'u'?null:new ResizeObserver(_0x4d94f6=>{const _0x31daba=_0x4179c7;var _0x57c170;let _0x494aa5=(_0x57c170=_0x4d94f6[0x0])==null?void 0x0:_0x57c170[_0x31daba(0x2f1)];_0x5bd72a[_0x31daba(0x2f2)]=_0x494aa5&&_0x494aa5[_0x31daba(0x20a)]>0x0&&_0x494aa5[_0x31daba(0x3bf)]>0x0?{'width':_0x494aa5['width'],'height':_0x494aa5[_0x31daba(0x3bf)]}:Ir(_0x104444),_0x16a5e1();});return _0x568237==null||_0x568237[_0x4179c7(0x1d8)](_0x104444),()=>{const _0x329fa6=_0x4179c7;_0x4291cc=!0x0,_0x525860[_0x329fa6(0x222)](),_0x568237==null||_0x568237[_0x329fa6(0x3cc)](),_0x46d35b[_0x329fa6(0x246)](),_0x3b2e3a['dispose'](),_0x21c223[_0x329fa6(0x1c6)][_0x329fa6(0x246)](),_0x21c223[_0x329fa6(0x261)][_0x329fa6(0x246)](),_0x104444[_0x329fa6(0x3a5)]();};},[_0x160241,_0x88a4c7['chartType'],_0x88a4c7[_0x2d11bb(0x1fc)],_0x88a4c7[_0x2d11bb(0x3ad)],_0x88a4c7[_0x2d11bb(0x2b5)],_0x88a4c7[_0x2d11bb(0x1e0)],_0x41d436]),_0x2bc748(_0x2d11bb(0x22b),{'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':[_0x6d07a4(_0x2d11bb(0x22b),{'ref':_0x37247f,'className':_0x2d11bb(0x203)}),_0x238dac!=null&&_0x6d07a4('div',{'className':'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','children':_0x1a9a9b['t'](_0x2d11bb(0x22d))})]});}function Ir(_0x2eda6d){const _0x43773d=_0x4f20c2;let _0x6421e=_0x2eda6d[_0x43773d(0x314)]();return _0x6421e['width']<=0x0||_0x6421e[_0x43773d(0x3bf)]<=0x0?null:{'width':_0x6421e['width'],'height':_0x6421e[_0x43773d(0x3bf)]};}const Lr=_0x4f20c2(0x360),Rr=_0x4f20c2(0x2be);function zr(_0x34fcf9){const _0x450440=_0x4f20c2;var _0x3d2ff3,_0x1917bb,_0xdd812;let {unitId:_0x3bca2d,chartId:_0x20b280,drawingId:_0x25e511}=_0x34fcf9,_0x15e812=_0x31f505(_0x15ff2e),_0x6e7889=_0x31f505(_0x577ec7),_0x481fc1=_0x31f505(_0x559230),_0x2bcfba=_0x31f505(_0x48987d),_0x267683=_0x31f505(_0x155196),_0x19c058=_0x31f505(V),_0x372c78=_0x31f505(_r),_0x2e78a1=_0x86d104(()=>_0x19c058['getEditorState'](_0x3bca2d,_0x20b280),[_0x20b280,_0x19c058,_0x3bca2d]),_0x5ca041=_0x2bcfba[_0x450440(0x1a7)](_0x3bca2d,_0x20b280),_0x330e32=_0x86d104(()=>_0x267683==null?void 0x0:_0x267683[_0x450440(0x3b4)](_0x3bca2d,_0x20b280),[_0x20b280,_0x267683,_0x3bca2d]),_0x2e5a31=_0x59e8da(_0x330e32==null?void 0x0:_0x330e32[_0x450440(0x1c6)][_0x450440(0x1f8)],(_0x330e32==null?void 0x0:_0x330e32[_0x450440(0x1c6)][_0x450440(0x260)])??(_0x5ca041==null?void 0x0:_0x5ca041[_0x450440(0x260)])),_0x57d316=_0x59e8da(_0x330e32==null?void 0x0:_0x330e32[_0x450440(0x1c6)][_0x450440(0x3a7)],(_0x330e32==null?void 0x0:_0x330e32[_0x450440(0x1c6)][_0x450440(0x1fc)])??(_0x5ca041==null||(_0x3d2ff3=_0x5ca041['context'])==null?void 0x0:_0x3d2ff3['chartContext'])),_0x1c91c1=_0x59e8da(_0x330e32==null?void 0x0:_0x330e32[_0x450440(0x1c6)]['dataAggregation$'],(_0x330e32==null?void 0x0:_0x330e32[_0x450440(0x1c6)][_0x450440(0x3ad)])??(_0x5ca041==null?void 0x0:_0x5ca041[_0x450440(0x3ad)])),_0x273943=_0x59e8da(_0x330e32==null?void 0x0:_0x330e32[_0x450440(0x1c6)][_0x450440(0x303)],(_0x330e32==null?void 0x0:_0x330e32[_0x450440(0x1c6)][_0x450440(0x2b5)])??(_0x5ca041==null?void 0x0:_0x5ca041[_0x450440(0x2b5)])),_0x560733=_0x59e8da(_0x86d104(()=>{const _0x25aad1=_0x450440;var _0x58b67f;return _0x267683==null||(_0x58b67f=_0x267683[_0x25aad1(0x1ae)])==null?void 0x0:_0x58b67f[_0x25aad1(0x2bc)](_0x267683,_0x3bca2d,_0x20b280);},[_0x20b280,_0x267683,_0x3bca2d]),_0x267683==null||(_0x1917bb=_0x267683[_0x450440(0x2da)])==null?void 0x0:_0x1917bb[_0x450440(0x2bc)](_0x267683,_0x3bca2d,_0x20b280)),_0x4fcbc8=_0x86d104(()=>({..._0x5ca041==null?void 0x0:_0x5ca041[_0x450440(0x1fc)],'chartContext':_0x57d316}),[_0x5ca041==null?void 0x0:_0x5ca041['context'],_0x57d316]),[_0x39a201,_0xee26ee]=_0x15fd4a(_0x2e78a1),[_0x3ff4a4,_0x2889c2]=_0x15fd4a(()=>(_0x2e78a1==null?void 0x0:_0x2e78a1[_0x450440(0x1e0)][_0x450440(0x210)](_0x3d4ad1=>[..._0x3d4ad1]))??[]),[_0xaad0a7,_0x527a33]=_0x15fd4a(()=>(_0x2e78a1==null?void 0x0:_0x2e78a1['values']['map'](_0x44acd1=>[..._0x44acd1]))??[]),[_0x132c8f,_0x36e383]=_0x15fd4a(()=>_0x5ca041==null?void 0x0:_0x5ca041[_0x450440(0x260)]),[_0x407ff6,_0x2f80c1]=_0x15fd4a(()=>{const _0x18e0e7=_0x450440;var _0x495d68;return((_0x495d68=_0x34fcf9['route'])==null?void 0x0:_0x495d68['tab'])===_0x37480e[_0x18e0e7(0x26a)]?_0x18e0e7(0x1cc):_0x18e0e7(0x295);}),[_0x47ccaa,_0x51181f]=_0x15fd4a(null),_0x303b5a=_0x560733==null||(_0xdd812=_0x560733[_0x450440(0x1e0)])==null?void 0x0:_0xdd812[_0x450440(0x210)](_0x1ed5db=>[..._0x1ed5db]),_0x3686a8=_0x86d104(()=>{const _0x1892c4=_0x450440;var _0x37cfff;let _0x38e5f1=_0x481fc1['getUnit'](_0x3bca2d,_0x1a7e8c[_0x1892c4(0x238)]);if(!_0x330e32||!_0x38e5f1)return null;let _0x1c4793=_0x25e511??((_0x37cfff=Object['values'](_0x38e5f1[_0x1892c4(0x1f5)]()??{})['find'](_0x79b21=>_0x79b21[_0x1892c4(0x37d)]===_0x20b280))==null?void 0x0:_0x37cfff[_0x1892c4(0x384)]);return _0x1c4793?new _0x825d5d(_0x330e32['model'],new _0x2e7723({'unitId':_0x3bca2d,'chartId':_0x20b280,'drawingId':_0x1c4793,'documentDataModel':_0x38e5f1,'injector':_0x6e7889})):null;},[_0x20b280,_0x25e511,_0x6e7889,_0x330e32,_0x3bca2d,_0x481fc1]);return!_0x39a201||!_0x5ca041?_0x6d07a4(_0x450440(0x22b),{'className':'univer-p-4\x20univer-text-sm\x20univer-text-gray-500\x20dark:!univer-text-gray-400','children':_0x15e812['t']('docs-chart-ui.chartNotFound')}):_0x2bc748(_0x450440(0x22b),{'className':_0x450440(0x1bb),'style':{'height':_0x450440(0x2c0)},'children':[_0x6d07a4(_0x46effc,{'ariaLabel':_0x15e812['t'](_0x450440(0x2aa)),'className':_0x450440(0x2a1),'value':_0x407ff6,'items':[{'label':_0x15e812['t'](_0x450440(0x380)),'panelId':Br,'value':_0x450440(0x295)},{'label':_0x15e812['t']('docs-chart-ui.common.data'),'panelId':Vr,'value':'data'}],'variant':'segmented','onChange':_0x2f80c1}),_0x2bc748(_0x450440(0x22b),{'id':_0x407ff6===_0x450440(0x1cc)?Vr:Br,'aria-labelledby':(_0x407ff6===_0x450440(0x1cc)?Vr:Br)+_0x450440(0x32b),'className':_0x450440(0x2ea),'role':_0x450440(0x247),'children':[_0x407ff6===_0x450440(0x1cc)?_0x6d07a4(gr,{'values':_0x303b5a??_0x3ff4a4,'dataSource':_0x39a201[_0x450440(0x215)],'sharingCount':_0x39a201[_0x450440(0x33c)],'onCancel':()=>_0x2f80c1(_0x450440(0x295)),'onSubmit':(_0x41eb85,_0x2381ff)=>{const _0x92171b=_0x450440;if(!_0x19c058[_0x92171b(0x3b1)](_0x3bca2d,_0x20b280,_0x41eb85,_0x2381ff)){_0x51181f(_0x15e812['t'](_0x92171b(0x1b3)));return;}_0x51181f(null);let _0xf857f0=_0x19c058['getEditorState'](_0x3bca2d,_0x20b280);_0xee26ee(_0xf857f0??_0x39a201),_0x2889c2((_0xf857f0==null?void 0x0:_0xf857f0[_0x92171b(0x1e0)])??_0x41eb85),_0x527a33((_0xf857f0==null?void 0x0:_0xf857f0[_0x92171b(0x1e0)])??_0x41eb85),_0x2f80c1('chart');},'onDataSourceSubmit':_0x1370d3=>{const _0x248d99=_0x450440;if(!_0x19c058['changeDataSource'](_0x3bca2d,_0x20b280,_0x1370d3)){_0x51181f(_0x15e812['t']('docs-chart-ui.updateChartFailed'));return;}_0x51181f(null),_0xee26ee(_0x19c058[_0x248d99(0x24d)](_0x3bca2d,_0x20b280)??_0x39a201),_0x2f80c1('chart');}}):_0x2bc748('div',{'className':_0x450440(0x1aa),'children':[_0x6d07a4(_0x450440(0x22b),{'className':'univer-min-h-0\x20univer-min-w-0\x20univer-flex-1\x20univer-overflow-hidden','children':_0x6d07a4(Fr,{'values':_0x303b5a??_0xaad0a7,'chartType':_0x2e5a31??_0x132c8f??_0x5ca041[_0x450440(0x260)],'context':_0x4fcbc8,'dataAggregation':_0x1c91c1,'style':_0x273943})}),_0x2bc748(_0x450440(0x22b),{'className':_0x450440(0x320),'children':[_0x6d07a4('div',{'className':_0x450440(0x330),'children':_0x3686a8?_0x6d07a4(_0x53646a,{'chartUIService':_0x372c78,'hostAdapter':_0x3686a8,'children':_0x6d07a4(Tr,{'initialRoute':_0x34fcf9[_0x450440(0x1d5)],'onClose':_0x34fcf9['onClose'],'onPreviewChartTypeChange':_0x36e383,'onModifyData':()=>_0x2f80c1('data')})}):_0x6d07a4(_0x450440(0x22b),{'className':_0x450440(0x2e6),'children':_0x15e812['t']('docs-chart-ui.chartNotFound')})}),_0x47ccaa&&_0x6d07a4('div',{'className':'univer-text-xs\x20univer-text-red-600\x20dark:!univer-text-red-400','children':_0x47ccaa})]})]}),_0x407ff6===_0x450440(0x1cc)&&_0x47ccaa&&_0x6d07a4(_0x450440(0x22b),{'className':_0x450440(0x306),'children':_0x47ccaa})]})]});}const Br=_0x4f20c2(0x1ac),Vr=_0x4f20c2(0x1af);function G(_0x8f60,_0x32aa3c){const _0x532ba0=_0x4f20c2;var _0x1c9cb2;if(!(_0x32aa3c!=null&&_0x32aa3c[_0x532ba0(0x1d4)])||_0x32aa3c[_0x532ba0(0x2e7)]==null)return null;let _0x477bbc=_0x32aa3c[_0x532ba0(0x20b)]??'';if(_0x477bbc!=='')return null;let _0x50cfcd=(_0x1c9cb2=_0x8f60[_0x532ba0(0x325)](_0x477bbc))==null?void 0x0:_0x1c9cb2['getBody']();if(!_0x50cfcd)return null;let _0xb78e8a=Hr(_0x50cfcd,_0x32aa3c[_0x532ba0(0x2e7)]);if(!Ur(_0x50cfcd,_0xb78e8a))return null;let _0x4252f9=Gr(_0x50cfcd,_0xb78e8a);return _0x4252f9?{'unitId':_0x8f60[_0x532ba0(0x1f7)](),'index':_0x4252f9[_0x532ba0(0x1b9)],'segmentId':_0x477bbc,'breakOffsets':_0x4252f9[_0x532ba0(0x26f)]}:null;}function Hr(_0x51f63d,_0x4b0e84){return _0x4b0e84===0x0&&_0x51f63d['dataStream'][0x0]===_0x198cf0['PARAGRAPH']?0x1:_0x4b0e84;}function Ur(_0x1255b3,_0x1f38c3){const _0x5399c4=_0x4f20c2;return!(Jr(_0x1255b3[_0x5399c4(0x361)],_0x1f38c3)||Yr(_0x1255b3[_0x5399c4(0x393)],_0x1f38c3)||Xr(_0x1255b3[_0x5399c4(0x2d4)],_0x1f38c3));}function Wr(_0x1e752c,_0x4a8a15){const _0x43f906=_0x4f20c2;let {dataStream:_0x3cd316}=_0x1e752c;if(!_0x3cd316||_0x4a8a15<0x0||_0x4a8a15>=_0x3cd316['length'])return!0x1;let _0x33d633=Kr(_0x3cd316,_0x4a8a15)+0x1,_0x3b2c18=qr(_0x3cd316,_0x4a8a15);return _0x33d633<=_0x3b2c18&&_0x3cd316[_0x43f906(0x33b)](_0x33d633,_0x3b2c18)[_0x43f906(0x1b0)]===0x0;}function Gr(_0x3f5165,_0x591204){const _0x34b386=_0x4f20c2;let {dataStream:_0x264f55}=_0x3f5165;if(!_0x264f55||_0x591204<0x0||_0x591204>=_0x264f55[_0x34b386(0x1b0)])return null;if(Wr(_0x3f5165,_0x591204))return{'index':_0x591204,'breakOffsets':[]};let _0x1803ca=Kr(_0x264f55,_0x591204)+0x1,_0x1c2974=qr(_0x264f55,_0x591204);return _0x591204<=_0x1803ca?{'index':_0x591204,'breakOffsets':[_0x591204]}:_0x591204>=_0x1c2974?{'index':_0x591204+0x1,'breakOffsets':[_0x591204]}:{'index':_0x591204+0x1,'breakOffsets':[_0x591204,_0x591204+0x1]};}function Kr(_0x40bcd1,_0x5ac119){const _0x1b4e20=_0x4f20c2;let _0xe2d503=Math[_0x1b4e20(0x1b7)](0x0,Math[_0x1b4e20(0x226)](_0x5ac119-0x1,_0x40bcd1['length']-0x1));return Math[_0x1b4e20(0x1b7)](_0x40bcd1['lastIndexOf'](_0x198cf0[_0x1b4e20(0x24f)],_0xe2d503),_0x40bcd1[_0x1b4e20(0x2d9)](_0x198cf0[_0x1b4e20(0x32a)],_0xe2d503));}function qr(_0x1f630a,_0x4a80a1){const _0x1be097=_0x4f20c2;let _0x5a86ed=Math[_0x1be097(0x1b7)](0x0,Math[_0x1be097(0x226)](_0x4a80a1,_0x1f630a[_0x1be097(0x1b0)]-0x1)),_0x19e56a=_0x1f630a[_0x1be097(0x3b9)](_0x198cf0[_0x1be097(0x24f)],_0x5a86ed),_0x56d385=_0x1f630a[_0x1be097(0x3b9)](_0x198cf0[_0x1be097(0x32a)],_0x5a86ed);return _0x19e56a===-0x1&&_0x56d385===-0x1?_0x1f630a[_0x1be097(0x1b0)]:_0x19e56a===-0x1?_0x56d385:_0x56d385===-0x1?_0x19e56a:Math[_0x1be097(0x226)](_0x19e56a,_0x56d385);}function Jr(_0x5111a3,_0x45f5a0){const _0x31e4bb=_0x4f20c2;return!!(_0x5111a3!=null&&_0x5111a3[_0x31e4bb(0x2d2)](_0x21adeb=>_0x21adeb[_0x31e4bb(0x1b8)]<=_0x45f5a0&&_0x45f5a0<_0x21adeb[_0x31e4bb(0x1f0)]));}function Yr(_0x5fd126,_0x67e191){const _0xda1eb3=_0x4f20c2;return!!(_0x5fd126!=null&&_0x5fd126[_0xda1eb3(0x2d2)](_0x1f89a9=>_0x1f89a9[_0xda1eb3(0x1b8)]<=_0x67e191&&_0x67e191<=_0x1f89a9['endIndex']));}function Xr(_0x14b743,_0x38d6f1){const _0x4c5629=_0x4f20c2;return!!(_0x14b743!=null&&_0x14b743[_0x4c5629(0x2d2)](_0x3ebdbb=>_0x3ebdbb[_0x4c5629(0x1b8)]===_0x38d6f1));}let K=class{constructor(_0x1d5823,_0x62e6db,_0x3790d7,_0x3d037e){const _0x130ba0=_0x4f20c2;this[_0x130ba0(0x22a)]=_0x1d5823,this['_commandService']=_0x62e6db,this['_docSelectionManagerService']=_0x3790d7,this[_0x130ba0(0x36f)]=_0x3d037e;}['insertChartFromText'](_0x517e36,_0x38a850,_0x9ab00f){const _0x24eda2=_0x4f20c2;let _0x2ef59f=_0x333315(_0x517e36);return _0x2ef59f[_0x24eda2(0x1b0)]!==0x0&&this[_0x24eda2(0x2f3)](_0x2ef59f,_0x38a850,_0x9ab00f);}['insertChart'](_0x17584a,_0x5ca63b,_0x2798de={}){const _0x142b3a=_0x4f20c2;if(_0x17584a['length']===0x0)return!0x1;let _0x1580cd=_0x4dadfa(_0x5ca63b,_0x17584a);if(!_0x1580cd['ok'])return!0x1;let _0x58fd27=_0x2798de['unitId']?this[_0x142b3a(0x22a)][_0x142b3a(0x38c)](_0x2798de[_0x142b3a(0x344)],_0x1a7e8c[_0x142b3a(0x238)]):this[_0x142b3a(0x22a)][_0x142b3a(0x1ee)](_0x1a7e8c['UNIVER_DOC']);if(!_0x58fd27)return!0x1;let _0x250eae=this[_0x142b3a(0x208)](_0x58fd27,_0x2798de[_0x142b3a(0x1dd)]);if(!_0x250eae||!this[_0x142b3a(0x3d0)](_0x58fd27['getUnitId'](),_0x250eae[_0x142b3a(0x26f)],_0x250eae['segmentId']))return!0x1;let _0x3422bb=_0x250eae[_0x142b3a(0x344)],_0x540114={'chartType':_0x5ca63b};_0x2798de[_0x142b3a(0x1fc)]&&(_0x540114['context']=_0x2798de['context']),_0x2798de[_0x142b3a(0x3ad)]&&(_0x540114[_0x142b3a(0x3ad)]=_0x2798de['dataAggregation']),_0x2798de[_0x142b3a(0x2b5)]&&(_0x540114[_0x142b3a(0x2b5)]=_0x2798de[_0x142b3a(0x2b5)]);let _0xf4e96b=this[_0x142b3a(0x209)]['syncExecuteCommand'](_0x5ded8d['id'],{'unitId':_0x3422bb,'textRange':{'startOffset':_0x250eae[_0x142b3a(0x1b9)],'endOffset':_0x250eae[_0x142b3a(0x1b9)],'collapsed':!0x0,'segmentId':_0x250eae['segmentId']},'chart':_0x540114,'dataSource':_0x2798de['dataSource']??{'values':_0x1580cd['values']},'width':_0x2798de[_0x142b3a(0x20a)],'height':_0x2798de[_0x142b3a(0x3bf)],'focus':_0x2798de[_0x142b3a(0x3cb)]});return _0xf4e96b?{..._0xf4e96b,'unitId':_0x3422bb}:!0x1;}[_0x4f20c2(0x208)](_0x36b0c6,_0x46cd07){const _0x75e5de=_0x4f20c2;if(_0x46cd07)return G(_0x36b0c6,_0x46cd07);let _0x48fedb=_0x36b0c6['getUnitId'](),_0x2258c1=null;try{_0x2258c1=this[_0x75e5de(0x36f)]['consumeInsertRange'](_0x48fedb);}catch{_0x2258c1=null;}if(_0x2258c1)return G(_0x36b0c6,{'startOffset':_0x2258c1[_0x75e5de(0x2e7)],'endOffset':_0x2258c1[_0x75e5de(0x220)],'collapsed':_0x2258c1[_0x75e5de(0x2e7)]===_0x2258c1['endOffset'],'segmentId':_0x2258c1[_0x75e5de(0x20b)]??''});let _0x5932c7={'unitId':_0x48fedb,'subUnitId':_0x48fedb},_0x1c42e8=this[_0x75e5de(0x241)][_0x75e5de(0x277)](_0x5932c7)??[];return G(_0x36b0c6,Zr(_0x1c42e8[_0x75e5de(0x37b)](_0x2e7250=>_0x2e7250[_0x75e5de(0x283)])??_0x1c42e8[0x0]));}[_0x4f20c2(0x3d0)](_0x5a6d5c,_0x4dc875,_0x255c4f){const _0x3500c9=_0x4f20c2;for(let _0x3d6570 of _0x4dc875)if(!this[_0x3500c9(0x209)][_0x3500c9(0x28a)](_0xa70a01['id'],{'unitId':_0x5a6d5c,'textRange':{'startOffset':_0x3d6570,'endOffset':_0x3d6570,'collapsed':!0x0,'segmentId':_0x255c4f}}))return!0x1;return!0x0;}};K=B([z(0x0,_0x559230),z(0x1,_0x2a1459),z(0x2,_0x571022(_0x528519)),z(0x3,_0x571022(_0x3c4cce))],K);function Zr(_0x11a472){return!_0x11a472||typeof _0x11a472!='object'?null:_0x11a472;}const Qr=_0x4f20c2(0x35b),$r=['Category\x09Value','A\x0912',_0x4f20c2(0x3d7),'C\x099'][_0x4f20c2(0x335)]('\x0a');function ei(_0xd91b97){const _0x3ff368=_0x4f20c2;let _0x4741a5=_0x31f505(K),_0x3c5691=_0x31f505(_0x15ff2e),{defaultChartType:_0x2c0129=_0x279288[_0x3ff368(0x35a)],defaultTableText:_0x3d0907=$r,insertOptions:_0xfe0eb,onCancel:_0x3cf92e,onInserted:_0x53149e}=_0xd91b97,_0x116fcf=_0x86d104(()=>_0x34001b(_0x22763b[_0x3ff368(0x210)](_0x486d56=>({..._0x486d56,'label':_0x3c5691['t']('docs-chart-ui.chartTypes.'+_0x486d56[_0x3ff368(0x350)])}))),[_0x3c5691]),[_0x128cb8,_0x49c786]=_0x15fd4a(String(_0x2c0129)),_0x43611e=_0x116fcf[_0x3ff368(0x37b)](_0x289424=>_0x289424[_0x3ff368(0x204)]===_0x128cb8),_0x160646=(_0x43611e==null?void 0x0:_0x43611e['chartType'])??_0x2c0129,_0xbc136=_0x26db73=>_0xd1e20f(_0x26db73,{'candlestickClose':_0x3c5691['t']('docs-chart-ui.candlestick.close'),'candlestickHigh':_0x3c5691['t']('docs-chart-ui.candlestick.high'),'candlestickLow':_0x3c5691['t'](_0x3ff368(0x1a0)),'candlestickOpen':_0x3c5691['t'](_0x3ff368(0x29b)),'category':_0x3c5691['t'](_0x3ff368(0x305)),'chordSource':_0x3c5691['t']('docs-chart-ui.chord.source'),'chordTarget':_0x3c5691['t'](_0x3ff368(0x2cf)),'label':_0x3c5691['t'](_0x3ff368(0x235)),'sunburstHierarchy':_0x3c5691['t']('docs-chart-ui.sunburst.hierarchy'),'value':_0x3c5691['t']('docs-chart-ui.common.value'),'valueField':_0x3c5691['t']('docs-chart-ui.common.valueField')}),[_0x4aa4c3,_0x3a374e]=_0x15fd4a(()=>_0xd91b97['defaultTableText']===void 0x0?_0xbc136(_0x2c0129)??_0x333315(_0x3d0907):_0x333315(_0x3d0907)),[_0x11025c,_0xe4e800]=_0x15fd4a(_0x3ff368(0x2b6)),[_0x445ad5,_0x51f941]=_0x15fd4a(null),[_0x5da76e,_0x43b727]=_0x15fd4a([]),[_0xf8ce41,_0x34379e]=_0x15fd4a(null),_0x23e692={[_0x1733db[_0x3ff368(0x2ef)]]:_0x3c5691['t']('docs-chart-ui.common.insertChartFailed'),[_0x1733db[_0x3ff368(0x2dd)]]:_0x3c5691['t'](_0x3ff368(0x37a)),[_0x1733db[_0x3ff368(0x1de)]]:_0x3c5691['t'](_0x3ff368(0x1d2))};return _0x2bc748('div',{'className':_0x3ff368(0x38f),'children':[_0x2bc748(_0x3ff368(0x22b),{'className':_0x3ff368(0x39f),'children':[_0x6d07a4('div',{'className':'univer-text-sm\x20univer-font-medium\x20univer-text-gray-900\x20dark:!univer-text-gray-0','children':_0x3c5691['t'](_0x3ff368(0x381))}),_0x6d07a4(_0x20a571,{'className':_0x3ff368(0x28f),'value':_0x128cb8,'options':_0x116fcf,'onChange':_0x31b2b6=>{const _0x522010=_0x3ff368;var _0x23b06f;_0x49c786(_0x31b2b6);let _0x1f1866=((_0x23b06f=_0x116fcf[_0x522010(0x37b)](_0x5d9b9b=>_0x5d9b9b['value']===_0x31b2b6))==null?void 0x0:_0x23b06f['chartType'])??Number(_0x31b2b6),_0x3f1027=_0xbc136(_0x1f1866);_0x3f1027&&_0x3a374e(_0x3f1027);}})]}),_0x6d07a4(_0x53c43c,{'mode':_0x11025c,'inlineContent':_0x6d07a4(_0x3370ea,{'values':_0x4aa4c3,'minColumns':_0x4d3850(_0x160646),'parsePastedText':_0x333315,'onChange':_0x3a374e}),'onModeChange':_0x1ad394=>{_0xe4e800(_0x1ad394),_0x51f941(null),_0x43b727([]);},'onPreviewChange':(_0x322a89,_0x12b6b1)=>{const _0x2cd8e1=_0x3ff368;_0x322a89&&_0x12b6b1['status']===_0x3e747d['READY']&&_0x12b6b1[_0x2cd8e1(0x1e0)]?(_0x51f941({'source':_0x322a89}),_0x43b727(_0x12b6b1[_0x2cd8e1(0x1e0)][_0x2cd8e1(0x210)](_0x2b5ed5=>[..._0x2b5ed5]))):(_0x51f941(null),_0x43b727([]));}}),_0xf8ce41&&_0x6d07a4(_0x3ff368(0x22b),{'className':_0x3ff368(0x293),'children':_0xf8ce41}),_0x2bc748(_0x3ff368(0x22b),{'className':_0x3ff368(0x3a8),'children':[_0x3cf92e&&_0x6d07a4(_0x269b0c,{'type':_0x3ff368(0x24a),'variant':_0x3ff368(0x25b),'onClick':_0x3cf92e,'children':_0x3c5691['t'](_0x3ff368(0x3c8))}),_0x6d07a4(_0x269b0c,{'type':'button','variant':_0x3ff368(0x3d8),'disabled':_0x11025c===_0x3ff368(0x1d0)&&!_0x445ad5,'onClick':()=>{const _0x3d9791=_0x3ff368;var _0x320442;let _0x40994f=_0x4dc28e({'optionId':_0x128cb8,'values':_0x11025c==='referenced'?_0x5da76e:_0x4aa4c3});if(!_0x40994f['ok']){_0x34379e(_0x23e692[_0x40994f[_0x3d9791(0x32f)][_0x3d9791(0x38e)]]);return;}let _0x4c5e41={..._0xfe0eb,..._0x11025c===_0x3d9791(0x1d0)&&_0x445ad5?{'dataSource':_0x445ad5}:{},'context':{..._0x40994f[_0x3d9791(0x2ae)]['context'],..._0xfe0eb==null?void 0x0:_0xfe0eb[_0x3d9791(0x1fc)]}},_0x8f138c=_0x40994f[_0x3d9791(0x2ae)]['style']?{..._0x4c5e41,'style':{..._0x4c5e41==null?void 0x0:_0x4c5e41[_0x3d9791(0x2b5)],'pie':{..._0x4c5e41==null||(_0x320442=_0x4c5e41[_0x3d9791(0x2b5)])==null?void 0x0:_0x320442['pie'],..._0x40994f[_0x3d9791(0x2ae)][_0x3d9791(0x2b5)]['pie']}}}:_0x4c5e41,_0xcd6439=_0x4741a5[_0x3d9791(0x2f3)](_0x40994f[_0x3d9791(0x2ae)][_0x3d9791(0x1e0)],_0x40994f[_0x3d9791(0x2ae)][_0x3d9791(0x260)],_0x8f138c);if(!_0xcd6439){_0x34379e(_0x3c5691['t'](_0x3d9791(0x2c8)));return;}_0x34379e(null),_0x53149e==null||_0x53149e(_0xcd6439);},'children':_0x3c5691['t'](_0x3ff368(0x2a2))})]})]});}const ti=_0x4f20c2(0x2fb),ni={},ri=_0x4f20c2(0x249);let q=class extends _0x5243ee{constructor(_0x4ce145,_0x2ee214,_0xfdf5c5){const _0x50f2ae=_0x4f20c2;super(),this[_0x50f2ae(0x2e2)]=_0x4ce145,this[_0x50f2ae(0x3d9)]=_0x2ee214,this[_0x50f2ae(0x2a8)]=_0xfdf5c5,this[_0x50f2ae(0x32c)]();}[_0x4f20c2(0x32c)](){const _0x59f215=_0x4f20c2;this[_0x59f215(0x19f)](this[_0x59f215(0x2e2)][_0x59f215(0x347)]({'onCopyDocData':(_0x55052d,_0x15ed7f)=>this[_0x59f215(0x28d)](_0x55052d,_0x15ed7f[_0x59f215(0x2b4)])})),this[_0x59f215(0x19f)](this[_0x59f215(0x3d9)]['registerAdapter']({'getPasteMutationInfos':_0x5cd9c6=>this[_0x59f215(0x232)](_0x5cd9c6)}));}[_0x4f20c2(0x28d)](_0x13a5c6,_0x82ac1b){const _0x36f0c5=_0x4f20c2;var _0x2b92fa;let _0x467bce=(_0x2b92fa=_0x82ac1b[0x0])==null?void 0x0:_0x2b92fa['id'];if(!_0x467bce)return _0x13a5c6;let _0x3894c1=Object['values'](_0x13a5c6[_0x36f0c5(0x2bd)]??{})[_0x36f0c5(0x1fb)](_0x30c208=>this['_isDocChartDrawing'](_0x30c208));if(_0x3894c1['length']===0x0)return _0x13a5c6;let _0x205ce6={'version':_0x41e96b,'dataSources':{},'charts':{}};return _0x3894c1['forEach'](_0x232a0a=>{const _0x1b2c6e=_0x36f0c5;let _0x584f43=this[_0x1b2c6e(0x2a8)][_0x1b2c6e(0x1a7)](_0x467bce,_0x232a0a[_0x1b2c6e(0x37d)]);if(!_0x584f43)return;let _0x33b7e3=this[_0x1b2c6e(0x2a8)][_0x1b2c6e(0x253)](_0x467bce,_0x584f43[_0x1b2c6e(0x1be)]);_0x33b7e3&&(_0x205ce6[_0x1b2c6e(0x287)][_0x584f43['id']]=_0x43501b[_0x1b2c6e(0x27b)](_0x584f43),_0x205ce6[_0x1b2c6e(0x3c3)][_0x33b7e3['id']]=_0x33b7e3);}),Object[_0x36f0c5(0x3a2)](_0x205ce6[_0x36f0c5(0x287)])[_0x36f0c5(0x1b0)]===0x0?_0x13a5c6:{..._0x13a5c6,[ri]:_0x205ce6};}[_0x4f20c2(0x232)](_0x49a580){const _0x23ba89=_0x4f20c2;let _0x5bba57=_0x49a580[_0x23ba89(0x1bd)][ri];if(!_0x5bba57)return{'redoMutations':[],'undoMutations':[]};let _0x4b2fac=new Map(),_0xe240f5=[],_0x2e0ea8=[],_0x1c6b18=[],_0x51a0ed=[];return _0x49a580['customBlockMappings'][_0x23ba89(0x329)](_0x753f9=>{const _0x324517=_0x23ba89;if(!this[_0x324517(0x23a)](_0x753f9['sourceDrawing'])||!this['_isDocChartDrawing'](_0x753f9['targetDrawing']))return;let _0x194995=_0x5bba57[_0x324517(0x287)][_0x753f9[_0x324517(0x1bc)][_0x324517(0x37d)]];if(!_0x194995)return;let _0x43cc19=_0x5bba57[_0x324517(0x3c3)][_0x194995[_0x324517(0x1be)]];if(!_0x43cc19)return;let _0x107feb=this['_getOrCreatePastedDataSourceId'](_0x49a580['unitId'],_0x43cc19,_0x4b2fac,_0xe240f5,_0x2e0ea8),_0x51e7d3=_0x4280f7(),_0x28e245={..._0x194995,'id':_0x51e7d3,'dataSourceId':_0x107feb};_0x753f9[_0x324517(0x2ff)][_0x324517(0x37d)]=_0x51e7d3,_0x1c6b18[_0x324517(0x229)]({'id':_0x20cf6e['id'],'params':{'unitId':_0x49a580[_0x324517(0x344)],'chart':_0x28e245}}),_0x51a0ed['push']({'id':_0x2c91cb['id'],'params':{'unitId':_0x49a580['unitId'],'chartId':_0x51e7d3}});}),{'redoMutations':[..._0xe240f5,..._0x1c6b18],'undoMutations':[..._0x51a0ed,..._0x2e0ea8]};}['_getOrCreatePastedDataSourceId'](_0x20aa81,_0x15a2d4,_0x5a5069,_0x42e716,_0x493a7d){const _0x17f269=_0x4f20c2;let _0x215463=_0x5a5069[_0x17f269(0x2d8)](_0x15a2d4['id']);if(_0x215463)return _0x215463;let _0x20fc3a=_0x4280f7();return _0x5a5069['set'](_0x15a2d4['id'],_0x20fc3a),_0x42e716[_0x17f269(0x229)]({'id':_0x191f83['id'],'params':{'unitId':_0x20aa81,'dataSource':{..._0x15a2d4,'id':_0x20fc3a}}}),_0x493a7d[_0x17f269(0x229)]({'id':_0x327b8e['id'],'params':{'unitId':_0x20aa81,'dataSourceId':_0x20fc3a}}),_0x20fc3a;}[_0x4f20c2(0x23a)](_0x295a4e){const _0x5f37cb=_0x4f20c2;let _0x17aaf6=_0x295a4e;return(_0x17aaf6==null?void 0x0:_0x17aaf6[_0x5f37cb(0x2bb)])===_0x1c73b1['DRAWING_CHART']&&typeof _0x17aaf6[_0x5f37cb(0x37d)]=='string';}};q=B([z(0x0,_0x571022(_0x408af3)),z(0x1,_0x571022(_0x317ab0)),z(0x2,_0x571022(_0x48987d))],q);let J=class extends _0x5243ee{constructor(_0x4809a5,_0x24f727,_0x4612d3,_0x2e04d5){const _0xaed422=_0x4f20c2;super(),this['_drawingAdapterService']=_0x4809a5,this['_floatingToolbarAdapterService']=_0x24f727,this[_0xaed422(0x2a8)]=_0x4612d3,this[_0xaed422(0x300)]=_0x2e04d5,this[_0xaed422(0x35f)]();}['_initAdapter'](){const _0x1da69d=_0x4f20c2;this[_0x1da69d(0x19f)](this[_0x1da69d(0x29d)][_0x1da69d(0x1a5)]({'getEditDrawingCommandInfo':({unitId:_0x1c5a10,drawing:_0x3b5f58})=>{const _0x2f8e7f=_0x1da69d;let _0x25c273=ii(_0x3b5f58);return _0x25c273?{'label':this[_0x2f8e7f(0x300)]['t'](_0x2f8e7f(0x2aa)),'commandId':R['id'],'commandParams':{'unitId':_0x1c5a10,'chartId':_0x25c273[_0x2f8e7f(0x37d)],'drawingId':_0x25c273['drawingId']}}:null;}})),this[_0x1da69d(0x19f)](this[_0x1da69d(0x223)]['registerAdapter']({'getItems':({unitId:_0x2e0a89,subUnitId:_0x22555e,drawing:_0x556747})=>{const _0x4c6bbc=_0x1da69d;var _0xbe74ee;let _0x17c4fd=ii(_0x556747);if(!_0x17c4fd)return null;let _0x5a23d0=this[_0x4c6bbc(0x2a8)]['getChart'](_0x2e0a89,_0x17c4fd[_0x4c6bbc(0x37d)]),_0x2e7926=(_0x5a23d0==null?void 0x0:_0x5a23d0[_0x4c6bbc(0x260)])??_0x279288[_0x4c6bbc(0x35a)],_0x318748=_0x22763b[_0x4c6bbc(0x210)](_0x108d43=>({'value':'id'in _0x108d43?_0x108d43['id']:String(_0x108d43['value']),'chartType':_0x108d43[_0x4c6bbc(0x204)],..._0x4c6bbc(0x25a)in _0x108d43?{'pieSecondaryPlotType':_0x108d43[_0x4c6bbc(0x25a)]}:{},'icon':_0x108d43['iconName'],'label':this[_0x4c6bbc(0x300)]['t'](_0x4c6bbc(0x1d3)+_0x108d43[_0x4c6bbc(0x350)])})),_0x19cfa0=_0x47ca81(_0x2e7926,_0x5a23d0==null||(_0xbe74ee=_0x5a23d0[_0x4c6bbc(0x2b5)])==null?void 0x0:_0xbe74ee['pie'],_0x318748);return[{'type':_0x4c6bbc(0x1e1),'label':this[_0x4c6bbc(0x300)]['t'](_0x4c6bbc(0x381)),'index':0x0,'commandId':_0x5b018c['id'],'commandParamsFactory':_0x427e53=>{const _0x2484fe=_0x4c6bbc;var _0x2a37b2,_0x331a3e;let _0x1a5222=_0x318748[_0x2484fe(0x37b)](_0x4f9f89=>_0x4f9f89[_0x2484fe(0x204)]===_0x427e53),_0x2838a2=(_0x1a5222==null?void 0x0:_0x1a5222[_0x2484fe(0x260)])??Number(_0x427e53),_0x1bd09c=_0x5a23d0==null||(_0x2a37b2=_0x5a23d0['style'])==null||(_0x2a37b2=_0x2a37b2[_0x2484fe(0x3c5)])==null?void 0x0:_0x2a37b2['composite'],_0x2cc1c2=(_0x2838a2===_0x279288[_0x2484fe(0x3a0)]||_0x2838a2===_0x279288['Doughnut'])&&typeof(_0x5a23d0==null||(_0x331a3e=_0x5a23d0['style'])==null||(_0x331a3e=_0x331a3e[_0x2484fe(0x3c5)])==null?void 0x0:_0x331a3e[_0x2484fe(0x34b)])==_0x2484fe(0x2ec),_0x5a6698=_0x2cc1c2?{'doughnutHole':null}:{},_0x556090={'unitId':_0x2e0a89,'chartId':_0x17c4fd[_0x2484fe(0x37d)],'chartType':_0x2838a2};if(_0x1a5222!=null&&_0x1a5222[_0x2484fe(0x25a)]){var _0x5692b9;return{..._0x556090,'style':{..._0x5a23d0==null?void 0x0:_0x5a23d0[_0x2484fe(0x2b5)],'pie':{..._0x5a23d0==null||(_0x5692b9=_0x5a23d0[_0x2484fe(0x2b5)])==null?void 0x0:_0x5692b9[_0x2484fe(0x3c5)],..._0x5a6698,'composite':{..._0x1bd09c,'enabled':!0x0,'secondaryPlot':{..._0x1bd09c==null?void 0x0:_0x1bd09c['secondaryPlot'],'type':_0x1a5222[_0x2484fe(0x25a)]}}}}};}if(_0x2838a2===_0x279288['Pie']&&_0x1bd09c){var _0x14c83a;return{..._0x556090,'style':{..._0x5a23d0==null?void 0x0:_0x5a23d0[_0x2484fe(0x2b5)],'pie':{..._0x5a23d0==null||(_0x14c83a=_0x5a23d0[_0x2484fe(0x2b5)])==null?void 0x0:_0x14c83a[_0x2484fe(0x3c5)],..._0x5a6698,'composite':{..._0x1bd09c,'enabled':!0x1}}}};}return _0x2cc1c2?{..._0x556090,'style':{'pie':_0x5a6698}}:_0x556090;},'disable':!_0x5a23d0,'value':_0x19cfa0,'options':_0x318748},{'type':_0x4c6bbc(0x24a),'label':this[_0x4c6bbc(0x300)]['t'](_0x4c6bbc(0x2aa)),'index':0x1,'commandId':R['id'],'commandParams':{'unitId':_0x2e0a89,'chartId':_0x17c4fd[_0x4c6bbc(0x37d)],'drawingId':_0x17c4fd[_0x4c6bbc(0x384)]},'disable':!0x1,'icon':_0x4c6bbc(0x2fd)},{'type':'button','label':this['_localeService']['t']('docs-chart-ui.common.deleteChart'),'index':0x2,'commandId':_0x424937['id'],'commandParams':{'unitId':_0x2e0a89,'drawings':[{'unitId':_0x2e0a89,'subUnitId':_0x22555e,'drawingId':_0x17c4fd[_0x4c6bbc(0x384)]}]},'disable':!0x1,'icon':_0x4c6bbc(0x3d6)}];}}));}};J=B([z(0x0,_0x1d4123),z(0x1,_0x571022(_0x294fe1)),z(0x2,_0x571022(_0x48987d)),z(0x3,_0x571022(_0x15ff2e))],J);function ii(_0x431cff){const _0x4260df=_0x4f20c2;let _0x455591=_0x431cff;return(_0x455591==null?void 0x0:_0x455591[_0x4260df(0x2bb)])===_0x1c73b1[_0x4260df(0x1c5)]&&typeof _0x455591['chartId']=='string'?_0x455591:null;}const ai=_0x52bae9('doc-chart.snapshot-renderer');var oi=class{constructor(_0x339cff,_0x3da6fd){const _0x1a8659=_0x4f20c2;this['_renderService']=_0x339cff,this[_0x1a8659(0x365)]=_0x3da6fd;}async['render'](_0x3c0389,_0x1c09d7){const _0x12dfc8=_0x4f20c2;if(typeof document>'u')throw TypeError(_0x12dfc8(0x328));let {chartConfig:_0x29a20c,chartStyle:_0xa33298}=this[_0x12dfc8(0x1a4)]['createRenderInput'](_0x1c09d7);if(_0x3c0389[_0x12dfc8(0x243)]===_0x5d0e73[_0x12dfc8(0x2ed)])return(await this[_0x12dfc8(0x365)]['exportImage']({'chartId':_0x1c09d7[_0x12dfc8(0x37d)],'config':_0x29a20c,'style':_0xa33298,'width':_0x3c0389['width'],'height':_0x3c0389[_0x12dfc8(0x3bf)]},{'format':_0x3c0389[_0x12dfc8(0x243)]}))[_0x12dfc8(0x282)];let _0x49e325=new _0x2b665d(_0x1c09d7['chartId'],{'width':_0x3c0389[_0x12dfc8(0x20a)],'height':_0x3c0389[_0x12dfc8(0x3bf)]}),_0x704bb=this[_0x12dfc8(0x1a4)]['createChartInstance'](_0x237e52[_0x12dfc8(0x30f)]);try{_0x704bb[_0x12dfc8(0x1a6)](_0x49e325),await _0x704bb[_0x12dfc8(0x331)]({'chartId':_0x1c09d7[_0x12dfc8(0x37d)],'config':_0x29a20c,'style':_0xa33298});let _0x102b52=_0x49e325[_0x12dfc8(0x390)]();if(!_0x102b52)throw Error('Failed\x20to\x20render\x20document\x20chart\x20snapshot:\x20'+_0x1c09d7[_0x12dfc8(0x344)]+'/'+_0x1c09d7['chartId']);return _0x102b52;}finally{_0x704bb[_0x12dfc8(0x246)](),_0x49e325[_0x12dfc8(0x246)]();}}};let Y=class extends _0x133d7b{constructor(_0x3fd76d,_0x24222d,_0x4eb4c9,_0x48607a,_0x6a1896){super(_0x3fd76d,_0x24222d,_0x6a1896??new oi(_0x4eb4c9,_0x48607a));}['getCacheKey'](_0x112792){const _0x2ae6b0=_0x4f20c2;let _0x1416ce=super[_0x2ae6b0(0x36c)](_0x112792);return _0x112792[_0x2ae6b0(0x243)]===_0x5d0e73[_0x2ae6b0(0x2ed)]?_0x1416ce+'::'+_0x112792['format']:_0x1416ce;}};Y=B([z(0x0,_0x571022(_0x15ff2e)),z(0x1,_0x571022(_0x155196)),z(0x2,_0x571022(W)),z(0x3,_0x569e74),z(0x4,_0x2153d7(ai))],Y);let si=class extends _0x5243ee{constructor(_0x88dc5b,_0x55ea8d){const _0x357614=_0x4f20c2;super(),this['_snapshotService']=_0x88dc5b,this[_0x357614(0x30b)]=_0x55ea8d,U(this,_0x357614(0x366),new Map()),this['_listenRuntimeData']();}['_listenRuntimeData'](){const _0x56595e=_0x4f20c2;this[_0x56595e(0x19f)](this[_0x56595e(0x30b)][_0x56595e(0x1f9)][_0x56595e(0x355)](_0x509bbd=>this[_0x56595e(0x264)](_0x509bbd))),this[_0x56595e(0x19f)](this[_0x56595e(0x30b)][_0x56595e(0x3dd)][_0x56595e(0x355)](_0x478ef2=>this[_0x56595e(0x362)](_0x478ef2))),this[_0x56595e(0x19f)](_0x290cb5(()=>{const _0x549fad=_0x56595e;this['_runtimeStateSubscriptions'][_0x549fad(0x329)](({subscription:_0x3a74f9})=>_0x3a74f9[_0x549fad(0x222)]()),this[_0x549fad(0x366)][_0x549fad(0x1cb)]();}));}[_0x4f20c2(0x264)](_0x18ab30){const _0x2ebaa9=_0x4f20c2;if(this['_runtimeStateSubscriptions'][_0x2ebaa9(0x27c)](_0x18ab30))return;let _0x28a2e8=_0x18ab30[_0x2ebaa9(0x1c6)][_0x2ebaa9(0x3d4)]==null?0x0:0x1,_0x14ff7b=_0x2cf3ee([_0x18ab30[_0x2ebaa9(0x1c6)][_0x2ebaa9(0x2ab)][_0x2ebaa9(0x37e)](_0x3b1037(_0x1d7453=>_0x1d7453!=null)),_0x18ab30[_0x2ebaa9(0x1c6)][_0x2ebaa9(0x303)]])['pipe'](_0x55e47d(_0x28a2e8),_0x1cce15(0x0))[_0x2ebaa9(0x355)](()=>this[_0x2ebaa9(0x334)][_0x2ebaa9(0x3a9)](_0x18ab30[_0x2ebaa9(0x344)],_0x18ab30[_0x2ebaa9(0x37d)]));this[_0x2ebaa9(0x366)][_0x2ebaa9(0x231)](_0x18ab30,{'subscription':_0x14ff7b});}[_0x4f20c2(0x362)](_0x21a315){const _0x3f3b24=_0x4f20c2;var _0x384bbe;(_0x384bbe=this['_runtimeStateSubscriptions'][_0x3f3b24(0x2d8)](_0x21a315))==null||_0x384bbe[_0x3f3b24(0x346)][_0x3f3b24(0x222)](),this[_0x3f3b24(0x366)][_0x3f3b24(0x397)](_0x21a315);}};si=B([z(0x0,_0x571022(Y)),z(0x1,_0x571022(_0x155196))],si);const X=L['id'],ci=X+_0x4f20c2(0x292);function li(_0x1c9500){const _0x419448=_0x4f20c2;return _0x2cf3ee([_0x41d0d5(_0x1c9500),ui(_0x1c9500)])[_0x419448(0x37e)](_0x2b2110(([_0x289327,_0x32e2e2])=>_0x289327||_0x32e2e2));}function ui(_0x1ba8f4){const _0x488548=_0x4f20c2;let _0x28a503=_0x1ba8f4[_0x488548(0x2d8)](_0x528519),_0x4da719=_0x1ba8f4['get'](_0x559230);return new _0x178722(_0xbb9237=>{const _0x56bc57=_0x488548;let _0xc0304b=_0x3e39dd=>{const _0x405cee=_0x40ed;let _0x59c3a2=_0x4da719[_0x405cee(0x1ee)](_0x1a7e8c[_0x405cee(0x238)]);if(!_0x59c3a2){_0xbb9237['next'](!0x0);return;}let _0x23dc7c=_0x59c3a2[_0x405cee(0x1f7)](),_0x4fe029=(_0x3e39dd==null?void 0x0:_0x3e39dd['unitId'])===_0x23dc7c?_0x3e39dd[_0x405cee(0x372)]??[]:[..._0x28a503[_0x405cee(0x277)]({'unitId':_0x23dc7c,'subUnitId':_0x23dc7c})??[]];if(_0x4fe029['length']!==0x1){_0xbb9237[_0x405cee(0x349)](!0x0);return;}let _0x12a394=_0x4fe029['find'](_0x5afa82=>_0x5afa82[_0x405cee(0x283)])??_0x4fe029[0x0];if(!_0x12a394||!_0x12a394[_0x405cee(0x1d4)]||_0x12a394['startOffset']==null){_0xbb9237[_0x405cee(0x349)](!0x0);return;}let _0x34bcb3=G(_0x59c3a2,{..._0x12a394,'segmentId':_0x12a394[_0x405cee(0x20b)]??(_0x3e39dd==null?void 0x0:_0x3e39dd[_0x405cee(0x20b)])??''});_0xbb9237['next'](_0x34bcb3==null);};_0xc0304b();let _0xaa3936=_0x28a503['textSelection$'][_0x56bc57(0x355)](_0x3a37ce=>_0xc0304b(_0x3a37ce));return()=>_0xaa3936['unsubscribe']();});}function di(_0x486d33){return Z(_0x486d33);}function Z(_0x56313d){const _0x361340=_0x4f20c2;let _0x5e432d=_0x56313d[_0x361340(0x2d8)](_0x15ff2e)['t']('docs-chart-ui.common.insertChart');return{'id':X,'commandId':L['id'],'type':_0x205f90[_0x361340(0x399)],'icon':_0x361340(0x30d),'title':_0x5e432d,'tooltip':_0x5e432d,'disabled$':li(_0x56313d),'hidden$':_0x2ffc08(_0x56313d,_0x1a7e8c[_0x361340(0x238)])};}function fi(_0x5be2e0){const _0x38e4eb=_0x4f20c2;let _0x307ff3=_0x5be2e0[_0x38e4eb(0x2d8)](_0x15ff2e)['t'](_0x38e4eb(0x3be));return{'id':ci,'commandId':L['id'],'type':_0x205f90[_0x38e4eb(0x399)],'icon':_0x38e4eb(0x30d),'title':_0x307ff3,'tooltip':_0x307ff3,'disabled$':li(_0x5be2e0),'hidden$':_0x2ffc08(_0x5be2e0,_0x1a7e8c[_0x38e4eb(0x238)])};}const pi={[_0x1e14da[_0x4f20c2(0x354)]]:{[X]:{'order':2.5,'menuItemFactory':di}},[_0x474f4f[_0x4f20c2(0x24f)]]:{[_0x4d0f0e[_0x4f20c2(0x240)]]:{[_0x232049]:{[X]:{'order':4.5,'menuItemFactory':Z}}},[_0x1e1509]:{[_0x4d0f0e[_0x4f20c2(0x240)]]:{[X]:{'order':5.5,'menuItemFactory':Z}}},[_0x4f26c1]:{[_0x4d0f0e['LAYOUT']]:{[X]:{'order':4.5,'menuItemFactory':Z}}},[_0x1db031]:{'insert':{[X]:{'order':1.5,'menuItemFactory':Z}}},[_0x1018e8]:{'insert':{[ci]:{'order':1.5,'menuItemFactory':fi}}}}};var mi=_0x4f20c2(0x2e4),hi=_0x4f20c2(0x377),gi=class extends _0x36c2a2{constructor(..._0x52179e){const _0x36de4a=_0x4f20c2;super(..._0x52179e),U(this,_0x36de4a(0x2cc),!0x1);}get[_0x4f20c2(0x2c3)](){const _0x2a449d=_0x4f20c2;return this[_0x2a449d(0x2cc)];}['setImageContentHidden'](_0x92281a){const _0x5cdeba=_0x4f20c2;this['_imageContentHidden']!==_0x92281a&&(this[_0x5cdeba(0x2cc)]=_0x92281a,this['makeDirty'](!0x0));}[_0x4f20c2(0x3b7)](_0x1fdbc1,_0x575e7c,_0x581eb5,_0x57a39b){const _0x283cf4=_0x4f20c2;this['_imageContentHidden']||super[_0x283cf4(0x3b7)](_0x1fdbc1,_0x575e7c,_0x581eb5,_0x57a39b);}};const _i={..._0x34da46,'rotateEnabled':!0x1,'keepRatio':!0x1,'moveBoundaryEnabled':!0x1};let vi=class extends _0x5243ee{constructor(_0x523012,_0x2d9f60,_0x55a150){const _0x1ca69f=_0x4f20c2;super(),this[_0x1ca69f(0x3b8)]=_0x523012,this[_0x1ca69f(0x2df)]=_0x2d9f60,this[_0x1ca69f(0x2e5)]=_0x55a150,U(this,'_activeDomReadyDrawingKeys',new Set()),this[_0x1ca69f(0x3ab)]();}[_0x4f20c2(0x2fc)](_0x2897ac,_0x457719){const _0x4f7d26=_0x4f20c2;let _0x2c7798=_0xc82c45(_0x2897ac);_0x457719?this[_0x4f7d26(0x259)]['add'](_0x2c7798):this[_0x4f7d26(0x259)][_0x4f7d26(0x397)](_0x2c7798),this[_0x4f7d26(0x3c4)](_0x2897ac);}['_init'](){const _0x28b98c=_0x4f20c2;this['disposeWithMe'](this[_0x28b98c(0x3b8)][_0x28b98c(0x2eb)][_0x28b98c(0x355)](_0x4d0c3f=>{const _0x564898=_0x28b98c;this[_0x564898(0x316)](_0x4d0c3f);})),this[_0x28b98c(0x19f)](this['_drawingManagerService']['refreshTransform$'][_0x28b98c(0x355)](_0x5d7a9d=>{const _0xb9c46c=_0x28b98c;this[_0xb9c46c(0x316)](_0x5d7a9d);})),this[_0x28b98c(0x19f)](this[_0x28b98c(0x3b8)][_0x28b98c(0x3e5)][_0x28b98c(0x355)](_0x486cdf=>{const _0x2af6f2=_0x28b98c;this[_0x2af6f2(0x1c8)](_0x486cdf);})),this[_0x28b98c(0x19f)](this['_snapshotRenderService'][_0x28b98c(0x359)][_0x28b98c(0x355)](({unitId:_0x136351,chartId:_0x2d9bf8})=>{const _0x4f428c=_0x28b98c;this[_0x4f428c(0x23c)](_0x136351,_0x2d9bf8);})),this[_0x28b98c(0x19f)](this[_0x28b98c(0x2e5)][_0x28b98c(0x2c7)]['subscribe'](_0x1a811d=>{const _0x32f6a3=_0x28b98c;if(_0x1a811d[_0x32f6a3(0x245)]!==_0x32f6a3(0x214)||!_0x1a811d[_0x32f6a3(0x282)])return;let [_0x440447,_0x1e0373]=_0x1a811d['key']['split']('::');!_0x440447||!_0x1e0373||this[_0x32f6a3(0x19e)](_0x440447,_0x1e0373,_0x1a811d[_0x32f6a3(0x282)]);}));}[_0x4f20c2(0x316)](_0x3b3d96){const _0x21b5a4=_0x4f20c2;_0x3b3d96[_0x21b5a4(0x329)](_0xb0795b=>{const _0x26655e=_0x21b5a4;let _0x6b3db8=this[_0x26655e(0x21b)](_0xb0795b);_0x6b3db8&&this[_0x26655e(0x2fa)](_0x6b3db8);});}['_requestSnapshotsForUnit'](_0x1d55b8,_0x44e320){const _0x36784a=_0x4f20c2;this[_0x36784a(0x216)](_0x1d55b8,_0x3c9f0f=>{const _0x6fc4f4=_0x36784a;(_0x44e320==null||_0x3c9f0f['chartId']===_0x44e320)&&this[_0x6fc4f4(0x2fa)](_0x3c9f0f);});}[_0x4f20c2(0x2fa)](_0xda8fc1){const _0x3097ed=_0x4f20c2;let _0x377465=this[_0x3097ed(0x37f)](_0xda8fc1);if(!_0x377465)return;let _0x5696f5=this[_0x3097ed(0x2e5)][_0x3097ed(0x1a8)]({'unitId':_0xda8fc1[_0x3097ed(0x344)],'chartId':_0xda8fc1['chartId'],'width':_0x377465[_0x3097ed(0x20a)],'height':_0x377465[_0x3097ed(0x3bf)],'dpr':_0x964797,'mode':_0x3097ed(0x2db)});_0x5696f5[_0x3097ed(0x245)]===_0x3097ed(0x214)&&_0x5696f5['dataUrl']&&this[_0x3097ed(0x27e)](_0xda8fc1,_0x5696f5[_0x3097ed(0x282)]);}['_renderCharts'](_0x5774f7,_0x1c57ae,_0x2097ed){const _0x358385=_0x4f20c2;this[_0x358385(0x216)](_0x5774f7,_0x20400d=>{const _0x5d2277=_0x358385;_0x20400d['chartId']===_0x1c57ae&&this[_0x5d2277(0x27e)](_0x20400d,_0x2097ed);});}['_renderDrawing'](_0x4d4914,_0x4e81a0){const _0x485304=_0x4f20c2;let _0x49b6da=this[_0x485304(0x2df)][_0x485304(0x345)](_0x4d4914['unitId']),_0x2cc5d7=_0x49b6da==null?void 0x0:_0x49b6da['scene'];if(!_0x2cc5d7||!this[_0x485304(0x37f)](_0x4d4914))return;let _0x2ad29d=_0xc82c45(_0x4d4914),_0x127484=_0x2cc5d7[_0x485304(0x3d5)](_0x2ad29d);if(_0x127484!=null&&_0x127484['changeSource']){var _0x356fa7,_0x1190e8,_0x2e0860,_0x76596f,_0xca1e56;_0x127484[_0x485304(0x3a4)]={..._0x127484[_0x485304(0x3a4)],..._i},(_0x356fa7=_0x127484[_0x485304(0x3b5)])==null||(_0x356fa7=_0x356fa7[_0x485304(0x2bc)](_0x127484))==null||_0x356fa7[_0x485304(0x3b3)](_0x485304(0x2d6),()=>{const _0x2d11a1=_0x485304;var _0x74310;(_0x74310=_0x127484['makeDirty'])==null||_0x74310[_0x2d11a1(0x2bc)](_0x127484,!0x0),_0x2cc5d7[_0x2d11a1(0x395)](!0x0),_0x2cc5d7['requestRender']()[_0x2d11a1(0x299)](()=>{});},{'once':!0x0}),_0x127484[_0x485304(0x1df)](_0x4e81a0),(_0x1190e8=_0x127484[_0x485304(0x275)])==null||_0x1190e8[_0x485304(0x2bc)](_0x127484,_0x4d4914[_0x485304(0x358)]),(_0x2e0860=_0x127484[_0x485304(0x386)])==null||_0x2e0860['call'](_0x127484,(_0x76596f=_0x4d4914[_0x485304(0x358)])==null?void 0x0:_0x76596f[_0x485304(0x217)]),this[_0x485304(0x34e)](_0x127484,_0x4d4914,_0x2ad29d),(_0xca1e56=_0x127484[_0x485304(0x395)])==null||_0xca1e56[_0x485304(0x2bc)](_0x127484,!0x0),_0x2cc5d7[_0x485304(0x395)](!0x0);return;}this['_createImageShape'](_0x4d4914,_0x4e81a0,_0x2cc5d7,_0x2ad29d);}[_0x4f20c2(0x1fa)](_0x4bf244,_0x1c0543,_0x2693c4,_0x261d31){const _0x12a13e=_0x4f20c2;let _0x1a5e5b=_0x4bf244[_0x12a13e(0x358)];if(!_0x1a5e5b)return;let _0x34c2a6=this['_drawingManagerService'][_0x12a13e(0x298)](_0x4bf244['unitId'],_0x4bf244[_0x12a13e(0x2ad)]),_0x3af8bf=_0x34c2a6[_0x12a13e(0x3b9)](_0x4bf244['drawingId']),_0x15712a={..._0x1a5e5b,'zIndex':_0x3af8bf===-0x1?_0x34c2a6[_0x12a13e(0x1b0)]-0x1:_0x3af8bf,'clipBounds':_0x1a5e5b['clipBounds'],'printable':!0x0,'rotateEnabled':!0x1,'transformerConfig':_i,'url':_0x1c0543};_0x4bf244[_0x12a13e(0x30a)]&&(_0x15712a['visible']=!0x1);let _0x47e1a7=new gi(_0x261d31,_0x15712a);_0x47e1a7[_0x12a13e(0x3d2)](this[_0x12a13e(0x259)][_0x12a13e(0x27c)](_0x261d31)),_0x2693c4['addObject'](_0x47e1a7,_0x52abeb),this[_0x12a13e(0x3b8)][_0x12a13e(0x267)]()&&_0x2693c4[_0x12a13e(0x256)](_0x47e1a7);}[_0x4f20c2(0x1c8)](_0x503fce){const _0x4db2b3=_0x4f20c2;_0x503fce[_0x4db2b3(0x329)](_0x20ffff=>{const _0x102a0a=_0x4db2b3;this[_0x102a0a(0x259)][_0x102a0a(0x397)](_0xc82c45(_0x20ffff));let _0x1d07ae=this[_0x102a0a(0x2df)][_0x102a0a(0x345)](_0x20ffff[_0x102a0a(0x344)]),_0x10b584=_0x1d07ae==null?void 0x0:_0x1d07ae[_0x102a0a(0x227)];if(!_0x10b584)return;let _0x43f708=_0x10b584[_0x102a0a(0x3d5)](_0xc82c45(_0x20ffff));_0x43f708&&_0x10b584[_0x102a0a(0x22e)](_0x43f708);});}[_0x4f20c2(0x3c4)](_0x152115){const _0x92c407=_0x4f20c2;let _0x4df25=this['_renderManagerService'][_0x92c407(0x345)](_0x152115[_0x92c407(0x344)]),_0x4e8a07=_0x4df25==null?void 0x0:_0x4df25['scene'];if(!_0x4e8a07)return;let _0x4cbe45=_0xc82c45(_0x152115),_0x1e16d0=_0x4e8a07[_0x92c407(0x3d5)](_0x4cbe45);if(!_0x1e16d0)return;let _0x4ed7b7=this[_0x92c407(0x3b8)][_0x92c407(0x370)](_0x152115);this[_0x92c407(0x34e)](_0x1e16d0,_0x4ed7b7,_0x4cbe45);}[_0x4f20c2(0x34e)](_0x5e01d9,_0x2f6664,_0x149165){const _0x5f386e=_0x4f20c2;var _0x482cb6,_0x3411b3;let _0x34b353=this['_activeDomReadyDrawingKeys'][_0x5f386e(0x27c)](_0x149165);if(_0x5e01d9[_0x5f386e(0x3d2)]){var _0x196d99,_0x22b59d;_0x5e01d9[_0x5f386e(0x3d2)](_0x34b353),(_0x2f6664==null?void 0x0:_0x2f6664['hidden'])===!0x0?(_0x196d99=_0x5e01d9[_0x5f386e(0x24b)])==null||_0x196d99[_0x5f386e(0x2bc)](_0x5e01d9):(_0x22b59d=_0x5e01d9[_0x5f386e(0x34d)])==null||_0x22b59d[_0x5f386e(0x2bc)](_0x5e01d9);return;}(_0x2f6664==null?void 0x0:_0x2f6664['hidden'])===!0x0?(_0x482cb6=_0x5e01d9[_0x5f386e(0x24b)])==null||_0x482cb6[_0x5f386e(0x2bc)](_0x5e01d9):(_0x3411b3=_0x5e01d9['show'])==null||_0x3411b3[_0x5f386e(0x2bc)](_0x5e01d9);}[_0x4f20c2(0x21b)](_0x254041){const _0x3aeb63=_0x4f20c2;let _0x151d13=this['_drawingManagerService'][_0x3aeb63(0x370)](_0x254041);return yi(_0x151d13)?_0x151d13:null;}['_forEachChartDrawing'](_0x4af826,_0x2fa5c8){const _0x439eff=_0x4f20c2;let _0x5c9d1a=this[_0x439eff(0x3b8)][_0x439eff(0x363)](_0x4af826),_0x42fd97=_0x5c9d1a==null?void 0x0:_0x5c9d1a[_0x4af826];_0x42fd97&&_0x42fd97[_0x439eff(0x289)][_0x439eff(0x329)](_0x5e15e4=>{let _0x189c55=_0x42fd97['data'][_0x5e15e4];yi(_0x189c55)&&_0x2fa5c8(_0x189c55);});}[_0x4f20c2(0x37f)](_0x212c60){const _0xcb220d=_0x4f20c2;var _0x48767f,_0x2d1233,_0x33a848,_0xc8e820;let _0x5bd08f=((_0x48767f=_0x212c60[_0xcb220d(0x358)])==null?void 0x0:_0x48767f['width'])??((_0x2d1233=_0x212c60[_0xcb220d(0x263)])==null||(_0x2d1233=_0x2d1233[_0xcb220d(0x39a)])==null?void 0x0:_0x2d1233[_0xcb220d(0x20a)])??0x0,_0x2a93a7=((_0x33a848=_0x212c60['transform'])==null?void 0x0:_0x33a848[_0xcb220d(0x3bf)])??((_0xc8e820=_0x212c60[_0xcb220d(0x263)])==null||(_0xc8e820=_0xc8e820['size'])==null?void 0x0:_0xc8e820[_0xcb220d(0x3bf)])??0x0;return _0x5bd08f<=0x0||_0x2a93a7<=0x0?null:{'width':Math[_0xcb220d(0x1b7)](0x1,Math['round'](_0x5bd08f)),'height':Math['max'](0x1,Math[_0xcb220d(0x258)](_0x2a93a7))};}};vi=B([z(0x0,_0x32a27c),z(0x1,_0x631398),z(0x2,_0x571022(Y))],vi);function yi(_0x349a06){const _0xff15=_0x4f20c2;let _0x7856f7=_0x349a06;return(_0x7856f7==null?void 0x0:_0x7856f7['drawingType'])===_0x1c73b1[_0xff15(0x1c5)]&&typeof _0x7856f7[_0xff15(0x37d)]==_0xff15(0x3cf);}function bi(_0x3325f6,_0x9d59e7,_0x1915d6=0x1,_0x2ff282=0x0){const _0x4f51e0=_0x4f20c2;let {top:_0x210dca,left:_0x4a84b8,bottom:_0x35b511,right:_0xd358d0}=_0x3325f6,_0x360a5b=_0xd358d0-_0x4a84b8,_0x525c75=_0x35b511-_0x210dca,{viewportScrollX:_0x3d43cb,viewportScrollY:_0x330ce5}=_0x9d59e7[_0x4f51e0(0x31b)](_0x3c7940[_0x4f51e0(0x23d)]),{scaleX:_0x2e9f47,scaleY:_0x1f3c46}=_0x9d59e7[_0x4f51e0(0x2a6)](),_0x48074e=(_0x4a84b8-_0x3d43cb)*_0x2e9f47,_0xca0360=(_0x210dca-_0x330ce5)*_0x1f3c46,_0x239f40=_0x360a5b*_0x2e9f47,_0x3ac55e=_0x525c75*_0x1f3c46;return{'startX':_0x48074e,'startY':_0xca0360,'endX':_0x48074e+_0x239f40,'endY':_0xca0360+_0x3ac55e,'width':_0x239f40,'height':_0x3ac55e,'rotate':_0x2ff282,'absolute':{'left':!0x1,'top':!0x1},'opacity':_0x1915d6};}function xi(_0x4afdeb,_0x1caec3){const _0x3ebc5c=_0x4f20c2;return _0x4afdeb[_0x3ebc5c(0x344)]===_0x1caec3[_0x3ebc5c(0x344)]&&(_0x4afdeb[_0x3ebc5c(0x2ad)]??_0x4afdeb[_0x3ebc5c(0x344)])===(_0x1caec3['subUnitId']??_0x1caec3[_0x3ebc5c(0x344)])&&_0x4afdeb[_0x3ebc5c(0x384)]===_0x1caec3[_0x3ebc5c(0x384)];}function Si(_0x4f6661,_0x1abd38=0x0){const _0x42a07d=_0x4f20c2;return _0x4f6661[_0x42a07d(0x37b)](_0x338349=>typeof _0x338349==_0x42a07d(0x2ec)&&Number[_0x42a07d(0x1ca)](_0x338349))??_0x1abd38;}function Ci(_0x5b73ec,_0x5948b2){const _0x4a8c89=_0x4f20c2;var _0x3f663c,_0x4a57bb,_0x4a78fe,_0x3c006e,_0x7f757b,_0x10632a,_0x2c9f92;let _0x3289c6=_0x5948b2==null||(_0x3f663c=_0x5948b2[_0x4a8c89(0x27a)])==null?void 0x0:_0x3f663c['call'](_0x5948b2),_0x560f82=Si([_0x3289c6==null?void 0x0:_0x3289c6[_0x4a8c89(0x20a)],(_0x4a57bb=_0x5b73ec[_0x4a8c89(0x358)])==null?void 0x0:_0x4a57bb[_0x4a8c89(0x20a)],(_0x4a78fe=_0x5b73ec[_0x4a8c89(0x263)])==null||(_0x4a78fe=_0x4a78fe[_0x4a8c89(0x39a)])==null?void 0x0:_0x4a78fe[_0x4a8c89(0x20a)]]),_0x4bf324=Si([_0x3289c6==null?void 0x0:_0x3289c6[_0x4a8c89(0x3bf)],(_0x3c006e=_0x5b73ec[_0x4a8c89(0x358)])==null?void 0x0:_0x3c006e['height'],(_0x7f757b=_0x5b73ec[_0x4a8c89(0x263)])==null||(_0x7f757b=_0x7f757b[_0x4a8c89(0x39a)])==null?void 0x0:_0x7f757b['height']]),_0x421258=Si([_0x3289c6==null?void 0x0:_0x3289c6[_0x4a8c89(0x3db)],(_0x10632a=_0x5b73ec[_0x4a8c89(0x358)])==null?void 0x0:_0x10632a[_0x4a8c89(0x3db)]]),_0x4f8205=Si([_0x3289c6==null?void 0x0:_0x3289c6[_0x4a8c89(0x3ba)],(_0x2c9f92=_0x5b73ec[_0x4a8c89(0x358)])==null?void 0x0:_0x2c9f92[_0x4a8c89(0x3ba)]]);return{'left':_0x421258,'top':_0x4f8205,'right':_0x421258+_0x560f82,'bottom':_0x4f8205+_0x4bf324};}function wi(_0x12e5ea,_0x1b216d){const _0x10ef91=_0x4f20c2;if(!_0x12e5ea||typeof _0x12e5ea!=_0x10ef91(0x221))return;let _0x5b10f9=_0x12e5ea;if(typeof _0x5b10f9['subscribeEvent']==_0x10ef91(0x1c7)){let _0x49315b=_0x5b10f9[_0x10ef91(0x3c7)](_0x1b216d);return _0x290cb5(()=>{const _0x33e7fb=_0x10ef91;var _0x4bf691;if(typeof _0x49315b[_0x33e7fb(0x246)]==_0x33e7fb(0x1c7)){_0x49315b['dispose']();return;}(_0x4bf691=_0x49315b['unsubscribe'])==null||_0x4bf691[_0x33e7fb(0x2bc)](_0x49315b);});}let _0x1bf61b=_0x12e5ea;if(typeof _0x1bf61b[_0x10ef91(0x355)]==_0x10ef91(0x1c7)){let _0x597e75=_0x1bf61b['subscribe'](_0x1b216d);return _0x290cb5(()=>{const _0x3148b9=_0x10ef91;var _0x32a2a0;return(_0x32a2a0=_0x597e75[_0x3148b9(0x222)])==null?void 0x0:_0x32a2a0['call'](_0x597e75);});}}let Q=class extends _0x5243ee{constructor(_0x3c474c,_0x3e81b2,_0x421221,_0x4b4a30,_0x225e26,_0x5de89e,_0xe49275,_0x85de18,_0x9b84b6,_0x1dc37){const _0x163c2f=_0x4f20c2;super(),this[_0x163c2f(0x3b8)]=_0x3c474c,this[_0x163c2f(0x2df)]=_0x3e81b2,this['_canvasFloatDomService']=_0x421221,this['_modelService']=_0x4b4a30,this[_0x163c2f(0x1a4)]=_0x225e26,this['_snapshotRenderService']=_0x5de89e,this[_0x163c2f(0x209)]=_0xe49275,this[_0x163c2f(0x1dc)]=_0x85de18,this['_localeService']=_0x9b84b6,this[_0x163c2f(0x255)]=_0x1dc37,U(this,_0x163c2f(0x2b9),null),U(this,'_layoutChanged$',new _0x1fb5f5()),U(this,_0x163c2f(0x2a5),new _0x1fb5f5()),this['_init']();}[_0x4f20c2(0x2a9)](_0x3212ad){const _0x59d7ed=_0x4f20c2;let _0xdc3d90=this[_0x59d7ed(0x30b)][_0x59d7ed(0x3b4)](_0x3212ad['unitId'],_0x3212ad[_0x59d7ed(0x37d)]);if(!_0xdc3d90)return _0x290cb5(()=>{});let _0x94ca99=new jr(_0x3212ad[_0x59d7ed(0x37d)],_0x3212ad[_0x59d7ed(0x2f4)],(_0x381f28,_0x68be91)=>this[_0x59d7ed(0x1a4)][_0x59d7ed(0x218)](_0x381f28,_0x68be91),()=>this[_0x59d7ed(0x1b6)](_0x3212ad),!0x0,()=>this[_0x59d7ed(0x31f)](_0x3212ad)),_0x3eef62=this['_renderService']['createChartInstance'](_0x237e52[_0x59d7ed(0x319)]);_0x3eef62[_0x59d7ed(0x1a6)](_0x94ca99);let _0x54a6a0=[_0x3eef62['on'](_0x59d7ed(0x3a1),_0x40159e=>{const _0x65e4a1=_0x59d7ed;let _0x29c946=_0x326bca(_0xdc3d90[_0x65e4a1(0x1c6)],_0x40159e[_0x65e4a1(0x389)]);if(!_0x29c946)return;let _0x218dc4=_0x1b8a6e(_0x29c946['target']);_0x218dc4&&this['_commandService'][_0x65e4a1(0x1d6)](R['id'],{'unitId':_0x3212ad['unitId'],'chartId':_0x3212ad[_0x65e4a1(0x37d)],'drawingId':_0x3212ad[_0x65e4a1(0x384)],'route':_0x218dc4});}),_0x3eef62['on']('dblclick',()=>{const _0x28141b=_0x59d7ed;this[_0x28141b(0x209)][_0x28141b(0x1d6)](R['id'],{'unitId':_0x3212ad[_0x28141b(0x344)],'chartId':_0x3212ad['chartId'],'drawingId':_0x3212ad[_0x28141b(0x384)]});})],_0x3ea2b6=!0x0;return _0x54a6a0[_0x59d7ed(0x229)](this[_0x59d7ed(0x32d)](_0xdc3d90,_0x3eef62,_0x94ca99,_0x3212ad,()=>_0x3ea2b6)),_0x290cb5(()=>{const _0x59e4fb=_0x59d7ed;_0x3ea2b6=!0x1,this[_0x59e4fb(0x255)][_0x59e4fb(0x2fc)](this[_0x59e4fb(0x2f0)](_0x3212ad),!0x1),_0x54a6a0[_0x59e4fb(0x329)](_0x2b12ea=>_0x2b12ea[_0x59e4fb(0x246)]()),_0x3eef62[_0x59e4fb(0x246)](),_0x94ca99[_0x59e4fb(0x246)]();});}[_0x4f20c2(0x246)](){const _0x41450c=_0x4f20c2;this[_0x41450c(0x301)](),this[_0x41450c(0x3d3)]['complete'](),this[_0x41450c(0x2a5)][_0x41450c(0x290)](),super['dispose']();}[_0x4f20c2(0x3ab)](){const _0x5e0ee2=_0x4f20c2;this[_0x5e0ee2(0x19f)](this[_0x5e0ee2(0x3b8)][_0x5e0ee2(0x2bf)][_0x5e0ee2(0x355)](_0x3337db=>{const _0x23b850=_0x5e0ee2;this[_0x23b850(0x2f8)](_0x3337db);})),this[_0x5e0ee2(0x19f)](this[_0x5e0ee2(0x3b8)][_0x5e0ee2(0x3e5)][_0x5e0ee2(0x355)](_0x2ecc4d=>{const _0x4b7c33=_0x5e0ee2;let _0x37d212=this['_activeLayer'];_0x37d212&&_0x2ecc4d[_0x4b7c33(0x2d2)](_0x2b42ea=>xi(_0x2b42ea,_0x37d212))&&this[_0x4b7c33(0x301)]();})),this[_0x5e0ee2(0x19f)](this[_0x5e0ee2(0x3b8)][_0x5e0ee2(0x3bb)][_0x5e0ee2(0x355)](_0x36cb16=>{const _0x5d2a29=_0x5e0ee2;let _0x6a0d56=this['_activeLayer'];if(!_0x6a0d56){this[_0x5d2a29(0x206)](_0x36cb16);return;}let _0x38b156=_0x36cb16[_0x5d2a29(0x37b)](_0x225d6f=>xi(_0x225d6f,_0x6a0d56));if(_0x38b156){let _0xf6f894=this[_0x5d2a29(0x3b8)][_0x5d2a29(0x370)]({'unitId':_0x38b156[_0x5d2a29(0x344)],'subUnitId':_0x38b156[_0x5d2a29(0x2ad)],'drawingId':_0x38b156[_0x5d2a29(0x384)]});this['_isDocChartDrawing'](_0xf6f894)&&this[_0x5d2a29(0x3e4)](_0xf6f894);}})),this['disposeWithMe'](this['_univerInstanceService'][_0x5e0ee2(0x29c)](_0x1a7e8c[_0x5e0ee2(0x238)])[_0x5e0ee2(0x355)](_0x14cb5a=>{const _0x3ae788=_0x5e0ee2;let _0x2ba1bc=this[_0x3ae788(0x2b9)];_0x2ba1bc&&(_0x14cb5a==null?void 0x0:_0x14cb5a['getUnitId']())!==_0x2ba1bc['unitId']&&this[_0x3ae788(0x301)]();}));}[_0x4f20c2(0x32d)](_0x581f78,_0x282815,_0x51204e,_0x319e50,_0x14c998){const _0x29f75e=_0x4f20c2;let _0x26fa0d=()=>{const _0x530727=_0x40ed;let {chartConfig:_0x438cd3,chartStyle:_0x1655e2}=this[_0x530727(0x1a4)]['createRenderInput'](_0x581f78);Promise[_0x530727(0x336)](_0x282815[_0x530727(0x331)]({'chartId':_0x581f78[_0x530727(0x37d)],'config':_0x438cd3,'style':_0x1655e2}))[_0x530727(0x1c1)](()=>{const _0x58de1c=_0x530727;_0x14c998()&&this['_isActiveLayer'](_0x319e50)&&this[_0x58de1c(0x255)][_0x58de1c(0x2fc)](this[_0x58de1c(0x2f0)](_0x319e50),!0x0);},()=>{});},_0xa83906=_0x2cf3ee([_0x581f78[_0x29f75e(0x1c6)][_0x29f75e(0x2ab)],_0x581f78[_0x29f75e(0x1c6)][_0x29f75e(0x303)],this[_0x29f75e(0x300)][_0x29f75e(0x378)]])[_0x29f75e(0x37e)](_0x3b1037(([_0x493904])=>_0x493904!=null))[_0x29f75e(0x355)](_0x26fa0d),_0x3431cd=this[_0x29f75e(0x3d3)][_0x29f75e(0x37e)](_0x3b1037(_0x1507e8=>_0x1507e8===_0x319e50[_0x29f75e(0x384)]))['subscribe'](_0x26fa0d),_0x62e4c3=this['_visualLayoutChanged$']['pipe'](_0x3b1037(_0x1c4cf8=>_0x1c4cf8===_0x319e50[_0x29f75e(0x384)]))[_0x29f75e(0x355)](()=>_0x51204e['syncLayout']());return _0x290cb5(()=>{const _0xb4e326=_0x29f75e;_0xa83906[_0xb4e326(0x222)](),_0x3431cd[_0xb4e326(0x222)](),_0x62e4c3['unsubscribe']();});}[_0x4f20c2(0x2f8)](_0x553d7d){const _0x55bc49=_0x4f20c2;let _0x10d565=(_0x553d7d??[])[_0x55bc49(0x1fb)](_0x1890ba=>this['_isDocChartDrawing'](_0x1890ba));if(_0x10d565[_0x55bc49(0x1b0)]!==0x1){this[_0x55bc49(0x301)]();return;}this[_0x55bc49(0x225)](_0x10d565[0x0]);}['_activate'](_0x2e3f4c){const _0x58f5cb=_0x4f20c2;var _0x440267,_0x1a7c1f,_0x18924a;let _0x33d5c2=this['_getPositionState'](_0x2e3f4c),_0x1fcdad=this['_getRenderRect'](_0x2e3f4c),_0x5e073c=_0x2e3f4c[_0x58f5cb(0x2ad)]??_0x2e3f4c[_0x58f5cb(0x344)];if(!_0x33d5c2||!_0x1fcdad){this['_deactivate']();return;}if(((_0x440267=this[_0x58f5cb(0x2b9)])==null?void 0x0:_0x440267[_0x58f5cb(0x344)])===_0x2e3f4c[_0x58f5cb(0x344)]&&this[_0x58f5cb(0x2b9)][_0x58f5cb(0x2ad)]===_0x5e073c&&this[_0x58f5cb(0x2b9)]['drawingId']===_0x2e3f4c[_0x58f5cb(0x384)]&&this[_0x58f5cb(0x2b9)][_0x58f5cb(0x37d)]===_0x2e3f4c[_0x58f5cb(0x37d)]){let _0x1cb87b=this[_0x58f5cb(0x2b9)][_0x58f5cb(0x227)]!==_0x33d5c2[_0x58f5cb(0x227)];this[_0x58f5cb(0x2b9)][_0x58f5cb(0x227)]=_0x33d5c2[_0x58f5cb(0x227)],this[_0x58f5cb(0x2b9)][_0x58f5cb(0x297)]=_0x33d5c2[_0x58f5cb(0x297)],this['_activeLayer']['angle']=_0x33d5c2[_0x58f5cb(0x2f5)],this[_0x58f5cb(0x2b9)][_0x58f5cb(0x3e6)]=_0x1fcdad,this[_0x58f5cb(0x2b9)][_0x58f5cb(0x21d)]['next'](_0x33d5c2[_0x58f5cb(0x379)]),_0x1cb87b&&this['_bindActiveLayerObservers'](this[_0x58f5cb(0x2b9)]);return;}this[_0x58f5cb(0x301)]();let _0x55c2e9=new _0x311462(_0x33d5c2[_0x58f5cb(0x379)]),_0x3696b5=this['_renderManagerService'][_0x58f5cb(0x345)](_0x2e3f4c[_0x58f5cb(0x344)]),_0x5b195f=_0x3696b5==null||(_0x18924a=(_0x1a7c1f=_0x3696b5[_0x58f5cb(0x39b)])[_0x58f5cb(0x35d)])==null?void 0x0:_0x18924a['call'](_0x1a7c1f);this['_canvasFloatDomService'][_0x58f5cb(0x394)]({'id':_0x2e3f4c[_0x58f5cb(0x384)],'componentKey':Ti,'position$':_0x55c2e9,'unitId':_0x2e3f4c['unitId'],'contentBox':{'wrapperInset':0x0,'contentInset':0x0},'props':{'chartId':_0x2e3f4c[_0x58f5cb(0x37d)],'subUnitId':_0x5e073c},'onPointerDown':_0x22a193=>_0x5b195f==null?void 0x0:_0x5b195f[_0x58f5cb(0x1ce)](new PointerEvent(_0x22a193[_0x58f5cb(0x1ba)],_0x22a193)),'onPointerMove':_0x183c37=>_0x5b195f==null?void 0x0:_0x5b195f[_0x58f5cb(0x1ce)](new PointerEvent(_0x183c37[_0x58f5cb(0x1ba)],_0x183c37)),'onPointerUp':_0x5a06f9=>_0x5b195f==null?void 0x0:_0x5b195f[_0x58f5cb(0x1ce)](new PointerEvent(_0x5a06f9[_0x58f5cb(0x1ba)],_0x5a06f9)),'onWheel':_0x55829c=>_0x5b195f==null?void 0x0:_0x5b195f['dispatchEvent'](new WheelEvent(_0x55829c[_0x58f5cb(0x1ba)],_0x55829c))}),this[_0x58f5cb(0x30b)][_0x58f5cb(0x3ce)](_0x2e3f4c[_0x58f5cb(0x344)],_0x2e3f4c[_0x58f5cb(0x37d)]);let _0x2bf675={'unitId':_0x2e3f4c[_0x58f5cb(0x344)],'subUnitId':_0x5e073c,'drawingId':_0x2e3f4c['drawingId'],'chartId':_0x2e3f4c[_0x58f5cb(0x37d)],'scene':_0x33d5c2[_0x58f5cb(0x227)],'sceneRect':_0x33d5c2[_0x58f5cb(0x297)],'angle':_0x33d5c2[_0x58f5cb(0x2f5)],'renderRect':_0x1fcdad,'position$':_0x55c2e9};this[_0x58f5cb(0x2b9)]=_0x2bf675,this['_bindActiveLayerObservers'](_0x2bf675);}[_0x4f20c2(0x301)](){const _0x4c720f=_0x4f20c2;var _0x54ec39,_0x3411ae;let _0x5909a5=this[_0x4c720f(0x2b9)];_0x5909a5&&(this[_0x4c720f(0x2b9)]=null,(_0x54ec39=_0x5909a5[_0x4c720f(0x21f)])==null||_0x54ec39[_0x4c720f(0x246)](),(_0x3411ae=_0x5909a5[_0x4c720f(0x271)])==null||_0x3411ae[_0x4c720f(0x246)](),this[_0x4c720f(0x255)]['setActiveDomReady']({'unitId':_0x5909a5[_0x4c720f(0x344)],'subUnitId':_0x5909a5['subUnitId'],'drawingId':_0x5909a5['drawingId']},!0x1),this['_canvasFloatDomService'][_0x4c720f(0x266)](_0x5909a5['drawingId']),this[_0x4c720f(0x30b)]['setActiveChartRuntime'](null),this['_snapshotRenderService'][_0x4c720f(0x3a9)](_0x5909a5[_0x4c720f(0x344)],_0x5909a5['chartId']),_0x5909a5['position$'][_0x4c720f(0x290)]());}['_refreshActivePosition'](_0x639f48,_0xa18beb,_0x174b89){const _0x25f245=_0x4f20c2;let _0x4a3809=this[_0x25f245(0x2b9)];(_0x4a3809==null?void 0x0:_0x4a3809[_0x25f245(0x344)])===_0x639f48&&_0x4a3809[_0x25f245(0x384)]===_0xa18beb&&_0x4a3809[_0x25f245(0x37d)]===_0x174b89&&_0x4a3809[_0x25f245(0x21d)][_0x25f245(0x349)](bi(_0x4a3809['sceneRect'],_0x4a3809[_0x25f245(0x227)],0x1,_0x4a3809[_0x25f245(0x2f5)]));}[_0x4f20c2(0x286)](_0x427d9e){const _0x269a60=_0x4f20c2;let _0x2bd54d=this[_0x269a60(0x2b9)];!_0x2bd54d||_0x2bd54d[_0x269a60(0x344)]!==_0x427d9e||(this[_0x269a60(0x1e6)](_0x2bd54d[_0x269a60(0x344)],_0x2bd54d[_0x269a60(0x384)],_0x2bd54d[_0x269a60(0x37d)]),this[_0x269a60(0x2a5)][_0x269a60(0x349)](_0x2bd54d['drawingId']));}['_bindActiveLayerObservers'](_0x696af1){const _0x3c1cac=_0x4f20c2;var _0xb56805,_0x26e7eb;(_0xb56805=_0x696af1[_0x3c1cac(0x21f)])==null||_0xb56805[_0x3c1cac(0x246)](),(_0x26e7eb=_0x696af1['scaleObserver'])==null||_0x26e7eb[_0x3c1cac(0x246)]();let _0x552ec1=_0x696af1[_0x3c1cac(0x227)][_0x3c1cac(0x31b)](_0x3c7940['VIEW_MAIN']);if(!_0x552ec1)return;_0x696af1[_0x3c1cac(0x21f)]=wi(_0x552ec1['onScrollAfter$'],()=>{const _0x166999=_0x3c1cac;this['_refreshActivePosition'](_0x696af1[_0x166999(0x344)],_0x696af1[_0x166999(0x384)],_0x696af1[_0x166999(0x37d)]);});let _0x2bf548=_0x696af1['scene'][_0x3c1cac(0x26e)][_0x3c1cac(0x3c7)](_0x56e6c7=>{const _0x582e33=_0x3c1cac;_0x56e6c7['type']!==_0x51ca04[_0x582e33(0x2b2)]||_0x56e6c7[_0x582e33(0x204)][_0x582e33(0x3bc)]===_0x56e6c7[_0x582e33(0x242)][_0x582e33(0x3bc)]&&_0x56e6c7['value'][_0x582e33(0x1f1)]===_0x56e6c7[_0x582e33(0x242)]['scaleY']||this[_0x582e33(0x286)](_0x696af1[_0x582e33(0x344)]);});_0x696af1['scaleObserver']=_0x290cb5(()=>_0x2bf548[_0x3c1cac(0x222)]());}[_0x4f20c2(0x3e4)](_0x383ead){const _0x306bca=_0x4f20c2;let _0x390c08=this[_0x306bca(0x248)](_0x383ead),_0x182aa4=this[_0x306bca(0x368)](_0x383ead);if(_0x390c08&&_0x182aa4){var _0xb27ee3;if(this[_0x306bca(0x2b9)]){let _0x45179b=this[_0x306bca(0x2b9)][_0x306bca(0x227)]!==_0x390c08[_0x306bca(0x227)];this[_0x306bca(0x2b9)]['scene']=_0x390c08[_0x306bca(0x227)],this[_0x306bca(0x2b9)][_0x306bca(0x297)]=_0x390c08[_0x306bca(0x297)],this[_0x306bca(0x2b9)][_0x306bca(0x2f5)]=_0x390c08[_0x306bca(0x2f5)],this['_activeLayer'][_0x306bca(0x3e6)]=_0x182aa4,_0x45179b&&this[_0x306bca(0x2e3)](this[_0x306bca(0x2b9)]);}(_0xb27ee3=this[_0x306bca(0x2b9)])==null||_0xb27ee3[_0x306bca(0x21d)][_0x306bca(0x349)](_0x390c08[_0x306bca(0x379)]),this[_0x306bca(0x3d3)][_0x306bca(0x349)](_0x383ead[_0x306bca(0x384)]);}}[_0x4f20c2(0x206)](_0x5577b2){const _0x3999bd=_0x4f20c2;let _0x29638b=this['_drawingManagerService'][_0x3999bd(0x31c)]()[_0x3999bd(0x1fb)](_0x561488=>this[_0x3999bd(0x23a)](_0x561488));_0x29638b['length']===0x1&&_0x5577b2['some'](_0x2f0113=>xi(_0x2f0113,_0x29638b[0x0]))&&this[_0x3999bd(0x225)](_0x29638b[0x0]);}[_0x4f20c2(0x248)](_0xb75510){const _0x2e2945=_0x4f20c2;let _0x3b449f=_0xb75510[_0x2e2945(0x358)];if(!_0x3b449f)return null;let _0x5e23ae=this[_0x2e2945(0x2df)]['getRenderUnitById'](_0xb75510[_0x2e2945(0x344)]);if(!(_0x5e23ae!=null&&_0x5e23ae[_0x2e2945(0x227)])||!_0x5e23ae[_0x2e2945(0x227)]['getViewport'](_0x3c7940[_0x2e2945(0x23d)]))return null;let _0x206295=_0xc82c45(_0xb75510),_0x48d824=_0x5e23ae[_0x2e2945(0x227)]['getObjectIncludeInGroup'](_0x206295),_0x577e33=Ci(_0xb75510,_0x48d824),_0x53f605=_0x577e33[_0x2e2945(0x279)]-_0x577e33[_0x2e2945(0x3db)],_0xf9a0c8=_0x577e33['bottom']-_0x577e33[_0x2e2945(0x3ba)];if(_0x53f605<=0x0||_0xf9a0c8<=0x0)return null;let _0x178da5=Si([_0x48d824==null?void 0x0:_0x48d824['angle'],_0x3b449f[_0x2e2945(0x2f5)]]);return{'scene':_0x5e23ae[_0x2e2945(0x227)],'sceneRect':_0x577e33,'angle':_0x178da5,'position':bi(_0x577e33,_0x5e23ae[_0x2e2945(0x227)],0x1,_0x178da5)};}[_0x4f20c2(0x368)](_0x5a5015){const _0x4567af=_0x4f20c2;var _0x1a9595,_0x196fe1,_0x54fc93,_0x16bad4;let _0x16da97=((_0x1a9595=_0x5a5015[_0x4567af(0x358)])==null?void 0x0:_0x1a9595[_0x4567af(0x20a)])??((_0x196fe1=_0x5a5015['docTransform'])==null||(_0x196fe1=_0x196fe1[_0x4567af(0x39a)])==null?void 0x0:_0x196fe1[_0x4567af(0x20a)])??0x0,_0xb4b243=((_0x54fc93=_0x5a5015[_0x4567af(0x358)])==null?void 0x0:_0x54fc93[_0x4567af(0x3bf)])??((_0x16bad4=_0x5a5015['docTransform'])==null||(_0x16bad4=_0x16bad4[_0x4567af(0x39a)])==null?void 0x0:_0x16bad4[_0x4567af(0x3bf)])??0x0;return _0x16da97<=0x0||_0xb4b243<=0x0?null:{'width':Math[_0x4567af(0x1b7)](0x1,Math[_0x4567af(0x258)](_0x16da97)),'height':Math['max'](0x1,Math[_0x4567af(0x258)](_0xb4b243))};}[_0x4f20c2(0x1b6)](_0x24bca1){const _0x1a6640=_0x4f20c2;let _0x4b3868=this[_0x1a6640(0x2b9)];if((_0x4b3868==null?void 0x0:_0x4b3868['unitId'])===_0x24bca1['unitId']&&_0x4b3868[_0x1a6640(0x2ad)]===(_0x24bca1['subUnitId']??_0x24bca1[_0x1a6640(0x344)])&&_0x4b3868['drawingId']===_0x24bca1[_0x1a6640(0x384)]&&_0x4b3868[_0x1a6640(0x37d)]===_0x24bca1['chartId'])return _0x4b3868[_0x1a6640(0x3e6)];let _0x393b2b=this[_0x1a6640(0x3b8)][_0x1a6640(0x370)](this['_getDrawingSearch'](_0x24bca1));return this['_isDocChartDrawing'](_0x393b2b)?this[_0x1a6640(0x368)](_0x393b2b):null;}[_0x4f20c2(0x31f)](_0x53884c){const _0x5ae102=_0x4f20c2;let _0x1fd088=this['_activeLayer'];return _0x1fd088&&this[_0x5ae102(0x341)](_0x53884c)?_0x1fd088[_0x5ae102(0x227)][_0x5ae102(0x2a6)]():null;}[_0x4f20c2(0x2f0)](_0x5655ea){const _0xbb92a3=_0x4f20c2;return{'unitId':_0x5655ea['unitId'],'subUnitId':_0x5655ea[_0xbb92a3(0x2ad)]??_0x5655ea['unitId'],'drawingId':_0x5655ea['drawingId']};}[_0x4f20c2(0x341)](_0x417908){const _0x1b726b=_0x4f20c2;let _0x491983=this[_0x1b726b(0x2b9)];return(_0x491983==null?void 0x0:_0x491983[_0x1b726b(0x344)])===_0x417908[_0x1b726b(0x344)]&&_0x491983[_0x1b726b(0x2ad)]===(_0x417908[_0x1b726b(0x2ad)]??_0x417908[_0x1b726b(0x344)])&&_0x491983['drawingId']===_0x417908[_0x1b726b(0x384)]&&_0x491983[_0x1b726b(0x37d)]===_0x417908[_0x1b726b(0x37d)];}[_0x4f20c2(0x23a)](_0x1f7b55){const _0x1073f1=_0x4f20c2;let _0x5d93af=_0x1f7b55;return(_0x5d93af==null?void 0x0:_0x5d93af[_0x1073f1(0x2bb)])===_0x1c73b1['DRAWING_CHART']&&typeof _0x5d93af[_0x1073f1(0x37d)]==_0x1073f1(0x3cf);}};Q=B([z(0x0,_0x32a27c),z(0x1,_0x631398),z(0x2,_0x571022(_0x161a4d)),z(0x3,_0x571022(_0x155196)),z(0x4,_0x571022(W)),z(0x5,_0x571022(Y)),z(0x6,_0x2a1459),z(0x7,_0x559230),z(0x8,_0x571022(_0x15ff2e)),z(0x9,_0x571022(vi))],Q);const Ti=_0x4f20c2(0x250),Ei=_0x5c8008=>{const _0xdc1520=_0x4f20c2;let {unitId:_0x33a7ba,subUnitId:_0x4c31c8,floatDomId:_0x3edda5,chartId:_0x25feb3,context:_0x4b869d}=_0x5c8008,_0x8aefbb=_0x31f505(Q);return _0x40f294(()=>{const _0x2a3bbb=_0x40ed;let _0x3a2472=_0x4b869d[_0x2a3bbb(0x2f4)]['current'];if(!_0x3a2472)return;let _0x1715d3=_0x8aefbb[_0x2a3bbb(0x2a9)]({'unitId':_0x33a7ba,'subUnitId':_0x4c31c8,'drawingId':_0x3edda5,'chartId':_0x25feb3,'root':_0x3a2472});return()=>_0x1715d3[_0x2a3bbb(0x246)]();},[_0x8aefbb,_0x25feb3,_0x4b869d[_0xdc1520(0x2f4)],_0x3edda5,_0x4c31c8,_0x33a7ba]),null;},Di=()=>null;let Oi=class extends _0x5243ee{constructor(_0x4f2b05){const _0x12306e=_0x4f20c2;super(),this[_0x12306e(0x20e)]=_0x4f2b05,this[_0x12306e(0x323)]();}[_0x4f20c2(0x323)](){const _0x198abe=_0x4f20c2;this['disposeWithMe'](this[_0x198abe(0x20e)][_0x198abe(0x2a4)](Qr,ei)),this[_0x198abe(0x19f)](this[_0x198abe(0x20e)][_0x198abe(0x2a4)](pr,gr)),this['disposeWithMe'](this[_0x198abe(0x20e)][_0x198abe(0x2a4)](Lr,zr)),this[_0x198abe(0x19f)](this[_0x198abe(0x20e)][_0x198abe(0x2a4)](_0x1978b1,Di)),this[_0x198abe(0x19f)](this['_componentManager'][_0x198abe(0x2a4)](Ti,Ei));}};Oi=B([z(0x0,_0x571022(_0x203f1e))],Oi);const ki='min(1200px,\x20calc(100vw\x20-\x2032px))';let Ai=class extends _0x5243ee{constructor(_0x3a47ee,_0x5af9fd,_0x1fbef1,_0xa8930e,_0x291ef1,_0x3b0811,_0x32c806){const _0x108251=_0x4f20c2;super(),this['_dialogService']=_0x3a47ee,this[_0x108251(0x300)]=_0x5af9fd,this[_0x108251(0x22a)]=_0x1fbef1,this['_docSelectionManagerService']=_0xa8930e,this['_docContentInsertService']=_0x291ef1,this[_0x108251(0x1fd)]=_0x3b0811,this[_0x108251(0x209)]=_0x32c806,this[_0x108251(0x39e)](),this[_0x108251(0x2a7)]();}[_0x4f20c2(0x313)](_0x2fc162){const _0x430fd6=_0x4f20c2;let _0x10ea24=null,_0xd77ab8=this[_0x430fd6(0x22a)][_0x430fd6(0x1ee)](_0x1a7e8c[_0x430fd6(0x238)]),_0x58e97c=()=>{const _0x79b26d=_0x430fd6;_0x10ea24==null||_0x10ea24[_0x79b26d(0x246)](),_0x10ea24=null;};return _0x10ea24=this['_dialogService'][_0x430fd6(0x1d9)]({'id':_0x430fd6(0x327),'title':{'title':this[_0x430fd6(0x300)]['t'](_0x430fd6(0x2aa))},'width':ki,'draggable':!0x1,'mask':!0x0,'maskClosable':!0x1,'children':{'label':{'name':Qr,'props':{'defaultChartType':(_0x2fc162==null?void 0x0:_0x2fc162[_0x430fd6(0x32e)])??(_0x2fc162==null?void 0x0:_0x2fc162[_0x430fd6(0x204)]),'defaultTableText':_0x2fc162==null?void 0x0:_0x2fc162['defaultTableText'],'insertOptions':{'unitId':_0xd77ab8==null?void 0x0:_0xd77ab8[_0x430fd6(0x1f7)](),'insertRange':(_0x2fc162==null?void 0x0:_0x2fc162[_0x430fd6(0x1dd)])??this[_0x430fd6(0x3c0)]()},'onCancel':_0x58e97c,'onInserted':_0x58e97c}}},'onClose':_0x58e97c}),!0x0;}[_0x4f20c2(0x318)](_0x22e960){const _0x2581d2=_0x4f20c2;let _0x2044e8=null,_0x1c26e=()=>{_0x2044e8==null||_0x2044e8['dispose'](),_0x2044e8=null;};return _0x2044e8=this[_0x2581d2(0x21c)]['open']({'id':Rr,'title':{'title':this[_0x2581d2(0x300)]['t'](_0x2581d2(0x2aa))},'width':ki,'draggable':!0x1,'mask':!0x0,'maskClosable':!0x1,'children':{'label':{'name':Lr,'props':{..._0x22e960,'onClose':_0x1c26e}}},'onClose':_0x1c26e}),!0x0;}[_0x4f20c2(0x39e)](){const _0x4bbebc=_0x4f20c2;this[_0x4bbebc(0x1fd)][_0x4bbebc(0x212)](pi);}[_0x4f20c2(0x2a7)](){const _0x7000aa=_0x4f20c2;this[_0x7000aa(0x19f)](this['_commandService'][_0x7000aa(0x343)](_0xc828ca=>{const _0x12f06a=_0x7000aa;if(_0xc828ca['id']===L['id']){this[_0x12f06a(0x313)](_0xc828ca[_0x12f06a(0x29a)]);return;}if(_0xc828ca['id']===R['id']){let _0x27c75d=_0xc828ca[_0x12f06a(0x29a)];_0x27c75d&&this[_0x12f06a(0x318)](_0x27c75d);}}));}[_0x4f20c2(0x3c0)](){const _0x1a73bf=_0x4f20c2;let _0x2788be=this[_0x1a73bf(0x22a)][_0x1a73bf(0x1ee)](_0x1a7e8c[_0x1a73bf(0x238)]);if(!_0x2788be)return;let _0x1d56cd=_0x2788be[_0x1a73bf(0x1f7)](),_0x36f0ca=null;try{_0x36f0ca=this[_0x1a73bf(0x36f)][_0x1a73bf(0x2b8)](_0x1d56cd);}catch{_0x36f0ca=null;}if(_0x36f0ca){let _0x1d2e19={'startOffset':_0x36f0ca[_0x1a73bf(0x2e7)],'endOffset':_0x36f0ca['endOffset'],'collapsed':_0x36f0ca[_0x1a73bf(0x2e7)]===_0x36f0ca[_0x1a73bf(0x220)],'segmentId':_0x36f0ca['segmentId']??''};return G(_0x2788be,_0x1d2e19)?_0x1d2e19:void 0x0;}let _0x2acbdd={'unitId':_0x1d56cd,'subUnitId':_0x1d56cd},_0x139168=[...this['_docSelectionManagerService'][_0x1a73bf(0x277)](_0x2acbdd)??[]];if(_0x139168[_0x1a73bf(0x1b0)]!==0x1)return;let _0x45c764=_0x139168[_0x1a73bf(0x37b)](_0x1200f7=>_0x1200f7[_0x1a73bf(0x283)])??_0x139168[0x0];if(!_0x45c764||!_0x45c764[_0x1a73bf(0x1d4)]||_0x45c764[_0x1a73bf(0x2e7)]==null)return;let _0x500f79={..._0x45c764,'segmentId':_0x45c764[_0x1a73bf(0x20b)]??''};return G(_0x2788be,_0x500f79)?_0x500f79:void 0x0;}};Ai=B([z(0x0,_0x571022(_0x510c83)),z(0x1,_0x571022(_0x15ff2e)),z(0x2,_0x559230),z(0x3,_0x571022(_0x528519)),z(0x4,_0x571022(_0x3c4cce)),z(0x5,_0x5bfde3),z(0x6,_0x2a1459)],Ai);let ji=class extends _0x5243ee{constructor(_0x3fb4f6,_0x22926e){const _0x5be5ae=_0x4f20c2;super(),this['_snapshotService']=_0x22926e,this[_0x5be5ae(0x19f)](_0x3fb4f6[_0x5be5ae(0x2a4)](this));}[_0x4f20c2(0x244)](_0x1f0986){const _0x3e057f=_0x4f20c2;return _0x3e057f(0x344)in _0x1f0986&&_0x3e057f(0x351)in _0x1f0986;}['exportImage'](_0x12fa72,_0x4a3f22){const _0x19475e=_0x4f20c2;if(!this['supports'](_0x12fa72))return Promise[_0x19475e(0x336)](void 0x0);let _0x15c1ef=_0x12fa72[_0x19475e(0x1f6)]()['size'];return this[_0x19475e(0x334)][_0x19475e(0x35c)]({'unitId':_0x12fa72['unitId'],'chartId':_0x12fa72['getId'](),'width':Math['max'](0x1,(_0x15c1ef==null?void 0x0:_0x15c1ef[_0x19475e(0x20a)])??0x1),'height':Math[_0x19475e(0x1b7)](0x1,(_0x15c1ef==null?void 0x0:_0x15c1ef[_0x19475e(0x3bf)])??0x1),'format':_0x4a3f22==null?void 0x0:_0x4a3f22['format'],'mode':'export'});}};ji=B([z(0x0,_0x571022(_0xe4663e)),z(0x1,_0x571022(Y))],ji);function Mi(_0x3ebc26,_0x4fb56b,_0x594b8a){const _0x1596d1=_0x4f20c2;let _0x6912b9=_0x594b8a[_0x1596d1(0x2ca)]??0x0,_0x5040c0=_0x594b8a[_0x1596d1(0x36a)]??0x0,_0xa44e0e=_0x6912b9;for(let _0x57a216 of _0x4fb56b){let _0x28a3ac=_0x57a216[_0x1596d1(0x3e3)]['get'](_0x3ebc26[_0x1596d1(0x384)]);if(_0x28a3ac)return{'left':_0x5040c0+_0x57a216['marginLeft']+_0x28a3ac[_0x1596d1(0x3e0)],'top':_0xa44e0e+_0x57a216[_0x1596d1(0x1d1)]+_0x28a3ac[_0x1596d1(0x35e)],'width':_0x28a3ac[_0x1596d1(0x20a)],'height':_0x28a3ac[_0x1596d1(0x3bf)],'angle':_0x28a3ac['angle'],'flipX':_0x3ebc26['docTransform'][_0x1596d1(0x213)],'flipY':_0x3ebc26[_0x1596d1(0x263)][_0x1596d1(0x2c1)]};let _0x1e17a7=Number[_0x1596d1(0x1ca)](_0x57a216['pageHeight'])?_0x57a216['pageHeight']:_0x57a216[_0x1596d1(0x3bf)];_0xa44e0e+=Math[_0x1596d1(0x1b7)](0x0,_0x1e17a7)+_0x594b8a[_0x1596d1(0x1ad)];}return null;}let Ni=class extends _0x5243ee{constructor(_0x168459,_0x58222e,_0x4fc8e8,_0x50cdaa){const _0x27e8c3=_0x4f20c2;super(),this[_0x27e8c3(0x3b8)]=_0x168459,this[_0x27e8c3(0x2df)]=_0x58222e,this[_0x27e8c3(0x2e5)]=_0x4fc8e8,this[_0x27e8c3(0x3aa)]=_0x50cdaa,U(this,'_preparedCharts',new Map());let _0x5a7989=this[_0x27e8c3(0x3aa)][_0x27e8c3(0x22c)];_0x5a7989&&this[_0x27e8c3(0x19f)](_0x5a7989[_0x27e8c3(0x2bc)](this[_0x27e8c3(0x3aa)],_0x117b26=>this[_0x27e8c3(0x2d0)](_0x117b26))),this[_0x27e8c3(0x36d)]();}async[_0x4f20c2(0x2d0)](_0xc44030){const _0x4f0e5e=_0x4f20c2;let _0x986dd7=this[_0x4f0e5e(0x2cd)](_0xc44030[_0x4f0e5e(0x344)]),_0x582ae9=new Map();this[_0x4f0e5e(0x1e4)][_0x4f0e5e(0x231)](_0xc44030[_0x4f0e5e(0x344)],_0x582ae9),await Promise[_0x4f0e5e(0x3bd)](_0x986dd7[_0x4f0e5e(0x210)](async _0x11f1e6=>{const _0x32c859=_0x4f0e5e;let _0x1a4617=Pi(_0x11f1e6);if(!_0x1a4617)return;let _0x5aedb9={'unitId':_0xc44030[_0x32c859(0x344)],'chartId':_0x11f1e6[_0x32c859(0x37d)],'width':_0x1a4617['width'],'height':_0x1a4617[_0x32c859(0x3bf)],'dpr':_0xc44030[_0x32c859(0x3c2)],'mode':_0x32c859(0x1e5)},_0x5160fd={..._0x5aedb9,'dpr':_0x964797,'mode':_0x32c859(0x2db)},_0x263c88=this[_0x32c859(0x2e5)][_0x32c859(0x312)](_0x5160fd),_0x158997=(_0x263c88==null?void 0x0:_0x263c88[_0x32c859(0x245)])===_0x32c859(0x214)?this[_0x32c859(0x321)](_0x11f1e6):null;if(_0x158997){_0x582ae9[_0x32c859(0x231)](_0x11f1e6[_0x32c859(0x384)],{'image':_0x158997});return;}let _0x4b673c=(_0x263c88==null?void 0x0:_0x263c88[_0x32c859(0x245)])===_0x32c859(0x214)?_0x263c88[_0x32c859(0x282)]:await this[_0x32c859(0x2e5)]['exportImage']((_0x263c88==null?void 0x0:_0x263c88[_0x32c859(0x245)])===_0x32c859(0x3a3)?_0x5160fd:_0x5aedb9);_0x4b673c&&_0x582ae9['set'](_0x11f1e6[_0x32c859(0x384)],{'image':await Fi(_0x4b673c)});}));}['_initPrinting'](){const _0x4e14da=_0x4f20c2;this[_0x4e14da(0x19f)](this[_0x4e14da(0x3aa)][_0x4e14da(0x1e9)][_0x4e14da(0x2d1)](this[_0x4e14da(0x3aa)][_0x4e14da(0x1e9)]['getInterceptPoints']()['PRINTING_COMPONENT_COLLECT'],{'handler':(_0x1b6135,{unitId:_0x1a5e66,scene:_0x233bb8,skeleton:_0x31c770,documents:_0x43eec8},_0x187375)=>{const _0x302ae5=_0x4e14da;var _0x598132,_0x3cb847;let _0x1d2bbc=_0x187375(_0x1b6135),_0x8f71a=this[_0x302ae5(0x1e4)][_0x302ae5(0x2d8)](_0x1a5e66),_0x180cf2=((_0x598132=_0x31c770[_0x302ae5(0x3dc)]())==null?void 0x0:_0x598132[_0x302ae5(0x1c3)])??[];if(!(_0x8f71a!=null&&_0x8f71a['size'])||!_0x180cf2[_0x302ae5(0x1b0)])return _0x1d2bbc;let _0x1fe999=(_0x3cb847=this['_drawingManagerService'][_0x302ae5(0x363)](_0x1a5e66))==null?void 0x0:_0x3cb847[_0x1a5e66];return _0x1fe999==null||_0x1fe999[_0x302ae5(0x289)][_0x302ae5(0x329)]((_0xb6a301,_0x54a72b)=>{const _0x1b9ae2=_0x302ae5;let _0x39c492=_0x1fe999[_0x1b9ae2(0x1cc)][_0xb6a301],_0x34e66f=_0x8f71a[_0x1b9ae2(0x2d8)](_0xb6a301);if(!_0x34e66f||_0x39c492['hidden']||_0x39c492[_0x1b9ae2(0x2bb)]!==_0x1c73b1[_0x1b9ae2(0x1c5)])return;let _0x5c5382={...Mi(_0x39c492,_0x180cf2,_0x43eec8['getOffsetConfig']())??_0x1bf64e(_0x39c492[_0x1b9ae2(0x263)]),'image':_0x34e66f['image'],'printable':!0x0,'forceRender':!0x0,'zIndex':_0x54a72b};_0x233bb8[_0x1b9ae2(0x228)](new _0x36c2a2(_0xc82c45(_0x39c492),_0x5c5382),_0x52abeb);}),_0x1d2bbc;}}));}[_0x4f20c2(0x2cd)](_0x1b82f5){const _0x4923aa=_0x4f20c2;var _0x37d6ef;let _0x44b296=(_0x37d6ef=this['_drawingManagerService'][_0x4923aa(0x363)](_0x1b82f5))==null?void 0x0:_0x37d6ef[_0x1b82f5];return(_0x44b296==null?void 0x0:_0x44b296['order']['map'](_0x10f727=>_0x44b296[_0x4923aa(0x1cc)][_0x10f727])['filter'](_0xe3e0a9=>_0xe3e0a9[_0x4923aa(0x2bb)]===_0x1c73b1['DRAWING_CHART']&&!_0xe3e0a9['hidden']&&!!_0xe3e0a9[_0x4923aa(0x37d)]))??[];}['_getRenderedChartImage'](_0x48acf0){const _0x214fd1=_0x4f20c2;var _0x163368,_0x53c142;let _0x606725=(_0x163368=this[_0x214fd1(0x2df)][_0x214fd1(0x345)](_0x48acf0[_0x214fd1(0x344)]))==null?void 0x0:_0x163368[_0x214fd1(0x227)],_0x19e2bc=_0x606725==null?void 0x0:_0x606725[_0x214fd1(0x3d5)](_0xc82c45(_0x48acf0)),_0x3c7a21=_0x19e2bc==null||(_0x53c142=_0x19e2bc[_0x214fd1(0x3b5)])==null?void 0x0:_0x53c142['call'](_0x19e2bc);return _0x3c7a21!=null&&_0x3c7a21[_0x214fd1(0x290)]&&_0x3c7a21[_0x214fd1(0x2d5)]>0x0?_0x3c7a21:null;}};Ni=B([z(0x0,_0x32a27c),z(0x1,_0x631398),z(0x2,_0x571022(Y)),z(0x3,_0x571022(_0x59eebf))],Ni);function Pi(_0x3fa853){const _0x1ca6b1=_0x4f20c2;var _0x3f7c40,_0x4972ba,_0x4081d8,_0x5f0e34;let _0x2f3038=((_0x3f7c40=_0x3fa853[_0x1ca6b1(0x358)])==null?void 0x0:_0x3f7c40[_0x1ca6b1(0x20a)])??((_0x4972ba=_0x3fa853[_0x1ca6b1(0x263)])==null||(_0x4972ba=_0x4972ba[_0x1ca6b1(0x39a)])==null?void 0x0:_0x4972ba[_0x1ca6b1(0x20a)])??0x0,_0x19929a=((_0x4081d8=_0x3fa853[_0x1ca6b1(0x358)])==null?void 0x0:_0x4081d8[_0x1ca6b1(0x3bf)])??((_0x5f0e34=_0x3fa853[_0x1ca6b1(0x263)])==null||(_0x5f0e34=_0x5f0e34[_0x1ca6b1(0x39a)])==null?void 0x0:_0x5f0e34[_0x1ca6b1(0x3bf)])??0x0;return _0x2f3038>0x0&&_0x19929a>0x0?{'width':Math[_0x1ca6b1(0x1b7)](0x1,Math[_0x1ca6b1(0x258)](_0x2f3038)),'height':Math['max'](0x1,Math[_0x1ca6b1(0x258)](_0x19929a))}:null;}function Fi(_0x5cc7ef){return new Promise((_0x5035bc,_0x19c345)=>{const _0x2ed941=_0x40ed;let _0x32e4a4=new globalThis[(_0x2ed941(0x30f))](),_0x473adb=globalThis[_0x2ed941(0x2e8)](()=>_0x19c345(Error(_0x2ed941(0x1b5))),0x2710),_0x4be697=_0x560eac=>{const _0x5128b9=_0x2ed941;globalThis[_0x5128b9(0x1bf)](_0x473adb),_0x32e4a4['onload']=null,_0x32e4a4[_0x5128b9(0x364)]=null,_0x560eac();};_0x32e4a4[_0x2ed941(0x37c)]=()=>_0x4be697(()=>_0x5035bc(_0x32e4a4)),_0x32e4a4[_0x2ed941(0x364)]=()=>_0x4be697(()=>_0x19c345(Error(_0x2ed941(0x233)))),_0x32e4a4[_0x2ed941(0x3e1)]=_0x5cc7ef,_0x32e4a4[_0x2ed941(0x290)]&&_0x32e4a4[_0x2ed941(0x2d5)]>0x0&&_0x4be697(()=>_0x5035bc(_0x32e4a4));});}let $=class extends _0x1fd94b{constructor(_0x4dbed3=ni,_0x44aba8,_0x2f7859,_0x3c2f76){const _0x298793=_0x4f20c2;super(),this['_config']=_0x4dbed3,this[_0x298793(0x1f4)]=_0x44aba8,this[_0x298793(0x1a2)]=_0x2f7859,this[_0x298793(0x209)]=_0x3c2f76;let {..._0x3a19e0}=_0x5c65f9({},ni,this[_0x298793(0x2e1)]);this['_configService'][_0x298793(0x356)](ti,_0x3a19e0),this['_initCommands']();}[_0x4f20c2(0x388)](){const _0x3c1596=_0x4f20c2;let _0x11105b=this[_0x3c1596(0x1f4)];[[Oi],[K],[V],[_r,{'useClass':vr}],[Q],[Ni],[W],[Y],[ji],[si],[vi],[q],[J],[Ai]][_0x3c1596(0x329)](_0x3264c8=>_0x11105b['add'](_0x3264c8)),_0x51d409(_0x11105b,[[K],[V],[_r],[Q],[Ni],[W],[Y],[ji],[q],[J]]),this[_0x3c1596(0x1f4)][_0x3c1596(0x2d8)](Oi);}[_0x4f20c2(0x3af)](){const _0x2d65ad=_0x4f20c2;this[_0x2d65ad(0x1f4)][_0x2d65ad(0x2d8)](si),this['_injector'][_0x2d65ad(0x2d8)](vi),this[_0x2d65ad(0x1f4)][_0x2d65ad(0x2d8)](q),this['_injector'][_0x2d65ad(0x2d8)](J),this['_injector']['get'](Ai);}['_initCommands'](){[L,R]['forEach'](_0x12c677=>{const _0x1ec70c=_0x40ed;this[_0x1ec70c(0x19f)](this[_0x1ec70c(0x209)][_0x1ec70c(0x1ea)](_0x12c677));});}};U($,'type',_0x1a7e8c[_0x4f20c2(0x238)]),U($,_0x4f20c2(0x285),_0x4f20c2(0x375)),U($,_0x4f20c2(0x2ee),mi),U($,_0x4f20c2(0x1eb),hi),$=B([_0x16a024(_0x3fd741,_0x167852,_0x4470f7,_0x1b3801,_0x5481e5,_0x4dd692,_0x41b0fc,_0x5ed5ce,_0xd1a4bf),z(0x1,_0x571022(_0x577ec7)),z(0x2,_0x3ac3b8),z(0x3,_0x2a1459)],$);export{ti as DOCS_CHART_UI_PLUGIN_CONFIG_KEY,Ti as DOC_ACTIVE_CHART_COMPONENT,ri as DOC_CHART_CLIPBOARD_RESOURCE_KEY,pr as DOC_CHART_DATA_EDITOR_COMPONENT,mr as DOC_CHART_DATA_EDITOR_DIALOG_ID,Lr as DOC_CHART_EDITOR_DIALOG_COMPONENT,Rr as DOC_CHART_EDITOR_DIALOG_ID,ci as DOC_CHART_INSERT_BELOW_MENU_ID,X as DOC_CHART_INSERT_MENU_ID,Qr as DOC_CHART_INSERT_PANEL_COMPONENT,Ei as DocActiveChart,Q as DocChartActiveRenderService,q as DocChartClipboardController,V as DocChartDataEditService,gr as DocChartDataEditor,hr as DocChartDataEditorSubmitMode,J as DocChartDrawingEditController,Tr as DocChartEditPanel,zr as DocChartEditorDialog,fi as DocChartInsertBelowMenuItemFactory,Z as DocChartInsertMenuItemFactory,ei as DocChartInsertPanel,di as DocChartInsertRibbonMenuItemFactory,K as DocChartInsertService,Ni as DocChartPrintService,W as DocChartRenderService,si as DocChartSnapshotRefreshController,Y as DocChartSnapshotRenderService,vr as DocChartUIService,jr as DocDomChartHost,Di as DocPrintChart,pi as DocsChartUIMenuSchema,ai as IDocChartSnapshotRendererService,_r as IDocChartUIService,R as OpenDocChartEditorDialogOperation,L as OpenDocChartInsertDialogOperation,$ as UniverDocsChartUIPlugin,ni as defaultPluginConfig,li as getDocChartInsertDisabledObservable};
1
+ const _0x417a4a=_0x32bc;(function(_0x50835d,_0x154675){const _0x398a22=_0x32bc,_0x469a26=_0x50835d();while(!![]){try{const _0x365e20=-parseInt(_0x398a22(0x2f7))/0x1+parseInt(_0x398a22(0x267))/0x2+parseInt(_0x398a22(0x249))/0x3*(-parseInt(_0x398a22(0x344))/0x4)+parseInt(_0x398a22(0x1d3))/0x5+parseInt(_0x398a22(0x2be))/0x6*(parseInt(_0x398a22(0x2da))/0x7)+-parseInt(_0x398a22(0x2ad))/0x8*(parseInt(_0x398a22(0x329))/0x9)+parseInt(_0x398a22(0x27b))/0xa*(parseInt(_0x398a22(0x324))/0xb);if(_0x365e20===_0x154675)break;else _0x469a26['push'](_0x469a26['shift']());}catch(_0x52b6e0){_0x469a26['push'](_0x469a26['shift']());}}}(_0x35fc,0x19675));import{CommandType as _0xf09bee,DOC_DRAWING_PRINTING_COMPONENT_KEY as _0x3958bf,DataStreamTreeTokenType as _0x49f8af,DependentOn as _0x3a65f9,Disposable as _0x45d2af,DrawingTypeEnum as _0x12af05,ICommandService as _0x3abed6,IConfigService as _0x1a585f,IUniverInstanceService as _0x10ec90,Inject as _0x49aabf,Injector as _0x1f5d92,LocaleService as _0x2052de,Optional as _0x4f5f6a,Plugin as _0x311018,Tools as _0x591c5f,UniverInstanceType as _0x5aa26b,createIdentifier as _0x5aff36,generateRandomId as _0x481b79,merge as _0xe10522,toDisposable as _0xd12a2c,touchDependencies as _0x18386a}from'@univerjs/core';import{CHART_TYPE_CATALOG as _0x3cdc1a,ChartAxisBoundsFields as _0x3d2c3a,ChartAxisFormatTextField as _0x518bdf,ChartAxisLabelStyleFields as _0x34d52,ChartAxisLabelVisibilityField as _0x4f18ff,ChartAxisLineVisibilityField as _0x63a5f5,ChartAxisReverseField as _0x5761c6,ChartAxisTickVisibilityField as _0x5784ec,ChartAxisTitleFields as _0x204bc1,ChartCommonDataMappingSection as _0xb88ef6,ChartEditBlockTitle as _0x4662f3,ChartEditPanel as _0x28d4f3,ChartEditPanelSection as _0x2702ca,ChartEditPanelTab as _0x41429f,ChartEditPanelTabs as _0x326243,ChartEditorCapability as _0x233048,ChartEditorProvider as _0x57d37b,ChartFunnelStyleSection as _0x423320,ChartGradientFillField as _0x56747f,ChartGridlineVisibilityField as _0x31c28f,ChartGridlineWidthField as _0x46a212,ChartHeatmapStyleSection as _0x588d3d,ChartHostAdapter as _0x49204e,ChartImageExportService as _0x560b16,ChartIndicatorLineColorField as _0x49330f,ChartIndicatorLineTypeField as _0x336f7a,ChartInlineTableEditor as _0x37ea21,ChartLegendFontSizeField as _0xd7a59e,ChartLegendPositionField as _0x1a5475,ChartLegendRoot as _0x5ddee3,ChartLegendSelectModeField as _0x4a3939,ChartLegendWrapField as _0xfa07f6,ChartLineAndAreaSection as _0xde83e,ChartMainTitleFields as _0xcc83bb,ChartNumberFormatTextField as _0x445fcc,ChartParetoSeriesSection as _0x3a864b,ChartPieStyleSection as _0x5cca9e,ChartRadarStyleSection as _0x2de92,ChartReferencedDataSourceEditor as _0x32b351,ChartRelationStyleSection as _0x2c9f1f,ChartSectionAccordion as _0x28a775,ChartSectionAccordionContent as _0x16f19e,ChartSectionAccordionItem as _0x5ccfef,ChartSectionAccordionTrigger as _0x20b29f,ChartSeriesBorderFields as _0x1d81a5,ChartSeriesFillFields as _0x42376f,ChartSeriesLabelFontSizeField as _0x44b1bc,ChartSeriesLabelPositionField as _0x10cb05,ChartSeriesLabelVisibilityField as _0x399fe6,ChartSeriesPointFields as _0x3b6386,ChartSeriesRoot as _0x4c93ce,ChartSnapshotQueue as _0x3cd38c,ChartStackField as _0x1eea6d,ChartStyleSection as _0x2bb7a2,ChartSubtitleFields as _0x2ab44a,ChartThemeField as _0x44ac66,ChartTitleFontSizeFields as _0xbed62d,ChartTypeField as _0x48487f,ChartTypeSpecificDataSection as _0x184198,ChartTypeSpecificSetupSection as _0x5afe20,ChartTypeSpecificStyleSection as _0x2fbf43,ChartUIService as _0x139264,ChartViewStateRegistry as _0x55287d,ChartWaterfallSetupFields as _0x1a925b,ChartWaterfallStyleSection as _0x2b9b1d,ChartWordCloudRepeatField as _0x335577,ChartWordCloudRoot as _0x2f76af,ChartWordCloudShapeField as _0x3f43f5,DEFAULT_CHART_AXIS_VALUES as _0x473817,DEFAULT_CHART_FUNNEL_VALUES as _0x5aaa05,DEFAULT_CHART_HEATMAP_VALUES as _0x1d12d2,DEFAULT_CHART_INDICATOR_LINE_VALUES as _0xd2db20,DEFAULT_CHART_LEGEND_VALUES as _0x4b5249,DEFAULT_CHART_LINE_AND_AREA_VALUES as _0x5dfcde,DEFAULT_CHART_PARETO_VALUES as _0x1b9f44,DEFAULT_CHART_PIE_VALUES as _0x562190,DEFAULT_CHART_RADAR_VALUES as _0x1e77e2,DEFAULT_CHART_RELATION_VALUES as _0xac4782,DEFAULT_CHART_SERIES_VALUES as _0x520aad,DEFAULT_CHART_STYLE_VALUES as _0x396bcc,DEFAULT_CHART_TITLE_VALUES as _0x2ef0c5,DEFAULT_CHART_WATERFALL_SETUP_VALUES as _0x2fa722,DEFAULT_CHART_WATERFALL_STYLE_VALUES as _0x2024ae,DEFAULT_CHART_WORD_CLOUD_VALUES as _0x587c59,InlineChartCreationIssueCode as _0x25218b,MobileChartEditorControls as _0x1e7d8a,MobileChartEditorProvider as _0x33df36,UniverChartMobileUIPlugin as _0x8ed84d,UniverChartUIPlugin as _0x132d45,buildChartTypeSelectOptions as _0x2015a2,chartTypeSupportsCapability as _0x4b05fe,chartTypeSupportsLineAndAreaStyle as _0x3469c6,compactInlineTableValues as _0x442fe1,createChartInlineStarterData as _0x5eb4a6,getChartInlineTableMinColumns as _0x5cfbdf,resolveChartEditPanelRoute as _0x42a61d,resolveChartElementSelection as _0x513368,resolveChartTypeFieldValue as _0x54a134,tryBuildInlineChartCreationPlan as _0x3fce71,tryPrepareInlineChartData as _0x457fcd,useChartEditorChartType as _0x204e02,useChartEditorComponents as _0x12e8cc,useChartEditorHasRightAxis as _0x474f65}from'@univerjs-pro/chart-ui';function _0x32bc(_0x5dd22a,_0x54c6cc){_0x5dd22a=_0x5dd22a-0x19d;const _0x35fc9a=_0x35fc();let _0x32bc6f=_0x35fc9a[_0x5dd22a];return _0x32bc6f;}import{CHART_RESOURCE_VERSION as _0x1371d3,ChartDataSource as _0x44c20c,ChartDataSourceRuntimeStatus as _0x26e3cf,ChartImageExportFormat as _0x3fbd21,ChartModel as _0x28c843,ChartRenderMode as _0x5435df,ChartResourceRepository as _0x134d41,ChartThemeService as _0x22e318,ChartTypeBits as _0x1b4be6,DEFAULT_CHART_DEVICE_PIXEL_RATIO as _0x1a3acd,DataUrlImageChartHost as _0x69442,IChartRenderModelManagerService as _0x5daafa,buildOrientedChartDataSet as _0x699581,chartBitsUtils as _0x198e57,generateChartContext as _0x1b4133,getChartHostFrameContentRect as _0x2e4f15,isInlineChartDataSource as _0x1b15d6,isReferencedChartDataSource as _0x3b8c56,parseInlineChartTable as _0x555b54,reconcileChartContext as _0x5e1615,resolveChartRuntimeStyle as _0x2578cb,resolveDefaultChartHostFrameStyle as _0x437b8f,shouldComposeChartHostFrame as _0x45ff87}from'@univerjs-pro/engine-chart';import{CanvasFloatDomService as _0x44cf95,ComponentManager as _0x3b179a,ContextMenuGroup as _0x2cb0a3,ContextMenuPosition as _0x565b75,IDialogService as _0x4e0aab,IMenuManagerService as _0x2cbcc0,MenuItemType as _0x117f33,RibbonInsertGroup as _0x4e8538,getMenuHiddenObservable as _0x3c14e6,useDependency as _0x473746,useObservable as _0x577379}from'@univerjs/ui';import{useEffect as _0x518828,useMemo as _0x4c5d9b,useRef as _0x15bab7,useState as _0x4742c1}from'react';import{jsx as _0xe0cb81,jsxs as _0x237236}from'react/jsx-runtime';import{ChangeDocChartDataSourceCommand as _0x3e6660,DocChartModelService as _0x4aeeb5,DocumentChartConfigAdapter as _0x462921,InsertDocChartCommand as _0x592d4c,RemoveDocChartDataSourceMutation as _0xaeb256,RemoveDocChartSnapshotMutation as _0x2bf190,SetDocChartDataSourceMutation as _0x403d88,SetDocChartSnapshotMutation as _0x4d9ebe,UniverDocsChartPlugin as _0x5db40c,UpdateDocChartConfigCommand as _0x54cf72}from'@univerjs-pro/docs-chart';import{DocContentInsertService as _0x29f262,DocSelectionManagerService as _0x2377fb,UniverDocsPlugin as _0x51a91f,docDrawingPositionToTransform as _0x2cec59}from'@univerjs/docs';import{BreakLineCommand as _0x240830,DOC_CONTENT_INSERT_MENU_ID as _0x4737f6,DOC_PARAGRAPH_T_INSERT_BELOW_MENU_ID as _0x380d46,DOC_PARAGRAPH_T_INSERT_MENU_ID as _0x15dc0b,DocPrintInterceptorService as _0xe145bb,EMPTY_PARAGRAPH_MENU_ID as _0x557411,IDocClipboardPasteAdapterService as _0x123526,IDocClipboardService as _0x45bf1a,INSERT_BELLOW_MENU_ID as _0xe68e0f,UniverDocsMobileUIPlugin as _0x196269,UniverDocsUIPlugin as _0xff3976,VIEWPORT_KEY as _0x5cd444,disableMenuWhenHeaderFooterEditing as _0x27084d}from'@univerjs/docs-ui';import{IDocDrawingAdapterService as _0xd3701,RemoveDocDrawingCommand as _0x58d457,UniverDocsDrawingPlugin as _0x4b5773}from'@univerjs/docs-drawing';import{DocDrawingFloatingToolbarAdapterService as _0x35a0b1,UniverDocsDrawingMobileUIPlugin as _0x4787c6,UniverDocsDrawingUIPlugin as _0x11be17}from'@univerjs/docs-drawing-ui';import{BehaviorSubject as _0x3b2f84,Observable as _0x5d518a,Subject as _0x1f8933,auditTime as _0xd42425,combineLatest as _0xe710bc,filter as _0x3f429c,map as _0x1d07dc,skip as _0xa78bf1}from'rxjs';import{UniverLicensePlugin as _0x575ff3}from'@univerjs-pro/license';import{IDrawingManagerService as _0x5265a1,UniverDrawingPlugin as _0x2c4439,getDrawingShapeKeyByDrawingSearch as _0x9ad16e}from'@univerjs/drawing';import{DEFAULT_TRANSFORMER_CONFIG as _0x84163b,DRAWING_OBJECT_LAYER_INDEX as _0x69b6fd,IRenderManagerService as _0x2bf97c,Image as _0x18ba90,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x2da7d0,UniverRenderEnginePlugin as _0x414ff1}from'@univerjs/engine-render';const P={'id':_0x417a4a(0x1d0),'type':_0xf09bee[_0x417a4a(0x3bb)],'handler'(){return!0x0;}},F={'id':_0x417a4a(0x359),'type':_0xf09bee[_0x417a4a(0x3bb)],'handler'(){return!0x0;}},br=_0x417a4a(0x1fb),xr=_0x417a4a(0x1a2);let Sr=function(_0x28323c){const _0x4e2fec=_0x417a4a;return _0x28323c[_0x4e2fec(0x215)]='shared',_0x28323c[_0x4e2fec(0x352)]=_0x4e2fec(0x336),_0x28323c;}({});function Cr(_0x3abe5b){const _0x26dc6d=_0x417a4a;let {ButtonComponent:_0x282ff8}=_0x12e8cc(),_0x345ba2=_0x473746(_0x2052de),{values:_0x4f3fb4,onCancel:_0x1e7974,onChange:_0x167d71,onSubmit:_0xc7cb91}=_0x3abe5b,[_0x561f9c,_0x25d8a4]=_0x4742c1(()=>_0x3b8c56(_0x3abe5b['dataSource'])?_0x26dc6d(0x334):_0x26dc6d(0x3aa)),[_0x2cadb3,_0x114dce]=_0x4742c1(null),[_0x4bad4c,_0x3fc050]=_0x4742c1(()=>_0x4f3fb4[_0x26dc6d(0x399)](_0x28f848=>[..._0x28f848])),[_0x1dd326,_0x39b795]=_0x4742c1(null),_0x4c93b2=_0x5023f3=>{_0x3fc050(_0x5023f3),_0x167d71==null||_0x167d71(_0x5023f3);},_0x5b93c3=_0x5de4aa=>{let _0x3d7baa=_0x442fe1(_0x4bad4c);if(_0x3d7baa['length']===0x0){_0x39b795(_0x345ba2['t']('docs-chart-ui.common.tableDataEmpty'));return;}_0x39b795(null),_0xc7cb91(_0x3d7baa,_0x5de4aa);};return _0x237236(_0x26dc6d(0x39b),{'className':_0x26dc6d(0x28d),'children':[_0xe0cb81(_0x26dc6d(0x39b),{'className':'univer-min-h-0\x20univer-flex-1\x20univer-overflow-auto\x20univer-overscroll-contain\x20univer-pr-1','children':_0xe0cb81(_0x32b351,{'mode':_0x561f9c,'initialSource':_0x3b8c56(_0x3abe5b['dataSource'])?_0x3abe5b[_0x26dc6d(0x1e0)][_0x26dc6d(0x339)]:void 0x0,'inlineContent':_0xe0cb81(_0x37ea21,{'values':_0x4bad4c,'parsePastedText':_0x555b54,'onChange':_0x4c93b2}),'onModeChange':_0x557295=>{_0x25d8a4(_0x557295),_0x114dce(null);},'onPreviewChange':(_0x2590e1,_0x47807b)=>{const _0x42f4f0=_0x26dc6d;_0x114dce(_0x2590e1&&_0x47807b[_0x42f4f0(0x2f6)]===_0x26e3cf[_0x42f4f0(0x38a)]?{'source':_0x2590e1}:null),_0x47807b[_0x42f4f0(0x1aa)]&&(_0x167d71==null||_0x167d71(_0x47807b['values']['map'](_0x456684=>[..._0x456684])));}})}),_0x1dd326&&_0xe0cb81(_0x26dc6d(0x39b),{'className':_0x26dc6d(0x1f2),'children':_0x1dd326}),_0x237236(_0x26dc6d(0x39b),{'className':_0x26dc6d(0x368),'children':[_0x1e7974&&_0xe0cb81(_0x282ff8,{'type':_0x26dc6d(0x1cb),'variant':_0x26dc6d(0x340),'onClick':_0x1e7974,'children':_0x345ba2['t'](_0x26dc6d(0x2ee))}),_0xe0cb81(_0x282ff8,{'type':'button','variant':_0x26dc6d(0x26b),'disabled':_0x561f9c===_0x26dc6d(0x334)&&!_0x2cadb3,'onClick':()=>{const _0x5b898c=_0x26dc6d;var _0x48b28b;return _0x561f9c===_0x5b898c(0x334)&&_0x2cadb3?(_0x48b28b=_0x3abe5b[_0x5b898c(0x1da)])==null?void 0x0:_0x48b28b['call'](_0x3abe5b,_0x2cadb3):_0x5b93c3('shared');},'children':_0x345ba2['t']('docs-chart-ui.common.apply')})]})]});}function I(_0xb619ff,_0x35a8c3){return function(_0x46dd09,_0x3b1433){_0x35a8c3(_0x46dd09,_0x3b1433,_0xb619ff);};}function L(_0x49f54e,_0x19fea1,_0x5a3ddb,_0xac7a91){const _0x47ea1d=_0x417a4a;var _0x3229a7=arguments['length'],_0x5ebb1b=_0x3229a7<0x3?_0x19fea1:_0xac7a91===null?_0xac7a91=Object[_0x47ea1d(0x1cf)](_0x19fea1,_0x5a3ddb):_0xac7a91,_0x561392;if(typeof Reflect==_0x47ea1d(0x32e)&&typeof Reflect[_0x47ea1d(0x288)]==_0x47ea1d(0x393))_0x5ebb1b=Reflect[_0x47ea1d(0x288)](_0x49f54e,_0x19fea1,_0x5a3ddb,_0xac7a91);else{for(var _0x42c0cd=_0x49f54e['length']-0x1;_0x42c0cd>=0x0;_0x42c0cd--)(_0x561392=_0x49f54e[_0x42c0cd])&&(_0x5ebb1b=(_0x3229a7<0x3?_0x561392(_0x5ebb1b):_0x3229a7>0x3?_0x561392(_0x19fea1,_0x5a3ddb,_0x5ebb1b):_0x561392(_0x19fea1,_0x5a3ddb))||_0x5ebb1b);}return _0x3229a7>0x3&&_0x5ebb1b&&Object[_0x47ea1d(0x1d6)](_0x19fea1,_0x5a3ddb,_0x5ebb1b),_0x5ebb1b;}let R=class{constructor(_0x309dc3,_0x21cc2a){const _0x5e34a7=_0x417a4a;this[_0x5e34a7(0x244)]=_0x309dc3,this[_0x5e34a7(0x33c)]=_0x21cc2a;}[_0x417a4a(0x32b)](_0x56e268,_0x1622e7){const _0x245822=_0x417a4a;let _0x52cde0=this[_0x245822(0x33c)][_0x245822(0x2c3)](_0x56e268,_0x1622e7),_0x3c3858=_0x52cde0?this['_resourceService'][_0x245822(0x3d1)](_0x56e268,_0x52cde0['dataSourceId']):void 0x0;return!_0x52cde0||!_0x3c3858?null:{'unitId':_0x56e268,'chartId':_0x1622e7,'dataSourceId':_0x3c3858['id'],'dataSource':_0x3c3858,'values':_0x1b15d6(_0x3c3858)?_0x3c3858[_0x245822(0x1aa)][_0x245822(0x399)](_0x1e2a08=>[..._0x1e2a08]):[],'sharingCount':this['_resourceService'][_0x245822(0x39d)](_0x56e268,_0x3c3858['id'])};}[_0x417a4a(0x381)](_0x2433b5,_0x291bcf,_0x5b9ac3,_0x59a525){const _0x7d3891=_0x417a4a;let _0x49d5dc=_0x555b54(_0x5b9ac3);return _0x49d5dc['length']!==0x0&&this[_0x7d3891(0x2b8)](_0x2433b5,_0x291bcf,_0x49d5dc,_0x59a525);}[_0x417a4a(0x2b8)](_0x36739e,_0x470b22,_0x3b62cc,_0x67c337){const _0x48f288=_0x417a4a;var _0x33f78f;if(!this[_0x48f288(0x32b)](_0x36739e,_0x470b22)||_0x3b62cc[_0x48f288(0x2d5)]===0x0)return!0x1;let _0x232267=(_0x33f78f=this[_0x48f288(0x33c)]['getChart'](_0x36739e,_0x470b22))==null?void 0x0:_0x33f78f[_0x48f288(0x369)];if(_0x232267===void 0x0)return!0x1;let _0x52215f=_0x457fcd(_0x232267,_0x3b62cc);return _0x52215f['ok']?this[_0x48f288(0x20b)](_0x36739e,_0x470b22,{'values':_0x52215f[_0x48f288(0x1aa)]}):!0x1;}[_0x417a4a(0x20b)](_0x1a9f0e,_0x176813,_0x3d9968){const _0xa21be3=_0x417a4a;return this['_commandService'][_0xa21be3(0x1f7)](_0x3e6660['id'],{'unitId':_0x1a9f0e,'chartId':_0x176813,'dataSource':_0x3d9968});}};R=L([I(0x0,_0x3abed6),I(0x1,_0x49aabf(_0x134d41))],R);const wr=_0x5aff36(_0x417a4a(0x346));let Tr=class extends _0x139264{constructor(_0x5a80d8,_0xde9cb0,_0x1d3c0e){const _0x9d4db6=_0x417a4a;super(_0x1d3c0e),this[_0x9d4db6(0x2f3)]=_0x5a80d8,this[_0x9d4db6(0x244)]=_0xde9cb0;}get[_0x417a4a(0x3dc)](){const _0x4337a0=_0x417a4a;return this[_0x4337a0(0x2f3)][_0x4337a0(0x3dc)];}[_0x417a4a(0x22c)](_0x3e70bb){const _0x180c89=_0x417a4a;let _0x5592b6=this[_0x180c89(0x3dc)],_0x124818=_0x3e70bb[_0x180c89(0x223)]??(_0x5592b6==null?void 0x0:_0x5592b6[_0x180c89(0x223)]),_0x2bd0e7=_0x3e70bb[_0x180c89(0x1b3)]??(_0x5592b6==null?void 0x0:_0x5592b6['chartId']);_0x124818&&_0x2bd0e7&&this[_0x180c89(0x244)][_0x180c89(0x282)](_0x54cf72['id'],{..._0x3e70bb,'unitId':_0x124818,'chartId':_0x2bd0e7});}};function _0x35fc(){const _0x11e7e1=['onCommandExecuted','pieSecondaryPlotType','sourceDocuments','DUPLICATE','scale(','engine','canvas','cumulativeLineStyle','createRenderSpec','univer-p-4\x20univer-text-sm\x20univer-text-gray-500\x20dark:!univer-text-gray-400','doc.operation.open-doc-chart-editor-dialog','_drawingAdapterService','prototype','setActiveDomReady','key','Heatmap','docs-chart-ui.section.chord','axis','getFocusDrawings','onerror','docs-chart-ui.common.series','style','_requestSnapshotsForSearches','setTimeout','doc-chart-preview-','univer-flex\x20univer-shrink-0\x20univer-justify-end\x20univer-gap-2','chartType','collapsed','PRINTING_COMPONENT_COLLECT','every','number','_getChartDrawing','getCurrentUnitOfType','univer-flex\x20univer-shrink-0\x20univer-px-1\x20univer-pb-4\x20univer-pt-4','docs-chart-ui.common.deleteChart','\x20has\x20no\x20render\x20config.','docs-chart-ui.section.gauge','onClose','\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','segmentId','docTransform','load','doughnutHole','angle','onTransformChange$','targetDrawing','onModifyData','min','HorizontalAxis','size','updateDataFromText','naturalWidth','_getChartDrawings','dispose','funnel','top','VerticalAxis','BUTTON','change','READY','setImageContentHidden','scene','docs-chart-ui.section.indicatorLine','docs-chart-ui.common.chartAndAxisTitles','dblclick','getDrawingByParam','Trendline','hit','function','DrawingEditIcon','rightY','clipBounds','className','markNotReady','map','getCacheKey','div','_initAdapter','getDataSourceSharingCount','add','scaleObserver','next','Category\x09Value','-tab','observe','getCanvasElement','_createChartRenderInstanceContext','border','univer-min-h-0\x20univer-min-w-0\x20univer-flex-1\x20univer-overflow-hidden','getSnapshot','VIEW_MAIN','inline','_hostStyle','docs-chart-ui.candlestick.high','iterator','click','_renderDrawing','_univerInstanceService','_listenRuntimeData','getUnit','A\x0912','fill','_handleFocus','positionObserver','find','doc-chart.dialog.insert','getRenderColor','secondaryPlot','OPERATION','_docClipboardService','_instanceService','onStarting','boxSizing','init','_createImageShape','_draw','_getContentRect','WordCloud','endOffset','barStyle','docs-chart-ui.section.gridlinesAndTicks','_pasteAdapterService','getOffsetConfig','doc-chart-setup-panel','_syncChartImageVisibility','iconName','docs-chart-ui.common.editData','_componentManager','clear','univer-flex\x20univer-w-full\x20univer-flex-col\x20univer-gap-4','getDataSource','getNative','UnknownOption','getUnitId','Legend','getInfo','_initPrinting','visible','_forEachChartDrawing','constructor','bind','activeRuntimeModel','tab','doc-chart-data-panel','textRanges','attachTransformerTo','show','_initCommands','getDataSourceRuntimeState$','drawingId','toPrimitive','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','parseInt','_imageContentHidden','getBody','indexOf','ready','getDirection','WaterfallSeries','univer-min-h-0\x20univer-flex-1\x20univer-pt-4','doc-chart.dialog.data-editor','getBoundingClientRect','UNIVER_DOC','sourceDrawing','format','pie','docs-chart-ui.candlestick.columnsError','ensureMount','values','publishDataSet','markReady','startIndex','dataUrl','issue','marginLeft','_appendChartResources','tables','chartId','setActiveChartById','_init','_setElementSize','_docContentInsertService','addEventListener','subscribe','\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','_runtimeStateSubscriptions','position','value','getDrawingOrder','_config','preValue','transform','_captureInsertRange','ParetoLineSeries','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','Histogram','_registerComponents','focus$','RightVerticalAxis','chartModelRemoved$','getAncestorScale','button','PieStyle','docs-chart-ui.section.histogram','univer-flex\x20univer-flex-col\x20univer-gap-3','getOwnPropertyDescriptor','doc.operation.open-doc-chart-insert-dialog','borderRadius','remove$','509190wDkBeu','docs-chart-ui.candlestick.low','docs-chart-ui.section.radar','defineProperty','changeSource','config$','Gauge','onDataSourceSubmit','LAYOUT','getSelfOrHeaderFooterModel','docs-chart-ui.common.heatmap','order','dataStream','dataSource','_getRenderedChartImage','Failed\x20to\x20render\x20document\x20chart\x20snapshot:\x20','_getRenderScale','target','createRenderInput','add$','doc-chart.insert-panel','GeneralSeries','startOffset','docs-chart-ui.common.trendline','_isDocChartDrawing','replaceChildren','_initClipboardHooks','requestSnapshot','label','version','_layoutChanged$','univer-text-xs\x20univer-text-red-600\x20dark:!univer-text-red-400','Image','context$','doc-chart-preview','_docSelectionManagerService','syncExecuteCommand','chart','docs-chart-ui.common.data','ChartStyle','doc-chart.data-editor','univer-shrink-0\x20univer-px-3','@univerjs-pro/docs-chart-ui','border-box','dispatchEvent','filter','some','sceneRect','docs-chart-ui.chartNotFound','main','docs-chart-ui.common.insert','_host','disposeWithMe','docs-chart-ui.config','flipX','contentRect','changeDataSource','docs-chart-ui.common.legend','Doughnut','dataAggregation','_activate','forEach','isActive','_menuManagerService','marginTop','docsTop','SHARED','registerAdapter','Dom','docs-chart-ui.section.sunburst','slice','Relation','onReady','Pie','Sunburst','route','complete','ensureChartModel','rgb(','Chord','unitId','scaleX','\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','_mountNode','univer-flex\x20univer-justify-end\x20univer-gap-2','pareto','docs-chart-ui.common.customize','getRect','image','executeChartUpdateConfig','_getPositionState','charts','breakOffsets','titles','left','height','_initMenus','ChartIcon','docs-chart-ui.close','span','print','Radar','series','_staticRenderController','color','makeDirty','scale','checkMounted','Waterfall','defaultChartType','univer-text-sm\x20univer-font-medium\x20univer-text-gray-900\x20dark:!univer-text-gray-0','legend','mountChart','_commandService','then','univer-mt-2\x20univer-text-xs\x20univer-text-red-600\x20dark:!univer-text-red-400','docs-chart-ui.common.valueField','getRealBound','32187IEGakh','_snapshotRenderService','_bindRuntimeState','docs-chart-ui.common.category','PARAGRAPH','getDataSourceRuntimeState','_configService','chartContext','.below','set','Pareto','dataSourceId','getRenderUnitById','Document\x20chart\x20snapshot\x20rendering\x20requires\x20a\x20browser\x20document.','drawings','blockRanges','getSkeletonData','intercept','docs-chart-ui.section.pie','docs-chart-ui.common.setup','chartModelAdded$','_activeLayer','exportImage','_refreshActivePosition','getDrawingDataForUnit','_injector','univer-flex-none\x20univer-overflow-visible','docs-chart-ui.common.insertChart','toSpec','insertChart','163026inRgSO','pipe','supports','setChartContext','primary','removeFloatDom','_getDrawingSearch','_manageHostSize','Candlestick','univer-flex\x20univer-min-h-0\x20univer-w-full\x20univer-flex-col\x20univer-gap-4','subUnitId','round','univer-flex\x20univer-flex-col\x20univer-gap-3\x20univer-px-4\x20univer-pb-5','customBlocks','unsubscribe','chartType$','_renderService','_activeDomReadyDrawingKeys','endIndex','univer-h-12\x20univer-w-full','10qVHyZF','aTop','waterfallStyle','transformerConfig','scaleY','_resolveInsertPosition','getCurrentRenderModel','executeCommand','src','univer-flex\x20univer-min-w-0\x20univer-flex-col\x20univer-gap-4','getDrawingId','prepare','_requestSnapshot','decorate','_retryActivateFocusedChart','position$','style$','call','univer-flex\x20univer-h-full\x20univer-min-h-0\x20univer-w-full\x20univer-flex-col\x20univer-gap-4','get','_registerEditors','openInsertDialog','string','relation','_subscribeRender','catch','dataSources','getDataSet','aLeft','interceptor','px\x20solid\x20','delete','Axes','getObjectIncludeInGroup','openEditorDialog','model','chartInvalidated$','children','docs-chart-ui.common.rightVerticalAxis','index','indicatorLine','radar','EmptyData','_getRenderRect','_frameNode','_dialogService','_deactivate','createChartInstance','_getDependencies','docs-chart-ui.common.verticalAxis','6904QlhmzZ','getCurrentTypeOfUnit$','mergeMenu','initialRoute','getHostStyle','Data','_getPasteMutationInfos','params','LineAndArea','applyHostStyle','labelId','updateData','stylizeSpec','onload','_updatePosition','getDrawingEditable','segmented','21684TVAlhR','_prepareStandaloneInsertLine','Style','push','setActiveChartRuntime','getChart','top\x20left','doc-chart.editor-dialog','syncLayout','_visualLayoutChanged$','mode','context','relative','_snapshotService','getInterceptPoints','docs-chart-ui.section.candlestick','ChartAndAxisTitles','pageMarginTop','current','setClipBounds','hidden','univer-w-full\x20univer-justify-start','docs-chart-ui.chartTypes.','length','docs-chart-ui.section.paretoLine','_renderModelManager','Funnel','setStyle','280GYIMSa','_releaseRuntimeState','data','disconnect','_floatingToolbarAdapterService','max','consumeInsertRange','pageHeight','open','_getOrCreatePastedDataSourceId','contains','getRuntimeContext','type','symbol','has','register','_isActiveLayer','lastIndexOf','width','select','docs-chart-ui.common.cancel','__docsChartResource','SECTION_BREAK','sharingCount','dataAggregation$','_modelService','_removeRenderedCharts','radius','status','100446arHMuf','isFinite','_preparedCharts','getTextRanges','plan','config','_bindActiveLayerObservers','_refreshActiveLayout','textSelection$','_canvasFloatDomService','waterfall','_docPrintInterceptorService','min(1200px,\x20calc(100vw\x20-\x2032px))','Treemap','_requestSnapshotsForUnit','addClipboardHook','bottom','drawingType','defaultTableText','_syncRenderedChartVisibility','seriesId','render','univer-w-full\x20!univer-min-w-0','createElement','tabpanel','univer-flex\x20univer-flex-col\x20univer-gap-2','addObject','transparent','registerPrintPreparation','_registerDialogOperations','setConfig','docs-chart-ui.chord.source','DRAWING_CHART','docs-chart-ui.common.chartStyle','insertRange','snapshotUpdated$','Series','docs-chart-ui.updateChartFailed','docs-chart-ui.chord.target','baseOn','invalidateChart','_localeService','docs-chart-ui.section.treemap','getId','ParetoBarSeries','788128gBmjxZ','UniverDocsChartUIPlugin','docs-chart-ui.common.horizontalAxis','docs-chart-ui.candlestick.close','docs-chart-ui.sunburst.hierarchy','1251raijCG','univer-flex\x20univer-w-full\x20univer-min-w-0\x20univer-flex-col','getEditorState','_renderManagerService','getViewport','object','_applyHostStyle','docs-chart-ui.common.chartType','root','heatmap','insertChartFromText','referenced','packageName','duplicate','composite','subscribeEvent','source','transformByState','wordCloud','_resourceService','removeObject','docs-chart-ui.common.insertChartFailed','mobile','default','GridlinesAndTicks','_chartThemeService','flipY','28JBzSkS','docs-chart-ui.common.editChart','doc-chart.ui.service','split','_drawingManagerService','InvalidCandlestickData','appendChild','_getActiveRenderScale','section','refreshTransform$','pluginName'];_0x35fc=function(){return _0x11e7e1;};return _0x35fc();}Tr=L([I(0x0,_0x49aabf(_0x4aeeb5)),I(0x1,_0x3abed6),I(0x2,_0x49aabf(_0x55287d))],Tr);const z={'axis':{..._0x473817,'primaryGridLineVisible':!0x0,'secondaryGridLineVisible':!0x0},'legend':_0x4b5249,'lineAndArea':_0x5dfcde,'pareto':_0x1b9f44,'funnel':_0x5aaa05,'heatmap':_0x1d12d2,'indicatorLine':_0xd2db20,'pie':{..._0x562190,'doughnutHole':0x0,'pieHole':0x0},'relation':{..._0xac4782,'useValueAsSymbolSize':!0x1},'radar':_0x1e77e2,'series':{..._0x520aad,'radarFillOpacity':0x1,'rightAxis':{'ltr':!0x1,'rtl':!0x1}},'style':_0x396bcc,'titles':_0x2ef0c5,'waterfall':{..._0x2fa722,'useSubtotal':!0x0},'waterfallStyle':_0x2024ae,'wordCloud':_0x587c59},Er=[_0x1b4be6['Candlestick'],_0x1b4be6[_0x417a4a(0x1c5)],_0x1b4be6[_0x417a4a(0x304)],_0x1b4be6[_0x417a4a(0x21d)],_0x1b4be6[_0x417a4a(0x1d9)],_0x1b4be6[_0x417a4a(0x222)]];function Dr(){const _0x141d09=_0x417a4a;let _0xce7dd=_0x204e02(),_0x444fc6=Er[_0x141d09(0x36c)](_0x2737f1=>!_0x198e57[_0x141d09(0x31e)](_0xce7dd,_0x2737f1));return _0xe0cb81(_0x56747f,{'visible':_0x444fc6});}function Or(_0x2200bd){const _0x517191=_0x417a4a;return _0x237236(_0x5ccfef,{'id':_0x2200bd['id'],'children':[_0xe0cb81(_0x20b29f,{'children':_0x2200bd[_0x517191(0x1ef)]}),_0xe0cb81(_0x16f19e,{'children':_0x2200bd[_0x517191(0x2a0)]})]});}function kr(_0x1ea22a,_0x3f2c34=!0x1){const _0x195037=_0x417a4a;let _0x12fb00=_0x1ea22a===_0x1b4be6[_0x195037(0x3c4)],_0x533bec=_0x198e57['baseOn'](_0x1ea22a,_0x1b4be6['Pie']),_0xcdc481=_0x1ea22a===_0x1b4be6['Radar'],_0x399080=_0x1ea22a===_0x1b4be6[_0x195037(0x2d8)],_0x488331=_0x1ea22a===_0x1b4be6[_0x195037(0x23f)],_0x4ae823=_0x1ea22a===_0x1b4be6[_0x195037(0x253)],_0x45a467=_0x1ea22a===_0x1b4be6[_0x195037(0x26f)],_0x168300=_0x1ea22a===_0x1b4be6[_0x195037(0x1c5)],_0x406e2a=_0x1ea22a===_0x1b4be6[_0x195037(0x304)],_0x165862=_0x1ea22a===_0x1b4be6[_0x195037(0x21d)],_0x54a6be=_0x1ea22a===_0x1b4be6[_0x195037(0x1d9)],_0x524621=_0x1ea22a===_0x1b4be6[_0x195037(0x222)],_0x14c533=_0x1ea22a===_0x1b4be6[_0x195037(0x21a)],_0xe3830e=_0x1ea22a===_0x1b4be6[_0x195037(0x35e)],_0x53a138=[_0x2702ca['ChartStyle'],_0x2702ca[_0x195037(0x2ce)]];return _0x12fb00&&_0x53a138[_0x195037(0x2c1)](_0x2702ca[_0x195037(0x3c4)]),_0x4b05fe(_0x1ea22a,_0x233048[_0x195037(0x1e8)])&&!_0x4ae823&&_0x53a138[_0x195037(0x2c1)](_0x2702ca[_0x195037(0x31b)]),_0x3469c6(_0x1ea22a)&&_0x53a138[_0x195037(0x2c1)](_0x2702ca[_0x195037(0x2b5)]),_0xcdc481&&_0x53a138['push'](_0x2702ca[_0x195037(0x238)]),_0x488331&&_0x53a138[_0x195037(0x2c1)](_0x2702ca['WaterfallSeries']),_0x4ae823&&_0x53a138[_0x195037(0x2c1)](_0x2702ca[_0x195037(0x323)],_0x2702ca[_0x195037(0x1c3)]),_0x533bec&&_0x53a138[_0x195037(0x2c1)](_0x2702ca['PieStyle']),_0x399080&&_0x53a138['push'](_0x2702ca['Funnel']),_0xe3830e&&_0x53a138[_0x195037(0x2c1)](_0x2702ca[_0x195037(0x35e)]),_0x14c533&&_0x53a138[_0x195037(0x2c1)](_0x2702ca[_0x195037(0x21a)]),_0x45a467&&_0x53a138[_0x195037(0x2c1)](_0x2702ca['Candlestick']),_0x168300&&_0x53a138[_0x195037(0x2c1)](_0x2702ca[_0x195037(0x1c5)]),_0x406e2a&&_0x53a138[_0x195037(0x2c1)](_0x2702ca[_0x195037(0x304)]),_0x165862&&_0x53a138[_0x195037(0x2c1)](_0x2702ca['Sunburst']),_0x54a6be&&_0x53a138['push'](_0x2702ca[_0x195037(0x1d9)]),_0x524621&&_0x53a138[_0x195037(0x2c1)](_0x2702ca[_0x195037(0x222)]),_0x4b05fe(_0x1ea22a,_0x233048[_0x195037(0x3d5)])&&_0x53a138[_0x195037(0x2c1)](_0x2702ca[_0x195037(0x3d5)]),_0x4b05fe(_0x1ea22a,_0x233048[_0x195037(0x29b)])&&(_0x53a138[_0x195037(0x2c1)](_0x2702ca['HorizontalAxis'],_0x2702ca[_0x195037(0x387)]),_0x3f2c34&&_0x53a138[_0x195037(0x2c1)](_0x2702ca[_0x195037(0x1c8)]),_0x53a138[_0x195037(0x2c1)](_0x2702ca[_0x195037(0x341)])),_0x4b05fe(_0x1ea22a,_0x233048['IndicatorLine'])&&_0x53a138[_0x195037(0x2c1)](_0x2702ca['IndicatorLine']),_0x53a138;}function Ar(_0x4e170e){const _0x10251a=_0x417a4a;return _0x237236(_0x10251a(0x39b),{'className':_0x10251a(0x1ce),'children':[_0xe0cb81(_0x63a5f5,{'axis':_0x4e170e[_0x10251a(0x360)],'defaultValues':z[_0x10251a(0x360)]}),_0xe0cb81(_0x4f18ff,{'axis':_0x4e170e[_0x10251a(0x360)],'defaultValues':z[_0x10251a(0x360)]}),_0xe0cb81(_0x5761c6,{'axis':_0x4e170e['axis'],'defaultValues':z[_0x10251a(0x360)]}),_0xe0cb81(_0x3d2c3a,{'axis':_0x4e170e[_0x10251a(0x360)]}),_0xe0cb81(_0x518bdf,{'axis':_0x4e170e[_0x10251a(0x360)]}),_0xe0cb81(_0x34d52,{'axis':_0x4e170e['axis'],'defaultValues':z[_0x10251a(0x360)]}),_0xe0cb81(_0x5784ec,{'axis':_0x4e170e['axis'],'defaultValues':z[_0x10251a(0x360)]})]});}function jr(_0x1ee97a){const _0x1fb0ee=_0x417a4a;var _0x596fd5,_0x19ca82;let _0x45b359=_0x473746(_0x2052de),_0xe2293c=_0x204e02(),_0x52a438=_0x474f65(),[_0x2b36cd,_0x397fa6]=_0x4742c1(null),_0x352393=_0xe0cb81(_0x2fbf43,{}),_0x8f9a1c={[_0x2702ca['Candlestick']]:_0x45b359['t'](_0x1fb0ee(0x2cd)),[_0x2702ca[_0x1fb0ee(0x2ce)]]:_0x45b359['t'](_0x1fb0ee(0x38e)),[_0x2702ca['ChartStyle']]:_0x45b359['t'](_0x1fb0ee(0x318)),[_0x2702ca[_0x1fb0ee(0x222)]]:_0x45b359['t'](_0x1fb0ee(0x35f)),[_0x2702ca[_0x1fb0ee(0x2d8)]]:_0x45b359['t']('docs-chart-ui.section.funnel'),[_0x2702ca[_0x1fb0ee(0x1d9)]]:_0x45b359['t'](_0x1fb0ee(0x373)),[_0x2702ca[_0x1fb0ee(0x341)]]:_0x45b359['t'](_0x1fb0ee(0x3c7)),[_0x2702ca[_0x1fb0ee(0x35e)]]:_0x45b359['t'](_0x1fb0ee(0x1dd)),[_0x2702ca[_0x1fb0ee(0x1c5)]]:_0x45b359['t'](_0x1fb0ee(0x1cd)),[_0x2702ca[_0x1fb0ee(0x37f)]]:_0x45b359['t'](_0x1fb0ee(0x326)),[_0x2702ca['IndicatorLine']]:_0x45b359['t'](_0x1fb0ee(0x38d)),[_0x2702ca[_0x1fb0ee(0x3d5)]]:_0x45b359['t'](_0x1fb0ee(0x20c)),[_0x2702ca[_0x1fb0ee(0x2b5)]]:_0x45b359['t']('docs-chart-ui.section.lineAndArea'),[_0x2702ca[_0x1fb0ee(0x323)]]:_0x45b359['t']('docs-chart-ui.section.paretoBar'),[_0x2702ca[_0x1fb0ee(0x1c3)]]:_0x45b359['t'](_0x1fb0ee(0x2d6)),[_0x2702ca[_0x1fb0ee(0x1cc)]]:_0x45b359['t'](_0x1fb0ee(0x25b)),[_0x2702ca[_0x1fb0ee(0x238)]]:_0x45b359['t'](_0x1fb0ee(0x1d5)),[_0x2702ca[_0x1fb0ee(0x21a)]]:_0x45b359['t']('docs-chart-ui.section.relation'),[_0x2702ca[_0x1fb0ee(0x1c8)]]:_0x45b359['t'](_0x1fb0ee(0x2a1)),[_0x2702ca[_0x1fb0ee(0x31b)]]:_0x45b359['t'](_0x1fb0ee(0x363)),[_0x2702ca[_0x1fb0ee(0x21d)]]:_0x45b359['t'](_0x1fb0ee(0x218)),[_0x2702ca[_0x1fb0ee(0x304)]]:_0x45b359['t'](_0x1fb0ee(0x321)),[_0x2702ca[_0x1fb0ee(0x391)]]:_0x45b359['t'](_0x1fb0ee(0x1ea)),[_0x2702ca[_0x1fb0ee(0x387)]]:_0x45b359['t'](_0x1fb0ee(0x2ac)),[_0x2702ca[_0x1fb0ee(0x1a0)]]:_0x45b359['t']('docs-chart-ui.section.waterfall'),[_0x2702ca[_0x1fb0ee(0x3c4)]]:_0x45b359['t']('docs-chart-ui.section.wordCloud')};_0x518828(()=>{const _0x42f648=_0x1fb0ee;var _0x46fa4b;(_0x46fa4b=_0x1ee97a[_0x42f648(0x21e)])!=null&&_0x46fa4b[_0x42f648(0x34c)]&&_0x397fa6(_0x1ee97a[_0x42f648(0x21e)]['section']);},[_0x1ee97a[_0x1fb0ee(0x21e)]]);let _0x40d06c={[_0x2702ca[_0x1fb0ee(0x1fa)]]:_0xe0cb81(_0x2bb7a2,{'defaultValues':z[_0x1fb0ee(0x364)]}),[_0x2702ca[_0x1fb0ee(0x2ce)]]:_0x237236(_0x1fb0ee(0x39b),{'className':'univer-flex\x20univer-flex-col\x20univer-gap-3','children':[_0xe0cb81(_0xcc83bb,{'commitMode':_0x1fb0ee(0x389),'defaultValues':z['titles'],'showFont':!0x1}),_0xe0cb81(_0x2ab44a,{'commitMode':_0x1fb0ee(0x389),'defaultValues':z['titles'],'showFont':!0x1}),_0xe0cb81(_0x204bc1,{'axis':'x','commitMode':_0x1fb0ee(0x389),'defaultValues':z['titles'],'showAlignment':!0x1,'showFont':!0x1}),_0xe0cb81(_0x204bc1,{'axis':'y','commitMode':_0x1fb0ee(0x389),'defaultValues':z['titles'],'showAlignment':!0x1,'showFont':!0x1}),_0xe0cb81(_0x204bc1,{'axis':_0x1fb0ee(0x395),'commitMode':_0x1fb0ee(0x389),'defaultValues':z[_0x1fb0ee(0x230)],'showAlignment':!0x1,'showFont':!0x1}),_0xe0cb81(_0xbed62d,{'defaultValues':z['titles']})]}),[_0x2702ca[_0x1fb0ee(0x31b)]]:_0x237236(_0x4c93ce,{'defaultValues':z[_0x1fb0ee(0x239)],'NumberFormatField':_0x445fcc,'selectedSeriesId':(_0x596fd5=_0x1ee97a['route'])==null?void 0x0:_0x596fd5[_0x1fb0ee(0x30b)],'children':[_0xe0cb81(_0x42376f,{}),_0xe0cb81(_0x1d81a5,{'showColor':!0x1,'showOpacity':!0x1}),_0xe0cb81(_0x3b6386,{'showColor':!0x1}),_0xe0cb81(_0x399fe6,{}),_0xe0cb81(_0x10cb05,{}),_0xe0cb81(_0x44b1bc,{})]}),[_0x2702ca['LineAndArea']]:_0xe0cb81(_0xde83e,{'defaultValues':z['lineAndArea'],'lineStyleControl':_0x1fb0ee(0x2ed)}),[_0x2702ca[_0x1fb0ee(0x3c4)]]:_0x237236(_0x2f76af,{'children':[_0xe0cb81(_0x3f43f5,{'defaultValues':z[_0x1fb0ee(0x33b)]}),_0xe0cb81(_0x335577,{'defaultValues':z['wordCloud']})]}),[_0x2702ca['Radar']]:_0xe0cb81(_0x2de92,{'defaultValues':z[_0x1fb0ee(0x2a4)]}),[_0x2702ca[_0x1fb0ee(0x1a0)]]:_0xe0cb81(_0x2b9b1d,{'defaultValues':z[_0x1fb0ee(0x27d)],'NumberFormatField':_0x445fcc,'selectedSeriesId':(_0x19ca82=_0x1ee97a[_0x1fb0ee(0x21e)])==null?void 0x0:_0x19ca82[_0x1fb0ee(0x30b)]}),[_0x2702ca[_0x1fb0ee(0x323)]]:_0xe0cb81(_0x3a864b,{'defaultValues':z['pareto'],'NumberFormatField':_0x445fcc,'showDataPointEditor':!0x0,'target':_0x1fb0ee(0x3c6)}),[_0x2702ca[_0x1fb0ee(0x1c3)]]:_0xe0cb81(_0x3a864b,{'defaultValues':z[_0x1fb0ee(0x228)],'NumberFormatField':_0x445fcc,'showDataPointEditor':!0x0,'target':_0x1fb0ee(0x356)}),[_0x2702ca[_0x1fb0ee(0x1cc)]]:_0xe0cb81(_0x5cca9e,{'defaultValues':z[_0x1fb0ee(0x1a7)],'NumberFormatField':_0x445fcc}),[_0x2702ca[_0x1fb0ee(0x2d8)]]:_0xe0cb81(_0x423320,{'defaultValues':z[_0x1fb0ee(0x385)],'gapControl':_0x1fb0ee(0x36d)}),[_0x2702ca['Heatmap']]:_0xe0cb81(_0x588d3d,{'defaultValues':z[_0x1fb0ee(0x332)]}),[_0x2702ca['Relation']]:_0xe0cb81(_0x2c9f1f,{'defaultValues':z[_0x1fb0ee(0x292)]}),[_0x2702ca[_0x1fb0ee(0x3d5)]]:_0xe0cb81(_0x5ddee3,{'defaultValues':z[_0x1fb0ee(0x242)],'children':_0x237236('div',{'className':_0x1fb0ee(0x1ce),'children':[_0xe0cb81(_0x1a5475,{}),_0xe0cb81(_0xfa07f6,{}),_0xe0cb81(_0x4a3939,{}),_0xe0cb81(_0xd7a59e,{})]})}),[_0x2702ca[_0x1fb0ee(0x37f)]]:_0xe0cb81(Ar,{'axis':'x'}),[_0x2702ca[_0x1fb0ee(0x387)]]:_0xe0cb81(Ar,{'axis':'y'}),[_0x2702ca['RightVerticalAxis']]:_0xe0cb81(Ar,{'axis':'rightY'}),[_0x2702ca[_0x1fb0ee(0x341)]]:_0x237236(_0x1fb0ee(0x39b),{'className':'univer-flex\x20univer-flex-col\x20univer-gap-2','children':[_0xe0cb81(_0x31c28f,{'axis':'x','defaultValues':z[_0x1fb0ee(0x360)],'label':_0x45b359['t'](_0x1fb0ee(0x326))}),_0xe0cb81(_0x31c28f,{'axis':'y','defaultValues':z[_0x1fb0ee(0x360)],'label':_0x45b359['t'](_0x1fb0ee(0x2ac))}),_0x237236(_0x1fb0ee(0x39b),{'className':'univer-grid\x20univer-grid-cols-2\x20univer-gap-2','children':[_0xe0cb81(_0x46a212,{'axis':'x','defaultValues':z[_0x1fb0ee(0x360)]}),_0xe0cb81(_0x46a212,{'axis':'y','defaultValues':z['axis']})]})]}),[_0x2702ca['IndicatorLine']]:_0x237236(_0x1fb0ee(0x39b),{'className':_0x1fb0ee(0x310),'children':[_0xe0cb81(_0x49330f,{'defaultValues':z['indicatorLine']}),_0xe0cb81(_0x336f7a,{'defaultValues':z[_0x1fb0ee(0x2a3)]})]}),[_0x2702ca['Candlestick']]:_0x352393,[_0x2702ca[_0x1fb0ee(0x1c5)]]:_0x352393,[_0x2702ca['Treemap']]:_0x352393,[_0x2702ca['Sunburst']]:_0x352393,[_0x2702ca[_0x1fb0ee(0x1d9)]]:_0x352393,[_0x2702ca[_0x1fb0ee(0x222)]]:_0x352393};return _0xe0cb81(_0x28a775,{'value':_0x2b36cd,'onChange':_0x397fa6,'children':kr(_0xe2293c,_0x52a438)[_0x1fb0ee(0x399)](_0x5e9753=>_0xe0cb81(Or,{'id':_0x5e9753,'label':_0x8f9a1c[_0x5e9753],'children':_0x40d06c[_0x5e9753]},_0x5e9753))});}function Mr(_0x691bf4){const _0x1abcdb=_0x417a4a;var _0x565670;let {ButtonComponent:_0x5b3d55}=_0x12e8cc(),_0x4f63b2=_0x473746(_0x2052de),[_0x2297f1,_0x55c79b]=_0x4742c1(((_0x565670=_0x691bf4[_0x1abcdb(0x2b0)])==null?void 0x0:_0x565670['tab'])??_0x41429f[_0x1abcdb(0x2b2)]),_0x3be217=_0x4c5d9b(()=>_0x2015a2(_0x3cdc1a['map'](_0x325a47=>({..._0x325a47,'label':_0x4f63b2['t'](_0x1abcdb(0x2d4)+_0x325a47[_0x1abcdb(0x2b7)])}))),[_0x4f63b2]);return _0x518828(()=>{const _0x2c1c55=_0x1abcdb;var _0x1837c3;(_0x1837c3=_0x691bf4[_0x2c1c55(0x2b0)])!=null&&_0x1837c3['tab']&&_0x55c79b(_0x691bf4[_0x2c1c55(0x2b0)][_0x2c1c55(0x3dd)]);},[_0x691bf4[_0x1abcdb(0x2b0)]]),_0x237236(_0x1abcdb(0x39b),{'className':_0x691bf4[_0x1abcdb(0x33f)]?'\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':_0x1abcdb(0x225),'children':[_0xe0cb81(_0x326243,{'ariaLabel':_0x4f63b2['t'](_0x1abcdb(0x345)),'className':_0x1abcdb(0x1fc),'items':[{'label':_0x4f63b2['t']('docs-chart-ui.common.setup'),'panelId':Nr,'value':_0x41429f[_0x1abcdb(0x2b2)]},{'label':_0x4f63b2['t'](_0x1abcdb(0x229)),'panelId':Pr,'value':_0x41429f[_0x1abcdb(0x2c0)]}],'value':_0x2297f1,'onChange':_0x55c79b}),_0x2297f1===_0x41429f['Data']?_0xe0cb81(_0x28d4f3,{'id':Nr,'label':_0x4f63b2['t'](_0x1abcdb(0x25c)),'className':_0x691bf4[_0x1abcdb(0x33f)]?'univer-flex-none\x20univer-overflow-visible':void 0x0,'children':_0x237236(_0x1abcdb(0x39b),{'className':_0x1abcdb(0x273),'children':[_0xe0cb81(_0x48487f,{'options':_0x3be217,'onChange':_0x691bf4['onPreviewChartTypeChange']}),_0xe0cb81(_0x5afe20,{}),_0xe0cb81(_0x44ac66,{}),_0xe0cb81(Dr,{}),_0xe0cb81(_0x1eea6d,{}),_0x237236(_0x1abcdb(0x39b),{'children':[_0xe0cb81(_0x4662f3,{'title':_0x4f63b2['t']('docs-chart-ui.common.data')}),_0xe0cb81(_0x5b3d55,{'className':_0x1abcdb(0x2d3),'onClick':_0x691bf4[_0x1abcdb(0x37d)],'children':_0x4f63b2['t'](_0x1abcdb(0x3cd))})]}),_0xe0cb81(_0xb88ef6,{}),_0xe0cb81(_0x184198,{}),_0xe0cb81(_0x1a925b,{'defaultValues':z[_0x1abcdb(0x301)]})]})}):_0xe0cb81(_0x28d4f3,{'id':Pr,'label':_0x4f63b2['t'](_0x1abcdb(0x229)),'className':_0x691bf4[_0x1abcdb(0x33f)]?_0x1abcdb(0x263):void 0x0,'children':_0xe0cb81(jr,{'route':_0x691bf4['initialRoute']})}),_0x691bf4[_0x1abcdb(0x374)]&&_0xe0cb81(_0x1abcdb(0x39b),{'className':_0x691bf4[_0x1abcdb(0x33f)]?_0x1abcdb(0x370):'univer-flex\x20univer-shrink-0\x20univer-justify-end\x20univer-px-1\x20univer-pb-4\x20univer-pt-4','children':_0xe0cb81(_0x5b3d55,{'type':_0x1abcdb(0x1cb),'variant':_0x1abcdb(0x340),'className':_0x691bf4[_0x1abcdb(0x33f)]?_0x1abcdb(0x27a):void 0x0,'onClick':_0x691bf4[_0x1abcdb(0x374)],'children':_0x4f63b2['t'](_0x1abcdb(0x235))})})]});}const Nr=_0x417a4a(0x3ca),Pr='doc-chart-style-panel';function Fr(_0x440c24){'@babel/helpers - typeof';const _0x1af0ed=_0x417a4a;return Fr=typeof Symbol=='function'&&typeof Symbol[_0x1af0ed(0x3ad)]=='symbol'?function(_0x3d61e5){return typeof _0x3d61e5;}:function(_0x212964){const _0x151538=_0x1af0ed;return _0x212964&&typeof Symbol==_0x151538(0x393)&&_0x212964[_0x151538(0x3da)]===Symbol&&_0x212964!==Symbol[_0x151538(0x35b)]?_0x151538(0x2e7):typeof _0x212964;},Fr(_0x440c24);}function Ir(_0x4e0dd0,_0x3710fa){const _0x5b6276=_0x417a4a;if(Fr(_0x4e0dd0)!='object'||!_0x4e0dd0)return _0x4e0dd0;var _0x16c7f1=_0x4e0dd0[Symbol[_0x5b6276(0x3e5)]];if(_0x16c7f1!==void 0x0){var _0x183cd3=_0x16c7f1[_0x5b6276(0x28c)](_0x4e0dd0,_0x3710fa||'default');if(Fr(_0x183cd3)!='object')return _0x183cd3;throw TypeError(_0x5b6276(0x3e6));}return(_0x3710fa==='string'?String:Number)(_0x4e0dd0);}function Lr(_0x20084c){const _0x23334d=_0x417a4a;var _0x23bc8f=Ir(_0x20084c,_0x23334d(0x291));return Fr(_0x23bc8f)==_0x23334d(0x2e7)?_0x23bc8f:_0x23bc8f+'';}function B(_0xaa25ff,_0x1f9ee4,_0x8174eb){const _0x24c46b=_0x417a4a;return(_0x1f9ee4=Lr(_0x1f9ee4))in _0xaa25ff?Object[_0x24c46b(0x1d6)](_0xaa25ff,_0x1f9ee4,{'value':_0x8174eb,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0xaa25ff[_0x1f9ee4]=_0x8174eb,_0xaa25ff;}var Rr=class extends _0x45d2af{constructor(_0xd451fd,_0x3b2ab2,_0x528d42,_0x200a17,_0x5a29d7=!0x0,_0x46bed5){const _0x417a81=_0x417a4a;super(),this[_0x417a81(0x1b3)]=_0xd451fd,this[_0x417a81(0x206)]=_0x3b2ab2,this[_0x417a81(0x32f)]=_0x528d42,this[_0x417a81(0x2a6)]=_0x200a17,this[_0x417a81(0x26e)]=_0x5a29d7,this[_0x417a81(0x1e3)]=_0x46bed5,B(this,_0x417a81(0x2c8),_0x5435df[_0x417a81(0x217)]),B(this,_0x417a81(0x2a7),null),B(this,'_mountNode',null),B(this,'_hostStyle',{});}[_0x417a4a(0x22a)](){const _0x5e5935=_0x417a4a;var _0x515fc9;let _0x187a32=(_0x515fc9=this[_0x5e5935(0x2a6)])==null?void 0x0:_0x515fc9[_0x5e5935(0x28c)](this);if(_0x187a32)return{'width':Math[_0x5e5935(0x2df)](0x1,_0x187a32['width']),'height':Math[_0x5e5935(0x2df)](0x1,_0x187a32['height'])};let _0x6d5e1a=this[_0x5e5935(0x206)][_0x5e5935(0x1a3)]();return{'width':Math[_0x5e5935(0x2df)](0x1,_0x6d5e1a[_0x5e5935(0x2ec)]),'height':Math[_0x5e5935(0x2df)](0x1,_0x6d5e1a[_0x5e5935(0x232)])};}[_0x417a4a(0x2d9)](_0x6fc484){const _0x12bef7=_0x417a4a;this[_0x12bef7(0x3ab)]=_0x6fc484,this[_0x12bef7(0x2a7)]&&this[_0x12bef7(0x32f)](this['_frameNode'],_0x6fc484);}async[_0x417a4a(0x1a9)](){const _0x48154c=_0x417a4a;if(!this[_0x48154c(0x226)]){let _0x5280cb=document[_0x48154c(0x30e)](_0x48154c(0x39b));_0x5280cb['style']['position']='absolute',_0x5280cb[_0x48154c(0x364)][_0x48154c(0x231)]='0',_0x5280cb[_0x48154c(0x364)][_0x48154c(0x386)]='0';let _0x1b320a=document[_0x48154c(0x30e)](_0x48154c(0x39b));_0x1b320a[_0x48154c(0x364)][_0x48154c(0x1bc)]=_0x48154c(0x2ca),_0x1b320a[_0x48154c(0x364)][_0x48154c(0x3a6)]='0',_0x1b320a[_0x48154c(0x364)][_0x48154c(0x3bf)]='content-box',_0x1b320a[_0x48154c(0x364)]['overflow']='hidden',_0x1b320a[_0x48154c(0x397)]='doc-chart-host',_0x5280cb['appendChild'](_0x1b320a),this['_host'][_0x48154c(0x34a)](_0x5280cb),this[_0x48154c(0x2a7)]=_0x5280cb,this['_mountNode']=_0x1b320a,this[_0x48154c(0x32f)](_0x5280cb,this['_hostStyle']);}return this[_0x48154c(0x2c6)](),this[_0x48154c(0x226)];}[_0x417a4a(0x23e)](){const _0x3d28bd=_0x417a4a;return!!(this[_0x3d28bd(0x226)]&&this[_0x3d28bd(0x206)][_0x3d28bd(0x2e4)](this[_0x3d28bd(0x226)]));}[_0x417a4a(0x2c6)](){const _0x4401f8=_0x417a4a;var _0x375341;let _0x3ba041=this[_0x4401f8(0x22a)](),_0x3d5830=(_0x375341=this[_0x4401f8(0x1e3)])==null?void 0x0:_0x375341[_0x4401f8(0x28c)](this),_0x254bfc=(_0x3d5830==null?void 0x0:_0x3d5830['scaleX'])??0x1,_0x3978e0=(_0x3d5830==null?void 0x0:_0x3d5830[_0x4401f8(0x27f)])??0x1;this[_0x4401f8(0x26e)]&&this['_setElementSize'](this['_host'],{'width':_0x3ba041[_0x4401f8(0x2ec)]*_0x254bfc,'height':_0x3ba041['height']*_0x3978e0}),this['_frameNode']&&(this[_0x4401f8(0x1b6)](this['_frameNode'],_0x3ba041),this['_getRenderScale']&&(this[_0x4401f8(0x2a7)]['style'][_0x4401f8(0x1c1)]=_0x4401f8(0x353)+_0x254bfc+',\x20'+_0x3978e0+')',this[_0x4401f8(0x2a7)][_0x4401f8(0x364)]['transformOrigin']=_0x4401f8(0x2c4))),this[_0x4401f8(0x226)]&&this[_0x4401f8(0x1b6)](this[_0x4401f8(0x226)],this[_0x4401f8(0x3c3)](_0x3ba041));}[_0x417a4a(0x1ac)](){}[_0x417a4a(0x398)](){}[_0x417a4a(0x384)](){const _0x463b57=_0x417a4a;var _0x2f6f9a;(_0x2f6f9a=this[_0x463b57(0x2a7)])==null||_0x2f6f9a['remove'](),this[_0x463b57(0x2a7)]=null,this[_0x463b57(0x226)]=null,super[_0x463b57(0x384)]();}['_setElementSize'](_0x522fdb,_0x275084){const _0xed65b9=_0x417a4a;_0x522fdb[_0xed65b9(0x364)][_0xed65b9(0x2ec)]=_0x275084[_0xed65b9(0x2ec)]+'px',_0x522fdb[_0xed65b9(0x364)]['height']=_0x275084[_0xed65b9(0x232)]+'px';}[_0x417a4a(0x3c3)](_0x1ba533){const _0x4aac77=_0x417a4a;if(!_0x45ff87(this[_0x4aac77(0x3ab)]))return _0x1ba533;let _0x1f5c57=_0x2e4f15(_0x1ba533,this[_0x4aac77(0x3ab)]);return{'width':_0x1f5c57['width'],'height':_0x1f5c57[_0x4aac77(0x232)]};}};function zr(_0x13bc27){const _0x5a324a=_0x417a4a;var _0x250b45;let _0x5baac4=(_0x250b45=_0x13bc27['match'](/^#([\da-f]{3}|[\da-f]{6})$/i))==null?void 0x0:_0x250b45[0x1];if(_0x5baac4){let _0x113de7=_0x5baac4[_0x5a324a(0x2d5)]===0x3?_0x5baac4[_0x5a324a(0x347)]('')[_0x5a324a(0x399)](_0x275d99=>''+_0x275d99+_0x275d99)['join'](''):_0x5baac4;return _0x5a324a(0x221)+Number[_0x5a324a(0x3e7)](_0x113de7[_0x5a324a(0x219)](0x0,0x2),0x10)+',\x20'+Number[_0x5a324a(0x3e7)](_0x113de7[_0x5a324a(0x219)](0x2,0x4),0x10)+',\x20'+Number[_0x5a324a(0x3e7)](_0x113de7[_0x5a324a(0x219)](0x4,0x6),0x10)+')';}let _0x38a2de=document[_0x5a324a(0x30e)](_0x5a324a(0x236));return _0x38a2de[_0x5a324a(0x364)][_0x5a324a(0x23b)]=_0x13bc27,_0x38a2de[_0x5a324a(0x364)][_0x5a324a(0x23b)]||_0x13bc27;}let V=class extends _0x45d2af{constructor(_0x5efed7,_0x4f62ab,_0x4adeaa){const _0x376e5f=_0x417a4a;super(),this['_localeService']=_0x5efed7,this[_0x376e5f(0x342)]=_0x4f62ab,this[_0x376e5f(0x2d7)]=_0x4adeaa;}['createChartInstance'](_0x18d269){const _0x37eb9b=_0x417a4a;return _0x18d269?this[_0x37eb9b(0x2d7)]['createChartInstance'](_0x18d269,this[_0x37eb9b(0x3a5)]()):this[_0x37eb9b(0x2d7)]['createChartInstance']();}[_0x417a4a(0x1e5)](_0x4be29a){const _0x4d271f=_0x417a4a;let _0x23eab8=_0x4be29a[_0x4d271f(0x29e)]['config'];if(!_0x23eab8)throw Error('Document\x20chart\x20'+_0x4be29a[_0x4d271f(0x1b3)]+_0x4d271f(0x372));let _0x5904ad=this['_localeService'][_0x4d271f(0x19f)](),_0x3b22de={..._0x4be29a[_0x4d271f(0x29e)][_0x4d271f(0x364)],'runtime':_0x4be29a[_0x4d271f(0x29e)][_0x4d271f(0x2e5)](_0x5904ad),'direction':_0x5904ad};return{'chartConfig':_0x23eab8,'chartStyle':_0x2578cb(_0x3b22de,_0x23eab8[_0x4d271f(0x2e6)])};}[_0x417a4a(0x357)](_0x9c7d40,_0x70a62f,_0x5ec012){const _0xce232c=_0x417a4a;let {chartConfig:_0xdd0da9,chartStyle:_0x2ba33e}=this[_0xce232c(0x1e5)](_0x9c7d40),_0x41ca20=this['_renderModelManager'][_0xce232c(0x281)]();return{'spec':_0x41ca20[_0xce232c(0x2b9)](_0x41ca20[_0xce232c(0x265)](_0xdd0da9,_0x2ba33e),{'chartConfig':_0xdd0da9,'chartStyle':_0x2ba33e,'chartInstance':_0x5ec012},_0x70a62f),'chartConfig':_0xdd0da9,'chartStyle':_0x2ba33e,'hostStyle':this['getHostStyle'](_0x2ba33e)};}[_0x417a4a(0x2b1)](_0x936728){const _0x21a66e=_0x417a4a;return _0x437b8f({'style':_0x936728,'getRenderColor':_0x40290e=>this[_0x21a66e(0x342)][_0x21a66e(0x3b9)](_0x40290e)});}[_0x417a4a(0x2b6)](_0x32b714,_0x4a9def){const _0x5966fb=_0x417a4a;var _0x1d04ce;let _0x1ee1c0=(_0x1d04ce=_0x4a9def[_0x5966fb(0x3a6)])!=null&&_0x1d04ce[_0x5966fb(0x23b)]&&_0x4a9def[_0x5966fb(0x3a6)][_0x5966fb(0x2ec)]?_0x4a9def[_0x5966fb(0x3a6)][_0x5966fb(0x2ec)]+_0x5966fb(0x299)+zr(_0x4a9def[_0x5966fb(0x3a6)][_0x5966fb(0x23b)]):'';_0x32b714[_0x5966fb(0x364)]['border']=_0x1ee1c0,_0x32b714[_0x5966fb(0x364)]['backgroundColor']=_0x4a9def[_0x5966fb(0x3b4)]?zr(_0x4a9def['fill']):_0x5966fb(0x312),_0x32b714[_0x5966fb(0x364)][_0x5966fb(0x1d1)]=_0x4a9def['radius']?_0x4a9def[_0x5966fb(0x2f5)]+'px':'',_0x32b714[_0x5966fb(0x364)]['overflow']=_0x5966fb(0x2d2),_0x32b714[_0x5966fb(0x364)][_0x5966fb(0x3bf)]=_0x5966fb(0x1fe);}[_0x417a4a(0x3a5)](){const _0x7b2a81=_0x417a4a;return{'resolveHostStyle':({style:_0x369af1})=>this[_0x7b2a81(0x2b1)](_0x369af1),'resolveRenderBackgroundColor':({hostStyle:_0x4b74c3})=>_0x4b74c3[_0x7b2a81(0x3b4)],'prepareSpec':({mode:_0x3de54d,spec:_0x5533b2})=>_0x3de54d===_0x7b2a81(0x22b)?{..._0x5533b2,'animation':!0x1,'tooltip':{'show':!0x1}}:_0x5533b2};}['dispose'](){const _0x1dbbe0=_0x417a4a;super[_0x1dbbe0(0x384)]();}};V=L([I(0x0,_0x49aabf(_0x2052de)),I(0x1,_0x49aabf(_0x22e318)),I(0x2,_0x5daafa)],V);var Br=class extends _0x44c20c{constructor(_0x10aa70){const _0x49a55d=_0x417a4a;super(),this[_0x49a55d(0x1ab)](_0x10aa70);}};function Vr(_0x99df3e,_0x184cd7,_0x2e087a,_0x613ace,_0xe13f04,_0x2adb91,_0x4d62c9){const _0x47b2a0=_0x417a4a;let _0x333c1e=new Br(_0x699581(_0x442fe1(_0x184cd7),{'context':_0x613ace})),_0x73c68c=new _0x28c843(_0x99df3e,{'chartType':_0x2e087a,'dataSource':_0x333c1e,'dataAggregation':_0xe13f04,'style':_0x2adb91},_0x4d62c9);return _0x73c68c[_0x47b2a0(0x3c0)](),_0x73c68c[_0x47b2a0(0x26a)]((_0x613ace==null?void 0x0:_0x613ace[_0x47b2a0(0x250)])===void 0x0?_0x5e1615(_0x333c1e[_0x47b2a0(0x296)](),_0x73c68c['context'],_0x2e087a):_0x1b4133(_0x333c1e[_0x47b2a0(0x296)](),_0x613ace[_0x47b2a0(0x250)],!0x1)),{'unitId':_0x47b2a0(0x1f5),'chartId':_0x99df3e,'dataSourceId':_0x99df3e+'-data-source','model':_0x73c68c,'source':_0x333c1e};}function Hr(_0x4140df){const _0x553360=_0x417a4a;let _0x461c7d=_0x473746(_0x2052de),_0x914fd0=_0x473746(_0x1f5d92),_0x35333d=_0x473746(V),_0x15ff3e=_0x15bab7(null),_0x211f69=_0x15bab7(null),_0x54e6e2=_0x15bab7(_0x553360(0x367)+_0x481b79(0x8)),[_0x3f7514,_0x568f8e]=_0x4742c1(null);return _0x518828(()=>{const _0x4e9ab8=_0x553360;let _0xc3858=_0x15ff3e[_0x4e9ab8(0x2d0)];if(!_0xc3858)return;_0x568f8e(null),_0xc3858['replaceChildren'](),_0x211f69[_0x4e9ab8(0x2d0)]=Ur(_0xc3858);let _0x35ee78=!0x1,_0xf2512=_0x1fa05e=>{_0x35ee78||_0x568f8e(_0x1fa05e);},_0x277764=null,_0x210d6a=null,_0x4f2a28=null;try{_0x277764=Vr(_0x54e6e2[_0x4e9ab8(0x2d0)],_0x4140df[_0x4e9ab8(0x1aa)],_0x4140df[_0x4e9ab8(0x369)],_0x4140df['context'],_0x4140df['dataAggregation'],_0x4140df[_0x4e9ab8(0x364)],_0x914fd0),_0x210d6a=new Rr(_0x277764[_0x4e9ab8(0x1b3)],_0xc3858,(_0x1fce5d,_0x2a45fa)=>_0x35333d['applyHostStyle'](_0x1fce5d,_0x2a45fa),()=>_0x211f69[_0x4e9ab8(0x2d0)]??Ur(_0xc3858),!0x1),_0x4f2a28=_0x35333d['createChartInstance'](_0x5435df['Dom']),_0x4f2a28[_0x4e9ab8(0x3db)](_0x210d6a);}catch(_0x1f0635){return _0xf2512(_0x1f0635),()=>{_0x35ee78=!0x0,_0xc3858['replaceChildren']();};}if(!_0x277764||!_0x210d6a||!_0x4f2a28)return()=>{_0x35ee78=!0x0,_0xc3858['replaceChildren']();};let _0x52c8b1=_0x277764,_0x2919f6=_0x210d6a,_0x3e5289=_0x4f2a28,_0x5af83a=()=>{const _0x2229eb=_0x4e9ab8;let _0x5496c6,_0x208fc8;try{({chartConfig:_0x5496c6,chartStyle:_0x208fc8}=_0x35333d['createRenderInput'](_0x52c8b1));}catch(_0x4721f6){_0xf2512(_0x4721f6);return;}_0x3e5289['render']({'chartId':_0x52c8b1[_0x2229eb(0x1b3)],'config':_0x5496c6,'style':_0x208fc8})[_0x2229eb(0x245)](()=>{_0x35ee78||_0x568f8e(null);})[_0x2229eb(0x294)](_0xf2512);},_0x461449=_0x52c8b1[_0x4e9ab8(0x29e)][_0x4e9ab8(0x1d8)][_0x4e9ab8(0x1b9)](_0x3cc664=>{_0x3cc664&&_0x5af83a();}),_0x10b87e=typeof ResizeObserver>'u'?null:new ResizeObserver(_0x5ee3c6=>{const _0x2cbc50=_0x4e9ab8;var _0x2e569d;let _0x1b0b59=(_0x2e569d=_0x5ee3c6[0x0])==null?void 0x0:_0x2e569d[_0x2cbc50(0x20a)];_0x211f69[_0x2cbc50(0x2d0)]=_0x1b0b59&&_0x1b0b59[_0x2cbc50(0x2ec)]>0x0&&_0x1b0b59[_0x2cbc50(0x232)]>0x0?{'width':_0x1b0b59[_0x2cbc50(0x2ec)],'height':_0x1b0b59['height']}:Ur(_0xc3858),_0x2919f6['syncLayout'](),_0x5af83a();});return _0x10b87e==null||_0x10b87e[_0x4e9ab8(0x3a3)](_0xc3858),()=>{const _0x92a3fc=_0x4e9ab8;_0x35ee78=!0x0,_0x461449[_0x92a3fc(0x275)](),_0x10b87e==null||_0x10b87e[_0x92a3fc(0x2dd)](),_0x3e5289[_0x92a3fc(0x384)](),_0x2919f6[_0x92a3fc(0x384)](),_0x52c8b1[_0x92a3fc(0x29e)]['dispose'](),_0x52c8b1[_0x92a3fc(0x339)][_0x92a3fc(0x384)](),_0xc3858[_0x92a3fc(0x1ec)]();};},[_0x914fd0,_0x4140df[_0x553360(0x369)],_0x4140df[_0x553360(0x2c9)],_0x4140df[_0x553360(0x20e)],_0x4140df[_0x553360(0x364)],_0x4140df[_0x553360(0x1aa)],_0x35333d]),_0x237236(_0x553360(0x39b),{'className':_0x553360(0x1c4),'children':[_0xe0cb81(_0x553360(0x39b),{'ref':_0x15ff3e,'className':'univer-absolute\x20univer-inset-0\x20univer-min-h-0\x20univer-min-w-0\x20univer-overflow-hidden\x20univer-rounded-lg'}),_0x3f7514!=null&&_0xe0cb81(_0x553360(0x39b),{'className':'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','children':_0x461c7d['t']('docs-chart-ui.previewRenderFailed')})]});}function Ur(_0x308cad){const _0x43ea24=_0x417a4a;let _0x546566=_0x308cad[_0x43ea24(0x1a3)]();return _0x546566['width']<=0x0||_0x546566[_0x43ea24(0x232)]<=0x0?null:{'width':_0x546566[_0x43ea24(0x2ec)],'height':_0x546566[_0x43ea24(0x232)]};}const Wr=_0x417a4a(0x2c5),Gr='doc-chart.dialog.editor';function Kr(_0x2903ac){const _0x206828=_0x417a4a;var _0x37a448,_0x4d120c,_0x227f23;let {unitId:_0x3e366b,chartId:_0x47ded7,drawingId:_0x3c6ace,ProviderComponent:_0x289c53=_0x57d37b}=_0x2903ac,_0x5347e0=_0x473746(_0x2052de),_0x5b4754=_0x473746(_0x1f5d92),_0x5db797=_0x473746(_0x10ec90),_0x43d2ab=_0x473746(_0x134d41),_0x4076f5=_0x473746(_0x4aeeb5),_0x5ebda8=_0x473746(R),_0x4ed88c=_0x473746(wr),_0x581146=_0x4c5d9b(()=>_0x5ebda8[_0x206828(0x32b)](_0x3e366b,_0x47ded7),[_0x47ded7,_0x5ebda8,_0x3e366b]),_0x32775d=_0x43d2ab['getChart'](_0x3e366b,_0x47ded7),_0x42c7b7=_0x4c5d9b(()=>_0x4076f5==null?void 0x0:_0x4076f5[_0x206828(0x220)](_0x3e366b,_0x47ded7),[_0x47ded7,_0x4076f5,_0x3e366b]),_0xe38220=_0x577379(_0x42c7b7==null?void 0x0:_0x42c7b7['model'][_0x206828(0x276)],(_0x42c7b7==null?void 0x0:_0x42c7b7[_0x206828(0x29e)][_0x206828(0x369)])??(_0x32775d==null?void 0x0:_0x32775d[_0x206828(0x369)])),_0x5482f6=_0x577379(_0x42c7b7==null?void 0x0:_0x42c7b7[_0x206828(0x29e)][_0x206828(0x1f4)],(_0x42c7b7==null?void 0x0:_0x42c7b7[_0x206828(0x29e)][_0x206828(0x2c9)])??(_0x32775d==null||(_0x37a448=_0x32775d['context'])==null?void 0x0:_0x37a448[_0x206828(0x250)])),_0xbf22c3=_0x577379(_0x42c7b7==null?void 0x0:_0x42c7b7[_0x206828(0x29e)][_0x206828(0x2f2)],(_0x42c7b7==null?void 0x0:_0x42c7b7['model'][_0x206828(0x20e)])??(_0x32775d==null?void 0x0:_0x32775d['dataAggregation'])),_0x1292a8=_0x577379(_0x42c7b7==null?void 0x0:_0x42c7b7['model']['style$'],(_0x42c7b7==null?void 0x0:_0x42c7b7[_0x206828(0x29e)][_0x206828(0x364)])??(_0x32775d==null?void 0x0:_0x32775d[_0x206828(0x364)])),_0x33297b=_0x4c5d9b(()=>{const _0x36f4b3=_0x206828;var _0x3519fd;return _0x4076f5==null||(_0x3519fd=_0x4076f5[_0x36f4b3(0x3e3)])==null?void 0x0:_0x3519fd[_0x36f4b3(0x28c)](_0x4076f5,_0x3e366b,_0x47ded7);},[_0x47ded7,_0x4076f5,_0x3e366b]),_0x4e9ace=_0x577379(_0x33297b,_0x4076f5==null||(_0x4d120c=_0x4076f5[_0x206828(0x24e)])==null?void 0x0:_0x4d120c[_0x206828(0x28c)](_0x4076f5,_0x3e366b,_0x47ded7)),_0x4c50dd=_0x4c5d9b(()=>({..._0x32775d==null?void 0x0:_0x32775d[_0x206828(0x2c9)],'chartContext':_0x5482f6}),[_0x32775d==null?void 0x0:_0x32775d[_0x206828(0x2c9)],_0x5482f6]),[_0x214b4a,_0x450b41]=_0x4742c1(_0x581146),[_0x816ee8,_0x40e197]=_0x4742c1(()=>(_0x581146==null?void 0x0:_0x581146[_0x206828(0x1aa)][_0x206828(0x399)](_0x1b66f0=>[..._0x1b66f0]))??[]),[_0x5a35a8,_0x285259]=_0x4742c1(()=>(_0x581146==null?void 0x0:_0x581146[_0x206828(0x1aa)][_0x206828(0x399)](_0x36fabf=>[..._0x36fabf]))??[]),[_0x5c811c,_0x4915fb]=_0x4742c1(()=>_0x32775d==null?void 0x0:_0x32775d[_0x206828(0x369)]),[_0x45fb73,_0xaca335]=_0x4742c1(()=>{const _0x498436=_0x206828;var _0x464d58;return((_0x464d58=_0x2903ac['route'])==null?void 0x0:_0x464d58['tab'])===_0x41429f[_0x498436(0x2b2)]?_0x498436(0x2dc):'chart';}),[_0x55b06e,_0x4614f0]=_0x4742c1(null),_0x244646=_0x4e9ace==null||(_0x227f23=_0x4e9ace[_0x206828(0x1aa)])==null?void 0x0:_0x227f23[_0x206828(0x399)](_0x29e70e=>[..._0x29e70e]),_0x4d2d56=_0x4c5d9b(()=>{const _0x2a2414=_0x206828;var _0x292610;let _0x3f603f=_0x5db797[_0x2a2414(0x3b2)](_0x3e366b,_0x5aa26b[_0x2a2414(0x1a4)]);if(!_0x42c7b7||!_0x3f603f)return null;let _0x19a9c1=_0x3c6ace??((_0x292610=Object[_0x2a2414(0x1aa)](_0x3f603f['getDrawings']()??{})[_0x2a2414(0x3b7)](_0x3ac8ff=>_0x3ac8ff[_0x2a2414(0x1b3)]===_0x47ded7))==null?void 0x0:_0x292610[_0x2a2414(0x3e4)]);return _0x19a9c1?new _0x49204e(_0x42c7b7[_0x2a2414(0x29e)],new _0x462921({'unitId':_0x3e366b,'chartId':_0x47ded7,'drawingId':_0x19a9c1,'documentDataModel':_0x3f603f,'injector':_0x5b4754})):null;},[_0x47ded7,_0x3c6ace,_0x5b4754,_0x42c7b7,_0x3e366b,_0x5db797]);return!_0x214b4a||!_0x32775d?_0xe0cb81(_0x206828(0x39b),{'className':_0x206828(0x358),'children':_0x5347e0['t'](_0x206828(0x203))}):_0x237236('div',{'className':_0x2903ac[_0x206828(0x33f)]?_0x206828(0x32a):_0x206828(0x1ba),'style':_0x2903ac[_0x206828(0x33f)]?void 0x0:{'height':'min(560px,\x20calc(100vh\x20-\x20180px))'},'children':[_0xe0cb81(_0x326243,{'ariaLabel':_0x5347e0['t'](_0x206828(0x345)),'className':'univer-shrink-0','value':_0x45fb73,'items':[{'label':_0x5347e0['t']('docs-chart-ui.floatMenu.menuTitle.chart'),'panelId':qr,'value':'chart'},{'label':_0x5347e0['t'](_0x206828(0x1f9)),'panelId':Jr,'value':_0x206828(0x2dc)}],'variant':_0x206828(0x2bd),'onChange':_0xaca335}),_0x237236('div',{'id':_0x45fb73===_0x206828(0x2dc)?Jr:qr,'aria-labelledby':(_0x45fb73===_0x206828(0x2dc)?Jr:qr)+_0x206828(0x3a2),'className':_0x206828(0x1a1),'role':_0x206828(0x30f),'children':[_0x45fb73==='data'?_0xe0cb81(Cr,{'values':_0x244646??_0x816ee8,'dataSource':_0x214b4a[_0x206828(0x1e0)],'sharingCount':_0x214b4a[_0x206828(0x2f1)],'onCancel':()=>_0xaca335(_0x206828(0x1f8)),'onSubmit':(_0x628ae8,_0x20d379)=>{const _0x35d188=_0x206828;if(!_0x5ebda8['updateData'](_0x3e366b,_0x47ded7,_0x628ae8,_0x20d379)){_0x4614f0(_0x5347e0['t'](_0x35d188(0x31c)));return;}_0x4614f0(null);let _0x428895=_0x5ebda8[_0x35d188(0x32b)](_0x3e366b,_0x47ded7);_0x450b41(_0x428895??_0x214b4a),_0x40e197((_0x428895==null?void 0x0:_0x428895[_0x35d188(0x1aa)])??_0x628ae8),_0x285259((_0x428895==null?void 0x0:_0x428895[_0x35d188(0x1aa)])??_0x628ae8),_0xaca335(_0x35d188(0x1f8));},'onDataSourceSubmit':_0x302e22=>{const _0x33d261=_0x206828;if(!_0x5ebda8['changeDataSource'](_0x3e366b,_0x47ded7,_0x302e22)){_0x4614f0(_0x5347e0['t'](_0x33d261(0x31c)));return;}_0x4614f0(null),_0x450b41(_0x5ebda8[_0x33d261(0x32b)](_0x3e366b,_0x47ded7)??_0x214b4a),_0xaca335(_0x33d261(0x1f8));}}):_0x237236(_0x206828(0x39b),{'className':_0x2903ac[_0x206828(0x33f)]?_0x206828(0x284):'univer-flex\x20univer-size-full\x20univer-min-w-0\x20univer-gap-5','children':[!_0x2903ac[_0x206828(0x33f)]&&_0xe0cb81('div',{'className':_0x206828(0x3a7),'children':_0xe0cb81(Hr,{'values':_0x244646??_0x5a35a8,'chartType':_0xe38220??_0x5c811c??_0x32775d['chartType'],'context':_0x4c50dd,'dataAggregation':_0xbf22c3,'style':_0x1292a8})}),_0x237236(_0x206828(0x39b),{'className':_0x2903ac['mobile']?_0x206828(0x270):_0x206828(0x375),'children':[_0xe0cb81(_0x206828(0x39b),{'className':'univer-min-h-0\x20univer-flex-1','children':_0x4d2d56?_0xe0cb81(_0x289c53,{'chartUIService':_0x4ed88c,'hostAdapter':_0x4d2d56,'children':_0xe0cb81(Mr,{'mobile':_0x2903ac[_0x206828(0x33f)],'initialRoute':_0x2903ac[_0x206828(0x21e)],'onClose':_0x2903ac[_0x206828(0x374)],'onPreviewChartTypeChange':_0x4915fb,'onModifyData':()=>_0xaca335(_0x206828(0x2dc))})}):_0xe0cb81('div',{'className':_0x206828(0x358),'children':_0x5347e0['t'](_0x206828(0x203))})}),_0x55b06e&&_0xe0cb81(_0x206828(0x39b),{'className':'univer-text-xs\x20univer-text-red-600\x20dark:!univer-text-red-400','children':_0x55b06e})]})]}),_0x45fb73===_0x206828(0x2dc)&&_0x55b06e&&_0xe0cb81('div',{'className':_0x206828(0x246),'children':_0x55b06e})]})]});}const qr='doc-chart-editor-panel',Jr=_0x417a4a(0x3de);function H(_0x475489,_0x4cfa9c){const _0x4e8b3a=_0x417a4a;var _0x7601e4;if(!(_0x4cfa9c!=null&&_0x4cfa9c[_0x4e8b3a(0x36a)])||_0x4cfa9c[_0x4e8b3a(0x1e9)]==null)return null;let _0x30acd1=_0x4cfa9c['segmentId']??'';if(_0x30acd1!=='')return null;let _0x24e0ac=(_0x7601e4=_0x475489[_0x4e8b3a(0x1dc)](_0x30acd1))==null?void 0x0:_0x7601e4[_0x4e8b3a(0x3e9)]();if(!_0x24e0ac)return null;let _0x19064f=Yr(_0x24e0ac,_0x4cfa9c['startOffset']);if(!Xr(_0x24e0ac,_0x19064f))return null;let _0x38b29d=Qr(_0x24e0ac,_0x19064f);return _0x38b29d?{'unitId':_0x475489[_0x4e8b3a(0x3d4)](),'index':_0x38b29d[_0x4e8b3a(0x2a2)],'segmentId':_0x30acd1,'breakOffsets':_0x38b29d[_0x4e8b3a(0x22f)]}:null;}function Yr(_0x12b479,_0x36e5ee){const _0x266ec1=_0x417a4a;return _0x36e5ee===0x0&&_0x12b479[_0x266ec1(0x1df)][0x0]===_0x49f8af['PARAGRAPH']?0x1:_0x36e5ee;}function Xr(_0x5b665c,_0x50d0f5){const _0x1838b0=_0x417a4a;return!(ti(_0x5b665c[_0x1838b0(0x1b2)],_0x50d0f5)||ni(_0x5b665c[_0x1838b0(0x258)],_0x50d0f5)||ri(_0x5b665c[_0x1838b0(0x274)],_0x50d0f5));}function Zr(_0x3a64f5,_0x16cd93){const _0x5ba3e7=_0x417a4a;let {dataStream:_0x1da75b}=_0x3a64f5;if(!_0x1da75b||_0x16cd93<0x0||_0x16cd93>=_0x1da75b[_0x5ba3e7(0x2d5)])return!0x1;let _0x50c5ce=$r(_0x1da75b,_0x16cd93)+0x1,_0x1f0430=ei(_0x1da75b,_0x16cd93);return _0x50c5ce<=_0x1f0430&&_0x1da75b[_0x5ba3e7(0x219)](_0x50c5ce,_0x1f0430)[_0x5ba3e7(0x2d5)]===0x0;}function Qr(_0x47e455,_0x578066){let {dataStream:_0x4b73ab}=_0x47e455;if(!_0x4b73ab||_0x578066<0x0||_0x578066>=_0x4b73ab['length'])return null;if(Zr(_0x47e455,_0x578066))return{'index':_0x578066,'breakOffsets':[]};let _0x22efef=$r(_0x4b73ab,_0x578066)+0x1,_0x25b3e3=ei(_0x4b73ab,_0x578066);return _0x578066<=_0x22efef?{'index':_0x578066,'breakOffsets':[_0x578066]}:_0x578066>=_0x25b3e3?{'index':_0x578066+0x1,'breakOffsets':[_0x578066]}:{'index':_0x578066+0x1,'breakOffsets':[_0x578066,_0x578066+0x1]};}function $r(_0x4e6d03,_0x48c549){const _0x1485cb=_0x417a4a;let _0xad1a95=Math[_0x1485cb(0x2df)](0x0,Math[_0x1485cb(0x37e)](_0x48c549-0x1,_0x4e6d03['length']-0x1));return Math[_0x1485cb(0x2df)](_0x4e6d03[_0x1485cb(0x2eb)](_0x49f8af[_0x1485cb(0x24d)],_0xad1a95),_0x4e6d03[_0x1485cb(0x2eb)](_0x49f8af[_0x1485cb(0x2f0)],_0xad1a95));}function ei(_0x45bb1c,_0x3b2861){const _0x1d595a=_0x417a4a;let _0x86b0ca=Math[_0x1d595a(0x2df)](0x0,Math[_0x1d595a(0x37e)](_0x3b2861,_0x45bb1c[_0x1d595a(0x2d5)]-0x1)),_0x1d8312=_0x45bb1c[_0x1d595a(0x19d)](_0x49f8af[_0x1d595a(0x24d)],_0x86b0ca),_0x176958=_0x45bb1c[_0x1d595a(0x19d)](_0x49f8af[_0x1d595a(0x2f0)],_0x86b0ca);return _0x1d8312===-0x1&&_0x176958===-0x1?_0x45bb1c[_0x1d595a(0x2d5)]:_0x1d8312===-0x1?_0x176958:_0x176958===-0x1?_0x1d8312:Math[_0x1d595a(0x37e)](_0x1d8312,_0x176958);}function ti(_0x5a5344,_0x588043){const _0x2571f1=_0x417a4a;return!!(_0x5a5344!=null&&_0x5a5344[_0x2571f1(0x201)](_0x4c1123=>_0x4c1123[_0x2571f1(0x1ad)]<=_0x588043&&_0x588043<_0x4c1123[_0x2571f1(0x279)]));}function ni(_0xc4d8bd,_0x376a41){const _0x1e3b7e=_0x417a4a;return!!(_0xc4d8bd!=null&&_0xc4d8bd[_0x1e3b7e(0x201)](_0xd46eb=>_0xd46eb[_0x1e3b7e(0x1ad)]<=_0x376a41&&_0x376a41<=_0xd46eb[_0x1e3b7e(0x279)]));}function ri(_0x2f3043,_0x51beed){const _0x49a9a6=_0x417a4a;return!!(_0x2f3043!=null&&_0x2f3043[_0x49a9a6(0x201)](_0x2dbffb=>_0x2dbffb[_0x49a9a6(0x1ad)]===_0x51beed));}let U=class{constructor(_0x386e99,_0x50fcb3,_0x1daa23,_0x1c90ca){const _0x8bd9c8=_0x417a4a;this[_0x8bd9c8(0x3bd)]=_0x386e99,this[_0x8bd9c8(0x244)]=_0x50fcb3,this[_0x8bd9c8(0x1f6)]=_0x1daa23,this[_0x8bd9c8(0x1b7)]=_0x1c90ca;}[_0x417a4a(0x333)](_0x446125,_0x4a7405,_0x153429){const _0x55b1ed=_0x417a4a;let _0x147c19=_0x555b54(_0x446125);return _0x147c19[_0x55b1ed(0x2d5)]!==0x0&&this['insertChart'](_0x147c19,_0x4a7405,_0x153429);}[_0x417a4a(0x266)](_0x36ccd3,_0x15eb32,_0x20c5f9={}){const _0x1418f8=_0x417a4a;if(_0x36ccd3[_0x1418f8(0x2d5)]===0x0)return!0x1;let _0x450c82=_0x457fcd(_0x15eb32,_0x36ccd3);if(!_0x450c82['ok'])return!0x1;let _0x4a909b=_0x20c5f9[_0x1418f8(0x223)]?this[_0x1418f8(0x3bd)][_0x1418f8(0x3b2)](_0x20c5f9[_0x1418f8(0x223)],_0x5aa26b[_0x1418f8(0x1a4)]):this[_0x1418f8(0x3bd)][_0x1418f8(0x36f)](_0x5aa26b[_0x1418f8(0x1a4)]);if(!_0x4a909b)return!0x1;let _0x4fad3e=this[_0x1418f8(0x280)](_0x4a909b,_0x20c5f9[_0x1418f8(0x319)]);if(!_0x4fad3e||!this[_0x1418f8(0x2bf)](_0x4a909b[_0x1418f8(0x3d4)](),_0x4fad3e[_0x1418f8(0x22f)],_0x4fad3e['segmentId']))return!0x1;let _0x4b3319=_0x4fad3e[_0x1418f8(0x223)],_0x4f849c={'chartType':_0x15eb32};_0x20c5f9['context']&&(_0x4f849c[_0x1418f8(0x2c9)]=_0x20c5f9[_0x1418f8(0x2c9)]),_0x20c5f9[_0x1418f8(0x20e)]&&(_0x4f849c[_0x1418f8(0x20e)]=_0x20c5f9[_0x1418f8(0x20e)]),_0x20c5f9[_0x1418f8(0x364)]&&(_0x4f849c[_0x1418f8(0x364)]=_0x20c5f9[_0x1418f8(0x364)]);let _0x2080f2=this['_commandService'][_0x1418f8(0x1f7)](_0x592d4c['id'],{'unitId':_0x4b3319,'textRange':{'startOffset':_0x4fad3e['index'],'endOffset':_0x4fad3e['index'],'collapsed':!0x0,'segmentId':_0x4fad3e[_0x1418f8(0x376)]},'chart':_0x4f849c,'dataSource':_0x20c5f9['dataSource']??{'values':_0x450c82['values']},'width':_0x20c5f9[_0x1418f8(0x2ec)],'height':_0x20c5f9[_0x1418f8(0x232)],'focus':_0x20c5f9['focus']});return _0x2080f2?{..._0x2080f2,'unitId':_0x4b3319}:!0x1;}[_0x417a4a(0x280)](_0x15f486,_0x17af51){const _0x164867=_0x417a4a;if(_0x17af51)return H(_0x15f486,_0x17af51);let _0x42bc7a=_0x15f486[_0x164867(0x3d4)](),_0x2d5d7a=null;try{_0x2d5d7a=this[_0x164867(0x1b7)][_0x164867(0x2e0)](_0x42bc7a);}catch{_0x2d5d7a=null;}if(_0x2d5d7a)return H(_0x15f486,{'startOffset':_0x2d5d7a[_0x164867(0x1e9)],'endOffset':_0x2d5d7a['endOffset'],'collapsed':_0x2d5d7a[_0x164867(0x1e9)]===_0x2d5d7a[_0x164867(0x3c5)],'segmentId':_0x2d5d7a['segmentId']??''});let _0x2154ab={'unitId':_0x42bc7a,'subUnitId':_0x42bc7a},_0x5b4325=this[_0x164867(0x1f6)]['getTextRanges'](_0x2154ab)??[];return H(_0x15f486,ii(_0x5b4325[_0x164867(0x3b7)](_0x404f1d=>_0x404f1d[_0x164867(0x211)])??_0x5b4325[0x0]));}[_0x417a4a(0x2bf)](_0x28b8cb,_0x1e7bf2,_0xc7c633){const _0xaddd2=_0x417a4a;for(let _0x2e128d of _0x1e7bf2)if(!this[_0xaddd2(0x244)][_0xaddd2(0x1f7)](_0x240830['id'],{'unitId':_0x28b8cb,'textRange':{'startOffset':_0x2e128d,'endOffset':_0x2e128d,'collapsed':!0x0,'segmentId':_0xc7c633}}))return!0x1;return!0x0;}};U=L([I(0x0,_0x10ec90),I(0x1,_0x3abed6),I(0x2,_0x49aabf(_0x2377fb)),I(0x3,_0x49aabf(_0x29f262))],U);function ii(_0x2e0247){const _0x4ce110=_0x417a4a;return!_0x2e0247||typeof _0x2e0247!=_0x4ce110(0x32e)?null:_0x2e0247;}const ai=_0x417a4a(0x1e7),oi=[_0x417a4a(0x3a1),_0x417a4a(0x3b3),'B\x0918','C\x099']['join']('\x0a');function si(_0x2e202a){const _0x4e6cd8=_0x417a4a;let {ButtonComponent:_0x3f24f6,SelectComponent:_0x5192c9}=_0x12e8cc(),_0x143887=_0x473746(U),_0x549469=_0x473746(_0x2052de),{defaultChartType:_0x19c806=_0x1b4be6['Column'],defaultTableText:_0x357769=oi,insertOptions:_0x303112,onCancel:_0x4a5e99,onInserted:_0x308751}=_0x2e202a,_0x2a7460=_0x4c5d9b(()=>_0x2015a2(_0x3cdc1a['map'](_0x4988d4=>({..._0x4988d4,'label':_0x549469['t'](_0x4e6cd8(0x2d4)+_0x4988d4[_0x4e6cd8(0x2b7)])}))),[_0x549469]),[_0x5aa112,_0x44a3c7]=_0x4742c1(String(_0x19c806)),_0xa32bf5=_0x2a7460['find'](_0x523387=>_0x523387['value']===_0x5aa112),_0x4da326=(_0xa32bf5==null?void 0x0:_0xa32bf5[_0x4e6cd8(0x369)])??_0x19c806,_0x4cba3b=_0x7890f0=>_0x5eb4a6(_0x7890f0,{'candlestickClose':_0x549469['t'](_0x4e6cd8(0x327)),'candlestickHigh':_0x549469['t'](_0x4e6cd8(0x3ac)),'candlestickLow':_0x549469['t'](_0x4e6cd8(0x1d4)),'candlestickOpen':_0x549469['t']('docs-chart-ui.candlestick.open'),'category':_0x549469['t'](_0x4e6cd8(0x24c)),'chordSource':_0x549469['t'](_0x4e6cd8(0x316)),'chordTarget':_0x549469['t'](_0x4e6cd8(0x31d)),'label':_0x549469['t']('docs-chart-ui.common.label'),'sunburstHierarchy':_0x549469['t'](_0x4e6cd8(0x328)),'value':_0x549469['t']('docs-chart-ui.common.value'),'valueField':_0x549469['t'](_0x4e6cd8(0x247))}),[_0x4d4bc4,_0x135076]=_0x4742c1(()=>_0x2e202a[_0x4e6cd8(0x309)]===void 0x0?_0x4cba3b(_0x19c806)??_0x555b54(_0x357769):_0x555b54(_0x357769)),[_0x3f5769,_0x3f6a6f]=_0x4742c1(_0x4e6cd8(0x3aa)),[_0x583f6f,_0x2a4e62]=_0x4742c1(null),[_0x66ce97,_0x2cfb0f]=_0x4742c1([]),[_0x3c437c,_0x471285]=_0x4742c1(null),_0x3dce7a={[_0x25218b[_0x4e6cd8(0x3d3)]]:_0x549469['t'](_0x4e6cd8(0x33e)),[_0x25218b[_0x4e6cd8(0x2a5)]]:_0x549469['t']('docs-chart-ui.common.tableDataEmpty'),[_0x25218b[_0x4e6cd8(0x349)]]:_0x549469['t'](_0x4e6cd8(0x1a8))};return _0x237236(_0x4e6cd8(0x39b),{'className':_0x4e6cd8(0x3d0),'children':[_0x237236(_0x4e6cd8(0x39b),{'className':_0x4e6cd8(0x310),'children':[_0xe0cb81('div',{'className':_0x4e6cd8(0x241),'children':_0x549469['t'](_0x4e6cd8(0x330))}),_0xe0cb81(_0x5192c9,{'className':_0x4e6cd8(0x30d),'value':_0x5aa112,'options':_0x2a7460,'onChange':_0x3f6b4c=>{const _0x467a15=_0x4e6cd8;var _0x4113d6;_0x44a3c7(_0x3f6b4c);let _0x54f144=((_0x4113d6=_0x2a7460[_0x467a15(0x3b7)](_0x471046=>_0x471046[_0x467a15(0x1bd)]===_0x3f6b4c))==null?void 0x0:_0x4113d6[_0x467a15(0x369)])??_0x19c806,_0x1ad229=_0x4cba3b(_0x54f144);_0x1ad229&&_0x135076(_0x1ad229);}})]}),_0xe0cb81(_0x32b351,{'mode':_0x3f5769,'inlineContent':_0xe0cb81(_0x37ea21,{'values':_0x4d4bc4,'minColumns':_0x5cfbdf(_0x4da326),'parsePastedText':_0x555b54,'onChange':_0x135076}),'onModeChange':_0x35bc1e=>{_0x3f6a6f(_0x35bc1e),_0x2a4e62(null),_0x2cfb0f([]);},'onPreviewChange':(_0x36bcbe,_0x5f4c4d)=>{const _0x435280=_0x4e6cd8;_0x36bcbe&&_0x5f4c4d[_0x435280(0x2f6)]===_0x26e3cf[_0x435280(0x38a)]&&_0x5f4c4d[_0x435280(0x1aa)]?(_0x2a4e62({'source':_0x36bcbe}),_0x2cfb0f(_0x5f4c4d['values'][_0x435280(0x399)](_0x4da5fc=>[..._0x4da5fc]))):(_0x2a4e62(null),_0x2cfb0f([]));}}),_0x3c437c&&_0xe0cb81(_0x4e6cd8(0x39b),{'className':'univer-text-xs\x20univer-text-red-600\x20dark:!univer-text-red-400','children':_0x3c437c}),_0x237236(_0x4e6cd8(0x39b),{'className':_0x4e6cd8(0x227),'children':[_0x4a5e99&&_0xe0cb81(_0x3f24f6,{'type':_0x4e6cd8(0x1cb),'variant':'default','onClick':_0x4a5e99,'children':_0x549469['t']('docs-chart-ui.common.cancel')}),_0xe0cb81(_0x3f24f6,{'type':_0x4e6cd8(0x1cb),'variant':_0x4e6cd8(0x26b),'disabled':_0x3f5769==='referenced'&&!_0x583f6f,'onClick':()=>{const _0x36f11c=_0x4e6cd8;var _0x5a168c;let _0x2d6381=_0x3fce71({'optionId':_0x5aa112,'values':_0x3f5769===_0x36f11c(0x334)?_0x66ce97:_0x4d4bc4});if(!_0x2d6381['ok']){_0x471285(_0x3dce7a[_0x2d6381[_0x36f11c(0x1af)]['code']]);return;}let _0x3884e0={..._0x303112,..._0x3f5769===_0x36f11c(0x334)&&_0x583f6f?{'dataSource':_0x583f6f}:{},'context':{..._0x2d6381[_0x36f11c(0x2fb)][_0x36f11c(0x2c9)],..._0x303112==null?void 0x0:_0x303112[_0x36f11c(0x2c9)]}},_0x46e265=_0x2d6381[_0x36f11c(0x2fb)]['style']?{..._0x3884e0,'style':{..._0x3884e0==null?void 0x0:_0x3884e0[_0x36f11c(0x364)],'pie':{..._0x3884e0==null||(_0x5a168c=_0x3884e0[_0x36f11c(0x364)])==null?void 0x0:_0x5a168c['pie'],..._0x2d6381[_0x36f11c(0x2fb)][_0x36f11c(0x364)][_0x36f11c(0x1a7)]}}}:_0x3884e0,_0x243b6d=_0x143887[_0x36f11c(0x266)](_0x2d6381[_0x36f11c(0x2fb)][_0x36f11c(0x1aa)],_0x2d6381[_0x36f11c(0x2fb)][_0x36f11c(0x369)],_0x46e265);if(!_0x243b6d){_0x471285(_0x549469['t'](_0x36f11c(0x33e)));return;}_0x471285(null),_0x308751==null||_0x308751(_0x243b6d);},'children':_0x549469['t'](_0x4e6cd8(0x205))})]})]});}const ci=_0x417a4a(0x208),li={},ui=_0x417a4a(0x2ef);let W=class extends _0x45d2af{constructor(_0x526979,_0x3f2813,_0x12a0de){const _0x211b07=_0x417a4a;super(),this['_docClipboardService']=_0x526979,this[_0x211b07(0x3c8)]=_0x3f2813,this[_0x211b07(0x33c)]=_0x12a0de,this[_0x211b07(0x1ed)]();}['_initClipboardHooks'](){const _0x3e9e69=_0x417a4a;this[_0x3e9e69(0x207)](this[_0x3e9e69(0x3bc)][_0x3e9e69(0x306)]({'onCopyDocData':(_0x167696,_0x13f6ad)=>this['_appendChartResources'](_0x167696,_0x13f6ad[_0x3e9e69(0x351)])})),this['disposeWithMe'](this['_pasteAdapterService'][_0x3e9e69(0x216)]({'getPasteMutationInfos':_0x29b4af=>this[_0x3e9e69(0x2b3)](_0x29b4af)}));}[_0x417a4a(0x1b1)](_0x3f785c,_0x49331e){const _0x14db98=_0x417a4a;var _0x2121e7;let _0x1f9b67=(_0x2121e7=_0x49331e[0x0])==null?void 0x0:_0x2121e7['id'];if(!_0x1f9b67)return _0x3f785c;let _0x19c80d=Object[_0x14db98(0x1aa)](_0x3f785c[_0x14db98(0x257)]??{})[_0x14db98(0x200)](_0x122a5f=>this[_0x14db98(0x1eb)](_0x122a5f));if(_0x19c80d[_0x14db98(0x2d5)]===0x0)return _0x3f785c;let _0x27493c={'version':_0x1371d3,'dataSources':{},'charts':{}};return _0x19c80d['forEach'](_0x54c6cd=>{const _0x110437=_0x14db98;let _0x32e7bb=this[_0x110437(0x33c)]['getChart'](_0x1f9b67,_0x54c6cd[_0x110437(0x1b3)]);if(!_0x32e7bb)return;let _0x2011c8=this['_resourceService']['getDataSource'](_0x1f9b67,_0x32e7bb['dataSourceId']);_0x2011c8&&(_0x27493c[_0x110437(0x22e)][_0x32e7bb['id']]=_0x591c5f['deepClone'](_0x32e7bb),_0x27493c[_0x110437(0x295)][_0x2011c8['id']]=_0x2011c8);}),Object['keys'](_0x27493c[_0x14db98(0x22e)])[_0x14db98(0x2d5)]===0x0?_0x3f785c:{..._0x3f785c,[ui]:_0x27493c};}[_0x417a4a(0x2b3)](_0x26e854){let _0x239014=_0x26e854['doc'][ui];if(!_0x239014)return{'redoMutations':[],'undoMutations':[]};let _0x11ef01=new Map(),_0x34550d=[],_0xa0f01d=[],_0x1686b2=[],_0x10e6c6=[];return _0x26e854['customBlockMappings']['forEach'](_0x308549=>{const _0x2b5423=_0x32bc;if(!this[_0x2b5423(0x1eb)](_0x308549[_0x2b5423(0x1a5)])||!this['_isDocChartDrawing'](_0x308549['targetDrawing']))return;let _0x3d132a=_0x239014[_0x2b5423(0x22e)][_0x308549[_0x2b5423(0x1a5)]['chartId']];if(!_0x3d132a)return;let _0x3a1b8e=_0x239014[_0x2b5423(0x295)][_0x3d132a[_0x2b5423(0x254)]];if(!_0x3a1b8e)return;let _0x598419=this[_0x2b5423(0x2e3)](_0x26e854[_0x2b5423(0x223)],_0x3a1b8e,_0x11ef01,_0x34550d,_0xa0f01d),_0x4c7e8f=_0x481b79(),_0x59638c={..._0x3d132a,'id':_0x4c7e8f,'dataSourceId':_0x598419};_0x308549[_0x2b5423(0x37c)][_0x2b5423(0x1b3)]=_0x4c7e8f,_0x1686b2[_0x2b5423(0x2c1)]({'id':_0x4d9ebe['id'],'params':{'unitId':_0x26e854[_0x2b5423(0x223)],'chart':_0x59638c}}),_0x10e6c6[_0x2b5423(0x2c1)]({'id':_0x2bf190['id'],'params':{'unitId':_0x26e854[_0x2b5423(0x223)],'chartId':_0x4c7e8f}});}),{'redoMutations':[..._0x34550d,..._0x1686b2],'undoMutations':[..._0x10e6c6,..._0xa0f01d]};}[_0x417a4a(0x2e3)](_0x2539b1,_0x1b45fc,_0x4c1314,_0x25339d,_0x4bbd59){const _0x12277d=_0x417a4a;let _0x2d1034=_0x4c1314['get'](_0x1b45fc['id']);if(_0x2d1034)return _0x2d1034;let _0x40bf3d=_0x481b79();return _0x4c1314['set'](_0x1b45fc['id'],_0x40bf3d),_0x25339d[_0x12277d(0x2c1)]({'id':_0x403d88['id'],'params':{'unitId':_0x2539b1,'dataSource':{..._0x1b45fc,'id':_0x40bf3d}}}),_0x4bbd59[_0x12277d(0x2c1)]({'id':_0xaeb256['id'],'params':{'unitId':_0x2539b1,'dataSourceId':_0x40bf3d}}),_0x40bf3d;}['_isDocChartDrawing'](_0x20ed3b){const _0x19e75e=_0x417a4a;let _0x169e9a=_0x20ed3b;return(_0x169e9a==null?void 0x0:_0x169e9a[_0x19e75e(0x308)])===_0x12af05[_0x19e75e(0x317)]&&typeof _0x169e9a[_0x19e75e(0x1b3)]==_0x19e75e(0x291);}};W=L([I(0x0,_0x49aabf(_0x45bf1a)),I(0x1,_0x49aabf(_0x123526)),I(0x2,_0x49aabf(_0x134d41))],W);let G=class extends _0x45d2af{constructor(_0x4018a6,_0x807533,_0x142290,_0x34776a){const _0x179cfc=_0x417a4a;super(),this[_0x179cfc(0x35a)]=_0x4018a6,this[_0x179cfc(0x2de)]=_0x807533,this[_0x179cfc(0x33c)]=_0x142290,this['_localeService']=_0x34776a,this['_initAdapter']();}[_0x417a4a(0x39c)](){const _0x41f373=_0x417a4a;this['disposeWithMe'](this[_0x41f373(0x35a)][_0x41f373(0x216)]({'getEditDrawingCommandInfo':({unitId:_0x1a9400,drawing:_0x217394})=>{const _0x2e7308=_0x41f373;let _0x374ca5=di(_0x217394);return _0x374ca5?{'label':this['_localeService']['t']('docs-chart-ui.common.editChart'),'commandId':F['id'],'commandParams':{'unitId':_0x1a9400,'chartId':_0x374ca5[_0x2e7308(0x1b3)],'drawingId':_0x374ca5[_0x2e7308(0x3e4)]}}:null;}})),this[_0x41f373(0x207)](this[_0x41f373(0x2de)]['registerAdapter']({'getItems':({unitId:_0x2f48de,subUnitId:_0x1db485,drawing:_0x2243e7})=>{const _0x3fda85=_0x41f373;var _0x498f3d;let _0x3744fe=di(_0x2243e7);if(!_0x3744fe)return null;let _0x18c7e3=this['_resourceService'][_0x3fda85(0x2c3)](_0x2f48de,_0x3744fe[_0x3fda85(0x1b3)]),_0x4f8d6d=(_0x18c7e3==null?void 0x0:_0x18c7e3[_0x3fda85(0x369)])??_0x1b4be6['Column'],_0x4c85c8=_0x3cdc1a[_0x3fda85(0x399)](_0x39cf86=>({'value':'id'in _0x39cf86?_0x39cf86['id']:String(_0x39cf86['value']),'chartType':_0x39cf86[_0x3fda85(0x1bd)],..._0x3fda85(0x350)in _0x39cf86?{'pieSecondaryPlotType':_0x39cf86[_0x3fda85(0x350)]}:{},'icon':_0x39cf86[_0x3fda85(0x3cc)],'label':this['_localeService']['t'](_0x3fda85(0x2d4)+_0x39cf86['labelId'])})),_0x39b02b=_0x54a134(_0x4f8d6d,_0x18c7e3==null||(_0x498f3d=_0x18c7e3['style'])==null?void 0x0:_0x498f3d[_0x3fda85(0x1a7)],_0x4c85c8);return[{'type':'select','label':this[_0x3fda85(0x320)]['t']('docs-chart-ui.common.chartType'),'index':0x0,'commandId':_0x54cf72['id'],'commandParamsFactory':_0x5e2e00=>{const _0x550855=_0x3fda85;var _0x3c8a9d,_0x41ef35;let _0x39ce26=_0x4c85c8[_0x550855(0x3b7)](_0x37d1bb=>_0x37d1bb[_0x550855(0x1bd)]===_0x5e2e00),_0x5a7734=(_0x39ce26==null?void 0x0:_0x39ce26[_0x550855(0x369)])??Number(_0x5e2e00),_0xaa635f=_0x18c7e3==null||(_0x3c8a9d=_0x18c7e3[_0x550855(0x364)])==null||(_0x3c8a9d=_0x3c8a9d[_0x550855(0x1a7)])==null?void 0x0:_0x3c8a9d[_0x550855(0x337)],_0xc49cd4=(_0x5a7734===_0x1b4be6[_0x550855(0x21c)]||_0x5a7734===_0x1b4be6[_0x550855(0x20d)])&&typeof(_0x18c7e3==null||(_0x41ef35=_0x18c7e3['style'])==null||(_0x41ef35=_0x41ef35[_0x550855(0x1a7)])==null?void 0x0:_0x41ef35[_0x550855(0x379)])==_0x550855(0x36d),_0x5374d7=_0xc49cd4?{'doughnutHole':null}:{},_0x353e50={'unitId':_0x2f48de,'chartId':_0x3744fe[_0x550855(0x1b3)],'chartType':_0x5a7734};if(_0x39ce26!=null&&_0x39ce26[_0x550855(0x350)]){var _0x8c3e8c;return{..._0x353e50,'style':{..._0x18c7e3==null?void 0x0:_0x18c7e3['style'],'pie':{..._0x18c7e3==null||(_0x8c3e8c=_0x18c7e3[_0x550855(0x364)])==null?void 0x0:_0x8c3e8c[_0x550855(0x1a7)],..._0x5374d7,'composite':{..._0xaa635f,'enabled':!0x0,'secondaryPlot':{..._0xaa635f==null?void 0x0:_0xaa635f[_0x550855(0x3ba)],'type':_0x39ce26[_0x550855(0x350)]}}}}};}if(_0x5a7734===_0x1b4be6[_0x550855(0x21c)]&&_0xaa635f){var _0x3612ca;return{..._0x353e50,'style':{..._0x18c7e3==null?void 0x0:_0x18c7e3[_0x550855(0x364)],'pie':{..._0x18c7e3==null||(_0x3612ca=_0x18c7e3['style'])==null?void 0x0:_0x3612ca[_0x550855(0x1a7)],..._0x5374d7,'composite':{..._0xaa635f,'enabled':!0x1}}}};}return _0xc49cd4?{..._0x353e50,'style':{'pie':_0x5374d7}}:_0x353e50;},'disable':!_0x18c7e3,'value':_0x39b02b,'options':_0x4c85c8},{'type':'button','label':this[_0x3fda85(0x320)]['t'](_0x3fda85(0x345)),'index':0x1,'commandId':F['id'],'commandParams':{'unitId':_0x2f48de,'chartId':_0x3744fe['chartId'],'drawingId':_0x3744fe[_0x3fda85(0x3e4)]},'disable':!0x1,'icon':_0x3fda85(0x394)},{'type':_0x3fda85(0x1cb),'label':this[_0x3fda85(0x320)]['t'](_0x3fda85(0x371)),'index':0x2,'commandId':_0x58d457['id'],'commandParams':{'unitId':_0x2f48de,'drawings':[{'unitId':_0x2f48de,'subUnitId':_0x1db485,'drawingId':_0x3744fe[_0x3fda85(0x3e4)]}]},'disable':!0x1,'icon':'DrawingDeleteIcon'}];}}));}};G=L([I(0x0,_0xd3701),I(0x1,_0x49aabf(_0x35a0b1)),I(0x2,_0x49aabf(_0x134d41)),I(0x3,_0x49aabf(_0x2052de))],G);function di(_0xfd3c36){const _0xaf8678=_0x417a4a;let _0x33c246=_0xfd3c36;return(_0x33c246==null?void 0x0:_0x33c246[_0xaf8678(0x308)])===_0x12af05['DRAWING_CHART']&&typeof _0x33c246[_0xaf8678(0x1b3)]==_0xaf8678(0x291)?_0x33c246:null;}const fi=_0x5aff36('doc-chart.snapshot-renderer');var pi=class{constructor(_0x15e51c,_0x224f0a){const _0x3e337a=_0x417a4a;this[_0x3e337a(0x277)]=_0x15e51c,this['_renderModelManager']=_0x224f0a;}async[_0x417a4a(0x30c)](_0x4aaf4c,_0x5658cf){const _0x5e4bff=_0x417a4a;if(typeof document>'u')throw TypeError(_0x5e4bff(0x256));let {chartConfig:_0xe00def,chartStyle:_0x3b47e8}=this['_renderService']['createRenderInput'](_0x5658cf);if(_0x4aaf4c[_0x5e4bff(0x1a6)]===_0x3fbd21['SVG'])return(await this['_renderModelManager']['exportImage']({'chartId':_0x5658cf[_0x5e4bff(0x1b3)],'config':_0xe00def,'style':_0x3b47e8,'width':_0x4aaf4c[_0x5e4bff(0x2ec)],'height':_0x4aaf4c[_0x5e4bff(0x232)]},{'format':_0x4aaf4c[_0x5e4bff(0x1a6)]}))[_0x5e4bff(0x1ae)];let _0x1d9748=new _0x69442(_0x5658cf[_0x5e4bff(0x1b3)],{'width':_0x4aaf4c['width'],'height':_0x4aaf4c['height']}),_0x1b9c68=this[_0x5e4bff(0x277)][_0x5e4bff(0x2aa)](_0x5435df['Image']);try{_0x1b9c68['bind'](_0x1d9748),await _0x1b9c68['render']({'chartId':_0x5658cf[_0x5e4bff(0x1b3)],'config':_0xe00def,'style':_0x3b47e8});let _0xf8ec70=_0x1d9748['getDataUrl']();if(!_0xf8ec70)throw Error(_0x5e4bff(0x1e2)+_0x5658cf[_0x5e4bff(0x223)]+'/'+_0x5658cf[_0x5e4bff(0x1b3)]);return _0xf8ec70;}finally{_0x1b9c68['dispose'](),_0x1d9748['dispose']();}}};let K=class extends _0x3cd38c{constructor(_0x117d7e,_0xec1aa2,_0x55ba92,_0x164bf3,_0x43e385){super(_0x117d7e,_0xec1aa2,_0x43e385??new pi(_0x55ba92,_0x164bf3));}[_0x417a4a(0x39a)](_0x2c40cd){const _0x21f2a0=_0x417a4a;let _0x4d990e=super[_0x21f2a0(0x39a)](_0x2c40cd);return _0x2c40cd[_0x21f2a0(0x1a6)]===_0x3fbd21['SVG']?_0x4d990e+'::'+_0x2c40cd[_0x21f2a0(0x1a6)]:_0x4d990e;}};K=L([I(0x0,_0x49aabf(_0x2052de)),I(0x1,_0x49aabf(_0x4aeeb5)),I(0x2,_0x49aabf(V)),I(0x3,_0x5daafa),I(0x4,_0x4f5f6a(fi))],K);let q=class extends _0x45d2af{constructor(_0x1cf022,_0x28d43d){const _0x3bef27=_0x417a4a;super(),this[_0x3bef27(0x2cb)]=_0x1cf022,this[_0x3bef27(0x2f3)]=_0x28d43d,B(this,'_runtimeStateSubscriptions',new Map()),this[_0x3bef27(0x3b1)]();}['_listenRuntimeData'](){const _0x20297b=_0x417a4a;this[_0x20297b(0x207)](this[_0x20297b(0x2f3)][_0x20297b(0x25d)][_0x20297b(0x1b9)](_0x1159a7=>this['_bindRuntimeState'](_0x1159a7))),this['disposeWithMe'](this[_0x20297b(0x2f3)][_0x20297b(0x1c9)]['subscribe'](_0x3e572b=>this[_0x20297b(0x2db)](_0x3e572b))),this['disposeWithMe'](_0xd12a2c(()=>{const _0xe8bfb1=_0x20297b;this[_0xe8bfb1(0x1bb)][_0xe8bfb1(0x210)](({subscription:_0x34b943})=>_0x34b943[_0xe8bfb1(0x275)]()),this[_0xe8bfb1(0x1bb)][_0xe8bfb1(0x3cf)]();}));}[_0x417a4a(0x24b)](_0x29c8b8){const _0x250700=_0x417a4a;if(this['_runtimeStateSubscriptions'][_0x250700(0x2e8)](_0x29c8b8))return;let _0x55b027=_0x29c8b8[_0x250700(0x29e)][_0x250700(0x2fc)]==null?0x0:0x1,_0x46ae00=_0xe710bc([_0x29c8b8['model'][_0x250700(0x1d8)][_0x250700(0x268)](_0x3f429c(_0x8a65c2=>_0x8a65c2!=null)),_0x29c8b8[_0x250700(0x29e)]['style$']])[_0x250700(0x268)](_0xa78bf1(_0x55b027),_0xd42425(0x0))[_0x250700(0x1b9)](()=>this['_snapshotService'][_0x250700(0x31f)](_0x29c8b8[_0x250700(0x223)],_0x29c8b8['chartId']));this['_runtimeStateSubscriptions']['set'](_0x29c8b8,{'subscription':_0x46ae00});}['_releaseRuntimeState'](_0x1f1869){const _0x4a5bee=_0x417a4a;var _0x722313;(_0x722313=this[_0x4a5bee(0x1bb)][_0x4a5bee(0x28e)](_0x1f1869))==null||_0x722313['subscription']['unsubscribe'](),this[_0x4a5bee(0x1bb)][_0x4a5bee(0x29a)](_0x1f1869);}};q=L([I(0x0,_0x49aabf(K)),I(0x1,_0x49aabf(_0x4aeeb5))],q);const J=P['id'],mi=J+_0x417a4a(0x251);function hi(_0x2982b3){const _0x4d9dfa=_0x417a4a;return _0xe710bc([_0x27084d(_0x2982b3),gi(_0x2982b3)])[_0x4d9dfa(0x268)](_0x1d07dc(([_0x7f064,_0x4dce15])=>_0x7f064||_0x4dce15));}function gi(_0x388706){const _0x4c69a2=_0x417a4a;let _0x4f67bc=_0x388706[_0x4c69a2(0x28e)](_0x2377fb),_0x5f4d93=_0x388706[_0x4c69a2(0x28e)](_0x10ec90);return new _0x5d518a(_0x5ce7e8=>{const _0x2ec9ab=_0x4c69a2;let _0x26bf4f=_0x54270f=>{const _0x2f7537=_0x32bc;let _0x866962=_0x5f4d93['getCurrentUnitOfType'](_0x5aa26b['UNIVER_DOC']);if(!_0x866962){_0x5ce7e8[_0x2f7537(0x3a0)](!0x0);return;}let _0x4fa746=_0x866962[_0x2f7537(0x3d4)](),_0x561735=(_0x54270f==null?void 0x0:_0x54270f[_0x2f7537(0x223)])===_0x4fa746?_0x54270f[_0x2f7537(0x3df)]??[]:[..._0x4f67bc['getTextRanges']({'unitId':_0x4fa746,'subUnitId':_0x4fa746})??[]];if(_0x561735[_0x2f7537(0x2d5)]!==0x1){_0x5ce7e8['next'](!0x0);return;}let _0x16e481=_0x561735[_0x2f7537(0x3b7)](_0x58c5c0=>_0x58c5c0['isActive'])??_0x561735[0x0];if(!_0x16e481||!_0x16e481[_0x2f7537(0x36a)]||_0x16e481['startOffset']==null){_0x5ce7e8[_0x2f7537(0x3a0)](!0x0);return;}let _0x126797=H(_0x866962,{..._0x16e481,'segmentId':_0x16e481[_0x2f7537(0x376)]??(_0x54270f==null?void 0x0:_0x54270f[_0x2f7537(0x376)])??''});_0x5ce7e8[_0x2f7537(0x3a0)](_0x126797==null);};_0x26bf4f();let _0x5d3b1d=_0x4f67bc[_0x2ec9ab(0x2ff)][_0x2ec9ab(0x1b9)](_0x52a994=>_0x26bf4f(_0x52a994));return()=>_0x5d3b1d[_0x2ec9ab(0x275)]();});}function _i(_0x28a7ff){return vi(_0x28a7ff);}function vi(_0x1799d4){const _0x14c615=_0x417a4a;let _0xfff9b6=_0x1799d4[_0x14c615(0x28e)](_0x2052de)['t'](_0x14c615(0x264));return{'id':J,'commandId':P['id'],'type':_0x117f33[_0x14c615(0x388)],'icon':_0x14c615(0x234),'title':_0xfff9b6,'tooltip':_0xfff9b6,'disabled$':hi(_0x1799d4),'hidden$':_0x3c14e6(_0x1799d4,_0x5aa26b[_0x14c615(0x1a4)])};}function yi(_0x2c9f73){const _0x38c08f=_0x417a4a;let _0x385868=_0x2c9f73[_0x38c08f(0x28e)](_0x2052de)['t'](_0x38c08f(0x264));return{'id':mi,'commandId':P['id'],'type':_0x117f33['BUTTON'],'icon':_0x38c08f(0x234),'title':_0x385868,'tooltip':_0x385868,'disabled$':hi(_0x2c9f73),'hidden$':_0x3c14e6(_0x2c9f73,_0x5aa26b['UNIVER_DOC'])};}const bi={[_0x4e8538['MEDIA']]:{[J]:{'order':2.5,'gridLayout':{'row':0x2,'column':0x4},'menuItemFactory':_i}},[_0x565b75[_0x417a4a(0x24d)]]:{[_0x2cb0a3[_0x417a4a(0x1db)]]:{[_0xe68e0f]:{[J]:{'order':4.5,'menuItemFactory':vi}}},[_0x557411]:{[_0x2cb0a3[_0x417a4a(0x1db)]]:{[J]:{'order':5.5,'menuItemFactory':vi}}},[_0x4737f6]:{[_0x2cb0a3['LAYOUT']]:{[J]:{'order':4.5,'menuItemFactory':vi}}},[_0x15dc0b]:{'insert':{[J]:{'order':1.5,'menuItemFactory':vi}}},[_0x380d46]:{'insert':{[mi]:{'order':1.5,'menuItemFactory':yi}}}}};var xi=_0x417a4a(0x1fd),Si='1.0.1',Ci=class extends _0x18ba90{constructor(..._0x428c49){super(..._0x428c49),B(this,'_imageContentHidden',!0x1);}get['imageContentHidden'](){const _0x23fc6c=_0x417a4a;return this[_0x23fc6c(0x3e8)];}[_0x417a4a(0x38b)](_0x193368){const _0x3a9dad=_0x417a4a;this['_imageContentHidden']!==_0x193368&&(this[_0x3a9dad(0x3e8)]=_0x193368,this[_0x3a9dad(0x23c)](!0x0));}['_draw'](_0x2b4766,_0x4fd3e4,_0x35972d,_0x418572){const _0x38ae39=_0x417a4a;this[_0x38ae39(0x3e8)]||super[_0x38ae39(0x3c2)](_0x2b4766,_0x4fd3e4,_0x35972d,_0x418572);}};const wi={..._0x84163b,'rotateEnabled':!0x1,'keepRatio':!0x1,'moveBoundaryEnabled':!0x1};let Y=class extends _0x45d2af{constructor(_0x1ca8c2,_0x3da9f9,_0x37e327){const _0x5abd1f=_0x417a4a;super(),this[_0x5abd1f(0x348)]=_0x1ca8c2,this[_0x5abd1f(0x32c)]=_0x3da9f9,this[_0x5abd1f(0x24a)]=_0x37e327,B(this,_0x5abd1f(0x278),new Set()),this['_init']();}['setActiveDomReady'](_0x8cfcc0,_0x2a59f1){const _0xa61890=_0x417a4a;let _0x135b3f=_0x9ad16e(_0x8cfcc0);_0x2a59f1?this[_0xa61890(0x278)][_0xa61890(0x39e)](_0x135b3f):this[_0xa61890(0x278)]['delete'](_0x135b3f),this['_syncRenderedChartVisibility'](_0x8cfcc0);}[_0x417a4a(0x1b5)](){const _0x316164=_0x417a4a;this[_0x316164(0x207)](this[_0x316164(0x348)][_0x316164(0x1e6)][_0x316164(0x1b9)](_0x4ef009=>{const _0x37b529=_0x316164;this[_0x37b529(0x365)](_0x4ef009);})),this[_0x316164(0x207)](this['_drawingManagerService'][_0x316164(0x34d)][_0x316164(0x1b9)](_0x2f7dc7=>{const _0x531c06=_0x316164;this[_0x531c06(0x365)](_0x2f7dc7);})),this[_0x316164(0x207)](this[_0x316164(0x348)][_0x316164(0x1d2)][_0x316164(0x1b9)](_0x5ac0d1=>{const _0x2b1cce=_0x316164;this[_0x2b1cce(0x2f4)](_0x5ac0d1);})),this[_0x316164(0x207)](this[_0x316164(0x24a)][_0x316164(0x29f)][_0x316164(0x1b9)](({unitId:_0x2df114,chartId:_0x478198})=>{const _0x14dd8a=_0x316164;this[_0x14dd8a(0x305)](_0x2df114,_0x478198);})),this[_0x316164(0x207)](this[_0x316164(0x24a)][_0x316164(0x31a)]['subscribe'](_0x3c9427=>{const _0x410f54=_0x316164;if(_0x3c9427[_0x410f54(0x2f6)]!==_0x410f54(0x19e)||!_0x3c9427[_0x410f54(0x1ae)])return;let [_0xe6d714,_0x30a008]=_0x3c9427[_0x410f54(0x35d)]['split']('::');_0xe6d714&&_0x30a008&&this['_renderCharts'](_0xe6d714,_0x30a008,_0x3c9427['dataUrl']);}));}[_0x417a4a(0x365)](_0x4f55c2){const _0x2fa82c=_0x417a4a;_0x4f55c2[_0x2fa82c(0x210)](_0x2cc3aa=>{const _0x5f1058=_0x2fa82c;let _0x24fb0f=this[_0x5f1058(0x36e)](_0x2cc3aa);_0x24fb0f&&this[_0x5f1058(0x287)](_0x24fb0f);});}[_0x417a4a(0x305)](_0x46b79e,_0x16644f){const _0x2170c4=_0x417a4a;this[_0x2170c4(0x3d9)](_0x46b79e,_0x5580c3=>{const _0x595df1=_0x2170c4;(_0x16644f==null||_0x5580c3['chartId']===_0x16644f)&&this[_0x595df1(0x287)](_0x5580c3);});}['_requestSnapshot'](_0x29f99d){const _0x4ce8a3=_0x417a4a;let _0x1cd232=this['_getDrawingRect'](_0x29f99d);if(!_0x1cd232)return;let _0x34aff1=this[_0x4ce8a3(0x24a)][_0x4ce8a3(0x1ee)]({'unitId':_0x29f99d[_0x4ce8a3(0x223)],'chartId':_0x29f99d[_0x4ce8a3(0x1b3)],'width':_0x1cd232[_0x4ce8a3(0x2ec)],'height':_0x1cd232[_0x4ce8a3(0x232)],'dpr':_0x1a3acd,'mode':_0x4ce8a3(0x204)});_0x34aff1[_0x4ce8a3(0x2f6)]===_0x4ce8a3(0x19e)&&_0x34aff1[_0x4ce8a3(0x1ae)]&&this[_0x4ce8a3(0x3af)](_0x29f99d,_0x34aff1['dataUrl']);}['_renderCharts'](_0x2765d8,_0x162b67,_0x42622c){const _0x41294c=_0x417a4a;this[_0x41294c(0x3d9)](_0x2765d8,_0x464e0f=>{const _0x3de8c6=_0x41294c;_0x464e0f[_0x3de8c6(0x1b3)]===_0x162b67&&this[_0x3de8c6(0x3af)](_0x464e0f,_0x42622c);});}[_0x417a4a(0x3af)](_0x977113,_0x1e9a39){const _0x1064de=_0x417a4a;let _0x1ef1bb=this[_0x1064de(0x32c)][_0x1064de(0x255)](_0x977113[_0x1064de(0x223)]),_0x1821ef=_0x1ef1bb==null?void 0x0:_0x1ef1bb[_0x1064de(0x38c)];if(!_0x1821ef||!this['_getDrawingRect'](_0x977113))return;let _0x4bd08e=_0x9ad16e(_0x977113),_0x5cc4e5=_0x1821ef[_0x1064de(0x29c)](_0x4bd08e);if(_0x5cc4e5!=null&&_0x5cc4e5[_0x1064de(0x1d7)]){var _0x607888,_0x4582a5,_0x2a894e,_0xc47290;_0x5cc4e5[_0x1064de(0x27e)]={..._0x5cc4e5[_0x1064de(0x27e)],...wi},(_0x607888=_0x5cc4e5[_0x1064de(0x3d2)])==null||(_0x607888=_0x607888[_0x1064de(0x28c)](_0x5cc4e5))==null||_0x607888[_0x1064de(0x1b8)](_0x1064de(0x378),()=>{const _0x44e7ca=_0x1064de;var _0xa26593;(_0xa26593=_0x5cc4e5['makeDirty'])==null||_0xa26593[_0x44e7ca(0x28c)](_0x5cc4e5,!0x0),_0x1821ef[_0x44e7ca(0x23c)](!0x0),_0x1821ef['requestRender']()[_0x44e7ca(0x294)](()=>{});},{'once':!0x0}),_0x5cc4e5[_0x1064de(0x1d7)](_0x1e9a39);let {clipBounds:_0x4fb219,..._0x431307}=_0x977113[_0x1064de(0x1c1)]??{};(_0x4582a5=_0x5cc4e5[_0x1064de(0x33a)])==null||_0x4582a5[_0x1064de(0x28c)](_0x5cc4e5,_0x431307),(_0x2a894e=_0x5cc4e5[_0x1064de(0x2d1)])==null||_0x2a894e[_0x1064de(0x28c)](_0x5cc4e5,_0x4fb219),this[_0x1064de(0x3cb)](_0x5cc4e5,_0x977113,_0x4bd08e),(_0xc47290=_0x5cc4e5[_0x1064de(0x23c)])==null||_0xc47290[_0x1064de(0x28c)](_0x5cc4e5,!0x0),_0x1821ef[_0x1064de(0x23c)](!0x0);return;}this['_createImageShape'](_0x977113,_0x1e9a39,_0x1821ef,_0x4bd08e);}[_0x417a4a(0x3c1)](_0x4eb435,_0x2a7396,_0x198905,_0xee4c5){const _0x45b501=_0x417a4a;let _0x158a39=_0x4eb435['transform'];if(!_0x158a39)return;let _0x5d03eb=this[_0x45b501(0x348)][_0x45b501(0x1be)](_0x4eb435[_0x45b501(0x223)],_0x4eb435[_0x45b501(0x271)]),_0x51fd4d=_0x5d03eb['indexOf'](_0x4eb435[_0x45b501(0x3e4)]),_0x195740={..._0x158a39,'zIndex':_0x51fd4d===-0x1?_0x5d03eb['length']-0x1:_0x51fd4d,'clipBounds':_0x158a39[_0x45b501(0x396)],'printable':!0x0,'rotateEnabled':!0x1,'transformerConfig':wi,'url':_0x2a7396};_0x4eb435['hidden']&&(_0x195740[_0x45b501(0x3d8)]=!0x1);let _0x5c4c45=new Ci(_0xee4c5,_0x195740);_0x5c4c45[_0x45b501(0x38b)](this[_0x45b501(0x278)][_0x45b501(0x2e8)](_0xee4c5)),_0x198905[_0x45b501(0x311)](_0x5c4c45,_0x69b6fd),this[_0x45b501(0x348)][_0x45b501(0x2bc)]()&&_0x198905[_0x45b501(0x3e0)](_0x5c4c45);}[_0x417a4a(0x2f4)](_0x583320){const _0x4fac89=_0x417a4a;_0x583320[_0x4fac89(0x210)](_0x42cac4=>{const _0x125020=_0x4fac89;this[_0x125020(0x278)][_0x125020(0x29a)](_0x9ad16e(_0x42cac4));let _0x259e3e=this['_renderManagerService']['getRenderUnitById'](_0x42cac4[_0x125020(0x223)]),_0xbeaaa3=_0x259e3e==null?void 0x0:_0x259e3e['scene'];if(!_0xbeaaa3)return;let _0x215f79=_0xbeaaa3[_0x125020(0x29c)](_0x9ad16e(_0x42cac4));_0x215f79&&_0xbeaaa3[_0x125020(0x33d)](_0x215f79);});}[_0x417a4a(0x30a)](_0x2b1f00){const _0x21e85e=_0x417a4a;let _0x389763=this[_0x21e85e(0x32c)][_0x21e85e(0x255)](_0x2b1f00[_0x21e85e(0x223)]),_0x24af1=_0x389763==null?void 0x0:_0x389763[_0x21e85e(0x38c)];if(!_0x24af1)return;let _0x5676a9=_0x9ad16e(_0x2b1f00),_0x54fd68=_0x24af1[_0x21e85e(0x29c)](_0x5676a9);if(!_0x54fd68)return;let _0x2a2f4b=this[_0x21e85e(0x348)][_0x21e85e(0x390)](_0x2b1f00);this[_0x21e85e(0x3cb)](_0x54fd68,_0x2a2f4b,_0x5676a9);}[_0x417a4a(0x3cb)](_0xf6f006,_0x273f53,_0x416e89){const _0x219205=_0x417a4a;var _0xbdfb7b,_0x110168;let _0x693bfc=this[_0x219205(0x278)][_0x219205(0x2e8)](_0x416e89);if(_0xf6f006[_0x219205(0x38b)]){var _0x28a307,_0x4a1c4f;_0xf6f006[_0x219205(0x38b)](_0x693bfc),(_0x273f53==null?void 0x0:_0x273f53[_0x219205(0x2d2)])===!0x0?(_0x28a307=_0xf6f006['hide'])==null||_0x28a307[_0x219205(0x28c)](_0xf6f006):(_0x4a1c4f=_0xf6f006['show'])==null||_0x4a1c4f['call'](_0xf6f006);return;}(_0x273f53==null?void 0x0:_0x273f53[_0x219205(0x2d2)])===!0x0?(_0xbdfb7b=_0xf6f006['hide'])==null||_0xbdfb7b[_0x219205(0x28c)](_0xf6f006):(_0x110168=_0xf6f006[_0x219205(0x3e1)])==null||_0x110168['call'](_0xf6f006);}[_0x417a4a(0x36e)](_0x19e351){const _0x41bb6c=_0x417a4a;let _0x58134c=this[_0x41bb6c(0x348)][_0x41bb6c(0x390)](_0x19e351);return Ti(_0x58134c)?_0x58134c:null;}[_0x417a4a(0x3d9)](_0x59e983,_0x154269){const _0x2d42a4=_0x417a4a;let _0x510e0a=this[_0x2d42a4(0x348)][_0x2d42a4(0x261)](_0x59e983),_0x25b7f1=_0x510e0a==null?void 0x0:_0x510e0a[_0x59e983];_0x25b7f1&&_0x25b7f1[_0x2d42a4(0x1de)][_0x2d42a4(0x210)](_0x602aa6=>{const _0xf1eb0d=_0x2d42a4;let _0x571240=_0x25b7f1[_0xf1eb0d(0x2dc)][_0x602aa6];Ti(_0x571240)&&_0x154269(_0x571240);});}['_getDrawingRect'](_0x4486d2){const _0x31de7f=_0x417a4a;var _0x234ea8,_0x3d8c5c,_0x1db7dc,_0x38f389;let _0x21c484=((_0x234ea8=_0x4486d2['transform'])==null?void 0x0:_0x234ea8[_0x31de7f(0x2ec)])??((_0x3d8c5c=_0x4486d2['docTransform'])==null||(_0x3d8c5c=_0x3d8c5c[_0x31de7f(0x380)])==null?void 0x0:_0x3d8c5c['width'])??0x0,_0x2a84b6=((_0x1db7dc=_0x4486d2['transform'])==null?void 0x0:_0x1db7dc[_0x31de7f(0x232)])??((_0x38f389=_0x4486d2[_0x31de7f(0x377)])==null||(_0x38f389=_0x38f389[_0x31de7f(0x380)])==null?void 0x0:_0x38f389[_0x31de7f(0x232)])??0x0;return _0x21c484<=0x0||_0x2a84b6<=0x0?null:{'width':Math[_0x31de7f(0x2df)](0x1,Math[_0x31de7f(0x272)](_0x21c484)),'height':Math[_0x31de7f(0x2df)](0x1,Math['round'](_0x2a84b6))};}};Y=L([I(0x0,_0x5265a1),I(0x1,_0x2bf97c),I(0x2,_0x49aabf(K))],Y);function Ti(_0x3c2b7e){const _0xaec433=_0x417a4a;let _0x27bc21=_0x3c2b7e;return(_0x27bc21==null?void 0x0:_0x27bc21[_0xaec433(0x308)])===_0x12af05[_0xaec433(0x317)]&&typeof _0x27bc21[_0xaec433(0x1b3)]=='string';}function Ei(_0x27d233){return _0xe0cb81(_0x1e7d8a,{'children':_0xe0cb81(Cr,{..._0x27d233})});}function Di(_0x4cd3b2){return _0xe0cb81(_0x1e7d8a,{'children':_0xe0cb81(Kr,{..._0x4cd3b2,'mobile':!0x0,'ProviderComponent':_0x33df36})});}function Oi(_0x56b130){return _0xe0cb81(_0x1e7d8a,{'children':_0xe0cb81(si,{..._0x56b130})});}function ki(_0x29a464,_0x3142a8,_0x9dde8a=0x1,_0xede992=0x0){const _0x4fdf02=_0x417a4a;let {top:_0x3e15db,left:_0x5a0e43,bottom:_0x578cc6,right:_0xc8952e}=_0x29a464,_0x2f300f=_0xc8952e-_0x5a0e43,_0x4c45ad=_0x578cc6-_0x3e15db,{viewportScrollX:_0x393b0,viewportScrollY:_0x28f415}=_0x3142a8[_0x4fdf02(0x32d)](_0x5cd444['VIEW_MAIN']),{scaleX:_0x165eff,scaleY:_0x501a11}=_0x3142a8[_0x4fdf02(0x1ca)](),_0xc66091=(_0x5a0e43-_0x393b0)*_0x165eff,_0x41767c=(_0x3e15db-_0x28f415)*_0x501a11,_0x1d3e7f=_0x2f300f*_0x165eff,_0x5b09ec=_0x4c45ad*_0x501a11;return{'startX':_0xc66091,'startY':_0x41767c,'endX':_0xc66091+_0x1d3e7f,'endY':_0x41767c+_0x5b09ec,'width':_0x1d3e7f,'height':_0x5b09ec,'rotate':_0xede992,'absolute':{'left':!0x1,'top':!0x1},'opacity':_0x9dde8a};}function Ai(_0x4d421f,_0x5ea018){const _0x44843a=_0x417a4a;return _0x4d421f[_0x44843a(0x223)]===_0x5ea018[_0x44843a(0x223)]&&(_0x4d421f[_0x44843a(0x271)]??_0x4d421f[_0x44843a(0x223)])===(_0x5ea018[_0x44843a(0x271)]??_0x5ea018[_0x44843a(0x223)])&&_0x4d421f[_0x44843a(0x3e4)]===_0x5ea018[_0x44843a(0x3e4)];}function ji(_0x341c6e,_0x397559=0x0){const _0x392a86=_0x417a4a;return _0x341c6e['find'](_0x33c418=>typeof _0x33c418=='number'&&Number[_0x392a86(0x2f8)](_0x33c418))??_0x397559;}function Mi(_0x1b74fc,_0x28ec6f){const _0x551d1e=_0x417a4a;var _0xfd522,_0x3ea8c2,_0xa3163b,_0x154ca9,_0xd47f32,_0x53f6a5,_0x2aa367;let _0x1a8f85=_0x28ec6f==null||(_0xfd522=_0x28ec6f[_0x551d1e(0x248)])==null?void 0x0:_0xfd522[_0x551d1e(0x28c)](_0x28ec6f),_0x54ba06=ji([_0x1a8f85==null?void 0x0:_0x1a8f85[_0x551d1e(0x2ec)],(_0x3ea8c2=_0x1b74fc['transform'])==null?void 0x0:_0x3ea8c2[_0x551d1e(0x2ec)],(_0xa3163b=_0x1b74fc[_0x551d1e(0x377)])==null||(_0xa3163b=_0xa3163b[_0x551d1e(0x380)])==null?void 0x0:_0xa3163b[_0x551d1e(0x2ec)]]),_0xd461c1=ji([_0x1a8f85==null?void 0x0:_0x1a8f85[_0x551d1e(0x232)],(_0x154ca9=_0x1b74fc[_0x551d1e(0x1c1)])==null?void 0x0:_0x154ca9[_0x551d1e(0x232)],(_0xd47f32=_0x1b74fc['docTransform'])==null||(_0xd47f32=_0xd47f32[_0x551d1e(0x380)])==null?void 0x0:_0xd47f32[_0x551d1e(0x232)]]),_0x293569=ji([_0x1a8f85==null?void 0x0:_0x1a8f85[_0x551d1e(0x231)],(_0x53f6a5=_0x1b74fc[_0x551d1e(0x1c1)])==null?void 0x0:_0x53f6a5[_0x551d1e(0x231)]]),_0x12069a=ji([_0x1a8f85==null?void 0x0:_0x1a8f85['top'],(_0x2aa367=_0x1b74fc[_0x551d1e(0x1c1)])==null?void 0x0:_0x2aa367[_0x551d1e(0x386)]]);return{'left':_0x293569,'top':_0x12069a,'right':_0x293569+_0x54ba06,'bottom':_0x12069a+_0xd461c1};}function Ni(_0x39d362,_0x4448ae){const _0x1d813c=_0x417a4a;if(!_0x39d362||typeof _0x39d362!=_0x1d813c(0x32e))return;let _0x50f657=_0x39d362;if(typeof _0x50f657[_0x1d813c(0x338)]=='function'){let _0x5e96ac=_0x50f657[_0x1d813c(0x338)](_0x4448ae);return _0xd12a2c(()=>{const _0xee9293=_0x1d813c;var _0x4d680b;if(typeof _0x5e96ac[_0xee9293(0x384)]=='function'){_0x5e96ac[_0xee9293(0x384)]();return;}(_0x4d680b=_0x5e96ac[_0xee9293(0x275)])==null||_0x4d680b['call'](_0x5e96ac);});}let _0x55367d=_0x39d362;if(typeof _0x55367d[_0x1d813c(0x1b9)]==_0x1d813c(0x393)){let _0x55e4bb=_0x55367d[_0x1d813c(0x1b9)](_0x4448ae);return _0xd12a2c(()=>{const _0x4c2550=_0x1d813c;var _0x151cc5;return(_0x151cc5=_0x55e4bb[_0x4c2550(0x275)])==null?void 0x0:_0x151cc5[_0x4c2550(0x28c)](_0x55e4bb);});}}let X=class extends _0x45d2af{constructor(_0x3073b0,_0x172d38,_0x1bc441,_0x3cd702,_0x85ce2c,_0x58826f,_0x45b160,_0x4bbb00,_0x272890,_0x3a7374){const _0x55808f=_0x417a4a;super(),this[_0x55808f(0x348)]=_0x3073b0,this[_0x55808f(0x32c)]=_0x172d38,this[_0x55808f(0x300)]=_0x1bc441,this[_0x55808f(0x2f3)]=_0x3cd702,this[_0x55808f(0x277)]=_0x85ce2c,this[_0x55808f(0x24a)]=_0x58826f,this[_0x55808f(0x244)]=_0x45b160,this[_0x55808f(0x3b0)]=_0x4bbb00,this['_localeService']=_0x272890,this[_0x55808f(0x23a)]=_0x3a7374,B(this,_0x55808f(0x25e),null),B(this,'_layoutChanged$',new _0x1f8933()),B(this,_0x55808f(0x2c7),new _0x1f8933()),this[_0x55808f(0x1b5)]();}[_0x417a4a(0x243)](_0x29822b){const _0x2ecfaf=_0x417a4a;let _0x4f9fe3=this[_0x2ecfaf(0x2f3)][_0x2ecfaf(0x220)](_0x29822b[_0x2ecfaf(0x223)],_0x29822b[_0x2ecfaf(0x1b3)]);if(!_0x4f9fe3)return _0xd12a2c(()=>{});let _0x255a0e=new Rr(_0x29822b[_0x2ecfaf(0x1b3)],_0x29822b[_0x2ecfaf(0x331)],(_0x3a5e17,_0x51c946)=>this[_0x2ecfaf(0x277)]['applyHostStyle'](_0x3a5e17,_0x51c946),()=>this['_getActiveRenderRect'](_0x29822b),!0x0,()=>this[_0x2ecfaf(0x34b)](_0x29822b)),_0x3dd732=this[_0x2ecfaf(0x277)][_0x2ecfaf(0x2aa)](_0x5435df[_0x2ecfaf(0x217)]);_0x3dd732[_0x2ecfaf(0x3db)](_0x255a0e);let _0x77270=[_0x3dd732['on'](_0x2ecfaf(0x3ae),_0x37d0dd=>{const _0x540de4=_0x2ecfaf;let _0x41df75=_0x513368(_0x4f9fe3[_0x540de4(0x29e)],_0x37d0dd[_0x540de4(0x392)]);if(!_0x41df75)return;let _0x28e9f9=_0x42a61d(_0x41df75[_0x540de4(0x1e4)]);if(_0x28e9f9)return this['_commandService'][_0x540de4(0x282)](F['id'],{'unitId':_0x29822b[_0x540de4(0x223)],'chartId':_0x29822b[_0x540de4(0x1b3)],'drawingId':_0x29822b[_0x540de4(0x3e4)],'route':_0x28e9f9});}),_0x3dd732['on'](_0x2ecfaf(0x38f),()=>this[_0x2ecfaf(0x244)][_0x2ecfaf(0x282)](F['id'],{'unitId':_0x29822b[_0x2ecfaf(0x223)],'chartId':_0x29822b[_0x2ecfaf(0x1b3)],'drawingId':_0x29822b[_0x2ecfaf(0x3e4)]}))],_0x37b109=!0x0;return _0x77270[_0x2ecfaf(0x2c1)](this[_0x2ecfaf(0x293)](_0x4f9fe3,_0x3dd732,_0x255a0e,_0x29822b,()=>_0x37b109)),_0xd12a2c(()=>{const _0x35ca78=_0x2ecfaf;_0x37b109=!0x1,this['_staticRenderController'][_0x35ca78(0x35c)](this[_0x35ca78(0x26d)](_0x29822b),!0x1),_0x77270[_0x35ca78(0x210)](_0x34ea05=>_0x34ea05['dispose']()),_0x3dd732[_0x35ca78(0x384)](),_0x255a0e['dispose']();});}[_0x417a4a(0x384)](){const _0x4baba7=_0x417a4a;this[_0x4baba7(0x2a9)](),this['_layoutChanged$']['complete'](),this[_0x4baba7(0x2c7)][_0x4baba7(0x21f)](),super[_0x4baba7(0x384)]();}[_0x417a4a(0x1b5)](){const _0x506d97=_0x417a4a;this[_0x506d97(0x207)](this[_0x506d97(0x348)][_0x506d97(0x1c7)]['subscribe'](_0x574526=>{const _0x430309=_0x506d97;this[_0x430309(0x3b5)](_0x574526);})),this[_0x506d97(0x207)](this[_0x506d97(0x348)]['remove$'][_0x506d97(0x1b9)](_0x2310e4=>{const _0x5c5d19=_0x506d97;let _0x385037=this['_activeLayer'];_0x385037&&_0x2310e4[_0x5c5d19(0x201)](_0x235a84=>Ai(_0x235a84,_0x385037))&&this[_0x5c5d19(0x2a9)]();})),this['disposeWithMe'](this[_0x506d97(0x348)][_0x506d97(0x34d)][_0x506d97(0x1b9)](_0x14c66c=>{const _0x308ad1=_0x506d97;let _0x28a53a=this['_activeLayer'];if(!_0x28a53a){this[_0x308ad1(0x289)](_0x14c66c);return;}let _0x5cd45a=_0x14c66c[_0x308ad1(0x3b7)](_0x486c95=>Ai(_0x486c95,_0x28a53a));if(_0x5cd45a){let _0x1525af=this[_0x308ad1(0x348)][_0x308ad1(0x390)]({'unitId':_0x5cd45a[_0x308ad1(0x223)],'subUnitId':_0x5cd45a['subUnitId'],'drawingId':_0x5cd45a['drawingId']});this['_isDocChartDrawing'](_0x1525af)&&this[_0x308ad1(0x2bb)](_0x1525af);}})),this[_0x506d97(0x207)](this['_univerInstanceService'][_0x506d97(0x2ae)](_0x5aa26b[_0x506d97(0x1a4)])['subscribe'](_0x239689=>{const _0x4eca6f=_0x506d97;let _0x9bb63e=this[_0x4eca6f(0x25e)];_0x9bb63e&&(_0x239689==null?void 0x0:_0x239689[_0x4eca6f(0x3d4)]())!==_0x9bb63e[_0x4eca6f(0x223)]&&this['_deactivate']();}));}[_0x417a4a(0x293)](_0x3811d2,_0x537b10,_0x3e7c0b,_0xf4b5e8,_0x203477){const _0x5a1133=_0x417a4a;let _0x9fed1=()=>{const _0x460662=_0x32bc;let {chartConfig:_0x377715,chartStyle:_0x16f4ea}=this['_renderService']['createRenderInput'](_0x3811d2);Promise['resolve'](_0x537b10[_0x460662(0x30c)]({'chartId':_0x3811d2[_0x460662(0x1b3)],'config':_0x377715,'style':_0x16f4ea}))[_0x460662(0x245)](()=>{const _0x2f5cd9=_0x460662;_0x203477()&&this['_isActiveLayer'](_0xf4b5e8)&&this[_0x2f5cd9(0x23a)][_0x2f5cd9(0x35c)](this[_0x2f5cd9(0x26d)](_0xf4b5e8),!0x0);},()=>{});},_0x1c3620=_0xe710bc([_0x3811d2[_0x5a1133(0x29e)]['config$'],_0x3811d2['model'][_0x5a1133(0x28b)],this[_0x5a1133(0x320)]['direction$']])[_0x5a1133(0x268)](_0x3f429c(([_0x31c9eb])=>_0x31c9eb!=null))[_0x5a1133(0x1b9)](_0x9fed1),_0x4b45ec=this[_0x5a1133(0x1f1)]['pipe'](_0x3f429c(_0x377941=>_0x377941===_0xf4b5e8['drawingId']))[_0x5a1133(0x1b9)](_0x9fed1),_0x4b7921=this[_0x5a1133(0x2c7)][_0x5a1133(0x268)](_0x3f429c(_0x26d23a=>_0x26d23a===_0xf4b5e8[_0x5a1133(0x3e4)]))[_0x5a1133(0x1b9)](()=>_0x3e7c0b['syncLayout']());return _0xd12a2c(()=>{const _0x14ac24=_0x5a1133;_0x1c3620[_0x14ac24(0x275)](),_0x4b45ec[_0x14ac24(0x275)](),_0x4b7921[_0x14ac24(0x275)]();});}[_0x417a4a(0x3b5)](_0xeeced5){const _0x256f82=_0x417a4a;let _0x54d97c=(_0xeeced5??[])[_0x256f82(0x200)](_0x4fcca3=>this[_0x256f82(0x1eb)](_0x4fcca3));if(_0x54d97c[_0x256f82(0x2d5)]!==0x1){this[_0x256f82(0x2a9)]();return;}this['_activate'](_0x54d97c[0x0]);}[_0x417a4a(0x20f)](_0x5eefd5){const _0x1e9850=_0x417a4a;var _0x5e428a,_0x4d05d0,_0x42f473;let _0x58e1fd=this[_0x1e9850(0x22d)](_0x5eefd5),_0x48af0a=this[_0x1e9850(0x2a6)](_0x5eefd5),_0x2a61a0=_0x5eefd5[_0x1e9850(0x271)]??_0x5eefd5[_0x1e9850(0x223)];if(!_0x58e1fd||!_0x48af0a){this[_0x1e9850(0x2a9)]();return;}if(((_0x5e428a=this[_0x1e9850(0x25e)])==null?void 0x0:_0x5e428a['unitId'])===_0x5eefd5[_0x1e9850(0x223)]&&this[_0x1e9850(0x25e)][_0x1e9850(0x271)]===_0x2a61a0&&this[_0x1e9850(0x25e)][_0x1e9850(0x3e4)]===_0x5eefd5[_0x1e9850(0x3e4)]&&this['_activeLayer'][_0x1e9850(0x1b3)]===_0x5eefd5[_0x1e9850(0x1b3)]){let _0x16d899=this[_0x1e9850(0x25e)]['scene']!==_0x58e1fd[_0x1e9850(0x38c)];this[_0x1e9850(0x25e)][_0x1e9850(0x38c)]=_0x58e1fd[_0x1e9850(0x38c)],this[_0x1e9850(0x25e)][_0x1e9850(0x202)]=_0x58e1fd[_0x1e9850(0x202)],this[_0x1e9850(0x25e)][_0x1e9850(0x37a)]=_0x58e1fd[_0x1e9850(0x37a)],this[_0x1e9850(0x25e)]['renderRect']=_0x48af0a,this[_0x1e9850(0x25e)][_0x1e9850(0x28a)][_0x1e9850(0x3a0)](_0x58e1fd['position']),_0x16d899&&this[_0x1e9850(0x2fd)](this[_0x1e9850(0x25e)]);return;}this[_0x1e9850(0x2a9)]();let _0x13b95c=new _0x3b2f84(_0x58e1fd[_0x1e9850(0x1bc)]),_0x4d3016=this[_0x1e9850(0x32c)]['getRenderUnitById'](_0x5eefd5[_0x1e9850(0x223)]),_0x3d8b84=_0x4d3016==null||(_0x42f473=(_0x4d05d0=_0x4d3016[_0x1e9850(0x354)])[_0x1e9850(0x3a4)])==null?void 0x0:_0x42f473[_0x1e9850(0x28c)](_0x4d05d0);this[_0x1e9850(0x300)]['addFloatDom']({'id':_0x5eefd5[_0x1e9850(0x3e4)],'componentKey':Pi,'position$':_0x13b95c,'unitId':_0x5eefd5[_0x1e9850(0x223)],'contentBox':{'wrapperInset':0x0,'contentInset':0x0},'props':{'chartId':_0x5eefd5[_0x1e9850(0x1b3)],'subUnitId':_0x2a61a0},'onPointerDown':_0x269a33=>_0x3d8b84==null?void 0x0:_0x3d8b84[_0x1e9850(0x1ff)](new PointerEvent(_0x269a33[_0x1e9850(0x2e6)],_0x269a33)),'onPointerMove':_0x59d5e6=>_0x3d8b84==null?void 0x0:_0x3d8b84[_0x1e9850(0x1ff)](new PointerEvent(_0x59d5e6[_0x1e9850(0x2e6)],_0x59d5e6)),'onPointerUp':_0x48905d=>_0x3d8b84==null?void 0x0:_0x3d8b84[_0x1e9850(0x1ff)](new PointerEvent(_0x48905d[_0x1e9850(0x2e6)],_0x48905d)),'onWheel':_0x5437f1=>_0x3d8b84==null?void 0x0:_0x3d8b84[_0x1e9850(0x1ff)](new WheelEvent(_0x5437f1[_0x1e9850(0x2e6)],_0x5437f1))}),this[_0x1e9850(0x2f3)][_0x1e9850(0x1b4)](_0x5eefd5[_0x1e9850(0x223)],_0x5eefd5['chartId']);let _0x524534={'unitId':_0x5eefd5[_0x1e9850(0x223)],'subUnitId':_0x2a61a0,'drawingId':_0x5eefd5[_0x1e9850(0x3e4)],'chartId':_0x5eefd5[_0x1e9850(0x1b3)],'scene':_0x58e1fd['scene'],'sceneRect':_0x58e1fd[_0x1e9850(0x202)],'angle':_0x58e1fd['angle'],'renderRect':_0x48af0a,'position$':_0x13b95c};this[_0x1e9850(0x25e)]=_0x524534,this[_0x1e9850(0x2fd)](_0x524534);}[_0x417a4a(0x2a9)](){const _0x433f83=_0x417a4a;var _0x4f7837,_0x34fa13;let _0xe417fc=this[_0x433f83(0x25e)];_0xe417fc&&(this[_0x433f83(0x25e)]=null,(_0x4f7837=_0xe417fc[_0x433f83(0x3b6)])==null||_0x4f7837['dispose'](),(_0x34fa13=_0xe417fc[_0x433f83(0x39f)])==null||_0x34fa13[_0x433f83(0x384)](),this['_staticRenderController'][_0x433f83(0x35c)]({'unitId':_0xe417fc[_0x433f83(0x223)],'subUnitId':_0xe417fc[_0x433f83(0x271)],'drawingId':_0xe417fc[_0x433f83(0x3e4)]},!0x1),this['_canvasFloatDomService'][_0x433f83(0x26c)](_0xe417fc[_0x433f83(0x3e4)]),this[_0x433f83(0x2f3)][_0x433f83(0x2c2)](null),this['_snapshotRenderService'][_0x433f83(0x31f)](_0xe417fc[_0x433f83(0x223)],_0xe417fc[_0x433f83(0x1b3)]),_0xe417fc[_0x433f83(0x28a)][_0x433f83(0x21f)]());}['_refreshActivePosition'](_0x2cd4a5,_0x48791b,_0xcf44d3){const _0x21f987=_0x417a4a;let _0x368403=this[_0x21f987(0x25e)];(_0x368403==null?void 0x0:_0x368403[_0x21f987(0x223)])===_0x2cd4a5&&_0x368403[_0x21f987(0x3e4)]===_0x48791b&&_0x368403[_0x21f987(0x1b3)]===_0xcf44d3&&_0x368403[_0x21f987(0x28a)][_0x21f987(0x3a0)](ki(_0x368403[_0x21f987(0x202)],_0x368403['scene'],0x1,_0x368403[_0x21f987(0x37a)]));}[_0x417a4a(0x2fe)](_0x186097){const _0x282139=_0x417a4a;let _0x38ee63=this[_0x282139(0x25e)];_0x38ee63&&_0x38ee63['unitId']===_0x186097&&(this[_0x282139(0x260)](_0x38ee63['unitId'],_0x38ee63[_0x282139(0x3e4)],_0x38ee63[_0x282139(0x1b3)]),this[_0x282139(0x2c7)][_0x282139(0x3a0)](_0x38ee63['drawingId']));}[_0x417a4a(0x2fd)](_0x2cbd8f){const _0x2497ad=_0x417a4a;var _0x3513c2,_0x5420ea;(_0x3513c2=_0x2cbd8f[_0x2497ad(0x3b6)])==null||_0x3513c2['dispose'](),(_0x5420ea=_0x2cbd8f[_0x2497ad(0x39f)])==null||_0x5420ea[_0x2497ad(0x384)]();let _0x3410ef=_0x2cbd8f[_0x2497ad(0x38c)][_0x2497ad(0x32d)](_0x5cd444[_0x2497ad(0x3a9)]);if(!_0x3410ef)return;_0x2cbd8f[_0x2497ad(0x3b6)]=Ni(_0x3410ef['onScrollAfter$'],()=>{const _0x52b43f=_0x2497ad;this['_refreshActivePosition'](_0x2cbd8f[_0x52b43f(0x223)],_0x2cbd8f[_0x52b43f(0x3e4)],_0x2cbd8f[_0x52b43f(0x1b3)]);});let _0xec6536=_0x2cbd8f[_0x2497ad(0x38c)][_0x2497ad(0x37b)]['subscribeEvent'](_0x2a9ba3=>{const _0x545149=_0x2497ad;_0x2a9ba3[_0x545149(0x2e6)]!==_0x2da7d0[_0x545149(0x23d)]||_0x2a9ba3[_0x545149(0x1bd)]['scaleX']===_0x2a9ba3[_0x545149(0x1c0)][_0x545149(0x224)]&&_0x2a9ba3[_0x545149(0x1bd)][_0x545149(0x27f)]===_0x2a9ba3[_0x545149(0x1c0)][_0x545149(0x27f)]||this[_0x545149(0x2fe)](_0x2cbd8f['unitId']);});_0x2cbd8f[_0x2497ad(0x39f)]=_0xd12a2c(()=>_0xec6536[_0x2497ad(0x275)]());}[_0x417a4a(0x2bb)](_0x2bf252){const _0x2b6614=_0x417a4a;let _0x51e17b=this[_0x2b6614(0x22d)](_0x2bf252),_0x183a7c=this[_0x2b6614(0x2a6)](_0x2bf252);if(_0x51e17b&&_0x183a7c){var _0x586ff3;if(this[_0x2b6614(0x25e)]){let _0xbb6c98=this[_0x2b6614(0x25e)][_0x2b6614(0x38c)]!==_0x51e17b[_0x2b6614(0x38c)];this['_activeLayer'][_0x2b6614(0x38c)]=_0x51e17b['scene'],this[_0x2b6614(0x25e)][_0x2b6614(0x202)]=_0x51e17b[_0x2b6614(0x202)],this[_0x2b6614(0x25e)][_0x2b6614(0x37a)]=_0x51e17b['angle'],this['_activeLayer']['renderRect']=_0x183a7c,_0xbb6c98&&this[_0x2b6614(0x2fd)](this[_0x2b6614(0x25e)]);}(_0x586ff3=this['_activeLayer'])==null||_0x586ff3[_0x2b6614(0x28a)][_0x2b6614(0x3a0)](_0x51e17b['position']),this['_layoutChanged$'][_0x2b6614(0x3a0)](_0x2bf252[_0x2b6614(0x3e4)]);}}[_0x417a4a(0x289)](_0x37a831){const _0x5221ee=_0x417a4a;let _0xae9d6e=this[_0x5221ee(0x348)][_0x5221ee(0x361)]()[_0x5221ee(0x200)](_0x1324e7=>this[_0x5221ee(0x1eb)](_0x1324e7));_0xae9d6e['length']===0x1&&_0x37a831[_0x5221ee(0x201)](_0x13ac64=>Ai(_0x13ac64,_0xae9d6e[0x0]))&&this[_0x5221ee(0x20f)](_0xae9d6e[0x0]);}[_0x417a4a(0x22d)](_0x5a2447){const _0x57fcd0=_0x417a4a;let _0x3b0283=_0x5a2447[_0x57fcd0(0x1c1)];if(!_0x3b0283)return null;let _0x31308c=this['_renderManagerService'][_0x57fcd0(0x255)](_0x5a2447[_0x57fcd0(0x223)]);if(!(_0x31308c!=null&&_0x31308c[_0x57fcd0(0x38c)])||!_0x31308c['scene'][_0x57fcd0(0x32d)](_0x5cd444[_0x57fcd0(0x3a9)]))return null;let _0x5f9c43=_0x9ad16e(_0x5a2447),_0x1f4de3=_0x31308c[_0x57fcd0(0x38c)][_0x57fcd0(0x29c)](_0x5f9c43),_0x35754f=Mi(_0x5a2447,_0x1f4de3),_0x2c8d32=_0x35754f['right']-_0x35754f[_0x57fcd0(0x231)],_0x2f734c=_0x35754f[_0x57fcd0(0x307)]-_0x35754f[_0x57fcd0(0x386)];if(_0x2c8d32<=0x0||_0x2f734c<=0x0)return null;let _0x5310e2=ji([_0x1f4de3==null?void 0x0:_0x1f4de3[_0x57fcd0(0x37a)],_0x3b0283['angle']]);return{'scene':_0x31308c['scene'],'sceneRect':_0x35754f,'angle':_0x5310e2,'position':ki(_0x35754f,_0x31308c[_0x57fcd0(0x38c)],0x1,_0x5310e2)};}[_0x417a4a(0x2a6)](_0x475849){const _0x4ee5c1=_0x417a4a;var _0x243f2f,_0x21184a,_0x4ca9d7,_0xcce062;let _0x854633=((_0x243f2f=_0x475849[_0x4ee5c1(0x1c1)])==null?void 0x0:_0x243f2f[_0x4ee5c1(0x2ec)])??((_0x21184a=_0x475849[_0x4ee5c1(0x377)])==null||(_0x21184a=_0x21184a[_0x4ee5c1(0x380)])==null?void 0x0:_0x21184a[_0x4ee5c1(0x2ec)])??0x0,_0xb76725=((_0x4ca9d7=_0x475849[_0x4ee5c1(0x1c1)])==null?void 0x0:_0x4ca9d7[_0x4ee5c1(0x232)])??((_0xcce062=_0x475849[_0x4ee5c1(0x377)])==null||(_0xcce062=_0xcce062['size'])==null?void 0x0:_0xcce062['height'])??0x0;return _0x854633<=0x0||_0xb76725<=0x0?null:{'width':Math['max'](0x1,Math[_0x4ee5c1(0x272)](_0x854633)),'height':Math[_0x4ee5c1(0x2df)](0x1,Math[_0x4ee5c1(0x272)](_0xb76725))};}['_getActiveRenderRect'](_0x1b7442){const _0x2f4c69=_0x417a4a;let _0x3a66ba=this[_0x2f4c69(0x25e)];if((_0x3a66ba==null?void 0x0:_0x3a66ba['unitId'])===_0x1b7442[_0x2f4c69(0x223)]&&_0x3a66ba[_0x2f4c69(0x271)]===(_0x1b7442[_0x2f4c69(0x271)]??_0x1b7442[_0x2f4c69(0x223)])&&_0x3a66ba[_0x2f4c69(0x3e4)]===_0x1b7442[_0x2f4c69(0x3e4)]&&_0x3a66ba[_0x2f4c69(0x1b3)]===_0x1b7442[_0x2f4c69(0x1b3)])return _0x3a66ba['renderRect'];let _0x52ed55=this['_drawingManagerService'][_0x2f4c69(0x390)](this['_getDrawingSearch'](_0x1b7442));return this[_0x2f4c69(0x1eb)](_0x52ed55)?this[_0x2f4c69(0x2a6)](_0x52ed55):null;}[_0x417a4a(0x34b)](_0xbe169d){const _0x5900fa=_0x417a4a;let _0x47d36b=this[_0x5900fa(0x25e)];return _0x47d36b&&this[_0x5900fa(0x2ea)](_0xbe169d)?_0x47d36b['scene'][_0x5900fa(0x1ca)]():null;}[_0x417a4a(0x26d)](_0x2c37b8){const _0x1e9bfd=_0x417a4a;return{'unitId':_0x2c37b8[_0x1e9bfd(0x223)],'subUnitId':_0x2c37b8['subUnitId']??_0x2c37b8['unitId'],'drawingId':_0x2c37b8[_0x1e9bfd(0x3e4)]};}[_0x417a4a(0x2ea)](_0xe75b10){const _0x14aad1=_0x417a4a;let _0x296c95=this[_0x14aad1(0x25e)];return(_0x296c95==null?void 0x0:_0x296c95[_0x14aad1(0x223)])===_0xe75b10[_0x14aad1(0x223)]&&_0x296c95[_0x14aad1(0x271)]===(_0xe75b10[_0x14aad1(0x271)]??_0xe75b10[_0x14aad1(0x223)])&&_0x296c95[_0x14aad1(0x3e4)]===_0xe75b10[_0x14aad1(0x3e4)]&&_0x296c95['chartId']===_0xe75b10[_0x14aad1(0x1b3)];}[_0x417a4a(0x1eb)](_0x3214ad){const _0x36442d=_0x417a4a;let _0x2e13dd=_0x3214ad;return(_0x2e13dd==null?void 0x0:_0x2e13dd[_0x36442d(0x308)])===_0x12af05[_0x36442d(0x317)]&&typeof _0x2e13dd['chartId']==_0x36442d(0x291);}};X=L([I(0x0,_0x5265a1),I(0x1,_0x2bf97c),I(0x2,_0x49aabf(_0x44cf95)),I(0x3,_0x49aabf(_0x4aeeb5)),I(0x4,_0x49aabf(V)),I(0x5,_0x49aabf(K)),I(0x6,_0x3abed6),I(0x7,_0x10ec90),I(0x8,_0x49aabf(_0x2052de)),I(0x9,_0x49aabf(Y))],X);const Pi='docs-chart-ui.active-chart',Fi=_0x372beb=>{const _0x57bab6=_0x417a4a;let {unitId:_0x2ebbc0,subUnitId:_0x4972aa,floatDomId:_0x5cffa1,chartId:_0x2dfadc,context:_0xf6b080}=_0x372beb,_0x128da7=_0x473746(X);return _0x518828(()=>{const _0x1794fc=_0x32bc;let _0x6481db=_0xf6b080['root'][_0x1794fc(0x2d0)];if(!_0x6481db)return;let _0x55032a=_0x128da7[_0x1794fc(0x243)]({'unitId':_0x2ebbc0,'subUnitId':_0x4972aa,'drawingId':_0x5cffa1,'chartId':_0x2dfadc,'root':_0x6481db});return()=>_0x55032a[_0x1794fc(0x384)]();},[_0x128da7,_0x2dfadc,_0xf6b080[_0x57bab6(0x331)],_0x5cffa1,_0x4972aa,_0x2ebbc0]),null;},Ii=()=>null;let Li=class extends _0x45d2af{constructor(_0x58419b){const _0x214860=_0x417a4a;super(),this[_0x214860(0x3ce)]=_0x58419b,this[_0x214860(0x1c6)]();}[_0x417a4a(0x1c6)](){const _0x55c1cb=_0x417a4a;this['_registerEditors'](),this[_0x55c1cb(0x207)](this[_0x55c1cb(0x3ce)]['register'](_0x3958bf,Ii)),this[_0x55c1cb(0x207)](this[_0x55c1cb(0x3ce)][_0x55c1cb(0x2e9)](Pi,Fi));}[_0x417a4a(0x28f)](){const _0xfbf0ee=_0x417a4a;this[_0xfbf0ee(0x207)](this['_componentManager'][_0xfbf0ee(0x2e9)](ai,Oi)),this[_0xfbf0ee(0x207)](this['_componentManager'][_0xfbf0ee(0x2e9)](Wr,Di)),this[_0xfbf0ee(0x207)](this[_0xfbf0ee(0x3ce)]['register'](br,Ei));}};Li=L([I(0x0,_0x49aabf(_0x3b179a))],Li);const Ri=_0x417a4a(0x303);let zi=class extends _0x45d2af{constructor(_0x58959d,_0x298cc2,_0x5413df,_0x133afc,_0x58b9f8,_0x51cd0a,_0x4ca5c4){const _0x56efb8=_0x417a4a;super(),this[_0x56efb8(0x2a8)]=_0x58959d,this[_0x56efb8(0x320)]=_0x298cc2,this[_0x56efb8(0x3bd)]=_0x5413df,this[_0x56efb8(0x1f6)]=_0x133afc,this[_0x56efb8(0x1b7)]=_0x58b9f8,this['_menuManagerService']=_0x51cd0a,this[_0x56efb8(0x244)]=_0x4ca5c4,this['_initMenus'](),this[_0x56efb8(0x314)]();}[_0x417a4a(0x290)](_0x2960e0){const _0x30a0b7=_0x417a4a;let _0x3a176f=null,_0x1973cd=this[_0x30a0b7(0x3bd)][_0x30a0b7(0x36f)](_0x5aa26b['UNIVER_DOC']),_0x19bcb0=()=>{const _0x2c9e93=_0x30a0b7;let _0x227ffb=_0x3a176f;_0x3a176f=null,_0x227ffb==null||_0x227ffb[_0x2c9e93(0x384)]();},_0x1d7a27={'id':_0x30a0b7(0x3b8),'layout':_0x30a0b7(0x355),'title':{'title':this[_0x30a0b7(0x320)]['t'](_0x30a0b7(0x345))},'width':Ri,'draggable':!0x1,'mask':!0x0,'maskClosable':!0x1,'children':{'label':{'name':ai,'props':{'defaultChartType':(_0x2960e0==null?void 0x0:_0x2960e0['defaultChartType'])??(_0x2960e0==null?void 0x0:_0x2960e0[_0x30a0b7(0x1bd)]),'defaultTableText':_0x2960e0==null?void 0x0:_0x2960e0[_0x30a0b7(0x309)],'insertOptions':{'unitId':_0x1973cd==null?void 0x0:_0x1973cd['getUnitId'](),'insertRange':(_0x2960e0==null?void 0x0:_0x2960e0[_0x30a0b7(0x319)])??this[_0x30a0b7(0x1c2)]()},'onCancel':_0x19bcb0,'onInserted':_0x19bcb0}}},'onClose':_0x19bcb0};return _0x3a176f=this['_dialogService'][_0x30a0b7(0x2e2)](_0x1d7a27),!0x0;}[_0x417a4a(0x29d)](_0xb028a0){const _0x4b2c03=_0x417a4a;let _0x19cf44=null,_0x4f2afd=()=>{let _0x3a821c=_0x19cf44;_0x19cf44=null,_0x3a821c==null||_0x3a821c['dispose']();},_0x97857f={'id':Gr,'layout':'canvas','title':{'title':this['_localeService']['t']('docs-chart-ui.common.editChart')},'width':Ri,'draggable':!0x1,'mask':!0x0,'maskClosable':!0x1,'children':{'label':{'name':Wr,'props':{..._0xb028a0,'onClose':_0x4f2afd}}},'onClose':_0x4f2afd};return _0x19cf44=this[_0x4b2c03(0x2a8)][_0x4b2c03(0x2e2)](_0x97857f),!0x0;}[_0x417a4a(0x233)](){const _0x14d597=_0x417a4a;this['_menuManagerService'][_0x14d597(0x2af)](bi);}[_0x417a4a(0x314)](){const _0x381cd9=_0x417a4a;this[_0x381cd9(0x207)](this[_0x381cd9(0x244)][_0x381cd9(0x34f)](_0x523885=>{const _0x51ff8b=_0x381cd9;if(_0x523885['id']===P['id']){this[_0x51ff8b(0x290)](_0x523885[_0x51ff8b(0x2b4)]);return;}if(_0x523885['id']===F['id']){let _0x495edd=_0x523885['params'];_0x495edd&&this[_0x51ff8b(0x29d)](_0x495edd);}}));}[_0x417a4a(0x1c2)](){const _0x5acb94=_0x417a4a;let _0x4bdcab=this['_instanceService'][_0x5acb94(0x36f)](_0x5aa26b[_0x5acb94(0x1a4)]);if(!_0x4bdcab)return;let _0x5f085b=_0x4bdcab[_0x5acb94(0x3d4)](),_0x2b6d4e=null;try{_0x2b6d4e=this[_0x5acb94(0x1b7)][_0x5acb94(0x2e0)](_0x5f085b);}catch{_0x2b6d4e=null;}if(_0x2b6d4e){let _0xb0c477={'startOffset':_0x2b6d4e[_0x5acb94(0x1e9)],'endOffset':_0x2b6d4e[_0x5acb94(0x3c5)],'collapsed':_0x2b6d4e[_0x5acb94(0x1e9)]===_0x2b6d4e[_0x5acb94(0x3c5)],'segmentId':_0x2b6d4e[_0x5acb94(0x376)]??''};return H(_0x4bdcab,_0xb0c477)?_0xb0c477:void 0x0;}let _0x22a6ae={'unitId':_0x5f085b,'subUnitId':_0x5f085b},_0xcb7557=[...this[_0x5acb94(0x1f6)][_0x5acb94(0x2fa)](_0x22a6ae)??[]];if(_0xcb7557[_0x5acb94(0x2d5)]!==0x1)return;let _0x587c4a=_0xcb7557[_0x5acb94(0x3b7)](_0x28b9b6=>_0x28b9b6[_0x5acb94(0x211)])??_0xcb7557[0x0];if(!_0x587c4a||!_0x587c4a[_0x5acb94(0x36a)]||_0x587c4a[_0x5acb94(0x1e9)]==null)return;let _0x5a59ac={..._0x587c4a,'segmentId':_0x587c4a[_0x5acb94(0x376)]??''};return H(_0x4bdcab,_0x5a59ac)?_0x5a59ac:void 0x0;}};zi=L([I(0x0,_0x49aabf(_0x4e0aab)),I(0x1,_0x49aabf(_0x2052de)),I(0x2,_0x10ec90),I(0x3,_0x49aabf(_0x2377fb)),I(0x4,_0x49aabf(_0x29f262)),I(0x5,_0x2cbcc0),I(0x6,_0x3abed6)],zi);let Bi=class extends _0x45d2af{constructor(_0x36029a,_0x5536f1){const _0x52ca94=_0x417a4a;super(),this[_0x52ca94(0x2cb)]=_0x5536f1,this[_0x52ca94(0x207)](_0x36029a[_0x52ca94(0x2e9)](this));}['supports'](_0x48cda0){const _0x13097a=_0x417a4a;return _0x13097a(0x223)in _0x48cda0&&_0x13097a(0x285)in _0x48cda0;}[_0x417a4a(0x25f)](_0x1d12eb,_0x8eda63){const _0x136b7a=_0x417a4a;if(!this[_0x136b7a(0x269)](_0x1d12eb))return Promise['resolve'](void 0x0);let _0x25bad7=_0x1d12eb[_0x136b7a(0x3d6)]()[_0x136b7a(0x380)];return this['_snapshotService'][_0x136b7a(0x25f)]({'unitId':_0x1d12eb[_0x136b7a(0x223)],'chartId':_0x1d12eb[_0x136b7a(0x322)](),'width':Math[_0x136b7a(0x2df)](0x1,(_0x25bad7==null?void 0x0:_0x25bad7[_0x136b7a(0x2ec)])??0x1),'height':Math['max'](0x1,(_0x25bad7==null?void 0x0:_0x25bad7[_0x136b7a(0x232)])??0x1),'format':_0x8eda63==null?void 0x0:_0x8eda63[_0x136b7a(0x1a6)],'mode':'export'});}};Bi=L([I(0x0,_0x49aabf(_0x560b16)),I(0x1,_0x49aabf(K))],Bi);function Vi(_0x42d3c8,_0x1040ee,_0x5f4231){const _0x5a075b=_0x417a4a;let _0x213681=_0x5f4231[_0x5a075b(0x214)]??0x0,_0x5365a1=_0x5f4231['docsLeft']??0x0,_0x618f1e=_0x213681;for(let _0x1b0858 of _0x1040ee){let _0x5121dc=_0x1b0858['skeDrawings'][_0x5a075b(0x28e)](_0x42d3c8[_0x5a075b(0x3e4)]);if(_0x5121dc)return{'left':_0x5365a1+_0x1b0858[_0x5a075b(0x1b0)]+_0x5121dc[_0x5a075b(0x297)],'top':_0x618f1e+_0x1b0858[_0x5a075b(0x213)]+_0x5121dc[_0x5a075b(0x27c)],'width':_0x5121dc[_0x5a075b(0x2ec)],'height':_0x5121dc[_0x5a075b(0x232)],'angle':_0x5121dc[_0x5a075b(0x37a)],'flipX':_0x42d3c8[_0x5a075b(0x377)][_0x5a075b(0x209)],'flipY':_0x42d3c8[_0x5a075b(0x377)][_0x5a075b(0x343)]};let _0x1b8c33=Number['isFinite'](_0x1b0858[_0x5a075b(0x2e1)])?_0x1b0858[_0x5a075b(0x2e1)]:_0x1b0858['height'];_0x618f1e+=Math[_0x5a075b(0x2df)](0x0,_0x1b8c33)+_0x5f4231[_0x5a075b(0x2cf)];}return null;}let Z=class extends _0x45d2af{constructor(_0x8ca555,_0x2a1bc7,_0x6e7fe1,_0x132dfc){const _0x4330f3=_0x417a4a;super(),this['_drawingManagerService']=_0x8ca555,this[_0x4330f3(0x32c)]=_0x2a1bc7,this['_snapshotRenderService']=_0x6e7fe1,this[_0x4330f3(0x302)]=_0x132dfc,B(this,_0x4330f3(0x2f9),new Map());let _0x494f67=this[_0x4330f3(0x302)][_0x4330f3(0x313)];_0x494f67&&this[_0x4330f3(0x207)](_0x494f67['call'](this[_0x4330f3(0x302)],_0x42b5b9=>this[_0x4330f3(0x286)](_0x42b5b9))),this[_0x4330f3(0x3d7)]();}async['prepare'](_0x1285a5){const _0x89ba2e=_0x417a4a;let _0x50a043=this['_getChartDrawings'](_0x1285a5[_0x89ba2e(0x223)]),_0x25bb6f=new Map();this[_0x89ba2e(0x2f9)]['set'](_0x1285a5[_0x89ba2e(0x223)],_0x25bb6f),await Promise['allSettled'](_0x50a043[_0x89ba2e(0x399)](async _0x20b2b8=>{const _0x5f371a=_0x89ba2e;let _0x48090f=Hi(_0x20b2b8);if(!_0x48090f)return;let _0x30dbb5={'unitId':_0x1285a5[_0x5f371a(0x223)],'chartId':_0x20b2b8['chartId'],'width':_0x48090f[_0x5f371a(0x2ec)],'height':_0x48090f[_0x5f371a(0x232)],'dpr':_0x1285a5['dpr'],'mode':_0x5f371a(0x237)},_0x2070cb={..._0x30dbb5,'dpr':_0x1a3acd,'mode':_0x5f371a(0x204)},_0x3cc395=this['_snapshotRenderService'][_0x5f371a(0x3a8)](_0x2070cb),_0x282eb7=(_0x3cc395==null?void 0x0:_0x3cc395['status'])===_0x5f371a(0x19e)?this['_getRenderedChartImage'](_0x20b2b8):null;if(_0x282eb7){_0x25bb6f[_0x5f371a(0x252)](_0x20b2b8[_0x5f371a(0x3e4)],{'image':_0x282eb7});return;}let _0x5e9ede=(_0x3cc395==null?void 0x0:_0x3cc395['status'])===_0x5f371a(0x19e)?_0x3cc395[_0x5f371a(0x1ae)]:await this['_snapshotRenderService'][_0x5f371a(0x25f)]((_0x3cc395==null?void 0x0:_0x3cc395[_0x5f371a(0x2f6)])==='pending'?_0x2070cb:_0x30dbb5);_0x5e9ede&&_0x25bb6f[_0x5f371a(0x252)](_0x20b2b8['drawingId'],{'image':await Ui(_0x5e9ede)});}));}['_initPrinting'](){const _0x3abe9a=_0x417a4a;this[_0x3abe9a(0x207)](this[_0x3abe9a(0x302)][_0x3abe9a(0x298)][_0x3abe9a(0x25a)](this[_0x3abe9a(0x302)][_0x3abe9a(0x298)][_0x3abe9a(0x2cc)]()[_0x3abe9a(0x36b)],{'handler':(_0x27ee10,{unitId:_0xe157d8,scene:_0x26830e,skeleton:_0x3baef4,documents:_0x1aaa4d},_0x1084b1)=>{const _0x1475e6=_0x3abe9a;var _0x3cfb39,_0x408787;let _0x1b1d71=_0x1084b1(_0x27ee10),_0x404abc=this[_0x1475e6(0x2f9)][_0x1475e6(0x28e)](_0xe157d8),_0x437ab9=((_0x3cfb39=_0x3baef4[_0x1475e6(0x259)]())==null?void 0x0:_0x3cfb39['pages'])??[];if(!(_0x404abc!=null&&_0x404abc[_0x1475e6(0x380)])||!_0x437ab9[_0x1475e6(0x2d5)])return _0x1b1d71;let _0x5855ee=(_0x408787=this[_0x1475e6(0x348)][_0x1475e6(0x261)](_0xe157d8))==null?void 0x0:_0x408787[_0xe157d8];return _0x5855ee==null||_0x5855ee[_0x1475e6(0x1de)][_0x1475e6(0x210)]((_0x3ed0b3,_0x5402b1)=>{const _0x482482=_0x1475e6;let _0x51d912=_0x5855ee[_0x482482(0x2dc)][_0x3ed0b3],_0x4499b1=_0x404abc['get'](_0x3ed0b3);if(!_0x4499b1||_0x51d912[_0x482482(0x2d2)]||_0x51d912[_0x482482(0x308)]!==_0x12af05[_0x482482(0x317)])return;let _0x1fb16d={...Vi(_0x51d912,_0x437ab9,_0x1aaa4d[_0x482482(0x3c9)]())??_0x2cec59(_0x51d912[_0x482482(0x377)]),'image':_0x4499b1[_0x482482(0x22b)],'printable':!0x0,'forceRender':!0x0,'zIndex':_0x5402b1};_0x26830e[_0x482482(0x311)](new _0x18ba90(_0x9ad16e(_0x51d912),_0x1fb16d),_0x69b6fd);}),_0x1b1d71;}}));}[_0x417a4a(0x383)](_0x583ae0){const _0x83267e=_0x417a4a;var _0x5dc296;let _0x2aaf54=(_0x5dc296=this[_0x83267e(0x348)][_0x83267e(0x261)](_0x583ae0))==null?void 0x0:_0x5dc296[_0x583ae0];return(_0x2aaf54==null?void 0x0:_0x2aaf54[_0x83267e(0x1de)]['map'](_0x3f3259=>_0x2aaf54['data'][_0x3f3259])[_0x83267e(0x200)](_0x95370b=>_0x95370b[_0x83267e(0x308)]===_0x12af05[_0x83267e(0x317)]&&!_0x95370b[_0x83267e(0x2d2)]&&!!_0x95370b['chartId']))??[];}[_0x417a4a(0x1e1)](_0x3f9d36){const _0x22616d=_0x417a4a;var _0x262f60,_0x1d407f;let _0x37bbd9=(_0x262f60=this[_0x22616d(0x32c)][_0x22616d(0x255)](_0x3f9d36[_0x22616d(0x223)]))==null?void 0x0:_0x262f60['scene'],_0x17eef7=_0x37bbd9==null?void 0x0:_0x37bbd9[_0x22616d(0x29c)](_0x9ad16e(_0x3f9d36)),_0x50efac=_0x17eef7==null||(_0x1d407f=_0x17eef7['getNative'])==null?void 0x0:_0x1d407f['call'](_0x17eef7);return _0x50efac!=null&&_0x50efac['complete']&&_0x50efac['naturalWidth']>0x0?_0x50efac:null;}};Z=L([I(0x0,_0x5265a1),I(0x1,_0x2bf97c),I(0x2,_0x49aabf(K)),I(0x3,_0x49aabf(_0xe145bb))],Z);function Hi(_0x3122d4){const _0x37a5a6=_0x417a4a;var _0x20fc53,_0x41d860,_0x46c9a7,_0x721a6;let _0x2b435a=((_0x20fc53=_0x3122d4['transform'])==null?void 0x0:_0x20fc53[_0x37a5a6(0x2ec)])??((_0x41d860=_0x3122d4[_0x37a5a6(0x377)])==null||(_0x41d860=_0x41d860['size'])==null?void 0x0:_0x41d860['width'])??0x0,_0x589518=((_0x46c9a7=_0x3122d4[_0x37a5a6(0x1c1)])==null?void 0x0:_0x46c9a7[_0x37a5a6(0x232)])??((_0x721a6=_0x3122d4[_0x37a5a6(0x377)])==null||(_0x721a6=_0x721a6[_0x37a5a6(0x380)])==null?void 0x0:_0x721a6[_0x37a5a6(0x232)])??0x0;return _0x2b435a>0x0&&_0x589518>0x0?{'width':Math[_0x37a5a6(0x2df)](0x1,Math[_0x37a5a6(0x272)](_0x2b435a)),'height':Math['max'](0x1,Math[_0x37a5a6(0x272)](_0x589518))}:null;}function Ui(_0x5f0bdc){return new Promise((_0x25c429,_0x55b993)=>{const _0x5f19ee=_0x32bc;let _0x107d1b=new globalThis[(_0x5f19ee(0x1f3))](),_0x59e107=globalThis[_0x5f19ee(0x366)](()=>_0x55b993(Error('Timed\x20out\x20loading\x20document\x20chart\x20print\x20image.')),0x2710),_0x1988d6=_0x3032af=>{const _0x26b27a=_0x5f19ee;globalThis['clearTimeout'](_0x59e107),_0x107d1b[_0x26b27a(0x2ba)]=null,_0x107d1b[_0x26b27a(0x362)]=null,_0x3032af();};_0x107d1b[_0x5f19ee(0x2ba)]=()=>_0x1988d6(()=>_0x25c429(_0x107d1b)),_0x107d1b['onerror']=()=>_0x1988d6(()=>_0x55b993(Error('Failed\x20to\x20load\x20document\x20chart\x20print\x20image.'))),_0x107d1b[_0x5f19ee(0x283)]=_0x5f0bdc,_0x107d1b[_0x5f19ee(0x21f)]&&_0x107d1b[_0x5f19ee(0x382)]>0x0&&_0x1988d6(()=>_0x25c429(_0x107d1b));});}let Q=class extends _0x311018{constructor(_0x26b397=li,_0x1fa6e5,_0x19df83,_0x138dab){const _0x29848a=_0x417a4a;super(),this['_config']=_0x26b397,this['_injector']=_0x1fa6e5,this[_0x29848a(0x24f)]=_0x19df83,this[_0x29848a(0x244)]=_0x138dab;let {..._0x57b974}=_0xe10522({},li,this['_config']);this['_configService'][_0x29848a(0x315)](ci,_0x57b974),[P,F][_0x29848a(0x210)](_0x2c04e6=>this[_0x29848a(0x207)](this[_0x29848a(0x244)]['registerCommand'](_0x2c04e6)));}[_0x417a4a(0x3be)](){const _0x26f7da=_0x417a4a;[[Li],[U],[R],[wr,{'useClass':Tr}],[X],[Z],[V],[K],[Bi],[q],[Y],[W],[G],[zi]][_0x26f7da(0x210)](_0x2edf08=>this[_0x26f7da(0x262)][_0x26f7da(0x39e)](_0x2edf08)),_0x18386a(this[_0x26f7da(0x262)],[[U],[R],[wr],[X],[Z],[V],[K],[Bi],[W],[G]]),this[_0x26f7da(0x262)][_0x26f7da(0x28e)](Li);}['onReady'](){const _0x28852f=_0x417a4a;this[_0x28852f(0x262)][_0x28852f(0x28e)](q),this['_injector'][_0x28852f(0x28e)](Y),this[_0x28852f(0x262)][_0x28852f(0x28e)](W),this[_0x28852f(0x262)]['get'](G),this[_0x28852f(0x262)][_0x28852f(0x28e)](zi);}};B(Q,'type',_0x5aa26b[_0x417a4a(0x1a4)]),B(Q,_0x417a4a(0x34e),_0x417a4a(0x325)),B(Q,_0x417a4a(0x335),xi),B(Q,_0x417a4a(0x1f0),Si),Q=L([_0x3a65f9(_0x575ff3,_0x51a91f,_0x2c4439,_0x414ff1,_0x4b5773,_0x196269,_0x8ed84d,_0x5db40c,_0x4787c6),I(0x1,_0x49aabf(_0x1f5d92)),I(0x2,_0x1a585f),I(0x3,_0x3abed6)],Q);let Wi=class extends _0x45d2af{constructor(_0x53a0ce){const _0x1cfb9a=_0x417a4a;super(),this[_0x1cfb9a(0x3ce)]=_0x53a0ce,this[_0x1cfb9a(0x1c6)]();}[_0x417a4a(0x1c6)](){const _0x1314dd=_0x417a4a;this[_0x1314dd(0x28f)](),this['disposeWithMe'](this[_0x1314dd(0x3ce)][_0x1314dd(0x2e9)](_0x3958bf,Ii)),this[_0x1314dd(0x207)](this['_componentManager'][_0x1314dd(0x2e9)](Pi,Fi));}['_registerEditors'](){const _0x433778=_0x417a4a;this['disposeWithMe'](this[_0x433778(0x3ce)]['register'](ai,si)),this[_0x433778(0x207)](this[_0x433778(0x3ce)]['register'](br,Cr)),this['disposeWithMe'](this[_0x433778(0x3ce)][_0x433778(0x2e9)](Wr,Kr));}};Wi=L([I(0x0,_0x49aabf(_0x3b179a))],Wi);const Gi='min(1200px,\x20calc(100vw\x20-\x2032px))';let Ki=class extends _0x45d2af{constructor(_0x4e72b9,_0x2d30f9,_0x77a9e8,_0x26b294,_0x2dacf4,_0x387cfd,_0x9e4fad){const _0x1402e3=_0x417a4a;super(),this[_0x1402e3(0x2a8)]=_0x4e72b9,this[_0x1402e3(0x320)]=_0x2d30f9,this[_0x1402e3(0x3bd)]=_0x77a9e8,this[_0x1402e3(0x1f6)]=_0x26b294,this['_docContentInsertService']=_0x2dacf4,this[_0x1402e3(0x212)]=_0x387cfd,this[_0x1402e3(0x244)]=_0x9e4fad,this['_initMenus'](),this[_0x1402e3(0x314)]();}['openInsertDialog'](_0x1acd9f){const _0x21fd0f=_0x417a4a;let _0x3078a1=null,_0x40957f=this[_0x21fd0f(0x3bd)][_0x21fd0f(0x36f)](_0x5aa26b[_0x21fd0f(0x1a4)]),_0x20af27=()=>{const _0x4a3573=_0x21fd0f;let _0x179cb9=_0x3078a1;_0x3078a1=null,_0x179cb9==null||_0x179cb9[_0x4a3573(0x384)]();};return _0x3078a1=this[_0x21fd0f(0x2a8)][_0x21fd0f(0x2e2)]({'id':_0x21fd0f(0x3b8),'title':{'title':this[_0x21fd0f(0x320)]['t'](_0x21fd0f(0x345))},'width':Gi,'draggable':!0x1,'mask':!0x0,'maskClosable':!0x1,'children':{'label':{'name':ai,'props':{'defaultChartType':(_0x1acd9f==null?void 0x0:_0x1acd9f[_0x21fd0f(0x240)])??(_0x1acd9f==null?void 0x0:_0x1acd9f['value']),'defaultTableText':_0x1acd9f==null?void 0x0:_0x1acd9f[_0x21fd0f(0x309)],'insertOptions':{'unitId':_0x40957f==null?void 0x0:_0x40957f[_0x21fd0f(0x3d4)](),'insertRange':(_0x1acd9f==null?void 0x0:_0x1acd9f[_0x21fd0f(0x319)])??this['_captureInsertRange']()},'onCancel':_0x20af27,'onInserted':_0x20af27}}},'onClose':_0x20af27}),!0x0;}[_0x417a4a(0x29d)](_0x22b592){const _0x2b318c=_0x417a4a;let _0x3cecd3=null,_0x3dfa4b=()=>{const _0x56f957=_0x32bc;let _0x1e39a7=_0x3cecd3;_0x3cecd3=null,_0x1e39a7==null||_0x1e39a7[_0x56f957(0x384)]();};return _0x3cecd3=this['_dialogService'][_0x2b318c(0x2e2)]({'id':Gr,'title':{'title':this[_0x2b318c(0x320)]['t'](_0x2b318c(0x345))},'width':Gi,'draggable':!0x1,'mask':!0x0,'maskClosable':!0x1,'children':{'label':{'name':Wr,'props':{..._0x22b592,'onClose':_0x3dfa4b}}},'onClose':_0x3dfa4b}),!0x0;}['_initMenus'](){const _0x2de249=_0x417a4a;this[_0x2de249(0x212)][_0x2de249(0x2af)](bi);}[_0x417a4a(0x314)](){const _0x5cdfdb=_0x417a4a;this[_0x5cdfdb(0x207)](this[_0x5cdfdb(0x244)][_0x5cdfdb(0x34f)](_0x486974=>{const _0x5d5c86=_0x5cdfdb;if(_0x486974['id']===P['id']){this[_0x5d5c86(0x290)](_0x486974[_0x5d5c86(0x2b4)]);return;}if(_0x486974['id']===F['id']){let _0x370bb1=_0x486974['params'];_0x370bb1&&this[_0x5d5c86(0x29d)](_0x370bb1);}}));}[_0x417a4a(0x1c2)](){const _0x1fee23=_0x417a4a;let _0x426e3e=this[_0x1fee23(0x3bd)][_0x1fee23(0x36f)](_0x5aa26b[_0x1fee23(0x1a4)]);if(!_0x426e3e)return;let _0x1b71a0=_0x426e3e[_0x1fee23(0x3d4)](),_0x341382=null;try{_0x341382=this['_docContentInsertService'][_0x1fee23(0x2e0)](_0x1b71a0);}catch{_0x341382=null;}if(_0x341382){let _0x534600={'startOffset':_0x341382[_0x1fee23(0x1e9)],'endOffset':_0x341382[_0x1fee23(0x3c5)],'collapsed':_0x341382[_0x1fee23(0x1e9)]===_0x341382['endOffset'],'segmentId':_0x341382[_0x1fee23(0x376)]??''};return H(_0x426e3e,_0x534600)?_0x534600:void 0x0;}let _0x41e0c7={'unitId':_0x1b71a0,'subUnitId':_0x1b71a0},_0x2943b6=[...this[_0x1fee23(0x1f6)][_0x1fee23(0x2fa)](_0x41e0c7)??[]];if(_0x2943b6[_0x1fee23(0x2d5)]!==0x1)return;let _0x569cea=_0x2943b6[_0x1fee23(0x3b7)](_0x330a0f=>_0x330a0f[_0x1fee23(0x211)])??_0x2943b6[0x0];if(!_0x569cea||!_0x569cea['collapsed']||_0x569cea[_0x1fee23(0x1e9)]==null)return;let _0x13b355={..._0x569cea,'segmentId':_0x569cea[_0x1fee23(0x376)]??''};return H(_0x426e3e,_0x13b355)?_0x13b355:void 0x0;}};Ki=L([I(0x0,_0x49aabf(_0x4e0aab)),I(0x1,_0x49aabf(_0x2052de)),I(0x2,_0x10ec90),I(0x3,_0x49aabf(_0x2377fb)),I(0x4,_0x49aabf(_0x29f262)),I(0x5,_0x2cbcc0),I(0x6,_0x3abed6)],Ki);let $=class extends _0x311018{constructor(_0x59b595=li,_0x511224,_0x405051,_0x3c54b8){const _0x3af69f=_0x417a4a;super(),this[_0x3af69f(0x1bf)]=_0x59b595,this[_0x3af69f(0x262)]=_0x511224,this['_configService']=_0x405051,this['_commandService']=_0x3c54b8;let {..._0x5dea1e}=_0xe10522({},li,this[_0x3af69f(0x1bf)]);this[_0x3af69f(0x24f)][_0x3af69f(0x315)](ci,_0x5dea1e),this[_0x3af69f(0x3e2)]();}[_0x417a4a(0x3be)](){const _0x52c9f0=_0x417a4a;let _0x1ee3df=this[_0x52c9f0(0x262)];this[_0x52c9f0(0x2ab)]()[_0x52c9f0(0x210)](_0x5cb12e=>_0x1ee3df[_0x52c9f0(0x39e)](_0x5cb12e)),_0x18386a(_0x1ee3df,[[U],[R],[wr],[X],[Z],[V],[K],[Bi],[W],[G]]),this[_0x52c9f0(0x262)][_0x52c9f0(0x28e)](Wi);}[_0x417a4a(0x21b)](){const _0x1eaa78=_0x417a4a;this[_0x1eaa78(0x262)][_0x1eaa78(0x28e)](q),this[_0x1eaa78(0x262)]['get'](Y),this[_0x1eaa78(0x262)][_0x1eaa78(0x28e)](W),this[_0x1eaa78(0x262)][_0x1eaa78(0x28e)](G),this[_0x1eaa78(0x262)]['get'](Ki);}[_0x417a4a(0x2ab)](){return[[Wi],[U],[R],[wr,{'useClass':Tr}],[X],[Z],[V],[K],[Bi],[q],[Y],[W],[G],[Ki]];}[_0x417a4a(0x3e2)](){const _0x5eacd9=_0x417a4a;[P,F][_0x5eacd9(0x210)](_0x580fee=>{const _0x222502=_0x5eacd9;this['disposeWithMe'](this[_0x222502(0x244)]['registerCommand'](_0x580fee));});}};B($,_0x417a4a(0x2e6),_0x5aa26b[_0x417a4a(0x1a4)]),B($,_0x417a4a(0x34e),_0x417a4a(0x325)),B($,_0x417a4a(0x335),xi),B($,_0x417a4a(0x1f0),Si),$=L([_0x3a65f9(_0x575ff3,_0x51a91f,_0x2c4439,_0x414ff1,_0x4b5773,_0xff3976,_0x132d45,_0x5db40c,_0x11be17),I(0x1,_0x49aabf(_0x1f5d92)),I(0x2,_0x1a585f),I(0x3,_0x3abed6)],$);export{ci as DOCS_CHART_UI_PLUGIN_CONFIG_KEY,Pi as DOC_ACTIVE_CHART_COMPONENT,ui as DOC_CHART_CLIPBOARD_RESOURCE_KEY,br as DOC_CHART_DATA_EDITOR_COMPONENT,xr as DOC_CHART_DATA_EDITOR_DIALOG_ID,Wr as DOC_CHART_EDITOR_DIALOG_COMPONENT,Gr as DOC_CHART_EDITOR_DIALOG_ID,mi as DOC_CHART_INSERT_BELOW_MENU_ID,J as DOC_CHART_INSERT_MENU_ID,ai as DOC_CHART_INSERT_PANEL_COMPONENT,Fi as DocActiveChart,X as DocChartActiveRenderService,W as DocChartClipboardController,R as DocChartDataEditService,Cr as DocChartDataEditor,Sr as DocChartDataEditorSubmitMode,G as DocChartDrawingEditController,Mr as DocChartEditPanel,Kr as DocChartEditorDialog,yi as DocChartInsertBelowMenuItemFactory,vi as DocChartInsertMenuItemFactory,si as DocChartInsertPanel,_i as DocChartInsertRibbonMenuItemFactory,U as DocChartInsertService,Z as DocChartPrintService,V as DocChartRenderService,q as DocChartSnapshotRefreshController,K as DocChartSnapshotRenderService,Tr as DocChartUIService,Rr as DocDomChartHost,Ii as DocPrintChart,bi as DocsChartUIMenuSchema,fi as IDocChartSnapshotRendererService,wr as IDocChartUIService,F as OpenDocChartEditorDialogOperation,P as OpenDocChartInsertDialogOperation,Q as UniverDocsChartMobileUIPlugin,$ as UniverDocsChartUIPlugin,li as defaultPluginConfig,hi as getDocChartInsertDisabledObservable};