@univerjs-pro/boards-mind-ui 1.0.0-rc.0 → 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (98) 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 +75 -0
  42. package/lib/index.js +1 -1
  43. package/lib/locale/ar-SA.js +1 -1
  44. package/lib/locale/ca-ES.js +1 -1
  45. package/lib/locale/de-DE.js +1 -1
  46. package/lib/locale/en-US.js +1 -1
  47. package/lib/locale/es-ES.js +1 -1
  48. package/lib/locale/fa-IR.js +1 -1
  49. package/lib/locale/fr-FR.js +1 -1
  50. package/lib/locale/id-ID.js +1 -1
  51. package/lib/locale/it-IT.js +1 -1
  52. package/lib/locale/ja-JP.js +1 -1
  53. package/lib/locale/ko-KR.js +1 -1
  54. package/lib/locale/pl-PL.js +1 -1
  55. package/lib/locale/pt-BR.js +1 -1
  56. package/lib/locale/ru-RU.js +1 -1
  57. package/lib/locale/sk-SK.js +1 -1
  58. package/lib/locale/vi-VN.js +1 -1
  59. package/lib/locale/zh-CN.js +1 -1
  60. package/lib/locale/zh-HK.js +1 -1
  61. package/lib/locale/zh-TW.js +1 -1
  62. package/lib/types/controllers/board-mind-map-insert.render-controller.d.ts +10 -3
  63. package/lib/types/controllers/board-mind-map-panel.controller.d.ts +1 -3
  64. package/lib/types/controllers/components.controller.d.ts +2 -2
  65. package/lib/types/controllers/mobile/board-mind-map-insert.render-controller.d.ts +7 -0
  66. package/lib/types/controllers/mobile/board-mind-map-panel.controller.d.ts +12 -0
  67. package/lib/types/controllers/mobile/components.controller.d.ts +7 -0
  68. package/lib/types/index.d.ts +1 -0
  69. package/lib/types/locale/en-US.d.ts +9 -0
  70. package/lib/types/mobile-plugin.d.ts +18 -0
  71. package/lib/types/plugin.d.ts +3 -0
  72. package/lib/types/render-objects/board-mind-map-node-controls-object.d.ts +4 -3
  73. package/lib/types/utils/mind-map-node-controls.util.d.ts +1 -0
  74. package/lib/types/views/BoardMindMapMobileStylePanel.d.ts +7 -0
  75. package/lib/types/views/BoardMindMapPanel.d.ts +56 -5
  76. package/lib/types/views/mobile/BoardMobileMindMapFloatingToolbar.d.ts +3 -0
  77. package/lib/types/views/mobile/BoardMobileMindMapPanel.d.ts +2 -0
  78. package/lib/umd/index.js +1 -1
  79. package/lib/umd/locale/ar-SA.js +1 -1
  80. package/lib/umd/locale/ca-ES.js +1 -1
  81. package/lib/umd/locale/de-DE.js +1 -1
  82. package/lib/umd/locale/en-US.js +1 -1
  83. package/lib/umd/locale/es-ES.js +1 -1
  84. package/lib/umd/locale/fa-IR.js +1 -1
  85. package/lib/umd/locale/fr-FR.js +1 -1
  86. package/lib/umd/locale/id-ID.js +1 -1
  87. package/lib/umd/locale/it-IT.js +1 -1
  88. package/lib/umd/locale/ja-JP.js +1 -1
  89. package/lib/umd/locale/ko-KR.js +1 -1
  90. package/lib/umd/locale/pl-PL.js +1 -1
  91. package/lib/umd/locale/pt-BR.js +1 -1
  92. package/lib/umd/locale/ru-RU.js +1 -1
  93. package/lib/umd/locale/sk-SK.js +1 -1
  94. package/lib/umd/locale/vi-VN.js +1 -1
  95. package/lib/umd/locale/zh-CN.js +1 -1
  96. package/lib/umd/locale/zh-HK.js +1 -1
  97. package/lib/umd/locale/zh-TW.js +1 -1
  98. package/package.json +15 -14
package/lib/umd/index.js CHANGED
@@ -1 +1 @@
1
- function _0x4be6(_0x32bf6e,_0x2cbc97){_0x32bf6e=_0x32bf6e-0x119;const _0x1833af=_0x1833();let _0x4be626=_0x1833af[_0x32bf6e];return _0x4be626;}function _0x1833(){const _0x3ceb49=['strikethrough','_isPointInBounds','boards-mind-ui.toolbar.panel.line','primaryColor','IBoardElementService','objectAlpha','dispose','forEach','_handleElementUpdate','getObject','ShapeStrokePanelContent','viewBox','4843176RlnOMC','offsetX','board.mind-map.panel','univer-w-full\x20univer-text-xs','sourceHighlightStrokeColor','SHAPE_TEXT_EDITOR_QUOTE_COMMAND_ID','_resolveIncomingConnectorStyle','more','registerCommand','SHIFT','makeDirty','vertical','ICommandService','boards-mind-ui.panel.structureKind.mindmapVertical','_countDescendants','_elementStateService','useLayoutEffect','VerticalAlign','univer-min-w-0\x20univer-flex-1\x20univer-justify-start\x20univer-truncate\x20univer-text-left','_objectEventDisposables','_activeNodeId','dash','hoveredControl','_attachActivePointerDragListeners','MIND_MAP_DEFAULT_NODE_TEXT','M31\x2013c9\x208\x209\x2022\x2018\x2030M49\x2013c-9\x208-9\x2022-18\x2030M31\x2013c-7\x204-9\x209-9\x2015s2\x2011\x209\x2015M49\x2013c7\x204\x209\x209\x209\x2015s-2\x2011-9\x2015','subUnitId','fill','_createKeyboardShortcutOperation','boards-mind-ui.alignLeft','_resolveChildDragTopologyAction','_getLiveObjectBounds','defineProperty','stopPropagation','setContextValue','493330tSuPsl','foreignAttributes','beginPath','_cloneBlueprint','M15\x2031h50M35\x2031V18c0-4\x203-7\x208-7h9M35\x2031v13c0\x204\x203\x207\x208\x207h9','Inject','getRenderUnitById','merge','_restoreActivePreview','setHoveredControl','getOwnPropertyDescriptor','univer-grid\x20univer-h-14\x20univer-overflow-hidden\x20univer-rounded-xl\x20univer-bg-gray-100\x20univer-p-1','boards-mind-ui.panel.addText','mind-map-stroke','_getElementKey','_attachObjectPointerScheduled','_resolveSelectedEntry','Timeline','Dash','UniverUi','ghostRadius','onPointerMove$','getTemplate','join','MIDDLE','direction','notify','SHAPE_FLOATING_TOOLBAR_DEFAULT_STROKE_COLOR','pluginName','collapse-all','add-sibling-before','_captureDragStart','documentTextStyleToBoardShapeTextStyle','_deleteSelectedNode','shapeText','_showPopupForSelection','_previewObject','BOARD_SHORTCUT_BINDINGS','_stateService','_clearPopup','add-child-left','nodeId','child','_uiStateService','strokeOpacity','univer-bg-[#e8eefc]\x20univer-text-[#2f6fed]\x20hover:univer-bg-[#e8eefc]','_syncLayoutPreview','_resolveDirtyBounds','BOARD_RENDER_LAYER_INDEX','search-icon','11jBJIGe','string','_getBoardsUIConfig','dropEffect','dragObjectAlpha','fillStyle','localeService','_subscribeElementDataChanges','true','paste','boards-mind-ui.panel.branchLineType.orthogonal','timeline-vertical','textAlign','clipboardService','scene','BoardElementType','ReparentMindMapNodeOperation','Mind\x20map','elementId','_provider','center','_pasteAsNewMindMap','_shortcutService','placement','_consumeControlEvent','_consumePointerEvent','root','_popupDisposable','univer-min-w-[240px]','_scheduleAttachObjectPointerListeners','length','isFinite','sort','evented','connectorData','_childDragActivated','ShapeLineDashEnum','symbol','react/jsx-runtime','jsx','resolve','clsx','color','object','label','toLowerCase','ChangeMindMapBranchLineTypeOperation','MIND_MAP_LAYOUT_SPACING_LIMITS','UniverDesign','getObjectIncludeInGroup','getPayload','AlignTextBothIcon','_contextService','1.0.0-rc.0','_activePreview','beginMindMapMode','UndoRedoGroupService','1.8','referenceNodeId','moveTo','toolbar','idSuffix','getSelectedObjectMap','hasChildren','_resolvePreviewTextStyle','ShapeStrokePanelButton','TypographyPanelButton','getTransformerByCreate','_applyRootTranslation','_boardTextEditingService','style','structureScopeId','hasAttribute','UniverProBoardsUi','rootHeight','_handlePointerMove','both','forwardRef','boards-mind-ui.toolbar.action.layout','bold','_resolveNodeSize','univer-flex\x20univer-w-full\x20univer-flex-col\x20univer-gap-4','0\x200\x2016\x2016','engine','description','41508gcbKkv','orthogonal','DEFAULT_STYLES','_executeCreateAndEdit','reduce','horizontalAlign','getContextValue','_activeScopeId','_mindMapClipboardService','boards-mind-ui.panel.exportOPML','addSiblingNode','siblingGap','hide','_syncChildDragPreview','UniverProBoardsMind','success','has','visible','siblingDotRadius','UniverProBoards','_getMindMapChildren','_injector','IContextService','univer-flex\x20univer-gap-2','_applyScopeTranslation','getActivePageId','add-child','InputNumber','changeStart$','M3.33315\x2012.9004C3.00178\x2012.9004\x202.73315\x2013.169\x202.73315\x2013.5004C2.73315\x2013.8318\x203.00178\x2014.1004\x203.33315\x2014.1004H12.6665C12.9979\x2014.1004\x2013.2665\x2013.8318\x2013.2665\x2013.5004C13.2665\x2013.169\x2012.9979\x2012.9004\x2012.6665\x2012.9004H3.33315Z','_pasteUnderSelectedNode','changeEnd$','dropdown','BoardTextEditingService','mind-map-layout-dropdown','documentStyle','activeTool','state$','shape-line-icon','structure','_queuedLayouts','_addChild','board.mind-map.description-dialog','right-justifying-icon','Injector','boards-mind-ui.toolbar.primary.line','setActiveTool','_note','arrow-left','textBaseline','BoardToolType','toggle-collapse','line','M1.9999\x201.89941C1.66853\x201.89941\x201.3999\x202.16804\x201.3999\x202.49941C1.3999\x202.83078\x201.66853\x203.09941\x201.9999\x203.09941H13.9999C14.3313\x203.09941\x2014.5999\x202.83078\x2014.5999\x202.49941C14.5999\x202.16804\x2014.3313\x201.89941\x2013.9999\x201.89941H1.9999Z','mindmap-vertical','number','0\x200\x2080\x2056','then','ShapeFloatingToolbarFontSizeSelect','M16\x2028c16\x200\x2025-13\x2043-13M16\x2028c16\x200\x2025\x2013\x2043\x2013','setConfig','max','@univerjs/core','connector','text','ENTER','subscribeEvent','_copySelectedNode','siblingHoverRadius','@univerjs/design','opml','path','boards-mind-ui.panel.structureKind.treeRight','ShapeFloatingToolbarDropdownTrigger','underline','preview','getPropertyPriority','transformByState','values','lineWidth','ghostTextColor','delete','getPropertyValue','M7.71899\x201.36938C4.37604\x201.36938\x201.66602\x204.07941\x201.66602\x207.42236C1.66602\x2010.7653\x204.37604\x2013.4753\x207.71899\x2013.4753C9.16744\x2013.4753\x2010.4971\x2012.9666\x2011.5389\x2012.118L13.6598\x2014.4109C13.8848\x2014.6542\x2014.2644\x2014.669\x2014.5077\x2014.444C14.7509\x2014.219\x2014.7657\x2013.8393\x2014.5407\x2013.5961L12.3906\x2011.2716C13.2536\x2010.2254\x2013.772\x208.88442\x2013.772\x207.42236C13.772\x204.07941\x2011.0619\x201.36938\x207.71899\x201.36938ZM2.86602\x207.42236C2.86602\x204.74215\x205.03878\x202.56938\x207.71899\x202.56938C10.3992\x202.56938\x2012.572\x204.74215\x2012.572\x207.42236C12.572\x2010.1026\x2010.3992\x2012.2753\x207.71899\x2012.2753C5.03878\x2012.2753\x202.86602\x2010.1026\x202.86602\x207.42236Z','UniverLicensePlugin','activeEditingId','width','univer-space-y-3','_resetContext','AddMindMapChildOperation','current','vertical-center-icon','getMindMapNodeMeta','board.mind-map.floating-toolbar','editCurrentNode','left','dataModel','collapsedDescendantCount','_navigateByTopology','tree-right','setTemplate','boards-mind-ui.config','removeEventListener','ignoreExternalFocusChanges','_state','getMindMapDefaultChildOrderKey','hadStyleAttribute','element','rxjs','_removeObject','skipNextObservers','localName','branch','BaseObject','childNodeId','SquareDot','middle','M1.3999\x202.3002C1.3999\x202.63157\x201.66853\x202.9002\x201.9999\x202.9002H13.9999C14.3313\x202.9002\x2014.5999\x202.63157\x2014.5999\x202.3002C14.5999\x201.96882\x2014.3313\x201.7002\x2013.9999\x201.7002H1.9999C1.66853\x201.7002\x201.3999\x201.96882\x201.3999\x202.3002Z','fontSize','FOCUSING_MIND_MAP_TEXT_EDITOR','lineJoin','timeline-horizontal','_syncDragPreview','SHAPE_FLOATING_TOOLBAR_DEFAULT_TEXT_BACKGROUND_COLOR','strokeWidth','Segmented','run','align-text-both-icon','MoreHorizontalIcon','onDblclick$','_isPopupSelectionStillActive','M21\x2028h38M40\x2011v34M28\x2016c7\x204\x2010\x208\x2012\x2012\x202-4\x205-8\x2012-12M28\x2040c7-4\x2010-8\x2012-12\x202\x204\x205\x208\x2012\x2012','LocaleService','UniverInstanceType','opacity','rootRadius','SHAPE_FLOATING_TOOLBAR_DEFAULT_TEXT_COLOR','_childDragSelectionHidden','button','_getBlankBoardContext','M12\x2015h9M12\x2028h9M12\x2041h9M59\x2015h9M59\x2028h9M59\x2041h9','exec','UpdateMindMapNodeOperation','ghostFontWeight','rgb','clearPendingInsert','_cloneBlueprintNode','getBoardElementRenderObjectKey','SearchIcon','AddMindMapSiblingOperation','lineWidthScreen','mind-map-font-size','@univerjs-pro/shape-editor-ui','labelKey','M8\x209C8.55228\x209\x209\x208.55228\x209\x208C9\x207.44772\x208.55228\x207\x208\x207C7.44772\x207\x207\x207.44772\x207\x208C7\x208.55228\x207.44772\x209\x208\x209Z','univer-size-5','_createShortcutItems','boards-mind-ui.alignCenter','KeyCode','_removePreviewObject','_normalizeChildren','M3\x209C3.55228\x209\x204\x208.55228\x204\x208C4\x207.44772\x203.55228\x207\x203\x207C2.44772\x207\x202\x207.44772\x202\x208C2\x208.55228\x202.44772\x209\x203\x209Z','_collapseAll','handleShortcut','univer-mb-3\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-900\x20dark:!univer-text-gray-100','HorizontalAlign','boards-mind-ui.alignBottom','_componentManager','mind-map-fill','_pointerDragStart','0\x200\x2024\x2024','div','_object','rootChildSides','buttons','scope','unsubscribe','_clearPopupIfSelectionChanged','ImportMindMapOpmlOperation','allowRootReparent','Shape','dashType','onStarting','structureKind','selectElements','solid','interactionMode','navigator','_undoRedoGroupService','BoardShapeIntrinsicSizeService','min','univer-text-xs\x20univer-text-gray-500','Fragment','sourceHaloScreen','paste-as-new','1em','structured','_enableMindMapToolbarTool','makeDirtyNoDebounce','pendingInsert','18662204hukqaP','textFill','parentBounds','_previewHostSize','clientX','align-top-icon','move','createElement','TextFillButton','syncBoardElementRenderObject','arrow-up','getElementById','depth','399BVabVM','@univerjs/ui','writeText','clearSelection','italic','DeleteMindMapNodeOperation','getMindMapContainerMeta','_layoutFlushScheduled','parentNodeId','copy','attrs','useState','decorate','RxDisposable','getSnapshot','removeProperty','_cancelPointerChildDrag','renderContext','_hideSelectionForChildDrag','zoomRatio','effectAllowed','url(#$1','univer-h-9\x20univer-w-12','_resolveCurrentBoardContext','Input','_executeAndLayout','pointermove','setShapeSidebarOpen','elementService','ArrowRight','registerShortcut','Branch','includes','univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-xs\x20univer-text-gray-600','_syncContext','render','popup','localeCompare','_commandService','UniverCore','curve','typography','univer-h-28\x20univer-resize-none\x20univer-text-xs','UniverProLicense','getConfig','circle','shapeId','M13\x209C13.5523\x209\x2014\x208.55228\x2014\x208C14\x207.44772\x2013.5523\x207\x2013\x207C12.4477\x207\x2012\x207.44772\x2012\x208C12\x208.55228\x2012.4477\x209\x2013\x209Z','round','replace','targetNodeId','_getSelectedMindMapContext','siblingDotGap','context','_activePointerDragDisposables','M4.66665\x205.56641C4.33528\x205.56641\x204.06665\x205.83504\x204.06665\x206.16641C4.06665\x206.49778\x204.33528\x206.76641\x204.66665\x206.76641H14C14.3314\x206.76641\x2014.6\x206.49778\x2014.6\x206.16641C14.6\x205.83504\x2014.3314\x205.56641\x2014\x205.56641H4.66665Z','nodeWidth','tag','focus','resolveMindMapBranchLineTypeForStructure','board-mind-map-description-dialog','_getPointerScreenPoint','ARROW_UP','_executeChildDragAction','transientPreviewForeground','packageName','exports','_handlePointerDown','M16\x2029h18c7\x200\x2010-5\x2010-12v-3M34\x2029h10c7\x200\x2010\x205\x2010\x2012v3','setEditing','open','left-justifying-icon','_getZoomRatio','rounded-orthogonal','VerticalCenterIcon','fontColor','add-child-bottom','_resolveControlBounds','M1.3999\x209.8334C1.3999\x209.50203\x201.66853\x209.2334\x201.9999\x209.2334H13.9999C14.3313\x209.2334\x2014.5999\x209.50203\x2014.5999\x209.8334C14.5999\x2010.1648\x2014.3313\x2010.4334\x2013.9999\x2010.4334H1.9999C1.66853\x2010.4334\x201.3999\x2010.1648\x201.3999\x209.8334Z','function','branch-curve','Button','asObservable','_toFiniteBounds','horizontalGap','M1.9999\x205.56641C1.66853\x205.56641\x201.3999\x205.83504\x201.3999\x206.16641C1.3999\x206.49778\x201.66853\x206.76641\x201.9999\x206.76641H13.9999C14.3313\x206.76641\x2014.5999\x206.49778\x2014.5999\x206.16641C14.5999\x205.83504\x2014.3313\x205.56641\x2013.9999\x205.56641H1.9999Z','getState','set','boards-mind-ui.panel.rename','Textarea','boards-mind-ui.description','getBoundingClientRect','_insertStateService','open-description','_resolveCompleteSelectedScope','react','verticalAlign','PasteMindMapAsNewMindMapOperation','ShapeFloatingToolbarMenuPanel','univer-size-full\x20univer-bg-gray-0\x20univer-text-sm\x20univer-text-gray-700\x20dark:!univer-bg-gray-900\x20dark:!univer-text-gray-200','univer-flex\x20univer-flex-col\x20univer-gap-2','toStringTag','selectedIds','M4.66665\x2012.9004C4.33528\x2012.9004\x204.06665\x2013.169\x204.06665\x2013.5004C4.06665\x2013.8318\x204.33528\x2014.1004\x204.66665\x2014.1004H14C14.3314\x2014.1004\x2014.6\x2013.8318\x2014.6\x2013.5004C14.6\x2013.169\x2014.3314\x2012.9004\x2014\x2012.9004H4.66665Z','boards-mind-ui.toolbar.action.fontColor','kind','style-divider','univer-mb-2\x20univer-text-lg\x20univer-text-gray-900','findIndex','side','M5.57564\x2011.5756L7.57564\x209.57564C7.80995\x209.34132\x208.18985\x209.34132\x208.42417\x209.57564L10.4242\x2011.5756C10.6585\x2011.81\x2010.6585\x2012.1899\x2010.4242\x2012.4242C10.1899\x2012.6585\x209.80995\x2012.6585\x209.57564\x2012.4242L8.5999\x2011.4484V14.6665C8.5999\x2014.9979\x208.33127\x2015.2665\x207.9999\x2015.2665C7.66853\x2015.2665\x207.3999\x2014.9979\x207.3999\x2014.6665V11.4484L6.42417\x2012.4242C6.18985\x2012.6585\x205.80995\x2012.6585\x205.57564\x2012.4242C5.34132\x2012.1899\x205.34132\x2011.81\x205.57564\x2011.5756Z','_resolvePreviewSourceBounds','keys','ShapeFloatingToolbarContent','M7.9999\x200.733398C8.33127\x200.733398\x208.5999\x201.00203\x208.5999\x201.3334V4.55137L9.57564\x203.57564C9.80995\x203.34132\x2010.1899\x203.34132\x2010.4242\x203.57564C10.6585\x203.80995\x2010.6585\x204.18985\x2010.4242\x204.42417L8.42417\x206.42417C8.18985\x206.65848\x207.80995\x206.65848\x207.57564\x206.42417L5.57564\x204.42417C5.34132\x204.18985\x205.34132\x203.80995\x205.57564\x203.57564C5.80995\x203.34132\x206.18985\x203.34132\x206.42417\x203.57564L7.3999\x204.55137V1.3334C7.3999\x201.00203\x207.66853\x200.733398\x207.9999\x200.733398Z','elementAdd$','complete','boards-mind-ui.panel.layout.right','vectorEffect','px\x20','jsxs','univer-border-b\x20univer-border-gray-200\x20univer-p-3','priority','_getSceneObject','none','M56\x2011h11M56\x2051h11','right','dividerBefore','elementData','791176DyJffM','_isChildDragPastActivationThreshold','some','_boardElementService','text/plain','_intrinsicSizeService','reparent','push','subscribe','15Rkgftp','boards-mind-ui.panel.structureKind.timelineHorizontal','addDescription','boards-mind-ui.panel.structureKind.timelineVertical','tree-diagram','univer-w-20\x20univer-shrink-0','more-horizontal-icon','find','save','target','amd','univer-flex\x20univer-min-w-0\x20univer-flex-1\x20univer-items-center\x20univer-gap-1','fallbackNodeHeight','M1.9999\x2012.9004C1.66853\x2012.9004\x201.3999\x2013.169\x201.3999\x2013.5004C1.3999\x2013.8318\x201.66853\x2014.1004\x201.9999\x2014.1004H13.9999C14.3313\x2014.1004\x2014.5999\x2013.8318\x2014.5999\x2013.5004C14.5999\x2013.169\x2014.3313\x2012.9004\x2013.9999\x2012.9004H1.9999Z','onReady','_openDescriptionDialog','ExportMindMapOpmlOperation','resolveBoardFloatingToolbarSelection','getElementData','M17\x2033h21M38\x2017v30M38\x2017h24','IRenderManagerService','rootTextColor','key','RoundDot','ghostBounds','univer-cursor-not-allowed\x20univer-text-gray-300\x20hover:univer-bg-transparent','incomingConnectorStyle','panel','after','closePath','boards-mind-ui.panel.searchNodes','addParentNode','_updateShapeText','M4.5\x207.5h4.2c1.9\x200\x203.3\x201.5\x203.3\x203.3v2.4c0\x201.8\x201.4\x203.3\x203.3\x203.3h4.2','Module','add-sibling-or-child','boards-mind-ui.toolbar.primary.more','_dragPreviewObject','_syncControls','setLineDash','_boardCanvasPopManagerService','removeObjects','_syncChildDragPreviewObject','board-mind-map-drag-preview-object','takeUntil','_isControlEvent','dataTransfer','M1.9999\x2012.9004C1.66853\x2012.9004\x201.3999\x2013.169\x201.3999\x2013.5004C1.3999\x2013.8318\x201.66853\x2014.1004\x201.9999\x2014.1004H11.3332C11.6646\x2014.1004\x2011.9332\x2013.8318\x2011.9332\x2013.5004C11.9332\x2013.169\x2011.6646\x2012.9004\x2011.3332\x2012.9004H1.9999Z','boards-mind-ui.panel.layout.both','iterator','resolveMindMapNodeHostSize','onPointerCancel$','UpdateMindMapIncomingConnectorOperation','dialogService','titleKey','_instanceService','ArrowUp','custom','layout-panel-divider','univer-h-7\x20univer-min-w-9\x20univer-w-auto\x20univer-gap-1\x20univer-px-1.5','_syncPointerChildDragPreview','@univerjs/engine-render','boards-mind-ui.panel.structureKind.treeLeft','tree-left','_resolveRootChildControlSides','ToggleMindMapNodeCollapseOperation','_restoreObjectToDragStart','univer-border-b\x20univer-border-gray-200\x20univer-p-4','_resolveHostSize','ChangeMindMapLayoutOperation','controls','ArrowLeft','TranslateMindMapOperation','_resolveCreateChildSide','branchGap','M19.5\x207.5h-4.2c-1.9\x200-3.3\x201.5-3.3\x203.3','IShortcutService','isMindMapPlainStructureKind','FOCUSING_MIND_MAP_NODE','changing$','IBoardElementStateService','_getBoardPointFromEvent','_disposeActivePointerDragListeners','_ensureDragPreviewObject','boards-mind-ui.alignJustify','activated$','React','top','BACKSPACE','parseFloat','TOP','constructor','flatMap','shapeData','ShapeFloatingToolbarIcon','_updateHostSize','_drawSourceHighlight','M3.5\x203.5L16.5\x2016.5','_syncElementDataToScene','boards-mind-ui.panel.branchLineType.roundedOrthogonal','isTransforming','boards-mind-ui.toolbar.panel.more','mindmap','univer-mb-3\x20univer-w-full','_configService','zIndex','_isActive','section','_resolveRootTopLeft','boards-mind-ui.toolbar.action.fill','prototype','elementUpdate$','icon','editingParams$','_instanceSrv','DependentOn','M56\x2012v32M56\x2019c0\x204-3\x206-7\x206h-7M56\x2029c0\x204-3\x206-7\x206h-7M56\x2039c0\x204-3\x206-7\x206h-7','FOCUSING_MIND_MAP_BLANK_BOARD','small','before','transientPreview','Dropdown','getInjector','getCanvasElement','LeftJustifyingIcon','_ensurePreviewObject','isHit','oldShapeText','univer-space-y-2','rootText','value','clientY','_queueLayout','_lastChildDragAction','DetachMindMapNodeOperation','map','UNIVER_BOARD','updateState','panOffset','renderGhostNode','svg','_nodeSizeByKey','sourceBounds','_refresh$','Disposable','_popupSelectionKey','boards-mind-ui.panel.structureKind.treeAlternate','_previewRefreshService','rgba(','tree-alternate','boards-mind-ui.panel.pasteOPML','addChildNode','LEFT','quadraticCurveTo','extraProps','_executeRootAnchoredLayout','observe','addEventListener','radius','top-center','@univerjs-pro/license','lineTo','_addSiblingOrChild','InsertBoardMindMapOperation','pipe','baseVal','boards-mind-ui.panel.spacing.parentGap','addSibling','_syncPreviewObject','entries','_createQuoteShortcut','onPointerDown$','elementStateService','buildShapeTextDataUpdate','close','bounds','LayoutMindMapOperation','primary','textColor','objects','default','dot','rootFontSize','rootNodeId','abs','getMindMapConnectorMeta','ShapeLineIcon','branch-orthogonal','get','newParentNodeId','ShapeLineTypeEnum','boards-mind-ui.panel.structureKind.mindmapHorizontal','univer-max-w-[min(760px,calc(100vw-32px))]','_buildPopupSelectionKey','font','http://www.w3.org/2000/svg','univer-w-[202px]\x20univer-rounded-xl\x20univer-border\x20univer-border-gray-200\x20univer-bg-gray-0\x20univer-px-4\x20univer-py-4\x20univer-shadow-lg','generateRandomId','importExport','fontFamily','ShapeFillButton','MIND_MAP_DEFAULT_NODE_SIZE','@univerjs-pro/engine-shape','getEditing','viewing','BOARD_RENDER_OBJECT_Z_INDEX','_init','_findChildNodeAtPoint','MetaKeys','defaultValue','arrow-down','restore','defIds','boards-mind-ui.toolbar.action.copy','parseInt','ARROW_RIGHT','boards-mind-ui.toolbar.primary.typography','boards-mind-ui.panel.branchLineType.curve','CommandType','Escape','registerAdapter','_seedExistingNodeSizes','pointercancel','_localeService','_textEditingService','branchLineType','_applyPointerChildDrag','M7.9999\x2010.5671C8.33127\x2010.5671\x208.5999\x2010.2985\x208.5999\x209.96714V2.30047C8.5999\x201.9691\x208.33127\x201.70047\x207.9999\x201.70047C7.66853\x201.70047\x207.3999\x201.9691\x207.3999\x202.30047V9.96714C7.3999\x2010.2985\x207.66853\x2010.5671\x207.9999\x2010.5671Z','add-child-top','BOARDS_UI_PLUGIN_CONFIG_KEY','from','_template','bottom','DisposableCollection','univer-mb-0','_renderContext','IDialogService','boards-mind-ui.panel.emptyNodes','originalStrokeWidth','filter','items','boards-mind-ui.panel.cancel','refresh$','trim','badgeFontSize','_removeDragPreviewObject','IMindMapClipboardService','boards-mind-ui.toolbar.action.delete','collapsed','offsetY','arrow-right','hypot','JUSTIFIED','interactionSurfaceActive$','univer-mb-4','boundsByElementId','stroke','#d8dce3','UniverProBoardsMindUi','syncExecuteCommand','params','IUniverInstanceService','viewportPanOffset','stroke-width','nodeHeight','item','_rememberNodeSize','strokeStyle','_attachObjectPointerListeners','6\x207','hideRootControls','rootWidth','fillText','_drawConnectorPreview','_executeNodeOperation','univer-flex\x20univer-h-12\x20univer-min-w-0\x20univer-items-center\x20univer-justify-center\x20univer-rounded-lg\x20univer-border-0\x20univer-bg-transparent\x20univer-p-0\x20univer-text-gray-900\x20univer-outline-none\x20univer-transition-colors\x20hover:univer-bg-gray-0','MindMap','_syncRootReparentPreview','edit-text','textEditingService','ghost','MIND_MAP_DEFAULT_LAYOUT','UniverEngineRender','layout','spacing','Enter','uiStateService','useDependency','3103140FvVuPZ','show','hostSize','_getPointerLiveBounds','displayName','univer-h-32\x20univer-resize-none\x20univer-text-sm','appliedStrokeWidth','ghostFillColor','surfaceColor','_applyDragTopologyAction','isRootNode','unit','orderKey','call','boards-mind-ui.alignMiddle','M1.9999\x205.56641C1.66853\x205.56641\x201.3999\x205.83504\x201.3999\x206.16641C1.3999\x206.49778\x201.66853\x206.76641\x201.9999\x206.76641H11.3332C11.6646\x206.76641\x2011.9332\x206.49778\x2011.9332\x206.16641C11.9332\x205.83504\x2011.6646\x205.56641\x2011.3332\x205.56641H1.9999Z','addObject','getHitControl','_objectPointerDisposables','registerRenderModule','IBoardUIStateService','transientControl','useImperativeHandle','rootStartBounds','3554UYvNSY','detach','height','clear','span','_resolveArrowNavigationTarget','ComponentManager','branch-rounded-orthogonal','offsetBoardConnectorGeometry','executeCommand','Separator','slice','currentTarget','xlink:href','getElementDataForUnit','_initEditingRestore','boards-mind-ui.descriptionPlaceholder','boards-mind-ui.toolbar.action.paste','badgeFontWeight','currentColor','_resolveSelectedMindMapEntryFromState','siblingGlyphSize','isRoot','badgeCount','_resolveControlSide','repeat(','CENTER','children','borderClassName','addChildRadius','commandService','snapDistance','align-bottom-icon','_ensureObject','UniverBoardsUIPlugin','onPointerUp$','type','hasCommand','resolveBoardElementWorldBounds','add','@univerjs-pro/boards-mind-ui','AlignTopIcon','fallbackNodeWidth','sourceHighlightFillColor','resolveMindMapLayoutPreview','_renderManagerService','registerProvider',',\x20minmax(0,\x201fr))','focusedId','toDisposable','getUnit','getUnitId','_createTopologyBoundsByElementId','transform','createControl$','DELETE','liveRootBounds','version','point','dispose$','requestRender','boards-mind-ui.toolbar.primary.fontColor','colorChannel1','assign','lineCap','_lastPoint','scopeId','unitId','updateElement','M56\x2039h11M13\x2050h11','mask','addChildGlyphSize','boards-mind-ui.toolbar.action.addSibling','getCurrentUnitOfType','boards-mind-ui.saveDescription','_openSelectedTextEditing','_interactionSurfaceService','focusUnit','M24\x2012v32M24\x2019c0\x204\x203\x206\x207\x206h7M24\x2029c0\x204\x203\x206\x207\x206h7M24\x2039c0\x204\x203\x206\x207\x206h7','_dragStart','preventDefault','ArrowDown','UniverProEngineShape','globalAlpha','timeline','board-mind-map-node-controls-object','_getPointFromEvent','tools','toPrimitive','disposeWithMe','_attachObjectEvents','connectorAffordance','univer-text-xs\x20univer-text-gray-400\x20dark:!univer-text-gray-500','title','blueprint','ShapeFloatingToolbarMenuItem','_config','textStyle','_syncRootScopePreview','BoardInteractionSurfaceService','RIGHT','RightJustifyingIcon','evenodd','UniverIcon','add-child-right','glyphSize','createRunner','collapsePlusMinDistance','mind-map','mindmap-horizontal','register','setData','clearControl$','63iaelRF','add-sibling-after','use'];_0x1833=function(){return _0x3ceb49;};return _0x1833();}(function(_0x416f90,_0x53762e){const _0x173507=_0x4be6,_0x3246b1=_0x416f90();while(!![]){try{const _0x57fa29=parseInt(_0x173507(0x46b))/0x1*(-parseInt(_0x173507(0x396))/0x2)+-parseInt(_0x173507(0x37e))/0x3+-parseInt(_0x173507(0x255))/0x4*(parseInt(_0x173507(0x25e))/0x5)+parseInt(_0x173507(0x4c0))/0x6*(-parseInt(_0x173507(0x1d4))/0x7)+parseInt(_0x173507(0x416))/0x8+parseInt(_0x173507(0x407))/0x9*(parseInt(_0x173507(0x439))/0xa)+parseInt(_0x173507(0x1c7))/0xb;if(_0x57fa29===_0x53762e)break;else _0x3246b1['push'](_0x3246b1['shift']());}catch(_0x1fad42){_0x3246b1['push'](_0x3246b1['shift']());}}}(_0x1833,0x93dd9),function(_0xc9e398,_0x59b219){const _0x2e6dec=_0x4be6;typeof exports==_0x2e6dec(0x496)&&typeof module<'u'?_0x59b219(exports,require('@univerjs-pro/boards'),require('@univerjs-pro/boards-mind'),require('@univerjs-pro/boards-ui'),require('@univerjs-pro/license'),require('@univerjs/core'),require('@univerjs/engine-render'),require('rxjs'),require('@univerjs/ui'),require('@univerjs-pro/shape-editor-ui'),require('@univerjs-pro/engine-shape'),require('@univerjs/design'),require('react'),require('react/jsx-runtime')):typeof define==_0x2e6dec(0x223)&&define[_0x2e6dec(0x268)]?define([_0x2e6dec(0x216),'@univerjs-pro/boards','@univerjs-pro/boards-mind','@univerjs-pro/boards-ui',_0x2e6dec(0x2fe),_0x2e6dec(0x13d),_0x2e6dec(0x29b),_0x2e6dec(0x16b),_0x2e6dec(0x1d5),_0x2e6dec(0x197),_0x2e6dec(0x328),_0x2e6dec(0x144),_0x2e6dec(0x233),_0x2e6dec(0x491)],_0x59b219):(_0xc9e398=typeof globalThis<'u'?globalThis:_0xc9e398||self,_0x59b219(_0xc9e398[_0x2e6dec(0x360)]={},_0xc9e398[_0x2e6dec(0x4d3)],_0xc9e398[_0x2e6dec(0x4ce)],_0xc9e398[_0x2e6dec(0x4b4)],_0xc9e398[_0x2e6dec(0x1ff)],_0xc9e398[_0x2e6dec(0x1fb)],_0xc9e398[_0x2e6dec(0x378)],_0xc9e398['rxjs'],_0xc9e398[_0x2e6dec(0x44c)],_0xc9e398['UniverProShapeEditorUi'],_0xc9e398[_0x2e6dec(0x3e8)],_0xc9e398[_0x2e6dec(0x49b)],_0xc9e398[_0x2e6dec(0x2b4)],_0xc9e398[_0x2e6dec(0x2b4)]));}(this,function(_0x5692c7,_0xef9e20,_0x312ad4,_0x3a2313,_0x1d47c8,_0x16f5c0,_0x5714e6,_0x21bd08,_0x26e0d4,_0x36b7c4,_0x1ad7b2,_0x1ba6fa,_0x2caf77,_0x7279b0){const _0x4b6d1a=_0x4be6;Object[_0x4b6d1a(0x436)](_0x5692c7,Symbol[_0x4b6d1a(0x239)],{'value':_0x4b6d1a(0x280)});var _0x2beb2c=_0x4b6d1a(0x3be),_0x437b0c=_0x4b6d1a(0x4a0);let _0x3b9e2b={};function _0x547bdc(_0x6aa7e){'@babel/helpers - typeof';const _0x2d3119=_0x4b6d1a;return _0x547bdc=typeof Symbol==_0x2d3119(0x223)&&typeof Symbol[_0x2d3119(0x28f)]==_0x2d3119(0x490)?function(_0x4dd93b){return typeof _0x4dd93b;}:function(_0xd14029){const _0x4aabd1=_0x2d3119;return _0xd14029&&typeof Symbol=='function'&&_0xd14029[_0x4aabd1(0x2b9)]===Symbol&&_0xd14029!==Symbol[_0x4aabd1(0x2cc)]?_0x4aabd1(0x490):typeof _0xd14029;},_0x547bdc(_0x6aa7e);}function _0x2b1d66(_0x34061b,_0x6e0798){const _0x26dad9=_0x4b6d1a;if(_0x547bdc(_0x34061b)!=_0x26dad9(0x496)||!_0x34061b)return _0x34061b;var _0x257dee=_0x34061b[Symbol[_0x26dad9(0x3ee)]];if(_0x257dee!==void 0x0){var _0x4a7ea1=_0x257dee['call'](_0x34061b,_0x6e0798||_0x26dad9(0x312));if(_0x547bdc(_0x4a7ea1)!=_0x26dad9(0x496))return _0x4a7ea1;throw TypeError('@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.');}return(_0x6e0798===_0x26dad9(0x46c)?String:Number)(_0x34061b);}function _0x2a878b(_0x58392a){const _0x9f0808=_0x4b6d1a;var _0x1d50e2=_0x2b1d66(_0x58392a,_0x9f0808(0x46c));return _0x547bdc(_0x1d50e2)=='symbol'?_0x1d50e2:_0x1d50e2+'';}function _0x4ad85c(_0x24f69f,_0x5a6fd0,_0x415145){const _0x49358b=_0x4b6d1a;return(_0x5a6fd0=_0x2a878b(_0x5a6fd0))in _0x24f69f?Object[_0x49358b(0x436)](_0x24f69f,_0x5a6fd0,{'value':_0x415145,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x24f69f[_0x5a6fd0]=_0x415145,_0x24f69f;}function _0x400c84(_0x47907a,_0x4985bf){return function(_0x3d02c5,_0x3670c8){_0x4985bf(_0x3d02c5,_0x3670c8,_0x47907a);};}function _0x4d6662(_0x519a9f,_0x131db9,_0x14bd00,_0x197bd6){const _0x14f289=_0x4b6d1a;var _0x1c2b46=arguments['length'],_0x4b23e2=_0x1c2b46<0x3?_0x131db9:_0x197bd6===null?_0x197bd6=Object[_0x14f289(0x443)](_0x131db9,_0x14bd00):_0x197bd6,_0x45332a;if(typeof Reflect==_0x14f289(0x496)&&typeof Reflect['decorate']=='function')_0x4b23e2=Reflect[_0x14f289(0x1e0)](_0x519a9f,_0x131db9,_0x14bd00,_0x197bd6);else{for(var _0x2521b6=_0x519a9f[_0x14f289(0x489)]-0x1;_0x2521b6>=0x0;_0x2521b6--)(_0x45332a=_0x519a9f[_0x2521b6])&&(_0x4b23e2=(_0x1c2b46<0x3?_0x45332a(_0x4b23e2):_0x1c2b46>0x3?_0x45332a(_0x131db9,_0x14bd00,_0x4b23e2):_0x45332a(_0x131db9,_0x14bd00))||_0x4b23e2);}return _0x1c2b46>0x3&&_0x4b23e2&&Object['defineProperty'](_0x131db9,_0x14bd00,_0x4b23e2),_0x4b23e2;}let _0x383aad=class extends _0x16f5c0['RxDisposable']{constructor(_0x2f0ea,_0x166be5,_0x1f01b6){const _0x19792c=_0x4b6d1a;super(),this['_renderContext']=_0x2f0ea,this[_0x19792c(0x258)]=_0x166be5,this[_0x19792c(0x1fa)]=_0x1f01b6,_0x4ad85c(this,'_nodeSizeByKey',new Map()),_0x4ad85c(this,_0x19792c(0x127),new Map()),_0x4ad85c(this,_0x19792c(0x1db),!0x1),this[_0x19792c(0x32c)]();}[_0x4b6d1a(0x32c)](){const _0x5d36dc=_0x4b6d1a;this['_seedExistingNodeSizes'](),this['disposeWithMe']((0x0,_0x16f5c0[_0x5d36dc(0x3c7)])(this[_0x5d36dc(0x258)][_0x5d36dc(0x247)]['pipe']((0x0,_0x21bd08[_0x5d36dc(0x28a)])(this[_0x5d36dc(0x3d1)]))['subscribe'](_0x2384ea=>{const _0x41f46a=_0x5d36dc;_0x2384ea[_0x41f46a(0x411)](_0xf907e4=>{const _0x346cc7=_0x41f46a;let _0x47c7a3=this[_0x346cc7(0x258)][_0x346cc7(0x1d2)](_0xf907e4[_0x346cc7(0x3d9)],_0xf907e4[_0x346cc7(0x430)],_0xf907e4['elementId']);this[_0x346cc7(0x368)](_0xf907e4,_0x47c7a3);});}))),this[_0x5d36dc(0x3ef)]((0x0,_0x16f5c0[_0x5d36dc(0x3c7)])(this[_0x5d36dc(0x258)][_0x5d36dc(0x2cd)][_0x5d36dc(0x302)]((0x0,_0x21bd08['takeUntil'])(this[_0x5d36dc(0x3d1)]))[_0x5d36dc(0x25d)](_0x1b35e3=>{const _0x2884db=_0x5d36dc;_0x1b35e3[_0x2884db(0x411)](_0x123e01=>this[_0x2884db(0x412)](_0x123e01));})));}[_0x4b6d1a(0x33b)](){const _0x4e1d5c=_0x4b6d1a;let _0x1e2333=this[_0x4e1d5c(0x349)]['unitId'],_0xbe284=this[_0x4e1d5c(0x258)][_0x4e1d5c(0x3a4)](_0x1e2333);Object['entries'](_0xbe284)[_0x4e1d5c(0x411)](([_0x3353b,_0x59fce1])=>{const _0x50e3cd=_0x4e1d5c;Object[_0x50e3cd(0x14d)](_0x59fce1['data'])['forEach'](_0x346fcc=>{const _0x56cc49=_0x50e3cd;this[_0x56cc49(0x368)]({'unitId':_0x1e2333,'subUnitId':_0x3353b,'elementId':_0x346fcc[_0x56cc49(0x47d)]},_0x346fcc);});});}[_0x4b6d1a(0x412)](_0x1d43f1){const _0x3c4ed4=_0x4b6d1a;if(_0x1d43f1[_0x3c4ed4(0x3d9)]!==this['_renderContext']['unitId'])return;let _0x12ad0f=this[_0x3c4ed4(0x258)]['getElementById'](_0x1d43f1['unitId'],_0x1d43f1[_0x3c4ed4(0x430)],_0x1d43f1[_0x3c4ed4(0x47d)]),_0x79bd7c=(0x0,_0x312ad4['getMindMapNodeMeta'])(_0x12ad0f==null?void 0x0:_0x12ad0f['element']),_0x3d587a=this[_0x3c4ed4(0x4bb)](_0x12ad0f);if(!_0x79bd7c||!_0x3d587a){this[_0x3c4ed4(0x2eb)][_0x3c4ed4(0x150)](this['_getElementKey'](_0x1d43f1));return;}let _0x3bb6ca=this[_0x3c4ed4(0x447)](_0x1d43f1),_0x11d20a=this[_0x3c4ed4(0x2eb)][_0x3c4ed4(0x31a)](_0x3bb6ca);this[_0x3c4ed4(0x2eb)]['set'](_0x3bb6ca,_0x3d587a),!(_0x11d20a&&_0x11d20a[_0x3c4ed4(0x155)]===_0x3d587a[_0x3c4ed4(0x155)]&&_0x11d20a[_0x3c4ed4(0x398)]===_0x3d587a['height'])&&this['_queueLayout']({'unitId':_0x1d43f1['unitId'],'subUnitId':_0x1d43f1[_0x3c4ed4(0x430)],'scopeId':_0x79bd7c['structureScopeId']});}[_0x4b6d1a(0x368)](_0x2015bd,_0x3b1eac){const _0x303b85=_0x4b6d1a;if(_0x2015bd[_0x303b85(0x3d9)]!==this[_0x303b85(0x349)][_0x303b85(0x3d9)])return;let _0x52a81a=(0x0,_0x312ad4[_0x303b85(0x15b)])(_0x3b1eac==null?void 0x0:_0x3b1eac['element']),_0x4bed25=this[_0x303b85(0x4bb)](_0x3b1eac);!_0x52a81a||!_0x4bed25||this[_0x303b85(0x2eb)][_0x303b85(0x22b)](this['_getElementKey'](_0x2015bd),_0x4bed25);}[_0x4b6d1a(0x4bb)](_0x143bb4){const _0xb2be4a=_0x4b6d1a;let _0x52eb9d=(_0x143bb4==null?void 0x0:_0x143bb4[_0xb2be4a(0x3cb)])??(_0x143bb4==null?void 0x0:_0x143bb4['element'][_0xb2be4a(0x3cb)]),_0x38123d=_0x52eb9d==null?void 0x0:_0x52eb9d[_0xb2be4a(0x155)],_0x597ece=_0x52eb9d==null?void 0x0:_0x52eb9d['height'];return!Number[_0xb2be4a(0x48a)](_0x38123d)||!Number[_0xb2be4a(0x48a)](_0x597ece)?null:{'width':_0x38123d,'height':_0x597ece};}[_0x4b6d1a(0x2e2)](_0x349119){const _0x28f280=_0x4b6d1a;this[_0x28f280(0x127)][_0x28f280(0x22b)](_0x349119[_0x28f280(0x3d9)]+':'+_0x349119[_0x28f280(0x430)]+':'+_0x349119['scopeId'],_0x349119),!this['_layoutFlushScheduled']&&(this[_0x28f280(0x1db)]=!0x0,Promise[_0x28f280(0x493)]()['then'](()=>{const _0xb28715=_0x28f280;this[_0xb28715(0x1db)]=!0x1;let _0x5cf405=Array[_0xb28715(0x344)](this['_queuedLayouts'][_0xb28715(0x14d)]());this[_0xb28715(0x127)][_0xb28715(0x399)](),_0x5cf405[_0xb28715(0x411)](_0x436bdb=>{const _0x2e67c5=_0xb28715;this[_0x2e67c5(0x2f9)](_0x436bdb);});}));}[_0x4b6d1a(0x2f9)](_0x1a4340){const _0x38e4b7=_0x4b6d1a;var _0x1ec951;let _0x441c34=this[_0x38e4b7(0x258)][_0x38e4b7(0x1d2)](_0x1a4340['unitId'],_0x1a4340[_0x38e4b7(0x430)],_0x1a4340[_0x38e4b7(0x3d8)]),_0x3e48aa=(_0x1ec951=(0x0,_0x312ad4[_0x38e4b7(0x1da)])(_0x441c34==null?void 0x0:_0x441c34['element']))==null?void 0x0:_0x1ec951['rootNodeId'];this[_0x38e4b7(0x1fa)]['executeCommand'](_0x312ad4[_0x38e4b7(0x30e)]['id'],{..._0x1a4340,'skipUndo':!0x0,..._0x3e48aa?{'anchorNodeId':_0x3e48aa}:null});}[_0x4b6d1a(0x447)](_0x5d4f01){const _0x58283e=_0x4b6d1a;return _0x5d4f01['unitId']+':'+_0x5d4f01[_0x58283e(0x430)]+':'+_0x5d4f01[_0x58283e(0x47d)];}};_0x383aad=_0x4d6662([_0x400c84(0x1,(0x0,_0x16f5c0[_0x4b6d1a(0x43e)])(_0xef9e20[_0x4b6d1a(0x40e)])),_0x400c84(0x2,_0x16f5c0[_0x4b6d1a(0x422)])],_0x383aad);let _0x527f2b={'primaryColor':_0x36b7c4[_0x4b6d1a(0x454)],'surfaceColor':_0x36b7c4[_0x4b6d1a(0x17a)],'textColor':_0x36b7c4[_0x4b6d1a(0x187)],'fontFamily':_0x16f5c0[_0x4b6d1a(0x4c2)]['ff']};function _0x242173(_0x4e3e68,_0x226582){const _0x36f42b=_0x4b6d1a;let _0x2e40a6=Math[_0x36f42b(0x1bd)](0x1,Math[_0x36f42b(0x13c)](0x0,Number[_0x36f42b(0x48a)](_0x226582)?_0x226582:0x1)),_0x560509=_0x4e3e68[_0x36f42b(0x351)](),_0x3321ec=/^#([0-9a-fA-F]{6})$/[_0x36f42b(0x18c)](_0x560509);if(!_0x3321ec)return _0x4e3e68;let _0x6ac54b=_0x3321ec[0x1];return _0x36f42b(0x2f2)+Number[_0x36f42b(0x334)](_0x6ac54b[_0x36f42b(0x3a1)](0x0,0x2),0x10)+',\x20'+Number['parseInt'](_0x6ac54b[_0x36f42b(0x3a1)](0x2,0x4),0x10)+',\x20'+Number['parseInt'](_0x6ac54b[_0x36f42b(0x3a1)](0x4,0x6),0x10)+',\x20'+_0x2e40a6+')';}let _0x24907c={'primaryColor':_0x527f2b[_0x4b6d1a(0x40d)],'ghostFillColor':_0x242173(_0x527f2b['surfaceColor'],0.72),'ghostTextColor':_0x242173(_0x527f2b[_0x4b6d1a(0x310)],0.62),'rootTextColor':_0x242173(_0x527f2b[_0x4b6d1a(0x386)],0.86),'sourceHighlightFillColor':_0x242173(_0x527f2b[_0x4b6d1a(0x40d)],0.12),'sourceHighlightStrokeColor':_0x242173(_0x527f2b['primaryColor'],0.9),'objectAlpha':0.72,'dragObjectAlpha':0.78,'connectorAlpha':0.64,'lineWidthScreen':0x2,'fallbackNodeWidth':_0x312ad4[_0x4b6d1a(0x327)][_0x4b6d1a(0x20c)],'fallbackNodeHeight':_0x312ad4[_0x4b6d1a(0x327)][_0x4b6d1a(0x366)],'branchGap':_0x312ad4[_0x4b6d1a(0x377)][_0x4b6d1a(0x2a8)],'sourceHaloScreen':0x4,'ghostRadius':0x8,'rootRadius':0xa,'fontFamily':_0x527f2b[_0x4b6d1a(0x325)],'ghostFontWeight':0x1f4,'rootFontWeight':0x258,'rootFontSize':0x12,'textPaddingScreen':0xc,'dirtyPaddingScreen':0x18,'sourceDashScreen':[0x6,0x4]};function _0x123a70(_0x4c88a4,_0x2ce2d9,_0x49d109,_0x2a9c7e,_0x2b70bd,_0x374b47){const _0x3fd2b7=_0x4b6d1a;let _0x32405a=Math[_0x3fd2b7(0x1bd)](_0x374b47,_0x2a9c7e/0x2,_0x2b70bd/0x2);_0x4c88a4[_0x3fd2b7(0x43b)](),_0x4c88a4[_0x3fd2b7(0x4a6)](_0x2ce2d9+_0x32405a,_0x49d109),_0x4c88a4['lineTo'](_0x2ce2d9+_0x2a9c7e-_0x32405a,_0x49d109),_0x4c88a4[_0x3fd2b7(0x2f7)](_0x2ce2d9+_0x2a9c7e,_0x49d109,_0x2ce2d9+_0x2a9c7e,_0x49d109+_0x32405a),_0x4c88a4[_0x3fd2b7(0x2ff)](_0x2ce2d9+_0x2a9c7e,_0x49d109+_0x2b70bd-_0x32405a),_0x4c88a4['quadraticCurveTo'](_0x2ce2d9+_0x2a9c7e,_0x49d109+_0x2b70bd,_0x2ce2d9+_0x2a9c7e-_0x32405a,_0x49d109+_0x2b70bd),_0x4c88a4['lineTo'](_0x2ce2d9+_0x32405a,_0x49d109+_0x2b70bd),_0x4c88a4[_0x3fd2b7(0x2f7)](_0x2ce2d9,_0x49d109+_0x2b70bd,_0x2ce2d9,_0x49d109+_0x2b70bd-_0x32405a),_0x4c88a4[_0x3fd2b7(0x2ff)](_0x2ce2d9,_0x49d109+_0x32405a),_0x4c88a4[_0x3fd2b7(0x2f7)](_0x2ce2d9,_0x49d109,_0x2ce2d9+_0x32405a,_0x49d109),_0x4c88a4[_0x3fd2b7(0x27b)]();}function _0x4d2348(_0x23eb8d,_0x3f4ae3,_0x3987f){const _0x26f0e3=_0x4b6d1a;return _0x23eb8d+'\x20'+_0x3f4ae3/_0x3987f+_0x26f0e3(0x24b)+_0x24907c[_0x26f0e3(0x325)];}let _0x2c80cf=_0x4b6d1a(0x289),_0x3c00a0=_0x3a2313['BOARD_RENDER_LAYER_INDEX']['preview'];function _0x411cda(_0xfd3e38,_0x28e56d){const _0x2e049e=_0x4b6d1a;return Number[_0x2e049e(0x48a)](_0xfd3e38)?_0xfd3e38:_0x28e56d;}function _0x7bb114(){const _0x4840c8=_0x4b6d1a;return _0x24907c[_0x4840c8(0x3c0)];}function _0x99e351(){const _0x5dc4c3=_0x4b6d1a;return _0x24907c[_0x5dc4c3(0x26a)];}function _0x447819(_0x135b96){const _0x7e2b8b=_0x4b6d1a;return _0x135b96===0x1?'left':_0x135b96===0x3?_0x7e2b8b(0x252):_0x7e2b8b(0x47f);}function _0x528d29(_0x43ede0,_0x2cb5cb,_0x431c00,_0x3495bd){return _0x431c00===0x1?_0x43ede0+_0x3495bd:_0x431c00===0x3?_0x43ede0+_0x2cb5cb-_0x3495bd:_0x43ede0+_0x2cb5cb/0x2;}var _0x44cc64=class extends _0x5714e6[_0x4b6d1a(0x170)]{constructor(_0x16a4f3=_0x2c80cf,_0x5e9b0d){const _0x406dc6=_0x4b6d1a;super(_0x16a4f3),_0x4ad85c(this,_0x406dc6(0x167),{'ghostBounds':null,'parentBounds':null,'side':_0x406dc6(0x252),'zoomRatio':0x1}),this[_0x406dc6(0x48c)]=!0x1,this[_0x406dc6(0x2c7)]=_0x3a2313[_0x406dc6(0x32b)][_0x406dc6(0x214)],this[_0x406dc6(0x2e7)](_0x5e9b0d);}[_0x4b6d1a(0x2e7)](_0x38b90f){const _0xea7d57=_0x4b6d1a;if(this['_state']={...this[_0xea7d57(0x167)],..._0x38b90f},this[_0xea7d57(0x167)]['ghostBounds']){let _0x3605e1=this[_0xea7d57(0x468)]();this['transformByState'](_0x3605e1),this[_0xea7d57(0x37f)]();}else this[_0xea7d57(0x4cc)]();let _0x2f0716=this;typeof _0x2f0716[_0xea7d57(0x1c5)]==_0xea7d57(0x223)?_0x2f0716[_0xea7d57(0x1c5)](!0x0):this[_0xea7d57(0x420)](!0x0);}[_0x4b6d1a(0x2dc)](_0x3e9e2d){return!0x1;}[_0x4b6d1a(0x1f7)](_0x57ab97,_0x4bcca2){const _0x316e36=_0x4b6d1a;let _0x488bc1=this[_0x316e36(0x167)][_0x316e36(0x276)];if(!_0x488bc1||!this[_0x316e36(0x4d1)])return this[_0x316e36(0x420)](!0x1),this;let _0x5edb58=Number[_0x316e36(0x48a)](this['_state']['zoomRatio'])&&(this[_0x316e36(0x167)][_0x316e36(0x1e7)]??0x0)>0x0?this[_0x316e36(0x167)]['zoomRatio']:0x1,_0x1597d1=_0x411cda(_0x488bc1[_0x316e36(0x15e)],0x0),_0x241895=_0x411cda(_0x488bc1['top'],0x0),_0x2753d0=Math[_0x316e36(0x13c)](0x1,_0x411cda(_0x488bc1[_0x316e36(0x155)],_0x7bb114())),_0x12cfb5=Math['max'](0x1,_0x411cda(_0x488bc1[_0x316e36(0x398)],_0x99e351()));if(_0x57ab97[_0x316e36(0x266)](),_0x57ab97[_0x316e36(0x3e9)]=_0x24907c[_0x316e36(0x46f)],_0x57ab97[_0x316e36(0x14e)]=_0x24907c['lineWidthScreen']/_0x5edb58,_0x57ab97[_0x316e36(0x369)]=_0x24907c['primaryColor'],_0x57ab97[_0x316e36(0x470)]=_0x24907c[_0x316e36(0x385)],this[_0x316e36(0x36f)](_0x57ab97,{'left':_0x1597d1,'top':_0x241895,'width':_0x2753d0,'height':_0x12cfb5},_0x5edb58),this[_0x316e36(0x2be)](_0x57ab97,_0x5edb58),this['_state'][_0x316e36(0x2e9)]===!0x1)return _0x57ab97[_0x316e36(0x331)](),this[_0x316e36(0x420)](!0x1),this;_0x123a70(_0x57ab97,_0x1597d1,_0x241895,_0x2753d0,_0x12cfb5,_0x24907c[_0x316e36(0x44d)]),_0x57ab97[_0x316e36(0x431)](),_0x57ab97[_0x316e36(0x35e)]();let _0x188fd1=this[_0x316e36(0x167)][_0x316e36(0x3f7)],_0x2b2e95=Number['isFinite'](_0x188fd1==null?void 0x0:_0x188fd1[_0x316e36(0x175)])&&((_0x188fd1==null?void 0x0:_0x188fd1[_0x316e36(0x175)])??0x0)>0x0?_0x188fd1[_0x316e36(0x175)]:0x10,_0x1531b7=_0x24907c['textPaddingScreen']/_0x5edb58;return _0x57ab97[_0x316e36(0x470)]=(_0x188fd1==null?void 0x0:_0x188fd1[_0x316e36(0x495)])??_0x24907c[_0x316e36(0x14f)],_0x57ab97[_0x316e36(0x320)]=_0x4d2348(_0x24907c[_0x316e36(0x18e)],_0x2b2e95,_0x5edb58),_0x57ab97[_0x316e36(0x477)]=_0x447819(_0x188fd1==null?void 0x0:_0x188fd1['horizontalAlign']),_0x57ab97[_0x316e36(0x130)]='middle',_0x57ab97[_0x316e36(0x36e)]((_0x188fd1==null?void 0x0:_0x188fd1['text'])||_0x312ad4[_0x316e36(0x42e)],_0x528d29(_0x1597d1,_0x2753d0,_0x188fd1==null?void 0x0:_0x188fd1[_0x316e36(0x4c5)],_0x1531b7),_0x241895+_0x12cfb5/0x2,Math['max'](0x1,_0x2753d0-_0x1531b7*0x2)),_0x57ab97[_0x316e36(0x331)](),this['makeDirty'](!0x1),this;}[_0x4b6d1a(0x468)](){const _0x3115ca=_0x4b6d1a;let _0x5ae78f=this[_0x3115ca(0x167)][_0x3115ca(0x276)],_0x3f472e=Number[_0x3115ca(0x48a)](this[_0x3115ca(0x167)][_0x3115ca(0x1e7)])&&(this[_0x3115ca(0x167)][_0x3115ca(0x1e7)]??0x0)>0x0?this[_0x3115ca(0x167)][_0x3115ca(0x1e7)]:0x1,_0x3e90d4=_0x24907c['dirtyPaddingScreen']/_0x3f472e;if(!_0x5ae78f)return{'left':0x0,'top':0x0,'width':0x1,'height':0x1};let _0x37a0aa=_0x411cda(_0x5ae78f['left'],0x0),_0x368ecd=_0x411cda(_0x5ae78f['top'],0x0),_0xd35301=Math[_0x3115ca(0x13c)](0x1,_0x411cda(_0x5ae78f['width'],_0x7bb114())),_0x2a329e=Math[_0x3115ca(0x13c)](0x1,_0x411cda(_0x5ae78f[_0x3115ca(0x398)],_0x99e351())),_0x3f3507=this[_0x3115ca(0x167)][_0x3115ca(0x2ec)],_0x588451=this[_0x3115ca(0x167)][_0x3115ca(0x1c9)],_0x172ce4=_0x411cda(_0x3f3507==null?void 0x0:_0x3f3507[_0x3115ca(0x15e)],_0x37a0aa),_0x337931=_0x411cda(_0x3f3507==null?void 0x0:_0x3f3507[_0x3115ca(0x2b5)],_0x368ecd),_0xf6a21=Math[_0x3115ca(0x13c)](0x1,_0x411cda(_0x3f3507==null?void 0x0:_0x3f3507[_0x3115ca(0x155)],_0xd35301)),_0x5af5e6=Math[_0x3115ca(0x13c)](0x1,_0x411cda(_0x3f3507==null?void 0x0:_0x3f3507[_0x3115ca(0x398)],_0x2a329e));if(!_0x588451){let _0x20e9dc=Math[_0x3115ca(0x1bd)](_0x37a0aa,_0x172ce4)-_0x3e90d4,_0x3fcfbd=Math['min'](_0x368ecd,_0x337931)-_0x3e90d4,_0x24fa5d=Math[_0x3115ca(0x13c)](_0x37a0aa+_0xd35301,_0x172ce4+_0xf6a21)+_0x3e90d4,_0x411294=Math[_0x3115ca(0x13c)](_0x368ecd+_0x2a329e,_0x337931+_0x5af5e6)+_0x3e90d4;return{'left':_0x20e9dc,'top':_0x3fcfbd,'width':_0x24fa5d-_0x20e9dc,'height':_0x411294-_0x3fcfbd};}let _0x4417b7=_0x411cda(_0x588451[_0x3115ca(0x15e)],_0x37a0aa),_0x3ceea8=_0x411cda(_0x588451[_0x3115ca(0x2b5)],_0x368ecd),_0x757321=Math[_0x3115ca(0x13c)](0x1,_0x411cda(_0x588451[_0x3115ca(0x155)],_0x7bb114())),_0x2858cd=Math[_0x3115ca(0x13c)](0x1,_0x411cda(_0x588451['height'],_0x99e351())),_0x3bc107=Math['min'](_0x37a0aa,_0x4417b7,_0x172ce4)-_0x3e90d4,_0x43dbfb=Math[_0x3115ca(0x1bd)](_0x368ecd,_0x3ceea8,_0x337931)-_0x3e90d4,_0x47c0ef=Math[_0x3115ca(0x13c)](_0x37a0aa+_0xd35301,_0x4417b7+_0x757321,_0x172ce4+_0xf6a21)+_0x3e90d4,_0x5009fe=Math[_0x3115ca(0x13c)](_0x368ecd+_0x2a329e,_0x3ceea8+_0x2858cd,_0x337931+_0x5af5e6)+_0x3e90d4;return{'left':_0x3bc107,'top':_0x43dbfb,'width':_0x47c0ef-_0x3bc107,'height':_0x5009fe-_0x43dbfb};}[_0x4b6d1a(0x2be)](_0x4e1c5c,_0x45987a){const _0x29082b=_0x4b6d1a;var _0x36dec7;let _0x2e3008=this['_state'][_0x29082b(0x2ec)];if(!_0x2e3008)return;let _0x392542=_0x24907c[_0x29082b(0x1c0)]/_0x45987a,_0x41dc30=_0x411cda(_0x2e3008['left'],0x0)-_0x392542,_0x4159e5=_0x411cda(_0x2e3008[_0x29082b(0x2b5)],0x0)-_0x392542,_0x54fd30=Math['max'](0x1,_0x411cda(_0x2e3008[_0x29082b(0x155)],_0x7bb114()))+_0x392542*0x2,_0x34e072=Math[_0x29082b(0x13c)](0x1,_0x411cda(_0x2e3008['height'],_0x99e351()))+_0x392542*0x2;_0x4e1c5c['save'](),_0x4e1c5c[_0x29082b(0x3e9)]=0x1,_0x4e1c5c[_0x29082b(0x14e)]=_0x24907c[_0x29082b(0x195)]/_0x45987a,_0x4e1c5c[_0x29082b(0x369)]=_0x24907c[_0x29082b(0x41a)],_0x4e1c5c['fillStyle']=_0x24907c[_0x29082b(0x3c1)],(_0x36dec7=_0x4e1c5c[_0x29082b(0x285)])==null||_0x36dec7['call'](_0x4e1c5c,_0x24907c['sourceDashScreen'][_0x29082b(0x2e5)](_0x2317b9=>_0x2317b9/_0x45987a)),_0x123a70(_0x4e1c5c,_0x41dc30,_0x4159e5,_0x54fd30,_0x34e072,_0x24907c[_0x29082b(0x186)]),_0x4e1c5c[_0x29082b(0x431)](),_0x4e1c5c[_0x29082b(0x35e)](),_0x4e1c5c[_0x29082b(0x331)]();}[_0x4b6d1a(0x36f)](_0xbdae1,_0x1f7bcf,_0x155bf3){const _0x46afa2=_0x4b6d1a;let _0x8604cd=this[_0x46afa2(0x167)]['parentBounds'];if(!_0x8604cd)return;let _0x42a09b=_0x411cda(_0x8604cd['left'],0x0),_0x2d2597=_0x411cda(_0x8604cd['top'],0x0),_0x2a7386=Math['max'](0x1,_0x411cda(_0x8604cd[_0x46afa2(0x155)],_0x7bb114())),_0x1a657d=Math[_0x46afa2(0x13c)](0x1,_0x411cda(_0x8604cd['height'],_0x99e351())),_0x1ea359=_0x24907c['branchGap'],_0x2a52f5=this[_0x46afa2(0x167)]['side']??_0x46afa2(0x252);if(_0xbdae1[_0x46afa2(0x266)](),_0xbdae1[_0x46afa2(0x3e9)]=_0x24907c['connectorAlpha'],_0xbdae1[_0x46afa2(0x369)]=_0x24907c[_0x46afa2(0x40d)],_0xbdae1[_0x46afa2(0x14e)]=_0x24907c[_0x46afa2(0x195)]/_0x155bf3,_0xbdae1[_0x46afa2(0x3d6)]=_0x46afa2(0x204),_0xbdae1[_0x46afa2(0x177)]=_0x46afa2(0x204),_0xbdae1[_0x46afa2(0x43b)](),_0x2a52f5===_0x46afa2(0x2b5)||_0x2a52f5==='bottom'){let _0xee58a3=_0x42a09b+_0x2a7386/0x2,_0x204072=_0x1f7bcf[_0x46afa2(0x15e)]+_0x1f7bcf['width']/0x2,_0x3388c4=_0x2a52f5===_0x46afa2(0x346)?_0x2d2597+_0x1a657d:_0x2d2597,_0x4505e=_0x2a52f5===_0x46afa2(0x346)?_0x1f7bcf[_0x46afa2(0x2b5)]:_0x1f7bcf[_0x46afa2(0x2b5)]+_0x1f7bcf[_0x46afa2(0x398)],_0x296509=_0x2a52f5===_0x46afa2(0x346)?Math[_0x46afa2(0x1bd)](_0x3388c4+_0x1ea359,(_0x3388c4+_0x4505e)/0x2):Math[_0x46afa2(0x13c)](_0x3388c4-_0x1ea359,(_0x3388c4+_0x4505e)/0x2);_0xbdae1[_0x46afa2(0x4a6)](_0xee58a3,_0x3388c4),_0xbdae1[_0x46afa2(0x2ff)](_0xee58a3,_0x296509),_0xbdae1[_0x46afa2(0x2ff)](_0x204072,_0x296509),_0xbdae1[_0x46afa2(0x2ff)](_0x204072,_0x4505e);}else{let _0x334673=_0x2d2597+_0x1a657d/0x2,_0x5b29c4=_0x1f7bcf[_0x46afa2(0x2b5)]+_0x1f7bcf[_0x46afa2(0x398)]/0x2,_0x3c0d15=_0x2a52f5===_0x46afa2(0x252)?_0x42a09b+_0x2a7386:_0x42a09b,_0x380581=_0x2a52f5===_0x46afa2(0x252)?_0x1f7bcf['left']:_0x1f7bcf[_0x46afa2(0x15e)]+_0x1f7bcf[_0x46afa2(0x155)],_0xa1d9bb=_0x2a52f5==='right'?Math[_0x46afa2(0x1bd)](_0x3c0d15+_0x1ea359,(_0x3c0d15+_0x380581)/0x2):Math[_0x46afa2(0x13c)](_0x3c0d15-_0x1ea359,(_0x3c0d15+_0x380581)/0x2);_0xbdae1[_0x46afa2(0x4a6)](_0x3c0d15,_0x334673),_0xbdae1[_0x46afa2(0x2ff)](_0xa1d9bb,_0x334673),_0xbdae1[_0x46afa2(0x2ff)](_0xa1d9bb,_0x5b29c4),_0xbdae1[_0x46afa2(0x2ff)](_0x380581,_0x5b29c4);}_0xbdae1[_0x46afa2(0x35e)](),_0xbdae1[_0x46afa2(0x331)]();}};function _0x5d063e(_0x909d14,_0x176d6f){const _0x27ec92=_0x4b6d1a;return(_0x176d6f==null?void 0x0:_0x176d6f[_0x909d14[_0x27ec92(0x47d)]])??_0x909d14[_0x27ec92(0x16a)][_0x27ec92(0x3cb)];}function _0x140b61(_0x838a3a,_0xe91b1e){const _0x3eb32b=_0x4b6d1a;let _0x5fb606=_0x5d063e(_0x838a3a,_0xe91b1e);return{'x':(_0x5fb606[_0x3eb32b(0x15e)]??0x0)+(_0x5fb606['width']??0x0)/0x2,'y':(_0x5fb606[_0x3eb32b(0x2b5)]??0x0)+(_0x5fb606['height']??0x0)/0x2};}function _0x1c66b7(_0xa84ad1,_0x1a85ea){const _0x5e8fbe=_0x4b6d1a;return Math[_0x5e8fbe(0x359)](_0xa84ad1['x']-_0x1a85ea['x'],_0xa84ad1['y']-_0x1a85ea['y']);}function _0x1df7f3(_0x2ca0ef,_0x387b58){const _0x759a25=_0x4b6d1a;let _0x306178=_0x2ca0ef[_0x759a25(0x15e)]??0x0,_0x230180=_0x2ca0ef[_0x759a25(0x2b5)]??0x0,_0x5b2cf2=_0x306178+(_0x2ca0ef[_0x759a25(0x155)]??0x0),_0x330892=_0x230180+(_0x2ca0ef[_0x759a25(0x398)]??0x0),_0x55a868=_0x387b58[_0x759a25(0x15e)]??0x0,_0x4328bc=_0x387b58[_0x759a25(0x2b5)]??0x0,_0x12450d=_0x55a868+(_0x387b58[_0x759a25(0x155)]??0x0),_0x4b4ec5=_0x4328bc+(_0x387b58[_0x759a25(0x398)]??0x0),_0x471eba=Math[_0x759a25(0x13c)](_0x55a868-_0x5b2cf2,_0x306178-_0x12450d,0x0),_0x4c1bdf=Math[_0x759a25(0x13c)](_0x4328bc-_0x330892,_0x230180-_0x4b4ec5,0x0);return Math[_0x759a25(0x359)](_0x471eba,_0x4c1bdf);}function _0x2d1eb9(_0x3910ee,_0x4f970a,_0x583c2a){const _0x52a77b=_0x4b6d1a;var _0x1854df;let _0x477ecf=(0x0,_0x312ad4[_0x52a77b(0x15b)])((_0x1854df=_0x3910ee[_0x4f970a])==null?void 0x0:_0x1854df[_0x52a77b(0x16a)]);for(;_0x477ecf!=null&&_0x477ecf[_0x52a77b(0x1dc)];){var _0x5e48d2;if(_0x477ecf[_0x52a77b(0x1dc)]===_0x583c2a)return!0x0;_0x477ecf=(0x0,_0x312ad4[_0x52a77b(0x15b)])((_0x5e48d2=_0x3910ee[_0x477ecf[_0x52a77b(0x1dc)]])==null?void 0x0:_0x5e48d2[_0x52a77b(0x16a)]);}return!0x1;}function _0xa85253(_0x30d1bc,_0x533381,_0x3f7d68){const _0x2fe3b3=_0x4b6d1a;let _0x53e463=_0x5d063e(_0x30d1bc,_0x3f7d68),_0x174946=_0x53e463[_0x2fe3b3(0x2b5)]??0x0,_0x541a4e=_0x53e463[_0x2fe3b3(0x398)]??0x0;return _0x541a4e<=0x0?null:_0x533381['y']<=_0x174946+_0x541a4e/0x3?_0x2fe3b3(0x2d5):_0x533381['y']>=_0x174946+_0x541a4e*0x2/0x3?_0x2fe3b3(0x27a):null;}function _0x480f66(_0x492aa0,_0x3ed92c){const _0x73615f=_0x4b6d1a;let _0x46159a=_0x3ed92c==null?void 0x0:_0x3ed92c[_0x492aa0];return Number[_0x73615f(0x48a)](_0x46159a==null?void 0x0:_0x46159a['left'])&&Number[_0x73615f(0x48a)](_0x46159a==null?void 0x0:_0x46159a['top'])?{'kind':_0x73615f(0x397),'left':_0x46159a['left'],'top':_0x46159a[_0x73615f(0x2b5)]}:{'kind':_0x73615f(0x397)};}function _0x17f279(_0x5ce39e,_0x59f2da,_0x38231d){const _0x1111d5=_0x4b6d1a;let _0x2cf340=_0x5ce39e[_0x59f2da],_0x7dd0a2=(0x0,_0x312ad4[_0x1111d5(0x15b)])(_0x2cf340==null?void 0x0:_0x2cf340['element']);if(!_0x2cf340||!_0x7dd0a2||!_0x7dd0a2[_0x1111d5(0x1dc)]&&!(_0x38231d!=null&&_0x38231d[_0x1111d5(0x1b2)]))return{'kind':_0x1111d5(0x250)};let _0x2cc21a=_0x38231d==null?void 0x0:_0x38231d[_0x1111d5(0x35d)],_0xe1a2da=_0x5d063e(_0x2cf340,_0x2cc21a),_0x556dc8=_0x140b61(_0x2cf340,_0x2cc21a),_0x35f8a6=Object['values'](_0x5ce39e)[_0x1111d5(0x2e5)](_0x1a84cf=>{const _0x3946b8=_0x1111d5;let _0x4d3389=(0x0,_0x312ad4[_0x3946b8(0x15b)])(_0x1a84cf[_0x3946b8(0x16a)]);return!_0x4d3389||_0x1a84cf[_0x3946b8(0x47d)]===_0x59f2da||_0x1a84cf[_0x3946b8(0x47d)]===_0x7dd0a2['parentNodeId']||_0x38231d!=null&&_0x38231d[_0x3946b8(0x1b2)]&&!_0x7dd0a2['parentNodeId']&&_0x4d3389['structureScopeId']===_0x7dd0a2[_0x3946b8(0x4b2)]||_0x2d1eb9(_0x5ce39e,_0x1a84cf[_0x3946b8(0x47d)],_0x59f2da)?null:{'item':_0x1a84cf,'snapDistance':_0x1df7f3(_0xe1a2da,_0x5d063e(_0x1a84cf,_0x2cc21a)),'center':_0x140b61(_0x1a84cf,_0x2cc21a)};})[_0x1111d5(0x34d)](_0x52d77d=>!!_0x52d77d)[_0x1111d5(0x48b)]((_0x459065,_0xb65b9c)=>_0x459065['snapDistance']-_0xb65b9c['snapDistance']||_0x1c66b7(_0x556dc8,_0x459065[_0x1111d5(0x47f)])-_0x1c66b7(_0x556dc8,_0xb65b9c['center']))[0x0];if(_0x35f8a6&&_0x35f8a6[_0x1111d5(0x3b5)]<=0x64){let _0x224d3b=(0x0,_0x312ad4[_0x1111d5(0x15b)])(_0x35f8a6['item'][_0x1111d5(0x16a)]),_0xf13942=_0x224d3b!=null&&_0x224d3b[_0x1111d5(0x1dc)]?_0xa85253(_0x35f8a6[_0x1111d5(0x367)],_0x556dc8,_0x2cc21a):null;return _0x224d3b!=null&&_0x224d3b[_0x1111d5(0x1dc)]&&_0xf13942?{'kind':'reparent','newParentNodeId':_0x224d3b[_0x1111d5(0x1dc)],'side':_0x224d3b[_0x1111d5(0x241)]??_0x1111d5(0x252),'referenceNodeId':_0x35f8a6[_0x1111d5(0x367)][_0x1111d5(0x47d)],'placement':_0xf13942}:{'kind':_0x1111d5(0x25b),'newParentNodeId':_0x35f8a6[_0x1111d5(0x367)][_0x1111d5(0x47d)],'side':_0x556dc8['x']<_0x35f8a6[_0x1111d5(0x47f)]['x']?_0x1111d5(0x15e):'right'};}if(_0x38231d!=null&&_0x38231d['detachWhenNoSnap'])return _0x480f66(_0x59f2da,_0x2cc21a);if(!_0x7dd0a2[_0x1111d5(0x1dc)])return{'kind':_0x1111d5(0x250)};let _0x5b9f80=_0x5ce39e[_0x7dd0a2[_0x1111d5(0x1dc)]];return _0x5b9f80&&_0x1c66b7(_0x556dc8,_0x140b61(_0x5b9f80,_0x2cc21a))>0x230?_0x480f66(_0x59f2da,_0x2cc21a):{'kind':'none'};}function _0x5b449d(_0x22a8df,_0x397141){const _0x345d86=_0x4b6d1a;var _0x13410c,_0x206d62;return _0x22a8df[_0x345d86(0x47d)]===_0x397141||((_0x13410c=(0x0,_0x312ad4[_0x345d86(0x15b)])(_0x22a8df[_0x345d86(0x16a)]))==null?void 0x0:_0x13410c[_0x345d86(0x4b2)])===_0x397141||((_0x206d62=(0x0,_0x312ad4[_0x345d86(0x317)])(_0x22a8df[_0x345d86(0x16a)]))==null?void 0x0:_0x206d62[_0x345d86(0x4b2)])===_0x397141;}function _0x214f22(_0x33c8c3,_0x4944a4,_0x34b568,_0xd03f60){const _0x265f87=_0x4b6d1a;let _0x2dd221=_0x33c8c3[_0x4944a4];if(!_0x2dd221)return _0x33c8c3;let _0x2e1185=_0x2dd221[_0x265f87(0x3cb)]??_0x2dd221[_0x265f87(0x16a)][_0x265f87(0x3cb)]??{};return{..._0x33c8c3,[_0x4944a4]:{..._0x2dd221,'transform':{..._0x2e1185,'left':(_0x2e1185['left']??0x0)+_0x34b568,'top':(_0x2e1185[_0x265f87(0x2b5)]??0x0)+_0xd03f60},'element':{..._0x2dd221['element'],'transform':{..._0x2dd221['element'][_0x265f87(0x3cb)],'left':(_0x2dd221[_0x265f87(0x16a)][_0x265f87(0x3cb)][_0x265f87(0x15e)]??0x0)+_0x34b568,'top':(_0x2dd221[_0x265f87(0x16a)][_0x265f87(0x3cb)][_0x265f87(0x2b5)]??0x0)+_0xd03f60}}}};}function _0x527eaa(_0x26b8e3){const _0x56f560=_0x4b6d1a;if(!Number[_0x56f560(0x48a)](_0x26b8e3['liveRootBounds'][_0x56f560(0x15e)])||!Number[_0x56f560(0x48a)](_0x26b8e3[_0x56f560(0x3ce)][_0x56f560(0x2b5)])||!Number[_0x56f560(0x48a)](_0x26b8e3[_0x56f560(0x395)][_0x56f560(0x15e)])||!Number['isFinite'](_0x26b8e3[_0x56f560(0x395)][_0x56f560(0x2b5)]))return null;let _0x1f57be=_0x26b8e3[_0x56f560(0x3ce)][_0x56f560(0x15e)]-_0x26b8e3[_0x56f560(0x395)]['left'],_0x5da2fc=_0x26b8e3[_0x56f560(0x3ce)][_0x56f560(0x2b5)]-_0x26b8e3[_0x56f560(0x395)]['top'],_0x42d391=_0x214f22(_0x26b8e3[_0x56f560(0x254)],_0x26b8e3[_0x56f560(0x3d8)],_0x1f57be,_0x5da2fc),_0x40b95a=[];return Object[_0x56f560(0x14d)](_0x42d391)['forEach'](_0xa35bf1=>{const _0x517c9c=_0x56f560;if(_0xa35bf1['elementId']===_0x26b8e3[_0x517c9c(0x315)]||_0xa35bf1['elementId']===_0x26b8e3[_0x517c9c(0x3d8)]||!_0x5b449d(_0xa35bf1,_0x26b8e3['scopeId']))return;if(_0x517c9c(0x48d)in _0xa35bf1[_0x517c9c(0x16a)]){var _0x5c912e;let _0x267839=(_0x5c912e=_0x26b8e3[_0x517c9c(0x254)][_0xa35bf1[_0x517c9c(0x47d)]])==null?void 0x0:_0x5c912e[_0x517c9c(0x16a)];_0x267839&&_0x517c9c(0x48d)in _0x267839&&_0x40b95a[_0x517c9c(0x25c)]({'kind':'connector','elementId':_0xa35bf1[_0x517c9c(0x47d)],'element':(0x0,_0xef9e20[_0x517c9c(0x39e)])(_0x267839,{'x':_0x1f57be,'y':_0x5da2fc})});return;}let _0x360ae2=(0x0,_0xef9e20[_0x517c9c(0x3bc)])(_0x42d391,_0xa35bf1[_0x517c9c(0x47d)]);_0x360ae2&&_0x40b95a[_0x517c9c(0x25c)]({'kind':_0x517c9c(0x30d),'elementId':_0xa35bf1[_0x517c9c(0x47d)],'bounds':_0x360ae2});}),{'deltaX':_0x1f57be,'deltaY':_0x5da2fc,'elementData':_0x42d391,'items':_0x40b95a};}let _0x5d823e=class extends _0x16f5c0[_0x4b6d1a(0x1e1)]{constructor(_0x41658b,_0x235cb6,_0xd854d7,_0x1b80b1,_0x2c9fc8,_0x131887,_0x4db9d4){const _0x1c4628=_0x4b6d1a;super(),this['_renderContext']=_0x41658b,this[_0x1c4628(0x258)]=_0x235cb6,this[_0x1c4628(0x425)]=_0xd854d7,this[_0x1c4628(0x1fa)]=_0x1b80b1,this[_0x1c4628(0x464)]=_0x2c9fc8,this[_0x1c4628(0x295)]=_0x131887,this[_0x1c4628(0x1bb)]=_0x4db9d4,_0x4ad85c(this,_0x1c4628(0x3e5),null),_0x4ad85c(this,'_pointerDragStart',null),_0x4ad85c(this,_0x1c4628(0x283),null),_0x4ad85c(this,_0x1c4628(0x48e),!0x1),_0x4ad85c(this,'_lastChildDragAction',null),_0x4ad85c(this,_0x1c4628(0x390),null),_0x4ad85c(this,'_attachObjectPointerScheduled',!0x1),_0x4ad85c(this,'_activePointerDragDisposables',null),_0x4ad85c(this,'_childDragSelectionHidden',!0x1),this[_0x1c4628(0x32c)]();}[_0x4b6d1a(0x32c)](){const _0x1c26f8=_0x4b6d1a;var _0x534f7c,_0x30563a,_0x39d9f7,_0x29f972,_0x483aa9;let _0x563d98=this[_0x1c26f8(0x349)][_0x1c26f8(0x479)][_0x1c26f8(0x4ae)]();this[_0x1c26f8(0x3ef)]((0x0,_0x16f5c0[_0x1c26f8(0x3c7)])(_0x563d98['changeStart$'][_0x1c26f8(0x302)]((0x0,_0x21bd08[_0x1c26f8(0x28a)])(this[_0x1c26f8(0x3d1)]))[_0x1c26f8(0x25d)](()=>{const _0x2de26b=_0x1c26f8;this[_0x2de26b(0x458)]();}))),this[_0x1c26f8(0x3ef)]((0x0,_0x16f5c0[_0x1c26f8(0x3c7)])(((_0x534f7c=_0x563d98[_0x1c26f8(0x2ad)])==null?void 0x0:_0x534f7c[_0x1c26f8(0x302)]((0x0,_0x21bd08[_0x1c26f8(0x28a)])(this[_0x1c26f8(0x3d1)]))[_0x1c26f8(0x25d)](_0xa2311=>{const _0x5244c8=_0x1c26f8;this[_0x5244c8(0x179)](_0xa2311==null?void 0x0:_0xa2311[_0x5244c8(0x311)]);}))??{'dispose':()=>{}})),this['disposeWithMe']((0x0,_0x16f5c0[_0x1c26f8(0x3c7)])(_0x563d98[_0x1c26f8(0x11e)][_0x1c26f8(0x302)]((0x0,_0x21bd08[_0x1c26f8(0x28a)])(this[_0x1c26f8(0x3d1)]))['subscribe'](_0x1c1f24=>{setTimeout(()=>this['_applyDragTopologyAction'](_0x1c1f24==null?void 0x0:_0x1c1f24['objects']),0x0);}))),this[_0x1c26f8(0x3ef)]((0x0,_0x16f5c0[_0x1c26f8(0x3c7)])(((_0x30563a=this[_0x1c26f8(0x349)][_0x1c26f8(0x479)]['onPointerDown$'])==null?void 0x0:_0x30563a[_0x1c26f8(0x141)]({'priority':0x3,'next':([_0x5c1179])=>this['_capturePointerChildDragStart'](_0x5c1179)}))??{'dispose':()=>{}})),this[_0x1c26f8(0x3ef)]((0x0,_0x16f5c0[_0x1c26f8(0x3c7)])(((_0x39d9f7=this[_0x1c26f8(0x349)][_0x1c26f8(0x479)][_0x1c26f8(0x44e)])==null?void 0x0:_0x39d9f7[_0x1c26f8(0x141)]({'priority':0x3,'next':([_0x34e91d,_0x3c3e01])=>this[_0x1c26f8(0x29a)](_0x34e91d,_0x3c3e01)}))??{'dispose':()=>{}})),this[_0x1c26f8(0x3ef)]((0x0,_0x16f5c0[_0x1c26f8(0x3c7)])(((_0x29f972=this[_0x1c26f8(0x349)][_0x1c26f8(0x479)][_0x1c26f8(0x3b9)])==null?void 0x0:_0x29f972[_0x1c26f8(0x141)]({'priority':0x3,'next':([_0x5ed830,_0x12ca0f])=>this['_applyPointerChildDrag'](_0x5ed830,_0x12ca0f)}))??{'dispose':()=>{}})),this[_0x1c26f8(0x3ef)]((0x0,_0x16f5c0[_0x1c26f8(0x3c7)])(((_0x483aa9=this[_0x1c26f8(0x349)][_0x1c26f8(0x479)][_0x1c26f8(0x291)])==null?void 0x0:_0x483aa9['subscribeEvent']({'priority':0x3,'next':([,_0x1f878b])=>this['_cancelPointerChildDrag'](_0x1f878b)}))??{'dispose':()=>{}})),this[_0x1c26f8(0x3ef)]((0x0,_0x16f5c0[_0x1c26f8(0x3c7)])(()=>{const _0x2482b3=_0x1c26f8;var _0x3ecac5;return(_0x3ecac5=this['_objectPointerDisposables'])==null?void 0x0:_0x3ecac5[_0x2482b3(0x410)]();})),this['disposeWithMe']((0x0,_0x16f5c0['toDisposable'])(()=>this[_0x1c26f8(0x2b0)]())),this[_0x1c26f8(0x472)](),this[_0x1c26f8(0x488)](),this['disposeWithMe']((0x0,_0x16f5c0[_0x1c26f8(0x3c7)])(()=>this['_removeDragPreviewObject']()));}['_subscribeElementDataChanges'](){const _0x17858e=_0x4b6d1a;[this[_0x17858e(0x258)][_0x17858e(0x247)],this[_0x17858e(0x258)]['elementUpdate$'],this[_0x17858e(0x258)]['elementRemove$']]['forEach'](_0x165bc6=>{const _0x2eef3f=_0x17858e;this[_0x2eef3f(0x3ef)]((0x0,_0x16f5c0[_0x2eef3f(0x3c7)])(_0x165bc6[_0x2eef3f(0x302)]((0x0,_0x21bd08[_0x2eef3f(0x28a)])(this[_0x2eef3f(0x3d1)]))[_0x2eef3f(0x25d)](()=>{const _0x224fe3=_0x2eef3f;this[_0x224fe3(0x488)]();})));}),this[_0x17858e(0x425)][_0x17858e(0x124)]&&this[_0x17858e(0x3ef)]((0x0,_0x16f5c0[_0x17858e(0x3c7)])(this[_0x17858e(0x425)]['state$'][_0x17858e(0x302)]((0x0,_0x21bd08[_0x17858e(0x28a)])(this[_0x17858e(0x3d1)]))[_0x17858e(0x25d)](()=>{this['_scheduleAttachObjectPointerListeners']();})));}[_0x4b6d1a(0x488)](){const _0xded134=_0x4b6d1a;this['_attachObjectPointerScheduled']||(this[_0xded134(0x448)]=!0x0,Promise[_0xded134(0x493)]()['then'](()=>this[_0xded134(0x36a)]()));}[_0x4b6d1a(0x36a)](){const _0x36415e=_0x4b6d1a;var _0x40e473;this[_0x36415e(0x448)]=!0x1;let _0xf82336=this[_0x36415e(0x1eb)](),_0x5bd1c2=this[_0x36415e(0x349)][_0x36415e(0x479)];if(!_0xf82336||typeof _0x5bd1c2[_0x36415e(0x413)]!='function')return;let _0x228dea=this['_boardElementService'][_0x36415e(0x270)](_0xf82336[_0x36415e(0x3d9)],_0xf82336[_0x36415e(0x430)]),_0x2baa3c=new _0x16f5c0[(_0x36415e(0x347))]();(_0x40e473=this[_0x36415e(0x390)])==null||_0x40e473['dispose'](),this[_0x36415e(0x390)]=_0x2baa3c,Object[_0x36415e(0x14d)](_0x228dea)[_0x36415e(0x411)](_0x4cba19=>{const _0x4e0d88=_0x36415e;var _0x33e46d,_0x395603;let _0x28dedb=(0x0,_0x312ad4[_0x4e0d88(0x15b)])(_0x4cba19[_0x4e0d88(0x16a)]);if(!(_0x28dedb!=null&&_0x28dedb[_0x4e0d88(0x1dc)]))return;let _0x532ed9=(0x0,_0x3a2313[_0x4e0d88(0x192)])(_0xf82336['unitId'],_0x4cba19[_0x4e0d88(0x47d)]),_0x340a05=((_0x33e46d=_0x5bd1c2[_0x4e0d88(0x49c)])==null?void 0x0:_0x33e46d[_0x4e0d88(0x38b)](_0x5bd1c2,_0x532ed9))??((_0x395603=_0x5bd1c2['getObject'])==null?void 0x0:_0x395603['call'](_0x5bd1c2,_0x532ed9));_0x340a05!=null&&_0x340a05[_0x4e0d88(0x309)]&&_0x2baa3c['add'](_0x340a05[_0x4e0d88(0x309)]['subscribeEvent']({'priority':-0xa,'next':([_0x45ad24,_0xbfcd44])=>this['_capturePointerChildDragStart'](_0x45ad24,{'unitId':_0xf82336[_0x4e0d88(0x3d9)],'subUnitId':_0xf82336[_0x4e0d88(0x430)],'nodeId':_0x4cba19[_0x4e0d88(0x47d)]},_0xbfcd44)}));});}[_0x4b6d1a(0x1eb)](){const _0x3079f1=_0x4b6d1a;let _0x5f22d3=this[_0x3079f1(0x425)][_0x3079f1(0x1e2)]()[_0x3079f1(0x209)];if(_0x5f22d3)return _0x5f22d3;let _0x525c45=this[_0x3079f1(0x349)]['unitId'],_0x51fde8=_0x525c45?this[_0x3079f1(0x295)]['getUnit'](_0x525c45,_0x16f5c0[_0x3079f1(0x184)][_0x3079f1(0x2e6)]):null,_0x2fe5fb=_0x51fde8==null?void 0x0:_0x51fde8[_0x3079f1(0x4d9)]();return!_0x51fde8||!_0x2fe5fb?null:{'unitId':_0x51fde8[_0x3079f1(0x3c9)](),'subUnitId':_0x2fe5fb};}[_0x4b6d1a(0x458)](){const _0x4bf1a1=_0x4b6d1a;let _0x1ff75b=this[_0x4bf1a1(0x425)]['getSnapshot']();this[_0x4bf1a1(0x48e)]=!0x1,this[_0x4bf1a1(0x188)]=!0x1,this[_0x4bf1a1(0x2e3)]=null;let _0xc95109=_0x1ff75b['context'],_0xf887f2=_0x1ff75b[_0x4bf1a1(0x3c6)]??_0x1ff75b[_0x4bf1a1(0x23a)][0x0];if(!_0xc95109||!_0xf887f2){this[_0x4bf1a1(0x3e5)]=null,this['_removeDragPreviewObject']();return;}let _0x4c9a1a=this[_0x4bf1a1(0x258)][_0x4bf1a1(0x270)](_0xc95109[_0x4bf1a1(0x3d9)],_0xc95109[_0x4bf1a1(0x430)]);if(_0x1ff75b[_0x4bf1a1(0x23a)][_0x4bf1a1(0x489)]>0x1){let _0xb5882e=this[_0x4bf1a1(0x232)](_0x4c9a1a,_0x1ff75b[_0x4bf1a1(0x23a)]);if(!_0xb5882e){this[_0x4bf1a1(0x3e5)]=null,this[_0x4bf1a1(0x353)]();return;}let _0x4c93c1=_0x4c9a1a[_0xb5882e[_0x4bf1a1(0x315)]],_0x160c5a=(0x0,_0xef9e20[_0x4bf1a1(0x3bc)])(_0x4c9a1a,_0xb5882e[_0x4bf1a1(0x315)]),_0xd596e7=_0x4c93c1[_0x4bf1a1(0x16a)][_0x4bf1a1(0x3cb)];this[_0x4bf1a1(0x3e5)]={'kind':_0x4bf1a1(0x1ae),'unitId':_0xc95109['unitId'],'subUnitId':_0xc95109[_0x4bf1a1(0x430)],'nodeId':_0xb5882e[_0x4bf1a1(0x315)],'scopeId':_0xb5882e[_0x4bf1a1(0x3d8)],'left':(_0x160c5a==null?void 0x0:_0x160c5a[_0x4bf1a1(0x15e)])??_0xd596e7['left']??0x0,'top':(_0x160c5a==null?void 0x0:_0x160c5a['top'])??_0xd596e7['top']??0x0,'width':(_0x160c5a==null?void 0x0:_0x160c5a[_0x4bf1a1(0x155)])??_0xd596e7[_0x4bf1a1(0x155)]??0x0,'height':(_0x160c5a==null?void 0x0:_0x160c5a[_0x4bf1a1(0x398)])??_0xd596e7['height']??0x0,'elementData':_0x4c9a1a};return;}let _0x431cea=_0x4c9a1a[_0xf887f2],_0x132675=(0x0,_0x312ad4['getMindMapNodeMeta'])(_0x431cea==null?void 0x0:_0x431cea[_0x4bf1a1(0x16a)]);if(!_0x431cea||!_0x132675){this[_0x4bf1a1(0x3e5)]=null,this[_0x4bf1a1(0x353)]();return;}let _0x3dbeb4=(0x0,_0xef9e20['resolveBoardElementWorldBounds'])(_0x4c9a1a,_0xf887f2),_0x239cff=_0x431cea[_0x4bf1a1(0x16a)][_0x4bf1a1(0x3cb)];this[_0x4bf1a1(0x3e5)]={'kind':_0x132675[_0x4bf1a1(0x1dc)]===null?_0x4bf1a1(0x485):_0x4bf1a1(0x463),'unitId':_0xc95109[_0x4bf1a1(0x3d9)],'subUnitId':_0xc95109[_0x4bf1a1(0x430)],'nodeId':_0xf887f2,'scopeId':_0x132675[_0x4bf1a1(0x4b2)],'left':(_0x3dbeb4==null?void 0x0:_0x3dbeb4[_0x4bf1a1(0x15e)])??_0x239cff[_0x4bf1a1(0x15e)]??0x0,'top':(_0x3dbeb4==null?void 0x0:_0x3dbeb4['top'])??_0x239cff[_0x4bf1a1(0x2b5)]??0x0,'width':(_0x3dbeb4==null?void 0x0:_0x3dbeb4[_0x4bf1a1(0x155)])??_0x239cff[_0x4bf1a1(0x155)]??0x0,'height':(_0x3dbeb4==null?void 0x0:_0x3dbeb4[_0x4bf1a1(0x398)])??_0x239cff[_0x4bf1a1(0x398)]??0x0,'elementData':_0x4c9a1a};}[_0x4b6d1a(0x232)](_0x122241,_0x58d418){const _0x109b5f=_0x4b6d1a;let _0x32184b=new Set(_0x58d418),_0x304718=_0x58d418[_0x109b5f(0x2e5)](_0x10b453=>{const _0x599bf4=_0x109b5f;var _0x303df4,_0x4e5d01,_0xdd7f2a,_0x343fcc;let _0x27ed32=(_0x303df4=_0x122241[_0x10b453])==null?void 0x0:_0x303df4[_0x599bf4(0x16a)];return((_0x4e5d01=(0x0,_0x312ad4[_0x599bf4(0x15b)])(_0x27ed32))==null?void 0x0:_0x4e5d01['structureScopeId'])??((_0xdd7f2a=(0x0,_0x312ad4[_0x599bf4(0x317)])(_0x27ed32))==null?void 0x0:_0xdd7f2a[_0x599bf4(0x4b2)])??((_0x343fcc=(0x0,_0x312ad4[_0x599bf4(0x1da)])(_0x27ed32))==null?void 0x0:_0x343fcc[_0x599bf4(0x4b2)])??null;});if(_0x304718[_0x109b5f(0x257)](_0x5580f2=>_0x5580f2===null)||new Set(_0x304718)['size']!==0x1)return null;let _0x249d0f=_0x304718[0x0];if(!_0x249d0f)return null;let _0x31571b=Object['values'](_0x122241)['filter'](_0x1e31e5=>{const _0x5d8e6e=_0x109b5f;var _0x3aa7d4;return _0x1e31e5[_0x5d8e6e(0x16a)]['visible']!==!0x1&&((_0x3aa7d4=(0x0,_0x312ad4[_0x5d8e6e(0x15b)])(_0x1e31e5[_0x5d8e6e(0x16a)]))==null?void 0x0:_0x3aa7d4['structureScopeId'])===_0x249d0f;});if(_0x31571b[_0x109b5f(0x489)]===0x0||_0x31571b[_0x109b5f(0x257)](_0x457463=>!_0x32184b[_0x109b5f(0x4d0)](_0x457463[_0x109b5f(0x47d)])))return null;let _0x578c8a=_0x31571b['filter'](_0x35541d=>{const _0x1887e8=_0x109b5f;var _0x47c60e;return((_0x47c60e=(0x0,_0x312ad4[_0x1887e8(0x15b)])(_0x35541d[_0x1887e8(0x16a)]))==null?void 0x0:_0x47c60e[_0x1887e8(0x1dc)])===null;});return _0x578c8a['length']===0x1?{'rootNodeId':_0x578c8a[0x0][_0x109b5f(0x47d)],'scopeId':_0x249d0f}:null;}['_capturePointerChildDragStart'](_0x1b70ef,_0x291718,_0x9415ab){const _0x5647e8=_0x4b6d1a;var _0x3821e4,_0x4b3704,_0x248af8,_0x4ec2b8,_0x48904d;if(this[_0x5647e8(0x464)][_0x5647e8(0x22a)]()[_0x5647e8(0x1b9)]===_0x5647e8(0x32a)||(_0x1b70ef['button']??0x0)!==0x0)return;let _0x54c913=this[_0x5647e8(0x425)][_0x5647e8(0x1e2)]();if(_0x54c913[_0x5647e8(0x154)]){this['_pointerDragStart']=null;return;}let _0x3687bc=_0x291718?{'unitId':_0x291718[_0x5647e8(0x3d9)],'subUnitId':_0x291718[_0x5647e8(0x430)]}:_0x54c913[_0x5647e8(0x209)]??this[_0x5647e8(0x1eb)](),_0x369084=(_0x291718==null?void 0x0:_0x291718[_0x5647e8(0x462)])??(_0x54c913['selectedIds'][_0x5647e8(0x489)]===0x1?_0x54c913[_0x5647e8(0x3c6)]??_0x54c913['selectedIds'][0x0]:void 0x0);if(!_0x3687bc){this[_0x5647e8(0x1a8)]=null;return;}let _0x2312d5=this[_0x5647e8(0x258)][_0x5647e8(0x270)](_0x3687bc['unitId'],_0x3687bc[_0x5647e8(0x430)]),_0x4c57f4=this['_getBoardPointFromEvent'](_0x1b70ef);if(!_0x291718){let _0xa09552=_0x369084?_0x2312d5[_0x369084]:null,_0x509d03=(0x0,_0x312ad4[_0x5647e8(0x15b)])(_0xa09552==null?void 0x0:_0xa09552[_0x5647e8(0x16a)]),_0x331930=_0x369084?(0x0,_0xef9e20['resolveBoardElementWorldBounds'])(_0x2312d5,_0x369084)??(_0xa09552==null?void 0x0:_0xa09552[_0x5647e8(0x16a)][_0x5647e8(0x3cb)]):null;(!(_0x509d03!=null&&_0x509d03[_0x5647e8(0x1dc)])||!_0x331930||!this[_0x5647e8(0x40b)](_0x4c57f4,{'left':_0x331930[_0x5647e8(0x15e)]??0x0,'top':_0x331930[_0x5647e8(0x2b5)]??0x0,'width':_0x331930['width']??0x0,'height':_0x331930['height']??0x0}))&&(_0x369084=this[_0x5647e8(0x32d)](_0x2312d5,_0x4c57f4));}if(!_0x369084){this['_pointerDragStart']=null;return;}let _0x11db1c=_0x2312d5[_0x369084],_0x56c3ae=(0x0,_0x312ad4[_0x5647e8(0x15b)])(_0x11db1c==null?void 0x0:_0x11db1c[_0x5647e8(0x16a)]);if(!_0x11db1c||!(_0x56c3ae!=null&&_0x56c3ae[_0x5647e8(0x1dc)])){this[_0x5647e8(0x1a8)]=null;return;}this['_instanceService'][_0x5647e8(0x3e3)](_0x3687bc[_0x5647e8(0x3d9)]),(_0x3821e4=this['_renderContext'][_0x5647e8(0x4be)])==null||(_0x4b3704=_0x3821e4[_0x5647e8(0x2d9)])==null||(_0x4b3704=_0x4b3704[_0x5647e8(0x38b)](_0x3821e4))==null||(_0x248af8=_0x4b3704[_0x5647e8(0x20e)])==null||_0x248af8['call'](_0x4b3704,{'preventScroll':!0x0}),(_0x4ec2b8=(_0x48904d=this[_0x5647e8(0x425)])[_0x5647e8(0x1b7)])==null||_0x4ec2b8[_0x5647e8(0x38b)](_0x48904d,_0x3687bc,[_0x369084],_0x369084),_0x9415ab==null||_0x9415ab[_0x5647e8(0x437)]();let _0x188cbe=(0x0,_0xef9e20[_0x5647e8(0x3bc)])(_0x2312d5,_0x369084),_0x180c9a=_0x11db1c[_0x5647e8(0x16a)][_0x5647e8(0x3cb)],_0x3f046a={'left':(_0x188cbe==null?void 0x0:_0x188cbe[_0x5647e8(0x15e)])??_0x180c9a['left']??0x0,'top':(_0x188cbe==null?void 0x0:_0x188cbe['top'])??_0x180c9a[_0x5647e8(0x2b5)]??0x0,'width':(_0x188cbe==null?void 0x0:_0x188cbe[_0x5647e8(0x155)])??_0x180c9a[_0x5647e8(0x155)]??0x0,'height':(_0x188cbe==null?void 0x0:_0x188cbe['height'])??_0x180c9a[_0x5647e8(0x398)]??0x0};if(!_0x291718&&!this[_0x5647e8(0x40b)](_0x4c57f4,_0x3f046a)){this[_0x5647e8(0x1a8)]=null;return;}let _0x161cbc=this['_getPointerScreenPoint'](_0x1b70ef);this[_0x5647e8(0x48e)]=!0x1,this[_0x5647e8(0x188)]=!0x1,this[_0x5647e8(0x2e3)]=null,this[_0x5647e8(0x1a8)]={'kind':_0x5647e8(0x463),'unitId':_0x3687bc[_0x5647e8(0x3d9)],'subUnitId':_0x3687bc[_0x5647e8(0x430)],'nodeId':_0x369084,'scopeId':_0x56c3ae['structureScopeId'],..._0x3f046a,'pointerStartX':_0x161cbc['x'],'pointerStartY':_0x161cbc['y'],'elementData':_0x2312d5},this[_0x5647e8(0x42d)](),this[_0x5647e8(0x484)](_0x1b70ef,_0x9415ab);}['_syncPointerChildDragPreview'](_0x34a59f,_0x52cd69){const _0x15f378=_0x4b6d1a;var _0x3db58e,_0x43b8b2;let _0x3acef7=this['_pointerDragStart'];if(!_0x3acef7||_0x34a59f[_0x15f378(0x1ad)]!==void 0x0&&_0x34a59f[_0x15f378(0x1ad)]!==0x1)return;let _0x21ef0d=this[_0x15f378(0x381)](_0x34a59f,_0x3acef7);if(!this[_0x15f378(0x256)](_0x3acef7,_0x21ef0d))return;this[_0x15f378(0x48e)]||this[_0x15f378(0x1e6)](),this[_0x15f378(0x48e)]=!0x0;let _0xeb105=this[_0x15f378(0x3ca)](_0x3acef7[_0x15f378(0x254)],_0x3acef7[_0x15f378(0x462)],_0x21ef0d),_0x1ec6ff=_0x17f279(_0x3acef7[_0x15f378(0x254)],_0x3acef7[_0x15f378(0x462)],{'boundsByElementId':_0xeb105,'detachWhenNoSnap':!0x0});this[_0x15f378(0x2e3)]=_0x1ec6ff,this[_0x15f378(0x288)](_0x21ef0d,_0x1ec6ff,_0xeb105),this[_0x15f378(0x484)](_0x34a59f,_0x52cd69),this[_0x15f378(0x349)][_0x15f378(0x479)][_0x15f378(0x420)](!0x0),(_0x3db58e=(_0x43b8b2=this[_0x15f378(0x349)][_0x15f378(0x479)])[_0x15f378(0x3d2)])==null||_0x3db58e['call'](_0x43b8b2);}[_0x4b6d1a(0x340)](_0x200a6b,_0x117c0e){const _0x40d53f=_0x4b6d1a;let _0x3fafda=this[_0x40d53f(0x1a8)];if(!_0x3fafda)return;if(this[_0x40d53f(0x1a8)]=null,this[_0x40d53f(0x2b0)](),this[_0x40d53f(0x353)](),!this[_0x40d53f(0x48e)]){this[_0x40d53f(0x2e3)]=null;return;}let _0x4f9b1d=this[_0x40d53f(0x258)][_0x40d53f(0x270)](_0x3fafda['unitId'],_0x3fafda[_0x40d53f(0x430)]),_0x10bce4=this[_0x40d53f(0x381)](_0x200a6b,_0x3fafda),_0x46eb94=this[_0x40d53f(0x3ca)](_0x4f9b1d,_0x3fafda[_0x40d53f(0x462)],_0x10bce4),_0x14b5e4=_0x17f279(_0x4f9b1d,_0x3fafda[_0x40d53f(0x462)],{'boundsByElementId':_0x46eb94,'detachWhenNoSnap':!0x0});this['_lastChildDragAction']=null,this[_0x40d53f(0x213)](_0x3fafda[_0x40d53f(0x3d9)],_0x3fafda[_0x40d53f(0x430)],_0x3fafda[_0x40d53f(0x462)],_0x4f9b1d,_0x14b5e4),this[_0x40d53f(0x188)]=!0x1,this[_0x40d53f(0x484)](_0x200a6b,_0x117c0e);}[_0x4b6d1a(0x1e4)](_0x42c290){const _0x6ff9ed=_0x4b6d1a;let _0x3b6711=this[_0x6ff9ed(0x1a8)];if(_0x3b6711){if(this[_0x6ff9ed(0x1a8)]=null,this[_0x6ff9ed(0x2b0)](),this[_0x6ff9ed(0x48e)]=!0x1,this[_0x6ff9ed(0x2e3)]=null,this[_0x6ff9ed(0x353)](),this[_0x6ff9ed(0x188)]){var _0x538e22,_0x3260ca;(_0x538e22=(_0x3260ca=this[_0x6ff9ed(0x425)])[_0x6ff9ed(0x1b7)])==null||_0x538e22[_0x6ff9ed(0x38b)](_0x3260ca,{'unitId':_0x3b6711['unitId'],'subUnitId':_0x3b6711[_0x6ff9ed(0x430)]},[_0x3b6711['nodeId']],_0x3b6711[_0x6ff9ed(0x462)]),this[_0x6ff9ed(0x188)]=!0x1;}_0x42c290==null||_0x42c290[_0x6ff9ed(0x437)]();}}[_0x4b6d1a(0x42d)](){const _0x40effe=_0x4b6d1a;this['_disposeActivePointerDragListeners']();let _0x5e0b7e=typeof window>'u'?null:window;if(!(_0x5e0b7e!=null&&_0x5e0b7e[_0x40effe(0x2fb)]))return;let _0x4c41ce=new _0x16f5c0[(_0x40effe(0x347))](),_0x5f40e7=_0x107466=>this['_syncPointerChildDragPreview'](_0x107466),_0x28ce2d=_0x543786=>this['_applyPointerChildDrag'](_0x543786),_0x4e3790=()=>this[_0x40effe(0x1e4)]();_0x5e0b7e[_0x40effe(0x2fb)]('pointermove',_0x5f40e7,{'capture':!0x0}),_0x5e0b7e['addEventListener']('pointerup',_0x28ce2d,{'capture':!0x0}),_0x5e0b7e[_0x40effe(0x2fb)](_0x40effe(0x33c),_0x4e3790,{'capture':!0x0}),_0x4c41ce[_0x40effe(0x3bd)]((0x0,_0x16f5c0[_0x40effe(0x3c7)])(()=>{const _0x3b845f=_0x40effe;_0x5e0b7e['removeEventListener'](_0x3b845f(0x1ee),_0x5f40e7,{'capture':!0x0}),_0x5e0b7e[_0x3b845f(0x165)]('pointerup',_0x28ce2d,{'capture':!0x0}),_0x5e0b7e[_0x3b845f(0x165)]('pointercancel',_0x4e3790,{'capture':!0x0});})),this['_activePointerDragDisposables']=_0x4c41ce;}[_0x4b6d1a(0x32d)](_0x23e89d,_0x573aaa){const _0x166eec=_0x4b6d1a;let _0x210d6a=Object[_0x166eec(0x14d)](_0x23e89d);for(let _0x44c3a2=_0x210d6a['length']-0x1;_0x44c3a2>=0x0;--_0x44c3a2){let _0x445b97=_0x210d6a[_0x44c3a2],_0x523616=(0x0,_0x312ad4['getMindMapNodeMeta'])(_0x445b97[_0x166eec(0x16a)]);if(!(_0x523616!=null&&_0x523616[_0x166eec(0x1dc)]))continue;let _0x48b656=(0x0,_0xef9e20[_0x166eec(0x3bc)])(_0x23e89d,_0x445b97['elementId'])??_0x445b97[_0x166eec(0x16a)][_0x166eec(0x3cb)];if(this[_0x166eec(0x40b)](_0x573aaa,{'left':_0x48b656[_0x166eec(0x15e)]??0x0,'top':_0x48b656[_0x166eec(0x2b5)]??0x0,'width':_0x48b656[_0x166eec(0x155)]??0x0,'height':_0x48b656[_0x166eec(0x398)]??0x0}))return _0x445b97[_0x166eec(0x47d)];}}[_0x4b6d1a(0x2b0)](){const _0x580e49=_0x4b6d1a;var _0x1d8e20;(_0x1d8e20=this[_0x580e49(0x20a)])==null||_0x1d8e20['dispose'](),this[_0x580e49(0x20a)]=null;}[_0x4b6d1a(0x179)](_0x1a37bb){const _0x2f79f1=_0x4b6d1a;let _0x16835c=this[_0x2f79f1(0x3e5)];if(_0x16835c){if((_0x16835c[_0x2f79f1(0x23d)]===_0x2f79f1(0x485)||_0x16835c['kind']===_0x2f79f1(0x1ae))&&this[_0x2f79f1(0x3f8)](_0x1a37bb),_0x16835c['kind']===_0x2f79f1(0x485)){this[_0x2f79f1(0x373)](_0x1a37bb);return;}this['_syncChildDragPreview'](_0x1a37bb);}}[_0x4b6d1a(0x3f8)](_0x5c93cf){const _0x17e34a=_0x4b6d1a;let _0x5cedde=this[_0x17e34a(0x3e5)];if(!_0x5cedde||_0x5cedde['kind']!==_0x17e34a(0x485)&&_0x5cedde[_0x17e34a(0x23d)]!==_0x17e34a(0x1ae))return;let _0x32f67d=_0x5c93cf==null?void 0x0:_0x5c93cf[_0x17e34a(0x31a)]((0x0,_0x3a2313[_0x17e34a(0x192)])(_0x5cedde['unitId'],_0x5cedde[_0x17e34a(0x462)]));if(!_0x32f67d||!Number[_0x17e34a(0x48a)](_0x32f67d[_0x17e34a(0x15e)])||!Number[_0x17e34a(0x48a)](_0x32f67d[_0x17e34a(0x2b5)]))return;let _0x11175a=_0x527eaa({'elementData':_0x5cedde[_0x17e34a(0x254)],'rootNodeId':_0x5cedde[_0x17e34a(0x462)],'scopeId':_0x5cedde[_0x17e34a(0x3d8)],'rootStartBounds':{'left':_0x5cedde[_0x17e34a(0x15e)],'top':_0x5cedde[_0x17e34a(0x2b5)]},'liveRootBounds':{'left':_0x32f67d[_0x17e34a(0x15e)],'top':_0x32f67d[_0x17e34a(0x2b5)]}});if(!_0x11175a)return;let _0x5f2900=this[_0x17e34a(0x349)][_0x17e34a(0x479)],_0x4901df=_0x5f2900,_0x15d8cc=!0x1;_0x11175a[_0x17e34a(0x34e)][_0x17e34a(0x411)](_0x567466=>{const _0x4c7353=_0x17e34a;var _0x194d78;let _0x2b22a2=(0x0,_0x3a2313[_0x4c7353(0x192)])(_0x5cedde['unitId'],_0x567466[_0x4c7353(0x47d)]),_0x44d836=((_0x194d78=_0x4901df[_0x4c7353(0x49c)])==null?void 0x0:_0x194d78[_0x4c7353(0x38b)](_0x4901df,_0x2b22a2))??_0x5f2900['getObject'](_0x2b22a2);if(_0x44d836){if(_0x567466[_0x4c7353(0x23d)]===_0x4c7353(0x13e)&&typeof _0x44d836[_0x4c7353(0x3da)]=='function'){_0x44d836[_0x4c7353(0x3da)](_0x567466['element'],_0x11175a[_0x4c7353(0x254)]),_0x15d8cc=!0x0;return;}_0x567466[_0x4c7353(0x23d)]===_0x4c7353(0x30d)&&(_0x44d836[_0x4c7353(0x14c)](_0x567466['bounds']),typeof _0x44d836['makeDirtyNoDebounce']==_0x4c7353(0x223)?_0x44d836[_0x4c7353(0x1c5)](!0x0):_0x44d836['makeDirty'](!0x0),_0x15d8cc=!0x0);}}),_0x15d8cc&&_0x5f2900[_0x17e34a(0x420)](!0x0);}['_syncRootReparentPreview'](_0x302ad4){const _0x39ea90=_0x4b6d1a;var _0x14eaa6,_0x948e3;let _0x4650ff=this[_0x39ea90(0x3e5)];if(!_0x4650ff||_0x4650ff[_0x39ea90(0x23d)]!==_0x39ea90(0x485))return;let _0x3f2dd6=_0x302ad4==null?void 0x0:_0x302ad4[_0x39ea90(0x31a)]((0x0,_0x3a2313[_0x39ea90(0x192)])(_0x4650ff[_0x39ea90(0x3d9)],_0x4650ff[_0x39ea90(0x462)]));if(!_0x3f2dd6||!Number['isFinite'](_0x3f2dd6[_0x39ea90(0x15e)])||!Number[_0x39ea90(0x48a)](_0x3f2dd6[_0x39ea90(0x2b5)])){this['_removeDragPreviewObject']();return;}let _0x462d00=this[_0x39ea90(0x435)](_0x3f2dd6,_0x4650ff),_0x3fc1cf=this[_0x39ea90(0x3ca)](_0x4650ff['elementData'],_0x4650ff[_0x39ea90(0x462)],_0x462d00),_0x40bad8=_0x17f279(_0x4650ff[_0x39ea90(0x254)],_0x4650ff[_0x39ea90(0x462)],{'boundsByElementId':_0x3fc1cf,'allowRootReparent':!0x0});if(_0x40bad8[_0x39ea90(0x23d)]!==_0x39ea90(0x25b)){this['_removeDragPreviewObject']();return;}let _0x56cbe8=this['_ensureDragPreviewObject']();_0x56cbe8&&(_0x56cbe8[_0x39ea90(0x2e7)]({'ghostBounds':_0x462d00,'sourceBounds':null,'parentBounds':_0x3fc1cf[_0x40bad8[_0x39ea90(0x31b)]],'side':_0x40bad8['side'],'textStyle':void 0x0,'renderGhostNode':!0x1}),this['_renderContext'][_0x39ea90(0x479)][_0x39ea90(0x420)](!0x0),(_0x14eaa6=(_0x948e3=this[_0x39ea90(0x349)][_0x39ea90(0x479)])[_0x39ea90(0x3d2)])==null||_0x14eaa6[_0x39ea90(0x38b)](_0x948e3));}[_0x4b6d1a(0x4cd)](_0x333a83){const _0x10f635=_0x4b6d1a;var _0x1ab82b,_0x4f9056;let _0x20b0e0=this[_0x10f635(0x3e5)];if(!_0x20b0e0||_0x20b0e0[_0x10f635(0x23d)]!==_0x10f635(0x463))return;let _0x263fc0=_0x333a83==null?void 0x0:_0x333a83[_0x10f635(0x31a)]((0x0,_0x3a2313[_0x10f635(0x192)])(_0x20b0e0[_0x10f635(0x3d9)],_0x20b0e0[_0x10f635(0x462)]));if(!_0x263fc0){this['_removeDragPreviewObject']();return;}let _0x57ea08=this[_0x10f635(0x435)](_0x263fc0,_0x20b0e0);if(!this[_0x10f635(0x256)](_0x20b0e0,_0x57ea08)){this[_0x10f635(0x2e3)]=null,this[_0x10f635(0x353)](),this['_restoreObjectToDragStart'](_0x263fc0,_0x20b0e0),this[_0x10f635(0x349)][_0x10f635(0x479)][_0x10f635(0x420)](!0x0);return;}this[_0x10f635(0x48e)]||this['_hideSelectionForChildDrag'](),this['_childDragActivated']=!0x0;let _0x4421d3=this[_0x10f635(0x3ca)](_0x20b0e0[_0x10f635(0x254)],_0x20b0e0['nodeId'],_0x57ea08),_0x3914da=_0x17f279(_0x20b0e0[_0x10f635(0x254)],_0x20b0e0[_0x10f635(0x462)],{'boundsByElementId':_0x4421d3,'detachWhenNoSnap':!0x0});this[_0x10f635(0x2e3)]=_0x3914da,this[_0x10f635(0x288)](_0x57ea08,_0x3914da,_0x4421d3),this[_0x10f635(0x2a0)](_0x263fc0,_0x20b0e0),this[_0x10f635(0x349)][_0x10f635(0x479)][_0x10f635(0x420)](!0x0),(_0x1ab82b=(_0x4f9056=this['_renderContext'][_0x10f635(0x479)])[_0x10f635(0x3d2)])==null||_0x1ab82b['call'](_0x4f9056);}[_0x4b6d1a(0x387)](_0x123a1c){const _0x5ea9cf=_0x4b6d1a;var _0x161762;let _0x29b2bc=this['_elementStateService'][_0x5ea9cf(0x1e2)](),_0x49a77e=_0x29b2bc[_0x5ea9cf(0x209)],_0x34732b=_0x29b2bc['focusedId']??_0x29b2bc[_0x5ea9cf(0x23a)][0x0];if(_0x49a77e&&((_0x161762=this[_0x5ea9cf(0x3e5)])==null?void 0x0:_0x161762[_0x5ea9cf(0x23d)])===_0x5ea9cf(0x1ae)){this[_0x5ea9cf(0x353)](),this[_0x5ea9cf(0x4d8)](_0x49a77e[_0x5ea9cf(0x3d9)],_0x49a77e[_0x5ea9cf(0x430)],_0x123a1c);return;}if(!_0x49a77e||!_0x34732b||_0x29b2bc[_0x5ea9cf(0x23a)]['length']!==0x1){this[_0x5ea9cf(0x353)](),this[_0x5ea9cf(0x3e5)]=null;return;}this['_removeDragPreviewObject']();let _0x2f5e14=this[_0x5ea9cf(0x258)][_0x5ea9cf(0x270)](_0x49a77e[_0x5ea9cf(0x3d9)],_0x49a77e[_0x5ea9cf(0x430)]);if(this[_0x5ea9cf(0x4af)](_0x49a77e[_0x5ea9cf(0x3d9)],_0x49a77e[_0x5ea9cf(0x430)],_0x34732b,_0x2f5e14,_0x123a1c))return;let _0x344d6a=this[_0x5ea9cf(0x434)](_0x49a77e[_0x5ea9cf(0x3d9)],_0x49a77e[_0x5ea9cf(0x430)],_0x34732b,_0x2f5e14,_0x123a1c);this[_0x5ea9cf(0x213)](_0x49a77e[_0x5ea9cf(0x3d9)],_0x49a77e[_0x5ea9cf(0x430)],_0x34732b,_0x2f5e14,_0x344d6a);}[_0x4b6d1a(0x4d8)](_0x6352ab,_0x52743d,_0x68e478){const _0x44a55a=_0x4b6d1a;let _0x1041c5=this['_dragStart'];if(this[_0x44a55a(0x3e5)]=null,!_0x1041c5||_0x1041c5[_0x44a55a(0x23d)]!==_0x44a55a(0x1ae)||_0x1041c5[_0x44a55a(0x3d9)]!==_0x6352ab||_0x1041c5[_0x44a55a(0x430)]!==_0x52743d)return;let _0x436678=_0x68e478==null?void 0x0:_0x68e478['get']((0x0,_0x3a2313[_0x44a55a(0x192)])(_0x6352ab,_0x1041c5[_0x44a55a(0x462)])),_0x3bb075=_0x436678&&Number[_0x44a55a(0x48a)](_0x436678[_0x44a55a(0x15e)])?_0x436678[_0x44a55a(0x15e)]??_0x1041c5[_0x44a55a(0x15e)]:_0x1041c5[_0x44a55a(0x15e)],_0x2f390c=_0x436678&&Number[_0x44a55a(0x48a)](_0x436678[_0x44a55a(0x2b5)])?_0x436678[_0x44a55a(0x2b5)]??_0x1041c5['top']:_0x1041c5[_0x44a55a(0x2b5)],_0x2fb621=_0x3bb075-_0x1041c5[_0x44a55a(0x15e)],_0x39de0c=_0x2f390c-_0x1041c5['top'];(_0x2fb621!==0x0||_0x39de0c!==0x0)&&this[_0x44a55a(0x1fa)][_0x44a55a(0x39f)](_0x312ad4[_0x44a55a(0x2a6)]['id'],{'unitId':_0x6352ab,'subUnitId':_0x52743d,'scopeId':_0x1041c5[_0x44a55a(0x3d8)],'deltaX':_0x2fb621,'deltaY':_0x39de0c});}['_executeChildDragAction'](_0x3f7091,_0xd82ef3,_0x21db50,_0x41b86c,_0x23f60e){const _0x495cd4=_0x4b6d1a;if(_0x23f60e[_0x495cd4(0x23d)]===_0x495cd4(0x25b)){var _0x41c849,_0x11e442;let _0x5d8a52=(0x0,_0x312ad4['getMindMapNodeMeta'])((_0x41c849=_0x41b86c[_0x21db50])==null?void 0x0:_0x41c849[_0x495cd4(0x16a)]),_0x4ca1d6=(0x0,_0x312ad4[_0x495cd4(0x15b)])((_0x11e442=_0x41b86c[_0x23f60e[_0x495cd4(0x31b)]])==null?void 0x0:_0x11e442[_0x495cd4(0x16a)]);this[_0x495cd4(0x1ed)](_0x312ad4[_0x495cd4(0x47b)]['id'],{'unitId':_0x3f7091,'subUnitId':_0xd82ef3,'nodeId':_0x21db50,'newParentNodeId':_0x23f60e[_0x495cd4(0x31b)],'side':_0x23f60e['side'],..._0x23f60e[_0x495cd4(0x4a5)]?{'referenceNodeId':_0x23f60e[_0x495cd4(0x4a5)]}:null,..._0x23f60e[_0x495cd4(0x482)]?{'placement':_0x23f60e[_0x495cd4(0x482)]}:null},[_0x5d8a52==null?void 0x0:_0x5d8a52[_0x495cd4(0x4b2)],_0x4ca1d6==null?void 0x0:_0x4ca1d6['structureScopeId']],_0x21db50);return;}if(_0x23f60e['kind']==='detach'){var _0x2b719c;let _0x1b2a8e=(0x0,_0x312ad4[_0x495cd4(0x15b)])((_0x2b719c=_0x41b86c[_0x21db50])==null?void 0x0:_0x2b719c['element']);this[_0x495cd4(0x1ed)](_0x312ad4[_0x495cd4(0x2e4)]['id'],{'unitId':_0x3f7091,'subUnitId':_0xd82ef3,'nodeId':_0x21db50,...Number['isFinite'](_0x23f60e[_0x495cd4(0x15e)])?{'left':_0x23f60e['left']}:null,...Number['isFinite'](_0x23f60e['top'])?{'top':_0x23f60e[_0x495cd4(0x2b5)]}:null},[_0x1b2a8e==null?void 0x0:_0x1b2a8e[_0x495cd4(0x4b2)]],_0x21db50);}}[_0x4b6d1a(0x4af)](_0x31cb7b,_0xaa7b15,_0x5c3b0f,_0x3b6f1b,_0x20b6bd){const _0x1c1648=_0x4b6d1a;let _0x4760a2=this[_0x1c1648(0x3e5)];if((_0x4760a2==null?void 0x0:_0x4760a2[_0x1c1648(0x23d)])===_0x1c1648(0x485)&&(this['_dragStart']=null),!_0x4760a2||_0x4760a2[_0x1c1648(0x3d9)]!==_0x31cb7b||_0x4760a2['subUnitId']!==_0xaa7b15||_0x4760a2[_0x1c1648(0x462)]!==_0x5c3b0f)return!0x1;let _0x320924=_0x3b6f1b[_0x5c3b0f],_0x1924fc=(0x0,_0x312ad4[_0x1c1648(0x15b)])(_0x320924==null?void 0x0:_0x320924[_0x1c1648(0x16a)]);if(!_0x320924||!_0x1924fc||_0x1924fc[_0x1c1648(0x1dc)]!==null)return!0x1;let _0x25f855=_0x20b6bd==null?void 0x0:_0x20b6bd[_0x1c1648(0x31a)]((0x0,_0x3a2313[_0x1c1648(0x192)])(_0x31cb7b,_0x5c3b0f)),_0xf6a6ec=(0x0,_0xef9e20[_0x1c1648(0x3bc)])(_0x3b6f1b,_0x5c3b0f),_0x26d431=Number[_0x1c1648(0x48a)](_0x25f855==null?void 0x0:_0x25f855[_0x1c1648(0x15e)])?_0x25f855[_0x1c1648(0x15e)]:(_0xf6a6ec==null?void 0x0:_0xf6a6ec[_0x1c1648(0x15e)])??_0x320924['element']['transform']['left']??0x0,_0x13dd0a=Number[_0x1c1648(0x48a)](_0x25f855==null?void 0x0:_0x25f855[_0x1c1648(0x2b5)])?_0x25f855['top']:(_0xf6a6ec==null?void 0x0:_0xf6a6ec[_0x1c1648(0x2b5)])??_0x320924[_0x1c1648(0x16a)]['transform'][_0x1c1648(0x2b5)]??0x0,_0xca7e2d=_0x26d431-_0x4760a2['left'],_0x9bbed1=_0x13dd0a-_0x4760a2['top'];if(_0xca7e2d===0x0&&_0x9bbed1===0x0)return!0x0;let _0xbb7728={'left':_0x26d431,'top':_0x13dd0a,'width':Number[_0x1c1648(0x48a)](_0x25f855==null?void 0x0:_0x25f855[_0x1c1648(0x155)])?_0x25f855[_0x1c1648(0x155)]:_0x4760a2['width'],'height':Number[_0x1c1648(0x48a)](_0x25f855==null?void 0x0:_0x25f855['height'])?_0x25f855[_0x1c1648(0x398)]:_0x4760a2[_0x1c1648(0x398)]},_0x47e3c=_0x17f279(_0x3b6f1b,_0x5c3b0f,{'boundsByElementId':this[_0x1c1648(0x3ca)](_0x3b6f1b,_0x5c3b0f,_0xbb7728),'allowRootReparent':!0x0});if(_0x47e3c[_0x1c1648(0x23d)]===_0x1c1648(0x25b))return this[_0x1c1648(0x213)](_0x31cb7b,_0xaa7b15,_0x5c3b0f,_0x3b6f1b,_0x47e3c),!0x0;let _0x285607=!!_0xf6a6ec&&Math[_0x1c1648(0x316)](_0xf6a6ec[_0x1c1648(0x15e)]-_0x26d431)<0.001&&Math[_0x1c1648(0x316)](_0xf6a6ec[_0x1c1648(0x2b5)]-_0x13dd0a)<0.001;return this[_0x1c1648(0x1fa)][_0x1c1648(0x39f)](_0x312ad4[_0x1c1648(0x2a6)]['id'],{'unitId':_0x31cb7b,'subUnitId':_0xaa7b15,'scopeId':_0x4760a2[_0x1c1648(0x3d8)],'deltaX':_0xca7e2d,'deltaY':_0x9bbed1,..._0x285607?{'excludeElementIds':[_0x5c3b0f],'preserveExcludedWorldTransforms':!0x0}:null}),!0x0;}[_0x4b6d1a(0x434)](_0xbfc430,_0xee7f1e,_0x3ede75,_0x4fa1e7,_0x35ea48){const _0x4d43c7=_0x4b6d1a;let _0x1c04c4=this[_0x4d43c7(0x3e5)];if(!_0x1c04c4||_0x1c04c4[_0x4d43c7(0x23d)]!==_0x4d43c7(0x463)||_0x1c04c4['unitId']!==_0xbfc430||_0x1c04c4[_0x4d43c7(0x430)]!==_0xee7f1e||_0x1c04c4[_0x4d43c7(0x462)]!==_0x3ede75)return{'kind':_0x4d43c7(0x250)};this[_0x4d43c7(0x3e5)]=null;let _0x1ff67c=_0x35ea48==null?void 0x0:_0x35ea48[_0x4d43c7(0x31a)]((0x0,_0x3a2313[_0x4d43c7(0x192)])(_0xbfc430,_0x3ede75));if(!this[_0x4d43c7(0x48e)])return _0x1ff67c&&this[_0x4d43c7(0x2a0)](_0x1ff67c,_0x1c04c4),this['_lastChildDragAction']=null,{'kind':_0x4d43c7(0x250)};if(!_0x1ff67c){let _0x2c8ecf=this[_0x4d43c7(0x2e3)]??{'kind':'none'};return this[_0x4d43c7(0x2e3)]=null,_0x2c8ecf;}let _0x142a81=this[_0x4d43c7(0x435)](_0x1ff67c,_0x1c04c4);if(this[_0x4d43c7(0x2a0)](_0x1ff67c,_0x1c04c4),!this[_0x4d43c7(0x256)](_0x1c04c4,_0x142a81))return this[_0x4d43c7(0x2e3)]=null,{'kind':_0x4d43c7(0x250)};let _0x103a29=_0x17f279(_0x4fa1e7,_0x3ede75,{'boundsByElementId':this[_0x4d43c7(0x3ca)](_0x4fa1e7,_0x3ede75,_0x142a81),'detachWhenNoSnap':!0x0});return this[_0x4d43c7(0x2e3)]=null,_0x103a29;}[_0x4b6d1a(0x256)](_0x5ca124,_0x5331eb){const _0x354476=_0x4b6d1a;let _0x5cbde7=(_0x5331eb[_0x354476(0x15e)]??_0x5ca124[_0x354476(0x15e)])-_0x5ca124[_0x354476(0x15e)],_0x463133=(_0x5331eb[_0x354476(0x2b5)]??_0x5ca124[_0x354476(0x2b5)])-_0x5ca124[_0x354476(0x2b5)];return Math[_0x354476(0x359)](_0x5cbde7,_0x463133)>=0x12;}[_0x4b6d1a(0x381)](_0x113af7,_0x43bffb){const _0x222fb1=_0x4b6d1a;let _0x4e3019=this[_0x222fb1(0x211)](_0x113af7),_0x4dacb=this[_0x222fb1(0x21c)]();return{'left':_0x43bffb[_0x222fb1(0x15e)]+(_0x4e3019['x']-_0x43bffb['pointerStartX'])/_0x4dacb,'top':_0x43bffb['top']+(_0x4e3019['y']-_0x43bffb['pointerStartY'])/_0x4dacb,'width':_0x43bffb[_0x222fb1(0x155)],'height':_0x43bffb[_0x222fb1(0x398)]};}[_0x4b6d1a(0x2af)](_0x5c611b){const _0x2548d0=_0x4b6d1a;let _0x4e0132=this[_0x2548d0(0x464)][_0x2548d0(0x22a)](),_0x15b07d=(_0x4e0132==null?void 0x0:_0x4e0132['viewportPanOffset'])??{'x':0x0,'y':0x0},_0x4c8f5d=this[_0x2548d0(0x21c)]();return{'x':Math[_0x2548d0(0x204)](((_0x5c611b[_0x2548d0(0x417)]??0x0)-_0x15b07d['x'])/_0x4c8f5d),'y':Math[_0x2548d0(0x204)](((_0x5c611b[_0x2548d0(0x357)]??0x0)-_0x15b07d['y'])/_0x4c8f5d)};}[_0x4b6d1a(0x211)](_0x18ace6){const _0x5586c0=_0x4b6d1a;return{'x':Number['isFinite'](_0x18ace6[_0x5586c0(0x1cb)])?_0x18ace6[_0x5586c0(0x1cb)]:_0x18ace6['offsetX']??0x0,'y':Number['isFinite'](_0x18ace6['clientY'])?_0x18ace6[_0x5586c0(0x2e1)]:_0x18ace6[_0x5586c0(0x357)]??0x0};}[_0x4b6d1a(0x21c)](){const _0x3c7ba2=_0x4b6d1a;let _0x1c5907=this[_0x3c7ba2(0x464)]['getState']()[_0x3c7ba2(0x1e7)];return Number[_0x3c7ba2(0x48a)](_0x1c5907)&&(_0x1c5907??0x0)>0x0?_0x1c5907:0x1;}[_0x4b6d1a(0x40b)](_0x33fe30,_0x1b9979){const _0x4d62b4=_0x4b6d1a;return _0x33fe30['x']>=_0x1b9979[_0x4d62b4(0x15e)]&&_0x33fe30['x']<=_0x1b9979[_0x4d62b4(0x15e)]+_0x1b9979[_0x4d62b4(0x155)]&&_0x33fe30['y']>=_0x1b9979['top']&&_0x33fe30['y']<=_0x1b9979[_0x4d62b4(0x2b5)]+_0x1b9979[_0x4d62b4(0x398)];}['_consumePointerEvent'](_0x5a7850,_0x499cbf){const _0x57395d=_0x4b6d1a;var _0x5cbf63,_0x176449;_0x499cbf==null||_0x499cbf['stopPropagation'](),_0x499cbf&&(_0x499cbf[_0x57395d(0x16d)]=!0x0),(_0x5cbf63=_0x5a7850[_0x57395d(0x3e6)])==null||_0x5cbf63[_0x57395d(0x38b)](_0x5a7850),(_0x176449=_0x5a7850[_0x57395d(0x437)])==null||_0x176449[_0x57395d(0x38b)](_0x5a7850);}['_hideSelectionForChildDrag'](){const _0x4d072b=_0x4b6d1a;var _0x34100b,_0x451b92;this[_0x4d072b(0x188)]||=((_0x34100b=(_0x451b92=this[_0x4d072b(0x425)])[_0x4d072b(0x1d7)])==null||_0x34100b['call'](_0x451b92),!0x0);}[_0x4b6d1a(0x435)](_0x136128,_0x53776c){const _0x1fe410=_0x4b6d1a;return{'left':Number[_0x1fe410(0x48a)](_0x136128[_0x1fe410(0x15e)])?_0x136128[_0x1fe410(0x15e)]:_0x53776c['left'],'top':Number[_0x1fe410(0x48a)](_0x136128[_0x1fe410(0x2b5)])?_0x136128[_0x1fe410(0x2b5)]:_0x53776c[_0x1fe410(0x2b5)],'width':Number[_0x1fe410(0x48a)](_0x136128[_0x1fe410(0x155)])?_0x136128[_0x1fe410(0x155)]:_0x53776c[_0x1fe410(0x155)],'height':Number[_0x1fe410(0x48a)](_0x136128['height'])?_0x136128[_0x1fe410(0x398)]:_0x53776c[_0x1fe410(0x398)]};}['_restoreObjectToDragStart'](_0x5eeaab,_0x2ca463){const _0x353bfd=_0x4b6d1a;typeof _0x5eeaab[_0x353bfd(0x14c)]==_0x353bfd(0x223)&&_0x5eeaab[_0x353bfd(0x14c)]({'left':_0x2ca463[_0x353bfd(0x15e)],'top':_0x2ca463[_0x353bfd(0x2b5)],'width':_0x2ca463['width'],'height':_0x2ca463[_0x353bfd(0x398)]}),typeof _0x5eeaab[_0x353bfd(0x1c5)]==_0x353bfd(0x223)?_0x5eeaab[_0x353bfd(0x1c5)](!0x0):typeof _0x5eeaab[_0x353bfd(0x420)]==_0x353bfd(0x223)&&_0x5eeaab['makeDirty'](!0x0);}[_0x4b6d1a(0x3ca)](_0xb5b754,_0x40a944,_0x2dfdc3){const _0x5423a5=_0x4b6d1a;return Object['fromEntries'](Object['keys'](_0xb5b754)[_0x5423a5(0x2e5)](_0x6daf6d=>_0x6daf6d===_0x40a944?[_0x6daf6d,_0x2dfdc3]:[_0x6daf6d,(0x0,_0xef9e20['resolveBoardElementWorldBounds'])(_0xb5b754,_0x6daf6d)??_0xb5b754[_0x6daf6d][_0x5423a5(0x16a)][_0x5423a5(0x3cb)]]));}[_0x4b6d1a(0x2b1)](){const _0x371e89=_0x4b6d1a;if(this[_0x371e89(0x283)])return this['_dragPreviewObject'];let _0x4ed308=this[_0x371e89(0x349)][_0x371e89(0x479)];return typeof _0x4ed308['addObject']==_0x371e89(0x223)?(this[_0x371e89(0x283)]=new _0x44cc64(_0x2c80cf),_0x4ed308[_0x371e89(0x38e)](this[_0x371e89(0x283)],_0x3c00a0),this[_0x371e89(0x283)]):null;}[_0x4b6d1a(0x288)](_0x7c18cf,_0x5148f1,_0x3edc6f){const _0x227138=_0x4b6d1a;let _0x9d0867=this[_0x227138(0x2b1)]();_0x9d0867&&_0x9d0867[_0x227138(0x2e7)]({'ghostBounds':_0x7c18cf,'sourceBounds':this[_0x227138(0x243)](),'parentBounds':_0x5148f1['kind']===_0x227138(0x25b)?_0x3edc6f[_0x5148f1[_0x227138(0x31b)]]:null,'side':_0x5148f1[_0x227138(0x23d)]===_0x227138(0x25b)?_0x5148f1[_0x227138(0x241)]:_0x227138(0x252),'textStyle':this[_0x227138(0x4ab)](),'renderGhostNode':!0x0});}[_0x4b6d1a(0x243)](){const _0x407dab=_0x4b6d1a;let _0x465807=this[_0x407dab(0x1a8)]??this[_0x407dab(0x3e5)];return _0x465807?{'left':_0x465807[_0x407dab(0x15e)],'top':_0x465807[_0x407dab(0x2b5)],'width':_0x465807[_0x407dab(0x155)],'height':_0x465807[_0x407dab(0x398)]}:null;}[_0x4b6d1a(0x4ab)](){const _0x1d06cf=_0x4b6d1a;var _0x49a6db,_0x2bc425;let _0x56efda=this[_0x1d06cf(0x1a8)]??this[_0x1d06cf(0x3e5)],_0xd7703f=_0x56efda==null||(_0x49a6db=_0x56efda['elementData'][_0x56efda[_0x1d06cf(0x462)]])==null?void 0x0:_0x49a6db[_0x1d06cf(0x16a)],_0x195db3=_0xd7703f==null||(_0x2bc425=_0xd7703f[_0x1d06cf(0x2bb)])==null?void 0x0:_0x2bc425[_0x1d06cf(0x45b)];if(_0x195db3)return{'text':typeof _0x195db3[_0x1d06cf(0x13f)]==_0x1d06cf(0x46c)?_0x195db3[_0x1d06cf(0x13f)]:void 0x0,'fontSize':Number['isFinite'](_0x195db3[_0x1d06cf(0x175)])?_0x195db3[_0x1d06cf(0x175)]:void 0x0,'color':typeof _0x195db3[_0x1d06cf(0x495)]==_0x1d06cf(0x46c)?_0x195db3['color']:void 0x0,'horizontalAlign':Number[_0x1d06cf(0x48a)](_0x195db3['horizontalAlign'])?_0x195db3[_0x1d06cf(0x4c5)]:void 0x0};}[_0x4b6d1a(0x353)](){const _0x210de0=_0x4b6d1a;var _0x54b96c,_0x4a3cf8,_0x421eee;if(!this['_dragPreviewObject'])return;let _0x162ce8=this[_0x210de0(0x349)][_0x210de0(0x479)];(_0x54b96c=_0x162ce8[_0x210de0(0x287)])==null||_0x54b96c[_0x210de0(0x38b)](_0x162ce8,[this[_0x210de0(0x283)]]),this[_0x210de0(0x283)]=null,(_0x4a3cf8=(_0x421eee=this[_0x210de0(0x349)][_0x210de0(0x479)])[_0x210de0(0x420)])==null||_0x4a3cf8[_0x210de0(0x38b)](_0x421eee,!0x0);}[_0x4b6d1a(0x1ed)](_0x1f7019,_0x2bce7d,_0xf77b5c,_0x2ff340){const _0x4feb8d=_0x4b6d1a;let _0xa9bdf3=[...new Set(_0xf77b5c['filter'](_0x9ec763=>!!_0x9ec763))],_0x4e1e3a=typeof _0x2bce7d[_0x4feb8d(0x3d9)]==_0x4feb8d(0x46c)?_0x2bce7d[_0x4feb8d(0x3d9)]:this['_renderContext'][_0x4feb8d(0x3d9)],_0x26b5ca=this[_0x4feb8d(0x1bb)][_0x4feb8d(0x400)](_0x4e1e3a),_0x2d8161=_0x26b5ca(()=>this[_0x4feb8d(0x1fa)][_0x4feb8d(0x39f)](_0x1f7019,_0x2bce7d));Promise[_0x4feb8d(0x493)](_0x2d8161)[_0x4feb8d(0x138)](_0x589b03=>{const _0x3d69d2=_0x4feb8d;var _0xca95f8,_0x53e3cf,_0x1b3ab6,_0x399ce;if(_0x589b03){if(_0xa9bdf3[_0x3d69d2(0x411)](_0x376993=>{const _0x195f45=_0x3d69d2;_0x26b5ca(()=>this[_0x195f45(0x1fa)]['executeCommand'](_0x312ad4[_0x195f45(0x30e)]['id'],{'unitId':_0x2bce7d[_0x195f45(0x3d9)],'subUnitId':_0x2bce7d[_0x195f45(0x430)],'scopeId':_0x376993}));}),_0x2ff340&&typeof _0x2bce7d[_0x3d69d2(0x3d9)]==_0x3d69d2(0x46c)&&typeof _0x2bce7d['subUnitId']==_0x3d69d2(0x46c)){var _0x4c1c08,_0x4ca188;(_0x4c1c08=(_0x4ca188=this[_0x3d69d2(0x425)])[_0x3d69d2(0x1b7)])==null||_0x4c1c08['call'](_0x4ca188,{'unitId':_0x2bce7d['unitId'],'subUnitId':_0x2bce7d[_0x3d69d2(0x430)]},[_0x2ff340],_0x2ff340);}(_0xca95f8=(_0x53e3cf=this[_0x3d69d2(0x349)][_0x3d69d2(0x479)])[_0x3d69d2(0x420)])==null||_0xca95f8['call'](_0x53e3cf,!0x0),(_0x1b3ab6=(_0x399ce=this['_renderContext'][_0x3d69d2(0x479)])['requestRender'])==null||_0x1b3ab6[_0x3d69d2(0x38b)](_0x399ce);}});}};_0x5d823e=_0x4d6662([_0x400c84(0x1,(0x0,_0x16f5c0[_0x4b6d1a(0x43e)])(_0xef9e20[_0x4b6d1a(0x40e)])),_0x400c84(0x2,(0x0,_0x16f5c0['Inject'])(_0x3a2313[_0x4b6d1a(0x2ae)])),_0x400c84(0x3,_0x16f5c0[_0x4b6d1a(0x422)]),_0x400c84(0x4,_0x3a2313[_0x4b6d1a(0x392)]),_0x400c84(0x5,_0x16f5c0[_0x4b6d1a(0x363)]),_0x400c84(0x6,(0x0,_0x16f5c0[_0x4b6d1a(0x43e)])(_0x26e0d4['UndoRedoGroupService']))],_0x5d823e);function _0x189cbd({ref:_0x49a6bb,..._0x575d5b}){const _0x24b3c5=_0x4b6d1a;let {preserveStrokeWidth:_0x13597a,icon:_0x1a57f4,id:_0x29e3ae,className:_0x5a9866,extend:_0x42075b,..._0x3b1398}=_0x575d5b,_0x640a7e=('univerjs-icon\x20univerjs-icon-'+_0x29e3ae+'\x20'+(_0x5a9866||''))['trim'](),_0x45a445='_'+(0x0,_0x2caf77['useId'])(),_0x2fef13=(0x0,_0x2caf77['useRef'])(null);return(0x0,_0x2caf77[_0x24b3c5(0x394)])(_0x49a6bb,()=>_0x2fef13[_0x24b3c5(0x159)]),(0x0,_0x2caf77[_0x24b3c5(0x426)])(()=>{const _0x10d529=_0x24b3c5;if(!(!_0x13597a||!_0x2fef13['current']||_0x2fef13['current'][_0x10d529(0x16e)]!==_0x1a57f4[_0x10d529(0x20d)]))return _0x1b1316(_0x2fef13[_0x10d529(0x159)]);},[_0x13597a,_0x1a57f4]),_0x13c730(_0x1a57f4,''+_0x29e3ae,{'defIds':_0x1a57f4[_0x24b3c5(0x332)],'idSuffix':_0x45a445},{'ref':_0x2fef13,'className':_0x640a7e,..._0x3b1398},_0x42075b);}function _0x13c730(_0x31c7db,_0x470ad,_0x107f75,_0x5e4cc8,_0x34413b){const _0x4a47bb=_0x4b6d1a;return(0x0,_0x2caf77[_0x4a47bb(0x1ce)])(_0x31c7db[_0x4a47bb(0x20d)],{'key':_0x470ad,..._0x5a73e0(_0x31c7db,_0x107f75,_0x34413b),..._0x5e4cc8},(_0x100a01(_0x31c7db,_0x107f75)[_0x4a47bb(0x3b1)]||[])[_0x4a47bb(0x2e5)]((_0x266b7f,_0x509310)=>_0x13c730(_0x266b7f,_0x470ad+'-'+_0x31c7db[_0x4a47bb(0x20d)]+'-'+_0x509310,_0x107f75,void 0x0,_0x34413b)));}function _0x5a73e0(_0x2c97e1,_0x1b5a04,_0x4baeca){const _0x1f16c9=_0x4b6d1a;let _0xe065a7={..._0x2c97e1[_0x1f16c9(0x1de)]};_0x4baeca!=null&&_0x4baeca[_0x1f16c9(0x3d4)]&&_0xe065a7[_0x1f16c9(0x431)]===_0x1f16c9(0x3d4)&&(_0xe065a7[_0x1f16c9(0x431)]=_0x4baeca[_0x1f16c9(0x3d4)]),_0x4baeca!=null&&_0x4baeca[_0x1f16c9(0x3d4)]&&_0xe065a7[_0x1f16c9(0x35e)]===_0x1f16c9(0x3d4)&&(_0xe065a7[_0x1f16c9(0x35e)]=_0x4baeca['colorChannel1']),_0x2c97e1[_0x1f16c9(0x20d)]===_0x1f16c9(0x3dc)&&_0xe065a7['id']&&(_0xe065a7['id']+=_0x1b5a04[_0x1f16c9(0x4a8)]),Object['entries'](_0xe065a7)[_0x1f16c9(0x411)](([_0xa5c70a,_0x2cfd51])=>{const _0x46b101=_0x1f16c9;_0xa5c70a===_0x46b101(0x3dc)&&typeof _0x2cfd51==_0x46b101(0x46c)&&(_0xe065a7[_0xa5c70a]=_0x2cfd51[_0x46b101(0x205)](/url\(#(.*)\)/,_0x46b101(0x1e9)+_0x1b5a04[_0x46b101(0x4a8)]+')'));});let {defIds:_0x4f01a7}=_0x1b5a04;return!_0x4f01a7||_0x4f01a7[_0x1f16c9(0x489)]===0x0?_0xe065a7:(_0x2c97e1[_0x1f16c9(0x20d)]===_0x1f16c9(0x409)&&_0xe065a7[_0x1f16c9(0x3a3)]&&(_0xe065a7[_0x1f16c9(0x3a3)]+=_0x1b5a04['idSuffix']),Object[_0x1f16c9(0x307)](_0xe065a7)['forEach'](([_0x41457d,_0x44f35c])=>{const _0x501421=_0x1f16c9;typeof _0x44f35c==_0x501421(0x46c)&&(_0xe065a7[_0x41457d]=_0x44f35c[_0x501421(0x205)](/url\(#(.*)\)/,_0x501421(0x1e9)+_0x1b5a04[_0x501421(0x4a8)]+')'));}),_0xe065a7);}function _0x100a01(_0xad5ae5,_0xccfa74){const _0x59194c=_0x4b6d1a;var _0x794f6b;let {defIds:_0x33ce56}=_0xccfa74;return!_0x33ce56||_0x33ce56[_0x59194c(0x489)]===0x0?_0xad5ae5:_0xad5ae5[_0x59194c(0x20d)]==='defs'&&(_0x794f6b=_0xad5ae5[_0x59194c(0x3b1)])!=null&&_0x794f6b[_0x59194c(0x489)]?{..._0xad5ae5,'children':_0xad5ae5[_0x59194c(0x3b1)][_0x59194c(0x2e5)](_0x1a8558=>typeof _0x1a8558['attrs']['id']==_0x59194c(0x46c)&&_0x33ce56&&_0x33ce56[_0x59194c(0x1f4)](_0x1a8558[_0x59194c(0x1de)]['id'])?{..._0x1a8558,'attrs':{..._0x1a8558[_0x59194c(0x1de)],'id':_0x1a8558['attrs']['id']+_0xccfa74['idSuffix']}}:_0x1a8558)}:_0xad5ae5;}function _0x1b1316(_0x57ed65){const _0x2e18c9=_0x4b6d1a;let _0x5a3c45=_0x57ed65[_0x2e18c9(0x415)][_0x2e18c9(0x303)],_0x15a39d=Math['max'](_0x5a3c45[_0x2e18c9(0x155)],_0x5a3c45[_0x2e18c9(0x398)]);if(!Number['isFinite'](_0x15a39d)||_0x15a39d<=0x0||_0x5a3c45[_0x2e18c9(0x155)]<=0x0||_0x5a3c45[_0x2e18c9(0x398)]<=0x0)return()=>void 0x0;let _0x4264a3=0x10/_0x15a39d,_0x1d9468=Array[_0x2e18c9(0x344)](_0x57ed65['querySelectorAll']('circle,\x20ellipse,\x20line,\x20path,\x20polygon,\x20polyline,\x20rect,\x20text,\x20textPath,\x20tspan,\x20use'))[_0x2e18c9(0x2ba)](_0x3d428e=>{const _0x29b57e=_0x2e18c9;let _0xca2b0=getComputedStyle(_0x3d428e),_0x3c4465=Number[_0x29b57e(0x2b7)](_0xca2b0['strokeWidth']);return _0xca2b0['stroke']===_0x29b57e(0x250)||Number['parseFloat'](_0xca2b0[_0x29b57e(0x465)])===0x0||_0xca2b0[_0x29b57e(0x24a)]==='non-scaling-stroke'||!Number[_0x29b57e(0x48a)](_0x3c4465)||_0x3c4465<=0x0?[]:[{'element':_0x3d428e,'hadStyleAttribute':_0x3d428e[_0x29b57e(0x4b3)]('style'),'originalStrokeWidth':_0x3c4465,'strokeWidth':_0x309f94(_0x3d428e[_0x29b57e(0x4b1)],_0x29b57e(0x365))}];})[_0x2e18c9(0x2e5)](_0x1c4709=>({'appliedStrokeWidth':null,'element':_0x1c4709[_0x2e18c9(0x16a)],'hadStyleAttribute':_0x1c4709[_0x2e18c9(0x169)],'isReleased':!0x1,'originalStrokeWidth':_0x1c4709[_0x2e18c9(0x34c)],'strokeWidth':_0x1c4709['strokeWidth']}));if(_0x1d9468[_0x2e18c9(0x489)]===0x0)return()=>void 0x0;let _0x4b4958=(_0x5c4aed,_0x40ad8a)=>{const _0x3eaaea=_0x2e18c9;if(_0x5a3c45[_0x3eaaea(0x155)]<=0x0||_0x5a3c45[_0x3eaaea(0x398)]<=0x0||_0x5c4aed<=0x0||_0x40ad8a<=0x0)return;let _0x4c4ba7=Math[_0x3eaaea(0x1bd)](_0x5c4aed/_0x5a3c45['width'],_0x40ad8a/_0x5a3c45[_0x3eaaea(0x398)]);!Number['isFinite'](_0x4c4ba7)||_0x4c4ba7<=0x0||_0x1d9468[_0x3eaaea(0x411)](_0x16df07=>{const _0x57088a=_0x3eaaea;if(_0x16df07['isReleased'])return;if(_0x16df07[_0x57088a(0x384)]!==null&&(_0x16df07[_0x57088a(0x16a)][_0x57088a(0x4b1)][_0x57088a(0x151)](_0x57088a(0x365))!==_0x16df07[_0x57088a(0x384)]||_0x16df07[_0x57088a(0x16a)]['style'][_0x57088a(0x14b)](_0x57088a(0x365))!==_0x16df07[_0x57088a(0x17b)][_0x57088a(0x24e)])){_0x16df07[_0x57088a(0x384)]=null,_0x16df07['isReleased']=!0x0;return;}let _0x1fcdcd=_0x16df07['originalStrokeWidth']*_0x4264a3/_0x4c4ba7,_0x1bb35a=Number(_0x1fcdcd['toFixed'](0xc))+'px';_0x16df07['element'][_0x57088a(0x4b1)]['setProperty']('stroke-width',_0x1bb35a,_0x16df07[_0x57088a(0x17b)]['priority']),_0x16df07[_0x57088a(0x384)]=_0x1bb35a;});},_0x3a0469=_0x57ed65[_0x2e18c9(0x22f)]();_0x4b4958(_0x3a0469[_0x2e18c9(0x155)],_0x3a0469['height']);let _0x442040=typeof ResizeObserver>'u'?null:new ResizeObserver(_0x1af5bb=>{const _0x3027a=_0x2e18c9;if(_0x1af5bb[_0x3027a(0x257)](_0x4bacf7=>_0x4bacf7[_0x3027a(0x267)]===_0x57ed65)){let _0x3cb6c1=_0x57ed65[_0x3027a(0x22f)]();_0x4b4958(_0x3cb6c1['width'],_0x3cb6c1[_0x3027a(0x398)]);}});return _0x442040==null||_0x442040[_0x2e18c9(0x2fa)](_0x57ed65),()=>{const _0x398564=_0x2e18c9;_0x442040==null||_0x442040['disconnect'](),_0x1d9468[_0x398564(0x411)](_0x2b9538=>{const _0x5b5eeb=_0x398564;_0x2b9538[_0x5b5eeb(0x384)]!==null&&(_0x5d000f(_0x2b9538['element'][_0x5b5eeb(0x4b1)],_0x5b5eeb(0x365),_0x2b9538[_0x5b5eeb(0x384)],_0x2b9538[_0x5b5eeb(0x17b)][_0x5b5eeb(0x24e)],_0x2b9538['strokeWidth']),!_0x2b9538[_0x5b5eeb(0x169)]&&_0x2b9538['element'][_0x5b5eeb(0x4b1)][_0x5b5eeb(0x489)]===0x0&&_0x2b9538[_0x5b5eeb(0x16a)]['removeAttribute'](_0x5b5eeb(0x4b1)));});};}function _0x309f94(_0x464d5e,_0x5aa0c8){const _0x4468e2=_0x4b6d1a;return{'priority':_0x464d5e[_0x4468e2(0x14b)](_0x5aa0c8),'value':_0x464d5e[_0x4468e2(0x151)](_0x5aa0c8)};}function _0x5d000f(_0x278214,_0x20adec,_0x55bfad,_0x21e9c3,_0x1c7933){const _0x3c9836=_0x4b6d1a;_0x278214[_0x3c9836(0x151)](_0x20adec)===_0x55bfad&&_0x278214['getPropertyPriority'](_0x20adec)===_0x21e9c3&&(_0x1c7933[_0x3c9836(0x2e0)]?_0x278214['setProperty'](_0x20adec,_0x1c7933['value'],_0x1c7933['priority']):_0x278214[_0x3c9836(0x1e3)](_0x20adec));}_0x189cbd[_0x4b6d1a(0x382)]=_0x4b6d1a(0x3fd);let _0x5788b9={'tag':_0x4b6d1a(0x2ea),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x4b6d1a(0x250),'viewBox':'0\x200\x2016\x2016','width':_0x4b6d1a(0x1c2),'height':'1em'},'children':[{'tag':_0x4b6d1a(0x146),'attrs':{'fill':_0x4b6d1a(0x3a9),'d':'M1.3999\x2013.6999C1.3999\x2013.3685\x201.66853\x2013.0999\x201.9999\x2013.0999H13.9999C14.3313\x2013.0999\x2014.5999\x2013.3685\x2014.5999\x2013.6999C14.5999\x2014.0312\x2014.3313\x2014.2999\x2013.9999\x2014.2999H1.9999C1.66853\x2014.2999\x201.3999\x2014.0312\x201.3999\x2013.6999Z','fillRule':'evenodd','clipRule':_0x4b6d1a(0x3fc)}},{'tag':_0x4b6d1a(0x146),'attrs':{'fill':_0x4b6d1a(0x3a9),'d':'M7.57564\x2010.3914C7.80995\x2010.6257\x208.18985\x2010.6257\x208.42417\x2010.3914L10.4242\x208.3914C10.6585\x208.15709\x2010.6585\x207.77719\x2010.4242\x207.54287C10.1899\x207.30856\x209.80995\x207.30856\x209.57564\x207.54287L7.9999\x209.11861L6.42417\x207.54287C6.18985\x207.30856\x205.80995\x207.30856\x205.57564\x207.54287C5.34132\x207.77719\x205.34132\x208.15709\x205.57564\x208.3914L7.57564\x2010.3914Z','fillRule':'evenodd','clipRule':_0x4b6d1a(0x3fc)}},{'tag':_0x4b6d1a(0x146),'attrs':{'fill':_0x4b6d1a(0x3a9),'d':_0x4b6d1a(0x341),'fillRule':_0x4b6d1a(0x3fc),'clipRule':_0x4b6d1a(0x3fc)}}]},_0x21c856=(0x0,_0x2caf77[_0x4b6d1a(0x4b8)])(function(_0x5e33d2,_0x2c5a85){const _0x2397b6=_0x4b6d1a;return(0x0,_0x2caf77[_0x2397b6(0x1ce)])(_0x189cbd,Object[_0x2397b6(0x3d5)]({},_0x5e33d2,{'id':_0x2397b6(0x3b6),'ref':_0x2c5a85,'icon':_0x5788b9}));});_0x21c856[_0x4b6d1a(0x382)]='AlignBottomIcon';let _0x711b9c={'tag':_0x4b6d1a(0x2ea),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x4b6d1a(0x250),'viewBox':_0x4b6d1a(0x4bd),'width':_0x4b6d1a(0x1c2),'height':_0x4b6d1a(0x1c2)},'children':[{'tag':_0x4b6d1a(0x146),'attrs':{'fill':'currentColor','d':_0x4b6d1a(0x134)}},{'tag':_0x4b6d1a(0x146),'attrs':{'fill':'currentColor','d':_0x4b6d1a(0x229)}},{'tag':_0x4b6d1a(0x146),'attrs':{'fill':_0x4b6d1a(0x3a9),'d':'M1.3999\x209.8334C1.3999\x209.50203\x201.66853\x209.2334\x201.9999\x209.2334H13.9999C14.3313\x209.2334\x2014.5999\x209.50203\x2014.5999\x209.8334C14.5999\x2010.1648\x2014.3313\x2010.4334\x2013.9999\x2010.4334H1.9999C1.66853\x2010.4334\x201.3999\x2010.1648\x201.3999\x209.8334Z'}},{'tag':_0x4b6d1a(0x146),'attrs':{'fill':_0x4b6d1a(0x3a9),'d':_0x4b6d1a(0x26b)}}]},_0x53b08b=(0x0,_0x2caf77['forwardRef'])(function(_0x5eb14f,_0x2c199b){const _0x1e9247=_0x4b6d1a;return(0x0,_0x2caf77['createElement'])(_0x189cbd,Object[_0x1e9247(0x3d5)]({},_0x5eb14f,{'id':_0x1e9247(0x17e),'ref':_0x2c199b,'icon':_0x711b9c}));});_0x53b08b[_0x4b6d1a(0x382)]=_0x4b6d1a(0x49e);let _0x3c9e84={'tag':_0x4b6d1a(0x2ea),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':'none','viewBox':_0x4b6d1a(0x4bd),'width':_0x4b6d1a(0x1c2),'height':'1em'},'children':[{'tag':_0x4b6d1a(0x146),'attrs':{'fill':'currentColor','d':_0x4b6d1a(0x174)}},{'tag':_0x4b6d1a(0x146),'attrs':{'fill':'currentColor','d':'M8.22957\x205.47839C8.30034\x205.50767\x208.36664\x205.55107\x208.42417\x205.6086L10.4242\x207.6086C10.6585\x207.84291\x2010.6585\x208.22281\x2010.4242\x208.45713C10.1899\x208.69144\x209.80995\x208.69144\x209.57564\x208.45713L8.5999\x207.48139V13.6995C8.5999\x2014.0309\x208.33127\x2014.2995\x207.9999\x2014.2995C7.66853\x2014.2995\x207.3999\x2014.0309\x207.3999\x2013.6995V7.48139L6.42417\x208.45713C6.18985\x208.69144\x205.80995\x208.69144\x205.57564\x208.45713C5.34132\x208.22281\x205.34132\x207.84291\x205.57564\x207.6086L7.57541\x205.60882C7.7522\x205.43203\x208.01209\x205.38841\x208.22957\x205.47839Z'}}]},_0x24a5fc=(0x0,_0x2caf77[_0x4b6d1a(0x4b8)])(function(_0x4cdc57,_0x1d9464){const _0x27518e=_0x4b6d1a;return(0x0,_0x2caf77[_0x27518e(0x1ce)])(_0x189cbd,Object[_0x27518e(0x3d5)]({},_0x4cdc57,{'id':_0x27518e(0x1cc),'ref':_0x1d9464,'icon':_0x3c9e84}));});_0x24a5fc['displayName']=_0x4b6d1a(0x3bf);let _0x524c70={'tag':_0x4b6d1a(0x2ea),'attrs':{'xmlns':_0x4b6d1a(0x321),'fill':_0x4b6d1a(0x250),'viewBox':_0x4b6d1a(0x4bd),'width':_0x4b6d1a(0x1c2),'height':_0x4b6d1a(0x1c2)},'children':[{'tag':_0x4b6d1a(0x146),'attrs':{'fill':'currentColor','d':_0x4b6d1a(0x134)}},{'tag':_0x4b6d1a(0x146),'attrs':{'fill':_0x4b6d1a(0x3a9),'d':'M3.33315\x205.56641C3.00178\x205.56641\x202.73315\x205.83504\x202.73315\x206.16641C2.73315\x206.49778\x203.00178\x206.76641\x203.33315\x206.76641H12.6665C12.9979\x206.76641\x2013.2665\x206.49778\x2013.2665\x206.16641C13.2665\x205.83504\x2012.9979\x205.56641\x2012.6665\x205.56641H3.33315Z'}},{'tag':_0x4b6d1a(0x146),'attrs':{'fill':_0x4b6d1a(0x3a9),'d':_0x4b6d1a(0x222)}},{'tag':_0x4b6d1a(0x146),'attrs':{'fill':'currentColor','d':_0x4b6d1a(0x11c)}}]},_0x33c862=(0x0,_0x2caf77[_0x4b6d1a(0x4b8)])(function(_0x40d353,_0x2bc836){const _0x172af7=_0x4b6d1a;return(0x0,_0x2caf77['createElement'])(_0x189cbd,Object[_0x172af7(0x3d5)]({},_0x40d353,{'id':'horizontally-icon','ref':_0x2bc836,'icon':_0x524c70}));});_0x33c862[_0x4b6d1a(0x382)]='HorizontallyIcon';let _0x2549e2={'tag':_0x4b6d1a(0x2ea),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x4b6d1a(0x250),'viewBox':_0x4b6d1a(0x4bd),'width':_0x4b6d1a(0x1c2),'height':_0x4b6d1a(0x1c2)},'children':[{'tag':'path','attrs':{'fill':'currentColor','d':_0x4b6d1a(0x134)}},{'tag':_0x4b6d1a(0x146),'attrs':{'fill':'currentColor','d':_0x4b6d1a(0x38d)}},{'tag':_0x4b6d1a(0x146),'attrs':{'fill':'currentColor','d':_0x4b6d1a(0x222)}},{'tag':'path','attrs':{'fill':_0x4b6d1a(0x3a9),'d':_0x4b6d1a(0x28d)}}]},_0xd5092b=(0x0,_0x2caf77[_0x4b6d1a(0x4b8)])(function(_0x102ed7,_0x1c1cfe){const _0x47bc8e=_0x4b6d1a;return(0x0,_0x2caf77[_0x47bc8e(0x1ce)])(_0x189cbd,Object['assign']({},_0x102ed7,{'id':_0x47bc8e(0x21b),'ref':_0x1c1cfe,'icon':_0x2549e2}));});_0xd5092b[_0x4b6d1a(0x382)]=_0x4b6d1a(0x2da);let _0x3e7782={'tag':_0x4b6d1a(0x2ea),'attrs':{'xmlns':_0x4b6d1a(0x321),'fill':_0x4b6d1a(0x250),'viewBox':'0\x200\x2016\x2016','width':_0x4b6d1a(0x1c2),'height':'1em'},'children':[{'tag':_0x4b6d1a(0x146),'attrs':{'fill':_0x4b6d1a(0x3a9),'d':_0x4b6d1a(0x1a0)}},{'tag':_0x4b6d1a(0x146),'attrs':{'fill':_0x4b6d1a(0x3a9),'d':_0x4b6d1a(0x199)}},{'tag':'path','attrs':{'fill':_0x4b6d1a(0x3a9),'d':_0x4b6d1a(0x203)}}]},_0x56369d=(0x0,_0x2caf77['forwardRef'])(function(_0x16812e,_0x30684f){const _0x4ec244=_0x4b6d1a;return(0x0,_0x2caf77[_0x4ec244(0x1ce)])(_0x189cbd,Object[_0x4ec244(0x3d5)]({},_0x16812e,{'id':_0x4ec244(0x264),'ref':_0x30684f,'icon':_0x3e7782}));});_0x56369d['displayName']=_0x4b6d1a(0x17f);let _0x22f775={'tag':_0x4b6d1a(0x2ea),'attrs':{'xmlns':_0x4b6d1a(0x321),'fill':_0x4b6d1a(0x250),'viewBox':'0\x200\x2016\x2016','width':_0x4b6d1a(0x1c2),'height':_0x4b6d1a(0x1c2)},'children':[{'tag':_0x4b6d1a(0x146),'attrs':{'fill':_0x4b6d1a(0x3a9),'d':_0x4b6d1a(0x134)}},{'tag':_0x4b6d1a(0x146),'attrs':{'fill':_0x4b6d1a(0x3a9),'d':_0x4b6d1a(0x20b)}},{'tag':'path','attrs':{'fill':'currentColor','d':_0x4b6d1a(0x222)}},{'tag':_0x4b6d1a(0x146),'attrs':{'fill':_0x4b6d1a(0x3a9),'d':_0x4b6d1a(0x23b)}}]},_0x425d6f=(0x0,_0x2caf77[_0x4b6d1a(0x4b8)])(function(_0x4958d1,_0x2618f8){const _0x20c894=_0x4b6d1a;return(0x0,_0x2caf77['createElement'])(_0x189cbd,Object['assign']({},_0x4958d1,{'id':_0x20c894(0x12a),'ref':_0x2618f8,'icon':_0x22f775}));});_0x425d6f[_0x4b6d1a(0x382)]=_0x4b6d1a(0x3fb);let _0x573485={'tag':'svg','attrs':{'xmlns':_0x4b6d1a(0x321),'fill':_0x4b6d1a(0x250),'viewBox':_0x4b6d1a(0x4bd),'width':_0x4b6d1a(0x1c2),'height':_0x4b6d1a(0x1c2)},'children':[{'tag':_0x4b6d1a(0x146),'attrs':{'fill':_0x4b6d1a(0x3a9),'d':_0x4b6d1a(0x152),'fillRule':'evenodd','clipRule':_0x4b6d1a(0x3fc)}}]},_0x50ccd0=(0x0,_0x2caf77[_0x4b6d1a(0x4b8)])(function(_0x1dfa06,_0x172cae){const _0xa44fcd=_0x4b6d1a;return(0x0,_0x2caf77[_0xa44fcd(0x1ce)])(_0x189cbd,Object['assign']({},_0x1dfa06,{'id':_0xa44fcd(0x46a),'ref':_0x172cae,'icon':_0x573485}));});_0x50ccd0['displayName']=_0x4b6d1a(0x193);let _0x32e153={'tag':_0x4b6d1a(0x2ea),'attrs':{'xmlns':_0x4b6d1a(0x321),'fill':_0x4b6d1a(0x250),'viewBox':'0\x200\x2020\x2020','width':_0x4b6d1a(0x1c2),'height':_0x4b6d1a(0x1c2)},'children':[{'tag':_0x4b6d1a(0x146),'attrs':{'stroke':_0x4b6d1a(0x3a9),'d':_0x4b6d1a(0x2bf),'strokeLinecap':_0x4b6d1a(0x204),'strokeWidth':1.6}}]},_0x2e72ef=(0x0,_0x2caf77['forwardRef'])(function(_0x4317fd,_0x282daa){const _0x940d1e=_0x4b6d1a;return(0x0,_0x2caf77[_0x940d1e(0x1ce)])(_0x189cbd,Object[_0x940d1e(0x3d5)]({},_0x4317fd,{'id':_0x940d1e(0x125),'ref':_0x282daa,'icon':_0x32e153}));});_0x2e72ef[_0x4b6d1a(0x382)]=_0x4b6d1a(0x318);let _0x20782c={'tag':_0x4b6d1a(0x2ea),'attrs':{'xmlns':_0x4b6d1a(0x321),'fill':_0x4b6d1a(0x250),'viewBox':_0x4b6d1a(0x4bd),'width':_0x4b6d1a(0x1c2),'height':_0x4b6d1a(0x1c2)},'children':[{'tag':_0x4b6d1a(0x146),'attrs':{'fill':_0x4b6d1a(0x3a9),'d':_0x4b6d1a(0x246)}},{'tag':_0x4b6d1a(0x146),'attrs':{'fill':_0x4b6d1a(0x3a9),'d':_0x4b6d1a(0x242)}},{'tag':_0x4b6d1a(0x146),'attrs':{'fill':'currentColor','d':'M1.9999\x207.40015C1.66853\x207.40015\x201.3999\x207.66878\x201.3999\x208.00015C1.3999\x208.33152\x201.66853\x208.60015\x201.9999\x208.60015H13.9999C14.3313\x208.60015\x2014.5999\x208.33152\x2014.5999\x208.00015C14.5999\x207.66878\x2014.3313\x207.40015\x2013.9999\x207.40015H1.9999Z'}}]},_0xad5ab6=(0x0,_0x2caf77[_0x4b6d1a(0x4b8)])(function(_0x4519ad,_0xcb4097){const _0x3f0350=_0x4b6d1a;return(0x0,_0x2caf77['createElement'])(_0x189cbd,Object['assign']({},_0x4519ad,{'id':_0x3f0350(0x15a),'ref':_0xcb4097,'icon':_0x20782c}));});_0xad5ab6[_0x4b6d1a(0x382)]=_0x4b6d1a(0x21e);let _0x726b93=class extends _0x16f5c0[_0x4b6d1a(0x2ee)]{constructor(_0x11eef9,_0x2411c2,_0x69d7e9,_0x4ddda0,_0x3831c5,_0xcd0306,_0xc0f771,_0x3c7d1c,_0x5cdbff){const _0x20e86e=_0x4b6d1a;super(),this[_0x20e86e(0x1e5)]=_0x11eef9,this[_0x20e86e(0x3b4)]=_0x2411c2,this[_0x20e86e(0x1f0)]=_0x69d7e9,this['elementStateService']=_0x4ddda0,this[_0x20e86e(0x37c)]=_0x3831c5,this[_0x20e86e(0x478)]=_0xcd0306,this['dialogService']=_0xc0f771,this[_0x20e86e(0x471)]=_0x3c7d1c,this['textEditingService']=_0x5cdbff;}};_0x726b93=_0x4d6662([_0x400c84(0x1,_0x16f5c0[_0x4b6d1a(0x422)]),_0x400c84(0x2,_0xef9e20[_0x4b6d1a(0x40e)]),_0x400c84(0x3,_0x3a2313['IBoardElementStateService']),_0x400c84(0x4,_0x3a2313[_0x4b6d1a(0x392)]),_0x400c84(0x5,_0x312ad4[_0x4b6d1a(0x354)]),_0x400c84(0x6,_0x26e0d4[_0x4b6d1a(0x34a)]),_0x400c84(0x7,(0x0,_0x16f5c0[_0x4b6d1a(0x43e)])(_0x16f5c0['LocaleService'])),_0x400c84(0x8,(0x0,_0x16f5c0[_0x4b6d1a(0x43e)])(_0x3a2313[_0x4b6d1a(0x120)]))],_0x726b93);let _0x3b124f=_0x4b6d1a(0x129),_0x4f7253=_0x4b6d1a(0x210);function _0x264db5(_0x3c7f9e){const _0x548871=_0x4b6d1a;let {unitId:_0x351119,subUnitId:_0x15f0dd,nodeId:_0x45de3d,initialDescription:_0x58d216=''}=_0x3c7f9e,_0x1f1f39=(0x0,_0x26e0d4['useDependency'])(_0x16f5c0[_0x548871(0x422)]),_0x1a9372=(0x0,_0x26e0d4[_0x548871(0x37d)])(_0x26e0d4[_0x548871(0x34a)]),_0x1e1d18=(0x0,_0x26e0d4[_0x548871(0x37d)])(_0x16f5c0[_0x548871(0x183)]),[_0x5ba4ff,_0x43cdaf]=(0x0,_0x2caf77['useState'])(_0x58d216),_0x241925=()=>_0x1a9372[_0x548871(0x30c)](_0x4f7253);return(0x0,_0x7279b0[_0x548871(0x24c)])('div',{'className':_0x548871(0x4bc),'data-board-mind-map-description-dialog':'true','children':[(0x0,_0x7279b0[_0x548871(0x24c)])('label',{'className':'univer-flex\x20univer-flex-col\x20univer-gap-2','children':[(0x0,_0x7279b0[_0x548871(0x492)])(_0x548871(0x39a),{'className':'univer-text-sm\x20univer-font-medium\x20univer-text-gray-900\x20dark:!univer-text-gray-0','children':_0x1e1d18['t'](_0x548871(0x22e))}),(0x0,_0x7279b0[_0x548871(0x492)])(_0x1ba6fa['Textarea'],{'autoFocus':!0x0,'className':_0x548871(0x383),'placeholder':_0x1e1d18['t'](_0x548871(0x3a6)),'value':_0x5ba4ff,'onValueChange':_0x43cdaf})]}),(0x0,_0x7279b0[_0x548871(0x24c)])('div',{'className':'univer-flex\x20univer-justify-end\x20univer-gap-2','children':[(0x0,_0x7279b0[_0x548871(0x492)])(_0x1ba6fa[_0x548871(0x225)],{'size':'small','variant':'default','onClick':_0x241925,'children':_0x1e1d18['t']('boards-mind-ui.cancel')}),(0x0,_0x7279b0[_0x548871(0x492)])(_0x1ba6fa[_0x548871(0x225)],{'size':_0x548871(0x2d4),'variant':_0x548871(0x30f),'onClick':()=>{const _0x270d7c=_0x548871;_0x1f1f39[_0x270d7c(0x39f)](_0x312ad4[_0x270d7c(0x18d)]['id'],{'unitId':_0x351119,'subUnitId':_0x15f0dd,'nodeId':_0x45de3d,'foreignAttributes':{'_note':_0x5ba4ff['trim']()?_0x5ba4ff:null}}),_0x241925();},'children':_0x1e1d18['t'](_0x548871(0x3e0))})]})]});}let _0x443b89='board.operation.mind-map.keyboard-shortcut',_0x1cac61=_0x4b6d1a(0x2ac),_0x14c9df=_0x4b6d1a(0x2d3),_0x2ad63a={'copy':_0x3a2313[_0x4b6d1a(0x45e)][_0x4b6d1a(0x1dd)],'paste':_0x3a2313[_0x4b6d1a(0x45e)][_0x4b6d1a(0x474)],'paste-as-new':_0x3a2313[_0x4b6d1a(0x45e)][_0x4b6d1a(0x474)],'add-child':_0x3a2313[_0x4b6d1a(0x45e)][_0x4b6d1a(0x2f5)],'add-sibling-or-child':_0x3a2313[_0x4b6d1a(0x45e)][_0x4b6d1a(0x4ca)],'promote':_0x3a2313['BOARD_SHORTCUT_BINDINGS'][_0x4b6d1a(0x27d)],'toggle-collapse':_0x3a2313[_0x4b6d1a(0x45e)]['foldChildNodes'],'collapse-all':_0x3a2313[_0x4b6d1a(0x45e)]['collapseAllNodes'],'edit-text':_0x3a2313[_0x4b6d1a(0x45e)][_0x4b6d1a(0x15d)],'open-description':_0x3a2313[_0x4b6d1a(0x45e)][_0x4b6d1a(0x260)],'delete':_0x26e0d4[_0x4b6d1a(0x19d)][_0x4b6d1a(0x3cd)],'arrow-left':_0x26e0d4[_0x4b6d1a(0x19d)]['ARROW_LEFT'],'arrow-right':_0x26e0d4[_0x4b6d1a(0x19d)][_0x4b6d1a(0x335)],'arrow-up':_0x26e0d4[_0x4b6d1a(0x19d)][_0x4b6d1a(0x212)],'arrow-down':_0x26e0d4[_0x4b6d1a(0x19d)]['ARROW_DOWN']},_0xb56a82={'delete':[_0x26e0d4['KeyCode'][_0x4b6d1a(0x2b6)]]};function _0x211d4b(_0x4bead5){return[_0x2ad63a[_0x4bead5],..._0xb56a82[_0x4bead5]??[]];}let _0x583499=class extends _0x16f5c0[_0x4b6d1a(0x1e1)]{constructor(_0x2747bd,_0x567ee0,_0x2a5e8d,_0x2117d7){const _0x480011=_0x4b6d1a;super(),this['_mindMapClipboardService']=_0x2747bd,this[_0x480011(0x1fa)]=_0x567ee0,this[_0x480011(0x481)]=_0x2a5e8d,this[_0x480011(0x1bb)]=_0x2117d7,this['_init']();}['_init'](){const _0x3bc8fd=_0x4b6d1a;this[_0x3bc8fd(0x3ef)](this[_0x3bc8fd(0x1fa)][_0x3bc8fd(0x41e)](this[_0x3bc8fd(0x432)]())),this[_0x3bc8fd(0x19b)]()[_0x3bc8fd(0x411)](_0x464790=>{const _0x2d6a67=_0x3bc8fd;this[_0x2d6a67(0x3ef)](this[_0x2d6a67(0x481)][_0x2d6a67(0x1f2)](_0x464790));});}[_0x4b6d1a(0x432)](){const _0x24cafd=_0x4b6d1a;return{'id':_0x443b89,'type':_0x16f5c0[_0x24cafd(0x338)]['OPERATION'],'handler':(_0x481ae7,_0x4b0f71,_0x7ed810)=>{const _0x4a91fc=_0x24cafd;let _0x48183e=_0x50aece(_0x481ae7,_0x7ed810);return _0x48183e?this[_0x4a91fc(0x1a2)](_0x48183e,_0x4b0f71==null?void 0x0:_0x4b0f71['action']):!0x1;}};}[_0x4b6d1a(0x19b)](){const _0x57005b=_0x4b6d1a;let _0xeadd0=(_0x1d6650,_0x39e98c)=>({'id':_0x443b89,'binding':_0x1d6650,'priority':0xa0,'preconditions':_0x130596=>!!_0x130596[_0x57005b(0x4c6)](_0x1cac61),'staticParameters':{'action':_0x39e98c}}),_0x539f26=_0x5631db=>_0x211d4b(_0x5631db)[_0x57005b(0x2e5)](_0xcf442e=>_0xeadd0(_0xcf442e,_0x5631db));return[..._0x539f26(_0x57005b(0x1dd)),{'id':_0x443b89,'binding':_0x2ad63a[_0x57005b(0x474)],'priority':0xa0,'preconditions':_0x48b416=>!!this['_mindMapClipboardService'][_0x57005b(0x49d)]()&&!!_0x48b416['getContextValue'](_0x57005b(0x2ac)),'staticParameters':{'action':'paste'}},{'id':_0x443b89,'binding':_0x2ad63a[_0x57005b(0x1c1)],'priority':0x96,'preconditions':_0xc5b684=>!!this[_0x57005b(0x4c8)][_0x57005b(0x49d)]()&&!!_0xc5b684[_0x57005b(0x4c6)](_0x57005b(0x2d3)),'staticParameters':{'action':_0x57005b(0x1c1)}},..._0x539f26(_0x57005b(0x119)),..._0x539f26(_0x57005b(0x281)),..._0x539f26('promote'),..._0x539f26(_0x57005b(0x132)),..._0x539f26('collapse-all'),..._0x539f26(_0x57005b(0x374)),..._0x539f26(_0x57005b(0x231)),..._0x539f26(_0x57005b(0x150)),..._0x539f26(_0x57005b(0x12f)),..._0x539f26(_0x57005b(0x358)),..._0x539f26(_0x57005b(0x1d1)),..._0x539f26(_0x57005b(0x330))];}[_0x4b6d1a(0x1a2)](_0x393565,_0xba46dd){const _0x25f11f=_0x4b6d1a;return _0x393565[_0x25f11f(0x37c)]['getState']()[_0x25f11f(0x1b9)]===_0x25f11f(0x32a)&&_0xba46dd!==_0x25f11f(0x1dd)?!0x1:_0xba46dd==='copy'?this[_0x25f11f(0x142)](_0x393565):_0xba46dd===_0x25f11f(0x474)?this[_0x25f11f(0x11d)](_0x393565):_0xba46dd===_0x25f11f(0x1c1)?this[_0x25f11f(0x480)](_0x393565):_0xba46dd===_0x25f11f(0x119)?this[_0x25f11f(0x128)](_0x393565):_0xba46dd==='add-sibling-or-child'?this[_0x25f11f(0x300)](_0x393565):_0xba46dd==='promote'?this[_0x25f11f(0x370)](_0x393565,_0x312ad4['PromoteMindMapNodeOperation']['id']):_0xba46dd===_0x25f11f(0x132)?this[_0x25f11f(0x370)](_0x393565,_0x312ad4['ToggleMindMapNodeCollapseOperation']['id']):_0xba46dd===_0x25f11f(0x456)?this[_0x25f11f(0x1a1)](_0x393565):_0xba46dd===_0x25f11f(0x374)?this[_0x25f11f(0x3e1)](_0x393565):_0xba46dd==='open-description'?this[_0x25f11f(0x26d)](_0x393565):_0xba46dd===_0x25f11f(0x150)?this[_0x25f11f(0x45a)](_0x393565):_0xba46dd&&_0xa3203c(_0xba46dd)?this[_0x25f11f(0x161)](_0x393565,_0xba46dd):!0x1;}[_0x4b6d1a(0x142)](_0xea5b3c){const _0x4286d5=_0x4b6d1a;let _0x4f303f=this['_getSelectedMindMapContext'](_0xea5b3c);return _0x4f303f?(_0xea5b3c[_0x4286d5(0x3b4)][_0x4286d5(0x39f)](_0x312ad4['CopyMindMapNodeOperation']['id'],{'unitId':_0x4f303f['unitId'],'subUnitId':_0x4f303f['subUnitId'],'nodeId':_0x4f303f[_0x4286d5(0x462)]}),!0x0):!0x1;}['_pasteUnderSelectedNode'](_0x4d23be){const _0x57fb10=_0x4b6d1a;let _0x3af9ed=this[_0x57fb10(0x207)](_0x4d23be);return!_0x3af9ed||!_0x4d23be[_0x57fb10(0x478)][_0x57fb10(0x49d)]()?!0x1:(this['_executeAndLayout'](_0x4d23be,_0x312ad4['PasteMindMapNodeOperation']['id'],{'unitId':_0x3af9ed[_0x57fb10(0x3d9)],'subUnitId':_0x3af9ed['subUnitId'],'targetNodeId':_0x3af9ed[_0x57fb10(0x462)]},_0x3af9ed[_0x57fb10(0x3d8)]),!0x0);}[_0x4b6d1a(0x480)](_0x558485){const _0x990795=_0x4b6d1a;let _0xe68133=this[_0x990795(0x18a)](_0x558485);if(!_0xe68133||!_0x558485[_0x990795(0x478)][_0x990795(0x49d)]())return!0x1;let _0x4a017f=_0x558485['uiStateService'][_0x990795(0x22a)](),_0xf7e9f=Number['isFinite'](_0x4a017f['zoomRatio'])&&_0x4a017f[_0x990795(0x1e7)]>0x0?_0x4a017f[_0x990795(0x1e7)]:0x1,_0x5b7de6=Math[_0x990795(0x204)]((0x40-_0x4a017f[_0x990795(0x364)]['x'])/_0xf7e9f),_0x300177=Math[_0x990795(0x204)]((0x40-_0x4a017f[_0x990795(0x364)]['y'])/_0xf7e9f);return _0x558485['commandService']['executeCommand'](_0x312ad4[_0x990795(0x235)]['id'],{'unitId':_0xe68133[_0x990795(0x3d9)],'subUnitId':_0xe68133[_0x990795(0x430)],'left':_0x5b7de6,'top':_0x300177}),!0x0;}[_0x4b6d1a(0x128)](_0x38d3e6){const _0x4ba140=_0x4b6d1a;let _0x58d72e=this[_0x4ba140(0x207)](_0x38d3e6);if(!_0x58d72e)return!0x1;let _0x1ee103=(0x0,_0x16f5c0['generateRandomId'])(0x6);return this['_executeCreateAndEdit'](_0x38d3e6,_0x312ad4[_0x4ba140(0x158)]['id'],{'unitId':_0x58d72e[_0x4ba140(0x3d9)],'subUnitId':_0x58d72e[_0x4ba140(0x430)],'parentNodeId':_0x58d72e[_0x4ba140(0x462)],'nodeId':_0x1ee103,'connectorId':(0x0,_0x16f5c0[_0x4ba140(0x323)])(0x6),'text':_0x38d3e6[_0x4ba140(0x471)]['t'](_0x4ba140(0x445))},_0x58d72e[_0x4ba140(0x3d8)],_0x1ee103),!0x0;}['_addSiblingOrChild'](_0x4a97bb){const _0x307584=_0x4b6d1a;let _0x366247=this['_getSelectedMindMapContext'](_0x4a97bb);if(!_0x366247)return!0x1;let _0x2993f3=(0x0,_0x16f5c0['generateRandomId'])(0x6);return this[_0x307584(0x4c3)](_0x4a97bb,_0x366247[_0x307584(0x3ac)]?_0x312ad4[_0x307584(0x158)]['id']:_0x312ad4[_0x307584(0x194)]['id'],{'unitId':_0x366247[_0x307584(0x3d9)],'subUnitId':_0x366247[_0x307584(0x430)],..._0x366247[_0x307584(0x3ac)]?{'parentNodeId':_0x366247[_0x307584(0x462)],'nodeId':_0x2993f3}:{'nodeId':_0x366247['nodeId'],'siblingNodeId':_0x2993f3},'connectorId':(0x0,_0x16f5c0[_0x307584(0x323)])(0x6),'text':_0x4a97bb[_0x307584(0x471)]['t'](_0x307584(0x445))},_0x366247[_0x307584(0x3d8)],_0x2993f3),!0x0;}['_executeNodeOperation'](_0x131138,_0x46e7f0){const _0x2cd58e=_0x4b6d1a;let _0x507ac7=this[_0x2cd58e(0x207)](_0x131138);return _0x507ac7?(this['_executeAndLayout'](_0x131138,_0x46e7f0,{'unitId':_0x507ac7[_0x2cd58e(0x3d9)],'subUnitId':_0x507ac7[_0x2cd58e(0x430)],'nodeId':_0x507ac7['nodeId']},_0x507ac7[_0x2cd58e(0x3d8)]),!0x0):!0x1;}['_deleteSelectedNode'](_0x1884d1){const _0xc7d9f5=_0x4b6d1a;let _0x2a5f07=this[_0xc7d9f5(0x207)](_0x1884d1);if(!_0x2a5f07)return!0x1;let _0x58c629=_0x1884d1[_0xc7d9f5(0x3b4)][_0xc7d9f5(0x361)](_0x312ad4[_0xc7d9f5(0x1d9)]['id'],{'unitId':_0x2a5f07[_0xc7d9f5(0x3d9)],'subUnitId':_0x2a5f07[_0xc7d9f5(0x430)],'nodeId':_0x2a5f07['nodeId']});return _0x58c629&&_0x1884d1['elementStateService']['clearSelection'](),_0x58c629;}['_collapseAll'](_0xf20971){const _0x505675=_0x4b6d1a;let _0x359454=this[_0x505675(0x207)](_0xf20971);if(!_0x359454)return!0x1;let _0x30ded7=_0xf20971[_0x505675(0x1f0)][_0x505675(0x270)](_0x359454[_0x505675(0x3d9)],_0x359454[_0x505675(0x430)]),_0x1aff2a=Object[_0x505675(0x14d)](_0x30ded7)[_0x505675(0x2e5)](_0x4fa248=>{const _0x1431fc=_0x505675;let _0x378a4a=(0x0,_0x312ad4[_0x1431fc(0x15b)])(_0x4fa248[_0x1431fc(0x16a)]);return(_0x378a4a==null?void 0x0:_0x378a4a[_0x1431fc(0x4b2)])===_0x359454[_0x1431fc(0x3d8)]&&this[_0x1431fc(0x4d4)](_0x30ded7,_0x359454[_0x1431fc(0x3d8)],_0x4fa248[_0x1431fc(0x47d)])[_0x1431fc(0x489)]>0x0?{'nodeId':_0x4fa248[_0x1431fc(0x47d)],'collapsed':_0x378a4a[_0x1431fc(0x356)]}:null;})[_0x505675(0x34d)](_0x291521=>!!_0x291521);if(_0x1aff2a['length']===0x0)return!0x1;let _0x197918=_0x1aff2a['some'](_0x5a4315=>!_0x5a4315[_0x505675(0x356)]),_0x1f1149=_0xf20971[_0x505675(0x3b4)],_0x2d1675=this['_undoRedoGroupService'][_0x505675(0x400)](_0x359454[_0x505675(0x3d9)]),_0x49f485=_0x1aff2a[_0x505675(0x2e5)](_0x277f89=>_0x2d1675(()=>_0x1f1149[_0x505675(0x39f)](_0x312ad4['ToggleMindMapNodeCollapseOperation']['id'],{'unitId':_0x359454['unitId'],'subUnitId':_0x359454[_0x505675(0x430)],'nodeId':_0x277f89[_0x505675(0x462)],'collapsed':_0x197918})));return Promise['all'](_0x49f485[_0x505675(0x2e5)](_0x28f623=>Promise[_0x505675(0x493)](_0x28f623)))[_0x505675(0x138)](_0x244112=>{const _0x47446f=_0x505675;_0x244112[_0x47446f(0x257)](Boolean)&&_0x2d1675(()=>_0x1f1149[_0x47446f(0x39f)](_0x312ad4[_0x47446f(0x30e)]['id'],{'unitId':_0x359454[_0x47446f(0x3d9)],'subUnitId':_0x359454[_0x47446f(0x430)],'scopeId':_0x359454[_0x47446f(0x3d8)]}));}),!0x0;}['_openSelectedTextEditing'](_0x55610d){const _0x1c33c9=_0x4b6d1a;let _0x4da5bb=this[_0x1c33c9(0x207)](_0x55610d);if(!_0x4da5bb)return!0x1;_0x55610d[_0x1c33c9(0x30a)][_0x1c33c9(0x1b7)]({'unitId':_0x4da5bb[_0x1c33c9(0x3d9)],'subUnitId':_0x4da5bb['subUnitId']},[_0x4da5bb[_0x1c33c9(0x462)]],_0x4da5bb[_0x1c33c9(0x462)]);let _0x38c1f3=_0x55610d[_0x1c33c9(0x375)];return _0x38c1f3[_0x1c33c9(0x166)](),_0x38c1f3[_0x1c33c9(0x219)]({'unitId':_0x4da5bb[_0x1c33c9(0x3d9)],'subUnitId':_0x4da5bb[_0x1c33c9(0x430)],'shapeId':_0x4da5bb['nodeId'],'shapeKey':(0x0,_0x3a2313['getBoardElementRenderObjectKey'])(_0x4da5bb[_0x1c33c9(0x3d9)],_0x4da5bb[_0x1c33c9(0x462)]),'visible':!0x0}),!0x0;}['_openDescriptionDialog'](_0x4b0974){const _0x3dc05d=_0x4b6d1a;let _0x596acf=this[_0x3dc05d(0x207)](_0x4b0974);return _0x596acf?(_0x4b0974[_0x3dc05d(0x293)][_0x3dc05d(0x21a)]({'id':_0x4f7253,'title':{'title':_0x3dc05d(0x22e)},'width':0x1a4,'draggable':!0x0,'mask':!0x1,'maskClosable':!0x0,'children':{'label':_0x3b124f,'unitId':_0x596acf[_0x3dc05d(0x3d9)],'subUnitId':_0x596acf['subUnitId'],'nodeId':_0x596acf[_0x3dc05d(0x462)],'initialDescription':_0x596acf[_0x3dc05d(0x4bf)]}}),!0x0):!0x1;}['_navigateByTopology'](_0x5c95c4,_0x3ccccf){const _0x2edb90=_0x4b6d1a;let _0x2e2939=this[_0x2edb90(0x207)](_0x5c95c4);if(!_0x2e2939)return!0x1;let _0x4e455b=_0x5c95c4[_0x2edb90(0x1f0)][_0x2edb90(0x270)](_0x2e2939[_0x2edb90(0x3d9)],_0x2e2939[_0x2edb90(0x430)]),_0x128da9=_0x4e455b[_0x2e2939[_0x2edb90(0x462)]],_0x1ea95f=(0x0,_0x312ad4[_0x2edb90(0x15b)])(_0x128da9==null?void 0x0:_0x128da9[_0x2edb90(0x16a)]);if(!_0x128da9||!_0x1ea95f)return!0x1;let _0x41b40a={'arrow-left':_0x2edb90(0x2a5),'arrow-right':'ArrowRight','arrow-up':_0x2edb90(0x296),'arrow-down':_0x2edb90(0x3e7)}[_0x3ccccf];if(!_0x41b40a)return!0x1;let _0x49379c=this[_0x2edb90(0x39b)](_0x4e455b,_0x2e2939[_0x2edb90(0x462)],_0x1ea95f,_0x41b40a);return _0x49379c?(_0x5c95c4['elementStateService'][_0x2edb90(0x1b7)]({'unitId':_0x2e2939['unitId'],'subUnitId':_0x2e2939[_0x2edb90(0x430)]},[_0x49379c],_0x49379c),!0x0):!0x1;}[_0x4b6d1a(0x39b)](_0x54cb67,_0xfd4dea,_0x31bb17,_0x67bb6c){const _0x24a674=_0x4b6d1a;let _0x20293c=this[_0x24a674(0x4d4)](_0x54cb67,_0x31bb17[_0x24a674(0x4b2)],_0xfd4dea);if(_0x31bb17[_0x24a674(0x1dc)]===null){if(_0x67bb6c===_0x24a674(0x2a5)){var _0x2d767c;return((_0x2d767c=_0x20293c[_0x24a674(0x265)](_0x3e57e4=>{const _0x54e72c=_0x24a674;var _0x197d06;return((_0x197d06=(0x0,_0x312ad4[_0x54e72c(0x15b)])(_0x3e57e4['element']))==null?void 0x0:_0x197d06['side'])==='left';}))==null?void 0x0:_0x2d767c[_0x24a674(0x47d)])??null;}if(_0x67bb6c===_0x24a674(0x1f1)){var _0x38c704;return((_0x38c704=_0x20293c[_0x24a674(0x265)](_0x27bbf7=>{const _0x3290c2=_0x24a674;var _0x3c1dc1;return(((_0x3c1dc1=(0x0,_0x312ad4['getMindMapNodeMeta'])(_0x27bbf7['element']))==null?void 0x0:_0x3c1dc1['side'])??_0x3290c2(0x252))===_0x3290c2(0x252);}))==null?void 0x0:_0x38c704['elementId'])??null;}return null;}let _0x593810=_0x31bb17[_0x24a674(0x241)]??_0x24a674(0x252),_0x1b1df5=_0x593810==='right'?_0x24a674(0x2a5):_0x24a674(0x1f1),_0x27b22b=_0x593810===_0x24a674(0x252)?_0x24a674(0x1f1):_0x24a674(0x2a5);if(_0x67bb6c===_0x1b1df5)return _0x31bb17[_0x24a674(0x1dc)];if(_0x67bb6c===_0x27b22b){var _0x44a4e8;return((_0x44a4e8=_0x20293c[0x0])==null?void 0x0:_0x44a4e8[_0x24a674(0x47d)])??null;}if(_0x67bb6c==='ArrowUp'||_0x67bb6c==='ArrowDown'){let _0x9fbfa8=this[_0x24a674(0x4d4)](_0x54cb67,_0x31bb17[_0x24a674(0x4b2)],_0x31bb17[_0x24a674(0x1dc)]),_0x83e449=_0x9fbfa8[_0x24a674(0x240)](_0x54b82e=>_0x54b82e[_0x24a674(0x47d)]===_0xfd4dea),_0x3ac821=_0x67bb6c===_0x24a674(0x296)?_0x9fbfa8[_0x83e449-0x1]:_0x9fbfa8[_0x83e449+0x1];return(_0x3ac821==null?void 0x0:_0x3ac821[_0x24a674(0x47d)])??null;}return null;}['_getMindMapChildren'](_0x34cb30,_0x321659,_0x5412cf){const _0x3a2cdd=_0x4b6d1a;return Object[_0x3a2cdd(0x14d)](_0x34cb30)[_0x3a2cdd(0x34d)](_0x49af2b=>{const _0x3e535a=_0x3a2cdd;let _0xb5e3b9=(0x0,_0x312ad4['getMindMapNodeMeta'])(_0x49af2b[_0x3e535a(0x16a)]);return(_0xb5e3b9==null?void 0x0:_0xb5e3b9[_0x3e535a(0x4b2)])===_0x321659&&_0xb5e3b9[_0x3e535a(0x1dc)]===_0x5412cf&&_0x49af2b[_0x3e535a(0x16a)][_0x3e535a(0x4d1)]!==!0x1;})[_0x3a2cdd(0x48b)]((_0x11e9a8,_0x411e4c)=>{const _0x5dbffc=_0x3a2cdd;let _0x7738d0=(0x0,_0x312ad4[_0x5dbffc(0x15b)])(_0x11e9a8['element']),_0x5eddae=(0x0,_0x312ad4[_0x5dbffc(0x15b)])(_0x411e4c['element']);return(0x0,_0x312ad4['compareMindMapOrderKey'])(_0x7738d0==null?void 0x0:_0x7738d0['orderKey'],_0x5eddae==null?void 0x0:_0x5eddae[_0x5dbffc(0x38a)])||_0x11e9a8[_0x5dbffc(0x47d)][_0x5dbffc(0x1f9)](_0x411e4c[_0x5dbffc(0x47d)]);});}[_0x4b6d1a(0x207)](_0x319ebe){const _0x50916e=_0x4b6d1a;var _0x149427;let _0x464c84=_0x319ebe[_0x50916e(0x30a)][_0x50916e(0x1e2)](),_0x2faefe=_0x464c84[_0x50916e(0x3c6)]??_0x464c84[_0x50916e(0x23a)][0x0];if(!_0x2faefe||_0x464c84[_0x50916e(0x23a)][_0x50916e(0x489)]!==0x1||_0x464c84['activeEditingId']||_0x464c84[_0x50916e(0x2c2)])return null;let _0x4d9ce0=_0x464c84[_0x50916e(0x209)]??{'unitId':_0x319ebe[_0x50916e(0x1e5)]['unitId'],'subUnitId':_0x319ebe[_0x50916e(0x1e5)][_0x50916e(0x389)]['getActivePageId']()},_0x15bf19=_0x319ebe[_0x50916e(0x1f0)][_0x50916e(0x270)](_0x4d9ce0[_0x50916e(0x3d9)],_0x4d9ce0[_0x50916e(0x430)])[_0x2faefe],_0x308eb7=(0x0,_0x312ad4[_0x50916e(0x15b)])(_0x15bf19==null?void 0x0:_0x15bf19[_0x50916e(0x16a)]);return!_0x15bf19||!_0x308eb7?null:{'unitId':_0x4d9ce0['unitId'],'subUnitId':_0x4d9ce0[_0x50916e(0x430)],'nodeId':_0x2faefe,'scopeId':_0x308eb7[_0x50916e(0x4b2)],'isRoot':_0x308eb7[_0x50916e(0x1dc)]===null,'description':((_0x149427=_0x308eb7[_0x50916e(0x43a)])==null?void 0x0:_0x149427[_0x50916e(0x12e)])??''};}[_0x4b6d1a(0x18a)](_0x52f709){const _0x110825=_0x4b6d1a;var _0x3d4f4c,_0x58970b;let _0x5e1f91=_0x52f709['elementStateService']['getSnapshot']();return _0x5e1f91[_0x110825(0x154)]||_0x5e1f91[_0x110825(0x2c2)]||_0x5e1f91[_0x110825(0x23a)]['length']>0x0||_0x5e1f91[_0x110825(0x3c6)]?null:{'unitId':((_0x3d4f4c=_0x5e1f91['context'])==null?void 0x0:_0x3d4f4c['unitId'])??_0x52f709[_0x110825(0x1e5)][_0x110825(0x3d9)],'subUnitId':((_0x58970b=_0x5e1f91['context'])==null?void 0x0:_0x58970b[_0x110825(0x430)])??_0x52f709[_0x110825(0x1e5)][_0x110825(0x389)][_0x110825(0x4d9)]()};}[_0x4b6d1a(0x1ed)](_0x23a761,_0xd335bd,_0x533adb,_0x1e2c56){const _0x115d9f=_0x4b6d1a;let _0x4ca153=_0x23a761[_0x115d9f(0x3b4)],_0x2aa288=this[_0x115d9f(0x1bb)][_0x115d9f(0x400)](_0x533adb['unitId']),_0x4098c3=_0x2aa288(()=>_0x4ca153[_0x115d9f(0x39f)](_0xd335bd,_0x533adb));Promise[_0x115d9f(0x493)](_0x4098c3)[_0x115d9f(0x138)](_0x2fc541=>{const _0xf14af6=_0x115d9f;_0x2fc541&&_0x2aa288(()=>_0x4ca153[_0xf14af6(0x39f)](_0x312ad4[_0xf14af6(0x30e)]['id'],{'unitId':_0x533adb[_0xf14af6(0x3d9)],'subUnitId':_0x533adb[_0xf14af6(0x430)],'scopeId':_0x1e2c56}));});}[_0x4b6d1a(0x4c3)](_0xfdae2,_0x12362d,_0x49a74f,_0x28c82d,_0x5afbbb){const _0x13ee32=_0x4b6d1a;let _0x2bf55a={'unitId':_0x49a74f[_0x13ee32(0x3d9)],'subUnitId':_0x49a74f[_0x13ee32(0x430)]},_0xa1248=_0xfdae2[_0x13ee32(0x3b4)],_0x139bfb=this[_0x13ee32(0x1bb)][_0x13ee32(0x400)](_0x49a74f[_0x13ee32(0x3d9)]),_0x3f680c=_0x139bfb(()=>_0xa1248[_0x13ee32(0x39f)](_0x12362d,_0x49a74f));Promise['resolve'](_0x3f680c)['then'](_0x11919c=>{const _0x24eda8=_0x13ee32;if(!_0x11919c)return;_0x139bfb(()=>_0xa1248['executeCommand'](_0x312ad4[_0x24eda8(0x30e)]['id'],{..._0x2bf55a,'scopeId':_0x28c82d})),_0xfdae2[_0x24eda8(0x30a)][_0x24eda8(0x1b7)](_0x2bf55a,[_0x5afbbb],_0x5afbbb);let _0x591f39=_0xfdae2['textEditingService'];_0x591f39[_0x24eda8(0x166)](),_0x591f39[_0x24eda8(0x219)]({..._0x2bf55a,'shapeId':_0x5afbbb,'shapeKey':(0x0,_0x3a2313['getBoardElementRenderObjectKey'])(_0x2bf55a[_0x24eda8(0x3d9)],_0x5afbbb),'visible':!0x0});});}};_0x583499=_0x4d6662([_0x400c84(0x0,_0x312ad4[_0x4b6d1a(0x354)]),_0x400c84(0x1,_0x16f5c0[_0x4b6d1a(0x422)]),_0x400c84(0x2,_0x26e0d4['IShortcutService']),_0x400c84(0x3,(0x0,_0x16f5c0[_0x4b6d1a(0x43e)])(_0x26e0d4['UndoRedoGroupService']))],_0x583499);function _0x50aece(_0x4360f9,_0x2fc8f9){const _0x19c341=_0x4b6d1a;var _0x4c3858,_0x2c5a81;let _0x575c88=typeof(_0x2fc8f9==null?void 0x0:_0x2fc8f9[_0x19c341(0x3d9)])=='string'?_0x2fc8f9[_0x19c341(0x3d9)]:(_0x4c3858=_0x4360f9[_0x19c341(0x31a)](_0x16f5c0[_0x19c341(0x363)])[_0x19c341(0x3df)](_0x16f5c0[_0x19c341(0x184)]['UNIVER_BOARD']))==null?void 0x0:_0x4c3858[_0x19c341(0x3c9)]();return _0x575c88?((_0x2c5a81=_0x4360f9[_0x19c341(0x31a)](_0x5714e6[_0x19c341(0x272)])[_0x19c341(0x43f)](_0x575c88))==null?void 0x0:_0x2c5a81['with'](_0x726b93))??null:null;}function _0xa3203c(_0x556d2a){const _0x59f4d6=_0x4b6d1a;return _0x556d2a===_0x59f4d6(0x12f)||_0x556d2a==='arrow-right'||_0x556d2a===_0x59f4d6(0x1d1)||_0x556d2a===_0x59f4d6(0x330);}let _0xd29ff0={'min':0x1,'max':0x5,'defaultValue':0x3},_0xcaedc0={'min':0x0,'max':0x64,'defaultValue':0x64},_0x5d70a9=[{'kind':_0x4b6d1a(0x11f),'titleKey':_0x4b6d1a(0x12c),'panel':_0x4b6d1a(0x133)},{'kind':_0x4b6d1a(0x21f),'titleKey':_0x4b6d1a(0x3d3)},{'kind':_0x4b6d1a(0x1fd),'titleKey':_0x4b6d1a(0x336)},{'kind':'dropdown','titleKey':_0x4b6d1a(0x282),'panel':_0x4b6d1a(0x41d),'dividerBefore':!0x0}],_0xe82b94={'addSibling':_0x4b6d1a(0x281),'addChild':_0x4b6d1a(0x119),'copy':_0x4b6d1a(0x1dd),'paste':_0x4b6d1a(0x474),'delete':_0x4b6d1a(0x150)},_0x1d1528=[{'key':_0x4b6d1a(0x402),'title':_0x4b6d1a(0x47c),'items':[{'value':_0x4b6d1a(0x403),'icon':_0x4b6d1a(0x403),'labelKey':_0x4b6d1a(0x31d)},{'value':_0x4b6d1a(0x135),'icon':_0x4b6d1a(0x135),'labelKey':_0x4b6d1a(0x423)}]},{'key':_0x4b6d1a(0x262),'title':'Tree\x20diagram','items':[{'value':_0x4b6d1a(0x162),'icon':_0x4b6d1a(0x162),'labelKey':_0x4b6d1a(0x147)},{'value':_0x4b6d1a(0x29d),'icon':_0x4b6d1a(0x29d),'labelKey':_0x4b6d1a(0x29c)},{'value':_0x4b6d1a(0x2f3),'icon':_0x4b6d1a(0x2f3),'labelKey':_0x4b6d1a(0x2f0)}]},{'key':_0x4b6d1a(0x3ea),'title':_0x4b6d1a(0x44a),'items':[{'value':'timeline-horizontal','icon':_0x4b6d1a(0x178),'labelKey':'boards-mind-ui.panel.structureKind.timelineHorizontal'},{'value':_0x4b6d1a(0x476),'icon':_0x4b6d1a(0x476),'labelKey':_0x4b6d1a(0x261)}]}],_0x113a62={'key':_0x4b6d1a(0x16f),'title':_0x4b6d1a(0x1f3),'items':[{'value':_0x4b6d1a(0x1fc),'icon':_0x4b6d1a(0x224),'labelKey':_0x4b6d1a(0x337)},{'value':_0x4b6d1a(0x21d),'icon':_0x4b6d1a(0x39d),'labelKey':_0x4b6d1a(0x2c1)},{'value':_0x4b6d1a(0x4c1),'icon':'branch-orthogonal','labelKey':_0x4b6d1a(0x475)}]},_0x25f15d=_0x4b6d1a(0x15c);function _0x562028(_0x280379,_0x5d6301){const _0x1d42a3=_0x4b6d1a;_0x280379[_0x1d42a3(0x39f)](_0x443b89,{'action':_0x5d6301});}let _0x3940ca={'line':_0x2e72ef,'more':_0x56369d};function _0x416cc7(_0x5ae6e7){const _0x135a70=_0x4b6d1a;_0x5ae6e7[_0x135a70(0x437)](),_0x5ae6e7['preventDefault']();}function _0x2176f4(_0x284645,_0x1b7f38='univer-size-5',_0x2f4cd4){const _0x56ec1d=_0x4b6d1a;return(0x0,_0x7279b0[_0x56ec1d(0x492)])(_0x36b7c4[_0x56ec1d(0x2bc)],{'children':(0x0,_0x7279b0[_0x56ec1d(0x492)])(_0x284645,{'className':_0x1b7f38,'extend':_0x2f4cd4})});}function _0x27df8f(_0x3e0f41){const _0x59eda9=_0x4b6d1a;var _0x244d80,_0x4b3ec1;let _0x482348=(_0x3e0f41==null?void 0x0:_0x3e0f41[_0x59eda9(0x45b)])??{},_0x2e8608=_0x482348[_0x59eda9(0x15f)]&&typeof _0x482348[_0x59eda9(0x15f)]==_0x59eda9(0x496)?_0x482348[_0x59eda9(0x15f)]:{},_0x2496cb=(_0x244d80=_0x2e8608['doc'])==null||(_0x244d80=_0x244d80[_0x59eda9(0x122)])==null?void 0x0:_0x244d80[_0x59eda9(0x3f7)];return{'color':typeof _0x482348[_0x59eda9(0x495)]==_0x59eda9(0x46c)?_0x482348['color']:(_0x2496cb==null||(_0x4b3ec1=_0x2496cb['cl'])==null?void 0x0:_0x4b3ec1[_0x59eda9(0x18f)])??_0x36b7c4[_0x59eda9(0x187)],'fontFamily':typeof _0x482348[_0x59eda9(0x325)]==_0x59eda9(0x46c)?_0x482348[_0x59eda9(0x325)]:(_0x2496cb==null?void 0x0:_0x2496cb['ff'])??_0x16f5c0[_0x59eda9(0x4c2)]['ff'],'fontSize':typeof _0x482348[_0x59eda9(0x175)]=='number'?_0x482348[_0x59eda9(0x175)]:typeof(_0x2496cb==null?void 0x0:_0x2496cb['fs'])==_0x59eda9(0x136)?_0x2496cb['fs']:_0x16f5c0['DEFAULT_STYLES']['fs'],'horizontalAlign':_0x482348[_0x59eda9(0x4c5)]??_0x2e8608['ha']??_0x16f5c0[_0x59eda9(0x1a4)][_0x59eda9(0x2f6)],'textFill':_0x482348[_0x59eda9(0x1c8)]&&typeof _0x482348[_0x59eda9(0x1c8)]==_0x59eda9(0x496)?_0x482348[_0x59eda9(0x1c8)]:_0x2496cb==null?void 0x0:_0x2496cb[_0x59eda9(0x1c8)],'verticalAlign':_0x482348['verticalAlign']??_0x2e8608['va']??_0x16f5c0[_0x59eda9(0x427)][_0x59eda9(0x451)]};}function _0x266aab(_0x49aeb0,_0x575733){const _0x1edad0=_0x4b6d1a;if(!_0x575733)return;let _0x1b6a43=_0x211d4b(_0x575733);if(!_0x1b6a43[_0x1edad0(0x489)])return;let _0x4534c7=_0x1b6a43[_0x1edad0(0x2e5)](_0x59c35e=>_0x49aeb0['getShortcutDisplay']({'id':'board.operation.mind-map.keyboard-shortcut','binding':_0x59c35e,'staticParameters':{'action':_0x575733}})??void 0x0)[_0x1edad0(0x34d)](_0x201925=>!!_0x201925);return _0x4534c7[_0x1edad0(0x489)]?[...new Set(_0x4534c7)][_0x1edad0(0x450)]('/'):void 0x0;}async function _0x22f1cd(_0x4c3d82,_0x60ee4e,_0x474b8f){const _0x2fa258=_0x4b6d1a;return await Promise[_0x2fa258(0x493)](_0x60ee4e(()=>_0x4c3d82[_0x2fa258(0x39f)](_0x312ad4['ChangeMindMapLayoutOperation']['id'],_0x474b8f)))?(await Promise[_0x2fa258(0x493)](_0x60ee4e(()=>_0x4c3d82[_0x2fa258(0x39f)](_0x312ad4[_0x2fa258(0x30e)]['id'],{'unitId':_0x474b8f['unitId'],'subUnitId':_0x474b8f[_0x2fa258(0x430)],'scopeId':_0x474b8f['scopeId']}))),!0x0):!0x1;}async function _0x10f0e0(_0x180971,_0x2f0dfa,_0x1d911c){const _0x199b4b=_0x4b6d1a;return await Promise[_0x199b4b(0x493)](_0x2f0dfa(()=>_0x180971[_0x199b4b(0x39f)](_0x312ad4[_0x199b4b(0x499)]['id'],_0x1d911c)))?(await Promise[_0x199b4b(0x493)](_0x2f0dfa(()=>_0x180971[_0x199b4b(0x39f)](_0x312ad4[_0x199b4b(0x30e)]['id'],{'unitId':_0x1d911c[_0x199b4b(0x3d9)],'subUnitId':_0x1d911c[_0x199b4b(0x430)],'scopeId':_0x1d911c[_0x199b4b(0x3d8)]}))),!0x0):!0x1;}function _0x37f408({className:_0x3f021e=_0x4b6d1a(0x19a)}){const _0x46e5af=_0x4b6d1a;return(0x0,_0x7279b0[_0x46e5af(0x492)])(_0x36b7c4[_0x46e5af(0x2bc)],{'children':(0x0,_0x7279b0[_0x46e5af(0x24c)])(_0x46e5af(0x2ea),{'className':_0x3f021e,'viewBox':_0x46e5af(0x1a9),'fill':_0x46e5af(0x250),'aria-hidden':_0x46e5af(0x473),'children':[(0x0,_0x7279b0[_0x46e5af(0x492)])(_0x46e5af(0x146),{'d':_0x46e5af(0x27f),'stroke':_0x46e5af(0x3a9),'strokeWidth':_0x46e5af(0x4a4),'strokeLinecap':'round'}),(0x0,_0x7279b0[_0x46e5af(0x492)])(_0x46e5af(0x146),{'d':_0x46e5af(0x2a9),'stroke':_0x46e5af(0x3a9),'strokeWidth':_0x46e5af(0x4a4),'strokeLinecap':'round'}),(0x0,_0x7279b0[_0x46e5af(0x492)])('path',{'d':'M4.5\x2016.5h4.2c1.9\x200\x203.3-1.5\x203.3-3.3','stroke':_0x46e5af(0x3a9),'strokeWidth':_0x46e5af(0x4a4),'strokeLinecap':_0x46e5af(0x204)})]})});}function _0x14fc3f({icon:_0x597e24}){const _0x5a393f=_0x4b6d1a;let _0x3a8ddb=_0x5a393f(0x35f),_0x33bd78={'stroke':_0x5a393f(0x3a9),'strokeWidth':2.6,'strokeLinecap':_0x5a393f(0x204),'strokeLinejoin':_0x5a393f(0x204)},_0x310550={'stroke':_0x3a8ddb,'strokeWidth':3.2,'strokeLinecap':'round'};return(0x0,_0x7279b0[_0x5a393f(0x24c)])(_0x5a393f(0x2ea),{'className':_0x5a393f(0x1ea),'viewBox':_0x5a393f(0x137),'fill':_0x5a393f(0x250),'aria-hidden':_0x5a393f(0x473),'children':[_0x597e24===_0x5a393f(0x403)&&(0x0,_0x7279b0['jsxs'])(_0x7279b0[_0x5a393f(0x1bf)],{'children':[(0x0,_0x7279b0[_0x5a393f(0x492)])(_0x5a393f(0x146),{'d':_0x5a393f(0x42f),..._0x33bd78}),(0x0,_0x7279b0[_0x5a393f(0x492)])(_0x5a393f(0x146),{'d':_0x5a393f(0x18b),..._0x310550})]}),_0x597e24==='mindmap-vertical'&&(0x0,_0x7279b0['jsxs'])(_0x7279b0[_0x5a393f(0x1bf)],{'children':[(0x0,_0x7279b0['jsx'])('path',{'d':_0x5a393f(0x182),..._0x33bd78}),(0x0,_0x7279b0[_0x5a393f(0x492)])(_0x5a393f(0x146),{'d':'M22\x208h36M22\x2048h36M14\x2018v20M66\x2018v20','stroke':_0x3a8ddb,'strokeWidth':2.6,'strokeLinecap':_0x5a393f(0x204),'strokeDasharray':_0x5a393f(0x36b)})]}),_0x597e24===_0x5a393f(0x162)&&(0x0,_0x7279b0[_0x5a393f(0x24c)])(_0x7279b0[_0x5a393f(0x1bf)],{'children':[(0x0,_0x7279b0[_0x5a393f(0x492)])('path',{'d':_0x5a393f(0x3e4),..._0x33bd78}),(0x0,_0x7279b0[_0x5a393f(0x492)])(_0x5a393f(0x146),{'d':'M47\x2025h13M47\x2035h13M47\x2045h13',..._0x310550}),(0x0,_0x7279b0[_0x5a393f(0x492)])('circle',{'cx':'24','cy':'12','r':'3','fill':_0x5a393f(0x3a9)})]}),_0x597e24==='tree-left'&&(0x0,_0x7279b0[_0x5a393f(0x24c)])(_0x7279b0['Fragment'],{'children':[(0x0,_0x7279b0[_0x5a393f(0x492)])(_0x5a393f(0x146),{'d':_0x5a393f(0x2d2),..._0x33bd78}),(0x0,_0x7279b0[_0x5a393f(0x492)])('path',{'d':'M20\x2025h13M20\x2035h13M20\x2045h13',..._0x310550}),(0x0,_0x7279b0[_0x5a393f(0x492)])(_0x5a393f(0x201),{'cx':'56','cy':'12','r':'3','fill':'currentColor'})]}),_0x597e24===_0x5a393f(0x2f3)&&(0x0,_0x7279b0[_0x5a393f(0x24c)])(_0x7279b0['Fragment'],{'children':[(0x0,_0x7279b0[_0x5a393f(0x492)])(_0x5a393f(0x146),{'d':'M42\x2012v32M42\x2020c0\x204-3\x206-7\x206h-7M42\x2030c0\x204\x203\x206\x207\x206h7M42\x2039c0\x204-3\x206-7\x206h-7',..._0x33bd78}),(0x0,_0x7279b0[_0x5a393f(0x492)])(_0x5a393f(0x146),{'d':'M12\x2026h11M58\x2036h11M12\x2045h11',..._0x310550}),(0x0,_0x7279b0['jsx'])(_0x5a393f(0x201),{'cx':'42','cy':'12','r':'3','fill':_0x5a393f(0x3a9)})]}),_0x597e24==='timeline-horizontal'&&(0x0,_0x7279b0[_0x5a393f(0x24c)])(_0x7279b0[_0x5a393f(0x1bf)],{'children':[(0x0,_0x7279b0[_0x5a393f(0x492)])('path',{'d':_0x5a393f(0x43d),..._0x33bd78}),(0x0,_0x7279b0[_0x5a393f(0x492)])(_0x5a393f(0x146),{'d':_0x5a393f(0x251),..._0x310550}),(0x0,_0x7279b0[_0x5a393f(0x492)])(_0x5a393f(0x201),{'cx':'17','cy':'31','r':'3','fill':_0x5a393f(0x3a9)})]}),_0x597e24===_0x5a393f(0x476)&&(0x0,_0x7279b0[_0x5a393f(0x24c)])(_0x7279b0[_0x5a393f(0x1bf)],{'children':[(0x0,_0x7279b0['jsx'])(_0x5a393f(0x146),{'d':'M40\x209v40M40\x2020c8\x200\x2011\x204\x2011\x2011v8M40\x2035c-8\x200-11\x204-11\x2011v4',..._0x33bd78}),(0x0,_0x7279b0[_0x5a393f(0x492)])(_0x5a393f(0x146),{'d':_0x5a393f(0x3db),..._0x310550}),(0x0,_0x7279b0[_0x5a393f(0x492)])(_0x5a393f(0x201),{'cx':'40','cy':'9','r':'3','fill':_0x5a393f(0x3a9)})]}),_0x597e24==='branch-curve'&&(0x0,_0x7279b0[_0x5a393f(0x492)])(_0x7279b0[_0x5a393f(0x1bf)],{'children':(0x0,_0x7279b0[_0x5a393f(0x492)])('path',{'d':_0x5a393f(0x13a),..._0x33bd78})}),_0x597e24===_0x5a393f(0x39d)&&(0x0,_0x7279b0[_0x5a393f(0x492)])(_0x7279b0[_0x5a393f(0x1bf)],{'children':(0x0,_0x7279b0[_0x5a393f(0x492)])('path',{'d':_0x5a393f(0x218),..._0x33bd78})}),_0x597e24===_0x5a393f(0x319)&&(0x0,_0x7279b0[_0x5a393f(0x492)])(_0x7279b0[_0x5a393f(0x1bf)],{'children':(0x0,_0x7279b0[_0x5a393f(0x492)])('path',{'d':_0x5a393f(0x271),..._0x33bd78})})]});}function _0x2ea81e(_0x1758a9,_0x2e906b){const _0x4accbe=_0x4b6d1a;let _0x44698c=_0x1758a9['textStyle'],_0x325550=(0x0,_0xef9e20[_0x4accbe(0x459)])(_0x44698c),_0x4f702f={..._0x325550[_0x4accbe(0x495)]===void 0x0?null:{'color':_0x325550[_0x4accbe(0x495)]},..._0x325550['fontFamily']===void 0x0?null:{'fontFamily':_0x325550[_0x4accbe(0x325)]},..._0x325550[_0x4accbe(0x175)]===void 0x0?null:{'fontSize':_0x325550[_0x4accbe(0x175)]},..._0x325550[_0x4accbe(0x4ba)]===void 0x0?null:{'bold':_0x325550[_0x4accbe(0x4ba)]},..._0x325550[_0x4accbe(0x1d8)]===void 0x0?null:{'italic':_0x325550[_0x4accbe(0x1d8)]},..._0x325550['underline']===void 0x0?null:{'underline':_0x325550[_0x4accbe(0x149)]},..._0x325550[_0x4accbe(0x40a)]===void 0x0?null:{'strikethrough':_0x325550[_0x4accbe(0x40a)]},..._0x325550[_0x4accbe(0x1c8)]===void 0x0?null:{'textFill':_0x325550['textFill']}};_0x1758a9[_0x4accbe(0x4c5)]!==void 0x0&&(_0x4f702f[_0x4accbe(0x4c5)]=_0x1758a9['horizontalAlign']),_0x1758a9[_0x4accbe(0x234)]!==void 0x0&&(_0x4f702f[_0x4accbe(0x234)]=_0x1758a9['verticalAlign']),Object[_0x4accbe(0x244)](_0x4f702f)[_0x4accbe(0x489)]>0x0&&_0x2e906b({'textStyle':_0x4f702f});}function _0x5a2a91(_0x1530ed,_0x575da9,_0x26083d){const _0x54d408=_0x4b6d1a;let _0xdf2615=_0x1530ed??{},_0x3fe5d9=(0x0,_0x36b7c4[_0x54d408(0x30b)])(_0xdf2615,_0x575da9),_0x528098=_0x3fe5d9[_0x54d408(0x45b)]??_0xdf2615[_0x54d408(0x45b)]??{};return{..._0xdf2615,..._0x3fe5d9,'shapeText':{..._0x528098,..._0x26083d['color']===void 0x0?null:{'color':_0x26083d[_0x54d408(0x495)]},..._0x26083d['fontSize']===void 0x0?null:{'fontSize':_0x26083d[_0x54d408(0x175)]},..._0x26083d[_0x54d408(0x4ba)]===void 0x0?null:{'bold':_0x26083d[_0x54d408(0x4ba)]},..._0x26083d['italic']===void 0x0?null:{'italic':_0x26083d[_0x54d408(0x1d8)]},..._0x26083d['underline']===void 0x0?null:{'underline':_0x26083d[_0x54d408(0x149)]},..._0x26083d[_0x54d408(0x40a)]===void 0x0?null:{'strikethrough':_0x26083d[_0x54d408(0x40a)]},..._0x26083d['horizontalAlign']===void 0x0?null:{'horizontalAlign':_0x26083d[_0x54d408(0x4c5)]},..._0x26083d['verticalAlign']===void 0x0?null:{'verticalAlign':_0x26083d['verticalAlign']},..._0x26083d[_0x54d408(0x1c8)]===void 0x0?null:{'textFill':_0x26083d['textFill']}}};}function _0x358a91(_0x37d7c8,_0x54599b){const _0xed343d=_0x4b6d1a;let _0x8b42e0=_0x37d7c8==null?void 0x0:_0x37d7c8[_0xed343d(0x35e)];_0x8b42e0&&_0x54599b({'lineType':_0x8b42e0[_0xed343d(0x1b4)]===_0x1ad7b2[_0xed343d(0x48f)][_0xed343d(0x275)]||_0x8b42e0[_0xed343d(0x1b4)]===_0x1ad7b2[_0xed343d(0x48f)][_0xed343d(0x172)]?_0xed343d(0x313):_0x8b42e0[_0xed343d(0x1b4)]===_0x1ad7b2[_0xed343d(0x48f)][_0xed343d(0x44b)]?_0xed343d(0x42b):_0xed343d(0x1b8),...typeof _0x8b42e0[_0xed343d(0x155)]==_0xed343d(0x136)?{'strokeWidth':_0x8b42e0[_0xed343d(0x155)]}:null,...typeof _0x8b42e0['color']=='string'?{'stroke':_0x8b42e0['color']}:null,...typeof _0x8b42e0[_0xed343d(0x185)]==_0xed343d(0x136)?{'opacity':_0x8b42e0[_0xed343d(0x185)]}:null});}function _0x2d0bd7(_0xb58435){const _0x37bbba=_0x4b6d1a;return _0xb58435!=null&&_0xb58435[_0x37bbba(0x489)]?_0xb58435[0x0]<=0x2?_0x1ad7b2[_0x37bbba(0x48f)][_0x37bbba(0x275)]:_0x1ad7b2[_0x37bbba(0x48f)]['Dash']:_0x1ad7b2['ShapeLineDashEnum']['Solid'];}function _0xfe3176(_0x152413){const _0xd3e87b=_0x4b6d1a;return{'stroke':{'lineStrokeType':_0x1ad7b2[_0xd3e87b(0x31c)]['SolidLine'],'dashType':_0x2d0bd7(_0x152413==null?void 0x0:_0x152413[_0xd3e87b(0x42b)]),'color':(_0x152413==null?void 0x0:_0x152413[_0xd3e87b(0x35e)])??_0x36b7c4[_0xd3e87b(0x454)],'width':(_0x152413==null?void 0x0:_0x152413[_0xd3e87b(0x17b)])??_0xd29ff0[_0xd3e87b(0x32f)],'opacity':(_0x152413==null?void 0x0:_0x152413['opacity'])??_0xcaedc0['defaultValue']/0x64}};}function _0x2a0f27(_0x21d99b){const _0x4e8504=_0x4b6d1a;var _0x4c2eaa,_0x4958d8,_0x1b92ef;let _0x24a913=(0x0,_0x26e0d4['useDependency'])(_0x16f5c0['ICommandService']),_0x2f86b5=(0x0,_0x26e0d4[_0x4e8504(0x37d)])(_0x26e0d4[_0x4e8504(0x2aa)]),_0x331751=(0x0,_0x26e0d4[_0x4e8504(0x37d)])(_0x16f5c0['LocaleService']),_0x458c2d=(0x0,_0x26e0d4[_0x4e8504(0x37d)])(_0x26e0d4[_0x4e8504(0x4a3)]),[_0x501096,_0x5ddbd6]=(0x0,_0x2caf77[_0x4e8504(0x1df)])(null),[_0x51389f,_0x280745]=(0x0,_0x2caf77[_0x4e8504(0x1df)])((_0x4c2eaa=_0x21d99b['popup'][_0x4e8504(0x2f8)])==null?void 0x0:_0x4c2eaa[_0x4e8504(0x2bb)]),_0x57c8db=_0x21d99b[_0x4e8504(0x1f8)][_0x4e8504(0x2f8)];if(!_0x57c8db)return null;let _0x1748e6={'unitId':_0x57c8db[_0x4e8504(0x3d9)],'subUnitId':_0x57c8db[_0x4e8504(0x430)]},_0x5483b8=_0x15b97a=>{const _0xa272b1=_0x4e8504;_0x24a913['executeCommand'](_0x312ad4['UpdateMindMapNodeOperation']['id'],{..._0x1748e6,'nodeId':_0x57c8db[_0xa272b1(0x47d)],..._0x15b97a});},_0x1e20cd=(_0x18ab72,_0xd48b1f)=>{let _0xc517c8=_0xd48b1f??{};_0x280745(_0x125267=>({..._0x125267??{},..._0xc517c8})),_0x5483b8({..._0xc517c8['fill']===void 0x0?null:{'fill':_0xc517c8['fill']},..._0xc517c8['stroke']===void 0x0?null:{'stroke':_0xc517c8['stroke']}});},_0x72337=_0x3f390f=>{const _0x4891b2=_0x4e8504;_0x24a913[_0x4891b2(0x39f)](_0x312ad4[_0x4891b2(0x292)]['id'],{..._0x1748e6,'nodeId':_0x57c8db['elementId'],'style':_0x3f390f});},_0x513df2=_0xfe3176(_0x57c8db[_0x4e8504(0x278)]),_0x290bdf=_0x284d60=>_0x266aab(_0x2f86b5,_0x284d60),_0x2f0dfb=_0x1023b4=>{_0x562028(_0x24a913,_0x1023b4);},_0x9c4bd2=(_0x51389f==null?void 0x0:_0x51389f[_0x4e8504(0x45b)])??{},_0x38fe73=_0x27df8f(_0x51389f),_0x419b83=_0x32f336=>{_0x2ea81e(_0x32f336,_0x170a0e=>{const _0x40df6b=_0x4be6;_0x280745(_0x3967d7=>_0x5a2a91(_0x3967d7,_0x32f336,_0x170a0e[_0x40df6b(0x3f7)])),_0x5483b8(_0x170a0e);});},_0x2d7482=[{'label':_0x331751['t'](_0x4e8504(0x433)),'value':_0x16f5c0[_0x4e8504(0x1a4)][_0x4e8504(0x2f6)],'icon':(0x0,_0x7279b0[_0x4e8504(0x492)])(_0xd5092b,{})},{'label':_0x331751['t'](_0x4e8504(0x19c)),'value':_0x16f5c0[_0x4e8504(0x1a4)][_0x4e8504(0x3b0)],'icon':(0x0,_0x7279b0['jsx'])(_0x33c862,{})},{'label':_0x331751['t']('boards-mind-ui.alignRight'),'value':_0x16f5c0['HorizontalAlign'][_0x4e8504(0x3fa)],'icon':(0x0,_0x7279b0[_0x4e8504(0x492)])(_0x425d6f,{})},{'label':_0x331751['t'](_0x4e8504(0x2b2)),'value':_0x16f5c0[_0x4e8504(0x1a4)][_0x4e8504(0x35a)],'icon':(0x0,_0x7279b0[_0x4e8504(0x492)])(_0x53b08b,{})}],_0x28f5b4=[{'label':_0x331751['t']('boards-mind-ui.alignTop'),'value':_0x16f5c0[_0x4e8504(0x427)][_0x4e8504(0x2b8)],'icon':(0x0,_0x7279b0[_0x4e8504(0x492)])(_0x24a5fc,{})},{'label':_0x331751['t'](_0x4e8504(0x38c)),'value':_0x16f5c0[_0x4e8504(0x427)][_0x4e8504(0x451)],'icon':(0x0,_0x7279b0['jsx'])(_0xad5ab6,{})},{'label':_0x331751['t'](_0x4e8504(0x1a5)),'value':_0x16f5c0[_0x4e8504(0x427)]['BOTTOM'],'icon':(0x0,_0x7279b0[_0x4e8504(0x492)])(_0x21c856,{})}],_0x4a9143=()=>{const _0x23dc26=_0x4e8504;_0x2f0dfb(_0x23dc26(0x281));},_0x262ae7=()=>{const _0xa21509=_0x4e8504;_0x2f0dfb(_0xa21509(0x119));},_0x396cad=()=>{const _0x43bc63=_0x4e8504;_0x2f0dfb(_0x43bc63(0x1dd));},_0x14a854=()=>{const _0x53afa2=_0x4e8504;_0x2f0dfb(_0x53afa2(0x474));},_0x48fee1=()=>{const _0x1e6bc5=_0x4e8504;_0x2f0dfb(_0x1e6bc5(0x150));},_0x29ba5b=((_0x4958d8=_0x57c8db[_0x4e8504(0x379)])==null?void 0x0:_0x4958d8[_0x4e8504(0x1b6)])??_0x312ad4['MIND_MAP_DEFAULT_LAYOUT'][_0x4e8504(0x1b6)],_0x1f3bce=(0x0,_0x312ad4['resolveMindMapBranchLineTypeForStructure'])(_0x29ba5b,((_0x1b92ef=_0x57c8db['layout'])==null?void 0x0:_0x1b92ef['branchLineType'])??_0x312ad4[_0x4e8504(0x377)]['branchLineType']),_0x542ca3=_0x327c05=>{const _0x4a339e=_0x4e8504;let _0x5484ec=(0x0,_0x312ad4['resolveMindMapBranchLineTypeForStructure'])(_0x327c05,_0x1f3bce);_0x22f1cd(_0x24a913,_0x458c2d[_0x4a339e(0x400)](_0x57c8db[_0x4a339e(0x3d9)]),{..._0x1748e6,'scopeId':_0x57c8db[_0x4a339e(0x3d8)],'structureKind':_0x327c05,..._0x5484ec===_0x1f3bce?null:{'branchLineType':_0x5484ec}}),_0x5ddbd6(null);},_0x3993db=_0x26c10f=>{const _0x5c378a=_0x4e8504;_0x10f0e0(_0x24a913,_0x458c2d[_0x5c378a(0x400)](_0x57c8db['unitId']),{..._0x1748e6,'scopeId':_0x57c8db[_0x5c378a(0x3d8)],'branchLineType':_0x26c10f}),_0x5ddbd6(null);},_0x177357=(_0x139536,_0x97ef13,_0x3a31cf,_0x10a350=!0x1)=>(0x0,_0x7279b0[_0x4e8504(0x492)])(_0x4e8504(0x189),{'type':_0x4e8504(0x189),'aria-label':_0x331751['t'](_0x139536[_0x4e8504(0x198)]),'disabled':_0x10a350,'className':(0x0,_0x1ba6fa[_0x4e8504(0x494)])(_0x4e8504(0x371),_0x97ef13&&_0x4e8504(0x466),_0x10a350&&_0x4e8504(0x277)),'onMouseDown':_0x416cc7,'onPointerDown':_0x416cc7,'onClick':_0x5cca94=>{const _0x1086a4=_0x4e8504;_0x5cca94[_0x1086a4(0x437)](),!_0x10a350&&_0x3a31cf();},'children':(0x0,_0x7279b0['jsx'])(_0x14fc3f,{'icon':_0x139536[_0x4e8504(0x2ce)]})},_0x139536['value']),_0xef33d=()=>(0x0,_0x7279b0['jsxs'])(_0x4e8504(0x1aa),{'className':_0x4e8504(0x322),'onMouseDown':_0x465c53=>_0x465c53[_0x4e8504(0x437)](),'onPointerDown':_0x2dd8aa=>_0x2dd8aa[_0x4e8504(0x437)](),'children':[_0x1d1528[_0x4e8504(0x2e5)](_0x4f0d68=>(0x0,_0x7279b0[_0x4e8504(0x24c)])('div',{'className':_0x4e8504(0x35c),'children':[(0x0,_0x7279b0[_0x4e8504(0x492)])(_0x4e8504(0x1aa),{'className':'univer-mb-2\x20univer-text-lg\x20univer-text-gray-900','children':_0x4f0d68[_0x4e8504(0x3f3)]}),(0x0,_0x7279b0[_0x4e8504(0x492)])(_0x4e8504(0x1aa),{'className':_0x4e8504(0x444),'style':{'gridTemplateColumns':_0x4e8504(0x3af)+_0x4f0d68[_0x4e8504(0x34e)]['length']+',\x20minmax(0,\x201fr))'},'children':_0x4f0d68[_0x4e8504(0x34e)][_0x4e8504(0x2e5)](_0x4227be=>_0x177357(_0x4227be,_0x4227be[_0x4e8504(0x2e0)]===_0x29ba5b,()=>_0x542ca3(_0x4227be[_0x4e8504(0x2e0)])))})]},_0x4f0d68['key'])),(0x0,_0x7279b0[_0x4e8504(0x492)])(_0x1ba6fa[_0x4e8504(0x3a0)],{}),(0x0,_0x7279b0['jsxs'])(_0x4e8504(0x1aa),{'className':_0x4e8504(0x348),'children':[(0x0,_0x7279b0['jsx'])(_0x4e8504(0x1aa),{'className':_0x4e8504(0x23f),'children':_0x113a62['title']}),(0x0,_0x7279b0['jsx'])(_0x4e8504(0x1aa),{'className':_0x4e8504(0x444),'style':{'gridTemplateColumns':_0x4e8504(0x3af)+_0x113a62[_0x4e8504(0x34e)]['length']+_0x4e8504(0x3c5)},'children':_0x113a62[_0x4e8504(0x34e)]['map'](_0x2f874d=>_0x177357(_0x2f874d,_0x2f874d[_0x4e8504(0x2e0)]===_0x1f3bce,()=>_0x3993db(_0x2f874d[_0x4e8504(0x2e0)]),_0x2f874d[_0x4e8504(0x2e0)]===_0x4e8504(0x1fc)&&!(0x0,_0x312ad4[_0x4e8504(0x2ab)])(_0x29ba5b)))})]})]}),_0x4ab328=_0xcaa8b8=>{const _0x41ff0c=_0x4e8504;switch(_0xcaa8b8){case'line':return(0x0,_0x7279b0['jsx'])(_0x36b7c4[_0x41ff0c(0x414)],{'title':_0x331751['t'](_0x41ff0c(0x40c)),'shapeData':_0x513df2,'modeOptions':[_0x41ff0c(0x1b8),_0x41ff0c(0x42b),_0x41ff0c(0x313)],'showDashDropdown':!0x1,'widthRange':{'min':_0xd29ff0[_0x41ff0c(0x1bd)],'max':_0xd29ff0['max'],'step':0x1},'onUpdateShapeData':(_0x38bb6a,_0x54ae35)=>{_0x358a91(_0x54ae35,_0x72337);}});case _0x41ff0c(0x41d):return(0x0,_0x7279b0[_0x41ff0c(0x492)])(_0x36b7c4[_0x41ff0c(0x236)],{'title':_0x331751['t'](_0x41ff0c(0x2c3)),'minWidthClassName':_0x41ff0c(0x487),'children':(0x0,_0x7279b0['jsxs'])(_0x41ff0c(0x1aa),{'className':'univer-flex\x20univer-flex-col\x20univer-gap-1','children':[(0x0,_0x7279b0['jsx'])(_0x36b7c4['ShapeFloatingToolbarMenuItem'],{'label':_0x331751['t'](_0x41ff0c(0x3de)),'shortcut':_0x290bdf(_0xe82b94[_0x41ff0c(0x305)]),'onClick':_0x4a9143}),(0x0,_0x7279b0['jsx'])(_0x36b7c4[_0x41ff0c(0x3f5)],{'label':_0x331751['t']('boards-mind-ui.toolbar.action.addChild'),'shortcut':_0x290bdf(_0xe82b94['addChild']),'onClick':_0x262ae7}),(0x0,_0x7279b0[_0x41ff0c(0x492)])(_0x1ba6fa['Separator'],{}),(0x0,_0x7279b0[_0x41ff0c(0x492)])(_0x36b7c4[_0x41ff0c(0x3f5)],{'label':_0x331751['t'](_0x41ff0c(0x333)),'shortcut':_0x290bdf(_0xe82b94[_0x41ff0c(0x1dd)]),'onClick':_0x396cad}),(0x0,_0x7279b0[_0x41ff0c(0x492)])(_0x36b7c4[_0x41ff0c(0x3f5)],{'label':_0x331751['t'](_0x41ff0c(0x3a7)),'shortcut':_0x290bdf(_0xe82b94[_0x41ff0c(0x474)]),'onClick':_0x14a854}),(0x0,_0x7279b0[_0x41ff0c(0x492)])(_0x36b7c4[_0x41ff0c(0x3f5)],{'label':_0x331751['t'](_0x41ff0c(0x355)),'shortcut':_0x290bdf(_0xe82b94['delete']),'onClick':_0x48fee1})]})});default:return null;}},_0x453314=_0x5d70a9[_0x4e8504(0x2ba)](_0x562776=>{const _0x3fdb65=_0x4e8504;let _0x4e7839=[];if(_0x562776[_0x3fdb65(0x253)]&&_0x4e7839['push']((0x0,_0x7279b0[_0x3fdb65(0x492)])(_0x1ba6fa['Separator'],{'orientation':'vertical'},'divider-'+_0x562776[_0x3fdb65(0x23d)])),_0x562776[_0x3fdb65(0x23d)]===_0x3fdb65(0x1fd))return _0x4e7839[_0x3fdb65(0x25c)]((0x0,_0x7279b0[_0x3fdb65(0x492)])(_0x36b7c4[_0x3fdb65(0x4ad)],{'title':_0x331751['t']('boards-mind-ui.toolbar.panel.typography'),'fontFamily':_0x38fe73[_0x3fdb65(0x325)],'textStyle':{'isBold':_0x9c4bd2[_0x3fdb65(0x4ba)]===!0x0,'isItalic':_0x9c4bd2['italic']===!0x0,'isUnderline':_0x9c4bd2[_0x3fdb65(0x149)]===!0x0,'isStrike':_0x9c4bd2[_0x3fdb65(0x40a)]===!0x0},'horizontalAlign':_0x38fe73['horizontalAlign'],'verticalAlign':_0x38fe73[_0x3fdb65(0x234)],'horizontalAlignOptions':_0x2d7482,'verticalAlignOptions':_0x28f5b4,'onUpdateText':_0x419b83},_0x562776[_0x3fdb65(0x23d)])),_0x4e7839;if(_0x562776[_0x3fdb65(0x23d)]===_0x3fdb65(0x21f)){let _0x5e0988={'fs':_0x38fe73['fontSize'],'cl':{'rgb':_0x38fe73['color']},..._0x38fe73[_0x3fdb65(0x1c8)]===void 0x0?null:{'textFill':_0x38fe73[_0x3fdb65(0x1c8)]}};return _0x4e7839[_0x3fdb65(0x25c)]((0x0,_0x7279b0[_0x3fdb65(0x492)])(_0x36b7c4[_0x3fdb65(0x1cf)],{'title':_0x331751['t'](_0x3fdb65(0x23c)),'textStyle':_0x5e0988,'fallbackColor':_0x38fe73['color'],'onChange':_0x264023=>_0x419b83({'textStyle':_0x264023})},_0x562776['kind'])),_0x4e7839[_0x3fdb65(0x25c)]((0x0,_0x7279b0[_0x3fdb65(0x492)])(_0x36b7c4[_0x3fdb65(0x139)],{'value':String(_0x38fe73[_0x3fdb65(0x175)]),'onChange':_0x10ea48=>{_0x419b83({'textStyle':{'fs':_0x10ea48}});}},_0x3fdb65(0x196))),_0x4e7839;}return _0x4e7839[_0x3fdb65(0x25c)]((0x0,_0x7279b0['jsx'])(_0x1ba6fa['Dropdown'],{'open':_0x501096===_0x562776[_0x3fdb65(0x279)],'overlay':_0x4ab328(_0x562776[_0x3fdb65(0x279)]),'onOpenChange':_0x17d79b=>_0x5ddbd6(_0x17d79b?_0x562776[_0x3fdb65(0x279)]:null),'children':(0x0,_0x7279b0[_0x3fdb65(0x492)])(_0x3fdb65(0x39a),{'children':(0x0,_0x7279b0[_0x3fdb65(0x492)])(_0x36b7c4['ShapeFloatingToolbarDropdownTrigger'],{'title':_0x331751['t'](_0x562776[_0x3fdb65(0x294)]),'active':_0x501096===_0x562776[_0x3fdb65(0x279)],'icon':_0x2176f4(_0x3940ca[_0x562776[_0x3fdb65(0x279)]]),'sizeClassName':_0x3fdb65(0x299),'onMouseDown':_0x416cc7,'onPointerDown':_0x416cc7})})},_0x562776[_0x3fdb65(0x279)])),_0x4e7839;});return(0x0,_0x7279b0[_0x4e8504(0x24c)])(_0x36b7c4[_0x4e8504(0x245)],{'maxWidthClassName':_0x4e8504(0x31e),'onMouseDown':_0x1f4a34=>_0x1f4a34[_0x4e8504(0x437)](),'children':[[..._0x57c8db[_0x4e8504(0x388)]?[(0x0,_0x7279b0[_0x4e8504(0x492)])(_0x1ba6fa[_0x4e8504(0x2d7)],{'open':_0x501096==='layout','overlay':_0xef33d(),'onOpenChange':_0x4912a3=>_0x5ddbd6(_0x4912a3?_0x4e8504(0x379):null),'children':(0x0,_0x7279b0['jsx'])(_0x4e8504(0x39a),{'children':(0x0,_0x7279b0[_0x4e8504(0x492)])(_0x36b7c4[_0x4e8504(0x148)],{'title':_0x331751['t'](_0x4e8504(0x4b9)),'active':_0x501096===_0x4e8504(0x379),'icon':(0x0,_0x7279b0[_0x4e8504(0x492)])(_0x37f408,{}),'sizeClassName':_0x4e8504(0x299),'onMouseDown':_0x416cc7,'onPointerDown':_0x416cc7})})},_0x4e8504(0x121)),(0x0,_0x7279b0[_0x4e8504(0x492)])(_0x1ba6fa[_0x4e8504(0x3a0)],{'orientation':_0x4e8504(0x421)},_0x4e8504(0x298))]:[],(0x0,_0x7279b0[_0x4e8504(0x492)])(_0x36b7c4[_0x4e8504(0x326)],{'title':_0x331751['t'](_0x4e8504(0x2cb)),'shapeData':_0x51389f??{},'onUpdateShapeData':_0x1e20cd},_0x4e8504(0x1a7)),(0x0,_0x7279b0['jsx'])(_0x36b7c4[_0x4e8504(0x4ac)],{'title':_0x331751['t']('boards-mind-ui.toolbar.action.stroke'),'shapeData':_0x51389f??{},'onUpdateShapeData':_0x1e20cd},_0x4e8504(0x446)),(0x0,_0x7279b0['jsx'])(_0x1ba6fa[_0x4e8504(0x3a0)],{'orientation':'vertical'},_0x4e8504(0x23e))],_0x453314]});}function _0x3efd98(_0x45d2a7){let {left:_0x169cec,top:_0x2a7600,width:_0x26611c,height:_0x413e94}=_0x45d2a7;return{'left':_0x169cec,'right':_0x169cec+_0x26611c,'top':_0x2a7600-0x38,'bottom':_0x2a7600+_0x413e94};}let _0x276865=class extends _0x16f5c0[_0x4b6d1a(0x1e1)]{constructor(_0x4faf80,_0x40d06e,_0x165001,_0x40ff0a,_0x564d83,_0x40593c){const _0x5155c0=_0x4b6d1a;super(),this[_0x5155c0(0x349)]=_0x4faf80,this[_0x5155c0(0x286)]=_0x40d06e,this[_0x5155c0(0x258)]=_0x165001,this[_0x5155c0(0x425)]=_0x40ff0a,this[_0x5155c0(0x4b0)]=_0x564d83,this[_0x5155c0(0x3e2)]=_0x40593c,_0x4ad85c(this,_0x5155c0(0x486),null),_0x4ad85c(this,_0x5155c0(0x2ef),null),this[_0x5155c0(0x32c)]();}[_0x4b6d1a(0x410)](){const _0x3bede3=_0x4b6d1a;this[_0x3bede3(0x460)](),super[_0x3bede3(0x410)]();}[_0x4b6d1a(0x32c)](){const _0x1d290f=_0x4b6d1a;let _0x5c7b0e=this['_renderContext'][_0x1d290f(0x479)]['getTransformerByCreate']();this[_0x1d290f(0x3ef)]((0x0,_0x16f5c0[_0x1d290f(0x3c7)])(_0x5c7b0e[_0x1d290f(0x3cc)][_0x1d290f(0x302)]((0x0,_0x21bd08[_0x1d290f(0x28a)])(this[_0x1d290f(0x3d1)]))[_0x1d290f(0x25d)](()=>this[_0x1d290f(0x45c)]()))),this['disposeWithMe']((0x0,_0x16f5c0[_0x1d290f(0x3c7)])(_0x5c7b0e[_0x1d290f(0x406)][_0x1d290f(0x302)]((0x0,_0x21bd08[_0x1d290f(0x28a)])(this['dispose$']))[_0x1d290f(0x25d)](()=>this[_0x1d290f(0x1b0)]()))),this[_0x1d290f(0x3ef)]((0x0,_0x16f5c0[_0x1d290f(0x3c7)])(_0x5c7b0e[_0x1d290f(0x11b)][_0x1d290f(0x302)]((0x0,_0x21bd08[_0x1d290f(0x28a)])(this[_0x1d290f(0x3d1)]))['subscribe'](()=>this[_0x1d290f(0x460)]()))),this[_0x1d290f(0x3ef)]((0x0,_0x16f5c0[_0x1d290f(0x3c7)])(_0x5c7b0e[_0x1d290f(0x11e)][_0x1d290f(0x302)]((0x0,_0x21bd08['takeUntil'])(this[_0x1d290f(0x3d1)]))[_0x1d290f(0x25d)](()=>setTimeout(()=>this['_showPopupForSelection'](),0x0)))),this[_0x1d290f(0x3ef)]((0x0,_0x16f5c0[_0x1d290f(0x3c7)])(this[_0x1d290f(0x425)][_0x1d290f(0x124)][_0x1d290f(0x302)]((0x0,_0x21bd08[_0x1d290f(0x28a)])(this['dispose$']))[_0x1d290f(0x25d)](()=>setTimeout(()=>this['_showPopupForSelection'](),0x0)))),this[_0x1d290f(0x3ef)]((0x0,_0x16f5c0['toDisposable'])(this[_0x1d290f(0x3e2)][_0x1d290f(0x35b)][_0x1d290f(0x302)]((0x0,_0x21bd08[_0x1d290f(0x28a)])(this['dispose$']))[_0x1d290f(0x25d)](_0x5c5ffd=>{if(_0x5c5ffd){this['_clearPopup']();return;}setTimeout(()=>this['_showPopupForSelection'](),0x0);}))),this['disposeWithMe']((0x0,_0x16f5c0[_0x1d290f(0x3c7)])(this[_0x1d290f(0x4b0)][_0x1d290f(0x2cf)][_0x1d290f(0x302)]((0x0,_0x21bd08[_0x1d290f(0x28a)])(this[_0x1d290f(0x3d1)]))['subscribe'](_0x2b7db4=>{const _0x1ebec2=_0x1d290f;if((_0x2b7db4==null?void 0x0:_0x2b7db4['unitId'])===this[_0x1ebec2(0x349)][_0x1ebec2(0x3d9)]){if(_0x2b7db4[_0x1ebec2(0x4d1)]){this[_0x1ebec2(0x460)]();return;}setTimeout(()=>this[_0x1ebec2(0x45c)](),0x0);}})));}[_0x4b6d1a(0x460)](){const _0x458b83=_0x4b6d1a;var _0x53fa08;(_0x53fa08=this[_0x458b83(0x486)])==null||_0x53fa08[_0x458b83(0x410)](),this[_0x458b83(0x486)]=null,this[_0x458b83(0x2ef)]=null;}[_0x4b6d1a(0x1b0)](){setTimeout(()=>{const _0x4fe9b5=_0x4be6;this[_0x4fe9b5(0x181)]()||this['_clearPopup']();},0x0);}[_0x4b6d1a(0x181)](){const _0x19b889=_0x4b6d1a;let _0x31b108=this[_0x19b889(0x425)]['getSnapshot']();return!!_0x31b108[_0x19b889(0x209)]&&_0x31b108[_0x19b889(0x23a)][_0x19b889(0x489)]>0x0&&this[_0x19b889(0x2ef)]===this['_buildPopupSelectionKey'](_0x31b108[_0x19b889(0x209)][_0x19b889(0x3d9)],_0x31b108[_0x19b889(0x209)][_0x19b889(0x430)],_0x31b108[_0x19b889(0x23a)]);}[_0x4b6d1a(0x31f)](_0x59fbaf,_0x4a7b2e,_0x468a71){return _0x59fbaf+':'+_0x4a7b2e+':'+_0x468a71['join'](',');}[_0x4b6d1a(0x41c)](_0x46f24f,_0x5cfc0f,_0x14cdde,_0x2a6f37){const _0x56b14b=_0x4b6d1a;let _0x35efe2=this[_0x56b14b(0x258)][_0x56b14b(0x270)](_0x46f24f,_0x5cfc0f),_0x59ede4=Object['values'](_0x35efe2)[_0x56b14b(0x265)](_0x2e95aa=>{const _0x359f81=_0x56b14b;let _0x1a6574=(0x0,_0x312ad4[_0x359f81(0x317)])(_0x2e95aa[_0x359f81(0x16a)]);return(_0x1a6574==null?void 0x0:_0x1a6574[_0x359f81(0x4b2)])===_0x14cdde&&_0x1a6574[_0x359f81(0x171)]===_0x2a6f37;});if(!(!_0x59ede4||!('connectorData'in _0x59ede4[_0x56b14b(0x16a)])))return _0x59ede4[_0x56b14b(0x16a)]['connectorData']['style'];}[_0x4b6d1a(0x45c)](){const _0x37c114=_0x4b6d1a;var _0x120d9c,_0x2d352a,_0x57a30d;if(this[_0x37c114(0x3e2)]['isInteractionSurfaceActive']){this[_0x37c114(0x460)]();return;}let _0x5dd5a2=this['_boardTextEditingService'][_0x37c114(0x329)]();if((_0x5dd5a2==null?void 0x0:_0x5dd5a2[_0x37c114(0x4d1)])===!0x0&&_0x5dd5a2['unitId']===this[_0x37c114(0x349)][_0x37c114(0x3d9)]){this[_0x37c114(0x460)]();return;}let _0x47d584=this[_0x37c114(0x425)][_0x37c114(0x1e2)]();if(_0x47d584[_0x37c114(0x2c2)]){this['_clearPopup']();return;}if((0x0,_0x3a2313[_0x37c114(0x26f)])({'context':_0x47d584[_0x37c114(0x209)],'selectedIds':_0x47d584[_0x37c114(0x23a)],'getElementById':(_0x3efd58,_0x3358ef,_0x366dda)=>this[_0x37c114(0x258)][_0x37c114(0x1d2)](_0x3efd58,_0x3358ef,_0x366dda)})['owner']!=='mind-map'){this[_0x37c114(0x460)]();return;}let _0x288b6b=this[_0x37c114(0x349)][_0x37c114(0x479)]['getTransformerByCreate']()[_0x37c114(0x4a9)](),_0x5319a3=Array[_0x37c114(0x344)](_0x288b6b['values']())[_0x37c114(0x2e5)](_0x3028bf=>this['_resolveSelectedEntry'](_0x3028bf))[_0x37c114(0x34d)](_0x5cc4f5=>!!_0x5cc4f5)['filter'](_0x2aba48=>!!(0x0,_0x312ad4[_0x37c114(0x15b)])(_0x2aba48['elementData'][_0x37c114(0x16a)])),_0x53d96f=_0x5319a3[_0x37c114(0x265)](_0x4bc7ea=>_0x4bc7ea[_0x37c114(0x254)][_0x37c114(0x47d)]===_0x47d584[_0x37c114(0x3c6)])??_0x5319a3[0x0]??this[_0x37c114(0x3aa)]();if(!_0x53d96f){this[_0x37c114(0x460)]();return;}let _0x4b6f30=(0x0,_0x312ad4['getMindMapNodeMeta'])(_0x53d96f[_0x37c114(0x254)][_0x37c114(0x16a)]);if(!_0x4b6f30){this[_0x37c114(0x460)]();return;}let _0x1c4df3=(_0x120d9c=this[_0x37c114(0x258)][_0x37c114(0x270)](_0x53d96f[_0x37c114(0x254)][_0x37c114(0x3d9)],_0x53d96f[_0x37c114(0x254)][_0x37c114(0x430)])[_0x4b6f30['structureScopeId']])==null?void 0x0:_0x120d9c[_0x37c114(0x16a)],_0x54c10e=(0x0,_0x312ad4[_0x37c114(0x1da)])(_0x1c4df3),_0x56d4bd=_0x1c4df3==null||(_0x2d352a=_0x1c4df3[_0x37c114(0x297)])==null||(_0x2d352a=_0x2d352a['mindmap'])==null||(_0x2d352a=_0x2d352a[_0x37c114(0x379)])==null?void 0x0:_0x2d352a['structureKind'],_0x32be7c=((_0x54c10e==null?void 0x0:_0x54c10e['layout'][_0x37c114(0x1b6)])??_0x56d4bd)===_0x37c114(0x135)&&(_0x4b6f30[_0x37c114(0x1dc)]===null||_0x4b6f30['side']===_0x37c114(0x2b5)),_0x315526=_0x4b6f30[_0x37c114(0x1dc)]!==null&&_0x4b6f30[_0x37c114(0x241)]!==_0x37c114(0x2b5)&&_0x4b6f30[_0x37c114(0x241)]!=='bottom',_0x4da69f=_0x32be7c||_0x315526,_0x512024=((_0x57a30d=_0x47d584[_0x37c114(0x209)])==null?void 0x0:_0x57a30d[_0x37c114(0x3d9)])===_0x53d96f[_0x37c114(0x254)]['unitId']&&_0x47d584[_0x37c114(0x209)]['subUnitId']===_0x53d96f[_0x37c114(0x254)][_0x37c114(0x430)]&&_0x47d584['selectedIds'][_0x37c114(0x489)]?_0x47d584[_0x37c114(0x23a)]:[_0x53d96f[_0x37c114(0x254)][_0x37c114(0x47d)]],_0x1e1ee5=this[_0x37c114(0x31f)](_0x53d96f[_0x37c114(0x254)][_0x37c114(0x3d9)],_0x53d96f[_0x37c114(0x254)][_0x37c114(0x430)],_0x512024);this[_0x37c114(0x486)]&&this[_0x37c114(0x2ef)]===_0x1e1ee5||(this['_clearPopup'](),this['_popupDisposable']=this[_0x37c114(0x3ef)](this['_boardCanvasPopManagerService']['attachPopupToObject'](_0x53d96f[_0x37c114(0x254)][_0x37c114(0x3d9)],_0x53d96f['elementData'][_0x37c114(0x430)],_0x53d96f['object'],{'componentKey':_0x25f15d,'direction':_0x37c114(0x2fd),'offset':[0x0,0x8],..._0x4da69f?{'anchorBoundResolver':_0x3efd98}:null,'extraProps':{'unitId':_0x53d96f['elementData']['unitId'],'subUnitId':_0x53d96f[_0x37c114(0x254)][_0x37c114(0x430)],'elementId':_0x53d96f[_0x37c114(0x254)][_0x37c114(0x47d)],'scopeId':_0x4b6f30[_0x37c114(0x4b2)],'isRootNode':_0x4b6f30[_0x37c114(0x1dc)]===null,'left':_0x53d96f[_0x37c114(0x254)][_0x37c114(0x16a)]['transform'][_0x37c114(0x15e)]??0x0,'top':_0x53d96f[_0x37c114(0x254)][_0x37c114(0x16a)][_0x37c114(0x3cb)][_0x37c114(0x2b5)]??0x0,'shapeData':_0x53d96f[_0x37c114(0x254)][_0x37c114(0x16a)][_0x37c114(0x3ba)]===_0xef9e20[_0x37c114(0x47a)][_0x37c114(0x1b3)]?_0x53d96f[_0x37c114(0x254)][_0x37c114(0x16a)][_0x37c114(0x2bb)]:void 0x0,'layout':_0x54c10e==null?void 0x0:_0x54c10e[_0x37c114(0x379)],'incomingConnectorStyle':this['_resolveIncomingConnectorStyle'](_0x53d96f[_0x37c114(0x254)][_0x37c114(0x3d9)],_0x53d96f[_0x37c114(0x254)][_0x37c114(0x430)],_0x4b6f30['structureScopeId'],_0x53d96f[_0x37c114(0x254)]['elementId'])}})),this[_0x37c114(0x2ef)]=_0x1e1ee5);}[_0x4b6d1a(0x3aa)](){const _0x2cf8ad=_0x4b6d1a;var _0x3943aa;let _0x1ee7d5=this[_0x2cf8ad(0x425)][_0x2cf8ad(0x1e2)](),_0x1ff533=_0x1ee7d5['context'],_0x1c3c86=_0x1ee7d5[_0x2cf8ad(0x3c6)]??_0x1ee7d5['selectedIds'][0x0];if(!_0x1ff533||!_0x1c3c86)return null;let _0x5a078e=this[_0x2cf8ad(0x258)][_0x2cf8ad(0x1d2)](_0x1ff533[_0x2cf8ad(0x3d9)],_0x1ff533[_0x2cf8ad(0x430)],_0x1c3c86);if(!_0x5a078e||!(0x0,_0x312ad4['getMindMapNodeMeta'])(_0x5a078e[_0x2cf8ad(0x16a)]))return null;let _0x3bf671=(0x0,_0x3a2313[_0x2cf8ad(0x192)])(_0x1ff533[_0x2cf8ad(0x3d9)],_0x1c3c86),_0x3584b7=this[_0x2cf8ad(0x349)][_0x2cf8ad(0x479)],_0x591314=((_0x3943aa=_0x3584b7[_0x2cf8ad(0x49c)])==null?void 0x0:_0x3943aa[_0x2cf8ad(0x38b)](_0x3584b7,_0x3bf671))??this[_0x2cf8ad(0x349)]['scene']['getObject'](_0x3bf671);return _0x591314?{'object':_0x591314,'elementData':_0x5a078e}:null;}[_0x4b6d1a(0x449)](_0x2cffe3){const _0x4efba=_0x4b6d1a;var _0x47660d;if(!_0x2cffe3)return null;let _0x385b7f=(0x0,_0x3a2313['parseBoardElementRenderObjectKey'])(_0x2cffe3['oKey']);if(!_0x385b7f)return null;let _0x49df30=this[_0x4efba(0x425)][_0x4efba(0x1e2)](),_0x2367d2=((_0x47660d=_0x49df30['context'])==null?void 0x0:_0x47660d[_0x4efba(0x3d9)])===_0x385b7f[_0x4efba(0x3d9)]?_0x49df30[_0x4efba(0x209)]['subUnitId']:void 0x0;if(!_0x2367d2)return null;let _0xf4b38e=this[_0x4efba(0x258)][_0x4efba(0x1d2)](_0x385b7f[_0x4efba(0x3d9)],_0x2367d2,_0x385b7f['elementId']);return _0xf4b38e?{'object':_0x2cffe3,'elementData':_0xf4b38e}:null;}};_0x276865=_0x4d6662([_0x400c84(0x1,(0x0,_0x16f5c0['Inject'])(_0x3a2313['BoardCanvasPopManagerService'])),_0x400c84(0x2,(0x0,_0x16f5c0[_0x4b6d1a(0x43e)])(_0xef9e20[_0x4b6d1a(0x40e)])),_0x400c84(0x3,(0x0,_0x16f5c0['Inject'])(_0x3a2313[_0x4b6d1a(0x2ae)])),_0x400c84(0x4,(0x0,_0x16f5c0[_0x4b6d1a(0x43e)])(_0x3a2313[_0x4b6d1a(0x120)])),_0x400c84(0x5,(0x0,_0x16f5c0[_0x4b6d1a(0x43e)])(_0x3a2313[_0x4b6d1a(0x3f9)]))],_0x276865);let _0x41d910='board-mind-map-pending-insert-object',_0x57331f=_0x3a2313[_0x4b6d1a(0x469)][_0x4b6d1a(0x14a)];function _0xa9efe0(_0x530380,_0x48ae26){const _0x1ef17c=_0x4b6d1a;return(_0x530380??[])[_0x1ef17c(0x4c4)]((_0x5657f3,_0xde176)=>(_0x5657f3[_0xde176[_0x1ef17c(0x241)]??_0x48ae26][_0x1ef17c(0x25c)](_0xde176),_0x5657f3),{'left':[],'right':[],'top':[],'bottom':[]});}function _0x6baf4d(_0x257aeb){const _0x5a5918=_0x4b6d1a;return _0x257aeb==='tree-left'||_0x257aeb==='tree-right'||_0x257aeb===_0x5a5918(0x2f3);}function _0x2f27d5(_0x3b508a){const _0x519ffa=_0x4b6d1a;return _0x3b508a===_0x519ffa(0x178)||_0x3b508a==='timeline-vertical';}function _0x130a90(_0x4e67f6,_0x4d2847,_0x5b6f22){const _0x541ea1=_0x4b6d1a;return _0x5b6f22==='tree-left'?_0x541ea1(0x15e):_0x5b6f22===_0x541ea1(0x162)?'right':_0x4e67f6[_0x541ea1(0x241)]==='left'||_0x4e67f6[_0x541ea1(0x241)]===_0x541ea1(0x252)?_0x4e67f6['side']:_0x4d2847%0x2==0x0?'left':_0x541ea1(0x252);}function _0x40953c(_0x4cf93d,_0x1b4a64){const _0x1957ff=_0x4b6d1a;return(_0x1b4a64==null?void 0x0:_0x1b4a64[_0x1957ff(0x485)][_0x1957ff(0x3b1)])??_0x4cf93d??[];}var _0x48e0e4=class extends _0x5714e6[_0x4b6d1a(0x170)]{constructor(_0x517ffc=_0x41d910,_0x20446e){const _0x3fc24b=_0x4b6d1a;super(_0x517ffc),_0x4ad85c(this,_0x3fc24b(0x167),{'point':null,'children':[]}),this[_0x3fc24b(0x48c)]=!0x1,this['zIndex']=_0x3a2313[_0x3fc24b(0x32b)][_0x3fc24b(0x2d6)],this[_0x3fc24b(0x2e7)](_0x20446e);}[_0x4b6d1a(0x2e7)](_0xd4e0df){const _0x45bc03=_0x4b6d1a;this[_0x45bc03(0x167)]={...this[_0x45bc03(0x167)],..._0xd4e0df},this[_0x45bc03(0x167)][_0x45bc03(0x3d0)]?this[_0x45bc03(0x37f)]():this[_0x45bc03(0x4cc)](),this[_0x45bc03(0x420)](!0x0);}['isHit'](_0x23211f){return!0x1;}[_0x4b6d1a(0x1f7)](_0x205d27,_0x4bf69d){const _0x31a4c1=_0x4b6d1a;let _0xa33adb=this[_0x31a4c1(0x167)]['point'];if(!_0xa33adb||!this['visible'])return this[_0x31a4c1(0x420)](!0x1),this;let _0x1cd3dc=Number[_0x31a4c1(0x48a)](this[_0x31a4c1(0x167)][_0x31a4c1(0x1e7)])&&(this['_state'][_0x31a4c1(0x1e7)]??0x0)>0x0?this[_0x31a4c1(0x167)][_0x31a4c1(0x1e7)]:0x1,_0x1786ed=_0x312ad4[_0x31a4c1(0x327)][_0x31a4c1(0x36d)],_0x473165=_0x312ad4[_0x31a4c1(0x327)][_0x31a4c1(0x4b5)],_0x351b03=_0x312ad4['MIND_MAP_DEFAULT_NODE_SIZE'][_0x31a4c1(0x20c)],_0x4bc8f0=_0x312ad4['MIND_MAP_DEFAULT_NODE_SIZE'][_0x31a4c1(0x366)],_0x27441f=_0x312ad4['MIND_MAP_DEFAULT_LAYOUT']['horizontalGap'],_0x5bb07c=_0x312ad4['MIND_MAP_DEFAULT_LAYOUT'][_0x31a4c1(0x4cb)],_0x191968=this[_0x31a4c1(0x167)][_0x31a4c1(0x1b6)]==='mindmap-vertical',_0x1f9f39=_0xa9efe0(this[_0x31a4c1(0x167)][_0x31a4c1(0x3b1)],_0x191968?_0x31a4c1(0x346):_0x31a4c1(0x252)),_0x12e9c4=_0xa33adb['x']-_0x1786ed/0x2,_0x5de287=_0xa33adb['y']-_0x473165/0x2;if(_0x205d27[_0x31a4c1(0x266)](),_0x205d27['globalAlpha']=_0x24907c[_0x31a4c1(0x40f)],_0x205d27[_0x31a4c1(0x14e)]=_0x24907c[_0x31a4c1(0x195)]/_0x1cd3dc,_0x205d27['strokeStyle']=_0x24907c[_0x31a4c1(0x40d)],_0x2f27d5(this['_state'][_0x31a4c1(0x1b6)])){let _0x2b61b6=_0x40953c(this['_state'][_0x31a4c1(0x3b1)],this[_0x31a4c1(0x167)][_0x31a4c1(0x3f4)]),_0xfe06c2=this[_0x31a4c1(0x167)][_0x31a4c1(0x1b6)]===_0x31a4c1(0x178);if(_0x2b61b6[_0x31a4c1(0x489)]>0x0){if(_0x205d27[_0x31a4c1(0x43b)](),_0xfe06c2){let _0x3efdb6=_0x351b03,_0x456bd2=_0x4bc8f0,_0x2a4ec7=_0x312ad4[_0x31a4c1(0x377)]['timelineAxisGap'],_0x5b5346=_0xa33adb['y'],_0x1f228c=_0x12e9c4+_0x1786ed,_0x641238=_0xa33adb['y']-_0x456bd2/0x2,_0x11fb8d=_0x12e9c4+_0x1786ed+_0x2a4ec7;_0x205d27[_0x31a4c1(0x4a6)](_0x1f228c,_0x5b5346),_0x205d27[_0x31a4c1(0x2ff)](_0x11fb8d,_0x5b5346),_0x2b61b6[_0x31a4c1(0x411)]((_0x2a3a90,_0x464112)=>{const _0x5091b9=_0x31a4c1;let _0x1b9ed7=_0x11fb8d+_0x464112*(_0x3efdb6+_0x2a4ec7);if(_0x464112>0x0){let _0x362245=_0x11fb8d+(_0x464112-0x1)*(_0x3efdb6+_0x2a4ec7)+_0x3efdb6;_0x205d27[_0x5091b9(0x4a6)](_0x362245,_0x5b5346),_0x205d27[_0x5091b9(0x2ff)](_0x1b9ed7,_0x5b5346);}_0x205d27[_0x5091b9(0x4a6)](_0x1b9ed7,_0x5b5346),_0x205d27['lineTo'](_0x1b9ed7+_0x3efdb6,_0x5b5346);}),_0x205d27[_0x31a4c1(0x35e)](),_0x2b61b6['forEach']((_0x40f5f5,_0x3f37ec)=>{const _0x538765=_0x31a4c1;_0x123a70(_0x205d27,_0x11fb8d+_0x3f37ec*(_0x3efdb6+_0x2a4ec7),_0x641238,_0x3efdb6,_0x456bd2,_0x24907c['ghostRadius']),_0x205d27[_0x538765(0x470)]=_0x24907c[_0x538765(0x385)],_0x205d27[_0x538765(0x431)](),_0x205d27['stroke']();}),_0x2b61b6['forEach']((_0x3b4f22,_0x280bb2)=>{const _0x13f396=_0x31a4c1;if(!('children'in _0x3b4f22)||_0x3b4f22['children'][_0x13f396(0x489)]===0x0)return;let _0x53a6dd=_0x11fb8d+_0x280bb2*(_0x3efdb6+_0x2a4ec7),_0x452af2=_0x53a6dd+_0x3efdb6/0x2,_0x15de6f=_0x3b4f22['side']===_0x13f396(0x346)?_0x13f396(0x346):_0x13f396(0x2b5),_0x385247=_0x3b4f22['children'][_0x13f396(0x3a1)](0x0,0x2),_0x200d89=_0x385247[_0x13f396(0x489)]*_0x456bd2+Math[_0x13f396(0x13c)](0x0,_0x385247['length']-0x1)*_0x5bb07c,_0x21d0a7=_0x53a6dd+_0x3efdb6+_0x312ad4[_0x13f396(0x377)][_0x13f396(0x2a8)],_0x51e722=_0x15de6f===_0x13f396(0x2b5)?_0x641238-_0x27441f-_0x200d89:_0x641238+_0x456bd2+_0x27441f,_0x6b2dcd=_0x51e722+_0x200d89/0x2;_0x205d27[_0x13f396(0x43b)](),_0x205d27['moveTo'](_0x452af2,_0x15de6f===_0x13f396(0x2b5)?_0x641238:_0x641238+_0x456bd2),_0x205d27[_0x13f396(0x2ff)](_0x452af2,_0x6b2dcd),_0x205d27[_0x13f396(0x2ff)](_0x21d0a7,_0x6b2dcd),_0x385247[_0x13f396(0x411)]((_0x320404,_0x1f3ef7)=>{const _0x3a7174=_0x13f396;let _0xee4034=_0x51e722+_0x1f3ef7*(_0x456bd2+_0x5bb07c)+_0x456bd2/0x2;_0x205d27[_0x3a7174(0x4a6)](_0x21d0a7,_0xee4034),_0x205d27[_0x3a7174(0x2ff)](_0x21d0a7+_0x3efdb6,_0xee4034);}),_0x205d27[_0x13f396(0x35e)](),_0x385247[_0x13f396(0x411)]((_0xc062ef,_0x379f32)=>{const _0x247d75=_0x13f396;let _0x5c7058=_0x51e722+_0x379f32*(_0x456bd2+_0x5bb07c);_0x123a70(_0x205d27,_0x21d0a7,_0x5c7058,_0x3efdb6,_0x456bd2,_0x24907c[_0x247d75(0x44d)]),_0x205d27[_0x247d75(0x470)]=_0x24907c['ghostFillColor'],_0x205d27[_0x247d75(0x431)](),_0x205d27['stroke']();});});}else{let _0x5cc397=_0xa33adb['x'],_0x199b01=_0x5de287+_0x473165,_0x1fbb1c=_0x312ad4['MIND_MAP_DEFAULT_LAYOUT']['timelineAxisGap'],_0x1e4ba8=_0x5de287+_0x473165+_0x1fbb1c,_0x2a9616=_0x1e4ba8+(_0x2b61b6[_0x31a4c1(0x489)]-0x1)*(_0x4bc8f0+_0x1fbb1c)+_0x4bc8f0/0x2;_0x205d27[_0x31a4c1(0x4a6)](_0x5cc397,_0x199b01),_0x205d27['lineTo'](_0x5cc397,_0x2a9616),_0x2b61b6[_0x31a4c1(0x411)]((_0x6e9be6,_0x3ce8da)=>{const _0x2636b6=_0x31a4c1;let _0x4c6b7c=_0x1e4ba8+_0x3ce8da*(_0x4bc8f0+_0x1fbb1c)+_0x4bc8f0/0x2,_0x32dde5=_0x6e9be6[_0x2636b6(0x241)]===_0x2636b6(0x252)?_0x2636b6(0x252):_0x2636b6(0x15e),_0x5f2f84=_0x32dde5===_0x2636b6(0x252)?_0x5cc397+_0x312ad4[_0x2636b6(0x377)][_0x2636b6(0x2a8)]:_0x5cc397-_0x312ad4[_0x2636b6(0x377)]['branchGap']-_0x351b03,_0x3f2c9b=_0x32dde5==='right'?_0x5f2f84:_0x5f2f84+_0x351b03;_0x205d27[_0x2636b6(0x4a6)](_0x5cc397,_0x4c6b7c),_0x205d27[_0x2636b6(0x2ff)](_0x3f2c9b,_0x4c6b7c);}),_0x205d27['stroke'](),_0x2b61b6[_0x31a4c1(0x411)]((_0x251856,_0x3835a)=>{const _0x6eefee=_0x31a4c1;let _0x6284c0=_0x1e4ba8+_0x3835a*(_0x4bc8f0+_0x1fbb1c);_0x123a70(_0x205d27,(_0x251856[_0x6eefee(0x241)]===_0x6eefee(0x252)?'right':_0x6eefee(0x15e))==_0x6eefee(0x252)?_0x5cc397+_0x312ad4[_0x6eefee(0x377)][_0x6eefee(0x2a8)]:_0x5cc397-_0x312ad4[_0x6eefee(0x377)]['branchGap']-_0x351b03,_0x6284c0,_0x351b03,_0x4bc8f0,_0x24907c[_0x6eefee(0x44d)]),_0x205d27['fillStyle']=_0x24907c[_0x6eefee(0x385)],_0x205d27['fill'](),_0x205d27['stroke']();}),_0x2b61b6[_0x31a4c1(0x411)]((_0x33466b,_0x186351)=>{const _0x538aab=_0x31a4c1;if(!(_0x538aab(0x3b1)in _0x33466b)||_0x33466b[_0x538aab(0x3b1)]['length']===0x0)return;let _0x1ad09e=_0x1e4ba8+_0x186351*(_0x4bc8f0+_0x1fbb1c)+_0x4bc8f0/0x2,_0x467219=_0x33466b[_0x538aab(0x241)]===_0x538aab(0x252)?_0x538aab(0x252):_0x538aab(0x15e),_0x1cb75b=_0x33466b[_0x538aab(0x3b1)][_0x538aab(0x3a1)](0x0,0x2),_0x567b67=_0x1cb75b[_0x538aab(0x489)]*_0x4bc8f0+Math['max'](0x0,_0x1cb75b[_0x538aab(0x489)]-0x1)*_0x5bb07c,_0x2c4b6b=_0x467219==='right'?_0x5cc397+_0x312ad4[_0x538aab(0x377)]['branchGap']:_0x5cc397-_0x312ad4[_0x538aab(0x377)][_0x538aab(0x2a8)]-_0x351b03,_0x47b3c4=_0x467219===_0x538aab(0x252)?_0x2c4b6b+_0x351b03+_0x27441f:_0x2c4b6b-_0x27441f-_0x351b03,_0x475fab=_0x1ad09e-_0x567b67/0x2,_0x5759f5=_0x467219===_0x538aab(0x252)?_0x2c4b6b+_0x351b03:_0x2c4b6b,_0xde707b=_0x467219===_0x538aab(0x252)?_0x47b3c4:_0x47b3c4+_0x351b03;_0x205d27[_0x538aab(0x43b)](),_0x205d27[_0x538aab(0x4a6)](_0x5759f5,_0x1ad09e),_0x205d27[_0x538aab(0x2ff)](_0xde707b,_0x1ad09e),_0x1cb75b['forEach']((_0x32fe47,_0x42682f)=>{const _0xe2ea91=_0x538aab;let _0xd103fc=_0x475fab+_0x42682f*(_0x4bc8f0+_0x5bb07c)+_0x4bc8f0/0x2;_0x205d27[_0xe2ea91(0x4a6)](_0xde707b,_0xd103fc),_0x205d27[_0xe2ea91(0x2ff)](_0x467219===_0xe2ea91(0x252)?_0x47b3c4+_0x351b03:_0x47b3c4,_0xd103fc);}),_0x205d27[_0x538aab(0x35e)](),_0x1cb75b[_0x538aab(0x411)]((_0x57aefd,_0x2894ee)=>{const _0x51f7bd=_0x538aab;let _0x9bf854=_0x475fab+_0x2894ee*(_0x4bc8f0+_0x5bb07c);_0x123a70(_0x205d27,_0x47b3c4,_0x9bf854,_0x351b03,_0x4bc8f0,_0x24907c[_0x51f7bd(0x44d)]),_0x205d27[_0x51f7bd(0x470)]=_0x24907c[_0x51f7bd(0x385)],_0x205d27[_0x51f7bd(0x431)](),_0x205d27[_0x51f7bd(0x35e)]();});});}}}else{if(_0x6baf4d(this[_0x31a4c1(0x167)][_0x31a4c1(0x1b6)])){let _0xc3b563=this[_0x31a4c1(0x167)][_0x31a4c1(0x3b1)]??[],_0x222ec5=_0x5de287+_0x473165,_0x3bd667=_0x222ec5+_0x27441f,_0xbc3af8=_0xa33adb['x'];if(_0xc3b563[_0x31a4c1(0x489)]>0x0){let _0x59249f=_0x3bd667+(_0xc3b563[_0x31a4c1(0x489)]-0x1)*(_0x4bc8f0+_0x5bb07c)+_0x4bc8f0/0x2;_0x205d27['beginPath'](),_0x205d27[_0x31a4c1(0x4a6)](_0xbc3af8,_0x222ec5),_0x205d27[_0x31a4c1(0x2ff)](_0xbc3af8,_0x59249f),_0xc3b563['forEach']((_0x1795c3,_0x21db11)=>{const _0x3c11bd=_0x31a4c1;let _0x588229=_0x130a90(_0x1795c3,_0x21db11,this['_state'][_0x3c11bd(0x1b6)]),_0x2e0e0a=_0x3bd667+_0x21db11*(_0x4bc8f0+_0x5bb07c),_0x475137=_0x588229===_0x3c11bd(0x252)?_0xbc3af8+_0x27441f:_0xbc3af8-_0x27441f-_0x351b03,_0x4181b8=_0x2e0e0a+_0x4bc8f0/0x2;_0x205d27[_0x3c11bd(0x4a6)](_0xbc3af8,_0x4181b8),_0x205d27[_0x3c11bd(0x2ff)](_0x588229===_0x3c11bd(0x252)?_0x475137:_0x475137+_0x351b03,_0x4181b8);}),_0x205d27['stroke'](),_0xc3b563['forEach']((_0x244373,_0xd734f)=>{const _0x4d7c4b=_0x31a4c1;let _0x473aee=_0x130a90(_0x244373,_0xd734f,this['_state'][_0x4d7c4b(0x1b6)]),_0x26d055=_0x3bd667+_0xd734f*(_0x4bc8f0+_0x5bb07c);_0x123a70(_0x205d27,_0x473aee===_0x4d7c4b(0x252)?_0xbc3af8+_0x27441f:_0xbc3af8-_0x27441f-_0x351b03,_0x26d055,_0x351b03,_0x4bc8f0,_0x24907c[_0x4d7c4b(0x44d)]),_0x205d27[_0x4d7c4b(0x470)]=_0x24907c[_0x4d7c4b(0x385)],_0x205d27[_0x4d7c4b(0x431)](),_0x205d27[_0x4d7c4b(0x35e)]();});}}else _0x191968&&[_0x31a4c1(0x2b5),_0x31a4c1(0x346)][_0x31a4c1(0x411)](_0x339cbf=>{const _0x57a667=_0x31a4c1;let _0x3dcf24=_0x1f9f39[_0x339cbf];if(_0x3dcf24[_0x57a667(0x489)]===0x0)return;let _0xc3ed09=_0x3dcf24[_0x57a667(0x489)]*_0x351b03+Math['max'](0x0,_0x3dcf24['length']-0x1)*_0x5bb07c,_0x3668cb=_0xa33adb['x']-_0xc3ed09/0x2,_0x61235d=_0x339cbf===_0x57a667(0x346)?_0x5de287+_0x473165:_0x5de287,_0x203648=_0x339cbf===_0x57a667(0x346)?_0x61235d+_0x312ad4[_0x57a667(0x377)][_0x57a667(0x2a8)]:_0x61235d-_0x312ad4['MIND_MAP_DEFAULT_LAYOUT'][_0x57a667(0x2a8)],_0x1268d0=_0x339cbf===_0x57a667(0x346)?_0x5de287+_0x473165+_0x27441f:_0x5de287-_0x27441f-_0x4bc8f0;_0x205d27['beginPath'](),_0x205d27[_0x57a667(0x4a6)](_0xa33adb['x'],_0x61235d),_0x205d27[_0x57a667(0x2ff)](_0xa33adb['x'],_0x203648),_0x3dcf24[_0x57a667(0x489)]>0x1&&(_0x205d27[_0x57a667(0x4a6)](_0x3668cb+_0x351b03/0x2,_0x203648),_0x205d27[_0x57a667(0x2ff)](_0x3668cb+_0xc3ed09-_0x351b03/0x2,_0x203648)),_0x3dcf24[_0x57a667(0x411)]((_0x2706d4,_0x3bd808)=>{const _0x66147a=_0x57a667;let _0x503b0d=_0x3668cb+_0x3bd808*(_0x351b03+_0x5bb07c)+_0x351b03/0x2;_0x205d27[_0x66147a(0x4a6)](_0x503b0d,_0x203648),_0x205d27['lineTo'](_0x503b0d,_0x339cbf===_0x66147a(0x346)?_0x1268d0:_0x1268d0+_0x4bc8f0);}),_0x205d27['stroke'](),_0x3dcf24[_0x57a667(0x411)]((_0x23ad85,_0xcc6463)=>{const _0x2c58cc=_0x57a667;_0x123a70(_0x205d27,_0x3668cb+_0xcc6463*(_0x351b03+_0x5bb07c),_0x1268d0,_0x351b03,_0x4bc8f0,_0x24907c[_0x2c58cc(0x44d)]),_0x205d27['fillStyle']=_0x24907c[_0x2c58cc(0x385)],_0x205d27[_0x2c58cc(0x431)](),_0x205d27['stroke']();});});}(_0x191968||_0x6baf4d(this[_0x31a4c1(0x167)][_0x31a4c1(0x1b6)])||_0x2f27d5(this[_0x31a4c1(0x167)][_0x31a4c1(0x1b6)])?[]:['left',_0x31a4c1(0x252)])['forEach'](_0x174597=>{const _0x42c896=_0x31a4c1;let _0x4c0ee0=_0x1f9f39[_0x174597];if(_0x4c0ee0[_0x42c896(0x489)]===0x0)return;let _0x594d21=_0x4c0ee0['length']*_0x4bc8f0+Math['max'](0x0,_0x4c0ee0[_0x42c896(0x489)]-0x1)*_0x5bb07c,_0x1aa9d8=_0xa33adb['y']-_0x594d21/0x2,_0x31d77b=_0x174597==='right'?_0x12e9c4+_0x1786ed:_0x12e9c4,_0x37fff6=_0x174597===_0x42c896(0x252)?_0x31d77b+_0x312ad4[_0x42c896(0x377)][_0x42c896(0x2a8)]:_0x31d77b-_0x312ad4[_0x42c896(0x377)][_0x42c896(0x2a8)],_0x1cec76=_0x174597===_0x42c896(0x252)?_0x12e9c4+_0x1786ed+_0x27441f:_0x12e9c4-_0x27441f-_0x351b03;_0x205d27[_0x42c896(0x43b)](),_0x205d27['moveTo'](_0x31d77b,_0xa33adb['y']),_0x205d27['lineTo'](_0x37fff6,_0xa33adb['y']),_0x4c0ee0[_0x42c896(0x489)]>0x1&&(_0x205d27['moveTo'](_0x37fff6,_0x1aa9d8+_0x4bc8f0/0x2),_0x205d27['lineTo'](_0x37fff6,_0x1aa9d8+_0x594d21-_0x4bc8f0/0x2)),_0x4c0ee0[_0x42c896(0x411)]((_0x14a202,_0x4e5678)=>{const _0x4dd13f=_0x42c896;let _0x3438a5=_0x1aa9d8+_0x4e5678*(_0x4bc8f0+_0x5bb07c)+_0x4bc8f0/0x2;_0x205d27[_0x4dd13f(0x4a6)](_0x37fff6,_0x3438a5),_0x205d27[_0x4dd13f(0x2ff)](_0x174597===_0x4dd13f(0x252)?_0x1cec76:_0x1cec76+_0x351b03,_0x3438a5);}),_0x205d27[_0x42c896(0x35e)](),_0x4c0ee0[_0x42c896(0x411)]((_0x2a75ac,_0x1023cf)=>{const _0xfd20c7=_0x42c896;let _0x29f167=_0x1aa9d8+_0x1023cf*(_0x4bc8f0+_0x5bb07c);_0x123a70(_0x205d27,_0x1cec76,_0x29f167,_0x351b03,_0x4bc8f0,_0x24907c[_0xfd20c7(0x44d)]),_0x205d27[_0xfd20c7(0x470)]=_0x24907c[_0xfd20c7(0x385)],_0x205d27[_0xfd20c7(0x431)](),_0x205d27[_0xfd20c7(0x35e)]();});}),_0x123a70(_0x205d27,_0x12e9c4,_0x5de287,_0x1786ed,_0x473165,_0x24907c['rootRadius']),_0x205d27[_0x31a4c1(0x470)]=_0x24907c[_0x31a4c1(0x40d)],_0x205d27[_0x31a4c1(0x431)](),_0x205d27[_0x31a4c1(0x35e)](),_0x205d27[_0x31a4c1(0x470)]=_0x24907c[_0x31a4c1(0x273)],_0x205d27['font']=_0x4d2348(_0x24907c['rootFontWeight'],_0x24907c[_0x31a4c1(0x314)],_0x1cd3dc),_0x205d27[_0x31a4c1(0x477)]=_0x31a4c1(0x47f),_0x205d27[_0x31a4c1(0x130)]=_0x31a4c1(0x173);let _0x31d2a1=_0x24907c['textPaddingScreen']/_0x1cd3dc;return _0x205d27[_0x31a4c1(0x36e)](_0x312ad4['MIND_MAP_DEFAULT_NODE_TEXT'],_0xa33adb['x'],_0xa33adb['y'],Math[_0x31a4c1(0x13c)](0x1,_0x1786ed-_0x31d2a1*0x2)),_0x205d27[_0x31a4c1(0x331)](),this[_0x31a4c1(0x420)](!0x1),this;}};let _0x38ccef={'children':[{'text':_0x312ad4[_0x4b6d1a(0x42e)],'orderKey':(0x0,_0x312ad4[_0x4b6d1a(0x168)])(0x0),'side':_0x4b6d1a(0x252)},{'text':_0x312ad4['MIND_MAP_DEFAULT_NODE_TEXT'],'orderKey':(0x0,_0x312ad4[_0x4b6d1a(0x168)])(0x1),'side':'right'},{'text':_0x312ad4[_0x4b6d1a(0x42e)],'orderKey':(0x0,_0x312ad4[_0x4b6d1a(0x168)])(0x2),'side':_0x4b6d1a(0x252)}]};var _0x3e1f19=class extends _0x16f5c0['Disposable']{constructor(..._0x2a24dc){const _0x1451cc=_0x4b6d1a;super(..._0x2a24dc),_0x4ad85c(this,_0x1451cc(0x345),_0x38ccef);}['setTemplate'](_0x486d30){const _0xfb12f0=_0x4b6d1a;var _0x524a6a;let _0x4b3c79=(_0x486d30==null?void 0x0:_0x486d30[_0xfb12f0(0x3b1)])??(_0x486d30==null||(_0x524a6a=_0x486d30[_0xfb12f0(0x3f4)])==null?void 0x0:_0x524a6a[_0xfb12f0(0x485)][_0xfb12f0(0x3b1)]);this[_0xfb12f0(0x345)]={'rootText':_0x486d30==null?void 0x0:_0x486d30['rootText'],'structureKind':_0x486d30==null?void 0x0:_0x486d30[_0xfb12f0(0x1b6)],'branchLineType':_0x486d30==null?void 0x0:_0x486d30['branchLineType'],'children':this[_0xfb12f0(0x19f)](_0x4b3c79,_0x486d30==null?void 0x0:_0x486d30[_0xfb12f0(0x1b6)]),'blueprint':_0x486d30!=null&&_0x486d30[_0xfb12f0(0x3f4)]?this[_0xfb12f0(0x43c)](_0x486d30[_0xfb12f0(0x3f4)]):void 0x0};}[_0x4b6d1a(0x44f)](){const _0x388a1f=_0x4b6d1a;var _0x595097;return{'rootText':this['_template']['rootText'],'structureKind':this['_template']['structureKind'],'branchLineType':this[_0x388a1f(0x345)][_0x388a1f(0x33f)],'children':(_0x595097=this[_0x388a1f(0x345)][_0x388a1f(0x3b1)])==null?void 0x0:_0x595097[_0x388a1f(0x2e5)](_0x5a3264=>({..._0x5a3264})),'blueprint':this[_0x388a1f(0x345)][_0x388a1f(0x3f4)]?this[_0x388a1f(0x43c)](this[_0x388a1f(0x345)]['blueprint']):void 0x0};}[_0x4b6d1a(0x43c)](_0x1cbd41){const _0x2d84e5=_0x4b6d1a;return{'title':_0x1cbd41[_0x2d84e5(0x3f3)],'root':this['_cloneBlueprintNode'](_0x1cbd41[_0x2d84e5(0x485)])};}[_0x4b6d1a(0x191)](_0x549df0){const _0x41bf16=_0x4b6d1a;return{..._0x549df0,'foreignAttributes':_0x549df0[_0x41bf16(0x43a)]?{..._0x549df0[_0x41bf16(0x43a)]}:void 0x0,'children':_0x549df0['children'][_0x41bf16(0x2e5)](_0xa4c54b=>this['_cloneBlueprintNode'](_0xa4c54b))};}[_0x4b6d1a(0x19f)](_0x5d875e,_0x141d0e){const _0x5c40ed=_0x4b6d1a;let _0x337da1=!_0x5d875e,_0x4724d6=_0x5d875e??_0x38ccef[_0x5c40ed(0x3b1)];return _0x4724d6==null?void 0x0:_0x4724d6[_0x5c40ed(0x2e5)]((_0x352555,_0x2462a8)=>({..._0x352555,'text':_0x352555[_0x5c40ed(0x13f)]??_0x312ad4['MIND_MAP_DEFAULT_NODE_TEXT'],'side':this['_resolveChildSide'](_0x352555[_0x5c40ed(0x241)],_0x2462a8,_0x141d0e,_0x337da1)}));}['_resolveChildSide'](_0x3c8146,_0x721189,_0x21d32a,_0x9c78e4){const _0x4964f6=_0x4b6d1a;return _0x21d32a===_0x4964f6(0x135)?_0x9c78e4?_0x4964f6(0x346):_0x3c8146??_0x4964f6(0x346):_0x21d32a===_0x4964f6(0x29d)?_0x9c78e4?_0x4964f6(0x15e):_0x3c8146??_0x4964f6(0x15e):_0x21d32a===_0x4964f6(0x162)?_0x9c78e4?_0x4964f6(0x252):_0x3c8146??_0x4964f6(0x252):_0x21d32a==='tree-alternate'?_0x9c78e4?_0x721189%0x2==0x0?'left':_0x4964f6(0x252):_0x3c8146??(_0x721189%0x2==0x0?'left':_0x4964f6(0x252)):_0x21d32a===_0x4964f6(0x178)?_0x9c78e4?_0x721189%0x2==0x0?'top':_0x4964f6(0x346):_0x3c8146??(_0x721189%0x2==0x0?_0x4964f6(0x2b5):_0x4964f6(0x346)):_0x21d32a===_0x4964f6(0x476)?_0x9c78e4?_0x721189%0x2==0x0?'left':_0x4964f6(0x252):_0x3c8146??(_0x721189%0x2==0x0?_0x4964f6(0x15e):'right'):_0x3c8146;}};function _0xb695bb(_0x259c96,_0x2cd1e1){const _0x23d73b=_0x4b6d1a;let _0x313b98=Number[_0x23d73b(0x48a)](_0x2cd1e1[_0x23d73b(0x1e7)])&&_0x2cd1e1[_0x23d73b(0x1e7)]>0x0?_0x2cd1e1[_0x23d73b(0x1e7)]:0x1;return{'x':Math[_0x23d73b(0x204)]((_0x259c96['offsetX']-_0x2cd1e1[_0x23d73b(0x2e8)]['x'])/_0x313b98),'y':Math[_0x23d73b(0x204)]((_0x259c96[_0x23d73b(0x357)]-_0x2cd1e1[_0x23d73b(0x2e8)]['y'])/_0x313b98)};}function _0x5ebacc(_0x5d1a5f){const _0x3dfd05=_0x4b6d1a;var _0x314dcf;if(_0x5d1a5f!=null&&_0x5d1a5f[_0x3dfd05(0x410)]){_0x5d1a5f[_0x3dfd05(0x410)]();return;}_0x5d1a5f==null||(_0x314dcf=_0x5d1a5f[_0x3dfd05(0x1af)])==null||_0x314dcf[_0x3dfd05(0x38b)](_0x5d1a5f);}function _0x15f91c(_0x2bd720){const _0x453684=_0x4b6d1a;var _0x497271;return _0x2bd720[_0x453684(0x123)]===_0xef9e20['BoardToolType'][_0x453684(0x372)]&&((_0x497271=_0x2bd720[_0x453684(0x1c6)])==null?void 0x0:_0x497271[_0x453684(0x3ba)])===_0xef9e20[_0x453684(0x131)][_0x453684(0x372)];}let _0x2b5d18=class extends _0x16f5c0[_0x4b6d1a(0x1e1)]{constructor(_0x51fd02,_0x4f64a6,_0x85db30,_0xe633ef,_0x50ee5d,_0x16299c,_0x218203){const _0x39c3a3=_0x4b6d1a;super(),this[_0x39c3a3(0x349)]=_0x51fd02,this['_instanceSrv']=_0x4f64a6,this[_0x39c3a3(0x45f)]=_0x85db30,this[_0x39c3a3(0x1fa)]=_0xe633ef,this['_insertStateService']=_0x50ee5d,this[_0x39c3a3(0x425)]=_0x16299c,this[_0x39c3a3(0x4b0)]=_0x218203,_0x4ad85c(this,_0x39c3a3(0x45d),null),_0x4ad85c(this,_0x39c3a3(0x3d7),null),this[_0x39c3a3(0x32c)]();}[_0x4b6d1a(0x32c)](){const _0x25d4cd=_0x4b6d1a;var _0x26f6af;let {scene:_0xfb8564,unitId:_0x4443cc}=this[_0x25d4cd(0x349)],_0x2261cc=this[_0x25d4cd(0x2d0)][_0x25d4cd(0x3c8)](_0x4443cc,_0x16f5c0['UniverInstanceType'][_0x25d4cd(0x2e6)]);if(!_0x2261cc)return;let _0x4c9d3d=(_0x26f6af=_0xfb8564[_0x25d4cd(0x44e)])==null?void 0x0:_0x26f6af[_0x25d4cd(0x141)]({'priority':0x4,'next':([_0x587f14,_0x42c0cd])=>this[_0x25d4cd(0x4b6)](_0x587f14,_0x42c0cd)}),_0x116759=_0xfb8564[_0x25d4cd(0x309)]['subscribeEvent']({'priority':0x4,'next':([_0x495faf,_0x592b97])=>this[_0x25d4cd(0x217)](_0x2261cc,_0x495faf,_0x592b97)});this[_0x25d4cd(0x3ef)]((0x0,_0x16f5c0[_0x25d4cd(0x3c7)])(()=>_0x5ebacc(_0x4c9d3d))),this[_0x25d4cd(0x3ef)]((0x0,_0x16f5c0[_0x25d4cd(0x3c7)])(()=>_0x5ebacc(_0x116759)));let _0x9193b0=this['_stateService']['state$'][_0x25d4cd(0x25d)](()=>this['_syncPreviewObject']());this['disposeWithMe']((0x0,_0x16f5c0[_0x25d4cd(0x3c7)])(()=>_0x5ebacc(_0x9193b0))),this['disposeWithMe']((0x0,_0x16f5c0[_0x25d4cd(0x3c7)])(()=>{this['_removePreviewObject']();})),this[_0x25d4cd(0x306)]();}[_0x4b6d1a(0x306)](){const _0x425550=_0x4b6d1a;var _0x19e468,_0x55253f;let _0x5b434d=this[_0x425550(0x45f)][_0x425550(0x22a)]();if(!_0x15f91c(_0x5b434d)){this[_0x425550(0x19e)]();return;}let _0x370674=this['_ensurePreviewObject'](),_0x57124a=this['_insertStateService'][_0x425550(0x44f)]();_0x370674[_0x425550(0x2e7)]({'point':this[_0x425550(0x3d7)],'structureKind':_0x57124a[_0x425550(0x1b6)],'children':_0x57124a[_0x425550(0x3b1)],'blueprint':_0x57124a[_0x425550(0x3f4)],'zoomRatio':_0x5b434d[_0x425550(0x1e7)]}),(_0x19e468=(_0x55253f=this[_0x425550(0x349)]['scene'])['makeDirty'])==null||_0x19e468[_0x425550(0x38b)](_0x55253f,!0x0);}[_0x4b6d1a(0x2db)](){const _0x10cbca=_0x4b6d1a;var _0x50142b,_0x510374;if(this[_0x10cbca(0x45d)])return this[_0x10cbca(0x45d)];let _0x40beb0=this['_insertStateService']['getTemplate'](),_0x40f59c=new _0x48e0e4(_0x41d910,{'point':this[_0x10cbca(0x3d7)],'structureKind':_0x40beb0['structureKind'],'children':_0x40beb0['children'],'blueprint':_0x40beb0[_0x10cbca(0x3f4)],'zoomRatio':this[_0x10cbca(0x45f)][_0x10cbca(0x22a)]()[_0x10cbca(0x1e7)]});return this['_previewObject']=_0x40f59c,(_0x50142b=(_0x510374=this[_0x10cbca(0x349)][_0x10cbca(0x479)])[_0x10cbca(0x38e)])==null||_0x50142b[_0x10cbca(0x38b)](_0x510374,_0x40f59c,_0x57331f),_0x40f59c;}[_0x4b6d1a(0x19e)](){const _0x23bb35=_0x4b6d1a;var _0x51544c,_0x301920,_0x4f77ed,_0x5a4ac7;if(!this[_0x23bb35(0x45d)]){this['_lastPoint']=null;return;}(_0x51544c=(_0x301920=this[_0x23bb35(0x349)][_0x23bb35(0x479)])['removeObjects'])==null||_0x51544c['call'](_0x301920,[this[_0x23bb35(0x45d)]]),this[_0x23bb35(0x45d)]=null,this[_0x23bb35(0x3d7)]=null,(_0x4f77ed=(_0x5a4ac7=this[_0x23bb35(0x349)][_0x23bb35(0x479)])[_0x23bb35(0x420)])==null||_0x4f77ed['call'](_0x5a4ac7,!0x0);}['_getPointFromEvent'](_0x2868cb){const _0x35b57b=_0x4b6d1a;let _0x5f46ef=this['_stateService'][_0x35b57b(0x22a)]();return _0xb695bb(_0x2868cb,{'panOffset':_0x5f46ef[_0x35b57b(0x364)],'zoomRatio':_0x5f46ef['zoomRatio']});}[_0x4b6d1a(0x2ca)](_0x1da88a){const _0x51b4f9=_0x4b6d1a;return{'left':Math['round'](_0x1da88a['x']-_0x312ad4[_0x51b4f9(0x327)][_0x51b4f9(0x36d)]/0x2),'top':Math[_0x51b4f9(0x204)](_0x1da88a['y']-_0x312ad4[_0x51b4f9(0x327)][_0x51b4f9(0x4b5)]/0x2)};}[_0x4b6d1a(0x4b6)](_0x1a3c89,_0x53ee94){const _0x23615d=_0x4b6d1a;_0x15f91c(this[_0x23615d(0x45f)][_0x23615d(0x22a)]())&&(this['_lastPoint']=this[_0x23615d(0x3ec)](_0x1a3c89),this[_0x23615d(0x306)](),_0x53ee94[_0x23615d(0x437)]());}['_handlePointerDown'](_0x4dee53,_0x398ab9,_0x4f25ae){const _0x5ace36=_0x4b6d1a;var _0x3d3fac;let _0x3b1c8c=this[_0x5ace36(0x45f)][_0x5ace36(0x22a)](),_0x132197=_0x398ab9[_0x5ace36(0x189)]??0x0;if(!_0x15f91c(_0x3b1c8c)||_0x132197!==0x0)return;let _0x2638ef=this[_0x5ace36(0x3ec)](_0x398ab9),_0x3b2b75=this[_0x5ace36(0x2ca)](_0x2638ef),_0x257d6c=this['_insertStateService']['getTemplate'](),_0x48b2ab=(0x0,_0x16f5c0['generateRandomId'])(0x6),_0x4af7e8=_0x4dee53['getActivePageId'](),_0x1f14f9=this[_0x5ace36(0x1fa)]['executeCommand'](_0x312ad4[_0x5ace36(0x301)]['id'],{'unitId':this[_0x5ace36(0x349)][_0x5ace36(0x3d9)],'subUnitId':_0x4af7e8,'left':_0x3b2b75['left'],'top':_0x3b2b75['top'],'rootNodeId':_0x48b2ab,'rootText':_0x257d6c['rootText'],'structureKind':_0x257d6c['structureKind'],'branchLineType':_0x257d6c[_0x5ace36(0x33f)],'children':_0x257d6c[_0x5ace36(0x3b1)],'blueprint':_0x257d6c[_0x5ace36(0x3f4)]});Promise['resolve'](_0x1f14f9)['then'](_0x928fb9=>{const _0x4aa43d=_0x5ace36;if(!_0x928fb9)return;let _0x220208={'unitId':this[_0x4aa43d(0x349)]['unitId'],'subUnitId':_0x4af7e8};this[_0x4aa43d(0x425)][_0x4aa43d(0x1b7)](_0x220208,[_0x48b2ab],_0x48b2ab),this[_0x4aa43d(0x4b0)]['ignoreExternalFocusChanges'](),this[_0x4aa43d(0x4b0)][_0x4aa43d(0x219)]({..._0x220208,'shapeId':_0x48b2ab,'shapeKey':(0x0,_0x3a2313[_0x4aa43d(0x192)])(_0x220208['unitId'],_0x48b2ab),'visible':!0x0});}),this['_stateService']['setActiveTool'](_0xef9e20[_0x5ace36(0x131)]['Select']),_0x4f25ae[_0x5ace36(0x437)](),(_0x3d3fac=_0x398ab9[_0x5ace36(0x3e6)])==null||_0x3d3fac[_0x5ace36(0x38b)](_0x398ab9);}};_0x2b5d18=_0x4d6662([_0x400c84(0x1,_0x16f5c0[_0x4b6d1a(0x363)]),_0x400c84(0x2,_0x3a2313[_0x4b6d1a(0x392)]),_0x400c84(0x3,_0x16f5c0[_0x4b6d1a(0x422)]),_0x400c84(0x4,(0x0,_0x16f5c0[_0x4b6d1a(0x43e)])(_0x3e1f19)),_0x400c84(0x5,_0x3a2313['IBoardElementStateService']),_0x400c84(0x6,(0x0,_0x16f5c0[_0x4b6d1a(0x43e)])(_0x3a2313[_0x4b6d1a(0x120)]))],_0x2b5d18);var _0xe10e21=class extends _0x16f5c0[_0x4b6d1a(0x2ee)]{constructor(..._0x2ec335){const _0x1a4d27=_0x4b6d1a;super(..._0x2ec335),_0x4ad85c(this,'_refresh$',new _0x21bd08['Subject']()),_0x4ad85c(this,_0x1a4d27(0x350),this[_0x1a4d27(0x2ed)][_0x1a4d27(0x226)]());}[_0x4b6d1a(0x453)](_0x39c227){const _0xa5cd0f=_0x4b6d1a;this[_0xa5cd0f(0x2ed)]['next'](_0x39c227);}[_0x4b6d1a(0x410)](){const _0x5600e4=_0x4b6d1a;this[_0x5600e4(0x2ed)][_0x5600e4(0x248)](),super['dispose']();}};function _0x5f0f14(_0x1db10c){const _0x580c0e=_0x4b6d1a;return typeof _0x1db10c==_0x580c0e(0x136)&&Number[_0x580c0e(0x48a)](_0x1db10c)&&_0x1db10c>0x0;}function _0x4965cc(_0x1f048b,_0x2fe210,_0x578f1e){const _0x5bc9aa=_0x4b6d1a;let _0x2da13b=_0x1f048b[_0x2fe210],_0x5d6842=(0x0,_0x312ad4[_0x5bc9aa(0x15b)])(_0x2da13b==null?void 0x0:_0x2da13b[_0x5bc9aa(0x16a)]);if(!_0x2da13b||!_0x5d6842)return null;let _0xdd7e8c=(0x0,_0x312ad4[_0x5bc9aa(0x290)])(_0x2da13b,_0x578f1e);if(!_0xdd7e8c)return null;let _0x332428=_0x2da13b[_0x5bc9aa(0x3cb)]??_0x2da13b[_0x5bc9aa(0x16a)][_0x5bc9aa(0x3cb)];return(0x0,_0x312ad4[_0x5bc9aa(0x3c2)])({..._0x1f048b,[_0x2fe210]:{..._0x2da13b,'transform':{..._0x332428,'width':_0xdd7e8c[_0x5bc9aa(0x155)],'height':_0xdd7e8c[_0x5bc9aa(0x398)]},'element':{..._0x2da13b[_0x5bc9aa(0x16a)],'transform':{..._0x2da13b[_0x5bc9aa(0x16a)][_0x5bc9aa(0x3cb)],'width':_0xdd7e8c['width'],'height':_0xdd7e8c[_0x5bc9aa(0x398)]}}}},_0x5d6842['structureScopeId']);}let _0x3f1fb5=class extends _0x16f5c0[_0x4b6d1a(0x1e1)]{constructor(_0x4e6855,_0x4c3b70,_0x1a048c,_0x3d88a2,_0x4ab561,_0x1345cb){const _0x44da5d=_0x4b6d1a;super(),this[_0x44da5d(0x349)]=_0x4e6855,this['_intrinsicSizeService']=_0x4c3b70,this[_0x44da5d(0x258)]=_0x1a048c,this[_0x44da5d(0x33e)]=_0x3d88a2,this[_0x44da5d(0x2f1)]=_0x4ab561,this[_0x44da5d(0x1fa)]=_0x1345cb,_0x4ad85c(this,_0x44da5d(0x4a1),null),_0x4ad85c(this,'_provider',{'match':_0x48ca8e=>_0x48ca8e[_0x44da5d(0x3d9)]===this[_0x44da5d(0x349)][_0x44da5d(0x3d9)]&&!!(0x0,_0x312ad4[_0x44da5d(0x15b)])(_0x48ca8e[_0x44da5d(0x16a)]),'resolveHostSize':_0x344dbd=>this[_0x44da5d(0x2a2)](_0x344dbd),'previewHostSize':_0x5ec8d4=>this[_0x44da5d(0x1ca)](_0x5ec8d4),'updateHostSize':_0x2e0bfc=>this[_0x44da5d(0x2bd)](_0x2e0bfc),'updateShapeText':_0xc8214d=>this[_0x44da5d(0x27e)](_0xc8214d)}),this[_0x44da5d(0x3ef)](this[_0x44da5d(0x25a)][_0x44da5d(0x3c4)](this[_0x44da5d(0x47e)])),this['_initEditingRestore'](),this[_0x44da5d(0x3ef)]((0x0,_0x16f5c0['toDisposable'])(()=>this[_0x44da5d(0x441)]()));}[_0x4b6d1a(0x2bd)](_0x31e004){const _0x1a336b=_0x4b6d1a;return this[_0x1a336b(0x1ca)](_0x31e004);}['_updateShapeText'](_0x54c9ee){const _0x4e0988=_0x4b6d1a;let _0x1cca06=_0x54c9ee[_0x4e0988(0x362)][_0x4e0988(0x380)]?this[_0x4e0988(0x2a2)]({'elementData':_0x54c9ee[_0x4e0988(0x254)],'params':_0x54c9ee[_0x4e0988(0x362)][_0x4e0988(0x380)]}):null,_0x59d9e3=_0x54c9ee['elementData'][_0x4e0988(0x3cb)]??_0x54c9ee[_0x4e0988(0x254)][_0x4e0988(0x16a)][_0x4e0988(0x3cb)];return!(_0x1cca06&&(_0x1cca06[_0x4e0988(0x155)]!==_0x59d9e3[_0x4e0988(0x155)]||_0x1cca06[_0x4e0988(0x398)]!==_0x59d9e3[_0x4e0988(0x398)]))&&(0x0,_0x3a2313['areBoardShapeTextValuesEquivalent'])(_0x54c9ee[_0x4e0988(0x362)]['shapeText'],_0x54c9ee[_0x4e0988(0x362)][_0x4e0988(0x2dd)])?!0x0:this[_0x4e0988(0x1fa)][_0x4e0988(0x361)](_0x312ad4[_0x4e0988(0x18d)]['id'],{'unitId':_0x54c9ee['params'][_0x4e0988(0x3d9)],'subUnitId':_0x54c9ee[_0x4e0988(0x362)][_0x4e0988(0x430)],'nodeId':_0x54c9ee[_0x4e0988(0x362)][_0x4e0988(0x202)],'shapeText':_0x54c9ee[_0x4e0988(0x362)][_0x4e0988(0x45b)],..._0x1cca06?{'hostSize':{'width':_0x1cca06[_0x4e0988(0x155)],'height':_0x1cca06[_0x4e0988(0x398)]}}:null});}['_previewHostSize'](_0x3615cf){const _0x51af4e=_0x4b6d1a;let _0x393e76=this[_0x51af4e(0x2a2)](_0x3615cf);if(!_0x393e76)return!0x1;let _0x19a163=_0x3615cf[_0x51af4e(0x254)][_0x51af4e(0x3cb)]??_0x3615cf[_0x51af4e(0x254)]['element'][_0x51af4e(0x3cb)];return!this[_0x51af4e(0x4a1)]&&_0x19a163[_0x51af4e(0x155)]===_0x393e76[_0x51af4e(0x155)]&&_0x19a163[_0x51af4e(0x398)]===_0x393e76[_0x51af4e(0x398)]||this[_0x51af4e(0x467)](_0x3615cf,_0x393e76),!0x0;}[_0x4b6d1a(0x2a2)](_0x38d205){const _0x29b46b=_0x4b6d1a;return!_0x5f0f14(_0x38d205[_0x29b46b(0x362)]['width'])||!_0x5f0f14(_0x38d205[_0x29b46b(0x362)][_0x29b46b(0x398)])?null:(0x0,_0x312ad4[_0x29b46b(0x290)])(_0x38d205[_0x29b46b(0x254)],{'width':_0x38d205[_0x29b46b(0x362)][_0x29b46b(0x155)],'height':_0x38d205[_0x29b46b(0x362)][_0x29b46b(0x398)]});}[_0x4b6d1a(0x3a5)](){const _0x1537e5=_0x4b6d1a;this['disposeWithMe']((0x0,_0x16f5c0[_0x1537e5(0x3c7)])(this['_textEditingService']['editingParams$'][_0x1537e5(0x302)]((0x0,_0x21bd08[_0x1537e5(0x28a)])(this[_0x1537e5(0x3d1)]))[_0x1537e5(0x25d)](_0x48fad5=>{const _0x5933ad=_0x1537e5;_0x48fad5||this[_0x5933ad(0x441)]();})));}[_0x4b6d1a(0x467)](_0x4fb0cc,_0x56c858){const _0x3c0bd9=_0x4b6d1a;var _0x4edff5;let _0x3d168d=this['_boardElementService'][_0x3c0bd9(0x270)](_0x4fb0cc[_0x3c0bd9(0x362)]['unitId'],_0x4fb0cc[_0x3c0bd9(0x362)]['subUnitId']),_0x53b610=_0x4965cc(_0x3d168d,_0x4fb0cc[_0x3c0bd9(0x362)][_0x3c0bd9(0x202)],_0x56c858),_0x4bb43b=(0x0,_0x312ad4[_0x3c0bd9(0x15b)])((_0x4edff5=_0x3d168d[_0x4fb0cc[_0x3c0bd9(0x362)][_0x3c0bd9(0x202)]])==null?void 0x0:_0x4edff5[_0x3c0bd9(0x16a)]);!_0x53b610||!_0x4bb43b||(this['_activePreview']={'unitId':_0x4fb0cc[_0x3c0bd9(0x362)][_0x3c0bd9(0x3d9)],'subUnitId':_0x4fb0cc['params'][_0x3c0bd9(0x430)],'scopeId':_0x4bb43b[_0x3c0bd9(0x4b2)]},this[_0x3c0bd9(0x2c0)](_0x53b610,_0x4bb43b['structureScopeId'])&&this[_0x3c0bd9(0x2f1)][_0x3c0bd9(0x453)]({'unitId':_0x4fb0cc[_0x3c0bd9(0x362)][_0x3c0bd9(0x3d9)],'subUnitId':_0x4fb0cc[_0x3c0bd9(0x362)][_0x3c0bd9(0x430)],'nodeId':_0x4fb0cc['params']['shapeId'],'scopeId':_0x4bb43b['structureScopeId']}));}['_restoreActivePreview'](){const _0x11964f=_0x4b6d1a;let _0x3553e3=this[_0x11964f(0x4a1)];if(!_0x3553e3)return;this['_activePreview']=null;let _0x2be5ad=this['_boardElementService'][_0x11964f(0x270)](_0x3553e3['unitId'],_0x3553e3[_0x11964f(0x430)]);this[_0x11964f(0x2c0)](_0x2be5ad,_0x3553e3[_0x11964f(0x3d8)])&&this[_0x11964f(0x2f1)][_0x11964f(0x453)]({'unitId':_0x3553e3[_0x11964f(0x3d9)],'subUnitId':_0x3553e3['subUnitId'],'nodeId':_0x3553e3[_0x11964f(0x3d8)],'scopeId':_0x3553e3['scopeId']});}[_0x4b6d1a(0x2c0)](_0x47992a,_0x4c0428){const _0x90b8ff=_0x4b6d1a;let _0x25c3e9=!0x1;if(Object[_0x90b8ff(0x14d)](_0x47992a)[_0x90b8ff(0x411)](_0x4ce5ec=>{const _0xab8f3=_0x90b8ff;var _0x52ebf3;let _0x5ac861=(0x0,_0x312ad4[_0xab8f3(0x15b)])(_0x4ce5ec[_0xab8f3(0x16a)]),_0x4e6fcc=(_0x52ebf3=_0x4ce5ec[_0xab8f3(0x16a)][_0xab8f3(0x297)])==null?void 0x0:_0x52ebf3[_0xab8f3(0x1c3)];if(_0x4ce5ec[_0xab8f3(0x47d)]!==_0x4c0428&&(_0x5ac861==null?void 0x0:_0x5ac861['structureScopeId'])!==_0x4c0428&&(_0x4e6fcc==null?void 0x0:_0x4e6fcc['structureScopeId'])!==_0x4c0428)return;let _0x1f1ea8=this[_0xab8f3(0x24f)](_0x4ce5ec[_0xab8f3(0x47d)]);_0x1f1ea8&&(_0x25c3e9=(0x0,_0x3a2313[_0xab8f3(0x1d0)])(_0x1f1ea8,_0x4ce5ec,{'elementData':_0x47992a,'unitId':this[_0xab8f3(0x349)][_0xab8f3(0x3d9)]})||_0x25c3e9);}),_0x25c3e9){var _0x172179,_0x2b02ef;this[_0x90b8ff(0x349)][_0x90b8ff(0x479)][_0x90b8ff(0x420)](!0x0),(_0x172179=(_0x2b02ef=this[_0x90b8ff(0x349)]['scene'])[_0x90b8ff(0x3d2)])==null||_0x172179[_0x90b8ff(0x38b)](_0x2b02ef);}return _0x25c3e9;}['_getSceneObject'](_0x34cb86){const _0x2e1e01=_0x4b6d1a;var _0x1bce3c;let _0x214ca5=(0x0,_0x3a2313[_0x2e1e01(0x192)])(this[_0x2e1e01(0x349)][_0x2e1e01(0x3d9)],_0x34cb86),_0x32999e=this['_renderContext'][_0x2e1e01(0x479)];return((_0x1bce3c=_0x32999e[_0x2e1e01(0x49c)])==null?void 0x0:_0x1bce3c[_0x2e1e01(0x38b)](_0x32999e,_0x214ca5))??this[_0x2e1e01(0x349)]['scene']['getObject'](_0x214ca5)??null;}};_0x3f1fb5=_0x4d6662([_0x400c84(0x1,(0x0,_0x16f5c0['Inject'])(_0x3a2313[_0x4b6d1a(0x1bc)])),_0x400c84(0x2,(0x0,_0x16f5c0[_0x4b6d1a(0x43e)])(_0xef9e20[_0x4b6d1a(0x40e)])),_0x400c84(0x3,(0x0,_0x16f5c0['Inject'])(_0x3a2313['BoardTextEditingService'])),_0x400c84(0x4,(0x0,_0x16f5c0['Inject'])(_0xe10e21)),_0x400c84(0x5,_0x16f5c0[_0x4b6d1a(0x422)])],_0x3f1fb5);let _0x57e8d5={'radius':0x12,'addChildRadius':0xe,'siblingHoverRadius':0xa,'siblingDotRadius':0x5,'siblingDotGap':0x3,'gap':0xa,'collapsePlusMinDistance':0x2c,'primaryColor':_0x527f2b['primaryColor'],'surfaceColor':_0x527f2b[_0x4b6d1a(0x386)],'borderWidth':0x2,'glyphSize':0x8,'addChildGlyphSize':0x6,'siblingGlyphSize':5.5,'glyphWidth':2.4,'glyphHoverWidth':0x3,'badgeFontWeight':0x258,'badgeFontSize':0x12,'fontFamily':_0x527f2b[_0x4b6d1a(0x325)]};function _0x1782d5(_0xbdbcfe){const _0x378f21=_0x4b6d1a;let _0xf5e1f7=_0x57e8d5[_0x378f21(0x2fc)],_0x3749e2=_0x57e8d5[_0x378f21(0x3b3)],_0x53ed37=_0x57e8d5[_0x378f21(0x143)],_0x1facd4=_0x57e8d5['gap'],_0x56cbed=_0x57e8d5[_0x378f21(0x4d2)],_0x48d19c=_0x56cbed+_0x57e8d5[_0x378f21(0x208)],_0x5aa557=_0x57e8d5[_0x378f21(0x401)],_0x395c33=_0xbdbcfe[_0x378f21(0x30d)][_0x378f21(0x2b5)]+_0xbdbcfe[_0x378f21(0x30d)][_0x378f21(0x398)]/0x2,_0x3aa006=_0xbdbcfe[_0x378f21(0x30d)][_0x378f21(0x15e)]+_0xbdbcfe['bounds'][_0x378f21(0x155)]/0x2,_0x11b472=_0xbdbcfe['bounds'][_0x378f21(0x15e)]-_0xf5e1f7-_0x1facd4,_0x4f6a1c=_0xbdbcfe[_0x378f21(0x30d)][_0x378f21(0x15e)]+_0xbdbcfe[_0x378f21(0x30d)]['width']+_0xf5e1f7+_0x1facd4,_0x33083d=_0xbdbcfe[_0x378f21(0x30d)]['top']-_0xf5e1f7-_0x1facd4,_0x3b88c6=_0xbdbcfe[_0x378f21(0x30d)][_0x378f21(0x2b5)]+_0xbdbcfe[_0x378f21(0x30d)][_0x378f21(0x398)]+_0xf5e1f7+_0x1facd4,_0x3dd61c=_0xbdbcfe[_0x378f21(0x30d)]['left']-_0x3749e2-_0x1facd4,_0x34a1ae=_0xbdbcfe[_0x378f21(0x30d)][_0x378f21(0x15e)]+_0xbdbcfe['bounds'][_0x378f21(0x155)]+_0x3749e2+_0x1facd4,_0x285d7f=_0xbdbcfe['bounds'][_0x378f21(0x2b5)]-_0x3749e2-_0x1facd4,_0x4e1ea8=_0xbdbcfe[_0x378f21(0x30d)][_0x378f21(0x2b5)]+_0xbdbcfe[_0x378f21(0x30d)]['height']+_0x3749e2+_0x1facd4,_0x4caa01=[],_0x58ada7=_0xbdbcfe[_0x378f21(0x241)]===_0x378f21(0x2b5)||_0xbdbcfe[_0x378f21(0x241)]===_0x378f21(0x346),_0xec8117=_0x58ada7?_0x3aa006:_0xbdbcfe[_0x378f21(0x241)]===_0x378f21(0x15e)?_0x11b472:_0x4f6a1c,_0x13d87f=_0x58ada7?_0xbdbcfe['side']===_0x378f21(0x2b5)?_0x33083d:_0x3b88c6:_0x395c33;if(_0xbdbcfe[_0x378f21(0x4aa)]&&_0xbdbcfe[_0x378f21(0x160)]>0x0)return _0x4caa01['push']({'kind':_0x378f21(0x132),'x':_0xec8117,'y':_0x13d87f,'radius':_0xf5e1f7,'badgeCount':_0xbdbcfe[_0x378f21(0x160)]}),_0x4caa01;if(_0xbdbcfe[_0x378f21(0x3ac)]?(_0xbdbcfe[_0x378f21(0x1ac)]??(_0x58ada7?[_0x378f21(0x2b5),_0x378f21(0x346)]:[_0x378f21(0x15e),'right']))[_0x378f21(0x411)](_0x1f54d2=>{const _0x2338c9=_0x378f21;_0x1f54d2==='top'?_0x4caa01[_0x2338c9(0x25c)]({'kind':'add-child-top','x':_0x3aa006,'y':_0x285d7f,'radius':_0x3749e2}):_0x1f54d2===_0x2338c9(0x346)?_0x4caa01[_0x2338c9(0x25c)]({'kind':_0x2338c9(0x220),'x':_0x3aa006,'y':_0x4e1ea8,'radius':_0x3749e2}):_0x1f54d2===_0x2338c9(0x15e)?_0x4caa01['push']({'kind':_0x2338c9(0x461),'x':_0x3dd61c,'y':_0x395c33,'radius':_0x3749e2}):_0x4caa01['push']({'kind':_0x2338c9(0x3fe),'x':_0x34a1ae,'y':_0x395c33,'radius':_0x3749e2});}):(_0x4caa01[_0x378f21(0x25c)]({'kind':_0xbdbcfe[_0x378f21(0x241)]===_0x378f21(0x15e)?_0x378f21(0x461):_0xbdbcfe[_0x378f21(0x241)]===_0x378f21(0x2b5)?_0x378f21(0x342):_0xbdbcfe[_0x378f21(0x241)]===_0x378f21(0x346)?_0x378f21(0x220):_0x378f21(0x3fe),'x':_0x58ada7?_0x3aa006:_0xbdbcfe[_0x378f21(0x241)]===_0x378f21(0x15e)?_0x3dd61c:_0x34a1ae,'y':_0x58ada7?_0xbdbcfe[_0x378f21(0x241)]===_0x378f21(0x2b5)?_0x285d7f:_0x4e1ea8:_0x395c33,'radius':_0x3749e2}),_0x58ada7?(_0x4caa01[_0x378f21(0x25c)]({'kind':_0x378f21(0x457),'placement':'before','x':_0xbdbcfe[_0x378f21(0x30d)][_0x378f21(0x15e)]-_0x48d19c,'y':_0x395c33,'radius':_0x53ed37,'visualRadius':_0x56cbed}),_0x4caa01['push']({'kind':_0x378f21(0x408),'placement':_0x378f21(0x27a),'x':_0xbdbcfe['bounds'][_0x378f21(0x15e)]+_0xbdbcfe[_0x378f21(0x30d)][_0x378f21(0x155)]+_0x48d19c,'y':_0x395c33,'radius':_0x53ed37,'visualRadius':_0x56cbed})):(_0x4caa01[_0x378f21(0x25c)]({'kind':'add-sibling-before','placement':_0x378f21(0x2d5),'x':_0x3aa006,'y':_0xbdbcfe['bounds'][_0x378f21(0x2b5)]-_0x48d19c,'radius':_0x53ed37,'visualRadius':_0x56cbed}),_0x4caa01['push']({'kind':_0x378f21(0x408),'placement':_0x378f21(0x27a),'x':_0x3aa006,'y':_0xbdbcfe['bounds']['top']+_0xbdbcfe[_0x378f21(0x30d)][_0x378f21(0x398)]+_0x48d19c,'radius':_0x53ed37,'visualRadius':_0x56cbed}))),_0xbdbcfe['hasChildren']){let _0x242254={'kind':_0x378f21(0x132),'x':_0xec8117,'y':_0x13d87f,'radius':_0xf5e1f7};_0x4caa01[_0x378f21(0x25c)](_0x242254);let _0x137799=_0x4caa01[_0x378f21(0x265)](_0x2697c4=>_0x2697c4['kind']===(_0xbdbcfe[_0x378f21(0x241)]===_0x378f21(0x15e)?_0x378f21(0x461):_0xbdbcfe[_0x378f21(0x241)]===_0x378f21(0x2b5)?'add-child-top':_0xbdbcfe['side']==='bottom'?_0x378f21(0x220):_0x378f21(0x3fe)));_0x137799&&Math[_0x378f21(0x359)](_0x137799['x']-_0x242254['x'],_0x137799['y']-_0x242254['y'])<_0x5aa557&&(_0xbdbcfe[_0x378f21(0x241)]===_0x378f21(0x2b5)||_0xbdbcfe[_0x378f21(0x241)]===_0x378f21(0x346)?_0x137799['y']=_0x242254['y']+(_0xbdbcfe['side']===_0x378f21(0x2b5)?-_0x5aa557:_0x5aa557):_0x137799['x']=_0x242254['x']+(_0xbdbcfe[_0x378f21(0x241)]===_0x378f21(0x15e)?-_0x5aa557:_0x5aa557));}return _0x4caa01;}let _0x1c7e7d=_0x4b6d1a(0x3eb),_0x5c2d42=_0x3a2313[_0x4b6d1a(0x469)][_0x4b6d1a(0x3f1)];function _0x2ab61b(_0x27c0ba,_0x5c36e1){const _0x207e5d=_0x4b6d1a;return!!_0x27c0ba&&_0x27c0ba[_0x207e5d(0x23d)]===_0x5c36e1['kind']&&_0x27c0ba['x']===_0x5c36e1['x']&&_0x27c0ba['y']===_0x5c36e1['y'];}var _0x306dfe=class extends _0x5714e6[_0x4b6d1a(0x170)]{constructor(_0x25e43a=_0x1c7e7d,_0x237a0a){const _0x233a9c=_0x4b6d1a;super(_0x25e43a),_0x4ad85c(this,'_state',{'controls':[]}),this['evented']=!0x0,this[_0x233a9c(0x2c7)]=_0x3a2313['BOARD_RENDER_OBJECT_Z_INDEX'][_0x233a9c(0x393)],this[_0x233a9c(0x2e7)](_0x237a0a);}[_0x4b6d1a(0x2e7)](_0x347e10){const _0x17612e=_0x4b6d1a;this[_0x17612e(0x167)]={...this[_0x17612e(0x167)],..._0x347e10},this[_0x17612e(0x167)][_0x17612e(0x2a4)][_0x17612e(0x489)]>0x0?this['show']():this[_0x17612e(0x4cc)](),this[_0x17612e(0x420)](!0x0);}[_0x4b6d1a(0x442)](_0x365db8){const _0x4c3a97=_0x4b6d1a;!_0x365db8&&!this[_0x4c3a97(0x167)]['hoveredControl']||_0x365db8&&_0x2ab61b(this[_0x4c3a97(0x167)][_0x4c3a97(0x42c)],_0x365db8)||(this[_0x4c3a97(0x167)]={...this['_state'],'hoveredControl':_0x365db8},this[_0x4c3a97(0x420)](!0x0));}[_0x4b6d1a(0x38f)](_0x3f922d){const _0x11e142=_0x4b6d1a;for(let _0x428da6=this[_0x11e142(0x167)][_0x11e142(0x2a4)]['length']-0x1;_0x428da6>=0x0;--_0x428da6){let _0x1a85ca=this[_0x11e142(0x167)][_0x11e142(0x2a4)][_0x428da6];if(Math[_0x11e142(0x359)](_0x3f922d['x']-_0x1a85ca['x'],_0x3f922d['y']-_0x1a85ca['y'])<=_0x1a85ca[_0x11e142(0x2fc)])return _0x1a85ca;}return null;}[_0x4b6d1a(0x2dc)](_0xfedceb){return!!this['getHitControl']({'x':_0xfedceb['x'],'y':_0xfedceb['y']});}[_0x4b6d1a(0x1f7)](_0x4372a3,_0x2e3860){const _0x4e301a=_0x4b6d1a;return!this[_0x4e301a(0x4d1)]||this[_0x4e301a(0x167)][_0x4e301a(0x2a4)][_0x4e301a(0x489)]===0x0?(this['makeDirty'](!0x1),this):(_0x4372a3[_0x4e301a(0x266)](),this[_0x4e301a(0x167)][_0x4e301a(0x2a4)][_0x4e301a(0x411)](_0x7199e5=>{const _0x2b9d0a=_0x4e301a;let _0x4947da=_0x2ab61b(this[_0x2b9d0a(0x167)]['hoveredControl'],_0x7199e5),_0x4effc6=_0x7199e5[_0x2b9d0a(0x3ad)]!==void 0x0,_0x26275b=_0x7199e5['kind']==='add-child-left'||_0x7199e5[_0x2b9d0a(0x23d)]===_0x2b9d0a(0x3fe)||_0x7199e5['kind']==='add-child-top'||_0x7199e5[_0x2b9d0a(0x23d)]===_0x2b9d0a(0x220),_0x117994=_0x7199e5[_0x2b9d0a(0x23d)]===_0x2b9d0a(0x457)||_0x7199e5['kind']===_0x2b9d0a(0x408),_0x73dcf3=_0x117994&&!_0x4947da?_0x7199e5['visualRadius']??_0x7199e5[_0x2b9d0a(0x2fc)]:_0x7199e5[_0x2b9d0a(0x2fc)];if(_0x4372a3[_0x2b9d0a(0x43b)](),_0x4372a3[_0x2b9d0a(0x470)]=_0x7199e5[_0x2b9d0a(0x23d)]===_0x2b9d0a(0x132)?_0x57e8d5['surfaceColor']:_0x57e8d5['primaryColor'],_0x4372a3[_0x2b9d0a(0x369)]=_0x57e8d5[_0x2b9d0a(0x40d)],_0x4372a3['lineWidth']=_0x57e8d5['borderWidth'],_0x4372a3['arc'](_0x7199e5['x'],_0x7199e5['y'],_0x73dcf3,0x0,Math['PI']*0x2),_0x4372a3[_0x2b9d0a(0x431)](),(!_0x117994||_0x4947da)&&_0x4372a3[_0x2b9d0a(0x35e)](),!_0x4effc6&&(!_0x117994||_0x4947da)){if(_0x4372a3[_0x2b9d0a(0x43b)](),_0x4372a3['strokeStyle']=_0x7199e5[_0x2b9d0a(0x23d)]===_0x2b9d0a(0x132)?_0x57e8d5[_0x2b9d0a(0x40d)]:_0x57e8d5[_0x2b9d0a(0x386)],_0x4372a3[_0x2b9d0a(0x14e)]=_0x117994?_0x57e8d5['glyphWidth']:_0x4947da?_0x57e8d5['glyphHoverWidth']:_0x57e8d5['glyphWidth'],_0x4372a3['lineCap']='round',_0x7199e5[_0x2b9d0a(0x23d)]===_0x2b9d0a(0x132)){let _0x43d87b=_0x57e8d5[_0x2b9d0a(0x3ff)];_0x4372a3[_0x2b9d0a(0x4a6)](_0x7199e5['x']+_0x43d87b/0x2,_0x7199e5['y']-_0x43d87b),_0x4372a3[_0x2b9d0a(0x2ff)](_0x7199e5['x']-_0x43d87b/0x2,_0x7199e5['y']),_0x4372a3[_0x2b9d0a(0x2ff)](_0x7199e5['x']+_0x43d87b/0x2,_0x7199e5['y']+_0x43d87b);}else{let _0x4f96e2=_0x117994?_0x57e8d5[_0x2b9d0a(0x3ab)]:_0x26275b?_0x57e8d5[_0x2b9d0a(0x3dd)]:_0x57e8d5[_0x2b9d0a(0x3ff)];_0x4372a3[_0x2b9d0a(0x4a6)](_0x7199e5['x']-_0x4f96e2,_0x7199e5['y']),_0x4372a3['lineTo'](_0x7199e5['x']+_0x4f96e2,_0x7199e5['y']),_0x4372a3[_0x2b9d0a(0x4a6)](_0x7199e5['x'],_0x7199e5['y']-_0x4f96e2),_0x4372a3[_0x2b9d0a(0x2ff)](_0x7199e5['x'],_0x7199e5['y']+_0x4f96e2);}_0x4372a3['stroke']();}_0x4effc6&&(_0x4372a3[_0x2b9d0a(0x470)]=_0x57e8d5[_0x2b9d0a(0x40d)],_0x4372a3['font']=_0x57e8d5[_0x2b9d0a(0x3a8)]+'\x20'+_0x57e8d5[_0x2b9d0a(0x352)]+'px\x20'+_0x57e8d5[_0x2b9d0a(0x325)],_0x4372a3[_0x2b9d0a(0x477)]=_0x2b9d0a(0x47f),_0x4372a3[_0x2b9d0a(0x130)]=_0x2b9d0a(0x173),_0x4372a3[_0x2b9d0a(0x36e)](String(_0x7199e5['badgeCount']),_0x7199e5['x'],_0x7199e5['y']));}),_0x4372a3['restore'](),this['makeDirty'](!0x1),this);}};function _0x43e968(_0x6b620a){const _0x9ba3d8=_0x4b6d1a;return _0x6b620a==='tree-left'||_0x6b620a===_0x9ba3d8(0x162)||_0x6b620a===_0x9ba3d8(0x2f3);}function _0x518bae(_0x1d90bf){const _0x33ef13=_0x4b6d1a;return _0x1d90bf===_0x33ef13(0x178)||_0x1d90bf==='timeline-vertical';}function _0x2b5995(_0x2ff0c1,_0x40f940){const _0x466001=_0x4b6d1a;let _0x244cec=Number[_0x466001(0x48a)](_0x40f940[_0x466001(0x1e7)])&&_0x40f940[_0x466001(0x1e7)]>0x0?_0x40f940['zoomRatio']:0x1;return{'x':Math[_0x466001(0x204)]((_0x2ff0c1['offsetX']-_0x40f940[_0x466001(0x2e8)]['x'])/_0x244cec),'y':Math[_0x466001(0x204)]((_0x2ff0c1[_0x466001(0x357)]-_0x40f940[_0x466001(0x2e8)]['y'])/_0x244cec)};}let _0x48a36a=class extends _0x16f5c0[_0x4b6d1a(0x1e1)]{constructor(_0x23f3d9,_0x25dbc1,_0x54b2e4,_0x4c86e9,_0xe400e6,_0x1e250d,_0x1ae7c5,_0x5b5021,_0xc1403e){const _0x5a20c6=_0x4b6d1a;super(),this[_0x5a20c6(0x349)]=_0x23f3d9,this[_0x5a20c6(0x258)]=_0x25dbc1,this[_0x5a20c6(0x425)]=_0x54b2e4,this[_0x5a20c6(0x45f)]=_0x4c86e9,this[_0x5a20c6(0x1fa)]=_0xe400e6,this[_0x5a20c6(0x4b0)]=_0x1e250d,this[_0x5a20c6(0x33d)]=_0x1ae7c5,this[_0x5a20c6(0x2f1)]=_0x5b5021,this[_0x5a20c6(0x1bb)]=_0xc1403e,_0x4ad85c(this,'_object',null),_0x4ad85c(this,_0x5a20c6(0x429),null),_0x4ad85c(this,'_activeNodeId',null),_0x4ad85c(this,_0x5a20c6(0x4c7),null),this[_0x5a20c6(0x32c)]();}[_0x4b6d1a(0x32c)](){const _0x5a204c=_0x4b6d1a;var _0x1fb2a0,_0x341b6c,_0xd26c3c;let {scene:_0x16bc75}=this[_0x5a204c(0x349)],_0x149da7=(_0x1fb2a0=_0x16bc75[_0x5a204c(0x4ae)])==null?void 0x0:_0x1fb2a0[_0x5a204c(0x38b)](_0x16bc75);_0x149da7&&(this[_0x5a204c(0x3ef)]((0x0,_0x16f5c0[_0x5a204c(0x3c7)])(_0x149da7[_0x5a204c(0x2ad)][_0x5a204c(0x302)]((0x0,_0x21bd08[_0x5a204c(0x28a)])(this['dispose$']))[_0x5a204c(0x25d)](({objects:_0x2e0ac2})=>{const _0x3d4ee8=_0x5a204c;this[_0x3d4ee8(0x284)](_0x2e0ac2,{'hideRootControls':!0x0});}))),this[_0x5a204c(0x3ef)]((0x0,_0x16f5c0[_0x5a204c(0x3c7)])(_0x149da7[_0x5a204c(0x11e)][_0x5a204c(0x302)]((0x0,_0x21bd08[_0x5a204c(0x28a)])(this[_0x5a204c(0x3d1)]))[_0x5a204c(0x25d)](_0x49c9af=>{const _0x312a4e=_0x5a204c;let _0x4eca93=_0x49c9af==null?void 0x0:_0x49c9af[_0x312a4e(0x311)];this[_0x312a4e(0x284)](_0x4eca93),setTimeout(()=>this[_0x312a4e(0x284)](_0x4eca93),0x0);})))),this[_0x5a204c(0x3ef)]((0x0,_0x16f5c0[_0x5a204c(0x3c7)])(this[_0x5a204c(0x425)][_0x5a204c(0x124)][_0x5a204c(0x302)]((0x0,_0x21bd08[_0x5a204c(0x28a)])(this[_0x5a204c(0x3d1)]))[_0x5a204c(0x25d)](()=>this[_0x5a204c(0x284)]()))),this[_0x5a204c(0x3ef)]((0x0,_0x16f5c0[_0x5a204c(0x3c7)])(this[_0x5a204c(0x45f)][_0x5a204c(0x124)][_0x5a204c(0x302)]((0x0,_0x21bd08[_0x5a204c(0x28a)])(this[_0x5a204c(0x3d1)]))[_0x5a204c(0x25d)](()=>this[_0x5a204c(0x284)]()))),this[_0x5a204c(0x3ef)]((0x0,_0x16f5c0[_0x5a204c(0x3c7)])(this['_boardElementService'][_0x5a204c(0x2cd)][_0x5a204c(0x302)]((0x0,_0x21bd08[_0x5a204c(0x28a)])(this['dispose$']))[_0x5a204c(0x25d)](_0x30c34e=>{const _0x3a78ad=_0x5a204c;let _0x576bf4=this['_elementStateService'][_0x3a78ad(0x1e2)]()[_0x3a78ad(0x209)];_0x576bf4&&_0x30c34e['some'](_0x15896e=>_0x15896e[_0x3a78ad(0x3d9)]===_0x576bf4[_0x3a78ad(0x3d9)]&&_0x15896e['subUnitId']===_0x576bf4[_0x3a78ad(0x430)]&&(_0x15896e[_0x3a78ad(0x47d)]===this[_0x3a78ad(0x42a)]||_0x15896e['elementId']===this[_0x3a78ad(0x4c7)]))&&this[_0x3a78ad(0x284)]();}))),this[_0x5a204c(0x3ef)]((0x0,_0x16f5c0['toDisposable'])(this[_0x5a204c(0x2f1)]['refresh$']['pipe']((0x0,_0x21bd08[_0x5a204c(0x28a)])(this[_0x5a204c(0x3d1)]))['subscribe'](_0x2b47cf=>{const _0x2f0d34=_0x5a204c;let _0x54a6f8=this[_0x2f0d34(0x425)][_0x2f0d34(0x1e2)]()[_0x2f0d34(0x209)];!_0x54a6f8||_0x54a6f8[_0x2f0d34(0x3d9)]!==_0x2b47cf['unitId']||_0x54a6f8[_0x2f0d34(0x430)]!==_0x2b47cf[_0x2f0d34(0x430)]||this[_0x2f0d34(0x4c7)]&&this[_0x2f0d34(0x4c7)]!==_0x2b47cf[_0x2f0d34(0x3d8)]||this[_0x2f0d34(0x284)]();}))),this[_0x5a204c(0x3ef)]((0x0,_0x16f5c0[_0x5a204c(0x3c7)])(_0x16bc75[_0x5a204c(0x44e)]['subscribeEvent'](_0x2be3cc=>this[_0x5a204c(0x4b6)](_0x2be3cc)))),this[_0x5a204c(0x3ef)]((0x0,_0x16f5c0[_0x5a204c(0x3c7)])(_0x16bc75['onPointerDown$'][_0x5a204c(0x141)]({'priority':0x4,'next':([_0x30175f,_0x3ec0e8])=>{const _0xa48060=_0x5a204c;this[_0xa48060(0x217)](_0x30175f)&&this['_consumeControlEvent'](_0x30175f,_0x3ec0e8);}}))),this[_0x5a204c(0x3ef)]((0x0,_0x16f5c0[_0x5a204c(0x3c7)])(((_0x341b6c=_0x16bc75['onPointerUp$'])==null?void 0x0:_0x341b6c[_0x5a204c(0x141)]({'priority':0x4,'next':([_0x238714,_0x5e5152])=>{const _0xf35db3=_0x5a204c;this[_0xf35db3(0x28b)](_0x238714)&&this[_0xf35db3(0x483)](_0x238714,_0x5e5152);}}))??{'dispose':()=>{}})),this[_0x5a204c(0x3ef)]((0x0,_0x16f5c0[_0x5a204c(0x3c7)])(((_0xd26c3c=_0x16bc75[_0x5a204c(0x180)])==null?void 0x0:_0xd26c3c[_0x5a204c(0x141)]({'priority':0x4,'next':([_0x73983e,_0x297278])=>{const _0x1f1898=_0x5a204c;this[_0x1f1898(0x28b)](_0x73983e)&&this[_0x1f1898(0x483)](_0x73983e,_0x297278);}}))??{'dispose':()=>{}})),this[_0x5a204c(0x3ef)]((0x0,_0x16f5c0[_0x5a204c(0x3c7)])(()=>this[_0x5a204c(0x16c)]())),this[_0x5a204c(0x284)]();}[_0x4b6d1a(0x3b7)](){const _0x9aff06=_0x4b6d1a;return this[_0x9aff06(0x1ab)]?this[_0x9aff06(0x1ab)]:(this[_0x9aff06(0x1ab)]=new _0x306dfe(_0x1c7e7d),this[_0x9aff06(0x3f0)](this[_0x9aff06(0x1ab)]),this[_0x9aff06(0x349)][_0x9aff06(0x479)]['addObject'](this[_0x9aff06(0x1ab)],_0x5c2d42),this[_0x9aff06(0x1ab)]);}[_0x4b6d1a(0x3f0)](_0xc66828){const _0x396a23=_0x4b6d1a;var _0x470ced;(_0x470ced=this[_0x396a23(0x429)])==null||_0x470ced['dispose']();let _0x2413a6=new _0x16f5c0[(_0x396a23(0x347))]();_0x2413a6[_0x396a23(0x3bd)](_0xc66828[_0x396a23(0x309)][_0x396a23(0x141)]({'priority':0x4,'next':([_0x15f5c1,_0x342965])=>{const _0x5f2958=_0x396a23;this[_0x5f2958(0x217)](_0x15f5c1)&&this['_consumeControlEvent'](_0x15f5c1,_0x342965);}})),_0x2413a6[_0x396a23(0x3bd)](_0xc66828['onPointerUp$'][_0x396a23(0x141)]({'priority':0x4,'next':([_0x521918,_0x1a9e1a])=>{const _0x21dfda=_0x396a23;this[_0x21dfda(0x28b)](_0x521918)&&this[_0x21dfda(0x483)](_0x521918,_0x1a9e1a);}})),_0x2413a6['add'](_0xc66828[_0x396a23(0x180)]['subscribeEvent']({'priority':0x4,'next':([_0x432a2e,_0x935d04])=>{const _0x48af4b=_0x396a23;this['_isControlEvent'](_0x432a2e)&&this[_0x48af4b(0x483)](_0x432a2e,_0x935d04);}})),this[_0x396a23(0x429)]=_0x2413a6;}[_0x4b6d1a(0x16c)](){const _0x3615ea=_0x4b6d1a;var _0x2ae3c9;this['_object']&&(this[_0x3615ea(0x349)][_0x3615ea(0x479)][_0x3615ea(0x287)]([this[_0x3615ea(0x1ab)]]),(_0x2ae3c9=this['_objectEventDisposables'])==null||_0x2ae3c9[_0x3615ea(0x410)](),this['_objectEventDisposables']=null,this['_object']=null,this[_0x3615ea(0x42a)]=null,this['_activeScopeId']=null,this[_0x3615ea(0x349)]['scene'][_0x3615ea(0x420)](!0x0));}['_syncControls'](_0x479e8b,_0xf9042c){const _0x480ce5=_0x4b6d1a;var _0xef5e24,_0x363e69;if(this[_0x480ce5(0x45f)][_0x480ce5(0x22a)]()[_0x480ce5(0x1b9)]===_0x480ce5(0x32a)){this[_0x480ce5(0x16c)]();return;}let _0x40b4b9=this[_0x480ce5(0x425)][_0x480ce5(0x1e2)](),_0x424828=_0x40b4b9[_0x480ce5(0x209)],_0x1b48a5=_0x40b4b9[_0x480ce5(0x3c6)]??_0x40b4b9[_0x480ce5(0x23a)][0x0];if(!_0x424828||!_0x1b48a5||_0x40b4b9['selectedIds'][_0x480ce5(0x489)]!==0x1){this[_0x480ce5(0x16c)]();return;}let _0x142f89=this[_0x480ce5(0x258)][_0x480ce5(0x270)](_0x424828[_0x480ce5(0x3d9)],_0x424828['subUnitId']),_0x80da17=_0x142f89[_0x1b48a5],_0x4fa543=(0x0,_0x312ad4[_0x480ce5(0x15b)])(_0x80da17==null?void 0x0:_0x80da17['element']);if(!_0x80da17||!_0x4fa543){this[_0x480ce5(0x16c)]();return;}let _0x34d400=(0x0,_0x3a2313[_0x480ce5(0x192)])(_0x424828['unitId'],_0x1b48a5);if(_0xf9042c!=null&&_0xf9042c[_0x480ce5(0x36c)]&&_0x4fa543[_0x480ce5(0x1dc)]==null&&_0x479e8b!=null&&_0x479e8b[_0x480ce5(0x4d0)](_0x34d400)){this[_0x480ce5(0x16c)]();return;}let _0x37c356=this[_0x480ce5(0x221)](_0x142f89,_0x424828[_0x480ce5(0x3d9)],_0x1b48a5,_0x479e8b);if(!_0x37c356){this[_0x480ce5(0x16c)]();return;}let _0x3b56df=Object[_0x480ce5(0x14d)](_0x142f89)[_0x480ce5(0x34d)](_0x1aba14=>{const _0x533792=_0x480ce5;var _0x33e884;return((_0x33e884=(0x0,_0x312ad4[_0x533792(0x15b)])(_0x1aba14['element']))==null?void 0x0:_0x33e884['parentNodeId'])===_0x1b48a5;}),_0x388354=_0x4fa543[_0x480ce5(0x356)]?this[_0x480ce5(0x424)](_0x142f89,_0x1b48a5):0x0;this[_0x480ce5(0x42a)]=_0x1b48a5,this[_0x480ce5(0x4c7)]=_0x4fa543[_0x480ce5(0x4b2)];let _0x319169=(_0xef5e24=_0x142f89[_0x4fa543[_0x480ce5(0x4b2)]])==null?void 0x0:_0xef5e24['element'],_0x405f65=(0x0,_0x312ad4[_0x480ce5(0x1da)])(_0x319169),_0x1e0716=_0x319169==null||(_0x363e69=_0x319169[_0x480ce5(0x297)])==null||(_0x363e69=_0x363e69[_0x480ce5(0x2c4)])==null||(_0x363e69=_0x363e69[_0x480ce5(0x379)])==null?void 0x0:_0x363e69[_0x480ce5(0x1b6)],_0x220401=(_0x405f65==null?void 0x0:_0x405f65['layout'][_0x480ce5(0x1b6)])??_0x1e0716,_0x4c9fda=_0x4fa543['parentNodeId']==null,_0x473eb8=this[_0x480ce5(0x3ae)](_0x4fa543[_0x480ce5(0x241)],_0x4c9fda,_0x220401);this[_0x480ce5(0x3b7)]()[_0x480ce5(0x2e7)]({'controls':_0x1782d5({'bounds':_0x37c356,'isRoot':_0x4c9fda,'side':_0x473eb8,'rootChildSides':this[_0x480ce5(0x29e)](_0x4c9fda,_0x220401),'hasChildren':_0x3b56df['length']>0x0,'collapsedDescendantCount':_0x388354})}),this[_0x480ce5(0x349)]['scene'][_0x480ce5(0x420)](!0x0);}[_0x4b6d1a(0x3ae)](_0x3ccb72,_0x263470,_0xa35c23){const _0x47dae3=_0x4b6d1a;return _0xa35c23===_0x47dae3(0x476)?!_0x263470&&(_0x3ccb72===_0x47dae3(0x15e)||_0x3ccb72==='right')?_0x3ccb72:_0x47dae3(0x346):_0xa35c23===_0x47dae3(0x135)?!_0x263470&&(_0x3ccb72==='top'||_0x3ccb72==='bottom')?_0x3ccb72:_0x47dae3(0x346):_0x3ccb72==='left'?_0x47dae3(0x15e):_0x47dae3(0x252);}[_0x4b6d1a(0x29e)](_0x3d8cb7,_0x833972){const _0x3d0d98=_0x4b6d1a;if(_0x3d8cb7){if(_0x43e968(_0x833972))return[_0x3d0d98(0x346)];if(_0x833972==='timeline-horizontal')return[_0x3d0d98(0x252)];if(_0x833972===_0x3d0d98(0x476))return[_0x3d0d98(0x346)];}}[_0x4b6d1a(0x2a7)](_0x586f3a){const _0x49dfda=_0x4b6d1a;var _0xf33c32,_0x468f96;let _0x3e33ac=this[_0x49dfda(0x425)][_0x49dfda(0x1e2)]()[_0x49dfda(0x209)];if(!_0x3e33ac||!this[_0x49dfda(0x42a)])return;let _0x1f153a=this[_0x49dfda(0x258)]['getElementData'](_0x3e33ac[_0x49dfda(0x3d9)],_0x3e33ac['subUnitId']),_0x4c44be=(0x0,_0x312ad4[_0x49dfda(0x15b)])((_0xf33c32=_0x1f153a[this[_0x49dfda(0x42a)]])==null?void 0x0:_0xf33c32['element']),_0x4ad480=_0x4c44be?(0x0,_0x312ad4[_0x49dfda(0x1da)])((_0x468f96=_0x1f153a[_0x4c44be['structureScopeId']])==null?void 0x0:_0x468f96['element']):null;if(!((_0x4c44be==null?void 0x0:_0x4c44be[_0x49dfda(0x1dc)])==null&&(_0x43e968(_0x4ad480==null?void 0x0:_0x4ad480[_0x49dfda(0x379)][_0x49dfda(0x1b6)])||_0x518bae(_0x4ad480==null?void 0x0:_0x4ad480['layout'][_0x49dfda(0x1b6)]))))return _0x586f3a==='add-child-left'?_0x49dfda(0x15e):_0x586f3a===_0x49dfda(0x342)?_0x49dfda(0x2b5):_0x586f3a===_0x49dfda(0x220)?_0x49dfda(0x346):_0x49dfda(0x252);}[_0x4b6d1a(0x221)](_0xfe1c9f,_0x43d754,_0x21702f,_0x39d58b){const _0x330e1a=_0x4b6d1a;var _0xba6a8f,_0x3e3f58;let _0x35f555=(0x0,_0x3a2313[_0x330e1a(0x192)])(_0x43d754,_0x21702f),_0x236dd9=_0x39d58b==null?void 0x0:_0x39d58b[_0x330e1a(0x31a)](_0x35f555),_0x22a8cb=this[_0x330e1a(0x227)](_0x236dd9);if(_0x22a8cb)return _0x22a8cb;let _0x24a25f=this[_0x330e1a(0x349)]['scene'],_0xad7d11=((_0xba6a8f=_0x24a25f[_0x330e1a(0x49c)])==null?void 0x0:_0xba6a8f['call'](_0x24a25f,_0x35f555))??((_0x3e3f58=_0x24a25f['getObject'])==null?void 0x0:_0x3e3f58[_0x330e1a(0x38b)](_0x24a25f,_0x35f555));return this['_toFiniteBounds'](_0xad7d11)||(0x0,_0xef9e20[_0x330e1a(0x3bc)])(_0xfe1c9f,_0x21702f);}[_0x4b6d1a(0x227)](_0x28778d){const _0x432a7f=_0x4b6d1a;return _0x28778d&&Number[_0x432a7f(0x48a)](_0x28778d[_0x432a7f(0x15e)])&&Number[_0x432a7f(0x48a)](_0x28778d[_0x432a7f(0x2b5)])&&Number[_0x432a7f(0x48a)](_0x28778d['width'])&&Number[_0x432a7f(0x48a)](_0x28778d['height'])?{'left':_0x28778d['left'],'top':_0x28778d[_0x432a7f(0x2b5)],'width':_0x28778d[_0x432a7f(0x155)],'height':_0x28778d['height']}:null;}[_0x4b6d1a(0x424)](_0x410097,_0x46133f){const _0x19b19d=_0x4b6d1a;return Object[_0x19b19d(0x14d)](_0x410097)[_0x19b19d(0x34d)](_0x2ccf14=>{const _0x22ac7e=_0x19b19d;var _0x2a00a6;return((_0x2a00a6=(0x0,_0x312ad4[_0x22ac7e(0x15b)])(_0x2ccf14[_0x22ac7e(0x16a)]))==null?void 0x0:_0x2a00a6[_0x22ac7e(0x1dc)])===_0x46133f;})[_0x19b19d(0x4c4)]((_0x6bec55,_0x1e088f)=>_0x6bec55+0x1+this['_countDescendants'](_0x410097,_0x1e088f[_0x19b19d(0x47d)]),0x0);}[_0x4b6d1a(0x4b6)](_0x56f9c3){const _0x414ee6=_0x4b6d1a;if(!this[_0x414ee6(0x1ab)])return;let _0x564e60=this[_0x414ee6(0x45f)][_0x414ee6(0x22a)](),_0x26cb0a=_0x2b5995(_0x56f9c3,{'panOffset':_0x564e60['viewportPanOffset'],'zoomRatio':_0x564e60[_0x414ee6(0x1e7)]});this[_0x414ee6(0x1ab)][_0x414ee6(0x442)](this[_0x414ee6(0x1ab)]['getHitControl'](_0x26cb0a));}[_0x4b6d1a(0x217)](_0x408cb3){const _0x5303e0=_0x4b6d1a;if(!this['_object']||!this['_activeNodeId']||(_0x408cb3[_0x5303e0(0x189)]??0x0)!==0x0)return!0x1;let _0x291863=this[_0x5303e0(0x425)][_0x5303e0(0x1e2)]()[_0x5303e0(0x209)];if(!_0x291863)return!0x1;let _0x361026=this[_0x5303e0(0x45f)]['getState'](),_0x5036c7=_0x2b5995(_0x408cb3,{'panOffset':_0x361026[_0x5303e0(0x364)],'zoomRatio':_0x361026[_0x5303e0(0x1e7)]}),_0x195113=this['_object']['getHitControl'](_0x5036c7);if(!_0x195113)return!0x1;if(_0x195113['kind']===_0x5303e0(0x132))return this['_executeAndLayout'](_0x312ad4[_0x5303e0(0x29f)]['id'],{'unitId':_0x291863['unitId'],'subUnitId':_0x291863[_0x5303e0(0x430)],'nodeId':this['_activeNodeId']}),!0x0;if(_0x195113[_0x5303e0(0x23d)]===_0x5303e0(0x461)||_0x195113[_0x5303e0(0x23d)]===_0x5303e0(0x3fe)||_0x195113['kind']===_0x5303e0(0x342)||_0x195113[_0x5303e0(0x23d)]==='add-child-bottom'){let _0x43e8c8=(0x0,_0x16f5c0[_0x5303e0(0x323)])(0x6);return this['_executeCreateAndEdit'](_0x312ad4[_0x5303e0(0x158)]['id'],{'unitId':_0x291863['unitId'],'subUnitId':_0x291863[_0x5303e0(0x430)],'parentNodeId':this[_0x5303e0(0x42a)],'side':this['_resolveCreateChildSide'](_0x195113[_0x5303e0(0x23d)]),'nodeId':_0x43e8c8,'connectorId':(0x0,_0x16f5c0[_0x5303e0(0x323)])(0x6),'text':this['_localeService']['t']('boards-mind-ui.panel.addText')},_0x43e8c8),!0x0;}if(_0x195113[_0x5303e0(0x23d)]===_0x5303e0(0x457)||_0x195113['kind']===_0x5303e0(0x408)){let _0x46fef9=(0x0,_0x16f5c0[_0x5303e0(0x323)])(0x6);return this[_0x5303e0(0x4c3)](_0x312ad4[_0x5303e0(0x194)]['id'],{'unitId':_0x291863[_0x5303e0(0x3d9)],'subUnitId':_0x291863['subUnitId'],'nodeId':this[_0x5303e0(0x42a)],'placement':_0x195113[_0x5303e0(0x482)]??(_0x195113[_0x5303e0(0x23d)]==='add-sibling-before'?'before':'after'),'siblingNodeId':_0x46fef9,'connectorId':(0x0,_0x16f5c0[_0x5303e0(0x323)])(0x6),'text':this[_0x5303e0(0x33d)]['t'](_0x5303e0(0x445))},_0x46fef9),!0x0;}return!0x0;}[_0x4b6d1a(0x28b)](_0x14d8a9){const _0x178b15=_0x4b6d1a;if(!this['_object']||(_0x14d8a9[_0x178b15(0x189)]??0x0)!==0x0)return!0x1;let _0x2c802c=this[_0x178b15(0x45f)][_0x178b15(0x22a)](),_0x34418f=_0x2b5995(_0x14d8a9,{'panOffset':_0x2c802c['viewportPanOffset'],'zoomRatio':_0x2c802c[_0x178b15(0x1e7)]});return!!this['_object']['getHitControl'](_0x34418f);}[_0x4b6d1a(0x483)](_0x1e1950,_0x540d61){const _0x599806=_0x4b6d1a;var _0x499ec6,_0x208317;_0x540d61[_0x599806(0x437)](),(_0x499ec6=_0x1e1950[_0x599806(0x3e6)])==null||_0x499ec6[_0x599806(0x38b)](_0x1e1950),(_0x208317=_0x1e1950[_0x599806(0x437)])==null||_0x208317[_0x599806(0x38b)](_0x1e1950);}[_0x4b6d1a(0x1ed)](_0x1b7a80,_0x1e43ac){const _0x3a631e=_0x4b6d1a;let _0x1ae382=this[_0x3a631e(0x4c7)];this[_0x3a631e(0x1bb)][_0x3a631e(0x17d)](_0x1e43ac['unitId'],()=>{const _0x1dd576=_0x3a631e;!this['_commandService'][_0x1dd576(0x361)](_0x1b7a80,_0x1e43ac)||!_0x1ae382||(this[_0x1dd576(0x1fa)][_0x1dd576(0x361)](_0x312ad4[_0x1dd576(0x30e)]['id'],{'unitId':_0x1e43ac['unitId'],'subUnitId':_0x1e43ac['subUnitId'],'scopeId':_0x1ae382}),this['_syncControls']());});}['_executeCreateAndEdit'](_0x366f0f,_0x5a72b8,_0x3d05c9){const _0x476b34=_0x4b6d1a;let _0xe6da52={'unitId':_0x5a72b8[_0x476b34(0x3d9)],'subUnitId':_0x5a72b8[_0x476b34(0x430)]},_0x14f64e=this['_commandService'][_0x476b34(0x39f)](_0x366f0f,_0x5a72b8);Promise['resolve'](_0x14f64e)['then'](_0x52afaa=>{const _0x43ff34=_0x476b34;_0x52afaa&&(this[_0x43ff34(0x284)](),this['_elementStateService'][_0x43ff34(0x1b7)](_0xe6da52,[_0x3d05c9],_0x3d05c9),this[_0x43ff34(0x4b0)][_0x43ff34(0x166)](),this[_0x43ff34(0x4b0)]['setEditing']({..._0xe6da52,'shapeId':_0x3d05c9,'shapeKey':(0x0,_0x3a2313[_0x43ff34(0x192)])(_0xe6da52[_0x43ff34(0x3d9)],_0x3d05c9),'visible':!0x0}));});}};_0x48a36a=_0x4d6662([_0x400c84(0x1,(0x0,_0x16f5c0[_0x4b6d1a(0x43e)])(_0xef9e20[_0x4b6d1a(0x40e)])),_0x400c84(0x2,(0x0,_0x16f5c0[_0x4b6d1a(0x43e)])(_0x3a2313[_0x4b6d1a(0x2ae)])),_0x400c84(0x3,(0x0,_0x16f5c0[_0x4b6d1a(0x43e)])(_0x3a2313[_0x4b6d1a(0x392)])),_0x400c84(0x4,_0x16f5c0[_0x4b6d1a(0x422)]),_0x400c84(0x5,(0x0,_0x16f5c0[_0x4b6d1a(0x43e)])(_0x3a2313[_0x4b6d1a(0x120)])),_0x400c84(0x6,(0x0,_0x16f5c0[_0x4b6d1a(0x43e)])(_0x16f5c0[_0x4b6d1a(0x183)])),_0x400c84(0x7,(0x0,_0x16f5c0[_0x4b6d1a(0x43e)])(_0xe10e21)),_0x400c84(0x8,(0x0,_0x16f5c0['Inject'])(_0x26e0d4[_0x4b6d1a(0x4a3)]))],_0x48a36a);let _0x5eb638=_0x4b6d1a(0x176),_0x279610=class extends _0x16f5c0[_0x4b6d1a(0x1e1)]{constructor(_0x36cf86,_0xb8aa4b){const _0x34154a=_0x4b6d1a;super(),this[_0x34154a(0x1fa)]=_0x36cf86,this['_shortcutService']=_0xb8aa4b,this['_init']();}[_0x4b6d1a(0x32c)](){const _0x2f4f19=_0x4b6d1a;this[_0x2f4f19(0x3ef)](this[_0x2f4f19(0x481)][_0x2f4f19(0x1f2)](this[_0x2f4f19(0x308)]()));}['_createQuoteShortcut'](){const _0x21fb68=_0x4b6d1a;return{'id':_0x36b7c4[_0x21fb68(0x41b)],'binding':_0x26e0d4[_0x21fb68(0x19d)][_0x21fb68(0x140)]|_0x26e0d4[_0x21fb68(0x32e)][_0x21fb68(0x41f)],'priority':0x3e8,'preconditions':_0x119915=>_0x119915[_0x21fb68(0x4c6)](_0x21fb68(0x176))&&this[_0x21fb68(0x1fa)][_0x21fb68(0x3bb)](_0x36b7c4[_0x21fb68(0x41b)])};}};_0x279610=_0x4d6662([_0x400c84(0x0,_0x16f5c0[_0x4b6d1a(0x422)]),_0x400c84(0x1,_0x26e0d4[_0x4b6d1a(0x2aa)])],_0x279610);let _0x1878a0=[_0x1cac61,_0x14c9df,_0x5eb638],_0x5137ea=class extends _0x16f5c0[_0x4b6d1a(0x1e1)]{constructor(_0x59b57f,_0xe02dfe,_0x558f8c,_0x47fa94,_0x5e9193){const _0x418bbc=_0x4b6d1a;super(),this['_renderContext']=_0x59b57f,this[_0x418bbc(0x258)]=_0xe02dfe,this[_0x418bbc(0x425)]=_0x558f8c,this['_textEditingService']=_0x47fa94,this[_0x418bbc(0x49f)]=_0x5e9193,_0x4ad85c(this,_0x418bbc(0x2c8),!0x1),this['disposeWithMe']((0x0,_0x16f5c0[_0x418bbc(0x3c7)])(this[_0x418bbc(0x349)][_0x418bbc(0x2b3)][_0x418bbc(0x302)]((0x0,_0x21bd08[_0x418bbc(0x28a)])(this['dispose$']))[_0x418bbc(0x25d)](_0xcf1408=>{const _0x161113=_0x418bbc;this[_0x161113(0x2c8)]=_0xcf1408,this['_syncContext']();}))),this[_0x418bbc(0x3ef)]((0x0,_0x16f5c0[_0x418bbc(0x3c7)])(this['_elementStateService']['state$'][_0x418bbc(0x302)]((0x0,_0x21bd08['takeUntil'])(this[_0x418bbc(0x3d1)]))[_0x418bbc(0x25d)](()=>{const _0x4a6811=_0x418bbc;this[_0x4a6811(0x1f6)]();}))),this['disposeWithMe']((0x0,_0x16f5c0['toDisposable'])(this[_0x418bbc(0x33e)]['editingParams$'][_0x418bbc(0x302)]((0x0,_0x21bd08[_0x418bbc(0x28a)])(this[_0x418bbc(0x3d1)]))[_0x418bbc(0x25d)](()=>{const _0x4c7fc1=_0x418bbc;this[_0x4c7fc1(0x1f6)]();}))),this[_0x418bbc(0x1f6)]();}[_0x4b6d1a(0x1f6)](){const _0x720f3a=_0x4b6d1a;var _0x1060f1,_0x1ab8f2;let _0x3348bc=this[_0x720f3a(0x425)][_0x720f3a(0x1e2)](),_0x1f8cf6=this[_0x720f3a(0x33e)][_0x720f3a(0x329)](),_0x31da47=_0x1f8cf6!=null&&_0x1f8cf6[_0x720f3a(0x4d1)]?_0x1f8cf6[_0x720f3a(0x202)]:_0x3348bc[_0x720f3a(0x154)],_0x268ef2=_0x3348bc['focusedId']??_0x3348bc[_0x720f3a(0x23a)][0x0],_0x107a32=_0x3348bc[_0x720f3a(0x209)]??{'unitId':this[_0x720f3a(0x349)][_0x720f3a(0x3d9)],'subUnitId':this[_0x720f3a(0x349)]['unit'][_0x720f3a(0x4d9)]()},_0x538fd9=this[_0x720f3a(0x2c8)]&&!!_0x268ef2&&_0x3348bc['selectedIds']['length']===0x1&&!_0x31da47&&!_0x3348bc[_0x720f3a(0x2c2)],_0x4f5ed1=this[_0x720f3a(0x2c8)]?this[_0x720f3a(0x258)][_0x720f3a(0x270)](_0x107a32['unitId'],_0x107a32[_0x720f3a(0x430)]):{};this[_0x720f3a(0x49f)]['setContextValue'](_0x1cac61,_0x538fd9&&!!(0x0,_0x312ad4['getMindMapNodeMeta'])((_0x1060f1=_0x4f5ed1[_0x268ef2])==null?void 0x0:_0x1060f1['element'])),this[_0x720f3a(0x49f)][_0x720f3a(0x438)](_0x14c9df,this['_isActive']&&_0x3348bc[_0x720f3a(0x23a)][_0x720f3a(0x489)]===0x0&&!_0x3348bc[_0x720f3a(0x3c6)]&&!_0x31da47&&!_0x3348bc[_0x720f3a(0x2c2)]),this[_0x720f3a(0x49f)]['setContextValue'](_0x5eb638,!!_0x31da47&&!!(0x0,_0x312ad4[_0x720f3a(0x15b)])((_0x1ab8f2=_0x4f5ed1[_0x31da47])==null?void 0x0:_0x1ab8f2[_0x720f3a(0x16a)]));}[_0x4b6d1a(0x410)](){const _0x10782a=_0x4b6d1a;this[_0x10782a(0x157)](),super[_0x10782a(0x410)]();}[_0x4b6d1a(0x157)](){const _0x1c17bf=_0x4b6d1a;_0x1878a0[_0x1c17bf(0x411)](_0x3ddb70=>this[_0x1c17bf(0x49f)][_0x1c17bf(0x438)](_0x3ddb70,!0x1));}};_0x5137ea=_0x4d6662([_0x400c84(0x1,(0x0,_0x16f5c0['Inject'])(_0xef9e20['IBoardElementService'])),_0x400c84(0x2,(0x0,_0x16f5c0[_0x4b6d1a(0x43e)])(_0x3a2313[_0x4b6d1a(0x2ae)])),_0x400c84(0x3,(0x0,_0x16f5c0[_0x4b6d1a(0x43e)])(_0x3a2313[_0x4b6d1a(0x120)])),_0x400c84(0x4,_0x16f5c0[_0x4b6d1a(0x4d6)])],_0x5137ea);let _0x1f085f=[_0x4b6d1a(0x126),_0x4b6d1a(0x379),_0x4b6d1a(0x324)];_0x312ad4[_0x4b6d1a(0x377)][_0x4b6d1a(0x228)],_0x312ad4['MIND_MAP_DEFAULT_LAYOUT'][_0x4b6d1a(0x4cb)],_0x312ad4[_0x4b6d1a(0x377)][_0x4b6d1a(0x2a8)];let _0x5c4537=[{'labelKey':_0x4b6d1a(0x304),'key':_0x4b6d1a(0x228),..._0x312ad4['MIND_MAP_LAYOUT_SPACING_LIMITS'][_0x4b6d1a(0x228)]},{'labelKey':'boards-mind-ui.panel.spacing.siblingGap','key':_0x4b6d1a(0x4cb),..._0x312ad4['MIND_MAP_LAYOUT_SPACING_LIMITS'][_0x4b6d1a(0x4cb)]},{'labelKey':'boards-mind-ui.panel.spacing.branchGap','key':_0x4b6d1a(0x2a8),..._0x312ad4[_0x4b6d1a(0x49a)]['branchGap']}],_0x4c01f2=[{'labelKey':_0x4b6d1a(0x249),'value':_0x4b6d1a(0x252)},{'labelKey':'boards-mind-ui.panel.layout.left','value':_0x4b6d1a(0x15e)},{'labelKey':_0x4b6d1a(0x28e),'value':_0x4b6d1a(0x4b7)}],_0x3687a3=[{'labelKey':'boards-mind-ui.panel.structureKind.mindmapHorizontal','value':_0x4b6d1a(0x403)},{'labelKey':_0x4b6d1a(0x423),'value':_0x4b6d1a(0x135)},{'labelKey':'boards-mind-ui.panel.structureKind.treeRight','value':_0x4b6d1a(0x162)},{'labelKey':_0x4b6d1a(0x29c),'value':_0x4b6d1a(0x29d)},{'labelKey':_0x4b6d1a(0x2f0),'value':_0x4b6d1a(0x2f3)},{'labelKey':_0x4b6d1a(0x25f),'value':_0x4b6d1a(0x178)},{'labelKey':_0x4b6d1a(0x261),'value':_0x4b6d1a(0x476)}],_0x5e29c3=[{'labelKey':_0x4b6d1a(0x337),'value':_0x4b6d1a(0x1fc)},{'labelKey':_0x4b6d1a(0x2c1),'value':_0x4b6d1a(0x21d)},{'labelKey':'boards-mind-ui.panel.branchLineType.orthogonal','value':'orthogonal'}];function _0x5d413b(_0x50ac2c){const _0x1b5ee4=_0x4b6d1a;let _0xaddfb3=(_0x50ac2c==null?void 0x0:_0x50ac2c[_0x1b5ee4(0x1b6)])??_0x312ad4[_0x1b5ee4(0x377)][_0x1b5ee4(0x1b6)];return{'spacing':{'horizontalGap':(_0x50ac2c==null?void 0x0:_0x50ac2c['horizontalGap'])??_0x312ad4[_0x1b5ee4(0x377)][_0x1b5ee4(0x228)],'siblingGap':(_0x50ac2c==null?void 0x0:_0x50ac2c[_0x1b5ee4(0x4cb)])??_0x312ad4[_0x1b5ee4(0x377)][_0x1b5ee4(0x4cb)],'branchGap':(_0x50ac2c==null?void 0x0:_0x50ac2c['branchGap'])??_0x312ad4['MIND_MAP_DEFAULT_LAYOUT'][_0x1b5ee4(0x2a8)]},'direction':(_0x50ac2c==null?void 0x0:_0x50ac2c[_0x1b5ee4(0x452)])??_0x312ad4[_0x1b5ee4(0x377)][_0x1b5ee4(0x452)],'structureKind':_0xaddfb3,'branchLineType':(0x0,_0x312ad4[_0x1b5ee4(0x20f)])(_0xaddfb3,_0x50ac2c==null?void 0x0:_0x50ac2c['branchLineType'])};}async function _0x10ca49(_0x4413c2,_0x3e8b42){const _0x2238bf=_0x4b6d1a;return await Promise[_0x2238bf(0x493)](_0x4413c2[_0x2238bf(0x39f)](_0x312ad4['ChangeMindMapLayoutOperation']['id'],_0x3e8b42))?(await Promise[_0x2238bf(0x493)](_0x4413c2['executeCommand'](_0x312ad4[_0x2238bf(0x30e)]['id'],{'unitId':_0x3e8b42['unitId'],'subUnitId':_0x3e8b42[_0x2238bf(0x430)],'scopeId':_0x3e8b42['scopeId']})),!0x0):!0x1;}async function _0x1db4e1(_0x43535c,_0x2c4bdf){const _0x5af6c8=_0x4b6d1a;return await Promise['resolve'](_0x43535c['executeCommand'](_0x312ad4[_0x5af6c8(0x499)]['id'],_0x2c4bdf))?(await Promise[_0x5af6c8(0x493)](_0x43535c['executeCommand'](_0x312ad4[_0x5af6c8(0x30e)]['id'],{'unitId':_0x2c4bdf['unitId'],'subUnitId':_0x2c4bdf[_0x5af6c8(0x430)],'scopeId':_0x2c4bdf[_0x5af6c8(0x3d8)]})),!0x0):!0x1;}async function _0x351d66(_0x163429,_0x3191ef){const _0x4d1125=_0x4b6d1a;return await Promise[_0x4d1125(0x493)](_0x163429['executeCommand'](_0x312ad4[_0x4d1125(0x2a3)]['id'],{'unitId':_0x3191ef[_0x4d1125(0x3d9)],'subUnitId':_0x3191ef[_0x4d1125(0x430)],'scopeId':_0x3191ef[_0x4d1125(0x3d8)],..._0x3191ef[_0x4d1125(0x228)]===void 0x0?{}:{'horizontalGap':_0x3191ef[_0x4d1125(0x228)]},..._0x3191ef[_0x4d1125(0x4cb)]===void 0x0?{}:{'siblingGap':_0x3191ef[_0x4d1125(0x4cb)]},..._0x3191ef[_0x4d1125(0x2a8)]===void 0x0?{}:{'branchGap':_0x3191ef[_0x4d1125(0x2a8)]}}))?(await Promise[_0x4d1125(0x493)](_0x163429['executeCommand'](_0x312ad4[_0x4d1125(0x30e)]['id'],{'unitId':_0x3191ef[_0x4d1125(0x3d9)],'subUnitId':_0x3191ef[_0x4d1125(0x430)],'scopeId':_0x3191ef[_0x4d1125(0x3d8)]})),!0x0):!0x1;}async function _0x3dd44c(_0x415388,_0x3fc9fb){const _0x35fd45=_0x4b6d1a;return _0x3fc9fb[_0x35fd45(0x462)]===_0x3fc9fb[_0x35fd45(0x206)]||!await Promise[_0x35fd45(0x493)](_0x415388[_0x35fd45(0x39f)](_0x312ad4[_0x35fd45(0x47b)]['id'],{'unitId':_0x3fc9fb['unitId'],'subUnitId':_0x3fc9fb[_0x35fd45(0x430)],'nodeId':_0x3fc9fb['nodeId'],'targetNodeId':_0x3fc9fb['targetNodeId'],'referenceNodeId':_0x3fc9fb[_0x35fd45(0x206)],'placement':_0x3fc9fb[_0x35fd45(0x482)]}))?!0x1:(await Promise[_0x35fd45(0x493)](_0x415388['executeCommand'](_0x312ad4[_0x35fd45(0x30e)]['id'],{'unitId':_0x3fc9fb[_0x35fd45(0x3d9)],'subUnitId':_0x3fc9fb[_0x35fd45(0x430)],'scopeId':_0x3fc9fb[_0x35fd45(0x3d8)]})),!0x0);}async function _0x391dad(_0x5b728f,_0x5eae8f){const _0x4f6822=_0x4b6d1a;let _0x509fa2=_0x5eae8f[_0x4f6822(0x13f)][_0x4f6822(0x351)]();return!_0x509fa2||!await Promise[_0x4f6822(0x493)](_0x5b728f['executeCommand'](_0x312ad4['UpdateMindMapNodeOperation']['id'],{'unitId':_0x5eae8f[_0x4f6822(0x3d9)],'subUnitId':_0x5eae8f['subUnitId'],'nodeId':_0x5eae8f[_0x4f6822(0x462)],'text':_0x509fa2}))?!0x1:(await Promise[_0x4f6822(0x493)](_0x5b728f['executeCommand'](_0x312ad4[_0x4f6822(0x30e)]['id'],{'unitId':_0x5eae8f[_0x4f6822(0x3d9)],'subUnitId':_0x5eae8f['subUnitId'],'scopeId':_0x5eae8f['scopeId']})),!0x0);}async function _0x21988c(_0x2d4e94){const _0x54da75=_0x4b6d1a;var _0x192dc2;let _0x330f64=(_0x192dc2=globalThis[_0x54da75(0x1ba)])==null?void 0x0:_0x192dc2['clipboard'];return _0x330f64!=null&&_0x330f64['writeText']?(await _0x330f64[_0x54da75(0x1d6)](_0x2d4e94),!0x0):!0x1;}async function _0x240e6c(_0x1d1012,_0x22c827,_0x26482d=_0x21988c){const _0x14ba10=_0x4b6d1a;let _0x218457=await Promise[_0x14ba10(0x493)](_0x1d1012[_0x14ba10(0x39f)](_0x312ad4[_0x14ba10(0x26e)]['id'],_0x22c827));if(typeof _0x218457!=_0x14ba10(0x46c)||!_0x218457)return!0x1;try{return await _0x26482d(_0x218457)!==!0x1;}catch{return!0x1;}}async function _0x2a4654(_0x3aeab4,_0x339756){const _0x288f2b=_0x4b6d1a;if(!_0x339756[_0x288f2b(0x145)][_0x288f2b(0x351)]())return!0x1;let _0x3788cf=await Promise[_0x288f2b(0x493)](_0x3aeab4[_0x288f2b(0x39f)](_0x312ad4[_0x288f2b(0x1b1)]['id'],_0x339756));return typeof _0x3788cf==_0x288f2b(0x496)&&!!_0x3788cf&&_0x3788cf[_0x288f2b(0x4cf)]===!0x0;}function _0x493df0(_0x4b859b,_0x1c7df2){const _0x218f9e=_0x4b6d1a;let _0x26c81f=_0x1c7df2[_0x218f9e(0x351)]()['toLowerCase']();return _0x26c81f?_0x4b859b[_0x218f9e(0x34d)](_0x167a0d=>_0x167a0d['text'][_0x218f9e(0x498)]()[_0x218f9e(0x1f4)](_0x26c81f)):_0x4b859b;}function _0x1e58f2(_0x5ceb71){const _0x11752c=_0x4b6d1a;return{'paddingInlineStart':0x8+(Number[_0x11752c(0x48a)](_0x5ceb71)&&_0x5ceb71>0x0?_0x5ceb71:0x0)*0x10};}function _0x2d5aa9(_0xe9ee8e){const _0x4c65c8=_0x4b6d1a;return(0x0,_0x7279b0['jsxs'])(_0x4c65c8(0x2c9),{'className':(0x0,_0x1ba6fa[_0x4c65c8(0x494)])(_0x4c65c8(0x2a1),_0x1ba6fa[_0x4c65c8(0x3b2)]),'data-board-mind-map-panel-section':'true','children':[(0x0,_0x7279b0[_0x4c65c8(0x492)])('h3',{'className':_0x4c65c8(0x1a3),'children':_0xe9ee8e[_0x4c65c8(0x3f3)]}),_0xe9ee8e[_0x4c65c8(0x3b1)]]});}function _0x39dacb(_0x277f99){const _0x2f75c5=_0x4b6d1a;let _0x52db9a=(0x0,_0x26e0d4[_0x2f75c5(0x37d)])(_0x16f5c0[_0x2f75c5(0x422)]),_0x339b3d=(0x0,_0x26e0d4[_0x2f75c5(0x37d)])(_0x3a2313[_0x2f75c5(0x2ae)]),_0x1097d8=(0x0,_0x26e0d4[_0x2f75c5(0x37d)])(_0x16f5c0[_0x2f75c5(0x183)]),_0x3d7cfe=_0x277f99['outlineItems']??[],[_0x41396d,_0x1ae3c5]=(0x0,_0x2caf77[_0x2f75c5(0x1df)])(''),[_0x4381f0,_0x3416a8]=(0x0,_0x2caf77[_0x2f75c5(0x1df)])(null),[_0x242fdc,_0x2a1bc2]=(0x0,_0x2caf77[_0x2f75c5(0x1df)])(''),_0x46be55=_0x5d413b(_0x277f99[_0x2f75c5(0x379)]),[_0x1da5f7,_0x197ce7]=(0x0,_0x2caf77[_0x2f75c5(0x1df)])(_0x46be55[_0x2f75c5(0x37a)]),[_0x17772d,_0x24c7da]=(0x0,_0x2caf77['useState'])(_0x46be55[_0x2f75c5(0x452)]),[_0x2a05e6,_0x572203]=(0x0,_0x2caf77[_0x2f75c5(0x1df)])(_0x46be55[_0x2f75c5(0x1b6)]),[_0x23797a,_0x136bbe]=(0x0,_0x2caf77[_0x2f75c5(0x1df)])(_0x46be55['branchLineType']),[_0x4f76aa,_0x13d61d]=(0x0,_0x2caf77['useState'])({'layout':_0x277f99['layout'],'scopeId':_0x277f99[_0x2f75c5(0x3d8)]}),[_0x208cdf,_0x554053]=(0x0,_0x2caf77['useState'])(null),[_0x4729ae,_0x3a783f]=(0x0,_0x2caf77[_0x2f75c5(0x1df)])(_0x2f75c5(0x126)),_0x3a8a73=_0x493df0(_0x3d7cfe,_0x41396d),_0x289cae={'unitId':_0x277f99[_0x2f75c5(0x3d9)],'subUnitId':_0x277f99[_0x2f75c5(0x430)],'scopeId':_0x277f99[_0x2f75c5(0x3d8)]},_0x16de99=_0x1f085f[_0x2f75c5(0x2e5)](_0x25ab9b=>({'label':_0x1097d8['t']('boards-mind-ui.panel.tab.'+_0x25ab9b),'value':_0x25ab9b})),_0x264485=_0x5e29c3[_0x2f75c5(0x34d)](_0x118efa=>_0x118efa[_0x2f75c5(0x2e0)]!==_0x2f75c5(0x1fc)||(0x0,_0x312ad4[_0x2f75c5(0x2ab)])(_0x2a05e6)),_0x1b37e7=_0x2a817a=>{_0x24c7da(_0x2a817a),_0x10ca49(_0x52db9a,{..._0x289cae,'direction':_0x2a817a});};if(_0x4f76aa['layout']!==_0x277f99['layout']||_0x4f76aa[_0x2f75c5(0x3d8)]!==_0x277f99['scopeId']){let _0x4137e5=_0x5d413b(_0x277f99[_0x2f75c5(0x379)]);_0x13d61d({'layout':_0x277f99[_0x2f75c5(0x379)],'scopeId':_0x277f99['scopeId']}),_0x197ce7(_0x4137e5[_0x2f75c5(0x37a)]),_0x24c7da(_0x4137e5[_0x2f75c5(0x452)]),_0x572203(_0x4137e5['structureKind']),_0x136bbe(_0x4137e5['branchLineType']);}let _0x4985d7=_0x261ff5=>{const _0x50d01b=_0x2f75c5;let _0x40071e=(0x0,_0x312ad4[_0x50d01b(0x20f)])(_0x261ff5,_0x23797a);_0x572203(_0x261ff5),_0x136bbe(_0x40071e),_0x10ca49(_0x52db9a,{..._0x289cae,'structureKind':_0x261ff5,..._0x40071e===_0x23797a?null:{'branchLineType':_0x40071e}});},_0x52e2e5=_0x480183=>{let _0x5cfe3a=(0x0,_0x312ad4['resolveMindMapBranchLineTypeForStructure'])(_0x2a05e6,_0x480183);_0x136bbe(_0x5cfe3a),_0x1db4e1(_0x52db9a,{..._0x289cae,'branchLineType':_0x5cfe3a});},_0x30491e=(_0x377991,_0x482e2b)=>{let _0x239705={..._0x1da5f7,[_0x377991]:_0x482e2b};_0x197ce7(_0x239705),_0x351d66(_0x52db9a,{..._0x289cae,..._0x239705});},_0x2f3aec=()=>{const _0x22cd3d=_0x2f75c5;_0x2a4654(_0x52db9a,{'unitId':_0x277f99['unitId'],'subUnitId':_0x277f99[_0x22cd3d(0x430)],'left':0x78,'top':0x78,'opml':_0x242fdc})[_0x22cd3d(0x138)](_0x5aae95=>{_0x5aae95&&_0x2a1bc2('');});},_0x6e9b03=()=>{_0x240e6c(_0x52db9a,_0x289cae);},_0x574fb7=(_0x49a231,_0x416c45)=>{_0x3416a8({'nodeId':_0x49a231,'text':_0x416c45});},_0x189586=()=>{const _0x4a3b57=_0x2f75c5;_0x4381f0&&_0x391dad(_0x52db9a,{..._0x289cae,'nodeId':_0x4381f0[_0x4a3b57(0x462)],'text':_0x4381f0[_0x4a3b57(0x13f)]})['then'](_0x2e2abd=>{_0x2e2abd&&_0x3416a8(null);});},_0x9c8fcc=(_0x20e1e4,_0x10a824)=>{const _0x6f678b=_0x2f75c5;if(_0x20e1e4[_0x6f678b(0x3e6)](),!_0x208cdf||_0x208cdf===_0x10a824)return;let _0x159832=_0x20e1e4[_0x6f678b(0x3a2)]['getBoundingClientRect'](),_0x2368a5=_0x20e1e4[_0x6f678b(0x2e1)]<_0x159832[_0x6f678b(0x2b5)]+_0x159832[_0x6f678b(0x398)]/0x2?_0x6f678b(0x2d5):_0x6f678b(0x27a);_0x554053(null),_0x3dd44c(_0x52db9a,{..._0x289cae,'nodeId':_0x208cdf,'targetNodeId':_0x10a824,'placement':_0x2368a5});};return(0x0,_0x7279b0[_0x2f75c5(0x24c)])(_0x2f75c5(0x1aa),{'className':_0x2f75c5(0x237),'data-board-mind-map-panel':_0x2f75c5(0x473),'children':[(0x0,_0x7279b0[_0x2f75c5(0x492)])(_0x2f75c5(0x1aa),{'className':(0x0,_0x1ba6fa[_0x2f75c5(0x494)])(_0x2f75c5(0x24d),_0x1ba6fa[_0x2f75c5(0x3b2)]),'data-board-mind-map-panel-tabs':_0x2f75c5(0x473),'children':(0x0,_0x7279b0['jsx'])(_0x1ba6fa[_0x2f75c5(0x17c)],{'className':'univer-w-full\x20univer-text-xs','items':_0x16de99,'value':_0x4729ae,'onChange':_0xbdc8e1=>_0x3a783f(_0xbdc8e1)})}),_0x4729ae===_0x2f75c5(0x126)&&(0x0,_0x7279b0[_0x2f75c5(0x492)])(_0x2d5aa9,{'title':_0x1097d8['t']('boards-mind-ui.panel.tab.structure'),'children':(0x0,_0x7279b0[_0x2f75c5(0x24c)])(_0x2f75c5(0x1aa),{'children':[(0x0,_0x7279b0[_0x2f75c5(0x492)])(_0x1ba6fa[_0x2f75c5(0x1ec)],{'slot':(0x0,_0x7279b0['jsx'])(_0x50ccd0,{}),'value':_0x41396d,'placeholder':_0x1097d8['t'](_0x2f75c5(0x27c)),'className':_0x2f75c5(0x2c5),'onChange':_0x1ae3c5}),_0x3a8a73[_0x2f75c5(0x489)]?(0x0,_0x7279b0[_0x2f75c5(0x492)])('ol',{'className':'univer-space-y-1','children':_0x3a8a73[_0x2f75c5(0x2e5)](_0x5cd5c1=>(0x0,_0x7279b0['jsx'])('li',{'draggable':!0x0,'className':'univer-flex\x20univer-items-center\x20univer-gap-1\x20univer-truncate\x20univer-rounded\x20univer-py-1\x20univer-text-left\x20univer-text-gray-800','style':_0x1e58f2(_0x5cd5c1[_0x2f75c5(0x1d3)]),'onDragStart':_0x41881a=>{const _0xb16e50=_0x2f75c5;var _0x3e4772;_0x554053(_0x5cd5c1[_0xb16e50(0x462)]),(_0x3e4772=_0x41881a[_0xb16e50(0x28c)])==null||_0x3e4772[_0xb16e50(0x405)](_0xb16e50(0x259),_0x5cd5c1['nodeId']),_0x41881a[_0xb16e50(0x28c)]&&(_0x41881a[_0xb16e50(0x28c)][_0xb16e50(0x1e8)]='move');},'onDragOver':_0x59efcf=>{const _0x6cbac=_0x2f75c5;_0x59efcf['preventDefault'](),_0x59efcf[_0x6cbac(0x28c)]&&(_0x59efcf['dataTransfer'][_0x6cbac(0x46e)]=_0x6cbac(0x1cd));},'onDrop':_0xae5674=>_0x9c8fcc(_0xae5674,_0x5cd5c1[_0x2f75c5(0x462)]),'onDragEnd':()=>_0x554053(null),'children':(_0x4381f0==null?void 0x0:_0x4381f0['nodeId'])===_0x5cd5c1[_0x2f75c5(0x462)]?(0x0,_0x7279b0[_0x2f75c5(0x24c)])(_0x2f75c5(0x1aa),{'className':_0x2f75c5(0x269),'children':[(0x0,_0x7279b0[_0x2f75c5(0x492)])(_0x1ba6fa[_0x2f75c5(0x1ec)],{'autoFocus':!0x0,'size':_0x2f75c5(0x2d4),'value':_0x4381f0[_0x2f75c5(0x13f)],'onChange':_0x54c4a4=>_0x3416a8({'nodeId':_0x5cd5c1[_0x2f75c5(0x462)],'text':_0x54c4a4}),'onKeyDown':_0x12b431=>{const _0x57f81b=_0x2f75c5;_0x12b431[_0x57f81b(0x274)]===_0x57f81b(0x37b)&&_0x189586(),_0x12b431[_0x57f81b(0x274)]===_0x57f81b(0x339)&&_0x3416a8(null);}}),(0x0,_0x7279b0['jsx'])(_0x1ba6fa['Button'],{'size':_0x2f75c5(0x2d4),'variant':'primary','disabled':!_0x4381f0[_0x2f75c5(0x13f)][_0x2f75c5(0x351)](),'onClick':_0x189586,'children':_0x1097d8['t'](_0x2f75c5(0x22c))}),(0x0,_0x7279b0['jsx'])(_0x1ba6fa[_0x2f75c5(0x225)],{'size':'small','variant':_0x2f75c5(0x312),'onClick':()=>_0x3416a8(null),'children':_0x1097d8['t'](_0x2f75c5(0x34f))})]}):(0x0,_0x7279b0[_0x2f75c5(0x24c)])(_0x7279b0[_0x2f75c5(0x1bf)],{'children':[(0x0,_0x7279b0[_0x2f75c5(0x492)])(_0x1ba6fa['Button'],{'size':_0x2f75c5(0x2d4),'variant':_0x2f75c5(0x376),'className':_0x2f75c5(0x428),'onClick':()=>_0x339b3d[_0x2f75c5(0x1b7)]({'unitId':_0x277f99[_0x2f75c5(0x3d9)],'subUnitId':_0x277f99[_0x2f75c5(0x430)]},[_0x5cd5c1[_0x2f75c5(0x462)]],_0x5cd5c1['nodeId']),'children':_0x5cd5c1[_0x2f75c5(0x13f)]}),(0x0,_0x7279b0[_0x2f75c5(0x492)])(_0x1ba6fa[_0x2f75c5(0x225)],{'className':_0x2f75c5(0x1be),'size':_0x2f75c5(0x2d4),'variant':_0x2f75c5(0x312),'onClick':()=>_0x574fb7(_0x5cd5c1[_0x2f75c5(0x462)],_0x5cd5c1[_0x2f75c5(0x13f)]),'children':_0x1097d8['t'](_0x2f75c5(0x22c))})]})},_0x5cd5c1[_0x2f75c5(0x462)]))}):(0x0,_0x7279b0[_0x2f75c5(0x492)])(_0x2f75c5(0x1aa),{'className':_0x2f75c5(0x3f2),'data-board-mind-map-panel-empty-state':_0x2f75c5(0x473),'children':_0x1097d8['t'](_0x2f75c5(0x34b))})]})}),_0x4729ae===_0x2f75c5(0x379)&&(0x0,_0x7279b0[_0x2f75c5(0x492)])(_0x2d5aa9,{'title':_0x1097d8['t']('boards-mind-ui.panel.tab.layout'),'children':(0x0,_0x7279b0[_0x2f75c5(0x24c)])(_0x2f75c5(0x1aa),{'className':_0x2f75c5(0x156),'children':[(0x0,_0x7279b0[_0x2f75c5(0x492)])(_0x2f75c5(0x1aa),{'className':_0x2f75c5(0x4d7),'children':(0x0,_0x7279b0[_0x2f75c5(0x492)])(_0x1ba6fa[_0x2f75c5(0x17c)],{'className':'univer-w-full\x20univer-text-xs','items':_0x3687a3[_0x2f75c5(0x2e5)](_0x233a3b=>({'label':_0x1097d8['t'](_0x233a3b[_0x2f75c5(0x198)]),'value':_0x233a3b['value']})),'value':_0x2a05e6,'onChange':_0xdbb450=>_0x4985d7(_0xdbb450)})}),(0x0,_0x7279b0[_0x2f75c5(0x492)])(_0x2f75c5(0x1aa),{'className':_0x2f75c5(0x4d7),'children':(0x0,_0x7279b0[_0x2f75c5(0x492)])(_0x1ba6fa[_0x2f75c5(0x17c)],{'className':_0x2f75c5(0x419),'items':_0x4c01f2[_0x2f75c5(0x2e5)](_0x16565f=>({'label':_0x1097d8['t'](_0x16565f[_0x2f75c5(0x198)]),'value':_0x16565f[_0x2f75c5(0x2e0)]})),'value':_0x17772d,'onChange':_0x50ba4d=>_0x1b37e7(_0x50ba4d)})}),(0x0,_0x7279b0[_0x2f75c5(0x492)])('div',{'className':_0x2f75c5(0x4d7),'children':(0x0,_0x7279b0[_0x2f75c5(0x492)])(_0x1ba6fa[_0x2f75c5(0x17c)],{'className':'univer-w-full\x20univer-text-xs','items':_0x264485[_0x2f75c5(0x2e5)](_0xd03a65=>({'label':_0x1097d8['t'](_0xd03a65[_0x2f75c5(0x198)]),'value':_0xd03a65[_0x2f75c5(0x2e0)]})),'value':_0x23797a,'onChange':_0x4c63a1=>_0x52e2e5(_0x4c63a1)})}),(0x0,_0x7279b0[_0x2f75c5(0x492)])(_0x2f75c5(0x1aa),{'className':_0x2f75c5(0x2de),'children':_0x5c4537['map'](({labelKey:_0x2e1a10,key:_0x215442,min:_0x245a43,max:_0x491cdd})=>(0x0,_0x7279b0[_0x2f75c5(0x24c)])(_0x2f75c5(0x497),{'className':_0x2f75c5(0x1f5),'children':[(0x0,_0x7279b0['jsx'])(_0x2f75c5(0x39a),{'className':_0x2f75c5(0x263),'children':_0x1097d8['t']('boards-mind-ui.panel.'+_0x2e1a10)}),(0x0,_0x7279b0[_0x2f75c5(0x492)])(_0x1ba6fa[_0x2f75c5(0x11a)],{'min':_0x245a43,'max':_0x491cdd,'step':0x4,'value':_0x1da5f7[_0x215442],'precision':0x0,'className':'univer-w-24','onChange':_0x1478c3=>_0x30491e(_0x215442,Number(_0x1478c3??_0x245a43))})]},_0x215442))})]})}),_0x4729ae===_0x2f75c5(0x324)&&(0x0,_0x7279b0[_0x2f75c5(0x492)])(_0x2d5aa9,{'title':_0x1097d8['t']('boards-mind-ui.panel.tab.importExport'),'children':(0x0,_0x7279b0[_0x2f75c5(0x24c)])(_0x2f75c5(0x1aa),{'className':_0x2f75c5(0x238),'children':[(0x0,_0x7279b0[_0x2f75c5(0x492)])(_0x1ba6fa[_0x2f75c5(0x22d)],{'className':_0x2f75c5(0x1fe),'placeholder':_0x1097d8['t'](_0x2f75c5(0x2f4)),'value':_0x242fdc,'onValueChange':_0x2a1bc2}),(0x0,_0x7279b0[_0x2f75c5(0x24c)])(_0x2f75c5(0x1aa),{'className':'univer-flex\x20univer-gap-2','children':[(0x0,_0x7279b0[_0x2f75c5(0x492)])(_0x1ba6fa[_0x2f75c5(0x225)],{'size':_0x2f75c5(0x2d4),'variant':_0x2f75c5(0x30f),'disabled':!_0x242fdc[_0x2f75c5(0x351)](),'onClick':_0x2f3aec,'children':_0x1097d8['t']('boards-mind-ui.panel.importOPML')}),(0x0,_0x7279b0[_0x2f75c5(0x492)])(_0x1ba6fa[_0x2f75c5(0x225)],{'size':'small','variant':_0x2f75c5(0x312),'onClick':_0x6e9b03,'children':_0x1097d8['t'](_0x2f75c5(0x4c9))})]})]})})]});}let _0x459ea1=class extends _0x16f5c0[_0x4b6d1a(0x2ee)]{constructor(_0x380eaa){const _0x1e34f9=_0x4b6d1a;super(),this[_0x1e34f9(0x1a6)]=_0x380eaa,this['_registerComponents']();}['_registerComponents'](){const _0xf06a7=_0x4b6d1a;this[_0xf06a7(0x3ef)](this[_0xf06a7(0x1a6)][_0xf06a7(0x404)](_0x3b124f,_0x264db5)),this[_0xf06a7(0x3ef)](this[_0xf06a7(0x1a6)][_0xf06a7(0x404)](_0x25f15d,_0x2a0f27)),this[_0xf06a7(0x3ef)](this[_0xf06a7(0x1a6)][_0xf06a7(0x404)](_0xf06a7(0x418),_0x39dacb));}};_0x459ea1=_0x4d6662([_0x400c84(0x0,(0x0,_0x16f5c0[_0x4b6d1a(0x43e)])(_0x26e0d4[_0x4b6d1a(0x39c)]))],_0x459ea1);let _0x22f533=class{constructor(_0x21748f,_0x215b30,_0x1aa2fd){const _0xa87959=_0x4b6d1a;this[_0xa87959(0x45f)]=_0x21748f,this[_0xa87959(0x230)]=_0x215b30,this[_0xa87959(0x3c3)]=_0x1aa2fd;}[_0x4b6d1a(0x4a2)](_0x1546b3){const _0x38b8ea=_0x4b6d1a;var _0x395046,_0x35d32e;let _0x2aede1=(_0x395046=this[_0x38b8ea(0x3c3)][_0x38b8ea(0x43f)](_0x1546b3[_0x38b8ea(0x3d9)]))==null||(_0x35d32e=_0x395046[_0x38b8ea(0x2d8)])==null?void 0x0:_0x35d32e[_0x38b8ea(0x38b)](_0x395046),_0x5aa7da=(_0x2aede1==null?void 0x0:_0x2aede1[_0x38b8ea(0x31a)](_0x3a2313[_0x38b8ea(0x392)]))??this['_stateService'];return((_0x2aede1==null?void 0x0:_0x2aede1[_0x38b8ea(0x31a)](_0x3e1f19))??this['_insertStateService'])[_0x38b8ea(0x163)]({'rootText':_0x1546b3[_0x38b8ea(0x2df)],'structureKind':_0x1546b3['structureKind'],'branchLineType':_0x1546b3['branchLineType'],'children':_0x1546b3['children'],'blueprint':_0x1546b3[_0x38b8ea(0x3f4)]}),_0x5aa7da[_0x38b8ea(0x1ef)](!0x1),_0x5aa7da[_0x38b8ea(0x190)](),_0x5aa7da[_0x38b8ea(0x12d)](_0xef9e20[_0x38b8ea(0x131)][_0x38b8ea(0x372)]),_0x5aa7da['setPendingInsert']({'type':_0xef9e20[_0x38b8ea(0x131)][_0x38b8ea(0x372)]}),!0x0;}};_0x22f533=_0x4d6662([_0x400c84(0x0,_0x3a2313[_0x4b6d1a(0x392)]),_0x400c84(0x1,(0x0,_0x16f5c0[_0x4b6d1a(0x43e)])(_0x3e1f19)),_0x400c84(0x2,_0x5714e6[_0x4b6d1a(0x272)])],_0x22f533);let _0x33017c=[_0x726b93],_0x19d4ea=[_0x5137ea],_0x583c19=class extends _0x16f5c0['Plugin']{constructor(_0x568e9c=_0x3b9e2b,_0xb4972,_0x54af38,_0x1c4231){const _0x4e094e=_0x4b6d1a;super(),this['_config']=_0x568e9c,this[_0x4e094e(0x4d5)]=_0xb4972,this[_0x4e094e(0x2c6)]=_0x54af38,this[_0x4e094e(0x3c3)]=_0x1c4231;let {..._0x3efcfd}=(0x0,_0x16f5c0[_0x4e094e(0x440)])({},_0x3b9e2b,this[_0x4e094e(0x3f6)]);this[_0x4e094e(0x2c6)][_0x4e094e(0x13b)](_0x4e094e(0x164),_0x3efcfd);}[_0x4b6d1a(0x1b5)](){const _0x9acb48=_0x4b6d1a;_0x3a2313[_0x9acb48(0x3b8)]['registerRuntimeScopedDependencies'](this[_0x9acb48(0x4d5)],[[_0x3e1f19],[_0xe10e21]]),this['_injector'][_0x9acb48(0x3bd)]([_0x3e1f19]),this[_0x9acb48(0x4d5)]['add']([_0xe10e21]),this['_injector'][_0x9acb48(0x3bd)]([_0x22f533]),this[_0x9acb48(0x4d5)][_0x9acb48(0x3bd)]([_0x583499]),this[_0x9acb48(0x4d5)][_0x9acb48(0x3bd)]([_0x279610]),this[_0x9acb48(0x4d5)][_0x9acb48(0x3bd)]([_0x459ea1]);let _0x3dff2c=this[_0x9acb48(0x4d5)][_0x9acb48(0x31a)](_0x22f533),_0x2b01c8=this[_0x9acb48(0x4d5)][_0x9acb48(0x31a)](_0xef9e20['IBoardMindMapAdapterService']);this['disposeWithMe'](_0x2b01c8[_0x9acb48(0x33a)](_0x3dff2c)),this[_0x9acb48(0x3ef)](this['_injector'][_0x9acb48(0x31a)](_0x583499)),this[_0x9acb48(0x3ef)](this[_0x9acb48(0x4d5)][_0x9acb48(0x31a)](_0x279610)),this[_0x9acb48(0x3ef)](this[_0x9acb48(0x4d5)][_0x9acb48(0x31a)](_0x459ea1)),this[_0x9acb48(0x1c4)]();}[_0x4b6d1a(0x26c)](){const _0x142aa2=_0x4b6d1a;this['disposeWithMe'](this[_0x142aa2(0x3c3)][_0x142aa2(0x391)](_0x16f5c0[_0x142aa2(0x184)]['UNIVER_BOARD'],_0x33017c)),this[_0x142aa2(0x3ef)](this['_renderManagerService'][_0x142aa2(0x391)](_0x16f5c0[_0x142aa2(0x184)]['UNIVER_BOARD'],_0x19d4ea)),this[_0x142aa2(0x3ef)](this[_0x142aa2(0x3c3)][_0x142aa2(0x391)](_0x16f5c0['UniverInstanceType'][_0x142aa2(0x2e6)],_0x2b5d18)),this[_0x142aa2(0x3ef)](this[_0x142aa2(0x3c3)]['registerRenderModule'](_0x16f5c0[_0x142aa2(0x184)][_0x142aa2(0x2e6)],_0x48a36a)),this[_0x142aa2(0x3ef)](this['_renderManagerService'][_0x142aa2(0x391)](_0x16f5c0[_0x142aa2(0x184)][_0x142aa2(0x2e6)],_0x276865)),this[_0x142aa2(0x3ef)](this['_renderManagerService'][_0x142aa2(0x391)](_0x16f5c0[_0x142aa2(0x184)][_0x142aa2(0x2e6)],_0x5d823e)),this[_0x142aa2(0x3ef)](this['_renderManagerService'][_0x142aa2(0x391)](_0x16f5c0[_0x142aa2(0x184)][_0x142aa2(0x2e6)],_0x383aad)),this[_0x142aa2(0x3ef)](this[_0x142aa2(0x3c3)][_0x142aa2(0x391)](_0x16f5c0[_0x142aa2(0x184)][_0x142aa2(0x2e6)],_0x3f1fb5));}[_0x4b6d1a(0x1c4)](){const _0x47f5fe=_0x4b6d1a;var _0x3bdbc0,_0x569825;let _0x11df22=this[_0x47f5fe(0x46d)]();this[_0x47f5fe(0x2c6)]['setConfig'](_0x3a2313[_0x47f5fe(0x343)],{..._0x11df22,'toolbar':{..._0x11df22[_0x47f5fe(0x4a7)],'tools':{...(_0x3bdbc0=_0x11df22[_0x47f5fe(0x4a7)])==null?void 0x0:_0x3bdbc0[_0x47f5fe(0x3ed)],[_0xef9e20[_0x47f5fe(0x131)][_0x47f5fe(0x372)]]:_0x3fdf70((_0x569825=_0x11df22[_0x47f5fe(0x4a7)])==null||(_0x569825=_0x569825[_0x47f5fe(0x3ed)])==null?void 0x0:_0x569825[_0xef9e20[_0x47f5fe(0x131)][_0x47f5fe(0x372)]])}}});}[_0x4b6d1a(0x46d)](){const _0x542444=_0x4b6d1a;return this[_0x542444(0x2c6)][_0x542444(0x200)](_0x3a2313[_0x542444(0x343)])??{};}};_0x4ad85c(_0x583c19,_0x4b6d1a(0x455),'UNIVER_BOARDS_MIND_UI_PLUGIN'),_0x4ad85c(_0x583c19,_0x4b6d1a(0x215),_0x2beb2c),_0x4ad85c(_0x583c19,_0x4b6d1a(0x3cf),_0x437b0c),_0x4ad85c(_0x583c19,_0x4b6d1a(0x3ba),_0x16f5c0[_0x4b6d1a(0x184)]['UNIVER_BOARD']),_0x583c19=_0x4d6662([(0x0,_0x16f5c0[_0x4b6d1a(0x2d1)])(_0x1d47c8[_0x4b6d1a(0x153)],_0x5714e6['UniverRenderEnginePlugin'],_0xef9e20['UniverBoardsPlugin'],_0x312ad4['UniverBoardsMindPlugin'],_0x3a2313[_0x4b6d1a(0x3b8)]),_0x400c84(0x1,(0x0,_0x16f5c0['Inject'])(_0x16f5c0[_0x4b6d1a(0x12b)])),_0x400c84(0x2,_0x16f5c0['IConfigService']),_0x400c84(0x3,_0x5714e6[_0x4b6d1a(0x272)])],_0x583c19);function _0x3fdf70(_0x5d9c27){const _0x14ac12=_0x4b6d1a;return _0x5d9c27===!0x1?!0x1:typeof _0x5d9c27!=_0x14ac12(0x496)||{..._0x5d9c27,'enabled':_0x5d9c27['enabled']??!0x0};}Object[_0x4b6d1a(0x436)](_0x5692c7,'UniverBoardsMindUIPlugin',{'enumerable':!0x0,'get':function(){return _0x583c19;}});}));
1
+ function _0x5a2b(){const _0x3de2dc=['preventDefault','40962rqUJVS','JUSTIFIED','priority','board-mind-map-pending-insert-object','univer-min-h-12\x20univer-flex-1','add-child-left','_resolveCreateChildSide','ghostTextColor','registerRuntimeScopedDependencies','PasteMindMapAsNewMindMapOperation','_dragStart','hadStyleAttribute','editingParams$','_createQuoteShortcut','currentColor','_getMindMapChildren','M56\x2012v32M56\x2019c0\x204-3\x206-7\x206h-7M56\x2029c0\x204-3\x206-7\x206h-7M56\x2039c0\x204-3\x206-7\x206h-7','right-justifying-icon','univer-cursor-not-allowed\x20univer-text-gray-300\x20hover:univer-bg-transparent','_resolveHostSize','onPointerUp$','_handleElementUpdate','mind-map-stroke','borderWidth','_objectPointerDisposables','forwardRef','BoardInteractionSurfaceService','Dropdown','add','BoardElementType','TOP','Shape','isInteractionSurfaceActive','@univerjs/engine-render','items','boards-mind-ui.panel.layout.left','M1.9999\x201.89941C1.66853\x201.89941\x201.3999\x202.16804\x201.3999\x202.49941C1.3999\x202.83078\x201.66853\x203.09941\x201.9999\x203.09941H13.9999C14.3313\x203.09941\x2014.5999\x202.83078\x2014.5999\x202.49941C14.5999\x202.16804\x2014.3313\x201.89941\x2013.9999\x201.89941H1.9999Z','right','_applyPointerChildDrag','transientPreviewForeground','shapeId','collapsePlusMinDistance','find','timeline','_getBoardPointFromEvent','univer-text-sm\x20univer-font-medium\x20univer-text-gray-900\x20dark:!univer-text-gray-0','univer-flex-wrap','useReducer','UnderlineIcon','univer-bg-[#e8eefc]\x20univer-text-[#2f6fed]\x20hover:univer-bg-[#e8eefc]','kind','1.8','decorate','left','sourceBounds','onStarting','exec','boards-mind-ui.panel.exportOPML','type','ComponentManager','glyphHoverWidth','_resolveControlBounds','style','querySelectorAll','_boardCanvasPopManagerService','@univerjs/core','CopyMindMapNodeOperation','[&_input]:univer-h-12\x20[&_input]:univer-text-base','http://www.w3.org/2000/svg','add-sibling-after','StrikethroughIcon','ArrowDown','univer-min-w-[240px]','deviceType','InsertBoardMindMapOperation','collapsedDescendantCount','bold-icon','_isPointInBounds','badgeFontSize','structureScopeId','M21\x2028h38M40\x2011v34M28\x2016c7\x204\x2010\x208\x2012\x2012\x202-4\x205-8\x2012-12M28\x2040c7-4\x2010-8\x2012-12\x202\x204\x205\x208\x2012\x2012','isHit','_applyScopeTranslation','UniverBoardsMindUIPlugin','UndoRedoGroupService','getUnit','push','M13\x209C13.5523\x209\x2014\x208.55228\x2014\x208C14\x207.44772\x2013.5523\x207\x2013\x207C12.4477\x207\x2012\x207.44772\x2012\x208C12\x208.55228\x2012.4477\x209\x2013\x209Z','BaseObject','registerAdapter','BOARD_RENDER_LAYER_INDEX','mind-map-layout-dropdown','_resolveChildSide','univer-flex\x20univer-flex-col\x20univer-gap-1','_intrinsicSizeService','merge','IBoardElementService','dragObjectAlpha','custom','_getBoardsUIConfig','registerRenderModule','add-sibling-before','_dragPreviewObject','compareMindMapOrderKey','get','isRootNode','M7.9999\x2010.5671C8.33127\x2010.5671\x208.5999\x2010.2985\x208.5999\x209.96714V2.30047C8.5999\x201.9691\x208.33127\x201.70047\x207.9999\x201.70047C7.66853\x201.70047\x207.3999\x201.9691\x207.3999\x202.30047V9.96714C7.3999\x2010.2985\x207.66853\x2010.5671\x207.9999\x2010.5671Z','beginMindMapMode','dialogService','branch-curve','onPointerDown$','useObservable','_attachObjectPointerScheduled','updateElement','tools','getElementDataForUnit','popup','_clearPopup','prototype','params','bottom','strokeOpacity','findIndex','function','onCommandExecuted','toPrimitive','mind-map-fill','UniverProShapeEditorUi','_getSelectedMindMapContext','_getBlankBoardContext','_showPopupForSelection','delete','Mind\x20map','show','objects','shapeData','M1.9999\x2012.9004C1.66853\x2012.9004\x201.3999\x2013.169\x201.3999\x2013.5004C1.3999\x2013.8318\x201.66853\x2014.1004\x201.9999\x2014.1004H13.9999C14.3313\x2014.1004\x2014.5999\x2013.8318\x2014.5999\x2013.5004C14.5999\x2013.169\x2014.3313\x2012.9004\x2013.9999\x2012.9004H1.9999Z','setContextValue','transientPreview','ArrowRight','lineWidth','filter','originalStrokeWidth','unshift','Control','sourceHaloScreen','clearSelection','shapeText','InputNumber','style-divider','boards-mind-ui.panel.branchLineType.orthogonal','parentBounds','lineWidthScreen','_queuedLayouts','Enter','packageName','notify','_undoRedoGroupService','dropdown','7auBmay','map','isBoardShortcutAvailable','boards-mind-ui.toolbar.primary.more','ShapeFloatingToolbarIcon','gap','current','boards-mind-ui.panel.tab.structure','M15\x2031h50M35\x2031V18c0-4\x203-7\x208-7h9M35\x2031v13c0\x204\x203\x207\x208\x207h9','textAlign','boards-mind-ui.panel.emptyNodes','_boardElementService','addObject','pluginName','beginPath','_boardTextEditingService','colorChannel1','documentTextStyleToBoardShapeTextStyle','boards-mind-ui.panel.addText','useRef','univer-mb-0','unit','_layoutFlushScheduled','fromEntries','UniverDesign','_renderContext','edit-text','boards-mind-ui.panel.nodeStyle.style','boards-mind-ui.saveDescription','ICommandService','_resolvePreviewTextStyle','clipboard','parseInt','_injector','mindmap','IBoardMindMapAdapterService','_updateHostSize','@univerjs-pro/license','0\x200\x2080\x2056','UniverUi','boards-mind-ui.toolbar.action.paste','resolve','values','3039564UbFUAs','label','dataTransfer','UNIVER_BOARDS_MIND_UI_PLUGIN','typography','fontFamily','boards-mind-ui.panel.tab.layout','_executeCreateAndEdit','M1.3999\x209.8334C1.3999\x209.50203\x201.66853\x209.2334\x201.9999\x209.2334H13.9999C14.3313\x209.2334\x2014.5999\x209.50203\x2014.5999\x209.8334C14.5999\x2010.1648\x2014.3313\x2010.4334\x2013.9999\x2010.4334H1.9999C1.66853\x2010.4334\x201.3999\x2010.1648\x201.3999\x209.8334Z','setProperty','LayoutMindMapOperation','_clearPopupIfSelectionChanged','0\x200\x2016\x2016','top','fontColor','value','_resolveCompleteSelectedScope','arc','_insertMindMap','TranslateMindMapOperation','_resolveControlSide','center','ToggleMindMapNodeCollapseOperation','_isControlEvent','boards-mind-ui.toolbar.primary.typography','join','detach','0\x200\x2024\x2024','depth','IDialogService','open','univer-min-w-0\x20univer-flex-1\x20univer-justify-start\x20univer-truncate\x20univer-text-left','MIND_MAP_DEFAULT_LAYOUT','documentStyle','attrs','tree-left','default','resolveMindMapBranchLineTypeForStructure','uiStateService','icon','board.mind-map.description-dialog','_attachObjectEvents','_createShortcutItems','_countDescendants','createControl$','layout','_syncContext','direction','removeObjects','visualRadius','resolveBoardElementWorldBounds','SHAPE_FLOATING_TOOLBAR_DEFAULT_TEXT_BACKGROUND_COLOR','toolbar','_stateService','_createKeyboardShortcutOperation','children','hasChildren','boards-mind-ui.panel.structureKind.mindmapVertical','add-sibling-or-child','AddMindMapChildOperation','boards-mind-ui.toolbar.action.addChild','preview','M4.66665\x205.56641C4.33528\x205.56641\x204.06665\x205.83504\x204.06665\x206.16641C4.06665\x206.49778\x204.33528\x206.76641\x204.66665\x206.76641H14C14.3314\x206.76641\x2014.6\x206.49778\x2014.6\x206.16641C14.6\x205.83504\x2014.3314\x205.56641\x2014\x205.56641H4.66665Z','boards-mind-ui.alignMiddle','effectAllowed','_copySelectedNode','globalAlpha','setActiveTool','_resolveRootChildControlSides','_isActive','getElementData','getPayload','registerShortcut','_ensureDragPreviewObject','TextFillButton','closePath','univer-flex\x20univer-gap-2','ArrowUp','_pointerDragStart','getSnapshot','univer-grid\x20univer-grid-cols-4\x20univer-gap-2','focusedId','univer-w-full\x20univer-text-base','HorizontallyIcon','allowRootReparent','register','_getPointerLiveBounds','nodeId','_getZoomRatio','_instanceService','ShapeStrokePanelContent','titleKey','from','boards-mind-ui.alignRight','univer-text-base','boards-mind-ui.descriptionPlaceholder','MindMap','univer-min-h-12\x20univer-w-full','unitId','enabled','UniverBoardsPlugin','univer-space-y-2','hypot','univer-flex\x20univer-flex-col\x20univer-gap-2','paste-as-new','UniverEngineRender','bold','add-child-right','small','681975WVXiWz','dashType','ARROW_LEFT','_interactionSurfaceService','toLowerCase','getMindMapDefaultChildOrderKey','boards-mind-ui.panel.spacing.siblingGap','univer-size-full\x20univer-bg-gray-0\x20univer-text-sm\x20univer-text-gray-700\x20dark:!univer-bg-gray-900\x20dark:!univer-text-gray-200','elementAdd$','_getPointerScreenPoint','_isChildDragPastActivationThreshold','fillText','tag','M3.5\x203.5L16.5\x2016.5','Inject','horizontalAlign','1359998QLfETg','_applyDragTopologyAction','useDependency','_pasteUnderSelectedNode','_deleteSelectedNode','univer-space-y-1','symbol','_syncDragPreview','ENTER','data','_popupDisposable','board.mind-map.panel','univer-flex\x20univer-flex-col\x20univer-gap-4\x20univer-p-4','clear','renderContext','MIDDLE','stroke-width','updateState','selectedIds','_childDragActivated','collapseAllNodes','HorizontalAlign','surfaceColor','evenodd','color','getUnitId','toDisposable','_initEditingRestore','changeEnd$','getMindMapContainerMeta','UniverIcon','boards-mind-ui.panel.searchNodes','subscribe','_sidebarService','add-child-top','interactionSurfaceActive$','boards-mind-ui.panel.nodeStyle.','entries','_activeScopeId','ghost','getEditing','fill','pointerStartY','M3.33315\x205.56641C3.00178\x205.56641\x202.73315\x205.83504\x202.73315\x206.16641C2.73315\x206.49778\x203.00178\x206.76641\x203.33315\x206.76641H12.6665C12.9979\x206.76641\x2013.2665\x206.49778\x2013.2665\x206.16641C13.2665\x205.83504\x2012.9979\x205.56641\x2012.6665\x205.56641H3.33315Z','buttons','clsx','_removeObject','BOTTOM','version','some','M22\x208h36M22\x2048h36M14\x2018v20M66\x2018v20','selectElements','disposeWithMe','dividerBefore','opml','SHAPE_FLOATING_TOOLBAR_DEFAULT_TEXT_COLOR','BoardToolType','subUnitId','quadraticCurveTo','DetachMindMapNodeOperation','url(#$1','ShapeLineDashEnum','IFontService','_provider','createElement','mindmap-horizontal','dispose','toFixed','_createTopologyBoundsByElementId','ghostFontWeight','IBoardElementStateService','RoundDot','lineTo','navigator','SHAPE_FLOATING_TOOLBAR_DEFAULT_STROKE_COLOR','requestRender','includes','_resolveDirtyBounds','MobileColorPresets','elementService','LocaleService','_toFiniteBounds','blueprint','interactionMode','boards-mind-ui.panel.layout.right','ghostRadius','React','univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-xs\x20univer-text-gray-600','IShortcutService','paste','univer-h-auto\x20univer-min-h-12\x20univer-whitespace-normal\x20univer-px-2\x20univer-py-2','M1.3999\x202.3002C1.3999\x202.63157\x201.66853\x202.9002\x201.9999\x202.9002H13.9999C14.3313\x202.9002\x2014.5999\x202.63157\x2014.5999\x202.3002C14.5999\x201.96882\x2014.3313\x201.7002\x2013.9999\x201.7002H1.9999C1.66853\x201.7002\x201.3999\x201.96882\x201.3999\x202.3002Z','description','MIND_MAP_DEFAULT_NODE_TEXT','RIGHT','boards-mind-ui.panel.spacing.parentGap','OPERATION','_previewRefreshService','_syncElementDataToScene','_activePointerDragDisposables','_applyRootTranslation','handleShortcut','middle','hasCommand','verticalAlign','univer-max-w-[min(760px,calc(100vw-32px))]','touchHitRadius','ShapeFloatingToolbarDropdownTrigger','timelineAxisGap','defs','transform','dispose$','activeTool','DependentOn','ReparentMindMapNodeOperation','_resolveSelectedEntry','BoardTextEditingService','_localeService','_attachActivePointerDragListeners','pointerup','univer-min-h-12\x20univer-px-3','_resolveNodeSize','generateRandomId','SHAPE_TEXT_EDITOR_QUOTE_COMMAND_ID','Button','M16\x2028c16\x200\x2025-13\x2043-13M16\x2028c16\x200\x2025\x2013\x2043\x2013','univer-space-y-3','_textEditingService','MobileShapeMenu','badgeCount','left-justifying-icon','_resolveRootTopLeft','with','M24\x2012v32M24\x2019c0\x204\x203\x206\x207\x206h7M24\x2029c0\x204\x203\x206\x207\x206h7M24\x2039c0\x204\x203\x206\x207\x206h7','univer-h-28\x20univer-resize-none','UniverBoardsMobileUIPlugin','_consumeControlEvent','glyphSize','UniverCore','rgb','align-text-both-icon','IUniverInstanceService','BOARDS_UI_PLUGIN_CONFIG_KEY','_init','italic','ItalicIcon','elementId','_syncControls','_cancelPointerChildDrag','panel','univer-w-32','syncExecuteCommand','rgba(','nodeWidth','child','tree-right','strokeWidth','reparent','_getElementKey','pointerStartX','placement','_restoreActivePreview','stroke','commandService','connectorAlpha','scaleY','branchGap','dropEffect','activeEditingId','1em','rxjs','elementStateService','SquareDot','univer-text-gray-500','subscribeEvent','univer-w-[202px]\x20univer-rounded-xl\x20univer-border\x20univer-border-gray-200\x20univer-bg-gray-0\x20univer-px-4\x20univer-py-4\x20univer-shadow-lg','nodeHeight','detachWhenNoSnap','Input','boards-mind-ui.panel.rename','DEFAULT_STYLES','rootNodeId','_popupSelectionKey','connector','M1.9999\x207.40015C1.66853\x207.40015\x201.3999\x207.66878\x201.3999\x208.00015C1.3999\x208.33152\x201.66853\x208.60015\x201.9999\x208.60015H13.9999C14.3313\x208.60015\x2014.5999\x208.33152\x2014.5999\x208.00015C14.5999\x207.66878\x2014.3313\x207.40015\x2013.9999\x207.40015H1.9999Z','univer-size-6\x20univer-rounded\x20univer-border\x20univer-border-solid\x20univer-border-gray-200','clientY','isTransforming','CENTER','_openDescriptionDialog','lineJoin','IMindMapClipboardService','_state','M3\x209C3.55228\x209\x204\x208.55228\x204\x208C4\x207.44772\x203.55228\x207\x203\x207C2.44772\x207\x202\x207.44772\x202\x208C2\x208.55228\x202.44772\x209\x203\x209Z','registerCommand','oKey','getFonts','_executeRootAnchoredLayout','shape-line-icon','Escape','clientX','Subject','boards-mind-ui.alignBottom','M16\x2029h18c7\x200\x2010-5\x2010-12v-3M34\x2029h10c7\x200\x2010\x205\x2010\x2012v3','Module','meta','_insertStateService','UniverProBoardsUi','borderClassName','both','textStyle','_nodeSizeByKey','univer-h-9\x20univer-w-12','localeService','getTextStyle','keys','orderKey','UniverLicensePlugin','MIND_MAP_DEFAULT_NODE_SIZE','dash','localeCompare','foldChildNodes','zoomRatio','structured','setLineDash','visible','BOARD_SHORTCUT_BINDINGS','univer-h-32\x20univer-resize-none\x20univer-text-sm','getShortcutDisplay','univer-mb-3\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-900\x20dark:!univer-text-gray-100','Disposable','number','addSibling','has','boards-mind-ui.panel.cancel','context','appliedStrokeWidth','_uiStateService','setConfig','_componentManager','arrow-right','_resolveCurrentBoardContext','M12\x2015h9M12\x2028h9M12\x2041h9M59\x2015h9M59\x2028h9M59\x2041h9','title','isFinite','offsetY','_mindMapClipboardService','M1.9999\x2012.9004C1.66853\x2012.9004\x201.3999\x2013.169\x201.3999\x2013.5004C1.3999\x2013.8318\x201.66853\x2014.1004\x201.9999\x2014.1004H11.3332C11.6646\x2014.1004\x2011.9332\x2013.8318\x2011.9332\x2013.5004C11.9332\x2013.169\x2011.6646\x2012.9004\x2011.3332\x2012.9004H1.9999Z','childNodeId','RxDisposable','transformByState','moveTo','UniverProLicense','_shortcutService','resolveMindMapLayoutPreview','canvas','_resolveSelectedMindMapEntryFromState','_refresh$','UniverInstanceType','labelKey','scaleX','collapse-all','targetNodeId','_getDependencies','getRenderUnitById','areBoardShapeTextValuesEquivalent','onPointerMove$','_ensureObject','_instanceSrv','boards-mind-ui.panel.structureKind.mindmapHorizontal','getMindMapConnectorMeta','boards-mind-ui.panel.structureKind.timelineVertical','underline-icon','_sidebarDisposable','parentNodeId','453848avLEeL','getState','addChildRadius','univer-h-7\x20univer-min-w-9\x20univer-w-auto\x20univer-gap-1\x20univer-px-1.5','boards-mind-ui.panel.pasteOPML','_removePreviewObject','_config','strikethrough','xlink:href','isReleased','0\x200\x2020\x2020','univer-flex-1\x20univer-text-sm','BooleanNumber','_openSelectedTextEditing','addParentNode','univer-border-b\x20univer-border-gray-200\x20univer-p-3','univer-min-h-12\x20univer-text-xl','DeviceType','radius','_activeNodeId','IBoardUIStateService','rootText','AlignBottomIcon','useId','boards-mind-ui.panel.spacing.branchGap','BACKSPACE','M4.5\x2016.5h4.2c1.9\x200\x203.3-1.5\x203.3-3.3','_object','getScene','SolidLine','jsx','M1.3999\x2013.6999C1.3999\x2013.3685\x201.66853\x2013.0999\x201.9999\x2013.0999H13.9999C14.3313\x2013.0999\x2014.5999\x2013.3685\x2014.5999\x2013.6999C14.5999\x2014.0312\x2014.3313\x2014.2999\x2013.9999\x2014.2999H1.9999C1.66853\x2014.2999\x201.3999\x2014.0312\x201.3999\x2013.6999Z','boards-mind-ui.panel.structureKind.treeLeft','_enableMindMapToolbarTool','stopPropagation','solid','KeyCode','panOffset','getPropertyPriority','univer-min-h-12\x20univer-w-full\x20univer-justify-between','mindmap-vertical','none','elementData','boards-mind-ui.panel.title','after','_resolveArrowNavigationTarget','unsubscribe','MIND_MAP_LAYOUT_SPACING_LIMITS','TypographyPanelButton','_scheduleAttachObjectPointerListeners','fontSize','slice','UNIVER_BOARD','getElementById','changing$','getOwnPropertyDescriptor','_subscribeElementDataChanges','zIndex','boards-mind-ui.panel.tab.importExport','TRUE','Dash','boards-mind-ui.panel.structureKind.treeAlternate','px\x20','move','getInjector','focus','UniverBoardsMindMobileUIPlugin','ShapeFloatingToolbarMenuItem','getObject','_objectEventDisposables','_collapseAll','ShapeFloatingToolbarMenuPanel','boards-mind-ui.alignCenter','_syncChildDragPreviewObject','isMindMapPlainStructureKind','writeText','getActivePageId','removeAttribute','add-child','board.operation.mind-map.keyboard-shortcut','true','M4.65791\x201.30005C3.77355\x201.30005\x203.05664\x202.01696\x203.05664\x202.90132V12.8588C3.05664\x2013.8755\x203.88086\x2014.6998\x204.89759\x2014.6998H9.1016C11.2233\x2014.6998\x2012.9433\x2012.9798\x2012.9433\x2010.8581C12.9433\x209.13925\x2011.8145\x207.68407\x2010.2578\x207.1934C10.8806\x206.56856\x2011.2655\x205.70659\x2011.2655\x204.75472C11.2655\x202.84676\x209.71883\x201.30005\x207.81087\x201.30005H4.65791ZM4.25664\x202.90132C4.25664\x202.6797\x204.4363\x202.50005\x204.65791\x202.50005H7.81087C9.05609\x202.50005\x2010.0655\x203.5095\x2010.0655\x204.75472C10.0655\x205.99993\x209.05609\x207.00938\x207.81087\x207.00938H4.25664V2.90132ZM4.25664\x2012.8588V8.21636H9.1016C10.5606\x208.21636\x2011.7433\x209.39909\x2011.7433\x2010.8581C11.7433\x2012.317\x2010.5606\x2013.4998\x209.1016\x2013.4998H4.89759C4.5436\x2013.4998\x204.25664\x2013.2128\x204.25664\x2012.8588Z','_syncRootReparentPreview','react','length','abs','univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-gap-4','setHoveredControl','M2.11953\x208.5999H7.88935C10.1109\x209.46549\x2010.5895\x2010.7649\x2010.4268\x2011.6869C10.2475\x2012.703\x209.26939\x2013.5898\x208.00009\x2013.5898C6.63323\x2013.5898\x205.77631\x2013.0502\x205.25534\x2012.528C4.99021\x2012.2623\x204.80823\x2011.9965\x204.69365\x2011.7993C4.63659\x2011.7011\x204.59698\x2011.6211\x204.5727\x2011.5686C4.56059\x2011.5424\x204.55236\x2011.5231\x204.54774\x2011.512L4.54352\x2011.5016C4.4267\x2011.193\x204.0823\x2011.0363\x203.77279\x2011.1516C3.46228\x2011.2673\x203.30438\x2011.6129\x203.4201\x2011.9234L3.9649\x2011.7203C3.4201\x2011.9234\x203.41998\x2011.9231\x203.4201\x2011.9234L3.4206\x2011.9247L3.42118\x2011.9263L3.42262\x2011.9301L3.42661\x2011.9403C3.42977\x2011.9484\x203.43394\x2011.9588\x203.43914\x2011.9713C3.44956\x2011.9965\x203.46418\x2012.0304\x203.48334\x2012.0719C3.52161\x2012.1547\x203.57828\x2012.2682\x203.65608\x2012.4021C3.81124\x2012.6692\x204.0534\x2013.0223\x204.40584\x2013.3756C5.12\x2014.0914\x206.27196\x2014.7898\x208.00009\x2014.7898C9.82574\x2014.7898\x2011.3236\x2013.5101\x2011.6085\x2011.8955C11.812\x2010.7422\x2011.3901\x209.55402\x2010.2665\x208.5999H13.8804C14.2117\x208.5999\x2014.4803\x208.33127\x2014.4803\x207.9999C14.4803\x207.66853\x2014.2117\x207.3999\x2013.8804\x207.3999H8.01411C8.0048\x207.39968\x207.99551\x207.39969\x207.98625\x207.3999H2.11953C1.78816\x207.3999\x201.51953\x207.66853\x201.51953\x207.9999C1.51953\x208.33127\x201.78816\x208.5999\x202.11953\x208.5999Z','onDblclick$','univer-grid\x20univer-h-14\x20univer-overflow-hidden\x20univer-rounded-xl\x20univer-bg-gray-100\x20univer-p-1','univer-min-h-12\x20univer-text-base','controls','fillStyle','disconnect','getCanvasElement','engine','univer-mb-4','element','path','forEach','run','ArrowLeft','_getSceneObject','getBoundingClientRect','importExport','success','scopeId','changeStart$','structureKind','collapsed','extraProps','boards-mind-ui.panel.layout.both','_rememberNodeSize','hide','mind-map','buildShapeTextDataUpdate','key','getSelectedObjectMap','registerProvider','univer-text-xs\x20univer-text-gray-400\x20dark:!univer-text-gray-500','sourceHighlightFillColor','_executeAndLayout','onReady','transientControl','makeDirtyNoDebounce','FOCUSING_MIND_MAP_NODE','boards-mind-ui.description','viewportPanOffset',',\x20minmax(0,\x201fr))','string','onPointerCancel$','refresh$','side','dataModel','size','getPropertyValue','boards-mind-ui.panel.branchLineType.roundedOrthogonal','opacity','scope','assign','getContextValue','object','_lastPoint','tree-diagram','AlignTopIcon','board.mind-map.floating-toolbar','_updateShapeText','_queueLayout','timeline-horizontal','getTransformerByCreate','M12\x2026h11M58\x2036h11M12\x2045h11','item','Branch','_navigateByTopology','ARROW_RIGHT','_commandService','owner','M5.57564\x2011.5756L7.57564\x209.57564C7.80995\x209.34132\x208.18985\x209.34132\x208.42417\x209.57564L10.4242\x2011.5756C10.6585\x2011.81\x2010.6585\x2012.1899\x2010.4242\x2012.4242C10.1899\x2012.6585\x209.80995\x2012.6585\x209.57564\x2012.4242L8.5999\x2011.4484V14.6665C8.5999\x2014.9979\x208.33127\x2015.2665\x207.9999\x2015.2665C7.66853\x2015.2665\x207.3999\x2014.9979\x207.3999\x2014.6665V11.4484L6.42417\x2012.4242C6.18985\x2012.6585\x205.80995\x2012.6585\x205.57564\x2012.4242C5.34132\x2012.1899\x205.34132\x2011.81\x205.57564\x2011.5756Z','boards-mind-ui.toolbar.panel.typography','makeDirty','text','viewing','getObjectIncludeInGroup','createRunner','textFill','hostSize','clipboardService','PromoteMindMapNodeOperation','_resolveChildDragTopologyAction','M42\x2012v32M42\x2020c0\x204-3\x206-7\x206h-7M42\x2030c0\x204\x203\x206\x207\x206h7M42\x2039c0\x204-3\x206-7\x206h-7','_contextService','_resolvePreviewSourceBounds','_template','_getPointFromEvent','connectorData','toggle-collapse','_childDragSelectionHidden','doc','liveRootBounds','setTemplate','_resolveIncomingConnectorStyle','textEditingService','boards-mind-ui.toolbar.panel.line','toStringTag','_capturePointerChildDragStart','siblingGlyphSize','ShapeFillButton','max','addChild','point','hasAttribute','_syncPreviewObject','takeUntil','timeline-vertical','M1.9999\x205.56641C1.66853\x205.56641\x201.3999\x205.83504\x201.3999\x206.16641C1.3999\x206.49778\x201.66853\x206.76641\x201.9999\x206.76641H13.9999C14.3313\x206.76641\x2014.5999\x206.49778\x2014.5999\x206.16641C14.5999\x205.83504\x2014.3313\x205.56641\x2013.9999\x205.56641H1.9999Z','rootChildSides','M31\x2013c9\x208\x209\x2022\x2018\x2030M49\x2013c-9\x208-9\x2022-18\x2030M31\x2013c-7\x204-9\x209-9\x2015s2\x2011\x209\x2015M49\x2013c7\x204\x209\x209\x209\x2015s-2\x2011-9\x2015','ISidebarService','structure','horizontally-icon','restore','evented','UniverBoardsMindPlugin','ImportMindMapOpmlOperation','round','textPaddingScreen','font','rootRadius','complete','save','_lastChildDragAction','#d8dce3','getTouchHitDistance','sort','width','then','_executeNodeOperation','_handlePointerMove','CommandType','univer-size-5','M2.66641\x2013.4663C2.33504\x2013.4663\x202.06641\x2013.7349\x202.06641\x2014.0663C2.06641\x2014.3977\x202.33504\x2014.6663\x202.66641\x2014.6663H13.3331C13.6644\x2014.6663\x2013.9331\x2014.3977\x2013.9331\x2014.0663C13.9331\x2013.7349\x2013.6644\x2013.4663\x2013.3331\x2013.4663H2.66641Z','reduce','executeCommand','align-bottom-icon','trim','IRenderManagerService','M17\x2033h21M38\x2017v30M38\x2017h24','univer-flex\x20univer-justify-end\x20univer-gap-2','primary','incomingConnectorStyle','displayName','textBaseline','Plugin','ExportMindMapOpmlOperation','_pasteAsNewMindMap','siblingGap','Injector','_note','elementUpdate$','_addSiblingOrChild','rootStartBounds','jsxs','syncBoardElementRenderObject','_cloneBlueprint','dot','rounded-orthogonal','ChangeMindMapBranchLineTypeOperation','ShapeLineTypeEnum','_syncRootScopePreview','svg','ARROW_UP','ShapeFloatingToolbarContent','clearControl$','boards-mind-ui.alignLeft','newParentNodeId','strokeStyle','snapDistance','184OBqJok','Textarea','branch-rounded-orthogonal','@univerjs-pro/boards-mind-ui','Separator','getTemplate','getHitControl','6\x207','univer-items-center','BoardCanvasPopManagerService','close','M8\x209C8.55228\x209\x209\x208.55228\x209\x208C9\x207.44772\x208.55228\x207\x208\x207C7.44772\x207\x207\x207.44772\x207\x208C7\x208.55228\x207.44772\x209\x208\x209Z','horizontalGap','action','activated$','useState','@univerjs/ui','_drawConnectorPreview','target','line','rootWidth','more','ShapeDefaultConfig','_previewObject','root','boards-mind-ui.toolbar.action.fill','63OiasPr','scene','boards-mind-ui.toolbar.action.fontColor','add-child-bottom','Fragment','_normalizeChildren','repeat(','univer-flex\x20univer-w-full\x20univer-flex-col\x20univer-gap-4','branchLineType','section','flatMap','ignoreExternalFocusChanges','BOARD_RENDER_OBJECT_Z_INDEX','_attachObjectPointerListeners','defaultValue','_configService','boards-mind-ui.cancel','defineProperty','curve','siblingDotGap','offsetX','pointercancel','removeEventListener','vectorEffect','DisposableCollection','pointermove','pipe','ghostBounds','elementRemove$','bounds','_activePreview','_drawSourceHighlight','_syncChildDragPreview','rootHeight','@univerjs/design','DeleteMindMapNodeOperation','min','skipNextObservers','univer-text-xs','boards-mind-ui.panel.importOPML','circle,\x20ellipse,\x20line,\x20path,\x20polygon,\x20polyline,\x20rect,\x20text,\x20textPath,\x20tspan,\x20use','Select','Segmented','localName','RightJustifyingIcon','_registerComponents','button','boards-mind-ui.panel.structureKind.treeRight','UniverProBoardsMindUi','height','addSiblingNode','univer-w-24','univer-flex\x20univer-min-w-0\x20univer-flex-1\x20univer-gap-2','arrow-left','MetaKeys','orthogonal','univer-w-20\x20univer-shrink-0','_consumePointerEvent','viewBox','Tree\x20diagram','M9.80385\x201.40005H11.9997C12.3311\x201.40005\x2012.5997\x201.66868\x2012.5997\x202.00005C12.5997\x202.33143\x2012.3311\x202.60005\x2011.9997\x202.60005H10.1185L7.12251\x2013.4001H9.33324C9.66461\x2013.4001\x209.93324\x2013.6687\x209.93324\x2014.0001C9.93324\x2014.3314\x209.66461\x2014.6001\x209.33324\x2014.6001H6.34785C6.33847\x2014.6003\x206.32905\x2014.6003\x206.31962\x2014.6001H3.9999C3.66853\x2014.6001\x203.3999\x2014.3314\x203.3999\x2014.0001C3.3999\x2013.6687\x203.66853\x2013.4001\x203.9999\x2013.4001H5.87719L8.87322\x202.60005H6.66641C6.33504\x202.60005\x206.06641\x202.33143\x206.06641\x202.00005C6.06641\x201.66868\x206.33504\x201.40005\x206.66641\x201.40005H9.52916C9.61698\x201.37929\x209.71064\x201.3781\x209.80385\x201.40005Z','italic-icon','_disposeActivePointerDragListeners','_captureDragStart','primaryColor','_cloneBlueprintNode','addChildNode','addEventListener','M40\x209v40M40\x2020c8\x200\x2011\x204\x2011\x2011v8M40\x2035c-8\x200-11\x204-11\x2011v4','LeftJustifyingIcon','boards-mind-ui.panel.nodeStyle.fontSize','boards-mind-ui.panel.structureKind.timelineHorizontal','copy','_getLiveObjectBounds','boards-mind-ui.panel.branchLineType.curve','boards-mind-ui.toolbar.action.addSibling','univer-border-b\x20univer-border-gray-200\x20univer-p-4','addChildGlyphSize','before','board-mind-map-description-dialog','hideRootControls','parseFloat','getBoardElementRenderObjectKey','boards-mind-ui.toolbar.action.copy','boundsByElementId','mind-map-font-size','_previewHostSize','state$','_syncPointerChildDragPreview','M8.22957\x205.47839C8.30034\x205.50767\x208.36664\x205.55107\x208.42417\x205.6086L10.4242\x207.6086C10.6585\x207.84291\x2010.6585\x208.22281\x2010.4242\x208.45713C10.1899\x208.69144\x209.80995\x208.69144\x209.57564\x208.45713L8.5999\x207.48139V13.6995C8.5999\x2014.0309\x208.33127\x2014.2995\x207.9999\x2014.2995C7.66853\x2014.2995\x207.3999\x2014.0309\x207.3999\x2013.6995V7.48139L6.42417\x208.45713C6.18985\x208.69144\x205.80995\x208.69144\x205.57564\x208.45713C5.34132\x208.22281\x205.34132\x207.84291\x205.57564\x207.6086L7.57541\x205.60882C7.7522\x205.43203\x208.01209\x205.38841\x208.22957\x205.47839Z','UniverRenderEnginePlugin','arrow-up','M19.5\x207.5h-4.2c-1.9\x200-3.3\x201.5-3.3\x203.3','_buildPopupSelectionKey','exports','@univerjs-pro/boards-mind','hoveredControl','siblingHoverRadius','14424454ehlFpp','referenceNodeId','UpdateMindMapNodeOperation','idSuffix','div','vertical','onChange','rootTextColor','_syncLayoutPreview','useEffect','call','_executeChildDragAction','_restoreObjectToDragStart','ShapeFloatingToolbarFontSizeSelect','ghostFillColor','isRoot','VerticalAlign','getAncestorScale','top-center','tree-alternate','observe','_handlePointerDown','_isPopupSelectionStillActive','_ensurePreviewObject','underline','iterator','circle','fonts$','ChangeMindMapLayoutOperation','attachPopupToObject','boards-mind-ui.panel.nodeStyle.fontFamily','boards-mind-ui.toolbar.action.','_hideSelectionForChildDrag','clearPendingInsert','univer-mb-3\x20univer-w-full','resolveMindMapNodeHostSize','lineCap','_findChildNodeAtPoint','align-top-icon','promote','LEFT','set','M56\x2011h11M56\x2051h11','divider-','span','20mbEXOE','881249mHfhfW','ARROW_DOWN','1.0.0','getMindMapNodeMeta','_removeDragPreviewObject','_seedExistingNodeSizes','getCurrentUnitOfType','render','_renderManagerService','_elementStateService','board-mind-map-drag-preview-object','AddMindMapSiblingOperation','_resetContext'];_0x5a2b=function(){return _0x3de2dc;};return _0x5a2b();}function _0x4e16(_0x3fd9ce,_0x5e98a5){_0x3fd9ce=_0x3fd9ce-0x15b;const _0x5a2bc9=_0x5a2b();let _0x4e16b3=_0x5a2bc9[_0x3fd9ce];return _0x4e16b3;}(function(_0x4237d6,_0x5a0b9c){const _0x238602=_0x4e16,_0x4ebc2e=_0x4237d6();while(!![]){try{const _0xb24fb4=-parseInt(_0x238602(0x426))/0x1+-parseInt(_0x238602(0x167))/0x2+parseInt(_0x238602(0x434))/0x3*(-parseInt(_0x238602(0x37c))/0x4)+parseInt(_0x238602(0x56b))/0x5+-parseInt(_0x238602(0x4fe))/0x6*(parseInt(_0x238602(0x4d3))/0x7)+-parseInt(_0x238602(0x27a))/0x8*(-parseInt(_0x238602(0x396))/0x9)+parseInt(_0x238602(0x425))/0xa*(parseInt(_0x238602(0x3f8))/0xb);if(_0xb24fb4===_0x5a0b9c)break;else _0x4ebc2e['push'](_0x4ebc2e['shift']());}catch(_0x13bbd5){_0x4ebc2e['push'](_0x4ebc2e['shift']());}}}(_0x5a2b,0x705b6),function(_0x3e1a16,_0x40bc91){const _0x4f6c8f=_0x4e16;typeof exports==_0x4f6c8f(0x308)&&typeof module<'u'?_0x40bc91(exports,require('@univerjs-pro/boards'),require('@univerjs-pro/boards-mind'),require('@univerjs-pro/boards-ui'),require('@univerjs-pro/license'),require('@univerjs/core'),require('@univerjs/engine-render'),require('rxjs'),require('@univerjs/ui'),require('@univerjs-pro/shape-editor-ui'),require('@univerjs-pro/engine-shape'),require('@univerjs/design'),require('react'),require('react/jsx-runtime')):typeof define==_0x4f6c8f(0x4af)&&define['amd']?define([_0x4f6c8f(0x3f4),'@univerjs-pro/boards',_0x4f6c8f(0x3f5),'@univerjs-pro/boards-ui',_0x4f6c8f(0x4f8),_0x4f6c8f(0x475),_0x4f6c8f(0x455),'rxjs',_0x4f6c8f(0x38c),'@univerjs-pro/shape-editor-ui','@univerjs-pro/engine-shape',_0x4f6c8f(0x3b8),_0x4f6c8f(0x2cd),'react/jsx-runtime'],_0x40bc91):(_0x3e1a16=typeof globalThis<'u'?globalThis:_0x3e1a16||self,_0x40bc91(_0x3e1a16[_0x4f6c8f(0x3c6)]={},_0x3e1a16['UniverProBoards'],_0x3e1a16['UniverProBoardsMind'],_0x3e1a16[_0x4f6c8f(0x236)],_0x3e1a16[_0x4f6c8f(0x263)],_0x3e1a16[_0x4f6c8f(0x1f1)],_0x3e1a16[_0x4f6c8f(0x567)],_0x3e1a16[_0x4f6c8f(0x211)],_0x3e1a16[_0x4f6c8f(0x4fa)],_0x3e1a16[_0x4f6c8f(0x4b3)],_0x3e1a16['UniverProEngineShape'],_0x3e1a16[_0x4f6c8f(0x4eb)],_0x3e1a16[_0x4f6c8f(0x1bd)],_0x3e1a16[_0x4f6c8f(0x1bd)]));}(this,function(_0x17d441,_0x38c4c0,_0x27c3df,_0x13e20e,_0x2b2077,_0xd2d24,_0x2119db,_0x54b023,_0x2d1a98,_0x514536,_0x429367,_0x7217a3,_0x37caaf,_0x54cfef){const _0x5b4e73=_0x4e16;Object[_0x5b4e73(0x3a7)](_0x17d441,Symbol[_0x5b4e73(0x332)],{'value':_0x5b4e73(0x233)});var _0x1b5d51=_0x5b4e73(0x37f),_0x10e282=_0x5b4e73(0x428);let _0x53ae3a='boards-mind-ui.config',_0x38bab1={};function _0x43b4cb(_0x218a86){'@babel/helpers - typeof';const _0x3a61a1=_0x5b4e73;return _0x43b4cb=typeof Symbol==_0x3a61a1(0x4af)&&typeof Symbol[_0x3a61a1(0x411)]=='symbol'?function(_0x123a55){return typeof _0x123a55;}:function(_0x47ff99){const _0x114d3a=_0x3a61a1;return _0x47ff99&&typeof Symbol==_0x114d3a(0x4af)&&_0x47ff99['constructor']===Symbol&&_0x47ff99!==Symbol[_0x114d3a(0x4aa)]?_0x114d3a(0x16d):typeof _0x47ff99;},_0x43b4cb(_0x218a86);}function _0x57af71(_0x5a730c,_0x541102){const _0x26bc42=_0x5b4e73;if(_0x43b4cb(_0x5a730c)!='object'||!_0x5a730c)return _0x5a730c;var _0x3136e3=_0x5a730c[Symbol[_0x26bc42(0x4b1)]];if(_0x3136e3!==void 0x0){var _0x1b408f=_0x3136e3['call'](_0x5a730c,_0x541102||'default');if(_0x43b4cb(_0x1b408f)!=_0x26bc42(0x308))return _0x1b408f;throw TypeError('@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.');}return(_0x541102===_0x26bc42(0x2fc)?String:Number)(_0x5a730c);}function _0x5340ce(_0x4e502a){const _0x34cf28=_0x5b4e73;var _0x3f0d67=_0x57af71(_0x4e502a,_0x34cf28(0x2fc));return _0x43b4cb(_0x3f0d67)==_0x34cf28(0x16d)?_0x3f0d67:_0x3f0d67+'';}function _0x5ac814(_0x33bfad,_0xeb8c74,_0x11cacc){const _0x25220b=_0x5b4e73;return(_0xeb8c74=_0x5340ce(_0xeb8c74))in _0x33bfad?Object[_0x25220b(0x3a7)](_0x33bfad,_0xeb8c74,{'value':_0x11cacc,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x33bfad[_0xeb8c74]=_0x11cacc,_0x33bfad;}function _0x1c54fc(_0x1ee9f9,_0x52d7ae){return function(_0x58bf3b,_0x19ef40){_0x52d7ae(_0x58bf3b,_0x19ef40,_0x1ee9f9);};}function _0x2d6c5f(_0x5d68c1,_0x281a3f,_0x28b8f2,_0x38430a){const _0x265413=_0x5b4e73;var _0x45d73e=arguments[_0x265413(0x2ce)],_0x3647ca=_0x45d73e<0x3?_0x281a3f:_0x38430a===null?_0x38430a=Object[_0x265413(0x2b1)](_0x281a3f,_0x28b8f2):_0x38430a,_0x378e7a;if(typeof Reflect=='object'&&typeof Reflect[_0x265413(0x468)]==_0x265413(0x4af))_0x3647ca=Reflect[_0x265413(0x468)](_0x5d68c1,_0x281a3f,_0x28b8f2,_0x38430a);else{for(var _0x90517a=_0x5d68c1[_0x265413(0x2ce)]-0x1;_0x90517a>=0x0;_0x90517a--)(_0x378e7a=_0x5d68c1[_0x90517a])&&(_0x3647ca=(_0x45d73e<0x3?_0x378e7a(_0x3647ca):_0x45d73e>0x3?_0x378e7a(_0x281a3f,_0x28b8f2,_0x3647ca):_0x378e7a(_0x281a3f,_0x28b8f2))||_0x3647ca);}return _0x45d73e>0x3&&_0x3647ca&&Object[_0x265413(0x3a7)](_0x281a3f,_0x28b8f2,_0x3647ca),_0x3647ca;}let _0x34c892=class extends _0xd2d24[_0x5b4e73(0x260)]{constructor(_0x364e12,_0x943b8d,_0x4b20e8){const _0x19ebd0=_0x5b4e73;super(),this[_0x19ebd0(0x4ec)]=_0x364e12,this[_0x19ebd0(0x4de)]=_0x943b8d,this[_0x19ebd0(0x316)]=_0x4b20e8,_0x5ac814(this,'_nodeSizeByKey',new Map()),_0x5ac814(this,_0x19ebd0(0x4cd),new Map()),_0x5ac814(this,'_layoutFlushScheduled',!0x1),this[_0x19ebd0(0x1f6)]();}[_0x5b4e73(0x1f6)](){const _0xfa5145=_0x5b4e73;this[_0xfa5145(0x42b)](),this[_0xfa5145(0x19b)]((0x0,_0xd2d24[_0xfa5145(0x181)])(this[_0xfa5145(0x4de)][_0xfa5145(0x15f)]['pipe']((0x0,_0x54b023[_0xfa5145(0x33b)])(this[_0xfa5145(0x1d6)]))['subscribe'](_0x25f2e7=>{_0x25f2e7['forEach'](_0x44a82c=>{const _0x1e7f08=_0x4e16;let _0x242b6d=this[_0x1e7f08(0x4de)][_0x1e7f08(0x2af)](_0x44a82c['unitId'],_0x44a82c['subUnitId'],_0x44a82c[_0x1e7f08(0x1f9)]);this['_rememberNodeSize'](_0x44a82c,_0x242b6d);});}))),this[_0xfa5145(0x19b)]((0x0,_0xd2d24[_0xfa5145(0x181)])(this[_0xfa5145(0x4de)][_0xfa5145(0x369)][_0xfa5145(0x3b0)]((0x0,_0x54b023[_0xfa5145(0x33b)])(this[_0xfa5145(0x1d6)]))[_0xfa5145(0x187)](_0x25b166=>{const _0x5f42a8=_0xfa5145;_0x25b166['forEach'](_0x232012=>this[_0x5f42a8(0x449)](_0x232012));})));}[_0x5b4e73(0x42b)](){const _0xa77d15=_0x5b4e73;let _0x229287=this[_0xa77d15(0x4ec)][_0xa77d15(0x560)],_0x4f87e2=this['_boardElementService'][_0xa77d15(0x4a7)](_0x229287);Object[_0xa77d15(0x18c)](_0x4f87e2)['forEach'](([_0x403fdb,_0x38343a])=>{const _0x166b8f=_0xa77d15;Object[_0x166b8f(0x4fd)](_0x38343a[_0x166b8f(0x170)])[_0x166b8f(0x2de)](_0x3fb031=>{const _0x5e41e8=_0x166b8f;this[_0x5e41e8(0x2eb)]({'unitId':_0x229287,'subUnitId':_0x403fdb,'elementId':_0x3fb031[_0x5e41e8(0x1f9)]},_0x3fb031);});});}['_handleElementUpdate'](_0x166912){const _0x40ddfa=_0x5b4e73;if(_0x166912[_0x40ddfa(0x560)]!==this[_0x40ddfa(0x4ec)][_0x40ddfa(0x560)])return;let _0x1b95cc=this['_boardElementService'][_0x40ddfa(0x2af)](_0x166912[_0x40ddfa(0x560)],_0x166912[_0x40ddfa(0x1a0)],_0x166912[_0x40ddfa(0x1f9)]),_0x51d7d2=(0x0,_0x27c3df[_0x40ddfa(0x429)])(_0x1b95cc==null?void 0x0:_0x1b95cc[_0x40ddfa(0x2dc)]),_0x9d9a6a=this[_0x40ddfa(0x1e0)](_0x1b95cc);if(!_0x51d7d2||!_0x9d9a6a){this[_0x40ddfa(0x23a)][_0x40ddfa(0x4b7)](this[_0x40ddfa(0x205)](_0x166912));return;}let _0x4cac82=this[_0x40ddfa(0x205)](_0x166912),_0x2a3852=this[_0x40ddfa(0x23a)][_0x40ddfa(0x49c)](_0x4cac82);this[_0x40ddfa(0x23a)][_0x40ddfa(0x421)](_0x4cac82,_0x9d9a6a),!(_0x2a3852&&_0x2a3852[_0x40ddfa(0x351)]===_0x9d9a6a[_0x40ddfa(0x351)]&&_0x2a3852[_0x40ddfa(0x3c7)]===_0x9d9a6a[_0x40ddfa(0x3c7)])&&this[_0x40ddfa(0x30e)]({'unitId':_0x166912[_0x40ddfa(0x560)],'subUnitId':_0x166912[_0x40ddfa(0x1a0)],'scopeId':_0x51d7d2[_0x40ddfa(0x483)]});}[_0x5b4e73(0x2eb)](_0x35a793,_0x3a82e8){const _0x2e1159=_0x5b4e73;if(_0x35a793['unitId']!==this[_0x2e1159(0x4ec)][_0x2e1159(0x560)])return;let _0x10e471=(0x0,_0x27c3df[_0x2e1159(0x429)])(_0x3a82e8==null?void 0x0:_0x3a82e8[_0x2e1159(0x2dc)]),_0x3b1db1=this[_0x2e1159(0x1e0)](_0x3a82e8);_0x10e471&&_0x3b1db1&&this[_0x2e1159(0x23a)][_0x2e1159(0x421)](this['_getElementKey'](_0x35a793),_0x3b1db1);}[_0x5b4e73(0x1e0)](_0x23c789){const _0x4017f2=_0x5b4e73;let _0x1a8f32=(_0x23c789==null?void 0x0:_0x23c789['transform'])??(_0x23c789==null?void 0x0:_0x23c789['element']['transform']),_0x5b1a37=_0x1a8f32==null?void 0x0:_0x1a8f32[_0x4017f2(0x351)],_0x1a07e0=_0x1a8f32==null?void 0x0:_0x1a8f32[_0x4017f2(0x3c7)];return!Number[_0x4017f2(0x25b)](_0x5b1a37)||!Number[_0x4017f2(0x25b)](_0x1a07e0)?null:{'width':_0x5b1a37,'height':_0x1a07e0};}[_0x5b4e73(0x30e)](_0x25d01d){const _0x2a8b8b=_0x5b4e73;this[_0x2a8b8b(0x4cd)][_0x2a8b8b(0x421)](_0x25d01d[_0x2a8b8b(0x560)]+':'+_0x25d01d[_0x2a8b8b(0x1a0)]+':'+_0x25d01d['scopeId'],_0x25d01d),!this[_0x2a8b8b(0x4e9)]&&(this[_0x2a8b8b(0x4e9)]=!0x0,Promise['resolve']()[_0x2a8b8b(0x352)](()=>{const _0x4576fa=_0x2a8b8b;this[_0x4576fa(0x4e9)]=!0x1;let _0x347041=Array['from'](this[_0x4576fa(0x4cd)][_0x4576fa(0x4fd)]());this[_0x4576fa(0x4cd)][_0x4576fa(0x174)](),_0x347041[_0x4576fa(0x2de)](_0x198646=>{const _0x4132a1=_0x4576fa;this[_0x4132a1(0x22c)](_0x198646);});}));}['_executeRootAnchoredLayout'](_0x3ec235){const _0x51b3e7=_0x5b4e73;var _0x54dc65;let _0x34da67=this[_0x51b3e7(0x4de)][_0x51b3e7(0x2af)](_0x3ec235[_0x51b3e7(0x560)],_0x3ec235[_0x51b3e7(0x1a0)],_0x3ec235[_0x51b3e7(0x2e5)]),_0x995237=(_0x54dc65=(0x0,_0x27c3df[_0x51b3e7(0x184)])(_0x34da67==null?void 0x0:_0x34da67['element']))==null?void 0x0:_0x54dc65[_0x51b3e7(0x21c)];this[_0x51b3e7(0x316)][_0x51b3e7(0x359)](_0x27c3df[_0x51b3e7(0x508)]['id'],{..._0x3ec235,'skipUndo':!0x0,..._0x995237?{'anchorNodeId':_0x995237}:null});}[_0x5b4e73(0x205)](_0x398b59){const _0x3be4f6=_0x5b4e73;return _0x398b59[_0x3be4f6(0x560)]+':'+_0x398b59['subUnitId']+':'+_0x398b59[_0x3be4f6(0x1f9)];}};_0x34c892=_0x2d6c5f([_0x1c54fc(0x1,(0x0,_0xd2d24[_0x5b4e73(0x165)])(_0x38c4c0[_0x5b4e73(0x494)])),_0x1c54fc(0x2,_0xd2d24[_0x5b4e73(0x4f0)])],_0x34c892);let _0x176363={'primaryColor':_0x514536[_0x5b4e73(0x1b1)],'surfaceColor':_0x514536[_0x5b4e73(0x531)],'textColor':_0x514536[_0x5b4e73(0x19e)],'fontFamily':_0xd2d24[_0x5b4e73(0x21b)]['ff']};function _0x2444d7(_0x5d780c,_0x2139b2){const _0x35ab2d=_0x5b4e73;let _0x18b103=Math[_0x35ab2d(0x3ba)](0x1,Math[_0x35ab2d(0x336)](0x0,Number[_0x35ab2d(0x25b)](_0x2139b2)?_0x2139b2:0x1)),_0x2133fc=_0x5d780c[_0x35ab2d(0x35b)](),_0x2b744d=/^#([0-9a-fA-F]{6})$/[_0x35ab2d(0x46c)](_0x2133fc);if(!_0x2b744d)return _0x5d780c;let _0x4cbd61=_0x2b744d[0x1];return _0x35ab2d(0x1ff)+Number[_0x35ab2d(0x4f3)](_0x4cbd61[_0x35ab2d(0x2ad)](0x0,0x2),0x10)+',\x20'+Number[_0x35ab2d(0x4f3)](_0x4cbd61[_0x35ab2d(0x2ad)](0x2,0x4),0x10)+',\x20'+Number['parseInt'](_0x4cbd61[_0x35ab2d(0x2ad)](0x4,0x6),0x10)+',\x20'+_0x18b103+')';}let _0x19a022={'primaryColor':_0x176363[_0x5b4e73(0x3d6)],'ghostFillColor':_0x2444d7(_0x176363[_0x5b4e73(0x17d)],0.72),'ghostTextColor':_0x2444d7(_0x176363['textColor'],0.62),'rootTextColor':_0x2444d7(_0x176363[_0x5b4e73(0x17d)],0.86),'sourceHighlightFillColor':_0x2444d7(_0x176363[_0x5b4e73(0x3d6)],0.12),'sourceHighlightStrokeColor':_0x2444d7(_0x176363[_0x5b4e73(0x3d6)],0.9),'objectAlpha':0.72,'dragObjectAlpha':0.78,'connectorAlpha':0.64,'lineWidthScreen':0x2,'fallbackNodeWidth':_0x27c3df[_0x5b4e73(0x241)][_0x5b4e73(0x200)],'fallbackNodeHeight':_0x27c3df[_0x5b4e73(0x241)][_0x5b4e73(0x217)],'branchGap':_0x27c3df[_0x5b4e73(0x51e)][_0x5b4e73(0x20d)],'sourceHaloScreen':0x4,'ghostRadius':0x8,'rootRadius':0xa,'fontFamily':_0x176363[_0x5b4e73(0x503)],'ghostFontWeight':0x1f4,'rootFontWeight':0x258,'rootFontSize':0x12,'textPaddingScreen':0xc,'dirtyPaddingScreen':0x18,'sourceDashScreen':[0x6,0x4]};function _0x6f517f(_0x2dcab8,_0x252a4e,_0x37fc3b,_0x2db5d7,_0x184b08,_0x20a223){const _0x433bd1=_0x5b4e73;let _0x50df99=Math[_0x433bd1(0x3ba)](_0x20a223,_0x2db5d7/0x2,_0x184b08/0x2);_0x2dcab8[_0x433bd1(0x4e1)](),_0x2dcab8[_0x433bd1(0x262)](_0x252a4e+_0x50df99,_0x37fc3b),_0x2dcab8[_0x433bd1(0x1af)](_0x252a4e+_0x2db5d7-_0x50df99,_0x37fc3b),_0x2dcab8['quadraticCurveTo'](_0x252a4e+_0x2db5d7,_0x37fc3b,_0x252a4e+_0x2db5d7,_0x37fc3b+_0x50df99),_0x2dcab8[_0x433bd1(0x1af)](_0x252a4e+_0x2db5d7,_0x37fc3b+_0x184b08-_0x50df99),_0x2dcab8[_0x433bd1(0x1a1)](_0x252a4e+_0x2db5d7,_0x37fc3b+_0x184b08,_0x252a4e+_0x2db5d7-_0x50df99,_0x37fc3b+_0x184b08),_0x2dcab8[_0x433bd1(0x1af)](_0x252a4e+_0x50df99,_0x37fc3b+_0x184b08),_0x2dcab8[_0x433bd1(0x1a1)](_0x252a4e,_0x37fc3b+_0x184b08,_0x252a4e,_0x37fc3b+_0x184b08-_0x50df99),_0x2dcab8[_0x433bd1(0x1af)](_0x252a4e,_0x37fc3b+_0x50df99),_0x2dcab8[_0x433bd1(0x1a1)](_0x252a4e,_0x37fc3b,_0x252a4e+_0x50df99,_0x37fc3b),_0x2dcab8[_0x433bd1(0x549)]();}function _0x2ce688(_0x3c1d03,_0x684ea1,_0x167421){const _0x571443=_0x5b4e73;return _0x3c1d03+'\x20'+_0x684ea1/_0x167421+_0x571443(0x2b8)+_0x19a022[_0x571443(0x503)];}let _0x5b0717=_0x5b4e73(0x430),_0xf0a5d8=_0x13e20e[_0x5b4e73(0x48e)]['preview'];function _0x2049df(_0x2a18b2,_0x224915){return Number['isFinite'](_0x2a18b2)?_0x2a18b2:_0x224915;}function _0x334879(){return _0x19a022['fallbackNodeWidth'];}function _0x50f27d(){return _0x19a022['fallbackNodeHeight'];}function _0x35e946(_0x11f4f1){const _0x15673d=_0x5b4e73;return _0x11f4f1===0x1?_0x15673d(0x469):_0x11f4f1===0x3?_0x15673d(0x459):_0x15673d(0x513);}function _0x4b7fe3(_0x4c3de9,_0x324bd4,_0x5a45f7,_0x352406){return _0x5a45f7===0x1?_0x4c3de9+_0x352406:_0x5a45f7===0x3?_0x4c3de9+_0x324bd4-_0x352406:_0x4c3de9+_0x324bd4/0x2;}var _0x4b51ed=class extends _0x2119db['BaseObject']{constructor(_0x515460=_0x5b0717,_0x16f50b){const _0xc62d5d=_0x5b4e73;super(_0x515460),_0x5ac814(this,'_state',{'ghostBounds':null,'parentBounds':null,'side':_0xc62d5d(0x459),'zoomRatio':0x1}),this[_0xc62d5d(0x344)]=!0x1,this[_0xc62d5d(0x2b3)]=_0x13e20e['BOARD_RENDER_OBJECT_Z_INDEX'][_0xc62d5d(0x45b)],this[_0xc62d5d(0x178)](_0x16f50b);}[_0x5b4e73(0x178)](_0x3ac9ad){const _0x33766f=_0x5b4e73;if(this[_0x33766f(0x227)]={...this['_state'],..._0x3ac9ad},this[_0x33766f(0x227)]['ghostBounds']){let _0xdecbce=this[_0x33766f(0x1b4)]();this[_0x33766f(0x261)](_0xdecbce),this['show']();}else this[_0x33766f(0x2ec)]();let _0x5b8507=this;typeof _0x5b8507[_0x33766f(0x2f7)]=='function'?_0x5b8507[_0x33766f(0x2f7)](!0x0):this['makeDirty'](!0x0);}[_0x5b4e73(0x485)](_0x828a73){return!0x1;}['render'](_0x5cfbcf,_0x509105){const _0x3f22d3=_0x5b4e73;let _0x413093=this[_0x3f22d3(0x227)][_0x3f22d3(0x3b1)];if(!_0x413093||!this['visible'])return this[_0x3f22d3(0x31a)](!0x1),this;let _0x4b7ea1=Number[_0x3f22d3(0x25b)](this[_0x3f22d3(0x227)]['zoomRatio'])&&(this[_0x3f22d3(0x227)][_0x3f22d3(0x245)]??0x0)>0x0?this['_state']['zoomRatio']:0x1,_0x2b0f8b=_0x2049df(_0x413093[_0x3f22d3(0x469)],0x0),_0x35b4ea=_0x2049df(_0x413093[_0x3f22d3(0x50b)],0x0),_0x1ea941=Math[_0x3f22d3(0x336)](0x1,_0x2049df(_0x413093[_0x3f22d3(0x351)],_0x334879())),_0x1c63d3=Math[_0x3f22d3(0x336)](0x1,_0x2049df(_0x413093[_0x3f22d3(0x3c7)],_0x50f27d()));if(_0x5cfbcf[_0x3f22d3(0x34c)](),_0x5cfbcf[_0x3f22d3(0x540)]=_0x19a022[_0x3f22d3(0x495)],_0x5cfbcf[_0x3f22d3(0x4c0)]=_0x19a022[_0x3f22d3(0x4cc)]/_0x4b7ea1,_0x5cfbcf[_0x3f22d3(0x37a)]=_0x19a022[_0x3f22d3(0x3d6)],_0x5cfbcf[_0x3f22d3(0x2d7)]=_0x19a022[_0x3f22d3(0x406)],this[_0x3f22d3(0x38d)](_0x5cfbcf,{'left':_0x2b0f8b,'top':_0x35b4ea,'width':_0x1ea941,'height':_0x1c63d3},_0x4b7ea1),this[_0x3f22d3(0x3b5)](_0x5cfbcf,_0x4b7ea1),this[_0x3f22d3(0x227)]['renderGhostNode']===!0x1)return _0x5cfbcf['restore'](),this[_0x3f22d3(0x31a)](!0x1),this;_0x6f517f(_0x5cfbcf,_0x2b0f8b,_0x35b4ea,_0x1ea941,_0x1c63d3,_0x19a022[_0x3f22d3(0x1bc)]),_0x5cfbcf['fill'](),_0x5cfbcf[_0x3f22d3(0x209)]();let _0x23de25=this[_0x3f22d3(0x227)][_0x3f22d3(0x239)],_0x53f47e=Number[_0x3f22d3(0x25b)](_0x23de25==null?void 0x0:_0x23de25[_0x3f22d3(0x2ac)])&&((_0x23de25==null?void 0x0:_0x23de25[_0x3f22d3(0x2ac)])??0x0)>0x0?_0x23de25[_0x3f22d3(0x2ac)]:0x10,_0x3264ed=_0x19a022[_0x3f22d3(0x348)]/_0x4b7ea1;return _0x5cfbcf[_0x3f22d3(0x2d7)]=(_0x23de25==null?void 0x0:_0x23de25[_0x3f22d3(0x17f)])??_0x19a022[_0x3f22d3(0x43b)],_0x5cfbcf[_0x3f22d3(0x349)]=_0x2ce688(_0x19a022[_0x3f22d3(0x1ac)],_0x53f47e,_0x4b7ea1),_0x5cfbcf[_0x3f22d3(0x4dc)]=_0x35e946(_0x23de25==null?void 0x0:_0x23de25['horizontalAlign']),_0x5cfbcf['textBaseline']=_0x3f22d3(0x1cd),_0x5cfbcf['fillText']((_0x23de25==null?void 0x0:_0x23de25[_0x3f22d3(0x31b)])||_0x27c3df[_0x3f22d3(0x1c4)],_0x4b7fe3(_0x2b0f8b,_0x1ea941,_0x23de25==null?void 0x0:_0x23de25[_0x3f22d3(0x166)],_0x3264ed),_0x35b4ea+_0x1c63d3/0x2,Math[_0x3f22d3(0x336)](0x1,_0x1ea941-_0x3264ed*0x2)),_0x5cfbcf[_0x3f22d3(0x343)](),this[_0x3f22d3(0x31a)](!0x1),this;}['_resolveDirtyBounds'](){const _0x13dd6c=_0x5b4e73;let _0x263cf1=this[_0x13dd6c(0x227)][_0x13dd6c(0x3b1)],_0x26c058=Number[_0x13dd6c(0x25b)](this[_0x13dd6c(0x227)][_0x13dd6c(0x245)])&&(this['_state'][_0x13dd6c(0x245)]??0x0)>0x0?this[_0x13dd6c(0x227)][_0x13dd6c(0x245)]:0x1,_0xd317b2=_0x19a022['dirtyPaddingScreen']/_0x26c058;if(!_0x263cf1)return{'left':0x0,'top':0x0,'width':0x1,'height':0x1};let _0x3410e0=_0x2049df(_0x263cf1[_0x13dd6c(0x469)],0x0),_0x15c4f2=_0x2049df(_0x263cf1[_0x13dd6c(0x50b)],0x0),_0x2dd9f7=Math[_0x13dd6c(0x336)](0x1,_0x2049df(_0x263cf1[_0x13dd6c(0x351)],_0x334879())),_0x35c47c=Math[_0x13dd6c(0x336)](0x1,_0x2049df(_0x263cf1['height'],_0x50f27d())),_0x9ab279=this[_0x13dd6c(0x227)]['sourceBounds'],_0x14a9c9=this[_0x13dd6c(0x227)][_0x13dd6c(0x4cb)],_0x21732f=_0x2049df(_0x9ab279==null?void 0x0:_0x9ab279[_0x13dd6c(0x469)],_0x3410e0),_0x522134=_0x2049df(_0x9ab279==null?void 0x0:_0x9ab279[_0x13dd6c(0x50b)],_0x15c4f2),_0x36de71=Math[_0x13dd6c(0x336)](0x1,_0x2049df(_0x9ab279==null?void 0x0:_0x9ab279[_0x13dd6c(0x351)],_0x2dd9f7)),_0x4d7bf=Math[_0x13dd6c(0x336)](0x1,_0x2049df(_0x9ab279==null?void 0x0:_0x9ab279[_0x13dd6c(0x3c7)],_0x35c47c));if(!_0x14a9c9){let _0x49bf8b=Math[_0x13dd6c(0x3ba)](_0x3410e0,_0x21732f)-_0xd317b2,_0xf3f5b6=Math[_0x13dd6c(0x3ba)](_0x15c4f2,_0x522134)-_0xd317b2,_0x5ea0a4=Math[_0x13dd6c(0x336)](_0x3410e0+_0x2dd9f7,_0x21732f+_0x36de71)+_0xd317b2,_0xc16cc=Math[_0x13dd6c(0x336)](_0x15c4f2+_0x35c47c,_0x522134+_0x4d7bf)+_0xd317b2;return{'left':_0x49bf8b,'top':_0xf3f5b6,'width':_0x5ea0a4-_0x49bf8b,'height':_0xc16cc-_0xf3f5b6};}let _0x4e9bac=_0x2049df(_0x14a9c9[_0x13dd6c(0x469)],_0x3410e0),_0x45d3b4=_0x2049df(_0x14a9c9[_0x13dd6c(0x50b)],_0x15c4f2),_0x4a5488=Math[_0x13dd6c(0x336)](0x1,_0x2049df(_0x14a9c9[_0x13dd6c(0x351)],_0x334879())),_0x51e404=Math[_0x13dd6c(0x336)](0x1,_0x2049df(_0x14a9c9['height'],_0x50f27d())),_0x586a53=Math[_0x13dd6c(0x3ba)](_0x3410e0,_0x4e9bac,_0x21732f)-_0xd317b2,_0x4cf116=Math['min'](_0x15c4f2,_0x45d3b4,_0x522134)-_0xd317b2,_0x3d069e=Math[_0x13dd6c(0x336)](_0x3410e0+_0x2dd9f7,_0x4e9bac+_0x4a5488,_0x21732f+_0x36de71)+_0xd317b2,_0x2be938=Math[_0x13dd6c(0x336)](_0x15c4f2+_0x35c47c,_0x45d3b4+_0x51e404,_0x522134+_0x4d7bf)+_0xd317b2;return{'left':_0x586a53,'top':_0x4cf116,'width':_0x3d069e-_0x586a53,'height':_0x2be938-_0x4cf116};}[_0x5b4e73(0x3b5)](_0x32c786,_0x3ed562){const _0x1f6102=_0x5b4e73;var _0x37e9eb;let _0x36113f=this[_0x1f6102(0x227)][_0x1f6102(0x46a)];if(!_0x36113f)return;let _0x572730=_0x19a022[_0x1f6102(0x4c5)]/_0x3ed562,_0x56dfdf=_0x2049df(_0x36113f[_0x1f6102(0x469)],0x0)-_0x572730,_0x5d3e58=_0x2049df(_0x36113f[_0x1f6102(0x50b)],0x0)-_0x572730,_0x2e6329=Math[_0x1f6102(0x336)](0x1,_0x2049df(_0x36113f['width'],_0x334879()))+_0x572730*0x2,_0x4204c7=Math[_0x1f6102(0x336)](0x1,_0x2049df(_0x36113f[_0x1f6102(0x3c7)],_0x50f27d()))+_0x572730*0x2;_0x32c786[_0x1f6102(0x34c)](),_0x32c786[_0x1f6102(0x540)]=0x1,_0x32c786['lineWidth']=_0x19a022[_0x1f6102(0x4cc)]/_0x3ed562,_0x32c786['strokeStyle']=_0x19a022['sourceHighlightStrokeColor'],_0x32c786[_0x1f6102(0x2d7)]=_0x19a022[_0x1f6102(0x2f3)],(_0x37e9eb=_0x32c786[_0x1f6102(0x247)])==null||_0x37e9eb[_0x1f6102(0x402)](_0x32c786,_0x19a022['sourceDashScreen'][_0x1f6102(0x4d4)](_0x39f985=>_0x39f985/_0x3ed562)),_0x6f517f(_0x32c786,_0x56dfdf,_0x5d3e58,_0x2e6329,_0x4204c7,_0x19a022[_0x1f6102(0x34a)]),_0x32c786[_0x1f6102(0x190)](),_0x32c786[_0x1f6102(0x209)](),_0x32c786[_0x1f6102(0x343)]();}['_drawConnectorPreview'](_0x370d3c,_0x3cac9a,_0x3c56db){const _0x22d115=_0x5b4e73;let _0x5143d7=this[_0x22d115(0x227)][_0x22d115(0x4cb)];if(!_0x5143d7)return;let _0x4f4a02=_0x2049df(_0x5143d7[_0x22d115(0x469)],0x0),_0x3ef44a=_0x2049df(_0x5143d7[_0x22d115(0x50b)],0x0),_0x5c00a7=Math[_0x22d115(0x336)](0x1,_0x2049df(_0x5143d7['width'],_0x334879())),_0x4ba624=Math['max'](0x1,_0x2049df(_0x5143d7[_0x22d115(0x3c7)],_0x50f27d())),_0x21498c=_0x19a022[_0x22d115(0x20d)],_0x2a75d1=this[_0x22d115(0x227)][_0x22d115(0x2ff)]??'right';if(_0x370d3c[_0x22d115(0x34c)](),_0x370d3c['globalAlpha']=_0x19a022[_0x22d115(0x20b)],_0x370d3c[_0x22d115(0x37a)]=_0x19a022[_0x22d115(0x3d6)],_0x370d3c[_0x22d115(0x4c0)]=_0x19a022[_0x22d115(0x4cc)]/_0x3c56db,_0x370d3c['lineCap']='round',_0x370d3c[_0x22d115(0x225)]='round',_0x370d3c[_0x22d115(0x4e1)](),_0x2a75d1===_0x22d115(0x50b)||_0x2a75d1===_0x22d115(0x4ac)){let _0x4fb942=_0x4f4a02+_0x5c00a7/0x2,_0x5807d3=_0x3cac9a[_0x22d115(0x469)]+_0x3cac9a['width']/0x2,_0x4b4e00=_0x2a75d1==='bottom'?_0x3ef44a+_0x4ba624:_0x3ef44a,_0x211398=_0x2a75d1===_0x22d115(0x4ac)?_0x3cac9a[_0x22d115(0x50b)]:_0x3cac9a['top']+_0x3cac9a[_0x22d115(0x3c7)],_0x36c96a=_0x2a75d1==='bottom'?Math[_0x22d115(0x3ba)](_0x4b4e00+_0x21498c,(_0x4b4e00+_0x211398)/0x2):Math[_0x22d115(0x336)](_0x4b4e00-_0x21498c,(_0x4b4e00+_0x211398)/0x2);_0x370d3c[_0x22d115(0x262)](_0x4fb942,_0x4b4e00),_0x370d3c[_0x22d115(0x1af)](_0x4fb942,_0x36c96a),_0x370d3c[_0x22d115(0x1af)](_0x5807d3,_0x36c96a),_0x370d3c[_0x22d115(0x1af)](_0x5807d3,_0x211398);}else{let _0x32a334=_0x3ef44a+_0x4ba624/0x2,_0x20b34a=_0x3cac9a['top']+_0x3cac9a[_0x22d115(0x3c7)]/0x2,_0x34655a=_0x2a75d1===_0x22d115(0x459)?_0x4f4a02+_0x5c00a7:_0x4f4a02,_0x3a9b54=_0x2a75d1===_0x22d115(0x459)?_0x3cac9a[_0x22d115(0x469)]:_0x3cac9a['left']+_0x3cac9a[_0x22d115(0x351)],_0x35c2ce=_0x2a75d1===_0x22d115(0x459)?Math['min'](_0x34655a+_0x21498c,(_0x34655a+_0x3a9b54)/0x2):Math[_0x22d115(0x336)](_0x34655a-_0x21498c,(_0x34655a+_0x3a9b54)/0x2);_0x370d3c['moveTo'](_0x34655a,_0x32a334),_0x370d3c[_0x22d115(0x1af)](_0x35c2ce,_0x32a334),_0x370d3c[_0x22d115(0x1af)](_0x35c2ce,_0x20b34a),_0x370d3c[_0x22d115(0x1af)](_0x3a9b54,_0x20b34a);}_0x370d3c[_0x22d115(0x209)](),_0x370d3c['restore']();}};function _0x13b4d7(_0x4eb6cc,_0x5b8fa5){const _0x1201b1=_0x5b4e73;return(_0x5b8fa5==null?void 0x0:_0x5b8fa5[_0x4eb6cc[_0x1201b1(0x1f9)]])??_0x4eb6cc[_0x1201b1(0x2dc)][_0x1201b1(0x1d5)];}function _0x2d106a(_0x131f94,_0xcf9e2f){const _0x15c1d2=_0x5b4e73;let _0x17cecc=_0x13b4d7(_0x131f94,_0xcf9e2f);return{'x':(_0x17cecc[_0x15c1d2(0x469)]??0x0)+(_0x17cecc[_0x15c1d2(0x351)]??0x0)/0x2,'y':(_0x17cecc[_0x15c1d2(0x50b)]??0x0)+(_0x17cecc[_0x15c1d2(0x3c7)]??0x0)/0x2};}function _0x52691b(_0x2c7675,_0x1c1657){return Math['hypot'](_0x2c7675['x']-_0x1c1657['x'],_0x2c7675['y']-_0x1c1657['y']);}function _0x366b3e(_0x4913ad,_0x11f132){const _0x34d9fd=_0x5b4e73;let _0x7da948=_0x4913ad[_0x34d9fd(0x469)]??0x0,_0x2b0ac3=_0x4913ad[_0x34d9fd(0x50b)]??0x0,_0x55bd47=_0x7da948+(_0x4913ad['width']??0x0),_0x5b7378=_0x2b0ac3+(_0x4913ad[_0x34d9fd(0x3c7)]??0x0),_0x19e4c9=_0x11f132[_0x34d9fd(0x469)]??0x0,_0x4f09d1=_0x11f132[_0x34d9fd(0x50b)]??0x0,_0x5f1655=_0x19e4c9+(_0x11f132[_0x34d9fd(0x351)]??0x0),_0xdf9e6a=_0x4f09d1+(_0x11f132[_0x34d9fd(0x3c7)]??0x0),_0x1b5cce=Math[_0x34d9fd(0x336)](_0x19e4c9-_0x55bd47,_0x7da948-_0x5f1655,0x0),_0x3b8979=Math[_0x34d9fd(0x336)](_0x4f09d1-_0x5b7378,_0x2b0ac3-_0xdf9e6a,0x0);return Math[_0x34d9fd(0x564)](_0x1b5cce,_0x3b8979);}function _0x2293e3(_0x18e3c1,_0x4e580f,_0x7820db){const _0x32a055=_0x5b4e73;var _0x3e592b;let _0x4fa6ab=(0x0,_0x27c3df[_0x32a055(0x429)])((_0x3e592b=_0x18e3c1[_0x4e580f])==null?void 0x0:_0x3e592b[_0x32a055(0x2dc)]);for(;_0x4fa6ab!=null&&_0x4fa6ab[_0x32a055(0x279)];){var _0x544308;if(_0x4fa6ab[_0x32a055(0x279)]===_0x7820db)return!0x0;_0x4fa6ab=(0x0,_0x27c3df[_0x32a055(0x429)])((_0x544308=_0x18e3c1[_0x4fa6ab['parentNodeId']])==null?void 0x0:_0x544308[_0x32a055(0x2dc)]);}return!0x1;}function _0x1e3e6f(_0x5975cf,_0x2c07a4,_0x4f7bc1){const _0x1a74f3=_0x5b4e73;let _0x552ef6=_0x13b4d7(_0x5975cf,_0x4f7bc1),_0x39cd9b=_0x552ef6[_0x1a74f3(0x50b)]??0x0,_0x49e36e=_0x552ef6[_0x1a74f3(0x3c7)]??0x0;return _0x49e36e<=0x0?null:_0x2c07a4['y']<=_0x39cd9b+_0x49e36e/0x3?_0x1a74f3(0x3e4):_0x2c07a4['y']>=_0x39cd9b+_0x49e36e*0x2/0x3?_0x1a74f3(0x2a6):null;}function _0x1a8c6f(_0x5b985d,_0x473db5){const _0x4ae2e2=_0x5b4e73;let _0x27fa68=_0x473db5==null?void 0x0:_0x473db5[_0x5b985d];return Number[_0x4ae2e2(0x25b)](_0x27fa68==null?void 0x0:_0x27fa68[_0x4ae2e2(0x469)])&&Number[_0x4ae2e2(0x25b)](_0x27fa68==null?void 0x0:_0x27fa68[_0x4ae2e2(0x50b)])?{'kind':'detach','left':_0x27fa68[_0x4ae2e2(0x469)],'top':_0x27fa68['top']}:{'kind':_0x4ae2e2(0x518)};}function _0x24b7ee(_0x275b77,_0x551a85,_0xe8374a){const _0x4b0e9b=_0x5b4e73;let _0x1c54ac=_0x275b77[_0x551a85],_0x51b1c1=(0x0,_0x27c3df[_0x4b0e9b(0x429)])(_0x1c54ac==null?void 0x0:_0x1c54ac[_0x4b0e9b(0x2dc)]);if(!_0x1c54ac||!_0x51b1c1||!_0x51b1c1[_0x4b0e9b(0x279)]&&!(_0xe8374a!=null&&_0xe8374a[_0x4b0e9b(0x552)]))return{'kind':_0x4b0e9b(0x2a3)};let _0x4158ed=_0xe8374a==null?void 0x0:_0xe8374a[_0x4b0e9b(0x3ea)],_0x4ee846=_0x13b4d7(_0x1c54ac,_0x4158ed),_0x1d5414=_0x2d106a(_0x1c54ac,_0x4158ed),_0x22148c=Object[_0x4b0e9b(0x4fd)](_0x275b77)[_0x4b0e9b(0x4d4)](_0x3b9ea1=>{const _0x2f8dcd=_0x4b0e9b;let _0x424bcc=(0x0,_0x27c3df[_0x2f8dcd(0x429)])(_0x3b9ea1[_0x2f8dcd(0x2dc)]);return!_0x424bcc||_0x3b9ea1['elementId']===_0x551a85||_0x3b9ea1[_0x2f8dcd(0x1f9)]===_0x51b1c1['parentNodeId']||_0xe8374a!=null&&_0xe8374a['allowRootReparent']&&!_0x51b1c1[_0x2f8dcd(0x279)]&&_0x424bcc['structureScopeId']===_0x51b1c1[_0x2f8dcd(0x483)]||_0x2293e3(_0x275b77,_0x3b9ea1[_0x2f8dcd(0x1f9)],_0x551a85)?null:{'item':_0x3b9ea1,'snapDistance':_0x366b3e(_0x4ee846,_0x13b4d7(_0x3b9ea1,_0x4158ed)),'center':_0x2d106a(_0x3b9ea1,_0x4158ed)};})['filter'](_0x154155=>!!_0x154155)[_0x4b0e9b(0x350)]((_0x4fdb0b,_0x9fee19)=>_0x4fdb0b[_0x4b0e9b(0x37b)]-_0x9fee19['snapDistance']||_0x52691b(_0x1d5414,_0x4fdb0b[_0x4b0e9b(0x513)])-_0x52691b(_0x1d5414,_0x9fee19[_0x4b0e9b(0x513)]))[0x0];if(_0x22148c&&_0x22148c[_0x4b0e9b(0x37b)]<=0x64){let _0x39b7b3=(0x0,_0x27c3df[_0x4b0e9b(0x429)])(_0x22148c[_0x4b0e9b(0x312)][_0x4b0e9b(0x2dc)]),_0x18deb6=_0x39b7b3!=null&&_0x39b7b3[_0x4b0e9b(0x279)]?_0x1e3e6f(_0x22148c[_0x4b0e9b(0x312)],_0x1d5414,_0x4158ed):null;return _0x39b7b3!=null&&_0x39b7b3[_0x4b0e9b(0x279)]&&_0x18deb6?{'kind':_0x4b0e9b(0x204),'newParentNodeId':_0x39b7b3[_0x4b0e9b(0x279)],'side':_0x39b7b3[_0x4b0e9b(0x2ff)]??'right','referenceNodeId':_0x22148c['item'][_0x4b0e9b(0x1f9)],'placement':_0x18deb6}:{'kind':_0x4b0e9b(0x204),'newParentNodeId':_0x22148c['item'][_0x4b0e9b(0x1f9)],'side':_0x1d5414['x']<_0x22148c[_0x4b0e9b(0x513)]['x']?_0x4b0e9b(0x469):'right'};}if(_0xe8374a!=null&&_0xe8374a[_0x4b0e9b(0x218)])return _0x1a8c6f(_0x551a85,_0x4158ed);if(!_0x51b1c1['parentNodeId'])return{'kind':_0x4b0e9b(0x2a3)};let _0x3a8af6=_0x275b77[_0x51b1c1[_0x4b0e9b(0x279)]];return _0x3a8af6&&_0x52691b(_0x1d5414,_0x2d106a(_0x3a8af6,_0x4158ed))>0x230?_0x1a8c6f(_0x551a85,_0x4158ed):{'kind':_0x4b0e9b(0x2a3)};}function _0x5db8cf(_0x1985eb,_0x23ee35){const _0x1cad18=_0x5b4e73;var _0x5d5ac3,_0x1a9c95;return _0x1985eb[_0x1cad18(0x1f9)]===_0x23ee35||((_0x5d5ac3=(0x0,_0x27c3df[_0x1cad18(0x429)])(_0x1985eb[_0x1cad18(0x2dc)]))==null?void 0x0:_0x5d5ac3[_0x1cad18(0x483)])===_0x23ee35||((_0x1a9c95=(0x0,_0x27c3df[_0x1cad18(0x275)])(_0x1985eb['element']))==null?void 0x0:_0x1a9c95[_0x1cad18(0x483)])===_0x23ee35;}function _0x108329(_0x1a119c,_0x439f50,_0x4a0014,_0xc40b2b){const _0x2163f9=_0x5b4e73;let _0x363e12=_0x1a119c[_0x439f50];if(!_0x363e12)return _0x1a119c;let _0x5a57aa=_0x363e12[_0x2163f9(0x1d5)]??_0x363e12[_0x2163f9(0x2dc)][_0x2163f9(0x1d5)]??{};return{..._0x1a119c,[_0x439f50]:{..._0x363e12,'transform':{..._0x5a57aa,'left':(_0x5a57aa[_0x2163f9(0x469)]??0x0)+_0x4a0014,'top':(_0x5a57aa[_0x2163f9(0x50b)]??0x0)+_0xc40b2b},'element':{..._0x363e12[_0x2163f9(0x2dc)],'transform':{..._0x363e12[_0x2163f9(0x2dc)][_0x2163f9(0x1d5)],'left':(_0x363e12[_0x2163f9(0x2dc)][_0x2163f9(0x1d5)][_0x2163f9(0x469)]??0x0)+_0x4a0014,'top':(_0x363e12[_0x2163f9(0x2dc)]['transform'][_0x2163f9(0x50b)]??0x0)+_0xc40b2b}}}};}function _0x593bcb(_0x2925da){const _0x3498c2=_0x5b4e73;if(!Number[_0x3498c2(0x25b)](_0x2925da[_0x3498c2(0x32d)][_0x3498c2(0x469)])||!Number[_0x3498c2(0x25b)](_0x2925da['liveRootBounds']['top'])||!Number[_0x3498c2(0x25b)](_0x2925da[_0x3498c2(0x36b)][_0x3498c2(0x469)])||!Number['isFinite'](_0x2925da[_0x3498c2(0x36b)][_0x3498c2(0x50b)]))return null;let _0x4e8efb=_0x2925da['liveRootBounds'][_0x3498c2(0x469)]-_0x2925da['rootStartBounds']['left'],_0x127f95=_0x2925da[_0x3498c2(0x32d)]['top']-_0x2925da['rootStartBounds'][_0x3498c2(0x50b)],_0x190286=_0x108329(_0x2925da[_0x3498c2(0x2a4)],_0x2925da['scopeId'],_0x4e8efb,_0x127f95),_0x4d3b99=[];return Object[_0x3498c2(0x4fd)](_0x190286)[_0x3498c2(0x2de)](_0x5d5411=>{const _0x499912=_0x3498c2;if(_0x5d5411[_0x499912(0x1f9)]===_0x2925da[_0x499912(0x21c)]||_0x5d5411['elementId']===_0x2925da[_0x499912(0x2e5)]||!_0x5db8cf(_0x5d5411,_0x2925da[_0x499912(0x2e5)]))return;if(_0x499912(0x329)in _0x5d5411[_0x499912(0x2dc)]){var _0x15443a;let _0x1e2676=(_0x15443a=_0x2925da[_0x499912(0x2a4)][_0x5d5411['elementId']])==null?void 0x0:_0x15443a['element'];_0x1e2676&&_0x499912(0x329)in _0x1e2676&&_0x4d3b99['push']({'kind':'connector','elementId':_0x5d5411['elementId'],'element':(0x0,_0x38c4c0['offsetBoardConnectorGeometry'])(_0x1e2676,{'x':_0x4e8efb,'y':_0x127f95})});return;}let _0x216d64=(0x0,_0x38c4c0['resolveBoardElementWorldBounds'])(_0x190286,_0x5d5411[_0x499912(0x1f9)]);_0x216d64&&_0x4d3b99[_0x499912(0x48a)]({'kind':'bounds','elementId':_0x5d5411['elementId'],'bounds':_0x216d64});}),{'deltaX':_0x4e8efb,'deltaY':_0x127f95,'elementData':_0x190286,'items':_0x4d3b99};}let _0x235e64=class extends _0xd2d24[_0x5b4e73(0x260)]{constructor(_0xf1f8a6,_0x266484,_0xe235e8,_0x538456,_0x3cc610,_0x5af080,_0x159f42){const _0x4e5350=_0x5b4e73;super(),this[_0x4e5350(0x4ec)]=_0xf1f8a6,this[_0x4e5350(0x4de)]=_0x266484,this[_0x4e5350(0x42f)]=_0xe235e8,this[_0x4e5350(0x316)]=_0x538456,this[_0x4e5350(0x254)]=_0x3cc610,this[_0x4e5350(0x557)]=_0x5af080,this[_0x4e5350(0x4d1)]=_0x159f42,_0x5ac814(this,_0x4e5350(0x43e),null),_0x5ac814(this,_0x4e5350(0x54c),null),_0x5ac814(this,_0x4e5350(0x49a),null),_0x5ac814(this,'_childDragActivated',!0x1),_0x5ac814(this,_0x4e5350(0x34d),null),_0x5ac814(this,_0x4e5350(0x44c),null),_0x5ac814(this,_0x4e5350(0x4a4),!0x1),_0x5ac814(this,_0x4e5350(0x1ca),null),_0x5ac814(this,'_childDragSelectionHidden',!0x1),this[_0x4e5350(0x1f6)]();}[_0x5b4e73(0x1f6)](){const _0xe65b7a=_0x5b4e73;var _0x1e97ce,_0x4653a3,_0x5d81f2,_0x2c6115,_0xab2d96;let _0x127a28=this[_0xe65b7a(0x4ec)][_0xe65b7a(0x397)][_0xe65b7a(0x310)]();this[_0xe65b7a(0x19b)]((0x0,_0xd2d24['toDisposable'])(_0x127a28['changeStart$']['pipe']((0x0,_0x54b023[_0xe65b7a(0x33b)])(this[_0xe65b7a(0x1d6)]))[_0xe65b7a(0x187)](()=>{this['_captureDragStart']();}))),this[_0xe65b7a(0x19b)]((0x0,_0xd2d24[_0xe65b7a(0x181)])(((_0x1e97ce=_0x127a28[_0xe65b7a(0x2b0)])==null?void 0x0:_0x1e97ce[_0xe65b7a(0x3b0)]((0x0,_0x54b023[_0xe65b7a(0x33b)])(this[_0xe65b7a(0x1d6)]))[_0xe65b7a(0x187)](_0x495f11=>{const _0x21bc44=_0xe65b7a;this[_0x21bc44(0x16e)](_0x495f11==null?void 0x0:_0x495f11[_0x21bc44(0x4ba)]);}))??{'dispose':()=>{}})),this['disposeWithMe']((0x0,_0xd2d24[_0xe65b7a(0x181)])(_0x127a28[_0xe65b7a(0x183)][_0xe65b7a(0x3b0)]((0x0,_0x54b023[_0xe65b7a(0x33b)])(this[_0xe65b7a(0x1d6)]))[_0xe65b7a(0x187)](_0x4e4280=>{setTimeout(()=>this['_applyDragTopologyAction'](_0x4e4280==null?void 0x0:_0x4e4280['objects']),0x0);}))),this['disposeWithMe']((0x0,_0xd2d24[_0xe65b7a(0x181)])(((_0x4653a3=this['_renderContext'][_0xe65b7a(0x397)][_0xe65b7a(0x4a2)])==null?void 0x0:_0x4653a3[_0xe65b7a(0x215)]({'priority':0x3,'next':([_0x23e3a0])=>this[_0xe65b7a(0x333)](_0x23e3a0)}))??{'dispose':()=>{}})),this['disposeWithMe']((0x0,_0xd2d24['toDisposable'])(((_0x5d81f2=this['_renderContext'][_0xe65b7a(0x397)][_0xe65b7a(0x271)])==null?void 0x0:_0x5d81f2[_0xe65b7a(0x215)]({'priority':0x3,'next':([_0x56ae00,_0x3193b4])=>this['_syncPointerChildDragPreview'](_0x56ae00,_0x3193b4)}))??{'dispose':()=>{}})),this[_0xe65b7a(0x19b)]((0x0,_0xd2d24[_0xe65b7a(0x181)])(((_0x2c6115=this[_0xe65b7a(0x4ec)]['scene']['onPointerUp$'])==null?void 0x0:_0x2c6115[_0xe65b7a(0x215)]({'priority':0x3,'next':([_0x4d76b8,_0x14b5fb])=>this['_applyPointerChildDrag'](_0x4d76b8,_0x14b5fb)}))??{'dispose':()=>{}})),this['disposeWithMe']((0x0,_0xd2d24[_0xe65b7a(0x181)])(((_0xab2d96=this['_renderContext']['scene'][_0xe65b7a(0x2fd)])==null?void 0x0:_0xab2d96[_0xe65b7a(0x215)]({'priority':0x3,'next':([,_0xdfe0bb])=>this['_cancelPointerChildDrag'](_0xdfe0bb)}))??{'dispose':()=>{}})),this[_0xe65b7a(0x19b)]((0x0,_0xd2d24[_0xe65b7a(0x181)])(()=>{const _0x5039d5=_0xe65b7a;var _0x274564;return(_0x274564=this[_0x5039d5(0x44c)])==null?void 0x0:_0x274564[_0x5039d5(0x1a9)]();})),this[_0xe65b7a(0x19b)]((0x0,_0xd2d24['toDisposable'])(()=>this['_disposeActivePointerDragListeners']())),this['_subscribeElementDataChanges'](),this['_scheduleAttachObjectPointerListeners'](),this[_0xe65b7a(0x19b)]((0x0,_0xd2d24[_0xe65b7a(0x181)])(()=>this[_0xe65b7a(0x42a)]()));}[_0x5b4e73(0x2b2)](){const _0x46b938=_0x5b4e73;[this[_0x46b938(0x4de)][_0x46b938(0x15f)],this[_0x46b938(0x4de)]['elementUpdate$'],this[_0x46b938(0x4de)][_0x46b938(0x3b2)]][_0x46b938(0x2de)](_0x2a21ab=>{const _0x55e694=_0x46b938;this['disposeWithMe']((0x0,_0xd2d24[_0x55e694(0x181)])(_0x2a21ab[_0x55e694(0x3b0)]((0x0,_0x54b023[_0x55e694(0x33b)])(this[_0x55e694(0x1d6)]))[_0x55e694(0x187)](()=>{this['_scheduleAttachObjectPointerListeners']();})));}),this[_0x46b938(0x42f)][_0x46b938(0x3ed)]&&this[_0x46b938(0x19b)]((0x0,_0xd2d24[_0x46b938(0x181)])(this[_0x46b938(0x42f)][_0x46b938(0x3ed)][_0x46b938(0x3b0)]((0x0,_0x54b023[_0x46b938(0x33b)])(this['dispose$']))[_0x46b938(0x187)](()=>{this['_scheduleAttachObjectPointerListeners']();})));}[_0x5b4e73(0x2ab)](){const _0xdc5678=_0x5b4e73;this['_attachObjectPointerScheduled']||(this['_attachObjectPointerScheduled']=!0x0,Promise[_0xdc5678(0x4fc)]()[_0xdc5678(0x352)](()=>this[_0xdc5678(0x3a3)]()));}['_attachObjectPointerListeners'](){const _0xbc4dae=_0x5b4e73;var _0x5afe02;this[_0xbc4dae(0x4a4)]=!0x1;let _0x208c65=this[_0xbc4dae(0x258)](),_0x26a789=this[_0xbc4dae(0x4ec)][_0xbc4dae(0x397)];if(!_0x208c65||typeof _0x26a789['getObject']!='function')return;let _0x3a5231=this[_0xbc4dae(0x4de)][_0xbc4dae(0x544)](_0x208c65['unitId'],_0x208c65[_0xbc4dae(0x1a0)]),_0x90557=new _0xd2d24['DisposableCollection']();(_0x5afe02=this['_objectPointerDisposables'])==null||_0x5afe02[_0xbc4dae(0x1a9)](),this[_0xbc4dae(0x44c)]=_0x90557,Object[_0xbc4dae(0x4fd)](_0x3a5231)[_0xbc4dae(0x2de)](_0x34d155=>{const _0x22c711=_0xbc4dae;var _0x3a6730,_0x27f5ad;let _0x25f776=(0x0,_0x27c3df[_0x22c711(0x429)])(_0x34d155[_0x22c711(0x2dc)]);if(!(_0x25f776!=null&&_0x25f776[_0x22c711(0x279)]))return;let _0x287616=(0x0,_0x13e20e[_0x22c711(0x3e8)])(_0x208c65[_0x22c711(0x560)],_0x34d155[_0x22c711(0x1f9)]),_0x2bab23=((_0x3a6730=_0x26a789[_0x22c711(0x31d)])==null?void 0x0:_0x3a6730[_0x22c711(0x402)](_0x26a789,_0x287616))??((_0x27f5ad=_0x26a789[_0x22c711(0x2be)])==null?void 0x0:_0x27f5ad[_0x22c711(0x402)](_0x26a789,_0x287616));_0x2bab23!=null&&_0x2bab23['onPointerDown$']&&_0x90557[_0x22c711(0x450)](_0x2bab23[_0x22c711(0x4a2)][_0x22c711(0x215)]({'priority':-0xa,'next':([_0x194c98,_0x3ce6ec])=>this[_0x22c711(0x333)](_0x194c98,{'unitId':_0x208c65[_0x22c711(0x560)],'subUnitId':_0x208c65['subUnitId'],'nodeId':_0x34d155['elementId']},_0x3ce6ec)}));});}[_0x5b4e73(0x258)](){const _0x223db0=_0x5b4e73;let _0x38eb10=this[_0x223db0(0x42f)][_0x223db0(0x54d)]()['context'];if(_0x38eb10)return _0x38eb10;let _0x56671a=this[_0x223db0(0x4ec)]['unitId'],_0x2bc318=_0x56671a?this[_0x223db0(0x557)]['getUnit'](_0x56671a,_0xd2d24[_0x223db0(0x269)][_0x223db0(0x2ae)]):null,_0xcae494=_0x2bc318==null?void 0x0:_0x2bc318[_0x223db0(0x2c6)]();return!_0x2bc318||!_0xcae494?null:{'unitId':_0x2bc318[_0x223db0(0x180)](),'subUnitId':_0xcae494};}[_0x5b4e73(0x3d5)](){const _0x11b215=_0x5b4e73;let _0x3ec4f8=this[_0x11b215(0x42f)]['getSnapshot']();this[_0x11b215(0x17a)]=!0x1,this[_0x11b215(0x32b)]=!0x1,this['_lastChildDragAction']=null;let _0x394cb1=_0x3ec4f8[_0x11b215(0x252)],_0x148ed5=_0x3ec4f8[_0x11b215(0x54f)]??_0x3ec4f8[_0x11b215(0x179)][0x0];if(!_0x394cb1||!_0x148ed5){this[_0x11b215(0x43e)]=null,this[_0x11b215(0x42a)]();return;}let _0x10481f=this['_boardElementService'][_0x11b215(0x544)](_0x394cb1[_0x11b215(0x560)],_0x394cb1[_0x11b215(0x1a0)]);if(_0x3ec4f8['selectedIds']['length']>0x1){let _0x5f2921=this[_0x11b215(0x50e)](_0x10481f,_0x3ec4f8[_0x11b215(0x179)]);if(!_0x5f2921){this[_0x11b215(0x43e)]=null,this[_0x11b215(0x42a)]();return;}let _0x4aec1b=_0x10481f[_0x5f2921[_0x11b215(0x21c)]],_0x395b3b=(0x0,_0x38c4c0[_0x11b215(0x530)])(_0x10481f,_0x5f2921['rootNodeId']),_0x1598ac=_0x4aec1b[_0x11b215(0x2dc)][_0x11b215(0x1d5)];this[_0x11b215(0x43e)]={'kind':_0x11b215(0x305),'unitId':_0x394cb1[_0x11b215(0x560)],'subUnitId':_0x394cb1[_0x11b215(0x1a0)],'nodeId':_0x5f2921[_0x11b215(0x21c)],'scopeId':_0x5f2921[_0x11b215(0x2e5)],'left':(_0x395b3b==null?void 0x0:_0x395b3b[_0x11b215(0x469)])??_0x1598ac[_0x11b215(0x469)]??0x0,'top':(_0x395b3b==null?void 0x0:_0x395b3b['top'])??_0x1598ac[_0x11b215(0x50b)]??0x0,'width':(_0x395b3b==null?void 0x0:_0x395b3b[_0x11b215(0x351)])??_0x1598ac[_0x11b215(0x351)]??0x0,'height':(_0x395b3b==null?void 0x0:_0x395b3b[_0x11b215(0x3c7)])??_0x1598ac[_0x11b215(0x3c7)]??0x0,'elementData':_0x10481f};return;}let _0x192897=_0x10481f[_0x148ed5],_0x38a37a=(0x0,_0x27c3df['getMindMapNodeMeta'])(_0x192897==null?void 0x0:_0x192897[_0x11b215(0x2dc)]);if(!_0x192897||!_0x38a37a){this[_0x11b215(0x43e)]=null,this['_removeDragPreviewObject']();return;}let _0x148766=(0x0,_0x38c4c0[_0x11b215(0x530)])(_0x10481f,_0x148ed5),_0x1a2c04=_0x192897[_0x11b215(0x2dc)][_0x11b215(0x1d5)];this['_dragStart']={'kind':_0x38a37a[_0x11b215(0x279)]===null?_0x11b215(0x394):_0x11b215(0x201),'unitId':_0x394cb1[_0x11b215(0x560)],'subUnitId':_0x394cb1[_0x11b215(0x1a0)],'nodeId':_0x148ed5,'scopeId':_0x38a37a[_0x11b215(0x483)],'left':(_0x148766==null?void 0x0:_0x148766[_0x11b215(0x469)])??_0x1a2c04[_0x11b215(0x469)]??0x0,'top':(_0x148766==null?void 0x0:_0x148766[_0x11b215(0x50b)])??_0x1a2c04[_0x11b215(0x50b)]??0x0,'width':(_0x148766==null?void 0x0:_0x148766[_0x11b215(0x351)])??_0x1a2c04['width']??0x0,'height':(_0x148766==null?void 0x0:_0x148766[_0x11b215(0x3c7)])??_0x1a2c04[_0x11b215(0x3c7)]??0x0,'elementData':_0x10481f};}[_0x5b4e73(0x50e)](_0x20e7c9,_0x4be680){const _0x367725=_0x5b4e73;let _0x51a363=new Set(_0x4be680),_0x5a6b38=_0x4be680[_0x367725(0x4d4)](_0x183e4b=>{const _0xbf6b27=_0x367725;var _0x67010c,_0x3044f5,_0x67423a,_0x4e980b;let _0x4e8315=(_0x67010c=_0x20e7c9[_0x183e4b])==null?void 0x0:_0x67010c[_0xbf6b27(0x2dc)];return((_0x3044f5=(0x0,_0x27c3df[_0xbf6b27(0x429)])(_0x4e8315))==null?void 0x0:_0x3044f5[_0xbf6b27(0x483)])??((_0x67423a=(0x0,_0x27c3df[_0xbf6b27(0x275)])(_0x4e8315))==null?void 0x0:_0x67423a[_0xbf6b27(0x483)])??((_0x4e980b=(0x0,_0x27c3df[_0xbf6b27(0x184)])(_0x4e8315))==null?void 0x0:_0x4e980b['structureScopeId'])??null;});if(_0x5a6b38['some'](_0x22e011=>_0x22e011===null)||new Set(_0x5a6b38)[_0x367725(0x301)]!==0x1)return null;let _0x4fdfe7=_0x5a6b38[0x0];if(!_0x4fdfe7)return null;let _0x1ac96f=Object[_0x367725(0x4fd)](_0x20e7c9)[_0x367725(0x4c1)](_0x42b129=>{const _0x17a30b=_0x367725;var _0x340340;return _0x42b129[_0x17a30b(0x2dc)][_0x17a30b(0x248)]!==!0x1&&((_0x340340=(0x0,_0x27c3df['getMindMapNodeMeta'])(_0x42b129[_0x17a30b(0x2dc)]))==null?void 0x0:_0x340340[_0x17a30b(0x483)])===_0x4fdfe7;});if(_0x1ac96f[_0x367725(0x2ce)]===0x0||_0x1ac96f[_0x367725(0x198)](_0x3041cc=>!_0x51a363[_0x367725(0x250)](_0x3041cc['elementId'])))return null;let _0x132a59=_0x1ac96f[_0x367725(0x4c1)](_0x178753=>{const _0x31463f=_0x367725;var _0x2d2809;return((_0x2d2809=(0x0,_0x27c3df[_0x31463f(0x429)])(_0x178753[_0x31463f(0x2dc)]))==null?void 0x0:_0x2d2809[_0x31463f(0x279)])===null;});return _0x132a59['length']===0x1?{'rootNodeId':_0x132a59[0x0][_0x367725(0x1f9)],'scopeId':_0x4fdfe7}:null;}[_0x5b4e73(0x333)](_0x205cfa,_0x252ca4,_0x502149){const _0x347a60=_0x5b4e73;var _0x268e7d,_0x5b3751,_0x163e15,_0x183b05,_0x4bff8b;if(this[_0x347a60(0x254)][_0x347a60(0x27b)]()[_0x347a60(0x1ba)]==='viewing'||(_0x205cfa[_0x347a60(0x3c4)]??0x0)!==0x0)return;let _0x3c34dc=this[_0x347a60(0x42f)][_0x347a60(0x54d)]();if(_0x3c34dc[_0x347a60(0x20f)]){this['_pointerDragStart']=null;return;}let _0x3a7eb7=_0x252ca4?{'unitId':_0x252ca4[_0x347a60(0x560)],'subUnitId':_0x252ca4[_0x347a60(0x1a0)]}:_0x3c34dc[_0x347a60(0x252)]??this['_resolveCurrentBoardContext'](),_0x5f0af6=(_0x252ca4==null?void 0x0:_0x252ca4[_0x347a60(0x555)])??(_0x3c34dc[_0x347a60(0x179)][_0x347a60(0x2ce)]===0x1?_0x3c34dc['focusedId']??_0x3c34dc[_0x347a60(0x179)][0x0]:void 0x0);if(!_0x3a7eb7){this[_0x347a60(0x54c)]=null;return;}let _0x146d78=this[_0x347a60(0x4de)][_0x347a60(0x544)](_0x3a7eb7[_0x347a60(0x560)],_0x3a7eb7[_0x347a60(0x1a0)]),_0x215b66=this[_0x347a60(0x460)](_0x205cfa);if(!_0x252ca4){let _0x4e4614=_0x5f0af6?_0x146d78[_0x5f0af6]:null,_0xf837cb=(0x0,_0x27c3df[_0x347a60(0x429)])(_0x4e4614==null?void 0x0:_0x4e4614[_0x347a60(0x2dc)]),_0x171aa6=_0x5f0af6?(0x0,_0x38c4c0[_0x347a60(0x530)])(_0x146d78,_0x5f0af6)??(_0x4e4614==null?void 0x0:_0x4e4614[_0x347a60(0x2dc)][_0x347a60(0x1d5)]):null;(!(_0xf837cb!=null&&_0xf837cb[_0x347a60(0x279)])||!_0x171aa6||!this['_isPointInBounds'](_0x215b66,{'left':_0x171aa6[_0x347a60(0x469)]??0x0,'top':_0x171aa6[_0x347a60(0x50b)]??0x0,'width':_0x171aa6['width']??0x0,'height':_0x171aa6[_0x347a60(0x3c7)]??0x0}))&&(_0x5f0af6=this[_0x347a60(0x41d)](_0x146d78,_0x215b66));}if(!_0x5f0af6){this['_pointerDragStart']=null;return;}let _0x25bf72=_0x146d78[_0x5f0af6],_0x3aab09=(0x0,_0x27c3df['getMindMapNodeMeta'])(_0x25bf72==null?void 0x0:_0x25bf72[_0x347a60(0x2dc)]);if(!_0x25bf72||!(_0x3aab09!=null&&_0x3aab09[_0x347a60(0x279)])){this[_0x347a60(0x54c)]=null;return;}this[_0x347a60(0x557)]['focusUnit'](_0x3a7eb7[_0x347a60(0x560)]),(_0x268e7d=this['_renderContext'][_0x347a60(0x2da)])==null||(_0x5b3751=_0x268e7d[_0x347a60(0x2d9)])==null||(_0x5b3751=_0x5b3751[_0x347a60(0x402)](_0x268e7d))==null||(_0x163e15=_0x5b3751[_0x347a60(0x2bb)])==null||_0x163e15[_0x347a60(0x402)](_0x5b3751,{'preventScroll':!0x0}),(_0x183b05=(_0x4bff8b=this['_elementStateService'])[_0x347a60(0x19a)])==null||_0x183b05[_0x347a60(0x402)](_0x4bff8b,_0x3a7eb7,[_0x5f0af6],_0x5f0af6),_0x502149==null||_0x502149['stopPropagation']();let _0x59ef3b=(0x0,_0x38c4c0['resolveBoardElementWorldBounds'])(_0x146d78,_0x5f0af6),_0x2406f5=_0x25bf72[_0x347a60(0x2dc)][_0x347a60(0x1d5)],_0x182df9={'left':(_0x59ef3b==null?void 0x0:_0x59ef3b['left'])??_0x2406f5[_0x347a60(0x469)]??0x0,'top':(_0x59ef3b==null?void 0x0:_0x59ef3b[_0x347a60(0x50b)])??_0x2406f5[_0x347a60(0x50b)]??0x0,'width':(_0x59ef3b==null?void 0x0:_0x59ef3b[_0x347a60(0x351)])??_0x2406f5[_0x347a60(0x351)]??0x0,'height':(_0x59ef3b==null?void 0x0:_0x59ef3b[_0x347a60(0x3c7)])??_0x2406f5[_0x347a60(0x3c7)]??0x0};if(!_0x252ca4&&!this[_0x347a60(0x481)](_0x215b66,_0x182df9)){this[_0x347a60(0x54c)]=null;return;}let _0x421311=this[_0x347a60(0x160)](_0x205cfa);this[_0x347a60(0x17a)]=!0x1,this[_0x347a60(0x32b)]=!0x1,this[_0x347a60(0x34d)]=null,this['_pointerDragStart']={'kind':'child','unitId':_0x3a7eb7[_0x347a60(0x560)],'subUnitId':_0x3a7eb7[_0x347a60(0x1a0)],'nodeId':_0x5f0af6,'scopeId':_0x3aab09['structureScopeId'],..._0x182df9,'pointerStartX':_0x421311['x'],'pointerStartY':_0x421311['y'],'elementData':_0x146d78},this['_attachActivePointerDragListeners'](),this['_consumePointerEvent'](_0x205cfa,_0x502149);}[_0x5b4e73(0x3ee)](_0x284882,_0x552a19){const _0x861ab4=_0x5b4e73;var _0x282d3d,_0x3aeb3c;let _0x425827=this['_pointerDragStart'];if(!_0x425827||_0x284882[_0x861ab4(0x193)]!==void 0x0&&_0x284882[_0x861ab4(0x193)]!==0x1)return;let _0x5e0f5d=this[_0x861ab4(0x554)](_0x284882,_0x425827);if(!this[_0x861ab4(0x161)](_0x425827,_0x5e0f5d))return;this[_0x861ab4(0x17a)]||this['_hideSelectionForChildDrag'](),this[_0x861ab4(0x17a)]=!0x0;let _0x4d53c6=this[_0x861ab4(0x1ab)](_0x425827[_0x861ab4(0x2a4)],_0x425827[_0x861ab4(0x555)],_0x5e0f5d),_0x2e2a12=_0x24b7ee(_0x425827[_0x861ab4(0x2a4)],_0x425827['nodeId'],{'boundsByElementId':_0x4d53c6,'detachWhenNoSnap':!0x0});this[_0x861ab4(0x34d)]=_0x2e2a12,this['_syncChildDragPreviewObject'](_0x5e0f5d,_0x2e2a12,_0x4d53c6),this[_0x861ab4(0x3cf)](_0x284882,_0x552a19),this[_0x861ab4(0x4ec)][_0x861ab4(0x397)][_0x861ab4(0x31a)](!0x0),(_0x282d3d=(_0x3aeb3c=this[_0x861ab4(0x4ec)][_0x861ab4(0x397)])['requestRender'])==null||_0x282d3d[_0x861ab4(0x402)](_0x3aeb3c);}[_0x5b4e73(0x45a)](_0x4b5cbd,_0x28790f){const _0x4db575=_0x5b4e73;let _0x255c38=this[_0x4db575(0x54c)];if(!_0x255c38)return;if(this['_pointerDragStart']=null,this[_0x4db575(0x3d4)](),this['_removeDragPreviewObject'](),!this[_0x4db575(0x17a)]){this[_0x4db575(0x34d)]=null;return;}let _0x22dc9b=this[_0x4db575(0x4de)][_0x4db575(0x544)](_0x255c38[_0x4db575(0x560)],_0x255c38['subUnitId']),_0x3ae7cf=this[_0x4db575(0x554)](_0x4b5cbd,_0x255c38),_0x28a20a=this['_createTopologyBoundsByElementId'](_0x22dc9b,_0x255c38['nodeId'],_0x3ae7cf),_0x5191f7=_0x24b7ee(_0x22dc9b,_0x255c38[_0x4db575(0x555)],{'boundsByElementId':_0x28a20a,'detachWhenNoSnap':!0x0});this['_lastChildDragAction']=null,this[_0x4db575(0x403)](_0x255c38['unitId'],_0x255c38[_0x4db575(0x1a0)],_0x255c38['nodeId'],_0x22dc9b,_0x5191f7),this[_0x4db575(0x32b)]=!0x1,this['_consumePointerEvent'](_0x4b5cbd,_0x28790f);}[_0x5b4e73(0x1fb)](_0x201ff7){const _0x5de289=_0x5b4e73;let _0x2b1a36=this[_0x5de289(0x54c)];if(_0x2b1a36){if(this['_pointerDragStart']=null,this[_0x5de289(0x3d4)](),this[_0x5de289(0x17a)]=!0x1,this[_0x5de289(0x34d)]=null,this[_0x5de289(0x42a)](),this['_childDragSelectionHidden']){var _0x64f446,_0x36725f;(_0x64f446=(_0x36725f=this[_0x5de289(0x42f)])[_0x5de289(0x19a)])==null||_0x64f446[_0x5de289(0x402)](_0x36725f,{'unitId':_0x2b1a36['unitId'],'subUnitId':_0x2b1a36[_0x5de289(0x1a0)]},[_0x2b1a36[_0x5de289(0x555)]],_0x2b1a36[_0x5de289(0x555)]),this[_0x5de289(0x32b)]=!0x1;}_0x201ff7==null||_0x201ff7[_0x5de289(0x29c)]();}}[_0x5b4e73(0x1dd)](){const _0x173631=_0x5b4e73;this[_0x173631(0x3d4)]();let _0x3835cc=typeof window>'u'?null:window;if(!(_0x3835cc!=null&&_0x3835cc['addEventListener']))return;let _0x39a8a9=new _0xd2d24['DisposableCollection'](),_0x346fd9=_0x15254a=>this[_0x173631(0x3ee)](_0x15254a),_0x14a4de=_0x5b8919=>this[_0x173631(0x45a)](_0x5b8919),_0x20ac40=()=>this[_0x173631(0x1fb)]();_0x3835cc[_0x173631(0x3d9)]('pointermove',_0x346fd9,{'capture':!0x0}),_0x3835cc[_0x173631(0x3d9)](_0x173631(0x1de),_0x14a4de,{'capture':!0x0}),_0x3835cc[_0x173631(0x3d9)](_0x173631(0x3ab),_0x20ac40,{'capture':!0x0}),_0x39a8a9[_0x173631(0x450)]((0x0,_0xd2d24[_0x173631(0x181)])(()=>{const _0x31c9b9=_0x173631;_0x3835cc[_0x31c9b9(0x3ac)](_0x31c9b9(0x3af),_0x346fd9,{'capture':!0x0}),_0x3835cc[_0x31c9b9(0x3ac)](_0x31c9b9(0x1de),_0x14a4de,{'capture':!0x0}),_0x3835cc[_0x31c9b9(0x3ac)](_0x31c9b9(0x3ab),_0x20ac40,{'capture':!0x0});})),this[_0x173631(0x1ca)]=_0x39a8a9;}[_0x5b4e73(0x41d)](_0x297f25,_0x4ca1de){const _0x561236=_0x5b4e73;let _0x508584=Object[_0x561236(0x4fd)](_0x297f25);for(let _0xe0aea3=_0x508584[_0x561236(0x2ce)]-0x1;_0xe0aea3>=0x0;--_0xe0aea3){let _0x300bc3=_0x508584[_0xe0aea3],_0x297d44=(0x0,_0x27c3df[_0x561236(0x429)])(_0x300bc3[_0x561236(0x2dc)]);if(!(_0x297d44!=null&&_0x297d44[_0x561236(0x279)]))continue;let _0x3a4877=(0x0,_0x38c4c0['resolveBoardElementWorldBounds'])(_0x297f25,_0x300bc3[_0x561236(0x1f9)])??_0x300bc3[_0x561236(0x2dc)][_0x561236(0x1d5)];if(this[_0x561236(0x481)](_0x4ca1de,{'left':_0x3a4877[_0x561236(0x469)]??0x0,'top':_0x3a4877[_0x561236(0x50b)]??0x0,'width':_0x3a4877[_0x561236(0x351)]??0x0,'height':_0x3a4877[_0x561236(0x3c7)]??0x0}))return _0x300bc3[_0x561236(0x1f9)];}}['_disposeActivePointerDragListeners'](){const _0xdc811d=_0x5b4e73;var _0x2a9572;(_0x2a9572=this[_0xdc811d(0x1ca)])==null||_0x2a9572[_0xdc811d(0x1a9)](),this['_activePointerDragDisposables']=null;}[_0x5b4e73(0x16e)](_0x2cacc8){const _0x5eaca5=_0x5b4e73;let _0x461ea5=this['_dragStart'];if(_0x461ea5){if((_0x461ea5[_0x5eaca5(0x466)]===_0x5eaca5(0x394)||_0x461ea5['kind']===_0x5eaca5(0x305))&&this['_syncRootScopePreview'](_0x2cacc8),_0x461ea5[_0x5eaca5(0x466)]==='root'){this[_0x5eaca5(0x2cc)](_0x2cacc8);return;}this[_0x5eaca5(0x3b6)](_0x2cacc8);}}[_0x5b4e73(0x373)](_0x8741e0){const _0x3d21bf=_0x5b4e73;let _0x1e5f2c=this[_0x3d21bf(0x43e)];if(!_0x1e5f2c||_0x1e5f2c[_0x3d21bf(0x466)]!==_0x3d21bf(0x394)&&_0x1e5f2c['kind']!==_0x3d21bf(0x305))return;let _0x42dd5d=_0x8741e0==null?void 0x0:_0x8741e0['get']((0x0,_0x13e20e[_0x3d21bf(0x3e8)])(_0x1e5f2c[_0x3d21bf(0x560)],_0x1e5f2c['nodeId']));if(!_0x42dd5d||!Number[_0x3d21bf(0x25b)](_0x42dd5d[_0x3d21bf(0x469)])||!Number[_0x3d21bf(0x25b)](_0x42dd5d['top']))return;let _0x332e93=_0x593bcb({'elementData':_0x1e5f2c[_0x3d21bf(0x2a4)],'rootNodeId':_0x1e5f2c[_0x3d21bf(0x555)],'scopeId':_0x1e5f2c[_0x3d21bf(0x2e5)],'rootStartBounds':{'left':_0x1e5f2c[_0x3d21bf(0x469)],'top':_0x1e5f2c[_0x3d21bf(0x50b)]},'liveRootBounds':{'left':_0x42dd5d[_0x3d21bf(0x469)],'top':_0x42dd5d['top']}});if(!_0x332e93)return;let _0x388a65=this[_0x3d21bf(0x4ec)][_0x3d21bf(0x397)],_0x39a2d9=_0x388a65,_0x59e212=!0x1;_0x332e93[_0x3d21bf(0x456)][_0x3d21bf(0x2de)](_0x9cbc84=>{const _0x4d459f=_0x3d21bf;var _0x283e48;let _0x52fc90=(0x0,_0x13e20e[_0x4d459f(0x3e8)])(_0x1e5f2c['unitId'],_0x9cbc84['elementId']),_0x239a8e=((_0x283e48=_0x39a2d9[_0x4d459f(0x31d)])==null?void 0x0:_0x283e48[_0x4d459f(0x402)](_0x39a2d9,_0x52fc90))??_0x388a65[_0x4d459f(0x2be)](_0x52fc90);if(_0x239a8e){if(_0x9cbc84[_0x4d459f(0x466)]===_0x4d459f(0x21e)&&typeof _0x239a8e[_0x4d459f(0x4a5)]=='function'){_0x239a8e[_0x4d459f(0x4a5)](_0x9cbc84[_0x4d459f(0x2dc)],_0x332e93['elementData']),_0x59e212=!0x0;return;}_0x9cbc84['kind']===_0x4d459f(0x3b3)&&(_0x239a8e[_0x4d459f(0x261)](_0x9cbc84[_0x4d459f(0x3b3)]),typeof _0x239a8e[_0x4d459f(0x2f7)]==_0x4d459f(0x4af)?_0x239a8e[_0x4d459f(0x2f7)](!0x0):_0x239a8e[_0x4d459f(0x31a)](!0x0),_0x59e212=!0x0);}}),_0x59e212&&_0x388a65['makeDirty'](!0x0);}[_0x5b4e73(0x2cc)](_0x27bba1){const _0x244d34=_0x5b4e73;var _0x776b06,_0x5fe0d9;let _0xbb4e4e=this[_0x244d34(0x43e)];if(!_0xbb4e4e||_0xbb4e4e['kind']!==_0x244d34(0x394))return;let _0x50f339=_0x27bba1==null?void 0x0:_0x27bba1['get']((0x0,_0x13e20e[_0x244d34(0x3e8)])(_0xbb4e4e[_0x244d34(0x560)],_0xbb4e4e[_0x244d34(0x555)]));if(!_0x50f339||!Number[_0x244d34(0x25b)](_0x50f339[_0x244d34(0x469)])||!Number['isFinite'](_0x50f339[_0x244d34(0x50b)])){this[_0x244d34(0x42a)]();return;}let _0x19af74=this[_0x244d34(0x3df)](_0x50f339,_0xbb4e4e),_0x3e8dfc=this['_createTopologyBoundsByElementId'](_0xbb4e4e['elementData'],_0xbb4e4e[_0x244d34(0x555)],_0x19af74),_0x27b45b=_0x24b7ee(_0xbb4e4e[_0x244d34(0x2a4)],_0xbb4e4e['nodeId'],{'boundsByElementId':_0x3e8dfc,'allowRootReparent':!0x0});if(_0x27b45b[_0x244d34(0x466)]!==_0x244d34(0x204)){this[_0x244d34(0x42a)]();return;}let _0x212810=this[_0x244d34(0x547)]();_0x212810&&(_0x212810[_0x244d34(0x178)]({'ghostBounds':_0x19af74,'sourceBounds':null,'parentBounds':_0x3e8dfc[_0x27b45b[_0x244d34(0x379)]],'side':_0x27b45b[_0x244d34(0x2ff)],'textStyle':void 0x0,'renderGhostNode':!0x1}),this['_renderContext'][_0x244d34(0x397)][_0x244d34(0x31a)](!0x0),(_0x776b06=(_0x5fe0d9=this[_0x244d34(0x4ec)][_0x244d34(0x397)])['requestRender'])==null||_0x776b06[_0x244d34(0x402)](_0x5fe0d9));}['_syncChildDragPreview'](_0x34f705){const _0x502810=_0x5b4e73;var _0x4fde8d,_0x3b47b5;let _0x544e7d=this[_0x502810(0x43e)];if(!_0x544e7d||_0x544e7d[_0x502810(0x466)]!==_0x502810(0x201))return;let _0x3bc3cc=_0x34f705==null?void 0x0:_0x34f705[_0x502810(0x49c)]((0x0,_0x13e20e[_0x502810(0x3e8)])(_0x544e7d['unitId'],_0x544e7d['nodeId']));if(!_0x3bc3cc){this[_0x502810(0x42a)]();return;}let _0x1f6795=this[_0x502810(0x3df)](_0x3bc3cc,_0x544e7d);if(!this[_0x502810(0x161)](_0x544e7d,_0x1f6795)){this[_0x502810(0x34d)]=null,this[_0x502810(0x42a)](),this['_restoreObjectToDragStart'](_0x3bc3cc,_0x544e7d),this['_renderContext'][_0x502810(0x397)]['makeDirty'](!0x0);return;}this[_0x502810(0x17a)]||this[_0x502810(0x418)](),this[_0x502810(0x17a)]=!0x0;let _0x35a57b=this[_0x502810(0x1ab)](_0x544e7d[_0x502810(0x2a4)],_0x544e7d['nodeId'],_0x1f6795),_0x50c406=_0x24b7ee(_0x544e7d['elementData'],_0x544e7d[_0x502810(0x555)],{'boundsByElementId':_0x35a57b,'detachWhenNoSnap':!0x0});this['_lastChildDragAction']=_0x50c406,this[_0x502810(0x2c3)](_0x1f6795,_0x50c406,_0x35a57b),this['_restoreObjectToDragStart'](_0x3bc3cc,_0x544e7d),this[_0x502810(0x4ec)][_0x502810(0x397)]['makeDirty'](!0x0),(_0x4fde8d=(_0x3b47b5=this['_renderContext'][_0x502810(0x397)])[_0x502810(0x1b2)])==null||_0x4fde8d[_0x502810(0x402)](_0x3b47b5);}[_0x5b4e73(0x168)](_0x4f0a06){const _0x5cd5cc=_0x5b4e73;var _0x14630e;let _0x3471b9=this['_elementStateService'][_0x5cd5cc(0x54d)](),_0x2d394c=_0x3471b9['context'],_0x3b3c31=_0x3471b9[_0x5cd5cc(0x54f)]??_0x3471b9['selectedIds'][0x0];if(_0x2d394c&&((_0x14630e=this[_0x5cd5cc(0x43e)])==null?void 0x0:_0x14630e[_0x5cd5cc(0x466)])===_0x5cd5cc(0x305)){this['_removeDragPreviewObject'](),this[_0x5cd5cc(0x486)](_0x2d394c[_0x5cd5cc(0x560)],_0x2d394c[_0x5cd5cc(0x1a0)],_0x4f0a06);return;}if(!_0x2d394c||!_0x3b3c31||_0x3471b9[_0x5cd5cc(0x179)][_0x5cd5cc(0x2ce)]!==0x1){this[_0x5cd5cc(0x42a)](),this[_0x5cd5cc(0x43e)]=null;return;}this[_0x5cd5cc(0x42a)]();let _0x4ba622=this['_boardElementService'][_0x5cd5cc(0x544)](_0x2d394c['unitId'],_0x2d394c[_0x5cd5cc(0x1a0)]);if(this['_applyRootTranslation'](_0x2d394c[_0x5cd5cc(0x560)],_0x2d394c[_0x5cd5cc(0x1a0)],_0x3b3c31,_0x4ba622,_0x4f0a06))return;let _0x3b3429=this[_0x5cd5cc(0x323)](_0x2d394c[_0x5cd5cc(0x560)],_0x2d394c[_0x5cd5cc(0x1a0)],_0x3b3c31,_0x4ba622,_0x4f0a06);this['_executeChildDragAction'](_0x2d394c[_0x5cd5cc(0x560)],_0x2d394c[_0x5cd5cc(0x1a0)],_0x3b3c31,_0x4ba622,_0x3b3429);}[_0x5b4e73(0x486)](_0x466c89,_0x2c25fe,_0x462f07){const _0x92322a=_0x5b4e73;let _0x433d40=this[_0x92322a(0x43e)];if(this['_dragStart']=null,!_0x433d40||_0x433d40[_0x92322a(0x466)]!==_0x92322a(0x305)||_0x433d40[_0x92322a(0x560)]!==_0x466c89||_0x433d40['subUnitId']!==_0x2c25fe)return;let _0x4c6157=_0x462f07==null?void 0x0:_0x462f07[_0x92322a(0x49c)]((0x0,_0x13e20e['getBoardElementRenderObjectKey'])(_0x466c89,_0x433d40['nodeId'])),_0x6eff47=_0x4c6157&&Number[_0x92322a(0x25b)](_0x4c6157[_0x92322a(0x469)])?_0x4c6157[_0x92322a(0x469)]??_0x433d40[_0x92322a(0x469)]:_0x433d40[_0x92322a(0x469)],_0x1ec609=_0x4c6157&&Number['isFinite'](_0x4c6157[_0x92322a(0x50b)])?_0x4c6157['top']??_0x433d40[_0x92322a(0x50b)]:_0x433d40[_0x92322a(0x50b)],_0x41bc30=_0x6eff47-_0x433d40['left'],_0x310d30=_0x1ec609-_0x433d40[_0x92322a(0x50b)];(_0x41bc30!==0x0||_0x310d30!==0x0)&&this[_0x92322a(0x316)][_0x92322a(0x359)](_0x27c3df[_0x92322a(0x511)]['id'],{'unitId':_0x466c89,'subUnitId':_0x2c25fe,'scopeId':_0x433d40['scopeId'],'deltaX':_0x41bc30,'deltaY':_0x310d30});}[_0x5b4e73(0x403)](_0x27e5ba,_0x1a2147,_0x139879,_0x168b70,_0x89c14){const _0x1b7612=_0x5b4e73;if(_0x89c14[_0x1b7612(0x466)]===_0x1b7612(0x204)){var _0x286585,_0x170aeb;let _0x459b0a=(0x0,_0x27c3df[_0x1b7612(0x429)])((_0x286585=_0x168b70[_0x139879])==null?void 0x0:_0x286585[_0x1b7612(0x2dc)]),_0x241d5a=(0x0,_0x27c3df['getMindMapNodeMeta'])((_0x170aeb=_0x168b70[_0x89c14[_0x1b7612(0x379)]])==null?void 0x0:_0x170aeb['element']);this[_0x1b7612(0x2f4)](_0x27c3df[_0x1b7612(0x1d9)]['id'],{'unitId':_0x27e5ba,'subUnitId':_0x1a2147,'nodeId':_0x139879,'newParentNodeId':_0x89c14['newParentNodeId'],'side':_0x89c14['side'],..._0x89c14[_0x1b7612(0x3f9)]?{'referenceNodeId':_0x89c14['referenceNodeId']}:null,..._0x89c14[_0x1b7612(0x207)]?{'placement':_0x89c14[_0x1b7612(0x207)]}:null},[_0x459b0a==null?void 0x0:_0x459b0a['structureScopeId'],_0x241d5a==null?void 0x0:_0x241d5a[_0x1b7612(0x483)]],_0x139879);return;}if(_0x89c14[_0x1b7612(0x466)]===_0x1b7612(0x518)){var _0x40bd6e;let _0x4a6dd2=(0x0,_0x27c3df[_0x1b7612(0x429)])((_0x40bd6e=_0x168b70[_0x139879])==null?void 0x0:_0x40bd6e[_0x1b7612(0x2dc)]);this[_0x1b7612(0x2f4)](_0x27c3df[_0x1b7612(0x1a2)]['id'],{'unitId':_0x27e5ba,'subUnitId':_0x1a2147,'nodeId':_0x139879,...Number[_0x1b7612(0x25b)](_0x89c14[_0x1b7612(0x469)])?{'left':_0x89c14[_0x1b7612(0x469)]}:null,...Number[_0x1b7612(0x25b)](_0x89c14[_0x1b7612(0x50b)])?{'top':_0x89c14['top']}:null},[_0x4a6dd2==null?void 0x0:_0x4a6dd2[_0x1b7612(0x483)]],_0x139879);}}[_0x5b4e73(0x1cb)](_0x5ba74b,_0x5d7e37,_0x44bf56,_0x505647,_0x15f0bc){const _0x5c30ea=_0x5b4e73;let _0x30fc4e=this[_0x5c30ea(0x43e)];if((_0x30fc4e==null?void 0x0:_0x30fc4e[_0x5c30ea(0x466)])==='root'&&(this['_dragStart']=null),!_0x30fc4e||_0x30fc4e['unitId']!==_0x5ba74b||_0x30fc4e[_0x5c30ea(0x1a0)]!==_0x5d7e37||_0x30fc4e[_0x5c30ea(0x555)]!==_0x44bf56)return!0x1;let _0x4e4df9=_0x505647[_0x44bf56],_0x480d0d=(0x0,_0x27c3df[_0x5c30ea(0x429)])(_0x4e4df9==null?void 0x0:_0x4e4df9[_0x5c30ea(0x2dc)]);if(!_0x4e4df9||!_0x480d0d||_0x480d0d[_0x5c30ea(0x279)]!==null)return!0x1;let _0x50012f=_0x15f0bc==null?void 0x0:_0x15f0bc[_0x5c30ea(0x49c)]((0x0,_0x13e20e[_0x5c30ea(0x3e8)])(_0x5ba74b,_0x44bf56)),_0x2bbc63=(0x0,_0x38c4c0[_0x5c30ea(0x530)])(_0x505647,_0x44bf56),_0xa192ad=Number[_0x5c30ea(0x25b)](_0x50012f==null?void 0x0:_0x50012f[_0x5c30ea(0x469)])?_0x50012f[_0x5c30ea(0x469)]:(_0x2bbc63==null?void 0x0:_0x2bbc63[_0x5c30ea(0x469)])??_0x4e4df9['element'][_0x5c30ea(0x1d5)][_0x5c30ea(0x469)]??0x0,_0x4d1cfc=Number['isFinite'](_0x50012f==null?void 0x0:_0x50012f[_0x5c30ea(0x50b)])?_0x50012f[_0x5c30ea(0x50b)]:(_0x2bbc63==null?void 0x0:_0x2bbc63['top'])??_0x4e4df9[_0x5c30ea(0x2dc)]['transform'][_0x5c30ea(0x50b)]??0x0,_0x1074a2=_0xa192ad-_0x30fc4e[_0x5c30ea(0x469)],_0x4af52c=_0x4d1cfc-_0x30fc4e[_0x5c30ea(0x50b)];if(_0x1074a2===0x0&&_0x4af52c===0x0)return!0x0;let _0x34918e={'left':_0xa192ad,'top':_0x4d1cfc,'width':Number[_0x5c30ea(0x25b)](_0x50012f==null?void 0x0:_0x50012f[_0x5c30ea(0x351)])?_0x50012f[_0x5c30ea(0x351)]:_0x30fc4e[_0x5c30ea(0x351)],'height':Number['isFinite'](_0x50012f==null?void 0x0:_0x50012f[_0x5c30ea(0x3c7)])?_0x50012f['height']:_0x30fc4e[_0x5c30ea(0x3c7)]},_0x55146e=_0x24b7ee(_0x505647,_0x44bf56,{'boundsByElementId':this['_createTopologyBoundsByElementId'](_0x505647,_0x44bf56,_0x34918e),'allowRootReparent':!0x0});if(_0x55146e['kind']==='reparent')return this[_0x5c30ea(0x403)](_0x5ba74b,_0x5d7e37,_0x44bf56,_0x505647,_0x55146e),!0x0;let _0xf98251=!!_0x2bbc63&&Math['abs'](_0x2bbc63[_0x5c30ea(0x469)]-_0xa192ad)<0.001&&Math[_0x5c30ea(0x2cf)](_0x2bbc63[_0x5c30ea(0x50b)]-_0x4d1cfc)<0.001;return this[_0x5c30ea(0x316)][_0x5c30ea(0x359)](_0x27c3df[_0x5c30ea(0x511)]['id'],{'unitId':_0x5ba74b,'subUnitId':_0x5d7e37,'scopeId':_0x30fc4e[_0x5c30ea(0x2e5)],'deltaX':_0x1074a2,'deltaY':_0x4af52c,..._0xf98251?{'excludeElementIds':[_0x44bf56],'preserveExcludedWorldTransforms':!0x0}:null}),!0x0;}[_0x5b4e73(0x323)](_0x5860a4,_0xda78fa,_0x577757,_0x5f36ca,_0x1bc509){const _0x4ebbf9=_0x5b4e73;let _0x5d9f3c=this['_dragStart'];if(!_0x5d9f3c||_0x5d9f3c[_0x4ebbf9(0x466)]!=='child'||_0x5d9f3c['unitId']!==_0x5860a4||_0x5d9f3c[_0x4ebbf9(0x1a0)]!==_0xda78fa||_0x5d9f3c[_0x4ebbf9(0x555)]!==_0x577757)return{'kind':'none'};this[_0x4ebbf9(0x43e)]=null;let _0x31d2c4=_0x1bc509==null?void 0x0:_0x1bc509[_0x4ebbf9(0x49c)]((0x0,_0x13e20e[_0x4ebbf9(0x3e8)])(_0x5860a4,_0x577757));if(!this[_0x4ebbf9(0x17a)])return _0x31d2c4&&this[_0x4ebbf9(0x404)](_0x31d2c4,_0x5d9f3c),this[_0x4ebbf9(0x34d)]=null,{'kind':_0x4ebbf9(0x2a3)};if(!_0x31d2c4){let _0x3097d7=this[_0x4ebbf9(0x34d)]??{'kind':_0x4ebbf9(0x2a3)};return this[_0x4ebbf9(0x34d)]=null,_0x3097d7;}let _0x356c10=this[_0x4ebbf9(0x3df)](_0x31d2c4,_0x5d9f3c);if(this[_0x4ebbf9(0x404)](_0x31d2c4,_0x5d9f3c),!this[_0x4ebbf9(0x161)](_0x5d9f3c,_0x356c10))return this[_0x4ebbf9(0x34d)]=null,{'kind':_0x4ebbf9(0x2a3)};let _0x3ec885=_0x24b7ee(_0x5f36ca,_0x577757,{'boundsByElementId':this['_createTopologyBoundsByElementId'](_0x5f36ca,_0x577757,_0x356c10),'detachWhenNoSnap':!0x0});return this[_0x4ebbf9(0x34d)]=null,_0x3ec885;}[_0x5b4e73(0x161)](_0x2ed5ed,_0x4a1f30){const _0xee38c4=_0x5b4e73;let _0x25999a=(_0x4a1f30['left']??_0x2ed5ed[_0xee38c4(0x469)])-_0x2ed5ed['left'],_0x3ba559=(_0x4a1f30[_0xee38c4(0x50b)]??_0x2ed5ed[_0xee38c4(0x50b)])-_0x2ed5ed[_0xee38c4(0x50b)];return Math['hypot'](_0x25999a,_0x3ba559)>=0x12;}[_0x5b4e73(0x554)](_0x5661b2,_0x295665){const _0x6968bb=_0x5b4e73;let _0x3fc67d=this[_0x6968bb(0x160)](_0x5661b2),_0x32726c=this[_0x6968bb(0x556)]();return{'left':_0x295665[_0x6968bb(0x469)]+(_0x3fc67d['x']-_0x295665[_0x6968bb(0x206)])/_0x32726c,'top':_0x295665['top']+(_0x3fc67d['y']-_0x295665[_0x6968bb(0x191)])/_0x32726c,'width':_0x295665[_0x6968bb(0x351)],'height':_0x295665['height']};}[_0x5b4e73(0x460)](_0x579474){const _0x311590=_0x5b4e73;let _0x2a374b=this[_0x311590(0x254)][_0x311590(0x27b)](),_0x36c98d=(_0x2a374b==null?void 0x0:_0x2a374b['viewportPanOffset'])??{'x':0x0,'y':0x0},_0x5a1fd6=this[_0x311590(0x556)]();return{'x':Math[_0x311590(0x347)](((_0x579474[_0x311590(0x3aa)]??0x0)-_0x36c98d['x'])/_0x5a1fd6),'y':Math['round'](((_0x579474[_0x311590(0x25c)]??0x0)-_0x36c98d['y'])/_0x5a1fd6)};}['_getPointerScreenPoint'](_0x32752d){const _0x12762e=_0x5b4e73;return{'x':Number[_0x12762e(0x25b)](_0x32752d['clientX'])?_0x32752d[_0x12762e(0x22f)]:_0x32752d[_0x12762e(0x3aa)]??0x0,'y':Number[_0x12762e(0x25b)](_0x32752d[_0x12762e(0x221)])?_0x32752d[_0x12762e(0x221)]:_0x32752d['offsetY']??0x0};}[_0x5b4e73(0x556)](){const _0x190886=_0x5b4e73;let _0x24c534=this[_0x190886(0x254)]['getState']()['zoomRatio'];return Number[_0x190886(0x25b)](_0x24c534)&&(_0x24c534??0x0)>0x0?_0x24c534:0x1;}[_0x5b4e73(0x481)](_0x15203f,_0x33a6a4){const _0x3bea05=_0x5b4e73;return _0x15203f['x']>=_0x33a6a4[_0x3bea05(0x469)]&&_0x15203f['x']<=_0x33a6a4[_0x3bea05(0x469)]+_0x33a6a4[_0x3bea05(0x351)]&&_0x15203f['y']>=_0x33a6a4[_0x3bea05(0x50b)]&&_0x15203f['y']<=_0x33a6a4['top']+_0x33a6a4['height'];}[_0x5b4e73(0x3cf)](_0x3d4eed,_0x28ed9f){const _0x711db=_0x5b4e73;var _0x32efef,_0x3d4074;_0x28ed9f==null||_0x28ed9f[_0x711db(0x29c)](),_0x28ed9f&&(_0x28ed9f[_0x711db(0x3bb)]=!0x0),(_0x32efef=_0x3d4eed[_0x711db(0x433)])==null||_0x32efef[_0x711db(0x402)](_0x3d4eed),(_0x3d4074=_0x3d4eed['stopPropagation'])==null||_0x3d4074['call'](_0x3d4eed);}[_0x5b4e73(0x418)](){const _0x40ec65=_0x5b4e73;var _0x9dd996,_0x1756b4;this[_0x40ec65(0x32b)]||=((_0x9dd996=(_0x1756b4=this['_elementStateService'])[_0x40ec65(0x4c6)])==null||_0x9dd996[_0x40ec65(0x402)](_0x1756b4),!0x0);}[_0x5b4e73(0x3df)](_0x950026,_0x672855){const _0x2c669a=_0x5b4e73;return{'left':Number[_0x2c669a(0x25b)](_0x950026[_0x2c669a(0x469)])?_0x950026[_0x2c669a(0x469)]:_0x672855[_0x2c669a(0x469)],'top':Number['isFinite'](_0x950026[_0x2c669a(0x50b)])?_0x950026[_0x2c669a(0x50b)]:_0x672855['top'],'width':Number[_0x2c669a(0x25b)](_0x950026[_0x2c669a(0x351)])?_0x950026[_0x2c669a(0x351)]:_0x672855[_0x2c669a(0x351)],'height':Number[_0x2c669a(0x25b)](_0x950026[_0x2c669a(0x3c7)])?_0x950026['height']:_0x672855[_0x2c669a(0x3c7)]};}[_0x5b4e73(0x404)](_0x67c1b5,_0x304fb7){const _0x2d7450=_0x5b4e73;typeof _0x67c1b5['transformByState']==_0x2d7450(0x4af)&&_0x67c1b5[_0x2d7450(0x261)]({'left':_0x304fb7[_0x2d7450(0x469)],'top':_0x304fb7[_0x2d7450(0x50b)],'width':_0x304fb7[_0x2d7450(0x351)],'height':_0x304fb7['height']}),typeof _0x67c1b5[_0x2d7450(0x2f7)]==_0x2d7450(0x4af)?_0x67c1b5[_0x2d7450(0x2f7)](!0x0):typeof _0x67c1b5[_0x2d7450(0x31a)]==_0x2d7450(0x4af)&&_0x67c1b5[_0x2d7450(0x31a)](!0x0);}[_0x5b4e73(0x1ab)](_0x46cde1,_0x35a564,_0x95a62f){const _0xa24b9f=_0x5b4e73;return Object[_0xa24b9f(0x4ea)](Object[_0xa24b9f(0x23e)](_0x46cde1)[_0xa24b9f(0x4d4)](_0x404264=>_0x404264===_0x35a564?[_0x404264,_0x95a62f]:[_0x404264,(0x0,_0x38c4c0[_0xa24b9f(0x530)])(_0x46cde1,_0x404264)??_0x46cde1[_0x404264][_0xa24b9f(0x2dc)]['transform']]));}[_0x5b4e73(0x547)](){const _0x29affa=_0x5b4e73;if(this[_0x29affa(0x49a)])return this[_0x29affa(0x49a)];let _0x427d73=this[_0x29affa(0x4ec)][_0x29affa(0x397)];return typeof _0x427d73[_0x29affa(0x4df)]==_0x29affa(0x4af)?(this[_0x29affa(0x49a)]=new _0x4b51ed(_0x5b0717),_0x427d73[_0x29affa(0x4df)](this[_0x29affa(0x49a)],_0xf0a5d8),this[_0x29affa(0x49a)]):null;}[_0x5b4e73(0x2c3)](_0x40179b,_0x1d4f90,_0x180371){const _0x215843=_0x5b4e73;let _0x11bf78=this[_0x215843(0x547)]();_0x11bf78&&_0x11bf78[_0x215843(0x178)]({'ghostBounds':_0x40179b,'sourceBounds':this[_0x215843(0x326)](),'parentBounds':_0x1d4f90[_0x215843(0x466)]===_0x215843(0x204)?_0x180371[_0x1d4f90['newParentNodeId']]:null,'side':_0x1d4f90[_0x215843(0x466)]===_0x215843(0x204)?_0x1d4f90[_0x215843(0x2ff)]:_0x215843(0x459),'textStyle':this[_0x215843(0x4f1)](),'renderGhostNode':!0x0});}[_0x5b4e73(0x326)](){const _0x554d81=_0x5b4e73;let _0x17497c=this[_0x554d81(0x54c)]??this[_0x554d81(0x43e)];return _0x17497c?{'left':_0x17497c[_0x554d81(0x469)],'top':_0x17497c['top'],'width':_0x17497c['width'],'height':_0x17497c[_0x554d81(0x3c7)]}:null;}[_0x5b4e73(0x4f1)](){const _0x2bcee1=_0x5b4e73;var _0x2f77de,_0x5ccdbc;let _0x525591=this['_pointerDragStart']??this[_0x2bcee1(0x43e)],_0x5bf105=_0x525591==null||(_0x2f77de=_0x525591[_0x2bcee1(0x2a4)][_0x525591[_0x2bcee1(0x555)]])==null?void 0x0:_0x2f77de[_0x2bcee1(0x2dc)],_0x49de2c=_0x5bf105==null||(_0x5ccdbc=_0x5bf105['shapeData'])==null?void 0x0:_0x5ccdbc['shapeText'];if(_0x49de2c)return{'text':typeof _0x49de2c[_0x2bcee1(0x31b)]=='string'?_0x49de2c[_0x2bcee1(0x31b)]:void 0x0,'fontSize':Number[_0x2bcee1(0x25b)](_0x49de2c[_0x2bcee1(0x2ac)])?_0x49de2c[_0x2bcee1(0x2ac)]:void 0x0,'color':typeof _0x49de2c[_0x2bcee1(0x17f)]==_0x2bcee1(0x2fc)?_0x49de2c['color']:void 0x0,'horizontalAlign':Number['isFinite'](_0x49de2c['horizontalAlign'])?_0x49de2c[_0x2bcee1(0x166)]:void 0x0};}[_0x5b4e73(0x42a)](){const _0x566e01=_0x5b4e73;var _0x559ed6,_0x19ea40,_0x246fa1;if(!this['_dragPreviewObject'])return;let _0x1881d4=this[_0x566e01(0x4ec)][_0x566e01(0x397)];(_0x559ed6=_0x1881d4[_0x566e01(0x52e)])==null||_0x559ed6[_0x566e01(0x402)](_0x1881d4,[this[_0x566e01(0x49a)]]),this['_dragPreviewObject']=null,(_0x19ea40=(_0x246fa1=this[_0x566e01(0x4ec)][_0x566e01(0x397)])[_0x566e01(0x31a)])==null||_0x19ea40[_0x566e01(0x402)](_0x246fa1,!0x0);}['_executeAndLayout'](_0x3bee7d,_0x47998a,_0x354ce5,_0x68003f){const _0x4539f4=_0x5b4e73;let _0x3fce88=[...new Set(_0x354ce5[_0x4539f4(0x4c1)](_0x35a881=>!!_0x35a881))],_0x4b6f74=typeof _0x47998a[_0x4539f4(0x560)]==_0x4539f4(0x2fc)?_0x47998a[_0x4539f4(0x560)]:this[_0x4539f4(0x4ec)][_0x4539f4(0x560)],_0x2260a2=this[_0x4539f4(0x4d1)]['createRunner'](_0x4b6f74),_0x353666=_0x2260a2(()=>this[_0x4539f4(0x316)][_0x4539f4(0x359)](_0x3bee7d,_0x47998a));Promise[_0x4539f4(0x4fc)](_0x353666)[_0x4539f4(0x352)](_0x8cdd97=>{const _0x2897b4=_0x4539f4;var _0x136c0c,_0x4471ac,_0x54dda6,_0x577d7f;if(_0x8cdd97){if(_0x3fce88['forEach'](_0x4753ea=>{const _0x41260e=_0x4e16;_0x2260a2(()=>this[_0x41260e(0x316)][_0x41260e(0x359)](_0x27c3df[_0x41260e(0x508)]['id'],{'unitId':_0x47998a['unitId'],'subUnitId':_0x47998a[_0x41260e(0x1a0)],'scopeId':_0x4753ea}));}),_0x68003f&&typeof _0x47998a[_0x2897b4(0x560)]==_0x2897b4(0x2fc)&&typeof _0x47998a[_0x2897b4(0x1a0)]==_0x2897b4(0x2fc)){var _0x3fd251,_0x344ec3;(_0x3fd251=(_0x344ec3=this[_0x2897b4(0x42f)])[_0x2897b4(0x19a)])==null||_0x3fd251[_0x2897b4(0x402)](_0x344ec3,{'unitId':_0x47998a['unitId'],'subUnitId':_0x47998a['subUnitId']},[_0x68003f],_0x68003f);}(_0x136c0c=(_0x4471ac=this[_0x2897b4(0x4ec)][_0x2897b4(0x397)])[_0x2897b4(0x31a)])==null||_0x136c0c['call'](_0x4471ac,!0x0),(_0x54dda6=(_0x577d7f=this[_0x2897b4(0x4ec)][_0x2897b4(0x397)])['requestRender'])==null||_0x54dda6[_0x2897b4(0x402)](_0x577d7f);}});}};_0x235e64=_0x2d6c5f([_0x1c54fc(0x1,(0x0,_0xd2d24[_0x5b4e73(0x165)])(_0x38c4c0[_0x5b4e73(0x494)])),_0x1c54fc(0x2,(0x0,_0xd2d24[_0x5b4e73(0x165)])(_0x13e20e[_0x5b4e73(0x1ad)])),_0x1c54fc(0x3,_0xd2d24[_0x5b4e73(0x4f0)]),_0x1c54fc(0x4,_0x13e20e[_0x5b4e73(0x28e)]),_0x1c54fc(0x5,_0xd2d24[_0x5b4e73(0x1f4)]),_0x1c54fc(0x6,(0x0,_0xd2d24['Inject'])(_0x2d1a98[_0x5b4e73(0x488)]))],_0x235e64);function _0x4cc837({ref:_0x423aa6,..._0x412c45}){const _0x268bdf=_0x5b4e73;let {preserveStrokeWidth:_0x7dbbb0,icon:_0x557d57,id:_0x204aa9,className:_0xf19523,extend:_0x4497e5,..._0x2414f0}=_0x412c45,_0x55f12c=('univerjs-icon\x20univerjs-icon-'+_0x204aa9+'\x20'+(_0xf19523||''))[_0x268bdf(0x35b)](),_0x2668e4='_'+(0x0,_0x37caaf[_0x268bdf(0x291)])(),_0x3c299c=(0x0,_0x37caaf[_0x268bdf(0x4e6)])(null);return(0x0,_0x37caaf['useImperativeHandle'])(_0x423aa6,()=>_0x3c299c['current']),(0x0,_0x37caaf['useLayoutEffect'])(()=>{const _0x3370bc=_0x268bdf;if(_0x7dbbb0&&_0x3c299c[_0x3370bc(0x4d9)]&&_0x3c299c[_0x3370bc(0x4d9)][_0x3370bc(0x3c1)]===_0x557d57[_0x3370bc(0x163)])return _0x1e1bcb(_0x3c299c[_0x3370bc(0x4d9)]);},[_0x7dbbb0,_0x557d57]),_0x5757f7(_0x557d57,''+_0x204aa9,{'defIds':_0x557d57['defIds'],'idSuffix':_0x2668e4},{'ref':_0x3c299c,'className':_0x55f12c,..._0x2414f0},_0x4497e5);}function _0x5757f7(_0x21af93,_0x3b9f85,_0x20bccd,_0x52dc7f,_0x4b7454){const _0x269bcc=_0x5b4e73;return(0x0,_0x37caaf[_0x269bcc(0x1a7)])(_0x21af93['tag'],{'key':_0x3b9f85,..._0x5878dd(_0x21af93,_0x20bccd,_0x4b7454),..._0x52dc7f},(_0x2113b2(_0x21af93,_0x20bccd)[_0x269bcc(0x535)]||[])['map']((_0x5408b0,_0x215252)=>_0x5757f7(_0x5408b0,_0x3b9f85+'-'+_0x21af93[_0x269bcc(0x163)]+'-'+_0x215252,_0x20bccd,void 0x0,_0x4b7454)));}function _0x5878dd(_0x53c618,_0x53bb27,_0x263ca2){const _0x313f88=_0x5b4e73;let _0x41db27={..._0x53c618[_0x313f88(0x520)]};_0x263ca2!=null&&_0x263ca2[_0x313f88(0x4e3)]&&_0x41db27[_0x313f88(0x190)]===_0x313f88(0x4e3)&&(_0x41db27[_0x313f88(0x190)]=_0x263ca2['colorChannel1']),_0x263ca2!=null&&_0x263ca2[_0x313f88(0x4e3)]&&_0x41db27[_0x313f88(0x209)]===_0x313f88(0x4e3)&&(_0x41db27[_0x313f88(0x209)]=_0x263ca2[_0x313f88(0x4e3)]),_0x53c618[_0x313f88(0x163)]==='mask'&&_0x41db27['id']&&(_0x41db27['id']+=_0x53bb27[_0x313f88(0x3fb)]),Object[_0x313f88(0x18c)](_0x41db27)[_0x313f88(0x2de)](([_0xb64a06,_0x537f57])=>{const _0x1c719b=_0x313f88;_0xb64a06==='mask'&&typeof _0x537f57==_0x1c719b(0x2fc)&&(_0x41db27[_0xb64a06]=_0x537f57['replace'](/url\(#(.*)\)/,_0x1c719b(0x1a3)+_0x53bb27[_0x1c719b(0x3fb)]+')'));});let {defIds:_0x354003}=_0x53bb27;return!_0x354003||_0x354003['length']===0x0?_0x41db27:(_0x53c618[_0x313f88(0x163)]==='use'&&_0x41db27[_0x313f88(0x282)]&&(_0x41db27[_0x313f88(0x282)]+=_0x53bb27[_0x313f88(0x3fb)]),Object[_0x313f88(0x18c)](_0x41db27)[_0x313f88(0x2de)](([_0x48eaa4,_0x41bb2a])=>{const _0x40ff4e=_0x313f88;typeof _0x41bb2a==_0x40ff4e(0x2fc)&&(_0x41db27[_0x48eaa4]=_0x41bb2a['replace'](/url\(#(.*)\)/,'url(#$1'+_0x53bb27[_0x40ff4e(0x3fb)]+')'));}),_0x41db27);}function _0x2113b2(_0x2f041a,_0x3edb12){const _0x263cf5=_0x5b4e73;var _0x46c98f;let {defIds:_0x17b4f3}=_0x3edb12;return!_0x17b4f3||_0x17b4f3[_0x263cf5(0x2ce)]===0x0?_0x2f041a:_0x2f041a['tag']===_0x263cf5(0x1d4)&&(_0x46c98f=_0x2f041a['children'])!=null&&_0x46c98f['length']?{..._0x2f041a,'children':_0x2f041a[_0x263cf5(0x535)][_0x263cf5(0x4d4)](_0x3c96d1=>typeof _0x3c96d1[_0x263cf5(0x520)]['id']=='string'&&_0x17b4f3&&_0x17b4f3[_0x263cf5(0x1b3)](_0x3c96d1[_0x263cf5(0x520)]['id'])?{..._0x3c96d1,'attrs':{..._0x3c96d1[_0x263cf5(0x520)],'id':_0x3c96d1['attrs']['id']+_0x3edb12[_0x263cf5(0x3fb)]}}:_0x3c96d1)}:_0x2f041a;}function _0x1e1bcb(_0xb9cb2f){const _0x1f65f0=_0x5b4e73;let _0x2bb1f3=_0xb9cb2f[_0x1f65f0(0x3d0)]['baseVal'],_0x51edbd=Math[_0x1f65f0(0x336)](_0x2bb1f3[_0x1f65f0(0x351)],_0x2bb1f3['height']);if(!Number[_0x1f65f0(0x25b)](_0x51edbd)||_0x51edbd<=0x0||_0x2bb1f3[_0x1f65f0(0x351)]<=0x0||_0x2bb1f3[_0x1f65f0(0x3c7)]<=0x0)return()=>void 0x0;let _0x398fcd=0x10/_0x51edbd,_0x10f9f0=Array[_0x1f65f0(0x55a)](_0xb9cb2f[_0x1f65f0(0x473)](_0x1f65f0(0x3be)))[_0x1f65f0(0x3a0)](_0x38fb03=>{const _0x2b509b=_0x1f65f0;let _0x124b66=getComputedStyle(_0x38fb03),_0xd9fca7=Number[_0x2b509b(0x3e7)](_0x124b66[_0x2b509b(0x203)]);return _0x124b66[_0x2b509b(0x209)]===_0x2b509b(0x2a3)||Number['parseFloat'](_0x124b66[_0x2b509b(0x4ad)])===0x0||_0x124b66[_0x2b509b(0x3ad)]==='non-scaling-stroke'||!Number[_0x2b509b(0x25b)](_0xd9fca7)||_0xd9fca7<=0x0?[]:[{'element':_0x38fb03,'hadStyleAttribute':_0x38fb03[_0x2b509b(0x339)](_0x2b509b(0x472)),'originalStrokeWidth':_0xd9fca7,'strokeWidth':_0x4779d6(_0x38fb03[_0x2b509b(0x472)],_0x2b509b(0x177))}];})[_0x1f65f0(0x4d4)](_0x10f409=>({'appliedStrokeWidth':null,'element':_0x10f409[_0x1f65f0(0x2dc)],'hadStyleAttribute':_0x10f409[_0x1f65f0(0x43f)],'isReleased':!0x1,'originalStrokeWidth':_0x10f409[_0x1f65f0(0x4c2)],'strokeWidth':_0x10f409[_0x1f65f0(0x203)]}));if(_0x10f9f0['length']===0x0)return()=>void 0x0;let _0x904ff0=(_0x781830,_0x5bc7c7)=>{const _0x474627=_0x1f65f0;if(_0x2bb1f3['width']<=0x0||_0x2bb1f3['height']<=0x0||_0x781830<=0x0||_0x5bc7c7<=0x0)return;let _0x19e4cd=Math['min'](_0x781830/_0x2bb1f3[_0x474627(0x351)],_0x5bc7c7/_0x2bb1f3[_0x474627(0x3c7)]);!Number['isFinite'](_0x19e4cd)||_0x19e4cd<=0x0||_0x10f9f0[_0x474627(0x2de)](_0x237338=>{const _0x427bb5=_0x474627;if(_0x237338[_0x427bb5(0x283)])return;if(_0x237338[_0x427bb5(0x253)]!==null&&(_0x237338[_0x427bb5(0x2dc)]['style'][_0x427bb5(0x302)]('stroke-width')!==_0x237338[_0x427bb5(0x253)]||_0x237338[_0x427bb5(0x2dc)]['style'][_0x427bb5(0x2a0)]('stroke-width')!==_0x237338[_0x427bb5(0x203)]['priority'])){_0x237338[_0x427bb5(0x253)]=null,_0x237338[_0x427bb5(0x283)]=!0x0;return;}let _0x1cdcc9=_0x237338[_0x427bb5(0x4c2)]*_0x398fcd/_0x19e4cd,_0x2a6eda=Number(_0x1cdcc9[_0x427bb5(0x1aa)](0xc))+'px';_0x237338['element'][_0x427bb5(0x472)][_0x427bb5(0x507)](_0x427bb5(0x177),_0x2a6eda,_0x237338[_0x427bb5(0x203)]['priority']),_0x237338[_0x427bb5(0x253)]=_0x2a6eda;});},_0x3cc43c=_0xb9cb2f['getBoundingClientRect']();_0x904ff0(_0x3cc43c[_0x1f65f0(0x351)],_0x3cc43c[_0x1f65f0(0x3c7)]);let _0x1994e1=typeof ResizeObserver>'u'?null:new ResizeObserver(_0x4b22a5=>{const _0x2314af=_0x1f65f0;if(_0x4b22a5[_0x2314af(0x198)](_0x482f3c=>_0x482f3c[_0x2314af(0x38e)]===_0xb9cb2f)){let _0x3e7ec5=_0xb9cb2f[_0x2314af(0x2e2)]();_0x904ff0(_0x3e7ec5[_0x2314af(0x351)],_0x3e7ec5[_0x2314af(0x3c7)]);}});return _0x1994e1==null||_0x1994e1[_0x1f65f0(0x40c)](_0xb9cb2f),()=>{const _0x22ec96=_0x1f65f0;_0x1994e1==null||_0x1994e1[_0x22ec96(0x2d8)](),_0x10f9f0[_0x22ec96(0x2de)](_0x4c3959=>{const _0x5d980e=_0x22ec96;_0x4c3959['appliedStrokeWidth']!==null&&(_0x4e1bb8(_0x4c3959['element']['style'],'stroke-width',_0x4c3959[_0x5d980e(0x253)],_0x4c3959[_0x5d980e(0x203)]['priority'],_0x4c3959[_0x5d980e(0x203)]),!_0x4c3959[_0x5d980e(0x43f)]&&_0x4c3959[_0x5d980e(0x2dc)][_0x5d980e(0x472)][_0x5d980e(0x2ce)]===0x0&&_0x4c3959[_0x5d980e(0x2dc)][_0x5d980e(0x2c7)](_0x5d980e(0x472)));});};}function _0x4779d6(_0x3b6a18,_0x2e1a98){const _0x283636=_0x5b4e73;return{'priority':_0x3b6a18[_0x283636(0x2a0)](_0x2e1a98),'value':_0x3b6a18[_0x283636(0x302)](_0x2e1a98)};}function _0x4e1bb8(_0x35a94f,_0x5438bb,_0x3227bf,_0x116510,_0x308b4c){const _0x4ddfda=_0x5b4e73;_0x35a94f['getPropertyValue'](_0x5438bb)===_0x3227bf&&_0x35a94f['getPropertyPriority'](_0x5438bb)===_0x116510&&(_0x308b4c['value']?_0x35a94f[_0x4ddfda(0x507)](_0x5438bb,_0x308b4c[_0x4ddfda(0x50d)],_0x308b4c[_0x4ddfda(0x436)]):_0x35a94f['removeProperty'](_0x5438bb));}_0x4cc837[_0x5b4e73(0x361)]=_0x5b4e73(0x185);let _0x5d18d1={'tag':_0x5b4e73(0x374),'attrs':{'xmlns':_0x5b4e73(0x478),'fill':_0x5b4e73(0x2a3),'viewBox':'0\x200\x2016\x2016','width':_0x5b4e73(0x210),'height':'1em'},'children':[{'tag':_0x5b4e73(0x2dd),'attrs':{'fill':_0x5b4e73(0x442),'d':_0x5b4e73(0x299),'fillRule':_0x5b4e73(0x17e),'clipRule':'evenodd'}},{'tag':_0x5b4e73(0x2dd),'attrs':{'fill':_0x5b4e73(0x442),'d':'M7.57564\x2010.3914C7.80995\x2010.6257\x208.18985\x2010.6257\x208.42417\x2010.3914L10.4242\x208.3914C10.6585\x208.15709\x2010.6585\x207.77719\x2010.4242\x207.54287C10.1899\x207.30856\x209.80995\x207.30856\x209.57564\x207.54287L7.9999\x209.11861L6.42417\x207.54287C6.18985\x207.30856\x205.80995\x207.30856\x205.57564\x207.54287C5.34132\x207.77719\x205.34132\x208.15709\x205.57564\x208.3914L7.57564\x2010.3914Z','fillRule':_0x5b4e73(0x17e),'clipRule':_0x5b4e73(0x17e)}},{'tag':_0x5b4e73(0x2dd),'attrs':{'fill':_0x5b4e73(0x442),'d':_0x5b4e73(0x49e),'fillRule':_0x5b4e73(0x17e),'clipRule':_0x5b4e73(0x17e)}}]},_0x5a8cd9=(0x0,_0x37caaf[_0x5b4e73(0x44d)])(function(_0x24b116,_0xa87107){const _0x10bd7b=_0x5b4e73;return(0x0,_0x37caaf[_0x10bd7b(0x1a7)])(_0x4cc837,Object[_0x10bd7b(0x306)]({},_0x24b116,{'id':_0x10bd7b(0x35a),'ref':_0xa87107,'icon':_0x5d18d1}));});_0x5a8cd9['displayName']=_0x5b4e73(0x290);let _0x594ce={'tag':_0x5b4e73(0x374),'attrs':{'xmlns':_0x5b4e73(0x478),'fill':_0x5b4e73(0x2a3),'viewBox':'0\x200\x2016\x2016','width':_0x5b4e73(0x210),'height':_0x5b4e73(0x210)},'children':[{'tag':'path','attrs':{'fill':'currentColor','d':_0x5b4e73(0x458)}},{'tag':_0x5b4e73(0x2dd),'attrs':{'fill':_0x5b4e73(0x442),'d':_0x5b4e73(0x33d)}},{'tag':_0x5b4e73(0x2dd),'attrs':{'fill':_0x5b4e73(0x442),'d':_0x5b4e73(0x506)}},{'tag':'path','attrs':{'fill':'currentColor','d':_0x5b4e73(0x4bc)}}]},_0x141035=(0x0,_0x37caaf[_0x5b4e73(0x44d)])(function(_0x3f289e,_0x5914c4){const _0x31983e=_0x5b4e73;return(0x0,_0x37caaf[_0x31983e(0x1a7)])(_0x4cc837,Object['assign']({},_0x3f289e,{'id':_0x31983e(0x1f3),'ref':_0x5914c4,'icon':_0x594ce}));});_0x141035[_0x5b4e73(0x361)]='AlignTextBothIcon';let _0x19dc8b={'tag':_0x5b4e73(0x374),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x5b4e73(0x2a3),'viewBox':_0x5b4e73(0x50a),'width':_0x5b4e73(0x210),'height':_0x5b4e73(0x210)},'children':[{'tag':_0x5b4e73(0x2dd),'attrs':{'fill':_0x5b4e73(0x442),'d':_0x5b4e73(0x1c2)}},{'tag':'path','attrs':{'fill':'currentColor','d':_0x5b4e73(0x3ef)}}]},_0x12781e=(0x0,_0x37caaf[_0x5b4e73(0x44d)])(function(_0x364af8,_0x4215a5){const _0x3478b4=_0x5b4e73;return(0x0,_0x37caaf[_0x3478b4(0x1a7)])(_0x4cc837,Object[_0x3478b4(0x306)]({},_0x364af8,{'id':_0x3478b4(0x41e),'ref':_0x4215a5,'icon':_0x19dc8b}));});_0x12781e[_0x5b4e73(0x361)]=_0x5b4e73(0x30b);let _0x10fd2f={'tag':_0x5b4e73(0x374),'attrs':{'xmlns':_0x5b4e73(0x478),'fill':_0x5b4e73(0x2a3),'viewBox':_0x5b4e73(0x50a),'width':_0x5b4e73(0x210),'height':_0x5b4e73(0x210)},'children':[{'tag':_0x5b4e73(0x2dd),'attrs':{'fill':_0x5b4e73(0x442),'d':_0x5b4e73(0x2cb),'fillRule':_0x5b4e73(0x17e),'clipRule':_0x5b4e73(0x17e)}}]},_0x25b9be=(0x0,_0x37caaf[_0x5b4e73(0x44d)])(function(_0x17c86c,_0x6e1a49){const _0x192284=_0x5b4e73;return(0x0,_0x37caaf[_0x192284(0x1a7)])(_0x4cc837,Object[_0x192284(0x306)]({},_0x17c86c,{'id':_0x192284(0x480),'ref':_0x6e1a49,'icon':_0x10fd2f}));});_0x25b9be[_0x5b4e73(0x361)]='BoldIcon';let _0x4fa780={'tag':_0x5b4e73(0x374),'attrs':{'xmlns':_0x5b4e73(0x478),'fill':'none','viewBox':_0x5b4e73(0x50a),'width':_0x5b4e73(0x210),'height':_0x5b4e73(0x210)},'children':[{'tag':'path','attrs':{'fill':'currentColor','d':_0x5b4e73(0x458)}},{'tag':_0x5b4e73(0x2dd),'attrs':{'fill':_0x5b4e73(0x442),'d':_0x5b4e73(0x192)}},{'tag':_0x5b4e73(0x2dd),'attrs':{'fill':_0x5b4e73(0x442),'d':_0x5b4e73(0x506)}},{'tag':_0x5b4e73(0x2dd),'attrs':{'fill':_0x5b4e73(0x442),'d':'M3.33315\x2012.9004C3.00178\x2012.9004\x202.73315\x2013.169\x202.73315\x2013.5004C2.73315\x2013.8318\x203.00178\x2014.1004\x203.33315\x2014.1004H12.6665C12.9979\x2014.1004\x2013.2665\x2013.8318\x2013.2665\x2013.5004C13.2665\x2013.169\x2012.9979\x2012.9004\x2012.6665\x2012.9004H3.33315Z'}}]},_0x3cef63=(0x0,_0x37caaf['forwardRef'])(function(_0x216189,_0x2fe92b){const _0x165cbd=_0x5b4e73;return(0x0,_0x37caaf[_0x165cbd(0x1a7)])(_0x4cc837,Object[_0x165cbd(0x306)]({},_0x216189,{'id':_0x165cbd(0x342),'ref':_0x2fe92b,'icon':_0x4fa780}));});_0x3cef63[_0x5b4e73(0x361)]=_0x5b4e73(0x551);let _0x2eb146={'tag':_0x5b4e73(0x374),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x5b4e73(0x2a3),'viewBox':'0\x200\x2016\x2016','width':'1em','height':_0x5b4e73(0x210)},'children':[{'tag':_0x5b4e73(0x2dd),'attrs':{'fill':_0x5b4e73(0x442),'d':_0x5b4e73(0x3d2)}}]},_0x4b6318=(0x0,_0x37caaf[_0x5b4e73(0x44d)])(function(_0x1f9b41,_0x54bfc8){const _0x4c35d1=_0x5b4e73;return(0x0,_0x37caaf[_0x4c35d1(0x1a7)])(_0x4cc837,Object[_0x4c35d1(0x306)]({},_0x1f9b41,{'id':_0x4c35d1(0x3d3),'ref':_0x54bfc8,'icon':_0x2eb146}));});_0x4b6318[_0x5b4e73(0x361)]=_0x5b4e73(0x1f8);let _0x5bc40f={'tag':'svg','attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x5b4e73(0x2a3),'viewBox':_0x5b4e73(0x50a),'width':'1em','height':'1em'},'children':[{'tag':_0x5b4e73(0x2dd),'attrs':{'fill':_0x5b4e73(0x442),'d':'M1.9999\x201.89941C1.66853\x201.89941\x201.3999\x202.16804\x201.3999\x202.49941C1.3999\x202.83078\x201.66853\x203.09941\x201.9999\x203.09941H13.9999C14.3313\x203.09941\x2014.5999\x202.83078\x2014.5999\x202.49941C14.5999\x202.16804\x2014.3313\x201.89941\x2013.9999\x201.89941H1.9999Z'}},{'tag':_0x5b4e73(0x2dd),'attrs':{'fill':_0x5b4e73(0x442),'d':'M1.9999\x205.56641C1.66853\x205.56641\x201.3999\x205.83504\x201.3999\x206.16641C1.3999\x206.49778\x201.66853\x206.76641\x201.9999\x206.76641H11.3332C11.6646\x206.76641\x2011.9332\x206.49778\x2011.9332\x206.16641C11.9332\x205.83504\x2011.6646\x205.56641\x2011.3332\x205.56641H1.9999Z'}},{'tag':_0x5b4e73(0x2dd),'attrs':{'fill':_0x5b4e73(0x442),'d':_0x5b4e73(0x506)}},{'tag':_0x5b4e73(0x2dd),'attrs':{'fill':_0x5b4e73(0x442),'d':_0x5b4e73(0x25e)}}]},_0x5a354e=(0x0,_0x37caaf['forwardRef'])(function(_0x4bef8a,_0x4fd782){const _0x151a2a=_0x5b4e73;return(0x0,_0x37caaf[_0x151a2a(0x1a7)])(_0x4cc837,Object['assign']({},_0x4bef8a,{'id':_0x151a2a(0x1e9),'ref':_0x4fd782,'icon':_0x5bc40f}));});_0x5a354e[_0x5b4e73(0x361)]=_0x5b4e73(0x3db);let _0x470683={'tag':_0x5b4e73(0x374),'attrs':{'xmlns':_0x5b4e73(0x478),'fill':'none','viewBox':_0x5b4e73(0x50a),'width':_0x5b4e73(0x210),'height':_0x5b4e73(0x210)},'children':[{'tag':_0x5b4e73(0x2dd),'attrs':{'fill':_0x5b4e73(0x442),'d':_0x5b4e73(0x228)}},{'tag':_0x5b4e73(0x2dd),'attrs':{'fill':'currentColor','d':_0x5b4e73(0x387)}},{'tag':'path','attrs':{'fill':_0x5b4e73(0x442),'d':_0x5b4e73(0x48b)}}]},_0x1d58f3=(0x0,_0x37caaf['forwardRef'])(function(_0x55fe7a,_0x3d596a){const _0x50875d=_0x5b4e73;return(0x0,_0x37caaf[_0x50875d(0x1a7)])(_0x4cc837,Object[_0x50875d(0x306)]({},_0x55fe7a,{'id':'more-horizontal-icon','ref':_0x3d596a,'icon':_0x470683}));});_0x1d58f3[_0x5b4e73(0x361)]='MoreHorizontalIcon';let _0x40715a={'tag':_0x5b4e73(0x374),'attrs':{'xmlns':_0x5b4e73(0x478),'fill':_0x5b4e73(0x2a3),'viewBox':_0x5b4e73(0x50a),'width':'1em','height':_0x5b4e73(0x210)},'children':[{'tag':_0x5b4e73(0x2dd),'attrs':{'fill':_0x5b4e73(0x442),'d':_0x5b4e73(0x458)}},{'tag':_0x5b4e73(0x2dd),'attrs':{'fill':_0x5b4e73(0x442),'d':_0x5b4e73(0x53c)}},{'tag':'path','attrs':{'fill':_0x5b4e73(0x442),'d':_0x5b4e73(0x506)}},{'tag':_0x5b4e73(0x2dd),'attrs':{'fill':_0x5b4e73(0x442),'d':'M4.66665\x2012.9004C4.33528\x2012.9004\x204.06665\x2013.169\x204.06665\x2013.5004C4.06665\x2013.8318\x204.33528\x2014.1004\x204.66665\x2014.1004H14C14.3314\x2014.1004\x2014.6\x2013.8318\x2014.6\x2013.5004C14.6\x2013.169\x2014.3314\x2012.9004\x2014\x2012.9004H4.66665Z'}}]},_0x565528=(0x0,_0x37caaf[_0x5b4e73(0x44d)])(function(_0x214ed4,_0x268e33){const _0x260bdf=_0x5b4e73;return(0x0,_0x37caaf[_0x260bdf(0x1a7)])(_0x4cc837,Object[_0x260bdf(0x306)]({},_0x214ed4,{'id':_0x260bdf(0x445),'ref':_0x268e33,'icon':_0x40715a}));});_0x565528[_0x5b4e73(0x361)]=_0x5b4e73(0x3c2);let _0x4f9a00={'tag':_0x5b4e73(0x374),'attrs':{'xmlns':_0x5b4e73(0x478),'fill':'none','viewBox':_0x5b4e73(0x50a),'width':_0x5b4e73(0x210),'height':'1em'},'children':[{'tag':_0x5b4e73(0x2dd),'attrs':{'fill':_0x5b4e73(0x442),'d':'M7.71899\x201.36938C4.37604\x201.36938\x201.66602\x204.07941\x201.66602\x207.42236C1.66602\x2010.7653\x204.37604\x2013.4753\x207.71899\x2013.4753C9.16744\x2013.4753\x2010.4971\x2012.9666\x2011.5389\x2012.118L13.6598\x2014.4109C13.8848\x2014.6542\x2014.2644\x2014.669\x2014.5077\x2014.444C14.7509\x2014.219\x2014.7657\x2013.8393\x2014.5407\x2013.5961L12.3906\x2011.2716C13.2536\x2010.2254\x2013.772\x208.88442\x2013.772\x207.42236C13.772\x204.07941\x2011.0619\x201.36938\x207.71899\x201.36938ZM2.86602\x207.42236C2.86602\x204.74215\x205.03878\x202.56938\x207.71899\x202.56938C10.3992\x202.56938\x2012.572\x204.74215\x2012.572\x207.42236C12.572\x2010.1026\x2010.3992\x2012.2753\x207.71899\x2012.2753C5.03878\x2012.2753\x202.86602\x2010.1026\x202.86602\x207.42236Z','fillRule':_0x5b4e73(0x17e),'clipRule':'evenodd'}}]},_0x933692=(0x0,_0x37caaf['forwardRef'])(function(_0x4ad086,_0x4c7958){const _0x45d945=_0x5b4e73;return(0x0,_0x37caaf['createElement'])(_0x4cc837,Object[_0x45d945(0x306)]({},_0x4ad086,{'id':'search-icon','ref':_0x4c7958,'icon':_0x4f9a00}));});_0x933692['displayName']='SearchIcon';let _0x5d93af={'tag':_0x5b4e73(0x374),'attrs':{'xmlns':_0x5b4e73(0x478),'fill':_0x5b4e73(0x2a3),'viewBox':_0x5b4e73(0x284),'width':'1em','height':_0x5b4e73(0x210)},'children':[{'tag':_0x5b4e73(0x2dd),'attrs':{'stroke':_0x5b4e73(0x442),'d':_0x5b4e73(0x164),'strokeLinecap':_0x5b4e73(0x347),'strokeWidth':1.6}}]},_0x15f8b2=(0x0,_0x37caaf[_0x5b4e73(0x44d)])(function(_0xf4acc9,_0x537773){const _0x11cbed=_0x5b4e73;return(0x0,_0x37caaf[_0x11cbed(0x1a7)])(_0x4cc837,Object[_0x11cbed(0x306)]({},_0xf4acc9,{'id':_0x11cbed(0x22d),'ref':_0x537773,'icon':_0x5d93af}));});_0x15f8b2[_0x5b4e73(0x361)]='ShapeLineIcon';let _0x40459b={'tag':'svg','attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':'none','viewBox':_0x5b4e73(0x50a),'width':_0x5b4e73(0x210),'height':_0x5b4e73(0x210)},'children':[{'tag':_0x5b4e73(0x2dd),'attrs':{'fill':_0x5b4e73(0x442),'d':'M8.00033\x201.20996C6.43345\x201.20996\x205.23596\x201.88077\x204.64804\x202.94304C4.06338\x203.99943\x204.15123\x205.32084\x204.90099\x206.47062C5.08199\x206.7482\x205.45374\x206.82648\x205.73131\x206.64548C6.00888\x206.46448\x206.08716\x206.09273\x205.90616\x205.81516C5.36418\x204.98402\x205.35768\x204.13897\x205.69797\x203.52412C6.035\x202.91515\x206.78176\x202.40996\x208.00033\x202.40996C9.19423\x202.40996\x2010.0017\x202.93409\x2010.5236\x203.46755C10.7871\x203.73682\x2010.9756\x204.00712\x2011.0974\x204.20903C11.158\x204.30951\x2011.2013\x204.39164\x2011.2284\x204.44625C11.2419\x204.47351\x2011.2514\x204.49377\x2011.2568\x204.50588L11.2621\x204.51771C11.3901\x204.82216\x2011.7407\x204.96686\x2012.046\x204.83992C12.3519\x204.71267\x2012.4968\x204.36149\x2012.3695\x204.05552L11.8231\x204.28278C12.3695\x204.05552\x2012.3697\x204.0558\x2012.3695\x204.05552L12.3691\x204.05437L12.3685\x204.05298L12.367\x204.04953L12.3629\x204.03993L12.3498\x204.01036C12.3388\x203.98619\x2012.3234\x203.95326\x2012.3033\x203.91282C12.2632\x203.83203\x2012.2043\x203.72072\x2012.1249\x203.58908C11.9666\x203.32674\x2011.7235\x202.97805\x2011.3814\x202.62834C10.6921\x201.92381\x209.59192\x201.20996\x208.00033\x201.20996Z'}},{'tag':'path','attrs':{'fill':_0x5b4e73(0x442),'d':_0x5b4e73(0x2d2)}}]},_0x36d34a=(0x0,_0x37caaf[_0x5b4e73(0x44d)])(function(_0x174516,_0x4d8223){const _0xdade58=_0x5b4e73;return(0x0,_0x37caaf[_0xdade58(0x1a7)])(_0x4cc837,Object['assign']({},_0x174516,{'id':'strikethrough-icon','ref':_0x4d8223,'icon':_0x40459b}));});_0x36d34a[_0x5b4e73(0x361)]=_0x5b4e73(0x47a);let _0x5b7a7d={'tag':_0x5b4e73(0x374),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x5b4e73(0x2a3),'viewBox':'0\x200\x2016\x2016','width':_0x5b4e73(0x210),'height':_0x5b4e73(0x210)},'children':[{'tag':_0x5b4e73(0x2dd),'attrs':{'fill':_0x5b4e73(0x442),'d':'M4.46416\x202.03237C4.46416\x201.701\x204.19553\x201.43237\x203.86416\x201.43237C3.53279\x201.43237\x203.26416\x201.701\x203.26416\x202.03237V7.33338C3.26416\x2010.0313\x205.35834\x2012.2667\x207.9999\x2012.2667C10.6415\x2012.2667\x2012.7356\x2010.0313\x2012.7356\x207.33338V2.03237C12.7356\x201.701\x2012.467\x201.43237\x2012.1356\x201.43237C11.8043\x201.43237\x2011.5356\x201.701\x2011.5356\x202.03237V7.33338C11.5356\x209.42194\x209.92656\x2011.0667\x207.9999\x2011.0667C6.07325\x2011.0667\x204.46416\x209.42194\x204.46416\x207.33338V2.03237Z'}},{'tag':_0x5b4e73(0x2dd),'attrs':{'fill':_0x5b4e73(0x442),'d':_0x5b4e73(0x357)}}]},_0x23a39a=(0x0,_0x37caaf['forwardRef'])(function(_0xc4af9e,_0x35b183){const _0xcb8602=_0x5b4e73;return(0x0,_0x37caaf[_0xcb8602(0x1a7)])(_0x4cc837,Object[_0xcb8602(0x306)]({},_0xc4af9e,{'id':_0xcb8602(0x277),'ref':_0x35b183,'icon':_0x5b7a7d}));});_0x23a39a[_0x5b4e73(0x361)]=_0x5b4e73(0x464);let _0x154f23={'tag':'svg','attrs':{'xmlns':_0x5b4e73(0x478),'fill':_0x5b4e73(0x2a3),'viewBox':'0\x200\x2016\x2016','width':'1em','height':_0x5b4e73(0x210)},'children':[{'tag':_0x5b4e73(0x2dd),'attrs':{'fill':_0x5b4e73(0x442),'d':'M7.9999\x200.733398C8.33127\x200.733398\x208.5999\x201.00203\x208.5999\x201.3334V4.55137L9.57564\x203.57564C9.80995\x203.34132\x2010.1899\x203.34132\x2010.4242\x203.57564C10.6585\x203.80995\x2010.6585\x204.18985\x2010.4242\x204.42417L8.42417\x206.42417C8.18985\x206.65848\x207.80995\x206.65848\x207.57564\x206.42417L5.57564\x204.42417C5.34132\x204.18985\x205.34132\x203.80995\x205.57564\x203.57564C5.80995\x203.34132\x206.18985\x203.34132\x206.42417\x203.57564L7.3999\x204.55137V1.3334C7.3999\x201.00203\x207.66853\x200.733398\x207.9999\x200.733398Z'}},{'tag':_0x5b4e73(0x2dd),'attrs':{'fill':'currentColor','d':_0x5b4e73(0x318)}},{'tag':'path','attrs':{'fill':'currentColor','d':_0x5b4e73(0x21f)}}]},_0x3d05b6=(0x0,_0x37caaf['forwardRef'])(function(_0x4d4421,_0x3df460){const _0x26bc9b=_0x5b4e73;return(0x0,_0x37caaf[_0x26bc9b(0x1a7)])(_0x4cc837,Object['assign']({},_0x4d4421,{'id':'vertical-center-icon','ref':_0x3df460,'icon':_0x154f23}));});_0x3d05b6['displayName']='VerticalCenterIcon';let _0x43243f=class extends _0xd2d24[_0x5b4e73(0x24d)]{constructor(_0x2cc35e,_0x1a8e77,_0x4742e9,_0x2c2c52,_0x581ef8,_0x19d339,_0x457c52,_0x300f94,_0x3224c2){const _0x57d269=_0x5b4e73;super(),this[_0x57d269(0x175)]=_0x2cc35e,this[_0x57d269(0x20a)]=_0x1a8e77,this[_0x57d269(0x1b6)]=_0x4742e9,this[_0x57d269(0x212)]=_0x2c2c52,this[_0x57d269(0x524)]=_0x581ef8,this['clipboardService']=_0x19d339,this[_0x57d269(0x4a0)]=_0x457c52,this[_0x57d269(0x23c)]=_0x300f94,this[_0x57d269(0x330)]=_0x3224c2;}};_0x43243f=_0x2d6c5f([_0x1c54fc(0x1,_0xd2d24[_0x5b4e73(0x4f0)]),_0x1c54fc(0x2,_0x38c4c0[_0x5b4e73(0x494)]),_0x1c54fc(0x3,_0x13e20e[_0x5b4e73(0x1ad)]),_0x1c54fc(0x4,_0x13e20e[_0x5b4e73(0x28e)]),_0x1c54fc(0x5,_0x27c3df['IMindMapClipboardService']),_0x1c54fc(0x6,_0x2d1a98[_0x5b4e73(0x51b)]),_0x1c54fc(0x7,(0x0,_0xd2d24[_0x5b4e73(0x165)])(_0xd2d24[_0x5b4e73(0x1b7)])),_0x1c54fc(0x8,(0x0,_0xd2d24[_0x5b4e73(0x165)])(_0x13e20e[_0x5b4e73(0x1db)]))],_0x43243f);let _0x2ff14f=_0x5b4e73(0x526),_0x14db29=_0x5b4e73(0x3e5);function _0x24f92d(_0x355f56){const _0x228869=_0x5b4e73;let {unitId:_0x470fa0,subUnitId:_0x18c4df,nodeId:_0x26f459,initialDescription:_0x45d1a8=''}=_0x355f56,_0x58f1ca=(0x0,_0x2d1a98[_0x228869(0x169)])(_0xd2d24[_0x228869(0x4f0)]),_0x3a54fe=(0x0,_0x2d1a98['useDependency'])(_0x2d1a98[_0x228869(0x51b)]),_0x4ebf3c=(0x0,_0x2d1a98['useDependency'])(_0xd2d24[_0x228869(0x1b7)]),[_0x48a3a4,_0x355d78]=(0x0,_0x37caaf['useState'])(_0x45d1a8),_0x30b300=()=>_0x3a54fe[_0x228869(0x386)](_0x14db29);return(0x0,_0x54cfef[_0x228869(0x36c)])('div',{'className':_0x228869(0x39d),'data-board-mind-map-description-dialog':'true','children':[(0x0,_0x54cfef[_0x228869(0x36c)])(_0x228869(0x4ff),{'className':'univer-flex\x20univer-flex-col\x20univer-gap-2','children':[(0x0,_0x54cfef[_0x228869(0x298)])(_0x228869(0x424),{'className':_0x228869(0x461),'children':_0x4ebf3c['t'](_0x228869(0x2f9))}),(0x0,_0x54cfef[_0x228869(0x298)])(_0x7217a3[_0x228869(0x37d)],{'autoFocus':!0x0,'className':_0x228869(0x24a),'placeholder':_0x4ebf3c['t'](_0x228869(0x55d)),'value':_0x48a3a4,'onValueChange':_0x355d78})]}),(0x0,_0x54cfef[_0x228869(0x36c)])('div',{'className':_0x228869(0x35e),'children':[(0x0,_0x54cfef[_0x228869(0x298)])(_0x7217a3[_0x228869(0x1e3)],{'size':_0x228869(0x56a),'variant':'default','onClick':_0x30b300,'children':_0x4ebf3c['t'](_0x228869(0x3a6))}),(0x0,_0x54cfef[_0x228869(0x298)])(_0x7217a3[_0x228869(0x1e3)],{'size':_0x228869(0x56a),'variant':_0x228869(0x35f),'onClick':()=>{const _0x2fa312=_0x228869;_0x58f1ca['executeCommand'](_0x27c3df[_0x2fa312(0x3fa)]['id'],{'unitId':_0x470fa0,'subUnitId':_0x18c4df,'nodeId':_0x26f459,'foreignAttributes':{'_note':_0x48a3a4[_0x2fa312(0x35b)]()?_0x48a3a4:null}}),_0x30b300();},'children':_0x4ebf3c['t'](_0x228869(0x4ef))})]})]});}let _0x3e883f='board.operation.mind-map.keyboard-shortcut',_0x390f61=_0x5b4e73(0x2f8),_0x58ede9='FOCUSING_MIND_MAP_BLANK_BOARD',_0x1182fb={'copy':_0x13e20e[_0x5b4e73(0x249)]['copy'],'paste':_0x13e20e['BOARD_SHORTCUT_BINDINGS'][_0x5b4e73(0x1c0)],'paste-as-new':_0x13e20e[_0x5b4e73(0x249)][_0x5b4e73(0x1c0)],'add-child':_0x13e20e[_0x5b4e73(0x249)][_0x5b4e73(0x3d8)],'add-sibling-or-child':_0x13e20e[_0x5b4e73(0x249)][_0x5b4e73(0x3c8)],'promote':_0x13e20e[_0x5b4e73(0x249)][_0x5b4e73(0x288)],'toggle-collapse':_0x13e20e[_0x5b4e73(0x249)][_0x5b4e73(0x244)],'collapse-all':_0x13e20e[_0x5b4e73(0x249)][_0x5b4e73(0x17b)],'edit-text':_0x13e20e[_0x5b4e73(0x249)]['editCurrentNode'],'open-description':_0x13e20e[_0x5b4e73(0x249)]['addDescription'],'delete':_0x2d1a98['KeyCode']['DELETE'],'arrow-left':_0x2d1a98[_0x5b4e73(0x29e)][_0x5b4e73(0x56d)],'arrow-right':_0x2d1a98['KeyCode'][_0x5b4e73(0x315)],'arrow-up':_0x2d1a98[_0x5b4e73(0x29e)][_0x5b4e73(0x375)],'arrow-down':_0x2d1a98[_0x5b4e73(0x29e)][_0x5b4e73(0x427)]},_0x22363f={'delete':[_0x2d1a98[_0x5b4e73(0x29e)][_0x5b4e73(0x293)]]};function _0xe4b6f2(_0x3f122f){return[_0x1182fb[_0x3f122f],..._0x22363f[_0x3f122f]??[]];}let _0x58b2d5=class extends _0xd2d24[_0x5b4e73(0x260)]{constructor(_0x1090fc,_0x2c1c28,_0x557353,_0x262102){const _0x5bbc94=_0x5b4e73;super(),this[_0x5bbc94(0x25d)]=_0x1090fc,this['_commandService']=_0x2c1c28,this[_0x5bbc94(0x264)]=_0x557353,this['_undoRedoGroupService']=_0x262102,this['_init']();}[_0x5b4e73(0x1f6)](){const _0x112257=_0x5b4e73;this[_0x112257(0x19b)](this[_0x112257(0x316)][_0x112257(0x229)](this['_createKeyboardShortcutOperation']())),this[_0x112257(0x528)]()['forEach'](_0x1991e7=>{const _0x509f15=_0x112257;this[_0x509f15(0x19b)](this['_shortcutService'][_0x509f15(0x546)](_0x1991e7));});}[_0x5b4e73(0x534)](){const _0x559a7b=_0x5b4e73;return{'id':_0x3e883f,'type':_0xd2d24[_0x559a7b(0x355)][_0x559a7b(0x1c7)],'handler':(_0x568aab,_0x5a12fd,_0x4481b3)=>{const _0x16b80f=_0x559a7b;let _0x5eeed0=_0x1e0a35(_0x568aab,_0x4481b3);return _0x5eeed0?this['handleShortcut'](_0x5eeed0,_0x5a12fd==null?void 0x0:_0x5a12fd[_0x16b80f(0x389)]):!0x1;}};}[_0x5b4e73(0x528)](){const _0x122069=_0x5b4e73;let _0x333ffa=(_0x53955f,_0x4c296b)=>({'id':_0x3e883f,'binding':_0x53955f,'priority':0xa0,'preconditions':_0x51d101=>(0x0,_0x13e20e[_0x122069(0x4d5)])(_0x51d101)&&!!_0x51d101['getContextValue']('FOCUSING_MIND_MAP_NODE'),'staticParameters':{'action':_0x4c296b}}),_0xaa7965=_0x5ccfcf=>_0xe4b6f2(_0x5ccfcf)[_0x122069(0x4d4)](_0x7aea25=>_0x333ffa(_0x7aea25,_0x5ccfcf));return[..._0xaa7965(_0x122069(0x3de)),{'id':_0x3e883f,'binding':_0x1182fb[_0x122069(0x1c0)],'priority':0xa0,'preconditions':_0x32c50e=>(0x0,_0x13e20e[_0x122069(0x4d5)])(_0x32c50e)&&!!this[_0x122069(0x25d)][_0x122069(0x545)]()&&!!_0x32c50e[_0x122069(0x307)](_0x122069(0x2f8)),'staticParameters':{'action':_0x122069(0x1c0)}},{'id':_0x3e883f,'binding':_0x1182fb[_0x122069(0x566)],'priority':0x96,'preconditions':_0x4dd4c8=>(0x0,_0x13e20e[_0x122069(0x4d5)])(_0x4dd4c8)&&!!this[_0x122069(0x25d)]['getPayload']()&&!!_0x4dd4c8['getContextValue']('FOCUSING_MIND_MAP_BLANK_BOARD'),'staticParameters':{'action':_0x122069(0x566)}},..._0xaa7965(_0x122069(0x2c8)),..._0xaa7965(_0x122069(0x538)),..._0xaa7965(_0x122069(0x41f)),..._0xaa7965('toggle-collapse'),..._0xaa7965('collapse-all'),..._0xaa7965('edit-text'),..._0xaa7965('open-description'),..._0xaa7965(_0x122069(0x4b7)),..._0xaa7965(_0x122069(0x3cb)),..._0xaa7965('arrow-right'),..._0xaa7965(_0x122069(0x3f1)),..._0xaa7965('arrow-down')];}[_0x5b4e73(0x1cc)](_0x536c35,_0x40a24f){const _0x1e22aa=_0x5b4e73;return _0x536c35['uiStateService']['getState']()[_0x1e22aa(0x1ba)]===_0x1e22aa(0x31c)&&_0x40a24f!==_0x1e22aa(0x3de)?!0x1:_0x40a24f===_0x1e22aa(0x3de)?this[_0x1e22aa(0x53f)](_0x536c35):_0x40a24f===_0x1e22aa(0x1c0)?this[_0x1e22aa(0x16a)](_0x536c35):_0x40a24f==='paste-as-new'?this[_0x1e22aa(0x365)](_0x536c35):_0x40a24f===_0x1e22aa(0x2c8)?this['_addChild'](_0x536c35):_0x40a24f===_0x1e22aa(0x538)?this[_0x1e22aa(0x36a)](_0x536c35):_0x40a24f===_0x1e22aa(0x41f)?this[_0x1e22aa(0x353)](_0x536c35,_0x27c3df[_0x1e22aa(0x322)]['id']):_0x40a24f===_0x1e22aa(0x32a)?this[_0x1e22aa(0x353)](_0x536c35,_0x27c3df[_0x1e22aa(0x514)]['id']):_0x40a24f===_0x1e22aa(0x26c)?this[_0x1e22aa(0x2c0)](_0x536c35):_0x40a24f===_0x1e22aa(0x4ed)?this[_0x1e22aa(0x287)](_0x536c35):_0x40a24f==='open-description'?this[_0x1e22aa(0x224)](_0x536c35):_0x40a24f===_0x1e22aa(0x4b7)?this[_0x1e22aa(0x16b)](_0x536c35):_0x40a24f&&_0x1ab253(_0x40a24f)?this[_0x1e22aa(0x314)](_0x536c35,_0x40a24f):!0x1;}['_copySelectedNode'](_0x23719c){const _0x413f33=_0x5b4e73;let _0x599bae=this[_0x413f33(0x4b4)](_0x23719c);return _0x599bae?(_0x23719c['commandService'][_0x413f33(0x359)](_0x27c3df[_0x413f33(0x476)]['id'],{'unitId':_0x599bae[_0x413f33(0x560)],'subUnitId':_0x599bae[_0x413f33(0x1a0)],'nodeId':_0x599bae['nodeId']}),!0x0):!0x1;}[_0x5b4e73(0x16a)](_0x3c078c){const _0x12da58=_0x5b4e73;let _0x506c7f=this['_getSelectedMindMapContext'](_0x3c078c);return!_0x506c7f||!_0x3c078c[_0x12da58(0x321)]['getPayload']()?!0x1:(this[_0x12da58(0x2f4)](_0x3c078c,_0x27c3df['PasteMindMapNodeOperation']['id'],{'unitId':_0x506c7f[_0x12da58(0x560)],'subUnitId':_0x506c7f[_0x12da58(0x1a0)],'targetNodeId':_0x506c7f['nodeId']},_0x506c7f[_0x12da58(0x2e5)]),!0x0);}[_0x5b4e73(0x365)](_0x338b9e){const _0x42adfa=_0x5b4e73;let _0x56d440=this['_getBlankBoardContext'](_0x338b9e);if(!_0x56d440||!_0x338b9e[_0x42adfa(0x321)][_0x42adfa(0x545)]())return!0x1;let _0x36278f=_0x338b9e[_0x42adfa(0x524)]['getState'](),_0x45dd39=Number[_0x42adfa(0x25b)](_0x36278f[_0x42adfa(0x245)])&&_0x36278f['zoomRatio']>0x0?_0x36278f[_0x42adfa(0x245)]:0x1,_0x23d176=Math[_0x42adfa(0x347)]((0x40-_0x36278f['viewportPanOffset']['x'])/_0x45dd39),_0x31ba3e=Math[_0x42adfa(0x347)]((0x40-_0x36278f['viewportPanOffset']['y'])/_0x45dd39);return _0x338b9e[_0x42adfa(0x20a)][_0x42adfa(0x359)](_0x27c3df[_0x42adfa(0x43d)]['id'],{'unitId':_0x56d440['unitId'],'subUnitId':_0x56d440[_0x42adfa(0x1a0)],'left':_0x23d176,'top':_0x31ba3e}),!0x0;}['_addChild'](_0x4f48ac){const _0x2068a0=_0x5b4e73;let _0x5a2823=this[_0x2068a0(0x4b4)](_0x4f48ac);if(!_0x5a2823)return!0x1;let _0x40c10f=(0x0,_0xd2d24[_0x2068a0(0x1e1)])(0x6);return this[_0x2068a0(0x505)](_0x4f48ac,_0x27c3df[_0x2068a0(0x539)]['id'],{'unitId':_0x5a2823['unitId'],'subUnitId':_0x5a2823['subUnitId'],'parentNodeId':_0x5a2823['nodeId'],'nodeId':_0x40c10f,'connectorId':(0x0,_0xd2d24[_0x2068a0(0x1e1)])(0x6),'text':_0x4f48ac[_0x2068a0(0x23c)]['t']('boards-mind-ui.panel.addText')},_0x5a2823[_0x2068a0(0x2e5)],_0x40c10f),!0x0;}['_addSiblingOrChild'](_0x24b4a7){const _0x11b17c=_0x5b4e73;let _0x5660f1=this['_getSelectedMindMapContext'](_0x24b4a7);if(!_0x5660f1)return!0x1;let _0x1cadd3=(0x0,_0xd2d24['generateRandomId'])(0x6);return this[_0x11b17c(0x505)](_0x24b4a7,_0x5660f1[_0x11b17c(0x407)]?_0x27c3df[_0x11b17c(0x539)]['id']:_0x27c3df[_0x11b17c(0x431)]['id'],{'unitId':_0x5660f1[_0x11b17c(0x560)],'subUnitId':_0x5660f1[_0x11b17c(0x1a0)],..._0x5660f1[_0x11b17c(0x407)]?{'parentNodeId':_0x5660f1[_0x11b17c(0x555)],'nodeId':_0x1cadd3}:{'nodeId':_0x5660f1[_0x11b17c(0x555)],'siblingNodeId':_0x1cadd3},'connectorId':(0x0,_0xd2d24[_0x11b17c(0x1e1)])(0x6),'text':_0x24b4a7[_0x11b17c(0x23c)]['t'](_0x11b17c(0x4e5))},_0x5660f1['scopeId'],_0x1cadd3),!0x0;}[_0x5b4e73(0x353)](_0x2cd679,_0x476bff){const _0x2c366f=_0x5b4e73;let _0x5f2f0e=this[_0x2c366f(0x4b4)](_0x2cd679);return _0x5f2f0e?(this[_0x2c366f(0x2f4)](_0x2cd679,_0x476bff,{'unitId':_0x5f2f0e[_0x2c366f(0x560)],'subUnitId':_0x5f2f0e[_0x2c366f(0x1a0)],'nodeId':_0x5f2f0e[_0x2c366f(0x555)]},_0x5f2f0e[_0x2c366f(0x2e5)]),!0x0):!0x1;}[_0x5b4e73(0x16b)](_0x2e2a9d){const _0x34d433=_0x5b4e73;let _0x402b78=this[_0x34d433(0x4b4)](_0x2e2a9d);if(!_0x402b78)return!0x1;let _0x3910b0=_0x2e2a9d[_0x34d433(0x20a)][_0x34d433(0x1fe)](_0x27c3df[_0x34d433(0x3b9)]['id'],{'unitId':_0x402b78[_0x34d433(0x560)],'subUnitId':_0x402b78[_0x34d433(0x1a0)],'nodeId':_0x402b78[_0x34d433(0x555)]});return _0x3910b0&&_0x2e2a9d[_0x34d433(0x212)][_0x34d433(0x4c6)](),_0x3910b0;}['_collapseAll'](_0x1b8602){const _0x116203=_0x5b4e73;let _0x1675ed=this[_0x116203(0x4b4)](_0x1b8602);if(!_0x1675ed)return!0x1;let _0x149e45=_0x1b8602[_0x116203(0x1b6)][_0x116203(0x544)](_0x1675ed['unitId'],_0x1675ed[_0x116203(0x1a0)]),_0x28c5a3=Object[_0x116203(0x4fd)](_0x149e45)[_0x116203(0x4d4)](_0x5057ca=>{const _0x5f11d2=_0x116203;let _0x153749=(0x0,_0x27c3df['getMindMapNodeMeta'])(_0x5057ca[_0x5f11d2(0x2dc)]);return(_0x153749==null?void 0x0:_0x153749[_0x5f11d2(0x483)])===_0x1675ed['scopeId']&&this[_0x5f11d2(0x443)](_0x149e45,_0x1675ed[_0x5f11d2(0x2e5)],_0x5057ca[_0x5f11d2(0x1f9)])['length']>0x0?{'nodeId':_0x5057ca[_0x5f11d2(0x1f9)],'collapsed':_0x153749[_0x5f11d2(0x2e8)]}:null;})[_0x116203(0x4c1)](_0x544bbe=>!!_0x544bbe);if(_0x28c5a3[_0x116203(0x2ce)]===0x0)return!0x1;let _0x1c11f8=_0x28c5a3[_0x116203(0x198)](_0x5dcff1=>!_0x5dcff1[_0x116203(0x2e8)]),_0x9576af=_0x1b8602['commandService'],_0x3eff23=this['_undoRedoGroupService'][_0x116203(0x31e)](_0x1675ed[_0x116203(0x560)]),_0x4d8a95=_0x28c5a3[_0x116203(0x4d4)](_0x1a21a7=>_0x3eff23(()=>_0x9576af['executeCommand'](_0x27c3df['ToggleMindMapNodeCollapseOperation']['id'],{'unitId':_0x1675ed[_0x116203(0x560)],'subUnitId':_0x1675ed[_0x116203(0x1a0)],'nodeId':_0x1a21a7[_0x116203(0x555)],'collapsed':_0x1c11f8})));return Promise['all'](_0x4d8a95['map'](_0x478bbe=>Promise['resolve'](_0x478bbe)))[_0x116203(0x352)](_0xd43c0c=>{const _0x4b8f8f=_0x116203;_0xd43c0c[_0x4b8f8f(0x198)](Boolean)&&_0x3eff23(()=>_0x9576af[_0x4b8f8f(0x359)](_0x27c3df[_0x4b8f8f(0x508)]['id'],{'unitId':_0x1675ed['unitId'],'subUnitId':_0x1675ed[_0x4b8f8f(0x1a0)],'scopeId':_0x1675ed[_0x4b8f8f(0x2e5)]}));}),!0x0;}['_openSelectedTextEditing'](_0x37b3b3){const _0x59aed4=_0x5b4e73;let _0x9a7be3=this[_0x59aed4(0x4b4)](_0x37b3b3);if(!_0x9a7be3)return!0x1;_0x37b3b3[_0x59aed4(0x212)][_0x59aed4(0x19a)]({'unitId':_0x9a7be3[_0x59aed4(0x560)],'subUnitId':_0x9a7be3[_0x59aed4(0x1a0)]},[_0x9a7be3[_0x59aed4(0x555)]],_0x9a7be3[_0x59aed4(0x555)]);let _0x2884b9=_0x37b3b3[_0x59aed4(0x330)];return _0x2884b9[_0x59aed4(0x3a1)](),_0x2884b9['setEditing']({'unitId':_0x9a7be3[_0x59aed4(0x560)],'subUnitId':_0x9a7be3[_0x59aed4(0x1a0)],'shapeId':_0x9a7be3[_0x59aed4(0x555)],'shapeKey':(0x0,_0x13e20e[_0x59aed4(0x3e8)])(_0x9a7be3[_0x59aed4(0x560)],_0x9a7be3['nodeId']),'visible':!0x0}),!0x0;}[_0x5b4e73(0x224)](_0x156e4c){const _0x16a428=_0x5b4e73;let _0x2e3596=this[_0x16a428(0x4b4)](_0x156e4c);return _0x2e3596?(_0x156e4c[_0x16a428(0x4a0)][_0x16a428(0x51c)]({'id':_0x14db29,'title':{'title':'boards-mind-ui.description'},'width':0x1a4,'draggable':!0x0,'mask':!0x1,'maskClosable':!0x0,'children':{'label':_0x2ff14f,'unitId':_0x2e3596[_0x16a428(0x560)],'subUnitId':_0x2e3596[_0x16a428(0x1a0)],'nodeId':_0x2e3596[_0x16a428(0x555)],'initialDescription':_0x2e3596[_0x16a428(0x1c3)]}}),!0x0):!0x1;}[_0x5b4e73(0x314)](_0x222373,_0x29237d){const _0x10991c=_0x5b4e73;let _0x339e1a=this['_getSelectedMindMapContext'](_0x222373);if(!_0x339e1a)return!0x1;let _0x1687b3=_0x222373['elementService'][_0x10991c(0x544)](_0x339e1a[_0x10991c(0x560)],_0x339e1a[_0x10991c(0x1a0)]),_0x457ad7=_0x1687b3[_0x339e1a[_0x10991c(0x555)]],_0x54dc09=(0x0,_0x27c3df['getMindMapNodeMeta'])(_0x457ad7==null?void 0x0:_0x457ad7['element']);if(!_0x457ad7||!_0x54dc09)return!0x1;let _0x218e25={'arrow-left':_0x10991c(0x2e0),'arrow-right':_0x10991c(0x4bf),'arrow-up':_0x10991c(0x54b),'arrow-down':'ArrowDown'}[_0x29237d];if(!_0x218e25)return!0x1;let _0x5179e1=this[_0x10991c(0x2a7)](_0x1687b3,_0x339e1a['nodeId'],_0x54dc09,_0x218e25);return _0x5179e1?(_0x222373[_0x10991c(0x212)][_0x10991c(0x19a)]({'unitId':_0x339e1a[_0x10991c(0x560)],'subUnitId':_0x339e1a['subUnitId']},[_0x5179e1],_0x5179e1),!0x0):!0x1;}[_0x5b4e73(0x2a7)](_0x319d31,_0x14de87,_0x4b4faf,_0x1068a4){const _0x3cb6b3=_0x5b4e73;let _0x52e5a6=this['_getMindMapChildren'](_0x319d31,_0x4b4faf[_0x3cb6b3(0x483)],_0x14de87);if(_0x4b4faf[_0x3cb6b3(0x279)]===null){if(_0x1068a4===_0x3cb6b3(0x2e0)){var _0x55c117;return((_0x55c117=_0x52e5a6['find'](_0x2048d4=>{const _0x364975=_0x3cb6b3;var _0x196339;return((_0x196339=(0x0,_0x27c3df['getMindMapNodeMeta'])(_0x2048d4[_0x364975(0x2dc)]))==null?void 0x0:_0x196339['side'])===_0x364975(0x469);}))==null?void 0x0:_0x55c117[_0x3cb6b3(0x1f9)])??null;}if(_0x1068a4===_0x3cb6b3(0x4bf)){var _0x2c79de;return((_0x2c79de=_0x52e5a6['find'](_0x1df985=>{const _0x168858=_0x3cb6b3;var _0x3d2cd8;return(((_0x3d2cd8=(0x0,_0x27c3df['getMindMapNodeMeta'])(_0x1df985[_0x168858(0x2dc)]))==null?void 0x0:_0x3d2cd8['side'])??_0x168858(0x459))===_0x168858(0x459);}))==null?void 0x0:_0x2c79de[_0x3cb6b3(0x1f9)])??null;}return null;}let _0x526342=_0x4b4faf[_0x3cb6b3(0x2ff)]??_0x3cb6b3(0x459),_0x50b907=_0x526342==='right'?_0x3cb6b3(0x2e0):'ArrowRight',_0x5cf6c5=_0x526342==='right'?_0x3cb6b3(0x4bf):'ArrowLeft';if(_0x1068a4===_0x50b907)return _0x4b4faf['parentNodeId'];if(_0x1068a4===_0x5cf6c5){var _0x435097;return((_0x435097=_0x52e5a6[0x0])==null?void 0x0:_0x435097[_0x3cb6b3(0x1f9)])??null;}if(_0x1068a4===_0x3cb6b3(0x54b)||_0x1068a4===_0x3cb6b3(0x47b)){let _0x2381a0=this[_0x3cb6b3(0x443)](_0x319d31,_0x4b4faf[_0x3cb6b3(0x483)],_0x4b4faf[_0x3cb6b3(0x279)]),_0x424ab0=_0x2381a0[_0x3cb6b3(0x4ae)](_0x184293=>_0x184293[_0x3cb6b3(0x1f9)]===_0x14de87),_0x1f1d73=_0x1068a4===_0x3cb6b3(0x54b)?_0x2381a0[_0x424ab0-0x1]:_0x2381a0[_0x424ab0+0x1];return(_0x1f1d73==null?void 0x0:_0x1f1d73[_0x3cb6b3(0x1f9)])??null;}return null;}[_0x5b4e73(0x443)](_0x1edcb8,_0x1e2a39,_0x3166d7){const _0x1dbd5d=_0x5b4e73;return Object['values'](_0x1edcb8)['filter'](_0x26579e=>{const _0x4f8bab=_0x4e16;let _0x586596=(0x0,_0x27c3df[_0x4f8bab(0x429)])(_0x26579e['element']);return(_0x586596==null?void 0x0:_0x586596[_0x4f8bab(0x483)])===_0x1e2a39&&_0x586596[_0x4f8bab(0x279)]===_0x3166d7&&_0x26579e['element']['visible']!==!0x1;})[_0x1dbd5d(0x350)]((_0x25820c,_0x308cb6)=>{const _0x36320e=_0x1dbd5d;let _0x35dcc1=(0x0,_0x27c3df[_0x36320e(0x429)])(_0x25820c['element']),_0x2f1c13=(0x0,_0x27c3df['getMindMapNodeMeta'])(_0x308cb6['element']);return(0x0,_0x27c3df[_0x36320e(0x49b)])(_0x35dcc1==null?void 0x0:_0x35dcc1[_0x36320e(0x23f)],_0x2f1c13==null?void 0x0:_0x2f1c13[_0x36320e(0x23f)])||_0x25820c[_0x36320e(0x1f9)][_0x36320e(0x243)](_0x308cb6[_0x36320e(0x1f9)]);});}['_getSelectedMindMapContext'](_0x3f113b){const _0x232d84=_0x5b4e73;var _0x5f1579;let _0x29f36d=_0x3f113b[_0x232d84(0x212)][_0x232d84(0x54d)](),_0x1fe9cf=_0x29f36d[_0x232d84(0x54f)]??_0x29f36d[_0x232d84(0x179)][0x0];if(!_0x1fe9cf||_0x29f36d[_0x232d84(0x179)]['length']!==0x1||_0x29f36d[_0x232d84(0x20f)]||_0x29f36d['isTransforming'])return null;let _0x1257e2=_0x29f36d[_0x232d84(0x252)]??{'unitId':_0x3f113b[_0x232d84(0x175)]['unitId'],'subUnitId':_0x3f113b[_0x232d84(0x175)]['unit'][_0x232d84(0x2c6)]()},_0x2b0088=_0x3f113b[_0x232d84(0x1b6)][_0x232d84(0x544)](_0x1257e2['unitId'],_0x1257e2[_0x232d84(0x1a0)])[_0x1fe9cf],_0x292740=(0x0,_0x27c3df[_0x232d84(0x429)])(_0x2b0088==null?void 0x0:_0x2b0088[_0x232d84(0x2dc)]);return!_0x2b0088||!_0x292740?null:{'unitId':_0x1257e2['unitId'],'subUnitId':_0x1257e2['subUnitId'],'nodeId':_0x1fe9cf,'scopeId':_0x292740['structureScopeId'],'isRoot':_0x292740[_0x232d84(0x279)]===null,'description':((_0x5f1579=_0x292740['foreignAttributes'])==null?void 0x0:_0x5f1579[_0x232d84(0x368)])??''};}[_0x5b4e73(0x4b5)](_0x417198){const _0x19f7e5=_0x5b4e73;var _0x3a9efc,_0x9e9d69;let _0x2c7a91=_0x417198[_0x19f7e5(0x212)][_0x19f7e5(0x54d)]();return _0x2c7a91[_0x19f7e5(0x20f)]||_0x2c7a91[_0x19f7e5(0x222)]||_0x2c7a91[_0x19f7e5(0x179)]['length']>0x0||_0x2c7a91[_0x19f7e5(0x54f)]?null:{'unitId':((_0x3a9efc=_0x2c7a91[_0x19f7e5(0x252)])==null?void 0x0:_0x3a9efc[_0x19f7e5(0x560)])??_0x417198[_0x19f7e5(0x175)][_0x19f7e5(0x560)],'subUnitId':((_0x9e9d69=_0x2c7a91[_0x19f7e5(0x252)])==null?void 0x0:_0x9e9d69[_0x19f7e5(0x1a0)])??_0x417198[_0x19f7e5(0x175)][_0x19f7e5(0x4e8)][_0x19f7e5(0x2c6)]()};}[_0x5b4e73(0x2f4)](_0x5e3200,_0x33ac0f,_0x1b00b1,_0x60caf2){const _0x562ce5=_0x5b4e73;let _0x6a6c2=_0x5e3200['commandService'],_0x7d1a83=this[_0x562ce5(0x4d1)][_0x562ce5(0x31e)](_0x1b00b1[_0x562ce5(0x560)]),_0x5990b8=_0x7d1a83(()=>_0x6a6c2[_0x562ce5(0x359)](_0x33ac0f,_0x1b00b1));Promise[_0x562ce5(0x4fc)](_0x5990b8)['then'](_0x41ed8e=>{const _0x5a4c40=_0x562ce5;_0x41ed8e&&_0x7d1a83(()=>_0x6a6c2[_0x5a4c40(0x359)](_0x27c3df[_0x5a4c40(0x508)]['id'],{'unitId':_0x1b00b1[_0x5a4c40(0x560)],'subUnitId':_0x1b00b1[_0x5a4c40(0x1a0)],'scopeId':_0x60caf2}));});}['_executeCreateAndEdit'](_0x27b612,_0x3c4107,_0x43b744,_0x221e60,_0x580224){const _0x4eb157=_0x5b4e73;let _0x46194e={'unitId':_0x43b744[_0x4eb157(0x560)],'subUnitId':_0x43b744['subUnitId']},_0xd554b=_0x27b612[_0x4eb157(0x20a)],_0x390f4f=this[_0x4eb157(0x4d1)]['createRunner'](_0x43b744[_0x4eb157(0x560)]),_0x4453c8=_0x390f4f(()=>_0xd554b[_0x4eb157(0x359)](_0x3c4107,_0x43b744));Promise[_0x4eb157(0x4fc)](_0x4453c8)[_0x4eb157(0x352)](_0x1cb6a5=>{const _0x1d58be=_0x4eb157;if(!_0x1cb6a5)return;_0x390f4f(()=>_0xd554b[_0x1d58be(0x359)](_0x27c3df[_0x1d58be(0x508)]['id'],{..._0x46194e,'scopeId':_0x221e60})),_0x27b612[_0x1d58be(0x212)][_0x1d58be(0x19a)](_0x46194e,[_0x580224],_0x580224);let _0x27e551=_0x27b612[_0x1d58be(0x330)];_0x27e551[_0x1d58be(0x3a1)](),_0x27e551['setEditing']({..._0x46194e,'shapeId':_0x580224,'shapeKey':(0x0,_0x13e20e['getBoardElementRenderObjectKey'])(_0x46194e[_0x1d58be(0x560)],_0x580224),'visible':!0x0});});}};_0x58b2d5=_0x2d6c5f([_0x1c54fc(0x0,_0x27c3df[_0x5b4e73(0x226)]),_0x1c54fc(0x1,_0xd2d24[_0x5b4e73(0x4f0)]),_0x1c54fc(0x2,_0x2d1a98['IShortcutService']),_0x1c54fc(0x3,(0x0,_0xd2d24[_0x5b4e73(0x165)])(_0x2d1a98[_0x5b4e73(0x488)]))],_0x58b2d5);function _0x1e0a35(_0x23e8f8,_0x2dde60){const _0xa7c5c8=_0x5b4e73;var _0x17fe41,_0x10a1b2;let _0x74af3e=typeof(_0x2dde60==null?void 0x0:_0x2dde60[_0xa7c5c8(0x560)])==_0xa7c5c8(0x2fc)?_0x2dde60[_0xa7c5c8(0x560)]:(_0x17fe41=_0x23e8f8[_0xa7c5c8(0x49c)](_0xd2d24[_0xa7c5c8(0x1f4)])[_0xa7c5c8(0x42c)](_0xd2d24[_0xa7c5c8(0x269)][_0xa7c5c8(0x2ae)]))==null?void 0x0:_0x17fe41['getUnitId']();return _0x74af3e?((_0x10a1b2=_0x23e8f8[_0xa7c5c8(0x49c)](_0x2119db[_0xa7c5c8(0x35c)])['getRenderUnitById'](_0x74af3e))==null?void 0x0:_0x10a1b2[_0xa7c5c8(0x1eb)](_0x43243f))??null:null;}function _0x1ab253(_0x1ec75c){const _0x407df8=_0x5b4e73;return _0x1ec75c===_0x407df8(0x3cb)||_0x1ec75c===_0x407df8(0x257)||_0x1ec75c===_0x407df8(0x3f1)||_0x1ec75c==='arrow-down';}let _0x4b1065={'min':0x1,'max':0x5,'defaultValue':0x3},_0x48dcc5={'min':0x0,'max':0x64,'defaultValue':0x64},_0x121c67=[{'kind':_0x5b4e73(0x4d2),'titleKey':'boards-mind-ui.toolbar.primary.line','panel':_0x5b4e73(0x38f)},{'kind':_0x5b4e73(0x50c),'titleKey':'boards-mind-ui.toolbar.primary.fontColor'},{'kind':_0x5b4e73(0x502),'titleKey':_0x5b4e73(0x516)},{'kind':_0x5b4e73(0x4d2),'titleKey':_0x5b4e73(0x4d6),'panel':_0x5b4e73(0x391),'dividerBefore':!0x0}],_0x5b9551={'addSibling':'add-sibling-or-child','addChild':_0x5b4e73(0x2c8),'copy':_0x5b4e73(0x3de),'paste':_0x5b4e73(0x1c0),'delete':_0x5b4e73(0x4b7)},_0x1647cb=[{'key':_0x5b4e73(0x2ed),'title':_0x5b4e73(0x4b8),'items':[{'value':'mindmap-horizontal','icon':'mindmap-horizontal','labelKey':_0x5b4e73(0x274)},{'value':_0x5b4e73(0x2a2),'icon':'mindmap-vertical','labelKey':_0x5b4e73(0x537)}]},{'key':_0x5b4e73(0x30a),'title':_0x5b4e73(0x3d1),'items':[{'value':'tree-right','icon':_0x5b4e73(0x202),'labelKey':_0x5b4e73(0x3c5)},{'value':_0x5b4e73(0x521),'icon':_0x5b4e73(0x521),'labelKey':_0x5b4e73(0x29a)},{'value':_0x5b4e73(0x40b),'icon':_0x5b4e73(0x40b),'labelKey':_0x5b4e73(0x2b7)}]},{'key':_0x5b4e73(0x45f),'title':'Timeline','items':[{'value':'timeline-horizontal','icon':_0x5b4e73(0x30f),'labelKey':_0x5b4e73(0x3dd)},{'value':'timeline-vertical','icon':_0x5b4e73(0x33c),'labelKey':_0x5b4e73(0x276)}]}],_0x601259={'key':'branch','title':_0x5b4e73(0x313),'items':[{'value':_0x5b4e73(0x3a8),'icon':_0x5b4e73(0x4a1),'labelKey':'boards-mind-ui.panel.branchLineType.curve'},{'value':_0x5b4e73(0x370),'icon':'branch-rounded-orthogonal','labelKey':'boards-mind-ui.panel.branchLineType.roundedOrthogonal'},{'value':_0x5b4e73(0x3cd),'icon':'branch-orthogonal','labelKey':'boards-mind-ui.panel.branchLineType.orthogonal'}]},_0xa86b1b=_0x5b4e73(0x30c);function _0x3a2b08(_0x2401d2,_0x251b06){const _0x179cc5=_0x5b4e73;_0x2401d2[_0x179cc5(0x359)](_0x3e883f,{'action':_0x251b06});}let _0x2399d9={'line':_0x15f8b2,'more':_0x1d58f3};function _0x5498e0(_0xb03170){const _0x32984=_0x5b4e73;_0xb03170[_0x32984(0x29c)](),_0xb03170['preventDefault']();}function _0x492e21(_0x508ab7,_0x395f86=_0x5b4e73(0x356),_0x895c1a){const _0x49dd12=_0x5b4e73;return(0x0,_0x54cfef[_0x49dd12(0x298)])(_0x514536[_0x49dd12(0x4d7)],{'children':(0x0,_0x54cfef['jsx'])(_0x508ab7,{'className':_0x395f86,'extend':_0x895c1a})});}function _0x5d00dd(_0xd94815){const _0x32f3e7=_0x5b4e73;var _0x43a8ac,_0x38557c;let _0x221901=(_0xd94815==null?void 0x0:_0xd94815[_0x32f3e7(0x4c7)])??{},_0xd89138=_0x221901[_0x32f3e7(0x300)]&&typeof _0x221901[_0x32f3e7(0x300)]==_0x32f3e7(0x308)?_0x221901[_0x32f3e7(0x300)]:{},_0x2c1052=(_0x43a8ac=_0xd89138[_0x32f3e7(0x32c)])==null||(_0x43a8ac=_0x43a8ac[_0x32f3e7(0x51f)])==null?void 0x0:_0x43a8ac['textStyle'];return{'color':typeof _0x221901[_0x32f3e7(0x17f)]==_0x32f3e7(0x2fc)?_0x221901['color']:(_0x2c1052==null||(_0x38557c=_0x2c1052['cl'])==null?void 0x0:_0x38557c['rgb'])??_0x514536['SHAPE_FLOATING_TOOLBAR_DEFAULT_TEXT_COLOR'],'fontFamily':typeof _0x221901[_0x32f3e7(0x503)]==_0x32f3e7(0x2fc)?_0x221901['fontFamily']:(_0x2c1052==null?void 0x0:_0x2c1052['ff'])??_0xd2d24[_0x32f3e7(0x21b)]['ff'],'fontSize':typeof _0x221901[_0x32f3e7(0x2ac)]=='number'?_0x221901[_0x32f3e7(0x2ac)]:typeof(_0x2c1052==null?void 0x0:_0x2c1052['fs'])=='number'?_0x2c1052['fs']:_0xd2d24[_0x32f3e7(0x21b)]['fs'],'horizontalAlign':_0x221901['horizontalAlign']??_0xd89138['ha']??_0xd2d24[_0x32f3e7(0x17c)][_0x32f3e7(0x420)],'textFill':_0x221901[_0x32f3e7(0x31f)]&&typeof _0x221901[_0x32f3e7(0x31f)]==_0x32f3e7(0x308)?_0x221901[_0x32f3e7(0x31f)]:_0x2c1052==null?void 0x0:_0x2c1052[_0x32f3e7(0x31f)],'verticalAlign':_0x221901[_0x32f3e7(0x1cf)]??_0xd89138['va']??_0xd2d24['VerticalAlign']['MIDDLE']};}function _0x4fb8d4(_0x279299,_0x43d4c3){const _0x54b334=_0x5b4e73;if(!_0x43d4c3)return;let _0x2d1131=_0xe4b6f2(_0x43d4c3);if(!_0x2d1131[_0x54b334(0x2ce)])return;let _0x35653f=_0x2d1131[_0x54b334(0x4d4)](_0x1e72f7=>_0x279299[_0x54b334(0x24b)]({'id':_0x54b334(0x2c9),'binding':_0x1e72f7,'staticParameters':{'action':_0x43d4c3}})??void 0x0)[_0x54b334(0x4c1)](_0x72f1e6=>!!_0x72f1e6);return _0x35653f[_0x54b334(0x2ce)]?[...new Set(_0x35653f)][_0x54b334(0x517)]('/'):void 0x0;}async function _0x13adf6(_0x11d700,_0x5c5198,_0x55cd97){const _0x2c01d6=_0x5b4e73;return await Promise[_0x2c01d6(0x4fc)](_0x5c5198(()=>_0x11d700[_0x2c01d6(0x359)](_0x27c3df[_0x2c01d6(0x414)]['id'],_0x55cd97)))?(await Promise['resolve'](_0x5c5198(()=>_0x11d700[_0x2c01d6(0x359)](_0x27c3df[_0x2c01d6(0x508)]['id'],{'unitId':_0x55cd97[_0x2c01d6(0x560)],'subUnitId':_0x55cd97['subUnitId'],'scopeId':_0x55cd97[_0x2c01d6(0x2e5)]}))),!0x0):!0x1;}async function _0x2e5d3d(_0x3e86e8,_0x5d1990,_0x21be3e){const _0x1d0a61=_0x5b4e73;return await Promise[_0x1d0a61(0x4fc)](_0x5d1990(()=>_0x3e86e8[_0x1d0a61(0x359)](_0x27c3df[_0x1d0a61(0x371)]['id'],_0x21be3e)))?(await Promise[_0x1d0a61(0x4fc)](_0x5d1990(()=>_0x3e86e8[_0x1d0a61(0x359)](_0x27c3df[_0x1d0a61(0x508)]['id'],{'unitId':_0x21be3e['unitId'],'subUnitId':_0x21be3e[_0x1d0a61(0x1a0)],'scopeId':_0x21be3e[_0x1d0a61(0x2e5)]}))),!0x0):!0x1;}function _0x5a55c8({className:_0x433917=_0x5b4e73(0x356)}){const _0x2b98a6=_0x5b4e73;return(0x0,_0x54cfef[_0x2b98a6(0x298)])(_0x514536[_0x2b98a6(0x4d7)],{'children':(0x0,_0x54cfef[_0x2b98a6(0x36c)])(_0x2b98a6(0x374),{'className':_0x433917,'viewBox':_0x2b98a6(0x519),'fill':_0x2b98a6(0x2a3),'aria-hidden':_0x2b98a6(0x2ca),'children':[(0x0,_0x54cfef['jsx'])(_0x2b98a6(0x2dd),{'d':'M4.5\x207.5h4.2c1.9\x200\x203.3\x201.5\x203.3\x203.3v2.4c0\x201.8\x201.4\x203.3\x203.3\x203.3h4.2','stroke':_0x2b98a6(0x442),'strokeWidth':_0x2b98a6(0x467),'strokeLinecap':'round'}),(0x0,_0x54cfef[_0x2b98a6(0x298)])(_0x2b98a6(0x2dd),{'d':_0x2b98a6(0x3f2),'stroke':_0x2b98a6(0x442),'strokeWidth':'1.8','strokeLinecap':_0x2b98a6(0x347)}),(0x0,_0x54cfef[_0x2b98a6(0x298)])(_0x2b98a6(0x2dd),{'d':_0x2b98a6(0x294),'stroke':'currentColor','strokeWidth':'1.8','strokeLinecap':_0x2b98a6(0x347)})]})});}function _0x362d64({icon:_0x32cdc9}){const _0xa8db=_0x5b4e73;let _0x1c4796=_0xa8db(0x34e),_0x88f84c={'stroke':_0xa8db(0x442),'strokeWidth':2.6,'strokeLinecap':_0xa8db(0x347),'strokeLinejoin':_0xa8db(0x347)},_0x5d4ca3={'stroke':_0x1c4796,'strokeWidth':3.2,'strokeLinecap':'round'};return(0x0,_0x54cfef['jsxs'])(_0xa8db(0x374),{'className':_0xa8db(0x23b),'viewBox':_0xa8db(0x4f9),'fill':_0xa8db(0x2a3),'aria-hidden':_0xa8db(0x2ca),'children':[_0x32cdc9===_0xa8db(0x1a8)&&(0x0,_0x54cfef[_0xa8db(0x36c)])(_0x54cfef[_0xa8db(0x39a)],{'children':[(0x0,_0x54cfef[_0xa8db(0x298)])(_0xa8db(0x2dd),{'d':_0xa8db(0x33f),..._0x88f84c}),(0x0,_0x54cfef[_0xa8db(0x298)])('path',{'d':_0xa8db(0x259),..._0x5d4ca3})]}),_0x32cdc9===_0xa8db(0x2a2)&&(0x0,_0x54cfef[_0xa8db(0x36c)])(_0x54cfef[_0xa8db(0x39a)],{'children':[(0x0,_0x54cfef['jsx'])('path',{'d':_0xa8db(0x484),..._0x88f84c}),(0x0,_0x54cfef[_0xa8db(0x298)])(_0xa8db(0x2dd),{'d':_0xa8db(0x199),'stroke':_0x1c4796,'strokeWidth':2.6,'strokeLinecap':_0xa8db(0x347),'strokeDasharray':_0xa8db(0x383)})]}),_0x32cdc9===_0xa8db(0x202)&&(0x0,_0x54cfef[_0xa8db(0x36c)])(_0x54cfef[_0xa8db(0x39a)],{'children':[(0x0,_0x54cfef[_0xa8db(0x298)])(_0xa8db(0x2dd),{'d':_0xa8db(0x1ec),..._0x88f84c}),(0x0,_0x54cfef[_0xa8db(0x298)])('path',{'d':'M47\x2025h13M47\x2035h13M47\x2045h13',..._0x5d4ca3}),(0x0,_0x54cfef[_0xa8db(0x298)])(_0xa8db(0x412),{'cx':'24','cy':'12','r':'3','fill':_0xa8db(0x442)})]}),_0x32cdc9===_0xa8db(0x521)&&(0x0,_0x54cfef[_0xa8db(0x36c)])(_0x54cfef['Fragment'],{'children':[(0x0,_0x54cfef[_0xa8db(0x298)])(_0xa8db(0x2dd),{'d':_0xa8db(0x444),..._0x88f84c}),(0x0,_0x54cfef[_0xa8db(0x298)])('path',{'d':'M20\x2025h13M20\x2035h13M20\x2045h13',..._0x5d4ca3}),(0x0,_0x54cfef[_0xa8db(0x298)])('circle',{'cx':'56','cy':'12','r':'3','fill':_0xa8db(0x442)})]}),_0x32cdc9==='tree-alternate'&&(0x0,_0x54cfef[_0xa8db(0x36c)])(_0x54cfef[_0xa8db(0x39a)],{'children':[(0x0,_0x54cfef[_0xa8db(0x298)])('path',{'d':_0xa8db(0x324),..._0x88f84c}),(0x0,_0x54cfef['jsx'])(_0xa8db(0x2dd),{'d':_0xa8db(0x311),..._0x5d4ca3}),(0x0,_0x54cfef[_0xa8db(0x298)])(_0xa8db(0x412),{'cx':'42','cy':'12','r':'3','fill':'currentColor'})]}),_0x32cdc9===_0xa8db(0x30f)&&(0x0,_0x54cfef[_0xa8db(0x36c)])(_0x54cfef[_0xa8db(0x39a)],{'children':[(0x0,_0x54cfef[_0xa8db(0x298)])('path',{'d':_0xa8db(0x4db),..._0x88f84c}),(0x0,_0x54cfef[_0xa8db(0x298)])(_0xa8db(0x2dd),{'d':_0xa8db(0x422),..._0x5d4ca3}),(0x0,_0x54cfef[_0xa8db(0x298)])(_0xa8db(0x412),{'cx':'17','cy':'31','r':'3','fill':_0xa8db(0x442)})]}),_0x32cdc9===_0xa8db(0x33c)&&(0x0,_0x54cfef['jsxs'])(_0x54cfef[_0xa8db(0x39a)],{'children':[(0x0,_0x54cfef[_0xa8db(0x298)])(_0xa8db(0x2dd),{'d':_0xa8db(0x3da),..._0x88f84c}),(0x0,_0x54cfef[_0xa8db(0x298)])('path',{'d':'M56\x2039h11M13\x2050h11',..._0x5d4ca3}),(0x0,_0x54cfef['jsx'])('circle',{'cx':'40','cy':'9','r':'3','fill':_0xa8db(0x442)})]}),_0x32cdc9==='branch-curve'&&(0x0,_0x54cfef[_0xa8db(0x298)])(_0x54cfef['Fragment'],{'children':(0x0,_0x54cfef[_0xa8db(0x298)])(_0xa8db(0x2dd),{'d':_0xa8db(0x1e4),..._0x88f84c})}),_0x32cdc9===_0xa8db(0x37e)&&(0x0,_0x54cfef[_0xa8db(0x298)])(_0x54cfef[_0xa8db(0x39a)],{'children':(0x0,_0x54cfef[_0xa8db(0x298)])(_0xa8db(0x2dd),{'d':_0xa8db(0x232),..._0x88f84c})}),_0x32cdc9==='branch-orthogonal'&&(0x0,_0x54cfef[_0xa8db(0x298)])(_0x54cfef[_0xa8db(0x39a)],{'children':(0x0,_0x54cfef['jsx'])(_0xa8db(0x2dd),{'d':_0xa8db(0x35d),..._0x88f84c})})]});}function _0xfc11a7(_0x22506e,_0x5141fa){const _0x3bc98c=_0x5b4e73;let _0x1b1f9c=_0x22506e[_0x3bc98c(0x239)],_0x5838b4=(0x0,_0x38c4c0[_0x3bc98c(0x4e4)])(_0x1b1f9c),_0x31992e={..._0x5838b4[_0x3bc98c(0x17f)]===void 0x0?null:{'color':_0x5838b4[_0x3bc98c(0x17f)]},..._0x5838b4[_0x3bc98c(0x503)]===void 0x0?null:{'fontFamily':_0x5838b4[_0x3bc98c(0x503)]},..._0x5838b4['fontSize']===void 0x0?null:{'fontSize':_0x5838b4[_0x3bc98c(0x2ac)]},..._0x5838b4[_0x3bc98c(0x568)]===void 0x0?null:{'bold':_0x5838b4[_0x3bc98c(0x568)]},..._0x5838b4[_0x3bc98c(0x1f7)]===void 0x0?null:{'italic':_0x5838b4['italic']},..._0x5838b4[_0x3bc98c(0x410)]===void 0x0?null:{'underline':_0x5838b4['underline']},..._0x5838b4[_0x3bc98c(0x281)]===void 0x0?null:{'strikethrough':_0x5838b4[_0x3bc98c(0x281)]},..._0x5838b4[_0x3bc98c(0x31f)]===void 0x0?null:{'textFill':_0x5838b4[_0x3bc98c(0x31f)]}};_0x22506e[_0x3bc98c(0x166)]!==void 0x0&&(_0x31992e['horizontalAlign']=_0x22506e[_0x3bc98c(0x166)]),_0x22506e[_0x3bc98c(0x1cf)]!==void 0x0&&(_0x31992e[_0x3bc98c(0x1cf)]=_0x22506e[_0x3bc98c(0x1cf)]),Object[_0x3bc98c(0x23e)](_0x31992e)['length']>0x0&&_0x5141fa({'textStyle':_0x31992e});}function _0xe089de(_0x1141a7,_0xa13ba1,_0x1ab6e2){const _0x591884=_0x5b4e73;let _0x606094=_0x1141a7??{},_0x4a0cb7=(0x0,_0x514536[_0x591884(0x2ee)])(_0x606094,_0xa13ba1),_0x28de78=_0x4a0cb7[_0x591884(0x4c7)]??_0x606094[_0x591884(0x4c7)]??{};return{..._0x606094,..._0x4a0cb7,'shapeText':{..._0x28de78,..._0x1ab6e2[_0x591884(0x17f)]===void 0x0?null:{'color':_0x1ab6e2['color']},..._0x1ab6e2[_0x591884(0x2ac)]===void 0x0?null:{'fontSize':_0x1ab6e2[_0x591884(0x2ac)]},..._0x1ab6e2[_0x591884(0x568)]===void 0x0?null:{'bold':_0x1ab6e2['bold']},..._0x1ab6e2[_0x591884(0x1f7)]===void 0x0?null:{'italic':_0x1ab6e2[_0x591884(0x1f7)]},..._0x1ab6e2[_0x591884(0x410)]===void 0x0?null:{'underline':_0x1ab6e2[_0x591884(0x410)]},..._0x1ab6e2['strikethrough']===void 0x0?null:{'strikethrough':_0x1ab6e2[_0x591884(0x281)]},..._0x1ab6e2[_0x591884(0x166)]===void 0x0?null:{'horizontalAlign':_0x1ab6e2[_0x591884(0x166)]},..._0x1ab6e2[_0x591884(0x1cf)]===void 0x0?null:{'verticalAlign':_0x1ab6e2['verticalAlign']},..._0x1ab6e2['textFill']===void 0x0?null:{'textFill':_0x1ab6e2['textFill']}}};}function _0x3b8bd8(_0x3eb522,_0x213666){const _0x2f2c19=_0x5b4e73;let _0x947fe=_0x3eb522==null?void 0x0:_0x3eb522[_0x2f2c19(0x209)];_0x947fe&&_0x213666({'lineType':_0x947fe[_0x2f2c19(0x56c)]===_0x429367[_0x2f2c19(0x1a4)]['RoundDot']||_0x947fe['dashType']===_0x429367[_0x2f2c19(0x1a4)][_0x2f2c19(0x213)]?_0x2f2c19(0x36f):_0x947fe[_0x2f2c19(0x56c)]===_0x429367[_0x2f2c19(0x1a4)][_0x2f2c19(0x2b6)]?'dash':_0x2f2c19(0x29d),...typeof _0x947fe['width']==_0x2f2c19(0x24e)?{'strokeWidth':_0x947fe['width']}:null,...typeof _0x947fe['color']=='string'?{'stroke':_0x947fe['color']}:null,...typeof _0x947fe[_0x2f2c19(0x304)]==_0x2f2c19(0x24e)?{'opacity':_0x947fe['opacity']}:null});}function _0x3966de(_0x18d380){const _0x3db17e=_0x5b4e73;return _0x18d380!=null&&_0x18d380[_0x3db17e(0x2ce)]?_0x18d380[0x0]<=0x2?_0x429367[_0x3db17e(0x1a4)][_0x3db17e(0x1ae)]:_0x429367[_0x3db17e(0x1a4)][_0x3db17e(0x2b6)]:_0x429367['ShapeLineDashEnum']['Solid'];}function _0x3e5900(_0x96b5b0){const _0x196e6d=_0x5b4e73;return{'stroke':{'lineStrokeType':_0x429367[_0x196e6d(0x372)][_0x196e6d(0x297)],'dashType':_0x3966de(_0x96b5b0==null?void 0x0:_0x96b5b0['dash']),'color':(_0x96b5b0==null?void 0x0:_0x96b5b0[_0x196e6d(0x209)])??_0x514536['SHAPE_FLOATING_TOOLBAR_DEFAULT_STROKE_COLOR'],'width':(_0x96b5b0==null?void 0x0:_0x96b5b0[_0x196e6d(0x203)])??_0x4b1065[_0x196e6d(0x3a4)],'opacity':(_0x96b5b0==null?void 0x0:_0x96b5b0['opacity'])??_0x48dcc5[_0x196e6d(0x3a4)]/0x64}};}function _0x586ad4(_0x3f5577){const _0x44e002=_0x5b4e73;var _0x3a728f,_0x421fc5,_0x342aac;let _0x414482=(0x0,_0x2d1a98['useDependency'])(_0xd2d24['ICommandService']),_0x51dad9=(0x0,_0x2d1a98[_0x44e002(0x169)])(_0x2d1a98[_0x44e002(0x1bf)]),_0x43a30f=(0x0,_0x2d1a98['useDependency'])(_0xd2d24[_0x44e002(0x1b7)]),_0xd49cd=(0x0,_0x2d1a98[_0x44e002(0x169)])(_0x2d1a98['UndoRedoGroupService']),[_0x43c535,_0x128e0d]=(0x0,_0x37caaf[_0x44e002(0x38b)])(null),[_0x2079f9,_0x40af7a]=(0x0,_0x37caaf['useState'])((_0x3a728f=_0x3f5577['popup']['extraProps'])==null?void 0x0:_0x3a728f[_0x44e002(0x4bb)]),_0x4b5b4e=_0x3f5577[_0x44e002(0x4a8)][_0x44e002(0x2e9)];if(!_0x4b5b4e)return null;let _0x24e46c={'unitId':_0x4b5b4e[_0x44e002(0x560)],'subUnitId':_0x4b5b4e[_0x44e002(0x1a0)]},_0x5e3dff=_0x548ad7=>{const _0x4fdec5=_0x44e002;_0x414482[_0x4fdec5(0x359)](_0x27c3df['UpdateMindMapNodeOperation']['id'],{..._0x24e46c,'nodeId':_0x4b5b4e[_0x4fdec5(0x1f9)],..._0x548ad7});},_0x30f9d5=(_0x5a2ca5,_0x5c3530)=>{const _0x9d6aa8=_0x44e002;let _0x3b8751=_0x5c3530??{};_0x40af7a(_0x56c3d6=>({..._0x56c3d6??{},..._0x3b8751})),_0x5e3dff({..._0x3b8751[_0x9d6aa8(0x190)]===void 0x0?null:{'fill':_0x3b8751[_0x9d6aa8(0x190)]},..._0x3b8751['stroke']===void 0x0?null:{'stroke':_0x3b8751[_0x9d6aa8(0x209)]}});},_0x169177=_0x43e410=>{const _0x50309b=_0x44e002;_0x414482['executeCommand'](_0x27c3df['UpdateMindMapIncomingConnectorOperation']['id'],{..._0x24e46c,'nodeId':_0x4b5b4e[_0x50309b(0x1f9)],'style':_0x43e410});},_0x4fd3d3=_0x3e5900(_0x4b5b4e[_0x44e002(0x360)]),_0x546b99=_0x2ac453=>_0x4fb8d4(_0x51dad9,_0x2ac453),_0x4efb3d=_0x681aec=>{_0x3a2b08(_0x414482,_0x681aec);},_0x12f678=(_0x2079f9==null?void 0x0:_0x2079f9[_0x44e002(0x4c7)])??{},_0x52bdbd=_0x5d00dd(_0x2079f9),_0x1e71ff=_0x3594c2=>{_0xfc11a7(_0x3594c2,_0x4c3c49=>{const _0x29d9df=_0x4e16;_0x40af7a(_0x8aefca=>_0xe089de(_0x8aefca,_0x3594c2,_0x4c3c49[_0x29d9df(0x239)])),_0x5e3dff(_0x4c3c49);});},_0x5a436c=[{'label':_0x43a30f['t'](_0x44e002(0x378)),'value':_0xd2d24[_0x44e002(0x17c)][_0x44e002(0x420)],'icon':(0x0,_0x54cfef[_0x44e002(0x298)])(_0x5a354e,{})},{'label':_0x43a30f['t'](_0x44e002(0x2c2)),'value':_0xd2d24[_0x44e002(0x17c)][_0x44e002(0x223)],'icon':(0x0,_0x54cfef[_0x44e002(0x298)])(_0x3cef63,{})},{'label':_0x43a30f['t'](_0x44e002(0x55b)),'value':_0xd2d24[_0x44e002(0x17c)][_0x44e002(0x1c5)],'icon':(0x0,_0x54cfef[_0x44e002(0x298)])(_0x565528,{})},{'label':_0x43a30f['t']('boards-mind-ui.alignJustify'),'value':_0xd2d24[_0x44e002(0x17c)][_0x44e002(0x435)],'icon':(0x0,_0x54cfef['jsx'])(_0x141035,{})}],_0x1ce01a=[{'label':_0x43a30f['t']('boards-mind-ui.alignTop'),'value':_0xd2d24[_0x44e002(0x408)][_0x44e002(0x452)],'icon':(0x0,_0x54cfef[_0x44e002(0x298)])(_0x12781e,{})},{'label':_0x43a30f['t'](_0x44e002(0x53d)),'value':_0xd2d24['VerticalAlign'][_0x44e002(0x176)],'icon':(0x0,_0x54cfef[_0x44e002(0x298)])(_0x3d05b6,{})},{'label':_0x43a30f['t'](_0x44e002(0x231)),'value':_0xd2d24[_0x44e002(0x408)][_0x44e002(0x196)],'icon':(0x0,_0x54cfef[_0x44e002(0x298)])(_0x5a8cd9,{})}],_0x5b2b18=()=>{const _0x512b83=_0x44e002;_0x4efb3d(_0x512b83(0x538));},_0x17c228=()=>{const _0x2f1354=_0x44e002;_0x4efb3d(_0x2f1354(0x2c8));},_0xcd09f2=()=>{const _0x381904=_0x44e002;_0x4efb3d(_0x381904(0x3de));},_0x27fa5a=()=>{_0x4efb3d('paste');},_0x577e9a=()=>{const _0x2d0baf=_0x44e002;_0x4efb3d(_0x2d0baf(0x4b7));},_0x129e76=((_0x421fc5=_0x4b5b4e[_0x44e002(0x52b)])==null?void 0x0:_0x421fc5[_0x44e002(0x2e7)])??_0x27c3df[_0x44e002(0x51e)][_0x44e002(0x2e7)],_0x2118f2=(0x0,_0x27c3df[_0x44e002(0x523)])(_0x129e76,((_0x342aac=_0x4b5b4e[_0x44e002(0x52b)])==null?void 0x0:_0x342aac[_0x44e002(0x39e)])??_0x27c3df[_0x44e002(0x51e)][_0x44e002(0x39e)]),_0x4a275a=_0x7397c4=>{const _0x32d5e3=_0x44e002;let _0x346763=(0x0,_0x27c3df[_0x32d5e3(0x523)])(_0x7397c4,_0x2118f2);_0x13adf6(_0x414482,_0xd49cd[_0x32d5e3(0x31e)](_0x4b5b4e[_0x32d5e3(0x560)]),{..._0x24e46c,'scopeId':_0x4b5b4e[_0x32d5e3(0x2e5)],'structureKind':_0x7397c4,..._0x346763===_0x2118f2?null:{'branchLineType':_0x346763}}),_0x128e0d(null);},_0x3f6161=_0x4638c9=>{const _0x50e23f=_0x44e002;_0x2e5d3d(_0x414482,_0xd49cd['createRunner'](_0x4b5b4e[_0x50e23f(0x560)]),{..._0x24e46c,'scopeId':_0x4b5b4e[_0x50e23f(0x2e5)],'branchLineType':_0x4638c9}),_0x128e0d(null);},_0x2c7b40=(_0x32544c,_0xb1be23,_0x57a601,_0x2eccf7=!0x1)=>(0x0,_0x54cfef['jsx'])(_0x44e002(0x3c4),{'type':_0x44e002(0x3c4),'aria-label':_0x43a30f['t'](_0x32544c['labelKey']),'disabled':_0x2eccf7,'className':(0x0,_0x7217a3[_0x44e002(0x194)])('univer-flex\x20univer-h-12\x20univer-min-w-0\x20univer-items-center\x20univer-justify-center\x20univer-rounded-lg\x20univer-border-0\x20univer-bg-transparent\x20univer-p-0\x20univer-text-gray-900\x20univer-outline-none\x20univer-transition-colors\x20hover:univer-bg-gray-0',_0xb1be23&&_0x44e002(0x465),_0x2eccf7&&_0x44e002(0x446)),'onMouseDown':_0x5498e0,'onPointerDown':_0x5498e0,'onClick':_0x1f7919=>{const _0x10a2be=_0x44e002;_0x1f7919[_0x10a2be(0x29c)](),!_0x2eccf7&&_0x57a601();},'children':(0x0,_0x54cfef['jsx'])(_0x362d64,{'icon':_0x32544c[_0x44e002(0x525)]})},_0x32544c[_0x44e002(0x50d)]),_0x494ebf=()=>(0x0,_0x54cfef['jsxs'])('div',{'className':_0x44e002(0x216),'onMouseDown':_0x4de850=>_0x4de850['stopPropagation'](),'onPointerDown':_0x151651=>_0x151651[_0x44e002(0x29c)](),'children':[_0x1647cb[_0x44e002(0x4d4)](_0x269400=>(0x0,_0x54cfef[_0x44e002(0x36c)])('div',{'className':_0x44e002(0x2db),'children':[(0x0,_0x54cfef[_0x44e002(0x298)])(_0x44e002(0x3fc),{'className':'univer-mb-2\x20univer-text-lg\x20univer-text-gray-900','children':_0x269400[_0x44e002(0x25a)]}),(0x0,_0x54cfef[_0x44e002(0x298)])(_0x44e002(0x3fc),{'className':_0x44e002(0x2d4),'style':{'gridTemplateColumns':_0x44e002(0x39c)+_0x269400[_0x44e002(0x456)][_0x44e002(0x2ce)]+_0x44e002(0x2fb)},'children':_0x269400[_0x44e002(0x456)][_0x44e002(0x4d4)](_0x213a35=>_0x2c7b40(_0x213a35,_0x213a35[_0x44e002(0x50d)]===_0x129e76,()=>_0x4a275a(_0x213a35['value'])))})]},_0x269400[_0x44e002(0x2ef)])),(0x0,_0x54cfef['jsx'])(_0x7217a3[_0x44e002(0x380)],{}),(0x0,_0x54cfef[_0x44e002(0x36c)])(_0x44e002(0x3fc),{'className':_0x44e002(0x4e7),'children':[(0x0,_0x54cfef[_0x44e002(0x298)])(_0x44e002(0x3fc),{'className':'univer-mb-2\x20univer-text-lg\x20univer-text-gray-900','children':_0x601259[_0x44e002(0x25a)]}),(0x0,_0x54cfef['jsx'])(_0x44e002(0x3fc),{'className':_0x44e002(0x2d4),'style':{'gridTemplateColumns':_0x44e002(0x39c)+_0x601259[_0x44e002(0x456)]['length']+_0x44e002(0x2fb)},'children':_0x601259[_0x44e002(0x456)][_0x44e002(0x4d4)](_0x1a5a48=>_0x2c7b40(_0x1a5a48,_0x1a5a48[_0x44e002(0x50d)]===_0x2118f2,()=>_0x3f6161(_0x1a5a48[_0x44e002(0x50d)]),_0x1a5a48['value']===_0x44e002(0x3a8)&&!(0x0,_0x27c3df[_0x44e002(0x2c4)])(_0x129e76)))})]})]}),_0x4ccedd=_0x281083=>{const _0x4d0342=_0x44e002;switch(_0x281083){case _0x4d0342(0x38f):return(0x0,_0x54cfef[_0x4d0342(0x298)])(_0x514536[_0x4d0342(0x558)],{'title':_0x43a30f['t'](_0x4d0342(0x331)),'shapeData':_0x4fd3d3,'modeOptions':[_0x4d0342(0x29d),_0x4d0342(0x242),'dot'],'showDashDropdown':!0x1,'widthRange':{'min':_0x4b1065[_0x4d0342(0x3ba)],'max':_0x4b1065[_0x4d0342(0x336)],'step':0x1},'onUpdateShapeData':(_0x192161,_0x585a32)=>{_0x3b8bd8(_0x585a32,_0x169177);}});case _0x4d0342(0x391):return(0x0,_0x54cfef[_0x4d0342(0x298)])(_0x514536[_0x4d0342(0x2c1)],{'title':_0x43a30f['t']('boards-mind-ui.toolbar.panel.more'),'minWidthClassName':_0x4d0342(0x47c),'children':(0x0,_0x54cfef[_0x4d0342(0x36c)])('div',{'className':_0x4d0342(0x491),'children':[(0x0,_0x54cfef[_0x4d0342(0x298)])(_0x514536['ShapeFloatingToolbarMenuItem'],{'label':_0x43a30f['t'](_0x4d0342(0x3e1)),'shortcut':_0x546b99(_0x5b9551[_0x4d0342(0x24f)]),'onClick':_0x5b2b18}),(0x0,_0x54cfef[_0x4d0342(0x298)])(_0x514536[_0x4d0342(0x2bd)],{'label':_0x43a30f['t'](_0x4d0342(0x53a)),'shortcut':_0x546b99(_0x5b9551[_0x4d0342(0x337)]),'onClick':_0x17c228}),(0x0,_0x54cfef[_0x4d0342(0x298)])(_0x7217a3[_0x4d0342(0x380)],{}),(0x0,_0x54cfef['jsx'])(_0x514536['ShapeFloatingToolbarMenuItem'],{'label':_0x43a30f['t'](_0x4d0342(0x3e9)),'shortcut':_0x546b99(_0x5b9551['copy']),'onClick':_0xcd09f2}),(0x0,_0x54cfef[_0x4d0342(0x298)])(_0x514536['ShapeFloatingToolbarMenuItem'],{'label':_0x43a30f['t'](_0x4d0342(0x4fb)),'shortcut':_0x546b99(_0x5b9551[_0x4d0342(0x1c0)]),'onClick':_0x27fa5a}),(0x0,_0x54cfef[_0x4d0342(0x298)])(_0x514536[_0x4d0342(0x2bd)],{'label':_0x43a30f['t']('boards-mind-ui.toolbar.action.delete'),'shortcut':_0x546b99(_0x5b9551[_0x4d0342(0x4b7)]),'onClick':_0x577e9a})]})});default:return null;}},_0x2d665c=_0x121c67[_0x44e002(0x3a0)](_0x58a37e=>{const _0x34815e=_0x44e002;let _0x4604b2=[];if(_0x58a37e[_0x34815e(0x19c)]&&_0x4604b2['push']((0x0,_0x54cfef[_0x34815e(0x298)])(_0x7217a3[_0x34815e(0x380)],{'orientation':'vertical'},_0x34815e(0x423)+_0x58a37e[_0x34815e(0x466)])),_0x58a37e[_0x34815e(0x466)]===_0x34815e(0x502))return _0x4604b2[_0x34815e(0x48a)]((0x0,_0x54cfef['jsx'])(_0x514536[_0x34815e(0x2aa)],{'title':_0x43a30f['t'](_0x34815e(0x319)),'fontFamily':_0x52bdbd[_0x34815e(0x503)],'textStyle':{'isBold':_0x12f678['bold']===!0x0,'isItalic':_0x12f678[_0x34815e(0x1f7)]===!0x0,'isUnderline':_0x12f678[_0x34815e(0x410)]===!0x0,'isStrike':_0x12f678[_0x34815e(0x281)]===!0x0},'horizontalAlign':_0x52bdbd[_0x34815e(0x166)],'verticalAlign':_0x52bdbd['verticalAlign'],'horizontalAlignOptions':_0x5a436c,'verticalAlignOptions':_0x1ce01a,'onUpdateText':_0x1e71ff},_0x58a37e['kind'])),_0x4604b2;if(_0x58a37e[_0x34815e(0x466)]===_0x34815e(0x50c)){let _0x146383={'fs':_0x52bdbd[_0x34815e(0x2ac)],'cl':{'rgb':_0x52bdbd[_0x34815e(0x17f)]},..._0x52bdbd[_0x34815e(0x31f)]===void 0x0?null:{'textFill':_0x52bdbd[_0x34815e(0x31f)]}};return _0x4604b2[_0x34815e(0x48a)]((0x0,_0x54cfef[_0x34815e(0x298)])(_0x514536[_0x34815e(0x548)],{'title':_0x43a30f['t'](_0x34815e(0x398)),'textStyle':_0x146383,'fallbackColor':_0x52bdbd[_0x34815e(0x17f)],'onChange':_0x438780=>_0x1e71ff({'textStyle':_0x438780})},_0x58a37e[_0x34815e(0x466)])),_0x4604b2[_0x34815e(0x48a)]((0x0,_0x54cfef[_0x34815e(0x298)])(_0x514536[_0x34815e(0x405)],{'value':String(_0x52bdbd[_0x34815e(0x2ac)]),'onChange':_0x52f536=>{_0x1e71ff({'textStyle':{'fs':_0x52f536}});}},_0x34815e(0x3eb))),_0x4604b2;}return _0x4604b2[_0x34815e(0x48a)]((0x0,_0x54cfef[_0x34815e(0x298)])(_0x7217a3['Dropdown'],{'open':_0x43c535===_0x58a37e[_0x34815e(0x1fc)],'overlay':_0x4ccedd(_0x58a37e[_0x34815e(0x1fc)]),'onOpenChange':_0x26fecf=>_0x128e0d(_0x26fecf?_0x58a37e['panel']:null),'children':(0x0,_0x54cfef[_0x34815e(0x298)])(_0x34815e(0x424),{'children':(0x0,_0x54cfef[_0x34815e(0x298)])(_0x514536[_0x34815e(0x1d2)],{'title':_0x43a30f['t'](_0x58a37e[_0x34815e(0x559)]),'active':_0x43c535===_0x58a37e[_0x34815e(0x1fc)],'icon':_0x492e21(_0x2399d9[_0x58a37e[_0x34815e(0x1fc)]]),'sizeClassName':'univer-h-7\x20univer-min-w-9\x20univer-w-auto\x20univer-gap-1\x20univer-px-1.5','onMouseDown':_0x5498e0,'onPointerDown':_0x5498e0})})},_0x58a37e[_0x34815e(0x1fc)])),_0x4604b2;}),_0x50fa7e=[..._0x4b5b4e[_0x44e002(0x49d)]?[(0x0,_0x54cfef[_0x44e002(0x298)])(_0x7217a3[_0x44e002(0x44f)],{'open':_0x43c535===_0x44e002(0x52b),'overlay':_0x494ebf(),'onOpenChange':_0x4b8ecf=>_0x128e0d(_0x4b8ecf?_0x44e002(0x52b):null),'children':(0x0,_0x54cfef[_0x44e002(0x298)])(_0x44e002(0x424),{'children':(0x0,_0x54cfef['jsx'])(_0x514536[_0x44e002(0x1d2)],{'title':_0x43a30f['t']('boards-mind-ui.toolbar.action.layout'),'active':_0x43c535===_0x44e002(0x52b),'icon':(0x0,_0x54cfef[_0x44e002(0x298)])(_0x5a55c8,{}),'sizeClassName':_0x44e002(0x27d),'onMouseDown':_0x5498e0,'onPointerDown':_0x5498e0})})},_0x44e002(0x48f)),(0x0,_0x54cfef[_0x44e002(0x298)])(_0x7217a3['Separator'],{'orientation':_0x44e002(0x3fd)},'layout-panel-divider')]:[],(0x0,_0x54cfef[_0x44e002(0x298)])(_0x514536[_0x44e002(0x335)],{'title':_0x43a30f['t'](_0x44e002(0x395)),'shapeData':_0x2079f9??{},'onUpdateShapeData':_0x30f9d5},_0x44e002(0x4b2)),(0x0,_0x54cfef[_0x44e002(0x298)])(_0x514536['ShapeStrokePanelButton'],{'title':_0x43a30f['t']('boards-mind-ui.toolbar.action.stroke'),'shapeData':_0x2079f9??{},'onUpdateShapeData':_0x30f9d5},_0x44e002(0x44a)),(0x0,_0x54cfef['jsx'])(_0x7217a3[_0x44e002(0x380)],{'orientation':_0x44e002(0x3fd)},_0x44e002(0x4c9))];return(0x0,_0x54cfef['jsxs'])(_0x514536[_0x44e002(0x376)],{'maxWidthClassName':_0x44e002(0x1d0),'onMouseDown':_0x576bd1=>_0x576bd1['stopPropagation'](),'children':[_0x50fa7e,_0x2d665c]});}function _0x466d5d(_0x431db1){let {left:_0x32ffd6,top:_0xe5741a,width:_0x3a07fe,height:_0xf9c1a}=_0x431db1;return{'left':_0x32ffd6,'right':_0x32ffd6+_0x3a07fe,'top':_0xe5741a-0x38,'bottom':_0xe5741a+_0xf9c1a};}let _0x26376f=class extends _0xd2d24[_0x5b4e73(0x260)]{constructor(_0x50cac2,_0x51fcfc,_0x20ac0c,_0x34210c,_0xbe12a1,_0x417855){const _0x5d9588=_0x5b4e73;super(),this[_0x5d9588(0x4ec)]=_0x50cac2,this[_0x5d9588(0x474)]=_0x51fcfc,this[_0x5d9588(0x4de)]=_0x20ac0c,this[_0x5d9588(0x42f)]=_0x34210c,this[_0x5d9588(0x4e2)]=_0xbe12a1,this[_0x5d9588(0x56e)]=_0x417855,_0x5ac814(this,_0x5d9588(0x171),null),_0x5ac814(this,'_popupSelectionKey',null),this[_0x5d9588(0x1f6)]();}[_0x5b4e73(0x1a9)](){const _0x222759=_0x5b4e73;this[_0x222759(0x4a9)](),super[_0x222759(0x1a9)]();}[_0x5b4e73(0x1f6)](){const _0x530fa8=_0x5b4e73;let _0x4bc54b=this[_0x530fa8(0x4ec)][_0x530fa8(0x397)][_0x530fa8(0x310)]();this[_0x530fa8(0x19b)]((0x0,_0xd2d24[_0x530fa8(0x181)])(_0x4bc54b[_0x530fa8(0x52a)][_0x530fa8(0x3b0)]((0x0,_0x54b023[_0x530fa8(0x33b)])(this[_0x530fa8(0x1d6)]))[_0x530fa8(0x187)](()=>this[_0x530fa8(0x4b6)]()))),this[_0x530fa8(0x19b)]((0x0,_0xd2d24[_0x530fa8(0x181)])(_0x4bc54b[_0x530fa8(0x377)][_0x530fa8(0x3b0)]((0x0,_0x54b023['takeUntil'])(this[_0x530fa8(0x1d6)]))[_0x530fa8(0x187)](()=>this[_0x530fa8(0x509)]()))),this[_0x530fa8(0x19b)]((0x0,_0xd2d24['toDisposable'])(_0x4bc54b[_0x530fa8(0x2e6)][_0x530fa8(0x3b0)]((0x0,_0x54b023[_0x530fa8(0x33b)])(this['dispose$']))[_0x530fa8(0x187)](()=>this[_0x530fa8(0x4a9)]()))),this[_0x530fa8(0x19b)]((0x0,_0xd2d24[_0x530fa8(0x181)])(_0x4bc54b['changeEnd$'][_0x530fa8(0x3b0)]((0x0,_0x54b023[_0x530fa8(0x33b)])(this[_0x530fa8(0x1d6)]))[_0x530fa8(0x187)](()=>setTimeout(()=>this[_0x530fa8(0x4b6)](),0x0)))),this['disposeWithMe']((0x0,_0xd2d24[_0x530fa8(0x181)])(this[_0x530fa8(0x42f)][_0x530fa8(0x3ed)][_0x530fa8(0x3b0)]((0x0,_0x54b023[_0x530fa8(0x33b)])(this[_0x530fa8(0x1d6)]))['subscribe'](()=>setTimeout(()=>this[_0x530fa8(0x4b6)](),0x0)))),this[_0x530fa8(0x19b)]((0x0,_0xd2d24[_0x530fa8(0x181)])(this[_0x530fa8(0x56e)][_0x530fa8(0x18a)][_0x530fa8(0x3b0)]((0x0,_0x54b023[_0x530fa8(0x33b)])(this[_0x530fa8(0x1d6)]))[_0x530fa8(0x187)](_0x1c410a=>{const _0xedbbdb=_0x530fa8;if(_0x1c410a){this[_0xedbbdb(0x4a9)]();return;}setTimeout(()=>this[_0xedbbdb(0x4b6)](),0x0);}))),this['disposeWithMe']((0x0,_0xd2d24[_0x530fa8(0x181)])(this[_0x530fa8(0x4e2)][_0x530fa8(0x440)][_0x530fa8(0x3b0)]((0x0,_0x54b023[_0x530fa8(0x33b)])(this[_0x530fa8(0x1d6)]))['subscribe'](_0x16fe51=>{const _0x65f7be=_0x530fa8;if((_0x16fe51==null?void 0x0:_0x16fe51['unitId'])===this['_renderContext'][_0x65f7be(0x560)]){if(_0x16fe51[_0x65f7be(0x248)]){this[_0x65f7be(0x4a9)]();return;}setTimeout(()=>this[_0x65f7be(0x4b6)](),0x0);}})));}[_0x5b4e73(0x4a9)](){const _0x1f0ecf=_0x5b4e73;var _0x25045a;(_0x25045a=this['_popupDisposable'])==null||_0x25045a['dispose'](),this[_0x1f0ecf(0x171)]=null,this[_0x1f0ecf(0x21d)]=null;}[_0x5b4e73(0x509)](){setTimeout(()=>{const _0x3b2920=_0x4e16;this[_0x3b2920(0x40e)]()||this[_0x3b2920(0x4a9)]();},0x0);}['_isPopupSelectionStillActive'](){const _0x1d5b71=_0x5b4e73;let _0x4e235c=this['_elementStateService'][_0x1d5b71(0x54d)]();return!!_0x4e235c['context']&&_0x4e235c[_0x1d5b71(0x179)][_0x1d5b71(0x2ce)]>0x0&&this[_0x1d5b71(0x21d)]===this[_0x1d5b71(0x3f3)](_0x4e235c[_0x1d5b71(0x252)][_0x1d5b71(0x560)],_0x4e235c[_0x1d5b71(0x252)][_0x1d5b71(0x1a0)],_0x4e235c[_0x1d5b71(0x179)]);}[_0x5b4e73(0x3f3)](_0x28f9ba,_0x5593d8,_0x533160){return _0x28f9ba+':'+_0x5593d8+':'+_0x533160['join'](',');}['_resolveIncomingConnectorStyle'](_0x37bb47,_0x34ff99,_0x25f0da,_0x50e829){const _0x8ca955=_0x5b4e73;let _0x533c33=this[_0x8ca955(0x4de)][_0x8ca955(0x544)](_0x37bb47,_0x34ff99),_0x494abb=Object[_0x8ca955(0x4fd)](_0x533c33)['find'](_0x9be403=>{const _0x136ea6=_0x8ca955;let _0xdd4a4d=(0x0,_0x27c3df[_0x136ea6(0x275)])(_0x9be403['element']);return(_0xdd4a4d==null?void 0x0:_0xdd4a4d[_0x136ea6(0x483)])===_0x25f0da&&_0xdd4a4d[_0x136ea6(0x25f)]===_0x50e829;});if(_0x494abb&&'connectorData'in _0x494abb[_0x8ca955(0x2dc)])return _0x494abb[_0x8ca955(0x2dc)]['connectorData'][_0x8ca955(0x472)];}['_showPopupForSelection'](){const _0x3bb8eb=_0x5b4e73;var _0x47c6e7,_0x4b7b47,_0x4317cd;if(this[_0x3bb8eb(0x56e)][_0x3bb8eb(0x454)]){this[_0x3bb8eb(0x4a9)]();return;}let _0x13c4d5=this[_0x3bb8eb(0x4e2)][_0x3bb8eb(0x18f)]();if((_0x13c4d5==null?void 0x0:_0x13c4d5[_0x3bb8eb(0x248)])===!0x0&&_0x13c4d5[_0x3bb8eb(0x560)]===this[_0x3bb8eb(0x4ec)][_0x3bb8eb(0x560)]){this[_0x3bb8eb(0x4a9)]();return;}let _0x44e24e=this['_elementStateService'][_0x3bb8eb(0x54d)]();if(_0x44e24e[_0x3bb8eb(0x222)]){this[_0x3bb8eb(0x4a9)]();return;}if((0x0,_0x13e20e['resolveBoardFloatingToolbarSelection'])({'context':_0x44e24e[_0x3bb8eb(0x252)],'selectedIds':_0x44e24e[_0x3bb8eb(0x179)],'getElementById':(_0x27330f,_0x269803,_0x5a9f43)=>this[_0x3bb8eb(0x4de)][_0x3bb8eb(0x2af)](_0x27330f,_0x269803,_0x5a9f43)})[_0x3bb8eb(0x317)]!==_0x3bb8eb(0x2ed)){this[_0x3bb8eb(0x4a9)]();return;}let _0x4dc7d6=this[_0x3bb8eb(0x4ec)]['scene'][_0x3bb8eb(0x310)]()[_0x3bb8eb(0x2f0)](),_0x254c91=Array[_0x3bb8eb(0x55a)](_0x4dc7d6[_0x3bb8eb(0x4fd)]())['map'](_0x1c8276=>this[_0x3bb8eb(0x1da)](_0x1c8276))[_0x3bb8eb(0x4c1)](_0xfb2fc4=>!!_0xfb2fc4)[_0x3bb8eb(0x4c1)](_0x4f0357=>!!(0x0,_0x27c3df[_0x3bb8eb(0x429)])(_0x4f0357[_0x3bb8eb(0x2a4)][_0x3bb8eb(0x2dc)])),_0x3fe4d1=_0x254c91[_0x3bb8eb(0x45e)](_0x2e4778=>_0x2e4778[_0x3bb8eb(0x2a4)][_0x3bb8eb(0x1f9)]===_0x44e24e[_0x3bb8eb(0x54f)])??_0x254c91[0x0]??this['_resolveSelectedMindMapEntryFromState']();if(!_0x3fe4d1){this[_0x3bb8eb(0x4a9)]();return;}let _0x441bd9=(0x0,_0x27c3df[_0x3bb8eb(0x429)])(_0x3fe4d1[_0x3bb8eb(0x2a4)][_0x3bb8eb(0x2dc)]);if(!_0x441bd9){this['_clearPopup']();return;}let _0x29103e=(_0x47c6e7=this[_0x3bb8eb(0x4de)][_0x3bb8eb(0x544)](_0x3fe4d1['elementData'][_0x3bb8eb(0x560)],_0x3fe4d1['elementData'][_0x3bb8eb(0x1a0)])[_0x441bd9[_0x3bb8eb(0x483)]])==null?void 0x0:_0x47c6e7['element'],_0x48b9cf=(0x0,_0x27c3df['getMindMapContainerMeta'])(_0x29103e),_0x6efc74=_0x29103e==null||(_0x4b7b47=_0x29103e[_0x3bb8eb(0x496)])==null||(_0x4b7b47=_0x4b7b47[_0x3bb8eb(0x4f5)])==null||(_0x4b7b47=_0x4b7b47[_0x3bb8eb(0x52b)])==null?void 0x0:_0x4b7b47[_0x3bb8eb(0x2e7)],_0x3070a8=((_0x48b9cf==null?void 0x0:_0x48b9cf[_0x3bb8eb(0x52b)][_0x3bb8eb(0x2e7)])??_0x6efc74)===_0x3bb8eb(0x2a2)&&(_0x441bd9[_0x3bb8eb(0x279)]===null||_0x441bd9[_0x3bb8eb(0x2ff)]===_0x3bb8eb(0x50b)),_0x464e45=_0x441bd9['parentNodeId']!==null&&_0x441bd9[_0x3bb8eb(0x2ff)]!==_0x3bb8eb(0x50b)&&_0x441bd9['side']!==_0x3bb8eb(0x4ac),_0x15bf2f=_0x3070a8||_0x464e45,_0x58da8a=((_0x4317cd=_0x44e24e['context'])==null?void 0x0:_0x4317cd[_0x3bb8eb(0x560)])===_0x3fe4d1[_0x3bb8eb(0x2a4)]['unitId']&&_0x44e24e[_0x3bb8eb(0x252)]['subUnitId']===_0x3fe4d1[_0x3bb8eb(0x2a4)][_0x3bb8eb(0x1a0)]&&_0x44e24e[_0x3bb8eb(0x179)][_0x3bb8eb(0x2ce)]?_0x44e24e[_0x3bb8eb(0x179)]:[_0x3fe4d1[_0x3bb8eb(0x2a4)][_0x3bb8eb(0x1f9)]],_0x12b8cd=this[_0x3bb8eb(0x3f3)](_0x3fe4d1['elementData']['unitId'],_0x3fe4d1['elementData']['subUnitId'],_0x58da8a);this[_0x3bb8eb(0x171)]&&this[_0x3bb8eb(0x21d)]===_0x12b8cd||(this[_0x3bb8eb(0x4a9)](),this[_0x3bb8eb(0x171)]=this[_0x3bb8eb(0x19b)](this[_0x3bb8eb(0x474)][_0x3bb8eb(0x415)](_0x3fe4d1[_0x3bb8eb(0x2a4)][_0x3bb8eb(0x560)],_0x3fe4d1['elementData'][_0x3bb8eb(0x1a0)],_0x3fe4d1[_0x3bb8eb(0x308)],{'componentKey':_0xa86b1b,'direction':_0x3bb8eb(0x40a),'offset':[0x0,0x8],..._0x15bf2f?{'anchorBoundResolver':_0x466d5d}:null,'extraProps':{'unitId':_0x3fe4d1[_0x3bb8eb(0x2a4)][_0x3bb8eb(0x560)],'subUnitId':_0x3fe4d1[_0x3bb8eb(0x2a4)][_0x3bb8eb(0x1a0)],'elementId':_0x3fe4d1[_0x3bb8eb(0x2a4)]['elementId'],'scopeId':_0x441bd9[_0x3bb8eb(0x483)],'isRootNode':_0x441bd9['parentNodeId']===null,'left':_0x3fe4d1[_0x3bb8eb(0x2a4)][_0x3bb8eb(0x2dc)]['transform'][_0x3bb8eb(0x469)]??0x0,'top':_0x3fe4d1[_0x3bb8eb(0x2a4)][_0x3bb8eb(0x2dc)][_0x3bb8eb(0x1d5)][_0x3bb8eb(0x50b)]??0x0,'shapeData':_0x3fe4d1['elementData']['element'][_0x3bb8eb(0x46e)]===_0x38c4c0[_0x3bb8eb(0x451)][_0x3bb8eb(0x453)]?_0x3fe4d1[_0x3bb8eb(0x2a4)][_0x3bb8eb(0x2dc)][_0x3bb8eb(0x4bb)]:void 0x0,'layout':_0x48b9cf==null?void 0x0:_0x48b9cf[_0x3bb8eb(0x52b)],'incomingConnectorStyle':this[_0x3bb8eb(0x32f)](_0x3fe4d1[_0x3bb8eb(0x2a4)][_0x3bb8eb(0x560)],_0x3fe4d1[_0x3bb8eb(0x2a4)][_0x3bb8eb(0x1a0)],_0x441bd9['structureScopeId'],_0x3fe4d1[_0x3bb8eb(0x2a4)][_0x3bb8eb(0x1f9)])}})),this['_popupSelectionKey']=_0x12b8cd);}[_0x5b4e73(0x267)](){const _0x5a877a=_0x5b4e73;var _0x47494a;let _0xaa69d2=this[_0x5a877a(0x42f)][_0x5a877a(0x54d)](),_0x56a948=_0xaa69d2[_0x5a877a(0x252)],_0x3224a5=_0xaa69d2[_0x5a877a(0x54f)]??_0xaa69d2[_0x5a877a(0x179)][0x0];if(!_0x56a948||!_0x3224a5)return null;let _0x3b726c=this['_boardElementService'][_0x5a877a(0x2af)](_0x56a948[_0x5a877a(0x560)],_0x56a948[_0x5a877a(0x1a0)],_0x3224a5);if(!_0x3b726c||!(0x0,_0x27c3df[_0x5a877a(0x429)])(_0x3b726c[_0x5a877a(0x2dc)]))return null;let _0x515f4c=(0x0,_0x13e20e[_0x5a877a(0x3e8)])(_0x56a948[_0x5a877a(0x560)],_0x3224a5),_0x5752fd=this['_renderContext'][_0x5a877a(0x397)],_0x38a607=((_0x47494a=_0x5752fd[_0x5a877a(0x31d)])==null?void 0x0:_0x47494a[_0x5a877a(0x402)](_0x5752fd,_0x515f4c))??this[_0x5a877a(0x4ec)][_0x5a877a(0x397)]['getObject'](_0x515f4c);return _0x38a607?{'object':_0x38a607,'elementData':_0x3b726c}:null;}[_0x5b4e73(0x1da)](_0x5417ab){const _0x504516=_0x5b4e73;var _0x21a20b;if(!_0x5417ab)return null;let _0x371efc=(0x0,_0x13e20e['parseBoardElementRenderObjectKey'])(_0x5417ab[_0x504516(0x22a)]);if(!_0x371efc)return null;let _0x14f382=this[_0x504516(0x42f)][_0x504516(0x54d)](),_0x2c3bb7=((_0x21a20b=_0x14f382[_0x504516(0x252)])==null?void 0x0:_0x21a20b[_0x504516(0x560)])===_0x371efc[_0x504516(0x560)]?_0x14f382[_0x504516(0x252)][_0x504516(0x1a0)]:void 0x0;if(!_0x2c3bb7)return null;let _0x1f98f4=this[_0x504516(0x4de)][_0x504516(0x2af)](_0x371efc['unitId'],_0x2c3bb7,_0x371efc[_0x504516(0x1f9)]);return _0x1f98f4?{'object':_0x5417ab,'elementData':_0x1f98f4}:null;}};_0x26376f=_0x2d6c5f([_0x1c54fc(0x1,(0x0,_0xd2d24['Inject'])(_0x13e20e[_0x5b4e73(0x385)])),_0x1c54fc(0x2,(0x0,_0xd2d24['Inject'])(_0x38c4c0['IBoardElementService'])),_0x1c54fc(0x3,(0x0,_0xd2d24[_0x5b4e73(0x165)])(_0x13e20e[_0x5b4e73(0x1ad)])),_0x1c54fc(0x4,(0x0,_0xd2d24[_0x5b4e73(0x165)])(_0x13e20e[_0x5b4e73(0x1db)])),_0x1c54fc(0x5,(0x0,_0xd2d24[_0x5b4e73(0x165)])(_0x13e20e[_0x5b4e73(0x44e)]))],_0x26376f);let _0x303689=_0x5b4e73(0x437),_0x58da48=_0x13e20e['BOARD_RENDER_LAYER_INDEX'][_0x5b4e73(0x53b)];function _0x36b061(_0x20f9b4,_0x16bc36){const _0x1dcf4d=_0x5b4e73;return(_0x20f9b4??[])[_0x1dcf4d(0x358)]((_0x166a87,_0x21f9ef)=>(_0x166a87[_0x21f9ef[_0x1dcf4d(0x2ff)]??_0x16bc36][_0x1dcf4d(0x48a)](_0x21f9ef),_0x166a87),{'left':[],'right':[],'top':[],'bottom':[]});}function _0x3c15e0(_0x46451a){const _0x3c9ec6=_0x5b4e73;return _0x46451a===_0x3c9ec6(0x521)||_0x46451a===_0x3c9ec6(0x202)||_0x46451a===_0x3c9ec6(0x40b);}function _0x4804e7(_0x1cdbb0){const _0x4f2e35=_0x5b4e73;return _0x1cdbb0==='timeline-horizontal'||_0x1cdbb0===_0x4f2e35(0x33c);}function _0x984df1(_0x1dc869,_0x23f0cb,_0x4d6a1d){const _0x596f99=_0x5b4e73;return _0x4d6a1d==='tree-left'?_0x596f99(0x469):_0x4d6a1d===_0x596f99(0x202)?_0x596f99(0x459):_0x1dc869[_0x596f99(0x2ff)]===_0x596f99(0x469)||_0x1dc869['side']==='right'?_0x1dc869[_0x596f99(0x2ff)]:_0x23f0cb%0x2==0x0?_0x596f99(0x469):'right';}function _0x47c133(_0x1890fc,_0x41ffa1){const _0x3f1336=_0x5b4e73;return(_0x41ffa1==null?void 0x0:_0x41ffa1[_0x3f1336(0x394)]['children'])??_0x1890fc??[];}var _0x510b32=class extends _0x2119db[_0x5b4e73(0x48c)]{constructor(_0x30e973=_0x303689,_0x29522b){const _0x55c929=_0x5b4e73;super(_0x30e973),_0x5ac814(this,_0x55c929(0x227),{'point':null,'children':[]}),this[_0x55c929(0x344)]=!0x1,this[_0x55c929(0x2b3)]=_0x13e20e[_0x55c929(0x3a2)][_0x55c929(0x4be)],this[_0x55c929(0x178)](_0x29522b);}[_0x5b4e73(0x178)](_0xa6becf){const _0x3083fb=_0x5b4e73;this[_0x3083fb(0x227)]={...this[_0x3083fb(0x227)],..._0xa6becf},this[_0x3083fb(0x227)][_0x3083fb(0x338)]?this[_0x3083fb(0x4b9)]():this[_0x3083fb(0x2ec)](),this[_0x3083fb(0x31a)](!0x0);}['isHit'](_0x4a0dbe){return!0x1;}[_0x5b4e73(0x42d)](_0x3f4cb0,_0x17c234){const _0x31de1f=_0x5b4e73;let _0x32d326=this[_0x31de1f(0x227)][_0x31de1f(0x338)];if(!_0x32d326||!this[_0x31de1f(0x248)])return this[_0x31de1f(0x31a)](!0x1),this;let _0x22d55a=Number[_0x31de1f(0x25b)](this[_0x31de1f(0x227)][_0x31de1f(0x245)])&&(this[_0x31de1f(0x227)]['zoomRatio']??0x0)>0x0?this['_state']['zoomRatio']:0x1,_0x1a163c=_0x27c3df[_0x31de1f(0x241)][_0x31de1f(0x390)],_0x554218=_0x27c3df[_0x31de1f(0x241)][_0x31de1f(0x3b7)],_0x239f07=_0x27c3df[_0x31de1f(0x241)]['nodeWidth'],_0x1c6003=_0x27c3df[_0x31de1f(0x241)][_0x31de1f(0x217)],_0x5c323d=_0x27c3df[_0x31de1f(0x51e)][_0x31de1f(0x388)],_0x409c10=_0x27c3df[_0x31de1f(0x51e)][_0x31de1f(0x366)],_0x12b049=this[_0x31de1f(0x227)][_0x31de1f(0x2e7)]===_0x31de1f(0x2a2),_0x3286ba=_0x36b061(this[_0x31de1f(0x227)][_0x31de1f(0x535)],_0x12b049?_0x31de1f(0x4ac):_0x31de1f(0x459)),_0x537762=_0x32d326['x']-_0x1a163c/0x2,_0x1ca477=_0x32d326['y']-_0x554218/0x2;if(_0x3f4cb0[_0x31de1f(0x34c)](),_0x3f4cb0[_0x31de1f(0x540)]=_0x19a022['objectAlpha'],_0x3f4cb0[_0x31de1f(0x4c0)]=_0x19a022['lineWidthScreen']/_0x22d55a,_0x3f4cb0['strokeStyle']=_0x19a022[_0x31de1f(0x3d6)],_0x4804e7(this[_0x31de1f(0x227)]['structureKind'])){let _0x3d423e=_0x47c133(this[_0x31de1f(0x227)][_0x31de1f(0x535)],this[_0x31de1f(0x227)][_0x31de1f(0x1b9)]),_0x1207d3=this['_state'][_0x31de1f(0x2e7)]===_0x31de1f(0x30f);if(_0x3d423e[_0x31de1f(0x2ce)]>0x0){if(_0x3f4cb0[_0x31de1f(0x4e1)](),_0x1207d3){let _0x49e9f8=_0x239f07,_0x52957b=_0x1c6003,_0x4d7b49=_0x27c3df[_0x31de1f(0x51e)]['timelineAxisGap'],_0x161966=_0x32d326['y'],_0x3ed45f=_0x537762+_0x1a163c,_0x50c46a=_0x32d326['y']-_0x52957b/0x2,_0xba8364=_0x537762+_0x1a163c+_0x4d7b49;_0x3f4cb0[_0x31de1f(0x262)](_0x3ed45f,_0x161966),_0x3f4cb0[_0x31de1f(0x1af)](_0xba8364,_0x161966),_0x3d423e[_0x31de1f(0x2de)]((_0x9b3cdc,_0x26520d)=>{const _0xe99d4d=_0x31de1f;let _0x1f3220=_0xba8364+_0x26520d*(_0x49e9f8+_0x4d7b49);if(_0x26520d>0x0){let _0x2d2eac=_0xba8364+(_0x26520d-0x1)*(_0x49e9f8+_0x4d7b49)+_0x49e9f8;_0x3f4cb0[_0xe99d4d(0x262)](_0x2d2eac,_0x161966),_0x3f4cb0[_0xe99d4d(0x1af)](_0x1f3220,_0x161966);}_0x3f4cb0['moveTo'](_0x1f3220,_0x161966),_0x3f4cb0[_0xe99d4d(0x1af)](_0x1f3220+_0x49e9f8,_0x161966);}),_0x3f4cb0[_0x31de1f(0x209)](),_0x3d423e[_0x31de1f(0x2de)]((_0x24752a,_0xbf73b)=>{const _0x222368=_0x31de1f;_0x6f517f(_0x3f4cb0,_0xba8364+_0xbf73b*(_0x49e9f8+_0x4d7b49),_0x50c46a,_0x49e9f8,_0x52957b,_0x19a022['ghostRadius']),_0x3f4cb0[_0x222368(0x2d7)]=_0x19a022[_0x222368(0x406)],_0x3f4cb0[_0x222368(0x190)](),_0x3f4cb0[_0x222368(0x209)]();}),_0x3d423e[_0x31de1f(0x2de)]((_0x5d0600,_0x43da9e)=>{const _0x29a157=_0x31de1f;if(!(_0x29a157(0x535)in _0x5d0600)||_0x5d0600[_0x29a157(0x535)][_0x29a157(0x2ce)]===0x0)return;let _0xffeaca=_0xba8364+_0x43da9e*(_0x49e9f8+_0x4d7b49),_0x8c8937=_0xffeaca+_0x49e9f8/0x2,_0x95696c=_0x5d0600['side']===_0x29a157(0x4ac)?_0x29a157(0x4ac):_0x29a157(0x50b),_0x3f872c=_0x5d0600[_0x29a157(0x535)]['slice'](0x0,0x2),_0x258033=_0x3f872c[_0x29a157(0x2ce)]*_0x52957b+Math[_0x29a157(0x336)](0x0,_0x3f872c[_0x29a157(0x2ce)]-0x1)*_0x409c10,_0x13fa9e=_0xffeaca+_0x49e9f8+_0x27c3df[_0x29a157(0x51e)][_0x29a157(0x20d)],_0x524db2=_0x95696c===_0x29a157(0x50b)?_0x50c46a-_0x5c323d-_0x258033:_0x50c46a+_0x52957b+_0x5c323d,_0x236173=_0x524db2+_0x258033/0x2;_0x3f4cb0['beginPath'](),_0x3f4cb0[_0x29a157(0x262)](_0x8c8937,_0x95696c===_0x29a157(0x50b)?_0x50c46a:_0x50c46a+_0x52957b),_0x3f4cb0[_0x29a157(0x1af)](_0x8c8937,_0x236173),_0x3f4cb0['lineTo'](_0x13fa9e,_0x236173),_0x3f872c[_0x29a157(0x2de)]((_0x21798c,_0x48ff48)=>{const _0x2bf8e5=_0x29a157;let _0x152f1e=_0x524db2+_0x48ff48*(_0x52957b+_0x409c10)+_0x52957b/0x2;_0x3f4cb0[_0x2bf8e5(0x262)](_0x13fa9e,_0x152f1e),_0x3f4cb0[_0x2bf8e5(0x1af)](_0x13fa9e+_0x49e9f8,_0x152f1e);}),_0x3f4cb0[_0x29a157(0x209)](),_0x3f872c['forEach']((_0x4d79a7,_0x1c3b27)=>{const _0x1e3d2e=_0x29a157;let _0x5afc76=_0x524db2+_0x1c3b27*(_0x52957b+_0x409c10);_0x6f517f(_0x3f4cb0,_0x13fa9e,_0x5afc76,_0x49e9f8,_0x52957b,_0x19a022[_0x1e3d2e(0x1bc)]),_0x3f4cb0[_0x1e3d2e(0x2d7)]=_0x19a022[_0x1e3d2e(0x406)],_0x3f4cb0[_0x1e3d2e(0x190)](),_0x3f4cb0[_0x1e3d2e(0x209)]();});});}else{let _0x137fb3=_0x32d326['x'],_0xc8d9d5=_0x1ca477+_0x554218,_0x5b5063=_0x27c3df['MIND_MAP_DEFAULT_LAYOUT'][_0x31de1f(0x1d3)],_0xcb70bb=_0x1ca477+_0x554218+_0x5b5063,_0x177f63=_0xcb70bb+(_0x3d423e[_0x31de1f(0x2ce)]-0x1)*(_0x1c6003+_0x5b5063)+_0x1c6003/0x2;_0x3f4cb0[_0x31de1f(0x262)](_0x137fb3,_0xc8d9d5),_0x3f4cb0[_0x31de1f(0x1af)](_0x137fb3,_0x177f63),_0x3d423e[_0x31de1f(0x2de)]((_0x7dc4cf,_0x1aa430)=>{const _0x456824=_0x31de1f;let _0x234109=_0xcb70bb+_0x1aa430*(_0x1c6003+_0x5b5063)+_0x1c6003/0x2,_0x2af772=_0x7dc4cf[_0x456824(0x2ff)]===_0x456824(0x459)?_0x456824(0x459):'left',_0xe92bbe=_0x2af772===_0x456824(0x459)?_0x137fb3+_0x27c3df[_0x456824(0x51e)][_0x456824(0x20d)]:_0x137fb3-_0x27c3df[_0x456824(0x51e)][_0x456824(0x20d)]-_0x239f07,_0x16c85c=_0x2af772===_0x456824(0x459)?_0xe92bbe:_0xe92bbe+_0x239f07;_0x3f4cb0[_0x456824(0x262)](_0x137fb3,_0x234109),_0x3f4cb0[_0x456824(0x1af)](_0x16c85c,_0x234109);}),_0x3f4cb0[_0x31de1f(0x209)](),_0x3d423e[_0x31de1f(0x2de)]((_0x1c233f,_0x3834da)=>{const _0x4e5023=_0x31de1f;let _0x2f5ff4=_0xcb70bb+_0x3834da*(_0x1c6003+_0x5b5063);_0x6f517f(_0x3f4cb0,(_0x1c233f[_0x4e5023(0x2ff)]==='right'?'right':'left')==_0x4e5023(0x459)?_0x137fb3+_0x27c3df[_0x4e5023(0x51e)][_0x4e5023(0x20d)]:_0x137fb3-_0x27c3df['MIND_MAP_DEFAULT_LAYOUT']['branchGap']-_0x239f07,_0x2f5ff4,_0x239f07,_0x1c6003,_0x19a022[_0x4e5023(0x1bc)]),_0x3f4cb0[_0x4e5023(0x2d7)]=_0x19a022[_0x4e5023(0x406)],_0x3f4cb0[_0x4e5023(0x190)](),_0x3f4cb0[_0x4e5023(0x209)]();}),_0x3d423e['forEach']((_0x4afb96,_0x88297b)=>{const _0x3b8466=_0x31de1f;if(!(_0x3b8466(0x535)in _0x4afb96)||_0x4afb96['children'][_0x3b8466(0x2ce)]===0x0)return;let _0x5f45d3=_0xcb70bb+_0x88297b*(_0x1c6003+_0x5b5063)+_0x1c6003/0x2,_0x30c009=_0x4afb96[_0x3b8466(0x2ff)]===_0x3b8466(0x459)?_0x3b8466(0x459):'left',_0x4213e7=_0x4afb96['children'][_0x3b8466(0x2ad)](0x0,0x2),_0x3eaedb=_0x4213e7[_0x3b8466(0x2ce)]*_0x1c6003+Math[_0x3b8466(0x336)](0x0,_0x4213e7[_0x3b8466(0x2ce)]-0x1)*_0x409c10,_0x119f66=_0x30c009==='right'?_0x137fb3+_0x27c3df['MIND_MAP_DEFAULT_LAYOUT'][_0x3b8466(0x20d)]:_0x137fb3-_0x27c3df[_0x3b8466(0x51e)][_0x3b8466(0x20d)]-_0x239f07,_0x5ea18c=_0x30c009===_0x3b8466(0x459)?_0x119f66+_0x239f07+_0x5c323d:_0x119f66-_0x5c323d-_0x239f07,_0x31f385=_0x5f45d3-_0x3eaedb/0x2,_0x2652eb=_0x30c009===_0x3b8466(0x459)?_0x119f66+_0x239f07:_0x119f66,_0x4f9a5a=_0x30c009===_0x3b8466(0x459)?_0x5ea18c:_0x5ea18c+_0x239f07;_0x3f4cb0['beginPath'](),_0x3f4cb0[_0x3b8466(0x262)](_0x2652eb,_0x5f45d3),_0x3f4cb0[_0x3b8466(0x1af)](_0x4f9a5a,_0x5f45d3),_0x4213e7[_0x3b8466(0x2de)]((_0x476174,_0x6750e9)=>{const _0x1b9071=_0x3b8466;let _0x303ae8=_0x31f385+_0x6750e9*(_0x1c6003+_0x409c10)+_0x1c6003/0x2;_0x3f4cb0['moveTo'](_0x4f9a5a,_0x303ae8),_0x3f4cb0[_0x1b9071(0x1af)](_0x30c009==='right'?_0x5ea18c+_0x239f07:_0x5ea18c,_0x303ae8);}),_0x3f4cb0[_0x3b8466(0x209)](),_0x4213e7[_0x3b8466(0x2de)]((_0x323458,_0xe88a85)=>{const _0x1507e0=_0x3b8466;let _0x5ce976=_0x31f385+_0xe88a85*(_0x1c6003+_0x409c10);_0x6f517f(_0x3f4cb0,_0x5ea18c,_0x5ce976,_0x239f07,_0x1c6003,_0x19a022['ghostRadius']),_0x3f4cb0[_0x1507e0(0x2d7)]=_0x19a022[_0x1507e0(0x406)],_0x3f4cb0[_0x1507e0(0x190)](),_0x3f4cb0[_0x1507e0(0x209)]();});});}}}else{if(_0x3c15e0(this[_0x31de1f(0x227)][_0x31de1f(0x2e7)])){let _0x2ce0e1=this[_0x31de1f(0x227)][_0x31de1f(0x535)]??[],_0x45432b=_0x1ca477+_0x554218,_0x5d19c1=_0x45432b+_0x5c323d,_0x1a8023=_0x32d326['x'];if(_0x2ce0e1['length']>0x0){let _0x2407bf=_0x5d19c1+(_0x2ce0e1[_0x31de1f(0x2ce)]-0x1)*(_0x1c6003+_0x409c10)+_0x1c6003/0x2;_0x3f4cb0[_0x31de1f(0x4e1)](),_0x3f4cb0[_0x31de1f(0x262)](_0x1a8023,_0x45432b),_0x3f4cb0[_0x31de1f(0x1af)](_0x1a8023,_0x2407bf),_0x2ce0e1[_0x31de1f(0x2de)]((_0x1b6d33,_0x3d4f23)=>{const _0x19fa14=_0x31de1f;let _0x8fea04=_0x984df1(_0x1b6d33,_0x3d4f23,this[_0x19fa14(0x227)][_0x19fa14(0x2e7)]),_0x2d5d44=_0x5d19c1+_0x3d4f23*(_0x1c6003+_0x409c10),_0x1cf61c=_0x8fea04===_0x19fa14(0x459)?_0x1a8023+_0x5c323d:_0x1a8023-_0x5c323d-_0x239f07,_0x37bc00=_0x2d5d44+_0x1c6003/0x2;_0x3f4cb0[_0x19fa14(0x262)](_0x1a8023,_0x37bc00),_0x3f4cb0[_0x19fa14(0x1af)](_0x8fea04===_0x19fa14(0x459)?_0x1cf61c:_0x1cf61c+_0x239f07,_0x37bc00);}),_0x3f4cb0[_0x31de1f(0x209)](),_0x2ce0e1[_0x31de1f(0x2de)]((_0x4b6f04,_0x459420)=>{const _0x1d39a0=_0x31de1f;let _0x8a2f0f=_0x984df1(_0x4b6f04,_0x459420,this[_0x1d39a0(0x227)][_0x1d39a0(0x2e7)]),_0x1e461a=_0x5d19c1+_0x459420*(_0x1c6003+_0x409c10);_0x6f517f(_0x3f4cb0,_0x8a2f0f==='right'?_0x1a8023+_0x5c323d:_0x1a8023-_0x5c323d-_0x239f07,_0x1e461a,_0x239f07,_0x1c6003,_0x19a022['ghostRadius']),_0x3f4cb0[_0x1d39a0(0x2d7)]=_0x19a022['ghostFillColor'],_0x3f4cb0['fill'](),_0x3f4cb0[_0x1d39a0(0x209)]();});}}else _0x12b049&&[_0x31de1f(0x50b),_0x31de1f(0x4ac)][_0x31de1f(0x2de)](_0x395f42=>{const _0x1a98b3=_0x31de1f;let _0x3f95e3=_0x3286ba[_0x395f42];if(_0x3f95e3[_0x1a98b3(0x2ce)]===0x0)return;let _0x4d5304=_0x3f95e3['length']*_0x239f07+Math[_0x1a98b3(0x336)](0x0,_0x3f95e3[_0x1a98b3(0x2ce)]-0x1)*_0x409c10,_0x412107=_0x32d326['x']-_0x4d5304/0x2,_0x46a156=_0x395f42===_0x1a98b3(0x4ac)?_0x1ca477+_0x554218:_0x1ca477,_0x44debf=_0x395f42==='bottom'?_0x46a156+_0x27c3df[_0x1a98b3(0x51e)][_0x1a98b3(0x20d)]:_0x46a156-_0x27c3df[_0x1a98b3(0x51e)][_0x1a98b3(0x20d)],_0x265938=_0x395f42===_0x1a98b3(0x4ac)?_0x1ca477+_0x554218+_0x5c323d:_0x1ca477-_0x5c323d-_0x1c6003;_0x3f4cb0[_0x1a98b3(0x4e1)](),_0x3f4cb0['moveTo'](_0x32d326['x'],_0x46a156),_0x3f4cb0[_0x1a98b3(0x1af)](_0x32d326['x'],_0x44debf),_0x3f95e3['length']>0x1&&(_0x3f4cb0[_0x1a98b3(0x262)](_0x412107+_0x239f07/0x2,_0x44debf),_0x3f4cb0['lineTo'](_0x412107+_0x4d5304-_0x239f07/0x2,_0x44debf)),_0x3f95e3[_0x1a98b3(0x2de)]((_0x41ee47,_0x214afd)=>{const _0x287601=_0x1a98b3;let _0xd28e26=_0x412107+_0x214afd*(_0x239f07+_0x409c10)+_0x239f07/0x2;_0x3f4cb0[_0x287601(0x262)](_0xd28e26,_0x44debf),_0x3f4cb0[_0x287601(0x1af)](_0xd28e26,_0x395f42==='bottom'?_0x265938:_0x265938+_0x1c6003);}),_0x3f4cb0[_0x1a98b3(0x209)](),_0x3f95e3[_0x1a98b3(0x2de)]((_0x4021e7,_0x5496b5)=>{const _0x360074=_0x1a98b3;_0x6f517f(_0x3f4cb0,_0x412107+_0x5496b5*(_0x239f07+_0x409c10),_0x265938,_0x239f07,_0x1c6003,_0x19a022[_0x360074(0x1bc)]),_0x3f4cb0[_0x360074(0x2d7)]=_0x19a022[_0x360074(0x406)],_0x3f4cb0[_0x360074(0x190)](),_0x3f4cb0['stroke']();});});}(_0x12b049||_0x3c15e0(this[_0x31de1f(0x227)][_0x31de1f(0x2e7)])||_0x4804e7(this[_0x31de1f(0x227)]['structureKind'])?[]:[_0x31de1f(0x469),_0x31de1f(0x459)])[_0x31de1f(0x2de)](_0x64da6d=>{const _0x20e710=_0x31de1f;let _0x4d419c=_0x3286ba[_0x64da6d];if(_0x4d419c[_0x20e710(0x2ce)]===0x0)return;let _0x5274d2=_0x4d419c['length']*_0x1c6003+Math[_0x20e710(0x336)](0x0,_0x4d419c['length']-0x1)*_0x409c10,_0x2309cb=_0x32d326['y']-_0x5274d2/0x2,_0x5aa091=_0x64da6d===_0x20e710(0x459)?_0x537762+_0x1a163c:_0x537762,_0x327237=_0x64da6d===_0x20e710(0x459)?_0x5aa091+_0x27c3df[_0x20e710(0x51e)][_0x20e710(0x20d)]:_0x5aa091-_0x27c3df['MIND_MAP_DEFAULT_LAYOUT']['branchGap'],_0x3f427a=_0x64da6d===_0x20e710(0x459)?_0x537762+_0x1a163c+_0x5c323d:_0x537762-_0x5c323d-_0x239f07;_0x3f4cb0[_0x20e710(0x4e1)](),_0x3f4cb0[_0x20e710(0x262)](_0x5aa091,_0x32d326['y']),_0x3f4cb0['lineTo'](_0x327237,_0x32d326['y']),_0x4d419c[_0x20e710(0x2ce)]>0x1&&(_0x3f4cb0['moveTo'](_0x327237,_0x2309cb+_0x1c6003/0x2),_0x3f4cb0[_0x20e710(0x1af)](_0x327237,_0x2309cb+_0x5274d2-_0x1c6003/0x2)),_0x4d419c[_0x20e710(0x2de)]((_0x472d8c,_0x22f7c0)=>{const _0x16511c=_0x20e710;let _0x31ee24=_0x2309cb+_0x22f7c0*(_0x1c6003+_0x409c10)+_0x1c6003/0x2;_0x3f4cb0[_0x16511c(0x262)](_0x327237,_0x31ee24),_0x3f4cb0[_0x16511c(0x1af)](_0x64da6d===_0x16511c(0x459)?_0x3f427a:_0x3f427a+_0x239f07,_0x31ee24);}),_0x3f4cb0[_0x20e710(0x209)](),_0x4d419c[_0x20e710(0x2de)]((_0x496761,_0x7246b7)=>{const _0x473a50=_0x20e710;let _0x2ae836=_0x2309cb+_0x7246b7*(_0x1c6003+_0x409c10);_0x6f517f(_0x3f4cb0,_0x3f427a,_0x2ae836,_0x239f07,_0x1c6003,_0x19a022[_0x473a50(0x1bc)]),_0x3f4cb0['fillStyle']=_0x19a022[_0x473a50(0x406)],_0x3f4cb0[_0x473a50(0x190)](),_0x3f4cb0[_0x473a50(0x209)]();});}),_0x6f517f(_0x3f4cb0,_0x537762,_0x1ca477,_0x1a163c,_0x554218,_0x19a022['rootRadius']),_0x3f4cb0[_0x31de1f(0x2d7)]=_0x19a022[_0x31de1f(0x3d6)],_0x3f4cb0[_0x31de1f(0x190)](),_0x3f4cb0[_0x31de1f(0x209)](),_0x3f4cb0[_0x31de1f(0x2d7)]=_0x19a022[_0x31de1f(0x3ff)],_0x3f4cb0[_0x31de1f(0x349)]=_0x2ce688(_0x19a022['rootFontWeight'],_0x19a022['rootFontSize'],_0x22d55a),_0x3f4cb0[_0x31de1f(0x4dc)]=_0x31de1f(0x513),_0x3f4cb0[_0x31de1f(0x362)]=_0x31de1f(0x1cd);let _0x2a12e5=_0x19a022[_0x31de1f(0x348)]/_0x22d55a;return _0x3f4cb0[_0x31de1f(0x162)](_0x27c3df['MIND_MAP_DEFAULT_NODE_TEXT'],_0x32d326['x'],_0x32d326['y'],Math['max'](0x1,_0x1a163c-_0x2a12e5*0x2)),_0x3f4cb0[_0x31de1f(0x343)](),this[_0x31de1f(0x31a)](!0x1),this;}};let _0x10e3be={'children':[{'text':_0x27c3df['MIND_MAP_DEFAULT_NODE_TEXT'],'orderKey':(0x0,_0x27c3df['getMindMapDefaultChildOrderKey'])(0x0),'side':'right'},{'text':_0x27c3df['MIND_MAP_DEFAULT_NODE_TEXT'],'orderKey':(0x0,_0x27c3df[_0x5b4e73(0x15c)])(0x1),'side':_0x5b4e73(0x459)},{'text':_0x27c3df['MIND_MAP_DEFAULT_NODE_TEXT'],'orderKey':(0x0,_0x27c3df['getMindMapDefaultChildOrderKey'])(0x2),'side':_0x5b4e73(0x459)}]};var _0x519ce5=class extends _0xd2d24[_0x5b4e73(0x24d)]{constructor(..._0x129ba9){const _0x113460=_0x5b4e73;super(..._0x129ba9),_0x5ac814(this,_0x113460(0x327),_0x10e3be);}[_0x5b4e73(0x32e)](_0x3cc4a8){const _0x12d0a7=_0x5b4e73;var _0x10ba2e;let _0x50edd2=(_0x3cc4a8==null?void 0x0:_0x3cc4a8['children'])??(_0x3cc4a8==null||(_0x10ba2e=_0x3cc4a8[_0x12d0a7(0x1b9)])==null?void 0x0:_0x10ba2e[_0x12d0a7(0x394)][_0x12d0a7(0x535)]);this[_0x12d0a7(0x327)]={'rootText':_0x3cc4a8==null?void 0x0:_0x3cc4a8[_0x12d0a7(0x28f)],'structureKind':_0x3cc4a8==null?void 0x0:_0x3cc4a8[_0x12d0a7(0x2e7)],'branchLineType':_0x3cc4a8==null?void 0x0:_0x3cc4a8['branchLineType'],'children':this['_normalizeChildren'](_0x50edd2,_0x3cc4a8==null?void 0x0:_0x3cc4a8[_0x12d0a7(0x2e7)]),'blueprint':_0x3cc4a8!=null&&_0x3cc4a8[_0x12d0a7(0x1b9)]?this[_0x12d0a7(0x36e)](_0x3cc4a8[_0x12d0a7(0x1b9)]):void 0x0};}[_0x5b4e73(0x381)](){const _0x4b9da1=_0x5b4e73;var _0x327ba8;return{'rootText':this[_0x4b9da1(0x327)][_0x4b9da1(0x28f)],'structureKind':this[_0x4b9da1(0x327)][_0x4b9da1(0x2e7)],'branchLineType':this[_0x4b9da1(0x327)][_0x4b9da1(0x39e)],'children':(_0x327ba8=this['_template'][_0x4b9da1(0x535)])==null?void 0x0:_0x327ba8['map'](_0x4945cb=>({..._0x4945cb})),'blueprint':this[_0x4b9da1(0x327)][_0x4b9da1(0x1b9)]?this[_0x4b9da1(0x36e)](this[_0x4b9da1(0x327)][_0x4b9da1(0x1b9)]):void 0x0};}[_0x5b4e73(0x36e)](_0x2863ba){const _0x13d0dd=_0x5b4e73;return{'title':_0x2863ba[_0x13d0dd(0x25a)],'root':this[_0x13d0dd(0x3d7)](_0x2863ba[_0x13d0dd(0x394)])};}[_0x5b4e73(0x3d7)](_0x1c488d){const _0x1fdd64=_0x5b4e73;return{..._0x1c488d,'foreignAttributes':_0x1c488d['foreignAttributes']?{..._0x1c488d['foreignAttributes']}:void 0x0,'children':_0x1c488d[_0x1fdd64(0x535)]['map'](_0x1b3de9=>this[_0x1fdd64(0x3d7)](_0x1b3de9))};}[_0x5b4e73(0x39b)](_0x5010ec,_0x2fcc24){const _0x3d35df=_0x5b4e73;let _0x54ecf9=!_0x5010ec,_0x10f625=_0x5010ec??_0x10e3be[_0x3d35df(0x535)];return _0x10f625==null?void 0x0:_0x10f625[_0x3d35df(0x4d4)]((_0x183eb1,_0x336a35)=>({..._0x183eb1,'text':_0x183eb1[_0x3d35df(0x31b)]??_0x27c3df[_0x3d35df(0x1c4)],'side':this[_0x3d35df(0x490)](_0x183eb1[_0x3d35df(0x2ff)],_0x336a35,_0x2fcc24,_0x54ecf9)}));}[_0x5b4e73(0x490)](_0x4d3ab9,_0x276bb4,_0x51cc7d,_0x5df5fd){const _0x2705c3=_0x5b4e73;return _0x51cc7d===_0x2705c3(0x2a2)?_0x5df5fd?_0x2705c3(0x4ac):_0x4d3ab9??_0x2705c3(0x4ac):_0x51cc7d===_0x2705c3(0x521)?_0x5df5fd?_0x2705c3(0x469):_0x4d3ab9??_0x2705c3(0x469):_0x51cc7d==='tree-right'?_0x5df5fd?_0x2705c3(0x459):_0x4d3ab9??_0x2705c3(0x459):_0x51cc7d===_0x2705c3(0x40b)?_0x5df5fd?_0x276bb4%0x2==0x0?_0x2705c3(0x469):_0x2705c3(0x459):_0x4d3ab9??(_0x276bb4%0x2==0x0?_0x2705c3(0x469):_0x2705c3(0x459)):_0x51cc7d===_0x2705c3(0x30f)?_0x5df5fd?_0x276bb4%0x2==0x0?_0x2705c3(0x50b):_0x2705c3(0x4ac):_0x4d3ab9??(_0x276bb4%0x2==0x0?'top':_0x2705c3(0x4ac)):_0x51cc7d===_0x2705c3(0x33c)?_0x5df5fd?_0x276bb4%0x2==0x0?_0x2705c3(0x469):_0x2705c3(0x459):_0x4d3ab9??(_0x276bb4%0x2==0x0?_0x2705c3(0x469):'right'):_0x4d3ab9;}};function _0x1e7811(_0x76e52c,_0xdbbac8){const _0x58b576=_0x5b4e73;let _0x221e54=Number['isFinite'](_0xdbbac8[_0x58b576(0x245)])&&_0xdbbac8[_0x58b576(0x245)]>0x0?_0xdbbac8[_0x58b576(0x245)]:0x1;return{'x':Math[_0x58b576(0x347)]((_0x76e52c[_0x58b576(0x3aa)]-_0xdbbac8['panOffset']['x'])/_0x221e54),'y':Math[_0x58b576(0x347)]((_0x76e52c[_0x58b576(0x25c)]-_0xdbbac8[_0x58b576(0x29f)]['y'])/_0x221e54)};}function _0x46cd50(_0x540d43){const _0x4e7694=_0x5b4e73;var _0x3d99be;if(_0x540d43!=null&&_0x540d43[_0x4e7694(0x1a9)]){_0x540d43[_0x4e7694(0x1a9)]();return;}_0x540d43==null||(_0x3d99be=_0x540d43[_0x4e7694(0x2a8)])==null||_0x3d99be[_0x4e7694(0x402)](_0x540d43);}function _0x28cec9(_0xe3a054){const _0x40e30b=_0x5b4e73;var _0x5a7df8;return _0xe3a054[_0x40e30b(0x1d7)]===_0x38c4c0[_0x40e30b(0x19f)][_0x40e30b(0x55e)]&&((_0x5a7df8=_0xe3a054['pendingInsert'])==null?void 0x0:_0x5a7df8[_0x40e30b(0x46e)])===_0x38c4c0[_0x40e30b(0x19f)][_0x40e30b(0x55e)];}let _0x14ec57=class extends _0xd2d24[_0x5b4e73(0x260)]{constructor(_0x316e6f,_0x321427,_0xbbc08e,_0x3df563,_0x245e94,_0x50c8d7,_0x16b447){const _0x29f2ee=_0x5b4e73;super(),this['_renderContext']=_0x316e6f,this[_0x29f2ee(0x273)]=_0x321427,this[_0x29f2ee(0x533)]=_0xbbc08e,this[_0x29f2ee(0x316)]=_0x3df563,this[_0x29f2ee(0x235)]=_0x245e94,this['_elementStateService']=_0x50c8d7,this[_0x29f2ee(0x4e2)]=_0x16b447,_0x5ac814(this,_0x29f2ee(0x393),null),_0x5ac814(this,'_lastPoint',null),this['_init']();}[_0x5b4e73(0x1f6)](){const _0x390bca=_0x5b4e73;var _0x5939b6;let {scene:_0x4811ec,unitId:_0x38beb4}=this['_renderContext'],_0x1efead=this['_instanceSrv'][_0x390bca(0x489)](_0x38beb4,_0xd2d24[_0x390bca(0x269)]['UNIVER_BOARD']);if(!_0x1efead)return;let _0x227e47=(_0x5939b6=_0x4811ec[_0x390bca(0x271)])==null?void 0x0:_0x5939b6['subscribeEvent']({'priority':0x4,'next':([_0x542db5,_0x5a25ac])=>this[_0x390bca(0x354)](_0x542db5,_0x5a25ac)}),_0x2932e1=_0x4811ec[_0x390bca(0x4a2)][_0x390bca(0x215)]({'priority':0x4,'next':([_0x31940a,_0x3861c4])=>this[_0x390bca(0x40d)](_0x1efead,_0x31940a,_0x3861c4)});this['disposeWithMe']((0x0,_0xd2d24[_0x390bca(0x181)])(()=>_0x46cd50(_0x227e47))),this[_0x390bca(0x19b)]((0x0,_0xd2d24[_0x390bca(0x181)])(()=>_0x46cd50(_0x2932e1)));let _0x3ff1ed=this['_stateService'][_0x390bca(0x3ed)]['subscribe'](()=>this['_syncPreviewObject']());this[_0x390bca(0x19b)]((0x0,_0xd2d24['toDisposable'])(()=>_0x46cd50(_0x3ff1ed))),this[_0x390bca(0x19b)]((0x0,_0xd2d24[_0x390bca(0x181)])(()=>{const _0x2f10fd=_0x390bca;this[_0x2f10fd(0x27f)]();})),this[_0x390bca(0x33a)]();}[_0x5b4e73(0x33a)](){const _0x5f5b57=_0x5b4e73;var _0x100a18,_0x301fd7;let _0x3d27cf=this[_0x5f5b57(0x533)][_0x5f5b57(0x27b)]();if(!_0x28cec9(_0x3d27cf)){this[_0x5f5b57(0x27f)]();return;}let _0x3ad413=this[_0x5f5b57(0x40f)](),_0x57f2e7=this[_0x5f5b57(0x235)][_0x5f5b57(0x381)]();_0x3ad413['updateState']({'point':this[_0x5f5b57(0x309)],'structureKind':_0x57f2e7[_0x5f5b57(0x2e7)],'children':_0x57f2e7['children'],'blueprint':_0x57f2e7[_0x5f5b57(0x1b9)],'zoomRatio':_0x3d27cf[_0x5f5b57(0x245)]}),(_0x100a18=(_0x301fd7=this[_0x5f5b57(0x4ec)][_0x5f5b57(0x397)])[_0x5f5b57(0x31a)])==null||_0x100a18[_0x5f5b57(0x402)](_0x301fd7,!0x0);}['_ensurePreviewObject'](){const _0x105ff5=_0x5b4e73;var _0x365531,_0x5dbea4;if(this[_0x105ff5(0x393)])return this[_0x105ff5(0x393)];let _0x3491ef=this[_0x105ff5(0x235)][_0x105ff5(0x381)](),_0x3d2670=new _0x510b32(_0x303689,{'point':this[_0x105ff5(0x309)],'structureKind':_0x3491ef['structureKind'],'children':_0x3491ef['children'],'blueprint':_0x3491ef[_0x105ff5(0x1b9)],'zoomRatio':this['_stateService'][_0x105ff5(0x27b)]()['zoomRatio']});return this['_previewObject']=_0x3d2670,(_0x365531=(_0x5dbea4=this[_0x105ff5(0x4ec)][_0x105ff5(0x397)])[_0x105ff5(0x4df)])==null||_0x365531[_0x105ff5(0x402)](_0x5dbea4,_0x3d2670,_0x58da48),_0x3d2670;}[_0x5b4e73(0x27f)](){const _0x1e0888=_0x5b4e73;var _0x44b3d4,_0x158ba2,_0x5c6458,_0x4d3b04;if(!this[_0x1e0888(0x393)]){this[_0x1e0888(0x309)]=null;return;}(_0x44b3d4=(_0x158ba2=this['_renderContext'][_0x1e0888(0x397)])[_0x1e0888(0x52e)])==null||_0x44b3d4[_0x1e0888(0x402)](_0x158ba2,[this[_0x1e0888(0x393)]]),this['_previewObject']=null,this[_0x1e0888(0x309)]=null,(_0x5c6458=(_0x4d3b04=this[_0x1e0888(0x4ec)][_0x1e0888(0x397)])[_0x1e0888(0x31a)])==null||_0x5c6458[_0x1e0888(0x402)](_0x4d3b04,!0x0);}[_0x5b4e73(0x328)](_0x5a0cd3){const _0x27d8cd=_0x5b4e73;let _0xf7e409=this[_0x27d8cd(0x533)]['getState']();return _0x1e7811(_0x5a0cd3,{'panOffset':_0xf7e409[_0x27d8cd(0x2fa)],'zoomRatio':_0xf7e409[_0x27d8cd(0x245)]});}[_0x5b4e73(0x1ea)](_0x19162d){const _0x10d94f=_0x5b4e73;return{'left':Math['round'](_0x19162d['x']-_0x27c3df[_0x10d94f(0x241)]['rootWidth']/0x2),'top':Math['round'](_0x19162d['y']-_0x27c3df['MIND_MAP_DEFAULT_NODE_SIZE'][_0x10d94f(0x3b7)]/0x2)};}['_handlePointerMove'](_0x181a19,_0x378f1a){const _0x2aeaf0=_0x5b4e73;_0x28cec9(this[_0x2aeaf0(0x533)][_0x2aeaf0(0x27b)]())&&(this['_lastPoint']=this[_0x2aeaf0(0x328)](_0x181a19),this[_0x2aeaf0(0x33a)](),_0x378f1a[_0x2aeaf0(0x29c)]());}async[_0x5b4e73(0x40d)](_0x346c67,_0x15cbb1,_0x358124){const _0x3b8189=_0x5b4e73;let _0x176591=await this[_0x3b8189(0x510)](_0x346c67,_0x15cbb1,_0x358124);if(!_0x176591)return;let _0x4e5c79={'unitId':this[_0x3b8189(0x4ec)]['unitId'],'subUnitId':_0x176591[_0x3b8189(0x1a0)]};this['_boardTextEditingService'][_0x3b8189(0x3a1)](),this[_0x3b8189(0x4e2)]['setEditing']({..._0x4e5c79,'shapeId':_0x176591[_0x3b8189(0x21c)],'shapeKey':(0x0,_0x13e20e[_0x3b8189(0x3e8)])(_0x4e5c79[_0x3b8189(0x560)],_0x176591[_0x3b8189(0x21c)]),'visible':!0x0});}async['_insertMindMap'](_0x2c96a4,_0x3bd35e,_0x5c77a2){const _0x1d8602=_0x5b4e73;var _0x472793;let _0xe89235=this[_0x1d8602(0x533)][_0x1d8602(0x27b)](),_0x48a7fe=_0x3bd35e['button']??0x0;if(!_0x28cec9(_0xe89235)||_0x48a7fe!==0x0)return null;let _0x5e2e20=this[_0x1d8602(0x328)](_0x3bd35e),_0x3ef801=this[_0x1d8602(0x1ea)](_0x5e2e20),_0x53aadc=this[_0x1d8602(0x235)][_0x1d8602(0x381)](),_0x422dc6=(0x0,_0xd2d24[_0x1d8602(0x1e1)])(0x6),_0x4950e2=_0x2c96a4[_0x1d8602(0x2c6)](),_0x29ba85=this[_0x1d8602(0x316)]['executeCommand'](_0x27c3df[_0x1d8602(0x47e)]['id'],{'unitId':this[_0x1d8602(0x4ec)][_0x1d8602(0x560)],'subUnitId':_0x4950e2,'left':_0x3ef801[_0x1d8602(0x469)],'top':_0x3ef801[_0x1d8602(0x50b)],'rootNodeId':_0x422dc6,'rootText':_0x53aadc[_0x1d8602(0x28f)],'structureKind':_0x53aadc[_0x1d8602(0x2e7)],'branchLineType':_0x53aadc[_0x1d8602(0x39e)],'children':_0x53aadc[_0x1d8602(0x535)],'blueprint':_0x53aadc[_0x1d8602(0x1b9)]});if(this[_0x1d8602(0x533)][_0x1d8602(0x541)](_0x38c4c0['BoardToolType'][_0x1d8602(0x3bf)]),_0x5c77a2['stopPropagation'](),(_0x472793=_0x3bd35e[_0x1d8602(0x433)])==null||_0x472793[_0x1d8602(0x402)](_0x3bd35e),!await _0x29ba85||this['_disposed'])return null;let _0x4aa0ff={'unitId':this[_0x1d8602(0x4ec)][_0x1d8602(0x560)],'subUnitId':_0x4950e2};return this['_elementStateService'][_0x1d8602(0x19a)](_0x4aa0ff,[_0x422dc6],_0x422dc6),{'rootNodeId':_0x422dc6,'subUnitId':_0x4950e2};}};_0x14ec57=_0x2d6c5f([_0x1c54fc(0x1,_0xd2d24[_0x5b4e73(0x1f4)]),_0x1c54fc(0x2,_0x13e20e[_0x5b4e73(0x28e)]),_0x1c54fc(0x3,_0xd2d24['ICommandService']),_0x1c54fc(0x4,(0x0,_0xd2d24[_0x5b4e73(0x165)])(_0x519ce5)),_0x1c54fc(0x5,_0x13e20e[_0x5b4e73(0x1ad)]),_0x1c54fc(0x6,(0x0,_0xd2d24[_0x5b4e73(0x165)])(_0x13e20e['BoardTextEditingService']))],_0x14ec57);var _0x6de7d6=class extends _0xd2d24[_0x5b4e73(0x24d)]{constructor(..._0x3e7e2f){const _0x4a3e44=_0x5b4e73;super(..._0x3e7e2f),_0x5ac814(this,_0x4a3e44(0x268),new _0x54b023[(_0x4a3e44(0x230))]()),_0x5ac814(this,'refresh$',this[_0x4a3e44(0x268)]['asObservable']());}['notify'](_0x301116){const _0xb3103=_0x5b4e73;this[_0xb3103(0x268)]['next'](_0x301116);}[_0x5b4e73(0x1a9)](){const _0x5b971e=_0x5b4e73;this[_0x5b971e(0x268)][_0x5b971e(0x34b)](),super[_0x5b971e(0x1a9)]();}};function _0x2e0e45(_0x17dd8a){const _0x297019=_0x5b4e73;return typeof _0x17dd8a==_0x297019(0x24e)&&Number[_0x297019(0x25b)](_0x17dd8a)&&_0x17dd8a>0x0;}function _0x4992eb(_0x5a1aab,_0x32f01c,_0x8a23e3){const _0xc93e36=_0x5b4e73;let _0xea2b89=_0x5a1aab[_0x32f01c],_0x333f15=(0x0,_0x27c3df['getMindMapNodeMeta'])(_0xea2b89==null?void 0x0:_0xea2b89[_0xc93e36(0x2dc)]);if(!_0xea2b89||!_0x333f15)return null;let _0x49e02d=(0x0,_0x27c3df[_0xc93e36(0x41b)])(_0xea2b89,_0x8a23e3);if(!_0x49e02d)return null;let _0x3e88dd=_0xea2b89[_0xc93e36(0x1d5)]??_0xea2b89[_0xc93e36(0x2dc)][_0xc93e36(0x1d5)],_0x39d89f={..._0x5a1aab,[_0x32f01c]:{..._0xea2b89,'transform':{..._0x3e88dd,'width':_0x49e02d[_0xc93e36(0x351)],'height':_0x49e02d['height']},'element':{..._0xea2b89[_0xc93e36(0x2dc)],'transform':{..._0xea2b89['element'][_0xc93e36(0x1d5)],'width':_0x49e02d[_0xc93e36(0x351)],'height':_0x49e02d[_0xc93e36(0x3c7)]}}}};return(0x0,_0x27c3df[_0xc93e36(0x265)])(_0x39d89f,_0x333f15[_0xc93e36(0x483)]);}let _0x3af0c5=class extends _0xd2d24['RxDisposable']{constructor(_0x4775f2,_0x51821a,_0x471cba,_0x193524,_0x51862d,_0x13b697){const _0x1b493d=_0x5b4e73;super(),this[_0x1b493d(0x4ec)]=_0x4775f2,this[_0x1b493d(0x492)]=_0x51821a,this['_boardElementService']=_0x471cba,this['_textEditingService']=_0x193524,this['_previewRefreshService']=_0x51862d,this[_0x1b493d(0x316)]=_0x13b697,_0x5ac814(this,_0x1b493d(0x3b4),null),_0x5ac814(this,_0x1b493d(0x1a6),{'match':_0x44e33b=>_0x44e33b[_0x1b493d(0x560)]===this[_0x1b493d(0x4ec)][_0x1b493d(0x560)]&&!!(0x0,_0x27c3df[_0x1b493d(0x429)])(_0x44e33b[_0x1b493d(0x2dc)]),'resolveHostSize':_0x3b5bfd=>this['_resolveHostSize'](_0x3b5bfd),'previewHostSize':_0x4cd50e=>this[_0x1b493d(0x3ec)](_0x4cd50e),'updateHostSize':_0x105709=>this[_0x1b493d(0x4f7)](_0x105709),'updateShapeText':_0x34e486=>this[_0x1b493d(0x30d)](_0x34e486)}),this[_0x1b493d(0x19b)](this[_0x1b493d(0x492)][_0x1b493d(0x2f1)](this['_provider'])),this[_0x1b493d(0x182)](),this['disposeWithMe']((0x0,_0xd2d24[_0x1b493d(0x181)])(()=>this[_0x1b493d(0x208)]()));}[_0x5b4e73(0x4f7)](_0x2d1293){return this['_previewHostSize'](_0x2d1293);}[_0x5b4e73(0x30d)](_0x5aad84){const _0x4fdf90=_0x5b4e73;let _0x55a588=_0x5aad84[_0x4fdf90(0x4ab)][_0x4fdf90(0x320)]?this[_0x4fdf90(0x447)]({'elementData':_0x5aad84[_0x4fdf90(0x2a4)],'params':_0x5aad84[_0x4fdf90(0x4ab)][_0x4fdf90(0x320)]}):null,_0x48f6e7=_0x5aad84[_0x4fdf90(0x2a4)][_0x4fdf90(0x1d5)]??_0x5aad84['elementData'][_0x4fdf90(0x2dc)][_0x4fdf90(0x1d5)];return(!_0x55a588||_0x55a588[_0x4fdf90(0x351)]===_0x48f6e7['width']&&_0x55a588[_0x4fdf90(0x3c7)]===_0x48f6e7[_0x4fdf90(0x3c7)])&&(0x0,_0x13e20e[_0x4fdf90(0x270)])(_0x5aad84[_0x4fdf90(0x4ab)][_0x4fdf90(0x4c7)],_0x5aad84[_0x4fdf90(0x4ab)]['oldShapeText'])?!0x0:this[_0x4fdf90(0x316)]['syncExecuteCommand'](_0x27c3df[_0x4fdf90(0x3fa)]['id'],{'unitId':_0x5aad84[_0x4fdf90(0x4ab)][_0x4fdf90(0x560)],'subUnitId':_0x5aad84[_0x4fdf90(0x4ab)][_0x4fdf90(0x1a0)],'nodeId':_0x5aad84[_0x4fdf90(0x4ab)][_0x4fdf90(0x45c)],'shapeText':_0x5aad84['params'][_0x4fdf90(0x4c7)],..._0x55a588?{'hostSize':{'width':_0x55a588[_0x4fdf90(0x351)],'height':_0x55a588['height']}}:null});}[_0x5b4e73(0x3ec)](_0x1b1846){const _0x146b41=_0x5b4e73;let _0x498d74=this['_resolveHostSize'](_0x1b1846);if(!_0x498d74)return!0x1;let _0x1a67d8=_0x1b1846[_0x146b41(0x2a4)][_0x146b41(0x1d5)]??_0x1b1846['elementData'][_0x146b41(0x2dc)]['transform'];return!this[_0x146b41(0x3b4)]&&_0x1a67d8[_0x146b41(0x351)]===_0x498d74[_0x146b41(0x351)]&&_0x1a67d8[_0x146b41(0x3c7)]===_0x498d74['height']||this[_0x146b41(0x400)](_0x1b1846,_0x498d74),!0x0;}['_resolveHostSize'](_0x2bd7bf){const _0x210e24=_0x5b4e73;return!_0x2e0e45(_0x2bd7bf[_0x210e24(0x4ab)][_0x210e24(0x351)])||!_0x2e0e45(_0x2bd7bf['params']['height'])?null:(0x0,_0x27c3df[_0x210e24(0x41b)])(_0x2bd7bf['elementData'],{'width':_0x2bd7bf[_0x210e24(0x4ab)]['width'],'height':_0x2bd7bf[_0x210e24(0x4ab)][_0x210e24(0x3c7)]});}[_0x5b4e73(0x182)](){const _0x19ff0e=_0x5b4e73;this['disposeWithMe']((0x0,_0xd2d24[_0x19ff0e(0x181)])(this['_textEditingService'][_0x19ff0e(0x440)]['pipe']((0x0,_0x54b023['takeUntil'])(this[_0x19ff0e(0x1d6)]))[_0x19ff0e(0x187)](_0x5ee51d=>{_0x5ee51d||this['_restoreActivePreview']();})));}['_syncLayoutPreview'](_0x44bb06,_0x56f665){const _0x3937c7=_0x5b4e73;var _0x5dcdb2;let _0x3b6558=this[_0x3937c7(0x4de)]['getElementData'](_0x44bb06[_0x3937c7(0x4ab)]['unitId'],_0x44bb06[_0x3937c7(0x4ab)][_0x3937c7(0x1a0)]),_0x2f3194=_0x4992eb(_0x3b6558,_0x44bb06[_0x3937c7(0x4ab)][_0x3937c7(0x45c)],_0x56f665),_0x54ee03=(0x0,_0x27c3df[_0x3937c7(0x429)])((_0x5dcdb2=_0x3b6558[_0x44bb06[_0x3937c7(0x4ab)][_0x3937c7(0x45c)]])==null?void 0x0:_0x5dcdb2[_0x3937c7(0x2dc)]);_0x2f3194&&_0x54ee03&&(this[_0x3937c7(0x3b4)]={'unitId':_0x44bb06[_0x3937c7(0x4ab)][_0x3937c7(0x560)],'subUnitId':_0x44bb06['params'][_0x3937c7(0x1a0)],'scopeId':_0x54ee03['structureScopeId']},this[_0x3937c7(0x1c9)](_0x2f3194,_0x54ee03[_0x3937c7(0x483)])&&this[_0x3937c7(0x1c8)]['notify']({'unitId':_0x44bb06[_0x3937c7(0x4ab)][_0x3937c7(0x560)],'subUnitId':_0x44bb06[_0x3937c7(0x4ab)][_0x3937c7(0x1a0)],'nodeId':_0x44bb06[_0x3937c7(0x4ab)][_0x3937c7(0x45c)],'scopeId':_0x54ee03[_0x3937c7(0x483)]}));}[_0x5b4e73(0x208)](){const _0x12c13c=_0x5b4e73;let _0x3eacd2=this['_activePreview'];if(!_0x3eacd2)return;this[_0x12c13c(0x3b4)]=null;let _0x3e0d89=this[_0x12c13c(0x4de)][_0x12c13c(0x544)](_0x3eacd2['unitId'],_0x3eacd2[_0x12c13c(0x1a0)]);this['_syncElementDataToScene'](_0x3e0d89,_0x3eacd2[_0x12c13c(0x2e5)])&&this['_previewRefreshService'][_0x12c13c(0x4d0)]({'unitId':_0x3eacd2[_0x12c13c(0x560)],'subUnitId':_0x3eacd2[_0x12c13c(0x1a0)],'nodeId':_0x3eacd2[_0x12c13c(0x2e5)],'scopeId':_0x3eacd2['scopeId']});}[_0x5b4e73(0x1c9)](_0x3827b4,_0x2de3f9){const _0x315424=_0x5b4e73;let _0x481a07=!0x1;if(Object[_0x315424(0x4fd)](_0x3827b4)[_0x315424(0x2de)](_0x5285e6=>{const _0x4ae889=_0x315424;var _0x62d092;let _0x344473=(0x0,_0x27c3df[_0x4ae889(0x429)])(_0x5285e6[_0x4ae889(0x2dc)]),_0x164156=(_0x62d092=_0x5285e6['element'][_0x4ae889(0x496)])==null?void 0x0:_0x62d092[_0x4ae889(0x246)];if(_0x5285e6['elementId']!==_0x2de3f9&&(_0x344473==null?void 0x0:_0x344473[_0x4ae889(0x483)])!==_0x2de3f9&&(_0x164156==null?void 0x0:_0x164156[_0x4ae889(0x483)])!==_0x2de3f9)return;let _0x1f06be=this[_0x4ae889(0x2e1)](_0x5285e6[_0x4ae889(0x1f9)]);_0x1f06be&&(_0x481a07=(0x0,_0x13e20e[_0x4ae889(0x36d)])(_0x1f06be,_0x5285e6,{'elementData':_0x3827b4,'unitId':this['_renderContext']['unitId']})||_0x481a07);}),_0x481a07){var _0x1a68af,_0x410986;this[_0x315424(0x4ec)][_0x315424(0x397)][_0x315424(0x31a)](!0x0),(_0x1a68af=(_0x410986=this[_0x315424(0x4ec)][_0x315424(0x397)])['requestRender'])==null||_0x1a68af['call'](_0x410986);}return _0x481a07;}[_0x5b4e73(0x2e1)](_0x25cc14){const _0x1d0ecf=_0x5b4e73;var _0x408488;let _0x591aad=(0x0,_0x13e20e['getBoardElementRenderObjectKey'])(this[_0x1d0ecf(0x4ec)][_0x1d0ecf(0x560)],_0x25cc14),_0x5991c5=this['_renderContext']['scene'];return((_0x408488=_0x5991c5[_0x1d0ecf(0x31d)])==null?void 0x0:_0x408488['call'](_0x5991c5,_0x591aad))??this[_0x1d0ecf(0x4ec)]['scene'][_0x1d0ecf(0x2be)](_0x591aad)??null;}};_0x3af0c5=_0x2d6c5f([_0x1c54fc(0x1,(0x0,_0xd2d24[_0x5b4e73(0x165)])(_0x13e20e['BoardShapeIntrinsicSizeService'])),_0x1c54fc(0x2,(0x0,_0xd2d24['Inject'])(_0x38c4c0[_0x5b4e73(0x494)])),_0x1c54fc(0x3,(0x0,_0xd2d24[_0x5b4e73(0x165)])(_0x13e20e[_0x5b4e73(0x1db)])),_0x1c54fc(0x4,(0x0,_0xd2d24['Inject'])(_0x6de7d6)),_0x1c54fc(0x5,_0xd2d24[_0x5b4e73(0x4f0)])],_0x3af0c5);let _0x3aa6c7={'touchHitRadius':0x16,'radius':0x12,'addChildRadius':0xe,'siblingHoverRadius':0xa,'siblingDotRadius':0x5,'siblingDotGap':0x3,'gap':0xa,'collapsePlusMinDistance':0x2c,'primaryColor':_0x176363[_0x5b4e73(0x3d6)],'surfaceColor':_0x176363[_0x5b4e73(0x17d)],'borderWidth':0x2,'glyphSize':0x8,'addChildGlyphSize':0x6,'siblingGlyphSize':5.5,'glyphWidth':2.4,'glyphHoverWidth':0x3,'badgeFontWeight':0x258,'badgeFontSize':0x12,'fontFamily':_0x176363['fontFamily']};function _0x1c2072(_0x146055){const _0x4ff005=_0x5b4e73;let _0x3b5ddb=_0x3aa6c7['radius'],_0x2f7113=_0x3aa6c7[_0x4ff005(0x27c)],_0x3dadc7=_0x3aa6c7[_0x4ff005(0x3f7)],_0x3dc0f5=_0x3aa6c7[_0x4ff005(0x4d8)],_0x460fb6=_0x3aa6c7['siblingDotRadius'],_0x48c7b6=_0x460fb6+_0x3aa6c7[_0x4ff005(0x3a9)],_0xb55568=_0x3aa6c7[_0x4ff005(0x45d)],_0x13244b=_0x146055[_0x4ff005(0x3b3)]['top']+_0x146055['bounds']['height']/0x2,_0x472902=_0x146055['bounds'][_0x4ff005(0x469)]+_0x146055['bounds'][_0x4ff005(0x351)]/0x2,_0x2e3f2b=_0x146055[_0x4ff005(0x3b3)][_0x4ff005(0x469)]-_0x3b5ddb-_0x3dc0f5,_0xcf2ad7=_0x146055[_0x4ff005(0x3b3)][_0x4ff005(0x469)]+_0x146055[_0x4ff005(0x3b3)][_0x4ff005(0x351)]+_0x3b5ddb+_0x3dc0f5,_0x4cbaaa=_0x146055['bounds'][_0x4ff005(0x50b)]-_0x3b5ddb-_0x3dc0f5,_0x523caf=_0x146055[_0x4ff005(0x3b3)][_0x4ff005(0x50b)]+_0x146055[_0x4ff005(0x3b3)][_0x4ff005(0x3c7)]+_0x3b5ddb+_0x3dc0f5,_0x5bfbe1=_0x146055['bounds'][_0x4ff005(0x469)]-_0x2f7113-_0x3dc0f5,_0x2edef9=_0x146055['bounds'][_0x4ff005(0x469)]+_0x146055[_0x4ff005(0x3b3)][_0x4ff005(0x351)]+_0x2f7113+_0x3dc0f5,_0x5167e8=_0x146055[_0x4ff005(0x3b3)][_0x4ff005(0x50b)]-_0x2f7113-_0x3dc0f5,_0x317edd=_0x146055[_0x4ff005(0x3b3)][_0x4ff005(0x50b)]+_0x146055['bounds'][_0x4ff005(0x3c7)]+_0x2f7113+_0x3dc0f5,_0x2c6c1b=[],_0x41167b=_0x146055[_0x4ff005(0x2ff)]===_0x4ff005(0x50b)||_0x146055[_0x4ff005(0x2ff)]===_0x4ff005(0x4ac),_0x1c0454=_0x41167b?_0x472902:_0x146055[_0x4ff005(0x2ff)]==='left'?_0x2e3f2b:_0xcf2ad7,_0x5199dd=_0x41167b?_0x146055[_0x4ff005(0x2ff)]==='top'?_0x4cbaaa:_0x523caf:_0x13244b;if(_0x146055[_0x4ff005(0x536)]&&_0x146055[_0x4ff005(0x47f)]>0x0)return _0x2c6c1b[_0x4ff005(0x48a)]({'kind':_0x4ff005(0x32a),'x':_0x1c0454,'y':_0x5199dd,'radius':_0x3b5ddb,'badgeCount':_0x146055[_0x4ff005(0x47f)]}),_0x2c6c1b;if(_0x146055[_0x4ff005(0x407)]?(_0x146055[_0x4ff005(0x33e)]??(_0x41167b?[_0x4ff005(0x50b),'bottom']:['left',_0x4ff005(0x459)]))[_0x4ff005(0x2de)](_0x41e849=>{const _0x10fde9=_0x4ff005;_0x41e849==='top'?_0x2c6c1b['push']({'kind':_0x10fde9(0x189),'x':_0x472902,'y':_0x5167e8,'radius':_0x2f7113}):_0x41e849===_0x10fde9(0x4ac)?_0x2c6c1b[_0x10fde9(0x48a)]({'kind':'add-child-bottom','x':_0x472902,'y':_0x317edd,'radius':_0x2f7113}):_0x41e849===_0x10fde9(0x469)?_0x2c6c1b[_0x10fde9(0x48a)]({'kind':_0x10fde9(0x439),'x':_0x5bfbe1,'y':_0x13244b,'radius':_0x2f7113}):_0x2c6c1b[_0x10fde9(0x48a)]({'kind':_0x10fde9(0x569),'x':_0x2edef9,'y':_0x13244b,'radius':_0x2f7113});}):(_0x2c6c1b['push']({'kind':_0x146055[_0x4ff005(0x2ff)]==='left'?_0x4ff005(0x439):_0x146055[_0x4ff005(0x2ff)]===_0x4ff005(0x50b)?_0x4ff005(0x189):_0x146055[_0x4ff005(0x2ff)]==='bottom'?_0x4ff005(0x399):_0x4ff005(0x569),'x':_0x41167b?_0x472902:_0x146055[_0x4ff005(0x2ff)]===_0x4ff005(0x469)?_0x5bfbe1:_0x2edef9,'y':_0x41167b?_0x146055[_0x4ff005(0x2ff)]===_0x4ff005(0x50b)?_0x5167e8:_0x317edd:_0x13244b,'radius':_0x2f7113}),_0x41167b?(_0x2c6c1b[_0x4ff005(0x48a)]({'kind':'add-sibling-before','placement':_0x4ff005(0x3e4),'x':_0x146055[_0x4ff005(0x3b3)][_0x4ff005(0x469)]-_0x48c7b6,'y':_0x13244b,'radius':_0x3dadc7,'visualRadius':_0x460fb6}),_0x2c6c1b[_0x4ff005(0x48a)]({'kind':'add-sibling-after','placement':_0x4ff005(0x2a6),'x':_0x146055['bounds']['left']+_0x146055[_0x4ff005(0x3b3)][_0x4ff005(0x351)]+_0x48c7b6,'y':_0x13244b,'radius':_0x3dadc7,'visualRadius':_0x460fb6})):(_0x2c6c1b[_0x4ff005(0x48a)]({'kind':'add-sibling-before','placement':_0x4ff005(0x3e4),'x':_0x472902,'y':_0x146055[_0x4ff005(0x3b3)][_0x4ff005(0x50b)]-_0x48c7b6,'radius':_0x3dadc7,'visualRadius':_0x460fb6}),_0x2c6c1b[_0x4ff005(0x48a)]({'kind':_0x4ff005(0x479),'placement':'after','x':_0x472902,'y':_0x146055[_0x4ff005(0x3b3)]['top']+_0x146055['bounds'][_0x4ff005(0x3c7)]+_0x48c7b6,'radius':_0x3dadc7,'visualRadius':_0x460fb6}))),_0x146055[_0x4ff005(0x536)]){let _0x1d1c48={'kind':'toggle-collapse','x':_0x1c0454,'y':_0x5199dd,'radius':_0x3b5ddb};_0x2c6c1b['push'](_0x1d1c48);let _0x53254b=_0x2c6c1b[_0x4ff005(0x45e)](_0x398139=>_0x398139['kind']===(_0x146055['side']===_0x4ff005(0x469)?_0x4ff005(0x439):_0x146055['side']==='top'?_0x4ff005(0x189):_0x146055['side']===_0x4ff005(0x4ac)?_0x4ff005(0x399):_0x4ff005(0x569)));_0x53254b&&Math['hypot'](_0x53254b['x']-_0x1d1c48['x'],_0x53254b['y']-_0x1d1c48['y'])<_0xb55568&&(_0x146055[_0x4ff005(0x2ff)]===_0x4ff005(0x50b)||_0x146055[_0x4ff005(0x2ff)]==='bottom'?_0x53254b['y']=_0x1d1c48['y']+(_0x146055['side']===_0x4ff005(0x50b)?-_0xb55568:_0xb55568):_0x53254b['x']=_0x1d1c48['x']+(_0x146055[_0x4ff005(0x2ff)]===_0x4ff005(0x469)?-_0xb55568:_0xb55568));}return _0x2c6c1b;}let _0x5044a6='board-mind-map-node-controls-object',_0x3ee6df=_0x13e20e[_0x5b4e73(0x48e)]['connectorAffordance'];function _0x249f43(_0x56821f,_0x52d0a3){const _0x13ad63=_0x5b4e73;return!!_0x56821f&&_0x56821f[_0x13ad63(0x466)]===_0x52d0a3[_0x13ad63(0x466)]&&_0x56821f['x']===_0x52d0a3['x']&&_0x56821f['y']===_0x52d0a3['y'];}var _0x22ece5=class extends _0x2119db[_0x5b4e73(0x4c4)]{constructor(_0x35f31d=_0x5044a6,_0x240e19){const _0x457d56=_0x5b4e73;super(_0x35f31d),_0x5ac814(this,'_state',{'controls':[]}),this[_0x457d56(0x344)]=!0x0,this['zIndex']=_0x13e20e[_0x457d56(0x3a2)][_0x457d56(0x2f6)],this[_0x457d56(0x178)](_0x240e19);}[_0x5b4e73(0x178)](_0x1bca1a){const _0xecfe33=_0x5b4e73;this[_0xecfe33(0x227)]={...this[_0xecfe33(0x227)],..._0x1bca1a},this[_0xecfe33(0x227)][_0xecfe33(0x2d6)][_0xecfe33(0x2ce)]>0x0?this['show']():this[_0xecfe33(0x2ec)](),this[_0xecfe33(0x31a)](!0x0);}[_0x5b4e73(0x2d1)](_0x3a895c){const _0x5bd694=_0x5b4e73;!_0x3a895c&&!this[_0x5bd694(0x227)][_0x5bd694(0x3f6)]||_0x3a895c&&_0x249f43(this[_0x5bd694(0x227)][_0x5bd694(0x3f6)],_0x3a895c)||(this[_0x5bd694(0x227)]={...this['_state'],'hoveredControl':_0x3a895c},this[_0x5bd694(0x31a)](!0x0));}['getHitControl'](_0xbff7d3,_0xe1a78f){const _0x2ac560=_0x5b4e73;var _0x4f9403;let _0x4fedb9=(_0x4f9403=this[_0x2ac560(0x296)]())==null?void 0x0:_0x4f9403[_0x2ac560(0x409)](),_0x3c2613=null,_0x5a7755=0x1/0x0;for(let _0x5338fb=this['_state'][_0x2ac560(0x2d6)][_0x2ac560(0x2ce)]-0x1;_0x5338fb>=0x0;--_0x5338fb){let _0x550fe7=this[_0x2ac560(0x227)]['controls'][_0x5338fb],_0x30853e=Math['hypot'](_0xbff7d3['x']-_0x550fe7['x'],_0xbff7d3['y']-_0x550fe7['y']);if(_0xe1a78f!==_0x2119db['DeviceType']['Touch']){if(_0x30853e<=_0x550fe7['radius'])return _0x550fe7;continue;}let _0x32d11e=Math[_0x2ac560(0x564)]((_0xbff7d3['x']-_0x550fe7['x'])*((_0x4fedb9==null?void 0x0:_0x4fedb9[_0x2ac560(0x26b)])??0x1),(_0xbff7d3['y']-_0x550fe7['y'])*((_0x4fedb9==null?void 0x0:_0x4fedb9[_0x2ac560(0x20c)])??0x1));(_0x30853e<=_0x550fe7[_0x2ac560(0x28c)]||_0x32d11e<=_0x3aa6c7[_0x2ac560(0x1d1)])&&_0x32d11e<_0x5a7755&&(_0x3c2613=_0x550fe7,_0x5a7755=_0x32d11e);}return _0x3c2613;}[_0x5b4e73(0x34f)](_0x5030e1){const _0x1a53e5=_0x5b4e73;var _0x273c7f;let _0x24f5a0=this[_0x1a53e5(0x382)](_0x5030e1,_0x2119db[_0x1a53e5(0x28b)]['Touch']),_0x19a0a3=(_0x273c7f=this[_0x1a53e5(0x296)]())==null?void 0x0:_0x273c7f['getAncestorScale']();return _0x24f5a0?Math['hypot']((_0x5030e1['x']-_0x24f5a0['x'])*((_0x19a0a3==null?void 0x0:_0x19a0a3[_0x1a53e5(0x26b)])??0x1),(_0x5030e1['y']-_0x24f5a0['y'])*((_0x19a0a3==null?void 0x0:_0x19a0a3[_0x1a53e5(0x20c)])??0x1)):0x1/0x0;}['isHit'](_0x550fa0){const _0x4187df=_0x5b4e73;return!!this[_0x4187df(0x382)]({'x':_0x550fa0['x'],'y':_0x550fa0['y']});}[_0x5b4e73(0x42d)](_0x5cdb63,_0x380b02){const _0x1ef927=_0x5b4e73;return!this[_0x1ef927(0x248)]||this[_0x1ef927(0x227)][_0x1ef927(0x2d6)][_0x1ef927(0x2ce)]===0x0?(this[_0x1ef927(0x31a)](!0x1),this):(_0x5cdb63[_0x1ef927(0x34c)](),this[_0x1ef927(0x227)][_0x1ef927(0x2d6)][_0x1ef927(0x2de)](_0x4b45d5=>{const _0x653b72=_0x1ef927;let _0x50079b=_0x249f43(this[_0x653b72(0x227)][_0x653b72(0x3f6)],_0x4b45d5),_0xd3ae84=_0x4b45d5['badgeCount']!==void 0x0,_0x12bb29=_0x4b45d5[_0x653b72(0x466)]===_0x653b72(0x439)||_0x4b45d5[_0x653b72(0x466)]==='add-child-right'||_0x4b45d5[_0x653b72(0x466)]===_0x653b72(0x189)||_0x4b45d5[_0x653b72(0x466)]==='add-child-bottom',_0x33160c=_0x4b45d5[_0x653b72(0x466)]===_0x653b72(0x499)||_0x4b45d5[_0x653b72(0x466)]===_0x653b72(0x479),_0x3370ee=_0x33160c&&!_0x50079b?_0x4b45d5[_0x653b72(0x52f)]??_0x4b45d5['radius']:_0x4b45d5[_0x653b72(0x28c)];if(_0x5cdb63[_0x653b72(0x4e1)](),_0x5cdb63[_0x653b72(0x2d7)]=_0x4b45d5[_0x653b72(0x466)]===_0x653b72(0x32a)?_0x3aa6c7[_0x653b72(0x17d)]:_0x3aa6c7[_0x653b72(0x3d6)],_0x5cdb63[_0x653b72(0x37a)]=_0x3aa6c7[_0x653b72(0x3d6)],_0x5cdb63[_0x653b72(0x4c0)]=_0x3aa6c7[_0x653b72(0x44b)],_0x5cdb63[_0x653b72(0x50f)](_0x4b45d5['x'],_0x4b45d5['y'],_0x3370ee,0x0,Math['PI']*0x2),_0x5cdb63['fill'](),(!_0x33160c||_0x50079b)&&_0x5cdb63[_0x653b72(0x209)](),!_0xd3ae84&&(!_0x33160c||_0x50079b)){if(_0x5cdb63[_0x653b72(0x4e1)](),_0x5cdb63[_0x653b72(0x37a)]=_0x4b45d5['kind']===_0x653b72(0x32a)?_0x3aa6c7[_0x653b72(0x3d6)]:_0x3aa6c7[_0x653b72(0x17d)],_0x5cdb63['lineWidth']=_0x33160c?_0x3aa6c7['glyphWidth']:_0x50079b?_0x3aa6c7[_0x653b72(0x470)]:_0x3aa6c7['glyphWidth'],_0x5cdb63[_0x653b72(0x41c)]=_0x653b72(0x347),_0x4b45d5['kind']===_0x653b72(0x32a)){let _0x4ea65f=_0x3aa6c7[_0x653b72(0x1f0)];_0x5cdb63[_0x653b72(0x262)](_0x4b45d5['x']+_0x4ea65f/0x2,_0x4b45d5['y']-_0x4ea65f),_0x5cdb63['lineTo'](_0x4b45d5['x']-_0x4ea65f/0x2,_0x4b45d5['y']),_0x5cdb63[_0x653b72(0x1af)](_0x4b45d5['x']+_0x4ea65f/0x2,_0x4b45d5['y']+_0x4ea65f);}else{let _0x1bb607=_0x33160c?_0x3aa6c7[_0x653b72(0x334)]:_0x12bb29?_0x3aa6c7[_0x653b72(0x3e3)]:_0x3aa6c7[_0x653b72(0x1f0)];_0x5cdb63['moveTo'](_0x4b45d5['x']-_0x1bb607,_0x4b45d5['y']),_0x5cdb63[_0x653b72(0x1af)](_0x4b45d5['x']+_0x1bb607,_0x4b45d5['y']),_0x5cdb63[_0x653b72(0x262)](_0x4b45d5['x'],_0x4b45d5['y']-_0x1bb607),_0x5cdb63[_0x653b72(0x1af)](_0x4b45d5['x'],_0x4b45d5['y']+_0x1bb607);}_0x5cdb63[_0x653b72(0x209)]();}_0xd3ae84&&(_0x5cdb63[_0x653b72(0x2d7)]=_0x3aa6c7[_0x653b72(0x3d6)],_0x5cdb63[_0x653b72(0x349)]=_0x3aa6c7['badgeFontWeight']+'\x20'+_0x3aa6c7[_0x653b72(0x482)]+_0x653b72(0x2b8)+_0x3aa6c7[_0x653b72(0x503)],_0x5cdb63[_0x653b72(0x4dc)]=_0x653b72(0x513),_0x5cdb63[_0x653b72(0x362)]=_0x653b72(0x1cd),_0x5cdb63[_0x653b72(0x162)](String(_0x4b45d5[_0x653b72(0x1e8)]),_0x4b45d5['x'],_0x4b45d5['y']));}),_0x5cdb63[_0x1ef927(0x343)](),this[_0x1ef927(0x31a)](!0x1),this);}};function _0x1a4b98(_0x573edf){const _0x3d8734=_0x5b4e73;return _0x573edf===_0x3d8734(0x521)||_0x573edf===_0x3d8734(0x202)||_0x573edf==='tree-alternate';}function _0x592108(_0x370be2){const _0x503d12=_0x5b4e73;return _0x370be2===_0x503d12(0x30f)||_0x370be2===_0x503d12(0x33c);}function _0x44a6df(_0x4f4807,_0x819820){const _0x49ffaa=_0x5b4e73;let _0x3197ab=Number[_0x49ffaa(0x25b)](_0x819820[_0x49ffaa(0x245)])&&_0x819820[_0x49ffaa(0x245)]>0x0?_0x819820['zoomRatio']:0x1;return{'x':Math[_0x49ffaa(0x347)]((_0x4f4807[_0x49ffaa(0x3aa)]-_0x819820['panOffset']['x'])/_0x3197ab),'y':Math[_0x49ffaa(0x347)]((_0x4f4807[_0x49ffaa(0x25c)]-_0x819820[_0x49ffaa(0x29f)]['y'])/_0x3197ab)};}let _0x12a4cd=class extends _0xd2d24[_0x5b4e73(0x260)]{constructor(_0x11a9fc,_0x1c68d1,_0x4b8097,_0x572e5c,_0x497e91,_0x436959,_0x5acba5,_0x4c36f2,_0x13ebb8){const _0x40082c=_0x5b4e73;super(),this[_0x40082c(0x4ec)]=_0x11a9fc,this[_0x40082c(0x4de)]=_0x1c68d1,this[_0x40082c(0x42f)]=_0x4b8097,this[_0x40082c(0x533)]=_0x572e5c,this['_commandService']=_0x497e91,this[_0x40082c(0x4e2)]=_0x436959,this[_0x40082c(0x1dc)]=_0x5acba5,this[_0x40082c(0x1c8)]=_0x4c36f2,this[_0x40082c(0x4d1)]=_0x13ebb8,_0x5ac814(this,_0x40082c(0x295),null),_0x5ac814(this,'_objectEventDisposables',null),_0x5ac814(this,_0x40082c(0x28d),null),_0x5ac814(this,_0x40082c(0x18d),null),this['_init']();}['_init'](){const _0x57bdf9=_0x5b4e73;var _0xb39157,_0x5af706,_0x231786;let {scene:_0x5e3ab}=this[_0x57bdf9(0x4ec)],_0x359e77=(_0xb39157=_0x5e3ab[_0x57bdf9(0x310)])==null?void 0x0:_0xb39157[_0x57bdf9(0x402)](_0x5e3ab);_0x359e77&&(this['disposeWithMe']((0x0,_0xd2d24[_0x57bdf9(0x181)])(_0x359e77[_0x57bdf9(0x2b0)][_0x57bdf9(0x3b0)]((0x0,_0x54b023[_0x57bdf9(0x33b)])(this[_0x57bdf9(0x1d6)]))[_0x57bdf9(0x187)](({objects:_0x548a1e})=>{const _0x507f80=_0x57bdf9;this[_0x507f80(0x1fa)](_0x548a1e,{'hideRootControls':!0x0});}))),this[_0x57bdf9(0x19b)]((0x0,_0xd2d24['toDisposable'])(_0x359e77[_0x57bdf9(0x183)][_0x57bdf9(0x3b0)]((0x0,_0x54b023['takeUntil'])(this[_0x57bdf9(0x1d6)]))['subscribe'](_0x51d00a=>{const _0x2df8df=_0x57bdf9;let _0x204273=_0x51d00a==null?void 0x0:_0x51d00a[_0x2df8df(0x4ba)];this['_syncControls'](_0x204273),setTimeout(()=>this[_0x2df8df(0x1fa)](_0x204273),0x0);})))),this[_0x57bdf9(0x19b)]((0x0,_0xd2d24[_0x57bdf9(0x181)])(this[_0x57bdf9(0x42f)][_0x57bdf9(0x3ed)][_0x57bdf9(0x3b0)]((0x0,_0x54b023[_0x57bdf9(0x33b)])(this[_0x57bdf9(0x1d6)]))['subscribe'](()=>this[_0x57bdf9(0x1fa)]()))),this['disposeWithMe']((0x0,_0xd2d24[_0x57bdf9(0x181)])(this[_0x57bdf9(0x533)][_0x57bdf9(0x3ed)][_0x57bdf9(0x3b0)]((0x0,_0x54b023[_0x57bdf9(0x33b)])(this[_0x57bdf9(0x1d6)]))[_0x57bdf9(0x187)](()=>this['_syncControls']()))),this['disposeWithMe']((0x0,_0xd2d24[_0x57bdf9(0x181)])(this['_boardElementService'][_0x57bdf9(0x369)][_0x57bdf9(0x3b0)]((0x0,_0x54b023[_0x57bdf9(0x33b)])(this['dispose$']))[_0x57bdf9(0x187)](_0x2f9748=>{const _0x36d0e3=_0x57bdf9;let _0x2442b9=this['_elementStateService'][_0x36d0e3(0x54d)]()[_0x36d0e3(0x252)];_0x2442b9&&_0x2f9748[_0x36d0e3(0x198)](_0x5b83ef=>_0x5b83ef[_0x36d0e3(0x560)]===_0x2442b9[_0x36d0e3(0x560)]&&_0x5b83ef[_0x36d0e3(0x1a0)]===_0x2442b9['subUnitId']&&(_0x5b83ef['elementId']===this[_0x36d0e3(0x28d)]||_0x5b83ef[_0x36d0e3(0x1f9)]===this[_0x36d0e3(0x18d)]))&&this[_0x36d0e3(0x1fa)]();}))),this[_0x57bdf9(0x19b)]((0x0,_0xd2d24[_0x57bdf9(0x181)])(this[_0x57bdf9(0x1c8)][_0x57bdf9(0x2fe)]['pipe']((0x0,_0x54b023[_0x57bdf9(0x33b)])(this[_0x57bdf9(0x1d6)]))[_0x57bdf9(0x187)](_0xed1c61=>{const _0x1119ba=_0x57bdf9;let _0xd62fb7=this[_0x1119ba(0x42f)]['getSnapshot']()[_0x1119ba(0x252)];_0xd62fb7&&_0xd62fb7[_0x1119ba(0x560)]===_0xed1c61['unitId']&&_0xd62fb7['subUnitId']===_0xed1c61[_0x1119ba(0x1a0)]&&(this[_0x1119ba(0x18d)]&&this['_activeScopeId']!==_0xed1c61[_0x1119ba(0x2e5)]||this[_0x1119ba(0x1fa)]());}))),this[_0x57bdf9(0x19b)]((0x0,_0xd2d24['toDisposable'])(_0x5e3ab[_0x57bdf9(0x271)][_0x57bdf9(0x215)](_0x31a0d9=>this[_0x57bdf9(0x354)](_0x31a0d9)))),this[_0x57bdf9(0x19b)]((0x0,_0xd2d24[_0x57bdf9(0x181)])(_0x5e3ab[_0x57bdf9(0x4a2)][_0x57bdf9(0x215)]({'priority':0x4,'next':([_0x2bfdcb,_0x57e52b])=>{const _0x21f4f9=_0x57bdf9;this[_0x21f4f9(0x40d)](_0x2bfdcb)&&this[_0x21f4f9(0x1ef)](_0x2bfdcb,_0x57e52b);}}))),this[_0x57bdf9(0x19b)]((0x0,_0xd2d24[_0x57bdf9(0x181)])(((_0x5af706=_0x5e3ab[_0x57bdf9(0x448)])==null?void 0x0:_0x5af706[_0x57bdf9(0x215)]({'priority':0x4,'next':([_0x3cde61,_0x3caead])=>{const _0x212194=_0x57bdf9;this[_0x212194(0x515)](_0x3cde61)&&this[_0x212194(0x1ef)](_0x3cde61,_0x3caead);}}))??{'dispose':()=>{}})),this['disposeWithMe']((0x0,_0xd2d24[_0x57bdf9(0x181)])(((_0x231786=_0x5e3ab[_0x57bdf9(0x2d3)])==null?void 0x0:_0x231786[_0x57bdf9(0x215)]({'priority':0x4,'next':([_0x1ec645,_0x583213])=>{const _0x2018aa=_0x57bdf9;this['_isControlEvent'](_0x1ec645)&&this[_0x2018aa(0x1ef)](_0x1ec645,_0x583213);}}))??{'dispose':()=>{}})),this['disposeWithMe']((0x0,_0xd2d24['toDisposable'])(()=>this[_0x57bdf9(0x195)]())),this[_0x57bdf9(0x1fa)]();}[_0x5b4e73(0x272)](){const _0x4dbb8b=_0x5b4e73;return this[_0x4dbb8b(0x295)]?this[_0x4dbb8b(0x295)]:(this[_0x4dbb8b(0x295)]=new _0x22ece5(_0x5044a6),this['_attachObjectEvents'](this[_0x4dbb8b(0x295)]),this[_0x4dbb8b(0x4ec)][_0x4dbb8b(0x397)]['addObject'](this[_0x4dbb8b(0x295)],_0x3ee6df),this[_0x4dbb8b(0x295)]);}[_0x5b4e73(0x527)](_0x2b554d){const _0x14d94c=_0x5b4e73;var _0x19d076;(_0x19d076=this[_0x14d94c(0x2bf)])==null||_0x19d076[_0x14d94c(0x1a9)]();let _0x83a0e1=new _0xd2d24[(_0x14d94c(0x3ae))]();_0x83a0e1[_0x14d94c(0x450)](_0x2b554d[_0x14d94c(0x4a2)][_0x14d94c(0x215)]({'priority':0x4,'next':([_0x54eb43,_0x2d96dc])=>{const _0x404ed1=_0x14d94c;this[_0x404ed1(0x40d)](_0x54eb43)&&this[_0x404ed1(0x1ef)](_0x54eb43,_0x2d96dc);}})),_0x83a0e1['add'](_0x2b554d[_0x14d94c(0x448)]['subscribeEvent']({'priority':0x4,'next':([_0x2197e5,_0x1152c4])=>{const _0x397c2e=_0x14d94c;this[_0x397c2e(0x515)](_0x2197e5)&&this[_0x397c2e(0x1ef)](_0x2197e5,_0x1152c4);}})),_0x83a0e1['add'](_0x2b554d['onDblclick$'][_0x14d94c(0x215)]({'priority':0x4,'next':([_0x30e9f3,_0x243f89])=>{const _0x73420b=_0x14d94c;this['_isControlEvent'](_0x30e9f3)&&this[_0x73420b(0x1ef)](_0x30e9f3,_0x243f89);}})),this['_objectEventDisposables']=_0x83a0e1;}[_0x5b4e73(0x195)](){const _0x5dca43=_0x5b4e73;var _0x30ef72;this[_0x5dca43(0x295)]&&(this[_0x5dca43(0x4ec)][_0x5dca43(0x397)]['removeObjects']([this[_0x5dca43(0x295)]]),(_0x30ef72=this[_0x5dca43(0x2bf)])==null||_0x30ef72[_0x5dca43(0x1a9)](),this['_objectEventDisposables']=null,this[_0x5dca43(0x295)]=null,this['_activeNodeId']=null,this['_activeScopeId']=null,this['_renderContext'][_0x5dca43(0x397)][_0x5dca43(0x31a)](!0x0));}[_0x5b4e73(0x1fa)](_0xcd1fe2,_0x292889){const _0x399a91=_0x5b4e73;var _0x580c4e,_0x2b7aac;if(this[_0x399a91(0x533)][_0x399a91(0x27b)]()[_0x399a91(0x1ba)]===_0x399a91(0x31c)){this[_0x399a91(0x195)]();return;}let _0x3f3aec=this['_elementStateService'][_0x399a91(0x54d)](),_0x466761=_0x3f3aec['context'],_0x45d783=_0x3f3aec[_0x399a91(0x54f)]??_0x3f3aec['selectedIds'][0x0];if(!_0x466761||!_0x45d783||_0x3f3aec[_0x399a91(0x179)][_0x399a91(0x2ce)]!==0x1){this['_removeObject']();return;}let _0x36ed06=this[_0x399a91(0x4de)]['getElementData'](_0x466761['unitId'],_0x466761[_0x399a91(0x1a0)]),_0x391358=_0x36ed06[_0x45d783],_0x25e8d5=(0x0,_0x27c3df[_0x399a91(0x429)])(_0x391358==null?void 0x0:_0x391358[_0x399a91(0x2dc)]);if(!_0x391358||!_0x25e8d5){this[_0x399a91(0x195)]();return;}let _0x58f98c=(0x0,_0x13e20e[_0x399a91(0x3e8)])(_0x466761[_0x399a91(0x560)],_0x45d783);if(_0x292889!=null&&_0x292889[_0x399a91(0x3e6)]&&_0x25e8d5['parentNodeId']==null&&_0xcd1fe2!=null&&_0xcd1fe2['has'](_0x58f98c)){this[_0x399a91(0x195)]();return;}let _0x278050=this[_0x399a91(0x471)](_0x36ed06,_0x466761['unitId'],_0x45d783,_0xcd1fe2);if(!_0x278050){this['_removeObject']();return;}let _0x1eb962=Object[_0x399a91(0x4fd)](_0x36ed06)[_0x399a91(0x4c1)](_0x48c08b=>{const _0x4ca235=_0x399a91;var _0x229baa;return((_0x229baa=(0x0,_0x27c3df[_0x4ca235(0x429)])(_0x48c08b[_0x4ca235(0x2dc)]))==null?void 0x0:_0x229baa['parentNodeId'])===_0x45d783;}),_0x85f108=_0x25e8d5[_0x399a91(0x2e8)]?this[_0x399a91(0x529)](_0x36ed06,_0x45d783):0x0;this[_0x399a91(0x28d)]=_0x45d783,this['_activeScopeId']=_0x25e8d5[_0x399a91(0x483)];let _0x128e37=(_0x580c4e=_0x36ed06[_0x25e8d5[_0x399a91(0x483)]])==null?void 0x0:_0x580c4e[_0x399a91(0x2dc)],_0x1d2bf8=(0x0,_0x27c3df[_0x399a91(0x184)])(_0x128e37),_0x2cd549=_0x128e37==null||(_0x2b7aac=_0x128e37[_0x399a91(0x496)])==null||(_0x2b7aac=_0x2b7aac[_0x399a91(0x4f5)])==null||(_0x2b7aac=_0x2b7aac['layout'])==null?void 0x0:_0x2b7aac['structureKind'],_0x14e153=(_0x1d2bf8==null?void 0x0:_0x1d2bf8['layout'][_0x399a91(0x2e7)])??_0x2cd549,_0x1d98da=_0x25e8d5[_0x399a91(0x279)]==null,_0x504423=this[_0x399a91(0x512)](_0x25e8d5[_0x399a91(0x2ff)],_0x1d98da,_0x14e153);this[_0x399a91(0x272)]()[_0x399a91(0x178)]({'controls':_0x1c2072({'bounds':_0x278050,'isRoot':_0x1d98da,'side':_0x504423,'rootChildSides':this[_0x399a91(0x542)](_0x1d98da,_0x14e153),'hasChildren':_0x1eb962[_0x399a91(0x2ce)]>0x0,'collapsedDescendantCount':_0x85f108})}),this[_0x399a91(0x4ec)]['scene']['makeDirty'](!0x0);}[_0x5b4e73(0x512)](_0x235b2a,_0x5c192a,_0x3e11bd){const _0x46d1e1=_0x5b4e73;return _0x3e11bd===_0x46d1e1(0x33c)?!_0x5c192a&&(_0x235b2a===_0x46d1e1(0x469)||_0x235b2a===_0x46d1e1(0x459))?_0x235b2a:_0x46d1e1(0x4ac):_0x3e11bd==='mindmap-vertical'?!_0x5c192a&&(_0x235b2a===_0x46d1e1(0x50b)||_0x235b2a==='bottom')?_0x235b2a:_0x46d1e1(0x4ac):_0x235b2a===_0x46d1e1(0x469)?_0x46d1e1(0x469):'right';}['_resolveRootChildControlSides'](_0x2a441c,_0x2bd9fd){const _0x44ba26=_0x5b4e73;if(_0x2a441c){if(_0x1a4b98(_0x2bd9fd))return[_0x44ba26(0x4ac)];if(_0x2bd9fd===_0x44ba26(0x30f))return['right'];if(_0x2bd9fd===_0x44ba26(0x33c))return[_0x44ba26(0x4ac)];}}[_0x5b4e73(0x43a)](_0xba2834){const _0x4a4472=_0x5b4e73;var _0x50c752,_0x335776;let _0x2e4f8c=this['_elementStateService']['getSnapshot']()['context'];if(!_0x2e4f8c||!this[_0x4a4472(0x28d)])return;let _0x444aeb=this['_boardElementService'][_0x4a4472(0x544)](_0x2e4f8c[_0x4a4472(0x560)],_0x2e4f8c['subUnitId']),_0x34f62f=(0x0,_0x27c3df[_0x4a4472(0x429)])((_0x50c752=_0x444aeb[this[_0x4a4472(0x28d)]])==null?void 0x0:_0x50c752[_0x4a4472(0x2dc)]),_0x2d17c7=_0x34f62f?(0x0,_0x27c3df['getMindMapContainerMeta'])((_0x335776=_0x444aeb[_0x34f62f[_0x4a4472(0x483)]])==null?void 0x0:_0x335776['element']):null;if((_0x34f62f==null?void 0x0:_0x34f62f[_0x4a4472(0x279)])!=null||!_0x1a4b98(_0x2d17c7==null?void 0x0:_0x2d17c7[_0x4a4472(0x52b)][_0x4a4472(0x2e7)])&&!_0x592108(_0x2d17c7==null?void 0x0:_0x2d17c7['layout'][_0x4a4472(0x2e7)]))return _0xba2834==='add-child-left'?_0x4a4472(0x469):_0xba2834==='add-child-top'?_0x4a4472(0x50b):_0xba2834===_0x4a4472(0x399)?'bottom':_0x4a4472(0x459);}[_0x5b4e73(0x471)](_0x3fb65f,_0x5e3423,_0x4fd68f,_0x585bb5){const _0x46cb75=_0x5b4e73;var _0x4818f8,_0x4daf00;let _0x55aa4e=(0x0,_0x13e20e[_0x46cb75(0x3e8)])(_0x5e3423,_0x4fd68f),_0x1f26f5=_0x585bb5==null?void 0x0:_0x585bb5['get'](_0x55aa4e),_0x22ac02=this['_toFiniteBounds'](_0x1f26f5);if(_0x22ac02)return _0x22ac02;let _0x1b6284=this['_renderContext'][_0x46cb75(0x397)],_0x4b7fb9=((_0x4818f8=_0x1b6284[_0x46cb75(0x31d)])==null?void 0x0:_0x4818f8[_0x46cb75(0x402)](_0x1b6284,_0x55aa4e))??((_0x4daf00=_0x1b6284['getObject'])==null?void 0x0:_0x4daf00['call'](_0x1b6284,_0x55aa4e));return this[_0x46cb75(0x1b8)](_0x4b7fb9)||(0x0,_0x38c4c0[_0x46cb75(0x530)])(_0x3fb65f,_0x4fd68f);}[_0x5b4e73(0x1b8)](_0x14bcb2){const _0x45964e=_0x5b4e73;return _0x14bcb2&&Number[_0x45964e(0x25b)](_0x14bcb2[_0x45964e(0x469)])&&Number[_0x45964e(0x25b)](_0x14bcb2[_0x45964e(0x50b)])&&Number[_0x45964e(0x25b)](_0x14bcb2[_0x45964e(0x351)])&&Number[_0x45964e(0x25b)](_0x14bcb2[_0x45964e(0x3c7)])?{'left':_0x14bcb2[_0x45964e(0x469)],'top':_0x14bcb2[_0x45964e(0x50b)],'width':_0x14bcb2[_0x45964e(0x351)],'height':_0x14bcb2[_0x45964e(0x3c7)]}:null;}[_0x5b4e73(0x529)](_0x9a95da,_0x11e88c){const _0x29702e=_0x5b4e73;return Object[_0x29702e(0x4fd)](_0x9a95da)['filter'](_0x4cc0be=>{const _0x28d688=_0x29702e;var _0x13d6f6;return((_0x13d6f6=(0x0,_0x27c3df[_0x28d688(0x429)])(_0x4cc0be[_0x28d688(0x2dc)]))==null?void 0x0:_0x13d6f6['parentNodeId'])===_0x11e88c;})['reduce']((_0x5252df,_0x291517)=>_0x5252df+0x1+this['_countDescendants'](_0x9a95da,_0x291517[_0x29702e(0x1f9)]),0x0);}[_0x5b4e73(0x354)](_0x4c0578){const _0xa9c147=_0x5b4e73;if(!this[_0xa9c147(0x295)])return;let _0x440e4a=this[_0xa9c147(0x533)][_0xa9c147(0x27b)](),_0x3307dc=_0x44a6df(_0x4c0578,{'panOffset':_0x440e4a[_0xa9c147(0x2fa)],'zoomRatio':_0x440e4a['zoomRatio']});this[_0xa9c147(0x295)]['setHoveredControl'](this[_0xa9c147(0x295)][_0xa9c147(0x382)](_0x3307dc,_0x4c0578[_0xa9c147(0x47d)]));}[_0x5b4e73(0x40d)](_0x4fc1d0){const _0x4b47b8=_0x5b4e73;if(!this[_0x4b47b8(0x295)]||!this['_activeNodeId']||(_0x4fc1d0[_0x4b47b8(0x3c4)]??0x0)!==0x0)return!0x1;let _0x54f325=this[_0x4b47b8(0x42f)][_0x4b47b8(0x54d)]()[_0x4b47b8(0x252)];if(!_0x54f325)return!0x1;let _0x34c905=this[_0x4b47b8(0x533)]['getState'](),_0x594b1f=_0x44a6df(_0x4fc1d0,{'panOffset':_0x34c905[_0x4b47b8(0x2fa)],'zoomRatio':_0x34c905[_0x4b47b8(0x245)]}),_0x5ee8f7=this['_object'][_0x4b47b8(0x382)](_0x594b1f,_0x4fc1d0[_0x4b47b8(0x47d)]);if(!_0x5ee8f7)return!0x1;if(_0x5ee8f7[_0x4b47b8(0x466)]==='toggle-collapse')return this['_executeAndLayout'](_0x27c3df[_0x4b47b8(0x514)]['id'],{'unitId':_0x54f325[_0x4b47b8(0x560)],'subUnitId':_0x54f325[_0x4b47b8(0x1a0)],'nodeId':this['_activeNodeId']}),!0x0;if(_0x5ee8f7['kind']===_0x4b47b8(0x439)||_0x5ee8f7[_0x4b47b8(0x466)]==='add-child-right'||_0x5ee8f7[_0x4b47b8(0x466)]===_0x4b47b8(0x189)||_0x5ee8f7[_0x4b47b8(0x466)]==='add-child-bottom'){let _0xcef7af=(0x0,_0xd2d24[_0x4b47b8(0x1e1)])(0x6);return this[_0x4b47b8(0x505)](_0x27c3df['AddMindMapChildOperation']['id'],{'unitId':_0x54f325[_0x4b47b8(0x560)],'subUnitId':_0x54f325[_0x4b47b8(0x1a0)],'parentNodeId':this[_0x4b47b8(0x28d)],'side':this[_0x4b47b8(0x43a)](_0x5ee8f7['kind']),'nodeId':_0xcef7af,'connectorId':(0x0,_0xd2d24['generateRandomId'])(0x6),'text':this['_localeService']['t']('boards-mind-ui.panel.addText')},_0xcef7af),!0x0;}if(_0x5ee8f7[_0x4b47b8(0x466)]===_0x4b47b8(0x499)||_0x5ee8f7[_0x4b47b8(0x466)]===_0x4b47b8(0x479)){let _0x44fc75=(0x0,_0xd2d24[_0x4b47b8(0x1e1)])(0x6);return this[_0x4b47b8(0x505)](_0x27c3df['AddMindMapSiblingOperation']['id'],{'unitId':_0x54f325[_0x4b47b8(0x560)],'subUnitId':_0x54f325[_0x4b47b8(0x1a0)],'nodeId':this['_activeNodeId'],'placement':_0x5ee8f7[_0x4b47b8(0x207)]??(_0x5ee8f7[_0x4b47b8(0x466)]===_0x4b47b8(0x499)?_0x4b47b8(0x3e4):_0x4b47b8(0x2a6)),'siblingNodeId':_0x44fc75,'connectorId':(0x0,_0xd2d24[_0x4b47b8(0x1e1)])(0x6),'text':this['_localeService']['t'](_0x4b47b8(0x4e5))},_0x44fc75),!0x0;}return!0x0;}[_0x5b4e73(0x515)](_0x2c9a1b){const _0xe7e256=_0x5b4e73;if(!this[_0xe7e256(0x295)]||(_0x2c9a1b[_0xe7e256(0x3c4)]??0x0)!==0x0)return!0x1;let _0x48d831=this['_stateService'][_0xe7e256(0x27b)](),_0x4bc25d=_0x44a6df(_0x2c9a1b,{'panOffset':_0x48d831['viewportPanOffset'],'zoomRatio':_0x48d831[_0xe7e256(0x245)]});return!!this[_0xe7e256(0x295)][_0xe7e256(0x382)](_0x4bc25d,_0x2c9a1b[_0xe7e256(0x47d)]);}[_0x5b4e73(0x1ef)](_0x1a7062,_0x119408){const _0x25e9a9=_0x5b4e73;var _0x313e23,_0x4f8a80;_0x119408[_0x25e9a9(0x29c)](),(_0x313e23=_0x1a7062[_0x25e9a9(0x433)])==null||_0x313e23['call'](_0x1a7062),(_0x4f8a80=_0x1a7062[_0x25e9a9(0x29c)])==null||_0x4f8a80['call'](_0x1a7062);}[_0x5b4e73(0x2f4)](_0x36ea14,_0x5c7b25){const _0x22741e=_0x5b4e73;let _0x28bdab=this[_0x22741e(0x18d)];this[_0x22741e(0x4d1)][_0x22741e(0x2df)](_0x5c7b25[_0x22741e(0x560)],()=>{const _0x598639=_0x22741e;this[_0x598639(0x316)][_0x598639(0x1fe)](_0x36ea14,_0x5c7b25)&&_0x28bdab&&(this[_0x598639(0x316)][_0x598639(0x1fe)](_0x27c3df[_0x598639(0x508)]['id'],{'unitId':_0x5c7b25[_0x598639(0x560)],'subUnitId':_0x5c7b25[_0x598639(0x1a0)],'scopeId':_0x28bdab}),this[_0x598639(0x1fa)]());});}['_executeCreateAndEdit'](_0x33a6f1,_0x2efde2,_0x352594){const _0x347794=_0x5b4e73;let _0x504dee={'unitId':_0x2efde2['unitId'],'subUnitId':_0x2efde2['subUnitId']},_0x5b4571=this[_0x347794(0x316)][_0x347794(0x359)](_0x33a6f1,_0x2efde2);Promise[_0x347794(0x4fc)](_0x5b4571)[_0x347794(0x352)](_0x39d4aa=>{const _0x4df3c7=_0x347794;_0x39d4aa&&(this['_syncControls'](),this['_elementStateService'][_0x4df3c7(0x19a)](_0x504dee,[_0x352594],_0x352594),this[_0x4df3c7(0x4e2)][_0x4df3c7(0x3a1)](),this[_0x4df3c7(0x4e2)]['setEditing']({..._0x504dee,'shapeId':_0x352594,'shapeKey':(0x0,_0x13e20e[_0x4df3c7(0x3e8)])(_0x504dee[_0x4df3c7(0x560)],_0x352594),'visible':!0x0}));});}};_0x12a4cd=_0x2d6c5f([_0x1c54fc(0x1,(0x0,_0xd2d24[_0x5b4e73(0x165)])(_0x38c4c0[_0x5b4e73(0x494)])),_0x1c54fc(0x2,(0x0,_0xd2d24[_0x5b4e73(0x165)])(_0x13e20e[_0x5b4e73(0x1ad)])),_0x1c54fc(0x3,(0x0,_0xd2d24[_0x5b4e73(0x165)])(_0x13e20e[_0x5b4e73(0x28e)])),_0x1c54fc(0x4,_0xd2d24[_0x5b4e73(0x4f0)]),_0x1c54fc(0x5,(0x0,_0xd2d24[_0x5b4e73(0x165)])(_0x13e20e[_0x5b4e73(0x1db)])),_0x1c54fc(0x6,(0x0,_0xd2d24[_0x5b4e73(0x165)])(_0xd2d24[_0x5b4e73(0x1b7)])),_0x1c54fc(0x7,(0x0,_0xd2d24['Inject'])(_0x6de7d6)),_0x1c54fc(0x8,(0x0,_0xd2d24[_0x5b4e73(0x165)])(_0x2d1a98[_0x5b4e73(0x488)]))],_0x12a4cd);let _0x2db43a='FOCUSING_MIND_MAP_TEXT_EDITOR',_0x47759b=class extends _0xd2d24[_0x5b4e73(0x260)]{constructor(_0x53ef6b,_0x4163dd){const _0xbc3848=_0x5b4e73;super(),this[_0xbc3848(0x316)]=_0x53ef6b,this[_0xbc3848(0x264)]=_0x4163dd,this[_0xbc3848(0x1f6)]();}['_init'](){const _0x2dfa23=_0x5b4e73;this[_0x2dfa23(0x19b)](this[_0x2dfa23(0x264)]['registerShortcut'](this[_0x2dfa23(0x441)]()));}[_0x5b4e73(0x441)](){const _0x221b7d=_0x5b4e73;return{'id':_0x514536[_0x221b7d(0x1e2)],'binding':_0x2d1a98['KeyCode'][_0x221b7d(0x16f)]|_0x2d1a98[_0x221b7d(0x3cc)]['SHIFT'],'priority':0x3e8,'preconditions':_0x3f6b47=>_0x3f6b47['getContextValue']('FOCUSING_MIND_MAP_TEXT_EDITOR')&&this[_0x221b7d(0x316)][_0x221b7d(0x1ce)](_0x514536[_0x221b7d(0x1e2)])};}};_0x47759b=_0x2d6c5f([_0x1c54fc(0x0,_0xd2d24[_0x5b4e73(0x4f0)]),_0x1c54fc(0x1,_0x2d1a98[_0x5b4e73(0x1bf)])],_0x47759b);let _0x581d52=[_0x390f61,_0x58ede9,_0x2db43a],_0x55781f=class extends _0xd2d24['RxDisposable']{constructor(_0x5bf61b,_0x45a11b,_0x36f4a6,_0x4d7a20,_0x173493){const _0x5c6893=_0x5b4e73;super(),this[_0x5c6893(0x4ec)]=_0x5bf61b,this[_0x5c6893(0x4de)]=_0x45a11b,this['_elementStateService']=_0x36f4a6,this[_0x5c6893(0x1e6)]=_0x4d7a20,this[_0x5c6893(0x325)]=_0x173493,_0x5ac814(this,_0x5c6893(0x543),!0x1),this[_0x5c6893(0x19b)]((0x0,_0xd2d24[_0x5c6893(0x181)])(this[_0x5c6893(0x4ec)][_0x5c6893(0x38a)][_0x5c6893(0x3b0)]((0x0,_0x54b023['takeUntil'])(this[_0x5c6893(0x1d6)]))[_0x5c6893(0x187)](_0x5ef163=>{const _0x44168b=_0x5c6893;this[_0x44168b(0x543)]=_0x5ef163,this['_syncContext']();}))),this[_0x5c6893(0x19b)]((0x0,_0xd2d24[_0x5c6893(0x181)])(this[_0x5c6893(0x42f)][_0x5c6893(0x3ed)][_0x5c6893(0x3b0)]((0x0,_0x54b023['takeUntil'])(this[_0x5c6893(0x1d6)]))['subscribe'](()=>{const _0x24a349=_0x5c6893;this[_0x24a349(0x52c)]();}))),this[_0x5c6893(0x19b)]((0x0,_0xd2d24[_0x5c6893(0x181)])(this[_0x5c6893(0x1e6)][_0x5c6893(0x440)][_0x5c6893(0x3b0)]((0x0,_0x54b023[_0x5c6893(0x33b)])(this[_0x5c6893(0x1d6)]))['subscribe'](()=>{const _0x9b47cc=_0x5c6893;this[_0x9b47cc(0x52c)]();}))),this[_0x5c6893(0x52c)]();}[_0x5b4e73(0x52c)](){const _0x3f67b9=_0x5b4e73;var _0x1b4327,_0x7c61ed;let _0x2bbae4=this['_elementStateService']['getSnapshot'](),_0x2cbb8a=this[_0x3f67b9(0x1e6)][_0x3f67b9(0x18f)](),_0x3471a3=_0x2cbb8a!=null&&_0x2cbb8a[_0x3f67b9(0x248)]?_0x2cbb8a[_0x3f67b9(0x45c)]:_0x2bbae4[_0x3f67b9(0x20f)],_0x747f21=_0x2bbae4['focusedId']??_0x2bbae4[_0x3f67b9(0x179)][0x0],_0x23ed92=_0x2bbae4[_0x3f67b9(0x252)]??{'unitId':this[_0x3f67b9(0x4ec)][_0x3f67b9(0x560)],'subUnitId':this[_0x3f67b9(0x4ec)][_0x3f67b9(0x4e8)][_0x3f67b9(0x2c6)]()},_0x1f58f0=this[_0x3f67b9(0x543)]&&!!_0x747f21&&_0x2bbae4[_0x3f67b9(0x179)][_0x3f67b9(0x2ce)]===0x1&&!_0x3471a3&&!_0x2bbae4['isTransforming'],_0x181a43=this[_0x3f67b9(0x543)]?this['_boardElementService'][_0x3f67b9(0x544)](_0x23ed92[_0x3f67b9(0x560)],_0x23ed92[_0x3f67b9(0x1a0)]):{};this[_0x3f67b9(0x325)][_0x3f67b9(0x4bd)](_0x390f61,_0x1f58f0&&!!(0x0,_0x27c3df['getMindMapNodeMeta'])((_0x1b4327=_0x181a43[_0x747f21])==null?void 0x0:_0x1b4327[_0x3f67b9(0x2dc)])),this[_0x3f67b9(0x325)][_0x3f67b9(0x4bd)](_0x58ede9,this['_isActive']&&_0x2bbae4[_0x3f67b9(0x179)]['length']===0x0&&!_0x2bbae4['focusedId']&&!_0x3471a3&&!_0x2bbae4[_0x3f67b9(0x222)]),this[_0x3f67b9(0x325)][_0x3f67b9(0x4bd)](_0x2db43a,!!_0x3471a3&&!!(0x0,_0x27c3df['getMindMapNodeMeta'])((_0x7c61ed=_0x181a43[_0x3471a3])==null?void 0x0:_0x7c61ed[_0x3f67b9(0x2dc)]));}[_0x5b4e73(0x1a9)](){const _0x4ea1e6=_0x5b4e73;this[_0x4ea1e6(0x432)](),super[_0x4ea1e6(0x1a9)]();}[_0x5b4e73(0x432)](){const _0xf5ca8f=_0x5b4e73;_0x581d52['forEach'](_0x1ee85b=>this[_0xf5ca8f(0x325)][_0xf5ca8f(0x4bd)](_0x1ee85b,!0x1));}};_0x55781f=_0x2d6c5f([_0x1c54fc(0x1,(0x0,_0xd2d24[_0x5b4e73(0x165)])(_0x38c4c0[_0x5b4e73(0x494)])),_0x1c54fc(0x2,(0x0,_0xd2d24['Inject'])(_0x13e20e[_0x5b4e73(0x1ad)])),_0x1c54fc(0x3,(0x0,_0xd2d24[_0x5b4e73(0x165)])(_0x13e20e[_0x5b4e73(0x1db)])),_0x1c54fc(0x4,_0xd2d24['IContextService'])],_0x55781f);var _0x428a37=class extends _0x14ec57{async['_handlePointerDown'](_0x4ff4d8,_0x3f2ab1,_0x46cff5){await this['_insertMindMap'](_0x4ff4d8,_0x3f2ab1,_0x46cff5);}};let _0x1b8986={'id':'board.operation.mind-map.open-panel','type':_0xd2d24[_0x5b4e73(0x355)]['OPERATION'],'handler':(_0x23d615,_0x2c288e)=>!!(_0x2c288e!=null&&_0x2c288e[_0x5b4e73(0x560)])&&!!_0x2c288e[_0x5b4e73(0x1a0)]&&!!_0x2c288e[_0x5b4e73(0x2e5)]},_0x42d8e3=_0x5b4e73(0x172),_0x2fb448=[_0x5b4e73(0x341),_0x5b4e73(0x52b),_0x5b4e73(0x2e3)];_0x27c3df[_0x5b4e73(0x51e)][_0x5b4e73(0x388)],_0x27c3df[_0x5b4e73(0x51e)][_0x5b4e73(0x366)],_0x27c3df[_0x5b4e73(0x51e)][_0x5b4e73(0x20d)];let _0x86fdb5=[{'labelKey':_0x5b4e73(0x1c6),'key':_0x5b4e73(0x388),..._0x27c3df[_0x5b4e73(0x2a9)]['horizontalGap']},{'labelKey':_0x5b4e73(0x15d),'key':'siblingGap',..._0x27c3df[_0x5b4e73(0x2a9)][_0x5b4e73(0x366)]},{'labelKey':_0x5b4e73(0x292),'key':_0x5b4e73(0x20d),..._0x27c3df['MIND_MAP_LAYOUT_SPACING_LIMITS']['branchGap']}],_0x1ae1df=[{'labelKey':_0x5b4e73(0x1bb),'value':_0x5b4e73(0x459)},{'labelKey':_0x5b4e73(0x457),'value':_0x5b4e73(0x469)},{'labelKey':_0x5b4e73(0x2ea),'value':_0x5b4e73(0x238)}],_0x184633=[{'labelKey':'boards-mind-ui.panel.structureKind.mindmapHorizontal','value':_0x5b4e73(0x1a8)},{'labelKey':_0x5b4e73(0x537),'value':_0x5b4e73(0x2a2)},{'labelKey':'boards-mind-ui.panel.structureKind.treeRight','value':_0x5b4e73(0x202)},{'labelKey':_0x5b4e73(0x29a),'value':_0x5b4e73(0x521)},{'labelKey':_0x5b4e73(0x2b7),'value':_0x5b4e73(0x40b)},{'labelKey':_0x5b4e73(0x3dd),'value':_0x5b4e73(0x30f)},{'labelKey':_0x5b4e73(0x276),'value':_0x5b4e73(0x33c)}],_0x4a7262=[{'labelKey':_0x5b4e73(0x3e0),'value':'curve'},{'labelKey':_0x5b4e73(0x303),'value':_0x5b4e73(0x370)},{'labelKey':_0x5b4e73(0x4ca),'value':_0x5b4e73(0x3cd)}];function _0x4e8908(_0x4a7b04){const _0x51419c=_0x5b4e73;let _0x240825=(_0x4a7b04==null?void 0x0:_0x4a7b04[_0x51419c(0x2e7)])??_0x27c3df[_0x51419c(0x51e)][_0x51419c(0x2e7)];return{'spacing':{'horizontalGap':(_0x4a7b04==null?void 0x0:_0x4a7b04['horizontalGap'])??_0x27c3df[_0x51419c(0x51e)]['horizontalGap'],'siblingGap':(_0x4a7b04==null?void 0x0:_0x4a7b04[_0x51419c(0x366)])??_0x27c3df[_0x51419c(0x51e)][_0x51419c(0x366)],'branchGap':(_0x4a7b04==null?void 0x0:_0x4a7b04[_0x51419c(0x20d)])??_0x27c3df[_0x51419c(0x51e)]['branchGap']},'direction':(_0x4a7b04==null?void 0x0:_0x4a7b04[_0x51419c(0x52d)])??_0x27c3df['MIND_MAP_DEFAULT_LAYOUT'][_0x51419c(0x52d)],'structureKind':_0x240825,'branchLineType':(0x0,_0x27c3df[_0x51419c(0x523)])(_0x240825,_0x4a7b04==null?void 0x0:_0x4a7b04[_0x51419c(0x39e)])};}async function _0x1254ef(_0x4b997c,_0x41469b){const _0x27296c=_0x5b4e73;return await Promise['resolve'](_0x4b997c[_0x27296c(0x359)](_0x27c3df[_0x27296c(0x414)]['id'],_0x41469b))?(await Promise[_0x27296c(0x4fc)](_0x4b997c[_0x27296c(0x359)](_0x27c3df[_0x27296c(0x508)]['id'],{'unitId':_0x41469b[_0x27296c(0x560)],'subUnitId':_0x41469b[_0x27296c(0x1a0)],'scopeId':_0x41469b['scopeId']})),!0x0):!0x1;}async function _0x15ad7a(_0x11c8c8,_0x214926){const _0x4a9189=_0x5b4e73;return await Promise['resolve'](_0x11c8c8['executeCommand'](_0x27c3df[_0x4a9189(0x371)]['id'],_0x214926))?(await Promise[_0x4a9189(0x4fc)](_0x11c8c8[_0x4a9189(0x359)](_0x27c3df[_0x4a9189(0x508)]['id'],{'unitId':_0x214926['unitId'],'subUnitId':_0x214926[_0x4a9189(0x1a0)],'scopeId':_0x214926[_0x4a9189(0x2e5)]})),!0x0):!0x1;}async function _0xf5234f(_0xce6708,_0x4b9d58){const _0x2673fa=_0x5b4e73;return await Promise[_0x2673fa(0x4fc)](_0xce6708[_0x2673fa(0x359)](_0x27c3df[_0x2673fa(0x414)]['id'],{'unitId':_0x4b9d58[_0x2673fa(0x560)],'subUnitId':_0x4b9d58['subUnitId'],'scopeId':_0x4b9d58[_0x2673fa(0x2e5)],..._0x4b9d58['horizontalGap']===void 0x0?{}:{'horizontalGap':_0x4b9d58[_0x2673fa(0x388)]},..._0x4b9d58['siblingGap']===void 0x0?{}:{'siblingGap':_0x4b9d58[_0x2673fa(0x366)]},..._0x4b9d58[_0x2673fa(0x20d)]===void 0x0?{}:{'branchGap':_0x4b9d58[_0x2673fa(0x20d)]}}))?(await Promise[_0x2673fa(0x4fc)](_0xce6708[_0x2673fa(0x359)](_0x27c3df[_0x2673fa(0x508)]['id'],{'unitId':_0x4b9d58[_0x2673fa(0x560)],'subUnitId':_0x4b9d58['subUnitId'],'scopeId':_0x4b9d58['scopeId']})),!0x0):!0x1;}async function _0x1c3306(_0x2e171a,_0x2a33bb){const _0x815044=_0x5b4e73;return _0x2a33bb[_0x815044(0x555)]===_0x2a33bb[_0x815044(0x26d)]||!await Promise[_0x815044(0x4fc)](_0x2e171a[_0x815044(0x359)](_0x27c3df['ReparentMindMapNodeOperation']['id'],{'unitId':_0x2a33bb[_0x815044(0x560)],'subUnitId':_0x2a33bb[_0x815044(0x1a0)],'nodeId':_0x2a33bb[_0x815044(0x555)],'targetNodeId':_0x2a33bb[_0x815044(0x26d)],'referenceNodeId':_0x2a33bb[_0x815044(0x26d)],'placement':_0x2a33bb[_0x815044(0x207)]}))?!0x1:(await Promise[_0x815044(0x4fc)](_0x2e171a[_0x815044(0x359)](_0x27c3df[_0x815044(0x508)]['id'],{'unitId':_0x2a33bb[_0x815044(0x560)],'subUnitId':_0x2a33bb[_0x815044(0x1a0)],'scopeId':_0x2a33bb[_0x815044(0x2e5)]})),!0x0);}async function _0x46fc57(_0x2a7a29,_0x4171ee){const _0x1c84de=_0x5b4e73;let _0x67386b=_0x4171ee[_0x1c84de(0x31b)][_0x1c84de(0x35b)]();return!_0x67386b||!await Promise[_0x1c84de(0x4fc)](_0x2a7a29[_0x1c84de(0x359)](_0x27c3df[_0x1c84de(0x3fa)]['id'],{'unitId':_0x4171ee[_0x1c84de(0x560)],'subUnitId':_0x4171ee[_0x1c84de(0x1a0)],'nodeId':_0x4171ee[_0x1c84de(0x555)],'text':_0x67386b}))?!0x1:(await Promise['resolve'](_0x2a7a29[_0x1c84de(0x359)](_0x27c3df[_0x1c84de(0x508)]['id'],{'unitId':_0x4171ee[_0x1c84de(0x560)],'subUnitId':_0x4171ee[_0x1c84de(0x1a0)],'scopeId':_0x4171ee[_0x1c84de(0x2e5)]})),!0x0);}async function _0x125403(_0x3e907d){const _0x832bd=_0x5b4e73;var _0x45904c;let _0x54fa03=(_0x45904c=globalThis[_0x832bd(0x1b0)])==null?void 0x0:_0x45904c[_0x832bd(0x4f2)];return _0x54fa03!=null&&_0x54fa03['writeText']?(await _0x54fa03[_0x832bd(0x2c5)](_0x3e907d),!0x0):!0x1;}async function _0x4ba273(_0x3915ed,_0x4ff142,_0x59e860=_0x125403){const _0x40d66d=_0x5b4e73;let _0x3b9f6f=await Promise['resolve'](_0x3915ed[_0x40d66d(0x359)](_0x27c3df[_0x40d66d(0x364)]['id'],_0x4ff142));if(typeof _0x3b9f6f!=_0x40d66d(0x2fc)||!_0x3b9f6f)return!0x1;try{return await _0x59e860(_0x3b9f6f)!==!0x1;}catch{return!0x1;}}async function _0x433f5c(_0x45164b,_0xbcfee3){const _0x591992=_0x5b4e73;return _0xbcfee3[_0x591992(0x19d)][_0x591992(0x35b)]()?(await _0x45164b['executeCommand'](_0x27c3df[_0x591992(0x346)]['id'],_0xbcfee3))[_0x591992(0x2e4)]:!0x1;}function _0x2a0c60(_0x1ceb25,_0x145479){const _0x2d6a00=_0x5b4e73;let _0x3377ae=_0x2d6a00(0x4bb)in _0x1ceb25['element']?_0x1ceb25['element'][_0x2d6a00(0x4bb)][_0x2d6a00(0x4c7)]:void 0x0;return(_0x3377ae==null?void 0x0:_0x3377ae[_0x2d6a00(0x31b)])||_0x145479;}function _0x158a7f(_0x5e08d7,_0x12ad38,_0x1fbe77=_0x27c3df['MIND_MAP_DEFAULT_NODE_TEXT']){const _0x4b7651=_0x5b4e73;let _0x218285=Object['values'](_0x5e08d7)['map'](_0x4a5a41=>{const _0x262996=_0x4e16;let _0x3ffa1e=(0x0,_0x27c3df[_0x262996(0x429)])(_0x4a5a41['element']);return(_0x3ffa1e==null?void 0x0:_0x3ffa1e['structureScopeId'])===_0x12ad38?{'data':_0x4a5a41,'meta':_0x3ffa1e}:null;})['filter'](_0x5c1045=>!!_0x5c1045),_0x2e1a62=new Map();_0x218285[_0x4b7651(0x2de)](_0x407230=>{const _0xcc01dc=_0x4b7651;let _0x42a996=_0x407230[_0xcc01dc(0x234)][_0xcc01dc(0x279)];_0x2e1a62[_0xcc01dc(0x421)](_0x42a996,[..._0x2e1a62[_0xcc01dc(0x49c)](_0x42a996)??[],_0x407230]);}),_0x2e1a62[_0x4b7651(0x2de)](_0x57ba11=>{const _0x452097=_0x4b7651;_0x57ba11[_0x452097(0x350)]((_0x8d1b43,_0x5c67da)=>(0x0,_0x27c3df[_0x452097(0x49b)])(_0x8d1b43['meta'][_0x452097(0x23f)],_0x5c67da[_0x452097(0x234)]['orderKey'])||_0x8d1b43['data'][_0x452097(0x1f9)][_0x452097(0x243)](_0x5c67da['data'][_0x452097(0x1f9)]));});let _0x26cc15=[],_0x52366f=(_0x7df904,_0x9474d0)=>{const _0x34a7b4=_0x4b7651;(_0x2e1a62[_0x34a7b4(0x49c)](_0x7df904)??[])[_0x34a7b4(0x2de)](_0x8c5903=>{const _0x560ed1=_0x34a7b4;_0x26cc15[_0x560ed1(0x48a)]({'nodeId':_0x8c5903[_0x560ed1(0x170)][_0x560ed1(0x1f9)],'depth':_0x9474d0,'text':_0x2a0c60(_0x8c5903[_0x560ed1(0x170)],_0x1fbe77)}),_0x52366f(_0x8c5903['data'][_0x560ed1(0x1f9)],_0x9474d0+0x1);});};return _0x52366f(null,0x0),_0x26cc15;}function _0x205912(_0x488994,_0x3e5d6b){const _0x4ec6ff=_0x5b4e73;let _0xdf6c11=_0x3e5d6b['trim']()[_0x4ec6ff(0x15b)]();return _0xdf6c11?_0x488994[_0x4ec6ff(0x4c1)](_0x1ab54d=>_0x1ab54d['text'][_0x4ec6ff(0x15b)]()[_0x4ec6ff(0x1b3)](_0xdf6c11)):_0x488994;}function _0x19f1be(_0x32f708){return{'paddingInlineStart':0x8+(Number['isFinite'](_0x32f708)&&_0x32f708>0x0?_0x32f708:0x0)*0x10};}function _0x2d08cd(_0x3057a1){const _0x1f1b7c=_0x5b4e73;return(0x0,_0x54cfef[_0x1f1b7c(0x298)])(_0x7217a3[_0x1f1b7c(0x3c0)],{'className':'univer-w-full\x20univer-text-xs',..._0x3057a1});}function _0xbf8df6(_0x1dedc5){const _0x231bff=_0x5b4e73;return(0x0,_0x54cfef['jsxs'])(_0x231bff(0x39f),{'className':(0x0,_0x7217a3['clsx'])(_0x231bff(0x3e2),_0x7217a3['borderClassName']),'data-board-mind-map-panel-section':_0x231bff(0x2ca),'children':[(0x0,_0x54cfef[_0x231bff(0x298)])('h3',{'className':_0x231bff(0x24c),'children':_0x1dedc5[_0x231bff(0x25a)]}),_0x1dedc5[_0x231bff(0x535)]]});}function _0x3f007e(_0x524134,_0x237948='structure'){const _0x10368e=_0x5b4e73;var _0x2a9ff3,_0x590fed,_0x18819f;let _0x2d95de=(0x0,_0x2d1a98[_0x10368e(0x169)])(_0xd2d24[_0x10368e(0x4f0)]),_0x19ccf0=(0x0,_0x2d1a98[_0x10368e(0x169)])(_0x13e20e[_0x10368e(0x1ad)]),_0x4f66f5=(0x0,_0x2d1a98[_0x10368e(0x169)])(_0x38c4c0[_0x10368e(0x494)]),_0x3c58e9=(0x0,_0x2d1a98[_0x10368e(0x169)])(_0xd2d24['LocaleService']),[,_0x4d1b08]=(0x0,_0x37caaf[_0x10368e(0x463)])(_0x1c4efc=>_0x1c4efc+0x1,0x0);(0x0,_0x37caaf[_0x10368e(0x401)])(()=>{const _0x90d879=_0x10368e;let _0x57cfe2=(0x0,_0x54b023['merge'])(_0x4f66f5[_0x90d879(0x15f)],_0x4f66f5[_0x90d879(0x369)],_0x4f66f5[_0x90d879(0x3b2)])[_0x90d879(0x187)](_0x19371b=>{const _0x119ea7=_0x90d879;_0x19371b[_0x119ea7(0x198)](_0x30c3b4=>_0x30c3b4[_0x119ea7(0x560)]===_0x524134[_0x119ea7(0x560)]&&_0x30c3b4[_0x119ea7(0x1a0)]===_0x524134['subUnitId'])&&_0x4d1b08();});return()=>_0x57cfe2[_0x90d879(0x2a8)]();},[_0x4f66f5,_0x524134[_0x10368e(0x560)],_0x524134['subUnitId']]);let _0xbe0ae9=_0x4f66f5[_0x10368e(0x544)](_0x524134['unitId'],_0x524134['subUnitId']),_0x1a1e01=_0x158a7f(_0xbe0ae9,_0x524134['scopeId'],_0x3c58e9['t'](_0x10368e(0x4e5))),_0x262aaf=(_0x2a9ff3=(0x0,_0x27c3df['getMindMapContainerMeta'])((_0x590fed=_0xbe0ae9[_0x524134[_0x10368e(0x2e5)]])==null?void 0x0:_0x590fed[_0x10368e(0x2dc)]))==null?void 0x0:_0x2a9ff3['layout'],[_0xc40022,_0x2d7520]=(0x0,_0x37caaf[_0x10368e(0x38b)])(''),[_0x48da55,_0xeedcb1]=(0x0,_0x37caaf[_0x10368e(0x38b)])(null),[_0xdeffbb,_0x24e8cd]=(0x0,_0x37caaf[_0x10368e(0x38b)])(''),{spacing:_0x276767,direction:_0x206c23,structureKind:_0x4a7aca,branchLineType:_0x144953}=_0x4e8908(_0x262aaf),[_0x5dcb88,_0x53ec04]=(0x0,_0x37caaf[_0x10368e(0x38b)])(null),[_0x9ebea9,_0x2ca86e]=(0x0,_0x37caaf[_0x10368e(0x38b)])(_0x237948),_0x207b72=_0x205912(_0x1a1e01,_0xc40022),_0x35c5b8={'unitId':_0x524134['unitId'],'subUnitId':_0x524134[_0x10368e(0x1a0)],'scopeId':_0x524134[_0x10368e(0x2e5)]};return{'commandService':_0x2d95de,'elementStateService':_0x19ccf0,'localeService':_0x3c58e9,'query':_0xc40022,'setQuery':_0x2d7520,'editingOutlineNode':_0x48da55,'setEditingOutlineNode':_0xeedcb1,'opmlText':_0xdeffbb,'setOpmlText':_0x24e8cd,'spacing':_0x276767,'layoutDirection':_0x206c23,'structureKind':_0x4a7aca,'branchLineType':_0x144953,'setDraggedOutlineNodeId':_0x53ec04,'activeTab':_0x9ebea9,'setActiveTab':_0x2ca86e,'visibleOutlineItems':_0x207b72,'baseParams':_0x35c5b8,'tabItems':_0x2fb448[_0x10368e(0x4d4)](_0x293c2c=>({'label':_0x3c58e9['t']('boards-mind-ui.panel.tab.'+_0x293c2c),'value':_0x293c2c})),'selectedNode':_0x524134['nodeId']?(_0x18819f=_0xbe0ae9[_0x524134[_0x10368e(0x555)]])==null?void 0x0:_0x18819f[_0x10368e(0x2dc)]:void 0x0,'branchLineItems':_0x4a7262[_0x10368e(0x4c1)](_0x2b8b43=>_0x2b8b43[_0x10368e(0x50d)]!==_0x10368e(0x3a8)||(0x0,_0x27c3df[_0x10368e(0x2c4)])(_0x4a7aca)),'changeLayout':_0x3e4d9a=>_0x1254ef(_0x2d95de,{..._0x35c5b8,'direction':_0x3e4d9a}),'changeStructureKind':_0x5d6535=>{const _0x5720ed=_0x10368e;let _0xca07b1=(0x0,_0x27c3df[_0x5720ed(0x523)])(_0x5d6535,_0x144953);return _0x1254ef(_0x2d95de,{..._0x35c5b8,'structureKind':_0x5d6535,..._0xca07b1===_0x144953?null:{'branchLineType':_0xca07b1}});},'changeBranchLineType':_0x5ef601=>{let _0x55cfb0=(0x0,_0x27c3df['resolveMindMapBranchLineTypeForStructure'])(_0x4a7aca,_0x5ef601);return _0x15ad7a(_0x2d95de,{..._0x35c5b8,'branchLineType':_0x55cfb0});},'changeSpacing':(_0x59d9cb,_0x25cb0f)=>{let _0x1b6be3={..._0x276767,[_0x59d9cb]:_0x25cb0f};return _0xf5234f(_0x2d95de,{..._0x35c5b8,..._0x1b6be3});},'importOpml':()=>{const _0x2f3454=_0x10368e;_0x433f5c(_0x2d95de,{'unitId':_0x524134['unitId'],'subUnitId':_0x524134[_0x2f3454(0x1a0)],'left':0x78,'top':0x78,'opml':_0xdeffbb})['then'](_0x59f50a=>{_0x59f50a&&_0x24e8cd('');});},'exportOpml':()=>_0x4ba273(_0x2d95de,_0x35c5b8),'startRenameNode':(_0x104fba,_0x2291c0)=>{_0xeedcb1({'nodeId':_0x104fba,'text':_0x2291c0});},'commitRenameNode':()=>{const _0x4c4cc7=_0x10368e;_0x48da55&&_0x46fc57(_0x2d95de,{..._0x35c5b8,'nodeId':_0x48da55[_0x4c4cc7(0x555)],'text':_0x48da55[_0x4c4cc7(0x31b)]})[_0x4c4cc7(0x352)](_0x1f61c0=>{_0x1f61c0&&_0xeedcb1(null);});},'reorderNode':(_0x3fae33,_0x1e5bf2)=>{const _0x440e0c=_0x10368e;if(_0x3fae33[_0x440e0c(0x433)](),!_0x5dcb88||_0x5dcb88===_0x1e5bf2)return;let _0x2870d0=_0x3fae33['currentTarget'][_0x440e0c(0x2e2)](),_0x39b9ff=_0x3fae33['clientY']<_0x2870d0[_0x440e0c(0x50b)]+_0x2870d0[_0x440e0c(0x3c7)]/0x2?_0x440e0c(0x3e4):_0x440e0c(0x2a6);_0x53ec04(null),_0x1c3306(_0x2d95de,{..._0x35c5b8,'nodeId':_0x5dcb88,'targetNodeId':_0x1e5bf2,'placement':_0x39b9ff});}};}function _0x3b6144(_0x227e6b){const _0x143485=_0x5b4e73;let {elementStateService:_0x2752c9,localeService:_0x5afa7a,query:_0x2f9a8c,setQuery:_0x4531de,editingOutlineNode:_0x1ef4f2,setEditingOutlineNode:_0x1ce4e5,opmlText:_0x437efa,setOpmlText:_0xd129ac,spacing:_0x325ebe,layoutDirection:_0x298351,structureKind:_0x22af95,branchLineType:_0x519cf4,setDraggedOutlineNodeId:_0x558792,activeTab:_0x5654bc,setActiveTab:_0x225641,visibleOutlineItems:_0x2fb6a7,tabItems:_0x7fd96c,branchLineItems:_0x554437,changeLayout:_0x2502ef,changeStructureKind:_0x5521bd,changeBranchLineType:_0x3e1793,changeSpacing:_0x2de005,importOpml:_0x5fed5e,exportOpml:_0x200e75,startRenameNode:_0x56a3e2,commitRenameNode:_0x5e9b35,reorderNode:_0x3b70e0}=_0x3f007e(_0x227e6b);return(0x0,_0x54cfef[_0x143485(0x36c)])('div',{'className':_0x143485(0x15e),'data-board-mind-map-panel':_0x143485(0x2ca),'children':[(0x0,_0x54cfef[_0x143485(0x298)])('div',{'className':(0x0,_0x7217a3['clsx'])(_0x143485(0x289),_0x7217a3[_0x143485(0x237)]),'data-board-mind-map-panel-tabs':_0x143485(0x2ca),'children':(0x0,_0x54cfef['jsx'])(_0x2d08cd,{'items':_0x7fd96c,'value':_0x5654bc,'onChange':_0x163a32=>_0x225641(_0x163a32)})}),_0x5654bc===_0x143485(0x341)&&(0x0,_0x54cfef[_0x143485(0x298)])(_0xbf8df6,{'title':_0x5afa7a['t']('boards-mind-ui.panel.tab.structure'),'children':(0x0,_0x54cfef[_0x143485(0x36c)])(_0x143485(0x3fc),{'children':[(0x0,_0x54cfef[_0x143485(0x298)])(_0x7217a3['Input'],{'slot':(0x0,_0x54cfef['jsx'])(_0x933692,{}),'value':_0x2f9a8c,'placeholder':_0x5afa7a['t'](_0x143485(0x186)),'className':(0x0,_0x7217a3['clsx'])(_0x143485(0x41a),!0x1),'onChange':_0x4531de}),_0x2fb6a7[_0x143485(0x2ce)]?(0x0,_0x54cfef[_0x143485(0x298)])('ol',{'className':'univer-space-y-1','children':_0x2fb6a7[_0x143485(0x4d4)](_0x605cb=>(0x0,_0x54cfef[_0x143485(0x298)])('li',{'draggable':!0x0,'className':'univer-flex\x20univer-items-center\x20univer-gap-1\x20univer-truncate\x20univer-rounded\x20univer-py-1\x20univer-text-left\x20univer-text-gray-800','style':_0x19f1be(_0x605cb[_0x143485(0x51a)]),'onDragStart':_0x16c854=>{const _0x4a1c17=_0x143485;var _0x3b8e0d;_0x558792(_0x605cb[_0x4a1c17(0x555)]),(_0x3b8e0d=_0x16c854[_0x4a1c17(0x500)])==null||_0x3b8e0d['setData']('text/plain',_0x605cb[_0x4a1c17(0x555)]),_0x16c854[_0x4a1c17(0x500)]&&(_0x16c854[_0x4a1c17(0x500)][_0x4a1c17(0x53e)]=_0x4a1c17(0x2b9));},'onDragOver':_0x6a666d=>{const _0x21ec95=_0x143485;_0x6a666d[_0x21ec95(0x433)](),_0x6a666d[_0x21ec95(0x500)]&&(_0x6a666d['dataTransfer'][_0x21ec95(0x20e)]=_0x21ec95(0x2b9));},'onDrop':_0x3dbd64=>_0x3b70e0(_0x3dbd64,_0x605cb[_0x143485(0x555)]),'onDragEnd':()=>_0x558792(null),'children':(_0x1ef4f2==null?void 0x0:_0x1ef4f2[_0x143485(0x555)])===_0x605cb[_0x143485(0x555)]?(0x0,_0x54cfef['jsxs'])('div',{'className':(0x0,_0x7217a3[_0x143485(0x194)])(_0x143485(0x3ca),_0x143485(0x384)),'children':[(0x0,_0x54cfef['jsx'])(_0x7217a3[_0x143485(0x219)],{'autoFocus':!0x0,'size':_0x143485(0x56a),'className':void 0x0,'value':_0x1ef4f2[_0x143485(0x31b)],'onChange':_0x502a61=>_0x1ce4e5({'nodeId':_0x605cb[_0x143485(0x555)],'text':_0x502a61}),'onKeyDown':_0x164fe3=>{const _0x5f15b5=_0x143485;_0x164fe3[_0x5f15b5(0x2ef)]===_0x5f15b5(0x4ce)&&_0x5e9b35(),_0x164fe3['key']===_0x5f15b5(0x22e)&&_0x1ce4e5(null);}}),(0x0,_0x54cfef['jsx'])(_0x7217a3[_0x143485(0x1e3)],{'className':void 0x0,'size':_0x143485(0x56a),'variant':'primary','disabled':!_0x1ef4f2[_0x143485(0x31b)][_0x143485(0x35b)](),'onClick':_0x5e9b35,'children':_0x5afa7a['t'](_0x143485(0x21a))}),(0x0,_0x54cfef['jsx'])(_0x7217a3['Button'],{'className':void 0x0,'size':_0x143485(0x56a),'variant':'default','onClick':()=>_0x1ce4e5(null),'children':_0x5afa7a['t'](_0x143485(0x251))})]}):(0x0,_0x54cfef[_0x143485(0x36c)])(_0x54cfef[_0x143485(0x39a)],{'children':[(0x0,_0x54cfef[_0x143485(0x298)])(_0x7217a3[_0x143485(0x1e3)],{'size':_0x143485(0x56a),'variant':'ghost','className':(0x0,_0x7217a3[_0x143485(0x194)])(_0x143485(0x51d),!0x1),'onClick':()=>_0x2752c9['selectElements']({'unitId':_0x227e6b[_0x143485(0x560)],'subUnitId':_0x227e6b['subUnitId']},[_0x605cb[_0x143485(0x555)]],_0x605cb[_0x143485(0x555)]),'children':_0x605cb[_0x143485(0x31b)]}),(0x0,_0x54cfef['jsx'])(_0x7217a3[_0x143485(0x1e3)],{'className':(0x0,_0x7217a3['clsx'])(_0x143485(0x214),_0x143485(0x3bc)),'size':_0x143485(0x56a),'variant':_0x143485(0x522),'onClick':()=>_0x56a3e2(_0x605cb[_0x143485(0x555)],_0x605cb[_0x143485(0x31b)]),'children':_0x5afa7a['t'](_0x143485(0x21a))})]})},_0x605cb[_0x143485(0x555)]))}):(0x0,_0x54cfef[_0x143485(0x298)])('div',{'className':_0x143485(0x2f2),'data-board-mind-map-panel-empty-state':_0x143485(0x2ca),'children':_0x5afa7a['t'](_0x143485(0x4dd))})]})}),_0x5654bc===_0x143485(0x52b)&&(0x0,_0x54cfef[_0x143485(0x298)])(_0xbf8df6,{'title':_0x5afa7a['t'](_0x143485(0x504)),'children':(0x0,_0x54cfef[_0x143485(0x36c)])(_0x143485(0x3fc),{'className':_0x143485(0x1e5),'children':[(0x0,_0x54cfef[_0x143485(0x298)])(_0x143485(0x3fc),{'className':_0x143485(0x54a),'children':(0x0,_0x54cfef['jsx'])(_0x2d08cd,{'items':_0x184633[_0x143485(0x4d4)](_0x519336=>({'label':_0x5afa7a['t'](_0x519336['labelKey']),'value':_0x519336['value']})),'value':_0x22af95,'onChange':_0x46f745=>_0x5521bd(_0x46f745)})}),(0x0,_0x54cfef['jsx'])('div',{'className':_0x143485(0x54a),'children':(0x0,_0x54cfef['jsx'])(_0x2d08cd,{'items':_0x1ae1df[_0x143485(0x4d4)](_0x4c8011=>({'label':_0x5afa7a['t'](_0x4c8011[_0x143485(0x26a)]),'value':_0x4c8011['value']})),'value':_0x298351,'onChange':_0xa903c9=>_0x2502ef(_0xa903c9)})}),(0x0,_0x54cfef[_0x143485(0x298)])(_0x143485(0x3fc),{'className':_0x143485(0x54a),'children':(0x0,_0x54cfef[_0x143485(0x298)])(_0x2d08cd,{'items':_0x554437['map'](_0x5a45f0=>({'label':_0x5afa7a['t'](_0x5a45f0['labelKey']),'value':_0x5a45f0['value']})),'value':_0x519cf4,'onChange':_0x4f8c56=>_0x3e1793(_0x4f8c56)})}),(0x0,_0x54cfef[_0x143485(0x298)])(_0x143485(0x3fc),{'className':_0x143485(0x563),'children':_0x86fdb5[_0x143485(0x4d4)](({labelKey:_0xdea864,key:_0x33b942,min:_0x50e1ab,max:_0x3ef721})=>(0x0,_0x54cfef['jsxs'])(_0x143485(0x4ff),{'className':_0x143485(0x1be),'children':[(0x0,_0x54cfef['jsx'])(_0x143485(0x424),{'className':_0x143485(0x3ce),'children':_0x5afa7a['t'](_0xdea864)}),(0x0,_0x54cfef[_0x143485(0x298)])(_0x7217a3[_0x143485(0x4c8)],{'controls':!0x0,'inputClassName':void 0x0,'min':_0x50e1ab,'max':_0x3ef721,'step':0x4,'value':_0x325ebe[_0x33b942],'precision':0x0,'className':_0x143485(0x3c9),'onChange':_0x3f9110=>_0x2de005(_0x33b942,Number(_0x3f9110??_0x50e1ab))})]},_0x33b942))})]})}),_0x5654bc===_0x143485(0x2e3)&&(0x0,_0x54cfef['jsx'])(_0xbf8df6,{'title':_0x5afa7a['t'](_0x143485(0x2b4)),'children':(0x0,_0x54cfef['jsxs'])('div',{'className':_0x143485(0x565),'children':[(0x0,_0x54cfef[_0x143485(0x298)])(_0x7217a3[_0x143485(0x37d)],{'className':(0x0,_0x7217a3[_0x143485(0x194)])(_0x143485(0x1ed),'univer-text-xs'),'placeholder':_0x5afa7a['t']('boards-mind-ui.panel.pasteOPML'),'value':_0x437efa,'onValueChange':_0xd129ac}),(0x0,_0x54cfef[_0x143485(0x36c)])(_0x143485(0x3fc),{'className':_0x143485(0x54a),'children':[(0x0,_0x54cfef[_0x143485(0x298)])(_0x7217a3['Button'],{'className':void 0x0,'size':_0x143485(0x56a),'variant':'primary','disabled':!_0x437efa[_0x143485(0x35b)](),'onClick':_0x5fed5e,'children':_0x5afa7a['t'](_0x143485(0x3bd))}),(0x0,_0x54cfef[_0x143485(0x298)])(_0x7217a3[_0x143485(0x1e3)],{'className':void 0x0,'size':'small','variant':_0x143485(0x522),'onClick':_0x200e75,'children':_0x5afa7a['t'](_0x143485(0x46d))})]})]})})]});}let _0x3a5305=class extends _0xd2d24[_0x5b4e73(0x24d)]{constructor(_0x498558,_0x4b7c66,_0x1e1db4){const _0x383eae=_0x5b4e73;super(),this['_commandService']=_0x498558,this[_0x383eae(0x1dc)]=_0x4b7c66,this[_0x383eae(0x188)]=_0x1e1db4,_0x5ac814(this,_0x383eae(0x278),null),this[_0x383eae(0x19b)](this[_0x383eae(0x316)][_0x383eae(0x229)](_0x1b8986)),this[_0x383eae(0x19b)](this[_0x383eae(0x316)][_0x383eae(0x4b0)](_0x2b681d=>{const _0x35dc97=_0x383eae;if(_0x2b681d['id']!==_0x1b8986['id'])return;let _0x364d47=_0x2b681d[_0x35dc97(0x4ab)];_0x364d47&&'unitId'in _0x364d47&&typeof _0x364d47[_0x35dc97(0x560)]==_0x35dc97(0x2fc)&&_0x35dc97(0x1a0)in _0x364d47&&typeof _0x364d47[_0x35dc97(0x1a0)]==_0x35dc97(0x2fc)&&_0x35dc97(0x2e5)in _0x364d47&&typeof _0x364d47[_0x35dc97(0x2e5)]==_0x35dc97(0x2fc)&&this[_0x35dc97(0x51c)]({'unitId':_0x364d47[_0x35dc97(0x560)],'subUnitId':_0x364d47[_0x35dc97(0x1a0)],'scopeId':_0x364d47['scopeId'],'nodeId':'nodeId'in _0x364d47&&typeof _0x364d47[_0x35dc97(0x555)]=='string'?_0x364d47[_0x35dc97(0x555)]:void 0x0});}));}[_0x5b4e73(0x1a9)](){const _0x2248ff=_0x5b4e73;var _0x4a662d;(_0x4a662d=this['_sidebarDisposable'])==null||_0x4a662d[_0x2248ff(0x1a9)](),this[_0x2248ff(0x278)]=null,super[_0x2248ff(0x1a9)]();}['open'](_0x1e8793){const _0x457d6f=_0x5b4e73;var _0x2faf80;let _0x1cf92d={'label':_0x42d8e3,..._0x1e8793},_0x327a01={'id':_0x42d8e3,'layout':_0x457d6f(0x266),'header':{'title':this[_0x457d6f(0x1dc)]['t'](_0x457d6f(0x2a5))},'width':0x184,'children':_0x1cf92d,'onClose':()=>{const _0x404f37=_0x457d6f;this[_0x404f37(0x278)]=null;}};(_0x2faf80=this['_sidebarDisposable'])==null||_0x2faf80[_0x457d6f(0x1a9)](),this[_0x457d6f(0x278)]=this[_0x457d6f(0x188)]['open'](_0x327a01);}};_0x3a5305=_0x2d6c5f([_0x1c54fc(0x0,_0xd2d24[_0x5b4e73(0x4f0)]),_0x1c54fc(0x1,(0x0,_0xd2d24[_0x5b4e73(0x165)])(_0xd2d24[_0x5b4e73(0x1b7)])),_0x1c54fc(0x2,(0x0,_0xd2d24[_0x5b4e73(0x165)])(_0x2d1a98[_0x5b4e73(0x340)]))],_0x3a5305);function _0x33d80b(_0x32454b){const _0x1b058e=_0x5b4e73;let _0x42b795=(0x0,_0x2d1a98[_0x1b058e(0x169)])(_0xd2d24[_0x1b058e(0x4f0)]),_0x387c81=_0x32454b[_0x1b058e(0x4a8)][_0x1b058e(0x2e9)];return _0x387c81?(0x0,_0x54cfef['jsx'])(_0x514536[_0x1b058e(0x1e7)],{'shapeRef':{'hostType':_0xd2d24[_0x1b058e(0x269)][_0x1b058e(0x2ae)],'unitId':_0x387c81[_0x1b058e(0x560)],'subUnitId':_0x387c81[_0x1b058e(0x1a0)],'shapeId':_0x387c81[_0x1b058e(0x1f9)]},'onText':()=>_0x3a2b08(_0x42b795,_0x1b058e(0x4ed)),'onStyle':()=>_0x42b795[_0x1b058e(0x359)](_0x1b8986['id'],{'unitId':_0x387c81[_0x1b058e(0x560)],'subUnitId':_0x387c81['subUnitId'],'scopeId':_0x387c81['scopeId'],'nodeId':_0x387c81[_0x1b058e(0x1f9)]}),'onDelete':()=>_0x3a2b08(_0x42b795,_0x1b058e(0x4b7))}):null;}function _0x33128c(_0x4c998c){const _0x32d90f=_0x5b4e73;var _0x290a0d,_0x3b33ea,_0x3a1364,_0x5112e8,_0x3660ed;let _0x2510c9=(0x0,_0x2d1a98[_0x32d90f(0x169)])(_0xd2d24[_0x32d90f(0x4f0)]),_0x251595=(0x0,_0x2d1a98[_0x32d90f(0x169)])(_0xd2d24['LocaleService']),_0x17cf03=(0x0,_0x2d1a98['useDependency'])(_0x2d1a98[_0x32d90f(0x1a5)]),_0x147ba6=(0x0,_0x2d1a98[_0x32d90f(0x4a3)])(_0x17cf03[_0x32d90f(0x413)],_0x17cf03[_0x32d90f(0x22b)]()),[_0x4269e7,_0x510ac8]=(0x0,_0x37caaf['useState'])(null),_0x453a0c=(0x0,_0x514536[_0x32d90f(0x23d)])(_0x4c998c['shapeData']),_0x510510=_0x453a0c['ff']??_0x429367['ShapeDefaultConfig'][_0x32d90f(0x4c7)][_0x32d90f(0x503)],_0x41849f=_0x453a0c['fs']??_0x429367[_0x32d90f(0x392)][_0x32d90f(0x4c7)]['fontSize'];function _0x10dc9e(_0x4e72f8){const _0xdc9ef9=_0x32d90f;return _0x2510c9[_0xdc9ef9(0x359)](_0x27c3df[_0xdc9ef9(0x3fa)]['id'],{'unitId':_0x4c998c[_0xdc9ef9(0x560)],'subUnitId':_0x4c998c[_0xdc9ef9(0x1a0)],'nodeId':_0x4c998c[_0xdc9ef9(0x555)],..._0x4e72f8});}let _0x18b327=[{'key':'fill','value':((_0x290a0d=_0x4c998c[_0x32d90f(0x4bb)][_0x32d90f(0x190)])==null?void 0x0:_0x290a0d['color'])??_0x429367[_0x32d90f(0x392)][_0x32d90f(0x190)]},{'key':_0x32d90f(0x209),'value':((_0x3b33ea=_0x4c998c[_0x32d90f(0x4bb)][_0x32d90f(0x209)])==null?void 0x0:_0x3b33ea['color'])??_0x429367[_0x32d90f(0x392)][_0x32d90f(0x209)]},{'key':'fontColor','value':((_0x3a1364=_0x453a0c['cl'])==null?void 0x0:_0x3a1364[_0x32d90f(0x1f2)])??_0x429367[_0x32d90f(0x392)]['shapeText']['color']}];if(_0x4269e7){var _0x37c434;return(0x0,_0x54cfef[_0x32d90f(0x36c)])('div',{'className':'univer-flex\x20univer-flex-col\x20univer-gap-4\x20univer-p-4','children':[(0x0,_0x54cfef[_0x32d90f(0x298)])(_0x7217a3[_0x32d90f(0x1e3)],{'className':'univer-min-h-12\x20univer-w-full','onClick':()=>_0x510ac8(null),'children':_0x251595['t'](_0x32d90f(0x251))}),_0x4269e7===_0x32d90f(0x503)?_0x147ba6==null?void 0x0:_0x147ba6[_0x32d90f(0x4d4)](_0x4b30ec=>(0x0,_0x54cfef[_0x32d90f(0x298)])(_0x7217a3['Button'],{'className':_0x32d90f(0x55f),'aria-pressed':_0x510510===_0x4b30ec[_0x32d90f(0x50d)],'variant':_0x510510===_0x4b30ec[_0x32d90f(0x50d)]?_0x32d90f(0x35f):_0x32d90f(0x522),'onClick':async()=>{const _0x479375=_0x32d90f;await _0x10dc9e({'textStyle':{'fontFamily':_0x4b30ec[_0x479375(0x50d)]}}),_0x510ac8(null);},'children':_0x4b30ec[_0x32d90f(0x4ff)]},_0x4b30ec[_0x32d90f(0x50d)])):(0x0,_0x54cfef['jsx'])(_0x7217a3[_0x32d90f(0x1b5)],{'value':(_0x37c434=_0x18b327['find'](({key:_0x42a604})=>_0x42a604===_0x4269e7))==null?void 0x0:_0x37c434['value'],'onSelect':async _0x307115=>{const _0x10f02b=_0x32d90f;_0x4269e7===_0x10f02b(0x190)?await _0x10dc9e({'fillColor':_0x307115}):_0x4269e7==='stroke'?await _0x10dc9e({'strokeColor':_0x307115}):await _0x10dc9e({'textStyle':{'color':_0x307115}}),_0x510ac8(null);}})]});}let _0x2ad815=[{'key':_0x32d90f(0x568),'active':_0x453a0c['bl']===_0xd2d24[_0x32d90f(0x286)][_0x32d90f(0x2b5)],'icon':(0x0,_0x54cfef[_0x32d90f(0x298)])(_0x25b9be,{})},{'key':_0x32d90f(0x1f7),'active':_0x453a0c['it']===_0xd2d24['BooleanNumber']['TRUE'],'icon':(0x0,_0x54cfef['jsx'])(_0x4b6318,{})},{'key':_0x32d90f(0x410),'active':((_0x5112e8=_0x453a0c['ul'])==null?void 0x0:_0x5112e8['s'])===_0xd2d24[_0x32d90f(0x286)][_0x32d90f(0x2b5)],'icon':(0x0,_0x54cfef[_0x32d90f(0x298)])(_0x23a39a,{})},{'key':_0x32d90f(0x281),'active':((_0x3660ed=_0x453a0c['st'])==null?void 0x0:_0x3660ed['s'])===_0xd2d24[_0x32d90f(0x286)]['TRUE'],'icon':(0x0,_0x54cfef[_0x32d90f(0x298)])(_0x36d34a,{})}];return(0x0,_0x54cfef[_0x32d90f(0x36c)])(_0x32d90f(0x3fc),{'className':_0x32d90f(0x173),'children':[(0x0,_0x54cfef['jsx'])(_0x32d90f(0x3fc),{'className':_0x32d90f(0x54e),'children':_0x2ad815[_0x32d90f(0x4d4)](({key:_0x391a22,active:_0x3c6811,icon:_0x294b2e})=>(0x0,_0x54cfef['jsx'])(_0x7217a3['Button'],{'className':_0x32d90f(0x28a),'aria-label':_0x251595['t'](_0x32d90f(0x18b)+_0x391a22),'aria-pressed':_0x3c6811,'variant':_0x3c6811?'primary':_0x32d90f(0x522),'onClick':()=>_0x10dc9e({'textStyle':{[_0x391a22]:!_0x3c6811}}),'children':_0x294b2e},_0x391a22))}),(0x0,_0x54cfef['jsxs'])(_0x7217a3[_0x32d90f(0x1e3)],{'className':_0x32d90f(0x2a1),'onClick':()=>_0x510ac8(_0x32d90f(0x503)),'children':[(0x0,_0x54cfef[_0x32d90f(0x298)])(_0x32d90f(0x424),{'children':_0x251595['t'](_0x32d90f(0x416))}),(0x0,_0x54cfef[_0x32d90f(0x298)])(_0x32d90f(0x424),{'children':_0x510510})]}),(0x0,_0x54cfef[_0x32d90f(0x36c)])(_0x32d90f(0x4ff),{'className':_0x32d90f(0x2d0),'children':[(0x0,_0x54cfef['jsx'])(_0x32d90f(0x424),{'children':_0x251595['t'](_0x32d90f(0x3dc))}),(0x0,_0x54cfef[_0x32d90f(0x298)])(_0x7217a3[_0x32d90f(0x4c8)],{'className':_0x32d90f(0x1fd),'inputClassName':_0x32d90f(0x477),'controls':!0x1,'min':0x1,'value':_0x41849f,'onChange':_0x35a21d=>{if(_0x35a21d!=null)return _0x10dc9e({'textStyle':{'fontSize':_0x35a21d}});}})]}),_0x18b327[_0x32d90f(0x4d4)](({key:_0x28f636,value:_0x481fea})=>(0x0,_0x54cfef[_0x32d90f(0x36c)])(_0x7217a3[_0x32d90f(0x1e3)],{'className':'univer-min-h-12\x20univer-w-full\x20univer-justify-between','onClick':()=>_0x510ac8(_0x28f636),'children':[(0x0,_0x54cfef['jsx'])(_0x32d90f(0x424),{'children':_0x251595['t'](_0x32d90f(0x417)+_0x28f636)}),(0x0,_0x54cfef[_0x32d90f(0x298)])(_0x32d90f(0x424),{'className':_0x32d90f(0x220),'style':{'backgroundColor':_0x481fea}})]},_0x28f636))]});}function _0xc3359d(_0x2ddf4d){const _0x44e681=_0x5b4e73;return(0x0,_0x54cfef[_0x44e681(0x298)])(_0x44e681(0x3fc),{'className':(0x0,_0x7217a3[_0x44e681(0x194)])('univer-grid\x20univer-w-full\x20univer-gap-2',_0x2ddf4d[_0x44e681(0x456)][_0x44e681(0x2ce)]===0x4?'univer-grid-cols-4':'univer-grid-cols-3'),'children':_0x2ddf4d[_0x44e681(0x456)]['map'](_0x313152=>(0x0,_0x54cfef[_0x44e681(0x298)])(_0x7217a3[_0x44e681(0x1e3)],{'className':_0x44e681(0x1c1),'variant':_0x2ddf4d[_0x44e681(0x50d)]===_0x313152[_0x44e681(0x50d)]?_0x44e681(0x35f):_0x44e681(0x522),'aria-pressed':_0x2ddf4d['value']===_0x313152[_0x44e681(0x50d)],'onClick':()=>_0x2ddf4d[_0x44e681(0x3fe)](_0x313152['value']),'children':_0x313152[_0x44e681(0x4ff)]},_0x313152['value']))});}function _0x3e0f4d(_0x48f01f){const _0x3ae2c8=_0x5b4e73;let {commandService:_0x8d8ef4,elementStateService:_0x357799,localeService:_0x240034,query:_0x45ab42,setQuery:_0x26ebea,editingOutlineNode:_0x45ff9d,setEditingOutlineNode:_0x1d4239,opmlText:_0x148f3b,setOpmlText:_0x6af1a1,spacing:_0x2ce0d3,layoutDirection:_0x918cc0,structureKind:_0x35d420,branchLineType:_0xc6861e,activeTab:_0x5237ae,setActiveTab:_0x287d65,visibleOutlineItems:_0x1fa22c,baseParams:_0x33599b,tabItems:_0x566eb2,selectedNode:_0x5ef40f,branchLineItems:_0x46e3e5,changeLayout:_0x4a309b,changeStructureKind:_0x38ca4b,changeBranchLineType:_0x265a58,changeSpacing:_0x548aa1,importOpml:_0x3a8d5d,startRenameNode:_0x30e8e8,commitRenameNode:_0x5762ca}=_0x3f007e(_0x48f01f,_0x48f01f['nodeId']?_0x3ae2c8(0x472):_0x3ae2c8(0x341));return(_0x5ef40f==null?void 0x0:_0x5ef40f['type'])===_0x38c4c0[_0x3ae2c8(0x451)][_0x3ae2c8(0x453)]&&_0x566eb2[_0x3ae2c8(0x4c3)]({'label':_0x240034['t'](_0x3ae2c8(0x4ee)),'value':_0x3ae2c8(0x472)}),(0x0,_0x54cfef[_0x3ae2c8(0x36c)])(_0x3ae2c8(0x3fc),{'className':'univer-size-full\x20univer-bg-gray-0\x20univer-text-sm\x20univer-text-gray-700\x20dark:!univer-bg-gray-900\x20dark:!univer-text-gray-200','data-board-mind-map-panel':_0x3ae2c8(0x2ca),'children':[(0x0,_0x54cfef['jsx'])('div',{'className':(0x0,_0x7217a3['clsx'])('univer-border-b\x20univer-border-gray-200\x20univer-p-3',_0x7217a3[_0x3ae2c8(0x237)]),'data-board-mind-map-panel-tabs':_0x3ae2c8(0x2ca),'children':(0x0,_0x54cfef['jsx'])(_0xc3359d,{'items':_0x566eb2,'value':_0x5237ae,'onChange':_0x398a61=>_0x287d65(_0x398a61)})}),_0x5237ae===_0x3ae2c8(0x472)&&(_0x5ef40f==null?void 0x0:_0x5ef40f[_0x3ae2c8(0x46e)])===_0x38c4c0[_0x3ae2c8(0x451)][_0x3ae2c8(0x453)]&&(0x0,_0x54cfef[_0x3ae2c8(0x298)])(_0x33128c,{'unitId':_0x48f01f[_0x3ae2c8(0x560)],'subUnitId':_0x48f01f[_0x3ae2c8(0x1a0)],'nodeId':_0x5ef40f['id'],'shapeData':_0x5ef40f[_0x3ae2c8(0x4bb)]}),_0x5237ae===_0x3ae2c8(0x341)&&(0x0,_0x54cfef['jsx'])(_0xbf8df6,{'title':_0x240034['t'](_0x3ae2c8(0x4da)),'children':(0x0,_0x54cfef['jsxs'])(_0x3ae2c8(0x3fc),{'children':[(0x0,_0x54cfef[_0x3ae2c8(0x298)])(_0x7217a3[_0x3ae2c8(0x219)],{'slot':(0x0,_0x54cfef['jsx'])(_0x933692,{}),'value':_0x45ab42,'placeholder':_0x240034['t'](_0x3ae2c8(0x186)),'className':(0x0,_0x7217a3[_0x3ae2c8(0x194)])(_0x3ae2c8(0x41a),'univer-h-12\x20univer-text-base'),'onChange':_0x26ebea}),_0x1fa22c[_0x3ae2c8(0x2ce)]?(0x0,_0x54cfef['jsx'])('ol',{'className':_0x3ae2c8(0x16c),'children':_0x1fa22c[_0x3ae2c8(0x4d4)](_0x2377cc=>(0x0,_0x54cfef[_0x3ae2c8(0x298)])('li',{'className':'univer-flex\x20univer-items-center\x20univer-gap-1\x20univer-truncate\x20univer-rounded\x20univer-py-1\x20univer-text-left\x20univer-text-gray-800','style':_0x19f1be(_0x2377cc['depth']),'children':(_0x45ff9d==null?void 0x0:_0x45ff9d[_0x3ae2c8(0x555)])===_0x2377cc['nodeId']?(0x0,_0x54cfef[_0x3ae2c8(0x36c)])(_0x3ae2c8(0x3fc),{'className':(0x0,_0x7217a3[_0x3ae2c8(0x194)])(_0x3ae2c8(0x3ca),_0x3ae2c8(0x462)),'children':[(0x0,_0x54cfef[_0x3ae2c8(0x298)])(_0x7217a3[_0x3ae2c8(0x219)],{'autoFocus':!0x1,'size':'large','className':_0x3ae2c8(0x550),'value':_0x45ff9d['text'],'onChange':_0x87124b=>_0x1d4239({'nodeId':_0x2377cc[_0x3ae2c8(0x555)],'text':_0x87124b}),'onKeyDown':_0x159aba=>{const _0x36f13a=_0x3ae2c8;_0x159aba['key']===_0x36f13a(0x4ce)&&_0x5762ca(),_0x159aba['key']===_0x36f13a(0x22e)&&_0x1d4239(null);}}),(0x0,_0x54cfef[_0x3ae2c8(0x298)])(_0x7217a3[_0x3ae2c8(0x1e3)],{'className':'univer-min-h-12\x20univer-flex-1','size':_0x3ae2c8(0x56a),'variant':_0x3ae2c8(0x35f),'disabled':!_0x45ff9d[_0x3ae2c8(0x31b)]['trim'](),'onClick':_0x5762ca,'children':_0x240034['t'](_0x3ae2c8(0x21a))}),(0x0,_0x54cfef[_0x3ae2c8(0x298)])(_0x7217a3[_0x3ae2c8(0x1e3)],{'className':_0x3ae2c8(0x438),'size':_0x3ae2c8(0x56a),'variant':_0x3ae2c8(0x522),'onClick':()=>_0x1d4239(null),'children':_0x240034['t'](_0x3ae2c8(0x251))})]}):(0x0,_0x54cfef[_0x3ae2c8(0x36c)])(_0x54cfef['Fragment'],{'children':[(0x0,_0x54cfef[_0x3ae2c8(0x298)])(_0x7217a3[_0x3ae2c8(0x1e3)],{'size':_0x3ae2c8(0x56a),'variant':_0x3ae2c8(0x18e),'className':(0x0,_0x7217a3[_0x3ae2c8(0x194)])(_0x3ae2c8(0x51d),_0x3ae2c8(0x2d5)),'onClick':()=>_0x357799[_0x3ae2c8(0x19a)]({'unitId':_0x48f01f['unitId'],'subUnitId':_0x48f01f[_0x3ae2c8(0x1a0)]},[_0x2377cc[_0x3ae2c8(0x555)]],_0x2377cc[_0x3ae2c8(0x555)]),'children':_0x2377cc[_0x3ae2c8(0x31b)]}),(0x0,_0x54cfef[_0x3ae2c8(0x298)])(_0x7217a3[_0x3ae2c8(0x1e3)],{'className':(0x0,_0x7217a3['clsx'])('univer-text-gray-500',_0x3ae2c8(0x1df)),'size':_0x3ae2c8(0x56a),'variant':_0x3ae2c8(0x522),'onClick':()=>_0x30e8e8(_0x2377cc['nodeId'],_0x2377cc[_0x3ae2c8(0x31b)]),'children':_0x240034['t']('boards-mind-ui.panel.rename')})]})},_0x2377cc['nodeId']))}):(0x0,_0x54cfef['jsx'])(_0x3ae2c8(0x3fc),{'className':_0x3ae2c8(0x2f2),'data-board-mind-map-panel-empty-state':_0x3ae2c8(0x2ca),'children':_0x240034['t']('boards-mind-ui.panel.emptyNodes')})]})}),_0x5237ae===_0x3ae2c8(0x52b)&&(0x0,_0x54cfef['jsx'])(_0xbf8df6,{'title':_0x240034['t'](_0x3ae2c8(0x504)),'children':(0x0,_0x54cfef['jsxs'])('div',{'className':_0x3ae2c8(0x1e5),'children':[(0x0,_0x54cfef[_0x3ae2c8(0x298)])(_0x3ae2c8(0x3fc),{'className':'univer-flex\x20univer-gap-2','children':(0x0,_0x54cfef[_0x3ae2c8(0x298)])(_0xc3359d,{'items':_0x184633[_0x3ae2c8(0x4d4)](_0x2e1b8c=>({'label':_0x240034['t'](_0x2e1b8c[_0x3ae2c8(0x26a)]),'value':_0x2e1b8c[_0x3ae2c8(0x50d)]})),'value':_0x35d420,'onChange':_0x540786=>_0x38ca4b(_0x540786)})}),(0x0,_0x54cfef['jsx'])(_0x3ae2c8(0x3fc),{'className':_0x3ae2c8(0x54a),'children':(0x0,_0x54cfef[_0x3ae2c8(0x298)])(_0xc3359d,{'items':_0x1ae1df[_0x3ae2c8(0x4d4)](_0x339dad=>({'label':_0x240034['t'](_0x339dad[_0x3ae2c8(0x26a)]),'value':_0x339dad[_0x3ae2c8(0x50d)]})),'value':_0x918cc0,'onChange':_0x2193ee=>_0x4a309b(_0x2193ee)})}),(0x0,_0x54cfef['jsx'])(_0x3ae2c8(0x3fc),{'className':'univer-flex\x20univer-gap-2','children':(0x0,_0x54cfef[_0x3ae2c8(0x298)])(_0xc3359d,{'items':_0x46e3e5['map'](_0x206387=>({'label':_0x240034['t'](_0x206387[_0x3ae2c8(0x26a)]),'value':_0x206387[_0x3ae2c8(0x50d)]})),'value':_0xc6861e,'onChange':_0x4b07d2=>_0x265a58(_0x4b07d2)})}),(0x0,_0x54cfef[_0x3ae2c8(0x298)])(_0x3ae2c8(0x3fc),{'className':_0x3ae2c8(0x563),'children':_0x86fdb5['map'](({labelKey:_0x56f7a6,key:_0x51ee1f,min:_0x436c66,max:_0x2efd75})=>(0x0,_0x54cfef[_0x3ae2c8(0x36c)])(_0x3ae2c8(0x4ff),{'className':_0x3ae2c8(0x1be),'children':[(0x0,_0x54cfef[_0x3ae2c8(0x298)])('span',{'className':_0x3ae2c8(0x285),'children':_0x240034['t'](_0x56f7a6)}),(0x0,_0x54cfef['jsx'])(_0x7217a3[_0x3ae2c8(0x4c8)],{'controls':!0x1,'inputClassName':'[&_input]:univer-h-12\x20[&_input]:univer-text-base','min':_0x436c66,'max':_0x2efd75,'step':0x4,'value':_0x2ce0d3[_0x51ee1f],'precision':0x0,'className':'univer-h-12\x20univer-w-32\x20univer-text-base','onChange':_0x51479b=>_0x548aa1(_0x51ee1f,Number(_0x51479b??_0x436c66))})]},_0x51ee1f))})]})}),_0x5237ae==='importExport'&&(0x0,_0x54cfef['jsx'])(_0xbf8df6,{'title':_0x240034['t'](_0x3ae2c8(0x2b4)),'children':(0x0,_0x54cfef['jsxs'])(_0x3ae2c8(0x3fc),{'className':_0x3ae2c8(0x565),'children':[(0x0,_0x54cfef[_0x3ae2c8(0x298)])(_0x7217a3[_0x3ae2c8(0x37d)],{'className':(0x0,_0x7217a3['clsx'])(_0x3ae2c8(0x1ed),_0x3ae2c8(0x55c)),'placeholder':_0x240034['t'](_0x3ae2c8(0x27e)),'value':_0x148f3b,'onValueChange':_0x6af1a1}),(0x0,_0x54cfef[_0x3ae2c8(0x36c)])(_0x3ae2c8(0x3fc),{'className':'univer-flex\x20univer-gap-2','children':[(0x0,_0x54cfef['jsx'])(_0x7217a3['Button'],{'className':_0x3ae2c8(0x438),'size':_0x3ae2c8(0x56a),'variant':_0x3ae2c8(0x35f),'disabled':!_0x148f3b[_0x3ae2c8(0x35b)](),'onClick':_0x3a8d5d,'children':_0x240034['t'](_0x3ae2c8(0x3bd))}),(0x0,_0x54cfef[_0x3ae2c8(0x298)])(_0x7217a3[_0x3ae2c8(0x1e3)],{'className':'univer-min-h-12\x20univer-flex-1','size':_0x3ae2c8(0x56a),'variant':_0x3ae2c8(0x522),'onClick':async()=>{const _0x59b1fb=_0x3ae2c8;let _0x12b479=await _0x8d8ef4['executeCommand'](_0x27c3df[_0x59b1fb(0x364)]['id'],_0x33599b);_0x12b479!==!0x1&&_0x6af1a1(_0x12b479);},'children':_0x240034['t']('boards-mind-ui.panel.exportOPML')})]})]})})]});}let _0x184d10=class extends _0xd2d24[_0x5b4e73(0x24d)]{constructor(_0x33b354){const _0x586811=_0x5b4e73;super(),this[_0x586811(0x256)]=_0x33b354,this['_registerComponents']();}[_0x5b4e73(0x3c3)](){const _0x48d651=_0x5b4e73;this['disposeWithMe'](this['_componentManager'][_0x48d651(0x553)](_0x2ff14f,_0x24f92d)),this[_0x48d651(0x19b)](this[_0x48d651(0x256)][_0x48d651(0x553)](_0xa86b1b,_0x33d80b)),this[_0x48d651(0x19b)](this['_componentManager']['register'](_0x42d8e3,_0x3e0f4d));}};_0x184d10=_0x2d6c5f([_0x1c54fc(0x0,(0x0,_0xd2d24[_0x5b4e73(0x165)])(_0x2d1a98[_0x5b4e73(0x46f)]))],_0x184d10);let _0x19f7d9=class extends _0xd2d24[_0x5b4e73(0x24d)]{constructor(_0x3b8def,_0x2c7725,_0x3c5b8c){const _0x4ca98c=_0x5b4e73;super(),this['_commandService']=_0x3b8def,this[_0x4ca98c(0x1dc)]=_0x2c7725,this[_0x4ca98c(0x188)]=_0x3c5b8c,_0x5ac814(this,_0x4ca98c(0x278),null),this[_0x4ca98c(0x19b)](this[_0x4ca98c(0x316)][_0x4ca98c(0x229)](_0x1b8986)),this[_0x4ca98c(0x19b)](this[_0x4ca98c(0x316)][_0x4ca98c(0x4b0)](_0x5bcea3=>{const _0x6a9a69=_0x4ca98c;if(_0x5bcea3['id']!==_0x1b8986['id'])return;let _0x5f33bf=_0x5bcea3[_0x6a9a69(0x4ab)];_0x5f33bf&&_0x6a9a69(0x560)in _0x5f33bf&&typeof _0x5f33bf[_0x6a9a69(0x560)]==_0x6a9a69(0x2fc)&&'subUnitId'in _0x5f33bf&&typeof _0x5f33bf[_0x6a9a69(0x1a0)]==_0x6a9a69(0x2fc)&&_0x6a9a69(0x2e5)in _0x5f33bf&&typeof _0x5f33bf[_0x6a9a69(0x2e5)]==_0x6a9a69(0x2fc)&&this['open']({'unitId':_0x5f33bf['unitId'],'subUnitId':_0x5f33bf[_0x6a9a69(0x1a0)],'scopeId':_0x5f33bf[_0x6a9a69(0x2e5)],'nodeId':_0x6a9a69(0x555)in _0x5f33bf&&typeof _0x5f33bf['nodeId']=='string'?_0x5f33bf['nodeId']:void 0x0});}));}[_0x5b4e73(0x1a9)](){const _0x69c334=_0x5b4e73;var _0x20d055;(_0x20d055=this[_0x69c334(0x278)])==null||_0x20d055[_0x69c334(0x1a9)](),this[_0x69c334(0x278)]=null,super[_0x69c334(0x1a9)]();}['open'](_0x3a5f96){const _0x540915=_0x5b4e73;var _0x5bd4f2;let _0x33141a={'label':_0x42d8e3,..._0x3a5f96};(_0x5bd4f2=this[_0x540915(0x278)])==null||_0x5bd4f2[_0x540915(0x1a9)](),this[_0x540915(0x278)]=this['_sidebarService'][_0x540915(0x51c)]({'id':_0x42d8e3,'header':{'title':this[_0x540915(0x1dc)]['t']('boards-mind-ui.panel.title')},'width':0x184,'children':_0x33141a,'onClose':()=>{const _0x3cf9a2=_0x540915;this[_0x3cf9a2(0x278)]=null;}});}};_0x19f7d9=_0x2d6c5f([_0x1c54fc(0x0,_0xd2d24[_0x5b4e73(0x4f0)]),_0x1c54fc(0x1,(0x0,_0xd2d24[_0x5b4e73(0x165)])(_0xd2d24['LocaleService'])),_0x1c54fc(0x2,(0x0,_0xd2d24[_0x5b4e73(0x165)])(_0x2d1a98[_0x5b4e73(0x340)]))],_0x19f7d9);let _0xfe9e35=class extends _0xd2d24[_0x5b4e73(0x24d)]{constructor(_0x4a3164){const _0x33a251=_0x5b4e73;super(),this[_0x33a251(0x256)]=_0x4a3164,this[_0x33a251(0x3c3)]();}[_0x5b4e73(0x3c3)](){const _0x49ee88=_0x5b4e73;this[_0x49ee88(0x19b)](this[_0x49ee88(0x256)]['register'](_0x2ff14f,_0x24f92d)),this[_0x49ee88(0x19b)](this[_0x49ee88(0x256)]['register'](_0xa86b1b,_0x586ad4)),this[_0x49ee88(0x19b)](this['_componentManager'][_0x49ee88(0x553)](_0x42d8e3,_0x3b6144));}};_0xfe9e35=_0x2d6c5f([_0x1c54fc(0x0,(0x0,_0xd2d24[_0x5b4e73(0x165)])(_0x2d1a98[_0x5b4e73(0x46f)]))],_0xfe9e35);let _0x24f1fb=class{constructor(_0x3c924a,_0x19d34f,_0x53472e){const _0x372b58=_0x5b4e73;this['_stateService']=_0x3c924a,this[_0x372b58(0x235)]=_0x19d34f,this['_renderManagerService']=_0x53472e;}[_0x5b4e73(0x49f)](_0x2343bb){const _0x4d295f=_0x5b4e73;var _0x4b5f4f,_0x83d835;let _0x584d68=(_0x4b5f4f=this['_renderManagerService'][_0x4d295f(0x26f)](_0x2343bb[_0x4d295f(0x560)]))==null||(_0x83d835=_0x4b5f4f[_0x4d295f(0x2ba)])==null?void 0x0:_0x83d835['call'](_0x4b5f4f),_0x34d81a=(_0x584d68==null?void 0x0:_0x584d68[_0x4d295f(0x49c)](_0x13e20e[_0x4d295f(0x28e)]))??this[_0x4d295f(0x533)];return((_0x584d68==null?void 0x0:_0x584d68[_0x4d295f(0x49c)](_0x519ce5))??this[_0x4d295f(0x235)])[_0x4d295f(0x32e)]({'rootText':_0x2343bb[_0x4d295f(0x28f)],'structureKind':_0x2343bb[_0x4d295f(0x2e7)],'branchLineType':_0x2343bb['branchLineType'],'children':_0x2343bb[_0x4d295f(0x535)],'blueprint':_0x2343bb['blueprint']}),_0x34d81a['setShapeSidebarOpen'](!0x1),_0x34d81a[_0x4d295f(0x419)](),_0x34d81a[_0x4d295f(0x541)](_0x38c4c0['BoardToolType'][_0x4d295f(0x55e)]),_0x34d81a['setPendingInsert']({'type':_0x38c4c0[_0x4d295f(0x19f)][_0x4d295f(0x55e)]}),!0x0;}};_0x24f1fb=_0x2d6c5f([_0x1c54fc(0x0,_0x13e20e['IBoardUIStateService']),_0x1c54fc(0x1,(0x0,_0xd2d24[_0x5b4e73(0x165)])(_0x519ce5)),_0x1c54fc(0x2,_0x2119db[_0x5b4e73(0x35c)])],_0x24f1fb);let _0x499ff3=_0x5b4e73(0x501),_0x3a3d58=[_0x43243f],_0x31993c=[_0x55781f],_0x434037=class extends _0xd2d24[_0x5b4e73(0x363)]{constructor(_0x4c3143=_0x38bab1,_0x1966c0,_0x547c14,_0x4122e2){const _0x2de929=_0x5b4e73;super(),this[_0x2de929(0x280)]=_0x4c3143,this[_0x2de929(0x4f4)]=_0x1966c0,this['_configService']=_0x547c14,this[_0x2de929(0x42e)]=_0x4122e2;let {..._0x4c1504}=(0x0,_0xd2d24[_0x2de929(0x493)])({},_0x38bab1,this[_0x2de929(0x280)]);this[_0x2de929(0x3a5)][_0x2de929(0x255)](_0x53ae3a,_0x4c1504);}['onStarting'](){const _0x452d8f=_0x5b4e73;_0x13e20e['UniverBoardsUIPlugin'][_0x452d8f(0x43c)](this[_0x452d8f(0x4f4)],[[_0x519ce5],[_0x6de7d6]]),this[_0x452d8f(0x26e)]()['forEach'](_0x4628ac=>this[_0x452d8f(0x4f4)][_0x452d8f(0x450)](_0x4628ac));let _0x278aa5=this[_0x452d8f(0x4f4)]['get'](_0x24f1fb),_0x4df928=this['_injector'][_0x452d8f(0x49c)](_0x38c4c0['IBoardMindMapAdapterService']);this[_0x452d8f(0x19b)](_0x4df928[_0x452d8f(0x48d)](_0x278aa5)),this['disposeWithMe'](this['_injector'][_0x452d8f(0x49c)](_0x58b2d5)),this[_0x452d8f(0x19b)](this['_injector'][_0x452d8f(0x49c)](_0x47759b)),this[_0x452d8f(0x19b)](this[_0x452d8f(0x4f4)][_0x452d8f(0x49c)](_0x19f7d9)),this['disposeWithMe'](this['_injector'][_0x452d8f(0x49c)](_0xfe9e35)),this[_0x452d8f(0x29b)]();}[_0x5b4e73(0x26e)](){return[[_0x519ce5],[_0x6de7d6],[_0x24f1fb],[_0x58b2d5],[_0x47759b],[_0x19f7d9],[_0xfe9e35]];}['_getRenderModules'](){return[_0x3a3d58,_0x31993c,[_0x14ec57],[_0x12a4cd],[_0x26376f],[_0x235e64],[_0x34c892],[_0x3af0c5]];}['onReady'](){const _0x13b912=_0x5b4e73;this['_getRenderModules']()[_0x13b912(0x2de)](_0x5c5fb4=>{const _0x2858cc=_0x13b912;this['disposeWithMe'](this[_0x2858cc(0x42e)]['registerRenderModule'](_0xd2d24[_0x2858cc(0x269)]['UNIVER_BOARD'],_0x5c5fb4));});}[_0x5b4e73(0x29b)](){const _0x530f19=_0x5b4e73;var _0x1a53eb,_0x2bdbf8;let _0x353b4d=this[_0x530f19(0x497)]();this['_configService'][_0x530f19(0x255)](_0x13e20e[_0x530f19(0x1f5)],{..._0x353b4d,'toolbar':{..._0x353b4d[_0x530f19(0x532)],'tools':{...(_0x1a53eb=_0x353b4d[_0x530f19(0x532)])==null?void 0x0:_0x1a53eb[_0x530f19(0x4a6)],[_0x38c4c0[_0x530f19(0x19f)][_0x530f19(0x55e)]]:_0x13db92((_0x2bdbf8=_0x353b4d[_0x530f19(0x532)])==null||(_0x2bdbf8=_0x2bdbf8[_0x530f19(0x4a6)])==null?void 0x0:_0x2bdbf8[_0x38c4c0[_0x530f19(0x19f)][_0x530f19(0x55e)]])}}});}[_0x5b4e73(0x497)](){const _0x286729=_0x5b4e73;return this['_configService']['getConfig'](_0x13e20e[_0x286729(0x1f5)])??{};}};_0x5ac814(_0x434037,_0x5b4e73(0x4e0),_0x499ff3),_0x5ac814(_0x434037,_0x5b4e73(0x4cf),_0x1b5d51),_0x5ac814(_0x434037,_0x5b4e73(0x197),_0x10e282),_0x5ac814(_0x434037,_0x5b4e73(0x46e),_0xd2d24['UniverInstanceType'][_0x5b4e73(0x2ae)]),_0x434037=_0x2d6c5f([(0x0,_0xd2d24[_0x5b4e73(0x1d8)])(_0x2b2077[_0x5b4e73(0x240)],_0x2119db[_0x5b4e73(0x3f0)],_0x38c4c0[_0x5b4e73(0x562)],_0x27c3df[_0x5b4e73(0x345)],_0x13e20e['UniverBoardsUIPlugin']),_0x1c54fc(0x1,(0x0,_0xd2d24[_0x5b4e73(0x165)])(_0xd2d24[_0x5b4e73(0x367)])),_0x1c54fc(0x2,_0xd2d24['IConfigService']),_0x1c54fc(0x3,_0x2119db[_0x5b4e73(0x35c)])],_0x434037);function _0x13db92(_0x2b9340){const _0x14dc57=_0x5b4e73;return _0x2b9340===!0x1?!0x1:typeof _0x2b9340!=_0x14dc57(0x308)||{..._0x2b9340,'enabled':_0x2b9340[_0x14dc57(0x561)]??!0x0};}let _0x1a71f4=class extends _0xd2d24['Plugin']{constructor(_0x53dc63=_0x38bab1,_0x47e106,_0x172b23,_0xd0c48d){const _0xab3571=_0x5b4e73;super(),this[_0xab3571(0x280)]=_0x53dc63,this[_0xab3571(0x4f4)]=_0x47e106,this[_0xab3571(0x3a5)]=_0x172b23,this[_0xab3571(0x42e)]=_0xd0c48d;let {..._0x45aecf}=(0x0,_0xd2d24[_0xab3571(0x493)])({},_0x38bab1,this[_0xab3571(0x280)]);this[_0xab3571(0x3a5)][_0xab3571(0x255)](_0x53ae3a,_0x45aecf);}[_0x5b4e73(0x46b)](){const _0x3343a4=_0x5b4e73;let _0x3d1ab4=[[_0x519ce5],[_0x6de7d6]];_0x13e20e[_0x3343a4(0x1ee)][_0x3343a4(0x43c)](this[_0x3343a4(0x4f4)],_0x3d1ab4),[..._0x3d1ab4,[_0x24f1fb],[_0x58b2d5],[_0x47759b],[_0x3a5305],[_0x184d10]][_0x3343a4(0x2de)](_0x4b7363=>this[_0x3343a4(0x4f4)][_0x3343a4(0x450)](_0x4b7363)),this[_0x3343a4(0x19b)](this[_0x3343a4(0x4f4)][_0x3343a4(0x49c)](_0x38c4c0[_0x3343a4(0x4f6)])['registerAdapter'](this['_injector'][_0x3343a4(0x49c)](_0x24f1fb))),this[_0x3343a4(0x19b)](this['_injector'][_0x3343a4(0x49c)](_0x58b2d5)),this['disposeWithMe'](this[_0x3343a4(0x4f4)][_0x3343a4(0x49c)](_0x47759b)),this[_0x3343a4(0x19b)](this[_0x3343a4(0x4f4)]['get'](_0x3a5305)),this[_0x3343a4(0x19b)](this[_0x3343a4(0x4f4)][_0x3343a4(0x49c)](_0x184d10)),this[_0x3343a4(0x29b)]();}[_0x5b4e73(0x2f5)](){const _0xb1ddc2=_0x5b4e73;[[_0x43243f],[_0x55781f],[_0x14ec57,{'useClass':_0x428a37}],[_0x12a4cd],[_0x26376f],[_0x235e64],[_0x34c892],[_0x3af0c5]][_0xb1ddc2(0x2de)](_0x258d01=>{const _0x282420=_0xb1ddc2;this[_0x282420(0x19b)](this[_0x282420(0x42e)][_0x282420(0x498)](_0xd2d24['UniverInstanceType'][_0x282420(0x2ae)],_0x258d01));});}[_0x5b4e73(0x29b)](){const _0x29c5a1=_0x5b4e73;var _0x5bd3d3,_0x29e6a9;let _0x30b83d=this[_0x29c5a1(0x497)]();this[_0x29c5a1(0x3a5)][_0x29c5a1(0x255)](_0x13e20e[_0x29c5a1(0x1f5)],{..._0x30b83d,'toolbar':{..._0x30b83d[_0x29c5a1(0x532)],'tools':{...(_0x5bd3d3=_0x30b83d['toolbar'])==null?void 0x0:_0x5bd3d3[_0x29c5a1(0x4a6)],[_0x38c4c0[_0x29c5a1(0x19f)]['MindMap']]:_0x2c6716((_0x29e6a9=_0x30b83d[_0x29c5a1(0x532)])==null||(_0x29e6a9=_0x29e6a9['tools'])==null?void 0x0:_0x29e6a9[_0x38c4c0[_0x29c5a1(0x19f)][_0x29c5a1(0x55e)]])}}});}[_0x5b4e73(0x497)](){const _0x48b668=_0x5b4e73;return this[_0x48b668(0x3a5)]['getConfig'](_0x13e20e[_0x48b668(0x1f5)])??{};}};_0x5ac814(_0x1a71f4,_0x5b4e73(0x4e0),_0x499ff3),_0x5ac814(_0x1a71f4,_0x5b4e73(0x4cf),_0x1b5d51),_0x5ac814(_0x1a71f4,_0x5b4e73(0x197),_0x10e282),_0x5ac814(_0x1a71f4,_0x5b4e73(0x46e),_0xd2d24[_0x5b4e73(0x269)][_0x5b4e73(0x2ae)]),_0x1a71f4=_0x2d6c5f([(0x0,_0xd2d24[_0x5b4e73(0x1d8)])(_0x2b2077['UniverLicensePlugin'],_0x2119db[_0x5b4e73(0x3f0)],_0x38c4c0['UniverBoardsPlugin'],_0x27c3df[_0x5b4e73(0x345)],_0x13e20e[_0x5b4e73(0x1ee)]),_0x1c54fc(0x1,(0x0,_0xd2d24['Inject'])(_0xd2d24['Injector'])),_0x1c54fc(0x2,_0xd2d24['IConfigService']),_0x1c54fc(0x3,_0x2119db[_0x5b4e73(0x35c)])],_0x1a71f4);function _0x2c6716(_0x4f8f8e){const _0x2f6093=_0x5b4e73;return _0x4f8f8e===!0x1?!0x1:typeof _0x4f8f8e!=_0x2f6093(0x308)||{..._0x4f8f8e,'enabled':_0x4f8f8e[_0x2f6093(0x561)]??!0x0};}Object['defineProperty'](_0x17d441,_0x5b4e73(0x2bc),{'enumerable':!0x0,'get':function(){return _0x1a71f4;}}),Object[_0x5b4e73(0x3a7)](_0x17d441,_0x5b4e73(0x487),{'enumerable':!0x0,'get':function(){return _0x434037;}});}));