@univerjs-pro/boards-mind-ui 1.0.0-rc.0 → 1.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/ar-SA.js +1 -1
- package/lib/cjs/locale/ca-ES.js +1 -1
- package/lib/cjs/locale/de-DE.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/es-ES.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/id-ID.js +1 -1
- package/lib/cjs/locale/it-IT.js +1 -1
- package/lib/cjs/locale/ja-JP.js +1 -1
- package/lib/cjs/locale/ko-KR.js +1 -1
- package/lib/cjs/locale/pl-PL.js +1 -1
- package/lib/cjs/locale/pt-BR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/sk-SK.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-HK.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/ar-SA.js +1 -1
- package/lib/es/locale/ca-ES.js +1 -1
- package/lib/es/locale/de-DE.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/es-ES.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/id-ID.js +1 -1
- package/lib/es/locale/it-IT.js +1 -1
- package/lib/es/locale/ja-JP.js +1 -1
- package/lib/es/locale/ko-KR.js +1 -1
- package/lib/es/locale/pl-PL.js +1 -1
- package/lib/es/locale/pt-BR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/sk-SK.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-HK.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/index.css +75 -0
- package/lib/index.js +1 -1
- package/lib/locale/ar-SA.js +1 -1
- package/lib/locale/ca-ES.js +1 -1
- package/lib/locale/de-DE.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/es-ES.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/id-ID.js +1 -1
- package/lib/locale/it-IT.js +1 -1
- package/lib/locale/ja-JP.js +1 -1
- package/lib/locale/ko-KR.js +1 -1
- package/lib/locale/pl-PL.js +1 -1
- package/lib/locale/pt-BR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/sk-SK.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-HK.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/types/controllers/board-mind-map-insert.render-controller.d.ts +10 -3
- package/lib/types/controllers/board-mind-map-panel.controller.d.ts +1 -3
- package/lib/types/controllers/components.controller.d.ts +2 -2
- package/lib/types/controllers/mobile/board-mind-map-insert.render-controller.d.ts +7 -0
- package/lib/types/controllers/mobile/board-mind-map-panel.controller.d.ts +12 -0
- package/lib/types/controllers/mobile/components.controller.d.ts +7 -0
- package/lib/types/index.d.ts +1 -0
- package/lib/types/locale/en-US.d.ts +9 -0
- package/lib/types/mobile-plugin.d.ts +18 -0
- package/lib/types/plugin.d.ts +3 -0
- package/lib/types/render-objects/board-mind-map-node-controls-object.d.ts +4 -3
- package/lib/types/utils/mind-map-node-controls.util.d.ts +1 -0
- package/lib/types/views/BoardMindMapMobileStylePanel.d.ts +7 -0
- package/lib/types/views/BoardMindMapPanel.d.ts +56 -5
- package/lib/types/views/mobile/BoardMobileMindMapFloatingToolbar.d.ts +3 -0
- package/lib/types/views/mobile/BoardMobileMindMapPanel.d.ts +2 -0
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/ar-SA.js +1 -1
- package/lib/umd/locale/ca-ES.js +1 -1
- package/lib/umd/locale/de-DE.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/es-ES.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/id-ID.js +1 -1
- package/lib/umd/locale/it-IT.js +1 -1
- package/lib/umd/locale/ja-JP.js +1 -1
- package/lib/umd/locale/ko-KR.js +1 -1
- package/lib/umd/locale/pl-PL.js +1 -1
- package/lib/umd/locale/pt-BR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/sk-SK.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-HK.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +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 _0x1ab5(){const _0x16077d=['ShapeFillButton','foldChildNodes','strokeOpacity','getBoardElementRenderObjectKey','KeyCode','typography','3198lBlhyU','Fragment','clearControl$','ArrowRight','visible','then','_getRenderModules','Separator','dropEffect','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','_cloneBlueprintNode','useReducer','subUnitId','_layoutFlushScheduled','ignoreExternalFocusChanges','onPointerCancel$','_provider','siblingHoverRadius','6065fzfCqU','_lastChildDragAction','buildShapeTextDataUpdate','BOARDS_UI_PLUGIN_CONFIG_KEY','Escape','italic','boards-mind-ui.panel.nodeStyle.','board.operation.mind-map.open-panel','circle','_previewHostSize','moveTo','mindmap-horizontal','boards-mind-ui.panel.layout.both','zoomRatio','parseInt','isRoot','ToggleMindMapNodeCollapseOperation','ShapeFloatingToolbarContent','getPayload','getTextStyle','currentColor','viewing','_cancelPointerChildDrag','lineJoin','assign','context','ENTER','div','rootWidth','M19.5\x207.5h-4.2c-1.9\x200-3.3\x201.5-3.3\x203.3','orderKey','_sidebarDisposable','_clearPopup','verticalAlign','setActiveTool','_clearPopupIfSelectionChanged','arrow-down','boards-mind-ui.panel.rename','unsubscribe','root','_template','_mindMapClipboardService','join','_undoRedoGroupService','children','getElementById','addObject','React','_isActive','stopPropagation','addChildRadius','getOwnPropertyDescriptor','left','gap','add-sibling-after','MobileColorPresets','boards-mind-ui.cancel','_consumePointerEvent','_shortcutService','boards-mind-ui.toolbar.action.fill','0\x200\x2080\x2056','addParentNode','_renderManagerService','px\x20','onReady','fallbackNodeHeight','CommandType','_createKeyboardShortcutOperation','toolbar','bounds','findIndex','_isControlEvent','add','univer-flex-wrap','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','copy','sourceHighlightFillColor','globalAlpha','glyphWidth','_syncPreviewObject','timelineAxisGap','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','custom','_childDragActivated','createRunner','_drawSourceHighlight','_activePreview','addSibling','align-top-icon','visualRadius','mind-map-font-size','boards-mind-ui.panel.importOPML','editingParams$','find','baseVal','boards-mind-ui.panel.nodeStyle.style','_syncElementDataToScene','InputNumber','_applyRootTranslation','_updateShapeText','exports','univer-min-h-12\x20univer-px-3','_config','_queuedLayouts','strikethrough','isHit','hasChildren','univer-flex\x20univer-justify-end\x20univer-gap-2','Textarea','boards-mind-ui.saveDescription','incomingConnectorStyle','onStarting','mask','UniverBoardsUIPlugin','_ensureObject','oKey','panel','badgeCount','createControl$','_lastPoint','controls','_boardTextEditingService','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','UniverProBoards','_boardCanvasPopManagerService','mindmap-vertical','registerRuntimeScopedDependencies','side','_restoreActivePreview','localName','round','Dropdown','AlignTextBothIcon','tools','univer-items-center','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','univer-min-h-12\x20univer-text-xl','hasCommand','UndoRedoGroupService','ShapeFloatingToolbarMenuPanel','min','decorate','getMindMapNodeMeta','_handlePointerMove','_intrinsicSizeService','glyphSize','_attachObjectPointerListeners','Disposable','parentBounds','UniverIcon','sort','true','siblingGlyphSize','_getMindMapChildren','branchLineType','open-description','_executeAndLayout','bottom','_hideSelectionForChildDrag','collapsed','M22\x208h36M22\x2048h36M14\x2018v20M66\x2018v20','lineWidth','_subscribeElementDataChanges','importExport','lineTo','getTouchHitDistance','_activePointerDragDisposables','tree-right','slice','@univerjs/core','UniverProLicense','boards-mind-ui.toolbar.panel.typography','ICommandService','_getPointFromEvent','_resolveHostSize','collapseAllNodes','InsertBoardMindMapOperation','clsx','_syncLayoutPreview','_executeNodeOperation','boards-mind-ui.toolbar.action.delete','textStyle','_resolveSelectedMindMapEntryFromState','_activeScopeId','elementStateService','dash','boards-mind-ui.panel.tab.importExport','addChildGlyphSize','univer-cursor-not-allowed\x20univer-text-gray-300\x20hover:univer-bg-transparent','bold-icon','underline','_insertStateService','rootFontWeight','length','_boardElementService','_findChildNodeAtPoint','_interactionSurfaceService','JUSTIFIED','UniverEngineRender','univer-min-h-12\x20univer-w-full','_initEditingRestore','solid','univer-size-6\x20univer-rounded\x20univer-border\x20univer-border-solid\x20univer-border-gray-200','univer-text-xs\x20univer-text-gray-400\x20dark:!univer-text-gray-500','branchGap','collapse-all','none','filter','registerRenderModule','panOffset','state$','MindMap','horizontally-icon','max','handleShortcut','elementId','Plugin','fillStyle','_refresh$','univer-w-full\x20univer-text-base','_pointerDragStart','rootRadius','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','_sidebarService','pendingInsert','ShapeLineTypeEnum','zIndex','add-child-right','MIND_MAP_DEFAULT_NODE_TEXT','ghostTextColor','_resolveArrowNavigationTarget','syncBoardElementRenderObject','resolveBoardFloatingToolbarSelection','univer-mb-4','boards-mind-ui.descriptionPlaceholder','_textEditingService','_addSiblingOrChild','1.0.1','_isPopupSelectionStillActive','dialogService','size','_previewRefreshService','_enableMindMapToolbarTool','412xBRzzw','getUnit','transform','offsetY','activeEditingId','TranslateMindMapOperation','boards-mind-ui.panel.structureKind.treeRight','[&_input]:univer-h-12\x20[&_input]:univer-text-base','board.mind-map.panel','_disposeActivePointerDragListeners','snapDistance','MIND_MAP_DEFAULT_NODE_SIZE','items','_registerComponents','ImportMindMapOpmlOperation','interactionMode','_resolveDirtyBounds','arrow-left','merge','ShapeLineDashEnum','preventDefault','IBoardElementStateService','target','Tree\x20diagram','clearPendingInsert','connector','BOARD_RENDER_OBJECT_Z_INDEX','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','boards-mind-ui.panel.structureKind.treeAlternate','beginPath','changeEnd$','boards-mind-ui.panel.structureKind.mindmapVertical','ShapeFloatingToolbarDropdownTrigger','symbol','_popupDisposable','BoardTextEditingService','BACKSPACE','1.8','createElement','map','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','more','timeline-horizontal','univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-xs\x20univer-text-gray-600','boards-mind-ui.panel.spacing.parentGap','boards-mind-ui.panel.exportOPML','IUniverInstanceService','bold','parseFloat','collapsePlusMinDistance','_resolveCompleteSelectedScope','onPointerMove$','focus','pointerStartX','boards-mind-ui.panel.tab.structure','getShortcutDisplay','branch-orthogonal','function','compareMindMapOrderKey','ARROW_LEFT','engine','_createQuoteShortcut','rgba(','syncExecuteCommand','_resolveRootTopLeft','univer-size-5','isTransforming','@univerjs-pro/license','offsetBoardConnectorGeometry','fill','BaseObject','univer-grid\x20univer-w-full\x20univer-gap-2','flatMap','M15\x2031h50M35\x2031V18c0-4\x203-7\x208-7h9M35\x2031v13c0\x204\x203\x207\x208\x207h9','onChange','open','getUnitId','boards-mind-ui.panel.branchLineType.orthogonal','setContextValue','LayoutMindMapOperation','SHAPE_FLOATING_TOOLBAR_DEFAULT_TEXT_COLOR','_attachActivePointerDragListeners','univer-text-sm\x20univer-font-medium\x20univer-text-gray-900\x20dark:!univer-text-gray-0','M4.5\x2016.5h4.2c1.9\x200\x203.3-1.5\x203.3-3.3','_attachObjectEvents','promote','getPropertyValue','_resolveChildSide','orthogonal','MetaKeys','paste','boards-mind-ui.toolbar.action.addChild','textEditingService','renderGhostNode','evenodd','Inject','useObservable','_scheduleAttachObjectPointerListeners','AddMindMapChildOperation','shapeId','_createShortcutItems','getFonts','lineWidthScreen','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','_previewObject','primaryColor','liveRootBounds','0\x200\x2024\x2024','use','UniverRenderEnginePlugin','Shape','push','reduce','board-mind-map-node-controls-object','arrow-right','_syncChildDragPreview','fromEntries','SHAPE_FLOATING_TOOLBAR_DEFAULT_STROKE_COLOR','originalStrokeWidth','univer-flex\x20univer-items-center\x20univer-gap-1\x20univer-truncate\x20univer-rounded\x20univer-py-1\x20univer-text-left\x20univer-text-gray-800','siblingDotRadius','_cloneBlueprint','setEditing','_resetContext','boards-mind-ui.panel.layout.left','ShapeFloatingToolbarMenuItem','ArrowUp','_restoreObjectToDragStart','_pasteUnderSelectedNode','getContextValue','M16\x2028c16\x200\x2025-13\x2043-13M16\x2028c16\x200\x2025\x2013\x2043\x2013','_resolveSelectedEntry','univer-h-12\x20univer-w-32\x20univer-text-base','tree-alternate','setData','boards-mind-ui.panel.spacing.branchGap','univer-text-xs','3693976qGSiAc','BoardElementType','enabled','_syncPointerChildDragPreview','_instanceSrv','Injector','univer-mb-2\x20univer-text-lg\x20univer-text-gray-900','structureKind','useState','_resolveCreateChildSide','depth','elementService','UNIVER_BOARDS_MIND_UI_PLUGIN','_getLiveObjectBounds','_dragStart','rootFontSize','boards-mind-ui.panel.title','M56\x2039h11M13\x2050h11','_getPointerScreenPoint','isFinite','defIds','close','unshift','IDialogService','_consumeControlEvent','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','url(#$1','defaultValue','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','SHAPE_TEXT_EDITOR_QUOTE_COMMAND_ID','VerticalCenterIcon','board-mind-map-description-dialog','horizontalAlign','dispose$','jsx','trim','SHIFT','ghost','small','evented','FOCUSING_MIND_MAP_TEXT_EDITOR','dirtyPaddingScreen','boards-mind-ui.toolbar.action.copy','priority','removeProperty','hostSize','structured','univer-min-w-[240px]','colorChannel1','RightJustifyingIcon','horizontalGap','RoundDot','areBoardShapeTextValuesEquivalent','UniverBoardsPlugin','univer-flex\x20univer-gap-2','values','boards-mind-ui.panel.addText','style','_isPointInBounds','elementUpdate$','_resolveNodeSize','_buildPopupSelectionKey','hypot','data','subscribe','connectorAffordance','_removeDragPreviewObject','UniverCore','7279704MwRmIE','_seedExistingNodeSizes','M47\x2025h13M47\x2035h13M47\x2045h13','Solid','boards-mind-ui.panel.spacing.siblingGap','_object','font','_getBoardPointFromEvent','ChangeMindMapBranchLineTypeOperation','_stateService','_syncContext','_objectPointerDisposables','selectElements','univer-mb-0','_renderContext','_elementStateService','boards-mind-ui.panel.structureKind.treeLeft','complete','Input','univer-size-full\x20univer-bg-gray-0\x20univer-text-sm\x20univer-text-gray-700\x20dark:!univer-bg-gray-900\x20dark:!univer-text-gray-200','ghostFillColor','M17\x2033h21M38\x2017v30M38\x2017h24','getMindMapDefaultChildOrderKey','boards-mind-ui.panel.emptyNodes','ShapeLineIcon','UniverProBoardsMindUi','objectAlpha','unit','vertical-center-icon','rootHeight','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','timeline','_getPointerLiveBounds','ghostFontWeight','HorizontallyIcon','large','MIDDLE','_syncDragPreview','boards-mind-ui.alignLeft','clientX','dataModel','DependentOn','dividerBefore','registerProvider','M56\x2011h11M56\x2051h11','getElementData','setProperty','_insertMindMap','notify','AlignTopIcon','render','move','resolveMindMapLayoutPreview','extraProps','board.mind-map.description-dialog','transientControl','activeTool','scope','_toFiniteBounds','middle','ComponentManager','center','child','_deleteSelectedNode','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','univer-w-32','setConfig','2449608WKnmmm','univer-grid\x20univer-grid-cols-4\x20univer-gap-2','rootNodeId','IBoardElementService','clientY','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','current','badgeFontSize','hide','BOARD_RENDER_LAYER_INDEX','IContextService','description','board.mind-map.floating-toolbar','setTemplate','mind-map-layout-dropdown','addSiblingNode','refresh$','path','detach','_resolveChildDragTopologyAction','_applyScopeTranslation','univer-text-base','boards-mind-ui.panel.searchNodes','toStringTag','univer-mb-3\x20univer-w-full','kind','IShortcutService','BoardShapeIntrinsicSizeService','makeDirty','getBoundingClientRect','elementRemove$','collapsedDescendantCount','Branch','mind-map-fill','boards-mind-ui.config','getActivePageId','boards-mind-ui.toolbar.action.stroke','stroke','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','_resolveRootChildControlSides','text','_openDescriptionDialog','AddMindMapSiblingOperation','makeDirtyNoDebounce','rxjs','after','boards-mind-ui.toolbar.primary.line','getCurrentUnitOfType','boards-mind-ui.panel.cancel','dispose','onDblclick$','univer-min-w-0\x20univer-flex-1\x20univer-justify-start\x20univer-truncate\x20univer-text-left','UniverProBoardsMind','getScene','targetNodeId','getPropertyPriority','RxDisposable','replace','activated$','Enter','get','scene','_drawConnectorPreview','rootChildSides','strikethrough-icon','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',',\x20minmax(0,\x201fr))','isBoardShortcutAvailable','_dragPreviewObject','http://www.w3.org/2000/svg','BOARD_SHORTCUT_BINDINGS','PasteMindMapNodeOperation','mind-map-stroke','_injector','boards-mind-ui.alignCenter','observe','react','_getBlankBoardContext','left-justifying-icon','buttons','idSuffix','FOCUSING_MIND_MAP_NODE','transformByState','Mind\x20map','UniverProShapeEditorUi','_openSelectedTextEditing','rgb','removeObjects','add-sibling-before','HorizontalAlign','boards-mind-ui.panel.structureKind.timelineVertical','icon','@univerjs-pro/boards-mind-ui','add-child-bottom','_syncChildDragPreviewObject','version','ExportMindMapOpmlOperation','pointermove','useRef','objects','meta','repeat(','toLowerCase','registerShortcut','univer-h-7\x20univer-min-w-9\x20univer-w-auto\x20univer-gap-1\x20univer-px-1.5','getObjectIncludeInGroup','clipboard','getMindMapContainerMeta','titleKey','jsxs','transientPreview','getSnapshot','strokeStyle','foreignAttributes','opacity','useEffect','scopeId','boards-mind-ui.panel.branchLineType.curve','hoveredControl','style-divider','removeEventListener','boards-mind-ui.toolbar.action.fontColor','non-scaling-stroke','nodeWidth','width','@univerjs-pro/boards','default','disposeWithMe','elementData','executeCommand','_removeObject','IRenderManagerService','top','_configService','FOCUSING_MIND_MAP_BLANK_BOARD','0\x200\x2016\x2016','prototype','key','textFill','ShapeDefaultConfig','UNIVER_BOARD','siblingGap','arrow-up','_ensurePreviewObject','univer-flex\x20univer-min-w-0\x20univer-flex-1\x20univer-gap-2','UniverUi','MIND_MAP_DEFAULT_LAYOUT','parentNodeId','TRUE','touchHitRadius','title','boards-mind-ui.panel.branchLineType.roundedOrthogonal','_getBoardsUIConfig','UpdateMindMapNodeOperation','getState','getHitControl','univer-flex\x20univer-w-full\x20univer-flex-col\x20univer-gap-4','Button','_localeService','0\x200\x2020\x2020','ChangeMindMapLayoutOperation','board.operation.mind-map.keyboard-shortcut','getAncestorScale','canvas','right','ISidebarService','add-child-left','@univerjs/ui','isMindMapPlainStructureKind','univer-space-y-1','_isChildDragPastActivationThreshold','viewportPanOffset','set','SHAPE_FLOATING_TOOLBAR_DEFAULT_TEXT_BACKGROUND_COLOR','IBoardUIStateService','structureScopeId','dragObjectAlpha','univer-w-24','SearchIcon','_resolvePreviewTextStyle','disconnect','registerCommand','boards-mind-ui.panel.nodeStyle.fontSize','DeviceType','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','toggle-collapse','pluginName','1178810JtGypU','both','_contextService','fallbackNodeWidth','line','getTemplate','some','string','_objectEventDisposables','selectedIds','M20\x2025h13M20\x2035h13M20\x2045h13','_showPopupForSelection','_uiStateService','_nodeSizeByKey','search-icon','getMindMapConnectorMeta','object','rounded-orthogonal','parseBoardElementRenderObjectKey','tree-left','_handlePointerDown','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','setLineDash','uiStateService','scaleY','layout-panel-divider','useLayoutEffect','boards-mind-ui.alignBottom','LeftJustifyingIcon','IMindMapClipboardService','type','_navigateByTopology','abs','_popupSelectionKey','add-child-top','isReleased','from','offsetX','currentTarget','UniverBoardsMindUIPlugin','univer-flex-1\x20univer-text-sm','defineProperty','#d8dce3','_activeNodeId','add-sibling-or-child','boards-mind-ui.panel.structureKind.mindmapHorizontal','IConfigService','boards-mind-ui.panel.structureKind.timelineHorizontal','getEditing','onPointerUp$','textAlign','_collapseAll','_resolvePreviewSourceBounds','owner','requestRender','dropdown','popup','entries','pointercancel','M56\x2012v32M56\x2019c0\x204-3\x206-7\x206h-7M56\x2029c0\x204-3\x206-7\x206h-7M56\x2039c0\x204-3\x206-7\x206h-7','borderWidth','_getElementKey','_getDependencies','editCurrentNode','dashType','_applyDragTopologyAction','1304151yEuXRM','resolveBoardElementWorldBounds','beginMindMapMode','newParentNodeId','getCanvasElement','univer-h-28\x20univer-resize-none','action','allowRootReparent','_executeChildDragAction','connectorData','MobileShapeMenu','pointerup','ghostRadius','ShapeFloatingToolbarFontSizeSelect','structure','save','number','hadStyleAttribute','params','univer-w-full\x20univer-text-xs','@univerjs-pro/engine-shape','timeline-vertical','toDisposable','board-mind-map-drag-preview-object','element','univer-text-gray-500','register','@univerjs/design','sourceHighlightStrokeColor','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','_state','boards-mind-ui.panel.tab.layout','delete','dot','_capturePointerChildDragStart','color','updateElement','UniverBoardsMobileUIPlugin','_rememberNodeSize','ghostBounds','sourceBounds','_removePreviewObject','surfaceColor','restore','clearSelection','subscribeEvent','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','Subject','commandService','_init','_attachObjectPointerScheduled','primary','italic-icon','_commandService','M12\x2015h9M12\x2028h9M12\x2041h9M59\x2015h9M59\x2028h9M59\x2041h9','fontSize','_handleElementUpdate','generateRandomId','_instanceService','iterator','lineCap','boundsByElementId','paste-as-new','univer-min-h-12\x20univer-flex-1','run','elementAdd$','_applyPointerChildDrag','SolidLine','DisposableCollection','badgeFontWeight','setShapeSidebarOpen','_copySelectedNode','M3.5\x203.5L16.5\x2016.5','item','resolve','univer-h-9\x20univer-w-12','_executeCreateAndEdit','RIGHT','Select','nodeHeight','add-child','@univerjs-pro/shape-editor-ui','connectorAlpha','Touch','boards-mind-ui.panel.pasteOPML','Segmented','registerAdapter','scaleX','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','changing$','hideRootControls','label','svg','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','section','before','branch-curve','forwardRef','_countDescendants','TextFillButton','clipboardService','univer-w-20\x20univer-shrink-0','_getZoomRatio','getSelectedObjectMap','MIND_MAP_LAYOUT_SPACING_LIMITS','curve','M40\x209v40M40\x2020c8\x200\x2011\x204\x2011\x2011v8M40\x2035c-8\x200-11\x204-11\x2011v4','ArrowLeft','forEach','packageName','updateState','detachWhenNoSnap','boards-mind-ui.alignMiddle','textPaddingScreen','setHoveredControl','univer-border-b\x20univer-border-gray-200\x20univer-p-3','_resolveIncomingConnectorStyle','pipe','point','CENTER','VerticalAlign','documentStyle','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','BoardToolType','LocaleService','fillText','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','height','exec','getInjector','mindmap','_syncControls','_disposed','keys','resolveMindMapBranchLineTypeForStructure','DetachMindMapNodeOperation','_executeRootAnchoredLayout','shapeText','labelKey','_childDragSelectionHidden','addChildNode','tag','OPERATION','getElementDataForUnit','rootText','align-bottom-icon','renderContext','shapeData','univer-min-h-12\x20univer-text-base','xlink:href','divider-','reparent','span','boards-mind-ui.toolbar.panel.line','6\x207','BoldIcon','UniverLicensePlugin','quadraticCurveTo','addChild','univer-space-y-2','changeStart$','layout','UniverInstanceType','univer-min-h-12\x20univer-w-full\x20univer-justify-between','displayName','sourceHaloScreen','constructor','appliedStrokeWidth','focusUnit','has','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','writeText','_ensureDragPreviewObject','textBaseline','value','vertical','univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-gap-4','defs','focusedId','useDependency','getObject','rootTextColor','_queueLayout','board-mind-map-pending-insert-object','borderClassName','react/jsx-runtime','blueprint','BOTTOM','Dash','button','UniverProEngineShape','nodeId','direction','_createTopologyBoundsByElementId','univer-flex\x20univer-flex-col\x20univer-gap-2','_getSceneObject','edit-text','toFixed','preview','placement','PromoteMindMapNodeOperation','radius','strokeWidth','UniverBoardsMindPlugin','onPointerDown$','UniverDesign','_updateHostSize','attrs','boards-mind-ui.description','13531kAhcYh','addEventListener','1em','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','onCommandExecuted','call','univer-h-32\x20univer-resize-none\x20univer-text-sm','getRenderUnitById','takeUntil','localeService','deviceType','_resolveControlSide','getTransformerByCreate','show','boards-mind-ui.toolbar.action.addSibling','_resolveCurrentBoardContext','univer-flex\x20univer-flex-col\x20univer-gap-4\x20univer-p-4','clear','TOP','unitId','boards-mind-ui.toolbar.action.layout','LEFT','transientPreviewForeground','stroke-width','_getSelectedMindMapContext','align-text-both-icon','ARROW_DOWN','fontFamily','ShapeFloatingToolbarIcon','useId','UniverBoardsMindMobileUIPlugin','rootStartBounds','doc','_componentManager','dataTransfer','BooleanNumber'];_0x1ab5=function(){return _0x16077d;};return _0x1ab5();}function _0x41da(_0x512b29,_0x2343eb){_0x512b29=_0x512b29-0x116;const _0x1ab58c=_0x1ab5();let _0x41da96=_0x1ab58c[_0x512b29];return _0x41da96;}(function(_0x1bf470,_0x108d96){const _0x18d5be=_0x41da,_0x53c38d=_0x1bf470();while(!![]){try{const _0x2cda93=parseInt(_0x18d5be(0x365))/0x1+-parseInt(_0x18d5be(0x2aa))/0x2+-parseInt(_0x18d5be(0x3a7))/0x3+parseInt(_0x18d5be(0x19a))/0x4*(-parseInt(_0x18d5be(0x4b4))/0x5)+parseInt(_0x18d5be(0x4a2))/0x6*(parseInt(_0x18d5be(0x478))/0x7)+-parseInt(_0x18d5be(0x223))/0x8+parseInt(_0x18d5be(0x267))/0x9;if(_0x2cda93===_0x108d96)break;else _0x53c38d['push'](_0x53c38d['shift']());}catch(_0x4aab16){_0x53c38d['push'](_0x53c38d['shift']());}}}(_0x1ab5,0xbc6a4),function(_0x224056,_0x2ac8dc){const _0x4c73cb=_0x41da;typeof exports=='object'&&typeof module<'u'?_0x2ac8dc(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==_0x4c73cb(0x1d3)&&define['amd']?define([_0x4c73cb(0x518),_0x4c73cb(0x327),'@univerjs-pro/boards-mind','@univerjs-pro/boards-ui',_0x4c73cb(0x1dd),_0x4c73cb(0x150),'@univerjs/engine-render',_0x4c73cb(0x2d6),_0x4c73cb(0x351),_0x4c73cb(0x3f8),_0x4c73cb(0x3bb),_0x4c73cb(0x3c2),_0x4c73cb(0x2f6),_0x4c73cb(0x460)],_0x2ac8dc):(_0x224056=typeof globalThis<'u'?globalThis:_0x224056||self,_0x2ac8dc(_0x224056[_0x4c73cb(0x280)]={},_0x224056[_0x4c73cb(0x122)],_0x224056[_0x4c73cb(0x2de)],_0x224056['UniverProBoardsUi'],_0x224056[_0x4c73cb(0x151)],_0x224056[_0x4c73cb(0x266)],_0x224056[_0x4c73cb(0x16d)],_0x224056[_0x4c73cb(0x2d6)],_0x224056[_0x4c73cb(0x33b)],_0x224056[_0x4c73cb(0x2fe)],_0x224056[_0x4c73cb(0x465)],_0x224056[_0x4c73cb(0x474)],_0x224056[_0x4c73cb(0x4e3)],_0x224056['React']));}(this,function(_0x272df1,_0x1184a0,_0x4ecf80,_0x17cb44,_0x903d88,_0x4aaeb9,_0x4253cf,_0x1e0edb,_0x5982a1,_0x2b6c26,_0x21a535,_0x16270c,_0x34b88b,_0x544d30){const _0x114ef7=_0x41da;Object['defineProperty'](_0x272df1,Symbol[_0x114ef7(0x2c1)],{'value':'Module'});var _0x8152e9=_0x114ef7(0x306),_0x4fa915=_0x114ef7(0x194);let _0x1865a7=_0x114ef7(0x2cc),_0x1cbb9e={};function _0x47529b(_0x45c03e){'@babel/helpers - typeof';const _0x5d4950=_0x114ef7;return _0x47529b=typeof Symbol==_0x5d4950(0x1d3)&&typeof Symbol[_0x5d4950(0x3e2)]==_0x5d4950(0x1bb)?function(_0x5832d8){return typeof _0x5832d8;}:function(_0x42242b){const _0x4ffd2f=_0x5d4950;return _0x42242b&&typeof Symbol==_0x4ffd2f(0x1d3)&&_0x42242b[_0x4ffd2f(0x44d)]===Symbol&&_0x42242b!==Symbol[_0x4ffd2f(0x332)]?'symbol':typeof _0x42242b;},_0x47529b(_0x45c03e);}function _0x3d374c(_0x3b3823,_0x383329){const _0x1faea8=_0x114ef7;if(_0x47529b(_0x3b3823)!=_0x1faea8(0x375)||!_0x3b3823)return _0x3b3823;var _0x213833=_0x3b3823[Symbol['toPrimitive']];if(_0x213833!==void 0x0){var _0x6d8a2b=_0x213833['call'](_0x3b3823,_0x383329||'default');if(_0x47529b(_0x6d8a2b)!=_0x1faea8(0x375))return _0x6d8a2b;throw TypeError(_0x1faea8(0x201));}return(_0x383329===_0x1faea8(0x36c)?String:Number)(_0x3b3823);}function _0x2afcf4(_0x18c375){const _0x2c89ea=_0x114ef7;var _0x55fd5b=_0x3d374c(_0x18c375,_0x2c89ea(0x36c));return _0x47529b(_0x55fd5b)=='symbol'?_0x55fd5b:_0x55fd5b+'';}function _0x4bcbf3(_0x56ea35,_0x3628fa,_0x8a5051){return(_0x3628fa=_0x2afcf4(_0x3628fa))in _0x56ea35?Object['defineProperty'](_0x56ea35,_0x3628fa,{'value':_0x8a5051,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x56ea35[_0x3628fa]=_0x8a5051,_0x56ea35;}function _0x27e70d(_0x1d4af8,_0x106304){return function(_0x13b9a7,_0x2634b6){_0x106304(_0x13b9a7,_0x2634b6,_0x1d4af8);};}function _0x41c154(_0x3e1f1f,_0x22ffe2,_0xd762bb,_0x4b58a1){const _0x4de325=_0x114ef7;var _0x4371cd=arguments[_0x4de325(0x168)],_0x4dfe0a=_0x4371cd<0x3?_0x22ffe2:_0x4b58a1===null?_0x4b58a1=Object[_0x4de325(0x4e7)](_0x22ffe2,_0xd762bb):_0x4b58a1,_0x29bd2b;if(typeof Reflect=='object'&&typeof Reflect['decorate']==_0x4de325(0x1d3))_0x4dfe0a=Reflect[_0x4de325(0x134)](_0x3e1f1f,_0x22ffe2,_0xd762bb,_0x4b58a1);else{for(var _0x142cdc=_0x3e1f1f['length']-0x1;_0x142cdc>=0x0;_0x142cdc--)(_0x29bd2b=_0x3e1f1f[_0x142cdc])&&(_0x4dfe0a=(_0x4371cd<0x3?_0x29bd2b(_0x4dfe0a):_0x4371cd>0x3?_0x29bd2b(_0x22ffe2,_0xd762bb,_0x4dfe0a):_0x29bd2b(_0x22ffe2,_0xd762bb))||_0x4dfe0a);}return _0x4371cd>0x3&&_0x4dfe0a&&Object['defineProperty'](_0x22ffe2,_0xd762bb,_0x4dfe0a),_0x4dfe0a;}let _0x318987=class extends _0x4aaeb9[_0x114ef7(0x2e2)]{constructor(_0x32a2c2,_0x5534b9,_0x11dfc2){const _0x551117=_0x114ef7;super(),this[_0x551117(0x275)]=_0x32a2c2,this['_boardElementService']=_0x5534b9,this[_0x551117(0x3dc)]=_0x11dfc2,_0x4bcbf3(this,'_nodeSizeByKey',new Map()),_0x4bcbf3(this,_0x551117(0x51b),new Map()),_0x4bcbf3(this,_0x551117(0x4af),!0x1),this[_0x551117(0x3d8)]();}[_0x114ef7(0x3d8)](){const _0x19fb3e=_0x114ef7;this[_0x19fb3e(0x268)](),this['disposeWithMe']((0x0,_0x4aaeb9[_0x19fb3e(0x3bd)])(this[_0x19fb3e(0x169)][_0x19fb3e(0x3e8)][_0x19fb3e(0x41c)]((0x0,_0x1e0edb[_0x19fb3e(0x480)])(this[_0x19fb3e(0x244)]))['subscribe'](_0x2efb29=>{const _0x5a937d=_0x19fb3e;_0x2efb29[_0x5a937d(0x413)](_0x131499=>{const _0x35367f=_0x5a937d;let _0x812132=this[_0x35367f(0x169)][_0x35367f(0x4e1)](_0x131499['unitId'],_0x131499[_0x35367f(0x4ae)],_0x131499[_0x35367f(0x17e)]);this['_rememberNodeSize'](_0x131499,_0x812132);});}))),this[_0x19fb3e(0x329)]((0x0,_0x4aaeb9[_0x19fb3e(0x3bd)])(this[_0x19fb3e(0x169)][_0x19fb3e(0x25e)][_0x19fb3e(0x41c)]((0x0,_0x1e0edb[_0x19fb3e(0x480)])(this[_0x19fb3e(0x244)]))[_0x19fb3e(0x263)](_0x2f9919=>{const _0x30a9e1=_0x19fb3e;_0x2f9919['forEach'](_0xad5c88=>this[_0x30a9e1(0x3df)](_0xad5c88));})));}[_0x114ef7(0x268)](){const _0x51ff28=_0x114ef7;let _0x302de6=this[_0x51ff28(0x275)]['unitId'],_0x459ec8=this[_0x51ff28(0x169)][_0x51ff28(0x436)](_0x302de6);Object[_0x51ff28(0x39e)](_0x459ec8)[_0x51ff28(0x413)](([_0x1e3cae,_0x2149c5])=>{const _0x1c1657=_0x51ff28;Object[_0x1c1657(0x25a)](_0x2149c5[_0x1c1657(0x262)])[_0x1c1657(0x413)](_0x230851=>{const _0x766571=_0x1c1657;this['_rememberNodeSize']({'unitId':_0x302de6,'subUnitId':_0x1e3cae,'elementId':_0x230851[_0x766571(0x17e)]},_0x230851);});});}[_0x114ef7(0x3df)](_0xbb60b8){const _0x1a9870=_0x114ef7;if(_0xbb60b8['unitId']!==this[_0x1a9870(0x275)][_0x1a9870(0x48b)])return;let _0x1ce7b0=this[_0x1a9870(0x169)][_0x1a9870(0x4e1)](_0xbb60b8[_0x1a9870(0x48b)],_0xbb60b8[_0x1a9870(0x4ae)],_0xbb60b8[_0x1a9870(0x17e)]),_0x3d6f29=(0x0,_0x4ecf80[_0x1a9870(0x135)])(_0x1ce7b0==null?void 0x0:_0x1ce7b0['element']),_0x731121=this[_0x1a9870(0x25f)](_0x1ce7b0);if(!_0x3d6f29||!_0x731121){this[_0x1a9870(0x372)]['delete'](this['_getElementKey'](_0xbb60b8));return;}let _0x349a62=this[_0x1a9870(0x3a2)](_0xbb60b8),_0x26c426=this['_nodeSizeByKey'][_0x1a9870(0x2e6)](_0x349a62);this[_0x1a9870(0x372)][_0x1a9870(0x356)](_0x349a62,_0x731121),!(_0x26c426&&_0x26c426[_0x1a9870(0x326)]===_0x731121['width']&&_0x26c426[_0x1a9870(0x426)]===_0x731121[_0x1a9870(0x426)])&&this[_0x1a9870(0x45d)]({'unitId':_0xbb60b8[_0x1a9870(0x48b)],'subUnitId':_0xbb60b8[_0x1a9870(0x4ae)],'scopeId':_0x3d6f29['structureScopeId']});}[_0x114ef7(0x3cd)](_0x1b0f08,_0x57bc16){const _0x56e902=_0x114ef7;if(_0x1b0f08[_0x56e902(0x48b)]!==this['_renderContext']['unitId'])return;let _0x4538fc=(0x0,_0x4ecf80[_0x56e902(0x135)])(_0x57bc16==null?void 0x0:_0x57bc16[_0x56e902(0x3bf)]),_0x46b372=this['_resolveNodeSize'](_0x57bc16);_0x4538fc&&_0x46b372&&this['_nodeSizeByKey'][_0x56e902(0x356)](this[_0x56e902(0x3a2)](_0x1b0f08),_0x46b372);}[_0x114ef7(0x25f)](_0x446f24){const _0x311a93=_0x114ef7;let _0x24271e=(_0x446f24==null?void 0x0:_0x446f24[_0x311a93(0x19c)])??(_0x446f24==null?void 0x0:_0x446f24['element'][_0x311a93(0x19c)]),_0x5261d4=_0x24271e==null?void 0x0:_0x24271e[_0x311a93(0x326)],_0x32a67a=_0x24271e==null?void 0x0:_0x24271e['height'];return!Number['isFinite'](_0x5261d4)||!Number[_0x311a93(0x236)](_0x32a67a)?null:{'width':_0x5261d4,'height':_0x32a67a};}[_0x114ef7(0x45d)](_0x3a4aeb){const _0x1e8ebe=_0x114ef7;this['_queuedLayouts'][_0x1e8ebe(0x356)](_0x3a4aeb[_0x1e8ebe(0x48b)]+':'+_0x3a4aeb[_0x1e8ebe(0x4ae)]+':'+_0x3a4aeb['scopeId'],_0x3a4aeb),!this[_0x1e8ebe(0x4af)]&&(this['_layoutFlushScheduled']=!0x0,Promise[_0x1e8ebe(0x3f1)]()[_0x1e8ebe(0x4a7)](()=>{const _0x1d670e=_0x1e8ebe;this[_0x1d670e(0x4af)]=!0x1;let _0x361a44=Array[_0x1d670e(0x389)](this['_queuedLayouts'][_0x1d670e(0x25a)]());this[_0x1d670e(0x51b)][_0x1d670e(0x489)](),_0x361a44[_0x1d670e(0x413)](_0x466218=>{const _0x1b9e42=_0x1d670e;this[_0x1b9e42(0x42f)](_0x466218);});}));}[_0x114ef7(0x42f)](_0x3b7ebc){const _0x41ce4e=_0x114ef7;var _0x48dc9f;let _0x179fc0=this[_0x41ce4e(0x169)][_0x41ce4e(0x4e1)](_0x3b7ebc[_0x41ce4e(0x48b)],_0x3b7ebc[_0x41ce4e(0x4ae)],_0x3b7ebc[_0x41ce4e(0x31e)]),_0x12af5d=(_0x48dc9f=(0x0,_0x4ecf80[_0x41ce4e(0x315)])(_0x179fc0==null?void 0x0:_0x179fc0['element']))==null?void 0x0:_0x48dc9f[_0x41ce4e(0x2ac)];this[_0x41ce4e(0x3dc)][_0x41ce4e(0x32b)](_0x4ecf80[_0x41ce4e(0x1e9)]['id'],{..._0x3b7ebc,'skipUndo':!0x0,..._0x12af5d?{'anchorNodeId':_0x12af5d}:null});}[_0x114ef7(0x3a2)](_0x51361a){const _0x190f75=_0x114ef7;return _0x51361a[_0x190f75(0x48b)]+':'+_0x51361a[_0x190f75(0x4ae)]+':'+_0x51361a[_0x190f75(0x17e)];}};_0x318987=_0x41c154([_0x27e70d(0x1,(0x0,_0x4aaeb9[_0x114ef7(0x1f9)])(_0x1184a0[_0x114ef7(0x2ad)])),_0x27e70d(0x2,_0x4aaeb9[_0x114ef7(0x153)])],_0x318987);let _0x5ad99e={'primaryColor':_0x2b6c26[_0x114ef7(0x20f)],'surfaceColor':_0x2b6c26[_0x114ef7(0x357)],'textColor':_0x2b6c26[_0x114ef7(0x1ea)],'fontFamily':_0x4aaeb9['DEFAULT_STYLES']['ff']};function _0x407cc7(_0x170c73,_0x472615){const _0x16df22=_0x114ef7;let _0x45e2be=Math['min'](0x1,Math[_0x16df22(0x17c)](0x0,Number[_0x16df22(0x236)](_0x472615)?_0x472615:0x1)),_0xe062c8=_0x170c73[_0x16df22(0x246)](),_0x13f18f=/^#([0-9a-fA-F]{6})$/[_0x16df22(0x427)](_0xe062c8);if(!_0x13f18f)return _0x170c73;let _0x450c1a=_0x13f18f[0x1];return _0x16df22(0x1d8)+Number[_0x16df22(0x4c2)](_0x450c1a[_0x16df22(0x14f)](0x0,0x2),0x10)+',\x20'+Number['parseInt'](_0x450c1a[_0x16df22(0x14f)](0x2,0x4),0x10)+',\x20'+Number[_0x16df22(0x4c2)](_0x450c1a[_0x16df22(0x14f)](0x4,0x6),0x10)+',\x20'+_0x45e2be+')';}let _0x5b503f={'primaryColor':_0x5ad99e['primaryColor'],'ghostFillColor':_0x407cc7(_0x5ad99e[_0x114ef7(0x3d1)],0.72),'ghostTextColor':_0x407cc7(_0x5ad99e['textColor'],0.62),'rootTextColor':_0x407cc7(_0x5ad99e[_0x114ef7(0x3d1)],0.86),'sourceHighlightFillColor':_0x407cc7(_0x5ad99e[_0x114ef7(0x203)],0.12),'sourceHighlightStrokeColor':_0x407cc7(_0x5ad99e[_0x114ef7(0x203)],0.9),'objectAlpha':0.72,'dragObjectAlpha':0.78,'connectorAlpha':0.64,'lineWidthScreen':0x2,'fallbackNodeWidth':_0x4ecf80[_0x114ef7(0x1a5)][_0x114ef7(0x325)],'fallbackNodeHeight':_0x4ecf80[_0x114ef7(0x1a5)]['nodeHeight'],'branchGap':_0x4ecf80[_0x114ef7(0x33c)][_0x114ef7(0x173)],'sourceHaloScreen':0x4,'ghostRadius':0x8,'rootRadius':0xa,'fontFamily':_0x5ad99e[_0x114ef7(0x493)],'ghostFontWeight':0x1f4,'rootFontWeight':0x258,'rootFontSize':0x12,'textPaddingScreen':0xc,'dirtyPaddingScreen':0x18,'sourceDashScreen':[0x6,0x4]};function _0x53aab3(_0x3d7b3b,_0x572dc6,_0x251b9e,_0x2932c3,_0x48d5c3,_0x2a9f84){const _0x3aa1ca=_0x114ef7;let _0x26f0de=Math[_0x3aa1ca(0x133)](_0x2a9f84,_0x2932c3/0x2,_0x48d5c3/0x2);_0x3d7b3b[_0x3aa1ca(0x1b7)](),_0x3d7b3b[_0x3aa1ca(0x4be)](_0x572dc6+_0x26f0de,_0x251b9e),_0x3d7b3b['lineTo'](_0x572dc6+_0x2932c3-_0x26f0de,_0x251b9e),_0x3d7b3b[_0x3aa1ca(0x444)](_0x572dc6+_0x2932c3,_0x251b9e,_0x572dc6+_0x2932c3,_0x251b9e+_0x26f0de),_0x3d7b3b[_0x3aa1ca(0x14b)](_0x572dc6+_0x2932c3,_0x251b9e+_0x48d5c3-_0x26f0de),_0x3d7b3b[_0x3aa1ca(0x444)](_0x572dc6+_0x2932c3,_0x251b9e+_0x48d5c3,_0x572dc6+_0x2932c3-_0x26f0de,_0x251b9e+_0x48d5c3),_0x3d7b3b[_0x3aa1ca(0x14b)](_0x572dc6+_0x26f0de,_0x251b9e+_0x48d5c3),_0x3d7b3b[_0x3aa1ca(0x444)](_0x572dc6,_0x251b9e+_0x48d5c3,_0x572dc6,_0x251b9e+_0x48d5c3-_0x26f0de),_0x3d7b3b[_0x3aa1ca(0x14b)](_0x572dc6,_0x251b9e+_0x26f0de),_0x3d7b3b[_0x3aa1ca(0x444)](_0x572dc6,_0x251b9e,_0x572dc6+_0x26f0de,_0x251b9e),_0x3d7b3b['closePath']();}function _0x2263c8(_0x4f5687,_0x142072,_0x41c07d){const _0x14e181=_0x114ef7;return _0x4f5687+'\x20'+_0x142072/_0x41c07d+_0x14e181(0x4f3)+_0x5b503f[_0x14e181(0x493)];}let _0x5ac948=_0x114ef7(0x3be),_0x3e891b=_0x17cb44[_0x114ef7(0x2b3)]['preview'];function _0x202a28(_0x4707af,_0x266ed4){return Number['isFinite'](_0x4707af)?_0x4707af:_0x266ed4;}function _0x518383(){const _0x4c508d=_0x114ef7;return _0x5b503f[_0x4c508d(0x368)];}function _0x9b3175(){const _0x5562ae=_0x114ef7;return _0x5b503f[_0x5562ae(0x4f5)];}function _0x2329c7(_0x1d9172){const _0x2292c7=_0x114ef7;return _0x1d9172===0x1?_0x2292c7(0x4e8):_0x1d9172===0x3?_0x2292c7(0x34e):_0x2292c7(0x2a4);}function _0x59a8c7(_0x410ed2,_0x411f69,_0xcced5d,_0x22cdf5){return _0xcced5d===0x1?_0x410ed2+_0x22cdf5:_0xcced5d===0x3?_0x410ed2+_0x411f69-_0x22cdf5:_0x410ed2+_0x411f69/0x2;}var _0x5dd0ae=class extends _0x4253cf[_0x114ef7(0x1e0)]{constructor(_0x5cb681=_0x5ac948,_0x96ed6f){const _0x46df2e=_0x114ef7;super(_0x5cb681),_0x4bcbf3(this,_0x46df2e(0x3c5),{'ghostBounds':null,'parentBounds':null,'side':'right','zoomRatio':0x1}),this[_0x46df2e(0x24a)]=!0x1,this['zIndex']=_0x17cb44['BOARD_RENDER_OBJECT_Z_INDEX'][_0x46df2e(0x48e)],this['updateState'](_0x96ed6f);}[_0x114ef7(0x415)](_0x586253){const _0x4c6585=_0x114ef7;if(this[_0x4c6585(0x3c5)]={...this[_0x4c6585(0x3c5)],..._0x586253},this['_state'][_0x4c6585(0x3ce)]){let _0x1af26b=this[_0x4c6585(0x1aa)]();this[_0x4c6585(0x2fc)](_0x1af26b),this[_0x4c6585(0x485)]();}else this[_0x4c6585(0x2b2)]();let _0x1e197f=this;typeof _0x1e197f[_0x4c6585(0x2d5)]==_0x4c6585(0x1d3)?_0x1e197f[_0x4c6585(0x2d5)](!0x0):this[_0x4c6585(0x2c6)](!0x0);}[_0x114ef7(0x51d)](_0x3c0fdb){return!0x1;}['render'](_0x5d78f9,_0x13b333){const _0xd0204c=_0x114ef7;let _0x3504f3=this[_0xd0204c(0x3c5)][_0xd0204c(0x3ce)];if(!_0x3504f3||!this[_0xd0204c(0x4a6)])return this[_0xd0204c(0x2c6)](!0x1),this;let _0x51c469=Number[_0xd0204c(0x236)](this['_state']['zoomRatio'])&&(this[_0xd0204c(0x3c5)]['zoomRatio']??0x0)>0x0?this['_state'][_0xd0204c(0x4c1)]:0x1,_0x191877=_0x202a28(_0x3504f3[_0xd0204c(0x4e8)],0x0),_0x22414d=_0x202a28(_0x3504f3[_0xd0204c(0x32e)],0x0),_0xcbb7f1=Math['max'](0x1,_0x202a28(_0x3504f3['width'],_0x518383())),_0x18498f=Math[_0xd0204c(0x17c)](0x1,_0x202a28(_0x3504f3['height'],_0x9b3175()));if(_0x5d78f9['save'](),_0x5d78f9[_0xd0204c(0x501)]=_0x5b503f[_0xd0204c(0x35a)],_0x5d78f9['lineWidth']=_0x5b503f[_0xd0204c(0x200)]/_0x51c469,_0x5d78f9[_0xd0204c(0x31a)]=_0x5b503f[_0xd0204c(0x203)],_0x5d78f9[_0xd0204c(0x180)]=_0x5b503f['ghostFillColor'],this[_0xd0204c(0x2e8)](_0x5d78f9,{'left':_0x191877,'top':_0x22414d,'width':_0xcbb7f1,'height':_0x18498f},_0x51c469),this[_0xd0204c(0x509)](_0x5d78f9,_0x51c469),this['_state'][_0xd0204c(0x1f7)]===!0x1)return _0x5d78f9[_0xd0204c(0x3d2)](),this[_0xd0204c(0x2c6)](!0x1),this;_0x53aab3(_0x5d78f9,_0x191877,_0x22414d,_0xcbb7f1,_0x18498f,_0x5b503f[_0xd0204c(0x3b3)]),_0x5d78f9['fill'](),_0x5d78f9[_0xd0204c(0x2cf)]();let _0x36d9b6=this[_0xd0204c(0x3c5)]['textStyle'],_0x44a3d4=Number[_0xd0204c(0x236)](_0x36d9b6==null?void 0x0:_0x36d9b6['fontSize'])&&((_0x36d9b6==null?void 0x0:_0x36d9b6[_0xd0204c(0x3de)])??0x0)>0x0?_0x36d9b6[_0xd0204c(0x3de)]:0x10,_0x592530=_0x5b503f['textPaddingScreen']/_0x51c469;return _0x5d78f9[_0xd0204c(0x180)]=(_0x36d9b6==null?void 0x0:_0x36d9b6[_0xd0204c(0x3ca)])??_0x5b503f[_0xd0204c(0x18c)],_0x5d78f9[_0xd0204c(0x26d)]=_0x2263c8(_0x5b503f[_0xd0204c(0x288)],_0x44a3d4,_0x51c469),_0x5d78f9[_0xd0204c(0x397)]=_0x2329c7(_0x36d9b6==null?void 0x0:_0x36d9b6['horizontalAlign']),_0x5d78f9[_0xd0204c(0x454)]=_0xd0204c(0x2a2),_0x5d78f9[_0xd0204c(0x424)]((_0x36d9b6==null?void 0x0:_0x36d9b6[_0xd0204c(0x2d2)])||_0x4ecf80[_0xd0204c(0x18b)],_0x59a8c7(_0x191877,_0xcbb7f1,_0x36d9b6==null?void 0x0:_0x36d9b6[_0xd0204c(0x243)],_0x592530),_0x22414d+_0x18498f/0x2,Math[_0xd0204c(0x17c)](0x1,_0xcbb7f1-_0x592530*0x2)),_0x5d78f9['restore'](),this['makeDirty'](!0x1),this;}[_0x114ef7(0x1aa)](){const _0x237e9b=_0x114ef7;let _0x5db0ff=this[_0x237e9b(0x3c5)]['ghostBounds'],_0x8a8fc3=Number[_0x237e9b(0x236)](this[_0x237e9b(0x3c5)]['zoomRatio'])&&(this['_state'][_0x237e9b(0x4c1)]??0x0)>0x0?this[_0x237e9b(0x3c5)][_0x237e9b(0x4c1)]:0x1,_0x37ef7f=_0x5b503f[_0x237e9b(0x24c)]/_0x8a8fc3;if(!_0x5db0ff)return{'left':0x0,'top':0x0,'width':0x1,'height':0x1};let _0x55b7c9=_0x202a28(_0x5db0ff['left'],0x0),_0x59d694=_0x202a28(_0x5db0ff[_0x237e9b(0x32e)],0x0),_0x54667a=Math[_0x237e9b(0x17c)](0x1,_0x202a28(_0x5db0ff[_0x237e9b(0x326)],_0x518383())),_0x559535=Math[_0x237e9b(0x17c)](0x1,_0x202a28(_0x5db0ff[_0x237e9b(0x426)],_0x9b3175())),_0x38425d=this[_0x237e9b(0x3c5)][_0x237e9b(0x3cf)],_0xba8f81=this[_0x237e9b(0x3c5)][_0x237e9b(0x13b)],_0x3241d4=_0x202a28(_0x38425d==null?void 0x0:_0x38425d[_0x237e9b(0x4e8)],_0x55b7c9),_0x298410=_0x202a28(_0x38425d==null?void 0x0:_0x38425d[_0x237e9b(0x32e)],_0x59d694),_0x434aa1=Math[_0x237e9b(0x17c)](0x1,_0x202a28(_0x38425d==null?void 0x0:_0x38425d[_0x237e9b(0x326)],_0x54667a)),_0x351d9f=Math[_0x237e9b(0x17c)](0x1,_0x202a28(_0x38425d==null?void 0x0:_0x38425d['height'],_0x559535));if(!_0xba8f81){let _0x3ca811=Math[_0x237e9b(0x133)](_0x55b7c9,_0x3241d4)-_0x37ef7f,_0x381624=Math[_0x237e9b(0x133)](_0x59d694,_0x298410)-_0x37ef7f,_0x197d56=Math[_0x237e9b(0x17c)](_0x55b7c9+_0x54667a,_0x3241d4+_0x434aa1)+_0x37ef7f,_0x313af8=Math[_0x237e9b(0x17c)](_0x59d694+_0x559535,_0x298410+_0x351d9f)+_0x37ef7f;return{'left':_0x3ca811,'top':_0x381624,'width':_0x197d56-_0x3ca811,'height':_0x313af8-_0x381624};}let _0x341ad1=_0x202a28(_0xba8f81[_0x237e9b(0x4e8)],_0x55b7c9),_0xfda454=_0x202a28(_0xba8f81[_0x237e9b(0x32e)],_0x59d694),_0x1fa56f=Math[_0x237e9b(0x17c)](0x1,_0x202a28(_0xba8f81['width'],_0x518383())),_0x4bb612=Math[_0x237e9b(0x17c)](0x1,_0x202a28(_0xba8f81['height'],_0x9b3175())),_0x51bbe8=Math[_0x237e9b(0x133)](_0x55b7c9,_0x341ad1,_0x3241d4)-_0x37ef7f,_0x189b4f=Math[_0x237e9b(0x133)](_0x59d694,_0xfda454,_0x298410)-_0x37ef7f,_0x347781=Math[_0x237e9b(0x17c)](_0x55b7c9+_0x54667a,_0x341ad1+_0x1fa56f,_0x3241d4+_0x434aa1)+_0x37ef7f,_0x3a6495=Math[_0x237e9b(0x17c)](_0x59d694+_0x559535,_0xfda454+_0x4bb612,_0x298410+_0x351d9f)+_0x37ef7f;return{'left':_0x51bbe8,'top':_0x189b4f,'width':_0x347781-_0x51bbe8,'height':_0x3a6495-_0x189b4f};}[_0x114ef7(0x509)](_0xaeb662,_0x292005){const _0x155f11=_0x114ef7;var _0x41aef0;let _0x109a06=this[_0x155f11(0x3c5)]['sourceBounds'];if(!_0x109a06)return;let _0x561ae8=_0x5b503f[_0x155f11(0x44c)]/_0x292005,_0xf7544f=_0x202a28(_0x109a06['left'],0x0)-_0x561ae8,_0x1b4fb8=_0x202a28(_0x109a06[_0x155f11(0x32e)],0x0)-_0x561ae8,_0x5cee6f=Math[_0x155f11(0x17c)](0x1,_0x202a28(_0x109a06[_0x155f11(0x326)],_0x518383()))+_0x561ae8*0x2,_0x1cb05f=Math[_0x155f11(0x17c)](0x1,_0x202a28(_0x109a06[_0x155f11(0x426)],_0x9b3175()))+_0x561ae8*0x2;_0xaeb662[_0x155f11(0x3b6)](),_0xaeb662[_0x155f11(0x501)]=0x1,_0xaeb662[_0x155f11(0x148)]=_0x5b503f['lineWidthScreen']/_0x292005,_0xaeb662['strokeStyle']=_0x5b503f[_0x155f11(0x3c3)],_0xaeb662[_0x155f11(0x180)]=_0x5b503f[_0x155f11(0x500)],(_0x41aef0=_0xaeb662[_0x155f11(0x37b)])==null||_0x41aef0[_0x155f11(0x47d)](_0xaeb662,_0x5b503f['sourceDashScreen']['map'](_0xb99a8a=>_0xb99a8a/_0x292005)),_0x53aab3(_0xaeb662,_0xf7544f,_0x1b4fb8,_0x5cee6f,_0x1cb05f,_0x5b503f[_0x155f11(0x184)]),_0xaeb662['fill'](),_0xaeb662[_0x155f11(0x2cf)](),_0xaeb662[_0x155f11(0x3d2)]();}[_0x114ef7(0x2e8)](_0x2cbf80,_0x5a8755,_0x8e811d){const _0x442e9f=_0x114ef7;let _0x19e8e1=this[_0x442e9f(0x3c5)]['parentBounds'];if(!_0x19e8e1)return;let _0x30bc38=_0x202a28(_0x19e8e1[_0x442e9f(0x4e8)],0x0),_0x9fe233=_0x202a28(_0x19e8e1[_0x442e9f(0x32e)],0x0),_0x46859a=Math[_0x442e9f(0x17c)](0x1,_0x202a28(_0x19e8e1[_0x442e9f(0x326)],_0x518383())),_0x545c53=Math[_0x442e9f(0x17c)](0x1,_0x202a28(_0x19e8e1[_0x442e9f(0x426)],_0x9b3175())),_0x4ae3a3=_0x5b503f[_0x442e9f(0x173)],_0x3456a1=this[_0x442e9f(0x3c5)]['side']??_0x442e9f(0x34e);if(_0x2cbf80['save'](),_0x2cbf80[_0x442e9f(0x501)]=_0x5b503f[_0x442e9f(0x3f9)],_0x2cbf80['strokeStyle']=_0x5b503f[_0x442e9f(0x203)],_0x2cbf80[_0x442e9f(0x148)]=_0x5b503f[_0x442e9f(0x200)]/_0x8e811d,_0x2cbf80[_0x442e9f(0x3e3)]=_0x442e9f(0x129),_0x2cbf80[_0x442e9f(0x4cb)]=_0x442e9f(0x129),_0x2cbf80[_0x442e9f(0x1b7)](),_0x3456a1===_0x442e9f(0x32e)||_0x3456a1===_0x442e9f(0x144)){let _0x33e94d=_0x30bc38+_0x46859a/0x2,_0x578c74=_0x5a8755['left']+_0x5a8755[_0x442e9f(0x326)]/0x2,_0xbff0c3=_0x3456a1===_0x442e9f(0x144)?_0x9fe233+_0x545c53:_0x9fe233,_0x12f277=_0x3456a1==='bottom'?_0x5a8755[_0x442e9f(0x32e)]:_0x5a8755[_0x442e9f(0x32e)]+_0x5a8755['height'],_0x277d81=_0x3456a1===_0x442e9f(0x144)?Math[_0x442e9f(0x133)](_0xbff0c3+_0x4ae3a3,(_0xbff0c3+_0x12f277)/0x2):Math[_0x442e9f(0x17c)](_0xbff0c3-_0x4ae3a3,(_0xbff0c3+_0x12f277)/0x2);_0x2cbf80[_0x442e9f(0x4be)](_0x33e94d,_0xbff0c3),_0x2cbf80['lineTo'](_0x33e94d,_0x277d81),_0x2cbf80[_0x442e9f(0x14b)](_0x578c74,_0x277d81),_0x2cbf80[_0x442e9f(0x14b)](_0x578c74,_0x12f277);}else{let _0x25717b=_0x9fe233+_0x545c53/0x2,_0x93a443=_0x5a8755[_0x442e9f(0x32e)]+_0x5a8755['height']/0x2,_0x274dcf=_0x3456a1==='right'?_0x30bc38+_0x46859a:_0x30bc38,_0x10feaf=_0x3456a1==='right'?_0x5a8755[_0x442e9f(0x4e8)]:_0x5a8755[_0x442e9f(0x4e8)]+_0x5a8755[_0x442e9f(0x326)],_0x2d0d66=_0x3456a1==='right'?Math['min'](_0x274dcf+_0x4ae3a3,(_0x274dcf+_0x10feaf)/0x2):Math[_0x442e9f(0x17c)](_0x274dcf-_0x4ae3a3,(_0x274dcf+_0x10feaf)/0x2);_0x2cbf80[_0x442e9f(0x4be)](_0x274dcf,_0x25717b),_0x2cbf80[_0x442e9f(0x14b)](_0x2d0d66,_0x25717b),_0x2cbf80['lineTo'](_0x2d0d66,_0x93a443),_0x2cbf80[_0x442e9f(0x14b)](_0x10feaf,_0x93a443);}_0x2cbf80[_0x442e9f(0x2cf)](),_0x2cbf80[_0x442e9f(0x3d2)]();}};function _0x2db2a5(_0x20273b,_0x594c63){const _0x30aad8=_0x114ef7;return(_0x594c63==null?void 0x0:_0x594c63[_0x20273b[_0x30aad8(0x17e)]])??_0x20273b[_0x30aad8(0x3bf)][_0x30aad8(0x19c)];}function _0x5ebf38(_0xa9972a,_0x31793e){const _0x2ddbd8=_0x114ef7;let _0x473b96=_0x2db2a5(_0xa9972a,_0x31793e);return{'x':(_0x473b96[_0x2ddbd8(0x4e8)]??0x0)+(_0x473b96[_0x2ddbd8(0x326)]??0x0)/0x2,'y':(_0x473b96[_0x2ddbd8(0x32e)]??0x0)+(_0x473b96['height']??0x0)/0x2};}function _0x3d8cad(_0x1df8c8,_0x1c19d6){const _0x553f75=_0x114ef7;return Math[_0x553f75(0x261)](_0x1df8c8['x']-_0x1c19d6['x'],_0x1df8c8['y']-_0x1c19d6['y']);}function _0x2c44ee(_0x107f13,_0x966b9b){const _0x1c84fd=_0x114ef7;let _0x2a92f3=_0x107f13['left']??0x0,_0x432284=_0x107f13[_0x1c84fd(0x32e)]??0x0,_0x47be85=_0x2a92f3+(_0x107f13[_0x1c84fd(0x326)]??0x0),_0x3e4751=_0x432284+(_0x107f13[_0x1c84fd(0x426)]??0x0),_0x651144=_0x966b9b[_0x1c84fd(0x4e8)]??0x0,_0x4da0fa=_0x966b9b[_0x1c84fd(0x32e)]??0x0,_0x22ea50=_0x651144+(_0x966b9b[_0x1c84fd(0x326)]??0x0),_0x242008=_0x4da0fa+(_0x966b9b['height']??0x0),_0x58de28=Math['max'](_0x651144-_0x47be85,_0x2a92f3-_0x22ea50,0x0),_0x4a6c66=Math[_0x1c84fd(0x17c)](_0x4da0fa-_0x3e4751,_0x432284-_0x242008,0x0);return Math[_0x1c84fd(0x261)](_0x58de28,_0x4a6c66);}function _0x19f979(_0x49f14a,_0x253787,_0x42486e){const _0x4bd8b9=_0x114ef7;var _0x3f0d26;let _0x50feaf=(0x0,_0x4ecf80[_0x4bd8b9(0x135)])((_0x3f0d26=_0x49f14a[_0x253787])==null?void 0x0:_0x3f0d26['element']);for(;_0x50feaf!=null&&_0x50feaf[_0x4bd8b9(0x33d)];){var _0xf32e9e;if(_0x50feaf[_0x4bd8b9(0x33d)]===_0x42486e)return!0x0;_0x50feaf=(0x0,_0x4ecf80[_0x4bd8b9(0x135)])((_0xf32e9e=_0x49f14a[_0x50feaf[_0x4bd8b9(0x33d)]])==null?void 0x0:_0xf32e9e[_0x4bd8b9(0x3bf)]);}return!0x1;}function _0x22feec(_0x107094,_0x35a404,_0x5556d6){const _0x5d57e2=_0x114ef7;let _0x387e0a=_0x2db2a5(_0x107094,_0x5556d6),_0x27a04d=_0x387e0a[_0x5d57e2(0x32e)]??0x0,_0x1cde1d=_0x387e0a[_0x5d57e2(0x426)]??0x0;return _0x1cde1d<=0x0?null:_0x35a404['y']<=_0x27a04d+_0x1cde1d/0x3?'before':_0x35a404['y']>=_0x27a04d+_0x1cde1d*0x2/0x3?'after':null;}function _0x44eb43(_0x5befa4,_0x5d062f){const _0x1e2ff7=_0x114ef7;let _0x2fe850=_0x5d062f==null?void 0x0:_0x5d062f[_0x5befa4];return Number[_0x1e2ff7(0x236)](_0x2fe850==null?void 0x0:_0x2fe850['left'])&&Number[_0x1e2ff7(0x236)](_0x2fe850==null?void 0x0:_0x2fe850[_0x1e2ff7(0x32e)])?{'kind':'detach','left':_0x2fe850[_0x1e2ff7(0x4e8)],'top':_0x2fe850[_0x1e2ff7(0x32e)]}:{'kind':_0x1e2ff7(0x2bc)};}function _0x3796b1(_0x3c57e2,_0x415fa3,_0x6a2cef){const _0x4ca081=_0x114ef7;let _0xf99bdc=_0x3c57e2[_0x415fa3],_0x531407=(0x0,_0x4ecf80[_0x4ca081(0x135)])(_0xf99bdc==null?void 0x0:_0xf99bdc['element']);if(!_0xf99bdc||!_0x531407||!_0x531407[_0x4ca081(0x33d)]&&!(_0x6a2cef!=null&&_0x6a2cef[_0x4ca081(0x3ae)]))return{'kind':_0x4ca081(0x175)};let _0x404b1d=_0x6a2cef==null?void 0x0:_0x6a2cef[_0x4ca081(0x3e4)],_0x5546f2=_0x2db2a5(_0xf99bdc,_0x404b1d),_0x518a5a=_0x5ebf38(_0xf99bdc,_0x404b1d),_0x225a46=Object[_0x4ca081(0x25a)](_0x3c57e2)['map'](_0x1c52b7=>{const _0x420bb0=_0x4ca081;let _0x285a61=(0x0,_0x4ecf80[_0x420bb0(0x135)])(_0x1c52b7[_0x420bb0(0x3bf)]);return!_0x285a61||_0x1c52b7[_0x420bb0(0x17e)]===_0x415fa3||_0x1c52b7['elementId']===_0x531407['parentNodeId']||_0x6a2cef!=null&&_0x6a2cef[_0x420bb0(0x3ae)]&&!_0x531407['parentNodeId']&&_0x285a61[_0x420bb0(0x359)]===_0x531407[_0x420bb0(0x359)]||_0x19f979(_0x3c57e2,_0x1c52b7['elementId'],_0x415fa3)?null:{'item':_0x1c52b7,'snapDistance':_0x2c44ee(_0x5546f2,_0x2db2a5(_0x1c52b7,_0x404b1d)),'center':_0x5ebf38(_0x1c52b7,_0x404b1d)};})['filter'](_0x2fe5be=>!!_0x2fe5be)[_0x4ca081(0x13d)]((_0x2b13c5,_0x5f1a67)=>_0x2b13c5[_0x4ca081(0x1a4)]-_0x5f1a67['snapDistance']||_0x3d8cad(_0x518a5a,_0x2b13c5[_0x4ca081(0x2a4)])-_0x3d8cad(_0x518a5a,_0x5f1a67[_0x4ca081(0x2a4)]))[0x0];if(_0x225a46&&_0x225a46[_0x4ca081(0x1a4)]<=0x64){let _0x516a89=(0x0,_0x4ecf80[_0x4ca081(0x135)])(_0x225a46[_0x4ca081(0x3f0)][_0x4ca081(0x3bf)]),_0x36c1cb=_0x516a89!=null&&_0x516a89[_0x4ca081(0x33d)]?_0x22feec(_0x225a46[_0x4ca081(0x3f0)],_0x518a5a,_0x404b1d):null;return _0x516a89!=null&&_0x516a89['parentNodeId']&&_0x36c1cb?{'kind':_0x4ca081(0x43e),'newParentNodeId':_0x516a89['parentNodeId'],'side':_0x516a89[_0x4ca081(0x126)]??'right','referenceNodeId':_0x225a46[_0x4ca081(0x3f0)][_0x4ca081(0x17e)],'placement':_0x36c1cb}:{'kind':_0x4ca081(0x43e),'newParentNodeId':_0x225a46[_0x4ca081(0x3f0)][_0x4ca081(0x17e)],'side':_0x518a5a['x']<_0x225a46[_0x4ca081(0x2a4)]['x']?_0x4ca081(0x4e8):_0x4ca081(0x34e)};}if(_0x6a2cef!=null&&_0x6a2cef[_0x4ca081(0x416)])return _0x44eb43(_0x415fa3,_0x404b1d);if(!_0x531407[_0x4ca081(0x33d)])return{'kind':_0x4ca081(0x175)};let _0x5e2ce8=_0x3c57e2[_0x531407[_0x4ca081(0x33d)]];return _0x5e2ce8&&_0x3d8cad(_0x518a5a,_0x5ebf38(_0x5e2ce8,_0x404b1d))>0x230?_0x44eb43(_0x415fa3,_0x404b1d):{'kind':_0x4ca081(0x175)};}function _0xc460c3(_0x250de0,_0x4fd189){const _0xd835b3=_0x114ef7;var _0x33e77c,_0xade56;return _0x250de0[_0xd835b3(0x17e)]===_0x4fd189||((_0x33e77c=(0x0,_0x4ecf80[_0xd835b3(0x135)])(_0x250de0[_0xd835b3(0x3bf)]))==null?void 0x0:_0x33e77c[_0xd835b3(0x359)])===_0x4fd189||((_0xade56=(0x0,_0x4ecf80['getMindMapConnectorMeta'])(_0x250de0['element']))==null?void 0x0:_0xade56['structureScopeId'])===_0x4fd189;}function _0xfb7cf5(_0x57d749,_0x8c9ac5,_0x1169d9,_0x511eae){const _0x4e630c=_0x114ef7;let _0x440471=_0x57d749[_0x8c9ac5];if(!_0x440471)return _0x57d749;let _0x5cd4b4=_0x440471[_0x4e630c(0x19c)]??_0x440471['element'][_0x4e630c(0x19c)]??{};return{..._0x57d749,[_0x8c9ac5]:{..._0x440471,'transform':{..._0x5cd4b4,'left':(_0x5cd4b4[_0x4e630c(0x4e8)]??0x0)+_0x1169d9,'top':(_0x5cd4b4[_0x4e630c(0x32e)]??0x0)+_0x511eae},'element':{..._0x440471['element'],'transform':{..._0x440471[_0x4e630c(0x3bf)][_0x4e630c(0x19c)],'left':(_0x440471[_0x4e630c(0x3bf)]['transform']['left']??0x0)+_0x1169d9,'top':(_0x440471[_0x4e630c(0x3bf)][_0x4e630c(0x19c)][_0x4e630c(0x32e)]??0x0)+_0x511eae}}}};}function _0xc8432c(_0x324f30){const _0x5f5aaa=_0x114ef7;if(!Number[_0x5f5aaa(0x236)](_0x324f30[_0x5f5aaa(0x204)][_0x5f5aaa(0x4e8)])||!Number['isFinite'](_0x324f30[_0x5f5aaa(0x204)][_0x5f5aaa(0x32e)])||!Number[_0x5f5aaa(0x236)](_0x324f30[_0x5f5aaa(0x497)]['left'])||!Number[_0x5f5aaa(0x236)](_0x324f30[_0x5f5aaa(0x497)]['top']))return null;let _0x188783=_0x324f30[_0x5f5aaa(0x204)][_0x5f5aaa(0x4e8)]-_0x324f30[_0x5f5aaa(0x497)]['left'],_0x477bfc=_0x324f30[_0x5f5aaa(0x204)][_0x5f5aaa(0x32e)]-_0x324f30[_0x5f5aaa(0x497)][_0x5f5aaa(0x32e)],_0x2308e7=_0xfb7cf5(_0x324f30[_0x5f5aaa(0x32a)],_0x324f30['scopeId'],_0x188783,_0x477bfc),_0x334edd=[];return Object[_0x5f5aaa(0x25a)](_0x2308e7)[_0x5f5aaa(0x413)](_0x5eb5b7=>{const _0x5c6387=_0x5f5aaa;if(_0x5eb5b7[_0x5c6387(0x17e)]===_0x324f30[_0x5c6387(0x2ac)]||_0x5eb5b7[_0x5c6387(0x17e)]===_0x324f30[_0x5c6387(0x31e)]||!_0xc460c3(_0x5eb5b7,_0x324f30[_0x5c6387(0x31e)]))return;if(_0x5c6387(0x3b0)in _0x5eb5b7[_0x5c6387(0x3bf)]){var _0x27ed03;let _0x35b1af=(_0x27ed03=_0x324f30[_0x5c6387(0x32a)][_0x5eb5b7[_0x5c6387(0x17e)]])==null?void 0x0:_0x27ed03['element'];_0x35b1af&&_0x5c6387(0x3b0)in _0x35b1af&&_0x334edd[_0x5c6387(0x209)]({'kind':'connector','elementId':_0x5eb5b7['elementId'],'element':(0x0,_0x1184a0[_0x5c6387(0x1de)])(_0x35b1af,{'x':_0x188783,'y':_0x477bfc})});return;}let _0xc025a7=(0x0,_0x1184a0[_0x5c6387(0x3a8)])(_0x2308e7,_0x5eb5b7[_0x5c6387(0x17e)]);_0xc025a7&&_0x334edd[_0x5c6387(0x209)]({'kind':_0x5c6387(0x4f9),'elementId':_0x5eb5b7[_0x5c6387(0x17e)],'bounds':_0xc025a7});}),{'deltaX':_0x188783,'deltaY':_0x477bfc,'elementData':_0x2308e7,'items':_0x334edd};}let _0x1214f1=class extends _0x4aaeb9[_0x114ef7(0x2e2)]{constructor(_0x1710e9,_0x454da7,_0x2a8045,_0x441265,_0x43a24a,_0x5295e0,_0x5b834b){const _0x28c9e0=_0x114ef7;super(),this[_0x28c9e0(0x275)]=_0x1710e9,this[_0x28c9e0(0x169)]=_0x454da7,this[_0x28c9e0(0x276)]=_0x2a8045,this[_0x28c9e0(0x3dc)]=_0x441265,this[_0x28c9e0(0x371)]=_0x43a24a,this[_0x28c9e0(0x3e1)]=_0x5295e0,this['_undoRedoGroupService']=_0x5b834b,_0x4bcbf3(this,_0x28c9e0(0x231),null),_0x4bcbf3(this,_0x28c9e0(0x183),null),_0x4bcbf3(this,_0x28c9e0(0x2ee),null),_0x4bcbf3(this,'_childDragActivated',!0x1),_0x4bcbf3(this,'_lastChildDragAction',null),_0x4bcbf3(this,_0x28c9e0(0x272),null),_0x4bcbf3(this,_0x28c9e0(0x3d9),!0x1),_0x4bcbf3(this,_0x28c9e0(0x14d),null),_0x4bcbf3(this,_0x28c9e0(0x432),!0x1),this[_0x28c9e0(0x3d8)]();}[_0x114ef7(0x3d8)](){const _0x2f9851=_0x114ef7;var _0x556357,_0x32a9e8,_0x518ddf,_0x3fd80a,_0x469d73;let _0x5c2ab3=this['_renderContext'][_0x2f9851(0x2e7)]['getTransformerByCreate']();this['disposeWithMe']((0x0,_0x4aaeb9[_0x2f9851(0x3bd)])(_0x5c2ab3[_0x2f9851(0x447)][_0x2f9851(0x41c)]((0x0,_0x1e0edb[_0x2f9851(0x480)])(this['dispose$']))[_0x2f9851(0x263)](()=>{this['_captureDragStart']();}))),this['disposeWithMe']((0x0,_0x4aaeb9[_0x2f9851(0x3bd)])(((_0x556357=_0x5c2ab3[_0x2f9851(0x400)])==null?void 0x0:_0x556357[_0x2f9851(0x41c)]((0x0,_0x1e0edb[_0x2f9851(0x480)])(this['dispose$']))[_0x2f9851(0x263)](_0x3dc3b1=>{const _0x589e69=_0x2f9851;this[_0x589e69(0x28c)](_0x3dc3b1==null?void 0x0:_0x3dc3b1[_0x589e69(0x30d)]);}))??{'dispose':()=>{}})),this[_0x2f9851(0x329)]((0x0,_0x4aaeb9[_0x2f9851(0x3bd)])(_0x5c2ab3[_0x2f9851(0x1b8)][_0x2f9851(0x41c)]((0x0,_0x1e0edb[_0x2f9851(0x480)])(this[_0x2f9851(0x244)]))[_0x2f9851(0x263)](_0x431789=>{const _0x52867b=_0x2f9851;setTimeout(()=>this[_0x52867b(0x3a6)](_0x431789==null?void 0x0:_0x431789['objects']),0x0);}))),this[_0x2f9851(0x329)]((0x0,_0x4aaeb9[_0x2f9851(0x3bd)])(((_0x32a9e8=this[_0x2f9851(0x275)]['scene'][_0x2f9851(0x473)])==null?void 0x0:_0x32a9e8['subscribeEvent']({'priority':0x3,'next':([_0x573d33])=>this[_0x2f9851(0x3c9)](_0x573d33)}))??{'dispose':()=>{}})),this[_0x2f9851(0x329)]((0x0,_0x4aaeb9[_0x2f9851(0x3bd)])(((_0x518ddf=this[_0x2f9851(0x275)][_0x2f9851(0x2e7)][_0x2f9851(0x1cd)])==null?void 0x0:_0x518ddf['subscribeEvent']({'priority':0x3,'next':([_0x4cddc8,_0x5128a4])=>this['_syncPointerChildDragPreview'](_0x4cddc8,_0x5128a4)}))??{'dispose':()=>{}})),this['disposeWithMe']((0x0,_0x4aaeb9['toDisposable'])(((_0x3fd80a=this[_0x2f9851(0x275)][_0x2f9851(0x2e7)][_0x2f9851(0x396)])==null?void 0x0:_0x3fd80a['subscribeEvent']({'priority':0x3,'next':([_0x166349,_0x472bae])=>this['_applyPointerChildDrag'](_0x166349,_0x472bae)}))??{'dispose':()=>{}})),this[_0x2f9851(0x329)]((0x0,_0x4aaeb9[_0x2f9851(0x3bd)])(((_0x469d73=this[_0x2f9851(0x275)][_0x2f9851(0x2e7)][_0x2f9851(0x4b1)])==null?void 0x0:_0x469d73[_0x2f9851(0x3d4)]({'priority':0x3,'next':([,_0x3c8f09])=>this[_0x2f9851(0x4ca)](_0x3c8f09)}))??{'dispose':()=>{}})),this['disposeWithMe']((0x0,_0x4aaeb9[_0x2f9851(0x3bd)])(()=>{const _0x2644c7=_0x2f9851;var _0x4f3bba;return(_0x4f3bba=this[_0x2644c7(0x272)])==null?void 0x0:_0x4f3bba[_0x2644c7(0x2db)]();})),this[_0x2f9851(0x329)]((0x0,_0x4aaeb9[_0x2f9851(0x3bd)])(()=>this['_disposeActivePointerDragListeners']())),this[_0x2f9851(0x149)](),this['_scheduleAttachObjectPointerListeners'](),this[_0x2f9851(0x329)]((0x0,_0x4aaeb9[_0x2f9851(0x3bd)])(()=>this['_removeDragPreviewObject']()));}[_0x114ef7(0x149)](){const _0x383c32=_0x114ef7;[this[_0x383c32(0x169)][_0x383c32(0x3e8)],this[_0x383c32(0x169)]['elementUpdate$'],this[_0x383c32(0x169)][_0x383c32(0x2c8)]][_0x383c32(0x413)](_0x154bc1=>{const _0x54fc86=_0x383c32;this['disposeWithMe']((0x0,_0x4aaeb9[_0x54fc86(0x3bd)])(_0x154bc1[_0x54fc86(0x41c)]((0x0,_0x1e0edb[_0x54fc86(0x480)])(this[_0x54fc86(0x244)]))[_0x54fc86(0x263)](()=>{const _0x26e547=_0x54fc86;this[_0x26e547(0x1fb)]();})));}),this['_elementStateService'][_0x383c32(0x179)]&&this['disposeWithMe']((0x0,_0x4aaeb9['toDisposable'])(this[_0x383c32(0x276)][_0x383c32(0x179)][_0x383c32(0x41c)]((0x0,_0x1e0edb[_0x383c32(0x480)])(this['dispose$']))['subscribe'](()=>{this['_scheduleAttachObjectPointerListeners']();})));}['_scheduleAttachObjectPointerListeners'](){const _0x32b7af=_0x114ef7;this[_0x32b7af(0x3d9)]||(this[_0x32b7af(0x3d9)]=!0x0,Promise[_0x32b7af(0x3f1)]()[_0x32b7af(0x4a7)](()=>this['_attachObjectPointerListeners']()));}[_0x114ef7(0x139)](){const _0x1f0423=_0x114ef7;var _0x12dc09;this[_0x1f0423(0x3d9)]=!0x1;let _0x484220=this[_0x1f0423(0x487)](),_0x599279=this[_0x1f0423(0x275)]['scene'];if(!_0x484220||typeof _0x599279[_0x1f0423(0x45b)]!=_0x1f0423(0x1d3))return;let _0x310192=this[_0x1f0423(0x169)][_0x1f0423(0x294)](_0x484220[_0x1f0423(0x48b)],_0x484220[_0x1f0423(0x4ae)]),_0x5d155f=new _0x4aaeb9['DisposableCollection']();(_0x12dc09=this['_objectPointerDisposables'])==null||_0x12dc09[_0x1f0423(0x2db)](),this[_0x1f0423(0x272)]=_0x5d155f,Object[_0x1f0423(0x25a)](_0x310192)[_0x1f0423(0x413)](_0x1850e5=>{const _0x4b09c0=_0x1f0423;var _0x5d903e,_0x4fb3f3;let _0x10237a=(0x0,_0x4ecf80[_0x4b09c0(0x135)])(_0x1850e5[_0x4b09c0(0x3bf)]);if(!(_0x10237a!=null&&_0x10237a[_0x4b09c0(0x33d)]))return;let _0x78bc43=(0x0,_0x17cb44['getBoardElementRenderObjectKey'])(_0x484220[_0x4b09c0(0x48b)],_0x1850e5[_0x4b09c0(0x17e)]),_0x161457=((_0x5d903e=_0x599279[_0x4b09c0(0x313)])==null?void 0x0:_0x5d903e[_0x4b09c0(0x47d)](_0x599279,_0x78bc43))??((_0x4fb3f3=_0x599279[_0x4b09c0(0x45b)])==null?void 0x0:_0x4fb3f3['call'](_0x599279,_0x78bc43));_0x161457!=null&&_0x161457[_0x4b09c0(0x473)]&&_0x5d155f['add'](_0x161457['onPointerDown$']['subscribeEvent']({'priority':-0xa,'next':([_0x590a1f,_0xa59097])=>this[_0x4b09c0(0x3c9)](_0x590a1f,{'unitId':_0x484220[_0x4b09c0(0x48b)],'subUnitId':_0x484220[_0x4b09c0(0x4ae)],'nodeId':_0x1850e5[_0x4b09c0(0x17e)]},_0xa59097)}));});}[_0x114ef7(0x487)](){const _0x425510=_0x114ef7;let _0x11c1eb=this[_0x425510(0x276)][_0x425510(0x319)]()['context'];if(_0x11c1eb)return _0x11c1eb;let _0x592bdc=this['_renderContext']['unitId'],_0x2738b6=_0x592bdc?this[_0x425510(0x3e1)][_0x425510(0x19b)](_0x592bdc,_0x4aaeb9['UniverInstanceType'][_0x425510(0x336)]):null,_0x5e4a78=_0x2738b6==null?void 0x0:_0x2738b6[_0x425510(0x2cd)]();return!_0x2738b6||!_0x5e4a78?null:{'unitId':_0x2738b6[_0x425510(0x1e6)](),'subUnitId':_0x5e4a78};}['_captureDragStart'](){const _0x41a2d8=_0x114ef7;let _0x3a5f58=this[_0x41a2d8(0x276)]['getSnapshot']();this[_0x41a2d8(0x507)]=!0x1,this[_0x41a2d8(0x432)]=!0x1,this['_lastChildDragAction']=null;let _0x2ba325=_0x3a5f58[_0x41a2d8(0x4cd)],_0x5159f6=_0x3a5f58[_0x41a2d8(0x459)]??_0x3a5f58[_0x41a2d8(0x36e)][0x0];if(!_0x2ba325||!_0x5159f6){this[_0x41a2d8(0x231)]=null,this[_0x41a2d8(0x265)]();return;}let _0x332b3e=this[_0x41a2d8(0x169)][_0x41a2d8(0x294)](_0x2ba325[_0x41a2d8(0x48b)],_0x2ba325['subUnitId']);if(_0x3a5f58[_0x41a2d8(0x36e)]['length']>0x1){let _0xf3c24b=this[_0x41a2d8(0x1cc)](_0x332b3e,_0x3a5f58[_0x41a2d8(0x36e)]);if(!_0xf3c24b){this[_0x41a2d8(0x231)]=null,this[_0x41a2d8(0x265)]();return;}let _0xff363b=_0x332b3e[_0xf3c24b[_0x41a2d8(0x2ac)]],_0x1a7f6f=(0x0,_0x1184a0['resolveBoardElementWorldBounds'])(_0x332b3e,_0xf3c24b[_0x41a2d8(0x2ac)]),_0xbe9664=_0xff363b[_0x41a2d8(0x3bf)][_0x41a2d8(0x19c)];this['_dragStart']={'kind':_0x41a2d8(0x2a0),'unitId':_0x2ba325[_0x41a2d8(0x48b)],'subUnitId':_0x2ba325[_0x41a2d8(0x4ae)],'nodeId':_0xf3c24b['rootNodeId'],'scopeId':_0xf3c24b[_0x41a2d8(0x31e)],'left':(_0x1a7f6f==null?void 0x0:_0x1a7f6f[_0x41a2d8(0x4e8)])??_0xbe9664[_0x41a2d8(0x4e8)]??0x0,'top':(_0x1a7f6f==null?void 0x0:_0x1a7f6f[_0x41a2d8(0x32e)])??_0xbe9664[_0x41a2d8(0x32e)]??0x0,'width':(_0x1a7f6f==null?void 0x0:_0x1a7f6f[_0x41a2d8(0x326)])??_0xbe9664['width']??0x0,'height':(_0x1a7f6f==null?void 0x0:_0x1a7f6f[_0x41a2d8(0x426)])??_0xbe9664[_0x41a2d8(0x426)]??0x0,'elementData':_0x332b3e};return;}let _0x2ed29e=_0x332b3e[_0x5159f6],_0x328923=(0x0,_0x4ecf80['getMindMapNodeMeta'])(_0x2ed29e==null?void 0x0:_0x2ed29e[_0x41a2d8(0x3bf)]);if(!_0x2ed29e||!_0x328923){this['_dragStart']=null,this[_0x41a2d8(0x265)]();return;}let _0x1f3541=(0x0,_0x1184a0['resolveBoardElementWorldBounds'])(_0x332b3e,_0x5159f6),_0x156ffa=_0x2ed29e[_0x41a2d8(0x3bf)][_0x41a2d8(0x19c)];this[_0x41a2d8(0x231)]={'kind':_0x328923[_0x41a2d8(0x33d)]===null?'root':_0x41a2d8(0x2a5),'unitId':_0x2ba325[_0x41a2d8(0x48b)],'subUnitId':_0x2ba325[_0x41a2d8(0x4ae)],'nodeId':_0x5159f6,'scopeId':_0x328923[_0x41a2d8(0x359)],'left':(_0x1f3541==null?void 0x0:_0x1f3541[_0x41a2d8(0x4e8)])??_0x156ffa[_0x41a2d8(0x4e8)]??0x0,'top':(_0x1f3541==null?void 0x0:_0x1f3541[_0x41a2d8(0x32e)])??_0x156ffa[_0x41a2d8(0x32e)]??0x0,'width':(_0x1f3541==null?void 0x0:_0x1f3541[_0x41a2d8(0x326)])??_0x156ffa['width']??0x0,'height':(_0x1f3541==null?void 0x0:_0x1f3541[_0x41a2d8(0x426)])??_0x156ffa['height']??0x0,'elementData':_0x332b3e};}[_0x114ef7(0x1cc)](_0x1dfa3b,_0x11e891){const _0x4430ea=_0x114ef7;let _0x51aedf=new Set(_0x11e891),_0x2d996a=_0x11e891[_0x4430ea(0x1c1)](_0xc1fbc6=>{const _0x33ce94=_0x4430ea;var _0xc6134,_0x34d395,_0x3e641b,_0x418651;let _0x162b00=(_0xc6134=_0x1dfa3b[_0xc1fbc6])==null?void 0x0:_0xc6134[_0x33ce94(0x3bf)];return((_0x34d395=(0x0,_0x4ecf80[_0x33ce94(0x135)])(_0x162b00))==null?void 0x0:_0x34d395[_0x33ce94(0x359)])??((_0x3e641b=(0x0,_0x4ecf80['getMindMapConnectorMeta'])(_0x162b00))==null?void 0x0:_0x3e641b[_0x33ce94(0x359)])??((_0x418651=(0x0,_0x4ecf80['getMindMapContainerMeta'])(_0x162b00))==null?void 0x0:_0x418651['structureScopeId'])??null;});if(_0x2d996a['some'](_0x3aeff5=>_0x3aeff5===null)||new Set(_0x2d996a)[_0x4430ea(0x197)]!==0x1)return null;let _0x57950c=_0x2d996a[0x0];if(!_0x57950c)return null;let _0xe994e3=Object['values'](_0x1dfa3b)[_0x4430ea(0x176)](_0x2b2688=>{const _0x32d8f6=_0x4430ea;var _0x37cfd1;return _0x2b2688[_0x32d8f6(0x3bf)][_0x32d8f6(0x4a6)]!==!0x1&&((_0x37cfd1=(0x0,_0x4ecf80['getMindMapNodeMeta'])(_0x2b2688[_0x32d8f6(0x3bf)]))==null?void 0x0:_0x37cfd1[_0x32d8f6(0x359)])===_0x57950c;});if(_0xe994e3[_0x4430ea(0x168)]===0x0||_0xe994e3[_0x4430ea(0x36b)](_0x1d4862=>!_0x51aedf[_0x4430ea(0x450)](_0x1d4862[_0x4430ea(0x17e)])))return null;let _0x56be59=_0xe994e3[_0x4430ea(0x176)](_0x4aa7ad=>{const _0x545d2c=_0x4430ea;var _0x406c04;return((_0x406c04=(0x0,_0x4ecf80['getMindMapNodeMeta'])(_0x4aa7ad[_0x545d2c(0x3bf)]))==null?void 0x0:_0x406c04[_0x545d2c(0x33d)])===null;});return _0x56be59['length']===0x1?{'rootNodeId':_0x56be59[0x0][_0x4430ea(0x17e)],'scopeId':_0x57950c}:null;}[_0x114ef7(0x3c9)](_0x3ac78b,_0x45183c,_0x721702){const _0x29a21b=_0x114ef7;var _0x392a75,_0x35d963,_0x4279b6,_0x5e1f31,_0x43ef45;if(this['_uiStateService']['getState']()[_0x29a21b(0x1a9)]===_0x29a21b(0x4c9)||(_0x3ac78b[_0x29a21b(0x464)]??0x0)!==0x0)return;let _0x44cc03=this['_elementStateService']['getSnapshot']();if(_0x44cc03[_0x29a21b(0x19e)]){this[_0x29a21b(0x183)]=null;return;}let _0x2054a3=_0x45183c?{'unitId':_0x45183c[_0x29a21b(0x48b)],'subUnitId':_0x45183c[_0x29a21b(0x4ae)]}:_0x44cc03[_0x29a21b(0x4cd)]??this['_resolveCurrentBoardContext'](),_0x2065af=(_0x45183c==null?void 0x0:_0x45183c[_0x29a21b(0x466)])??(_0x44cc03[_0x29a21b(0x36e)][_0x29a21b(0x168)]===0x1?_0x44cc03[_0x29a21b(0x459)]??_0x44cc03[_0x29a21b(0x36e)][0x0]:void 0x0);if(!_0x2054a3){this['_pointerDragStart']=null;return;}let _0x11fead=this['_boardElementService'][_0x29a21b(0x294)](_0x2054a3['unitId'],_0x2054a3[_0x29a21b(0x4ae)]),_0x2ce22e=this[_0x29a21b(0x26e)](_0x3ac78b);if(!_0x45183c){let _0x13bb12=_0x2065af?_0x11fead[_0x2065af]:null,_0x5d7698=(0x0,_0x4ecf80[_0x29a21b(0x135)])(_0x13bb12==null?void 0x0:_0x13bb12[_0x29a21b(0x3bf)]),_0xede566=_0x2065af?(0x0,_0x1184a0[_0x29a21b(0x3a8)])(_0x11fead,_0x2065af)??(_0x13bb12==null?void 0x0:_0x13bb12[_0x29a21b(0x3bf)]['transform']):null;(!(_0x5d7698!=null&&_0x5d7698['parentNodeId'])||!_0xede566||!this[_0x29a21b(0x25d)](_0x2ce22e,{'left':_0xede566[_0x29a21b(0x4e8)]??0x0,'top':_0xede566[_0x29a21b(0x32e)]??0x0,'width':_0xede566[_0x29a21b(0x326)]??0x0,'height':_0xede566[_0x29a21b(0x426)]??0x0}))&&(_0x2065af=this[_0x29a21b(0x16a)](_0x11fead,_0x2ce22e));}if(!_0x2065af){this['_pointerDragStart']=null;return;}let _0x1cf320=_0x11fead[_0x2065af],_0x249514=(0x0,_0x4ecf80[_0x29a21b(0x135)])(_0x1cf320==null?void 0x0:_0x1cf320[_0x29a21b(0x3bf)]);if(!_0x1cf320||!(_0x249514!=null&&_0x249514[_0x29a21b(0x33d)])){this[_0x29a21b(0x183)]=null;return;}this[_0x29a21b(0x3e1)][_0x29a21b(0x44f)](_0x2054a3[_0x29a21b(0x48b)]),(_0x392a75=this[_0x29a21b(0x275)][_0x29a21b(0x1d6)])==null||(_0x35d963=_0x392a75[_0x29a21b(0x3ab)])==null||(_0x35d963=_0x35d963[_0x29a21b(0x47d)](_0x392a75))==null||(_0x4279b6=_0x35d963[_0x29a21b(0x1ce)])==null||_0x4279b6[_0x29a21b(0x47d)](_0x35d963,{'preventScroll':!0x0}),(_0x5e1f31=(_0x43ef45=this[_0x29a21b(0x276)])[_0x29a21b(0x273)])==null||_0x5e1f31[_0x29a21b(0x47d)](_0x43ef45,_0x2054a3,[_0x2065af],_0x2065af),_0x721702==null||_0x721702[_0x29a21b(0x4e5)]();let _0x30eff2=(0x0,_0x1184a0[_0x29a21b(0x3a8)])(_0x11fead,_0x2065af),_0x2041a6=_0x1cf320['element']['transform'],_0x1595e={'left':(_0x30eff2==null?void 0x0:_0x30eff2[_0x29a21b(0x4e8)])??_0x2041a6['left']??0x0,'top':(_0x30eff2==null?void 0x0:_0x30eff2[_0x29a21b(0x32e)])??_0x2041a6[_0x29a21b(0x32e)]??0x0,'width':(_0x30eff2==null?void 0x0:_0x30eff2['width'])??_0x2041a6[_0x29a21b(0x326)]??0x0,'height':(_0x30eff2==null?void 0x0:_0x30eff2[_0x29a21b(0x426)])??_0x2041a6['height']??0x0};if(!_0x45183c&&!this[_0x29a21b(0x25d)](_0x2ce22e,_0x1595e)){this[_0x29a21b(0x183)]=null;return;}let _0x32819f=this[_0x29a21b(0x235)](_0x3ac78b);this[_0x29a21b(0x507)]=!0x1,this[_0x29a21b(0x432)]=!0x1,this[_0x29a21b(0x4b5)]=null,this['_pointerDragStart']={'kind':_0x29a21b(0x2a5),'unitId':_0x2054a3[_0x29a21b(0x48b)],'subUnitId':_0x2054a3['subUnitId'],'nodeId':_0x2065af,'scopeId':_0x249514[_0x29a21b(0x359)],..._0x1595e,'pointerStartX':_0x32819f['x'],'pointerStartY':_0x32819f['y'],'elementData':_0x11fead},this[_0x29a21b(0x1eb)](),this[_0x29a21b(0x4ed)](_0x3ac78b,_0x721702);}[_0x114ef7(0x226)](_0x200d0a,_0x47d9d1){const _0x34279f=_0x114ef7;var _0x3398cf,_0x57ebb;let _0x2ad5de=this[_0x34279f(0x183)];if(!_0x2ad5de||_0x200d0a[_0x34279f(0x2f9)]!==void 0x0&&_0x200d0a[_0x34279f(0x2f9)]!==0x1)return;let _0xc4cc40=this['_getPointerLiveBounds'](_0x200d0a,_0x2ad5de);if(!this[_0x34279f(0x354)](_0x2ad5de,_0xc4cc40))return;this['_childDragActivated']||this[_0x34279f(0x145)](),this[_0x34279f(0x507)]=!0x0;let _0xb111c5=this[_0x34279f(0x468)](_0x2ad5de[_0x34279f(0x32a)],_0x2ad5de['nodeId'],_0xc4cc40),_0x11416f=_0x3796b1(_0x2ad5de[_0x34279f(0x32a)],_0x2ad5de[_0x34279f(0x466)],{'boundsByElementId':_0xb111c5,'detachWhenNoSnap':!0x0});this['_lastChildDragAction']=_0x11416f,this[_0x34279f(0x308)](_0xc4cc40,_0x11416f,_0xb111c5),this[_0x34279f(0x4ed)](_0x200d0a,_0x47d9d1),this[_0x34279f(0x275)][_0x34279f(0x2e7)][_0x34279f(0x2c6)](!0x0),(_0x3398cf=(_0x57ebb=this['_renderContext'][_0x34279f(0x2e7)])[_0x34279f(0x39b)])==null||_0x3398cf['call'](_0x57ebb);}['_applyPointerChildDrag'](_0x5cd417,_0x186e04){const _0x46dbc8=_0x114ef7;let _0x255ea2=this['_pointerDragStart'];if(!_0x255ea2)return;if(this[_0x46dbc8(0x183)]=null,this[_0x46dbc8(0x1a3)](),this[_0x46dbc8(0x265)](),!this[_0x46dbc8(0x507)]){this[_0x46dbc8(0x4b5)]=null;return;}let _0x431e31=this[_0x46dbc8(0x169)][_0x46dbc8(0x294)](_0x255ea2['unitId'],_0x255ea2[_0x46dbc8(0x4ae)]),_0x3f736a=this[_0x46dbc8(0x287)](_0x5cd417,_0x255ea2),_0x28bdf5=this[_0x46dbc8(0x468)](_0x431e31,_0x255ea2[_0x46dbc8(0x466)],_0x3f736a),_0x332327=_0x3796b1(_0x431e31,_0x255ea2[_0x46dbc8(0x466)],{'boundsByElementId':_0x28bdf5,'detachWhenNoSnap':!0x0});this[_0x46dbc8(0x4b5)]=null,this['_executeChildDragAction'](_0x255ea2[_0x46dbc8(0x48b)],_0x255ea2[_0x46dbc8(0x4ae)],_0x255ea2[_0x46dbc8(0x466)],_0x431e31,_0x332327),this[_0x46dbc8(0x432)]=!0x1,this['_consumePointerEvent'](_0x5cd417,_0x186e04);}[_0x114ef7(0x4ca)](_0x1e8044){const _0x3632ac=_0x114ef7;let _0x3d90e5=this['_pointerDragStart'];if(_0x3d90e5){if(this[_0x3632ac(0x183)]=null,this[_0x3632ac(0x1a3)](),this[_0x3632ac(0x507)]=!0x1,this[_0x3632ac(0x4b5)]=null,this[_0x3632ac(0x265)](),this['_childDragSelectionHidden']){var _0x30d9ac,_0x3669a2;(_0x30d9ac=(_0x3669a2=this[_0x3632ac(0x276)])[_0x3632ac(0x273)])==null||_0x30d9ac[_0x3632ac(0x47d)](_0x3669a2,{'unitId':_0x3d90e5[_0x3632ac(0x48b)],'subUnitId':_0x3d90e5[_0x3632ac(0x4ae)]},[_0x3d90e5['nodeId']],_0x3d90e5[_0x3632ac(0x466)]),this[_0x3632ac(0x432)]=!0x1;}_0x1e8044==null||_0x1e8044['stopPropagation']();}}[_0x114ef7(0x1eb)](){const _0x2c9ff2=_0x114ef7;this[_0x2c9ff2(0x1a3)]();let _0x102dc6=typeof window>'u'?null:window;if(!(_0x102dc6!=null&&_0x102dc6[_0x2c9ff2(0x479)]))return;let _0x501f43=new _0x4aaeb9[(_0x2c9ff2(0x3eb))](),_0x795cba=_0x5c4a73=>this[_0x2c9ff2(0x226)](_0x5c4a73),_0xeee0b0=_0x20456b=>this[_0x2c9ff2(0x3e9)](_0x20456b),_0x556240=()=>this[_0x2c9ff2(0x4ca)]();_0x102dc6[_0x2c9ff2(0x479)]('pointermove',_0x795cba,{'capture':!0x0}),_0x102dc6[_0x2c9ff2(0x479)](_0x2c9ff2(0x3b2),_0xeee0b0,{'capture':!0x0}),_0x102dc6[_0x2c9ff2(0x479)](_0x2c9ff2(0x39f),_0x556240,{'capture':!0x0}),_0x501f43['add']((0x0,_0x4aaeb9[_0x2c9ff2(0x3bd)])(()=>{const _0x8215d0=_0x2c9ff2;_0x102dc6[_0x8215d0(0x322)](_0x8215d0(0x30b),_0x795cba,{'capture':!0x0}),_0x102dc6['removeEventListener']('pointerup',_0xeee0b0,{'capture':!0x0}),_0x102dc6[_0x8215d0(0x322)](_0x8215d0(0x39f),_0x556240,{'capture':!0x0});})),this[_0x2c9ff2(0x14d)]=_0x501f43;}[_0x114ef7(0x16a)](_0x1ea13e,_0x45ebb1){const _0x4e69ea=_0x114ef7;let _0x22d88c=Object[_0x4e69ea(0x25a)](_0x1ea13e);for(let _0x373795=_0x22d88c[_0x4e69ea(0x168)]-0x1;_0x373795>=0x0;--_0x373795){let _0x3939c5=_0x22d88c[_0x373795],_0x1bb507=(0x0,_0x4ecf80[_0x4e69ea(0x135)])(_0x3939c5['element']);if(!(_0x1bb507!=null&&_0x1bb507[_0x4e69ea(0x33d)]))continue;let _0x2165b4=(0x0,_0x1184a0[_0x4e69ea(0x3a8)])(_0x1ea13e,_0x3939c5[_0x4e69ea(0x17e)])??_0x3939c5['element'][_0x4e69ea(0x19c)];if(this[_0x4e69ea(0x25d)](_0x45ebb1,{'left':_0x2165b4[_0x4e69ea(0x4e8)]??0x0,'top':_0x2165b4[_0x4e69ea(0x32e)]??0x0,'width':_0x2165b4[_0x4e69ea(0x326)]??0x0,'height':_0x2165b4[_0x4e69ea(0x426)]??0x0}))return _0x3939c5['elementId'];}}[_0x114ef7(0x1a3)](){const _0x22fa57=_0x114ef7;var _0x59a670;(_0x59a670=this[_0x22fa57(0x14d)])==null||_0x59a670[_0x22fa57(0x2db)](),this[_0x22fa57(0x14d)]=null;}[_0x114ef7(0x28c)](_0x401556){const _0x3e2780=_0x114ef7;let _0x3f9f1a=this['_dragStart'];if(_0x3f9f1a){if((_0x3f9f1a[_0x3e2780(0x2c3)]===_0x3e2780(0x4db)||_0x3f9f1a[_0x3e2780(0x2c3)]===_0x3e2780(0x2a0))&&this['_syncRootScopePreview'](_0x401556),_0x3f9f1a[_0x3e2780(0x2c3)]==='root'){this['_syncRootReparentPreview'](_0x401556);return;}this[_0x3e2780(0x20d)](_0x401556);}}['_syncRootScopePreview'](_0x56be30){const _0x5dbe19=_0x114ef7;let _0x4558b7=this[_0x5dbe19(0x231)];if(!_0x4558b7||_0x4558b7[_0x5dbe19(0x2c3)]!==_0x5dbe19(0x4db)&&_0x4558b7['kind']!=='scope')return;let _0x15ca08=_0x56be30==null?void 0x0:_0x56be30[_0x5dbe19(0x2e6)]((0x0,_0x17cb44[_0x5dbe19(0x49f)])(_0x4558b7[_0x5dbe19(0x48b)],_0x4558b7[_0x5dbe19(0x466)]));if(!_0x15ca08||!Number['isFinite'](_0x15ca08[_0x5dbe19(0x4e8)])||!Number[_0x5dbe19(0x236)](_0x15ca08[_0x5dbe19(0x32e)]))return;let _0x3d3df6=_0xc8432c({'elementData':_0x4558b7[_0x5dbe19(0x32a)],'rootNodeId':_0x4558b7[_0x5dbe19(0x466)],'scopeId':_0x4558b7[_0x5dbe19(0x31e)],'rootStartBounds':{'left':_0x4558b7['left'],'top':_0x4558b7['top']},'liveRootBounds':{'left':_0x15ca08[_0x5dbe19(0x4e8)],'top':_0x15ca08[_0x5dbe19(0x32e)]}});if(!_0x3d3df6)return;let _0x561a56=this['_renderContext'][_0x5dbe19(0x2e7)],_0x5ee9ce=_0x561a56,_0x1a1762=!0x1;_0x3d3df6[_0x5dbe19(0x1a6)][_0x5dbe19(0x413)](_0x304215=>{const _0x9dd05=_0x5dbe19;var _0x4a9ab5;let _0x182789=(0x0,_0x17cb44[_0x9dd05(0x49f)])(_0x4558b7[_0x9dd05(0x48b)],_0x304215['elementId']),_0x2b584f=((_0x4a9ab5=_0x5ee9ce[_0x9dd05(0x313)])==null?void 0x0:_0x4a9ab5[_0x9dd05(0x47d)](_0x5ee9ce,_0x182789))??_0x561a56['getObject'](_0x182789);if(_0x2b584f){if(_0x304215[_0x9dd05(0x2c3)]===_0x9dd05(0x1b3)&&typeof _0x2b584f[_0x9dd05(0x3cb)]==_0x9dd05(0x1d3)){_0x2b584f[_0x9dd05(0x3cb)](_0x304215[_0x9dd05(0x3bf)],_0x3d3df6[_0x9dd05(0x32a)]),_0x1a1762=!0x0;return;}_0x304215[_0x9dd05(0x2c3)]===_0x9dd05(0x4f9)&&(_0x2b584f[_0x9dd05(0x2fc)](_0x304215[_0x9dd05(0x4f9)]),typeof _0x2b584f[_0x9dd05(0x2d5)]==_0x9dd05(0x1d3)?_0x2b584f[_0x9dd05(0x2d5)](!0x0):_0x2b584f[_0x9dd05(0x2c6)](!0x0),_0x1a1762=!0x0);}}),_0x1a1762&&_0x561a56[_0x5dbe19(0x2c6)](!0x0);}['_syncRootReparentPreview'](_0x240bcb){const _0x2e5cee=_0x114ef7;var _0x4e6ac6,_0x157bd5;let _0x12b2d4=this[_0x2e5cee(0x231)];if(!_0x12b2d4||_0x12b2d4['kind']!==_0x2e5cee(0x4db))return;let _0x4d7059=_0x240bcb==null?void 0x0:_0x240bcb['get']((0x0,_0x17cb44[_0x2e5cee(0x49f)])(_0x12b2d4[_0x2e5cee(0x48b)],_0x12b2d4[_0x2e5cee(0x466)]));if(!_0x4d7059||!Number[_0x2e5cee(0x236)](_0x4d7059[_0x2e5cee(0x4e8)])||!Number[_0x2e5cee(0x236)](_0x4d7059[_0x2e5cee(0x32e)])){this['_removeDragPreviewObject']();return;}let _0x285b47=this[_0x2e5cee(0x230)](_0x4d7059,_0x12b2d4),_0x31966b=this[_0x2e5cee(0x468)](_0x12b2d4[_0x2e5cee(0x32a)],_0x12b2d4[_0x2e5cee(0x466)],_0x285b47),_0x461228=_0x3796b1(_0x12b2d4['elementData'],_0x12b2d4[_0x2e5cee(0x466)],{'boundsByElementId':_0x31966b,'allowRootReparent':!0x0});if(_0x461228['kind']!=='reparent'){this['_removeDragPreviewObject']();return;}let _0x345a6c=this[_0x2e5cee(0x453)]();_0x345a6c&&(_0x345a6c[_0x2e5cee(0x415)]({'ghostBounds':_0x285b47,'sourceBounds':null,'parentBounds':_0x31966b[_0x461228[_0x2e5cee(0x3aa)]],'side':_0x461228[_0x2e5cee(0x126)],'textStyle':void 0x0,'renderGhostNode':!0x1}),this[_0x2e5cee(0x275)][_0x2e5cee(0x2e7)][_0x2e5cee(0x2c6)](!0x0),(_0x4e6ac6=(_0x157bd5=this[_0x2e5cee(0x275)][_0x2e5cee(0x2e7)])[_0x2e5cee(0x39b)])==null||_0x4e6ac6[_0x2e5cee(0x47d)](_0x157bd5));}[_0x114ef7(0x20d)](_0x9be2a0){const _0x41e5b1=_0x114ef7;var _0x151562,_0x27d785;let _0x11d861=this[_0x41e5b1(0x231)];if(!_0x11d861||_0x11d861['kind']!=='child')return;let _0x543627=_0x9be2a0==null?void 0x0:_0x9be2a0['get']((0x0,_0x17cb44['getBoardElementRenderObjectKey'])(_0x11d861[_0x41e5b1(0x48b)],_0x11d861[_0x41e5b1(0x466)]));if(!_0x543627){this[_0x41e5b1(0x265)]();return;}let _0x52b0c3=this[_0x41e5b1(0x230)](_0x543627,_0x11d861);if(!this[_0x41e5b1(0x354)](_0x11d861,_0x52b0c3)){this['_lastChildDragAction']=null,this[_0x41e5b1(0x265)](),this[_0x41e5b1(0x219)](_0x543627,_0x11d861),this['_renderContext'][_0x41e5b1(0x2e7)][_0x41e5b1(0x2c6)](!0x0);return;}this['_childDragActivated']||this[_0x41e5b1(0x145)](),this[_0x41e5b1(0x507)]=!0x0;let _0xb22279=this[_0x41e5b1(0x468)](_0x11d861[_0x41e5b1(0x32a)],_0x11d861[_0x41e5b1(0x466)],_0x52b0c3),_0x1bb244=_0x3796b1(_0x11d861[_0x41e5b1(0x32a)],_0x11d861['nodeId'],{'boundsByElementId':_0xb22279,'detachWhenNoSnap':!0x0});this[_0x41e5b1(0x4b5)]=_0x1bb244,this[_0x41e5b1(0x308)](_0x52b0c3,_0x1bb244,_0xb22279),this[_0x41e5b1(0x219)](_0x543627,_0x11d861),this[_0x41e5b1(0x275)]['scene'][_0x41e5b1(0x2c6)](!0x0),(_0x151562=(_0x27d785=this[_0x41e5b1(0x275)][_0x41e5b1(0x2e7)])[_0x41e5b1(0x39b)])==null||_0x151562[_0x41e5b1(0x47d)](_0x27d785);}[_0x114ef7(0x3a6)](_0x6491b3){const _0x56deb7=_0x114ef7;var _0x1add16;let _0x4194ff=this[_0x56deb7(0x276)][_0x56deb7(0x319)](),_0x4a0d69=_0x4194ff[_0x56deb7(0x4cd)],_0x38dfc8=_0x4194ff[_0x56deb7(0x459)]??_0x4194ff[_0x56deb7(0x36e)][0x0];if(_0x4a0d69&&((_0x1add16=this[_0x56deb7(0x231)])==null?void 0x0:_0x1add16['kind'])===_0x56deb7(0x2a0)){this['_removeDragPreviewObject'](),this['_applyScopeTranslation'](_0x4a0d69[_0x56deb7(0x48b)],_0x4a0d69[_0x56deb7(0x4ae)],_0x6491b3);return;}if(!_0x4a0d69||!_0x38dfc8||_0x4194ff['selectedIds'][_0x56deb7(0x168)]!==0x1){this[_0x56deb7(0x265)](),this['_dragStart']=null;return;}this[_0x56deb7(0x265)]();let _0x36dacf=this[_0x56deb7(0x169)]['getElementData'](_0x4a0d69[_0x56deb7(0x48b)],_0x4a0d69[_0x56deb7(0x4ae)]);if(this[_0x56deb7(0x516)](_0x4a0d69['unitId'],_0x4a0d69[_0x56deb7(0x4ae)],_0x38dfc8,_0x36dacf,_0x6491b3))return;let _0x36dea4=this[_0x56deb7(0x2bd)](_0x4a0d69['unitId'],_0x4a0d69['subUnitId'],_0x38dfc8,_0x36dacf,_0x6491b3);this[_0x56deb7(0x3af)](_0x4a0d69[_0x56deb7(0x48b)],_0x4a0d69[_0x56deb7(0x4ae)],_0x38dfc8,_0x36dacf,_0x36dea4);}[_0x114ef7(0x2be)](_0x31f90a,_0x71d9a9,_0x21912c){const _0x16d505=_0x114ef7;let _0x2c999a=this['_dragStart'];if(this['_dragStart']=null,!_0x2c999a||_0x2c999a[_0x16d505(0x2c3)]!=='scope'||_0x2c999a[_0x16d505(0x48b)]!==_0x31f90a||_0x2c999a['subUnitId']!==_0x71d9a9)return;let _0x3c1819=_0x21912c==null?void 0x0:_0x21912c['get']((0x0,_0x17cb44['getBoardElementRenderObjectKey'])(_0x31f90a,_0x2c999a[_0x16d505(0x466)])),_0xdf3584=_0x3c1819&&Number[_0x16d505(0x236)](_0x3c1819['left'])?_0x3c1819[_0x16d505(0x4e8)]??_0x2c999a[_0x16d505(0x4e8)]:_0x2c999a[_0x16d505(0x4e8)],_0x26acd5=_0x3c1819&&Number[_0x16d505(0x236)](_0x3c1819[_0x16d505(0x32e)])?_0x3c1819[_0x16d505(0x32e)]??_0x2c999a[_0x16d505(0x32e)]:_0x2c999a[_0x16d505(0x32e)],_0x25d31e=_0xdf3584-_0x2c999a[_0x16d505(0x4e8)],_0x2b9e8c=_0x26acd5-_0x2c999a[_0x16d505(0x32e)];(_0x25d31e!==0x0||_0x2b9e8c!==0x0)&&this[_0x16d505(0x3dc)][_0x16d505(0x32b)](_0x4ecf80[_0x16d505(0x19f)]['id'],{'unitId':_0x31f90a,'subUnitId':_0x71d9a9,'scopeId':_0x2c999a[_0x16d505(0x31e)],'deltaX':_0x25d31e,'deltaY':_0x2b9e8c});}[_0x114ef7(0x3af)](_0x19e58a,_0x547e4e,_0xc7b5da,_0x1296b6,_0x1f93af){const _0x4318af=_0x114ef7;if(_0x1f93af[_0x4318af(0x2c3)]===_0x4318af(0x43e)){var _0x53aa1e,_0x1c4a02;let _0x2e0f66=(0x0,_0x4ecf80['getMindMapNodeMeta'])((_0x53aa1e=_0x1296b6[_0xc7b5da])==null?void 0x0:_0x53aa1e[_0x4318af(0x3bf)]),_0x50565a=(0x0,_0x4ecf80[_0x4318af(0x135)])((_0x1c4a02=_0x1296b6[_0x1f93af[_0x4318af(0x3aa)]])==null?void 0x0:_0x1c4a02['element']);this['_executeAndLayout'](_0x4ecf80['ReparentMindMapNodeOperation']['id'],{'unitId':_0x19e58a,'subUnitId':_0x547e4e,'nodeId':_0xc7b5da,'newParentNodeId':_0x1f93af[_0x4318af(0x3aa)],'side':_0x1f93af[_0x4318af(0x126)],..._0x1f93af['referenceNodeId']?{'referenceNodeId':_0x1f93af['referenceNodeId']}:null,..._0x1f93af[_0x4318af(0x46e)]?{'placement':_0x1f93af[_0x4318af(0x46e)]}:null},[_0x2e0f66==null?void 0x0:_0x2e0f66[_0x4318af(0x359)],_0x50565a==null?void 0x0:_0x50565a[_0x4318af(0x359)]],_0xc7b5da);return;}if(_0x1f93af[_0x4318af(0x2c3)]==='detach'){var _0x422dfb;let _0xea5804=(0x0,_0x4ecf80['getMindMapNodeMeta'])((_0x422dfb=_0x1296b6[_0xc7b5da])==null?void 0x0:_0x422dfb[_0x4318af(0x3bf)]);this['_executeAndLayout'](_0x4ecf80[_0x4318af(0x42e)]['id'],{'unitId':_0x19e58a,'subUnitId':_0x547e4e,'nodeId':_0xc7b5da,...Number[_0x4318af(0x236)](_0x1f93af[_0x4318af(0x4e8)])?{'left':_0x1f93af['left']}:null,...Number[_0x4318af(0x236)](_0x1f93af[_0x4318af(0x32e)])?{'top':_0x1f93af[_0x4318af(0x32e)]}:null},[_0xea5804==null?void 0x0:_0xea5804[_0x4318af(0x359)]],_0xc7b5da);}}['_applyRootTranslation'](_0x557c18,_0x1528ca,_0x2395b9,_0x3d8253,_0x99a014){const _0x328f66=_0x114ef7;let _0x2d35fb=this['_dragStart'];if((_0x2d35fb==null?void 0x0:_0x2d35fb[_0x328f66(0x2c3)])===_0x328f66(0x4db)&&(this[_0x328f66(0x231)]=null),!_0x2d35fb||_0x2d35fb[_0x328f66(0x48b)]!==_0x557c18||_0x2d35fb[_0x328f66(0x4ae)]!==_0x1528ca||_0x2d35fb[_0x328f66(0x466)]!==_0x2395b9)return!0x1;let _0x75fc8c=_0x3d8253[_0x2395b9],_0x3d1e99=(0x0,_0x4ecf80[_0x328f66(0x135)])(_0x75fc8c==null?void 0x0:_0x75fc8c[_0x328f66(0x3bf)]);if(!_0x75fc8c||!_0x3d1e99||_0x3d1e99[_0x328f66(0x33d)]!==null)return!0x1;let _0x3f1040=_0x99a014==null?void 0x0:_0x99a014[_0x328f66(0x2e6)]((0x0,_0x17cb44[_0x328f66(0x49f)])(_0x557c18,_0x2395b9)),_0x4762c2=(0x0,_0x1184a0[_0x328f66(0x3a8)])(_0x3d8253,_0x2395b9),_0x1e0d67=Number[_0x328f66(0x236)](_0x3f1040==null?void 0x0:_0x3f1040[_0x328f66(0x4e8)])?_0x3f1040[_0x328f66(0x4e8)]:(_0x4762c2==null?void 0x0:_0x4762c2[_0x328f66(0x4e8)])??_0x75fc8c[_0x328f66(0x3bf)][_0x328f66(0x19c)]['left']??0x0,_0x55067e=Number['isFinite'](_0x3f1040==null?void 0x0:_0x3f1040[_0x328f66(0x32e)])?_0x3f1040['top']:(_0x4762c2==null?void 0x0:_0x4762c2[_0x328f66(0x32e)])??_0x75fc8c['element'][_0x328f66(0x19c)][_0x328f66(0x32e)]??0x0,_0x9ec77a=_0x1e0d67-_0x2d35fb[_0x328f66(0x4e8)],_0x3290d2=_0x55067e-_0x2d35fb[_0x328f66(0x32e)];if(_0x9ec77a===0x0&&_0x3290d2===0x0)return!0x0;let _0x2e28f5={'left':_0x1e0d67,'top':_0x55067e,'width':Number[_0x328f66(0x236)](_0x3f1040==null?void 0x0:_0x3f1040[_0x328f66(0x326)])?_0x3f1040['width']:_0x2d35fb[_0x328f66(0x326)],'height':Number[_0x328f66(0x236)](_0x3f1040==null?void 0x0:_0x3f1040[_0x328f66(0x426)])?_0x3f1040[_0x328f66(0x426)]:_0x2d35fb[_0x328f66(0x426)]},_0x1e355a=_0x3796b1(_0x3d8253,_0x2395b9,{'boundsByElementId':this[_0x328f66(0x468)](_0x3d8253,_0x2395b9,_0x2e28f5),'allowRootReparent':!0x0});if(_0x1e355a[_0x328f66(0x2c3)]===_0x328f66(0x43e))return this['_executeChildDragAction'](_0x557c18,_0x1528ca,_0x2395b9,_0x3d8253,_0x1e355a),!0x0;let _0xcd1fb3=!!_0x4762c2&&Math[_0x328f66(0x385)](_0x4762c2[_0x328f66(0x4e8)]-_0x1e0d67)<0.001&&Math[_0x328f66(0x385)](_0x4762c2['top']-_0x55067e)<0.001;return this['_commandService'][_0x328f66(0x32b)](_0x4ecf80['TranslateMindMapOperation']['id'],{'unitId':_0x557c18,'subUnitId':_0x1528ca,'scopeId':_0x2d35fb['scopeId'],'deltaX':_0x9ec77a,'deltaY':_0x3290d2,..._0xcd1fb3?{'excludeElementIds':[_0x2395b9],'preserveExcludedWorldTransforms':!0x0}:null}),!0x0;}[_0x114ef7(0x2bd)](_0x2d79af,_0x315021,_0x3056a2,_0x3a4319,_0x43f51f){const _0x3543e6=_0x114ef7;let _0x1cfd58=this[_0x3543e6(0x231)];if(!_0x1cfd58||_0x1cfd58['kind']!==_0x3543e6(0x2a5)||_0x1cfd58['unitId']!==_0x2d79af||_0x1cfd58[_0x3543e6(0x4ae)]!==_0x315021||_0x1cfd58[_0x3543e6(0x466)]!==_0x3056a2)return{'kind':_0x3543e6(0x175)};this[_0x3543e6(0x231)]=null;let _0x1191ef=_0x43f51f==null?void 0x0:_0x43f51f[_0x3543e6(0x2e6)]((0x0,_0x17cb44[_0x3543e6(0x49f)])(_0x2d79af,_0x3056a2));if(!this[_0x3543e6(0x507)])return _0x1191ef&&this[_0x3543e6(0x219)](_0x1191ef,_0x1cfd58),this[_0x3543e6(0x4b5)]=null,{'kind':_0x3543e6(0x175)};if(!_0x1191ef){let _0x565d0e=this[_0x3543e6(0x4b5)]??{'kind':_0x3543e6(0x175)};return this[_0x3543e6(0x4b5)]=null,_0x565d0e;}let _0x43dfc0=this[_0x3543e6(0x230)](_0x1191ef,_0x1cfd58);if(this['_restoreObjectToDragStart'](_0x1191ef,_0x1cfd58),!this[_0x3543e6(0x354)](_0x1cfd58,_0x43dfc0))return this[_0x3543e6(0x4b5)]=null,{'kind':_0x3543e6(0x175)};let _0x2e7f77=_0x3796b1(_0x3a4319,_0x3056a2,{'boundsByElementId':this[_0x3543e6(0x468)](_0x3a4319,_0x3056a2,_0x43dfc0),'detachWhenNoSnap':!0x0});return this[_0x3543e6(0x4b5)]=null,_0x2e7f77;}['_isChildDragPastActivationThreshold'](_0x3e1944,_0x308b3b){const _0x12a169=_0x114ef7;let _0x4873df=(_0x308b3b[_0x12a169(0x4e8)]??_0x3e1944[_0x12a169(0x4e8)])-_0x3e1944[_0x12a169(0x4e8)],_0x2df069=(_0x308b3b[_0x12a169(0x32e)]??_0x3e1944['top'])-_0x3e1944[_0x12a169(0x32e)];return Math[_0x12a169(0x261)](_0x4873df,_0x2df069)>=0x12;}['_getPointerLiveBounds'](_0x1b301b,_0x1ea379){const _0x50b93d=_0x114ef7;let _0x3f4e7a=this[_0x50b93d(0x235)](_0x1b301b),_0x1d9e60=this['_getZoomRatio']();return{'left':_0x1ea379['left']+(_0x3f4e7a['x']-_0x1ea379[_0x50b93d(0x1cf)])/_0x1d9e60,'top':_0x1ea379['top']+(_0x3f4e7a['y']-_0x1ea379['pointerStartY'])/_0x1d9e60,'width':_0x1ea379[_0x50b93d(0x326)],'height':_0x1ea379[_0x50b93d(0x426)]};}[_0x114ef7(0x26e)](_0x185e8e){const _0x554390=_0x114ef7;let _0x2b912e=this['_uiStateService'][_0x554390(0x344)](),_0xb1d7b9=(_0x2b912e==null?void 0x0:_0x2b912e[_0x554390(0x355)])??{'x':0x0,'y':0x0},_0x2302af=this[_0x554390(0x40d)]();return{'x':Math[_0x554390(0x129)](((_0x185e8e[_0x554390(0x38a)]??0x0)-_0xb1d7b9['x'])/_0x2302af),'y':Math['round'](((_0x185e8e[_0x554390(0x19d)]??0x0)-_0xb1d7b9['y'])/_0x2302af)};}[_0x114ef7(0x235)](_0x4fc2d3){const _0x4a388d=_0x114ef7;return{'x':Number['isFinite'](_0x4fc2d3[_0x4a388d(0x28e)])?_0x4fc2d3[_0x4a388d(0x28e)]:_0x4fc2d3[_0x4a388d(0x38a)]??0x0,'y':Number['isFinite'](_0x4fc2d3[_0x4a388d(0x2ae)])?_0x4fc2d3['clientY']:_0x4fc2d3[_0x4a388d(0x19d)]??0x0};}['_getZoomRatio'](){const _0x39e8e6=_0x114ef7;let _0x26d5b4=this['_uiStateService'][_0x39e8e6(0x344)]()[_0x39e8e6(0x4c1)];return Number['isFinite'](_0x26d5b4)&&(_0x26d5b4??0x0)>0x0?_0x26d5b4:0x1;}[_0x114ef7(0x25d)](_0x45882c,_0x2f8f0b){const _0x325ffc=_0x114ef7;return _0x45882c['x']>=_0x2f8f0b[_0x325ffc(0x4e8)]&&_0x45882c['x']<=_0x2f8f0b[_0x325ffc(0x4e8)]+_0x2f8f0b[_0x325ffc(0x326)]&&_0x45882c['y']>=_0x2f8f0b[_0x325ffc(0x32e)]&&_0x45882c['y']<=_0x2f8f0b[_0x325ffc(0x32e)]+_0x2f8f0b[_0x325ffc(0x426)];}[_0x114ef7(0x4ed)](_0x512c29,_0x36c2f6){const _0x5c79a8=_0x114ef7;var _0x4da5c3,_0x2108cc;_0x36c2f6==null||_0x36c2f6['stopPropagation'](),_0x36c2f6&&(_0x36c2f6['skipNextObservers']=!0x0),(_0x4da5c3=_0x512c29[_0x5c79a8(0x1ae)])==null||_0x4da5c3[_0x5c79a8(0x47d)](_0x512c29),(_0x2108cc=_0x512c29[_0x5c79a8(0x4e5)])==null||_0x2108cc[_0x5c79a8(0x47d)](_0x512c29);}['_hideSelectionForChildDrag'](){const _0xf29edb=_0x114ef7;var _0x4a51dc,_0xffe010;this[_0xf29edb(0x432)]||=((_0x4a51dc=(_0xffe010=this[_0xf29edb(0x276)])[_0xf29edb(0x3d3)])==null||_0x4a51dc[_0xf29edb(0x47d)](_0xffe010),!0x0);}['_getLiveObjectBounds'](_0x1a4f45,_0x109e3f){const _0x42e73d=_0x114ef7;return{'left':Number[_0x42e73d(0x236)](_0x1a4f45['left'])?_0x1a4f45[_0x42e73d(0x4e8)]:_0x109e3f[_0x42e73d(0x4e8)],'top':Number[_0x42e73d(0x236)](_0x1a4f45[_0x42e73d(0x32e)])?_0x1a4f45['top']:_0x109e3f[_0x42e73d(0x32e)],'width':Number[_0x42e73d(0x236)](_0x1a4f45[_0x42e73d(0x326)])?_0x1a4f45[_0x42e73d(0x326)]:_0x109e3f[_0x42e73d(0x326)],'height':Number[_0x42e73d(0x236)](_0x1a4f45[_0x42e73d(0x426)])?_0x1a4f45[_0x42e73d(0x426)]:_0x109e3f['height']};}[_0x114ef7(0x219)](_0x530ded,_0x5d57b8){const _0x464d45=_0x114ef7;typeof _0x530ded[_0x464d45(0x2fc)]=='function'&&_0x530ded[_0x464d45(0x2fc)]({'left':_0x5d57b8['left'],'top':_0x5d57b8[_0x464d45(0x32e)],'width':_0x5d57b8[_0x464d45(0x326)],'height':_0x5d57b8[_0x464d45(0x426)]}),typeof _0x530ded['makeDirtyNoDebounce']==_0x464d45(0x1d3)?_0x530ded[_0x464d45(0x2d5)](!0x0):typeof _0x530ded[_0x464d45(0x2c6)]==_0x464d45(0x1d3)&&_0x530ded[_0x464d45(0x2c6)](!0x0);}[_0x114ef7(0x468)](_0x133209,_0x370061,_0x13d878){const _0x59b3c6=_0x114ef7;return Object[_0x59b3c6(0x20e)](Object[_0x59b3c6(0x42c)](_0x133209)['map'](_0x42accd=>_0x42accd===_0x370061?[_0x42accd,_0x13d878]:[_0x42accd,(0x0,_0x1184a0[_0x59b3c6(0x3a8)])(_0x133209,_0x42accd)??_0x133209[_0x42accd]['element'][_0x59b3c6(0x19c)]]));}[_0x114ef7(0x453)](){const _0x16b4e3=_0x114ef7;if(this[_0x16b4e3(0x2ee)])return this[_0x16b4e3(0x2ee)];let _0x38f6b5=this[_0x16b4e3(0x275)][_0x16b4e3(0x2e7)];return typeof _0x38f6b5['addObject']==_0x16b4e3(0x1d3)?(this[_0x16b4e3(0x2ee)]=new _0x5dd0ae(_0x5ac948),_0x38f6b5['addObject'](this[_0x16b4e3(0x2ee)],_0x3e891b),this[_0x16b4e3(0x2ee)]):null;}[_0x114ef7(0x308)](_0x270831,_0x519533,_0x4f758d){const _0x21ef17=_0x114ef7;let _0x5c349c=this[_0x21ef17(0x453)]();_0x5c349c&&_0x5c349c['updateState']({'ghostBounds':_0x270831,'sourceBounds':this['_resolvePreviewSourceBounds'](),'parentBounds':_0x519533['kind']===_0x21ef17(0x43e)?_0x4f758d[_0x519533[_0x21ef17(0x3aa)]]:null,'side':_0x519533['kind']===_0x21ef17(0x43e)?_0x519533[_0x21ef17(0x126)]:_0x21ef17(0x34e),'textStyle':this[_0x21ef17(0x35d)](),'renderGhostNode':!0x0});}[_0x114ef7(0x399)](){const _0x583f9a=_0x114ef7;let _0x4e6abe=this[_0x583f9a(0x183)]??this[_0x583f9a(0x231)];return _0x4e6abe?{'left':_0x4e6abe[_0x583f9a(0x4e8)],'top':_0x4e6abe[_0x583f9a(0x32e)],'width':_0x4e6abe[_0x583f9a(0x326)],'height':_0x4e6abe[_0x583f9a(0x426)]}:null;}[_0x114ef7(0x35d)](){const _0x401726=_0x114ef7;var _0x4b8e29,_0x1b5be3;let _0x57eea3=this['_pointerDragStart']??this[_0x401726(0x231)],_0x5727e8=_0x57eea3==null||(_0x4b8e29=_0x57eea3['elementData'][_0x57eea3[_0x401726(0x466)]])==null?void 0x0:_0x4b8e29[_0x401726(0x3bf)],_0x34c624=_0x5727e8==null||(_0x1b5be3=_0x5727e8[_0x401726(0x43a)])==null?void 0x0:_0x1b5be3[_0x401726(0x430)];if(_0x34c624)return{'text':typeof _0x34c624[_0x401726(0x2d2)]==_0x401726(0x36c)?_0x34c624[_0x401726(0x2d2)]:void 0x0,'fontSize':Number['isFinite'](_0x34c624['fontSize'])?_0x34c624[_0x401726(0x3de)]:void 0x0,'color':typeof _0x34c624[_0x401726(0x3ca)]==_0x401726(0x36c)?_0x34c624['color']:void 0x0,'horizontalAlign':Number[_0x401726(0x236)](_0x34c624[_0x401726(0x243)])?_0x34c624[_0x401726(0x243)]:void 0x0};}['_removeDragPreviewObject'](){const _0x4990c2=_0x114ef7;var _0x901ba7,_0x5bd09d,_0x29ca76;if(!this[_0x4990c2(0x2ee)])return;let _0x123262=this[_0x4990c2(0x275)][_0x4990c2(0x2e7)];(_0x901ba7=_0x123262[_0x4990c2(0x301)])==null||_0x901ba7[_0x4990c2(0x47d)](_0x123262,[this[_0x4990c2(0x2ee)]]),this['_dragPreviewObject']=null,(_0x5bd09d=(_0x29ca76=this[_0x4990c2(0x275)][_0x4990c2(0x2e7)])[_0x4990c2(0x2c6)])==null||_0x5bd09d['call'](_0x29ca76,!0x0);}['_executeAndLayout'](_0x1e821c,_0xa2bc7c,_0x3dba6e,_0x159e7f){const _0x30ac0d=_0x114ef7;let _0x510647=[...new Set(_0x3dba6e[_0x30ac0d(0x176)](_0x1e737d=>!!_0x1e737d))],_0x383193=typeof _0xa2bc7c[_0x30ac0d(0x48b)]==_0x30ac0d(0x36c)?_0xa2bc7c[_0x30ac0d(0x48b)]:this[_0x30ac0d(0x275)][_0x30ac0d(0x48b)],_0x18c117=this[_0x30ac0d(0x4df)][_0x30ac0d(0x508)](_0x383193),_0x1f57f2=_0x18c117(()=>this[_0x30ac0d(0x3dc)][_0x30ac0d(0x32b)](_0x1e821c,_0xa2bc7c));Promise[_0x30ac0d(0x3f1)](_0x1f57f2)['then'](_0x2857fe=>{const _0x3854e5=_0x30ac0d;var _0x1b47b7,_0xe33f55,_0xd87f2b,_0x12e5ef;if(_0x2857fe){if(_0x510647[_0x3854e5(0x413)](_0x988237=>{const _0x2baa24=_0x3854e5;_0x18c117(()=>this['_commandService'][_0x2baa24(0x32b)](_0x4ecf80[_0x2baa24(0x1e9)]['id'],{'unitId':_0xa2bc7c[_0x2baa24(0x48b)],'subUnitId':_0xa2bc7c[_0x2baa24(0x4ae)],'scopeId':_0x988237}));}),_0x159e7f&&typeof _0xa2bc7c[_0x3854e5(0x48b)]==_0x3854e5(0x36c)&&typeof _0xa2bc7c['subUnitId']==_0x3854e5(0x36c)){var _0x4380dd,_0x21248c;(_0x4380dd=(_0x21248c=this[_0x3854e5(0x276)])[_0x3854e5(0x273)])==null||_0x4380dd[_0x3854e5(0x47d)](_0x21248c,{'unitId':_0xa2bc7c['unitId'],'subUnitId':_0xa2bc7c[_0x3854e5(0x4ae)]},[_0x159e7f],_0x159e7f);}(_0x1b47b7=(_0xe33f55=this['_renderContext'][_0x3854e5(0x2e7)])[_0x3854e5(0x2c6)])==null||_0x1b47b7['call'](_0xe33f55,!0x0),(_0xd87f2b=(_0x12e5ef=this[_0x3854e5(0x275)]['scene'])['requestRender'])==null||_0xd87f2b['call'](_0x12e5ef);}});}};_0x1214f1=_0x41c154([_0x27e70d(0x1,(0x0,_0x4aaeb9[_0x114ef7(0x1f9)])(_0x1184a0[_0x114ef7(0x2ad)])),_0x27e70d(0x2,(0x0,_0x4aaeb9[_0x114ef7(0x1f9)])(_0x17cb44[_0x114ef7(0x1af)])),_0x27e70d(0x3,_0x4aaeb9[_0x114ef7(0x153)]),_0x27e70d(0x4,_0x17cb44[_0x114ef7(0x358)]),_0x27e70d(0x5,_0x4aaeb9['IUniverInstanceService']),_0x27e70d(0x6,(0x0,_0x4aaeb9['Inject'])(_0x5982a1['UndoRedoGroupService']))],_0x1214f1);function _0xad63d0({ref:_0x3644f5,..._0x5dc9c2}){const _0x2b062e=_0x114ef7;let {preserveStrokeWidth:_0x4f7a79,icon:_0x1232ce,id:_0x38d4a3,className:_0x2f3f26,extend:_0x35626d,..._0x4ab0b8}=_0x5dc9c2,_0x2d2547=('univerjs-icon\x20univerjs-icon-'+_0x38d4a3+'\x20'+(_0x2f3f26||''))['trim'](),_0x10e901='_'+(0x0,_0x34b88b[_0x2b062e(0x495)])(),_0x59b47f=(0x0,_0x34b88b[_0x2b062e(0x30c)])(null);return(0x0,_0x34b88b['useImperativeHandle'])(_0x3644f5,()=>_0x59b47f['current']),(0x0,_0x34b88b[_0x2b062e(0x37f)])(()=>{const _0x5eddc4=_0x2b062e;if(_0x4f7a79&&_0x59b47f[_0x5eddc4(0x2b0)]&&_0x59b47f[_0x5eddc4(0x2b0)][_0x5eddc4(0x128)]===_0x1232ce[_0x5eddc4(0x434)])return _0x56827f(_0x59b47f[_0x5eddc4(0x2b0)]);},[_0x4f7a79,_0x1232ce]),_0x249a10(_0x1232ce,''+_0x38d4a3,{'defIds':_0x1232ce[_0x2b062e(0x237)],'idSuffix':_0x10e901},{'ref':_0x59b47f,'className':_0x2d2547,..._0x4ab0b8},_0x35626d);}function _0x249a10(_0x425209,_0x405d36,_0x5780dd,_0x31e48a,_0xe69c16){const _0x569db4=_0x114ef7;return(0x0,_0x34b88b[_0x569db4(0x1c0)])(_0x425209[_0x569db4(0x434)],{'key':_0x405d36,..._0x5e49d9(_0x425209,_0x5780dd,_0xe69c16),..._0x31e48a},(_0xd776f(_0x425209,_0x5780dd)[_0x569db4(0x4e0)]||[])[_0x569db4(0x1c1)]((_0x34094f,_0xdc0d1e)=>_0x249a10(_0x34094f,_0x405d36+'-'+_0x425209['tag']+'-'+_0xdc0d1e,_0x5780dd,void 0x0,_0xe69c16)));}function _0x5e49d9(_0x290636,_0x518a13,_0x12c6ed){const _0x1306ea=_0x114ef7;let _0x27b3c6={..._0x290636[_0x1306ea(0x476)]};_0x12c6ed!=null&&_0x12c6ed['colorChannel1']&&_0x27b3c6[_0x1306ea(0x1df)]==='colorChannel1'&&(_0x27b3c6[_0x1306ea(0x1df)]=_0x12c6ed[_0x1306ea(0x253)]),_0x12c6ed!=null&&_0x12c6ed[_0x1306ea(0x253)]&&_0x27b3c6['stroke']===_0x1306ea(0x253)&&(_0x27b3c6[_0x1306ea(0x2cf)]=_0x12c6ed['colorChannel1']),_0x290636[_0x1306ea(0x434)]===_0x1306ea(0x117)&&_0x27b3c6['id']&&(_0x27b3c6['id']+=_0x518a13[_0x1306ea(0x2fa)]),Object[_0x1306ea(0x39e)](_0x27b3c6)[_0x1306ea(0x413)](([_0x51c79c,_0x121bbc])=>{const _0x5a413f=_0x1306ea;_0x51c79c===_0x5a413f(0x117)&&typeof _0x121bbc==_0x5a413f(0x36c)&&(_0x27b3c6[_0x51c79c]=_0x121bbc[_0x5a413f(0x2e3)](/url\(#(.*)\)/,'url(#$1'+_0x518a13[_0x5a413f(0x2fa)]+')'));});let {defIds:_0x4d91e8}=_0x518a13;return!_0x4d91e8||_0x4d91e8[_0x1306ea(0x168)]===0x0?_0x27b3c6:(_0x290636[_0x1306ea(0x434)]===_0x1306ea(0x206)&&_0x27b3c6['xlink:href']&&(_0x27b3c6[_0x1306ea(0x43c)]+=_0x518a13[_0x1306ea(0x2fa)]),Object[_0x1306ea(0x39e)](_0x27b3c6)['forEach'](([_0x3af7cf,_0x1da090])=>{const _0x2e3367=_0x1306ea;typeof _0x1da090==_0x2e3367(0x36c)&&(_0x27b3c6[_0x3af7cf]=_0x1da090[_0x2e3367(0x2e3)](/url\(#(.*)\)/,_0x2e3367(0x23d)+_0x518a13[_0x2e3367(0x2fa)]+')'));}),_0x27b3c6);}function _0xd776f(_0x4f687b,_0x3ec7ea){const _0x2c3a97=_0x114ef7;var _0x33948b;let {defIds:_0x5d9755}=_0x3ec7ea;return!_0x5d9755||_0x5d9755[_0x2c3a97(0x168)]===0x0?_0x4f687b:_0x4f687b['tag']===_0x2c3a97(0x458)&&(_0x33948b=_0x4f687b[_0x2c3a97(0x4e0)])!=null&&_0x33948b[_0x2c3a97(0x168)]?{..._0x4f687b,'children':_0x4f687b['children'][_0x2c3a97(0x1c1)](_0x4a9101=>typeof _0x4a9101['attrs']['id']==_0x2c3a97(0x36c)&&_0x5d9755&&_0x5d9755['includes'](_0x4a9101[_0x2c3a97(0x476)]['id'])?{..._0x4a9101,'attrs':{..._0x4a9101[_0x2c3a97(0x476)],'id':_0x4a9101[_0x2c3a97(0x476)]['id']+_0x3ec7ea['idSuffix']}}:_0x4a9101)}:_0x4f687b;}function _0x56827f(_0x4bd17f){const _0x31a582=_0x114ef7;let _0x1e79de=_0x4bd17f['viewBox'][_0x31a582(0x512)],_0x2ab80e=Math[_0x31a582(0x17c)](_0x1e79de[_0x31a582(0x326)],_0x1e79de[_0x31a582(0x426)]);if(!Number[_0x31a582(0x236)](_0x2ab80e)||_0x2ab80e<=0x0||_0x1e79de[_0x31a582(0x326)]<=0x0||_0x1e79de[_0x31a582(0x426)]<=0x0)return()=>void 0x0;let _0xb13482=0x10/_0x2ab80e,_0xc7a5c5=Array['from'](_0x4bd17f['querySelectorAll']('circle,\x20ellipse,\x20line,\x20path,\x20polygon,\x20polyline,\x20rect,\x20text,\x20textPath,\x20tspan,\x20use'))[_0x31a582(0x1e2)](_0x3c13db=>{const _0x430104=_0x31a582;let _0x566e73=getComputedStyle(_0x3c13db),_0x1fe290=Number[_0x430104(0x1ca)](_0x566e73[_0x430104(0x471)]);return _0x566e73[_0x430104(0x2cf)]===_0x430104(0x175)||Number[_0x430104(0x1ca)](_0x566e73[_0x430104(0x49e)])===0x0||_0x566e73['vectorEffect']===_0x430104(0x324)||!Number[_0x430104(0x236)](_0x1fe290)||_0x1fe290<=0x0?[]:[{'element':_0x3c13db,'hadStyleAttribute':_0x3c13db['hasAttribute'](_0x430104(0x25c)),'originalStrokeWidth':_0x1fe290,'strokeWidth':_0x43f8c1(_0x3c13db[_0x430104(0x25c)],'stroke-width')}];})[_0x31a582(0x1c1)](_0x3b5886=>({'appliedStrokeWidth':null,'element':_0x3b5886[_0x31a582(0x3bf)],'hadStyleAttribute':_0x3b5886['hadStyleAttribute'],'isReleased':!0x1,'originalStrokeWidth':_0x3b5886[_0x31a582(0x210)],'strokeWidth':_0x3b5886['strokeWidth']}));if(_0xc7a5c5[_0x31a582(0x168)]===0x0)return()=>void 0x0;let _0x421d26=(_0x2b7c4a,_0x2a7e6e)=>{const _0x4cb3a2=_0x31a582;if(_0x1e79de[_0x4cb3a2(0x326)]<=0x0||_0x1e79de['height']<=0x0||_0x2b7c4a<=0x0||_0x2a7e6e<=0x0)return;let _0x32bdfc=Math[_0x4cb3a2(0x133)](_0x2b7c4a/_0x1e79de['width'],_0x2a7e6e/_0x1e79de[_0x4cb3a2(0x426)]);!Number[_0x4cb3a2(0x236)](_0x32bdfc)||_0x32bdfc<=0x0||_0xc7a5c5[_0x4cb3a2(0x413)](_0x3eccac=>{const _0x3a055c=_0x4cb3a2;if(_0x3eccac[_0x3a055c(0x388)])return;if(_0x3eccac['appliedStrokeWidth']!==null&&(_0x3eccac['element']['style'][_0x3a055c(0x1f0)](_0x3a055c(0x48f))!==_0x3eccac[_0x3a055c(0x44e)]||_0x3eccac[_0x3a055c(0x3bf)][_0x3a055c(0x25c)]['getPropertyPriority'](_0x3a055c(0x48f))!==_0x3eccac[_0x3a055c(0x471)][_0x3a055c(0x24e)])){_0x3eccac[_0x3a055c(0x44e)]=null,_0x3eccac[_0x3a055c(0x388)]=!0x0;return;}let _0x54e575=_0x3eccac[_0x3a055c(0x210)]*_0xb13482/_0x32bdfc,_0x454d26=Number(_0x54e575[_0x3a055c(0x46c)](0xc))+'px';_0x3eccac[_0x3a055c(0x3bf)][_0x3a055c(0x25c)][_0x3a055c(0x295)](_0x3a055c(0x48f),_0x454d26,_0x3eccac[_0x3a055c(0x471)]['priority']),_0x3eccac['appliedStrokeWidth']=_0x454d26;});},_0x32401f=_0x4bd17f[_0x31a582(0x2c7)]();_0x421d26(_0x32401f['width'],_0x32401f[_0x31a582(0x426)]);let _0x530dae=typeof ResizeObserver>'u'?null:new ResizeObserver(_0x484d32=>{const _0x378481=_0x31a582;if(_0x484d32['some'](_0x172155=>_0x172155[_0x378481(0x1b0)]===_0x4bd17f)){let _0x254e99=_0x4bd17f[_0x378481(0x2c7)]();_0x421d26(_0x254e99[_0x378481(0x326)],_0x254e99[_0x378481(0x426)]);}});return _0x530dae==null||_0x530dae[_0x31a582(0x2f5)](_0x4bd17f),()=>{const _0x5714e7=_0x31a582;_0x530dae==null||_0x530dae[_0x5714e7(0x35e)](),_0xc7a5c5['forEach'](_0xeeb14f=>{const _0x18dae6=_0x5714e7;_0xeeb14f[_0x18dae6(0x44e)]!==null&&(_0x2c75ee(_0xeeb14f[_0x18dae6(0x3bf)][_0x18dae6(0x25c)],_0x18dae6(0x48f),_0xeeb14f[_0x18dae6(0x44e)],_0xeeb14f[_0x18dae6(0x471)][_0x18dae6(0x24e)],_0xeeb14f[_0x18dae6(0x471)]),!_0xeeb14f[_0x18dae6(0x3b8)]&&_0xeeb14f['element'][_0x18dae6(0x25c)][_0x18dae6(0x168)]===0x0&&_0xeeb14f[_0x18dae6(0x3bf)]['removeAttribute'](_0x18dae6(0x25c)));});};}function _0x43f8c1(_0x40c0e7,_0xc6abf2){const _0x1d870a=_0x114ef7;return{'priority':_0x40c0e7[_0x1d870a(0x2e1)](_0xc6abf2),'value':_0x40c0e7[_0x1d870a(0x1f0)](_0xc6abf2)};}function _0x2c75ee(_0x2c8551,_0x20ffd1,_0x383aae,_0x55c964,_0x183454){const _0x3dc975=_0x114ef7;_0x2c8551['getPropertyValue'](_0x20ffd1)===_0x383aae&&_0x2c8551['getPropertyPriority'](_0x20ffd1)===_0x55c964&&(_0x183454['value']?_0x2c8551[_0x3dc975(0x295)](_0x20ffd1,_0x183454[_0x3dc975(0x455)],_0x183454[_0x3dc975(0x24e)]):_0x2c8551[_0x3dc975(0x24f)](_0x20ffd1));}_0xad63d0[_0x114ef7(0x44b)]=_0x114ef7(0x13c);let _0x323579={'tag':_0x114ef7(0x403),'attrs':{'xmlns':_0x114ef7(0x2ef),'fill':_0x114ef7(0x175),'viewBox':_0x114ef7(0x331),'width':_0x114ef7(0x47a),'height':_0x114ef7(0x47a)},'children':[{'tag':_0x114ef7(0x2bb),'attrs':{'fill':'currentColor','d':_0x114ef7(0x2eb),'fillRule':_0x114ef7(0x1f8),'clipRule':_0x114ef7(0x1f8)}},{'tag':_0x114ef7(0x2bb),'attrs':{'fill':_0x114ef7(0x4c8),'d':_0x114ef7(0x2d0),'fillRule':'evenodd','clipRule':_0x114ef7(0x1f8)}},{'tag':_0x114ef7(0x2bb),'attrs':{'fill':_0x114ef7(0x4c8),'d':_0x114ef7(0x451),'fillRule':_0x114ef7(0x1f8),'clipRule':_0x114ef7(0x1f8)}}]},_0x17c436=(0x0,_0x34b88b['forwardRef'])(function(_0x1b9860,_0x2fa98b){const _0x5622a1=_0x114ef7;return(0x0,_0x34b88b[_0x5622a1(0x1c0)])(_0xad63d0,Object[_0x5622a1(0x4cc)]({},_0x1b9860,{'id':_0x5622a1(0x438),'ref':_0x2fa98b,'icon':_0x323579}));});_0x17c436[_0x114ef7(0x44b)]='AlignBottomIcon';let _0xa3c521={'tag':_0x114ef7(0x403),'attrs':{'xmlns':_0x114ef7(0x2ef),'fill':_0x114ef7(0x175),'viewBox':_0x114ef7(0x331),'width':'1em','height':_0x114ef7(0x47a)},'children':[{'tag':_0x114ef7(0x2bb),'attrs':{'fill':_0x114ef7(0x4c8),'d':_0x114ef7(0x23c)}},{'tag':_0x114ef7(0x2bb),'attrs':{'fill':_0x114ef7(0x4c8),'d':_0x114ef7(0x3d5)}},{'tag':_0x114ef7(0x2bb),'attrs':{'fill':'currentColor','d':_0x114ef7(0x3ff)}},{'tag':_0x114ef7(0x2bb),'attrs':{'fill':_0x114ef7(0x4c8),'d':_0x114ef7(0x404)}}]},_0x3b05cb=(0x0,_0x34b88b[_0x114ef7(0x408)])(function(_0x1775c3,_0x4d28c1){const _0x735cac=_0x114ef7;return(0x0,_0x34b88b[_0x735cac(0x1c0)])(_0xad63d0,Object[_0x735cac(0x4cc)]({},_0x1775c3,{'id':_0x735cac(0x491),'ref':_0x4d28c1,'icon':_0xa3c521}));});_0x3b05cb[_0x114ef7(0x44b)]=_0x114ef7(0x12b);let _0x52705f={'tag':_0x114ef7(0x403),'attrs':{'xmlns':_0x114ef7(0x2ef),'fill':_0x114ef7(0x175),'viewBox':_0x114ef7(0x331),'width':_0x114ef7(0x47a),'height':_0x114ef7(0x47a)},'children':[{'tag':'path','attrs':{'fill':'currentColor','d':_0x114ef7(0x285)}},{'tag':_0x114ef7(0x2bb),'attrs':{'fill':_0x114ef7(0x4c8),'d':_0x114ef7(0x4ab)}}]},_0x1ba72f=(0x0,_0x34b88b['forwardRef'])(function(_0xe1482,_0x5d402f){const _0x2a24a1=_0x114ef7;return(0x0,_0x34b88b[_0x2a24a1(0x1c0)])(_0xad63d0,Object[_0x2a24a1(0x4cc)]({},_0xe1482,{'id':_0x2a24a1(0x50c),'ref':_0x5d402f,'icon':_0x52705f}));});_0x1ba72f[_0x114ef7(0x44b)]=_0x114ef7(0x298);let _0x43c385={'tag':'svg','attrs':{'xmlns':_0x114ef7(0x2ef),'fill':'none','viewBox':_0x114ef7(0x331),'width':'1em','height':'1em'},'children':[{'tag':_0x114ef7(0x2bb),'attrs':{'fill':_0x114ef7(0x4c8),'d':_0x114ef7(0x1c2),'fillRule':_0x114ef7(0x1f8),'clipRule':_0x114ef7(0x1f8)}}]},_0x3694f3=(0x0,_0x34b88b['forwardRef'])(function(_0x1f85ad,_0x98229c){const _0x4fe9f2=_0x114ef7;return(0x0,_0x34b88b[_0x4fe9f2(0x1c0)])(_0xad63d0,Object[_0x4fe9f2(0x4cc)]({},_0x1f85ad,{'id':_0x4fe9f2(0x164),'ref':_0x98229c,'icon':_0x43c385}));});_0x3694f3[_0x114ef7(0x44b)]=_0x114ef7(0x442);let _0x3fb52b={'tag':'svg','attrs':{'xmlns':_0x114ef7(0x2ef),'fill':'none','viewBox':_0x114ef7(0x331),'width':_0x114ef7(0x47a),'height':_0x114ef7(0x47a)},'children':[{'tag':_0x114ef7(0x2bb),'attrs':{'fill':_0x114ef7(0x4c8),'d':_0x114ef7(0x23c)}},{'tag':'path','attrs':{'fill':_0x114ef7(0x4c8),'d':_0x114ef7(0x4fe)}},{'tag':_0x114ef7(0x2bb),'attrs':{'fill':_0x114ef7(0x4c8),'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':'path','attrs':{'fill':'currentColor','d':_0x114ef7(0x23f)}}]},_0x3a29af=(0x0,_0x34b88b[_0x114ef7(0x408)])(function(_0x4773f0,_0x4b0b45){const _0x13b51c=_0x114ef7;return(0x0,_0x34b88b[_0x13b51c(0x1c0)])(_0xad63d0,Object[_0x13b51c(0x4cc)]({},_0x4773f0,{'id':_0x13b51c(0x17b),'ref':_0x4b0b45,'icon':_0x3fb52b}));});_0x3a29af[_0x114ef7(0x44b)]=_0x114ef7(0x289);let _0x310c91={'tag':_0x114ef7(0x403),'attrs':{'xmlns':_0x114ef7(0x2ef),'fill':_0x114ef7(0x175),'viewBox':'0\x200\x2016\x2016','width':_0x114ef7(0x47a),'height':'1em'},'children':[{'tag':'path','attrs':{'fill':_0x114ef7(0x4c8),'d':_0x114ef7(0x12e)}}]},_0x57beec=(0x0,_0x34b88b[_0x114ef7(0x408)])(function(_0x5030d9,_0x46cf4b){const _0x1408f8=_0x114ef7;return(0x0,_0x34b88b[_0x1408f8(0x1c0)])(_0xad63d0,Object['assign']({},_0x5030d9,{'id':_0x1408f8(0x3db),'ref':_0x46cf4b,'icon':_0x310c91}));});_0x57beec[_0x114ef7(0x44b)]='ItalicIcon';let _0x369653={'tag':'svg','attrs':{'xmlns':_0x114ef7(0x2ef),'fill':_0x114ef7(0x175),'viewBox':_0x114ef7(0x331),'width':_0x114ef7(0x47a),'height':_0x114ef7(0x47a)},'children':[{'tag':'path','attrs':{'fill':'currentColor','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':_0x114ef7(0x2bb),'attrs':{'fill':_0x114ef7(0x4c8),'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':_0x114ef7(0x2bb),'attrs':{'fill':_0x114ef7(0x4c8),'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':_0x114ef7(0x2bb),'attrs':{'fill':_0x114ef7(0x4c8),'d':'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'}}]},_0x3ef686=(0x0,_0x34b88b['forwardRef'])(function(_0x294e8d,_0xf1dc36){const _0x15f39c=_0x114ef7;return(0x0,_0x34b88b[_0x15f39c(0x1c0)])(_0xad63d0,Object[_0x15f39c(0x4cc)]({},_0x294e8d,{'id':_0x15f39c(0x2f8),'ref':_0xf1dc36,'icon':_0x369653}));});_0x3ef686[_0x114ef7(0x44b)]=_0x114ef7(0x381);let _0x743b7b={'tag':_0x114ef7(0x403),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':'none','viewBox':'0\x200\x2016\x2016','width':'1em','height':_0x114ef7(0x47a)},'children':[{'tag':'path','attrs':{'fill':'currentColor','d':_0x114ef7(0x2a7)}},{'tag':_0x114ef7(0x2bb),'attrs':{'fill':_0x114ef7(0x4c8),'d':_0x114ef7(0x505)}},{'tag':_0x114ef7(0x2bb),'attrs':{'fill':_0x114ef7(0x4c8),'d':'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'}}]},_0x127dee=(0x0,_0x34b88b[_0x114ef7(0x408)])(function(_0x4fa5a3,_0x5197a9){const _0x523507=_0x114ef7;return(0x0,_0x34b88b[_0x523507(0x1c0)])(_0xad63d0,Object['assign']({},_0x4fa5a3,{'id':'more-horizontal-icon','ref':_0x5197a9,'icon':_0x743b7b}));});_0x127dee[_0x114ef7(0x44b)]='MoreHorizontalIcon';let _0x4f859f={'tag':'svg','attrs':{'xmlns':_0x114ef7(0x2ef),'fill':_0x114ef7(0x175),'viewBox':_0x114ef7(0x331),'width':_0x114ef7(0x47a),'height':_0x114ef7(0x47a)},'children':[{'tag':_0x114ef7(0x2bb),'attrs':{'fill':_0x114ef7(0x4c8),'d':_0x114ef7(0x23c)}},{'tag':_0x114ef7(0x2bb),'attrs':{'fill':'currentColor','d':_0x114ef7(0x3c4)}},{'tag':_0x114ef7(0x2bb),'attrs':{'fill':'currentColor','d':_0x114ef7(0x3ff)}},{'tag':_0x114ef7(0x2bb),'attrs':{'fill':_0x114ef7(0x4c8),'d':_0x114ef7(0x185)}}]},_0x18da81=(0x0,_0x34b88b[_0x114ef7(0x408)])(function(_0x5cbdaa,_0x3dc639){const _0x46f3f9=_0x114ef7;return(0x0,_0x34b88b[_0x46f3f9(0x1c0)])(_0xad63d0,Object['assign']({},_0x5cbdaa,{'id':'right-justifying-icon','ref':_0x3dc639,'icon':_0x4f859f}));});_0x18da81[_0x114ef7(0x44b)]=_0x114ef7(0x254);let _0x25a634={'tag':_0x114ef7(0x403),'attrs':{'xmlns':_0x114ef7(0x2ef),'fill':_0x114ef7(0x175),'viewBox':_0x114ef7(0x331),'width':_0x114ef7(0x47a),'height':_0x114ef7(0x47a)},'children':[{'tag':'path','attrs':{'fill':_0x114ef7(0x4c8),'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':_0x114ef7(0x1f8),'clipRule':_0x114ef7(0x1f8)}}]},_0x4778fb=(0x0,_0x34b88b['forwardRef'])(function(_0x49f34a,_0x1f7a0b){const _0x4b6e90=_0x114ef7;return(0x0,_0x34b88b['createElement'])(_0xad63d0,Object[_0x4b6e90(0x4cc)]({},_0x49f34a,{'id':_0x4b6e90(0x373),'ref':_0x1f7a0b,'icon':_0x25a634}));});_0x4778fb[_0x114ef7(0x44b)]=_0x114ef7(0x35c);let _0x330b13={'tag':_0x114ef7(0x403),'attrs':{'xmlns':_0x114ef7(0x2ef),'fill':_0x114ef7(0x175),'viewBox':_0x114ef7(0x349),'width':'1em','height':'1em'},'children':[{'tag':'path','attrs':{'stroke':_0x114ef7(0x4c8),'d':_0x114ef7(0x3ef),'strokeLinecap':_0x114ef7(0x129),'strokeWidth':1.6}}]},_0x31a5df=(0x0,_0x34b88b[_0x114ef7(0x408)])(function(_0x139d3b,_0x2b7697){const _0x19568c=_0x114ef7;return(0x0,_0x34b88b['createElement'])(_0xad63d0,Object[_0x19568c(0x4cc)]({},_0x139d3b,{'id':'shape-line-icon','ref':_0x2b7697,'icon':_0x330b13}));});_0x31a5df['displayName']=_0x114ef7(0x27f);let _0x2523f5={'tag':_0x114ef7(0x403),'attrs':{'xmlns':_0x114ef7(0x2ef),'fill':_0x114ef7(0x175),'viewBox':_0x114ef7(0x331),'width':_0x114ef7(0x47a),'height':_0x114ef7(0x47a)},'children':[{'tag':_0x114ef7(0x2bb),'attrs':{'fill':_0x114ef7(0x4c8),'d':_0x114ef7(0x421)}},{'tag':'path','attrs':{'fill':'currentColor','d':'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'}}]},_0x488be7=(0x0,_0x34b88b['forwardRef'])(function(_0x255cae,_0x5593a8){const _0x4b1fd5=_0x114ef7;return(0x0,_0x34b88b[_0x4b1fd5(0x1c0)])(_0xad63d0,Object[_0x4b1fd5(0x4cc)]({},_0x255cae,{'id':_0x4b1fd5(0x2ea),'ref':_0x5593a8,'icon':_0x2523f5}));});_0x488be7[_0x114ef7(0x44b)]='StrikethroughIcon';let _0x55ad8c={'tag':_0x114ef7(0x403),'attrs':{'xmlns':_0x114ef7(0x2ef),'fill':'none','viewBox':_0x114ef7(0x331),'width':'1em','height':_0x114ef7(0x47a)},'children':[{'tag':_0x114ef7(0x2bb),'attrs':{'fill':_0x114ef7(0x4c8),'d':_0x114ef7(0x425)}},{'tag':_0x114ef7(0x2bb),'attrs':{'fill':_0x114ef7(0x4c8),'d':_0x114ef7(0x121)}}]},_0x268164=(0x0,_0x34b88b[_0x114ef7(0x408)])(function(_0x577292,_0x5c71cb){const _0x13ef23=_0x114ef7;return(0x0,_0x34b88b[_0x13ef23(0x1c0)])(_0xad63d0,Object['assign']({},_0x577292,{'id':'underline-icon','ref':_0x5c71cb,'icon':_0x55ad8c}));});_0x268164['displayName']='UnderlineIcon';let _0x3aa59e={'tag':_0x114ef7(0x403),'attrs':{'xmlns':_0x114ef7(0x2ef),'fill':'none','viewBox':_0x114ef7(0x331),'width':_0x114ef7(0x47a),'height':_0x114ef7(0x47a)},'children':[{'tag':_0x114ef7(0x2bb),'attrs':{'fill':_0x114ef7(0x4c8),'d':_0x114ef7(0x2af)}},{'tag':_0x114ef7(0x2bb),'attrs':{'fill':_0x114ef7(0x4c8),'d':'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'}},{'tag':_0x114ef7(0x2bb),'attrs':{'fill':_0x114ef7(0x4c8),'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'}}]},_0x4e3e95=(0x0,_0x34b88b[_0x114ef7(0x408)])(function(_0xb6ff6a,_0x5544ac){const _0x9a3160=_0x114ef7;return(0x0,_0x34b88b[_0x9a3160(0x1c0)])(_0xad63d0,Object[_0x9a3160(0x4cc)]({},_0xb6ff6a,{'id':_0x9a3160(0x283),'ref':_0x5544ac,'icon':_0x3aa59e}));});_0x4e3e95['displayName']=_0x114ef7(0x241);let _0x36de55=class extends _0x4aaeb9[_0x114ef7(0x13a)]{constructor(_0x346947,_0x3101de,_0x552bbc,_0x564faf,_0x5c368e,_0x581190,_0x33a230,_0x52bbcc,_0x52ca20){const _0x340595=_0x114ef7;super(),this['renderContext']=_0x346947,this['commandService']=_0x3101de,this[_0x340595(0x22e)]=_0x552bbc,this[_0x340595(0x15f)]=_0x564faf,this[_0x340595(0x37c)]=_0x5c368e,this[_0x340595(0x40b)]=_0x581190,this[_0x340595(0x196)]=_0x33a230,this[_0x340595(0x481)]=_0x52bbcc,this[_0x340595(0x1f6)]=_0x52ca20;}};_0x36de55=_0x41c154([_0x27e70d(0x1,_0x4aaeb9['ICommandService']),_0x27e70d(0x2,_0x1184a0[_0x114ef7(0x2ad)]),_0x27e70d(0x3,_0x17cb44[_0x114ef7(0x1af)]),_0x27e70d(0x4,_0x17cb44[_0x114ef7(0x358)]),_0x27e70d(0x5,_0x4ecf80[_0x114ef7(0x382)]),_0x27e70d(0x6,_0x5982a1[_0x114ef7(0x23a)]),_0x27e70d(0x7,(0x0,_0x4aaeb9[_0x114ef7(0x1f9)])(_0x4aaeb9[_0x114ef7(0x423)])),_0x27e70d(0x8,(0x0,_0x4aaeb9[_0x114ef7(0x1f9)])(_0x17cb44[_0x114ef7(0x1bd)]))],_0x36de55);let _0x5cd9b2=_0x114ef7(0x29d),_0x382485=_0x114ef7(0x242);function _0x225492(_0x395a8d){const _0x59f05b=_0x114ef7;let {unitId:_0x321124,subUnitId:_0x403020,nodeId:_0x457355,initialDescription:_0xcc0174=''}=_0x395a8d,_0x29340f=(0x0,_0x5982a1['useDependency'])(_0x4aaeb9[_0x59f05b(0x153)]),_0xaf397d=(0x0,_0x5982a1[_0x59f05b(0x45a)])(_0x5982a1[_0x59f05b(0x23a)]),_0x2d0bee=(0x0,_0x5982a1[_0x59f05b(0x45a)])(_0x4aaeb9[_0x59f05b(0x423)]),[_0x5ba3c0,_0x4324c6]=(0x0,_0x34b88b[_0x59f05b(0x22b)])(_0xcc0174),_0xbaa458=()=>_0xaf397d[_0x59f05b(0x238)](_0x382485);return(0x0,_0x544d30[_0x59f05b(0x317)])(_0x59f05b(0x4cf),{'className':_0x59f05b(0x346),'data-board-mind-map-description-dialog':_0x59f05b(0x13e),'children':[(0x0,_0x544d30[_0x59f05b(0x317)])(_0x59f05b(0x402),{'className':_0x59f05b(0x469),'children':[(0x0,_0x544d30[_0x59f05b(0x245)])(_0x59f05b(0x43f),{'className':_0x59f05b(0x1ec),'children':_0x2d0bee['t'](_0x59f05b(0x477))}),(0x0,_0x544d30[_0x59f05b(0x245)])(_0x16270c[_0x59f05b(0x520)],{'autoFocus':!0x0,'className':_0x59f05b(0x47e),'placeholder':_0x2d0bee['t'](_0x59f05b(0x191)),'value':_0x5ba3c0,'onValueChange':_0x4324c6})]}),(0x0,_0x544d30['jsxs'])(_0x59f05b(0x4cf),{'className':_0x59f05b(0x51f),'children':[(0x0,_0x544d30['jsx'])(_0x16270c[_0x59f05b(0x347)],{'size':_0x59f05b(0x249),'variant':'default','onClick':_0xbaa458,'children':_0x2d0bee['t'](_0x59f05b(0x4ec))}),(0x0,_0x544d30[_0x59f05b(0x245)])(_0x16270c[_0x59f05b(0x347)],{'size':_0x59f05b(0x249),'variant':_0x59f05b(0x3da),'onClick':()=>{const _0x497827=_0x59f05b;_0x29340f[_0x497827(0x32b)](_0x4ecf80[_0x497827(0x343)]['id'],{'unitId':_0x321124,'subUnitId':_0x403020,'nodeId':_0x457355,'foreignAttributes':{'_note':_0x5ba3c0[_0x497827(0x246)]()?_0x5ba3c0:null}}),_0xbaa458();},'children':_0x2d0bee['t'](_0x59f05b(0x521))})]})]});}let _0x49313e=_0x114ef7(0x34b),_0x2a3905='FOCUSING_MIND_MAP_NODE',_0x156861=_0x114ef7(0x330),_0x40f562={'copy':_0x17cb44[_0x114ef7(0x2f0)][_0x114ef7(0x4ff)],'paste':_0x17cb44[_0x114ef7(0x2f0)]['paste'],'paste-as-new':_0x17cb44[_0x114ef7(0x2f0)]['paste'],'add-child':_0x17cb44[_0x114ef7(0x2f0)][_0x114ef7(0x433)],'add-sibling-or-child':_0x17cb44['BOARD_SHORTCUT_BINDINGS'][_0x114ef7(0x2b9)],'promote':_0x17cb44[_0x114ef7(0x2f0)][_0x114ef7(0x4f1)],'toggle-collapse':_0x17cb44['BOARD_SHORTCUT_BINDINGS'][_0x114ef7(0x49d)],'collapse-all':_0x17cb44[_0x114ef7(0x2f0)][_0x114ef7(0x156)],'edit-text':_0x17cb44[_0x114ef7(0x2f0)][_0x114ef7(0x3a4)],'open-description':_0x17cb44[_0x114ef7(0x2f0)]['addDescription'],'delete':_0x5982a1[_0x114ef7(0x4a0)]['DELETE'],'arrow-left':_0x5982a1['KeyCode'][_0x114ef7(0x1d5)],'arrow-right':_0x5982a1[_0x114ef7(0x4a0)]['ARROW_RIGHT'],'arrow-up':_0x5982a1[_0x114ef7(0x4a0)]['ARROW_UP'],'arrow-down':_0x5982a1[_0x114ef7(0x4a0)][_0x114ef7(0x492)]},_0x2d5b69={'delete':[_0x5982a1[_0x114ef7(0x4a0)][_0x114ef7(0x1be)]]};function _0x465cb9(_0x313db9){return[_0x40f562[_0x313db9],..._0x2d5b69[_0x313db9]??[]];}let _0x557c3d=class extends _0x4aaeb9['RxDisposable']{constructor(_0x29d128,_0x348f71,_0x38ae87,_0x3bbf98){const _0x5d16a5=_0x114ef7;super(),this[_0x5d16a5(0x4dd)]=_0x29d128,this[_0x5d16a5(0x3dc)]=_0x348f71,this[_0x5d16a5(0x4ee)]=_0x38ae87,this[_0x5d16a5(0x4df)]=_0x3bbf98,this[_0x5d16a5(0x3d8)]();}[_0x114ef7(0x3d8)](){const _0x5810e4=_0x114ef7;this['disposeWithMe'](this[_0x5810e4(0x3dc)][_0x5810e4(0x35f)](this['_createKeyboardShortcutOperation']())),this[_0x5810e4(0x1fe)]()[_0x5810e4(0x413)](_0x4e4ee7=>{const _0x340a9f=_0x5810e4;this[_0x340a9f(0x329)](this[_0x340a9f(0x4ee)][_0x340a9f(0x311)](_0x4e4ee7));});}[_0x114ef7(0x4f7)](){return{'id':_0x49313e,'type':_0x4aaeb9['CommandType']['OPERATION'],'handler':(_0x4181a5,_0x100916,_0x53ff7e)=>{const _0x50029f=_0x41da;let _0x4c5f4a=_0x353af3(_0x4181a5,_0x53ff7e);return _0x4c5f4a?this[_0x50029f(0x17d)](_0x4c5f4a,_0x100916==null?void 0x0:_0x100916[_0x50029f(0x3ad)]):!0x1;}};}[_0x114ef7(0x1fe)](){const _0x300629=_0x114ef7;let _0x4c224d=(_0x117373,_0x10e08d)=>({'id':_0x49313e,'binding':_0x117373,'priority':0xa0,'preconditions':_0x220858=>(0x0,_0x17cb44[_0x300629(0x2ed)])(_0x220858)&&!!_0x220858[_0x300629(0x21b)](_0x300629(0x2fb)),'staticParameters':{'action':_0x10e08d}}),_0x3d3957=_0x3897e5=>_0x465cb9(_0x3897e5)[_0x300629(0x1c1)](_0x1a8f95=>_0x4c224d(_0x1a8f95,_0x3897e5));return[..._0x3d3957(_0x300629(0x4ff)),{'id':_0x49313e,'binding':_0x40f562[_0x300629(0x1f4)],'priority':0xa0,'preconditions':_0x2a94e2=>(0x0,_0x17cb44[_0x300629(0x2ed)])(_0x2a94e2)&&!!this[_0x300629(0x4dd)][_0x300629(0x4c6)]()&&!!_0x2a94e2[_0x300629(0x21b)](_0x300629(0x2fb)),'staticParameters':{'action':_0x300629(0x1f4)}},{'id':_0x49313e,'binding':_0x40f562[_0x300629(0x3e5)],'priority':0x96,'preconditions':_0x5c5525=>(0x0,_0x17cb44['isBoardShortcutAvailable'])(_0x5c5525)&&!!this['_mindMapClipboardService'][_0x300629(0x4c6)]()&&!!_0x5c5525[_0x300629(0x21b)]('FOCUSING_MIND_MAP_BLANK_BOARD'),'staticParameters':{'action':'paste-as-new'}},..._0x3d3957('add-child'),..._0x3d3957(_0x300629(0x391)),..._0x3d3957(_0x300629(0x1ef)),..._0x3d3957(_0x300629(0x363)),..._0x3d3957(_0x300629(0x174)),..._0x3d3957('edit-text'),..._0x3d3957('open-description'),..._0x3d3957(_0x300629(0x3c7)),..._0x3d3957('arrow-left'),..._0x3d3957(_0x300629(0x20c)),..._0x3d3957(_0x300629(0x338)),..._0x3d3957(_0x300629(0x4d8))];}[_0x114ef7(0x17d)](_0x251c2b,_0x5b93dc){const _0x4bcfd9=_0x114ef7;return _0x251c2b[_0x4bcfd9(0x37c)]['getState']()[_0x4bcfd9(0x1a9)]==='viewing'&&_0x5b93dc!==_0x4bcfd9(0x4ff)?!0x1:_0x5b93dc==='copy'?this[_0x4bcfd9(0x3ee)](_0x251c2b):_0x5b93dc===_0x4bcfd9(0x1f4)?this[_0x4bcfd9(0x21a)](_0x251c2b):_0x5b93dc==='paste-as-new'?this['_pasteAsNewMindMap'](_0x251c2b):_0x5b93dc===_0x4bcfd9(0x3f7)?this['_addChild'](_0x251c2b):_0x5b93dc==='add-sibling-or-child'?this[_0x4bcfd9(0x193)](_0x251c2b):_0x5b93dc===_0x4bcfd9(0x1ef)?this[_0x4bcfd9(0x15a)](_0x251c2b,_0x4ecf80[_0x4bcfd9(0x46f)]['id']):_0x5b93dc===_0x4bcfd9(0x363)?this[_0x4bcfd9(0x15a)](_0x251c2b,_0x4ecf80[_0x4bcfd9(0x4c4)]['id']):_0x5b93dc===_0x4bcfd9(0x174)?this[_0x4bcfd9(0x398)](_0x251c2b):_0x5b93dc===_0x4bcfd9(0x46b)?this[_0x4bcfd9(0x2ff)](_0x251c2b):_0x5b93dc===_0x4bcfd9(0x142)?this[_0x4bcfd9(0x2d3)](_0x251c2b):_0x5b93dc===_0x4bcfd9(0x3c7)?this[_0x4bcfd9(0x2a6)](_0x251c2b):_0x5b93dc&&_0xa4d0b0(_0x5b93dc)?this[_0x4bcfd9(0x384)](_0x251c2b,_0x5b93dc):!0x1;}[_0x114ef7(0x3ee)](_0x223540){const _0x252aa6=_0x114ef7;let _0x2bca96=this[_0x252aa6(0x490)](_0x223540);return _0x2bca96?(_0x223540[_0x252aa6(0x3d7)][_0x252aa6(0x32b)](_0x4ecf80['CopyMindMapNodeOperation']['id'],{'unitId':_0x2bca96[_0x252aa6(0x48b)],'subUnitId':_0x2bca96[_0x252aa6(0x4ae)],'nodeId':_0x2bca96[_0x252aa6(0x466)]}),!0x0):!0x1;}[_0x114ef7(0x21a)](_0x456e28){const _0x48b81a=_0x114ef7;let _0x5ea263=this['_getSelectedMindMapContext'](_0x456e28);return!_0x5ea263||!_0x456e28[_0x48b81a(0x40b)][_0x48b81a(0x4c6)]()?!0x1:(this[_0x48b81a(0x143)](_0x456e28,_0x4ecf80[_0x48b81a(0x2f1)]['id'],{'unitId':_0x5ea263[_0x48b81a(0x48b)],'subUnitId':_0x5ea263['subUnitId'],'targetNodeId':_0x5ea263[_0x48b81a(0x466)]},_0x5ea263[_0x48b81a(0x31e)]),!0x0);}['_pasteAsNewMindMap'](_0x1d449d){const _0x3da568=_0x114ef7;let _0x25f67e=this[_0x3da568(0x2f7)](_0x1d449d);if(!_0x25f67e||!_0x1d449d[_0x3da568(0x40b)][_0x3da568(0x4c6)]())return!0x1;let _0x1e1fbb=_0x1d449d[_0x3da568(0x37c)]['getState'](),_0x69a7f6=Number[_0x3da568(0x236)](_0x1e1fbb[_0x3da568(0x4c1)])&&_0x1e1fbb['zoomRatio']>0x0?_0x1e1fbb['zoomRatio']:0x1,_0xf09317=Math['round']((0x40-_0x1e1fbb['viewportPanOffset']['x'])/_0x69a7f6),_0x127ad3=Math[_0x3da568(0x129)]((0x40-_0x1e1fbb[_0x3da568(0x355)]['y'])/_0x69a7f6);return _0x1d449d[_0x3da568(0x3d7)][_0x3da568(0x32b)](_0x4ecf80['PasteMindMapAsNewMindMapOperation']['id'],{'unitId':_0x25f67e[_0x3da568(0x48b)],'subUnitId':_0x25f67e[_0x3da568(0x4ae)],'left':_0xf09317,'top':_0x127ad3}),!0x0;}['_addChild'](_0x36ca4b){const _0x2a714d=_0x114ef7;let _0x326731=this[_0x2a714d(0x490)](_0x36ca4b);if(!_0x326731)return!0x1;let _0x418228=(0x0,_0x4aaeb9[_0x2a714d(0x3e0)])(0x6);return this['_executeCreateAndEdit'](_0x36ca4b,_0x4ecf80[_0x2a714d(0x1fc)]['id'],{'unitId':_0x326731[_0x2a714d(0x48b)],'subUnitId':_0x326731[_0x2a714d(0x4ae)],'parentNodeId':_0x326731['nodeId'],'nodeId':_0x418228,'connectorId':(0x0,_0x4aaeb9[_0x2a714d(0x3e0)])(0x6),'text':_0x36ca4b[_0x2a714d(0x481)]['t'](_0x2a714d(0x25b))},_0x326731[_0x2a714d(0x31e)],_0x418228),!0x0;}[_0x114ef7(0x193)](_0x5cf969){const _0x3a9316=_0x114ef7;let _0x3476da=this[_0x3a9316(0x490)](_0x5cf969);if(!_0x3476da)return!0x1;let _0x24e066=(0x0,_0x4aaeb9[_0x3a9316(0x3e0)])(0x6);return this[_0x3a9316(0x3f3)](_0x5cf969,_0x3476da[_0x3a9316(0x4c3)]?_0x4ecf80[_0x3a9316(0x1fc)]['id']:_0x4ecf80[_0x3a9316(0x2d4)]['id'],{'unitId':_0x3476da['unitId'],'subUnitId':_0x3476da[_0x3a9316(0x4ae)],..._0x3476da[_0x3a9316(0x4c3)]?{'parentNodeId':_0x3476da[_0x3a9316(0x466)],'nodeId':_0x24e066}:{'nodeId':_0x3476da[_0x3a9316(0x466)],'siblingNodeId':_0x24e066},'connectorId':(0x0,_0x4aaeb9['generateRandomId'])(0x6),'text':_0x5cf969[_0x3a9316(0x481)]['t'](_0x3a9316(0x25b))},_0x3476da[_0x3a9316(0x31e)],_0x24e066),!0x0;}['_executeNodeOperation'](_0x420be7,_0x3a77b3){const _0x5128ec=_0x114ef7;let _0x16d364=this[_0x5128ec(0x490)](_0x420be7);return _0x16d364?(this[_0x5128ec(0x143)](_0x420be7,_0x3a77b3,{'unitId':_0x16d364[_0x5128ec(0x48b)],'subUnitId':_0x16d364[_0x5128ec(0x4ae)],'nodeId':_0x16d364['nodeId']},_0x16d364[_0x5128ec(0x31e)]),!0x0):!0x1;}['_deleteSelectedNode'](_0x11766d){const _0x546df9=_0x114ef7;let _0xdea04d=this[_0x546df9(0x490)](_0x11766d);if(!_0xdea04d)return!0x1;let _0x275b76=_0x11766d['commandService'][_0x546df9(0x1d9)](_0x4ecf80['DeleteMindMapNodeOperation']['id'],{'unitId':_0xdea04d[_0x546df9(0x48b)],'subUnitId':_0xdea04d[_0x546df9(0x4ae)],'nodeId':_0xdea04d['nodeId']});return _0x275b76&&_0x11766d[_0x546df9(0x15f)][_0x546df9(0x3d3)](),_0x275b76;}[_0x114ef7(0x398)](_0x51ab1e){const _0xbe2d63=_0x114ef7;let _0x3a4329=this[_0xbe2d63(0x490)](_0x51ab1e);if(!_0x3a4329)return!0x1;let _0x410953=_0x51ab1e[_0xbe2d63(0x22e)]['getElementData'](_0x3a4329['unitId'],_0x3a4329['subUnitId']),_0x22d310=Object[_0xbe2d63(0x25a)](_0x410953)[_0xbe2d63(0x1c1)](_0x57eb00=>{const _0x35e413=_0xbe2d63;let _0x2b9ffd=(0x0,_0x4ecf80[_0x35e413(0x135)])(_0x57eb00[_0x35e413(0x3bf)]);return(_0x2b9ffd==null?void 0x0:_0x2b9ffd[_0x35e413(0x359)])===_0x3a4329['scopeId']&&this[_0x35e413(0x140)](_0x410953,_0x3a4329[_0x35e413(0x31e)],_0x57eb00['elementId'])['length']>0x0?{'nodeId':_0x57eb00[_0x35e413(0x17e)],'collapsed':_0x2b9ffd[_0x35e413(0x146)]}:null;})['filter'](_0x4010fd=>!!_0x4010fd);if(_0x22d310[_0xbe2d63(0x168)]===0x0)return!0x1;let _0x1568c0=_0x22d310['some'](_0x195c5f=>!_0x195c5f[_0xbe2d63(0x146)]),_0x245069=_0x51ab1e[_0xbe2d63(0x3d7)],_0x28557f=this[_0xbe2d63(0x4df)]['createRunner'](_0x3a4329['unitId']),_0x14018a=_0x22d310[_0xbe2d63(0x1c1)](_0x2dd690=>_0x28557f(()=>_0x245069[_0xbe2d63(0x32b)](_0x4ecf80[_0xbe2d63(0x4c4)]['id'],{'unitId':_0x3a4329['unitId'],'subUnitId':_0x3a4329['subUnitId'],'nodeId':_0x2dd690['nodeId'],'collapsed':_0x1568c0})));return Promise['all'](_0x14018a[_0xbe2d63(0x1c1)](_0xb1bdcb=>Promise['resolve'](_0xb1bdcb)))['then'](_0xefdff9=>{const _0x52a2ee=_0xbe2d63;_0xefdff9[_0x52a2ee(0x36b)](Boolean)&&_0x28557f(()=>_0x245069[_0x52a2ee(0x32b)](_0x4ecf80['LayoutMindMapOperation']['id'],{'unitId':_0x3a4329['unitId'],'subUnitId':_0x3a4329[_0x52a2ee(0x4ae)],'scopeId':_0x3a4329[_0x52a2ee(0x31e)]}));}),!0x0;}['_openSelectedTextEditing'](_0x3fc8ed){const _0x52f316=_0x114ef7;let _0x31e38a=this[_0x52f316(0x490)](_0x3fc8ed);if(!_0x31e38a)return!0x1;_0x3fc8ed['elementStateService'][_0x52f316(0x273)]({'unitId':_0x31e38a[_0x52f316(0x48b)],'subUnitId':_0x31e38a[_0x52f316(0x4ae)]},[_0x31e38a[_0x52f316(0x466)]],_0x31e38a['nodeId']);let _0x5b24fd=_0x3fc8ed[_0x52f316(0x1f6)];return _0x5b24fd[_0x52f316(0x4b0)](),_0x5b24fd[_0x52f316(0x214)]({'unitId':_0x31e38a[_0x52f316(0x48b)],'subUnitId':_0x31e38a[_0x52f316(0x4ae)],'shapeId':_0x31e38a[_0x52f316(0x466)],'shapeKey':(0x0,_0x17cb44[_0x52f316(0x49f)])(_0x31e38a['unitId'],_0x31e38a[_0x52f316(0x466)]),'visible':!0x0}),!0x0;}['_openDescriptionDialog'](_0x23cb36){const _0x20c793=_0x114ef7;let _0x53f99e=this[_0x20c793(0x490)](_0x23cb36);return _0x53f99e?(_0x23cb36['dialogService'][_0x20c793(0x1e5)]({'id':_0x382485,'title':{'title':_0x20c793(0x477)},'width':0x1a4,'draggable':!0x0,'mask':!0x1,'maskClosable':!0x0,'children':{'label':_0x5cd9b2,'unitId':_0x53f99e[_0x20c793(0x48b)],'subUnitId':_0x53f99e[_0x20c793(0x4ae)],'nodeId':_0x53f99e['nodeId'],'initialDescription':_0x53f99e[_0x20c793(0x2b5)]}}),!0x0):!0x1;}['_navigateByTopology'](_0x19027,_0x47165b){const _0x1e2cf2=_0x114ef7;let _0x234ed7=this[_0x1e2cf2(0x490)](_0x19027);if(!_0x234ed7)return!0x1;let _0x278e6b=_0x19027[_0x1e2cf2(0x22e)][_0x1e2cf2(0x294)](_0x234ed7[_0x1e2cf2(0x48b)],_0x234ed7[_0x1e2cf2(0x4ae)]),_0x31c905=_0x278e6b[_0x234ed7['nodeId']],_0x52235e=(0x0,_0x4ecf80[_0x1e2cf2(0x135)])(_0x31c905==null?void 0x0:_0x31c905[_0x1e2cf2(0x3bf)]);if(!_0x31c905||!_0x52235e)return!0x1;let _0xd6d089={'arrow-left':_0x1e2cf2(0x412),'arrow-right':_0x1e2cf2(0x4a5),'arrow-up':_0x1e2cf2(0x218),'arrow-down':'ArrowDown'}[_0x47165b];if(!_0xd6d089)return!0x1;let _0x11891f=this[_0x1e2cf2(0x18d)](_0x278e6b,_0x234ed7['nodeId'],_0x52235e,_0xd6d089);return _0x11891f?(_0x19027[_0x1e2cf2(0x15f)][_0x1e2cf2(0x273)]({'unitId':_0x234ed7[_0x1e2cf2(0x48b)],'subUnitId':_0x234ed7[_0x1e2cf2(0x4ae)]},[_0x11891f],_0x11891f),!0x0):!0x1;}[_0x114ef7(0x18d)](_0x58116d,_0x2c5733,_0x5a526a,_0x35cdff){const _0x5306a7=_0x114ef7;let _0xc01430=this[_0x5306a7(0x140)](_0x58116d,_0x5a526a[_0x5306a7(0x359)],_0x2c5733);if(_0x5a526a[_0x5306a7(0x33d)]===null){if(_0x35cdff===_0x5306a7(0x412)){var _0x41f022;return((_0x41f022=_0xc01430[_0x5306a7(0x511)](_0xbc55e8=>{const _0x17ab21=_0x5306a7;var _0x2f53ac;return((_0x2f53ac=(0x0,_0x4ecf80['getMindMapNodeMeta'])(_0xbc55e8[_0x17ab21(0x3bf)]))==null?void 0x0:_0x2f53ac[_0x17ab21(0x126)])===_0x17ab21(0x4e8);}))==null?void 0x0:_0x41f022['elementId'])??null;}if(_0x35cdff==='ArrowRight'){var _0x4a905f;return((_0x4a905f=_0xc01430[_0x5306a7(0x511)](_0x2997d2=>{const _0x4efc8d=_0x5306a7;var _0x580683;return(((_0x580683=(0x0,_0x4ecf80[_0x4efc8d(0x135)])(_0x2997d2[_0x4efc8d(0x3bf)]))==null?void 0x0:_0x580683[_0x4efc8d(0x126)])??_0x4efc8d(0x34e))===_0x4efc8d(0x34e);}))==null?void 0x0:_0x4a905f[_0x5306a7(0x17e)])??null;}return null;}let _0x525855=_0x5a526a[_0x5306a7(0x126)]??_0x5306a7(0x34e),_0x4732c7=_0x525855==='right'?_0x5306a7(0x412):_0x5306a7(0x4a5),_0xa9c0a6=_0x525855===_0x5306a7(0x34e)?'ArrowRight':_0x5306a7(0x412);if(_0x35cdff===_0x4732c7)return _0x5a526a[_0x5306a7(0x33d)];if(_0x35cdff===_0xa9c0a6){var _0x50fa20;return((_0x50fa20=_0xc01430[0x0])==null?void 0x0:_0x50fa20[_0x5306a7(0x17e)])??null;}if(_0x35cdff===_0x5306a7(0x218)||_0x35cdff==='ArrowDown'){let _0x5cf3f3=this[_0x5306a7(0x140)](_0x58116d,_0x5a526a[_0x5306a7(0x359)],_0x5a526a[_0x5306a7(0x33d)]),_0x1dd31f=_0x5cf3f3[_0x5306a7(0x4fa)](_0x351dc1=>_0x351dc1[_0x5306a7(0x17e)]===_0x2c5733),_0x5497b8=_0x35cdff===_0x5306a7(0x218)?_0x5cf3f3[_0x1dd31f-0x1]:_0x5cf3f3[_0x1dd31f+0x1];return(_0x5497b8==null?void 0x0:_0x5497b8[_0x5306a7(0x17e)])??null;}return null;}['_getMindMapChildren'](_0x1ce2a5,_0x5e4a8a,_0x1620ab){const _0x3d1b4b=_0x114ef7;return Object['values'](_0x1ce2a5)[_0x3d1b4b(0x176)](_0x426412=>{const _0x4f59f3=_0x3d1b4b;let _0x5337c6=(0x0,_0x4ecf80[_0x4f59f3(0x135)])(_0x426412[_0x4f59f3(0x3bf)]);return(_0x5337c6==null?void 0x0:_0x5337c6[_0x4f59f3(0x359)])===_0x5e4a8a&&_0x5337c6[_0x4f59f3(0x33d)]===_0x1620ab&&_0x426412[_0x4f59f3(0x3bf)][_0x4f59f3(0x4a6)]!==!0x1;})[_0x3d1b4b(0x13d)]((_0x2d04c0,_0x21ce3b)=>{const _0x7c231=_0x3d1b4b;let _0x5047bd=(0x0,_0x4ecf80[_0x7c231(0x135)])(_0x2d04c0[_0x7c231(0x3bf)]),_0x3f35dd=(0x0,_0x4ecf80[_0x7c231(0x135)])(_0x21ce3b[_0x7c231(0x3bf)]);return(0x0,_0x4ecf80[_0x7c231(0x1d4)])(_0x5047bd==null?void 0x0:_0x5047bd['orderKey'],_0x3f35dd==null?void 0x0:_0x3f35dd[_0x7c231(0x4d2)])||_0x2d04c0['elementId']['localeCompare'](_0x21ce3b['elementId']);});}[_0x114ef7(0x490)](_0x3a0bc9){const _0x5ce62f=_0x114ef7;var _0x54eb8f;let _0x1a6fb0=_0x3a0bc9[_0x5ce62f(0x15f)][_0x5ce62f(0x319)](),_0x475650=_0x1a6fb0[_0x5ce62f(0x459)]??_0x1a6fb0['selectedIds'][0x0];if(!_0x475650||_0x1a6fb0[_0x5ce62f(0x36e)][_0x5ce62f(0x168)]!==0x1||_0x1a6fb0['activeEditingId']||_0x1a6fb0['isTransforming'])return null;let _0x2503c7=_0x1a6fb0['context']??{'unitId':_0x3a0bc9['renderContext']['unitId'],'subUnitId':_0x3a0bc9[_0x5ce62f(0x439)]['unit'][_0x5ce62f(0x2cd)]()},_0x1f7366=_0x3a0bc9['elementService'][_0x5ce62f(0x294)](_0x2503c7['unitId'],_0x2503c7[_0x5ce62f(0x4ae)])[_0x475650],_0x111d0b=(0x0,_0x4ecf80[_0x5ce62f(0x135)])(_0x1f7366==null?void 0x0:_0x1f7366[_0x5ce62f(0x3bf)]);return!_0x1f7366||!_0x111d0b?null:{'unitId':_0x2503c7[_0x5ce62f(0x48b)],'subUnitId':_0x2503c7[_0x5ce62f(0x4ae)],'nodeId':_0x475650,'scopeId':_0x111d0b['structureScopeId'],'isRoot':_0x111d0b['parentNodeId']===null,'description':((_0x54eb8f=_0x111d0b[_0x5ce62f(0x31b)])==null?void 0x0:_0x54eb8f['_note'])??''};}['_getBlankBoardContext'](_0x2230b0){const _0x3b3995=_0x114ef7;var _0x323f14,_0x340e41;let _0x8893ca=_0x2230b0[_0x3b3995(0x15f)][_0x3b3995(0x319)]();return _0x8893ca[_0x3b3995(0x19e)]||_0x8893ca[_0x3b3995(0x1dc)]||_0x8893ca['selectedIds'][_0x3b3995(0x168)]>0x0||_0x8893ca[_0x3b3995(0x459)]?null:{'unitId':((_0x323f14=_0x8893ca[_0x3b3995(0x4cd)])==null?void 0x0:_0x323f14[_0x3b3995(0x48b)])??_0x2230b0[_0x3b3995(0x439)][_0x3b3995(0x48b)],'subUnitId':((_0x340e41=_0x8893ca['context'])==null?void 0x0:_0x340e41[_0x3b3995(0x4ae)])??_0x2230b0['renderContext']['unit'][_0x3b3995(0x2cd)]()};}[_0x114ef7(0x143)](_0x5985a9,_0x596d33,_0x1cf59f,_0x4b830e){const _0x123d49=_0x114ef7;let _0x30c08f=_0x5985a9[_0x123d49(0x3d7)],_0x446177=this[_0x123d49(0x4df)][_0x123d49(0x508)](_0x1cf59f[_0x123d49(0x48b)]),_0x4fa047=_0x446177(()=>_0x30c08f[_0x123d49(0x32b)](_0x596d33,_0x1cf59f));Promise[_0x123d49(0x3f1)](_0x4fa047)[_0x123d49(0x4a7)](_0x2fd459=>{const _0x238297=_0x123d49;_0x2fd459&&_0x446177(()=>_0x30c08f[_0x238297(0x32b)](_0x4ecf80[_0x238297(0x1e9)]['id'],{'unitId':_0x1cf59f['unitId'],'subUnitId':_0x1cf59f[_0x238297(0x4ae)],'scopeId':_0x4b830e}));});}[_0x114ef7(0x3f3)](_0x2e7f29,_0x9aa2ae,_0x3b1077,_0x54ca95,_0x57e358){const _0x2286d1=_0x114ef7;let _0x996987={'unitId':_0x3b1077[_0x2286d1(0x48b)],'subUnitId':_0x3b1077[_0x2286d1(0x4ae)]},_0x174199=_0x2e7f29['commandService'],_0x3b8f34=this[_0x2286d1(0x4df)]['createRunner'](_0x3b1077['unitId']),_0x3b75ec=_0x3b8f34(()=>_0x174199[_0x2286d1(0x32b)](_0x9aa2ae,_0x3b1077));Promise[_0x2286d1(0x3f1)](_0x3b75ec)['then'](_0xe2bfaf=>{const _0x45c657=_0x2286d1;if(!_0xe2bfaf)return;_0x3b8f34(()=>_0x174199[_0x45c657(0x32b)](_0x4ecf80[_0x45c657(0x1e9)]['id'],{..._0x996987,'scopeId':_0x54ca95})),_0x2e7f29[_0x45c657(0x15f)]['selectElements'](_0x996987,[_0x57e358],_0x57e358);let _0x5f56dc=_0x2e7f29[_0x45c657(0x1f6)];_0x5f56dc[_0x45c657(0x4b0)](),_0x5f56dc[_0x45c657(0x214)]({..._0x996987,'shapeId':_0x57e358,'shapeKey':(0x0,_0x17cb44[_0x45c657(0x49f)])(_0x996987[_0x45c657(0x48b)],_0x57e358),'visible':!0x0});});}};_0x557c3d=_0x41c154([_0x27e70d(0x0,_0x4ecf80[_0x114ef7(0x382)]),_0x27e70d(0x1,_0x4aaeb9[_0x114ef7(0x153)]),_0x27e70d(0x2,_0x5982a1[_0x114ef7(0x2c4)]),_0x27e70d(0x3,(0x0,_0x4aaeb9['Inject'])(_0x5982a1[_0x114ef7(0x131)]))],_0x557c3d);function _0x353af3(_0x1bbe74,_0x204d70){const _0x5ba673=_0x114ef7;var _0x23b797,_0x33698c;let _0x2b1c20=typeof(_0x204d70==null?void 0x0:_0x204d70['unitId'])==_0x5ba673(0x36c)?_0x204d70[_0x5ba673(0x48b)]:(_0x23b797=_0x1bbe74['get'](_0x4aaeb9[_0x5ba673(0x1c8)])[_0x5ba673(0x2d9)](_0x4aaeb9[_0x5ba673(0x449)]['UNIVER_BOARD']))==null?void 0x0:_0x23b797[_0x5ba673(0x1e6)]();return _0x2b1c20?((_0x33698c=_0x1bbe74[_0x5ba673(0x2e6)](_0x4253cf['IRenderManagerService'])[_0x5ba673(0x47f)](_0x2b1c20))==null?void 0x0:_0x33698c['with'](_0x36de55))??null:null;}function _0xa4d0b0(_0x3ec3fa){const _0x3ef185=_0x114ef7;return _0x3ec3fa===_0x3ef185(0x1ab)||_0x3ec3fa===_0x3ef185(0x20c)||_0x3ec3fa===_0x3ef185(0x338)||_0x3ec3fa===_0x3ef185(0x4d8);}let _0x535a8d={'min':0x1,'max':0x5,'defaultValue':0x3},_0x5a15c6={'min':0x0,'max':0x64,'defaultValue':0x64},_0x51071e=[{'kind':'dropdown','titleKey':_0x114ef7(0x2d8),'panel':_0x114ef7(0x369)},{'kind':'fontColor','titleKey':'boards-mind-ui.toolbar.primary.fontColor'},{'kind':_0x114ef7(0x4a1),'titleKey':'boards-mind-ui.toolbar.primary.typography'},{'kind':_0x114ef7(0x39c),'titleKey':'boards-mind-ui.toolbar.primary.more','panel':_0x114ef7(0x1c3),'dividerBefore':!0x0}],_0x5d8a3c={'addSibling':_0x114ef7(0x391),'addChild':_0x114ef7(0x3f7),'copy':'copy','paste':_0x114ef7(0x1f4),'delete':_0x114ef7(0x3c7)},_0x396110=[{'key':'mind-map','title':_0x114ef7(0x2fd),'items':[{'value':_0x114ef7(0x4bf),'icon':_0x114ef7(0x4bf),'labelKey':_0x114ef7(0x392)},{'value':_0x114ef7(0x124),'icon':_0x114ef7(0x124),'labelKey':'boards-mind-ui.panel.structureKind.mindmapVertical'}]},{'key':'tree-diagram','title':_0x114ef7(0x1b1),'items':[{'value':'tree-right','icon':'tree-right','labelKey':_0x114ef7(0x1a0)},{'value':_0x114ef7(0x378),'icon':_0x114ef7(0x378),'labelKey':'boards-mind-ui.panel.structureKind.treeLeft'},{'value':'tree-alternate','icon':_0x114ef7(0x21f),'labelKey':_0x114ef7(0x1b6)}]},{'key':_0x114ef7(0x286),'title':'Timeline','items':[{'value':_0x114ef7(0x1c4),'icon':_0x114ef7(0x1c4),'labelKey':_0x114ef7(0x394)},{'value':_0x114ef7(0x3bc),'icon':_0x114ef7(0x3bc),'labelKey':'boards-mind-ui.panel.structureKind.timelineVertical'}]}],_0x3b7ac6={'key':'branch','title':_0x114ef7(0x2ca),'items':[{'value':_0x114ef7(0x410),'icon':_0x114ef7(0x407),'labelKey':_0x114ef7(0x31f)},{'value':_0x114ef7(0x376),'icon':'branch-rounded-orthogonal','labelKey':_0x114ef7(0x341)},{'value':'orthogonal','icon':_0x114ef7(0x1d2),'labelKey':_0x114ef7(0x1e7)}]},_0x5c03fc=_0x114ef7(0x2b6);function _0x54d0c7(_0x1f6e7b,_0x17c844){const _0x35d4be=_0x114ef7;_0x1f6e7b[_0x35d4be(0x32b)](_0x49313e,{'action':_0x17c844});}let _0x5c22f7={'line':_0x31a5df,'more':_0x127dee};function _0x4faf60(_0x208d85){const _0x22819b=_0x114ef7;_0x208d85[_0x22819b(0x4e5)](),_0x208d85[_0x22819b(0x1ae)]();}function _0x3e14da(_0xe6716d,_0xd57585=_0x114ef7(0x1db),_0x4e8d64){const _0x17dcd6=_0x114ef7;return(0x0,_0x544d30[_0x17dcd6(0x245)])(_0x2b6c26[_0x17dcd6(0x494)],{'children':(0x0,_0x544d30[_0x17dcd6(0x245)])(_0xe6716d,{'className':_0xd57585,'extend':_0x4e8d64})});}function _0x446861(_0x26d988){const _0x3e7095=_0x114ef7;var _0x296b1b,_0x1925b2;let _0x422c8c=(_0x26d988==null?void 0x0:_0x26d988['shapeText'])??{},_0x3eed18=_0x422c8c[_0x3e7095(0x28f)]&&typeof _0x422c8c[_0x3e7095(0x28f)]==_0x3e7095(0x375)?_0x422c8c['dataModel']:{},_0x10f6de=(_0x296b1b=_0x3eed18[_0x3e7095(0x498)])==null||(_0x296b1b=_0x296b1b[_0x3e7095(0x420)])==null?void 0x0:_0x296b1b[_0x3e7095(0x15c)];return{'color':typeof _0x422c8c[_0x3e7095(0x3ca)]=='string'?_0x422c8c[_0x3e7095(0x3ca)]:(_0x10f6de==null||(_0x1925b2=_0x10f6de['cl'])==null?void 0x0:_0x1925b2[_0x3e7095(0x300)])??_0x2b6c26[_0x3e7095(0x1ea)],'fontFamily':typeof _0x422c8c[_0x3e7095(0x493)]==_0x3e7095(0x36c)?_0x422c8c[_0x3e7095(0x493)]:(_0x10f6de==null?void 0x0:_0x10f6de['ff'])??_0x4aaeb9['DEFAULT_STYLES']['ff'],'fontSize':typeof _0x422c8c[_0x3e7095(0x3de)]==_0x3e7095(0x3b7)?_0x422c8c['fontSize']:typeof(_0x10f6de==null?void 0x0:_0x10f6de['fs'])==_0x3e7095(0x3b7)?_0x10f6de['fs']:_0x4aaeb9['DEFAULT_STYLES']['fs'],'horizontalAlign':_0x422c8c['horizontalAlign']??_0x3eed18['ha']??_0x4aaeb9[_0x3e7095(0x303)][_0x3e7095(0x48d)],'textFill':_0x422c8c[_0x3e7095(0x334)]&&typeof _0x422c8c[_0x3e7095(0x334)]==_0x3e7095(0x375)?_0x422c8c[_0x3e7095(0x334)]:_0x10f6de==null?void 0x0:_0x10f6de['textFill'],'verticalAlign':_0x422c8c['verticalAlign']??_0x3eed18['va']??_0x4aaeb9['VerticalAlign'][_0x3e7095(0x28b)]};}function _0x51ada6(_0x5864d3,_0x1bb081){const _0x287a52=_0x114ef7;if(!_0x1bb081)return;let _0xc62c22=_0x465cb9(_0x1bb081);if(!_0xc62c22[_0x287a52(0x168)])return;let _0x37b858=_0xc62c22[_0x287a52(0x1c1)](_0x21b288=>_0x5864d3[_0x287a52(0x1d1)]({'id':_0x287a52(0x34b),'binding':_0x21b288,'staticParameters':{'action':_0x1bb081}})??void 0x0)['filter'](_0x973fc7=>!!_0x973fc7);return _0x37b858['length']?[...new Set(_0x37b858)][_0x287a52(0x4de)]('/'):void 0x0;}async function _0x40fab0(_0x526787,_0x3a6b02,_0x5f4089){const _0x3e5b1a=_0x114ef7;return await Promise[_0x3e5b1a(0x3f1)](_0x3a6b02(()=>_0x526787[_0x3e5b1a(0x32b)](_0x4ecf80[_0x3e5b1a(0x34a)]['id'],_0x5f4089)))?(await Promise[_0x3e5b1a(0x3f1)](_0x3a6b02(()=>_0x526787[_0x3e5b1a(0x32b)](_0x4ecf80[_0x3e5b1a(0x1e9)]['id'],{'unitId':_0x5f4089[_0x3e5b1a(0x48b)],'subUnitId':_0x5f4089[_0x3e5b1a(0x4ae)],'scopeId':_0x5f4089[_0x3e5b1a(0x31e)]}))),!0x0):!0x1;}async function _0xdd2f84(_0x394ef2,_0x5495bf,_0x14bc56){const _0x4c9845=_0x114ef7;return await Promise['resolve'](_0x5495bf(()=>_0x394ef2[_0x4c9845(0x32b)](_0x4ecf80['ChangeMindMapBranchLineTypeOperation']['id'],_0x14bc56)))?(await Promise[_0x4c9845(0x3f1)](_0x5495bf(()=>_0x394ef2[_0x4c9845(0x32b)](_0x4ecf80[_0x4c9845(0x1e9)]['id'],{'unitId':_0x14bc56[_0x4c9845(0x48b)],'subUnitId':_0x14bc56[_0x4c9845(0x4ae)],'scopeId':_0x14bc56[_0x4c9845(0x31e)]}))),!0x0):!0x1;}function _0x1da88e({className:_0x56263d=_0x114ef7(0x1db)}){const _0x29990c=_0x114ef7;return(0x0,_0x544d30[_0x29990c(0x245)])(_0x2b6c26[_0x29990c(0x494)],{'children':(0x0,_0x544d30['jsxs'])(_0x29990c(0x403),{'className':_0x56263d,'viewBox':_0x29990c(0x205),'fill':_0x29990c(0x175),'aria-hidden':_0x29990c(0x13e),'children':[(0x0,_0x544d30['jsx'])(_0x29990c(0x2bb),{'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':_0x29990c(0x4c8),'strokeWidth':_0x29990c(0x1bf),'strokeLinecap':_0x29990c(0x129)}),(0x0,_0x544d30[_0x29990c(0x245)])(_0x29990c(0x2bb),{'d':_0x29990c(0x4d1),'stroke':'currentColor','strokeWidth':'1.8','strokeLinecap':_0x29990c(0x129)}),(0x0,_0x544d30[_0x29990c(0x245)])(_0x29990c(0x2bb),{'d':_0x29990c(0x1ed),'stroke':'currentColor','strokeWidth':'1.8','strokeLinecap':_0x29990c(0x129)})]})});}function _0x4320a3({icon:_0x2e02ec}){const _0x46422a=_0x114ef7;let _0x1ef4d7=_0x46422a(0x38f),_0x169ba8={'stroke':'currentColor','strokeWidth':2.6,'strokeLinecap':_0x46422a(0x129),'strokeLinejoin':'round'},_0x14e902={'stroke':_0x1ef4d7,'strokeWidth':3.2,'strokeLinecap':_0x46422a(0x129)};return(0x0,_0x544d30[_0x46422a(0x317)])(_0x46422a(0x403),{'className':_0x46422a(0x3f2),'viewBox':_0x46422a(0x4f0),'fill':_0x46422a(0x175),'aria-hidden':_0x46422a(0x13e),'children':[_0x2e02ec==='mindmap-horizontal'&&(0x0,_0x544d30[_0x46422a(0x317)])(_0x544d30[_0x46422a(0x4a3)],{'children':[(0x0,_0x544d30[_0x46422a(0x245)])(_0x46422a(0x2bb),{'d':_0x46422a(0x37a),..._0x169ba8}),(0x0,_0x544d30['jsx'])(_0x46422a(0x2bb),{'d':_0x46422a(0x3dd),..._0x14e902})]}),_0x2e02ec===_0x46422a(0x124)&&(0x0,_0x544d30[_0x46422a(0x317)])(_0x544d30[_0x46422a(0x4a3)],{'children':[(0x0,_0x544d30['jsx'])(_0x46422a(0x2bb),{'d':_0x46422a(0x1b5),..._0x169ba8}),(0x0,_0x544d30[_0x46422a(0x245)])(_0x46422a(0x2bb),{'d':_0x46422a(0x147),'stroke':_0x1ef4d7,'strokeWidth':2.6,'strokeLinecap':'round','strokeDasharray':_0x46422a(0x441)})]}),_0x2e02ec===_0x46422a(0x14e)&&(0x0,_0x544d30[_0x46422a(0x317)])(_0x544d30['Fragment'],{'children':[(0x0,_0x544d30['jsx'])('path',{'d':'M24\x2012v32M24\x2019c0\x204\x203\x206\x207\x206h7M24\x2029c0\x204\x203\x206\x207\x206h7M24\x2039c0\x204\x203\x206\x207\x206h7',..._0x169ba8}),(0x0,_0x544d30[_0x46422a(0x245)])(_0x46422a(0x2bb),{'d':_0x46422a(0x269),..._0x14e902}),(0x0,_0x544d30['jsx'])(_0x46422a(0x4bc),{'cx':'24','cy':'12','r':'3','fill':_0x46422a(0x4c8)})]}),_0x2e02ec==='tree-left'&&(0x0,_0x544d30[_0x46422a(0x317)])(_0x544d30['Fragment'],{'children':[(0x0,_0x544d30['jsx'])(_0x46422a(0x2bb),{'d':_0x46422a(0x3a0),..._0x169ba8}),(0x0,_0x544d30[_0x46422a(0x245)])(_0x46422a(0x2bb),{'d':_0x46422a(0x36f),..._0x14e902}),(0x0,_0x544d30[_0x46422a(0x245)])(_0x46422a(0x4bc),{'cx':'56','cy':'12','r':'3','fill':_0x46422a(0x4c8)})]}),_0x2e02ec===_0x46422a(0x21f)&&(0x0,_0x544d30[_0x46422a(0x317)])(_0x544d30[_0x46422a(0x4a3)],{'children':[(0x0,_0x544d30[_0x46422a(0x245)])('path',{'d':'M42\x2012v32M42\x2020c0\x204-3\x206-7\x206h-7M42\x2030c0\x204\x203\x206\x207\x206h7M42\x2039c0\x204-3\x206-7\x206h-7',..._0x169ba8}),(0x0,_0x544d30[_0x46422a(0x245)])(_0x46422a(0x2bb),{'d':'M12\x2026h11M58\x2036h11M12\x2045h11',..._0x14e902}),(0x0,_0x544d30['jsx'])(_0x46422a(0x4bc),{'cx':'42','cy':'12','r':'3','fill':_0x46422a(0x4c8)})]}),_0x2e02ec===_0x46422a(0x1c4)&&(0x0,_0x544d30['jsxs'])(_0x544d30[_0x46422a(0x4a3)],{'children':[(0x0,_0x544d30[_0x46422a(0x245)])('path',{'d':_0x46422a(0x1e3),..._0x169ba8}),(0x0,_0x544d30[_0x46422a(0x245)])(_0x46422a(0x2bb),{'d':_0x46422a(0x293),..._0x14e902}),(0x0,_0x544d30[_0x46422a(0x245)])(_0x46422a(0x4bc),{'cx':'17','cy':'31','r':'3','fill':_0x46422a(0x4c8)})]}),_0x2e02ec==='timeline-vertical'&&(0x0,_0x544d30[_0x46422a(0x317)])(_0x544d30['Fragment'],{'children':[(0x0,_0x544d30[_0x46422a(0x245)])(_0x46422a(0x2bb),{'d':_0x46422a(0x411),..._0x169ba8}),(0x0,_0x544d30['jsx'])('path',{'d':_0x46422a(0x234),..._0x14e902}),(0x0,_0x544d30[_0x46422a(0x245)])('circle',{'cx':'40','cy':'9','r':'3','fill':_0x46422a(0x4c8)})]}),_0x2e02ec===_0x46422a(0x407)&&(0x0,_0x544d30[_0x46422a(0x245)])(_0x544d30[_0x46422a(0x4a3)],{'children':(0x0,_0x544d30['jsx'])(_0x46422a(0x2bb),{'d':_0x46422a(0x21c),..._0x169ba8})}),_0x2e02ec==='branch-rounded-orthogonal'&&(0x0,_0x544d30[_0x46422a(0x245)])(_0x544d30['Fragment'],{'children':(0x0,_0x544d30['jsx'])(_0x46422a(0x2bb),{'d':'M16\x2029h18c7\x200\x2010-5\x2010-12v-3M34\x2029h10c7\x200\x2010\x205\x2010\x2012v3',..._0x169ba8})}),_0x2e02ec===_0x46422a(0x1d2)&&(0x0,_0x544d30[_0x46422a(0x245)])(_0x544d30['Fragment'],{'children':(0x0,_0x544d30['jsx'])(_0x46422a(0x2bb),{'d':_0x46422a(0x27c),..._0x169ba8})})]});}function _0x23ebd0(_0x4dd0bc,_0x37af5c){const _0x4d4a7e=_0x114ef7;let _0x31ab81=_0x4dd0bc['textStyle'],_0x130e91=(0x0,_0x1184a0['documentTextStyleToBoardShapeTextStyle'])(_0x31ab81),_0x7b79aa={..._0x130e91[_0x4d4a7e(0x3ca)]===void 0x0?null:{'color':_0x130e91[_0x4d4a7e(0x3ca)]},..._0x130e91[_0x4d4a7e(0x493)]===void 0x0?null:{'fontFamily':_0x130e91[_0x4d4a7e(0x493)]},..._0x130e91[_0x4d4a7e(0x3de)]===void 0x0?null:{'fontSize':_0x130e91['fontSize']},..._0x130e91[_0x4d4a7e(0x1c9)]===void 0x0?null:{'bold':_0x130e91['bold']},..._0x130e91[_0x4d4a7e(0x4b9)]===void 0x0?null:{'italic':_0x130e91[_0x4d4a7e(0x4b9)]},..._0x130e91[_0x4d4a7e(0x165)]===void 0x0?null:{'underline':_0x130e91[_0x4d4a7e(0x165)]},..._0x130e91[_0x4d4a7e(0x51c)]===void 0x0?null:{'strikethrough':_0x130e91[_0x4d4a7e(0x51c)]},..._0x130e91[_0x4d4a7e(0x334)]===void 0x0?null:{'textFill':_0x130e91[_0x4d4a7e(0x334)]}};_0x4dd0bc[_0x4d4a7e(0x243)]!==void 0x0&&(_0x7b79aa['horizontalAlign']=_0x4dd0bc[_0x4d4a7e(0x243)]),_0x4dd0bc[_0x4d4a7e(0x4d5)]!==void 0x0&&(_0x7b79aa[_0x4d4a7e(0x4d5)]=_0x4dd0bc[_0x4d4a7e(0x4d5)]),Object['keys'](_0x7b79aa)[_0x4d4a7e(0x168)]>0x0&&_0x37af5c({'textStyle':_0x7b79aa});}function _0x50a5a0(_0x33fada,_0xe5149f,_0xbac659){const _0xe09bf7=_0x114ef7;let _0x2134a4=_0x33fada??{},_0x25146e=(0x0,_0x2b6c26[_0xe09bf7(0x4b6)])(_0x2134a4,_0xe5149f),_0x10d546=_0x25146e[_0xe09bf7(0x430)]??_0x2134a4['shapeText']??{};return{..._0x2134a4,..._0x25146e,'shapeText':{..._0x10d546,..._0xbac659['color']===void 0x0?null:{'color':_0xbac659['color']},..._0xbac659[_0xe09bf7(0x3de)]===void 0x0?null:{'fontSize':_0xbac659[_0xe09bf7(0x3de)]},..._0xbac659[_0xe09bf7(0x1c9)]===void 0x0?null:{'bold':_0xbac659[_0xe09bf7(0x1c9)]},..._0xbac659[_0xe09bf7(0x4b9)]===void 0x0?null:{'italic':_0xbac659[_0xe09bf7(0x4b9)]},..._0xbac659[_0xe09bf7(0x165)]===void 0x0?null:{'underline':_0xbac659[_0xe09bf7(0x165)]},..._0xbac659[_0xe09bf7(0x51c)]===void 0x0?null:{'strikethrough':_0xbac659[_0xe09bf7(0x51c)]},..._0xbac659[_0xe09bf7(0x243)]===void 0x0?null:{'horizontalAlign':_0xbac659[_0xe09bf7(0x243)]},..._0xbac659['verticalAlign']===void 0x0?null:{'verticalAlign':_0xbac659[_0xe09bf7(0x4d5)]},..._0xbac659[_0xe09bf7(0x334)]===void 0x0?null:{'textFill':_0xbac659[_0xe09bf7(0x334)]}}};}function _0x491c30(_0x290360,_0x1a7848){const _0x573dc8=_0x114ef7;let _0xd6377d=_0x290360==null?void 0x0:_0x290360[_0x573dc8(0x2cf)];_0xd6377d&&_0x1a7848({'lineType':_0xd6377d[_0x573dc8(0x3a5)]===_0x21a535[_0x573dc8(0x1ad)][_0x573dc8(0x256)]||_0xd6377d[_0x573dc8(0x3a5)]===_0x21a535['ShapeLineDashEnum']['SquareDot']?'dot':_0xd6377d[_0x573dc8(0x3a5)]===_0x21a535[_0x573dc8(0x1ad)]['Dash']?_0x573dc8(0x160):_0x573dc8(0x170),...typeof _0xd6377d[_0x573dc8(0x326)]==_0x573dc8(0x3b7)?{'strokeWidth':_0xd6377d['width']}:null,...typeof _0xd6377d[_0x573dc8(0x3ca)]=='string'?{'stroke':_0xd6377d['color']}:null,...typeof _0xd6377d[_0x573dc8(0x31c)]=='number'?{'opacity':_0xd6377d['opacity']}:null});}function _0x5185a4(_0x2de347){const _0x39b1f3=_0x114ef7;return _0x2de347!=null&&_0x2de347['length']?_0x2de347[0x0]<=0x2?_0x21a535['ShapeLineDashEnum'][_0x39b1f3(0x256)]:_0x21a535[_0x39b1f3(0x1ad)][_0x39b1f3(0x463)]:_0x21a535['ShapeLineDashEnum'][_0x39b1f3(0x26a)];}function _0x1d2d0b(_0x3b59ba){const _0xf28d7b=_0x114ef7;return{'stroke':{'lineStrokeType':_0x21a535[_0xf28d7b(0x188)][_0xf28d7b(0x3ea)],'dashType':_0x5185a4(_0x3b59ba==null?void 0x0:_0x3b59ba[_0xf28d7b(0x160)]),'color':(_0x3b59ba==null?void 0x0:_0x3b59ba[_0xf28d7b(0x2cf)])??_0x2b6c26[_0xf28d7b(0x20f)],'width':(_0x3b59ba==null?void 0x0:_0x3b59ba[_0xf28d7b(0x471)])??_0x535a8d[_0xf28d7b(0x23e)],'opacity':(_0x3b59ba==null?void 0x0:_0x3b59ba[_0xf28d7b(0x31c)])??_0x5a15c6['defaultValue']/0x64}};}function _0xf43ddb(_0x3fa91f){const _0x2e5514=_0x114ef7;var _0x39e37d,_0x1cec7b,_0x260df1;let _0x22a67b=(0x0,_0x5982a1[_0x2e5514(0x45a)])(_0x4aaeb9['ICommandService']),_0xccd156=(0x0,_0x5982a1[_0x2e5514(0x45a)])(_0x5982a1['IShortcutService']),_0x25a60a=(0x0,_0x5982a1[_0x2e5514(0x45a)])(_0x4aaeb9[_0x2e5514(0x423)]),_0x4b7791=(0x0,_0x5982a1['useDependency'])(_0x5982a1[_0x2e5514(0x131)]),[_0x11305f,_0x36b1e3]=(0x0,_0x34b88b[_0x2e5514(0x22b)])(null),[_0x27a299,_0x4f7d8e]=(0x0,_0x34b88b[_0x2e5514(0x22b)])((_0x39e37d=_0x3fa91f[_0x2e5514(0x39d)]['extraProps'])==null?void 0x0:_0x39e37d[_0x2e5514(0x43a)]),_0xce81e0=_0x3fa91f[_0x2e5514(0x39d)][_0x2e5514(0x29c)];if(!_0xce81e0)return null;let _0x5d37e1={'unitId':_0xce81e0[_0x2e5514(0x48b)],'subUnitId':_0xce81e0[_0x2e5514(0x4ae)]},_0x1c3ba9=_0x318292=>{const _0x257e8c=_0x2e5514;_0x22a67b[_0x257e8c(0x32b)](_0x4ecf80['UpdateMindMapNodeOperation']['id'],{..._0x5d37e1,'nodeId':_0xce81e0[_0x257e8c(0x17e)],..._0x318292});},_0xe187c7=(_0x22bc09,_0x180bd4)=>{const _0x14af6c=_0x2e5514;let _0x2de866=_0x180bd4??{};_0x4f7d8e(_0x180ffe=>({..._0x180ffe??{},..._0x2de866})),_0x1c3ba9({..._0x2de866[_0x14af6c(0x1df)]===void 0x0?null:{'fill':_0x2de866['fill']},..._0x2de866[_0x14af6c(0x2cf)]===void 0x0?null:{'stroke':_0x2de866['stroke']}});},_0xe9f1d9=_0x2733c8=>{const _0x525b5d=_0x2e5514;_0x22a67b[_0x525b5d(0x32b)](_0x4ecf80['UpdateMindMapIncomingConnectorOperation']['id'],{..._0x5d37e1,'nodeId':_0xce81e0[_0x525b5d(0x17e)],'style':_0x2733c8});},_0x319789=_0x1d2d0b(_0xce81e0[_0x2e5514(0x522)]),_0x30f502=_0x4e4786=>_0x51ada6(_0xccd156,_0x4e4786),_0xdc6e8b=_0x4d6c20=>{_0x54d0c7(_0x22a67b,_0x4d6c20);},_0x1ea9f8=(_0x27a299==null?void 0x0:_0x27a299[_0x2e5514(0x430)])??{},_0x30015b=_0x446861(_0x27a299),_0x476516=_0x54cfae=>{_0x23ebd0(_0x54cfae,_0x3e0a11=>{const _0x3eba73=_0x41da;_0x4f7d8e(_0x234885=>_0x50a5a0(_0x234885,_0x54cfae,_0x3e0a11[_0x3eba73(0x15c)])),_0x1c3ba9(_0x3e0a11);});},_0x5ba862=[{'label':_0x25a60a['t'](_0x2e5514(0x28d)),'value':_0x4aaeb9[_0x2e5514(0x303)][_0x2e5514(0x48d)],'icon':(0x0,_0x544d30[_0x2e5514(0x245)])(_0x3ef686,{})},{'label':_0x25a60a['t'](_0x2e5514(0x2f4)),'value':_0x4aaeb9['HorizontalAlign'][_0x2e5514(0x41e)],'icon':(0x0,_0x544d30['jsx'])(_0x3a29af,{})},{'label':_0x25a60a['t']('boards-mind-ui.alignRight'),'value':_0x4aaeb9[_0x2e5514(0x303)][_0x2e5514(0x3f4)],'icon':(0x0,_0x544d30[_0x2e5514(0x245)])(_0x18da81,{})},{'label':_0x25a60a['t']('boards-mind-ui.alignJustify'),'value':_0x4aaeb9['HorizontalAlign'][_0x2e5514(0x16c)],'icon':(0x0,_0x544d30['jsx'])(_0x3b05cb,{})}],_0x19ba19=[{'label':_0x25a60a['t']('boards-mind-ui.alignTop'),'value':_0x4aaeb9['VerticalAlign'][_0x2e5514(0x48a)],'icon':(0x0,_0x544d30[_0x2e5514(0x245)])(_0x1ba72f,{})},{'label':_0x25a60a['t'](_0x2e5514(0x417)),'value':_0x4aaeb9['VerticalAlign']['MIDDLE'],'icon':(0x0,_0x544d30[_0x2e5514(0x245)])(_0x4e3e95,{})},{'label':_0x25a60a['t'](_0x2e5514(0x380)),'value':_0x4aaeb9[_0x2e5514(0x41f)][_0x2e5514(0x462)],'icon':(0x0,_0x544d30[_0x2e5514(0x245)])(_0x17c436,{})}],_0x3b8136=()=>{const _0x1a4ea2=_0x2e5514;_0xdc6e8b(_0x1a4ea2(0x391));},_0xb7bb67=()=>{const _0x4db369=_0x2e5514;_0xdc6e8b(_0x4db369(0x3f7));},_0x15d13c=()=>{const _0x1e0057=_0x2e5514;_0xdc6e8b(_0x1e0057(0x4ff));},_0xf4dcb5=()=>{const _0x53a165=_0x2e5514;_0xdc6e8b(_0x53a165(0x1f4));},_0x247c24=()=>{_0xdc6e8b('delete');},_0x957d5b=((_0x1cec7b=_0xce81e0[_0x2e5514(0x448)])==null?void 0x0:_0x1cec7b['structureKind'])??_0x4ecf80[_0x2e5514(0x33c)][_0x2e5514(0x22a)],_0x389414=(0x0,_0x4ecf80['resolveMindMapBranchLineTypeForStructure'])(_0x957d5b,((_0x260df1=_0xce81e0[_0x2e5514(0x448)])==null?void 0x0:_0x260df1['branchLineType'])??_0x4ecf80[_0x2e5514(0x33c)][_0x2e5514(0x141)]),_0x23817e=_0x6998a9=>{const _0x19ea56=_0x2e5514;let _0x1c4eb9=(0x0,_0x4ecf80[_0x19ea56(0x42d)])(_0x6998a9,_0x389414);_0x40fab0(_0x22a67b,_0x4b7791[_0x19ea56(0x508)](_0xce81e0[_0x19ea56(0x48b)]),{..._0x5d37e1,'scopeId':_0xce81e0[_0x19ea56(0x31e)],'structureKind':_0x6998a9,..._0x1c4eb9===_0x389414?null:{'branchLineType':_0x1c4eb9}}),_0x36b1e3(null);},_0xa8ab7f=_0x101be7=>{const _0x1b5fe2=_0x2e5514;_0xdd2f84(_0x22a67b,_0x4b7791['createRunner'](_0xce81e0[_0x1b5fe2(0x48b)]),{..._0x5d37e1,'scopeId':_0xce81e0[_0x1b5fe2(0x31e)],'branchLineType':_0x101be7}),_0x36b1e3(null);},_0x3bb550=(_0x130532,_0x2b93d2,_0x3ce5c4,_0x5c4051=!0x1)=>(0x0,_0x544d30[_0x2e5514(0x245)])(_0x2e5514(0x464),{'type':'button','aria-label':_0x25a60a['t'](_0x130532[_0x2e5514(0x431)]),'disabled':_0x5c4051,'className':(0x0,_0x16270c[_0x2e5514(0x158)])(_0x2e5514(0x362),_0x2b93d2&&'univer-bg-[#e8eefc]\x20univer-text-[#2f6fed]\x20hover:univer-bg-[#e8eefc]',_0x5c4051&&_0x2e5514(0x163)),'onMouseDown':_0x4faf60,'onPointerDown':_0x4faf60,'onClick':_0x37be8b=>{_0x37be8b['stopPropagation'](),!_0x5c4051&&_0x3ce5c4();},'children':(0x0,_0x544d30['jsx'])(_0x4320a3,{'icon':_0x130532[_0x2e5514(0x305)]})},_0x130532[_0x2e5514(0x455)]),_0x394015=()=>(0x0,_0x544d30[_0x2e5514(0x317)])('div',{'className':_0x2e5514(0x47b),'onMouseDown':_0x2548f3=>_0x2548f3[_0x2e5514(0x4e5)](),'onPointerDown':_0x2df35d=>_0x2df35d[_0x2e5514(0x4e5)](),'children':[_0x396110[_0x2e5514(0x1c1)](_0x50e470=>(0x0,_0x544d30[_0x2e5514(0x317)])(_0x2e5514(0x4cf),{'className':_0x2e5514(0x190),'children':[(0x0,_0x544d30['jsx'])('div',{'className':_0x2e5514(0x229),'children':_0x50e470[_0x2e5514(0x340)]}),(0x0,_0x544d30['jsx'])('div',{'className':'univer-grid\x20univer-h-14\x20univer-overflow-hidden\x20univer-rounded-xl\x20univer-bg-gray-100\x20univer-p-1','style':{'gridTemplateColumns':_0x2e5514(0x30f)+_0x50e470[_0x2e5514(0x1a6)][_0x2e5514(0x168)]+_0x2e5514(0x2ec)},'children':_0x50e470[_0x2e5514(0x1a6)][_0x2e5514(0x1c1)](_0x33d788=>_0x3bb550(_0x33d788,_0x33d788[_0x2e5514(0x455)]===_0x957d5b,()=>_0x23817e(_0x33d788['value'])))})]},_0x50e470[_0x2e5514(0x333)])),(0x0,_0x544d30[_0x2e5514(0x245)])(_0x16270c[_0x2e5514(0x4a9)],{}),(0x0,_0x544d30[_0x2e5514(0x317)])(_0x2e5514(0x4cf),{'className':_0x2e5514(0x274),'children':[(0x0,_0x544d30[_0x2e5514(0x245)])(_0x2e5514(0x4cf),{'className':_0x2e5514(0x229),'children':_0x3b7ac6[_0x2e5514(0x340)]}),(0x0,_0x544d30['jsx'])('div',{'className':'univer-grid\x20univer-h-14\x20univer-overflow-hidden\x20univer-rounded-xl\x20univer-bg-gray-100\x20univer-p-1','style':{'gridTemplateColumns':_0x2e5514(0x30f)+_0x3b7ac6[_0x2e5514(0x1a6)]['length']+_0x2e5514(0x2ec)},'children':_0x3b7ac6[_0x2e5514(0x1a6)][_0x2e5514(0x1c1)](_0x19644f=>_0x3bb550(_0x19644f,_0x19644f[_0x2e5514(0x455)]===_0x389414,()=>_0xa8ab7f(_0x19644f[_0x2e5514(0x455)]),_0x19644f[_0x2e5514(0x455)]===_0x2e5514(0x410)&&!(0x0,_0x4ecf80['isMindMapPlainStructureKind'])(_0x957d5b)))})]})]}),_0x2ec848=_0x5d3439=>{const _0x1f32ac=_0x2e5514;switch(_0x5d3439){case _0x1f32ac(0x369):return(0x0,_0x544d30[_0x1f32ac(0x245)])(_0x2b6c26['ShapeStrokePanelContent'],{'title':_0x25a60a['t'](_0x1f32ac(0x440)),'shapeData':_0x319789,'modeOptions':[_0x1f32ac(0x170),_0x1f32ac(0x160),_0x1f32ac(0x3c8)],'showDashDropdown':!0x1,'widthRange':{'min':_0x535a8d[_0x1f32ac(0x133)],'max':_0x535a8d[_0x1f32ac(0x17c)],'step':0x1},'onUpdateShapeData':(_0x2559da,_0x2d6c19)=>{_0x491c30(_0x2d6c19,_0xe9f1d9);}});case _0x1f32ac(0x1c3):return(0x0,_0x544d30[_0x1f32ac(0x245)])(_0x2b6c26[_0x1f32ac(0x132)],{'title':_0x25a60a['t']('boards-mind-ui.toolbar.panel.more'),'minWidthClassName':_0x1f32ac(0x252),'children':(0x0,_0x544d30[_0x1f32ac(0x317)])(_0x1f32ac(0x4cf),{'className':'univer-flex\x20univer-flex-col\x20univer-gap-1','children':[(0x0,_0x544d30[_0x1f32ac(0x245)])(_0x2b6c26[_0x1f32ac(0x217)],{'label':_0x25a60a['t'](_0x1f32ac(0x486)),'shortcut':_0x30f502(_0x5d8a3c[_0x1f32ac(0x50b)]),'onClick':_0x3b8136}),(0x0,_0x544d30[_0x1f32ac(0x245)])(_0x2b6c26[_0x1f32ac(0x217)],{'label':_0x25a60a['t'](_0x1f32ac(0x1f5)),'shortcut':_0x30f502(_0x5d8a3c[_0x1f32ac(0x445)]),'onClick':_0xb7bb67}),(0x0,_0x544d30[_0x1f32ac(0x245)])(_0x16270c[_0x1f32ac(0x4a9)],{}),(0x0,_0x544d30['jsx'])(_0x2b6c26[_0x1f32ac(0x217)],{'label':_0x25a60a['t'](_0x1f32ac(0x24d)),'shortcut':_0x30f502(_0x5d8a3c[_0x1f32ac(0x4ff)]),'onClick':_0x15d13c}),(0x0,_0x544d30[_0x1f32ac(0x245)])(_0x2b6c26[_0x1f32ac(0x217)],{'label':_0x25a60a['t']('boards-mind-ui.toolbar.action.paste'),'shortcut':_0x30f502(_0x5d8a3c[_0x1f32ac(0x1f4)]),'onClick':_0xf4dcb5}),(0x0,_0x544d30[_0x1f32ac(0x245)])(_0x2b6c26[_0x1f32ac(0x217)],{'label':_0x25a60a['t'](_0x1f32ac(0x15b)),'shortcut':_0x30f502(_0x5d8a3c[_0x1f32ac(0x3c7)]),'onClick':_0x247c24})]})});default:return null;}},_0x16e980=_0x51071e[_0x2e5514(0x1e2)](_0x2f7a20=>{const _0x242a70=_0x2e5514;let _0x3495eb=[];if(_0x2f7a20[_0x242a70(0x291)]&&_0x3495eb['push']((0x0,_0x544d30['jsx'])(_0x16270c[_0x242a70(0x4a9)],{'orientation':_0x242a70(0x456)},_0x242a70(0x43d)+_0x2f7a20[_0x242a70(0x2c3)])),_0x2f7a20[_0x242a70(0x2c3)]===_0x242a70(0x4a1))return _0x3495eb['push']((0x0,_0x544d30[_0x242a70(0x245)])(_0x2b6c26['TypographyPanelButton'],{'title':_0x25a60a['t'](_0x242a70(0x152)),'fontFamily':_0x30015b[_0x242a70(0x493)],'textStyle':{'isBold':_0x1ea9f8[_0x242a70(0x1c9)]===!0x0,'isItalic':_0x1ea9f8[_0x242a70(0x4b9)]===!0x0,'isUnderline':_0x1ea9f8[_0x242a70(0x165)]===!0x0,'isStrike':_0x1ea9f8[_0x242a70(0x51c)]===!0x0},'horizontalAlign':_0x30015b[_0x242a70(0x243)],'verticalAlign':_0x30015b[_0x242a70(0x4d5)],'horizontalAlignOptions':_0x5ba862,'verticalAlignOptions':_0x19ba19,'onUpdateText':_0x476516},_0x2f7a20[_0x242a70(0x2c3)])),_0x3495eb;if(_0x2f7a20[_0x242a70(0x2c3)]==='fontColor'){let _0x5f299e={'fs':_0x30015b[_0x242a70(0x3de)],'cl':{'rgb':_0x30015b[_0x242a70(0x3ca)]},..._0x30015b[_0x242a70(0x334)]===void 0x0?null:{'textFill':_0x30015b[_0x242a70(0x334)]}};return _0x3495eb[_0x242a70(0x209)]((0x0,_0x544d30[_0x242a70(0x245)])(_0x2b6c26[_0x242a70(0x40a)],{'title':_0x25a60a['t'](_0x242a70(0x323)),'textStyle':_0x5f299e,'fallbackColor':_0x30015b['color'],'onChange':_0x568243=>_0x476516({'textStyle':_0x568243})},_0x2f7a20['kind'])),_0x3495eb[_0x242a70(0x209)]((0x0,_0x544d30[_0x242a70(0x245)])(_0x2b6c26[_0x242a70(0x3b4)],{'value':String(_0x30015b['fontSize']),'onChange':_0x35ab77=>{_0x476516({'textStyle':{'fs':_0x35ab77}});}},_0x242a70(0x50e))),_0x3495eb;}return _0x3495eb[_0x242a70(0x209)]((0x0,_0x544d30[_0x242a70(0x245)])(_0x16270c[_0x242a70(0x12a)],{'open':_0x11305f===_0x2f7a20[_0x242a70(0x11b)],'overlay':_0x2ec848(_0x2f7a20['panel']),'onOpenChange':_0x20360a=>_0x36b1e3(_0x20360a?_0x2f7a20[_0x242a70(0x11b)]:null),'children':(0x0,_0x544d30[_0x242a70(0x245)])('span',{'children':(0x0,_0x544d30['jsx'])(_0x2b6c26[_0x242a70(0x1ba)],{'title':_0x25a60a['t'](_0x2f7a20[_0x242a70(0x316)]),'active':_0x11305f===_0x2f7a20['panel'],'icon':_0x3e14da(_0x5c22f7[_0x2f7a20['panel']]),'sizeClassName':_0x242a70(0x312),'onMouseDown':_0x4faf60,'onPointerDown':_0x4faf60})})},_0x2f7a20[_0x242a70(0x11b)])),_0x3495eb;}),_0x3d8f77=[..._0xce81e0['isRootNode']?[(0x0,_0x544d30[_0x2e5514(0x245)])(_0x16270c['Dropdown'],{'open':_0x11305f===_0x2e5514(0x448),'overlay':_0x394015(),'onOpenChange':_0x21fb73=>_0x36b1e3(_0x21fb73?_0x2e5514(0x448):null),'children':(0x0,_0x544d30[_0x2e5514(0x245)])('span',{'children':(0x0,_0x544d30['jsx'])(_0x2b6c26[_0x2e5514(0x1ba)],{'title':_0x25a60a['t'](_0x2e5514(0x48c)),'active':_0x11305f===_0x2e5514(0x448),'icon':(0x0,_0x544d30[_0x2e5514(0x245)])(_0x1da88e,{}),'sizeClassName':'univer-h-7\x20univer-min-w-9\x20univer-w-auto\x20univer-gap-1\x20univer-px-1.5','onMouseDown':_0x4faf60,'onPointerDown':_0x4faf60})})},_0x2e5514(0x2b8)),(0x0,_0x544d30[_0x2e5514(0x245)])(_0x16270c[_0x2e5514(0x4a9)],{'orientation':_0x2e5514(0x456)},_0x2e5514(0x37e))]:[],(0x0,_0x544d30[_0x2e5514(0x245)])(_0x2b6c26[_0x2e5514(0x49c)],{'title':_0x25a60a['t'](_0x2e5514(0x4ef)),'shapeData':_0x27a299??{},'onUpdateShapeData':_0xe187c7},_0x2e5514(0x2cb)),(0x0,_0x544d30[_0x2e5514(0x245)])(_0x2b6c26['ShapeStrokePanelButton'],{'title':_0x25a60a['t'](_0x2e5514(0x2ce)),'shapeData':_0x27a299??{},'onUpdateShapeData':_0xe187c7},_0x2e5514(0x2f2)),(0x0,_0x544d30[_0x2e5514(0x245)])(_0x16270c['Separator'],{'orientation':_0x2e5514(0x456)},_0x2e5514(0x321))];return(0x0,_0x544d30[_0x2e5514(0x317)])(_0x2b6c26[_0x2e5514(0x4c5)],{'maxWidthClassName':'univer-max-w-[min(760px,calc(100vw-32px))]','onMouseDown':_0x1cba81=>_0x1cba81[_0x2e5514(0x4e5)](),'children':[_0x3d8f77,_0x16e980]});}function _0x20e598(_0x4b995e){let {left:_0x4fe03f,top:_0x37f15d,width:_0x2857af,height:_0x4fc509}=_0x4b995e;return{'left':_0x4fe03f,'right':_0x4fe03f+_0x2857af,'top':_0x37f15d-0x38,'bottom':_0x37f15d+_0x4fc509};}let _0x5f3c65=class extends _0x4aaeb9[_0x114ef7(0x2e2)]{constructor(_0x583811,_0x1577ee,_0x7cb40a,_0x63b3fa,_0xabeb1,_0x5543a8){const _0x1c7143=_0x114ef7;super(),this[_0x1c7143(0x275)]=_0x583811,this[_0x1c7143(0x123)]=_0x1577ee,this[_0x1c7143(0x169)]=_0x7cb40a,this[_0x1c7143(0x276)]=_0x63b3fa,this[_0x1c7143(0x120)]=_0xabeb1,this[_0x1c7143(0x16b)]=_0x5543a8,_0x4bcbf3(this,_0x1c7143(0x1bc),null),_0x4bcbf3(this,'_popupSelectionKey',null),this[_0x1c7143(0x3d8)]();}[_0x114ef7(0x2db)](){const _0x55bc45=_0x114ef7;this[_0x55bc45(0x4d4)](),super[_0x55bc45(0x2db)]();}[_0x114ef7(0x3d8)](){const _0x296969=_0x114ef7;let _0x532901=this['_renderContext'][_0x296969(0x2e7)]['getTransformerByCreate']();this[_0x296969(0x329)]((0x0,_0x4aaeb9[_0x296969(0x3bd)])(_0x532901[_0x296969(0x11d)][_0x296969(0x41c)]((0x0,_0x1e0edb['takeUntil'])(this['dispose$']))[_0x296969(0x263)](()=>this[_0x296969(0x370)]()))),this[_0x296969(0x329)]((0x0,_0x4aaeb9['toDisposable'])(_0x532901[_0x296969(0x4a4)][_0x296969(0x41c)]((0x0,_0x1e0edb[_0x296969(0x480)])(this[_0x296969(0x244)]))[_0x296969(0x263)](()=>this[_0x296969(0x4d7)]()))),this[_0x296969(0x329)]((0x0,_0x4aaeb9[_0x296969(0x3bd)])(_0x532901[_0x296969(0x447)]['pipe']((0x0,_0x1e0edb[_0x296969(0x480)])(this[_0x296969(0x244)]))['subscribe'](()=>this[_0x296969(0x4d4)]()))),this['disposeWithMe']((0x0,_0x4aaeb9[_0x296969(0x3bd)])(_0x532901['changeEnd$'][_0x296969(0x41c)]((0x0,_0x1e0edb[_0x296969(0x480)])(this['dispose$']))[_0x296969(0x263)](()=>setTimeout(()=>this[_0x296969(0x370)](),0x0)))),this[_0x296969(0x329)]((0x0,_0x4aaeb9[_0x296969(0x3bd)])(this[_0x296969(0x276)][_0x296969(0x179)][_0x296969(0x41c)]((0x0,_0x1e0edb['takeUntil'])(this[_0x296969(0x244)]))['subscribe'](()=>setTimeout(()=>this['_showPopupForSelection'](),0x0)))),this[_0x296969(0x329)]((0x0,_0x4aaeb9[_0x296969(0x3bd)])(this[_0x296969(0x16b)]['interactionSurfaceActive$'][_0x296969(0x41c)]((0x0,_0x1e0edb['takeUntil'])(this['dispose$']))[_0x296969(0x263)](_0x55c352=>{const _0x2fc5be=_0x296969;if(_0x55c352){this[_0x2fc5be(0x4d4)]();return;}setTimeout(()=>this[_0x2fc5be(0x370)](),0x0);}))),this[_0x296969(0x329)]((0x0,_0x4aaeb9[_0x296969(0x3bd)])(this[_0x296969(0x120)][_0x296969(0x510)][_0x296969(0x41c)]((0x0,_0x1e0edb['takeUntil'])(this[_0x296969(0x244)]))[_0x296969(0x263)](_0x2291af=>{const _0x255f42=_0x296969;if((_0x2291af==null?void 0x0:_0x2291af['unitId'])===this[_0x255f42(0x275)][_0x255f42(0x48b)]){if(_0x2291af[_0x255f42(0x4a6)]){this[_0x255f42(0x4d4)]();return;}setTimeout(()=>this[_0x255f42(0x370)](),0x0);}})));}[_0x114ef7(0x4d4)](){const _0x206473=_0x114ef7;var _0x39b514;(_0x39b514=this[_0x206473(0x1bc)])==null||_0x39b514[_0x206473(0x2db)](),this[_0x206473(0x1bc)]=null,this['_popupSelectionKey']=null;}[_0x114ef7(0x4d7)](){setTimeout(()=>{const _0xa6bfd1=_0x41da;this[_0xa6bfd1(0x195)]()||this[_0xa6bfd1(0x4d4)]();},0x0);}[_0x114ef7(0x195)](){const _0x143752=_0x114ef7;let _0xd4e585=this[_0x143752(0x276)][_0x143752(0x319)]();return!!_0xd4e585[_0x143752(0x4cd)]&&_0xd4e585['selectedIds'][_0x143752(0x168)]>0x0&&this['_popupSelectionKey']===this['_buildPopupSelectionKey'](_0xd4e585['context'][_0x143752(0x48b)],_0xd4e585[_0x143752(0x4cd)][_0x143752(0x4ae)],_0xd4e585[_0x143752(0x36e)]);}[_0x114ef7(0x260)](_0x223ce9,_0x3039e7,_0x56038d){const _0x57e496=_0x114ef7;return _0x223ce9+':'+_0x3039e7+':'+_0x56038d[_0x57e496(0x4de)](',');}[_0x114ef7(0x41b)](_0x570414,_0xd60be7,_0x44e3e1,_0x3192c2){const _0x498045=_0x114ef7;let _0x4e776d=this['_boardElementService'][_0x498045(0x294)](_0x570414,_0xd60be7),_0x3f23a6=Object[_0x498045(0x25a)](_0x4e776d)['find'](_0x3848df=>{const _0x2792ff=_0x498045;let _0x1c4d43=(0x0,_0x4ecf80[_0x2792ff(0x374)])(_0x3848df[_0x2792ff(0x3bf)]);return(_0x1c4d43==null?void 0x0:_0x1c4d43[_0x2792ff(0x359)])===_0x44e3e1&&_0x1c4d43['childNodeId']===_0x3192c2;});if(_0x3f23a6&&_0x498045(0x3b0)in _0x3f23a6[_0x498045(0x3bf)])return _0x3f23a6[_0x498045(0x3bf)][_0x498045(0x3b0)][_0x498045(0x25c)];}[_0x114ef7(0x370)](){const _0x376485=_0x114ef7;var _0x2d244c,_0x45fb83,_0x34ad59;if(this[_0x376485(0x16b)]['isInteractionSurfaceActive']){this[_0x376485(0x4d4)]();return;}let _0x44e9fe=this[_0x376485(0x120)]['getEditing']();if((_0x44e9fe==null?void 0x0:_0x44e9fe['visible'])===!0x0&&_0x44e9fe[_0x376485(0x48b)]===this[_0x376485(0x275)]['unitId']){this['_clearPopup']();return;}let _0xdf76c7=this[_0x376485(0x276)]['getSnapshot']();if(_0xdf76c7[_0x376485(0x1dc)]){this[_0x376485(0x4d4)]();return;}if((0x0,_0x17cb44[_0x376485(0x18f)])({'context':_0xdf76c7[_0x376485(0x4cd)],'selectedIds':_0xdf76c7['selectedIds'],'getElementById':(_0x2dab6a,_0x1556ae,_0x4d213d)=>this[_0x376485(0x169)][_0x376485(0x4e1)](_0x2dab6a,_0x1556ae,_0x4d213d)})[_0x376485(0x39a)]!=='mind-map'){this['_clearPopup']();return;}let _0x2d93db=this['_renderContext']['scene'][_0x376485(0x484)]()[_0x376485(0x40e)](),_0x13f65a=Array[_0x376485(0x389)](_0x2d93db[_0x376485(0x25a)]())[_0x376485(0x1c1)](_0x351577=>this['_resolveSelectedEntry'](_0x351577))[_0x376485(0x176)](_0x20541a=>!!_0x20541a)[_0x376485(0x176)](_0x2a660e=>!!(0x0,_0x4ecf80[_0x376485(0x135)])(_0x2a660e[_0x376485(0x32a)][_0x376485(0x3bf)])),_0x10283b=_0x13f65a[_0x376485(0x511)](_0x590069=>_0x590069[_0x376485(0x32a)][_0x376485(0x17e)]===_0xdf76c7[_0x376485(0x459)])??_0x13f65a[0x0]??this[_0x376485(0x15d)]();if(!_0x10283b){this['_clearPopup']();return;}let _0xf5f75b=(0x0,_0x4ecf80[_0x376485(0x135)])(_0x10283b[_0x376485(0x32a)]['element']);if(!_0xf5f75b){this[_0x376485(0x4d4)]();return;}let _0x39ea2c=(_0x2d244c=this[_0x376485(0x169)]['getElementData'](_0x10283b[_0x376485(0x32a)][_0x376485(0x48b)],_0x10283b['elementData'][_0x376485(0x4ae)])[_0xf5f75b[_0x376485(0x359)]])==null?void 0x0:_0x2d244c[_0x376485(0x3bf)],_0x316b59=(0x0,_0x4ecf80[_0x376485(0x315)])(_0x39ea2c),_0x376b36=_0x39ea2c==null||(_0x45fb83=_0x39ea2c[_0x376485(0x506)])==null||(_0x45fb83=_0x45fb83[_0x376485(0x429)])==null||(_0x45fb83=_0x45fb83[_0x376485(0x448)])==null?void 0x0:_0x45fb83[_0x376485(0x22a)],_0x3eb8ef=((_0x316b59==null?void 0x0:_0x316b59[_0x376485(0x448)][_0x376485(0x22a)])??_0x376b36)===_0x376485(0x124)&&(_0xf5f75b[_0x376485(0x33d)]===null||_0xf5f75b[_0x376485(0x126)]==='top'),_0x24f85a=_0xf5f75b[_0x376485(0x33d)]!==null&&_0xf5f75b['side']!==_0x376485(0x32e)&&_0xf5f75b[_0x376485(0x126)]!==_0x376485(0x144),_0x32d1b5=_0x3eb8ef||_0x24f85a,_0x17d8db=((_0x34ad59=_0xdf76c7[_0x376485(0x4cd)])==null?void 0x0:_0x34ad59[_0x376485(0x48b)])===_0x10283b[_0x376485(0x32a)][_0x376485(0x48b)]&&_0xdf76c7[_0x376485(0x4cd)][_0x376485(0x4ae)]===_0x10283b['elementData'][_0x376485(0x4ae)]&&_0xdf76c7[_0x376485(0x36e)]['length']?_0xdf76c7[_0x376485(0x36e)]:[_0x10283b[_0x376485(0x32a)]['elementId']],_0x4d4e4c=this[_0x376485(0x260)](_0x10283b[_0x376485(0x32a)][_0x376485(0x48b)],_0x10283b[_0x376485(0x32a)][_0x376485(0x4ae)],_0x17d8db);this[_0x376485(0x1bc)]&&this[_0x376485(0x386)]===_0x4d4e4c||(this[_0x376485(0x4d4)](),this[_0x376485(0x1bc)]=this[_0x376485(0x329)](this[_0x376485(0x123)]['attachPopupToObject'](_0x10283b['elementData'][_0x376485(0x48b)],_0x10283b[_0x376485(0x32a)]['subUnitId'],_0x10283b['object'],{'componentKey':_0x5c03fc,'direction':'top-center','offset':[0x0,0x8],..._0x32d1b5?{'anchorBoundResolver':_0x20e598}:null,'extraProps':{'unitId':_0x10283b[_0x376485(0x32a)]['unitId'],'subUnitId':_0x10283b[_0x376485(0x32a)]['subUnitId'],'elementId':_0x10283b[_0x376485(0x32a)][_0x376485(0x17e)],'scopeId':_0xf5f75b[_0x376485(0x359)],'isRootNode':_0xf5f75b[_0x376485(0x33d)]===null,'left':_0x10283b[_0x376485(0x32a)][_0x376485(0x3bf)][_0x376485(0x19c)][_0x376485(0x4e8)]??0x0,'top':_0x10283b['elementData'][_0x376485(0x3bf)][_0x376485(0x19c)][_0x376485(0x32e)]??0x0,'shapeData':_0x10283b['elementData'][_0x376485(0x3bf)][_0x376485(0x383)]===_0x1184a0[_0x376485(0x224)][_0x376485(0x208)]?_0x10283b[_0x376485(0x32a)][_0x376485(0x3bf)][_0x376485(0x43a)]:void 0x0,'layout':_0x316b59==null?void 0x0:_0x316b59[_0x376485(0x448)],'incomingConnectorStyle':this[_0x376485(0x41b)](_0x10283b['elementData']['unitId'],_0x10283b[_0x376485(0x32a)]['subUnitId'],_0xf5f75b[_0x376485(0x359)],_0x10283b[_0x376485(0x32a)][_0x376485(0x17e)])}})),this['_popupSelectionKey']=_0x4d4e4c);}[_0x114ef7(0x15d)](){const _0xf48501=_0x114ef7;var _0x5f0731;let _0x484ba5=this[_0xf48501(0x276)][_0xf48501(0x319)](),_0x9cf5c=_0x484ba5['context'],_0x37d3ed=_0x484ba5[_0xf48501(0x459)]??_0x484ba5[_0xf48501(0x36e)][0x0];if(!_0x9cf5c||!_0x37d3ed)return null;let _0x4ab2f3=this[_0xf48501(0x169)]['getElementById'](_0x9cf5c[_0xf48501(0x48b)],_0x9cf5c[_0xf48501(0x4ae)],_0x37d3ed);if(!_0x4ab2f3||!(0x0,_0x4ecf80['getMindMapNodeMeta'])(_0x4ab2f3['element']))return null;let _0xcf2f35=(0x0,_0x17cb44[_0xf48501(0x49f)])(_0x9cf5c['unitId'],_0x37d3ed),_0x474ae3=this[_0xf48501(0x275)][_0xf48501(0x2e7)],_0x445999=((_0x5f0731=_0x474ae3[_0xf48501(0x313)])==null?void 0x0:_0x5f0731[_0xf48501(0x47d)](_0x474ae3,_0xcf2f35))??this[_0xf48501(0x275)][_0xf48501(0x2e7)]['getObject'](_0xcf2f35);return _0x445999?{'object':_0x445999,'elementData':_0x4ab2f3}:null;}[_0x114ef7(0x21d)](_0x38fd60){const _0x28aba5=_0x114ef7;var _0x26a19e;if(!_0x38fd60)return null;let _0x50a549=(0x0,_0x17cb44[_0x28aba5(0x377)])(_0x38fd60[_0x28aba5(0x11a)]);if(!_0x50a549)return null;let _0x342a13=this['_elementStateService'][_0x28aba5(0x319)](),_0x2b50de=((_0x26a19e=_0x342a13[_0x28aba5(0x4cd)])==null?void 0x0:_0x26a19e['unitId'])===_0x50a549[_0x28aba5(0x48b)]?_0x342a13[_0x28aba5(0x4cd)]['subUnitId']:void 0x0;if(!_0x2b50de)return null;let _0x1909b9=this[_0x28aba5(0x169)]['getElementById'](_0x50a549[_0x28aba5(0x48b)],_0x2b50de,_0x50a549[_0x28aba5(0x17e)]);return _0x1909b9?{'object':_0x38fd60,'elementData':_0x1909b9}:null;}};_0x5f3c65=_0x41c154([_0x27e70d(0x1,(0x0,_0x4aaeb9[_0x114ef7(0x1f9)])(_0x17cb44['BoardCanvasPopManagerService'])),_0x27e70d(0x2,(0x0,_0x4aaeb9[_0x114ef7(0x1f9)])(_0x1184a0[_0x114ef7(0x2ad)])),_0x27e70d(0x3,(0x0,_0x4aaeb9[_0x114ef7(0x1f9)])(_0x17cb44[_0x114ef7(0x1af)])),_0x27e70d(0x4,(0x0,_0x4aaeb9[_0x114ef7(0x1f9)])(_0x17cb44[_0x114ef7(0x1bd)])),_0x27e70d(0x5,(0x0,_0x4aaeb9[_0x114ef7(0x1f9)])(_0x17cb44['BoardInteractionSurfaceService']))],_0x5f3c65);let _0x2d0813=_0x114ef7(0x45e),_0x4df680=_0x17cb44[_0x114ef7(0x2b3)][_0x114ef7(0x46d)];function _0xaaec94(_0x528148,_0x457c3b){const _0x102649=_0x114ef7;return(_0x528148??[])[_0x102649(0x20a)]((_0x32ae45,_0x54a6c2)=>(_0x32ae45[_0x54a6c2['side']??_0x457c3b]['push'](_0x54a6c2),_0x32ae45),{'left':[],'right':[],'top':[],'bottom':[]});}function _0x50e539(_0x4d2527){const _0x3be794=_0x114ef7;return _0x4d2527===_0x3be794(0x378)||_0x4d2527==='tree-right'||_0x4d2527==='tree-alternate';}function _0x5ccc37(_0x32a57a){const _0x11d315=_0x114ef7;return _0x32a57a===_0x11d315(0x1c4)||_0x32a57a===_0x11d315(0x3bc);}function _0x2dafbb(_0x4ae9f9,_0x4bb37a,_0x5f2962){const _0x46deaa=_0x114ef7;return _0x5f2962===_0x46deaa(0x378)?_0x46deaa(0x4e8):_0x5f2962==='tree-right'?_0x46deaa(0x34e):_0x4ae9f9['side']===_0x46deaa(0x4e8)||_0x4ae9f9[_0x46deaa(0x126)]===_0x46deaa(0x34e)?_0x4ae9f9[_0x46deaa(0x126)]:_0x4bb37a%0x2==0x0?_0x46deaa(0x4e8):_0x46deaa(0x34e);}function _0x1e0699(_0x18db2c,_0x139364){const _0x20cd00=_0x114ef7;return(_0x139364==null?void 0x0:_0x139364[_0x20cd00(0x4db)][_0x20cd00(0x4e0)])??_0x18db2c??[];}var _0x54adea=class extends _0x4253cf[_0x114ef7(0x1e0)]{constructor(_0x331abd=_0x2d0813,_0x37fe97){const _0x26d320=_0x114ef7;super(_0x331abd),_0x4bcbf3(this,_0x26d320(0x3c5),{'point':null,'children':[]}),this['evented']=!0x1,this[_0x26d320(0x189)]=_0x17cb44[_0x26d320(0x1b4)][_0x26d320(0x318)],this[_0x26d320(0x415)](_0x37fe97);}[_0x114ef7(0x415)](_0x5e55c2){const _0x49729f=_0x114ef7;this['_state']={...this[_0x49729f(0x3c5)],..._0x5e55c2},this[_0x49729f(0x3c5)][_0x49729f(0x41d)]?this[_0x49729f(0x485)]():this[_0x49729f(0x2b2)](),this[_0x49729f(0x2c6)](!0x0);}[_0x114ef7(0x51d)](_0x5b22b5){return!0x1;}[_0x114ef7(0x299)](_0x189d60,_0x2b0e9c){const _0x436ead=_0x114ef7;let _0x3dd89d=this[_0x436ead(0x3c5)][_0x436ead(0x41d)];if(!_0x3dd89d||!this['visible'])return this['makeDirty'](!0x1),this;let _0x520d8d=Number[_0x436ead(0x236)](this[_0x436ead(0x3c5)]['zoomRatio'])&&(this['_state']['zoomRatio']??0x0)>0x0?this[_0x436ead(0x3c5)][_0x436ead(0x4c1)]:0x1,_0x15b51b=_0x4ecf80[_0x436ead(0x1a5)][_0x436ead(0x4d0)],_0x3adb12=_0x4ecf80[_0x436ead(0x1a5)]['rootHeight'],_0x37e7a4=_0x4ecf80['MIND_MAP_DEFAULT_NODE_SIZE'][_0x436ead(0x325)],_0x38cebe=_0x4ecf80[_0x436ead(0x1a5)][_0x436ead(0x3f6)],_0x35c482=_0x4ecf80[_0x436ead(0x33c)][_0x436ead(0x255)],_0x59d272=_0x4ecf80[_0x436ead(0x33c)][_0x436ead(0x337)],_0x1f513b=this[_0x436ead(0x3c5)]['structureKind']===_0x436ead(0x124),_0x29e9e3=_0xaaec94(this[_0x436ead(0x3c5)][_0x436ead(0x4e0)],_0x1f513b?_0x436ead(0x144):_0x436ead(0x34e)),_0x4d7c2f=_0x3dd89d['x']-_0x15b51b/0x2,_0x13b0dc=_0x3dd89d['y']-_0x3adb12/0x2;if(_0x189d60[_0x436ead(0x3b6)](),_0x189d60[_0x436ead(0x501)]=_0x5b503f[_0x436ead(0x281)],_0x189d60['lineWidth']=_0x5b503f[_0x436ead(0x200)]/_0x520d8d,_0x189d60[_0x436ead(0x31a)]=_0x5b503f[_0x436ead(0x203)],_0x5ccc37(this[_0x436ead(0x3c5)][_0x436ead(0x22a)])){let _0x1062e9=_0x1e0699(this[_0x436ead(0x3c5)][_0x436ead(0x4e0)],this[_0x436ead(0x3c5)][_0x436ead(0x461)]),_0x236dfc=this[_0x436ead(0x3c5)]['structureKind']==='timeline-horizontal';if(_0x1062e9[_0x436ead(0x168)]>0x0){if(_0x189d60['beginPath'](),_0x236dfc){let _0x591a33=_0x37e7a4,_0x49fa92=_0x38cebe,_0x19cc86=_0x4ecf80[_0x436ead(0x33c)][_0x436ead(0x504)],_0x12c0c8=_0x3dd89d['y'],_0x4ab560=_0x4d7c2f+_0x15b51b,_0x33916b=_0x3dd89d['y']-_0x49fa92/0x2,_0x36a4fa=_0x4d7c2f+_0x15b51b+_0x19cc86;_0x189d60[_0x436ead(0x4be)](_0x4ab560,_0x12c0c8),_0x189d60['lineTo'](_0x36a4fa,_0x12c0c8),_0x1062e9[_0x436ead(0x413)]((_0x455a29,_0x3344b5)=>{const _0x319635=_0x436ead;let _0x9f3e6a=_0x36a4fa+_0x3344b5*(_0x591a33+_0x19cc86);if(_0x3344b5>0x0){let _0x3d557a=_0x36a4fa+(_0x3344b5-0x1)*(_0x591a33+_0x19cc86)+_0x591a33;_0x189d60[_0x319635(0x4be)](_0x3d557a,_0x12c0c8),_0x189d60[_0x319635(0x14b)](_0x9f3e6a,_0x12c0c8);}_0x189d60[_0x319635(0x4be)](_0x9f3e6a,_0x12c0c8),_0x189d60[_0x319635(0x14b)](_0x9f3e6a+_0x591a33,_0x12c0c8);}),_0x189d60[_0x436ead(0x2cf)](),_0x1062e9[_0x436ead(0x413)]((_0x268425,_0xc41cf2)=>{const _0x5be5d3=_0x436ead;_0x53aab3(_0x189d60,_0x36a4fa+_0xc41cf2*(_0x591a33+_0x19cc86),_0x33916b,_0x591a33,_0x49fa92,_0x5b503f[_0x5be5d3(0x3b3)]),_0x189d60[_0x5be5d3(0x180)]=_0x5b503f[_0x5be5d3(0x27b)],_0x189d60[_0x5be5d3(0x1df)](),_0x189d60[_0x5be5d3(0x2cf)]();}),_0x1062e9['forEach']((_0x542afa,_0x58f302)=>{const _0x3cc463=_0x436ead;if(!('children'in _0x542afa)||_0x542afa[_0x3cc463(0x4e0)][_0x3cc463(0x168)]===0x0)return;let _0x2f2fdb=_0x36a4fa+_0x58f302*(_0x591a33+_0x19cc86),_0x5c7bdc=_0x2f2fdb+_0x591a33/0x2,_0x5460cd=_0x542afa[_0x3cc463(0x126)]===_0x3cc463(0x144)?_0x3cc463(0x144):_0x3cc463(0x32e),_0x1dc1df=_0x542afa[_0x3cc463(0x4e0)]['slice'](0x0,0x2),_0x4d3914=_0x1dc1df[_0x3cc463(0x168)]*_0x49fa92+Math['max'](0x0,_0x1dc1df['length']-0x1)*_0x59d272,_0x242ca7=_0x2f2fdb+_0x591a33+_0x4ecf80[_0x3cc463(0x33c)][_0x3cc463(0x173)],_0x351412=_0x5460cd===_0x3cc463(0x32e)?_0x33916b-_0x35c482-_0x4d3914:_0x33916b+_0x49fa92+_0x35c482,_0x5e2fba=_0x351412+_0x4d3914/0x2;_0x189d60[_0x3cc463(0x1b7)](),_0x189d60[_0x3cc463(0x4be)](_0x5c7bdc,_0x5460cd===_0x3cc463(0x32e)?_0x33916b:_0x33916b+_0x49fa92),_0x189d60[_0x3cc463(0x14b)](_0x5c7bdc,_0x5e2fba),_0x189d60[_0x3cc463(0x14b)](_0x242ca7,_0x5e2fba),_0x1dc1df['forEach']((_0x553c9e,_0x5f5bd1)=>{const _0x1f4518=_0x3cc463;let _0x4b6a5a=_0x351412+_0x5f5bd1*(_0x49fa92+_0x59d272)+_0x49fa92/0x2;_0x189d60[_0x1f4518(0x4be)](_0x242ca7,_0x4b6a5a),_0x189d60[_0x1f4518(0x14b)](_0x242ca7+_0x591a33,_0x4b6a5a);}),_0x189d60['stroke'](),_0x1dc1df[_0x3cc463(0x413)]((_0x5e1311,_0x2768ec)=>{const _0x2cd45f=_0x3cc463;let _0x38b3f6=_0x351412+_0x2768ec*(_0x49fa92+_0x59d272);_0x53aab3(_0x189d60,_0x242ca7,_0x38b3f6,_0x591a33,_0x49fa92,_0x5b503f[_0x2cd45f(0x3b3)]),_0x189d60[_0x2cd45f(0x180)]=_0x5b503f[_0x2cd45f(0x27b)],_0x189d60[_0x2cd45f(0x1df)](),_0x189d60['stroke']();});});}else{let _0x3f7731=_0x3dd89d['x'],_0x5475e5=_0x13b0dc+_0x3adb12,_0x44dea8=_0x4ecf80[_0x436ead(0x33c)]['timelineAxisGap'],_0x2cc3c1=_0x13b0dc+_0x3adb12+_0x44dea8,_0x392afe=_0x2cc3c1+(_0x1062e9[_0x436ead(0x168)]-0x1)*(_0x38cebe+_0x44dea8)+_0x38cebe/0x2;_0x189d60[_0x436ead(0x4be)](_0x3f7731,_0x5475e5),_0x189d60['lineTo'](_0x3f7731,_0x392afe),_0x1062e9[_0x436ead(0x413)]((_0x1d8692,_0x49f698)=>{const _0x3de1fc=_0x436ead;let _0x396f54=_0x2cc3c1+_0x49f698*(_0x38cebe+_0x44dea8)+_0x38cebe/0x2,_0x3908d6=_0x1d8692[_0x3de1fc(0x126)]==='right'?_0x3de1fc(0x34e):'left',_0x120e0e=_0x3908d6===_0x3de1fc(0x34e)?_0x3f7731+_0x4ecf80['MIND_MAP_DEFAULT_LAYOUT'][_0x3de1fc(0x173)]:_0x3f7731-_0x4ecf80['MIND_MAP_DEFAULT_LAYOUT'][_0x3de1fc(0x173)]-_0x37e7a4,_0x42135e=_0x3908d6===_0x3de1fc(0x34e)?_0x120e0e:_0x120e0e+_0x37e7a4;_0x189d60[_0x3de1fc(0x4be)](_0x3f7731,_0x396f54),_0x189d60['lineTo'](_0x42135e,_0x396f54);}),_0x189d60[_0x436ead(0x2cf)](),_0x1062e9[_0x436ead(0x413)]((_0x16baf7,_0x32b329)=>{const _0x23bbd4=_0x436ead;let _0x31101a=_0x2cc3c1+_0x32b329*(_0x38cebe+_0x44dea8);_0x53aab3(_0x189d60,(_0x16baf7['side']===_0x23bbd4(0x34e)?_0x23bbd4(0x34e):_0x23bbd4(0x4e8))=='right'?_0x3f7731+_0x4ecf80[_0x23bbd4(0x33c)][_0x23bbd4(0x173)]:_0x3f7731-_0x4ecf80[_0x23bbd4(0x33c)][_0x23bbd4(0x173)]-_0x37e7a4,_0x31101a,_0x37e7a4,_0x38cebe,_0x5b503f[_0x23bbd4(0x3b3)]),_0x189d60[_0x23bbd4(0x180)]=_0x5b503f[_0x23bbd4(0x27b)],_0x189d60[_0x23bbd4(0x1df)](),_0x189d60[_0x23bbd4(0x2cf)]();}),_0x1062e9['forEach']((_0x3911c7,_0x56bb1e)=>{const _0x5f3ec5=_0x436ead;if(!('children'in _0x3911c7)||_0x3911c7[_0x5f3ec5(0x4e0)][_0x5f3ec5(0x168)]===0x0)return;let _0x37ebee=_0x2cc3c1+_0x56bb1e*(_0x38cebe+_0x44dea8)+_0x38cebe/0x2,_0x3ed24d=_0x3911c7[_0x5f3ec5(0x126)]==='right'?_0x5f3ec5(0x34e):'left',_0x3445b2=_0x3911c7[_0x5f3ec5(0x4e0)]['slice'](0x0,0x2),_0x2b3e0b=_0x3445b2[_0x5f3ec5(0x168)]*_0x38cebe+Math[_0x5f3ec5(0x17c)](0x0,_0x3445b2[_0x5f3ec5(0x168)]-0x1)*_0x59d272,_0x1c3c24=_0x3ed24d===_0x5f3ec5(0x34e)?_0x3f7731+_0x4ecf80[_0x5f3ec5(0x33c)][_0x5f3ec5(0x173)]:_0x3f7731-_0x4ecf80[_0x5f3ec5(0x33c)][_0x5f3ec5(0x173)]-_0x37e7a4,_0x26db9c=_0x3ed24d===_0x5f3ec5(0x34e)?_0x1c3c24+_0x37e7a4+_0x35c482:_0x1c3c24-_0x35c482-_0x37e7a4,_0x31b60a=_0x37ebee-_0x2b3e0b/0x2,_0x41e976=_0x3ed24d===_0x5f3ec5(0x34e)?_0x1c3c24+_0x37e7a4:_0x1c3c24,_0x191a08=_0x3ed24d===_0x5f3ec5(0x34e)?_0x26db9c:_0x26db9c+_0x37e7a4;_0x189d60[_0x5f3ec5(0x1b7)](),_0x189d60['moveTo'](_0x41e976,_0x37ebee),_0x189d60['lineTo'](_0x191a08,_0x37ebee),_0x3445b2[_0x5f3ec5(0x413)]((_0x5588c0,_0xa17ebd)=>{const _0x463146=_0x5f3ec5;let _0x2c532=_0x31b60a+_0xa17ebd*(_0x38cebe+_0x59d272)+_0x38cebe/0x2;_0x189d60[_0x463146(0x4be)](_0x191a08,_0x2c532),_0x189d60[_0x463146(0x14b)](_0x3ed24d===_0x463146(0x34e)?_0x26db9c+_0x37e7a4:_0x26db9c,_0x2c532);}),_0x189d60['stroke'](),_0x3445b2[_0x5f3ec5(0x413)]((_0x2b14d5,_0x3cc721)=>{const _0x34a2d4=_0x5f3ec5;let _0x50bfb9=_0x31b60a+_0x3cc721*(_0x38cebe+_0x59d272);_0x53aab3(_0x189d60,_0x26db9c,_0x50bfb9,_0x37e7a4,_0x38cebe,_0x5b503f['ghostRadius']),_0x189d60[_0x34a2d4(0x180)]=_0x5b503f[_0x34a2d4(0x27b)],_0x189d60[_0x34a2d4(0x1df)](),_0x189d60[_0x34a2d4(0x2cf)]();});});}}}else{if(_0x50e539(this['_state'][_0x436ead(0x22a)])){let _0x503eb3=this[_0x436ead(0x3c5)][_0x436ead(0x4e0)]??[],_0x3306aa=_0x13b0dc+_0x3adb12,_0x128f2e=_0x3306aa+_0x35c482,_0x5ba561=_0x3dd89d['x'];if(_0x503eb3[_0x436ead(0x168)]>0x0){let _0xb52da=_0x128f2e+(_0x503eb3[_0x436ead(0x168)]-0x1)*(_0x38cebe+_0x59d272)+_0x38cebe/0x2;_0x189d60['beginPath'](),_0x189d60[_0x436ead(0x4be)](_0x5ba561,_0x3306aa),_0x189d60[_0x436ead(0x14b)](_0x5ba561,_0xb52da),_0x503eb3[_0x436ead(0x413)]((_0x288f32,_0x442893)=>{const _0xe437f4=_0x436ead;let _0x17db26=_0x2dafbb(_0x288f32,_0x442893,this[_0xe437f4(0x3c5)][_0xe437f4(0x22a)]),_0x41617a=_0x128f2e+_0x442893*(_0x38cebe+_0x59d272),_0x4b728a=_0x17db26==='right'?_0x5ba561+_0x35c482:_0x5ba561-_0x35c482-_0x37e7a4,_0x345f61=_0x41617a+_0x38cebe/0x2;_0x189d60['moveTo'](_0x5ba561,_0x345f61),_0x189d60['lineTo'](_0x17db26==='right'?_0x4b728a:_0x4b728a+_0x37e7a4,_0x345f61);}),_0x189d60[_0x436ead(0x2cf)](),_0x503eb3[_0x436ead(0x413)]((_0x2ec51c,_0x3d7d87)=>{const _0x23b033=_0x436ead;let _0x32a93f=_0x2dafbb(_0x2ec51c,_0x3d7d87,this[_0x23b033(0x3c5)]['structureKind']),_0x531b82=_0x128f2e+_0x3d7d87*(_0x38cebe+_0x59d272);_0x53aab3(_0x189d60,_0x32a93f===_0x23b033(0x34e)?_0x5ba561+_0x35c482:_0x5ba561-_0x35c482-_0x37e7a4,_0x531b82,_0x37e7a4,_0x38cebe,_0x5b503f[_0x23b033(0x3b3)]),_0x189d60[_0x23b033(0x180)]=_0x5b503f[_0x23b033(0x27b)],_0x189d60[_0x23b033(0x1df)](),_0x189d60['stroke']();});}}else _0x1f513b&&['top',_0x436ead(0x144)][_0x436ead(0x413)](_0x5bfe6b=>{const _0x2690c6=_0x436ead;let _0x3f2fa2=_0x29e9e3[_0x5bfe6b];if(_0x3f2fa2[_0x2690c6(0x168)]===0x0)return;let _0x21a24f=_0x3f2fa2[_0x2690c6(0x168)]*_0x37e7a4+Math[_0x2690c6(0x17c)](0x0,_0x3f2fa2[_0x2690c6(0x168)]-0x1)*_0x59d272,_0x384af7=_0x3dd89d['x']-_0x21a24f/0x2,_0x303e6c=_0x5bfe6b===_0x2690c6(0x144)?_0x13b0dc+_0x3adb12:_0x13b0dc,_0x24ed36=_0x5bfe6b===_0x2690c6(0x144)?_0x303e6c+_0x4ecf80['MIND_MAP_DEFAULT_LAYOUT'][_0x2690c6(0x173)]:_0x303e6c-_0x4ecf80[_0x2690c6(0x33c)]['branchGap'],_0x578b53=_0x5bfe6b===_0x2690c6(0x144)?_0x13b0dc+_0x3adb12+_0x35c482:_0x13b0dc-_0x35c482-_0x38cebe;_0x189d60['beginPath'](),_0x189d60[_0x2690c6(0x4be)](_0x3dd89d['x'],_0x303e6c),_0x189d60[_0x2690c6(0x14b)](_0x3dd89d['x'],_0x24ed36),_0x3f2fa2[_0x2690c6(0x168)]>0x1&&(_0x189d60[_0x2690c6(0x4be)](_0x384af7+_0x37e7a4/0x2,_0x24ed36),_0x189d60[_0x2690c6(0x14b)](_0x384af7+_0x21a24f-_0x37e7a4/0x2,_0x24ed36)),_0x3f2fa2[_0x2690c6(0x413)]((_0x1a132e,_0x463b3c)=>{const _0x978a5a=_0x2690c6;let _0x16eae6=_0x384af7+_0x463b3c*(_0x37e7a4+_0x59d272)+_0x37e7a4/0x2;_0x189d60[_0x978a5a(0x4be)](_0x16eae6,_0x24ed36),_0x189d60[_0x978a5a(0x14b)](_0x16eae6,_0x5bfe6b===_0x978a5a(0x144)?_0x578b53:_0x578b53+_0x38cebe);}),_0x189d60[_0x2690c6(0x2cf)](),_0x3f2fa2['forEach']((_0xe6b80d,_0x3a6a78)=>{const _0x6a7c3b=_0x2690c6;_0x53aab3(_0x189d60,_0x384af7+_0x3a6a78*(_0x37e7a4+_0x59d272),_0x578b53,_0x37e7a4,_0x38cebe,_0x5b503f[_0x6a7c3b(0x3b3)]),_0x189d60[_0x6a7c3b(0x180)]=_0x5b503f[_0x6a7c3b(0x27b)],_0x189d60[_0x6a7c3b(0x1df)](),_0x189d60[_0x6a7c3b(0x2cf)]();});});}(_0x1f513b||_0x50e539(this[_0x436ead(0x3c5)][_0x436ead(0x22a)])||_0x5ccc37(this[_0x436ead(0x3c5)]['structureKind'])?[]:[_0x436ead(0x4e8),'right'])['forEach'](_0x265e4b=>{const _0x3dc014=_0x436ead;let _0x3e1890=_0x29e9e3[_0x265e4b];if(_0x3e1890[_0x3dc014(0x168)]===0x0)return;let _0x5612f5=_0x3e1890[_0x3dc014(0x168)]*_0x38cebe+Math[_0x3dc014(0x17c)](0x0,_0x3e1890[_0x3dc014(0x168)]-0x1)*_0x59d272,_0xf16253=_0x3dd89d['y']-_0x5612f5/0x2,_0x1d97c6=_0x265e4b==='right'?_0x4d7c2f+_0x15b51b:_0x4d7c2f,_0x1bb4bb=_0x265e4b===_0x3dc014(0x34e)?_0x1d97c6+_0x4ecf80[_0x3dc014(0x33c)]['branchGap']:_0x1d97c6-_0x4ecf80[_0x3dc014(0x33c)][_0x3dc014(0x173)],_0x2e47d0=_0x265e4b===_0x3dc014(0x34e)?_0x4d7c2f+_0x15b51b+_0x35c482:_0x4d7c2f-_0x35c482-_0x37e7a4;_0x189d60['beginPath'](),_0x189d60[_0x3dc014(0x4be)](_0x1d97c6,_0x3dd89d['y']),_0x189d60[_0x3dc014(0x14b)](_0x1bb4bb,_0x3dd89d['y']),_0x3e1890[_0x3dc014(0x168)]>0x1&&(_0x189d60[_0x3dc014(0x4be)](_0x1bb4bb,_0xf16253+_0x38cebe/0x2),_0x189d60['lineTo'](_0x1bb4bb,_0xf16253+_0x5612f5-_0x38cebe/0x2)),_0x3e1890[_0x3dc014(0x413)]((_0x28a06f,_0x1784b4)=>{const _0x4e8e4b=_0x3dc014;let _0x4e8640=_0xf16253+_0x1784b4*(_0x38cebe+_0x59d272)+_0x38cebe/0x2;_0x189d60[_0x4e8e4b(0x4be)](_0x1bb4bb,_0x4e8640),_0x189d60[_0x4e8e4b(0x14b)](_0x265e4b==='right'?_0x2e47d0:_0x2e47d0+_0x37e7a4,_0x4e8640);}),_0x189d60[_0x3dc014(0x2cf)](),_0x3e1890[_0x3dc014(0x413)]((_0x3cc433,_0x43f67d)=>{const _0x2c2798=_0x3dc014;let _0x41c063=_0xf16253+_0x43f67d*(_0x38cebe+_0x59d272);_0x53aab3(_0x189d60,_0x2e47d0,_0x41c063,_0x37e7a4,_0x38cebe,_0x5b503f[_0x2c2798(0x3b3)]),_0x189d60[_0x2c2798(0x180)]=_0x5b503f['ghostFillColor'],_0x189d60[_0x2c2798(0x1df)](),_0x189d60['stroke']();});}),_0x53aab3(_0x189d60,_0x4d7c2f,_0x13b0dc,_0x15b51b,_0x3adb12,_0x5b503f[_0x436ead(0x184)]),_0x189d60[_0x436ead(0x180)]=_0x5b503f[_0x436ead(0x203)],_0x189d60[_0x436ead(0x1df)](),_0x189d60[_0x436ead(0x2cf)](),_0x189d60[_0x436ead(0x180)]=_0x5b503f[_0x436ead(0x45c)],_0x189d60[_0x436ead(0x26d)]=_0x2263c8(_0x5b503f[_0x436ead(0x167)],_0x5b503f[_0x436ead(0x232)],_0x520d8d),_0x189d60[_0x436ead(0x397)]=_0x436ead(0x2a4),_0x189d60['textBaseline']=_0x436ead(0x2a2);let _0x8fb2bc=_0x5b503f[_0x436ead(0x418)]/_0x520d8d;return _0x189d60[_0x436ead(0x424)](_0x4ecf80[_0x436ead(0x18b)],_0x3dd89d['x'],_0x3dd89d['y'],Math[_0x436ead(0x17c)](0x1,_0x15b51b-_0x8fb2bc*0x2)),_0x189d60[_0x436ead(0x3d2)](),this['makeDirty'](!0x1),this;}};let _0x4e001c={'children':[{'text':_0x4ecf80[_0x114ef7(0x18b)],'orderKey':(0x0,_0x4ecf80[_0x114ef7(0x27d)])(0x0),'side':_0x114ef7(0x34e)},{'text':_0x4ecf80['MIND_MAP_DEFAULT_NODE_TEXT'],'orderKey':(0x0,_0x4ecf80['getMindMapDefaultChildOrderKey'])(0x1),'side':_0x114ef7(0x34e)},{'text':_0x4ecf80[_0x114ef7(0x18b)],'orderKey':(0x0,_0x4ecf80[_0x114ef7(0x27d)])(0x2),'side':'right'}]};var _0x7425d1=class extends _0x4aaeb9['Disposable']{constructor(..._0x4c2dd1){const _0x4a7adc=_0x114ef7;super(..._0x4c2dd1),_0x4bcbf3(this,_0x4a7adc(0x4dc),_0x4e001c);}[_0x114ef7(0x2b7)](_0x1568f0){const _0x33b09e=_0x114ef7;var _0x1394ae;let _0x306820=(_0x1568f0==null?void 0x0:_0x1568f0[_0x33b09e(0x4e0)])??(_0x1568f0==null||(_0x1394ae=_0x1568f0[_0x33b09e(0x461)])==null?void 0x0:_0x1394ae[_0x33b09e(0x4db)][_0x33b09e(0x4e0)]);this[_0x33b09e(0x4dc)]={'rootText':_0x1568f0==null?void 0x0:_0x1568f0[_0x33b09e(0x437)],'structureKind':_0x1568f0==null?void 0x0:_0x1568f0['structureKind'],'branchLineType':_0x1568f0==null?void 0x0:_0x1568f0['branchLineType'],'children':this['_normalizeChildren'](_0x306820,_0x1568f0==null?void 0x0:_0x1568f0[_0x33b09e(0x22a)]),'blueprint':_0x1568f0!=null&&_0x1568f0[_0x33b09e(0x461)]?this['_cloneBlueprint'](_0x1568f0[_0x33b09e(0x461)]):void 0x0};}[_0x114ef7(0x36a)](){const _0xf8bdbb=_0x114ef7;var _0xe6a02d;return{'rootText':this[_0xf8bdbb(0x4dc)]['rootText'],'structureKind':this[_0xf8bdbb(0x4dc)][_0xf8bdbb(0x22a)],'branchLineType':this[_0xf8bdbb(0x4dc)]['branchLineType'],'children':(_0xe6a02d=this[_0xf8bdbb(0x4dc)][_0xf8bdbb(0x4e0)])==null?void 0x0:_0xe6a02d[_0xf8bdbb(0x1c1)](_0x4f7f6a=>({..._0x4f7f6a})),'blueprint':this[_0xf8bdbb(0x4dc)][_0xf8bdbb(0x461)]?this[_0xf8bdbb(0x213)](this['_template'][_0xf8bdbb(0x461)]):void 0x0};}[_0x114ef7(0x213)](_0x4182f0){const _0x7bce62=_0x114ef7;return{'title':_0x4182f0[_0x7bce62(0x340)],'root':this[_0x7bce62(0x4ac)](_0x4182f0['root'])};}[_0x114ef7(0x4ac)](_0x5df8c0){const _0x7e271=_0x114ef7;return{..._0x5df8c0,'foreignAttributes':_0x5df8c0[_0x7e271(0x31b)]?{..._0x5df8c0[_0x7e271(0x31b)]}:void 0x0,'children':_0x5df8c0[_0x7e271(0x4e0)]['map'](_0x5c6bea=>this['_cloneBlueprintNode'](_0x5c6bea))};}['_normalizeChildren'](_0x48887c,_0x244dc3){const _0x5ab99b=_0x114ef7;let _0x5158a1=!_0x48887c,_0x3554d8=_0x48887c??_0x4e001c[_0x5ab99b(0x4e0)];return _0x3554d8==null?void 0x0:_0x3554d8['map']((_0x1ad4a9,_0x24ec62)=>({..._0x1ad4a9,'text':_0x1ad4a9[_0x5ab99b(0x2d2)]??_0x4ecf80[_0x5ab99b(0x18b)],'side':this[_0x5ab99b(0x1f1)](_0x1ad4a9[_0x5ab99b(0x126)],_0x24ec62,_0x244dc3,_0x5158a1)}));}['_resolveChildSide'](_0x19eb2f,_0x4d7ee0,_0x9f06e0,_0x38bc5e){const _0x1fbbf4=_0x114ef7;return _0x9f06e0===_0x1fbbf4(0x124)?_0x38bc5e?_0x1fbbf4(0x144):_0x19eb2f??_0x1fbbf4(0x144):_0x9f06e0===_0x1fbbf4(0x378)?_0x38bc5e?_0x1fbbf4(0x4e8):_0x19eb2f??'left':_0x9f06e0===_0x1fbbf4(0x14e)?_0x38bc5e?'right':_0x19eb2f??_0x1fbbf4(0x34e):_0x9f06e0===_0x1fbbf4(0x21f)?_0x38bc5e?_0x4d7ee0%0x2==0x0?'left':_0x1fbbf4(0x34e):_0x19eb2f??(_0x4d7ee0%0x2==0x0?_0x1fbbf4(0x4e8):_0x1fbbf4(0x34e)):_0x9f06e0===_0x1fbbf4(0x1c4)?_0x38bc5e?_0x4d7ee0%0x2==0x0?_0x1fbbf4(0x32e):'bottom':_0x19eb2f??(_0x4d7ee0%0x2==0x0?_0x1fbbf4(0x32e):_0x1fbbf4(0x144)):_0x9f06e0==='timeline-vertical'?_0x38bc5e?_0x4d7ee0%0x2==0x0?'left':_0x1fbbf4(0x34e):_0x19eb2f??(_0x4d7ee0%0x2==0x0?_0x1fbbf4(0x4e8):_0x1fbbf4(0x34e)):_0x19eb2f;}};function _0x2e6aa5(_0x3d2c46,_0x36735d){const _0x1410f7=_0x114ef7;let _0x13b189=Number[_0x1410f7(0x236)](_0x36735d[_0x1410f7(0x4c1)])&&_0x36735d[_0x1410f7(0x4c1)]>0x0?_0x36735d[_0x1410f7(0x4c1)]:0x1;return{'x':Math['round']((_0x3d2c46['offsetX']-_0x36735d[_0x1410f7(0x178)]['x'])/_0x13b189),'y':Math[_0x1410f7(0x129)]((_0x3d2c46[_0x1410f7(0x19d)]-_0x36735d[_0x1410f7(0x178)]['y'])/_0x13b189)};}function _0x42565a(_0x40f41b){const _0x387b64=_0x114ef7;var _0x1c5ca0;if(_0x40f41b!=null&&_0x40f41b[_0x387b64(0x2db)]){_0x40f41b[_0x387b64(0x2db)]();return;}_0x40f41b==null||(_0x1c5ca0=_0x40f41b[_0x387b64(0x4da)])==null||_0x1c5ca0['call'](_0x40f41b);}function _0x5243d4(_0x158d8d){const _0x4790ca=_0x114ef7;var _0x1466a9;return _0x158d8d[_0x4790ca(0x29f)]===_0x1184a0[_0x4790ca(0x422)][_0x4790ca(0x17a)]&&((_0x1466a9=_0x158d8d[_0x4790ca(0x187)])==null?void 0x0:_0x1466a9[_0x4790ca(0x383)])===_0x1184a0[_0x4790ca(0x422)]['MindMap'];}let _0x145f65=class extends _0x4aaeb9[_0x114ef7(0x2e2)]{constructor(_0xe0e47c,_0x19e41e,_0x35f581,_0x138906,_0x59ec24,_0xb2f5c0,_0x44dba4){const _0x27ceee=_0x114ef7;super(),this[_0x27ceee(0x275)]=_0xe0e47c,this[_0x27ceee(0x227)]=_0x19e41e,this['_stateService']=_0x35f581,this[_0x27ceee(0x3dc)]=_0x138906,this['_insertStateService']=_0x59ec24,this[_0x27ceee(0x276)]=_0xb2f5c0,this[_0x27ceee(0x120)]=_0x44dba4,_0x4bcbf3(this,_0x27ceee(0x202),null),_0x4bcbf3(this,'_lastPoint',null),this['_init']();}['_init'](){const _0xfe61c=_0x114ef7;var _0x3f196c;let {scene:_0x42694c,unitId:_0x2c37b2}=this[_0xfe61c(0x275)],_0x8f54c7=this[_0xfe61c(0x227)][_0xfe61c(0x19b)](_0x2c37b2,_0x4aaeb9[_0xfe61c(0x449)][_0xfe61c(0x336)]);if(!_0x8f54c7)return;let _0x36904e=(_0x3f196c=_0x42694c[_0xfe61c(0x1cd)])==null?void 0x0:_0x3f196c['subscribeEvent']({'priority':0x4,'next':([_0x317512,_0x279d55])=>this[_0xfe61c(0x136)](_0x317512,_0x279d55)}),_0x77b5eb=_0x42694c[_0xfe61c(0x473)][_0xfe61c(0x3d4)]({'priority':0x4,'next':([_0x5bef81,_0x2a41b2])=>this[_0xfe61c(0x379)](_0x8f54c7,_0x5bef81,_0x2a41b2)});this[_0xfe61c(0x329)]((0x0,_0x4aaeb9[_0xfe61c(0x3bd)])(()=>_0x42565a(_0x36904e))),this['disposeWithMe']((0x0,_0x4aaeb9['toDisposable'])(()=>_0x42565a(_0x77b5eb)));let _0x1a1123=this['_stateService'][_0xfe61c(0x179)][_0xfe61c(0x263)](()=>this[_0xfe61c(0x503)]());this['disposeWithMe']((0x0,_0x4aaeb9[_0xfe61c(0x3bd)])(()=>_0x42565a(_0x1a1123))),this[_0xfe61c(0x329)]((0x0,_0x4aaeb9['toDisposable'])(()=>{const _0x4dac4c=_0xfe61c;this[_0x4dac4c(0x3d0)]();})),this['_syncPreviewObject']();}[_0x114ef7(0x503)](){const _0x301b3e=_0x114ef7;var _0xba483e,_0x58f03a;let _0x42858c=this[_0x301b3e(0x270)][_0x301b3e(0x344)]();if(!_0x5243d4(_0x42858c)){this[_0x301b3e(0x3d0)]();return;}let _0x13bbae=this[_0x301b3e(0x339)](),_0x509d21=this['_insertStateService']['getTemplate']();_0x13bbae[_0x301b3e(0x415)]({'point':this['_lastPoint'],'structureKind':_0x509d21['structureKind'],'children':_0x509d21[_0x301b3e(0x4e0)],'blueprint':_0x509d21[_0x301b3e(0x461)],'zoomRatio':_0x42858c[_0x301b3e(0x4c1)]}),(_0xba483e=(_0x58f03a=this[_0x301b3e(0x275)][_0x301b3e(0x2e7)])[_0x301b3e(0x2c6)])==null||_0xba483e[_0x301b3e(0x47d)](_0x58f03a,!0x0);}[_0x114ef7(0x339)](){const _0x10a96c=_0x114ef7;var _0x508a91,_0x5f06c2;if(this['_previewObject'])return this[_0x10a96c(0x202)];let _0x164697=this['_insertStateService']['getTemplate'](),_0x451717=new _0x54adea(_0x2d0813,{'point':this['_lastPoint'],'structureKind':_0x164697[_0x10a96c(0x22a)],'children':_0x164697[_0x10a96c(0x4e0)],'blueprint':_0x164697['blueprint'],'zoomRatio':this['_stateService'][_0x10a96c(0x344)]()[_0x10a96c(0x4c1)]});return this[_0x10a96c(0x202)]=_0x451717,(_0x508a91=(_0x5f06c2=this[_0x10a96c(0x275)][_0x10a96c(0x2e7)])[_0x10a96c(0x4e2)])==null||_0x508a91[_0x10a96c(0x47d)](_0x5f06c2,_0x451717,_0x4df680),_0x451717;}[_0x114ef7(0x3d0)](){const _0x9d70d5=_0x114ef7;var _0xbab529,_0xdadaa6,_0x17d020,_0x164235;if(!this['_previewObject']){this['_lastPoint']=null;return;}(_0xbab529=(_0xdadaa6=this[_0x9d70d5(0x275)][_0x9d70d5(0x2e7)])[_0x9d70d5(0x301)])==null||_0xbab529[_0x9d70d5(0x47d)](_0xdadaa6,[this[_0x9d70d5(0x202)]]),this[_0x9d70d5(0x202)]=null,this[_0x9d70d5(0x11e)]=null,(_0x17d020=(_0x164235=this[_0x9d70d5(0x275)][_0x9d70d5(0x2e7)])[_0x9d70d5(0x2c6)])==null||_0x17d020[_0x9d70d5(0x47d)](_0x164235,!0x0);}[_0x114ef7(0x154)](_0xa55061){const _0x54c5e2=_0x114ef7;let _0xd65f73=this[_0x54c5e2(0x270)][_0x54c5e2(0x344)]();return _0x2e6aa5(_0xa55061,{'panOffset':_0xd65f73[_0x54c5e2(0x355)],'zoomRatio':_0xd65f73[_0x54c5e2(0x4c1)]});}[_0x114ef7(0x1da)](_0xa4960b){const _0x170d77=_0x114ef7;return{'left':Math['round'](_0xa4960b['x']-_0x4ecf80[_0x170d77(0x1a5)][_0x170d77(0x4d0)]/0x2),'top':Math[_0x170d77(0x129)](_0xa4960b['y']-_0x4ecf80[_0x170d77(0x1a5)][_0x170d77(0x284)]/0x2)};}[_0x114ef7(0x136)](_0x3819d4,_0x5e3caf){const _0x4e6164=_0x114ef7;_0x5243d4(this[_0x4e6164(0x270)][_0x4e6164(0x344)]())&&(this[_0x4e6164(0x11e)]=this[_0x4e6164(0x154)](_0x3819d4),this[_0x4e6164(0x503)](),_0x5e3caf['stopPropagation']());}async[_0x114ef7(0x379)](_0x45505c,_0x5e28cd,_0x596ff5){const _0x3b0333=_0x114ef7;let _0x138369=await this[_0x3b0333(0x296)](_0x45505c,_0x5e28cd,_0x596ff5);if(!_0x138369)return;let _0x36c892={'unitId':this[_0x3b0333(0x275)][_0x3b0333(0x48b)],'subUnitId':_0x138369[_0x3b0333(0x4ae)]};this[_0x3b0333(0x120)][_0x3b0333(0x4b0)](),this[_0x3b0333(0x120)][_0x3b0333(0x214)]({..._0x36c892,'shapeId':_0x138369[_0x3b0333(0x2ac)],'shapeKey':(0x0,_0x17cb44[_0x3b0333(0x49f)])(_0x36c892[_0x3b0333(0x48b)],_0x138369[_0x3b0333(0x2ac)]),'visible':!0x0});}async[_0x114ef7(0x296)](_0x550a2e,_0x2ab5f3,_0x5c5bd1){const _0x1b6894=_0x114ef7;var _0x3df0f6;let _0x272464=this[_0x1b6894(0x270)]['getState'](),_0x1b7c07=_0x2ab5f3['button']??0x0;if(!_0x5243d4(_0x272464)||_0x1b7c07!==0x0)return null;let _0x3f5014=this[_0x1b6894(0x154)](_0x2ab5f3),_0x11643f=this['_resolveRootTopLeft'](_0x3f5014),_0x469a67=this[_0x1b6894(0x166)][_0x1b6894(0x36a)](),_0x4a8cb5=(0x0,_0x4aaeb9[_0x1b6894(0x3e0)])(0x6),_0x397b30=_0x550a2e[_0x1b6894(0x2cd)](),_0x935b78=this[_0x1b6894(0x3dc)]['executeCommand'](_0x4ecf80[_0x1b6894(0x157)]['id'],{'unitId':this[_0x1b6894(0x275)][_0x1b6894(0x48b)],'subUnitId':_0x397b30,'left':_0x11643f[_0x1b6894(0x4e8)],'top':_0x11643f[_0x1b6894(0x32e)],'rootNodeId':_0x4a8cb5,'rootText':_0x469a67[_0x1b6894(0x437)],'structureKind':_0x469a67[_0x1b6894(0x22a)],'branchLineType':_0x469a67['branchLineType'],'children':_0x469a67[_0x1b6894(0x4e0)],'blueprint':_0x469a67[_0x1b6894(0x461)]});if(this[_0x1b6894(0x270)][_0x1b6894(0x4d6)](_0x1184a0['BoardToolType'][_0x1b6894(0x3f5)]),_0x5c5bd1[_0x1b6894(0x4e5)](),(_0x3df0f6=_0x2ab5f3[_0x1b6894(0x1ae)])==null||_0x3df0f6['call'](_0x2ab5f3),!await _0x935b78||this[_0x1b6894(0x42b)])return null;let _0x41e095={'unitId':this[_0x1b6894(0x275)][_0x1b6894(0x48b)],'subUnitId':_0x397b30};return this['_elementStateService']['selectElements'](_0x41e095,[_0x4a8cb5],_0x4a8cb5),{'rootNodeId':_0x4a8cb5,'subUnitId':_0x397b30};}};_0x145f65=_0x41c154([_0x27e70d(0x1,_0x4aaeb9[_0x114ef7(0x1c8)]),_0x27e70d(0x2,_0x17cb44[_0x114ef7(0x358)]),_0x27e70d(0x3,_0x4aaeb9[_0x114ef7(0x153)]),_0x27e70d(0x4,(0x0,_0x4aaeb9[_0x114ef7(0x1f9)])(_0x7425d1)),_0x27e70d(0x5,_0x17cb44['IBoardElementStateService']),_0x27e70d(0x6,(0x0,_0x4aaeb9[_0x114ef7(0x1f9)])(_0x17cb44[_0x114ef7(0x1bd)]))],_0x145f65);var _0x5ec1f8=class extends _0x4aaeb9[_0x114ef7(0x13a)]{constructor(..._0x191882){const _0x560eb0=_0x114ef7;super(..._0x191882),_0x4bcbf3(this,_0x560eb0(0x181),new _0x1e0edb[(_0x560eb0(0x3d6))]()),_0x4bcbf3(this,_0x560eb0(0x2ba),this['_refresh$']['asObservable']());}[_0x114ef7(0x297)](_0x1723ef){const _0x409442=_0x114ef7;this[_0x409442(0x181)]['next'](_0x1723ef);}[_0x114ef7(0x2db)](){const _0x1cf26b=_0x114ef7;this['_refresh$'][_0x1cf26b(0x278)](),super[_0x1cf26b(0x2db)]();}};function _0x14e0da(_0x347d5d){const _0x1dbdfd=_0x114ef7;return typeof _0x347d5d==_0x1dbdfd(0x3b7)&&Number[_0x1dbdfd(0x236)](_0x347d5d)&&_0x347d5d>0x0;}function _0x438bdc(_0x215a51,_0x41d64a,_0x58177c){const _0x968045=_0x114ef7;let _0x501a93=_0x215a51[_0x41d64a],_0xd1d8fb=(0x0,_0x4ecf80[_0x968045(0x135)])(_0x501a93==null?void 0x0:_0x501a93[_0x968045(0x3bf)]);if(!_0x501a93||!_0xd1d8fb)return null;let _0x3d8417=(0x0,_0x4ecf80['resolveMindMapNodeHostSize'])(_0x501a93,_0x58177c);if(!_0x3d8417)return null;let _0x38e84d=_0x501a93[_0x968045(0x19c)]??_0x501a93[_0x968045(0x3bf)]['transform'],_0x579a3a={..._0x215a51,[_0x41d64a]:{..._0x501a93,'transform':{..._0x38e84d,'width':_0x3d8417['width'],'height':_0x3d8417['height']},'element':{..._0x501a93[_0x968045(0x3bf)],'transform':{..._0x501a93[_0x968045(0x3bf)][_0x968045(0x19c)],'width':_0x3d8417[_0x968045(0x326)],'height':_0x3d8417[_0x968045(0x426)]}}}};return(0x0,_0x4ecf80[_0x968045(0x29b)])(_0x579a3a,_0xd1d8fb[_0x968045(0x359)]);}let _0x4630f0=class extends _0x4aaeb9[_0x114ef7(0x2e2)]{constructor(_0x3b0698,_0x3ccd60,_0x9a835e,_0x2650cf,_0x5195dc,_0x1a0c58){const _0x115b2f=_0x114ef7;super(),this['_renderContext']=_0x3b0698,this[_0x115b2f(0x137)]=_0x3ccd60,this['_boardElementService']=_0x9a835e,this[_0x115b2f(0x192)]=_0x2650cf,this[_0x115b2f(0x198)]=_0x5195dc,this[_0x115b2f(0x3dc)]=_0x1a0c58,_0x4bcbf3(this,_0x115b2f(0x50a),null),_0x4bcbf3(this,_0x115b2f(0x4b2),{'match':_0x4dccf4=>_0x4dccf4[_0x115b2f(0x48b)]===this[_0x115b2f(0x275)]['unitId']&&!!(0x0,_0x4ecf80[_0x115b2f(0x135)])(_0x4dccf4[_0x115b2f(0x3bf)]),'resolveHostSize':_0x25b3a1=>this[_0x115b2f(0x155)](_0x25b3a1),'previewHostSize':_0x217f7b=>this[_0x115b2f(0x4bd)](_0x217f7b),'updateHostSize':_0x3cb007=>this['_updateHostSize'](_0x3cb007),'updateShapeText':_0x4cdac4=>this[_0x115b2f(0x517)](_0x4cdac4)}),this['disposeWithMe'](this[_0x115b2f(0x137)][_0x115b2f(0x292)](this[_0x115b2f(0x4b2)])),this[_0x115b2f(0x16f)](),this[_0x115b2f(0x329)]((0x0,_0x4aaeb9[_0x115b2f(0x3bd)])(()=>this[_0x115b2f(0x127)]()));}[_0x114ef7(0x475)](_0x2b409b){const _0x114f7b=_0x114ef7;return this[_0x114f7b(0x4bd)](_0x2b409b);}[_0x114ef7(0x517)](_0xb8e1fc){const _0x45e57f=_0x114ef7;let _0x1eb81b=_0xb8e1fc[_0x45e57f(0x3b9)][_0x45e57f(0x250)]?this[_0x45e57f(0x155)]({'elementData':_0xb8e1fc['elementData'],'params':_0xb8e1fc[_0x45e57f(0x3b9)][_0x45e57f(0x250)]}):null,_0x126271=_0xb8e1fc[_0x45e57f(0x32a)][_0x45e57f(0x19c)]??_0xb8e1fc[_0x45e57f(0x32a)][_0x45e57f(0x3bf)][_0x45e57f(0x19c)];return(!_0x1eb81b||_0x1eb81b[_0x45e57f(0x326)]===_0x126271[_0x45e57f(0x326)]&&_0x1eb81b[_0x45e57f(0x426)]===_0x126271[_0x45e57f(0x426)])&&(0x0,_0x17cb44[_0x45e57f(0x257)])(_0xb8e1fc[_0x45e57f(0x3b9)][_0x45e57f(0x430)],_0xb8e1fc[_0x45e57f(0x3b9)]['oldShapeText'])?!0x0:this[_0x45e57f(0x3dc)][_0x45e57f(0x1d9)](_0x4ecf80['UpdateMindMapNodeOperation']['id'],{'unitId':_0xb8e1fc['params'][_0x45e57f(0x48b)],'subUnitId':_0xb8e1fc[_0x45e57f(0x3b9)]['subUnitId'],'nodeId':_0xb8e1fc['params'][_0x45e57f(0x1fd)],'shapeText':_0xb8e1fc['params']['shapeText'],..._0x1eb81b?{'hostSize':{'width':_0x1eb81b[_0x45e57f(0x326)],'height':_0x1eb81b['height']}}:null});}[_0x114ef7(0x4bd)](_0x4a6526){const _0x47cd78=_0x114ef7;let _0x23b48b=this[_0x47cd78(0x155)](_0x4a6526);if(!_0x23b48b)return!0x1;let _0x1fd6ff=_0x4a6526[_0x47cd78(0x32a)][_0x47cd78(0x19c)]??_0x4a6526[_0x47cd78(0x32a)]['element'][_0x47cd78(0x19c)];return!this['_activePreview']&&_0x1fd6ff[_0x47cd78(0x326)]===_0x23b48b[_0x47cd78(0x326)]&&_0x1fd6ff[_0x47cd78(0x426)]===_0x23b48b[_0x47cd78(0x426)]||this[_0x47cd78(0x159)](_0x4a6526,_0x23b48b),!0x0;}[_0x114ef7(0x155)](_0x1192a5){const _0x299d6c=_0x114ef7;return!_0x14e0da(_0x1192a5[_0x299d6c(0x3b9)][_0x299d6c(0x326)])||!_0x14e0da(_0x1192a5[_0x299d6c(0x3b9)]['height'])?null:(0x0,_0x4ecf80['resolveMindMapNodeHostSize'])(_0x1192a5[_0x299d6c(0x32a)],{'width':_0x1192a5[_0x299d6c(0x3b9)][_0x299d6c(0x326)],'height':_0x1192a5[_0x299d6c(0x3b9)][_0x299d6c(0x426)]});}[_0x114ef7(0x16f)](){const _0x65ce3b=_0x114ef7;this[_0x65ce3b(0x329)]((0x0,_0x4aaeb9[_0x65ce3b(0x3bd)])(this['_textEditingService']['editingParams$'][_0x65ce3b(0x41c)]((0x0,_0x1e0edb[_0x65ce3b(0x480)])(this[_0x65ce3b(0x244)]))['subscribe'](_0x399ae1=>{_0x399ae1||this['_restoreActivePreview']();})));}[_0x114ef7(0x159)](_0x2844b0,_0x14ab20){const _0x4a7404=_0x114ef7;var _0x2dff69;let _0x59b9bb=this[_0x4a7404(0x169)][_0x4a7404(0x294)](_0x2844b0[_0x4a7404(0x3b9)][_0x4a7404(0x48b)],_0x2844b0[_0x4a7404(0x3b9)][_0x4a7404(0x4ae)]),_0xd383b8=_0x438bdc(_0x59b9bb,_0x2844b0[_0x4a7404(0x3b9)]['shapeId'],_0x14ab20),_0x69b9e2=(0x0,_0x4ecf80[_0x4a7404(0x135)])((_0x2dff69=_0x59b9bb[_0x2844b0[_0x4a7404(0x3b9)][_0x4a7404(0x1fd)]])==null?void 0x0:_0x2dff69[_0x4a7404(0x3bf)]);_0xd383b8&&_0x69b9e2&&(this[_0x4a7404(0x50a)]={'unitId':_0x2844b0[_0x4a7404(0x3b9)]['unitId'],'subUnitId':_0x2844b0[_0x4a7404(0x3b9)]['subUnitId'],'scopeId':_0x69b9e2[_0x4a7404(0x359)]},this[_0x4a7404(0x514)](_0xd383b8,_0x69b9e2[_0x4a7404(0x359)])&&this['_previewRefreshService'][_0x4a7404(0x297)]({'unitId':_0x2844b0[_0x4a7404(0x3b9)][_0x4a7404(0x48b)],'subUnitId':_0x2844b0['params'][_0x4a7404(0x4ae)],'nodeId':_0x2844b0[_0x4a7404(0x3b9)]['shapeId'],'scopeId':_0x69b9e2[_0x4a7404(0x359)]}));}['_restoreActivePreview'](){const _0x745bb7=_0x114ef7;let _0x22824a=this[_0x745bb7(0x50a)];if(!_0x22824a)return;this['_activePreview']=null;let _0x5053cb=this[_0x745bb7(0x169)][_0x745bb7(0x294)](_0x22824a['unitId'],_0x22824a[_0x745bb7(0x4ae)]);this['_syncElementDataToScene'](_0x5053cb,_0x22824a[_0x745bb7(0x31e)])&&this[_0x745bb7(0x198)]['notify']({'unitId':_0x22824a[_0x745bb7(0x48b)],'subUnitId':_0x22824a[_0x745bb7(0x4ae)],'nodeId':_0x22824a[_0x745bb7(0x31e)],'scopeId':_0x22824a[_0x745bb7(0x31e)]});}[_0x114ef7(0x514)](_0x313558,_0xafa0fa){const _0x46fc5e=_0x114ef7;let _0xdc64e3=!0x1;if(Object[_0x46fc5e(0x25a)](_0x313558)[_0x46fc5e(0x413)](_0x4b74af=>{const _0x4a4775=_0x46fc5e;var _0x25c0d8;let _0x58154a=(0x0,_0x4ecf80[_0x4a4775(0x135)])(_0x4b74af[_0x4a4775(0x3bf)]),_0x3d5a07=(_0x25c0d8=_0x4b74af[_0x4a4775(0x3bf)][_0x4a4775(0x506)])==null?void 0x0:_0x25c0d8[_0x4a4775(0x251)];if(_0x4b74af[_0x4a4775(0x17e)]!==_0xafa0fa&&(_0x58154a==null?void 0x0:_0x58154a[_0x4a4775(0x359)])!==_0xafa0fa&&(_0x3d5a07==null?void 0x0:_0x3d5a07[_0x4a4775(0x359)])!==_0xafa0fa)return;let _0x5d1a13=this[_0x4a4775(0x46a)](_0x4b74af[_0x4a4775(0x17e)]);_0x5d1a13&&(_0xdc64e3=(0x0,_0x17cb44[_0x4a4775(0x18e)])(_0x5d1a13,_0x4b74af,{'elementData':_0x313558,'unitId':this[_0x4a4775(0x275)]['unitId']})||_0xdc64e3);}),_0xdc64e3){var _0x3bcfe7,_0x144cee;this[_0x46fc5e(0x275)][_0x46fc5e(0x2e7)][_0x46fc5e(0x2c6)](!0x0),(_0x3bcfe7=(_0x144cee=this['_renderContext']['scene'])[_0x46fc5e(0x39b)])==null||_0x3bcfe7[_0x46fc5e(0x47d)](_0x144cee);}return _0xdc64e3;}['_getSceneObject'](_0x144e3c){const _0x5ee7ba=_0x114ef7;var _0x4dd585;let _0x139959=(0x0,_0x17cb44[_0x5ee7ba(0x49f)])(this[_0x5ee7ba(0x275)][_0x5ee7ba(0x48b)],_0x144e3c),_0x5be039=this[_0x5ee7ba(0x275)][_0x5ee7ba(0x2e7)];return((_0x4dd585=_0x5be039[_0x5ee7ba(0x313)])==null?void 0x0:_0x4dd585[_0x5ee7ba(0x47d)](_0x5be039,_0x139959))??this[_0x5ee7ba(0x275)][_0x5ee7ba(0x2e7)][_0x5ee7ba(0x45b)](_0x139959)??null;}};_0x4630f0=_0x41c154([_0x27e70d(0x1,(0x0,_0x4aaeb9[_0x114ef7(0x1f9)])(_0x17cb44[_0x114ef7(0x2c5)])),_0x27e70d(0x2,(0x0,_0x4aaeb9['Inject'])(_0x1184a0[_0x114ef7(0x2ad)])),_0x27e70d(0x3,(0x0,_0x4aaeb9[_0x114ef7(0x1f9)])(_0x17cb44[_0x114ef7(0x1bd)])),_0x27e70d(0x4,(0x0,_0x4aaeb9[_0x114ef7(0x1f9)])(_0x5ec1f8)),_0x27e70d(0x5,_0x4aaeb9['ICommandService'])],_0x4630f0);let _0x47b43d={'touchHitRadius':0x16,'radius':0x12,'addChildRadius':0xe,'siblingHoverRadius':0xa,'siblingDotRadius':0x5,'siblingDotGap':0x3,'gap':0xa,'collapsePlusMinDistance':0x2c,'primaryColor':_0x5ad99e[_0x114ef7(0x203)],'surfaceColor':_0x5ad99e['surfaceColor'],'borderWidth':0x2,'glyphSize':0x8,'addChildGlyphSize':0x6,'siblingGlyphSize':5.5,'glyphWidth':2.4,'glyphHoverWidth':0x3,'badgeFontWeight':0x258,'badgeFontSize':0x12,'fontFamily':_0x5ad99e[_0x114ef7(0x493)]};function _0x2be941(_0x1e8279){const _0x312b6f=_0x114ef7;let _0x2907c8=_0x47b43d[_0x312b6f(0x470)],_0x18a4a2=_0x47b43d[_0x312b6f(0x4e6)],_0x449e1b=_0x47b43d[_0x312b6f(0x4b3)],_0x764845=_0x47b43d[_0x312b6f(0x4e9)],_0x59f675=_0x47b43d[_0x312b6f(0x212)],_0x52eef9=_0x59f675+_0x47b43d['siblingDotGap'],_0x25dbbd=_0x47b43d[_0x312b6f(0x1cb)],_0x4dc01b=_0x1e8279['bounds'][_0x312b6f(0x32e)]+_0x1e8279[_0x312b6f(0x4f9)][_0x312b6f(0x426)]/0x2,_0x1ca3ee=_0x1e8279[_0x312b6f(0x4f9)][_0x312b6f(0x4e8)]+_0x1e8279['bounds'][_0x312b6f(0x326)]/0x2,_0x1120d0=_0x1e8279[_0x312b6f(0x4f9)][_0x312b6f(0x4e8)]-_0x2907c8-_0x764845,_0x2cc75b=_0x1e8279[_0x312b6f(0x4f9)][_0x312b6f(0x4e8)]+_0x1e8279[_0x312b6f(0x4f9)]['width']+_0x2907c8+_0x764845,_0x507633=_0x1e8279[_0x312b6f(0x4f9)][_0x312b6f(0x32e)]-_0x2907c8-_0x764845,_0x199004=_0x1e8279[_0x312b6f(0x4f9)][_0x312b6f(0x32e)]+_0x1e8279[_0x312b6f(0x4f9)][_0x312b6f(0x426)]+_0x2907c8+_0x764845,_0x4f3772=_0x1e8279['bounds'][_0x312b6f(0x4e8)]-_0x18a4a2-_0x764845,_0x30e155=_0x1e8279[_0x312b6f(0x4f9)][_0x312b6f(0x4e8)]+_0x1e8279[_0x312b6f(0x4f9)][_0x312b6f(0x326)]+_0x18a4a2+_0x764845,_0x43daab=_0x1e8279[_0x312b6f(0x4f9)][_0x312b6f(0x32e)]-_0x18a4a2-_0x764845,_0x3ea950=_0x1e8279[_0x312b6f(0x4f9)][_0x312b6f(0x32e)]+_0x1e8279['bounds'][_0x312b6f(0x426)]+_0x18a4a2+_0x764845,_0x1b67d9=[],_0xaa7f76=_0x1e8279['side']===_0x312b6f(0x32e)||_0x1e8279[_0x312b6f(0x126)]==='bottom',_0x49e703=_0xaa7f76?_0x1ca3ee:_0x1e8279[_0x312b6f(0x126)]==='left'?_0x1120d0:_0x2cc75b,_0x4df8dc=_0xaa7f76?_0x1e8279[_0x312b6f(0x126)]===_0x312b6f(0x32e)?_0x507633:_0x199004:_0x4dc01b;if(_0x1e8279[_0x312b6f(0x51e)]&&_0x1e8279[_0x312b6f(0x2c9)]>0x0)return _0x1b67d9[_0x312b6f(0x209)]({'kind':'toggle-collapse','x':_0x49e703,'y':_0x4df8dc,'radius':_0x2907c8,'badgeCount':_0x1e8279[_0x312b6f(0x2c9)]}),_0x1b67d9;if(_0x1e8279['isRoot']?(_0x1e8279[_0x312b6f(0x2e9)]??(_0xaa7f76?['top',_0x312b6f(0x144)]:[_0x312b6f(0x4e8),_0x312b6f(0x34e)]))[_0x312b6f(0x413)](_0x55a5f5=>{const _0x2e1ced=_0x312b6f;_0x55a5f5===_0x2e1ced(0x32e)?_0x1b67d9[_0x2e1ced(0x209)]({'kind':_0x2e1ced(0x387),'x':_0x1ca3ee,'y':_0x43daab,'radius':_0x18a4a2}):_0x55a5f5==='bottom'?_0x1b67d9[_0x2e1ced(0x209)]({'kind':_0x2e1ced(0x307),'x':_0x1ca3ee,'y':_0x3ea950,'radius':_0x18a4a2}):_0x55a5f5===_0x2e1ced(0x4e8)?_0x1b67d9[_0x2e1ced(0x209)]({'kind':_0x2e1ced(0x350),'x':_0x4f3772,'y':_0x4dc01b,'radius':_0x18a4a2}):_0x1b67d9[_0x2e1ced(0x209)]({'kind':_0x2e1ced(0x18a),'x':_0x30e155,'y':_0x4dc01b,'radius':_0x18a4a2});}):(_0x1b67d9[_0x312b6f(0x209)]({'kind':_0x1e8279[_0x312b6f(0x126)]===_0x312b6f(0x4e8)?_0x312b6f(0x350):_0x1e8279[_0x312b6f(0x126)]===_0x312b6f(0x32e)?_0x312b6f(0x387):_0x1e8279['side']==='bottom'?'add-child-bottom':_0x312b6f(0x18a),'x':_0xaa7f76?_0x1ca3ee:_0x1e8279[_0x312b6f(0x126)]==='left'?_0x4f3772:_0x30e155,'y':_0xaa7f76?_0x1e8279['side']===_0x312b6f(0x32e)?_0x43daab:_0x3ea950:_0x4dc01b,'radius':_0x18a4a2}),_0xaa7f76?(_0x1b67d9['push']({'kind':_0x312b6f(0x302),'placement':'before','x':_0x1e8279[_0x312b6f(0x4f9)][_0x312b6f(0x4e8)]-_0x52eef9,'y':_0x4dc01b,'radius':_0x449e1b,'visualRadius':_0x59f675}),_0x1b67d9[_0x312b6f(0x209)]({'kind':'add-sibling-after','placement':'after','x':_0x1e8279['bounds'][_0x312b6f(0x4e8)]+_0x1e8279['bounds'][_0x312b6f(0x326)]+_0x52eef9,'y':_0x4dc01b,'radius':_0x449e1b,'visualRadius':_0x59f675})):(_0x1b67d9[_0x312b6f(0x209)]({'kind':'add-sibling-before','placement':'before','x':_0x1ca3ee,'y':_0x1e8279[_0x312b6f(0x4f9)][_0x312b6f(0x32e)]-_0x52eef9,'radius':_0x449e1b,'visualRadius':_0x59f675}),_0x1b67d9['push']({'kind':_0x312b6f(0x4ea),'placement':_0x312b6f(0x2d7),'x':_0x1ca3ee,'y':_0x1e8279[_0x312b6f(0x4f9)][_0x312b6f(0x32e)]+_0x1e8279[_0x312b6f(0x4f9)]['height']+_0x52eef9,'radius':_0x449e1b,'visualRadius':_0x59f675}))),_0x1e8279[_0x312b6f(0x51e)]){let _0xd5674f={'kind':'toggle-collapse','x':_0x49e703,'y':_0x4df8dc,'radius':_0x2907c8};_0x1b67d9[_0x312b6f(0x209)](_0xd5674f);let _0x33cf16=_0x1b67d9[_0x312b6f(0x511)](_0xcb2f2f=>_0xcb2f2f[_0x312b6f(0x2c3)]===(_0x1e8279[_0x312b6f(0x126)]===_0x312b6f(0x4e8)?_0x312b6f(0x350):_0x1e8279[_0x312b6f(0x126)]===_0x312b6f(0x32e)?_0x312b6f(0x387):_0x1e8279[_0x312b6f(0x126)]===_0x312b6f(0x144)?_0x312b6f(0x307):_0x312b6f(0x18a)));_0x33cf16&&Math[_0x312b6f(0x261)](_0x33cf16['x']-_0xd5674f['x'],_0x33cf16['y']-_0xd5674f['y'])<_0x25dbbd&&(_0x1e8279[_0x312b6f(0x126)]===_0x312b6f(0x32e)||_0x1e8279[_0x312b6f(0x126)]===_0x312b6f(0x144)?_0x33cf16['y']=_0xd5674f['y']+(_0x1e8279['side']===_0x312b6f(0x32e)?-_0x25dbbd:_0x25dbbd):_0x33cf16['x']=_0xd5674f['x']+(_0x1e8279[_0x312b6f(0x126)]===_0x312b6f(0x4e8)?-_0x25dbbd:_0x25dbbd));}return _0x1b67d9;}let _0x2a2970=_0x114ef7(0x20b),_0x2f0f47=_0x17cb44[_0x114ef7(0x2b3)][_0x114ef7(0x264)];function _0x9b34b1(_0x4518f0,_0x832d87){const _0x4937a4=_0x114ef7;return!!_0x4518f0&&_0x4518f0[_0x4937a4(0x2c3)]===_0x832d87['kind']&&_0x4518f0['x']===_0x832d87['x']&&_0x4518f0['y']===_0x832d87['y'];}var _0x2c3732=class extends _0x4253cf['Control']{constructor(_0x3ec1c0=_0x2a2970,_0x364f03){const _0x2b4341=_0x114ef7;super(_0x3ec1c0),_0x4bcbf3(this,_0x2b4341(0x3c5),{'controls':[]}),this[_0x2b4341(0x24a)]=!0x0,this[_0x2b4341(0x189)]=_0x17cb44['BOARD_RENDER_OBJECT_Z_INDEX'][_0x2b4341(0x29e)],this[_0x2b4341(0x415)](_0x364f03);}[_0x114ef7(0x415)](_0x416f5d){const _0x26a16d=_0x114ef7;this[_0x26a16d(0x3c5)]={...this[_0x26a16d(0x3c5)],..._0x416f5d},this[_0x26a16d(0x3c5)][_0x26a16d(0x11f)][_0x26a16d(0x168)]>0x0?this[_0x26a16d(0x485)]():this['hide'](),this[_0x26a16d(0x2c6)](!0x0);}[_0x114ef7(0x419)](_0x3d0d2d){const _0x21f3ba=_0x114ef7;!_0x3d0d2d&&!this['_state']['hoveredControl']||_0x3d0d2d&&_0x9b34b1(this[_0x21f3ba(0x3c5)][_0x21f3ba(0x320)],_0x3d0d2d)||(this[_0x21f3ba(0x3c5)]={...this[_0x21f3ba(0x3c5)],'hoveredControl':_0x3d0d2d},this[_0x21f3ba(0x2c6)](!0x0));}['getHitControl'](_0x5ce921,_0x7580cf){const _0x522030=_0x114ef7;var _0x2f3809;let _0x2fea7c=(_0x2f3809=this[_0x522030(0x2df)]())==null?void 0x0:_0x2f3809[_0x522030(0x34c)](),_0x40196d=null,_0x4efc9d=0x1/0x0;for(let _0x1dde88=this['_state'][_0x522030(0x11f)][_0x522030(0x168)]-0x1;_0x1dde88>=0x0;--_0x1dde88){let _0x4afbec=this[_0x522030(0x3c5)][_0x522030(0x11f)][_0x1dde88],_0xb220f=Math[_0x522030(0x261)](_0x5ce921['x']-_0x4afbec['x'],_0x5ce921['y']-_0x4afbec['y']);if(_0x7580cf!==_0x4253cf[_0x522030(0x361)][_0x522030(0x3fa)]){if(_0xb220f<=_0x4afbec[_0x522030(0x470)])return _0x4afbec;continue;}let _0x5835af=Math[_0x522030(0x261)]((_0x5ce921['x']-_0x4afbec['x'])*((_0x2fea7c==null?void 0x0:_0x2fea7c[_0x522030(0x3fe)])??0x1),(_0x5ce921['y']-_0x4afbec['y'])*((_0x2fea7c==null?void 0x0:_0x2fea7c[_0x522030(0x37d)])??0x1));(_0xb220f<=_0x4afbec[_0x522030(0x470)]||_0x5835af<=_0x47b43d[_0x522030(0x33f)])&&_0x5835af<_0x4efc9d&&(_0x40196d=_0x4afbec,_0x4efc9d=_0x5835af);}return _0x40196d;}[_0x114ef7(0x14c)](_0xf34dc){const _0x56b196=_0x114ef7;var _0x46992f;let _0xd1475=this['getHitControl'](_0xf34dc,_0x4253cf[_0x56b196(0x361)][_0x56b196(0x3fa)]),_0x4c0b13=(_0x46992f=this[_0x56b196(0x2df)]())==null?void 0x0:_0x46992f[_0x56b196(0x34c)]();return _0xd1475?Math[_0x56b196(0x261)]((_0xf34dc['x']-_0xd1475['x'])*((_0x4c0b13==null?void 0x0:_0x4c0b13[_0x56b196(0x3fe)])??0x1),(_0xf34dc['y']-_0xd1475['y'])*((_0x4c0b13==null?void 0x0:_0x4c0b13[_0x56b196(0x37d)])??0x1)):0x1/0x0;}['isHit'](_0x50aa93){return!!this['getHitControl']({'x':_0x50aa93['x'],'y':_0x50aa93['y']});}['render'](_0x31e795,_0x423fe9){const _0x42f7b2=_0x114ef7;return!this['visible']||this['_state'][_0x42f7b2(0x11f)][_0x42f7b2(0x168)]===0x0?(this[_0x42f7b2(0x2c6)](!0x1),this):(_0x31e795['save'](),this[_0x42f7b2(0x3c5)][_0x42f7b2(0x11f)][_0x42f7b2(0x413)](_0xea4d1f=>{const _0x1a58d5=_0x42f7b2;let _0x166761=_0x9b34b1(this[_0x1a58d5(0x3c5)][_0x1a58d5(0x320)],_0xea4d1f),_0x584177=_0xea4d1f[_0x1a58d5(0x11c)]!==void 0x0,_0x39e0b3=_0xea4d1f['kind']===_0x1a58d5(0x350)||_0xea4d1f[_0x1a58d5(0x2c3)]==='add-child-right'||_0xea4d1f[_0x1a58d5(0x2c3)]===_0x1a58d5(0x387)||_0xea4d1f[_0x1a58d5(0x2c3)]===_0x1a58d5(0x307),_0x329f7f=_0xea4d1f['kind']===_0x1a58d5(0x302)||_0xea4d1f['kind']===_0x1a58d5(0x4ea),_0x5eec54=_0x329f7f&&!_0x166761?_0xea4d1f[_0x1a58d5(0x50d)]??_0xea4d1f[_0x1a58d5(0x470)]:_0xea4d1f['radius'];if(_0x31e795[_0x1a58d5(0x1b7)](),_0x31e795[_0x1a58d5(0x180)]=_0xea4d1f[_0x1a58d5(0x2c3)]===_0x1a58d5(0x363)?_0x47b43d[_0x1a58d5(0x3d1)]:_0x47b43d[_0x1a58d5(0x203)],_0x31e795[_0x1a58d5(0x31a)]=_0x47b43d[_0x1a58d5(0x203)],_0x31e795['lineWidth']=_0x47b43d[_0x1a58d5(0x3a1)],_0x31e795['arc'](_0xea4d1f['x'],_0xea4d1f['y'],_0x5eec54,0x0,Math['PI']*0x2),_0x31e795[_0x1a58d5(0x1df)](),(!_0x329f7f||_0x166761)&&_0x31e795[_0x1a58d5(0x2cf)](),!_0x584177&&(!_0x329f7f||_0x166761)){if(_0x31e795[_0x1a58d5(0x1b7)](),_0x31e795[_0x1a58d5(0x31a)]=_0xea4d1f[_0x1a58d5(0x2c3)]===_0x1a58d5(0x363)?_0x47b43d[_0x1a58d5(0x203)]:_0x47b43d['surfaceColor'],_0x31e795['lineWidth']=_0x329f7f?_0x47b43d[_0x1a58d5(0x502)]:_0x166761?_0x47b43d['glyphHoverWidth']:_0x47b43d[_0x1a58d5(0x502)],_0x31e795[_0x1a58d5(0x3e3)]=_0x1a58d5(0x129),_0xea4d1f[_0x1a58d5(0x2c3)]===_0x1a58d5(0x363)){let _0x62fb0c=_0x47b43d[_0x1a58d5(0x138)];_0x31e795[_0x1a58d5(0x4be)](_0xea4d1f['x']+_0x62fb0c/0x2,_0xea4d1f['y']-_0x62fb0c),_0x31e795[_0x1a58d5(0x14b)](_0xea4d1f['x']-_0x62fb0c/0x2,_0xea4d1f['y']),_0x31e795['lineTo'](_0xea4d1f['x']+_0x62fb0c/0x2,_0xea4d1f['y']+_0x62fb0c);}else{let _0x1a3533=_0x329f7f?_0x47b43d[_0x1a58d5(0x13f)]:_0x39e0b3?_0x47b43d[_0x1a58d5(0x162)]:_0x47b43d[_0x1a58d5(0x138)];_0x31e795['moveTo'](_0xea4d1f['x']-_0x1a3533,_0xea4d1f['y']),_0x31e795[_0x1a58d5(0x14b)](_0xea4d1f['x']+_0x1a3533,_0xea4d1f['y']),_0x31e795[_0x1a58d5(0x4be)](_0xea4d1f['x'],_0xea4d1f['y']-_0x1a3533),_0x31e795[_0x1a58d5(0x14b)](_0xea4d1f['x'],_0xea4d1f['y']+_0x1a3533);}_0x31e795[_0x1a58d5(0x2cf)]();}_0x584177&&(_0x31e795['fillStyle']=_0x47b43d[_0x1a58d5(0x203)],_0x31e795['font']=_0x47b43d[_0x1a58d5(0x3ec)]+'\x20'+_0x47b43d[_0x1a58d5(0x2b1)]+_0x1a58d5(0x4f3)+_0x47b43d['fontFamily'],_0x31e795[_0x1a58d5(0x397)]=_0x1a58d5(0x2a4),_0x31e795[_0x1a58d5(0x454)]=_0x1a58d5(0x2a2),_0x31e795[_0x1a58d5(0x424)](String(_0xea4d1f[_0x1a58d5(0x11c)]),_0xea4d1f['x'],_0xea4d1f['y']));}),_0x31e795[_0x42f7b2(0x3d2)](),this[_0x42f7b2(0x2c6)](!0x1),this);}};function _0x28bb50(_0x171b85){const _0x56368b=_0x114ef7;return _0x171b85===_0x56368b(0x378)||_0x171b85===_0x56368b(0x14e)||_0x171b85===_0x56368b(0x21f);}function _0xd6b441(_0x2758dc){const _0x3ada5a=_0x114ef7;return _0x2758dc===_0x3ada5a(0x1c4)||_0x2758dc===_0x3ada5a(0x3bc);}function _0x54ca89(_0x451b91,_0x528441){const _0x596a8a=_0x114ef7;let _0x96a628=Number[_0x596a8a(0x236)](_0x528441[_0x596a8a(0x4c1)])&&_0x528441[_0x596a8a(0x4c1)]>0x0?_0x528441[_0x596a8a(0x4c1)]:0x1;return{'x':Math['round']((_0x451b91[_0x596a8a(0x38a)]-_0x528441['panOffset']['x'])/_0x96a628),'y':Math[_0x596a8a(0x129)]((_0x451b91[_0x596a8a(0x19d)]-_0x528441[_0x596a8a(0x178)]['y'])/_0x96a628)};}let _0x463974=class extends _0x4aaeb9['RxDisposable']{constructor(_0x1bee18,_0x5c1559,_0x4adef8,_0x5955eb,_0x421c0b,_0x5f4fc0,_0x49d498,_0x5c95c0,_0x2f3597){const _0xc3aa35=_0x114ef7;super(),this['_renderContext']=_0x1bee18,this['_boardElementService']=_0x5c1559,this[_0xc3aa35(0x276)]=_0x4adef8,this[_0xc3aa35(0x270)]=_0x5955eb,this[_0xc3aa35(0x3dc)]=_0x421c0b,this['_boardTextEditingService']=_0x5f4fc0,this[_0xc3aa35(0x348)]=_0x49d498,this[_0xc3aa35(0x198)]=_0x5c95c0,this[_0xc3aa35(0x4df)]=_0x2f3597,_0x4bcbf3(this,_0xc3aa35(0x26c),null),_0x4bcbf3(this,_0xc3aa35(0x36d),null),_0x4bcbf3(this,_0xc3aa35(0x390),null),_0x4bcbf3(this,'_activeScopeId',null),this[_0xc3aa35(0x3d8)]();}[_0x114ef7(0x3d8)](){const _0x504e69=_0x114ef7;var _0x3d327a,_0x575b74,_0x57b1ef;let {scene:_0x550d24}=this[_0x504e69(0x275)],_0x51aa1a=(_0x3d327a=_0x550d24[_0x504e69(0x484)])==null?void 0x0:_0x3d327a[_0x504e69(0x47d)](_0x550d24);_0x51aa1a&&(this[_0x504e69(0x329)]((0x0,_0x4aaeb9[_0x504e69(0x3bd)])(_0x51aa1a[_0x504e69(0x400)][_0x504e69(0x41c)]((0x0,_0x1e0edb['takeUntil'])(this[_0x504e69(0x244)]))[_0x504e69(0x263)](({objects:_0xe48f6a})=>{const _0x23ef7e=_0x504e69;this[_0x23ef7e(0x42a)](_0xe48f6a,{'hideRootControls':!0x0});}))),this['disposeWithMe']((0x0,_0x4aaeb9['toDisposable'])(_0x51aa1a['changeEnd$'][_0x504e69(0x41c)]((0x0,_0x1e0edb[_0x504e69(0x480)])(this[_0x504e69(0x244)]))[_0x504e69(0x263)](_0x227523=>{const _0x23a5ac=_0x504e69;let _0x24426b=_0x227523==null?void 0x0:_0x227523[_0x23a5ac(0x30d)];this[_0x23a5ac(0x42a)](_0x24426b),setTimeout(()=>this[_0x23a5ac(0x42a)](_0x24426b),0x0);})))),this[_0x504e69(0x329)]((0x0,_0x4aaeb9[_0x504e69(0x3bd)])(this[_0x504e69(0x276)]['state$'][_0x504e69(0x41c)]((0x0,_0x1e0edb[_0x504e69(0x480)])(this[_0x504e69(0x244)]))['subscribe'](()=>this[_0x504e69(0x42a)]()))),this[_0x504e69(0x329)]((0x0,_0x4aaeb9[_0x504e69(0x3bd)])(this['_stateService'][_0x504e69(0x179)][_0x504e69(0x41c)]((0x0,_0x1e0edb[_0x504e69(0x480)])(this[_0x504e69(0x244)]))['subscribe'](()=>this['_syncControls']()))),this[_0x504e69(0x329)]((0x0,_0x4aaeb9[_0x504e69(0x3bd)])(this['_boardElementService'][_0x504e69(0x25e)]['pipe']((0x0,_0x1e0edb[_0x504e69(0x480)])(this['dispose$']))[_0x504e69(0x263)](_0x19fa14=>{const _0x49d79e=_0x504e69;let _0x2ea5f2=this[_0x49d79e(0x276)]['getSnapshot']()[_0x49d79e(0x4cd)];_0x2ea5f2&&_0x19fa14[_0x49d79e(0x36b)](_0x4bb381=>_0x4bb381[_0x49d79e(0x48b)]===_0x2ea5f2['unitId']&&_0x4bb381['subUnitId']===_0x2ea5f2[_0x49d79e(0x4ae)]&&(_0x4bb381[_0x49d79e(0x17e)]===this[_0x49d79e(0x390)]||_0x4bb381['elementId']===this[_0x49d79e(0x15e)]))&&this['_syncControls']();}))),this[_0x504e69(0x329)]((0x0,_0x4aaeb9[_0x504e69(0x3bd)])(this[_0x504e69(0x198)][_0x504e69(0x2ba)]['pipe']((0x0,_0x1e0edb[_0x504e69(0x480)])(this[_0x504e69(0x244)]))[_0x504e69(0x263)](_0xb37e0a=>{const _0x175899=_0x504e69;let _0x103b32=this[_0x175899(0x276)][_0x175899(0x319)]()[_0x175899(0x4cd)];_0x103b32&&_0x103b32[_0x175899(0x48b)]===_0xb37e0a[_0x175899(0x48b)]&&_0x103b32[_0x175899(0x4ae)]===_0xb37e0a[_0x175899(0x4ae)]&&(this['_activeScopeId']&&this[_0x175899(0x15e)]!==_0xb37e0a[_0x175899(0x31e)]||this[_0x175899(0x42a)]());}))),this[_0x504e69(0x329)]((0x0,_0x4aaeb9[_0x504e69(0x3bd)])(_0x550d24[_0x504e69(0x1cd)][_0x504e69(0x3d4)](_0x1898b=>this[_0x504e69(0x136)](_0x1898b)))),this[_0x504e69(0x329)]((0x0,_0x4aaeb9[_0x504e69(0x3bd)])(_0x550d24[_0x504e69(0x473)][_0x504e69(0x3d4)]({'priority':0x4,'next':([_0x2c9139,_0x42808a])=>{const _0x276dc8=_0x504e69;this['_handlePointerDown'](_0x2c9139)&&this[_0x276dc8(0x23b)](_0x2c9139,_0x42808a);}}))),this[_0x504e69(0x329)]((0x0,_0x4aaeb9[_0x504e69(0x3bd)])(((_0x575b74=_0x550d24[_0x504e69(0x396)])==null?void 0x0:_0x575b74[_0x504e69(0x3d4)]({'priority':0x4,'next':([_0x379a7f,_0x3a6df1])=>{const _0x5bb5f6=_0x504e69;this['_isControlEvent'](_0x379a7f)&&this[_0x5bb5f6(0x23b)](_0x379a7f,_0x3a6df1);}}))??{'dispose':()=>{}})),this[_0x504e69(0x329)]((0x0,_0x4aaeb9['toDisposable'])(((_0x57b1ef=_0x550d24[_0x504e69(0x2dc)])==null?void 0x0:_0x57b1ef[_0x504e69(0x3d4)]({'priority':0x4,'next':([_0x4667f8,_0x4c08d4])=>{const _0x3ce727=_0x504e69;this['_isControlEvent'](_0x4667f8)&&this[_0x3ce727(0x23b)](_0x4667f8,_0x4c08d4);}}))??{'dispose':()=>{}})),this[_0x504e69(0x329)]((0x0,_0x4aaeb9[_0x504e69(0x3bd)])(()=>this[_0x504e69(0x32c)]())),this[_0x504e69(0x42a)]();}[_0x114ef7(0x119)](){const _0x22d5b3=_0x114ef7;return this[_0x22d5b3(0x26c)]?this['_object']:(this[_0x22d5b3(0x26c)]=new _0x2c3732(_0x2a2970),this[_0x22d5b3(0x1ee)](this['_object']),this[_0x22d5b3(0x275)][_0x22d5b3(0x2e7)][_0x22d5b3(0x4e2)](this[_0x22d5b3(0x26c)],_0x2f0f47),this[_0x22d5b3(0x26c)]);}[_0x114ef7(0x1ee)](_0x58a911){const _0x233b84=_0x114ef7;var _0x2e88ef;(_0x2e88ef=this[_0x233b84(0x36d)])==null||_0x2e88ef[_0x233b84(0x2db)]();let _0x3d2381=new _0x4aaeb9[(_0x233b84(0x3eb))]();_0x3d2381[_0x233b84(0x4fc)](_0x58a911[_0x233b84(0x473)][_0x233b84(0x3d4)]({'priority':0x4,'next':([_0x5338d7,_0x210f8e])=>{const _0x26b6ed=_0x233b84;this['_handlePointerDown'](_0x5338d7)&&this[_0x26b6ed(0x23b)](_0x5338d7,_0x210f8e);}})),_0x3d2381[_0x233b84(0x4fc)](_0x58a911[_0x233b84(0x396)][_0x233b84(0x3d4)]({'priority':0x4,'next':([_0x51ac09,_0x3beca5])=>{const _0x57a34f=_0x233b84;this[_0x57a34f(0x4fb)](_0x51ac09)&&this[_0x57a34f(0x23b)](_0x51ac09,_0x3beca5);}})),_0x3d2381[_0x233b84(0x4fc)](_0x58a911[_0x233b84(0x2dc)][_0x233b84(0x3d4)]({'priority':0x4,'next':([_0x5dfc12,_0x3943d2])=>{const _0x422088=_0x233b84;this[_0x422088(0x4fb)](_0x5dfc12)&&this[_0x422088(0x23b)](_0x5dfc12,_0x3943d2);}})),this[_0x233b84(0x36d)]=_0x3d2381;}[_0x114ef7(0x32c)](){const _0x15495b=_0x114ef7;var _0x3c1ceb;this[_0x15495b(0x26c)]&&(this[_0x15495b(0x275)]['scene'][_0x15495b(0x301)]([this[_0x15495b(0x26c)]]),(_0x3c1ceb=this['_objectEventDisposables'])==null||_0x3c1ceb[_0x15495b(0x2db)](),this['_objectEventDisposables']=null,this[_0x15495b(0x26c)]=null,this['_activeNodeId']=null,this[_0x15495b(0x15e)]=null,this[_0x15495b(0x275)][_0x15495b(0x2e7)][_0x15495b(0x2c6)](!0x0));}['_syncControls'](_0x2c0b0c,_0x52ded7){const _0x54ad69=_0x114ef7;var _0x5cf88f,_0x33b643;if(this[_0x54ad69(0x270)][_0x54ad69(0x344)]()[_0x54ad69(0x1a9)]===_0x54ad69(0x4c9)){this[_0x54ad69(0x32c)]();return;}let _0x3cf7c7=this['_elementStateService'][_0x54ad69(0x319)](),_0x378641=_0x3cf7c7['context'],_0x887c=_0x3cf7c7['focusedId']??_0x3cf7c7[_0x54ad69(0x36e)][0x0];if(!_0x378641||!_0x887c||_0x3cf7c7[_0x54ad69(0x36e)]['length']!==0x1){this[_0x54ad69(0x32c)]();return;}let _0x2a5bef=this[_0x54ad69(0x169)][_0x54ad69(0x294)](_0x378641[_0x54ad69(0x48b)],_0x378641['subUnitId']),_0x3dde7f=_0x2a5bef[_0x887c],_0x484fcc=(0x0,_0x4ecf80[_0x54ad69(0x135)])(_0x3dde7f==null?void 0x0:_0x3dde7f[_0x54ad69(0x3bf)]);if(!_0x3dde7f||!_0x484fcc){this[_0x54ad69(0x32c)]();return;}let _0x2e7834=(0x0,_0x17cb44[_0x54ad69(0x49f)])(_0x378641[_0x54ad69(0x48b)],_0x887c);if(_0x52ded7!=null&&_0x52ded7[_0x54ad69(0x401)]&&_0x484fcc['parentNodeId']==null&&_0x2c0b0c!=null&&_0x2c0b0c[_0x54ad69(0x450)](_0x2e7834)){this[_0x54ad69(0x32c)]();return;}let _0x31a46e=this['_resolveControlBounds'](_0x2a5bef,_0x378641['unitId'],_0x887c,_0x2c0b0c);if(!_0x31a46e){this['_removeObject']();return;}let _0x5a0eb1=Object[_0x54ad69(0x25a)](_0x2a5bef)[_0x54ad69(0x176)](_0x3c6dbe=>{const _0x23d758=_0x54ad69;var _0x40a479;return((_0x40a479=(0x0,_0x4ecf80[_0x23d758(0x135)])(_0x3c6dbe['element']))==null?void 0x0:_0x40a479[_0x23d758(0x33d)])===_0x887c;}),_0x2b09d6=_0x484fcc['collapsed']?this[_0x54ad69(0x409)](_0x2a5bef,_0x887c):0x0;this[_0x54ad69(0x390)]=_0x887c,this['_activeScopeId']=_0x484fcc[_0x54ad69(0x359)];let _0x498b08=(_0x5cf88f=_0x2a5bef[_0x484fcc['structureScopeId']])==null?void 0x0:_0x5cf88f['element'],_0xa23930=(0x0,_0x4ecf80[_0x54ad69(0x315)])(_0x498b08),_0xa73fe2=_0x498b08==null||(_0x33b643=_0x498b08[_0x54ad69(0x506)])==null||(_0x33b643=_0x33b643[_0x54ad69(0x429)])==null||(_0x33b643=_0x33b643['layout'])==null?void 0x0:_0x33b643['structureKind'],_0xcf1bbe=(_0xa23930==null?void 0x0:_0xa23930['layout'][_0x54ad69(0x22a)])??_0xa73fe2,_0x5abd27=_0x484fcc['parentNodeId']==null,_0x1c3418=this[_0x54ad69(0x483)](_0x484fcc[_0x54ad69(0x126)],_0x5abd27,_0xcf1bbe);this[_0x54ad69(0x119)]()[_0x54ad69(0x415)]({'controls':_0x2be941({'bounds':_0x31a46e,'isRoot':_0x5abd27,'side':_0x1c3418,'rootChildSides':this[_0x54ad69(0x2d1)](_0x5abd27,_0xcf1bbe),'hasChildren':_0x5a0eb1[_0x54ad69(0x168)]>0x0,'collapsedDescendantCount':_0x2b09d6})}),this[_0x54ad69(0x275)]['scene'][_0x54ad69(0x2c6)](!0x0);}[_0x114ef7(0x483)](_0x46bc31,_0x3d4cdd,_0x287b01){const _0xb00d55=_0x114ef7;return _0x287b01===_0xb00d55(0x3bc)?!_0x3d4cdd&&(_0x46bc31===_0xb00d55(0x4e8)||_0x46bc31===_0xb00d55(0x34e))?_0x46bc31:_0xb00d55(0x144):_0x287b01===_0xb00d55(0x124)?!_0x3d4cdd&&(_0x46bc31===_0xb00d55(0x32e)||_0x46bc31===_0xb00d55(0x144))?_0x46bc31:_0xb00d55(0x144):_0x46bc31===_0xb00d55(0x4e8)?_0xb00d55(0x4e8):_0xb00d55(0x34e);}[_0x114ef7(0x2d1)](_0x536f60,_0x157401){const _0x5a4769=_0x114ef7;if(_0x536f60){if(_0x28bb50(_0x157401))return[_0x5a4769(0x144)];if(_0x157401===_0x5a4769(0x1c4))return[_0x5a4769(0x34e)];if(_0x157401===_0x5a4769(0x3bc))return[_0x5a4769(0x144)];}}[_0x114ef7(0x22c)](_0x3954ca){const _0x13f412=_0x114ef7;var _0x362a16,_0x26e7bb;let _0x4e67d1=this[_0x13f412(0x276)][_0x13f412(0x319)]()[_0x13f412(0x4cd)];if(!_0x4e67d1||!this[_0x13f412(0x390)])return;let _0x1f528d=this[_0x13f412(0x169)][_0x13f412(0x294)](_0x4e67d1[_0x13f412(0x48b)],_0x4e67d1[_0x13f412(0x4ae)]),_0x581bfe=(0x0,_0x4ecf80[_0x13f412(0x135)])((_0x362a16=_0x1f528d[this[_0x13f412(0x390)]])==null?void 0x0:_0x362a16[_0x13f412(0x3bf)]),_0x216792=_0x581bfe?(0x0,_0x4ecf80[_0x13f412(0x315)])((_0x26e7bb=_0x1f528d[_0x581bfe[_0x13f412(0x359)]])==null?void 0x0:_0x26e7bb[_0x13f412(0x3bf)]):null;if((_0x581bfe==null?void 0x0:_0x581bfe[_0x13f412(0x33d)])!=null||!_0x28bb50(_0x216792==null?void 0x0:_0x216792[_0x13f412(0x448)][_0x13f412(0x22a)])&&!_0xd6b441(_0x216792==null?void 0x0:_0x216792['layout'][_0x13f412(0x22a)]))return _0x3954ca===_0x13f412(0x350)?_0x13f412(0x4e8):_0x3954ca===_0x13f412(0x387)?'top':_0x3954ca==='add-child-bottom'?_0x13f412(0x144):_0x13f412(0x34e);}['_resolveControlBounds'](_0x50aac9,_0xa1d832,_0x32e7f1,_0x163cc5){const _0x309058=_0x114ef7;var _0x173d94,_0x21f7bf;let _0x54d74f=(0x0,_0x17cb44[_0x309058(0x49f)])(_0xa1d832,_0x32e7f1),_0x3458d4=_0x163cc5==null?void 0x0:_0x163cc5['get'](_0x54d74f),_0x6bd22b=this['_toFiniteBounds'](_0x3458d4);if(_0x6bd22b)return _0x6bd22b;let _0x47d7d2=this[_0x309058(0x275)][_0x309058(0x2e7)],_0x7b100c=((_0x173d94=_0x47d7d2[_0x309058(0x313)])==null?void 0x0:_0x173d94[_0x309058(0x47d)](_0x47d7d2,_0x54d74f))??((_0x21f7bf=_0x47d7d2[_0x309058(0x45b)])==null?void 0x0:_0x21f7bf[_0x309058(0x47d)](_0x47d7d2,_0x54d74f));return this['_toFiniteBounds'](_0x7b100c)||(0x0,_0x1184a0[_0x309058(0x3a8)])(_0x50aac9,_0x32e7f1);}[_0x114ef7(0x2a1)](_0x42dff1){const _0x39dc37=_0x114ef7;return _0x42dff1&&Number[_0x39dc37(0x236)](_0x42dff1[_0x39dc37(0x4e8)])&&Number['isFinite'](_0x42dff1['top'])&&Number[_0x39dc37(0x236)](_0x42dff1[_0x39dc37(0x326)])&&Number['isFinite'](_0x42dff1[_0x39dc37(0x426)])?{'left':_0x42dff1[_0x39dc37(0x4e8)],'top':_0x42dff1[_0x39dc37(0x32e)],'width':_0x42dff1[_0x39dc37(0x326)],'height':_0x42dff1[_0x39dc37(0x426)]}:null;}[_0x114ef7(0x409)](_0x3cd342,_0x1aaa6c){const _0x2fbabe=_0x114ef7;return Object[_0x2fbabe(0x25a)](_0x3cd342)[_0x2fbabe(0x176)](_0x8219b9=>{const _0x2dd7f7=_0x2fbabe;var _0x1ada74;return((_0x1ada74=(0x0,_0x4ecf80['getMindMapNodeMeta'])(_0x8219b9[_0x2dd7f7(0x3bf)]))==null?void 0x0:_0x1ada74[_0x2dd7f7(0x33d)])===_0x1aaa6c;})['reduce']((_0x5068bb,_0x43b1de)=>_0x5068bb+0x1+this['_countDescendants'](_0x3cd342,_0x43b1de[_0x2fbabe(0x17e)]),0x0);}[_0x114ef7(0x136)](_0x1191b2){const _0x3e1ff8=_0x114ef7;if(!this[_0x3e1ff8(0x26c)])return;let _0x36a80a=this['_stateService'][_0x3e1ff8(0x344)](),_0x4bd38e=_0x54ca89(_0x1191b2,{'panOffset':_0x36a80a['viewportPanOffset'],'zoomRatio':_0x36a80a[_0x3e1ff8(0x4c1)]});this[_0x3e1ff8(0x26c)][_0x3e1ff8(0x419)](this[_0x3e1ff8(0x26c)][_0x3e1ff8(0x345)](_0x4bd38e,_0x1191b2[_0x3e1ff8(0x482)]));}[_0x114ef7(0x379)](_0x291ef1){const _0x1b6424=_0x114ef7;if(!this[_0x1b6424(0x26c)]||!this[_0x1b6424(0x390)]||(_0x291ef1[_0x1b6424(0x464)]??0x0)!==0x0)return!0x1;let _0x311adf=this[_0x1b6424(0x276)][_0x1b6424(0x319)]()[_0x1b6424(0x4cd)];if(!_0x311adf)return!0x1;let _0x59fd7a=this[_0x1b6424(0x270)][_0x1b6424(0x344)](),_0x3cef9a=_0x54ca89(_0x291ef1,{'panOffset':_0x59fd7a[_0x1b6424(0x355)],'zoomRatio':_0x59fd7a['zoomRatio']}),_0x562593=this[_0x1b6424(0x26c)]['getHitControl'](_0x3cef9a,_0x291ef1['deviceType']);if(!_0x562593)return!0x1;if(_0x562593[_0x1b6424(0x2c3)]===_0x1b6424(0x363))return this['_executeAndLayout'](_0x4ecf80[_0x1b6424(0x4c4)]['id'],{'unitId':_0x311adf[_0x1b6424(0x48b)],'subUnitId':_0x311adf[_0x1b6424(0x4ae)],'nodeId':this[_0x1b6424(0x390)]}),!0x0;if(_0x562593[_0x1b6424(0x2c3)]===_0x1b6424(0x350)||_0x562593[_0x1b6424(0x2c3)]===_0x1b6424(0x18a)||_0x562593[_0x1b6424(0x2c3)]===_0x1b6424(0x387)||_0x562593['kind']===_0x1b6424(0x307)){let _0x3c5b5e=(0x0,_0x4aaeb9['generateRandomId'])(0x6);return this[_0x1b6424(0x3f3)](_0x4ecf80['AddMindMapChildOperation']['id'],{'unitId':_0x311adf['unitId'],'subUnitId':_0x311adf[_0x1b6424(0x4ae)],'parentNodeId':this[_0x1b6424(0x390)],'side':this[_0x1b6424(0x22c)](_0x562593[_0x1b6424(0x2c3)]),'nodeId':_0x3c5b5e,'connectorId':(0x0,_0x4aaeb9[_0x1b6424(0x3e0)])(0x6),'text':this[_0x1b6424(0x348)]['t'](_0x1b6424(0x25b))},_0x3c5b5e),!0x0;}if(_0x562593[_0x1b6424(0x2c3)]==='add-sibling-before'||_0x562593[_0x1b6424(0x2c3)]===_0x1b6424(0x4ea)){let _0x44698b=(0x0,_0x4aaeb9['generateRandomId'])(0x6);return this[_0x1b6424(0x3f3)](_0x4ecf80[_0x1b6424(0x2d4)]['id'],{'unitId':_0x311adf[_0x1b6424(0x48b)],'subUnitId':_0x311adf[_0x1b6424(0x4ae)],'nodeId':this[_0x1b6424(0x390)],'placement':_0x562593[_0x1b6424(0x46e)]??(_0x562593[_0x1b6424(0x2c3)]===_0x1b6424(0x302)?_0x1b6424(0x406):_0x1b6424(0x2d7)),'siblingNodeId':_0x44698b,'connectorId':(0x0,_0x4aaeb9['generateRandomId'])(0x6),'text':this[_0x1b6424(0x348)]['t']('boards-mind-ui.panel.addText')},_0x44698b),!0x0;}return!0x0;}[_0x114ef7(0x4fb)](_0x25a238){const _0x3b923d=_0x114ef7;if(!this['_object']||(_0x25a238[_0x3b923d(0x464)]??0x0)!==0x0)return!0x1;let _0x5a448b=this[_0x3b923d(0x270)][_0x3b923d(0x344)](),_0x57dc7a=_0x54ca89(_0x25a238,{'panOffset':_0x5a448b[_0x3b923d(0x355)],'zoomRatio':_0x5a448b[_0x3b923d(0x4c1)]});return!!this['_object'][_0x3b923d(0x345)](_0x57dc7a,_0x25a238[_0x3b923d(0x482)]);}[_0x114ef7(0x23b)](_0x506114,_0x488bb0){const _0x7fbd4f=_0x114ef7;var _0x152763,_0x508830;_0x488bb0[_0x7fbd4f(0x4e5)](),(_0x152763=_0x506114[_0x7fbd4f(0x1ae)])==null||_0x152763['call'](_0x506114),(_0x508830=_0x506114['stopPropagation'])==null||_0x508830[_0x7fbd4f(0x47d)](_0x506114);}[_0x114ef7(0x143)](_0x295e48,_0x10cb99){const _0x20b2a3=_0x114ef7;let _0x1f7f16=this['_activeScopeId'];this[_0x20b2a3(0x4df)][_0x20b2a3(0x3e7)](_0x10cb99[_0x20b2a3(0x48b)],()=>{const _0x32d31c=_0x20b2a3;this[_0x32d31c(0x3dc)][_0x32d31c(0x1d9)](_0x295e48,_0x10cb99)&&_0x1f7f16&&(this['_commandService'][_0x32d31c(0x1d9)](_0x4ecf80[_0x32d31c(0x1e9)]['id'],{'unitId':_0x10cb99[_0x32d31c(0x48b)],'subUnitId':_0x10cb99[_0x32d31c(0x4ae)],'scopeId':_0x1f7f16}),this[_0x32d31c(0x42a)]());});}[_0x114ef7(0x3f3)](_0x51efda,_0x142710,_0x203b48){const _0x193cf4=_0x114ef7;let _0x4b5eac={'unitId':_0x142710[_0x193cf4(0x48b)],'subUnitId':_0x142710[_0x193cf4(0x4ae)]},_0x56e4cc=this[_0x193cf4(0x3dc)][_0x193cf4(0x32b)](_0x51efda,_0x142710);Promise[_0x193cf4(0x3f1)](_0x56e4cc)[_0x193cf4(0x4a7)](_0x2f32b2=>{const _0x2055c4=_0x193cf4;_0x2f32b2&&(this[_0x2055c4(0x42a)](),this['_elementStateService'][_0x2055c4(0x273)](_0x4b5eac,[_0x203b48],_0x203b48),this[_0x2055c4(0x120)][_0x2055c4(0x4b0)](),this['_boardTextEditingService'][_0x2055c4(0x214)]({..._0x4b5eac,'shapeId':_0x203b48,'shapeKey':(0x0,_0x17cb44['getBoardElementRenderObjectKey'])(_0x4b5eac[_0x2055c4(0x48b)],_0x203b48),'visible':!0x0}));});}};_0x463974=_0x41c154([_0x27e70d(0x1,(0x0,_0x4aaeb9['Inject'])(_0x1184a0['IBoardElementService'])),_0x27e70d(0x2,(0x0,_0x4aaeb9['Inject'])(_0x17cb44[_0x114ef7(0x1af)])),_0x27e70d(0x3,(0x0,_0x4aaeb9[_0x114ef7(0x1f9)])(_0x17cb44[_0x114ef7(0x358)])),_0x27e70d(0x4,_0x4aaeb9[_0x114ef7(0x153)]),_0x27e70d(0x5,(0x0,_0x4aaeb9[_0x114ef7(0x1f9)])(_0x17cb44['BoardTextEditingService'])),_0x27e70d(0x6,(0x0,_0x4aaeb9[_0x114ef7(0x1f9)])(_0x4aaeb9[_0x114ef7(0x423)])),_0x27e70d(0x7,(0x0,_0x4aaeb9[_0x114ef7(0x1f9)])(_0x5ec1f8)),_0x27e70d(0x8,(0x0,_0x4aaeb9['Inject'])(_0x5982a1[_0x114ef7(0x131)]))],_0x463974);let _0x40413a=_0x114ef7(0x24b),_0x254827=class extends _0x4aaeb9[_0x114ef7(0x2e2)]{constructor(_0x1d3549,_0x29cb80){const _0x23063c=_0x114ef7;super(),this['_commandService']=_0x1d3549,this[_0x23063c(0x4ee)]=_0x29cb80,this[_0x23063c(0x3d8)]();}[_0x114ef7(0x3d8)](){const _0x3c451e=_0x114ef7;this[_0x3c451e(0x329)](this['_shortcutService']['registerShortcut'](this[_0x3c451e(0x1d7)]()));}[_0x114ef7(0x1d7)](){const _0x2a6624=_0x114ef7;return{'id':_0x2b6c26[_0x2a6624(0x240)],'binding':_0x5982a1['KeyCode'][_0x2a6624(0x4ce)]|_0x5982a1[_0x2a6624(0x1f3)][_0x2a6624(0x247)],'priority':0x3e8,'preconditions':_0x681d40=>_0x681d40[_0x2a6624(0x21b)](_0x2a6624(0x24b))&&this[_0x2a6624(0x3dc)][_0x2a6624(0x130)](_0x2b6c26[_0x2a6624(0x240)])};}};_0x254827=_0x41c154([_0x27e70d(0x0,_0x4aaeb9[_0x114ef7(0x153)]),_0x27e70d(0x1,_0x5982a1[_0x114ef7(0x2c4)])],_0x254827);let _0x2f1c78=[_0x2a3905,_0x156861,_0x40413a],_0x4482d9=class extends _0x4aaeb9[_0x114ef7(0x2e2)]{constructor(_0x519f7f,_0x1d3735,_0x2a4923,_0x530212,_0x82ce74){const _0x1a0003=_0x114ef7;super(),this[_0x1a0003(0x275)]=_0x519f7f,this[_0x1a0003(0x169)]=_0x1d3735,this[_0x1a0003(0x276)]=_0x2a4923,this[_0x1a0003(0x192)]=_0x530212,this[_0x1a0003(0x367)]=_0x82ce74,_0x4bcbf3(this,'_isActive',!0x1),this[_0x1a0003(0x329)]((0x0,_0x4aaeb9[_0x1a0003(0x3bd)])(this[_0x1a0003(0x275)][_0x1a0003(0x2e4)][_0x1a0003(0x41c)]((0x0,_0x1e0edb[_0x1a0003(0x480)])(this[_0x1a0003(0x244)]))['subscribe'](_0xb426a1=>{const _0x333030=_0x1a0003;this[_0x333030(0x4e4)]=_0xb426a1,this[_0x333030(0x271)]();}))),this[_0x1a0003(0x329)]((0x0,_0x4aaeb9[_0x1a0003(0x3bd)])(this[_0x1a0003(0x276)][_0x1a0003(0x179)][_0x1a0003(0x41c)]((0x0,_0x1e0edb[_0x1a0003(0x480)])(this['dispose$']))[_0x1a0003(0x263)](()=>{const _0x39853f=_0x1a0003;this[_0x39853f(0x271)]();}))),this[_0x1a0003(0x329)]((0x0,_0x4aaeb9[_0x1a0003(0x3bd)])(this[_0x1a0003(0x192)][_0x1a0003(0x510)][_0x1a0003(0x41c)]((0x0,_0x1e0edb[_0x1a0003(0x480)])(this[_0x1a0003(0x244)]))[_0x1a0003(0x263)](()=>{this['_syncContext']();}))),this[_0x1a0003(0x271)]();}[_0x114ef7(0x271)](){const _0x3f310b=_0x114ef7;var _0x57bed1,_0x38c764;let _0x3b2bbb=this[_0x3f310b(0x276)]['getSnapshot'](),_0x35f254=this[_0x3f310b(0x192)][_0x3f310b(0x395)](),_0x572c7c=_0x35f254!=null&&_0x35f254[_0x3f310b(0x4a6)]?_0x35f254[_0x3f310b(0x1fd)]:_0x3b2bbb['activeEditingId'],_0x59430a=_0x3b2bbb[_0x3f310b(0x459)]??_0x3b2bbb[_0x3f310b(0x36e)][0x0],_0xe3e1dd=_0x3b2bbb[_0x3f310b(0x4cd)]??{'unitId':this[_0x3f310b(0x275)][_0x3f310b(0x48b)],'subUnitId':this[_0x3f310b(0x275)][_0x3f310b(0x282)]['getActivePageId']()},_0x42093e=this['_isActive']&&!!_0x59430a&&_0x3b2bbb[_0x3f310b(0x36e)]['length']===0x1&&!_0x572c7c&&!_0x3b2bbb[_0x3f310b(0x1dc)],_0x405236=this['_isActive']?this[_0x3f310b(0x169)]['getElementData'](_0xe3e1dd[_0x3f310b(0x48b)],_0xe3e1dd[_0x3f310b(0x4ae)]):{};this[_0x3f310b(0x367)][_0x3f310b(0x1e8)](_0x2a3905,_0x42093e&&!!(0x0,_0x4ecf80[_0x3f310b(0x135)])((_0x57bed1=_0x405236[_0x59430a])==null?void 0x0:_0x57bed1[_0x3f310b(0x3bf)])),this[_0x3f310b(0x367)]['setContextValue'](_0x156861,this[_0x3f310b(0x4e4)]&&_0x3b2bbb[_0x3f310b(0x36e)][_0x3f310b(0x168)]===0x0&&!_0x3b2bbb['focusedId']&&!_0x572c7c&&!_0x3b2bbb[_0x3f310b(0x1dc)]),this[_0x3f310b(0x367)][_0x3f310b(0x1e8)](_0x40413a,!!_0x572c7c&&!!(0x0,_0x4ecf80[_0x3f310b(0x135)])((_0x38c764=_0x405236[_0x572c7c])==null?void 0x0:_0x38c764[_0x3f310b(0x3bf)]));}[_0x114ef7(0x2db)](){const _0xd05977=_0x114ef7;this[_0xd05977(0x215)](),super[_0xd05977(0x2db)]();}[_0x114ef7(0x215)](){const _0x1fcdd8=_0x114ef7;_0x2f1c78[_0x1fcdd8(0x413)](_0x2ce889=>this[_0x1fcdd8(0x367)][_0x1fcdd8(0x1e8)](_0x2ce889,!0x1));}};_0x4482d9=_0x41c154([_0x27e70d(0x1,(0x0,_0x4aaeb9[_0x114ef7(0x1f9)])(_0x1184a0[_0x114ef7(0x2ad)])),_0x27e70d(0x2,(0x0,_0x4aaeb9[_0x114ef7(0x1f9)])(_0x17cb44[_0x114ef7(0x1af)])),_0x27e70d(0x3,(0x0,_0x4aaeb9[_0x114ef7(0x1f9)])(_0x17cb44[_0x114ef7(0x1bd)])),_0x27e70d(0x4,_0x4aaeb9[_0x114ef7(0x2b4)])],_0x4482d9);var _0x1576e4=class extends _0x145f65{async[_0x114ef7(0x379)](_0x2ebb8d,_0x1face1,_0x308c64){await this['_insertMindMap'](_0x2ebb8d,_0x1face1,_0x308c64);}};let _0x1bfcb7={'id':_0x114ef7(0x4bb),'type':_0x4aaeb9[_0x114ef7(0x4f6)][_0x114ef7(0x435)],'handler':(_0x363c9c,_0x39240b)=>!!(_0x39240b!=null&&_0x39240b[_0x114ef7(0x48b)])&&!!_0x39240b[_0x114ef7(0x4ae)]&&!!_0x39240b['scopeId']},_0x442615=_0x114ef7(0x1a2),_0x3f5fdd=[_0x114ef7(0x3b5),_0x114ef7(0x448),_0x114ef7(0x14a)];_0x4ecf80['MIND_MAP_DEFAULT_LAYOUT'][_0x114ef7(0x255)],_0x4ecf80[_0x114ef7(0x33c)][_0x114ef7(0x337)],_0x4ecf80[_0x114ef7(0x33c)][_0x114ef7(0x173)];let _0x39a8e6=[{'labelKey':_0x114ef7(0x1c6),'key':_0x114ef7(0x255),..._0x4ecf80[_0x114ef7(0x40f)]['horizontalGap']},{'labelKey':_0x114ef7(0x26b),'key':_0x114ef7(0x337),..._0x4ecf80['MIND_MAP_LAYOUT_SPACING_LIMITS'][_0x114ef7(0x337)]},{'labelKey':_0x114ef7(0x221),'key':_0x114ef7(0x173),..._0x4ecf80[_0x114ef7(0x40f)][_0x114ef7(0x173)]}],_0x43972b=[{'labelKey':'boards-mind-ui.panel.layout.right','value':_0x114ef7(0x34e)},{'labelKey':_0x114ef7(0x216),'value':_0x114ef7(0x4e8)},{'labelKey':_0x114ef7(0x4c0),'value':_0x114ef7(0x366)}],_0x59a04c=[{'labelKey':_0x114ef7(0x392),'value':_0x114ef7(0x4bf)},{'labelKey':_0x114ef7(0x1b9),'value':'mindmap-vertical'},{'labelKey':'boards-mind-ui.panel.structureKind.treeRight','value':_0x114ef7(0x14e)},{'labelKey':_0x114ef7(0x277),'value':_0x114ef7(0x378)},{'labelKey':_0x114ef7(0x1b6),'value':_0x114ef7(0x21f)},{'labelKey':_0x114ef7(0x394),'value':_0x114ef7(0x1c4)},{'labelKey':_0x114ef7(0x304),'value':_0x114ef7(0x3bc)}],_0xa4c688=[{'labelKey':'boards-mind-ui.panel.branchLineType.curve','value':_0x114ef7(0x410)},{'labelKey':_0x114ef7(0x341),'value':'rounded-orthogonal'},{'labelKey':_0x114ef7(0x1e7),'value':_0x114ef7(0x1f2)}];function _0x504ee0(_0x1b2b98){const _0x52d135=_0x114ef7;let _0x1b0632=(_0x1b2b98==null?void 0x0:_0x1b2b98[_0x52d135(0x22a)])??_0x4ecf80[_0x52d135(0x33c)]['structureKind'];return{'spacing':{'horizontalGap':(_0x1b2b98==null?void 0x0:_0x1b2b98[_0x52d135(0x255)])??_0x4ecf80[_0x52d135(0x33c)]['horizontalGap'],'siblingGap':(_0x1b2b98==null?void 0x0:_0x1b2b98[_0x52d135(0x337)])??_0x4ecf80[_0x52d135(0x33c)][_0x52d135(0x337)],'branchGap':(_0x1b2b98==null?void 0x0:_0x1b2b98[_0x52d135(0x173)])??_0x4ecf80[_0x52d135(0x33c)][_0x52d135(0x173)]},'direction':(_0x1b2b98==null?void 0x0:_0x1b2b98[_0x52d135(0x467)])??_0x4ecf80[_0x52d135(0x33c)][_0x52d135(0x467)],'structureKind':_0x1b0632,'branchLineType':(0x0,_0x4ecf80[_0x52d135(0x42d)])(_0x1b0632,_0x1b2b98==null?void 0x0:_0x1b2b98[_0x52d135(0x141)])};}async function _0x2534eb(_0x25c49c,_0x5dca5d){const _0x543ea5=_0x114ef7;return await Promise[_0x543ea5(0x3f1)](_0x25c49c['executeCommand'](_0x4ecf80[_0x543ea5(0x34a)]['id'],_0x5dca5d))?(await Promise[_0x543ea5(0x3f1)](_0x25c49c[_0x543ea5(0x32b)](_0x4ecf80[_0x543ea5(0x1e9)]['id'],{'unitId':_0x5dca5d[_0x543ea5(0x48b)],'subUnitId':_0x5dca5d[_0x543ea5(0x4ae)],'scopeId':_0x5dca5d[_0x543ea5(0x31e)]})),!0x0):!0x1;}async function _0x2584eb(_0x49e95a,_0x2e24a9){const _0x525727=_0x114ef7;return await Promise[_0x525727(0x3f1)](_0x49e95a[_0x525727(0x32b)](_0x4ecf80[_0x525727(0x26f)]['id'],_0x2e24a9))?(await Promise['resolve'](_0x49e95a['executeCommand'](_0x4ecf80[_0x525727(0x1e9)]['id'],{'unitId':_0x2e24a9[_0x525727(0x48b)],'subUnitId':_0x2e24a9[_0x525727(0x4ae)],'scopeId':_0x2e24a9[_0x525727(0x31e)]})),!0x0):!0x1;}async function _0x3bb631(_0x35b657,_0x1684fc){const _0x3f57fd=_0x114ef7;return await Promise[_0x3f57fd(0x3f1)](_0x35b657[_0x3f57fd(0x32b)](_0x4ecf80[_0x3f57fd(0x34a)]['id'],{'unitId':_0x1684fc[_0x3f57fd(0x48b)],'subUnitId':_0x1684fc[_0x3f57fd(0x4ae)],'scopeId':_0x1684fc['scopeId'],..._0x1684fc[_0x3f57fd(0x255)]===void 0x0?{}:{'horizontalGap':_0x1684fc[_0x3f57fd(0x255)]},..._0x1684fc[_0x3f57fd(0x337)]===void 0x0?{}:{'siblingGap':_0x1684fc[_0x3f57fd(0x337)]},..._0x1684fc[_0x3f57fd(0x173)]===void 0x0?{}:{'branchGap':_0x1684fc[_0x3f57fd(0x173)]}}))?(await Promise[_0x3f57fd(0x3f1)](_0x35b657['executeCommand'](_0x4ecf80[_0x3f57fd(0x1e9)]['id'],{'unitId':_0x1684fc['unitId'],'subUnitId':_0x1684fc[_0x3f57fd(0x4ae)],'scopeId':_0x1684fc[_0x3f57fd(0x31e)]})),!0x0):!0x1;}async function _0x3b36c5(_0x5a011d,_0x10e994){const _0x30c02a=_0x114ef7;return _0x10e994[_0x30c02a(0x466)]===_0x10e994['targetNodeId']||!await Promise[_0x30c02a(0x3f1)](_0x5a011d['executeCommand'](_0x4ecf80['ReparentMindMapNodeOperation']['id'],{'unitId':_0x10e994[_0x30c02a(0x48b)],'subUnitId':_0x10e994[_0x30c02a(0x4ae)],'nodeId':_0x10e994[_0x30c02a(0x466)],'targetNodeId':_0x10e994[_0x30c02a(0x2e0)],'referenceNodeId':_0x10e994[_0x30c02a(0x2e0)],'placement':_0x10e994[_0x30c02a(0x46e)]}))?!0x1:(await Promise[_0x30c02a(0x3f1)](_0x5a011d[_0x30c02a(0x32b)](_0x4ecf80[_0x30c02a(0x1e9)]['id'],{'unitId':_0x10e994[_0x30c02a(0x48b)],'subUnitId':_0x10e994[_0x30c02a(0x4ae)],'scopeId':_0x10e994[_0x30c02a(0x31e)]})),!0x0);}async function _0x2fa5e8(_0x332be8,_0x45535a){const _0x4e6db8=_0x114ef7;let _0x3bae42=_0x45535a[_0x4e6db8(0x2d2)]['trim']();return!_0x3bae42||!await Promise[_0x4e6db8(0x3f1)](_0x332be8[_0x4e6db8(0x32b)](_0x4ecf80[_0x4e6db8(0x343)]['id'],{'unitId':_0x45535a[_0x4e6db8(0x48b)],'subUnitId':_0x45535a[_0x4e6db8(0x4ae)],'nodeId':_0x45535a['nodeId'],'text':_0x3bae42}))?!0x1:(await Promise[_0x4e6db8(0x3f1)](_0x332be8[_0x4e6db8(0x32b)](_0x4ecf80[_0x4e6db8(0x1e9)]['id'],{'unitId':_0x45535a['unitId'],'subUnitId':_0x45535a['subUnitId'],'scopeId':_0x45535a[_0x4e6db8(0x31e)]})),!0x0);}async function _0x21db18(_0x2c75aa){const _0x1b312f=_0x114ef7;var _0x5bdec8;let _0x13f6a3=(_0x5bdec8=globalThis['navigator'])==null?void 0x0:_0x5bdec8[_0x1b312f(0x314)];return _0x13f6a3!=null&&_0x13f6a3[_0x1b312f(0x452)]?(await _0x13f6a3[_0x1b312f(0x452)](_0x2c75aa),!0x0):!0x1;}async function _0x4e7997(_0x562ffe,_0x18556a,_0x9deea6=_0x21db18){const _0x233740=_0x114ef7;let _0x32de80=await Promise['resolve'](_0x562ffe[_0x233740(0x32b)](_0x4ecf80[_0x233740(0x30a)]['id'],_0x18556a));if(typeof _0x32de80!=_0x233740(0x36c)||!_0x32de80)return!0x1;try{return await _0x9deea6(_0x32de80)!==!0x1;}catch{return!0x1;}}async function _0x1d3f50(_0x56aa48,_0x34a487){const _0x73f7ee=_0x114ef7;return _0x34a487['opml']['trim']()?(await _0x56aa48[_0x73f7ee(0x32b)](_0x4ecf80[_0x73f7ee(0x1a8)]['id'],_0x34a487))['success']:!0x1;}function _0x4f2540(_0x4782de,_0x10f48b){const _0x2b5228=_0x114ef7;let _0x492154=_0x2b5228(0x43a)in _0x4782de[_0x2b5228(0x3bf)]?_0x4782de[_0x2b5228(0x3bf)][_0x2b5228(0x43a)][_0x2b5228(0x430)]:void 0x0;return(_0x492154==null?void 0x0:_0x492154['text'])||_0x10f48b;}function _0x57207b(_0x46eced,_0x28c45b,_0x5ccebb=_0x4ecf80['MIND_MAP_DEFAULT_NODE_TEXT']){const _0x4a8a4c=_0x114ef7;let _0x394e41=Object[_0x4a8a4c(0x25a)](_0x46eced)['map'](_0x3f3762=>{const _0x35dfd3=_0x4a8a4c;let _0x4a9952=(0x0,_0x4ecf80[_0x35dfd3(0x135)])(_0x3f3762[_0x35dfd3(0x3bf)]);return(_0x4a9952==null?void 0x0:_0x4a9952[_0x35dfd3(0x359)])===_0x28c45b?{'data':_0x3f3762,'meta':_0x4a9952}:null;})['filter'](_0x579211=>!!_0x579211),_0x14e53f=new Map();_0x394e41['forEach'](_0x42e266=>{const _0x201b5b=_0x4a8a4c;let _0x5eb24c=_0x42e266[_0x201b5b(0x30e)][_0x201b5b(0x33d)];_0x14e53f[_0x201b5b(0x356)](_0x5eb24c,[..._0x14e53f[_0x201b5b(0x2e6)](_0x5eb24c)??[],_0x42e266]);}),_0x14e53f[_0x4a8a4c(0x413)](_0x2a2a2d=>{const _0x1b85fc=_0x4a8a4c;_0x2a2a2d['sort']((_0x56cc50,_0x2763d9)=>(0x0,_0x4ecf80['compareMindMapOrderKey'])(_0x56cc50[_0x1b85fc(0x30e)][_0x1b85fc(0x4d2)],_0x2763d9[_0x1b85fc(0x30e)][_0x1b85fc(0x4d2)])||_0x56cc50[_0x1b85fc(0x262)][_0x1b85fc(0x17e)]['localeCompare'](_0x2763d9[_0x1b85fc(0x262)][_0x1b85fc(0x17e)]));});let _0x4a21af=[],_0x4a721e=(_0x405cbd,_0x13d5a4)=>{const _0x5b75a4=_0x4a8a4c;(_0x14e53f[_0x5b75a4(0x2e6)](_0x405cbd)??[])['forEach'](_0x51ea9f=>{const _0x1efbc5=_0x5b75a4;_0x4a21af[_0x1efbc5(0x209)]({'nodeId':_0x51ea9f[_0x1efbc5(0x262)][_0x1efbc5(0x17e)],'depth':_0x13d5a4,'text':_0x4f2540(_0x51ea9f['data'],_0x5ccebb)}),_0x4a721e(_0x51ea9f['data'][_0x1efbc5(0x17e)],_0x13d5a4+0x1);});};return _0x4a721e(null,0x0),_0x4a21af;}function _0x3eca07(_0x56bf68,_0x9d8e34){const _0x46288a=_0x114ef7;let _0x557d23=_0x9d8e34[_0x46288a(0x246)]()[_0x46288a(0x310)]();return _0x557d23?_0x56bf68[_0x46288a(0x176)](_0x29af66=>_0x29af66[_0x46288a(0x2d2)][_0x46288a(0x310)]()['includes'](_0x557d23)):_0x56bf68;}function _0xffd9d2(_0x1dfe5d){const _0x20df21=_0x114ef7;return{'paddingInlineStart':0x8+(Number[_0x20df21(0x236)](_0x1dfe5d)&&_0x1dfe5d>0x0?_0x1dfe5d:0x0)*0x10};}function _0x201034(_0x146fb3){const _0x55a322=_0x114ef7;return(0x0,_0x544d30[_0x55a322(0x245)])(_0x16270c[_0x55a322(0x3fc)],{'className':_0x55a322(0x3ba),..._0x146fb3});}function _0x55c38a(_0x222962){const _0x1eee13=_0x114ef7;return(0x0,_0x544d30[_0x1eee13(0x317)])(_0x1eee13(0x405),{'className':(0x0,_0x16270c[_0x1eee13(0x158)])('univer-border-b\x20univer-border-gray-200\x20univer-p-4',_0x16270c[_0x1eee13(0x45f)]),'data-board-mind-map-panel-section':_0x1eee13(0x13e),'children':[(0x0,_0x544d30[_0x1eee13(0x245)])('h3',{'className':'univer-mb-3\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-900\x20dark:!univer-text-gray-100','children':_0x222962[_0x1eee13(0x340)]}),_0x222962[_0x1eee13(0x4e0)]]});}function _0x16dfc0(_0x525908,_0x1ab6ec=_0x114ef7(0x3b5)){const _0x44a455=_0x114ef7;var _0x58df8d,_0x1eac67,_0x355d5b;let _0x8e0046=(0x0,_0x5982a1[_0x44a455(0x45a)])(_0x4aaeb9[_0x44a455(0x153)]),_0x57a462=(0x0,_0x5982a1[_0x44a455(0x45a)])(_0x17cb44[_0x44a455(0x1af)]),_0x5ae644=(0x0,_0x5982a1[_0x44a455(0x45a)])(_0x1184a0[_0x44a455(0x2ad)]),_0x21471c=(0x0,_0x5982a1[_0x44a455(0x45a)])(_0x4aaeb9['LocaleService']),[,_0x36a1b8]=(0x0,_0x34b88b[_0x44a455(0x4ad)])(_0x31059d=>_0x31059d+0x1,0x0);(0x0,_0x34b88b[_0x44a455(0x31d)])(()=>{const _0x2a9c47=_0x44a455;let _0x157254=(0x0,_0x1e0edb[_0x2a9c47(0x1ac)])(_0x5ae644[_0x2a9c47(0x3e8)],_0x5ae644[_0x2a9c47(0x25e)],_0x5ae644[_0x2a9c47(0x2c8)])['subscribe'](_0x3946dc=>{const _0xd0933c=_0x2a9c47;_0x3946dc[_0xd0933c(0x36b)](_0x8d503f=>_0x8d503f[_0xd0933c(0x48b)]===_0x525908[_0xd0933c(0x48b)]&&_0x8d503f[_0xd0933c(0x4ae)]===_0x525908[_0xd0933c(0x4ae)])&&_0x36a1b8();});return()=>_0x157254['unsubscribe']();},[_0x5ae644,_0x525908['unitId'],_0x525908[_0x44a455(0x4ae)]]);let _0x368fc1=_0x5ae644[_0x44a455(0x294)](_0x525908[_0x44a455(0x48b)],_0x525908[_0x44a455(0x4ae)]),_0x1c88e3=_0x57207b(_0x368fc1,_0x525908[_0x44a455(0x31e)],_0x21471c['t'](_0x44a455(0x25b))),_0x272958=(_0x58df8d=(0x0,_0x4ecf80[_0x44a455(0x315)])((_0x1eac67=_0x368fc1[_0x525908[_0x44a455(0x31e)]])==null?void 0x0:_0x1eac67[_0x44a455(0x3bf)]))==null?void 0x0:_0x58df8d[_0x44a455(0x448)],[_0x381291,_0x5012aa]=(0x0,_0x34b88b[_0x44a455(0x22b)])(''),[_0x203f9e,_0x3509d6]=(0x0,_0x34b88b[_0x44a455(0x22b)])(null),[_0x104f05,_0x413335]=(0x0,_0x34b88b[_0x44a455(0x22b)])(''),{spacing:_0x460d05,direction:_0x5d7ce5,structureKind:_0x54efbe,branchLineType:_0x29e21d}=_0x504ee0(_0x272958),[_0xa5aaeb,_0x4ca12d]=(0x0,_0x34b88b['useState'])(null),[_0x46350c,_0x2e5846]=(0x0,_0x34b88b[_0x44a455(0x22b)])(_0x1ab6ec),_0x2c36b0=_0x3eca07(_0x1c88e3,_0x381291),_0x4aa72a={'unitId':_0x525908['unitId'],'subUnitId':_0x525908['subUnitId'],'scopeId':_0x525908['scopeId']};return{'commandService':_0x8e0046,'elementStateService':_0x57a462,'localeService':_0x21471c,'query':_0x381291,'setQuery':_0x5012aa,'editingOutlineNode':_0x203f9e,'setEditingOutlineNode':_0x3509d6,'opmlText':_0x104f05,'setOpmlText':_0x413335,'spacing':_0x460d05,'layoutDirection':_0x5d7ce5,'structureKind':_0x54efbe,'branchLineType':_0x29e21d,'setDraggedOutlineNodeId':_0x4ca12d,'activeTab':_0x46350c,'setActiveTab':_0x2e5846,'visibleOutlineItems':_0x2c36b0,'baseParams':_0x4aa72a,'tabItems':_0x3f5fdd[_0x44a455(0x1c1)](_0x50f578=>({'label':_0x21471c['t']('boards-mind-ui.panel.tab.'+_0x50f578),'value':_0x50f578})),'selectedNode':_0x525908[_0x44a455(0x466)]?(_0x355d5b=_0x368fc1[_0x525908['nodeId']])==null?void 0x0:_0x355d5b[_0x44a455(0x3bf)]:void 0x0,'branchLineItems':_0xa4c688[_0x44a455(0x176)](_0x4f901e=>_0x4f901e[_0x44a455(0x455)]!=='curve'||(0x0,_0x4ecf80[_0x44a455(0x352)])(_0x54efbe)),'changeLayout':_0x4d34d1=>_0x2534eb(_0x8e0046,{..._0x4aa72a,'direction':_0x4d34d1}),'changeStructureKind':_0x5edbba=>{const _0x3c2dce=_0x44a455;let _0x4723d1=(0x0,_0x4ecf80[_0x3c2dce(0x42d)])(_0x5edbba,_0x29e21d);return _0x2534eb(_0x8e0046,{..._0x4aa72a,'structureKind':_0x5edbba,..._0x4723d1===_0x29e21d?null:{'branchLineType':_0x4723d1}});},'changeBranchLineType':_0x5a7a7c=>{const _0x266329=_0x44a455;let _0xb3633a=(0x0,_0x4ecf80[_0x266329(0x42d)])(_0x54efbe,_0x5a7a7c);return _0x2584eb(_0x8e0046,{..._0x4aa72a,'branchLineType':_0xb3633a});},'changeSpacing':(_0x3a185a,_0x1333ef)=>{let _0x4bec66={..._0x460d05,[_0x3a185a]:_0x1333ef};return _0x3bb631(_0x8e0046,{..._0x4aa72a,..._0x4bec66});},'importOpml':()=>{const _0x2f4d34=_0x44a455;_0x1d3f50(_0x8e0046,{'unitId':_0x525908[_0x2f4d34(0x48b)],'subUnitId':_0x525908[_0x2f4d34(0x4ae)],'left':0x78,'top':0x78,'opml':_0x104f05})[_0x2f4d34(0x4a7)](_0x28dbbb=>{_0x28dbbb&&_0x413335('');});},'exportOpml':()=>_0x4e7997(_0x8e0046,_0x4aa72a),'startRenameNode':(_0x15f3e1,_0x62b105)=>{_0x3509d6({'nodeId':_0x15f3e1,'text':_0x62b105});},'commitRenameNode':()=>{const _0x5d2741=_0x44a455;_0x203f9e&&_0x2fa5e8(_0x8e0046,{..._0x4aa72a,'nodeId':_0x203f9e[_0x5d2741(0x466)],'text':_0x203f9e[_0x5d2741(0x2d2)]})['then'](_0xfb1e72=>{_0xfb1e72&&_0x3509d6(null);});},'reorderNode':(_0x5cc1fc,_0x56767b)=>{const _0x148cbc=_0x44a455;if(_0x5cc1fc[_0x148cbc(0x1ae)](),!_0xa5aaeb||_0xa5aaeb===_0x56767b)return;let _0x462fd3=_0x5cc1fc[_0x148cbc(0x38b)]['getBoundingClientRect'](),_0x5944de=_0x5cc1fc['clientY']<_0x462fd3[_0x148cbc(0x32e)]+_0x462fd3[_0x148cbc(0x426)]/0x2?_0x148cbc(0x406):_0x148cbc(0x2d7);_0x4ca12d(null),_0x3b36c5(_0x8e0046,{..._0x4aa72a,'nodeId':_0xa5aaeb,'targetNodeId':_0x56767b,'placement':_0x5944de});}};}function _0x1afd16(_0x4cd10c){const _0x14dfef=_0x114ef7;let {elementStateService:_0x5cf01a,localeService:_0x239ada,query:_0x2debf4,setQuery:_0x5283eb,editingOutlineNode:_0x2e2da5,setEditingOutlineNode:_0x6fa8e2,opmlText:_0xede995,setOpmlText:_0x48f47b,spacing:_0x3b13e9,layoutDirection:_0xe7df6d,structureKind:_0x8421e5,branchLineType:_0x8c1164,setDraggedOutlineNodeId:_0x192688,activeTab:_0x4c78ba,setActiveTab:_0x576646,visibleOutlineItems:_0x41e9e0,tabItems:_0x4bb6f7,branchLineItems:_0x27abbd,changeLayout:_0xcd98a7,changeStructureKind:_0x464c56,changeBranchLineType:_0x3d0622,changeSpacing:_0x311c8a,importOpml:_0x3c89e2,exportOpml:_0x25fa5f,startRenameNode:_0x192aac,commitRenameNode:_0x487586,reorderNode:_0x2cf9df}=_0x16dfc0(_0x4cd10c);return(0x0,_0x544d30['jsxs'])(_0x14dfef(0x4cf),{'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':'true','children':[(0x0,_0x544d30[_0x14dfef(0x245)])(_0x14dfef(0x4cf),{'className':(0x0,_0x16270c[_0x14dfef(0x158)])(_0x14dfef(0x41a),_0x16270c[_0x14dfef(0x45f)]),'data-board-mind-map-panel-tabs':_0x14dfef(0x13e),'children':(0x0,_0x544d30['jsx'])(_0x201034,{'items':_0x4bb6f7,'value':_0x4c78ba,'onChange':_0x17e3f6=>_0x576646(_0x17e3f6)})}),_0x4c78ba===_0x14dfef(0x3b5)&&(0x0,_0x544d30['jsx'])(_0x55c38a,{'title':_0x239ada['t'](_0x14dfef(0x1d0)),'children':(0x0,_0x544d30[_0x14dfef(0x317)])(_0x14dfef(0x4cf),{'children':[(0x0,_0x544d30[_0x14dfef(0x245)])(_0x16270c['Input'],{'slot':(0x0,_0x544d30[_0x14dfef(0x245)])(_0x4778fb,{}),'value':_0x2debf4,'placeholder':_0x239ada['t']('boards-mind-ui.panel.searchNodes'),'className':(0x0,_0x16270c['clsx'])(_0x14dfef(0x2c2),!0x1),'onChange':_0x5283eb}),_0x41e9e0['length']?(0x0,_0x544d30['jsx'])('ol',{'className':_0x14dfef(0x353),'children':_0x41e9e0[_0x14dfef(0x1c1)](_0x260c7f=>(0x0,_0x544d30[_0x14dfef(0x245)])('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':_0xffd9d2(_0x260c7f[_0x14dfef(0x22d)]),'onDragStart':_0x1972c8=>{const _0x20dd94=_0x14dfef;var _0x4702ab;_0x192688(_0x260c7f[_0x20dd94(0x466)]),(_0x4702ab=_0x1972c8[_0x20dd94(0x49a)])==null||_0x4702ab[_0x20dd94(0x220)]('text/plain',_0x260c7f[_0x20dd94(0x466)]),_0x1972c8[_0x20dd94(0x49a)]&&(_0x1972c8[_0x20dd94(0x49a)]['effectAllowed']=_0x20dd94(0x29a));},'onDragOver':_0x1a5713=>{const _0x4bc09f=_0x14dfef;_0x1a5713[_0x4bc09f(0x1ae)](),_0x1a5713[_0x4bc09f(0x49a)]&&(_0x1a5713['dataTransfer'][_0x4bc09f(0x4aa)]='move');},'onDrop':_0x5c8a80=>_0x2cf9df(_0x5c8a80,_0x260c7f[_0x14dfef(0x466)]),'onDragEnd':()=>_0x192688(null),'children':(_0x2e2da5==null?void 0x0:_0x2e2da5['nodeId'])===_0x260c7f[_0x14dfef(0x466)]?(0x0,_0x544d30[_0x14dfef(0x317)])(_0x14dfef(0x4cf),{'className':(0x0,_0x16270c[_0x14dfef(0x158)])(_0x14dfef(0x33a),_0x14dfef(0x12d)),'children':[(0x0,_0x544d30[_0x14dfef(0x245)])(_0x16270c[_0x14dfef(0x279)],{'autoFocus':!0x0,'size':_0x14dfef(0x249),'className':void 0x0,'value':_0x2e2da5[_0x14dfef(0x2d2)],'onChange':_0x505535=>_0x6fa8e2({'nodeId':_0x260c7f[_0x14dfef(0x466)],'text':_0x505535}),'onKeyDown':_0x439c46=>{const _0x1d7838=_0x14dfef;_0x439c46['key']==='Enter'&&_0x487586(),_0x439c46[_0x1d7838(0x333)]===_0x1d7838(0x4b8)&&_0x6fa8e2(null);}}),(0x0,_0x544d30[_0x14dfef(0x245)])(_0x16270c[_0x14dfef(0x347)],{'className':void 0x0,'size':_0x14dfef(0x249),'variant':_0x14dfef(0x3da),'disabled':!_0x2e2da5['text'][_0x14dfef(0x246)](),'onClick':_0x487586,'children':_0x239ada['t']('boards-mind-ui.panel.rename')}),(0x0,_0x544d30[_0x14dfef(0x245)])(_0x16270c[_0x14dfef(0x347)],{'className':void 0x0,'size':_0x14dfef(0x249),'variant':_0x14dfef(0x328),'onClick':()=>_0x6fa8e2(null),'children':_0x239ada['t'](_0x14dfef(0x2da))})]}):(0x0,_0x544d30[_0x14dfef(0x317)])(_0x544d30[_0x14dfef(0x4a3)],{'children':[(0x0,_0x544d30[_0x14dfef(0x245)])(_0x16270c[_0x14dfef(0x347)],{'size':_0x14dfef(0x249),'variant':_0x14dfef(0x248),'className':(0x0,_0x16270c[_0x14dfef(0x158)])(_0x14dfef(0x2dd),!0x1),'onClick':()=>_0x5cf01a['selectElements']({'unitId':_0x4cd10c[_0x14dfef(0x48b)],'subUnitId':_0x4cd10c['subUnitId']},[_0x260c7f[_0x14dfef(0x466)]],_0x260c7f[_0x14dfef(0x466)]),'children':_0x260c7f[_0x14dfef(0x2d2)]}),(0x0,_0x544d30[_0x14dfef(0x245)])(_0x16270c['Button'],{'className':(0x0,_0x16270c[_0x14dfef(0x158)])('univer-text-gray-500',_0x14dfef(0x222)),'size':_0x14dfef(0x249),'variant':'default','onClick':()=>_0x192aac(_0x260c7f[_0x14dfef(0x466)],_0x260c7f[_0x14dfef(0x2d2)]),'children':_0x239ada['t']('boards-mind-ui.panel.rename')})]})},_0x260c7f[_0x14dfef(0x466)]))}):(0x0,_0x544d30[_0x14dfef(0x245)])(_0x14dfef(0x4cf),{'className':_0x14dfef(0x172),'data-board-mind-map-panel-empty-state':_0x14dfef(0x13e),'children':_0x239ada['t'](_0x14dfef(0x27e))})]})}),_0x4c78ba==='layout'&&(0x0,_0x544d30[_0x14dfef(0x245)])(_0x55c38a,{'title':_0x239ada['t'](_0x14dfef(0x3c6)),'children':(0x0,_0x544d30['jsxs'])(_0x14dfef(0x4cf),{'className':'univer-space-y-3','children':[(0x0,_0x544d30[_0x14dfef(0x245)])(_0x14dfef(0x4cf),{'className':_0x14dfef(0x259),'children':(0x0,_0x544d30[_0x14dfef(0x245)])(_0x201034,{'items':_0x59a04c[_0x14dfef(0x1c1)](_0x95401d=>({'label':_0x239ada['t'](_0x95401d[_0x14dfef(0x431)]),'value':_0x95401d[_0x14dfef(0x455)]})),'value':_0x8421e5,'onChange':_0x58500e=>_0x464c56(_0x58500e)})}),(0x0,_0x544d30[_0x14dfef(0x245)])(_0x14dfef(0x4cf),{'className':'univer-flex\x20univer-gap-2','children':(0x0,_0x544d30[_0x14dfef(0x245)])(_0x201034,{'items':_0x43972b['map'](_0xada777=>({'label':_0x239ada['t'](_0xada777[_0x14dfef(0x431)]),'value':_0xada777[_0x14dfef(0x455)]})),'value':_0xe7df6d,'onChange':_0x2ee8d8=>_0xcd98a7(_0x2ee8d8)})}),(0x0,_0x544d30[_0x14dfef(0x245)])(_0x14dfef(0x4cf),{'className':'univer-flex\x20univer-gap-2','children':(0x0,_0x544d30[_0x14dfef(0x245)])(_0x201034,{'items':_0x27abbd['map'](_0x56b152=>({'label':_0x239ada['t'](_0x56b152[_0x14dfef(0x431)]),'value':_0x56b152[_0x14dfef(0x455)]})),'value':_0x8c1164,'onChange':_0x238fd2=>_0x3d0622(_0x238fd2)})}),(0x0,_0x544d30['jsx'])(_0x14dfef(0x4cf),{'className':_0x14dfef(0x446),'children':_0x39a8e6[_0x14dfef(0x1c1)](({labelKey:_0x5a1268,key:_0xc01ba3,min:_0x28f957,max:_0x28381f})=>(0x0,_0x544d30[_0x14dfef(0x317)])(_0x14dfef(0x402),{'className':_0x14dfef(0x1c5),'children':[(0x0,_0x544d30[_0x14dfef(0x245)])(_0x14dfef(0x43f),{'className':_0x14dfef(0x40c),'children':_0x239ada['t'](_0x5a1268)}),(0x0,_0x544d30[_0x14dfef(0x245)])(_0x16270c['InputNumber'],{'controls':!0x0,'inputClassName':void 0x0,'min':_0x28f957,'max':_0x28381f,'step':0x4,'value':_0x3b13e9[_0xc01ba3],'precision':0x0,'className':_0x14dfef(0x35b),'onChange':_0x5dea36=>_0x311c8a(_0xc01ba3,Number(_0x5dea36??_0x28f957))})]},_0xc01ba3))})]})}),_0x4c78ba===_0x14dfef(0x14a)&&(0x0,_0x544d30[_0x14dfef(0x245)])(_0x55c38a,{'title':_0x239ada['t'](_0x14dfef(0x161)),'children':(0x0,_0x544d30[_0x14dfef(0x317)])(_0x14dfef(0x4cf),{'className':_0x14dfef(0x469),'children':[(0x0,_0x544d30['jsx'])(_0x16270c[_0x14dfef(0x520)],{'className':(0x0,_0x16270c[_0x14dfef(0x158)])(_0x14dfef(0x3ac),'univer-text-xs'),'placeholder':_0x239ada['t']('boards-mind-ui.panel.pasteOPML'),'value':_0xede995,'onValueChange':_0x48f47b}),(0x0,_0x544d30['jsxs'])('div',{'className':_0x14dfef(0x259),'children':[(0x0,_0x544d30['jsx'])(_0x16270c['Button'],{'className':void 0x0,'size':_0x14dfef(0x249),'variant':_0x14dfef(0x3da),'disabled':!_0xede995[_0x14dfef(0x246)](),'onClick':_0x3c89e2,'children':_0x239ada['t'](_0x14dfef(0x50f))}),(0x0,_0x544d30['jsx'])(_0x16270c[_0x14dfef(0x347)],{'className':void 0x0,'size':'small','variant':_0x14dfef(0x328),'onClick':_0x25fa5f,'children':_0x239ada['t'](_0x14dfef(0x1c7))})]})]})})]});}let _0x5a60b2=class extends _0x4aaeb9[_0x114ef7(0x13a)]{constructor(_0x17068c,_0x39dca5,_0x4d4984){const _0x5dffee=_0x114ef7;super(),this[_0x5dffee(0x3dc)]=_0x17068c,this[_0x5dffee(0x348)]=_0x39dca5,this[_0x5dffee(0x186)]=_0x4d4984,_0x4bcbf3(this,_0x5dffee(0x4d3),null),this[_0x5dffee(0x329)](this['_commandService'][_0x5dffee(0x35f)](_0x1bfcb7)),this[_0x5dffee(0x329)](this[_0x5dffee(0x3dc)][_0x5dffee(0x47c)](_0x41ba08=>{const _0xdce01=_0x5dffee;if(_0x41ba08['id']!==_0x1bfcb7['id'])return;let _0x4ad526=_0x41ba08[_0xdce01(0x3b9)];_0x4ad526&&_0xdce01(0x48b)in _0x4ad526&&typeof _0x4ad526[_0xdce01(0x48b)]==_0xdce01(0x36c)&&_0xdce01(0x4ae)in _0x4ad526&&typeof _0x4ad526[_0xdce01(0x4ae)]==_0xdce01(0x36c)&&'scopeId'in _0x4ad526&&typeof _0x4ad526[_0xdce01(0x31e)]==_0xdce01(0x36c)&&this[_0xdce01(0x1e5)]({'unitId':_0x4ad526[_0xdce01(0x48b)],'subUnitId':_0x4ad526['subUnitId'],'scopeId':_0x4ad526['scopeId'],'nodeId':_0xdce01(0x466)in _0x4ad526&&typeof _0x4ad526[_0xdce01(0x466)]=='string'?_0x4ad526[_0xdce01(0x466)]:void 0x0});}));}['dispose'](){const _0x275fd5=_0x114ef7;var _0x3dd8ed;(_0x3dd8ed=this[_0x275fd5(0x4d3)])==null||_0x3dd8ed['dispose'](),this[_0x275fd5(0x4d3)]=null,super['dispose']();}[_0x114ef7(0x1e5)](_0x4c5d08){const _0x57b481=_0x114ef7;var _0x346114;let _0x12d37e={'label':_0x442615,..._0x4c5d08},_0x5c0b39={'id':_0x442615,'layout':_0x57b481(0x34d),'header':{'title':this['_localeService']['t']('boards-mind-ui.panel.title')},'width':0x184,'children':_0x12d37e,'onClose':()=>{const _0x48debb=_0x57b481;this[_0x48debb(0x4d3)]=null;}};(_0x346114=this[_0x57b481(0x4d3)])==null||_0x346114[_0x57b481(0x2db)](),this[_0x57b481(0x4d3)]=this[_0x57b481(0x186)][_0x57b481(0x1e5)](_0x5c0b39);}};_0x5a60b2=_0x41c154([_0x27e70d(0x0,_0x4aaeb9['ICommandService']),_0x27e70d(0x1,(0x0,_0x4aaeb9[_0x114ef7(0x1f9)])(_0x4aaeb9[_0x114ef7(0x423)])),_0x27e70d(0x2,(0x0,_0x4aaeb9[_0x114ef7(0x1f9)])(_0x5982a1[_0x114ef7(0x34f)]))],_0x5a60b2);function _0x5917b0(_0x46c2b1){const _0x1a9faa=_0x114ef7;let _0x281aa9=(0x0,_0x5982a1[_0x1a9faa(0x45a)])(_0x4aaeb9[_0x1a9faa(0x153)]),_0x246e70=_0x46c2b1[_0x1a9faa(0x39d)][_0x1a9faa(0x29c)];return _0x246e70?(0x0,_0x544d30['jsx'])(_0x2b6c26[_0x1a9faa(0x3b1)],{'shapeRef':{'hostType':_0x4aaeb9[_0x1a9faa(0x449)]['UNIVER_BOARD'],'unitId':_0x246e70['unitId'],'subUnitId':_0x246e70['subUnitId'],'shapeId':_0x246e70[_0x1a9faa(0x17e)]},'onText':()=>_0x54d0c7(_0x281aa9,_0x1a9faa(0x46b)),'onStyle':()=>_0x281aa9[_0x1a9faa(0x32b)](_0x1bfcb7['id'],{'unitId':_0x246e70[_0x1a9faa(0x48b)],'subUnitId':_0x246e70['subUnitId'],'scopeId':_0x246e70[_0x1a9faa(0x31e)],'nodeId':_0x246e70[_0x1a9faa(0x17e)]}),'onDelete':()=>_0x54d0c7(_0x281aa9,_0x1a9faa(0x3c7))}):null;}function _0x5e224f(_0x578453){const _0x118308=_0x114ef7;var _0x324ee7,_0x8b150e,_0x23c8b0,_0x5180e7,_0x28336a;let _0x178627=(0x0,_0x5982a1[_0x118308(0x45a)])(_0x4aaeb9[_0x118308(0x153)]),_0x171da3=(0x0,_0x5982a1[_0x118308(0x45a)])(_0x4aaeb9[_0x118308(0x423)]),_0x45c38e=(0x0,_0x5982a1[_0x118308(0x45a)])(_0x5982a1['IFontService']),_0x27e549=(0x0,_0x5982a1[_0x118308(0x1fa)])(_0x45c38e['fonts$'],_0x45c38e[_0x118308(0x1ff)]()),[_0x4fe5de,_0x42a396]=(0x0,_0x34b88b[_0x118308(0x22b)])(null),_0x34d91b=(0x0,_0x2b6c26[_0x118308(0x4c7)])(_0x578453[_0x118308(0x43a)]),_0x5172fd=_0x34d91b['ff']??_0x21a535['ShapeDefaultConfig'][_0x118308(0x430)][_0x118308(0x493)],_0xa27927=_0x34d91b['fs']??_0x21a535[_0x118308(0x335)][_0x118308(0x430)][_0x118308(0x3de)];function _0x3aef17(_0x56a5a2){const _0x4a3cad=_0x118308;return _0x178627[_0x4a3cad(0x32b)](_0x4ecf80['UpdateMindMapNodeOperation']['id'],{'unitId':_0x578453[_0x4a3cad(0x48b)],'subUnitId':_0x578453['subUnitId'],'nodeId':_0x578453[_0x4a3cad(0x466)],..._0x56a5a2});}let _0x25fb5e=[{'key':_0x118308(0x1df),'value':((_0x324ee7=_0x578453[_0x118308(0x43a)][_0x118308(0x1df)])==null?void 0x0:_0x324ee7[_0x118308(0x3ca)])??_0x21a535['ShapeDefaultConfig']['fill']},{'key':_0x118308(0x2cf),'value':((_0x8b150e=_0x578453[_0x118308(0x43a)][_0x118308(0x2cf)])==null?void 0x0:_0x8b150e[_0x118308(0x3ca)])??_0x21a535[_0x118308(0x335)][_0x118308(0x2cf)]},{'key':'fontColor','value':((_0x23c8b0=_0x34d91b['cl'])==null?void 0x0:_0x23c8b0[_0x118308(0x300)])??_0x21a535[_0x118308(0x335)][_0x118308(0x430)][_0x118308(0x3ca)]}];if(_0x4fe5de){var _0x5d817b;return(0x0,_0x544d30[_0x118308(0x317)])(_0x118308(0x4cf),{'className':'univer-flex\x20univer-flex-col\x20univer-gap-4\x20univer-p-4','children':[(0x0,_0x544d30[_0x118308(0x245)])(_0x16270c['Button'],{'className':'univer-min-h-12\x20univer-w-full','onClick':()=>_0x42a396(null),'children':_0x171da3['t'](_0x118308(0x2da))}),_0x4fe5de===_0x118308(0x493)?_0x27e549==null?void 0x0:_0x27e549[_0x118308(0x1c1)](_0xf769fe=>(0x0,_0x544d30[_0x118308(0x245)])(_0x16270c[_0x118308(0x347)],{'className':_0x118308(0x16e),'aria-pressed':_0x5172fd===_0xf769fe[_0x118308(0x455)],'variant':_0x5172fd===_0xf769fe[_0x118308(0x455)]?'primary':_0x118308(0x328),'onClick':async()=>{const _0xd4796e=_0x118308;await _0x3aef17({'textStyle':{'fontFamily':_0xf769fe[_0xd4796e(0x455)]}}),_0x42a396(null);},'children':_0xf769fe['label']},_0xf769fe[_0x118308(0x455)])):(0x0,_0x544d30[_0x118308(0x245)])(_0x16270c[_0x118308(0x4eb)],{'value':(_0x5d817b=_0x25fb5e['find'](({key:_0x9a53e4})=>_0x9a53e4===_0x4fe5de))==null?void 0x0:_0x5d817b[_0x118308(0x455)],'onSelect':async _0x27387f=>{_0x4fe5de==='fill'?await _0x3aef17({'fillColor':_0x27387f}):_0x4fe5de==='stroke'?await _0x3aef17({'strokeColor':_0x27387f}):await _0x3aef17({'textStyle':{'color':_0x27387f}}),_0x42a396(null);}})]});}let _0x2cb3cf=[{'key':_0x118308(0x1c9),'active':_0x34d91b['bl']===_0x4aaeb9['BooleanNumber'][_0x118308(0x33e)],'icon':(0x0,_0x544d30[_0x118308(0x245)])(_0x3694f3,{})},{'key':'italic','active':_0x34d91b['it']===_0x4aaeb9[_0x118308(0x49b)]['TRUE'],'icon':(0x0,_0x544d30[_0x118308(0x245)])(_0x57beec,{})},{'key':_0x118308(0x165),'active':((_0x5180e7=_0x34d91b['ul'])==null?void 0x0:_0x5180e7['s'])===_0x4aaeb9['BooleanNumber'][_0x118308(0x33e)],'icon':(0x0,_0x544d30[_0x118308(0x245)])(_0x268164,{})},{'key':_0x118308(0x51c),'active':((_0x28336a=_0x34d91b['st'])==null?void 0x0:_0x28336a['s'])===_0x4aaeb9['BooleanNumber']['TRUE'],'icon':(0x0,_0x544d30[_0x118308(0x245)])(_0x488be7,{})}];return(0x0,_0x544d30[_0x118308(0x317)])(_0x118308(0x4cf),{'className':_0x118308(0x488),'children':[(0x0,_0x544d30[_0x118308(0x245)])(_0x118308(0x4cf),{'className':_0x118308(0x2ab),'children':_0x2cb3cf['map'](({key:_0x4d7026,active:_0x7e0a5e,icon:_0x5a4248})=>(0x0,_0x544d30[_0x118308(0x245)])(_0x16270c['Button'],{'className':_0x118308(0x12f),'aria-label':_0x171da3['t'](_0x118308(0x4ba)+_0x4d7026),'aria-pressed':_0x7e0a5e,'variant':_0x7e0a5e?_0x118308(0x3da):_0x118308(0x328),'onClick':()=>_0x3aef17({'textStyle':{[_0x4d7026]:!_0x7e0a5e}}),'children':_0x5a4248},_0x4d7026))}),(0x0,_0x544d30[_0x118308(0x317)])(_0x16270c[_0x118308(0x347)],{'className':_0x118308(0x44a),'onClick':()=>_0x42a396(_0x118308(0x493)),'children':[(0x0,_0x544d30[_0x118308(0x245)])(_0x118308(0x43f),{'children':_0x171da3['t']('boards-mind-ui.panel.nodeStyle.fontFamily')}),(0x0,_0x544d30[_0x118308(0x245)])(_0x118308(0x43f),{'children':_0x5172fd})]}),(0x0,_0x544d30[_0x118308(0x317)])('label',{'className':_0x118308(0x457),'children':[(0x0,_0x544d30[_0x118308(0x245)])(_0x118308(0x43f),{'children':_0x171da3['t'](_0x118308(0x360))}),(0x0,_0x544d30[_0x118308(0x245)])(_0x16270c[_0x118308(0x515)],{'className':_0x118308(0x2a8),'inputClassName':_0x118308(0x1a1),'controls':!0x1,'min':0x1,'value':_0xa27927,'onChange':_0x2f4f85=>{if(_0x2f4f85!=null)return _0x3aef17({'textStyle':{'fontSize':_0x2f4f85}});}})]}),_0x25fb5e[_0x118308(0x1c1)](({key:_0x3b0eba,value:_0x4e724a})=>(0x0,_0x544d30[_0x118308(0x317)])(_0x16270c[_0x118308(0x347)],{'className':'univer-min-h-12\x20univer-w-full\x20univer-justify-between','onClick':()=>_0x42a396(_0x3b0eba),'children':[(0x0,_0x544d30[_0x118308(0x245)])(_0x118308(0x43f),{'children':_0x171da3['t']('boards-mind-ui.toolbar.action.'+_0x3b0eba)}),(0x0,_0x544d30[_0x118308(0x245)])(_0x118308(0x43f),{'className':_0x118308(0x171),'style':{'backgroundColor':_0x4e724a}})]},_0x3b0eba))]});}function _0x2d0879(_0x30d64e){const _0x1aa336=_0x114ef7;return(0x0,_0x544d30[_0x1aa336(0x245)])('div',{'className':(0x0,_0x16270c[_0x1aa336(0x158)])(_0x1aa336(0x1e1),_0x30d64e[_0x1aa336(0x1a6)][_0x1aa336(0x168)]===0x4?'univer-grid-cols-4':'univer-grid-cols-3'),'children':_0x30d64e['items'][_0x1aa336(0x1c1)](_0x12578b=>(0x0,_0x544d30['jsx'])(_0x16270c[_0x1aa336(0x347)],{'className':'univer-h-auto\x20univer-min-h-12\x20univer-whitespace-normal\x20univer-px-2\x20univer-py-2','variant':_0x30d64e['value']===_0x12578b[_0x1aa336(0x455)]?_0x1aa336(0x3da):'default','aria-pressed':_0x30d64e['value']===_0x12578b[_0x1aa336(0x455)],'onClick':()=>_0x30d64e[_0x1aa336(0x1e4)](_0x12578b[_0x1aa336(0x455)]),'children':_0x12578b[_0x1aa336(0x402)]},_0x12578b[_0x1aa336(0x455)]))});}function _0x5043f3(_0x8c5bc9){const _0x67b5c7=_0x114ef7;let {commandService:_0xb29906,elementStateService:_0x238fa2,localeService:_0x516b7f,query:_0x527056,setQuery:_0x549a99,editingOutlineNode:_0x3682f1,setEditingOutlineNode:_0x47a266,opmlText:_0xc02cd7,setOpmlText:_0x4cf040,spacing:_0x3ab3fc,layoutDirection:_0x4cf0f1,structureKind:_0x50ce2d,branchLineType:_0x449ae,activeTab:_0x55a691,setActiveTab:_0x1b13dc,visibleOutlineItems:_0x525c90,baseParams:_0x27fc13,tabItems:_0x1d39cb,selectedNode:_0x4c581f,branchLineItems:_0x43d691,changeLayout:_0x3af830,changeStructureKind:_0x79b704,changeBranchLineType:_0x4ea9ff,changeSpacing:_0x4d4447,importOpml:_0x30f8f1,startRenameNode:_0x5887ab,commitRenameNode:_0x1fdc40}=_0x16dfc0(_0x8c5bc9,_0x8c5bc9[_0x67b5c7(0x466)]?_0x67b5c7(0x25c):_0x67b5c7(0x3b5));return(_0x4c581f==null?void 0x0:_0x4c581f[_0x67b5c7(0x383)])===_0x1184a0[_0x67b5c7(0x224)][_0x67b5c7(0x208)]&&_0x1d39cb[_0x67b5c7(0x239)]({'label':_0x516b7f['t'](_0x67b5c7(0x513)),'value':_0x67b5c7(0x25c)}),(0x0,_0x544d30['jsxs'])(_0x67b5c7(0x4cf),{'className':_0x67b5c7(0x27a),'data-board-mind-map-panel':_0x67b5c7(0x13e),'children':[(0x0,_0x544d30['jsx'])(_0x67b5c7(0x4cf),{'className':(0x0,_0x16270c[_0x67b5c7(0x158)])(_0x67b5c7(0x41a),_0x16270c[_0x67b5c7(0x45f)]),'data-board-mind-map-panel-tabs':'true','children':(0x0,_0x544d30[_0x67b5c7(0x245)])(_0x2d0879,{'items':_0x1d39cb,'value':_0x55a691,'onChange':_0x18934d=>_0x1b13dc(_0x18934d)})}),_0x55a691===_0x67b5c7(0x25c)&&(_0x4c581f==null?void 0x0:_0x4c581f[_0x67b5c7(0x383)])===_0x1184a0[_0x67b5c7(0x224)][_0x67b5c7(0x208)]&&(0x0,_0x544d30[_0x67b5c7(0x245)])(_0x5e224f,{'unitId':_0x8c5bc9[_0x67b5c7(0x48b)],'subUnitId':_0x8c5bc9[_0x67b5c7(0x4ae)],'nodeId':_0x4c581f['id'],'shapeData':_0x4c581f[_0x67b5c7(0x43a)]}),_0x55a691===_0x67b5c7(0x3b5)&&(0x0,_0x544d30[_0x67b5c7(0x245)])(_0x55c38a,{'title':_0x516b7f['t'](_0x67b5c7(0x1d0)),'children':(0x0,_0x544d30[_0x67b5c7(0x317)])(_0x67b5c7(0x4cf),{'children':[(0x0,_0x544d30[_0x67b5c7(0x245)])(_0x16270c[_0x67b5c7(0x279)],{'slot':(0x0,_0x544d30[_0x67b5c7(0x245)])(_0x4778fb,{}),'value':_0x527056,'placeholder':_0x516b7f['t'](_0x67b5c7(0x2c0)),'className':(0x0,_0x16270c[_0x67b5c7(0x158)])(_0x67b5c7(0x2c2),'univer-h-12\x20univer-text-base'),'onChange':_0x549a99}),_0x525c90[_0x67b5c7(0x168)]?(0x0,_0x544d30[_0x67b5c7(0x245)])('ol',{'className':_0x67b5c7(0x353),'children':_0x525c90[_0x67b5c7(0x1c1)](_0x2b3f61=>(0x0,_0x544d30[_0x67b5c7(0x245)])('li',{'className':_0x67b5c7(0x211),'style':_0xffd9d2(_0x2b3f61[_0x67b5c7(0x22d)]),'children':(_0x3682f1==null?void 0x0:_0x3682f1['nodeId'])===_0x2b3f61[_0x67b5c7(0x466)]?(0x0,_0x544d30['jsxs'])(_0x67b5c7(0x4cf),{'className':(0x0,_0x16270c[_0x67b5c7(0x158)])(_0x67b5c7(0x33a),_0x67b5c7(0x4fd)),'children':[(0x0,_0x544d30[_0x67b5c7(0x245)])(_0x16270c['Input'],{'autoFocus':!0x1,'size':_0x67b5c7(0x28a),'className':_0x67b5c7(0x182),'value':_0x3682f1['text'],'onChange':_0x272be7=>_0x47a266({'nodeId':_0x2b3f61[_0x67b5c7(0x466)],'text':_0x272be7}),'onKeyDown':_0x16d9e9=>{const _0x73e3a7=_0x67b5c7;_0x16d9e9[_0x73e3a7(0x333)]===_0x73e3a7(0x2e5)&&_0x1fdc40(),_0x16d9e9[_0x73e3a7(0x333)]===_0x73e3a7(0x4b8)&&_0x47a266(null);}}),(0x0,_0x544d30[_0x67b5c7(0x245)])(_0x16270c[_0x67b5c7(0x347)],{'className':_0x67b5c7(0x3e6),'size':'small','variant':_0x67b5c7(0x3da),'disabled':!_0x3682f1[_0x67b5c7(0x2d2)][_0x67b5c7(0x246)](),'onClick':_0x1fdc40,'children':_0x516b7f['t']('boards-mind-ui.panel.rename')}),(0x0,_0x544d30['jsx'])(_0x16270c[_0x67b5c7(0x347)],{'className':_0x67b5c7(0x3e6),'size':_0x67b5c7(0x249),'variant':'default','onClick':()=>_0x47a266(null),'children':_0x516b7f['t'](_0x67b5c7(0x2da))})]}):(0x0,_0x544d30[_0x67b5c7(0x317)])(_0x544d30[_0x67b5c7(0x4a3)],{'children':[(0x0,_0x544d30[_0x67b5c7(0x245)])(_0x16270c['Button'],{'size':'small','variant':_0x67b5c7(0x248),'className':(0x0,_0x16270c[_0x67b5c7(0x158)])(_0x67b5c7(0x2dd),_0x67b5c7(0x43b)),'onClick':()=>_0x238fa2[_0x67b5c7(0x273)]({'unitId':_0x8c5bc9[_0x67b5c7(0x48b)],'subUnitId':_0x8c5bc9[_0x67b5c7(0x4ae)]},[_0x2b3f61['nodeId']],_0x2b3f61[_0x67b5c7(0x466)]),'children':_0x2b3f61[_0x67b5c7(0x2d2)]}),(0x0,_0x544d30[_0x67b5c7(0x245)])(_0x16270c['Button'],{'className':(0x0,_0x16270c[_0x67b5c7(0x158)])(_0x67b5c7(0x3c0),_0x67b5c7(0x519)),'size':_0x67b5c7(0x249),'variant':_0x67b5c7(0x328),'onClick':()=>_0x5887ab(_0x2b3f61[_0x67b5c7(0x466)],_0x2b3f61[_0x67b5c7(0x2d2)]),'children':_0x516b7f['t'](_0x67b5c7(0x4d9))})]})},_0x2b3f61[_0x67b5c7(0x466)]))}):(0x0,_0x544d30['jsx'])(_0x67b5c7(0x4cf),{'className':_0x67b5c7(0x172),'data-board-mind-map-panel-empty-state':_0x67b5c7(0x13e),'children':_0x516b7f['t']('boards-mind-ui.panel.emptyNodes')})]})}),_0x55a691===_0x67b5c7(0x448)&&(0x0,_0x544d30['jsx'])(_0x55c38a,{'title':_0x516b7f['t'](_0x67b5c7(0x3c6)),'children':(0x0,_0x544d30[_0x67b5c7(0x317)])('div',{'className':'univer-space-y-3','children':[(0x0,_0x544d30['jsx'])(_0x67b5c7(0x4cf),{'className':'univer-flex\x20univer-gap-2','children':(0x0,_0x544d30['jsx'])(_0x2d0879,{'items':_0x59a04c['map'](_0x5f32b0=>({'label':_0x516b7f['t'](_0x5f32b0[_0x67b5c7(0x431)]),'value':_0x5f32b0[_0x67b5c7(0x455)]})),'value':_0x50ce2d,'onChange':_0x2b7435=>_0x79b704(_0x2b7435)})}),(0x0,_0x544d30[_0x67b5c7(0x245)])(_0x67b5c7(0x4cf),{'className':_0x67b5c7(0x259),'children':(0x0,_0x544d30[_0x67b5c7(0x245)])(_0x2d0879,{'items':_0x43972b['map'](_0x45a59c=>({'label':_0x516b7f['t'](_0x45a59c[_0x67b5c7(0x431)]),'value':_0x45a59c['value']})),'value':_0x4cf0f1,'onChange':_0xdaaf35=>_0x3af830(_0xdaaf35)})}),(0x0,_0x544d30[_0x67b5c7(0x245)])(_0x67b5c7(0x4cf),{'className':_0x67b5c7(0x259),'children':(0x0,_0x544d30[_0x67b5c7(0x245)])(_0x2d0879,{'items':_0x43d691[_0x67b5c7(0x1c1)](_0x500974=>({'label':_0x516b7f['t'](_0x500974[_0x67b5c7(0x431)]),'value':_0x500974[_0x67b5c7(0x455)]})),'value':_0x449ae,'onChange':_0x316d73=>_0x4ea9ff(_0x316d73)})}),(0x0,_0x544d30[_0x67b5c7(0x245)])(_0x67b5c7(0x4cf),{'className':_0x67b5c7(0x446),'children':_0x39a8e6[_0x67b5c7(0x1c1)](({labelKey:_0x4e17d5,key:_0x22b1b6,min:_0x273bfc,max:_0x24a40d})=>(0x0,_0x544d30[_0x67b5c7(0x317)])(_0x67b5c7(0x402),{'className':_0x67b5c7(0x1c5),'children':[(0x0,_0x544d30['jsx'])(_0x67b5c7(0x43f),{'className':_0x67b5c7(0x38d),'children':_0x516b7f['t'](_0x4e17d5)}),(0x0,_0x544d30[_0x67b5c7(0x245)])(_0x16270c[_0x67b5c7(0x515)],{'controls':!0x1,'inputClassName':_0x67b5c7(0x1a1),'min':_0x273bfc,'max':_0x24a40d,'step':0x4,'value':_0x3ab3fc[_0x22b1b6],'precision':0x0,'className':_0x67b5c7(0x21e),'onChange':_0x22b820=>_0x4d4447(_0x22b1b6,Number(_0x22b820??_0x273bfc))})]},_0x22b1b6))})]})}),_0x55a691===_0x67b5c7(0x14a)&&(0x0,_0x544d30[_0x67b5c7(0x245)])(_0x55c38a,{'title':_0x516b7f['t'](_0x67b5c7(0x161)),'children':(0x0,_0x544d30[_0x67b5c7(0x317)])('div',{'className':_0x67b5c7(0x469),'children':[(0x0,_0x544d30[_0x67b5c7(0x245)])(_0x16270c[_0x67b5c7(0x520)],{'className':(0x0,_0x16270c[_0x67b5c7(0x158)])(_0x67b5c7(0x3ac),_0x67b5c7(0x2bf)),'placeholder':_0x516b7f['t'](_0x67b5c7(0x3fb)),'value':_0xc02cd7,'onValueChange':_0x4cf040}),(0x0,_0x544d30['jsxs'])(_0x67b5c7(0x4cf),{'className':_0x67b5c7(0x259),'children':[(0x0,_0x544d30[_0x67b5c7(0x245)])(_0x16270c[_0x67b5c7(0x347)],{'className':'univer-min-h-12\x20univer-flex-1','size':'small','variant':_0x67b5c7(0x3da),'disabled':!_0xc02cd7[_0x67b5c7(0x246)](),'onClick':_0x30f8f1,'children':_0x516b7f['t'](_0x67b5c7(0x50f))}),(0x0,_0x544d30[_0x67b5c7(0x245)])(_0x16270c['Button'],{'className':_0x67b5c7(0x3e6),'size':_0x67b5c7(0x249),'variant':_0x67b5c7(0x328),'onClick':async()=>{const _0x517117=_0x67b5c7;let _0x20ede4=await _0xb29906[_0x517117(0x32b)](_0x4ecf80[_0x517117(0x30a)]['id'],_0x27fc13);_0x20ede4!==!0x1&&_0x4cf040(_0x20ede4);},'children':_0x516b7f['t'](_0x67b5c7(0x1c7))})]})]})})]});}let _0x49b2ab=class extends _0x4aaeb9[_0x114ef7(0x13a)]{constructor(_0x5c190f){const _0x2eeaab=_0x114ef7;super(),this['_componentManager']=_0x5c190f,this[_0x2eeaab(0x1a7)]();}[_0x114ef7(0x1a7)](){const _0x455c13=_0x114ef7;this[_0x455c13(0x329)](this[_0x455c13(0x499)][_0x455c13(0x3c1)](_0x5cd9b2,_0x225492)),this['disposeWithMe'](this[_0x455c13(0x499)][_0x455c13(0x3c1)](_0x5c03fc,_0x5917b0)),this[_0x455c13(0x329)](this['_componentManager'][_0x455c13(0x3c1)](_0x442615,_0x5043f3));}};_0x49b2ab=_0x41c154([_0x27e70d(0x0,(0x0,_0x4aaeb9[_0x114ef7(0x1f9)])(_0x5982a1[_0x114ef7(0x2a3)]))],_0x49b2ab);let _0x74b718=class extends _0x4aaeb9[_0x114ef7(0x13a)]{constructor(_0x138e72,_0x450c8a,_0x19f110){const _0xfef739=_0x114ef7;super(),this['_commandService']=_0x138e72,this[_0xfef739(0x348)]=_0x450c8a,this['_sidebarService']=_0x19f110,_0x4bcbf3(this,_0xfef739(0x4d3),null),this[_0xfef739(0x329)](this[_0xfef739(0x3dc)]['registerCommand'](_0x1bfcb7)),this[_0xfef739(0x329)](this['_commandService'][_0xfef739(0x47c)](_0x522a=>{const _0x54b536=_0xfef739;if(_0x522a['id']!==_0x1bfcb7['id'])return;let _0x1b8b75=_0x522a[_0x54b536(0x3b9)];_0x1b8b75&&'unitId'in _0x1b8b75&&typeof _0x1b8b75[_0x54b536(0x48b)]=='string'&&_0x54b536(0x4ae)in _0x1b8b75&&typeof _0x1b8b75['subUnitId']==_0x54b536(0x36c)&&_0x54b536(0x31e)in _0x1b8b75&&typeof _0x1b8b75[_0x54b536(0x31e)]==_0x54b536(0x36c)&&this['open']({'unitId':_0x1b8b75[_0x54b536(0x48b)],'subUnitId':_0x1b8b75[_0x54b536(0x4ae)],'scopeId':_0x1b8b75['scopeId'],'nodeId':_0x54b536(0x466)in _0x1b8b75&&typeof _0x1b8b75[_0x54b536(0x466)]=='string'?_0x1b8b75['nodeId']:void 0x0});}));}[_0x114ef7(0x2db)](){const _0x1ff181=_0x114ef7;var _0x6161f0;(_0x6161f0=this[_0x1ff181(0x4d3)])==null||_0x6161f0[_0x1ff181(0x2db)](),this[_0x1ff181(0x4d3)]=null,super[_0x1ff181(0x2db)]();}[_0x114ef7(0x1e5)](_0x1222bb){const _0x4a02f1=_0x114ef7;var _0x58ba8c;let _0x488129={'label':_0x442615,..._0x1222bb};(_0x58ba8c=this[_0x4a02f1(0x4d3)])==null||_0x58ba8c[_0x4a02f1(0x2db)](),this[_0x4a02f1(0x4d3)]=this[_0x4a02f1(0x186)]['open']({'id':_0x442615,'header':{'title':this[_0x4a02f1(0x348)]['t'](_0x4a02f1(0x233))},'width':0x184,'children':_0x488129,'onClose':()=>{this['_sidebarDisposable']=null;}});}};_0x74b718=_0x41c154([_0x27e70d(0x0,_0x4aaeb9[_0x114ef7(0x153)]),_0x27e70d(0x1,(0x0,_0x4aaeb9['Inject'])(_0x4aaeb9[_0x114ef7(0x423)])),_0x27e70d(0x2,(0x0,_0x4aaeb9[_0x114ef7(0x1f9)])(_0x5982a1[_0x114ef7(0x34f)]))],_0x74b718);let _0x57457a=class extends _0x4aaeb9[_0x114ef7(0x13a)]{constructor(_0x55dfb2){const _0x53f4dc=_0x114ef7;super(),this[_0x53f4dc(0x499)]=_0x55dfb2,this[_0x53f4dc(0x1a7)]();}[_0x114ef7(0x1a7)](){const _0x3d8713=_0x114ef7;this['disposeWithMe'](this[_0x3d8713(0x499)][_0x3d8713(0x3c1)](_0x5cd9b2,_0x225492)),this[_0x3d8713(0x329)](this[_0x3d8713(0x499)][_0x3d8713(0x3c1)](_0x5c03fc,_0xf43ddb)),this[_0x3d8713(0x329)](this[_0x3d8713(0x499)]['register'](_0x442615,_0x1afd16));}};_0x57457a=_0x41c154([_0x27e70d(0x0,(0x0,_0x4aaeb9['Inject'])(_0x5982a1[_0x114ef7(0x2a3)]))],_0x57457a);let _0x32563d=class{constructor(_0x48006a,_0x4a8211,_0xd4e890){const _0x501271=_0x114ef7;this[_0x501271(0x270)]=_0x48006a,this[_0x501271(0x166)]=_0x4a8211,this['_renderManagerService']=_0xd4e890;}[_0x114ef7(0x3a9)](_0x4a0661){const _0x268249=_0x114ef7;var _0x20fa2a,_0xd1160a;let _0x404232=(_0x20fa2a=this[_0x268249(0x4f2)][_0x268249(0x47f)](_0x4a0661[_0x268249(0x48b)]))==null||(_0xd1160a=_0x20fa2a[_0x268249(0x428)])==null?void 0x0:_0xd1160a[_0x268249(0x47d)](_0x20fa2a),_0x38d076=(_0x404232==null?void 0x0:_0x404232[_0x268249(0x2e6)](_0x17cb44['IBoardUIStateService']))??this[_0x268249(0x270)];return((_0x404232==null?void 0x0:_0x404232['get'](_0x7425d1))??this[_0x268249(0x166)])['setTemplate']({'rootText':_0x4a0661[_0x268249(0x437)],'structureKind':_0x4a0661[_0x268249(0x22a)],'branchLineType':_0x4a0661[_0x268249(0x141)],'children':_0x4a0661[_0x268249(0x4e0)],'blueprint':_0x4a0661[_0x268249(0x461)]}),_0x38d076[_0x268249(0x3ed)](!0x1),_0x38d076[_0x268249(0x1b2)](),_0x38d076['setActiveTool'](_0x1184a0[_0x268249(0x422)][_0x268249(0x17a)]),_0x38d076['setPendingInsert']({'type':_0x1184a0[_0x268249(0x422)]['MindMap']}),!0x0;}};_0x32563d=_0x41c154([_0x27e70d(0x0,_0x17cb44['IBoardUIStateService']),_0x27e70d(0x1,(0x0,_0x4aaeb9[_0x114ef7(0x1f9)])(_0x7425d1)),_0x27e70d(0x2,_0x4253cf[_0x114ef7(0x32d)])],_0x32563d);let _0x1d177c=_0x114ef7(0x22f),_0x14fa3c=[_0x36de55],_0x121a10=[_0x4482d9],_0x107e04=class extends _0x4aaeb9[_0x114ef7(0x17f)]{constructor(_0x54ec1a=_0x1cbb9e,_0x5928dd,_0x3dee76,_0x500af0){const _0x112a74=_0x114ef7;super(),this[_0x112a74(0x51a)]=_0x54ec1a,this[_0x112a74(0x2f3)]=_0x5928dd,this['_configService']=_0x3dee76,this['_renderManagerService']=_0x500af0;let {..._0x453dc8}=(0x0,_0x4aaeb9[_0x112a74(0x1ac)])({},_0x1cbb9e,this[_0x112a74(0x51a)]);this['_configService'][_0x112a74(0x2a9)](_0x1865a7,_0x453dc8);}[_0x114ef7(0x116)](){const _0x2af3f5=_0x114ef7;_0x17cb44[_0x2af3f5(0x118)][_0x2af3f5(0x125)](this['_injector'],[[_0x7425d1],[_0x5ec1f8]]),this[_0x2af3f5(0x3a3)]()['forEach'](_0x362ad7=>this[_0x2af3f5(0x2f3)]['add'](_0x362ad7));let _0x4d9c87=this[_0x2af3f5(0x2f3)][_0x2af3f5(0x2e6)](_0x32563d),_0x5d35ca=this[_0x2af3f5(0x2f3)][_0x2af3f5(0x2e6)](_0x1184a0['IBoardMindMapAdapterService']);this[_0x2af3f5(0x329)](_0x5d35ca[_0x2af3f5(0x3fd)](_0x4d9c87)),this[_0x2af3f5(0x329)](this['_injector']['get'](_0x557c3d)),this['disposeWithMe'](this[_0x2af3f5(0x2f3)]['get'](_0x254827)),this[_0x2af3f5(0x329)](this[_0x2af3f5(0x2f3)][_0x2af3f5(0x2e6)](_0x74b718)),this[_0x2af3f5(0x329)](this[_0x2af3f5(0x2f3)][_0x2af3f5(0x2e6)](_0x57457a)),this[_0x2af3f5(0x199)]();}[_0x114ef7(0x3a3)](){return[[_0x7425d1],[_0x5ec1f8],[_0x32563d],[_0x557c3d],[_0x254827],[_0x74b718],[_0x57457a]];}[_0x114ef7(0x4a8)](){return[_0x14fa3c,_0x121a10,[_0x145f65],[_0x463974],[_0x5f3c65],[_0x1214f1],[_0x318987],[_0x4630f0]];}[_0x114ef7(0x4f4)](){const _0x11cf78=_0x114ef7;this[_0x11cf78(0x4a8)]()[_0x11cf78(0x413)](_0x5aa290=>{const _0x507a60=_0x11cf78;this[_0x507a60(0x329)](this['_renderManagerService']['registerRenderModule'](_0x4aaeb9[_0x507a60(0x449)][_0x507a60(0x336)],_0x5aa290));});}['_enableMindMapToolbarTool'](){const _0x5169d2=_0x114ef7;var _0x574738,_0x16ecb4;let _0x3e4e7e=this[_0x5169d2(0x342)]();this[_0x5169d2(0x32f)][_0x5169d2(0x2a9)](_0x17cb44[_0x5169d2(0x4b7)],{..._0x3e4e7e,'toolbar':{..._0x3e4e7e['toolbar'],'tools':{...(_0x574738=_0x3e4e7e['toolbar'])==null?void 0x0:_0x574738[_0x5169d2(0x12c)],[_0x1184a0[_0x5169d2(0x422)][_0x5169d2(0x17a)]]:_0x1bae75((_0x16ecb4=_0x3e4e7e[_0x5169d2(0x4f8)])==null||(_0x16ecb4=_0x16ecb4[_0x5169d2(0x12c)])==null?void 0x0:_0x16ecb4[_0x1184a0[_0x5169d2(0x422)][_0x5169d2(0x17a)]])}}});}[_0x114ef7(0x342)](){const _0x3dbb67=_0x114ef7;return this['_configService']['getConfig'](_0x17cb44[_0x3dbb67(0x4b7)])??{};}};_0x4bcbf3(_0x107e04,'pluginName',_0x1d177c),_0x4bcbf3(_0x107e04,_0x114ef7(0x414),_0x8152e9),_0x4bcbf3(_0x107e04,_0x114ef7(0x309),_0x4fa915),_0x4bcbf3(_0x107e04,_0x114ef7(0x383),_0x4aaeb9[_0x114ef7(0x449)][_0x114ef7(0x336)]),_0x107e04=_0x41c154([(0x0,_0x4aaeb9[_0x114ef7(0x290)])(_0x903d88[_0x114ef7(0x443)],_0x4253cf['UniverRenderEnginePlugin'],_0x1184a0['UniverBoardsPlugin'],_0x4ecf80[_0x114ef7(0x472)],_0x17cb44[_0x114ef7(0x118)]),_0x27e70d(0x1,(0x0,_0x4aaeb9[_0x114ef7(0x1f9)])(_0x4aaeb9[_0x114ef7(0x228)])),_0x27e70d(0x2,_0x4aaeb9['IConfigService']),_0x27e70d(0x3,_0x4253cf[_0x114ef7(0x32d)])],_0x107e04);function _0x1bae75(_0x15e9e5){const _0x382189=_0x114ef7;return _0x15e9e5===!0x1?!0x1:typeof _0x15e9e5!=_0x382189(0x375)||{..._0x15e9e5,'enabled':_0x15e9e5['enabled']??!0x0};}let _0x38ce47=class extends _0x4aaeb9['Plugin']{constructor(_0x2e4cbc=_0x1cbb9e,_0x277113,_0x144922,_0x152196){const _0x5d4b58=_0x114ef7;super(),this[_0x5d4b58(0x51a)]=_0x2e4cbc,this[_0x5d4b58(0x2f3)]=_0x277113,this[_0x5d4b58(0x32f)]=_0x144922,this['_renderManagerService']=_0x152196;let {..._0x1f8952}=(0x0,_0x4aaeb9[_0x5d4b58(0x1ac)])({},_0x1cbb9e,this[_0x5d4b58(0x51a)]);this['_configService'][_0x5d4b58(0x2a9)](_0x1865a7,_0x1f8952);}[_0x114ef7(0x116)](){const _0x43c6a1=_0x114ef7;let _0x48cc93=[[_0x7425d1],[_0x5ec1f8]];_0x17cb44[_0x43c6a1(0x3cc)][_0x43c6a1(0x125)](this[_0x43c6a1(0x2f3)],_0x48cc93),[..._0x48cc93,[_0x32563d],[_0x557c3d],[_0x254827],[_0x5a60b2],[_0x49b2ab]][_0x43c6a1(0x413)](_0x391952=>this[_0x43c6a1(0x2f3)][_0x43c6a1(0x4fc)](_0x391952)),this[_0x43c6a1(0x329)](this['_injector'][_0x43c6a1(0x2e6)](_0x1184a0['IBoardMindMapAdapterService'])[_0x43c6a1(0x3fd)](this['_injector']['get'](_0x32563d))),this['disposeWithMe'](this[_0x43c6a1(0x2f3)][_0x43c6a1(0x2e6)](_0x557c3d)),this[_0x43c6a1(0x329)](this[_0x43c6a1(0x2f3)][_0x43c6a1(0x2e6)](_0x254827)),this[_0x43c6a1(0x329)](this['_injector'][_0x43c6a1(0x2e6)](_0x5a60b2)),this[_0x43c6a1(0x329)](this[_0x43c6a1(0x2f3)][_0x43c6a1(0x2e6)](_0x49b2ab)),this['_enableMindMapToolbarTool']();}[_0x114ef7(0x4f4)](){const _0x46d5f3=_0x114ef7;[[_0x36de55],[_0x4482d9],[_0x145f65,{'useClass':_0x1576e4}],[_0x463974],[_0x5f3c65],[_0x1214f1],[_0x318987],[_0x4630f0]][_0x46d5f3(0x413)](_0x5288c4=>{const _0x5c7378=_0x46d5f3;this['disposeWithMe'](this[_0x5c7378(0x4f2)][_0x5c7378(0x177)](_0x4aaeb9[_0x5c7378(0x449)]['UNIVER_BOARD'],_0x5288c4));});}[_0x114ef7(0x199)](){const _0x4b454d=_0x114ef7;var _0x1d489d,_0x496358;let _0x1796af=this[_0x4b454d(0x342)]();this['_configService'][_0x4b454d(0x2a9)](_0x17cb44['BOARDS_UI_PLUGIN_CONFIG_KEY'],{..._0x1796af,'toolbar':{..._0x1796af[_0x4b454d(0x4f8)],'tools':{...(_0x1d489d=_0x1796af['toolbar'])==null?void 0x0:_0x1d489d[_0x4b454d(0x12c)],[_0x1184a0[_0x4b454d(0x422)][_0x4b454d(0x17a)]]:_0x3881e3((_0x496358=_0x1796af[_0x4b454d(0x4f8)])==null||(_0x496358=_0x496358[_0x4b454d(0x12c)])==null?void 0x0:_0x496358[_0x1184a0[_0x4b454d(0x422)][_0x4b454d(0x17a)]])}}});}[_0x114ef7(0x342)](){const _0x4b0106=_0x114ef7;return this['_configService']['getConfig'](_0x17cb44[_0x4b0106(0x4b7)])??{};}};_0x4bcbf3(_0x38ce47,_0x114ef7(0x364),_0x1d177c),_0x4bcbf3(_0x38ce47,'packageName',_0x8152e9),_0x4bcbf3(_0x38ce47,'version',_0x4fa915),_0x4bcbf3(_0x38ce47,_0x114ef7(0x383),_0x4aaeb9['UniverInstanceType'][_0x114ef7(0x336)]),_0x38ce47=_0x41c154([(0x0,_0x4aaeb9[_0x114ef7(0x290)])(_0x903d88[_0x114ef7(0x443)],_0x4253cf[_0x114ef7(0x207)],_0x1184a0[_0x114ef7(0x258)],_0x4ecf80[_0x114ef7(0x472)],_0x17cb44[_0x114ef7(0x3cc)]),_0x27e70d(0x1,(0x0,_0x4aaeb9[_0x114ef7(0x1f9)])(_0x4aaeb9[_0x114ef7(0x228)])),_0x27e70d(0x2,_0x4aaeb9[_0x114ef7(0x393)]),_0x27e70d(0x3,_0x4253cf[_0x114ef7(0x32d)])],_0x38ce47);function _0x3881e3(_0x415cf1){const _0x235c89=_0x114ef7;return _0x415cf1===!0x1?!0x1:typeof _0x415cf1!=_0x235c89(0x375)||{..._0x415cf1,'enabled':_0x415cf1[_0x235c89(0x225)]??!0x0};}Object[_0x114ef7(0x38e)](_0x272df1,_0x114ef7(0x496),{'enumerable':!0x0,'get':function(){return _0x38ce47;}}),Object[_0x114ef7(0x38e)](_0x272df1,_0x114ef7(0x38c),{'enumerable':!0x0,'get':function(){return _0x107e04;}});}));
|