@univerjs-pro/boards-chart-ui 1.0.0-beta.0 → 1.0.0-beta.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 (89) 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 +8 -43
  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/BoardChartInsertPanel.d.ts +3 -3
  63. package/lib/types/services/board-chart-clipboard-adapter.d.ts +3 -3
  64. package/lib/types/services/board-chart-data-edit.service.d.ts +4 -3
  65. package/lib/types/services/board-chart-render.service.d.ts +3 -3
  66. package/lib/types/services/board-chart-snapshot-render.service.d.ts +2 -2
  67. package/lib/types/services/board-chart-ui.service.d.ts +4 -4
  68. package/lib/types/services/chart-image-export-provider.d.ts +21 -0
  69. package/lib/umd/index.js +1 -1
  70. package/lib/umd/locale/ar-SA.js +1 -1
  71. package/lib/umd/locale/ca-ES.js +1 -1
  72. package/lib/umd/locale/de-DE.js +1 -1
  73. package/lib/umd/locale/en-US.js +1 -1
  74. package/lib/umd/locale/es-ES.js +1 -1
  75. package/lib/umd/locale/fa-IR.js +1 -1
  76. package/lib/umd/locale/fr-FR.js +1 -1
  77. package/lib/umd/locale/id-ID.js +1 -1
  78. package/lib/umd/locale/it-IT.js +1 -1
  79. package/lib/umd/locale/ja-JP.js +1 -1
  80. package/lib/umd/locale/ko-KR.js +1 -1
  81. package/lib/umd/locale/pl-PL.js +1 -1
  82. package/lib/umd/locale/pt-BR.js +1 -1
  83. package/lib/umd/locale/ru-RU.js +1 -1
  84. package/lib/umd/locale/sk-SK.js +1 -1
  85. package/lib/umd/locale/vi-VN.js +1 -1
  86. package/lib/umd/locale/zh-CN.js +1 -1
  87. package/lib/umd/locale/zh-HK.js +1 -1
  88. package/lib/umd/locale/zh-TW.js +1 -1
  89. package/package.json +12 -12
package/lib/es/index.js CHANGED
@@ -1 +1 @@
1
- const _0x51c089=_0x3703;(function(_0x47f559,_0x335b11){const _0x343fa3=_0x3703,_0xad994a=_0x47f559();while(!![]){try{const _0x3a34b8=-parseInt(_0x343fa3(0x302))/0x1+-parseInt(_0x343fa3(0x31d))/0x2*(parseInt(_0x343fa3(0x2c8))/0x3)+-parseInt(_0x343fa3(0x33d))/0x4+-parseInt(_0x343fa3(0x367))/0x5*(-parseInt(_0x343fa3(0x2cd))/0x6)+parseInt(_0x343fa3(0x18b))/0x7*(parseInt(_0x343fa3(0x210))/0x8)+parseInt(_0x343fa3(0x1c8))/0x9+parseInt(_0x343fa3(0x2b2))/0xa;if(_0x3a34b8===_0x335b11)break;else _0xad994a['push'](_0xad994a['shift']());}catch(_0x3d1163){_0xad994a['push'](_0xad994a['shift']());}}}(_0x599f,0x6264d));import{BoardElementType as _0x2c3774,BoardToolType as _0x26d3c3,IBoardElementService as _0x2da561,InsertBoardChartOperation as _0x12db70,UniverBoardsPlugin as _0x4f4de7,resolveBoardElementWorldBounds as _0x5dea0e}from'@univerjs-pro/boards';import{BOARDS_UI_PLUGIN_CONFIG_KEY as _0x2f6a38,BOARD_INSERT_CHART_PANEL_COMPONENT as _0x570d66,BoardCanvasPopManagerService as _0x3fcaba,BoardDeleteSelectionOperation as _0x5b1915,BoardDomLayerService as _0x14872b,BoardInteractionSurfaceService as _0x393262,IBoardClipboardResourceAdapterService as _0x378237,IBoardElementStateService as _0x5b0c6f,IBoardSidePanelService as _0x602cdd,IBoardUIStateService as _0x13a796,UniverBoardsUIPlugin as _0x22ddb8,getBoardElementRenderObjectKey as _0x1f376e,resolveRotatedBoardObjectAnchorBound as _0x435197}from'@univerjs-pro/boards-ui';import{CommandType as _0x250df0,DependentOn as _0x37617c,Disposable as _0x104147,DisposableCollection as _0x59379b,ICommandService as _0x1c7a44,IConfigService as _0x2c7746,IUniverInstanceService as _0x1afebb,Inject as _0x3771e8,Injector as _0x571342,LocaleService as _0x2a9b27,Optional as _0x49dd13,Plugin as _0x3e0ff2,RxDisposable as _0x2f3f41,ThemeService as _0x656a3,Tools as _0x3e2f9c,UniverInstanceType as _0x5a00fe,createIdentifier as _0x2b0cff,generateRandomId as _0x4b902b,merge as _0x13a383,toDisposable as _0x5f487e,touchDependencies as _0xaee2e4}from'@univerjs/core';import{BehaviorSubject as _0x40692d,combineLatest as _0x57776b,filter as _0x37a7e6,fromEvent as _0x2895ed,merge as _0x433459,takeUntil as _0x3d48f1,throttleTime as _0xad3d66}from'rxjs';import{BoardChartBuilderAdapter as _0x515b23,BoardChartModelService as _0x47649a,BoardChartResourceService as _0x2df296,DEFAULT_BOARD_CHART_VALUES as _0x591865,DuplicateBoardChartDataSourceCommand as _0x49fb78,RemoveBoardChartDataSourceMutation as _0x1f9a0e,RemoveBoardChartSnapshotMutation as _0x5eebba,SetBoardChartDataSourceMutation as _0x2254a1,SetBoardChartSnapshotMutation as _0x5612b2,UniverBoardsChartPlugin as _0x3d50e1,UpdateBoardChartConfigCommand as _0x243b85,UpdateBoardChartDataSourceCommand as _0x12b117}from'@univerjs-pro/boards-chart';import{CHART_ELEMENT_FLOAT_MENU_COMPONENT as _0x4c962d,CHART_TYPE_CATALOG as _0x48e4d6,ChartAxisSection as _0x49db35,ChartCommonDataMappingSection as _0x10d282,ChartEditBlockTitle as _0x2323a0,ChartEditPanel as _0x12fa7a,ChartEditPanelSection as _0x524885,ChartEditPanelTab as _0x202cbf,ChartEditPanelTabs as _0x3dd058,ChartEditorCapability as _0x951611,ChartEditorProvider as _0x3580e1,ChartElementFloatMenuAdapterRegistry as _0x107e21,ChartFunnelStyleSection as _0xfd8c75,ChartGradientFillField as _0x4b4157,ChartGridlinesAndTicksSection as _0x58aa06,ChartHeatmapStyleSection as _0x25b05d,ChartHostAdapter as _0x31b200,ChartIndicatorLineSection as _0x73316e,ChartInlineTableEditor as _0x4012a0,ChartLegendSection as _0x14b4ec,ChartLineAndAreaSection as _0x575d4e,ChartNumberFormatTextField as _0x3d2b22,ChartParetoSeriesSection as _0x31568a,ChartPieStyleSection as _0x248304,ChartRadarStyleSection as _0x5e6281,ChartRelationStyleSection as _0x1ab135,ChartSectionAccordion as _0x58ade9,ChartSectionAccordionContent as _0x5b2871,ChartSectionAccordionItem as _0x307f87,ChartSectionAccordionTrigger as _0xe6d5ee,ChartSeriesBorderFields as _0x3c4209,ChartSeriesDataLabelFields as _0x544cfd,ChartSeriesDataPointFields as _0x59dce8,ChartSeriesFillFields as _0x4edfff,ChartSeriesPointFields as _0x16cad4,ChartSeriesRightAxisField as _0x32708b,ChartSeriesRoot as _0x5d97d1,ChartSeriesSelector as _0x55a397,ChartSeriesTypeField as _0x1278d5,ChartSnapshotQueue as _0x283a3b,ChartStackField as _0x338c1d,ChartStyleSection as _0x46223d,ChartThemeField as _0x8c0508,ChartTitlesSection as _0x593d2c,ChartTrendlineSection as _0x33b079,ChartTypeField as _0x1428d0,ChartTypeSpecificDataSection as _0x34e1fa,ChartTypeSpecificSetupSection as _0x10a472,ChartTypeSpecificStyleSection as _0x56fcd1,ChartUIService as _0x1147d8,ChartViewStateKey as _0x4518ea,ChartViewStateRegistry as _0x38abdb,ChartWaterfallSetupFields as _0x5ce155,ChartWaterfallStyleSection as _0x373623,ChartWordCloudMaskImageIdField as _0x2184b7,ChartWordCloudRepeatField as _0x2c5304,ChartWordCloudRoot as _0x3f831d,ChartWordCloudShapeField as _0x3a4abd,DEFAULT_CHART_AXIS_VALUES as _0x572c,DEFAULT_CHART_FUNNEL_VALUES as _0x561fcc,DEFAULT_CHART_HEATMAP_VALUES as _0x148d16,DEFAULT_CHART_INDICATOR_LINE_VALUES as _0x866942,DEFAULT_CHART_LEGEND_VALUES as _0x878204,DEFAULT_CHART_LINE_AND_AREA_VALUES as _0x1e1979,DEFAULT_CHART_PARETO_VALUES as _0x580178,DEFAULT_CHART_PIE_VALUES as _0x58e5a9,DEFAULT_CHART_RADAR_VALUES as _0x4138e2,DEFAULT_CHART_RELATION_VALUES as _0x444024,DEFAULT_CHART_SERIES_VALUES as _0x441292,DEFAULT_CHART_STYLE_VALUES as _0x4a4db1,DEFAULT_CHART_TITLE_VALUES as _0x91e9b4,DEFAULT_CHART_TRENDLINE_VALUES as _0x18e0b8,DEFAULT_CHART_WATERFALL_SETUP_VALUES as _0x20a99d,DEFAULT_CHART_WATERFALL_STYLE_VALUES as _0x1bb3cb,DEFAULT_CHART_WORD_CLOUD_VALUES as _0x3dfb74,InlineChartCreationIssueCode as _0x549cb3,UniverChartUIPlugin as _0x222884,buildChartTypeSelectOptions as _0x3ba0a7,chartTypeSupportsCapability as _0x927916,chartTypeSupportsLineAndAreaStyle as _0x1872d9,createChartElementFloatMenuAdapter as _0x557cfa,createChartInlineStarterData as _0x20c01a,getChartInlineTableMinColumns as _0x22e004,resolveChartEditPanelRoute as _0x260e18,resolveChartElementSelection as _0x189c7e,tryBuildInlineChartCreationPlan as _0x5deac1,tryPrepareInlineChartData as _0x2463d9,useChartEditorChartType as _0x9a337c,useChartEditorHasRightAxis as _0xafaff4}from'@univerjs-pro/chart-ui';import{CHART_HOST_DEFAULT_BORDER_COLOR as _0x1f0671,CHART_HOST_DEFAULT_BORDER_RADIUS as _0x3c29cb,ChartHostRenderMode as _0x38ce5f,ChartThemeService as _0x30ea69,ChartTypeBits as _0x4b582b,DataUrlImageChartHost as _0x4dcbac,IChartRenderModelManagerService as _0x4f0b2c,chartBitsUtils as _0x17d045,chartTypeCanUseTrendLine as _0x24a4c0,defaultChartConfig as _0x26bcd9,parseInlineChartTable as _0x3875a5,resolveChartRuntimeStyle as _0x797ccb,resolveDefaultChartHostFrameStyle as _0x195161}from'@univerjs-pro/engine-chart';import{Button as _0x4c36c3,Select as _0x25ecbb,Separator as _0x1ec940,borderClassName as _0x3cc76e,clsx as _0x2105fe}from'@univerjs/design';import{DeleteIcon as _0x4fdb8c,PenIcon as _0x1f3043}from'@univerjs/icons';import{ComponentManager as _0x2491b1,ICanvasPopupService as _0x390aef,IDialogService as _0x15f4d5,useDependency as _0x295177,useObservable as _0x4c13b6}from'@univerjs/ui';import{useEffect as _0xcbe30d,useMemo as _0x4f558d,useRef as _0x15ca94,useState as _0xbe82a8}from'react';import{jsx as _0x5d3079,jsxs as _0x47d9d4}from'react/jsx-runtime';import{UniverLicensePlugin as _0x2e2a1d}from'@univerjs-pro/license';import{IRenderManagerService as _0x4b4297,Image as _0x528148,UniverRenderEnginePlugin as _0x395f30}from'@univerjs/engine-render';function _0x599f(){const _0x58605c=['boards-chart-ui.section.candlestick','insertParams','titleKey','_adapterRegistry','markNotReady','Gauge','_themeService','univer-flex\x20univer-h-0\x20univer-min-h-full\x20univer-w-full\x20univer-flex-col\x20univer-overflow-hidden\x20univer-bg-white\x20dark:!univer-bg-gray-900','pareto','_updateFrameStyle','getFrameStyle','borderColor','onDblclick$','_drawChartImage','board-chart.snapshot-renderer','_localeService','clientWidth','rgba(255,\x20255,\x20255,\x200.18)','boards-chart-ui.section.gridlinesAndTicks','_modelService','boards-chart-ui.common.switchRowColumn','boards-chart-ui.section.treemap','setStyle','getOwnPropertyDescriptor','waterfall','_componentManager','Chord','getDataSource','_element','dataUrl','boards-chart-ui.common.editData','key','boards-chart-ui.section.paretoBar','boards-chart-ui.common.valueField','isDarkMode','values','onCancel','_renderModelManager','div','dispose','elementUpdate$','borderRadius','Column','Heatmap','version','label','400156BUFyaI','checkMounted','syncObject','requestSnapshot','boards-chart-ui.section.pie','next','ready','resolve','applyHostStyle','visible','_activeLayerDisposable','updateElement','_openFloatMenu','_resourceService','updateShared','removePopup','getConfig','map','_appendRenderAdapter','boards-chart-element-float-menu','onerror','GeneralSeries','_snapshotRefreshers','_bindChartEventHandler','transformByState','join','Series','922xCGzXd','strokeWidth','activeTool','sharingCount','onStarting','_domLayerService','_activePanelDisposable','elements','asObservable','preventDefault','close','style$','state$','bottom','_activeSession$','extraProps','_disposeChartEventSubscriptions','ParetoLineSeries','createObject','ChartStyle','Pareto','_popupRuntimeKey','code','max','_listenChartResourceMutations','tab','_clearPopup','activeScene','axisId','boards-chart-ui.common.category','add','then','338300JwhKqe','boards-chart-ui.common.data','univer-relative\x20univer-h-full\x20univer-w-full\x20univer-overflow-hidden','_chartElementEditMode','composite','_renderService','chart','boards-chart-ui.common.insertChartFailed','delete','anchorRect$','click','board.operation.chart.open-data-editor','Image','unsubscribe','dataSources','error','default','LineAndArea','createControl$','tools','boards-chart-ui.candlestick.open','boards-chart-ui.chartTypes.','isElementEditModeActive','_resolveFrameStyle','scaleY','boards-chart-ui.common.value','WordCloud','UNIVER_BOARD','select','board-chart.ui.service','_registerAdapter','isRowDirection','_objectDblclickDisposables','_clearHiddenSelectedTarget','Doughnut','_activeLayerId','onFileLoaded$','boards-chart-ui.chord.target','boards-chart-ui.common.editChart','scaleX','isTransforming','register','2397025OXdLqa','EmptyData','_attachObjectDoubleClicks','_uiStateService','activeSession$','_popupDisposable','open','_chartUIService','_syncPanel','children','borderWidth','boards-chart-ui.candlestick.high','HorizontalAxis','refreshChartModel','boards-chart-ui.common.rightVerticalAxis','stroke','fillStyle','value','_syncSelectionState','Line','_activeEditOverlay','registerChartInstance','issue','ensureChartModel','series','_host','chartId','_editSessionService','moveTo','boards-chart-ui.dataEditor.updateFailed','zIndex','heatmap','getDataUrl','barStyle','BarPercentStacked','additionalRenderAdapters','_closeActivePanel','from','setActiveChartById','boards-chart-ui.common.label','save','getUnit','boards-chart-ui.section.lineAndArea','pipe','PieStyle','_scheduleAttachObjectDoubleClicks','setElementEditMode','emitEvent','getHostStyle','closePath','_chartEventDisposables','clientY','programmatic','lineTo','backgroundColor','getRuntimeContext','boards-chart-ui.common.customize','ColumnStacked','scroll','border-box','dataSourceId','snapshotUpdated$','changeEnd$','stylizeSpec','lineAndArea','_elementStateService','_init','absolute','4946683gEJfrI','AreaStacked','scene','number','resourceService','img','Dom','initialRect','data:image/svg+xml;charset=utf-8,%0A%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20160%20100%22%3E%0A%20%20%3Crect%20x%3D%220.5%22%20y%3D%220.5%22%20width%3D%22159%22%20height%3D%2299%22%20rx%3D%225%22%20fill%3D%22%23f8fafc%22%20stroke%3D%22%2394a3b8%22%2F%3E%0A%20%20%3Cpath%20d%3D%22M26%2070V47M52%2070V32M78%2070V55M104%2070V40M130%2070V25%22%20stroke%3D%22%232563eb%22%20stroke-width%3D%227%22%20stroke-linecap%3D%22round%22%2F%3E%0A%20%20%3Cpath%20d%3D%22M20%2076H140%22%20stroke%3D%22%23cbd5e1%22%20stroke-width%3D%222%22%2F%3E%0A%3C%2Fsvg%3E%0A','Treemap','getElementData','hostFill','_clearPopupIfSelectionChanged','hidden','getDataSourceSharingCount','style','boards-chart-ui.common.setup','type','size','pie','length','hit','disposeWithMe','_requestSnapshotForObject','Pie','charts','selectElements','registerRenderModule','axis','span','getViewState','registerItem','boards-chart-ui.dataEditor.unavailable','_renderContext','Trendline','forEach','_commandService','Boxplot','getChart','univer-p-4\x20univer-text-sm\x20univer-text-gray-500\x20dark:!univer-text-gray-400','boards-chart-ui.section.gauge','getSnapshot','params','getState','univer-flex\x20univer-justify-end\x20univer-gap-2','clear','boards-chart-ui.section.histogram','pendingInsert','chartElement','executeChartUpdateConfig','getElementById','toPrimitive','naturalHeight','current','parseInt','section','skipNextObservers','wordCloud','cumulativeLineStyle','chartModelRemoved$','call','61884hhGrvK','activeRuntimeModel$','makeDirty','subUnitId','mode','_showPopupForSelection','Board\x20chart\x20snapshot\x20rendering\x20requires\x20a\x20browser\x20document.','getActivePageId','route','board-chart-style-panel','board-chart.dialog.data-editor','keys','focusedId','_adapter','getObject','ColumnPercentStacked','onClose','_drawFrameStroke','get','elementRemove$','_chartInstanceMap','collect','_removeRenderAdapter','getDataEditState','activeRuntimeModel','left','OPERATION','setConfig','boards-chart-ui.common.heatmap','_notifyScene','translate','boards-chart-ui.candlestick.low','Candlestick','dispose$','boards-chart-ui.section.funnel','toolbar','!univer-w-36\x20!univer-min-w-0','baseOn','enabled','source','filter','showFloatMenu','boards-chart-ui.chord.source','_config','match','boards-chart-ui.section.sunburst','subscribe','getRenderColor','status','string','complete','boards-chart-ui.common.deleteChart','seriesId','innerWidth','createChartInstance','top','Waterfall','executeCommand','Sankey','onDispose$','boxSizing','_applyHostStyle','labelId','manual','Data','elementDataItem','min','univer-box-border\x20univer-flex\x20univer-h-12\x20univer-items-center\x20univer-gap-1\x20univer-rounded-lg\x20univer-bg-white\x20univer-px-2\x20univer-py-1.5\x20univer-text-gray-700\x20univer-shadow-lg\x20dark:!univer-bg-gray-900\x20dark:!univer-text-gray-100','themeBorderColor','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','column','_canvasPopupService','8QNqBmZ','updateFrameStyle','set','nativeEvent','getRenderUnitById','boards-chart-ui.common.legend','getActiveSession','target','_instanceService','getCurrentRenderModel','univer-text-sm\x20univer-font-medium\x20univer-text-gray-900\x20dark:!univer-text-white','_watchSnapshotUpdates','_chartRenderService','boards-chart-ui.common.chartAndAxisTitles','element','elementId','board.chart.floating-toolbar','_popupSelectionKey','UnknownOption','src','function','defineProperty','push','Relation','drawImage','find','Legend','plan','bounds','config','_getChartRuntimeKey','_native','boards-chart-ui.common.cancel','innerHeight','subscribeEvent','beginPath','ChartAndAxisTitles','getEngine','Funnel','_resolveElementObject','_univerInstanceService','restore','change','pending','IndicatorLine','_activeChart','deepClone','bind','slice','_snapshotService','board-chart.edit-panel','rgb(','_buildPopupSelectionKey','_clearActiveLayer','createRenderInput','univer-w-full\x20!univer-min-w-0','board-chart','iterator','boards-chart-ui.common.horizontalAxis','_registerComponents','RightVerticalAxis','univer-text-xs\x20univer-text-red-600','crossOrigin','onEditData','board-chart.data-editor-dialog','board-chart-setup-panel','render','resize','UNIVER_BOARDS_CHART_UI_PLUGIN','AreaPercentStacked','InvalidCandlestickData','small','border','elementAdd$','_frameStyle','VerticalAxis','_createChartRenderInstanceContext','onInserted','radius','attachPopupToObject','interactionSurfaceActive$','primary','chartInvalidated$','darkMode','_chartEventHandlers','changeChartSource','split','waterfallStyle','_interactionSurfaceService','GridlinesAndTicks','preparePaste','Sunburst','selectedIds','overflow','selectionChange','@univerjs-pro/boards-chart-ui','flipY','arc','delete-chart','registerCommand','_chartThemeService','strokeStyle','rect','boards-chart-ui.section.chord','_chartEventSubscriptions','isFinite','setActiveChartRuntime','_closePopup','titles','targetUnitId','width','createRenderSpec','_getBoardsUIConfig','boards-chart-ui.common.series','chartType','boards-chart-ui.section.paretoLine','chartIdByElementId','invalidateChart','Chart','naturalWidth','_syncActiveChart','_shouldWaitForChartConfig','_injector','trendline','boards-chart-ui.common.verticalAxis','boards-chart-ui.candlestick.columnsError','_boardElementService','Axes','fill','pieSecondaryPlotType','oKey','dataSource','updateDataForChart','Histogram','frameStyle','has','_isPopupSelectionStillActive','decorate','Failed\x20to\x20render\x20board\x20chart\x20snapshot:\x20','getChartModel','includes','color','univer-flex\x20univer-flex-col\x20univer-gap-2','context','WaterfallSeries','chartStyle','_renderManagerService','chartType$','ParetoBarSeries','_clearActiveEditOverlay','getElement','localPoint','some','Scatter','getBoundingClientRect','_configService','_activePanelKey','engine','boards-chart-ui.config','quickToolbar','boards-chart-ui.common.trendline','_attachScheduled','3208400hhMvsK','boards-chart-ui.section.relation','changeStart$','funnel','button','createElement','flipX','_draw','lineWidth','height','BarStacked','popup','univer-flex\x20univer-flex-col\x20univer-gap-3\x20univer-px-4\x20univer-pb-5','addPopup','clientHeight','Select','Board\x20chart\x20','secondaryPlot','_boardCanvasPopManagerService','right','boards-chart-ui.section.waterfall','Radar','4074PJfhme','name','boards-chart-ui.common.insert','unitId','univer-flex\x20univer-size-7\x20univer-items-center\x20univer-justify-center\x20univer-rounded-md\x20univer-border-none\x20univer-bg-transparent\x20univer-p-0\x20univer-text-gray-700\x20univer-transition-colors\x20hover:univer-bg-gray-100\x20dark:!univer-text-gray-100\x20dark:hover:!univer-bg-gray-700','6qXLPwF','model','prototype','object','Style','_disposeChartEventSubscription','_attachNativeLoadHandlers'];_0x599f=function(){return _0x58605c;};return _0x599f();}const Ln=_0x51c089(0x2ae),Rn={};function z(_0x1b3333){'@babel/helpers - typeof';const _0x4e0417=_0x51c089;return z=typeof Symbol=='function'&&typeof Symbol[_0x4e0417(0x249)]=='symbol'?function(_0x181737){return typeof _0x181737;}:function(_0x4ff086){const _0x2bd4cb=_0x4e0417;return _0x4ff086&&typeof Symbol==_0x2bd4cb(0x224)&&_0x4ff086['constructor']===Symbol&&_0x4ff086!==Symbol[_0x2bd4cb(0x2cf)]?'symbol':typeof _0x4ff086;},z(_0x1b3333);}function zn(_0xc1cf70,_0x2f4a5d){const _0x540bdf=_0x51c089;if(z(_0xc1cf70)!=_0x540bdf(0x2d0)||!_0xc1cf70)return _0xc1cf70;var _0x53791c=_0xc1cf70[Symbol[_0x540bdf(0x1be)]];if(_0x53791c!==void 0x0){var _0x2ac890=_0x53791c['call'](_0xc1cf70,_0x2f4a5d||_0x540bdf(0x34d));if(z(_0x2ac890)!=_0x540bdf(0x2d0))return _0x2ac890;throw TypeError(_0x540bdf(0x20d));}return(_0x2f4a5d===_0x540bdf(0x1f9)?String:Number)(_0xc1cf70);}function Bn(_0x1bc228){const _0x238e86=_0x51c089;var _0x43b4f1=zn(_0x1bc228,_0x238e86(0x1f9));return z(_0x43b4f1)=='symbol'?_0x43b4f1:_0x43b4f1+'';}function B(_0x318ae5,_0x519ae7,_0x53d4ac){const _0x38bc9c=_0x51c089;return(_0x519ae7=Bn(_0x519ae7))in _0x318ae5?Object[_0x38bc9c(0x225)](_0x318ae5,_0x519ae7,{'value':_0x53d4ac,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x318ae5[_0x519ae7]=_0x53d4ac,_0x318ae5;}function V(_0x515023,_0x752b87){return function(_0x3dbd24,_0x25119e){_0x752b87(_0x3dbd24,_0x25119e,_0x515023);};}function H(_0x5b7239,_0x4e729e,_0x28ff98,_0x280eb1){const _0x5a232c=_0x51c089;var _0x36e31b=arguments[_0x5a232c(0x19f)],_0x5c6a18=_0x36e31b<0x3?_0x4e729e:_0x280eb1===null?_0x280eb1=Object[_0x5a232c(0x2eb)](_0x4e729e,_0x28ff98):_0x280eb1,_0x5c617e;if(typeof Reflect=='object'&&typeof Reflect['decorate']==_0x5a232c(0x224))_0x5c6a18=Reflect[_0x5a232c(0x299)](_0x5b7239,_0x4e729e,_0x28ff98,_0x280eb1);else{for(var _0x5ca383=_0x5b7239[_0x5a232c(0x19f)]-0x1;_0x5ca383>=0x0;_0x5ca383--)(_0x5c617e=_0x5b7239[_0x5ca383])&&(_0x5c6a18=(_0x36e31b<0x3?_0x5c617e(_0x5c6a18):_0x36e31b>0x3?_0x5c617e(_0x4e729e,_0x28ff98,_0x5c6a18):_0x5c617e(_0x4e729e,_0x28ff98))||_0x5c6a18);}return _0x36e31b>0x3&&_0x5c6a18&&Object[_0x5a232c(0x225)](_0x4e729e,_0x28ff98,_0x5c6a18),_0x5c6a18;}function Vn(_0x3166a5,_0x18f6c0){const _0x44c174=_0x51c089;return(_0x3166a5==null?void 0x0:_0x3166a5[_0x44c174(0x336)])===(_0x18f6c0==null?void 0x0:_0x18f6c0[_0x44c174(0x336)])&&(_0x3166a5==null?void 0x0:_0x3166a5[_0x44c174(0x1c2)])===(_0x18f6c0==null?void 0x0:_0x18f6c0[_0x44c174(0x1c2)])&&(_0x3166a5==null?void 0x0:_0x3166a5['titleKey'])===(_0x18f6c0==null?void 0x0:_0x18f6c0[_0x44c174(0x2d6)])&&(_0x3166a5==null?void 0x0:_0x3166a5[_0x44c174(0x339)])===(_0x18f6c0==null?void 0x0:_0x18f6c0[_0x44c174(0x339)])&&(_0x3166a5==null?void 0x0:_0x3166a5[_0x44c174(0x1fc)])===(_0x18f6c0==null?void 0x0:_0x18f6c0['seriesId']);}function Hn(_0x386aeb,_0x319627){const _0x2e0674=_0x51c089;return(_0x386aeb==null?void 0x0:_0x386aeb[_0x2e0674(0x2cb)])===_0x319627[_0x2e0674(0x2cb)]&&_0x386aeb['subUnitId']===_0x319627['subUnitId']&&_0x386aeb['elementId']===_0x319627['elementId']&&_0x386aeb[_0x2e0674(0x161)]===_0x319627[_0x2e0674(0x161)]&&_0x386aeb[_0x2e0674(0x1ef)]===_0x319627[_0x2e0674(0x1ef)]&&Vn(_0x386aeb[_0x2e0674(0x1d0)],_0x319627['route']);}let U=class extends _0x104147{constructor(_0x1e6ada,_0x170c00){const _0x213803=_0x51c089;super(),this[_0x213803(0x188)]=_0x1e6ada,this[_0x213803(0x28e)]=_0x170c00,B(this,'_activeSession$',new _0x40692d(null)),B(this,_0x213803(0x36b),this[_0x213803(0x32b)][_0x213803(0x325)]()),this[_0x213803(0x1a1)](this['_elementStateService'][_0x213803(0x329)][_0x213803(0x1f6)](_0x380a86=>this[_0x213803(0x159)](_0x380a86))),this['disposeWithMe'](this[_0x213803(0x28e)][_0x213803(0x1db)]['subscribe'](_0x14f91a=>{const _0x1c7f33=_0x213803;let _0x45ddb5=this[_0x1c7f33(0x216)]();_0x45ddb5&&_0x14f91a[_0x1c7f33(0x2a8)](_0x3ff972=>_0x3ff972['unitId']===_0x45ddb5[_0x1c7f33(0x2cb)]&&_0x3ff972['subUnitId']===_0x45ddb5[_0x1c7f33(0x1cb)]&&_0x3ff972[_0x1c7f33(0x21f)]===_0x45ddb5[_0x1c7f33(0x21f)])&&this[_0x1c7f33(0x327)]('elementRemoved');}));}[_0x51c089(0x2fb)](){const _0x47144a=_0x51c089;this[_0x47144a(0x327)](_0x47144a(0x2fb)),this[_0x47144a(0x32b)]['complete'](),super[_0x47144a(0x2fb)]();}[_0x51c089(0x216)](){const _0x26ab02=_0x51c089;return this[_0x26ab02(0x32b)]['getValue']();}['open'](_0x43045d){const _0x5dd64a=_0x51c089;let _0x168d94={..._0x43045d};Hn(this[_0x5dd64a(0x216)](),_0x168d94)||this[_0x5dd64a(0x32b)][_0x5dd64a(0x307)](_0x168d94);}[_0x51c089(0x327)](_0x8b1ed4){const _0x2938dd=_0x51c089;this[_0x2938dd(0x216)]()&&this[_0x2938dd(0x32b)][_0x2938dd(0x307)](null);}[_0x51c089(0x159)](_0x1e07da){const _0x11d591=_0x51c089;let _0x209c3f=this['getActiveSession']();if(!_0x209c3f)return;if(_0x1e07da[_0x11d591(0x365)]){this[_0x11d591(0x327)]('transformStart');return;}if(!_0x1e07da['context']){this[_0x11d591(0x327)]('selectionChange');return;}if(_0x1e07da[_0x11d591(0x29f)]['unitId']!==_0x209c3f['unitId']){this[_0x11d591(0x327)](_0x11d591(0x26e));return;}if(_0x1e07da[_0x11d591(0x29f)][_0x11d591(0x1cb)]!==_0x209c3f[_0x11d591(0x1cb)]){this['close']('pageChange');return;}if(_0x1e07da[_0x11d591(0x26c)][_0x11d591(0x19f)]!==0x1||_0x1e07da[_0x11d591(0x1d4)]!==_0x209c3f[_0x11d591(0x21f)]){this[_0x11d591(0x327)](_0x11d591(0x26e));return;}let _0x44bb56=this[_0x11d591(0x28e)][_0x11d591(0x1bd)](_0x209c3f[_0x11d591(0x2cb)],_0x209c3f['subUnitId'],_0x209c3f[_0x11d591(0x21f)]);(!_0x44bb56||_0x44bb56[_0x11d591(0x21e)]['type']!==_0x2c3774[_0x11d591(0x286)]||_0x44bb56[_0x11d591(0x21e)][_0x11d591(0x161)]!==_0x209c3f[_0x11d591(0x161)])&&this[_0x11d591(0x327)]('selectionChange');}};U=H([V(0x0,_0x5b0c6f),V(0x1,_0x2da561)],U);const Un=new Set([_0x4b582b[_0x51c089(0x180)],_0x4b582b[_0x51c089(0x1d7)],_0x4b582b[_0x51c089(0x2bc)],_0x4b582b[_0x51c089(0x169)],_0x4b582b[_0x51c089(0x35f)],_0x4b582b[_0x51c089(0x18c)],_0x4b582b[_0x51c089(0x255)],_0x4b582b[_0x51c089(0x331)]]),Wn=_0x48e4d6[_0x51c089(0x1f0)](_0x5f3e1a=>!Un[_0x51c089(0x297)](_0x5f3e1a[_0x51c089(0x158)])),W=_0x2b0cff(_0x51c089(0x35a));let Gn=class extends _0x1147d8{constructor(_0x574a95,_0x2fcc04,_0xf2b16,_0x479640){const _0x35af42=_0x51c089;super(_0x479640),this['_modelService']=_0x574a95,this['_resourceService']=_0x2fcc04,this[_0x35af42(0x1af)]=_0xf2b16;}get[_0x51c089(0x1e0)](){const _0xf107fa=_0x51c089;return this['_modelService'][_0xf107fa(0x1e0)];}get[_0x51c089(0x1c9)](){const _0x5dbb30=_0x51c089;return this[_0x5dbb30(0x2e7)][_0x5dbb30(0x1c9)];}get[_0x51c089(0x18f)](){const _0x1e7926=_0x51c089;return this[_0x1e7926(0x30f)];}[_0x51c089(0x1bc)](_0x138806){const _0xc374df=_0x51c089;let _0x200b60=this[_0xc374df(0x2e7)][_0xc374df(0x1e0)],_0x59a7ae=_0x138806[_0xc374df(0x2cb)]??(_0x200b60==null?void 0x0:_0x200b60[_0xc374df(0x2cb)]),_0x3622b3=_0x138806[_0xc374df(0x161)]??(_0x200b60==null?void 0x0:_0x200b60[_0xc374df(0x161)]);!_0x59a7ae||!_0x3622b3||this[_0xc374df(0x1af)]['executeCommand'](_0x243b85['id'],{..._0x138806,'unitId':_0x59a7ae,'chartId':_0x3622b3});}};Gn=H([V(0x0,_0x3771e8(_0x47649a)),V(0x1,_0x3771e8(_0x2df296)),V(0x2,_0x1c7a44),V(0x3,_0x3771e8(_0x38abdb))],Gn);const Kn=_0x51c089(0x220);function qn(_0x136272){_0x136272['stopPropagation']();}function Jn(_0xc10ef9){const _0x3d4c00=_0x51c089;var _0x3a9c50,_0x428a51;let _0x321de6=_0x295177(_0x1c7a44),_0x79dff5=_0x295177(_0x571342),_0x36ddaf=_0x295177(_0x1afebb),_0x513ab8=_0x295177(_0x2a9b27),_0x2b4100=_0x295177(_0x47649a),_0x5776ee=_0x295177(W),_0x1ae89a=_0x295177(U),_0x242471=_0x4f558d(()=>_0x2b4100[_0x3d4c00(0x15e)](_0xc10ef9[_0x3d4c00(0x2cb)],_0xc10ef9['chartId']),[_0xc10ef9[_0x3d4c00(0x161)],_0xc10ef9[_0x3d4c00(0x2cb)],_0x2b4100]),_0x108b95=_0x4c13b6(_0x242471==null?void 0x0:_0x242471[_0x3d4c00(0x2ce)][_0x3d4c00(0x2a3)],_0x242471==null?void 0x0:_0x242471[_0x3d4c00(0x2ce)][_0x3d4c00(0x282)]),_0xec4bd2=_0x4c13b6(_0x242471==null?void 0x0:_0x242471[_0x3d4c00(0x2ce)][_0x3d4c00(0x328)],_0x242471==null?void 0x0:_0x242471[_0x3d4c00(0x2ce)][_0x3d4c00(0x19a)]),_0x4c205c=_0x4f558d(()=>{const _0x515f4a=_0x3d4c00;let _0x54ad7a=_0x36ddaf[_0x515f4a(0x170)](_0xc10ef9[_0x515f4a(0x2cb)],_0x5a00fe[_0x515f4a(0x358)]);return!_0x242471||!_0x54ad7a?null:new _0x31b200(_0x242471['model'],new _0x515b23({'unitId':_0xc10ef9[_0x515f4a(0x2cb)],'pageId':_0xc10ef9[_0x515f4a(0x1cb)],'chartId':_0xc10ef9[_0x515f4a(0x161)],'elementId':_0xc10ef9[_0x515f4a(0x21f)],'boardModel':_0x54ad7a,'injector':_0x79dff5}));},[_0xc10ef9,_0x79dff5,_0x242471,_0x36ddaf]),_0x41d317=_0x4f558d(()=>_0x3ba0a7(Wn[_0x3d4c00(0x313)](_0x29fcc0=>({..._0x29fcc0,'label':_0x513ab8['t'](_0x3d4c00(0x352)+_0x29fcc0[_0x3d4c00(0x206)])}))),[_0x513ab8]);if(!_0x242471)return null;let _0x2fa5bd=()=>{const _0x12cc48=_0x3d4c00;_0x1ae89a[_0x12cc48(0x36d)]({'chartId':_0xc10ef9[_0x12cc48(0x161)],'elementId':_0xc10ef9[_0x12cc48(0x21f)],'source':_0x12cc48(0x2af),'subUnitId':_0xc10ef9[_0x12cc48(0x1cb)],'unitId':_0xc10ef9[_0x12cc48(0x2cb)]});},_0x230483=()=>_0x321de6[_0x3d4c00(0x201)](_0x5b1915['id']),_0x18ec20=_0x5a6ce6=>{const _0x31040b=_0x3d4c00;var _0x17d44d,_0x2579ef,_0x114234;if(_0x2b4100[_0x31040b(0x27a)](_0x242471),!_0x4c205c)return;let _0x48425c=_0x41d317[_0x31040b(0x229)](_0x54eeb0=>_0x54eeb0[_0x31040b(0x158)]===_0x5a6ce6),_0x5a3bc9=(_0x48425c==null?void 0x0:_0x48425c[_0x31040b(0x282)])??Number(_0x5a6ce6);if((_0x17d44d=(_0x2579ef=_0x5776ee[_0x31040b(0x1a9)](_0x4518ea['ChartType']))['set'])==null||_0x17d44d['call'](_0x2579ef,_0x4c205c,_0x5a3bc9),_0x48425c!=null&&_0x48425c[_0x31040b(0x291)]){var _0x3b46e2,_0x744d69,_0x493997,_0x296226;(_0x3b46e2=(_0x744d69=_0x5776ee[_0x31040b(0x1a9)](_0x4518ea[_0x31040b(0x1a3)]))[_0x31040b(0x212)])==null||_0x3b46e2['call'](_0x744d69,_0x4c205c,{'composite':{..._0xec4bd2==null||(_0x493997=_0xec4bd2['pie'])==null?void 0x0:_0x493997[_0x31040b(0x341)],'enabled':!0x0,'secondaryPlot':{..._0xec4bd2==null||(_0x296226=_0xec4bd2[_0x31040b(0x19e)])==null||(_0x296226=_0x296226[_0x31040b(0x341)])==null?void 0x0:_0x296226[_0x31040b(0x2c3)],'type':_0x48425c[_0x31040b(0x291)]}}});}else{if(_0x5a3bc9===_0x4b582b[_0x31040b(0x1a3)]&&_0xec4bd2!=null&&(_0x114234=_0xec4bd2['pie'])!=null&&_0x114234['composite']){var _0x42a8e7,_0x30c42c;(_0x42a8e7=(_0x30c42c=_0x5776ee[_0x31040b(0x1a9)](_0x4518ea[_0x31040b(0x1a3)]))[_0x31040b(0x212)])==null||_0x42a8e7[_0x31040b(0x1c7)](_0x30c42c,_0x4c205c,{'composite':{..._0xec4bd2[_0x31040b(0x19e)][_0x31040b(0x341)],'enabled':!0x1}});}}},_0x46a460=(_0xec4bd2==null||(_0x3a9c50=_0xec4bd2[_0x3d4c00(0x19e)])==null||(_0x3a9c50=_0x3a9c50[_0x3d4c00(0x341)])==null?void 0x0:_0x3a9c50[_0x3d4c00(0x1ee)])===!0x0?(_0x428a51=_0xec4bd2[_0x3d4c00(0x19e)][_0x3d4c00(0x341)]['secondaryPlot'])==null?void 0x0:_0x428a51['type']:void 0x0,_0x689df5=_0x46a460?_0x41d317[_0x3d4c00(0x229)](_0x302b93=>_0x302b93[_0x3d4c00(0x291)]===_0x46a460):void 0x0;return _0x47d9d4('div',{'className':_0x2105fe(_0x3d4c00(0x20b),_0x3cc76e),'data-u-comp':'board-chart-floating-toolbar','role':'toolbar','onMouseDown':qn,'onPointerDown':qn,'children':[_0x5d3079(_0x25ecbb,{'aria-label':_0x513ab8['t']('boards-chart-ui.common.chartType'),'className':_0x3d4c00(0x1ec),'value':(_0x689df5==null?void 0x0:_0x689df5[_0x3d4c00(0x158)])??String(_0x108b95),'options':_0x41d317,'onChange':_0x18ec20}),_0x5d3079(_0x1ec940,{'orientation':'vertical'}),_0x5d3079(_0x3d4c00(0x2b6),{'type':'button','aria-label':_0x513ab8['t'](_0x3d4c00(0x363)),'title':_0x513ab8['t'](_0x3d4c00(0x363)),'className':'univer-flex\x20univer-size-7\x20univer-items-center\x20univer-justify-center\x20univer-rounded-md\x20univer-border-none\x20univer-bg-transparent\x20univer-p-0\x20univer-text-gray-700\x20univer-transition-colors\x20hover:univer-bg-gray-100\x20dark:!univer-text-gray-100\x20dark:hover:!univer-bg-gray-700','data-toolbar-item':'edit-chart','onClick':_0x2fa5bd,'children':_0x5d3079(_0x1f3043,{})}),_0x5d3079('button',{'type':_0x3d4c00(0x2b6),'aria-label':_0x513ab8['t'](_0x3d4c00(0x1fb)),'title':_0x513ab8['t'](_0x3d4c00(0x1fb)),'className':_0x3d4c00(0x2cc),'data-toolbar-item':_0x3d4c00(0x272),'onClick':_0x230483,'children':_0x5d3079(_0x4fdb8c,{})})]});}function Yn(_0x36601a){const _0x28d771=_0x51c089;let _0x37c9c1=_0x36601a[_0x28d771(0x2bd)][_0x28d771(0x32c)];return _0x37c9c1?_0x5d3079(Jn,{..._0x37c9c1}):null;}let Xn=class extends _0x2f3f41{constructor(_0x2f51ff,_0x48dd60,_0x42e7a0,_0x5e9832,_0x19e134,_0x12c654,_0x29d51c){const _0x341333=_0x51c089;super(),this[_0x341333(0x1ac)]=_0x2f51ff,this[_0x341333(0x2c4)]=_0x48dd60,this['_boardElementService']=_0x42e7a0,this[_0x341333(0x188)]=_0x5e9832,this[_0x341333(0x36a)]=_0x19e134,this['_editSessionService']=_0x12c654,this[_0x341333(0x268)]=_0x29d51c,B(this,_0x341333(0x36c),null),B(this,'_popupSelectionKey',null),this[_0x341333(0x189)]();}[_0x51c089(0x2fb)](){const _0x958e7d=_0x51c089;this[_0x958e7d(0x337)](),super['dispose']();}[_0x51c089(0x189)](){const _0x5bab0b=_0x51c089;let _0x12dab9=this[_0x5bab0b(0x1ac)][_0x5bab0b(0x18d)]['getTransformerByCreate']();this[_0x5bab0b(0x1a1)](_0x5f487e(_0x12dab9[_0x5bab0b(0x34f)][_0x5bab0b(0x172)](_0x3d48f1(this[_0x5bab0b(0x1e9)]))[_0x5bab0b(0x1f6)](()=>{const _0x375021=_0x5bab0b;this[_0x375021(0x1cd)]();}))),this['disposeWithMe'](_0x5f487e(_0x12dab9['clearControl$']['pipe'](_0x3d48f1(this[_0x5bab0b(0x1e9)]))[_0x5bab0b(0x1f6)](()=>{this['_clearPopupIfSelectionChanged']();}))),this[_0x5bab0b(0x1a1)](_0x5f487e(_0x12dab9[_0x5bab0b(0x2b4)]['pipe'](_0x3d48f1(this[_0x5bab0b(0x1e9)]))[_0x5bab0b(0x1f6)](()=>{const _0x38dd7a=_0x5bab0b;this[_0x38dd7a(0x337)]();}))),this['disposeWithMe'](_0x5f487e(_0x12dab9[_0x5bab0b(0x185)][_0x5bab0b(0x172)](_0x3d48f1(this['dispose$']))[_0x5bab0b(0x1f6)](()=>{const _0x2156cf=_0x5bab0b;setTimeout(()=>this[_0x2156cf(0x1cd)](),0x0);}))),this[_0x5bab0b(0x1a1)](_0x5f487e(this[_0x5bab0b(0x188)]['state$'][_0x5bab0b(0x172)](_0x3d48f1(this[_0x5bab0b(0x1e9)]))[_0x5bab0b(0x1f6)](()=>{const _0x36d91a=_0x5bab0b;setTimeout(()=>this[_0x36d91a(0x1cd)](),0x0);}))),this[_0x5bab0b(0x1a1)](_0x5f487e(this[_0x5bab0b(0x36a)]['state$']['pipe'](_0x3d48f1(this[_0x5bab0b(0x1e9)]))['subscribe'](()=>{const _0x2152ad=_0x5bab0b;setTimeout(()=>this[_0x2152ad(0x1cd)](),0x0);}))),this[_0x5bab0b(0x1a1)](_0x5f487e(this[_0x5bab0b(0x162)][_0x5bab0b(0x36b)][_0x5bab0b(0x172)](_0x3d48f1(this['dispose$']))[_0x5bab0b(0x1f6)](_0x347da6=>{const _0x35a749=_0x5bab0b;if(_0x347da6){this[_0x35a749(0x337)]();return;}setTimeout(()=>this[_0x35a749(0x1cd)](),0x0);}))),this[_0x5bab0b(0x1a1)](_0x5f487e(this[_0x5bab0b(0x268)][_0x5bab0b(0x260)][_0x5bab0b(0x172)](_0x3d48f1(this[_0x5bab0b(0x1e9)]))[_0x5bab0b(0x1f6)](_0x41f3e8=>{const _0x5f6fd8=_0x5bab0b;if(_0x41f3e8){this[_0x5f6fd8(0x337)]();return;}setTimeout(()=>this['_showPopupForSelection'](),0x0);})));}[_0x51c089(0x337)](){const _0x5d6474=_0x51c089;var _0x4a5e6a;(_0x4a5e6a=this[_0x5d6474(0x36c)])==null||_0x4a5e6a['dispose'](),this[_0x5d6474(0x36c)]=null,this['_popupSelectionKey']=null;}[_0x51c089(0x197)](){setTimeout(()=>{const _0x349654=_0x3703;this[_0x349654(0x298)]()||this[_0x349654(0x337)]();},0x0);}['_isPopupSelectionStillActive'](){const _0x230681=_0x51c089;let _0x4285b5=this[_0x230681(0x188)][_0x230681(0x1b4)]();return!_0x4285b5[_0x230681(0x29f)]||_0x4285b5['selectedIds']['length']!==0x1?!0x1:this['_popupSelectionKey']===this[_0x230681(0x244)](_0x4285b5['context'][_0x230681(0x2cb)],_0x4285b5[_0x230681(0x29f)][_0x230681(0x1cb)],_0x4285b5['selectedIds'][0x0]);}[_0x51c089(0x244)](_0x15d7c3,_0x3b789f,_0x14abd2){return _0x15d7c3+':'+_0x3b789f+':'+_0x14abd2;}[_0x51c089(0x1cd)](){const _0x5e4b37=_0x51c089;if(this[_0x5e4b37(0x268)]['isInteractionSurfaceActive']||this[_0x5e4b37(0x162)][_0x5e4b37(0x216)]()){this[_0x5e4b37(0x337)]();return;}let _0x32c6fb=this[_0x5e4b37(0x188)]['getSnapshot'](),_0x2c0af7=this[_0x5e4b37(0x36a)][_0x5e4b37(0x1b6)]();if(_0x32c6fb[_0x5e4b37(0x365)]||_0x2c0af7[_0x5e4b37(0x1ba)]||_0x2c0af7[_0x5e4b37(0x31f)]!==null&&_0x2c0af7['activeTool']!==_0x26d3c3[_0x5e4b37(0x2c1)]||!_0x32c6fb['context']||_0x32c6fb['context'][_0x5e4b37(0x2cb)]!==this[_0x5e4b37(0x1ac)][_0x5e4b37(0x2cb)]||_0x32c6fb[_0x5e4b37(0x26c)][_0x5e4b37(0x19f)]!==0x1||_0x32c6fb[_0x5e4b37(0x1d4)]==null){this[_0x5e4b37(0x337)]();return;}let _0x4427c5=this[_0x5e4b37(0x28e)][_0x5e4b37(0x1bd)](_0x32c6fb['context'][_0x5e4b37(0x2cb)],_0x32c6fb[_0x5e4b37(0x29f)][_0x5e4b37(0x1cb)],_0x32c6fb[_0x5e4b37(0x1d4)]);if(!_0x4427c5||_0x4427c5[_0x5e4b37(0x21e)][_0x5e4b37(0x19c)]!==_0x2c3774[_0x5e4b37(0x286)]){this[_0x5e4b37(0x337)]();return;}let _0x387f3a=this[_0x5e4b37(0x237)](_0x4427c5);if(!_0x387f3a){this['_clearPopup']();return;}let _0x216eb9=this[_0x5e4b37(0x244)](_0x4427c5[_0x5e4b37(0x2cb)],_0x4427c5[_0x5e4b37(0x1cb)],_0x4427c5[_0x5e4b37(0x21f)]);this[_0x5e4b37(0x36c)]&&this['_popupSelectionKey']===_0x216eb9||(this[_0x5e4b37(0x337)](),this[_0x5e4b37(0x36c)]=this[_0x5e4b37(0x1a1)](this[_0x5e4b37(0x2c4)][_0x5e4b37(0x25f)](_0x4427c5[_0x5e4b37(0x2cb)],_0x4427c5[_0x5e4b37(0x1cb)],_0x387f3a,{'componentKey':Kn,'direction':'top-center','offset':[0x0,0x24],'anchorBoundResolver':_0x435197,'extraProps':{'unitId':_0x4427c5[_0x5e4b37(0x2cb)],'subUnitId':_0x4427c5[_0x5e4b37(0x1cb)],'elementId':_0x4427c5[_0x5e4b37(0x21f)],'chartId':_0x4427c5['element']['chartId']}})),this[_0x5e4b37(0x221)]=_0x216eb9);}[_0x51c089(0x237)](_0xde5572){const _0x3b8084=_0x51c089;var _0x20d6ce;let _0x614a94=_0x1f376e(_0xde5572[_0x3b8084(0x2cb)],_0xde5572[_0x3b8084(0x21f)]),_0x3973af=this['_renderContext'][_0x3b8084(0x18d)];return((_0x20d6ce=_0x3973af['getObjectIncludeInGroup'])==null?void 0x0:_0x20d6ce[_0x3b8084(0x1c7)](_0x3973af,_0x614a94))??_0x3973af[_0x3b8084(0x1d6)](_0x614a94)??null;}};function _0x3703(_0x442899,_0x538e06){_0x442899=_0x442899-0x158;const _0x599f25=_0x599f();let _0x37038f=_0x599f25[_0x442899];return _0x37038f;}Xn=H([V(0x1,_0x3771e8(_0x3fcaba)),V(0x2,_0x2da561),V(0x3,_0x5b0c6f),V(0x4,_0x13a796),V(0x5,_0x3771e8(U)),V(0x6,_0x3771e8(_0x393262))],Xn);let Zn=class extends _0x2f3f41{constructor(_0x540848,_0x1d0b99,_0x4e75f5,_0x246032,_0x3e5ab8,_0x1c9185){const _0x195df6=_0x51c089;super(),this['_renderContext']=_0x540848,this[_0x195df6(0x218)]=_0x1d0b99,this['_boardElementService']=_0x4e75f5,this[_0x195df6(0x188)]=_0x246032,this[_0x195df6(0x36a)]=_0x3e5ab8,this[_0x195df6(0x162)]=_0x1c9185,B(this,'_attachScheduled',!0x1),B(this,_0x195df6(0x35d),null),this['_init']();}[_0x51c089(0x189)](){const _0xa1e171=_0x51c089;let {unitId:_0x1b04ec}=this[_0xa1e171(0x1ac)],_0x1938bf=this[_0xa1e171(0x218)][_0xa1e171(0x170)](_0x1b04ec,_0x5a00fe[_0xa1e171(0x358)]);this[_0xa1e171(0x1a1)](_0x5f487e(()=>{const _0x13b555=_0xa1e171;var _0x26403a;return(_0x26403a=this[_0x13b555(0x35d)])==null?void 0x0:_0x26403a['dispose']();})),_0x1938bf&&(this[_0xa1e171(0x174)](_0x1938bf),this[_0xa1e171(0x1a1)](this[_0xa1e171(0x28e)][_0xa1e171(0x259)][_0xa1e171(0x1f6)](_0x43d821=>{const _0x1fbc88=_0xa1e171;_0x43d821[_0x1fbc88(0x2a8)](_0xb08d8a=>_0xb08d8a[_0x1fbc88(0x2cb)]===_0x1b04ec)&&this[_0x1fbc88(0x174)](_0x1938bf);})),this[_0xa1e171(0x1a1)](this[_0xa1e171(0x28e)][_0xa1e171(0x2fc)][_0xa1e171(0x1f6)](_0x41a402=>{const _0x144318=_0xa1e171;_0x41a402[_0x144318(0x2a8)](_0x1c20b6=>_0x1c20b6['unitId']===_0x1b04ec)&&this['_scheduleAttachObjectDoubleClicks'](_0x1938bf);})),this[_0xa1e171(0x1a1)](this[_0xa1e171(0x28e)][_0xa1e171(0x1db)][_0xa1e171(0x1f6)](_0x225282=>{const _0x1a9722=_0xa1e171;_0x225282[_0x1a9722(0x2a8)](_0x55529d=>_0x55529d['unitId']===_0x1b04ec)&&this[_0x1a9722(0x174)](_0x1938bf);})),this[_0xa1e171(0x1a1)](this[_0xa1e171(0x188)]['state$'][_0xa1e171(0x1f6)](_0x4eaf57=>{const _0x2080c0=_0xa1e171;var _0x28219b;((_0x28219b=_0x4eaf57['context'])==null?void 0x0:_0x28219b['unitId'])===_0x1b04ec&&this[_0x2080c0(0x174)](_0x1938bf);})));}[_0x51c089(0x174)](_0x4c69b4){const _0x372c43=_0x51c089;this['_attachScheduled']||(this[_0x372c43(0x2b1)]=!0x0,Promise[_0x372c43(0x309)]()[_0x372c43(0x33c)](()=>this[_0x372c43(0x369)](_0x4c69b4)));}[_0x51c089(0x369)](_0x2b3891){const _0x4a1784=_0x51c089;var _0x10fc74;this[_0x4a1784(0x2b1)]=!0x1;let {scene:_0x3dc124,unitId:_0x42cef8}=this[_0x4a1784(0x1ac)],_0x17e752=_0x2b3891[_0x4a1784(0x1cf)](),_0x554faa=this[_0x4a1784(0x28e)]['getElementOrder'](_0x42cef8,_0x17e752),_0x2640cb=new _0x59379b();(_0x10fc74=this[_0x4a1784(0x35d)])==null||_0x10fc74[_0x4a1784(0x2fb)](),this[_0x4a1784(0x35d)]=_0x2640cb,_0x554faa[_0x4a1784(0x1ae)](_0x4018a6=>{const _0x1f5f71=_0x4a1784;var _0x506e99;let _0x2cf401=this[_0x1f5f71(0x28e)][_0x1f5f71(0x1bd)](_0x42cef8,_0x17e752,_0x4018a6);if(!_0x2cf401||_0x2cf401[_0x1f5f71(0x21e)][_0x1f5f71(0x19c)]!==_0x2c3774[_0x1f5f71(0x286)])return;let _0x399d58=_0x1f376e(_0x42cef8,_0x4018a6),_0x4e8917=((_0x506e99=_0x3dc124['getObjectIncludeInGroup'])==null?void 0x0:_0x506e99[_0x1f5f71(0x1c7)](_0x3dc124,_0x399d58))??_0x3dc124[_0x1f5f71(0x1d6)](_0x399d58);_0x4e8917&&_0x2640cb[_0x1f5f71(0x33b)](_0x5f487e(_0x4e8917[_0x1f5f71(0x2e0)]['subscribeEvent']((_0x3a373a,_0x2c2245)=>{this['_openEditSession'](_0x2cf401,_0x3a373a,_0x2c2245);})));});}['_openEditSession'](_0x397903,_0x1221a3,_0x446517){const _0x4769a3=_0x51c089;var _0x6cbc0e;if(this['_uiStateService'][_0x4769a3(0x1b6)]()[_0x4769a3(0x1ba)]||this[_0x4769a3(0x188)][_0x4769a3(0x1b4)]()[_0x4769a3(0x365)]||_0x397903[_0x4769a3(0x21e)]['type']!==_0x2c3774[_0x4769a3(0x286)])return;let _0xd447f8={'unitId':_0x397903[_0x4769a3(0x2cb)],'subUnitId':_0x397903['subUnitId']};this[_0x4769a3(0x188)][_0x4769a3(0x1a5)](_0xd447f8,[_0x397903[_0x4769a3(0x21f)]],_0x397903[_0x4769a3(0x21f)]),this[_0x4769a3(0x188)]['setFocusedSwimlaneLane'](_0xd447f8,null),this[_0x4769a3(0x162)]['open']({'chartId':_0x397903[_0x4769a3(0x21e)][_0x4769a3(0x161)],'elementId':_0x397903['elementId'],'source':'doubleClick','subUnitId':_0x397903[_0x4769a3(0x1cb)],'unitId':_0x397903['unitId']}),_0x446517&&(_0x446517[_0x4769a3(0x1c3)]=!0x0),_0x1221a3==null||(_0x6cbc0e=_0x1221a3[_0x4769a3(0x326)])==null||_0x6cbc0e['call'](_0x1221a3);}};Zn=H([V(0x1,_0x1afebb),V(0x2,_0x2da561),V(0x3,_0x5b0c6f),V(0x4,_0x13a796),V(0x5,_0x3771e8(U))],Zn);let G=class extends _0x104147{constructor(_0x3c9218,_0x2da2a7,_0x8c9b40){const _0xe71f70=_0x51c089;super(),this[_0xe71f70(0x30f)]=_0x3c9218,this[_0xe71f70(0x2e7)]=_0x2da2a7,this['_commandService']=_0x8c9b40;}[_0x51c089(0x1df)](_0x34ee2b,_0xbce7ce){const _0x2cbda9=_0x51c089;let _0xd5a3f7=this[_0x2cbda9(0x30f)][_0x2cbda9(0x1b1)](_0x34ee2b,_0xbce7ce),_0x3255f6=_0xd5a3f7?this['_resourceService'][_0x2cbda9(0x2ef)](_0x34ee2b,_0xd5a3f7[_0x2cbda9(0x183)]):void 0x0;return!_0xd5a3f7||!_0x3255f6?null:{'chartId':_0xbce7ce,'chartType':_0xd5a3f7['chartType'],'dataSource':{..._0x3255f6,'values':_0x3255f6[_0x2cbda9(0x2f7)][_0x2cbda9(0x313)](_0xd132c=>[..._0xd132c])},'sharingCount':this[_0x2cbda9(0x30f)][_0x2cbda9(0x199)](_0x34ee2b,_0x3255f6['id']),'unitId':_0x34ee2b};}async[_0x51c089(0x294)](_0xd0074d){const _0x51ed16=_0x51c089;var _0x1432d7;let _0x220312=this[_0x51ed16(0x1df)](_0xd0074d[_0x51ed16(0x2cb)],_0xd0074d['chartId']);if(!_0x220312||_0xd0074d[_0x51ed16(0x2f7)][_0x51ed16(0x19f)]===0x0)return!0x1;let _0x3a5646=(_0x1432d7=this['_resourceService'][_0x51ed16(0x1b1)](_0xd0074d['unitId'],_0xd0074d[_0x51ed16(0x161)]))==null?void 0x0:_0x1432d7['chartType'];if(_0x3a5646===void 0x0)return!0x1;let _0xaf3da8=_0x2463d9(_0x3a5646,_0xd0074d[_0x51ed16(0x2f7)]);if(!_0xaf3da8['ok']||_0x220312[_0x51ed16(0x320)]>0x1&&!_0xd0074d[_0x51ed16(0x310)]&&!await this[_0x51ed16(0x1af)][_0x51ed16(0x201)](_0x49fb78['id'],{'chartId':_0xd0074d[_0x51ed16(0x161)],'unitId':_0xd0074d[_0x51ed16(0x2cb)]}))return!0x1;let _0x23615a=this[_0x51ed16(0x30f)][_0x51ed16(0x1b1)](_0xd0074d['unitId'],_0xd0074d[_0x51ed16(0x161)]);if(!_0x23615a)return!0x1;let _0x96797b=await this['_commandService'][_0x51ed16(0x201)](_0x12b117['id'],{'dataSourceId':_0x23615a[_0x51ed16(0x183)],'name':_0xd0074d['name'],'unitId':_0xd0074d['unitId'],'values':_0xaf3da8['values']});return _0x96797b&&this[_0x51ed16(0x2e7)][_0x51ed16(0x374)](_0xd0074d[_0x51ed16(0x2cb)],_0xd0074d['chartId']),!!_0x96797b;}};G=H([V(0x0,_0x3771e8(_0x2df296)),V(0x1,_0x3771e8(_0x47649a)),V(0x2,_0x1c7a44)],G);const Qn=_0x51c089(0x250);function $n(_0x1a3ea7){const _0x39d214=_0x51c089;let _0x47dc8c=_0x295177(G),_0x2eb4e5=_0x295177(_0x2a9b27),_0x1e3b7e=_0x47dc8c[_0x39d214(0x1df)](_0x1a3ea7[_0x39d214(0x2cb)],_0x1a3ea7[_0x39d214(0x161)]),[_0x515059,_0x53fa7d]=_0xbe82a8(()=>(_0x1e3b7e==null?void 0x0:_0x1e3b7e[_0x39d214(0x293)][_0x39d214(0x2f7)][_0x39d214(0x313)](_0x1aeea8=>[..._0x1aeea8]))??[]),[_0x171351,_0x518064]=_0xbe82a8(null),_0x14e901=((_0x1e3b7e==null?void 0x0:_0x1e3b7e[_0x39d214(0x320)])??0x0)>0x1,_0x408b08={[_0x549cb3['UnknownOption']]:_0x2eb4e5['t'](_0x39d214(0x344)),[_0x549cb3[_0x39d214(0x368)]]:_0x2eb4e5['t']('boards-chart-ui.common.tableDataEmpty'),[_0x549cb3['InvalidCandlestickData']]:_0x2eb4e5['t'](_0x39d214(0x28d))};if(!_0x1e3b7e)return _0x5d3079(_0x39d214(0x2fa),{'className':_0x39d214(0x1b2),'children':_0x2eb4e5['t'](_0x39d214(0x1ab))});let _0x3ecf35=async _0x406e4c=>{const _0x31c03d=_0x39d214;var _0x4413c0;let _0x55e0f5=_0x2463d9(_0x1e3b7e[_0x31c03d(0x282)],_0x515059);if(!_0x55e0f5['ok']){_0x518064(_0x408b08[_0x55e0f5['issue'][_0x31c03d(0x333)]]);return;}if(!await _0x47dc8c[_0x31c03d(0x294)]({'chartId':_0x1a3ea7[_0x31c03d(0x161)],'name':_0x1e3b7e[_0x31c03d(0x293)][_0x31c03d(0x2c9)],'unitId':_0x1a3ea7[_0x31c03d(0x2cb)],'updateShared':_0x406e4c,'values':_0x55e0f5['values']})){_0x518064(_0x2eb4e5['t'](_0x31c03d(0x164)));return;}_0x518064(null),(_0x4413c0=_0x1a3ea7[_0x31c03d(0x1d8)])==null||_0x4413c0[_0x31c03d(0x1c7)](_0x1a3ea7);};return _0x47d9d4(_0x39d214(0x2fa),{'className':'univer-flex\x20univer-w-full\x20univer-flex-col\x20univer-gap-4\x20univer-p-1','children':[_0x5d3079(_0x4012a0,{'values':_0x515059,'parsePastedText':_0x3875a5,'onChange':_0x53fa7d}),_0x171351&&_0x5d3079(_0x39d214(0x2fa),{'className':_0x39d214(0x24d),'children':_0x171351}),_0x47d9d4(_0x39d214(0x2fa),{'className':_0x39d214(0x1b7),'children':[_0x1a3ea7[_0x39d214(0x1d8)]&&_0x5d3079(_0x4c36c3,{'type':_0x39d214(0x2b6),'variant':_0x39d214(0x34d),'onClick':_0x1a3ea7[_0x39d214(0x1d8)],'children':_0x2eb4e5['t'](_0x39d214(0x230))}),_0x14e901&&_0x5d3079(_0x4c36c3,{'type':'button','variant':_0x39d214(0x34d),'onClick':()=>_0x3ecf35(!0x1),'children':_0x2eb4e5['t']('boards-chart-ui.common.duplicate')}),_0x5d3079(_0x4c36c3,{'type':'button','variant':_0x39d214(0x261),'onClick':()=>_0x3ecf35(!0x0),'children':_0x2eb4e5['t']('boards-chart-ui.common.apply')})]})]});}const er={'id':_0x51c089(0x348),'type':_0x250df0[_0x51c089(0x1e2)],'handler':(_0x39ce12,_0x25f966)=>{const _0x4ad69d=_0x51c089;if(!_0x25f966||!_0x39ce12[_0x4ad69d(0x1da)](G)['getDataEditState'](_0x25f966['unitId'],_0x25f966[_0x4ad69d(0x161)])||!_0x39ce12[_0x4ad69d(0x1da)](_0x2491b1)[_0x4ad69d(0x1da)](_0x4ad69d(0x250)))return!0x1;let _0x2c610d=_0x39ce12[_0x4ad69d(0x1da)](_0x15f4d5),_0x31480c=_0x39ce12[_0x4ad69d(0x1da)](_0x2a9b27),_0xbb1229=null,_0x4113bd=()=>{const _0x47f8d2=_0x4ad69d;_0xbb1229==null||_0xbb1229[_0x47f8d2(0x2fb)](),_0xbb1229=null;};return _0xbb1229=_0x2c610d['open']({'id':_0x4ad69d(0x1d2),'title':{'title':_0x31480c['t'](_0x4ad69d(0x2f2))},'width':0x2f8,'draggable':!0x1,'mask':!0x0,'maskClosable':!0x1,'children':{'label':{'name':Qn,'props':{..._0x25f966,'onClose':_0x4113bd}}},'onClose':_0x4113bd}),!0x0;}},tr=_0x51c089(0x242),K={'axis':{..._0x572c,'primaryGridLineVisible':!0x1,'secondaryGridLineVisible':!0x0},'legend':_0x878204,'lineAndArea':_0x1e1979,'pareto':_0x580178,'funnel':_0x561fcc,'heatmap':_0x148d16,'indicatorLine':_0x866942,'pie':{..._0x58e5a9,'doughnutHole':0x0,'pieHole':0x0},'relation':{..._0x444024,'useValueAsSymbolSize':!0x0},'radar':_0x4138e2,'series':{..._0x441292,'radarFillOpacity':0x1,'rightAxis':{'ltr':!0x1,'rtl':!0x1}},'style':_0x4a4db1,'titles':_0x91e9b4,'trendline':_0x18e0b8,'waterfall':{..._0x20a99d,'useSubtotal':!0x1},'waterfallStyle':_0x1bb3cb,'wordCloud':_0x3dfb74},nr=[_0x4b582b[_0x51c089(0x15a)],_0x4b582b['Radar'],_0x4b582b[_0x51c089(0x357)],_0x4b582b[_0x51c089(0x2a9)],_0x4b582b['Relation'],_0x4b582b[_0x51c089(0x202)],_0x4b582b[_0x51c089(0x2ff)],_0x4b582b[_0x51c089(0x1b0)],_0x4b582b['Candlestick'],_0x4b582b[_0x51c089(0x295)],_0x4b582b[_0x51c089(0x194)],_0x4b582b['Sunburst'],_0x4b582b[_0x51c089(0x2d9)],_0x4b582b[_0x51c089(0x2ee)]];function rr(_0x310cea){const _0x3293a9=_0x51c089;let _0x1332f8=_0x295177(_0x2a9b27);return _0x47d9d4('div',{'children':[_0x5d3079(_0x2323a0,{'title':_0x1332f8['t'](_0x3293a9(0x33e))}),_0x5d3079(_0x4c36c3,{'type':_0x3293a9(0x2b6),'variant':_0x3293a9(0x34d),'className':'univer-w-full\x20univer-justify-start','onClick':_0x310cea[_0x3293a9(0x24f)],'children':_0x1332f8['t'](_0x3293a9(0x2f2))})]});}function ir(){const _0x28449a=_0x51c089;let _0xf3004=_0x9a337c();return _0x5d3079(_0x4b4157,{'visible':nr['every'](_0x136472=>!_0x17d045[_0x28449a(0x1ed)](_0xf3004,_0x136472))});}function ar(_0x4fa2cb){const _0x36945e=_0x51c089;return _0x47d9d4(_0x307f87,{'id':_0x4fa2cb['id'],'children':[_0x5d3079(_0xe6d5ee,{'children':_0x4fa2cb[_0x36945e(0x301)]}),_0x5d3079(_0x5b2871,{'children':_0x4fa2cb[_0x36945e(0x370)]})]});}function or(_0x11ba4d,_0x38f89b){const _0x38ea77=_0x51c089;let _0x2f8f7e=_0x11ba4d===_0x4b582b[_0x38ea77(0x357)],_0x30bad2=_0x17d045[_0x38ea77(0x1ed)](_0x11ba4d,_0x4b582b['Bubble']),_0x112593=_0x11ba4d===_0x4b582b[_0x38ea77(0x236)],_0x51f56f=_0x11ba4d===_0x4b582b[_0x38ea77(0x227)],_0x2dbf1e=_0x11ba4d===_0x4b582b[_0x38ea77(0x2ff)],_0x1af842=_0x17d045[_0x38ea77(0x1ed)](_0x11ba4d,_0x4b582b[_0x38ea77(0x1a3)]),_0x512df5=_0x11ba4d===_0x4b582b['Radar'],_0x3110ea=_0x11ba4d===_0x4b582b[_0x38ea77(0x200)],_0x49d142=_0x11ba4d===_0x4b582b[_0x38ea77(0x331)],_0x3a29e9=_0x11ba4d===_0x4b582b[_0x38ea77(0x1e8)],_0x3218ac=_0x11ba4d===_0x4b582b['Histogram'],_0x21b58b=_0x11ba4d===_0x4b582b[_0x38ea77(0x194)],_0x31828c=_0x11ba4d===_0x4b582b[_0x38ea77(0x26b)],_0xe9098c=_0x11ba4d===_0x4b582b[_0x38ea77(0x2d9)],_0x27fc8e=_0x11ba4d===_0x4b582b[_0x38ea77(0x2ee)],_0x344650=[_0x524885[_0x38ea77(0x330)],_0x524885[_0x38ea77(0x234)]];return _0x2f8f7e&&_0x344650['push'](_0x524885[_0x38ea77(0x357)]),_0x927916(_0x11ba4d,_0x951611[_0x38ea77(0x317)])&&!_0x30bad2&&!_0x49d142&&_0x344650[_0x38ea77(0x226)](_0x524885[_0x38ea77(0x31c)]),_0x3110ea&&_0x344650[_0x38ea77(0x226)](_0x524885['WaterfallSeries']),_0x49d142&&_0x344650[_0x38ea77(0x226)](_0x524885[_0x38ea77(0x2a4)],_0x524885['ParetoLineSeries']),_0x1af842&&_0x344650['push'](_0x524885[_0x38ea77(0x173)]),_0x512df5&&_0x344650[_0x38ea77(0x226)](_0x524885['Radar']),_0x112593&&_0x344650[_0x38ea77(0x226)](_0x524885[_0x38ea77(0x236)]),_0x2dbf1e&&_0x344650[_0x38ea77(0x226)](_0x524885[_0x38ea77(0x2ff)]),_0x51f56f&&_0x344650['push'](_0x524885[_0x38ea77(0x227)]),_0x1872d9(_0x11ba4d)&&_0x344650[_0x38ea77(0x226)](_0x524885['LineAndArea']),_0x927916(_0x11ba4d,_0x951611[_0x38ea77(0x22a)])&&_0x344650[_0x38ea77(0x226)](_0x524885['Legend']),_0x927916(_0x11ba4d,_0x951611[_0x38ea77(0x28f)])&&(_0x344650[_0x38ea77(0x226)](_0x524885[_0x38ea77(0x373)],_0x524885[_0x38ea77(0x25b)]),_0x38f89b&&_0x344650[_0x38ea77(0x226)](_0x524885['RightVerticalAxis']),_0x344650[_0x38ea77(0x226)](_0x524885[_0x38ea77(0x269)])),_0x927916(_0x11ba4d,_0x951611[_0x38ea77(0x23c)])&&_0x344650[_0x38ea77(0x226)](_0x524885[_0x38ea77(0x23c)]),_0x24a4c0(_0x11ba4d)&&_0x344650[_0x38ea77(0x226)](_0x524885['Trendline']),_0x3a29e9&&_0x344650[_0x38ea77(0x226)](_0x524885['Candlestick']),_0x3218ac&&_0x344650[_0x38ea77(0x226)](_0x524885[_0x38ea77(0x295)]),_0x21b58b&&_0x344650[_0x38ea77(0x226)](_0x524885[_0x38ea77(0x194)]),_0x31828c&&_0x344650[_0x38ea77(0x226)](_0x524885[_0x38ea77(0x26b)]),_0xe9098c&&_0x344650['push'](_0x524885[_0x38ea77(0x2d9)]),_0x27fc8e&&_0x344650[_0x38ea77(0x226)](_0x524885[_0x38ea77(0x2ee)]),_0x344650;}function sr(_0x29095e){const _0x257e6b=_0x51c089;var _0x35022d,_0x3551bf,_0x423b0b;let _0x98a55c=_0x295177(_0x2a9b27),_0x413238=_0x9a337c(),_0x4930b9=_0xafaff4(),[_0x312269,_0x57bc9f]=_0xbe82a8(null),_0x2934f8=or(_0x413238,_0x4930b9),_0xf9bb23=_0x5d3079(_0x56fcd1,{}),_0x62207f={[_0x524885['Candlestick']]:_0x98a55c['t'](_0x257e6b(0x2d4)),[_0x524885[_0x257e6b(0x234)]]:_0x98a55c['t'](_0x257e6b(0x21d)),[_0x524885[_0x257e6b(0x330)]]:_0x98a55c['t']('boards-chart-ui.common.chartStyle'),[_0x524885[_0x257e6b(0x2ee)]]:_0x98a55c['t'](_0x257e6b(0x277)),[_0x524885[_0x257e6b(0x236)]]:_0x98a55c['t'](_0x257e6b(0x1ea)),[_0x524885[_0x257e6b(0x2d9)]]:_0x98a55c['t'](_0x257e6b(0x1b3)),[_0x524885[_0x257e6b(0x269)]]:_0x98a55c['t'](_0x257e6b(0x2e6)),[_0x524885[_0x257e6b(0x2ff)]]:_0x98a55c['t'](_0x257e6b(0x1e4)),[_0x524885['Histogram']]:_0x98a55c['t'](_0x257e6b(0x1b9)),[_0x524885['HorizontalAxis']]:_0x98a55c['t'](_0x257e6b(0x24a)),[_0x524885[_0x257e6b(0x23c)]]:_0x98a55c['t']('boards-chart-ui.section.indicatorLine'),[_0x524885[_0x257e6b(0x22a)]]:_0x98a55c['t'](_0x257e6b(0x215)),[_0x524885[_0x257e6b(0x34e)]]:_0x98a55c['t'](_0x257e6b(0x171)),[_0x524885[_0x257e6b(0x2a4)]]:_0x98a55c['t'](_0x257e6b(0x2f4)),[_0x524885[_0x257e6b(0x32e)]]:_0x98a55c['t'](_0x257e6b(0x283)),[_0x524885[_0x257e6b(0x173)]]:_0x98a55c['t'](_0x257e6b(0x306)),[_0x524885[_0x257e6b(0x2c7)]]:_0x98a55c['t']('boards-chart-ui.section.radar'),[_0x524885[_0x257e6b(0x227)]]:_0x98a55c['t'](_0x257e6b(0x2b3)),[_0x524885[_0x257e6b(0x24c)]]:_0x98a55c['t'](_0x257e6b(0x375)),[_0x524885[_0x257e6b(0x31c)]]:_0x98a55c['t'](_0x257e6b(0x281)),[_0x524885[_0x257e6b(0x26b)]]:_0x98a55c['t'](_0x257e6b(0x1f5)),[_0x524885['Treemap']]:_0x98a55c['t'](_0x257e6b(0x2e9)),[_0x524885[_0x257e6b(0x1ad)]]:_0x98a55c['t'](_0x257e6b(0x2b0)),[_0x524885['VerticalAxis']]:_0x98a55c['t'](_0x257e6b(0x28c)),[_0x524885[_0x257e6b(0x2a0)]]:_0x98a55c['t'](_0x257e6b(0x2c6)),[_0x524885[_0x257e6b(0x357)]]:_0x98a55c['t']('boards-chart-ui.section.wordCloud')};_0xcbe30d(()=>{const _0x4ce257=_0x257e6b;var _0x5626ba;(_0x5626ba=_0x29095e[_0x4ce257(0x1d0)])!=null&&_0x5626ba[_0x4ce257(0x1c2)]&&_0x57bc9f(_0x29095e[_0x4ce257(0x1d0)][_0x4ce257(0x1c2)]);},[_0x29095e['route']]);let _0x21d1da={[_0x524885[_0x257e6b(0x330)]]:_0x5d3079(_0x46223d,{'defaultValues':K[_0x257e6b(0x19a)],'showBodyFont':!0x0}),[_0x524885['ChartAndAxisTitles']]:_0x5d3079(_0x593d2c,{'commitMode':_0x257e6b(0x23a),'defaultValues':K[_0x257e6b(0x27c)],'selectedTitleKey':(_0x35022d=_0x29095e[_0x257e6b(0x1d0)])==null?void 0x0:_0x35022d[_0x257e6b(0x2d6)]}),[_0x524885['Series']]:_0x47d9d4(_0x5d97d1,{'defaultValues':K[_0x257e6b(0x15f)],'NumberFormatField':_0x3d2b22,'selectedSeriesId':(_0x3551bf=_0x29095e['route'])==null?void 0x0:_0x3551bf['seriesId'],'children':[_0x5d3079(_0x55a397,{}),_0x5d3079(_0x1278d5,{'individualOnly':!0x0}),_0x5d3079(_0x4edfff,{}),_0x5d3079(_0x3c4209,{}),_0x5d3079(_0x16cad4,{}),_0x5d3079(_0x32708b,{}),_0x5d3079(_0x544cfd,{}),_0x5d3079(_0x59dce8,{})]}),[_0x524885[_0x257e6b(0x2a0)]]:_0x5d3079(_0x373623,{'defaultValues':K[_0x257e6b(0x267)],'NumberFormatField':_0x3d2b22,'selectedSeriesId':(_0x423b0b=_0x29095e['route'])==null?void 0x0:_0x423b0b['seriesId'],'showBucketName':()=>!0x0}),[_0x524885[_0x257e6b(0x2a4)]]:_0x5d3079(_0x31568a,{'defaultValues':K[_0x257e6b(0x2dc)],'NumberFormatField':_0x3d2b22,'showDataPointEditor':!0x0,'target':_0x257e6b(0x168)}),[_0x524885[_0x257e6b(0x32e)]]:_0x5d3079(_0x31568a,{'defaultValues':K['pareto'],'NumberFormatField':_0x3d2b22,'showDataPointEditor':!0x0,'target':_0x257e6b(0x1c5)}),[_0x524885['PieStyle']]:_0x5d3079(_0x248304,{'defaultValues':K[_0x257e6b(0x19e)],'NumberFormatField':_0x3d2b22}),[_0x524885[_0x257e6b(0x357)]]:_0x47d9d4(_0x3f831d,{'children':[_0x5d3079(_0x3a4abd,{'defaultValues':K[_0x257e6b(0x1c4)]}),_0x5d3079(_0x2184b7,{}),_0x5d3079(_0x2c5304,{'defaultValues':K[_0x257e6b(0x1c4)]})]}),[_0x524885['Radar']]:_0x5d3079(_0x5e6281,{'defaultValues':K['radar']}),[_0x524885['Funnel']]:_0x5d3079(_0xfd8c75,{'defaultValues':K[_0x257e6b(0x2b5)],'gapControl':_0x257e6b(0x18e)}),[_0x524885[_0x257e6b(0x2ff)]]:_0x5d3079(_0x25b05d,{'defaultValues':K[_0x257e6b(0x166)]}),[_0x524885[_0x257e6b(0x227)]]:_0x5d3079(_0x1ab135,{'defaultValues':K['relation']}),[_0x524885[_0x257e6b(0x34e)]]:_0x5d3079(_0x575d4e,{'defaultValues':K[_0x257e6b(0x187)],'lineStyleControl':_0x257e6b(0x359)}),[_0x524885[_0x257e6b(0x22a)]]:_0x5d3079(_0x14b4ec,{'defaultValues':K['legend']}),[_0x524885[_0x257e6b(0x373)]]:_0x5d3079(_0x49db35,{'axis':'x','defaultValues':K[_0x257e6b(0x1a7)],'NumberFormatField':_0x3d2b22}),[_0x524885['VerticalAxis']]:_0x5d3079(_0x49db35,{'axis':'y','defaultValues':K[_0x257e6b(0x1a7)],'NumberFormatField':_0x3d2b22}),[_0x524885[_0x257e6b(0x24c)]]:_0x5d3079(_0x49db35,{'axis':'rightY','defaultValues':K[_0x257e6b(0x1a7)],'NumberFormatField':_0x3d2b22}),[_0x524885[_0x257e6b(0x269)]]:_0x5d3079(_0x58aa06,{'defaultValues':K['axis']}),[_0x524885[_0x257e6b(0x23c)]]:_0x5d3079(_0x73316e,{'defaultValues':K['indicatorLine']}),[_0x524885['Trendline']]:_0x5d3079(_0x33b079,{'defaultValues':K[_0x257e6b(0x28b)]}),[_0x524885[_0x257e6b(0x1e8)]]:_0xf9bb23,[_0x524885[_0x257e6b(0x295)]]:_0xf9bb23,[_0x524885[_0x257e6b(0x194)]]:_0xf9bb23,[_0x524885[_0x257e6b(0x26b)]]:_0xf9bb23,[_0x524885[_0x257e6b(0x2d9)]]:_0xf9bb23,[_0x524885[_0x257e6b(0x2ee)]]:_0xf9bb23};return _0x5d3079(_0x58ade9,{'value':_0x312269,'onChange':_0x57bc9f,'children':_0x2934f8[_0x257e6b(0x313)](_0x55ee1c=>_0x5d3079(ar,{'id':_0x55ee1c,'label':_0x62207f[_0x55ee1c],'children':_0x21d1da[_0x55ee1c]},_0x55ee1c))});}function cr({unitId:_0x2de1bb,subUnitId:_0x3d4af,elementId:_0x9763cf,chartId:_0x1be70a}){const _0x3372ef=_0x51c089;let _0x3a3e70=_0x295177(_0x47649a),_0x3fd019=_0x295177(W),_0x3c812a=_0x295177(_0x2a9b27),_0x51faa3=_0x295177(_0x1c7a44),_0x735200=_0x295177(_0x571342),_0x5bcb0c=_0x295177(_0x1afebb),_0x174ae0=_0x295177(U),_0x215c17=_0x4c13b6(_0x3a3e70[_0x3372ef(0x1c9)],_0x3a3e70[_0x3372ef(0x1e0)]),_0x25d72c=_0x4c13b6(_0x174ae0['activeSession$'],_0x174ae0['getActiveSession']()),[_0x1ccfa4,_0x43f94a]=_0xbe82a8(_0x202cbf[_0x3372ef(0x208)]),_0x2bf3ce=(_0x25d72c==null?void 0x0:_0x25d72c[_0x3372ef(0x2cb)])===_0x2de1bb&&_0x25d72c[_0x3372ef(0x161)]===_0x1be70a&&_0x25d72c['elementId']===_0x9763cf?_0x25d72c[_0x3372ef(0x1d0)]:void 0x0;_0xcbe30d(()=>{_0x3a3e70['setActiveChartById'](_0x2de1bb,_0x1be70a);},[_0x1be70a,_0x3a3e70,_0x2de1bb]),_0xcbe30d(()=>{const _0x1e26ab=_0x3372ef;_0x2bf3ce!=null&&_0x2bf3ce[_0x1e26ab(0x336)]&&_0x43f94a(_0x2bf3ce['tab']);},[_0x2bf3ce]);let _0x61c215=(_0x215c17==null?void 0x0:_0x215c17[_0x3372ef(0x2cb)])===_0x2de1bb&&_0x215c17[_0x3372ef(0x161)]===_0x1be70a,_0x402f21=_0x4f558d(()=>{const _0xad707d=_0x3372ef;if(!_0x61c215)return null;let _0x5f2b5e=_0x5bcb0c[_0xad707d(0x170)](_0x2de1bb,_0x5a00fe[_0xad707d(0x358)]);return _0x5f2b5e?new _0x31b200(_0x215c17[_0xad707d(0x2ce)],new _0x515b23({'unitId':_0x2de1bb,'pageId':_0x3d4af,'chartId':_0x1be70a,'elementId':_0x9763cf,'boardModel':_0x5f2b5e,'injector':_0x735200})):null;},[_0x215c17,_0x1be70a,_0x9763cf,_0x735200,_0x61c215,_0x3d4af,_0x2de1bb,_0x5bcb0c]),_0x22cb55=_0x4f558d(()=>_0x3ba0a7(_0x48e4d6[_0x3372ef(0x313)](_0x489c10=>({..._0x489c10,'label':_0x3c812a['t'](_0x3372ef(0x352)+_0x489c10[_0x3372ef(0x206)])}))),[_0x3c812a]);return!_0x61c215||!_0x402f21?null:_0x5d3079(_0x3580e1,{'chartUIService':_0x3fd019,'hostAdapter':_0x402f21,'children':_0x47d9d4(_0x3372ef(0x2fa),{'className':_0x3372ef(0x2db),'children':[_0x5d3079(_0x3dd058,{'ariaLabel':_0x3c812a['t'](_0x3372ef(0x363)),'className':'univer-shrink-0\x20univer-px-3','items':[{'label':_0x3c812a['t']('boards-chart-ui.common.setup'),'panelId':lr,'value':_0x202cbf[_0x3372ef(0x208)]},{'label':_0x3c812a['t'](_0x3372ef(0x17f)),'panelId':ur,'value':_0x202cbf[_0x3372ef(0x2d1)]}],'value':_0x1ccfa4,'onChange':_0x43f94a}),_0x1ccfa4===_0x202cbf[_0x3372ef(0x208)]?_0x5d3079(_0x12fa7a,{'id':lr,'label':_0x3c812a['t'](_0x3372ef(0x19b)),'children':_0x47d9d4(_0x3372ef(0x2fa),{'className':_0x3372ef(0x2be),'children':[_0x5d3079(_0x1428d0,{'options':_0x22cb55}),_0x5d3079(_0x10a472,{}),_0x5d3079(_0x8c0508,{}),_0x5d3079(ir,{}),_0x5d3079(_0x338c1d,{}),_0x5d3079(rr,{'onEditData':()=>_0x51faa3['executeCommand'](er['id'],{'unitId':_0x2de1bb,'chartId':_0x1be70a})}),_0x5d3079(_0x10d282,{'orientationControl':_0x5d3079(_0x4c36c3,{'size':_0x3372ef(0x257),'onClick':()=>_0x3fd019[_0x3372ef(0x1bc)]({'patch':{'context':{'orient':_0x215c17[_0x3372ef(0x1ef)][_0x3372ef(0x35c)]?_0x3372ef(0x20e):'row'}}}),'children':_0x3c812a['t'](_0x3372ef(0x2e8))})}),_0x5d3079(_0x34e1fa,{}),_0x5d3079(_0x5ce155,{'defaultValues':K[_0x3372ef(0x2ec)]})]})}):_0x5d3079(_0x12fa7a,{'id':ur,'label':_0x3c812a['t'](_0x3372ef(0x17f)),'children':_0x5d3079(sr,{'route':_0x2bf3ce})})]})});}const lr=_0x51c089(0x251),ur=_0x51c089(0x1d1),dr=_0x1f0671,fr=_0x3c29cb;function pr(_0x3b2284){const _0x51ea96=_0x51c089;var _0x50e448,_0x3b73e2;let _0x913b74=_0x3b2284[_0x51ea96(0x2a1)]??{},_0x29c26e=_0x913b74[_0x51ea96(0x371)]===0x0?0x0:gr(_0x913b74['borderWidth'],gr((_0x50e448=_0x3b2284[_0x51ea96(0x1bb)])==null||(_0x50e448=_0x50e448[_0x51ea96(0x376)])==null?void 0x0:_0x50e448[_0x51ea96(0x27e)],0x1));return{'fill':_0x3b2284[_0x51ea96(0x196)]??_0x913b74['backgroundColor']??_0x26bcd9['backgroundColor'],'stroke':_0x913b74[_0x51ea96(0x2df)]??((_0x3b73e2=_0x3b2284['chartElement'])==null||(_0x3b73e2=_0x3b73e2['stroke'])==null?void 0x0:_0x3b73e2[_0x51ea96(0x29d)])??_0x3b2284[_0x51ea96(0x20c)]??(_0x3b2284[_0x51ea96(0x2f6)]?_0x51ea96(0x2e5):dr),'strokeWidth':_0x29c26e,'radius':fr};}function mr(_0x12fba3,_0x19d496){const _0x521101=_0x51c089;let _0xf38adb=Math['max'](0x0,_0x19d496[_0x521101(0x31e)]);return{'left':_0xf38adb,'top':_0xf38adb,'width':Math[_0x521101(0x334)](0x1,_0x12fba3['width']-_0xf38adb*0x2),'height':Math[_0x521101(0x334)](0x1,_0x12fba3['height']-_0xf38adb*0x2)};}function hr(_0x4b015c,_0x529a69){const _0x460fd3=_0x51c089;let _0x1bc899=-0x1/0x2;return{'left':_0x1bc899,'top':_0x1bc899,'width':Math[_0x460fd3(0x334)](0x1,_0x4b015c[_0x460fd3(0x27e)]),'height':Math[_0x460fd3(0x334)](0x1,_0x4b015c['height']),'radius':Math[_0x460fd3(0x334)](0x0,_0x529a69[_0x460fd3(0x25e)]-_0x529a69[_0x460fd3(0x31e)]/0x2)};}function gr(_0x5694c3,_0x17852f){const _0x54ca44=_0x51c089;return typeof _0x5694c3=='number'&&Number[_0x54ca44(0x279)](_0x5694c3)&&_0x5694c3>0x0?_0x5694c3:_0x17852f;}function _r(_0x533575){const _0x1bcdb6=_0x51c089;var _0x50b734;let _0x1e1ae8=(_0x50b734=_0x533575[_0x1bcdb6(0x1f4)](/^#([\da-f]{3}|[\da-f]{6})$/i))==null?void 0x0:_0x50b734[0x1];if(_0x1e1ae8){let _0x22ac58=_0x1e1ae8[_0x1bcdb6(0x19f)]===0x3?_0x1e1ae8[_0x1bcdb6(0x266)]('')[_0x1bcdb6(0x313)](_0x455830=>''+_0x455830+_0x455830)['join'](''):_0x1e1ae8;return _0x1bcdb6(0x243)+Number[_0x1bcdb6(0x1c1)](_0x22ac58[_0x1bcdb6(0x240)](0x0,0x2),0x10)+',\x20'+Number['parseInt'](_0x22ac58[_0x1bcdb6(0x240)](0x2,0x4),0x10)+',\x20'+Number[_0x1bcdb6(0x1c1)](_0x22ac58[_0x1bcdb6(0x240)](0x4,0x6),0x10)+')';}let _0x529b62=document[_0x1bcdb6(0x2b7)](_0x1bcdb6(0x1a8));return _0x529b62[_0x1bcdb6(0x19a)]['color']=_0x533575,_0x529b62[_0x1bcdb6(0x19a)][_0x1bcdb6(0x29d)]||_0x533575;}let q=class extends _0x104147{constructor(_0xaa9ad2,_0x490f2b,_0x55fbd3){const _0x3425c8=_0x51c089;super(),this[_0x3425c8(0x2e3)]=_0xaa9ad2,this[_0x3425c8(0x274)]=_0x490f2b,this[_0x3425c8(0x2f9)]=_0x55fbd3,B(this,_0x3425c8(0x1dc),new Map()),B(this,_0x3425c8(0x340),new Map()),B(this,_0x3425c8(0x264),new Map()),B(this,_0x3425c8(0x278),new Map());}[_0x51c089(0x1fe)](_0x5b9199){const _0x5627a6=_0x51c089;return _0x5b9199?this['_renderModelManager'][_0x5627a6(0x1fe)](_0x5b9199,this[_0x5627a6(0x25c)]()):this[_0x5627a6(0x2f9)][_0x5627a6(0x1fe)]();}[_0x51c089(0x15c)](_0x206e61,_0x47475a,_0x24f20c){const _0xe6464b=_0x51c089;let _0x1ab8f6=this['_getChartRuntimeKey'](_0x206e61,_0x47475a),_0x1356f4=this[_0xe6464b(0x1dc)]['get'](_0x1ab8f6);return _0x1356f4&&_0x1356f4!==_0x24f20c&&(this['_disposeChartEventSubscriptions'](_0x1ab8f6),_0x1356f4[_0xe6464b(0x2fb)]()),this[_0xe6464b(0x1dc)][_0xe6464b(0x212)](_0x1ab8f6,_0x24f20c),_0x24f20c[_0xe6464b(0x175)](this[_0xe6464b(0x340)]['get'](_0x1ab8f6)===!0x0),this['_bindChartEventHandlers'](_0x1ab8f6,_0x24f20c),{'dispose':()=>{const _0x172f5d=_0xe6464b;this[_0x172f5d(0x1dc)][_0x172f5d(0x1da)](_0x1ab8f6)===_0x24f20c&&(this[_0x172f5d(0x32d)](_0x1ab8f6),this['_chartInstanceMap']['delete'](_0x1ab8f6));}};}[_0x51c089(0x175)](_0x364125,_0x49f600,_0x3475fb){const _0x488f96=_0x51c089;var _0x35ce7e;let _0x1eaf6c=this[_0x488f96(0x22e)](_0x364125,_0x49f600);_0x3475fb?this['_chartElementEditMode'][_0x488f96(0x212)](_0x1eaf6c,!0x0):this[_0x488f96(0x340)]['delete'](_0x1eaf6c),(_0x35ce7e=this[_0x488f96(0x1dc)][_0x488f96(0x1da)](_0x1eaf6c))==null||_0x35ce7e['setElementEditMode'](_0x3475fb);}['isElementEditModeActive'](_0x4c18f0,_0x19a2df){const _0xc34890=_0x51c089;return this['_chartElementEditMode'][_0xc34890(0x1da)](this[_0xc34890(0x22e)](_0x4c18f0,_0x19a2df))===!0x0;}['on'](_0x2753f4,_0x2929f0,_0x49863c,_0x45d22d){const _0x30610b=_0x51c089;let _0x3fbc8e=this[_0x30610b(0x22e)](_0x2753f4,_0x2929f0),_0x53683f=this[_0x30610b(0x264)]['get'](_0x3fbc8e);_0x53683f||(_0x53683f=new Map(),this['_chartEventHandlers'][_0x30610b(0x212)](_0x3fbc8e,_0x53683f));let _0x20779a=_0x53683f[_0x30610b(0x1da)](_0x49863c);_0x20779a||(_0x20779a=new Set(),_0x53683f[_0x30610b(0x212)](_0x49863c,_0x20779a)),_0x20779a[_0x30610b(0x33b)](_0x45d22d);let _0xdf936=this['_chartInstanceMap'][_0x30610b(0x1da)](_0x3fbc8e);return _0xdf936&&this['_bindChartEventHandler'](_0x3fbc8e,_0xdf936,_0x49863c,_0x45d22d),{'dispose':()=>{const _0x59bbba=_0x30610b;let _0x5d7772=this[_0x59bbba(0x264)]['get'](_0x3fbc8e),_0x1b3f9c=_0x5d7772==null?void 0x0:_0x5d7772['get'](_0x49863c);_0x1b3f9c==null||_0x1b3f9c[_0x59bbba(0x345)](_0x45d22d),(_0x1b3f9c==null?void 0x0:_0x1b3f9c['size'])===0x0&&(_0x5d7772==null||_0x5d7772[_0x59bbba(0x345)](_0x49863c)),(_0x5d7772==null?void 0x0:_0x5d7772[_0x59bbba(0x19d)])===0x0&&this['_chartEventHandlers'][_0x59bbba(0x345)](_0x3fbc8e),this['_disposeChartEventSubscription'](_0x3fbc8e,_0x49863c,_0x45d22d);}};}[_0x51c089(0x246)](_0x4858aa){const _0x1ffd08=_0x51c089;let _0xb5c25d=_0x4858aa['model']['config'];if(!_0xb5c25d)throw Error(_0x1ffd08(0x2c2)+_0x4858aa[_0x1ffd08(0x161)]+'\x20has\x20no\x20render\x20config.');let _0xfa7167=this[_0x1ffd08(0x2e3)]['getDirection']();return{'chartConfig':_0xb5c25d,'chartStyle':_0x797ccb({..._0x4858aa[_0x1ffd08(0x2ce)][_0x1ffd08(0x19a)],'runtime':_0x4858aa[_0x1ffd08(0x2ce)][_0x1ffd08(0x17e)](_0xfa7167),'direction':_0xfa7167},_0xb5c25d[_0x1ffd08(0x19c)])};}[_0x51c089(0x27f)](_0x30a67d,_0x3d0259,_0x474938){const _0x201359=_0x51c089;let {chartConfig:_0x591457,chartStyle:_0x5b20af}=this[_0x201359(0x246)](_0x30a67d),_0x316be9=this[_0x201359(0x2f9)][_0x201359(0x219)]();return{'spec':_0x316be9[_0x201359(0x186)](_0x316be9['toSpec'](_0x591457,_0x5b20af),{'chartConfig':_0x591457,'chartStyle':_0x5b20af,'chartInstance':_0x474938},_0x3d0259),'chartConfig':_0x591457,'chartStyle':_0x5b20af,'hostStyle':this[_0x201359(0x177)](_0x5b20af)};}['getHostStyle'](_0x39c25c){const _0x50ba05=_0x51c089;return _0x195161({'style':_0x39c25c,'getRenderColor':_0x3bde13=>this[_0x50ba05(0x274)][_0x50ba05(0x1f7)](_0x3bde13)});}[_0x51c089(0x30a)](_0x521c64,_0x40840c){const _0x10c147=_0x51c089;var _0x316894;_0x521c64[_0x10c147(0x19a)][_0x10c147(0x258)]=(_0x316894=_0x40840c['border'])!=null&&_0x316894[_0x10c147(0x29d)]&&_0x40840c[_0x10c147(0x258)][_0x10c147(0x27e)]?_0x40840c[_0x10c147(0x258)][_0x10c147(0x27e)]+'px\x20solid\x20'+_r(_0x40840c[_0x10c147(0x258)][_0x10c147(0x29d)]):'',_0x521c64[_0x10c147(0x19a)][_0x10c147(0x17d)]=_r(_0x40840c[_0x10c147(0x290)]??'transparent'),_0x521c64[_0x10c147(0x19a)][_0x10c147(0x2fd)]=_0x40840c[_0x10c147(0x25e)]?_0x40840c[_0x10c147(0x25e)]+'px':fr+'px',_0x521c64['style']['overflow']=_0x10c147(0x198),_0x521c64['style']['boxSizing']=_0x10c147(0x182);}[_0x51c089(0x25c)](){const _0x1cfef1=_0x51c089;return{'resolveHostStyle':({style:_0x3b9d1d})=>({'fill':this[_0x1cfef1(0x177)](_0x3b9d1d)[_0x1cfef1(0x290)]}),'resolveRenderBackgroundColor':({hostStyle:_0x4c3561})=>_0x4c3561['fill'],'prepareSpec':({mode:_0x26a4e2,spec:_0x4da3b1})=>_0x26a4e2==='image'?{..._0x4da3b1,'animation':!0x1,'tooltip':{'show':!0x1}}:_0x4da3b1};}['_bindChartEventHandlers'](_0x3dcb1f,_0x3d8032){let _0x191ceb=this['_chartEventHandlers']['get'](_0x3dcb1f);_0x191ceb&&_0x191ceb['forEach']((_0x13c750,_0x1d5639)=>{const _0x3211d4=_0x3703;_0x13c750['forEach'](_0x543d13=>this[_0x3211d4(0x319)](_0x3dcb1f,_0x3d8032,_0x1d5639,_0x543d13));});}['_bindChartEventHandler'](_0x9c550b,_0x3db795,_0x51e31d,_0x419527){const _0x259904=_0x51c089;let _0x143789=this[_0x259904(0x278)]['get'](_0x9c550b);_0x143789||(_0x143789=new Map(),this[_0x259904(0x278)][_0x259904(0x212)](_0x9c550b,_0x143789));let _0x2608d3=_0x143789[_0x259904(0x1da)](_0x51e31d);_0x2608d3||(_0x2608d3=new Map(),_0x143789[_0x259904(0x212)](_0x51e31d,_0x2608d3)),!_0x2608d3['has'](_0x419527)&&_0x2608d3['set'](_0x419527,_0x3db795['on'](_0x51e31d,_0x419527));}[_0x51c089(0x2d2)](_0x173389,_0x5e5299,_0x165235){const _0x3772f8=_0x51c089;var _0x8f2fb0,_0x2164e9;let _0x4734e0=(_0x8f2fb0=this['_chartEventSubscriptions']['get'](_0x173389))==null?void 0x0:_0x8f2fb0[_0x3772f8(0x1da)](_0x5e5299);_0x4734e0==null||(_0x2164e9=_0x4734e0['get'](_0x165235))==null||_0x2164e9[_0x3772f8(0x2fb)](),_0x4734e0==null||_0x4734e0[_0x3772f8(0x345)](_0x165235);}[_0x51c089(0x32d)](_0x148263){const _0x41fd18=_0x51c089;let _0x5e8e80=this['_chartEventSubscriptions'][_0x41fd18(0x1da)](_0x148263);_0x5e8e80==null||_0x5e8e80[_0x41fd18(0x1ae)](_0x27ec94=>{const _0x3b2886=_0x41fd18;_0x27ec94['forEach'](_0x4fdc56=>_0x4fdc56[_0x3b2886(0x2fb)]()),_0x27ec94['clear']();}),this[_0x41fd18(0x278)][_0x41fd18(0x345)](_0x148263);}[_0x51c089(0x22e)](_0x1cd524,_0x10445a){return _0x1cd524+'::'+_0x10445a;}[_0x51c089(0x2fb)](){const _0x2efef6=_0x51c089;this['_chartInstanceMap'][_0x2efef6(0x1ae)](_0x552843=>_0x552843[_0x2efef6(0x2fb)]()),this[_0x2efef6(0x1dc)]['clear'](),this['_chartElementEditMode'][_0x2efef6(0x1b8)](),this['_chartEventHandlers'][_0x2efef6(0x1b8)](),Array[_0x2efef6(0x16c)](this[_0x2efef6(0x278)]['keys']())['forEach'](_0x167018=>this['_disposeChartEventSubscriptions'](_0x167018)),super[_0x2efef6(0x2fb)]();}};q=H([V(0x0,_0x3771e8(_0x2a9b27)),V(0x1,_0x3771e8(_0x30ea69)),V(0x2,_0x4f0b2c)],q);let vr=class extends _0x104147{constructor(_0x1e9517,_0xd43449,_0x26a8b6,_0x33234e,_0x32bb21,_0x4c7df5,_0x2e336f){const _0x4eac51=_0x51c089;super(),this['_renderContext']=_0x1e9517,this[_0x4eac51(0x162)]=_0xd43449,this['_sidePanelService']=_0x26a8b6,this[_0x4eac51(0x2e7)]=_0x33234e,this[_0x4eac51(0x342)]=_0x32bb21,this[_0x4eac51(0x36e)]=_0x4c7df5,this[_0x4eac51(0x2e3)]=_0x2e336f,B(this,'_activePanelKey',null),B(this,_0x4eac51(0x323),null),B(this,'_activeEditOverlay',null),this[_0x4eac51(0x1a1)](this[_0x4eac51(0x162)][_0x4eac51(0x36b)]['subscribe'](_0x47a981=>this[_0x4eac51(0x36f)](_0x47a981)));}[_0x51c089(0x2fb)](){this['_closeActivePanel'](),super['dispose']();}['_syncPanel'](_0x38201){const _0x501cc5=_0x51c089;var _0x269779;if(!_0x38201||_0x38201[_0x501cc5(0x2cb)]!==this['_renderContext'][_0x501cc5(0x2cb)]){this[_0x501cc5(0x16b)]();return;}let _0x2adbe1=this[_0x501cc5(0x2e7)]['ensureChartModel'](_0x38201[_0x501cc5(0x2cb)],_0x38201[_0x501cc5(0x161)]);if(!_0x2adbe1){this[_0x501cc5(0x16b)]();return;}let _0x1c6747=[tr,_0x38201[_0x501cc5(0x2cb)],_0x38201[_0x501cc5(0x1cb)],_0x38201[_0x501cc5(0x21f)]][_0x501cc5(0x31b)](':');if(this[_0x501cc5(0x2ac)]===_0x1c6747){this[_0x501cc5(0x2e7)][_0x501cc5(0x27a)](_0x2adbe1),this['_setActiveEditOverlay'](_0x38201[_0x501cc5(0x2cb)],_0x38201[_0x501cc5(0x161)]);return;}(_0x269779=this[_0x501cc5(0x323)])==null||_0x269779[_0x501cc5(0x2fb)](),this['_modelService'][_0x501cc5(0x27a)](_0x2adbe1),this['_setActiveEditOverlay'](_0x38201[_0x501cc5(0x2cb)],_0x38201[_0x501cc5(0x161)]),this[_0x501cc5(0x2ac)]=_0x1c6747,this[_0x501cc5(0x323)]=this['_sidePanelService'][_0x501cc5(0x36d)]({'id':tr,'header':{'title':this[_0x501cc5(0x2e3)]['t'](_0x501cc5(0x363))},'width':0x184,'children':{'label':tr,'unitId':_0x38201[_0x501cc5(0x2cb)],'subUnitId':_0x38201[_0x501cc5(0x1cb)],'elementId':_0x38201[_0x501cc5(0x21f)],'chartId':_0x38201[_0x501cc5(0x161)]},'onClose':_0x380759=>{const _0x1dc90a=_0x501cc5;this[_0x1dc90a(0x2ac)]===_0x1c6747&&(this['_activePanelKey']=null,this[_0x1dc90a(0x323)]=null,this[_0x1dc90a(0x2a5)](),this[_0x1dc90a(0x2e7)][_0x1dc90a(0x27a)](null),_0x380759===_0x1dc90a(0x207)&&this[_0x1dc90a(0x162)][_0x1dc90a(0x327)](_0x1dc90a(0x207)));}});}['_closeActivePanel'](){const _0x1baa4c=_0x51c089;var _0x2cf351;if(!this[_0x1baa4c(0x2ac)]){this[_0x1baa4c(0x2a5)]();return;}(_0x2cf351=this[_0x1baa4c(0x323)])==null||_0x2cf351[_0x1baa4c(0x2fb)](),this[_0x1baa4c(0x323)]=null,this['_activePanelKey']=null,this['_clearActiveEditOverlay'](),this[_0x1baa4c(0x2e7)][_0x1baa4c(0x27a)](null);}['_setActiveEditOverlay'](_0x548083,_0xc0ee11){const _0x3751f1=_0x51c089;let _0x4ef991=this[_0x3751f1(0x15b)];((_0x4ef991==null?void 0x0:_0x4ef991[_0x3751f1(0x2cb)])!==_0x548083||_0x4ef991[_0x3751f1(0x161)]!==_0xc0ee11)&&(this['_clearActiveEditOverlay'](),this[_0x3751f1(0x15b)]={'unitId':_0x548083,'chartId':_0xc0ee11},this[_0x3751f1(0x342)][_0x3751f1(0x175)](_0x548083,_0xc0ee11,!0x0));}[_0x51c089(0x2a5)](){const _0x57ede1=_0x51c089;let _0x40490c=this['_activeEditOverlay'];_0x40490c&&(this['_activeEditOverlay']=null,this[_0x57ede1(0x342)][_0x57ede1(0x175)](_0x40490c['unitId'],_0x40490c['chartId'],!0x1));}};vr=H([V(0x1,_0x3771e8(U)),V(0x2,_0x3771e8(_0x602cdd)),V(0x3,_0x3771e8(_0x47649a)),V(0x4,_0x3771e8(q)),V(0x5,W),V(0x6,_0x3771e8(_0x2a9b27))],vr);var yr=class extends _0x104147{constructor(_0x51340a,_0x9b2bc6,_0x4bf6b7){const _0x208059=_0x51c089;super(),this[_0x208059(0x161)]=_0x51340a,this['_host']=_0x9b2bc6,this[_0x208059(0x205)]=_0x4bf6b7,B(this,_0x208059(0x1cc),_0x38ce5f[_0x208059(0x191)]);}['getRect'](){const _0x115920=_0x51c089;let _0x1fad4e=this[_0x115920(0x160)]['getBoundingClientRect']();return{'width':Math['max'](0x1,_0x1fad4e[_0x115920(0x27e)]),'height':Math['max'](0x1,_0x1fad4e[_0x115920(0x2bb)])};}[_0x51c089(0x2ea)](_0x378003){const _0x254dc4=_0x51c089;this['_applyHostStyle'](this[_0x254dc4(0x160)],_0x378003);}async['ensureMount'](){const _0x39fa8c=_0x51c089;return this[_0x39fa8c(0x160)];}[_0x51c089(0x303)](){return!0x0;}['syncLayout'](){}['markReady'](){}[_0x51c089(0x2d8)](){}};function br({chartElement:_0xcbc745,chartId:_0x4536ce,unitId:_0x5d1d47}){const _0x2df828=_0x51c089;let _0x3635fb=_0x15ca94(null),_0x5abdc9=_0x295177(_0x47649a),_0x1adec4=_0x295177(q);return _0xcbe30d(()=>{const _0x2125f0=_0x3703;let _0x32e39c=_0x3635fb[_0x2125f0(0x1c0)];if(!_0x32e39c)return;let _0x1d73aa=_0x5abdc9[_0x2125f0(0x15e)](_0x5d1d47,_0x4536ce);if(!_0x1d73aa)return;_0x5abdc9[_0x2125f0(0x27a)](_0x1d73aa);let _0x2895db=new yr(_0x4536ce,_0x32e39c,(_0x294205,_0x4cb9c6)=>_0x1adec4[_0x2125f0(0x30a)](_0x294205,{'fill':_0x4cb9c6[_0x2125f0(0x290)]??'transparent'})),_0x43e3e0=_0x1adec4[_0x2125f0(0x1fe)](_0x38ce5f[_0x2125f0(0x191)]),_0x4b4bfb=_0x1adec4[_0x2125f0(0x15c)](_0x5d1d47,_0x4536ce,_0x43e3e0);_0x43e3e0['bind'](_0x2895db);let _0x560515=_0x57776b([_0x1d73aa[_0x2125f0(0x2ce)]['config$'],_0x1d73aa['model'][_0x2125f0(0x328)]])[_0x2125f0(0x172)](_0x37a7e6(([_0x57defe])=>_0x57defe!=null))[_0x2125f0(0x1f6)](()=>{const _0x5d4d13=_0x2125f0;let {chartConfig:_0x21b73e,chartStyle:_0x102d4e}=_0x1adec4['createRenderInput'](_0x1d73aa);xr(_0x32e39c,_0xcbc745,_0x102d4e,_0x1adec4),_0x43e3e0[_0x5d4d13(0x252)]({'chartId':_0x4536ce,'config':_0x21b73e,'style':_0x102d4e});});return()=>{const _0x593d35=_0x2125f0;var _0x3b4b1e;_0x560515[_0x593d35(0x34a)](),_0x4b4bfb[_0x593d35(0x2fb)](),_0x43e3e0[_0x593d35(0x2fb)](),_0x2895db[_0x593d35(0x2fb)](),((_0x3b4b1e=_0x5abdc9[_0x593d35(0x1e0)])==null?void 0x0:_0x3b4b1e[_0x593d35(0x2cb)])===_0x5d1d47&&_0x5abdc9[_0x593d35(0x1e0)][_0x593d35(0x161)]===_0x4536ce&&_0x5abdc9[_0x593d35(0x27a)](null);};},[_0xcbc745,_0x4536ce,_0x5abdc9,_0x1adec4,_0x5d1d47]),_0x5d3079(_0x2df828(0x2fa),{'className':_0x2df828(0x33f),'data-board-chart-dom-renderer':_0x4536ce,'children':_0x5d3079(_0x2df828(0x2fa),{'ref':_0x3635fb,'data-board-chart-dom-content-host':_0x4536ce})});}function xr(_0x20fb02,_0xde3809,_0x4ee182,_0x21aa32){const _0x3cb413=_0x51c089;let _0x332adc=_0x21aa32[_0x3cb413(0x177)](_0x4ee182)[_0x3cb413(0x290)],_0x3286c1=pr({'chartStyle':_0x4ee182,'chartElement':_0xde3809,'hostFill':_0x332adc}),_0x5f461f=Math[_0x3cb413(0x334)](0x0,_0x3286c1['strokeWidth']);_0x20fb02['style']['position']=_0x3cb413(0x18a),_0x20fb02[_0x3cb413(0x19a)]['left']=_0x5f461f+'px',_0x20fb02[_0x3cb413(0x19a)][_0x3cb413(0x1ff)]=_0x5f461f+'px',_0x20fb02['style']['right']=_0x5f461f+'px',_0x20fb02['style'][_0x3cb413(0x32a)]=_0x5f461f+'px',_0x20fb02[_0x3cb413(0x19a)][_0x3cb413(0x17d)]=_0x3286c1[_0x3cb413(0x290)],_0x20fb02[_0x3cb413(0x19a)][_0x3cb413(0x2fd)]=Math[_0x3cb413(0x334)](0x0,_0x3286c1['radius']-_0x5f461f)+'px',_0x20fb02['style'][_0x3cb413(0x26d)]='hidden',_0x20fb02[_0x3cb413(0x19a)][_0x3cb413(0x204)]=_0x3cb413(0x182);}const Sr=_0x2b0cff(_0x51c089(0x2e2)),Cr=0x0;function wr(_0x274ced){return{..._0x274ced,'borderWidth':0x0};}var Tr=class{constructor(_0x3b52be){this['_renderService']=_0x3b52be;}async['render'](_0x176679,_0x37e805){const _0x1d1b21=_0x51c089;if(typeof document>'u')throw TypeError(_0x1d1b21(0x1ce));let _0x5315fb=new _0x4dcbac(_0x37e805['chartId'],{'width':_0x176679['width'],'height':_0x176679[_0x1d1b21(0x2bb)]}),_0x461c8e=this[_0x1d1b21(0x342)][_0x1d1b21(0x1fe)](_0x38ce5f[_0x1d1b21(0x349)]);try{let {chartConfig:_0x57c16e,chartStyle:_0x384c10}=this['_renderService']['createRenderInput'](_0x37e805);_0x461c8e[_0x1d1b21(0x23f)](_0x5315fb),await _0x461c8e[_0x1d1b21(0x252)]({'chartId':_0x37e805[_0x1d1b21(0x161)],'config':_0x57c16e,'style':wr(_0x384c10)});let _0x16d9d9=_0x5315fb[_0x1d1b21(0x167)]();if(!_0x16d9d9)throw Error(_0x1d1b21(0x29a)+_0x37e805[_0x1d1b21(0x2cb)]+'/'+_0x37e805[_0x1d1b21(0x161)]);return _0x16d9d9;}finally{_0x461c8e[_0x1d1b21(0x2fb)](),_0x5315fb['dispose']();}}};let J=class extends _0x283a3b{constructor(_0x17f19f,_0x6f89e8,_0xa6a68,_0x23d593){super(_0x17f19f,_0x6f89e8,_0x23d593??new Tr(_0xa6a68));}};J=H([V(0x0,_0x3771e8(_0x2a9b27)),V(0x1,_0x3771e8(_0x47649a)),V(0x2,_0x3771e8(q)),V(0x3,_0x49dd13(Sr))],J);let Er=class extends _0x104147{constructor(_0x5d5188,_0x29d273,_0x303641,_0x403c0d,_0x3af329){const _0x53b327=_0x51c089;super(),this['_renderContext']=_0x5d5188,this['_editSessionService']=_0x29d273,this[_0x53b327(0x28e)]=_0x303641,this['_domLayerService']=_0x403c0d,this[_0x53b327(0x241)]=_0x3af329,B(this,_0x53b327(0x360),null),B(this,_0x53b327(0x30c),null),B(this,_0x53b327(0x23d),null),this[_0x53b327(0x1a1)](this['_editSessionService'][_0x53b327(0x36b)][_0x53b327(0x1f6)](_0x3a47e0=>this[_0x53b327(0x288)](_0x3a47e0)));}[_0x51c089(0x2fb)](){const _0x32b5cf=_0x51c089;this[_0x32b5cf(0x245)](),super['dispose']();}[_0x51c089(0x288)](_0x2b34c4){const _0x15ae09=_0x51c089;if(!_0x2b34c4||_0x2b34c4[_0x15ae09(0x2cb)]!==this[_0x15ae09(0x1ac)]['unitId']){this['_clearActiveLayer']();return;}let _0x3c8d78=this[_0x15ae09(0x28e)][_0x15ae09(0x195)](_0x2b34c4['unitId'],_0x2b34c4[_0x15ae09(0x1cb)]),_0x322dae=_0x3c8d78[_0x2b34c4[_0x15ae09(0x21f)]];if(!_0x322dae||_0x322dae['element'][_0x15ae09(0x19c)]!==_0x2c3774[_0x15ae09(0x286)]||_0x322dae[_0x15ae09(0x21e)][_0x15ae09(0x161)]!==_0x2b34c4[_0x15ae09(0x161)]){this[_0x15ae09(0x245)]();return;}let _0x2423f1=_0x5dea0e(_0x3c8d78,_0x322dae[_0x15ae09(0x21f)]);if(!_0x2423f1){this[_0x15ae09(0x245)]();return;}let _0x3cfb1d=_0x322dae[_0x15ae09(0x21e)],_0x1292e=_0x3cfb1d['chartId'],_0x1fa3d2=['board-chart-active',_0x2b34c4[_0x15ae09(0x2cb)],_0x2b34c4[_0x15ae09(0x1cb)],_0x322dae[_0x15ae09(0x21f)]]['join'](':');if(this['_activeLayerId']===_0x1fa3d2){this[_0x15ae09(0x23d)]={'chartId':_0x1292e,'unitId':_0x2b34c4[_0x15ae09(0x2cb)]},this['_domLayerService']['updateItem'](_0x1fa3d2,{'rect':_0x2423f1,'content':()=>_0x5d3079(br,{'chartId':_0x1292e,'chartElement':_0x3cfb1d,'unitId':_0x2b34c4[_0x15ae09(0x2cb)]})});return;}this[_0x15ae09(0x245)](),this[_0x15ae09(0x360)]=_0x1fa3d2,this['_activeChart']={'chartId':_0x1292e,'unitId':_0x2b34c4['unitId']},this['_activeLayerDisposable']=this[_0x15ae09(0x322)][_0x15ae09(0x1aa)]({'id':_0x1fa3d2,'unitId':_0x2b34c4['unitId'],'subUnitId':_0x2b34c4[_0x15ae09(0x1cb)],'elementId':_0x322dae['elementId'],'rect':_0x2423f1,'interactive':!0x0,'zIndex':0x1,'content':()=>_0x5d3079(br,{'chartId':_0x1292e,'chartElement':_0x3cfb1d,'unitId':_0x2b34c4[_0x15ae09(0x2cb)]})});}['_clearActiveLayer'](){const _0x466de2=_0x51c089;var _0x2ac0c2;let _0x2135a3=this[_0x466de2(0x23d)];(_0x2ac0c2=this[_0x466de2(0x30c)])==null||_0x2ac0c2[_0x466de2(0x2fb)](),this[_0x466de2(0x30c)]=null,this[_0x466de2(0x360)]=null,this[_0x466de2(0x23d)]=null,_0x2135a3&&this[_0x466de2(0x241)][_0x466de2(0x285)](_0x2135a3[_0x466de2(0x2cb)],_0x2135a3['chartId']);}};Er=H([V(0x1,_0x3771e8(U)),V(0x2,_0x2da561),V(0x3,_0x3771e8(_0x14872b)),V(0x4,_0x3771e8(J))],Er);let Y=class extends _0x104147{constructor(_0x5c34bd,_0x106f20,_0x21bfa7,_0x5a582c){const _0x1cd1e6=_0x51c089;super(),this[_0x1cd1e6(0x1af)]=_0x5c34bd,this[_0x1cd1e6(0x241)]=_0x106f20,this[_0x1cd1e6(0x30f)]=_0x21bfa7,this[_0x1cd1e6(0x2e7)]=_0x5a582c,this[_0x1cd1e6(0x335)]();}[_0x51c089(0x335)](){const _0x16b126=_0x51c089;this[_0x16b126(0x1a1)](this[_0x16b126(0x1af)]['onCommandExecuted'](_0x47ca71=>{const _0x3824c9=_0x16b126;if(_0x47ca71['id']===_0x5612b2['id']){var _0x4bade0;let _0x26a72e=_0x47ca71[_0x3824c9(0x1b5)];_0x26a72e!=null&&_0x26a72e[_0x3824c9(0x2cb)]&&(_0x4bade0=_0x26a72e[_0x3824c9(0x343)])!=null&&_0x4bade0['id']&&(this[_0x3824c9(0x289)](_0x26a72e)?this[_0x3824c9(0x241)][_0x3824c9(0x285)](_0x26a72e[_0x3824c9(0x2cb)],_0x26a72e[_0x3824c9(0x343)]['id'],{'waitForConfig':!0x0}):this[_0x3824c9(0x241)][_0x3824c9(0x285)](_0x26a72e['unitId'],_0x26a72e['chart']['id']));return;}if(_0x47ca71['id']===_0x2254a1['id']){var _0x145b67;let _0x1aa3d1=_0x47ca71[_0x3824c9(0x1b5)];if(!(_0x1aa3d1!=null&&_0x1aa3d1[_0x3824c9(0x2cb)])||!((_0x145b67=_0x1aa3d1[_0x3824c9(0x293)])!=null&&_0x145b67['id']))return;this[_0x3824c9(0x30f)]['getChartIdsByDataSource'](_0x1aa3d1[_0x3824c9(0x2cb)],_0x1aa3d1[_0x3824c9(0x293)]['id'])[_0x3824c9(0x1ae)](_0x533e62=>this[_0x3824c9(0x241)][_0x3824c9(0x285)](_0x1aa3d1['unitId'],_0x533e62,{'waitForConfig':!0x0}));}}));}['_shouldWaitForChartConfig'](_0x7ec19d){const _0x276e=_0x51c089;var _0x371553;let _0x1668dc=(_0x371553=this['_modelService'][_0x276e(0x29b)](_0x7ec19d[_0x276e(0x2cb)],_0x7ec19d['chart']['id']))==null||(_0x371553=_0x371553[_0x276e(0x2ce)][_0x276e(0x22d)])==null?void 0x0:_0x371553[_0x276e(0x19c)];return _0x1668dc!=null&&_0x1668dc!==_0x7ec19d[_0x276e(0x343)][_0x276e(0x282)];}};Y=H([V(0x0,_0x1c7a44),V(0x1,_0x3771e8(J)),V(0x2,_0x3771e8(_0x2df296)),V(0x3,_0x3771e8(_0x47649a))],Y);var Dr=_0x51c089(0x26f),Or='1.0.0-beta.0';const kr={'scaleX':0x1,'scaleY':0x1};function Ar(_0x1accb7){const _0x2099cc=_0x51c089;let _0x55d6a4=_0x1accb7[_0x2099cc(0x213)];return typeof MouseEvent<'u'&&_0x55d6a4 instanceof MouseEvent?_0x55d6a4:void 0x0;}function jr(_0x14b754){const _0x24b15e=_0x51c089;let _0x331f4e=_0x14b754[_0x24b15e(0x213)],_0x3c38b6=_0x331f4e==null?void 0x0:_0x331f4e['target'];return typeof Element<'u'&&_0x3c38b6 instanceof Element?_0x3c38b6:void 0x0;}function Mr(_0x578257){const _0x2b54d0=_0x51c089;return _0x578257[_0x2b54d0(0x27e)]||_0x578257[_0x2b54d0(0x2c5)]-_0x578257[_0x2b54d0(0x1e1)];}function Nr(_0xaf5e30){const _0x41a15e=_0x51c089;return _0xaf5e30[_0x41a15e(0x2bb)]||_0xaf5e30[_0x41a15e(0x32a)]-_0xaf5e30[_0x41a15e(0x1ff)];}function Pr(_0x507faf,_0x594694){const _0x145669=_0x51c089;let _0x485839=_0x507faf[_0x145669(0x2e4)]||(typeof HTMLElement<'u'&&_0x507faf instanceof HTMLElement?_0x507faf['offsetWidth']:0x0),_0x317e16=_0x507faf[_0x145669(0x2c0)]||(typeof HTMLElement<'u'&&_0x507faf instanceof HTMLElement?_0x507faf['offsetHeight']:0x0),_0x37fa3f=Mr(_0x594694),_0x374a9a=Nr(_0x594694);return{'scaleX':_0x485839>0x0&&_0x37fa3f>0x0?_0x37fa3f/_0x485839:kr['scaleX'],'scaleY':_0x317e16>0x0&&_0x374a9a>0x0?_0x374a9a/_0x317e16:kr['scaleY']};}function Fr(_0x4b9808,_0x1a5104,_0x2e57a4){const _0x526ad8=_0x51c089;return{'left':_0x4b9808['left']+_0x1a5104[_0x526ad8(0x1e1)]*_0x2e57a4[_0x526ad8(0x364)],'right':_0x4b9808[_0x526ad8(0x1e1)]+_0x1a5104[_0x526ad8(0x2c5)]*_0x2e57a4[_0x526ad8(0x364)],'top':_0x4b9808[_0x526ad8(0x1ff)]+_0x1a5104['top']*_0x2e57a4['scaleY'],'bottom':_0x4b9808[_0x526ad8(0x1ff)]+_0x1a5104['bottom']*_0x2e57a4[_0x526ad8(0x355)]};}function Ir(_0x4729da){const _0x38cf68=_0x51c089;let _0x183895=jr(_0x4729da),_0x1fa1d4=_0x4729da['hit'][_0x38cf68(0x22c)];return _0x183895&&_0x1fa1d4?()=>{let _0x160deb=_0x183895['getBoundingClientRect']();return Fr(_0x160deb,_0x1fa1d4,Pr(_0x183895,_0x160deb));}:()=>{const _0x20c03f=_0x38cf68;let _0x28977d=_0x183895==null?void 0x0:_0x183895[_0x20c03f(0x2aa)]();if(_0x183895&&_0x28977d&&_0x1fa1d4)return Fr(_0x28977d,_0x1fa1d4,Pr(_0x183895,_0x28977d));let _0x15a3db=Ar(_0x4729da),_0x46f1ad=_0x183895&&_0x28977d?Pr(_0x183895,_0x28977d):kr,_0x189b48=(_0x15a3db==null?void 0x0:_0x15a3db['clientX'])??(_0x28977d?_0x28977d['left']+_0x4729da['localPoint']['x']*_0x46f1ad[_0x20c03f(0x364)]:_0x4729da[_0x20c03f(0x2a7)]['x']),_0xa34175=(_0x15a3db==null?void 0x0:_0x15a3db[_0x20c03f(0x17a)])??(_0x28977d?_0x28977d[_0x20c03f(0x1ff)]+_0x4729da[_0x20c03f(0x2a7)]['y']*_0x46f1ad[_0x20c03f(0x355)]:_0x4729da[_0x20c03f(0x2a7)]['y']);return{'left':_0x189b48,'right':_0x189b48+0x1,'top':_0xa34175,'bottom':_0xa34175+0x1};};}function Lr(_0x1643fb){const _0x9a28a9=_0x51c089;return _0x1643fb[_0x9a28a9(0x2c5)]<=_0x1643fb['left']||_0x1643fb[_0x9a28a9(0x32a)]<=_0x1643fb[_0x9a28a9(0x1ff)]?!0x1:typeof window>'u'||_0x1643fb[_0x9a28a9(0x2c5)]>0x0&&_0x1643fb[_0x9a28a9(0x32a)]>0x0&&_0x1643fb['left']<window[_0x9a28a9(0x1fd)]&&_0x1643fb['top']<window[_0x9a28a9(0x231)];}function Rr(_0x49968a,_0x305774){const _0x533052=_0x51c089;let _0x43b0bd=Ir(_0x49968a),_0x209ef1=_0x43b0bd(),_0x535f0c=new _0x40692d(_0x209ef1),_0x458326=new _0x59379b(),_0x1eb2af=!0x1,_0x4533c8=!0x1;return typeof window<'u'&&_0x458326[_0x533052(0x33b)](_0x433459(_0x2895ed(window,_0x533052(0x181),{'capture':!0x0}),_0x2895ed(window,_0x533052(0x253)))[_0x533052(0x172)](_0xad3d66(0x10))['subscribe'](()=>{_0x4533c8||_0x1eb2af||(_0x4533c8=!0x0,queueMicrotask(()=>{const _0x229bd2=_0x3703;if(_0x4533c8=!0x1,_0x1eb2af)return;let _0x554f96=_0x43b0bd();if(!Lr(_0x554f96)){_0x305774();return;}_0x535f0c[_0x229bd2(0x307)](_0x554f96);}));})),{'initialRect':_0x209ef1,'anchorRect$':_0x535f0c['asObservable'](),'visible':Lr(_0x209ef1),'dispose':()=>{const _0x4e7907=_0x533052;_0x1eb2af=!0x0,_0x458326[_0x4e7907(0x2fb)](),_0x535f0c[_0x4e7907(0x1fa)]();}};}const zr=_0x51c089(0x315);function Br(_0x184289,_0x36fa0c){return _0x184289+'::'+_0x36fa0c;}let X=class extends _0x104147{constructor(_0x5aacd6,_0x4bf98d,_0x3e93f4,_0x28f900,_0x1b32d3,_0x43c483,_0x944e49,_0x134a2d,_0x36b0d7){const _0x10ccad=_0x51c089;super(),this[_0x10ccad(0x2e7)]=_0x5aacd6,this[_0x10ccad(0x21c)]=_0x4bf98d,this['_chartUIService']=_0x3e93f4,this[_0x10ccad(0x162)]=_0x28f900,this[_0x10ccad(0x2d7)]=_0x1b32d3,this[_0x10ccad(0x20f)]=_0x43c483,this[_0x10ccad(0x2a2)]=_0x944e49,this[_0x10ccad(0x238)]=_0x134a2d,this[_0x10ccad(0x28a)]=_0x36b0d7,B(this,_0x10ccad(0x179),new Map()),B(this,'_popupDisposable',null),B(this,_0x10ccad(0x332),null),this[_0x10ccad(0x35b)](),this['_subscribeChartEvents']();}[_0x51c089(0x2fb)](){const _0x3ca811=_0x51c089;this['_closePopup'](),this['_chartEventDisposables'][_0x3ca811(0x1ae)](_0x5171e7=>_0x5171e7['dispose']()),this['_chartEventDisposables'][_0x3ca811(0x1b8)](),super[_0x3ca811(0x2fb)]();}['_registerAdapter'](){const _0x1a19ff=_0x51c089;let _0x5c27a0=_0x557cfa({'chartUIService':this['_chartUIService'],'getHostAdapter':_0x2e745f=>{const _0x37462e=_0x3703;this[_0x37462e(0x2e7)]['setActiveChartById'](_0x2e745f['unitId'],_0x2e745f[_0x37462e(0x161)]);let _0x6fb9f0=this['_modelService'][_0x37462e(0x29b)](_0x2e745f['unitId'],_0x2e745f[_0x37462e(0x161)]),_0x5df11e=this['_univerInstanceService']['getUnit'](_0x2e745f[_0x37462e(0x2cb)],_0x5a00fe[_0x37462e(0x358)]),_0x87a20b=this[_0x37462e(0x162)][_0x37462e(0x216)]();if(!(!_0x6fb9f0||!_0x5df11e||!_0x87a20b))return new _0x31b200(_0x6fb9f0[_0x37462e(0x2ce)],new _0x515b23({'unitId':_0x2e745f[_0x37462e(0x2cb)],'pageId':_0x87a20b['subUnitId'],'chartId':_0x2e745f[_0x37462e(0x161)],'elementId':_0x87a20b[_0x37462e(0x21f)],'boardModel':_0x5df11e,'injector':this[_0x37462e(0x28a)]}));},'close':()=>this['_closePopup'](),'openFullPanel':_0x20c704=>{const _0x444160=_0x3703;this[_0x444160(0x2e7)][_0x444160(0x16d)](_0x20c704[_0x444160(0x2cb)],_0x20c704['chartId']);let _0x18436a=this['_editSessionService'][_0x444160(0x216)]();(_0x18436a==null?void 0x0:_0x18436a[_0x444160(0x2cb)])===_0x20c704[_0x444160(0x2cb)]&&_0x18436a[_0x444160(0x161)]===_0x20c704[_0x444160(0x161)]&&this[_0x444160(0x162)][_0x444160(0x36d)]({..._0x18436a,'route':_0x260e18(_0x20c704['target']),'source':_0x444160(0x17b)}),this['_closePopup']();}});this['disposeWithMe'](this['_adapterRegistry'][_0x1a19ff(0x366)](zr,_0x5c27a0));}['_subscribeChartEvents'](){const _0x5aadee=_0x51c089;this[_0x5aadee(0x1a1)](this[_0x5aadee(0x2e7)]['chartModelAdded$'][_0x5aadee(0x1f6)](_0xfdce5f=>{const _0xc3cf53=_0x5aadee;let _0xf16bb7=Br(_0xfdce5f[_0xc3cf53(0x2cb)],_0xfdce5f[_0xc3cf53(0x161)]);if(this[_0xc3cf53(0x179)][_0xc3cf53(0x297)](_0xf16bb7))return;let _0x473cc7=new _0x59379b();_0x473cc7[_0xc3cf53(0x33b)](this[_0xc3cf53(0x21c)]['on'](_0xfdce5f[_0xc3cf53(0x2cb)],_0xfdce5f[_0xc3cf53(0x161)],_0xc3cf53(0x347),_0x1251d8=>{const _0x136cc7=_0xc3cf53;this['_openFloatMenu'](_0xfdce5f[_0x136cc7(0x2cb)],_0xfdce5f['chartId'],_0x1251d8);})),this[_0xc3cf53(0x179)][_0xc3cf53(0x212)](_0xf16bb7,_0x473cc7);})),this[_0x5aadee(0x1a1)](this[_0x5aadee(0x2e7)][_0x5aadee(0x1c6)][_0x5aadee(0x1f6)](_0x1f49cf=>{const _0x3b7f50=_0x5aadee;var _0x48bd7f;let _0x3257a5=Br(_0x1f49cf[_0x3b7f50(0x2cb)],_0x1f49cf[_0x3b7f50(0x161)]);(_0x48bd7f=this[_0x3b7f50(0x179)]['get'](_0x3257a5))==null||_0x48bd7f[_0x3b7f50(0x2fb)](),this[_0x3b7f50(0x179)][_0x3b7f50(0x345)](_0x3257a5),this[_0x3b7f50(0x332)]===_0x3257a5&&this['_closePopup']();})),this[_0x5aadee(0x1a1)](this[_0x5aadee(0x2e7)]['activeRuntimeModel$'][_0x5aadee(0x1f6)](_0x5b6b6a=>{const _0x505108=_0x5aadee;let _0x1f50dc=_0x5b6b6a?Br(_0x5b6b6a[_0x505108(0x2cb)],_0x5b6b6a[_0x505108(0x161)]):null;(!_0x1f50dc||this[_0x505108(0x332)]&&_0x1f50dc!==this[_0x505108(0x332)])&&this[_0x505108(0x27b)]();}));}[_0x51c089(0x30e)](_0x2826d4,_0x5d56b2,_0x26e42b){const _0x1b4fec=_0x51c089;if(!this[_0x1b4fec(0x21c)][_0x1b4fec(0x353)](_0x2826d4,_0x5d56b2))return;let _0x4ae853=this[_0x1b4fec(0x2e7)][_0x1b4fec(0x29b)](_0x2826d4,_0x5d56b2),_0x122c0b=_0x4ae853?_0x189c7e(_0x4ae853[_0x1b4fec(0x2ce)],_0x26e42b[_0x1b4fec(0x1a0)]):void 0x0;if(!_0x4ae853||!_0x122c0b){this[_0x1b4fec(0x27b)]();return;}if(this[_0x1b4fec(0x2e7)]['setActiveChartRuntime'](_0x4ae853),this['_closePopup'](),!_0x122c0b[_0x1b4fec(0x1f1)])return;let _0x28cfbc=this[_0x1b4fec(0x2a2)][_0x1b4fec(0x214)](_0x2826d4);if(!_0x28cfbc)return;let _0x152309=Rr(_0x26e42b,()=>this[_0x1b4fec(0x35e)](_0x2826d4,_0x5d56b2));if(!_0x152309['visible']){_0x152309['dispose']();return;}let _0xbea85d=this[_0x1b4fec(0x20f)][_0x1b4fec(0x2bf)]({'componentKey':_0x4c962d,'direction':'top-center','offset':[0x0,0x8],'unitId':_0x2826d4,'subUnitId':'','anchorRect':_0x152309[_0x1b4fec(0x192)],'anchorRect$':_0x152309[_0x1b4fec(0x346)],'canvasElement':_0x28cfbc[_0x1b4fec(0x2ad)]['getCanvasElement'](),'extraProps':{'unitId':_0x2826d4,'chartId':_0x5d56b2,'element':_0x26e42b[_0x1b4fec(0x1a0)],'target':_0x122c0b[_0x1b4fec(0x217)],'adapterKey':zr}}),_0x5bc6ca=new _0x59379b();_0x5bc6ca[_0x1b4fec(0x33b)](_0x152309),_0x5bc6ca[_0x1b4fec(0x33b)]({'dispose':()=>this[_0x1b4fec(0x20f)][_0x1b4fec(0x311)](_0xbea85d)}),this[_0x1b4fec(0x36c)]=_0x5bc6ca,this['_popupRuntimeKey']=Br(_0x2826d4,_0x5d56b2);}[_0x51c089(0x27b)](){const _0x2a7e48=_0x51c089;var _0x23ba96;(_0x23ba96=this['_popupDisposable'])==null||_0x23ba96[_0x2a7e48(0x2fb)](),this[_0x2a7e48(0x36c)]=null,this[_0x2a7e48(0x332)]=null;}[_0x51c089(0x35e)](_0x5c116d,_0x54bc13){const _0x15bf31=_0x51c089;this[_0x15bf31(0x27b)](),this[_0x15bf31(0x21c)]['isElementEditModeActive'](_0x5c116d,_0x54bc13)&&(this['_chartRenderService']['setElementEditMode'](_0x5c116d,_0x54bc13,!0x1),this[_0x15bf31(0x21c)]['setElementEditMode'](_0x5c116d,_0x54bc13,!0x0));}};X=H([V(0x0,_0x3771e8(_0x47649a)),V(0x1,_0x3771e8(q)),V(0x2,W),V(0x3,_0x3771e8(U)),V(0x4,_0x3771e8(_0x107e21)),V(0x5,_0x3771e8(_0x390aef)),V(0x6,_0x4b4297),V(0x7,_0x1afebb),V(0x8,_0x3771e8(_0x571342))],X);function Vr(_0x5f0bc3,_0x3075ca,_0x5b4808,_0x403c2d){let _0x2b8bb2={'chartType':_0x3075ca,'data':_0x5b4808,..._0x403c2d?{'style':_0x403c2d}:{}};return{..._0x5f0bc3,'options':_0x2b8bb2};}function Hr(_0x5d01fd){const _0x28993e=_0x51c089;let _0x8b8fc5=_0x295177(_0x1c7a44),_0x205a11=_0x295177(_0x2a9b27),_0x541c21=_0x4f558d(()=>_0x3ba0a7(_0x48e4d6[_0x28993e(0x313)](_0x11b39f=>({..._0x11b39f,'label':_0x205a11['t'](_0x28993e(0x352)+_0x11b39f[_0x28993e(0x206)])}))),[_0x205a11]),[_0x4baba5,_0x55532b]=_0xbe82a8(String(_0x4b582b[_0x28993e(0x2fe)])),_0x320061=_0x541c21['find'](_0x37fbdf=>_0x37fbdf[_0x28993e(0x158)]===_0x4baba5),_0x46b6da=(_0x320061==null?void 0x0:_0x320061[_0x28993e(0x282)])??_0x4b582b[_0x28993e(0x2fe)],[_0x19af4f,_0x59ce02]=_0xbe82a8(()=>_0x591865[_0x28993e(0x313)](_0x2a7251=>[..._0x2a7251])),[_0x37c32e,_0x47abd8]=_0xbe82a8(null),_0x3021db={[_0x549cb3[_0x28993e(0x222)]]:_0x205a11['t'](_0x28993e(0x344)),[_0x549cb3[_0x28993e(0x368)]]:_0x205a11['t']('boards-chart-ui.common.tableDataEmpty'),[_0x549cb3[_0x28993e(0x256)]]:_0x205a11['t']('boards-chart-ui.candlestick.columnsError')},_0x1d4923=_0x5cdf94=>_0x20c01a(_0x5cdf94,{'candlestickClose':_0x205a11['t']('boards-chart-ui.candlestick.close'),'candlestickHigh':_0x205a11['t'](_0x28993e(0x372)),'candlestickLow':_0x205a11['t'](_0x28993e(0x1e7)),'candlestickOpen':_0x205a11['t'](_0x28993e(0x351)),'category':_0x205a11['t'](_0x28993e(0x33a)),'chordSource':_0x205a11['t'](_0x28993e(0x1f2)),'chordTarget':_0x205a11['t'](_0x28993e(0x362)),'label':_0x205a11['t'](_0x28993e(0x16e)),'sunburstHierarchy':_0x205a11['t']('boards-chart-ui.sunburst.hierarchy'),'value':_0x205a11['t'](_0x28993e(0x356)),'valueField':_0x205a11['t'](_0x28993e(0x2f5))});return _0x47d9d4(_0x28993e(0x2fa),{'className':'univer-flex\x20univer-w-full\x20univer-flex-col\x20univer-gap-4','children':[_0x47d9d4(_0x28993e(0x2fa),{'className':'univer-flex\x20univer-flex-col\x20univer-gap-2','children':[_0x5d3079('div',{'className':_0x28993e(0x21a),'children':_0x205a11['t']('boards-chart-ui.common.chartType')}),_0x5d3079(_0x25ecbb,{'className':_0x28993e(0x247),'value':_0x4baba5,'options':_0x541c21,'onChange':_0x4e1aa6=>{const _0x20d0c0=_0x28993e;var _0xec96d8;_0x55532b(_0x4e1aa6);let _0xb20127=((_0xec96d8=_0x541c21[_0x20d0c0(0x229)](_0x3671a4=>_0x3671a4[_0x20d0c0(0x158)]===_0x4e1aa6))==null?void 0x0:_0xec96d8[_0x20d0c0(0x282)])??Number(_0x4e1aa6),_0x396010=_0x1d4923(_0xb20127);_0x396010&&_0x59ce02(_0x396010);}})]}),_0x47d9d4('div',{'className':_0x28993e(0x29e),'children':[_0x5d3079(_0x28993e(0x2fa),{'className':_0x28993e(0x21a),'children':_0x205a11['t'](_0x28993e(0x33e))}),_0x5d3079(_0x4012a0,{'values':_0x19af4f,'minColumns':_0x22e004(_0x46b6da),'parsePastedText':_0x3875a5,'onChange':_0x59ce02})]}),_0x37c32e&&_0x5d3079(_0x28993e(0x2fa),{'className':'univer-text-xs\x20univer-text-red-600','children':_0x37c32e}),_0x47d9d4(_0x28993e(0x2fa),{'className':_0x28993e(0x1b7),'children':[_0x5d01fd[_0x28993e(0x2f8)]&&_0x5d3079(_0x4c36c3,{'type':'button','variant':'default','onClick':_0x5d01fd[_0x28993e(0x2f8)],'children':_0x205a11['t'](_0x28993e(0x230))}),_0x5d3079(_0x4c36c3,{'type':_0x28993e(0x2b6),'variant':'primary','onClick':async()=>{const _0x195ca4=_0x28993e;var _0x5c8ed0;let _0x9ffe15=_0x5deac1({'optionId':_0x4baba5,'values':_0x19af4f});if(!_0x9ffe15['ok']){_0x47abd8(_0x3021db[_0x9ffe15[_0x195ca4(0x15d)][_0x195ca4(0x333)]]);return;}if(!await _0x8b8fc5['executeCommand'](_0x12db70['id'],Vr(_0x5d01fd[_0x195ca4(0x2d5)],_0x9ffe15[_0x195ca4(0x22b)][_0x195ca4(0x282)],_0x9ffe15[_0x195ca4(0x22b)][_0x195ca4(0x2f7)],_0x9ffe15[_0x195ca4(0x22b)][_0x195ca4(0x19a)]))){_0x47abd8(_0x205a11['t'](_0x195ca4(0x344)));return;}_0x47abd8(null),(_0x5c8ed0=_0x5d01fd[_0x195ca4(0x25d)])==null||_0x5c8ed0['call'](_0x5d01fd);},'children':_0x205a11['t'](_0x28993e(0x2ca))})]})]});}let Ur=class extends _0x104147{constructor(_0x573948){const _0x33a189=_0x51c089;super(),this[_0x33a189(0x2ed)]=_0x573948,this[_0x33a189(0x24b)]();}[_0x51c089(0x24b)](){const _0x4f66b5=_0x51c089;this[_0x4f66b5(0x1a1)](this[_0x4f66b5(0x2ed)][_0x4f66b5(0x366)](tr,cr)),this[_0x4f66b5(0x1a1)](this[_0x4f66b5(0x2ed)][_0x4f66b5(0x366)](Qn,$n)),this[_0x4f66b5(0x1a1)](this[_0x4f66b5(0x2ed)][_0x4f66b5(0x366)](_0x570d66,Hr)),this[_0x4f66b5(0x1a1)](this[_0x4f66b5(0x2ed)][_0x4f66b5(0x366)](Kn,Yn));}};Ur=H([V(0x0,_0x3771e8(_0x2491b1))],Ur);var Wr=class extends _0x528148{constructor(_0x476318,_0xd4092c){const _0x330acc=_0x51c089;super(_0x476318,_0xd4092c),B(this,_0x330acc(0x2f0),void 0x0),B(this,_0x330acc(0x25a),void 0x0),this['_element']=_0xd4092c[_0x330acc(0x21e)],this['_frameStyle']=_0xd4092c[_0x330acc(0x296)],this[_0x330acc(0x2d3)]();}['updateElement'](_0x1d9c30){const _0x562af1=_0x51c089;this[_0x562af1(0x2f0)]=_0x1d9c30,this['makeDirty'](!0x0);}[_0x51c089(0x211)](_0x57d7fd){const _0xebbe7d=_0x51c089;Kr(this['_frameStyle'],_0x57d7fd)||(this[_0xebbe7d(0x25a)]=_0x57d7fd,this[_0xebbe7d(0x1ca)](!0x0));}['getElement'](){return this['_element'];}[_0x51c089(0x2de)](){const _0x13b44f=_0x51c089;return this[_0x13b44f(0x25a)];}['changeChartSource'](_0x51e454){const _0x2e5ee4=_0x51c089;this[_0x2e5ee4(0x22f)]??(this['_native']=document[_0x2e5ee4(0x2b7)](_0x2e5ee4(0x190)),this['_native'][_0x2e5ee4(0x24e)]='anonymous'),this[_0x2e5ee4(0x2d3)](),this['_native'][_0x2e5ee4(0x223)]=_0x51e454;}[_0x51c089(0x2b9)](_0x2aec0d,_0x4b8d0a,_0x45a675=this[_0x51c089(0x27e)],_0x2f1e22=this[_0x51c089(0x2bb)]){const _0x4a082f=_0x51c089;let _0x34ece7=this[_0x4a082f(0x25a)],_0x414602=mr({'width':_0x45a675,'height':_0x2f1e22},_0x34ece7);_0x2aec0d[_0x4a082f(0x16f)](),_0x2aec0d[_0x4a082f(0x1e6)](-_0x45a675/0x2,-_0x2f1e22/0x2),Gr(_0x2aec0d,0x0,0x0,_0x45a675,_0x2f1e22,_0x34ece7['radius']),_0x2aec0d[_0x4a082f(0x377)]=_0x34ece7[_0x4a082f(0x290)],_0x2aec0d['fill'](),_0x2aec0d[_0x4a082f(0x239)](),this[_0x4a082f(0x2e1)](_0x2aec0d,_0x45a675,_0x2f1e22,_0x414602,_0x34ece7),this[_0x4a082f(0x1d9)](_0x2aec0d,_0x45a675,_0x2f1e22,_0x34ece7);}[_0x51c089(0x2e1)](_0xa86c6d,_0x41fa2b,_0x5d3072,_0x3c75d1,_0x32331a){const _0x40d0a5=_0x51c089;var _0x2a2bba;!((_0x2a2bba=this[_0x40d0a5(0x22f)])!=null&&_0x2a2bba['complete'])||this[_0x40d0a5(0x22f)][_0x40d0a5(0x287)]<=0x0||this[_0x40d0a5(0x22f)][_0x40d0a5(0x1bf)]<=0x0||(_0xa86c6d[_0x40d0a5(0x16f)](),_0xa86c6d[_0x40d0a5(0x1e6)](-_0x41fa2b/0x2,-_0x5d3072/0x2),Gr(_0xa86c6d,_0x3c75d1[_0x40d0a5(0x1e1)],_0x3c75d1['top'],_0x3c75d1['width'],_0x3c75d1[_0x40d0a5(0x2bb)],Math[_0x40d0a5(0x334)](0x0,_0x32331a['radius']-_0x32331a[_0x40d0a5(0x31e)])),_0xa86c6d['clip'](),_0xa86c6d[_0x40d0a5(0x228)](this[_0x40d0a5(0x22f)],_0x3c75d1[_0x40d0a5(0x1e1)],_0x3c75d1[_0x40d0a5(0x1ff)],_0x3c75d1[_0x40d0a5(0x27e)],_0x3c75d1[_0x40d0a5(0x2bb)]),_0xa86c6d[_0x40d0a5(0x239)]());}[_0x51c089(0x1d9)](_0x1aeaa5,_0x3bcdb6,_0x4a2109,_0x1dae10){const _0xcc9ca4=_0x51c089;if(_0x1dae10[_0xcc9ca4(0x31e)]<=0x0)return;let _0x564ac8=hr({'width':_0x3bcdb6,'height':_0x4a2109},_0x1dae10);_0x1aeaa5[_0xcc9ca4(0x16f)](),_0x1aeaa5[_0xcc9ca4(0x1e6)](-_0x3bcdb6/0x2,-_0x4a2109/0x2),Gr(_0x1aeaa5,_0x564ac8[_0xcc9ca4(0x1e1)],_0x564ac8[_0xcc9ca4(0x1ff)],_0x564ac8[_0xcc9ca4(0x27e)],_0x564ac8['height'],_0x564ac8[_0xcc9ca4(0x25e)]),_0x1aeaa5[_0xcc9ca4(0x275)]=_0x1dae10[_0xcc9ca4(0x376)],_0x1aeaa5[_0xcc9ca4(0x2ba)]=_0x1dae10[_0xcc9ca4(0x31e)],_0x1aeaa5[_0xcc9ca4(0x376)](),_0x1aeaa5[_0xcc9ca4(0x239)]();}[_0x51c089(0x1e5)](){const _0x172b90=_0x51c089;var _0x2df7ae;let _0x35b501=(_0x2df7ae=this[_0x172b90(0x235)]())==null?void 0x0:_0x2df7ae[_0x172b90(0x338)];_0x35b501&&(_0x35b501['makeDirty'](!0x0),_0x35b501[_0x172b90(0x252)](),_0x35b501[_0x172b90(0x361)][_0x172b90(0x176)](this[_0x172b90(0x292)]));}[_0x51c089(0x2d3)](){const _0x2c253e=_0x51c089;this[_0x2c253e(0x22f)]&&(this[_0x2c253e(0x22f)]['onload']=()=>{const _0xd5b55d=_0x2c253e;this[_0xd5b55d(0x1e5)]();},this[_0x2c253e(0x22f)][_0x2c253e(0x316)]=()=>{const _0x461f5b=_0x2c253e;this[_0x461f5b(0x1e5)]();});}};function Gr(_0x3412c5,_0x26c844,_0x4ddad4,_0x153b9c,_0x2bb542,_0x2bbaea){const _0x7bf954=_0x51c089;let _0x2fe7e2=Math[_0x7bf954(0x20a)](_0x2bbaea||0x0,_0x153b9c/0x2,_0x2bb542/0x2);if(_0x3412c5[_0x7bf954(0x233)](),!_0x2fe7e2){_0x3412c5[_0x7bf954(0x276)](_0x26c844,_0x4ddad4,_0x153b9c,_0x2bb542),_0x3412c5[_0x7bf954(0x178)]();return;}_0x3412c5[_0x7bf954(0x163)](_0x26c844+_0x2fe7e2,_0x4ddad4),_0x3412c5[_0x7bf954(0x17c)](_0x26c844+_0x153b9c-_0x2fe7e2,_0x4ddad4),_0x3412c5[_0x7bf954(0x271)](_0x26c844+_0x153b9c-_0x2fe7e2,_0x4ddad4+_0x2fe7e2,_0x2fe7e2,Math['PI']*0x3/0x2,0x0,!0x1),_0x3412c5['lineTo'](_0x26c844+_0x153b9c,_0x4ddad4+_0x2bb542-_0x2fe7e2),_0x3412c5[_0x7bf954(0x271)](_0x26c844+_0x153b9c-_0x2fe7e2,_0x4ddad4+_0x2bb542-_0x2fe7e2,_0x2fe7e2,0x0,Math['PI']/0x2,!0x1),_0x3412c5[_0x7bf954(0x17c)](_0x26c844+_0x2fe7e2,_0x4ddad4+_0x2bb542),_0x3412c5['arc'](_0x26c844+_0x2fe7e2,_0x4ddad4+_0x2bb542-_0x2fe7e2,_0x2fe7e2,Math['PI']/0x2,Math['PI'],!0x1),_0x3412c5['lineTo'](_0x26c844,_0x4ddad4+_0x2fe7e2),_0x3412c5[_0x7bf954(0x271)](_0x26c844+_0x2fe7e2,_0x4ddad4+_0x2fe7e2,_0x2fe7e2,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x3412c5['closePath']();}function Kr(_0x41affd,_0x17c220){const _0x103bc3=_0x51c089;return _0x41affd[_0x103bc3(0x290)]===_0x17c220[_0x103bc3(0x290)]&&_0x41affd[_0x103bc3(0x376)]===_0x17c220['stroke']&&_0x41affd[_0x103bc3(0x31e)]===_0x17c220[_0x103bc3(0x31e)]&&_0x41affd[_0x103bc3(0x25e)]===_0x17c220[_0x103bc3(0x25e)];}function qr(_0x2422aa){const _0xaf9d57=_0x51c089;let {element:_0x4be33c}=_0x2422aa[_0xaf9d57(0x209)];return _0x4be33c[_0xaf9d57(0x19c)]===_0x2c3774[_0xaf9d57(0x286)]?_0x4be33c:null;}let Z=class{constructor(_0x2173d3,_0x384f43,_0x2a9e7d,_0x2b2e3f){const _0x34fcf4=_0x51c089;this[_0x34fcf4(0x2da)]=_0x2173d3,this[_0x34fcf4(0x241)]=_0x384f43,this[_0x34fcf4(0x30f)]=_0x2a9e7d,this[_0x34fcf4(0x342)]=_0x2b2e3f,B(this,'name',_0x34fcf4(0x343)),B(this,_0x34fcf4(0x318),new WeakMap());}[_0x51c089(0x32f)](_0x1db864){const _0x49d837=_0x51c089;let _0x47e598=qr(_0x1db864);if(!_0x47e598)return null;let _0x539d69=Math['max'](0x1,_0x1db864[_0x49d837(0x22c)][_0x49d837(0x27e)]),_0x4fecf2=Math['max'](0x1,_0x1db864[_0x49d837(0x22c)]['height']),_0x288063=new Wr(_0x1db864['key'],{'url':_0x49d837(0x193),'left':_0x1db864['bounds'][_0x49d837(0x1e1)],'top':_0x1db864['bounds'][_0x49d837(0x1ff)],'width':_0x539d69,'height':_0x4fecf2,'angle':_0x1db864[_0x49d837(0x22c)]['angle'],'flipX':_0x1db864[_0x49d837(0x22c)][_0x49d837(0x2b8)],'flipY':_0x1db864[_0x49d837(0x22c)][_0x49d837(0x270)],'zIndex':_0x1db864[_0x49d837(0x165)],'visible':_0x47e598[_0x49d837(0x30b)]!==!0x1,'evented':!0x0,'forceRender':!0x0,'element':_0x47e598,'frameStyle':this[_0x49d837(0x354)](_0x1db864[_0x49d837(0x2cb)],_0x47e598)});return this[_0x49d837(0x21b)](_0x288063,this[_0x49d837(0x1a2)](_0x1db864[_0x49d837(0x2cb)],_0x288063),_0x1db864['unitId']),_0x288063;}[_0x51c089(0x304)](_0xcec13e,_0x2d016f){const _0x1aeaea=_0x51c089;var _0x431dab;if(!(_0xcec13e instanceof Wr))return!0x1;let _0x95ca2f=qr(_0x2d016f);return _0x95ca2f?(_0x2d016f['preserveTransform']||_0xcec13e[_0x1aeaea(0x31a)](_0x2d016f[_0x1aeaea(0x22c)]),_0xcec13e[_0x1aeaea(0x30d)](_0x95ca2f),this['_updateFrameStyle'](_0x2d016f[_0x1aeaea(0x2cb)],_0xcec13e),(_0x431dab=this['_snapshotRefreshers'][_0x1aeaea(0x1da)](_0xcec13e))==null||_0x431dab(),!0x0):!0x1;}[_0x51c089(0x21b)](_0x5e7fb1,_0x5f5df9,_0x23c507){const _0x29117f=_0x51c089;if(!_0x5f5df9)return;let _0xc059f2=null,_0x47ef77=null,_0x1a6af8=!0x1,_0x2ccbc4=_0x2e469e=>{const _0x56f4f8=_0x3703;if(_0x47ef77!==_0x2e469e){if(_0xc059f2==null||_0xc059f2[_0x56f4f8(0x34a)](),_0xc059f2=null,_0x47ef77=_0x2e469e,_0x2e469e['status']===_0x56f4f8(0x308)&&_0x2e469e[_0x56f4f8(0x2f1)]){_0x5e7fb1[_0x56f4f8(0x265)](_0x2e469e[_0x56f4f8(0x2f1)]);return;}_0x2e469e[_0x56f4f8(0x1f8)]===_0x56f4f8(0x23b)&&(_0xc059f2=this['_snapshotService'][_0x56f4f8(0x184)][_0x56f4f8(0x1f6)](_0x327a49=>{const _0x1fa4ea=_0x56f4f8;if(_0x327a49!==_0x2e469e||_0x327a49[_0x1fa4ea(0x1f8)]!==_0x1fa4ea(0x308)||!_0x327a49['dataUrl']){if(_0x327a49===_0x2e469e&&_0x327a49[_0x1fa4ea(0x1f8)]===_0x1fa4ea(0x34c)&&!_0x1a6af8){_0x1a6af8=!0x0;let _0x55ad04=this[_0x1fa4ea(0x1a2)](_0x23c507,_0x5e7fb1);_0x55ad04&&_0x2ccbc4(_0x55ad04);}return;}_0x5e7fb1['changeChartSource'](_0x327a49[_0x1fa4ea(0x2f1)]),_0xc059f2==null||_0xc059f2[_0x1fa4ea(0x34a)](),_0xc059f2=null;}));}};_0x2ccbc4(_0x5f5df9);let _0x461c3c=()=>{const _0x3bcfe3=_0x3703;_0x1a6af8=!0x1;let _0x52e711=this[_0x3bcfe3(0x1a2)](_0x23c507,_0x5e7fb1);_0x52e711&&_0x2ccbc4(_0x52e711);};this['_snapshotRefreshers'][_0x29117f(0x212)](_0x5e7fb1,_0x461c3c);let _0x265b2f=this[_0x29117f(0x241)][_0x29117f(0x262)][_0x29117f(0x1f6)](_0x54ed63=>{const _0x4920f0=_0x29117f;_0x54ed63[_0x4920f0(0x2cb)]===_0x23c507&&_0x54ed63[_0x4920f0(0x161)]===_0x5e7fb1[_0x4920f0(0x2a6)]()[_0x4920f0(0x161)]&&_0x461c3c();});_0x5e7fb1[_0x29117f(0x203)][_0x29117f(0x232)](()=>{const _0x431fb3=_0x29117f;_0xc059f2==null||_0xc059f2[_0x431fb3(0x34a)](),_0x265b2f['unsubscribe'](),this[_0x431fb3(0x318)][_0x431fb3(0x345)](_0x5e7fb1);});}[_0x51c089(0x1a2)](_0x406353,_0x314cd6){const _0x48006b=_0x51c089;let _0x35552f=this['_updateFrameStyle'](_0x406353,_0x314cd6),_0x52e484=mr({'width':Math[_0x48006b(0x334)](0x1,_0x314cd6[_0x48006b(0x27e)]),'height':Math['max'](0x1,_0x314cd6[_0x48006b(0x2bb)])},_0x35552f);return this[_0x48006b(0x241)][_0x48006b(0x305)]({'unitId':_0x406353,'chartId':_0x314cd6['getElement']()[_0x48006b(0x161)],'width':_0x52e484['width'],'height':_0x52e484[_0x48006b(0x2bb)],'mode':'main'});}[_0x51c089(0x2dd)](_0x25cb33,_0x5a4d7e){const _0x28fcfc=_0x51c089;let _0x497125=this[_0x28fcfc(0x354)](_0x25cb33,_0x5a4d7e['getElement']());return _0x5a4d7e[_0x28fcfc(0x211)](_0x497125),_0x497125;}[_0x51c089(0x354)](_0x372116,_0x1afdbf){const _0x4785c8=_0x51c089;var _0x1f81b4;let _0x457218=(_0x1f81b4=this[_0x4785c8(0x30f)][_0x4785c8(0x1b1)](_0x372116,_0x1afdbf[_0x4785c8(0x161)]))==null?void 0x0:_0x1f81b4[_0x4785c8(0x19a)];return pr({'chartStyle':_0x457218,'chartElement':_0x1afdbf,'hostFill':_0x457218?this[_0x4785c8(0x342)][_0x4785c8(0x177)](_0x457218)[_0x4785c8(0x290)]:void 0x0,'isDarkMode':this[_0x4785c8(0x2da)][_0x4785c8(0x263)]});}};Z=H([V(0x0,_0x3771e8(_0x656a3)),V(0x1,_0x3771e8(J)),V(0x2,_0x3771e8(_0x2df296)),V(0x3,_0x3771e8(q))],Z);function Jr(_0x1b3749){const _0x23246c=_0x51c089;return _0x1b3749['type']===_0x2c3774[_0x23246c(0x286)];}let Q=class{constructor(_0x1b0c31){const _0x2d610f=_0x51c089;this[_0x2d610f(0x30f)]=_0x1b0c31,B(this,_0x2d610f(0x2f3),_0x2d610f(0x248));}[_0x51c089(0x1dd)](_0x10b837){const _0x4a5708=_0x51c089;let _0x1af3ca={},_0x8afa0c={},_0x3c6216={};return _0x10b837[_0x4a5708(0x324)][_0x4a5708(0x1ae)](_0x30922d=>{const _0x22d69a=_0x4a5708;if(!Jr(_0x30922d))return;let _0x284a74=this[_0x22d69a(0x30f)][_0x22d69a(0x1b1)](_0x10b837[_0x22d69a(0x2cb)],_0x30922d[_0x22d69a(0x161)]),_0x1a829c=_0x284a74?this[_0x22d69a(0x30f)][_0x22d69a(0x2ef)](_0x10b837['unitId'],_0x284a74['dataSourceId']):void 0x0;!_0x284a74||!_0x1a829c||(_0x1af3ca[_0x284a74['id']]=_0x3e2f9c[_0x22d69a(0x23e)](_0x284a74),_0x8afa0c[_0x1a829c['id']]=_0x3e2f9c[_0x22d69a(0x23e)](_0x1a829c),_0x3c6216[_0x30922d['id']]=_0x284a74['id']);}),Object[_0x4a5708(0x1d3)](_0x1af3ca)[_0x4a5708(0x19f)]===0x0?null:{'charts':_0x1af3ca,'dataSources':_0x8afa0c,'chartIdByElementId':_0x3c6216};}[_0x51c089(0x26a)](_0x582072){const _0x288f8d=_0x51c089;if(!Yr(_0x582072['payload']))return null;let _0x2f9d24=_0x582072['payload'],_0x23f78d=new Map();_0x582072['elementIdMap'][_0x288f8d(0x1ae)]((_0x370885,_0x1ece07)=>{const _0x3ddd88=_0x288f8d;_0x23f78d[_0x3ddd88(0x212)](_0x370885,_0x1ece07);});let _0x29411e=new Map(),_0x3377b7=new Map(),_0x9c9170=_0x582072[_0x288f8d(0x324)]['map'](_0x2d55d4=>{const _0xb08dba=_0x288f8d;if(!Jr(_0x2d55d4))return _0x2d55d4;let _0x1eaf20=_0x23f78d[_0xb08dba(0x1da)](_0x2d55d4['id']),_0x57bcc1=_0x1eaf20?_0x2f9d24[_0xb08dba(0x284)][_0x1eaf20]:void 0x0;if(!_0x57bcc1||!_0x2f9d24['charts'][_0x57bcc1])return _0x2d55d4;let _0x58fd17=_0x29411e[_0xb08dba(0x1da)](_0x57bcc1);return _0x58fd17||(_0x58fd17=_0x4b902b(0x6),_0x29411e[_0xb08dba(0x212)](_0x57bcc1,_0x58fd17)),{..._0x2d55d4,'chartId':_0x58fd17};});_0x29411e[_0x288f8d(0x1ae)]((_0x29f86a,_0x4dcf4b)=>{const _0x401f83=_0x288f8d;var _0x13e272;let _0x68d12c=(_0x13e272=_0x2f9d24[_0x401f83(0x1a4)][_0x4dcf4b])==null?void 0x0:_0x13e272[_0x401f83(0x183)];_0x68d12c&&!_0x3377b7[_0x401f83(0x297)](_0x68d12c)&&_0x3377b7[_0x401f83(0x212)](_0x68d12c,_0x4b902b(0x6));});let _0x4c0f51=[];_0x3377b7['forEach']((_0x4a183c,_0x25f1af)=>{const _0x528421=_0x288f8d;let _0x26d5c4=_0x2f9d24[_0x528421(0x34b)][_0x25f1af];_0x26d5c4&&_0x4c0f51[_0x528421(0x226)]({..._0x3e2f9c['deepClone'](_0x26d5c4),'id':_0x4a183c,'values':_0x26d5c4[_0x528421(0x2f7)][_0x528421(0x313)](_0x2c8af2=>[..._0x2c8af2])});});let _0x4a9c8f=[];return _0x29411e[_0x288f8d(0x1ae)]((_0x1e8083,_0x500136)=>{const _0xd4706c=_0x288f8d;let _0x379c90=_0x2f9d24[_0xd4706c(0x1a4)][_0x500136],_0x2fa0f8=_0x379c90?_0x3377b7[_0xd4706c(0x1da)](_0x379c90[_0xd4706c(0x183)]):void 0x0;!_0x379c90||!_0x2fa0f8||_0x4a9c8f[_0xd4706c(0x226)]({..._0x3e2f9c['deepClone'](_0x379c90),'id':_0x1e8083,'dataSourceId':_0x2fa0f8});}),_0x4a9c8f[_0x288f8d(0x19f)]===0x0?null:{'elements':_0x9c9170,'redoMutations':[..._0x4c0f51[_0x288f8d(0x313)](_0x37c8d1=>({'id':_0x2254a1['id'],'params':{'unitId':_0x582072[_0x288f8d(0x27d)],'dataSource':_0x37c8d1}})),..._0x4a9c8f[_0x288f8d(0x313)](_0x18abe0=>({'id':_0x5612b2['id'],'params':{'unitId':_0x582072['targetUnitId'],'chart':_0x18abe0}}))],'undoMutations':[..._0x4a9c8f[_0x288f8d(0x313)](_0x5bfd68=>({'id':_0x5eebba['id'],'params':{'unitId':_0x582072[_0x288f8d(0x27d)],'chartId':_0x5bfd68['id']}})),..._0x4c0f51[_0x288f8d(0x313)](_0x5161ca=>({'id':_0x1f9a0e['id'],'params':{'unitId':_0x582072['targetUnitId'],'dataSourceId':_0x5161ca['id']}}))]};}};Q=H([V(0x0,_0x3771e8(_0x2df296))],Q);function Yr(_0x4a8cde){const _0x42066a=_0x51c089;if(!_0x4a8cde||typeof _0x4a8cde!=_0x42066a(0x2d0))return!0x1;let _0x141741=_0x4a8cde;return!!_0x141741[_0x42066a(0x1a4)]&&!!_0x141741['dataSources']&&!!_0x141741[_0x42066a(0x284)];}const Xr=_0x51c089(0x254);let $=class extends _0x3e0ff2{constructor(_0x5f05f5=Rn,_0x1d21df,_0x1acd2e,_0x553f7b){const _0x584a48=_0x51c089;super(),this['_config']=_0x5f05f5,this[_0x584a48(0x28a)]=_0x1d21df,this['_configService']=_0x1acd2e,this[_0x584a48(0x2a2)]=_0x553f7b,B(this,_0x584a48(0x1d5),null);let {..._0x1b97d9}=_0x13a383({},Rn,this[_0x584a48(0x1f3)]);this[_0x584a48(0x2ab)]['setConfig'](Ln,_0x1b97d9);}[_0x51c089(0x321)](){const _0x100073=_0x51c089;this[_0x100073(0x1a1)](this[_0x100073(0x28a)][_0x100073(0x1da)](_0x1c7a44)[_0x100073(0x273)](er)),[[q],[J],[W,{'useClass':Gn}],[G],[U],[X],[Z],[Q],[Y],[Ur]][_0x100073(0x1ae)](_0x17cb45=>this['_injector'][_0x100073(0x33b)](_0x17cb45)),_0xaee2e4(this[_0x100073(0x28a)],[[q],[J],[W],[G],[U],[X]]),this[_0x100073(0x28a)][_0x100073(0x1da)](Ur);let _0x53b90f=this[_0x100073(0x28a)]['get'](Z);this[_0x100073(0x1d5)]=_0x53b90f,this[_0x100073(0x314)](_0x53b90f),this[_0x100073(0x1a1)](_0x5f487e(()=>{const _0x3e81bd=_0x100073;this[_0x3e81bd(0x1de)](_0x53b90f),this[_0x3e81bd(0x1d5)]=null;}));let _0x14bc78=this['_injector'][_0x100073(0x1da)](_0x378237);this['disposeWithMe'](_0x14bc78['registerAdapter'](this[_0x100073(0x28a)][_0x100073(0x1da)](Q))),this[_0x100073(0x1a1)](this['_injector']['get'](Y));}['onReady'](){const _0x38ae59=_0x51c089;this[_0x38ae59(0x1a1)](this[_0x38ae59(0x2a2)][_0x38ae59(0x1a6)](_0x5a00fe[_0x38ae59(0x358)],Zn)),this[_0x38ae59(0x1a1)](this[_0x38ae59(0x2a2)][_0x38ae59(0x1a6)](_0x5a00fe['UNIVER_BOARD'],Er)),this['disposeWithMe'](this[_0x38ae59(0x2a2)][_0x38ae59(0x1a6)](_0x5a00fe['UNIVER_BOARD'],vr)),this['disposeWithMe'](this[_0x38ae59(0x2a2)][_0x38ae59(0x1a6)](_0x5a00fe['UNIVER_BOARD'],Xn));}[_0x51c089(0x314)](_0x3ce827){const _0x26c45a=_0x51c089;var _0x8a2b31,_0x2d4a5c;let _0x63e31a=this[_0x26c45a(0x280)](),_0x2385b0=_0x63e31a[_0x26c45a(0x16a)]??[];_0x2385b0[_0x26c45a(0x29c)](_0x3ce827)||this[_0x26c45a(0x2ab)][_0x26c45a(0x1e3)](_0x2f6a38,{..._0x63e31a,'additionalRenderAdapters':[..._0x2385b0,_0x3ce827],'toolbar':{..._0x63e31a['toolbar'],'tools':{...(_0x8a2b31=_0x63e31a[_0x26c45a(0x1eb)])==null?void 0x0:_0x8a2b31[_0x26c45a(0x350)],[_0x26d3c3['Chart']]:Zr((_0x2d4a5c=_0x63e31a[_0x26c45a(0x1eb)])==null||(_0x2d4a5c=_0x2d4a5c['tools'])==null?void 0x0:_0x2d4a5c[_0x26d3c3[_0x26c45a(0x286)]])}}});}['_removeRenderAdapter'](_0x5bd759){const _0x4ce50d=_0x51c089;var _0x4262af;let _0x18c8cf=this['_getBoardsUIConfig'](),_0x574bda=(_0x4262af=_0x18c8cf['additionalRenderAdapters'])==null?void 0x0:_0x4262af[_0x4ce50d(0x1f0)](_0x3ec7fd=>_0x3ec7fd!==_0x5bd759);this[_0x4ce50d(0x2ab)][_0x4ce50d(0x1e3)](_0x2f6a38,{..._0x18c8cf,'additionalRenderAdapters':_0x574bda});}[_0x51c089(0x280)](){const _0x1fc0a2=_0x51c089;return this[_0x1fc0a2(0x2ab)][_0x1fc0a2(0x312)](_0x2f6a38)??{};}};B($,'pluginName',Xr),B($,'packageName',Dr),B($,_0x51c089(0x300),Or),B($,'type',_0x5a00fe[_0x51c089(0x358)]),$=H([_0x37617c(_0x2e2a1d,_0x395f30,_0x4f4de7,_0x222884,_0x3d50e1,_0x22ddb8),V(0x1,_0x3771e8(_0x571342)),V(0x2,_0x2c7746),V(0x3,_0x4b4297)],$);function Zr(_0x13335c){const _0x21be77=_0x51c089;return _0x13335c===!0x1?!0x1:typeof _0x13335c!=_0x21be77(0x2d0)||{..._0x13335c,'enabled':_0x13335c[_0x21be77(0x1ee)]??!0x0};}export{Ln as BOARDS_CHART_UI_PLUGIN_CONFIG_KEY,Xr as BOARDS_CHART_UI_PLUGIN_NAME,Cr as BOARD_CHART_SNAPSHOT_BORDER_WIDTH,Q as BoardChartClipboardAdapter,G as BoardChartDataEditService,U as BoardChartEditSessionService,Xn as BoardChartFloatingToolbarRenderController,Zn as BoardChartOpenEditController,vr as BoardChartPanelController,Z as BoardChartRenderAdapter,q as BoardChartRenderService,Er as BoardChartSelectionController,Y as BoardChartSnapshotRefreshController,J as BoardChartSnapshotRenderService,Gn as BoardChartUIService,yr as BoardDomChartHost,Sr as IBoardChartSnapshotRendererService,W as IBoardChartUIService,$ as UniverBoardsChartUIPlugin,Zr as enableChartTool,wr as resolveBoardChartSnapshotStyle};
1
+ const _0x420134=_0x1b7a;(function(_0x12730d,_0x476a58){const _0x4d2934=_0x1b7a,_0x2ff4e4=_0x12730d();while(!![]){try{const _0x57eb76=-parseInt(_0x4d2934(0x226))/0x1*(parseInt(_0x4d2934(0x21a))/0x2)+-parseInt(_0x4d2934(0x2b4))/0x3+-parseInt(_0x4d2934(0x308))/0x4+-parseInt(_0x4d2934(0x19a))/0x5+-parseInt(_0x4d2934(0x186))/0x6+-parseInt(_0x4d2934(0x2b2))/0x7+parseInt(_0x4d2934(0x1d4))/0x8;if(_0x57eb76===_0x476a58)break;else _0x2ff4e4['push'](_0x2ff4e4['shift']());}catch(_0x543fb8){_0x2ff4e4['push'](_0x2ff4e4['shift']());}}}(_0x2ae8,0x95d48));import{BoardElementType as _0xbbe6aa,BoardToolType as _0x3972cb,IBoardElementService as _0x3c3318,InsertBoardChartCommand as _0x5950c5,UniverBoardsPlugin as _0x499738,resolveBoardElementWorldBounds as _0x1f3663}from'@univerjs-pro/boards';import{BOARDS_UI_PLUGIN_CONFIG_KEY as _0x3ce34f,BOARD_INSERT_CHART_PANEL_COMPONENT as _0x25b70a,BoardCanvasPopManagerService as _0x52e4c8,BoardDeleteSelectionOperation as _0x56ac06,BoardDomLayerService as _0x378753,BoardInteractionSurfaceService as _0x3acde6,IBoardClipboardResourceAdapterService as _0x52cf4e,IBoardElementStateService as _0x31d12a,IBoardSidePanelService as _0x4c7560,IBoardUIStateService as _0x466b44,UniverBoardsUIPlugin as _0x4f6771,getBoardElementRenderObjectKey as _0xce4805,resolveRotatedBoardObjectAnchorBound as _0x36333a}from'@univerjs-pro/boards-ui';import{CommandType as _0x3d6f82,DependentOn as _0x12277f,Disposable as _0x37367c,DisposableCollection as _0x23bb89,ICommandService as _0x1fe324,IConfigService as _0xd2ea59,IUniverInstanceService as _0xd96f74,Inject as _0x562f55,Injector as _0xd63000,LocaleService as _0x9e1c11,Optional as _0x4d6e48,Plugin as _0x10d04f,RxDisposable as _0x38bb52,ThemeService as _0x266ec7,Tools as _0x2f6a92,UniverInstanceType as _0x707cea,createIdentifier as _0x4fae56,generateRandomId as _0x28db8b,merge as _0x42b868,toDisposable as _0x114177,touchDependencies as _0x1e7ffb}from'@univerjs/core';import{BehaviorSubject as _0x126288,combineLatest as _0x3ed2cd,filter as _0x27dc02,fromEvent as _0x33ab4a,merge as _0x4d3929,takeUntil as _0x5901a1,throttleTime as _0x29335a}from'rxjs';import{BoardChartConfigAdapter as _0x4f64a2,BoardChartModelService as _0x19fb9a,BoardChartResourceService as _0x8c60,ChangeBoardChartDataSourceCommand as _0x479239,DEFAULT_BOARD_CHART_VALUES as _0x551cb2,RemoveBoardChartDataSourceMutation as _0xccd2ef,RemoveBoardChartSnapshotMutation as _0x57425b,SetBoardChartDataSourceMutation as _0x34a8cb,SetBoardChartSnapshotMutation as _0x47addf,UniverBoardsChartPlugin as _0x5c1c8a,UpdateBoardChartConfigCommand as _0x4a239f}from'@univerjs-pro/boards-chart';import{CHART_ELEMENT_FLOAT_MENU_COMPONENT as _0x3df2c8,CHART_TYPE_CATALOG as _0x41a22e,ChartAxisSection as _0x3bce50,ChartCommonDataMappingSection as _0x4f7120,ChartEditBlockTitle as _0x3c486f,ChartEditPanel as _0x1e07c3,ChartEditPanelSection as _0x4c33db,ChartEditPanelTab as _0x2d4b13,ChartEditPanelTabs as _0x3f4560,ChartEditorCapability as _0x1f3daa,ChartEditorProvider as _0x38d517,ChartElementFloatMenuAdapterRegistry as _0xae228c,ChartFunnelStyleSection as _0x245efb,ChartGradientFillField as _0x4b623f,ChartGridlinesAndTicksSection as _0x38be78,ChartHeatmapStyleSection as _0x43dcb2,ChartHostAdapter as _0x1cfdd3,ChartImageExportService as _0x5802b4,ChartIndicatorLineSection as _0x2ec339,ChartInlineTableEditor as _0x34964e,ChartLegendSection as _0xcb1ed,ChartLineAndAreaSection as _0x4a1c62,ChartNumberFormatTextField as _0x3b55de,ChartParetoSeriesSection as _0x34ddb7,ChartPieStyleSection as _0x3b6e06,ChartRadarStyleSection as _0x2c7bb8,ChartReferencedDataSourceEditor as _0x450ca6,ChartRelationStyleSection as _0x1efc18,ChartSectionAccordion as _0x533994,ChartSectionAccordionContent as _0x3be325,ChartSectionAccordionItem as _0x1c4444,ChartSectionAccordionTrigger as _0x16cc65,ChartSeriesBorderFields as _0x1e885e,ChartSeriesDataLabelFields as _0x491b26,ChartSeriesDataPointFields as _0x14fec3,ChartSeriesFillFields as _0x31bfcd,ChartSeriesPointFields as _0x1521ac,ChartSeriesRightAxisField as _0x9473e9,ChartSeriesRoot as _0x1298fb,ChartSeriesSelector as _0x58fc41,ChartSeriesTypeField as _0x44ffa0,ChartSnapshotQueue as _0x2f0ffd,ChartStackField as _0x4cb525,ChartStyleSection as _0x243fc2,ChartThemeField as _0x6ad40f,ChartTitlesSection as _0x55db44,ChartTrendlineSection as _0x331351,ChartTypeField as _0xb03ed8,ChartTypeSpecificDataSection as _0x12a344,ChartTypeSpecificSetupSection as _0x5cba48,ChartTypeSpecificStyleSection as _0x1f5610,ChartUIService as _0xc35674,ChartViewStateRegistry as _0x243472,ChartWaterfallSetupFields as _0x1df86c,ChartWaterfallStyleSection as _0xc5b822,ChartWordCloudMaskImageIdField as _0x364feb,ChartWordCloudRepeatField as _0x2d7381,ChartWordCloudRoot as _0x347c60,ChartWordCloudShapeField as _0x54123c,DEFAULT_CHART_AXIS_VALUES as _0x55330d,DEFAULT_CHART_FUNNEL_VALUES as _0x18ae83,DEFAULT_CHART_HEATMAP_VALUES as _0x5685b8,DEFAULT_CHART_INDICATOR_LINE_VALUES as _0x39bc3c,DEFAULT_CHART_LEGEND_VALUES as _0x56644b,DEFAULT_CHART_LINE_AND_AREA_VALUES as _0x475e1f,DEFAULT_CHART_PARETO_VALUES as _0x523a9d,DEFAULT_CHART_PIE_VALUES as _0x292158,DEFAULT_CHART_RADAR_VALUES as _0x33566e,DEFAULT_CHART_RELATION_VALUES as _0x132015,DEFAULT_CHART_SERIES_VALUES as _0x15e876,DEFAULT_CHART_STYLE_VALUES as _0x420a41,DEFAULT_CHART_TITLE_VALUES as _0x1b2173,DEFAULT_CHART_TRENDLINE_VALUES as _0x4ef68a,DEFAULT_CHART_WATERFALL_SETUP_VALUES as _0x3ba343,DEFAULT_CHART_WATERFALL_STYLE_VALUES as _0x2929dc,DEFAULT_CHART_WORD_CLOUD_VALUES as _0xe8319e,InlineChartCreationIssueCode as _0x2f8c65,UniverChartUIPlugin as _0x2d77e6,buildChartTypeSelectOptions as _0x5e7700,chartTypeSupportsCapability as _0x57d0f8,chartTypeSupportsLineAndAreaStyle as _0x34ddfc,createChartElementFloatMenuAdapter as _0x459948,createChartInlineStarterData as _0x4d3703,getChartInlineTableMinColumns as _0x3a6a48,resolveChartEditPanelRoute as _0x54bddd,resolveChartElementSelection as _0x18d75a,tryBuildInlineChartCreationPlan as _0x321e23,tryPrepareInlineChartData as _0x1be431,useChartEditorChartType as _0xf3075c,useChartEditorHasRightAxis as _0x32edde,useChartTypeFieldState as _0x11bc28}from'@univerjs-pro/chart-ui';import{Button as _0x413d0f,Select as _0x1138bf,Separator as _0x168461,borderClassName as _0x46e847,clsx as _0x1c9fb4}from'@univerjs/design';import{DeleteIcon as _0x370cc6,PenIcon as _0x5cc677}from'@univerjs/icons';import{ComponentManager as _0x1af51d,ICanvasPopupService as _0xea016f,IDialogService as _0x223c84,useDependency as _0x30d157,useObservable as _0x265074}from'@univerjs/ui';import{useEffect as _0xe8772c,useMemo as _0x3b7d38,useRef as _0x5074cd,useState as _0x52cd5f}from'react';import{CHART_HOST_DEFAULT_BORDER_COLOR as _0x40ee15,CHART_HOST_DEFAULT_BORDER_RADIUS as _0x24da85,ChartDataSourceRuntimeStatus as _0x2b2838,ChartHostRenderMode as _0x155eff,ChartThemeService as _0x3c12b3,ChartTypeBits as _0x1f8f85,DataUrlImageChartHost as _0x965a83,IChartRenderModelManagerService as _0x177a5a,chartBitsUtils as _0x57039c,chartTypeCanUseTrendLine as _0x3bcf6e,defaultChartConfig as _0x5723a7,isInlineChartDataSource as _0x2877eb,isReferencedChartDataSource as _0x191f31,parseInlineChartTable as _0x1e6e18,resolveChartRuntimeStyle as _0x328c21,resolveDefaultChartHostFrameStyle as _0x225484}from'@univerjs-pro/engine-chart';import{jsx as _0x4c0ab2,jsxs as _0x5b5190}from'react/jsx-runtime';import{UniverLicensePlugin as _0x614a47}from'@univerjs-pro/license';import{IRenderManagerService as _0x4b3b8f,Image as _0x78fa0e,UniverRenderEnginePlugin as _0x165d51}from'@univerjs/engine-render';function _0x2ae8(){const _0x44582b=['chartIdByElementId','boards-chart-ui.common.chartType','_adapter','borderRadius','univer-box-border\x20univer-flex\x20univer-h-12\x20univer-items-center\x20univer-gap-1\x20univer-rounded-lg\x20univer-bg-gray-0\x20univer-px-2\x20univer-py-1.5\x20univer-text-gray-700\x20univer-shadow-lg\x20dark:!univer-bg-gray-900\x20dark:!univer-text-gray-100','Boxplot','find','getChartModel','1066722UqVjrz','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','Doughnut','boards-chart-ui.section.lineAndArea','_watchSnapshotUpdates','getConfig','restore','moveTo','_bindChartEventHandlers','registerCommand','onClose','dataUrl','deepClone','issue','plan','_injector','getDirection','removePopup','pie','elementAdd$','1785575WqkWmO','_modelService','boards-chart-ui.candlestick.low','boards-chart-ui.section.gridlinesAndTicks','_canvasPopupService','hidden','error','isRowDirection','doubleClick','_openFloatMenu','boards-chart-ui.common.insert','labelId','img','_attachScheduled','default','target','dataSources','univer-p-4\x20univer-text-sm\x20univer-text-gray-500\x20dark:!univer-text-gray-400','oKey','getChartIdsByDataSource','changeDataSource','lineWidth','prototype','checkMounted','_resolveFrameStyle','number','_commandService','_renderModelManager','_localeService','getCurrentRenderModel','_chartRenderService','strokeWidth','markNotReady','row','dataSourceId','set','_attachNativeLoadHandlers','waterfall','boxSizing','_themeService','BarStacked','add','scaleY','UnknownOption','label','boards-chart-element-float-menu','_subscribeChartEvents','axis','borderWidth','showFloatMenu','wordCloud','mode','_element','px\x20solid\x20','syncObject','scroll','skipNextObservers','getTransformerByCreate','26058136uCfIcP','typeOptions','Treemap','additionalRenderAdapters','selectionChange','_init','chartStyle','focusedId','symbol','toolbar','changeChartSource','beginPath','getRenderColor','fill','bounds','scaleX','getDataSource','dispose','ColumnPercentStacked','getValue','getElementData','getInfo','chartType','pageChange','string','boards-chart-ui.common.horizontalAxis','ready','pareto','Legend','forEach','changeStart$','parseInt','boards-chart-ui.section.funnel','boards-chart-ui.section.wordCloud','clientY','emitEvent','change','Series','_chartEventDisposables','_syncPanel','_elementStateService','legend','VerticalAxis','univer-flex\x20univer-w-full\x20univer-flex-col\x20univer-gap-4','main','setElementEditMode','call','_closeActivePanel','_openEditSession','boards-chart-ui.common.editChart','key','getId','_buildPopupSelectionKey','boards-chart-ui.section.chord','_getBoardsUIConfig','some','strokeStyle','\x20has\x20no\x20render\x20config.','boards-chart-ui.candlestick.columnsError','Waterfall','_boardCanvasPopManagerService','onStarting','selectedIds','size','tools','univer-w-full\x20!univer-min-w-0','version','Select','boards-chart-ui.dataEditor.updateFailed','boards-chart-ui.common.customize','926PIcMqh','button','map','src','_disposeChartEventSubscriptions','subscribeEvent','_resolveElementObject','setValue','activeTool','_sidePanelService','_syncSelectionState','state$','2013adSQiU','GridlinesAndTicks','Dom','attachPopupToObject','width','setActiveChartRuntime','visible','univer-relative\x20univer-h-full\x20univer-w-full\x20univer-overflow-hidden','frameStyle','code','isElementEditModeActive','pipe','ghost','height','createRenderSpec','chartModelAdded$','onCommandExecuted','createElement','createChartInstance','get','dispose$','rect','chartElement','length','boards-chart-ui.section.gauge','_activePanelDisposable','_activePanelKey','makeDirty','axisId','setConfig','board.chart.floating-toolbar','ParetoBarSeries','render','_registerAdapter','elementId','_activeLayerDisposable','catch','setStyle','localPoint','InvalidCandlestickData','small','seriesId','boards-chart-ui.sunburst.hierarchy','children','syncLayout','activeRuntimeModel$','top','name','_shouldWaitForChartConfig','primary','transparent','univer-text-sm\x20univer-font-medium\x20univer-text-gray-900\x20dark:!univer-text-gray-0','univer-flex\x20univer-justify-end\x20univer-gap-2','Scatter','Radar','getChart','quickToolbar','min(1120px,\x20calc(100vw\x20-\x2032px))','getHostStyle','boards-chart-ui.common.trendline','boards-chart-ui.chartTypes.','setActiveChartById','_clearActiveLayer','supports','_listenChartResourceMutations','bottom','_univerInstanceService','rgba(255,\x20255,\x20255,\x200.18)','_showPopupForSelection','ensureChartModel','_editSessionService','heatmap','boards-chart-ui.common.chartStyle','boards-chart-ui.common.heatmap','resourceService','model','WaterfallSeries','boards-chart-ui.common.value','_applyHostStyle','_adapterRegistry','clientWidth','_getChartRuntimeKey','_popupDisposable','open','unitId','boards-chart-ui.chord.target','toPrimitive','filter','innerHeight','_chartThemeService','subUnitId','getRect','onload','ColumnStacked','select','univer-flex\x20univer-w-full\x20univer-flex-col\x20univer-gap-4\x20univer-p-1','_resourceService','chartInvalidated$','getUnit','Chart','getObject','_drawChartImage','stroke','Column','board-chart-active','disposeWithMe','clientHeight','snapshotUpdated$','min','onEditData','referenced','getCanvasElement','resolve','subscribe','toSpec','context','1.0.0-beta.1','_registerComponents','executeCommand','transformStart','then','boards-chart-ui.common.chartAndAxisTitles','isDarkMode','elementDataItem','Line','function','invalidateChart','elementIdMap','status','_renderManagerService','_bindChartEventHandler','boards-chart-ui.section.treemap','getState','applyHostStyle','direction$','preparePaste','_popupSelectionKey','route','getDataUrl','scene','4531695zhQXeA','IndicatorLine','1251804uLMFtT','barStyle','keys','close','left','push','univer-text-xs\x20univer-text-red-600\x20dark:!univer-text-red-400','_activeLayerId','activeSession$','boards-chart-ui.candlestick.open','board-chart-setup-panel','board-chart-style-panel','boards-chart-ui.section.waterfall','_activeEditOverlay','_config','_configService','getSnapshot','selectElements','style','getElementById','from','_updateFrameStyle','board-chart.data-editor-dialog','slice','border','naturalWidth','elementUpdate$','getElementOrder','board-chart-floating-toolbar','boards-chart-ui.config','boards-chart-ui.common.editData','enabled','baseOn','_activeSession$','lineTo','_draw','_syncActiveChart','boards-chart-ui.common.tableDataEmpty','updateDataForChart','insertParams','boards-chart-ui.common.setup','indicatorLine','clear','_chartUIService','Trendline','bind','targetUnitId','_clearActiveEditOverlay','HorizontalAxis','_frameStyle','AreaStacked','UNIVER_BOARD','values','_clearPopupIfSelectionChanged','_clearPopup','Image','Relation','_renderService','boards-chart-ui.common.label','next','boards-chart-ui.candlestick.close','chartId','onerror','config','BarPercentStacked','includes','_interactionSurfaceService','boards-chart-ui.section.relation','image','decorate','_clearHiddenSelectedTarget','elements','section','boards-chart-ui.common.switchRowColumn','board-chart','delete','column','getElement','innerWidth','boards-chart-ui.section.paretoBar','type','interactionSurfaceActive$','_createChartRenderInstanceContext','Candlestick','447956OQTrXt','chart','onReady','overflow','params','_chartEventHandlers','position','data:image/svg+xml;charset=utf-8,%0A%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20160%20100%22%3E%0A%20%20%3Crect%20x%3D%220.5%22%20y%3D%220.5%22%20width%3D%22159%22%20height%3D%2299%22%20rx%3D%225%22%20fill%3D%22%23f8fafc%22%20stroke%3D%22%2394a3b8%22%2F%3E%0A%20%20%3Cpath%20d%3D%22M26%2070V47M52%2070V32M78%2070V55M104%2070V40M130%2070V25%22%20stroke%3D%22%232563eb%22%20stroke-width%3D%227%22%20stroke-linecap%3D%22round%22%2F%3E%0A%20%20%3Cpath%20d%3D%22M20%2076H140%22%20stroke%3D%22%23cbd5e1%22%20stroke-width%3D%222%22%2F%3E%0A%3C%2Fsvg%3E%0A','rgb(','Data','transformByState','boards-chart-ui.common.series','preventDefault','isFinite','_activeChart','chartModelRemoved$','lineAndArea','_uiStateService','boards-chart-ui.section.histogram','LineAndArea','color','_renderContext','ensureMount','border-box','pendingInsert','boards-chart-ui.common.deleteChart','every','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','charts','getBoundingClientRect','fillStyle','boards-chart-ui.section.pie','config$','RightVerticalAxis','translate','complete','GeneralSeries','_objectDblclickDisposables','nativeEvent','isInteractionSurfaceActive','_closePopup','max','naturalHeight','split','asObservable','crossOrigin','elementRemove$','_requestSnapshotForObject','_chartElementEditMode','board.operation.chart.open-data-editor','_drawFrameStroke','Gauge','hostFill','Chord','univer-flex\x20univer-flex-col\x20univer-gap-3\x20univer-px-4\x20univer-pb-5','boards-chart-ui.common.apply','angle','_chartEventSubscriptions','boards-chart-ui.chord.source','borderColor','Axes','_scheduleAttachObjectDoubleClicks','value','_boardElementService','boards-chart-ui.common.verticalAxis','flipX','_instanceService','_appendRenderAdapter','univer-w-full\x20univer-justify-start','div','rightY','inline','dataSource','_popupRuntimeKey','right','collect','boards-chart-ui.common.insertChartFailed','constructor','closePath','match','_domLayerService','getRenderUnitById','registerRenderModule','hit','boards-chart-ui.common.legend','top-center','engine','_snapshotRefreshers','updateElement','titleKey','source','boards-chart-ui.dataEditor.unavailable','arc','getDataEditState','backgroundColor','unsubscribe','extraProps','_componentManager','_removeRenderAdapter','cumulativeLineStyle','WordCloud','getDataSourceSharingCount','EmptyData','tab','onCancel','boards-chart-ui.common.cancel','Funnel','manual','getOwnPropertyDescriptor','Heatmap','_chartInstanceMap','_host','element','createRenderInput','save','ChartStyle','darkMode','ParetoLineSeries','stopPropagation','defineProperty','PieStyle','exportImage','register','edit-chart','activeRuntimeModel','refreshChartModel','has','isTransforming','radius','Sunburst','Histogram','_setActiveEditOverlay','Pareto','object','executeChartUpdateConfig','elementRemoved','join','Failed\x20to\x20render\x20board\x20chart\x20snapshot:\x20','delete-chart','programmatic','ChartAndAxisTitles','createControl$','getObjectIncludeInGroup','univer-flex\x20univer-flex-col\x20univer-gap-2','UNIVER_BOARDS_CHART_UI_PLUGIN','_snapshotService','_native','updateFrameStyle','updateItem','flipY','getActiveSession'];_0x2ae8=function(){return _0x44582b;};return _0x2ae8();}const Hn=_0x420134(0x2d1),Un={};function R(_0x358508){'@babel/helpers - typeof';const _0x2bfc76=_0x420134;return R=typeof Symbol==_0x2bfc76(0x2a3)&&typeof Symbol['iterator']==_0x2bfc76(0x1dc)?function(_0x562a87){return typeof _0x562a87;}:function(_0x5edf30){const _0x47dc0c=_0x2bfc76;return _0x5edf30&&typeof Symbol==_0x47dc0c(0x2a3)&&_0x5edf30[_0x47dc0c(0x355)]===Symbol&&_0x5edf30!==Symbol[_0x47dc0c(0x1b0)]?_0x47dc0c(0x1dc):typeof _0x5edf30;},R(_0x358508);}function Wn(_0x184ac9,_0x3d0f02){const _0x2de530=_0x420134;if(R(_0x184ac9)!=_0x2de530(0x16c)||!_0x184ac9)return _0x184ac9;var _0x34cd6b=_0x184ac9[Symbol[_0x2de530(0x27c)]];if(_0x34cd6b!==void 0x0){var _0x14cbfa=_0x34cd6b['call'](_0x184ac9,_0x3d0f02||_0x2de530(0x1a8));if(R(_0x14cbfa)!='object')return _0x14cbfa;throw TypeError(_0x2de530(0x187));}return(_0x3d0f02===_0x2de530(0x1ec)?String:Number)(_0x184ac9);}function Gn(_0x155ac){const _0xdb8d2c=_0x420134;var _0x4460fe=Wn(_0x155ac,'string');return R(_0x4460fe)==_0xdb8d2c(0x1dc)?_0x4460fe:_0x4460fe+'';}function z(_0xb175a2,_0x3920cf,_0x298a5e){const _0x4fb844=_0x420134;return(_0x3920cf=Gn(_0x3920cf))in _0xb175a2?Object[_0x4fb844(0x15e)](_0xb175a2,_0x3920cf,{'value':_0x298a5e,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0xb175a2[_0x3920cf]=_0x298a5e,_0xb175a2;}function B(_0x47b74a,_0x35de9d){return function(_0x2f2d79,_0x2413a5){_0x35de9d(_0x2f2d79,_0x2413a5,_0x47b74a);};}function _0x1b7a(_0xc1e33e,_0x59e1b3){_0xc1e33e=_0xc1e33e-0x13f;const _0x2ae8f3=_0x2ae8();let _0x1b7ac6=_0x2ae8f3[_0xc1e33e];return _0x1b7ac6;}function V(_0x5170fd,_0x487913,_0x15d536,_0xf5b1f9){const _0x57b528=_0x420134;var _0x707ed4=arguments[_0x57b528(0x23d)],_0x59cbf1=_0x707ed4<0x3?_0x487913:_0xf5b1f9===null?_0xf5b1f9=Object[_0x57b528(0x153)](_0x487913,_0x15d536):_0xf5b1f9,_0x44d5bf;if(typeof Reflect=='object'&&typeof Reflect[_0x57b528(0x2f9)]==_0x57b528(0x2a3))_0x59cbf1=Reflect[_0x57b528(0x2f9)](_0x5170fd,_0x487913,_0x15d536,_0xf5b1f9);else{for(var _0x23e499=_0x5170fd[_0x57b528(0x23d)]-0x1;_0x23e499>=0x0;_0x23e499--)(_0x44d5bf=_0x5170fd[_0x23e499])&&(_0x59cbf1=(_0x707ed4<0x3?_0x44d5bf(_0x59cbf1):_0x707ed4>0x3?_0x44d5bf(_0x487913,_0x15d536,_0x59cbf1):_0x44d5bf(_0x487913,_0x15d536))||_0x59cbf1);}return _0x707ed4>0x3&&_0x59cbf1&&Object[_0x57b528(0x15e)](_0x487913,_0x15d536,_0x59cbf1),_0x59cbf1;}function Kn(_0x27e6f3,_0x1bf5a5){const _0x138211=_0x420134;return(_0x27e6f3==null?void 0x0:_0x27e6f3[_0x138211(0x14e)])===(_0x1bf5a5==null?void 0x0:_0x1bf5a5['tab'])&&(_0x27e6f3==null?void 0x0:_0x27e6f3['section'])===(_0x1bf5a5==null?void 0x0:_0x1bf5a5[_0x138211(0x2fc)])&&(_0x27e6f3==null?void 0x0:_0x27e6f3[_0x138211(0x140)])===(_0x1bf5a5==null?void 0x0:_0x1bf5a5['titleKey'])&&(_0x27e6f3==null?void 0x0:_0x27e6f3[_0x138211(0x242)])===(_0x1bf5a5==null?void 0x0:_0x1bf5a5[_0x138211(0x242)])&&(_0x27e6f3==null?void 0x0:_0x27e6f3[_0x138211(0x24f)])===(_0x1bf5a5==null?void 0x0:_0x1bf5a5[_0x138211(0x24f)]);}function qn(_0x343e19,_0x14000c){const _0x36893e=_0x420134;return(_0x343e19==null?void 0x0:_0x343e19[_0x36893e(0x27a)])===_0x14000c[_0x36893e(0x27a)]&&_0x343e19[_0x36893e(0x280)]===_0x14000c[_0x36893e(0x280)]&&_0x343e19[_0x36893e(0x248)]===_0x14000c[_0x36893e(0x248)]&&_0x343e19[_0x36893e(0x2f1)]===_0x14000c[_0x36893e(0x2f1)]&&_0x343e19[_0x36893e(0x141)]===_0x14000c['source']&&Kn(_0x343e19['route'],_0x14000c['route']);}let H=class extends _0x37367c{constructor(_0x53c5b9,_0xce8ffc){const _0x5a37ba=_0x420134;super(),this[_0x5a37ba(0x1fc)]=_0x53c5b9,this[_0x5a37ba(0x347)]=_0xce8ffc,z(this,_0x5a37ba(0x2d5),new _0x126288(null)),z(this,_0x5a37ba(0x2bc),this[_0x5a37ba(0x2d5)][_0x5a37ba(0x334)]()),this[_0x5a37ba(0x28f)](this[_0x5a37ba(0x1fc)]['state$']['subscribe'](_0x360cdd=>this[_0x5a37ba(0x224)](_0x360cdd))),this[_0x5a37ba(0x28f)](this[_0x5a37ba(0x347)]['elementRemove$'][_0x5a37ba(0x297)](_0x5e2d50=>{const _0x49fc02=_0x5a37ba;let _0x555279=this[_0x49fc02(0x17d)]();_0x555279&&_0x5e2d50['some'](_0x29e260=>_0x29e260[_0x49fc02(0x27a)]===_0x555279[_0x49fc02(0x27a)]&&_0x29e260['subUnitId']===_0x555279[_0x49fc02(0x280)]&&_0x29e260['elementId']===_0x555279[_0x49fc02(0x248)])&&this[_0x49fc02(0x2b7)](_0x49fc02(0x16e));}));}[_0x420134(0x1e5)](){const _0x45382f=_0x420134;this[_0x45382f(0x2b7)](_0x45382f(0x1e5)),this[_0x45382f(0x2d5)][_0x45382f(0x32b)](),super[_0x45382f(0x1e5)]();}[_0x420134(0x17d)](){const _0x5c0b06=_0x420134;return this[_0x5c0b06(0x2d5)][_0x5c0b06(0x1e7)]();}['open'](_0x1a9e64){const _0x52a499=_0x420134;let _0x1f400f={..._0x1a9e64};qn(this[_0x52a499(0x17d)](),_0x1f400f)||this[_0x52a499(0x2d5)]['next'](_0x1f400f);}[_0x420134(0x2b7)](_0x2bdf6f){const _0x444fc6=_0x420134;this['getActiveSession']()&&this[_0x444fc6(0x2d5)][_0x444fc6(0x2ef)](null);}[_0x420134(0x224)](_0x3b265b){const _0xacc63e=_0x420134;let _0x41acd6=this['getActiveSession']();if(!_0x41acd6)return;if(_0x3b265b[_0xacc63e(0x166)]){this[_0xacc63e(0x2b7)](_0xacc63e(0x29d));return;}if(!_0x3b265b[_0xacc63e(0x299)]){this[_0xacc63e(0x2b7)]('selectionChange');return;}if(_0x3b265b[_0xacc63e(0x299)][_0xacc63e(0x27a)]!==_0x41acd6[_0xacc63e(0x27a)]){this['close']('selectionChange');return;}if(_0x3b265b[_0xacc63e(0x299)][_0xacc63e(0x280)]!==_0x41acd6[_0xacc63e(0x280)]){this[_0xacc63e(0x2b7)](_0xacc63e(0x1eb));return;}if(_0x3b265b[_0xacc63e(0x212)][_0xacc63e(0x23d)]!==0x1||_0x3b265b[_0xacc63e(0x1db)]!==_0x41acd6[_0xacc63e(0x248)]){this['close'](_0xacc63e(0x1d8));return;}let _0xd477d0=this[_0xacc63e(0x347)][_0xacc63e(0x2c7)](_0x41acd6[_0xacc63e(0x27a)],_0x41acd6[_0xacc63e(0x280)],_0x41acd6[_0xacc63e(0x248)]);(!_0xd477d0||_0xd477d0[_0xacc63e(0x157)]['type']!==_0xbbe6aa[_0xacc63e(0x289)]||_0xd477d0['element'][_0xacc63e(0x2f1)]!==_0x41acd6[_0xacc63e(0x2f1)])&&this[_0xacc63e(0x2b7)](_0xacc63e(0x1d8));}};H=V([B(0x0,_0x31d12a),B(0x1,_0x3c3318)],H);const Jn=new Set([_0x1f8f85[_0x420134(0x283)],_0x1f8f85[_0x420134(0x1e6)],_0x1f8f85[_0x420134(0x1c2)],_0x1f8f85[_0x420134(0x2f4)],_0x1f8f85[_0x420134(0x188)],_0x1f8f85[_0x420134(0x2e6)],_0x1f8f85['AreaPercentStacked'],_0x1f8f85['Pareto']]),Yn=_0x41a22e['filter'](_0x5139f2=>!Jn[_0x420134(0x165)](_0x5139f2[_0x420134(0x346)])),U=_0x4fae56('board-chart.ui.service');let Xn=class extends _0xc35674{constructor(_0x1a6120,_0x309f8b,_0x59ff97,_0x19815c){const _0x36819c=_0x420134;super(_0x19815c),this[_0x36819c(0x19b)]=_0x1a6120,this[_0x36819c(0x286)]=_0x309f8b,this['_commandService']=_0x59ff97;}get[_0x420134(0x163)](){const _0x556e72=_0x420134;return this[_0x556e72(0x19b)][_0x556e72(0x163)];}get[_0x420134(0x253)](){const _0x9cd2f2=_0x420134;return this[_0x9cd2f2(0x19b)][_0x9cd2f2(0x253)];}get[_0x420134(0x270)](){const _0x2a2359=_0x420134;return this[_0x2a2359(0x286)];}[_0x420134(0x16d)](_0x4a4873){const _0x2f2dd0=_0x420134;let _0x3871c4=this[_0x2f2dd0(0x19b)][_0x2f2dd0(0x163)],_0xe6c7ad=_0x4a4873[_0x2f2dd0(0x27a)]??(_0x3871c4==null?void 0x0:_0x3871c4[_0x2f2dd0(0x27a)]),_0x596ffd=_0x4a4873[_0x2f2dd0(0x2f1)]??(_0x3871c4==null?void 0x0:_0x3871c4[_0x2f2dd0(0x2f1)]);!_0xe6c7ad||!_0x596ffd||this[_0x2f2dd0(0x1b4)][_0x2f2dd0(0x29c)](_0x4a239f['id'],{..._0x4a4873,'unitId':_0xe6c7ad,'chartId':_0x596ffd});}};Xn=V([B(0x0,_0x562f55(_0x19fb9a)),B(0x1,_0x562f55(_0x8c60)),B(0x2,_0x1fe324),B(0x3,_0x562f55(_0x243472))],Xn);const Zn=_0x420134(0x244);function Qn(_0x4ceb8d){const _0x6f0693=_0x420134;_0x4ceb8d[_0x6f0693(0x15d)]();}function $n(_0x4fec86){const _0x8039c5=_0x420134;let _0x15502d=_0x30d157(_0x1fe324),_0x1a2cab=_0x30d157(_0x9e1c11),_0x191342=_0x30d157(_0x19fb9a),_0x2e3f05=_0x30d157(H),_0x440edc=_0x11bc28(_0x4fec86[_0x8039c5(0x1d5)]),{extraProps:_0x291b17}=_0x4fec86;return _0x5b5190(_0x8039c5(0x34d),{'className':_0x1c9fb4(_0x8039c5(0x182),_0x46e847),'data-u-comp':_0x8039c5(0x2d0),'role':_0x8039c5(0x1dd),'onMouseDown':Qn,'onPointerDown':Qn,'children':[_0x4c0ab2(_0x1138bf,{'aria-label':_0x1a2cab['t'](_0x8039c5(0x17f)),'className':'!univer-w-36\x20!univer-min-w-0','value':_0x440edc[_0x8039c5(0x346)],'options':_0x4fec86[_0x8039c5(0x1d5)],'onChange':_0x5eb392=>{const _0x2c053b=_0x8039c5;_0x191342[_0x2c053b(0x263)](_0x291b17[_0x2c053b(0x27a)],_0x291b17[_0x2c053b(0x2f1)]),_0x440edc[_0x2c053b(0x221)](_0x5eb392);}}),_0x4c0ab2(_0x168461,{'orientation':'vertical'}),_0x4c0ab2(_0x413d0f,{'size':_0x8039c5(0x24e),'variant':_0x8039c5(0x232),'type':_0x8039c5(0x21b),'aria-label':_0x1a2cab['t'](_0x8039c5(0x205)),'title':_0x1a2cab['t'](_0x8039c5(0x205)),'data-toolbar-item':_0x8039c5(0x162),'onClick':()=>{const _0x467b6b=_0x8039c5;_0x2e3f05[_0x467b6b(0x279)]({'chartId':_0x291b17['chartId'],'elementId':_0x291b17[_0x467b6b(0x248)],'source':_0x467b6b(0x25e),'subUnitId':_0x291b17[_0x467b6b(0x280)],'unitId':_0x291b17[_0x467b6b(0x27a)]});},'children':_0x4c0ab2(_0x5cc677,{})}),_0x4c0ab2(_0x413d0f,{'size':_0x8039c5(0x24e),'variant':_0x8039c5(0x232),'type':_0x8039c5(0x21b),'aria-label':_0x1a2cab['t'](_0x8039c5(0x321)),'title':_0x1a2cab['t']('boards-chart-ui.common.deleteChart'),'data-toolbar-item':_0x8039c5(0x171),'onClick':()=>_0x15502d[_0x8039c5(0x29c)](_0x56ac06['id']),'children':_0x4c0ab2(_0x370cc6,{})})]});}function er(_0x5976e3){const _0x57aff8=_0x420134;let _0x2c3581=_0x30d157(_0xd63000),_0x3065e7=_0x30d157(_0xd96f74),_0x58bf12=_0x30d157(_0x9e1c11),_0x5cf26a=_0x30d157(_0x19fb9a),_0xb53ada=_0x30d157(U),_0x4c66a2=_0x3b7d38(()=>_0x5cf26a[_0x57aff8(0x26b)](_0x5976e3['unitId'],_0x5976e3[_0x57aff8(0x2f1)]),[_0x5976e3[_0x57aff8(0x2f1)],_0x5976e3[_0x57aff8(0x27a)],_0x5cf26a]),_0x2ce560=_0x3b7d38(()=>{const _0x83afce=_0x57aff8;let _0x3db231=_0x3065e7[_0x83afce(0x288)](_0x5976e3[_0x83afce(0x27a)],_0x707cea[_0x83afce(0x2e7)]);return!_0x4c66a2||!_0x3db231?null:new _0x1cfdd3(_0x4c66a2[_0x83afce(0x271)],new _0x4f64a2({'unitId':_0x5976e3[_0x83afce(0x27a)],'pageId':_0x5976e3[_0x83afce(0x280)],'chartId':_0x5976e3[_0x83afce(0x2f1)],'elementId':_0x5976e3[_0x83afce(0x248)],'boardModel':_0x3db231,'injector':_0x2c3581}));},[_0x5976e3,_0x2c3581,_0x4c66a2,_0x3065e7]),_0x292813=_0x3b7d38(()=>_0x5e7700(Yn[_0x57aff8(0x21c)](_0x1762e2=>({..._0x1762e2,'label':_0x58bf12['t'](_0x57aff8(0x262)+_0x1762e2[_0x57aff8(0x1a5)])}))),[_0x58bf12]);return!_0x4c66a2||!_0x2ce560?null:_0x4c0ab2(_0x38d517,{'chartUIService':_0xb53ada,'hostAdapter':_0x2ce560,'children':_0x4c0ab2($n,{'extraProps':_0x5976e3,'typeOptions':_0x292813})});}function tr(_0x24f9d2){const _0x172309=_0x420134;let _0x10141b=_0x24f9d2['popup'][_0x172309(0x147)];return _0x10141b?_0x4c0ab2(er,{..._0x10141b}):null;}let nr=class extends _0x38bb52{constructor(_0x28367f,_0x121d81,_0x2f17e3,_0x44d53d,_0xe86e5,_0x50f2eb,_0xb9b266){const _0x280d41=_0x420134;super(),this[_0x280d41(0x31d)]=_0x28367f,this[_0x280d41(0x210)]=_0x121d81,this[_0x280d41(0x347)]=_0x2f17e3,this[_0x280d41(0x1fc)]=_0x44d53d,this[_0x280d41(0x319)]=_0xe86e5,this[_0x280d41(0x26c)]=_0x50f2eb,this[_0x280d41(0x2f6)]=_0xb9b266,z(this,_0x280d41(0x278),null),z(this,_0x280d41(0x2ae),null),this[_0x280d41(0x1d9)]();}['dispose'](){const _0x53c83d=_0x420134;this[_0x53c83d(0x2ea)](),super[_0x53c83d(0x1e5)]();}[_0x420134(0x1d9)](){const _0x269efc=_0x420134;let _0x1d5f8c=this['_renderContext']['scene'][_0x269efc(0x1d3)]();this['disposeWithMe'](_0x114177(_0x1d5f8c[_0x269efc(0x174)][_0x269efc(0x231)](_0x5901a1(this[_0x269efc(0x23a)]))[_0x269efc(0x297)](()=>{this['_showPopupForSelection']();}))),this[_0x269efc(0x28f)](_0x114177(_0x1d5f8c['clearControl$'][_0x269efc(0x231)](_0x5901a1(this[_0x269efc(0x23a)]))['subscribe'](()=>{const _0x426e30=_0x269efc;this[_0x426e30(0x2e9)]();}))),this['disposeWithMe'](_0x114177(_0x1d5f8c[_0x269efc(0x1f2)][_0x269efc(0x231)](_0x5901a1(this['dispose$']))[_0x269efc(0x297)](()=>{const _0x5ee278=_0x269efc;this[_0x5ee278(0x2ea)]();}))),this[_0x269efc(0x28f)](_0x114177(_0x1d5f8c['changeEnd$']['pipe'](_0x5901a1(this[_0x269efc(0x23a)]))['subscribe'](()=>{const _0x74a461=_0x269efc;setTimeout(()=>this[_0x74a461(0x26a)](),0x0);}))),this[_0x269efc(0x28f)](_0x114177(this['_elementStateService'][_0x269efc(0x225)]['pipe'](_0x5901a1(this[_0x269efc(0x23a)]))[_0x269efc(0x297)](()=>{setTimeout(()=>this['_showPopupForSelection'](),0x0);}))),this['disposeWithMe'](_0x114177(this[_0x269efc(0x319)]['state$'][_0x269efc(0x231)](_0x5901a1(this[_0x269efc(0x23a)]))[_0x269efc(0x297)](()=>{setTimeout(()=>this['_showPopupForSelection'](),0x0);}))),this['disposeWithMe'](_0x114177(this[_0x269efc(0x26c)][_0x269efc(0x2bc)][_0x269efc(0x231)](_0x5901a1(this[_0x269efc(0x23a)]))[_0x269efc(0x297)](_0x55b10b=>{const _0x3b4745=_0x269efc;if(_0x55b10b){this[_0x3b4745(0x2ea)]();return;}setTimeout(()=>this['_showPopupForSelection'](),0x0);}))),this[_0x269efc(0x28f)](_0x114177(this[_0x269efc(0x2f6)][_0x269efc(0x305)][_0x269efc(0x231)](_0x5901a1(this[_0x269efc(0x23a)]))['subscribe'](_0x3288e7=>{const _0x2768fb=_0x269efc;if(_0x3288e7){this['_clearPopup']();return;}setTimeout(()=>this[_0x2768fb(0x26a)](),0x0);})));}[_0x420134(0x2ea)](){const _0x56633c=_0x420134;var _0x1f56fc;(_0x1f56fc=this[_0x56633c(0x278)])==null||_0x1f56fc[_0x56633c(0x1e5)](),this[_0x56633c(0x278)]=null,this[_0x56633c(0x2ae)]=null;}[_0x420134(0x2e9)](){setTimeout(()=>{this['_isPopupSelectionStillActive']()||this['_clearPopup']();},0x0);}['_isPopupSelectionStillActive'](){const _0x273145=_0x420134;let _0x22a45c=this['_elementStateService'][_0x273145(0x2c4)]();return!_0x22a45c[_0x273145(0x299)]||_0x22a45c['selectedIds'][_0x273145(0x23d)]!==0x1?!0x1:this[_0x273145(0x2ae)]===this[_0x273145(0x208)](_0x22a45c['context']['unitId'],_0x22a45c['context'][_0x273145(0x280)],_0x22a45c[_0x273145(0x212)][0x0]);}[_0x420134(0x208)](_0x1cd596,_0x1d0d9d,_0x5ed633){return _0x1cd596+':'+_0x1d0d9d+':'+_0x5ed633;}[_0x420134(0x26a)](){const _0x45ed38=_0x420134;if(this[_0x45ed38(0x2f6)][_0x45ed38(0x32f)]||this[_0x45ed38(0x26c)][_0x45ed38(0x17d)]()){this[_0x45ed38(0x2ea)]();return;}let _0x1353b9=this[_0x45ed38(0x1fc)][_0x45ed38(0x2c4)](),_0xc37d24=this[_0x45ed38(0x319)][_0x45ed38(0x2aa)]();if(_0x1353b9[_0x45ed38(0x166)]||_0xc37d24[_0x45ed38(0x320)]||_0xc37d24[_0x45ed38(0x222)]!==null&&_0xc37d24[_0x45ed38(0x222)]!==_0x3972cb[_0x45ed38(0x217)]||!_0x1353b9[_0x45ed38(0x299)]||_0x1353b9[_0x45ed38(0x299)][_0x45ed38(0x27a)]!==this['_renderContext'][_0x45ed38(0x27a)]||_0x1353b9[_0x45ed38(0x212)]['length']!==0x1||_0x1353b9[_0x45ed38(0x1db)]==null){this[_0x45ed38(0x2ea)]();return;}let _0x4f7ece=this[_0x45ed38(0x347)][_0x45ed38(0x2c7)](_0x1353b9[_0x45ed38(0x299)][_0x45ed38(0x27a)],_0x1353b9['context'][_0x45ed38(0x280)],_0x1353b9[_0x45ed38(0x1db)]);if(!_0x4f7ece||_0x4f7ece['element']['type']!==_0xbbe6aa[_0x45ed38(0x289)]){this[_0x45ed38(0x2ea)]();return;}let _0x55a9bb=this[_0x45ed38(0x220)](_0x4f7ece);if(!_0x55a9bb){this['_clearPopup']();return;}let _0x5a5348=this[_0x45ed38(0x208)](_0x4f7ece[_0x45ed38(0x27a)],_0x4f7ece[_0x45ed38(0x280)],_0x4f7ece[_0x45ed38(0x248)]);this[_0x45ed38(0x278)]&&this[_0x45ed38(0x2ae)]===_0x5a5348||(this[_0x45ed38(0x2ea)](),this['_popupDisposable']=this['disposeWithMe'](this[_0x45ed38(0x210)][_0x45ed38(0x229)](_0x4f7ece[_0x45ed38(0x27a)],_0x4f7ece[_0x45ed38(0x280)],_0x55a9bb,{'componentKey':Zn,'direction':_0x45ed38(0x35d),'offset':[0x0,0x24],'anchorBoundResolver':_0x36333a,'extraProps':{'unitId':_0x4f7ece['unitId'],'subUnitId':_0x4f7ece[_0x45ed38(0x280)],'elementId':_0x4f7ece['elementId'],'chartId':_0x4f7ece[_0x45ed38(0x157)][_0x45ed38(0x2f1)]}})),this[_0x45ed38(0x2ae)]=_0x5a5348);}[_0x420134(0x220)](_0x4b039c){const _0x5d9517=_0x420134;var _0x24e10b;let _0x301907=_0xce4805(_0x4b039c['unitId'],_0x4b039c[_0x5d9517(0x248)]),_0x1b07b2=this['_renderContext'][_0x5d9517(0x2b1)];return((_0x24e10b=_0x1b07b2['getObjectIncludeInGroup'])==null?void 0x0:_0x24e10b[_0x5d9517(0x202)](_0x1b07b2,_0x301907))??_0x1b07b2['getObject'](_0x301907)??null;}};nr=V([B(0x1,_0x562f55(_0x52e4c8)),B(0x2,_0x3c3318),B(0x3,_0x31d12a),B(0x4,_0x466b44),B(0x5,_0x562f55(H)),B(0x6,_0x562f55(_0x3acde6))],nr);let W=class extends _0x38bb52{constructor(_0xb4a5ac,_0x93282a,_0x53eb5d,_0x24dc7c,_0x4c5306,_0x2c05f2){const _0x9a8054=_0x420134;super(),this[_0x9a8054(0x31d)]=_0xb4a5ac,this[_0x9a8054(0x34a)]=_0x93282a,this['_boardElementService']=_0x53eb5d,this[_0x9a8054(0x1fc)]=_0x24dc7c,this['_uiStateService']=_0x4c5306,this['_editSessionService']=_0x2c05f2,z(this,_0x9a8054(0x1a7),!0x1),z(this,_0x9a8054(0x32d),null),this[_0x9a8054(0x1d9)]();}[_0x420134(0x1d9)](){const _0x168d9c=_0x420134;let {unitId:_0xc604f3}=this['_renderContext'],_0x1038cd=this[_0x168d9c(0x34a)][_0x168d9c(0x288)](_0xc604f3,_0x707cea[_0x168d9c(0x2e7)]);this['disposeWithMe'](_0x114177(()=>{const _0x3713eb=_0x168d9c;var _0x2f14db;return(_0x2f14db=this[_0x3713eb(0x32d)])==null?void 0x0:_0x2f14db[_0x3713eb(0x1e5)]();})),_0x1038cd&&(this['_scheduleAttachObjectDoubleClicks'](_0x1038cd),this[_0x168d9c(0x28f)](this[_0x168d9c(0x347)][_0x168d9c(0x199)][_0x168d9c(0x297)](_0x43fcb2=>{const _0x175dd2=_0x168d9c;_0x43fcb2['some'](_0x5c1698=>_0x5c1698[_0x175dd2(0x27a)]===_0xc604f3)&&this[_0x175dd2(0x345)](_0x1038cd);})),this[_0x168d9c(0x28f)](this[_0x168d9c(0x347)][_0x168d9c(0x2ce)][_0x168d9c(0x297)](_0x41037a=>{const _0x2cbc62=_0x168d9c;_0x41037a[_0x2cbc62(0x20b)](_0x1ca818=>_0x1ca818[_0x2cbc62(0x27a)]===_0xc604f3)&&this[_0x2cbc62(0x345)](_0x1038cd);})),this[_0x168d9c(0x28f)](this[_0x168d9c(0x347)][_0x168d9c(0x336)][_0x168d9c(0x297)](_0x4d25c7=>{const _0x1e8184=_0x168d9c;_0x4d25c7[_0x1e8184(0x20b)](_0x1bd4f5=>_0x1bd4f5[_0x1e8184(0x27a)]===_0xc604f3)&&this[_0x1e8184(0x345)](_0x1038cd);})),this['disposeWithMe'](this[_0x168d9c(0x1fc)]['state$'][_0x168d9c(0x297)](_0x508727=>{const _0x10801b=_0x168d9c;var _0x593571;((_0x593571=_0x508727[_0x10801b(0x299)])==null?void 0x0:_0x593571['unitId'])===_0xc604f3&&this[_0x10801b(0x345)](_0x1038cd);})));}['_scheduleAttachObjectDoubleClicks'](_0x38a777){const _0x4f0438=_0x420134;this['_attachScheduled']||(this[_0x4f0438(0x1a7)]=!0x0,Promise[_0x4f0438(0x296)]()[_0x4f0438(0x29e)](()=>this['_attachObjectDoubleClicks'](_0x38a777)));}['_attachObjectDoubleClicks'](_0x55111e){const _0x117531=_0x420134;var _0x3a7b7a;this[_0x117531(0x1a7)]=!0x1;let {scene:_0x2eb75e,unitId:_0x267efd}=this[_0x117531(0x31d)],_0x1f7888=_0x55111e['getActivePageId'](),_0x5a662c=this[_0x117531(0x347)][_0x117531(0x2cf)](_0x267efd,_0x1f7888),_0x251c45=new _0x23bb89();(_0x3a7b7a=this['_objectDblclickDisposables'])==null||_0x3a7b7a[_0x117531(0x1e5)](),this[_0x117531(0x32d)]=_0x251c45,_0x5a662c[_0x117531(0x1f1)](_0x36ef21=>{const _0x3fdf08=_0x117531;var _0x3bf882;let _0x4515a3=this['_boardElementService'][_0x3fdf08(0x2c7)](_0x267efd,_0x1f7888,_0x36ef21);if(!_0x4515a3||_0x4515a3[_0x3fdf08(0x157)][_0x3fdf08(0x304)]!==_0xbbe6aa['Chart'])return;let _0x384a04=_0xce4805(_0x267efd,_0x36ef21),_0x2e8b55=((_0x3bf882=_0x2eb75e[_0x3fdf08(0x175)])==null?void 0x0:_0x3bf882['call'](_0x2eb75e,_0x384a04))??_0x2eb75e[_0x3fdf08(0x28a)](_0x384a04);_0x2e8b55&&_0x251c45[_0x3fdf08(0x1c3)](_0x114177(_0x2e8b55['onDblclick$'][_0x3fdf08(0x21f)]((_0x2ba37e,_0x4251e7)=>{this['_openEditSession'](_0x4515a3,_0x2ba37e,_0x4251e7);})));});}[_0x420134(0x204)](_0x599000,_0x4cbae9,_0xc4a70e){const _0x18c83=_0x420134;var _0x1a4bdf;if(this[_0x18c83(0x319)][_0x18c83(0x2aa)]()[_0x18c83(0x320)]||this[_0x18c83(0x1fc)]['getSnapshot']()[_0x18c83(0x166)]||_0x599000[_0x18c83(0x157)]['type']!==_0xbbe6aa[_0x18c83(0x289)])return;let _0xbb3623={'unitId':_0x599000[_0x18c83(0x27a)],'subUnitId':_0x599000['subUnitId']};this['_elementStateService'][_0x18c83(0x2c5)](_0xbb3623,[_0x599000[_0x18c83(0x248)]],_0x599000['elementId']),this[_0x18c83(0x1fc)]['setFocusedSwimlaneLane'](_0xbb3623,null),this['_editSessionService'][_0x18c83(0x279)]({'chartId':_0x599000['element'][_0x18c83(0x2f1)],'elementId':_0x599000[_0x18c83(0x248)],'source':_0x18c83(0x1a2),'subUnitId':_0x599000[_0x18c83(0x280)],'unitId':_0x599000[_0x18c83(0x27a)]}),_0xc4a70e&&(_0xc4a70e[_0x18c83(0x1d2)]=!0x0),_0x4cbae9==null||(_0x1a4bdf=_0x4cbae9[_0x18c83(0x314)])==null||_0x1a4bdf[_0x18c83(0x202)](_0x4cbae9);}};W=V([B(0x1,_0xd96f74),B(0x2,_0x3c3318),B(0x3,_0x31d12a),B(0x4,_0x466b44),B(0x5,_0x562f55(H))],W);let G=class extends _0x37367c{constructor(_0x10ba7a,_0x120fde,_0x17d811){const _0x477c82=_0x420134;super(),this['_resourceService']=_0x10ba7a,this[_0x477c82(0x19b)]=_0x120fde,this[_0x477c82(0x1b4)]=_0x17d811;}[_0x420134(0x144)](_0x18cf3c,_0x10f3cd){const _0x681337=_0x420134;let _0x2c4da3=this[_0x681337(0x286)]['getChart'](_0x18cf3c,_0x10f3cd),_0x6b6e9e=_0x2c4da3?this[_0x681337(0x286)][_0x681337(0x1e4)](_0x18cf3c,_0x2c4da3[_0x681337(0x1bc)]):void 0x0;return!_0x2c4da3||!_0x6b6e9e?null:{'chartId':_0x10f3cd,'chartType':_0x2c4da3['chartType'],'dataSource':_0x6b6e9e,'sharingCount':this[_0x681337(0x286)][_0x681337(0x14c)](_0x18cf3c,_0x6b6e9e['id']),'unitId':_0x18cf3c};}async[_0x420134(0x2da)](_0x1d6c43){const _0x235786=_0x420134;var _0x2ecb99;if(!this['getDataEditState'](_0x1d6c43[_0x235786(0x27a)],_0x1d6c43[_0x235786(0x2f1)])||_0x1d6c43[_0x235786(0x2e8)][_0x235786(0x23d)]===0x0)return!0x1;let _0x206a01=(_0x2ecb99=this[_0x235786(0x286)][_0x235786(0x25d)](_0x1d6c43[_0x235786(0x27a)],_0x1d6c43[_0x235786(0x2f1)]))==null?void 0x0:_0x2ecb99[_0x235786(0x1ea)];if(_0x206a01===void 0x0)return!0x1;let _0x4c3cb0=_0x1be431(_0x206a01,_0x1d6c43[_0x235786(0x2e8)]);if(!_0x4c3cb0['ok'])return!0x1;let _0x213b73=await this[_0x235786(0x1ae)](_0x1d6c43[_0x235786(0x27a)],_0x1d6c43[_0x235786(0x2f1)],{'values':_0x4c3cb0[_0x235786(0x2e8)]});return _0x213b73&&this[_0x235786(0x19b)][_0x235786(0x164)](_0x1d6c43[_0x235786(0x27a)],_0x1d6c43[_0x235786(0x2f1)]),!!_0x213b73;}['changeDataSource'](_0x434080,_0x24eb47,_0x58b4fc){const _0x6b2d3a=_0x420134;return this['_commandService'][_0x6b2d3a(0x29c)](_0x479239['id'],{'unitId':_0x434080,'chartId':_0x24eb47,'dataSource':_0x58b4fc});}};G=V([B(0x0,_0x562f55(_0x8c60)),B(0x1,_0x562f55(_0x19fb9a)),B(0x2,_0x1fe324)],G);const rr=_0x420134(0x2ca);function ir(_0x480c24){const _0x3c854b=_0x420134;let _0xee0574=_0x30d157(G),_0x59e778=_0x30d157(_0x9e1c11),_0x24edc7=_0xee0574[_0x3c854b(0x144)](_0x480c24[_0x3c854b(0x27a)],_0x480c24[_0x3c854b(0x2f1)]),[_0x5c816d,_0x434953]=_0x52cd5f(()=>_0x2877eb(_0x24edc7==null?void 0x0:_0x24edc7[_0x3c854b(0x350)])?_0x24edc7['dataSource']['values'][_0x3c854b(0x21c)](_0xf77431=>[..._0xf77431]):[]),[_0x1b9afd,_0x12c69b]=_0x52cd5f(()=>_0x191f31(_0x24edc7==null?void 0x0:_0x24edc7[_0x3c854b(0x350)])?_0x3c854b(0x294):_0x3c854b(0x34f)),[_0x50c5e2,_0x1904b1]=_0x52cd5f(null),[_0x3baecd,_0x2416bf]=_0x52cd5f(null),_0x19c047={[_0x2f8c65[_0x3c854b(0x1c5)]]:_0x59e778['t'](_0x3c854b(0x354)),[_0x2f8c65[_0x3c854b(0x14d)]]:_0x59e778['t'](_0x3c854b(0x2d9)),[_0x2f8c65[_0x3c854b(0x24d)]]:_0x59e778['t'](_0x3c854b(0x20e))};if(!_0x24edc7)return _0x4c0ab2(_0x3c854b(0x34d),{'className':_0x3c854b(0x1ab),'children':_0x59e778['t'](_0x3c854b(0x142))});let _0x8a27c7=async _0x1623c6=>{const _0x5c2c35=_0x3c854b;var _0x498d83;if(_0x1b9afd===_0x5c2c35(0x294)){var _0x9c9284;if(!_0x50c5e2)return;if(!await _0xee0574[_0x5c2c35(0x1ae)](_0x480c24[_0x5c2c35(0x27a)],_0x480c24[_0x5c2c35(0x2f1)],_0x50c5e2)){_0x2416bf(_0x59e778['t'](_0x5c2c35(0x218)));return;}_0x2416bf(null),(_0x9c9284=_0x480c24[_0x5c2c35(0x190)])==null||_0x9c9284[_0x5c2c35(0x202)](_0x480c24);return;}let _0x131fd7=_0x1be431(_0x24edc7[_0x5c2c35(0x1ea)],_0x5c816d);if(!_0x131fd7['ok']){_0x2416bf(_0x19c047[_0x131fd7[_0x5c2c35(0x193)][_0x5c2c35(0x22f)]]);return;}if(!await _0xee0574['updateDataForChart']({'chartId':_0x480c24[_0x5c2c35(0x2f1)],'name':_0x24edc7[_0x5c2c35(0x350)][_0x5c2c35(0x255)],'unitId':_0x480c24[_0x5c2c35(0x27a)],'updateShared':_0x1623c6,'values':_0x131fd7['values']})){_0x2416bf(_0x59e778['t']('boards-chart-ui.dataEditor.updateFailed'));return;}_0x2416bf(null),(_0x498d83=_0x480c24[_0x5c2c35(0x190)])==null||_0x498d83[_0x5c2c35(0x202)](_0x480c24);};return _0x5b5190(_0x3c854b(0x34d),{'className':_0x3c854b(0x285),'children':[_0x4c0ab2(_0x450ca6,{'mode':_0x1b9afd,'initialSource':_0x191f31(_0x24edc7[_0x3c854b(0x350)])?_0x24edc7[_0x3c854b(0x350)][_0x3c854b(0x141)]:void 0x0,'inlineContent':_0x4c0ab2(_0x34964e,{'values':_0x5c816d,'parsePastedText':_0x1e6e18,'onChange':_0x434953}),'onModeChange':_0x202201=>{_0x12c69b(_0x202201),_0x1904b1(null);},'onPreviewChange':(_0x71f4fe,_0x773d08)=>_0x1904b1(_0x71f4fe&&_0x773d08['status']===_0x2b2838['READY']?{'source':_0x71f4fe}:null)}),_0x3baecd&&_0x4c0ab2('div',{'className':_0x3c854b(0x2ba),'children':_0x3baecd}),_0x5b5190('div',{'className':_0x3c854b(0x25a),'children':[_0x480c24[_0x3c854b(0x190)]&&_0x4c0ab2(_0x413d0f,{'type':_0x3c854b(0x21b),'variant':_0x3c854b(0x1a8),'onClick':_0x480c24[_0x3c854b(0x190)],'children':_0x59e778['t']('boards-chart-ui.common.cancel')}),_0x4c0ab2(_0x413d0f,{'type':_0x3c854b(0x21b),'variant':'primary','disabled':_0x1b9afd===_0x3c854b(0x294)&&!_0x50c5e2,'onClick':()=>_0x8a27c7(!0x0),'children':_0x59e778['t'](_0x3c854b(0x33f))})]})]});}const ar={'id':_0x420134(0x339),'type':_0x3d6f82['OPERATION'],'handler':(_0x3fe2b2,_0x35ba63)=>{const _0x52936d=_0x420134;if(!_0x35ba63||!_0x3fe2b2[_0x52936d(0x239)](G)[_0x52936d(0x144)](_0x35ba63['unitId'],_0x35ba63[_0x52936d(0x2f1)])||!_0x3fe2b2[_0x52936d(0x239)](_0x1af51d)[_0x52936d(0x239)](_0x52936d(0x2ca)))return!0x1;let _0x32fe5d=_0x3fe2b2[_0x52936d(0x239)](_0x223c84),_0x33d508=_0x3fe2b2[_0x52936d(0x239)](_0x9e1c11),_0x52c759=null,_0x139068=()=>{const _0xaf1eb0=_0x52936d;_0x52c759==null||_0x52c759[_0xaf1eb0(0x1e5)](),_0x52c759=null;};return _0x52c759=_0x32fe5d[_0x52936d(0x279)]({'id':'board-chart.dialog.data-editor','title':{'title':_0x33d508['t'](_0x52936d(0x2d2))},'width':_0x52936d(0x25f),'draggable':!0x1,'mask':!0x0,'maskClosable':!0x1,'children':{'label':{'name':rr,'props':{..._0x35ba63,'onClose':_0x139068}}},'onClose':_0x139068}),!0x0;}},or='board-chart.edit-panel',K={'axis':{..._0x55330d,'primaryGridLineVisible':!0x1,'secondaryGridLineVisible':!0x0},'legend':_0x56644b,'lineAndArea':_0x475e1f,'pareto':_0x523a9d,'funnel':_0x18ae83,'heatmap':_0x5685b8,'indicatorLine':_0x39bc3c,'pie':{..._0x292158,'doughnutHole':0x0,'pieHole':0x0},'relation':{..._0x132015,'useValueAsSymbolSize':!0x0},'radar':_0x33566e,'series':{..._0x15e876,'radarFillOpacity':0x1,'rightAxis':{'ltr':!0x1,'rtl':!0x1}},'style':_0x420a41,'titles':_0x1b2173,'trendline':_0x4ef68a,'waterfall':{..._0x3ba343,'useSubtotal':!0x1},'waterfallStyle':_0x2929dc,'wordCloud':_0xe8319e},sr=[_0x1f8f85[_0x420134(0x2a2)],_0x1f8f85[_0x420134(0x25c)],_0x1f8f85[_0x420134(0x14b)],_0x1f8f85[_0x420134(0x25b)],_0x1f8f85[_0x420134(0x2ec)],_0x1f8f85['Sankey'],_0x1f8f85[_0x420134(0x154)],_0x1f8f85[_0x420134(0x183)],_0x1f8f85[_0x420134(0x307)],_0x1f8f85['Histogram'],_0x1f8f85[_0x420134(0x1d6)],_0x1f8f85[_0x420134(0x168)],_0x1f8f85[_0x420134(0x33b)],_0x1f8f85[_0x420134(0x33d)]];function cr(_0x3fef12){const _0x1dccf9=_0x420134;let _0x51d35b=_0x30d157(_0x9e1c11);return _0x5b5190('div',{'children':[_0x4c0ab2(_0x3c486f,{'title':_0x51d35b['t']('boards-chart-ui.common.data')}),_0x4c0ab2(_0x413d0f,{'type':_0x1dccf9(0x21b),'variant':_0x1dccf9(0x1a8),'className':_0x1dccf9(0x34c),'onClick':_0x3fef12[_0x1dccf9(0x293)],'children':_0x51d35b['t'](_0x1dccf9(0x2d2))})]});}function lr(){const _0x13a9ea=_0x420134;let _0x37f664=_0xf3075c();return _0x4c0ab2(_0x4b623f,{'visible':sr[_0x13a9ea(0x322)](_0xfd1de8=>!_0x57039c['baseOn'](_0x37f664,_0xfd1de8))});}function ur(_0x46f9ac){const _0x526817=_0x420134;return _0x5b5190(_0x1c4444,{'id':_0x46f9ac['id'],'children':[_0x4c0ab2(_0x16cc65,{'children':_0x46f9ac[_0x526817(0x1c6)]}),_0x4c0ab2(_0x3be325,{'children':_0x46f9ac[_0x526817(0x251)]})]});}function dr(_0x1bff27,_0x511105){const _0x28166c=_0x420134;let _0x100322=_0x1bff27===_0x1f8f85[_0x28166c(0x14b)],_0x290c3c=_0x57039c['baseOn'](_0x1bff27,_0x1f8f85['Bubble']),_0x1e842e=_0x1bff27===_0x1f8f85[_0x28166c(0x151)],_0x28bd5d=_0x1bff27===_0x1f8f85[_0x28166c(0x2ec)],_0x3a9dbd=_0x1bff27===_0x1f8f85[_0x28166c(0x154)],_0x4a6bb1=_0x57039c[_0x28166c(0x2d4)](_0x1bff27,_0x1f8f85['Pie']),_0x3ad990=_0x1bff27===_0x1f8f85[_0x28166c(0x25c)],_0x22cfcf=_0x1bff27===_0x1f8f85[_0x28166c(0x20f)],_0x5eacf3=_0x1bff27===_0x1f8f85[_0x28166c(0x16b)],_0xc86b1b=_0x1bff27===_0x1f8f85[_0x28166c(0x307)],_0x6e2ebd=_0x1bff27===_0x1f8f85['Histogram'],_0x4ff1bb=_0x1bff27===_0x1f8f85[_0x28166c(0x1d6)],_0xbf366c=_0x1bff27===_0x1f8f85['Sunburst'],_0x307438=_0x1bff27===_0x1f8f85[_0x28166c(0x33b)],_0x43df5b=_0x1bff27===_0x1f8f85[_0x28166c(0x33d)],_0x3c9395=[_0x4c33db[_0x28166c(0x15a)],_0x4c33db[_0x28166c(0x173)]];return _0x100322&&_0x3c9395['push'](_0x4c33db[_0x28166c(0x14b)]),_0x57d0f8(_0x1bff27,_0x1f3daa[_0x28166c(0x32c)])&&!_0x290c3c&&!_0x5eacf3&&_0x3c9395[_0x28166c(0x2b9)](_0x4c33db['Series']),_0x22cfcf&&_0x3c9395[_0x28166c(0x2b9)](_0x4c33db[_0x28166c(0x272)]),_0x5eacf3&&_0x3c9395[_0x28166c(0x2b9)](_0x4c33db[_0x28166c(0x245)],_0x4c33db[_0x28166c(0x15c)]),_0x4a6bb1&&_0x3c9395[_0x28166c(0x2b9)](_0x4c33db[_0x28166c(0x15f)]),_0x3ad990&&_0x3c9395[_0x28166c(0x2b9)](_0x4c33db[_0x28166c(0x25c)]),_0x1e842e&&_0x3c9395[_0x28166c(0x2b9)](_0x4c33db[_0x28166c(0x151)]),_0x3a9dbd&&_0x3c9395['push'](_0x4c33db[_0x28166c(0x154)]),_0x28bd5d&&_0x3c9395['push'](_0x4c33db['Relation']),_0x34ddfc(_0x1bff27)&&_0x3c9395[_0x28166c(0x2b9)](_0x4c33db[_0x28166c(0x31b)]),_0x57d0f8(_0x1bff27,_0x1f3daa[_0x28166c(0x1f0)])&&_0x3c9395['push'](_0x4c33db['Legend']),_0x57d0f8(_0x1bff27,_0x1f3daa[_0x28166c(0x344)])&&(_0x3c9395[_0x28166c(0x2b9)](_0x4c33db[_0x28166c(0x2e4)],_0x4c33db[_0x28166c(0x1fe)]),_0x511105&&_0x3c9395[_0x28166c(0x2b9)](_0x4c33db[_0x28166c(0x329)]),_0x3c9395[_0x28166c(0x2b9)](_0x4c33db[_0x28166c(0x227)])),_0x57d0f8(_0x1bff27,_0x1f3daa[_0x28166c(0x2b3)])&&_0x3c9395[_0x28166c(0x2b9)](_0x4c33db[_0x28166c(0x2b3)]),_0x3bcf6e(_0x1bff27)&&_0x3c9395[_0x28166c(0x2b9)](_0x4c33db[_0x28166c(0x2e0)]),_0xc86b1b&&_0x3c9395[_0x28166c(0x2b9)](_0x4c33db['Candlestick']),_0x6e2ebd&&_0x3c9395[_0x28166c(0x2b9)](_0x4c33db[_0x28166c(0x169)]),_0x4ff1bb&&_0x3c9395['push'](_0x4c33db[_0x28166c(0x1d6)]),_0xbf366c&&_0x3c9395['push'](_0x4c33db['Sunburst']),_0x307438&&_0x3c9395['push'](_0x4c33db[_0x28166c(0x33b)]),_0x43df5b&&_0x3c9395[_0x28166c(0x2b9)](_0x4c33db['Chord']),_0x3c9395;}function fr(_0x179b97){const _0x3f708a=_0x420134;var _0xc0dc55,_0x5aec46,_0x562415;let _0x2a8c7e=_0x30d157(_0x9e1c11),_0x2740ff=_0xf3075c(),_0x3118ba=_0x32edde(),[_0x227105,_0x19584c]=_0x52cd5f(null),_0x44ae9c=dr(_0x2740ff,_0x3118ba),_0x19deec=_0x4c0ab2(_0x1f5610,{}),_0x1f668a={[_0x4c33db[_0x3f708a(0x307)]]:_0x2a8c7e['t']('boards-chart-ui.section.candlestick'),[_0x4c33db[_0x3f708a(0x173)]]:_0x2a8c7e['t'](_0x3f708a(0x29f)),[_0x4c33db[_0x3f708a(0x15a)]]:_0x2a8c7e['t'](_0x3f708a(0x26e)),[_0x4c33db[_0x3f708a(0x33d)]]:_0x2a8c7e['t'](_0x3f708a(0x209)),[_0x4c33db[_0x3f708a(0x151)]]:_0x2a8c7e['t'](_0x3f708a(0x1f4)),[_0x4c33db[_0x3f708a(0x33b)]]:_0x2a8c7e['t'](_0x3f708a(0x23e)),[_0x4c33db['GridlinesAndTicks']]:_0x2a8c7e['t'](_0x3f708a(0x19d)),[_0x4c33db[_0x3f708a(0x154)]]:_0x2a8c7e['t'](_0x3f708a(0x26f)),[_0x4c33db[_0x3f708a(0x169)]]:_0x2a8c7e['t'](_0x3f708a(0x31a)),[_0x4c33db['HorizontalAxis']]:_0x2a8c7e['t'](_0x3f708a(0x1ed)),[_0x4c33db[_0x3f708a(0x2b3)]]:_0x2a8c7e['t']('boards-chart-ui.section.indicatorLine'),[_0x4c33db[_0x3f708a(0x1f0)]]:_0x2a8c7e['t'](_0x3f708a(0x35c)),[_0x4c33db['LineAndArea']]:_0x2a8c7e['t'](_0x3f708a(0x189)),[_0x4c33db[_0x3f708a(0x245)]]:_0x2a8c7e['t'](_0x3f708a(0x303)),[_0x4c33db[_0x3f708a(0x15c)]]:_0x2a8c7e['t']('boards-chart-ui.section.paretoLine'),[_0x4c33db[_0x3f708a(0x15f)]]:_0x2a8c7e['t'](_0x3f708a(0x327)),[_0x4c33db[_0x3f708a(0x25c)]]:_0x2a8c7e['t']('boards-chart-ui.section.radar'),[_0x4c33db[_0x3f708a(0x2ec)]]:_0x2a8c7e['t'](_0x3f708a(0x2f7)),[_0x4c33db[_0x3f708a(0x329)]]:_0x2a8c7e['t']('boards-chart-ui.common.rightVerticalAxis'),[_0x4c33db[_0x3f708a(0x1f9)]]:_0x2a8c7e['t'](_0x3f708a(0x313)),[_0x4c33db[_0x3f708a(0x168)]]:_0x2a8c7e['t']('boards-chart-ui.section.sunburst'),[_0x4c33db[_0x3f708a(0x1d6)]]:_0x2a8c7e['t'](_0x3f708a(0x2a9)),[_0x4c33db[_0x3f708a(0x2e0)]]:_0x2a8c7e['t'](_0x3f708a(0x261)),[_0x4c33db[_0x3f708a(0x1fe)]]:_0x2a8c7e['t'](_0x3f708a(0x348)),[_0x4c33db[_0x3f708a(0x272)]]:_0x2a8c7e['t'](_0x3f708a(0x2c0)),[_0x4c33db['WordCloud']]:_0x2a8c7e['t'](_0x3f708a(0x1f5))};_0xe8772c(()=>{const _0x177091=_0x3f708a;var _0x191bb8;(_0x191bb8=_0x179b97[_0x177091(0x2af)])!=null&&_0x191bb8[_0x177091(0x2fc)]&&_0x19584c(_0x179b97[_0x177091(0x2af)][_0x177091(0x2fc)]);},[_0x179b97[_0x3f708a(0x2af)]]);let _0x21c454={[_0x4c33db[_0x3f708a(0x15a)]]:_0x4c0ab2(_0x243fc2,{'defaultValues':K[_0x3f708a(0x2c6)],'showBodyFont':!0x0}),[_0x4c33db[_0x3f708a(0x173)]]:_0x4c0ab2(_0x55db44,{'commitMode':_0x3f708a(0x1f8),'defaultValues':K['titles'],'selectedTitleKey':(_0xc0dc55=_0x179b97[_0x3f708a(0x2af)])==null?void 0x0:_0xc0dc55[_0x3f708a(0x140)]}),[_0x4c33db[_0x3f708a(0x1f9)]]:_0x5b5190(_0x1298fb,{'defaultValues':K['series'],'NumberFormatField':_0x3b55de,'selectedSeriesId':(_0x5aec46=_0x179b97[_0x3f708a(0x2af)])==null?void 0x0:_0x5aec46[_0x3f708a(0x24f)],'children':[_0x4c0ab2(_0x58fc41,{}),_0x4c0ab2(_0x44ffa0,{'individualOnly':!0x0}),_0x4c0ab2(_0x31bfcd,{}),_0x4c0ab2(_0x1e885e,{}),_0x4c0ab2(_0x1521ac,{}),_0x4c0ab2(_0x9473e9,{}),_0x4c0ab2(_0x491b26,{}),_0x4c0ab2(_0x14fec3,{})]}),[_0x4c33db[_0x3f708a(0x272)]]:_0x4c0ab2(_0xc5b822,{'defaultValues':K['waterfallStyle'],'NumberFormatField':_0x3b55de,'selectedSeriesId':(_0x562415=_0x179b97[_0x3f708a(0x2af)])==null?void 0x0:_0x562415[_0x3f708a(0x24f)],'showBucketName':()=>!0x0}),[_0x4c33db['ParetoBarSeries']]:_0x4c0ab2(_0x34ddb7,{'defaultValues':K[_0x3f708a(0x1ef)],'NumberFormatField':_0x3b55de,'showDataPointEditor':!0x0,'target':_0x3f708a(0x2b5)}),[_0x4c33db['ParetoLineSeries']]:_0x4c0ab2(_0x34ddb7,{'defaultValues':K[_0x3f708a(0x1ef)],'NumberFormatField':_0x3b55de,'showDataPointEditor':!0x0,'target':_0x3f708a(0x14a)}),[_0x4c33db[_0x3f708a(0x15f)]]:_0x4c0ab2(_0x3b6e06,{'defaultValues':K[_0x3f708a(0x198)],'NumberFormatField':_0x3b55de}),[_0x4c33db[_0x3f708a(0x14b)]]:_0x5b5190(_0x347c60,{'children':[_0x4c0ab2(_0x54123c,{'defaultValues':K['wordCloud']}),_0x4c0ab2(_0x364feb,{}),_0x4c0ab2(_0x2d7381,{'defaultValues':K[_0x3f708a(0x1cc)]})]}),[_0x4c33db[_0x3f708a(0x25c)]]:_0x4c0ab2(_0x2c7bb8,{'defaultValues':K['radar']}),[_0x4c33db[_0x3f708a(0x151)]]:_0x4c0ab2(_0x245efb,{'defaultValues':K['funnel'],'gapControl':'number'}),[_0x4c33db[_0x3f708a(0x154)]]:_0x4c0ab2(_0x43dcb2,{'defaultValues':K[_0x3f708a(0x26d)]}),[_0x4c33db['Relation']]:_0x4c0ab2(_0x1efc18,{'defaultValues':K['relation']}),[_0x4c33db[_0x3f708a(0x31b)]]:_0x4c0ab2(_0x4a1c62,{'defaultValues':K[_0x3f708a(0x318)],'lineStyleControl':_0x3f708a(0x284)}),[_0x4c33db[_0x3f708a(0x1f0)]]:_0x4c0ab2(_0xcb1ed,{'defaultValues':K[_0x3f708a(0x1fd)]}),[_0x4c33db[_0x3f708a(0x2e4)]]:_0x4c0ab2(_0x3bce50,{'axis':'x','defaultValues':K[_0x3f708a(0x1c9)],'NumberFormatField':_0x3b55de}),[_0x4c33db[_0x3f708a(0x1fe)]]:_0x4c0ab2(_0x3bce50,{'axis':'y','defaultValues':K[_0x3f708a(0x1c9)],'NumberFormatField':_0x3b55de}),[_0x4c33db[_0x3f708a(0x329)]]:_0x4c0ab2(_0x3bce50,{'axis':_0x3f708a(0x34e),'defaultValues':K[_0x3f708a(0x1c9)],'NumberFormatField':_0x3b55de}),[_0x4c33db[_0x3f708a(0x227)]]:_0x4c0ab2(_0x38be78,{'defaultValues':K['axis']}),[_0x4c33db[_0x3f708a(0x2b3)]]:_0x4c0ab2(_0x2ec339,{'defaultValues':K[_0x3f708a(0x2dd)]}),[_0x4c33db[_0x3f708a(0x2e0)]]:_0x4c0ab2(_0x331351,{'defaultValues':K['trendline']}),[_0x4c33db['Candlestick']]:_0x19deec,[_0x4c33db['Histogram']]:_0x19deec,[_0x4c33db['Treemap']]:_0x19deec,[_0x4c33db['Sunburst']]:_0x19deec,[_0x4c33db['Gauge']]:_0x19deec,[_0x4c33db[_0x3f708a(0x33d)]]:_0x19deec};return _0x4c0ab2(_0x533994,{'value':_0x227105,'onChange':_0x19584c,'children':_0x44ae9c[_0x3f708a(0x21c)](_0xbb7021=>_0x4c0ab2(ur,{'id':_0xbb7021,'label':_0x1f668a[_0xbb7021],'children':_0x21c454[_0xbb7021]},_0xbb7021))});}function pr({unitId:_0x1f3763,subUnitId:_0x48df5a,elementId:_0x2de088,chartId:_0x4726f4}){const _0x5469b1=_0x420134;let _0x15c5a6=_0x30d157(_0x19fb9a),_0x22bb37=_0x30d157(U),_0x151ac4=_0x30d157(_0x9e1c11),_0x1bb29c=_0x30d157(_0x1fe324),_0xf249b7=_0x30d157(_0xd63000),_0x588159=_0x30d157(_0xd96f74),_0x2031b5=_0x30d157(H),_0x34aebc=_0x265074(_0x15c5a6['activeRuntimeModel$'],_0x15c5a6[_0x5469b1(0x163)]),_0x1080ef=_0x265074(_0x2031b5['activeSession$'],_0x2031b5['getActiveSession']()),[_0x2680f2,_0x445c4e]=_0x52cd5f(_0x2d4b13[_0x5469b1(0x311)]),_0x310eae=(_0x1080ef==null?void 0x0:_0x1080ef[_0x5469b1(0x27a)])===_0x1f3763&&_0x1080ef[_0x5469b1(0x2f1)]===_0x4726f4&&_0x1080ef[_0x5469b1(0x248)]===_0x2de088?_0x1080ef['route']:void 0x0;_0xe8772c(()=>{const _0x4ff9cf=_0x5469b1;_0x15c5a6[_0x4ff9cf(0x263)](_0x1f3763,_0x4726f4);},[_0x4726f4,_0x15c5a6,_0x1f3763]),_0xe8772c(()=>{const _0x40948c=_0x5469b1;_0x310eae!=null&&_0x310eae[_0x40948c(0x14e)]&&_0x445c4e(_0x310eae[_0x40948c(0x14e)]);},[_0x310eae]);let _0x12e347=(_0x34aebc==null?void 0x0:_0x34aebc['unitId'])===_0x1f3763&&_0x34aebc[_0x5469b1(0x2f1)]===_0x4726f4,_0x5dcc66=_0x3b7d38(()=>{const _0x390475=_0x5469b1;if(!_0x12e347)return null;let _0x10b846=_0x588159[_0x390475(0x288)](_0x1f3763,_0x707cea[_0x390475(0x2e7)]);return _0x10b846?new _0x1cfdd3(_0x34aebc[_0x390475(0x271)],new _0x4f64a2({'unitId':_0x1f3763,'pageId':_0x48df5a,'chartId':_0x4726f4,'elementId':_0x2de088,'boardModel':_0x10b846,'injector':_0xf249b7})):null;},[_0x34aebc,_0x4726f4,_0x2de088,_0xf249b7,_0x12e347,_0x48df5a,_0x1f3763,_0x588159]),_0x103dde=_0x3b7d38(()=>_0x5e7700(_0x41a22e['map'](_0x4f6b1c=>({..._0x4f6b1c,'label':_0x151ac4['t'](_0x5469b1(0x262)+_0x4f6b1c[_0x5469b1(0x1a5)])}))),[_0x151ac4]);return!_0x12e347||!_0x5dcc66?null:_0x4c0ab2(_0x38d517,{'chartUIService':_0x22bb37,'hostAdapter':_0x5dcc66,'children':_0x5b5190('div',{'className':_0x5469b1(0x323),'children':[_0x4c0ab2(_0x3f4560,{'ariaLabel':_0x151ac4['t'](_0x5469b1(0x205)),'className':'univer-shrink-0\x20univer-px-3','items':[{'label':_0x151ac4['t'](_0x5469b1(0x2dc)),'panelId':mr,'value':_0x2d4b13[_0x5469b1(0x311)]},{'label':_0x151ac4['t'](_0x5469b1(0x219)),'panelId':hr,'value':_0x2d4b13['Style']}],'value':_0x2680f2,'onChange':_0x445c4e}),_0x2680f2===_0x2d4b13[_0x5469b1(0x311)]?_0x4c0ab2(_0x1e07c3,{'id':mr,'label':_0x151ac4['t'](_0x5469b1(0x2dc)),'children':_0x5b5190('div',{'className':_0x5469b1(0x33e),'children':[_0x4c0ab2(_0xb03ed8,{'options':_0x103dde}),_0x4c0ab2(_0x5cba48,{}),_0x4c0ab2(_0x6ad40f,{}),_0x4c0ab2(lr,{}),_0x4c0ab2(_0x4cb525,{}),_0x4c0ab2(cr,{'onEditData':()=>_0x1bb29c[_0x5469b1(0x29c)](ar['id'],{'unitId':_0x1f3763,'chartId':_0x4726f4})}),_0x4c0ab2(_0x4f7120,{'orientationControl':_0x4c0ab2(_0x413d0f,{'size':'small','onClick':()=>_0x22bb37[_0x5469b1(0x16d)]({'patch':{'context':{'orient':_0x34aebc[_0x5469b1(0x141)][_0x5469b1(0x1a1)]?_0x5469b1(0x300):_0x5469b1(0x1bb)}}}),'children':_0x151ac4['t'](_0x5469b1(0x2fd))})}),_0x4c0ab2(_0x12a344,{}),_0x4c0ab2(_0x1df86c,{'defaultValues':K[_0x5469b1(0x1bf)]})]})}):_0x4c0ab2(_0x1e07c3,{'id':hr,'label':_0x151ac4['t']('boards-chart-ui.common.customize'),'children':_0x4c0ab2(fr,{'route':_0x310eae})})]})});}const mr=_0x420134(0x2be),hr=_0x420134(0x2bf),gr=_0x40ee15,_r=_0x24da85;function vr(_0x26dc89){const _0x16a93e=_0x420134;var _0x38a48d,_0x197c8d;let _0x2a1d5f=_0x26dc89[_0x16a93e(0x1da)]??{},_0x36b99f=_0x2a1d5f['borderWidth']===0x0?0x0:xr(_0x2a1d5f[_0x16a93e(0x1ca)],xr((_0x38a48d=_0x26dc89['chartElement'])==null||(_0x38a48d=_0x38a48d['stroke'])==null?void 0x0:_0x38a48d[_0x16a93e(0x22a)],0x1));return{'fill':_0x26dc89[_0x16a93e(0x33c)]??_0x2a1d5f[_0x16a93e(0x145)]??_0x5723a7[_0x16a93e(0x145)],'stroke':_0x2a1d5f[_0x16a93e(0x343)]??((_0x197c8d=_0x26dc89[_0x16a93e(0x23c)])==null||(_0x197c8d=_0x197c8d[_0x16a93e(0x28c)])==null?void 0x0:_0x197c8d[_0x16a93e(0x31c)])??_0x26dc89['themeBorderColor']??(_0x26dc89[_0x16a93e(0x2a0)]?_0x16a93e(0x269):gr),'strokeWidth':_0x36b99f,'radius':_r};}function yr(_0x3371c6,_0x181443){const _0x18e509=_0x420134;let _0x293a81=Math[_0x18e509(0x331)](0x0,_0x181443[_0x18e509(0x1b9)]);return{'left':_0x293a81,'top':_0x293a81,'width':Math[_0x18e509(0x331)](0x1,_0x3371c6[_0x18e509(0x22a)]-_0x293a81*0x2),'height':Math[_0x18e509(0x331)](0x1,_0x3371c6[_0x18e509(0x233)]-_0x293a81*0x2)};}function br(_0x4380c9,_0x5806f1){const _0x595aa9=_0x420134;let _0x20c69b=-0x1/0x2;return{'left':_0x20c69b,'top':_0x20c69b,'width':Math[_0x595aa9(0x331)](0x1,_0x4380c9['width']),'height':Math['max'](0x1,_0x4380c9[_0x595aa9(0x233)]),'radius':Math['max'](0x0,_0x5806f1['radius']-_0x5806f1[_0x595aa9(0x1b9)]/0x2)};}function xr(_0x219056,_0x2cfc63){const _0x3e583f=_0x420134;return typeof _0x219056==_0x3e583f(0x1b3)&&Number[_0x3e583f(0x315)](_0x219056)&&_0x219056>0x0?_0x219056:_0x2cfc63;}function Sr(_0x343d88){const _0x13752d=_0x420134;var _0x18166b;let _0x3d86e3=(_0x18166b=_0x343d88[_0x13752d(0x357)](/^#([\da-f]{3}|[\da-f]{6})$/i))==null?void 0x0:_0x18166b[0x1];if(_0x3d86e3){let _0x2c626e=_0x3d86e3['length']===0x3?_0x3d86e3[_0x13752d(0x333)]('')[_0x13752d(0x21c)](_0x3a41b6=>''+_0x3a41b6+_0x3a41b6)[_0x13752d(0x16f)](''):_0x3d86e3;return _0x13752d(0x310)+Number['parseInt'](_0x2c626e['slice'](0x0,0x2),0x10)+',\x20'+Number[_0x13752d(0x1f3)](_0x2c626e['slice'](0x2,0x4),0x10)+',\x20'+Number['parseInt'](_0x2c626e[_0x13752d(0x2cb)](0x4,0x6),0x10)+')';}let _0x1a9a5c=document['createElement']('span');return _0x1a9a5c[_0x13752d(0x2c6)]['color']=_0x343d88,_0x1a9a5c[_0x13752d(0x2c6)][_0x13752d(0x31c)]||_0x343d88;}let q=class extends _0x37367c{constructor(_0x34f16a,_0x4206a5,_0x1320f1){const _0x1531a9=_0x420134;super(),this[_0x1531a9(0x1b6)]=_0x34f16a,this[_0x1531a9(0x27f)]=_0x4206a5,this[_0x1531a9(0x1b5)]=_0x1320f1,z(this,'_chartInstanceMap',new Map()),z(this,'_chartElementEditMode',new Map()),z(this,'_chartEventHandlers',new Map()),z(this,_0x1531a9(0x341),new Map());}['createChartInstance'](_0x59aac8){const _0x42b7ea=_0x420134;return _0x59aac8?this[_0x42b7ea(0x1b5)][_0x42b7ea(0x238)](_0x59aac8,this[_0x42b7ea(0x306)]()):this[_0x42b7ea(0x1b5)][_0x42b7ea(0x238)]();}['registerChartInstance'](_0x10f6f1,_0x4161ae,_0x34887f){const _0x2162aa=_0x420134;let _0x56ff99=this['_getChartRuntimeKey'](_0x10f6f1,_0x4161ae),_0x2ea9bc=this[_0x2162aa(0x155)]['get'](_0x56ff99);return _0x2ea9bc&&_0x2ea9bc!==_0x34887f&&(this[_0x2162aa(0x21e)](_0x56ff99),_0x2ea9bc[_0x2162aa(0x1e5)]()),this['_chartInstanceMap']['set'](_0x56ff99,_0x34887f),_0x34887f[_0x2162aa(0x201)](this[_0x2162aa(0x338)]['get'](_0x56ff99)===!0x0),this[_0x2162aa(0x18e)](_0x56ff99,_0x34887f),{'dispose':()=>{const _0x17dbe1=_0x2162aa;this[_0x17dbe1(0x155)][_0x17dbe1(0x239)](_0x56ff99)===_0x34887f&&(this[_0x17dbe1(0x21e)](_0x56ff99),this[_0x17dbe1(0x155)][_0x17dbe1(0x2ff)](_0x56ff99));}};}[_0x420134(0x201)](_0x16454e,_0x1657db,_0x5e3ab3){const _0x12c0f9=_0x420134;var _0x2f5282;let _0x466926=this[_0x12c0f9(0x277)](_0x16454e,_0x1657db);_0x5e3ab3?this[_0x12c0f9(0x338)][_0x12c0f9(0x1bd)](_0x466926,!0x0):this[_0x12c0f9(0x338)][_0x12c0f9(0x2ff)](_0x466926),(_0x2f5282=this['_chartInstanceMap'][_0x12c0f9(0x239)](_0x466926))==null||_0x2f5282['setElementEditMode'](_0x5e3ab3);}['isElementEditModeActive'](_0x43990f,_0x5980a0){const _0x77cf23=_0x420134;return this['_chartElementEditMode'][_0x77cf23(0x239)](this[_0x77cf23(0x277)](_0x43990f,_0x5980a0))===!0x0;}['on'](_0x3df1d2,_0x2fad73,_0x15dde0,_0x1a8fdc){const _0x44a48c=_0x420134;let _0x1ad055=this[_0x44a48c(0x277)](_0x3df1d2,_0x2fad73),_0x5a39a1=this[_0x44a48c(0x30d)][_0x44a48c(0x239)](_0x1ad055);_0x5a39a1||(_0x5a39a1=new Map(),this[_0x44a48c(0x30d)][_0x44a48c(0x1bd)](_0x1ad055,_0x5a39a1));let _0xe1e498=_0x5a39a1[_0x44a48c(0x239)](_0x15dde0);_0xe1e498||(_0xe1e498=new Set(),_0x5a39a1['set'](_0x15dde0,_0xe1e498)),_0xe1e498['add'](_0x1a8fdc);let _0x9f74ee=this[_0x44a48c(0x155)][_0x44a48c(0x239)](_0x1ad055);return _0x9f74ee&&this[_0x44a48c(0x2a8)](_0x1ad055,_0x9f74ee,_0x15dde0,_0x1a8fdc),{'dispose':()=>{const _0x2c51e3=_0x44a48c;let _0x2381a7=this['_chartEventHandlers']['get'](_0x1ad055),_0x20cdb6=_0x2381a7==null?void 0x0:_0x2381a7[_0x2c51e3(0x239)](_0x15dde0);_0x20cdb6==null||_0x20cdb6[_0x2c51e3(0x2ff)](_0x1a8fdc),(_0x20cdb6==null?void 0x0:_0x20cdb6[_0x2c51e3(0x213)])===0x0&&(_0x2381a7==null||_0x2381a7['delete'](_0x15dde0)),(_0x2381a7==null?void 0x0:_0x2381a7[_0x2c51e3(0x213)])===0x0&&this[_0x2c51e3(0x30d)][_0x2c51e3(0x2ff)](_0x1ad055),this['_disposeChartEventSubscription'](_0x1ad055,_0x15dde0,_0x1a8fdc);}};}[_0x420134(0x158)](_0x122908){const _0x33e94e=_0x420134;let _0x44ff46=_0x122908[_0x33e94e(0x271)][_0x33e94e(0x2f3)];if(!_0x44ff46)throw Error('Board\x20chart\x20'+_0x122908[_0x33e94e(0x2f1)]+_0x33e94e(0x20d));let _0x4d8de7=this['_localeService'][_0x33e94e(0x196)]();return{'chartConfig':_0x44ff46,'chartStyle':_0x328c21({..._0x122908[_0x33e94e(0x271)][_0x33e94e(0x2c6)],'runtime':_0x122908[_0x33e94e(0x271)]['getRuntimeContext'](_0x4d8de7),'direction':_0x4d8de7},_0x44ff46[_0x33e94e(0x304)])};}[_0x420134(0x234)](_0x13efa4,_0x90e6bd,_0x4c71f2){const _0x1f49f0=_0x420134;let {chartConfig:_0x94ab97,chartStyle:_0x5e7980}=this[_0x1f49f0(0x158)](_0x13efa4),_0x4089a5=this[_0x1f49f0(0x1b5)][_0x1f49f0(0x1b7)]();return{'spec':_0x4089a5['stylizeSpec'](_0x4089a5[_0x1f49f0(0x298)](_0x94ab97,_0x5e7980),{'chartConfig':_0x94ab97,'chartStyle':_0x5e7980,'chartInstance':_0x4c71f2},_0x90e6bd),'chartConfig':_0x94ab97,'chartStyle':_0x5e7980,'hostStyle':this[_0x1f49f0(0x260)](_0x5e7980)};}['getHostStyle'](_0x57f1b2){const _0x1541f5=_0x420134;return _0x225484({'style':_0x57f1b2,'getRenderColor':_0x1bb932=>this['_chartThemeService'][_0x1541f5(0x1e0)](_0x1bb932)});}[_0x420134(0x2ab)](_0xd7fe5b,_0x479ae6){const _0x19ead9=_0x420134;var _0x49739c;_0xd7fe5b[_0x19ead9(0x2c6)][_0x19ead9(0x2cc)]=(_0x49739c=_0x479ae6['border'])!=null&&_0x49739c[_0x19ead9(0x31c)]&&_0x479ae6[_0x19ead9(0x2cc)][_0x19ead9(0x22a)]?_0x479ae6['border']['width']+_0x19ead9(0x1cf)+Sr(_0x479ae6['border'][_0x19ead9(0x31c)]):'',_0xd7fe5b[_0x19ead9(0x2c6)]['backgroundColor']=Sr(_0x479ae6[_0x19ead9(0x1e1)]??_0x19ead9(0x258)),_0xd7fe5b['style'][_0x19ead9(0x181)]=_0x479ae6[_0x19ead9(0x167)]?_0x479ae6[_0x19ead9(0x167)]+'px':_r+'px',_0xd7fe5b[_0x19ead9(0x2c6)][_0x19ead9(0x30b)]='hidden',_0xd7fe5b[_0x19ead9(0x2c6)][_0x19ead9(0x1c0)]=_0x19ead9(0x31f);}[_0x420134(0x306)](){const _0x340dd7=_0x420134;return{'resolveHostStyle':({style:_0x1db57a})=>({'fill':this[_0x340dd7(0x260)](_0x1db57a)[_0x340dd7(0x1e1)]}),'resolveRenderBackgroundColor':({hostStyle:_0x2bd997})=>_0x2bd997[_0x340dd7(0x1e1)],'prepareSpec':({mode:_0x1c387f,spec:_0x6f12bb})=>_0x1c387f===_0x340dd7(0x2f8)?{..._0x6f12bb,'animation':!0x1,'tooltip':{'show':!0x1}}:_0x6f12bb};}[_0x420134(0x18e)](_0x26d219,_0x459de0){const _0xdccbba=_0x420134;let _0x4b0f44=this[_0xdccbba(0x30d)][_0xdccbba(0x239)](_0x26d219);_0x4b0f44&&_0x4b0f44['forEach']((_0x4a5fcf,_0x487bef)=>{const _0x41ce27=_0xdccbba;_0x4a5fcf['forEach'](_0x4b8e20=>this[_0x41ce27(0x2a8)](_0x26d219,_0x459de0,_0x487bef,_0x4b8e20));});}[_0x420134(0x2a8)](_0xa503de,_0xc71692,_0x1f2019,_0x74bfc){const _0x1a841e=_0x420134;let _0x1292e5=this['_chartEventSubscriptions']['get'](_0xa503de);_0x1292e5||(_0x1292e5=new Map(),this[_0x1a841e(0x341)][_0x1a841e(0x1bd)](_0xa503de,_0x1292e5));let _0x180a00=_0x1292e5[_0x1a841e(0x239)](_0x1f2019);_0x180a00||(_0x180a00=new Map(),_0x1292e5['set'](_0x1f2019,_0x180a00)),!_0x180a00[_0x1a841e(0x165)](_0x74bfc)&&_0x180a00[_0x1a841e(0x1bd)](_0x74bfc,_0xc71692['on'](_0x1f2019,_0x74bfc));}['_disposeChartEventSubscription'](_0x376fca,_0x594e26,_0x4da838){const _0xf02f8d=_0x420134;var _0x4da1e2,_0x3f8dd4;let _0x503756=(_0x4da1e2=this['_chartEventSubscriptions'][_0xf02f8d(0x239)](_0x376fca))==null?void 0x0:_0x4da1e2[_0xf02f8d(0x239)](_0x594e26);_0x503756==null||(_0x3f8dd4=_0x503756['get'](_0x4da838))==null||_0x3f8dd4[_0xf02f8d(0x1e5)](),_0x503756==null||_0x503756['delete'](_0x4da838);}[_0x420134(0x21e)](_0xa047cf){const _0x27c33a=_0x420134;let _0x3dd3cc=this[_0x27c33a(0x341)][_0x27c33a(0x239)](_0xa047cf);_0x3dd3cc==null||_0x3dd3cc['forEach'](_0x10c899=>{const _0x44d7af=_0x27c33a;_0x10c899[_0x44d7af(0x1f1)](_0x1838cc=>_0x1838cc[_0x44d7af(0x1e5)]()),_0x10c899[_0x44d7af(0x2de)]();}),this[_0x27c33a(0x341)]['delete'](_0xa047cf);}[_0x420134(0x277)](_0xf05e8d,_0x5b4598){return _0xf05e8d+'::'+_0x5b4598;}['dispose'](){const _0x9e3c7f=_0x420134;this['_chartInstanceMap'][_0x9e3c7f(0x1f1)](_0x34ae9a=>_0x34ae9a[_0x9e3c7f(0x1e5)]()),this[_0x9e3c7f(0x155)][_0x9e3c7f(0x2de)](),this[_0x9e3c7f(0x338)][_0x9e3c7f(0x2de)](),this[_0x9e3c7f(0x30d)][_0x9e3c7f(0x2de)](),Array[_0x9e3c7f(0x2c8)](this[_0x9e3c7f(0x341)][_0x9e3c7f(0x2b6)]())[_0x9e3c7f(0x1f1)](_0x2c46c6=>this[_0x9e3c7f(0x21e)](_0x2c46c6)),super[_0x9e3c7f(0x1e5)]();}};q=V([B(0x0,_0x562f55(_0x9e1c11)),B(0x1,_0x562f55(_0x3c12b3)),B(0x2,_0x177a5a)],q);let Cr=class extends _0x37367c{constructor(_0x166c91,_0x3b51f3,_0x233d97,_0x576d22,_0x23720d,_0x49183d,_0x2dd9aa){const _0x120425=_0x420134;super(),this[_0x120425(0x31d)]=_0x166c91,this['_editSessionService']=_0x3b51f3,this[_0x120425(0x223)]=_0x233d97,this[_0x120425(0x19b)]=_0x576d22,this[_0x120425(0x2ed)]=_0x23720d,this[_0x120425(0x2df)]=_0x49183d,this[_0x120425(0x1b6)]=_0x2dd9aa,z(this,'_activePanelKey',null),z(this,_0x120425(0x23f),null),z(this,_0x120425(0x2c1),null),this[_0x120425(0x28f)](this[_0x120425(0x26c)][_0x120425(0x2bc)][_0x120425(0x297)](_0x36b9ed=>this[_0x120425(0x1fb)](_0x36b9ed)));}[_0x420134(0x1e5)](){const _0x421336=_0x420134;this[_0x421336(0x203)](),super['dispose']();}[_0x420134(0x1fb)](_0x40d9ce){const _0x428c91=_0x420134;var _0x325f03;if(!_0x40d9ce||_0x40d9ce[_0x428c91(0x27a)]!==this['_renderContext'][_0x428c91(0x27a)]){this[_0x428c91(0x203)]();return;}let _0x26dcc4=this['_modelService']['ensureChartModel'](_0x40d9ce[_0x428c91(0x27a)],_0x40d9ce[_0x428c91(0x2f1)]);if(!_0x26dcc4){this[_0x428c91(0x203)]();return;}let _0x262fce=[or,_0x40d9ce[_0x428c91(0x27a)],_0x40d9ce[_0x428c91(0x280)],_0x40d9ce['elementId']][_0x428c91(0x16f)](':');if(this[_0x428c91(0x240)]===_0x262fce){this[_0x428c91(0x19b)][_0x428c91(0x22b)](_0x26dcc4),this[_0x428c91(0x16a)](_0x40d9ce['unitId'],_0x40d9ce['chartId']);return;}(_0x325f03=this[_0x428c91(0x23f)])==null||_0x325f03['dispose'](),this[_0x428c91(0x19b)][_0x428c91(0x22b)](_0x26dcc4),this['_setActiveEditOverlay'](_0x40d9ce[_0x428c91(0x27a)],_0x40d9ce['chartId']),this['_activePanelKey']=_0x262fce,this[_0x428c91(0x23f)]=this[_0x428c91(0x223)][_0x428c91(0x279)]({'id':or,'header':{'title':this[_0x428c91(0x1b6)]['t'](_0x428c91(0x205))},'width':0x184,'children':{'label':or,'unitId':_0x40d9ce[_0x428c91(0x27a)],'subUnitId':_0x40d9ce[_0x428c91(0x280)],'elementId':_0x40d9ce['elementId'],'chartId':_0x40d9ce[_0x428c91(0x2f1)]},'onClose':_0x1dca25=>{const _0xec29e0=_0x428c91;this['_activePanelKey']===_0x262fce&&(this[_0xec29e0(0x240)]=null,this[_0xec29e0(0x23f)]=null,this['_clearActiveEditOverlay'](),this[_0xec29e0(0x19b)]['setActiveChartRuntime'](null),_0x1dca25==='manual'&&this[_0xec29e0(0x26c)]['close'](_0xec29e0(0x152)));}});}[_0x420134(0x203)](){const _0x325b17=_0x420134;var _0x3bab25;if(!this[_0x325b17(0x240)]){this[_0x325b17(0x2e3)]();return;}(_0x3bab25=this[_0x325b17(0x23f)])==null||_0x3bab25['dispose'](),this[_0x325b17(0x23f)]=null,this[_0x325b17(0x240)]=null,this[_0x325b17(0x2e3)](),this[_0x325b17(0x19b)]['setActiveChartRuntime'](null);}[_0x420134(0x16a)](_0x2d5b11,_0x3539b1){const _0x56ac6c=_0x420134;let _0x13c4ed=this['_activeEditOverlay'];((_0x13c4ed==null?void 0x0:_0x13c4ed[_0x56ac6c(0x27a)])!==_0x2d5b11||_0x13c4ed['chartId']!==_0x3539b1)&&(this[_0x56ac6c(0x2e3)](),this[_0x56ac6c(0x2c1)]={'unitId':_0x2d5b11,'chartId':_0x3539b1},this[_0x56ac6c(0x2ed)][_0x56ac6c(0x201)](_0x2d5b11,_0x3539b1,!0x0));}[_0x420134(0x2e3)](){const _0xc42be6=_0x420134;let _0x270b62=this[_0xc42be6(0x2c1)];_0x270b62&&(this[_0xc42be6(0x2c1)]=null,this['_renderService'][_0xc42be6(0x201)](_0x270b62[_0xc42be6(0x27a)],_0x270b62[_0xc42be6(0x2f1)],!0x1));}};Cr=V([B(0x1,_0x562f55(H)),B(0x2,_0x562f55(_0x4c7560)),B(0x3,_0x562f55(_0x19fb9a)),B(0x4,_0x562f55(q)),B(0x5,U),B(0x6,_0x562f55(_0x9e1c11))],Cr);var wr=class extends _0x37367c{constructor(_0x4a6da8,_0xfd86c0,_0x20a3dd){const _0x11fc7c=_0x420134;super(),this[_0x11fc7c(0x2f1)]=_0x4a6da8,this[_0x11fc7c(0x156)]=_0xfd86c0,this['_applyHostStyle']=_0x20a3dd,z(this,_0x11fc7c(0x1cd),_0x155eff[_0x11fc7c(0x228)]);}[_0x420134(0x281)](){const _0x14ff25=_0x420134;return{'width':Math[_0x14ff25(0x331)](0x1,this[_0x14ff25(0x156)][_0x14ff25(0x276)]),'height':Math[_0x14ff25(0x331)](0x1,this[_0x14ff25(0x156)][_0x14ff25(0x290)])};}[_0x420134(0x24b)](_0x36fa0a){const _0x3b16f8=_0x420134;this[_0x3b16f8(0x274)](this[_0x3b16f8(0x156)],_0x36fa0a);}async[_0x420134(0x31e)](){return this['_host'];}[_0x420134(0x1b1)](){return!0x0;}[_0x420134(0x252)](){}['markReady'](){}[_0x420134(0x1ba)](){}};function Tr({chartElement:_0x16f34f,chartId:_0x34e73a,unitId:_0x364a95}){const _0x358180=_0x420134;let _0x5ba295=_0x5074cd(null),_0x4a7304=_0x30d157(_0x19fb9a),_0x4b255a=_0x30d157(q),_0x5a22f3=_0x30d157(_0x9e1c11);return _0xe8772c(()=>{const _0x1154bb=_0x1b7a;let _0x5e5db2=_0x5ba295['current'];if(!_0x5e5db2)return;let _0x4adc75=_0x4a7304[_0x1154bb(0x26b)](_0x364a95,_0x34e73a);if(!_0x4adc75)return;_0x4a7304[_0x1154bb(0x22b)](_0x4adc75);let _0xe030a5=new wr(_0x34e73a,_0x5e5db2,(_0x2a1d22,_0x251f7b)=>_0x4b255a[_0x1154bb(0x2ab)](_0x2a1d22,{'fill':_0x251f7b[_0x1154bb(0x1e1)]??_0x1154bb(0x258)})),_0x3f66b3=_0x4b255a[_0x1154bb(0x238)](_0x155eff['Dom']),_0x44f41b=_0x4b255a['registerChartInstance'](_0x364a95,_0x34e73a,_0x3f66b3);_0x3f66b3[_0x1154bb(0x2e1)](_0xe030a5);let _0x13b6b5=_0x3ed2cd([_0x4adc75[_0x1154bb(0x271)][_0x1154bb(0x328)],_0x4adc75[_0x1154bb(0x271)]['style$'],_0x5a22f3[_0x1154bb(0x2ac)]])[_0x1154bb(0x231)](_0x27dc02(([_0x515ee5])=>_0x515ee5!=null))[_0x1154bb(0x297)](()=>{const _0x4c126f=_0x1154bb;let {chartConfig:_0x4b7a9f,chartStyle:_0x5ec360}=_0x4b255a[_0x4c126f(0x158)](_0x4adc75);Er(_0x5e5db2,_0x16f34f,_0x5ec360,_0x4b255a),_0x3f66b3['render']({'chartId':_0x34e73a,'config':_0x4b7a9f,'style':_0x5ec360})[_0x4c126f(0x24a)](()=>{});});return()=>{const _0x12f7f6=_0x1154bb;var _0x3552b6;_0x13b6b5['unsubscribe'](),_0x44f41b[_0x12f7f6(0x1e5)](),_0x3f66b3[_0x12f7f6(0x1e5)](),_0xe030a5[_0x12f7f6(0x1e5)](),((_0x3552b6=_0x4a7304[_0x12f7f6(0x163)])==null?void 0x0:_0x3552b6[_0x12f7f6(0x27a)])===_0x364a95&&_0x4a7304['activeRuntimeModel'][_0x12f7f6(0x2f1)]===_0x34e73a&&_0x4a7304['setActiveChartRuntime'](null);};},[_0x16f34f,_0x34e73a,_0x5a22f3,_0x4a7304,_0x4b255a,_0x364a95]),_0x4c0ab2('div',{'className':_0x358180(0x22d),'data-board-chart-dom-renderer':_0x34e73a,'children':_0x4c0ab2(_0x358180(0x34d),{'ref':_0x5ba295,'data-board-chart-dom-content-host':_0x34e73a})});}function Er(_0x2a70e0,_0x1aefba,_0x251a9e,_0x2a29f2){const _0x508fee=_0x420134;let _0x867262=_0x2a29f2[_0x508fee(0x260)](_0x251a9e)[_0x508fee(0x1e1)],_0x5d5579=vr({'chartStyle':_0x251a9e,'chartElement':_0x1aefba,'hostFill':_0x867262}),_0x367a6e=Math[_0x508fee(0x331)](0x0,_0x5d5579[_0x508fee(0x1b9)]);_0x2a70e0['style'][_0x508fee(0x30e)]='absolute',_0x2a70e0['style']['left']=_0x367a6e+'px',_0x2a70e0['style'][_0x508fee(0x254)]=_0x367a6e+'px',_0x2a70e0[_0x508fee(0x2c6)]['right']=_0x367a6e+'px',_0x2a70e0[_0x508fee(0x2c6)][_0x508fee(0x267)]=_0x367a6e+'px',_0x2a70e0['style'][_0x508fee(0x145)]=_0x5d5579[_0x508fee(0x1e1)],_0x2a70e0['style'][_0x508fee(0x181)]=Math['max'](0x0,_0x5d5579['radius']-_0x367a6e)+'px',_0x2a70e0[_0x508fee(0x2c6)]['overflow']=_0x508fee(0x19f),_0x2a70e0['style'][_0x508fee(0x1c0)]=_0x508fee(0x31f);}const Dr=_0x4fae56('board-chart.snapshot-renderer'),Or=0x0;function kr(_0x401256){return{..._0x401256,'borderWidth':0x0};}var Ar=class{constructor(_0x2744fe){const _0x25d806=_0x420134;this[_0x25d806(0x2ed)]=_0x2744fe;}async['render'](_0x785990,_0x4e9a0d){const _0x5277db=_0x420134;if(typeof document>'u')throw TypeError('Board\x20chart\x20snapshot\x20rendering\x20requires\x20a\x20browser\x20document.');let _0x583422=new _0x965a83(_0x4e9a0d[_0x5277db(0x2f1)],{'width':_0x785990[_0x5277db(0x22a)],'height':_0x785990[_0x5277db(0x233)]}),_0x370174=this[_0x5277db(0x2ed)]['createChartInstance'](_0x155eff[_0x5277db(0x2eb)]);try{let {chartConfig:_0x10f966,chartStyle:_0x1e4c54}=this[_0x5277db(0x2ed)][_0x5277db(0x158)](_0x4e9a0d);_0x370174[_0x5277db(0x2e1)](_0x583422),await _0x370174[_0x5277db(0x246)]({'chartId':_0x4e9a0d[_0x5277db(0x2f1)],'config':_0x10f966,'style':kr(_0x1e4c54)});let _0x1ce984=_0x583422[_0x5277db(0x2b0)]();if(!_0x1ce984)throw Error(_0x5277db(0x170)+_0x4e9a0d['unitId']+'/'+_0x4e9a0d[_0x5277db(0x2f1)]);return _0x1ce984;}finally{_0x370174[_0x5277db(0x1e5)](),_0x583422[_0x5277db(0x1e5)]();}}};let J=class extends _0x2f0ffd{constructor(_0xc97590,_0x3ec5ba,_0x4a6200,_0x3e2296){super(_0xc97590,_0x3ec5ba,_0x3e2296??new Ar(_0x4a6200));}};J=V([B(0x0,_0x562f55(_0x9e1c11)),B(0x1,_0x562f55(_0x19fb9a)),B(0x2,_0x562f55(q)),B(0x3,_0x4d6e48(Dr))],J);let jr=class extends _0x37367c{constructor(_0x41e76c,_0x3dbe4c,_0x4603a8,_0xde9532,_0x1ab65f){const _0x3b8ca1=_0x420134;super(),this[_0x3b8ca1(0x31d)]=_0x41e76c,this[_0x3b8ca1(0x26c)]=_0x3dbe4c,this[_0x3b8ca1(0x347)]=_0x4603a8,this[_0x3b8ca1(0x358)]=_0xde9532,this[_0x3b8ca1(0x178)]=_0x1ab65f,z(this,'_activeLayerId',null),z(this,_0x3b8ca1(0x249),null),z(this,'_activeChart',null),this['disposeWithMe'](this[_0x3b8ca1(0x26c)][_0x3b8ca1(0x2bc)][_0x3b8ca1(0x297)](_0x3cda58=>this['_syncActiveChart'](_0x3cda58)));}[_0x420134(0x1e5)](){const _0x5dfba8=_0x420134;this[_0x5dfba8(0x264)](),super[_0x5dfba8(0x1e5)]();}[_0x420134(0x2d8)](_0x42b8be){const _0xea91ad=_0x420134;if(!_0x42b8be||_0x42b8be['unitId']!==this[_0xea91ad(0x31d)][_0xea91ad(0x27a)]){this[_0xea91ad(0x264)]();return;}let _0x81fa1a=this[_0xea91ad(0x347)][_0xea91ad(0x1e8)](_0x42b8be[_0xea91ad(0x27a)],_0x42b8be[_0xea91ad(0x280)]),_0x3ea33d=_0x81fa1a[_0x42b8be[_0xea91ad(0x248)]];if(!_0x3ea33d||_0x3ea33d[_0xea91ad(0x157)][_0xea91ad(0x304)]!==_0xbbe6aa[_0xea91ad(0x289)]||_0x3ea33d[_0xea91ad(0x157)][_0xea91ad(0x2f1)]!==_0x42b8be[_0xea91ad(0x2f1)]){this[_0xea91ad(0x264)]();return;}let _0x4a9d74=_0x1f3663(_0x81fa1a,_0x3ea33d['elementId']);if(!_0x4a9d74){this[_0xea91ad(0x264)]();return;}let _0xa3e032=_0x3ea33d[_0xea91ad(0x157)],_0x907f1e=_0xa3e032[_0xea91ad(0x2f1)],_0x59a97c=[_0xea91ad(0x28e),_0x42b8be['unitId'],_0x42b8be[_0xea91ad(0x280)],_0x3ea33d[_0xea91ad(0x248)]]['join'](':');if(this[_0xea91ad(0x2bb)]===_0x59a97c){this[_0xea91ad(0x316)]={'chartId':_0x907f1e,'unitId':_0x42b8be['unitId']},this[_0xea91ad(0x358)][_0xea91ad(0x17b)](_0x59a97c,{'rect':_0x4a9d74,'content':()=>_0x4c0ab2(Tr,{'chartId':_0x907f1e,'chartElement':_0xa3e032,'unitId':_0x42b8be[_0xea91ad(0x27a)]})});return;}this['_clearActiveLayer'](),this[_0xea91ad(0x2bb)]=_0x59a97c,this[_0xea91ad(0x316)]={'chartId':_0x907f1e,'unitId':_0x42b8be['unitId']},this[_0xea91ad(0x249)]=this['_domLayerService']['registerItem']({'id':_0x59a97c,'unitId':_0x42b8be[_0xea91ad(0x27a)],'subUnitId':_0x42b8be[_0xea91ad(0x280)],'elementId':_0x3ea33d[_0xea91ad(0x248)],'rect':_0x4a9d74,'interactive':!0x0,'zIndex':0x1,'content':()=>_0x4c0ab2(Tr,{'chartId':_0x907f1e,'chartElement':_0xa3e032,'unitId':_0x42b8be[_0xea91ad(0x27a)]})});}[_0x420134(0x264)](){const _0x1a7d28=_0x420134;var _0x5eee70;let _0x458f29=this[_0x1a7d28(0x316)];(_0x5eee70=this[_0x1a7d28(0x249)])==null||_0x5eee70[_0x1a7d28(0x1e5)](),this[_0x1a7d28(0x249)]=null,this[_0x1a7d28(0x2bb)]=null,this[_0x1a7d28(0x316)]=null,_0x458f29&&this[_0x1a7d28(0x178)][_0x1a7d28(0x2a4)](_0x458f29[_0x1a7d28(0x27a)],_0x458f29[_0x1a7d28(0x2f1)],{'waitForConfig':!0x0});}};jr=V([B(0x1,_0x562f55(H)),B(0x2,_0x3c3318),B(0x3,_0x562f55(_0x378753)),B(0x4,_0x562f55(J))],jr);let Y=class extends _0x37367c{constructor(_0x1b704c,_0x2c70d1,_0x5d1999,_0x5495f3){const _0x37bd31=_0x420134;super(),this[_0x37bd31(0x1b4)]=_0x1b704c,this['_snapshotService']=_0x2c70d1,this[_0x37bd31(0x286)]=_0x5d1999,this[_0x37bd31(0x19b)]=_0x5495f3,this['_listenChartResourceMutations']();}[_0x420134(0x266)](){const _0x17b11e=_0x420134;this['disposeWithMe'](this[_0x17b11e(0x1b4)][_0x17b11e(0x236)](_0x58abe1=>{const _0x248cf2=_0x17b11e;if(_0x58abe1['id']===_0x47addf['id']){var _0x2b2399;let _0x350972=_0x58abe1[_0x248cf2(0x30c)];_0x350972!=null&&_0x350972[_0x248cf2(0x27a)]&&(_0x2b2399=_0x350972[_0x248cf2(0x309)])!=null&&_0x2b2399['id']&&(this[_0x248cf2(0x256)](_0x350972)?this[_0x248cf2(0x178)][_0x248cf2(0x2a4)](_0x350972[_0x248cf2(0x27a)],_0x350972[_0x248cf2(0x309)]['id'],{'waitForConfig':!0x0}):this[_0x248cf2(0x178)][_0x248cf2(0x2a4)](_0x350972['unitId'],_0x350972['chart']['id']));return;}if(_0x58abe1['id']===_0x34a8cb['id']){var _0x369b5d;let _0x52a015=_0x58abe1[_0x248cf2(0x30c)];if(!(_0x52a015!=null&&_0x52a015[_0x248cf2(0x27a)])||!((_0x369b5d=_0x52a015[_0x248cf2(0x350)])!=null&&_0x369b5d['id']))return;this['_resourceService'][_0x248cf2(0x1ad)](_0x52a015['unitId'],_0x52a015[_0x248cf2(0x350)]['id'])[_0x248cf2(0x1f1)](_0xefab4a=>this[_0x248cf2(0x178)]['invalidateChart'](_0x52a015[_0x248cf2(0x27a)],_0xefab4a,{'waitForConfig':!0x0}));}}));}['_shouldWaitForChartConfig'](_0x302dc6){const _0x2afa4d=_0x420134;var _0xa8e4dc;let _0x5e351c=(_0xa8e4dc=this['_modelService'][_0x2afa4d(0x185)](_0x302dc6[_0x2afa4d(0x27a)],_0x302dc6[_0x2afa4d(0x309)]['id']))==null||(_0xa8e4dc=_0xa8e4dc[_0x2afa4d(0x271)][_0x2afa4d(0x2f3)])==null?void 0x0:_0xa8e4dc['type'];return _0x5e351c!=null&&_0x5e351c!==_0x302dc6['chart']['chartType'];}};Y=V([B(0x0,_0x1fe324),B(0x1,_0x562f55(J)),B(0x2,_0x562f55(_0x8c60)),B(0x3,_0x562f55(_0x19fb9a))],Y);var Mr='@univerjs-pro/boards-chart-ui',Nr=_0x420134(0x29a);const Pr={'scaleX':0x1,'scaleY':0x1};function Fr(_0x44351e){let _0x58369f=_0x44351e['nativeEvent'];return typeof MouseEvent<'u'&&_0x58369f instanceof MouseEvent?_0x58369f:void 0x0;}function Ir(_0xd567a3){const _0x41402d=_0x420134;let _0x5c9025=_0xd567a3[_0x41402d(0x32e)],_0x43a46f=_0x5c9025==null?void 0x0:_0x5c9025['target'];return typeof Element<'u'&&_0x43a46f instanceof Element?_0x43a46f:void 0x0;}function Lr(_0x213e56){const _0x590f6b=_0x420134;return _0x213e56['width']||_0x213e56[_0x590f6b(0x352)]-_0x213e56[_0x590f6b(0x2b8)];}function Rr(_0x3b5644){const _0x49e75f=_0x420134;return _0x3b5644[_0x49e75f(0x233)]||_0x3b5644[_0x49e75f(0x267)]-_0x3b5644[_0x49e75f(0x254)];}function zr(_0x466c78,_0x40fd6b){const _0x47f5b8=_0x420134;let _0x4d17ac=_0x466c78[_0x47f5b8(0x276)]||(typeof HTMLElement<'u'&&_0x466c78 instanceof HTMLElement?_0x466c78['offsetWidth']:0x0),_0x2be9d9=_0x466c78['clientHeight']||(typeof HTMLElement<'u'&&_0x466c78 instanceof HTMLElement?_0x466c78['offsetHeight']:0x0),_0xfc1c7f=Lr(_0x40fd6b),_0x34be0d=Rr(_0x40fd6b);return{'scaleX':_0x4d17ac>0x0&&_0xfc1c7f>0x0?_0xfc1c7f/_0x4d17ac:Pr[_0x47f5b8(0x1e3)],'scaleY':_0x2be9d9>0x0&&_0x34be0d>0x0?_0x34be0d/_0x2be9d9:Pr[_0x47f5b8(0x1c4)]};}function Br(_0x1de43c,_0x234e33,_0x46bfc8){const _0x43e7b8=_0x420134;return{'left':_0x1de43c[_0x43e7b8(0x2b8)]+_0x234e33[_0x43e7b8(0x2b8)]*_0x46bfc8[_0x43e7b8(0x1e3)],'right':_0x1de43c[_0x43e7b8(0x2b8)]+_0x234e33[_0x43e7b8(0x352)]*_0x46bfc8[_0x43e7b8(0x1e3)],'top':_0x1de43c[_0x43e7b8(0x254)]+_0x234e33[_0x43e7b8(0x254)]*_0x46bfc8[_0x43e7b8(0x1c4)],'bottom':_0x1de43c[_0x43e7b8(0x254)]+_0x234e33['bottom']*_0x46bfc8['scaleY']};}function Vr(_0x413595){const _0x586ae0=_0x420134;let _0x2b4f88=Ir(_0x413595),_0xd022a9=_0x413595[_0x586ae0(0x35b)]['bounds'];return _0x2b4f88&&_0xd022a9?()=>{let _0x11c1a3=_0x2b4f88['getBoundingClientRect']();return Br(_0x11c1a3,_0xd022a9,zr(_0x2b4f88,_0x11c1a3));}:()=>{const _0x240870=_0x586ae0;let _0x344f78=_0x2b4f88==null?void 0x0:_0x2b4f88[_0x240870(0x325)]();if(_0x2b4f88&&_0x344f78&&_0xd022a9)return Br(_0x344f78,_0xd022a9,zr(_0x2b4f88,_0x344f78));let _0x40ec44=Fr(_0x413595),_0x29f8b1=_0x2b4f88&&_0x344f78?zr(_0x2b4f88,_0x344f78):Pr,_0x2817cb=(_0x40ec44==null?void 0x0:_0x40ec44['clientX'])??(_0x344f78?_0x344f78[_0x240870(0x2b8)]+_0x413595['localPoint']['x']*_0x29f8b1[_0x240870(0x1e3)]:_0x413595['localPoint']['x']),_0x4aad3f=(_0x40ec44==null?void 0x0:_0x40ec44[_0x240870(0x1f6)])??(_0x344f78?_0x344f78[_0x240870(0x254)]+_0x413595['localPoint']['y']*_0x29f8b1[_0x240870(0x1c4)]:_0x413595[_0x240870(0x24c)]['y']);return{'left':_0x2817cb,'right':_0x2817cb+0x1,'top':_0x4aad3f,'bottom':_0x4aad3f+0x1};};}function Hr(_0xc29235){const _0x5c6941=_0x420134;return _0xc29235['right']<=_0xc29235['left']||_0xc29235['bottom']<=_0xc29235['top']?!0x1:typeof window>'u'||_0xc29235[_0x5c6941(0x352)]>0x0&&_0xc29235[_0x5c6941(0x267)]>0x0&&_0xc29235['left']<window[_0x5c6941(0x302)]&&_0xc29235[_0x5c6941(0x254)]<window[_0x5c6941(0x27e)];}function Ur(_0xfd4f50,_0x19eef6){const _0x30c3c7=_0x420134;let _0x2eb860=Vr(_0xfd4f50),_0x42510c=_0x2eb860(),_0x116921=new _0x126288(_0x42510c),_0x144aac=new _0x23bb89(),_0x4b008e=!0x1,_0x46de99=!0x1;return typeof window<'u'&&_0x144aac['add'](_0x4d3929(_0x33ab4a(window,_0x30c3c7(0x1d1),{'capture':!0x0}),_0x33ab4a(window,'resize'))[_0x30c3c7(0x231)](_0x29335a(0x10))['subscribe'](()=>{_0x46de99||_0x4b008e||(_0x46de99=!0x0,queueMicrotask(()=>{if(_0x46de99=!0x1,_0x4b008e)return;let _0x16279f=_0x2eb860();if(!Hr(_0x16279f)){_0x19eef6();return;}_0x116921['next'](_0x16279f);}));})),{'initialRect':_0x42510c,'anchorRect$':_0x116921[_0x30c3c7(0x334)](),'visible':Hr(_0x42510c),'dispose':()=>{const _0x3b3bb4=_0x30c3c7;_0x4b008e=!0x0,_0x144aac[_0x3b3bb4(0x1e5)](),_0x116921[_0x3b3bb4(0x32b)]();}};}const Wr=_0x420134(0x1c7);function Gr(_0x42caa0,_0x4d0ec4){return _0x42caa0+'::'+_0x4d0ec4;}let X=class extends _0x37367c{constructor(_0x222e5e,_0x518475,_0x236544,_0x54c527,_0xbbaf95,_0x313692,_0x150738,_0x573752,_0x15a373){const _0xc51e02=_0x420134;super(),this['_modelService']=_0x222e5e,this['_chartRenderService']=_0x518475,this['_chartUIService']=_0x236544,this[_0xc51e02(0x26c)]=_0x54c527,this[_0xc51e02(0x275)]=_0xbbaf95,this[_0xc51e02(0x19e)]=_0x313692,this['_renderManagerService']=_0x150738,this[_0xc51e02(0x268)]=_0x573752,this['_injector']=_0x15a373,z(this,_0xc51e02(0x1fa),new Map()),z(this,_0xc51e02(0x278),null),z(this,'_popupRuntimeKey',null),this[_0xc51e02(0x247)](),this[_0xc51e02(0x1c8)]();}[_0x420134(0x1e5)](){const _0x2dd440=_0x420134;this[_0x2dd440(0x330)](),this['_chartEventDisposables'][_0x2dd440(0x1f1)](_0x10f21a=>_0x10f21a['dispose']()),this['_chartEventDisposables'][_0x2dd440(0x2de)](),super[_0x2dd440(0x1e5)]();}[_0x420134(0x247)](){const _0x1eb2bf=_0x420134;let _0x2146b3=_0x459948({'chartUIService':this[_0x1eb2bf(0x2df)],'getHostAdapter':_0x185c11=>{const _0x4c5b02=_0x1eb2bf;this[_0x4c5b02(0x19b)][_0x4c5b02(0x263)](_0x185c11['unitId'],_0x185c11[_0x4c5b02(0x2f1)]);let _0x1415e9=this['_modelService'][_0x4c5b02(0x185)](_0x185c11[_0x4c5b02(0x27a)],_0x185c11[_0x4c5b02(0x2f1)]),_0x1a4faf=this['_univerInstanceService']['getUnit'](_0x185c11[_0x4c5b02(0x27a)],_0x707cea[_0x4c5b02(0x2e7)]),_0x205d09=this[_0x4c5b02(0x26c)][_0x4c5b02(0x17d)]();if(!(!_0x1415e9||!_0x1a4faf||!_0x205d09))return new _0x1cfdd3(_0x1415e9['model'],new _0x4f64a2({'unitId':_0x185c11[_0x4c5b02(0x27a)],'pageId':_0x205d09[_0x4c5b02(0x280)],'chartId':_0x185c11[_0x4c5b02(0x2f1)],'elementId':_0x205d09[_0x4c5b02(0x248)],'boardModel':_0x1a4faf,'injector':this['_injector']}));},'close':()=>this[_0x1eb2bf(0x330)](),'openFullPanel':_0x2b364a=>{const _0x39fc1e=_0x1eb2bf;this[_0x39fc1e(0x19b)]['setActiveChartById'](_0x2b364a[_0x39fc1e(0x27a)],_0x2b364a[_0x39fc1e(0x2f1)]);let _0x174713=this['_editSessionService'][_0x39fc1e(0x17d)]();(_0x174713==null?void 0x0:_0x174713[_0x39fc1e(0x27a)])===_0x2b364a[_0x39fc1e(0x27a)]&&_0x174713[_0x39fc1e(0x2f1)]===_0x2b364a[_0x39fc1e(0x2f1)]&&this[_0x39fc1e(0x26c)][_0x39fc1e(0x279)]({..._0x174713,'route':_0x54bddd(_0x2b364a[_0x39fc1e(0x1a9)]),'source':_0x39fc1e(0x172)}),this[_0x39fc1e(0x330)]();}});this[_0x1eb2bf(0x28f)](this['_adapterRegistry'][_0x1eb2bf(0x161)](Wr,_0x2146b3));}['_subscribeChartEvents'](){const _0x506d7b=_0x420134;this[_0x506d7b(0x28f)](this['_modelService'][_0x506d7b(0x235)][_0x506d7b(0x297)](_0x237a22=>{const _0xab5a19=_0x506d7b;let _0x205391=Gr(_0x237a22[_0xab5a19(0x27a)],_0x237a22['chartId']);if(this[_0xab5a19(0x1fa)][_0xab5a19(0x165)](_0x205391))return;let _0x2db218=new _0x23bb89();_0x2db218[_0xab5a19(0x1c3)](this[_0xab5a19(0x1b8)]['on'](_0x237a22[_0xab5a19(0x27a)],_0x237a22[_0xab5a19(0x2f1)],'click',_0x58a4b2=>{const _0x5581b2=_0xab5a19;this[_0x5581b2(0x1a3)](_0x237a22[_0x5581b2(0x27a)],_0x237a22['chartId'],_0x58a4b2);})),this[_0xab5a19(0x1fa)][_0xab5a19(0x1bd)](_0x205391,_0x2db218);})),this[_0x506d7b(0x28f)](this['_modelService'][_0x506d7b(0x317)][_0x506d7b(0x297)](_0x4ca844=>{const _0xaabe4b=_0x506d7b;var _0x5af8da;let _0x1acdaf=Gr(_0x4ca844[_0xaabe4b(0x27a)],_0x4ca844[_0xaabe4b(0x2f1)]);(_0x5af8da=this[_0xaabe4b(0x1fa)][_0xaabe4b(0x239)](_0x1acdaf))==null||_0x5af8da[_0xaabe4b(0x1e5)](),this[_0xaabe4b(0x1fa)][_0xaabe4b(0x2ff)](_0x1acdaf),this[_0xaabe4b(0x351)]===_0x1acdaf&&this[_0xaabe4b(0x330)]();})),this['disposeWithMe'](this[_0x506d7b(0x19b)]['activeRuntimeModel$'][_0x506d7b(0x297)](_0x538ed8=>{const _0x2953ca=_0x506d7b;let _0xc95797=_0x538ed8?Gr(_0x538ed8['unitId'],_0x538ed8['chartId']):null;(!_0xc95797||this[_0x2953ca(0x351)]&&_0xc95797!==this['_popupRuntimeKey'])&&this['_closePopup']();}));}[_0x420134(0x1a3)](_0x203091,_0x449cc9,_0x235eb2){const _0x5234f4=_0x420134;if(!this[_0x5234f4(0x1b8)][_0x5234f4(0x230)](_0x203091,_0x449cc9))return;let _0x39087e=this[_0x5234f4(0x19b)][_0x5234f4(0x185)](_0x203091,_0x449cc9),_0x57c227=_0x39087e?_0x18d75a(_0x39087e['model'],_0x235eb2[_0x5234f4(0x35b)]):void 0x0;if(!_0x39087e||!_0x57c227){this['_closePopup']();return;}if(this[_0x5234f4(0x19b)][_0x5234f4(0x22b)](_0x39087e),this[_0x5234f4(0x330)](),!_0x57c227[_0x5234f4(0x1cb)])return;let _0x37b5a3=this['_renderManagerService'][_0x5234f4(0x359)](_0x203091);if(!_0x37b5a3)return;let _0x3a56fb=Ur(_0x235eb2,()=>this[_0x5234f4(0x2fa)](_0x203091,_0x449cc9));if(!_0x3a56fb[_0x5234f4(0x22c)]){_0x3a56fb['dispose']();return;}let _0x447e64=this[_0x5234f4(0x19e)]['addPopup']({'componentKey':_0x3df2c8,'direction':_0x5234f4(0x35d),'offset':[0x0,0x8],'unitId':_0x203091,'subUnitId':'','anchorRect':_0x3a56fb['initialRect'],'anchorRect$':_0x3a56fb['anchorRect$'],'canvasElement':_0x37b5a3[_0x5234f4(0x35e)][_0x5234f4(0x295)](),'extraProps':{'unitId':_0x203091,'chartId':_0x449cc9,'element':_0x235eb2[_0x5234f4(0x35b)],'target':_0x57c227[_0x5234f4(0x1a9)],'adapterKey':Wr}}),_0x1daa56=new _0x23bb89();_0x1daa56['add'](_0x3a56fb),_0x1daa56[_0x5234f4(0x1c3)]({'dispose':()=>this[_0x5234f4(0x19e)][_0x5234f4(0x197)](_0x447e64)}),this[_0x5234f4(0x278)]=_0x1daa56,this['_popupRuntimeKey']=Gr(_0x203091,_0x449cc9);}['_closePopup'](){const _0x4bd38c=_0x420134;var _0x580bcb;(_0x580bcb=this[_0x4bd38c(0x278)])==null||_0x580bcb[_0x4bd38c(0x1e5)](),this[_0x4bd38c(0x278)]=null,this[_0x4bd38c(0x351)]=null;}[_0x420134(0x2fa)](_0x429581,_0x246f56){const _0x33614f=_0x420134;this[_0x33614f(0x330)](),this['_chartRenderService'][_0x33614f(0x230)](_0x429581,_0x246f56)&&(this[_0x33614f(0x1b8)]['setElementEditMode'](_0x429581,_0x246f56,!0x1),this[_0x33614f(0x1b8)][_0x33614f(0x201)](_0x429581,_0x246f56,!0x0));}};X=V([B(0x0,_0x562f55(_0x19fb9a)),B(0x1,_0x562f55(q)),B(0x2,U),B(0x3,_0x562f55(H)),B(0x4,_0x562f55(_0xae228c)),B(0x5,_0x562f55(_0xea016f)),B(0x6,_0x4b3b8f),B(0x7,_0xd96f74),B(0x8,_0x562f55(_0xd63000))],X);function Kr(_0x508fd6,_0x569e87,_0x35346f,_0x44bbc7,_0x4c2223){let _0x452b33={'chartType':_0x569e87,'data':_0x35346f,..._0x4c2223?{'dataSource':_0x4c2223}:{},..._0x44bbc7?{'style':_0x44bbc7}:{}};return{..._0x508fd6,'options':_0x452b33};}function qr(_0x5bed52){const _0x1b4753=_0x420134;let _0x273f1b=_0x30d157(_0x1fe324),_0x207aa5=_0x30d157(_0x9e1c11),_0x4aec13=_0x3b7d38(()=>_0x5e7700(_0x41a22e['map'](_0x177538=>({..._0x177538,'label':_0x207aa5['t'](_0x1b4753(0x262)+_0x177538[_0x1b4753(0x1a5)])}))),[_0x207aa5]),[_0x5f3823,_0x454c78]=_0x52cd5f(String(_0x1f8f85[_0x1b4753(0x28d)])),_0x1684bf=_0x4aec13[_0x1b4753(0x184)](_0x53e382=>_0x53e382[_0x1b4753(0x346)]===_0x5f3823),_0x1f5469=(_0x1684bf==null?void 0x0:_0x1684bf[_0x1b4753(0x1ea)])??_0x1f8f85['Column'],[_0x56ac2a,_0x31b51e]=_0x52cd5f(()=>_0x551cb2[_0x1b4753(0x21c)](_0x141f05=>[..._0x141f05])),[_0x3f58a1,_0x295678]=_0x52cd5f('inline'),[_0x1c90d0,_0x5a9d26]=_0x52cd5f(null),[_0x1c4ea8,_0x53ec3f]=_0x52cd5f([]),[_0x48ec25,_0x3c382f]=_0x52cd5f(null),_0x2e7068={[_0x2f8c65[_0x1b4753(0x1c5)]]:_0x207aa5['t'](_0x1b4753(0x354)),[_0x2f8c65['EmptyData']]:_0x207aa5['t']('boards-chart-ui.common.tableDataEmpty'),[_0x2f8c65['InvalidCandlestickData']]:_0x207aa5['t'](_0x1b4753(0x20e))},_0x51504f=_0x2ba176=>_0x4d3703(_0x2ba176,{'candlestickClose':_0x207aa5['t'](_0x1b4753(0x2f0)),'candlestickHigh':_0x207aa5['t']('boards-chart-ui.candlestick.high'),'candlestickLow':_0x207aa5['t'](_0x1b4753(0x19c)),'candlestickOpen':_0x207aa5['t'](_0x1b4753(0x2bd)),'category':_0x207aa5['t']('boards-chart-ui.common.category'),'chordSource':_0x207aa5['t'](_0x1b4753(0x342)),'chordTarget':_0x207aa5['t'](_0x1b4753(0x27b)),'label':_0x207aa5['t'](_0x1b4753(0x2ee)),'sunburstHierarchy':_0x207aa5['t'](_0x1b4753(0x250)),'value':_0x207aa5['t'](_0x1b4753(0x273)),'valueField':_0x207aa5['t']('boards-chart-ui.common.valueField')});return _0x5b5190(_0x1b4753(0x34d),{'className':_0x1b4753(0x1ff),'children':[_0x5b5190('div',{'className':_0x1b4753(0x176),'children':[_0x4c0ab2(_0x1b4753(0x34d),{'className':_0x1b4753(0x259),'children':_0x207aa5['t'](_0x1b4753(0x17f))}),_0x4c0ab2(_0x1138bf,{'className':_0x1b4753(0x215),'value':_0x5f3823,'options':_0x4aec13,'onChange':_0x225d19=>{const _0x410d75=_0x1b4753;var _0x18111f;_0x454c78(_0x225d19);let _0x5f0450=((_0x18111f=_0x4aec13[_0x410d75(0x184)](_0x1cef50=>_0x1cef50[_0x410d75(0x346)]===_0x225d19))==null?void 0x0:_0x18111f[_0x410d75(0x1ea)])??Number(_0x225d19),_0x1927d8=_0x51504f(_0x5f0450);_0x1927d8&&_0x31b51e(_0x1927d8);}})]}),_0x4c0ab2(_0x450ca6,{'mode':_0x3f58a1,'inlineContent':_0x4c0ab2(_0x34964e,{'values':_0x56ac2a,'minColumns':_0x3a6a48(_0x1f5469),'parsePastedText':_0x1e6e18,'onChange':_0x31b51e}),'onModeChange':_0x918b4d=>{_0x295678(_0x918b4d),_0x5a9d26(null),_0x53ec3f([]);},'onPreviewChange':(_0x5cb5a7,_0x104b6d)=>{const _0x189e33=_0x1b4753;_0x5cb5a7&&_0x104b6d['status']===_0x2b2838['READY']&&_0x104b6d[_0x189e33(0x2e8)]?(_0x5a9d26({'source':_0x5cb5a7}),_0x53ec3f(_0x104b6d[_0x189e33(0x2e8)]['map'](_0x265f94=>[..._0x265f94]))):(_0x5a9d26(null),_0x53ec3f([]));}}),_0x48ec25&&_0x4c0ab2(_0x1b4753(0x34d),{'className':_0x1b4753(0x2ba),'children':_0x48ec25}),_0x5b5190(_0x1b4753(0x34d),{'className':_0x1b4753(0x25a),'children':[_0x5bed52['onCancel']&&_0x4c0ab2(_0x413d0f,{'type':_0x1b4753(0x21b),'variant':_0x1b4753(0x1a8),'onClick':_0x5bed52[_0x1b4753(0x14f)],'children':_0x207aa5['t'](_0x1b4753(0x150))}),_0x4c0ab2(_0x413d0f,{'type':_0x1b4753(0x21b),'variant':_0x1b4753(0x257),'disabled':_0x3f58a1==='referenced'&&!_0x1c90d0,'onClick':async()=>{const _0x1902ff=_0x1b4753;var _0x316041;let _0x325f58=_0x321e23({'optionId':_0x5f3823,'values':_0x3f58a1===_0x1902ff(0x294)?_0x1c4ea8:_0x56ac2a});if(!_0x325f58['ok']){_0x3c382f(_0x2e7068[_0x325f58['issue']['code']]);return;}if(!await _0x273f1b['executeCommand'](_0x5950c5['id'],Kr(_0x5bed52[_0x1902ff(0x2db)],_0x325f58['plan'][_0x1902ff(0x1ea)],_0x325f58[_0x1902ff(0x194)][_0x1902ff(0x2e8)],_0x325f58[_0x1902ff(0x194)][_0x1902ff(0x2c6)],_0x3f58a1==='referenced'?_0x1c90d0??void 0x0:void 0x0))){_0x3c382f(_0x207aa5['t'](_0x1902ff(0x354)));return;}_0x3c382f(null),(_0x316041=_0x5bed52['onInserted'])==null||_0x316041['call'](_0x5bed52);},'children':_0x207aa5['t'](_0x1b4753(0x1a4))})]})]});}let Jr=class extends _0x37367c{constructor(_0x371060){const _0x1c225b=_0x420134;super(),this[_0x1c225b(0x148)]=_0x371060,this['_registerComponents']();}[_0x420134(0x29b)](){const _0x51ee15=_0x420134;this['disposeWithMe'](this[_0x51ee15(0x148)][_0x51ee15(0x161)](or,pr)),this[_0x51ee15(0x28f)](this[_0x51ee15(0x148)][_0x51ee15(0x161)](rr,ir)),this[_0x51ee15(0x28f)](this[_0x51ee15(0x148)][_0x51ee15(0x161)](_0x25b70a,qr)),this[_0x51ee15(0x28f)](this['_componentManager'][_0x51ee15(0x161)](Zn,tr));}};Jr=V([B(0x0,_0x562f55(_0x1af51d))],Jr);var Yr=class extends _0x78fa0e{constructor(_0x42baea,_0x13beff){const _0x272b0f=_0x420134;super(_0x42baea,_0x13beff),z(this,_0x272b0f(0x1ce),void 0x0),z(this,_0x272b0f(0x2e5),void 0x0),this[_0x272b0f(0x1ce)]=_0x13beff[_0x272b0f(0x157)],this[_0x272b0f(0x2e5)]=_0x13beff[_0x272b0f(0x22e)],this[_0x272b0f(0x1be)]();}['updateElement'](_0xca5999){const _0x5e3386=_0x420134;this[_0x5e3386(0x1ce)]=_0xca5999,this[_0x5e3386(0x241)](!0x0);}[_0x420134(0x17a)](_0x3ec575){const _0x4b4421=_0x420134;Zr(this[_0x4b4421(0x2e5)],_0x3ec575)||(this[_0x4b4421(0x2e5)]=_0x3ec575,this[_0x4b4421(0x241)](!0x0));}[_0x420134(0x301)](){return this['_element'];}['getFrameStyle'](){const _0x19d605=_0x420134;return this[_0x19d605(0x2e5)];}[_0x420134(0x1de)](_0x1f944d){const _0x592e4c=_0x420134;this[_0x592e4c(0x179)]??(this[_0x592e4c(0x179)]=document[_0x592e4c(0x237)](_0x592e4c(0x1a6)),this[_0x592e4c(0x179)][_0x592e4c(0x335)]='anonymous'),this[_0x592e4c(0x1be)](),this['_native'][_0x592e4c(0x21d)]=_0x1f944d;}[_0x420134(0x2d7)](_0x1eb322,_0x33134b,_0x5f4eb4=this[_0x420134(0x22a)],_0x595429=this['height']){const _0x376e40=_0x420134;let _0x346edb=this[_0x376e40(0x2e5)],_0x49f131=yr({'width':_0x5f4eb4,'height':_0x595429},_0x346edb);_0x1eb322['save'](),_0x1eb322['translate'](-_0x5f4eb4/0x2,-_0x595429/0x2),Xr(_0x1eb322,0x0,0x0,_0x5f4eb4,_0x595429,_0x346edb[_0x376e40(0x167)]),_0x1eb322[_0x376e40(0x326)]=_0x346edb[_0x376e40(0x1e1)],_0x1eb322['fill'](),_0x1eb322['restore'](),this['_drawChartImage'](_0x1eb322,_0x5f4eb4,_0x595429,_0x49f131,_0x346edb),this[_0x376e40(0x33a)](_0x1eb322,_0x5f4eb4,_0x595429,_0x346edb);}[_0x420134(0x28b)](_0x1081a1,_0x23f4eb,_0x407a27,_0x99035a,_0x2c5d4d){const _0x42eedb=_0x420134;var _0x17c5c3;!((_0x17c5c3=this[_0x42eedb(0x179)])!=null&&_0x17c5c3[_0x42eedb(0x32b)])||this[_0x42eedb(0x179)][_0x42eedb(0x2cd)]<=0x0||this[_0x42eedb(0x179)][_0x42eedb(0x332)]<=0x0||(_0x1081a1['save'](),_0x1081a1['translate'](-_0x23f4eb/0x2,-_0x407a27/0x2),Xr(_0x1081a1,_0x99035a[_0x42eedb(0x2b8)],_0x99035a[_0x42eedb(0x254)],_0x99035a[_0x42eedb(0x22a)],_0x99035a[_0x42eedb(0x233)],Math[_0x42eedb(0x331)](0x0,_0x2c5d4d[_0x42eedb(0x167)]-_0x2c5d4d[_0x42eedb(0x1b9)])),_0x1081a1['clip'](),_0x1081a1['drawImage'](this[_0x42eedb(0x179)],_0x99035a[_0x42eedb(0x2b8)],_0x99035a[_0x42eedb(0x254)],_0x99035a[_0x42eedb(0x22a)],_0x99035a[_0x42eedb(0x233)]),_0x1081a1[_0x42eedb(0x18c)]());}[_0x420134(0x33a)](_0x5cf8b4,_0x5b42b9,_0x179d92,_0x3a3e1d){const _0x13fe81=_0x420134;if(_0x3a3e1d[_0x13fe81(0x1b9)]<=0x0)return;let _0x346665=br({'width':_0x5b42b9,'height':_0x179d92},_0x3a3e1d);_0x5cf8b4[_0x13fe81(0x159)](),_0x5cf8b4[_0x13fe81(0x32a)](-_0x5b42b9/0x2,-_0x179d92/0x2),Xr(_0x5cf8b4,_0x346665['left'],_0x346665[_0x13fe81(0x254)],_0x346665[_0x13fe81(0x22a)],_0x346665[_0x13fe81(0x233)],_0x346665[_0x13fe81(0x167)]),_0x5cf8b4[_0x13fe81(0x20c)]=_0x3a3e1d[_0x13fe81(0x28c)],_0x5cf8b4[_0x13fe81(0x1af)]=_0x3a3e1d[_0x13fe81(0x1b9)],_0x5cf8b4[_0x13fe81(0x28c)](),_0x5cf8b4[_0x13fe81(0x18c)]();}['_notifyScene'](){const _0x32ee8e=_0x420134;let _0x32ea03=this['getScene']();this[_0x32ee8e(0x241)](!0x0),_0x32ea03==null||_0x32ea03['onFileLoaded$'][_0x32ee8e(0x1f7)](this[_0x32ee8e(0x1ac)]);}[_0x420134(0x1be)](){const _0x2c3472=_0x420134;this[_0x2c3472(0x179)]&&(this[_0x2c3472(0x179)][_0x2c3472(0x282)]=()=>{this['makeDirty'](!0x0),this['_notifyScene']();},this[_0x2c3472(0x179)][_0x2c3472(0x2f2)]=()=>{this['_notifyScene']();});}};function Xr(_0x1779ed,_0x317071,_0x59a591,_0x52ff5a,_0xfe2187,_0x2756aa){const _0x331f8c=_0x420134;let _0x1e7f85=Math[_0x331f8c(0x292)](_0x2756aa||0x0,_0x52ff5a/0x2,_0xfe2187/0x2);if(_0x1779ed[_0x331f8c(0x1df)](),!_0x1e7f85){_0x1779ed[_0x331f8c(0x23b)](_0x317071,_0x59a591,_0x52ff5a,_0xfe2187),_0x1779ed['closePath']();return;}_0x1779ed[_0x331f8c(0x18d)](_0x317071+_0x1e7f85,_0x59a591),_0x1779ed[_0x331f8c(0x2d6)](_0x317071+_0x52ff5a-_0x1e7f85,_0x59a591),_0x1779ed[_0x331f8c(0x143)](_0x317071+_0x52ff5a-_0x1e7f85,_0x59a591+_0x1e7f85,_0x1e7f85,Math['PI']*0x3/0x2,0x0,!0x1),_0x1779ed[_0x331f8c(0x2d6)](_0x317071+_0x52ff5a,_0x59a591+_0xfe2187-_0x1e7f85),_0x1779ed[_0x331f8c(0x143)](_0x317071+_0x52ff5a-_0x1e7f85,_0x59a591+_0xfe2187-_0x1e7f85,_0x1e7f85,0x0,Math['PI']/0x2,!0x1),_0x1779ed[_0x331f8c(0x2d6)](_0x317071+_0x1e7f85,_0x59a591+_0xfe2187),_0x1779ed[_0x331f8c(0x143)](_0x317071+_0x1e7f85,_0x59a591+_0xfe2187-_0x1e7f85,_0x1e7f85,Math['PI']/0x2,Math['PI'],!0x1),_0x1779ed['lineTo'](_0x317071,_0x59a591+_0x1e7f85),_0x1779ed[_0x331f8c(0x143)](_0x317071+_0x1e7f85,_0x59a591+_0x1e7f85,_0x1e7f85,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x1779ed[_0x331f8c(0x356)]();}function Zr(_0xdd7c83,_0x4ea0b8){const _0x14cf59=_0x420134;return _0xdd7c83[_0x14cf59(0x1e1)]===_0x4ea0b8[_0x14cf59(0x1e1)]&&_0xdd7c83[_0x14cf59(0x28c)]===_0x4ea0b8[_0x14cf59(0x28c)]&&_0xdd7c83['strokeWidth']===_0x4ea0b8[_0x14cf59(0x1b9)]&&_0xdd7c83[_0x14cf59(0x167)]===_0x4ea0b8[_0x14cf59(0x167)];}function Qr(_0x4877bf){const _0x1af595=_0x420134;let {element:_0x1c1f61}=_0x4877bf[_0x1af595(0x2a1)];return _0x1c1f61['type']===_0xbbe6aa[_0x1af595(0x289)]?_0x1c1f61:null;}let Z=class{constructor(_0x1ca289,_0x450375,_0x5f008d,_0x23ddd2){const _0x557b58=_0x420134;this[_0x557b58(0x1c1)]=_0x1ca289,this[_0x557b58(0x178)]=_0x450375,this[_0x557b58(0x286)]=_0x5f008d,this[_0x557b58(0x2ed)]=_0x23ddd2,z(this,_0x557b58(0x255),_0x557b58(0x309)),z(this,'_snapshotRefreshers',new WeakMap());}['createObject'](_0x5c5edc){const _0x99d8bd=_0x420134;let _0x219ef8=Qr(_0x5c5edc);if(!_0x219ef8)return null;let _0xeff137=Math[_0x99d8bd(0x331)](0x1,_0x5c5edc[_0x99d8bd(0x1e2)][_0x99d8bd(0x22a)]),_0x4bc186=Math['max'](0x1,_0x5c5edc['bounds'][_0x99d8bd(0x233)]),_0x2b69a3=new Yr(_0x5c5edc[_0x99d8bd(0x206)],{'url':_0x99d8bd(0x30f),'left':_0x5c5edc['bounds']['left'],'top':_0x5c5edc[_0x99d8bd(0x1e2)][_0x99d8bd(0x254)],'width':_0xeff137,'height':_0x4bc186,'angle':_0x5c5edc['bounds'][_0x99d8bd(0x340)],'flipX':_0x5c5edc[_0x99d8bd(0x1e2)][_0x99d8bd(0x349)],'flipY':_0x5c5edc[_0x99d8bd(0x1e2)][_0x99d8bd(0x17c)],'zIndex':_0x5c5edc['zIndex'],'visible':_0x219ef8[_0x99d8bd(0x22c)]!==!0x1,'evented':!0x0,'forceRender':!0x0,'element':_0x219ef8,'frameStyle':this[_0x99d8bd(0x1b2)](_0x5c5edc[_0x99d8bd(0x27a)],_0x219ef8)});return this[_0x99d8bd(0x18a)](_0x2b69a3,this[_0x99d8bd(0x337)](_0x5c5edc['unitId'],_0x2b69a3),_0x5c5edc[_0x99d8bd(0x27a)]),_0x2b69a3;}[_0x420134(0x1d0)](_0x3bebae,_0x1f5997){const _0xf83d78=_0x420134;var _0x4cc713;if(!(_0x3bebae instanceof Yr))return!0x1;let _0x386402=Qr(_0x1f5997);return _0x386402?(_0x1f5997['preserveTransform']||_0x3bebae[_0xf83d78(0x312)](_0x1f5997[_0xf83d78(0x1e2)]),_0x3bebae[_0xf83d78(0x13f)](_0x386402),this[_0xf83d78(0x2c9)](_0x1f5997[_0xf83d78(0x27a)],_0x3bebae),(_0x4cc713=this['_snapshotRefreshers'][_0xf83d78(0x239)](_0x3bebae))==null||_0x4cc713(),!0x0):!0x1;}[_0x420134(0x18a)](_0x28ab38,_0x1b16fe,_0x4343f5){const _0x68a272=_0x420134;if(!_0x1b16fe)return;let _0x57038d=null,_0x1d35d9=null,_0x116ad6=!0x1,_0x40e480=_0x3a3b8c=>{const _0x9df857=_0x1b7a;if(_0x1d35d9!==_0x3a3b8c){if(_0x57038d==null||_0x57038d[_0x9df857(0x146)](),_0x57038d=null,_0x1d35d9=_0x3a3b8c,_0x3a3b8c[_0x9df857(0x2a6)]===_0x9df857(0x1ee)&&_0x3a3b8c[_0x9df857(0x191)]){_0x28ab38[_0x9df857(0x1de)](_0x3a3b8c['dataUrl']);return;}_0x3a3b8c[_0x9df857(0x2a6)]==='pending'&&(_0x57038d=this[_0x9df857(0x178)][_0x9df857(0x291)]['subscribe'](_0x52e14d=>{const _0x12d88b=_0x9df857;if(_0x52e14d!==_0x3a3b8c||_0x52e14d[_0x12d88b(0x2a6)]!==_0x12d88b(0x1ee)||!_0x52e14d[_0x12d88b(0x191)]){if(_0x52e14d===_0x3a3b8c&&_0x52e14d['status']===_0x12d88b(0x1a0)&&!_0x116ad6){_0x116ad6=!0x0;let _0x1a7f07=this[_0x12d88b(0x337)](_0x4343f5,_0x28ab38);_0x1a7f07&&_0x40e480(_0x1a7f07);}return;}_0x28ab38['changeChartSource'](_0x52e14d[_0x12d88b(0x191)]),_0x57038d==null||_0x57038d[_0x12d88b(0x146)](),_0x57038d=null;}));}};_0x40e480(_0x1b16fe);let _0x3f32b9=()=>{const _0x1e1973=_0x1b7a;_0x116ad6=!0x1;let _0x38e792=this[_0x1e1973(0x337)](_0x4343f5,_0x28ab38);_0x38e792&&_0x40e480(_0x38e792);};this[_0x68a272(0x35f)][_0x68a272(0x1bd)](_0x28ab38,_0x3f32b9);let _0x52d7b9=this[_0x68a272(0x178)][_0x68a272(0x287)]['subscribe'](_0x2fe6fe=>{const _0x5230c2=_0x68a272;_0x2fe6fe[_0x5230c2(0x27a)]===_0x4343f5&&_0x2fe6fe[_0x5230c2(0x2f1)]===_0x28ab38['getElement']()[_0x5230c2(0x2f1)]&&_0x3f32b9();});_0x28ab38['onDispose$'][_0x68a272(0x21f)](()=>{const _0x25334a=_0x68a272;_0x57038d==null||_0x57038d[_0x25334a(0x146)](),_0x52d7b9[_0x25334a(0x146)](),this[_0x25334a(0x35f)]['delete'](_0x28ab38);});}[_0x420134(0x337)](_0x5833c6,_0x57fdae){const _0x597da4=_0x420134;let _0x4d9849=this[_0x597da4(0x2c9)](_0x5833c6,_0x57fdae),_0x9d07d9=yr({'width':Math[_0x597da4(0x331)](0x1,_0x57fdae[_0x597da4(0x22a)]),'height':Math['max'](0x1,_0x57fdae[_0x597da4(0x233)])},_0x4d9849);return this[_0x597da4(0x178)]['requestSnapshot']({'unitId':_0x5833c6,'chartId':_0x57fdae[_0x597da4(0x301)]()['chartId'],'width':_0x9d07d9['width'],'height':_0x9d07d9['height'],'mode':_0x597da4(0x200)});}[_0x420134(0x2c9)](_0x2b258a,_0x56fa5e){const _0x3c23d0=_0x420134;let _0x342406=this[_0x3c23d0(0x1b2)](_0x2b258a,_0x56fa5e[_0x3c23d0(0x301)]());return _0x56fa5e[_0x3c23d0(0x17a)](_0x342406),_0x342406;}['_resolveFrameStyle'](_0xf69f8b,_0x34e833){const _0x4cd75c=_0x420134;var _0x279c91;let _0x49ea43=(_0x279c91=this[_0x4cd75c(0x286)][_0x4cd75c(0x25d)](_0xf69f8b,_0x34e833[_0x4cd75c(0x2f1)]))==null?void 0x0:_0x279c91['style'];return vr({'chartStyle':_0x49ea43,'chartElement':_0x34e833,'hostFill':_0x49ea43?this['_renderService']['getHostStyle'](_0x49ea43)['fill']:void 0x0,'isDarkMode':this[_0x4cd75c(0x1c1)][_0x4cd75c(0x15b)]});}};Z=V([B(0x0,_0x562f55(_0x266ec7)),B(0x1,_0x562f55(J)),B(0x2,_0x562f55(_0x8c60)),B(0x3,_0x562f55(q))],Z);function $r(_0x3e4d28){const _0x90c0d0=_0x420134;return _0x3e4d28[_0x90c0d0(0x304)]===_0xbbe6aa['Chart'];}let Q=class{constructor(_0x4caea8){const _0x573837=_0x420134;this['_resourceService']=_0x4caea8,z(this,'key',_0x573837(0x2fe));}[_0x420134(0x353)](_0x5651c0){const _0x1558cd=_0x420134;let _0x40e3ab={},_0xba70b5={},_0x1a1591={};return _0x5651c0['elements'][_0x1558cd(0x1f1)](_0xca2985=>{const _0x512a95=_0x1558cd;if(!$r(_0xca2985))return;let _0x5dd750=this[_0x512a95(0x286)][_0x512a95(0x25d)](_0x5651c0[_0x512a95(0x27a)],_0xca2985[_0x512a95(0x2f1)]),_0x5e9b23=_0x5dd750?this[_0x512a95(0x286)][_0x512a95(0x1e4)](_0x5651c0[_0x512a95(0x27a)],_0x5dd750[_0x512a95(0x1bc)]):void 0x0;!_0x5dd750||!_0x5e9b23||(_0x40e3ab[_0x5dd750['id']]=_0x2f6a92[_0x512a95(0x192)](_0x5dd750),_0xba70b5[_0x5e9b23['id']]=_0x5e9b23,_0x1a1591[_0xca2985['id']]=_0x5dd750['id']);}),Object[_0x1558cd(0x2b6)](_0x40e3ab)['length']===0x0?null:{'charts':_0x40e3ab,'dataSources':_0xba70b5,'chartIdByElementId':_0x1a1591};}[_0x420134(0x2ad)](_0x8b4b2b){const _0x2948ef=_0x420134;if(!ei(_0x8b4b2b['payload']))return null;let _0x548325=_0x8b4b2b['payload'],_0xb6c86c=new Map();_0x8b4b2b[_0x2948ef(0x2a5)][_0x2948ef(0x1f1)]((_0x5b6758,_0x5411eb)=>{const _0x5ef7a8=_0x2948ef;_0xb6c86c[_0x5ef7a8(0x1bd)](_0x5b6758,_0x5411eb);});let _0x4ce9dc=new Map(),_0x283d96=new Map(),_0x34742f=_0x8b4b2b[_0x2948ef(0x2fb)]['map'](_0x15768d=>{const _0x3b4548=_0x2948ef;if(!$r(_0x15768d))return _0x15768d;let _0x537de0=_0xb6c86c[_0x3b4548(0x239)](_0x15768d['id']),_0x47a583=_0x537de0?_0x548325[_0x3b4548(0x17e)][_0x537de0]:void 0x0;if(!_0x47a583||!_0x548325[_0x3b4548(0x324)][_0x47a583])return _0x15768d;let _0xaa1666=_0x4ce9dc[_0x3b4548(0x239)](_0x47a583);return _0xaa1666||(_0xaa1666=_0x28db8b(0x6),_0x4ce9dc[_0x3b4548(0x1bd)](_0x47a583,_0xaa1666)),{..._0x15768d,'chartId':_0xaa1666};});_0x4ce9dc[_0x2948ef(0x1f1)]((_0x1fc726,_0x3fa63d)=>{const _0x27c90a=_0x2948ef;var _0x2f7d6d;let _0x3d8b33=(_0x2f7d6d=_0x548325[_0x27c90a(0x324)][_0x3fa63d])==null?void 0x0:_0x2f7d6d['dataSourceId'];_0x3d8b33&&!_0x283d96[_0x27c90a(0x165)](_0x3d8b33)&&_0x283d96[_0x27c90a(0x1bd)](_0x3d8b33,_0x28db8b(0x6));});let _0x1df832=[];_0x283d96[_0x2948ef(0x1f1)]((_0x41de74,_0x14f30a)=>{const _0x34cdde=_0x2948ef;let _0x59c185=_0x548325[_0x34cdde(0x1aa)][_0x14f30a];_0x59c185&&_0x1df832[_0x34cdde(0x2b9)]({..._0x59c185,'id':_0x41de74});});let _0x24a336=[];return _0x4ce9dc[_0x2948ef(0x1f1)]((_0x3ca471,_0x2cfc32)=>{const _0xc15b47=_0x2948ef;let _0x5afff4=_0x548325[_0xc15b47(0x324)][_0x2cfc32],_0x1cbbeb=_0x5afff4?_0x283d96['get'](_0x5afff4[_0xc15b47(0x1bc)]):void 0x0;!_0x5afff4||!_0x1cbbeb||_0x24a336[_0xc15b47(0x2b9)]({..._0x5afff4,'id':_0x3ca471,'dataSourceId':_0x1cbbeb});}),_0x24a336[_0x2948ef(0x23d)]===0x0?null:{'elements':_0x34742f,'redoMutations':[..._0x1df832[_0x2948ef(0x21c)](_0x53589e=>({'id':_0x34a8cb['id'],'params':{'unitId':_0x8b4b2b['targetUnitId'],'dataSource':_0x53589e}})),..._0x24a336['map'](_0x5620cc=>({'id':_0x47addf['id'],'params':{'unitId':_0x8b4b2b['targetUnitId'],'chart':_0x5620cc}}))],'undoMutations':[..._0x24a336['map'](_0x5e91ef=>({'id':_0x57425b['id'],'params':{'unitId':_0x8b4b2b[_0x2948ef(0x2e2)],'chartId':_0x5e91ef['id']}})),..._0x1df832['map'](_0x41b844=>({'id':_0xccd2ef['id'],'params':{'unitId':_0x8b4b2b[_0x2948ef(0x2e2)],'dataSourceId':_0x41b844['id']}}))]};}};Q=V([B(0x0,_0x562f55(_0x8c60))],Q);function ei(_0xf729f3){const _0x28ca7f=_0x420134;if(!_0xf729f3||typeof _0xf729f3!='object')return!0x1;let _0x248e05=_0xf729f3;return!!_0x248e05[_0x28ca7f(0x324)]&&!!_0x248e05[_0x28ca7f(0x1aa)]&&!!_0x248e05[_0x28ca7f(0x17e)];}let ti=class extends _0x37367c{constructor(_0x2f3f98,_0x3746e8){const _0x50f0b4=_0x420134;super(),this[_0x50f0b4(0x178)]=_0x3746e8,this[_0x50f0b4(0x28f)](_0x2f3f98[_0x50f0b4(0x161)](this));}['supports'](_0x45fe51){return'unitId'in _0x45fe51&&'getElement'in _0x45fe51;}[_0x420134(0x160)](_0x4f583f){const _0x9fc8bd=_0x420134;if(!this[_0x9fc8bd(0x265)](_0x4f583f))return Promise[_0x9fc8bd(0x296)](void 0x0);let _0xbd7608=_0x4f583f[_0x9fc8bd(0x1e9)]()[_0x9fc8bd(0x213)];return this[_0x9fc8bd(0x178)]['exportImage']({'unitId':_0x4f583f[_0x9fc8bd(0x27a)],'chartId':_0x4f583f[_0x9fc8bd(0x207)](),'width':Math[_0x9fc8bd(0x331)](0x1,(_0xbd7608==null?void 0x0:_0xbd7608[_0x9fc8bd(0x22a)])??0x1),'height':Math[_0x9fc8bd(0x331)](0x1,(_0xbd7608==null?void 0x0:_0xbd7608[_0x9fc8bd(0x233)])??0x1),'mode':_0x9fc8bd(0x200)});}};ti=V([B(0x0,_0x562f55(_0x5802b4)),B(0x1,_0x562f55(J))],ti);const ni=_0x420134(0x177);let $=class extends _0x10d04f{constructor(_0x15e12a=Un,_0x3237da,_0x2d70db,_0x46f96c){const _0xa71f48=_0x420134;super(),this[_0xa71f48(0x2c2)]=_0x15e12a,this['_injector']=_0x3237da,this[_0xa71f48(0x2c3)]=_0x2d70db,this[_0xa71f48(0x2a7)]=_0x46f96c,z(this,_0xa71f48(0x180),null);let {..._0xd53ffe}=_0x42b868({},Un,this[_0xa71f48(0x2c2)]);this[_0xa71f48(0x2c3)][_0xa71f48(0x243)](Hn,_0xd53ffe);}[_0x420134(0x211)](){const _0x5d9f4f=_0x420134;this[_0x5d9f4f(0x28f)](this['_injector'][_0x5d9f4f(0x239)](_0x1fe324)[_0x5d9f4f(0x18f)](ar)),[[q],[J],[ti],[U,{'useClass':Xn}],[G],[H],[X],[Z],[Q],[Y],[Jr]][_0x5d9f4f(0x1f1)](_0x3ea398=>this['_injector'][_0x5d9f4f(0x1c3)](_0x3ea398)),_0x1e7ffb(this[_0x5d9f4f(0x195)],[[q],[J],[ti],[U],[G],[H],[X]]),this[_0x5d9f4f(0x195)]['get'](Jr);let _0xe57163=this[_0x5d9f4f(0x195)][_0x5d9f4f(0x239)](Z);this[_0x5d9f4f(0x180)]=_0xe57163,this[_0x5d9f4f(0x34b)](_0xe57163),this[_0x5d9f4f(0x28f)](_0x114177(()=>{const _0x531115=_0x5d9f4f;this[_0x531115(0x149)](_0xe57163),this['_adapter']=null;}));let _0x16ee28=this[_0x5d9f4f(0x195)]['get'](_0x52cf4e);this[_0x5d9f4f(0x28f)](_0x16ee28['registerAdapter'](this[_0x5d9f4f(0x195)][_0x5d9f4f(0x239)](Q))),this['disposeWithMe'](this[_0x5d9f4f(0x195)]['get'](Y));}[_0x420134(0x30a)](){const _0x5b3fbc=_0x420134;this[_0x5b3fbc(0x28f)](this[_0x5b3fbc(0x2a7)][_0x5b3fbc(0x35a)](_0x707cea[_0x5b3fbc(0x2e7)],W)),this['disposeWithMe'](this[_0x5b3fbc(0x2a7)][_0x5b3fbc(0x35a)](_0x707cea[_0x5b3fbc(0x2e7)],jr)),this[_0x5b3fbc(0x28f)](this[_0x5b3fbc(0x2a7)]['registerRenderModule'](_0x707cea[_0x5b3fbc(0x2e7)],Cr)),this['disposeWithMe'](this[_0x5b3fbc(0x2a7)][_0x5b3fbc(0x35a)](_0x707cea[_0x5b3fbc(0x2e7)],nr));}[_0x420134(0x34b)](_0x4558c8){const _0x38b657=_0x420134;var _0x586499,_0x471141;let _0x398d14=this[_0x38b657(0x20a)](),_0x3aae28=_0x398d14[_0x38b657(0x1d7)]??[];_0x3aae28[_0x38b657(0x2f5)](_0x4558c8)||this[_0x38b657(0x2c3)][_0x38b657(0x243)](_0x3ce34f,{..._0x398d14,'additionalRenderAdapters':[..._0x3aae28,_0x4558c8],'toolbar':{..._0x398d14[_0x38b657(0x1dd)],'tools':{...(_0x586499=_0x398d14[_0x38b657(0x1dd)])==null?void 0x0:_0x586499[_0x38b657(0x214)],[_0x3972cb['Chart']]:ri((_0x471141=_0x398d14[_0x38b657(0x1dd)])==null||(_0x471141=_0x471141['tools'])==null?void 0x0:_0x471141[_0x3972cb[_0x38b657(0x289)]])}}});}[_0x420134(0x149)](_0xdd346b){const _0x4af92c=_0x420134;var _0x128d98;let _0x591a5b=this[_0x4af92c(0x20a)](),_0x47a073=(_0x128d98=_0x591a5b[_0x4af92c(0x1d7)])==null?void 0x0:_0x128d98[_0x4af92c(0x27d)](_0x17a690=>_0x17a690!==_0xdd346b);this[_0x4af92c(0x2c3)][_0x4af92c(0x243)](_0x3ce34f,{..._0x591a5b,'additionalRenderAdapters':_0x47a073});}[_0x420134(0x20a)](){const _0x598209=_0x420134;return this['_configService'][_0x598209(0x18b)](_0x3ce34f)??{};}};z($,'pluginName',ni),z($,'packageName',Mr),z($,_0x420134(0x216),Nr),z($,_0x420134(0x304),_0x707cea[_0x420134(0x2e7)]),$=V([_0x12277f(_0x614a47,_0x165d51,_0x499738,_0x2d77e6,_0x5c1c8a,_0x4f6771),B(0x1,_0x562f55(_0xd63000)),B(0x2,_0xd2ea59),B(0x3,_0x4b3b8f)],$);function ri(_0x55f488){const _0x16d7dc=_0x420134;return _0x55f488===!0x1?!0x1:typeof _0x55f488!=_0x16d7dc(0x16c)||{..._0x55f488,'enabled':_0x55f488[_0x16d7dc(0x2d3)]??!0x0};}export{Hn as BOARDS_CHART_UI_PLUGIN_CONFIG_KEY,ni as BOARDS_CHART_UI_PLUGIN_NAME,Or as BOARD_CHART_SNAPSHOT_BORDER_WIDTH,Q as BoardChartClipboardAdapter,G as BoardChartDataEditService,H as BoardChartEditSessionService,nr as BoardChartFloatingToolbarRenderController,W as BoardChartOpenEditController,Cr as BoardChartPanelController,Z as BoardChartRenderAdapter,q as BoardChartRenderService,jr as BoardChartSelectionController,Y as BoardChartSnapshotRefreshController,J as BoardChartSnapshotRenderService,Xn as BoardChartUIService,wr as BoardDomChartHost,Dr as IBoardChartSnapshotRendererService,U as IBoardChartUIService,$ as UniverBoardsChartUIPlugin,ri as enableChartTool,kr as resolveBoardChartSnapshotStyle};