@univerjs-pro/boards-mind-ui 1.0.0-alpha.6 → 1.0.0-alpha.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (85) hide show
  1. package/lib/cjs/index.js +1 -1
  2. package/lib/cjs/locale/ar-SA.js +1 -1
  3. package/lib/cjs/locale/ca-ES.js +1 -1
  4. package/lib/cjs/locale/de-DE.js +1 -1
  5. package/lib/cjs/locale/en-US.js +1 -1
  6. package/lib/cjs/locale/es-ES.js +1 -1
  7. package/lib/cjs/locale/fa-IR.js +1 -1
  8. package/lib/cjs/locale/fr-FR.js +1 -1
  9. package/lib/cjs/locale/id-ID.js +1 -1
  10. package/lib/cjs/locale/it-IT.js +1 -1
  11. package/lib/cjs/locale/ja-JP.js +1 -1
  12. package/lib/cjs/locale/ko-KR.js +1 -1
  13. package/lib/cjs/locale/pl-PL.js +1 -1
  14. package/lib/cjs/locale/pt-BR.js +1 -1
  15. package/lib/cjs/locale/ru-RU.js +1 -1
  16. package/lib/cjs/locale/sk-SK.js +1 -1
  17. package/lib/cjs/locale/vi-VN.js +1 -1
  18. package/lib/cjs/locale/zh-CN.js +1 -1
  19. package/lib/cjs/locale/zh-HK.js +1 -1
  20. package/lib/cjs/locale/zh-TW.js +1 -1
  21. package/lib/es/index.js +1 -1
  22. package/lib/es/locale/ar-SA.js +1 -1
  23. package/lib/es/locale/ca-ES.js +1 -1
  24. package/lib/es/locale/de-DE.js +1 -1
  25. package/lib/es/locale/en-US.js +1 -1
  26. package/lib/es/locale/es-ES.js +1 -1
  27. package/lib/es/locale/fa-IR.js +1 -1
  28. package/lib/es/locale/fr-FR.js +1 -1
  29. package/lib/es/locale/id-ID.js +1 -1
  30. package/lib/es/locale/it-IT.js +1 -1
  31. package/lib/es/locale/ja-JP.js +1 -1
  32. package/lib/es/locale/ko-KR.js +1 -1
  33. package/lib/es/locale/pl-PL.js +1 -1
  34. package/lib/es/locale/pt-BR.js +1 -1
  35. package/lib/es/locale/ru-RU.js +1 -1
  36. package/lib/es/locale/sk-SK.js +1 -1
  37. package/lib/es/locale/vi-VN.js +1 -1
  38. package/lib/es/locale/zh-CN.js +1 -1
  39. package/lib/es/locale/zh-HK.js +1 -1
  40. package/lib/es/locale/zh-TW.js +1 -1
  41. package/lib/index.css +0 -4
  42. package/lib/index.js +1 -1
  43. package/lib/locale/ar-SA.js +1 -1
  44. package/lib/locale/ca-ES.js +1 -1
  45. package/lib/locale/de-DE.js +1 -1
  46. package/lib/locale/en-US.js +1 -1
  47. package/lib/locale/es-ES.js +1 -1
  48. package/lib/locale/fa-IR.js +1 -1
  49. package/lib/locale/fr-FR.js +1 -1
  50. package/lib/locale/id-ID.js +1 -1
  51. package/lib/locale/it-IT.js +1 -1
  52. package/lib/locale/ja-JP.js +1 -1
  53. package/lib/locale/ko-KR.js +1 -1
  54. package/lib/locale/pl-PL.js +1 -1
  55. package/lib/locale/pt-BR.js +1 -1
  56. package/lib/locale/ru-RU.js +1 -1
  57. package/lib/locale/sk-SK.js +1 -1
  58. package/lib/locale/vi-VN.js +1 -1
  59. package/lib/locale/zh-CN.js +1 -1
  60. package/lib/locale/zh-HK.js +1 -1
  61. package/lib/locale/zh-TW.js +1 -1
  62. package/lib/types/controllers/board-mind-map-floating-toolbar.render-controller.d.ts +3 -2
  63. package/lib/types/views/BoardMindMapFloatingToolbar.d.ts +1 -0
  64. package/lib/types/views/BoardMindMapPanel.d.ts +1 -1
  65. package/lib/umd/index.js +1 -1
  66. package/lib/umd/locale/ar-SA.js +1 -1
  67. package/lib/umd/locale/ca-ES.js +1 -1
  68. package/lib/umd/locale/de-DE.js +1 -1
  69. package/lib/umd/locale/en-US.js +1 -1
  70. package/lib/umd/locale/es-ES.js +1 -1
  71. package/lib/umd/locale/fa-IR.js +1 -1
  72. package/lib/umd/locale/fr-FR.js +1 -1
  73. package/lib/umd/locale/id-ID.js +1 -1
  74. package/lib/umd/locale/it-IT.js +1 -1
  75. package/lib/umd/locale/ja-JP.js +1 -1
  76. package/lib/umd/locale/ko-KR.js +1 -1
  77. package/lib/umd/locale/pl-PL.js +1 -1
  78. package/lib/umd/locale/pt-BR.js +1 -1
  79. package/lib/umd/locale/ru-RU.js +1 -1
  80. package/lib/umd/locale/sk-SK.js +1 -1
  81. package/lib/umd/locale/vi-VN.js +1 -1
  82. package/lib/umd/locale/zh-CN.js +1 -1
  83. package/lib/umd/locale/zh-HK.js +1 -1
  84. package/lib/umd/locale/zh-TW.js +1 -1
  85. package/package.json +14 -14
package/lib/es/index.js CHANGED
@@ -1 +1 @@
1
- const _0x55c788=_0x5bcf;(function(_0x254ae3,_0x596064){const _0x514752=_0x5bcf,_0x718c51=_0x254ae3();while(!![]){try{const _0xd47b48=parseInt(_0x514752(0x178))/0x1+parseInt(_0x514752(0x252))/0x2+-parseInt(_0x514752(0x1a1))/0x3*(parseInt(_0x514752(0x261))/0x4)+parseInt(_0x514752(0x2d0))/0x5+-parseInt(_0x514752(0x2e4))/0x6+parseInt(_0x514752(0x264))/0x7*(parseInt(_0x514752(0x1f8))/0x8)+-parseInt(_0x514752(0x296))/0x9*(parseInt(_0x514752(0x1b2))/0xa);if(_0xd47b48===_0x596064)break;else _0x718c51['push'](_0x718c51['shift']());}catch(_0x14ce26){_0x718c51['push'](_0x718c51['shift']());}}}(_0x5f4d,0x6bb9b));import{BoardElementType as _0x5792f2,BoardToolType as _0x448177,IBoardElementService as _0x3de855,IBoardMindMapAdapterService as _0x1753eb,documentTextStyleToBoardShapeTextStyle as _0x51f7f1,offsetBoardConnectorGeometry as _0x1d56a8,resolveBoardElementWorldBounds as _0x329079}from'@univerjs-pro/boards';import{AddMindMapChildOperation as _0x5e12b8,AddMindMapSiblingOperation as _0x1aa149,ChangeMindMapBranchLineTypeOperation as _0x35a1e2,ChangeMindMapLayoutOperation as _0x1f97d9,CopyMindMapNodeOperation as _0x5a9506,DeleteMindMapNodeOperation as _0x3f0c38,DetachMindMapNodeOperation as _0x597057,ExportMindMapOpmlOperation as _0x2c65e6,IMindMapClipboardService as _0x31164a,ImportMindMapOpmlOperation as _0x52c104,InsertBoardMindMapOperation as _0x5ea1c3,LayoutMindMapOperation as _0x5672f3,MIND_MAP_DEFAULT_LAYOUT as _0xb4769e,MIND_MAP_DEFAULT_NODE_SIZE as _0x3c97d3,MIND_MAP_DEFAULT_NODE_TEXT as _0x3d4bdb,MIND_MAP_LAYOUT_SPACING_LIMITS as _0x258481,PasteMindMapAsNewMindMapOperation as _0xb9eefe,PasteMindMapNodeOperation as _0x15e14d,PromoteMindMapNodeOperation as _0x33423b,ReparentMindMapNodeOperation as _0x137347,ToggleMindMapNodeCollapseOperation as _0x55e2b3,TranslateMindMapOperation as _0x31ea69,UniverBoardsMindPlugin as _0xcd05da,UpdateMindMapIncomingConnectorOperation as _0x4f27c7,UpdateMindMapNodeOperation as _0x2aa574,compareMindMapOrderKey as _0xbc8dd6,getMindMapConnectorMeta as _0x17e585,getMindMapContainerMeta as _0x5225ac,getMindMapDefaultChildOrderKey as _0x514ba9,getMindMapNodeMeta as _0x4784a6,isMindMapPlainStructureKind as _0x17ca32,resolveMindMapBranchLineTypeForStructure as _0x172ea2,resolveMindMapLayoutPreview as _0x5b081d,resolveMindMapNodeHostSize as _0xe83027}from'@univerjs-pro/boards-mind';import{BOARDS_UI_PLUGIN_CONFIG_KEY as _0xcba35e,BOARD_RENDER_LAYER_INDEX as _0x1ca693,BOARD_RENDER_OBJECT_Z_INDEX as _0x464afb,BOARD_SHORTCUT_BINDINGS as _0x288f67,BoardCanvasPopManagerService as _0x5738bb,BoardShapeIntrinsicSizeService as _0x53968d,BoardTextEditingService as _0x5698aa,IBoardElementStateService as _0x1f379b,IBoardUIStateService as _0x45d666,UniverBoardsUIPlugin as _0x50eb07,getBoardElementRenderObjectKey as _0x4f1902,parseBoardElementRenderObjectKey as _0x3a2add,syncBoardElementRenderObject as _0x2d3199}from'@univerjs-pro/boards-ui';import{UniverLicensePlugin as _0x39490d}from'@univerjs-pro/license';import{CommandType as _0x27aeea,DEFAULT_STYLES as _0x29cbb0,DependentOn as _0x1e6601,Disposable as _0x4ac1ec,DisposableCollection as _0x1ec4ce,HorizontalAlign as _0x26aceb,ICommandService as _0x4a7b53,IConfigService as _0x5b6d9c,IContextService as _0x53aa1b,IUniverInstanceService as _0x544c85,Inject as _0x3c575a,Injector as _0x34f3c5,LocaleService as _0x20f8ca,Plugin as _0x35ff6c,RxDisposable as _0x4c4ffe,UniverInstanceType as _0x42e936,VerticalAlign as _0x33dace,generateRandomId as _0x31e651,merge as _0x286366,toDisposable as _0x1e5fe4}from'@univerjs/core';import{BaseObject as _0x52c324,IRenderManagerService as _0xa5f319}from'@univerjs/engine-render';import{Subject as _0x5b274b,takeUntil as _0x38681d}from'rxjs';import{SHAPE_FLOATING_TOOLBAR_DEFAULT_STROKE_COLOR as _0x5111b4,SHAPE_FLOATING_TOOLBAR_DEFAULT_TEXT_BACKGROUND_COLOR as _0xc91441,SHAPE_FLOATING_TOOLBAR_DEFAULT_TEXT_COLOR as _0x3ead9f,SHAPE_TEXT_EDITOR_QUOTE_COMMAND_ID as _0x2d51a1,ShapeFillButton as _0x577770,ShapeFloatingToolbarContent as _0x41b34a,ShapeFloatingToolbarDropdownTrigger as _0x18f73b,ShapeFloatingToolbarFontSizeSelect as _0x39747a,ShapeFloatingToolbarIcon as _0x578e13,ShapeFloatingToolbarMenuItem as _0x4e57ea,ShapeFloatingToolbarMenuPanel as _0x1ee4a0,ShapeStrokePanelButton as _0x1e2ebd,ShapeStrokePanelContent as _0x34d69f,TextFillButton as _0x24b46b,TypographyPanelButton as _0x11b815,buildShapeTextDataUpdate as _0x43dff7}from'@univerjs-pro/shape-editor-ui';import{ShapeLineDashEnum as _0x179fe9,ShapeLineTypeEnum as _0x4c39e6}from'@univerjs-pro/engine-shape';import{Button as _0xee7c82,Dropdown as _0x343e7e,Input as _0x2373a8,InputNumber as _0x18a17b,Segmented as _0x21141c,Separator as _0x277f73,Textarea as _0x20d960,clsx as _0x11ce90}from'@univerjs/design';import{AlignBottomIcon as _0x29bed2,AlignTextBothIcon as _0x430b73,AlignTopIcon as _0x588992,HorizontallyIcon as _0x1ef2aa,LeftJustifyingIcon as _0x36d060,MoreHorizontalIcon as _0x62a0bc,RightJustifyingIcon as _0x1fdead,SearchIcon as _0x287fe1,ShapeLineIcon as _0x4ceedf,VerticalCenterIcon as _0x48f505}from'@univerjs/icons';import{ComponentManager as _0xfb0ff6,IDialogService as _0x1c93b7,IShortcutService as _0x8b86d4,KeyCode as _0x35fb2f,MetaKeys as _0x47dc16,useDependency as _0xd57ede}from'@univerjs/ui';import{useEffect as _0x34035e,useState as _0x5024c9}from'react';import{Fragment as _0x15b427,jsx as _0x12a7ac,jsxs as _0x42e6e8}from'react/jsx-runtime';var Et=_0x55c788(0x2a2),Dt=_0x55c788(0x3c2);const Ot={};function _0x5f4d(){const _0x5da984=['boards-mind-ui.panel.rename','univer-bg-[#e8eefc]\x20univer-text-[#2f6fed]\x20hover:univer-bg-[#e8eefc]','glyphHoverWidth','panel','Branch','length','_handleNodeUpdateCommand','_removeDragPreviewObject','max','svg','_syncLayoutPreview','_attachObjectPointerListeners','_lastChildDragAction','visible','refresh$','decorate','FOCUSING_MIND_MAP_TEXT_EDITOR','dropEffect','structured','clearPendingInsert','_note','_resolveCreateChildSide','isHit','siblingDotGap','get','clear','add-sibling-after','text/plain','registerCommand','onReady','shapeId','lineWidthScreen','call','dashType','mindmap-horizontal','siblingGap','transform','set','_getBoardPointFromEvent','boards-mind-ui.panel.searchNodes','_commandService','verticalAlign','_restoreActivePreview','M22\x208h36M22\x2048h36M14\x2018v20M66\x2018v20','close','quadraticCurveTo','incomingConnectorStyle','add-child-left','timeline-horizontal','elementAdd$','fill','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-white','unsubscribe','textColor','spacing','_elementStateService','_applyRootTranslation','_resolveRootChildControlSides','defaultValue','getTemplate','_previewHostSize','paste','before','boards-mind-ui.panel.tab.layout','siblingDotRadius','height','_attachActivePointerDragListeners','span','1.8','removeObjects','boards-mind-ui.panel.tab.importExport','_getMindMapChildren','getContextValue','boards-mind-ui.panel.emptyNodes','univer-mb-3\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-900\x20dark:!univer-text-gray-100','description','strikethrough','width','fillText','number','850676hLbyBb','visualRadius','hypot','addSiblingNode','find','_dragStart','solid','_getSelectedMindMapContext','_init','_ensurePreviewObject','line','_activePreview','enableObjectsEvent','_insertStateService','closePath','208rAeOeB','activeTool','sourceHighlightFillColor','357ZQTwUD','_attachObjectPointerScheduled','boards-mind-ui.panel.tab.','_buildPopupSelectionKey','_childDragActivated','fromEntries','setHoveredControl','typography','fallbackNodeHeight','branchGap','boards-mind-ui.toolbar.action.addSibling','next','nodeHeight','_layoutFlushScheduled','structureScopeId','isFinite','changeEnd$','vertical','newParentNodeId','transformByState','boards-mind-ui.alignMiddle','_isControlEvent','div','boards-mind-ui.alignRight','onPointerMove$','board-mind-map-node-controls-object','onPointerUp$','boards-mind-ui.toolbar.panel.more','M40\x209v40M40\x2020c8\x200\x2011\x204\x2011\x2011v8M40\x2035c-8\x200-11\x204-11\x2011v4','_createShortcutItems','M42\x2012v32M42\x2020c0\x204-3\x206-7\x206h-7M42\x2030c0\x204\x203\x206\x207\x206h7M42\x2039c0\x204-3\x206-7\x206h-7','rootWidth','data','item','parentNodeId','keys','MindMap','bounds','referenceNodeId','_activeNodeId','rounded-orthogonal','_openDescriptionDialog','boards-mind-ui.description','_objectPointerDisposables','getActivePageId','rgb','boards-mind-ui.panel.layout.right','_addChild','offsetX','left','36tMpdlK','zIndex','univer-size-full\x20univer-bg-white\x20univer-text-sm\x20univer-text-gray-700\x20dark:!univer-bg-gray-900\x20dark:!univer-text-gray-200','univer-space-y-2','univer-grid\x20univer-h-14\x20univer-overflow-hidden\x20univer-rounded-xl\x20univer-bg-gray-100\x20univer-p-1','sourceDashScreen','boards-mind-ui.panel.importOPML','min','pendingInsert','univer-text-xs\x20univer-text-gray-400\x20dark:!univer-text-gray-500','tree-right','_resolveHostSize','@univerjs-pro/boards-mind-ui','getElementById','_ensureDragPreviewObject','_handlePointerMove','flatMap','univer-space-y-1','kind','_provider','allowRootReparent','RoundDot','mindmap','_executeChildDragAction','_activePointerDragDisposables','toggle-collapse','_collapseAll','getElementDataForUnit','_syncControls','_resolvePreviewSourceBounds','_rememberNodeSize','circle','getPayload','boards-mind-ui.saveDescription','restore','_pasteAsNewMindMap','_dialogService','connectorData','_getZoomRatio','dispose$','_cancelPointerChildDrag','addChildGlyphSize','_queueLayout','_removePreviewObject','fillStyle','branch','boards-mind-ui.panel.','arrow-up','items','boards-mind-ui.panel.structureKind.treeLeft','open-description','_getBoardsUIConfig','element','bold','siblingGlyphSize','connectorAffordance','style','panOffset','2322460RRmDdX','_debouncedLayouts','_isPopupSelectionStillActive','_resolveChildDragTopologyAction','stopPropagation','_resolveControlBounds','_disposeActivePointerDragListeners','getShortcutDisplay','BACKSPACE','targetNodeId','_addSiblingOrChild','dragObjectAlpha','textFill','ghostRadius','_isChildDragPastActivationThreshold','_initEditingRestore','boards-mind-ui.panel.cancel','ARROW_UP','then','string','2504484QezGiR','mind-map-fill','top-center','timelineAxisGap','parentBounds','boards-mind-ui.cancel','board.mind-map.floating-toolbar','_getPointerLiveBounds','dropdown','removeEventListener','some','skipNextObservers','moveTo','_openSelectedTextEditing','lineTo','_refresh$','boards-mind-ui.toolbar.action.fill','underline','_handleElementUpdate','section','_pasteUnderSelectedNode','_executeAndLayout','extraProps','hide','_popupDisposable','transientPreviewForeground','activeEditingId','boards-mind-ui.panel.structureKind.mindmapVertical','beginPath','_showPopupForSelection','boards-mind-ui.panel.spacing.siblingGap','buttons','subscribe','boards-mind-ui.panel.exportOPML','rootFontWeight','_queuedLayouts','board.mind-map.description-dialog','text','univer-w-[202px]\x20univer-rounded-xl\x20univer-border\x20univer-border-gray-200\x20univer-bg-white\x20univer-px-4\x20univer-py-4\x20univer-shadow-lg','_getLiveObjectBounds','gap','dividerBefore','_ensureObject','fallbackNodeWidth','attachPopupToObject','save','has','_clearPopupIfSelectionChanged','fontColor','changing$','ghostBounds','_navigateByTopology','viewportPanOffset','selectedIds','ArrowDown','#d8dce3','round','_findChildNodeAtPoint','tree-left','_getPointFromEvent','_textEditingService','horizontalGap','_createQuoteShortcut','_previewRefreshService','delete','currentTarget','editingParams$','liveRootBounds','_lastPoint','primary','_cloneBlueprint','_syncDragPreview','Dash','TOP','_queueDebouncedLayout','structureKind','getOwnPropertyDescriptor','mind-map-layout-dropdown','ghostTextColor','isRootNode','_boardElementService','register','_instanceService','clipboard','right','_syncPreviewObject','timeline-vertical','object','getObject','textStyle','_popupSelectionKey','_createTopologyBoundsByElementId','mindmap-vertical','glyphSize','arrow-down','univer-text-sm\x20univer-font-medium\x20univer-text-gray-900\x20dark:!univer-text-white','_applyPointerChildDrag','_boardUIStateService','subUnitId','SquareDot','setEditing','evented','M56\x2011h11M56\x2051h11','blueprint','clientY','glyphWidth','title','updateState','getBoundingClientRect','opacity','placement','_intrinsicSizeService','sort','M56\x2039h11M13\x2050h11','_syncElementDataToScene','parseInt','direction','radius','Select','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','tree-alternate','branch-rounded-orthogonal','_state','_renderManagerService','onChange','value','style-divider','enabled','univer-min-w-0\x20univer-flex-1\x20univer-justify-start\x20univer-truncate\x20univer-text-left','elementData','changeStart$','disposeWithMe','offsetY','ghostFillColor','opml','0\x200\x2080\x2056',',\x20minmax(0,\x201fr))','boards-mind-ui.panel.structureKind.mindmapHorizontal','defineProperty','registerShortcut','version','MIDDLE','board.operation.mind-map.keyboard-shortcut','bottom','univer-flex\x20univer-w-full\x20univer-flex-col\x20univer-gap-4','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','toPrimitive','boards-mind-ui.toolbar.primary.more','updateElement','selectElements','_getElementKey','constructor','_resolveArrowNavigationTarget','arrow-left','popup','sourceBounds','nodeWidth','timeline','addDescription','boards-mind-ui.toolbar.panel.line','italic','strokeWidth','_boardCanvasPopManagerService','_resolveCurrentBoardContext','_debouncedLayoutTimer','_drawSourceHighlight','sourceHaloScreen','_resolveIncomingConnectorStyle','onDblclick$','M56\x2012v32M56\x2019c0\x204-3\x206-7\x206h-7M56\x2029c0\x204-3\x206-7\x206h-7M56\x2039c0\x204-3\x206-7\x206h-7','_previewObject','rootTextColor','lineWidth','_pointerDragStart','_toFiniteBounds','_handlePointerDown','ArrowUp','curve','_getSceneObject','boards-mind-ui.panel.structureKind.timelineVertical','nodeId','foreignAttributes','_getPointerScreenPoint','_captureDragStart','mind-map-stroke','univer-mb-0','label','univer-flex\x20univer-flex-col\x20univer-gap-1','DELETE','boards-mind-ui.alignJustify','Shape','focusedId','_boardTextEditingService','promote','branch-orthogonal','getHitControl','root','elementRemove$','strokeStyle','_syncRootReparentPreview','badgeCount','add-child-bottom','primaryColor','findIndex','resolve','tools','_injector','_cloneBlueprintNode','importExport','_configService','surfaceColor','push','_copySelectedNode','pipe','objects','board-mind-map-drag-preview-object','_consumeControlEvent','_resolveRootTopLeft','rootRadius','board-mind-map-pending-insert-object','packageName','small','1.0.0-alpha.6','_clearPopup','color','dispose','setActiveTool','Timeline','pointerup','preview','_syncRootScopePreview','_activeScopeId','zoomRatio','setConfig','univer-flex\x20univer-items-center\x20univer-gap-1\x20univer-truncate\x20univer-rounded\x20univer-py-1\x20univer-text-left\x20univer-text-gray-800','complete','labelKey','add-child-top','snapDistance','unitId','scene','state$','univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-xs\x20univer-text-gray-600','makeDirty','getState','more','ArrowLeft','ghostFontWeight','lineJoin','setContextValue','boards-mind-ui.alignCenter','addChildRadius','_removeObject','copy','shapeData','getConfig','_restoreObjectToDragStart','edit-text','_resolvePreviewTextStyle','forEach','ARROW_DOWN','getSnapshot','M47\x2025h13M47\x2035h13M47\x2045h13','paste-as-new','univer-border-b\x20univer-border-gray-200\x20univer-p-4\x20dark:!univer-border-gray-700','univer-space-y-3','type','orderKey','addChildNode','transientControl','executeCommand','createControl$','_dragPreviewObject','from','default','_resolveSelectedEntry','_applyDragTopologyAction','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','exec','globalAlpha','reparent','divider-','6\x207','setPendingInsert','boards-mind-ui.panel.tab.structure','ArrowRight','getTransformerByCreate','addObject','_resolveControlSide','boards-mind-ui.config','layout','after','addSibling','boards-mind-ui.toolbar.action.addChild','pluginName','univer-max-w-[min(760px,calc(100vw-32px))]','rootFontSize','_registerComponents','onPointerDown$','_syncMindMapTextEditorContext','registerRenderModule','_nodeSizeByKey','entries','beginMindMapMode','Mind\x20map','path','rootChildSides','univer-w-full\x20univer-text-xs','mind-map','show','rootStartBounds','repeat(','boards-mind-ui.toolbar.action.stroke','branchLineType','LEFT','_resolveChildSide','_isPointInBounds','children','pointermove','arrow-right','univer-text-xs\x20univer-text-gray-500','getUnit','_syncSceneInputMode','M19.5\x207.5h-4.2c-1.9\x200-3.3\x201.5-3.3\x203.3','function','boundsByElementId','_objectEventDisposables','documentStyle','notify','navigator','M16\x2029h18c7\x200\x2010-5\x2010-12v-3M34\x2029h10c7\x200\x2010\x205\x2010\x2012v3','trim','getElementData','includes','rootText','_renderContext','_drawConnectorPreview','M4.5\x2016.5h4.2c1.9\x200\x203.3-1.5\x203.3-3.3','M17\x2033h21M38\x2017v30M38\x2017h24','center','collapsePlusMinDistance','_template','boards-mind-ui.panel.branchLineType.roundedOrthogonal','_config','340724YplSWc','_getBlankBoardContext','univer-h-7\x20univer-min-w-9\x20univer-w-auto\x20univer-gap-1\x20univer-px-1.5','horizontalAlign','UNIVER_BOARD','toolbar','true','Enter','top','_contextService','arc','dash','_uiStateService','makeDirtyNoDebounce','collapse-all','registerProvider','shapeText','custom','elementId','Tree\x20diagram','_mindMapClipboardService','SHIFT','_componentManager','addParentNode','clientX','scopeId','_consumePointerEvent','add','controls','params','doc','_hideSelectionForChildDrag','univer-mb-3\x20univer-w-full','_capturePointerChildDragStart','dataModel','requestRender','add-child','univer-size-5','none','collapsed','univer-flex\x20univer-gap-2','12828FPFCaz','boards-mind-ui.toolbar.action.fontColor','abs','childNodeId','RIGHT','iterator','getObjectIncludeInGroup','univer-flex\x20univer-flex-col\x20univer-gap-2','hoveredControl','action','_scheduleAttachObjectPointerListeners','_syncChildDragPreview','join','editCurrentNode','0\x200\x2024\x2024','boards-mind-ui.toolbar.action.layout','font','1509760HsejYm','_updateHostSize','stroke','currentColor','addChild','isTransforming','connectorAlpha','symbol','textBaseline','boards-mind-ui.toolbar.panel.typography','Escape','univer-h-28\x20univer-resize-none\x20univer-text-xs','clearSelection','button','add-sibling-or-child','key','side','render','point','collapseAllNodes','_resolveNodeSize','boards-mind-ui.panel.branchLineType.orthogonal','addEventListener','mind-map-font-size','effectAllowed','_shortcutService','middle','univer-flex\x20univer-min-w-0\x20univer-flex-1\x20univer-items-center\x20univer-gap-1','univer-h-32\x20univer-resize-none\x20univer-text-sm','_executeCreateAndEdit','textPaddingScreen','_resolveDirtyBounds','_object','add-child-right','SolidLine','add-sibling-before','_stateService','child','_normalizeChildren','_syncPointerChildDragPreview','_subscribeElementDataChanges','fontSize','univer-mb-2\x20univer-text-lg\x20univer-text-gray-900','slice','context','dataTransfer','_childDragSelectionHidden','pointerStartY','values','_syncChildDragPreviewObject','_handleShortcut','ENTER','_isEditingMindMapNode','rootHeight','getUnitId','_executeNodeOperation','px\x20','filter','ignoreExternalFocusChanges','subscribeEvent','_attachObjectEvents','isRoot','reduce','_seedExistingNodeSizes','boards-mind-ui.panel.branchLineType.curve','connector','writeText','_countDescendants','map','boards-mind-ui.panel.structureKind.timelineHorizontal','71272lOQRCP','fontFamily','_instanceSrv','lineCap','setTemplate','structure','onStarting','hideRootControls','preventDefault','open'];_0x5f4d=function(){return _0x5da984;};return _0x5f4d();}function kt(_0x2f93ca){'@babel/helpers - typeof';const _0x4e1c3f=_0x55c788;return kt=typeof Symbol==_0x4e1c3f(0x164)&&typeof Symbol[_0x4e1c3f(0x1a6)]==_0x4e1c3f(0x1b9)?function(_0x302f5d){return typeof _0x302f5d;}:function(_0x4c7746){const _0x5aa676=_0x4e1c3f;return _0x4c7746&&typeof Symbol==_0x5aa676(0x164)&&_0x4c7746[_0x5aa676(0x37b)]===Symbol&&_0x4c7746!==Symbol['prototype']?'symbol':typeof _0x4c7746;},kt(_0x2f93ca);}function At(_0x133b26,_0x514c0e){const _0x5afd89=_0x55c788;if(kt(_0x133b26)!=_0x5afd89(0x33b)||!_0x133b26)return _0x133b26;var _0x2fb8ef=_0x133b26[Symbol[_0x5afd89(0x376)]];if(_0x2fb8ef!==void 0x0){var _0x5846eb=_0x2fb8ef[_0x5afd89(0x222)](_0x133b26,_0x514c0e||_0x5afd89(0x132));if(kt(_0x5846eb)!=_0x5afd89(0x33b))return _0x5846eb;throw TypeError(_0x5afd89(0x135));}return(_0x514c0e===_0x5afd89(0x2e3)?String:Number)(_0x133b26);}function jt(_0x1ea795){const _0x178f68=_0x55c788;var _0x28510d=At(_0x1ea795,_0x178f68(0x2e3));return kt(_0x28510d)==_0x178f68(0x1b9)?_0x28510d:_0x28510d+'';}function K(_0x1ec9ee,_0x382080,_0x4a43df){return(_0x382080=jt(_0x382080))in _0x1ec9ee?Object['defineProperty'](_0x1ec9ee,_0x382080,{'value':_0x4a43df,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x1ec9ee[_0x382080]=_0x4a43df,_0x1ec9ee;}function q(_0x1c2f0a,_0x4f94b4){return function(_0x36ee9b,_0x449edb){_0x4f94b4(_0x36ee9b,_0x449edb,_0x1c2f0a);};}function J(_0x4987e2,_0x3e51a1,_0x97f592,_0x156458){const _0x365834=_0x55c788;var _0x5a1685=arguments['length'],_0x488617=_0x5a1685<0x3?_0x3e51a1:_0x156458===null?_0x156458=Object[_0x365834(0x330)](_0x3e51a1,_0x97f592):_0x156458,_0x49bd5e;if(typeof Reflect=='object'&&typeof Reflect[_0x365834(0x211)]==_0x365834(0x164))_0x488617=Reflect['decorate'](_0x4987e2,_0x3e51a1,_0x97f592,_0x156458);else{for(var _0x585530=_0x4987e2[_0x365834(0x207)]-0x1;_0x585530>=0x0;_0x585530--)(_0x49bd5e=_0x4987e2[_0x585530])&&(_0x488617=(_0x5a1685<0x3?_0x49bd5e(_0x488617):_0x5a1685>0x3?_0x49bd5e(_0x3e51a1,_0x97f592,_0x488617):_0x49bd5e(_0x3e51a1,_0x97f592))||_0x488617);}return _0x5a1685>0x3&&_0x488617&&Object[_0x365834(0x36e)](_0x3e51a1,_0x97f592,_0x488617),_0x488617;}let Mt=class extends _0x4c4ffe{constructor(_0x30263e,_0x39eab3,_0x7085dc){const _0x132088=_0x55c788;super(),this[_0x132088(0x16f)]=_0x30263e,this[_0x132088(0x334)]=_0x39eab3,this['_commandService']=_0x7085dc,K(this,_0x132088(0x14d),new Map()),K(this,'_queuedLayouts',new Map()),K(this,'_debouncedLayouts',new Map()),K(this,_0x132088(0x271),!0x1),K(this,_0x132088(0x388),null),this[_0x132088(0x25a)]();}[_0x55c788(0x25a)](){const _0x31f5b2=_0x55c788;this[_0x31f5b2(0x1f1)](),this['disposeWithMe'](_0x1e5fe4(this[_0x31f5b2(0x334)]['elementAdd$'][_0x31f5b2(0x3b9)](_0x38681d(this[_0x31f5b2(0x2bd)]))['subscribe'](_0x49624a=>{const _0x5c007d=_0x31f5b2;_0x49624a[_0x5c007d(0x123)](_0x702b7b=>{const _0x4eedc2=_0x5c007d;let _0x108407=this[_0x4eedc2(0x334)][_0x4eedc2(0x2a3)](_0x702b7b[_0x4eedc2(0x3d3)],_0x702b7b['subUnitId'],_0x702b7b[_0x4eedc2(0x18a)]);this[_0x4eedc2(0x2b4)](_0x702b7b,_0x108407);});}))),this[_0x31f5b2(0x367)](_0x1e5fe4(this[_0x31f5b2(0x334)]['elementUpdate$'][_0x31f5b2(0x3b9)](_0x38681d(this[_0x31f5b2(0x2bd)]))[_0x31f5b2(0x304)](_0x385dd5=>{const _0x2eaa7e=_0x31f5b2;_0x385dd5[_0x2eaa7e(0x123)](_0x2c46aa=>this[_0x2eaa7e(0x2f6)](_0x2c46aa));})));let _0x1940ff=this[_0x31f5b2(0x22a)]['onCommandExecuted'];typeof _0x1940ff==_0x31f5b2(0x164)&&this['disposeWithMe'](_0x1940ff['call'](this[_0x31f5b2(0x22a)],_0x756f32=>{const _0x133c5e=_0x31f5b2;if(_0x756f32['id']!==_0x2aa574['id'])return;let _0x43e2a6=_0x756f32[_0x133c5e(0x195)];this[_0x133c5e(0x208)](_0x43e2a6);})),this[_0x31f5b2(0x367)](_0x1e5fe4(()=>{const _0x2f56ec=_0x31f5b2;this[_0x2f56ec(0x388)]!==null&&(clearTimeout(this['_debouncedLayoutTimer']),this[_0x2f56ec(0x388)]=null);}));}[_0x55c788(0x1f1)](){const _0x7772d5=_0x55c788;let _0x3a818c=this[_0x7772d5(0x16f)]['unitId'],_0xdedfe1=this['_boardElementService'][_0x7772d5(0x2b1)](_0x3a818c);Object[_0x7772d5(0x14e)](_0xdedfe1)['forEach'](([_0x1b17a4,_0x2c6c2e])=>{const _0x1375a3=_0x7772d5;Object[_0x1375a3(0x1e2)](_0x2c6c2e[_0x1375a3(0x284)])[_0x1375a3(0x123)](_0x1cd751=>{const _0x5d0adc=_0x1375a3;this[_0x5d0adc(0x2b4)]({'unitId':_0x3a818c,'subUnitId':_0x1b17a4,'elementId':_0x1cd751[_0x5d0adc(0x18a)]},_0x1cd751);});});}[_0x55c788(0x2f6)](_0x519bf2){const _0x264c7e=_0x55c788;if(_0x519bf2[_0x264c7e(0x3d3)]!==this['_renderContext'][_0x264c7e(0x3d3)])return;let _0x1f5bb4=this[_0x264c7e(0x334)][_0x264c7e(0x2a3)](_0x519bf2[_0x264c7e(0x3d3)],_0x519bf2[_0x264c7e(0x346)],_0x519bf2[_0x264c7e(0x18a)]),_0x53eba9=_0x4784a6(_0x1f5bb4==null?void 0x0:_0x1f5bb4[_0x264c7e(0x2ca)]),_0x1ee9f3=this['_resolveNodeSize'](_0x1f5bb4);if(!_0x53eba9||!_0x1ee9f3){this[_0x264c7e(0x14d)]['delete'](this['_getElementKey'](_0x519bf2));return;}let _0x53ca22=this[_0x264c7e(0x37a)](_0x519bf2),_0xf44e2d=this[_0x264c7e(0x14d)][_0x264c7e(0x21a)](_0x53ca22);this[_0x264c7e(0x14d)]['set'](_0x53ca22,_0x1ee9f3),!(_0xf44e2d&&_0xf44e2d[_0x264c7e(0x24f)]===_0x1ee9f3[_0x264c7e(0x24f)]&&_0xf44e2d[_0x264c7e(0x243)]===_0x1ee9f3[_0x264c7e(0x243)])&&this[_0x264c7e(0x2c0)]({'unitId':_0x519bf2[_0x264c7e(0x3d3)],'subUnitId':_0x519bf2['subUnitId'],'scopeId':_0x53eba9[_0x264c7e(0x272)],'anchorNodeId':_0x519bf2[_0x264c7e(0x18a)]});}['_rememberNodeSize'](_0x3b619e,_0x1205eb){const _0x61398f=_0x55c788;if(_0x3b619e[_0x61398f(0x3d3)]!==this[_0x61398f(0x16f)]['unitId'])return;let _0x440584=_0x4784a6(_0x1205eb==null?void 0x0:_0x1205eb[_0x61398f(0x2ca)]),_0x58970d=this[_0x61398f(0x1c6)](_0x1205eb);!_0x440584||!_0x58970d||this[_0x61398f(0x14d)][_0x61398f(0x227)](this[_0x61398f(0x37a)](_0x3b619e),_0x58970d);}[_0x55c788(0x1c6)](_0x205098){const _0x37adf7=_0x55c788;var _0x22ff2b;let _0xe59302=(_0x22ff2b=_0x205098==null?void 0x0:_0x205098[_0x37adf7(0x226)])==null?_0x205098==null?void 0x0:_0x205098[_0x37adf7(0x2ca)]['transform']:_0x22ff2b,_0x115c3d=_0xe59302==null?void 0x0:_0xe59302['width'],_0x15b7c4=_0xe59302==null?void 0x0:_0xe59302['height'];return!Number[_0x37adf7(0x273)](_0x115c3d)||!Number['isFinite'](_0x15b7c4)?null:{'width':_0x115c3d,'height':_0x15b7c4};}['_queueLayout'](_0x3bfc73){const _0x970a3b=_0x55c788;this[_0x970a3b(0x307)][_0x970a3b(0x227)](_0x3bfc73[_0x970a3b(0x3d3)]+':'+_0x3bfc73[_0x970a3b(0x346)]+':'+_0x3bfc73['scopeId'],_0x3bfc73),!this[_0x970a3b(0x271)]&&(this[_0x970a3b(0x271)]=!0x0,Promise[_0x970a3b(0x3b0)]()[_0x970a3b(0x2e2)](()=>{const _0x258bcc=_0x970a3b;this[_0x258bcc(0x271)]=!0x1;let _0x53e50e=Array[_0x258bcc(0x131)](this['_queuedLayouts'][_0x258bcc(0x1e2)]());this[_0x258bcc(0x307)][_0x258bcc(0x21b)](),_0x53e50e[_0x258bcc(0x123)](_0x455131=>{const _0x1e3c12=_0x258bcc;this[_0x1e3c12(0x22a)][_0x1e3c12(0x12e)](_0x5672f3['id'],_0x455131);});}));}[_0x55c788(0x208)](_0x443e32){const _0x861635=_0x55c788;if(!(_0x443e32!=null&&_0x443e32[_0x861635(0x3d3)])||!_0x443e32['subUnitId']||!_0x443e32['nodeId']||_0x443e32[_0x861635(0x3d3)]!==this[_0x861635(0x16f)][_0x861635(0x3d3)])return;let _0x1c6b6c=this[_0x861635(0x334)]['getElementById'](_0x443e32[_0x861635(0x3d3)],_0x443e32[_0x861635(0x346)],_0x443e32[_0x861635(0x398)]),_0x3d0ef0=_0x4784a6(_0x1c6b6c==null?void 0x0:_0x1c6b6c[_0x861635(0x2ca)]);_0x3d0ef0&&this[_0x861635(0x32e)]({'unitId':_0x443e32[_0x861635(0x3d3)],'subUnitId':_0x443e32[_0x861635(0x346)],'scopeId':_0x3d0ef0[_0x861635(0x272)],'anchorNodeId':_0x443e32[_0x861635(0x398)]});}['_queueDebouncedLayout'](_0x358192){const _0x1fb774=_0x55c788;this[_0x1fb774(0x2d1)][_0x1fb774(0x227)](_0x358192[_0x1fb774(0x3d3)]+':'+_0x358192[_0x1fb774(0x346)]+':'+_0x358192[_0x1fb774(0x191)],_0x358192),this[_0x1fb774(0x388)]!==null&&clearTimeout(this[_0x1fb774(0x388)]),this[_0x1fb774(0x388)]=setTimeout(()=>{const _0x1e281a=_0x1fb774;this[_0x1e281a(0x388)]=null;let _0x2b99ef=Array['from'](this[_0x1e281a(0x2d1)][_0x1e281a(0x1e2)]());this[_0x1e281a(0x2d1)][_0x1e281a(0x21b)](),_0x2b99ef['forEach'](_0x42e4fa=>{const _0x589198=_0x1e281a;this[_0x589198(0x22a)][_0x589198(0x12e)](_0x5672f3['id'],_0x42e4fa);});},0x50);}[_0x55c788(0x37a)](_0x4dd54c){const _0xaa4f01=_0x55c788;return _0x4dd54c[_0xaa4f01(0x3d3)]+':'+_0x4dd54c[_0xaa4f01(0x346)]+':'+_0x4dd54c['elementId'];}};Mt=J([q(0x1,_0x3c575a(_0x3de855)),q(0x2,_0x4a7b53)],Mt);const Y={'primaryColor':_0x5111b4,'surfaceColor':_0xc91441,'textColor':_0x3ead9f,'fontFamily':_0x29cbb0['ff']};function Nt(_0x20f4be,_0x3fc7bb){const _0x4a8674=_0x55c788;let _0x1c729e=Math[_0x4a8674(0x29d)](0x1,Math[_0x4a8674(0x20a)](0x0,Number['isFinite'](_0x3fc7bb)?_0x3fc7bb:0x1)),_0x37b6f0=_0x20f4be[_0x4a8674(0x16b)](),_0x2bd779=/^#([0-9a-fA-F]{6})$/[_0x4a8674(0x136)](_0x37b6f0);if(!_0x2bd779)return _0x20f4be;let _0x5ef49d=_0x2bd779[0x1];return'rgba('+Number['parseInt'](_0x5ef49d[_0x4a8674(0x1dd)](0x0,0x2),0x10)+',\x20'+Number[_0x4a8674(0x357)](_0x5ef49d[_0x4a8674(0x1dd)](0x2,0x4),0x10)+',\x20'+Number[_0x4a8674(0x357)](_0x5ef49d[_0x4a8674(0x1dd)](0x4,0x6),0x10)+',\x20'+_0x1c729e+')';}const X={'primaryColor':Y[_0x55c788(0x3ae)],'ghostFillColor':Nt(Y[_0x55c788(0x3b6)],0.72),'ghostTextColor':Nt(Y[_0x55c788(0x237)],0.62),'rootTextColor':Nt(Y[_0x55c788(0x3b6)],0.86),'sourceHighlightFillColor':Nt(Y[_0x55c788(0x3ae)],0.12),'sourceHighlightStrokeColor':Nt(Y[_0x55c788(0x3ae)],0.9),'objectAlpha':0.72,'dragObjectAlpha':0.78,'connectorAlpha':0.64,'lineWidthScreen':0x2,'fallbackNodeWidth':_0x3c97d3[_0x55c788(0x380)],'fallbackNodeHeight':_0x3c97d3[_0x55c788(0x270)],'branchGap':_0xb4769e['branchGap'],'sourceHaloScreen':0x4,'ghostRadius':0x8,'rootRadius':0xa,'fontFamily':Y[_0x55c788(0x1f9)],'ghostFontWeight':0x1f4,'rootFontWeight':0x258,'rootFontSize':0x12,'textPaddingScreen':0xc,'dirtyPaddingScreen':0x18,'sourceDashScreen':[0x6,0x4]};function Z(_0x3c4e24,_0x4efbf4,_0x34d1ab,_0x29aa73,_0x222ad2,_0x4f3a8c){const _0x3c79a9=_0x55c788;let _0x316b08=Math[_0x3c79a9(0x29d)](_0x4f3a8c,_0x29aa73/0x2,_0x222ad2/0x2);_0x3c4e24[_0x3c79a9(0x300)](),_0x3c4e24[_0x3c79a9(0x2f0)](_0x4efbf4+_0x316b08,_0x34d1ab),_0x3c4e24[_0x3c79a9(0x2f2)](_0x4efbf4+_0x29aa73-_0x316b08,_0x34d1ab),_0x3c4e24[_0x3c79a9(0x22f)](_0x4efbf4+_0x29aa73,_0x34d1ab,_0x4efbf4+_0x29aa73,_0x34d1ab+_0x316b08),_0x3c4e24[_0x3c79a9(0x2f2)](_0x4efbf4+_0x29aa73,_0x34d1ab+_0x222ad2-_0x316b08),_0x3c4e24[_0x3c79a9(0x22f)](_0x4efbf4+_0x29aa73,_0x34d1ab+_0x222ad2,_0x4efbf4+_0x29aa73-_0x316b08,_0x34d1ab+_0x222ad2),_0x3c4e24[_0x3c79a9(0x2f2)](_0x4efbf4+_0x316b08,_0x34d1ab+_0x222ad2),_0x3c4e24[_0x3c79a9(0x22f)](_0x4efbf4,_0x34d1ab+_0x222ad2,_0x4efbf4,_0x34d1ab+_0x222ad2-_0x316b08),_0x3c4e24['lineTo'](_0x4efbf4,_0x34d1ab+_0x316b08),_0x3c4e24[_0x3c79a9(0x22f)](_0x4efbf4,_0x34d1ab,_0x4efbf4+_0x316b08,_0x34d1ab),_0x3c4e24[_0x3c79a9(0x260)]();}function Pt(_0x3aab1f,_0x25c890,_0x453bc9){const _0x336bb0=_0x55c788;return _0x3aab1f+'\x20'+_0x25c890/_0x453bc9+_0x336bb0(0x1ea)+X[_0x336bb0(0x1f9)];}const Ft=_0x55c788(0x3bb),It=_0x1ca693['preview'];function Q(_0x4452b2,_0x13f1ae){const _0x3033ba=_0x55c788;return Number[_0x3033ba(0x273)](_0x4452b2)?_0x4452b2:_0x13f1ae;}function Lt(){const _0x2287f3=_0x55c788;return X[_0x2287f3(0x30f)];}function Rt(){const _0x58923c=_0x55c788;return X[_0x58923c(0x26c)];}function zt(_0x22245b){const _0x2a7953=_0x55c788;return _0x22245b===0x1?_0x2a7953(0x295):_0x22245b===0x3?_0x2a7953(0x338):_0x2a7953(0x173);}function Bt(_0x555bd2,_0x5cd9fe,_0x4b3229,_0x32608b){return _0x4b3229===0x1?_0x555bd2+_0x32608b:_0x4b3229===0x3?_0x555bd2+_0x5cd9fe-_0x32608b:_0x555bd2+_0x5cd9fe/0x2;}var Vt=class extends _0x52c324{constructor(_0x4f09d3=Ft,_0x123f64){const _0x359a22=_0x55c788;super(_0x4f09d3),K(this,_0x359a22(0x35e),{'ghostBounds':null,'parentBounds':null,'side':_0x359a22(0x338),'zoomRatio':0x1}),this[_0x359a22(0x349)]=!0x1,this['zIndex']=_0x464afb[_0x359a22(0x2fd)],this[_0x359a22(0x34f)](_0x123f64);}[_0x55c788(0x34f)](_0x16e15){const _0x1e19e8=_0x55c788;if(this[_0x1e19e8(0x35e)]={...this[_0x1e19e8(0x35e)],..._0x16e15},this['_state']['ghostBounds']){let _0x50402d=this[_0x1e19e8(0x1d1)]();this[_0x1e19e8(0x277)](_0x50402d),this[_0x1e19e8(0x155)]();}else this['hide']();let _0x519842=this;typeof _0x519842[_0x1e19e8(0x185)]=='function'?_0x519842[_0x1e19e8(0x185)](!0x0):this[_0x1e19e8(0x3d7)](!0x0);}[_0x55c788(0x218)](_0x5dcbed){return!0x1;}[_0x55c788(0x1c3)](_0xa266b0,_0x4310e3){const _0x253516=_0x55c788;var _0x9ea118,_0x2f40d6,_0x97c291;let _0x37d7f0=this[_0x253516(0x35e)][_0x253516(0x316)];if(!_0x37d7f0||!this[_0x253516(0x20f)])return this[_0x253516(0x3d7)](!0x1),this;let _0x1f4575=Number['isFinite'](this[_0x253516(0x35e)][_0x253516(0x3cc)])&&((_0x9ea118=this[_0x253516(0x35e)][_0x253516(0x3cc)])==null?0x0:_0x9ea118)>0x0?this['_state'][_0x253516(0x3cc)]:0x1,_0x60e204=Q(_0x37d7f0[_0x253516(0x295)],0x0),_0x19393b=Q(_0x37d7f0['top'],0x0),_0x59bd48=Math[_0x253516(0x20a)](0x1,Q(_0x37d7f0[_0x253516(0x24f)],Lt())),_0x4cb17f=Math[_0x253516(0x20a)](0x1,Q(_0x37d7f0['height'],Rt()));if(_0xa266b0[_0x253516(0x311)](),_0xa266b0[_0x253516(0x137)]=X[_0x253516(0x2db)],_0xa266b0[_0x253516(0x390)]=X[_0x253516(0x221)]/_0x1f4575,_0xa266b0['strokeStyle']=X[_0x253516(0x3ae)],_0xa266b0[_0x253516(0x2c2)]=X[_0x253516(0x369)],this[_0x253516(0x170)](_0xa266b0,{'left':_0x60e204,'top':_0x19393b,'width':_0x59bd48,'height':_0x4cb17f},_0x1f4575),this[_0x253516(0x389)](_0xa266b0,_0x1f4575),this[_0x253516(0x35e)]['renderGhostNode']===!0x1)return _0xa266b0[_0x253516(0x2b8)](),this[_0x253516(0x3d7)](!0x1),this;Z(_0xa266b0,_0x60e204,_0x19393b,_0x59bd48,_0x4cb17f,X[_0x253516(0x2dd)]),_0xa266b0[_0x253516(0x234)](),_0xa266b0[_0x253516(0x1b4)]();let _0x575f1c=this['_state'][_0x253516(0x33d)],_0x332dc1=Number['isFinite'](_0x575f1c==null?void 0x0:_0x575f1c['fontSize'])&&((_0x2f40d6=_0x575f1c==null?void 0x0:_0x575f1c[_0x253516(0x1db)])==null?0x0:_0x2f40d6)>0x0?_0x575f1c['fontSize']:0x10,_0x5617cd=X[_0x253516(0x1d0)]/_0x1f4575;return _0xa266b0[_0x253516(0x2c2)]=(_0x97c291=_0x575f1c==null?void 0x0:_0x575f1c[_0x253516(0x3c4)])==null?X[_0x253516(0x332)]:_0x97c291,_0xa266b0[_0x253516(0x1b1)]=Pt(X[_0x253516(0x3db)],_0x332dc1,_0x1f4575),_0xa266b0['textAlign']=zt(_0x575f1c==null?void 0x0:_0x575f1c[_0x253516(0x17b)]),_0xa266b0[_0x253516(0x1ba)]=_0x253516(0x1cc),_0xa266b0['fillText']((_0x575f1c==null?void 0x0:_0x575f1c['text'])||_0x3d4bdb,Bt(_0x60e204,_0x59bd48,_0x575f1c==null?void 0x0:_0x575f1c[_0x253516(0x17b)],_0x5617cd),_0x19393b+_0x4cb17f/0x2,Math[_0x253516(0x20a)](0x1,_0x59bd48-_0x5617cd*0x2)),_0xa266b0['restore'](),this[_0x253516(0x3d7)](!0x1),this;}[_0x55c788(0x1d1)](){const _0x3a3f9f=_0x55c788;var _0x41f1b9;let _0x38a952=this[_0x3a3f9f(0x35e)][_0x3a3f9f(0x316)],_0x2ff81e=Number['isFinite'](this['_state']['zoomRatio'])&&((_0x41f1b9=this[_0x3a3f9f(0x35e)][_0x3a3f9f(0x3cc)])==null?0x0:_0x41f1b9)>0x0?this[_0x3a3f9f(0x35e)][_0x3a3f9f(0x3cc)]:0x1,_0x59dde1=X['dirtyPaddingScreen']/_0x2ff81e;if(!_0x38a952)return{'left':0x0,'top':0x0,'width':0x1,'height':0x1};let _0x5575d4=Q(_0x38a952[_0x3a3f9f(0x295)],0x0),_0x54cb0d=Q(_0x38a952[_0x3a3f9f(0x180)],0x0),_0x3f191c=Math['max'](0x1,Q(_0x38a952['width'],Lt())),_0x2fa54e=Math[_0x3a3f9f(0x20a)](0x1,Q(_0x38a952[_0x3a3f9f(0x243)],Rt())),_0x69f4da=this[_0x3a3f9f(0x35e)][_0x3a3f9f(0x37f)],_0x1c2bda=this[_0x3a3f9f(0x35e)][_0x3a3f9f(0x2e8)],_0x3f0844=Q(_0x69f4da==null?void 0x0:_0x69f4da[_0x3a3f9f(0x295)],_0x5575d4),_0x20c692=Q(_0x69f4da==null?void 0x0:_0x69f4da[_0x3a3f9f(0x180)],_0x54cb0d),_0x5ae1ae=Math['max'](0x1,Q(_0x69f4da==null?void 0x0:_0x69f4da['width'],_0x3f191c)),_0x2ee6e1=Math[_0x3a3f9f(0x20a)](0x1,Q(_0x69f4da==null?void 0x0:_0x69f4da[_0x3a3f9f(0x243)],_0x2fa54e));if(!_0x1c2bda){let _0x528cfd=Math[_0x3a3f9f(0x29d)](_0x5575d4,_0x3f0844)-_0x59dde1,_0x56a923=Math['min'](_0x54cb0d,_0x20c692)-_0x59dde1,_0x4dcf44=Math['max'](_0x5575d4+_0x3f191c,_0x3f0844+_0x5ae1ae)+_0x59dde1,_0x329b8e=Math['max'](_0x54cb0d+_0x2fa54e,_0x20c692+_0x2ee6e1)+_0x59dde1;return{'left':_0x528cfd,'top':_0x56a923,'width':_0x4dcf44-_0x528cfd,'height':_0x329b8e-_0x56a923};}let _0x1f71e0=Q(_0x1c2bda[_0x3a3f9f(0x295)],_0x5575d4),_0x22c4f3=Q(_0x1c2bda['top'],_0x54cb0d),_0x31e131=Math[_0x3a3f9f(0x20a)](0x1,Q(_0x1c2bda[_0x3a3f9f(0x24f)],Lt())),_0x4eb4e1=Math[_0x3a3f9f(0x20a)](0x1,Q(_0x1c2bda['height'],Rt())),_0x43236c=Math['min'](_0x5575d4,_0x1f71e0,_0x3f0844)-_0x59dde1,_0x14b1cf=Math['min'](_0x54cb0d,_0x22c4f3,_0x20c692)-_0x59dde1,_0x5342da=Math[_0x3a3f9f(0x20a)](_0x5575d4+_0x3f191c,_0x1f71e0+_0x31e131,_0x3f0844+_0x5ae1ae)+_0x59dde1,_0xa966c3=Math[_0x3a3f9f(0x20a)](_0x54cb0d+_0x2fa54e,_0x22c4f3+_0x4eb4e1,_0x20c692+_0x2ee6e1)+_0x59dde1;return{'left':_0x43236c,'top':_0x14b1cf,'width':_0x5342da-_0x43236c,'height':_0xa966c3-_0x14b1cf};}[_0x55c788(0x389)](_0x35fd6f,_0x21a6fd){const _0x573c9c=_0x55c788;var _0x456d18;let _0x38728e=this[_0x573c9c(0x35e)][_0x573c9c(0x37f)];if(!_0x38728e)return;let _0x58b62e=X[_0x573c9c(0x38a)]/_0x21a6fd,_0x1cccb5=Q(_0x38728e[_0x573c9c(0x295)],0x0)-_0x58b62e,_0x23becf=Q(_0x38728e['top'],0x0)-_0x58b62e,_0x3bb520=Math['max'](0x1,Q(_0x38728e['width'],Lt()))+_0x58b62e*0x2,_0x5a8586=Math[_0x573c9c(0x20a)](0x1,Q(_0x38728e['height'],Rt()))+_0x58b62e*0x2;_0x35fd6f['save'](),_0x35fd6f[_0x573c9c(0x137)]=0x1,_0x35fd6f['lineWidth']=X[_0x573c9c(0x221)]/_0x21a6fd,_0x35fd6f[_0x573c9c(0x3aa)]=X['sourceHighlightStrokeColor'],_0x35fd6f['fillStyle']=X[_0x573c9c(0x263)],(_0x456d18=_0x35fd6f['setLineDash'])==null||_0x456d18[_0x573c9c(0x222)](_0x35fd6f,X[_0x573c9c(0x29b)][_0x573c9c(0x1f6)](_0x249abb=>_0x249abb/_0x21a6fd)),Z(_0x35fd6f,_0x1cccb5,_0x23becf,_0x3bb520,_0x5a8586,X['rootRadius']),_0x35fd6f[_0x573c9c(0x234)](),_0x35fd6f['stroke'](),_0x35fd6f[_0x573c9c(0x2b8)]();}['_drawConnectorPreview'](_0x515c32,_0x50954e,_0x3692c8){const _0x55224c=_0x55c788;var _0xb705ae;let _0x5a745b=this['_state'][_0x55224c(0x2e8)];if(!_0x5a745b)return;let _0x7a288d=Q(_0x5a745b[_0x55224c(0x295)],0x0),_0xf84395=Q(_0x5a745b[_0x55224c(0x180)],0x0),_0x5ea640=Math['max'](0x1,Q(_0x5a745b[_0x55224c(0x24f)],Lt())),_0x1a73d5=Math['max'](0x1,Q(_0x5a745b[_0x55224c(0x243)],Rt())),_0x3e4d93=X[_0x55224c(0x26d)],_0x2b03ee=(_0xb705ae=this['_state']['side'])==null?_0x55224c(0x338):_0xb705ae;if(_0x515c32[_0x55224c(0x311)](),_0x515c32[_0x55224c(0x137)]=X[_0x55224c(0x1b8)],_0x515c32[_0x55224c(0x3aa)]=X[_0x55224c(0x3ae)],_0x515c32[_0x55224c(0x390)]=X[_0x55224c(0x221)]/_0x3692c8,_0x515c32['lineCap']=_0x55224c(0x31c),_0x515c32[_0x55224c(0x3dc)]=_0x55224c(0x31c),_0x515c32['beginPath'](),_0x2b03ee===_0x55224c(0x180)||_0x2b03ee===_0x55224c(0x373)){let _0x50b48f=_0x7a288d+_0x5ea640/0x2,_0x279400=_0x50954e[_0x55224c(0x295)]+_0x50954e[_0x55224c(0x24f)]/0x2,_0x429b60=_0x2b03ee===_0x55224c(0x373)?_0xf84395+_0x1a73d5:_0xf84395,_0x589188=_0x2b03ee==='bottom'?_0x50954e['top']:_0x50954e['top']+_0x50954e[_0x55224c(0x243)],_0x494ab7=_0x2b03ee===_0x55224c(0x373)?Math['min'](_0x429b60+_0x3e4d93,(_0x429b60+_0x589188)/0x2):Math['max'](_0x429b60-_0x3e4d93,(_0x429b60+_0x589188)/0x2);_0x515c32[_0x55224c(0x2f0)](_0x50b48f,_0x429b60),_0x515c32[_0x55224c(0x2f2)](_0x50b48f,_0x494ab7),_0x515c32[_0x55224c(0x2f2)](_0x279400,_0x494ab7),_0x515c32[_0x55224c(0x2f2)](_0x279400,_0x589188);}else{let _0x27a7e5=_0xf84395+_0x1a73d5/0x2,_0x21660e=_0x50954e['top']+_0x50954e['height']/0x2,_0x57b8eb=_0x2b03ee===_0x55224c(0x338)?_0x7a288d+_0x5ea640:_0x7a288d,_0x666904=_0x2b03ee==='right'?_0x50954e[_0x55224c(0x295)]:_0x50954e['left']+_0x50954e[_0x55224c(0x24f)],_0x4e1d4e=_0x2b03ee===_0x55224c(0x338)?Math[_0x55224c(0x29d)](_0x57b8eb+_0x3e4d93,(_0x57b8eb+_0x666904)/0x2):Math[_0x55224c(0x20a)](_0x57b8eb-_0x3e4d93,(_0x57b8eb+_0x666904)/0x2);_0x515c32[_0x55224c(0x2f0)](_0x57b8eb,_0x27a7e5),_0x515c32[_0x55224c(0x2f2)](_0x4e1d4e,_0x27a7e5),_0x515c32[_0x55224c(0x2f2)](_0x4e1d4e,_0x21660e),_0x515c32[_0x55224c(0x2f2)](_0x666904,_0x21660e);}_0x515c32[_0x55224c(0x1b4)](),_0x515c32[_0x55224c(0x2b8)]();}};function Ht(_0x1ad8db,_0x2369e3){const _0x8ff64d=_0x55c788;var _0x4dac94;return(_0x4dac94=_0x2369e3==null?void 0x0:_0x2369e3[_0x1ad8db[_0x8ff64d(0x18a)]])==null?_0x1ad8db[_0x8ff64d(0x2ca)]['transform']:_0x4dac94;}function Ut(_0x24dc82,_0x4f05f3){const _0x2c5656=_0x55c788;var _0xed4c83,_0xdb06c,_0x27e9e1,_0x462040;let _0x1b1636=Ht(_0x24dc82,_0x4f05f3);return{'x':((_0xed4c83=_0x1b1636[_0x2c5656(0x295)])==null?0x0:_0xed4c83)+((_0xdb06c=_0x1b1636[_0x2c5656(0x24f)])==null?0x0:_0xdb06c)/0x2,'y':((_0x27e9e1=_0x1b1636[_0x2c5656(0x180)])==null?0x0:_0x27e9e1)+((_0x462040=_0x1b1636['height'])==null?0x0:_0x462040)/0x2};}function Wt(_0x54144c,_0x776cdb){return Math['hypot'](_0x54144c['x']-_0x776cdb['x'],_0x54144c['y']-_0x776cdb['y']);}function Gt(_0x253ace,_0x1a5b1a){const _0x2020d2=_0x55c788;var _0x420c04,_0x239314,_0x367f72,_0x4adaf8,_0x5023f6,_0x40b29b,_0x403df7,_0x518592;let _0x3cbff0=(_0x420c04=_0x253ace['left'])==null?0x0:_0x420c04,_0x4b730f=(_0x239314=_0x253ace[_0x2020d2(0x180)])==null?0x0:_0x239314,_0x2aba17=_0x3cbff0+((_0x367f72=_0x253ace['width'])==null?0x0:_0x367f72),_0x1c861b=_0x4b730f+((_0x4adaf8=_0x253ace[_0x2020d2(0x243)])==null?0x0:_0x4adaf8),_0xa480d7=(_0x5023f6=_0x1a5b1a['left'])==null?0x0:_0x5023f6,_0x3ee23f=(_0x40b29b=_0x1a5b1a[_0x2020d2(0x180)])==null?0x0:_0x40b29b,_0x4c235f=_0xa480d7+((_0x403df7=_0x1a5b1a[_0x2020d2(0x24f)])==null?0x0:_0x403df7),_0x249830=_0x3ee23f+((_0x518592=_0x1a5b1a[_0x2020d2(0x243)])==null?0x0:_0x518592),_0x48d448=Math[_0x2020d2(0x20a)](_0xa480d7-_0x2aba17,_0x3cbff0-_0x4c235f,0x0),_0x3d256e=Math[_0x2020d2(0x20a)](_0x3ee23f-_0x1c861b,_0x4b730f-_0x249830,0x0);return Math[_0x2020d2(0x254)](_0x48d448,_0x3d256e);}function Kt(_0x351f28,_0x4044ed,_0x48fc54){const _0x3d8d31=_0x55c788;var _0x2c3ac8;let _0x4c30cd=_0x4784a6((_0x2c3ac8=_0x351f28[_0x4044ed])==null?void 0x0:_0x2c3ac8['element']);for(;_0x4c30cd!=null&&_0x4c30cd['parentNodeId'];){var _0x352532;if(_0x4c30cd[_0x3d8d31(0x286)]===_0x48fc54)return!0x0;_0x4c30cd=_0x4784a6((_0x352532=_0x351f28[_0x4c30cd['parentNodeId']])==null?void 0x0:_0x352532[_0x3d8d31(0x2ca)]);}return!0x1;}function qt(_0x442ff7,_0x3e50e7,_0x5aeff4){const _0x2830fd=_0x55c788;var _0x2157ee,_0x15ca82;let _0x3a07e3=Ht(_0x442ff7,_0x5aeff4),_0x135bd8=(_0x2157ee=_0x3a07e3[_0x2830fd(0x180)])==null?0x0:_0x2157ee,_0x5cda49=(_0x15ca82=_0x3a07e3[_0x2830fd(0x243)])==null?0x0:_0x15ca82;return _0x5cda49<=0x0?null:_0x3e50e7['y']<=_0x135bd8+_0x5cda49/0x3?'before':_0x3e50e7['y']>=_0x135bd8+_0x5cda49*0x2/0x3?_0x2830fd(0x143):null;}function Jt(_0x3a374a,_0x47d21a){const _0x482796=_0x55c788;let _0x3f8cc8=_0x47d21a==null?void 0x0:_0x47d21a[_0x3a374a];return Number[_0x482796(0x273)](_0x3f8cc8==null?void 0x0:_0x3f8cc8[_0x482796(0x295)])&&Number[_0x482796(0x273)](_0x3f8cc8==null?void 0x0:_0x3f8cc8[_0x482796(0x180)])?{'kind':'detach','left':_0x3f8cc8[_0x482796(0x295)],'top':_0x3f8cc8[_0x482796(0x180)]}:{'kind':'detach'};}function Yt(_0x422b3d,_0xd8cfb2,_0x107b1e){const _0x1e6369=_0x55c788;let _0x2fbf59=_0x422b3d[_0xd8cfb2],_0xb4f153=_0x4784a6(_0x2fbf59==null?void 0x0:_0x2fbf59[_0x1e6369(0x2ca)]);if(!_0x2fbf59||!_0xb4f153||!_0xb4f153['parentNodeId']&&!(_0x107b1e!=null&&_0x107b1e[_0x1e6369(0x2aa)]))return{'kind':_0x1e6369(0x19e)};let _0x2194f0=_0x107b1e==null?void 0x0:_0x107b1e[_0x1e6369(0x165)],_0x4fc83d=Ht(_0x2fbf59,_0x2194f0),_0x1eaeff=Ut(_0x2fbf59,_0x2194f0),_0x5924c7=Object[_0x1e6369(0x1e2)](_0x422b3d)['map'](_0xa71f27=>{const _0xe35466=_0x1e6369;let _0x442280=_0x4784a6(_0xa71f27[_0xe35466(0x2ca)]);return!_0x442280||_0xa71f27[_0xe35466(0x18a)]===_0xd8cfb2||_0xa71f27[_0xe35466(0x18a)]===_0xb4f153['parentNodeId']||_0x107b1e!=null&&_0x107b1e[_0xe35466(0x2aa)]&&!_0xb4f153[_0xe35466(0x286)]&&_0x442280[_0xe35466(0x272)]===_0xb4f153[_0xe35466(0x272)]||Kt(_0x422b3d,_0xa71f27['elementId'],_0xd8cfb2)?null:{'item':_0xa71f27,'snapDistance':Gt(_0x4fc83d,Ht(_0xa71f27,_0x2194f0)),'center':Ut(_0xa71f27,_0x2194f0)};})[_0x1e6369(0x1eb)](_0x244edd=>!!_0x244edd)[_0x1e6369(0x354)]((_0x51de90,_0x3d45ec)=>_0x51de90['snapDistance']-_0x3d45ec[_0x1e6369(0x3d2)]||Wt(_0x1eaeff,_0x51de90['center'])-Wt(_0x1eaeff,_0x3d45ec[_0x1e6369(0x173)]))[0x0];if(_0x5924c7&&_0x5924c7[_0x1e6369(0x3d2)]<=0x64){let _0x3995d1=_0x4784a6(_0x5924c7[_0x1e6369(0x285)][_0x1e6369(0x2ca)]),_0x42dda2=_0x3995d1!=null&&_0x3995d1[_0x1e6369(0x286)]?qt(_0x5924c7[_0x1e6369(0x285)],_0x1eaeff,_0x2194f0):null;if(_0x3995d1!=null&&_0x3995d1['parentNodeId']&&_0x42dda2){var _0x1b87cb;return{'kind':_0x1e6369(0x138),'newParentNodeId':_0x3995d1[_0x1e6369(0x286)],'side':(_0x1b87cb=_0x3995d1[_0x1e6369(0x1c2)])==null?_0x1e6369(0x338):_0x1b87cb,'referenceNodeId':_0x5924c7['item'][_0x1e6369(0x18a)],'placement':_0x42dda2};}return{'kind':_0x1e6369(0x138),'newParentNodeId':_0x5924c7[_0x1e6369(0x285)]['elementId'],'side':_0x1eaeff['x']<_0x5924c7[_0x1e6369(0x173)]['x']?_0x1e6369(0x295):_0x1e6369(0x338)};}if(_0x107b1e!=null&&_0x107b1e['detachWhenNoSnap'])return Jt(_0xd8cfb2,_0x2194f0);if(!_0xb4f153[_0x1e6369(0x286)])return{'kind':_0x1e6369(0x19e)};let _0x1c50b3=_0x422b3d[_0xb4f153[_0x1e6369(0x286)]];return _0x1c50b3&&Wt(_0x1eaeff,Ut(_0x1c50b3,_0x2194f0))>0x230?Jt(_0xd8cfb2,_0x2194f0):{'kind':_0x1e6369(0x19e)};}function Xt(_0x54897a,_0x55c36f){const _0xef3e94=_0x55c788;var _0x39cd21,_0x380626;return _0x54897a['elementId']===_0x55c36f||((_0x39cd21=_0x4784a6(_0x54897a[_0xef3e94(0x2ca)]))==null?void 0x0:_0x39cd21[_0xef3e94(0x272)])===_0x55c36f||((_0x380626=_0x17e585(_0x54897a[_0xef3e94(0x2ca)]))==null?void 0x0:_0x380626[_0xef3e94(0x272)])===_0x55c36f;}function Zt(_0x2d735c,_0x51b510,_0x2c5dbd,_0x37443f){const _0x20d73f=_0x55c788;var _0x2618c3,_0x4e570d,_0x1ae08d,_0x25e9f1,_0x5bad61,_0x5259c3;let _0x229470=_0x2d735c[_0x51b510];if(!_0x229470)return _0x2d735c;let _0x239923=(_0x2618c3=(_0x4e570d=_0x229470['transform'])==null?_0x229470[_0x20d73f(0x2ca)]['transform']:_0x4e570d)==null?{}:_0x2618c3;return{..._0x2d735c,[_0x51b510]:{..._0x229470,'transform':{..._0x239923,'left':((_0x1ae08d=_0x239923[_0x20d73f(0x295)])==null?0x0:_0x1ae08d)+_0x2c5dbd,'top':((_0x25e9f1=_0x239923[_0x20d73f(0x180)])==null?0x0:_0x25e9f1)+_0x37443f},'element':{..._0x229470['element'],'transform':{..._0x229470[_0x20d73f(0x2ca)]['transform'],'left':((_0x5bad61=_0x229470[_0x20d73f(0x2ca)][_0x20d73f(0x226)][_0x20d73f(0x295)])==null?0x0:_0x5bad61)+_0x2c5dbd,'top':((_0x5259c3=_0x229470[_0x20d73f(0x2ca)][_0x20d73f(0x226)][_0x20d73f(0x180)])==null?0x0:_0x5259c3)+_0x37443f}}}};}function Qt(_0x589e5b){const _0x3bd7a5=_0x55c788;if(!Number[_0x3bd7a5(0x273)](_0x589e5b['liveRootBounds'][_0x3bd7a5(0x295)])||!Number[_0x3bd7a5(0x273)](_0x589e5b[_0x3bd7a5(0x327)][_0x3bd7a5(0x180)])||!Number[_0x3bd7a5(0x273)](_0x589e5b[_0x3bd7a5(0x156)][_0x3bd7a5(0x295)])||!Number[_0x3bd7a5(0x273)](_0x589e5b[_0x3bd7a5(0x156)][_0x3bd7a5(0x180)]))return null;let _0x1a8afd=_0x589e5b[_0x3bd7a5(0x327)]['left']-_0x589e5b[_0x3bd7a5(0x156)][_0x3bd7a5(0x295)],_0x35a96e=_0x589e5b[_0x3bd7a5(0x327)][_0x3bd7a5(0x180)]-_0x589e5b[_0x3bd7a5(0x156)]['top'],_0x3c6483=Zt(_0x589e5b['elementData'],_0x589e5b['scopeId'],_0x1a8afd,_0x35a96e),_0x9a001c=[];return Object[_0x3bd7a5(0x1e2)](_0x3c6483)[_0x3bd7a5(0x123)](_0x3d90a7=>{const _0x1c80dd=_0x3bd7a5;if(_0x3d90a7['elementId']===_0x589e5b['rootNodeId']||_0x3d90a7[_0x1c80dd(0x18a)]===_0x589e5b[_0x1c80dd(0x191)]||!Xt(_0x3d90a7,_0x589e5b[_0x1c80dd(0x191)]))return;if(_0x1c80dd(0x2bb)in _0x3d90a7[_0x1c80dd(0x2ca)]){var _0x4486c0;let _0x4f489f=(_0x4486c0=_0x589e5b[_0x1c80dd(0x365)][_0x3d90a7[_0x1c80dd(0x18a)]])==null?void 0x0:_0x4486c0[_0x1c80dd(0x2ca)];_0x4f489f&&'connectorData'in _0x4f489f&&_0x9a001c[_0x1c80dd(0x3b7)]({'kind':_0x1c80dd(0x1f3),'elementId':_0x3d90a7['elementId'],'element':_0x1d56a8(_0x4f489f,{'x':_0x1a8afd,'y':_0x35a96e})});return;}let _0x272233=_0x329079(_0x3c6483,_0x3d90a7[_0x1c80dd(0x18a)]);_0x272233&&_0x9a001c['push']({'kind':'bounds','elementId':_0x3d90a7[_0x1c80dd(0x18a)],'bounds':_0x272233});}),{'deltaX':_0x1a8afd,'deltaY':_0x35a96e,'elementData':_0x3c6483,'items':_0x9a001c};}let $t=class extends _0x4c4ffe{constructor(_0xbb5272,_0x48e5f2,_0x3e6873,_0xf9b47,_0x578fbd,_0x5148b6){const _0x40fbd5=_0x55c788;super(),this[_0x40fbd5(0x16f)]=_0xbb5272,this[_0x40fbd5(0x334)]=_0x48e5f2,this[_0x40fbd5(0x239)]=_0x3e6873,this[_0x40fbd5(0x22a)]=_0xf9b47,this[_0x40fbd5(0x184)]=_0x578fbd,this[_0x40fbd5(0x336)]=_0x5148b6,K(this,'_dragStart',null),K(this,_0x40fbd5(0x391),null),K(this,_0x40fbd5(0x130),null),K(this,_0x40fbd5(0x268),!0x1),K(this,_0x40fbd5(0x20e),null),K(this,_0x40fbd5(0x28f),null),K(this,'_attachObjectPointerScheduled',!0x1),K(this,_0x40fbd5(0x2ae),null),K(this,'_childDragSelectionHidden',!0x1),this[_0x40fbd5(0x25a)]();}[_0x55c788(0x25a)](){const _0x56ac32=_0x55c788;var _0x4b916c,_0x28cec3,_0x54a7e6,_0x2df98e,_0x213422,_0x303c9e,_0x570fc3,_0x1de6ca,_0x4a8e22,_0x4a32e4;let _0x5ea291=this[_0x56ac32(0x16f)][_0x56ac32(0x3d4)]['getTransformerByCreate']();this[_0x56ac32(0x367)](_0x1e5fe4(_0x5ea291[_0x56ac32(0x366)][_0x56ac32(0x3b9)](_0x38681d(this[_0x56ac32(0x2bd)]))['subscribe'](()=>{const _0x53e5d8=_0x56ac32;this[_0x53e5d8(0x39b)]();}))),this[_0x56ac32(0x367)](_0x1e5fe4((_0x4b916c=(_0x28cec3=_0x5ea291['changing$'])==null?void 0x0:_0x28cec3[_0x56ac32(0x3b9)](_0x38681d(this[_0x56ac32(0x2bd)]))[_0x56ac32(0x304)](_0x20dbd9=>{const _0x2dab31=_0x56ac32;this[_0x2dab31(0x32b)](_0x20dbd9==null?void 0x0:_0x20dbd9[_0x2dab31(0x3ba)]);}))==null?{'dispose':()=>{}}:_0x4b916c)),this[_0x56ac32(0x367)](_0x1e5fe4(_0x5ea291['changeEnd$']['pipe'](_0x38681d(this[_0x56ac32(0x2bd)]))[_0x56ac32(0x304)](_0x3dc197=>{const _0x14a2f3=_0x56ac32;setTimeout(()=>this[_0x14a2f3(0x134)](_0x3dc197==null?void 0x0:_0x3dc197['objects']),0x0);}))),this['disposeWithMe'](_0x1e5fe4((_0x54a7e6=(_0x2df98e=this[_0x56ac32(0x16f)][_0x56ac32(0x3d4)][_0x56ac32(0x14a)])==null?void 0x0:_0x2df98e['subscribeEvent']({'priority':0x3,'next':([_0x5e6aa1])=>this[_0x56ac32(0x199)](_0x5e6aa1)}))==null?{'dispose':()=>{}}:_0x54a7e6)),this[_0x56ac32(0x367)](_0x1e5fe4((_0x213422=(_0x303c9e=this[_0x56ac32(0x16f)]['scene'][_0x56ac32(0x27c)])==null?void 0x0:_0x303c9e[_0x56ac32(0x1ed)]({'priority':0x3,'next':([_0x408719,_0x166497])=>this[_0x56ac32(0x1d9)](_0x408719,_0x166497)}))==null?{'dispose':()=>{}}:_0x213422)),this['disposeWithMe'](_0x1e5fe4((_0x570fc3=(_0x1de6ca=this[_0x56ac32(0x16f)]['scene'][_0x56ac32(0x27e)])==null?void 0x0:_0x1de6ca[_0x56ac32(0x1ed)]({'priority':0x3,'next':([_0x151857,_0x4149b0])=>this['_applyPointerChildDrag'](_0x151857,_0x4149b0)}))==null?{'dispose':()=>{}}:_0x570fc3)),this[_0x56ac32(0x367)](_0x1e5fe4((_0x4a8e22=(_0x4a32e4=this['_renderContext'][_0x56ac32(0x3d4)]['onPointerCancel$'])==null?void 0x0:_0x4a32e4['subscribeEvent']({'priority':0x3,'next':([,_0x46a117])=>this[_0x56ac32(0x2be)](_0x46a117)}))==null?{'dispose':()=>{}}:_0x4a8e22)),this[_0x56ac32(0x367)](_0x1e5fe4(()=>{const _0x49299e=_0x56ac32;var _0x9ab72c;return(_0x9ab72c=this[_0x49299e(0x28f)])==null?void 0x0:_0x9ab72c['dispose']();})),this[_0x56ac32(0x367)](_0x1e5fe4(()=>this['_disposeActivePointerDragListeners']())),this[_0x56ac32(0x1da)](),this[_0x56ac32(0x1ab)](),this['disposeWithMe'](_0x1e5fe4(()=>this[_0x56ac32(0x209)]()));}[_0x55c788(0x1da)](){const _0x182107=_0x55c788;let _0x34171b=this[_0x182107(0x334)],_0x23f148=_0x552556=>{const _0x1114e4=_0x182107;let _0x726e77=_0x552556==null?void 0x0:_0x552556[_0x1114e4(0x304)](()=>this[_0x1114e4(0x1ab)]());_0x726e77&&this[_0x1114e4(0x367)](_0x1e5fe4(()=>{const _0x380ab8=_0x1114e4;var _0x365581,_0x1f7a50;(_0x365581=_0x726e77[_0x380ab8(0x3c5)])==null||_0x365581['call'](_0x726e77),(_0x1f7a50=_0x726e77[_0x380ab8(0x236)])==null||_0x1f7a50[_0x380ab8(0x222)](_0x726e77);}));};_0x23f148(_0x34171b[_0x182107(0x233)]),_0x23f148(_0x34171b['elementUpdate$']),_0x23f148(_0x34171b[_0x182107(0x3a9)]),this['_elementStateService'][_0x182107(0x3d5)]&&this[_0x182107(0x367)](_0x1e5fe4(this[_0x182107(0x239)][_0x182107(0x3d5)]['pipe'](_0x38681d(this[_0x182107(0x2bd)]))[_0x182107(0x304)](()=>{const _0x4a4865=_0x182107;this[_0x4a4865(0x1ab)]();})));}['_scheduleAttachObjectPointerListeners'](){const _0x190bc3=_0x55c788;this[_0x190bc3(0x265)]||(this['_attachObjectPointerScheduled']=!0x0,Promise[_0x190bc3(0x3b0)]()['then'](()=>this[_0x190bc3(0x20d)]()));}['_attachObjectPointerListeners'](){const _0x564021=_0x55c788;var _0x4984d6;this[_0x564021(0x265)]=!0x1;let _0x15652f=this['_resolveCurrentBoardContext'](),_0x199fd8=this['_renderContext'][_0x564021(0x3d4)];if(!_0x15652f||typeof _0x199fd8[_0x564021(0x33c)]!=_0x564021(0x164))return;let _0x3f38b7=this[_0x564021(0x334)][_0x564021(0x16c)](_0x15652f[_0x564021(0x3d3)],_0x15652f['subUnitId']),_0x44af2f=new _0x1ec4ce();(_0x4984d6=this[_0x564021(0x28f)])==null||_0x4984d6[_0x564021(0x3c5)](),this['_objectPointerDisposables']=_0x44af2f,Object[_0x564021(0x1e2)](_0x3f38b7)[_0x564021(0x123)](_0x330ec4=>{const _0x3ad68e=_0x564021;var _0x1132ce,_0x244e00,_0x54cc9e;let _0x296336=_0x4784a6(_0x330ec4['element']);if(!(_0x296336!=null&&_0x296336['parentNodeId']))return;let _0x270e86=_0x4f1902(_0x15652f[_0x3ad68e(0x3d3)],_0x330ec4[_0x3ad68e(0x18a)]),_0x449f08=(_0x1132ce=(_0x244e00=_0x199fd8[_0x3ad68e(0x1a7)])==null?void 0x0:_0x244e00[_0x3ad68e(0x222)](_0x199fd8,_0x270e86))==null?(_0x54cc9e=_0x199fd8[_0x3ad68e(0x33c)])==null?void 0x0:_0x54cc9e[_0x3ad68e(0x222)](_0x199fd8,_0x270e86):_0x1132ce;_0x449f08!=null&&_0x449f08[_0x3ad68e(0x14a)]&&_0x44af2f['add'](_0x449f08[_0x3ad68e(0x14a)][_0x3ad68e(0x1ed)]({'priority':-0xa,'next':([_0x3d71e6,_0x1e01a6])=>this[_0x3ad68e(0x199)](_0x3d71e6,{'unitId':_0x15652f[_0x3ad68e(0x3d3)],'subUnitId':_0x15652f['subUnitId'],'nodeId':_0x330ec4[_0x3ad68e(0x18a)]},_0x1e01a6)}));});}[_0x55c788(0x387)](){const _0x20a886=_0x55c788;let _0x261c0f=this['_elementStateService'][_0x20a886(0x125)]()[_0x20a886(0x1de)];if(_0x261c0f)return _0x261c0f;let _0xbc173c=this[_0x20a886(0x16f)][_0x20a886(0x3d3)],_0x14faa8=_0xbc173c?this[_0x20a886(0x336)][_0x20a886(0x161)](_0xbc173c,_0x42e936['UNIVER_BOARD']):null,_0x380208=_0x14faa8==null?void 0x0:_0x14faa8[_0x20a886(0x290)]();return!_0x14faa8||!_0x380208?null:{'unitId':_0x14faa8[_0x20a886(0x1e8)](),'subUnitId':_0x380208};}['_captureDragStart'](){const _0x31c0fb=_0x55c788;var _0x515154,_0x228e51,_0x197312,_0x105993,_0x1c3160,_0x5c3e5e,_0x2311fb,_0x291b51,_0x4e6f88;let _0x35fa90=this[_0x31c0fb(0x239)][_0x31c0fb(0x125)]();this[_0x31c0fb(0x268)]=!0x1,this[_0x31c0fb(0x1e0)]=!0x1,this[_0x31c0fb(0x20e)]=null;let _0xcd652a=_0x35fa90[_0x31c0fb(0x1de)],_0x3adc34=(_0x515154=_0x35fa90[_0x31c0fb(0x3a3)])==null?_0x35fa90[_0x31c0fb(0x319)][0x0]:_0x515154;if(!_0xcd652a||!_0x3adc34||_0x35fa90['selectedIds']['length']!==0x1){this[_0x31c0fb(0x257)]=null,this[_0x31c0fb(0x209)]();return;}let _0x3ecf30=this[_0x31c0fb(0x334)][_0x31c0fb(0x16c)](_0xcd652a['unitId'],_0xcd652a[_0x31c0fb(0x346)]),_0x3ecb04=_0x3ecf30[_0x3adc34],_0x4f3ec0=_0x4784a6(_0x3ecb04==null?void 0x0:_0x3ecb04[_0x31c0fb(0x2ca)]);if(!_0x3ecb04||!_0x4f3ec0){this[_0x31c0fb(0x257)]=null,this[_0x31c0fb(0x209)]();return;}let _0xbb0db3=_0x329079(_0x3ecf30,_0x3adc34),_0x4bfc2f=_0x3ecb04[_0x31c0fb(0x2ca)]['transform'];this['_dragStart']={'kind':_0x4f3ec0[_0x31c0fb(0x286)]===null?_0x31c0fb(0x3a8):'child','unitId':_0xcd652a[_0x31c0fb(0x3d3)],'subUnitId':_0xcd652a['subUnitId'],'nodeId':_0x3adc34,'scopeId':_0x4f3ec0[_0x31c0fb(0x272)],'left':(_0x228e51=(_0x197312=_0xbb0db3==null?void 0x0:_0xbb0db3['left'])==null?_0x4bfc2f[_0x31c0fb(0x295)]:_0x197312)==null?0x0:_0x228e51,'top':(_0x105993=(_0x1c3160=_0xbb0db3==null?void 0x0:_0xbb0db3[_0x31c0fb(0x180)])==null?_0x4bfc2f[_0x31c0fb(0x180)]:_0x1c3160)==null?0x0:_0x105993,'width':(_0x5c3e5e=(_0x2311fb=_0xbb0db3==null?void 0x0:_0xbb0db3['width'])==null?_0x4bfc2f['width']:_0x2311fb)==null?0x0:_0x5c3e5e,'height':(_0x291b51=(_0x4e6f88=_0xbb0db3==null?void 0x0:_0xbb0db3[_0x31c0fb(0x243)])==null?_0x4bfc2f[_0x31c0fb(0x243)]:_0x4e6f88)==null?0x0:_0x291b51,'elementData':_0x3ecf30};}['_capturePointerChildDragStart'](_0x196ac5,_0x4b6d79,_0x2509d9){const _0x470584=_0x55c788;var _0x426a2a,_0x4af9f9,_0x1a4cef,_0x146e80,_0x76f72d,_0x4d5a09,_0x5e30c9,_0x4f454f,_0xb40436,_0x30e59c,_0x56b9d6,_0x4a4c50,_0xa50679,_0x4ac362;if(((_0x426a2a=_0x196ac5['button'])==null?0x0:_0x426a2a)!==0x0)return;let _0x28c47c=this['_elementStateService'][_0x470584(0x125)]();if(_0x28c47c[_0x470584(0x2fe)]){this[_0x470584(0x391)]=null;return;}let _0x1bace7=_0x4b6d79?{'unitId':_0x4b6d79[_0x470584(0x3d3)],'subUnitId':_0x4b6d79[_0x470584(0x346)]}:(_0x4af9f9=_0x28c47c['context'])==null?this[_0x470584(0x387)]():_0x4af9f9,_0x52b0bb=(_0x1a4cef=_0x4b6d79==null?void 0x0:_0x4b6d79[_0x470584(0x398)])==null?_0x28c47c[_0x470584(0x319)]['length']===0x1?(_0x146e80=_0x28c47c[_0x470584(0x3a3)])==null?_0x28c47c[_0x470584(0x319)][0x0]:_0x146e80:void 0x0:_0x1a4cef;if(!_0x1bace7){this[_0x470584(0x391)]=null;return;}let _0xbee7d7=this['_boardElementService'][_0x470584(0x16c)](_0x1bace7[_0x470584(0x3d3)],_0x1bace7[_0x470584(0x346)]),_0x5ae0e2=this['_getBoardPointFromEvent'](_0x196ac5);if(!_0x4b6d79){var _0x90169e,_0x4b7fd9,_0x4db3a4,_0x5d45bf,_0x255add;let _0x3402ca=_0x52b0bb?_0xbee7d7[_0x52b0bb]:null,_0xd175c6=_0x4784a6(_0x3402ca==null?void 0x0:_0x3402ca['element']),_0x3aad17=_0x52b0bb?(_0x90169e=_0x329079(_0xbee7d7,_0x52b0bb))==null?_0x3402ca==null?void 0x0:_0x3402ca['element'][_0x470584(0x226)]:_0x90169e:null;(!(_0xd175c6!=null&&_0xd175c6['parentNodeId'])||!_0x3aad17||!this[_0x470584(0x15c)](_0x5ae0e2,{'left':(_0x4b7fd9=_0x3aad17[_0x470584(0x295)])==null?0x0:_0x4b7fd9,'top':(_0x4db3a4=_0x3aad17[_0x470584(0x180)])==null?0x0:_0x4db3a4,'width':(_0x5d45bf=_0x3aad17[_0x470584(0x24f)])==null?0x0:_0x5d45bf,'height':(_0x255add=_0x3aad17['height'])==null?0x0:_0x255add}))&&(_0x52b0bb=this[_0x470584(0x31d)](_0xbee7d7,_0x5ae0e2));}if(!_0x52b0bb){this[_0x470584(0x391)]=null;return;}let _0x5a9cd8=_0xbee7d7[_0x52b0bb],_0x332c68=_0x4784a6(_0x5a9cd8==null?void 0x0:_0x5a9cd8[_0x470584(0x2ca)]);if(!_0x5a9cd8||!(_0x332c68!=null&&_0x332c68[_0x470584(0x286)])){this[_0x470584(0x391)]=null;return;}(_0x76f72d=(_0x4d5a09=this[_0x470584(0x239)])['selectElements'])==null||_0x76f72d[_0x470584(0x222)](_0x4d5a09,_0x1bace7,[_0x52b0bb],_0x52b0bb),_0x2509d9==null||_0x2509d9[_0x470584(0x2d4)]();let _0x395c38=_0x329079(_0xbee7d7,_0x52b0bb),_0x1f9ed6=_0x5a9cd8[_0x470584(0x2ca)][_0x470584(0x226)],_0x28168a={'left':(_0x5e30c9=(_0x4f454f=_0x395c38==null?void 0x0:_0x395c38[_0x470584(0x295)])==null?_0x1f9ed6[_0x470584(0x295)]:_0x4f454f)==null?0x0:_0x5e30c9,'top':(_0xb40436=(_0x30e59c=_0x395c38==null?void 0x0:_0x395c38['top'])==null?_0x1f9ed6[_0x470584(0x180)]:_0x30e59c)==null?0x0:_0xb40436,'width':(_0x56b9d6=(_0x4a4c50=_0x395c38==null?void 0x0:_0x395c38[_0x470584(0x24f)])==null?_0x1f9ed6[_0x470584(0x24f)]:_0x4a4c50)==null?0x0:_0x56b9d6,'height':(_0xa50679=(_0x4ac362=_0x395c38==null?void 0x0:_0x395c38[_0x470584(0x243)])==null?_0x1f9ed6[_0x470584(0x243)]:_0x4ac362)==null?0x0:_0xa50679};if(!_0x4b6d79&&!this[_0x470584(0x15c)](_0x5ae0e2,_0x28168a)){this[_0x470584(0x391)]=null;return;}let _0x616922=this[_0x470584(0x39a)](_0x196ac5);this[_0x470584(0x268)]=!0x1,this[_0x470584(0x1e0)]=!0x1,this['_lastChildDragAction']=null,this[_0x470584(0x391)]={'kind':_0x470584(0x1d7),'unitId':_0x1bace7[_0x470584(0x3d3)],'subUnitId':_0x1bace7[_0x470584(0x346)],'nodeId':_0x52b0bb,'scopeId':_0x332c68['structureScopeId'],..._0x28168a,'pointerStartX':_0x616922['x'],'pointerStartY':_0x616922['y'],'elementData':_0xbee7d7},this[_0x470584(0x244)](),this['_consumePointerEvent'](_0x196ac5,_0x2509d9);}[_0x55c788(0x1d9)](_0x3e7b46,_0x2cff40){const _0x1d2559=_0x55c788;var _0x27b90e,_0x5b5761;let _0x2c66b6=this[_0x1d2559(0x391)];if(!_0x2c66b6||_0x3e7b46[_0x1d2559(0x303)]!==void 0x0&&_0x3e7b46['buttons']!==0x1)return;let _0x593f85=this[_0x1d2559(0x2eb)](_0x3e7b46,_0x2c66b6);if(!this[_0x1d2559(0x2de)](_0x2c66b6,_0x593f85))return;this[_0x1d2559(0x268)]||this[_0x1d2559(0x197)](),this[_0x1d2559(0x268)]=!0x0;let _0x5306a1=this['_createTopologyBoundsByElementId'](_0x2c66b6[_0x1d2559(0x365)],_0x2c66b6[_0x1d2559(0x398)],_0x593f85),_0x2b2afd=Yt(_0x2c66b6[_0x1d2559(0x365)],_0x2c66b6['nodeId'],{'boundsByElementId':_0x5306a1,'detachWhenNoSnap':!0x0});this['_lastChildDragAction']=_0x2b2afd,this['_syncChildDragPreviewObject'](_0x593f85,_0x2b2afd,_0x5306a1),this['_consumePointerEvent'](_0x3e7b46,_0x2cff40),this['_renderContext'][_0x1d2559(0x3d4)]['makeDirty'](!0x0),(_0x27b90e=(_0x5b5761=this[_0x1d2559(0x16f)][_0x1d2559(0x3d4)])[_0x1d2559(0x19b)])==null||_0x27b90e[_0x1d2559(0x222)](_0x5b5761);}[_0x55c788(0x344)](_0x5d57d7,_0xad1cd5){const _0x3e42fa=_0x55c788;let _0x2ff8db=this[_0x3e42fa(0x391)];if(!_0x2ff8db)return;if(this[_0x3e42fa(0x391)]=null,this[_0x3e42fa(0x2d6)](),this[_0x3e42fa(0x209)](),!this[_0x3e42fa(0x268)]){this[_0x3e42fa(0x20e)]=null;return;}let _0x57e75c=this[_0x3e42fa(0x334)][_0x3e42fa(0x16c)](_0x2ff8db[_0x3e42fa(0x3d3)],_0x2ff8db['subUnitId']),_0x59921f=this[_0x3e42fa(0x2eb)](_0x5d57d7,_0x2ff8db),_0x1e4c6a=this['_createTopologyBoundsByElementId'](_0x57e75c,_0x2ff8db[_0x3e42fa(0x398)],_0x59921f),_0xf57f4f=Yt(_0x57e75c,_0x2ff8db[_0x3e42fa(0x398)],{'boundsByElementId':_0x1e4c6a,'detachWhenNoSnap':!0x0});this[_0x3e42fa(0x20e)]=null,this['_executeChildDragAction'](_0x2ff8db[_0x3e42fa(0x3d3)],_0x2ff8db[_0x3e42fa(0x346)],_0x2ff8db[_0x3e42fa(0x398)],_0x57e75c,_0xf57f4f),this['_childDragSelectionHidden']=!0x1,this[_0x3e42fa(0x192)](_0x5d57d7,_0xad1cd5);}[_0x55c788(0x2be)](_0x293232){const _0x574ac6=_0x55c788;let _0x41fb63=this[_0x574ac6(0x391)];if(_0x41fb63){if(this['_pointerDragStart']=null,this['_disposeActivePointerDragListeners'](),this[_0x574ac6(0x268)]=!0x1,this[_0x574ac6(0x20e)]=null,this['_removeDragPreviewObject'](),this[_0x574ac6(0x1e0)]){var _0x2e2631,_0x4c67f5;(_0x2e2631=(_0x4c67f5=this[_0x574ac6(0x239)])[_0x574ac6(0x379)])==null||_0x2e2631[_0x574ac6(0x222)](_0x4c67f5,{'unitId':_0x41fb63[_0x574ac6(0x3d3)],'subUnitId':_0x41fb63[_0x574ac6(0x346)]},[_0x41fb63[_0x574ac6(0x398)]],_0x41fb63[_0x574ac6(0x398)]),this[_0x574ac6(0x1e0)]=!0x1;}_0x293232==null||_0x293232[_0x574ac6(0x2d4)]();}}[_0x55c788(0x244)](){const _0x82bd43=_0x55c788;this[_0x82bd43(0x2d6)]();let _0x38d77=typeof window>'u'?null:window;if(!(_0x38d77!=null&&_0x38d77[_0x82bd43(0x1c8)]))return;let _0x485b67=new _0x1ec4ce(),_0x24100c=_0x538472=>this[_0x82bd43(0x1d9)](_0x538472),_0x3c999a=_0x3f7d2a=>this['_applyPointerChildDrag'](_0x3f7d2a),_0x167182=()=>this[_0x82bd43(0x2be)]();_0x38d77['addEventListener'](_0x82bd43(0x15e),_0x24100c,{'capture':!0x0}),_0x38d77[_0x82bd43(0x1c8)](_0x82bd43(0x3c8),_0x3c999a,{'capture':!0x0}),_0x38d77['addEventListener']('pointercancel',_0x167182,{'capture':!0x0}),_0x485b67['add'](_0x1e5fe4(()=>{const _0x4181f1=_0x82bd43;_0x38d77['removeEventListener']('pointermove',_0x24100c,{'capture':!0x0}),_0x38d77[_0x4181f1(0x2ed)](_0x4181f1(0x3c8),_0x3c999a,{'capture':!0x0}),_0x38d77[_0x4181f1(0x2ed)]('pointercancel',_0x167182,{'capture':!0x0});})),this[_0x82bd43(0x2ae)]=_0x485b67;}[_0x55c788(0x31d)](_0xad5b1b,_0x360761){const _0xd18e30=_0x55c788;let _0x42adf0=Object[_0xd18e30(0x1e2)](_0xad5b1b);for(let _0x12eba5=_0x42adf0[_0xd18e30(0x207)]-0x1;_0x12eba5>=0x0;--_0x12eba5){var _0x1e9d28,_0x5f2e37,_0x1027eb,_0x7eef9c,_0x585fba;let _0x4bee84=_0x42adf0[_0x12eba5],_0x38bf2d=_0x4784a6(_0x4bee84[_0xd18e30(0x2ca)]);if(!(_0x38bf2d!=null&&_0x38bf2d[_0xd18e30(0x286)]))continue;let _0x24378c=(_0x1e9d28=_0x329079(_0xad5b1b,_0x4bee84[_0xd18e30(0x18a)]))==null?_0x4bee84['element'][_0xd18e30(0x226)]:_0x1e9d28;if(this[_0xd18e30(0x15c)](_0x360761,{'left':(_0x5f2e37=_0x24378c['left'])==null?0x0:_0x5f2e37,'top':(_0x1027eb=_0x24378c['top'])==null?0x0:_0x1027eb,'width':(_0x7eef9c=_0x24378c[_0xd18e30(0x24f)])==null?0x0:_0x7eef9c,'height':(_0x585fba=_0x24378c[_0xd18e30(0x243)])==null?0x0:_0x585fba}))return _0x4bee84[_0xd18e30(0x18a)];}}[_0x55c788(0x2d6)](){const _0x3608ca=_0x55c788;var _0x4c09e8;(_0x4c09e8=this['_activePointerDragDisposables'])==null||_0x4c09e8[_0x3608ca(0x3c5)](),this[_0x3608ca(0x2ae)]=null;}['_syncDragPreview'](_0x3757b4){let _0x5e312f=this['_dragStart'];if(_0x5e312f){if(_0x5e312f['kind']==='root'){this['_syncRootScopePreview'](_0x3757b4),this['_syncRootReparentPreview'](_0x3757b4);return;}this['_syncChildDragPreview'](_0x3757b4);}}[_0x55c788(0x3ca)](_0xdd17a3){const _0x588bc0=_0x55c788;let _0x1a982e=this['_dragStart'];if(!_0x1a982e||_0x1a982e[_0x588bc0(0x2a8)]!==_0x588bc0(0x3a8))return;let _0x2c13f1=_0xdd17a3==null?void 0x0:_0xdd17a3[_0x588bc0(0x21a)](_0x4f1902(_0x1a982e[_0x588bc0(0x3d3)],_0x1a982e['nodeId']));if(!_0x2c13f1||!Number[_0x588bc0(0x273)](_0x2c13f1[_0x588bc0(0x295)])||!Number[_0x588bc0(0x273)](_0x2c13f1[_0x588bc0(0x180)]))return;let _0x32d6ec=Qt({'elementData':_0x1a982e[_0x588bc0(0x365)],'rootNodeId':_0x1a982e[_0x588bc0(0x398)],'scopeId':_0x1a982e[_0x588bc0(0x191)],'rootStartBounds':{'left':_0x1a982e[_0x588bc0(0x295)],'top':_0x1a982e[_0x588bc0(0x180)]},'liveRootBounds':{'left':_0x2c13f1[_0x588bc0(0x295)],'top':_0x2c13f1[_0x588bc0(0x180)]}});if(!_0x32d6ec)return;let _0x4bce38=this[_0x588bc0(0x16f)][_0x588bc0(0x3d4)],_0x4310cc=_0x4bce38,_0x318420=!0x1;_0x32d6ec[_0x588bc0(0x2c6)][_0x588bc0(0x123)](_0x8d5248=>{const _0x3e10df=_0x588bc0;var _0x3dc931,_0x6d26c6;let _0x41d4f6=_0x4f1902(_0x1a982e[_0x3e10df(0x3d3)],_0x8d5248[_0x3e10df(0x18a)]),_0x6aed33=(_0x3dc931=(_0x6d26c6=_0x4310cc[_0x3e10df(0x1a7)])==null?void 0x0:_0x6d26c6[_0x3e10df(0x222)](_0x4310cc,_0x41d4f6))==null?_0x4bce38['getObject'](_0x41d4f6):_0x3dc931;if(_0x6aed33){if(_0x8d5248[_0x3e10df(0x2a8)]==='connector'&&typeof _0x6aed33[_0x3e10df(0x378)]==_0x3e10df(0x164)){_0x6aed33[_0x3e10df(0x378)](_0x8d5248['element'],_0x32d6ec['elementData']),_0x318420=!0x0;return;}_0x8d5248[_0x3e10df(0x2a8)]===_0x3e10df(0x289)&&(_0x6aed33[_0x3e10df(0x277)](_0x8d5248[_0x3e10df(0x289)]),typeof _0x6aed33[_0x3e10df(0x185)]==_0x3e10df(0x164)?_0x6aed33['makeDirtyNoDebounce'](!0x0):_0x6aed33[_0x3e10df(0x3d7)](!0x0),_0x318420=!0x0);}}),_0x318420&&_0x4bce38[_0x588bc0(0x3d7)](!0x0);}[_0x55c788(0x3ab)](_0x58db2d){const _0x1fbf9b=_0x55c788;var _0x4e035e,_0x4e5864;let _0x450a65=this['_dragStart'];if(!_0x450a65||_0x450a65[_0x1fbf9b(0x2a8)]!==_0x1fbf9b(0x3a8))return;let _0x93ae00=_0x58db2d==null?void 0x0:_0x58db2d[_0x1fbf9b(0x21a)](_0x4f1902(_0x450a65[_0x1fbf9b(0x3d3)],_0x450a65[_0x1fbf9b(0x398)]));if(!_0x93ae00||!Number[_0x1fbf9b(0x273)](_0x93ae00[_0x1fbf9b(0x295)])||!Number[_0x1fbf9b(0x273)](_0x93ae00[_0x1fbf9b(0x180)])){this['_removeDragPreviewObject']();return;}let _0x50ebb0=this[_0x1fbf9b(0x30b)](_0x93ae00,_0x450a65),_0x5cf3a1=this['_createTopologyBoundsByElementId'](_0x450a65[_0x1fbf9b(0x365)],_0x450a65['nodeId'],_0x50ebb0),_0x4d9567=Yt(_0x450a65[_0x1fbf9b(0x365)],_0x450a65['nodeId'],{'boundsByElementId':_0x5cf3a1,'allowRootReparent':!0x0});if(_0x4d9567[_0x1fbf9b(0x2a8)]!=='reparent'){this['_removeDragPreviewObject']();return;}let _0x374d1a=this[_0x1fbf9b(0x2a4)]();_0x374d1a&&(_0x374d1a[_0x1fbf9b(0x34f)]({'ghostBounds':_0x50ebb0,'sourceBounds':null,'parentBounds':_0x5cf3a1[_0x4d9567[_0x1fbf9b(0x276)]],'side':_0x4d9567['side'],'textStyle':void 0x0,'renderGhostNode':!0x1}),this[_0x1fbf9b(0x16f)][_0x1fbf9b(0x3d4)][_0x1fbf9b(0x3d7)](!0x0),(_0x4e035e=(_0x4e5864=this[_0x1fbf9b(0x16f)][_0x1fbf9b(0x3d4)])[_0x1fbf9b(0x19b)])==null||_0x4e035e[_0x1fbf9b(0x222)](_0x4e5864));}[_0x55c788(0x1ac)](_0x491322){const _0x717799=_0x55c788;var _0x12e090,_0x199e35;let _0x301b18=this['_dragStart'];if(!_0x301b18||_0x301b18[_0x717799(0x2a8)]!==_0x717799(0x1d7))return;let _0x2572cd=_0x491322==null?void 0x0:_0x491322[_0x717799(0x21a)](_0x4f1902(_0x301b18['unitId'],_0x301b18[_0x717799(0x398)]));if(!_0x2572cd){this[_0x717799(0x209)]();return;}let _0x1a26eb=this[_0x717799(0x30b)](_0x2572cd,_0x301b18);if(!this[_0x717799(0x2de)](_0x301b18,_0x1a26eb)){this[_0x717799(0x20e)]=null,this[_0x717799(0x209)](),this['_restoreObjectToDragStart'](_0x2572cd,_0x301b18),this[_0x717799(0x16f)]['scene'][_0x717799(0x3d7)](!0x0);return;}this[_0x717799(0x268)]||this['_hideSelectionForChildDrag'](),this['_childDragActivated']=!0x0;let _0x496e96=this[_0x717799(0x33f)](_0x301b18['elementData'],_0x301b18['nodeId'],_0x1a26eb),_0x280d10=Yt(_0x301b18[_0x717799(0x365)],_0x301b18[_0x717799(0x398)],{'boundsByElementId':_0x496e96,'detachWhenNoSnap':!0x0});this[_0x717799(0x20e)]=_0x280d10,this[_0x717799(0x1e3)](_0x1a26eb,_0x280d10,_0x496e96),this[_0x717799(0x3e4)](_0x2572cd,_0x301b18),this['_renderContext'][_0x717799(0x3d4)][_0x717799(0x3d7)](!0x0),(_0x12e090=(_0x199e35=this['_renderContext']['scene'])[_0x717799(0x19b)])==null||_0x12e090[_0x717799(0x222)](_0x199e35);}[_0x55c788(0x134)](_0x418770){const _0x405386=_0x55c788;var _0x1939bc;let _0x8b1970=this['_elementStateService'][_0x405386(0x125)](),_0x437e6f=_0x8b1970[_0x405386(0x1de)],_0x114d1d=(_0x1939bc=_0x8b1970[_0x405386(0x3a3)])==null?_0x8b1970[_0x405386(0x319)][0x0]:_0x1939bc;if(!_0x437e6f||!_0x114d1d||_0x8b1970[_0x405386(0x319)][_0x405386(0x207)]!==0x1){this[_0x405386(0x209)](),this[_0x405386(0x257)]=null;return;}this[_0x405386(0x209)]();let _0x1ed16a=this[_0x405386(0x334)]['getElementData'](_0x437e6f['unitId'],_0x437e6f['subUnitId']);if(this[_0x405386(0x23a)](_0x437e6f[_0x405386(0x3d3)],_0x437e6f['subUnitId'],_0x114d1d,_0x1ed16a,_0x418770))return;let _0x4ff776=this[_0x405386(0x2d3)](_0x437e6f[_0x405386(0x3d3)],_0x437e6f[_0x405386(0x346)],_0x114d1d,_0x1ed16a,_0x418770);this[_0x405386(0x2ad)](_0x437e6f[_0x405386(0x3d3)],_0x437e6f['subUnitId'],_0x114d1d,_0x1ed16a,_0x4ff776);}[_0x55c788(0x2ad)](_0x59e99c,_0x5bd973,_0x41dc39,_0x390d80,_0x57eb10){const _0x1e5b84=_0x55c788;if(_0x57eb10[_0x1e5b84(0x2a8)]===_0x1e5b84(0x138)){var _0x482367,_0x3e26ba;let _0x4c1fd5=_0x4784a6((_0x482367=_0x390d80[_0x41dc39])==null?void 0x0:_0x482367[_0x1e5b84(0x2ca)]),_0x56536a=_0x4784a6((_0x3e26ba=_0x390d80[_0x57eb10[_0x1e5b84(0x276)]])==null?void 0x0:_0x3e26ba[_0x1e5b84(0x2ca)]);this[_0x1e5b84(0x2f9)](_0x137347['id'],{'unitId':_0x59e99c,'subUnitId':_0x5bd973,'nodeId':_0x41dc39,'newParentNodeId':_0x57eb10[_0x1e5b84(0x276)],'side':_0x57eb10[_0x1e5b84(0x1c2)],..._0x57eb10[_0x1e5b84(0x28a)]?{'referenceNodeId':_0x57eb10[_0x1e5b84(0x28a)]}:null,..._0x57eb10['placement']?{'placement':_0x57eb10[_0x1e5b84(0x352)]}:null},[_0x4c1fd5==null?void 0x0:_0x4c1fd5[_0x1e5b84(0x272)],_0x56536a==null?void 0x0:_0x56536a['structureScopeId']],_0x41dc39);return;}if(_0x57eb10[_0x1e5b84(0x2a8)]==='detach'){var _0x4cfe54;let _0x3173b7=_0x4784a6((_0x4cfe54=_0x390d80[_0x41dc39])==null?void 0x0:_0x4cfe54[_0x1e5b84(0x2ca)]);this[_0x1e5b84(0x2f9)](_0x597057['id'],{'unitId':_0x59e99c,'subUnitId':_0x5bd973,'nodeId':_0x41dc39,...Number[_0x1e5b84(0x273)](_0x57eb10[_0x1e5b84(0x295)])?{'left':_0x57eb10[_0x1e5b84(0x295)]}:null,...Number[_0x1e5b84(0x273)](_0x57eb10['top'])?{'top':_0x57eb10[_0x1e5b84(0x180)]}:null},[_0x3173b7==null?void 0x0:_0x3173b7[_0x1e5b84(0x272)]],_0x41dc39);}}[_0x55c788(0x23a)](_0x3e4295,_0x4f8cf0,_0x276a31,_0x51569d,_0x3921e2){const _0x414c28=_0x55c788;var _0x5c7f49,_0x3e4650,_0x5e8a1e,_0x238285;let _0x111d35=this[_0x414c28(0x257)];if((_0x111d35==null?void 0x0:_0x111d35['kind'])===_0x414c28(0x3a8)&&(this[_0x414c28(0x257)]=null),!_0x111d35||_0x111d35[_0x414c28(0x3d3)]!==_0x3e4295||_0x111d35[_0x414c28(0x346)]!==_0x4f8cf0||_0x111d35[_0x414c28(0x398)]!==_0x276a31)return!0x1;let _0x3d6fc1=_0x51569d[_0x276a31],_0x5cca05=_0x4784a6(_0x3d6fc1==null?void 0x0:_0x3d6fc1['element']);if(!_0x3d6fc1||!_0x5cca05||_0x5cca05['parentNodeId']!==null)return!0x1;let _0x2b739e=_0x3921e2==null?void 0x0:_0x3921e2[_0x414c28(0x21a)](_0x4f1902(_0x3e4295,_0x276a31)),_0x1e637c=_0x329079(_0x51569d,_0x276a31),_0x389b34=Number[_0x414c28(0x273)](_0x2b739e==null?void 0x0:_0x2b739e[_0x414c28(0x295)])?_0x2b739e[_0x414c28(0x295)]:(_0x5c7f49=(_0x3e4650=_0x1e637c==null?void 0x0:_0x1e637c[_0x414c28(0x295)])==null?_0x3d6fc1[_0x414c28(0x2ca)][_0x414c28(0x226)][_0x414c28(0x295)]:_0x3e4650)==null?0x0:_0x5c7f49,_0xcedb6=Number[_0x414c28(0x273)](_0x2b739e==null?void 0x0:_0x2b739e['top'])?_0x2b739e['top']:(_0x5e8a1e=(_0x238285=_0x1e637c==null?void 0x0:_0x1e637c['top'])==null?_0x3d6fc1[_0x414c28(0x2ca)]['transform'][_0x414c28(0x180)]:_0x238285)==null?0x0:_0x5e8a1e,_0x2cf403=_0x389b34-_0x111d35[_0x414c28(0x295)],_0x4c93ed=_0xcedb6-_0x111d35[_0x414c28(0x180)];if(_0x2cf403===0x0&&_0x4c93ed===0x0)return!0x0;let _0x2684f8={'left':_0x389b34,'top':_0xcedb6,'width':Number['isFinite'](_0x2b739e==null?void 0x0:_0x2b739e[_0x414c28(0x24f)])?_0x2b739e[_0x414c28(0x24f)]:_0x111d35['width'],'height':Number[_0x414c28(0x273)](_0x2b739e==null?void 0x0:_0x2b739e[_0x414c28(0x243)])?_0x2b739e['height']:_0x111d35['height']},_0x430ccc=Yt(_0x51569d,_0x276a31,{'boundsByElementId':this[_0x414c28(0x33f)](_0x51569d,_0x276a31,_0x2684f8),'allowRootReparent':!0x0});if(_0x430ccc['kind']==='reparent')return this[_0x414c28(0x2ad)](_0x3e4295,_0x4f8cf0,_0x276a31,_0x51569d,_0x430ccc),!0x0;let _0x773e68=!!_0x1e637c&&Math['abs'](_0x1e637c['left']-_0x389b34)<0.001&&Math[_0x414c28(0x1a3)](_0x1e637c[_0x414c28(0x180)]-_0xcedb6)<0.001;return this['_commandService'][_0x414c28(0x12e)](_0x31ea69['id'],{'unitId':_0x3e4295,'subUnitId':_0x4f8cf0,'scopeId':_0x111d35[_0x414c28(0x191)],'deltaX':_0x2cf403,'deltaY':_0x4c93ed,..._0x773e68?{'excludeElementIds':[_0x276a31],'preserveExcludedWorldTransforms':!0x0}:null}),!0x0;}[_0x55c788(0x2d3)](_0x4f8a7d,_0x3f7580,_0x3d1077,_0x81c5c6,_0x2351ce){const _0x4b9c29=_0x55c788;let _0x3b3537=this['_dragStart'];if(!_0x3b3537||_0x3b3537['kind']!=='child'||_0x3b3537[_0x4b9c29(0x3d3)]!==_0x4f8a7d||_0x3b3537['subUnitId']!==_0x3f7580||_0x3b3537[_0x4b9c29(0x398)]!==_0x3d1077)return{'kind':_0x4b9c29(0x19e)};this['_dragStart']=null;let _0x108da8=_0x2351ce==null?void 0x0:_0x2351ce[_0x4b9c29(0x21a)](_0x4f1902(_0x4f8a7d,_0x3d1077));if(!this['_childDragActivated'])return _0x108da8&&this[_0x4b9c29(0x3e4)](_0x108da8,_0x3b3537),this[_0x4b9c29(0x20e)]=null,{'kind':_0x4b9c29(0x19e)};if(!_0x108da8){var _0x2df5fd;let _0x5022ba=(_0x2df5fd=this['_lastChildDragAction'])==null?{'kind':_0x4b9c29(0x19e)}:_0x2df5fd;return this[_0x4b9c29(0x20e)]=null,_0x5022ba;}let _0x279c53=this['_getLiveObjectBounds'](_0x108da8,_0x3b3537);if(this[_0x4b9c29(0x3e4)](_0x108da8,_0x3b3537),!this[_0x4b9c29(0x2de)](_0x3b3537,_0x279c53))return this[_0x4b9c29(0x20e)]=null,{'kind':'none'};let _0x4f4a37=Yt(_0x81c5c6,_0x3d1077,{'boundsByElementId':this[_0x4b9c29(0x33f)](_0x81c5c6,_0x3d1077,_0x279c53),'detachWhenNoSnap':!0x0});return this[_0x4b9c29(0x20e)]=null,_0x4f4a37;}[_0x55c788(0x2de)](_0x48043c,_0x4c3051){const _0x1d41d4=_0x55c788;var _0x44e808,_0x6a67d7;let _0x2f5f10=((_0x44e808=_0x4c3051[_0x1d41d4(0x295)])==null?_0x48043c['left']:_0x44e808)-_0x48043c[_0x1d41d4(0x295)],_0x292efa=((_0x6a67d7=_0x4c3051[_0x1d41d4(0x180)])==null?_0x48043c['top']:_0x6a67d7)-_0x48043c[_0x1d41d4(0x180)];return Math['hypot'](_0x2f5f10,_0x292efa)>=0x12;}['_getPointerLiveBounds'](_0x2314fd,_0x3c7bfe){const _0x23a69e=_0x55c788;let _0x1fce36=this[_0x23a69e(0x39a)](_0x2314fd),_0x1d322b=this[_0x23a69e(0x2bc)]();return{'left':_0x3c7bfe[_0x23a69e(0x295)]+(_0x1fce36['x']-_0x3c7bfe['pointerStartX'])/_0x1d322b,'top':_0x3c7bfe[_0x23a69e(0x180)]+(_0x1fce36['y']-_0x3c7bfe[_0x23a69e(0x1e1)])/_0x1d322b,'width':_0x3c7bfe[_0x23a69e(0x24f)],'height':_0x3c7bfe[_0x23a69e(0x243)]};}[_0x55c788(0x228)](_0x56c395){const _0x1f8ad5=_0x55c788;var _0x3ebeb8,_0x35571a,_0x3cb45b;let _0x20ea87=this['_uiStateService'][_0x1f8ad5(0x3d8)](),_0x3dd4f8=(_0x3ebeb8=_0x20ea87==null?void 0x0:_0x20ea87[_0x1f8ad5(0x318)])==null?{'x':0x0,'y':0x0}:_0x3ebeb8,_0x12d8ba=this[_0x1f8ad5(0x2bc)]();return{'x':Math[_0x1f8ad5(0x31c)]((((_0x35571a=_0x56c395['offsetX'])==null?0x0:_0x35571a)-_0x3dd4f8['x'])/_0x12d8ba),'y':Math['round']((((_0x3cb45b=_0x56c395[_0x1f8ad5(0x368)])==null?0x0:_0x3cb45b)-_0x3dd4f8['y'])/_0x12d8ba)};}['_getPointerScreenPoint'](_0x5173c4){const _0x4d738d=_0x55c788;var _0x10e397,_0x8a8c72;return{'x':Number[_0x4d738d(0x273)](_0x5173c4[_0x4d738d(0x190)])?_0x5173c4[_0x4d738d(0x190)]:(_0x10e397=_0x5173c4[_0x4d738d(0x294)])==null?0x0:_0x10e397,'y':Number[_0x4d738d(0x273)](_0x5173c4[_0x4d738d(0x34c)])?_0x5173c4[_0x4d738d(0x34c)]:(_0x8a8c72=_0x5173c4[_0x4d738d(0x368)])==null?0x0:_0x8a8c72};}[_0x55c788(0x2bc)](){const _0x281ec7=_0x55c788;let _0x352d28=this[_0x281ec7(0x184)]['getState']()['zoomRatio'];return Number[_0x281ec7(0x273)](_0x352d28)&&(_0x352d28==null?0x0:_0x352d28)>0x0?_0x352d28:0x1;}[_0x55c788(0x15c)](_0x3acbd8,_0x58637d){const _0x122451=_0x55c788;return _0x3acbd8['x']>=_0x58637d[_0x122451(0x295)]&&_0x3acbd8['x']<=_0x58637d[_0x122451(0x295)]+_0x58637d[_0x122451(0x24f)]&&_0x3acbd8['y']>=_0x58637d[_0x122451(0x180)]&&_0x3acbd8['y']<=_0x58637d[_0x122451(0x180)]+_0x58637d[_0x122451(0x243)];}[_0x55c788(0x192)](_0x414ccd,_0xde2903){const _0xf03e6c=_0x55c788;var _0x28f75e,_0x39bd23;_0xde2903==null||_0xde2903[_0xf03e6c(0x2d4)](),_0xde2903&&(_0xde2903[_0xf03e6c(0x2ef)]=!0x0),(_0x28f75e=_0x414ccd[_0xf03e6c(0x200)])==null||_0x28f75e[_0xf03e6c(0x222)](_0x414ccd),(_0x39bd23=_0x414ccd[_0xf03e6c(0x2d4)])==null||_0x39bd23['call'](_0x414ccd);}['_hideSelectionForChildDrag'](){const _0x5513ce=_0x55c788;var _0x335db7,_0x252da0;this[_0x5513ce(0x1e0)]||((_0x335db7=(_0x252da0=this[_0x5513ce(0x239)])[_0x5513ce(0x1be)])==null||_0x335db7[_0x5513ce(0x222)](_0x252da0),this[_0x5513ce(0x1e0)]=!0x0);}[_0x55c788(0x30b)](_0x27de1f,_0x5f3b9c){const _0x46656f=_0x55c788;return{'left':Number[_0x46656f(0x273)](_0x27de1f[_0x46656f(0x295)])?_0x27de1f[_0x46656f(0x295)]:_0x5f3b9c[_0x46656f(0x295)],'top':Number[_0x46656f(0x273)](_0x27de1f[_0x46656f(0x180)])?_0x27de1f[_0x46656f(0x180)]:_0x5f3b9c[_0x46656f(0x180)],'width':Number[_0x46656f(0x273)](_0x27de1f['width'])?_0x27de1f[_0x46656f(0x24f)]:_0x5f3b9c[_0x46656f(0x24f)],'height':Number['isFinite'](_0x27de1f[_0x46656f(0x243)])?_0x27de1f[_0x46656f(0x243)]:_0x5f3b9c[_0x46656f(0x243)]};}['_restoreObjectToDragStart'](_0x4ef31f,_0xb46f45){const _0x17fb43=_0x55c788;typeof _0x4ef31f[_0x17fb43(0x277)]==_0x17fb43(0x164)&&_0x4ef31f['transformByState']({'left':_0xb46f45[_0x17fb43(0x295)],'top':_0xb46f45['top'],'width':_0xb46f45[_0x17fb43(0x24f)],'height':_0xb46f45['height']}),typeof _0x4ef31f[_0x17fb43(0x185)]==_0x17fb43(0x164)?_0x4ef31f[_0x17fb43(0x185)](!0x0):typeof _0x4ef31f[_0x17fb43(0x3d7)]=='function'&&_0x4ef31f['makeDirty'](!0x0);}[_0x55c788(0x33f)](_0x373ee1,_0x125cbe,_0x12005d){const _0x5d2312=_0x55c788;return Object[_0x5d2312(0x269)](Object['keys'](_0x373ee1)[_0x5d2312(0x1f6)](_0x1e0486=>{const _0x14df59=_0x5d2312;if(_0x1e0486===_0x125cbe)return[_0x1e0486,_0x12005d];let _0x5e956e=_0x329079(_0x373ee1,_0x1e0486);return[_0x1e0486,_0x5e956e==null?_0x373ee1[_0x1e0486][_0x14df59(0x2ca)]['transform']:_0x5e956e];}));}[_0x55c788(0x2a4)](){const _0x444628=_0x55c788;if(this[_0x444628(0x130)])return this[_0x444628(0x130)];let _0x3e38b0=this[_0x444628(0x16f)][_0x444628(0x3d4)];return typeof _0x3e38b0[_0x444628(0x13f)]=='function'?(this['_dragPreviewObject']=new Vt(Ft),_0x3e38b0[_0x444628(0x13f)](this[_0x444628(0x130)],It),this[_0x444628(0x130)]):null;}[_0x55c788(0x1e3)](_0x56517c,_0x4c1765,_0x4e12f1){const _0x259aca=_0x55c788;let _0x365e52=this[_0x259aca(0x2a4)]();_0x365e52&&_0x365e52['updateState']({'ghostBounds':_0x56517c,'sourceBounds':this[_0x259aca(0x2b3)](),'parentBounds':_0x4c1765[_0x259aca(0x2a8)]===_0x259aca(0x138)?_0x4e12f1[_0x4c1765[_0x259aca(0x276)]]:null,'side':_0x4c1765[_0x259aca(0x2a8)]===_0x259aca(0x138)?_0x4c1765['side']:_0x259aca(0x338),'textStyle':this[_0x259aca(0x122)](),'renderGhostNode':!0x0});}[_0x55c788(0x2b3)](){const _0x273ec7=_0x55c788;var _0x5e7880;let _0x3ec84e=(_0x5e7880=this[_0x273ec7(0x391)])==null?this[_0x273ec7(0x257)]:_0x5e7880;return _0x3ec84e?{'left':_0x3ec84e[_0x273ec7(0x295)],'top':_0x3ec84e[_0x273ec7(0x180)],'width':_0x3ec84e['width'],'height':_0x3ec84e[_0x273ec7(0x243)]}:null;}[_0x55c788(0x122)](){const _0x5b659b=_0x55c788;var _0x48efbd,_0xd4605c,_0x184909;let _0x6fa891=(_0x48efbd=this['_pointerDragStart'])==null?this[_0x5b659b(0x257)]:_0x48efbd,_0x17c26e=_0x6fa891==null||(_0xd4605c=_0x6fa891[_0x5b659b(0x365)][_0x6fa891[_0x5b659b(0x398)]])==null?void 0x0:_0xd4605c['element'],_0x5647f4=_0x17c26e==null||(_0x184909=_0x17c26e[_0x5b659b(0x3e2)])==null?void 0x0:_0x184909['shapeText'];if(_0x5647f4)return{'text':typeof _0x5647f4[_0x5b659b(0x309)]==_0x5b659b(0x2e3)?_0x5647f4['text']:void 0x0,'fontSize':Number[_0x5b659b(0x273)](_0x5647f4[_0x5b659b(0x1db)])?_0x5647f4['fontSize']:void 0x0,'color':typeof _0x5647f4[_0x5b659b(0x3c4)]==_0x5b659b(0x2e3)?_0x5647f4['color']:void 0x0,'horizontalAlign':Number['isFinite'](_0x5647f4[_0x5b659b(0x17b)])?_0x5647f4['horizontalAlign']:void 0x0};}['_removeDragPreviewObject'](){const _0x53c686=_0x55c788;var _0x32d225,_0x59c40d,_0x475239;if(!this[_0x53c686(0x130)])return;let _0x2c8ed3=this['_renderContext']['scene'];(_0x32d225=_0x2c8ed3[_0x53c686(0x247)])==null||_0x32d225[_0x53c686(0x222)](_0x2c8ed3,[this[_0x53c686(0x130)]]),this['_dragPreviewObject']=null,(_0x59c40d=(_0x475239=this[_0x53c686(0x16f)][_0x53c686(0x3d4)])[_0x53c686(0x3d7)])==null||_0x59c40d[_0x53c686(0x222)](_0x475239,!0x0);}['_executeAndLayout'](_0x26a3b6,_0x480fac,_0x230986,_0x3cb15e){const _0x2bf287=_0x55c788;let _0x365516=[...new Set(_0x230986['filter'](_0x36e7cb=>!!_0x36e7cb))],_0x2c5c43=this['_commandService'][_0x2bf287(0x12e)](_0x26a3b6,_0x480fac);Promise[_0x2bf287(0x3b0)](_0x2c5c43)[_0x2bf287(0x2e2)](_0x59f4c9=>{const _0x1c0563=_0x2bf287;var _0x4005d8,_0x32ff7a,_0x576313,_0x864224;if(_0x59f4c9){if(_0x365516[_0x1c0563(0x123)](_0xf3ea4=>{const _0xd7a681=_0x1c0563;this[_0xd7a681(0x22a)]['executeCommand'](_0x5672f3['id'],{'unitId':_0x480fac['unitId'],'subUnitId':_0x480fac[_0xd7a681(0x346)],'scopeId':_0xf3ea4});}),_0x3cb15e&&typeof _0x480fac[_0x1c0563(0x3d3)]=='string'&&typeof _0x480fac[_0x1c0563(0x346)]==_0x1c0563(0x2e3)){var _0x2eb36b,_0x1f8fb2;(_0x2eb36b=(_0x1f8fb2=this[_0x1c0563(0x239)])[_0x1c0563(0x379)])==null||_0x2eb36b[_0x1c0563(0x222)](_0x1f8fb2,{'unitId':_0x480fac[_0x1c0563(0x3d3)],'subUnitId':_0x480fac[_0x1c0563(0x346)]},[_0x3cb15e],_0x3cb15e);}(_0x4005d8=(_0x32ff7a=this[_0x1c0563(0x16f)]['scene'])[_0x1c0563(0x3d7)])==null||_0x4005d8[_0x1c0563(0x222)](_0x32ff7a,!0x0),(_0x576313=(_0x864224=this[_0x1c0563(0x16f)][_0x1c0563(0x3d4)])[_0x1c0563(0x19b)])==null||_0x576313['call'](_0x864224);}});}};$t=J([q(0x1,_0x3c575a(_0x3de855)),q(0x2,_0x3c575a(_0x1f379b)),q(0x3,_0x4a7b53),q(0x4,_0x45d666),q(0x5,_0x544c85)],$t);const en=_0x55c788(0x308),tn='board-mind-map-description-dialog';function nn(_0x4c2799){const _0x30f541=_0x55c788;let {unitId:_0x4a83ab,subUnitId:_0x318e18,nodeId:_0x12f7f0,initialDescription:_0x253a7b=''}=_0x4c2799,_0x36811d=_0xd57ede(_0x4a7b53),_0x48ddc4=_0xd57ede(_0x1c93b7),_0x3e67cd=_0xd57ede(_0x20f8ca),[_0x3c84de,_0x4e7cc5]=_0x5024c9(_0x253a7b),_0x4f99d8=()=>_0x48ddc4[_0x30f541(0x22e)](tn);return _0x42e6e8('div',{'className':_0x30f541(0x374),'data-board-mind-map-description-dialog':_0x30f541(0x17e),'children':[_0x42e6e8('label',{'className':_0x30f541(0x1a8),'children':[_0x12a7ac('span',{'className':_0x30f541(0x343),'children':_0x3e67cd['t'](_0x30f541(0x28e))}),_0x12a7ac(_0x20d960,{'autoFocus':!0x0,'className':_0x30f541(0x1ce),'placeholder':_0x3e67cd['t']('boards-mind-ui.descriptionPlaceholder'),'value':_0x3c84de,'onValueChange':_0x4e7cc5})]}),_0x42e6e8(_0x30f541(0x27a),{'className':'univer-flex\x20univer-justify-end\x20univer-gap-2','children':[_0x12a7ac(_0xee7c82,{'size':'small','variant':_0x30f541(0x132),'onClick':_0x4f99d8,'children':_0x3e67cd['t'](_0x30f541(0x2e9))}),_0x12a7ac(_0xee7c82,{'size':_0x30f541(0x3c1),'variant':_0x30f541(0x329),'onClick':()=>{const _0xead109=_0x30f541;_0x36811d[_0xead109(0x12e)](_0x2aa574['id'],{'unitId':_0x4a83ab,'subUnitId':_0x318e18,'nodeId':_0x12f7f0,'foreignAttributes':{'_note':_0x3c84de[_0xead109(0x16b)]()?_0x3c84de:null}}),_0x4f99d8();},'children':_0x3e67cd['t'](_0x30f541(0x2b7))})]})]});}const rn='board.operation.mind-map.keyboard-shortcut',an={'copy':_0x288f67[_0x55c788(0x3e1)],'paste':_0x288f67[_0x55c788(0x23f)],'paste-as-new':_0x288f67[_0x55c788(0x23f)],'add-child':_0x288f67[_0x55c788(0x12c)],'add-sibling-or-child':_0x288f67[_0x55c788(0x255)],'promote':_0x288f67[_0x55c788(0x18f)],'toggle-collapse':_0x288f67['foldChildNodes'],'collapse-all':_0x288f67[_0x55c788(0x1c5)],'edit-text':_0x288f67[_0x55c788(0x1ae)],'open-description':_0x288f67[_0x55c788(0x382)],'delete':_0x35fb2f[_0x55c788(0x3a0)],'arrow-left':_0x35fb2f['ARROW_LEFT'],'arrow-right':_0x35fb2f['ARROW_RIGHT'],'arrow-up':_0x35fb2f[_0x55c788(0x2e1)],'arrow-down':_0x35fb2f[_0x55c788(0x124)]},on={'delete':[_0x35fb2f[_0x55c788(0x2d8)]]};function sn(_0x3a742c){var _0x292430;return[an[_0x3a742c],...(_0x292430=on[_0x3a742c])==null?[]:_0x292430];}let cn=class extends _0x4c4ffe{constructor(_0x34c6d8,_0xf6d0ec,_0x10140f,_0x2872bb,_0x135f2e,_0x5f297a,_0x1eb032,_0x1dee33){const _0x457d67=_0x55c788;super(),this['_boardElementService']=_0x34c6d8,this[_0x457d67(0x239)]=_0xf6d0ec,this[_0x457d67(0x345)]=_0x10140f,this[_0x457d67(0x18c)]=_0x2872bb,this[_0x457d67(0x22a)]=_0x135f2e,this[_0x457d67(0x1cb)]=_0x5f297a,this[_0x457d67(0x3a4)]=_0x1eb032,this[_0x457d67(0x2ba)]=_0x1dee33,this['_init']();}['_init'](){const _0x468827=_0x55c788;this[_0x468827(0x367)](this[_0x468827(0x22a)][_0x468827(0x21e)](this['_createKeyboardShortcutOperation']())),this[_0x468827(0x281)]()[_0x468827(0x123)](_0x694ea1=>{const _0x247802=_0x468827;this[_0x247802(0x367)](this[_0x247802(0x1cb)][_0x247802(0x36f)](_0x694ea1));});}['_createKeyboardShortcutOperation'](){const _0x498363=_0x55c788;return{'id':rn,'type':_0x27aeea['OPERATION'],'handler':(_0x17943b,_0x588ff6)=>this[_0x498363(0x1e4)](_0x588ff6==null?void 0x0:_0x588ff6[_0x498363(0x1aa)])};}[_0x55c788(0x281)](){const _0x3d0c3b=_0x55c788;let _0x5672ea=(_0x219f01,_0x2b2250)=>({'id':rn,'binding':_0x219f01,'priority':0xa0,'preconditions':()=>!!this['_getSelectedMindMapContext'](),'staticParameters':{'action':_0x2b2250}}),_0x53121b=_0xf2e4c6=>sn(_0xf2e4c6)[_0x3d0c3b(0x1f6)](_0x565ff8=>_0x5672ea(_0x565ff8,_0xf2e4c6));return[..._0x53121b('copy'),{'id':rn,'binding':an[_0x3d0c3b(0x23f)],'priority':0xa0,'preconditions':()=>!!this[_0x3d0c3b(0x18c)][_0x3d0c3b(0x2b6)]()&&!!this[_0x3d0c3b(0x259)](),'staticParameters':{'action':_0x3d0c3b(0x23f)}},{'id':rn,'binding':an[_0x3d0c3b(0x127)],'priority':0x96,'preconditions':()=>!!this[_0x3d0c3b(0x18c)][_0x3d0c3b(0x2b6)]()&&!!this[_0x3d0c3b(0x179)](),'staticParameters':{'action':_0x3d0c3b(0x127)}},..._0x53121b(_0x3d0c3b(0x19c)),..._0x53121b(_0x3d0c3b(0x1c0)),..._0x53121b(_0x3d0c3b(0x3a5)),..._0x53121b(_0x3d0c3b(0x2af)),..._0x53121b(_0x3d0c3b(0x186)),..._0x53121b(_0x3d0c3b(0x3e5)),..._0x53121b(_0x3d0c3b(0x2c8)),..._0x53121b(_0x3d0c3b(0x324)),..._0x53121b(_0x3d0c3b(0x37d)),..._0x53121b(_0x3d0c3b(0x15f)),..._0x53121b(_0x3d0c3b(0x2c5)),..._0x53121b(_0x3d0c3b(0x342))];}['_handleShortcut'](_0x40c6a9){const _0x23166c=_0x55c788;return _0x40c6a9===_0x23166c(0x3e1)?this['_copySelectedNode']():_0x40c6a9==='paste'?this[_0x23166c(0x2f8)]():_0x40c6a9==='paste-as-new'?this['_pasteAsNewMindMap']():_0x40c6a9===_0x23166c(0x19c)?this[_0x23166c(0x293)]():_0x40c6a9===_0x23166c(0x1c0)?this['_addSiblingOrChild']():_0x40c6a9===_0x23166c(0x3a5)?this[_0x23166c(0x1e9)](_0x33423b['id']):_0x40c6a9==='toggle-collapse'?this['_executeNodeOperation'](_0x55e2b3['id']):_0x40c6a9===_0x23166c(0x186)?this[_0x23166c(0x2b0)]():_0x40c6a9===_0x23166c(0x3e5)?this[_0x23166c(0x2f1)]():_0x40c6a9==='open-description'?this[_0x23166c(0x28d)]():_0x40c6a9===_0x23166c(0x324)?this['_executeNodeOperation'](_0x3f0c38['id']):_0x40c6a9&&ln(_0x40c6a9)?this[_0x23166c(0x317)](_0x40c6a9):!0x1;}[_0x55c788(0x3b8)](){const _0x5df250=_0x55c788;let _0x25ddc7=this[_0x5df250(0x259)]();return _0x25ddc7?(this[_0x5df250(0x22a)][_0x5df250(0x12e)](_0x5a9506['id'],{'unitId':_0x25ddc7[_0x5df250(0x3d3)],'subUnitId':_0x25ddc7[_0x5df250(0x346)],'nodeId':_0x25ddc7[_0x5df250(0x398)]}),!0x0):!0x1;}[_0x55c788(0x2f8)](){const _0x3feb64=_0x55c788;let _0xe05d2f=this[_0x3feb64(0x259)]();return!_0xe05d2f||!this[_0x3feb64(0x18c)]['getPayload']()?!0x1:(this[_0x3feb64(0x2f9)](_0x15e14d['id'],{'unitId':_0xe05d2f[_0x3feb64(0x3d3)],'subUnitId':_0xe05d2f['subUnitId'],'targetNodeId':_0xe05d2f[_0x3feb64(0x398)]},_0xe05d2f[_0x3feb64(0x191)]),!0x0);}[_0x55c788(0x2b9)](){const _0x1abb25=_0x55c788;let _0x1c2056=this[_0x1abb25(0x179)]();if(!_0x1c2056||!this[_0x1abb25(0x18c)]['getPayload']())return!0x1;let _0x2e733e=this[_0x1abb25(0x345)]['getState'](),_0xbd7322=Number['isFinite'](_0x2e733e[_0x1abb25(0x3cc)])&&_0x2e733e[_0x1abb25(0x3cc)]>0x0?_0x2e733e[_0x1abb25(0x3cc)]:0x1,_0x41fdab=Math[_0x1abb25(0x31c)]((0x40-_0x2e733e['viewportPanOffset']['x'])/_0xbd7322),_0x39fe0b=Math[_0x1abb25(0x31c)]((0x40-_0x2e733e[_0x1abb25(0x318)]['y'])/_0xbd7322);return this[_0x1abb25(0x22a)][_0x1abb25(0x12e)](_0xb9eefe['id'],{'unitId':_0x1c2056['unitId'],'subUnitId':_0x1c2056['subUnitId'],'left':_0x41fdab,'top':_0x39fe0b}),!0x0;}['_addChild'](){const _0xf70a55=_0x55c788;let _0x54a133=this[_0xf70a55(0x259)]();if(!_0x54a133)return!0x1;let _0x54334f=_0x31e651(0x6);return this[_0xf70a55(0x1cf)](_0x5e12b8['id'],{'unitId':_0x54a133[_0xf70a55(0x3d3)],'subUnitId':_0x54a133[_0xf70a55(0x346)],'parentNodeId':_0x54a133['nodeId'],'nodeId':_0x54334f,'connectorId':_0x31e651(0x6)},_0x54a133[_0xf70a55(0x191)],_0x54334f),!0x0;}[_0x55c788(0x2da)](){const _0x2bcdcd=_0x55c788;let _0x216d37=this[_0x2bcdcd(0x259)]();if(!_0x216d37)return!0x1;let _0x5ca447=_0x31e651(0x6);return this[_0x2bcdcd(0x1cf)](_0x216d37[_0x2bcdcd(0x1ef)]?_0x5e12b8['id']:_0x1aa149['id'],{'unitId':_0x216d37[_0x2bcdcd(0x3d3)],'subUnitId':_0x216d37[_0x2bcdcd(0x346)],..._0x216d37[_0x2bcdcd(0x1ef)]?{'parentNodeId':_0x216d37['nodeId'],'nodeId':_0x5ca447}:{'nodeId':_0x216d37[_0x2bcdcd(0x398)],'siblingNodeId':_0x5ca447},'connectorId':_0x31e651(0x6)},_0x216d37[_0x2bcdcd(0x191)],_0x5ca447),!0x0;}[_0x55c788(0x1e9)](_0x5cb947){const _0x41f6d0=_0x55c788;let _0x326ccf=this['_getSelectedMindMapContext']();return _0x326ccf?(this[_0x41f6d0(0x2f9)](_0x5cb947,{'unitId':_0x326ccf['unitId'],'subUnitId':_0x326ccf['subUnitId'],'nodeId':_0x326ccf[_0x41f6d0(0x398)]},_0x326ccf[_0x41f6d0(0x191)]),!0x0):!0x1;}[_0x55c788(0x2b0)](){const _0x34ed84=_0x55c788;let _0x82f3f0=this[_0x34ed84(0x259)]();if(!_0x82f3f0)return!0x1;let _0x21470d=this['_boardElementService'][_0x34ed84(0x16c)](_0x82f3f0[_0x34ed84(0x3d3)],_0x82f3f0[_0x34ed84(0x346)]),_0x186b31=Object[_0x34ed84(0x1e2)](_0x21470d)[_0x34ed84(0x1f6)](_0x3a168d=>{const _0x1db3ff=_0x34ed84;let _0x4808ec=_0x4784a6(_0x3a168d[_0x1db3ff(0x2ca)]);return(_0x4808ec==null?void 0x0:_0x4808ec['structureScopeId'])===_0x82f3f0['scopeId']&&this[_0x1db3ff(0x249)](_0x21470d,_0x82f3f0[_0x1db3ff(0x191)],_0x3a168d[_0x1db3ff(0x18a)])['length']>0x0?{'nodeId':_0x3a168d[_0x1db3ff(0x18a)],'collapsed':_0x4808ec[_0x1db3ff(0x19f)]}:null;})[_0x34ed84(0x1eb)](_0x3211cf=>!!_0x3211cf);if(_0x186b31[_0x34ed84(0x207)]===0x0)return!0x1;let _0x3b0d1e=_0x186b31[_0x34ed84(0x2ee)](_0xfa6674=>!_0xfa6674[_0x34ed84(0x19f)]),_0x23b9bc=_0x186b31[_0x34ed84(0x1f6)](_0x40f3e5=>this[_0x34ed84(0x22a)]['executeCommand'](_0x55e2b3['id'],{'unitId':_0x82f3f0[_0x34ed84(0x3d3)],'subUnitId':_0x82f3f0[_0x34ed84(0x346)],'nodeId':_0x40f3e5[_0x34ed84(0x398)],'collapsed':_0x3b0d1e}));return Promise['all'](_0x23b9bc['map'](_0x314a5a=>Promise[_0x34ed84(0x3b0)](_0x314a5a)))[_0x34ed84(0x2e2)](_0x576fc7=>{const _0x5c50b3=_0x34ed84;_0x576fc7['some'](Boolean)&&this[_0x5c50b3(0x22a)][_0x5c50b3(0x12e)](_0x5672f3['id'],{'unitId':_0x82f3f0['unitId'],'subUnitId':_0x82f3f0[_0x5c50b3(0x346)],'scopeId':_0x82f3f0[_0x5c50b3(0x191)]});}),!0x0;}[_0x55c788(0x2f1)](){const _0x1ed033=_0x55c788;let _0x3fcf0c=this[_0x1ed033(0x259)]();return _0x3fcf0c?(this['_elementStateService'][_0x1ed033(0x379)]({'unitId':_0x3fcf0c[_0x1ed033(0x3d3)],'subUnitId':_0x3fcf0c[_0x1ed033(0x346)]},[_0x3fcf0c[_0x1ed033(0x398)]],_0x3fcf0c[_0x1ed033(0x398)]),this[_0x1ed033(0x3a4)]['ignoreExternalFocusChanges'](),this['_boardTextEditingService'][_0x1ed033(0x348)]({'unitId':_0x3fcf0c['unitId'],'subUnitId':_0x3fcf0c[_0x1ed033(0x346)],'shapeId':_0x3fcf0c['nodeId'],'shapeKey':_0x4f1902(_0x3fcf0c[_0x1ed033(0x3d3)],_0x3fcf0c[_0x1ed033(0x398)]),'visible':!0x0}),!0x0):!0x1;}[_0x55c788(0x28d)](){const _0x2ffe20=_0x55c788;let _0xd350ca=this[_0x2ffe20(0x259)]();return _0xd350ca?(this[_0x2ffe20(0x2ba)][_0x2ffe20(0x201)]({'id':tn,'title':{'title':_0x2ffe20(0x28e)},'width':0x1a4,'draggable':!0x0,'mask':!0x1,'maskClosable':!0x0,'children':{'label':en,'unitId':_0xd350ca[_0x2ffe20(0x3d3)],'subUnitId':_0xd350ca[_0x2ffe20(0x346)],'nodeId':_0xd350ca[_0x2ffe20(0x398)],'initialDescription':_0xd350ca[_0x2ffe20(0x24d)]}}),!0x0):!0x1;}[_0x55c788(0x317)](_0x31547a){const _0x2387ea=_0x55c788;let _0x5e4325=this[_0x2387ea(0x259)]();if(!_0x5e4325)return!0x1;let _0x581e45=this[_0x2387ea(0x334)]['getElementData'](_0x5e4325[_0x2387ea(0x3d3)],_0x5e4325[_0x2387ea(0x346)]),_0x5d9fa8=_0x581e45[_0x5e4325[_0x2387ea(0x398)]],_0x1dd71e=_0x4784a6(_0x5d9fa8==null?void 0x0:_0x5d9fa8[_0x2387ea(0x2ca)]);if(!_0x5d9fa8||!_0x1dd71e)return!0x1;let _0x54ac59={'arrow-left':_0x2387ea(0x3da),'arrow-right':_0x2387ea(0x13d),'arrow-up':'ArrowUp','arrow-down':_0x2387ea(0x31a)}[_0x31547a];if(!_0x54ac59)return!0x1;let _0x2a0cd7=this[_0x2387ea(0x37c)](_0x581e45,_0x5e4325['nodeId'],_0x1dd71e,_0x54ac59);return _0x2a0cd7?(this[_0x2387ea(0x239)][_0x2387ea(0x379)]({'unitId':_0x5e4325[_0x2387ea(0x3d3)],'subUnitId':_0x5e4325[_0x2387ea(0x346)]},[_0x2a0cd7],_0x2a0cd7),!0x0):!0x1;}['_resolveArrowNavigationTarget'](_0xc212f3,_0x5dc927,_0x4b700d,_0x25b6ff){const _0x32bcf9=_0x55c788;var _0x171a65;let _0x47aeb4=this[_0x32bcf9(0x249)](_0xc212f3,_0x4b700d[_0x32bcf9(0x272)],_0x5dc927);if(_0x4b700d['parentNodeId']===null){if(_0x25b6ff===_0x32bcf9(0x3da)){var _0x5ac5d4,_0x448e22;return(_0x5ac5d4=(_0x448e22=_0x47aeb4[_0x32bcf9(0x256)](_0x591b63=>{const _0x4f80ca=_0x32bcf9;var _0x1d919e;return((_0x1d919e=_0x4784a6(_0x591b63[_0x4f80ca(0x2ca)]))==null?void 0x0:_0x1d919e[_0x4f80ca(0x1c2)])===_0x4f80ca(0x295);}))==null?void 0x0:_0x448e22[_0x32bcf9(0x18a)])==null?null:_0x5ac5d4;}if(_0x25b6ff===_0x32bcf9(0x13d)){var _0x18734a,_0x46c035;return(_0x18734a=(_0x46c035=_0x47aeb4['find'](_0x246cad=>{const _0x34d1be=_0x32bcf9;var _0x484af8,_0x5e440e;return((_0x484af8=(_0x5e440e=_0x4784a6(_0x246cad[_0x34d1be(0x2ca)]))==null?void 0x0:_0x5e440e['side'])==null?_0x34d1be(0x338):_0x484af8)===_0x34d1be(0x338);}))==null?void 0x0:_0x46c035['elementId'])==null?null:_0x18734a;}return null;}let _0x17cd05=(_0x171a65=_0x4b700d[_0x32bcf9(0x1c2)])==null?'right':_0x171a65,_0x35f2e0=_0x17cd05===_0x32bcf9(0x338)?'ArrowLeft':_0x32bcf9(0x13d),_0x73a65c=_0x17cd05===_0x32bcf9(0x338)?'ArrowRight':_0x32bcf9(0x3da);if(_0x25b6ff===_0x35f2e0)return _0x4b700d['parentNodeId'];if(_0x25b6ff===_0x73a65c){var _0x1e3cbe,_0x4e6c18;return(_0x1e3cbe=(_0x4e6c18=_0x47aeb4[0x0])==null?void 0x0:_0x4e6c18[_0x32bcf9(0x18a)])==null?null:_0x1e3cbe;}if(_0x25b6ff===_0x32bcf9(0x394)||_0x25b6ff==='ArrowDown'){var _0x3d955b;let _0x252636=this['_getMindMapChildren'](_0xc212f3,_0x4b700d['structureScopeId'],_0x4b700d[_0x32bcf9(0x286)]),_0x581770=_0x252636[_0x32bcf9(0x3af)](_0xe5c458=>_0xe5c458[_0x32bcf9(0x18a)]===_0x5dc927),_0x26bfb0=_0x25b6ff===_0x32bcf9(0x394)?_0x252636[_0x581770-0x1]:_0x252636[_0x581770+0x1];return(_0x3d955b=_0x26bfb0==null?void 0x0:_0x26bfb0['elementId'])==null?null:_0x3d955b;}return null;}[_0x55c788(0x249)](_0x5240ce,_0x4d8e52,_0x479bf4){const _0x13023c=_0x55c788;return Object['values'](_0x5240ce)[_0x13023c(0x1eb)](_0x22c2c2=>{const _0x4f1426=_0x13023c;let _0x15ffaa=_0x4784a6(_0x22c2c2[_0x4f1426(0x2ca)]);return(_0x15ffaa==null?void 0x0:_0x15ffaa['structureScopeId'])===_0x4d8e52&&_0x15ffaa[_0x4f1426(0x286)]===_0x479bf4&&_0x22c2c2[_0x4f1426(0x2ca)][_0x4f1426(0x20f)]!==!0x1;})['sort']((_0x5bf98b,_0x523101)=>{const _0x2bf5df=_0x13023c;let _0x5ed4f5=_0x4784a6(_0x5bf98b[_0x2bf5df(0x2ca)]),_0x8cb381=_0x4784a6(_0x523101[_0x2bf5df(0x2ca)]);return _0xbc8dd6(_0x5ed4f5==null?void 0x0:_0x5ed4f5[_0x2bf5df(0x12b)],_0x8cb381==null?void 0x0:_0x8cb381[_0x2bf5df(0x12b)])||_0x5bf98b[_0x2bf5df(0x18a)]['localeCompare'](_0x523101['elementId']);});}[_0x55c788(0x259)](){const _0x49525b=_0x55c788;var _0x249d12,_0x14c1cd,_0x6df3c5;let _0x5b5643=this['_elementStateService'][_0x49525b(0x125)](),_0x729dfb=(_0x249d12=_0x5b5643[_0x49525b(0x3a3)])==null?_0x5b5643[_0x49525b(0x319)][0x0]:_0x249d12;if(!_0x5b5643[_0x49525b(0x1de)]||!_0x729dfb||_0x5b5643[_0x49525b(0x319)]['length']!==0x1||_0x5b5643[_0x49525b(0x2fe)]||_0x5b5643[_0x49525b(0x1b7)])return null;let _0x521a85=this[_0x49525b(0x334)][_0x49525b(0x16c)](_0x5b5643[_0x49525b(0x1de)][_0x49525b(0x3d3)],_0x5b5643[_0x49525b(0x1de)][_0x49525b(0x346)])[_0x729dfb],_0x81e900=_0x4784a6(_0x521a85==null?void 0x0:_0x521a85[_0x49525b(0x2ca)]);return!_0x521a85||!_0x81e900?null:{'unitId':_0x5b5643[_0x49525b(0x1de)][_0x49525b(0x3d3)],'subUnitId':_0x5b5643[_0x49525b(0x1de)][_0x49525b(0x346)],'nodeId':_0x729dfb,'scopeId':_0x81e900['structureScopeId'],'isRoot':_0x81e900['parentNodeId']===null,'description':(_0x14c1cd=(_0x6df3c5=_0x81e900['foreignAttributes'])==null?void 0x0:_0x6df3c5[_0x49525b(0x216)])==null?'':_0x14c1cd};}[_0x55c788(0x179)](){const _0x8a1363=_0x55c788;let _0x16d57f=this[_0x8a1363(0x239)][_0x8a1363(0x125)]();return!_0x16d57f['context']||_0x16d57f[_0x8a1363(0x2fe)]||_0x16d57f[_0x8a1363(0x1b7)]||_0x16d57f[_0x8a1363(0x319)]['length']>0x0||_0x16d57f[_0x8a1363(0x3a3)]?null:{'unitId':_0x16d57f[_0x8a1363(0x1de)][_0x8a1363(0x3d3)],'subUnitId':_0x16d57f[_0x8a1363(0x1de)][_0x8a1363(0x346)]};}[_0x55c788(0x2f9)](_0x38ad68,_0x5c6cb3,_0x5eced5){const _0x343b4d=_0x55c788;let _0x19ad57=this[_0x343b4d(0x22a)][_0x343b4d(0x12e)](_0x38ad68,_0x5c6cb3);Promise[_0x343b4d(0x3b0)](_0x19ad57)['then'](_0x276c8f=>{const _0x4d2a8e=_0x343b4d;_0x276c8f&&this[_0x4d2a8e(0x22a)][_0x4d2a8e(0x12e)](_0x5672f3['id'],{'unitId':_0x5c6cb3[_0x4d2a8e(0x3d3)],'subUnitId':_0x5c6cb3[_0x4d2a8e(0x346)],'scopeId':_0x5eced5});});}[_0x55c788(0x1cf)](_0x4f05ed,_0x1ef423,_0x51142a,_0x3243d8){const _0x3dc087=_0x55c788;let _0x2d4752={'unitId':_0x1ef423[_0x3dc087(0x3d3)],'subUnitId':_0x1ef423[_0x3dc087(0x346)]},_0x1a4f59=this[_0x3dc087(0x22a)][_0x3dc087(0x12e)](_0x4f05ed,_0x1ef423);Promise[_0x3dc087(0x3b0)](_0x1a4f59)['then'](_0x55e399=>{const _0x231a03=_0x3dc087;_0x55e399&&(this['_commandService'][_0x231a03(0x12e)](_0x5672f3['id'],{..._0x2d4752,'scopeId':_0x51142a}),this[_0x231a03(0x239)][_0x231a03(0x379)](_0x2d4752,[_0x3243d8],_0x3243d8),this[_0x231a03(0x3a4)][_0x231a03(0x1ec)](),this['_boardTextEditingService'][_0x231a03(0x348)]({..._0x2d4752,'shapeId':_0x3243d8,'shapeKey':_0x4f1902(_0x2d4752[_0x231a03(0x3d3)],_0x3243d8),'visible':!0x0}));});}};cn=J([q(0x0,_0x3c575a(_0x3de855)),q(0x1,_0x3c575a(_0x1f379b)),q(0x2,_0x3c575a(_0x45d666)),q(0x3,_0x3c575a(_0x31164a)),q(0x4,_0x4a7b53),q(0x5,_0x8b86d4),q(0x6,_0x3c575a(_0x5698aa)),q(0x7,_0x1c93b7)],cn);function ln(_0x2004cd){const _0x19957c=_0x55c788;return _0x2004cd===_0x19957c(0x37d)||_0x2004cd===_0x19957c(0x15f)||_0x2004cd===_0x19957c(0x2c5)||_0x2004cd===_0x19957c(0x342);}const un=_0x55c788(0x2ea),dn={'min':0x1,'max':0x5,'defaultValue':0x3},fn={'min':0x0,'max':0x64,'defaultValue':0x64},pn={'fill':_0x55c788(0x2f4),'fontColor':_0x55c788(0x1a2),'line':_0x55c788(0x383),'stroke':_0x55c788(0x158),'typography':_0x55c788(0x1bb)},mn=[{'kind':_0x55c788(0x2ec),'titleKey':'boards-mind-ui.toolbar.primary.line','panel':_0x55c788(0x25c)},{'kind':_0x55c788(0x314),'titleKey':'boards-mind-ui.toolbar.primary.fontColor'},{'kind':_0x55c788(0x26b),'titleKey':'boards-mind-ui.toolbar.primary.typography'},{'kind':'dropdown','titleKey':_0x55c788(0x377),'panel':_0x55c788(0x3d9),'dividerBefore':!0x0}],hn={'addSibling':_0x55c788(0x1c0),'addChild':_0x55c788(0x19c),'copy':'copy','paste':_0x55c788(0x23f),'delete':_0x55c788(0x324)},gn=[{'key':_0x55c788(0x154),'title':_0x55c788(0x150),'items':[{'value':_0x55c788(0x224),'icon':_0x55c788(0x224)},{'value':_0x55c788(0x340),'icon':_0x55c788(0x340)}]},{'key':'tree-diagram','title':_0x55c788(0x18b),'items':[{'value':_0x55c788(0x2a0),'icon':_0x55c788(0x2a0)},{'value':_0x55c788(0x31e),'icon':'tree-left'},{'value':_0x55c788(0x35c),'icon':_0x55c788(0x35c)}]},{'key':_0x55c788(0x381),'title':_0x55c788(0x3c7),'items':[{'value':'timeline-horizontal','icon':_0x55c788(0x232)},{'value':'timeline-vertical','icon':_0x55c788(0x33a)}]}],_n={'key':_0x55c788(0x2c3),'title':_0x55c788(0x206),'items':[{'value':'curve','icon':'branch-curve'},{'value':_0x55c788(0x28c),'icon':_0x55c788(0x35d)},{'value':'orthogonal','icon':_0x55c788(0x3a6)}]};function vn(_0xc0daee,_0x4c7e42){const _0x85656f=_0x55c788;_0xc0daee[_0x85656f(0x12e)](rn,{'action':_0x4c7e42});}const yn={'line':_0x4ceedf,'more':_0x62a0bc};function bn(_0x569b9d){const _0x24a4d9=_0x55c788;_0x569b9d[_0x24a4d9(0x2d4)](),_0x569b9d['preventDefault']();}function xn(_0x599f3e,_0x34df5e=_0x55c788(0x19d),_0x23a387){return _0x12a7ac(_0x578e13,{'children':_0x12a7ac(_0x599f3e,{'className':_0x34df5e,'extend':_0x23a387})});}function Sn(_0x434467){const _0x4833d1=_0x55c788;var _0x401e87,_0x21cc18,_0x583a2d,_0x5c4479,_0x2ddb30,_0x383a41,_0x469c22,_0x5da087;let _0x32d555=(_0x401e87=_0x434467==null?void 0x0:_0x434467[_0x4833d1(0x188)])==null?{}:_0x401e87,_0x1501d8=_0x32d555['dataModel']&&typeof _0x32d555[_0x4833d1(0x19a)]==_0x4833d1(0x33b)?_0x32d555[_0x4833d1(0x19a)]:{},_0x20cdb5=(_0x21cc18=_0x1501d8[_0x4833d1(0x196)])==null||(_0x21cc18=_0x21cc18[_0x4833d1(0x167)])==null?void 0x0:_0x21cc18[_0x4833d1(0x33d)];return{'color':typeof _0x32d555[_0x4833d1(0x3c4)]==_0x4833d1(0x2e3)?_0x32d555[_0x4833d1(0x3c4)]:(_0x583a2d=_0x20cdb5==null||(_0x5c4479=_0x20cdb5['cl'])==null?void 0x0:_0x5c4479[_0x4833d1(0x291)])==null?_0x3ead9f:_0x583a2d,'fontSize':typeof _0x32d555['fontSize']=='number'?_0x32d555[_0x4833d1(0x1db)]:typeof(_0x20cdb5==null?void 0x0:_0x20cdb5['fs'])==_0x4833d1(0x251)?_0x20cdb5['fs']:_0x29cbb0['fs'],'horizontalAlign':(_0x2ddb30=(_0x383a41=_0x32d555[_0x4833d1(0x17b)])==null?_0x1501d8['ha']:_0x383a41)==null?_0x26aceb['LEFT']:_0x2ddb30,'textFill':_0x32d555[_0x4833d1(0x2dc)]&&typeof _0x32d555[_0x4833d1(0x2dc)]=='object'?_0x32d555['textFill']:_0x20cdb5==null?void 0x0:_0x20cdb5[_0x4833d1(0x2dc)],'verticalAlign':(_0x469c22=(_0x5da087=_0x32d555[_0x4833d1(0x22b)])==null?_0x1501d8['va']:_0x5da087)==null?_0x33dace[_0x4833d1(0x371)]:_0x469c22};}function Cn(_0x3f286d,_0x5a427a){const _0x866785=_0x55c788;if(!_0x5a427a)return;let _0x1bd326=sn(_0x5a427a);if(!_0x1bd326[_0x866785(0x207)])return;let _0x568d27=_0x1bd326['map'](_0xf3761b=>{const _0x2d8433=_0x866785;var _0x520bec;return(_0x520bec=_0x3f286d[_0x2d8433(0x2d7)]({'id':_0x2d8433(0x372),'binding':_0xf3761b,'staticParameters':{'action':_0x5a427a}}))==null?void 0x0:_0x520bec;})['filter'](_0x314ff0=>!!_0x314ff0);return _0x568d27[_0x866785(0x207)]?[...new Set(_0x568d27)][_0x866785(0x1ad)]('/'):void 0x0;}async function wn(_0xb02e11,_0x3c65ea){const _0x2ab501=_0x55c788;return await Promise[_0x2ab501(0x3b0)](_0xb02e11[_0x2ab501(0x12e)](_0x1f97d9['id'],_0x3c65ea))?(await Promise[_0x2ab501(0x3b0)](_0xb02e11[_0x2ab501(0x12e)](_0x5672f3['id'],{'unitId':_0x3c65ea['unitId'],'subUnitId':_0x3c65ea[_0x2ab501(0x346)],'scopeId':_0x3c65ea[_0x2ab501(0x191)]})),!0x0):!0x1;}async function Tn(_0x5a3650,_0x4d114b){const _0xfcb003=_0x55c788;return await Promise[_0xfcb003(0x3b0)](_0x5a3650[_0xfcb003(0x12e)](_0x35a1e2['id'],_0x4d114b))?(await Promise[_0xfcb003(0x3b0)](_0x5a3650[_0xfcb003(0x12e)](_0x5672f3['id'],{'unitId':_0x4d114b['unitId'],'subUnitId':_0x4d114b[_0xfcb003(0x346)],'scopeId':_0x4d114b[_0xfcb003(0x191)]})),!0x0):!0x1;}function En({className:_0x1569df=_0x55c788(0x19d)}){const _0x19b9ec=_0x55c788;return _0x12a7ac(_0x578e13,{'children':_0x42e6e8('svg',{'className':_0x1569df,'viewBox':_0x19b9ec(0x1af),'fill':_0x19b9ec(0x19e),'aria-hidden':_0x19b9ec(0x17e),'children':[_0x12a7ac('path',{'d':_0x19b9ec(0x35b),'stroke':'currentColor','strokeWidth':_0x19b9ec(0x246),'strokeLinecap':_0x19b9ec(0x31c)}),_0x12a7ac(_0x19b9ec(0x151),{'d':_0x19b9ec(0x163),'stroke':_0x19b9ec(0x1b5),'strokeWidth':'1.8','strokeLinecap':'round'}),_0x12a7ac(_0x19b9ec(0x151),{'d':_0x19b9ec(0x171),'stroke':'currentColor','strokeWidth':'1.8','strokeLinecap':_0x19b9ec(0x31c)})]})});}function Dn({icon:_0x11eb07}){const _0x1d5412=_0x55c788;let _0x2ee5d6=_0x1d5412(0x31b),_0x16e879={'stroke':'currentColor','strokeWidth':2.6,'strokeLinecap':_0x1d5412(0x31c),'strokeLinejoin':_0x1d5412(0x31c)},_0x5bdf99={'stroke':_0x2ee5d6,'strokeWidth':3.2,'strokeLinecap':_0x1d5412(0x31c)};return _0x42e6e8(_0x1d5412(0x20b),{'className':'univer-h-9\x20univer-w-12','viewBox':_0x1d5412(0x36b),'fill':_0x1d5412(0x19e),'aria-hidden':_0x1d5412(0x17e),'children':[_0x11eb07===_0x1d5412(0x224)&&_0x42e6e8(_0x15b427,{'children':[_0x12a7ac(_0x1d5412(0x151),{'d':_0x1d5412(0x375),..._0x16e879}),_0x12a7ac(_0x1d5412(0x151),{'d':'M12\x2015h9M12\x2028h9M12\x2041h9M59\x2015h9M59\x2028h9M59\x2041h9',..._0x5bdf99})]}),_0x11eb07===_0x1d5412(0x340)&&_0x42e6e8(_0x15b427,{'children':[_0x12a7ac('path',{'d':'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',..._0x16e879}),_0x12a7ac(_0x1d5412(0x151),{'d':_0x1d5412(0x22d),'stroke':_0x2ee5d6,'strokeWidth':2.6,'strokeLinecap':'round','strokeDasharray':_0x1d5412(0x13a)})]}),_0x11eb07===_0x1d5412(0x2a0)&&_0x42e6e8(_0x15b427,{'children':[_0x12a7ac('path',{'d':'M24\x2012v32M24\x2019c0\x204\x203\x206\x207\x206h7M24\x2029c0\x204\x203\x206\x207\x206h7M24\x2039c0\x204\x203\x206\x207\x206h7',..._0x16e879}),_0x12a7ac(_0x1d5412(0x151),{'d':_0x1d5412(0x126),..._0x5bdf99}),_0x12a7ac('circle',{'cx':'24','cy':'12','r':'3','fill':'currentColor'})]}),_0x11eb07===_0x1d5412(0x31e)&&_0x42e6e8(_0x15b427,{'children':[_0x12a7ac(_0x1d5412(0x151),{'d':_0x1d5412(0x38d),..._0x16e879}),_0x12a7ac(_0x1d5412(0x151),{'d':'M20\x2025h13M20\x2035h13M20\x2045h13',..._0x5bdf99}),_0x12a7ac('circle',{'cx':'56','cy':'12','r':'3','fill':_0x1d5412(0x1b5)})]}),_0x11eb07===_0x1d5412(0x35c)&&_0x42e6e8(_0x15b427,{'children':[_0x12a7ac(_0x1d5412(0x151),{'d':_0x1d5412(0x282),..._0x16e879}),_0x12a7ac('path',{'d':'M12\x2026h11M58\x2036h11M12\x2045h11',..._0x5bdf99}),_0x12a7ac('circle',{'cx':'42','cy':'12','r':'3','fill':_0x1d5412(0x1b5)})]}),_0x11eb07===_0x1d5412(0x232)&&_0x42e6e8(_0x15b427,{'children':[_0x12a7ac(_0x1d5412(0x151),{'d':'M15\x2031h50M35\x2031V18c0-4\x203-7\x208-7h9M35\x2031v13c0\x204\x203\x207\x208\x207h9',..._0x16e879}),_0x12a7ac(_0x1d5412(0x151),{'d':_0x1d5412(0x34a),..._0x5bdf99}),_0x12a7ac(_0x1d5412(0x2b5),{'cx':'17','cy':'31','r':'3','fill':_0x1d5412(0x1b5)})]}),_0x11eb07===_0x1d5412(0x33a)&&_0x42e6e8(_0x15b427,{'children':[_0x12a7ac(_0x1d5412(0x151),{'d':_0x1d5412(0x280),..._0x16e879}),_0x12a7ac(_0x1d5412(0x151),{'d':_0x1d5412(0x355),..._0x5bdf99}),_0x12a7ac(_0x1d5412(0x2b5),{'cx':'40','cy':'9','r':'3','fill':_0x1d5412(0x1b5)})]}),_0x11eb07==='branch-curve'&&_0x12a7ac(_0x15b427,{'children':_0x12a7ac(_0x1d5412(0x151),{'d':'M16\x2028c16\x200\x2025-13\x2043-13M16\x2028c16\x200\x2025\x2013\x2043\x2013',..._0x16e879})}),_0x11eb07===_0x1d5412(0x35d)&&_0x12a7ac(_0x15b427,{'children':_0x12a7ac(_0x1d5412(0x151),{'d':_0x1d5412(0x16a),..._0x16e879})}),_0x11eb07===_0x1d5412(0x3a6)&&_0x12a7ac(_0x15b427,{'children':_0x12a7ac(_0x1d5412(0x151),{'d':_0x1d5412(0x172),..._0x16e879})})]});}function On(_0x4b79fc,_0x184ef2){const _0x301f42=_0x55c788;let _0x21695f=_0x4b79fc[_0x301f42(0x33d)],_0x565b5d=_0x51f7f1(_0x21695f),_0x4b1cfc={..._0x565b5d[_0x301f42(0x3c4)]===void 0x0?null:{'color':_0x565b5d[_0x301f42(0x3c4)]},..._0x565b5d[_0x301f42(0x1f9)]===void 0x0?null:{'fontFamily':_0x565b5d[_0x301f42(0x1f9)]},..._0x565b5d[_0x301f42(0x1db)]===void 0x0?null:{'fontSize':_0x565b5d[_0x301f42(0x1db)]},..._0x565b5d[_0x301f42(0x2cb)]===void 0x0?null:{'bold':_0x565b5d[_0x301f42(0x2cb)]},..._0x565b5d['italic']===void 0x0?null:{'italic':_0x565b5d[_0x301f42(0x384)]},..._0x565b5d[_0x301f42(0x2f5)]===void 0x0?null:{'underline':_0x565b5d[_0x301f42(0x2f5)]},..._0x565b5d[_0x301f42(0x24e)]===void 0x0?null:{'strikethrough':_0x565b5d[_0x301f42(0x24e)]},..._0x565b5d[_0x301f42(0x2dc)]===void 0x0?null:{'textFill':_0x565b5d[_0x301f42(0x2dc)]}};_0x4b79fc['horizontalAlign']!==void 0x0&&(_0x4b1cfc[_0x301f42(0x17b)]=_0x4b79fc[_0x301f42(0x17b)]),_0x4b79fc[_0x301f42(0x22b)]!==void 0x0&&(_0x4b1cfc[_0x301f42(0x22b)]=_0x4b79fc['verticalAlign']),Object[_0x301f42(0x287)](_0x4b1cfc)[_0x301f42(0x207)]>0x0&&_0x184ef2({'textStyle':_0x4b1cfc});}function kn(_0x36f98b,_0x57193a,_0x651bda){const _0x5aa626=_0x55c788;var _0x41fead,_0x342d16;let _0x5a4480=_0x36f98b==null?{}:_0x36f98b,_0x33535c=_0x43dff7(_0x5a4480,_0x57193a),_0x10e923=(_0x41fead=(_0x342d16=_0x33535c[_0x5aa626(0x188)])==null?_0x5a4480[_0x5aa626(0x188)]:_0x342d16)==null?{}:_0x41fead;return{..._0x5a4480,..._0x33535c,'shapeText':{..._0x10e923,..._0x651bda[_0x5aa626(0x3c4)]===void 0x0?null:{'color':_0x651bda[_0x5aa626(0x3c4)]},..._0x651bda['fontSize']===void 0x0?null:{'fontSize':_0x651bda[_0x5aa626(0x1db)]},..._0x651bda[_0x5aa626(0x2cb)]===void 0x0?null:{'bold':_0x651bda['bold']},..._0x651bda[_0x5aa626(0x384)]===void 0x0?null:{'italic':_0x651bda[_0x5aa626(0x384)]},..._0x651bda[_0x5aa626(0x2f5)]===void 0x0?null:{'underline':_0x651bda['underline']},..._0x651bda[_0x5aa626(0x24e)]===void 0x0?null:{'strikethrough':_0x651bda[_0x5aa626(0x24e)]},..._0x651bda[_0x5aa626(0x17b)]===void 0x0?null:{'horizontalAlign':_0x651bda['horizontalAlign']},..._0x651bda[_0x5aa626(0x22b)]===void 0x0?null:{'verticalAlign':_0x651bda[_0x5aa626(0x22b)]},..._0x651bda[_0x5aa626(0x2dc)]===void 0x0?null:{'textFill':_0x651bda[_0x5aa626(0x2dc)]}}};}function An(_0x13d882,_0x5455f5){const _0x449fc6=_0x55c788;let _0x3bf4ba=_0x13d882==null?void 0x0:_0x13d882[_0x449fc6(0x1b4)];_0x3bf4ba&&_0x5455f5({'lineType':_0x3bf4ba[_0x449fc6(0x223)]===_0x179fe9[_0x449fc6(0x2ab)]||_0x3bf4ba['dashType']===_0x179fe9[_0x449fc6(0x347)]?'dot':_0x3bf4ba[_0x449fc6(0x223)]===_0x179fe9[_0x449fc6(0x32c)]?_0x449fc6(0x183):_0x449fc6(0x258),...typeof _0x3bf4ba[_0x449fc6(0x24f)]==_0x449fc6(0x251)?{'strokeWidth':_0x3bf4ba[_0x449fc6(0x24f)]}:null,...typeof _0x3bf4ba[_0x449fc6(0x3c4)]==_0x449fc6(0x2e3)?{'stroke':_0x3bf4ba[_0x449fc6(0x3c4)]}:null,...typeof _0x3bf4ba['opacity']==_0x449fc6(0x251)?{'opacity':_0x3bf4ba[_0x449fc6(0x351)]}:null});}function jn(_0x1ce297){const _0x407c51=_0x55c788;return _0x1ce297!=null&&_0x1ce297[_0x407c51(0x207)]?_0x1ce297[0x0]<=0x2?_0x179fe9[_0x407c51(0x2ab)]:_0x179fe9[_0x407c51(0x32c)]:_0x179fe9['Solid'];}function Mn(_0x1dd77d){const _0x4242c9=_0x55c788;var _0x3017fd,_0x3e04dd,_0x64093a;return{'stroke':{'lineStrokeType':_0x4c39e6[_0x4242c9(0x1d4)],'dashType':jn(_0x1dd77d==null?void 0x0:_0x1dd77d[_0x4242c9(0x183)]),'color':(_0x3017fd=_0x1dd77d==null?void 0x0:_0x1dd77d[_0x4242c9(0x1b4)])==null?_0x5111b4:_0x3017fd,'width':(_0x3e04dd=_0x1dd77d==null?void 0x0:_0x1dd77d[_0x4242c9(0x385)])==null?dn['defaultValue']:_0x3e04dd,'opacity':(_0x64093a=_0x1dd77d==null?void 0x0:_0x1dd77d['opacity'])==null?fn[_0x4242c9(0x23c)]/0x64:_0x64093a}};}function Nn(_0x4c05ea){const _0x15f907=_0x55c788;var _0x2459dc,_0x1c00e2,_0x51be94,_0x4993ff,_0x4c984b,_0x46fff0;let _0x237f92=_0xd57ede(_0x4a7b53),_0x329362=_0xd57ede(_0x8b86d4),_0x38835b=_0xd57ede(_0x20f8ca),[_0x100e54,_0x56196d]=_0x5024c9(null),[_0x5ce4d5,_0x2af2c4]=_0x5024c9((_0x2459dc=_0x4c05ea[_0x15f907(0x37e)]['extraProps'])==null?void 0x0:_0x2459dc[_0x15f907(0x3e2)]),_0x5e68c3=_0x4c05ea[_0x15f907(0x37e)][_0x15f907(0x2fa)];if(!_0x5e68c3)return null;let _0xbdc30b={'unitId':_0x5e68c3[_0x15f907(0x3d3)],'subUnitId':_0x5e68c3['subUnitId']},_0x2bb5e3=_0x3952c2=>{const _0x20487a=_0x15f907;_0x237f92[_0x20487a(0x12e)](_0x2aa574['id'],{..._0xbdc30b,'nodeId':_0x5e68c3[_0x20487a(0x18a)],..._0x3952c2});},_0x16bba9=(_0x59bd7f,_0x539389)=>{const _0xe412ef=_0x15f907;let _0xc81304=_0x539389==null?{}:_0x539389;_0x2af2c4(_0x4c0161=>({..._0x4c0161==null?{}:_0x4c0161,..._0xc81304})),_0x2bb5e3({..._0xc81304[_0xe412ef(0x234)]===void 0x0?null:{'fill':_0xc81304[_0xe412ef(0x234)]},..._0xc81304[_0xe412ef(0x1b4)]===void 0x0?null:{'stroke':_0xc81304[_0xe412ef(0x1b4)]}});},_0x4c1e94=_0x168275=>{const _0x1a1e19=_0x15f907;_0x237f92[_0x1a1e19(0x12e)](_0x4f27c7['id'],{..._0xbdc30b,'nodeId':_0x5e68c3[_0x1a1e19(0x18a)],'style':_0x168275});},_0x25c55b=Mn(_0x5e68c3[_0x15f907(0x230)]),_0x5c2542=_0x3659a7=>Cn(_0x329362,_0x3659a7),_0x588795=_0x3834f7=>{vn(_0x237f92,_0x3834f7);},_0x2e92b3=(_0x1c00e2=_0x5ce4d5==null?void 0x0:_0x5ce4d5['shapeText'])==null?{}:_0x1c00e2,_0x45bd03=Sn(_0x5ce4d5),_0x40e2bc=_0x12f6f3=>{On(_0x12f6f3,_0x1b1946=>{const _0x6af87b=_0x5bcf;_0x2af2c4(_0x423cb8=>kn(_0x423cb8,_0x12f6f3,_0x1b1946[_0x6af87b(0x33d)])),_0x2bb5e3(_0x1b1946);});},_0x1c0d6f=[{'label':_0x38835b['t']('boards-mind-ui.alignLeft'),'value':_0x26aceb[_0x15f907(0x15a)],'icon':_0x12a7ac(_0x36d060,{})},{'label':_0x38835b['t'](_0x15f907(0x3de)),'value':_0x26aceb['CENTER'],'icon':_0x12a7ac(_0x1ef2aa,{})},{'label':_0x38835b['t'](_0x15f907(0x27b)),'value':_0x26aceb[_0x15f907(0x1a5)],'icon':_0x12a7ac(_0x1fdead,{})},{'label':_0x38835b['t'](_0x15f907(0x3a1)),'value':_0x26aceb['JUSTIFIED'],'icon':_0x12a7ac(_0x430b73,{})}],_0x5ae71a=[{'label':_0x38835b['t']('boards-mind-ui.alignTop'),'value':_0x33dace[_0x15f907(0x32d)],'icon':_0x12a7ac(_0x588992,{})},{'label':_0x38835b['t'](_0x15f907(0x278)),'value':_0x33dace[_0x15f907(0x371)],'icon':_0x12a7ac(_0x48f505,{})},{'label':_0x38835b['t']('boards-mind-ui.alignBottom'),'value':_0x33dace['BOTTOM'],'icon':_0x12a7ac(_0x29bed2,{})}],_0x2bd798=()=>{const _0x52f4db=_0x15f907;_0x588795(_0x52f4db(0x1c0));},_0x36d741=()=>{_0x588795('add-child');},_0x36d74a=()=>{const _0x5b9dc7=_0x15f907;_0x588795(_0x5b9dc7(0x3e1));},_0x5a212a=()=>{const _0x25a734=_0x15f907;_0x588795(_0x25a734(0x23f));},_0x599bdf=()=>{const _0x1cd036=_0x15f907;_0x588795(_0x1cd036(0x324));},_0x846ac0=(_0x51be94=(_0x4993ff=_0x5e68c3[_0x15f907(0x142)])==null?void 0x0:_0x4993ff[_0x15f907(0x32f)])==null?_0xb4769e[_0x15f907(0x32f)]:_0x51be94,_0x2891f2=_0x172ea2(_0x846ac0,(_0x4c984b=(_0x46fff0=_0x5e68c3['layout'])==null?void 0x0:_0x46fff0[_0x15f907(0x159)])==null?_0xb4769e['branchLineType']:_0x4c984b),_0x2fa125=_0x22a2f8=>{let _0x2799c0=_0x172ea2(_0x22a2f8,_0x2891f2);wn(_0x237f92,{..._0xbdc30b,'scopeId':_0x5e68c3['scopeId'],'structureKind':_0x22a2f8,..._0x2799c0===_0x2891f2?null:{'branchLineType':_0x2799c0}}),_0x56196d(null);},_0x24491d=_0x341eae=>{const _0x162517=_0x15f907;Tn(_0x237f92,{..._0xbdc30b,'scopeId':_0x5e68c3[_0x162517(0x191)],'branchLineType':_0x341eae}),_0x56196d(null);},_0x5377fd=(_0x1bd75a,_0x1951b9,_0x1d2fab,_0x4a9c88=!0x1)=>_0x12a7ac(_0x15f907(0x1bf),{'type':_0x15f907(0x1bf),'disabled':_0x4a9c88,'className':_0x11ce90(_0x15f907(0x235),_0x1951b9&&_0x15f907(0x203),_0x4a9c88&&'univer-cursor-not-allowed\x20univer-text-gray-300\x20hover:univer-bg-transparent'),'onMouseDown':bn,'onPointerDown':bn,'onClick':_0x3b0c58=>{const _0x1dcbd7=_0x15f907;_0x3b0c58[_0x1dcbd7(0x2d4)](),!_0x4a9c88&&_0x1d2fab();},'children':_0x12a7ac(Dn,{'icon':_0x1bd75a['icon']})},_0x1bd75a[_0x15f907(0x361)]),_0x6e0c2b=()=>_0x42e6e8(_0x15f907(0x27a),{'className':_0x15f907(0x30a),'onMouseDown':_0x3847ec=>_0x3847ec['stopPropagation'](),'onPointerDown':_0x2b99e1=>_0x2b99e1[_0x15f907(0x2d4)](),'children':[gn[_0x15f907(0x1f6)](_0x3e01d5=>_0x42e6e8(_0x15f907(0x27a),{'className':'univer-mb-4','children':[_0x12a7ac(_0x15f907(0x27a),{'className':_0x15f907(0x1dc),'children':_0x3e01d5[_0x15f907(0x34e)]}),_0x12a7ac('div',{'className':_0x15f907(0x29a),'style':{'gridTemplateColumns':_0x15f907(0x157)+_0x3e01d5['items'][_0x15f907(0x207)]+_0x15f907(0x36c)},'children':_0x3e01d5[_0x15f907(0x2c6)][_0x15f907(0x1f6)](_0x3a2b40=>_0x5377fd(_0x3a2b40,_0x3a2b40[_0x15f907(0x361)]===_0x846ac0,()=>_0x2fa125(_0x3a2b40[_0x15f907(0x361)])))})]},_0x3e01d5[_0x15f907(0x1c1)])),_0x12a7ac(_0x277f73,{}),_0x42e6e8(_0x15f907(0x27a),{'className':_0x15f907(0x39d),'children':[_0x12a7ac('div',{'className':_0x15f907(0x1dc),'children':_n['title']}),_0x12a7ac(_0x15f907(0x27a),{'className':_0x15f907(0x29a),'style':{'gridTemplateColumns':_0x15f907(0x157)+_n[_0x15f907(0x2c6)]['length']+',\x20minmax(0,\x201fr))'},'children':_n[_0x15f907(0x2c6)][_0x15f907(0x1f6)](_0x324ee4=>_0x5377fd(_0x324ee4,_0x324ee4[_0x15f907(0x361)]===_0x2891f2,()=>_0x24491d(_0x324ee4['value']),_0x324ee4[_0x15f907(0x361)]===_0x15f907(0x395)&&!_0x17ca32(_0x846ac0)))})]})]}),_0x3e690a=_0x509507=>{const _0x4ddc10=_0x15f907;switch(_0x509507){case _0x4ddc10(0x25c):return _0x12a7ac(_0x34d69f,{'titleKey':pn[_0x4ddc10(0x25c)],'shapeData':_0x25c55b,'modeOptions':[_0x4ddc10(0x258),_0x4ddc10(0x183),'dot'],'showDashDropdown':!0x1,'widthRange':{'min':dn[_0x4ddc10(0x29d)],'max':dn['max'],'step':0x1},'onUpdateShapeData':(_0x5f2a75,_0x3f2bf3)=>{An(_0x3f2bf3,_0x4c1e94);}});case _0x4ddc10(0x3d9):return _0x12a7ac(_0x1ee4a0,{'titleKey':_0x4ddc10(0x27f),'minWidthClassName':'univer-min-w-[240px]','children':_0x42e6e8('div',{'className':_0x4ddc10(0x39f),'children':[_0x12a7ac(_0x4e57ea,{'labelKey':_0x4ddc10(0x26e),'shortcut':_0x5c2542(hn[_0x4ddc10(0x144)]),'onClick':_0x2bd798}),_0x12a7ac(_0x4e57ea,{'labelKey':_0x4ddc10(0x145),'shortcut':_0x5c2542(hn[_0x4ddc10(0x1b6)]),'onClick':_0x36d741}),_0x12a7ac(_0x277f73,{}),_0x12a7ac(_0x4e57ea,{'labelKey':'boards-mind-ui.toolbar.action.copy','shortcut':_0x5c2542(hn['copy']),'onClick':_0x36d74a}),_0x12a7ac(_0x4e57ea,{'labelKey':'boards-mind-ui.toolbar.action.paste','shortcut':_0x5c2542(hn[_0x4ddc10(0x23f)]),'onClick':_0x5a212a}),_0x12a7ac(_0x4e57ea,{'labelKey':'boards-mind-ui.toolbar.action.delete','shortcut':_0x5c2542(hn[_0x4ddc10(0x324)]),'onClick':_0x599bdf})]})});default:return null;}},_0x5fe869=mn[_0x15f907(0x2a6)](_0x5614d1=>{const _0x5b912e=_0x15f907;let _0x2dcd7f=[];if(_0x5614d1[_0x5b912e(0x30d)]&&_0x2dcd7f[_0x5b912e(0x3b7)](_0x12a7ac(_0x277f73,{'orientation':_0x5b912e(0x275)},_0x5b912e(0x139)+_0x5614d1[_0x5b912e(0x2a8)])),_0x5614d1[_0x5b912e(0x2a8)]===_0x5b912e(0x26b))return _0x2dcd7f['push'](_0x12a7ac(_0x11b815,{'titleKey':pn[_0x5b912e(0x26b)],'textStyle':{'isBold':_0x2e92b3[_0x5b912e(0x2cb)]===!0x0,'isItalic':_0x2e92b3[_0x5b912e(0x384)]===!0x0,'isUnderline':_0x2e92b3[_0x5b912e(0x2f5)]===!0x0,'isStrike':_0x2e92b3[_0x5b912e(0x24e)]===!0x0},'horizontalAlign':_0x45bd03[_0x5b912e(0x17b)],'verticalAlign':_0x45bd03[_0x5b912e(0x22b)],'horizontalAlignOptions':_0x1c0d6f,'verticalAlignOptions':_0x5ae71a,'onUpdateText':_0x40e2bc},_0x5614d1[_0x5b912e(0x2a8)])),_0x2dcd7f;if(_0x5614d1[_0x5b912e(0x2a8)]===_0x5b912e(0x314)){let _0x465c59={'fs':_0x45bd03[_0x5b912e(0x1db)],'cl':{'rgb':_0x45bd03[_0x5b912e(0x3c4)]},..._0x45bd03[_0x5b912e(0x2dc)]===void 0x0?null:{'textFill':_0x45bd03['textFill']}};return _0x2dcd7f['push'](_0x12a7ac(_0x24b46b,{'titleKey':pn['fontColor'],'textStyle':_0x465c59,'fallbackColor':_0x45bd03[_0x5b912e(0x3c4)],'onChange':_0xfd8396=>_0x40e2bc({'textStyle':_0xfd8396})},_0x5614d1[_0x5b912e(0x2a8)])),_0x2dcd7f['push'](_0x12a7ac(_0x39747a,{'value':String(_0x45bd03['fontSize']),'onChange':_0x4f385a=>{_0x40e2bc({'textStyle':{'fs':_0x4f385a}});}},_0x5b912e(0x1c9))),_0x2dcd7f;}return _0x2dcd7f[_0x5b912e(0x3b7)](_0x12a7ac(_0x343e7e,{'open':_0x100e54===_0x5614d1['panel'],'overlay':_0x3e690a(_0x5614d1[_0x5b912e(0x205)]),'onOpenChange':_0x3392f8=>_0x56196d(_0x3392f8?_0x5614d1[_0x5b912e(0x205)]:null),'children':_0x12a7ac(_0x5b912e(0x245),{'children':_0x12a7ac(_0x18f73b,{'titleKey':_0x5614d1['titleKey'],'active':_0x100e54===_0x5614d1[_0x5b912e(0x205)],'icon':xn(yn[_0x5614d1[_0x5b912e(0x205)]]),'sizeClassName':_0x5b912e(0x17a),'onMouseDown':bn,'onPointerDown':bn})})},_0x5614d1['panel'])),_0x2dcd7f;});return _0x42e6e8(_0x41b34a,{'dataAttributes':{'data-board-mind-map-floating-toolbar':_0x15f907(0x17e)},'maxWidthClassName':_0x15f907(0x147),'onMouseDown':_0x21d12a=>_0x21d12a[_0x15f907(0x2d4)](),'children':[[..._0x5e68c3[_0x15f907(0x333)]?[_0x12a7ac(_0x343e7e,{'open':_0x100e54===_0x15f907(0x142),'overlay':_0x6e0c2b(),'onOpenChange':_0x3f37d3=>_0x56196d(_0x3f37d3?_0x15f907(0x142):null),'children':_0x12a7ac(_0x15f907(0x245),{'children':_0x12a7ac(_0x18f73b,{'titleKey':_0x15f907(0x1b0),'active':_0x100e54===_0x15f907(0x142),'icon':_0x12a7ac(En,{}),'sizeClassName':'univer-h-7\x20univer-min-w-9\x20univer-w-auto\x20univer-gap-1\x20univer-px-1.5','onMouseDown':bn,'onPointerDown':bn})})},_0x15f907(0x331)),_0x12a7ac(_0x277f73,{'orientation':_0x15f907(0x275)},'layout-panel-divider')]:[],_0x12a7ac(_0x577770,{'titleKey':pn['fill'],'shapeData':_0x5ce4d5==null?{}:_0x5ce4d5,'onUpdateShapeData':_0x16bba9},_0x15f907(0x2e5)),_0x12a7ac(_0x1e2ebd,{'titleKey':pn[_0x15f907(0x1b4)],'shapeData':_0x5ce4d5==null?{}:_0x5ce4d5,'onUpdateShapeData':_0x16bba9},_0x15f907(0x39c)),_0x12a7ac(_0x277f73,{'orientation':'vertical'},_0x15f907(0x362))],_0x5fe869]});}function Pn(_0x5df068){let {left:_0x2f91ef,top:_0x25137f,width:_0x4607d4,height:_0x1a8689}=_0x5df068;return{'left':_0x2f91ef,'right':_0x2f91ef+_0x4607d4,'top':_0x25137f-0x38,'bottom':_0x25137f+_0x1a8689};}let Fn=class extends _0x4c4ffe{constructor(_0x30a513,_0x97521c,_0x1d2675,_0x30633e,_0xe83a6e){const _0x868eb8=_0x55c788;super(),this[_0x868eb8(0x16f)]=_0x30a513,this['_boardCanvasPopManagerService']=_0x97521c,this[_0x868eb8(0x334)]=_0x1d2675,this['_elementStateService']=_0x30633e,this[_0x868eb8(0x3a4)]=_0xe83a6e,K(this,_0x868eb8(0x2fc),null),K(this,_0x868eb8(0x33e),null),this[_0x868eb8(0x25a)]();}[_0x55c788(0x3c5)](){const _0x3e3c33=_0x55c788;this['_clearPopup'](),super[_0x3e3c33(0x3c5)]();}[_0x55c788(0x25a)](){const _0x19a7e5=_0x55c788;let _0x4036bb=this[_0x19a7e5(0x16f)][_0x19a7e5(0x3d4)][_0x19a7e5(0x13e)]();this['disposeWithMe'](_0x1e5fe4(_0x4036bb[_0x19a7e5(0x12f)][_0x19a7e5(0x3b9)](_0x38681d(this[_0x19a7e5(0x2bd)]))[_0x19a7e5(0x304)](()=>this[_0x19a7e5(0x301)]()))),this[_0x19a7e5(0x367)](_0x1e5fe4(_0x4036bb['clearControl$'][_0x19a7e5(0x3b9)](_0x38681d(this['dispose$']))[_0x19a7e5(0x304)](()=>this[_0x19a7e5(0x313)]()))),this['disposeWithMe'](_0x1e5fe4(_0x4036bb['changeStart$'][_0x19a7e5(0x3b9)](_0x38681d(this[_0x19a7e5(0x2bd)]))['subscribe'](()=>this['_clearPopup']()))),this[_0x19a7e5(0x367)](_0x1e5fe4(_0x4036bb[_0x19a7e5(0x274)][_0x19a7e5(0x3b9)](_0x38681d(this[_0x19a7e5(0x2bd)]))[_0x19a7e5(0x304)](()=>setTimeout(()=>this[_0x19a7e5(0x301)](),0x0)))),this['disposeWithMe'](_0x1e5fe4(this[_0x19a7e5(0x239)]['state$'][_0x19a7e5(0x3b9)](_0x38681d(this[_0x19a7e5(0x2bd)]))[_0x19a7e5(0x304)](()=>setTimeout(()=>this[_0x19a7e5(0x301)](),0x0)))),this['disposeWithMe'](_0x1e5fe4(this['_boardTextEditingService']['editingParams$']['pipe'](_0x38681d(this['dispose$']))[_0x19a7e5(0x304)](_0x21010c=>{const _0x4d86b3=_0x19a7e5;if((_0x21010c==null?void 0x0:_0x21010c[_0x4d86b3(0x3d3)])===this['_renderContext'][_0x4d86b3(0x3d3)]){if(_0x21010c[_0x4d86b3(0x20f)]){this['_clearPopup']();return;}setTimeout(()=>this[_0x4d86b3(0x301)](),0x0);}})));}[_0x55c788(0x3c3)](){const _0x1223c6=_0x55c788;var _0x669e97;(_0x669e97=this[_0x1223c6(0x2fc)])==null||_0x669e97[_0x1223c6(0x3c5)](),this[_0x1223c6(0x2fc)]=null,this[_0x1223c6(0x33e)]=null;}[_0x55c788(0x313)](){setTimeout(()=>{const _0x3bcc18=_0x5bcf;this[_0x3bcc18(0x2d2)]()||this[_0x3bcc18(0x3c3)]();},0x0);}[_0x55c788(0x2d2)](){const _0x5447e2=_0x55c788;let _0xc41f5=this['_elementStateService'][_0x5447e2(0x125)]();return!!_0xc41f5[_0x5447e2(0x1de)]&&_0xc41f5[_0x5447e2(0x319)][_0x5447e2(0x207)]>0x0&&this[_0x5447e2(0x33e)]===this[_0x5447e2(0x267)](_0xc41f5['context'][_0x5447e2(0x3d3)],_0xc41f5['context'][_0x5447e2(0x346)],_0xc41f5[_0x5447e2(0x319)]);}[_0x55c788(0x267)](_0x2c2b1f,_0xc0286f,_0x2746e5){const _0x37869f=_0x55c788;return _0x2c2b1f+':'+_0xc0286f+':'+_0x2746e5[_0x37869f(0x1ad)](',');}['_resolveIncomingConnectorStyle'](_0x121e22,_0x2bc663,_0x29987a,_0x58128d){const _0x267bff=_0x55c788;let _0x15e647=this[_0x267bff(0x334)]['getElementData'](_0x121e22,_0x2bc663),_0x1a10d6=Object['values'](_0x15e647)['find'](_0x270ce0=>{const _0x2260b1=_0x267bff;let _0x1eccde=_0x17e585(_0x270ce0[_0x2260b1(0x2ca)]);return(_0x1eccde==null?void 0x0:_0x1eccde[_0x2260b1(0x272)])===_0x29987a&&_0x1eccde[_0x2260b1(0x1a4)]===_0x58128d;});if(!(!_0x1a10d6||!('connectorData'in _0x1a10d6[_0x267bff(0x2ca)])))return _0x1a10d6['element'][_0x267bff(0x2bb)][_0x267bff(0x2ce)];}['_showPopupForSelection'](){const _0x3317d5=_0x55c788;var _0x3239d9,_0x3d4349,_0x112335,_0x159026,_0x5802b5,_0xe67a30,_0x58ee81,_0x42124f;let _0x55a7ad=this['_boardTextEditingService']['getEditing']();if((_0x55a7ad==null?void 0x0:_0x55a7ad[_0x3317d5(0x20f)])===!0x0&&_0x55a7ad[_0x3317d5(0x3d3)]===this[_0x3317d5(0x16f)][_0x3317d5(0x3d3)]){this[_0x3317d5(0x3c3)]();return;}let _0x44009b=this[_0x3317d5(0x239)]['getSnapshot']();if(_0x44009b[_0x3317d5(0x1b7)]){this[_0x3317d5(0x3c3)]();return;}let _0x8f9b88=this[_0x3317d5(0x16f)]['scene'][_0x3317d5(0x13e)]()['getSelectedObjectMap'](),_0x382ff7=Array['from'](_0x8f9b88[_0x3317d5(0x1e2)]())[_0x3317d5(0x1f6)](_0xf6d616=>this[_0x3317d5(0x133)](_0xf6d616))[_0x3317d5(0x1eb)](_0x5bd7fa=>!!_0x5bd7fa)['filter'](_0x2d1bb6=>!!_0x4784a6(_0x2d1bb6[_0x3317d5(0x365)]['element'])),_0x47faea=(_0x3239d9=(_0x3d4349=_0x382ff7['find'](_0x115df4=>_0x115df4[_0x3317d5(0x365)][_0x3317d5(0x18a)]===_0x44009b[_0x3317d5(0x3a3)]))==null?_0x382ff7[0x0]:_0x3d4349)==null?this['_resolveSelectedMindMapEntryFromState']():_0x3239d9;if(!_0x47faea){this[_0x3317d5(0x3c3)]();return;}let _0x12b501=_0x4784a6(_0x47faea[_0x3317d5(0x365)]['element']);if(!_0x12b501){this[_0x3317d5(0x3c3)]();return;}let _0x27c4e1=(_0x112335=this[_0x3317d5(0x334)][_0x3317d5(0x16c)](_0x47faea['elementData'][_0x3317d5(0x3d3)],_0x47faea[_0x3317d5(0x365)]['subUnitId'])[_0x12b501['structureScopeId']])==null?void 0x0:_0x112335['element'],_0x33b3dd=_0x5225ac(_0x27c4e1),_0x59cae2=_0x27c4e1==null||(_0x159026=_0x27c4e1[_0x3317d5(0x189)])==null||(_0x159026=_0x159026['mindmap'])==null||(_0x159026=_0x159026[_0x3317d5(0x142)])==null?void 0x0:_0x159026[_0x3317d5(0x32f)],_0x4472cb=((_0x5802b5=_0x33b3dd==null?void 0x0:_0x33b3dd['layout']['structureKind'])==null?_0x59cae2:_0x5802b5)===_0x3317d5(0x340)&&(_0x12b501['parentNodeId']===null||_0x12b501['side']===_0x3317d5(0x180)),_0x328969=_0x12b501['parentNodeId']!==null&&_0x12b501[_0x3317d5(0x1c2)]!==_0x3317d5(0x180)&&_0x12b501[_0x3317d5(0x1c2)]!=='bottom',_0x120626=_0x4472cb||_0x328969,_0x4aafd9=((_0xe67a30=_0x44009b['context'])==null?void 0x0:_0xe67a30['unitId'])===_0x47faea[_0x3317d5(0x365)][_0x3317d5(0x3d3)]&&_0x44009b['context'][_0x3317d5(0x346)]===_0x47faea[_0x3317d5(0x365)][_0x3317d5(0x346)]&&_0x44009b[_0x3317d5(0x319)][_0x3317d5(0x207)]?_0x44009b[_0x3317d5(0x319)]:[_0x47faea[_0x3317d5(0x365)][_0x3317d5(0x18a)]],_0x1cbe01=this['_buildPopupSelectionKey'](_0x47faea[_0x3317d5(0x365)][_0x3317d5(0x3d3)],_0x47faea[_0x3317d5(0x365)][_0x3317d5(0x346)],_0x4aafd9);this[_0x3317d5(0x2fc)]&&this[_0x3317d5(0x33e)]===_0x1cbe01||(this[_0x3317d5(0x3c3)](),this[_0x3317d5(0x2fc)]=this['disposeWithMe'](this[_0x3317d5(0x386)][_0x3317d5(0x310)](_0x47faea[_0x3317d5(0x365)][_0x3317d5(0x3d3)],_0x47faea[_0x3317d5(0x365)][_0x3317d5(0x346)],_0x47faea[_0x3317d5(0x33b)],{'componentKey':un,'direction':_0x3317d5(0x2e6),'offset':[0x0,0x8],..._0x120626?{'anchorBoundResolver':Pn}:null,'extraProps':{'unitId':_0x47faea[_0x3317d5(0x365)][_0x3317d5(0x3d3)],'subUnitId':_0x47faea[_0x3317d5(0x365)]['subUnitId'],'elementId':_0x47faea['elementData'][_0x3317d5(0x18a)],'scopeId':_0x12b501[_0x3317d5(0x272)],'isRootNode':_0x12b501[_0x3317d5(0x286)]===null,'left':(_0x58ee81=_0x47faea[_0x3317d5(0x365)]['element'][_0x3317d5(0x226)][_0x3317d5(0x295)])==null?0x0:_0x58ee81,'top':(_0x42124f=_0x47faea[_0x3317d5(0x365)][_0x3317d5(0x2ca)][_0x3317d5(0x226)][_0x3317d5(0x180)])==null?0x0:_0x42124f,'shapeData':_0x47faea[_0x3317d5(0x365)]['element']['type']===_0x5792f2[_0x3317d5(0x3a2)]?_0x47faea[_0x3317d5(0x365)]['element'][_0x3317d5(0x3e2)]:void 0x0,'layout':_0x33b3dd==null?void 0x0:_0x33b3dd[_0x3317d5(0x142)],'incomingConnectorStyle':this[_0x3317d5(0x38b)](_0x47faea[_0x3317d5(0x365)][_0x3317d5(0x3d3)],_0x47faea[_0x3317d5(0x365)][_0x3317d5(0x346)],_0x12b501[_0x3317d5(0x272)],_0x47faea['elementData'][_0x3317d5(0x18a)])}})),this[_0x3317d5(0x33e)]=_0x1cbe01);}['_resolveSelectedMindMapEntryFromState'](){const _0x2dd531=_0x55c788;var _0x176a6c,_0x45cb41,_0x3a2986;let _0x736330=this['_elementStateService'][_0x2dd531(0x125)](),_0x4074e7=_0x736330[_0x2dd531(0x1de)],_0x4c7086=(_0x176a6c=_0x736330[_0x2dd531(0x3a3)])==null?_0x736330['selectedIds'][0x0]:_0x176a6c;if(!_0x4074e7||!_0x4c7086)return null;let _0x40eb0f=this[_0x2dd531(0x334)][_0x2dd531(0x2a3)](_0x4074e7['unitId'],_0x4074e7['subUnitId'],_0x4c7086);if(!_0x40eb0f||!_0x4784a6(_0x40eb0f[_0x2dd531(0x2ca)]))return null;let _0x1fe2e7=_0x4f1902(_0x4074e7[_0x2dd531(0x3d3)],_0x4c7086),_0x1be874=this[_0x2dd531(0x16f)]['scene'],_0x21e9d0=(_0x45cb41=(_0x3a2986=_0x1be874[_0x2dd531(0x1a7)])==null?void 0x0:_0x3a2986[_0x2dd531(0x222)](_0x1be874,_0x1fe2e7))==null?this['_renderContext']['scene'][_0x2dd531(0x33c)](_0x1fe2e7):_0x45cb41;return _0x21e9d0?{'object':_0x21e9d0,'elementData':_0x40eb0f}:null;}[_0x55c788(0x133)](_0xaa295d){const _0x2dfd09=_0x55c788;var _0x1da8bc;if(!_0xaa295d)return null;let _0x32074b=_0x3a2add(_0xaa295d['oKey']);if(!_0x32074b)return null;let _0x38ec06=this[_0x2dfd09(0x239)][_0x2dfd09(0x125)](),_0x108445=((_0x1da8bc=_0x38ec06[_0x2dfd09(0x1de)])==null?void 0x0:_0x1da8bc[_0x2dfd09(0x3d3)])===_0x32074b[_0x2dfd09(0x3d3)]?_0x38ec06['context'][_0x2dfd09(0x346)]:void 0x0;if(!_0x108445)return null;let _0x741f66=this[_0x2dfd09(0x334)][_0x2dfd09(0x2a3)](_0x32074b[_0x2dfd09(0x3d3)],_0x108445,_0x32074b[_0x2dfd09(0x18a)]);return _0x741f66?{'object':_0xaa295d,'elementData':_0x741f66}:null;}};Fn=J([q(0x1,_0x3c575a(_0x5738bb)),q(0x2,_0x3c575a(_0x3de855)),q(0x3,_0x3c575a(_0x1f379b)),q(0x4,_0x3c575a(_0x5698aa))],Fn);const In=_0x55c788(0x3bf),Ln=_0x1ca693[_0x55c788(0x3c9)];function Rn(_0x1bd00c,_0x47edd4){const _0x307e7f=_0x55c788;return(_0x1bd00c==null?[]:_0x1bd00c)[_0x307e7f(0x1f0)]((_0x541189,_0x4aeef4)=>{const _0x241e40=_0x307e7f;var _0x1e49a7;return _0x541189[(_0x1e49a7=_0x4aeef4[_0x241e40(0x1c2)])==null?_0x47edd4:_0x1e49a7][_0x241e40(0x3b7)](_0x4aeef4),_0x541189;},{'left':[],'right':[],'top':[],'bottom':[]});}function zn(_0x3ab8cb){const _0x306fa0=_0x55c788;return _0x3ab8cb===_0x306fa0(0x31e)||_0x3ab8cb==='tree-right'||_0x3ab8cb===_0x306fa0(0x35c);}function Bn(_0x12104a){return _0x12104a==='timeline-horizontal'||_0x12104a==='timeline-vertical';}function Vn(_0x314650,_0x3dd34b,_0x51461c){const _0x21351e=_0x55c788;return _0x51461c===_0x21351e(0x31e)?'left':_0x51461c==='tree-right'?_0x21351e(0x338):_0x314650[_0x21351e(0x1c2)]===_0x21351e(0x295)||_0x314650[_0x21351e(0x1c2)]==='right'?_0x314650[_0x21351e(0x1c2)]:_0x3dd34b%0x2==0x0?_0x21351e(0x295):'right';}function Hn(_0x2757ab,_0x4705f7){const _0x5957a1=_0x55c788;var _0xd7c1ec,_0x3044d6;return(_0xd7c1ec=(_0x3044d6=_0x4705f7==null?void 0x0:_0x4705f7['root'][_0x5957a1(0x15d)])==null?_0x2757ab:_0x3044d6)==null?[]:_0xd7c1ec;}var Un=class extends _0x52c324{constructor(_0x310d3b=In,_0x34cf19){const _0xf23338=_0x55c788;super(_0x310d3b),K(this,_0xf23338(0x35e),{'point':null,'children':[]}),this[_0xf23338(0x349)]=!0x1,this[_0xf23338(0x297)]=_0x464afb['transientPreview'],this['updateState'](_0x34cf19);}[_0x55c788(0x34f)](_0xd84b08){const _0x45ab33=_0x55c788;this[_0x45ab33(0x35e)]={...this[_0x45ab33(0x35e)],..._0xd84b08},this[_0x45ab33(0x35e)]['point']?this[_0x45ab33(0x155)]():this[_0x45ab33(0x2fb)](),this[_0x45ab33(0x3d7)](!0x0);}[_0x55c788(0x218)](_0x4337e6){return!0x1;}[_0x55c788(0x1c3)](_0x1499d4,_0x5be773){const _0x12a287=_0x55c788;var _0x4ea30d;let _0x595317=this[_0x12a287(0x35e)][_0x12a287(0x1c4)];if(!_0x595317||!this[_0x12a287(0x20f)])return this['makeDirty'](!0x1),this;let _0x366ff9=Number['isFinite'](this[_0x12a287(0x35e)][_0x12a287(0x3cc)])&&((_0x4ea30d=this[_0x12a287(0x35e)][_0x12a287(0x3cc)])==null?0x0:_0x4ea30d)>0x0?this[_0x12a287(0x35e)][_0x12a287(0x3cc)]:0x1,_0x1b1277=_0x3c97d3[_0x12a287(0x283)],_0x20989a=_0x3c97d3[_0x12a287(0x1e7)],_0x5d3043=_0x3c97d3[_0x12a287(0x380)],_0x213667=_0x3c97d3['nodeHeight'],_0x508752=_0xb4769e[_0x12a287(0x321)],_0x3e952b=_0xb4769e[_0x12a287(0x225)],_0x1f0c31=this['_state'][_0x12a287(0x32f)]==='mindmap-vertical',_0x5b909a=Rn(this['_state'][_0x12a287(0x15d)],_0x1f0c31?_0x12a287(0x373):'right'),_0x4a04a0=_0x595317['x']-_0x1b1277/0x2,_0x55e9fd=_0x595317['y']-_0x20989a/0x2;if(_0x1499d4['save'](),_0x1499d4[_0x12a287(0x137)]=X['objectAlpha'],_0x1499d4[_0x12a287(0x390)]=X[_0x12a287(0x221)]/_0x366ff9,_0x1499d4[_0x12a287(0x3aa)]=X[_0x12a287(0x3ae)],Bn(this[_0x12a287(0x35e)][_0x12a287(0x32f)])){let _0x574724=Hn(this['_state'][_0x12a287(0x15d)],this[_0x12a287(0x35e)][_0x12a287(0x34b)]),_0x3be2ed=this['_state'][_0x12a287(0x32f)]==='timeline-horizontal';if(_0x574724[_0x12a287(0x207)]>0x0){if(_0x1499d4[_0x12a287(0x300)](),_0x3be2ed){let _0x3d335e=_0x5d3043,_0x8fae54=_0x213667,_0x558edd=_0xb4769e[_0x12a287(0x2e7)],_0x4fe55f=_0x595317['y'],_0x5ae72a=_0x4a04a0+_0x1b1277,_0x5a89a5=_0x595317['y']-_0x8fae54/0x2,_0x437af2=_0x4a04a0+_0x1b1277+_0x558edd;_0x1499d4[_0x12a287(0x2f0)](_0x5ae72a,_0x4fe55f),_0x1499d4[_0x12a287(0x2f2)](_0x437af2,_0x4fe55f),_0x574724[_0x12a287(0x123)]((_0x5bda67,_0x1ca04c)=>{const _0x5b52ec=_0x12a287;let _0x18203e=_0x437af2+_0x1ca04c*(_0x3d335e+_0x558edd);if(_0x1ca04c>0x0){let _0x290889=_0x437af2+(_0x1ca04c-0x1)*(_0x3d335e+_0x558edd)+_0x3d335e;_0x1499d4['moveTo'](_0x290889,_0x4fe55f),_0x1499d4[_0x5b52ec(0x2f2)](_0x18203e,_0x4fe55f);}_0x1499d4[_0x5b52ec(0x2f0)](_0x18203e,_0x4fe55f),_0x1499d4[_0x5b52ec(0x2f2)](_0x18203e+_0x3d335e,_0x4fe55f);}),_0x1499d4[_0x12a287(0x1b4)](),_0x574724[_0x12a287(0x123)]((_0x52aa5d,_0x2d71cc)=>{const _0x3f9490=_0x12a287;Z(_0x1499d4,_0x437af2+_0x2d71cc*(_0x3d335e+_0x558edd),_0x5a89a5,_0x3d335e,_0x8fae54,X[_0x3f9490(0x2dd)]),_0x1499d4[_0x3f9490(0x2c2)]=X[_0x3f9490(0x369)],_0x1499d4[_0x3f9490(0x234)](),_0x1499d4[_0x3f9490(0x1b4)]();}),_0x574724['forEach']((_0x1cec0c,_0x14a37d)=>{const _0xc4ed61=_0x12a287;if(!('children'in _0x1cec0c)||_0x1cec0c['children'][_0xc4ed61(0x207)]===0x0)return;let _0xcb72ec=_0x437af2+_0x14a37d*(_0x3d335e+_0x558edd),_0x741582=_0xcb72ec+_0x3d335e/0x2,_0x3c4b98=_0x1cec0c[_0xc4ed61(0x1c2)]===_0xc4ed61(0x373)?_0xc4ed61(0x373):'top',_0x244bf6=_0x1cec0c[_0xc4ed61(0x15d)][_0xc4ed61(0x1dd)](0x0,0x2),_0x3e0e90=_0x244bf6[_0xc4ed61(0x207)]*_0x8fae54+Math[_0xc4ed61(0x20a)](0x0,_0x244bf6[_0xc4ed61(0x207)]-0x1)*_0x3e952b,_0x51fb84=_0xcb72ec+_0x3d335e+_0xb4769e['branchGap'],_0x3dd4fd=_0x3c4b98==='top'?_0x5a89a5-_0x508752-_0x3e0e90:_0x5a89a5+_0x8fae54+_0x508752,_0x4ea643=_0x3dd4fd+_0x3e0e90/0x2;_0x1499d4[_0xc4ed61(0x300)](),_0x1499d4['moveTo'](_0x741582,_0x3c4b98==='top'?_0x5a89a5:_0x5a89a5+_0x8fae54),_0x1499d4[_0xc4ed61(0x2f2)](_0x741582,_0x4ea643),_0x1499d4[_0xc4ed61(0x2f2)](_0x51fb84,_0x4ea643),_0x244bf6[_0xc4ed61(0x123)]((_0x27a87f,_0x580878)=>{const _0x563e5e=_0xc4ed61;let _0x1cffc6=_0x3dd4fd+_0x580878*(_0x8fae54+_0x3e952b)+_0x8fae54/0x2;_0x1499d4[_0x563e5e(0x2f0)](_0x51fb84,_0x1cffc6),_0x1499d4[_0x563e5e(0x2f2)](_0x51fb84+_0x3d335e,_0x1cffc6);}),_0x1499d4[_0xc4ed61(0x1b4)](),_0x244bf6[_0xc4ed61(0x123)]((_0x702c3b,_0x344e2a)=>{const _0x181716=_0xc4ed61;Z(_0x1499d4,_0x51fb84,_0x3dd4fd+_0x344e2a*(_0x8fae54+_0x3e952b),_0x3d335e,_0x8fae54,X[_0x181716(0x2dd)]),_0x1499d4['fillStyle']=X[_0x181716(0x369)],_0x1499d4['fill'](),_0x1499d4[_0x181716(0x1b4)]();});});}else{let _0x4cc4bc=_0x595317['x'],_0x5ee881=_0x55e9fd+_0x20989a,_0x20e63d=_0xb4769e[_0x12a287(0x2e7)],_0x3fbada=_0x55e9fd+_0x20989a+_0x20e63d,_0x42569e=_0x3fbada+(_0x574724['length']-0x1)*(_0x213667+_0x20e63d)+_0x213667/0x2;_0x1499d4['moveTo'](_0x4cc4bc,_0x5ee881),_0x1499d4['lineTo'](_0x4cc4bc,_0x42569e),_0x574724[_0x12a287(0x123)]((_0xad259f,_0x55db03)=>{const _0x55249d=_0x12a287;let _0x3a38b8=_0x3fbada+_0x55db03*(_0x213667+_0x20e63d)+_0x213667/0x2,_0x465891=_0xad259f[_0x55249d(0x1c2)]===_0x55249d(0x338)?_0x55249d(0x338):_0x55249d(0x295),_0x426ac7=_0x465891===_0x55249d(0x338)?_0x4cc4bc+_0xb4769e[_0x55249d(0x26d)]:_0x4cc4bc-_0xb4769e[_0x55249d(0x26d)]-_0x5d3043,_0x37d54e=_0x465891===_0x55249d(0x338)?_0x426ac7:_0x426ac7+_0x5d3043;_0x1499d4[_0x55249d(0x2f0)](_0x4cc4bc,_0x3a38b8),_0x1499d4[_0x55249d(0x2f2)](_0x37d54e,_0x3a38b8);}),_0x1499d4['stroke'](),_0x574724[_0x12a287(0x123)]((_0x3a7c26,_0x6f29b)=>{const _0xe17844=_0x12a287;let _0xfedfac=_0x3fbada+_0x6f29b*(_0x213667+_0x20e63d);Z(_0x1499d4,(_0x3a7c26[_0xe17844(0x1c2)]===_0xe17844(0x338)?_0xe17844(0x338):'left')==_0xe17844(0x338)?_0x4cc4bc+_0xb4769e[_0xe17844(0x26d)]:_0x4cc4bc-_0xb4769e[_0xe17844(0x26d)]-_0x5d3043,_0xfedfac,_0x5d3043,_0x213667,X[_0xe17844(0x2dd)]),_0x1499d4[_0xe17844(0x2c2)]=X['ghostFillColor'],_0x1499d4[_0xe17844(0x234)](),_0x1499d4[_0xe17844(0x1b4)]();}),_0x574724[_0x12a287(0x123)]((_0x47e175,_0x1178a5)=>{const _0x450c1c=_0x12a287;if(!(_0x450c1c(0x15d)in _0x47e175)||_0x47e175[_0x450c1c(0x15d)][_0x450c1c(0x207)]===0x0)return;let _0x544d92=_0x3fbada+_0x1178a5*(_0x213667+_0x20e63d)+_0x213667/0x2,_0x3e091c=_0x47e175['side']===_0x450c1c(0x338)?_0x450c1c(0x338):'left',_0x564fef=_0x47e175[_0x450c1c(0x15d)][_0x450c1c(0x1dd)](0x0,0x2),_0x5008d1=_0x564fef[_0x450c1c(0x207)]*_0x213667+Math[_0x450c1c(0x20a)](0x0,_0x564fef[_0x450c1c(0x207)]-0x1)*_0x3e952b,_0x2c7c09=_0x3e091c==='right'?_0x4cc4bc+_0xb4769e[_0x450c1c(0x26d)]:_0x4cc4bc-_0xb4769e[_0x450c1c(0x26d)]-_0x5d3043,_0x146e60=_0x3e091c==='right'?_0x2c7c09+_0x5d3043+_0x508752:_0x2c7c09-_0x508752-_0x5d3043,_0x35da0a=_0x544d92-_0x5008d1/0x2,_0xf0e8b2=_0x3e091c===_0x450c1c(0x338)?_0x2c7c09+_0x5d3043:_0x2c7c09,_0x1303cc=_0x3e091c===_0x450c1c(0x338)?_0x146e60:_0x146e60+_0x5d3043;_0x1499d4[_0x450c1c(0x300)](),_0x1499d4[_0x450c1c(0x2f0)](_0xf0e8b2,_0x544d92),_0x1499d4[_0x450c1c(0x2f2)](_0x1303cc,_0x544d92),_0x564fef[_0x450c1c(0x123)]((_0x8c0c15,_0x578312)=>{const _0x4a0d60=_0x450c1c;let _0x5dbb3f=_0x35da0a+_0x578312*(_0x213667+_0x3e952b)+_0x213667/0x2;_0x1499d4[_0x4a0d60(0x2f0)](_0x1303cc,_0x5dbb3f),_0x1499d4[_0x4a0d60(0x2f2)](_0x3e091c===_0x4a0d60(0x338)?_0x146e60+_0x5d3043:_0x146e60,_0x5dbb3f);}),_0x1499d4[_0x450c1c(0x1b4)](),_0x564fef[_0x450c1c(0x123)]((_0x35b2b3,_0x1159db)=>{const _0x75b871=_0x450c1c;Z(_0x1499d4,_0x146e60,_0x35da0a+_0x1159db*(_0x213667+_0x3e952b),_0x5d3043,_0x213667,X[_0x75b871(0x2dd)]),_0x1499d4[_0x75b871(0x2c2)]=X['ghostFillColor'],_0x1499d4[_0x75b871(0x234)](),_0x1499d4[_0x75b871(0x1b4)]();});});}}}else{if(zn(this['_state'][_0x12a287(0x32f)])){var _0x1f28ac;let _0x1d49e2=(_0x1f28ac=this[_0x12a287(0x35e)]['children'])==null?[]:_0x1f28ac,_0x48c03a=_0x55e9fd+_0x20989a,_0x3c209c=_0x48c03a+_0x508752,_0x2ce6bd=_0x595317['x'];if(_0x1d49e2['length']>0x0){let _0x2cbb52=_0x3c209c+(_0x1d49e2[_0x12a287(0x207)]-0x1)*(_0x213667+_0x3e952b)+_0x213667/0x2;_0x1499d4[_0x12a287(0x300)](),_0x1499d4[_0x12a287(0x2f0)](_0x2ce6bd,_0x48c03a),_0x1499d4[_0x12a287(0x2f2)](_0x2ce6bd,_0x2cbb52),_0x1d49e2[_0x12a287(0x123)]((_0x152dcf,_0x13d6d9)=>{const _0x27a23c=_0x12a287;let _0x269206=Vn(_0x152dcf,_0x13d6d9,this[_0x27a23c(0x35e)]['structureKind']),_0x25660c=_0x3c209c+_0x13d6d9*(_0x213667+_0x3e952b),_0x473793=_0x269206===_0x27a23c(0x338)?_0x2ce6bd+_0x508752:_0x2ce6bd-_0x508752-_0x5d3043,_0x27d428=_0x25660c+_0x213667/0x2;_0x1499d4['moveTo'](_0x2ce6bd,_0x27d428),_0x1499d4['lineTo'](_0x269206==='right'?_0x473793:_0x473793+_0x5d3043,_0x27d428);}),_0x1499d4['stroke'](),_0x1d49e2['forEach']((_0x1d14a4,_0x812b6d)=>{const _0x2f72e0=_0x12a287;let _0x363be7=Vn(_0x1d14a4,_0x812b6d,this[_0x2f72e0(0x35e)]['structureKind']),_0x55c613=_0x3c209c+_0x812b6d*(_0x213667+_0x3e952b);Z(_0x1499d4,_0x363be7===_0x2f72e0(0x338)?_0x2ce6bd+_0x508752:_0x2ce6bd-_0x508752-_0x5d3043,_0x55c613,_0x5d3043,_0x213667,X['ghostRadius']),_0x1499d4['fillStyle']=X[_0x2f72e0(0x369)],_0x1499d4[_0x2f72e0(0x234)](),_0x1499d4[_0x2f72e0(0x1b4)]();});}}else _0x1f0c31&&['top',_0x12a287(0x373)]['forEach'](_0x47c947=>{const _0x4d3463=_0x12a287;let _0x3c04c0=_0x5b909a[_0x47c947];if(_0x3c04c0[_0x4d3463(0x207)]===0x0)return;let _0x598cc2=_0x3c04c0[_0x4d3463(0x207)]*_0x5d3043+Math[_0x4d3463(0x20a)](0x0,_0x3c04c0['length']-0x1)*_0x3e952b,_0x2d4896=_0x595317['x']-_0x598cc2/0x2,_0x54ce38=_0x47c947===_0x4d3463(0x373)?_0x55e9fd+_0x20989a:_0x55e9fd,_0x343145=_0x47c947===_0x4d3463(0x373)?_0x54ce38+_0xb4769e[_0x4d3463(0x26d)]:_0x54ce38-_0xb4769e['branchGap'],_0x2941e5=_0x47c947===_0x4d3463(0x373)?_0x55e9fd+_0x20989a+_0x508752:_0x55e9fd-_0x508752-_0x213667;_0x1499d4[_0x4d3463(0x300)](),_0x1499d4['moveTo'](_0x595317['x'],_0x54ce38),_0x1499d4[_0x4d3463(0x2f2)](_0x595317['x'],_0x343145),_0x3c04c0[_0x4d3463(0x207)]>0x1&&(_0x1499d4[_0x4d3463(0x2f0)](_0x2d4896+_0x5d3043/0x2,_0x343145),_0x1499d4['lineTo'](_0x2d4896+_0x598cc2-_0x5d3043/0x2,_0x343145)),_0x3c04c0[_0x4d3463(0x123)]((_0x566c23,_0x38f394)=>{const _0x116c59=_0x4d3463;let _0x36f2f2=_0x2d4896+_0x38f394*(_0x5d3043+_0x3e952b)+_0x5d3043/0x2;_0x1499d4[_0x116c59(0x2f0)](_0x36f2f2,_0x343145),_0x1499d4[_0x116c59(0x2f2)](_0x36f2f2,_0x47c947===_0x116c59(0x373)?_0x2941e5:_0x2941e5+_0x213667);}),_0x1499d4[_0x4d3463(0x1b4)](),_0x3c04c0['forEach']((_0x26cff3,_0x556f78)=>{const _0x9a77a9=_0x4d3463;Z(_0x1499d4,_0x2d4896+_0x556f78*(_0x5d3043+_0x3e952b),_0x2941e5,_0x5d3043,_0x213667,X[_0x9a77a9(0x2dd)]),_0x1499d4[_0x9a77a9(0x2c2)]=X[_0x9a77a9(0x369)],_0x1499d4[_0x9a77a9(0x234)](),_0x1499d4['stroke']();});});}(_0x1f0c31||zn(this[_0x12a287(0x35e)][_0x12a287(0x32f)])||Bn(this[_0x12a287(0x35e)][_0x12a287(0x32f)])?[]:[_0x12a287(0x295),_0x12a287(0x338)])[_0x12a287(0x123)](_0x328466=>{const _0x1cb83f=_0x12a287;let _0x27b1ff=_0x5b909a[_0x328466];if(_0x27b1ff[_0x1cb83f(0x207)]===0x0)return;let _0x5c9afc=_0x27b1ff[_0x1cb83f(0x207)]*_0x213667+Math['max'](0x0,_0x27b1ff[_0x1cb83f(0x207)]-0x1)*_0x3e952b,_0x29000e=_0x595317['y']-_0x5c9afc/0x2,_0x4982ae=_0x328466===_0x1cb83f(0x338)?_0x4a04a0+_0x1b1277:_0x4a04a0,_0x1d2c6a=_0x328466===_0x1cb83f(0x338)?_0x4982ae+_0xb4769e[_0x1cb83f(0x26d)]:_0x4982ae-_0xb4769e['branchGap'],_0x26b7d9=_0x328466===_0x1cb83f(0x338)?_0x4a04a0+_0x1b1277+_0x508752:_0x4a04a0-_0x508752-_0x5d3043;_0x1499d4['beginPath'](),_0x1499d4['moveTo'](_0x4982ae,_0x595317['y']),_0x1499d4[_0x1cb83f(0x2f2)](_0x1d2c6a,_0x595317['y']),_0x27b1ff['length']>0x1&&(_0x1499d4['moveTo'](_0x1d2c6a,_0x29000e+_0x213667/0x2),_0x1499d4['lineTo'](_0x1d2c6a,_0x29000e+_0x5c9afc-_0x213667/0x2)),_0x27b1ff['forEach']((_0x2c0119,_0x59a6f0)=>{const _0x3dad89=_0x1cb83f;let _0x2f4d8a=_0x29000e+_0x59a6f0*(_0x213667+_0x3e952b)+_0x213667/0x2;_0x1499d4[_0x3dad89(0x2f0)](_0x1d2c6a,_0x2f4d8a),_0x1499d4[_0x3dad89(0x2f2)](_0x328466===_0x3dad89(0x338)?_0x26b7d9:_0x26b7d9+_0x5d3043,_0x2f4d8a);}),_0x1499d4[_0x1cb83f(0x1b4)](),_0x27b1ff[_0x1cb83f(0x123)]((_0x280a1a,_0x3ba733)=>{const _0x521fde=_0x1cb83f;Z(_0x1499d4,_0x26b7d9,_0x29000e+_0x3ba733*(_0x213667+_0x3e952b),_0x5d3043,_0x213667,X[_0x521fde(0x2dd)]),_0x1499d4[_0x521fde(0x2c2)]=X[_0x521fde(0x369)],_0x1499d4['fill'](),_0x1499d4[_0x521fde(0x1b4)]();});}),Z(_0x1499d4,_0x4a04a0,_0x55e9fd,_0x1b1277,_0x20989a,X[_0x12a287(0x3be)]),_0x1499d4[_0x12a287(0x2c2)]=X[_0x12a287(0x3ae)],_0x1499d4[_0x12a287(0x234)](),_0x1499d4[_0x12a287(0x1b4)](),_0x1499d4['fillStyle']=X[_0x12a287(0x38f)],_0x1499d4['font']=Pt(X[_0x12a287(0x306)],X[_0x12a287(0x148)],_0x366ff9),_0x1499d4['textAlign']=_0x12a287(0x173),_0x1499d4[_0x12a287(0x1ba)]=_0x12a287(0x1cc);let _0x5ca618=X['textPaddingScreen']/_0x366ff9;return _0x1499d4['fillText'](_0x3d4bdb,_0x595317['x'],_0x595317['y'],Math[_0x12a287(0x20a)](0x1,_0x1b1277-_0x5ca618*0x2)),_0x1499d4['restore'](),this['makeDirty'](!0x1),this;}};const Wn={'children':[{'text':_0x3d4bdb,'orderKey':_0x514ba9(0x0),'side':_0x55c788(0x338)},{'text':_0x3d4bdb,'orderKey':_0x514ba9(0x1),'side':'right'},{'text':_0x3d4bdb,'orderKey':_0x514ba9(0x2),'side':_0x55c788(0x338)}]};var Gn=class extends _0x4ac1ec{constructor(..._0x3676ad){const _0x357f72=_0x55c788;super(..._0x3676ad),K(this,_0x357f72(0x175),Wn);}[_0x55c788(0x1fc)](_0x2699cf){const _0x3a370b=_0x55c788;var _0x11493f,_0x80a057;let _0x5929a8=(_0x11493f=_0x2699cf==null?void 0x0:_0x2699cf['children'])==null?_0x2699cf==null||(_0x80a057=_0x2699cf[_0x3a370b(0x34b)])==null?void 0x0:_0x80a057['root'][_0x3a370b(0x15d)]:_0x11493f;this[_0x3a370b(0x175)]={'rootText':_0x2699cf==null?void 0x0:_0x2699cf[_0x3a370b(0x16e)],'structureKind':_0x2699cf==null?void 0x0:_0x2699cf[_0x3a370b(0x32f)],'branchLineType':_0x2699cf==null?void 0x0:_0x2699cf[_0x3a370b(0x159)],'children':this[_0x3a370b(0x1d8)](_0x5929a8,_0x2699cf==null?void 0x0:_0x2699cf['structureKind']),'blueprint':_0x2699cf!=null&&_0x2699cf[_0x3a370b(0x34b)]?this[_0x3a370b(0x32a)](_0x2699cf['blueprint']):void 0x0};}[_0x55c788(0x23d)](){const _0x4c3bd0=_0x55c788;var _0x551d53;return{'rootText':this[_0x4c3bd0(0x175)][_0x4c3bd0(0x16e)],'structureKind':this[_0x4c3bd0(0x175)][_0x4c3bd0(0x32f)],'branchLineType':this[_0x4c3bd0(0x175)][_0x4c3bd0(0x159)],'children':(_0x551d53=this[_0x4c3bd0(0x175)][_0x4c3bd0(0x15d)])==null?void 0x0:_0x551d53['map'](_0x41103c=>({..._0x41103c})),'blueprint':this['_template'][_0x4c3bd0(0x34b)]?this[_0x4c3bd0(0x32a)](this['_template'][_0x4c3bd0(0x34b)]):void 0x0};}[_0x55c788(0x32a)](_0x1beaa6){const _0x3b071e=_0x55c788;return{'title':_0x1beaa6[_0x3b071e(0x34e)],'root':this[_0x3b071e(0x3b3)](_0x1beaa6[_0x3b071e(0x3a8)])};}['_cloneBlueprintNode'](_0x24a605){const _0x1f1050=_0x55c788;return{..._0x24a605,'foreignAttributes':_0x24a605[_0x1f1050(0x399)]?{..._0x24a605[_0x1f1050(0x399)]}:void 0x0,'children':_0x24a605[_0x1f1050(0x15d)]['map'](_0x16e6a8=>this['_cloneBlueprintNode'](_0x16e6a8))};}[_0x55c788(0x1d8)](_0x56e367,_0x4b1da3){const _0x100880=_0x55c788;let _0x5936cf=!_0x56e367,_0x7ffd9e=_0x56e367==null?Wn[_0x100880(0x15d)]:_0x56e367;return _0x7ffd9e==null?void 0x0:_0x7ffd9e[_0x100880(0x1f6)]((_0x11aed6,_0x19365f)=>{const _0x45e2ee=_0x100880;var _0x12e5ff;return{..._0x11aed6,'text':(_0x12e5ff=_0x11aed6[_0x45e2ee(0x309)])==null?_0x3d4bdb:_0x12e5ff,'side':this[_0x45e2ee(0x15b)](_0x11aed6['side'],_0x19365f,_0x4b1da3,_0x5936cf)};});}[_0x55c788(0x15b)](_0x2bc612,_0x2b5ab6,_0x4edb2d,_0x545291){const _0xf64865=_0x55c788;return _0x4edb2d==='mindmap-vertical'?_0x545291||_0x2bc612==null?_0xf64865(0x373):_0x2bc612:_0x4edb2d===_0xf64865(0x31e)?_0x545291||_0x2bc612==null?_0xf64865(0x295):_0x2bc612:_0x4edb2d==='tree-right'?_0x545291||_0x2bc612==null?_0xf64865(0x338):_0x2bc612:_0x4edb2d===_0xf64865(0x35c)?_0x545291||_0x2bc612==null?_0x2b5ab6%0x2==0x0?_0xf64865(0x295):'right':_0x2bc612:_0x4edb2d===_0xf64865(0x232)?_0x545291||_0x2bc612==null?_0x2b5ab6%0x2==0x0?_0xf64865(0x180):_0xf64865(0x373):_0x2bc612:_0x4edb2d===_0xf64865(0x33a)&&(_0x545291||_0x2bc612==null)?_0x2b5ab6%0x2==0x0?'left':'right':_0x2bc612;}};function Kn(_0x3c3cf4,_0x20cd5f){const _0x2a4234=_0x55c788;let _0x3bdc58=Number[_0x2a4234(0x273)](_0x20cd5f[_0x2a4234(0x3cc)])&&_0x20cd5f['zoomRatio']>0x0?_0x20cd5f[_0x2a4234(0x3cc)]:0x1;return{'x':Math['round']((_0x3c3cf4['offsetX']-_0x20cd5f[_0x2a4234(0x2cf)]['x'])/_0x3bdc58),'y':Math['round']((_0x3c3cf4[_0x2a4234(0x368)]-_0x20cd5f['panOffset']['y'])/_0x3bdc58)};}function qn(_0x13f06a){const _0x3f146f=_0x55c788;var _0xa17a72;if(_0x13f06a!=null&&_0x13f06a[_0x3f146f(0x3c5)]){_0x13f06a[_0x3f146f(0x3c5)]();return;}_0x13f06a==null||(_0xa17a72=_0x13f06a[_0x3f146f(0x236)])==null||_0xa17a72[_0x3f146f(0x222)](_0x13f06a);}function Jn(_0x489381){const _0x26340f=_0x55c788;var _0x4c3adc;return _0x489381[_0x26340f(0x262)]===_0x448177[_0x26340f(0x288)]&&((_0x4c3adc=_0x489381[_0x26340f(0x29e)])==null?void 0x0:_0x4c3adc[_0x26340f(0x12a)])===_0x448177['MindMap'];}let Yn=class extends _0x4c4ffe{constructor(_0x3aaaae,_0x19e335,_0x5c7ce1,_0xd132fa,_0x1192c4,_0x2c01c8,_0x59a681){const _0x3f87e4=_0x55c788;super(),this[_0x3f87e4(0x16f)]=_0x3aaaae,this[_0x3f87e4(0x1fa)]=_0x19e335,this[_0x3f87e4(0x1d6)]=_0x5c7ce1,this['_commandService']=_0xd132fa,this[_0x3f87e4(0x25f)]=_0x1192c4,this[_0x3f87e4(0x239)]=_0x2c01c8,this[_0x3f87e4(0x3a4)]=_0x59a681,K(this,'_previewObject',null),K(this,_0x3f87e4(0x328),null),this[_0x3f87e4(0x25a)]();}[_0x55c788(0x25a)](){const _0x2ee549=_0x55c788;var _0x3c9277;let {scene:_0x2066d7,unitId:_0x19e9f0}=this[_0x2ee549(0x16f)],_0x5c11be=this[_0x2ee549(0x1fa)][_0x2ee549(0x161)](_0x19e9f0,_0x42e936['UNIVER_BOARD']);if(!_0x5c11be)return;let _0x475fc5=(_0x3c9277=_0x2066d7[_0x2ee549(0x27c)])==null?void 0x0:_0x3c9277['subscribeEvent']((_0x11b5dd,_0x49d473)=>{this['_handlePointerMove'](_0x11b5dd,_0x49d473);}),_0x59bc8e=_0x2066d7[_0x2ee549(0x14a)][_0x2ee549(0x1ed)]((_0x5d099b,_0x2fd06e)=>{const _0x30f099=_0x2ee549;this[_0x30f099(0x393)](_0x5c11be,_0x5d099b,_0x2fd06e);});this[_0x2ee549(0x367)](_0x1e5fe4(()=>qn(_0x475fc5))),this[_0x2ee549(0x367)](_0x1e5fe4(()=>qn(_0x59bc8e)));let _0x58d8e0=this[_0x2ee549(0x1d6)]['state$'][_0x2ee549(0x304)](()=>{const _0x24ad54=_0x2ee549;this[_0x24ad54(0x162)](),this[_0x24ad54(0x339)]();});this[_0x2ee549(0x367)](_0x1e5fe4(()=>qn(_0x58d8e0))),this['disposeWithMe'](_0x1e5fe4(()=>{const _0x3e4e6e=_0x2ee549;_0x2066d7[_0x3e4e6e(0x25e)](),this['_removePreviewObject']();})),this[_0x2ee549(0x162)](),this[_0x2ee549(0x339)]();}[_0x55c788(0x162)](){const _0x3e4a34=_0x55c788;Jn(this[_0x3e4a34(0x1d6)][_0x3e4a34(0x3d8)]())?this['_renderContext'][_0x3e4a34(0x3d4)]['disableObjectsEvent']():this['_renderContext'][_0x3e4a34(0x3d4)][_0x3e4a34(0x25e)]();}[_0x55c788(0x339)](){const _0x534b0e=_0x55c788;var _0x411018,_0x2f637c;let _0x377e2a=this[_0x534b0e(0x1d6)][_0x534b0e(0x3d8)]();if(!Jn(_0x377e2a)){this[_0x534b0e(0x2c1)]();return;}let _0x42d4dd=this[_0x534b0e(0x25b)](),_0x4c241c=this[_0x534b0e(0x25f)][_0x534b0e(0x23d)]();_0x42d4dd['updateState']({'point':this['_lastPoint'],'structureKind':_0x4c241c[_0x534b0e(0x32f)],'children':_0x4c241c[_0x534b0e(0x15d)],'blueprint':_0x4c241c[_0x534b0e(0x34b)],'zoomRatio':_0x377e2a['zoomRatio']}),(_0x411018=(_0x2f637c=this[_0x534b0e(0x16f)][_0x534b0e(0x3d4)])[_0x534b0e(0x3d7)])==null||_0x411018[_0x534b0e(0x222)](_0x2f637c,!0x0);}['_ensurePreviewObject'](){const _0x265548=_0x55c788;var _0x46b594,_0x3ea8e3;if(this['_previewObject'])return this[_0x265548(0x38e)];let _0x34261c=this[_0x265548(0x25f)][_0x265548(0x23d)](),_0x3ff8f8=new Un(In,{'point':this[_0x265548(0x328)],'structureKind':_0x34261c[_0x265548(0x32f)],'children':_0x34261c[_0x265548(0x15d)],'blueprint':_0x34261c[_0x265548(0x34b)],'zoomRatio':this[_0x265548(0x1d6)][_0x265548(0x3d8)]()['zoomRatio']});return this['_previewObject']=_0x3ff8f8,(_0x46b594=(_0x3ea8e3=this[_0x265548(0x16f)][_0x265548(0x3d4)])[_0x265548(0x13f)])==null||_0x46b594[_0x265548(0x222)](_0x3ea8e3,_0x3ff8f8,Ln),_0x3ff8f8;}[_0x55c788(0x2c1)](){const _0xe74c7=_0x55c788;var _0x6f7a83,_0x782a18,_0x19ca71,_0x5cc00b;if(!this[_0xe74c7(0x38e)]){this[_0xe74c7(0x328)]=null;return;}(_0x6f7a83=(_0x782a18=this['_renderContext'][_0xe74c7(0x3d4)])[_0xe74c7(0x247)])==null||_0x6f7a83[_0xe74c7(0x222)](_0x782a18,[this[_0xe74c7(0x38e)]]),this[_0xe74c7(0x38e)]=null,this[_0xe74c7(0x328)]=null,(_0x19ca71=(_0x5cc00b=this[_0xe74c7(0x16f)][_0xe74c7(0x3d4)])[_0xe74c7(0x3d7)])==null||_0x19ca71[_0xe74c7(0x222)](_0x5cc00b,!0x0);}['_getPointFromEvent'](_0x245eb3){const _0x4cb926=_0x55c788;let _0xabf2f7=this[_0x4cb926(0x1d6)][_0x4cb926(0x3d8)]();return Kn(_0x245eb3,{'panOffset':_0xabf2f7[_0x4cb926(0x318)],'zoomRatio':_0xabf2f7[_0x4cb926(0x3cc)]});}[_0x55c788(0x3bd)](_0x1ff866){const _0x3ff27a=_0x55c788;return{'left':Math['round'](_0x1ff866['x']-_0x3c97d3['rootWidth']/0x2),'top':Math[_0x3ff27a(0x31c)](_0x1ff866['y']-_0x3c97d3['rootHeight']/0x2)};}[_0x55c788(0x2a5)](_0x78ecb5,_0x20e2bc){const _0xba9cf=_0x55c788;Jn(this['_stateService'][_0xba9cf(0x3d8)]())&&(this[_0xba9cf(0x328)]=this[_0xba9cf(0x31f)](_0x78ecb5),this[_0xba9cf(0x339)](),_0x20e2bc[_0xba9cf(0x2d4)]());}[_0x55c788(0x393)](_0x5d40c7,_0x14a3dd,_0x36e8f6){const _0x10a17c=_0x55c788;var _0x3d9a6b,_0x17b540;let _0x1145d1=this[_0x10a17c(0x1d6)][_0x10a17c(0x3d8)](),_0x3bb19f=(_0x3d9a6b=_0x14a3dd['button'])==null?0x0:_0x3d9a6b;if(!Jn(_0x1145d1)||_0x3bb19f!==0x0)return;let _0xa10f9d=this[_0x10a17c(0x31f)](_0x14a3dd),_0x5ba938=this[_0x10a17c(0x3bd)](_0xa10f9d),_0x24cee5=this[_0x10a17c(0x25f)][_0x10a17c(0x23d)](),_0x17265d=_0x31e651(0x6),_0x73afd6=_0x5d40c7[_0x10a17c(0x290)](),_0xda9d61=this[_0x10a17c(0x22a)][_0x10a17c(0x12e)](_0x5ea1c3['id'],{'unitId':this['_renderContext'][_0x10a17c(0x3d3)],'subUnitId':_0x73afd6,'left':_0x5ba938[_0x10a17c(0x295)],'top':_0x5ba938[_0x10a17c(0x180)],'rootNodeId':_0x17265d,'rootText':_0x24cee5['rootText'],'structureKind':_0x24cee5[_0x10a17c(0x32f)],'branchLineType':_0x24cee5['branchLineType'],'children':_0x24cee5[_0x10a17c(0x15d)],'blueprint':_0x24cee5[_0x10a17c(0x34b)]});Promise['resolve'](_0xda9d61)[_0x10a17c(0x2e2)](_0xb4abd2=>{const _0x534d37=_0x10a17c;if(!_0xb4abd2)return;let _0x2e4d44={'unitId':this[_0x534d37(0x16f)]['unitId'],'subUnitId':_0x73afd6};this[_0x534d37(0x239)][_0x534d37(0x379)](_0x2e4d44,[_0x17265d],_0x17265d),this[_0x534d37(0x3a4)][_0x534d37(0x1ec)](),this[_0x534d37(0x3a4)][_0x534d37(0x348)]({..._0x2e4d44,'shapeId':_0x17265d,'shapeKey':_0x4f1902(_0x2e4d44[_0x534d37(0x3d3)],_0x17265d),'visible':!0x0});}),this[_0x10a17c(0x1d6)][_0x10a17c(0x3c6)](_0x448177[_0x10a17c(0x35a)]),_0x36e8f6[_0x10a17c(0x2d4)](),(_0x17b540=_0x14a3dd['preventDefault'])==null||_0x17b540[_0x10a17c(0x222)](_0x14a3dd);}};Yn=J([q(0x1,_0x544c85),q(0x2,_0x45d666),q(0x3,_0x4a7b53),q(0x4,_0x3c575a(Gn)),q(0x5,_0x1f379b),q(0x6,_0x3c575a(_0x5698aa))],Yn);var Xn=class extends _0x4ac1ec{constructor(..._0x3b7af7){const _0x234615=_0x55c788;super(..._0x3b7af7),K(this,_0x234615(0x2f3),new _0x5b274b()),K(this,'refresh$',this[_0x234615(0x2f3)]['asObservable']());}[_0x55c788(0x168)](_0x182978){const _0x5d2074=_0x55c788;this['_refresh$'][_0x5d2074(0x26f)](_0x182978);}[_0x55c788(0x3c5)](){const _0xc68095=_0x55c788;this[_0xc68095(0x2f3)][_0xc68095(0x3cf)](),super[_0xc68095(0x3c5)]();}};function Zn(_0x1db088){const _0x4d9e0d=_0x55c788;return typeof _0x1db088=='number'&&Number[_0x4d9e0d(0x273)](_0x1db088)&&_0x1db088>0x0;}function Qn(_0x5ca610,_0x17b804,_0x892f23){const _0x37e13d=_0x55c788;var _0x3d58ab;let _0xa89fc=_0x5ca610[_0x17b804],_0x3c862a=_0x4784a6(_0xa89fc==null?void 0x0:_0xa89fc[_0x37e13d(0x2ca)]);if(!_0xa89fc||!_0x3c862a)return null;let _0x18e671=_0xe83027(_0xa89fc,_0x892f23);if(!_0x18e671)return null;let _0x589fe8=(_0x3d58ab=_0xa89fc[_0x37e13d(0x226)])==null?_0xa89fc[_0x37e13d(0x2ca)][_0x37e13d(0x226)]:_0x3d58ab;return _0x5b081d({..._0x5ca610,[_0x17b804]:{..._0xa89fc,'transform':{..._0x589fe8,'width':_0x18e671['width'],'height':_0x18e671['height']},'element':{..._0xa89fc[_0x37e13d(0x2ca)],'transform':{..._0xa89fc['element'][_0x37e13d(0x226)],'width':_0x18e671[_0x37e13d(0x24f)],'height':_0x18e671['height']}}}},_0x3c862a[_0x37e13d(0x272)]);}let $n=class extends _0x4c4ffe{constructor(_0x1dbd60,_0x4d7327,_0x117680,_0x20846d,_0x2abab0){const _0x1ae6ed=_0x55c788;super(),this[_0x1ae6ed(0x16f)]=_0x1dbd60,this[_0x1ae6ed(0x353)]=_0x4d7327,this['_boardElementService']=_0x117680,this[_0x1ae6ed(0x320)]=_0x20846d,this['_previewRefreshService']=_0x2abab0,K(this,_0x1ae6ed(0x25d),null),K(this,_0x1ae6ed(0x2a9),{'match':_0x1f0275=>_0x1f0275[_0x1ae6ed(0x3d3)]===this['_renderContext'][_0x1ae6ed(0x3d3)]&&!!_0x4784a6(_0x1f0275[_0x1ae6ed(0x2ca)]),'resolveHostSize':_0x84e131=>this['_resolveHostSize'](_0x84e131),'previewHostSize':_0x43dc4b=>this[_0x1ae6ed(0x23e)](_0x43dc4b),'updateHostSize':_0x4029cd=>this[_0x1ae6ed(0x1b3)](_0x4029cd)}),this[_0x1ae6ed(0x367)](this[_0x1ae6ed(0x353)][_0x1ae6ed(0x187)](this[_0x1ae6ed(0x2a9)])),this[_0x1ae6ed(0x2df)](),this['disposeWithMe'](_0x1e5fe4(()=>this['_restoreActivePreview']()));}['_updateHostSize'](_0x2522a7){const _0x409065=_0x55c788;return this[_0x409065(0x23e)](_0x2522a7);}[_0x55c788(0x23e)](_0x20a340){const _0x4df5f2=_0x55c788;var _0xbb28bb;let _0xa3f224=this[_0x4df5f2(0x2a1)](_0x20a340);if(!_0xa3f224)return!0x1;let _0x4526fb=(_0xbb28bb=_0x20a340[_0x4df5f2(0x365)][_0x4df5f2(0x226)])==null?_0x20a340[_0x4df5f2(0x365)][_0x4df5f2(0x2ca)][_0x4df5f2(0x226)]:_0xbb28bb;return!this[_0x4df5f2(0x25d)]&&_0x4526fb['width']===_0xa3f224[_0x4df5f2(0x24f)]&&_0x4526fb['height']===_0xa3f224[_0x4df5f2(0x243)]||this[_0x4df5f2(0x20c)](_0x20a340,_0xa3f224),!0x0;}[_0x55c788(0x2a1)](_0x709890){const _0x2b1695=_0x55c788;return!Zn(_0x709890[_0x2b1695(0x195)][_0x2b1695(0x24f)])||!Zn(_0x709890['params'][_0x2b1695(0x243)])?null:_0xe83027(_0x709890['elementData'],{'width':_0x709890[_0x2b1695(0x195)][_0x2b1695(0x24f)],'height':_0x709890[_0x2b1695(0x195)][_0x2b1695(0x243)]});}[_0x55c788(0x2df)](){const _0x31aa30=_0x55c788;this['disposeWithMe'](_0x1e5fe4(this[_0x31aa30(0x320)][_0x31aa30(0x326)]['pipe'](_0x38681d(this[_0x31aa30(0x2bd)]))[_0x31aa30(0x304)](_0x48d166=>{_0x48d166||this['_restoreActivePreview']();})));}[_0x55c788(0x20c)](_0x33d164,_0x421e93){const _0x5282f3=_0x55c788;var _0x599bb5;let _0x40172d=this[_0x5282f3(0x334)][_0x5282f3(0x16c)](_0x33d164[_0x5282f3(0x195)][_0x5282f3(0x3d3)],_0x33d164['params'][_0x5282f3(0x346)]),_0x95420f=Qn(_0x40172d,_0x33d164[_0x5282f3(0x195)][_0x5282f3(0x220)],_0x421e93),_0x37e96d=_0x4784a6((_0x599bb5=_0x40172d[_0x33d164[_0x5282f3(0x195)][_0x5282f3(0x220)]])==null?void 0x0:_0x599bb5[_0x5282f3(0x2ca)]);!_0x95420f||!_0x37e96d||(this[_0x5282f3(0x25d)]={'unitId':_0x33d164[_0x5282f3(0x195)][_0x5282f3(0x3d3)],'subUnitId':_0x33d164['params'][_0x5282f3(0x346)],'scopeId':_0x37e96d['structureScopeId']},this[_0x5282f3(0x356)](_0x95420f,_0x37e96d[_0x5282f3(0x272)])&&this['_previewRefreshService'][_0x5282f3(0x168)]({'unitId':_0x33d164[_0x5282f3(0x195)]['unitId'],'subUnitId':_0x33d164['params']['subUnitId'],'nodeId':_0x33d164[_0x5282f3(0x195)][_0x5282f3(0x220)],'scopeId':_0x37e96d[_0x5282f3(0x272)]}));}[_0x55c788(0x22c)](){const _0x2a4156=_0x55c788;let _0x2496e7=this['_activePreview'];if(!_0x2496e7)return;this['_activePreview']=null;let _0x51eae7=this['_boardElementService'][_0x2a4156(0x16c)](_0x2496e7[_0x2a4156(0x3d3)],_0x2496e7['subUnitId']);this['_syncElementDataToScene'](_0x51eae7,_0x2496e7[_0x2a4156(0x191)])&&this[_0x2a4156(0x323)][_0x2a4156(0x168)]({'unitId':_0x2496e7[_0x2a4156(0x3d3)],'subUnitId':_0x2496e7[_0x2a4156(0x346)],'nodeId':_0x2496e7['scopeId'],'scopeId':_0x2496e7[_0x2a4156(0x191)]});}[_0x55c788(0x356)](_0xaffe0c,_0x5bae10){const _0x191727=_0x55c788;let _0x330618=!0x1;if(Object[_0x191727(0x1e2)](_0xaffe0c)['forEach'](_0x467108=>{const _0x54980e=_0x191727;var _0x4831fa;let _0x2a089f=_0x4784a6(_0x467108['element']),_0x44eec1=(_0x4831fa=_0x467108['element']['custom'])==null?void 0x0:_0x4831fa[_0x54980e(0x214)];if(!(_0x467108[_0x54980e(0x18a)]===_0x5bae10||(_0x2a089f==null?void 0x0:_0x2a089f[_0x54980e(0x272)])===_0x5bae10||(_0x44eec1==null?void 0x0:_0x44eec1[_0x54980e(0x272)])===_0x5bae10))return;let _0x4f630b=this['_getSceneObject'](_0x467108[_0x54980e(0x18a)]);_0x4f630b&&(_0x330618=_0x2d3199(_0x4f630b,_0x467108,{'elementData':_0xaffe0c,'unitId':this[_0x54980e(0x16f)][_0x54980e(0x3d3)]})||_0x330618);}),_0x330618){var _0x4c8dce,_0x1169a4;this[_0x191727(0x16f)][_0x191727(0x3d4)][_0x191727(0x3d7)](!0x0),(_0x4c8dce=(_0x1169a4=this[_0x191727(0x16f)]['scene'])['requestRender'])==null||_0x4c8dce['call'](_0x1169a4);}return _0x330618;}[_0x55c788(0x396)](_0x58b2ef){const _0x15b595=_0x55c788;var _0x159017,_0x4282e1,_0x1c7ae3;let _0x323c50=_0x4f1902(this[_0x15b595(0x16f)][_0x15b595(0x3d3)],_0x58b2ef),_0xcba0ec=this[_0x15b595(0x16f)]['scene'];return(_0x159017=(_0x4282e1=(_0x1c7ae3=_0xcba0ec[_0x15b595(0x1a7)])==null?void 0x0:_0x1c7ae3[_0x15b595(0x222)](_0xcba0ec,_0x323c50))==null?this[_0x15b595(0x16f)]['scene'][_0x15b595(0x33c)](_0x323c50):_0x4282e1)==null?null:_0x159017;}};$n=J([q(0x1,_0x3c575a(_0x53968d)),q(0x2,_0x3c575a(_0x3de855)),q(0x3,_0x3c575a(_0x5698aa)),q(0x4,_0x3c575a(Xn))],$n);const $={'radius':0x12,'addChildRadius':0xe,'siblingHoverRadius':0xa,'siblingDotRadius':0x5,'siblingDotGap':0x3,'gap':0xa,'collapsePlusMinDistance':0x2c,'primaryColor':Y[_0x55c788(0x3ae)],'surfaceColor':Y['surfaceColor'],'borderWidth':0x2,'glyphSize':0x8,'addChildGlyphSize':0x6,'siblingGlyphSize':5.5,'glyphWidth':2.4,'glyphHoverWidth':0x3,'badgeFontWeight':0x258,'badgeFontSize':0x12,'fontFamily':Y[_0x55c788(0x1f9)]};function er(_0xc9bfeb){const _0x29cd24=_0x55c788;let _0x1a4498=$['radius'],_0x3cb121=$[_0x29cd24(0x3df)],_0x16214f=$['siblingHoverRadius'],_0x14a8b7=$[_0x29cd24(0x30c)],_0x145df4=$[_0x29cd24(0x242)],_0x38d722=_0x145df4+$[_0x29cd24(0x219)],_0x236611=$[_0x29cd24(0x174)],_0x257552=_0xc9bfeb[_0x29cd24(0x289)][_0x29cd24(0x180)]+_0xc9bfeb['bounds'][_0x29cd24(0x243)]/0x2,_0x14dd80=_0xc9bfeb[_0x29cd24(0x289)][_0x29cd24(0x295)]+_0xc9bfeb[_0x29cd24(0x289)]['width']/0x2,_0xa5f0af=_0xc9bfeb[_0x29cd24(0x289)][_0x29cd24(0x295)]-_0x1a4498-_0x14a8b7,_0x57c407=_0xc9bfeb[_0x29cd24(0x289)]['left']+_0xc9bfeb['bounds']['width']+_0x1a4498+_0x14a8b7,_0x5f57de=_0xc9bfeb['bounds'][_0x29cd24(0x180)]-_0x1a4498-_0x14a8b7,_0x27d101=_0xc9bfeb['bounds'][_0x29cd24(0x180)]+_0xc9bfeb[_0x29cd24(0x289)][_0x29cd24(0x243)]+_0x1a4498+_0x14a8b7,_0x1d6ba6=_0xc9bfeb[_0x29cd24(0x289)]['left']-_0x3cb121-_0x14a8b7,_0x3a538d=_0xc9bfeb[_0x29cd24(0x289)][_0x29cd24(0x295)]+_0xc9bfeb[_0x29cd24(0x289)]['width']+_0x3cb121+_0x14a8b7,_0x21712d=_0xc9bfeb[_0x29cd24(0x289)]['top']-_0x3cb121-_0x14a8b7,_0x3fd10d=_0xc9bfeb[_0x29cd24(0x289)][_0x29cd24(0x180)]+_0xc9bfeb[_0x29cd24(0x289)][_0x29cd24(0x243)]+_0x3cb121+_0x14a8b7,_0x52c81b=[],_0x2d91df=_0xc9bfeb[_0x29cd24(0x1c2)]===_0x29cd24(0x180)||_0xc9bfeb['side']===_0x29cd24(0x373),_0x554d2f=_0x2d91df?_0x14dd80:_0xc9bfeb[_0x29cd24(0x1c2)]===_0x29cd24(0x295)?_0xa5f0af:_0x57c407,_0x158bdf=_0x2d91df?_0xc9bfeb[_0x29cd24(0x1c2)]===_0x29cd24(0x180)?_0x5f57de:_0x27d101:_0x257552;if(_0xc9bfeb['hasChildren']&&_0xc9bfeb['collapsedDescendantCount']>0x0)return _0x52c81b[_0x29cd24(0x3b7)]({'kind':_0x29cd24(0x2af),'x':_0x554d2f,'y':_0x158bdf,'radius':_0x1a4498,'badgeCount':_0xc9bfeb['collapsedDescendantCount']}),_0x52c81b;if(_0xc9bfeb['isRoot']){var _0x659f82;((_0x659f82=_0xc9bfeb[_0x29cd24(0x152)])==null?_0x2d91df?['top',_0x29cd24(0x373)]:[_0x29cd24(0x295),'right']:_0x659f82)[_0x29cd24(0x123)](_0x28117f=>{const _0x7ca1e5=_0x29cd24;_0x28117f==='top'?_0x52c81b['push']({'kind':_0x7ca1e5(0x3d1),'x':_0x14dd80,'y':_0x21712d,'radius':_0x3cb121}):_0x28117f===_0x7ca1e5(0x373)?_0x52c81b[_0x7ca1e5(0x3b7)]({'kind':_0x7ca1e5(0x3ad),'x':_0x14dd80,'y':_0x3fd10d,'radius':_0x3cb121}):_0x28117f===_0x7ca1e5(0x295)?_0x52c81b[_0x7ca1e5(0x3b7)]({'kind':_0x7ca1e5(0x231),'x':_0x1d6ba6,'y':_0x257552,'radius':_0x3cb121}):_0x52c81b['push']({'kind':'add-child-right','x':_0x3a538d,'y':_0x257552,'radius':_0x3cb121});});}else _0x52c81b[_0x29cd24(0x3b7)]({'kind':_0xc9bfeb[_0x29cd24(0x1c2)]===_0x29cd24(0x295)?_0x29cd24(0x231):_0xc9bfeb['side']==='top'?_0x29cd24(0x3d1):_0xc9bfeb[_0x29cd24(0x1c2)]===_0x29cd24(0x373)?_0x29cd24(0x3ad):_0x29cd24(0x1d3),'x':_0x2d91df?_0x14dd80:_0xc9bfeb[_0x29cd24(0x1c2)]==='left'?_0x1d6ba6:_0x3a538d,'y':_0x2d91df?_0xc9bfeb[_0x29cd24(0x1c2)]===_0x29cd24(0x180)?_0x21712d:_0x3fd10d:_0x257552,'radius':_0x3cb121}),_0x2d91df?(_0x52c81b[_0x29cd24(0x3b7)]({'kind':_0x29cd24(0x1d5),'placement':'before','x':_0xc9bfeb['bounds'][_0x29cd24(0x295)]-_0x38d722,'y':_0x257552,'radius':_0x16214f,'visualRadius':_0x145df4}),_0x52c81b[_0x29cd24(0x3b7)]({'kind':_0x29cd24(0x21c),'placement':_0x29cd24(0x143),'x':_0xc9bfeb[_0x29cd24(0x289)][_0x29cd24(0x295)]+_0xc9bfeb[_0x29cd24(0x289)][_0x29cd24(0x24f)]+_0x38d722,'y':_0x257552,'radius':_0x16214f,'visualRadius':_0x145df4})):(_0x52c81b['push']({'kind':_0x29cd24(0x1d5),'placement':_0x29cd24(0x240),'x':_0x14dd80,'y':_0xc9bfeb[_0x29cd24(0x289)]['top']-_0x38d722,'radius':_0x16214f,'visualRadius':_0x145df4}),_0x52c81b[_0x29cd24(0x3b7)]({'kind':_0x29cd24(0x21c),'placement':'after','x':_0x14dd80,'y':_0xc9bfeb[_0x29cd24(0x289)][_0x29cd24(0x180)]+_0xc9bfeb[_0x29cd24(0x289)][_0x29cd24(0x243)]+_0x38d722,'radius':_0x16214f,'visualRadius':_0x145df4}));if(_0xc9bfeb['hasChildren']){let _0x393476={'kind':_0x29cd24(0x2af),'x':_0x554d2f,'y':_0x158bdf,'radius':_0x1a4498};_0x52c81b[_0x29cd24(0x3b7)](_0x393476);let _0x37ed2b=_0x52c81b[_0x29cd24(0x256)](_0x308bc=>_0x308bc[_0x29cd24(0x2a8)]===(_0xc9bfeb[_0x29cd24(0x1c2)]===_0x29cd24(0x295)?_0x29cd24(0x231):_0xc9bfeb['side']==='top'?_0x29cd24(0x3d1):_0xc9bfeb[_0x29cd24(0x1c2)]==='bottom'?_0x29cd24(0x3ad):_0x29cd24(0x1d3)));_0x37ed2b&&Math[_0x29cd24(0x254)](_0x37ed2b['x']-_0x393476['x'],_0x37ed2b['y']-_0x393476['y'])<_0x236611&&(_0xc9bfeb[_0x29cd24(0x1c2)]===_0x29cd24(0x180)||_0xc9bfeb[_0x29cd24(0x1c2)]===_0x29cd24(0x373)?_0x37ed2b['y']=_0x393476['y']+(_0xc9bfeb[_0x29cd24(0x1c2)]===_0x29cd24(0x180)?-_0x236611:_0x236611):_0x37ed2b['x']=_0x393476['x']+(_0xc9bfeb['side']==='left'?-_0x236611:_0x236611));}return _0x52c81b;}const tr=_0x55c788(0x27d),nr=_0x1ca693[_0x55c788(0x2cd)];function rr(_0x6b678f,_0x462a74){const _0x2fa497=_0x55c788;return!!_0x6b678f&&_0x6b678f[_0x2fa497(0x2a8)]===_0x462a74[_0x2fa497(0x2a8)]&&_0x6b678f['x']===_0x462a74['x']&&_0x6b678f['y']===_0x462a74['y'];}var ir=class extends _0x52c324{constructor(_0xf43275=tr,_0x268cae){const _0xc077bb=_0x55c788;super(_0xf43275),K(this,_0xc077bb(0x35e),{'controls':[]}),this['evented']=!0x0,this['zIndex']=_0x464afb[_0xc077bb(0x12d)],this[_0xc077bb(0x34f)](_0x268cae);}['updateState'](_0x4f4d7f){const _0x92c005=_0x55c788;this[_0x92c005(0x35e)]={...this[_0x92c005(0x35e)],..._0x4f4d7f},this[_0x92c005(0x35e)]['controls'][_0x92c005(0x207)]>0x0?this[_0x92c005(0x155)]():this[_0x92c005(0x2fb)](),this[_0x92c005(0x3d7)](!0x0);}['setHoveredControl'](_0x368f5e){const _0x276d00=_0x55c788;!_0x368f5e&&!this[_0x276d00(0x35e)][_0x276d00(0x1a9)]||_0x368f5e&&rr(this[_0x276d00(0x35e)][_0x276d00(0x1a9)],_0x368f5e)||(this[_0x276d00(0x35e)]={...this[_0x276d00(0x35e)],'hoveredControl':_0x368f5e},this[_0x276d00(0x3d7)](!0x0));}['getHitControl'](_0xe95cb0){const _0x4cb032=_0x55c788;for(let _0xff910e=this[_0x4cb032(0x35e)][_0x4cb032(0x194)][_0x4cb032(0x207)]-0x1;_0xff910e>=0x0;--_0xff910e){let _0x220c38=this['_state'][_0x4cb032(0x194)][_0xff910e];if(Math[_0x4cb032(0x254)](_0xe95cb0['x']-_0x220c38['x'],_0xe95cb0['y']-_0x220c38['y'])<=_0x220c38[_0x4cb032(0x359)])return _0x220c38;}return null;}[_0x55c788(0x218)](_0x39e91f){const _0x4ec951=_0x55c788;return!!this[_0x4ec951(0x3a7)]({'x':_0x39e91f['x'],'y':_0x39e91f['y']});}[_0x55c788(0x1c3)](_0x2787b8,_0x1400c3){const _0x4a940d=_0x55c788;return!this[_0x4a940d(0x20f)]||this[_0x4a940d(0x35e)]['controls'][_0x4a940d(0x207)]===0x0?(this['makeDirty'](!0x1),this):(_0x2787b8[_0x4a940d(0x311)](),this[_0x4a940d(0x35e)]['controls'][_0x4a940d(0x123)](_0x1439ab=>{const _0xae93b5=_0x4a940d;var _0x488298;let _0x1ea86c=rr(this[_0xae93b5(0x35e)][_0xae93b5(0x1a9)],_0x1439ab),_0x41d54d=_0x1439ab[_0xae93b5(0x3ac)]!==void 0x0,_0x5c92fb=_0x1439ab[_0xae93b5(0x2a8)]===_0xae93b5(0x231)||_0x1439ab[_0xae93b5(0x2a8)]===_0xae93b5(0x1d3)||_0x1439ab['kind']==='add-child-top'||_0x1439ab[_0xae93b5(0x2a8)]===_0xae93b5(0x3ad),_0x5c9140=_0x1439ab[_0xae93b5(0x2a8)]===_0xae93b5(0x1d5)||_0x1439ab[_0xae93b5(0x2a8)]===_0xae93b5(0x21c),_0x3366c1=_0x5c9140&&!_0x1ea86c?(_0x488298=_0x1439ab[_0xae93b5(0x253)])==null?_0x1439ab['radius']:_0x488298:_0x1439ab[_0xae93b5(0x359)];if(_0x2787b8['beginPath'](),_0x2787b8[_0xae93b5(0x2c2)]=_0x1439ab[_0xae93b5(0x2a8)]===_0xae93b5(0x2af)?$['surfaceColor']:$[_0xae93b5(0x3ae)],_0x2787b8['strokeStyle']=$[_0xae93b5(0x3ae)],_0x2787b8[_0xae93b5(0x390)]=$['borderWidth'],_0x2787b8[_0xae93b5(0x182)](_0x1439ab['x'],_0x1439ab['y'],_0x3366c1,0x0,Math['PI']*0x2),_0x2787b8[_0xae93b5(0x234)](),(!_0x5c9140||_0x1ea86c)&&_0x2787b8[_0xae93b5(0x1b4)](),!_0x41d54d&&(!_0x5c9140||_0x1ea86c)){if(_0x2787b8[_0xae93b5(0x300)](),_0x2787b8[_0xae93b5(0x3aa)]=_0x1439ab[_0xae93b5(0x2a8)]===_0xae93b5(0x2af)?$[_0xae93b5(0x3ae)]:$[_0xae93b5(0x3b6)],_0x2787b8[_0xae93b5(0x390)]=_0x5c9140?$[_0xae93b5(0x34d)]:_0x1ea86c?$[_0xae93b5(0x204)]:$[_0xae93b5(0x34d)],_0x2787b8[_0xae93b5(0x1fb)]=_0xae93b5(0x31c),_0x1439ab['kind']===_0xae93b5(0x2af)){let _0x466cc0=$[_0xae93b5(0x341)];_0x2787b8[_0xae93b5(0x2f0)](_0x1439ab['x']+_0x466cc0/0x2,_0x1439ab['y']-_0x466cc0),_0x2787b8[_0xae93b5(0x2f2)](_0x1439ab['x']-_0x466cc0/0x2,_0x1439ab['y']),_0x2787b8['lineTo'](_0x1439ab['x']+_0x466cc0/0x2,_0x1439ab['y']+_0x466cc0);}else{let _0x197aba=_0x5c9140?$[_0xae93b5(0x2cc)]:_0x5c92fb?$[_0xae93b5(0x2bf)]:$[_0xae93b5(0x341)];_0x2787b8[_0xae93b5(0x2f0)](_0x1439ab['x']-_0x197aba,_0x1439ab['y']),_0x2787b8['lineTo'](_0x1439ab['x']+_0x197aba,_0x1439ab['y']),_0x2787b8[_0xae93b5(0x2f0)](_0x1439ab['x'],_0x1439ab['y']-_0x197aba),_0x2787b8['lineTo'](_0x1439ab['x'],_0x1439ab['y']+_0x197aba);}_0x2787b8['stroke']();}_0x41d54d&&(_0x2787b8[_0xae93b5(0x2c2)]=$[_0xae93b5(0x3ae)],_0x2787b8[_0xae93b5(0x1b1)]=$['badgeFontWeight']+'\x20'+$['badgeFontSize']+'px\x20'+$['fontFamily'],_0x2787b8['textAlign']=_0xae93b5(0x173),_0x2787b8['textBaseline']=_0xae93b5(0x1cc),_0x2787b8[_0xae93b5(0x250)](String(_0x1439ab['badgeCount']),_0x1439ab['x'],_0x1439ab['y']));}),_0x2787b8[_0x4a940d(0x2b8)](),this[_0x4a940d(0x3d7)](!0x1),this);}};function ar(_0x4ade34){const _0x3a4907=_0x55c788;return _0x4ade34===_0x3a4907(0x31e)||_0x4ade34===_0x3a4907(0x2a0)||_0x4ade34===_0x3a4907(0x35c);}function or(_0x358cd2){const _0x344175=_0x55c788;return _0x358cd2===_0x344175(0x232)||_0x358cd2==='timeline-vertical';}function sr(_0x15b69c,_0x1959fe){const _0x795699=_0x55c788;let _0x31baef=Number[_0x795699(0x273)](_0x1959fe[_0x795699(0x3cc)])&&_0x1959fe[_0x795699(0x3cc)]>0x0?_0x1959fe[_0x795699(0x3cc)]:0x1;return{'x':Math[_0x795699(0x31c)]((_0x15b69c[_0x795699(0x294)]-_0x1959fe[_0x795699(0x2cf)]['x'])/_0x31baef),'y':Math[_0x795699(0x31c)]((_0x15b69c[_0x795699(0x368)]-_0x1959fe[_0x795699(0x2cf)]['y'])/_0x31baef)};}let cr=class extends _0x4c4ffe{constructor(_0x3f138b,_0x1b145c,_0x41598b,_0x1abde3,_0x33785f,_0x2b9ae3,_0x59f076){const _0x5d3da4=_0x55c788;super(),this['_renderContext']=_0x3f138b,this['_boardElementService']=_0x1b145c,this['_elementStateService']=_0x41598b,this['_stateService']=_0x1abde3,this['_commandService']=_0x33785f,this['_boardTextEditingService']=_0x2b9ae3,this[_0x5d3da4(0x323)]=_0x59f076,K(this,_0x5d3da4(0x1d2),null),K(this,_0x5d3da4(0x166),null),K(this,_0x5d3da4(0x28b),null),K(this,_0x5d3da4(0x3cb),null),this[_0x5d3da4(0x25a)]();}['_init'](){const _0x5d5b87=_0x55c788;var _0xdc1ed7,_0x49afb1,_0x450a1b,_0x7cb67c,_0x10bdfe;let {scene:_0x3be0cd}=this[_0x5d5b87(0x16f)],_0x590db7=(_0xdc1ed7=_0x3be0cd[_0x5d5b87(0x13e)])==null?void 0x0:_0xdc1ed7['call'](_0x3be0cd);_0x590db7&&(this['disposeWithMe'](_0x1e5fe4(_0x590db7[_0x5d5b87(0x315)][_0x5d5b87(0x3b9)](_0x38681d(this[_0x5d5b87(0x2bd)]))[_0x5d5b87(0x304)](({objects:_0x423d76})=>{const _0x2dd549=_0x5d5b87;this[_0x2dd549(0x2b2)](_0x423d76,{'hideRootControls':!0x0});}))),this[_0x5d5b87(0x367)](_0x1e5fe4(_0x590db7[_0x5d5b87(0x274)][_0x5d5b87(0x3b9)](_0x38681d(this['dispose$']))[_0x5d5b87(0x304)](_0x1a7e1b=>{const _0xa10034=_0x5d5b87;let _0x21bf1b=_0x1a7e1b==null?void 0x0:_0x1a7e1b[_0xa10034(0x3ba)];this[_0xa10034(0x2b2)](_0x21bf1b),setTimeout(()=>this['_syncControls'](_0x21bf1b),0x0);})))),this['disposeWithMe'](_0x1e5fe4(this[_0x5d5b87(0x239)][_0x5d5b87(0x3d5)][_0x5d5b87(0x3b9)](_0x38681d(this['dispose$']))[_0x5d5b87(0x304)](()=>this[_0x5d5b87(0x2b2)]()))),this['disposeWithMe'](_0x1e5fe4(this['_stateService'][_0x5d5b87(0x3d5)][_0x5d5b87(0x3b9)](_0x38681d(this[_0x5d5b87(0x2bd)]))[_0x5d5b87(0x304)](()=>this[_0x5d5b87(0x2b2)]()))),this[_0x5d5b87(0x367)](_0x1e5fe4(this[_0x5d5b87(0x323)][_0x5d5b87(0x210)][_0x5d5b87(0x3b9)](_0x38681d(this[_0x5d5b87(0x2bd)]))['subscribe'](_0x388a8a=>{const _0xbf83f2=_0x5d5b87;let _0x3fd5b3=this['_elementStateService']['getSnapshot']()['context'];!_0x3fd5b3||_0x3fd5b3[_0xbf83f2(0x3d3)]!==_0x388a8a[_0xbf83f2(0x3d3)]||_0x3fd5b3[_0xbf83f2(0x346)]!==_0x388a8a['subUnitId']||this[_0xbf83f2(0x3cb)]&&this[_0xbf83f2(0x3cb)]!==_0x388a8a[_0xbf83f2(0x191)]||this[_0xbf83f2(0x2b2)]();}))),this[_0x5d5b87(0x367)](_0x1e5fe4(_0x3be0cd[_0x5d5b87(0x27c)][_0x5d5b87(0x1ed)](_0x5e472a=>this[_0x5d5b87(0x2a5)](_0x5e472a)))),this[_0x5d5b87(0x367)](_0x1e5fe4(_0x3be0cd[_0x5d5b87(0x14a)][_0x5d5b87(0x1ed)]({'priority':0x4,'next':([_0x29879d,_0x26d3ed])=>{const _0x213427=_0x5d5b87;this[_0x213427(0x393)](_0x29879d)&&this[_0x213427(0x3bc)](_0x29879d,_0x26d3ed);}}))),this[_0x5d5b87(0x367)](_0x1e5fe4((_0x49afb1=(_0x450a1b=_0x3be0cd[_0x5d5b87(0x27e)])==null?void 0x0:_0x450a1b[_0x5d5b87(0x1ed)]({'priority':0x4,'next':([_0x2492e1,_0x3ce8d4])=>{const _0x84b539=_0x5d5b87;this['_isControlEvent'](_0x2492e1)&&this[_0x84b539(0x3bc)](_0x2492e1,_0x3ce8d4);}}))==null?{'dispose':()=>{}}:_0x49afb1)),this[_0x5d5b87(0x367)](_0x1e5fe4((_0x7cb67c=(_0x10bdfe=_0x3be0cd[_0x5d5b87(0x38c)])==null?void 0x0:_0x10bdfe['subscribeEvent']({'priority':0x4,'next':([_0x5ab2cc,_0x4dcd3d])=>{const _0x4c9260=_0x5d5b87;this[_0x4c9260(0x279)](_0x5ab2cc)&&this[_0x4c9260(0x3bc)](_0x5ab2cc,_0x4dcd3d);}}))==null?{'dispose':()=>{}}:_0x7cb67c)),this['disposeWithMe'](_0x1e5fe4(()=>this[_0x5d5b87(0x3e0)]())),this[_0x5d5b87(0x2b2)]();}[_0x55c788(0x30e)](){const _0xfd1771=_0x55c788;return this[_0xfd1771(0x1d2)]?this[_0xfd1771(0x1d2)]:(this['_object']=new ir(tr),this[_0xfd1771(0x1ee)](this[_0xfd1771(0x1d2)]),this['_renderContext'][_0xfd1771(0x3d4)]['addObject'](this['_object'],nr),this[_0xfd1771(0x1d2)]);}[_0x55c788(0x1ee)](_0x8c4f9b){const _0x16895e=_0x55c788;var _0xcac175;(_0xcac175=this[_0x16895e(0x166)])==null||_0xcac175[_0x16895e(0x3c5)]();let _0x1d3319=new _0x1ec4ce();_0x1d3319['add'](_0x8c4f9b[_0x16895e(0x14a)][_0x16895e(0x1ed)]({'priority':0x4,'next':([_0x518c29,_0x55efd8])=>{const _0x12834b=_0x16895e;this[_0x12834b(0x393)](_0x518c29)&&this['_consumeControlEvent'](_0x518c29,_0x55efd8);}})),_0x1d3319[_0x16895e(0x193)](_0x8c4f9b[_0x16895e(0x27e)][_0x16895e(0x1ed)]({'priority':0x4,'next':([_0x576679,_0x129ff5])=>{const _0x3bc938=_0x16895e;this['_isControlEvent'](_0x576679)&&this[_0x3bc938(0x3bc)](_0x576679,_0x129ff5);}})),_0x1d3319[_0x16895e(0x193)](_0x8c4f9b[_0x16895e(0x38c)][_0x16895e(0x1ed)]({'priority':0x4,'next':([_0x4322a0,_0x253f08])=>{const _0x609cb1=_0x16895e;this[_0x609cb1(0x279)](_0x4322a0)&&this[_0x609cb1(0x3bc)](_0x4322a0,_0x253f08);}})),this['_objectEventDisposables']=_0x1d3319;}['_removeObject'](){const _0x365525=_0x55c788;var _0xfbc48e;this[_0x365525(0x1d2)]&&(this[_0x365525(0x16f)][_0x365525(0x3d4)][_0x365525(0x247)]([this['_object']]),(_0xfbc48e=this['_objectEventDisposables'])==null||_0xfbc48e[_0x365525(0x3c5)](),this[_0x365525(0x166)]=null,this['_object']=null,this[_0x365525(0x28b)]=null,this[_0x365525(0x3cb)]=null,this[_0x365525(0x16f)][_0x365525(0x3d4)][_0x365525(0x3d7)](!0x0));}[_0x55c788(0x2b2)](_0xf8cf71,_0x5270e1){const _0x5c1609=_0x55c788;var _0x2d329c,_0x4cc32e,_0x4c36e0,_0x22e289;let _0x4d7ca4=this[_0x5c1609(0x239)][_0x5c1609(0x125)](),_0xc3338f=_0x4d7ca4[_0x5c1609(0x1de)],_0x4e6ecb=(_0x2d329c=_0x4d7ca4[_0x5c1609(0x3a3)])==null?_0x4d7ca4[_0x5c1609(0x319)][0x0]:_0x2d329c;if(!_0xc3338f||!_0x4e6ecb||_0x4d7ca4[_0x5c1609(0x319)]['length']!==0x1){this['_removeObject']();return;}let _0x4909b9=this[_0x5c1609(0x334)][_0x5c1609(0x16c)](_0xc3338f[_0x5c1609(0x3d3)],_0xc3338f[_0x5c1609(0x346)]),_0x519eb8=_0x4909b9[_0x4e6ecb],_0x3a2ef4=_0x4784a6(_0x519eb8==null?void 0x0:_0x519eb8[_0x5c1609(0x2ca)]);if(!_0x519eb8||!_0x3a2ef4){this[_0x5c1609(0x3e0)]();return;}let _0xda0f06=_0x4f1902(_0xc3338f[_0x5c1609(0x3d3)],_0x4e6ecb);if(_0x5270e1!=null&&_0x5270e1[_0x5c1609(0x1ff)]&&_0x3a2ef4[_0x5c1609(0x286)]==null&&_0xf8cf71!=null&&_0xf8cf71[_0x5c1609(0x312)](_0xda0f06)){this[_0x5c1609(0x3e0)]();return;}let _0x588d8d=this['_resolveControlBounds'](_0x4909b9,_0xc3338f[_0x5c1609(0x3d3)],_0x4e6ecb,_0xf8cf71);if(!_0x588d8d){this[_0x5c1609(0x3e0)]();return;}let _0x2cf287=Object[_0x5c1609(0x1e2)](_0x4909b9)[_0x5c1609(0x1eb)](_0xd925c3=>{const _0x28fb7b=_0x5c1609;var _0x16c1fc;return((_0x16c1fc=_0x4784a6(_0xd925c3[_0x28fb7b(0x2ca)]))==null?void 0x0:_0x16c1fc[_0x28fb7b(0x286)])===_0x4e6ecb;}),_0x4a1368=_0x3a2ef4['collapsed']?this[_0x5c1609(0x1f5)](_0x4909b9,_0x4e6ecb):0x0;this['_activeNodeId']=_0x4e6ecb,this[_0x5c1609(0x3cb)]=_0x3a2ef4['structureScopeId'];let _0x342e5f=(_0x4cc32e=_0x4909b9[_0x3a2ef4[_0x5c1609(0x272)]])==null?void 0x0:_0x4cc32e['element'],_0x155cea=_0x5225ac(_0x342e5f),_0x1f3168=_0x342e5f==null||(_0x4c36e0=_0x342e5f[_0x5c1609(0x189)])==null||(_0x4c36e0=_0x4c36e0[_0x5c1609(0x2ac)])==null||(_0x4c36e0=_0x4c36e0[_0x5c1609(0x142)])==null?void 0x0:_0x4c36e0[_0x5c1609(0x32f)],_0x5c2b24=(_0x22e289=_0x155cea==null?void 0x0:_0x155cea[_0x5c1609(0x142)][_0x5c1609(0x32f)])==null?_0x1f3168:_0x22e289,_0x3f0199=_0x3a2ef4['parentNodeId']==null,_0x5b4b1d=this['_resolveControlSide'](_0x3a2ef4['side'],_0x3f0199,_0x5c2b24);this[_0x5c1609(0x30e)]()[_0x5c1609(0x34f)]({'controls':er({'bounds':_0x588d8d,'isRoot':_0x3f0199,'side':_0x5b4b1d,'rootChildSides':this[_0x5c1609(0x23b)](_0x3f0199,_0x5c2b24),'hasChildren':_0x2cf287[_0x5c1609(0x207)]>0x0,'collapsedDescendantCount':_0x4a1368})}),this['_renderContext']['scene'][_0x5c1609(0x3d7)](!0x0);}[_0x55c788(0x140)](_0x57af7c,_0x270e0a,_0x14d50e){const _0x5975c7=_0x55c788;return _0x14d50e===_0x5975c7(0x33a)?!_0x270e0a&&(_0x57af7c===_0x5975c7(0x295)||_0x57af7c===_0x5975c7(0x338))?_0x57af7c:_0x5975c7(0x373):_0x14d50e===_0x5975c7(0x340)?!_0x270e0a&&(_0x57af7c===_0x5975c7(0x180)||_0x57af7c===_0x5975c7(0x373))?_0x57af7c:_0x5975c7(0x373):_0x57af7c===_0x5975c7(0x295)?'left':_0x5975c7(0x338);}[_0x55c788(0x23b)](_0x1f1727,_0x4af8ef){const _0x5ad2f4=_0x55c788;if(_0x1f1727){if(ar(_0x4af8ef))return[_0x5ad2f4(0x373)];if(_0x4af8ef===_0x5ad2f4(0x232))return[_0x5ad2f4(0x338)];if(_0x4af8ef===_0x5ad2f4(0x33a))return[_0x5ad2f4(0x373)];}}[_0x55c788(0x217)](_0x2838cb){const _0x105afa=_0x55c788;var _0x23b6f3,_0x4812e5;let _0x3c7ec8=this[_0x105afa(0x239)][_0x105afa(0x125)]()['context'];if(!_0x3c7ec8||!this[_0x105afa(0x28b)])return;let _0x28f6b5=this[_0x105afa(0x334)][_0x105afa(0x16c)](_0x3c7ec8[_0x105afa(0x3d3)],_0x3c7ec8['subUnitId']),_0x522d7f=_0x4784a6((_0x23b6f3=_0x28f6b5[this[_0x105afa(0x28b)]])==null?void 0x0:_0x23b6f3[_0x105afa(0x2ca)]),_0x153def=_0x522d7f?_0x5225ac((_0x4812e5=_0x28f6b5[_0x522d7f['structureScopeId']])==null?void 0x0:_0x4812e5[_0x105afa(0x2ca)]):null;if(!((_0x522d7f==null?void 0x0:_0x522d7f[_0x105afa(0x286)])==null&&(ar(_0x153def==null?void 0x0:_0x153def[_0x105afa(0x142)][_0x105afa(0x32f)])||or(_0x153def==null?void 0x0:_0x153def['layout']['structureKind']))))return _0x2838cb===_0x105afa(0x231)?_0x105afa(0x295):_0x2838cb===_0x105afa(0x3d1)?_0x105afa(0x180):_0x2838cb==='add-child-bottom'?_0x105afa(0x373):_0x105afa(0x338);}[_0x55c788(0x2d5)](_0x1b55bf,_0x5b17d3,_0x3a323b,_0x2c1332){const _0x1fa640=_0x55c788;var _0x508a3c,_0x7239cf,_0x28ae98;let _0xaab7e7=_0x4f1902(_0x5b17d3,_0x3a323b),_0x491e80=_0x2c1332==null?void 0x0:_0x2c1332['get'](_0xaab7e7),_0x4570f2=this[_0x1fa640(0x392)](_0x491e80);if(_0x4570f2)return _0x4570f2;let _0x190587=this['_renderContext'][_0x1fa640(0x3d4)],_0x3702dc=(_0x508a3c=(_0x7239cf=_0x190587[_0x1fa640(0x1a7)])==null?void 0x0:_0x7239cf['call'](_0x190587,_0xaab7e7))==null?(_0x28ae98=_0x190587['getObject'])==null?void 0x0:_0x28ae98[_0x1fa640(0x222)](_0x190587,_0xaab7e7):_0x508a3c;return this[_0x1fa640(0x392)](_0x3702dc)||_0x329079(_0x1b55bf,_0x3a323b);}['_toFiniteBounds'](_0x432acc){const _0x23df2e=_0x55c788;return _0x432acc&&Number[_0x23df2e(0x273)](_0x432acc[_0x23df2e(0x295)])&&Number[_0x23df2e(0x273)](_0x432acc['top'])&&Number['isFinite'](_0x432acc[_0x23df2e(0x24f)])&&Number[_0x23df2e(0x273)](_0x432acc[_0x23df2e(0x243)])?{'left':_0x432acc[_0x23df2e(0x295)],'top':_0x432acc[_0x23df2e(0x180)],'width':_0x432acc[_0x23df2e(0x24f)],'height':_0x432acc[_0x23df2e(0x243)]}:null;}[_0x55c788(0x1f5)](_0x39977a,_0x3108ec){const _0x21c67e=_0x55c788;return Object[_0x21c67e(0x1e2)](_0x39977a)[_0x21c67e(0x1eb)](_0x3853bd=>{const _0xbebe78=_0x21c67e;var _0x4c111f;return((_0x4c111f=_0x4784a6(_0x3853bd[_0xbebe78(0x2ca)]))==null?void 0x0:_0x4c111f[_0xbebe78(0x286)])===_0x3108ec;})[_0x21c67e(0x1f0)]((_0x6d9e23,_0x263c2b)=>_0x6d9e23+0x1+this[_0x21c67e(0x1f5)](_0x39977a,_0x263c2b[_0x21c67e(0x18a)]),0x0);}[_0x55c788(0x2a5)](_0x2be140){const _0x194b4b=_0x55c788;if(!this[_0x194b4b(0x1d2)])return;let _0xc98f30=this[_0x194b4b(0x1d6)][_0x194b4b(0x3d8)](),_0x18cdfb=sr(_0x2be140,{'panOffset':_0xc98f30[_0x194b4b(0x318)],'zoomRatio':_0xc98f30['zoomRatio']});this[_0x194b4b(0x1d2)][_0x194b4b(0x26a)](this['_object'][_0x194b4b(0x3a7)](_0x18cdfb));}[_0x55c788(0x393)](_0x356ac5){const _0x332468=_0x55c788;var _0x37cf2a;if(!this[_0x332468(0x1d2)]||!this[_0x332468(0x28b)]||((_0x37cf2a=_0x356ac5[_0x332468(0x1bf)])==null?0x0:_0x37cf2a)!==0x0)return!0x1;let _0x40940e=this[_0x332468(0x239)]['getSnapshot']()[_0x332468(0x1de)];if(!_0x40940e)return!0x1;let _0x55674b=this[_0x332468(0x1d6)][_0x332468(0x3d8)](),_0x1af9bd=sr(_0x356ac5,{'panOffset':_0x55674b['viewportPanOffset'],'zoomRatio':_0x55674b[_0x332468(0x3cc)]}),_0xd0e94f=this[_0x332468(0x1d2)][_0x332468(0x3a7)](_0x1af9bd);if(!_0xd0e94f)return!0x1;if(_0xd0e94f[_0x332468(0x2a8)]===_0x332468(0x2af))return this[_0x332468(0x2f9)](_0x55e2b3['id'],{'unitId':_0x40940e[_0x332468(0x3d3)],'subUnitId':_0x40940e[_0x332468(0x346)],'nodeId':this[_0x332468(0x28b)]}),!0x0;if(_0xd0e94f[_0x332468(0x2a8)]===_0x332468(0x231)||_0xd0e94f[_0x332468(0x2a8)]===_0x332468(0x1d3)||_0xd0e94f[_0x332468(0x2a8)]===_0x332468(0x3d1)||_0xd0e94f[_0x332468(0x2a8)]===_0x332468(0x3ad)){let _0x5c4f1e=_0x31e651(0x6);return this['_executeCreateAndEdit'](_0x5e12b8['id'],{'unitId':_0x40940e[_0x332468(0x3d3)],'subUnitId':_0x40940e[_0x332468(0x346)],'parentNodeId':this[_0x332468(0x28b)],'side':this['_resolveCreateChildSide'](_0xd0e94f['kind']),'nodeId':_0x5c4f1e,'connectorId':_0x31e651(0x6)},_0x5c4f1e),!0x0;}if(_0xd0e94f[_0x332468(0x2a8)]===_0x332468(0x1d5)||_0xd0e94f[_0x332468(0x2a8)]==='add-sibling-after'){var _0x160123;let _0x94856a=_0x31e651(0x6);return this[_0x332468(0x1cf)](_0x1aa149['id'],{'unitId':_0x40940e[_0x332468(0x3d3)],'subUnitId':_0x40940e[_0x332468(0x346)],'nodeId':this[_0x332468(0x28b)],'placement':(_0x160123=_0xd0e94f['placement'])==null?_0xd0e94f['kind']===_0x332468(0x1d5)?'before':_0x332468(0x143):_0x160123,'siblingNodeId':_0x94856a,'connectorId':_0x31e651(0x6)},_0x94856a),!0x0;}return!0x0;}['_isControlEvent'](_0x1e835b){const _0x351bd1=_0x55c788;var _0x57d535;if(!this[_0x351bd1(0x1d2)]||((_0x57d535=_0x1e835b[_0x351bd1(0x1bf)])==null?0x0:_0x57d535)!==0x0)return!0x1;let _0x182311=this[_0x351bd1(0x1d6)]['getState'](),_0x432eba=sr(_0x1e835b,{'panOffset':_0x182311['viewportPanOffset'],'zoomRatio':_0x182311[_0x351bd1(0x3cc)]});return!!this['_object'][_0x351bd1(0x3a7)](_0x432eba);}[_0x55c788(0x3bc)](_0x2e5e36,_0xb70650){const _0x378e53=_0x55c788;var _0x35b8c0,_0x1de1a7;_0xb70650[_0x378e53(0x2d4)](),(_0x35b8c0=_0x2e5e36[_0x378e53(0x200)])==null||_0x35b8c0['call'](_0x2e5e36),(_0x1de1a7=_0x2e5e36[_0x378e53(0x2d4)])==null||_0x1de1a7[_0x378e53(0x222)](_0x2e5e36);}[_0x55c788(0x2f9)](_0x2c095b,_0xa72f1f){const _0x547444=_0x55c788;let _0x1a2ef3=this[_0x547444(0x3cb)],_0x52e1f6=this[_0x547444(0x22a)][_0x547444(0x12e)](_0x2c095b,_0xa72f1f);Promise['resolve'](_0x52e1f6)[_0x547444(0x2e2)](_0x324b5b=>{const _0x46c16f=_0x547444;!_0x324b5b||!_0x1a2ef3||(this['_syncControls'](),Promise[_0x46c16f(0x3b0)](this['_commandService'][_0x46c16f(0x12e)](_0x5672f3['id'],{'unitId':_0xa72f1f[_0x46c16f(0x3d3)],'subUnitId':_0xa72f1f[_0x46c16f(0x346)],'scopeId':_0x1a2ef3}))[_0x46c16f(0x2e2)](()=>this[_0x46c16f(0x2b2)]()));});}[_0x55c788(0x1cf)](_0xcf4ed9,_0x179a14,_0x36ff73){const _0x59b83e=_0x55c788;let _0x27b1e7={'unitId':_0x179a14[_0x59b83e(0x3d3)],'subUnitId':_0x179a14['subUnitId']},_0x1c3d98=this[_0x59b83e(0x22a)][_0x59b83e(0x12e)](_0xcf4ed9,_0x179a14);Promise['resolve'](_0x1c3d98)[_0x59b83e(0x2e2)](_0x423a4e=>{const _0x5c7b86=_0x59b83e;_0x423a4e&&(this['_syncControls'](),this[_0x5c7b86(0x239)][_0x5c7b86(0x379)](_0x27b1e7,[_0x36ff73],_0x36ff73),this[_0x5c7b86(0x3a4)][_0x5c7b86(0x1ec)](),this['_boardTextEditingService'][_0x5c7b86(0x348)]({..._0x27b1e7,'shapeId':_0x36ff73,'shapeKey':_0x4f1902(_0x27b1e7[_0x5c7b86(0x3d3)],_0x36ff73),'visible':!0x0}));});}};cr=J([q(0x1,_0x3c575a(_0x3de855)),q(0x2,_0x3c575a(_0x1f379b)),q(0x3,_0x3c575a(_0x45d666)),q(0x4,_0x4a7b53),q(0x5,_0x3c575a(_0x5698aa)),q(0x6,_0x3c575a(Xn))],cr);const lr=_0x55c788(0x212);let ur=class extends _0x4c4ffe{constructor(_0x1d5acc,_0x35cd8a,_0x14ae8a,_0x441aea,_0x18b736){const _0x5ae8d3=_0x55c788;super(),this[_0x5ae8d3(0x334)]=_0x1d5acc,this['_elementStateService']=_0x35cd8a,this['_contextService']=_0x14ae8a,this[_0x5ae8d3(0x22a)]=_0x441aea,this[_0x5ae8d3(0x1cb)]=_0x18b736,this[_0x5ae8d3(0x25a)]();}['_init'](){const _0x449c06=_0x55c788;this[_0x449c06(0x367)](this[_0x449c06(0x1cb)][_0x449c06(0x36f)](this[_0x449c06(0x322)]())),this[_0x449c06(0x367)](_0x1e5fe4(this[_0x449c06(0x239)][_0x449c06(0x3d5)][_0x449c06(0x3b9)](_0x38681d(this[_0x449c06(0x2bd)]))[_0x449c06(0x304)](()=>{const _0x585e2d=_0x449c06;this[_0x585e2d(0x14b)]();}))),this['disposeWithMe'](_0x1e5fe4(()=>{const _0xcb15db=_0x449c06;this[_0xcb15db(0x181)][_0xcb15db(0x3dd)](lr,!0x1);})),this[_0x449c06(0x14b)]();}['_createQuoteShortcut'](){const _0xf0b71=_0x55c788;return{'id':_0x2d51a1,'binding':_0x35fb2f[_0xf0b71(0x1e5)]|_0x47dc16[_0xf0b71(0x18d)],'priority':0x3e8,'preconditions':_0x5badc5=>_0x5badc5[_0xf0b71(0x24a)](_0xf0b71(0x212))&&this[_0xf0b71(0x22a)]['hasCommand'](_0x2d51a1)};}[_0x55c788(0x14b)](){const _0x784367=_0x55c788;this['_contextService'][_0x784367(0x3dd)](lr,this[_0x784367(0x1e6)]());}[_0x55c788(0x1e6)](){const _0x548419=_0x55c788;var _0x3feaff;let _0x323dd1=this[_0x548419(0x239)]['getSnapshot'](),_0x151f27=_0x323dd1[_0x548419(0x1de)],_0x3a064f=_0x323dd1[_0x548419(0x2fe)];return!_0x151f27||!_0x3a064f?!0x1:!!_0x4784a6((_0x3feaff=this[_0x548419(0x334)]['getElementData'](_0x151f27[_0x548419(0x3d3)],_0x151f27['subUnitId'])[_0x3a064f])==null?void 0x0:_0x3feaff[_0x548419(0x2ca)]);}['dispose'](){const _0x473279=_0x55c788;super[_0x473279(0x3c5)](),this[_0x473279(0x181)][_0x473279(0x3dd)](lr,!0x1);}};ur=J([q(0x0,_0x3c575a(_0x3de855)),q(0x1,_0x3c575a(_0x1f379b)),q(0x2,_0x53aa1b),q(0x3,_0x4a7b53),q(0x4,_0x8b86d4)],ur);const dr=['structure',_0x55c788(0x142),_0x55c788(0x3b4)];_0xb4769e[_0x55c788(0x321)],_0xb4769e['siblingGap'],_0xb4769e[_0x55c788(0x26d)];const fr=[{'labelKey':'boards-mind-ui.panel.spacing.parentGap','key':'horizontalGap',..._0x258481['horizontalGap']},{'labelKey':_0x55c788(0x302),'key':'siblingGap',..._0x258481['siblingGap']},{'labelKey':'boards-mind-ui.panel.spacing.branchGap','key':_0x55c788(0x26d),..._0x258481['branchGap']}],pr=[{'labelKey':_0x55c788(0x292),'value':_0x55c788(0x338)},{'labelKey':'boards-mind-ui.panel.layout.left','value':_0x55c788(0x295)},{'labelKey':'boards-mind-ui.panel.layout.both','value':'both'}],mr=[{'labelKey':_0x55c788(0x36d),'value':_0x55c788(0x224)},{'labelKey':_0x55c788(0x2ff),'value':_0x55c788(0x340)},{'labelKey':'boards-mind-ui.panel.structureKind.treeRight','value':_0x55c788(0x2a0)},{'labelKey':_0x55c788(0x2c7),'value':'tree-left'},{'labelKey':'boards-mind-ui.panel.structureKind.treeAlternate','value':_0x55c788(0x35c)},{'labelKey':_0x55c788(0x1f7),'value':_0x55c788(0x232)},{'labelKey':_0x55c788(0x397),'value':_0x55c788(0x33a)}],hr=[{'labelKey':_0x55c788(0x1f2),'value':_0x55c788(0x395)},{'labelKey':_0x55c788(0x176),'value':_0x55c788(0x28c)},{'labelKey':_0x55c788(0x1c7),'value':'orthogonal'}];function gr(_0x22ff3d){const _0x369c36=_0x55c788;var _0x49f883,_0x13ef37,_0x21d626,_0x29a0e1,_0x3a8c36;let _0x37afa6=(_0x49f883=_0x22ff3d==null?void 0x0:_0x22ff3d[_0x369c36(0x32f)])==null?_0xb4769e[_0x369c36(0x32f)]:_0x49f883;return{'spacing':{'horizontalGap':(_0x13ef37=_0x22ff3d==null?void 0x0:_0x22ff3d[_0x369c36(0x321)])==null?_0xb4769e[_0x369c36(0x321)]:_0x13ef37,'siblingGap':(_0x21d626=_0x22ff3d==null?void 0x0:_0x22ff3d[_0x369c36(0x225)])==null?_0xb4769e[_0x369c36(0x225)]:_0x21d626,'branchGap':(_0x29a0e1=_0x22ff3d==null?void 0x0:_0x22ff3d['branchGap'])==null?_0xb4769e['branchGap']:_0x29a0e1},'direction':(_0x3a8c36=_0x22ff3d==null?void 0x0:_0x22ff3d[_0x369c36(0x358)])==null?_0xb4769e[_0x369c36(0x358)]:_0x3a8c36,'structureKind':_0x37afa6,'branchLineType':_0x172ea2(_0x37afa6,_0x22ff3d==null?void 0x0:_0x22ff3d[_0x369c36(0x159)])};}async function _r(_0x4059da,_0x44d5d6){const _0x11585e=_0x55c788;return await Promise['resolve'](_0x4059da[_0x11585e(0x12e)](_0x1f97d9['id'],_0x44d5d6))?(await Promise['resolve'](_0x4059da[_0x11585e(0x12e)](_0x5672f3['id'],{'unitId':_0x44d5d6['unitId'],'subUnitId':_0x44d5d6[_0x11585e(0x346)],'scopeId':_0x44d5d6[_0x11585e(0x191)]})),!0x0):!0x1;}async function vr(_0x1feead,_0x3fcce3){const _0x543377=_0x55c788;return await Promise[_0x543377(0x3b0)](_0x1feead[_0x543377(0x12e)](_0x35a1e2['id'],_0x3fcce3))?(await Promise['resolve'](_0x1feead[_0x543377(0x12e)](_0x5672f3['id'],{'unitId':_0x3fcce3['unitId'],'subUnitId':_0x3fcce3['subUnitId'],'scopeId':_0x3fcce3[_0x543377(0x191)]})),!0x0):!0x1;}async function yr(_0x5c589f,_0x40f761){const _0x4f22af=_0x55c788;return await Promise[_0x4f22af(0x3b0)](_0x5c589f[_0x4f22af(0x12e)](_0x1f97d9['id'],{'unitId':_0x40f761[_0x4f22af(0x3d3)],'subUnitId':_0x40f761[_0x4f22af(0x346)],'scopeId':_0x40f761['scopeId'],..._0x40f761[_0x4f22af(0x321)]===void 0x0?{}:{'horizontalGap':_0x40f761[_0x4f22af(0x321)]},..._0x40f761[_0x4f22af(0x225)]===void 0x0?{}:{'siblingGap':_0x40f761['siblingGap']},..._0x40f761[_0x4f22af(0x26d)]===void 0x0?{}:{'branchGap':_0x40f761[_0x4f22af(0x26d)]}}))?(await Promise['resolve'](_0x5c589f[_0x4f22af(0x12e)](_0x5672f3['id'],{'unitId':_0x40f761[_0x4f22af(0x3d3)],'subUnitId':_0x40f761[_0x4f22af(0x346)],'scopeId':_0x40f761[_0x4f22af(0x191)]})),!0x0):!0x1;}async function br(_0x7d30d6,_0xd27965){const _0x3fd288=_0x55c788;return _0xd27965[_0x3fd288(0x398)]===_0xd27965[_0x3fd288(0x2d9)]||!await Promise[_0x3fd288(0x3b0)](_0x7d30d6[_0x3fd288(0x12e)](_0x137347['id'],{'unitId':_0xd27965[_0x3fd288(0x3d3)],'subUnitId':_0xd27965[_0x3fd288(0x346)],'nodeId':_0xd27965[_0x3fd288(0x398)],'targetNodeId':_0xd27965[_0x3fd288(0x2d9)],'referenceNodeId':_0xd27965[_0x3fd288(0x2d9)],'placement':_0xd27965['placement']}))?!0x1:(await Promise['resolve'](_0x7d30d6[_0x3fd288(0x12e)](_0x5672f3['id'],{'unitId':_0xd27965[_0x3fd288(0x3d3)],'subUnitId':_0xd27965[_0x3fd288(0x346)],'scopeId':_0xd27965[_0x3fd288(0x191)]})),!0x0);}async function xr(_0x4b4d89,_0x21eae1){const _0x2b5f1b=_0x55c788;let _0x1ecce0=_0x21eae1[_0x2b5f1b(0x309)][_0x2b5f1b(0x16b)]();return!_0x1ecce0||!await Promise[_0x2b5f1b(0x3b0)](_0x4b4d89['executeCommand'](_0x2aa574['id'],{'unitId':_0x21eae1['unitId'],'subUnitId':_0x21eae1[_0x2b5f1b(0x346)],'nodeId':_0x21eae1[_0x2b5f1b(0x398)],'text':_0x1ecce0}))?!0x1:(await Promise[_0x2b5f1b(0x3b0)](_0x4b4d89[_0x2b5f1b(0x12e)](_0x5672f3['id'],{'unitId':_0x21eae1[_0x2b5f1b(0x3d3)],'subUnitId':_0x21eae1[_0x2b5f1b(0x346)],'scopeId':_0x21eae1[_0x2b5f1b(0x191)]})),!0x0);}async function Sr(_0x16a011){const _0x13c272=_0x55c788;var _0x4f061d;let _0x2762ce=(_0x4f061d=globalThis[_0x13c272(0x169)])==null?void 0x0:_0x4f061d[_0x13c272(0x337)];return _0x2762ce!=null&&_0x2762ce['writeText']?(await _0x2762ce[_0x13c272(0x1f4)](_0x16a011),!0x0):!0x1;}async function Cr(_0x5f2a95,_0xd26801,_0x5e208b=Sr){const _0x4d9339=_0x55c788;let _0x537d5b=await Promise[_0x4d9339(0x3b0)](_0x5f2a95[_0x4d9339(0x12e)](_0x2c65e6['id'],_0xd26801));if(typeof _0x537d5b!=_0x4d9339(0x2e3)||!_0x537d5b)return!0x1;try{return await _0x5e208b(_0x537d5b)!==!0x1;}catch{return!0x1;}}async function wr(_0x3b08a6,_0x421bb5){const _0x1f8e00=_0x55c788;if(!_0x421bb5[_0x1f8e00(0x36a)][_0x1f8e00(0x16b)]())return!0x1;let _0x402d62=await Promise[_0x1f8e00(0x3b0)](_0x3b08a6[_0x1f8e00(0x12e)](_0x52c104['id'],_0x421bb5));return typeof _0x402d62==_0x1f8e00(0x33b)&&!!_0x402d62&&_0x402d62['success']===!0x0;}function Tr(_0x17a0f8,_0x54d46d){const _0x18423b=_0x55c788;let _0x31a348=_0x54d46d[_0x18423b(0x16b)]()['toLowerCase']();return _0x31a348?_0x17a0f8[_0x18423b(0x1eb)](_0x47f264=>_0x47f264[_0x18423b(0x309)]['toLowerCase']()[_0x18423b(0x16d)](_0x31a348)):_0x17a0f8;}function Er(_0x10e825){const _0x35ca81=_0x55c788;return{'paddingInlineStart':0x8+(Number[_0x35ca81(0x273)](_0x10e825)&&_0x10e825>0x0?_0x10e825:0x0)*0x10};}function Dr(_0x5388cc){const _0x57cedf=_0x55c788;return _0x12a7ac('div',{'className':_0x57cedf(0x298),'data-board-mind-map-panel':_0x57cedf(0x17e),'children':_0x5388cc[_0x57cedf(0x15d)]});}function Or(_0x679874){const _0x10bba2=_0x55c788;return _0x12a7ac(_0x10bba2(0x27a),{'className':'univer-border-b\x20univer-border-gray-200\x20univer-p-3\x20dark:!univer-border-gray-700','data-board-mind-map-panel-tabs':_0x10bba2(0x17e),'children':_0x12a7ac(_0x21141c,{'className':_0x10bba2(0x153),'items':_0x679874[_0x10bba2(0x2c6)],'value':_0x679874[_0x10bba2(0x361)],'onChange':_0x679874[_0x10bba2(0x360)]})});}function kr(_0xa2fadf){const _0x2317da=_0x55c788;return _0x42e6e8(_0x2317da(0x2f7),{'className':_0x2317da(0x128),'data-board-mind-map-panel-section':_0x2317da(0x17e),'children':[_0x12a7ac('h3',{'className':_0x2317da(0x24c),'children':_0xd57ede(_0x20f8ca)['t'](_0xa2fadf['titleKey'])}),_0xa2fadf[_0x2317da(0x15d)]]});}function Ar(_0x208b78){const _0x594c15=_0x55c788;return _0x12a7ac(_0x594c15(0x27a),{'className':_0x594c15(0x29f),'data-board-mind-map-panel-empty-state':_0x594c15(0x17e),'children':_0x208b78['children']});}function jr(_0x270e08){const _0xa58ba8=_0x55c788;let _0x1666f3=_0xd57ede(_0x20f8ca);return _0x12a7ac(_0xee7c82,{'className':_0xa58ba8(0x160),'size':'small','variant':'default','onClick':_0x270e08['onClick'],'children':_0x1666f3['t'](_0xa58ba8(0x202))});}function Mr(_0x3f666a){const _0x4f7ca4=_0x55c788;var _0x5d3478;let _0x1fdaa4=_0xd57ede(_0x4a7b53),_0x4f5214=_0xd57ede(_0x1f379b),_0x416ff7=_0xd57ede(_0x20f8ca),_0x18f872=(_0x5d3478=_0x3f666a['outlineItems'])==null?[]:_0x5d3478,[_0x4a101a,_0x58e1f9]=_0x5024c9(''),[_0x2bfe3e,_0x38bb26]=_0x5024c9(null),[_0x184fb6,_0x1f4ed5]=_0x5024c9(''),_0x59d08e=gr(_0x3f666a[_0x4f7ca4(0x142)]),[_0x1edce0,_0x1d5e1c]=_0x5024c9(_0x59d08e[_0x4f7ca4(0x238)]),[_0x2090a8,_0x4444b5]=_0x5024c9(_0x59d08e[_0x4f7ca4(0x358)]),[_0x65cd3f,_0x196c80]=_0x5024c9(_0x59d08e[_0x4f7ca4(0x32f)]),[_0x4507e9,_0xb76001]=_0x5024c9(_0x59d08e['branchLineType']),[_0x2cecbb,_0x550862]=_0x5024c9(null),[_0x26f52f,_0x463b3d]=_0x5024c9(_0x4f7ca4(0x1fd)),_0x3f3b94=Tr(_0x18f872,_0x4a101a),_0xba31b3={'unitId':_0x3f666a[_0x4f7ca4(0x3d3)],'subUnitId':_0x3f666a['subUnitId'],'scopeId':_0x3f666a[_0x4f7ca4(0x191)]},_0x3d1e68=dr[_0x4f7ca4(0x1f6)](_0x358168=>({'label':_0x416ff7['t'](_0x4f7ca4(0x266)+_0x358168),'value':_0x358168})),_0x41e17a=hr[_0x4f7ca4(0x1eb)](_0x50eca2=>_0x50eca2['value']!==_0x4f7ca4(0x395)||_0x17ca32(_0x65cd3f)),_0x1e8108=_0x268436=>{_0x4444b5(_0x268436),_r(_0x1fdaa4,{..._0xba31b3,'direction':_0x268436});};_0x34035e(()=>{const _0x3766d8=_0x4f7ca4;let _0x4e0847=gr(_0x3f666a[_0x3766d8(0x142)]);_0x1d5e1c(_0x4e0847[_0x3766d8(0x238)]),_0x4444b5(_0x4e0847['direction']),_0x196c80(_0x4e0847[_0x3766d8(0x32f)]),_0xb76001(_0x4e0847[_0x3766d8(0x159)]);},[_0x3f666a[_0x4f7ca4(0x142)],_0x3f666a[_0x4f7ca4(0x191)]]);let _0x5a2c7e=_0x4367b8=>{let _0x52923c=_0x172ea2(_0x4367b8,_0x4507e9);_0x196c80(_0x4367b8),_0xb76001(_0x52923c),_r(_0x1fdaa4,{..._0xba31b3,'structureKind':_0x4367b8,..._0x52923c===_0x4507e9?null:{'branchLineType':_0x52923c}});},_0x26e105=_0x2e75d1=>{let _0x58db21=_0x172ea2(_0x65cd3f,_0x2e75d1);_0xb76001(_0x58db21),vr(_0x1fdaa4,{..._0xba31b3,'branchLineType':_0x58db21});},_0x1a5f1a=(_0x520223,_0x1ee909)=>{let _0x12e327={..._0x1edce0,[_0x520223]:_0x1ee909};_0x1d5e1c(_0x12e327),yr(_0x1fdaa4,{..._0xba31b3,..._0x12e327});},_0xeec4dd=()=>{const _0x2f4b6e=_0x4f7ca4;wr(_0x1fdaa4,{'unitId':_0x3f666a[_0x2f4b6e(0x3d3)],'subUnitId':_0x3f666a['subUnitId'],'left':0x78,'top':0x78,'opml':_0x184fb6})['then'](_0x15cd41=>{_0x15cd41&&_0x1f4ed5('');});},_0xfa7ad7=()=>{Cr(_0x1fdaa4,_0xba31b3);},_0x4e1eff=(_0x1e2c53,_0x4927ee)=>{_0x38bb26({'nodeId':_0x1e2c53,'text':_0x4927ee});},_0x561aec=()=>{const _0x2ddd56=_0x4f7ca4;_0x2bfe3e&&xr(_0x1fdaa4,{..._0xba31b3,'nodeId':_0x2bfe3e['nodeId'],'text':_0x2bfe3e[_0x2ddd56(0x309)]})['then'](_0x63d36=>{_0x63d36&&_0x38bb26(null);});},_0x19c98b=(_0x247250,_0x415380)=>{const _0x31d155=_0x4f7ca4;if(_0x247250['preventDefault'](),!_0x2cecbb||_0x2cecbb===_0x415380)return;let _0x1ccb90=_0x247250[_0x31d155(0x325)][_0x31d155(0x350)](),_0x342a13=_0x247250['clientY']<_0x1ccb90[_0x31d155(0x180)]+_0x1ccb90[_0x31d155(0x243)]/0x2?_0x31d155(0x240):_0x31d155(0x143);_0x550862(null),br(_0x1fdaa4,{..._0xba31b3,'nodeId':_0x2cecbb,'targetNodeId':_0x415380,'placement':_0x342a13});};return _0x42e6e8(Dr,{'children':[_0x12a7ac(Or,{'items':_0x3d1e68,'value':_0x26f52f,'onChange':_0x2b6180=>_0x463b3d(_0x2b6180)}),_0x26f52f===_0x4f7ca4(0x1fd)?_0x12a7ac(kr,{'titleKey':_0x4f7ca4(0x13c),'children':_0x42e6e8(_0x4f7ca4(0x27a),{'children':[_0x12a7ac(_0x2373a8,{'slot':_0x12a7ac(_0x287fe1,{}),'value':_0x4a101a,'placeholder':_0x416ff7['t'](_0x4f7ca4(0x229)),'className':_0x4f7ca4(0x198),'onChange':_0x58e1f9}),_0x3f3b94['length']?_0x12a7ac('ol',{'className':_0x4f7ca4(0x2a7),'children':_0x3f3b94[_0x4f7ca4(0x1f6)](_0x511553=>_0x12a7ac('li',{'draggable':!0x0,'className':_0x4f7ca4(0x3ce),'style':Er(_0x511553['depth']),'onDragStart':_0x35af50=>{const _0x15d37a=_0x4f7ca4;var _0x256c31;_0x550862(_0x511553[_0x15d37a(0x398)]),(_0x256c31=_0x35af50[_0x15d37a(0x1df)])==null||_0x256c31['setData'](_0x15d37a(0x21d),_0x511553[_0x15d37a(0x398)]),_0x35af50[_0x15d37a(0x1df)]&&(_0x35af50[_0x15d37a(0x1df)][_0x15d37a(0x1ca)]='move');},'onDragOver':_0x294ee8=>{const _0x5ab20c=_0x4f7ca4;_0x294ee8[_0x5ab20c(0x200)](),_0x294ee8[_0x5ab20c(0x1df)]&&(_0x294ee8[_0x5ab20c(0x1df)][_0x5ab20c(0x213)]='move');},'onDrop':_0x5344c5=>_0x19c98b(_0x5344c5,_0x511553[_0x4f7ca4(0x398)]),'onDragEnd':()=>_0x550862(null),'children':(_0x2bfe3e==null?void 0x0:_0x2bfe3e[_0x4f7ca4(0x398)])===_0x511553[_0x4f7ca4(0x398)]?_0x42e6e8('div',{'className':_0x4f7ca4(0x1cd),'children':[_0x12a7ac(_0x2373a8,{'autoFocus':!0x0,'size':_0x4f7ca4(0x3c1),'value':_0x2bfe3e[_0x4f7ca4(0x309)],'onChange':_0x5e5d7e=>_0x38bb26({'nodeId':_0x511553['nodeId'],'text':_0x5e5d7e}),'onKeyDown':_0x5dd740=>{const _0x5c16de=_0x4f7ca4;_0x5dd740[_0x5c16de(0x1c1)]===_0x5c16de(0x17f)&&_0x561aec(),_0x5dd740[_0x5c16de(0x1c1)]===_0x5c16de(0x1bc)&&_0x38bb26(null);}}),_0x12a7ac(_0xee7c82,{'size':_0x4f7ca4(0x3c1),'variant':_0x4f7ca4(0x329),'disabled':!_0x2bfe3e[_0x4f7ca4(0x309)]['trim'](),'onClick':_0x561aec,'children':_0x416ff7['t'](_0x4f7ca4(0x202))}),_0x12a7ac(_0xee7c82,{'size':'small','variant':_0x4f7ca4(0x132),'onClick':()=>_0x38bb26(null),'children':_0x416ff7['t'](_0x4f7ca4(0x2e0))})]}):_0x42e6e8(_0x15b427,{'children':[_0x12a7ac(_0xee7c82,{'size':'small','variant':'ghost','className':_0x4f7ca4(0x364),'onClick':()=>_0x4f5214[_0x4f7ca4(0x379)]({'unitId':_0x3f666a[_0x4f7ca4(0x3d3)],'subUnitId':_0x3f666a[_0x4f7ca4(0x346)]},[_0x511553[_0x4f7ca4(0x398)]],_0x511553['nodeId']),'children':_0x511553[_0x4f7ca4(0x309)]}),_0x12a7ac(jr,{'onClick':()=>_0x4e1eff(_0x511553[_0x4f7ca4(0x398)],_0x511553[_0x4f7ca4(0x309)])})]})},_0x511553[_0x4f7ca4(0x398)]))}):_0x12a7ac(Ar,{'children':_0x416ff7['t'](_0x4f7ca4(0x24b))})]})}):null,_0x26f52f===_0x4f7ca4(0x142)?_0x12a7ac(kr,{'titleKey':_0x4f7ca4(0x241),'children':_0x42e6e8(_0x4f7ca4(0x27a),{'className':_0x4f7ca4(0x129),'children':[_0x12a7ac(_0x4f7ca4(0x27a),{'className':'univer-flex\x20univer-gap-2','children':_0x12a7ac(_0x21141c,{'className':_0x4f7ca4(0x153),'items':mr[_0x4f7ca4(0x1f6)](_0x5ce6d1=>({'label':_0x416ff7['t'](_0x5ce6d1[_0x4f7ca4(0x3d0)]),'value':_0x5ce6d1[_0x4f7ca4(0x361)]})),'value':_0x65cd3f,'onChange':_0x469d59=>_0x5a2c7e(_0x469d59)})}),_0x12a7ac(_0x4f7ca4(0x27a),{'className':'univer-flex\x20univer-gap-2','children':_0x12a7ac(_0x21141c,{'className':'univer-w-full\x20univer-text-xs','items':pr[_0x4f7ca4(0x1f6)](_0x53ac16=>({'label':_0x416ff7['t'](_0x53ac16['labelKey']),'value':_0x53ac16[_0x4f7ca4(0x361)]})),'value':_0x2090a8,'onChange':_0x4637ce=>_0x1e8108(_0x4637ce)})}),_0x12a7ac('div',{'className':_0x4f7ca4(0x1a0),'children':_0x12a7ac(_0x21141c,{'className':_0x4f7ca4(0x153),'items':_0x41e17a[_0x4f7ca4(0x1f6)](_0x188fbd=>({'label':_0x416ff7['t'](_0x188fbd[_0x4f7ca4(0x3d0)]),'value':_0x188fbd[_0x4f7ca4(0x361)]})),'value':_0x4507e9,'onChange':_0x88c22=>_0x26e105(_0x88c22)})}),_0x12a7ac(_0x4f7ca4(0x27a),{'className':_0x4f7ca4(0x299),'children':fr[_0x4f7ca4(0x1f6)](({labelKey:_0x339a8d,key:_0x4066a1,min:_0xc6eb43,max:_0x17f17d})=>_0x42e6e8(_0x4f7ca4(0x39e),{'className':_0x4f7ca4(0x3d6),'children':[_0x12a7ac('span',{'className':'univer-w-20\x20univer-shrink-0','children':_0x416ff7['t'](_0x4f7ca4(0x2c4)+_0x339a8d)}),_0x12a7ac(_0x18a17b,{'min':_0xc6eb43,'max':_0x17f17d,'step':0x4,'value':_0x1edce0[_0x4066a1],'precision':0x0,'className':'univer-w-24','onChange':_0x161a8e=>_0x1a5f1a(_0x4066a1,Number(_0x161a8e==null?_0xc6eb43:_0x161a8e))})]},_0x4066a1))})]})}):null,_0x26f52f===_0x4f7ca4(0x3b4)?_0x12a7ac(kr,{'titleKey':_0x4f7ca4(0x248),'children':_0x42e6e8(_0x4f7ca4(0x27a),{'className':_0x4f7ca4(0x1a8),'children':[_0x12a7ac(_0x20d960,{'className':_0x4f7ca4(0x1bd),'placeholder':_0x416ff7['t']('boards-mind-ui.panel.pasteOPML'),'value':_0x184fb6,'onValueChange':_0x1f4ed5}),_0x42e6e8(_0x4f7ca4(0x27a),{'className':_0x4f7ca4(0x1a0),'children':[_0x12a7ac(_0xee7c82,{'size':_0x4f7ca4(0x3c1),'variant':_0x4f7ca4(0x329),'disabled':!_0x184fb6[_0x4f7ca4(0x16b)](),'onClick':_0xeec4dd,'children':_0x416ff7['t'](_0x4f7ca4(0x29c))}),_0x12a7ac(_0xee7c82,{'size':_0x4f7ca4(0x3c1),'variant':_0x4f7ca4(0x132),'onClick':_0xfa7ad7,'children':_0x416ff7['t'](_0x4f7ca4(0x305))})]})]})}):null]});}let Nr=class extends _0x4ac1ec{constructor(_0x3a2162){const _0x50fff5=_0x55c788;super(),this[_0x50fff5(0x18e)]=_0x3a2162,this['_registerComponents']();}[_0x55c788(0x149)](){const _0x545264=_0x55c788;this['disposeWithMe'](this['_componentManager']['register'](en,nn)),this[_0x545264(0x367)](this['_componentManager'][_0x545264(0x335)](un,Nn)),this['disposeWithMe'](this[_0x545264(0x18e)][_0x545264(0x335)]('board.mind-map.panel',Mr));}};Nr=J([q(0x0,_0x3c575a(_0xfb0ff6))],Nr);let Pr=class{constructor(_0x363ceb,_0x3a6765){const _0x374cb6=_0x55c788;this['_stateService']=_0x363ceb,this[_0x374cb6(0x25f)]=_0x3a6765;}[_0x55c788(0x14f)](_0x582899){const _0xbdd92f=_0x55c788;return this['_insertStateService']['setTemplate']({'rootText':_0x582899['rootText'],'structureKind':_0x582899['structureKind'],'branchLineType':_0x582899['branchLineType'],'children':_0x582899['children'],'blueprint':_0x582899[_0xbdd92f(0x34b)]}),this[_0xbdd92f(0x1d6)]['setShapeSidebarOpen'](!0x1),this[_0xbdd92f(0x1d6)][_0xbdd92f(0x215)](),this[_0xbdd92f(0x1d6)][_0xbdd92f(0x3c6)](_0x448177[_0xbdd92f(0x288)]),this[_0xbdd92f(0x1d6)][_0xbdd92f(0x13b)]({'type':_0x448177[_0xbdd92f(0x288)]}),!0x0;}};Pr=J([q(0x0,_0x45d666),q(0x1,_0x3c575a(Gn))],Pr);let Fr=class extends _0x35ff6c{constructor(_0x3c20b1=Ot,_0x39c837,_0x39ff47,_0xf174c9){const _0x2afb85=_0x55c788;super(),this[_0x2afb85(0x177)]=_0x3c20b1,this[_0x2afb85(0x3b2)]=_0x39c837,this[_0x2afb85(0x3b5)]=_0x39ff47,this[_0x2afb85(0x35f)]=_0xf174c9;let {..._0x56d461}=_0x286366({},Ot,this[_0x2afb85(0x177)]);this[_0x2afb85(0x3b5)][_0x2afb85(0x3cd)](_0x2afb85(0x141),_0x56d461);}[_0x55c788(0x1fe)](){const _0x563d8c=_0x55c788;this['_injector'][_0x563d8c(0x193)]([Gn]),this['_injector'][_0x563d8c(0x193)]([Xn]),this['_injector']['add']([Pr]),this['_injector']['add']([cn]),this[_0x563d8c(0x3b2)][_0x563d8c(0x193)]([ur]),this[_0x563d8c(0x3b2)]['add']([Nr]);let _0xa5c969=this[_0x563d8c(0x3b2)][_0x563d8c(0x21a)](Pr),_0x36a054=this[_0x563d8c(0x3b2)][_0x563d8c(0x21a)](_0x1753eb);this[_0x563d8c(0x367)](_0x36a054['registerAdapter'](_0xa5c969)),this[_0x563d8c(0x367)](this[_0x563d8c(0x3b2)][_0x563d8c(0x21a)](cn)),this['disposeWithMe'](this['_injector']['get'](ur)),this[_0x563d8c(0x367)](this[_0x563d8c(0x3b2)][_0x563d8c(0x21a)](Nr)),this['_enableMindMapToolbarTool']();}[_0x55c788(0x21f)](){const _0xd8aa47=_0x55c788;this[_0xd8aa47(0x367)](this[_0xd8aa47(0x35f)][_0xd8aa47(0x14c)](_0x42e936['UNIVER_BOARD'],Yn)),this[_0xd8aa47(0x367)](this[_0xd8aa47(0x35f)][_0xd8aa47(0x14c)](_0x42e936['UNIVER_BOARD'],cr)),this[_0xd8aa47(0x367)](this[_0xd8aa47(0x35f)][_0xd8aa47(0x14c)](_0x42e936[_0xd8aa47(0x17c)],Fn)),this[_0xd8aa47(0x367)](this[_0xd8aa47(0x35f)]['registerRenderModule'](_0x42e936[_0xd8aa47(0x17c)],$t)),this[_0xd8aa47(0x367)](this[_0xd8aa47(0x35f)]['registerRenderModule'](_0x42e936['UNIVER_BOARD'],Mt)),this[_0xd8aa47(0x367)](this['_renderManagerService']['registerRenderModule'](_0x42e936[_0xd8aa47(0x17c)],$n));}['_enableMindMapToolbarTool'](){const _0x2388df=_0x55c788;var _0x54fb84,_0x935a2f;let _0x153993=this[_0x2388df(0x2c9)]();this[_0x2388df(0x3b5)]['setConfig'](_0xcba35e,{..._0x153993,'toolbar':{..._0x153993['toolbar'],'tools':{...(_0x54fb84=_0x153993[_0x2388df(0x17d)])==null?void 0x0:_0x54fb84['tools'],[_0x448177[_0x2388df(0x288)]]:Ir((_0x935a2f=_0x153993[_0x2388df(0x17d)])==null||(_0x935a2f=_0x935a2f[_0x2388df(0x3b1)])==null?void 0x0:_0x935a2f[_0x448177[_0x2388df(0x288)]])}}});}[_0x55c788(0x2c9)](){const _0x40884d=_0x55c788;var _0x4b2316;return(_0x4b2316=this[_0x40884d(0x3b5)][_0x40884d(0x3e3)](_0xcba35e))==null?{}:_0x4b2316;}};K(Fr,_0x55c788(0x146),'UNIVER_BOARDS_MIND_UI_PLUGIN'),K(Fr,_0x55c788(0x3c0),Et),K(Fr,_0x55c788(0x370),Dt),K(Fr,'type',_0x42e936[_0x55c788(0x17c)]),Fr=J([_0x1e6601(_0x39490d,_0xcd05da,_0x50eb07),q(0x1,_0x3c575a(_0x34f3c5)),q(0x2,_0x5b6d9c),q(0x3,_0xa5f319)],Fr);function Ir(_0x9cce46){const _0x35cf85=_0x55c788;if(_0x9cce46===!0x1)return!0x1;if(typeof _0x9cce46==_0x35cf85(0x33b)){var _0x45c6a;return{..._0x9cce46,'enabled':(_0x45c6a=_0x9cce46[_0x35cf85(0x363)])==null?!0x0:_0x45c6a};}return!0x0;}function _0x5bcf(_0x49e2f6,_0x4ba0c7){_0x49e2f6=_0x49e2f6-0x122;const _0x5f4dd4=_0x5f4d();let _0x5bcf0f=_0x5f4dd4[_0x49e2f6];return _0x5bcf0f;}export{Fr as UniverBoardsMindUIPlugin};
1
+ const _0x4e28b3=_0x4c93;(function(_0x4e48c6,_0x101a37){const _0x46315d=_0x4c93,_0x18d6cc=_0x4e48c6();while(!![]){try{const _0x2d2445=parseInt(_0x46315d(0x272))/0x1+-parseInt(_0x46315d(0x379))/0x2*(-parseInt(_0x46315d(0x1c4))/0x3)+parseInt(_0x46315d(0x3f5))/0x4*(parseInt(_0x46315d(0x2b8))/0x5)+-parseInt(_0x46315d(0x365))/0x6+parseInt(_0x46315d(0x156))/0x7+parseInt(_0x46315d(0x22b))/0x8+-parseInt(_0x46315d(0x352))/0x9;if(_0x2d2445===_0x101a37)break;else _0x18d6cc['push'](_0x18d6cc['shift']());}catch(_0x4d9bea){_0x18d6cc['push'](_0x18d6cc['shift']());}}}(_0x5a5c,0xb6176));import{BoardElementType as _0x2cd328,BoardToolType as _0x138a65,IBoardElementService as _0x5af7fa,IBoardMindMapAdapterService as _0x16e4f0,UniverBoardsPlugin as _0x2baeb1,documentTextStyleToBoardShapeTextStyle as _0x3e6fcc,offsetBoardConnectorGeometry as _0x31298f,resolveBoardElementWorldBounds as _0x8188de}from'@univerjs-pro/boards';import{AddMindMapChildOperation as _0x1c61db,AddMindMapSiblingOperation as _0x4427c3,ChangeMindMapBranchLineTypeOperation as _0x394c10,ChangeMindMapLayoutOperation as _0xfb8f84,CopyMindMapNodeOperation as _0x5a3321,DeleteMindMapNodeOperation as _0x443802,DetachMindMapNodeOperation as _0x465ffb,ExportMindMapOpmlOperation as _0x46bb7e,IMindMapClipboardService as _0x3771ca,ImportMindMapOpmlOperation as _0x55b80c,InsertBoardMindMapOperation as _0xa00b3d,LayoutMindMapOperation as _0x3a4dc0,MIND_MAP_DEFAULT_LAYOUT as _0x1defe8,MIND_MAP_DEFAULT_NODE_SIZE as _0x1163ab,MIND_MAP_DEFAULT_NODE_TEXT as _0x5ce379,MIND_MAP_LAYOUT_SPACING_LIMITS as _0x2f7fbc,PasteMindMapAsNewMindMapOperation as _0x5cbfdf,PasteMindMapNodeOperation as _0x2153bf,PromoteMindMapNodeOperation as _0x3c763e,ReparentMindMapNodeOperation as _0x3bb170,ToggleMindMapNodeCollapseOperation as _0xdc2fc2,TranslateMindMapOperation as _0x5876ce,UniverBoardsMindPlugin as _0x4f31e9,UpdateMindMapIncomingConnectorOperation as _0xb6fca8,UpdateMindMapNodeOperation as _0x36d216,compareMindMapOrderKey as _0x359903,getMindMapConnectorMeta as _0x42da87,getMindMapContainerMeta as _0x30a9b0,getMindMapDefaultChildOrderKey as _0x3cc2d7,getMindMapNodeMeta as _0x130c96,isMindMapPlainStructureKind as _0x3e1084,resolveMindMapBranchLineTypeForStructure as _0x5be6e7,resolveMindMapLayoutPreview as _0x4637d2,resolveMindMapNodeHostSize as _0x387b00}from'@univerjs-pro/boards-mind';import{BOARDS_UI_PLUGIN_CONFIG_KEY as _0x2306cf,BOARD_RENDER_LAYER_INDEX as _0x394cf0,BOARD_RENDER_OBJECT_Z_INDEX as _0x5d51da,BOARD_SHORTCUT_BINDINGS as _0xfbb3e1,BoardCanvasPopManagerService as _0x11b6e9,BoardInteractionSurfaceService as _0x51f3dc,BoardShapeIntrinsicSizeService as _0x38e758,BoardTextEditingService as _0x4aee4d,IBoardElementStateService as _0x4ad25d,IBoardUIStateService as _0x4b72d1,UniverBoardsUIPlugin as _0x385ee3,getBoardElementRenderObjectKey as _0x239fd6,parseBoardElementRenderObjectKey as _0x16c9be,resolveBoardFloatingToolbarSelection as _0x4a534b,syncBoardElementRenderObject as _0x7e58a4}from'@univerjs-pro/boards-ui';import{UniverLicensePlugin as _0x350152}from'@univerjs-pro/license';import{CommandType as _0x23b005,DEFAULT_STYLES as _0x5bb012,DependentOn as _0x4f9b5b,Disposable as _0x45f66c,DisposableCollection as _0x4ee20c,HorizontalAlign as _0x5d9bb5,ICommandService as _0x4c9d00,IConfigService as _0x4d4aaf,IContextService as _0x135d5f,IUniverInstanceService as _0x34a716,Inject as _0x19f927,Injector as _0x1072f4,LocaleService as _0x19a155,Plugin as _0x3485b7,RxDisposable as _0x43afa6,UniverInstanceType as _0x2934fe,VerticalAlign as _0x2f2760,generateRandomId as _0x257cfe,merge as _0xce87f2,toDisposable as _0x288fdc}from'@univerjs/core';import{BaseObject as _0x344c5d,IRenderManagerService as _0x90772c,UniverRenderEnginePlugin as _0x259006}from'@univerjs/engine-render';import{ComponentManager as _0x4aefa5,IDialogService as _0x527822,IShortcutService as _0x2f95f0,KeyCode as _0x5e6623,MetaKeys as _0x67ae32,UniverUIPlugin as _0x779761,useDependency as _0x3d87e3}from'@univerjs/ui';import{Subject as _0x168ca7,takeUntil as _0x362352}from'rxjs';import{SHAPE_FLOATING_TOOLBAR_DEFAULT_STROKE_COLOR as _0x53a3c6,SHAPE_FLOATING_TOOLBAR_DEFAULT_TEXT_BACKGROUND_COLOR as _0x33f965,SHAPE_FLOATING_TOOLBAR_DEFAULT_TEXT_COLOR as _0x1c0553,SHAPE_TEXT_EDITOR_QUOTE_COMMAND_ID as _0x381e8c,ShapeFillButton as _0x5647d1,ShapeFloatingToolbarContent as _0x53b2ae,ShapeFloatingToolbarDropdownTrigger as _0x16a3f4,ShapeFloatingToolbarFontSizeSelect as _0x5c0f56,ShapeFloatingToolbarIcon as _0x34bbcc,ShapeFloatingToolbarMenuItem as _0x2e4721,ShapeFloatingToolbarMenuPanel as _0x4b1b45,ShapeStrokePanelButton as _0x43cd4d,ShapeStrokePanelContent as _0x3fabe2,TextFillButton as _0xfd025f,TypographyPanelButton as _0x30da04,buildShapeTextDataUpdate as _0x48adbf}from'@univerjs-pro/shape-editor-ui';import{ShapeLineDashEnum as _0x582dab,ShapeLineTypeEnum as _0x8a7be5}from'@univerjs-pro/engine-shape';import{Button as _0x25b887,Dropdown as _0x48b1d8,Input as _0x4f73bf,InputNumber as _0x5687ca,Segmented as _0x2edc6b,Separator as _0x2cfe4c,Textarea as _0x55a337,borderClassName as _0x4b17ce,clsx as _0x4dee74}from'@univerjs/design';import{AlignBottomIcon as _0x587431,AlignTextBothIcon as _0x13b8d2,AlignTopIcon as _0x703b0,HorizontallyIcon as _0x54ade2,LeftJustifyingIcon as _0x24b89d,MoreHorizontalIcon as _0xc85f91,RightJustifyingIcon as _0x122c61,SearchIcon as _0x32fc43,ShapeLineIcon as _0x2d11b3,VerticalCenterIcon as _0x10f89b}from'@univerjs/icons';import{useEffect as _0x102d6a,useState as _0x33a7c5}from'react';import{Fragment as _0x533ee7,jsx as _0xdbc3b,jsxs as _0x1e5b1d}from'react/jsx-runtime';var Mt='@univerjs-pro/boards-mind-ui',Nt=_0x4e28b3(0x19d);const Pt={};function Ft(_0x1eb0e7){'@babel/helpers - typeof';const _0x4c2005=_0x4e28b3;return Ft=typeof Symbol==_0x4c2005(0x1a6)&&typeof Symbol[_0x4c2005(0x1cc)]=='symbol'?function(_0x55715e){return typeof _0x55715e;}:function(_0x382883){const _0x589373=_0x4c2005;return _0x382883&&typeof Symbol=='function'&&_0x382883[_0x589373(0x1d2)]===Symbol&&_0x382883!==Symbol['prototype']?'symbol':typeof _0x382883;},Ft(_0x1eb0e7);}function It(_0x321052,_0x2e6d68){const _0x59c1c5=_0x4e28b3;if(Ft(_0x321052)!='object'||!_0x321052)return _0x321052;var _0x515de3=_0x321052[Symbol[_0x59c1c5(0x246)]];if(_0x515de3!==void 0x0){var _0x2d8554=_0x515de3[_0x59c1c5(0x1e1)](_0x321052,_0x2e6d68||_0x59c1c5(0x2f8));if(Ft(_0x2d8554)!=_0x59c1c5(0x381))return _0x2d8554;throw TypeError(_0x59c1c5(0x1b2));}return(_0x2e6d68===_0x59c1c5(0x304)?String:Number)(_0x321052);}function Lt(_0x122498){const _0x515c85=_0x4e28b3;var _0x5250d8=It(_0x122498,'string');return Ft(_0x5250d8)==_0x515c85(0x3e2)?_0x5250d8:_0x5250d8+'';}function K(_0x3f0d1b,_0x2b00c8,_0x23b702){const _0x46de42=_0x4e28b3;return(_0x2b00c8=Lt(_0x2b00c8))in _0x3f0d1b?Object[_0x46de42(0x1eb)](_0x3f0d1b,_0x2b00c8,{'value':_0x23b702,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x3f0d1b[_0x2b00c8]=_0x23b702,_0x3f0d1b;}function q(_0x14c31a,_0x3e8580){return function(_0x302a9a,_0x8de701){_0x3e8580(_0x302a9a,_0x8de701,_0x14c31a);};}function J(_0x256cd9,_0x269253,_0x3071fb,_0x4fbdbf){const _0x518af5=_0x4e28b3;var _0x58002d=arguments[_0x518af5(0x282)],_0x3423c3=_0x58002d<0x3?_0x269253:_0x4fbdbf===null?_0x4fbdbf=Object[_0x518af5(0x2e8)](_0x269253,_0x3071fb):_0x4fbdbf,_0xcef2c8;if(typeof Reflect=='object'&&typeof Reflect['decorate']==_0x518af5(0x1a6))_0x3423c3=Reflect[_0x518af5(0x320)](_0x256cd9,_0x269253,_0x3071fb,_0x4fbdbf);else{for(var _0x42ff0f=_0x256cd9[_0x518af5(0x282)]-0x1;_0x42ff0f>=0x0;_0x42ff0f--)(_0xcef2c8=_0x256cd9[_0x42ff0f])&&(_0x3423c3=(_0x58002d<0x3?_0xcef2c8(_0x3423c3):_0x58002d>0x3?_0xcef2c8(_0x269253,_0x3071fb,_0x3423c3):_0xcef2c8(_0x269253,_0x3071fb))||_0x3423c3);}return _0x58002d>0x3&&_0x3423c3&&Object[_0x518af5(0x1eb)](_0x269253,_0x3071fb,_0x3423c3),_0x3423c3;}let Rt=class extends _0x43afa6{constructor(_0x4e9183,_0x226838,_0x521784){const _0x575ad6=_0x4e28b3;super(),this[_0x575ad6(0x1f3)]=_0x4e9183,this['_boardElementService']=_0x226838,this[_0x575ad6(0x19a)]=_0x521784,K(this,_0x575ad6(0x18f),new Map()),K(this,_0x575ad6(0x1cf),new Map()),K(this,_0x575ad6(0x3ec),new Map()),K(this,_0x575ad6(0x3ab),!0x1),K(this,_0x575ad6(0x1de),null),this['_init']();}[_0x4e28b3(0x169)](){const _0x1f5661=_0x4e28b3;this[_0x1f5661(0x308)](),this[_0x1f5661(0x40b)](_0x288fdc(this['_boardElementService'][_0x1f5661(0x16e)][_0x1f5661(0x34f)](_0x362352(this['dispose$']))[_0x1f5661(0x345)](_0x4811aa=>{const _0x5af6b1=_0x1f5661;_0x4811aa[_0x5af6b1(0x3c2)](_0x18183e=>{const _0x50015b=_0x5af6b1;let _0x275f08=this[_0x50015b(0x234)][_0x50015b(0x402)](_0x18183e[_0x50015b(0x204)],_0x18183e[_0x50015b(0x1e8)],_0x18183e[_0x50015b(0x404)]);this[_0x50015b(0x289)](_0x18183e,_0x275f08);});}))),this['disposeWithMe'](_0x288fdc(this[_0x1f5661(0x234)]['elementUpdate$'][_0x1f5661(0x34f)](_0x362352(this[_0x1f5661(0x2a2)]))[_0x1f5661(0x345)](_0x5cfcca=>{const _0x1ad74d=_0x1f5661;_0x5cfcca[_0x1ad74d(0x3c2)](_0x4fcb14=>this[_0x1ad74d(0x166)](_0x4fcb14));})));let _0x11a089=this[_0x1f5661(0x19a)]['onCommandExecuted'];typeof _0x11a089==_0x1f5661(0x1a6)&&this[_0x1f5661(0x40b)](_0x11a089[_0x1f5661(0x1e1)](this[_0x1f5661(0x19a)],_0x13b19c=>{const _0x3196fe=_0x1f5661;if(_0x13b19c['id']!==_0x36d216['id'])return;let _0x11bb1f=_0x13b19c[_0x3196fe(0x1f5)];this[_0x3196fe(0x1ca)](_0x11bb1f);})),this[_0x1f5661(0x40b)](_0x288fdc(()=>{const _0x335a3f=_0x1f5661;this['_debouncedLayoutTimer']!==null&&(clearTimeout(this['_debouncedLayoutTimer']),this[_0x335a3f(0x1de)]=null);}));}[_0x4e28b3(0x308)](){const _0x50d7dc=_0x4e28b3;let _0x4e6cf6=this[_0x50d7dc(0x1f3)][_0x50d7dc(0x204)],_0x8e3b46=this['_boardElementService']['getElementDataForUnit'](_0x4e6cf6);Object[_0x50d7dc(0x335)](_0x8e3b46)['forEach'](([_0x41e57c,_0x10ccae])=>{const _0x17a3c1=_0x50d7dc;Object[_0x17a3c1(0x326)](_0x10ccae['data'])[_0x17a3c1(0x3c2)](_0x3581ec=>{const _0x2c3cb4=_0x17a3c1;this[_0x2c3cb4(0x289)]({'unitId':_0x4e6cf6,'subUnitId':_0x41e57c,'elementId':_0x3581ec[_0x2c3cb4(0x404)]},_0x3581ec);});});}['_handleElementUpdate'](_0x6ea680){const _0x1a97c3=_0x4e28b3;if(_0x6ea680[_0x1a97c3(0x204)]!==this[_0x1a97c3(0x1f3)]['unitId'])return;let _0x6a1d00=this[_0x1a97c3(0x234)]['getElementById'](_0x6ea680[_0x1a97c3(0x204)],_0x6ea680[_0x1a97c3(0x1e8)],_0x6ea680[_0x1a97c3(0x404)]),_0x3d02ed=_0x130c96(_0x6a1d00==null?void 0x0:_0x6a1d00[_0x1a97c3(0x409)]),_0x4554f7=this[_0x1a97c3(0x3d1)](_0x6a1d00);if(!_0x3d02ed||!_0x4554f7){this[_0x1a97c3(0x18f)][_0x1a97c3(0x269)](this[_0x1a97c3(0x21f)](_0x6ea680));return;}let _0x5885e2=this[_0x1a97c3(0x21f)](_0x6ea680),_0x7b0629=this[_0x1a97c3(0x18f)][_0x1a97c3(0x349)](_0x5885e2);this['_nodeSizeByKey'][_0x1a97c3(0x297)](_0x5885e2,_0x4554f7),!(_0x7b0629&&_0x7b0629[_0x1a97c3(0x1b5)]===_0x4554f7[_0x1a97c3(0x1b5)]&&_0x7b0629['height']===_0x4554f7[_0x1a97c3(0x323)])&&this[_0x1a97c3(0x3b0)]({'unitId':_0x6ea680[_0x1a97c3(0x204)],'subUnitId':_0x6ea680[_0x1a97c3(0x1e8)],'scopeId':_0x3d02ed['structureScopeId'],'anchorNodeId':_0x6ea680[_0x1a97c3(0x404)]});}[_0x4e28b3(0x289)](_0x2f8db4,_0x28c1e6){const _0x4557c2=_0x4e28b3;if(_0x2f8db4[_0x4557c2(0x204)]!==this[_0x4557c2(0x1f3)]['unitId'])return;let _0x4ac055=_0x130c96(_0x28c1e6==null?void 0x0:_0x28c1e6[_0x4557c2(0x409)]),_0x39df94=this[_0x4557c2(0x3d1)](_0x28c1e6);!_0x4ac055||!_0x39df94||this[_0x4557c2(0x18f)][_0x4557c2(0x297)](this[_0x4557c2(0x21f)](_0x2f8db4),_0x39df94);}[_0x4e28b3(0x3d1)](_0x3b6a61){const _0x4ca3dc=_0x4e28b3;var _0x4049b1;let _0x4cb5fe=(_0x4049b1=_0x3b6a61==null?void 0x0:_0x3b6a61[_0x4ca3dc(0x2eb)])==null?_0x3b6a61==null?void 0x0:_0x3b6a61[_0x4ca3dc(0x409)]['transform']:_0x4049b1,_0x5299d0=_0x4cb5fe==null?void 0x0:_0x4cb5fe[_0x4ca3dc(0x1b5)],_0x2c42fc=_0x4cb5fe==null?void 0x0:_0x4cb5fe[_0x4ca3dc(0x323)];return!Number[_0x4ca3dc(0x2de)](_0x5299d0)||!Number[_0x4ca3dc(0x2de)](_0x2c42fc)?null:{'width':_0x5299d0,'height':_0x2c42fc};}[_0x4e28b3(0x3b0)](_0x44bfca){const _0x559c3b=_0x4e28b3;this[_0x559c3b(0x1cf)][_0x559c3b(0x297)](_0x44bfca[_0x559c3b(0x204)]+':'+_0x44bfca[_0x559c3b(0x1e8)]+':'+_0x44bfca['scopeId'],_0x44bfca),!this[_0x559c3b(0x3ab)]&&(this[_0x559c3b(0x3ab)]=!0x0,Promise[_0x559c3b(0x1c8)]()[_0x559c3b(0x378)](()=>{const _0x398c8d=_0x559c3b;this[_0x398c8d(0x3ab)]=!0x1;let _0x221e80=Array[_0x398c8d(0x15d)](this[_0x398c8d(0x1cf)][_0x398c8d(0x326)]());this[_0x398c8d(0x1cf)][_0x398c8d(0x219)](),_0x221e80['forEach'](_0x42bfb6=>{const _0x46bbff=_0x398c8d;this[_0x46bbff(0x19a)][_0x46bbff(0x3d6)](_0x3a4dc0['id'],_0x42bfb6);});}));}[_0x4e28b3(0x1ca)](_0x114307){const _0x150735=_0x4e28b3;if(!(_0x114307!=null&&_0x114307[_0x150735(0x204)])||!_0x114307[_0x150735(0x1e8)]||!_0x114307['nodeId']||_0x114307[_0x150735(0x204)]!==this[_0x150735(0x1f3)][_0x150735(0x204)])return;let _0x363ca5=this[_0x150735(0x234)]['getElementById'](_0x114307[_0x150735(0x204)],_0x114307['subUnitId'],_0x114307[_0x150735(0x263)]),_0x2fc771=_0x130c96(_0x363ca5==null?void 0x0:_0x363ca5[_0x150735(0x409)]);_0x2fc771&&this[_0x150735(0x1fd)]({'unitId':_0x114307[_0x150735(0x204)],'subUnitId':_0x114307[_0x150735(0x1e8)],'scopeId':_0x2fc771[_0x150735(0x3fe)],'anchorNodeId':_0x114307['nodeId']});}['_queueDebouncedLayout'](_0x478e38){const _0x2bf056=_0x4e28b3;this[_0x2bf056(0x3ec)][_0x2bf056(0x297)](_0x478e38[_0x2bf056(0x204)]+':'+_0x478e38[_0x2bf056(0x1e8)]+':'+_0x478e38[_0x2bf056(0x38b)],_0x478e38),this[_0x2bf056(0x1de)]!==null&&clearTimeout(this[_0x2bf056(0x1de)]),this[_0x2bf056(0x1de)]=setTimeout(()=>{const _0x39d571=_0x2bf056;this[_0x39d571(0x1de)]=null;let _0x2fd341=Array[_0x39d571(0x15d)](this[_0x39d571(0x3ec)][_0x39d571(0x326)]());this['_debouncedLayouts'][_0x39d571(0x219)](),_0x2fd341[_0x39d571(0x3c2)](_0x445d13=>{const _0x1fb204=_0x39d571;this[_0x1fb204(0x19a)][_0x1fb204(0x3d6)](_0x3a4dc0['id'],_0x445d13);});},0x50);}['_getElementKey'](_0x1d959f){const _0x4b04c8=_0x4e28b3;return _0x1d959f[_0x4b04c8(0x204)]+':'+_0x1d959f[_0x4b04c8(0x1e8)]+':'+_0x1d959f['elementId'];}};Rt=J([q(0x1,_0x19f927(_0x5af7fa)),q(0x2,_0x4c9d00)],Rt);const Y={'primaryColor':_0x53a3c6,'surfaceColor':_0x33f965,'textColor':_0x1c0553,'fontFamily':_0x5bb012['ff']};function zt(_0x531989,_0x4388df){const _0x58e61a=_0x4e28b3;let _0x270b0e=Math[_0x58e61a(0x312)](0x1,Math['max'](0x0,Number[_0x58e61a(0x2de)](_0x4388df)?_0x4388df:0x1)),_0xdcbbba=_0x531989['trim'](),_0x5dc28c=/^#([0-9a-fA-F]{6})$/[_0x58e61a(0x16a)](_0xdcbbba);if(!_0x5dc28c)return _0x531989;let _0x486b0b=_0x5dc28c[0x1];return _0x58e61a(0x1b1)+Number[_0x58e61a(0x2fe)](_0x486b0b[_0x58e61a(0x32e)](0x0,0x2),0x10)+',\x20'+Number[_0x58e61a(0x2fe)](_0x486b0b[_0x58e61a(0x32e)](0x2,0x4),0x10)+',\x20'+Number[_0x58e61a(0x2fe)](_0x486b0b['slice'](0x4,0x6),0x10)+',\x20'+_0x270b0e+')';}const X={'primaryColor':Y[_0x4e28b3(0x265)],'ghostFillColor':zt(Y[_0x4e28b3(0x3c4)],0.72),'ghostTextColor':zt(Y['textColor'],0.62),'rootTextColor':zt(Y[_0x4e28b3(0x3c4)],0.86),'sourceHighlightFillColor':zt(Y[_0x4e28b3(0x265)],0.12),'sourceHighlightStrokeColor':zt(Y['primaryColor'],0.9),'objectAlpha':0.72,'dragObjectAlpha':0.78,'connectorAlpha':0.64,'lineWidthScreen':0x2,'fallbackNodeWidth':_0x1163ab['nodeWidth'],'fallbackNodeHeight':_0x1163ab['nodeHeight'],'branchGap':_0x1defe8[_0x4e28b3(0x25d)],'sourceHaloScreen':0x4,'ghostRadius':0x8,'rootRadius':0xa,'fontFamily':Y[_0x4e28b3(0x31d)],'ghostFontWeight':0x1f4,'rootFontWeight':0x258,'rootFontSize':0x12,'textPaddingScreen':0xc,'dirtyPaddingScreen':0x18,'sourceDashScreen':[0x6,0x4]};function Z(_0x1906d4,_0x3930ce,_0x24d5e2,_0x4c5444,_0x1ec861,_0x14b521){const _0x38076c=_0x4e28b3;let _0x11668b=Math[_0x38076c(0x312)](_0x14b521,_0x4c5444/0x2,_0x1ec861/0x2);_0x1906d4[_0x38076c(0x3c5)](),_0x1906d4['moveTo'](_0x3930ce+_0x11668b,_0x24d5e2),_0x1906d4[_0x38076c(0x2f7)](_0x3930ce+_0x4c5444-_0x11668b,_0x24d5e2),_0x1906d4[_0x38076c(0x35f)](_0x3930ce+_0x4c5444,_0x24d5e2,_0x3930ce+_0x4c5444,_0x24d5e2+_0x11668b),_0x1906d4['lineTo'](_0x3930ce+_0x4c5444,_0x24d5e2+_0x1ec861-_0x11668b),_0x1906d4[_0x38076c(0x35f)](_0x3930ce+_0x4c5444,_0x24d5e2+_0x1ec861,_0x3930ce+_0x4c5444-_0x11668b,_0x24d5e2+_0x1ec861),_0x1906d4[_0x38076c(0x2f7)](_0x3930ce+_0x11668b,_0x24d5e2+_0x1ec861),_0x1906d4['quadraticCurveTo'](_0x3930ce,_0x24d5e2+_0x1ec861,_0x3930ce,_0x24d5e2+_0x1ec861-_0x11668b),_0x1906d4[_0x38076c(0x2f7)](_0x3930ce,_0x24d5e2+_0x11668b),_0x1906d4[_0x38076c(0x35f)](_0x3930ce,_0x24d5e2,_0x3930ce+_0x11668b,_0x24d5e2),_0x1906d4['closePath']();}function Bt(_0x4335e0,_0x4904fa,_0x1f8e0b){const _0x4899a3=_0x4e28b3;return _0x4335e0+'\x20'+_0x4904fa/_0x1f8e0b+_0x4899a3(0x17c)+X['fontFamily'];}const Vt=_0x4e28b3(0x355),Ht=_0x394cf0[_0x4e28b3(0x2a9)];function Q(_0x386b3c,_0x41004e){const _0x1a7463=_0x4e28b3;return Number[_0x1a7463(0x2de)](_0x386b3c)?_0x386b3c:_0x41004e;}function Ut(){return X['fallbackNodeWidth'];}function Wt(){const _0x4b27c5=_0x4e28b3;return X[_0x4b27c5(0x19f)];}function Gt(_0x13631a){const _0xc79bc9=_0x4e28b3;return _0x13631a===0x1?_0xc79bc9(0x33e):_0x13631a===0x3?_0xc79bc9(0x244):_0xc79bc9(0x2cc);}function Kt(_0x17f4c6,_0x448f9b,_0x107d23,_0x2cf814){return _0x107d23===0x1?_0x17f4c6+_0x2cf814:_0x107d23===0x3?_0x17f4c6+_0x448f9b-_0x2cf814:_0x17f4c6+_0x448f9b/0x2;}var qt=class extends _0x344c5d{constructor(_0x5a1d92=Vt,_0x2f39ca){const _0x2a5e1b=_0x4e28b3;super(_0x5a1d92),K(this,_0x2a5e1b(0x179),{'ghostBounds':null,'parentBounds':null,'side':_0x2a5e1b(0x244),'zoomRatio':0x1}),this['evented']=!0x1,this[_0x2a5e1b(0x2e1)]=_0x5d51da[_0x2a5e1b(0x371)],this[_0x2a5e1b(0x3e7)](_0x2f39ca);}['updateState'](_0x3f168c){const _0x3aa3b4=_0x4e28b3;if(this[_0x3aa3b4(0x179)]={...this[_0x3aa3b4(0x179)],..._0x3f168c},this[_0x3aa3b4(0x179)][_0x3aa3b4(0x14d)]){let _0x4d46ee=this['_resolveDirtyBounds']();this['transformByState'](_0x4d46ee),this['show']();}else this[_0x3aa3b4(0x1d1)]();let _0x21d645=this;typeof _0x21d645[_0x3aa3b4(0x1e0)]==_0x3aa3b4(0x1a6)?_0x21d645[_0x3aa3b4(0x1e0)](!0x0):this['makeDirty'](!0x0);}[_0x4e28b3(0x187)](_0x1bfb90){return!0x1;}['render'](_0x19ecf8,_0x57c9c2){const _0x2cc653=_0x4e28b3;var _0x7184a5,_0x5968e9,_0x1274a8;let _0x2f7612=this['_state'][_0x2cc653(0x14d)];if(!_0x2f7612||!this['visible'])return this[_0x2cc653(0x29f)](!0x1),this;let _0x11c16b=Number[_0x2cc653(0x2de)](this[_0x2cc653(0x179)]['zoomRatio'])&&((_0x7184a5=this['_state'][_0x2cc653(0x1be)])==null?0x0:_0x7184a5)>0x0?this['_state'][_0x2cc653(0x1be)]:0x1,_0x8f31bf=Q(_0x2f7612[_0x2cc653(0x33e)],0x0),_0x480c06=Q(_0x2f7612[_0x2cc653(0x3a3)],0x0),_0xd99ad=Math['max'](0x1,Q(_0x2f7612[_0x2cc653(0x1b5)],Ut())),_0x42e74b=Math[_0x2cc653(0x205)](0x1,Q(_0x2f7612['height'],Wt()));if(_0x19ecf8[_0x2cc653(0x362)](),_0x19ecf8[_0x2cc653(0x232)]=X[_0x2cc653(0x281)],_0x19ecf8['lineWidth']=X[_0x2cc653(0x196)]/_0x11c16b,_0x19ecf8['strokeStyle']=X[_0x2cc653(0x265)],_0x19ecf8[_0x2cc653(0x33c)]=X[_0x2cc653(0x3f9)],this[_0x2cc653(0x2a8)](_0x19ecf8,{'left':_0x8f31bf,'top':_0x480c06,'width':_0xd99ad,'height':_0x42e74b},_0x11c16b),this[_0x2cc653(0x1b9)](_0x19ecf8,_0x11c16b),this['_state'][_0x2cc653(0x182)]===!0x1)return _0x19ecf8[_0x2cc653(0x3e0)](),this['makeDirty'](!0x1),this;Z(_0x19ecf8,_0x8f31bf,_0x480c06,_0xd99ad,_0x42e74b,X[_0x2cc653(0x1e2)]),_0x19ecf8[_0x2cc653(0x29e)](),_0x19ecf8['stroke']();let _0xc06315=this[_0x2cc653(0x179)]['textStyle'],_0x216f38=Number[_0x2cc653(0x2de)](_0xc06315==null?void 0x0:_0xc06315['fontSize'])&&((_0x5968e9=_0xc06315==null?void 0x0:_0xc06315['fontSize'])==null?0x0:_0x5968e9)>0x0?_0xc06315[_0x2cc653(0x419)]:0x10,_0x547531=X[_0x2cc653(0x253)]/_0x11c16b;return _0x19ecf8[_0x2cc653(0x33c)]=(_0x1274a8=_0xc06315==null?void 0x0:_0xc06315[_0x2cc653(0x36d)])==null?X[_0x2cc653(0x1df)]:_0x1274a8,_0x19ecf8[_0x2cc653(0x32f)]=Bt(X[_0x2cc653(0x337)],_0x216f38,_0x11c16b),_0x19ecf8['textAlign']=Gt(_0xc06315==null?void 0x0:_0xc06315['horizontalAlign']),_0x19ecf8[_0x2cc653(0x21e)]=_0x2cc653(0x1ef),_0x19ecf8[_0x2cc653(0x17f)]((_0xc06315==null?void 0x0:_0xc06315['text'])||_0x5ce379,Kt(_0x8f31bf,_0xd99ad,_0xc06315==null?void 0x0:_0xc06315[_0x2cc653(0x287)],_0x547531),_0x480c06+_0x42e74b/0x2,Math[_0x2cc653(0x205)](0x1,_0xd99ad-_0x547531*0x2)),_0x19ecf8[_0x2cc653(0x3e0)](),this[_0x2cc653(0x29f)](!0x1),this;}[_0x4e28b3(0x1b6)](){const _0x34b4f7=_0x4e28b3;var _0x38e121;let _0xcec7da=this[_0x34b4f7(0x179)]['ghostBounds'],_0x2305bb=Number[_0x34b4f7(0x2de)](this[_0x34b4f7(0x179)][_0x34b4f7(0x1be)])&&((_0x38e121=this['_state'][_0x34b4f7(0x1be)])==null?0x0:_0x38e121)>0x0?this[_0x34b4f7(0x179)][_0x34b4f7(0x1be)]:0x1,_0xde6377=X[_0x34b4f7(0x1e4)]/_0x2305bb;if(!_0xcec7da)return{'left':0x0,'top':0x0,'width':0x1,'height':0x1};let _0x52926a=Q(_0xcec7da[_0x34b4f7(0x33e)],0x0),_0x534fa9=Q(_0xcec7da[_0x34b4f7(0x3a3)],0x0),_0x19139d=Math[_0x34b4f7(0x205)](0x1,Q(_0xcec7da[_0x34b4f7(0x1b5)],Ut())),_0x4f84e6=Math['max'](0x1,Q(_0xcec7da[_0x34b4f7(0x323)],Wt())),_0x349649=this[_0x34b4f7(0x179)][_0x34b4f7(0x305)],_0x1cc7d4=this['_state'][_0x34b4f7(0x3ff)],_0x528d07=Q(_0x349649==null?void 0x0:_0x349649[_0x34b4f7(0x33e)],_0x52926a),_0x1c9fd2=Q(_0x349649==null?void 0x0:_0x349649['top'],_0x534fa9),_0x52da07=Math[_0x34b4f7(0x205)](0x1,Q(_0x349649==null?void 0x0:_0x349649['width'],_0x19139d)),_0x3edb2b=Math[_0x34b4f7(0x205)](0x1,Q(_0x349649==null?void 0x0:_0x349649['height'],_0x4f84e6));if(!_0x1cc7d4){let _0x52457b=Math[_0x34b4f7(0x312)](_0x52926a,_0x528d07)-_0xde6377,_0x3cb64b=Math[_0x34b4f7(0x312)](_0x534fa9,_0x1c9fd2)-_0xde6377,_0x1502e4=Math[_0x34b4f7(0x205)](_0x52926a+_0x19139d,_0x528d07+_0x52da07)+_0xde6377,_0x1f4bbc=Math['max'](_0x534fa9+_0x4f84e6,_0x1c9fd2+_0x3edb2b)+_0xde6377;return{'left':_0x52457b,'top':_0x3cb64b,'width':_0x1502e4-_0x52457b,'height':_0x1f4bbc-_0x3cb64b};}let _0x5068c9=Q(_0x1cc7d4[_0x34b4f7(0x33e)],_0x52926a),_0x3d6177=Q(_0x1cc7d4[_0x34b4f7(0x3a3)],_0x534fa9),_0x2ba249=Math['max'](0x1,Q(_0x1cc7d4[_0x34b4f7(0x1b5)],Ut())),_0x4f7691=Math[_0x34b4f7(0x205)](0x1,Q(_0x1cc7d4['height'],Wt())),_0x39b13a=Math['min'](_0x52926a,_0x5068c9,_0x528d07)-_0xde6377,_0x6a0dfb=Math[_0x34b4f7(0x312)](_0x534fa9,_0x3d6177,_0x1c9fd2)-_0xde6377,_0x4f3425=Math[_0x34b4f7(0x205)](_0x52926a+_0x19139d,_0x5068c9+_0x2ba249,_0x528d07+_0x52da07)+_0xde6377,_0x3ba2ec=Math[_0x34b4f7(0x205)](_0x534fa9+_0x4f84e6,_0x3d6177+_0x4f7691,_0x1c9fd2+_0x3edb2b)+_0xde6377;return{'left':_0x39b13a,'top':_0x6a0dfb,'width':_0x4f3425-_0x39b13a,'height':_0x3ba2ec-_0x6a0dfb};}[_0x4e28b3(0x1b9)](_0x22c625,_0x35c71b){const _0x3df28b=_0x4e28b3;var _0x36d26b;let _0x4a40c1=this[_0x3df28b(0x179)][_0x3df28b(0x305)];if(!_0x4a40c1)return;let _0x4163e1=X[_0x3df28b(0x230)]/_0x35c71b,_0x4f3dc9=Q(_0x4a40c1['left'],0x0)-_0x4163e1,_0x3999af=Q(_0x4a40c1[_0x3df28b(0x3a3)],0x0)-_0x4163e1,_0x52053e=Math['max'](0x1,Q(_0x4a40c1[_0x3df28b(0x1b5)],Ut()))+_0x4163e1*0x2,_0x26d974=Math[_0x3df28b(0x205)](0x1,Q(_0x4a40c1[_0x3df28b(0x323)],Wt()))+_0x4163e1*0x2;_0x22c625[_0x3df28b(0x362)](),_0x22c625[_0x3df28b(0x232)]=0x1,_0x22c625[_0x3df28b(0x408)]=X[_0x3df28b(0x196)]/_0x35c71b,_0x22c625[_0x3df28b(0x386)]=X[_0x3df28b(0x2ac)],_0x22c625[_0x3df28b(0x33c)]=X[_0x3df28b(0x333)],(_0x36d26b=_0x22c625[_0x3df28b(0x36c)])==null||_0x36d26b[_0x3df28b(0x1e1)](_0x22c625,X[_0x3df28b(0x252)][_0x3df28b(0x1cb)](_0x2c4fa6=>_0x2c4fa6/_0x35c71b)),Z(_0x22c625,_0x4f3dc9,_0x3999af,_0x52053e,_0x26d974,X[_0x3df28b(0x172)]),_0x22c625['fill'](),_0x22c625[_0x3df28b(0x18d)](),_0x22c625[_0x3df28b(0x3e0)]();}[_0x4e28b3(0x2a8)](_0x189f53,_0x1d0629,_0x187520){const _0x308013=_0x4e28b3;var _0x24f432;let _0x106a01=this[_0x308013(0x179)][_0x308013(0x3ff)];if(!_0x106a01)return;let _0x3c8b1c=Q(_0x106a01[_0x308013(0x33e)],0x0),_0x470bbf=Q(_0x106a01[_0x308013(0x3a3)],0x0),_0x16f0f9=Math[_0x308013(0x205)](0x1,Q(_0x106a01[_0x308013(0x1b5)],Ut())),_0x30f080=Math[_0x308013(0x205)](0x1,Q(_0x106a01[_0x308013(0x323)],Wt())),_0x3ac3fb=X['branchGap'],_0x28e3e3=(_0x24f432=this[_0x308013(0x179)][_0x308013(0x164)])==null?_0x308013(0x244):_0x24f432;if(_0x189f53[_0x308013(0x362)](),_0x189f53[_0x308013(0x232)]=X['connectorAlpha'],_0x189f53[_0x308013(0x386)]=X[_0x308013(0x265)],_0x189f53[_0x308013(0x408)]=X[_0x308013(0x196)]/_0x187520,_0x189f53[_0x308013(0x208)]=_0x308013(0x414),_0x189f53['lineJoin']=_0x308013(0x414),_0x189f53[_0x308013(0x3c5)](),_0x28e3e3===_0x308013(0x3a3)||_0x28e3e3===_0x308013(0x3f0)){let _0x5c9314=_0x3c8b1c+_0x16f0f9/0x2,_0x2987a8=_0x1d0629[_0x308013(0x33e)]+_0x1d0629[_0x308013(0x1b5)]/0x2,_0x37f148=_0x28e3e3==='bottom'?_0x470bbf+_0x30f080:_0x470bbf,_0x275ec8=_0x28e3e3===_0x308013(0x3f0)?_0x1d0629[_0x308013(0x3a3)]:_0x1d0629[_0x308013(0x3a3)]+_0x1d0629[_0x308013(0x323)],_0x2be725=_0x28e3e3===_0x308013(0x3f0)?Math['min'](_0x37f148+_0x3ac3fb,(_0x37f148+_0x275ec8)/0x2):Math['max'](_0x37f148-_0x3ac3fb,(_0x37f148+_0x275ec8)/0x2);_0x189f53[_0x308013(0x328)](_0x5c9314,_0x37f148),_0x189f53[_0x308013(0x2f7)](_0x5c9314,_0x2be725),_0x189f53[_0x308013(0x2f7)](_0x2987a8,_0x2be725),_0x189f53[_0x308013(0x2f7)](_0x2987a8,_0x275ec8);}else{let _0xac11c1=_0x470bbf+_0x30f080/0x2,_0x4068c2=_0x1d0629['top']+_0x1d0629[_0x308013(0x323)]/0x2,_0x1a40fd=_0x28e3e3===_0x308013(0x244)?_0x3c8b1c+_0x16f0f9:_0x3c8b1c,_0x1e33c5=_0x28e3e3==='right'?_0x1d0629[_0x308013(0x33e)]:_0x1d0629[_0x308013(0x33e)]+_0x1d0629[_0x308013(0x1b5)],_0x3939c7=_0x28e3e3===_0x308013(0x244)?Math['min'](_0x1a40fd+_0x3ac3fb,(_0x1a40fd+_0x1e33c5)/0x2):Math[_0x308013(0x205)](_0x1a40fd-_0x3ac3fb,(_0x1a40fd+_0x1e33c5)/0x2);_0x189f53[_0x308013(0x328)](_0x1a40fd,_0xac11c1),_0x189f53[_0x308013(0x2f7)](_0x3939c7,_0xac11c1),_0x189f53[_0x308013(0x2f7)](_0x3939c7,_0x4068c2),_0x189f53[_0x308013(0x2f7)](_0x1e33c5,_0x4068c2);}_0x189f53['stroke'](),_0x189f53[_0x308013(0x3e0)]();}};function Jt(_0x37cda9,_0x279a30){const _0x249aa8=_0x4e28b3;var _0x28f946;return(_0x28f946=_0x279a30==null?void 0x0:_0x279a30[_0x37cda9[_0x249aa8(0x404)]])==null?_0x37cda9[_0x249aa8(0x409)][_0x249aa8(0x2eb)]:_0x28f946;}function Yt(_0x783487,_0x397764){const _0x1710f8=_0x4e28b3;var _0x20705f,_0x2edbbf,_0x24fffe,_0x37100e;let _0x4d077f=Jt(_0x783487,_0x397764);return{'x':((_0x20705f=_0x4d077f[_0x1710f8(0x33e)])==null?0x0:_0x20705f)+((_0x2edbbf=_0x4d077f[_0x1710f8(0x1b5)])==null?0x0:_0x2edbbf)/0x2,'y':((_0x24fffe=_0x4d077f[_0x1710f8(0x3a3)])==null?0x0:_0x24fffe)+((_0x37100e=_0x4d077f[_0x1710f8(0x323)])==null?0x0:_0x37100e)/0x2};}function Xt(_0x1a258f,_0x9c97f3){const _0x18d0fc=_0x4e28b3;return Math[_0x18d0fc(0x14f)](_0x1a258f['x']-_0x9c97f3['x'],_0x1a258f['y']-_0x9c97f3['y']);}function Zt(_0x255e5a,_0x1ca7ed){const _0x2f6805=_0x4e28b3;var _0x199016,_0x477de8,_0x120332,_0x32e739,_0x2c9b6a,_0x54cb79,_0x4acc65,_0x5335ab;let _0x48a5f2=(_0x199016=_0x255e5a[_0x2f6805(0x33e)])==null?0x0:_0x199016,_0x5bc7b4=(_0x477de8=_0x255e5a[_0x2f6805(0x3a3)])==null?0x0:_0x477de8,_0x3a46ac=_0x48a5f2+((_0x120332=_0x255e5a['width'])==null?0x0:_0x120332),_0x31bc18=_0x5bc7b4+((_0x32e739=_0x255e5a[_0x2f6805(0x323)])==null?0x0:_0x32e739),_0x34ec4d=(_0x2c9b6a=_0x1ca7ed['left'])==null?0x0:_0x2c9b6a,_0x319097=(_0x54cb79=_0x1ca7ed['top'])==null?0x0:_0x54cb79,_0x35d8b6=_0x34ec4d+((_0x4acc65=_0x1ca7ed[_0x2f6805(0x1b5)])==null?0x0:_0x4acc65),_0x363030=_0x319097+((_0x5335ab=_0x1ca7ed[_0x2f6805(0x323)])==null?0x0:_0x5335ab),_0x206e52=Math['max'](_0x34ec4d-_0x3a46ac,_0x48a5f2-_0x35d8b6,0x0),_0x10c154=Math[_0x2f6805(0x205)](_0x319097-_0x31bc18,_0x5bc7b4-_0x363030,0x0);return Math[_0x2f6805(0x14f)](_0x206e52,_0x10c154);}function Qt(_0x2662ba,_0x5d6d96,_0x1760cf){const _0x38f589=_0x4e28b3;var _0x57a0e6;let _0x1a0c29=_0x130c96((_0x57a0e6=_0x2662ba[_0x5d6d96])==null?void 0x0:_0x57a0e6[_0x38f589(0x409)]);for(;_0x1a0c29!=null&&_0x1a0c29['parentNodeId'];){var _0x56b944;if(_0x1a0c29[_0x38f589(0x197)]===_0x1760cf)return!0x0;_0x1a0c29=_0x130c96((_0x56b944=_0x2662ba[_0x1a0c29['parentNodeId']])==null?void 0x0:_0x56b944[_0x38f589(0x409)]);}return!0x1;}function $t(_0x56a217,_0x5e0ec1,_0x420954){const _0x41c646=_0x4e28b3;var _0x2150bc,_0x5dbb95;let _0x4cb43a=Jt(_0x56a217,_0x420954),_0x3e1a60=(_0x2150bc=_0x4cb43a[_0x41c646(0x3a3)])==null?0x0:_0x2150bc,_0x3129ed=(_0x5dbb95=_0x4cb43a['height'])==null?0x0:_0x5dbb95;return _0x3129ed<=0x0?null:_0x5e0ec1['y']<=_0x3e1a60+_0x3129ed/0x3?_0x41c646(0x22e):_0x5e0ec1['y']>=_0x3e1a60+_0x3129ed*0x2/0x3?'after':null;}function en(_0x135eaa,_0x198596){const _0x26bdd0=_0x4e28b3;let _0x30ba30=_0x198596==null?void 0x0:_0x198596[_0x135eaa];return Number[_0x26bdd0(0x2de)](_0x30ba30==null?void 0x0:_0x30ba30['left'])&&Number['isFinite'](_0x30ba30==null?void 0x0:_0x30ba30[_0x26bdd0(0x3a3)])?{'kind':_0x26bdd0(0x39b),'left':_0x30ba30['left'],'top':_0x30ba30['top']}:{'kind':_0x26bdd0(0x39b)};}function tn(_0x253330,_0x5422a2,_0x28e4de){const _0x1529c5=_0x4e28b3;let _0xceaf90=_0x253330[_0x5422a2],_0x4b13df=_0x130c96(_0xceaf90==null?void 0x0:_0xceaf90['element']);if(!_0xceaf90||!_0x4b13df||!_0x4b13df[_0x1529c5(0x197)]&&!(_0x28e4de!=null&&_0x28e4de[_0x1529c5(0x16b)]))return{'kind':_0x1529c5(0x38c)};let _0x47214c=_0x28e4de==null?void 0x0:_0x28e4de[_0x1529c5(0x393)],_0x6c2666=Jt(_0xceaf90,_0x47214c),_0x2253fa=Yt(_0xceaf90,_0x47214c),_0x1f6e7d=Object[_0x1529c5(0x326)](_0x253330)[_0x1529c5(0x1cb)](_0x5a1043=>{const _0x1ba989=_0x1529c5;let _0x1cc9ae=_0x130c96(_0x5a1043['element']);return!_0x1cc9ae||_0x5a1043[_0x1ba989(0x404)]===_0x5422a2||_0x5a1043[_0x1ba989(0x404)]===_0x4b13df[_0x1ba989(0x197)]||_0x28e4de!=null&&_0x28e4de['allowRootReparent']&&!_0x4b13df[_0x1ba989(0x197)]&&_0x1cc9ae['structureScopeId']===_0x4b13df[_0x1ba989(0x3fe)]||Qt(_0x253330,_0x5a1043['elementId'],_0x5422a2)?null:{'item':_0x5a1043,'snapDistance':Zt(_0x6c2666,Jt(_0x5a1043,_0x47214c)),'center':Yt(_0x5a1043,_0x47214c)};})['filter'](_0x45fea9=>!!_0x45fea9)[_0x1529c5(0x3b9)]((_0x5cc575,_0x1b72f5)=>_0x5cc575[_0x1529c5(0x3cb)]-_0x1b72f5['snapDistance']||Xt(_0x2253fa,_0x5cc575[_0x1529c5(0x2cc)])-Xt(_0x2253fa,_0x1b72f5[_0x1529c5(0x2cc)]))[0x0];if(_0x1f6e7d&&_0x1f6e7d[_0x1529c5(0x3cb)]<=0x64){let _0x16b0bf=_0x130c96(_0x1f6e7d[_0x1529c5(0x1d5)]['element']),_0x46b59b=_0x16b0bf!=null&&_0x16b0bf[_0x1529c5(0x197)]?$t(_0x1f6e7d['item'],_0x2253fa,_0x47214c):null;if(_0x16b0bf!=null&&_0x16b0bf['parentNodeId']&&_0x46b59b){var _0x5a31ed;return{'kind':'reparent','newParentNodeId':_0x16b0bf[_0x1529c5(0x197)],'side':(_0x5a31ed=_0x16b0bf[_0x1529c5(0x164)])==null?'right':_0x5a31ed,'referenceNodeId':_0x1f6e7d[_0x1529c5(0x1d5)][_0x1529c5(0x404)],'placement':_0x46b59b};}return{'kind':_0x1529c5(0x3b2),'newParentNodeId':_0x1f6e7d[_0x1529c5(0x1d5)][_0x1529c5(0x404)],'side':_0x2253fa['x']<_0x1f6e7d[_0x1529c5(0x2cc)]['x']?_0x1529c5(0x33e):_0x1529c5(0x244)};}if(_0x28e4de!=null&&_0x28e4de[_0x1529c5(0x395)])return en(_0x5422a2,_0x47214c);if(!_0x4b13df[_0x1529c5(0x197)])return{'kind':'none'};let _0x285810=_0x253330[_0x4b13df['parentNodeId']];return _0x285810&&Xt(_0x2253fa,Yt(_0x285810,_0x47214c))>0x230?en(_0x5422a2,_0x47214c):{'kind':'none'};}function nn(_0x53a1d2,_0x126047){const _0x1dc86b=_0x4e28b3;var _0x3df4bb,_0x24f6f3;return _0x53a1d2[_0x1dc86b(0x404)]===_0x126047||((_0x3df4bb=_0x130c96(_0x53a1d2[_0x1dc86b(0x409)]))==null?void 0x0:_0x3df4bb[_0x1dc86b(0x3fe)])===_0x126047||((_0x24f6f3=_0x42da87(_0x53a1d2[_0x1dc86b(0x409)]))==null?void 0x0:_0x24f6f3['structureScopeId'])===_0x126047;}function rn(_0x5f1c5b,_0x3a62c1,_0x2f6b48,_0x452683){const _0x4410=_0x4e28b3;var _0x54afec,_0x3757bd,_0x1ebef6,_0x3902e8,_0x344f4c,_0x1afaa7;let _0x500d57=_0x5f1c5b[_0x3a62c1];if(!_0x500d57)return _0x5f1c5b;let _0x27a1ac=(_0x54afec=(_0x3757bd=_0x500d57[_0x4410(0x2eb)])==null?_0x500d57[_0x4410(0x409)]['transform']:_0x3757bd)==null?{}:_0x54afec;return{..._0x5f1c5b,[_0x3a62c1]:{..._0x500d57,'transform':{..._0x27a1ac,'left':((_0x1ebef6=_0x27a1ac[_0x4410(0x33e)])==null?0x0:_0x1ebef6)+_0x2f6b48,'top':((_0x3902e8=_0x27a1ac[_0x4410(0x3a3)])==null?0x0:_0x3902e8)+_0x452683},'element':{..._0x500d57[_0x4410(0x409)],'transform':{..._0x500d57['element'][_0x4410(0x2eb)],'left':((_0x344f4c=_0x500d57[_0x4410(0x409)]['transform'][_0x4410(0x33e)])==null?0x0:_0x344f4c)+_0x2f6b48,'top':((_0x1afaa7=_0x500d57[_0x4410(0x409)]['transform'][_0x4410(0x3a3)])==null?0x0:_0x1afaa7)+_0x452683}}}};}function an(_0x89889a){const _0x4bf2ed=_0x4e28b3;if(!Number[_0x4bf2ed(0x2de)](_0x89889a[_0x4bf2ed(0x22a)]['left'])||!Number[_0x4bf2ed(0x2de)](_0x89889a[_0x4bf2ed(0x22a)][_0x4bf2ed(0x3a3)])||!Number['isFinite'](_0x89889a[_0x4bf2ed(0x1aa)][_0x4bf2ed(0x33e)])||!Number['isFinite'](_0x89889a[_0x4bf2ed(0x1aa)][_0x4bf2ed(0x3a3)]))return null;let _0x47a231=_0x89889a[_0x4bf2ed(0x22a)][_0x4bf2ed(0x33e)]-_0x89889a[_0x4bf2ed(0x1aa)][_0x4bf2ed(0x33e)],_0x1b0ebc=_0x89889a[_0x4bf2ed(0x22a)][_0x4bf2ed(0x3a3)]-_0x89889a['rootStartBounds']['top'],_0x59138c=rn(_0x89889a['elementData'],_0x89889a[_0x4bf2ed(0x38b)],_0x47a231,_0x1b0ebc),_0x205869=[];return Object[_0x4bf2ed(0x326)](_0x59138c)[_0x4bf2ed(0x3c2)](_0x4aa2df=>{const _0x413466=_0x4bf2ed;if(_0x4aa2df[_0x413466(0x404)]===_0x89889a[_0x413466(0x215)]||_0x4aa2df[_0x413466(0x404)]===_0x89889a[_0x413466(0x38b)]||!nn(_0x4aa2df,_0x89889a['scopeId']))return;if('connectorData'in _0x4aa2df['element']){var _0xced695;let _0x26cc11=(_0xced695=_0x89889a[_0x413466(0x25a)][_0x4aa2df[_0x413466(0x404)]])==null?void 0x0:_0xced695['element'];_0x26cc11&&_0x413466(0x296)in _0x26cc11&&_0x205869['push']({'kind':_0x413466(0x34c),'elementId':_0x4aa2df[_0x413466(0x404)],'element':_0x31298f(_0x26cc11,{'x':_0x47a231,'y':_0x1b0ebc})});return;}let _0x422040=_0x8188de(_0x59138c,_0x4aa2df[_0x413466(0x404)]);_0x422040&&_0x205869[_0x413466(0x251)]({'kind':'bounds','elementId':_0x4aa2df['elementId'],'bounds':_0x422040});}),{'deltaX':_0x47a231,'deltaY':_0x1b0ebc,'elementData':_0x59138c,'items':_0x205869};}let on=class extends _0x43afa6{constructor(_0x666407,_0x1d2377,_0x67a80b,_0x21612d,_0x3bf55d,_0x2c9ef9){const _0x113f26=_0x4e28b3;super(),this['_renderContext']=_0x666407,this['_boardElementService']=_0x1d2377,this[_0x113f26(0x1e3)]=_0x67a80b,this['_commandService']=_0x21612d,this['_uiStateService']=_0x3bf55d,this[_0x113f26(0x218)]=_0x2c9ef9,K(this,_0x113f26(0x3f7),null),K(this,'_pointerDragStart',null),K(this,'_dragPreviewObject',null),K(this,_0x113f26(0x324),!0x1),K(this,_0x113f26(0x364),null),K(this,_0x113f26(0x412),null),K(this,'_attachObjectPointerScheduled',!0x1),K(this,'_activePointerDragDisposables',null),K(this,_0x113f26(0x1f6),!0x1),this['_init']();}[_0x4e28b3(0x169)](){const _0x33def7=_0x4e28b3;var _0x49f713,_0x1370be,_0x515acb,_0x1a03c9,_0x2ade10,_0xdc83dd,_0x51ece2,_0x2a9e30,_0x91b159,_0x4fc4d7;let _0xbabf7=this[_0x33def7(0x1f3)][_0x33def7(0x171)]['getTransformerByCreate']();this['disposeWithMe'](_0x288fdc(_0xbabf7['changeStart$'][_0x33def7(0x34f)](_0x362352(this[_0x33def7(0x2a2)]))[_0x33def7(0x345)](()=>{const _0x413c36=_0x33def7;this[_0x413c36(0x2b4)]();}))),this['disposeWithMe'](_0x288fdc((_0x49f713=(_0x1370be=_0xbabf7['changing$'])==null?void 0x0:_0x1370be[_0x33def7(0x34f)](_0x362352(this[_0x33def7(0x2a2)]))[_0x33def7(0x345)](_0x3d82ac=>{this['_syncDragPreview'](_0x3d82ac==null?void 0x0:_0x3d82ac['objects']);}))==null?{'dispose':()=>{}}:_0x49f713)),this[_0x33def7(0x40b)](_0x288fdc(_0xbabf7['changeEnd$'][_0x33def7(0x34f)](_0x362352(this[_0x33def7(0x2a2)]))[_0x33def7(0x345)](_0x332fdb=>{const _0x3230c9=_0x33def7;setTimeout(()=>this[_0x3230c9(0x14e)](_0x332fdb==null?void 0x0:_0x332fdb[_0x3230c9(0x1ab)]),0x0);}))),this[_0x33def7(0x40b)](_0x288fdc((_0x515acb=(_0x1a03c9=this[_0x33def7(0x1f3)][_0x33def7(0x171)][_0x33def7(0x33d)])==null?void 0x0:_0x1a03c9[_0x33def7(0x36e)]({'priority':0x3,'next':([_0x57c306])=>this[_0x33def7(0x1f9)](_0x57c306)}))==null?{'dispose':()=>{}}:_0x515acb)),this['disposeWithMe'](_0x288fdc((_0x2ade10=(_0xdc83dd=this[_0x33def7(0x1f3)][_0x33def7(0x171)][_0x33def7(0x1a4)])==null?void 0x0:_0xdc83dd['subscribeEvent']({'priority':0x3,'next':([_0x2105cc,_0x29a4da])=>this[_0x33def7(0x2d6)](_0x2105cc,_0x29a4da)}))==null?{'dispose':()=>{}}:_0x2ade10)),this[_0x33def7(0x40b)](_0x288fdc((_0x51ece2=(_0x2a9e30=this['_renderContext'][_0x33def7(0x171)][_0x33def7(0x194)])==null?void 0x0:_0x2a9e30[_0x33def7(0x36e)]({'priority':0x3,'next':([_0x3c231d,_0x25ff61])=>this[_0x33def7(0x38e)](_0x3c231d,_0x25ff61)}))==null?{'dispose':()=>{}}:_0x51ece2)),this[_0x33def7(0x40b)](_0x288fdc((_0x91b159=(_0x4fc4d7=this[_0x33def7(0x1f3)]['scene'][_0x33def7(0x1d9)])==null?void 0x0:_0x4fc4d7[_0x33def7(0x36e)]({'priority':0x3,'next':([,_0x4df382])=>this[_0x33def7(0x293)](_0x4df382)}))==null?{'dispose':()=>{}}:_0x91b159)),this[_0x33def7(0x40b)](_0x288fdc(()=>{const _0x26e044=_0x33def7;var _0x47b5fa;return(_0x47b5fa=this[_0x26e044(0x412)])==null?void 0x0:_0x47b5fa['dispose']();})),this[_0x33def7(0x40b)](_0x288fdc(()=>this[_0x33def7(0x3a8)]())),this[_0x33def7(0x228)](),this[_0x33def7(0x336)](),this[_0x33def7(0x40b)](_0x288fdc(()=>this['_removeDragPreviewObject']()));}[_0x4e28b3(0x228)](){const _0x131954=_0x4e28b3;let _0x5c9383=this[_0x131954(0x234)],_0x40699f=_0x3259bd=>{const _0x12f4b1=_0x131954;let _0x5f2588=_0x3259bd==null?void 0x0:_0x3259bd['subscribe'](()=>this[_0x12f4b1(0x336)]());_0x5f2588&&this[_0x12f4b1(0x40b)](_0x288fdc(()=>{const _0x3e2b30=_0x12f4b1;var _0x226a0c,_0x5d158f;(_0x226a0c=_0x5f2588[_0x3e2b30(0x29d)])==null||_0x226a0c[_0x3e2b30(0x1e1)](_0x5f2588),(_0x5d158f=_0x5f2588[_0x3e2b30(0x1ee)])==null||_0x5d158f['call'](_0x5f2588);}));};_0x40699f(_0x5c9383[_0x131954(0x16e)]),_0x40699f(_0x5c9383['elementUpdate$']),_0x40699f(_0x5c9383[_0x131954(0x300)]),this[_0x131954(0x1e3)][_0x131954(0x27f)]&&this['disposeWithMe'](_0x288fdc(this[_0x131954(0x1e3)][_0x131954(0x27f)][_0x131954(0x34f)](_0x362352(this[_0x131954(0x2a2)]))['subscribe'](()=>{const _0x254bea=_0x131954;this[_0x254bea(0x336)]();})));}[_0x4e28b3(0x336)](){const _0x55c2a6=_0x4e28b3;this[_0x55c2a6(0x2a6)]||(this[_0x55c2a6(0x2a6)]=!0x0,Promise['resolve']()[_0x55c2a6(0x378)](()=>this[_0x55c2a6(0x1d7)]()));}['_attachObjectPointerListeners'](){const _0x1829ed=_0x4e28b3;var _0x5f03f0;this[_0x1829ed(0x2a6)]=!0x1;let _0x4253d8=this[_0x1829ed(0x2d3)](),_0x37b9d7=this['_renderContext'][_0x1829ed(0x171)];if(!_0x4253d8||typeof _0x37b9d7[_0x1829ed(0x3fc)]!='function')return;let _0x113d8d=this['_boardElementService'][_0x1829ed(0x36f)](_0x4253d8[_0x1829ed(0x204)],_0x4253d8[_0x1829ed(0x1e8)]),_0x475336=new _0x4ee20c();(_0x5f03f0=this[_0x1829ed(0x412)])==null||_0x5f03f0[_0x1829ed(0x29d)](),this[_0x1829ed(0x412)]=_0x475336,Object[_0x1829ed(0x326)](_0x113d8d)[_0x1829ed(0x3c2)](_0x58309f=>{const _0x29e5c0=_0x1829ed;var _0x4fcca7,_0x3bd1e5,_0x226384;let _0x3c322d=_0x130c96(_0x58309f['element']);if(!(_0x3c322d!=null&&_0x3c322d[_0x29e5c0(0x197)]))return;let _0x5c2096=_0x239fd6(_0x4253d8[_0x29e5c0(0x204)],_0x58309f[_0x29e5c0(0x404)]),_0x13b28a=(_0x4fcca7=(_0x3bd1e5=_0x37b9d7[_0x29e5c0(0x24c)])==null?void 0x0:_0x3bd1e5[_0x29e5c0(0x1e1)](_0x37b9d7,_0x5c2096))==null?(_0x226384=_0x37b9d7['getObject'])==null?void 0x0:_0x226384[_0x29e5c0(0x1e1)](_0x37b9d7,_0x5c2096):_0x4fcca7;_0x13b28a!=null&&_0x13b28a[_0x29e5c0(0x33d)]&&_0x475336['add'](_0x13b28a[_0x29e5c0(0x33d)][_0x29e5c0(0x36e)]({'priority':-0xa,'next':([_0x210fa8,_0x5aff8e])=>this[_0x29e5c0(0x1f9)](_0x210fa8,{'unitId':_0x4253d8[_0x29e5c0(0x204)],'subUnitId':_0x4253d8[_0x29e5c0(0x1e8)],'nodeId':_0x58309f[_0x29e5c0(0x404)]},_0x5aff8e)}));});}['_resolveCurrentBoardContext'](){const _0x523b65=_0x4e28b3;let _0x3be04b=this[_0x523b65(0x1e3)][_0x523b65(0x2af)]()['context'];if(_0x3be04b)return _0x3be04b;let _0x34d604=this['_renderContext'][_0x523b65(0x204)],_0x17492a=_0x34d604?this[_0x523b65(0x218)]['getUnit'](_0x34d604,_0x2934fe[_0x523b65(0x302)]):null,_0x3326e6=_0x17492a==null?void 0x0:_0x17492a[_0x523b65(0x3be)]();return!_0x17492a||!_0x3326e6?null:{'unitId':_0x17492a[_0x523b65(0x2c1)](),'subUnitId':_0x3326e6};}[_0x4e28b3(0x2b4)](){const _0x36bba3=_0x4e28b3;var _0x9e6b3b,_0x5c3afa,_0xc9a810,_0x3621bb,_0x47f853,_0x45576c,_0x55b381,_0x5a267e,_0x376706;let _0x224563=this[_0x36bba3(0x1e3)][_0x36bba3(0x2af)]();this['_childDragActivated']=!0x1,this[_0x36bba3(0x1f6)]=!0x1,this[_0x36bba3(0x364)]=null;let _0x58d166=_0x224563['context'],_0x3c24d6=(_0x9e6b3b=_0x224563[_0x36bba3(0x26f)])==null?_0x224563[_0x36bba3(0x315)][0x0]:_0x9e6b3b;if(!_0x58d166||!_0x3c24d6||_0x224563[_0x36bba3(0x315)][_0x36bba3(0x282)]!==0x1){this[_0x36bba3(0x3f7)]=null,this['_removeDragPreviewObject']();return;}let _0x537848=this['_boardElementService'][_0x36bba3(0x36f)](_0x58d166[_0x36bba3(0x204)],_0x58d166['subUnitId']),_0x2a4e7f=_0x537848[_0x3c24d6],_0x105db7=_0x130c96(_0x2a4e7f==null?void 0x0:_0x2a4e7f['element']);if(!_0x2a4e7f||!_0x105db7){this['_dragStart']=null,this[_0x36bba3(0x41a)]();return;}let _0x489b72=_0x8188de(_0x537848,_0x3c24d6),_0x31c71d=_0x2a4e7f[_0x36bba3(0x409)][_0x36bba3(0x2eb)];this['_dragStart']={'kind':_0x105db7[_0x36bba3(0x197)]===null?_0x36bba3(0x407):_0x36bba3(0x1f4),'unitId':_0x58d166['unitId'],'subUnitId':_0x58d166[_0x36bba3(0x1e8)],'nodeId':_0x3c24d6,'scopeId':_0x105db7[_0x36bba3(0x3fe)],'left':(_0x5c3afa=(_0xc9a810=_0x489b72==null?void 0x0:_0x489b72[_0x36bba3(0x33e)])==null?_0x31c71d[_0x36bba3(0x33e)]:_0xc9a810)==null?0x0:_0x5c3afa,'top':(_0x3621bb=(_0x47f853=_0x489b72==null?void 0x0:_0x489b72[_0x36bba3(0x3a3)])==null?_0x31c71d[_0x36bba3(0x3a3)]:_0x47f853)==null?0x0:_0x3621bb,'width':(_0x45576c=(_0x55b381=_0x489b72==null?void 0x0:_0x489b72[_0x36bba3(0x1b5)])==null?_0x31c71d['width']:_0x55b381)==null?0x0:_0x45576c,'height':(_0x5a267e=(_0x376706=_0x489b72==null?void 0x0:_0x489b72[_0x36bba3(0x323)])==null?_0x31c71d['height']:_0x376706)==null?0x0:_0x5a267e,'elementData':_0x537848};}[_0x4e28b3(0x1f9)](_0x59ae69,_0x40c9f0,_0x26496f){const _0x2d93c9=_0x4e28b3;var _0x1cb50f,_0x1b4538,_0x2b9e99,_0x4d5370,_0x456383,_0x570ada,_0x5d76bf,_0x44cd2,_0x4a6ca2,_0x42f1a2,_0x15577b,_0x526811,_0x4b13a0,_0x52160e;if(((_0x1cb50f=_0x59ae69[_0x2d93c9(0x3c7)])==null?0x0:_0x1cb50f)!==0x0)return;let _0x219a5f=this[_0x2d93c9(0x1e3)][_0x2d93c9(0x2af)]();if(_0x219a5f[_0x2d93c9(0x2bc)]){this[_0x2d93c9(0x3e6)]=null;return;}let _0x238cad=_0x40c9f0?{'unitId':_0x40c9f0[_0x2d93c9(0x204)],'subUnitId':_0x40c9f0[_0x2d93c9(0x1e8)]}:(_0x1b4538=_0x219a5f[_0x2d93c9(0x1ed)])==null?this[_0x2d93c9(0x2d3)]():_0x1b4538,_0x5a6778=(_0x2b9e99=_0x40c9f0==null?void 0x0:_0x40c9f0[_0x2d93c9(0x263)])==null?_0x219a5f[_0x2d93c9(0x315)][_0x2d93c9(0x282)]===0x1?(_0x4d5370=_0x219a5f[_0x2d93c9(0x26f)])==null?_0x219a5f[_0x2d93c9(0x315)][0x0]:_0x4d5370:void 0x0:_0x2b9e99;if(!_0x238cad){this['_pointerDragStart']=null;return;}let _0x23719b=this[_0x2d93c9(0x234)]['getElementData'](_0x238cad[_0x2d93c9(0x204)],_0x238cad[_0x2d93c9(0x1e8)]),_0x3c7ff1=this['_getBoardPointFromEvent'](_0x59ae69);if(!_0x40c9f0){var _0x3e40f3,_0x59b791,_0x3ee20b,_0x23a334,_0x19214b;let _0x15697d=_0x5a6778?_0x23719b[_0x5a6778]:null,_0xc7a77=_0x130c96(_0x15697d==null?void 0x0:_0x15697d[_0x2d93c9(0x409)]),_0x2ebb2b=_0x5a6778?(_0x3e40f3=_0x8188de(_0x23719b,_0x5a6778))==null?_0x15697d==null?void 0x0:_0x15697d[_0x2d93c9(0x409)][_0x2d93c9(0x2eb)]:_0x3e40f3:null;(!(_0xc7a77!=null&&_0xc7a77['parentNodeId'])||!_0x2ebb2b||!this['_isPointInBounds'](_0x3c7ff1,{'left':(_0x59b791=_0x2ebb2b[_0x2d93c9(0x33e)])==null?0x0:_0x59b791,'top':(_0x3ee20b=_0x2ebb2b[_0x2d93c9(0x3a3)])==null?0x0:_0x3ee20b,'width':(_0x23a334=_0x2ebb2b[_0x2d93c9(0x1b5)])==null?0x0:_0x23a334,'height':(_0x19214b=_0x2ebb2b['height'])==null?0x0:_0x19214b}))&&(_0x5a6778=this[_0x2d93c9(0x19c)](_0x23719b,_0x3c7ff1));}if(!_0x5a6778){this[_0x2d93c9(0x3e6)]=null;return;}let _0x25e1f4=_0x23719b[_0x5a6778],_0x4322b6=_0x130c96(_0x25e1f4==null?void 0x0:_0x25e1f4['element']);if(!_0x25e1f4||!(_0x4322b6!=null&&_0x4322b6[_0x2d93c9(0x197)])){this['_pointerDragStart']=null;return;}(_0x456383=(_0x570ada=this[_0x2d93c9(0x1e3)])[_0x2d93c9(0x15b)])==null||_0x456383[_0x2d93c9(0x1e1)](_0x570ada,_0x238cad,[_0x5a6778],_0x5a6778),_0x26496f==null||_0x26496f['stopPropagation']();let _0x4ce2f6=_0x8188de(_0x23719b,_0x5a6778),_0x45ccaf=_0x25e1f4[_0x2d93c9(0x409)][_0x2d93c9(0x2eb)],_0x4fd0b8={'left':(_0x5d76bf=(_0x44cd2=_0x4ce2f6==null?void 0x0:_0x4ce2f6[_0x2d93c9(0x33e)])==null?_0x45ccaf['left']:_0x44cd2)==null?0x0:_0x5d76bf,'top':(_0x4a6ca2=(_0x42f1a2=_0x4ce2f6==null?void 0x0:_0x4ce2f6[_0x2d93c9(0x3a3)])==null?_0x45ccaf[_0x2d93c9(0x3a3)]:_0x42f1a2)==null?0x0:_0x4a6ca2,'width':(_0x15577b=(_0x526811=_0x4ce2f6==null?void 0x0:_0x4ce2f6[_0x2d93c9(0x1b5)])==null?_0x45ccaf[_0x2d93c9(0x1b5)]:_0x526811)==null?0x0:_0x15577b,'height':(_0x4b13a0=(_0x52160e=_0x4ce2f6==null?void 0x0:_0x4ce2f6['height'])==null?_0x45ccaf[_0x2d93c9(0x323)]:_0x52160e)==null?0x0:_0x4b13a0};if(!_0x40c9f0&&!this['_isPointInBounds'](_0x3c7ff1,_0x4fd0b8)){this[_0x2d93c9(0x3e6)]=null;return;}let _0x379cf3=this[_0x2d93c9(0x29b)](_0x59ae69);this[_0x2d93c9(0x324)]=!0x1,this['_childDragSelectionHidden']=!0x1,this[_0x2d93c9(0x364)]=null,this['_pointerDragStart']={'kind':'child','unitId':_0x238cad[_0x2d93c9(0x204)],'subUnitId':_0x238cad[_0x2d93c9(0x1e8)],'nodeId':_0x5a6778,'scopeId':_0x4322b6['structureScopeId'],..._0x4fd0b8,'pointerStartX':_0x379cf3['x'],'pointerStartY':_0x379cf3['y'],'elementData':_0x23719b},this[_0x2d93c9(0x1e6)](),this[_0x2d93c9(0x26a)](_0x59ae69,_0x26496f);}[_0x4e28b3(0x2d6)](_0x33ff8e,_0x38ace6){const _0x3322ed=_0x4e28b3;var _0x12817b,_0x145d9a;let _0xd28e6b=this['_pointerDragStart'];if(!_0xd28e6b||_0x33ff8e['buttons']!==void 0x0&&_0x33ff8e['buttons']!==0x1)return;let _0x166637=this[_0x3322ed(0x369)](_0x33ff8e,_0xd28e6b);if(!this['_isChildDragPastActivationThreshold'](_0xd28e6b,_0x166637))return;this[_0x3322ed(0x324)]||this[_0x3322ed(0x16f)](),this[_0x3322ed(0x324)]=!0x0;let _0x4886d2=this[_0x3322ed(0x235)](_0xd28e6b[_0x3322ed(0x25a)],_0xd28e6b['nodeId'],_0x166637),_0x17b7c4=tn(_0xd28e6b[_0x3322ed(0x25a)],_0xd28e6b['nodeId'],{'boundsByElementId':_0x4886d2,'detachWhenNoSnap':!0x0});this['_lastChildDragAction']=_0x17b7c4,this[_0x3322ed(0x217)](_0x166637,_0x17b7c4,_0x4886d2),this[_0x3322ed(0x26a)](_0x33ff8e,_0x38ace6),this[_0x3322ed(0x1f3)][_0x3322ed(0x171)][_0x3322ed(0x29f)](!0x0),(_0x12817b=(_0x145d9a=this[_0x3322ed(0x1f3)][_0x3322ed(0x171)])['requestRender'])==null||_0x12817b[_0x3322ed(0x1e1)](_0x145d9a);}[_0x4e28b3(0x38e)](_0x26369,_0x3724cb){const _0x2e0819=_0x4e28b3;let _0x1ff87f=this[_0x2e0819(0x3e6)];if(!_0x1ff87f)return;if(this[_0x2e0819(0x3e6)]=null,this[_0x2e0819(0x3a8)](),this['_removeDragPreviewObject'](),!this['_childDragActivated']){this[_0x2e0819(0x364)]=null;return;}let _0x174208=this[_0x2e0819(0x234)][_0x2e0819(0x36f)](_0x1ff87f['unitId'],_0x1ff87f['subUnitId']),_0x435634=this[_0x2e0819(0x369)](_0x26369,_0x1ff87f),_0x364244=this[_0x2e0819(0x235)](_0x174208,_0x1ff87f['nodeId'],_0x435634),_0x5ed69c=tn(_0x174208,_0x1ff87f[_0x2e0819(0x263)],{'boundsByElementId':_0x364244,'detachWhenNoSnap':!0x0});this[_0x2e0819(0x364)]=null,this[_0x2e0819(0x1ea)](_0x1ff87f[_0x2e0819(0x204)],_0x1ff87f[_0x2e0819(0x1e8)],_0x1ff87f[_0x2e0819(0x263)],_0x174208,_0x5ed69c),this[_0x2e0819(0x1f6)]=!0x1,this['_consumePointerEvent'](_0x26369,_0x3724cb);}[_0x4e28b3(0x293)](_0x3d4581){const _0x35323c=_0x4e28b3;let _0x477919=this[_0x35323c(0x3e6)];if(_0x477919){if(this[_0x35323c(0x3e6)]=null,this[_0x35323c(0x3a8)](),this['_childDragActivated']=!0x1,this[_0x35323c(0x364)]=null,this[_0x35323c(0x41a)](),this['_childDragSelectionHidden']){var _0xbb206,_0x415133;(_0xbb206=(_0x415133=this[_0x35323c(0x1e3)])[_0x35323c(0x15b)])==null||_0xbb206[_0x35323c(0x1e1)](_0x415133,{'unitId':_0x477919['unitId'],'subUnitId':_0x477919[_0x35323c(0x1e8)]},[_0x477919[_0x35323c(0x263)]],_0x477919[_0x35323c(0x263)]),this['_childDragSelectionHidden']=!0x1;}_0x3d4581==null||_0x3d4581[_0x35323c(0x372)]();}}[_0x4e28b3(0x1e6)](){const _0x2d2f98=_0x4e28b3;this[_0x2d2f98(0x3a8)]();let _0x1cf7ab=typeof window>'u'?null:window;if(!(_0x1cf7ab!=null&&_0x1cf7ab[_0x2d2f98(0x1d6)]))return;let _0x12514e=new _0x4ee20c(),_0x3de023=_0x44a521=>this['_syncPointerChildDragPreview'](_0x44a521),_0x5f8298=_0xcfbeab=>this[_0x2d2f98(0x38e)](_0xcfbeab),_0x2623bf=()=>this[_0x2d2f98(0x293)]();_0x1cf7ab[_0x2d2f98(0x1d6)](_0x2d2f98(0x20d),_0x3de023,{'capture':!0x0}),_0x1cf7ab[_0x2d2f98(0x1d6)](_0x2d2f98(0x31c),_0x5f8298,{'capture':!0x0}),_0x1cf7ab[_0x2d2f98(0x1d6)](_0x2d2f98(0x3e8),_0x2623bf,{'capture':!0x0}),_0x12514e[_0x2d2f98(0x398)](_0x288fdc(()=>{const _0x21f71c=_0x2d2f98;_0x1cf7ab['removeEventListener']('pointermove',_0x3de023,{'capture':!0x0}),_0x1cf7ab[_0x21f71c(0x152)](_0x21f71c(0x31c),_0x5f8298,{'capture':!0x0}),_0x1cf7ab[_0x21f71c(0x152)]('pointercancel',_0x2623bf,{'capture':!0x0});})),this['_activePointerDragDisposables']=_0x12514e;}[_0x4e28b3(0x19c)](_0x5cefad,_0x378ee9){const _0xfd42f7=_0x4e28b3;let _0x2fa10d=Object[_0xfd42f7(0x326)](_0x5cefad);for(let _0x6d2e0a=_0x2fa10d[_0xfd42f7(0x282)]-0x1;_0x6d2e0a>=0x0;--_0x6d2e0a){var _0x1b9bc8,_0x2bb313,_0x467b31,_0x2e2967,_0x27c40a;let _0x32f56d=_0x2fa10d[_0x6d2e0a],_0x4c55cd=_0x130c96(_0x32f56d['element']);if(!(_0x4c55cd!=null&&_0x4c55cd['parentNodeId']))continue;let _0x57cebb=(_0x1b9bc8=_0x8188de(_0x5cefad,_0x32f56d[_0xfd42f7(0x404)]))==null?_0x32f56d[_0xfd42f7(0x409)][_0xfd42f7(0x2eb)]:_0x1b9bc8;if(this[_0xfd42f7(0x16d)](_0x378ee9,{'left':(_0x2bb313=_0x57cebb['left'])==null?0x0:_0x2bb313,'top':(_0x467b31=_0x57cebb[_0xfd42f7(0x3a3)])==null?0x0:_0x467b31,'width':(_0x2e2967=_0x57cebb[_0xfd42f7(0x1b5)])==null?0x0:_0x2e2967,'height':(_0x27c40a=_0x57cebb['height'])==null?0x0:_0x27c40a}))return _0x32f56d[_0xfd42f7(0x404)];}}[_0x4e28b3(0x3a8)](){const _0x76eb50=_0x4e28b3;var _0x458d10;(_0x458d10=this[_0x76eb50(0x1cd)])==null||_0x458d10[_0x76eb50(0x29d)](),this[_0x76eb50(0x1cd)]=null;}[_0x4e28b3(0x3b1)](_0x2771b4){const _0x3b1e3f=_0x4e28b3;let _0x54b0a7=this[_0x3b1e3f(0x3f7)];if(_0x54b0a7){if(_0x54b0a7['kind']===_0x3b1e3f(0x407)){this[_0x3b1e3f(0x384)](_0x2771b4),this[_0x3b1e3f(0x33f)](_0x2771b4);return;}this[_0x3b1e3f(0x2b6)](_0x2771b4);}}[_0x4e28b3(0x384)](_0x33d286){const _0x1158ff=_0x4e28b3;let _0x158f27=this[_0x1158ff(0x3f7)];if(!_0x158f27||_0x158f27[_0x1158ff(0x15e)]!==_0x1158ff(0x407))return;let _0x12fce0=_0x33d286==null?void 0x0:_0x33d286['get'](_0x239fd6(_0x158f27[_0x1158ff(0x204)],_0x158f27[_0x1158ff(0x263)]));if(!_0x12fce0||!Number[_0x1158ff(0x2de)](_0x12fce0['left'])||!Number['isFinite'](_0x12fce0[_0x1158ff(0x3a3)]))return;let _0x229f2e=an({'elementData':_0x158f27['elementData'],'rootNodeId':_0x158f27[_0x1158ff(0x263)],'scopeId':_0x158f27[_0x1158ff(0x38b)],'rootStartBounds':{'left':_0x158f27[_0x1158ff(0x33e)],'top':_0x158f27[_0x1158ff(0x3a3)]},'liveRootBounds':{'left':_0x12fce0[_0x1158ff(0x33e)],'top':_0x12fce0['top']}});if(!_0x229f2e)return;let _0xf5138a=this['_renderContext']['scene'],_0x58488c=_0xf5138a,_0x1f26bb=!0x1;_0x229f2e[_0x1158ff(0x3bb)][_0x1158ff(0x3c2)](_0x4ed971=>{const _0x737573=_0x1158ff;var _0x3c7125,_0x310610;let _0x57422f=_0x239fd6(_0x158f27[_0x737573(0x204)],_0x4ed971[_0x737573(0x404)]),_0x4124f5=(_0x3c7125=(_0x310610=_0x58488c[_0x737573(0x24c)])==null?void 0x0:_0x310610['call'](_0x58488c,_0x57422f))==null?_0xf5138a['getObject'](_0x57422f):_0x3c7125;if(_0x4124f5){if(_0x4ed971[_0x737573(0x15e)]===_0x737573(0x34c)&&typeof _0x4124f5['updateElement']==_0x737573(0x1a6)){_0x4124f5[_0x737573(0x18c)](_0x4ed971[_0x737573(0x409)],_0x229f2e[_0x737573(0x25a)]),_0x1f26bb=!0x0;return;}_0x4ed971[_0x737573(0x15e)]===_0x737573(0x27c)&&(_0x4124f5[_0x737573(0x1e7)](_0x4ed971[_0x737573(0x27c)]),typeof _0x4124f5[_0x737573(0x1e0)]==_0x737573(0x1a6)?_0x4124f5[_0x737573(0x1e0)](!0x0):_0x4124f5['makeDirty'](!0x0),_0x1f26bb=!0x0);}}),_0x1f26bb&&_0xf5138a[_0x1158ff(0x29f)](!0x0);}[_0x4e28b3(0x33f)](_0x2b4495){const _0x42abdd=_0x4e28b3;var _0x4f12c5,_0x4fa8ce;let _0x5d5648=this['_dragStart'];if(!_0x5d5648||_0x5d5648[_0x42abdd(0x15e)]!=='root')return;let _0x42eed8=_0x2b4495==null?void 0x0:_0x2b4495[_0x42abdd(0x349)](_0x239fd6(_0x5d5648[_0x42abdd(0x204)],_0x5d5648[_0x42abdd(0x263)]));if(!_0x42eed8||!Number['isFinite'](_0x42eed8[_0x42abdd(0x33e)])||!Number[_0x42abdd(0x2de)](_0x42eed8[_0x42abdd(0x3a3)])){this[_0x42abdd(0x41a)]();return;}let _0x5e881e=this[_0x42abdd(0x38a)](_0x42eed8,_0x5d5648),_0x3c2bca=this[_0x42abdd(0x235)](_0x5d5648[_0x42abdd(0x25a)],_0x5d5648[_0x42abdd(0x263)],_0x5e881e),_0x495b1e=tn(_0x5d5648[_0x42abdd(0x25a)],_0x5d5648[_0x42abdd(0x263)],{'boundsByElementId':_0x3c2bca,'allowRootReparent':!0x0});if(_0x495b1e['kind']!==_0x42abdd(0x3b2)){this[_0x42abdd(0x41a)]();return;}let _0x423558=this['_ensureDragPreviewObject']();_0x423558&&(_0x423558[_0x42abdd(0x3e7)]({'ghostBounds':_0x5e881e,'sourceBounds':null,'parentBounds':_0x3c2bca[_0x495b1e[_0x42abdd(0x290)]],'side':_0x495b1e[_0x42abdd(0x164)],'textStyle':void 0x0,'renderGhostNode':!0x1}),this[_0x42abdd(0x1f3)][_0x42abdd(0x171)][_0x42abdd(0x29f)](!0x0),(_0x4f12c5=(_0x4fa8ce=this[_0x42abdd(0x1f3)][_0x42abdd(0x171)])[_0x42abdd(0x24e)])==null||_0x4f12c5[_0x42abdd(0x1e1)](_0x4fa8ce));}['_syncChildDragPreview'](_0x48c879){const _0x40df8f=_0x4e28b3;var _0x3b44fc,_0x568821;let _0x4a7af5=this[_0x40df8f(0x3f7)];if(!_0x4a7af5||_0x4a7af5[_0x40df8f(0x15e)]!=='child')return;let _0x2dcf6d=_0x48c879==null?void 0x0:_0x48c879[_0x40df8f(0x349)](_0x239fd6(_0x4a7af5[_0x40df8f(0x204)],_0x4a7af5[_0x40df8f(0x263)]));if(!_0x2dcf6d){this[_0x40df8f(0x41a)]();return;}let _0x2bece4=this[_0x40df8f(0x38a)](_0x2dcf6d,_0x4a7af5);if(!this[_0x40df8f(0x266)](_0x4a7af5,_0x2bece4)){this['_lastChildDragAction']=null,this[_0x40df8f(0x41a)](),this[_0x40df8f(0x2d9)](_0x2dcf6d,_0x4a7af5),this['_renderContext']['scene'][_0x40df8f(0x29f)](!0x0);return;}this['_childDragActivated']||this[_0x40df8f(0x16f)](),this['_childDragActivated']=!0x0;let _0x58c761=this[_0x40df8f(0x235)](_0x4a7af5[_0x40df8f(0x25a)],_0x4a7af5[_0x40df8f(0x263)],_0x2bece4),_0x491b92=tn(_0x4a7af5[_0x40df8f(0x25a)],_0x4a7af5[_0x40df8f(0x263)],{'boundsByElementId':_0x58c761,'detachWhenNoSnap':!0x0});this[_0x40df8f(0x364)]=_0x491b92,this['_syncChildDragPreviewObject'](_0x2bece4,_0x491b92,_0x58c761),this[_0x40df8f(0x2d9)](_0x2dcf6d,_0x4a7af5),this['_renderContext']['scene'][_0x40df8f(0x29f)](!0x0),(_0x3b44fc=(_0x568821=this[_0x40df8f(0x1f3)][_0x40df8f(0x171)])[_0x40df8f(0x24e)])==null||_0x3b44fc[_0x40df8f(0x1e1)](_0x568821);}[_0x4e28b3(0x14e)](_0x5d75b0){const _0x28de61=_0x4e28b3;var _0x191557;let _0x5bba3f=this[_0x28de61(0x1e3)][_0x28de61(0x2af)](),_0x3a92c3=_0x5bba3f['context'],_0x40b147=(_0x191557=_0x5bba3f[_0x28de61(0x26f)])==null?_0x5bba3f[_0x28de61(0x315)][0x0]:_0x191557;if(!_0x3a92c3||!_0x40b147||_0x5bba3f[_0x28de61(0x315)]['length']!==0x1){this[_0x28de61(0x41a)](),this[_0x28de61(0x3f7)]=null;return;}this[_0x28de61(0x41a)]();let _0x39d02d=this[_0x28de61(0x234)]['getElementData'](_0x3a92c3[_0x28de61(0x204)],_0x3a92c3[_0x28de61(0x1e8)]);if(this['_applyRootTranslation'](_0x3a92c3[_0x28de61(0x204)],_0x3a92c3[_0x28de61(0x1e8)],_0x40b147,_0x39d02d,_0x5d75b0))return;let _0x5ce644=this['_resolveChildDragTopologyAction'](_0x3a92c3[_0x28de61(0x204)],_0x3a92c3[_0x28de61(0x1e8)],_0x40b147,_0x39d02d,_0x5d75b0);this[_0x28de61(0x1ea)](_0x3a92c3[_0x28de61(0x204)],_0x3a92c3[_0x28de61(0x1e8)],_0x40b147,_0x39d02d,_0x5ce644);}[_0x4e28b3(0x1ea)](_0x57a4a4,_0x2879c7,_0x4f069b,_0x22d66a,_0x89af7a){const _0x26169b=_0x4e28b3;if(_0x89af7a[_0x26169b(0x15e)]==='reparent'){var _0x36da6a,_0x7e5351;let _0x58a4ec=_0x130c96((_0x36da6a=_0x22d66a[_0x4f069b])==null?void 0x0:_0x36da6a[_0x26169b(0x409)]),_0x41150c=_0x130c96((_0x7e5351=_0x22d66a[_0x89af7a[_0x26169b(0x290)]])==null?void 0x0:_0x7e5351[_0x26169b(0x409)]);this['_executeAndLayout'](_0x3bb170['id'],{'unitId':_0x57a4a4,'subUnitId':_0x2879c7,'nodeId':_0x4f069b,'newParentNodeId':_0x89af7a['newParentNodeId'],'side':_0x89af7a[_0x26169b(0x164)],..._0x89af7a[_0x26169b(0x33b)]?{'referenceNodeId':_0x89af7a['referenceNodeId']}:null,..._0x89af7a[_0x26169b(0x385)]?{'placement':_0x89af7a['placement']}:null},[_0x58a4ec==null?void 0x0:_0x58a4ec[_0x26169b(0x3fe)],_0x41150c==null?void 0x0:_0x41150c[_0x26169b(0x3fe)]],_0x4f069b);return;}if(_0x89af7a[_0x26169b(0x15e)]===_0x26169b(0x39b)){var _0x1dd118;let _0x2ec7e4=_0x130c96((_0x1dd118=_0x22d66a[_0x4f069b])==null?void 0x0:_0x1dd118['element']);this[_0x26169b(0x310)](_0x465ffb['id'],{'unitId':_0x57a4a4,'subUnitId':_0x2879c7,'nodeId':_0x4f069b,...Number[_0x26169b(0x2de)](_0x89af7a[_0x26169b(0x33e)])?{'left':_0x89af7a[_0x26169b(0x33e)]}:null,...Number[_0x26169b(0x2de)](_0x89af7a[_0x26169b(0x3a3)])?{'top':_0x89af7a[_0x26169b(0x3a3)]}:null},[_0x2ec7e4==null?void 0x0:_0x2ec7e4[_0x26169b(0x3fe)]],_0x4f069b);}}['_applyRootTranslation'](_0x54ac55,_0x392e40,_0x691c86,_0x523089,_0x2174e0){const _0xb5845f=_0x4e28b3;var _0x1a83ad,_0x1491e1,_0x7cbe47,_0x47acdb;let _0x196d1d=this[_0xb5845f(0x3f7)];if((_0x196d1d==null?void 0x0:_0x196d1d[_0xb5845f(0x15e)])===_0xb5845f(0x407)&&(this['_dragStart']=null),!_0x196d1d||_0x196d1d[_0xb5845f(0x204)]!==_0x54ac55||_0x196d1d['subUnitId']!==_0x392e40||_0x196d1d[_0xb5845f(0x263)]!==_0x691c86)return!0x1;let _0x527bc8=_0x523089[_0x691c86],_0xb8c76b=_0x130c96(_0x527bc8==null?void 0x0:_0x527bc8[_0xb5845f(0x409)]);if(!_0x527bc8||!_0xb8c76b||_0xb8c76b[_0xb5845f(0x197)]!==null)return!0x1;let _0x5b57a7=_0x2174e0==null?void 0x0:_0x2174e0['get'](_0x239fd6(_0x54ac55,_0x691c86)),_0xfe92b3=_0x8188de(_0x523089,_0x691c86),_0x467ba4=Number['isFinite'](_0x5b57a7==null?void 0x0:_0x5b57a7['left'])?_0x5b57a7[_0xb5845f(0x33e)]:(_0x1a83ad=(_0x1491e1=_0xfe92b3==null?void 0x0:_0xfe92b3[_0xb5845f(0x33e)])==null?_0x527bc8[_0xb5845f(0x409)]['transform'][_0xb5845f(0x33e)]:_0x1491e1)==null?0x0:_0x1a83ad,_0x3ce458=Number[_0xb5845f(0x2de)](_0x5b57a7==null?void 0x0:_0x5b57a7[_0xb5845f(0x3a3)])?_0x5b57a7['top']:(_0x7cbe47=(_0x47acdb=_0xfe92b3==null?void 0x0:_0xfe92b3['top'])==null?_0x527bc8['element'][_0xb5845f(0x2eb)]['top']:_0x47acdb)==null?0x0:_0x7cbe47,_0x355631=_0x467ba4-_0x196d1d[_0xb5845f(0x33e)],_0x81c5ec=_0x3ce458-_0x196d1d[_0xb5845f(0x3a3)];if(_0x355631===0x0&&_0x81c5ec===0x0)return!0x0;let _0x25fdd1={'left':_0x467ba4,'top':_0x3ce458,'width':Number[_0xb5845f(0x2de)](_0x5b57a7==null?void 0x0:_0x5b57a7[_0xb5845f(0x1b5)])?_0x5b57a7[_0xb5845f(0x1b5)]:_0x196d1d['width'],'height':Number[_0xb5845f(0x2de)](_0x5b57a7==null?void 0x0:_0x5b57a7[_0xb5845f(0x323)])?_0x5b57a7[_0xb5845f(0x323)]:_0x196d1d[_0xb5845f(0x323)]},_0xf9d9a0=tn(_0x523089,_0x691c86,{'boundsByElementId':this[_0xb5845f(0x235)](_0x523089,_0x691c86,_0x25fdd1),'allowRootReparent':!0x0});if(_0xf9d9a0[_0xb5845f(0x15e)]===_0xb5845f(0x3b2))return this[_0xb5845f(0x1ea)](_0x54ac55,_0x392e40,_0x691c86,_0x523089,_0xf9d9a0),!0x0;let _0x1ff7da=!!_0xfe92b3&&Math[_0xb5845f(0x2aa)](_0xfe92b3[_0xb5845f(0x33e)]-_0x467ba4)<0.001&&Math['abs'](_0xfe92b3[_0xb5845f(0x3a3)]-_0x3ce458)<0.001;return this[_0xb5845f(0x19a)]['executeCommand'](_0x5876ce['id'],{'unitId':_0x54ac55,'subUnitId':_0x392e40,'scopeId':_0x196d1d[_0xb5845f(0x38b)],'deltaX':_0x355631,'deltaY':_0x81c5ec,..._0x1ff7da?{'excludeElementIds':[_0x691c86],'preserveExcludedWorldTransforms':!0x0}:null}),!0x0;}[_0x4e28b3(0x2ce)](_0x8991c7,_0x399f15,_0x38d7e5,_0x204226,_0x2d1af2){const _0x18a5ad=_0x4e28b3;let _0x227bf4=this['_dragStart'];if(!_0x227bf4||_0x227bf4[_0x18a5ad(0x15e)]!==_0x18a5ad(0x1f4)||_0x227bf4[_0x18a5ad(0x204)]!==_0x8991c7||_0x227bf4[_0x18a5ad(0x1e8)]!==_0x399f15||_0x227bf4[_0x18a5ad(0x263)]!==_0x38d7e5)return{'kind':'none'};this[_0x18a5ad(0x3f7)]=null;let _0x3a2549=_0x2d1af2==null?void 0x0:_0x2d1af2[_0x18a5ad(0x349)](_0x239fd6(_0x8991c7,_0x38d7e5));if(!this[_0x18a5ad(0x324)])return _0x3a2549&&this[_0x18a5ad(0x2d9)](_0x3a2549,_0x227bf4),this[_0x18a5ad(0x364)]=null,{'kind':_0x18a5ad(0x38c)};if(!_0x3a2549){var _0x310b13;let _0x2f82a9=(_0x310b13=this['_lastChildDragAction'])==null?{'kind':_0x18a5ad(0x38c)}:_0x310b13;return this[_0x18a5ad(0x364)]=null,_0x2f82a9;}let _0xe8ca32=this[_0x18a5ad(0x38a)](_0x3a2549,_0x227bf4);if(this['_restoreObjectToDragStart'](_0x3a2549,_0x227bf4),!this[_0x18a5ad(0x266)](_0x227bf4,_0xe8ca32))return this[_0x18a5ad(0x364)]=null,{'kind':_0x18a5ad(0x38c)};let _0x5e9987=tn(_0x204226,_0x38d7e5,{'boundsByElementId':this[_0x18a5ad(0x235)](_0x204226,_0x38d7e5,_0xe8ca32),'detachWhenNoSnap':!0x0});return this[_0x18a5ad(0x364)]=null,_0x5e9987;}[_0x4e28b3(0x266)](_0x3240b5,_0x24caeb){const _0x23e6fa=_0x4e28b3;var _0x469f2a,_0x51357b;let _0x476c85=((_0x469f2a=_0x24caeb['left'])==null?_0x3240b5['left']:_0x469f2a)-_0x3240b5['left'],_0x28a725=((_0x51357b=_0x24caeb['top'])==null?_0x3240b5[_0x23e6fa(0x3a3)]:_0x51357b)-_0x3240b5['top'];return Math[_0x23e6fa(0x14f)](_0x476c85,_0x28a725)>=0x12;}[_0x4e28b3(0x369)](_0x2929c1,_0x40eea4){const _0x2ee10c=_0x4e28b3;let _0x98e8fa=this[_0x2ee10c(0x29b)](_0x2929c1),_0x56f369=this[_0x2ee10c(0x339)]();return{'left':_0x40eea4[_0x2ee10c(0x33e)]+(_0x98e8fa['x']-_0x40eea4[_0x2ee10c(0x173)])/_0x56f369,'top':_0x40eea4[_0x2ee10c(0x3a3)]+(_0x98e8fa['y']-_0x40eea4[_0x2ee10c(0x416)])/_0x56f369,'width':_0x40eea4[_0x2ee10c(0x1b5)],'height':_0x40eea4[_0x2ee10c(0x323)]};}[_0x4e28b3(0x23f)](_0x13819d){const _0x184153=_0x4e28b3;var _0x8dee70,_0x48f204,_0xd4bbfb;let _0x32f0ab=this[_0x184153(0x226)][_0x184153(0x15a)](),_0x222820=(_0x8dee70=_0x32f0ab==null?void 0x0:_0x32f0ab[_0x184153(0x2c8)])==null?{'x':0x0,'y':0x0}:_0x8dee70,_0x4c6582=this[_0x184153(0x339)]();return{'x':Math[_0x184153(0x414)]((((_0x48f204=_0x13819d[_0x184153(0x3ba)])==null?0x0:_0x48f204)-_0x222820['x'])/_0x4c6582),'y':Math[_0x184153(0x414)]((((_0xd4bbfb=_0x13819d[_0x184153(0x1b0)])==null?0x0:_0xd4bbfb)-_0x222820['y'])/_0x4c6582)};}[_0x4e28b3(0x29b)](_0x5d7939){const _0x3beb47=_0x4e28b3;var _0x15548e,_0x185257;return{'x':Number[_0x3beb47(0x2de)](_0x5d7939[_0x3beb47(0x2e9)])?_0x5d7939[_0x3beb47(0x2e9)]:(_0x15548e=_0x5d7939[_0x3beb47(0x3ba)])==null?0x0:_0x15548e,'y':Number[_0x3beb47(0x2de)](_0x5d7939[_0x3beb47(0x383)])?_0x5d7939['clientY']:(_0x185257=_0x5d7939[_0x3beb47(0x1b0)])==null?0x0:_0x185257};}[_0x4e28b3(0x339)](){const _0x3d4c85=_0x4e28b3;let _0x19f238=this['_uiStateService'][_0x3d4c85(0x15a)]()['zoomRatio'];return Number[_0x3d4c85(0x2de)](_0x19f238)&&(_0x19f238==null?0x0:_0x19f238)>0x0?_0x19f238:0x1;}['_isPointInBounds'](_0x4f1839,_0x59bd12){const _0x8d5b82=_0x4e28b3;return _0x4f1839['x']>=_0x59bd12[_0x8d5b82(0x33e)]&&_0x4f1839['x']<=_0x59bd12[_0x8d5b82(0x33e)]+_0x59bd12[_0x8d5b82(0x1b5)]&&_0x4f1839['y']>=_0x59bd12[_0x8d5b82(0x3a3)]&&_0x4f1839['y']<=_0x59bd12[_0x8d5b82(0x3a3)]+_0x59bd12[_0x8d5b82(0x323)];}[_0x4e28b3(0x26a)](_0x4f3c88,_0x2b695b){const _0x2e878a=_0x4e28b3;var _0x1a1d11,_0x142b37;_0x2b695b==null||_0x2b695b[_0x2e878a(0x372)](),_0x2b695b&&(_0x2b695b[_0x2e878a(0x155)]=!0x0),(_0x1a1d11=_0x4f3c88[_0x2e878a(0x2a0)])==null||_0x1a1d11['call'](_0x4f3c88),(_0x142b37=_0x4f3c88[_0x2e878a(0x372)])==null||_0x142b37[_0x2e878a(0x1e1)](_0x4f3c88);}['_hideSelectionForChildDrag'](){const _0x277306=_0x4e28b3;var _0x56ab77,_0x5d6944;this[_0x277306(0x1f6)]||((_0x56ab77=(_0x5d6944=this[_0x277306(0x1e3)])[_0x277306(0x2fd)])==null||_0x56ab77[_0x277306(0x1e1)](_0x5d6944),this[_0x277306(0x1f6)]=!0x0);}[_0x4e28b3(0x38a)](_0xee336e,_0x2da18f){const _0x321228=_0x4e28b3;return{'left':Number['isFinite'](_0xee336e['left'])?_0xee336e['left']:_0x2da18f[_0x321228(0x33e)],'top':Number['isFinite'](_0xee336e[_0x321228(0x3a3)])?_0xee336e['top']:_0x2da18f[_0x321228(0x3a3)],'width':Number[_0x321228(0x2de)](_0xee336e[_0x321228(0x1b5)])?_0xee336e[_0x321228(0x1b5)]:_0x2da18f[_0x321228(0x1b5)],'height':Number[_0x321228(0x2de)](_0xee336e['height'])?_0xee336e['height']:_0x2da18f[_0x321228(0x323)]};}[_0x4e28b3(0x2d9)](_0x5b2080,_0x3ae09e){const _0x437741=_0x4e28b3;typeof _0x5b2080[_0x437741(0x1e7)]==_0x437741(0x1a6)&&_0x5b2080[_0x437741(0x1e7)]({'left':_0x3ae09e[_0x437741(0x33e)],'top':_0x3ae09e[_0x437741(0x3a3)],'width':_0x3ae09e[_0x437741(0x1b5)],'height':_0x3ae09e['height']}),typeof _0x5b2080[_0x437741(0x1e0)]==_0x437741(0x1a6)?_0x5b2080[_0x437741(0x1e0)](!0x0):typeof _0x5b2080['makeDirty']==_0x437741(0x1a6)&&_0x5b2080[_0x437741(0x29f)](!0x0);}[_0x4e28b3(0x235)](_0x46cafd,_0x30902c,_0x595ee4){const _0x1687b2=_0x4e28b3;return Object[_0x1687b2(0x247)](Object[_0x1687b2(0x356)](_0x46cafd)[_0x1687b2(0x1cb)](_0x188f67=>{const _0x14af8f=_0x1687b2;if(_0x188f67===_0x30902c)return[_0x188f67,_0x595ee4];let _0xd0de30=_0x8188de(_0x46cafd,_0x188f67);return[_0x188f67,_0xd0de30==null?_0x46cafd[_0x188f67][_0x14af8f(0x409)][_0x14af8f(0x2eb)]:_0xd0de30];}));}['_ensureDragPreviewObject'](){const _0x51bbb0=_0x4e28b3;if(this[_0x51bbb0(0x279)])return this[_0x51bbb0(0x279)];let _0x19ca17=this[_0x51bbb0(0x1f3)][_0x51bbb0(0x171)];return typeof _0x19ca17['addObject']==_0x51bbb0(0x1a6)?(this[_0x51bbb0(0x279)]=new qt(Vt),_0x19ca17[_0x51bbb0(0x153)](this[_0x51bbb0(0x279)],Ht),this[_0x51bbb0(0x279)]):null;}[_0x4e28b3(0x217)](_0x5f3f0c,_0x7736e,_0x18217c){const _0xd6d01b=_0x4e28b3;let _0x1daa04=this['_ensureDragPreviewObject']();_0x1daa04&&_0x1daa04[_0xd6d01b(0x3e7)]({'ghostBounds':_0x5f3f0c,'sourceBounds':this[_0xd6d01b(0x2ca)](),'parentBounds':_0x7736e[_0xd6d01b(0x15e)]===_0xd6d01b(0x3b2)?_0x18217c[_0x7736e['newParentNodeId']]:null,'side':_0x7736e['kind']===_0xd6d01b(0x3b2)?_0x7736e[_0xd6d01b(0x164)]:_0xd6d01b(0x244),'textStyle':this[_0xd6d01b(0x1a0)](),'renderGhostNode':!0x0});}[_0x4e28b3(0x2ca)](){const _0x1605df=_0x4e28b3;var _0x3db366;let _0x21bfdd=(_0x3db366=this[_0x1605df(0x3e6)])==null?this[_0x1605df(0x3f7)]:_0x3db366;return _0x21bfdd?{'left':_0x21bfdd[_0x1605df(0x33e)],'top':_0x21bfdd[_0x1605df(0x3a3)],'width':_0x21bfdd[_0x1605df(0x1b5)],'height':_0x21bfdd['height']}:null;}['_resolvePreviewTextStyle'](){const _0xee3904=_0x4e28b3;var _0x4af031,_0x394c95,_0x449cbc;let _0x567e2a=(_0x4af031=this[_0xee3904(0x3e6)])==null?this['_dragStart']:_0x4af031,_0x5ab71e=_0x567e2a==null||(_0x394c95=_0x567e2a[_0xee3904(0x25a)][_0x567e2a[_0xee3904(0x263)]])==null?void 0x0:_0x394c95[_0xee3904(0x409)],_0x4fb594=_0x5ab71e==null||(_0x449cbc=_0x5ab71e[_0xee3904(0x292)])==null?void 0x0:_0x449cbc[_0xee3904(0x186)];if(_0x4fb594)return{'text':typeof _0x4fb594['text']=='string'?_0x4fb594[_0xee3904(0x288)]:void 0x0,'fontSize':Number['isFinite'](_0x4fb594[_0xee3904(0x419)])?_0x4fb594['fontSize']:void 0x0,'color':typeof _0x4fb594[_0xee3904(0x36d)]=='string'?_0x4fb594[_0xee3904(0x36d)]:void 0x0,'horizontalAlign':Number[_0xee3904(0x2de)](_0x4fb594[_0xee3904(0x287)])?_0x4fb594['horizontalAlign']:void 0x0};}[_0x4e28b3(0x41a)](){const _0x3af249=_0x4e28b3;var _0x238782,_0x1867e5,_0x1eecce;if(!this['_dragPreviewObject'])return;let _0x4e762b=this[_0x3af249(0x1f3)][_0x3af249(0x171)];(_0x238782=_0x4e762b[_0x3af249(0x1bc)])==null||_0x238782['call'](_0x4e762b,[this[_0x3af249(0x279)]]),this['_dragPreviewObject']=null,(_0x1867e5=(_0x1eecce=this[_0x3af249(0x1f3)][_0x3af249(0x171)])[_0x3af249(0x29f)])==null||_0x1867e5['call'](_0x1eecce,!0x0);}['_executeAndLayout'](_0x5ee7ac,_0x5e163b,_0x40da00,_0x3e8501){const _0x35725d=_0x4e28b3;let _0x4e37ee=[...new Set(_0x40da00[_0x35725d(0x20e)](_0xd79233=>!!_0xd79233))],_0x1427cb=this[_0x35725d(0x19a)][_0x35725d(0x3d6)](_0x5ee7ac,_0x5e163b);Promise[_0x35725d(0x1c8)](_0x1427cb)[_0x35725d(0x378)](_0x2e8830=>{const _0x1ea69c=_0x35725d;var _0x218784,_0x1e2489,_0x2b8737,_0x329ab1;if(_0x2e8830){if(_0x4e37ee[_0x1ea69c(0x3c2)](_0x1a9b20=>{const _0x233387=_0x1ea69c;this[_0x233387(0x19a)]['executeCommand'](_0x3a4dc0['id'],{'unitId':_0x5e163b['unitId'],'subUnitId':_0x5e163b[_0x233387(0x1e8)],'scopeId':_0x1a9b20});}),_0x3e8501&&typeof _0x5e163b[_0x1ea69c(0x204)]=='string'&&typeof _0x5e163b[_0x1ea69c(0x1e8)]==_0x1ea69c(0x304)){var _0x12958c,_0x1dafb7;(_0x12958c=(_0x1dafb7=this[_0x1ea69c(0x1e3)])['selectElements'])==null||_0x12958c[_0x1ea69c(0x1e1)](_0x1dafb7,{'unitId':_0x5e163b[_0x1ea69c(0x204)],'subUnitId':_0x5e163b['subUnitId']},[_0x3e8501],_0x3e8501);}(_0x218784=(_0x1e2489=this['_renderContext']['scene'])[_0x1ea69c(0x29f)])==null||_0x218784[_0x1ea69c(0x1e1)](_0x1e2489,!0x0),(_0x2b8737=(_0x329ab1=this[_0x1ea69c(0x1f3)][_0x1ea69c(0x171)])[_0x1ea69c(0x24e)])==null||_0x2b8737[_0x1ea69c(0x1e1)](_0x329ab1);}});}};on=J([q(0x1,_0x19f927(_0x5af7fa)),q(0x2,_0x19f927(_0x4ad25d)),q(0x3,_0x4c9d00),q(0x4,_0x4b72d1),q(0x5,_0x34a716)],on);const sn='board.mind-map.description-dialog',cn=_0x4e28b3(0x1c0);function ln(_0x1948e0){const _0x104373=_0x4e28b3;let {unitId:_0x1f3304,subUnitId:_0x2f652d,nodeId:_0x339406,initialDescription:_0x3472d2=''}=_0x1948e0,_0x5351be=_0x3d87e3(_0x4c9d00),_0x486321=_0x3d87e3(_0x527822),_0x18334e=_0x3d87e3(_0x19a155),[_0x33ade8,_0x4f8f72]=_0x33a7c5(_0x3472d2),_0x6258af=()=>_0x486321['close'](cn);return _0x1e5b1d(_0x104373(0x3b6),{'className':'univer-flex\x20univer-w-full\x20univer-flex-col\x20univer-gap-4','data-board-mind-map-description-dialog':_0x104373(0x30b),'children':[_0x1e5b1d(_0x104373(0x2ae),{'className':_0x104373(0x250),'children':[_0xdbc3b(_0x104373(0x316),{'className':'univer-text-sm\x20univer-font-medium\x20univer-text-gray-900\x20dark:!univer-text-white','children':_0x18334e['t']('boards-mind-ui.description')}),_0xdbc3b(_0x55a337,{'autoFocus':!0x0,'className':_0x104373(0x3da),'placeholder':_0x18334e['t'](_0x104373(0x3a6)),'value':_0x33ade8,'onValueChange':_0x4f8f72})]}),_0x1e5b1d(_0x104373(0x3b6),{'className':'univer-flex\x20univer-justify-end\x20univer-gap-2','children':[_0xdbc3b(_0x25b887,{'size':_0x104373(0x225),'variant':_0x104373(0x2f8),'onClick':_0x6258af,'children':_0x18334e['t'](_0x104373(0x363))}),_0xdbc3b(_0x25b887,{'size':_0x104373(0x225),'variant':_0x104373(0x2e2),'onClick':()=>{const _0x54698f=_0x104373;_0x5351be[_0x54698f(0x3d6)](_0x36d216['id'],{'unitId':_0x1f3304,'subUnitId':_0x2f652d,'nodeId':_0x339406,'foreignAttributes':{'_note':_0x33ade8[_0x54698f(0x239)]()?_0x33ade8:null}}),_0x6258af();},'children':_0x18334e['t'](_0x104373(0x34a))})]})]});}const un='board.operation.mind-map.keyboard-shortcut',dn={'copy':_0xfbb3e1[_0x4e28b3(0x39c)],'paste':_0xfbb3e1[_0x4e28b3(0x3ac)],'paste-as-new':_0xfbb3e1[_0x4e28b3(0x3ac)],'add-child':_0xfbb3e1['addChildNode'],'add-sibling-or-child':_0xfbb3e1[_0x4e28b3(0x212)],'promote':_0xfbb3e1[_0x4e28b3(0x24b)],'toggle-collapse':_0xfbb3e1[_0x4e28b3(0x19e)],'collapse-all':_0xfbb3e1['collapseAllNodes'],'edit-text':_0xfbb3e1[_0x4e28b3(0x27a)],'open-description':_0xfbb3e1[_0x4e28b3(0x231)],'delete':_0x5e6623[_0x4e28b3(0x1d8)],'arrow-left':_0x5e6623[_0x4e28b3(0x2dc)],'arrow-right':_0x5e6623['ARROW_RIGHT'],'arrow-up':_0x5e6623['ARROW_UP'],'arrow-down':_0x5e6623[_0x4e28b3(0x30f)]},fn={'delete':[_0x5e6623[_0x4e28b3(0x243)]]};function pn(_0x5eafec){var _0x398f43;return[dn[_0x5eafec],...(_0x398f43=fn[_0x5eafec])==null?[]:_0x398f43];}let mn=class extends _0x43afa6{constructor(_0x2d7943,_0x3332ca,_0x270419,_0x39f0ff,_0x2b2547,_0x104836,_0xf092aa,_0x29191c){const _0x399df4=_0x4e28b3;super(),this[_0x399df4(0x234)]=_0x2d7943,this[_0x399df4(0x1e3)]=_0x3332ca,this[_0x399df4(0x2f2)]=_0x270419,this[_0x399df4(0x1e5)]=_0x39f0ff,this[_0x399df4(0x19a)]=_0x2b2547,this[_0x399df4(0x3f2)]=_0x104836,this[_0x399df4(0x201)]=_0xf092aa,this['_dialogService']=_0x29191c,this['_init']();}[_0x4e28b3(0x169)](){const _0xaa0bb0=_0x4e28b3;this['disposeWithMe'](this[_0xaa0bb0(0x19a)][_0xaa0bb0(0x1ba)](this[_0xaa0bb0(0x19b)]())),this['_createShortcutItems']()[_0xaa0bb0(0x3c2)](_0x4d085a=>{const _0x4b9653=_0xaa0bb0;this[_0x4b9653(0x40b)](this['_shortcutService'][_0x4b9653(0x3de)](_0x4d085a));});}[_0x4e28b3(0x19b)](){const _0x41f8ef=_0x4e28b3;return{'id':un,'type':_0x23b005[_0x41f8ef(0x3b3)],'handler':(_0x1be144,_0x5a7d25)=>this[_0x41f8ef(0x3ca)](_0x5a7d25==null?void 0x0:_0x5a7d25['action'])};}[_0x4e28b3(0x20f)](){const _0x3aa2d9=_0x4e28b3;let _0x6756a4=(_0x1cff21,_0x2e3221)=>({'id':un,'binding':_0x1cff21,'priority':0xa0,'preconditions':()=>!!this[_0x3aa2d9(0x2be)](),'staticParameters':{'action':_0x2e3221}}),_0x3789da=_0x109c8b=>pn(_0x109c8b)[_0x3aa2d9(0x1cb)](_0x241a1b=>_0x6756a4(_0x241a1b,_0x109c8b));return[..._0x3789da(_0x3aa2d9(0x39c)),{'id':un,'binding':dn[_0x3aa2d9(0x3ac)],'priority':0xa0,'preconditions':()=>!!this[_0x3aa2d9(0x1e5)][_0x3aa2d9(0x40e)]()&&!!this[_0x3aa2d9(0x2be)](),'staticParameters':{'action':_0x3aa2d9(0x3ac)}},{'id':un,'binding':dn[_0x3aa2d9(0x1a5)],'priority':0x96,'preconditions':()=>!!this[_0x3aa2d9(0x1e5)]['getPayload']()&&!!this[_0x3aa2d9(0x163)](),'staticParameters':{'action':_0x3aa2d9(0x1a5)}},..._0x3789da(_0x3aa2d9(0x334)),..._0x3789da(_0x3aa2d9(0x27d)),..._0x3789da(_0x3aa2d9(0x14c)),..._0x3789da(_0x3aa2d9(0x1b3)),..._0x3789da(_0x3aa2d9(0x214)),..._0x3789da(_0x3aa2d9(0x162)),..._0x3789da(_0x3aa2d9(0x332)),..._0x3789da(_0x3aa2d9(0x269)),..._0x3789da(_0x3aa2d9(0x2e0)),..._0x3789da('arrow-right'),..._0x3789da(_0x3aa2d9(0x380)),..._0x3789da(_0x3aa2d9(0x3d2))];}['_handleShortcut'](_0x2a2179){const _0x420639=_0x4e28b3;return _0x2a2179===_0x420639(0x39c)?this[_0x420639(0x347)]():_0x2a2179===_0x420639(0x3ac)?this[_0x420639(0x3ae)]():_0x2a2179==='paste-as-new'?this[_0x420639(0x391)]():_0x2a2179===_0x420639(0x334)?this['_addChild']():_0x2a2179==='add-sibling-or-child'?this[_0x420639(0x245)]():_0x2a2179===_0x420639(0x14c)?this[_0x420639(0x1fb)](_0x3c763e['id']):_0x2a2179==='toggle-collapse'?this['_executeNodeOperation'](_0xdc2fc2['id']):_0x2a2179===_0x420639(0x214)?this['_collapseAll']():_0x2a2179==='edit-text'?this[_0x420639(0x34e)]():_0x2a2179===_0x420639(0x332)?this[_0x420639(0x28c)]():_0x2a2179===_0x420639(0x269)?this[_0x420639(0x1fb)](_0x443802['id']):_0x2a2179&&hn(_0x2a2179)?this['_navigateByTopology'](_0x2a2179):!0x1;}[_0x4e28b3(0x347)](){const _0x220eaa=_0x4e28b3;let _0x18026c=this[_0x220eaa(0x2be)]();return _0x18026c?(this[_0x220eaa(0x19a)][_0x220eaa(0x3d6)](_0x5a3321['id'],{'unitId':_0x18026c[_0x220eaa(0x204)],'subUnitId':_0x18026c['subUnitId'],'nodeId':_0x18026c[_0x220eaa(0x263)]}),!0x0):!0x1;}[_0x4e28b3(0x3ae)](){const _0x169613=_0x4e28b3;let _0x2ee4a9=this['_getSelectedMindMapContext']();return!_0x2ee4a9||!this[_0x169613(0x1e5)][_0x169613(0x40e)]()?!0x1:(this[_0x169613(0x310)](_0x2153bf['id'],{'unitId':_0x2ee4a9[_0x169613(0x204)],'subUnitId':_0x2ee4a9['subUnitId'],'targetNodeId':_0x2ee4a9[_0x169613(0x263)]},_0x2ee4a9[_0x169613(0x38b)]),!0x0);}[_0x4e28b3(0x391)](){const _0x51a571=_0x4e28b3;let _0xf72f12=this[_0x51a571(0x163)]();if(!_0xf72f12||!this[_0x51a571(0x1e5)][_0x51a571(0x40e)]())return!0x1;let _0x429d69=this[_0x51a571(0x2f2)]['getState'](),_0x110e10=Number[_0x51a571(0x2de)](_0x429d69[_0x51a571(0x1be)])&&_0x429d69[_0x51a571(0x1be)]>0x0?_0x429d69[_0x51a571(0x1be)]:0x1,_0xb82d39=Math['round']((0x40-_0x429d69[_0x51a571(0x2c8)]['x'])/_0x110e10),_0x5951a3=Math[_0x51a571(0x414)]((0x40-_0x429d69['viewportPanOffset']['y'])/_0x110e10);return this[_0x51a571(0x19a)]['executeCommand'](_0x5cbfdf['id'],{'unitId':_0xf72f12[_0x51a571(0x204)],'subUnitId':_0xf72f12[_0x51a571(0x1e8)],'left':_0xb82d39,'top':_0x5951a3}),!0x0;}['_addChild'](){const _0x3175ad=_0x4e28b3;let _0x45154c=this[_0x3175ad(0x2be)]();if(!_0x45154c)return!0x1;let _0x3e41fb=_0x257cfe(0x6);return this[_0x3175ad(0x285)](_0x1c61db['id'],{'unitId':_0x45154c['unitId'],'subUnitId':_0x45154c[_0x3175ad(0x1e8)],'parentNodeId':_0x45154c[_0x3175ad(0x263)],'nodeId':_0x3e41fb,'connectorId':_0x257cfe(0x6)},_0x45154c[_0x3175ad(0x38b)],_0x3e41fb),!0x0;}['_addSiblingOrChild'](){const _0x5e452b=_0x4e28b3;let _0x51c936=this['_getSelectedMindMapContext']();if(!_0x51c936)return!0x1;let _0x54b6d0=_0x257cfe(0x6);return this[_0x5e452b(0x285)](_0x51c936[_0x5e452b(0x37e)]?_0x1c61db['id']:_0x4427c3['id'],{'unitId':_0x51c936['unitId'],'subUnitId':_0x51c936[_0x5e452b(0x1e8)],..._0x51c936[_0x5e452b(0x37e)]?{'parentNodeId':_0x51c936['nodeId'],'nodeId':_0x54b6d0}:{'nodeId':_0x51c936[_0x5e452b(0x263)],'siblingNodeId':_0x54b6d0},'connectorId':_0x257cfe(0x6)},_0x51c936[_0x5e452b(0x38b)],_0x54b6d0),!0x0;}[_0x4e28b3(0x1fb)](_0x56242e){const _0x3df786=_0x4e28b3;let _0x27c11e=this['_getSelectedMindMapContext']();return _0x27c11e?(this[_0x3df786(0x310)](_0x56242e,{'unitId':_0x27c11e[_0x3df786(0x204)],'subUnitId':_0x27c11e[_0x3df786(0x1e8)],'nodeId':_0x27c11e[_0x3df786(0x263)]},_0x27c11e[_0x3df786(0x38b)]),!0x0):!0x1;}[_0x4e28b3(0x3ad)](){const _0x11896c=_0x4e28b3;let _0x12195e=this[_0x11896c(0x2be)]();if(!_0x12195e)return!0x1;let _0x441b35=this[_0x11896c(0x234)][_0x11896c(0x36f)](_0x12195e[_0x11896c(0x204)],_0x12195e['subUnitId']),_0x53f8ae=Object['values'](_0x441b35)[_0x11896c(0x1cb)](_0x3cc500=>{const _0x36991=_0x11896c;let _0x3a7015=_0x130c96(_0x3cc500[_0x36991(0x409)]);return(_0x3a7015==null?void 0x0:_0x3a7015[_0x36991(0x3fe)])===_0x12195e[_0x36991(0x38b)]&&this[_0x36991(0x1b7)](_0x441b35,_0x12195e[_0x36991(0x38b)],_0x3cc500[_0x36991(0x404)])[_0x36991(0x282)]>0x0?{'nodeId':_0x3cc500['elementId'],'collapsed':_0x3a7015['collapsed']}:null;})[_0x11896c(0x20e)](_0x56c216=>!!_0x56c216);if(_0x53f8ae[_0x11896c(0x282)]===0x0)return!0x1;let _0x8418b7=_0x53f8ae[_0x11896c(0x240)](_0x3c60a8=>!_0x3c60a8[_0x11896c(0x341)]),_0x559932=_0x53f8ae['map'](_0xc348a3=>this['_commandService'][_0x11896c(0x3d6)](_0xdc2fc2['id'],{'unitId':_0x12195e[_0x11896c(0x204)],'subUnitId':_0x12195e[_0x11896c(0x1e8)],'nodeId':_0xc348a3['nodeId'],'collapsed':_0x8418b7}));return Promise['all'](_0x559932[_0x11896c(0x1cb)](_0x31ff86=>Promise['resolve'](_0x31ff86)))[_0x11896c(0x378)](_0x33a575=>{const _0x3a9635=_0x11896c;_0x33a575['some'](Boolean)&&this[_0x3a9635(0x19a)][_0x3a9635(0x3d6)](_0x3a4dc0['id'],{'unitId':_0x12195e[_0x3a9635(0x204)],'subUnitId':_0x12195e[_0x3a9635(0x1e8)],'scopeId':_0x12195e['scopeId']});}),!0x0;}['_openSelectedTextEditing'](){const _0x2ce4e7=_0x4e28b3;let _0x370aa0=this[_0x2ce4e7(0x2be)]();return _0x370aa0?(this[_0x2ce4e7(0x1e3)][_0x2ce4e7(0x15b)]({'unitId':_0x370aa0['unitId'],'subUnitId':_0x370aa0[_0x2ce4e7(0x1e8)]},[_0x370aa0[_0x2ce4e7(0x263)]],_0x370aa0[_0x2ce4e7(0x263)]),this['_boardTextEditingService'][_0x2ce4e7(0x284)](),this[_0x2ce4e7(0x201)][_0x2ce4e7(0x2b3)]({'unitId':_0x370aa0['unitId'],'subUnitId':_0x370aa0['subUnitId'],'shapeId':_0x370aa0[_0x2ce4e7(0x263)],'shapeKey':_0x239fd6(_0x370aa0[_0x2ce4e7(0x204)],_0x370aa0[_0x2ce4e7(0x263)]),'visible':!0x0}),!0x0):!0x1;}['_openDescriptionDialog'](){const _0x1750a9=_0x4e28b3;let _0x1e8f8c=this[_0x1750a9(0x2be)]();return _0x1e8f8c?(this['_dialogService'][_0x1750a9(0x268)]({'id':cn,'title':{'title':_0x1750a9(0x15c)},'width':0x1a4,'draggable':!0x0,'mask':!0x1,'maskClosable':!0x0,'children':{'label':sn,'unitId':_0x1e8f8c[_0x1750a9(0x204)],'subUnitId':_0x1e8f8c[_0x1750a9(0x1e8)],'nodeId':_0x1e8f8c['nodeId'],'initialDescription':_0x1e8f8c[_0x1750a9(0x318)]}}),!0x0):!0x1;}[_0x4e28b3(0x3c3)](_0x31f960){const _0x1a266e=_0x4e28b3;let _0x108d15=this[_0x1a266e(0x2be)]();if(!_0x108d15)return!0x1;let _0x23f2fe=this[_0x1a266e(0x234)]['getElementData'](_0x108d15['unitId'],_0x108d15[_0x1a266e(0x1e8)]),_0x220734=_0x23f2fe[_0x108d15['nodeId']],_0x4582b0=_0x130c96(_0x220734==null?void 0x0:_0x220734[_0x1a266e(0x409)]);if(!_0x220734||!_0x4582b0)return!0x1;let _0x184ccd={'arrow-left':_0x1a266e(0x278),'arrow-right':_0x1a266e(0x2db),'arrow-up':_0x1a266e(0x3d4),'arrow-down':_0x1a266e(0x3c9)}[_0x31f960];if(!_0x184ccd)return!0x1;let _0x2ec8c5=this[_0x1a266e(0x176)](_0x23f2fe,_0x108d15['nodeId'],_0x4582b0,_0x184ccd);return _0x2ec8c5?(this[_0x1a266e(0x1e3)]['selectElements']({'unitId':_0x108d15['unitId'],'subUnitId':_0x108d15[_0x1a266e(0x1e8)]},[_0x2ec8c5],_0x2ec8c5),!0x0):!0x1;}[_0x4e28b3(0x176)](_0x2bc3e4,_0x17192b,_0x345537,_0x451c70){const _0x73068b=_0x4e28b3;var _0x15a09a;let _0x3c0796=this[_0x73068b(0x1b7)](_0x2bc3e4,_0x345537['structureScopeId'],_0x17192b);if(_0x345537['parentNodeId']===null){if(_0x451c70===_0x73068b(0x278)){var _0x5d2af6,_0x427262;return(_0x5d2af6=(_0x427262=_0x3c0796[_0x73068b(0x203)](_0x219d19=>{const _0x56a785=_0x73068b;var _0x43081e;return((_0x43081e=_0x130c96(_0x219d19['element']))==null?void 0x0:_0x43081e['side'])===_0x56a785(0x33e);}))==null?void 0x0:_0x427262['elementId'])==null?null:_0x5d2af6;}if(_0x451c70==='ArrowRight'){var _0x36d325,_0x5f5913;return(_0x36d325=(_0x5f5913=_0x3c0796[_0x73068b(0x203)](_0x169a6a=>{const _0x358855=_0x73068b;var _0x4a26d1,_0x2fe044;return((_0x4a26d1=(_0x2fe044=_0x130c96(_0x169a6a[_0x358855(0x409)]))==null?void 0x0:_0x2fe044[_0x358855(0x164)])==null?'right':_0x4a26d1)===_0x358855(0x244);}))==null?void 0x0:_0x5f5913[_0x73068b(0x404)])==null?null:_0x36d325;}return null;}let _0x3ac191=(_0x15a09a=_0x345537[_0x73068b(0x164)])==null?_0x73068b(0x244):_0x15a09a,_0x40d24d=_0x3ac191==='right'?_0x73068b(0x278):_0x73068b(0x2db),_0x5cd3c4=_0x3ac191===_0x73068b(0x244)?_0x73068b(0x2db):_0x73068b(0x278);if(_0x451c70===_0x40d24d)return _0x345537[_0x73068b(0x197)];if(_0x451c70===_0x5cd3c4){var _0x484347,_0x1ed845;return(_0x484347=(_0x1ed845=_0x3c0796[0x0])==null?void 0x0:_0x1ed845['elementId'])==null?null:_0x484347;}if(_0x451c70===_0x73068b(0x3d4)||_0x451c70===_0x73068b(0x3c9)){var _0x42798f;let _0x5aaa9c=this[_0x73068b(0x1b7)](_0x2bc3e4,_0x345537[_0x73068b(0x3fe)],_0x345537[_0x73068b(0x197)]),_0x5a31d8=_0x5aaa9c['findIndex'](_0x559045=>_0x559045[_0x73068b(0x404)]===_0x17192b),_0x38b8e0=_0x451c70===_0x73068b(0x3d4)?_0x5aaa9c[_0x5a31d8-0x1]:_0x5aaa9c[_0x5a31d8+0x1];return(_0x42798f=_0x38b8e0==null?void 0x0:_0x38b8e0[_0x73068b(0x404)])==null?null:_0x42798f;}return null;}[_0x4e28b3(0x1b7)](_0x4aea51,_0xe1ba5c,_0x384411){const _0x563361=_0x4e28b3;return Object[_0x563361(0x326)](_0x4aea51)['filter'](_0x2ae2f1=>{const _0x437820=_0x563361;let _0x1da0cb=_0x130c96(_0x2ae2f1[_0x437820(0x409)]);return(_0x1da0cb==null?void 0x0:_0x1da0cb['structureScopeId'])===_0xe1ba5c&&_0x1da0cb['parentNodeId']===_0x384411&&_0x2ae2f1[_0x437820(0x409)][_0x437820(0x274)]!==!0x1;})[_0x563361(0x3b9)]((_0x1e9225,_0x302b4a)=>{const _0x32e8e1=_0x563361;let _0x57ec11=_0x130c96(_0x1e9225['element']),_0x454de6=_0x130c96(_0x302b4a[_0x32e8e1(0x409)]);return _0x359903(_0x57ec11==null?void 0x0:_0x57ec11[_0x32e8e1(0x39f)],_0x454de6==null?void 0x0:_0x454de6['orderKey'])||_0x1e9225[_0x32e8e1(0x404)][_0x32e8e1(0x224)](_0x302b4a[_0x32e8e1(0x404)]);});}[_0x4e28b3(0x2be)](){const _0x3f0e8b=_0x4e28b3;var _0x49c879,_0xfb1c22,_0x502650;let _0xbc086=this['_elementStateService'][_0x3f0e8b(0x2af)](),_0x5498ec=(_0x49c879=_0xbc086[_0x3f0e8b(0x26f)])==null?_0xbc086['selectedIds'][0x0]:_0x49c879;if(!_0xbc086['context']||!_0x5498ec||_0xbc086['selectedIds']['length']!==0x1||_0xbc086['activeEditingId']||_0xbc086[_0x3f0e8b(0x257)])return null;let _0x2734d1=this[_0x3f0e8b(0x234)][_0x3f0e8b(0x36f)](_0xbc086['context']['unitId'],_0xbc086[_0x3f0e8b(0x1ed)]['subUnitId'])[_0x5498ec],_0x3531e9=_0x130c96(_0x2734d1==null?void 0x0:_0x2734d1[_0x3f0e8b(0x409)]);return!_0x2734d1||!_0x3531e9?null:{'unitId':_0xbc086['context'][_0x3f0e8b(0x204)],'subUnitId':_0xbc086[_0x3f0e8b(0x1ed)][_0x3f0e8b(0x1e8)],'nodeId':_0x5498ec,'scopeId':_0x3531e9[_0x3f0e8b(0x3fe)],'isRoot':_0x3531e9['parentNodeId']===null,'description':(_0xfb1c22=(_0x502650=_0x3531e9[_0x3f0e8b(0x283)])==null?void 0x0:_0x502650[_0x3f0e8b(0x2ff)])==null?'':_0xfb1c22};}[_0x4e28b3(0x163)](){const _0x47f9f4=_0x4e28b3;let _0x40f95f=this[_0x47f9f4(0x1e3)][_0x47f9f4(0x2af)]();return!_0x40f95f[_0x47f9f4(0x1ed)]||_0x40f95f[_0x47f9f4(0x2bc)]||_0x40f95f[_0x47f9f4(0x257)]||_0x40f95f[_0x47f9f4(0x315)]['length']>0x0||_0x40f95f['focusedId']?null:{'unitId':_0x40f95f['context'][_0x47f9f4(0x204)],'subUnitId':_0x40f95f[_0x47f9f4(0x1ed)]['subUnitId']};}['_executeAndLayout'](_0x443756,_0x3f21f1,_0xd009d2){const _0x543a07=_0x4e28b3;let _0x14b737=this['_commandService']['executeCommand'](_0x443756,_0x3f21f1);Promise[_0x543a07(0x1c8)](_0x14b737)['then'](_0x3be9c2=>{const _0x539594=_0x543a07;_0x3be9c2&&this[_0x539594(0x19a)]['executeCommand'](_0x3a4dc0['id'],{'unitId':_0x3f21f1['unitId'],'subUnitId':_0x3f21f1[_0x539594(0x1e8)],'scopeId':_0xd009d2});});}[_0x4e28b3(0x285)](_0x5662c1,_0x341214,_0x444c32,_0x11b0e7){const _0x4c6142=_0x4e28b3;let _0xd566bd={'unitId':_0x341214[_0x4c6142(0x204)],'subUnitId':_0x341214[_0x4c6142(0x1e8)]},_0x3364ee=this[_0x4c6142(0x19a)]['executeCommand'](_0x5662c1,_0x341214);Promise[_0x4c6142(0x1c8)](_0x3364ee)[_0x4c6142(0x378)](_0x319de9=>{const _0x383fca=_0x4c6142;_0x319de9&&(this['_commandService'][_0x383fca(0x3d6)](_0x3a4dc0['id'],{..._0xd566bd,'scopeId':_0x444c32}),this['_elementStateService'][_0x383fca(0x15b)](_0xd566bd,[_0x11b0e7],_0x11b0e7),this[_0x383fca(0x201)][_0x383fca(0x284)](),this[_0x383fca(0x201)][_0x383fca(0x2b3)]({..._0xd566bd,'shapeId':_0x11b0e7,'shapeKey':_0x239fd6(_0xd566bd[_0x383fca(0x204)],_0x11b0e7),'visible':!0x0}));});}};mn=J([q(0x0,_0x19f927(_0x5af7fa)),q(0x1,_0x19f927(_0x4ad25d)),q(0x2,_0x19f927(_0x4b72d1)),q(0x3,_0x19f927(_0x3771ca)),q(0x4,_0x4c9d00),q(0x5,_0x2f95f0),q(0x6,_0x19f927(_0x4aee4d)),q(0x7,_0x527822)],mn);function hn(_0x3c80c1){const _0x115c48=_0x4e28b3;return _0x3c80c1==='arrow-left'||_0x3c80c1===_0x115c48(0x17b)||_0x3c80c1===_0x115c48(0x380)||_0x3c80c1===_0x115c48(0x3d2);}const gn=_0x4e28b3(0x36b),_n={'min':0x1,'max':0x5,'defaultValue':0x3},vn={'min':0x0,'max':0x64,'defaultValue':0x64},yn=[{'kind':_0x4e28b3(0x1ad),'titleKey':'boards-mind-ui.toolbar.primary.line','panel':_0x4e28b3(0x22d)},{'kind':_0x4e28b3(0x3d5),'titleKey':_0x4e28b3(0x220)},{'kind':'typography','titleKey':_0x4e28b3(0x2e6)},{'kind':_0x4e28b3(0x1ad),'titleKey':'boards-mind-ui.toolbar.primary.more','panel':_0x4e28b3(0x38d),'dividerBefore':!0x0}],bn={'addSibling':_0x4e28b3(0x27d),'addChild':_0x4e28b3(0x334),'copy':_0x4e28b3(0x39c),'paste':_0x4e28b3(0x3ac),'delete':_0x4e28b3(0x269)},xn=[{'key':_0x4e28b3(0x361),'title':_0x4e28b3(0x2f6),'items':[{'value':'mindmap-horizontal','icon':_0x4e28b3(0x1fc)},{'value':'mindmap-vertical','icon':_0x4e28b3(0x351)}]},{'key':_0x4e28b3(0x377),'title':_0x4e28b3(0x190),'items':[{'value':_0x4e28b3(0x2d8),'icon':_0x4e28b3(0x2d8)},{'value':_0x4e28b3(0x37b),'icon':'tree-left'},{'value':'tree-alternate','icon':_0x4e28b3(0x400)}]},{'key':_0x4e28b3(0x211),'title':'Timeline','items':[{'value':_0x4e28b3(0x28b),'icon':_0x4e28b3(0x28b)},{'value':_0x4e28b3(0x3a4),'icon':_0x4e28b3(0x3a4)}]}],Sn={'key':'branch','title':_0x4e28b3(0x2df),'items':[{'value':'curve','icon':_0x4e28b3(0x2c5)},{'value':_0x4e28b3(0x168),'icon':_0x4e28b3(0x321)},{'value':_0x4e28b3(0x17a),'icon':'branch-orthogonal'}]};function Cn(_0x2c3471,_0x1eb62c){const _0x159976=_0x4e28b3;_0x2c3471[_0x159976(0x3d6)](un,{'action':_0x1eb62c});}const wn={'line':_0x2d11b3,'more':_0xc85f91};function Tn(_0x4c314c){const _0x2418c1=_0x4e28b3;_0x4c314c['stopPropagation'](),_0x4c314c[_0x2418c1(0x2a0)]();}function En(_0x36dfd7,_0x1080a8=_0x4e28b3(0x1ae),_0x3a553f){return _0xdbc3b(_0x34bbcc,{'children':_0xdbc3b(_0x36dfd7,{'className':_0x1080a8,'extend':_0x3a553f})});}function Dn(_0xc73966){const _0x553ae4=_0x4e28b3;var _0x249776,_0x2e991b,_0x31d6a3,_0x218a92,_0x1ae24c,_0x1cf8eb,_0x45434e,_0x462f61,_0x20c816;let _0x1ce044=(_0x249776=_0xc73966==null?void 0x0:_0xc73966[_0x553ae4(0x186)])==null?{}:_0x249776,_0x305c7e=_0x1ce044[_0x553ae4(0x2a5)]&&typeof _0x1ce044[_0x553ae4(0x2a5)]=='object'?_0x1ce044[_0x553ae4(0x2a5)]:{},_0x3766ae=(_0x2e991b=_0x305c7e['doc'])==null||(_0x2e991b=_0x2e991b[_0x553ae4(0x3e1)])==null?void 0x0:_0x2e991b[_0x553ae4(0x23a)];return{'color':typeof _0x1ce044[_0x553ae4(0x36d)]==_0x553ae4(0x304)?_0x1ce044[_0x553ae4(0x36d)]:(_0x31d6a3=_0x3766ae==null||(_0x218a92=_0x3766ae['cl'])==null?void 0x0:_0x218a92[_0x553ae4(0x2e4)])==null?_0x1c0553:_0x31d6a3,'fontFamily':typeof _0x1ce044[_0x553ae4(0x31d)]=='string'?_0x1ce044[_0x553ae4(0x31d)]:(_0x1ae24c=_0x3766ae==null?void 0x0:_0x3766ae['ff'])==null?_0x5bb012['ff']:_0x1ae24c,'fontSize':typeof _0x1ce044['fontSize']=='number'?_0x1ce044['fontSize']:typeof(_0x3766ae==null?void 0x0:_0x3766ae['fs'])==_0x553ae4(0x1dd)?_0x3766ae['fs']:_0x5bb012['fs'],'horizontalAlign':(_0x1cf8eb=(_0x45434e=_0x1ce044[_0x553ae4(0x287)])==null?_0x305c7e['ha']:_0x45434e)==null?_0x5d9bb5['LEFT']:_0x1cf8eb,'textFill':_0x1ce044[_0x553ae4(0x411)]&&typeof _0x1ce044[_0x553ae4(0x411)]==_0x553ae4(0x381)?_0x1ce044['textFill']:_0x3766ae==null?void 0x0:_0x3766ae[_0x553ae4(0x411)],'verticalAlign':(_0x462f61=(_0x20c816=_0x1ce044[_0x553ae4(0x342)])==null?_0x305c7e['va']:_0x20c816)==null?_0x2f2760[_0x553ae4(0x401)]:_0x462f61};}function On(_0x54e62f,_0x7a85a6){const _0x2fcf20=_0x4e28b3;if(!_0x7a85a6)return;let _0x4f7647=pn(_0x7a85a6);if(!_0x4f7647[_0x2fcf20(0x282)])return;let _0x13e995=_0x4f7647['map'](_0x2d7105=>{const _0x3e0dd6=_0x2fcf20;var _0x34a732;return(_0x34a732=_0x54e62f['getShortcutDisplay']({'id':_0x3e0dd6(0x18a),'binding':_0x2d7105,'staticParameters':{'action':_0x7a85a6}}))==null?void 0x0:_0x34a732;})[_0x2fcf20(0x20e)](_0x22a007=>!!_0x22a007);return _0x13e995[_0x2fcf20(0x282)]?[...new Set(_0x13e995)]['join']('/'):void 0x0;}async function kn(_0x31e3c6,_0x357977){const _0x7b829b=_0x4e28b3;return await Promise[_0x7b829b(0x1c8)](_0x31e3c6['executeCommand'](_0xfb8f84['id'],_0x357977))?(await Promise['resolve'](_0x31e3c6[_0x7b829b(0x3d6)](_0x3a4dc0['id'],{'unitId':_0x357977[_0x7b829b(0x204)],'subUnitId':_0x357977[_0x7b829b(0x1e8)],'scopeId':_0x357977['scopeId']})),!0x0):!0x1;}async function An(_0x3721dc,_0xd6499b){const _0x3ce73f=_0x4e28b3;return await Promise['resolve'](_0x3721dc[_0x3ce73f(0x3d6)](_0x394c10['id'],_0xd6499b))?(await Promise[_0x3ce73f(0x1c8)](_0x3721dc[_0x3ce73f(0x3d6)](_0x3a4dc0['id'],{'unitId':_0xd6499b[_0x3ce73f(0x204)],'subUnitId':_0xd6499b['subUnitId'],'scopeId':_0xd6499b[_0x3ce73f(0x38b)]})),!0x0):!0x1;}function jn({className:_0x9c2dc8=_0x4e28b3(0x1ae)}){const _0x58fd3a=_0x4e28b3;return _0xdbc3b(_0x34bbcc,{'children':_0x1e5b1d(_0x58fd3a(0x403),{'className':_0x9c2dc8,'viewBox':'0\x200\x2024\x2024','fill':'none','aria-hidden':'true','children':[_0xdbc3b(_0x58fd3a(0x258),{'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':_0x58fd3a(0x3c1),'strokeWidth':_0x58fd3a(0x1f7),'strokeLinecap':_0x58fd3a(0x414)}),_0xdbc3b('path',{'d':_0x58fd3a(0x167),'stroke':_0x58fd3a(0x3c1),'strokeWidth':'1.8','strokeLinecap':_0x58fd3a(0x414)}),_0xdbc3b(_0x58fd3a(0x258),{'d':_0x58fd3a(0x1c5),'stroke':_0x58fd3a(0x3c1),'strokeWidth':_0x58fd3a(0x1f7),'strokeLinecap':_0x58fd3a(0x414)})]})});}function Mn({icon:_0x1fbcb6}){const _0x2c17df=_0x4e28b3;let _0x3095c3='#d8dce3',_0x252ea6={'stroke':_0x2c17df(0x3c1),'strokeWidth':2.6,'strokeLinecap':_0x2c17df(0x414),'strokeLinejoin':'round'},_0x3f6379={'stroke':_0x3095c3,'strokeWidth':3.2,'strokeLinecap':_0x2c17df(0x414)};return _0x1e5b1d('svg',{'className':_0x2c17df(0x1c9),'viewBox':'0\x200\x2080\x2056','fill':_0x2c17df(0x38c),'aria-hidden':_0x2c17df(0x30b),'children':[_0x1fbcb6==='mindmap-horizontal'&&_0x1e5b1d(_0x533ee7,{'children':[_0xdbc3b(_0x2c17df(0x258),{'d':_0x2c17df(0x35d),..._0x252ea6}),_0xdbc3b(_0x2c17df(0x258),{'d':_0x2c17df(0x2ba),..._0x3f6379})]}),_0x1fbcb6===_0x2c17df(0x351)&&_0x1e5b1d(_0x533ee7,{'children':[_0xdbc3b('path',{'d':_0x2c17df(0x3f4),..._0x252ea6}),_0xdbc3b(_0x2c17df(0x258),{'d':'M22\x208h36M22\x2048h36M14\x2018v20M66\x2018v20','stroke':_0x3095c3,'strokeWidth':2.6,'strokeLinecap':'round','strokeDasharray':'6\x207'})]}),_0x1fbcb6===_0x2c17df(0x2d8)&&_0x1e5b1d(_0x533ee7,{'children':[_0xdbc3b(_0x2c17df(0x258),{'d':_0x2c17df(0x3ed),..._0x252ea6}),_0xdbc3b(_0x2c17df(0x258),{'d':_0x2c17df(0x189),..._0x3f6379}),_0xdbc3b(_0x2c17df(0x3a1),{'cx':'24','cy':'12','r':'3','fill':_0x2c17df(0x3c1)})]}),_0x1fbcb6===_0x2c17df(0x37b)&&_0x1e5b1d(_0x533ee7,{'children':[_0xdbc3b(_0x2c17df(0x258),{'d':_0x2c17df(0x32c),..._0x252ea6}),_0xdbc3b(_0x2c17df(0x258),{'d':_0x2c17df(0x21a),..._0x3f6379}),_0xdbc3b(_0x2c17df(0x3a1),{'cx':'56','cy':'12','r':'3','fill':'currentColor'})]}),_0x1fbcb6===_0x2c17df(0x400)&&_0x1e5b1d(_0x533ee7,{'children':[_0xdbc3b(_0x2c17df(0x258),{'d':'M42\x2012v32M42\x2020c0\x204-3\x206-7\x206h-7M42\x2030c0\x204\x203\x206\x207\x206h7M42\x2039c0\x204-3\x206-7\x206h-7',..._0x252ea6}),_0xdbc3b(_0x2c17df(0x258),{'d':_0x2c17df(0x343),..._0x3f6379}),_0xdbc3b(_0x2c17df(0x3a1),{'cx':'42','cy':'12','r':'3','fill':'currentColor'})]}),_0x1fbcb6===_0x2c17df(0x28b)&&_0x1e5b1d(_0x533ee7,{'children':[_0xdbc3b('path',{'d':_0x2c17df(0x2ea),..._0x252ea6}),_0xdbc3b(_0x2c17df(0x258),{'d':_0x2c17df(0x1c7),..._0x3f6379}),_0xdbc3b('circle',{'cx':'17','cy':'31','r':'3','fill':_0x2c17df(0x3c1)})]}),_0x1fbcb6===_0x2c17df(0x3a4)&&_0x1e5b1d(_0x533ee7,{'children':[_0xdbc3b('path',{'d':_0x2c17df(0x2b2),..._0x252ea6}),_0xdbc3b(_0x2c17df(0x258),{'d':'M56\x2039h11M13\x2050h11',..._0x3f6379}),_0xdbc3b(_0x2c17df(0x3a1),{'cx':'40','cy':'9','r':'3','fill':_0x2c17df(0x3c1)})]}),_0x1fbcb6===_0x2c17df(0x2c5)&&_0xdbc3b(_0x533ee7,{'children':_0xdbc3b('path',{'d':_0x2c17df(0x3f1),..._0x252ea6})}),_0x1fbcb6===_0x2c17df(0x321)&&_0xdbc3b(_0x533ee7,{'children':_0xdbc3b('path',{'d':_0x2c17df(0x353),..._0x252ea6})}),_0x1fbcb6===_0x2c17df(0x2c3)&&_0xdbc3b(_0x533ee7,{'children':_0xdbc3b('path',{'d':_0x2c17df(0x23b),..._0x252ea6})})]});}function Nn(_0x1ebbb0,_0x445ac7){const _0x16f5b9=_0x4e28b3;let _0x17619c=_0x1ebbb0[_0x16f5b9(0x23a)],_0x531b89=_0x3e6fcc(_0x17619c),_0x23996d={..._0x531b89[_0x16f5b9(0x36d)]===void 0x0?null:{'color':_0x531b89[_0x16f5b9(0x36d)]},..._0x531b89[_0x16f5b9(0x31d)]===void 0x0?null:{'fontFamily':_0x531b89[_0x16f5b9(0x31d)]},..._0x531b89[_0x16f5b9(0x419)]===void 0x0?null:{'fontSize':_0x531b89[_0x16f5b9(0x419)]},..._0x531b89['bold']===void 0x0?null:{'bold':_0x531b89[_0x16f5b9(0x3eb)]},..._0x531b89['italic']===void 0x0?null:{'italic':_0x531b89['italic']},..._0x531b89[_0x16f5b9(0x209)]===void 0x0?null:{'underline':_0x531b89[_0x16f5b9(0x209)]},..._0x531b89[_0x16f5b9(0x2f3)]===void 0x0?null:{'strikethrough':_0x531b89[_0x16f5b9(0x2f3)]},..._0x531b89[_0x16f5b9(0x411)]===void 0x0?null:{'textFill':_0x531b89['textFill']}};_0x1ebbb0[_0x16f5b9(0x287)]!==void 0x0&&(_0x23996d[_0x16f5b9(0x287)]=_0x1ebbb0['horizontalAlign']),_0x1ebbb0[_0x16f5b9(0x342)]!==void 0x0&&(_0x23996d['verticalAlign']=_0x1ebbb0['verticalAlign']),Object['keys'](_0x23996d)['length']>0x0&&_0x445ac7({'textStyle':_0x23996d});}function Pn(_0x2718c6,_0x3f8c25,_0x149cfd){const _0x4a00ed=_0x4e28b3;var _0x1e2d16,_0x19a04e;let _0x25cf48=_0x2718c6==null?{}:_0x2718c6,_0xa27334=_0x48adbf(_0x25cf48,_0x3f8c25),_0x21236f=(_0x1e2d16=(_0x19a04e=_0xa27334[_0x4a00ed(0x186)])==null?_0x25cf48[_0x4a00ed(0x186)]:_0x19a04e)==null?{}:_0x1e2d16;return{..._0x25cf48,..._0xa27334,'shapeText':{..._0x21236f,..._0x149cfd[_0x4a00ed(0x36d)]===void 0x0?null:{'color':_0x149cfd[_0x4a00ed(0x36d)]},..._0x149cfd[_0x4a00ed(0x419)]===void 0x0?null:{'fontSize':_0x149cfd[_0x4a00ed(0x419)]},..._0x149cfd['bold']===void 0x0?null:{'bold':_0x149cfd[_0x4a00ed(0x3eb)]},..._0x149cfd[_0x4a00ed(0x1dc)]===void 0x0?null:{'italic':_0x149cfd[_0x4a00ed(0x1dc)]},..._0x149cfd[_0x4a00ed(0x209)]===void 0x0?null:{'underline':_0x149cfd['underline']},..._0x149cfd[_0x4a00ed(0x2f3)]===void 0x0?null:{'strikethrough':_0x149cfd[_0x4a00ed(0x2f3)]},..._0x149cfd['horizontalAlign']===void 0x0?null:{'horizontalAlign':_0x149cfd[_0x4a00ed(0x287)]},..._0x149cfd[_0x4a00ed(0x342)]===void 0x0?null:{'verticalAlign':_0x149cfd[_0x4a00ed(0x342)]},..._0x149cfd['textFill']===void 0x0?null:{'textFill':_0x149cfd[_0x4a00ed(0x411)]}}};}function Fn(_0x23802a,_0x531511){const _0xf6a39=_0x4e28b3;let _0x1ff657=_0x23802a==null?void 0x0:_0x23802a[_0xf6a39(0x18d)];_0x1ff657&&_0x531511({'lineType':_0x1ff657['dashType']===_0x582dab[_0xf6a39(0x34d)]||_0x1ff657[_0xf6a39(0x3bf)]===_0x582dab[_0xf6a39(0x277)]?_0xf6a39(0x35e):_0x1ff657[_0xf6a39(0x3bf)]===_0x582dab[_0xf6a39(0x299)]?'dash':_0xf6a39(0x2f5),...typeof _0x1ff657[_0xf6a39(0x1b5)]=='number'?{'strokeWidth':_0x1ff657[_0xf6a39(0x1b5)]}:null,...typeof _0x1ff657['color']==_0xf6a39(0x304)?{'stroke':_0x1ff657[_0xf6a39(0x36d)]}:null,...typeof _0x1ff657['opacity']==_0xf6a39(0x1dd)?{'opacity':_0x1ff657[_0xf6a39(0x418)]}:null});}function In(_0x43500a){const _0x5d2ff1=_0x4e28b3;return _0x43500a!=null&&_0x43500a[_0x5d2ff1(0x282)]?_0x43500a[0x0]<=0x2?_0x582dab['RoundDot']:_0x582dab[_0x5d2ff1(0x299)]:_0x582dab['Solid'];}function Ln(_0x1750fc){const _0x581d9f=_0x4e28b3;var _0x15864e,_0x4892aa,_0x240be4;return{'stroke':{'lineStrokeType':_0x8a7be5['SolidLine'],'dashType':In(_0x1750fc==null?void 0x0:_0x1750fc[_0x581d9f(0x26d)]),'color':(_0x15864e=_0x1750fc==null?void 0x0:_0x1750fc[_0x581d9f(0x18d)])==null?_0x53a3c6:_0x15864e,'width':(_0x4892aa=_0x1750fc==null?void 0x0:_0x1750fc[_0x581d9f(0x2ed)])==null?_n[_0x581d9f(0x405)]:_0x4892aa,'opacity':(_0x240be4=_0x1750fc==null?void 0x0:_0x1750fc[_0x581d9f(0x418)])==null?vn['defaultValue']/0x64:_0x240be4}};}function Rn(_0x2a383a){const _0x17b10d=_0x4e28b3;var _0x1e176d,_0x5048e9,_0x495cb2,_0x4990e3,_0x1fee5f,_0x5f43cd;let _0x5c5b00=_0x3d87e3(_0x4c9d00),_0x2aaadf=_0x3d87e3(_0x2f95f0),_0x25b819=_0x3d87e3(_0x19a155),[_0x4c685b,_0x3ec656]=_0x33a7c5(null),[_0x1365cd,_0x146ce1]=_0x33a7c5((_0x1e176d=_0x2a383a[_0x17b10d(0x311)][_0x17b10d(0x329)])==null?void 0x0:_0x1e176d[_0x17b10d(0x292)]),_0x314164=_0x2a383a[_0x17b10d(0x311)][_0x17b10d(0x329)];if(!_0x314164)return null;let _0x5585ec={'unitId':_0x314164[_0x17b10d(0x204)],'subUnitId':_0x314164[_0x17b10d(0x1e8)]},_0x22323b=_0x13ebb3=>{const _0xc93055=_0x17b10d;_0x5c5b00[_0xc93055(0x3d6)](_0x36d216['id'],{..._0x5585ec,'nodeId':_0x314164[_0xc93055(0x404)],..._0x13ebb3});},_0x38d067=(_0x2e9a56,_0x17c0f5)=>{const _0x31867b=_0x17b10d;let _0x302cb6=_0x17c0f5==null?{}:_0x17c0f5;_0x146ce1(_0x37c927=>({..._0x37c927==null?{}:_0x37c927,..._0x302cb6})),_0x22323b({..._0x302cb6[_0x31867b(0x29e)]===void 0x0?null:{'fill':_0x302cb6[_0x31867b(0x29e)]},..._0x302cb6[_0x31867b(0x18d)]===void 0x0?null:{'stroke':_0x302cb6[_0x31867b(0x18d)]}});},_0xa54156=_0x27b083=>{const _0x3a01b0=_0x17b10d;_0x5c5b00['executeCommand'](_0xb6fca8['id'],{..._0x5585ec,'nodeId':_0x314164[_0x3a01b0(0x404)],'style':_0x27b083});},_0x20c8b0=Ln(_0x314164[_0x17b10d(0x3b4)]),_0x24bce6=_0x5deb52=>On(_0x2aaadf,_0x5deb52),_0x1f04a4=_0x1be465=>{Cn(_0x5c5b00,_0x1be465);},_0x1fb592=(_0x5048e9=_0x1365cd==null?void 0x0:_0x1365cd[_0x17b10d(0x186)])==null?{}:_0x5048e9,_0x4d9e15=Dn(_0x1365cd),_0x520538=_0x1bfa75=>{Nn(_0x1bfa75,_0x121724=>{const _0x33a468=_0x4c93;_0x146ce1(_0x3cdc83=>Pn(_0x3cdc83,_0x1bfa75,_0x121724[_0x33a468(0x23a)])),_0x22323b(_0x121724);});},_0x361196=[{'label':_0x25b819['t'](_0x17b10d(0x360)),'value':_0x5d9bb5[_0x17b10d(0x21d)],'icon':_0xdbc3b(_0x24b89d,{})},{'label':_0x25b819['t'](_0x17b10d(0x346)),'value':_0x5d9bb5[_0x17b10d(0x2bf)],'icon':_0xdbc3b(_0x54ade2,{})},{'label':_0x25b819['t'](_0x17b10d(0x3cc)),'value':_0x5d9bb5[_0x17b10d(0x2fc)],'icon':_0xdbc3b(_0x122c61,{})},{'label':_0x25b819['t'](_0x17b10d(0x1d3)),'value':_0x5d9bb5[_0x17b10d(0x2b1)],'icon':_0xdbc3b(_0x13b8d2,{})}],_0xf246f7=[{'label':_0x25b819['t'](_0x17b10d(0x40d)),'value':_0x2f2760[_0x17b10d(0x40a)],'icon':_0xdbc3b(_0x703b0,{})},{'label':_0x25b819['t'](_0x17b10d(0x25f)),'value':_0x2f2760[_0x17b10d(0x401)],'icon':_0xdbc3b(_0x10f89b,{})},{'label':_0x25b819['t']('boards-mind-ui.alignBottom'),'value':_0x2f2760['BOTTOM'],'icon':_0xdbc3b(_0x587431,{})}],_0x50af42=()=>{const _0x5bab2e=_0x17b10d;_0x1f04a4(_0x5bab2e(0x27d));},_0x5b5230=()=>{const _0x358695=_0x17b10d;_0x1f04a4(_0x358695(0x334));},_0x33ba3b=()=>{const _0xc73c75=_0x17b10d;_0x1f04a4(_0xc73c75(0x39c));},_0x27ae63=()=>{const _0x47a396=_0x17b10d;_0x1f04a4(_0x47a396(0x3ac));},_0x523339=()=>{_0x1f04a4('delete');},_0x1607e7=(_0x495cb2=(_0x4990e3=_0x314164[_0x17b10d(0x20c)])==null?void 0x0:_0x4990e3[_0x17b10d(0x2c7)])==null?_0x1defe8['structureKind']:_0x495cb2,_0x3f35ac=_0x5be6e7(_0x1607e7,(_0x1fee5f=(_0x5f43cd=_0x314164['layout'])==null?void 0x0:_0x5f43cd[_0x17b10d(0x191)])==null?_0x1defe8[_0x17b10d(0x191)]:_0x1fee5f),_0x560824=_0x40db91=>{const _0x38f25d=_0x17b10d;let _0x54bddd=_0x5be6e7(_0x40db91,_0x3f35ac);kn(_0x5c5b00,{..._0x5585ec,'scopeId':_0x314164[_0x38f25d(0x38b)],'structureKind':_0x40db91,..._0x54bddd===_0x3f35ac?null:{'branchLineType':_0x54bddd}}),_0x3ec656(null);},_0x5b078f=_0x495f97=>{const _0x2cdfda=_0x17b10d;An(_0x5c5b00,{..._0x5585ec,'scopeId':_0x314164[_0x2cdfda(0x38b)],'branchLineType':_0x495f97}),_0x3ec656(null);},_0x4ed138=(_0x48e531,_0x4da69e,_0x5073a9,_0x4990a3=!0x1)=>_0xdbc3b(_0x17b10d(0x3c7),{'type':_0x17b10d(0x3c7),'disabled':_0x4990a3,'className':_0x4dee74(_0x17b10d(0x31f),_0x4da69e&&_0x17b10d(0x3a0),_0x4990a3&&'univer-cursor-not-allowed\x20univer-text-gray-300\x20hover:univer-bg-transparent'),'onMouseDown':Tn,'onPointerDown':Tn,'onClick':_0x20d975=>{const _0x33ae36=_0x17b10d;_0x20d975[_0x33ae36(0x372)](),!_0x4990a3&&_0x5073a9();},'children':_0xdbc3b(Mn,{'icon':_0x48e531[_0x17b10d(0x358)]})},_0x48e531[_0x17b10d(0x18e)]),_0x5b879b=()=>_0x1e5b1d(_0x17b10d(0x3b6),{'className':_0x17b10d(0x39e),'onMouseDown':_0x52c0b9=>_0x52c0b9[_0x17b10d(0x372)](),'onPointerDown':_0x34bcd9=>_0x34bcd9[_0x17b10d(0x372)](),'children':[xn[_0x17b10d(0x1cb)](_0x2f50ad=>_0x1e5b1d(_0x17b10d(0x3b6),{'className':_0x17b10d(0x17e),'children':[_0xdbc3b(_0x17b10d(0x3b6),{'className':_0x17b10d(0x327),'children':_0x2f50ad[_0x17b10d(0x392)]}),_0xdbc3b(_0x17b10d(0x3b6),{'className':_0x17b10d(0x185),'style':{'gridTemplateColumns':'repeat('+_0x2f50ad[_0x17b10d(0x3bb)][_0x17b10d(0x282)]+_0x17b10d(0x2b7)},'children':_0x2f50ad[_0x17b10d(0x3bb)][_0x17b10d(0x1cb)](_0x3f8b59=>_0x4ed138(_0x3f8b59,_0x3f8b59[_0x17b10d(0x18e)]===_0x1607e7,()=>_0x560824(_0x3f8b59[_0x17b10d(0x18e)])))})]},_0x2f50ad['key'])),_0xdbc3b(_0x2cfe4c,{}),_0x1e5b1d(_0x17b10d(0x3b6),{'className':_0x17b10d(0x376),'children':[_0xdbc3b(_0x17b10d(0x3b6),{'className':'univer-mb-2\x20univer-text-lg\x20univer-text-gray-900','children':Sn['title']}),_0xdbc3b(_0x17b10d(0x3b6),{'className':_0x17b10d(0x185),'style':{'gridTemplateColumns':_0x17b10d(0x382)+Sn['items'][_0x17b10d(0x282)]+',\x20minmax(0,\x201fr))'},'children':Sn['items']['map'](_0x36102f=>_0x4ed138(_0x36102f,_0x36102f[_0x17b10d(0x18e)]===_0x3f35ac,()=>_0x5b078f(_0x36102f[_0x17b10d(0x18e)]),_0x36102f[_0x17b10d(0x18e)]===_0x17b10d(0x2d1)&&!_0x3e1084(_0x1607e7)))})]})]}),_0x1dd423=_0x2557b2=>{const _0x49814e=_0x17b10d;switch(_0x2557b2){case'line':return _0xdbc3b(_0x3fabe2,{'title':_0x25b819['t'](_0x49814e(0x2a3)),'shapeData':_0x20c8b0,'modeOptions':[_0x49814e(0x2f5),_0x49814e(0x26d),_0x49814e(0x35e)],'showDashDropdown':!0x1,'widthRange':{'min':_n[_0x49814e(0x312)],'max':_n[_0x49814e(0x205)],'step':0x1},'onUpdateShapeData':(_0x50eec0,_0x8ad2b)=>{Fn(_0x8ad2b,_0xa54156);}});case _0x49814e(0x38d):return _0xdbc3b(_0x4b1b45,{'title':_0x25b819['t']('boards-mind-ui.toolbar.panel.more'),'minWidthClassName':'univer-min-w-[240px]','children':_0x1e5b1d(_0x49814e(0x3b6),{'className':'univer-flex\x20univer-flex-col\x20univer-gap-1','children':[_0xdbc3b(_0x2e4721,{'labelKey':_0x49814e(0x1bb),'shortcut':_0x24bce6(bn['addSibling']),'onClick':_0x50af42}),_0xdbc3b(_0x2e4721,{'labelKey':_0x49814e(0x20b),'shortcut':_0x24bce6(bn[_0x49814e(0x23d)]),'onClick':_0x5b5230}),_0xdbc3b(_0x2cfe4c,{}),_0xdbc3b(_0x2e4721,{'labelKey':_0x49814e(0x259),'shortcut':_0x24bce6(bn[_0x49814e(0x39c)]),'onClick':_0x33ba3b}),_0xdbc3b(_0x2e4721,{'labelKey':'boards-mind-ui.toolbar.action.paste','shortcut':_0x24bce6(bn[_0x49814e(0x3ac)]),'onClick':_0x27ae63}),_0xdbc3b(_0x2e4721,{'labelKey':_0x49814e(0x15f),'shortcut':_0x24bce6(bn[_0x49814e(0x269)]),'onClick':_0x523339})]})});default:return null;}},_0x1f965a=yn['flatMap'](_0xd1de23=>{const _0x46dd04=_0x17b10d;let _0x23a507=[];if(_0xd1de23[_0x46dd04(0x262)]&&_0x23a507[_0x46dd04(0x251)](_0xdbc3b(_0x2cfe4c,{'orientation':_0x46dd04(0x389)},_0x46dd04(0x37a)+_0xd1de23['kind'])),_0xd1de23[_0x46dd04(0x15e)]==='typography')return _0x23a507[_0x46dd04(0x251)](_0xdbc3b(_0x30da04,{'title':_0x25b819['t']('boards-mind-ui.toolbar.panel.typography'),'fontFamily':_0x4d9e15['fontFamily'],'textStyle':{'isBold':_0x1fb592[_0x46dd04(0x3eb)]===!0x0,'isItalic':_0x1fb592['italic']===!0x0,'isUnderline':_0x1fb592[_0x46dd04(0x209)]===!0x0,'isStrike':_0x1fb592[_0x46dd04(0x2f3)]===!0x0},'horizontalAlign':_0x4d9e15[_0x46dd04(0x287)],'verticalAlign':_0x4d9e15[_0x46dd04(0x342)],'horizontalAlignOptions':_0x361196,'verticalAlignOptions':_0xf246f7,'onUpdateText':_0x520538},_0xd1de23[_0x46dd04(0x15e)])),_0x23a507;if(_0xd1de23[_0x46dd04(0x15e)]==='fontColor'){let _0xa0bc00={'fs':_0x4d9e15[_0x46dd04(0x419)],'cl':{'rgb':_0x4d9e15[_0x46dd04(0x36d)]},..._0x4d9e15['textFill']===void 0x0?null:{'textFill':_0x4d9e15['textFill']}};return _0x23a507['push'](_0xdbc3b(_0xfd025f,{'title':_0x25b819['t'](_0x46dd04(0x249)),'textStyle':_0xa0bc00,'fallbackColor':_0x4d9e15[_0x46dd04(0x36d)],'onChange':_0x8b2aec=>_0x520538({'textStyle':_0x8b2aec})},_0xd1de23['kind'])),_0x23a507[_0x46dd04(0x251)](_0xdbc3b(_0x5c0f56,{'value':String(_0x4d9e15[_0x46dd04(0x419)]),'onChange':_0x45bda4=>{_0x520538({'textStyle':{'fs':_0x45bda4}});}},_0x46dd04(0x366))),_0x23a507;}return _0x23a507['push'](_0xdbc3b(_0x48b1d8,{'open':_0x4c685b===_0xd1de23['panel'],'overlay':_0x1dd423(_0xd1de23[_0x46dd04(0x154)]),'onOpenChange':_0x1af368=>_0x3ec656(_0x1af368?_0xd1de23[_0x46dd04(0x154)]:null),'children':_0xdbc3b(_0x46dd04(0x316),{'children':_0xdbc3b(_0x16a3f4,{'title':_0x25b819['t'](_0xd1de23['titleKey']),'active':_0x4c685b===_0xd1de23[_0x46dd04(0x154)],'icon':En(wn[_0xd1de23[_0x46dd04(0x154)]]),'sizeClassName':'univer-h-7\x20univer-min-w-9\x20univer-w-auto\x20univer-gap-1\x20univer-px-1.5','onMouseDown':Tn,'onPointerDown':Tn})})},_0xd1de23[_0x46dd04(0x154)])),_0x23a507;});return _0x1e5b1d(_0x53b2ae,{'maxWidthClassName':_0x17b10d(0x261),'onMouseDown':_0x36dafa=>_0x36dafa[_0x17b10d(0x372)](),'children':[[..._0x314164[_0x17b10d(0x3e9)]?[_0xdbc3b(_0x48b1d8,{'open':_0x4c685b===_0x17b10d(0x20c),'overlay':_0x5b879b(),'onOpenChange':_0x578439=>_0x3ec656(_0x578439?_0x17b10d(0x20c):null),'children':_0xdbc3b('span',{'children':_0xdbc3b(_0x16a3f4,{'title':_0x25b819['t'](_0x17b10d(0x399)),'active':_0x4c685b==='layout','icon':_0xdbc3b(jn,{}),'sizeClassName':_0x17b10d(0x271),'onMouseDown':Tn,'onPointerDown':Tn})})},_0x17b10d(0x303)),_0xdbc3b(_0x2cfe4c,{'orientation':_0x17b10d(0x389)},_0x17b10d(0x2fb))]:[],_0xdbc3b(_0x5647d1,{'title':_0x25b819['t'](_0x17b10d(0x2e7)),'shapeData':_0x1365cd==null?{}:_0x1365cd,'onUpdateShapeData':_0x38d067},'mind-map-fill'),_0xdbc3b(_0x43cd4d,{'title':_0x25b819['t']('boards-mind-ui.toolbar.action.stroke'),'shapeData':_0x1365cd==null?{}:_0x1365cd,'onUpdateShapeData':_0x38d067},_0x17b10d(0x1b4)),_0xdbc3b(_0x2cfe4c,{'orientation':_0x17b10d(0x389)},_0x17b10d(0x2d2))],_0x1f965a]});}function zn(_0x8b4ead){let {left:_0x3535ee,top:_0x385391,width:_0x56e854,height:_0x3db30e}=_0x8b4ead;return{'left':_0x3535ee,'right':_0x3535ee+_0x56e854,'top':_0x385391-0x38,'bottom':_0x385391+_0x3db30e};}let Bn=class extends _0x43afa6{constructor(_0x13ea76,_0x595a1c,_0x44f70f,_0x496b1e,_0x8a6df2,_0x34e313){const _0x26351a=_0x4e28b3;super(),this[_0x26351a(0x1f3)]=_0x13ea76,this[_0x26351a(0x344)]=_0x595a1c,this[_0x26351a(0x234)]=_0x44f70f,this[_0x26351a(0x1e3)]=_0x496b1e,this['_boardTextEditingService']=_0x8a6df2,this[_0x26351a(0x1c3)]=_0x34e313,K(this,_0x26351a(0x181),null),K(this,'_popupSelectionKey',null),this[_0x26351a(0x169)]();}[_0x4e28b3(0x29d)](){const _0x5655f5=_0x4e28b3;this[_0x5655f5(0x18b)](),super[_0x5655f5(0x29d)]();}[_0x4e28b3(0x169)](){const _0x367c44=_0x4e28b3;let _0x39f6bb=this[_0x367c44(0x1f3)][_0x367c44(0x171)][_0x367c44(0x170)]();this[_0x367c44(0x40b)](_0x288fdc(_0x39f6bb[_0x367c44(0x2b0)][_0x367c44(0x34f)](_0x362352(this[_0x367c44(0x2a2)]))['subscribe'](()=>this[_0x367c44(0x221)]()))),this[_0x367c44(0x40b)](_0x288fdc(_0x39f6bb[_0x367c44(0x40c)][_0x367c44(0x34f)](_0x362352(this['dispose$']))[_0x367c44(0x345)](()=>this[_0x367c44(0x415)]()))),this[_0x367c44(0x40b)](_0x288fdc(_0x39f6bb[_0x367c44(0x394)]['pipe'](_0x362352(this[_0x367c44(0x2a2)]))[_0x367c44(0x345)](()=>this[_0x367c44(0x18b)]()))),this[_0x367c44(0x40b)](_0x288fdc(_0x39f6bb[_0x367c44(0x36a)][_0x367c44(0x34f)](_0x362352(this[_0x367c44(0x2a2)]))[_0x367c44(0x345)](()=>setTimeout(()=>this['_showPopupForSelection'](),0x0)))),this[_0x367c44(0x40b)](_0x288fdc(this[_0x367c44(0x1e3)]['state$'][_0x367c44(0x34f)](_0x362352(this['dispose$']))[_0x367c44(0x345)](()=>setTimeout(()=>this['_showPopupForSelection'](),0x0)))),this[_0x367c44(0x40b)](_0x288fdc(this[_0x367c44(0x1c3)][_0x367c44(0x233)][_0x367c44(0x34f)](_0x362352(this[_0x367c44(0x2a2)]))[_0x367c44(0x345)](_0x2b4a05=>{const _0x37b159=_0x367c44;if(_0x2b4a05){this[_0x37b159(0x18b)]();return;}setTimeout(()=>this[_0x37b159(0x221)](),0x0);}))),this[_0x367c44(0x40b)](_0x288fdc(this['_boardTextEditingService']['editingParams$'][_0x367c44(0x34f)](_0x362352(this[_0x367c44(0x2a2)]))[_0x367c44(0x345)](_0x4b436e=>{const _0x4a3ab4=_0x367c44;if((_0x4b436e==null?void 0x0:_0x4b436e[_0x4a3ab4(0x204)])===this[_0x4a3ab4(0x1f3)]['unitId']){if(_0x4b436e[_0x4a3ab4(0x274)]){this['_clearPopup']();return;}setTimeout(()=>this[_0x4a3ab4(0x221)](),0x0);}})));}[_0x4e28b3(0x18b)](){const _0x30b892=_0x4e28b3;var _0x3c984b;(_0x3c984b=this['_popupDisposable'])==null||_0x3c984b[_0x30b892(0x29d)](),this[_0x30b892(0x181)]=null,this[_0x30b892(0x223)]=null;}[_0x4e28b3(0x415)](){setTimeout(()=>{const _0xcf8ecf=_0x4c93;this[_0xcf8ecf(0x3db)]()||this[_0xcf8ecf(0x18b)]();},0x0);}['_isPopupSelectionStillActive'](){const _0x444633=_0x4e28b3;let _0x363bc0=this[_0x444633(0x1e3)]['getSnapshot']();return!!_0x363bc0[_0x444633(0x1ed)]&&_0x363bc0[_0x444633(0x315)][_0x444633(0x282)]>0x0&&this[_0x444633(0x223)]===this['_buildPopupSelectionKey'](_0x363bc0[_0x444633(0x1ed)]['unitId'],_0x363bc0[_0x444633(0x1ed)][_0x444633(0x1e8)],_0x363bc0['selectedIds']);}[_0x4e28b3(0x396)](_0x4f882d,_0x1d2ebf,_0x3c88b7){const _0x3da3a=_0x4e28b3;return _0x4f882d+':'+_0x1d2ebf+':'+_0x3c88b7[_0x3da3a(0x3fa)](',');}[_0x4e28b3(0x213)](_0x11d9fa,_0x1ffe56,_0x3e8faa,_0x386dc1){const _0x50a392=_0x4e28b3;let _0x4d9380=this[_0x50a392(0x234)][_0x50a392(0x36f)](_0x11d9fa,_0x1ffe56),_0x5bb472=Object['values'](_0x4d9380)[_0x50a392(0x203)](_0x514ad5=>{let _0x1977a6=_0x42da87(_0x514ad5['element']);return(_0x1977a6==null?void 0x0:_0x1977a6['structureScopeId'])===_0x3e8faa&&_0x1977a6['childNodeId']===_0x386dc1;});if(!(!_0x5bb472||!(_0x50a392(0x296)in _0x5bb472[_0x50a392(0x409)])))return _0x5bb472[_0x50a392(0x409)][_0x50a392(0x296)][_0x50a392(0x350)];}['_showPopupForSelection'](){const _0x567bb1=_0x4e28b3;var _0x2c8e5f,_0x1379e0,_0x10a0b0,_0x54417e,_0x47b45a,_0x6f2273,_0x24779a,_0x1adfef;if(this[_0x567bb1(0x1c3)][_0x567bb1(0x3bc)]){this['_clearPopup']();return;}let _0x58363d=this['_boardTextEditingService'][_0x567bb1(0x3dd)]();if((_0x58363d==null?void 0x0:_0x58363d['visible'])===!0x0&&_0x58363d['unitId']===this[_0x567bb1(0x1f3)][_0x567bb1(0x204)]){this[_0x567bb1(0x18b)]();return;}let _0x3c2b33=this[_0x567bb1(0x1e3)][_0x567bb1(0x2af)]();if(_0x3c2b33[_0x567bb1(0x257)]){this[_0x567bb1(0x18b)]();return;}if(_0x4a534b({'context':_0x3c2b33['context'],'selectedIds':_0x3c2b33[_0x567bb1(0x315)],'getElementById':(_0x38cb23,_0x544bfd,_0xdf86ff)=>this[_0x567bb1(0x234)][_0x567bb1(0x402)](_0x38cb23,_0x544bfd,_0xdf86ff)})[_0x567bb1(0x1f0)]!==_0x567bb1(0x361)){this[_0x567bb1(0x18b)]();return;}let _0x496dad=this[_0x567bb1(0x1f3)][_0x567bb1(0x171)][_0x567bb1(0x170)]()[_0x567bb1(0x28f)](),_0x2740c7=Array[_0x567bb1(0x15d)](_0x496dad[_0x567bb1(0x326)]())[_0x567bb1(0x1cb)](_0x315841=>this[_0x567bb1(0x199)](_0x315841))[_0x567bb1(0x20e)](_0x7de034=>!!_0x7de034)[_0x567bb1(0x20e)](_0x22e8ed=>!!_0x130c96(_0x22e8ed[_0x567bb1(0x25a)][_0x567bb1(0x409)])),_0x4df04c=(_0x2c8e5f=(_0x1379e0=_0x2740c7['find'](_0x465c60=>_0x465c60[_0x567bb1(0x25a)][_0x567bb1(0x404)]===_0x3c2b33[_0x567bb1(0x26f)]))==null?_0x2740c7[0x0]:_0x1379e0)==null?this[_0x567bb1(0x3fd)]():_0x2c8e5f;if(!_0x4df04c){this[_0x567bb1(0x18b)]();return;}let _0x5eec18=_0x130c96(_0x4df04c[_0x567bb1(0x25a)][_0x567bb1(0x409)]);if(!_0x5eec18){this['_clearPopup']();return;}let _0x308317=(_0x10a0b0=this[_0x567bb1(0x234)][_0x567bb1(0x36f)](_0x4df04c[_0x567bb1(0x25a)][_0x567bb1(0x204)],_0x4df04c[_0x567bb1(0x25a)][_0x567bb1(0x1e8)])[_0x5eec18['structureScopeId']])==null?void 0x0:_0x10a0b0[_0x567bb1(0x409)],_0x3b8f99=_0x30a9b0(_0x308317),_0x575cd2=_0x308317==null||(_0x54417e=_0x308317[_0x567bb1(0x3f3)])==null||(_0x54417e=_0x54417e[_0x567bb1(0x248)])==null||(_0x54417e=_0x54417e[_0x567bb1(0x20c)])==null?void 0x0:_0x54417e[_0x567bb1(0x2c7)],_0x3e4bb1=((_0x47b45a=_0x3b8f99==null?void 0x0:_0x3b8f99[_0x567bb1(0x20c)][_0x567bb1(0x2c7)])==null?_0x575cd2:_0x47b45a)===_0x567bb1(0x351)&&(_0x5eec18[_0x567bb1(0x197)]===null||_0x5eec18[_0x567bb1(0x164)]===_0x567bb1(0x3a3)),_0x56d61d=_0x5eec18[_0x567bb1(0x197)]!==null&&_0x5eec18[_0x567bb1(0x164)]!==_0x567bb1(0x3a3)&&_0x5eec18[_0x567bb1(0x164)]!==_0x567bb1(0x3f0),_0x255713=_0x3e4bb1||_0x56d61d,_0x5d3396=((_0x6f2273=_0x3c2b33[_0x567bb1(0x1ed)])==null?void 0x0:_0x6f2273[_0x567bb1(0x204)])===_0x4df04c['elementData']['unitId']&&_0x3c2b33['context']['subUnitId']===_0x4df04c[_0x567bb1(0x25a)][_0x567bb1(0x1e8)]&&_0x3c2b33[_0x567bb1(0x315)][_0x567bb1(0x282)]?_0x3c2b33[_0x567bb1(0x315)]:[_0x4df04c[_0x567bb1(0x25a)][_0x567bb1(0x404)]],_0x1d7830=this['_buildPopupSelectionKey'](_0x4df04c[_0x567bb1(0x25a)][_0x567bb1(0x204)],_0x4df04c['elementData'][_0x567bb1(0x1e8)],_0x5d3396);this[_0x567bb1(0x181)]&&this[_0x567bb1(0x223)]===_0x1d7830||(this['_clearPopup'](),this[_0x567bb1(0x181)]=this[_0x567bb1(0x40b)](this[_0x567bb1(0x344)][_0x567bb1(0x35c)](_0x4df04c[_0x567bb1(0x25a)][_0x567bb1(0x204)],_0x4df04c[_0x567bb1(0x25a)]['subUnitId'],_0x4df04c['object'],{'componentKey':gn,'direction':_0x567bb1(0x3d3),'offset':[0x0,0x8],..._0x255713?{'anchorBoundResolver':zn}:null,'extraProps':{'unitId':_0x4df04c[_0x567bb1(0x25a)]['unitId'],'subUnitId':_0x4df04c['elementData'][_0x567bb1(0x1e8)],'elementId':_0x4df04c[_0x567bb1(0x25a)][_0x567bb1(0x404)],'scopeId':_0x5eec18[_0x567bb1(0x3fe)],'isRootNode':_0x5eec18[_0x567bb1(0x197)]===null,'left':(_0x24779a=_0x4df04c[_0x567bb1(0x25a)][_0x567bb1(0x409)]['transform'][_0x567bb1(0x33e)])==null?0x0:_0x24779a,'top':(_0x1adfef=_0x4df04c['elementData'][_0x567bb1(0x409)][_0x567bb1(0x2eb)][_0x567bb1(0x3a3)])==null?0x0:_0x1adfef,'shapeData':_0x4df04c[_0x567bb1(0x25a)][_0x567bb1(0x409)][_0x567bb1(0x2a1)]===_0x2cd328[_0x567bb1(0x38f)]?_0x4df04c['elementData']['element']['shapeData']:void 0x0,'layout':_0x3b8f99==null?void 0x0:_0x3b8f99[_0x567bb1(0x20c)],'incomingConnectorStyle':this[_0x567bb1(0x213)](_0x4df04c[_0x567bb1(0x25a)]['unitId'],_0x4df04c[_0x567bb1(0x25a)][_0x567bb1(0x1e8)],_0x5eec18[_0x567bb1(0x3fe)],_0x4df04c[_0x567bb1(0x25a)]['elementId'])}})),this[_0x567bb1(0x223)]=_0x1d7830);}[_0x4e28b3(0x3fd)](){const _0x101929=_0x4e28b3;var _0x53d168,_0x2d38b7,_0x20656e;let _0x47820b=this[_0x101929(0x1e3)][_0x101929(0x2af)](),_0x70b6b=_0x47820b[_0x101929(0x1ed)],_0x37bb09=(_0x53d168=_0x47820b['focusedId'])==null?_0x47820b[_0x101929(0x315)][0x0]:_0x53d168;if(!_0x70b6b||!_0x37bb09)return null;let _0x5cc627=this[_0x101929(0x234)][_0x101929(0x402)](_0x70b6b[_0x101929(0x204)],_0x70b6b[_0x101929(0x1e8)],_0x37bb09);if(!_0x5cc627||!_0x130c96(_0x5cc627[_0x101929(0x409)]))return null;let _0xca7ee3=_0x239fd6(_0x70b6b[_0x101929(0x204)],_0x37bb09),_0x92ec13=this[_0x101929(0x1f3)]['scene'],_0x588019=(_0x2d38b7=(_0x20656e=_0x92ec13[_0x101929(0x24c)])==null?void 0x0:_0x20656e[_0x101929(0x1e1)](_0x92ec13,_0xca7ee3))==null?this[_0x101929(0x1f3)][_0x101929(0x171)][_0x101929(0x3fc)](_0xca7ee3):_0x2d38b7;return _0x588019?{'object':_0x588019,'elementData':_0x5cc627}:null;}['_resolveSelectedEntry'](_0x302e7a){const _0xace9de=_0x4e28b3;var _0x4d3cc2;if(!_0x302e7a)return null;let _0x538977=_0x16c9be(_0x302e7a[_0xace9de(0x1ce)]);if(!_0x538977)return null;let _0x3f1ead=this[_0xace9de(0x1e3)][_0xace9de(0x2af)](),_0x1166a6=((_0x4d3cc2=_0x3f1ead[_0xace9de(0x1ed)])==null?void 0x0:_0x4d3cc2[_0xace9de(0x204)])===_0x538977['unitId']?_0x3f1ead[_0xace9de(0x1ed)][_0xace9de(0x1e8)]:void 0x0;if(!_0x1166a6)return null;let _0x137870=this[_0xace9de(0x234)][_0xace9de(0x402)](_0x538977[_0xace9de(0x204)],_0x1166a6,_0x538977['elementId']);return _0x137870?{'object':_0x302e7a,'elementData':_0x137870}:null;}};Bn=J([q(0x1,_0x19f927(_0x11b6e9)),q(0x2,_0x19f927(_0x5af7fa)),q(0x3,_0x19f927(_0x4ad25d)),q(0x4,_0x19f927(_0x4aee4d)),q(0x5,_0x19f927(_0x51f3dc))],Bn);const Vn=_0x4e28b3(0x16c),Hn=_0x394cf0[_0x4e28b3(0x2a9)];function Un(_0x49cc24,_0x132206){const _0x36989e=_0x4e28b3;return(_0x49cc24==null?[]:_0x49cc24)[_0x36989e(0x3f6)]((_0x2b81c8,_0x1bed1b)=>{const _0x52fadc=_0x36989e;var _0x2fa687;return _0x2b81c8[(_0x2fa687=_0x1bed1b[_0x52fadc(0x164)])==null?_0x132206:_0x2fa687][_0x52fadc(0x251)](_0x1bed1b),_0x2b81c8;},{'left':[],'right':[],'top':[],'bottom':[]});}function Wn(_0x532b0d){const _0x3a51d0=_0x4e28b3;return _0x532b0d==='tree-left'||_0x532b0d===_0x3a51d0(0x2d8)||_0x532b0d===_0x3a51d0(0x400);}function _0x5a5c(){const _0x528faf=['registerRenderModule','activeEditingId','getContextValue','_getSelectedMindMapContext','CENTER','_createQuoteShortcut','getUnitId','_resolveControlSide','branch-orthogonal','univer-text-xs\x20univer-text-gray-500','branch-curve','boards-mind-ui.panel.tab.importExport','structureKind','viewportPanOffset','univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-xs\x20univer-text-gray-600','_resolvePreviewSourceBounds','hideRootControls','center','_syncControls','_resolveChildDragTopologyAction','_cloneBlueprint','_syncLayoutPreview','curve','style-divider','_resolveCurrentBoardContext','textAlign','boards-mind-ui.panel.spacing.branchGap','_syncPointerChildDragPreview','getTemplate','tree-right','_restoreObjectToDragStart','_removePreviewObject','ArrowRight','ARROW_LEFT','_renderManagerService','isFinite','Branch','arrow-left','zIndex','primary','boards-mind-ui.panel.importOPML','rgb','text/plain','boards-mind-ui.toolbar.primary.typography','boards-mind-ui.toolbar.action.fill','getOwnPropertyDescriptor','clientX','M15\x2031h50M35\x2031V18c0-4\x203-7\x208-7h9M35\x2031v13c0\x204\x203\x207\x208\x207h9','transform','show','strokeWidth','siblingGlyphSize','timelineAxisGap','_configService','after','_boardUIStateService','strikethrough','boards-mind-ui.panel.searchNodes','solid','Mind\x20map','lineTo','default','univer-mb-3\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-900\x20dark:!univer-text-gray-100','collapsePlusMinDistance','layout-panel-divider','RIGHT','clearSelection','parseInt','_note','elementRemove$','point','UNIVER_BOARD','mind-map-layout-dropdown','string','sourceBounds','activeTool','_previewRefreshService','_seedExistingNodeSizes','getHitControl','_attachObjectEvents','true','structure','_initEditingRestore','boards-mind-ui.panel.emptyNodes','ARROW_DOWN','_executeAndLayout','popup','min','getConfig','success','selectedIds','span','univer-h-28\x20univer-resize-none\x20univer-text-xs','description','addChildGlyphSize','direction','_insertStateService','pointerup','fontFamily','_config','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-white','decorate','branch-rounded-orthogonal','boards-mind-ui.panel.structureKind.mindmapVertical','height','_childDragActivated','version','values','univer-mb-2\x20univer-text-lg\x20univer-text-gray-900','moveTo','extraProps','_stateService','_syncSceneInputMode','M56\x2012v32M56\x2019c0\x204-3\x206-7\x206h-7M56\x2029c0\x204-3\x206-7\x206h-7M56\x2039c0\x204-3\x206-7\x206h-7','boards-mind-ui.panel.pasteOPML','slice','font','add-sibling-after','_activeScopeId','open-description','sourceHighlightFillColor','add-child','entries','_scheduleAttachObjectPointerListeners','ghostFontWeight','_enableMindMapToolbarTool','_getZoomRatio','onStarting','referenceNodeId','fillStyle','onPointerDown$','left','_syncRootReparentPreview','add-child-right','collapsed','verticalAlign','M12\x2026h11M58\x2036h11M12\x2045h11','_boardCanvasPopManagerService','subscribe','boards-mind-ui.alignCenter','_copySelectedNode','enabled','get','boards-mind-ui.saveDescription','transientControl','connector','RoundDot','_openSelectedTextEditing','pipe','style','mindmap-vertical','23094576VOFBEJ','M16\x2029h18c7\x200\x2010-5\x2010-12v-3M34\x2029h10c7\x200\x2010\x205\x2010\x2012v3','boards-mind-ui.panel.structureKind.timelineVertical','board-mind-map-drag-preview-object','keys','transientPreview','icon','dropEffect','glyphWidth','Select','attachPopupToObject','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','dot','quadraticCurveTo','boards-mind-ui.alignLeft','mind-map','save','boards-mind-ui.cancel','_lastChildDragAction','3793458iEpFqU','mind-map-font-size','boards-mind-ui.config','setShapeSidebarOpen','_getPointerLiveBounds','changeEnd$','board.mind-map.floating-toolbar','setLineDash','color','subscribeEvent','getElementData','_ensurePreviewObject','transientPreviewForeground','stopPropagation','children','Escape','editingParams$','univer-mb-0','tree-diagram','then','1942022Exkzmo','divider-','tree-left','_previewObject','onChange','isRoot','_isEditingMindMapNode','arrow-up','object','repeat(','clientY','_syncRootScopePreview','placement','strokeStyle','clipboard','add-sibling-before','vertical','_getLiveObjectBounds','scopeId','none','more','_applyPointerChildDrag','Shape','next','_pasteAsNewMindMap','title','boundsByElementId','changeStart$','detachWhenNoSnap','_buildPopupSelectionKey','boards-mind-ui.panel.rename','add','boards-mind-ui.toolbar.action.layout','boards-mind-ui.panel.layout.right','detach','copy','_textEditingService','univer-w-[202px]\x20univer-rounded-xl\x20univer-border\x20univer-border-gray-200\x20univer-bg-white\x20univer-px-4\x20univer-py-4\x20univer-shadow-lg','orderKey','univer-bg-[#e8eefc]\x20univer-text-[#2f6fed]\x20hover:univer-bg-[#e8eefc]','circle','blueprint','top','timeline-vertical','boards-mind-ui.panel.structureKind.treeLeft','boards-mind-ui.descriptionPlaceholder','_getPointFromEvent','_disposeActivePointerDragListeners','_handlePointerMove','effectAllowed','_layoutFlushScheduled','paste','_collapseAll','_pasteUnderSelectedNode','univer-mb-3\x20univer-w-full','_queueLayout','_syncDragPreview','reparent','OPERATION','incomingConnectorStyle','labelKey','div','setTemplate','setHoveredControl','sort','offsetX','items','isInteractionSurfaceActive','onDblclick$','getActivePageId','dashType','getUnit','currentColor','forEach','_navigateByTopology','surfaceColor','beginPath','visualRadius','button','_toFiniteBounds','ArrowDown','_handleShortcut','snapDistance','boards-mind-ui.alignRight','univer-border-b\x20univer-border-gray-200\x20univer-p-4','siblingGap','_activePreview','_restoreActivePreview','_resolveNodeSize','arrow-down','top-center','ArrowUp','fontColor','executeCommand','depth','_consumeControlEvent','_isControlEvent','univer-h-32\x20univer-resize-none\x20univer-text-sm','_isPopupSelectionStillActive','both','getEditing','registerShortcut','rootChildSides','restore','documentStyle','symbol','_removeObject','controls','_cloneBlueprintNode','_pointerDragStart','updateState','pointercancel','isRootNode','hoveredControl','bold','_debouncedLayouts','M24\x2012v32M24\x2019c0\x204\x203\x206\x207\x206h7M24\x2029c0\x204\x203\x206\x207\x206h7M24\x2039c0\x204\x203\x206\x207\x206h7','refresh$','_countDescendants','bottom','M16\x2028c16\x200\x2025-13\x2043-13M16\x2028c16\x200\x2025\x2013\x2043\x2013','_shortcutService','custom','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','360LIVYiX','reduce','_dragStart','disableObjectsEvent','ghostFillColor','join','_activeNodeId','getObject','_resolveSelectedMindMapEntryFromState','structureScopeId','parentBounds','tree-alternate','MIDDLE','getElementById','svg','elementId','defaultValue','_syncPreviewObject','root','lineWidth','element','TOP','disposeWithMe','clearControl$','boards-mind-ui.alignTop','getPayload','has','boards-mind-ui.panel.exportOPML','textFill','_objectPointerDisposables','_componentManager','round','_clearPopupIfSelectionChanged','pointerStartY','radius','opacity','fontSize','_removeDragPreviewObject','promote','ghostBounds','_applyDragTopologyAction','hypot','boards-mind-ui.panel.structureKind.treeRight','_refresh$','removeEventListener','addObject','panel','skipNextObservers','4480686EmkwSS','hasCommand','univer-flex\x20univer-min-w-0\x20univer-flex-1\x20univer-items-center\x20univer-gap-1','add-child-left','getState','selectElements','boards-mind-ui.description','from','kind','boards-mind-ui.toolbar.action.delete','setPendingInsert','hasChildren','edit-text','_getBlankBoardContext','side','collapsedDescendantCount','_handleElementUpdate','M19.5\x207.5h-4.2c-1.9\x200-3.3\x201.5-3.3\x203.3','rounded-orthogonal','_init','exec','allowRootReparent','board-mind-map-pending-insert-object','_isPointInBounds','elementAdd$','_hideSelectionForChildDrag','getTransformerByCreate','scene','rootRadius','pointerStartX','_previewHostSize','currentTarget','_resolveArrowNavigationTarget','SHIFT','_normalizeChildren','_state','orthogonal','arrow-right','px\x20','univer-size-full\x20univer-bg-white\x20univer-text-sm\x20univer-text-gray-700\x20dark:!univer-bg-gray-900\x20dark:!univer-text-gray-200','univer-mb-4','fillText','opml','_popupDisposable','renderGhostNode','_syncMindMapTextEditorContext','_contextService','univer-grid\x20univer-h-14\x20univer-overflow-hidden\x20univer-rounded-xl\x20univer-bg-gray-100\x20univer-p-1','shapeText','isHit','board-mind-map-node-controls-object','M47\x2025h13M47\x2035h13M47\x2045h13','board.operation.mind-map.keyboard-shortcut','_clearPopup','updateElement','stroke','value','_nodeSizeByKey','Tree\x20diagram','branchLineType','register','_resolveRootTopLeft','onPointerUp$','enableObjectsEvent','lineWidthScreen','parentNodeId','univer-w-24','_resolveSelectedEntry','_commandService','_createKeyboardShortcutOperation','_findChildNodeAtPoint','1.0.0-alpha.8','foldChildNodes','fallbackNodeHeight','_resolvePreviewTextStyle','asObservable','borderWidth','render','onPointerMove$','paste-as-new','function','_template','_getBoardsUIConfig','rootHeight','rootStartBounds','objects','_lastPoint','dropdown','univer-size-5','horizontalGap','offsetY','rgba(','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','toggle-collapse','mind-map-stroke','width','_resolveDirtyBounds','_getMindMapChildren','boards-mind-ui.panel.layout.both','_drawSourceHighlight','registerCommand','boards-mind-ui.toolbar.action.addSibling','removeObjects','glyphHoverWidth','zoomRatio','targetNodeId','board-mind-map-description-dialog','_handlePointerDown','univer-w-20\x20univer-shrink-0','_interactionSurfaceService','3JvrWsf','M4.5\x2016.5h4.2c1.9\x200\x203.3-1.5\x203.3-3.3','univer-w-full\x20univer-text-xs','M56\x2011h11M56\x2051h11','resolve','univer-h-9\x20univer-w-12','_handleNodeUpdateCommand','map','iterator','_activePointerDragDisposables','oKey','_queuedLayouts','siblingHoverRadius','hide','constructor','boards-mind-ui.alignJustify','UNIVER_BOARDS_MIND_UI_PLUGIN','item','addEventListener','_attachObjectPointerListeners','DELETE','onPointerCancel$','siblingDotRadius','univer-min-w-0\x20univer-flex-1\x20univer-justify-start\x20univer-truncate\x20univer-text-left','italic','number','_debouncedLayoutTimer','ghostTextColor','makeDirtyNoDebounce','call','ghostRadius','_elementStateService','dirtyPaddingScreen','_mindMapClipboardService','_attachActivePointerDragListeners','transformByState','subUnitId','univer-space-y-1','_executeChildDragAction','defineProperty','spacing','context','unsubscribe','middle','owner','_registerComponents','addChildRadius','_renderContext','child','params','_childDragSelectionHidden','1.8','_resolveRootChildControlSides','_capturePointerChildDragStart','_objectEventDisposables','_executeNodeOperation','mindmap-horizontal','_queueDebouncedLayout','setConfig','_resolveChildSide','_injector','_boardTextEditingService','dataTransfer','find','unitId','max','panOffset','_object','lineCap','underline','setContextValue','boards-mind-ui.toolbar.action.addChild','layout','pointermove','filter','_createShortcutItems','_getSceneObject','timeline','addSiblingNode','_resolveIncomingConnectorStyle','collapse-all','rootNodeId','move','_syncChildDragPreviewObject','_instanceService','clear','M20\x2025h13M20\x2035h13M20\x2045h13','_resolveCreateChildSide','univer-flex\x20univer-gap-2','LEFT','textBaseline','_getElementKey','boards-mind-ui.toolbar.primary.fontColor','_showPopupForSelection','outlineItems','_popupSelectionKey','localeCompare','small','_uiStateService','rootWidth','_subscribeElementDataChanges','registerProvider','liveRootBounds','6166864WOQIOb','_ensureObject','line','before','boards-mind-ui.panel.structureKind.timelineHorizontal','sourceHaloScreen','addDescription','globalAlpha','interactionSurfaceActive$','_boardElementService','_createTopologyBoundsByElementId','board.mind-map.panel','toolbar','glyphSize','trim','textStyle','M17\x2033h21M38\x2017v30M38\x2017h24','key','addChild','getBoundingClientRect','_getBoardPointFromEvent','some','arc','boards-mind-ui.panel.tab.structure','BACKSPACE','right','_addSiblingOrChild','toPrimitive','fromEntries','mindmap','boards-mind-ui.toolbar.action.fontColor','badgeFontWeight','addParentNode','getObjectIncludeInGroup','tools','requestRender','setActiveTool','univer-flex\x20univer-flex-col\x20univer-gap-2','push','sourceDashScreen','textPaddingScreen','importExport','rootTextColor','_provider','isTransforming','path','boards-mind-ui.toolbar.action.copy','elementData','ghost','FOCUSING_MIND_MAP_TEXT_EDITOR','branchGap','setData','boards-mind-ui.alignMiddle','notify','univer-max-w-[min(760px,calc(100vw-32px))]','dividerBefore','nodeId','clearPendingInsert','primaryColor','_isChildDragPastActivationThreshold','rootText','open','delete','_consumePointerEvent','shapeId','boards-mind-ui.panel.spacing.siblingGap','dash','badgeCount','focusedId','siblingDotGap','univer-h-7\x20univer-min-w-9\x20univer-w-auto\x20univer-gap-1\x20univer-px-1.5','383006xJIAnp','toLowerCase','visible','add-child-bottom','_syncElementDataToScene','SquareDot','ArrowLeft','_dragPreviewObject','editCurrentNode','objectAlpha','bounds','add-sibling-or-child','rootFontSize','state$','boards-mind-ui.panel.branchLineType.orthogonal','dragObjectAlpha','length','foreignAttributes','ignoreExternalFocusChanges','_executeCreateAndEdit','add-child-top','horizontalAlign','text','_rememberNodeSize','_resolveControlBounds','timeline-horizontal','_openDescriptionDialog','univer-text-xs\x20univer-text-gray-400\x20dark:!univer-text-gray-500','boards-mind-ui.panel.structureKind.mindmapHorizontal','getSelectedObjectMap','newParentNodeId','_instanceSrv','shapeData','_cancelPointerChildDrag','_resolveHostSize','boards-mind-ui.panel.','connectorData','set','gap','Dash','section','_getPointerScreenPoint','boards-mind-ui.panel.cancel','dispose','fill','makeDirty','preventDefault','type','dispose$','boards-mind-ui.toolbar.panel.line','complete','dataModel','_attachObjectPointerScheduled','MindMap','_drawConnectorPreview','preview','abs','badgeFontSize','sourceHighlightStrokeColor','univer-space-y-3','label','getSnapshot','createControl$','JUSTIFIED','M40\x209v40M40\x2020c8\x200\x2011\x204\x2011\x2011v8M40\x2035c-8\x200-11\x204-11\x2011v4','setEditing','_captureDragStart','changing$','_syncChildDragPreview',',\x20minmax(0,\x201fr))','65510mitfZY','boards-mind-ui.panel.structureKind.treeAlternate','M12\x2015h9M12\x2028h9M12\x2041h9M59\x2015h9M59\x2028h9M59\x2041h9'];_0x5a5c=function(){return _0x528faf;};return _0x5a5c();}function Gn(_0x17b0f2){const _0x2f27e9=_0x4e28b3;return _0x17b0f2===_0x2f27e9(0x28b)||_0x17b0f2==='timeline-vertical';}function Kn(_0x2e9c2e,_0x55d3f0,_0x400b2e){const _0x388b8f=_0x4e28b3;return _0x400b2e===_0x388b8f(0x37b)?_0x388b8f(0x33e):_0x400b2e===_0x388b8f(0x2d8)?_0x388b8f(0x244):_0x2e9c2e[_0x388b8f(0x164)]===_0x388b8f(0x33e)||_0x2e9c2e[_0x388b8f(0x164)]===_0x388b8f(0x244)?_0x2e9c2e[_0x388b8f(0x164)]:_0x55d3f0%0x2==0x0?_0x388b8f(0x33e):'right';}function qn(_0x1015fe,_0x1d9f7e){const _0x3282e7=_0x4e28b3;var _0x324236,_0x413f03;return(_0x324236=(_0x413f03=_0x1d9f7e==null?void 0x0:_0x1d9f7e[_0x3282e7(0x407)][_0x3282e7(0x373)])==null?_0x1015fe:_0x413f03)==null?[]:_0x324236;}var Jn=class extends _0x344c5d{constructor(_0x2882c5=Vn,_0xae968f){const _0x235a84=_0x4e28b3;super(_0x2882c5),K(this,_0x235a84(0x179),{'point':null,'children':[]}),this['evented']=!0x1,this[_0x235a84(0x2e1)]=_0x5d51da[_0x235a84(0x357)],this[_0x235a84(0x3e7)](_0xae968f);}['updateState'](_0x53394a){const _0x4b3e5c=_0x4e28b3;this[_0x4b3e5c(0x179)]={...this[_0x4b3e5c(0x179)],..._0x53394a},this[_0x4b3e5c(0x179)]['point']?this['show']():this[_0x4b3e5c(0x1d1)](),this[_0x4b3e5c(0x29f)](!0x0);}[_0x4e28b3(0x187)](_0x16982a){return!0x1;}[_0x4e28b3(0x1a3)](_0x4a7482,_0x27b189){const _0x41b95f=_0x4e28b3;var _0x54ed39;let _0x181b88=this[_0x41b95f(0x179)][_0x41b95f(0x301)];if(!_0x181b88||!this[_0x41b95f(0x274)])return this[_0x41b95f(0x29f)](!0x1),this;let _0xff4d1b=Number[_0x41b95f(0x2de)](this['_state'][_0x41b95f(0x1be)])&&((_0x54ed39=this['_state']['zoomRatio'])==null?0x0:_0x54ed39)>0x0?this[_0x41b95f(0x179)][_0x41b95f(0x1be)]:0x1,_0x42bc3d=_0x1163ab['rootWidth'],_0x29a6e3=_0x1163ab[_0x41b95f(0x1a9)],_0x19f3b1=_0x1163ab['nodeWidth'],_0x17c012=_0x1163ab['nodeHeight'],_0x31c7bb=_0x1defe8['horizontalGap'],_0x5053e7=_0x1defe8[_0x41b95f(0x3ce)],_0x14af3b=this[_0x41b95f(0x179)]['structureKind']===_0x41b95f(0x351),_0x26678c=Un(this['_state'][_0x41b95f(0x373)],_0x14af3b?_0x41b95f(0x3f0):'right'),_0x2ceb81=_0x181b88['x']-_0x42bc3d/0x2,_0x5a1804=_0x181b88['y']-_0x29a6e3/0x2;if(_0x4a7482[_0x41b95f(0x362)](),_0x4a7482[_0x41b95f(0x232)]=X[_0x41b95f(0x27b)],_0x4a7482[_0x41b95f(0x408)]=X[_0x41b95f(0x196)]/_0xff4d1b,_0x4a7482[_0x41b95f(0x386)]=X[_0x41b95f(0x265)],Gn(this[_0x41b95f(0x179)][_0x41b95f(0x2c7)])){let _0x5c4168=qn(this['_state'][_0x41b95f(0x373)],this[_0x41b95f(0x179)][_0x41b95f(0x3a2)]),_0x531538=this[_0x41b95f(0x179)]['structureKind']==='timeline-horizontal';if(_0x5c4168[_0x41b95f(0x282)]>0x0){if(_0x4a7482[_0x41b95f(0x3c5)](),_0x531538){let _0x5bf8da=_0x19f3b1,_0x117e0e=_0x17c012,_0x56531c=_0x1defe8[_0x41b95f(0x2ef)],_0x2ae5bf=_0x181b88['y'],_0x1c229f=_0x2ceb81+_0x42bc3d,_0x383f97=_0x181b88['y']-_0x117e0e/0x2,_0x4aa6c7=_0x2ceb81+_0x42bc3d+_0x56531c;_0x4a7482[_0x41b95f(0x328)](_0x1c229f,_0x2ae5bf),_0x4a7482[_0x41b95f(0x2f7)](_0x4aa6c7,_0x2ae5bf),_0x5c4168[_0x41b95f(0x3c2)]((_0x4ba9a4,_0x1713ba)=>{const _0x5b593c=_0x41b95f;let _0x765df9=_0x4aa6c7+_0x1713ba*(_0x5bf8da+_0x56531c);if(_0x1713ba>0x0){let _0x4816e0=_0x4aa6c7+(_0x1713ba-0x1)*(_0x5bf8da+_0x56531c)+_0x5bf8da;_0x4a7482[_0x5b593c(0x328)](_0x4816e0,_0x2ae5bf),_0x4a7482[_0x5b593c(0x2f7)](_0x765df9,_0x2ae5bf);}_0x4a7482[_0x5b593c(0x328)](_0x765df9,_0x2ae5bf),_0x4a7482[_0x5b593c(0x2f7)](_0x765df9+_0x5bf8da,_0x2ae5bf);}),_0x4a7482[_0x41b95f(0x18d)](),_0x5c4168[_0x41b95f(0x3c2)]((_0x1995aa,_0x353602)=>{const _0x3d0010=_0x41b95f;Z(_0x4a7482,_0x4aa6c7+_0x353602*(_0x5bf8da+_0x56531c),_0x383f97,_0x5bf8da,_0x117e0e,X['ghostRadius']),_0x4a7482[_0x3d0010(0x33c)]=X[_0x3d0010(0x3f9)],_0x4a7482[_0x3d0010(0x29e)](),_0x4a7482[_0x3d0010(0x18d)]();}),_0x5c4168[_0x41b95f(0x3c2)]((_0x17326a,_0x350184)=>{const _0x41b667=_0x41b95f;if(!(_0x41b667(0x373)in _0x17326a)||_0x17326a[_0x41b667(0x373)][_0x41b667(0x282)]===0x0)return;let _0xc792ab=_0x4aa6c7+_0x350184*(_0x5bf8da+_0x56531c),_0x37fcf9=_0xc792ab+_0x5bf8da/0x2,_0x4e1371=_0x17326a[_0x41b667(0x164)]===_0x41b667(0x3f0)?_0x41b667(0x3f0):_0x41b667(0x3a3),_0x17bbc1=_0x17326a[_0x41b667(0x373)][_0x41b667(0x32e)](0x0,0x2),_0x4ab299=_0x17bbc1[_0x41b667(0x282)]*_0x117e0e+Math[_0x41b667(0x205)](0x0,_0x17bbc1[_0x41b667(0x282)]-0x1)*_0x5053e7,_0x488c18=_0xc792ab+_0x5bf8da+_0x1defe8[_0x41b667(0x25d)],_0x7b96f3=_0x4e1371==='top'?_0x383f97-_0x31c7bb-_0x4ab299:_0x383f97+_0x117e0e+_0x31c7bb,_0x27729e=_0x7b96f3+_0x4ab299/0x2;_0x4a7482[_0x41b667(0x3c5)](),_0x4a7482[_0x41b667(0x328)](_0x37fcf9,_0x4e1371===_0x41b667(0x3a3)?_0x383f97:_0x383f97+_0x117e0e),_0x4a7482[_0x41b667(0x2f7)](_0x37fcf9,_0x27729e),_0x4a7482['lineTo'](_0x488c18,_0x27729e),_0x17bbc1[_0x41b667(0x3c2)]((_0xc3c2ed,_0x5d194a)=>{let _0xb2f65e=_0x7b96f3+_0x5d194a*(_0x117e0e+_0x5053e7)+_0x117e0e/0x2;_0x4a7482['moveTo'](_0x488c18,_0xb2f65e),_0x4a7482['lineTo'](_0x488c18+_0x5bf8da,_0xb2f65e);}),_0x4a7482[_0x41b667(0x18d)](),_0x17bbc1['forEach']((_0x35f235,_0x25a944)=>{const _0x3f037b=_0x41b667;let _0x100799=_0x7b96f3+_0x25a944*(_0x117e0e+_0x5053e7);Z(_0x4a7482,_0x488c18,_0x100799,_0x5bf8da,_0x117e0e,X[_0x3f037b(0x1e2)]),_0x4a7482[_0x3f037b(0x33c)]=X[_0x3f037b(0x3f9)],_0x4a7482[_0x3f037b(0x29e)](),_0x4a7482[_0x3f037b(0x18d)]();});});}else{let _0x3563ca=_0x181b88['x'],_0x32923b=_0x5a1804+_0x29a6e3,_0x16c683=_0x1defe8[_0x41b95f(0x2ef)],_0x37eaf3=_0x5a1804+_0x29a6e3+_0x16c683,_0x374319=_0x37eaf3+(_0x5c4168['length']-0x1)*(_0x17c012+_0x16c683)+_0x17c012/0x2;_0x4a7482[_0x41b95f(0x328)](_0x3563ca,_0x32923b),_0x4a7482['lineTo'](_0x3563ca,_0x374319),_0x5c4168[_0x41b95f(0x3c2)]((_0x2c841c,_0x2bd038)=>{const _0x578c80=_0x41b95f;let _0x2e4be0=_0x37eaf3+_0x2bd038*(_0x17c012+_0x16c683)+_0x17c012/0x2,_0x27543d=_0x2c841c[_0x578c80(0x164)]===_0x578c80(0x244)?_0x578c80(0x244):_0x578c80(0x33e),_0x31ec9f=_0x27543d===_0x578c80(0x244)?_0x3563ca+_0x1defe8[_0x578c80(0x25d)]:_0x3563ca-_0x1defe8[_0x578c80(0x25d)]-_0x19f3b1,_0x35feaa=_0x27543d===_0x578c80(0x244)?_0x31ec9f:_0x31ec9f+_0x19f3b1;_0x4a7482[_0x578c80(0x328)](_0x3563ca,_0x2e4be0),_0x4a7482[_0x578c80(0x2f7)](_0x35feaa,_0x2e4be0);}),_0x4a7482[_0x41b95f(0x18d)](),_0x5c4168[_0x41b95f(0x3c2)]((_0x21f4d7,_0x4ada3e)=>{const _0x5af5e8=_0x41b95f;let _0x40b631=_0x37eaf3+_0x4ada3e*(_0x17c012+_0x16c683);Z(_0x4a7482,(_0x21f4d7[_0x5af5e8(0x164)]===_0x5af5e8(0x244)?_0x5af5e8(0x244):_0x5af5e8(0x33e))=='right'?_0x3563ca+_0x1defe8[_0x5af5e8(0x25d)]:_0x3563ca-_0x1defe8['branchGap']-_0x19f3b1,_0x40b631,_0x19f3b1,_0x17c012,X[_0x5af5e8(0x1e2)]),_0x4a7482[_0x5af5e8(0x33c)]=X[_0x5af5e8(0x3f9)],_0x4a7482[_0x5af5e8(0x29e)](),_0x4a7482[_0x5af5e8(0x18d)]();}),_0x5c4168[_0x41b95f(0x3c2)]((_0x102ded,_0x429012)=>{const _0x2558bc=_0x41b95f;if(!('children'in _0x102ded)||_0x102ded['children'][_0x2558bc(0x282)]===0x0)return;let _0x5843a4=_0x37eaf3+_0x429012*(_0x17c012+_0x16c683)+_0x17c012/0x2,_0x145c3b=_0x102ded['side']===_0x2558bc(0x244)?_0x2558bc(0x244):_0x2558bc(0x33e),_0x58add7=_0x102ded[_0x2558bc(0x373)][_0x2558bc(0x32e)](0x0,0x2),_0x400d38=_0x58add7['length']*_0x17c012+Math['max'](0x0,_0x58add7[_0x2558bc(0x282)]-0x1)*_0x5053e7,_0x416f20=_0x145c3b===_0x2558bc(0x244)?_0x3563ca+_0x1defe8[_0x2558bc(0x25d)]:_0x3563ca-_0x1defe8['branchGap']-_0x19f3b1,_0x18c21e=_0x145c3b===_0x2558bc(0x244)?_0x416f20+_0x19f3b1+_0x31c7bb:_0x416f20-_0x31c7bb-_0x19f3b1,_0x5ad4fa=_0x5843a4-_0x400d38/0x2,_0x327ba5=_0x145c3b==='right'?_0x416f20+_0x19f3b1:_0x416f20,_0x50bf04=_0x145c3b===_0x2558bc(0x244)?_0x18c21e:_0x18c21e+_0x19f3b1;_0x4a7482['beginPath'](),_0x4a7482['moveTo'](_0x327ba5,_0x5843a4),_0x4a7482[_0x2558bc(0x2f7)](_0x50bf04,_0x5843a4),_0x58add7['forEach']((_0x5528ac,_0x1f4b7f)=>{const _0x2e3d0d=_0x2558bc;let _0x15f0b4=_0x5ad4fa+_0x1f4b7f*(_0x17c012+_0x5053e7)+_0x17c012/0x2;_0x4a7482[_0x2e3d0d(0x328)](_0x50bf04,_0x15f0b4),_0x4a7482[_0x2e3d0d(0x2f7)](_0x145c3b==='right'?_0x18c21e+_0x19f3b1:_0x18c21e,_0x15f0b4);}),_0x4a7482['stroke'](),_0x58add7['forEach']((_0x456d53,_0x550758)=>{const _0x4d59dd=_0x2558bc;let _0x1b8193=_0x5ad4fa+_0x550758*(_0x17c012+_0x5053e7);Z(_0x4a7482,_0x18c21e,_0x1b8193,_0x19f3b1,_0x17c012,X['ghostRadius']),_0x4a7482[_0x4d59dd(0x33c)]=X[_0x4d59dd(0x3f9)],_0x4a7482[_0x4d59dd(0x29e)](),_0x4a7482[_0x4d59dd(0x18d)]();});});}}}else{if(Wn(this[_0x41b95f(0x179)][_0x41b95f(0x2c7)])){var _0x5aa782;let _0x3425f1=(_0x5aa782=this['_state'][_0x41b95f(0x373)])==null?[]:_0x5aa782,_0x51cc34=_0x5a1804+_0x29a6e3,_0x518076=_0x51cc34+_0x31c7bb,_0x2755b6=_0x181b88['x'];if(_0x3425f1[_0x41b95f(0x282)]>0x0){let _0x27dcc4=_0x518076+(_0x3425f1[_0x41b95f(0x282)]-0x1)*(_0x17c012+_0x5053e7)+_0x17c012/0x2;_0x4a7482['beginPath'](),_0x4a7482['moveTo'](_0x2755b6,_0x51cc34),_0x4a7482[_0x41b95f(0x2f7)](_0x2755b6,_0x27dcc4),_0x3425f1['forEach']((_0x4b3424,_0x4694a2)=>{const _0x15c927=_0x41b95f;let _0x120aa6=Kn(_0x4b3424,_0x4694a2,this[_0x15c927(0x179)][_0x15c927(0x2c7)]),_0x20f398=_0x518076+_0x4694a2*(_0x17c012+_0x5053e7),_0x2a3a87=_0x120aa6==='right'?_0x2755b6+_0x31c7bb:_0x2755b6-_0x31c7bb-_0x19f3b1,_0x31741b=_0x20f398+_0x17c012/0x2;_0x4a7482[_0x15c927(0x328)](_0x2755b6,_0x31741b),_0x4a7482[_0x15c927(0x2f7)](_0x120aa6===_0x15c927(0x244)?_0x2a3a87:_0x2a3a87+_0x19f3b1,_0x31741b);}),_0x4a7482[_0x41b95f(0x18d)](),_0x3425f1[_0x41b95f(0x3c2)]((_0x3a862f,_0x389115)=>{const _0x21ddf3=_0x41b95f;let _0x37374e=Kn(_0x3a862f,_0x389115,this[_0x21ddf3(0x179)][_0x21ddf3(0x2c7)]),_0x50aa85=_0x518076+_0x389115*(_0x17c012+_0x5053e7);Z(_0x4a7482,_0x37374e==='right'?_0x2755b6+_0x31c7bb:_0x2755b6-_0x31c7bb-_0x19f3b1,_0x50aa85,_0x19f3b1,_0x17c012,X['ghostRadius']),_0x4a7482[_0x21ddf3(0x33c)]=X[_0x21ddf3(0x3f9)],_0x4a7482[_0x21ddf3(0x29e)](),_0x4a7482['stroke']();});}}else _0x14af3b&&[_0x41b95f(0x3a3),_0x41b95f(0x3f0)][_0x41b95f(0x3c2)](_0x4aa1a9=>{const _0x2006ed=_0x41b95f;let _0x17acdd=_0x26678c[_0x4aa1a9];if(_0x17acdd[_0x2006ed(0x282)]===0x0)return;let _0x202ab1=_0x17acdd[_0x2006ed(0x282)]*_0x19f3b1+Math['max'](0x0,_0x17acdd[_0x2006ed(0x282)]-0x1)*_0x5053e7,_0x3e3f58=_0x181b88['x']-_0x202ab1/0x2,_0x279968=_0x4aa1a9===_0x2006ed(0x3f0)?_0x5a1804+_0x29a6e3:_0x5a1804,_0x386cda=_0x4aa1a9==='bottom'?_0x279968+_0x1defe8[_0x2006ed(0x25d)]:_0x279968-_0x1defe8[_0x2006ed(0x25d)],_0x1fb622=_0x4aa1a9===_0x2006ed(0x3f0)?_0x5a1804+_0x29a6e3+_0x31c7bb:_0x5a1804-_0x31c7bb-_0x17c012;_0x4a7482[_0x2006ed(0x3c5)](),_0x4a7482[_0x2006ed(0x328)](_0x181b88['x'],_0x279968),_0x4a7482[_0x2006ed(0x2f7)](_0x181b88['x'],_0x386cda),_0x17acdd[_0x2006ed(0x282)]>0x1&&(_0x4a7482[_0x2006ed(0x328)](_0x3e3f58+_0x19f3b1/0x2,_0x386cda),_0x4a7482['lineTo'](_0x3e3f58+_0x202ab1-_0x19f3b1/0x2,_0x386cda)),_0x17acdd[_0x2006ed(0x3c2)]((_0x4dce29,_0x504663)=>{const _0x34020b=_0x2006ed;let _0x3e7c59=_0x3e3f58+_0x504663*(_0x19f3b1+_0x5053e7)+_0x19f3b1/0x2;_0x4a7482['moveTo'](_0x3e7c59,_0x386cda),_0x4a7482['lineTo'](_0x3e7c59,_0x4aa1a9===_0x34020b(0x3f0)?_0x1fb622:_0x1fb622+_0x17c012);}),_0x4a7482[_0x2006ed(0x18d)](),_0x17acdd[_0x2006ed(0x3c2)]((_0x1f770b,_0x241575)=>{const _0x9efbad=_0x2006ed;Z(_0x4a7482,_0x3e3f58+_0x241575*(_0x19f3b1+_0x5053e7),_0x1fb622,_0x19f3b1,_0x17c012,X['ghostRadius']),_0x4a7482[_0x9efbad(0x33c)]=X[_0x9efbad(0x3f9)],_0x4a7482[_0x9efbad(0x29e)](),_0x4a7482[_0x9efbad(0x18d)]();});});}(_0x14af3b||Wn(this['_state']['structureKind'])||Gn(this['_state'][_0x41b95f(0x2c7)])?[]:[_0x41b95f(0x33e),'right'])['forEach'](_0x16d7c5=>{const _0x46f3e8=_0x41b95f;let _0x4c34b6=_0x26678c[_0x16d7c5];if(_0x4c34b6[_0x46f3e8(0x282)]===0x0)return;let _0x448ec2=_0x4c34b6[_0x46f3e8(0x282)]*_0x17c012+Math['max'](0x0,_0x4c34b6['length']-0x1)*_0x5053e7,_0x50219c=_0x181b88['y']-_0x448ec2/0x2,_0x118c9b=_0x16d7c5===_0x46f3e8(0x244)?_0x2ceb81+_0x42bc3d:_0x2ceb81,_0x3d56c2=_0x16d7c5==='right'?_0x118c9b+_0x1defe8[_0x46f3e8(0x25d)]:_0x118c9b-_0x1defe8[_0x46f3e8(0x25d)],_0x28bb7e=_0x16d7c5===_0x46f3e8(0x244)?_0x2ceb81+_0x42bc3d+_0x31c7bb:_0x2ceb81-_0x31c7bb-_0x19f3b1;_0x4a7482[_0x46f3e8(0x3c5)](),_0x4a7482[_0x46f3e8(0x328)](_0x118c9b,_0x181b88['y']),_0x4a7482[_0x46f3e8(0x2f7)](_0x3d56c2,_0x181b88['y']),_0x4c34b6['length']>0x1&&(_0x4a7482[_0x46f3e8(0x328)](_0x3d56c2,_0x50219c+_0x17c012/0x2),_0x4a7482[_0x46f3e8(0x2f7)](_0x3d56c2,_0x50219c+_0x448ec2-_0x17c012/0x2)),_0x4c34b6[_0x46f3e8(0x3c2)]((_0x504e9a,_0x24d34b)=>{const _0x263410=_0x46f3e8;let _0x1863f9=_0x50219c+_0x24d34b*(_0x17c012+_0x5053e7)+_0x17c012/0x2;_0x4a7482[_0x263410(0x328)](_0x3d56c2,_0x1863f9),_0x4a7482[_0x263410(0x2f7)](_0x16d7c5===_0x263410(0x244)?_0x28bb7e:_0x28bb7e+_0x19f3b1,_0x1863f9);}),_0x4a7482[_0x46f3e8(0x18d)](),_0x4c34b6['forEach']((_0x3140fc,_0x18c42b)=>{const _0x400e99=_0x46f3e8;let _0x3377cb=_0x50219c+_0x18c42b*(_0x17c012+_0x5053e7);Z(_0x4a7482,_0x28bb7e,_0x3377cb,_0x19f3b1,_0x17c012,X[_0x400e99(0x1e2)]),_0x4a7482[_0x400e99(0x33c)]=X[_0x400e99(0x3f9)],_0x4a7482['fill'](),_0x4a7482['stroke']();});}),Z(_0x4a7482,_0x2ceb81,_0x5a1804,_0x42bc3d,_0x29a6e3,X[_0x41b95f(0x172)]),_0x4a7482[_0x41b95f(0x33c)]=X[_0x41b95f(0x265)],_0x4a7482['fill'](),_0x4a7482['stroke'](),_0x4a7482['fillStyle']=X[_0x41b95f(0x255)],_0x4a7482[_0x41b95f(0x32f)]=Bt(X['rootFontWeight'],X[_0x41b95f(0x27e)],_0xff4d1b),_0x4a7482[_0x41b95f(0x2d4)]=_0x41b95f(0x2cc),_0x4a7482[_0x41b95f(0x21e)]='middle';let _0x17a4b7=X['textPaddingScreen']/_0xff4d1b;return _0x4a7482[_0x41b95f(0x17f)](_0x5ce379,_0x181b88['x'],_0x181b88['y'],Math[_0x41b95f(0x205)](0x1,_0x42bc3d-_0x17a4b7*0x2)),_0x4a7482['restore'](),this[_0x41b95f(0x29f)](!0x1),this;}};const Yn={'children':[{'text':_0x5ce379,'orderKey':_0x3cc2d7(0x0),'side':'right'},{'text':_0x5ce379,'orderKey':_0x3cc2d7(0x1),'side':_0x4e28b3(0x244)},{'text':_0x5ce379,'orderKey':_0x3cc2d7(0x2),'side':_0x4e28b3(0x244)}]};var Xn=class extends _0x45f66c{constructor(..._0x25d7ed){const _0x2c9dfe=_0x4e28b3;super(..._0x25d7ed),K(this,_0x2c9dfe(0x1a7),Yn);}[_0x4e28b3(0x3b7)](_0x2ca8dc){const _0x4ef367=_0x4e28b3;var _0x46355b,_0x57b1d5;let _0xd71005=(_0x46355b=_0x2ca8dc==null?void 0x0:_0x2ca8dc[_0x4ef367(0x373)])==null?_0x2ca8dc==null||(_0x57b1d5=_0x2ca8dc['blueprint'])==null?void 0x0:_0x57b1d5['root'][_0x4ef367(0x373)]:_0x46355b;this[_0x4ef367(0x1a7)]={'rootText':_0x2ca8dc==null?void 0x0:_0x2ca8dc[_0x4ef367(0x267)],'structureKind':_0x2ca8dc==null?void 0x0:_0x2ca8dc['structureKind'],'branchLineType':_0x2ca8dc==null?void 0x0:_0x2ca8dc[_0x4ef367(0x191)],'children':this[_0x4ef367(0x178)](_0xd71005,_0x2ca8dc==null?void 0x0:_0x2ca8dc['structureKind']),'blueprint':_0x2ca8dc!=null&&_0x2ca8dc['blueprint']?this[_0x4ef367(0x2cf)](_0x2ca8dc['blueprint']):void 0x0};}[_0x4e28b3(0x2d7)](){const _0x4dc205=_0x4e28b3;var _0x3d8dfa;return{'rootText':this['_template']['rootText'],'structureKind':this[_0x4dc205(0x1a7)][_0x4dc205(0x2c7)],'branchLineType':this[_0x4dc205(0x1a7)]['branchLineType'],'children':(_0x3d8dfa=this[_0x4dc205(0x1a7)][_0x4dc205(0x373)])==null?void 0x0:_0x3d8dfa['map'](_0x45f1b9=>({..._0x45f1b9})),'blueprint':this['_template']['blueprint']?this[_0x4dc205(0x2cf)](this[_0x4dc205(0x1a7)][_0x4dc205(0x3a2)]):void 0x0};}[_0x4e28b3(0x2cf)](_0x2f5dce){const _0x179d4c=_0x4e28b3;return{'title':_0x2f5dce[_0x179d4c(0x392)],'root':this['_cloneBlueprintNode'](_0x2f5dce[_0x179d4c(0x407)])};}['_cloneBlueprintNode'](_0x568817){const _0x33be07=_0x4e28b3;return{..._0x568817,'foreignAttributes':_0x568817['foreignAttributes']?{..._0x568817[_0x33be07(0x283)]}:void 0x0,'children':_0x568817['children'][_0x33be07(0x1cb)](_0x356a13=>this[_0x33be07(0x3e5)](_0x356a13))};}[_0x4e28b3(0x178)](_0x25e58b,_0x5ba321){const _0x585850=_0x4e28b3;let _0x32caa2=!_0x25e58b,_0x3f6627=_0x25e58b==null?Yn[_0x585850(0x373)]:_0x25e58b;return _0x3f6627==null?void 0x0:_0x3f6627[_0x585850(0x1cb)]((_0x40f370,_0x4def32)=>{const _0x15c5d2=_0x585850;var _0x121732;return{..._0x40f370,'text':(_0x121732=_0x40f370[_0x15c5d2(0x288)])==null?_0x5ce379:_0x121732,'side':this[_0x15c5d2(0x1ff)](_0x40f370[_0x15c5d2(0x164)],_0x4def32,_0x5ba321,_0x32caa2)};});}[_0x4e28b3(0x1ff)](_0x461fa2,_0x21631b,_0xef3d29,_0x3bea7a){const _0x2f7d34=_0x4e28b3;return _0xef3d29===_0x2f7d34(0x351)?_0x3bea7a||_0x461fa2==null?_0x2f7d34(0x3f0):_0x461fa2:_0xef3d29==='tree-left'?_0x3bea7a||_0x461fa2==null?_0x2f7d34(0x33e):_0x461fa2:_0xef3d29===_0x2f7d34(0x2d8)?_0x3bea7a||_0x461fa2==null?_0x2f7d34(0x244):_0x461fa2:_0xef3d29===_0x2f7d34(0x400)?_0x3bea7a||_0x461fa2==null?_0x21631b%0x2==0x0?_0x2f7d34(0x33e):'right':_0x461fa2:_0xef3d29===_0x2f7d34(0x28b)?_0x3bea7a||_0x461fa2==null?_0x21631b%0x2==0x0?_0x2f7d34(0x3a3):_0x2f7d34(0x3f0):_0x461fa2:_0xef3d29===_0x2f7d34(0x3a4)&&(_0x3bea7a||_0x461fa2==null)?_0x21631b%0x2==0x0?_0x2f7d34(0x33e):_0x2f7d34(0x244):_0x461fa2;}};function Zn(_0xea3938,_0x4cec13){const _0x5bab85=_0x4e28b3;let _0x9eba84=Number[_0x5bab85(0x2de)](_0x4cec13[_0x5bab85(0x1be)])&&_0x4cec13[_0x5bab85(0x1be)]>0x0?_0x4cec13['zoomRatio']:0x1;return{'x':Math['round']((_0xea3938['offsetX']-_0x4cec13['panOffset']['x'])/_0x9eba84),'y':Math[_0x5bab85(0x414)]((_0xea3938[_0x5bab85(0x1b0)]-_0x4cec13['panOffset']['y'])/_0x9eba84)};}function Qn(_0x3d6506){const _0x4e21ae=_0x4e28b3;var _0x1b9c15;if(_0x3d6506!=null&&_0x3d6506[_0x4e21ae(0x29d)]){_0x3d6506['dispose']();return;}_0x3d6506==null||(_0x1b9c15=_0x3d6506[_0x4e21ae(0x1ee)])==null||_0x1b9c15[_0x4e21ae(0x1e1)](_0x3d6506);}function $n(_0x3d027a){const _0x34754d=_0x4e28b3;var _0x5ea038;return _0x3d027a[_0x34754d(0x306)]===_0x138a65[_0x34754d(0x2a7)]&&((_0x5ea038=_0x3d027a['pendingInsert'])==null?void 0x0:_0x5ea038['type'])===_0x138a65['MindMap'];}let er=class extends _0x43afa6{constructor(_0x5eeed7,_0x3ddb9c,_0x1e84af,_0x3ec877,_0xd9d07c,_0x3a879c,_0x17ace1){const _0x29f8f8=_0x4e28b3;super(),this['_renderContext']=_0x5eeed7,this['_instanceSrv']=_0x3ddb9c,this[_0x29f8f8(0x32a)]=_0x1e84af,this[_0x29f8f8(0x19a)]=_0x3ec877,this['_insertStateService']=_0xd9d07c,this[_0x29f8f8(0x1e3)]=_0x3a879c,this['_boardTextEditingService']=_0x17ace1,K(this,_0x29f8f8(0x37c),null),K(this,_0x29f8f8(0x1ac),null),this[_0x29f8f8(0x169)]();}[_0x4e28b3(0x169)](){const _0x10600b=_0x4e28b3;var _0x26467a;let {scene:_0x18e8e6,unitId:_0x8ebbae}=this[_0x10600b(0x1f3)],_0xfb6b6a=this[_0x10600b(0x291)][_0x10600b(0x3c0)](_0x8ebbae,_0x2934fe[_0x10600b(0x302)]);if(!_0xfb6b6a)return;let _0x37da36=(_0x26467a=_0x18e8e6['onPointerMove$'])==null?void 0x0:_0x26467a['subscribeEvent']((_0x2b7def,_0x294d25)=>{const _0xfb15b1=_0x10600b;this[_0xfb15b1(0x3a9)](_0x2b7def,_0x294d25);}),_0x27695b=_0x18e8e6[_0x10600b(0x33d)][_0x10600b(0x36e)]((_0xdeb4ab,_0x2613a7)=>{const _0x4ea559=_0x10600b;this[_0x4ea559(0x1c1)](_0xfb6b6a,_0xdeb4ab,_0x2613a7);});this[_0x10600b(0x40b)](_0x288fdc(()=>Qn(_0x37da36))),this[_0x10600b(0x40b)](_0x288fdc(()=>Qn(_0x27695b)));let _0x1992d5=this[_0x10600b(0x32a)][_0x10600b(0x27f)][_0x10600b(0x345)](()=>{const _0x17b3bd=_0x10600b;this[_0x17b3bd(0x32b)](),this[_0x17b3bd(0x406)]();});this[_0x10600b(0x40b)](_0x288fdc(()=>Qn(_0x1992d5))),this[_0x10600b(0x40b)](_0x288fdc(()=>{const _0x536a5e=_0x10600b;_0x18e8e6[_0x536a5e(0x195)](),this['_removePreviewObject']();})),this['_syncSceneInputMode'](),this['_syncPreviewObject']();}[_0x4e28b3(0x32b)](){const _0x1b70cc=_0x4e28b3;$n(this[_0x1b70cc(0x32a)][_0x1b70cc(0x15a)]())?this[_0x1b70cc(0x1f3)][_0x1b70cc(0x171)][_0x1b70cc(0x3f8)]():this[_0x1b70cc(0x1f3)][_0x1b70cc(0x171)][_0x1b70cc(0x195)]();}[_0x4e28b3(0x406)](){const _0x3c7f5f=_0x4e28b3;var _0x426bd6,_0x49a3c8;let _0x4cb63a=this[_0x3c7f5f(0x32a)]['getState']();if(!$n(_0x4cb63a)){this[_0x3c7f5f(0x2da)]();return;}let _0x5a00c1=this['_ensurePreviewObject'](),_0x25e8ef=this['_insertStateService'][_0x3c7f5f(0x2d7)]();_0x5a00c1['updateState']({'point':this[_0x3c7f5f(0x1ac)],'structureKind':_0x25e8ef['structureKind'],'children':_0x25e8ef['children'],'blueprint':_0x25e8ef['blueprint'],'zoomRatio':_0x4cb63a[_0x3c7f5f(0x1be)]}),(_0x426bd6=(_0x49a3c8=this['_renderContext'][_0x3c7f5f(0x171)])['makeDirty'])==null||_0x426bd6[_0x3c7f5f(0x1e1)](_0x49a3c8,!0x0);}[_0x4e28b3(0x370)](){const _0x11ac32=_0x4e28b3;var _0x58442f,_0x5b2fca;if(this[_0x11ac32(0x37c)])return this['_previewObject'];let _0x48a60d=this[_0x11ac32(0x31b)][_0x11ac32(0x2d7)](),_0x14c8ca=new Jn(Vn,{'point':this[_0x11ac32(0x1ac)],'structureKind':_0x48a60d[_0x11ac32(0x2c7)],'children':_0x48a60d[_0x11ac32(0x373)],'blueprint':_0x48a60d[_0x11ac32(0x3a2)],'zoomRatio':this[_0x11ac32(0x32a)][_0x11ac32(0x15a)]()['zoomRatio']});return this[_0x11ac32(0x37c)]=_0x14c8ca,(_0x58442f=(_0x5b2fca=this['_renderContext'][_0x11ac32(0x171)])[_0x11ac32(0x153)])==null||_0x58442f[_0x11ac32(0x1e1)](_0x5b2fca,_0x14c8ca,Hn),_0x14c8ca;}[_0x4e28b3(0x2da)](){const _0x587e5c=_0x4e28b3;var _0x1d4ba2,_0x5f3f24,_0x10ff31,_0x2efed0;if(!this['_previewObject']){this['_lastPoint']=null;return;}(_0x1d4ba2=(_0x5f3f24=this['_renderContext'][_0x587e5c(0x171)])[_0x587e5c(0x1bc)])==null||_0x1d4ba2[_0x587e5c(0x1e1)](_0x5f3f24,[this[_0x587e5c(0x37c)]]),this[_0x587e5c(0x37c)]=null,this[_0x587e5c(0x1ac)]=null,(_0x10ff31=(_0x2efed0=this[_0x587e5c(0x1f3)][_0x587e5c(0x171)])[_0x587e5c(0x29f)])==null||_0x10ff31[_0x587e5c(0x1e1)](_0x2efed0,!0x0);}[_0x4e28b3(0x3a7)](_0x3849d3){const _0x457ac8=_0x4e28b3;let _0x27ba35=this[_0x457ac8(0x32a)]['getState']();return Zn(_0x3849d3,{'panOffset':_0x27ba35[_0x457ac8(0x2c8)],'zoomRatio':_0x27ba35[_0x457ac8(0x1be)]});}[_0x4e28b3(0x193)](_0x363f52){const _0x1aad34=_0x4e28b3;return{'left':Math[_0x1aad34(0x414)](_0x363f52['x']-_0x1163ab[_0x1aad34(0x227)]/0x2),'top':Math['round'](_0x363f52['y']-_0x1163ab[_0x1aad34(0x1a9)]/0x2)};}[_0x4e28b3(0x3a9)](_0x4538ee,_0x12efce){const _0x26950c=_0x4e28b3;$n(this['_stateService'][_0x26950c(0x15a)]())&&(this['_lastPoint']=this[_0x26950c(0x3a7)](_0x4538ee),this['_syncPreviewObject'](),_0x12efce['stopPropagation']());}[_0x4e28b3(0x1c1)](_0x2243d2,_0x1894ed,_0x24fff5){const _0x2618f2=_0x4e28b3;var _0x12b23b,_0x272725;let _0x577aaf=this[_0x2618f2(0x32a)][_0x2618f2(0x15a)](),_0x3d1f7c=(_0x12b23b=_0x1894ed[_0x2618f2(0x3c7)])==null?0x0:_0x12b23b;if(!$n(_0x577aaf)||_0x3d1f7c!==0x0)return;let _0x95d353=this[_0x2618f2(0x3a7)](_0x1894ed),_0x564440=this[_0x2618f2(0x193)](_0x95d353),_0x5b3c21=this[_0x2618f2(0x31b)][_0x2618f2(0x2d7)](),_0x490c4d=_0x257cfe(0x6),_0x3a3354=_0x2243d2[_0x2618f2(0x3be)](),_0x3b469b=this[_0x2618f2(0x19a)]['executeCommand'](_0xa00b3d['id'],{'unitId':this[_0x2618f2(0x1f3)][_0x2618f2(0x204)],'subUnitId':_0x3a3354,'left':_0x564440[_0x2618f2(0x33e)],'top':_0x564440[_0x2618f2(0x3a3)],'rootNodeId':_0x490c4d,'rootText':_0x5b3c21['rootText'],'structureKind':_0x5b3c21[_0x2618f2(0x2c7)],'branchLineType':_0x5b3c21[_0x2618f2(0x191)],'children':_0x5b3c21[_0x2618f2(0x373)],'blueprint':_0x5b3c21[_0x2618f2(0x3a2)]});Promise[_0x2618f2(0x1c8)](_0x3b469b)['then'](_0x38a4f9=>{const _0x1eba2a=_0x2618f2;if(!_0x38a4f9)return;let _0x526c5e={'unitId':this[_0x1eba2a(0x1f3)][_0x1eba2a(0x204)],'subUnitId':_0x3a3354};this[_0x1eba2a(0x1e3)]['selectElements'](_0x526c5e,[_0x490c4d],_0x490c4d),this['_boardTextEditingService'][_0x1eba2a(0x284)](),this['_boardTextEditingService'][_0x1eba2a(0x2b3)]({..._0x526c5e,'shapeId':_0x490c4d,'shapeKey':_0x239fd6(_0x526c5e['unitId'],_0x490c4d),'visible':!0x0});}),this[_0x2618f2(0x32a)][_0x2618f2(0x24f)](_0x138a65[_0x2618f2(0x35b)]),_0x24fff5[_0x2618f2(0x372)](),(_0x272725=_0x1894ed[_0x2618f2(0x2a0)])==null||_0x272725[_0x2618f2(0x1e1)](_0x1894ed);}};er=J([q(0x1,_0x34a716),q(0x2,_0x4b72d1),q(0x3,_0x4c9d00),q(0x4,_0x19f927(Xn)),q(0x5,_0x4ad25d),q(0x6,_0x19f927(_0x4aee4d))],er);var tr=class extends _0x45f66c{constructor(..._0x364703){const _0x531467=_0x4e28b3;super(..._0x364703),K(this,'_refresh$',new _0x168ca7()),K(this,_0x531467(0x3ee),this[_0x531467(0x151)][_0x531467(0x1a1)]());}['notify'](_0x10e3ff){const _0x3f9feb=_0x4e28b3;this[_0x3f9feb(0x151)][_0x3f9feb(0x390)](_0x10e3ff);}[_0x4e28b3(0x29d)](){const _0x23fbd3=_0x4e28b3;this[_0x23fbd3(0x151)][_0x23fbd3(0x2a4)](),super['dispose']();}};function nr(_0x47f2fa){const _0x3398ed=_0x4e28b3;return typeof _0x47f2fa==_0x3398ed(0x1dd)&&Number['isFinite'](_0x47f2fa)&&_0x47f2fa>0x0;}function rr(_0x1a6ef1,_0x473232,_0x33fed9){const _0x56353f=_0x4e28b3;var _0x181df9;let _0x13ccad=_0x1a6ef1[_0x473232],_0x1079d5=_0x130c96(_0x13ccad==null?void 0x0:_0x13ccad[_0x56353f(0x409)]);if(!_0x13ccad||!_0x1079d5)return null;let _0x371ba5=_0x387b00(_0x13ccad,_0x33fed9);if(!_0x371ba5)return null;let _0x2c04f2=(_0x181df9=_0x13ccad['transform'])==null?_0x13ccad['element']['transform']:_0x181df9;return _0x4637d2({..._0x1a6ef1,[_0x473232]:{..._0x13ccad,'transform':{..._0x2c04f2,'width':_0x371ba5[_0x56353f(0x1b5)],'height':_0x371ba5['height']},'element':{..._0x13ccad[_0x56353f(0x409)],'transform':{..._0x13ccad['element'][_0x56353f(0x2eb)],'width':_0x371ba5[_0x56353f(0x1b5)],'height':_0x371ba5[_0x56353f(0x323)]}}}},_0x1079d5[_0x56353f(0x3fe)]);}let ir=class extends _0x43afa6{constructor(_0x432781,_0x48e894,_0x440f9c,_0x5b1116,_0x3fa209){const _0x468202=_0x4e28b3;super(),this[_0x468202(0x1f3)]=_0x432781,this['_intrinsicSizeService']=_0x48e894,this['_boardElementService']=_0x440f9c,this[_0x468202(0x39d)]=_0x5b1116,this['_previewRefreshService']=_0x3fa209,K(this,_0x468202(0x3cf),null),K(this,_0x468202(0x256),{'match':_0x397108=>_0x397108[_0x468202(0x204)]===this[_0x468202(0x1f3)][_0x468202(0x204)]&&!!_0x130c96(_0x397108[_0x468202(0x409)]),'resolveHostSize':_0x56ee75=>this[_0x468202(0x294)](_0x56ee75),'previewHostSize':_0x5a391d=>this[_0x468202(0x174)](_0x5a391d),'updateHostSize':_0x2cc948=>this['_updateHostSize'](_0x2cc948)}),this['disposeWithMe'](this['_intrinsicSizeService'][_0x468202(0x229)](this['_provider'])),this[_0x468202(0x30d)](),this['disposeWithMe'](_0x288fdc(()=>this[_0x468202(0x3d0)]()));}['_updateHostSize'](_0x56496c){const _0x1ada38=_0x4e28b3;return this[_0x1ada38(0x174)](_0x56496c);}[_0x4e28b3(0x174)](_0x37dadd){const _0x6c77b6=_0x4e28b3;var _0x3271fa;let _0x52d682=this['_resolveHostSize'](_0x37dadd);if(!_0x52d682)return!0x1;let _0x1c8d5e=(_0x3271fa=_0x37dadd['elementData'][_0x6c77b6(0x2eb)])==null?_0x37dadd[_0x6c77b6(0x25a)][_0x6c77b6(0x409)][_0x6c77b6(0x2eb)]:_0x3271fa;return!this[_0x6c77b6(0x3cf)]&&_0x1c8d5e[_0x6c77b6(0x1b5)]===_0x52d682[_0x6c77b6(0x1b5)]&&_0x1c8d5e[_0x6c77b6(0x323)]===_0x52d682[_0x6c77b6(0x323)]||this['_syncLayoutPreview'](_0x37dadd,_0x52d682),!0x0;}[_0x4e28b3(0x294)](_0x5e3c06){const _0x1f7529=_0x4e28b3;return!nr(_0x5e3c06[_0x1f7529(0x1f5)]['width'])||!nr(_0x5e3c06[_0x1f7529(0x1f5)][_0x1f7529(0x323)])?null:_0x387b00(_0x5e3c06[_0x1f7529(0x25a)],{'width':_0x5e3c06[_0x1f7529(0x1f5)][_0x1f7529(0x1b5)],'height':_0x5e3c06[_0x1f7529(0x1f5)][_0x1f7529(0x323)]});}['_initEditingRestore'](){const _0x5c7853=_0x4e28b3;this[_0x5c7853(0x40b)](_0x288fdc(this[_0x5c7853(0x39d)][_0x5c7853(0x375)][_0x5c7853(0x34f)](_0x362352(this[_0x5c7853(0x2a2)]))[_0x5c7853(0x345)](_0x3ae765=>{const _0xc54e67=_0x5c7853;_0x3ae765||this[_0xc54e67(0x3d0)]();})));}[_0x4e28b3(0x2d0)](_0x12e58b,_0x77a0f7){const _0x2058f3=_0x4e28b3;var _0x7be07f;let _0x27bba3=this[_0x2058f3(0x234)]['getElementData'](_0x12e58b['params'][_0x2058f3(0x204)],_0x12e58b[_0x2058f3(0x1f5)][_0x2058f3(0x1e8)]),_0x111fce=rr(_0x27bba3,_0x12e58b[_0x2058f3(0x1f5)][_0x2058f3(0x26b)],_0x77a0f7),_0x5dd338=_0x130c96((_0x7be07f=_0x27bba3[_0x12e58b[_0x2058f3(0x1f5)][_0x2058f3(0x26b)]])==null?void 0x0:_0x7be07f[_0x2058f3(0x409)]);!_0x111fce||!_0x5dd338||(this[_0x2058f3(0x3cf)]={'unitId':_0x12e58b['params'][_0x2058f3(0x204)],'subUnitId':_0x12e58b[_0x2058f3(0x1f5)]['subUnitId'],'scopeId':_0x5dd338[_0x2058f3(0x3fe)]},this[_0x2058f3(0x276)](_0x111fce,_0x5dd338['structureScopeId'])&&this[_0x2058f3(0x307)][_0x2058f3(0x260)]({'unitId':_0x12e58b['params'][_0x2058f3(0x204)],'subUnitId':_0x12e58b['params'][_0x2058f3(0x1e8)],'nodeId':_0x12e58b[_0x2058f3(0x1f5)][_0x2058f3(0x26b)],'scopeId':_0x5dd338[_0x2058f3(0x3fe)]}));}[_0x4e28b3(0x3d0)](){const _0x3f417b=_0x4e28b3;let _0x5b90cb=this[_0x3f417b(0x3cf)];if(!_0x5b90cb)return;this[_0x3f417b(0x3cf)]=null;let _0x43d7fb=this['_boardElementService']['getElementData'](_0x5b90cb[_0x3f417b(0x204)],_0x5b90cb[_0x3f417b(0x1e8)]);this[_0x3f417b(0x276)](_0x43d7fb,_0x5b90cb[_0x3f417b(0x38b)])&&this[_0x3f417b(0x307)][_0x3f417b(0x260)]({'unitId':_0x5b90cb[_0x3f417b(0x204)],'subUnitId':_0x5b90cb[_0x3f417b(0x1e8)],'nodeId':_0x5b90cb[_0x3f417b(0x38b)],'scopeId':_0x5b90cb[_0x3f417b(0x38b)]});}[_0x4e28b3(0x276)](_0x577240,_0x77d3e7){const _0x14abed=_0x4e28b3;let _0x450d96=!0x1;if(Object[_0x14abed(0x326)](_0x577240)[_0x14abed(0x3c2)](_0x2d1607=>{const _0x133222=_0x14abed;var _0x52605f;let _0x2b9002=_0x130c96(_0x2d1607[_0x133222(0x409)]),_0x52cb7e=(_0x52605f=_0x2d1607['element'][_0x133222(0x3f3)])==null?void 0x0:_0x52605f['structured'];if(_0x2d1607[_0x133222(0x404)]!==_0x77d3e7&&(_0x2b9002==null?void 0x0:_0x2b9002[_0x133222(0x3fe)])!==_0x77d3e7&&(_0x52cb7e==null?void 0x0:_0x52cb7e[_0x133222(0x3fe)])!==_0x77d3e7)return;let _0x14beb8=this[_0x133222(0x210)](_0x2d1607[_0x133222(0x404)]);_0x14beb8&&(_0x450d96=_0x7e58a4(_0x14beb8,_0x2d1607,{'elementData':_0x577240,'unitId':this[_0x133222(0x1f3)]['unitId']})||_0x450d96);}),_0x450d96){var _0x1ec787,_0x555c8a;this[_0x14abed(0x1f3)][_0x14abed(0x171)][_0x14abed(0x29f)](!0x0),(_0x1ec787=(_0x555c8a=this['_renderContext'][_0x14abed(0x171)])['requestRender'])==null||_0x1ec787[_0x14abed(0x1e1)](_0x555c8a);}return _0x450d96;}[_0x4e28b3(0x210)](_0x59db74){const _0x75e842=_0x4e28b3;var _0x23a0f6,_0x30dcbd,_0x228ea4;let _0x5f36bc=_0x239fd6(this['_renderContext'][_0x75e842(0x204)],_0x59db74),_0x32f929=this['_renderContext'][_0x75e842(0x171)];return(_0x23a0f6=(_0x30dcbd=(_0x228ea4=_0x32f929[_0x75e842(0x24c)])==null?void 0x0:_0x228ea4[_0x75e842(0x1e1)](_0x32f929,_0x5f36bc))==null?this[_0x75e842(0x1f3)]['scene']['getObject'](_0x5f36bc):_0x30dcbd)==null?null:_0x23a0f6;}};ir=J([q(0x1,_0x19f927(_0x38e758)),q(0x2,_0x19f927(_0x5af7fa)),q(0x3,_0x19f927(_0x4aee4d)),q(0x4,_0x19f927(tr))],ir);const $={'radius':0x12,'addChildRadius':0xe,'siblingHoverRadius':0xa,'siblingDotRadius':0x5,'siblingDotGap':0x3,'gap':0xa,'collapsePlusMinDistance':0x2c,'primaryColor':Y['primaryColor'],'surfaceColor':Y[_0x4e28b3(0x3c4)],'borderWidth':0x2,'glyphSize':0x8,'addChildGlyphSize':0x6,'siblingGlyphSize':5.5,'glyphWidth':2.4,'glyphHoverWidth':0x3,'badgeFontWeight':0x258,'badgeFontSize':0x12,'fontFamily':Y[_0x4e28b3(0x31d)]};function ar(_0x36f253){const _0x32743b=_0x4e28b3;let _0x1f10a9=$['radius'],_0x178c08=$[_0x32743b(0x1f2)],_0x525d4c=$[_0x32743b(0x1d0)],_0xb99c1c=$[_0x32743b(0x298)],_0x5cdcbc=$[_0x32743b(0x1da)],_0x24ce45=_0x5cdcbc+$[_0x32743b(0x270)],_0x286ab7=$[_0x32743b(0x2fa)],_0x13328b=_0x36f253[_0x32743b(0x27c)]['top']+_0x36f253[_0x32743b(0x27c)][_0x32743b(0x323)]/0x2,_0x763e17=_0x36f253[_0x32743b(0x27c)]['left']+_0x36f253[_0x32743b(0x27c)][_0x32743b(0x1b5)]/0x2,_0xf48925=_0x36f253[_0x32743b(0x27c)][_0x32743b(0x33e)]-_0x1f10a9-_0xb99c1c,_0xa55eb2=_0x36f253[_0x32743b(0x27c)]['left']+_0x36f253[_0x32743b(0x27c)][_0x32743b(0x1b5)]+_0x1f10a9+_0xb99c1c,_0x199b52=_0x36f253['bounds'][_0x32743b(0x3a3)]-_0x1f10a9-_0xb99c1c,_0x511234=_0x36f253[_0x32743b(0x27c)][_0x32743b(0x3a3)]+_0x36f253[_0x32743b(0x27c)][_0x32743b(0x323)]+_0x1f10a9+_0xb99c1c,_0x58e2e1=_0x36f253[_0x32743b(0x27c)][_0x32743b(0x33e)]-_0x178c08-_0xb99c1c,_0x1122e9=_0x36f253[_0x32743b(0x27c)][_0x32743b(0x33e)]+_0x36f253[_0x32743b(0x27c)][_0x32743b(0x1b5)]+_0x178c08+_0xb99c1c,_0x59d73f=_0x36f253['bounds'][_0x32743b(0x3a3)]-_0x178c08-_0xb99c1c,_0x41b97f=_0x36f253['bounds'][_0x32743b(0x3a3)]+_0x36f253[_0x32743b(0x27c)]['height']+_0x178c08+_0xb99c1c,_0x2b1646=[],_0x197fc9=_0x36f253[_0x32743b(0x164)]==='top'||_0x36f253[_0x32743b(0x164)]===_0x32743b(0x3f0),_0xbdf053=_0x197fc9?_0x763e17:_0x36f253[_0x32743b(0x164)]===_0x32743b(0x33e)?_0xf48925:_0xa55eb2,_0x3460a9=_0x197fc9?_0x36f253['side']==='top'?_0x199b52:_0x511234:_0x13328b;if(_0x36f253[_0x32743b(0x161)]&&_0x36f253[_0x32743b(0x165)]>0x0)return _0x2b1646[_0x32743b(0x251)]({'kind':_0x32743b(0x1b3),'x':_0xbdf053,'y':_0x3460a9,'radius':_0x1f10a9,'badgeCount':_0x36f253['collapsedDescendantCount']}),_0x2b1646;if(_0x36f253[_0x32743b(0x37e)]){var _0x41607e;((_0x41607e=_0x36f253[_0x32743b(0x3df)])==null?_0x197fc9?['top',_0x32743b(0x3f0)]:[_0x32743b(0x33e),_0x32743b(0x244)]:_0x41607e)[_0x32743b(0x3c2)](_0x4736e3=>{const _0x13b58c=_0x32743b;_0x4736e3===_0x13b58c(0x3a3)?_0x2b1646['push']({'kind':_0x13b58c(0x286),'x':_0x763e17,'y':_0x59d73f,'radius':_0x178c08}):_0x4736e3===_0x13b58c(0x3f0)?_0x2b1646[_0x13b58c(0x251)]({'kind':'add-child-bottom','x':_0x763e17,'y':_0x41b97f,'radius':_0x178c08}):_0x4736e3===_0x13b58c(0x33e)?_0x2b1646['push']({'kind':_0x13b58c(0x159),'x':_0x58e2e1,'y':_0x13328b,'radius':_0x178c08}):_0x2b1646[_0x13b58c(0x251)]({'kind':_0x13b58c(0x340),'x':_0x1122e9,'y':_0x13328b,'radius':_0x178c08});});}else _0x2b1646[_0x32743b(0x251)]({'kind':_0x36f253[_0x32743b(0x164)]===_0x32743b(0x33e)?_0x32743b(0x159):_0x36f253[_0x32743b(0x164)]===_0x32743b(0x3a3)?_0x32743b(0x286):_0x36f253[_0x32743b(0x164)]===_0x32743b(0x3f0)?_0x32743b(0x275):'add-child-right','x':_0x197fc9?_0x763e17:_0x36f253['side']==='left'?_0x58e2e1:_0x1122e9,'y':_0x197fc9?_0x36f253[_0x32743b(0x164)]===_0x32743b(0x3a3)?_0x59d73f:_0x41b97f:_0x13328b,'radius':_0x178c08}),_0x197fc9?(_0x2b1646[_0x32743b(0x251)]({'kind':_0x32743b(0x388),'placement':_0x32743b(0x22e),'x':_0x36f253['bounds']['left']-_0x24ce45,'y':_0x13328b,'radius':_0x525d4c,'visualRadius':_0x5cdcbc}),_0x2b1646[_0x32743b(0x251)]({'kind':_0x32743b(0x330),'placement':_0x32743b(0x2f1),'x':_0x36f253['bounds'][_0x32743b(0x33e)]+_0x36f253[_0x32743b(0x27c)][_0x32743b(0x1b5)]+_0x24ce45,'y':_0x13328b,'radius':_0x525d4c,'visualRadius':_0x5cdcbc})):(_0x2b1646[_0x32743b(0x251)]({'kind':'add-sibling-before','placement':_0x32743b(0x22e),'x':_0x763e17,'y':_0x36f253[_0x32743b(0x27c)][_0x32743b(0x3a3)]-_0x24ce45,'radius':_0x525d4c,'visualRadius':_0x5cdcbc}),_0x2b1646['push']({'kind':'add-sibling-after','placement':'after','x':_0x763e17,'y':_0x36f253[_0x32743b(0x27c)][_0x32743b(0x3a3)]+_0x36f253[_0x32743b(0x27c)][_0x32743b(0x323)]+_0x24ce45,'radius':_0x525d4c,'visualRadius':_0x5cdcbc}));if(_0x36f253['hasChildren']){let _0x3bd552={'kind':_0x32743b(0x1b3),'x':_0xbdf053,'y':_0x3460a9,'radius':_0x1f10a9};_0x2b1646[_0x32743b(0x251)](_0x3bd552);let _0x1a2328=_0x2b1646[_0x32743b(0x203)](_0x419cdb=>_0x419cdb[_0x32743b(0x15e)]===(_0x36f253[_0x32743b(0x164)]===_0x32743b(0x33e)?_0x32743b(0x159):_0x36f253[_0x32743b(0x164)]===_0x32743b(0x3a3)?_0x32743b(0x286):_0x36f253[_0x32743b(0x164)]===_0x32743b(0x3f0)?_0x32743b(0x275):_0x32743b(0x340)));_0x1a2328&&Math[_0x32743b(0x14f)](_0x1a2328['x']-_0x3bd552['x'],_0x1a2328['y']-_0x3bd552['y'])<_0x286ab7&&(_0x36f253['side']===_0x32743b(0x3a3)||_0x36f253[_0x32743b(0x164)]===_0x32743b(0x3f0)?_0x1a2328['y']=_0x3bd552['y']+(_0x36f253['side']==='top'?-_0x286ab7:_0x286ab7):_0x1a2328['x']=_0x3bd552['x']+(_0x36f253[_0x32743b(0x164)]==='left'?-_0x286ab7:_0x286ab7));}return _0x2b1646;}const or=_0x4e28b3(0x188),sr=_0x394cf0['connectorAffordance'];function cr(_0x539f04,_0x4b44fc){const _0x49a80d=_0x4e28b3;return!!_0x539f04&&_0x539f04[_0x49a80d(0x15e)]===_0x4b44fc[_0x49a80d(0x15e)]&&_0x539f04['x']===_0x4b44fc['x']&&_0x539f04['y']===_0x4b44fc['y'];}var lr=class extends _0x344c5d{constructor(_0x50ca9d=or,_0x2b00e6){const _0x3b106c=_0x4e28b3;super(_0x50ca9d),K(this,'_state',{'controls':[]}),this['evented']=!0x0,this[_0x3b106c(0x2e1)]=_0x5d51da[_0x3b106c(0x34b)],this[_0x3b106c(0x3e7)](_0x2b00e6);}[_0x4e28b3(0x3e7)](_0x1b91c4){const _0x12da9a=_0x4e28b3;this[_0x12da9a(0x179)]={...this['_state'],..._0x1b91c4},this['_state'][_0x12da9a(0x3e4)]['length']>0x0?this[_0x12da9a(0x2ec)]():this['hide'](),this['makeDirty'](!0x0);}[_0x4e28b3(0x3b8)](_0x4f25b0){const _0x3bf325=_0x4e28b3;!_0x4f25b0&&!this[_0x3bf325(0x179)][_0x3bf325(0x3ea)]||_0x4f25b0&&cr(this[_0x3bf325(0x179)][_0x3bf325(0x3ea)],_0x4f25b0)||(this['_state']={...this[_0x3bf325(0x179)],'hoveredControl':_0x4f25b0},this[_0x3bf325(0x29f)](!0x0));}[_0x4e28b3(0x309)](_0x31a66c){const _0x5aef5e=_0x4e28b3;for(let _0x46949e=this['_state']['controls'][_0x5aef5e(0x282)]-0x1;_0x46949e>=0x0;--_0x46949e){let _0x12335b=this[_0x5aef5e(0x179)][_0x5aef5e(0x3e4)][_0x46949e];if(Math[_0x5aef5e(0x14f)](_0x31a66c['x']-_0x12335b['x'],_0x31a66c['y']-_0x12335b['y'])<=_0x12335b[_0x5aef5e(0x417)])return _0x12335b;}return null;}[_0x4e28b3(0x187)](_0x22bbfd){const _0x100746=_0x4e28b3;return!!this[_0x100746(0x309)]({'x':_0x22bbfd['x'],'y':_0x22bbfd['y']});}[_0x4e28b3(0x1a3)](_0x495ccb,_0x24e79a){const _0x400437=_0x4e28b3;return!this['visible']||this[_0x400437(0x179)][_0x400437(0x3e4)][_0x400437(0x282)]===0x0?(this[_0x400437(0x29f)](!0x1),this):(_0x495ccb['save'](),this['_state'][_0x400437(0x3e4)][_0x400437(0x3c2)](_0x555b16=>{const _0x2a03c4=_0x400437;var _0x1be75d;let _0x1973a7=cr(this[_0x2a03c4(0x179)]['hoveredControl'],_0x555b16),_0x31a66f=_0x555b16['badgeCount']!==void 0x0,_0xc9d6b3=_0x555b16[_0x2a03c4(0x15e)]===_0x2a03c4(0x159)||_0x555b16[_0x2a03c4(0x15e)]===_0x2a03c4(0x340)||_0x555b16['kind']==='add-child-top'||_0x555b16[_0x2a03c4(0x15e)]==='add-child-bottom',_0x11409b=_0x555b16[_0x2a03c4(0x15e)]==='add-sibling-before'||_0x555b16[_0x2a03c4(0x15e)]==='add-sibling-after',_0x4cc0d5=_0x11409b&&!_0x1973a7?(_0x1be75d=_0x555b16[_0x2a03c4(0x3c6)])==null?_0x555b16[_0x2a03c4(0x417)]:_0x1be75d:_0x555b16[_0x2a03c4(0x417)];if(_0x495ccb['beginPath'](),_0x495ccb['fillStyle']=_0x555b16[_0x2a03c4(0x15e)]===_0x2a03c4(0x1b3)?$[_0x2a03c4(0x3c4)]:$[_0x2a03c4(0x265)],_0x495ccb[_0x2a03c4(0x386)]=$[_0x2a03c4(0x265)],_0x495ccb[_0x2a03c4(0x408)]=$[_0x2a03c4(0x1a2)],_0x495ccb[_0x2a03c4(0x241)](_0x555b16['x'],_0x555b16['y'],_0x4cc0d5,0x0,Math['PI']*0x2),_0x495ccb[_0x2a03c4(0x29e)](),(!_0x11409b||_0x1973a7)&&_0x495ccb[_0x2a03c4(0x18d)](),!_0x31a66f&&(!_0x11409b||_0x1973a7)){if(_0x495ccb[_0x2a03c4(0x3c5)](),_0x495ccb['strokeStyle']=_0x555b16[_0x2a03c4(0x15e)]===_0x2a03c4(0x1b3)?$[_0x2a03c4(0x265)]:$[_0x2a03c4(0x3c4)],_0x495ccb[_0x2a03c4(0x408)]=_0x11409b?$[_0x2a03c4(0x35a)]:_0x1973a7?$[_0x2a03c4(0x1bd)]:$[_0x2a03c4(0x35a)],_0x495ccb[_0x2a03c4(0x208)]='round',_0x555b16[_0x2a03c4(0x15e)]===_0x2a03c4(0x1b3)){let _0x3e0781=$[_0x2a03c4(0x238)];_0x495ccb['moveTo'](_0x555b16['x']+_0x3e0781/0x2,_0x555b16['y']-_0x3e0781),_0x495ccb[_0x2a03c4(0x2f7)](_0x555b16['x']-_0x3e0781/0x2,_0x555b16['y']),_0x495ccb['lineTo'](_0x555b16['x']+_0x3e0781/0x2,_0x555b16['y']+_0x3e0781);}else{let _0x289112=_0x11409b?$[_0x2a03c4(0x2ee)]:_0xc9d6b3?$[_0x2a03c4(0x319)]:$[_0x2a03c4(0x238)];_0x495ccb[_0x2a03c4(0x328)](_0x555b16['x']-_0x289112,_0x555b16['y']),_0x495ccb[_0x2a03c4(0x2f7)](_0x555b16['x']+_0x289112,_0x555b16['y']),_0x495ccb[_0x2a03c4(0x328)](_0x555b16['x'],_0x555b16['y']-_0x289112),_0x495ccb[_0x2a03c4(0x2f7)](_0x555b16['x'],_0x555b16['y']+_0x289112);}_0x495ccb['stroke']();}_0x31a66f&&(_0x495ccb[_0x2a03c4(0x33c)]=$[_0x2a03c4(0x265)],_0x495ccb[_0x2a03c4(0x32f)]=$[_0x2a03c4(0x24a)]+'\x20'+$[_0x2a03c4(0x2ab)]+_0x2a03c4(0x17c)+$[_0x2a03c4(0x31d)],_0x495ccb[_0x2a03c4(0x2d4)]=_0x2a03c4(0x2cc),_0x495ccb[_0x2a03c4(0x21e)]='middle',_0x495ccb['fillText'](String(_0x555b16[_0x2a03c4(0x26e)]),_0x555b16['x'],_0x555b16['y']));}),_0x495ccb[_0x400437(0x3e0)](),this['makeDirty'](!0x1),this);}};function ur(_0x10ecc1){const _0x596e5b=_0x4e28b3;return _0x10ecc1==='tree-left'||_0x10ecc1==='tree-right'||_0x10ecc1===_0x596e5b(0x400);}function _0x4c93(_0x12f608,_0x5443bc){_0x12f608=_0x12f608-0x14c;const _0x5a5c05=_0x5a5c();let _0x4c93ec=_0x5a5c05[_0x12f608];return _0x4c93ec;}function dr(_0x2ecab7){const _0x5888b5=_0x4e28b3;return _0x2ecab7===_0x5888b5(0x28b)||_0x2ecab7==='timeline-vertical';}function fr(_0x2a9929,_0x470d51){const _0x255843=_0x4e28b3;let _0x1138d7=Number['isFinite'](_0x470d51['zoomRatio'])&&_0x470d51[_0x255843(0x1be)]>0x0?_0x470d51[_0x255843(0x1be)]:0x1;return{'x':Math[_0x255843(0x414)]((_0x2a9929['offsetX']-_0x470d51[_0x255843(0x206)]['x'])/_0x1138d7),'y':Math['round']((_0x2a9929[_0x255843(0x1b0)]-_0x470d51['panOffset']['y'])/_0x1138d7)};}let pr=class extends _0x43afa6{constructor(_0x524477,_0x2f1dac,_0x23fe87,_0x232188,_0x4e22e6,_0x1f633f,_0x5f0b24){const _0x32336b=_0x4e28b3;super(),this[_0x32336b(0x1f3)]=_0x524477,this[_0x32336b(0x234)]=_0x2f1dac,this[_0x32336b(0x1e3)]=_0x23fe87,this['_stateService']=_0x232188,this[_0x32336b(0x19a)]=_0x4e22e6,this[_0x32336b(0x201)]=_0x1f633f,this[_0x32336b(0x307)]=_0x5f0b24,K(this,'_object',null),K(this,_0x32336b(0x1fa),null),K(this,_0x32336b(0x3fb),null),K(this,_0x32336b(0x331),null),this['_init']();}[_0x4e28b3(0x169)](){const _0x534666=_0x4e28b3;var _0x39e295,_0x321e47,_0x142bc6,_0x48bb55,_0x58ec28;let {scene:_0xc983a9}=this[_0x534666(0x1f3)],_0x4bbd5d=(_0x39e295=_0xc983a9[_0x534666(0x170)])==null?void 0x0:_0x39e295[_0x534666(0x1e1)](_0xc983a9);_0x4bbd5d&&(this[_0x534666(0x40b)](_0x288fdc(_0x4bbd5d[_0x534666(0x2b5)]['pipe'](_0x362352(this['dispose$']))[_0x534666(0x345)](({objects:_0x4fb981})=>{const _0x56e0bb=_0x534666;this[_0x56e0bb(0x2cd)](_0x4fb981,{'hideRootControls':!0x0});}))),this['disposeWithMe'](_0x288fdc(_0x4bbd5d['changeEnd$'][_0x534666(0x34f)](_0x362352(this[_0x534666(0x2a2)]))[_0x534666(0x345)](_0x34bb03=>{const _0x2e85f3=_0x534666;let _0x5a8285=_0x34bb03==null?void 0x0:_0x34bb03[_0x2e85f3(0x1ab)];this['_syncControls'](_0x5a8285),setTimeout(()=>this[_0x2e85f3(0x2cd)](_0x5a8285),0x0);})))),this[_0x534666(0x40b)](_0x288fdc(this[_0x534666(0x1e3)][_0x534666(0x27f)][_0x534666(0x34f)](_0x362352(this[_0x534666(0x2a2)]))[_0x534666(0x345)](()=>this[_0x534666(0x2cd)]()))),this[_0x534666(0x40b)](_0x288fdc(this[_0x534666(0x32a)][_0x534666(0x27f)][_0x534666(0x34f)](_0x362352(this[_0x534666(0x2a2)]))[_0x534666(0x345)](()=>this['_syncControls']()))),this['disposeWithMe'](_0x288fdc(this['_previewRefreshService']['refresh$']['pipe'](_0x362352(this[_0x534666(0x2a2)]))[_0x534666(0x345)](_0x2e1886=>{const _0x10399c=_0x534666;let _0x560042=this[_0x10399c(0x1e3)][_0x10399c(0x2af)]()['context'];!_0x560042||_0x560042[_0x10399c(0x204)]!==_0x2e1886[_0x10399c(0x204)]||_0x560042[_0x10399c(0x1e8)]!==_0x2e1886[_0x10399c(0x1e8)]||this[_0x10399c(0x331)]&&this['_activeScopeId']!==_0x2e1886['scopeId']||this[_0x10399c(0x2cd)]();}))),this[_0x534666(0x40b)](_0x288fdc(_0xc983a9[_0x534666(0x1a4)][_0x534666(0x36e)](_0x4f8f24=>this['_handlePointerMove'](_0x4f8f24)))),this[_0x534666(0x40b)](_0x288fdc(_0xc983a9[_0x534666(0x33d)][_0x534666(0x36e)]({'priority':0x4,'next':([_0x365c70,_0xe127e1])=>{const _0x235387=_0x534666;this[_0x235387(0x1c1)](_0x365c70)&&this['_consumeControlEvent'](_0x365c70,_0xe127e1);}}))),this[_0x534666(0x40b)](_0x288fdc((_0x321e47=(_0x142bc6=_0xc983a9['onPointerUp$'])==null?void 0x0:_0x142bc6['subscribeEvent']({'priority':0x4,'next':([_0x49f472,_0x9a45a6])=>{const _0x10a7e8=_0x534666;this[_0x10a7e8(0x3d9)](_0x49f472)&&this[_0x10a7e8(0x3d8)](_0x49f472,_0x9a45a6);}}))==null?{'dispose':()=>{}}:_0x321e47)),this['disposeWithMe'](_0x288fdc((_0x48bb55=(_0x58ec28=_0xc983a9[_0x534666(0x3bd)])==null?void 0x0:_0x58ec28[_0x534666(0x36e)]({'priority':0x4,'next':([_0x275eee,_0x220a1e])=>{const _0x4a6b9d=_0x534666;this[_0x4a6b9d(0x3d9)](_0x275eee)&&this['_consumeControlEvent'](_0x275eee,_0x220a1e);}}))==null?{'dispose':()=>{}}:_0x48bb55)),this['disposeWithMe'](_0x288fdc(()=>this[_0x534666(0x3e3)]())),this['_syncControls']();}[_0x4e28b3(0x22c)](){const _0x1134b6=_0x4e28b3;return this[_0x1134b6(0x207)]?this[_0x1134b6(0x207)]:(this[_0x1134b6(0x207)]=new lr(or),this[_0x1134b6(0x30a)](this[_0x1134b6(0x207)]),this[_0x1134b6(0x1f3)]['scene'][_0x1134b6(0x153)](this['_object'],sr),this['_object']);}['_attachObjectEvents'](_0x1482fd){const _0x533467=_0x4e28b3;var _0xbb4383;(_0xbb4383=this[_0x533467(0x1fa)])==null||_0xbb4383[_0x533467(0x29d)]();let _0x37bf5e=new _0x4ee20c();_0x37bf5e['add'](_0x1482fd[_0x533467(0x33d)][_0x533467(0x36e)]({'priority':0x4,'next':([_0x39fabc,_0x4c39a6])=>{const _0x26fa82=_0x533467;this['_handlePointerDown'](_0x39fabc)&&this[_0x26fa82(0x3d8)](_0x39fabc,_0x4c39a6);}})),_0x37bf5e[_0x533467(0x398)](_0x1482fd[_0x533467(0x194)][_0x533467(0x36e)]({'priority':0x4,'next':([_0x269745,_0xc718f3])=>{const _0x57a75d=_0x533467;this[_0x57a75d(0x3d9)](_0x269745)&&this[_0x57a75d(0x3d8)](_0x269745,_0xc718f3);}})),_0x37bf5e[_0x533467(0x398)](_0x1482fd[_0x533467(0x3bd)][_0x533467(0x36e)]({'priority':0x4,'next':([_0x35e888,_0x56f5b2])=>{const _0x3bc076=_0x533467;this[_0x3bc076(0x3d9)](_0x35e888)&&this['_consumeControlEvent'](_0x35e888,_0x56f5b2);}})),this[_0x533467(0x1fa)]=_0x37bf5e;}[_0x4e28b3(0x3e3)](){const _0x58820d=_0x4e28b3;var _0x112a44;this['_object']&&(this[_0x58820d(0x1f3)][_0x58820d(0x171)]['removeObjects']([this[_0x58820d(0x207)]]),(_0x112a44=this[_0x58820d(0x1fa)])==null||_0x112a44['dispose'](),this[_0x58820d(0x1fa)]=null,this[_0x58820d(0x207)]=null,this[_0x58820d(0x3fb)]=null,this[_0x58820d(0x331)]=null,this['_renderContext'][_0x58820d(0x171)][_0x58820d(0x29f)](!0x0));}[_0x4e28b3(0x2cd)](_0x34cf15,_0x416518){const _0x3578c6=_0x4e28b3;var _0x2c1627,_0x2bfb55,_0x1d3798,_0x494bb9;let _0xc5adc8=this[_0x3578c6(0x1e3)]['getSnapshot'](),_0x34c66b=_0xc5adc8[_0x3578c6(0x1ed)],_0x5b85b5=(_0x2c1627=_0xc5adc8[_0x3578c6(0x26f)])==null?_0xc5adc8[_0x3578c6(0x315)][0x0]:_0x2c1627;if(!_0x34c66b||!_0x5b85b5||_0xc5adc8[_0x3578c6(0x315)][_0x3578c6(0x282)]!==0x1){this[_0x3578c6(0x3e3)]();return;}let _0x55ac70=this[_0x3578c6(0x234)]['getElementData'](_0x34c66b[_0x3578c6(0x204)],_0x34c66b['subUnitId']),_0x36ed52=_0x55ac70[_0x5b85b5],_0x552cd4=_0x130c96(_0x36ed52==null?void 0x0:_0x36ed52['element']);if(!_0x36ed52||!_0x552cd4){this[_0x3578c6(0x3e3)]();return;}let _0x419ba2=_0x239fd6(_0x34c66b[_0x3578c6(0x204)],_0x5b85b5);if(_0x416518!=null&&_0x416518[_0x3578c6(0x2cb)]&&_0x552cd4[_0x3578c6(0x197)]==null&&_0x34cf15!=null&&_0x34cf15[_0x3578c6(0x40f)](_0x419ba2)){this[_0x3578c6(0x3e3)]();return;}let _0x3c509f=this['_resolveControlBounds'](_0x55ac70,_0x34c66b[_0x3578c6(0x204)],_0x5b85b5,_0x34cf15);if(!_0x3c509f){this[_0x3578c6(0x3e3)]();return;}let _0x17fa2b=Object[_0x3578c6(0x326)](_0x55ac70)[_0x3578c6(0x20e)](_0x4a02a9=>{const _0x36530a=_0x3578c6;var _0x26381d;return((_0x26381d=_0x130c96(_0x4a02a9[_0x36530a(0x409)]))==null?void 0x0:_0x26381d[_0x36530a(0x197)])===_0x5b85b5;}),_0x3bf892=_0x552cd4['collapsed']?this[_0x3578c6(0x3ef)](_0x55ac70,_0x5b85b5):0x0;this[_0x3578c6(0x3fb)]=_0x5b85b5,this[_0x3578c6(0x331)]=_0x552cd4['structureScopeId'];let _0xe44eb0=(_0x2bfb55=_0x55ac70[_0x552cd4[_0x3578c6(0x3fe)]])==null?void 0x0:_0x2bfb55[_0x3578c6(0x409)],_0x3cbb80=_0x30a9b0(_0xe44eb0),_0x3ef0e2=_0xe44eb0==null||(_0x1d3798=_0xe44eb0[_0x3578c6(0x3f3)])==null||(_0x1d3798=_0x1d3798[_0x3578c6(0x248)])==null||(_0x1d3798=_0x1d3798['layout'])==null?void 0x0:_0x1d3798[_0x3578c6(0x2c7)],_0x300a79=(_0x494bb9=_0x3cbb80==null?void 0x0:_0x3cbb80[_0x3578c6(0x20c)][_0x3578c6(0x2c7)])==null?_0x3ef0e2:_0x494bb9,_0x34cd19=_0x552cd4['parentNodeId']==null,_0x193480=this[_0x3578c6(0x2c2)](_0x552cd4[_0x3578c6(0x164)],_0x34cd19,_0x300a79);this[_0x3578c6(0x22c)]()['updateState']({'controls':ar({'bounds':_0x3c509f,'isRoot':_0x34cd19,'side':_0x193480,'rootChildSides':this['_resolveRootChildControlSides'](_0x34cd19,_0x300a79),'hasChildren':_0x17fa2b[_0x3578c6(0x282)]>0x0,'collapsedDescendantCount':_0x3bf892})}),this[_0x3578c6(0x1f3)][_0x3578c6(0x171)][_0x3578c6(0x29f)](!0x0);}[_0x4e28b3(0x2c2)](_0x363a3d,_0x550324,_0x45398b){const _0x915b9e=_0x4e28b3;return _0x45398b===_0x915b9e(0x3a4)?!_0x550324&&(_0x363a3d==='left'||_0x363a3d===_0x915b9e(0x244))?_0x363a3d:_0x915b9e(0x3f0):_0x45398b===_0x915b9e(0x351)?!_0x550324&&(_0x363a3d===_0x915b9e(0x3a3)||_0x363a3d===_0x915b9e(0x3f0))?_0x363a3d:'bottom':_0x363a3d===_0x915b9e(0x33e)?_0x915b9e(0x33e):_0x915b9e(0x244);}[_0x4e28b3(0x1f8)](_0x2fb84a,_0x4d2bdc){const _0x269e70=_0x4e28b3;if(_0x2fb84a){if(ur(_0x4d2bdc))return[_0x269e70(0x3f0)];if(_0x4d2bdc===_0x269e70(0x28b))return['right'];if(_0x4d2bdc===_0x269e70(0x3a4))return[_0x269e70(0x3f0)];}}[_0x4e28b3(0x21b)](_0xbac86){const _0x4f081c=_0x4e28b3;var _0x1d1d2c,_0x456547;let _0x3567dc=this[_0x4f081c(0x1e3)]['getSnapshot']()[_0x4f081c(0x1ed)];if(!_0x3567dc||!this[_0x4f081c(0x3fb)])return;let _0x1ba2e2=this[_0x4f081c(0x234)][_0x4f081c(0x36f)](_0x3567dc['unitId'],_0x3567dc['subUnitId']),_0x8a8d2=_0x130c96((_0x1d1d2c=_0x1ba2e2[this[_0x4f081c(0x3fb)]])==null?void 0x0:_0x1d1d2c[_0x4f081c(0x409)]),_0x1c538b=_0x8a8d2?_0x30a9b0((_0x456547=_0x1ba2e2[_0x8a8d2['structureScopeId']])==null?void 0x0:_0x456547[_0x4f081c(0x409)]):null;if(!((_0x8a8d2==null?void 0x0:_0x8a8d2[_0x4f081c(0x197)])==null&&(ur(_0x1c538b==null?void 0x0:_0x1c538b[_0x4f081c(0x20c)]['structureKind'])||dr(_0x1c538b==null?void 0x0:_0x1c538b[_0x4f081c(0x20c)]['structureKind']))))return _0xbac86===_0x4f081c(0x159)?_0x4f081c(0x33e):_0xbac86===_0x4f081c(0x286)?'top':_0xbac86===_0x4f081c(0x275)?_0x4f081c(0x3f0):_0x4f081c(0x244);}[_0x4e28b3(0x28a)](_0x25bc99,_0x225f8e,_0xe609c6,_0xce1de9){const _0x483b8f=_0x4e28b3;var _0x35f627,_0x3a16e0,_0x106ad5;let _0x5d304c=_0x239fd6(_0x225f8e,_0xe609c6),_0x21ff0c=_0xce1de9==null?void 0x0:_0xce1de9[_0x483b8f(0x349)](_0x5d304c),_0x333d86=this[_0x483b8f(0x3c8)](_0x21ff0c);if(_0x333d86)return _0x333d86;let _0x48dc6b=this[_0x483b8f(0x1f3)]['scene'],_0x2e7c89=(_0x35f627=(_0x3a16e0=_0x48dc6b['getObjectIncludeInGroup'])==null?void 0x0:_0x3a16e0[_0x483b8f(0x1e1)](_0x48dc6b,_0x5d304c))==null?(_0x106ad5=_0x48dc6b[_0x483b8f(0x3fc)])==null?void 0x0:_0x106ad5[_0x483b8f(0x1e1)](_0x48dc6b,_0x5d304c):_0x35f627;return this[_0x483b8f(0x3c8)](_0x2e7c89)||_0x8188de(_0x25bc99,_0xe609c6);}[_0x4e28b3(0x3c8)](_0x487934){const _0x3cb7f8=_0x4e28b3;return _0x487934&&Number['isFinite'](_0x487934['left'])&&Number['isFinite'](_0x487934['top'])&&Number['isFinite'](_0x487934[_0x3cb7f8(0x1b5)])&&Number[_0x3cb7f8(0x2de)](_0x487934[_0x3cb7f8(0x323)])?{'left':_0x487934[_0x3cb7f8(0x33e)],'top':_0x487934[_0x3cb7f8(0x3a3)],'width':_0x487934[_0x3cb7f8(0x1b5)],'height':_0x487934[_0x3cb7f8(0x323)]}:null;}['_countDescendants'](_0x1eec6e,_0x169a04){const _0x31f57c=_0x4e28b3;return Object[_0x31f57c(0x326)](_0x1eec6e)[_0x31f57c(0x20e)](_0xa1f038=>{const _0x119b60=_0x31f57c;var _0x36617d;return((_0x36617d=_0x130c96(_0xa1f038['element']))==null?void 0x0:_0x36617d[_0x119b60(0x197)])===_0x169a04;})[_0x31f57c(0x3f6)]((_0x3ea32e,_0x14b14e)=>_0x3ea32e+0x1+this[_0x31f57c(0x3ef)](_0x1eec6e,_0x14b14e[_0x31f57c(0x404)]),0x0);}[_0x4e28b3(0x3a9)](_0x1ea00f){const _0x491493=_0x4e28b3;if(!this[_0x491493(0x207)])return;let _0x36c7be=this[_0x491493(0x32a)][_0x491493(0x15a)](),_0x2f4732=fr(_0x1ea00f,{'panOffset':_0x36c7be['viewportPanOffset'],'zoomRatio':_0x36c7be[_0x491493(0x1be)]});this['_object'][_0x491493(0x3b8)](this['_object'][_0x491493(0x309)](_0x2f4732));}[_0x4e28b3(0x1c1)](_0x3cada4){const _0x389e0f=_0x4e28b3;var _0x1a64d9;if(!this['_object']||!this[_0x389e0f(0x3fb)]||((_0x1a64d9=_0x3cada4[_0x389e0f(0x3c7)])==null?0x0:_0x1a64d9)!==0x0)return!0x1;let _0xeff6c0=this[_0x389e0f(0x1e3)][_0x389e0f(0x2af)]()[_0x389e0f(0x1ed)];if(!_0xeff6c0)return!0x1;let _0x59fcdb=this[_0x389e0f(0x32a)][_0x389e0f(0x15a)](),_0x3a57d9=fr(_0x3cada4,{'panOffset':_0x59fcdb[_0x389e0f(0x2c8)],'zoomRatio':_0x59fcdb[_0x389e0f(0x1be)]}),_0x347615=this[_0x389e0f(0x207)][_0x389e0f(0x309)](_0x3a57d9);if(!_0x347615)return!0x1;if(_0x347615[_0x389e0f(0x15e)]===_0x389e0f(0x1b3))return this[_0x389e0f(0x310)](_0xdc2fc2['id'],{'unitId':_0xeff6c0[_0x389e0f(0x204)],'subUnitId':_0xeff6c0['subUnitId'],'nodeId':this['_activeNodeId']}),!0x0;if(_0x347615[_0x389e0f(0x15e)]===_0x389e0f(0x159)||_0x347615[_0x389e0f(0x15e)]==='add-child-right'||_0x347615[_0x389e0f(0x15e)]===_0x389e0f(0x286)||_0x347615[_0x389e0f(0x15e)]===_0x389e0f(0x275)){let _0x1f9c91=_0x257cfe(0x6);return this[_0x389e0f(0x285)](_0x1c61db['id'],{'unitId':_0xeff6c0['unitId'],'subUnitId':_0xeff6c0[_0x389e0f(0x1e8)],'parentNodeId':this[_0x389e0f(0x3fb)],'side':this[_0x389e0f(0x21b)](_0x347615['kind']),'nodeId':_0x1f9c91,'connectorId':_0x257cfe(0x6)},_0x1f9c91),!0x0;}if(_0x347615[_0x389e0f(0x15e)]==='add-sibling-before'||_0x347615[_0x389e0f(0x15e)]===_0x389e0f(0x330)){var _0x1e6717;let _0x2b4a3e=_0x257cfe(0x6);return this[_0x389e0f(0x285)](_0x4427c3['id'],{'unitId':_0xeff6c0[_0x389e0f(0x204)],'subUnitId':_0xeff6c0['subUnitId'],'nodeId':this[_0x389e0f(0x3fb)],'placement':(_0x1e6717=_0x347615[_0x389e0f(0x385)])==null?_0x347615[_0x389e0f(0x15e)]==='add-sibling-before'?_0x389e0f(0x22e):_0x389e0f(0x2f1):_0x1e6717,'siblingNodeId':_0x2b4a3e,'connectorId':_0x257cfe(0x6)},_0x2b4a3e),!0x0;}return!0x0;}[_0x4e28b3(0x3d9)](_0x1432f3){const _0x215a44=_0x4e28b3;var _0x127c6a;if(!this[_0x215a44(0x207)]||((_0x127c6a=_0x1432f3['button'])==null?0x0:_0x127c6a)!==0x0)return!0x1;let _0x3e1b80=this[_0x215a44(0x32a)][_0x215a44(0x15a)](),_0x14e4a5=fr(_0x1432f3,{'panOffset':_0x3e1b80['viewportPanOffset'],'zoomRatio':_0x3e1b80[_0x215a44(0x1be)]});return!!this[_0x215a44(0x207)][_0x215a44(0x309)](_0x14e4a5);}[_0x4e28b3(0x3d8)](_0x189408,_0x5c4928){const _0x4f1dae=_0x4e28b3;var _0x281a44,_0x203a68;_0x5c4928[_0x4f1dae(0x372)](),(_0x281a44=_0x189408['preventDefault'])==null||_0x281a44[_0x4f1dae(0x1e1)](_0x189408),(_0x203a68=_0x189408['stopPropagation'])==null||_0x203a68[_0x4f1dae(0x1e1)](_0x189408);}['_executeAndLayout'](_0x32eed0,_0x2c94ab){const _0x22f26e=_0x4e28b3;let _0x503aa2=this[_0x22f26e(0x331)],_0x3b910d=this['_commandService'][_0x22f26e(0x3d6)](_0x32eed0,_0x2c94ab);Promise[_0x22f26e(0x1c8)](_0x3b910d)[_0x22f26e(0x378)](_0x4d699f=>{const _0x3b0dd3=_0x22f26e;!_0x4d699f||!_0x503aa2||(this[_0x3b0dd3(0x2cd)](),Promise[_0x3b0dd3(0x1c8)](this['_commandService']['executeCommand'](_0x3a4dc0['id'],{'unitId':_0x2c94ab[_0x3b0dd3(0x204)],'subUnitId':_0x2c94ab['subUnitId'],'scopeId':_0x503aa2}))[_0x3b0dd3(0x378)](()=>this[_0x3b0dd3(0x2cd)]()));});}[_0x4e28b3(0x285)](_0x5dda05,_0x56816,_0x32036d){const _0x608efc=_0x4e28b3;let _0x46742f={'unitId':_0x56816[_0x608efc(0x204)],'subUnitId':_0x56816[_0x608efc(0x1e8)]},_0x140cec=this['_commandService'][_0x608efc(0x3d6)](_0x5dda05,_0x56816);Promise[_0x608efc(0x1c8)](_0x140cec)[_0x608efc(0x378)](_0x4ec7d6=>{const _0x310f50=_0x608efc;_0x4ec7d6&&(this['_syncControls'](),this[_0x310f50(0x1e3)][_0x310f50(0x15b)](_0x46742f,[_0x32036d],_0x32036d),this[_0x310f50(0x201)][_0x310f50(0x284)](),this[_0x310f50(0x201)][_0x310f50(0x2b3)]({..._0x46742f,'shapeId':_0x32036d,'shapeKey':_0x239fd6(_0x46742f['unitId'],_0x32036d),'visible':!0x0}));});}};pr=J([q(0x1,_0x19f927(_0x5af7fa)),q(0x2,_0x19f927(_0x4ad25d)),q(0x3,_0x19f927(_0x4b72d1)),q(0x4,_0x4c9d00),q(0x5,_0x19f927(_0x4aee4d)),q(0x6,_0x19f927(tr))],pr);const mr='FOCUSING_MIND_MAP_TEXT_EDITOR';let hr=class extends _0x43afa6{constructor(_0x469d6,_0x4aac37,_0x5563c5,_0xbc082c,_0xb37777){const _0x1cd08e=_0x4e28b3;super(),this[_0x1cd08e(0x234)]=_0x469d6,this['_elementStateService']=_0x4aac37,this[_0x1cd08e(0x184)]=_0x5563c5,this['_commandService']=_0xbc082c,this[_0x1cd08e(0x3f2)]=_0xb37777,this[_0x1cd08e(0x169)]();}[_0x4e28b3(0x169)](){const _0x59ed78=_0x4e28b3;this['disposeWithMe'](this['_shortcutService'][_0x59ed78(0x3de)](this[_0x59ed78(0x2c0)]())),this['disposeWithMe'](_0x288fdc(this[_0x59ed78(0x1e3)]['state$']['pipe'](_0x362352(this[_0x59ed78(0x2a2)]))[_0x59ed78(0x345)](()=>{this['_syncMindMapTextEditorContext']();}))),this[_0x59ed78(0x40b)](_0x288fdc(()=>{const _0x156f44=_0x59ed78;this[_0x156f44(0x184)][_0x156f44(0x20a)](mr,!0x1);})),this[_0x59ed78(0x183)]();}['_createQuoteShortcut'](){const _0x59a2f5=_0x4e28b3;return{'id':_0x381e8c,'binding':_0x5e6623['ENTER']|_0x67ae32[_0x59a2f5(0x177)],'priority':0x3e8,'preconditions':_0x458f0d=>_0x458f0d[_0x59a2f5(0x2bd)](_0x59a2f5(0x25c))&&this[_0x59a2f5(0x19a)][_0x59a2f5(0x157)](_0x381e8c)};}[_0x4e28b3(0x183)](){const _0x5b93cc=_0x4e28b3;this[_0x5b93cc(0x184)][_0x5b93cc(0x20a)](mr,this[_0x5b93cc(0x37f)]());}[_0x4e28b3(0x37f)](){const _0x149838=_0x4e28b3;var _0x436cbe;let _0x3018e5=this[_0x149838(0x1e3)][_0x149838(0x2af)](),_0x47de43=_0x3018e5['context'],_0x3e7dcb=_0x3018e5[_0x149838(0x2bc)];return!_0x47de43||!_0x3e7dcb?!0x1:!!_0x130c96((_0x436cbe=this['_boardElementService']['getElementData'](_0x47de43[_0x149838(0x204)],_0x47de43['subUnitId'])[_0x3e7dcb])==null?void 0x0:_0x436cbe[_0x149838(0x409)]);}['dispose'](){const _0x82bd22=_0x4e28b3;super['dispose'](),this[_0x82bd22(0x184)]['setContextValue'](mr,!0x1);}};hr=J([q(0x0,_0x19f927(_0x5af7fa)),q(0x1,_0x19f927(_0x4ad25d)),q(0x2,_0x135d5f),q(0x3,_0x4c9d00),q(0x4,_0x2f95f0)],hr);const gr=['structure',_0x4e28b3(0x20c),_0x4e28b3(0x254)];_0x1defe8[_0x4e28b3(0x1af)],_0x1defe8[_0x4e28b3(0x3ce)],_0x1defe8[_0x4e28b3(0x25d)];const _r=[{'labelKey':'boards-mind-ui.panel.spacing.parentGap','key':_0x4e28b3(0x1af),..._0x2f7fbc['horizontalGap']},{'labelKey':_0x4e28b3(0x26c),'key':'siblingGap',..._0x2f7fbc[_0x4e28b3(0x3ce)]},{'labelKey':_0x4e28b3(0x2d5),'key':_0x4e28b3(0x25d),..._0x2f7fbc[_0x4e28b3(0x25d)]}],vr=[{'labelKey':_0x4e28b3(0x39a),'value':_0x4e28b3(0x244)},{'labelKey':'boards-mind-ui.panel.layout.left','value':_0x4e28b3(0x33e)},{'labelKey':_0x4e28b3(0x1b8),'value':_0x4e28b3(0x3dc)}],yr=[{'labelKey':_0x4e28b3(0x28e),'value':_0x4e28b3(0x1fc)},{'labelKey':_0x4e28b3(0x322),'value':_0x4e28b3(0x351)},{'labelKey':_0x4e28b3(0x150),'value':_0x4e28b3(0x2d8)},{'labelKey':_0x4e28b3(0x3a5),'value':'tree-left'},{'labelKey':_0x4e28b3(0x2b9),'value':_0x4e28b3(0x400)},{'labelKey':_0x4e28b3(0x22f),'value':_0x4e28b3(0x28b)},{'labelKey':_0x4e28b3(0x354),'value':_0x4e28b3(0x3a4)}],br=[{'labelKey':'boards-mind-ui.panel.branchLineType.curve','value':'curve'},{'labelKey':'boards-mind-ui.panel.branchLineType.roundedOrthogonal','value':_0x4e28b3(0x168)},{'labelKey':_0x4e28b3(0x280),'value':_0x4e28b3(0x17a)}];function xr(_0x12ca10){const _0x575848=_0x4e28b3;var _0x789abe,_0x44a5e1,_0x1e6c1a,_0x1b9cc3,_0x10e099;let _0x52ec1f=(_0x789abe=_0x12ca10==null?void 0x0:_0x12ca10[_0x575848(0x2c7)])==null?_0x1defe8[_0x575848(0x2c7)]:_0x789abe;return{'spacing':{'horizontalGap':(_0x44a5e1=_0x12ca10==null?void 0x0:_0x12ca10['horizontalGap'])==null?_0x1defe8['horizontalGap']:_0x44a5e1,'siblingGap':(_0x1e6c1a=_0x12ca10==null?void 0x0:_0x12ca10[_0x575848(0x3ce)])==null?_0x1defe8['siblingGap']:_0x1e6c1a,'branchGap':(_0x1b9cc3=_0x12ca10==null?void 0x0:_0x12ca10[_0x575848(0x25d)])==null?_0x1defe8[_0x575848(0x25d)]:_0x1b9cc3},'direction':(_0x10e099=_0x12ca10==null?void 0x0:_0x12ca10[_0x575848(0x31a)])==null?_0x1defe8[_0x575848(0x31a)]:_0x10e099,'structureKind':_0x52ec1f,'branchLineType':_0x5be6e7(_0x52ec1f,_0x12ca10==null?void 0x0:_0x12ca10[_0x575848(0x191)])};}async function Sr(_0x25b688,_0x594a96){const _0x478463=_0x4e28b3;return await Promise[_0x478463(0x1c8)](_0x25b688[_0x478463(0x3d6)](_0xfb8f84['id'],_0x594a96))?(await Promise[_0x478463(0x1c8)](_0x25b688[_0x478463(0x3d6)](_0x3a4dc0['id'],{'unitId':_0x594a96[_0x478463(0x204)],'subUnitId':_0x594a96[_0x478463(0x1e8)],'scopeId':_0x594a96[_0x478463(0x38b)]})),!0x0):!0x1;}async function Cr(_0x11b8c5,_0x39a8fc){const _0x5d0dc5=_0x4e28b3;return await Promise[_0x5d0dc5(0x1c8)](_0x11b8c5[_0x5d0dc5(0x3d6)](_0x394c10['id'],_0x39a8fc))?(await Promise[_0x5d0dc5(0x1c8)](_0x11b8c5[_0x5d0dc5(0x3d6)](_0x3a4dc0['id'],{'unitId':_0x39a8fc[_0x5d0dc5(0x204)],'subUnitId':_0x39a8fc[_0x5d0dc5(0x1e8)],'scopeId':_0x39a8fc[_0x5d0dc5(0x38b)]})),!0x0):!0x1;}async function wr(_0xc4470a,_0xb77a02){const _0x259510=_0x4e28b3;return await Promise['resolve'](_0xc4470a[_0x259510(0x3d6)](_0xfb8f84['id'],{'unitId':_0xb77a02[_0x259510(0x204)],'subUnitId':_0xb77a02[_0x259510(0x1e8)],'scopeId':_0xb77a02['scopeId'],..._0xb77a02[_0x259510(0x1af)]===void 0x0?{}:{'horizontalGap':_0xb77a02[_0x259510(0x1af)]},..._0xb77a02[_0x259510(0x3ce)]===void 0x0?{}:{'siblingGap':_0xb77a02[_0x259510(0x3ce)]},..._0xb77a02[_0x259510(0x25d)]===void 0x0?{}:{'branchGap':_0xb77a02[_0x259510(0x25d)]}}))?(await Promise[_0x259510(0x1c8)](_0xc4470a[_0x259510(0x3d6)](_0x3a4dc0['id'],{'unitId':_0xb77a02['unitId'],'subUnitId':_0xb77a02[_0x259510(0x1e8)],'scopeId':_0xb77a02['scopeId']})),!0x0):!0x1;}async function Tr(_0x1b41f1,_0x27403e){const _0x119eb6=_0x4e28b3;return _0x27403e['nodeId']===_0x27403e[_0x119eb6(0x1bf)]||!await Promise['resolve'](_0x1b41f1[_0x119eb6(0x3d6)](_0x3bb170['id'],{'unitId':_0x27403e[_0x119eb6(0x204)],'subUnitId':_0x27403e[_0x119eb6(0x1e8)],'nodeId':_0x27403e[_0x119eb6(0x263)],'targetNodeId':_0x27403e[_0x119eb6(0x1bf)],'referenceNodeId':_0x27403e[_0x119eb6(0x1bf)],'placement':_0x27403e[_0x119eb6(0x385)]}))?!0x1:(await Promise[_0x119eb6(0x1c8)](_0x1b41f1[_0x119eb6(0x3d6)](_0x3a4dc0['id'],{'unitId':_0x27403e[_0x119eb6(0x204)],'subUnitId':_0x27403e[_0x119eb6(0x1e8)],'scopeId':_0x27403e[_0x119eb6(0x38b)]})),!0x0);}async function Er(_0x5a09cd,_0x2c1556){const _0x1facdd=_0x4e28b3;let _0x160db6=_0x2c1556['text'][_0x1facdd(0x239)]();return!_0x160db6||!await Promise['resolve'](_0x5a09cd[_0x1facdd(0x3d6)](_0x36d216['id'],{'unitId':_0x2c1556[_0x1facdd(0x204)],'subUnitId':_0x2c1556[_0x1facdd(0x1e8)],'nodeId':_0x2c1556[_0x1facdd(0x263)],'text':_0x160db6}))?!0x1:(await Promise[_0x1facdd(0x1c8)](_0x5a09cd[_0x1facdd(0x3d6)](_0x3a4dc0['id'],{'unitId':_0x2c1556[_0x1facdd(0x204)],'subUnitId':_0x2c1556[_0x1facdd(0x1e8)],'scopeId':_0x2c1556[_0x1facdd(0x38b)]})),!0x0);}async function Dr(_0x34c278){const _0x34eb06=_0x4e28b3;var _0xa9812;let _0x28c9ab=(_0xa9812=globalThis['navigator'])==null?void 0x0:_0xa9812[_0x34eb06(0x387)];return _0x28c9ab!=null&&_0x28c9ab['writeText']?(await _0x28c9ab['writeText'](_0x34c278),!0x0):!0x1;}async function Or(_0x221e20,_0x437193,_0xe4d6e8=Dr){const _0x19f4b1=_0x4e28b3;let _0x1aae3f=await Promise['resolve'](_0x221e20[_0x19f4b1(0x3d6)](_0x46bb7e['id'],_0x437193));if(typeof _0x1aae3f!=_0x19f4b1(0x304)||!_0x1aae3f)return!0x1;try{return await _0xe4d6e8(_0x1aae3f)!==!0x1;}catch{return!0x1;}}async function kr(_0x4178b5,_0x38955b){const _0x679bd8=_0x4e28b3;if(!_0x38955b[_0x679bd8(0x180)][_0x679bd8(0x239)]())return!0x1;let _0x2da5b9=await Promise[_0x679bd8(0x1c8)](_0x4178b5[_0x679bd8(0x3d6)](_0x55b80c['id'],_0x38955b));return typeof _0x2da5b9==_0x679bd8(0x381)&&!!_0x2da5b9&&_0x2da5b9[_0x679bd8(0x314)]===!0x0;}function Ar(_0x557954,_0x39815b){const _0x42efca=_0x4e28b3;let _0x42d479=_0x39815b[_0x42efca(0x239)]()[_0x42efca(0x273)]();return _0x42d479?_0x557954[_0x42efca(0x20e)](_0x517dcc=>_0x517dcc[_0x42efca(0x288)][_0x42efca(0x273)]()['includes'](_0x42d479)):_0x557954;}function jr(_0x594e9d){const _0x17516f=_0x4e28b3;return{'paddingInlineStart':0x8+(Number[_0x17516f(0x2de)](_0x594e9d)&&_0x594e9d>0x0?_0x594e9d:0x0)*0x10};}function Mr(_0x301202){const _0x399028=_0x4e28b3;return _0xdbc3b(_0x399028(0x3b6),{'className':_0x399028(0x17d),'data-board-mind-map-panel':_0x399028(0x30b),'children':_0x301202[_0x399028(0x373)]});}function Nr(_0x1f5e7a){const _0x34cca0=_0x4e28b3;return _0xdbc3b('div',{'className':_0x4dee74('univer-border-b\x20univer-border-gray-200\x20univer-p-3',_0x4b17ce),'data-board-mind-map-panel-tabs':'true','children':_0xdbc3b(_0x2edc6b,{'className':'univer-w-full\x20univer-text-xs','items':_0x1f5e7a[_0x34cca0(0x3bb)],'value':_0x1f5e7a[_0x34cca0(0x18e)],'onChange':_0x1f5e7a[_0x34cca0(0x37d)]})});}function Pr(_0x1c539f){const _0x167ab1=_0x4e28b3;return _0x1e5b1d(_0x167ab1(0x29a),{'className':_0x4dee74(_0x167ab1(0x3cd),_0x4b17ce),'data-board-mind-map-panel-section':_0x167ab1(0x30b),'children':[_0xdbc3b('h3',{'className':_0x167ab1(0x2f9),'children':_0x1c539f[_0x167ab1(0x392)]}),_0x1c539f[_0x167ab1(0x373)]]});}function Fr(_0x44aa39){const _0xdafe8b=_0x4e28b3;return _0xdbc3b(_0xdafe8b(0x3b6),{'className':_0xdafe8b(0x28d),'data-board-mind-map-panel-empty-state':_0xdafe8b(0x30b),'children':_0x44aa39[_0xdafe8b(0x373)]});}function Ir(_0x274095){const _0x3487bc=_0x4e28b3;let _0x371d93=_0x3d87e3(_0x19a155);return _0xdbc3b(_0x25b887,{'className':_0x3487bc(0x2c4),'size':_0x3487bc(0x225),'variant':_0x3487bc(0x2f8),'onClick':_0x274095['onClick'],'children':_0x371d93['t'](_0x3487bc(0x397))});}function Lr(_0x252e45){const _0x19b52a=_0x4e28b3;var _0x47f93d;let _0x532b2a=_0x3d87e3(_0x4c9d00),_0x54d789=_0x3d87e3(_0x4ad25d),_0x4f40d0=_0x3d87e3(_0x19a155),_0x4c7e0e=(_0x47f93d=_0x252e45[_0x19b52a(0x222)])==null?[]:_0x47f93d,[_0x14c086,_0xf7fdb1]=_0x33a7c5(''),[_0x75af1a,_0x4863ad]=_0x33a7c5(null),[_0x5148a4,_0x47802b]=_0x33a7c5(''),_0x1b8f79=xr(_0x252e45[_0x19b52a(0x20c)]),[_0x454289,_0x40fd2]=_0x33a7c5(_0x1b8f79[_0x19b52a(0x1ec)]),[_0xc26435,_0x4d61b6]=_0x33a7c5(_0x1b8f79[_0x19b52a(0x31a)]),[_0xdf8909,_0x8fee94]=_0x33a7c5(_0x1b8f79['structureKind']),[_0x5867ff,_0x3f8bec]=_0x33a7c5(_0x1b8f79[_0x19b52a(0x191)]),[_0x4ef989,_0x3217d1]=_0x33a7c5(null),[_0x46bccd,_0x5b287c]=_0x33a7c5('structure'),_0x442cc4=Ar(_0x4c7e0e,_0x14c086),_0xe462d9={'unitId':_0x252e45[_0x19b52a(0x204)],'subUnitId':_0x252e45[_0x19b52a(0x1e8)],'scopeId':_0x252e45[_0x19b52a(0x38b)]},_0x1aa18f=gr[_0x19b52a(0x1cb)](_0x424c84=>({'label':_0x4f40d0['t']('boards-mind-ui.panel.tab.'+_0x424c84),'value':_0x424c84})),_0x202d43=br['filter'](_0x50d493=>_0x50d493[_0x19b52a(0x18e)]!=='curve'||_0x3e1084(_0xdf8909)),_0xb42323=_0x5cf99d=>{_0x4d61b6(_0x5cf99d),Sr(_0x532b2a,{..._0xe462d9,'direction':_0x5cf99d});};_0x102d6a(()=>{const _0x14d585=_0x19b52a;let _0x2e752f=xr(_0x252e45[_0x14d585(0x20c)]);_0x40fd2(_0x2e752f[_0x14d585(0x1ec)]),_0x4d61b6(_0x2e752f['direction']),_0x8fee94(_0x2e752f[_0x14d585(0x2c7)]),_0x3f8bec(_0x2e752f[_0x14d585(0x191)]);},[_0x252e45[_0x19b52a(0x20c)],_0x252e45[_0x19b52a(0x38b)]]);let _0x1853d5=_0x10e8e8=>{let _0x28e0bb=_0x5be6e7(_0x10e8e8,_0x5867ff);_0x8fee94(_0x10e8e8),_0x3f8bec(_0x28e0bb),Sr(_0x532b2a,{..._0xe462d9,'structureKind':_0x10e8e8,..._0x28e0bb===_0x5867ff?null:{'branchLineType':_0x28e0bb}});},_0xecb2f2=_0x55af93=>{let _0x342adb=_0x5be6e7(_0xdf8909,_0x55af93);_0x3f8bec(_0x342adb),Cr(_0x532b2a,{..._0xe462d9,'branchLineType':_0x342adb});},_0x34b71f=(_0x4f674c,_0x5a8d10)=>{let _0x3ceccc={..._0x454289,[_0x4f674c]:_0x5a8d10};_0x40fd2(_0x3ceccc),wr(_0x532b2a,{..._0xe462d9,..._0x3ceccc});},_0xad6563=()=>{kr(_0x532b2a,{'unitId':_0x252e45['unitId'],'subUnitId':_0x252e45['subUnitId'],'left':0x78,'top':0x78,'opml':_0x5148a4})['then'](_0x40ef13=>{_0x40ef13&&_0x47802b('');});},_0x65688c=()=>{Or(_0x532b2a,_0xe462d9);},_0x378b5e=(_0x1a283d,_0x5d22ca)=>{_0x4863ad({'nodeId':_0x1a283d,'text':_0x5d22ca});},_0x3265ee=()=>{_0x75af1a&&Er(_0x532b2a,{..._0xe462d9,'nodeId':_0x75af1a['nodeId'],'text':_0x75af1a['text']})['then'](_0x6dd143=>{_0x6dd143&&_0x4863ad(null);});},_0x1e6baf=(_0x3466e7,_0x4658b7)=>{const _0xb7b8c=_0x19b52a;if(_0x3466e7[_0xb7b8c(0x2a0)](),!_0x4ef989||_0x4ef989===_0x4658b7)return;let _0x31657a=_0x3466e7[_0xb7b8c(0x175)][_0xb7b8c(0x23e)](),_0x2255ba=_0x3466e7[_0xb7b8c(0x383)]<_0x31657a['top']+_0x31657a[_0xb7b8c(0x323)]/0x2?_0xb7b8c(0x22e):_0xb7b8c(0x2f1);_0x3217d1(null),Tr(_0x532b2a,{..._0xe462d9,'nodeId':_0x4ef989,'targetNodeId':_0x4658b7,'placement':_0x2255ba});};return _0x1e5b1d(Mr,{'children':[_0xdbc3b(Nr,{'items':_0x1aa18f,'value':_0x46bccd,'onChange':_0x47479e=>_0x5b287c(_0x47479e)}),_0x46bccd===_0x19b52a(0x30c)&&_0xdbc3b(Pr,{'title':_0x4f40d0['t'](_0x19b52a(0x242)),'children':_0x1e5b1d(_0x19b52a(0x3b6),{'children':[_0xdbc3b(_0x4f73bf,{'slot':_0xdbc3b(_0x32fc43,{}),'value':_0x14c086,'placeholder':_0x4f40d0['t'](_0x19b52a(0x2f4)),'className':_0x19b52a(0x3af),'onChange':_0xf7fdb1}),_0x442cc4[_0x19b52a(0x282)]?_0xdbc3b('ol',{'className':_0x19b52a(0x1e9),'children':_0x442cc4[_0x19b52a(0x1cb)](_0x35c631=>_0xdbc3b('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':jr(_0x35c631[_0x19b52a(0x3d7)]),'onDragStart':_0x13c761=>{const _0x1f42fa=_0x19b52a;var _0x1d1bef;_0x3217d1(_0x35c631[_0x1f42fa(0x263)]),(_0x1d1bef=_0x13c761[_0x1f42fa(0x202)])==null||_0x1d1bef[_0x1f42fa(0x25e)](_0x1f42fa(0x2e5),_0x35c631[_0x1f42fa(0x263)]),_0x13c761[_0x1f42fa(0x202)]&&(_0x13c761[_0x1f42fa(0x202)][_0x1f42fa(0x3aa)]=_0x1f42fa(0x216));},'onDragOver':_0xdda745=>{const _0x12b93f=_0x19b52a;_0xdda745[_0x12b93f(0x2a0)](),_0xdda745[_0x12b93f(0x202)]&&(_0xdda745['dataTransfer'][_0x12b93f(0x359)]='move');},'onDrop':_0x326452=>_0x1e6baf(_0x326452,_0x35c631['nodeId']),'onDragEnd':()=>_0x3217d1(null),'children':(_0x75af1a==null?void 0x0:_0x75af1a['nodeId'])===_0x35c631['nodeId']?_0x1e5b1d(_0x19b52a(0x3b6),{'className':_0x19b52a(0x158),'children':[_0xdbc3b(_0x4f73bf,{'autoFocus':!0x0,'size':_0x19b52a(0x225),'value':_0x75af1a[_0x19b52a(0x288)],'onChange':_0x18b961=>_0x4863ad({'nodeId':_0x35c631[_0x19b52a(0x263)],'text':_0x18b961}),'onKeyDown':_0x547e00=>{const _0x15c83e=_0x19b52a;_0x547e00['key']==='Enter'&&_0x3265ee(),_0x547e00[_0x15c83e(0x23c)]===_0x15c83e(0x374)&&_0x4863ad(null);}}),_0xdbc3b(_0x25b887,{'size':_0x19b52a(0x225),'variant':'primary','disabled':!_0x75af1a[_0x19b52a(0x288)][_0x19b52a(0x239)](),'onClick':_0x3265ee,'children':_0x4f40d0['t'](_0x19b52a(0x397))}),_0xdbc3b(_0x25b887,{'size':'small','variant':_0x19b52a(0x2f8),'onClick':()=>_0x4863ad(null),'children':_0x4f40d0['t'](_0x19b52a(0x29c))})]}):_0x1e5b1d(_0x533ee7,{'children':[_0xdbc3b(_0x25b887,{'size':_0x19b52a(0x225),'variant':_0x19b52a(0x25b),'className':_0x19b52a(0x1db),'onClick':()=>_0x54d789[_0x19b52a(0x15b)]({'unitId':_0x252e45[_0x19b52a(0x204)],'subUnitId':_0x252e45['subUnitId']},[_0x35c631[_0x19b52a(0x263)]],_0x35c631['nodeId']),'children':_0x35c631[_0x19b52a(0x288)]}),_0xdbc3b(Ir,{'onClick':()=>_0x378b5e(_0x35c631[_0x19b52a(0x263)],_0x35c631[_0x19b52a(0x288)])})]})},_0x35c631['nodeId']))}):_0xdbc3b(Fr,{'children':_0x4f40d0['t'](_0x19b52a(0x30e))})]})}),_0x46bccd===_0x19b52a(0x20c)&&_0xdbc3b(Pr,{'title':_0x4f40d0['t']('boards-mind-ui.panel.tab.layout'),'children':_0x1e5b1d(_0x19b52a(0x3b6),{'className':_0x19b52a(0x2ad),'children':[_0xdbc3b(_0x19b52a(0x3b6),{'className':_0x19b52a(0x21c),'children':_0xdbc3b(_0x2edc6b,{'className':'univer-w-full\x20univer-text-xs','items':yr[_0x19b52a(0x1cb)](_0xabd3de=>({'label':_0x4f40d0['t'](_0xabd3de[_0x19b52a(0x3b5)]),'value':_0xabd3de['value']})),'value':_0xdf8909,'onChange':_0xbaaa65=>_0x1853d5(_0xbaaa65)})}),_0xdbc3b(_0x19b52a(0x3b6),{'className':_0x19b52a(0x21c),'children':_0xdbc3b(_0x2edc6b,{'className':'univer-w-full\x20univer-text-xs','items':vr['map'](_0x5b6dde=>({'label':_0x4f40d0['t'](_0x5b6dde[_0x19b52a(0x3b5)]),'value':_0x5b6dde[_0x19b52a(0x18e)]})),'value':_0xc26435,'onChange':_0x2c6911=>_0xb42323(_0x2c6911)})}),_0xdbc3b(_0x19b52a(0x3b6),{'className':'univer-flex\x20univer-gap-2','children':_0xdbc3b(_0x2edc6b,{'className':_0x19b52a(0x1c6),'items':_0x202d43[_0x19b52a(0x1cb)](_0xf6dc70=>({'label':_0x4f40d0['t'](_0xf6dc70[_0x19b52a(0x3b5)]),'value':_0xf6dc70['value']})),'value':_0x5867ff,'onChange':_0x1e8dcd=>_0xecb2f2(_0x1e8dcd)})}),_0xdbc3b('div',{'className':'univer-space-y-2','children':_r['map'](({labelKey:_0x374ae0,key:_0x1287d6,min:_0x1db0b0,max:_0x4704ef})=>_0x1e5b1d(_0x19b52a(0x2ae),{'className':_0x19b52a(0x2c9),'children':[_0xdbc3b(_0x19b52a(0x316),{'className':_0x19b52a(0x1c2),'children':_0x4f40d0['t'](_0x19b52a(0x295)+_0x374ae0)}),_0xdbc3b(_0x5687ca,{'min':_0x1db0b0,'max':_0x4704ef,'step':0x4,'value':_0x454289[_0x1287d6],'precision':0x0,'className':_0x19b52a(0x198),'onChange':_0xcc48ba=>_0x34b71f(_0x1287d6,Number(_0xcc48ba==null?_0x1db0b0:_0xcc48ba))})]},_0x1287d6))})]})}),_0x46bccd===_0x19b52a(0x254)&&_0xdbc3b(Pr,{'title':_0x4f40d0['t'](_0x19b52a(0x2c6)),'children':_0x1e5b1d(_0x19b52a(0x3b6),{'className':_0x19b52a(0x250),'children':[_0xdbc3b(_0x55a337,{'className':_0x19b52a(0x317),'placeholder':_0x4f40d0['t'](_0x19b52a(0x32d)),'value':_0x5148a4,'onValueChange':_0x47802b}),_0x1e5b1d(_0x19b52a(0x3b6),{'className':_0x19b52a(0x21c),'children':[_0xdbc3b(_0x25b887,{'size':'small','variant':_0x19b52a(0x2e2),'disabled':!_0x5148a4['trim'](),'onClick':_0xad6563,'children':_0x4f40d0['t'](_0x19b52a(0x2e3))}),_0xdbc3b(_0x25b887,{'size':_0x19b52a(0x225),'variant':_0x19b52a(0x2f8),'onClick':_0x65688c,'children':_0x4f40d0['t'](_0x19b52a(0x410))})]})]})})]});}let Rr=class extends _0x45f66c{constructor(_0x5eaff9){const _0x3118ea=_0x4e28b3;super(),this[_0x3118ea(0x413)]=_0x5eaff9,this['_registerComponents']();}[_0x4e28b3(0x1f1)](){const _0x3748d6=_0x4e28b3;this[_0x3748d6(0x40b)](this[_0x3748d6(0x413)][_0x3748d6(0x192)](sn,ln)),this[_0x3748d6(0x40b)](this['_componentManager'][_0x3748d6(0x192)](gn,Rn)),this[_0x3748d6(0x40b)](this[_0x3748d6(0x413)][_0x3748d6(0x192)](_0x3748d6(0x236),Lr));}};Rr=J([q(0x0,_0x19f927(_0x4aefa5))],Rr);let zr=class{constructor(_0x174f3d,_0x218360){const _0x43e603=_0x4e28b3;this[_0x43e603(0x32a)]=_0x174f3d,this[_0x43e603(0x31b)]=_0x218360;}['beginMindMapMode'](_0x15fbf4){const _0x4db8c2=_0x4e28b3;return this[_0x4db8c2(0x31b)]['setTemplate']({'rootText':_0x15fbf4[_0x4db8c2(0x267)],'structureKind':_0x15fbf4['structureKind'],'branchLineType':_0x15fbf4[_0x4db8c2(0x191)],'children':_0x15fbf4[_0x4db8c2(0x373)],'blueprint':_0x15fbf4['blueprint']}),this[_0x4db8c2(0x32a)][_0x4db8c2(0x368)](!0x1),this['_stateService'][_0x4db8c2(0x264)](),this[_0x4db8c2(0x32a)][_0x4db8c2(0x24f)](_0x138a65['MindMap']),this[_0x4db8c2(0x32a)][_0x4db8c2(0x160)]({'type':_0x138a65['MindMap']}),!0x0;}};zr=J([q(0x0,_0x4b72d1),q(0x1,_0x19f927(Xn))],zr);let Br=class extends _0x3485b7{constructor(_0x570f1c=Pt,_0x53cb09,_0x54b59f,_0x536afb){const _0x51d863=_0x4e28b3;super(),this['_config']=_0x570f1c,this[_0x51d863(0x200)]=_0x53cb09,this[_0x51d863(0x2f0)]=_0x54b59f,this['_renderManagerService']=_0x536afb;let {..._0x37882b}=_0xce87f2({},Pt,this[_0x51d863(0x31e)]);this[_0x51d863(0x2f0)]['setConfig'](_0x51d863(0x367),_0x37882b);}[_0x4e28b3(0x33a)](){const _0x9249eb=_0x4e28b3;this['_injector'][_0x9249eb(0x398)]([Xn]),this[_0x9249eb(0x200)][_0x9249eb(0x398)]([tr]),this[_0x9249eb(0x200)][_0x9249eb(0x398)]([zr]),this['_injector'][_0x9249eb(0x398)]([mn]),this[_0x9249eb(0x200)][_0x9249eb(0x398)]([hr]),this[_0x9249eb(0x200)]['add']([Rr]);let _0x5adb11=this[_0x9249eb(0x200)]['get'](zr),_0x11e5e9=this[_0x9249eb(0x200)][_0x9249eb(0x349)](_0x16e4f0);this['disposeWithMe'](_0x11e5e9['registerAdapter'](_0x5adb11)),this[_0x9249eb(0x40b)](this[_0x9249eb(0x200)][_0x9249eb(0x349)](mn)),this[_0x9249eb(0x40b)](this['_injector']['get'](hr)),this['disposeWithMe'](this[_0x9249eb(0x200)][_0x9249eb(0x349)](Rr)),this[_0x9249eb(0x338)]();}['onReady'](){const _0x5c7504=_0x4e28b3;this[_0x5c7504(0x40b)](this[_0x5c7504(0x2dd)][_0x5c7504(0x2bb)](_0x2934fe[_0x5c7504(0x302)],er)),this['disposeWithMe'](this['_renderManagerService'][_0x5c7504(0x2bb)](_0x2934fe[_0x5c7504(0x302)],pr)),this[_0x5c7504(0x40b)](this[_0x5c7504(0x2dd)][_0x5c7504(0x2bb)](_0x2934fe[_0x5c7504(0x302)],Bn)),this[_0x5c7504(0x40b)](this[_0x5c7504(0x2dd)][_0x5c7504(0x2bb)](_0x2934fe['UNIVER_BOARD'],on)),this[_0x5c7504(0x40b)](this[_0x5c7504(0x2dd)][_0x5c7504(0x2bb)](_0x2934fe[_0x5c7504(0x302)],Rt)),this[_0x5c7504(0x40b)](this['_renderManagerService'][_0x5c7504(0x2bb)](_0x2934fe['UNIVER_BOARD'],ir));}[_0x4e28b3(0x338)](){const _0x1930b3=_0x4e28b3;var _0x2a0047,_0x5e8b3c;let _0x3a114f=this['_getBoardsUIConfig']();this['_configService'][_0x1930b3(0x1fe)](_0x2306cf,{..._0x3a114f,'toolbar':{..._0x3a114f[_0x1930b3(0x237)],'tools':{...(_0x2a0047=_0x3a114f[_0x1930b3(0x237)])==null?void 0x0:_0x2a0047[_0x1930b3(0x24d)],[_0x138a65[_0x1930b3(0x2a7)]]:Vr((_0x5e8b3c=_0x3a114f['toolbar'])==null||(_0x5e8b3c=_0x5e8b3c[_0x1930b3(0x24d)])==null?void 0x0:_0x5e8b3c[_0x138a65[_0x1930b3(0x2a7)]])}}});}[_0x4e28b3(0x1a8)](){const _0x5a3086=_0x4e28b3;var _0x5d6e0a;return(_0x5d6e0a=this[_0x5a3086(0x2f0)][_0x5a3086(0x313)](_0x2306cf))==null?{}:_0x5d6e0a;}};K(Br,'pluginName',_0x4e28b3(0x1d4)),K(Br,'packageName',Mt),K(Br,_0x4e28b3(0x325),Nt),K(Br,_0x4e28b3(0x2a1),_0x2934fe[_0x4e28b3(0x302)]),Br=J([_0x4f9b5b(_0x350152,_0x259006,_0x779761,_0x2baeb1,_0x4f31e9,_0x385ee3),q(0x1,_0x19f927(_0x1072f4)),q(0x2,_0x4d4aaf),q(0x3,_0x90772c)],Br);function Vr(_0x5a8082){const _0x18b3b6=_0x4e28b3;if(_0x5a8082===!0x1)return!0x1;if(typeof _0x5a8082==_0x18b3b6(0x381)){var _0x383a10;return{..._0x5a8082,'enabled':(_0x383a10=_0x5a8082[_0x18b3b6(0x348)])==null||_0x383a10};}return!0x0;}export{Br as UniverBoardsMindUIPlugin};