@univerjs-pro/boards-mind-ui 1.0.2 → 1.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/ar-SA.js +1 -1
- package/lib/cjs/locale/ca-ES.js +1 -1
- package/lib/cjs/locale/de-DE.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/es-ES.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/id-ID.js +1 -1
- package/lib/cjs/locale/it-IT.js +1 -1
- package/lib/cjs/locale/ja-JP.js +1 -1
- package/lib/cjs/locale/ko-KR.js +1 -1
- package/lib/cjs/locale/pl-PL.js +1 -1
- package/lib/cjs/locale/pt-BR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/sk-SK.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-HK.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/ar-SA.js +1 -1
- package/lib/es/locale/ca-ES.js +1 -1
- package/lib/es/locale/de-DE.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/es-ES.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/id-ID.js +1 -1
- package/lib/es/locale/it-IT.js +1 -1
- package/lib/es/locale/ja-JP.js +1 -1
- package/lib/es/locale/ko-KR.js +1 -1
- package/lib/es/locale/pl-PL.js +1 -1
- package/lib/es/locale/pt-BR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/sk-SK.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-HK.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/ar-SA.js +1 -1
- package/lib/locale/ca-ES.js +1 -1
- package/lib/locale/de-DE.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/es-ES.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/id-ID.js +1 -1
- package/lib/locale/it-IT.js +1 -1
- package/lib/locale/ja-JP.js +1 -1
- package/lib/locale/ko-KR.js +1 -1
- package/lib/locale/pl-PL.js +1 -1
- package/lib/locale/pt-BR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/sk-SK.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-HK.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/ar-SA.js +1 -1
- package/lib/umd/locale/ca-ES.js +1 -1
- package/lib/umd/locale/de-DE.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/es-ES.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/id-ID.js +1 -1
- package/lib/umd/locale/it-IT.js +1 -1
- package/lib/umd/locale/ja-JP.js +1 -1
- package/lib/umd/locale/ko-KR.js +1 -1
- package/lib/umd/locale/pl-PL.js +1 -1
- package/lib/umd/locale/pt-BR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/sk-SK.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-HK.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +12 -12
package/lib/es/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x1f10c6=_0x1bd6;(function(_0x15eb05,_0x4f3cce){const _0x613c50=_0x1bd6,_0x543ba0=_0x15eb05();while(!![]){try{const _0x3c0417=parseInt(_0x613c50(0x141))/0x1+parseInt(_0x613c50(0x375))/0x2+-parseInt(_0x613c50(0x169))/0x3+-parseInt(_0x613c50(0x33c))/0x4*(parseInt(_0x613c50(0x1e7))/0x5)+-parseInt(_0x613c50(0x2b9))/0x6*(parseInt(_0x613c50(0x17b))/0x7)+parseInt(_0x613c50(0x38d))/0x8*(parseInt(_0x613c50(0x1f1))/0x9)+parseInt(_0x613c50(0x37f))/0xa*(parseInt(_0x613c50(0x3fa))/0xb);if(_0x3c0417===_0x4f3cce)break;else _0x543ba0['push'](_0x543ba0['shift']());}catch(_0x4336a0){_0x543ba0['push'](_0x543ba0['shift']());}}}(_0x1ae0,0xa5a4b));import{BoardElementType as _0x3a0cfb,BoardToolType as _0x529842,IBoardElementService as _0x52d74d,IBoardMindMapAdapterService as _0x29fd82,UniverBoardsPlugin as _0x14526b,documentTextStyleToBoardShapeTextStyle as _0xac270a,offsetBoardConnectorGeometry as _0x1e48b9,resolveBoardElementWorldBounds as _0x401f4b}from'@univerjs-pro/boards';import{AddMindMapChildOperation as _0x47eba7,AddMindMapSiblingOperation as _0x5d96a8,ChangeMindMapBranchLineTypeOperation as _0x4bb9b4,ChangeMindMapLayoutOperation as _0x24f826,CopyMindMapNodeOperation as _0x324033,DeleteMindMapNodeOperation as _0x3862d0,DetachMindMapNodeOperation as _0x4315a8,ExportMindMapOpmlOperation as _0x1c72f4,IMindMapClipboardService as _0x7e4b74,ImportMindMapOpmlOperation as _0x4975f4,InsertBoardMindMapOperation as _0x1e1a00,LayoutMindMapOperation as _0x4a8bdc,MIND_MAP_DEFAULT_LAYOUT as _0x258b6f,MIND_MAP_DEFAULT_NODE_SIZE as _0x4c0c6a,MIND_MAP_DEFAULT_NODE_TEXT as _0x35edc8,MIND_MAP_LAYOUT_SPACING_LIMITS as _0x1e39ab,PasteMindMapAsNewMindMapOperation as _0x5b8033,PasteMindMapNodeOperation as _0x8b217d,PromoteMindMapNodeOperation as _0x3a6c62,ReparentMindMapNodeOperation as _0x1b0b1e,ToggleMindMapNodeCollapseOperation as _0x86163e,TranslateMindMapOperation as _0x34c5bd,UniverBoardsMindPlugin as _0x4e9553,UpdateMindMapIncomingConnectorOperation as _0x229f83,UpdateMindMapNodeOperation as _0x1c2b74,compareMindMapOrderKey as _0x3ac29b,getMindMapConnectorMeta as _0x2139e0,getMindMapContainerMeta as _0x195a16,getMindMapDefaultChildOrderKey as _0x1d4a72,getMindMapNodeMeta as _0x51f94c,isMindMapPlainStructureKind as _0x2052ed,resolveMindMapBranchLineTypeForStructure as _0x557da1,resolveMindMapLayoutPreview as _0x384f9e,resolveMindMapNodeHostSize as _0x2fe75a}from'@univerjs-pro/boards-mind';import{BOARDS_UI_PLUGIN_CONFIG_KEY as _0x5a2905,BOARD_RENDER_LAYER_INDEX as _0x2a0926,BOARD_RENDER_OBJECT_Z_INDEX as _0x3d308f,BOARD_SHORTCUT_BINDINGS as _0x1e6cfc,BoardCanvasPopManagerService as _0x1b3bdf,BoardInteractionSurfaceService as _0x3304c1,BoardShapeIntrinsicSizeService as _0x5c4bcf,BoardTextEditingService as _0x157676,IBoardElementStateService as _0x10fb2b,IBoardUIStateService as _0x50e115,UniverBoardsMobileUIPlugin as _0x29e7e1,UniverBoardsUIPlugin as _0x5a6c40,areBoardShapeTextValuesEquivalent as _0x1f8885,getBoardElementRenderObjectKey as _0x10c90a,isBoardShortcutAvailable as _0x4ef334,parseBoardElementRenderObjectKey as _0x638279,resolveBoardFloatingToolbarSelection as _0x39e4fd,syncBoardElementRenderObject as _0x3e7b6d}from'@univerjs-pro/boards-ui';import{UniverLicensePlugin as _0x3b2992}from'@univerjs-pro/license';import{BooleanNumber as _0x3f7dc4,CommandType as _0x266447,DEFAULT_STYLES as _0xbb156e,DependentOn as _0x3653bf,Disposable as _0x494558,DisposableCollection as _0x308d99,HorizontalAlign as _0xbace98,ICommandService as _0x56aea3,IConfigService as _0x77a9ff,IContextService as _0x244b35,IUniverInstanceService as _0x1d8bf1,Inject as _0x2e0f98,Injector as _0x5007c9,LocaleService as _0x588054,Plugin as _0x5c3776,RxDisposable as _0x9852b5,UniverInstanceType as _0x25af0d,VerticalAlign as _0x3de0d7,generateRandomId as _0x4e853d,merge as _0x4a118c,toDisposable as _0x50821e}from'@univerjs/core';import{BaseObject as _0x48d510,Control as _0xf647d4,DeviceType as _0xf8d86,IRenderManagerService as _0x2411d0,UniverRenderEnginePlugin as _0x5abc2b}from'@univerjs/engine-render';import{Subject as _0x3731e6,merge as _0x4faf04,takeUntil as _0x2c3b45}from'rxjs';import{ComponentManager as _0x583274,IDialogService as _0x51a5ab,IFontService as _0x23931d,IShortcutService as _0x1247c4,ISidebarService as _0x56009b,KeyCode as _0x438e5f,MetaKeys as _0x379149,UndoRedoGroupService as _0x56a505,useDependency as _0x44103d,useObservable as _0x376a49}from'@univerjs/ui';import{MobileShapeMenu as _0x3a615f,SHAPE_FLOATING_TOOLBAR_DEFAULT_STROKE_COLOR as _0x140b36,SHAPE_FLOATING_TOOLBAR_DEFAULT_TEXT_BACKGROUND_COLOR as _0x5c5253,SHAPE_FLOATING_TOOLBAR_DEFAULT_TEXT_COLOR as _0x5402c0,SHAPE_TEXT_EDITOR_QUOTE_COMMAND_ID as _0x518561,ShapeFillButton as _0x463ee2,ShapeFloatingToolbarContent as _0xa7d80a,ShapeFloatingToolbarDropdownTrigger as _0x53a097,ShapeFloatingToolbarFontSizeSelect as _0x1fb5f7,ShapeFloatingToolbarIcon as _0x1816c6,ShapeFloatingToolbarMenuItem as _0x4f4086,ShapeFloatingToolbarMenuPanel as _0x412185,ShapeStrokePanelButton as _0x3bc7f5,ShapeStrokePanelContent as _0x1d45c4,TextFillButton as _0x44d485,TypographyPanelButton as _0x2fd74b,buildShapeTextDataUpdate as _0x51fd3e,getTextStyle as _0x3a3968}from'@univerjs-pro/shape-editor-ui';import{ShapeDefaultConfig as _0x3ef48a,ShapeLineDashEnum as _0x4d9387,ShapeLineTypeEnum as _0x5cbb11}from'@univerjs-pro/engine-shape';import{Button as _0x4ef5c6,Dropdown as _0x1440b5,Input as _0x2cac2e,InputNumber as _0x5d147a,MobileColorPresets as _0x4001ce,Segmented as _0x2b2f23,Separator as _0x33c873,Textarea as _0x5163c9,borderClassName as _0x1e4058,clsx as _0x3e6ef4}from'@univerjs/design';import{AlignBottomIcon as _0x12a095,AlignTextBothIcon as _0xfce763,AlignTopIcon as _0x392721,BoldIcon as _0x39f22d,HorizontallyIcon as _0x272dbc,ItalicIcon as _0x175b66,LeftJustifyingIcon as _0x1f1280,MoreHorizontalIcon as _0x5169d6,RightJustifyingIcon as _0x34fdee,SearchIcon as _0x33044b,ShapeLineIcon as _0x44b731,StrikethroughIcon as _0x325ccb,UnderlineIcon as _0x5c18a9,VerticalCenterIcon as _0x12c870}from'@univerjs/icons';import{useEffect as _0x3733e5,useReducer as _0x22c633,useState as _0x63f429}from'react';import{Fragment as _0x3a937c,jsx as _0x4a7fc2,jsxs as _0x2bca5a}from'react/jsx-runtime';var Zt=_0x1f10c6(0x398),Qt='1.0.2';const $t='boards-mind-ui.config',en={};function tn(_0x27022c){'@babel/helpers - typeof';const _0x493607=_0x1f10c6;return tn=typeof Symbol=='function'&&typeof Symbol['iterator']==_0x493607(0x2a9)?function(_0x1ce7bd){return typeof _0x1ce7bd;}:function(_0x378d89){const _0x248b1d=_0x493607;return _0x378d89&&typeof Symbol==_0x248b1d(0x22e)&&_0x378d89[_0x248b1d(0x324)]===Symbol&&_0x378d89!==Symbol['prototype']?_0x248b1d(0x2a9):typeof _0x378d89;},tn(_0x27022c);}function nn(_0x18c8d4,_0x2b9498){const _0x16bc83=_0x1f10c6;if(tn(_0x18c8d4)!=_0x16bc83(0x25a)||!_0x18c8d4)return _0x18c8d4;var _0x35c95c=_0x18c8d4[Symbol[_0x16bc83(0x3d8)]];if(_0x35c95c!==void 0x0){var _0x6373d5=_0x35c95c[_0x16bc83(0x266)](_0x18c8d4,_0x2b9498||_0x16bc83(0x3bb));if(tn(_0x6373d5)!='object')return _0x6373d5;throw TypeError(_0x16bc83(0x395));}return(_0x2b9498===_0x16bc83(0x185)?String:Number)(_0x18c8d4);}function rn(_0x486c50){const _0x91d3bc=_0x1f10c6;var _0x1da1d7=nn(_0x486c50,_0x91d3bc(0x185));return tn(_0x1da1d7)==_0x91d3bc(0x2a9)?_0x1da1d7:_0x1da1d7+'';}function K(_0x2b0c40,_0x4b9119,_0x545aff){const _0xbb41a1=_0x1f10c6;return(_0x4b9119=rn(_0x4b9119))in _0x2b0c40?Object[_0xbb41a1(0x3c7)](_0x2b0c40,_0x4b9119,{'value':_0x545aff,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x2b0c40[_0x4b9119]=_0x545aff,_0x2b0c40;}function q(_0x22cbf2,_0x249266){return function(_0xf86c2e,_0x50533f){_0x249266(_0xf86c2e,_0x50533f,_0x22cbf2);};}function J(_0x671efd,_0x42bf15,_0x56d478,_0x2620d9){const _0xa3c9bf=_0x1f10c6;var _0xdbfbe7=arguments[_0xa3c9bf(0x1f3)],_0x58d06d=_0xdbfbe7<0x3?_0x42bf15:_0x2620d9===null?_0x2620d9=Object['getOwnPropertyDescriptor'](_0x42bf15,_0x56d478):_0x2620d9,_0x20fad1;if(typeof Reflect=='object'&&typeof Reflect['decorate']==_0xa3c9bf(0x22e))_0x58d06d=Reflect[_0xa3c9bf(0x13d)](_0x671efd,_0x42bf15,_0x56d478,_0x2620d9);else{for(var _0x40cb41=_0x671efd[_0xa3c9bf(0x1f3)]-0x1;_0x40cb41>=0x0;_0x40cb41--)(_0x20fad1=_0x671efd[_0x40cb41])&&(_0x58d06d=(_0xdbfbe7<0x3?_0x20fad1(_0x58d06d):_0xdbfbe7>0x3?_0x20fad1(_0x42bf15,_0x56d478,_0x58d06d):_0x20fad1(_0x42bf15,_0x56d478))||_0x58d06d);}return _0xdbfbe7>0x3&&_0x58d06d&&Object[_0xa3c9bf(0x3c7)](_0x42bf15,_0x56d478,_0x58d06d),_0x58d06d;}let an=class extends _0x9852b5{constructor(_0x308433,_0x5dbf18,_0x635916){const _0x54ae40=_0x1f10c6;super(),this['_renderContext']=_0x308433,this['_boardElementService']=_0x5dbf18,this['_commandService']=_0x635916,K(this,_0x54ae40(0x332),new Map()),K(this,_0x54ae40(0x31c),new Map()),K(this,'_layoutFlushScheduled',!0x1),this[_0x54ae40(0x347)]();}[_0x1f10c6(0x347)](){const _0x2b995a=_0x1f10c6;this['_seedExistingNodeSizes'](),this[_0x2b995a(0x1c8)](_0x50821e(this[_0x2b995a(0x384)][_0x2b995a(0x289)][_0x2b995a(0x36e)](_0x2c3b45(this[_0x2b995a(0x273)]))['subscribe'](_0x39389e=>{const _0x3c34ab=_0x2b995a;_0x39389e[_0x3c34ab(0x35f)](_0x210c9a=>{const _0x20eb65=_0x3c34ab;let _0x33667c=this[_0x20eb65(0x384)][_0x20eb65(0x362)](_0x210c9a[_0x20eb65(0x147)],_0x210c9a[_0x20eb65(0x3cd)],_0x210c9a[_0x20eb65(0x142)]);this[_0x20eb65(0x27f)](_0x210c9a,_0x33667c);});}))),this[_0x2b995a(0x1c8)](_0x50821e(this[_0x2b995a(0x384)][_0x2b995a(0x162)][_0x2b995a(0x36e)](_0x2c3b45(this[_0x2b995a(0x273)]))['subscribe'](_0x35c858=>{const _0x1b51ff=_0x2b995a;_0x35c858[_0x1b51ff(0x35f)](_0x1b564d=>this[_0x1b51ff(0x22f)](_0x1b564d));})));}[_0x1f10c6(0x1af)](){const _0x4c1897=_0x1f10c6;let _0x53cfe7=this['_renderContext'][_0x4c1897(0x147)],_0x576b52=this[_0x4c1897(0x384)][_0x4c1897(0x37a)](_0x53cfe7);Object[_0x4c1897(0x255)](_0x576b52)[_0x4c1897(0x35f)](([_0x542ae4,_0x272685])=>{const _0xaaf14c=_0x4c1897;Object[_0xaaf14c(0x361)](_0x272685['data'])['forEach'](_0x186b45=>{const _0x39a562=_0xaaf14c;this[_0x39a562(0x27f)]({'unitId':_0x53cfe7,'subUnitId':_0x542ae4,'elementId':_0x186b45[_0x39a562(0x142)]},_0x186b45);});});}['_handleElementUpdate'](_0x48db45){const _0x2c93bf=_0x1f10c6;if(_0x48db45[_0x2c93bf(0x147)]!==this[_0x2c93bf(0x3e1)][_0x2c93bf(0x147)])return;let _0x402eb3=this[_0x2c93bf(0x384)][_0x2c93bf(0x362)](_0x48db45[_0x2c93bf(0x147)],_0x48db45[_0x2c93bf(0x3cd)],_0x48db45[_0x2c93bf(0x142)]),_0x38e69c=_0x51f94c(_0x402eb3==null?void 0x0:_0x402eb3[_0x2c93bf(0x333)]),_0x411504=this[_0x2c93bf(0x22d)](_0x402eb3);if(!_0x38e69c||!_0x411504){this[_0x2c93bf(0x332)]['delete'](this['_getElementKey'](_0x48db45));return;}let _0x15e982=this[_0x2c93bf(0x424)](_0x48db45),_0x1dbf6e=this[_0x2c93bf(0x332)]['get'](_0x15e982);this['_nodeSizeByKey'][_0x2c93bf(0x27e)](_0x15e982,_0x411504),!(_0x1dbf6e&&_0x1dbf6e['width']===_0x411504['width']&&_0x1dbf6e[_0x2c93bf(0x26c)]===_0x411504[_0x2c93bf(0x26c)])&&this[_0x2c93bf(0x2c8)]({'unitId':_0x48db45[_0x2c93bf(0x147)],'subUnitId':_0x48db45[_0x2c93bf(0x3cd)],'scopeId':_0x38e69c[_0x2c93bf(0x3f1)]});}[_0x1f10c6(0x27f)](_0x37cf7c,_0x4d5cb0){const _0x33f0ab=_0x1f10c6;if(_0x37cf7c[_0x33f0ab(0x147)]!==this[_0x33f0ab(0x3e1)][_0x33f0ab(0x147)])return;let _0x27a050=_0x51f94c(_0x4d5cb0==null?void 0x0:_0x4d5cb0[_0x33f0ab(0x333)]),_0x13c121=this['_resolveNodeSize'](_0x4d5cb0);_0x27a050&&_0x13c121&&this['_nodeSizeByKey'][_0x33f0ab(0x27e)](this[_0x33f0ab(0x424)](_0x37cf7c),_0x13c121);}[_0x1f10c6(0x22d)](_0x52eda2){const _0x4c52e5=_0x1f10c6;let _0x1a0006=(_0x52eda2==null?void 0x0:_0x52eda2[_0x4c52e5(0x184)])??(_0x52eda2==null?void 0x0:_0x52eda2[_0x4c52e5(0x333)][_0x4c52e5(0x184)]),_0x3b5a6e=_0x1a0006==null?void 0x0:_0x1a0006['width'],_0x475424=_0x1a0006==null?void 0x0:_0x1a0006[_0x4c52e5(0x26c)];return!Number[_0x4c52e5(0x180)](_0x3b5a6e)||!Number[_0x4c52e5(0x180)](_0x475424)?null:{'width':_0x3b5a6e,'height':_0x475424};}[_0x1f10c6(0x2c8)](_0x275a0a){const _0x53598e=_0x1f10c6;this[_0x53598e(0x31c)][_0x53598e(0x27e)](_0x275a0a[_0x53598e(0x147)]+':'+_0x275a0a[_0x53598e(0x3cd)]+':'+_0x275a0a['scopeId'],_0x275a0a),!this[_0x53598e(0x2a6)]&&(this['_layoutFlushScheduled']=!0x0,Promise[_0x53598e(0x434)]()[_0x53598e(0x161)](()=>{const _0x573524=_0x53598e;this[_0x573524(0x2a6)]=!0x1;let _0x1f00a1=Array[_0x573524(0x1c0)](this[_0x573524(0x31c)][_0x573524(0x361)]());this[_0x573524(0x31c)][_0x573524(0x3c6)](),_0x1f00a1[_0x573524(0x35f)](_0x5a3d72=>{const _0x45e62f=_0x573524;this[_0x45e62f(0x17a)](_0x5a3d72);});}));}[_0x1f10c6(0x17a)](_0x100b0b){const _0x343747=_0x1f10c6;var _0x4e207e;let _0x5cfee4=this[_0x343747(0x384)]['getElementById'](_0x100b0b['unitId'],_0x100b0b[_0x343747(0x3cd)],_0x100b0b[_0x343747(0x3d1)]),_0x4334ae=(_0x4e207e=_0x195a16(_0x5cfee4==null?void 0x0:_0x5cfee4[_0x343747(0x333)]))==null?void 0x0:_0x4e207e[_0x343747(0x254)];this[_0x343747(0x210)][_0x343747(0x189)](_0x4a8bdc['id'],{..._0x100b0b,'skipUndo':!0x0,..._0x4334ae?{'anchorNodeId':_0x4334ae}:null});}[_0x1f10c6(0x424)](_0x309f8f){const _0x27b961=_0x1f10c6;return _0x309f8f['unitId']+':'+_0x309f8f['subUnitId']+':'+_0x309f8f[_0x27b961(0x142)];}};an=J([q(0x1,_0x2e0f98(_0x52d74d)),q(0x2,_0x56aea3)],an);const Y={'primaryColor':_0x140b36,'surfaceColor':_0x5c5253,'textColor':_0x5402c0,'fontFamily':_0xbb156e['ff']};function on(_0x59d474,_0x35f1c2){const _0x4445f1=_0x1f10c6;let _0x48d0d1=Math[_0x4445f1(0x167)](0x1,Math[_0x4445f1(0x3b7)](0x0,Number[_0x4445f1(0x180)](_0x35f1c2)?_0x35f1c2:0x1)),_0x1f20cd=_0x59d474['trim'](),_0x91b1a8=/^#([0-9a-fA-F]{6})$/[_0x4445f1(0x40f)](_0x1f20cd);if(!_0x91b1a8)return _0x59d474;let _0x33f01d=_0x91b1a8[0x1];return _0x4445f1(0x15c)+Number['parseInt'](_0x33f01d[_0x4445f1(0x3f9)](0x0,0x2),0x10)+',\x20'+Number[_0x4445f1(0x197)](_0x33f01d[_0x4445f1(0x3f9)](0x2,0x4),0x10)+',\x20'+Number[_0x4445f1(0x197)](_0x33f01d['slice'](0x4,0x6),0x10)+',\x20'+_0x48d0d1+')';}const X={'primaryColor':Y[_0x1f10c6(0x3b2)],'ghostFillColor':on(Y[_0x1f10c6(0x448)],0.72),'ghostTextColor':on(Y[_0x1f10c6(0x16e)],0.62),'rootTextColor':on(Y['surfaceColor'],0.86),'sourceHighlightFillColor':on(Y['primaryColor'],0.12),'sourceHighlightStrokeColor':on(Y['primaryColor'],0.9),'objectAlpha':0.72,'dragObjectAlpha':0.78,'connectorAlpha':0.64,'lineWidthScreen':0x2,'fallbackNodeWidth':_0x4c0c6a['nodeWidth'],'fallbackNodeHeight':_0x4c0c6a['nodeHeight'],'branchGap':_0x258b6f[_0x1f10c6(0x2cc)],'sourceHaloScreen':0x4,'ghostRadius':0x8,'rootRadius':0xa,'fontFamily':Y[_0x1f10c6(0x2ed)],'ghostFontWeight':0x1f4,'rootFontWeight':0x258,'rootFontSize':0x12,'textPaddingScreen':0xc,'dirtyPaddingScreen':0x18,'sourceDashScreen':[0x6,0x4]};function Z(_0x5734ac,_0x2b08e,_0x4ced9a,_0x18bec0,_0x379ec9,_0x2f1337){const _0x22a1fc=_0x1f10c6;let _0x54cfa5=Math['min'](_0x2f1337,_0x18bec0/0x2,_0x379ec9/0x2);_0x5734ac[_0x22a1fc(0x18a)](),_0x5734ac[_0x22a1fc(0x2fd)](_0x2b08e+_0x54cfa5,_0x4ced9a),_0x5734ac[_0x22a1fc(0x309)](_0x2b08e+_0x18bec0-_0x54cfa5,_0x4ced9a),_0x5734ac['quadraticCurveTo'](_0x2b08e+_0x18bec0,_0x4ced9a,_0x2b08e+_0x18bec0,_0x4ced9a+_0x54cfa5),_0x5734ac[_0x22a1fc(0x309)](_0x2b08e+_0x18bec0,_0x4ced9a+_0x379ec9-_0x54cfa5),_0x5734ac[_0x22a1fc(0x166)](_0x2b08e+_0x18bec0,_0x4ced9a+_0x379ec9,_0x2b08e+_0x18bec0-_0x54cfa5,_0x4ced9a+_0x379ec9),_0x5734ac[_0x22a1fc(0x309)](_0x2b08e+_0x54cfa5,_0x4ced9a+_0x379ec9),_0x5734ac['quadraticCurveTo'](_0x2b08e,_0x4ced9a+_0x379ec9,_0x2b08e,_0x4ced9a+_0x379ec9-_0x54cfa5),_0x5734ac['lineTo'](_0x2b08e,_0x4ced9a+_0x54cfa5),_0x5734ac[_0x22a1fc(0x166)](_0x2b08e,_0x4ced9a,_0x2b08e+_0x54cfa5,_0x4ced9a),_0x5734ac[_0x22a1fc(0x2b0)]();}function sn(_0x274ca1,_0x44310a,_0x58e57f){const _0x533019=_0x1f10c6;return _0x274ca1+'\x20'+_0x44310a/_0x58e57f+_0x533019(0x431)+X[_0x533019(0x2ed)];}const cn=_0x1f10c6(0x3c3),ln=_0x2a0926[_0x1f10c6(0x3c9)];function Q(_0x1a0c41,_0x1b44e0){const _0x399963=_0x1f10c6;return Number[_0x399963(0x180)](_0x1a0c41)?_0x1a0c41:_0x1b44e0;}function un(){return X['fallbackNodeWidth'];}function dn(){const _0x51206a=_0x1f10c6;return X[_0x51206a(0x29e)];}function fn(_0x53e3b9){const _0x4735a8=_0x1f10c6;return _0x53e3b9===0x1?_0x4735a8(0x233):_0x53e3b9===0x3?_0x4735a8(0x171):'center';}function pn(_0x1341ca,_0xbc75e9,_0x477b9b,_0x278678){return _0x477b9b===0x1?_0x1341ca+_0x278678:_0x477b9b===0x3?_0x1341ca+_0xbc75e9-_0x278678:_0x1341ca+_0xbc75e9/0x2;}var mn=class extends _0x48d510{constructor(_0x28dbdf=cn,_0xc37dbd){const _0x3e3dad=_0x1f10c6;super(_0x28dbdf),K(this,_0x3e3dad(0x2c7),{'ghostBounds':null,'parentBounds':null,'side':_0x3e3dad(0x171),'zoomRatio':0x1}),this[_0x3e3dad(0x14b)]=!0x1,this[_0x3e3dad(0x1bf)]=_0x3d308f[_0x3e3dad(0x1b6)],this[_0x3e3dad(0x3c5)](_0xc37dbd);}[_0x1f10c6(0x3c5)](_0x41e32d){const _0x1e8801=_0x1f10c6;if(this[_0x1e8801(0x2c7)]={...this[_0x1e8801(0x2c7)],..._0x41e32d},this['_state'][_0x1e8801(0x2fe)]){let _0x27e9da=this[_0x1e8801(0x400)]();this[_0x1e8801(0x33b)](_0x27e9da),this[_0x1e8801(0x417)]();}else this[_0x1e8801(0x140)]();let _0x50c66c=this;typeof _0x50c66c[_0x1e8801(0x459)]==_0x1e8801(0x22e)?_0x50c66c[_0x1e8801(0x459)](!0x0):this[_0x1e8801(0x359)](!0x0);}[_0x1f10c6(0x203)](_0x48d073){return!0x1;}[_0x1f10c6(0x18f)](_0x2b968a,_0x589ef8){const _0x3923b8=_0x1f10c6;let _0x4d046c=this[_0x3923b8(0x2c7)]['ghostBounds'];if(!_0x4d046c||!this[_0x3923b8(0x2df)])return this[_0x3923b8(0x359)](!0x1),this;let _0x3b1148=Number[_0x3923b8(0x180)](this[_0x3923b8(0x2c7)][_0x3923b8(0x368)])&&(this[_0x3923b8(0x2c7)][_0x3923b8(0x368)]??0x0)>0x0?this['_state']['zoomRatio']:0x1,_0x325d99=Q(_0x4d046c['left'],0x0),_0x2e053a=Q(_0x4d046c['top'],0x0),_0x3d404b=Math[_0x3923b8(0x3b7)](0x1,Q(_0x4d046c[_0x3923b8(0x246)],un())),_0x2e8d17=Math[_0x3923b8(0x3b7)](0x1,Q(_0x4d046c[_0x3923b8(0x26c)],dn()));if(_0x2b968a[_0x3923b8(0x38e)](),_0x2b968a[_0x3923b8(0x422)]=X[_0x3923b8(0x18c)],_0x2b968a['lineWidth']=X[_0x3923b8(0x259)]/_0x3b1148,_0x2b968a['strokeStyle']=X[_0x3923b8(0x3b2)],_0x2b968a[_0x3923b8(0x285)]=X['ghostFillColor'],this[_0x3923b8(0x263)](_0x2b968a,{'left':_0x325d99,'top':_0x2e053a,'width':_0x3d404b,'height':_0x2e8d17},_0x3b1148),this['_drawSourceHighlight'](_0x2b968a,_0x3b1148),this['_state']['renderGhostNode']===!0x1)return _0x2b968a[_0x3923b8(0x251)](),this[_0x3923b8(0x359)](!0x1),this;Z(_0x2b968a,_0x325d99,_0x2e053a,_0x3d404b,_0x2e8d17,X[_0x3923b8(0x295)]),_0x2b968a['fill'](),_0x2b968a[_0x3923b8(0x45a)]();let _0xd4da58=this[_0x3923b8(0x2c7)][_0x3923b8(0x436)],_0x1c26ec=Number[_0x3923b8(0x180)](_0xd4da58==null?void 0x0:_0xd4da58[_0x3923b8(0x1b9)])&&((_0xd4da58==null?void 0x0:_0xd4da58['fontSize'])??0x0)>0x0?_0xd4da58[_0x3923b8(0x1b9)]:0x10,_0x4197a4=X[_0x3923b8(0x45f)]/_0x3b1148;return _0x2b968a[_0x3923b8(0x285)]=(_0xd4da58==null?void 0x0:_0xd4da58[_0x3923b8(0x143)])??X[_0x3923b8(0x2aa)],_0x2b968a[_0x3923b8(0x44b)]=sn(X[_0x3923b8(0x319)],_0x1c26ec,_0x3b1148),_0x2b968a[_0x3923b8(0x247)]=fn(_0xd4da58==null?void 0x0:_0xd4da58[_0x3923b8(0x378)]),_0x2b968a[_0x3923b8(0x25d)]='middle',_0x2b968a[_0x3923b8(0x2ab)]((_0xd4da58==null?void 0x0:_0xd4da58['text'])||_0x35edc8,pn(_0x325d99,_0x3d404b,_0xd4da58==null?void 0x0:_0xd4da58[_0x3923b8(0x378)],_0x4197a4),_0x2e053a+_0x2e8d17/0x2,Math['max'](0x1,_0x3d404b-_0x4197a4*0x2)),_0x2b968a['restore'](),this[_0x3923b8(0x359)](!0x1),this;}[_0x1f10c6(0x400)](){const _0x6e3dc1=_0x1f10c6;let _0x532673=this[_0x6e3dc1(0x2c7)][_0x6e3dc1(0x2fe)],_0x4b8a1e=Number['isFinite'](this['_state'][_0x6e3dc1(0x368)])&&(this[_0x6e3dc1(0x2c7)][_0x6e3dc1(0x368)]??0x0)>0x0?this['_state'][_0x6e3dc1(0x368)]:0x1,_0x17cf33=X[_0x6e3dc1(0x2bb)]/_0x4b8a1e;if(!_0x532673)return{'left':0x0,'top':0x0,'width':0x1,'height':0x1};let _0x10b96e=Q(_0x532673[_0x6e3dc1(0x233)],0x0),_0x31224e=Q(_0x532673[_0x6e3dc1(0x41d)],0x0),_0xc28058=Math['max'](0x1,Q(_0x532673[_0x6e3dc1(0x246)],un())),_0xdc284e=Math['max'](0x1,Q(_0x532673[_0x6e3dc1(0x26c)],dn())),_0x208b3a=this[_0x6e3dc1(0x2c7)][_0x6e3dc1(0x2d1)],_0x16b217=this['_state'][_0x6e3dc1(0x37e)],_0x2f88fd=Q(_0x208b3a==null?void 0x0:_0x208b3a[_0x6e3dc1(0x233)],_0x10b96e),_0x42d12c=Q(_0x208b3a==null?void 0x0:_0x208b3a['top'],_0x31224e),_0x3df701=Math[_0x6e3dc1(0x3b7)](0x1,Q(_0x208b3a==null?void 0x0:_0x208b3a[_0x6e3dc1(0x246)],_0xc28058)),_0x3f5beb=Math['max'](0x1,Q(_0x208b3a==null?void 0x0:_0x208b3a[_0x6e3dc1(0x26c)],_0xdc284e));if(!_0x16b217){let _0x40abe6=Math[_0x6e3dc1(0x167)](_0x10b96e,_0x2f88fd)-_0x17cf33,_0xb91242=Math['min'](_0x31224e,_0x42d12c)-_0x17cf33,_0x3e10cf=Math['max'](_0x10b96e+_0xc28058,_0x2f88fd+_0x3df701)+_0x17cf33,_0x15a6a6=Math['max'](_0x31224e+_0xdc284e,_0x42d12c+_0x3f5beb)+_0x17cf33;return{'left':_0x40abe6,'top':_0xb91242,'width':_0x3e10cf-_0x40abe6,'height':_0x15a6a6-_0xb91242};}let _0x385811=Q(_0x16b217['left'],_0x10b96e),_0x438ed0=Q(_0x16b217[_0x6e3dc1(0x41d)],_0x31224e),_0x4cd721=Math[_0x6e3dc1(0x3b7)](0x1,Q(_0x16b217[_0x6e3dc1(0x246)],un())),_0x204fe0=Math[_0x6e3dc1(0x3b7)](0x1,Q(_0x16b217[_0x6e3dc1(0x26c)],dn())),_0x594cbb=Math[_0x6e3dc1(0x167)](_0x10b96e,_0x385811,_0x2f88fd)-_0x17cf33,_0x946954=Math[_0x6e3dc1(0x167)](_0x31224e,_0x438ed0,_0x42d12c)-_0x17cf33,_0x3d792e=Math[_0x6e3dc1(0x3b7)](_0x10b96e+_0xc28058,_0x385811+_0x4cd721,_0x2f88fd+_0x3df701)+_0x17cf33,_0x1524c8=Math[_0x6e3dc1(0x3b7)](_0x31224e+_0xdc284e,_0x438ed0+_0x204fe0,_0x42d12c+_0x3f5beb)+_0x17cf33;return{'left':_0x594cbb,'top':_0x946954,'width':_0x3d792e-_0x594cbb,'height':_0x1524c8-_0x946954};}[_0x1f10c6(0x2e8)](_0x3f939c,_0x15630b){const _0x2fbf0c=_0x1f10c6;var _0x3ca552;let _0x5c9a95=this[_0x2fbf0c(0x2c7)]['sourceBounds'];if(!_0x5c9a95)return;let _0x402493=X['sourceHaloScreen']/_0x15630b,_0x57c48c=Q(_0x5c9a95[_0x2fbf0c(0x233)],0x0)-_0x402493,_0x457d98=Q(_0x5c9a95[_0x2fbf0c(0x41d)],0x0)-_0x402493,_0x405b92=Math[_0x2fbf0c(0x3b7)](0x1,Q(_0x5c9a95[_0x2fbf0c(0x246)],un()))+_0x402493*0x2,_0x1cc7a8=Math[_0x2fbf0c(0x3b7)](0x1,Q(_0x5c9a95[_0x2fbf0c(0x26c)],dn()))+_0x402493*0x2;_0x3f939c[_0x2fbf0c(0x38e)](),_0x3f939c['globalAlpha']=0x1,_0x3f939c[_0x2fbf0c(0x33f)]=X[_0x2fbf0c(0x259)]/_0x15630b,_0x3f939c[_0x2fbf0c(0x16a)]=X['sourceHighlightStrokeColor'],_0x3f939c[_0x2fbf0c(0x285)]=X[_0x2fbf0c(0x2af)],(_0x3ca552=_0x3f939c[_0x2fbf0c(0x3e3)])==null||_0x3ca552[_0x2fbf0c(0x266)](_0x3f939c,X[_0x2fbf0c(0x43b)]['map'](_0x75acb0=>_0x75acb0/_0x15630b)),Z(_0x3f939c,_0x57c48c,_0x457d98,_0x405b92,_0x1cc7a8,X[_0x2fbf0c(0x3eb)]),_0x3f939c[_0x2fbf0c(0x31a)](),_0x3f939c[_0x2fbf0c(0x45a)](),_0x3f939c[_0x2fbf0c(0x251)]();}[_0x1f10c6(0x263)](_0x4ce208,_0x514003,_0x270e98){const _0x351318=_0x1f10c6;let _0x1efde3=this['_state'][_0x351318(0x37e)];if(!_0x1efde3)return;let _0x2f5759=Q(_0x1efde3[_0x351318(0x233)],0x0),_0x16e9e8=Q(_0x1efde3[_0x351318(0x41d)],0x0),_0x4f55f9=Math[_0x351318(0x3b7)](0x1,Q(_0x1efde3[_0x351318(0x246)],un())),_0x172177=Math[_0x351318(0x3b7)](0x1,Q(_0x1efde3['height'],dn())),_0x2f003e=X['branchGap'],_0x34a5dd=this[_0x351318(0x2c7)][_0x351318(0x2a3)]??_0x351318(0x171);if(_0x4ce208[_0x351318(0x38e)](),_0x4ce208[_0x351318(0x422)]=X[_0x351318(0x221)],_0x4ce208[_0x351318(0x16a)]=X['primaryColor'],_0x4ce208[_0x351318(0x33f)]=X[_0x351318(0x259)]/_0x270e98,_0x4ce208['lineCap']=_0x351318(0x272),_0x4ce208[_0x351318(0x3da)]=_0x351318(0x272),_0x4ce208[_0x351318(0x18a)](),_0x34a5dd==='top'||_0x34a5dd==='bottom'){let _0x446494=_0x2f5759+_0x4f55f9/0x2,_0x3858ce=_0x514003[_0x351318(0x233)]+_0x514003[_0x351318(0x246)]/0x2,_0x4ba0d2=_0x34a5dd===_0x351318(0x392)?_0x16e9e8+_0x172177:_0x16e9e8,_0x24bd71=_0x34a5dd===_0x351318(0x392)?_0x514003['top']:_0x514003['top']+_0x514003['height'],_0x1b9058=_0x34a5dd===_0x351318(0x392)?Math[_0x351318(0x167)](_0x4ba0d2+_0x2f003e,(_0x4ba0d2+_0x24bd71)/0x2):Math[_0x351318(0x3b7)](_0x4ba0d2-_0x2f003e,(_0x4ba0d2+_0x24bd71)/0x2);_0x4ce208['moveTo'](_0x446494,_0x4ba0d2),_0x4ce208[_0x351318(0x309)](_0x446494,_0x1b9058),_0x4ce208[_0x351318(0x309)](_0x3858ce,_0x1b9058),_0x4ce208[_0x351318(0x309)](_0x3858ce,_0x24bd71);}else{let _0x11c038=_0x16e9e8+_0x172177/0x2,_0x4b068b=_0x514003[_0x351318(0x41d)]+_0x514003[_0x351318(0x26c)]/0x2,_0x1842c4=_0x34a5dd===_0x351318(0x171)?_0x2f5759+_0x4f55f9:_0x2f5759,_0x5aa31f=_0x34a5dd==='right'?_0x514003[_0x351318(0x233)]:_0x514003[_0x351318(0x233)]+_0x514003['width'],_0xb990a7=_0x34a5dd===_0x351318(0x171)?Math[_0x351318(0x167)](_0x1842c4+_0x2f003e,(_0x1842c4+_0x5aa31f)/0x2):Math[_0x351318(0x3b7)](_0x1842c4-_0x2f003e,(_0x1842c4+_0x5aa31f)/0x2);_0x4ce208[_0x351318(0x2fd)](_0x1842c4,_0x11c038),_0x4ce208[_0x351318(0x309)](_0xb990a7,_0x11c038),_0x4ce208[_0x351318(0x309)](_0xb990a7,_0x4b068b),_0x4ce208['lineTo'](_0x5aa31f,_0x4b068b);}_0x4ce208[_0x351318(0x45a)](),_0x4ce208['restore']();}};function hn(_0x57630d,_0x1184a9){const _0x3268cc=_0x1f10c6;return(_0x1184a9==null?void 0x0:_0x1184a9[_0x57630d[_0x3268cc(0x142)]])??_0x57630d[_0x3268cc(0x333)][_0x3268cc(0x184)];}function gn(_0x557b7c,_0x29e159){const _0x155e79=_0x1f10c6;let _0x45a81c=hn(_0x557b7c,_0x29e159);return{'x':(_0x45a81c[_0x155e79(0x233)]??0x0)+(_0x45a81c['width']??0x0)/0x2,'y':(_0x45a81c[_0x155e79(0x41d)]??0x0)+(_0x45a81c[_0x155e79(0x26c)]??0x0)/0x2};}function _n(_0x266aea,_0x5a6cb1){const _0x505344=_0x1f10c6;return Math[_0x505344(0x234)](_0x266aea['x']-_0x5a6cb1['x'],_0x266aea['y']-_0x5a6cb1['y']);}function vn(_0x5441dc,_0x5c2c7c){const _0x23e8eb=_0x1f10c6;let _0x251f57=_0x5441dc[_0x23e8eb(0x233)]??0x0,_0x1283b1=_0x5441dc['top']??0x0,_0x528328=_0x251f57+(_0x5441dc[_0x23e8eb(0x246)]??0x0),_0x13750c=_0x1283b1+(_0x5441dc['height']??0x0),_0x5bd6a0=_0x5c2c7c['left']??0x0,_0x4d3449=_0x5c2c7c['top']??0x0,_0x2debcd=_0x5bd6a0+(_0x5c2c7c[_0x23e8eb(0x246)]??0x0),_0x2bbda2=_0x4d3449+(_0x5c2c7c[_0x23e8eb(0x26c)]??0x0),_0x2df2a2=Math['max'](_0x5bd6a0-_0x528328,_0x251f57-_0x2debcd,0x0),_0x2416e1=Math[_0x23e8eb(0x3b7)](_0x4d3449-_0x13750c,_0x1283b1-_0x2bbda2,0x0);return Math[_0x23e8eb(0x234)](_0x2df2a2,_0x2416e1);}function yn(_0x1147db,_0x54136d,_0x2ef04b){const _0x496764=_0x1f10c6;var _0x37733c;let _0x3f8c77=_0x51f94c((_0x37733c=_0x1147db[_0x54136d])==null?void 0x0:_0x37733c[_0x496764(0x333)]);for(;_0x3f8c77!=null&&_0x3f8c77['parentNodeId'];){var _0x456bad;if(_0x3f8c77[_0x496764(0x2d9)]===_0x2ef04b)return!0x0;_0x3f8c77=_0x51f94c((_0x456bad=_0x1147db[_0x3f8c77['parentNodeId']])==null?void 0x0:_0x456bad['element']);}return!0x1;}function bn(_0x53b879,_0x25dcce,_0x16368e){const _0x474e7d=_0x1f10c6;let _0x329c9c=hn(_0x53b879,_0x16368e),_0x2ed0f2=_0x329c9c['top']??0x0,_0x2ec993=_0x329c9c[_0x474e7d(0x26c)]??0x0;return _0x2ec993<=0x0?null:_0x25dcce['y']<=_0x2ed0f2+_0x2ec993/0x3?'before':_0x25dcce['y']>=_0x2ed0f2+_0x2ec993*0x2/0x3?_0x474e7d(0x250):null;}function xn(_0x3caddb,_0x31fcd5){const _0x3c396e=_0x1f10c6;let _0x3e1399=_0x31fcd5==null?void 0x0:_0x31fcd5[_0x3caddb];return Number[_0x3c396e(0x180)](_0x3e1399==null?void 0x0:_0x3e1399[_0x3c396e(0x233)])&&Number[_0x3c396e(0x180)](_0x3e1399==null?void 0x0:_0x3e1399['top'])?{'kind':_0x3c396e(0x2a7),'left':_0x3e1399[_0x3c396e(0x233)],'top':_0x3e1399[_0x3c396e(0x41d)]}:{'kind':_0x3c396e(0x2a7)};}function Sn(_0x271431,_0x14faff,_0x58a07f){const _0x57c129=_0x1f10c6;let _0x4efcc9=_0x271431[_0x14faff],_0x236839=_0x51f94c(_0x4efcc9==null?void 0x0:_0x4efcc9[_0x57c129(0x333)]);if(!_0x4efcc9||!_0x236839||!_0x236839[_0x57c129(0x2d9)]&&!(_0x58a07f!=null&&_0x58a07f[_0x57c129(0x1ab)]))return{'kind':_0x57c129(0x3e6)};let _0x5e2017=_0x58a07f==null?void 0x0:_0x58a07f[_0x57c129(0x1b3)],_0x323ee0=hn(_0x4efcc9,_0x5e2017),_0x24dd3a=gn(_0x4efcc9,_0x5e2017),_0x5c82a6=Object[_0x57c129(0x361)](_0x271431)[_0x57c129(0x28f)](_0x54111f=>{const _0x7f29d4=_0x57c129;let _0x1bb837=_0x51f94c(_0x54111f[_0x7f29d4(0x333)]);return!_0x1bb837||_0x54111f[_0x7f29d4(0x142)]===_0x14faff||_0x54111f[_0x7f29d4(0x142)]===_0x236839[_0x7f29d4(0x2d9)]||_0x58a07f!=null&&_0x58a07f['allowRootReparent']&&!_0x236839[_0x7f29d4(0x2d9)]&&_0x1bb837[_0x7f29d4(0x3f1)]===_0x236839[_0x7f29d4(0x3f1)]||yn(_0x271431,_0x54111f['elementId'],_0x14faff)?null:{'item':_0x54111f,'snapDistance':vn(_0x323ee0,hn(_0x54111f,_0x5e2017)),'center':gn(_0x54111f,_0x5e2017)};})[_0x57c129(0x3f7)](_0x51d583=>!!_0x51d583)[_0x57c129(0x194)]((_0x3aef17,_0x303ae0)=>_0x3aef17[_0x57c129(0x1e5)]-_0x303ae0[_0x57c129(0x1e5)]||_n(_0x24dd3a,_0x3aef17[_0x57c129(0x346)])-_n(_0x24dd3a,_0x303ae0[_0x57c129(0x346)]))[0x0];if(_0x5c82a6&&_0x5c82a6[_0x57c129(0x1e5)]<=0x64){let _0xbf991=_0x51f94c(_0x5c82a6[_0x57c129(0x2f1)]['element']),_0x336154=_0xbf991!=null&&_0xbf991['parentNodeId']?bn(_0x5c82a6['item'],_0x24dd3a,_0x5e2017):null;return _0xbf991!=null&&_0xbf991[_0x57c129(0x2d9)]&&_0x336154?{'kind':'reparent','newParentNodeId':_0xbf991[_0x57c129(0x2d9)],'side':_0xbf991['side']??'right','referenceNodeId':_0x5c82a6[_0x57c129(0x2f1)][_0x57c129(0x142)],'placement':_0x336154}:{'kind':_0x57c129(0x14c),'newParentNodeId':_0x5c82a6[_0x57c129(0x2f1)][_0x57c129(0x142)],'side':_0x24dd3a['x']<_0x5c82a6[_0x57c129(0x346)]['x']?_0x57c129(0x233):_0x57c129(0x171)};}if(_0x58a07f!=null&&_0x58a07f[_0x57c129(0x317)])return xn(_0x14faff,_0x5e2017);if(!_0x236839[_0x57c129(0x2d9)])return{'kind':'none'};let _0x3ff708=_0x271431[_0x236839[_0x57c129(0x2d9)]];return _0x3ff708&&_n(_0x24dd3a,gn(_0x3ff708,_0x5e2017))>0x230?xn(_0x14faff,_0x5e2017):{'kind':_0x57c129(0x3e6)};}function Cn(_0x4e19df,_0x345d40){const _0x4b3744=_0x1f10c6;var _0x47730b,_0x25c68a;return _0x4e19df['elementId']===_0x345d40||((_0x47730b=_0x51f94c(_0x4e19df['element']))==null?void 0x0:_0x47730b[_0x4b3744(0x3f1)])===_0x345d40||((_0x25c68a=_0x2139e0(_0x4e19df[_0x4b3744(0x333)]))==null?void 0x0:_0x25c68a[_0x4b3744(0x3f1)])===_0x345d40;}function wn(_0x106a3,_0x4b630f,_0x16589d,_0xa33236){const _0xb63a12=_0x1f10c6;let _0x48ddfa=_0x106a3[_0x4b630f];if(!_0x48ddfa)return _0x106a3;let _0x5f510b=_0x48ddfa[_0xb63a12(0x184)]??_0x48ddfa[_0xb63a12(0x333)][_0xb63a12(0x184)]??{};return{..._0x106a3,[_0x4b630f]:{..._0x48ddfa,'transform':{..._0x5f510b,'left':(_0x5f510b[_0xb63a12(0x233)]??0x0)+_0x16589d,'top':(_0x5f510b[_0xb63a12(0x41d)]??0x0)+_0xa33236},'element':{..._0x48ddfa['element'],'transform':{..._0x48ddfa[_0xb63a12(0x333)][_0xb63a12(0x184)],'left':(_0x48ddfa['element']['transform'][_0xb63a12(0x233)]??0x0)+_0x16589d,'top':(_0x48ddfa[_0xb63a12(0x333)][_0xb63a12(0x184)][_0xb63a12(0x41d)]??0x0)+_0xa33236}}}};}function Tn(_0x4e0988){const _0x377ccf=_0x1f10c6;if(!Number[_0x377ccf(0x180)](_0x4e0988['liveRootBounds'][_0x377ccf(0x233)])||!Number[_0x377ccf(0x180)](_0x4e0988[_0x377ccf(0x34c)][_0x377ccf(0x41d)])||!Number[_0x377ccf(0x180)](_0x4e0988[_0x377ccf(0x34f)][_0x377ccf(0x233)])||!Number['isFinite'](_0x4e0988[_0x377ccf(0x34f)][_0x377ccf(0x41d)]))return null;let _0x3bf676=_0x4e0988[_0x377ccf(0x34c)][_0x377ccf(0x233)]-_0x4e0988['rootStartBounds'][_0x377ccf(0x233)],_0x59d1af=_0x4e0988['liveRootBounds'][_0x377ccf(0x41d)]-_0x4e0988[_0x377ccf(0x34f)][_0x377ccf(0x41d)],_0x402609=wn(_0x4e0988['elementData'],_0x4e0988['scopeId'],_0x3bf676,_0x59d1af),_0x4b378c=[];return Object['values'](_0x402609)[_0x377ccf(0x35f)](_0x795678=>{const _0x710ef7=_0x377ccf;if(_0x795678['elementId']===_0x4e0988[_0x710ef7(0x254)]||_0x795678[_0x710ef7(0x142)]===_0x4e0988[_0x710ef7(0x3d1)]||!Cn(_0x795678,_0x4e0988[_0x710ef7(0x3d1)]))return;if(_0x710ef7(0x212)in _0x795678['element']){var _0x116d9b;let _0x406f4c=(_0x116d9b=_0x4e0988[_0x710ef7(0x19b)][_0x795678[_0x710ef7(0x142)]])==null?void 0x0:_0x116d9b[_0x710ef7(0x333)];_0x406f4c&&'connectorData'in _0x406f4c&&_0x4b378c['push']({'kind':_0x710ef7(0x43c),'elementId':_0x795678['elementId'],'element':_0x1e48b9(_0x406f4c,{'x':_0x3bf676,'y':_0x59d1af})});return;}let _0x4e2926=_0x401f4b(_0x402609,_0x795678[_0x710ef7(0x142)]);_0x4e2926&&_0x4b378c[_0x710ef7(0x292)]({'kind':_0x710ef7(0x24d),'elementId':_0x795678[_0x710ef7(0x142)],'bounds':_0x4e2926});}),{'deltaX':_0x3bf676,'deltaY':_0x59d1af,'elementData':_0x402609,'items':_0x4b378c};}let En=class extends _0x9852b5{constructor(_0x36d802,_0x55d70c,_0x15bbeb,_0x22bd82,_0x50e73d,_0x1be101,_0x1393a3){const _0x103286=_0x1f10c6;super(),this['_renderContext']=_0x36d802,this[_0x103286(0x384)]=_0x55d70c,this['_elementStateService']=_0x15bbeb,this[_0x103286(0x210)]=_0x22bd82,this[_0x103286(0x452)]=_0x50e73d,this[_0x103286(0x26a)]=_0x1be101,this['_undoRedoGroupService']=_0x1393a3,K(this,_0x103286(0x164),null),K(this,_0x103286(0x294),null),K(this,_0x103286(0x1a5),null),K(this,_0x103286(0x144),!0x1),K(this,_0x103286(0x25b),null),K(this,_0x103286(0x3b9),null),K(this,_0x103286(0x1cc),!0x1),K(this,'_activePointerDragDisposables',null),K(this,_0x103286(0x13f),!0x1),this[_0x103286(0x347)]();}[_0x1f10c6(0x347)](){const _0x2ca065=_0x1f10c6;var _0x2828e2,_0x32ec4d,_0x5c0bf8,_0x3a5619,_0x5744d4;let _0x4d8933=this[_0x2ca065(0x3e1)][_0x2ca065(0x156)][_0x2ca065(0x165)]();this[_0x2ca065(0x1c8)](_0x50821e(_0x4d8933[_0x2ca065(0x16b)][_0x2ca065(0x36e)](_0x2c3b45(this['dispose$']))[_0x2ca065(0x3c8)](()=>{this['_captureDragStart']();}))),this[_0x2ca065(0x1c8)](_0x50821e(((_0x2828e2=_0x4d8933[_0x2ca065(0x328)])==null?void 0x0:_0x2828e2['pipe'](_0x2c3b45(this[_0x2ca065(0x273)]))[_0x2ca065(0x3c8)](_0x4147fb=>{const _0x11b42b=_0x2ca065;this[_0x11b42b(0x372)](_0x4147fb==null?void 0x0:_0x4147fb[_0x11b42b(0x427)]);}))??{'dispose':()=>{}})),this[_0x2ca065(0x1c8)](_0x50821e(_0x4d8933[_0x2ca065(0x45b)][_0x2ca065(0x36e)](_0x2c3b45(this[_0x2ca065(0x273)]))[_0x2ca065(0x3c8)](_0x1eacdf=>{const _0x4e6a76=_0x2ca065;setTimeout(()=>this[_0x4e6a76(0x1d9)](_0x1eacdf==null?void 0x0:_0x1eacdf[_0x4e6a76(0x427)]),0x0);}))),this['disposeWithMe'](_0x50821e(((_0x32ec4d=this[_0x2ca065(0x3e1)][_0x2ca065(0x156)]['onPointerDown$'])==null?void 0x0:_0x32ec4d[_0x2ca065(0x3f4)]({'priority':0x3,'next':([_0x131538])=>this[_0x2ca065(0x176)](_0x131538)}))??{'dispose':()=>{}})),this[_0x2ca065(0x1c8)](_0x50821e(((_0x5c0bf8=this['_renderContext'][_0x2ca065(0x156)][_0x2ca065(0x1ef)])==null?void 0x0:_0x5c0bf8[_0x2ca065(0x3f4)]({'priority':0x3,'next':([_0x149070,_0x1c9b26])=>this[_0x2ca065(0x3ed)](_0x149070,_0x1c9b26)}))??{'dispose':()=>{}})),this[_0x2ca065(0x1c8)](_0x50821e(((_0x3a5619=this[_0x2ca065(0x3e1)][_0x2ca065(0x156)]['onPointerUp$'])==null?void 0x0:_0x3a5619[_0x2ca065(0x3f4)]({'priority':0x3,'next':([_0x40f34d,_0x468dc2])=>this[_0x2ca065(0x3a8)](_0x40f34d,_0x468dc2)}))??{'dispose':()=>{}})),this[_0x2ca065(0x1c8)](_0x50821e(((_0x5744d4=this[_0x2ca065(0x3e1)][_0x2ca065(0x156)][_0x2ca065(0x3a1)])==null?void 0x0:_0x5744d4[_0x2ca065(0x3f4)]({'priority':0x3,'next':([,_0x1239c1])=>this['_cancelPointerChildDrag'](_0x1239c1)}))??{'dispose':()=>{}})),this['disposeWithMe'](_0x50821e(()=>{const _0x4f71d9=_0x2ca065;var _0x1541ce;return(_0x1541ce=this[_0x4f71d9(0x3b9)])==null?void 0x0:_0x1541ce[_0x4f71d9(0x3c0)]();})),this[_0x2ca065(0x1c8)](_0x50821e(()=>this[_0x2ca065(0x32e)]())),this[_0x2ca065(0x22a)](),this[_0x2ca065(0x310)](),this[_0x2ca065(0x1c8)](_0x50821e(()=>this[_0x2ca065(0x1e6)]()));}[_0x1f10c6(0x22a)](){const _0x5e1620=_0x1f10c6;[this[_0x5e1620(0x384)][_0x5e1620(0x289)],this[_0x5e1620(0x384)][_0x5e1620(0x162)],this[_0x5e1620(0x384)][_0x5e1620(0x429)]][_0x5e1620(0x35f)](_0xec5850=>{const _0x336b97=_0x5e1620;this[_0x336b97(0x1c8)](_0x50821e(_0xec5850[_0x336b97(0x36e)](_0x2c3b45(this[_0x336b97(0x273)]))[_0x336b97(0x3c8)](()=>{const _0x4d262a=_0x336b97;this[_0x4d262a(0x310)]();})));}),this[_0x5e1620(0x2cf)]['state$']&&this[_0x5e1620(0x1c8)](_0x50821e(this[_0x5e1620(0x2cf)][_0x5e1620(0x313)]['pipe'](_0x2c3b45(this[_0x5e1620(0x273)]))[_0x5e1620(0x3c8)](()=>{const _0x2bd51b=_0x5e1620;this[_0x2bd51b(0x310)]();})));}[_0x1f10c6(0x310)](){const _0x15d9a6=_0x1f10c6;this[_0x15d9a6(0x1cc)]||(this[_0x15d9a6(0x1cc)]=!0x0,Promise[_0x15d9a6(0x434)]()[_0x15d9a6(0x161)](()=>this[_0x15d9a6(0x3ce)]()));}[_0x1f10c6(0x3ce)](){const _0x29ba5d=_0x1f10c6;var _0x3c7be7;this[_0x29ba5d(0x1cc)]=!0x1;let _0x1a1028=this[_0x29ba5d(0x209)](),_0x6afe5=this[_0x29ba5d(0x3e1)]['scene'];if(!_0x1a1028||typeof _0x6afe5[_0x29ba5d(0x301)]!=_0x29ba5d(0x22e))return;let _0x363bad=this[_0x29ba5d(0x384)]['getElementData'](_0x1a1028[_0x29ba5d(0x147)],_0x1a1028[_0x29ba5d(0x3cd)]),_0x6203b5=new _0x308d99();(_0x3c7be7=this[_0x29ba5d(0x3b9)])==null||_0x3c7be7[_0x29ba5d(0x3c0)](),this['_objectPointerDisposables']=_0x6203b5,Object['values'](_0x363bad)[_0x29ba5d(0x35f)](_0x485a2b=>{const _0x8e4f7e=_0x29ba5d;var _0x466c8b,_0x3504a8;let _0x45691b=_0x51f94c(_0x485a2b[_0x8e4f7e(0x333)]);if(!(_0x45691b!=null&&_0x45691b[_0x8e4f7e(0x2d9)]))return;let _0x644423=_0x10c90a(_0x1a1028[_0x8e4f7e(0x147)],_0x485a2b[_0x8e4f7e(0x142)]),_0x1e7771=((_0x466c8b=_0x6afe5[_0x8e4f7e(0x19f)])==null?void 0x0:_0x466c8b['call'](_0x6afe5,_0x644423))??((_0x3504a8=_0x6afe5[_0x8e4f7e(0x301)])==null?void 0x0:_0x3504a8[_0x8e4f7e(0x266)](_0x6afe5,_0x644423));_0x1e7771!=null&&_0x1e7771['onPointerDown$']&&_0x6203b5[_0x8e4f7e(0x2c0)](_0x1e7771[_0x8e4f7e(0x38f)][_0x8e4f7e(0x3f4)]({'priority':-0xa,'next':([_0x23050e,_0x37ebc5])=>this[_0x8e4f7e(0x176)](_0x23050e,{'unitId':_0x1a1028[_0x8e4f7e(0x147)],'subUnitId':_0x1a1028[_0x8e4f7e(0x3cd)],'nodeId':_0x485a2b[_0x8e4f7e(0x142)]},_0x37ebc5)}));});}[_0x1f10c6(0x209)](){const _0x762b7f=_0x1f10c6;let _0x2ede87=this[_0x762b7f(0x2cf)][_0x762b7f(0x226)]()['context'];if(_0x2ede87)return _0x2ede87;let _0x894e6d=this[_0x762b7f(0x3e1)][_0x762b7f(0x147)],_0x382247=_0x894e6d?this[_0x762b7f(0x26a)][_0x762b7f(0x2b6)](_0x894e6d,_0x25af0d['UNIVER_BOARD']):null,_0x214316=_0x382247==null?void 0x0:_0x382247['getActivePageId']();return!_0x382247||!_0x214316?null:{'unitId':_0x382247[_0x762b7f(0x163)](),'subUnitId':_0x214316};}['_captureDragStart'](){const _0x34a28f=_0x1f10c6;let _0x317169=this[_0x34a28f(0x2cf)][_0x34a28f(0x226)]();this[_0x34a28f(0x144)]=!0x1,this[_0x34a28f(0x13f)]=!0x1,this[_0x34a28f(0x25b)]=null;let _0x339be4=_0x317169[_0x34a28f(0x27a)],_0x107ecc=_0x317169[_0x34a28f(0x1d7)]??_0x317169[_0x34a28f(0x235)][0x0];if(!_0x339be4||!_0x107ecc){this[_0x34a28f(0x164)]=null,this[_0x34a28f(0x1e6)]();return;}let _0x3c6496=this[_0x34a28f(0x384)][_0x34a28f(0x258)](_0x339be4[_0x34a28f(0x147)],_0x339be4['subUnitId']);if(_0x317169[_0x34a28f(0x235)][_0x34a28f(0x1f3)]>0x1){let _0x2d70de=this[_0x34a28f(0x28a)](_0x3c6496,_0x317169[_0x34a28f(0x235)]);if(!_0x2d70de){this['_dragStart']=null,this[_0x34a28f(0x1e6)]();return;}let _0x37419f=_0x3c6496[_0x2d70de[_0x34a28f(0x254)]],_0x525ab9=_0x401f4b(_0x3c6496,_0x2d70de[_0x34a28f(0x254)]),_0x1bea16=_0x37419f[_0x34a28f(0x333)]['transform'];this['_dragStart']={'kind':_0x34a28f(0x32d),'unitId':_0x339be4[_0x34a28f(0x147)],'subUnitId':_0x339be4[_0x34a28f(0x3cd)],'nodeId':_0x2d70de[_0x34a28f(0x254)],'scopeId':_0x2d70de['scopeId'],'left':(_0x525ab9==null?void 0x0:_0x525ab9[_0x34a28f(0x233)])??_0x1bea16[_0x34a28f(0x233)]??0x0,'top':(_0x525ab9==null?void 0x0:_0x525ab9[_0x34a28f(0x41d)])??_0x1bea16[_0x34a28f(0x41d)]??0x0,'width':(_0x525ab9==null?void 0x0:_0x525ab9['width'])??_0x1bea16[_0x34a28f(0x246)]??0x0,'height':(_0x525ab9==null?void 0x0:_0x525ab9[_0x34a28f(0x26c)])??_0x1bea16[_0x34a28f(0x26c)]??0x0,'elementData':_0x3c6496};return;}let _0x36652b=_0x3c6496[_0x107ecc],_0x49affe=_0x51f94c(_0x36652b==null?void 0x0:_0x36652b[_0x34a28f(0x333)]);if(!_0x36652b||!_0x49affe){this[_0x34a28f(0x164)]=null,this[_0x34a28f(0x1e6)]();return;}let _0xe8c16d=_0x401f4b(_0x3c6496,_0x107ecc),_0xa95a83=_0x36652b[_0x34a28f(0x333)][_0x34a28f(0x184)];this[_0x34a28f(0x164)]={'kind':_0x49affe['parentNodeId']===null?_0x34a28f(0x278):_0x34a28f(0x1b0),'unitId':_0x339be4[_0x34a28f(0x147)],'subUnitId':_0x339be4[_0x34a28f(0x3cd)],'nodeId':_0x107ecc,'scopeId':_0x49affe[_0x34a28f(0x3f1)],'left':(_0xe8c16d==null?void 0x0:_0xe8c16d[_0x34a28f(0x233)])??_0xa95a83[_0x34a28f(0x233)]??0x0,'top':(_0xe8c16d==null?void 0x0:_0xe8c16d[_0x34a28f(0x41d)])??_0xa95a83[_0x34a28f(0x41d)]??0x0,'width':(_0xe8c16d==null?void 0x0:_0xe8c16d[_0x34a28f(0x246)])??_0xa95a83[_0x34a28f(0x246)]??0x0,'height':(_0xe8c16d==null?void 0x0:_0xe8c16d[_0x34a28f(0x26c)])??_0xa95a83[_0x34a28f(0x26c)]??0x0,'elementData':_0x3c6496};}[_0x1f10c6(0x28a)](_0x43c676,_0x4db9f0){const _0x4461a8=_0x1f10c6;let _0x5da3f6=new Set(_0x4db9f0),_0x5c234c=_0x4db9f0[_0x4461a8(0x28f)](_0x4a2ffe=>{const _0x3f9ee8=_0x4461a8;var _0x219ea8,_0x4e4725,_0x22f130,_0x1fecf9;let _0x3e96df=(_0x219ea8=_0x43c676[_0x4a2ffe])==null?void 0x0:_0x219ea8['element'];return((_0x4e4725=_0x51f94c(_0x3e96df))==null?void 0x0:_0x4e4725[_0x3f9ee8(0x3f1)])??((_0x22f130=_0x2139e0(_0x3e96df))==null?void 0x0:_0x22f130[_0x3f9ee8(0x3f1)])??((_0x1fecf9=_0x195a16(_0x3e96df))==null?void 0x0:_0x1fecf9[_0x3f9ee8(0x3f1)])??null;});if(_0x5c234c['some'](_0x421588=>_0x421588===null)||new Set(_0x5c234c)[_0x4461a8(0x35c)]!==0x1)return null;let _0x2dbd1e=_0x5c234c[0x0];if(!_0x2dbd1e)return null;let _0x59546d=Object[_0x4461a8(0x361)](_0x43c676)[_0x4461a8(0x3f7)](_0xb155a2=>{const _0x2cb25e=_0x4461a8;var _0x59238e;return _0xb155a2[_0x2cb25e(0x333)][_0x2cb25e(0x2df)]!==!0x1&&((_0x59238e=_0x51f94c(_0xb155a2[_0x2cb25e(0x333)]))==null?void 0x0:_0x59238e[_0x2cb25e(0x3f1)])===_0x2dbd1e;});if(_0x59546d[_0x4461a8(0x1f3)]===0x0||_0x59546d[_0x4461a8(0x442)](_0x295a98=>!_0x5da3f6[_0x4461a8(0x3a5)](_0x295a98[_0x4461a8(0x142)])))return null;let _0x3f5914=_0x59546d[_0x4461a8(0x3f7)](_0x52ee3a=>{const _0x3d6ed0=_0x4461a8;var _0x4e03e9;return((_0x4e03e9=_0x51f94c(_0x52ee3a[_0x3d6ed0(0x333)]))==null?void 0x0:_0x4e03e9[_0x3d6ed0(0x2d9)])===null;});return _0x3f5914[_0x4461a8(0x1f3)]===0x1?{'rootNodeId':_0x3f5914[0x0][_0x4461a8(0x142)],'scopeId':_0x2dbd1e}:null;}['_capturePointerChildDragStart'](_0x57d064,_0x5b5fe4,_0xb2c334){const _0x120785=_0x1f10c6;var _0x29f1bd,_0x3d8e68,_0x5209c5,_0x50b94a,_0x45de5c;if(this[_0x120785(0x452)][_0x120785(0x193)]()['interactionMode']===_0x120785(0x439)||(_0x57d064[_0x120785(0x2d3)]??0x0)!==0x0)return;let _0x4ca2ee=this[_0x120785(0x2cf)]['getSnapshot']();if(_0x4ca2ee['activeEditingId']){this[_0x120785(0x294)]=null;return;}let _0x1b3186=_0x5b5fe4?{'unitId':_0x5b5fe4[_0x120785(0x147)],'subUnitId':_0x5b5fe4['subUnitId']}:_0x4ca2ee['context']??this[_0x120785(0x209)](),_0x2eb77c=(_0x5b5fe4==null?void 0x0:_0x5b5fe4[_0x120785(0x227)])??(_0x4ca2ee[_0x120785(0x235)][_0x120785(0x1f3)]===0x1?_0x4ca2ee['focusedId']??_0x4ca2ee[_0x120785(0x235)][0x0]:void 0x0);if(!_0x1b3186){this[_0x120785(0x294)]=null;return;}let _0x4e6a10=this[_0x120785(0x384)][_0x120785(0x258)](_0x1b3186['unitId'],_0x1b3186['subUnitId']),_0x5a4ffb=this[_0x120785(0x1aa)](_0x57d064);if(!_0x5b5fe4){let _0x20fa71=_0x2eb77c?_0x4e6a10[_0x2eb77c]:null,_0x1c2404=_0x51f94c(_0x20fa71==null?void 0x0:_0x20fa71[_0x120785(0x333)]),_0x581e92=_0x2eb77c?_0x401f4b(_0x4e6a10,_0x2eb77c)??(_0x20fa71==null?void 0x0:_0x20fa71[_0x120785(0x333)][_0x120785(0x184)]):null;(!(_0x1c2404!=null&&_0x1c2404[_0x120785(0x2d9)])||!_0x581e92||!this[_0x120785(0x404)](_0x5a4ffb,{'left':_0x581e92[_0x120785(0x233)]??0x0,'top':_0x581e92[_0x120785(0x41d)]??0x0,'width':_0x581e92[_0x120785(0x246)]??0x0,'height':_0x581e92['height']??0x0}))&&(_0x2eb77c=this['_findChildNodeAtPoint'](_0x4e6a10,_0x5a4ffb));}if(!_0x2eb77c){this[_0x120785(0x294)]=null;return;}let _0x16c3cd=_0x4e6a10[_0x2eb77c],_0x4a65b8=_0x51f94c(_0x16c3cd==null?void 0x0:_0x16c3cd[_0x120785(0x333)]);if(!_0x16c3cd||!(_0x4a65b8!=null&&_0x4a65b8[_0x120785(0x2d9)])){this[_0x120785(0x294)]=null;return;}this[_0x120785(0x26a)][_0x120785(0x248)](_0x1b3186[_0x120785(0x147)]),(_0x29f1bd=this[_0x120785(0x3e1)][_0x120785(0x214)])==null||(_0x3d8e68=_0x29f1bd[_0x120785(0x2a2)])==null||(_0x3d8e68=_0x3d8e68[_0x120785(0x266)](_0x29f1bd))==null||(_0x5209c5=_0x3d8e68[_0x120785(0x275)])==null||_0x5209c5[_0x120785(0x266)](_0x3d8e68,{'preventScroll':!0x0}),(_0x50b94a=(_0x45de5c=this['_elementStateService'])[_0x120785(0x29f)])==null||_0x50b94a[_0x120785(0x266)](_0x45de5c,_0x1b3186,[_0x2eb77c],_0x2eb77c),_0xb2c334==null||_0xb2c334['stopPropagation']();let _0x3a148d=_0x401f4b(_0x4e6a10,_0x2eb77c),_0x532121=_0x16c3cd[_0x120785(0x333)][_0x120785(0x184)],_0x144e0c={'left':(_0x3a148d==null?void 0x0:_0x3a148d[_0x120785(0x233)])??_0x532121[_0x120785(0x233)]??0x0,'top':(_0x3a148d==null?void 0x0:_0x3a148d[_0x120785(0x41d)])??_0x532121[_0x120785(0x41d)]??0x0,'width':(_0x3a148d==null?void 0x0:_0x3a148d[_0x120785(0x246)])??_0x532121[_0x120785(0x246)]??0x0,'height':(_0x3a148d==null?void 0x0:_0x3a148d['height'])??_0x532121[_0x120785(0x26c)]??0x0};if(!_0x5b5fe4&&!this[_0x120785(0x404)](_0x5a4ffb,_0x144e0c)){this['_pointerDragStart']=null;return;}let _0x2dab55=this[_0x120785(0x42e)](_0x57d064);this[_0x120785(0x144)]=!0x1,this[_0x120785(0x13f)]=!0x1,this['_lastChildDragAction']=null,this[_0x120785(0x294)]={'kind':_0x120785(0x1b0),'unitId':_0x1b3186[_0x120785(0x147)],'subUnitId':_0x1b3186[_0x120785(0x3cd)],'nodeId':_0x2eb77c,'scopeId':_0x4a65b8[_0x120785(0x3f1)],..._0x144e0c,'pointerStartX':_0x2dab55['x'],'pointerStartY':_0x2dab55['y'],'elementData':_0x4e6a10},this[_0x120785(0x35b)](),this['_consumePointerEvent'](_0x57d064,_0xb2c334);}['_syncPointerChildDragPreview'](_0x59eaa7,_0x271c7d){const _0x15f198=_0x1f10c6;var _0x2d5eb9,_0x35bd27;let _0x214190=this[_0x15f198(0x294)];if(!_0x214190||_0x59eaa7['buttons']!==void 0x0&&_0x59eaa7['buttons']!==0x1)return;let _0x3032a0=this[_0x15f198(0x45c)](_0x59eaa7,_0x214190);if(!this[_0x15f198(0x20b)](_0x214190,_0x3032a0))return;this[_0x15f198(0x144)]||this[_0x15f198(0x1c4)](),this[_0x15f198(0x144)]=!0x0;let _0x334118=this[_0x15f198(0x3be)](_0x214190['elementData'],_0x214190[_0x15f198(0x227)],_0x3032a0),_0x353a2c=Sn(_0x214190[_0x15f198(0x19b)],_0x214190[_0x15f198(0x227)],{'boundsByElementId':_0x334118,'detachWhenNoSnap':!0x0});this[_0x15f198(0x25b)]=_0x353a2c,this[_0x15f198(0x249)](_0x3032a0,_0x353a2c,_0x334118),this[_0x15f198(0x1ba)](_0x59eaa7,_0x271c7d),this['_renderContext'][_0x15f198(0x156)][_0x15f198(0x359)](!0x0),(_0x2d5eb9=(_0x35bd27=this['_renderContext'][_0x15f198(0x156)])[_0x15f198(0x279)])==null||_0x2d5eb9['call'](_0x35bd27);}[_0x1f10c6(0x3a8)](_0x248fdc,_0x10d589){const _0x4010d8=_0x1f10c6;let _0x4b979c=this[_0x4010d8(0x294)];if(!_0x4b979c)return;if(this[_0x4010d8(0x294)]=null,this[_0x4010d8(0x32e)](),this[_0x4010d8(0x1e6)](),!this[_0x4010d8(0x144)]){this['_lastChildDragAction']=null;return;}let _0x460c0d=this[_0x4010d8(0x384)][_0x4010d8(0x258)](_0x4b979c['unitId'],_0x4b979c[_0x4010d8(0x3cd)]),_0x41bc38=this['_getPointerLiveBounds'](_0x248fdc,_0x4b979c),_0x1176c0=this[_0x4010d8(0x3be)](_0x460c0d,_0x4b979c[_0x4010d8(0x227)],_0x41bc38),_0x10c783=Sn(_0x460c0d,_0x4b979c['nodeId'],{'boundsByElementId':_0x1176c0,'detachWhenNoSnap':!0x0});this[_0x4010d8(0x25b)]=null,this[_0x4010d8(0x27b)](_0x4b979c[_0x4010d8(0x147)],_0x4b979c[_0x4010d8(0x3cd)],_0x4b979c['nodeId'],_0x460c0d,_0x10c783),this[_0x4010d8(0x13f)]=!0x1,this[_0x4010d8(0x1ba)](_0x248fdc,_0x10d589);}[_0x1f10c6(0x2dc)](_0x46796e){const _0x2bcf00=_0x1f10c6;let _0x38c8d7=this[_0x2bcf00(0x294)];if(_0x38c8d7){if(this[_0x2bcf00(0x294)]=null,this[_0x2bcf00(0x32e)](),this['_childDragActivated']=!0x1,this[_0x2bcf00(0x25b)]=null,this[_0x2bcf00(0x1e6)](),this[_0x2bcf00(0x13f)]){var _0x50e50d,_0x39cb03;(_0x50e50d=(_0x39cb03=this[_0x2bcf00(0x2cf)])[_0x2bcf00(0x29f)])==null||_0x50e50d[_0x2bcf00(0x266)](_0x39cb03,{'unitId':_0x38c8d7['unitId'],'subUnitId':_0x38c8d7[_0x2bcf00(0x3cd)]},[_0x38c8d7[_0x2bcf00(0x227)]],_0x38c8d7[_0x2bcf00(0x227)]),this[_0x2bcf00(0x13f)]=!0x1;}_0x46796e==null||_0x46796e['stopPropagation']();}}['_attachActivePointerDragListeners'](){const _0x220fe6=_0x1f10c6;this[_0x220fe6(0x32e)]();let _0x31a634=typeof window>'u'?null:window;if(!(_0x31a634!=null&&_0x31a634[_0x220fe6(0x3f0)]))return;let _0x1dda0f=new _0x308d99(),_0x100d59=_0x50b808=>this[_0x220fe6(0x3ed)](_0x50b808),_0x4c575a=_0x545b8d=>this['_applyPointerChildDrag'](_0x545b8d),_0x58e3ef=()=>this[_0x220fe6(0x2dc)]();_0x31a634[_0x220fe6(0x3f0)](_0x220fe6(0x2bc),_0x100d59,{'capture':!0x0}),_0x31a634[_0x220fe6(0x3f0)](_0x220fe6(0x343),_0x4c575a,{'capture':!0x0}),_0x31a634[_0x220fe6(0x3f0)](_0x220fe6(0x3e2),_0x58e3ef,{'capture':!0x0}),_0x1dda0f['add'](_0x50821e(()=>{const _0x6cf7ca=_0x220fe6;_0x31a634[_0x6cf7ca(0x355)](_0x6cf7ca(0x2bc),_0x100d59,{'capture':!0x0}),_0x31a634['removeEventListener']('pointerup',_0x4c575a,{'capture':!0x0}),_0x31a634[_0x6cf7ca(0x355)](_0x6cf7ca(0x3e2),_0x58e3ef,{'capture':!0x0});})),this[_0x220fe6(0x270)]=_0x1dda0f;}[_0x1f10c6(0x1a2)](_0x4f58ab,_0x31565f){const _0x1329fd=_0x1f10c6;let _0x408f05=Object[_0x1329fd(0x361)](_0x4f58ab);for(let _0x31a530=_0x408f05['length']-0x1;_0x31a530>=0x0;--_0x31a530){let _0x476fd6=_0x408f05[_0x31a530],_0x61e0c0=_0x51f94c(_0x476fd6[_0x1329fd(0x333)]);if(!(_0x61e0c0!=null&&_0x61e0c0[_0x1329fd(0x2d9)]))continue;let _0x12981c=_0x401f4b(_0x4f58ab,_0x476fd6['elementId'])??_0x476fd6[_0x1329fd(0x333)][_0x1329fd(0x184)];if(this['_isPointInBounds'](_0x31565f,{'left':_0x12981c['left']??0x0,'top':_0x12981c[_0x1329fd(0x41d)]??0x0,'width':_0x12981c[_0x1329fd(0x246)]??0x0,'height':_0x12981c['height']??0x0}))return _0x476fd6['elementId'];}}[_0x1f10c6(0x32e)](){const _0x3d2781=_0x1f10c6;var _0x2b0f0d;(_0x2b0f0d=this['_activePointerDragDisposables'])==null||_0x2b0f0d[_0x3d2781(0x3c0)](),this[_0x3d2781(0x270)]=null;}[_0x1f10c6(0x372)](_0x36e491){const _0x4b43dc=_0x1f10c6;let _0x407185=this[_0x4b43dc(0x164)];if(_0x407185){if((_0x407185[_0x4b43dc(0x420)]===_0x4b43dc(0x278)||_0x407185[_0x4b43dc(0x420)]===_0x4b43dc(0x32d))&&this[_0x4b43dc(0x228)](_0x36e491),_0x407185[_0x4b43dc(0x420)]===_0x4b43dc(0x278)){this[_0x4b43dc(0x363)](_0x36e491);return;}this[_0x4b43dc(0x3df)](_0x36e491);}}[_0x1f10c6(0x228)](_0x5c67af){const _0x46dee4=_0x1f10c6;let _0x193255=this['_dragStart'];if(!_0x193255||_0x193255['kind']!=='root'&&_0x193255[_0x46dee4(0x420)]!==_0x46dee4(0x32d))return;let _0x4c844d=_0x5c67af==null?void 0x0:_0x5c67af[_0x46dee4(0x1a4)](_0x10c90a(_0x193255[_0x46dee4(0x147)],_0x193255[_0x46dee4(0x227)]));if(!_0x4c844d||!Number['isFinite'](_0x4c844d['left'])||!Number['isFinite'](_0x4c844d['top']))return;let _0x2cb091=Tn({'elementData':_0x193255[_0x46dee4(0x19b)],'rootNodeId':_0x193255[_0x46dee4(0x227)],'scopeId':_0x193255[_0x46dee4(0x3d1)],'rootStartBounds':{'left':_0x193255[_0x46dee4(0x233)],'top':_0x193255[_0x46dee4(0x41d)]},'liveRootBounds':{'left':_0x4c844d[_0x46dee4(0x233)],'top':_0x4c844d[_0x46dee4(0x41d)]}});if(!_0x2cb091)return;let _0x2fb72a=this[_0x46dee4(0x3e1)][_0x46dee4(0x156)],_0x5ed2f4=_0x2fb72a,_0x1f18b0=!0x1;_0x2cb091['items'][_0x46dee4(0x35f)](_0x3d7484=>{const _0x467132=_0x46dee4;var _0x5791be;let _0x4a7c20=_0x10c90a(_0x193255['unitId'],_0x3d7484[_0x467132(0x142)]),_0xad7485=((_0x5791be=_0x5ed2f4['getObjectIncludeInGroup'])==null?void 0x0:_0x5791be['call'](_0x5ed2f4,_0x4a7c20))??_0x2fb72a[_0x467132(0x301)](_0x4a7c20);if(_0xad7485){if(_0x3d7484[_0x467132(0x420)]===_0x467132(0x43c)&&typeof _0xad7485[_0x467132(0x414)]==_0x467132(0x22e)){_0xad7485[_0x467132(0x414)](_0x3d7484[_0x467132(0x333)],_0x2cb091[_0x467132(0x19b)]),_0x1f18b0=!0x0;return;}_0x3d7484[_0x467132(0x420)]===_0x467132(0x24d)&&(_0xad7485[_0x467132(0x33b)](_0x3d7484[_0x467132(0x24d)]),typeof _0xad7485[_0x467132(0x459)]==_0x467132(0x22e)?_0xad7485[_0x467132(0x459)](!0x0):_0xad7485[_0x467132(0x359)](!0x0),_0x1f18b0=!0x0);}}),_0x1f18b0&&_0x2fb72a['makeDirty'](!0x0);}['_syncRootReparentPreview'](_0x297a85){const _0x1f64bd=_0x1f10c6;var _0x8e6945,_0x589636;let _0x23ea37=this['_dragStart'];if(!_0x23ea37||_0x23ea37[_0x1f64bd(0x420)]!=='root')return;let _0x4fe5c7=_0x297a85==null?void 0x0:_0x297a85[_0x1f64bd(0x1a4)](_0x10c90a(_0x23ea37['unitId'],_0x23ea37[_0x1f64bd(0x227)]));if(!_0x4fe5c7||!Number[_0x1f64bd(0x180)](_0x4fe5c7['left'])||!Number[_0x1f64bd(0x180)](_0x4fe5c7[_0x1f64bd(0x41d)])){this[_0x1f64bd(0x1e6)]();return;}let _0x2712d4=this[_0x1f64bd(0x20d)](_0x4fe5c7,_0x23ea37),_0x17b3f9=this[_0x1f64bd(0x3be)](_0x23ea37[_0x1f64bd(0x19b)],_0x23ea37[_0x1f64bd(0x227)],_0x2712d4),_0x1e6e60=Sn(_0x23ea37[_0x1f64bd(0x19b)],_0x23ea37[_0x1f64bd(0x227)],{'boundsByElementId':_0x17b3f9,'allowRootReparent':!0x0});if(_0x1e6e60[_0x1f64bd(0x420)]!==_0x1f64bd(0x14c)){this[_0x1f64bd(0x1e6)]();return;}let _0x46a1f6=this['_ensureDragPreviewObject']();_0x46a1f6&&(_0x46a1f6[_0x1f64bd(0x3c5)]({'ghostBounds':_0x2712d4,'sourceBounds':null,'parentBounds':_0x17b3f9[_0x1e6e60[_0x1f64bd(0x409)]],'side':_0x1e6e60['side'],'textStyle':void 0x0,'renderGhostNode':!0x1}),this[_0x1f64bd(0x3e1)][_0x1f64bd(0x156)][_0x1f64bd(0x359)](!0x0),(_0x8e6945=(_0x589636=this[_0x1f64bd(0x3e1)][_0x1f64bd(0x156)])[_0x1f64bd(0x279)])==null||_0x8e6945[_0x1f64bd(0x266)](_0x589636));}[_0x1f10c6(0x3df)](_0x467ee8){const _0x3e2265=_0x1f10c6;var _0x2be8af,_0x5e1196;let _0x6b257a=this[_0x3e2265(0x164)];if(!_0x6b257a||_0x6b257a[_0x3e2265(0x420)]!==_0x3e2265(0x1b0))return;let _0x245231=_0x467ee8==null?void 0x0:_0x467ee8[_0x3e2265(0x1a4)](_0x10c90a(_0x6b257a['unitId'],_0x6b257a[_0x3e2265(0x227)]));if(!_0x245231){this[_0x3e2265(0x1e6)]();return;}let _0x3465f0=this['_getLiveObjectBounds'](_0x245231,_0x6b257a);if(!this[_0x3e2265(0x20b)](_0x6b257a,_0x3465f0)){this[_0x3e2265(0x25b)]=null,this[_0x3e2265(0x1e6)](),this[_0x3e2265(0x277)](_0x245231,_0x6b257a),this[_0x3e2265(0x3e1)][_0x3e2265(0x156)][_0x3e2265(0x359)](!0x0);return;}this[_0x3e2265(0x144)]||this[_0x3e2265(0x1c4)](),this[_0x3e2265(0x144)]=!0x0;let _0x15833a=this[_0x3e2265(0x3be)](_0x6b257a[_0x3e2265(0x19b)],_0x6b257a['nodeId'],_0x3465f0),_0x3eadf6=Sn(_0x6b257a[_0x3e2265(0x19b)],_0x6b257a['nodeId'],{'boundsByElementId':_0x15833a,'detachWhenNoSnap':!0x0});this['_lastChildDragAction']=_0x3eadf6,this[_0x3e2265(0x249)](_0x3465f0,_0x3eadf6,_0x15833a),this[_0x3e2265(0x277)](_0x245231,_0x6b257a),this[_0x3e2265(0x3e1)][_0x3e2265(0x156)]['makeDirty'](!0x0),(_0x2be8af=(_0x5e1196=this[_0x3e2265(0x3e1)][_0x3e2265(0x156)])[_0x3e2265(0x279)])==null||_0x2be8af[_0x3e2265(0x266)](_0x5e1196);}[_0x1f10c6(0x1d9)](_0x48cb8c){const _0x56af30=_0x1f10c6;var _0x1ed441;let _0x418762=this[_0x56af30(0x2cf)][_0x56af30(0x226)](),_0x42bfef=_0x418762[_0x56af30(0x27a)],_0x119660=_0x418762[_0x56af30(0x1d7)]??_0x418762[_0x56af30(0x235)][0x0];if(_0x42bfef&&((_0x1ed441=this[_0x56af30(0x164)])==null?void 0x0:_0x1ed441[_0x56af30(0x420)])===_0x56af30(0x32d)){this[_0x56af30(0x1e6)](),this[_0x56af30(0x30b)](_0x42bfef['unitId'],_0x42bfef[_0x56af30(0x3cd)],_0x48cb8c);return;}if(!_0x42bfef||!_0x119660||_0x418762['selectedIds'][_0x56af30(0x1f3)]!==0x1){this[_0x56af30(0x1e6)](),this[_0x56af30(0x164)]=null;return;}this['_removeDragPreviewObject']();let _0x52ddcc=this[_0x56af30(0x384)][_0x56af30(0x258)](_0x42bfef[_0x56af30(0x147)],_0x42bfef[_0x56af30(0x3cd)]);if(this[_0x56af30(0x26d)](_0x42bfef[_0x56af30(0x147)],_0x42bfef[_0x56af30(0x3cd)],_0x119660,_0x52ddcc,_0x48cb8c))return;let _0x4dbddb=this[_0x56af30(0x20a)](_0x42bfef[_0x56af30(0x147)],_0x42bfef[_0x56af30(0x3cd)],_0x119660,_0x52ddcc,_0x48cb8c);this[_0x56af30(0x27b)](_0x42bfef['unitId'],_0x42bfef[_0x56af30(0x3cd)],_0x119660,_0x52ddcc,_0x4dbddb);}['_applyScopeTranslation'](_0xc6d054,_0x49712e,_0x54bfbd){const _0x33876b=_0x1f10c6;let _0x2aa208=this['_dragStart'];if(this[_0x33876b(0x164)]=null,!_0x2aa208||_0x2aa208[_0x33876b(0x420)]!=='scope'||_0x2aa208[_0x33876b(0x147)]!==_0xc6d054||_0x2aa208[_0x33876b(0x3cd)]!==_0x49712e)return;let _0x42618c=_0x54bfbd==null?void 0x0:_0x54bfbd[_0x33876b(0x1a4)](_0x10c90a(_0xc6d054,_0x2aa208[_0x33876b(0x227)])),_0x377210=_0x42618c&&Number['isFinite'](_0x42618c[_0x33876b(0x233)])?_0x42618c[_0x33876b(0x233)]??_0x2aa208['left']:_0x2aa208[_0x33876b(0x233)],_0x3b0529=_0x42618c&&Number[_0x33876b(0x180)](_0x42618c[_0x33876b(0x41d)])?_0x42618c[_0x33876b(0x41d)]??_0x2aa208[_0x33876b(0x41d)]:_0x2aa208[_0x33876b(0x41d)],_0x265275=_0x377210-_0x2aa208[_0x33876b(0x233)],_0x100dc9=_0x3b0529-_0x2aa208[_0x33876b(0x41d)];(_0x265275!==0x0||_0x100dc9!==0x0)&&this[_0x33876b(0x210)][_0x33876b(0x189)](_0x34c5bd['id'],{'unitId':_0xc6d054,'subUnitId':_0x49712e,'scopeId':_0x2aa208['scopeId'],'deltaX':_0x265275,'deltaY':_0x100dc9});}[_0x1f10c6(0x27b)](_0x4cbcde,_0x327550,_0x96c4c8,_0xf5abc9,_0x42ca76){const _0x2abab2=_0x1f10c6;if(_0x42ca76[_0x2abab2(0x420)]===_0x2abab2(0x14c)){var _0x4faea0,_0x311364;let _0x152666=_0x51f94c((_0x4faea0=_0xf5abc9[_0x96c4c8])==null?void 0x0:_0x4faea0['element']),_0x1a8918=_0x51f94c((_0x311364=_0xf5abc9[_0x42ca76[_0x2abab2(0x409)]])==null?void 0x0:_0x311364[_0x2abab2(0x333)]);this[_0x2abab2(0x394)](_0x1b0b1e['id'],{'unitId':_0x4cbcde,'subUnitId':_0x327550,'nodeId':_0x96c4c8,'newParentNodeId':_0x42ca76[_0x2abab2(0x409)],'side':_0x42ca76[_0x2abab2(0x2a3)],..._0x42ca76['referenceNodeId']?{'referenceNodeId':_0x42ca76['referenceNodeId']}:null,..._0x42ca76[_0x2abab2(0x369)]?{'placement':_0x42ca76[_0x2abab2(0x369)]}:null},[_0x152666==null?void 0x0:_0x152666[_0x2abab2(0x3f1)],_0x1a8918==null?void 0x0:_0x1a8918[_0x2abab2(0x3f1)]],_0x96c4c8);return;}if(_0x42ca76[_0x2abab2(0x420)]===_0x2abab2(0x2a7)){var _0x2db9ba;let _0xe73d32=_0x51f94c((_0x2db9ba=_0xf5abc9[_0x96c4c8])==null?void 0x0:_0x2db9ba[_0x2abab2(0x333)]);this['_executeAndLayout'](_0x4315a8['id'],{'unitId':_0x4cbcde,'subUnitId':_0x327550,'nodeId':_0x96c4c8,...Number[_0x2abab2(0x180)](_0x42ca76[_0x2abab2(0x233)])?{'left':_0x42ca76[_0x2abab2(0x233)]}:null,...Number[_0x2abab2(0x180)](_0x42ca76['top'])?{'top':_0x42ca76[_0x2abab2(0x41d)]}:null},[_0xe73d32==null?void 0x0:_0xe73d32[_0x2abab2(0x3f1)]],_0x96c4c8);}}[_0x1f10c6(0x26d)](_0x51127a,_0x20c2de,_0x4a28d5,_0x1250e0,_0x46ce9e){const _0x1f382d=_0x1f10c6;let _0x47ae84=this[_0x1f382d(0x164)];if((_0x47ae84==null?void 0x0:_0x47ae84[_0x1f382d(0x420)])==='root'&&(this['_dragStart']=null),!_0x47ae84||_0x47ae84[_0x1f382d(0x147)]!==_0x51127a||_0x47ae84[_0x1f382d(0x3cd)]!==_0x20c2de||_0x47ae84['nodeId']!==_0x4a28d5)return!0x1;let _0x5efbab=_0x1250e0[_0x4a28d5],_0x266b21=_0x51f94c(_0x5efbab==null?void 0x0:_0x5efbab['element']);if(!_0x5efbab||!_0x266b21||_0x266b21[_0x1f382d(0x2d9)]!==null)return!0x1;let _0x18438a=_0x46ce9e==null?void 0x0:_0x46ce9e[_0x1f382d(0x1a4)](_0x10c90a(_0x51127a,_0x4a28d5)),_0x27f54c=_0x401f4b(_0x1250e0,_0x4a28d5),_0x1ad528=Number[_0x1f382d(0x180)](_0x18438a==null?void 0x0:_0x18438a[_0x1f382d(0x233)])?_0x18438a[_0x1f382d(0x233)]:(_0x27f54c==null?void 0x0:_0x27f54c[_0x1f382d(0x233)])??_0x5efbab[_0x1f382d(0x333)]['transform']['left']??0x0,_0x529322=Number['isFinite'](_0x18438a==null?void 0x0:_0x18438a[_0x1f382d(0x41d)])?_0x18438a[_0x1f382d(0x41d)]:(_0x27f54c==null?void 0x0:_0x27f54c[_0x1f382d(0x41d)])??_0x5efbab[_0x1f382d(0x333)][_0x1f382d(0x184)][_0x1f382d(0x41d)]??0x0,_0x9a4558=_0x1ad528-_0x47ae84['left'],_0x29cc73=_0x529322-_0x47ae84[_0x1f382d(0x41d)];if(_0x9a4558===0x0&&_0x29cc73===0x0)return!0x0;let _0x320e1c={'left':_0x1ad528,'top':_0x529322,'width':Number[_0x1f382d(0x180)](_0x18438a==null?void 0x0:_0x18438a[_0x1f382d(0x246)])?_0x18438a[_0x1f382d(0x246)]:_0x47ae84[_0x1f382d(0x246)],'height':Number['isFinite'](_0x18438a==null?void 0x0:_0x18438a[_0x1f382d(0x26c)])?_0x18438a[_0x1f382d(0x26c)]:_0x47ae84['height']},_0x537a4a=Sn(_0x1250e0,_0x4a28d5,{'boundsByElementId':this[_0x1f382d(0x3be)](_0x1250e0,_0x4a28d5,_0x320e1c),'allowRootReparent':!0x0});if(_0x537a4a[_0x1f382d(0x420)]===_0x1f382d(0x14c))return this[_0x1f382d(0x27b)](_0x51127a,_0x20c2de,_0x4a28d5,_0x1250e0,_0x537a4a),!0x0;let _0xb56c3f=!!_0x27f54c&&Math[_0x1f382d(0x1b1)](_0x27f54c['left']-_0x1ad528)<0.001&&Math[_0x1f382d(0x1b1)](_0x27f54c[_0x1f382d(0x41d)]-_0x529322)<0.001;return this[_0x1f382d(0x210)]['executeCommand'](_0x34c5bd['id'],{'unitId':_0x51127a,'subUnitId':_0x20c2de,'scopeId':_0x47ae84[_0x1f382d(0x3d1)],'deltaX':_0x9a4558,'deltaY':_0x29cc73,..._0xb56c3f?{'excludeElementIds':[_0x4a28d5],'preserveExcludedWorldTransforms':!0x0}:null}),!0x0;}['_resolveChildDragTopologyAction'](_0x1469a1,_0x325cd1,_0x3811d5,_0x533130,_0x247d6c){const _0x203f0d=_0x1f10c6;let _0x39f3b2=this[_0x203f0d(0x164)];if(!_0x39f3b2||_0x39f3b2[_0x203f0d(0x420)]!==_0x203f0d(0x1b0)||_0x39f3b2[_0x203f0d(0x147)]!==_0x1469a1||_0x39f3b2['subUnitId']!==_0x325cd1||_0x39f3b2['nodeId']!==_0x3811d5)return{'kind':_0x203f0d(0x3e6)};this['_dragStart']=null;let _0x2e1190=_0x247d6c==null?void 0x0:_0x247d6c[_0x203f0d(0x1a4)](_0x10c90a(_0x1469a1,_0x3811d5));if(!this['_childDragActivated'])return _0x2e1190&&this[_0x203f0d(0x277)](_0x2e1190,_0x39f3b2),this[_0x203f0d(0x25b)]=null,{'kind':_0x203f0d(0x3e6)};if(!_0x2e1190){let _0x196aad=this['_lastChildDragAction']??{'kind':_0x203f0d(0x3e6)};return this['_lastChildDragAction']=null,_0x196aad;}let _0x313264=this[_0x203f0d(0x20d)](_0x2e1190,_0x39f3b2);if(this['_restoreObjectToDragStart'](_0x2e1190,_0x39f3b2),!this[_0x203f0d(0x20b)](_0x39f3b2,_0x313264))return this[_0x203f0d(0x25b)]=null,{'kind':_0x203f0d(0x3e6)};let _0x3e58c7=Sn(_0x533130,_0x3811d5,{'boundsByElementId':this[_0x203f0d(0x3be)](_0x533130,_0x3811d5,_0x313264),'detachWhenNoSnap':!0x0});return this[_0x203f0d(0x25b)]=null,_0x3e58c7;}[_0x1f10c6(0x20b)](_0x335dc9,_0xcae824){const _0x14f177=_0x1f10c6;let _0x547bdf=(_0xcae824[_0x14f177(0x233)]??_0x335dc9[_0x14f177(0x233)])-_0x335dc9['left'],_0x5c8fb1=(_0xcae824[_0x14f177(0x41d)]??_0x335dc9['top'])-_0x335dc9[_0x14f177(0x41d)];return Math[_0x14f177(0x234)](_0x547bdf,_0x5c8fb1)>=0x12;}[_0x1f10c6(0x45c)](_0xdf9d24,_0x303b2c){const _0x5f21cf=_0x1f10c6;let _0x299eb4=this['_getPointerScreenPoint'](_0xdf9d24),_0x385784=this[_0x5f21cf(0x42c)]();return{'left':_0x303b2c[_0x5f21cf(0x233)]+(_0x299eb4['x']-_0x303b2c[_0x5f21cf(0x1da)])/_0x385784,'top':_0x303b2c[_0x5f21cf(0x41d)]+(_0x299eb4['y']-_0x303b2c[_0x5f21cf(0x3bc)])/_0x385784,'width':_0x303b2c[_0x5f21cf(0x246)],'height':_0x303b2c[_0x5f21cf(0x26c)]};}[_0x1f10c6(0x1aa)](_0x7ff34f){const _0x563c13=_0x1f10c6;let _0x302fe3=this[_0x563c13(0x452)]['getState'](),_0x198199=(_0x302fe3==null?void 0x0:_0x302fe3[_0x563c13(0x360)])??{'x':0x0,'y':0x0},_0x155c22=this[_0x563c13(0x42c)]();return{'x':Math[_0x563c13(0x272)](((_0x7ff34f[_0x563c13(0x3ff)]??0x0)-_0x198199['x'])/_0x155c22),'y':Math[_0x563c13(0x272)](((_0x7ff34f[_0x563c13(0x2e0)]??0x0)-_0x198199['y'])/_0x155c22)};}[_0x1f10c6(0x42e)](_0x2728e3){const _0x33c221=_0x1f10c6;return{'x':Number[_0x33c221(0x180)](_0x2728e3[_0x33c221(0x300)])?_0x2728e3['clientX']:_0x2728e3[_0x33c221(0x3ff)]??0x0,'y':Number['isFinite'](_0x2728e3[_0x33c221(0x3ec)])?_0x2728e3['clientY']:_0x2728e3[_0x33c221(0x2e0)]??0x0};}[_0x1f10c6(0x42c)](){const _0x4c7266=_0x1f10c6;let _0xe00c39=this['_uiStateService'][_0x4c7266(0x193)]()[_0x4c7266(0x368)];return Number[_0x4c7266(0x180)](_0xe00c39)&&(_0xe00c39??0x0)>0x0?_0xe00c39:0x1;}['_isPointInBounds'](_0x4d07a5,_0xdb162b){const _0x10201b=_0x1f10c6;return _0x4d07a5['x']>=_0xdb162b['left']&&_0x4d07a5['x']<=_0xdb162b[_0x10201b(0x233)]+_0xdb162b['width']&&_0x4d07a5['y']>=_0xdb162b[_0x10201b(0x41d)]&&_0x4d07a5['y']<=_0xdb162b['top']+_0xdb162b['height'];}[_0x1f10c6(0x1ba)](_0x4d8dd1,_0x293959){const _0x2b175e=_0x1f10c6;var _0x39039c,_0x519b7b;_0x293959==null||_0x293959[_0x2b175e(0x435)](),_0x293959&&(_0x293959[_0x2b175e(0x3b4)]=!0x0),(_0x39039c=_0x4d8dd1[_0x2b175e(0x188)])==null||_0x39039c[_0x2b175e(0x266)](_0x4d8dd1),(_0x519b7b=_0x4d8dd1['stopPropagation'])==null||_0x519b7b['call'](_0x4d8dd1);}[_0x1f10c6(0x1c4)](){const _0x4b42ad=_0x1f10c6;var _0x27964e,_0x5d756d;this[_0x4b42ad(0x13f)]||=((_0x27964e=(_0x5d756d=this[_0x4b42ad(0x2cf)])[_0x4b42ad(0x253)])==null||_0x27964e[_0x4b42ad(0x266)](_0x5d756d),!0x0);}['_getLiveObjectBounds'](_0x1d2665,_0xcb5960){const _0x51a2b4=_0x1f10c6;return{'left':Number[_0x51a2b4(0x180)](_0x1d2665['left'])?_0x1d2665[_0x51a2b4(0x233)]:_0xcb5960[_0x51a2b4(0x233)],'top':Number[_0x51a2b4(0x180)](_0x1d2665[_0x51a2b4(0x41d)])?_0x1d2665[_0x51a2b4(0x41d)]:_0xcb5960[_0x51a2b4(0x41d)],'width':Number[_0x51a2b4(0x180)](_0x1d2665[_0x51a2b4(0x246)])?_0x1d2665[_0x51a2b4(0x246)]:_0xcb5960[_0x51a2b4(0x246)],'height':Number['isFinite'](_0x1d2665['height'])?_0x1d2665[_0x51a2b4(0x26c)]:_0xcb5960[_0x51a2b4(0x26c)]};}[_0x1f10c6(0x277)](_0xee5c16,_0x433504){const _0xc1f899=_0x1f10c6;typeof _0xee5c16['transformByState']=='function'&&_0xee5c16[_0xc1f899(0x33b)]({'left':_0x433504['left'],'top':_0x433504['top'],'width':_0x433504[_0xc1f899(0x246)],'height':_0x433504[_0xc1f899(0x26c)]}),typeof _0xee5c16[_0xc1f899(0x459)]==_0xc1f899(0x22e)?_0xee5c16['makeDirtyNoDebounce'](!0x0):typeof _0xee5c16[_0xc1f899(0x359)]==_0xc1f899(0x22e)&&_0xee5c16['makeDirty'](!0x0);}['_createTopologyBoundsByElementId'](_0x36b493,_0x527bc6,_0x1cb5be){const _0x3a879c=_0x1f10c6;return Object['fromEntries'](Object[_0x3a879c(0x322)](_0x36b493)['map'](_0xdd2e2d=>_0xdd2e2d===_0x527bc6?[_0xdd2e2d,_0x1cb5be]:[_0xdd2e2d,_0x401f4b(_0x36b493,_0xdd2e2d)??_0x36b493[_0xdd2e2d][_0x3a879c(0x333)]['transform']]));}['_ensureDragPreviewObject'](){const _0x3aae05=_0x1f10c6;if(this[_0x3aae05(0x1a5)])return this[_0x3aae05(0x1a5)];let _0x588bb2=this[_0x3aae05(0x3e1)]['scene'];return typeof _0x588bb2[_0x3aae05(0x416)]==_0x3aae05(0x22e)?(this[_0x3aae05(0x1a5)]=new mn(cn),_0x588bb2[_0x3aae05(0x416)](this['_dragPreviewObject'],ln),this[_0x3aae05(0x1a5)]):null;}[_0x1f10c6(0x249)](_0x18020e,_0x53a494,_0x5ee6e6){const _0x23faac=_0x1f10c6;let _0x2725cd=this[_0x23faac(0x327)]();_0x2725cd&&_0x2725cd[_0x23faac(0x3c5)]({'ghostBounds':_0x18020e,'sourceBounds':this[_0x23faac(0x3c2)](),'parentBounds':_0x53a494[_0x23faac(0x420)]===_0x23faac(0x14c)?_0x5ee6e6[_0x53a494[_0x23faac(0x409)]]:null,'side':_0x53a494[_0x23faac(0x420)]===_0x23faac(0x14c)?_0x53a494['side']:'right','textStyle':this[_0x23faac(0x1d2)](),'renderGhostNode':!0x0});}[_0x1f10c6(0x3c2)](){const _0x2b4c02=_0x1f10c6;let _0x33e0f9=this[_0x2b4c02(0x294)]??this['_dragStart'];return _0x33e0f9?{'left':_0x33e0f9[_0x2b4c02(0x233)],'top':_0x33e0f9[_0x2b4c02(0x41d)],'width':_0x33e0f9[_0x2b4c02(0x246)],'height':_0x33e0f9[_0x2b4c02(0x26c)]}:null;}[_0x1f10c6(0x1d2)](){const _0x533ea8=_0x1f10c6;var _0x69c164,_0x420ee0;let _0x51922d=this[_0x533ea8(0x294)]??this[_0x533ea8(0x164)],_0x710c59=_0x51922d==null||(_0x69c164=_0x51922d[_0x533ea8(0x19b)][_0x51922d['nodeId']])==null?void 0x0:_0x69c164[_0x533ea8(0x333)],_0x55a390=_0x710c59==null||(_0x420ee0=_0x710c59[_0x533ea8(0x1c5)])==null?void 0x0:_0x420ee0['shapeText'];if(_0x55a390)return{'text':typeof _0x55a390[_0x533ea8(0x2e1)]=='string'?_0x55a390[_0x533ea8(0x2e1)]:void 0x0,'fontSize':Number[_0x533ea8(0x180)](_0x55a390[_0x533ea8(0x1b9)])?_0x55a390[_0x533ea8(0x1b9)]:void 0x0,'color':typeof _0x55a390[_0x533ea8(0x143)]=='string'?_0x55a390['color']:void 0x0,'horizontalAlign':Number[_0x533ea8(0x180)](_0x55a390[_0x533ea8(0x378)])?_0x55a390[_0x533ea8(0x378)]:void 0x0};}[_0x1f10c6(0x1e6)](){const _0x1a1651=_0x1f10c6;var _0x177d00,_0x3f93ae,_0x5b0855;if(!this['_dragPreviewObject'])return;let _0x18573a=this['_renderContext'][_0x1a1651(0x156)];(_0x177d00=_0x18573a['removeObjects'])==null||_0x177d00[_0x1a1651(0x266)](_0x18573a,[this[_0x1a1651(0x1a5)]]),this[_0x1a1651(0x1a5)]=null,(_0x3f93ae=(_0x5b0855=this[_0x1a1651(0x3e1)]['scene'])['makeDirty'])==null||_0x3f93ae[_0x1a1651(0x266)](_0x5b0855,!0x0);}[_0x1f10c6(0x394)](_0x4b41f1,_0x5456ee,_0x4ff475,_0x15af67){const _0x11313d=_0x1f10c6;let _0x220f70=[...new Set(_0x4ff475['filter'](_0x2046c8=>!!_0x2046c8))],_0x7f118d=typeof _0x5456ee[_0x11313d(0x147)]==_0x11313d(0x185)?_0x5456ee[_0x11313d(0x147)]:this[_0x11313d(0x3e1)]['unitId'],_0x1d368e=this[_0x11313d(0x3d4)][_0x11313d(0x1f2)](_0x7f118d),_0xe1c4cc=_0x1d368e(()=>this['_commandService'][_0x11313d(0x189)](_0x4b41f1,_0x5456ee));Promise[_0x11313d(0x434)](_0xe1c4cc)['then'](_0x4c719a=>{const _0x5ebaf3=_0x11313d;var _0x397dba,_0x40b6f0,_0x329491,_0x4b56a3;if(_0x4c719a){if(_0x220f70[_0x5ebaf3(0x35f)](_0x5a67e7=>{const _0x55dbb0=_0x5ebaf3;_0x1d368e(()=>this[_0x55dbb0(0x210)]['executeCommand'](_0x4a8bdc['id'],{'unitId':_0x5456ee[_0x55dbb0(0x147)],'subUnitId':_0x5456ee[_0x55dbb0(0x3cd)],'scopeId':_0x5a67e7}));}),_0x15af67&&typeof _0x5456ee[_0x5ebaf3(0x147)]==_0x5ebaf3(0x185)&&typeof _0x5456ee['subUnitId']==_0x5ebaf3(0x185)){var _0x4d0075,_0x794eae;(_0x4d0075=(_0x794eae=this[_0x5ebaf3(0x2cf)])[_0x5ebaf3(0x29f)])==null||_0x4d0075[_0x5ebaf3(0x266)](_0x794eae,{'unitId':_0x5456ee['unitId'],'subUnitId':_0x5456ee[_0x5ebaf3(0x3cd)]},[_0x15af67],_0x15af67);}(_0x397dba=(_0x40b6f0=this[_0x5ebaf3(0x3e1)]['scene'])['makeDirty'])==null||_0x397dba[_0x5ebaf3(0x266)](_0x40b6f0,!0x0),(_0x329491=(_0x4b56a3=this[_0x5ebaf3(0x3e1)][_0x5ebaf3(0x156)])[_0x5ebaf3(0x279)])==null||_0x329491[_0x5ebaf3(0x266)](_0x4b56a3);}});}};En=J([q(0x1,_0x2e0f98(_0x52d74d)),q(0x2,_0x2e0f98(_0x10fb2b)),q(0x3,_0x56aea3),q(0x4,_0x50e115),q(0x5,_0x1d8bf1),q(0x6,_0x2e0f98(_0x56a505))],En);let Dn=class extends _0x494558{constructor(_0x9fb658,_0x20e403,_0x1909f9,_0x1b0aa5,_0x2028e2,_0x3fbb44,_0xc8bd3a,_0x39033d,_0x560d93){const _0x1b8ae3=_0x1f10c6;super(),this['renderContext']=_0x9fb658,this[_0x1b8ae3(0x34a)]=_0x20e403,this[_0x1b8ae3(0x1b5)]=_0x1909f9,this[_0x1b8ae3(0x168)]=_0x1b0aa5,this[_0x1b8ae3(0x405)]=_0x2028e2,this[_0x1b8ae3(0x325)]=_0x3fbb44,this[_0x1b8ae3(0x320)]=_0xc8bd3a,this[_0x1b8ae3(0x2bf)]=_0x39033d,this[_0x1b8ae3(0x155)]=_0x560d93;}};Dn=J([q(0x1,_0x56aea3),q(0x2,_0x52d74d),q(0x3,_0x10fb2b),q(0x4,_0x50e115),q(0x5,_0x7e4b74),q(0x6,_0x51a5ab),q(0x7,_0x2e0f98(_0x588054)),q(0x8,_0x2e0f98(_0x157676))],Dn);const On=_0x1f10c6(0x35e),kn=_0x1f10c6(0x252);function An(_0x4ac6da){const _0x4bb3d4=_0x1f10c6;let {unitId:_0x3b2b27,subUnitId:_0x1d0db5,nodeId:_0x32a1d7,initialDescription:_0x12dc7d=''}=_0x4ac6da,_0x266bb0=_0x44103d(_0x56aea3),_0x3004d4=_0x44103d(_0x51a5ab),_0x4aef2c=_0x44103d(_0x588054),[_0x14c3ce,_0x3dd12e]=_0x63f429(_0x12dc7d),_0x5e30ac=()=>_0x3004d4[_0x4bb3d4(0x341)](kn);return _0x2bca5a(_0x4bb3d4(0x2fa),{'className':'univer-flex\x20univer-w-full\x20univer-flex-col\x20univer-gap-4','data-board-mind-map-description-dialog':_0x4bb3d4(0x2ac),'children':[_0x2bca5a(_0x4bb3d4(0x215),{'className':_0x4bb3d4(0x3e5),'children':[_0x4a7fc2('span',{'className':_0x4bb3d4(0x181),'children':_0x4aef2c['t'](_0x4bb3d4(0x17d))}),_0x4a7fc2(_0x5163c9,{'autoFocus':!0x0,'className':_0x4bb3d4(0x1ad),'placeholder':_0x4aef2c['t'](_0x4bb3d4(0x3b5)),'value':_0x14c3ce,'onValueChange':_0x3dd12e})]}),_0x2bca5a('div',{'className':_0x4bb3d4(0x2d0),'children':[_0x4a7fc2(_0x4ef5c6,{'size':_0x4bb3d4(0x33d),'variant':_0x4bb3d4(0x3bb),'onClick':_0x5e30ac,'children':_0x4aef2c['t'](_0x4bb3d4(0x222))}),_0x4a7fc2(_0x4ef5c6,{'size':'small','variant':_0x4bb3d4(0x24a),'onClick':()=>{const _0x5df40d=_0x4bb3d4;_0x266bb0[_0x5df40d(0x189)](_0x1c2b74['id'],{'unitId':_0x3b2b27,'subUnitId':_0x1d0db5,'nodeId':_0x32a1d7,'foreignAttributes':{'_note':_0x14c3ce[_0x5df40d(0x282)]()?_0x14c3ce:null}}),_0x5e30ac();},'children':_0x4aef2c['t'](_0x4bb3d4(0x264))})]})]});}const jn=_0x1f10c6(0x15f),Mn=_0x1f10c6(0x17f),Nn='FOCUSING_MIND_MAP_BLANK_BOARD',Pn={'copy':_0x1e6cfc[_0x1f10c6(0x43f)],'paste':_0x1e6cfc[_0x1f10c6(0x265)],'paste-as-new':_0x1e6cfc['paste'],'add-child':_0x1e6cfc[_0x1f10c6(0x408)],'add-sibling-or-child':_0x1e6cfc[_0x1f10c6(0x2e4)],'promote':_0x1e6cfc[_0x1f10c6(0x2f7)],'toggle-collapse':_0x1e6cfc[_0x1f10c6(0x30f)],'collapse-all':_0x1e6cfc[_0x1f10c6(0x24b)],'edit-text':_0x1e6cfc[_0x1f10c6(0x2ad)],'open-description':_0x1e6cfc[_0x1f10c6(0x205)],'delete':_0x438e5f[_0x1f10c6(0x1f6)],'arrow-left':_0x438e5f['ARROW_LEFT'],'arrow-right':_0x438e5f['ARROW_RIGHT'],'arrow-up':_0x438e5f[_0x1f10c6(0x2d4)],'arrow-down':_0x438e5f[_0x1f10c6(0x32f)]},Fn={'delete':[_0x438e5f['BACKSPACE']]};function In(_0x397eae){return[Pn[_0x397eae],...Fn[_0x397eae]??[]];}let Ln=class extends _0x9852b5{constructor(_0x470a57,_0x5f065d,_0x53412e,_0x4926d2){const _0x39ae23=_0x1f10c6;super(),this[_0x39ae23(0x2dd)]=_0x470a57,this[_0x39ae23(0x210)]=_0x5f065d,this['_shortcutService']=_0x53412e,this['_undoRedoGroupService']=_0x4926d2,this['_init']();}[_0x1f10c6(0x347)](){const _0x56f0cd=_0x1f10c6;this[_0x56f0cd(0x1c8)](this[_0x56f0cd(0x210)][_0x56f0cd(0x2d2)](this[_0x56f0cd(0x460)]())),this[_0x56f0cd(0x2c1)]()[_0x56f0cd(0x35f)](_0x4f1e08=>{const _0x3ad1e0=_0x56f0cd;this[_0x3ad1e0(0x1c8)](this['_shortcutService'][_0x3ad1e0(0x2d8)](_0x4f1e08));});}[_0x1f10c6(0x460)](){const _0x2413fe=_0x1f10c6;return{'id':jn,'type':_0x266447[_0x2413fe(0x1dc)],'handler':(_0x5c4352,_0x566891,_0x496177)=>{const _0xd7d037=_0x2413fe;let _0x5d2c68=Rn(_0x5c4352,_0x496177);return _0x5d2c68?this[_0xd7d037(0x45d)](_0x5d2c68,_0x566891==null?void 0x0:_0x566891[_0xd7d037(0x1ed)]):!0x1;}};}[_0x1f10c6(0x2c1)](){const _0x18e34e=_0x1f10c6;let _0x8f0636=(_0xad38c5,_0x25c024)=>({'id':jn,'binding':_0xad38c5,'priority':0xa0,'preconditions':_0x29fe80=>_0x4ef334(_0x29fe80)&&!!_0x29fe80[_0x18e34e(0x3f5)](_0x18e34e(0x17f)),'staticParameters':{'action':_0x25c024}}),_0x3bd7ba=_0x1e9105=>In(_0x1e9105)[_0x18e34e(0x28f)](_0x2d063a=>_0x8f0636(_0x2d063a,_0x1e9105));return[..._0x3bd7ba(_0x18e34e(0x43f)),{'id':jn,'binding':Pn[_0x18e34e(0x265)],'priority':0xa0,'preconditions':_0x4db0a9=>_0x4ef334(_0x4db0a9)&&!!this[_0x18e34e(0x2dd)]['getPayload']()&&!!_0x4db0a9['getContextValue']('FOCUSING_MIND_MAP_NODE'),'staticParameters':{'action':_0x18e34e(0x265)}},{'id':jn,'binding':Pn[_0x18e34e(0x1be)],'priority':0x96,'preconditions':_0x257621=>_0x4ef334(_0x257621)&&!!this[_0x18e34e(0x2dd)][_0x18e34e(0x377)]()&&!!_0x257621['getContextValue']('FOCUSING_MIND_MAP_BLANK_BOARD'),'staticParameters':{'action':_0x18e34e(0x1be)}},..._0x3bd7ba('add-child'),..._0x3bd7ba(_0x18e34e(0x450)),..._0x3bd7ba(_0x18e34e(0x39c)),..._0x3bd7ba('toggle-collapse'),..._0x3bd7ba(_0x18e34e(0x192)),..._0x3bd7ba(_0x18e34e(0x433)),..._0x3bd7ba(_0x18e34e(0x26f)),..._0x3bd7ba(_0x18e34e(0x3fe)),..._0x3bd7ba(_0x18e34e(0x2ce)),..._0x3bd7ba(_0x18e34e(0x13b)),..._0x3bd7ba(_0x18e34e(0x29d)),..._0x3bd7ba('arrow-down')];}[_0x1f10c6(0x45d)](_0x15e5a6,_0x2a8031){const _0x279973=_0x1f10c6;return _0x15e5a6['uiStateService'][_0x279973(0x193)]()[_0x279973(0x2d5)]===_0x279973(0x439)&&_0x2a8031!==_0x279973(0x43f)?!0x1:_0x2a8031===_0x279973(0x43f)?this['_copySelectedNode'](_0x15e5a6):_0x2a8031==='paste'?this[_0x279973(0x2a5)](_0x15e5a6):_0x2a8031===_0x279973(0x1be)?this[_0x279973(0x330)](_0x15e5a6):_0x2a8031==='add-child'?this[_0x279973(0x174)](_0x15e5a6):_0x2a8031===_0x279973(0x450)?this['_addSiblingOrChild'](_0x15e5a6):_0x2a8031===_0x279973(0x39c)?this['_executeNodeOperation'](_0x15e5a6,_0x3a6c62['id']):_0x2a8031==='toggle-collapse'?this[_0x279973(0x229)](_0x15e5a6,_0x86163e['id']):_0x2a8031==='collapse-all'?this[_0x279973(0x303)](_0x15e5a6):_0x2a8031===_0x279973(0x433)?this['_openSelectedTextEditing'](_0x15e5a6):_0x2a8031===_0x279973(0x26f)?this[_0x279973(0x1bb)](_0x15e5a6):_0x2a8031===_0x279973(0x3fe)?this[_0x279973(0x2e2)](_0x15e5a6):_0x2a8031&&zn(_0x2a8031)?this[_0x279973(0x42d)](_0x15e5a6,_0x2a8031):!0x1;}['_copySelectedNode'](_0x5edd34){const _0x5499f3=_0x1f10c6;let _0x3a54fd=this[_0x5499f3(0x1fc)](_0x5edd34);return _0x3a54fd?(_0x5edd34[_0x5499f3(0x34a)][_0x5499f3(0x189)](_0x324033['id'],{'unitId':_0x3a54fd[_0x5499f3(0x147)],'subUnitId':_0x3a54fd[_0x5499f3(0x3cd)],'nodeId':_0x3a54fd[_0x5499f3(0x227)]}),!0x0):!0x1;}[_0x1f10c6(0x2a5)](_0x4b22c1){const _0x4e77c9=_0x1f10c6;let _0x57997b=this[_0x4e77c9(0x1fc)](_0x4b22c1);return!_0x57997b||!_0x4b22c1['clipboardService'][_0x4e77c9(0x377)]()?!0x1:(this[_0x4e77c9(0x394)](_0x4b22c1,_0x8b217d['id'],{'unitId':_0x57997b[_0x4e77c9(0x147)],'subUnitId':_0x57997b['subUnitId'],'targetNodeId':_0x57997b['nodeId']},_0x57997b['scopeId']),!0x0);}[_0x1f10c6(0x330)](_0x1af563){const _0x4b45ea=_0x1f10c6;let _0x344e5f=this['_getBlankBoardContext'](_0x1af563);if(!_0x344e5f||!_0x1af563[_0x4b45ea(0x325)][_0x4b45ea(0x377)]())return!0x1;let _0x567464=_0x1af563[_0x4b45ea(0x405)][_0x4b45ea(0x193)](),_0x46da4f=Number['isFinite'](_0x567464[_0x4b45ea(0x368)])&&_0x567464[_0x4b45ea(0x368)]>0x0?_0x567464[_0x4b45ea(0x368)]:0x1,_0x490f08=Math[_0x4b45ea(0x272)]((0x40-_0x567464['viewportPanOffset']['x'])/_0x46da4f),_0x20edc3=Math[_0x4b45ea(0x272)]((0x40-_0x567464[_0x4b45ea(0x360)]['y'])/_0x46da4f);return _0x1af563[_0x4b45ea(0x34a)][_0x4b45ea(0x189)](_0x5b8033['id'],{'unitId':_0x344e5f['unitId'],'subUnitId':_0x344e5f[_0x4b45ea(0x3cd)],'left':_0x490f08,'top':_0x20edc3}),!0x0;}[_0x1f10c6(0x174)](_0x1583f8){const _0x27b973=_0x1f10c6;let _0x363dbc=this[_0x27b973(0x1fc)](_0x1583f8);if(!_0x363dbc)return!0x1;let _0x1eb24c=_0x4e853d(0x6);return this[_0x27b973(0x2ba)](_0x1583f8,_0x47eba7['id'],{'unitId':_0x363dbc[_0x27b973(0x147)],'subUnitId':_0x363dbc[_0x27b973(0x3cd)],'parentNodeId':_0x363dbc[_0x27b973(0x227)],'nodeId':_0x1eb24c,'connectorId':_0x4e853d(0x6),'text':_0x1583f8['localeService']['t']('boards-mind-ui.panel.addText')},_0x363dbc['scopeId'],_0x1eb24c),!0x0;}[_0x1f10c6(0x3b6)](_0x384426){const _0x207d49=_0x1f10c6;let _0x4ba355=this[_0x207d49(0x1fc)](_0x384426);if(!_0x4ba355)return!0x1;let _0x156308=_0x4e853d(0x6);return this['_executeCreateAndEdit'](_0x384426,_0x4ba355[_0x207d49(0x3bd)]?_0x47eba7['id']:_0x5d96a8['id'],{'unitId':_0x4ba355[_0x207d49(0x147)],'subUnitId':_0x4ba355[_0x207d49(0x3cd)],..._0x4ba355[_0x207d49(0x3bd)]?{'parentNodeId':_0x4ba355[_0x207d49(0x227)],'nodeId':_0x156308}:{'nodeId':_0x4ba355[_0x207d49(0x227)],'siblingNodeId':_0x156308},'connectorId':_0x4e853d(0x6),'text':_0x384426[_0x207d49(0x2bf)]['t'](_0x207d49(0x150))},_0x4ba355[_0x207d49(0x3d1)],_0x156308),!0x0;}[_0x1f10c6(0x229)](_0x4a5ee9,_0x54d1d2){const _0x3dde06=_0x1f10c6;let _0x40fe51=this[_0x3dde06(0x1fc)](_0x4a5ee9);return _0x40fe51?(this[_0x3dde06(0x394)](_0x4a5ee9,_0x54d1d2,{'unitId':_0x40fe51[_0x3dde06(0x147)],'subUnitId':_0x40fe51['subUnitId'],'nodeId':_0x40fe51[_0x3dde06(0x227)]},_0x40fe51[_0x3dde06(0x3d1)]),!0x0):!0x1;}['_deleteSelectedNode'](_0x4099a1){const _0x3511b5=_0x1f10c6;let _0x4a581c=this['_getSelectedMindMapContext'](_0x4099a1);if(!_0x4a581c)return!0x1;let _0x5b1471=_0x4099a1[_0x3511b5(0x34a)]['syncExecuteCommand'](_0x3862d0['id'],{'unitId':_0x4a581c['unitId'],'subUnitId':_0x4a581c[_0x3511b5(0x3cd)],'nodeId':_0x4a581c[_0x3511b5(0x227)]});return _0x5b1471&&_0x4099a1[_0x3511b5(0x168)]['clearSelection'](),_0x5b1471;}[_0x1f10c6(0x303)](_0xd471b3){const _0x3b08e7=_0x1f10c6;let _0x49d71e=this['_getSelectedMindMapContext'](_0xd471b3);if(!_0x49d71e)return!0x1;let _0x530ae0=_0xd471b3[_0x3b08e7(0x1b5)][_0x3b08e7(0x258)](_0x49d71e[_0x3b08e7(0x147)],_0x49d71e[_0x3b08e7(0x3cd)]),_0x49f6b8=Object[_0x3b08e7(0x361)](_0x530ae0)[_0x3b08e7(0x28f)](_0x1c1cda=>{const _0x40cab5=_0x3b08e7;let _0x3d7a9b=_0x51f94c(_0x1c1cda[_0x40cab5(0x333)]);return(_0x3d7a9b==null?void 0x0:_0x3d7a9b['structureScopeId'])===_0x49d71e[_0x40cab5(0x3d1)]&&this['_getMindMapChildren'](_0x530ae0,_0x49d71e['scopeId'],_0x1c1cda[_0x40cab5(0x142)])[_0x40cab5(0x1f3)]>0x0?{'nodeId':_0x1c1cda[_0x40cab5(0x142)],'collapsed':_0x3d7a9b['collapsed']}:null;})['filter'](_0x1f412d=>!!_0x1f412d);if(_0x49f6b8[_0x3b08e7(0x1f3)]===0x0)return!0x1;let _0x5976e2=_0x49f6b8['some'](_0x3787d9=>!_0x3787d9[_0x3b08e7(0x38a)]),_0x116619=_0xd471b3['commandService'],_0x53368=this[_0x3b08e7(0x3d4)][_0x3b08e7(0x1f2)](_0x49d71e['unitId']),_0x12a32a=_0x49f6b8[_0x3b08e7(0x28f)](_0x29e5e7=>_0x53368(()=>_0x116619[_0x3b08e7(0x189)](_0x86163e['id'],{'unitId':_0x49d71e[_0x3b08e7(0x147)],'subUnitId':_0x49d71e[_0x3b08e7(0x3cd)],'nodeId':_0x29e5e7[_0x3b08e7(0x227)],'collapsed':_0x5976e2})));return Promise[_0x3b08e7(0x290)](_0x12a32a['map'](_0x3760ad=>Promise[_0x3b08e7(0x434)](_0x3760ad)))[_0x3b08e7(0x161)](_0x497acb=>{const _0x33005a=_0x3b08e7;_0x497acb[_0x33005a(0x442)](Boolean)&&_0x53368(()=>_0x116619[_0x33005a(0x189)](_0x4a8bdc['id'],{'unitId':_0x49d71e[_0x33005a(0x147)],'subUnitId':_0x49d71e[_0x33005a(0x3cd)],'scopeId':_0x49d71e[_0x33005a(0x3d1)]}));}),!0x0;}[_0x1f10c6(0x397)](_0x4fbbd8){const _0x2f52bd=_0x1f10c6;let _0xb46cce=this[_0x2f52bd(0x1fc)](_0x4fbbd8);if(!_0xb46cce)return!0x1;_0x4fbbd8[_0x2f52bd(0x168)][_0x2f52bd(0x29f)]({'unitId':_0xb46cce['unitId'],'subUnitId':_0xb46cce[_0x2f52bd(0x3cd)]},[_0xb46cce[_0x2f52bd(0x227)]],_0xb46cce[_0x2f52bd(0x227)]);let _0x585a6e=_0x4fbbd8[_0x2f52bd(0x155)];return _0x585a6e[_0x2f52bd(0x200)](),_0x585a6e['setEditing']({'unitId':_0xb46cce[_0x2f52bd(0x147)],'subUnitId':_0xb46cce[_0x2f52bd(0x3cd)],'shapeId':_0xb46cce[_0x2f52bd(0x227)],'shapeKey':_0x10c90a(_0xb46cce['unitId'],_0xb46cce[_0x2f52bd(0x227)]),'visible':!0x0}),!0x0;}[_0x1f10c6(0x1bb)](_0x459673){const _0x5b7991=_0x1f10c6;let _0x30bf12=this[_0x5b7991(0x1fc)](_0x459673);return _0x30bf12?(_0x459673[_0x5b7991(0x320)]['open']({'id':kn,'title':{'title':_0x5b7991(0x17d)},'width':0x1a4,'draggable':!0x0,'mask':!0x1,'maskClosable':!0x0,'children':{'label':On,'unitId':_0x30bf12[_0x5b7991(0x147)],'subUnitId':_0x30bf12[_0x5b7991(0x3cd)],'nodeId':_0x30bf12[_0x5b7991(0x227)],'initialDescription':_0x30bf12[_0x5b7991(0x455)]}}),!0x0):!0x1;}[_0x1f10c6(0x42d)](_0x3fc2b8,_0x389790){const _0x164add=_0x1f10c6;let _0x2703e8=this['_getSelectedMindMapContext'](_0x3fc2b8);if(!_0x2703e8)return!0x1;let _0x2ecbb7=_0x3fc2b8[_0x164add(0x1b5)][_0x164add(0x258)](_0x2703e8[_0x164add(0x147)],_0x2703e8[_0x164add(0x3cd)]),_0x3aeba8=_0x2ecbb7[_0x2703e8['nodeId']],_0x32eda0=_0x51f94c(_0x3aeba8==null?void 0x0:_0x3aeba8[_0x164add(0x333)]);if(!_0x3aeba8||!_0x32eda0)return!0x1;let _0xf290c={'arrow-left':'ArrowLeft','arrow-right':_0x164add(0x315),'arrow-up':_0x164add(0x14d),'arrow-down':'ArrowDown'}[_0x389790];if(!_0xf290c)return!0x1;let _0x3023a1=this[_0x164add(0x1e3)](_0x2ecbb7,_0x2703e8[_0x164add(0x227)],_0x32eda0,_0xf290c);return _0x3023a1?(_0x3fc2b8[_0x164add(0x168)][_0x164add(0x29f)]({'unitId':_0x2703e8[_0x164add(0x147)],'subUnitId':_0x2703e8[_0x164add(0x3cd)]},[_0x3023a1],_0x3023a1),!0x0):!0x1;}['_resolveArrowNavigationTarget'](_0x4c9172,_0x2f6eb0,_0x3f8396,_0x3a1b52){const _0x3c6918=_0x1f10c6;let _0x3e9390=this[_0x3c6918(0x2f9)](_0x4c9172,_0x3f8396['structureScopeId'],_0x2f6eb0);if(_0x3f8396['parentNodeId']===null){if(_0x3a1b52===_0x3c6918(0x364)){var _0x519407;return((_0x519407=_0x3e9390[_0x3c6918(0x339)](_0x5179a9=>{const _0x593760=_0x3c6918;var _0x5be173;return((_0x5be173=_0x51f94c(_0x5179a9[_0x593760(0x333)]))==null?void 0x0:_0x5be173[_0x593760(0x2a3)])==='left';}))==null?void 0x0:_0x519407[_0x3c6918(0x142)])??null;}if(_0x3a1b52===_0x3c6918(0x315)){var _0x5a263b;return((_0x5a263b=_0x3e9390[_0x3c6918(0x339)](_0x188086=>{const _0x18b346=_0x3c6918;var _0x9abeaf;return(((_0x9abeaf=_0x51f94c(_0x188086[_0x18b346(0x333)]))==null?void 0x0:_0x9abeaf[_0x18b346(0x2a3)])??'right')===_0x18b346(0x171);}))==null?void 0x0:_0x5a263b['elementId'])??null;}return null;}let _0x3b19c5=_0x3f8396['side']??_0x3c6918(0x171),_0x2ea797=_0x3b19c5===_0x3c6918(0x171)?_0x3c6918(0x364):_0x3c6918(0x315),_0x3b7ebe=_0x3b19c5===_0x3c6918(0x171)?'ArrowRight':_0x3c6918(0x364);if(_0x3a1b52===_0x2ea797)return _0x3f8396[_0x3c6918(0x2d9)];if(_0x3a1b52===_0x3b7ebe){var _0x38d5dc;return((_0x38d5dc=_0x3e9390[0x0])==null?void 0x0:_0x38d5dc[_0x3c6918(0x142)])??null;}if(_0x3a1b52==='ArrowUp'||_0x3a1b52===_0x3c6918(0x356)){let _0x146206=this['_getMindMapChildren'](_0x4c9172,_0x3f8396[_0x3c6918(0x3f1)],_0x3f8396[_0x3c6918(0x2d9)]),_0x48da25=_0x146206[_0x3c6918(0x2c5)](_0x3dfbce=>_0x3dfbce[_0x3c6918(0x142)]===_0x2f6eb0),_0x55cbc5=_0x3a1b52==='ArrowUp'?_0x146206[_0x48da25-0x1]:_0x146206[_0x48da25+0x1];return(_0x55cbc5==null?void 0x0:_0x55cbc5['elementId'])??null;}return null;}[_0x1f10c6(0x2f9)](_0x1871f2,_0x36b56d,_0x55e1a8){const _0x2a8393=_0x1f10c6;return Object[_0x2a8393(0x361)](_0x1871f2)[_0x2a8393(0x3f7)](_0x15c2d8=>{const _0x5397fb=_0x2a8393;let _0x8009e4=_0x51f94c(_0x15c2d8[_0x5397fb(0x333)]);return(_0x8009e4==null?void 0x0:_0x8009e4[_0x5397fb(0x3f1)])===_0x36b56d&&_0x8009e4[_0x5397fb(0x2d9)]===_0x55e1a8&&_0x15c2d8[_0x5397fb(0x333)]['visible']!==!0x1;})[_0x2a8393(0x194)]((_0x59d36e,_0x1de4cd)=>{const _0x516511=_0x2a8393;let _0x454d88=_0x51f94c(_0x59d36e[_0x516511(0x333)]),_0x420dd2=_0x51f94c(_0x1de4cd[_0x516511(0x333)]);return _0x3ac29b(_0x454d88==null?void 0x0:_0x454d88[_0x516511(0x312)],_0x420dd2==null?void 0x0:_0x420dd2['orderKey'])||_0x59d36e[_0x516511(0x142)]['localeCompare'](_0x1de4cd[_0x516511(0x142)]);});}[_0x1f10c6(0x1fc)](_0x526a90){const _0x5f4ea8=_0x1f10c6;var _0x3c55e6;let _0x37a955=_0x526a90[_0x5f4ea8(0x168)][_0x5f4ea8(0x226)](),_0x4cda86=_0x37a955[_0x5f4ea8(0x1d7)]??_0x37a955['selectedIds'][0x0];if(!_0x4cda86||_0x37a955[_0x5f4ea8(0x235)][_0x5f4ea8(0x1f3)]!==0x1||_0x37a955[_0x5f4ea8(0x338)]||_0x37a955[_0x5f4ea8(0x426)])return null;let _0x18e731=_0x37a955[_0x5f4ea8(0x27a)]??{'unitId':_0x526a90[_0x5f4ea8(0x224)][_0x5f4ea8(0x147)],'subUnitId':_0x526a90['renderContext']['unit'][_0x5f4ea8(0x3cc)]()},_0x50b7e6=_0x526a90[_0x5f4ea8(0x1b5)][_0x5f4ea8(0x258)](_0x18e731['unitId'],_0x18e731[_0x5f4ea8(0x3cd)])[_0x4cda86],_0x323564=_0x51f94c(_0x50b7e6==null?void 0x0:_0x50b7e6[_0x5f4ea8(0x333)]);return!_0x50b7e6||!_0x323564?null:{'unitId':_0x18e731['unitId'],'subUnitId':_0x18e731[_0x5f4ea8(0x3cd)],'nodeId':_0x4cda86,'scopeId':_0x323564[_0x5f4ea8(0x3f1)],'isRoot':_0x323564[_0x5f4ea8(0x2d9)]===null,'description':((_0x3c55e6=_0x323564['foreignAttributes'])==null?void 0x0:_0x3c55e6[_0x5f4ea8(0x3b3)])??''};}[_0x1f10c6(0x399)](_0xb11adb){const _0x21d501=_0x1f10c6;var _0x57a61b,_0x19bb19;let _0x29b12a=_0xb11adb[_0x21d501(0x168)]['getSnapshot']();return _0x29b12a[_0x21d501(0x338)]||_0x29b12a[_0x21d501(0x426)]||_0x29b12a['selectedIds']['length']>0x0||_0x29b12a['focusedId']?null:{'unitId':((_0x57a61b=_0x29b12a[_0x21d501(0x27a)])==null?void 0x0:_0x57a61b['unitId'])??_0xb11adb[_0x21d501(0x224)][_0x21d501(0x147)],'subUnitId':((_0x19bb19=_0x29b12a[_0x21d501(0x27a)])==null?void 0x0:_0x19bb19[_0x21d501(0x3cd)])??_0xb11adb['renderContext'][_0x21d501(0x223)][_0x21d501(0x3cc)]()};}[_0x1f10c6(0x394)](_0x159e49,_0x4f251b,_0x1042ba,_0x256e8a){const _0xdcd2fd=_0x1f10c6;let _0x2501e9=_0x159e49[_0xdcd2fd(0x34a)],_0x2e4020=this[_0xdcd2fd(0x3d4)][_0xdcd2fd(0x1f2)](_0x1042ba[_0xdcd2fd(0x147)]),_0x47c142=_0x2e4020(()=>_0x2501e9[_0xdcd2fd(0x189)](_0x4f251b,_0x1042ba));Promise['resolve'](_0x47c142)[_0xdcd2fd(0x161)](_0x2a1152=>{const _0x24b17c=_0xdcd2fd;_0x2a1152&&_0x2e4020(()=>_0x2501e9[_0x24b17c(0x189)](_0x4a8bdc['id'],{'unitId':_0x1042ba['unitId'],'subUnitId':_0x1042ba[_0x24b17c(0x3cd)],'scopeId':_0x256e8a}));});}[_0x1f10c6(0x2ba)](_0x33c6df,_0x47fb9b,_0x4616ed,_0x32e6ff,_0x5213f0){const _0x3c58b6=_0x1f10c6;let _0x21340d={'unitId':_0x4616ed[_0x3c58b6(0x147)],'subUnitId':_0x4616ed[_0x3c58b6(0x3cd)]},_0x445525=_0x33c6df[_0x3c58b6(0x34a)],_0x314eca=this[_0x3c58b6(0x3d4)][_0x3c58b6(0x1f2)](_0x4616ed[_0x3c58b6(0x147)]),_0x211e9b=_0x314eca(()=>_0x445525[_0x3c58b6(0x189)](_0x47fb9b,_0x4616ed));Promise[_0x3c58b6(0x434)](_0x211e9b)[_0x3c58b6(0x161)](_0x3a5445=>{const _0xa8fdb6=_0x3c58b6;if(!_0x3a5445)return;_0x314eca(()=>_0x445525['executeCommand'](_0x4a8bdc['id'],{..._0x21340d,'scopeId':_0x32e6ff})),_0x33c6df[_0xa8fdb6(0x168)][_0xa8fdb6(0x29f)](_0x21340d,[_0x5213f0],_0x5213f0);let _0x1031de=_0x33c6df['textEditingService'];_0x1031de[_0xa8fdb6(0x200)](),_0x1031de[_0xa8fdb6(0x354)]({..._0x21340d,'shapeId':_0x5213f0,'shapeKey':_0x10c90a(_0x21340d[_0xa8fdb6(0x147)],_0x5213f0),'visible':!0x0});});}};Ln=J([q(0x0,_0x7e4b74),q(0x1,_0x56aea3),q(0x2,_0x1247c4),q(0x3,_0x2e0f98(_0x56a505))],Ln);function Rn(_0xdb1f5f,_0x19503f){const _0x2d8b0a=_0x1f10c6;var _0x520141,_0x520a68;let _0x5d9ced=typeof(_0x19503f==null?void 0x0:_0x19503f[_0x2d8b0a(0x147)])==_0x2d8b0a(0x185)?_0x19503f[_0x2d8b0a(0x147)]:(_0x520141=_0xdb1f5f[_0x2d8b0a(0x1a4)](_0x1d8bf1)['getCurrentUnitOfType'](_0x25af0d['UNIVER_BOARD']))==null?void 0x0:_0x520141[_0x2d8b0a(0x163)]();return _0x5d9ced?((_0x520a68=_0xdb1f5f[_0x2d8b0a(0x1a4)](_0x2411d0)[_0x2d8b0a(0x3de)](_0x5d9ced))==null?void 0x0:_0x520a68['with'](Dn))??null:null;}function zn(_0x414665){const _0x4aff7c=_0x1f10c6;return _0x414665===_0x4aff7c(0x2ce)||_0x414665===_0x4aff7c(0x13b)||_0x414665===_0x4aff7c(0x29d)||_0x414665===_0x4aff7c(0x340);}const Bn={'min':0x1,'max':0x5,'defaultValue':0x3},Vn={'min':0x0,'max':0x64,'defaultValue':0x64},Hn=[{'kind':_0x1f10c6(0x326),'titleKey':_0x1f10c6(0x445),'panel':_0x1f10c6(0x2b3)},{'kind':_0x1f10c6(0x299),'titleKey':_0x1f10c6(0x276)},{'kind':_0x1f10c6(0x318),'titleKey':_0x1f10c6(0x3b0)},{'kind':'dropdown','titleKey':_0x1f10c6(0x3f8),'panel':'more','dividerBefore':!0x0}],Un={'addSibling':_0x1f10c6(0x450),'addChild':_0x1f10c6(0x198),'copy':_0x1f10c6(0x43f),'paste':_0x1f10c6(0x265),'delete':'delete'},Wn=[{'key':_0x1f10c6(0x1a3),'title':_0x1f10c6(0x40c),'items':[{'value':'mindmap-horizontal','icon':'mindmap-horizontal','labelKey':'boards-mind-ui.panel.structureKind.mindmapHorizontal'},{'value':'mindmap-vertical','icon':'mindmap-vertical','labelKey':_0x1f10c6(0x41c)}]},{'key':_0x1f10c6(0x1c7),'title':'Tree\x20diagram','items':[{'value':_0x1f10c6(0x423),'icon':_0x1f10c6(0x423),'labelKey':_0x1f10c6(0x3dc)},{'value':_0x1f10c6(0x3f2),'icon':_0x1f10c6(0x3f2),'labelKey':_0x1f10c6(0x1db)},{'value':_0x1f10c6(0x2d6),'icon':_0x1f10c6(0x2d6),'labelKey':_0x1f10c6(0x28d)}]},{'key':_0x1f10c6(0x1c1),'title':_0x1f10c6(0x438),'items':[{'value':_0x1f10c6(0x213),'icon':_0x1f10c6(0x213),'labelKey':'boards-mind-ui.panel.structureKind.timelineHorizontal'},{'value':'timeline-vertical','icon':'timeline-vertical','labelKey':'boards-mind-ui.panel.structureKind.timelineVertical'}]}],Gn={'key':_0x1f10c6(0x1a6),'title':_0x1f10c6(0x199),'items':[{'value':_0x1f10c6(0x411),'icon':'branch-curve','labelKey':_0x1f10c6(0x2b2)},{'value':'rounded-orthogonal','icon':_0x1f10c6(0x23a),'labelKey':'boards-mind-ui.panel.branchLineType.roundedOrthogonal'},{'value':'orthogonal','icon':_0x1f10c6(0x23d),'labelKey':_0x1f10c6(0x32a)}]},Kn=_0x1f10c6(0x37c);function qn(_0x1ff6ff,_0x2d82e5){const _0x1af417=_0x1f10c6;_0x1ff6ff[_0x1af417(0x189)](jn,{'action':_0x2d82e5});}const Jn={'line':_0x44b731,'more':_0x5169d6};function Yn(_0x44e0e7){const _0x4558e1=_0x1f10c6;_0x44e0e7[_0x4558e1(0x435)](),_0x44e0e7[_0x4558e1(0x188)]();}function Xn(_0x5a75c6,_0x3dd829=_0x1f10c6(0x36f),_0x43b725){return _0x4a7fc2(_0x1816c6,{'children':_0x4a7fc2(_0x5a75c6,{'className':_0x3dd829,'extend':_0x43b725})});}function Zn(_0x2b1eca){const _0x3c81ce=_0x1f10c6;var _0x47f1b8,_0x576344;let _0x35b3ca=(_0x2b1eca==null?void 0x0:_0x2b1eca[_0x3c81ce(0x3f6)])??{},_0x2fbe18=_0x35b3ca[_0x3c81ce(0x243)]&&typeof _0x35b3ca['dataModel']==_0x3c81ce(0x25a)?_0x35b3ca[_0x3c81ce(0x243)]:{},_0x2ae4b9=(_0x47f1b8=_0x2fbe18[_0x3c81ce(0x385)])==null||(_0x47f1b8=_0x47f1b8[_0x3c81ce(0x2a0)])==null?void 0x0:_0x47f1b8['textStyle'];return{'color':typeof _0x35b3ca[_0x3c81ce(0x143)]==_0x3c81ce(0x185)?_0x35b3ca[_0x3c81ce(0x143)]:(_0x2ae4b9==null||(_0x576344=_0x2ae4b9['cl'])==null?void 0x0:_0x576344[_0x3c81ce(0x44a)])??_0x5402c0,'fontFamily':typeof _0x35b3ca[_0x3c81ce(0x2ed)]==_0x3c81ce(0x185)?_0x35b3ca['fontFamily']:(_0x2ae4b9==null?void 0x0:_0x2ae4b9['ff'])??_0xbb156e['ff'],'fontSize':typeof _0x35b3ca['fontSize']==_0x3c81ce(0x419)?_0x35b3ca[_0x3c81ce(0x1b9)]:typeof(_0x2ae4b9==null?void 0x0:_0x2ae4b9['fs'])==_0x3c81ce(0x419)?_0x2ae4b9['fs']:_0xbb156e['fs'],'horizontalAlign':_0x35b3ca[_0x3c81ce(0x378)]??_0x2fbe18['ha']??_0xbace98[_0x3c81ce(0x314)],'textFill':_0x35b3ca[_0x3c81ce(0x2ec)]&&typeof _0x35b3ca[_0x3c81ce(0x2ec)]==_0x3c81ce(0x25a)?_0x35b3ca[_0x3c81ce(0x2ec)]:_0x2ae4b9==null?void 0x0:_0x2ae4b9[_0x3c81ce(0x2ec)],'verticalAlign':_0x35b3ca[_0x3c81ce(0x19d)]??_0x2fbe18['va']??_0x3de0d7[_0x3c81ce(0x3db)]};}function _0x1ae0(){const _0x34864c=['horizontalAlign','_localeService','getElementDataForUnit','univer-flex\x20univer-flex-col\x20univer-gap-4\x20univer-p-4','board.mind-map.floating-toolbar','mindmap-vertical','parentBounds','20lYOWNz','univer-min-h-12\x20univer-text-base','structureKind','getTemplate','activated$','_boardElementService','doc','add-child-right','ghostFillColor','univer-h-auto\x20univer-min-h-12\x20univer-whitespace-normal\x20univer-px-2\x20univer-py-2','opacity','collapsed','_object','boards-mind-ui.toolbar.action.delete','23296PGFIXp','save','onPointerDown$','_resolveHostSize','univer-cursor-not-allowed\x20univer-text-gray-300\x20hover:univer-bg-transparent','bottom','targetNodeId','_executeAndLayout','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','key','_openSelectedTextEditing','@univerjs-pro/boards-mind-ui','_getBlankBoardContext','M12\x2015h9M12\x2028h9M12\x2041h9M59\x2015h9M59\x2028h9M59\x2041h9',',\x20minmax(0,\x201fr))','promote','children','clipboard','boards-mind-ui.panel.structureKind.mindmapHorizontal','scaleX','onPointerCancel$','path','#d8dce3','_activeScopeId','has','isInteractionSurfaceActive','titleKey','_applyPointerChildDrag','getTouchHitDistance','_syncControls','join','top-center','notify','_getPointFromEvent','univer-text-xs','boards-mind-ui.toolbar.primary.typography','repeat(','primaryColor','_note','skipNextObservers','boards-mind-ui.descriptionPlaceholder','_addSiblingOrChild','max','getHitControl','_objectPointerDisposables','mind-map-layout-dropdown','default','pointerStartY','isRoot','_createTopologyBoundsByElementId','siblingDotRadius','dispose','_clearPopup','_resolvePreviewSourceBounds','board-mind-map-drag-preview-object','meta','updateState','clear','defineProperty','subscribe','preview','_getBoardsUIConfig','orthogonal','getActivePageId','subUnitId','_attachObjectPointerListeners','univer-flex\x20univer-h-12\x20univer-min-w-0\x20univer-items-center\x20univer-justify-center\x20univer-rounded-lg\x20univer-border-0\x20univer-bg-transparent\x20univer-p-0\x20univer-text-gray-900\x20univer-outline-none\x20univer-transition-colors\x20hover:univer-bg-gray-0','M16\x2028c16\x200\x2025-13\x2043-13M16\x2028c16\x200\x2025\x2013\x2043\x2013','scopeId','dashType','rootTextColor','_undoRedoGroupService','_syncLayoutPreview','_disposed','shapeId','toPrimitive','_handlePointerMove','lineJoin','MIDDLE','boards-mind-ui.panel.structureKind.treeRight','_componentManager','getRenderUnitById','_syncChildDragPreview','ENTER','_renderContext','pointercancel','setLineDash','structure','univer-flex\x20univer-flex-col\x20univer-gap-2','none','boards-mind-ui.alignTop','_showPopupForSelection','hostSize','M56\x2039h11M13\x2050h11','rootRadius','clientY','_syncPointerChildDragPreview','_popupSelectionKey','navigator','addEventListener','structureScopeId','tree-left','TRUE','subscribeEvent','getContextValue','shapeText','filter','boards-mind-ui.toolbar.primary.more','slice','6477207bhgZOW','activeTool','boards-mind-ui.panel.rename','_activeNodeId','delete','offsetX','_resolveDirtyBounds','panel','boards-mind-ui.toolbar.panel.typography','timelineAxisGap','_isPointInBounds','uiStateService','_getDependencies','_resolveSelectedMindMapEntryFromState','addChildNode','newParentNodeId','dataTransfer','univer-grid\x20univer-grid-cols-4\x20univer-gap-2','Mind\x20map','add-child-top','_template','exec','canvas','curve','univer-mb-0','FOCUSING_MIND_MAP_TEXT_EDITOR','updateElement','interactionSurfaceActive$','addObject','show','_initEditingRestore','number','labelKey','localeCompare','boards-mind-ui.panel.structureKind.mindmapVertical','top','items','_clearPopupIfSelectionChanged','kind','univer-border-b\x20univer-border-gray-200\x20univer-p-4','globalAlpha','tree-right','_getElementKey','univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-xs\x20univer-text-gray-600','isTransforming','objects','boards-mind-ui.panel.tab.structure','elementRemove$','_resolveCreateChildSide','branchLineType','_getZoomRatio','_navigateByTopology','_getPointerScreenPoint','_registerComponents','foreignAttributes','px\x20','_resolveRootChildControlSides','edit-text','resolve','stopPropagation','textStyle','univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-gap-4','Timeline','viewing','currentColor','sourceDashScreen','connector','circle','removeObjects','copy','solid','6\x207','some','_sidebarDisposable','boards-mind-ui.panel.structureKind.timelineHorizontal','boards-mind-ui.toolbar.primary.line','univer-space-y-2','boards-mind-ui.panel.layout.right','surfaceColor','underline','rgb','font','M22\x208h36M22\x2048h36M14\x2018v20M66\x2018v20','univer-min-h-12\x20univer-w-full','setContextValue','univer-flex\x20univer-min-w-0\x20univer-flex-1\x20univer-gap-2','add-sibling-or-child','univer-text-xs\x20univer-text-gray-400\x20dark:!univer-text-gray-500','_uiStateService','setActiveTool','point','description','_insertMindMap','setTemplate','_syncPreviewObject','makeDirtyNoDebounce','stroke','changeEnd$','_getPointerLiveBounds','handleShortcut','_previewRefreshService','textPaddingScreen','_createKeyboardShortcutOperation','_intrinsicSizeService','SquareDot','arrow-right','univer-h-7\x20univer-min-w-9\x20univer-w-auto\x20univer-gap-1\x20univer-px-1.5','decorate','univer-h-12\x20univer-w-32\x20univer-text-base','_childDragSelectionHidden','hide','994314FSiXkd','elementId','color','_childDragActivated','glyphSize','flatMap','unitId','_removePreviewObject','_ensurePreviewObject','boards-mind-ui.alignJustify','evented','reparent','ArrowUp','boards-mind-ui.alignRight','siblingGlyphSize','boards-mind-ui.panel.addText','both','tools','unshift','univer-flex-wrap','textEditingService','scene','setPendingInsert','_updateHostSize','boards-mind-ui.panel.spacing.branchGap','M20\x2025h13M20\x2035h13M20\x2045h13','Dash','rgba(','_isPopupSelectionStillActive','M16\x2029h18c7\x200\x2010-5\x2010-12v-3M34\x2029h10c7\x200\x2010\x205\x2010\x2012v3','board.operation.mind-map.keyboard-shortcut','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','then','elementUpdate$','getUnitId','_dragStart','getTransformerByCreate','quadraticCurveTo','min','elementStateService','3648534rwtGSc','strokeStyle','changeStart$','boards-mind-ui.alignBottom','boards-mind-ui.panel.importOPML','textColor','rootWidth','_popupDisposable','right','univer-flex\x20univer-flex-col\x20univer-gap-1','mind-map-stroke','_addChild','title','_capturePointerChildDragStart','rootFontSize','_countDescendants','univer-min-h-12\x20univer-px-3','_executeRootAnchoredLayout','5109713pEXreH','_removeObject','boards-mind-ui.description','board-mind-map-pending-insert-object','FOCUSING_MIND_MAP_NODE','isFinite','univer-text-sm\x20univer-font-medium\x20univer-text-gray-900\x20dark:!univer-text-gray-0','setHoveredControl','includes','transform','string','_normalizeChildren','open','preventDefault','executeCommand','beginPath','syncExecuteCommand','dragObjectAlpha','rootFontWeight','_cloneBlueprint','render','_resolveRootTopLeft','editingParams$','collapse-all','getState','sort','_updateShapeText','board.operation.mind-map.open-panel','parseInt','add-child','Branch','univer-flex\x20univer-gap-2','elementData','_shortcutService','verticalAlign','_resolveControlBounds','getObjectIncludeInGroup','_buildPopupSelectionKey','_createQuoteShortcut','_findChildNodeAtPoint','mind-map','get','_dragPreviewObject','branch','transientControl','univer-space-y-3','_sidebarService','_getBoardPointFromEvent','allowRootReparent','M40\x209v40M40\x2020c8\x200\x2011\x204\x2011\x2011v8M40\x2035c-8\x200-11\x204-11\x2011v4','univer-h-32\x20univer-resize-none\x20univer-text-sm','strikethrough','_seedExistingNodeSizes','child','abs','board.mind-map.panel','boundsByElementId','boards-mind-ui.panel.layout.both','elementService','transientPreviewForeground','hideRootControls','univer-w-[202px]\x20univer-rounded-xl\x20univer-border\x20univer-border-gray-200\x20univer-bg-gray-0\x20univer-px-4\x20univer-py-4\x20univer-shadow-lg','fontSize','_consumePointerEvent','_openDescriptionDialog','lineCap','controls','paste-as-new','zIndex','from','timeline','TOP','Shape','_hideSelectionForChildDrag','shapeData','M19.5\x207.5h-4.2c-1.9\x200-3.3\x201.5-3.3\x203.3','tree-diagram','disposeWithMe','more','_resolveIncomingConnectorStyle','defaultValue','_attachObjectPointerScheduled','boards-mind-ui.panel.cancel','type','univer-min-h-12\x20univer-text-xl','univer-h-28\x20univer-resize-none','_consumeControlEvent','_resolvePreviewTextStyle','timeline-vertical','layout','icon','add-child-bottom','focusedId','Enter','_applyDragTopologyAction','pointerStartX','boards-mind-ui.panel.structureKind.treeLeft','OPERATION','onStarting','move','glyphHoverWidth','_textEditingService','toolbar','depth','_resolveArrowNavigationTarget','mind-map-fill','snapDistance','_removeDragPreviewObject','922665rRAffM','onChange','dot','Solid','univer-space-y-1','onCommandExecuted','action','mind-map-font-size','onPointerMove$','svg','54MgXSdM','createRunner','length','_previewHostSize','packageName','DELETE','toggle-collapse','_syncContext','value','hoveredControl','fonts$','_getSelectedMindMapContext','getAncestorScale','unsubscribe','_insertStateService','ignoreExternalFocusChanges','setShapeSidebarOpen','siblingGap','isHit','_provider','addDescription','getBoundingClientRect','_resolveControlSide','univer-w-full\x20univer-text-xs','_resolveCurrentBoardContext','_resolveChildDragTopologyAction','_isChildDragPastActivationThreshold','onDblclick$','_getLiveObjectBounds','collapsedDescendantCount','getEditing','_commandService','getSelectedObjectMap','connectorData','timeline-horizontal','engine','label','boards-mind-ui.panel.nodeStyle.fontSize','add-sibling-before','importExport','boards-mind-ui.panel.spacing.parentGap','0\x200\x2024\x2024','_getSceneObject','_resetContext','badgeCount','univer-h-12\x20univer-text-base','M56\x2011h11M56\x2051h11','M12\x2026h11M58\x2036h11M12\x2045h11','connectorAlpha','boards-mind-ui.cancel','unit','renderContext','univer-h-9\x20univer-w-12','getSnapshot','nodeId','_syncRootScopePreview','_executeNodeOperation','_subscribeElementDataChanges','univer-border-b\x20univer-border-gray-200\x20univer-p-3','deviceType','_resolveNodeSize','function','_handleElementUpdate','register','pluginName','addChildGlyphSize','left','hypot','selectedIds','dividerBefore','rootText','univer-max-w-[min(760px,calc(100vw-32px))]','registerRenderModule','branch-rounded-orthogonal','rounded-orthogonal','refresh$','branch-orthogonal','layout-panel-divider','univer-size-6\x20univer-rounded\x20univer-border\x20univer-border-solid\x20univer-border-gray-200','_refresh$','boards-mind-ui.panel.tab.','_attachObjectEvents','dataModel','writeText','1.8','width','textAlign','focusUnit','_syncChildDragPreviewObject','primary','collapseAllNodes','_enableMindMapToolbarTool','bounds','_restoreActivePreview','setConfig','after','restore','board-mind-map-description-dialog','clearSelection','rootNodeId','entries','childNodeId','middle','getElementData','lineWidthScreen','object','_lastChildDragAction','univer-w-32','textBaseline','_resolveChildSide','registerAdapter','_toFiniteBounds','badgeFontWeight','Escape','_drawConnectorPreview','boards-mind-ui.saveDescription','paste','call','hasCommand','[&_input]:univer-h-12\x20[&_input]:univer-text-base','univer-mb-3\x20univer-w-full','_instanceService','ghost','height','_applyRootTranslation','getFonts','open-description','_activePointerDragDisposables','boards-mind-ui.toolbar.panel.line','round','dispose$','boards-mind-ui.panel.tab.importExport','focus','boards-mind-ui.toolbar.primary.fontColor','_restoreObjectToDragStart','root','requestRender','context','_executeChildDragAction','data','_configService','set','_rememberNodeSize','_lastPoint','extraProps','trim','univer-grid\x20univer-h-14\x20univer-overflow-hidden\x20univer-rounded-xl\x20univer-bg-gray-100\x20univer-p-1','radius','fillStyle','boards-mind-ui.panel.nodeStyle.style','boards-mind-ui.alignLeft','_isActive','elementAdd$','_resolveCompleteSelectedScope','M15\x2031h50M35\x2031V18c0-4\x203-7\x208-7h9M35\x2031v13c0\x204\x203\x207\x208\x207h9','univer-flex\x20univer-items-center\x20univer-gap-1\x20univer-truncate\x20univer-rounded\x20univer-py-1\x20univer-text-left\x20univer-text-gray-800','boards-mind-ui.panel.structureKind.treeAlternate','vertical','map','all','borderWidth','push','boards-mind-ui.panel.exportOPML','_pointerDragStart','ghostRadius','univer-w-20\x20univer-shrink-0','_contextService','visualRadius','fontColor','_cloneBlueprintNode','univer-text-gray-500','UNIVER_BOARD','arrow-up','fallbackNodeHeight','selectElements','documentStyle','boards-mind-ui.panel.branchLineType.roundedOrthogonal','getCanvasElement','side','univer-size-full\x20univer-bg-gray-0\x20univer-text-sm\x20univer-text-gray-700\x20dark:!univer-bg-gray-900\x20dark:!univer-text-gray-200','_pasteUnderSelectedNode','_layoutFlushScheduled','detach','italic','symbol','ghostTextColor','fillText','true','editCurrentNode','_isControlEvent','sourceHighlightFillColor','closePath','_instanceSrv','boards-mind-ui.panel.branchLineType.curve','line','style-divider','add-child-left','getUnit','rootHeight','glyphWidth','6YsOEtk','_executeCreateAndEdit','dirtyPaddingScreen','pointermove','addChildRadius','_resolveSelectedEntry','localeService','add','_createShortcutItems','_injector','RoundDot','mindmap','findIndex','pendingInsert','_state','_queueLayout','boards-mind-ui.toolbar.action.copy','addChild','owner','branchGap','clearControl$','arrow-left','_elementStateService','univer-flex\x20univer-justify-end\x20univer-gap-2','sourceBounds','registerCommand','button','ARROW_UP','interactionMode','tree-alternate','board-mind-map-node-controls-object','registerShortcut','parentNodeId','_handlePointerDown','_activePreview','_cancelPointerChildDrag','_mindMapClipboardService','univer-min-h-12\x20univer-w-full\x20univer-justify-between','visible','offsetY','text','_deleteSelectedNode','MindMap','addSiblingNode','univer-min-h-12\x20univer-flex-1','univer-w-full\x20univer-text-base','getShortcutDisplay','_drawSourceHighlight','univer-min-w-0\x20univer-flex-1\x20univer-justify-start\x20univer-truncate\x20univer-text-left','transientPreview','nodeHeight','textFill','fontFamily','_interactionSurfaceService','univer-bg-[#e8eefc]\x20univer-text-[#2f6fed]\x20hover:univer-bg-[#e8eefc]','univer-grid-cols-3','item','dash','SolidLine','univer-mb-4','boards-mind-ui.panel.emptyNodes','next','addParentNode','boards-mind-ui.toolbar.action.','_getMindMapChildren','div','horizontalGap','hasChildren','moveTo','ghostBounds','univer-grid\x20univer-w-full\x20univer-gap-2','clientX','getObject','boards-mind-ui.panel.searchNodes','_collapseAll','mindmap-horizontal','before','_ensureObject','direction','touchHitRadius','lineTo','enabled','_applyScopeTranslation','registerRuntimeScopedDependencies','scaleY','blueprint','foldChildNodes','_scheduleAttachObjectPointerListeners','_renderManagerService','orderKey','state$','LEFT','ArrowRight','params','detachWhenNoSnap','typography','ghostFontWeight','fill','attachPopupToObject','_queuedLayouts','_config','gap','_boardTextEditingService','dialogService','onPointerUp$','keys','divider-','constructor','clipboardService','dropdown','_ensureDragPreviewObject','changing$','nodeWidth','boards-mind-ui.panel.branchLineType.orthogonal','univer-items-center','incomingConnectorStyle','scope','_disposeActivePointerDragListeners','ARROW_DOWN','_pasteAsNewMindMap','getScene','_nodeSizeByKey','element','createControl$','M24\x2012v32M24\x2019c0\x204\x203\x206\x207\x206h7M24\x2029c0\x204\x203\x206\x207\x206h7M24\x2039c0\x204\x203\x206\x207\x206h7','collapsePlusMinDistance','style','activeEditingId','find','BOTTOM','transformByState','12HUAOfx','small','_objectEventDisposables','lineWidth','arrow-down','close','M47\x2025h13M47\x2035h13M47\x2045h13','pointerup','getInjector','bold','center','_init','addSibling','onReady','commandService','boards-mind-ui.panel.title','liveRootBounds','boards-mind-ui.toolbar.action.addChild','panOffset','rootStartBounds','branch-curve','_getRenderModules','popup','setData','setEditing','removeEventListener','ArrowDown','boards-mind-ui.panel.pasteOPML','_syncElementDataToScene','makeDirty','M17\x2033h21M38\x2017v30M38\x2017h24','_attachActivePointerDragListeners','size','section','board.mind-map.description-dialog','forEach','viewportPanOffset','values','getElementById','_syncRootReparentPreview','ArrowLeft','success','toLowerCase','Touch','zoomRatio','placement','large','SHIFT','custom','add-sibling-after','pipe','univer-size-5','version','span','_syncDragPreview','boards-mind-ui.toolbar.action.layout','_previewObject','1977502QZwyVp','_stateService','getPayload'];_0x1ae0=function(){return _0x34864c;};return _0x1ae0();}function Qn(_0x79bd2e,_0x2df734){const _0x4a257c=_0x1f10c6;if(!_0x2df734)return;let _0x512689=In(_0x2df734);if(!_0x512689[_0x4a257c(0x1f3)])return;let _0xf8fa7f=_0x512689[_0x4a257c(0x28f)](_0x5961b6=>_0x79bd2e[_0x4a257c(0x2e7)]({'id':'board.operation.mind-map.keyboard-shortcut','binding':_0x5961b6,'staticParameters':{'action':_0x2df734}})??void 0x0)[_0x4a257c(0x3f7)](_0x46d4c9=>!!_0x46d4c9);return _0xf8fa7f[_0x4a257c(0x1f3)]?[...new Set(_0xf8fa7f)][_0x4a257c(0x3ab)]('/'):void 0x0;}async function $n(_0x1338eb,_0x3450b8,_0xe5002e){const _0x478d5e=_0x1f10c6;return await Promise[_0x478d5e(0x434)](_0x3450b8(()=>_0x1338eb[_0x478d5e(0x189)](_0x24f826['id'],_0xe5002e)))?(await Promise[_0x478d5e(0x434)](_0x3450b8(()=>_0x1338eb[_0x478d5e(0x189)](_0x4a8bdc['id'],{'unitId':_0xe5002e[_0x478d5e(0x147)],'subUnitId':_0xe5002e[_0x478d5e(0x3cd)],'scopeId':_0xe5002e[_0x478d5e(0x3d1)]}))),!0x0):!0x1;}async function er(_0xfe980b,_0x3995e8,_0x175e66){const _0x25ff4c=_0x1f10c6;return await Promise['resolve'](_0x3995e8(()=>_0xfe980b[_0x25ff4c(0x189)](_0x4bb9b4['id'],_0x175e66)))?(await Promise[_0x25ff4c(0x434)](_0x3995e8(()=>_0xfe980b[_0x25ff4c(0x189)](_0x4a8bdc['id'],{'unitId':_0x175e66[_0x25ff4c(0x147)],'subUnitId':_0x175e66['subUnitId'],'scopeId':_0x175e66[_0x25ff4c(0x3d1)]}))),!0x0):!0x1;}function tr({className:_0x5d13e4=_0x1f10c6(0x36f)}){const _0x585538=_0x1f10c6;return _0x4a7fc2(_0x1816c6,{'children':_0x2bca5a(_0x585538(0x1f0),{'className':_0x5d13e4,'viewBox':_0x585538(0x21a),'fill':'none','aria-hidden':_0x585538(0x2ac),'children':[_0x4a7fc2(_0x585538(0x3a2),{'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':'currentColor','strokeWidth':_0x585538(0x245),'strokeLinecap':_0x585538(0x272)}),_0x4a7fc2(_0x585538(0x3a2),{'d':_0x585538(0x1c6),'stroke':_0x585538(0x43a),'strokeWidth':_0x585538(0x245),'strokeLinecap':_0x585538(0x272)}),_0x4a7fc2('path',{'d':'M4.5\x2016.5h4.2c1.9\x200\x203.3-1.5\x203.3-3.3','stroke':'currentColor','strokeWidth':_0x585538(0x245),'strokeLinecap':_0x585538(0x272)})]})});}function nr({icon:_0x26640a}){const _0x398d30=_0x1f10c6;let _0x2ba80b=_0x398d30(0x3a3),_0x4bbb2c={'stroke':_0x398d30(0x43a),'strokeWidth':2.6,'strokeLinecap':_0x398d30(0x272),'strokeLinejoin':_0x398d30(0x272)},_0x5c55e4={'stroke':_0x2ba80b,'strokeWidth':3.2,'strokeLinecap':'round'};return _0x2bca5a(_0x398d30(0x1f0),{'className':_0x398d30(0x225),'viewBox':'0\x200\x2080\x2056','fill':_0x398d30(0x3e6),'aria-hidden':_0x398d30(0x2ac),'children':[_0x26640a===_0x398d30(0x304)&&_0x2bca5a(_0x3a937c,{'children':[_0x4a7fc2(_0x398d30(0x3a2),{'d':_0x398d30(0x160),..._0x4bbb2c}),_0x4a7fc2(_0x398d30(0x3a2),{'d':_0x398d30(0x39a),..._0x5c55e4})]}),_0x26640a===_0x398d30(0x37d)&&_0x2bca5a(_0x3a937c,{'children':[_0x4a7fc2('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',..._0x4bbb2c}),_0x4a7fc2('path',{'d':_0x398d30(0x44c),'stroke':_0x2ba80b,'strokeWidth':2.6,'strokeLinecap':_0x398d30(0x272),'strokeDasharray':_0x398d30(0x441)})]}),_0x26640a===_0x398d30(0x423)&&_0x2bca5a(_0x3a937c,{'children':[_0x4a7fc2(_0x398d30(0x3a2),{'d':_0x398d30(0x335),..._0x4bbb2c}),_0x4a7fc2(_0x398d30(0x3a2),{'d':_0x398d30(0x342),..._0x5c55e4}),_0x4a7fc2('circle',{'cx':'24','cy':'12','r':'3','fill':_0x398d30(0x43a)})]}),_0x26640a===_0x398d30(0x3f2)&&_0x2bca5a(_0x3a937c,{'children':[_0x4a7fc2(_0x398d30(0x3a2),{'d':'M56\x2012v32M56\x2019c0\x204-3\x206-7\x206h-7M56\x2029c0\x204-3\x206-7\x206h-7M56\x2039c0\x204-3\x206-7\x206h-7',..._0x4bbb2c}),_0x4a7fc2(_0x398d30(0x3a2),{'d':_0x398d30(0x15a),..._0x5c55e4}),_0x4a7fc2('circle',{'cx':'56','cy':'12','r':'3','fill':_0x398d30(0x43a)})]}),_0x26640a===_0x398d30(0x2d6)&&_0x2bca5a(_0x3a937c,{'children':[_0x4a7fc2(_0x398d30(0x3a2),{'d':'M42\x2012v32M42\x2020c0\x204-3\x206-7\x206h-7M42\x2030c0\x204\x203\x206\x207\x206h7M42\x2039c0\x204-3\x206-7\x206h-7',..._0x4bbb2c}),_0x4a7fc2(_0x398d30(0x3a2),{'d':_0x398d30(0x220),..._0x5c55e4}),_0x4a7fc2(_0x398d30(0x43d),{'cx':'42','cy':'12','r':'3','fill':'currentColor'})]}),_0x26640a==='timeline-horizontal'&&_0x2bca5a(_0x3a937c,{'children':[_0x4a7fc2(_0x398d30(0x3a2),{'d':_0x398d30(0x28b),..._0x4bbb2c}),_0x4a7fc2(_0x398d30(0x3a2),{'d':_0x398d30(0x21f),..._0x5c55e4}),_0x4a7fc2('circle',{'cx':'17','cy':'31','r':'3','fill':_0x398d30(0x43a)})]}),_0x26640a===_0x398d30(0x1d3)&&_0x2bca5a(_0x3a937c,{'children':[_0x4a7fc2('path',{'d':_0x398d30(0x1ac),..._0x4bbb2c}),_0x4a7fc2(_0x398d30(0x3a2),{'d':_0x398d30(0x3ea),..._0x5c55e4}),_0x4a7fc2('circle',{'cx':'40','cy':'9','r':'3','fill':'currentColor'})]}),_0x26640a===_0x398d30(0x350)&&_0x4a7fc2(_0x3a937c,{'children':_0x4a7fc2(_0x398d30(0x3a2),{'d':_0x398d30(0x3d0),..._0x4bbb2c})}),_0x26640a===_0x398d30(0x23a)&&_0x4a7fc2(_0x3a937c,{'children':_0x4a7fc2('path',{'d':_0x398d30(0x15e),..._0x4bbb2c})}),_0x26640a==='branch-orthogonal'&&_0x4a7fc2(_0x3a937c,{'children':_0x4a7fc2(_0x398d30(0x3a2),{'d':_0x398d30(0x35a),..._0x4bbb2c})})]});}function rr(_0x31bb81,_0x3be213){const _0x2f6e4f=_0x1f10c6;let _0x41f16a=_0x31bb81[_0x2f6e4f(0x436)],_0x10c1aa=_0xac270a(_0x41f16a),_0x109674={..._0x10c1aa['color']===void 0x0?null:{'color':_0x10c1aa[_0x2f6e4f(0x143)]},..._0x10c1aa[_0x2f6e4f(0x2ed)]===void 0x0?null:{'fontFamily':_0x10c1aa[_0x2f6e4f(0x2ed)]},..._0x10c1aa[_0x2f6e4f(0x1b9)]===void 0x0?null:{'fontSize':_0x10c1aa[_0x2f6e4f(0x1b9)]},..._0x10c1aa[_0x2f6e4f(0x345)]===void 0x0?null:{'bold':_0x10c1aa[_0x2f6e4f(0x345)]},..._0x10c1aa['italic']===void 0x0?null:{'italic':_0x10c1aa['italic']},..._0x10c1aa['underline']===void 0x0?null:{'underline':_0x10c1aa[_0x2f6e4f(0x449)]},..._0x10c1aa[_0x2f6e4f(0x1ae)]===void 0x0?null:{'strikethrough':_0x10c1aa[_0x2f6e4f(0x1ae)]},..._0x10c1aa[_0x2f6e4f(0x2ec)]===void 0x0?null:{'textFill':_0x10c1aa['textFill']}};_0x31bb81[_0x2f6e4f(0x378)]!==void 0x0&&(_0x109674['horizontalAlign']=_0x31bb81[_0x2f6e4f(0x378)]),_0x31bb81[_0x2f6e4f(0x19d)]!==void 0x0&&(_0x109674['verticalAlign']=_0x31bb81[_0x2f6e4f(0x19d)]),Object['keys'](_0x109674)[_0x2f6e4f(0x1f3)]>0x0&&_0x3be213({'textStyle':_0x109674});}function ir(_0x3efe36,_0x3b63d1,_0x459d28){const _0x3a8980=_0x1f10c6;let _0xd4d266=_0x3efe36??{},_0x554804=_0x51fd3e(_0xd4d266,_0x3b63d1),_0xff774c=_0x554804['shapeText']??_0xd4d266[_0x3a8980(0x3f6)]??{};return{..._0xd4d266,..._0x554804,'shapeText':{..._0xff774c,..._0x459d28[_0x3a8980(0x143)]===void 0x0?null:{'color':_0x459d28[_0x3a8980(0x143)]},..._0x459d28[_0x3a8980(0x1b9)]===void 0x0?null:{'fontSize':_0x459d28[_0x3a8980(0x1b9)]},..._0x459d28[_0x3a8980(0x345)]===void 0x0?null:{'bold':_0x459d28[_0x3a8980(0x345)]},..._0x459d28[_0x3a8980(0x2a8)]===void 0x0?null:{'italic':_0x459d28['italic']},..._0x459d28[_0x3a8980(0x449)]===void 0x0?null:{'underline':_0x459d28[_0x3a8980(0x449)]},..._0x459d28['strikethrough']===void 0x0?null:{'strikethrough':_0x459d28['strikethrough']},..._0x459d28[_0x3a8980(0x378)]===void 0x0?null:{'horizontalAlign':_0x459d28['horizontalAlign']},..._0x459d28[_0x3a8980(0x19d)]===void 0x0?null:{'verticalAlign':_0x459d28['verticalAlign']},..._0x459d28[_0x3a8980(0x2ec)]===void 0x0?null:{'textFill':_0x459d28[_0x3a8980(0x2ec)]}}};}function ar(_0x5cf3cd,_0x1dc623){const _0x48bf34=_0x1f10c6;let _0x16bbfd=_0x5cf3cd==null?void 0x0:_0x5cf3cd[_0x48bf34(0x45a)];_0x16bbfd&&_0x1dc623({'lineType':_0x16bbfd['dashType']===_0x4d9387[_0x48bf34(0x2c3)]||_0x16bbfd[_0x48bf34(0x3d2)]===_0x4d9387[_0x48bf34(0x462)]?_0x48bf34(0x1e9):_0x16bbfd['dashType']===_0x4d9387[_0x48bf34(0x15b)]?_0x48bf34(0x2f2):_0x48bf34(0x440),...typeof _0x16bbfd[_0x48bf34(0x246)]==_0x48bf34(0x419)?{'strokeWidth':_0x16bbfd['width']}:null,...typeof _0x16bbfd['color']==_0x48bf34(0x185)?{'stroke':_0x16bbfd[_0x48bf34(0x143)]}:null,...typeof _0x16bbfd[_0x48bf34(0x389)]==_0x48bf34(0x419)?{'opacity':_0x16bbfd[_0x48bf34(0x389)]}:null});}function or(_0x5ceb18){const _0x57b90f=_0x1f10c6;return _0x5ceb18!=null&&_0x5ceb18[_0x57b90f(0x1f3)]?_0x5ceb18[0x0]<=0x2?_0x4d9387['RoundDot']:_0x4d9387['Dash']:_0x4d9387[_0x57b90f(0x1ea)];}function sr(_0x149c04){const _0x46dfb0=_0x1f10c6;return{'stroke':{'lineStrokeType':_0x5cbb11[_0x46dfb0(0x2f3)],'dashType':or(_0x149c04==null?void 0x0:_0x149c04[_0x46dfb0(0x2f2)]),'color':(_0x149c04==null?void 0x0:_0x149c04['stroke'])??_0x140b36,'width':(_0x149c04==null?void 0x0:_0x149c04['strokeWidth'])??Bn[_0x46dfb0(0x1cb)],'opacity':(_0x149c04==null?void 0x0:_0x149c04[_0x46dfb0(0x389)])??Vn['defaultValue']/0x64}};}function cr(_0x251415){const _0x53ca8e=_0x1f10c6;var _0x1e96de,_0x3bffbd,_0x3ffc80;let _0x31119c=_0x44103d(_0x56aea3),_0x21d412=_0x44103d(_0x1247c4),_0x4cc66c=_0x44103d(_0x588054),_0x3c5ceb=_0x44103d(_0x56a505),[_0x5dfb4a,_0xda622a]=_0x63f429(null),[_0x23d78f,_0xdb9d8b]=_0x63f429((_0x1e96de=_0x251415[_0x53ca8e(0x352)][_0x53ca8e(0x281)])==null?void 0x0:_0x1e96de[_0x53ca8e(0x1c5)]),_0x26f932=_0x251415[_0x53ca8e(0x352)]['extraProps'];if(!_0x26f932)return null;let _0x9bc4e0={'unitId':_0x26f932[_0x53ca8e(0x147)],'subUnitId':_0x26f932[_0x53ca8e(0x3cd)]},_0x3d2eca=_0x55346d=>{const _0x59a762=_0x53ca8e;_0x31119c[_0x59a762(0x189)](_0x1c2b74['id'],{..._0x9bc4e0,'nodeId':_0x26f932[_0x59a762(0x142)],..._0x55346d});},_0x40bb5f=(_0x4e3bdf,_0x5e94d8)=>{const _0x37df86=_0x53ca8e;let _0xafd82c=_0x5e94d8??{};_0xdb9d8b(_0x3be441=>({..._0x3be441??{},..._0xafd82c})),_0x3d2eca({..._0xafd82c[_0x37df86(0x31a)]===void 0x0?null:{'fill':_0xafd82c[_0x37df86(0x31a)]},..._0xafd82c[_0x37df86(0x45a)]===void 0x0?null:{'stroke':_0xafd82c[_0x37df86(0x45a)]}});},_0x461716=_0x25d691=>{const _0x2a52cd=_0x53ca8e;_0x31119c[_0x2a52cd(0x189)](_0x229f83['id'],{..._0x9bc4e0,'nodeId':_0x26f932[_0x2a52cd(0x142)],'style':_0x25d691});},_0x2bca6b=sr(_0x26f932[_0x53ca8e(0x32c)]),_0x4b3c59=_0x533939=>Qn(_0x21d412,_0x533939),_0x3ffbf9=_0x2e127b=>{qn(_0x31119c,_0x2e127b);},_0x189fb1=(_0x23d78f==null?void 0x0:_0x23d78f[_0x53ca8e(0x3f6)])??{},_0x10f818=Zn(_0x23d78f),_0x2ca65a=_0x179aa9=>{rr(_0x179aa9,_0x1b6f84=>{const _0x72ed40=_0x1bd6;_0xdb9d8b(_0x215d0f=>ir(_0x215d0f,_0x179aa9,_0x1b6f84[_0x72ed40(0x436)])),_0x3d2eca(_0x1b6f84);});},_0x3d88ce=[{'label':_0x4cc66c['t'](_0x53ca8e(0x287)),'value':_0xbace98[_0x53ca8e(0x314)],'icon':_0x4a7fc2(_0x1f1280,{})},{'label':_0x4cc66c['t']('boards-mind-ui.alignCenter'),'value':_0xbace98['CENTER'],'icon':_0x4a7fc2(_0x272dbc,{})},{'label':_0x4cc66c['t'](_0x53ca8e(0x14e)),'value':_0xbace98['RIGHT'],'icon':_0x4a7fc2(_0x34fdee,{})},{'label':_0x4cc66c['t'](_0x53ca8e(0x14a)),'value':_0xbace98['JUSTIFIED'],'icon':_0x4a7fc2(_0xfce763,{})}],_0x3cb8fc=[{'label':_0x4cc66c['t'](_0x53ca8e(0x3e7)),'value':_0x3de0d7[_0x53ca8e(0x1c2)],'icon':_0x4a7fc2(_0x392721,{})},{'label':_0x4cc66c['t']('boards-mind-ui.alignMiddle'),'value':_0x3de0d7[_0x53ca8e(0x3db)],'icon':_0x4a7fc2(_0x12c870,{})},{'label':_0x4cc66c['t'](_0x53ca8e(0x16c)),'value':_0x3de0d7[_0x53ca8e(0x33a)],'icon':_0x4a7fc2(_0x12a095,{})}],_0x25fe19=()=>{const _0x30f20d=_0x53ca8e;_0x3ffbf9(_0x30f20d(0x450));},_0x9ae001=()=>{const _0x2aef19=_0x53ca8e;_0x3ffbf9(_0x2aef19(0x198));},_0x30c3a9=()=>{const _0x41c68b=_0x53ca8e;_0x3ffbf9(_0x41c68b(0x43f));},_0x47f0a2=()=>{const _0x11f04c=_0x53ca8e;_0x3ffbf9(_0x11f04c(0x265));},_0x55827f=()=>{const _0xe005d=_0x53ca8e;_0x3ffbf9(_0xe005d(0x3fe));},_0x455f7d=((_0x3bffbd=_0x26f932[_0x53ca8e(0x1d4)])==null?void 0x0:_0x3bffbd[_0x53ca8e(0x381)])??_0x258b6f['structureKind'],_0x6564b1=_0x557da1(_0x455f7d,((_0x3ffc80=_0x26f932['layout'])==null?void 0x0:_0x3ffc80[_0x53ca8e(0x42b)])??_0x258b6f[_0x53ca8e(0x42b)]),_0x2d5584=_0x29a885=>{const _0x73a60=_0x53ca8e;let _0xd988ba=_0x557da1(_0x29a885,_0x6564b1);$n(_0x31119c,_0x3c5ceb['createRunner'](_0x26f932['unitId']),{..._0x9bc4e0,'scopeId':_0x26f932[_0x73a60(0x3d1)],'structureKind':_0x29a885,..._0xd988ba===_0x6564b1?null:{'branchLineType':_0xd988ba}}),_0xda622a(null);},_0x56207c=_0x435f2b=>{const _0x3ec834=_0x53ca8e;er(_0x31119c,_0x3c5ceb[_0x3ec834(0x1f2)](_0x26f932[_0x3ec834(0x147)]),{..._0x9bc4e0,'scopeId':_0x26f932[_0x3ec834(0x3d1)],'branchLineType':_0x435f2b}),_0xda622a(null);},_0x487a3c=(_0x57b8f6,_0x156c7e,_0xb9fe42,_0x35fc3f=!0x1)=>_0x4a7fc2(_0x53ca8e(0x2d3),{'type':_0x53ca8e(0x2d3),'aria-label':_0x4cc66c['t'](_0x57b8f6[_0x53ca8e(0x41a)]),'disabled':_0x35fc3f,'className':_0x3e6ef4(_0x53ca8e(0x3cf),_0x156c7e&&_0x53ca8e(0x2ef),_0x35fc3f&&_0x53ca8e(0x391)),'onMouseDown':Yn,'onPointerDown':Yn,'onClick':_0x140f40=>{_0x140f40['stopPropagation'](),!_0x35fc3f&&_0xb9fe42();},'children':_0x4a7fc2(nr,{'icon':_0x57b8f6[_0x53ca8e(0x1d5)]})},_0x57b8f6[_0x53ca8e(0x1f9)]),_0x471218=()=>_0x2bca5a(_0x53ca8e(0x2fa),{'className':_0x53ca8e(0x1b8),'onMouseDown':_0x5f1a46=>_0x5f1a46['stopPropagation'](),'onPointerDown':_0x7856ee=>_0x7856ee[_0x53ca8e(0x435)](),'children':[Wn[_0x53ca8e(0x28f)](_0x30a71b=>_0x2bca5a(_0x53ca8e(0x2fa),{'className':_0x53ca8e(0x2f4),'children':[_0x4a7fc2(_0x53ca8e(0x2fa),{'className':'univer-mb-2\x20univer-text-lg\x20univer-text-gray-900','children':_0x30a71b[_0x53ca8e(0x175)]}),_0x4a7fc2('div',{'className':_0x53ca8e(0x283),'style':{'gridTemplateColumns':_0x53ca8e(0x3b1)+_0x30a71b['items']['length']+_0x53ca8e(0x39b)},'children':_0x30a71b[_0x53ca8e(0x41e)][_0x53ca8e(0x28f)](_0x56c1ff=>_0x487a3c(_0x56c1ff,_0x56c1ff[_0x53ca8e(0x1f9)]===_0x455f7d,()=>_0x2d5584(_0x56c1ff[_0x53ca8e(0x1f9)])))})]},_0x30a71b[_0x53ca8e(0x396)])),_0x4a7fc2(_0x33c873,{}),_0x2bca5a(_0x53ca8e(0x2fa),{'className':_0x53ca8e(0x412),'children':[_0x4a7fc2(_0x53ca8e(0x2fa),{'className':'univer-mb-2\x20univer-text-lg\x20univer-text-gray-900','children':Gn['title']}),_0x4a7fc2(_0x53ca8e(0x2fa),{'className':_0x53ca8e(0x283),'style':{'gridTemplateColumns':_0x53ca8e(0x3b1)+Gn[_0x53ca8e(0x41e)][_0x53ca8e(0x1f3)]+',\x20minmax(0,\x201fr))'},'children':Gn[_0x53ca8e(0x41e)][_0x53ca8e(0x28f)](_0x11ff81=>_0x487a3c(_0x11ff81,_0x11ff81[_0x53ca8e(0x1f9)]===_0x6564b1,()=>_0x56207c(_0x11ff81['value']),_0x11ff81[_0x53ca8e(0x1f9)]===_0x53ca8e(0x411)&&!_0x2052ed(_0x455f7d)))})]})]}),_0x2f9b83=_0x178597=>{const _0x4c45ec=_0x53ca8e;switch(_0x178597){case _0x4c45ec(0x2b3):return _0x4a7fc2(_0x1d45c4,{'title':_0x4cc66c['t'](_0x4c45ec(0x271)),'shapeData':_0x2bca6b,'modeOptions':[_0x4c45ec(0x440),_0x4c45ec(0x2f2),_0x4c45ec(0x1e9)],'showDashDropdown':!0x1,'widthRange':{'min':Bn['min'],'max':Bn[_0x4c45ec(0x3b7)],'step':0x1},'onUpdateShapeData':(_0x7d8a7f,_0x49d807)=>{ar(_0x49d807,_0x461716);}});case _0x4c45ec(0x1c9):return _0x4a7fc2(_0x412185,{'title':_0x4cc66c['t']('boards-mind-ui.toolbar.panel.more'),'minWidthClassName':'univer-min-w-[240px]','children':_0x2bca5a(_0x4c45ec(0x2fa),{'className':_0x4c45ec(0x172),'children':[_0x4a7fc2(_0x4f4086,{'label':_0x4cc66c['t']('boards-mind-ui.toolbar.action.addSibling'),'shortcut':_0x4b3c59(Un[_0x4c45ec(0x348)]),'onClick':_0x25fe19}),_0x4a7fc2(_0x4f4086,{'label':_0x4cc66c['t'](_0x4c45ec(0x34d)),'shortcut':_0x4b3c59(Un[_0x4c45ec(0x2ca)]),'onClick':_0x9ae001}),_0x4a7fc2(_0x33c873,{}),_0x4a7fc2(_0x4f4086,{'label':_0x4cc66c['t'](_0x4c45ec(0x2c9)),'shortcut':_0x4b3c59(Un['copy']),'onClick':_0x30c3a9}),_0x4a7fc2(_0x4f4086,{'label':_0x4cc66c['t']('boards-mind-ui.toolbar.action.paste'),'shortcut':_0x4b3c59(Un['paste']),'onClick':_0x47f0a2}),_0x4a7fc2(_0x4f4086,{'label':_0x4cc66c['t'](_0x4c45ec(0x38c)),'shortcut':_0x4b3c59(Un[_0x4c45ec(0x3fe)]),'onClick':_0x55827f})]})});default:return null;}},_0x146298=Hn[_0x53ca8e(0x146)](_0x5cb908=>{const _0x434934=_0x53ca8e;let _0x1e8590=[];if(_0x5cb908[_0x434934(0x236)]&&_0x1e8590[_0x434934(0x292)](_0x4a7fc2(_0x33c873,{'orientation':_0x434934(0x28e)},_0x434934(0x323)+_0x5cb908[_0x434934(0x420)])),_0x5cb908[_0x434934(0x420)]===_0x434934(0x318))return _0x1e8590[_0x434934(0x292)](_0x4a7fc2(_0x2fd74b,{'title':_0x4cc66c['t'](_0x434934(0x402)),'fontFamily':_0x10f818[_0x434934(0x2ed)],'textStyle':{'isBold':_0x189fb1[_0x434934(0x345)]===!0x0,'isItalic':_0x189fb1[_0x434934(0x2a8)]===!0x0,'isUnderline':_0x189fb1['underline']===!0x0,'isStrike':_0x189fb1[_0x434934(0x1ae)]===!0x0},'horizontalAlign':_0x10f818[_0x434934(0x378)],'verticalAlign':_0x10f818[_0x434934(0x19d)],'horizontalAlignOptions':_0x3d88ce,'verticalAlignOptions':_0x3cb8fc,'onUpdateText':_0x2ca65a},_0x5cb908[_0x434934(0x420)])),_0x1e8590;if(_0x5cb908[_0x434934(0x420)]==='fontColor'){let _0x59486f={'fs':_0x10f818[_0x434934(0x1b9)],'cl':{'rgb':_0x10f818[_0x434934(0x143)]},..._0x10f818[_0x434934(0x2ec)]===void 0x0?null:{'textFill':_0x10f818[_0x434934(0x2ec)]}};return _0x1e8590[_0x434934(0x292)](_0x4a7fc2(_0x44d485,{'title':_0x4cc66c['t']('boards-mind-ui.toolbar.action.fontColor'),'textStyle':_0x59486f,'fallbackColor':_0x10f818[_0x434934(0x143)],'onChange':_0x1a6b48=>_0x2ca65a({'textStyle':_0x1a6b48})},_0x5cb908[_0x434934(0x420)])),_0x1e8590[_0x434934(0x292)](_0x4a7fc2(_0x1fb5f7,{'value':String(_0x10f818[_0x434934(0x1b9)]),'onChange':_0x321e35=>{_0x2ca65a({'textStyle':{'fs':_0x321e35}});}},_0x434934(0x1ee))),_0x1e8590;}return _0x1e8590[_0x434934(0x292)](_0x4a7fc2(_0x1440b5,{'open':_0x5dfb4a===_0x5cb908['panel'],'overlay':_0x2f9b83(_0x5cb908[_0x434934(0x401)]),'onOpenChange':_0x45b7c9=>_0xda622a(_0x45b7c9?_0x5cb908[_0x434934(0x401)]:null),'children':_0x4a7fc2(_0x434934(0x371),{'children':_0x4a7fc2(_0x53a097,{'title':_0x4cc66c['t'](_0x5cb908[_0x434934(0x3a7)]),'active':_0x5dfb4a===_0x5cb908['panel'],'icon':Xn(Jn[_0x5cb908['panel']]),'sizeClassName':_0x434934(0x13c),'onMouseDown':Yn,'onPointerDown':Yn})})},_0x5cb908[_0x434934(0x401)])),_0x1e8590;}),_0xd27e6e=[..._0x26f932['isRootNode']?[_0x4a7fc2(_0x1440b5,{'open':_0x5dfb4a==='layout','overlay':_0x471218(),'onOpenChange':_0x11ac36=>_0xda622a(_0x11ac36?_0x53ca8e(0x1d4):null),'children':_0x4a7fc2(_0x53ca8e(0x371),{'children':_0x4a7fc2(_0x53a097,{'title':_0x4cc66c['t'](_0x53ca8e(0x373)),'active':_0x5dfb4a===_0x53ca8e(0x1d4),'icon':_0x4a7fc2(tr,{}),'sizeClassName':_0x53ca8e(0x13c),'onMouseDown':Yn,'onPointerDown':Yn})})},_0x53ca8e(0x3ba)),_0x4a7fc2(_0x33c873,{'orientation':_0x53ca8e(0x28e)},_0x53ca8e(0x23e))]:[],_0x4a7fc2(_0x463ee2,{'title':_0x4cc66c['t']('boards-mind-ui.toolbar.action.fill'),'shapeData':_0x23d78f??{},'onUpdateShapeData':_0x40bb5f},_0x53ca8e(0x1e4)),_0x4a7fc2(_0x3bc7f5,{'title':_0x4cc66c['t']('boards-mind-ui.toolbar.action.stroke'),'shapeData':_0x23d78f??{},'onUpdateShapeData':_0x40bb5f},_0x53ca8e(0x173)),_0x4a7fc2(_0x33c873,{'orientation':_0x53ca8e(0x28e)},_0x53ca8e(0x2b4))];return _0x2bca5a(_0xa7d80a,{'maxWidthClassName':_0x53ca8e(0x238),'onMouseDown':_0x25acb9=>_0x25acb9[_0x53ca8e(0x435)](),'children':[_0xd27e6e,_0x146298]});}function lr(_0x3f0b71){let {left:_0x49bf8e,top:_0xf28326,width:_0x583f23,height:_0x2cb09f}=_0x3f0b71;return{'left':_0x49bf8e,'right':_0x49bf8e+_0x583f23,'top':_0xf28326-0x38,'bottom':_0xf28326+_0x2cb09f};}let ur=class extends _0x9852b5{constructor(_0x20d47d,_0x146430,_0x303b9f,_0x22173f,_0xfb8dc7,_0x3700d2){const _0x3ec609=_0x1f10c6;super(),this[_0x3ec609(0x3e1)]=_0x20d47d,this['_boardCanvasPopManagerService']=_0x146430,this[_0x3ec609(0x384)]=_0x303b9f,this[_0x3ec609(0x2cf)]=_0x22173f,this['_boardTextEditingService']=_0xfb8dc7,this[_0x3ec609(0x2ee)]=_0x3700d2,K(this,_0x3ec609(0x170),null),K(this,_0x3ec609(0x3ee),null),this[_0x3ec609(0x347)]();}[_0x1f10c6(0x3c0)](){const _0x185e8f=_0x1f10c6;this[_0x185e8f(0x3c1)](),super[_0x185e8f(0x3c0)]();}[_0x1f10c6(0x347)](){const _0x21672f=_0x1f10c6;let _0x58214c=this[_0x21672f(0x3e1)][_0x21672f(0x156)][_0x21672f(0x165)]();this[_0x21672f(0x1c8)](_0x50821e(_0x58214c[_0x21672f(0x334)][_0x21672f(0x36e)](_0x2c3b45(this[_0x21672f(0x273)]))[_0x21672f(0x3c8)](()=>this[_0x21672f(0x3e8)]()))),this[_0x21672f(0x1c8)](_0x50821e(_0x58214c[_0x21672f(0x2cd)]['pipe'](_0x2c3b45(this['dispose$']))['subscribe'](()=>this[_0x21672f(0x41f)]()))),this['disposeWithMe'](_0x50821e(_0x58214c[_0x21672f(0x16b)][_0x21672f(0x36e)](_0x2c3b45(this[_0x21672f(0x273)]))[_0x21672f(0x3c8)](()=>this[_0x21672f(0x3c1)]()))),this[_0x21672f(0x1c8)](_0x50821e(_0x58214c[_0x21672f(0x45b)]['pipe'](_0x2c3b45(this[_0x21672f(0x273)]))[_0x21672f(0x3c8)](()=>setTimeout(()=>this[_0x21672f(0x3e8)](),0x0)))),this[_0x21672f(0x1c8)](_0x50821e(this[_0x21672f(0x2cf)][_0x21672f(0x313)]['pipe'](_0x2c3b45(this[_0x21672f(0x273)]))[_0x21672f(0x3c8)](()=>setTimeout(()=>this[_0x21672f(0x3e8)](),0x0)))),this['disposeWithMe'](_0x50821e(this[_0x21672f(0x2ee)][_0x21672f(0x415)][_0x21672f(0x36e)](_0x2c3b45(this[_0x21672f(0x273)]))[_0x21672f(0x3c8)](_0x35341e=>{const _0x189a3e=_0x21672f;if(_0x35341e){this['_clearPopup']();return;}setTimeout(()=>this[_0x189a3e(0x3e8)](),0x0);}))),this[_0x21672f(0x1c8)](_0x50821e(this[_0x21672f(0x31f)][_0x21672f(0x191)]['pipe'](_0x2c3b45(this['dispose$']))[_0x21672f(0x3c8)](_0x7f4153=>{const _0x1ac97f=_0x21672f;if((_0x7f4153==null?void 0x0:_0x7f4153[_0x1ac97f(0x147)])===this[_0x1ac97f(0x3e1)][_0x1ac97f(0x147)]){if(_0x7f4153[_0x1ac97f(0x2df)]){this[_0x1ac97f(0x3c1)]();return;}setTimeout(()=>this['_showPopupForSelection'](),0x0);}})));}['_clearPopup'](){const _0x158edf=_0x1f10c6;var _0x5f5608;(_0x5f5608=this['_popupDisposable'])==null||_0x5f5608[_0x158edf(0x3c0)](),this[_0x158edf(0x170)]=null,this[_0x158edf(0x3ee)]=null;}[_0x1f10c6(0x41f)](){setTimeout(()=>{const _0x428fa5=_0x1bd6;this['_isPopupSelectionStillActive']()||this[_0x428fa5(0x3c1)]();},0x0);}[_0x1f10c6(0x15d)](){const _0x459dcc=_0x1f10c6;let _0xe44324=this[_0x459dcc(0x2cf)][_0x459dcc(0x226)]();return!!_0xe44324[_0x459dcc(0x27a)]&&_0xe44324[_0x459dcc(0x235)][_0x459dcc(0x1f3)]>0x0&&this[_0x459dcc(0x3ee)]===this[_0x459dcc(0x1a0)](_0xe44324[_0x459dcc(0x27a)][_0x459dcc(0x147)],_0xe44324[_0x459dcc(0x27a)][_0x459dcc(0x3cd)],_0xe44324[_0x459dcc(0x235)]);}['_buildPopupSelectionKey'](_0x2b43e2,_0x5a4e8c,_0xf91803){const _0x5a916a=_0x1f10c6;return _0x2b43e2+':'+_0x5a4e8c+':'+_0xf91803[_0x5a916a(0x3ab)](',');}[_0x1f10c6(0x1ca)](_0x21fbf9,_0x3a17ce,_0xbfe31a,_0x1dce4d){const _0x41d733=_0x1f10c6;let _0x2911fe=this[_0x41d733(0x384)][_0x41d733(0x258)](_0x21fbf9,_0x3a17ce),_0x505e45=Object[_0x41d733(0x361)](_0x2911fe)[_0x41d733(0x339)](_0x54b6c3=>{const _0x5a5287=_0x41d733;let _0x424e6c=_0x2139e0(_0x54b6c3[_0x5a5287(0x333)]);return(_0x424e6c==null?void 0x0:_0x424e6c['structureScopeId'])===_0xbfe31a&&_0x424e6c[_0x5a5287(0x256)]===_0x1dce4d;});if(_0x505e45&&_0x41d733(0x212)in _0x505e45['element'])return _0x505e45[_0x41d733(0x333)]['connectorData'][_0x41d733(0x337)];}[_0x1f10c6(0x3e8)](){const _0x4a867e=_0x1f10c6;var _0x5725cb,_0x4b4211,_0x127105;if(this[_0x4a867e(0x2ee)][_0x4a867e(0x3a6)]){this[_0x4a867e(0x3c1)]();return;}let _0x262723=this[_0x4a867e(0x31f)]['getEditing']();if((_0x262723==null?void 0x0:_0x262723['visible'])===!0x0&&_0x262723[_0x4a867e(0x147)]===this['_renderContext'][_0x4a867e(0x147)]){this[_0x4a867e(0x3c1)]();return;}let _0x4cbbf8=this['_elementStateService'][_0x4a867e(0x226)]();if(_0x4cbbf8[_0x4a867e(0x426)]){this[_0x4a867e(0x3c1)]();return;}if(_0x39e4fd({'context':_0x4cbbf8[_0x4a867e(0x27a)],'selectedIds':_0x4cbbf8[_0x4a867e(0x235)],'getElementById':(_0x534718,_0x3dd166,_0x176a6f)=>this['_boardElementService'][_0x4a867e(0x362)](_0x534718,_0x3dd166,_0x176a6f)})[_0x4a867e(0x2cb)]!==_0x4a867e(0x1a3)){this[_0x4a867e(0x3c1)]();return;}let _0x56ba6b=this['_renderContext'][_0x4a867e(0x156)][_0x4a867e(0x165)]()[_0x4a867e(0x211)](),_0xa789f8=Array['from'](_0x56ba6b[_0x4a867e(0x361)]())[_0x4a867e(0x28f)](_0x3126a1=>this[_0x4a867e(0x2be)](_0x3126a1))[_0x4a867e(0x3f7)](_0x354f4a=>!!_0x354f4a)[_0x4a867e(0x3f7)](_0x5eeb24=>!!_0x51f94c(_0x5eeb24[_0x4a867e(0x19b)]['element'])),_0x265026=_0xa789f8['find'](_0x4afdb8=>_0x4afdb8['elementData'][_0x4a867e(0x142)]===_0x4cbbf8[_0x4a867e(0x1d7)])??_0xa789f8[0x0]??this[_0x4a867e(0x407)]();if(!_0x265026){this[_0x4a867e(0x3c1)]();return;}let _0x49a96c=_0x51f94c(_0x265026[_0x4a867e(0x19b)][_0x4a867e(0x333)]);if(!_0x49a96c){this[_0x4a867e(0x3c1)]();return;}let _0x2c3fac=(_0x5725cb=this[_0x4a867e(0x384)]['getElementData'](_0x265026[_0x4a867e(0x19b)][_0x4a867e(0x147)],_0x265026[_0x4a867e(0x19b)][_0x4a867e(0x3cd)])[_0x49a96c[_0x4a867e(0x3f1)]])==null?void 0x0:_0x5725cb[_0x4a867e(0x333)],_0x30370b=_0x195a16(_0x2c3fac),_0x4190bd=_0x2c3fac==null||(_0x4b4211=_0x2c3fac['custom'])==null||(_0x4b4211=_0x4b4211[_0x4a867e(0x2c4)])==null||(_0x4b4211=_0x4b4211[_0x4a867e(0x1d4)])==null?void 0x0:_0x4b4211[_0x4a867e(0x381)],_0x150fce=((_0x30370b==null?void 0x0:_0x30370b['layout'][_0x4a867e(0x381)])??_0x4190bd)===_0x4a867e(0x37d)&&(_0x49a96c[_0x4a867e(0x2d9)]===null||_0x49a96c[_0x4a867e(0x2a3)]===_0x4a867e(0x41d)),_0x3ff880=_0x49a96c[_0x4a867e(0x2d9)]!==null&&_0x49a96c[_0x4a867e(0x2a3)]!==_0x4a867e(0x41d)&&_0x49a96c[_0x4a867e(0x2a3)]!==_0x4a867e(0x392),_0x379288=_0x150fce||_0x3ff880,_0x1429be=((_0x127105=_0x4cbbf8[_0x4a867e(0x27a)])==null?void 0x0:_0x127105[_0x4a867e(0x147)])===_0x265026['elementData'][_0x4a867e(0x147)]&&_0x4cbbf8[_0x4a867e(0x27a)][_0x4a867e(0x3cd)]===_0x265026[_0x4a867e(0x19b)][_0x4a867e(0x3cd)]&&_0x4cbbf8[_0x4a867e(0x235)][_0x4a867e(0x1f3)]?_0x4cbbf8[_0x4a867e(0x235)]:[_0x265026[_0x4a867e(0x19b)][_0x4a867e(0x142)]],_0x3b3a60=this[_0x4a867e(0x1a0)](_0x265026[_0x4a867e(0x19b)][_0x4a867e(0x147)],_0x265026['elementData'][_0x4a867e(0x3cd)],_0x1429be);this['_popupDisposable']&&this[_0x4a867e(0x3ee)]===_0x3b3a60||(this[_0x4a867e(0x3c1)](),this['_popupDisposable']=this[_0x4a867e(0x1c8)](this['_boardCanvasPopManagerService'][_0x4a867e(0x31b)](_0x265026[_0x4a867e(0x19b)][_0x4a867e(0x147)],_0x265026[_0x4a867e(0x19b)][_0x4a867e(0x3cd)],_0x265026[_0x4a867e(0x25a)],{'componentKey':Kn,'direction':_0x4a867e(0x3ac),'offset':[0x0,0x8],..._0x379288?{'anchorBoundResolver':lr}:null,'extraProps':{'unitId':_0x265026[_0x4a867e(0x19b)][_0x4a867e(0x147)],'subUnitId':_0x265026[_0x4a867e(0x19b)][_0x4a867e(0x3cd)],'elementId':_0x265026[_0x4a867e(0x19b)][_0x4a867e(0x142)],'scopeId':_0x49a96c['structureScopeId'],'isRootNode':_0x49a96c['parentNodeId']===null,'left':_0x265026[_0x4a867e(0x19b)][_0x4a867e(0x333)][_0x4a867e(0x184)][_0x4a867e(0x233)]??0x0,'top':_0x265026[_0x4a867e(0x19b)]['element'][_0x4a867e(0x184)][_0x4a867e(0x41d)]??0x0,'shapeData':_0x265026['elementData']['element'][_0x4a867e(0x1ce)]===_0x3a0cfb[_0x4a867e(0x1c3)]?_0x265026[_0x4a867e(0x19b)][_0x4a867e(0x333)][_0x4a867e(0x1c5)]:void 0x0,'layout':_0x30370b==null?void 0x0:_0x30370b[_0x4a867e(0x1d4)],'incomingConnectorStyle':this[_0x4a867e(0x1ca)](_0x265026[_0x4a867e(0x19b)][_0x4a867e(0x147)],_0x265026[_0x4a867e(0x19b)][_0x4a867e(0x3cd)],_0x49a96c[_0x4a867e(0x3f1)],_0x265026[_0x4a867e(0x19b)]['elementId'])}})),this['_popupSelectionKey']=_0x3b3a60);}[_0x1f10c6(0x407)](){const _0x1a984b=_0x1f10c6;var _0x451e03;let _0x5610da=this[_0x1a984b(0x2cf)][_0x1a984b(0x226)](),_0x55d1b2=_0x5610da[_0x1a984b(0x27a)],_0x5ee59d=_0x5610da[_0x1a984b(0x1d7)]??_0x5610da[_0x1a984b(0x235)][0x0];if(!_0x55d1b2||!_0x5ee59d)return null;let _0x3d4238=this[_0x1a984b(0x384)]['getElementById'](_0x55d1b2['unitId'],_0x55d1b2[_0x1a984b(0x3cd)],_0x5ee59d);if(!_0x3d4238||!_0x51f94c(_0x3d4238[_0x1a984b(0x333)]))return null;let _0x5d3856=_0x10c90a(_0x55d1b2[_0x1a984b(0x147)],_0x5ee59d),_0x426c31=this[_0x1a984b(0x3e1)]['scene'],_0x23cbf7=((_0x451e03=_0x426c31['getObjectIncludeInGroup'])==null?void 0x0:_0x451e03[_0x1a984b(0x266)](_0x426c31,_0x5d3856))??this[_0x1a984b(0x3e1)][_0x1a984b(0x156)][_0x1a984b(0x301)](_0x5d3856);return _0x23cbf7?{'object':_0x23cbf7,'elementData':_0x3d4238}:null;}[_0x1f10c6(0x2be)](_0x54ae55){const _0x199284=_0x1f10c6;var _0x75a0bc;if(!_0x54ae55)return null;let _0x26f88a=_0x638279(_0x54ae55['oKey']);if(!_0x26f88a)return null;let _0xe58236=this[_0x199284(0x2cf)][_0x199284(0x226)](),_0x46533d=((_0x75a0bc=_0xe58236[_0x199284(0x27a)])==null?void 0x0:_0x75a0bc['unitId'])===_0x26f88a[_0x199284(0x147)]?_0xe58236[_0x199284(0x27a)]['subUnitId']:void 0x0;if(!_0x46533d)return null;let _0x2f09aa=this[_0x199284(0x384)][_0x199284(0x362)](_0x26f88a[_0x199284(0x147)],_0x46533d,_0x26f88a[_0x199284(0x142)]);return _0x2f09aa?{'object':_0x54ae55,'elementData':_0x2f09aa}:null;}};ur=J([q(0x1,_0x2e0f98(_0x1b3bdf)),q(0x2,_0x2e0f98(_0x52d74d)),q(0x3,_0x2e0f98(_0x10fb2b)),q(0x4,_0x2e0f98(_0x157676)),q(0x5,_0x2e0f98(_0x3304c1))],ur);const dr=_0x1f10c6(0x17e),fr=_0x2a0926[_0x1f10c6(0x3c9)];function pr(_0x4f5602,_0x2ca616){const _0x272ad5=_0x1f10c6;return(_0x4f5602??[])['reduce']((_0x1ffb6a,_0x242593)=>(_0x1ffb6a[_0x242593[_0x272ad5(0x2a3)]??_0x2ca616][_0x272ad5(0x292)](_0x242593),_0x1ffb6a),{'left':[],'right':[],'top':[],'bottom':[]});}function mr(_0x2001ef){const _0x14430e=_0x1f10c6;return _0x2001ef===_0x14430e(0x3f2)||_0x2001ef===_0x14430e(0x423)||_0x2001ef===_0x14430e(0x2d6);}function hr(_0x1b5920){const _0x3e184f=_0x1f10c6;return _0x1b5920==='timeline-horizontal'||_0x1b5920===_0x3e184f(0x1d3);}function gr(_0x4b609f,_0x37673c,_0x11c035){const _0x56010e=_0x1f10c6;return _0x11c035===_0x56010e(0x3f2)?_0x56010e(0x233):_0x11c035===_0x56010e(0x423)?_0x56010e(0x171):_0x4b609f[_0x56010e(0x2a3)]==='left'||_0x4b609f[_0x56010e(0x2a3)]===_0x56010e(0x171)?_0x4b609f[_0x56010e(0x2a3)]:_0x37673c%0x2==0x0?_0x56010e(0x233):'right';}function _r(_0x53831a,_0x1b1a4a){const _0x1a55ad=_0x1f10c6;return(_0x1b1a4a==null?void 0x0:_0x1b1a4a[_0x1a55ad(0x278)][_0x1a55ad(0x39d)])??_0x53831a??[];}var vr=class extends _0x48d510{constructor(_0x5be044=dr,_0x42393d){const _0x27e5f7=_0x1f10c6;super(_0x5be044),K(this,_0x27e5f7(0x2c7),{'point':null,'children':[]}),this[_0x27e5f7(0x14b)]=!0x1,this[_0x27e5f7(0x1bf)]=_0x3d308f[_0x27e5f7(0x2ea)],this[_0x27e5f7(0x3c5)](_0x42393d);}['updateState'](_0x3b4e38){const _0x744c07=_0x1f10c6;this[_0x744c07(0x2c7)]={...this[_0x744c07(0x2c7)],..._0x3b4e38},this['_state'][_0x744c07(0x454)]?this[_0x744c07(0x417)]():this['hide'](),this[_0x744c07(0x359)](!0x0);}[_0x1f10c6(0x203)](_0x3372cf){return!0x1;}['render'](_0x23a312,_0x3fff2d){const _0xf61154=_0x1f10c6;let _0x3efc49=this['_state'][_0xf61154(0x454)];if(!_0x3efc49||!this[_0xf61154(0x2df)])return this[_0xf61154(0x359)](!0x1),this;let _0x572904=Number[_0xf61154(0x180)](this[_0xf61154(0x2c7)][_0xf61154(0x368)])&&(this[_0xf61154(0x2c7)][_0xf61154(0x368)]??0x0)>0x0?this[_0xf61154(0x2c7)]['zoomRatio']:0x1,_0xbfb338=_0x4c0c6a['rootWidth'],_0x48c081=_0x4c0c6a[_0xf61154(0x2b7)],_0x452cda=_0x4c0c6a[_0xf61154(0x329)],_0x1c1485=_0x4c0c6a[_0xf61154(0x2eb)],_0x258895=_0x258b6f['horizontalGap'],_0x3df20a=_0x258b6f[_0xf61154(0x202)],_0x4ad199=this[_0xf61154(0x2c7)][_0xf61154(0x381)]==='mindmap-vertical',_0x540921=pr(this[_0xf61154(0x2c7)]['children'],_0x4ad199?'bottom':_0xf61154(0x171)),_0x2362d5=_0x3efc49['x']-_0xbfb338/0x2,_0x26762b=_0x3efc49['y']-_0x48c081/0x2;if(_0x23a312[_0xf61154(0x38e)](),_0x23a312['globalAlpha']=X['objectAlpha'],_0x23a312['lineWidth']=X['lineWidthScreen']/_0x572904,_0x23a312[_0xf61154(0x16a)]=X[_0xf61154(0x3b2)],hr(this['_state'][_0xf61154(0x381)])){let _0x33dcd3=_r(this[_0xf61154(0x2c7)][_0xf61154(0x39d)],this[_0xf61154(0x2c7)][_0xf61154(0x30e)]),_0x29a96d=this[_0xf61154(0x2c7)][_0xf61154(0x381)]===_0xf61154(0x213);if(_0x33dcd3[_0xf61154(0x1f3)]>0x0){if(_0x23a312[_0xf61154(0x18a)](),_0x29a96d){let _0x26c758=_0x452cda,_0x3d0394=_0x1c1485,_0xc58ea4=_0x258b6f[_0xf61154(0x403)],_0x5a7225=_0x3efc49['y'],_0x4bc805=_0x2362d5+_0xbfb338,_0x51d2c2=_0x3efc49['y']-_0x3d0394/0x2,_0x4bab1f=_0x2362d5+_0xbfb338+_0xc58ea4;_0x23a312[_0xf61154(0x2fd)](_0x4bc805,_0x5a7225),_0x23a312[_0xf61154(0x309)](_0x4bab1f,_0x5a7225),_0x33dcd3[_0xf61154(0x35f)]((_0x597cc5,_0x1ae129)=>{const _0x74343=_0xf61154;let _0x4eec8d=_0x4bab1f+_0x1ae129*(_0x26c758+_0xc58ea4);if(_0x1ae129>0x0){let _0x1e1f8b=_0x4bab1f+(_0x1ae129-0x1)*(_0x26c758+_0xc58ea4)+_0x26c758;_0x23a312[_0x74343(0x2fd)](_0x1e1f8b,_0x5a7225),_0x23a312[_0x74343(0x309)](_0x4eec8d,_0x5a7225);}_0x23a312[_0x74343(0x2fd)](_0x4eec8d,_0x5a7225),_0x23a312[_0x74343(0x309)](_0x4eec8d+_0x26c758,_0x5a7225);}),_0x23a312[_0xf61154(0x45a)](),_0x33dcd3[_0xf61154(0x35f)]((_0x5c06f6,_0x19844f)=>{const _0x5eaf94=_0xf61154;Z(_0x23a312,_0x4bab1f+_0x19844f*(_0x26c758+_0xc58ea4),_0x51d2c2,_0x26c758,_0x3d0394,X[_0x5eaf94(0x295)]),_0x23a312[_0x5eaf94(0x285)]=X['ghostFillColor'],_0x23a312['fill'](),_0x23a312['stroke']();}),_0x33dcd3[_0xf61154(0x35f)]((_0x1c735a,_0x4be144)=>{const _0x296de0=_0xf61154;if(!(_0x296de0(0x39d)in _0x1c735a)||_0x1c735a[_0x296de0(0x39d)][_0x296de0(0x1f3)]===0x0)return;let _0x5b8e12=_0x4bab1f+_0x4be144*(_0x26c758+_0xc58ea4),_0x16c128=_0x5b8e12+_0x26c758/0x2,_0x36c2ff=_0x1c735a[_0x296de0(0x2a3)]===_0x296de0(0x392)?_0x296de0(0x392):'top',_0x5c4ace=_0x1c735a[_0x296de0(0x39d)][_0x296de0(0x3f9)](0x0,0x2),_0x94e684=_0x5c4ace[_0x296de0(0x1f3)]*_0x3d0394+Math[_0x296de0(0x3b7)](0x0,_0x5c4ace[_0x296de0(0x1f3)]-0x1)*_0x3df20a,_0x39b130=_0x5b8e12+_0x26c758+_0x258b6f[_0x296de0(0x2cc)],_0x5fb668=_0x36c2ff===_0x296de0(0x41d)?_0x51d2c2-_0x258895-_0x94e684:_0x51d2c2+_0x3d0394+_0x258895,_0xe0066d=_0x5fb668+_0x94e684/0x2;_0x23a312['beginPath'](),_0x23a312[_0x296de0(0x2fd)](_0x16c128,_0x36c2ff===_0x296de0(0x41d)?_0x51d2c2:_0x51d2c2+_0x3d0394),_0x23a312[_0x296de0(0x309)](_0x16c128,_0xe0066d),_0x23a312['lineTo'](_0x39b130,_0xe0066d),_0x5c4ace[_0x296de0(0x35f)]((_0x1e5066,_0x4a5558)=>{const _0x3d1703=_0x296de0;let _0x11606a=_0x5fb668+_0x4a5558*(_0x3d0394+_0x3df20a)+_0x3d0394/0x2;_0x23a312['moveTo'](_0x39b130,_0x11606a),_0x23a312[_0x3d1703(0x309)](_0x39b130+_0x26c758,_0x11606a);}),_0x23a312[_0x296de0(0x45a)](),_0x5c4ace['forEach']((_0x4e64cc,_0x50ad35)=>{const _0x344cab=_0x296de0;let _0x134946=_0x5fb668+_0x50ad35*(_0x3d0394+_0x3df20a);Z(_0x23a312,_0x39b130,_0x134946,_0x26c758,_0x3d0394,X[_0x344cab(0x295)]),_0x23a312['fillStyle']=X[_0x344cab(0x387)],_0x23a312[_0x344cab(0x31a)](),_0x23a312[_0x344cab(0x45a)]();});});}else{let _0x135a1e=_0x3efc49['x'],_0x63b62=_0x26762b+_0x48c081,_0x2d18eb=_0x258b6f[_0xf61154(0x403)],_0xe36feb=_0x26762b+_0x48c081+_0x2d18eb,_0x289795=_0xe36feb+(_0x33dcd3['length']-0x1)*(_0x1c1485+_0x2d18eb)+_0x1c1485/0x2;_0x23a312[_0xf61154(0x2fd)](_0x135a1e,_0x63b62),_0x23a312[_0xf61154(0x309)](_0x135a1e,_0x289795),_0x33dcd3[_0xf61154(0x35f)]((_0x4e3b46,_0xa32345)=>{const _0xc7b3b4=_0xf61154;let _0x2548fb=_0xe36feb+_0xa32345*(_0x1c1485+_0x2d18eb)+_0x1c1485/0x2,_0x18164d=_0x4e3b46['side']==='right'?_0xc7b3b4(0x171):'left',_0x573370=_0x18164d==='right'?_0x135a1e+_0x258b6f[_0xc7b3b4(0x2cc)]:_0x135a1e-_0x258b6f[_0xc7b3b4(0x2cc)]-_0x452cda,_0x4df466=_0x18164d===_0xc7b3b4(0x171)?_0x573370:_0x573370+_0x452cda;_0x23a312['moveTo'](_0x135a1e,_0x2548fb),_0x23a312['lineTo'](_0x4df466,_0x2548fb);}),_0x23a312[_0xf61154(0x45a)](),_0x33dcd3['forEach']((_0x1840e4,_0x3a8f63)=>{const _0x2558d9=_0xf61154;let _0x591ff6=_0xe36feb+_0x3a8f63*(_0x1c1485+_0x2d18eb);Z(_0x23a312,(_0x1840e4[_0x2558d9(0x2a3)]===_0x2558d9(0x171)?_0x2558d9(0x171):'left')==_0x2558d9(0x171)?_0x135a1e+_0x258b6f['branchGap']:_0x135a1e-_0x258b6f['branchGap']-_0x452cda,_0x591ff6,_0x452cda,_0x1c1485,X['ghostRadius']),_0x23a312[_0x2558d9(0x285)]=X[_0x2558d9(0x387)],_0x23a312[_0x2558d9(0x31a)](),_0x23a312[_0x2558d9(0x45a)]();}),_0x33dcd3[_0xf61154(0x35f)]((_0xcfb7f1,_0x2faeb5)=>{const _0x3a3b05=_0xf61154;if(!(_0x3a3b05(0x39d)in _0xcfb7f1)||_0xcfb7f1['children'][_0x3a3b05(0x1f3)]===0x0)return;let _0xbaf616=_0xe36feb+_0x2faeb5*(_0x1c1485+_0x2d18eb)+_0x1c1485/0x2,_0x5999cf=_0xcfb7f1[_0x3a3b05(0x2a3)]==='right'?_0x3a3b05(0x171):_0x3a3b05(0x233),_0xda3c0d=_0xcfb7f1[_0x3a3b05(0x39d)][_0x3a3b05(0x3f9)](0x0,0x2),_0x4cd00d=_0xda3c0d[_0x3a3b05(0x1f3)]*_0x1c1485+Math[_0x3a3b05(0x3b7)](0x0,_0xda3c0d[_0x3a3b05(0x1f3)]-0x1)*_0x3df20a,_0x4c844c=_0x5999cf===_0x3a3b05(0x171)?_0x135a1e+_0x258b6f[_0x3a3b05(0x2cc)]:_0x135a1e-_0x258b6f[_0x3a3b05(0x2cc)]-_0x452cda,_0x47415b=_0x5999cf==='right'?_0x4c844c+_0x452cda+_0x258895:_0x4c844c-_0x258895-_0x452cda,_0x3236dd=_0xbaf616-_0x4cd00d/0x2,_0x36c712=_0x5999cf===_0x3a3b05(0x171)?_0x4c844c+_0x452cda:_0x4c844c,_0x32c6fb=_0x5999cf===_0x3a3b05(0x171)?_0x47415b:_0x47415b+_0x452cda;_0x23a312[_0x3a3b05(0x18a)](),_0x23a312[_0x3a3b05(0x2fd)](_0x36c712,_0xbaf616),_0x23a312['lineTo'](_0x32c6fb,_0xbaf616),_0xda3c0d['forEach']((_0x595865,_0xddf2a7)=>{const _0x58a5aa=_0x3a3b05;let _0x5bcc89=_0x3236dd+_0xddf2a7*(_0x1c1485+_0x3df20a)+_0x1c1485/0x2;_0x23a312[_0x58a5aa(0x2fd)](_0x32c6fb,_0x5bcc89),_0x23a312['lineTo'](_0x5999cf===_0x58a5aa(0x171)?_0x47415b+_0x452cda:_0x47415b,_0x5bcc89);}),_0x23a312['stroke'](),_0xda3c0d[_0x3a3b05(0x35f)]((_0x428a96,_0x3efb67)=>{const _0x1c3aec=_0x3a3b05;let _0x39ffca=_0x3236dd+_0x3efb67*(_0x1c1485+_0x3df20a);Z(_0x23a312,_0x47415b,_0x39ffca,_0x452cda,_0x1c1485,X[_0x1c3aec(0x295)]),_0x23a312[_0x1c3aec(0x285)]=X[_0x1c3aec(0x387)],_0x23a312[_0x1c3aec(0x31a)](),_0x23a312[_0x1c3aec(0x45a)]();});});}}}else{if(mr(this[_0xf61154(0x2c7)][_0xf61154(0x381)])){let _0x4fb45b=this[_0xf61154(0x2c7)][_0xf61154(0x39d)]??[],_0x327a45=_0x26762b+_0x48c081,_0x165ae5=_0x327a45+_0x258895,_0x385ec7=_0x3efc49['x'];if(_0x4fb45b['length']>0x0){let _0x538a16=_0x165ae5+(_0x4fb45b[_0xf61154(0x1f3)]-0x1)*(_0x1c1485+_0x3df20a)+_0x1c1485/0x2;_0x23a312[_0xf61154(0x18a)](),_0x23a312['moveTo'](_0x385ec7,_0x327a45),_0x23a312[_0xf61154(0x309)](_0x385ec7,_0x538a16),_0x4fb45b[_0xf61154(0x35f)]((_0x253afb,_0x378e7d)=>{const _0x246180=_0xf61154;let _0x48e0a8=gr(_0x253afb,_0x378e7d,this['_state']['structureKind']),_0x37096f=_0x165ae5+_0x378e7d*(_0x1c1485+_0x3df20a),_0x1a79e4=_0x48e0a8===_0x246180(0x171)?_0x385ec7+_0x258895:_0x385ec7-_0x258895-_0x452cda,_0x5470b9=_0x37096f+_0x1c1485/0x2;_0x23a312[_0x246180(0x2fd)](_0x385ec7,_0x5470b9),_0x23a312[_0x246180(0x309)](_0x48e0a8===_0x246180(0x171)?_0x1a79e4:_0x1a79e4+_0x452cda,_0x5470b9);}),_0x23a312[_0xf61154(0x45a)](),_0x4fb45b[_0xf61154(0x35f)]((_0x5396b9,_0x121555)=>{const _0x2eb262=_0xf61154;let _0x1f938b=gr(_0x5396b9,_0x121555,this[_0x2eb262(0x2c7)][_0x2eb262(0x381)]),_0x4f1eb4=_0x165ae5+_0x121555*(_0x1c1485+_0x3df20a);Z(_0x23a312,_0x1f938b===_0x2eb262(0x171)?_0x385ec7+_0x258895:_0x385ec7-_0x258895-_0x452cda,_0x4f1eb4,_0x452cda,_0x1c1485,X[_0x2eb262(0x295)]),_0x23a312['fillStyle']=X[_0x2eb262(0x387)],_0x23a312['fill'](),_0x23a312['stroke']();});}}else _0x4ad199&&['top',_0xf61154(0x392)]['forEach'](_0x4ced08=>{const _0x56b9b3=_0xf61154;let _0x25d18e=_0x540921[_0x4ced08];if(_0x25d18e['length']===0x0)return;let _0x4b0eec=_0x25d18e[_0x56b9b3(0x1f3)]*_0x452cda+Math[_0x56b9b3(0x3b7)](0x0,_0x25d18e[_0x56b9b3(0x1f3)]-0x1)*_0x3df20a,_0x4b1bd0=_0x3efc49['x']-_0x4b0eec/0x2,_0x13baa3=_0x4ced08==='bottom'?_0x26762b+_0x48c081:_0x26762b,_0x3538f4=_0x4ced08===_0x56b9b3(0x392)?_0x13baa3+_0x258b6f[_0x56b9b3(0x2cc)]:_0x13baa3-_0x258b6f['branchGap'],_0x1be0ea=_0x4ced08==='bottom'?_0x26762b+_0x48c081+_0x258895:_0x26762b-_0x258895-_0x1c1485;_0x23a312[_0x56b9b3(0x18a)](),_0x23a312[_0x56b9b3(0x2fd)](_0x3efc49['x'],_0x13baa3),_0x23a312[_0x56b9b3(0x309)](_0x3efc49['x'],_0x3538f4),_0x25d18e[_0x56b9b3(0x1f3)]>0x1&&(_0x23a312[_0x56b9b3(0x2fd)](_0x4b1bd0+_0x452cda/0x2,_0x3538f4),_0x23a312['lineTo'](_0x4b1bd0+_0x4b0eec-_0x452cda/0x2,_0x3538f4)),_0x25d18e['forEach']((_0x5a1c60,_0x4b66fd)=>{const _0x15e9e1=_0x56b9b3;let _0x35cbe2=_0x4b1bd0+_0x4b66fd*(_0x452cda+_0x3df20a)+_0x452cda/0x2;_0x23a312['moveTo'](_0x35cbe2,_0x3538f4),_0x23a312['lineTo'](_0x35cbe2,_0x4ced08===_0x15e9e1(0x392)?_0x1be0ea:_0x1be0ea+_0x1c1485);}),_0x23a312['stroke'](),_0x25d18e[_0x56b9b3(0x35f)]((_0x22bdb4,_0x357653)=>{const _0x5f0bce=_0x56b9b3;Z(_0x23a312,_0x4b1bd0+_0x357653*(_0x452cda+_0x3df20a),_0x1be0ea,_0x452cda,_0x1c1485,X[_0x5f0bce(0x295)]),_0x23a312[_0x5f0bce(0x285)]=X[_0x5f0bce(0x387)],_0x23a312[_0x5f0bce(0x31a)](),_0x23a312[_0x5f0bce(0x45a)]();});});}(_0x4ad199||mr(this['_state'][_0xf61154(0x381)])||hr(this[_0xf61154(0x2c7)][_0xf61154(0x381)])?[]:['left',_0xf61154(0x171)])['forEach'](_0x238cd9=>{const _0x3d6f5f=_0xf61154;let _0x32fe0e=_0x540921[_0x238cd9];if(_0x32fe0e[_0x3d6f5f(0x1f3)]===0x0)return;let _0x33f480=_0x32fe0e['length']*_0x1c1485+Math[_0x3d6f5f(0x3b7)](0x0,_0x32fe0e[_0x3d6f5f(0x1f3)]-0x1)*_0x3df20a,_0x2123bd=_0x3efc49['y']-_0x33f480/0x2,_0x557ffe=_0x238cd9==='right'?_0x2362d5+_0xbfb338:_0x2362d5,_0x731f50=_0x238cd9==='right'?_0x557ffe+_0x258b6f[_0x3d6f5f(0x2cc)]:_0x557ffe-_0x258b6f[_0x3d6f5f(0x2cc)],_0x31af64=_0x238cd9===_0x3d6f5f(0x171)?_0x2362d5+_0xbfb338+_0x258895:_0x2362d5-_0x258895-_0x452cda;_0x23a312[_0x3d6f5f(0x18a)](),_0x23a312[_0x3d6f5f(0x2fd)](_0x557ffe,_0x3efc49['y']),_0x23a312[_0x3d6f5f(0x309)](_0x731f50,_0x3efc49['y']),_0x32fe0e[_0x3d6f5f(0x1f3)]>0x1&&(_0x23a312[_0x3d6f5f(0x2fd)](_0x731f50,_0x2123bd+_0x1c1485/0x2),_0x23a312['lineTo'](_0x731f50,_0x2123bd+_0x33f480-_0x1c1485/0x2)),_0x32fe0e[_0x3d6f5f(0x35f)]((_0x36b103,_0x11c37d)=>{const _0x233648=_0x3d6f5f;let _0x2ea9f5=_0x2123bd+_0x11c37d*(_0x1c1485+_0x3df20a)+_0x1c1485/0x2;_0x23a312[_0x233648(0x2fd)](_0x731f50,_0x2ea9f5),_0x23a312['lineTo'](_0x238cd9===_0x233648(0x171)?_0x31af64:_0x31af64+_0x452cda,_0x2ea9f5);}),_0x23a312[_0x3d6f5f(0x45a)](),_0x32fe0e['forEach']((_0x50cd03,_0x391f47)=>{const _0x5a8e70=_0x3d6f5f;let _0x599323=_0x2123bd+_0x391f47*(_0x1c1485+_0x3df20a);Z(_0x23a312,_0x31af64,_0x599323,_0x452cda,_0x1c1485,X[_0x5a8e70(0x295)]),_0x23a312[_0x5a8e70(0x285)]=X[_0x5a8e70(0x387)],_0x23a312[_0x5a8e70(0x31a)](),_0x23a312[_0x5a8e70(0x45a)]();});}),Z(_0x23a312,_0x2362d5,_0x26762b,_0xbfb338,_0x48c081,X[_0xf61154(0x3eb)]),_0x23a312['fillStyle']=X['primaryColor'],_0x23a312[_0xf61154(0x31a)](),_0x23a312['stroke'](),_0x23a312['fillStyle']=X[_0xf61154(0x3d3)],_0x23a312[_0xf61154(0x44b)]=sn(X[_0xf61154(0x18d)],X[_0xf61154(0x177)],_0x572904),_0x23a312[_0xf61154(0x247)]='center',_0x23a312[_0xf61154(0x25d)]=_0xf61154(0x257);let _0x2751e4=X[_0xf61154(0x45f)]/_0x572904;return _0x23a312[_0xf61154(0x2ab)](_0x35edc8,_0x3efc49['x'],_0x3efc49['y'],Math[_0xf61154(0x3b7)](0x1,_0xbfb338-_0x2751e4*0x2)),_0x23a312[_0xf61154(0x251)](),this[_0xf61154(0x359)](!0x1),this;}};const yr={'children':[{'text':_0x35edc8,'orderKey':_0x1d4a72(0x0),'side':'right'},{'text':_0x35edc8,'orderKey':_0x1d4a72(0x1),'side':'right'},{'text':_0x35edc8,'orderKey':_0x1d4a72(0x2),'side':_0x1f10c6(0x171)}]};var br=class extends _0x494558{constructor(..._0x113b24){const _0x5d8349=_0x1f10c6;super(..._0x113b24),K(this,_0x5d8349(0x40e),yr);}[_0x1f10c6(0x457)](_0x3ff024){const _0x48d460=_0x1f10c6;var _0x573507;let _0x14cdb7=(_0x3ff024==null?void 0x0:_0x3ff024['children'])??(_0x3ff024==null||(_0x573507=_0x3ff024[_0x48d460(0x30e)])==null?void 0x0:_0x573507[_0x48d460(0x278)]['children']);this[_0x48d460(0x40e)]={'rootText':_0x3ff024==null?void 0x0:_0x3ff024['rootText'],'structureKind':_0x3ff024==null?void 0x0:_0x3ff024[_0x48d460(0x381)],'branchLineType':_0x3ff024==null?void 0x0:_0x3ff024[_0x48d460(0x42b)],'children':this[_0x48d460(0x186)](_0x14cdb7,_0x3ff024==null?void 0x0:_0x3ff024[_0x48d460(0x381)]),'blueprint':_0x3ff024!=null&&_0x3ff024[_0x48d460(0x30e)]?this[_0x48d460(0x18e)](_0x3ff024[_0x48d460(0x30e)]):void 0x0};}[_0x1f10c6(0x382)](){const _0x3fd9ae=_0x1f10c6;var _0xcf824;return{'rootText':this['_template'][_0x3fd9ae(0x237)],'structureKind':this[_0x3fd9ae(0x40e)][_0x3fd9ae(0x381)],'branchLineType':this['_template'][_0x3fd9ae(0x42b)],'children':(_0xcf824=this[_0x3fd9ae(0x40e)]['children'])==null?void 0x0:_0xcf824[_0x3fd9ae(0x28f)](_0x40bd6d=>({..._0x40bd6d})),'blueprint':this['_template']['blueprint']?this[_0x3fd9ae(0x18e)](this[_0x3fd9ae(0x40e)][_0x3fd9ae(0x30e)]):void 0x0};}['_cloneBlueprint'](_0x3529b8){const _0x31d769=_0x1f10c6;return{'title':_0x3529b8[_0x31d769(0x175)],'root':this[_0x31d769(0x29a)](_0x3529b8[_0x31d769(0x278)])};}[_0x1f10c6(0x29a)](_0x3162c7){const _0x328352=_0x1f10c6;return{..._0x3162c7,'foreignAttributes':_0x3162c7[_0x328352(0x430)]?{..._0x3162c7['foreignAttributes']}:void 0x0,'children':_0x3162c7[_0x328352(0x39d)][_0x328352(0x28f)](_0x5d8011=>this['_cloneBlueprintNode'](_0x5d8011))};}['_normalizeChildren'](_0x3ebc0a,_0x176a63){const _0x46dde9=_0x1f10c6;let _0x1fa217=!_0x3ebc0a,_0x1a8651=_0x3ebc0a??yr[_0x46dde9(0x39d)];return _0x1a8651==null?void 0x0:_0x1a8651[_0x46dde9(0x28f)]((_0x5ef8d5,_0x3a2d9c)=>({..._0x5ef8d5,'text':_0x5ef8d5[_0x46dde9(0x2e1)]??_0x35edc8,'side':this[_0x46dde9(0x25e)](_0x5ef8d5[_0x46dde9(0x2a3)],_0x3a2d9c,_0x176a63,_0x1fa217)}));}['_resolveChildSide'](_0x2714e3,_0x3a2ac1,_0x7f7e35,_0x536626){const _0x51df53=_0x1f10c6;return _0x7f7e35===_0x51df53(0x37d)?_0x536626?_0x51df53(0x392):_0x2714e3??_0x51df53(0x392):_0x7f7e35===_0x51df53(0x3f2)?_0x536626?_0x51df53(0x233):_0x2714e3??_0x51df53(0x233):_0x7f7e35==='tree-right'?_0x536626?_0x51df53(0x171):_0x2714e3??_0x51df53(0x171):_0x7f7e35===_0x51df53(0x2d6)?_0x536626?_0x3a2ac1%0x2==0x0?_0x51df53(0x233):_0x51df53(0x171):_0x2714e3??(_0x3a2ac1%0x2==0x0?_0x51df53(0x233):'right'):_0x7f7e35===_0x51df53(0x213)?_0x536626?_0x3a2ac1%0x2==0x0?_0x51df53(0x41d):'bottom':_0x2714e3??(_0x3a2ac1%0x2==0x0?_0x51df53(0x41d):_0x51df53(0x392)):_0x7f7e35===_0x51df53(0x1d3)?_0x536626?_0x3a2ac1%0x2==0x0?'left':_0x51df53(0x171):_0x2714e3??(_0x3a2ac1%0x2==0x0?_0x51df53(0x233):_0x51df53(0x171)):_0x2714e3;}};function xr(_0x2ef2a1,_0xb07639){const _0x3602de=_0x1f10c6;let _0x42f821=Number['isFinite'](_0xb07639[_0x3602de(0x368)])&&_0xb07639['zoomRatio']>0x0?_0xb07639[_0x3602de(0x368)]:0x1;return{'x':Math[_0x3602de(0x272)]((_0x2ef2a1['offsetX']-_0xb07639[_0x3602de(0x34e)]['x'])/_0x42f821),'y':Math[_0x3602de(0x272)]((_0x2ef2a1[_0x3602de(0x2e0)]-_0xb07639[_0x3602de(0x34e)]['y'])/_0x42f821)};}function Sr(_0x18484a){const _0x3bac3e=_0x1f10c6;var _0x5270a2;if(_0x18484a!=null&&_0x18484a[_0x3bac3e(0x3c0)]){_0x18484a[_0x3bac3e(0x3c0)]();return;}_0x18484a==null||(_0x5270a2=_0x18484a[_0x3bac3e(0x1fe)])==null||_0x5270a2['call'](_0x18484a);}function Cr(_0x11bcf3){const _0x23c712=_0x1f10c6;var _0x249e81;return _0x11bcf3[_0x23c712(0x3fb)]===_0x529842['MindMap']&&((_0x249e81=_0x11bcf3[_0x23c712(0x2c6)])==null?void 0x0:_0x249e81['type'])===_0x529842['MindMap'];}let wr=class extends _0x9852b5{constructor(_0x497f05,_0x35c5d8,_0x45abe1,_0x7e4e6a,_0x2e5c08,_0xb45ba9,_0x1a7efa){const _0x4bf576=_0x1f10c6;super(),this[_0x4bf576(0x3e1)]=_0x497f05,this['_instanceSrv']=_0x35c5d8,this[_0x4bf576(0x376)]=_0x45abe1,this[_0x4bf576(0x210)]=_0x7e4e6a,this[_0x4bf576(0x1ff)]=_0x2e5c08,this[_0x4bf576(0x2cf)]=_0xb45ba9,this[_0x4bf576(0x31f)]=_0x1a7efa,K(this,_0x4bf576(0x374),null),K(this,_0x4bf576(0x280),null),this[_0x4bf576(0x347)]();}[_0x1f10c6(0x347)](){const _0x16645e=_0x1f10c6;var _0x2172bd;let {scene:_0x50815f,unitId:_0x448a31}=this[_0x16645e(0x3e1)],_0x52512a=this[_0x16645e(0x2b1)][_0x16645e(0x2b6)](_0x448a31,_0x25af0d['UNIVER_BOARD']);if(!_0x52512a)return;let _0xd37301=(_0x2172bd=_0x50815f[_0x16645e(0x1ef)])==null?void 0x0:_0x2172bd[_0x16645e(0x3f4)]({'priority':0x4,'next':([_0x1a0dfc,_0x56304a])=>this[_0x16645e(0x3d9)](_0x1a0dfc,_0x56304a)}),_0x497607=_0x50815f[_0x16645e(0x38f)][_0x16645e(0x3f4)]({'priority':0x4,'next':([_0x1641c1,_0x22d644])=>this[_0x16645e(0x2da)](_0x52512a,_0x1641c1,_0x22d644)});this[_0x16645e(0x1c8)](_0x50821e(()=>Sr(_0xd37301))),this[_0x16645e(0x1c8)](_0x50821e(()=>Sr(_0x497607)));let _0x32e28f=this[_0x16645e(0x376)]['state$'][_0x16645e(0x3c8)](()=>this['_syncPreviewObject']());this[_0x16645e(0x1c8)](_0x50821e(()=>Sr(_0x32e28f))),this[_0x16645e(0x1c8)](_0x50821e(()=>{const _0x1d4a84=_0x16645e;this[_0x1d4a84(0x148)]();})),this[_0x16645e(0x458)]();}['_syncPreviewObject'](){const _0x3c62c9=_0x1f10c6;var _0x49a858,_0x1f5da3;let _0x18df04=this[_0x3c62c9(0x376)][_0x3c62c9(0x193)]();if(!Cr(_0x18df04)){this['_removePreviewObject']();return;}let _0x12fc44=this[_0x3c62c9(0x149)](),_0x580bae=this[_0x3c62c9(0x1ff)][_0x3c62c9(0x382)]();_0x12fc44[_0x3c62c9(0x3c5)]({'point':this[_0x3c62c9(0x280)],'structureKind':_0x580bae[_0x3c62c9(0x381)],'children':_0x580bae[_0x3c62c9(0x39d)],'blueprint':_0x580bae[_0x3c62c9(0x30e)],'zoomRatio':_0x18df04[_0x3c62c9(0x368)]}),(_0x49a858=(_0x1f5da3=this[_0x3c62c9(0x3e1)]['scene'])[_0x3c62c9(0x359)])==null||_0x49a858[_0x3c62c9(0x266)](_0x1f5da3,!0x0);}[_0x1f10c6(0x149)](){const _0x2aa50d=_0x1f10c6;var _0x4eceb4,_0x36c06a;if(this[_0x2aa50d(0x374)])return this[_0x2aa50d(0x374)];let _0x2a93e6=this[_0x2aa50d(0x1ff)][_0x2aa50d(0x382)](),_0x1f1c64=new vr(dr,{'point':this[_0x2aa50d(0x280)],'structureKind':_0x2a93e6[_0x2aa50d(0x381)],'children':_0x2a93e6[_0x2aa50d(0x39d)],'blueprint':_0x2a93e6[_0x2aa50d(0x30e)],'zoomRatio':this[_0x2aa50d(0x376)][_0x2aa50d(0x193)]()[_0x2aa50d(0x368)]});return this[_0x2aa50d(0x374)]=_0x1f1c64,(_0x4eceb4=(_0x36c06a=this[_0x2aa50d(0x3e1)][_0x2aa50d(0x156)])[_0x2aa50d(0x416)])==null||_0x4eceb4[_0x2aa50d(0x266)](_0x36c06a,_0x1f1c64,fr),_0x1f1c64;}[_0x1f10c6(0x148)](){const _0x19a842=_0x1f10c6;var _0x1142de,_0x3c706c,_0x54f9c1,_0x5e04e1;if(!this[_0x19a842(0x374)]){this[_0x19a842(0x280)]=null;return;}(_0x1142de=(_0x3c706c=this[_0x19a842(0x3e1)][_0x19a842(0x156)])['removeObjects'])==null||_0x1142de['call'](_0x3c706c,[this['_previewObject']]),this[_0x19a842(0x374)]=null,this[_0x19a842(0x280)]=null,(_0x54f9c1=(_0x5e04e1=this['_renderContext'][_0x19a842(0x156)])[_0x19a842(0x359)])==null||_0x54f9c1[_0x19a842(0x266)](_0x5e04e1,!0x0);}['_getPointFromEvent'](_0x260d16){const _0x577c39=_0x1f10c6;let _0x3e3161=this[_0x577c39(0x376)][_0x577c39(0x193)]();return xr(_0x260d16,{'panOffset':_0x3e3161['viewportPanOffset'],'zoomRatio':_0x3e3161[_0x577c39(0x368)]});}[_0x1f10c6(0x190)](_0xba5615){const _0x387978=_0x1f10c6;return{'left':Math[_0x387978(0x272)](_0xba5615['x']-_0x4c0c6a[_0x387978(0x16f)]/0x2),'top':Math['round'](_0xba5615['y']-_0x4c0c6a[_0x387978(0x2b7)]/0x2)};}[_0x1f10c6(0x3d9)](_0x32e7c8,_0x5a3f7f){const _0x10bf2c=_0x1f10c6;Cr(this[_0x10bf2c(0x376)][_0x10bf2c(0x193)]())&&(this[_0x10bf2c(0x280)]=this['_getPointFromEvent'](_0x32e7c8),this[_0x10bf2c(0x458)](),_0x5a3f7f[_0x10bf2c(0x435)]());}async[_0x1f10c6(0x2da)](_0x34ae2f,_0x30085c,_0x7a0712){const _0x16f0ea=_0x1f10c6;let _0x5911da=await this['_insertMindMap'](_0x34ae2f,_0x30085c,_0x7a0712);if(!_0x5911da)return;let _0x4f1532={'unitId':this[_0x16f0ea(0x3e1)][_0x16f0ea(0x147)],'subUnitId':_0x5911da[_0x16f0ea(0x3cd)]};this[_0x16f0ea(0x31f)][_0x16f0ea(0x200)](),this[_0x16f0ea(0x31f)][_0x16f0ea(0x354)]({..._0x4f1532,'shapeId':_0x5911da[_0x16f0ea(0x254)],'shapeKey':_0x10c90a(_0x4f1532[_0x16f0ea(0x147)],_0x5911da[_0x16f0ea(0x254)]),'visible':!0x0});}async[_0x1f10c6(0x456)](_0x15022c,_0x5009b5,_0x326dda){const _0x246faf=_0x1f10c6;var _0x4f0907;let _0x4b6bf8=this[_0x246faf(0x376)]['getState'](),_0x5953ae=_0x5009b5[_0x246faf(0x2d3)]??0x0;if(!Cr(_0x4b6bf8)||_0x5953ae!==0x0)return null;let _0x3ebdfd=this[_0x246faf(0x3ae)](_0x5009b5),_0x4366a9=this[_0x246faf(0x190)](_0x3ebdfd),_0x201e68=this[_0x246faf(0x1ff)]['getTemplate'](),_0x82231a=_0x4e853d(0x6),_0x5e1736=_0x15022c['getActivePageId'](),_0x1109e8=this[_0x246faf(0x210)][_0x246faf(0x189)](_0x1e1a00['id'],{'unitId':this[_0x246faf(0x3e1)][_0x246faf(0x147)],'subUnitId':_0x5e1736,'left':_0x4366a9[_0x246faf(0x233)],'top':_0x4366a9[_0x246faf(0x41d)],'rootNodeId':_0x82231a,'rootText':_0x201e68[_0x246faf(0x237)],'structureKind':_0x201e68[_0x246faf(0x381)],'branchLineType':_0x201e68['branchLineType'],'children':_0x201e68[_0x246faf(0x39d)],'blueprint':_0x201e68['blueprint']});if(this[_0x246faf(0x376)][_0x246faf(0x453)](_0x529842['Select']),_0x326dda['stopPropagation'](),(_0x4f0907=_0x5009b5[_0x246faf(0x188)])==null||_0x4f0907[_0x246faf(0x266)](_0x5009b5),!await _0x1109e8||this[_0x246faf(0x3d6)])return null;let _0x53cc52={'unitId':this[_0x246faf(0x3e1)][_0x246faf(0x147)],'subUnitId':_0x5e1736};return this[_0x246faf(0x2cf)][_0x246faf(0x29f)](_0x53cc52,[_0x82231a],_0x82231a),{'rootNodeId':_0x82231a,'subUnitId':_0x5e1736};}};wr=J([q(0x1,_0x1d8bf1),q(0x2,_0x50e115),q(0x3,_0x56aea3),q(0x4,_0x2e0f98(br)),q(0x5,_0x10fb2b),q(0x6,_0x2e0f98(_0x157676))],wr);var Tr=class extends _0x494558{constructor(..._0x349710){const _0x356072=_0x1f10c6;super(..._0x349710),K(this,'_refresh$',new _0x3731e6()),K(this,_0x356072(0x23c),this[_0x356072(0x240)]['asObservable']());}[_0x1f10c6(0x3ad)](_0x439fe6){const _0x3d44cf=_0x1f10c6;this[_0x3d44cf(0x240)][_0x3d44cf(0x2f6)](_0x439fe6);}[_0x1f10c6(0x3c0)](){const _0x129f3e=_0x1f10c6;this[_0x129f3e(0x240)]['complete'](),super[_0x129f3e(0x3c0)]();}};function Er(_0x14a8a4){const _0x5aeafa=_0x1f10c6;return typeof _0x14a8a4==_0x5aeafa(0x419)&&Number['isFinite'](_0x14a8a4)&&_0x14a8a4>0x0;}function Dr(_0xe92c01,_0x5b4676,_0x3de910){const _0x33710a=_0x1f10c6;let _0x463c9a=_0xe92c01[_0x5b4676],_0x5b68ed=_0x51f94c(_0x463c9a==null?void 0x0:_0x463c9a[_0x33710a(0x333)]);if(!_0x463c9a||!_0x5b68ed)return null;let _0xd3c438=_0x2fe75a(_0x463c9a,_0x3de910);if(!_0xd3c438)return null;let _0x54e002=_0x463c9a[_0x33710a(0x184)]??_0x463c9a['element'][_0x33710a(0x184)],_0x1dd493={..._0xe92c01,[_0x5b4676]:{..._0x463c9a,'transform':{..._0x54e002,'width':_0xd3c438[_0x33710a(0x246)],'height':_0xd3c438[_0x33710a(0x26c)]},'element':{..._0x463c9a['element'],'transform':{..._0x463c9a['element'][_0x33710a(0x184)],'width':_0xd3c438[_0x33710a(0x246)],'height':_0xd3c438['height']}}}};return _0x384f9e(_0x1dd493,_0x5b68ed[_0x33710a(0x3f1)]);}let Or=class extends _0x9852b5{constructor(_0x42c1a8,_0x669b12,_0x34af5d,_0x719324,_0x1a9144,_0x4a0e21){const _0x2ac104=_0x1f10c6;super(),this[_0x2ac104(0x3e1)]=_0x42c1a8,this['_intrinsicSizeService']=_0x669b12,this[_0x2ac104(0x384)]=_0x34af5d,this[_0x2ac104(0x1e0)]=_0x719324,this['_previewRefreshService']=_0x1a9144,this[_0x2ac104(0x210)]=_0x4a0e21,K(this,_0x2ac104(0x2db),null),K(this,_0x2ac104(0x204),{'match':_0x12eb7b=>_0x12eb7b[_0x2ac104(0x147)]===this[_0x2ac104(0x3e1)][_0x2ac104(0x147)]&&!!_0x51f94c(_0x12eb7b[_0x2ac104(0x333)]),'resolveHostSize':_0x517dfd=>this[_0x2ac104(0x390)](_0x517dfd),'previewHostSize':_0x4da0f6=>this[_0x2ac104(0x1f4)](_0x4da0f6),'updateHostSize':_0x5c39b8=>this[_0x2ac104(0x158)](_0x5c39b8),'updateShapeText':_0x64f59d=>this[_0x2ac104(0x195)](_0x64f59d)}),this['disposeWithMe'](this[_0x2ac104(0x461)]['registerProvider'](this[_0x2ac104(0x204)])),this['_initEditingRestore'](),this[_0x2ac104(0x1c8)](_0x50821e(()=>this[_0x2ac104(0x24e)]()));}[_0x1f10c6(0x158)](_0x583520){const _0xd15b1d=_0x1f10c6;return this[_0xd15b1d(0x1f4)](_0x583520);}[_0x1f10c6(0x195)](_0x74a3e1){const _0x4b870a=_0x1f10c6;let _0x5ccf71=_0x74a3e1['params']['hostSize']?this['_resolveHostSize']({'elementData':_0x74a3e1[_0x4b870a(0x19b)],'params':_0x74a3e1['params'][_0x4b870a(0x3e9)]}):null,_0x3ac0c8=_0x74a3e1['elementData'][_0x4b870a(0x184)]??_0x74a3e1[_0x4b870a(0x19b)]['element']['transform'];return(!_0x5ccf71||_0x5ccf71[_0x4b870a(0x246)]===_0x3ac0c8[_0x4b870a(0x246)]&&_0x5ccf71[_0x4b870a(0x26c)]===_0x3ac0c8[_0x4b870a(0x26c)])&&_0x1f8885(_0x74a3e1['params'][_0x4b870a(0x3f6)],_0x74a3e1[_0x4b870a(0x316)]['oldShapeText'])?!0x0:this[_0x4b870a(0x210)][_0x4b870a(0x18b)](_0x1c2b74['id'],{'unitId':_0x74a3e1['params'][_0x4b870a(0x147)],'subUnitId':_0x74a3e1[_0x4b870a(0x316)][_0x4b870a(0x3cd)],'nodeId':_0x74a3e1['params'][_0x4b870a(0x3d7)],'shapeText':_0x74a3e1[_0x4b870a(0x316)][_0x4b870a(0x3f6)],..._0x5ccf71?{'hostSize':{'width':_0x5ccf71['width'],'height':_0x5ccf71[_0x4b870a(0x26c)]}}:null});}[_0x1f10c6(0x1f4)](_0xb54e93){const _0x1bbe23=_0x1f10c6;let _0x401a0a=this[_0x1bbe23(0x390)](_0xb54e93);if(!_0x401a0a)return!0x1;let _0xc784dd=_0xb54e93['elementData'][_0x1bbe23(0x184)]??_0xb54e93['elementData']['element']['transform'];return!this['_activePreview']&&_0xc784dd[_0x1bbe23(0x246)]===_0x401a0a[_0x1bbe23(0x246)]&&_0xc784dd[_0x1bbe23(0x26c)]===_0x401a0a[_0x1bbe23(0x26c)]||this[_0x1bbe23(0x3d5)](_0xb54e93,_0x401a0a),!0x0;}[_0x1f10c6(0x390)](_0x5c515e){const _0x38b6df=_0x1f10c6;return!Er(_0x5c515e['params'][_0x38b6df(0x246)])||!Er(_0x5c515e[_0x38b6df(0x316)]['height'])?null:_0x2fe75a(_0x5c515e[_0x38b6df(0x19b)],{'width':_0x5c515e[_0x38b6df(0x316)][_0x38b6df(0x246)],'height':_0x5c515e['params'][_0x38b6df(0x26c)]});}[_0x1f10c6(0x418)](){const _0x3d812b=_0x1f10c6;this[_0x3d812b(0x1c8)](_0x50821e(this[_0x3d812b(0x1e0)][_0x3d812b(0x191)][_0x3d812b(0x36e)](_0x2c3b45(this['dispose$']))[_0x3d812b(0x3c8)](_0x78bd53=>{const _0x2d3db1=_0x3d812b;_0x78bd53||this[_0x2d3db1(0x24e)]();})));}[_0x1f10c6(0x3d5)](_0x631fd6,_0x1ab851){const _0x27ce86=_0x1f10c6;var _0x2b7f38;let _0x226ee3=this[_0x27ce86(0x384)]['getElementData'](_0x631fd6['params'][_0x27ce86(0x147)],_0x631fd6['params']['subUnitId']),_0x3180d3=Dr(_0x226ee3,_0x631fd6[_0x27ce86(0x316)][_0x27ce86(0x3d7)],_0x1ab851),_0x1d3b7b=_0x51f94c((_0x2b7f38=_0x226ee3[_0x631fd6[_0x27ce86(0x316)][_0x27ce86(0x3d7)]])==null?void 0x0:_0x2b7f38[_0x27ce86(0x333)]);_0x3180d3&&_0x1d3b7b&&(this[_0x27ce86(0x2db)]={'unitId':_0x631fd6[_0x27ce86(0x316)]['unitId'],'subUnitId':_0x631fd6[_0x27ce86(0x316)][_0x27ce86(0x3cd)],'scopeId':_0x1d3b7b['structureScopeId']},this[_0x27ce86(0x358)](_0x3180d3,_0x1d3b7b[_0x27ce86(0x3f1)])&&this['_previewRefreshService'][_0x27ce86(0x3ad)]({'unitId':_0x631fd6[_0x27ce86(0x316)][_0x27ce86(0x147)],'subUnitId':_0x631fd6[_0x27ce86(0x316)][_0x27ce86(0x3cd)],'nodeId':_0x631fd6[_0x27ce86(0x316)][_0x27ce86(0x3d7)],'scopeId':_0x1d3b7b[_0x27ce86(0x3f1)]}));}[_0x1f10c6(0x24e)](){const _0x3de297=_0x1f10c6;let _0x45c9ff=this[_0x3de297(0x2db)];if(!_0x45c9ff)return;this[_0x3de297(0x2db)]=null;let _0x2570bd=this['_boardElementService']['getElementData'](_0x45c9ff['unitId'],_0x45c9ff['subUnitId']);this['_syncElementDataToScene'](_0x2570bd,_0x45c9ff[_0x3de297(0x3d1)])&&this[_0x3de297(0x45e)][_0x3de297(0x3ad)]({'unitId':_0x45c9ff['unitId'],'subUnitId':_0x45c9ff[_0x3de297(0x3cd)],'nodeId':_0x45c9ff[_0x3de297(0x3d1)],'scopeId':_0x45c9ff[_0x3de297(0x3d1)]});}['_syncElementDataToScene'](_0x2ba29f,_0x5e8681){const _0x39a8c1=_0x1f10c6;let _0x5b94b7=!0x1;if(Object['values'](_0x2ba29f)[_0x39a8c1(0x35f)](_0x4961eb=>{const _0x5d6179=_0x39a8c1;var _0x3fea1e;let _0x85fad5=_0x51f94c(_0x4961eb[_0x5d6179(0x333)]),_0x13cdfc=(_0x3fea1e=_0x4961eb[_0x5d6179(0x333)][_0x5d6179(0x36c)])==null?void 0x0:_0x3fea1e['structured'];if(_0x4961eb[_0x5d6179(0x142)]!==_0x5e8681&&(_0x85fad5==null?void 0x0:_0x85fad5[_0x5d6179(0x3f1)])!==_0x5e8681&&(_0x13cdfc==null?void 0x0:_0x13cdfc[_0x5d6179(0x3f1)])!==_0x5e8681)return;let _0x2c47d9=this[_0x5d6179(0x21b)](_0x4961eb['elementId']);_0x2c47d9&&(_0x5b94b7=_0x3e7b6d(_0x2c47d9,_0x4961eb,{'elementData':_0x2ba29f,'unitId':this[_0x5d6179(0x3e1)][_0x5d6179(0x147)]})||_0x5b94b7);}),_0x5b94b7){var _0x2d0cbf,_0x6e436d;this[_0x39a8c1(0x3e1)][_0x39a8c1(0x156)][_0x39a8c1(0x359)](!0x0),(_0x2d0cbf=(_0x6e436d=this[_0x39a8c1(0x3e1)][_0x39a8c1(0x156)])[_0x39a8c1(0x279)])==null||_0x2d0cbf[_0x39a8c1(0x266)](_0x6e436d);}return _0x5b94b7;}['_getSceneObject'](_0x21a4cf){const _0xd21ae4=_0x1f10c6;var _0x3992e9;let _0x38c7f9=_0x10c90a(this['_renderContext'][_0xd21ae4(0x147)],_0x21a4cf),_0x39d144=this[_0xd21ae4(0x3e1)][_0xd21ae4(0x156)];return((_0x3992e9=_0x39d144[_0xd21ae4(0x19f)])==null?void 0x0:_0x3992e9[_0xd21ae4(0x266)](_0x39d144,_0x38c7f9))??this['_renderContext'][_0xd21ae4(0x156)]['getObject'](_0x38c7f9)??null;}};Or=J([q(0x1,_0x2e0f98(_0x5c4bcf)),q(0x2,_0x2e0f98(_0x52d74d)),q(0x3,_0x2e0f98(_0x157676)),q(0x4,_0x2e0f98(Tr)),q(0x5,_0x56aea3)],Or);const $={'touchHitRadius':0x16,'radius':0x12,'addChildRadius':0xe,'siblingHoverRadius':0xa,'siblingDotRadius':0x5,'siblingDotGap':0x3,'gap':0xa,'collapsePlusMinDistance':0x2c,'primaryColor':Y[_0x1f10c6(0x3b2)],'surfaceColor':Y[_0x1f10c6(0x448)],'borderWidth':0x2,'glyphSize':0x8,'addChildGlyphSize':0x6,'siblingGlyphSize':5.5,'glyphWidth':2.4,'glyphHoverWidth':0x3,'badgeFontWeight':0x258,'badgeFontSize':0x12,'fontFamily':Y[_0x1f10c6(0x2ed)]};function kr(_0x2d13b9){const _0x2da7c6=_0x1f10c6;let _0x333476=$['radius'],_0x5dcf3a=$[_0x2da7c6(0x2bd)],_0x15e294=$['siblingHoverRadius'],_0x3d58fd=$[_0x2da7c6(0x31e)],_0x390c9d=$[_0x2da7c6(0x3bf)],_0x1f9ea6=_0x390c9d+$['siblingDotGap'],_0x4ea589=$[_0x2da7c6(0x336)],_0x320fc7=_0x2d13b9[_0x2da7c6(0x24d)][_0x2da7c6(0x41d)]+_0x2d13b9[_0x2da7c6(0x24d)][_0x2da7c6(0x26c)]/0x2,_0x3a9c04=_0x2d13b9[_0x2da7c6(0x24d)][_0x2da7c6(0x233)]+_0x2d13b9[_0x2da7c6(0x24d)][_0x2da7c6(0x246)]/0x2,_0x78a1=_0x2d13b9[_0x2da7c6(0x24d)]['left']-_0x333476-_0x3d58fd,_0x6aa01b=_0x2d13b9['bounds']['left']+_0x2d13b9[_0x2da7c6(0x24d)][_0x2da7c6(0x246)]+_0x333476+_0x3d58fd,_0x1d98c1=_0x2d13b9['bounds']['top']-_0x333476-_0x3d58fd,_0x4ba8fa=_0x2d13b9[_0x2da7c6(0x24d)][_0x2da7c6(0x41d)]+_0x2d13b9[_0x2da7c6(0x24d)][_0x2da7c6(0x26c)]+_0x333476+_0x3d58fd,_0x7d2f0c=_0x2d13b9[_0x2da7c6(0x24d)][_0x2da7c6(0x233)]-_0x5dcf3a-_0x3d58fd,_0x5712c4=_0x2d13b9[_0x2da7c6(0x24d)][_0x2da7c6(0x233)]+_0x2d13b9['bounds']['width']+_0x5dcf3a+_0x3d58fd,_0x2734b7=_0x2d13b9['bounds'][_0x2da7c6(0x41d)]-_0x5dcf3a-_0x3d58fd,_0x6d1ba8=_0x2d13b9[_0x2da7c6(0x24d)]['top']+_0x2d13b9[_0x2da7c6(0x24d)][_0x2da7c6(0x26c)]+_0x5dcf3a+_0x3d58fd,_0x3ad518=[],_0x4a8cbc=_0x2d13b9[_0x2da7c6(0x2a3)]==='top'||_0x2d13b9[_0x2da7c6(0x2a3)]===_0x2da7c6(0x392),_0x19bd79=_0x4a8cbc?_0x3a9c04:_0x2d13b9[_0x2da7c6(0x2a3)]===_0x2da7c6(0x233)?_0x78a1:_0x6aa01b,_0x436e30=_0x4a8cbc?_0x2d13b9[_0x2da7c6(0x2a3)]==='top'?_0x1d98c1:_0x4ba8fa:_0x320fc7;if(_0x2d13b9[_0x2da7c6(0x2fc)]&&_0x2d13b9[_0x2da7c6(0x20e)]>0x0)return _0x3ad518['push']({'kind':'toggle-collapse','x':_0x19bd79,'y':_0x436e30,'radius':_0x333476,'badgeCount':_0x2d13b9['collapsedDescendantCount']}),_0x3ad518;if(_0x2d13b9[_0x2da7c6(0x3bd)]?(_0x2d13b9['rootChildSides']??(_0x4a8cbc?[_0x2da7c6(0x41d),'bottom']:[_0x2da7c6(0x233),_0x2da7c6(0x171)]))[_0x2da7c6(0x35f)](_0x1b2181=>{const _0x1e9ff=_0x2da7c6;_0x1b2181==='top'?_0x3ad518[_0x1e9ff(0x292)]({'kind':_0x1e9ff(0x40d),'x':_0x3a9c04,'y':_0x2734b7,'radius':_0x5dcf3a}):_0x1b2181==='bottom'?_0x3ad518[_0x1e9ff(0x292)]({'kind':'add-child-bottom','x':_0x3a9c04,'y':_0x6d1ba8,'radius':_0x5dcf3a}):_0x1b2181===_0x1e9ff(0x233)?_0x3ad518['push']({'kind':_0x1e9ff(0x2b5),'x':_0x7d2f0c,'y':_0x320fc7,'radius':_0x5dcf3a}):_0x3ad518['push']({'kind':_0x1e9ff(0x386),'x':_0x5712c4,'y':_0x320fc7,'radius':_0x5dcf3a});}):(_0x3ad518[_0x2da7c6(0x292)]({'kind':_0x2d13b9[_0x2da7c6(0x2a3)]===_0x2da7c6(0x233)?'add-child-left':_0x2d13b9['side']===_0x2da7c6(0x41d)?_0x2da7c6(0x40d):_0x2d13b9[_0x2da7c6(0x2a3)]===_0x2da7c6(0x392)?'add-child-bottom':_0x2da7c6(0x386),'x':_0x4a8cbc?_0x3a9c04:_0x2d13b9['side']===_0x2da7c6(0x233)?_0x7d2f0c:_0x5712c4,'y':_0x4a8cbc?_0x2d13b9[_0x2da7c6(0x2a3)]===_0x2da7c6(0x41d)?_0x2734b7:_0x6d1ba8:_0x320fc7,'radius':_0x5dcf3a}),_0x4a8cbc?(_0x3ad518['push']({'kind':_0x2da7c6(0x217),'placement':_0x2da7c6(0x305),'x':_0x2d13b9[_0x2da7c6(0x24d)][_0x2da7c6(0x233)]-_0x1f9ea6,'y':_0x320fc7,'radius':_0x15e294,'visualRadius':_0x390c9d}),_0x3ad518[_0x2da7c6(0x292)]({'kind':_0x2da7c6(0x36d),'placement':_0x2da7c6(0x250),'x':_0x2d13b9[_0x2da7c6(0x24d)]['left']+_0x2d13b9['bounds'][_0x2da7c6(0x246)]+_0x1f9ea6,'y':_0x320fc7,'radius':_0x15e294,'visualRadius':_0x390c9d})):(_0x3ad518[_0x2da7c6(0x292)]({'kind':'add-sibling-before','placement':_0x2da7c6(0x305),'x':_0x3a9c04,'y':_0x2d13b9[_0x2da7c6(0x24d)][_0x2da7c6(0x41d)]-_0x1f9ea6,'radius':_0x15e294,'visualRadius':_0x390c9d}),_0x3ad518[_0x2da7c6(0x292)]({'kind':'add-sibling-after','placement':_0x2da7c6(0x250),'x':_0x3a9c04,'y':_0x2d13b9[_0x2da7c6(0x24d)][_0x2da7c6(0x41d)]+_0x2d13b9[_0x2da7c6(0x24d)]['height']+_0x1f9ea6,'radius':_0x15e294,'visualRadius':_0x390c9d}))),_0x2d13b9[_0x2da7c6(0x2fc)]){let _0x41f7db={'kind':_0x2da7c6(0x1f7),'x':_0x19bd79,'y':_0x436e30,'radius':_0x333476};_0x3ad518[_0x2da7c6(0x292)](_0x41f7db);let _0x375b3f=_0x3ad518[_0x2da7c6(0x339)](_0x2018d4=>_0x2018d4[_0x2da7c6(0x420)]===(_0x2d13b9[_0x2da7c6(0x2a3)]===_0x2da7c6(0x233)?_0x2da7c6(0x2b5):_0x2d13b9[_0x2da7c6(0x2a3)]==='top'?_0x2da7c6(0x40d):_0x2d13b9[_0x2da7c6(0x2a3)]==='bottom'?'add-child-bottom':'add-child-right'));_0x375b3f&&Math['hypot'](_0x375b3f['x']-_0x41f7db['x'],_0x375b3f['y']-_0x41f7db['y'])<_0x4ea589&&(_0x2d13b9[_0x2da7c6(0x2a3)]===_0x2da7c6(0x41d)||_0x2d13b9[_0x2da7c6(0x2a3)]===_0x2da7c6(0x392)?_0x375b3f['y']=_0x41f7db['y']+(_0x2d13b9[_0x2da7c6(0x2a3)]==='top'?-_0x4ea589:_0x4ea589):_0x375b3f['x']=_0x41f7db['x']+(_0x2d13b9[_0x2da7c6(0x2a3)]===_0x2da7c6(0x233)?-_0x4ea589:_0x4ea589));}return _0x3ad518;}const Ar=_0x1f10c6(0x2d7),jr=_0x2a0926['connectorAffordance'];function Mr(_0x33113c,_0x38aa6d){const _0x22624f=_0x1f10c6;return!!_0x33113c&&_0x33113c[_0x22624f(0x420)]===_0x38aa6d[_0x22624f(0x420)]&&_0x33113c['x']===_0x38aa6d['x']&&_0x33113c['y']===_0x38aa6d['y'];}var Nr=class extends _0xf647d4{constructor(_0x255cc7=Ar,_0x23d31b){const _0x4e7b0f=_0x1f10c6;super(_0x255cc7),K(this,'_state',{'controls':[]}),this[_0x4e7b0f(0x14b)]=!0x0,this['zIndex']=_0x3d308f[_0x4e7b0f(0x1a7)],this[_0x4e7b0f(0x3c5)](_0x23d31b);}[_0x1f10c6(0x3c5)](_0x2ce8d9){const _0x1ddc8f=_0x1f10c6;this['_state']={...this[_0x1ddc8f(0x2c7)],..._0x2ce8d9},this[_0x1ddc8f(0x2c7)][_0x1ddc8f(0x1bd)][_0x1ddc8f(0x1f3)]>0x0?this[_0x1ddc8f(0x417)]():this[_0x1ddc8f(0x140)](),this[_0x1ddc8f(0x359)](!0x0);}[_0x1f10c6(0x182)](_0x5787f4){const _0x20215b=_0x1f10c6;!_0x5787f4&&!this[_0x20215b(0x2c7)][_0x20215b(0x1fa)]||_0x5787f4&&Mr(this['_state'][_0x20215b(0x1fa)],_0x5787f4)||(this['_state']={...this[_0x20215b(0x2c7)],'hoveredControl':_0x5787f4},this['makeDirty'](!0x0));}[_0x1f10c6(0x3b8)](_0x5798ae,_0x5b030a){const _0x5317f5=_0x1f10c6;var _0x69c891;let _0x5e205e=(_0x69c891=this[_0x5317f5(0x331)]())==null?void 0x0:_0x69c891[_0x5317f5(0x1fd)](),_0xf26cf3=null,_0x25c0a0=0x1/0x0;for(let _0x897a6f=this[_0x5317f5(0x2c7)][_0x5317f5(0x1bd)]['length']-0x1;_0x897a6f>=0x0;--_0x897a6f){let _0x460fc4=this[_0x5317f5(0x2c7)][_0x5317f5(0x1bd)][_0x897a6f],_0x169b0f=Math[_0x5317f5(0x234)](_0x5798ae['x']-_0x460fc4['x'],_0x5798ae['y']-_0x460fc4['y']);if(_0x5b030a!==_0xf8d86[_0x5317f5(0x367)]){if(_0x169b0f<=_0x460fc4[_0x5317f5(0x284)])return _0x460fc4;continue;}let _0x2b5e73=Math[_0x5317f5(0x234)]((_0x5798ae['x']-_0x460fc4['x'])*((_0x5e205e==null?void 0x0:_0x5e205e[_0x5317f5(0x3a0)])??0x1),(_0x5798ae['y']-_0x460fc4['y'])*((_0x5e205e==null?void 0x0:_0x5e205e['scaleY'])??0x1));(_0x169b0f<=_0x460fc4[_0x5317f5(0x284)]||_0x2b5e73<=$[_0x5317f5(0x308)])&&_0x2b5e73<_0x25c0a0&&(_0xf26cf3=_0x460fc4,_0x25c0a0=_0x2b5e73);}return _0xf26cf3;}[_0x1f10c6(0x3a9)](_0x1338e7){const _0x1c2b52=_0x1f10c6;var _0x3c1dab;let _0x5f2618=this[_0x1c2b52(0x3b8)](_0x1338e7,_0xf8d86[_0x1c2b52(0x367)]),_0x2ed3b7=(_0x3c1dab=this[_0x1c2b52(0x331)]())==null?void 0x0:_0x3c1dab[_0x1c2b52(0x1fd)]();return _0x5f2618?Math['hypot']((_0x1338e7['x']-_0x5f2618['x'])*((_0x2ed3b7==null?void 0x0:_0x2ed3b7[_0x1c2b52(0x3a0)])??0x1),(_0x1338e7['y']-_0x5f2618['y'])*((_0x2ed3b7==null?void 0x0:_0x2ed3b7[_0x1c2b52(0x30d)])??0x1)):0x1/0x0;}[_0x1f10c6(0x203)](_0x2ac475){const _0x3f533c=_0x1f10c6;return!!this[_0x3f533c(0x3b8)]({'x':_0x2ac475['x'],'y':_0x2ac475['y']});}[_0x1f10c6(0x18f)](_0x4ea509,_0x3c1c80){const _0x1c0d0c=_0x1f10c6;return!this[_0x1c0d0c(0x2df)]||this[_0x1c0d0c(0x2c7)][_0x1c0d0c(0x1bd)][_0x1c0d0c(0x1f3)]===0x0?(this['makeDirty'](!0x1),this):(_0x4ea509[_0x1c0d0c(0x38e)](),this[_0x1c0d0c(0x2c7)]['controls'][_0x1c0d0c(0x35f)](_0x50a023=>{const _0x610817=_0x1c0d0c;let _0x129c44=Mr(this[_0x610817(0x2c7)]['hoveredControl'],_0x50a023),_0x28070a=_0x50a023[_0x610817(0x21d)]!==void 0x0,_0x59bd02=_0x50a023[_0x610817(0x420)]===_0x610817(0x2b5)||_0x50a023['kind']==='add-child-right'||_0x50a023[_0x610817(0x420)]==='add-child-top'||_0x50a023['kind']==='add-child-bottom',_0x19f4a7=_0x50a023[_0x610817(0x420)]===_0x610817(0x217)||_0x50a023[_0x610817(0x420)]==='add-sibling-after',_0x496686=_0x19f4a7&&!_0x129c44?_0x50a023[_0x610817(0x298)]??_0x50a023[_0x610817(0x284)]:_0x50a023[_0x610817(0x284)];if(_0x4ea509[_0x610817(0x18a)](),_0x4ea509[_0x610817(0x285)]=_0x50a023[_0x610817(0x420)]===_0x610817(0x1f7)?$[_0x610817(0x448)]:$[_0x610817(0x3b2)],_0x4ea509[_0x610817(0x16a)]=$[_0x610817(0x3b2)],_0x4ea509['lineWidth']=$[_0x610817(0x291)],_0x4ea509['arc'](_0x50a023['x'],_0x50a023['y'],_0x496686,0x0,Math['PI']*0x2),_0x4ea509[_0x610817(0x31a)](),(!_0x19f4a7||_0x129c44)&&_0x4ea509[_0x610817(0x45a)](),!_0x28070a&&(!_0x19f4a7||_0x129c44)){if(_0x4ea509['beginPath'](),_0x4ea509['strokeStyle']=_0x50a023[_0x610817(0x420)]===_0x610817(0x1f7)?$[_0x610817(0x3b2)]:$[_0x610817(0x448)],_0x4ea509[_0x610817(0x33f)]=_0x19f4a7?$['glyphWidth']:_0x129c44?$[_0x610817(0x1df)]:$[_0x610817(0x2b8)],_0x4ea509[_0x610817(0x1bc)]=_0x610817(0x272),_0x50a023[_0x610817(0x420)]==='toggle-collapse'){let _0x231a9a=$[_0x610817(0x145)];_0x4ea509[_0x610817(0x2fd)](_0x50a023['x']+_0x231a9a/0x2,_0x50a023['y']-_0x231a9a),_0x4ea509[_0x610817(0x309)](_0x50a023['x']-_0x231a9a/0x2,_0x50a023['y']),_0x4ea509[_0x610817(0x309)](_0x50a023['x']+_0x231a9a/0x2,_0x50a023['y']+_0x231a9a);}else{let _0x14d1de=_0x19f4a7?$[_0x610817(0x14f)]:_0x59bd02?$[_0x610817(0x232)]:$[_0x610817(0x145)];_0x4ea509[_0x610817(0x2fd)](_0x50a023['x']-_0x14d1de,_0x50a023['y']),_0x4ea509['lineTo'](_0x50a023['x']+_0x14d1de,_0x50a023['y']),_0x4ea509['moveTo'](_0x50a023['x'],_0x50a023['y']-_0x14d1de),_0x4ea509[_0x610817(0x309)](_0x50a023['x'],_0x50a023['y']+_0x14d1de);}_0x4ea509[_0x610817(0x45a)]();}_0x28070a&&(_0x4ea509['fillStyle']=$[_0x610817(0x3b2)],_0x4ea509[_0x610817(0x44b)]=$[_0x610817(0x261)]+'\x20'+$['badgeFontSize']+'px\x20'+$[_0x610817(0x2ed)],_0x4ea509[_0x610817(0x247)]=_0x610817(0x346),_0x4ea509['textBaseline']=_0x610817(0x257),_0x4ea509[_0x610817(0x2ab)](String(_0x50a023['badgeCount']),_0x50a023['x'],_0x50a023['y']));}),_0x4ea509[_0x1c0d0c(0x251)](),this['makeDirty'](!0x1),this);}};function Pr(_0xec7fef){const _0x204b13=_0x1f10c6;return _0xec7fef===_0x204b13(0x3f2)||_0xec7fef==='tree-right'||_0xec7fef===_0x204b13(0x2d6);}function Fr(_0x53f13c){const _0x51b987=_0x1f10c6;return _0x53f13c===_0x51b987(0x213)||_0x53f13c==='timeline-vertical';}function Ir(_0x22031f,_0xf33c3a){const _0x252006=_0x1f10c6;let _0x5ed089=Number[_0x252006(0x180)](_0xf33c3a['zoomRatio'])&&_0xf33c3a[_0x252006(0x368)]>0x0?_0xf33c3a[_0x252006(0x368)]:0x1;return{'x':Math[_0x252006(0x272)]((_0x22031f['offsetX']-_0xf33c3a[_0x252006(0x34e)]['x'])/_0x5ed089),'y':Math['round']((_0x22031f[_0x252006(0x2e0)]-_0xf33c3a[_0x252006(0x34e)]['y'])/_0x5ed089)};}let Lr=class extends _0x9852b5{constructor(_0x2eb891,_0x1498ab,_0x4526d0,_0x4b0132,_0x28d2d3,_0x5d06f0,_0x47ca03,_0x102baf,_0x5a5f6c){const _0xe62429=_0x1f10c6;super(),this[_0xe62429(0x3e1)]=_0x2eb891,this[_0xe62429(0x384)]=_0x1498ab,this[_0xe62429(0x2cf)]=_0x4526d0,this[_0xe62429(0x376)]=_0x4b0132,this['_commandService']=_0x28d2d3,this[_0xe62429(0x31f)]=_0x5d06f0,this[_0xe62429(0x379)]=_0x47ca03,this[_0xe62429(0x45e)]=_0x102baf,this[_0xe62429(0x3d4)]=_0x5a5f6c,K(this,'_object',null),K(this,_0xe62429(0x33e),null),K(this,_0xe62429(0x3fd),null),K(this,'_activeScopeId',null),this['_init']();}[_0x1f10c6(0x347)](){const _0x5a7688=_0x1f10c6;var _0x1731f9,_0x3a0ce3,_0x440e0e;let {scene:_0x269804}=this['_renderContext'],_0x4abfb3=(_0x1731f9=_0x269804[_0x5a7688(0x165)])==null?void 0x0:_0x1731f9[_0x5a7688(0x266)](_0x269804);_0x4abfb3&&(this[_0x5a7688(0x1c8)](_0x50821e(_0x4abfb3['changing$'][_0x5a7688(0x36e)](_0x2c3b45(this[_0x5a7688(0x273)]))[_0x5a7688(0x3c8)](({objects:_0x538d0b})=>{const _0x3296e6=_0x5a7688;this[_0x3296e6(0x3aa)](_0x538d0b,{'hideRootControls':!0x0});}))),this['disposeWithMe'](_0x50821e(_0x4abfb3[_0x5a7688(0x45b)][_0x5a7688(0x36e)](_0x2c3b45(this[_0x5a7688(0x273)]))[_0x5a7688(0x3c8)](_0x4acceb=>{const _0x3007f3=_0x5a7688;let _0x294390=_0x4acceb==null?void 0x0:_0x4acceb[_0x3007f3(0x427)];this[_0x3007f3(0x3aa)](_0x294390),setTimeout(()=>this[_0x3007f3(0x3aa)](_0x294390),0x0);})))),this[_0x5a7688(0x1c8)](_0x50821e(this[_0x5a7688(0x2cf)]['state$']['pipe'](_0x2c3b45(this[_0x5a7688(0x273)]))[_0x5a7688(0x3c8)](()=>this[_0x5a7688(0x3aa)]()))),this[_0x5a7688(0x1c8)](_0x50821e(this[_0x5a7688(0x376)][_0x5a7688(0x313)]['pipe'](_0x2c3b45(this[_0x5a7688(0x273)]))['subscribe'](()=>this['_syncControls']()))),this[_0x5a7688(0x1c8)](_0x50821e(this['_boardElementService'][_0x5a7688(0x162)][_0x5a7688(0x36e)](_0x2c3b45(this['dispose$']))[_0x5a7688(0x3c8)](_0x4eed5f=>{const _0x5b095b=_0x5a7688;let _0x58c240=this[_0x5b095b(0x2cf)][_0x5b095b(0x226)]()[_0x5b095b(0x27a)];_0x58c240&&_0x4eed5f[_0x5b095b(0x442)](_0x2ff20a=>_0x2ff20a['unitId']===_0x58c240[_0x5b095b(0x147)]&&_0x2ff20a[_0x5b095b(0x3cd)]===_0x58c240['subUnitId']&&(_0x2ff20a[_0x5b095b(0x142)]===this[_0x5b095b(0x3fd)]||_0x2ff20a[_0x5b095b(0x142)]===this[_0x5b095b(0x3a4)]))&&this[_0x5b095b(0x3aa)]();}))),this[_0x5a7688(0x1c8)](_0x50821e(this['_previewRefreshService']['refresh$'][_0x5a7688(0x36e)](_0x2c3b45(this[_0x5a7688(0x273)]))[_0x5a7688(0x3c8)](_0x1fc0dc=>{const _0xc69711=_0x5a7688;let _0x1306ad=this[_0xc69711(0x2cf)][_0xc69711(0x226)]()[_0xc69711(0x27a)];_0x1306ad&&_0x1306ad[_0xc69711(0x147)]===_0x1fc0dc['unitId']&&_0x1306ad[_0xc69711(0x3cd)]===_0x1fc0dc[_0xc69711(0x3cd)]&&(this['_activeScopeId']&&this[_0xc69711(0x3a4)]!==_0x1fc0dc[_0xc69711(0x3d1)]||this[_0xc69711(0x3aa)]());}))),this[_0x5a7688(0x1c8)](_0x50821e(_0x269804[_0x5a7688(0x1ef)]['subscribeEvent'](_0x4eebff=>this[_0x5a7688(0x3d9)](_0x4eebff)))),this['disposeWithMe'](_0x50821e(_0x269804['onPointerDown$'][_0x5a7688(0x3f4)]({'priority':0x4,'next':([_0x29b0b9,_0x18730f])=>{const _0x47c43f=_0x5a7688;this[_0x47c43f(0x2da)](_0x29b0b9)&&this[_0x47c43f(0x1d1)](_0x29b0b9,_0x18730f);}}))),this[_0x5a7688(0x1c8)](_0x50821e(((_0x3a0ce3=_0x269804[_0x5a7688(0x321)])==null?void 0x0:_0x3a0ce3['subscribeEvent']({'priority':0x4,'next':([_0x1f70de,_0x511759])=>{const _0x45af2b=_0x5a7688;this[_0x45af2b(0x2ae)](_0x1f70de)&&this[_0x45af2b(0x1d1)](_0x1f70de,_0x511759);}}))??{'dispose':()=>{}})),this[_0x5a7688(0x1c8)](_0x50821e(((_0x440e0e=_0x269804[_0x5a7688(0x20c)])==null?void 0x0:_0x440e0e[_0x5a7688(0x3f4)]({'priority':0x4,'next':([_0x4db1ed,_0x9d15de])=>{const _0x29f1c4=_0x5a7688;this[_0x29f1c4(0x2ae)](_0x4db1ed)&&this[_0x29f1c4(0x1d1)](_0x4db1ed,_0x9d15de);}}))??{'dispose':()=>{}})),this[_0x5a7688(0x1c8)](_0x50821e(()=>this[_0x5a7688(0x17c)]())),this[_0x5a7688(0x3aa)]();}[_0x1f10c6(0x306)](){const _0x1d06f2=_0x1f10c6;return this['_object']?this[_0x1d06f2(0x38b)]:(this[_0x1d06f2(0x38b)]=new Nr(Ar),this[_0x1d06f2(0x242)](this[_0x1d06f2(0x38b)]),this[_0x1d06f2(0x3e1)][_0x1d06f2(0x156)]['addObject'](this[_0x1d06f2(0x38b)],jr),this[_0x1d06f2(0x38b)]);}[_0x1f10c6(0x242)](_0x21af07){const _0x1fb3cf=_0x1f10c6;var _0x5b62fc;(_0x5b62fc=this['_objectEventDisposables'])==null||_0x5b62fc[_0x1fb3cf(0x3c0)]();let _0x494651=new _0x308d99();_0x494651['add'](_0x21af07[_0x1fb3cf(0x38f)][_0x1fb3cf(0x3f4)]({'priority':0x4,'next':([_0xb14c90,_0x6c4d8a])=>{const _0x6e9d10=_0x1fb3cf;this[_0x6e9d10(0x2da)](_0xb14c90)&&this[_0x6e9d10(0x1d1)](_0xb14c90,_0x6c4d8a);}})),_0x494651[_0x1fb3cf(0x2c0)](_0x21af07[_0x1fb3cf(0x321)][_0x1fb3cf(0x3f4)]({'priority':0x4,'next':([_0x565893,_0x4078be])=>{const _0x1d5b96=_0x1fb3cf;this[_0x1d5b96(0x2ae)](_0x565893)&&this[_0x1d5b96(0x1d1)](_0x565893,_0x4078be);}})),_0x494651[_0x1fb3cf(0x2c0)](_0x21af07[_0x1fb3cf(0x20c)][_0x1fb3cf(0x3f4)]({'priority':0x4,'next':([_0x129d3e,_0x448428])=>{const _0x3df455=_0x1fb3cf;this['_isControlEvent'](_0x129d3e)&&this[_0x3df455(0x1d1)](_0x129d3e,_0x448428);}})),this[_0x1fb3cf(0x33e)]=_0x494651;}[_0x1f10c6(0x17c)](){const _0x4c7c58=_0x1f10c6;var _0x4a5b20;this['_object']&&(this['_renderContext'][_0x4c7c58(0x156)][_0x4c7c58(0x43e)]([this[_0x4c7c58(0x38b)]]),(_0x4a5b20=this['_objectEventDisposables'])==null||_0x4a5b20[_0x4c7c58(0x3c0)](),this[_0x4c7c58(0x33e)]=null,this['_object']=null,this['_activeNodeId']=null,this['_activeScopeId']=null,this[_0x4c7c58(0x3e1)][_0x4c7c58(0x156)][_0x4c7c58(0x359)](!0x0));}['_syncControls'](_0x554117,_0x119690){const _0xcd707e=_0x1f10c6;var _0x296293,_0x50d1b6;if(this['_stateService'][_0xcd707e(0x193)]()[_0xcd707e(0x2d5)]===_0xcd707e(0x439)){this[_0xcd707e(0x17c)]();return;}let _0xa4e52d=this['_elementStateService']['getSnapshot'](),_0x1dbb96=_0xa4e52d[_0xcd707e(0x27a)],_0x5da14c=_0xa4e52d[_0xcd707e(0x1d7)]??_0xa4e52d[_0xcd707e(0x235)][0x0];if(!_0x1dbb96||!_0x5da14c||_0xa4e52d[_0xcd707e(0x235)][_0xcd707e(0x1f3)]!==0x1){this[_0xcd707e(0x17c)]();return;}let _0x5bd52d=this[_0xcd707e(0x384)][_0xcd707e(0x258)](_0x1dbb96[_0xcd707e(0x147)],_0x1dbb96[_0xcd707e(0x3cd)]),_0x259ef1=_0x5bd52d[_0x5da14c],_0x4da7de=_0x51f94c(_0x259ef1==null?void 0x0:_0x259ef1[_0xcd707e(0x333)]);if(!_0x259ef1||!_0x4da7de){this[_0xcd707e(0x17c)]();return;}let _0x3563c3=_0x10c90a(_0x1dbb96[_0xcd707e(0x147)],_0x5da14c);if(_0x119690!=null&&_0x119690[_0xcd707e(0x1b7)]&&_0x4da7de[_0xcd707e(0x2d9)]==null&&_0x554117!=null&&_0x554117[_0xcd707e(0x3a5)](_0x3563c3)){this[_0xcd707e(0x17c)]();return;}let _0x2580bf=this[_0xcd707e(0x19e)](_0x5bd52d,_0x1dbb96[_0xcd707e(0x147)],_0x5da14c,_0x554117);if(!_0x2580bf){this[_0xcd707e(0x17c)]();return;}let _0x46e352=Object[_0xcd707e(0x361)](_0x5bd52d)[_0xcd707e(0x3f7)](_0x284f9a=>{const _0x36470f=_0xcd707e;var _0x329c81;return((_0x329c81=_0x51f94c(_0x284f9a[_0x36470f(0x333)]))==null?void 0x0:_0x329c81[_0x36470f(0x2d9)])===_0x5da14c;}),_0x4ce446=_0x4da7de['collapsed']?this['_countDescendants'](_0x5bd52d,_0x5da14c):0x0;this['_activeNodeId']=_0x5da14c,this[_0xcd707e(0x3a4)]=_0x4da7de['structureScopeId'];let _0x5e2483=(_0x296293=_0x5bd52d[_0x4da7de['structureScopeId']])==null?void 0x0:_0x296293[_0xcd707e(0x333)],_0x38d54b=_0x195a16(_0x5e2483),_0x1b536f=_0x5e2483==null||(_0x50d1b6=_0x5e2483['custom'])==null||(_0x50d1b6=_0x50d1b6[_0xcd707e(0x2c4)])==null||(_0x50d1b6=_0x50d1b6[_0xcd707e(0x1d4)])==null?void 0x0:_0x50d1b6[_0xcd707e(0x381)],_0x179665=(_0x38d54b==null?void 0x0:_0x38d54b[_0xcd707e(0x1d4)][_0xcd707e(0x381)])??_0x1b536f,_0x543a69=_0x4da7de[_0xcd707e(0x2d9)]==null,_0x16c8ea=this[_0xcd707e(0x207)](_0x4da7de[_0xcd707e(0x2a3)],_0x543a69,_0x179665);this[_0xcd707e(0x306)]()[_0xcd707e(0x3c5)]({'controls':kr({'bounds':_0x2580bf,'isRoot':_0x543a69,'side':_0x16c8ea,'rootChildSides':this[_0xcd707e(0x432)](_0x543a69,_0x179665),'hasChildren':_0x46e352['length']>0x0,'collapsedDescendantCount':_0x4ce446})}),this[_0xcd707e(0x3e1)][_0xcd707e(0x156)][_0xcd707e(0x359)](!0x0);}[_0x1f10c6(0x207)](_0x2ce5ab,_0x593501,_0x3fd7d9){const _0x511855=_0x1f10c6;return _0x3fd7d9===_0x511855(0x1d3)?!_0x593501&&(_0x2ce5ab==='left'||_0x2ce5ab===_0x511855(0x171))?_0x2ce5ab:_0x511855(0x392):_0x3fd7d9===_0x511855(0x37d)?!_0x593501&&(_0x2ce5ab===_0x511855(0x41d)||_0x2ce5ab===_0x511855(0x392))?_0x2ce5ab:_0x511855(0x392):_0x2ce5ab===_0x511855(0x233)?'left':_0x511855(0x171);}[_0x1f10c6(0x432)](_0x1e51e5,_0x5e1e45){const _0x32730e=_0x1f10c6;if(_0x1e51e5){if(Pr(_0x5e1e45))return[_0x32730e(0x392)];if(_0x5e1e45==='timeline-horizontal')return[_0x32730e(0x171)];if(_0x5e1e45==='timeline-vertical')return[_0x32730e(0x392)];}}[_0x1f10c6(0x42a)](_0x5e7cd4){const _0x27c636=_0x1f10c6;var _0x2760dd,_0x94846c;let _0x9d430e=this[_0x27c636(0x2cf)][_0x27c636(0x226)]()[_0x27c636(0x27a)];if(!_0x9d430e||!this['_activeNodeId'])return;let _0xcd0056=this[_0x27c636(0x384)][_0x27c636(0x258)](_0x9d430e[_0x27c636(0x147)],_0x9d430e['subUnitId']),_0x2d4327=_0x51f94c((_0x2760dd=_0xcd0056[this['_activeNodeId']])==null?void 0x0:_0x2760dd[_0x27c636(0x333)]),_0x432120=_0x2d4327?_0x195a16((_0x94846c=_0xcd0056[_0x2d4327['structureScopeId']])==null?void 0x0:_0x94846c['element']):null;if((_0x2d4327==null?void 0x0:_0x2d4327[_0x27c636(0x2d9)])!=null||!Pr(_0x432120==null?void 0x0:_0x432120[_0x27c636(0x1d4)][_0x27c636(0x381)])&&!Fr(_0x432120==null?void 0x0:_0x432120['layout']['structureKind']))return _0x5e7cd4===_0x27c636(0x2b5)?_0x27c636(0x233):_0x5e7cd4===_0x27c636(0x40d)?'top':_0x5e7cd4===_0x27c636(0x1d6)?'bottom':_0x27c636(0x171);}[_0x1f10c6(0x19e)](_0x77ed28,_0xcb157e,_0x54e673,_0x587fec){const _0x5f0174=_0x1f10c6;var _0x456108,_0x537290;let _0x33b69b=_0x10c90a(_0xcb157e,_0x54e673),_0x568fad=_0x587fec==null?void 0x0:_0x587fec[_0x5f0174(0x1a4)](_0x33b69b),_0x5e6c34=this[_0x5f0174(0x260)](_0x568fad);if(_0x5e6c34)return _0x5e6c34;let _0x3078b1=this[_0x5f0174(0x3e1)][_0x5f0174(0x156)],_0xfc860c=((_0x456108=_0x3078b1[_0x5f0174(0x19f)])==null?void 0x0:_0x456108[_0x5f0174(0x266)](_0x3078b1,_0x33b69b))??((_0x537290=_0x3078b1[_0x5f0174(0x301)])==null?void 0x0:_0x537290[_0x5f0174(0x266)](_0x3078b1,_0x33b69b));return this[_0x5f0174(0x260)](_0xfc860c)||_0x401f4b(_0x77ed28,_0x54e673);}[_0x1f10c6(0x260)](_0x5a4cb4){const _0x150b13=_0x1f10c6;return _0x5a4cb4&&Number[_0x150b13(0x180)](_0x5a4cb4[_0x150b13(0x233)])&&Number[_0x150b13(0x180)](_0x5a4cb4[_0x150b13(0x41d)])&&Number[_0x150b13(0x180)](_0x5a4cb4[_0x150b13(0x246)])&&Number[_0x150b13(0x180)](_0x5a4cb4['height'])?{'left':_0x5a4cb4[_0x150b13(0x233)],'top':_0x5a4cb4[_0x150b13(0x41d)],'width':_0x5a4cb4[_0x150b13(0x246)],'height':_0x5a4cb4[_0x150b13(0x26c)]}:null;}[_0x1f10c6(0x178)](_0x453607,_0x45a3d3){const _0x3c5016=_0x1f10c6;return Object[_0x3c5016(0x361)](_0x453607)[_0x3c5016(0x3f7)](_0xe7c83b=>{const _0x11d2dc=_0x3c5016;var _0xf92f68;return((_0xf92f68=_0x51f94c(_0xe7c83b[_0x11d2dc(0x333)]))==null?void 0x0:_0xf92f68[_0x11d2dc(0x2d9)])===_0x45a3d3;})['reduce']((_0x1a1380,_0x16859e)=>_0x1a1380+0x1+this[_0x3c5016(0x178)](_0x453607,_0x16859e[_0x3c5016(0x142)]),0x0);}[_0x1f10c6(0x3d9)](_0x39fe8a){const _0x562bfb=_0x1f10c6;if(!this[_0x562bfb(0x38b)])return;let _0x43fe72=this['_stateService'][_0x562bfb(0x193)](),_0x2f2897=Ir(_0x39fe8a,{'panOffset':_0x43fe72[_0x562bfb(0x360)],'zoomRatio':_0x43fe72[_0x562bfb(0x368)]});this[_0x562bfb(0x38b)][_0x562bfb(0x182)](this[_0x562bfb(0x38b)][_0x562bfb(0x3b8)](_0x2f2897,_0x39fe8a['deviceType']));}[_0x1f10c6(0x2da)](_0x376c30){const _0x16af31=_0x1f10c6;if(!this['_object']||!this[_0x16af31(0x3fd)]||(_0x376c30[_0x16af31(0x2d3)]??0x0)!==0x0)return!0x1;let _0x133712=this[_0x16af31(0x2cf)][_0x16af31(0x226)]()[_0x16af31(0x27a)];if(!_0x133712)return!0x1;let _0x36a1ca=this[_0x16af31(0x376)][_0x16af31(0x193)](),_0x480ed7=Ir(_0x376c30,{'panOffset':_0x36a1ca['viewportPanOffset'],'zoomRatio':_0x36a1ca['zoomRatio']}),_0x36c421=this[_0x16af31(0x38b)][_0x16af31(0x3b8)](_0x480ed7,_0x376c30['deviceType']);if(!_0x36c421)return!0x1;if(_0x36c421[_0x16af31(0x420)]===_0x16af31(0x1f7))return this[_0x16af31(0x394)](_0x86163e['id'],{'unitId':_0x133712[_0x16af31(0x147)],'subUnitId':_0x133712['subUnitId'],'nodeId':this['_activeNodeId']}),!0x0;if(_0x36c421['kind']==='add-child-left'||_0x36c421[_0x16af31(0x420)]===_0x16af31(0x386)||_0x36c421[_0x16af31(0x420)]===_0x16af31(0x40d)||_0x36c421[_0x16af31(0x420)]===_0x16af31(0x1d6)){let _0x4a4362=_0x4e853d(0x6);return this[_0x16af31(0x2ba)](_0x47eba7['id'],{'unitId':_0x133712[_0x16af31(0x147)],'subUnitId':_0x133712[_0x16af31(0x3cd)],'parentNodeId':this[_0x16af31(0x3fd)],'side':this[_0x16af31(0x42a)](_0x36c421['kind']),'nodeId':_0x4a4362,'connectorId':_0x4e853d(0x6),'text':this['_localeService']['t'](_0x16af31(0x150))},_0x4a4362),!0x0;}if(_0x36c421[_0x16af31(0x420)]===_0x16af31(0x217)||_0x36c421['kind']==='add-sibling-after'){let _0x4b0ea1=_0x4e853d(0x6);return this[_0x16af31(0x2ba)](_0x5d96a8['id'],{'unitId':_0x133712[_0x16af31(0x147)],'subUnitId':_0x133712[_0x16af31(0x3cd)],'nodeId':this[_0x16af31(0x3fd)],'placement':_0x36c421[_0x16af31(0x369)]??(_0x36c421[_0x16af31(0x420)]===_0x16af31(0x217)?_0x16af31(0x305):_0x16af31(0x250)),'siblingNodeId':_0x4b0ea1,'connectorId':_0x4e853d(0x6),'text':this[_0x16af31(0x379)]['t']('boards-mind-ui.panel.addText')},_0x4b0ea1),!0x0;}return!0x0;}[_0x1f10c6(0x2ae)](_0x28b6c9){const _0x468326=_0x1f10c6;if(!this[_0x468326(0x38b)]||(_0x28b6c9[_0x468326(0x2d3)]??0x0)!==0x0)return!0x1;let _0x4a5969=this[_0x468326(0x376)][_0x468326(0x193)](),_0x3416ec=Ir(_0x28b6c9,{'panOffset':_0x4a5969['viewportPanOffset'],'zoomRatio':_0x4a5969[_0x468326(0x368)]});return!!this['_object'][_0x468326(0x3b8)](_0x3416ec,_0x28b6c9[_0x468326(0x22c)]);}[_0x1f10c6(0x1d1)](_0x2fbdce,_0x3821dd){const _0x16d3e3=_0x1f10c6;var _0x4bd7c7,_0xda40bf;_0x3821dd[_0x16d3e3(0x435)](),(_0x4bd7c7=_0x2fbdce['preventDefault'])==null||_0x4bd7c7[_0x16d3e3(0x266)](_0x2fbdce),(_0xda40bf=_0x2fbdce[_0x16d3e3(0x435)])==null||_0xda40bf['call'](_0x2fbdce);}[_0x1f10c6(0x394)](_0x2b886c,_0x494d70){const _0x2af384=_0x1f10c6;let _0x5c2eb6=this[_0x2af384(0x3a4)];this['_undoRedoGroupService']['run'](_0x494d70[_0x2af384(0x147)],()=>{const _0x104f98=_0x2af384;this[_0x104f98(0x210)][_0x104f98(0x18b)](_0x2b886c,_0x494d70)&&_0x5c2eb6&&(this[_0x104f98(0x210)][_0x104f98(0x18b)](_0x4a8bdc['id'],{'unitId':_0x494d70['unitId'],'subUnitId':_0x494d70[_0x104f98(0x3cd)],'scopeId':_0x5c2eb6}),this[_0x104f98(0x3aa)]());});}[_0x1f10c6(0x2ba)](_0x442b91,_0x55bb0b,_0x33ab9a){const _0x2173cd=_0x1f10c6;let _0x3c1245={'unitId':_0x55bb0b[_0x2173cd(0x147)],'subUnitId':_0x55bb0b['subUnitId']},_0x46528a=this[_0x2173cd(0x210)][_0x2173cd(0x189)](_0x442b91,_0x55bb0b);Promise[_0x2173cd(0x434)](_0x46528a)[_0x2173cd(0x161)](_0x34ed1c=>{const _0x2c4dd1=_0x2173cd;_0x34ed1c&&(this[_0x2c4dd1(0x3aa)](),this['_elementStateService'][_0x2c4dd1(0x29f)](_0x3c1245,[_0x33ab9a],_0x33ab9a),this[_0x2c4dd1(0x31f)][_0x2c4dd1(0x200)](),this[_0x2c4dd1(0x31f)][_0x2c4dd1(0x354)]({..._0x3c1245,'shapeId':_0x33ab9a,'shapeKey':_0x10c90a(_0x3c1245[_0x2c4dd1(0x147)],_0x33ab9a),'visible':!0x0}));});}};Lr=J([q(0x1,_0x2e0f98(_0x52d74d)),q(0x2,_0x2e0f98(_0x10fb2b)),q(0x3,_0x2e0f98(_0x50e115)),q(0x4,_0x56aea3),q(0x5,_0x2e0f98(_0x157676)),q(0x6,_0x2e0f98(_0x588054)),q(0x7,_0x2e0f98(Tr)),q(0x8,_0x2e0f98(_0x56a505))],Lr);const Rr=_0x1f10c6(0x413);let zr=class extends _0x9852b5{constructor(_0x90ecbd,_0x2fec76){const _0x3c3ed5=_0x1f10c6;super(),this[_0x3c3ed5(0x210)]=_0x90ecbd,this[_0x3c3ed5(0x19c)]=_0x2fec76,this[_0x3c3ed5(0x347)]();}[_0x1f10c6(0x347)](){const _0xd30286=_0x1f10c6;this[_0xd30286(0x1c8)](this[_0xd30286(0x19c)][_0xd30286(0x2d8)](this[_0xd30286(0x1a1)]()));}[_0x1f10c6(0x1a1)](){const _0x3a9140=_0x1f10c6;return{'id':_0x518561,'binding':_0x438e5f[_0x3a9140(0x3e0)]|_0x379149[_0x3a9140(0x36b)],'priority':0x3e8,'preconditions':_0x878d2e=>_0x878d2e['getContextValue'](_0x3a9140(0x413))&&this[_0x3a9140(0x210)][_0x3a9140(0x267)](_0x518561)};}};zr=J([q(0x0,_0x56aea3),q(0x1,_0x1247c4)],zr);const Br=[Mn,Nn,Rr];let Vr=class extends _0x9852b5{constructor(_0x3b3612,_0x60bd4c,_0x4038e7,_0x96218d,_0x8d9994){const _0x1dde38=_0x1f10c6;super(),this[_0x1dde38(0x3e1)]=_0x3b3612,this[_0x1dde38(0x384)]=_0x60bd4c,this['_elementStateService']=_0x4038e7,this[_0x1dde38(0x1e0)]=_0x96218d,this['_contextService']=_0x8d9994,K(this,'_isActive',!0x1),this['disposeWithMe'](_0x50821e(this[_0x1dde38(0x3e1)][_0x1dde38(0x383)][_0x1dde38(0x36e)](_0x2c3b45(this[_0x1dde38(0x273)]))[_0x1dde38(0x3c8)](_0x4d16dc=>{const _0x41d977=_0x1dde38;this[_0x41d977(0x288)]=_0x4d16dc,this[_0x41d977(0x1f8)]();}))),this[_0x1dde38(0x1c8)](_0x50821e(this[_0x1dde38(0x2cf)]['state$']['pipe'](_0x2c3b45(this[_0x1dde38(0x273)]))[_0x1dde38(0x3c8)](()=>{this['_syncContext']();}))),this['disposeWithMe'](_0x50821e(this[_0x1dde38(0x1e0)][_0x1dde38(0x191)][_0x1dde38(0x36e)](_0x2c3b45(this[_0x1dde38(0x273)]))[_0x1dde38(0x3c8)](()=>{this['_syncContext']();}))),this[_0x1dde38(0x1f8)]();}[_0x1f10c6(0x1f8)](){const _0x4884df=_0x1f10c6;var _0x252956,_0x34edfa;let _0xc23823=this[_0x4884df(0x2cf)][_0x4884df(0x226)](),_0xe0c2a1=this[_0x4884df(0x1e0)][_0x4884df(0x20f)](),_0x8ecb5a=_0xe0c2a1!=null&&_0xe0c2a1[_0x4884df(0x2df)]?_0xe0c2a1[_0x4884df(0x3d7)]:_0xc23823[_0x4884df(0x338)],_0x1b5af3=_0xc23823[_0x4884df(0x1d7)]??_0xc23823[_0x4884df(0x235)][0x0],_0x1f5461=_0xc23823['context']??{'unitId':this[_0x4884df(0x3e1)][_0x4884df(0x147)],'subUnitId':this['_renderContext']['unit'][_0x4884df(0x3cc)]()},_0x4e9f14=this[_0x4884df(0x288)]&&!!_0x1b5af3&&_0xc23823[_0x4884df(0x235)][_0x4884df(0x1f3)]===0x1&&!_0x8ecb5a&&!_0xc23823['isTransforming'],_0x405346=this[_0x4884df(0x288)]?this[_0x4884df(0x384)][_0x4884df(0x258)](_0x1f5461['unitId'],_0x1f5461[_0x4884df(0x3cd)]):{};this['_contextService'][_0x4884df(0x44e)](Mn,_0x4e9f14&&!!_0x51f94c((_0x252956=_0x405346[_0x1b5af3])==null?void 0x0:_0x252956[_0x4884df(0x333)])),this[_0x4884df(0x297)][_0x4884df(0x44e)](Nn,this['_isActive']&&_0xc23823['selectedIds']['length']===0x0&&!_0xc23823[_0x4884df(0x1d7)]&&!_0x8ecb5a&&!_0xc23823[_0x4884df(0x426)]),this['_contextService'][_0x4884df(0x44e)](Rr,!!_0x8ecb5a&&!!_0x51f94c((_0x34edfa=_0x405346[_0x8ecb5a])==null?void 0x0:_0x34edfa['element']));}[_0x1f10c6(0x3c0)](){const _0x1ea31d=_0x1f10c6;this[_0x1ea31d(0x21c)](),super[_0x1ea31d(0x3c0)]();}['_resetContext'](){const _0x3fbf87=_0x1f10c6;Br[_0x3fbf87(0x35f)](_0x2f195b=>this[_0x3fbf87(0x297)][_0x3fbf87(0x44e)](_0x2f195b,!0x1));}};Vr=J([q(0x1,_0x2e0f98(_0x52d74d)),q(0x2,_0x2e0f98(_0x10fb2b)),q(0x3,_0x2e0f98(_0x157676)),q(0x4,_0x244b35)],Vr);var Hr=class extends wr{async[_0x1f10c6(0x2da)](_0x21d5e9,_0x5af256,_0x3aed5e){const _0x3caa9a=_0x1f10c6;await this[_0x3caa9a(0x456)](_0x21d5e9,_0x5af256,_0x3aed5e);}};const Ur={'id':_0x1f10c6(0x196),'type':_0x266447[_0x1f10c6(0x1dc)],'handler':(_0x1ad733,_0x18ef77)=>!!(_0x18ef77!=null&&_0x18ef77[_0x1f10c6(0x147)])&&!!_0x18ef77[_0x1f10c6(0x3cd)]&&!!_0x18ef77[_0x1f10c6(0x3d1)]},Wr=_0x1f10c6(0x1b2),Gr=[_0x1f10c6(0x3e4),_0x1f10c6(0x1d4),_0x1f10c6(0x218)];_0x258b6f[_0x1f10c6(0x2fb)],_0x258b6f['siblingGap'],_0x258b6f['branchGap'];const Kr=[{'labelKey':_0x1f10c6(0x219),'key':'horizontalGap',..._0x1e39ab[_0x1f10c6(0x2fb)]},{'labelKey':'boards-mind-ui.panel.spacing.siblingGap','key':_0x1f10c6(0x202),..._0x1e39ab['siblingGap']},{'labelKey':_0x1f10c6(0x159),'key':'branchGap',..._0x1e39ab[_0x1f10c6(0x2cc)]}],qr=[{'labelKey':_0x1f10c6(0x447),'value':_0x1f10c6(0x171)},{'labelKey':'boards-mind-ui.panel.layout.left','value':_0x1f10c6(0x233)},{'labelKey':_0x1f10c6(0x1b4),'value':_0x1f10c6(0x151)}],Jr=[{'labelKey':_0x1f10c6(0x39f),'value':'mindmap-horizontal'},{'labelKey':_0x1f10c6(0x41c),'value':'mindmap-vertical'},{'labelKey':_0x1f10c6(0x3dc),'value':_0x1f10c6(0x423)},{'labelKey':'boards-mind-ui.panel.structureKind.treeLeft','value':_0x1f10c6(0x3f2)},{'labelKey':'boards-mind-ui.panel.structureKind.treeAlternate','value':_0x1f10c6(0x2d6)},{'labelKey':_0x1f10c6(0x444),'value':'timeline-horizontal'},{'labelKey':'boards-mind-ui.panel.structureKind.timelineVertical','value':_0x1f10c6(0x1d3)}],Yr=[{'labelKey':_0x1f10c6(0x2b2),'value':'curve'},{'labelKey':_0x1f10c6(0x2a1),'value':_0x1f10c6(0x23b)},{'labelKey':'boards-mind-ui.panel.branchLineType.orthogonal','value':_0x1f10c6(0x3cb)}];function Xr(_0xff7406){const _0x1db750=_0x1f10c6;let _0x12a9a9=(_0xff7406==null?void 0x0:_0xff7406[_0x1db750(0x381)])??_0x258b6f[_0x1db750(0x381)];return{'spacing':{'horizontalGap':(_0xff7406==null?void 0x0:_0xff7406['horizontalGap'])??_0x258b6f['horizontalGap'],'siblingGap':(_0xff7406==null?void 0x0:_0xff7406[_0x1db750(0x202)])??_0x258b6f[_0x1db750(0x202)],'branchGap':(_0xff7406==null?void 0x0:_0xff7406[_0x1db750(0x2cc)])??_0x258b6f['branchGap']},'direction':(_0xff7406==null?void 0x0:_0xff7406[_0x1db750(0x307)])??_0x258b6f[_0x1db750(0x307)],'structureKind':_0x12a9a9,'branchLineType':_0x557da1(_0x12a9a9,_0xff7406==null?void 0x0:_0xff7406['branchLineType'])};}async function Zr(_0x539b6f,_0x1237b5){const _0x2280de=_0x1f10c6;return await Promise[_0x2280de(0x434)](_0x539b6f['executeCommand'](_0x24f826['id'],_0x1237b5))?(await Promise['resolve'](_0x539b6f['executeCommand'](_0x4a8bdc['id'],{'unitId':_0x1237b5[_0x2280de(0x147)],'subUnitId':_0x1237b5[_0x2280de(0x3cd)],'scopeId':_0x1237b5[_0x2280de(0x3d1)]})),!0x0):!0x1;}async function Qr(_0x72e7b7,_0x2536c2){const _0xe41ead=_0x1f10c6;return await Promise[_0xe41ead(0x434)](_0x72e7b7['executeCommand'](_0x4bb9b4['id'],_0x2536c2))?(await Promise[_0xe41ead(0x434)](_0x72e7b7[_0xe41ead(0x189)](_0x4a8bdc['id'],{'unitId':_0x2536c2[_0xe41ead(0x147)],'subUnitId':_0x2536c2['subUnitId'],'scopeId':_0x2536c2['scopeId']})),!0x0):!0x1;}function _0x1bd6(_0x1eae78,_0x42a8d6){_0x1eae78=_0x1eae78-0x13b;const _0x1ae0a7=_0x1ae0();let _0x1bd62a=_0x1ae0a7[_0x1eae78];return _0x1bd62a;}async function $r(_0x5d860c,_0x5ac686){const _0x178206=_0x1f10c6;return await Promise['resolve'](_0x5d860c[_0x178206(0x189)](_0x24f826['id'],{'unitId':_0x5ac686[_0x178206(0x147)],'subUnitId':_0x5ac686[_0x178206(0x3cd)],'scopeId':_0x5ac686[_0x178206(0x3d1)],..._0x5ac686['horizontalGap']===void 0x0?{}:{'horizontalGap':_0x5ac686[_0x178206(0x2fb)]},..._0x5ac686[_0x178206(0x202)]===void 0x0?{}:{'siblingGap':_0x5ac686[_0x178206(0x202)]},..._0x5ac686['branchGap']===void 0x0?{}:{'branchGap':_0x5ac686[_0x178206(0x2cc)]}}))?(await Promise[_0x178206(0x434)](_0x5d860c[_0x178206(0x189)](_0x4a8bdc['id'],{'unitId':_0x5ac686[_0x178206(0x147)],'subUnitId':_0x5ac686[_0x178206(0x3cd)],'scopeId':_0x5ac686[_0x178206(0x3d1)]})),!0x0):!0x1;}async function ei(_0x165fd9,_0x23e272){const _0x36ebc0=_0x1f10c6;return _0x23e272[_0x36ebc0(0x227)]===_0x23e272[_0x36ebc0(0x393)]||!await Promise['resolve'](_0x165fd9[_0x36ebc0(0x189)](_0x1b0b1e['id'],{'unitId':_0x23e272[_0x36ebc0(0x147)],'subUnitId':_0x23e272[_0x36ebc0(0x3cd)],'nodeId':_0x23e272[_0x36ebc0(0x227)],'targetNodeId':_0x23e272[_0x36ebc0(0x393)],'referenceNodeId':_0x23e272[_0x36ebc0(0x393)],'placement':_0x23e272[_0x36ebc0(0x369)]}))?!0x1:(await Promise[_0x36ebc0(0x434)](_0x165fd9[_0x36ebc0(0x189)](_0x4a8bdc['id'],{'unitId':_0x23e272[_0x36ebc0(0x147)],'subUnitId':_0x23e272[_0x36ebc0(0x3cd)],'scopeId':_0x23e272[_0x36ebc0(0x3d1)]})),!0x0);}async function ti(_0x470649,_0x328dd7){const _0x3ac9f5=_0x1f10c6;let _0x3ca89f=_0x328dd7[_0x3ac9f5(0x2e1)][_0x3ac9f5(0x282)]();return!_0x3ca89f||!await Promise[_0x3ac9f5(0x434)](_0x470649['executeCommand'](_0x1c2b74['id'],{'unitId':_0x328dd7[_0x3ac9f5(0x147)],'subUnitId':_0x328dd7[_0x3ac9f5(0x3cd)],'nodeId':_0x328dd7[_0x3ac9f5(0x227)],'text':_0x3ca89f}))?!0x1:(await Promise['resolve'](_0x470649['executeCommand'](_0x4a8bdc['id'],{'unitId':_0x328dd7[_0x3ac9f5(0x147)],'subUnitId':_0x328dd7['subUnitId'],'scopeId':_0x328dd7[_0x3ac9f5(0x3d1)]})),!0x0);}async function ni(_0x409266){const _0x4ad982=_0x1f10c6;var _0x49110c;let _0x17362f=(_0x49110c=globalThis[_0x4ad982(0x3ef)])==null?void 0x0:_0x49110c[_0x4ad982(0x39e)];return _0x17362f!=null&&_0x17362f[_0x4ad982(0x244)]?(await _0x17362f[_0x4ad982(0x244)](_0x409266),!0x0):!0x1;}async function ri(_0x2cf920,_0x1fa133,_0x5b5a2d=ni){const _0x31e816=_0x1f10c6;let _0x4954df=await Promise[_0x31e816(0x434)](_0x2cf920['executeCommand'](_0x1c72f4['id'],_0x1fa133));if(typeof _0x4954df!=_0x31e816(0x185)||!_0x4954df)return!0x1;try{return await _0x5b5a2d(_0x4954df)!==!0x1;}catch{return!0x1;}}async function ii(_0x569138,_0x531ebd){const _0x253963=_0x1f10c6;return _0x531ebd['opml'][_0x253963(0x282)]()?(await _0x569138[_0x253963(0x189)](_0x4975f4['id'],_0x531ebd))[_0x253963(0x365)]:!0x1;}function ai(_0x274a88,_0x5b7ef4){const _0x45cd6c=_0x1f10c6;let _0x3b4fe1=_0x45cd6c(0x1c5)in _0x274a88[_0x45cd6c(0x333)]?_0x274a88[_0x45cd6c(0x333)][_0x45cd6c(0x1c5)][_0x45cd6c(0x3f6)]:void 0x0;return(_0x3b4fe1==null?void 0x0:_0x3b4fe1[_0x45cd6c(0x2e1)])||_0x5b7ef4;}function oi(_0x179831,_0x251923,_0x565b12=_0x35edc8){const _0x454cac=_0x1f10c6;let _0x547d2f=Object['values'](_0x179831)[_0x454cac(0x28f)](_0x48cac6=>{let _0x370763=_0x51f94c(_0x48cac6['element']);return(_0x370763==null?void 0x0:_0x370763['structureScopeId'])===_0x251923?{'data':_0x48cac6,'meta':_0x370763}:null;})[_0x454cac(0x3f7)](_0x43c3f4=>!!_0x43c3f4),_0x10aad7=new Map();_0x547d2f['forEach'](_0x1829f1=>{const _0x1943b8=_0x454cac;let _0x3aa52c=_0x1829f1[_0x1943b8(0x3c4)][_0x1943b8(0x2d9)];_0x10aad7[_0x1943b8(0x27e)](_0x3aa52c,[..._0x10aad7['get'](_0x3aa52c)??[],_0x1829f1]);}),_0x10aad7['forEach'](_0x499dc5=>{const _0x47b249=_0x454cac;_0x499dc5[_0x47b249(0x194)]((_0x212f95,_0x14f63d)=>_0x3ac29b(_0x212f95[_0x47b249(0x3c4)]['orderKey'],_0x14f63d['meta'][_0x47b249(0x312)])||_0x212f95['data'][_0x47b249(0x142)][_0x47b249(0x41b)](_0x14f63d[_0x47b249(0x27c)]['elementId']));});let _0x1a29d0=[],_0x2acafc=(_0x482837,_0x45d611)=>{const _0x24fe7e=_0x454cac;(_0x10aad7[_0x24fe7e(0x1a4)](_0x482837)??[])[_0x24fe7e(0x35f)](_0x1f7b6b=>{const _0x205750=_0x24fe7e;_0x1a29d0[_0x205750(0x292)]({'nodeId':_0x1f7b6b['data'][_0x205750(0x142)],'depth':_0x45d611,'text':ai(_0x1f7b6b[_0x205750(0x27c)],_0x565b12)}),_0x2acafc(_0x1f7b6b[_0x205750(0x27c)][_0x205750(0x142)],_0x45d611+0x1);});};return _0x2acafc(null,0x0),_0x1a29d0;}function si(_0x34c60f,_0x436b71){const _0x3b5472=_0x1f10c6;let _0x5f1840=_0x436b71[_0x3b5472(0x282)]()[_0x3b5472(0x366)]();return _0x5f1840?_0x34c60f[_0x3b5472(0x3f7)](_0x32555d=>_0x32555d[_0x3b5472(0x2e1)]['toLowerCase']()[_0x3b5472(0x183)](_0x5f1840)):_0x34c60f;}function ci(_0xd2438a){return{'paddingInlineStart':0x8+(Number['isFinite'](_0xd2438a)&&_0xd2438a>0x0?_0xd2438a:0x0)*0x10};}function li(_0x5e4aa3){const _0x1d38e3=_0x1f10c6;return _0x4a7fc2(_0x2b2f23,{'className':_0x1d38e3(0x208),..._0x5e4aa3});}function ui(_0x36c0e9){const _0x1f1069=_0x1f10c6;return _0x2bca5a(_0x1f1069(0x35d),{'className':_0x3e6ef4(_0x1f1069(0x421),_0x1e4058),'data-board-mind-map-panel-section':'true','children':[_0x4a7fc2('h3',{'className':'univer-mb-3\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-900\x20dark:!univer-text-gray-100','children':_0x36c0e9['title']}),_0x36c0e9['children']]});}function di(_0x4d46ff,_0x2ed725='structure'){const _0x1b6226=_0x1f10c6;var _0x2b284d,_0x16846c,_0x1e89ef;let _0x44a150=_0x44103d(_0x56aea3),_0x921c2c=_0x44103d(_0x10fb2b),_0x49415e=_0x44103d(_0x52d74d),_0x46b372=_0x44103d(_0x588054),[,_0x468524]=_0x22c633(_0x441367=>_0x441367+0x1,0x0);_0x3733e5(()=>{const _0x526267=_0x1bd6;let _0x31f372=_0x4faf04(_0x49415e['elementAdd$'],_0x49415e[_0x526267(0x162)],_0x49415e[_0x526267(0x429)])[_0x526267(0x3c8)](_0x278b1f=>{const _0xcbd048=_0x526267;_0x278b1f[_0xcbd048(0x442)](_0xd951d=>_0xd951d[_0xcbd048(0x147)]===_0x4d46ff[_0xcbd048(0x147)]&&_0xd951d[_0xcbd048(0x3cd)]===_0x4d46ff[_0xcbd048(0x3cd)])&&_0x468524();});return()=>_0x31f372[_0x526267(0x1fe)]();},[_0x49415e,_0x4d46ff[_0x1b6226(0x147)],_0x4d46ff['subUnitId']]);let _0x2025ee=_0x49415e['getElementData'](_0x4d46ff[_0x1b6226(0x147)],_0x4d46ff[_0x1b6226(0x3cd)]),_0x430ca8=oi(_0x2025ee,_0x4d46ff['scopeId'],_0x46b372['t'](_0x1b6226(0x150))),_0x4bb595=(_0x2b284d=_0x195a16((_0x16846c=_0x2025ee[_0x4d46ff['scopeId']])==null?void 0x0:_0x16846c[_0x1b6226(0x333)]))==null?void 0x0:_0x2b284d['layout'],[_0xaa15ea,_0x2891a5]=_0x63f429(''),[_0x10c5f9,_0x391638]=_0x63f429(null),[_0x2e8d7e,_0x37ed55]=_0x63f429(''),{spacing:_0x4cdb49,direction:_0x35cb5b,structureKind:_0x1c2e6a,branchLineType:_0x38cc9d}=Xr(_0x4bb595),[_0x258ad0,_0x317f31]=_0x63f429(null),[_0x57c10b,_0x138d94]=_0x63f429(_0x2ed725),_0x59eb94=si(_0x430ca8,_0xaa15ea),_0x21ed7a={'unitId':_0x4d46ff[_0x1b6226(0x147)],'subUnitId':_0x4d46ff[_0x1b6226(0x3cd)],'scopeId':_0x4d46ff[_0x1b6226(0x3d1)]};return{'commandService':_0x44a150,'elementStateService':_0x921c2c,'localeService':_0x46b372,'query':_0xaa15ea,'setQuery':_0x2891a5,'editingOutlineNode':_0x10c5f9,'setEditingOutlineNode':_0x391638,'opmlText':_0x2e8d7e,'setOpmlText':_0x37ed55,'spacing':_0x4cdb49,'layoutDirection':_0x35cb5b,'structureKind':_0x1c2e6a,'branchLineType':_0x38cc9d,'setDraggedOutlineNodeId':_0x317f31,'activeTab':_0x57c10b,'setActiveTab':_0x138d94,'visibleOutlineItems':_0x59eb94,'baseParams':_0x21ed7a,'tabItems':Gr['map'](_0x7dad31=>({'label':_0x46b372['t'](_0x1b6226(0x241)+_0x7dad31),'value':_0x7dad31})),'selectedNode':_0x4d46ff[_0x1b6226(0x227)]?(_0x1e89ef=_0x2025ee[_0x4d46ff[_0x1b6226(0x227)]])==null?void 0x0:_0x1e89ef[_0x1b6226(0x333)]:void 0x0,'branchLineItems':Yr['filter'](_0x477062=>_0x477062[_0x1b6226(0x1f9)]!==_0x1b6226(0x411)||_0x2052ed(_0x1c2e6a)),'changeLayout':_0x1e2535=>Zr(_0x44a150,{..._0x21ed7a,'direction':_0x1e2535}),'changeStructureKind':_0x2d14e0=>{let _0x55b3da=_0x557da1(_0x2d14e0,_0x38cc9d);return Zr(_0x44a150,{..._0x21ed7a,'structureKind':_0x2d14e0,..._0x55b3da===_0x38cc9d?null:{'branchLineType':_0x55b3da}});},'changeBranchLineType':_0x59f6a9=>{let _0x24f117=_0x557da1(_0x1c2e6a,_0x59f6a9);return Qr(_0x44a150,{..._0x21ed7a,'branchLineType':_0x24f117});},'changeSpacing':(_0xee2452,_0x16c6e7)=>{let _0x3f2bc8={..._0x4cdb49,[_0xee2452]:_0x16c6e7};return $r(_0x44a150,{..._0x21ed7a,..._0x3f2bc8});},'importOpml':()=>{const _0x511368=_0x1b6226;ii(_0x44a150,{'unitId':_0x4d46ff[_0x511368(0x147)],'subUnitId':_0x4d46ff[_0x511368(0x3cd)],'left':0x78,'top':0x78,'opml':_0x2e8d7e})['then'](_0x2d19fd=>{_0x2d19fd&&_0x37ed55('');});},'exportOpml':()=>ri(_0x44a150,_0x21ed7a),'startRenameNode':(_0x430427,_0x1886fb)=>{_0x391638({'nodeId':_0x430427,'text':_0x1886fb});},'commitRenameNode':()=>{const _0x3a60f0=_0x1b6226;_0x10c5f9&&ti(_0x44a150,{..._0x21ed7a,'nodeId':_0x10c5f9[_0x3a60f0(0x227)],'text':_0x10c5f9[_0x3a60f0(0x2e1)]})[_0x3a60f0(0x161)](_0x450ad0=>{_0x450ad0&&_0x391638(null);});},'reorderNode':(_0x284c70,_0xd89e4)=>{const _0x471954=_0x1b6226;if(_0x284c70[_0x471954(0x188)](),!_0x258ad0||_0x258ad0===_0xd89e4)return;let _0x2b66fd=_0x284c70['currentTarget'][_0x471954(0x206)](),_0xa2f47f=_0x284c70[_0x471954(0x3ec)]<_0x2b66fd['top']+_0x2b66fd['height']/0x2?_0x471954(0x305):_0x471954(0x250);_0x317f31(null),ei(_0x44a150,{..._0x21ed7a,'nodeId':_0x258ad0,'targetNodeId':_0xd89e4,'placement':_0xa2f47f});}};}function fi(_0x44b2df){const _0x2212b2=_0x1f10c6;let {elementStateService:_0x4ef5ae,localeService:_0x609008,query:_0x57e8d6,setQuery:_0x3bd381,editingOutlineNode:_0x11fe7d,setEditingOutlineNode:_0x144b1e,opmlText:_0x3b7728,setOpmlText:_0x22d3f2,spacing:_0x216324,layoutDirection:_0x2a4f2a,structureKind:_0xf5fc74,branchLineType:_0x144d3b,setDraggedOutlineNodeId:_0x5b55a6,activeTab:_0x2c021f,setActiveTab:_0x34defb,visibleOutlineItems:_0x339719,tabItems:_0x568603,branchLineItems:_0x5a77fa,changeLayout:_0xae2358,changeStructureKind:_0x12d857,changeBranchLineType:_0x1e6df4,changeSpacing:_0x3f1fd1,importOpml:_0x245ef4,exportOpml:_0x3826a5,startRenameNode:_0x3fb1a2,commitRenameNode:_0xd9e74a,reorderNode:_0x1c9d78}=di(_0x44b2df);return _0x2bca5a(_0x2212b2(0x2fa),{'className':_0x2212b2(0x2a4),'data-board-mind-map-panel':_0x2212b2(0x2ac),'children':[_0x4a7fc2(_0x2212b2(0x2fa),{'className':_0x3e6ef4(_0x2212b2(0x22b),_0x1e4058),'data-board-mind-map-panel-tabs':'true','children':_0x4a7fc2(li,{'items':_0x568603,'value':_0x2c021f,'onChange':_0x365417=>_0x34defb(_0x365417)})}),_0x2c021f===_0x2212b2(0x3e4)&&_0x4a7fc2(ui,{'title':_0x609008['t'](_0x2212b2(0x428)),'children':_0x2bca5a(_0x2212b2(0x2fa),{'children':[_0x4a7fc2(_0x2cac2e,{'slot':_0x4a7fc2(_0x33044b,{}),'value':_0x57e8d6,'placeholder':_0x609008['t']('boards-mind-ui.panel.searchNodes'),'className':_0x3e6ef4(_0x2212b2(0x269),!0x1),'onChange':_0x3bd381}),_0x339719[_0x2212b2(0x1f3)]?_0x4a7fc2('ol',{'className':_0x2212b2(0x1eb),'children':_0x339719[_0x2212b2(0x28f)](_0x214e9c=>_0x4a7fc2('li',{'draggable':!0x0,'className':_0x2212b2(0x28c),'style':ci(_0x214e9c[_0x2212b2(0x1e2)]),'onDragStart':_0x57b4f1=>{const _0x457159=_0x2212b2;var _0x112a77;_0x5b55a6(_0x214e9c['nodeId']),(_0x112a77=_0x57b4f1['dataTransfer'])==null||_0x112a77[_0x457159(0x353)]('text/plain',_0x214e9c[_0x457159(0x227)]),_0x57b4f1[_0x457159(0x40a)]&&(_0x57b4f1['dataTransfer']['effectAllowed']=_0x457159(0x1de));},'onDragOver':_0x3b0110=>{const _0x2c73a4=_0x2212b2;_0x3b0110[_0x2c73a4(0x188)](),_0x3b0110[_0x2c73a4(0x40a)]&&(_0x3b0110[_0x2c73a4(0x40a)]['dropEffect']='move');},'onDrop':_0x3936d4=>_0x1c9d78(_0x3936d4,_0x214e9c[_0x2212b2(0x227)]),'onDragEnd':()=>_0x5b55a6(null),'children':(_0x11fe7d==null?void 0x0:_0x11fe7d[_0x2212b2(0x227)])===_0x214e9c['nodeId']?_0x2bca5a(_0x2212b2(0x2fa),{'className':_0x3e6ef4(_0x2212b2(0x44f),_0x2212b2(0x32b)),'children':[_0x4a7fc2(_0x2cac2e,{'autoFocus':!0x0,'size':_0x2212b2(0x33d),'className':void 0x0,'value':_0x11fe7d[_0x2212b2(0x2e1)],'onChange':_0x110c20=>_0x144b1e({'nodeId':_0x214e9c[_0x2212b2(0x227)],'text':_0x110c20}),'onKeyDown':_0x2149b7=>{const _0x31ee7b=_0x2212b2;_0x2149b7[_0x31ee7b(0x396)]==='Enter'&&_0xd9e74a(),_0x2149b7['key']===_0x31ee7b(0x262)&&_0x144b1e(null);}}),_0x4a7fc2(_0x4ef5c6,{'className':void 0x0,'size':_0x2212b2(0x33d),'variant':_0x2212b2(0x24a),'disabled':!_0x11fe7d['text'][_0x2212b2(0x282)](),'onClick':_0xd9e74a,'children':_0x609008['t'](_0x2212b2(0x3fc))}),_0x4a7fc2(_0x4ef5c6,{'className':void 0x0,'size':_0x2212b2(0x33d),'variant':'default','onClick':()=>_0x144b1e(null),'children':_0x609008['t'](_0x2212b2(0x1cd))})]}):_0x2bca5a(_0x3a937c,{'children':[_0x4a7fc2(_0x4ef5c6,{'size':'small','variant':'ghost','className':_0x3e6ef4(_0x2212b2(0x2e9),!0x1),'onClick':()=>_0x4ef5ae[_0x2212b2(0x29f)]({'unitId':_0x44b2df[_0x2212b2(0x147)],'subUnitId':_0x44b2df['subUnitId']},[_0x214e9c[_0x2212b2(0x227)]],_0x214e9c[_0x2212b2(0x227)]),'children':_0x214e9c[_0x2212b2(0x2e1)]}),_0x4a7fc2(_0x4ef5c6,{'className':_0x3e6ef4(_0x2212b2(0x29b),_0x2212b2(0x3af)),'size':_0x2212b2(0x33d),'variant':_0x2212b2(0x3bb),'onClick':()=>_0x3fb1a2(_0x214e9c[_0x2212b2(0x227)],_0x214e9c[_0x2212b2(0x2e1)]),'children':_0x609008['t'](_0x2212b2(0x3fc))})]})},_0x214e9c[_0x2212b2(0x227)]))}):_0x4a7fc2(_0x2212b2(0x2fa),{'className':'univer-text-xs\x20univer-text-gray-400\x20dark:!univer-text-gray-500','data-board-mind-map-panel-empty-state':_0x2212b2(0x2ac),'children':_0x609008['t']('boards-mind-ui.panel.emptyNodes')})]})}),_0x2c021f===_0x2212b2(0x1d4)&&_0x4a7fc2(ui,{'title':_0x609008['t']('boards-mind-ui.panel.tab.layout'),'children':_0x2bca5a('div',{'className':_0x2212b2(0x1a8),'children':[_0x4a7fc2(_0x2212b2(0x2fa),{'className':'univer-flex\x20univer-gap-2','children':_0x4a7fc2(li,{'items':Jr[_0x2212b2(0x28f)](_0x26691d=>({'label':_0x609008['t'](_0x26691d[_0x2212b2(0x41a)]),'value':_0x26691d['value']})),'value':_0xf5fc74,'onChange':_0x330a87=>_0x12d857(_0x330a87)})}),_0x4a7fc2(_0x2212b2(0x2fa),{'className':'univer-flex\x20univer-gap-2','children':_0x4a7fc2(li,{'items':qr['map'](_0x46179c=>({'label':_0x609008['t'](_0x46179c[_0x2212b2(0x41a)]),'value':_0x46179c[_0x2212b2(0x1f9)]})),'value':_0x2a4f2a,'onChange':_0x56da4d=>_0xae2358(_0x56da4d)})}),_0x4a7fc2(_0x2212b2(0x2fa),{'className':_0x2212b2(0x19a),'children':_0x4a7fc2(li,{'items':_0x5a77fa['map'](_0x20b268=>({'label':_0x609008['t'](_0x20b268[_0x2212b2(0x41a)]),'value':_0x20b268[_0x2212b2(0x1f9)]})),'value':_0x144d3b,'onChange':_0x224ef3=>_0x1e6df4(_0x224ef3)})}),_0x4a7fc2(_0x2212b2(0x2fa),{'className':_0x2212b2(0x446),'children':Kr['map'](({labelKey:_0x104e48,key:_0x3c0ee4,min:_0x5a8d9c,max:_0x358ac2})=>_0x2bca5a(_0x2212b2(0x215),{'className':_0x2212b2(0x425),'children':[_0x4a7fc2(_0x2212b2(0x371),{'className':_0x2212b2(0x296),'children':_0x609008['t'](_0x104e48)}),_0x4a7fc2(_0x5d147a,{'controls':!0x0,'inputClassName':void 0x0,'min':_0x5a8d9c,'max':_0x358ac2,'step':0x4,'value':_0x216324[_0x3c0ee4],'precision':0x0,'className':'univer-w-24','onChange':_0x5c974b=>_0x3f1fd1(_0x3c0ee4,Number(_0x5c974b??_0x5a8d9c))})]},_0x3c0ee4))})]})}),_0x2c021f===_0x2212b2(0x218)&&_0x4a7fc2(ui,{'title':_0x609008['t'](_0x2212b2(0x274)),'children':_0x2bca5a(_0x2212b2(0x2fa),{'className':_0x2212b2(0x3e5),'children':[_0x4a7fc2(_0x5163c9,{'className':_0x3e6ef4(_0x2212b2(0x1d0),_0x2212b2(0x3af)),'placeholder':_0x609008['t'](_0x2212b2(0x357)),'value':_0x3b7728,'onValueChange':_0x22d3f2}),_0x2bca5a(_0x2212b2(0x2fa),{'className':_0x2212b2(0x19a),'children':[_0x4a7fc2(_0x4ef5c6,{'className':void 0x0,'size':_0x2212b2(0x33d),'variant':'primary','disabled':!_0x3b7728[_0x2212b2(0x282)](),'onClick':_0x245ef4,'children':_0x609008['t'](_0x2212b2(0x16d))}),_0x4a7fc2(_0x4ef5c6,{'className':void 0x0,'size':_0x2212b2(0x33d),'variant':_0x2212b2(0x3bb),'onClick':_0x3826a5,'children':_0x609008['t'](_0x2212b2(0x293))})]})]})})]});}let pi=class extends _0x494558{constructor(_0x44ca8f,_0x33ccd8,_0xfb3e79){const _0x4fcdea=_0x1f10c6;super(),this['_commandService']=_0x44ca8f,this[_0x4fcdea(0x379)]=_0x33ccd8,this[_0x4fcdea(0x1a9)]=_0xfb3e79,K(this,_0x4fcdea(0x443),null),this[_0x4fcdea(0x1c8)](this[_0x4fcdea(0x210)]['registerCommand'](Ur)),this[_0x4fcdea(0x1c8)](this[_0x4fcdea(0x210)][_0x4fcdea(0x1ec)](_0x1473c0=>{const _0x8663b7=_0x4fcdea;if(_0x1473c0['id']!==Ur['id'])return;let _0x23f6b2=_0x1473c0[_0x8663b7(0x316)];_0x23f6b2&&'unitId'in _0x23f6b2&&typeof _0x23f6b2[_0x8663b7(0x147)]==_0x8663b7(0x185)&&_0x8663b7(0x3cd)in _0x23f6b2&&typeof _0x23f6b2[_0x8663b7(0x3cd)]==_0x8663b7(0x185)&&_0x8663b7(0x3d1)in _0x23f6b2&&typeof _0x23f6b2[_0x8663b7(0x3d1)]=='string'&&this['open']({'unitId':_0x23f6b2[_0x8663b7(0x147)],'subUnitId':_0x23f6b2[_0x8663b7(0x3cd)],'scopeId':_0x23f6b2[_0x8663b7(0x3d1)],'nodeId':_0x8663b7(0x227)in _0x23f6b2&&typeof _0x23f6b2[_0x8663b7(0x227)]==_0x8663b7(0x185)?_0x23f6b2['nodeId']:void 0x0});}));}[_0x1f10c6(0x3c0)](){const _0x1b2cdc=_0x1f10c6;var _0xe95cfc;(_0xe95cfc=this[_0x1b2cdc(0x443)])==null||_0xe95cfc[_0x1b2cdc(0x3c0)](),this[_0x1b2cdc(0x443)]=null,super['dispose']();}[_0x1f10c6(0x187)](_0xe94827){const _0x5385df=_0x1f10c6;var _0x38cce7;let _0x556b6d={'label':Wr,..._0xe94827},_0xf0e6d3={'id':Wr,'layout':_0x5385df(0x410),'header':{'title':this['_localeService']['t'](_0x5385df(0x34b))},'width':0x184,'children':_0x556b6d,'onClose':()=>{this['_sidebarDisposable']=null;}};(_0x38cce7=this[_0x5385df(0x443)])==null||_0x38cce7[_0x5385df(0x3c0)](),this['_sidebarDisposable']=this[_0x5385df(0x1a9)][_0x5385df(0x187)](_0xf0e6d3);}};pi=J([q(0x0,_0x56aea3),q(0x1,_0x2e0f98(_0x588054)),q(0x2,_0x2e0f98(_0x56009b))],pi);function mi(_0x144aec){const _0x5e4a5b=_0x1f10c6;let _0x373267=_0x44103d(_0x56aea3),_0xd332ac=_0x144aec[_0x5e4a5b(0x352)][_0x5e4a5b(0x281)];return _0xd332ac?_0x4a7fc2(_0x3a615f,{'shapeRef':{'hostType':_0x25af0d[_0x5e4a5b(0x29c)],'unitId':_0xd332ac[_0x5e4a5b(0x147)],'subUnitId':_0xd332ac[_0x5e4a5b(0x3cd)],'shapeId':_0xd332ac[_0x5e4a5b(0x142)]},'onText':()=>qn(_0x373267,_0x5e4a5b(0x433)),'onStyle':()=>_0x373267['executeCommand'](Ur['id'],{'unitId':_0xd332ac[_0x5e4a5b(0x147)],'subUnitId':_0xd332ac[_0x5e4a5b(0x3cd)],'scopeId':_0xd332ac[_0x5e4a5b(0x3d1)],'nodeId':_0xd332ac[_0x5e4a5b(0x142)]}),'onDelete':()=>qn(_0x373267,_0x5e4a5b(0x3fe))}):null;}function hi(_0x149d57){const _0x4f0afa=_0x1f10c6;var _0xc77790,_0x3d68e3,_0x2c5df5,_0x2506de,_0x4db66d;let _0x73abff=_0x44103d(_0x56aea3),_0x31311c=_0x44103d(_0x588054),_0x3ddde6=_0x44103d(_0x23931d),_0x2eccac=_0x376a49(_0x3ddde6[_0x4f0afa(0x1fb)],_0x3ddde6[_0x4f0afa(0x26e)]()),[_0x33c62d,_0x47c07c]=_0x63f429(null),_0x33cc7e=_0x3a3968(_0x149d57[_0x4f0afa(0x1c5)]),_0x1b37d1=_0x33cc7e['ff']??_0x3ef48a[_0x4f0afa(0x3f6)][_0x4f0afa(0x2ed)],_0x329ae6=_0x33cc7e['fs']??_0x3ef48a[_0x4f0afa(0x3f6)]['fontSize'];function _0x59db9c(_0x2bfe71){const _0x3c4fc2=_0x4f0afa;return _0x73abff['executeCommand'](_0x1c2b74['id'],{'unitId':_0x149d57[_0x3c4fc2(0x147)],'subUnitId':_0x149d57[_0x3c4fc2(0x3cd)],'nodeId':_0x149d57[_0x3c4fc2(0x227)],..._0x2bfe71});}let _0x468df6=[{'key':_0x4f0afa(0x31a),'value':((_0xc77790=_0x149d57[_0x4f0afa(0x1c5)][_0x4f0afa(0x31a)])==null?void 0x0:_0xc77790[_0x4f0afa(0x143)])??_0x3ef48a[_0x4f0afa(0x31a)]},{'key':_0x4f0afa(0x45a),'value':((_0x3d68e3=_0x149d57[_0x4f0afa(0x1c5)][_0x4f0afa(0x45a)])==null?void 0x0:_0x3d68e3['color'])??_0x3ef48a[_0x4f0afa(0x45a)]},{'key':'fontColor','value':((_0x2c5df5=_0x33cc7e['cl'])==null?void 0x0:_0x2c5df5[_0x4f0afa(0x44a)])??_0x3ef48a[_0x4f0afa(0x3f6)][_0x4f0afa(0x143)]}];if(_0x33c62d){var _0xb2457a;return _0x2bca5a('div',{'className':_0x4f0afa(0x37b),'children':[_0x4a7fc2(_0x4ef5c6,{'className':_0x4f0afa(0x44d),'onClick':()=>_0x47c07c(null),'children':_0x31311c['t'](_0x4f0afa(0x1cd))}),_0x33c62d===_0x4f0afa(0x2ed)?_0x2eccac==null?void 0x0:_0x2eccac[_0x4f0afa(0x28f)](_0x202f74=>_0x4a7fc2(_0x4ef5c6,{'className':'univer-min-h-12\x20univer-w-full','aria-pressed':_0x1b37d1===_0x202f74[_0x4f0afa(0x1f9)],'variant':_0x1b37d1===_0x202f74[_0x4f0afa(0x1f9)]?_0x4f0afa(0x24a):'default','onClick':async()=>{const _0x40a899=_0x4f0afa;await _0x59db9c({'textStyle':{'fontFamily':_0x202f74[_0x40a899(0x1f9)]}}),_0x47c07c(null);},'children':_0x202f74[_0x4f0afa(0x215)]},_0x202f74[_0x4f0afa(0x1f9)])):_0x4a7fc2(_0x4001ce,{'value':(_0xb2457a=_0x468df6['find'](({key:_0x3e00bb})=>_0x3e00bb===_0x33c62d))==null?void 0x0:_0xb2457a['value'],'onSelect':async _0x1fff08=>{const _0x4e9210=_0x4f0afa;_0x33c62d===_0x4e9210(0x31a)?await _0x59db9c({'fillColor':_0x1fff08}):_0x33c62d===_0x4e9210(0x45a)?await _0x59db9c({'strokeColor':_0x1fff08}):await _0x59db9c({'textStyle':{'color':_0x1fff08}}),_0x47c07c(null);}})]});}let _0x18eb05=[{'key':_0x4f0afa(0x345),'active':_0x33cc7e['bl']===_0x3f7dc4[_0x4f0afa(0x3f3)],'icon':_0x4a7fc2(_0x39f22d,{})},{'key':_0x4f0afa(0x2a8),'active':_0x33cc7e['it']===_0x3f7dc4[_0x4f0afa(0x3f3)],'icon':_0x4a7fc2(_0x175b66,{})},{'key':'underline','active':((_0x2506de=_0x33cc7e['ul'])==null?void 0x0:_0x2506de['s'])===_0x3f7dc4[_0x4f0afa(0x3f3)],'icon':_0x4a7fc2(_0x5c18a9,{})},{'key':_0x4f0afa(0x1ae),'active':((_0x4db66d=_0x33cc7e['st'])==null?void 0x0:_0x4db66d['s'])===_0x3f7dc4[_0x4f0afa(0x3f3)],'icon':_0x4a7fc2(_0x325ccb,{})}];return _0x2bca5a(_0x4f0afa(0x2fa),{'className':_0x4f0afa(0x37b),'children':[_0x4a7fc2(_0x4f0afa(0x2fa),{'className':_0x4f0afa(0x40b),'children':_0x18eb05['map'](({key:_0x218e30,active:_0xdb7d40,icon:_0x3d05ab})=>_0x4a7fc2(_0x4ef5c6,{'className':_0x4f0afa(0x1cf),'aria-label':_0x31311c['t']('boards-mind-ui.panel.nodeStyle.'+_0x218e30),'aria-pressed':_0xdb7d40,'variant':_0xdb7d40?_0x4f0afa(0x24a):'default','onClick':()=>_0x59db9c({'textStyle':{[_0x218e30]:!_0xdb7d40}}),'children':_0x3d05ab},_0x218e30))}),_0x2bca5a(_0x4ef5c6,{'className':_0x4f0afa(0x2de),'onClick':()=>_0x47c07c(_0x4f0afa(0x2ed)),'children':[_0x4a7fc2(_0x4f0afa(0x371),{'children':_0x31311c['t']('boards-mind-ui.panel.nodeStyle.fontFamily')}),_0x4a7fc2('span',{'children':_0x1b37d1})]}),_0x2bca5a(_0x4f0afa(0x215),{'className':_0x4f0afa(0x437),'children':[_0x4a7fc2(_0x4f0afa(0x371),{'children':_0x31311c['t'](_0x4f0afa(0x216))}),_0x4a7fc2(_0x5d147a,{'className':_0x4f0afa(0x25c),'inputClassName':'[&_input]:univer-h-12\x20[&_input]:univer-text-base','controls':!0x1,'min':0x1,'value':_0x329ae6,'onChange':_0x2cd313=>{if(_0x2cd313!=null)return _0x59db9c({'textStyle':{'fontSize':_0x2cd313}});}})]}),_0x468df6['map'](({key:_0x55e47d,value:_0x397cde})=>_0x2bca5a(_0x4ef5c6,{'className':_0x4f0afa(0x2de),'onClick':()=>_0x47c07c(_0x55e47d),'children':[_0x4a7fc2(_0x4f0afa(0x371),{'children':_0x31311c['t'](_0x4f0afa(0x2f8)+_0x55e47d)}),_0x4a7fc2('span',{'className':_0x4f0afa(0x23f),'style':{'backgroundColor':_0x397cde}})]},_0x55e47d))]});}function gi(_0x34b8c8){const _0x3543a5=_0x1f10c6;return _0x4a7fc2(_0x3543a5(0x2fa),{'className':_0x3e6ef4(_0x3543a5(0x2ff),_0x34b8c8[_0x3543a5(0x41e)]['length']===0x4?'univer-grid-cols-4':_0x3543a5(0x2f0)),'children':_0x34b8c8[_0x3543a5(0x41e)][_0x3543a5(0x28f)](_0x6299d=>_0x4a7fc2(_0x4ef5c6,{'className':_0x3543a5(0x388),'variant':_0x34b8c8['value']===_0x6299d[_0x3543a5(0x1f9)]?'primary':'default','aria-pressed':_0x34b8c8[_0x3543a5(0x1f9)]===_0x6299d[_0x3543a5(0x1f9)],'onClick':()=>_0x34b8c8[_0x3543a5(0x1e8)](_0x6299d[_0x3543a5(0x1f9)]),'children':_0x6299d[_0x3543a5(0x215)]},_0x6299d['value']))});}function _i(_0x3919d0){const _0x5547e4=_0x1f10c6;let {commandService:_0x4ad13f,elementStateService:_0x22a031,localeService:_0x3d044e,query:_0x2d6527,setQuery:_0x548afd,editingOutlineNode:_0x514bce,setEditingOutlineNode:_0x49bb23,opmlText:_0x182cac,setOpmlText:_0x1485f7,spacing:_0x289062,layoutDirection:_0x24d62f,structureKind:_0x687d96,branchLineType:_0x57d264,activeTab:_0x3e32e2,setActiveTab:_0x4ff80c,visibleOutlineItems:_0x35200f,baseParams:_0x25f4bf,tabItems:_0x15c482,selectedNode:_0x4b5e79,branchLineItems:_0x185115,changeLayout:_0xccd201,changeStructureKind:_0x4af5c2,changeBranchLineType:_0x1b0778,changeSpacing:_0x3d706a,importOpml:_0x3540f6,startRenameNode:_0x26340d,commitRenameNode:_0x57b718}=di(_0x3919d0,_0x3919d0[_0x5547e4(0x227)]?_0x5547e4(0x337):_0x5547e4(0x3e4));return(_0x4b5e79==null?void 0x0:_0x4b5e79[_0x5547e4(0x1ce)])===_0x3a0cfb['Shape']&&_0x15c482[_0x5547e4(0x153)]({'label':_0x3d044e['t'](_0x5547e4(0x286)),'value':_0x5547e4(0x337)}),_0x2bca5a(_0x5547e4(0x2fa),{'className':_0x5547e4(0x2a4),'data-board-mind-map-panel':'true','children':[_0x4a7fc2(_0x5547e4(0x2fa),{'className':_0x3e6ef4(_0x5547e4(0x22b),_0x1e4058),'data-board-mind-map-panel-tabs':'true','children':_0x4a7fc2(gi,{'items':_0x15c482,'value':_0x3e32e2,'onChange':_0x188601=>_0x4ff80c(_0x188601)})}),_0x3e32e2==='style'&&(_0x4b5e79==null?void 0x0:_0x4b5e79[_0x5547e4(0x1ce)])===_0x3a0cfb[_0x5547e4(0x1c3)]&&_0x4a7fc2(hi,{'unitId':_0x3919d0[_0x5547e4(0x147)],'subUnitId':_0x3919d0[_0x5547e4(0x3cd)],'nodeId':_0x4b5e79['id'],'shapeData':_0x4b5e79['shapeData']}),_0x3e32e2===_0x5547e4(0x3e4)&&_0x4a7fc2(ui,{'title':_0x3d044e['t']('boards-mind-ui.panel.tab.structure'),'children':_0x2bca5a('div',{'children':[_0x4a7fc2(_0x2cac2e,{'slot':_0x4a7fc2(_0x33044b,{}),'value':_0x2d6527,'placeholder':_0x3d044e['t'](_0x5547e4(0x302)),'className':_0x3e6ef4(_0x5547e4(0x269),_0x5547e4(0x21e)),'onChange':_0x548afd}),_0x35200f[_0x5547e4(0x1f3)]?_0x4a7fc2('ol',{'className':'univer-space-y-1','children':_0x35200f[_0x5547e4(0x28f)](_0x95b1a9=>_0x4a7fc2('li',{'className':'univer-flex\x20univer-items-center\x20univer-gap-1\x20univer-truncate\x20univer-rounded\x20univer-py-1\x20univer-text-left\x20univer-text-gray-800','style':ci(_0x95b1a9['depth']),'children':(_0x514bce==null?void 0x0:_0x514bce[_0x5547e4(0x227)])===_0x95b1a9[_0x5547e4(0x227)]?_0x2bca5a(_0x5547e4(0x2fa),{'className':_0x3e6ef4(_0x5547e4(0x44f),_0x5547e4(0x154)),'children':[_0x4a7fc2(_0x2cac2e,{'autoFocus':!0x1,'size':_0x5547e4(0x36a),'className':_0x5547e4(0x2e6),'value':_0x514bce[_0x5547e4(0x2e1)],'onChange':_0x37bc52=>_0x49bb23({'nodeId':_0x95b1a9['nodeId'],'text':_0x37bc52}),'onKeyDown':_0x2eb73f=>{const _0x54f730=_0x5547e4;_0x2eb73f[_0x54f730(0x396)]===_0x54f730(0x1d8)&&_0x57b718(),_0x2eb73f[_0x54f730(0x396)]===_0x54f730(0x262)&&_0x49bb23(null);}}),_0x4a7fc2(_0x4ef5c6,{'className':'univer-min-h-12\x20univer-flex-1','size':'small','variant':_0x5547e4(0x24a),'disabled':!_0x514bce[_0x5547e4(0x2e1)][_0x5547e4(0x282)](),'onClick':_0x57b718,'children':_0x3d044e['t'](_0x5547e4(0x3fc))}),_0x4a7fc2(_0x4ef5c6,{'className':_0x5547e4(0x2e5),'size':_0x5547e4(0x33d),'variant':_0x5547e4(0x3bb),'onClick':()=>_0x49bb23(null),'children':_0x3d044e['t'](_0x5547e4(0x1cd))})]}):_0x2bca5a(_0x3a937c,{'children':[_0x4a7fc2(_0x4ef5c6,{'size':'small','variant':_0x5547e4(0x26b),'className':_0x3e6ef4('univer-min-w-0\x20univer-flex-1\x20univer-justify-start\x20univer-truncate\x20univer-text-left',_0x5547e4(0x380)),'onClick':()=>_0x22a031[_0x5547e4(0x29f)]({'unitId':_0x3919d0[_0x5547e4(0x147)],'subUnitId':_0x3919d0[_0x5547e4(0x3cd)]},[_0x95b1a9[_0x5547e4(0x227)]],_0x95b1a9[_0x5547e4(0x227)]),'children':_0x95b1a9['text']}),_0x4a7fc2(_0x4ef5c6,{'className':_0x3e6ef4('univer-text-gray-500',_0x5547e4(0x179)),'size':'small','variant':_0x5547e4(0x3bb),'onClick':()=>_0x26340d(_0x95b1a9[_0x5547e4(0x227)],_0x95b1a9[_0x5547e4(0x2e1)]),'children':_0x3d044e['t']('boards-mind-ui.panel.rename')})]})},_0x95b1a9['nodeId']))}):_0x4a7fc2('div',{'className':_0x5547e4(0x451),'data-board-mind-map-panel-empty-state':_0x5547e4(0x2ac),'children':_0x3d044e['t'](_0x5547e4(0x2f5))})]})}),_0x3e32e2===_0x5547e4(0x1d4)&&_0x4a7fc2(ui,{'title':_0x3d044e['t']('boards-mind-ui.panel.tab.layout'),'children':_0x2bca5a('div',{'className':'univer-space-y-3','children':[_0x4a7fc2('div',{'className':_0x5547e4(0x19a),'children':_0x4a7fc2(gi,{'items':Jr['map'](_0x1eda34=>({'label':_0x3d044e['t'](_0x1eda34[_0x5547e4(0x41a)]),'value':_0x1eda34[_0x5547e4(0x1f9)]})),'value':_0x687d96,'onChange':_0x7f7730=>_0x4af5c2(_0x7f7730)})}),_0x4a7fc2(_0x5547e4(0x2fa),{'className':_0x5547e4(0x19a),'children':_0x4a7fc2(gi,{'items':qr[_0x5547e4(0x28f)](_0x4aa9e3=>({'label':_0x3d044e['t'](_0x4aa9e3[_0x5547e4(0x41a)]),'value':_0x4aa9e3['value']})),'value':_0x24d62f,'onChange':_0x19fa26=>_0xccd201(_0x19fa26)})}),_0x4a7fc2(_0x5547e4(0x2fa),{'className':_0x5547e4(0x19a),'children':_0x4a7fc2(gi,{'items':_0x185115['map'](_0x2a6cfb=>({'label':_0x3d044e['t'](_0x2a6cfb[_0x5547e4(0x41a)]),'value':_0x2a6cfb['value']})),'value':_0x57d264,'onChange':_0x3a1982=>_0x1b0778(_0x3a1982)})}),_0x4a7fc2(_0x5547e4(0x2fa),{'className':'univer-space-y-2','children':Kr[_0x5547e4(0x28f)](({labelKey:_0x56c860,key:_0x39cce9,min:_0x24acb2,max:_0x4a0786})=>_0x2bca5a(_0x5547e4(0x215),{'className':_0x5547e4(0x425),'children':[_0x4a7fc2(_0x5547e4(0x371),{'className':'univer-flex-1\x20univer-text-sm','children':_0x3d044e['t'](_0x56c860)}),_0x4a7fc2(_0x5d147a,{'controls':!0x1,'inputClassName':_0x5547e4(0x268),'min':_0x24acb2,'max':_0x4a0786,'step':0x4,'value':_0x289062[_0x39cce9],'precision':0x0,'className':_0x5547e4(0x13e),'onChange':_0x1a4b25=>_0x3d706a(_0x39cce9,Number(_0x1a4b25??_0x24acb2))})]},_0x39cce9))})]})}),_0x3e32e2===_0x5547e4(0x218)&&_0x4a7fc2(ui,{'title':_0x3d044e['t'](_0x5547e4(0x274)),'children':_0x2bca5a('div',{'className':'univer-flex\x20univer-flex-col\x20univer-gap-2','children':[_0x4a7fc2(_0x5163c9,{'className':_0x3e6ef4(_0x5547e4(0x1d0),'univer-text-base'),'placeholder':_0x3d044e['t'](_0x5547e4(0x357)),'value':_0x182cac,'onValueChange':_0x1485f7}),_0x2bca5a(_0x5547e4(0x2fa),{'className':_0x5547e4(0x19a),'children':[_0x4a7fc2(_0x4ef5c6,{'className':'univer-min-h-12\x20univer-flex-1','size':'small','variant':_0x5547e4(0x24a),'disabled':!_0x182cac['trim'](),'onClick':_0x3540f6,'children':_0x3d044e['t'](_0x5547e4(0x16d))}),_0x4a7fc2(_0x4ef5c6,{'className':_0x5547e4(0x2e5),'size':_0x5547e4(0x33d),'variant':_0x5547e4(0x3bb),'onClick':async()=>{let _0x1aa6be=await _0x4ad13f['executeCommand'](_0x1c72f4['id'],_0x25f4bf);_0x1aa6be!==!0x1&&_0x1485f7(_0x1aa6be);},'children':_0x3d044e['t'](_0x5547e4(0x293))})]})]})})]});}let vi=class extends _0x494558{constructor(_0x4b91cc){const _0x571e81=_0x1f10c6;super(),this[_0x571e81(0x3dd)]=_0x4b91cc,this[_0x571e81(0x42f)]();}[_0x1f10c6(0x42f)](){const _0x5e1e22=_0x1f10c6;this[_0x5e1e22(0x1c8)](this[_0x5e1e22(0x3dd)][_0x5e1e22(0x230)](On,An)),this['disposeWithMe'](this[_0x5e1e22(0x3dd)][_0x5e1e22(0x230)](Kn,mi)),this[_0x5e1e22(0x1c8)](this[_0x5e1e22(0x3dd)][_0x5e1e22(0x230)](Wr,_i));}};vi=J([q(0x0,_0x2e0f98(_0x583274))],vi);let yi=class extends _0x494558{constructor(_0x41bc9f,_0x36d371,_0x284643){const _0x2571dd=_0x1f10c6;super(),this[_0x2571dd(0x210)]=_0x41bc9f,this['_localeService']=_0x36d371,this[_0x2571dd(0x1a9)]=_0x284643,K(this,_0x2571dd(0x443),null),this['disposeWithMe'](this[_0x2571dd(0x210)][_0x2571dd(0x2d2)](Ur)),this[_0x2571dd(0x1c8)](this[_0x2571dd(0x210)]['onCommandExecuted'](_0x22712f=>{const _0x4b5df0=_0x2571dd;if(_0x22712f['id']!==Ur['id'])return;let _0x2d24e9=_0x22712f[_0x4b5df0(0x316)];_0x2d24e9&&_0x4b5df0(0x147)in _0x2d24e9&&typeof _0x2d24e9['unitId']=='string'&&'subUnitId'in _0x2d24e9&&typeof _0x2d24e9['subUnitId']==_0x4b5df0(0x185)&&_0x4b5df0(0x3d1)in _0x2d24e9&&typeof _0x2d24e9['scopeId']==_0x4b5df0(0x185)&&this['open']({'unitId':_0x2d24e9[_0x4b5df0(0x147)],'subUnitId':_0x2d24e9[_0x4b5df0(0x3cd)],'scopeId':_0x2d24e9[_0x4b5df0(0x3d1)],'nodeId':'nodeId'in _0x2d24e9&&typeof _0x2d24e9[_0x4b5df0(0x227)]==_0x4b5df0(0x185)?_0x2d24e9['nodeId']:void 0x0});}));}[_0x1f10c6(0x3c0)](){const _0x51946a=_0x1f10c6;var _0x5c313e;(_0x5c313e=this[_0x51946a(0x443)])==null||_0x5c313e['dispose'](),this[_0x51946a(0x443)]=null,super[_0x51946a(0x3c0)]();}[_0x1f10c6(0x187)](_0x2ebd9e){const _0x408c33=_0x1f10c6;var _0x16baa0;let _0x4fe49a={'label':Wr,..._0x2ebd9e};(_0x16baa0=this[_0x408c33(0x443)])==null||_0x16baa0['dispose'](),this[_0x408c33(0x443)]=this['_sidebarService'][_0x408c33(0x187)]({'id':Wr,'header':{'title':this[_0x408c33(0x379)]['t']('boards-mind-ui.panel.title')},'width':0x184,'children':_0x4fe49a,'onClose':()=>{const _0x4ed580=_0x408c33;this[_0x4ed580(0x443)]=null;}});}};yi=J([q(0x0,_0x56aea3),q(0x1,_0x2e0f98(_0x588054)),q(0x2,_0x2e0f98(_0x56009b))],yi);let bi=class extends _0x494558{constructor(_0x786490){const _0x9c42e7=_0x1f10c6;super(),this['_componentManager']=_0x786490,this[_0x9c42e7(0x42f)]();}[_0x1f10c6(0x42f)](){const _0x39637f=_0x1f10c6;this['disposeWithMe'](this[_0x39637f(0x3dd)][_0x39637f(0x230)](On,An)),this[_0x39637f(0x1c8)](this[_0x39637f(0x3dd)]['register'](Kn,cr)),this[_0x39637f(0x1c8)](this[_0x39637f(0x3dd)][_0x39637f(0x230)](Wr,fi));}};bi=J([q(0x0,_0x2e0f98(_0x583274))],bi);let xi=class{constructor(_0x3a5bb2,_0x5f39ff,_0x36ac5c){const _0xfa9766=_0x1f10c6;this[_0xfa9766(0x376)]=_0x3a5bb2,this[_0xfa9766(0x1ff)]=_0x5f39ff,this[_0xfa9766(0x311)]=_0x36ac5c;}['beginMindMapMode'](_0x5a1062){const _0x4e7fc4=_0x1f10c6;var _0x537256,_0x5b69d1;let _0x535fcb=(_0x537256=this[_0x4e7fc4(0x311)][_0x4e7fc4(0x3de)](_0x5a1062[_0x4e7fc4(0x147)]))==null||(_0x5b69d1=_0x537256[_0x4e7fc4(0x344)])==null?void 0x0:_0x5b69d1[_0x4e7fc4(0x266)](_0x537256),_0x2f26a7=(_0x535fcb==null?void 0x0:_0x535fcb[_0x4e7fc4(0x1a4)](_0x50e115))??this['_stateService'];return((_0x535fcb==null?void 0x0:_0x535fcb[_0x4e7fc4(0x1a4)](br))??this['_insertStateService'])[_0x4e7fc4(0x457)]({'rootText':_0x5a1062[_0x4e7fc4(0x237)],'structureKind':_0x5a1062[_0x4e7fc4(0x381)],'branchLineType':_0x5a1062[_0x4e7fc4(0x42b)],'children':_0x5a1062[_0x4e7fc4(0x39d)],'blueprint':_0x5a1062[_0x4e7fc4(0x30e)]}),_0x2f26a7[_0x4e7fc4(0x201)](!0x1),_0x2f26a7['clearPendingInsert'](),_0x2f26a7['setActiveTool'](_0x529842[_0x4e7fc4(0x2e3)]),_0x2f26a7[_0x4e7fc4(0x157)]({'type':_0x529842['MindMap']}),!0x0;}};xi=J([q(0x0,_0x50e115),q(0x1,_0x2e0f98(br)),q(0x2,_0x2411d0)],xi);const Si='UNIVER_BOARDS_MIND_UI_PLUGIN',Ci=[Dn],wi=[Vr];let Ti=class extends _0x5c3776{constructor(_0x3da47c=en,_0x3e93da,_0xc6ec33,_0x3a57d4){const _0x4b71e8=_0x1f10c6;super(),this[_0x4b71e8(0x31d)]=_0x3da47c,this['_injector']=_0x3e93da,this['_configService']=_0xc6ec33,this[_0x4b71e8(0x311)]=_0x3a57d4;let {..._0xec35fc}=_0x4a118c({},en,this[_0x4b71e8(0x31d)]);this[_0x4b71e8(0x27d)][_0x4b71e8(0x24f)]($t,_0xec35fc);}[_0x1f10c6(0x1dd)](){const _0x22f6e0=_0x1f10c6;_0x5a6c40[_0x22f6e0(0x30c)](this[_0x22f6e0(0x2c2)],[[br],[Tr]]),this['_getDependencies']()['forEach'](_0x52284f=>this['_injector'][_0x22f6e0(0x2c0)](_0x52284f));let _0x505185=this['_injector'][_0x22f6e0(0x1a4)](xi),_0x402fde=this['_injector'][_0x22f6e0(0x1a4)](_0x29fd82);this[_0x22f6e0(0x1c8)](_0x402fde[_0x22f6e0(0x25f)](_0x505185)),this['disposeWithMe'](this[_0x22f6e0(0x2c2)][_0x22f6e0(0x1a4)](Ln)),this[_0x22f6e0(0x1c8)](this['_injector'][_0x22f6e0(0x1a4)](zr)),this[_0x22f6e0(0x1c8)](this[_0x22f6e0(0x2c2)][_0x22f6e0(0x1a4)](yi)),this['disposeWithMe'](this[_0x22f6e0(0x2c2)][_0x22f6e0(0x1a4)](bi)),this[_0x22f6e0(0x24c)]();}[_0x1f10c6(0x406)](){return[[br],[Tr],[xi],[Ln],[zr],[yi],[bi]];}[_0x1f10c6(0x351)](){return[Ci,wi,[wr],[Lr],[ur],[En],[an],[Or]];}[_0x1f10c6(0x349)](){const _0x1868f5=_0x1f10c6;this[_0x1868f5(0x351)]()[_0x1868f5(0x35f)](_0x5dc36a=>{const _0x44a69b=_0x1868f5;this['disposeWithMe'](this[_0x44a69b(0x311)][_0x44a69b(0x239)](_0x25af0d[_0x44a69b(0x29c)],_0x5dc36a));});}[_0x1f10c6(0x24c)](){const _0x5f2328=_0x1f10c6;var _0x4aedf3,_0x22b9f6;let _0xcb46a8=this[_0x5f2328(0x3ca)]();this[_0x5f2328(0x27d)][_0x5f2328(0x24f)](_0x5a2905,{..._0xcb46a8,'toolbar':{..._0xcb46a8[_0x5f2328(0x1e1)],'tools':{...(_0x4aedf3=_0xcb46a8[_0x5f2328(0x1e1)])==null?void 0x0:_0x4aedf3[_0x5f2328(0x152)],[_0x529842['MindMap']]:Ei((_0x22b9f6=_0xcb46a8[_0x5f2328(0x1e1)])==null||(_0x22b9f6=_0x22b9f6[_0x5f2328(0x152)])==null?void 0x0:_0x22b9f6[_0x529842[_0x5f2328(0x2e3)]])}}});}[_0x1f10c6(0x3ca)](){const _0x28fda2=_0x1f10c6;return this[_0x28fda2(0x27d)]['getConfig'](_0x5a2905)??{};}};K(Ti,_0x1f10c6(0x231),Si),K(Ti,_0x1f10c6(0x1f5),Zt),K(Ti,_0x1f10c6(0x370),Qt),K(Ti,'type',_0x25af0d[_0x1f10c6(0x29c)]),Ti=J([_0x3653bf(_0x3b2992,_0x5abc2b,_0x14526b,_0x4e9553,_0x5a6c40),q(0x1,_0x2e0f98(_0x5007c9)),q(0x2,_0x77a9ff),q(0x3,_0x2411d0)],Ti);function Ei(_0xcd73da){const _0x47994f=_0x1f10c6;return _0xcd73da===!0x1?!0x1:typeof _0xcd73da!=_0x47994f(0x25a)||{..._0xcd73da,'enabled':_0xcd73da[_0x47994f(0x30a)]??!0x0};}let Di=class extends _0x5c3776{constructor(_0x189243=en,_0x3ac1ee,_0x58b58a,_0x42c9f9){const _0x3d0645=_0x1f10c6;super(),this['_config']=_0x189243,this['_injector']=_0x3ac1ee,this[_0x3d0645(0x27d)]=_0x58b58a,this['_renderManagerService']=_0x42c9f9;let {..._0x3131f4}=_0x4a118c({},en,this[_0x3d0645(0x31d)]);this[_0x3d0645(0x27d)][_0x3d0645(0x24f)]($t,_0x3131f4);}[_0x1f10c6(0x1dd)](){const _0x2fb1a2=_0x1f10c6;let _0xefe396=[[br],[Tr]];_0x29e7e1[_0x2fb1a2(0x30c)](this[_0x2fb1a2(0x2c2)],_0xefe396),[..._0xefe396,[xi],[Ln],[zr],[pi],[vi]][_0x2fb1a2(0x35f)](_0xbd7f03=>this[_0x2fb1a2(0x2c2)][_0x2fb1a2(0x2c0)](_0xbd7f03)),this['disposeWithMe'](this['_injector']['get'](_0x29fd82)[_0x2fb1a2(0x25f)](this['_injector'][_0x2fb1a2(0x1a4)](xi))),this[_0x2fb1a2(0x1c8)](this[_0x2fb1a2(0x2c2)]['get'](Ln)),this[_0x2fb1a2(0x1c8)](this[_0x2fb1a2(0x2c2)][_0x2fb1a2(0x1a4)](zr)),this[_0x2fb1a2(0x1c8)](this[_0x2fb1a2(0x2c2)][_0x2fb1a2(0x1a4)](pi)),this[_0x2fb1a2(0x1c8)](this[_0x2fb1a2(0x2c2)][_0x2fb1a2(0x1a4)](vi)),this[_0x2fb1a2(0x24c)]();}['onReady'](){[[Dn],[Vr],[wr,{'useClass':Hr}],[Lr],[ur],[En],[an],[Or]]['forEach'](_0x1fac55=>{const _0x4d9fed=_0x1bd6;this['disposeWithMe'](this[_0x4d9fed(0x311)][_0x4d9fed(0x239)](_0x25af0d['UNIVER_BOARD'],_0x1fac55));});}['_enableMindMapToolbarTool'](){const _0x47a313=_0x1f10c6;var _0x4c37db,_0x2fbdb0;let _0x5663d8=this[_0x47a313(0x3ca)]();this[_0x47a313(0x27d)][_0x47a313(0x24f)](_0x5a2905,{..._0x5663d8,'toolbar':{..._0x5663d8[_0x47a313(0x1e1)],'tools':{...(_0x4c37db=_0x5663d8[_0x47a313(0x1e1)])==null?void 0x0:_0x4c37db[_0x47a313(0x152)],[_0x529842[_0x47a313(0x2e3)]]:Oi((_0x2fbdb0=_0x5663d8['toolbar'])==null||(_0x2fbdb0=_0x2fbdb0[_0x47a313(0x152)])==null?void 0x0:_0x2fbdb0[_0x529842[_0x47a313(0x2e3)]])}}});}[_0x1f10c6(0x3ca)](){const _0x247586=_0x1f10c6;return this[_0x247586(0x27d)]['getConfig'](_0x5a2905)??{};}};K(Di,_0x1f10c6(0x231),Si),K(Di,_0x1f10c6(0x1f5),Zt),K(Di,_0x1f10c6(0x370),Qt),K(Di,'type',_0x25af0d[_0x1f10c6(0x29c)]),Di=J([_0x3653bf(_0x3b2992,_0x5abc2b,_0x14526b,_0x4e9553,_0x29e7e1),q(0x1,_0x2e0f98(_0x5007c9)),q(0x2,_0x77a9ff),q(0x3,_0x2411d0)],Di);function Oi(_0x421f5a){const _0x46bae0=_0x1f10c6;return _0x421f5a===!0x1?!0x1:typeof _0x421f5a!=_0x46bae0(0x25a)||{..._0x421f5a,'enabled':_0x421f5a['enabled']??!0x0};}export{Di as UniverBoardsMindMobileUIPlugin,Ti as UniverBoardsMindUIPlugin};
|
|
1
|
+
const _0x92f39f=_0x25f1;(function(_0x1e8a66,_0x15af4d){const _0x3f8972=_0x25f1,_0x3e5b2b=_0x1e8a66();while(!![]){try{const _0x3188ea=-parseInt(_0x3f8972(0x30a))/0x1*(parseInt(_0x3f8972(0x221))/0x2)+-parseInt(_0x3f8972(0x2f5))/0x3*(parseInt(_0x3f8972(0x285))/0x4)+parseInt(_0x3f8972(0x34d))/0x5*(parseInt(_0x3f8972(0x3b0))/0x6)+parseInt(_0x3f8972(0x3ca))/0x7+-parseInt(_0x3f8972(0x342))/0x8*(-parseInt(_0x3f8972(0x291))/0x9)+-parseInt(_0x3f8972(0x453))/0xa+-parseInt(_0x3f8972(0x43a))/0xb*(-parseInt(_0x3f8972(0x18f))/0xc);if(_0x3188ea===_0x15af4d)break;else _0x3e5b2b['push'](_0x3e5b2b['shift']());}catch(_0x264a3f){_0x3e5b2b['push'](_0x3e5b2b['shift']());}}}(_0x4e0c,0xc6919));function _0x25f1(_0x3b80a1,_0x50c336){_0x3b80a1=_0x3b80a1-0x152;const _0x4e0cdb=_0x4e0c();let _0x25f1b7=_0x4e0cdb[_0x3b80a1];return _0x25f1b7;}import{BoardElementType as _0x36d773,BoardToolType as _0x28dd01,IBoardElementService as _0xbfe5fc,IBoardMindMapAdapterService as _0x3709c8,UniverBoardsPlugin as _0x103306,documentTextStyleToBoardShapeTextStyle as _0x3dd1d2,offsetBoardConnectorGeometry as _0x320b9d,resolveBoardElementWorldBounds as _0x51a7dc}from'@univerjs-pro/boards';import{AddMindMapChildOperation as _0x5a9afd,AddMindMapSiblingOperation as _0x24d9d3,ChangeMindMapBranchLineTypeOperation as _0x140e61,ChangeMindMapLayoutOperation as _0x61c9cd,CopyMindMapNodeOperation as _0x229ff7,DeleteMindMapNodeOperation as _0x35da0c,DetachMindMapNodeOperation as _0x2b135b,ExportMindMapOpmlOperation as _0x384d85,IMindMapClipboardService as _0x17a521,ImportMindMapOpmlOperation as _0x24edca,InsertBoardMindMapOperation as _0x23721b,LayoutMindMapOperation as _0x1a1b4d,MIND_MAP_DEFAULT_LAYOUT as _0x29a5bb,MIND_MAP_DEFAULT_NODE_SIZE as _0x365da6,MIND_MAP_DEFAULT_NODE_TEXT as _0x13c229,MIND_MAP_LAYOUT_SPACING_LIMITS as _0x1ad2a7,PasteMindMapAsNewMindMapOperation as _0x2b5d5e,PasteMindMapNodeOperation as _0x331883,PromoteMindMapNodeOperation as _0x42ec56,ReparentMindMapNodeOperation as _0x402e5b,ToggleMindMapNodeCollapseOperation as _0x497ede,TranslateMindMapOperation as _0x34ffa9,UniverBoardsMindPlugin as _0x46f886,UpdateMindMapIncomingConnectorOperation as _0x464e77,UpdateMindMapNodeOperation as _0x5049e3,compareMindMapOrderKey as _0x2aa617,getMindMapConnectorMeta as _0x4073ed,getMindMapContainerMeta as _0x25a48f,getMindMapDefaultChildOrderKey as _0x393951,getMindMapNodeMeta as _0x5213e3,isMindMapPlainStructureKind as _0x3ffd8d,resolveMindMapBranchLineTypeForStructure as _0x47dc91,resolveMindMapLayoutPreview as _0xa5f4f8,resolveMindMapNodeHostSize as _0x4789c7}from'@univerjs-pro/boards-mind';import{BOARDS_UI_PLUGIN_CONFIG_KEY as _0x57b746,BOARD_RENDER_LAYER_INDEX as _0x37e359,BOARD_RENDER_OBJECT_Z_INDEX as _0xbc2bae,BOARD_SHORTCUT_BINDINGS as _0x5359c0,BoardCanvasPopManagerService as _0x41ee3b,BoardInteractionSurfaceService as _0x4ccd27,BoardShapeIntrinsicSizeService as _0x346884,BoardTextEditingService as _0x3027f8,IBoardElementStateService as _0x3c1d99,IBoardUIStateService as _0x239302,UniverBoardsMobileUIPlugin as _0x389ea0,UniverBoardsUIPlugin as _0x4fb43a,areBoardShapeTextValuesEquivalent as _0x485d33,getBoardElementRenderObjectKey as _0x51bae1,isBoardShortcutAvailable as _0x22e4ac,parseBoardElementRenderObjectKey as _0x16b62c,resolveBoardFloatingToolbarSelection as _0x5bbe51,syncBoardElementRenderObject as _0x3dad20}from'@univerjs-pro/boards-ui';import{UniverLicensePlugin as _0x39127d}from'@univerjs-pro/license';import{BooleanNumber as _0x47d42f,CommandType as _0x14b54b,DEFAULT_STYLES as _0x23e0bb,DependentOn as _0x48ac0a,Disposable as _0x2756ad,DisposableCollection as _0x54845b,HorizontalAlign as _0x1e32f2,ICommandService as _0x3aa11b,IConfigService as _0x506e27,IContextService as _0x3079cd,IUniverInstanceService as _0x3171b5,Inject as _0x3c9b31,Injector as _0x3b9e9d,LocaleService as _0x33f8b9,Plugin as _0xe01e68,RxDisposable as _0xb1406a,UniverInstanceType as _0x597c76,VerticalAlign as _0x42b806,generateRandomId as _0x38dd6c,merge as _0x221ada,toDisposable as _0x594a26}from'@univerjs/core';import{BaseObject as _0xd4e1e3,Control as _0x3b27b9,DeviceType as _0xab8b6,IRenderManagerService as _0x1cdd64,UniverRenderEnginePlugin as _0x53d0dd}from'@univerjs/engine-render';import{Subject as _0x257d31,merge as _0x431517,takeUntil as _0x3568ee}from'rxjs';import{ComponentManager as _0x5a063f,IDialogService as _0x48f062,IFontService as _0x1ea3ab,IShortcutService as _0x589ecb,ISidebarService as _0x5b3794,KeyCode as _0x8c7182,MetaKeys as _0x52f4d8,UndoRedoGroupService as _0x387fe1,useDependency as _0x17282b,useObservable as _0x457155}from'@univerjs/ui';import{MobileShapeMenu as _0x1aa474,SHAPE_FLOATING_TOOLBAR_DEFAULT_STROKE_COLOR as _0x3e6563,SHAPE_FLOATING_TOOLBAR_DEFAULT_TEXT_BACKGROUND_COLOR as _0x5e5d91,SHAPE_FLOATING_TOOLBAR_DEFAULT_TEXT_COLOR as _0x3d178b,SHAPE_TEXT_EDITOR_QUOTE_COMMAND_ID as _0x1a23d2,ShapeFillButton as _0x3a140c,ShapeFloatingToolbarContent as _0xcb04ae,ShapeFloatingToolbarDropdownTrigger as _0x103714,ShapeFloatingToolbarFontSizeSelect as _0x38146c,ShapeFloatingToolbarIcon as _0xcfec90,ShapeFloatingToolbarMenuItem as _0x38a135,ShapeFloatingToolbarMenuPanel as _0x2bb414,ShapeStrokePanelButton as _0x3ba3d6,ShapeStrokePanelContent as _0x36b757,TextFillButton as _0x163c26,TypographyPanelButton as _0x2805c5,buildShapeTextDataUpdate as _0x1d868a,getTextStyle as _0x4dfc8f}from'@univerjs-pro/shape-editor-ui';import{ShapeDefaultConfig as _0x350ce4,ShapeLineDashEnum as _0x1fef06,ShapeLineTypeEnum as _0x489228}from'@univerjs-pro/engine-shape';import{Button as _0x44fdbd,Dropdown as _0x1ac9f4,Input as _0x2f2244,InputNumber as _0xbf943c,MobileColorPresets as _0x3058ff,Segmented as _0x380ab0,Separator as _0x47916c,Textarea as _0xd46f6,borderClassName as _0x4f81af,clsx as _0x2ccaad}from'@univerjs/design';import{AlignBottomIcon as _0x30b7b7,AlignTextBothIcon as _0x34642c,AlignTopIcon as _0x19a816,BoldIcon as _0x2a133d,HorizontallyIcon as _0x50a4e6,ItalicIcon as _0x23fa02,LeftJustifyingIcon as _0x3d8e65,MoreHorizontalIcon as _0x634397,RightJustifyingIcon as _0x42707d,SearchIcon as _0xea34ce,ShapeLineIcon as _0xcc330a,StrikethroughIcon as _0x211b34,UnderlineIcon as _0x203b5d,VerticalCenterIcon as _0xdc38d1}from'@univerjs/icons';import{useEffect as _0x969006,useReducer as _0x3d9926,useState as _0x406b1d}from'react';import{Fragment as _0x1df3f8,jsx as _0x36e588,jsxs as _0x99613}from'react/jsx-runtime';var Zt='@univerjs-pro/boards-mind-ui',Qt=_0x92f39f(0x3bf);const $t=_0x92f39f(0x1c3),en={};function tn(_0x1cb7f6){'@babel/helpers - typeof';const _0x28d08d=_0x92f39f;return tn=typeof Symbol==_0x28d08d(0x1a5)&&typeof Symbol['iterator']=='symbol'?function(_0x2de804){return typeof _0x2de804;}:function(_0x9fba6e){const _0x29a781=_0x28d08d;return _0x9fba6e&&typeof Symbol==_0x29a781(0x1a5)&&_0x9fba6e[_0x29a781(0x1bc)]===Symbol&&_0x9fba6e!==Symbol[_0x29a781(0x350)]?_0x29a781(0x2ce):typeof _0x9fba6e;},tn(_0x1cb7f6);}function nn(_0x58d015,_0x4ca064){const _0x392f4c=_0x92f39f;if(tn(_0x58d015)!=_0x392f4c(0x31e)||!_0x58d015)return _0x58d015;var _0x286285=_0x58d015[Symbol[_0x392f4c(0x3a0)]];if(_0x286285!==void 0x0){var _0x26df49=_0x286285[_0x392f4c(0x3ec)](_0x58d015,_0x4ca064||_0x392f4c(0x326));if(tn(_0x26df49)!='object')return _0x26df49;throw TypeError(_0x392f4c(0x359));}return(_0x4ca064===_0x392f4c(0x192)?String:Number)(_0x58d015);}function rn(_0x2fbcf7){const _0xdf63ab=_0x92f39f;var _0x3ce5e6=nn(_0x2fbcf7,'string');return tn(_0x3ce5e6)==_0xdf63ab(0x2ce)?_0x3ce5e6:_0x3ce5e6+'';}function K(_0x1c91e0,_0x577847,_0x60e298){const _0x4a85a0=_0x92f39f;return(_0x577847=rn(_0x577847))in _0x1c91e0?Object[_0x4a85a0(0x3e5)](_0x1c91e0,_0x577847,{'value':_0x60e298,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x1c91e0[_0x577847]=_0x60e298,_0x1c91e0;}function q(_0x4e57db,_0x22e1d5){return function(_0x24f05f,_0xf59dd4){_0x22e1d5(_0x24f05f,_0xf59dd4,_0x4e57db);};}function J(_0x1e904c,_0x39a216,_0x113fe8,_0x5a4604){const _0x307db6=_0x92f39f;var _0x26a90b=arguments[_0x307db6(0x33b)],_0x2f3a73=_0x26a90b<0x3?_0x39a216:_0x5a4604===null?_0x5a4604=Object[_0x307db6(0x39f)](_0x39a216,_0x113fe8):_0x5a4604,_0x2f0f24;if(typeof Reflect==_0x307db6(0x31e)&&typeof Reflect[_0x307db6(0x279)]=='function')_0x2f3a73=Reflect[_0x307db6(0x279)](_0x1e904c,_0x39a216,_0x113fe8,_0x5a4604);else{for(var _0x29912a=_0x1e904c[_0x307db6(0x33b)]-0x1;_0x29912a>=0x0;_0x29912a--)(_0x2f0f24=_0x1e904c[_0x29912a])&&(_0x2f3a73=(_0x26a90b<0x3?_0x2f0f24(_0x2f3a73):_0x26a90b>0x3?_0x2f0f24(_0x39a216,_0x113fe8,_0x2f3a73):_0x2f0f24(_0x39a216,_0x113fe8))||_0x2f3a73);}return _0x26a90b>0x3&&_0x2f3a73&&Object['defineProperty'](_0x39a216,_0x113fe8,_0x2f3a73),_0x2f3a73;}let an=class extends _0xb1406a{constructor(_0x3ad72a,_0x358666,_0x65f237){const _0x39637c=_0x92f39f;super(),this['_renderContext']=_0x3ad72a,this[_0x39637c(0x21c)]=_0x358666,this['_commandService']=_0x65f237,K(this,_0x39637c(0x1f5),new Map()),K(this,_0x39637c(0x273),new Map()),K(this,_0x39637c(0x290),!0x1),this[_0x39637c(0x270)]();}[_0x92f39f(0x270)](){const _0x2e4d13=_0x92f39f;this[_0x2e4d13(0x3e1)](),this[_0x2e4d13(0x307)](_0x594a26(this[_0x2e4d13(0x21c)][_0x2e4d13(0x264)]['pipe'](_0x3568ee(this[_0x2e4d13(0x203)]))['subscribe'](_0x1fe34c=>{const _0x328ab1=_0x2e4d13;_0x1fe34c[_0x328ab1(0x2cc)](_0x30ec5d=>{const _0x2547ae=_0x328ab1;let _0x90d7ae=this[_0x2547ae(0x21c)]['getElementById'](_0x30ec5d['unitId'],_0x30ec5d[_0x2547ae(0x1fa)],_0x30ec5d['elementId']);this[_0x2547ae(0x411)](_0x30ec5d,_0x90d7ae);});}))),this[_0x2e4d13(0x307)](_0x594a26(this['_boardElementService']['elementUpdate$'][_0x2e4d13(0x312)](_0x3568ee(this[_0x2e4d13(0x203)]))[_0x2e4d13(0x457)](_0x403d38=>{const _0x5e130d=_0x2e4d13;_0x403d38[_0x5e130d(0x2cc)](_0x1d245f=>this[_0x5e130d(0x2e4)](_0x1d245f));})));}[_0x92f39f(0x3e1)](){const _0x5d2f6b=_0x92f39f;let _0x4b2548=this[_0x5d2f6b(0x45a)][_0x5d2f6b(0x237)],_0x16d959=this[_0x5d2f6b(0x21c)]['getElementDataForUnit'](_0x4b2548);Object[_0x5d2f6b(0x3c5)](_0x16d959)[_0x5d2f6b(0x2cc)](([_0x349f3f,_0x4341b8])=>{const _0x1f5fce=_0x5d2f6b;Object[_0x1f5fce(0x1f3)](_0x4341b8[_0x1f5fce(0x1df)])[_0x1f5fce(0x2cc)](_0x5dc4f7=>{const _0x333eda=_0x1f5fce;this[_0x333eda(0x411)]({'unitId':_0x4b2548,'subUnitId':_0x349f3f,'elementId':_0x5dc4f7[_0x333eda(0x2d3)]},_0x5dc4f7);});});}[_0x92f39f(0x2e4)](_0x430bfc){const _0x193c1a=_0x92f39f;if(_0x430bfc[_0x193c1a(0x237)]!==this[_0x193c1a(0x45a)][_0x193c1a(0x237)])return;let _0x587d95=this[_0x193c1a(0x21c)]['getElementById'](_0x430bfc[_0x193c1a(0x237)],_0x430bfc[_0x193c1a(0x1fa)],_0x430bfc[_0x193c1a(0x2d3)]),_0x56360c=_0x5213e3(_0x587d95==null?void 0x0:_0x587d95[_0x193c1a(0x465)]),_0x497398=this[_0x193c1a(0x3fc)](_0x587d95);if(!_0x56360c||!_0x497398){this[_0x193c1a(0x1f5)]['delete'](this[_0x193c1a(0x324)](_0x430bfc));return;}let _0xeec20c=this[_0x193c1a(0x324)](_0x430bfc),_0x1891c0=this[_0x193c1a(0x1f5)]['get'](_0xeec20c);this[_0x193c1a(0x1f5)][_0x193c1a(0x2db)](_0xeec20c,_0x497398),!(_0x1891c0&&_0x1891c0[_0x193c1a(0x389)]===_0x497398[_0x193c1a(0x389)]&&_0x1891c0[_0x193c1a(0x1fe)]===_0x497398['height'])&&this[_0x193c1a(0x45d)]({'unitId':_0x430bfc['unitId'],'subUnitId':_0x430bfc[_0x193c1a(0x1fa)],'scopeId':_0x56360c['structureScopeId']});}['_rememberNodeSize'](_0x27fc1a,_0x1d0101){const _0x35d452=_0x92f39f;if(_0x27fc1a['unitId']!==this['_renderContext'][_0x35d452(0x237)])return;let _0x3e392a=_0x5213e3(_0x1d0101==null?void 0x0:_0x1d0101[_0x35d452(0x465)]),_0xadaeb8=this['_resolveNodeSize'](_0x1d0101);_0x3e392a&&_0xadaeb8&&this[_0x35d452(0x1f5)][_0x35d452(0x2db)](this[_0x35d452(0x324)](_0x27fc1a),_0xadaeb8);}[_0x92f39f(0x3fc)](_0x50e263){const _0x616b55=_0x92f39f;let _0x3278f5=(_0x50e263==null?void 0x0:_0x50e263[_0x616b55(0x242)])??(_0x50e263==null?void 0x0:_0x50e263[_0x616b55(0x465)][_0x616b55(0x242)]),_0x497ca2=_0x3278f5==null?void 0x0:_0x3278f5[_0x616b55(0x389)],_0xd91c60=_0x3278f5==null?void 0x0:_0x3278f5['height'];return!Number[_0x616b55(0x263)](_0x497ca2)||!Number[_0x616b55(0x263)](_0xd91c60)?null:{'width':_0x497ca2,'height':_0xd91c60};}[_0x92f39f(0x45d)](_0x4ad4fc){const _0x43e5c6=_0x92f39f;this[_0x43e5c6(0x273)][_0x43e5c6(0x2db)](_0x4ad4fc[_0x43e5c6(0x237)]+':'+_0x4ad4fc[_0x43e5c6(0x1fa)]+':'+_0x4ad4fc['scopeId'],_0x4ad4fc),!this[_0x43e5c6(0x290)]&&(this[_0x43e5c6(0x290)]=!0x0,Promise['resolve']()[_0x43e5c6(0x271)](()=>{const _0x8a58e0=_0x43e5c6;this[_0x8a58e0(0x290)]=!0x1;let _0x46a217=Array[_0x8a58e0(0x413)](this[_0x8a58e0(0x273)]['values']());this[_0x8a58e0(0x273)][_0x8a58e0(0x42f)](),_0x46a217['forEach'](_0x14387e=>{const _0x1e9a00=_0x8a58e0;this[_0x1e9a00(0x2b9)](_0x14387e);});}));}['_executeRootAnchoredLayout'](_0x166001){const _0x5a7f89=_0x92f39f;var _0x591e95;let _0x58f9db=this[_0x5a7f89(0x21c)][_0x5a7f89(0x3c4)](_0x166001[_0x5a7f89(0x237)],_0x166001[_0x5a7f89(0x1fa)],_0x166001[_0x5a7f89(0x3d0)]),_0x1fae01=(_0x591e95=_0x25a48f(_0x58f9db==null?void 0x0:_0x58f9db[_0x5a7f89(0x465)]))==null?void 0x0:_0x591e95['rootNodeId'];this[_0x5a7f89(0x282)]['executeCommand'](_0x1a1b4d['id'],{..._0x166001,'skipUndo':!0x0,..._0x1fae01?{'anchorNodeId':_0x1fae01}:null});}[_0x92f39f(0x324)](_0x1aa06c){const _0x2f3b8c=_0x92f39f;return _0x1aa06c[_0x2f3b8c(0x237)]+':'+_0x1aa06c[_0x2f3b8c(0x1fa)]+':'+_0x1aa06c[_0x2f3b8c(0x2d3)];}};an=J([q(0x1,_0x3c9b31(_0xbfe5fc)),q(0x2,_0x3aa11b)],an);const Y={'primaryColor':_0x3e6563,'surfaceColor':_0x5e5d91,'textColor':_0x3d178b,'fontFamily':_0x23e0bb['ff']};function on(_0x98407d,_0x3ddbf2){const _0x4f1d1c=_0x92f39f;let _0x549852=Math['min'](0x1,Math[_0x4f1d1c(0x339)](0x0,Number[_0x4f1d1c(0x263)](_0x3ddbf2)?_0x3ddbf2:0x1)),_0x4a7f1a=_0x98407d[_0x4f1d1c(0x385)](),_0x10a3d3=/^#([0-9a-fA-F]{6})$/[_0x4f1d1c(0x22c)](_0x4a7f1a);if(!_0x10a3d3)return _0x98407d;let _0x851558=_0x10a3d3[0x1];return'rgba('+Number[_0x4f1d1c(0x1cd)](_0x851558['slice'](0x0,0x2),0x10)+',\x20'+Number[_0x4f1d1c(0x1cd)](_0x851558[_0x4f1d1c(0x32c)](0x2,0x4),0x10)+',\x20'+Number[_0x4f1d1c(0x1cd)](_0x851558[_0x4f1d1c(0x32c)](0x4,0x6),0x10)+',\x20'+_0x549852+')';}const X={'primaryColor':Y[_0x92f39f(0x1fc)],'ghostFillColor':on(Y[_0x92f39f(0x212)],0.72),'ghostTextColor':on(Y[_0x92f39f(0x417)],0.62),'rootTextColor':on(Y['surfaceColor'],0.86),'sourceHighlightFillColor':on(Y['primaryColor'],0.12),'sourceHighlightStrokeColor':on(Y[_0x92f39f(0x1fc)],0.9),'objectAlpha':0.72,'dragObjectAlpha':0.78,'connectorAlpha':0.64,'lineWidthScreen':0x2,'fallbackNodeWidth':_0x365da6[_0x92f39f(0x184)],'fallbackNodeHeight':_0x365da6[_0x92f39f(0x1f6)],'branchGap':_0x29a5bb[_0x92f39f(0x35a)],'sourceHaloScreen':0x4,'ghostRadius':0x8,'rootRadius':0xa,'fontFamily':Y[_0x92f39f(0x443)],'ghostFontWeight':0x1f4,'rootFontWeight':0x258,'rootFontSize':0x12,'textPaddingScreen':0xc,'dirtyPaddingScreen':0x18,'sourceDashScreen':[0x6,0x4]};function Z(_0x4490af,_0x3eec1a,_0x5bec3d,_0x518c81,_0x487448,_0x533864){const _0x2aedeb=_0x92f39f;let _0x2e8d1a=Math[_0x2aedeb(0x235)](_0x533864,_0x518c81/0x2,_0x487448/0x2);_0x4490af[_0x2aedeb(0x2ec)](),_0x4490af[_0x2aedeb(0x345)](_0x3eec1a+_0x2e8d1a,_0x5bec3d),_0x4490af[_0x2aedeb(0x165)](_0x3eec1a+_0x518c81-_0x2e8d1a,_0x5bec3d),_0x4490af[_0x2aedeb(0x2ae)](_0x3eec1a+_0x518c81,_0x5bec3d,_0x3eec1a+_0x518c81,_0x5bec3d+_0x2e8d1a),_0x4490af[_0x2aedeb(0x165)](_0x3eec1a+_0x518c81,_0x5bec3d+_0x487448-_0x2e8d1a),_0x4490af[_0x2aedeb(0x2ae)](_0x3eec1a+_0x518c81,_0x5bec3d+_0x487448,_0x3eec1a+_0x518c81-_0x2e8d1a,_0x5bec3d+_0x487448),_0x4490af[_0x2aedeb(0x165)](_0x3eec1a+_0x2e8d1a,_0x5bec3d+_0x487448),_0x4490af[_0x2aedeb(0x2ae)](_0x3eec1a,_0x5bec3d+_0x487448,_0x3eec1a,_0x5bec3d+_0x487448-_0x2e8d1a),_0x4490af[_0x2aedeb(0x165)](_0x3eec1a,_0x5bec3d+_0x2e8d1a),_0x4490af[_0x2aedeb(0x2ae)](_0x3eec1a,_0x5bec3d,_0x3eec1a+_0x2e8d1a,_0x5bec3d),_0x4490af[_0x2aedeb(0x16f)]();}function sn(_0x4f7196,_0x1d124d,_0x5788d1){const _0x195a46=_0x92f39f;return _0x4f7196+'\x20'+_0x1d124d/_0x5788d1+_0x195a46(0x1b5)+X[_0x195a46(0x443)];}const cn=_0x92f39f(0x204),ln=_0x37e359[_0x92f39f(0x449)];function Q(_0x1525f4,_0x30e3c7){return Number['isFinite'](_0x1525f4)?_0x1525f4:_0x30e3c7;}function un(){const _0x4132e5=_0x92f39f;return X[_0x4132e5(0x375)];}function dn(){return X['fallbackNodeHeight'];}function fn(_0x2183f3){const _0x7894cc=_0x92f39f;return _0x2183f3===0x1?_0x7894cc(0x378):_0x2183f3===0x3?_0x7894cc(0x2c4):_0x7894cc(0x2a0);}function pn(_0x19dcf4,_0x53bfc0,_0x51ee8d,_0x3e8ac5){return _0x51ee8d===0x1?_0x19dcf4+_0x3e8ac5:_0x51ee8d===0x3?_0x19dcf4+_0x53bfc0-_0x3e8ac5:_0x19dcf4+_0x53bfc0/0x2;}var mn=class extends _0xd4e1e3{constructor(_0x5ec941=cn,_0xd9a12){const _0x3c9493=_0x92f39f;super(_0x5ec941),K(this,_0x3c9493(0x36b),{'ghostBounds':null,'parentBounds':null,'side':_0x3c9493(0x2c4),'zoomRatio':0x1}),this[_0x3c9493(0x458)]=!0x1,this[_0x3c9493(0x181)]=_0xbc2bae[_0x3c9493(0x32b)],this[_0x3c9493(0x40b)](_0xd9a12);}[_0x92f39f(0x40b)](_0x58b612){const _0x698ad0=_0x92f39f;if(this[_0x698ad0(0x36b)]={...this[_0x698ad0(0x36b)],..._0x58b612},this[_0x698ad0(0x36b)][_0x698ad0(0x2b6)]){let _0x337622=this[_0x698ad0(0x374)]();this[_0x698ad0(0x412)](_0x337622),this[_0x698ad0(0x2f3)]();}else this[_0x698ad0(0x3e2)]();let _0x4139b7=this;typeof _0x4139b7[_0x698ad0(0x21d)]=='function'?_0x4139b7[_0x698ad0(0x21d)](!0x0):this['makeDirty'](!0x0);}[_0x92f39f(0x364)](_0x13e902){return!0x1;}[_0x92f39f(0x173)](_0x35429b,_0x557eed){const _0xeab406=_0x92f39f;let _0x3a95fc=this['_state'][_0xeab406(0x2b6)];if(!_0x3a95fc||!this[_0xeab406(0x1d7)])return this[_0xeab406(0x3dc)](!0x1),this;let _0x488fc9=Number[_0xeab406(0x263)](this[_0xeab406(0x36b)][_0xeab406(0x1ec)])&&(this[_0xeab406(0x36b)]['zoomRatio']??0x0)>0x0?this[_0xeab406(0x36b)]['zoomRatio']:0x1,_0x28ca07=Q(_0x3a95fc[_0xeab406(0x378)],0x0),_0x29a05f=Q(_0x3a95fc['top'],0x0),_0x4f3b85=Math['max'](0x1,Q(_0x3a95fc[_0xeab406(0x389)],un())),_0x4937ca=Math[_0xeab406(0x339)](0x1,Q(_0x3a95fc[_0xeab406(0x1fe)],dn()));if(_0x35429b[_0xeab406(0x383)](),_0x35429b[_0xeab406(0x1fb)]=X['dragObjectAlpha'],_0x35429b[_0xeab406(0x1ac)]=X[_0xeab406(0x3ef)]/_0x488fc9,_0x35429b['strokeStyle']=X[_0xeab406(0x1fc)],_0x35429b['fillStyle']=X['ghostFillColor'],this['_drawConnectorPreview'](_0x35429b,{'left':_0x28ca07,'top':_0x29a05f,'width':_0x4f3b85,'height':_0x4937ca},_0x488fc9),this[_0xeab406(0x22d)](_0x35429b,_0x488fc9),this[_0xeab406(0x36b)][_0xeab406(0x43c)]===!0x1)return _0x35429b['restore'](),this[_0xeab406(0x3dc)](!0x1),this;Z(_0x35429b,_0x28ca07,_0x29a05f,_0x4f3b85,_0x4937ca,X[_0xeab406(0x38f)]),_0x35429b[_0xeab406(0x213)](),_0x35429b[_0xeab406(0x1e7)]();let _0x4560c4=this['_state'][_0xeab406(0x463)],_0x3ba1bf=Number[_0xeab406(0x263)](_0x4560c4==null?void 0x0:_0x4560c4[_0xeab406(0x28f)])&&((_0x4560c4==null?void 0x0:_0x4560c4[_0xeab406(0x28f)])??0x0)>0x0?_0x4560c4[_0xeab406(0x28f)]:0x10,_0x468dc3=X['textPaddingScreen']/_0x488fc9;return _0x35429b[_0xeab406(0x17d)]=(_0x4560c4==null?void 0x0:_0x4560c4[_0xeab406(0x1f2)])??X[_0xeab406(0x257)],_0x35429b['font']=sn(X['ghostFontWeight'],_0x3ba1bf,_0x488fc9),_0x35429b[_0xeab406(0x3cc)]=fn(_0x4560c4==null?void 0x0:_0x4560c4['horizontalAlign']),_0x35429b[_0xeab406(0x25a)]=_0xeab406(0x404),_0x35429b[_0xeab406(0x393)]((_0x4560c4==null?void 0x0:_0x4560c4[_0xeab406(0x423)])||_0x13c229,pn(_0x28ca07,_0x4f3b85,_0x4560c4==null?void 0x0:_0x4560c4[_0xeab406(0x3eb)],_0x468dc3),_0x29a05f+_0x4937ca/0x2,Math[_0xeab406(0x339)](0x1,_0x4f3b85-_0x468dc3*0x2)),_0x35429b[_0xeab406(0x3f7)](),this[_0xeab406(0x3dc)](!0x1),this;}['_resolveDirtyBounds'](){const _0x1c4095=_0x92f39f;let _0xe49e58=this[_0x1c4095(0x36b)]['ghostBounds'],_0xadd1af=Number['isFinite'](this[_0x1c4095(0x36b)][_0x1c4095(0x1ec)])&&(this[_0x1c4095(0x36b)][_0x1c4095(0x1ec)]??0x0)>0x0?this['_state']['zoomRatio']:0x1,_0x5277cf=X[_0x1c4095(0x178)]/_0xadd1af;if(!_0xe49e58)return{'left':0x0,'top':0x0,'width':0x1,'height':0x1};let _0x2ae024=Q(_0xe49e58[_0x1c4095(0x378)],0x0),_0x4f3beb=Q(_0xe49e58[_0x1c4095(0x1d8)],0x0),_0x30c490=Math[_0x1c4095(0x339)](0x1,Q(_0xe49e58['width'],un())),_0x4fe357=Math['max'](0x1,Q(_0xe49e58[_0x1c4095(0x1fe)],dn())),_0x179f60=this['_state'][_0x1c4095(0x1b0)],_0x59c693=this['_state'][_0x1c4095(0x2fa)],_0x81911c=Q(_0x179f60==null?void 0x0:_0x179f60[_0x1c4095(0x378)],_0x2ae024),_0x324746=Q(_0x179f60==null?void 0x0:_0x179f60['top'],_0x4f3beb),_0x461300=Math[_0x1c4095(0x339)](0x1,Q(_0x179f60==null?void 0x0:_0x179f60[_0x1c4095(0x389)],_0x30c490)),_0x120b12=Math[_0x1c4095(0x339)](0x1,Q(_0x179f60==null?void 0x0:_0x179f60['height'],_0x4fe357));if(!_0x59c693){let _0x4c3470=Math['min'](_0x2ae024,_0x81911c)-_0x5277cf,_0xbf8e8d=Math[_0x1c4095(0x235)](_0x4f3beb,_0x324746)-_0x5277cf,_0x16de70=Math['max'](_0x2ae024+_0x30c490,_0x81911c+_0x461300)+_0x5277cf,_0x4ce853=Math['max'](_0x4f3beb+_0x4fe357,_0x324746+_0x120b12)+_0x5277cf;return{'left':_0x4c3470,'top':_0xbf8e8d,'width':_0x16de70-_0x4c3470,'height':_0x4ce853-_0xbf8e8d};}let _0x5555e9=Q(_0x59c693[_0x1c4095(0x378)],_0x2ae024),_0x2c7487=Q(_0x59c693[_0x1c4095(0x1d8)],_0x4f3beb),_0xeeadfb=Math[_0x1c4095(0x339)](0x1,Q(_0x59c693[_0x1c4095(0x389)],un())),_0x4bb396=Math[_0x1c4095(0x339)](0x1,Q(_0x59c693[_0x1c4095(0x1fe)],dn())),_0x5a1e8=Math[_0x1c4095(0x235)](_0x2ae024,_0x5555e9,_0x81911c)-_0x5277cf,_0x115662=Math[_0x1c4095(0x235)](_0x4f3beb,_0x2c7487,_0x324746)-_0x5277cf,_0x26b1e1=Math[_0x1c4095(0x339)](_0x2ae024+_0x30c490,_0x5555e9+_0xeeadfb,_0x81911c+_0x461300)+_0x5277cf,_0x1d8f01=Math[_0x1c4095(0x339)](_0x4f3beb+_0x4fe357,_0x2c7487+_0x4bb396,_0x324746+_0x120b12)+_0x5277cf;return{'left':_0x5a1e8,'top':_0x115662,'width':_0x26b1e1-_0x5a1e8,'height':_0x1d8f01-_0x115662};}[_0x92f39f(0x22d)](_0x21667e,_0x1b2d33){const _0x2d0a00=_0x92f39f;var _0x3f3a32;let _0x312d6d=this['_state'][_0x2d0a00(0x1b0)];if(!_0x312d6d)return;let _0x15d228=X[_0x2d0a00(0x33c)]/_0x1b2d33,_0x3f3a23=Q(_0x312d6d['left'],0x0)-_0x15d228,_0x4f6017=Q(_0x312d6d[_0x2d0a00(0x1d8)],0x0)-_0x15d228,_0xd803ff=Math['max'](0x1,Q(_0x312d6d[_0x2d0a00(0x389)],un()))+_0x15d228*0x2,_0x21422e=Math['max'](0x1,Q(_0x312d6d['height'],dn()))+_0x15d228*0x2;_0x21667e[_0x2d0a00(0x383)](),_0x21667e[_0x2d0a00(0x1fb)]=0x1,_0x21667e[_0x2d0a00(0x1ac)]=X[_0x2d0a00(0x3ef)]/_0x1b2d33,_0x21667e['strokeStyle']=X[_0x2d0a00(0x1e8)],_0x21667e[_0x2d0a00(0x17d)]=X[_0x2d0a00(0x472)],(_0x3f3a32=_0x21667e[_0x2d0a00(0x2fe)])==null||_0x3f3a32['call'](_0x21667e,X[_0x2d0a00(0x30b)][_0x2d0a00(0x427)](_0x1bcd77=>_0x1bcd77/_0x1b2d33)),Z(_0x21667e,_0x3f3a23,_0x4f6017,_0xd803ff,_0x21422e,X[_0x2d0a00(0x309)]),_0x21667e['fill'](),_0x21667e[_0x2d0a00(0x1e7)](),_0x21667e['restore']();}['_drawConnectorPreview'](_0xb2598f,_0x4420f4,_0x477e13){const _0x5d04bd=_0x92f39f;let _0x4e0a04=this[_0x5d04bd(0x36b)]['parentBounds'];if(!_0x4e0a04)return;let _0x183a2c=Q(_0x4e0a04[_0x5d04bd(0x378)],0x0),_0x12b6ea=Q(_0x4e0a04[_0x5d04bd(0x1d8)],0x0),_0x54b42=Math[_0x5d04bd(0x339)](0x1,Q(_0x4e0a04[_0x5d04bd(0x389)],un())),_0x49ebe4=Math['max'](0x1,Q(_0x4e0a04['height'],dn())),_0x1db37f=X[_0x5d04bd(0x35a)],_0x30f07f=this[_0x5d04bd(0x36b)][_0x5d04bd(0x44d)]??_0x5d04bd(0x2c4);if(_0xb2598f[_0x5d04bd(0x383)](),_0xb2598f[_0x5d04bd(0x1fb)]=X[_0x5d04bd(0x272)],_0xb2598f['strokeStyle']=X['primaryColor'],_0xb2598f[_0x5d04bd(0x1ac)]=X[_0x5d04bd(0x3ef)]/_0x477e13,_0xb2598f['lineCap']='round',_0xb2598f[_0x5d04bd(0x28d)]=_0x5d04bd(0x370),_0xb2598f[_0x5d04bd(0x2ec)](),_0x30f07f===_0x5d04bd(0x1d8)||_0x30f07f==='bottom'){let _0x32de38=_0x183a2c+_0x54b42/0x2,_0x39fe4e=_0x4420f4[_0x5d04bd(0x378)]+_0x4420f4['width']/0x2,_0x245901=_0x30f07f===_0x5d04bd(0x36e)?_0x12b6ea+_0x49ebe4:_0x12b6ea,_0x3991a4=_0x30f07f===_0x5d04bd(0x36e)?_0x4420f4[_0x5d04bd(0x1d8)]:_0x4420f4[_0x5d04bd(0x1d8)]+_0x4420f4[_0x5d04bd(0x1fe)],_0x558b78=_0x30f07f===_0x5d04bd(0x36e)?Math[_0x5d04bd(0x235)](_0x245901+_0x1db37f,(_0x245901+_0x3991a4)/0x2):Math[_0x5d04bd(0x339)](_0x245901-_0x1db37f,(_0x245901+_0x3991a4)/0x2);_0xb2598f[_0x5d04bd(0x345)](_0x32de38,_0x245901),_0xb2598f[_0x5d04bd(0x165)](_0x32de38,_0x558b78),_0xb2598f[_0x5d04bd(0x165)](_0x39fe4e,_0x558b78),_0xb2598f[_0x5d04bd(0x165)](_0x39fe4e,_0x3991a4);}else{let _0x10116c=_0x12b6ea+_0x49ebe4/0x2,_0x20f502=_0x4420f4[_0x5d04bd(0x1d8)]+_0x4420f4[_0x5d04bd(0x1fe)]/0x2,_0x307bdd=_0x30f07f===_0x5d04bd(0x2c4)?_0x183a2c+_0x54b42:_0x183a2c,_0x269673=_0x30f07f===_0x5d04bd(0x2c4)?_0x4420f4[_0x5d04bd(0x378)]:_0x4420f4[_0x5d04bd(0x378)]+_0x4420f4[_0x5d04bd(0x389)],_0x230b49=_0x30f07f==='right'?Math[_0x5d04bd(0x235)](_0x307bdd+_0x1db37f,(_0x307bdd+_0x269673)/0x2):Math[_0x5d04bd(0x339)](_0x307bdd-_0x1db37f,(_0x307bdd+_0x269673)/0x2);_0xb2598f[_0x5d04bd(0x345)](_0x307bdd,_0x10116c),_0xb2598f[_0x5d04bd(0x165)](_0x230b49,_0x10116c),_0xb2598f[_0x5d04bd(0x165)](_0x230b49,_0x20f502),_0xb2598f[_0x5d04bd(0x165)](_0x269673,_0x20f502);}_0xb2598f[_0x5d04bd(0x1e7)](),_0xb2598f['restore']();}};function hn(_0x522db5,_0x1be8a6){const _0x588c19=_0x92f39f;return(_0x1be8a6==null?void 0x0:_0x1be8a6[_0x522db5[_0x588c19(0x2d3)]])??_0x522db5['element'][_0x588c19(0x242)];}function gn(_0x326fe7,_0x497541){const _0x4ae4d5=_0x92f39f;let _0x52cd75=hn(_0x326fe7,_0x497541);return{'x':(_0x52cd75[_0x4ae4d5(0x378)]??0x0)+(_0x52cd75[_0x4ae4d5(0x389)]??0x0)/0x2,'y':(_0x52cd75[_0x4ae4d5(0x1d8)]??0x0)+(_0x52cd75['height']??0x0)/0x2};}function _n(_0x1afc58,_0x5a9054){return Math['hypot'](_0x1afc58['x']-_0x5a9054['x'],_0x1afc58['y']-_0x5a9054['y']);}function vn(_0x5df1f2,_0x1ae8dc){const _0x2feea5=_0x92f39f;let _0x1c7371=_0x5df1f2[_0x2feea5(0x378)]??0x0,_0x154958=_0x5df1f2[_0x2feea5(0x1d8)]??0x0,_0x4cdfe7=_0x1c7371+(_0x5df1f2['width']??0x0),_0x2c55eb=_0x154958+(_0x5df1f2[_0x2feea5(0x1fe)]??0x0),_0xb75581=_0x1ae8dc[_0x2feea5(0x378)]??0x0,_0x1075b9=_0x1ae8dc[_0x2feea5(0x1d8)]??0x0,_0x3d0b3f=_0xb75581+(_0x1ae8dc['width']??0x0),_0x4b0575=_0x1075b9+(_0x1ae8dc[_0x2feea5(0x1fe)]??0x0),_0x5231aa=Math[_0x2feea5(0x339)](_0xb75581-_0x4cdfe7,_0x1c7371-_0x3d0b3f,0x0),_0x2e8b4=Math[_0x2feea5(0x339)](_0x1075b9-_0x2c55eb,_0x154958-_0x4b0575,0x0);return Math[_0x2feea5(0x2dc)](_0x5231aa,_0x2e8b4);}function yn(_0x599bfa,_0x2a2d9f,_0x4834e4){const _0x5c371b=_0x92f39f;var _0x52859c;let _0x592321=_0x5213e3((_0x52859c=_0x599bfa[_0x2a2d9f])==null?void 0x0:_0x52859c[_0x5c371b(0x465)]);for(;_0x592321!=null&&_0x592321[_0x5c371b(0x19e)];){var _0x233821;if(_0x592321['parentNodeId']===_0x4834e4)return!0x0;_0x592321=_0x5213e3((_0x233821=_0x599bfa[_0x592321[_0x5c371b(0x19e)]])==null?void 0x0:_0x233821['element']);}return!0x1;}function bn(_0x4646af,_0x27ca96,_0x10e8ae){const _0x4fa61f=_0x92f39f;let _0x32709f=hn(_0x4646af,_0x10e8ae),_0x4a19ab=_0x32709f[_0x4fa61f(0x1d8)]??0x0,_0x3d28ed=_0x32709f[_0x4fa61f(0x1fe)]??0x0;return _0x3d28ed<=0x0?null:_0x27ca96['y']<=_0x4a19ab+_0x3d28ed/0x3?_0x4fa61f(0x322):_0x27ca96['y']>=_0x4a19ab+_0x3d28ed*0x2/0x3?'after':null;}function xn(_0x1647ae,_0x54b2de){const _0x2a41fa=_0x92f39f;let _0x34e72b=_0x54b2de==null?void 0x0:_0x54b2de[_0x1647ae];return Number[_0x2a41fa(0x263)](_0x34e72b==null?void 0x0:_0x34e72b[_0x2a41fa(0x378)])&&Number[_0x2a41fa(0x263)](_0x34e72b==null?void 0x0:_0x34e72b[_0x2a41fa(0x1d8)])?{'kind':'detach','left':_0x34e72b[_0x2a41fa(0x378)],'top':_0x34e72b[_0x2a41fa(0x1d8)]}:{'kind':_0x2a41fa(0x2a6)};}function Sn(_0xcc5661,_0x3a81b1,_0x1c61ff){const _0x540b9a=_0x92f39f;let _0x12261e=_0xcc5661[_0x3a81b1],_0x13210f=_0x5213e3(_0x12261e==null?void 0x0:_0x12261e[_0x540b9a(0x465)]);if(!_0x12261e||!_0x13210f||!_0x13210f['parentNodeId']&&!(_0x1c61ff!=null&&_0x1c61ff['allowRootReparent']))return{'kind':_0x540b9a(0x194)};let _0x343a53=_0x1c61ff==null?void 0x0:_0x1c61ff[_0x540b9a(0x3a8)],_0x440f7e=hn(_0x12261e,_0x343a53),_0x3a125e=gn(_0x12261e,_0x343a53),_0x52a81a=Object[_0x540b9a(0x1f3)](_0xcc5661)[_0x540b9a(0x427)](_0x164564=>{const _0x5673fc=_0x540b9a;let _0x466f88=_0x5213e3(_0x164564['element']);return!_0x466f88||_0x164564['elementId']===_0x3a81b1||_0x164564[_0x5673fc(0x2d3)]===_0x13210f[_0x5673fc(0x19e)]||_0x1c61ff!=null&&_0x1c61ff[_0x5673fc(0x2d8)]&&!_0x13210f['parentNodeId']&&_0x466f88[_0x5673fc(0x3b4)]===_0x13210f['structureScopeId']||yn(_0xcc5661,_0x164564[_0x5673fc(0x2d3)],_0x3a81b1)?null:{'item':_0x164564,'snapDistance':vn(_0x440f7e,hn(_0x164564,_0x343a53)),'center':gn(_0x164564,_0x343a53)};})[_0x540b9a(0x277)](_0x8b66e2=>!!_0x8b66e2)[_0x540b9a(0x1c7)]((_0x21c87a,_0x483e77)=>_0x21c87a[_0x540b9a(0x2d5)]-_0x483e77[_0x540b9a(0x2d5)]||_n(_0x3a125e,_0x21c87a[_0x540b9a(0x2a0)])-_n(_0x3a125e,_0x483e77['center']))[0x0];if(_0x52a81a&&_0x52a81a[_0x540b9a(0x2d5)]<=0x64){let _0xde6b5a=_0x5213e3(_0x52a81a[_0x540b9a(0x429)]['element']),_0x2b25ec=_0xde6b5a!=null&&_0xde6b5a[_0x540b9a(0x19e)]?bn(_0x52a81a[_0x540b9a(0x429)],_0x3a125e,_0x343a53):null;return _0xde6b5a!=null&&_0xde6b5a[_0x540b9a(0x19e)]&&_0x2b25ec?{'kind':_0x540b9a(0x3f8),'newParentNodeId':_0xde6b5a[_0x540b9a(0x19e)],'side':_0xde6b5a[_0x540b9a(0x44d)]??_0x540b9a(0x2c4),'referenceNodeId':_0x52a81a[_0x540b9a(0x429)][_0x540b9a(0x2d3)],'placement':_0x2b25ec}:{'kind':_0x540b9a(0x3f8),'newParentNodeId':_0x52a81a['item'][_0x540b9a(0x2d3)],'side':_0x3a125e['x']<_0x52a81a[_0x540b9a(0x2a0)]['x']?_0x540b9a(0x378):_0x540b9a(0x2c4)};}if(_0x1c61ff!=null&&_0x1c61ff[_0x540b9a(0x206)])return xn(_0x3a81b1,_0x343a53);if(!_0x13210f[_0x540b9a(0x19e)])return{'kind':_0x540b9a(0x194)};let _0xa948a2=_0xcc5661[_0x13210f[_0x540b9a(0x19e)]];return _0xa948a2&&_n(_0x3a125e,gn(_0xa948a2,_0x343a53))>0x230?xn(_0x3a81b1,_0x343a53):{'kind':_0x540b9a(0x194)};}function Cn(_0x19057a,_0x1e4fee){const _0x2acbe7=_0x92f39f;var _0x5f3dc5,_0x45665f;return _0x19057a[_0x2acbe7(0x2d3)]===_0x1e4fee||((_0x5f3dc5=_0x5213e3(_0x19057a['element']))==null?void 0x0:_0x5f3dc5['structureScopeId'])===_0x1e4fee||((_0x45665f=_0x4073ed(_0x19057a['element']))==null?void 0x0:_0x45665f[_0x2acbe7(0x3b4)])===_0x1e4fee;}function wn(_0x2e28ad,_0x2a39ae,_0x47d4f0,_0x5c623b){const _0x394e9d=_0x92f39f;let _0x405089=_0x2e28ad[_0x2a39ae];if(!_0x405089)return _0x2e28ad;let _0x2dc326=_0x405089['transform']??_0x405089['element'][_0x394e9d(0x242)]??{};return{..._0x2e28ad,[_0x2a39ae]:{..._0x405089,'transform':{..._0x2dc326,'left':(_0x2dc326[_0x394e9d(0x378)]??0x0)+_0x47d4f0,'top':(_0x2dc326[_0x394e9d(0x1d8)]??0x0)+_0x5c623b},'element':{..._0x405089['element'],'transform':{..._0x405089[_0x394e9d(0x465)][_0x394e9d(0x242)],'left':(_0x405089['element'][_0x394e9d(0x242)][_0x394e9d(0x378)]??0x0)+_0x47d4f0,'top':(_0x405089[_0x394e9d(0x465)][_0x394e9d(0x242)][_0x394e9d(0x1d8)]??0x0)+_0x5c623b}}}};}function Tn(_0x31593c){const _0x5854e9=_0x92f39f;if(!Number[_0x5854e9(0x263)](_0x31593c[_0x5854e9(0x2f2)][_0x5854e9(0x378)])||!Number['isFinite'](_0x31593c['liveRootBounds'][_0x5854e9(0x1d8)])||!Number['isFinite'](_0x31593c[_0x5854e9(0x40c)][_0x5854e9(0x378)])||!Number[_0x5854e9(0x263)](_0x31593c['rootStartBounds'][_0x5854e9(0x1d8)]))return null;let _0x15f930=_0x31593c['liveRootBounds'][_0x5854e9(0x378)]-_0x31593c[_0x5854e9(0x40c)]['left'],_0x1e6fcb=_0x31593c['liveRootBounds'][_0x5854e9(0x1d8)]-_0x31593c[_0x5854e9(0x40c)][_0x5854e9(0x1d8)],_0x4a649=wn(_0x31593c[_0x5854e9(0x2d6)],_0x31593c[_0x5854e9(0x3d0)],_0x15f930,_0x1e6fcb),_0x4a085e=[];return Object[_0x5854e9(0x1f3)](_0x4a649)[_0x5854e9(0x2cc)](_0x106a77=>{const _0x15af08=_0x5854e9;if(_0x106a77[_0x15af08(0x2d3)]===_0x31593c[_0x15af08(0x406)]||_0x106a77[_0x15af08(0x2d3)]===_0x31593c[_0x15af08(0x3d0)]||!Cn(_0x106a77,_0x31593c[_0x15af08(0x3d0)]))return;if(_0x15af08(0x354)in _0x106a77[_0x15af08(0x465)]){var _0x12c069;let _0x2eecc3=(_0x12c069=_0x31593c['elementData'][_0x106a77['elementId']])==null?void 0x0:_0x12c069[_0x15af08(0x465)];_0x2eecc3&&_0x15af08(0x354)in _0x2eecc3&&_0x4a085e[_0x15af08(0x1ee)]({'kind':'connector','elementId':_0x106a77['elementId'],'element':_0x320b9d(_0x2eecc3,{'x':_0x15f930,'y':_0x1e6fcb})});return;}let _0x4f9005=_0x51a7dc(_0x4a649,_0x106a77[_0x15af08(0x2d3)]);_0x4f9005&&_0x4a085e[_0x15af08(0x1ee)]({'kind':'bounds','elementId':_0x106a77[_0x15af08(0x2d3)],'bounds':_0x4f9005});}),{'deltaX':_0x15f930,'deltaY':_0x1e6fcb,'elementData':_0x4a649,'items':_0x4a085e};}let En=class extends _0xb1406a{constructor(_0x534930,_0x20c847,_0x331416,_0x4beba0,_0x2e5f61,_0x39c04d,_0x4fce92){const _0x2cfc44=_0x92f39f;super(),this[_0x2cfc44(0x45a)]=_0x534930,this[_0x2cfc44(0x21c)]=_0x20c847,this[_0x2cfc44(0x15c)]=_0x331416,this[_0x2cfc44(0x282)]=_0x4beba0,this[_0x2cfc44(0x3fd)]=_0x2e5f61,this[_0x2cfc44(0x320)]=_0x39c04d,this['_undoRedoGroupService']=_0x4fce92,K(this,_0x2cfc44(0x1a8),null),K(this,_0x2cfc44(0x46e),null),K(this,_0x2cfc44(0x31d),null),K(this,_0x2cfc44(0x193),!0x1),K(this,_0x2cfc44(0x3c1),null),K(this,_0x2cfc44(0x387),null),K(this,'_attachObjectPointerScheduled',!0x1),K(this,_0x2cfc44(0x200),null),K(this,_0x2cfc44(0x19b),!0x1),this[_0x2cfc44(0x270)]();}[_0x92f39f(0x270)](){const _0x1509f6=_0x92f39f;var _0x417057,_0x13a776,_0x54ba26,_0x38f317,_0x3873f0;let _0xf468e0=this[_0x1509f6(0x45a)][_0x1509f6(0x1ea)][_0x1509f6(0x287)]();this[_0x1509f6(0x307)](_0x594a26(_0xf468e0[_0x1509f6(0x1cc)][_0x1509f6(0x312)](_0x3568ee(this[_0x1509f6(0x203)]))[_0x1509f6(0x457)](()=>{const _0x35f99e=_0x1509f6;this[_0x35f99e(0x1a3)]();}))),this[_0x1509f6(0x307)](_0x594a26(((_0x417057=_0xf468e0[_0x1509f6(0x160)])==null?void 0x0:_0x417057['pipe'](_0x3568ee(this[_0x1509f6(0x203)]))['subscribe'](_0xe2540=>{const _0x316112=_0x1509f6;this[_0x316112(0x15e)](_0xe2540==null?void 0x0:_0xe2540['objects']);}))??{'dispose':()=>{}})),this[_0x1509f6(0x307)](_0x594a26(_0xf468e0[_0x1509f6(0x399)]['pipe'](_0x3568ee(this[_0x1509f6(0x203)]))[_0x1509f6(0x457)](_0x265bea=>{const _0x3d5d4d=_0x1509f6;setTimeout(()=>this[_0x3d5d4d(0x19f)](_0x265bea==null?void 0x0:_0x265bea['objects']),0x0);}))),this[_0x1509f6(0x307)](_0x594a26(((_0x13a776=this[_0x1509f6(0x45a)][_0x1509f6(0x1ea)]['onPointerDown$'])==null?void 0x0:_0x13a776[_0x1509f6(0x1ae)]({'priority':0x3,'next':([_0x6d4b6d])=>this[_0x1509f6(0x297)](_0x6d4b6d)}))??{'dispose':()=>{}})),this[_0x1509f6(0x307)](_0x594a26(((_0x54ba26=this[_0x1509f6(0x45a)][_0x1509f6(0x1ea)][_0x1509f6(0x1ad)])==null?void 0x0:_0x54ba26[_0x1509f6(0x1ae)]({'priority':0x3,'next':([_0x16995c,_0x2cbb4b])=>this[_0x1509f6(0x3db)](_0x16995c,_0x2cbb4b)}))??{'dispose':()=>{}})),this[_0x1509f6(0x307)](_0x594a26(((_0x38f317=this[_0x1509f6(0x45a)][_0x1509f6(0x1ea)][_0x1509f6(0x420)])==null?void 0x0:_0x38f317[_0x1509f6(0x1ae)]({'priority':0x3,'next':([_0x47b177,_0x30a1e9])=>this[_0x1509f6(0x314)](_0x47b177,_0x30a1e9)}))??{'dispose':()=>{}})),this[_0x1509f6(0x307)](_0x594a26(((_0x3873f0=this[_0x1509f6(0x45a)]['scene']['onPointerCancel$'])==null?void 0x0:_0x3873f0[_0x1509f6(0x1ae)]({'priority':0x3,'next':([,_0x37ca6b])=>this['_cancelPointerChildDrag'](_0x37ca6b)}))??{'dispose':()=>{}})),this[_0x1509f6(0x307)](_0x594a26(()=>{const _0x6075a5=_0x1509f6;var _0x480ccb;return(_0x480ccb=this[_0x6075a5(0x387)])==null?void 0x0:_0x480ccb[_0x6075a5(0x340)]();})),this[_0x1509f6(0x307)](_0x594a26(()=>this[_0x1509f6(0x229)]())),this[_0x1509f6(0x3da)](),this[_0x1509f6(0x2b2)](),this['disposeWithMe'](_0x594a26(()=>this[_0x1509f6(0x1a9)]()));}[_0x92f39f(0x3da)](){const _0x1eb835=_0x92f39f;[this[_0x1eb835(0x21c)][_0x1eb835(0x264)],this[_0x1eb835(0x21c)][_0x1eb835(0x2a2)],this[_0x1eb835(0x21c)][_0x1eb835(0x372)]][_0x1eb835(0x2cc)](_0x3ac3cc=>{const _0x5b6dfb=_0x1eb835;this[_0x5b6dfb(0x307)](_0x594a26(_0x3ac3cc['pipe'](_0x3568ee(this[_0x5b6dfb(0x203)]))[_0x5b6dfb(0x457)](()=>{this['_scheduleAttachObjectPointerListeners']();})));}),this[_0x1eb835(0x15c)][_0x1eb835(0x421)]&&this[_0x1eb835(0x307)](_0x594a26(this['_elementStateService'][_0x1eb835(0x421)]['pipe'](_0x3568ee(this[_0x1eb835(0x203)]))[_0x1eb835(0x457)](()=>{const _0x3a83a0=_0x1eb835;this[_0x3a83a0(0x2b2)]();})));}[_0x92f39f(0x2b2)](){const _0x344fc1=_0x92f39f;this['_attachObjectPointerScheduled']||(this[_0x344fc1(0x1c9)]=!0x0,Promise['resolve']()['then'](()=>this[_0x344fc1(0x251)]()));}[_0x92f39f(0x251)](){const _0x46da05=_0x92f39f;var _0x48791f;this[_0x46da05(0x1c9)]=!0x1;let _0xeecb1b=this[_0x46da05(0x39a)](),_0x526f28=this[_0x46da05(0x45a)][_0x46da05(0x1ea)];if(!_0xeecb1b||typeof _0x526f28[_0x46da05(0x400)]!=_0x46da05(0x1a5))return;let _0x3acf52=this[_0x46da05(0x21c)][_0x46da05(0x2bd)](_0xeecb1b['unitId'],_0xeecb1b[_0x46da05(0x1fa)]),_0x2770bd=new _0x54845b();(_0x48791f=this['_objectPointerDisposables'])==null||_0x48791f[_0x46da05(0x340)](),this[_0x46da05(0x387)]=_0x2770bd,Object['values'](_0x3acf52)[_0x46da05(0x2cc)](_0x4e529f=>{const _0x22bb6e=_0x46da05;var _0x514dd4,_0x2eaf2d;let _0x58b7cc=_0x5213e3(_0x4e529f[_0x22bb6e(0x465)]);if(!(_0x58b7cc!=null&&_0x58b7cc['parentNodeId']))return;let _0x358c51=_0x51bae1(_0xeecb1b[_0x22bb6e(0x237)],_0x4e529f[_0x22bb6e(0x2d3)]),_0x129701=((_0x514dd4=_0x526f28['getObjectIncludeInGroup'])==null?void 0x0:_0x514dd4[_0x22bb6e(0x3ec)](_0x526f28,_0x358c51))??((_0x2eaf2d=_0x526f28[_0x22bb6e(0x400)])==null?void 0x0:_0x2eaf2d[_0x22bb6e(0x3ec)](_0x526f28,_0x358c51));_0x129701!=null&&_0x129701[_0x22bb6e(0x343)]&&_0x2770bd[_0x22bb6e(0x227)](_0x129701['onPointerDown$'][_0x22bb6e(0x1ae)]({'priority':-0xa,'next':([_0x445420,_0x4bbef1])=>this[_0x22bb6e(0x297)](_0x445420,{'unitId':_0xeecb1b[_0x22bb6e(0x237)],'subUnitId':_0xeecb1b['subUnitId'],'nodeId':_0x4e529f[_0x22bb6e(0x2d3)]},_0x4bbef1)}));});}[_0x92f39f(0x39a)](){const _0x331abd=_0x92f39f;let _0x21eaaf=this[_0x331abd(0x15c)][_0x331abd(0x2c6)]()[_0x331abd(0x32a)];if(_0x21eaaf)return _0x21eaaf;let _0xe67307=this[_0x331abd(0x45a)][_0x331abd(0x237)],_0x110852=_0xe67307?this[_0x331abd(0x320)]['getUnit'](_0xe67307,_0x597c76[_0x331abd(0x1e4)]):null,_0x507cbe=_0x110852==null?void 0x0:_0x110852['getActivePageId']();return!_0x110852||!_0x507cbe?null:{'unitId':_0x110852[_0x331abd(0x300)](),'subUnitId':_0x507cbe};}[_0x92f39f(0x1a3)](){const _0x15a846=_0x92f39f;let _0x3405a9=this[_0x15a846(0x15c)][_0x15a846(0x2c6)]();this[_0x15a846(0x193)]=!0x1,this[_0x15a846(0x19b)]=!0x1,this[_0x15a846(0x3c1)]=null;let _0xb0e686=_0x3405a9[_0x15a846(0x32a)],_0x112e9a=_0x3405a9['focusedId']??_0x3405a9[_0x15a846(0x351)][0x0];if(!_0xb0e686||!_0x112e9a){this[_0x15a846(0x1a8)]=null,this[_0x15a846(0x1a9)]();return;}let _0x2cbe8e=this[_0x15a846(0x21c)][_0x15a846(0x2bd)](_0xb0e686['unitId'],_0xb0e686[_0x15a846(0x1fa)]);if(_0x3405a9['selectedIds']['length']>0x1){let _0xccdab3=this[_0x15a846(0x3a5)](_0x2cbe8e,_0x3405a9['selectedIds']);if(!_0xccdab3){this['_dragStart']=null,this[_0x15a846(0x1a9)]();return;}let _0x2d279b=_0x2cbe8e[_0xccdab3['rootNodeId']],_0x2c33e8=_0x51a7dc(_0x2cbe8e,_0xccdab3[_0x15a846(0x406)]),_0x32518c=_0x2d279b[_0x15a846(0x465)][_0x15a846(0x242)];this[_0x15a846(0x1a8)]={'kind':'scope','unitId':_0xb0e686['unitId'],'subUnitId':_0xb0e686[_0x15a846(0x1fa)],'nodeId':_0xccdab3[_0x15a846(0x406)],'scopeId':_0xccdab3[_0x15a846(0x3d0)],'left':(_0x2c33e8==null?void 0x0:_0x2c33e8[_0x15a846(0x378)])??_0x32518c[_0x15a846(0x378)]??0x0,'top':(_0x2c33e8==null?void 0x0:_0x2c33e8[_0x15a846(0x1d8)])??_0x32518c[_0x15a846(0x1d8)]??0x0,'width':(_0x2c33e8==null?void 0x0:_0x2c33e8[_0x15a846(0x389)])??_0x32518c[_0x15a846(0x389)]??0x0,'height':(_0x2c33e8==null?void 0x0:_0x2c33e8[_0x15a846(0x1fe)])??_0x32518c['height']??0x0,'elementData':_0x2cbe8e};return;}let _0x3d2515=_0x2cbe8e[_0x112e9a],_0x120759=_0x5213e3(_0x3d2515==null?void 0x0:_0x3d2515[_0x15a846(0x465)]);if(!_0x3d2515||!_0x120759){this[_0x15a846(0x1a8)]=null,this[_0x15a846(0x1a9)]();return;}let _0x109485=_0x51a7dc(_0x2cbe8e,_0x112e9a),_0x47602d=_0x3d2515[_0x15a846(0x465)][_0x15a846(0x242)];this[_0x15a846(0x1a8)]={'kind':_0x120759['parentNodeId']===null?'root':'child','unitId':_0xb0e686['unitId'],'subUnitId':_0xb0e686['subUnitId'],'nodeId':_0x112e9a,'scopeId':_0x120759[_0x15a846(0x3b4)],'left':(_0x109485==null?void 0x0:_0x109485[_0x15a846(0x378)])??_0x47602d['left']??0x0,'top':(_0x109485==null?void 0x0:_0x109485['top'])??_0x47602d[_0x15a846(0x1d8)]??0x0,'width':(_0x109485==null?void 0x0:_0x109485[_0x15a846(0x389)])??_0x47602d[_0x15a846(0x389)]??0x0,'height':(_0x109485==null?void 0x0:_0x109485[_0x15a846(0x1fe)])??_0x47602d[_0x15a846(0x1fe)]??0x0,'elementData':_0x2cbe8e};}['_resolveCompleteSelectedScope'](_0x21707e,_0x1124f0){const _0x385005=_0x92f39f;let _0x54a5de=new Set(_0x1124f0),_0x550561=_0x1124f0['map'](_0x1283f5=>{const _0x2e8e1f=_0x25f1;var _0x20943c,_0x39c82e,_0x2f85af,_0xd797a9;let _0x42480d=(_0x20943c=_0x21707e[_0x1283f5])==null?void 0x0:_0x20943c[_0x2e8e1f(0x465)];return((_0x39c82e=_0x5213e3(_0x42480d))==null?void 0x0:_0x39c82e['structureScopeId'])??((_0x2f85af=_0x4073ed(_0x42480d))==null?void 0x0:_0x2f85af[_0x2e8e1f(0x3b4)])??((_0xd797a9=_0x25a48f(_0x42480d))==null?void 0x0:_0xd797a9['structureScopeId'])??null;});if(_0x550561['some'](_0x44ddf9=>_0x44ddf9===null)||new Set(_0x550561)['size']!==0x1)return null;let _0x503e49=_0x550561[0x0];if(!_0x503e49)return null;let _0x23c5fa=Object[_0x385005(0x1f3)](_0x21707e)[_0x385005(0x277)](_0x2f62c6=>{const _0x33db44=_0x385005;var _0x99f56c;return _0x2f62c6[_0x33db44(0x465)][_0x33db44(0x1d7)]!==!0x1&&((_0x99f56c=_0x5213e3(_0x2f62c6[_0x33db44(0x465)]))==null?void 0x0:_0x99f56c[_0x33db44(0x3b4)])===_0x503e49;});if(_0x23c5fa[_0x385005(0x33b)]===0x0||_0x23c5fa[_0x385005(0x28c)](_0x23bbff=>!_0x54a5de['has'](_0x23bbff[_0x385005(0x2d3)])))return null;let _0x150ac1=_0x23c5fa[_0x385005(0x277)](_0x54ea32=>{const _0x54bc56=_0x385005;var _0x371a29;return((_0x371a29=_0x5213e3(_0x54ea32[_0x54bc56(0x465)]))==null?void 0x0:_0x371a29[_0x54bc56(0x19e)])===null;});return _0x150ac1[_0x385005(0x33b)]===0x1?{'rootNodeId':_0x150ac1[0x0][_0x385005(0x2d3)],'scopeId':_0x503e49}:null;}[_0x92f39f(0x297)](_0x24e216,_0x4e08f8,_0x44cb76){const _0x196506=_0x92f39f;var _0x12b691,_0x139eeb,_0x9af653,_0x3e63d6,_0x2c9bb3;if(this['_uiStateService'][_0x196506(0x18a)]()[_0x196506(0x29c)]===_0x196506(0x41c)||(_0x24e216[_0x196506(0x438)]??0x0)!==0x0)return;let _0x159fda=this['_elementStateService'][_0x196506(0x2c6)]();if(_0x159fda[_0x196506(0x17f)]){this['_pointerDragStart']=null;return;}let _0x906b1b=_0x4e08f8?{'unitId':_0x4e08f8['unitId'],'subUnitId':_0x4e08f8[_0x196506(0x1fa)]}:_0x159fda[_0x196506(0x32a)]??this[_0x196506(0x39a)](),_0x31e4f8=(_0x4e08f8==null?void 0x0:_0x4e08f8[_0x196506(0x405)])??(_0x159fda[_0x196506(0x351)][_0x196506(0x33b)]===0x1?_0x159fda[_0x196506(0x25b)]??_0x159fda[_0x196506(0x351)][0x0]:void 0x0);if(!_0x906b1b){this[_0x196506(0x46e)]=null;return;}let _0x244cef=this[_0x196506(0x21c)][_0x196506(0x2bd)](_0x906b1b[_0x196506(0x237)],_0x906b1b['subUnitId']),_0xee7e2=this[_0x196506(0x433)](_0x24e216);if(!_0x4e08f8){let _0xdb4530=_0x31e4f8?_0x244cef[_0x31e4f8]:null,_0x161ffa=_0x5213e3(_0xdb4530==null?void 0x0:_0xdb4530[_0x196506(0x465)]),_0x508d97=_0x31e4f8?_0x51a7dc(_0x244cef,_0x31e4f8)??(_0xdb4530==null?void 0x0:_0xdb4530['element'][_0x196506(0x242)]):null;(!(_0x161ffa!=null&&_0x161ffa[_0x196506(0x19e)])||!_0x508d97||!this[_0x196506(0x431)](_0xee7e2,{'left':_0x508d97[_0x196506(0x378)]??0x0,'top':_0x508d97['top']??0x0,'width':_0x508d97[_0x196506(0x389)]??0x0,'height':_0x508d97[_0x196506(0x1fe)]??0x0}))&&(_0x31e4f8=this[_0x196506(0x441)](_0x244cef,_0xee7e2));}if(!_0x31e4f8){this['_pointerDragStart']=null;return;}let _0x25aa82=_0x244cef[_0x31e4f8],_0x3f68c9=_0x5213e3(_0x25aa82==null?void 0x0:_0x25aa82[_0x196506(0x465)]);if(!_0x25aa82||!(_0x3f68c9!=null&&_0x3f68c9['parentNodeId'])){this[_0x196506(0x46e)]=null;return;}this[_0x196506(0x320)][_0x196506(0x3c3)](_0x906b1b['unitId']),(_0x12b691=this[_0x196506(0x45a)][_0x196506(0x377)])==null||(_0x139eeb=_0x12b691[_0x196506(0x240)])==null||(_0x139eeb=_0x139eeb['call'](_0x12b691))==null||(_0x9af653=_0x139eeb[_0x196506(0x22b)])==null||_0x9af653[_0x196506(0x3ec)](_0x139eeb,{'preventScroll':!0x0}),(_0x3e63d6=(_0x2c9bb3=this[_0x196506(0x15c)])[_0x196506(0x2ff)])==null||_0x3e63d6[_0x196506(0x3ec)](_0x2c9bb3,_0x906b1b,[_0x31e4f8],_0x31e4f8),_0x44cb76==null||_0x44cb76['stopPropagation']();let _0x4f0990=_0x51a7dc(_0x244cef,_0x31e4f8),_0x4ffbb0=_0x25aa82['element']['transform'],_0x5b308b={'left':(_0x4f0990==null?void 0x0:_0x4f0990[_0x196506(0x378)])??_0x4ffbb0['left']??0x0,'top':(_0x4f0990==null?void 0x0:_0x4f0990[_0x196506(0x1d8)])??_0x4ffbb0[_0x196506(0x1d8)]??0x0,'width':(_0x4f0990==null?void 0x0:_0x4f0990[_0x196506(0x389)])??_0x4ffbb0[_0x196506(0x389)]??0x0,'height':(_0x4f0990==null?void 0x0:_0x4f0990[_0x196506(0x1fe)])??_0x4ffbb0[_0x196506(0x1fe)]??0x0};if(!_0x4e08f8&&!this['_isPointInBounds'](_0xee7e2,_0x5b308b)){this[_0x196506(0x46e)]=null;return;}let _0x19e182=this[_0x196506(0x450)](_0x24e216);this[_0x196506(0x193)]=!0x1,this[_0x196506(0x19b)]=!0x1,this[_0x196506(0x3c1)]=null,this[_0x196506(0x46e)]={'kind':_0x196506(0x3e9),'unitId':_0x906b1b[_0x196506(0x237)],'subUnitId':_0x906b1b['subUnitId'],'nodeId':_0x31e4f8,'scopeId':_0x3f68c9[_0x196506(0x3b4)],..._0x5b308b,'pointerStartX':_0x19e182['x'],'pointerStartY':_0x19e182['y'],'elementData':_0x244cef},this['_attachActivePointerDragListeners'](),this[_0x196506(0x2e3)](_0x24e216,_0x44cb76);}[_0x92f39f(0x3db)](_0x2bfbee,_0x2c58ba){const _0x402dd0=_0x92f39f;var _0x1514e2,_0x5e16b6;let _0x30464a=this[_0x402dd0(0x46e)];if(!_0x30464a||_0x2bfbee['buttons']!==void 0x0&&_0x2bfbee[_0x402dd0(0x278)]!==0x1)return;let _0x1ccc1c=this[_0x402dd0(0x1af)](_0x2bfbee,_0x30464a);if(!this['_isChildDragPastActivationThreshold'](_0x30464a,_0x1ccc1c))return;this[_0x402dd0(0x193)]||this[_0x402dd0(0x32d)](),this[_0x402dd0(0x193)]=!0x0;let _0x499579=this[_0x402dd0(0x3a2)](_0x30464a[_0x402dd0(0x2d6)],_0x30464a[_0x402dd0(0x405)],_0x1ccc1c),_0x54453a=Sn(_0x30464a[_0x402dd0(0x2d6)],_0x30464a['nodeId'],{'boundsByElementId':_0x499579,'detachWhenNoSnap':!0x0});this['_lastChildDragAction']=_0x54453a,this[_0x402dd0(0x180)](_0x1ccc1c,_0x54453a,_0x499579),this[_0x402dd0(0x2e3)](_0x2bfbee,_0x2c58ba),this[_0x402dd0(0x45a)][_0x402dd0(0x1ea)][_0x402dd0(0x3dc)](!0x0),(_0x1514e2=(_0x5e16b6=this[_0x402dd0(0x45a)][_0x402dd0(0x1ea)])[_0x402dd0(0x3f9)])==null||_0x1514e2[_0x402dd0(0x3ec)](_0x5e16b6);}[_0x92f39f(0x314)](_0x30a896,_0x4ef22a){const _0x3d1b2a=_0x92f39f;let _0x3202ea=this[_0x3d1b2a(0x46e)];if(!_0x3202ea)return;if(this[_0x3d1b2a(0x46e)]=null,this[_0x3d1b2a(0x229)](),this['_removeDragPreviewObject'](),!this[_0x3d1b2a(0x193)]){this[_0x3d1b2a(0x3c1)]=null;return;}let _0xa23b12=this[_0x3d1b2a(0x21c)][_0x3d1b2a(0x2bd)](_0x3202ea['unitId'],_0x3202ea[_0x3d1b2a(0x1fa)]),_0x4c0fe2=this['_getPointerLiveBounds'](_0x30a896,_0x3202ea),_0x568131=this[_0x3d1b2a(0x3a2)](_0xa23b12,_0x3202ea[_0x3d1b2a(0x405)],_0x4c0fe2),_0x1106e7=Sn(_0xa23b12,_0x3202ea['nodeId'],{'boundsByElementId':_0x568131,'detachWhenNoSnap':!0x0});this[_0x3d1b2a(0x3c1)]=null,this[_0x3d1b2a(0x26a)](_0x3202ea[_0x3d1b2a(0x237)],_0x3202ea[_0x3d1b2a(0x1fa)],_0x3202ea[_0x3d1b2a(0x405)],_0xa23b12,_0x1106e7),this[_0x3d1b2a(0x19b)]=!0x1,this['_consumePointerEvent'](_0x30a896,_0x4ef22a);}[_0x92f39f(0x1dc)](_0x5484fa){const _0xb0c1c4=_0x92f39f;let _0x52339b=this[_0xb0c1c4(0x46e)];if(_0x52339b){if(this[_0xb0c1c4(0x46e)]=null,this['_disposeActivePointerDragListeners'](),this[_0xb0c1c4(0x193)]=!0x1,this[_0xb0c1c4(0x3c1)]=null,this[_0xb0c1c4(0x1a9)](),this[_0xb0c1c4(0x19b)]){var _0x5f0696,_0x316500;(_0x5f0696=(_0x316500=this['_elementStateService'])[_0xb0c1c4(0x2ff)])==null||_0x5f0696['call'](_0x316500,{'unitId':_0x52339b['unitId'],'subUnitId':_0x52339b['subUnitId']},[_0x52339b['nodeId']],_0x52339b[_0xb0c1c4(0x405)]),this[_0xb0c1c4(0x19b)]=!0x1;}_0x5484fa==null||_0x5484fa[_0xb0c1c4(0x30f)]();}}[_0x92f39f(0x3a1)](){const _0x17718c=_0x92f39f;this['_disposeActivePointerDragListeners']();let _0x315f84=typeof window>'u'?null:window;if(!(_0x315f84!=null&&_0x315f84['addEventListener']))return;let _0x1fe1ca=new _0x54845b(),_0x1b765d=_0x26632d=>this['_syncPointerChildDragPreview'](_0x26632d),_0x456ae2=_0x140353=>this[_0x17718c(0x314)](_0x140353),_0x42c24c=()=>this['_cancelPointerChildDrag']();_0x315f84[_0x17718c(0x3af)](_0x17718c(0x260),_0x1b765d,{'capture':!0x0}),_0x315f84['addEventListener'](_0x17718c(0x1b6),_0x456ae2,{'capture':!0x0}),_0x315f84[_0x17718c(0x3af)](_0x17718c(0x44e),_0x42c24c,{'capture':!0x0}),_0x1fe1ca[_0x17718c(0x227)](_0x594a26(()=>{const _0x3bd9ca=_0x17718c;_0x315f84[_0x3bd9ca(0x162)](_0x3bd9ca(0x260),_0x1b765d,{'capture':!0x0}),_0x315f84[_0x3bd9ca(0x162)](_0x3bd9ca(0x1b6),_0x456ae2,{'capture':!0x0}),_0x315f84[_0x3bd9ca(0x162)](_0x3bd9ca(0x44e),_0x42c24c,{'capture':!0x0});})),this[_0x17718c(0x200)]=_0x1fe1ca;}[_0x92f39f(0x441)](_0x1c490d,_0x24db5e){const _0x38a0bb=_0x92f39f;let _0x16caf1=Object[_0x38a0bb(0x1f3)](_0x1c490d);for(let _0x587713=_0x16caf1[_0x38a0bb(0x33b)]-0x1;_0x587713>=0x0;--_0x587713){let _0x17940a=_0x16caf1[_0x587713],_0x508d19=_0x5213e3(_0x17940a['element']);if(!(_0x508d19!=null&&_0x508d19['parentNodeId']))continue;let _0x9ea9f3=_0x51a7dc(_0x1c490d,_0x17940a['elementId'])??_0x17940a[_0x38a0bb(0x465)][_0x38a0bb(0x242)];if(this[_0x38a0bb(0x431)](_0x24db5e,{'left':_0x9ea9f3[_0x38a0bb(0x378)]??0x0,'top':_0x9ea9f3['top']??0x0,'width':_0x9ea9f3[_0x38a0bb(0x389)]??0x0,'height':_0x9ea9f3[_0x38a0bb(0x1fe)]??0x0}))return _0x17940a[_0x38a0bb(0x2d3)];}}[_0x92f39f(0x229)](){const _0x3178ef=_0x92f39f;var _0x54cccb;(_0x54cccb=this['_activePointerDragDisposables'])==null||_0x54cccb['dispose'](),this[_0x3178ef(0x200)]=null;}['_syncDragPreview'](_0xcec347){const _0x227651=_0x92f39f;let _0x4669a7=this[_0x227651(0x1a8)];if(_0x4669a7){if((_0x4669a7['kind']===_0x227651(0x36f)||_0x4669a7[_0x227651(0x45c)]==='scope')&&this[_0x227651(0x1d1)](_0xcec347),_0x4669a7[_0x227651(0x45c)]===_0x227651(0x36f)){this[_0x227651(0x22a)](_0xcec347);return;}this['_syncChildDragPreview'](_0xcec347);}}[_0x92f39f(0x1d1)](_0x2b0680){const _0x3854e8=_0x92f39f;let _0x5aba51=this[_0x3854e8(0x1a8)];if(!_0x5aba51||_0x5aba51[_0x3854e8(0x45c)]!=='root'&&_0x5aba51[_0x3854e8(0x45c)]!==_0x3854e8(0x460))return;let _0x4110c1=_0x2b0680==null?void 0x0:_0x2b0680[_0x3854e8(0x2ba)](_0x51bae1(_0x5aba51['unitId'],_0x5aba51[_0x3854e8(0x405)]));if(!_0x4110c1||!Number['isFinite'](_0x4110c1[_0x3854e8(0x378)])||!Number[_0x3854e8(0x263)](_0x4110c1['top']))return;let _0x40bbeb=Tn({'elementData':_0x5aba51[_0x3854e8(0x2d6)],'rootNodeId':_0x5aba51[_0x3854e8(0x405)],'scopeId':_0x5aba51['scopeId'],'rootStartBounds':{'left':_0x5aba51['left'],'top':_0x5aba51['top']},'liveRootBounds':{'left':_0x4110c1[_0x3854e8(0x378)],'top':_0x4110c1['top']}});if(!_0x40bbeb)return;let _0x374002=this[_0x3854e8(0x45a)][_0x3854e8(0x1ea)],_0x57cc1e=_0x374002,_0x5c39a2=!0x1;_0x40bbeb['items']['forEach'](_0x27af8c=>{const _0x567677=_0x3854e8;var _0x4320f4;let _0x1bbda6=_0x51bae1(_0x5aba51[_0x567677(0x237)],_0x27af8c[_0x567677(0x2d3)]),_0x40d618=((_0x4320f4=_0x57cc1e['getObjectIncludeInGroup'])==null?void 0x0:_0x4320f4[_0x567677(0x3ec)](_0x57cc1e,_0x1bbda6))??_0x374002['getObject'](_0x1bbda6);if(_0x40d618){if(_0x27af8c['kind']===_0x567677(0x1c1)&&typeof _0x40d618[_0x567677(0x32e)]==_0x567677(0x1a5)){_0x40d618[_0x567677(0x32e)](_0x27af8c[_0x567677(0x465)],_0x40bbeb[_0x567677(0x2d6)]),_0x5c39a2=!0x0;return;}_0x27af8c[_0x567677(0x45c)]===_0x567677(0x1ef)&&(_0x40d618[_0x567677(0x412)](_0x27af8c[_0x567677(0x1ef)]),typeof _0x40d618[_0x567677(0x21d)]==_0x567677(0x1a5)?_0x40d618[_0x567677(0x21d)](!0x0):_0x40d618[_0x567677(0x3dc)](!0x0),_0x5c39a2=!0x0);}}),_0x5c39a2&&_0x374002['makeDirty'](!0x0);}[_0x92f39f(0x22a)](_0x46c268){const _0x39702e=_0x92f39f;var _0x5a5095,_0x49e18f;let _0x9fbc00=this['_dragStart'];if(!_0x9fbc00||_0x9fbc00[_0x39702e(0x45c)]!==_0x39702e(0x36f))return;let _0xc39e4d=_0x46c268==null?void 0x0:_0x46c268[_0x39702e(0x2ba)](_0x51bae1(_0x9fbc00['unitId'],_0x9fbc00[_0x39702e(0x405)]));if(!_0xc39e4d||!Number[_0x39702e(0x263)](_0xc39e4d[_0x39702e(0x378)])||!Number['isFinite'](_0xc39e4d[_0x39702e(0x1d8)])){this[_0x39702e(0x1a9)]();return;}let _0x4625fa=this[_0x39702e(0x2ac)](_0xc39e4d,_0x9fbc00),_0x2fd898=this[_0x39702e(0x3a2)](_0x9fbc00[_0x39702e(0x2d6)],_0x9fbc00['nodeId'],_0x4625fa),_0x5e7983=Sn(_0x9fbc00['elementData'],_0x9fbc00[_0x39702e(0x405)],{'boundsByElementId':_0x2fd898,'allowRootReparent':!0x0});if(_0x5e7983[_0x39702e(0x45c)]!==_0x39702e(0x3f8)){this[_0x39702e(0x1a9)]();return;}let _0x595e5f=this[_0x39702e(0x269)]();_0x595e5f&&(_0x595e5f[_0x39702e(0x40b)]({'ghostBounds':_0x4625fa,'sourceBounds':null,'parentBounds':_0x2fd898[_0x5e7983['newParentNodeId']],'side':_0x5e7983[_0x39702e(0x44d)],'textStyle':void 0x0,'renderGhostNode':!0x1}),this[_0x39702e(0x45a)]['scene'][_0x39702e(0x3dc)](!0x0),(_0x5a5095=(_0x49e18f=this[_0x39702e(0x45a)]['scene'])[_0x39702e(0x3f9)])==null||_0x5a5095['call'](_0x49e18f));}[_0x92f39f(0x35e)](_0x3e0ee6){const _0x22bee0=_0x92f39f;var _0x4a1b99,_0x48f9a6;let _0x3b1b6e=this[_0x22bee0(0x1a8)];if(!_0x3b1b6e||_0x3b1b6e[_0x22bee0(0x45c)]!==_0x22bee0(0x3e9))return;let _0x10703a=_0x3e0ee6==null?void 0x0:_0x3e0ee6[_0x22bee0(0x2ba)](_0x51bae1(_0x3b1b6e[_0x22bee0(0x237)],_0x3b1b6e['nodeId']));if(!_0x10703a){this['_removeDragPreviewObject']();return;}let _0x2d833e=this[_0x22bee0(0x2ac)](_0x10703a,_0x3b1b6e);if(!this[_0x22bee0(0x3f6)](_0x3b1b6e,_0x2d833e)){this[_0x22bee0(0x3c1)]=null,this[_0x22bee0(0x1a9)](),this[_0x22bee0(0x31f)](_0x10703a,_0x3b1b6e),this[_0x22bee0(0x45a)][_0x22bee0(0x1ea)]['makeDirty'](!0x0);return;}this['_childDragActivated']||this[_0x22bee0(0x32d)](),this[_0x22bee0(0x193)]=!0x0;let _0x5d04c8=this['_createTopologyBoundsByElementId'](_0x3b1b6e['elementData'],_0x3b1b6e[_0x22bee0(0x405)],_0x2d833e),_0x2e7407=Sn(_0x3b1b6e[_0x22bee0(0x2d6)],_0x3b1b6e['nodeId'],{'boundsByElementId':_0x5d04c8,'detachWhenNoSnap':!0x0});this[_0x22bee0(0x3c1)]=_0x2e7407,this[_0x22bee0(0x180)](_0x2d833e,_0x2e7407,_0x5d04c8),this[_0x22bee0(0x31f)](_0x10703a,_0x3b1b6e),this[_0x22bee0(0x45a)][_0x22bee0(0x1ea)]['makeDirty'](!0x0),(_0x4a1b99=(_0x48f9a6=this['_renderContext'][_0x22bee0(0x1ea)])['requestRender'])==null||_0x4a1b99['call'](_0x48f9a6);}[_0x92f39f(0x19f)](_0x2e3838){const _0xdfdbab=_0x92f39f;var _0x2b71fc;let _0x16f5fa=this['_elementStateService'][_0xdfdbab(0x2c6)](),_0xafe648=_0x16f5fa[_0xdfdbab(0x32a)],_0xc3a2b3=_0x16f5fa[_0xdfdbab(0x25b)]??_0x16f5fa[_0xdfdbab(0x351)][0x0];if(_0xafe648&&((_0x2b71fc=this[_0xdfdbab(0x1a8)])==null?void 0x0:_0x2b71fc[_0xdfdbab(0x45c)])===_0xdfdbab(0x460)){this['_removeDragPreviewObject'](),this[_0xdfdbab(0x43d)](_0xafe648[_0xdfdbab(0x237)],_0xafe648[_0xdfdbab(0x1fa)],_0x2e3838);return;}if(!_0xafe648||!_0xc3a2b3||_0x16f5fa[_0xdfdbab(0x351)][_0xdfdbab(0x33b)]!==0x1){this[_0xdfdbab(0x1a9)](),this[_0xdfdbab(0x1a8)]=null;return;}this[_0xdfdbab(0x1a9)]();let _0x33ebc9=this[_0xdfdbab(0x21c)]['getElementData'](_0xafe648[_0xdfdbab(0x237)],_0xafe648[_0xdfdbab(0x1fa)]);if(this[_0xdfdbab(0x217)](_0xafe648[_0xdfdbab(0x237)],_0xafe648[_0xdfdbab(0x1fa)],_0xc3a2b3,_0x33ebc9,_0x2e3838))return;let _0xd1dc46=this[_0xdfdbab(0x3c2)](_0xafe648['unitId'],_0xafe648[_0xdfdbab(0x1fa)],_0xc3a2b3,_0x33ebc9,_0x2e3838);this[_0xdfdbab(0x26a)](_0xafe648['unitId'],_0xafe648[_0xdfdbab(0x1fa)],_0xc3a2b3,_0x33ebc9,_0xd1dc46);}[_0x92f39f(0x43d)](_0x15c41c,_0x148868,_0x396534){const _0x3e109c=_0x92f39f;let _0x25746c=this[_0x3e109c(0x1a8)];if(this['_dragStart']=null,!_0x25746c||_0x25746c[_0x3e109c(0x45c)]!=='scope'||_0x25746c[_0x3e109c(0x237)]!==_0x15c41c||_0x25746c[_0x3e109c(0x1fa)]!==_0x148868)return;let _0xa1ceec=_0x396534==null?void 0x0:_0x396534[_0x3e109c(0x2ba)](_0x51bae1(_0x15c41c,_0x25746c[_0x3e109c(0x405)])),_0x472fd6=_0xa1ceec&&Number['isFinite'](_0xa1ceec['left'])?_0xa1ceec[_0x3e109c(0x378)]??_0x25746c[_0x3e109c(0x378)]:_0x25746c['left'],_0x412f82=_0xa1ceec&&Number[_0x3e109c(0x263)](_0xa1ceec[_0x3e109c(0x1d8)])?_0xa1ceec['top']??_0x25746c[_0x3e109c(0x1d8)]:_0x25746c[_0x3e109c(0x1d8)],_0x510822=_0x472fd6-_0x25746c[_0x3e109c(0x378)],_0x4a1d86=_0x412f82-_0x25746c[_0x3e109c(0x1d8)];(_0x510822!==0x0||_0x4a1d86!==0x0)&&this[_0x3e109c(0x282)]['executeCommand'](_0x34ffa9['id'],{'unitId':_0x15c41c,'subUnitId':_0x148868,'scopeId':_0x25746c[_0x3e109c(0x3d0)],'deltaX':_0x510822,'deltaY':_0x4a1d86});}[_0x92f39f(0x26a)](_0x3dc576,_0x3af891,_0xf6fc9c,_0x52c243,_0x4c4800){const _0x31fab5=_0x92f39f;if(_0x4c4800[_0x31fab5(0x45c)]===_0x31fab5(0x3f8)){var _0x15da73,_0xd7ce6d;let _0x45cbd8=_0x5213e3((_0x15da73=_0x52c243[_0xf6fc9c])==null?void 0x0:_0x15da73[_0x31fab5(0x465)]),_0x65e175=_0x5213e3((_0xd7ce6d=_0x52c243[_0x4c4800[_0x31fab5(0x2fc)]])==null?void 0x0:_0xd7ce6d[_0x31fab5(0x465)]);this[_0x31fab5(0x25c)](_0x402e5b['id'],{'unitId':_0x3dc576,'subUnitId':_0x3af891,'nodeId':_0xf6fc9c,'newParentNodeId':_0x4c4800[_0x31fab5(0x2fc)],'side':_0x4c4800[_0x31fab5(0x44d)],..._0x4c4800[_0x31fab5(0x31c)]?{'referenceNodeId':_0x4c4800[_0x31fab5(0x31c)]}:null,..._0x4c4800[_0x31fab5(0x27d)]?{'placement':_0x4c4800[_0x31fab5(0x27d)]}:null},[_0x45cbd8==null?void 0x0:_0x45cbd8[_0x31fab5(0x3b4)],_0x65e175==null?void 0x0:_0x65e175[_0x31fab5(0x3b4)]],_0xf6fc9c);return;}if(_0x4c4800[_0x31fab5(0x45c)]===_0x31fab5(0x2a6)){var _0x3ec168;let _0x152631=_0x5213e3((_0x3ec168=_0x52c243[_0xf6fc9c])==null?void 0x0:_0x3ec168[_0x31fab5(0x465)]);this[_0x31fab5(0x25c)](_0x2b135b['id'],{'unitId':_0x3dc576,'subUnitId':_0x3af891,'nodeId':_0xf6fc9c,...Number['isFinite'](_0x4c4800[_0x31fab5(0x378)])?{'left':_0x4c4800[_0x31fab5(0x378)]}:null,...Number['isFinite'](_0x4c4800[_0x31fab5(0x1d8)])?{'top':_0x4c4800[_0x31fab5(0x1d8)]}:null},[_0x152631==null?void 0x0:_0x152631[_0x31fab5(0x3b4)]],_0xf6fc9c);}}[_0x92f39f(0x217)](_0x1335e0,_0x55acfe,_0x41316b,_0x55bae5,_0x956445){const _0xb679a5=_0x92f39f;let _0x22fcf0=this[_0xb679a5(0x1a8)];if((_0x22fcf0==null?void 0x0:_0x22fcf0[_0xb679a5(0x45c)])===_0xb679a5(0x36f)&&(this[_0xb679a5(0x1a8)]=null),!_0x22fcf0||_0x22fcf0[_0xb679a5(0x237)]!==_0x1335e0||_0x22fcf0[_0xb679a5(0x1fa)]!==_0x55acfe||_0x22fcf0[_0xb679a5(0x405)]!==_0x41316b)return!0x1;let _0x5a01f5=_0x55bae5[_0x41316b],_0x340787=_0x5213e3(_0x5a01f5==null?void 0x0:_0x5a01f5[_0xb679a5(0x465)]);if(!_0x5a01f5||!_0x340787||_0x340787[_0xb679a5(0x19e)]!==null)return!0x1;let _0x13b5d5=_0x956445==null?void 0x0:_0x956445['get'](_0x51bae1(_0x1335e0,_0x41316b)),_0x3f307b=_0x51a7dc(_0x55bae5,_0x41316b),_0xe2a970=Number[_0xb679a5(0x263)](_0x13b5d5==null?void 0x0:_0x13b5d5[_0xb679a5(0x378)])?_0x13b5d5[_0xb679a5(0x378)]:(_0x3f307b==null?void 0x0:_0x3f307b[_0xb679a5(0x378)])??_0x5a01f5[_0xb679a5(0x465)][_0xb679a5(0x242)]['left']??0x0,_0x40ef84=Number[_0xb679a5(0x263)](_0x13b5d5==null?void 0x0:_0x13b5d5['top'])?_0x13b5d5[_0xb679a5(0x1d8)]:(_0x3f307b==null?void 0x0:_0x3f307b[_0xb679a5(0x1d8)])??_0x5a01f5[_0xb679a5(0x465)]['transform']['top']??0x0,_0x43aed1=_0xe2a970-_0x22fcf0['left'],_0x13afb9=_0x40ef84-_0x22fcf0[_0xb679a5(0x1d8)];if(_0x43aed1===0x0&&_0x13afb9===0x0)return!0x0;let _0x4ec2d3={'left':_0xe2a970,'top':_0x40ef84,'width':Number[_0xb679a5(0x263)](_0x13b5d5==null?void 0x0:_0x13b5d5[_0xb679a5(0x389)])?_0x13b5d5[_0xb679a5(0x389)]:_0x22fcf0['width'],'height':Number[_0xb679a5(0x263)](_0x13b5d5==null?void 0x0:_0x13b5d5[_0xb679a5(0x1fe)])?_0x13b5d5[_0xb679a5(0x1fe)]:_0x22fcf0[_0xb679a5(0x1fe)]},_0x50c0bb=Sn(_0x55bae5,_0x41316b,{'boundsByElementId':this[_0xb679a5(0x3a2)](_0x55bae5,_0x41316b,_0x4ec2d3),'allowRootReparent':!0x0});if(_0x50c0bb[_0xb679a5(0x45c)]===_0xb679a5(0x3f8))return this[_0xb679a5(0x26a)](_0x1335e0,_0x55acfe,_0x41316b,_0x55bae5,_0x50c0bb),!0x0;let _0x51375c=!!_0x3f307b&&Math[_0xb679a5(0x1dd)](_0x3f307b[_0xb679a5(0x378)]-_0xe2a970)<0.001&&Math[_0xb679a5(0x1dd)](_0x3f307b[_0xb679a5(0x1d8)]-_0x40ef84)<0.001;return this[_0xb679a5(0x282)][_0xb679a5(0x1b1)](_0x34ffa9['id'],{'unitId':_0x1335e0,'subUnitId':_0x55acfe,'scopeId':_0x22fcf0['scopeId'],'deltaX':_0x43aed1,'deltaY':_0x13afb9,..._0x51375c?{'excludeElementIds':[_0x41316b],'preserveExcludedWorldTransforms':!0x0}:null}),!0x0;}[_0x92f39f(0x3c2)](_0x5054c6,_0x4012b5,_0x525d69,_0x4552a1,_0x5d4f34){const _0x2ab996=_0x92f39f;let _0x3226da=this[_0x2ab996(0x1a8)];if(!_0x3226da||_0x3226da[_0x2ab996(0x45c)]!=='child'||_0x3226da[_0x2ab996(0x237)]!==_0x5054c6||_0x3226da[_0x2ab996(0x1fa)]!==_0x4012b5||_0x3226da['nodeId']!==_0x525d69)return{'kind':_0x2ab996(0x194)};this[_0x2ab996(0x1a8)]=null;let _0x4d8fc8=_0x5d4f34==null?void 0x0:_0x5d4f34[_0x2ab996(0x2ba)](_0x51bae1(_0x5054c6,_0x525d69));if(!this[_0x2ab996(0x193)])return _0x4d8fc8&&this[_0x2ab996(0x31f)](_0x4d8fc8,_0x3226da),this[_0x2ab996(0x3c1)]=null,{'kind':'none'};if(!_0x4d8fc8){let _0x49acf1=this['_lastChildDragAction']??{'kind':_0x2ab996(0x194)};return this[_0x2ab996(0x3c1)]=null,_0x49acf1;}let _0x4e7a17=this[_0x2ab996(0x2ac)](_0x4d8fc8,_0x3226da);if(this[_0x2ab996(0x31f)](_0x4d8fc8,_0x3226da),!this[_0x2ab996(0x3f6)](_0x3226da,_0x4e7a17))return this['_lastChildDragAction']=null,{'kind':'none'};let _0x54de33=Sn(_0x4552a1,_0x525d69,{'boundsByElementId':this[_0x2ab996(0x3a2)](_0x4552a1,_0x525d69,_0x4e7a17),'detachWhenNoSnap':!0x0});return this[_0x2ab996(0x3c1)]=null,_0x54de33;}[_0x92f39f(0x3f6)](_0x343d9b,_0xf711d7){const _0x1a9cd0=_0x92f39f;let _0x2e7dba=(_0xf711d7['left']??_0x343d9b['left'])-_0x343d9b['left'],_0x425d49=(_0xf711d7[_0x1a9cd0(0x1d8)]??_0x343d9b[_0x1a9cd0(0x1d8)])-_0x343d9b[_0x1a9cd0(0x1d8)];return Math[_0x1a9cd0(0x2dc)](_0x2e7dba,_0x425d49)>=0x12;}[_0x92f39f(0x1af)](_0x17d448,_0x5a08b0){const _0x24edd1=_0x92f39f;let _0x468a3c=this[_0x24edd1(0x450)](_0x17d448),_0x15896f=this['_getZoomRatio']();return{'left':_0x5a08b0[_0x24edd1(0x378)]+(_0x468a3c['x']-_0x5a08b0[_0x24edd1(0x2c8)])/_0x15896f,'top':_0x5a08b0['top']+(_0x468a3c['y']-_0x5a08b0[_0x24edd1(0x44a)])/_0x15896f,'width':_0x5a08b0['width'],'height':_0x5a08b0[_0x24edd1(0x1fe)]};}[_0x92f39f(0x433)](_0x1a6638){const _0x3a90ee=_0x92f39f;let _0x35225d=this['_uiStateService']['getState'](),_0x181bb7=(_0x35225d==null?void 0x0:_0x35225d[_0x3a90ee(0x1e5)])??{'x':0x0,'y':0x0},_0x9bad20=this['_getZoomRatio']();return{'x':Math[_0x3a90ee(0x370)](((_0x1a6638['offsetX']??0x0)-_0x181bb7['x'])/_0x9bad20),'y':Math['round'](((_0x1a6638[_0x3a90ee(0x2be)]??0x0)-_0x181bb7['y'])/_0x9bad20)};}[_0x92f39f(0x450)](_0x5281c2){const _0x18f612=_0x92f39f;return{'x':Number[_0x18f612(0x263)](_0x5281c2[_0x18f612(0x315)])?_0x5281c2[_0x18f612(0x315)]:_0x5281c2[_0x18f612(0x3fb)]??0x0,'y':Number[_0x18f612(0x263)](_0x5281c2[_0x18f612(0x380)])?_0x5281c2['clientY']:_0x5281c2[_0x18f612(0x2be)]??0x0};}[_0x92f39f(0x2a4)](){const _0xf83805=_0x92f39f;let _0x578335=this['_uiStateService'][_0xf83805(0x18a)]()['zoomRatio'];return Number[_0xf83805(0x263)](_0x578335)&&(_0x578335??0x0)>0x0?_0x578335:0x1;}[_0x92f39f(0x431)](_0x2d377,_0x181db5){const _0x42ba83=_0x92f39f;return _0x2d377['x']>=_0x181db5[_0x42ba83(0x378)]&&_0x2d377['x']<=_0x181db5[_0x42ba83(0x378)]+_0x181db5[_0x42ba83(0x389)]&&_0x2d377['y']>=_0x181db5[_0x42ba83(0x1d8)]&&_0x2d377['y']<=_0x181db5[_0x42ba83(0x1d8)]+_0x181db5['height'];}[_0x92f39f(0x2e3)](_0x3a97f8,_0x17aba7){const _0x303155=_0x92f39f;var _0x54c52b,_0x2ab2eb;_0x17aba7==null||_0x17aba7[_0x303155(0x30f)](),_0x17aba7&&(_0x17aba7[_0x303155(0x25d)]=!0x0),(_0x54c52b=_0x3a97f8[_0x303155(0x170)])==null||_0x54c52b[_0x303155(0x3ec)](_0x3a97f8),(_0x2ab2eb=_0x3a97f8[_0x303155(0x30f)])==null||_0x2ab2eb['call'](_0x3a97f8);}[_0x92f39f(0x32d)](){const _0x2257d2=_0x92f39f;var _0x174ba6,_0x4fe525;this[_0x2257d2(0x19b)]||=((_0x174ba6=(_0x4fe525=this['_elementStateService'])[_0x2257d2(0x21f)])==null||_0x174ba6[_0x2257d2(0x3ec)](_0x4fe525),!0x0);}[_0x92f39f(0x2ac)](_0x522be6,_0x425c84){const _0x3ce8d1=_0x92f39f;return{'left':Number['isFinite'](_0x522be6[_0x3ce8d1(0x378)])?_0x522be6[_0x3ce8d1(0x378)]:_0x425c84[_0x3ce8d1(0x378)],'top':Number['isFinite'](_0x522be6[_0x3ce8d1(0x1d8)])?_0x522be6['top']:_0x425c84[_0x3ce8d1(0x1d8)],'width':Number[_0x3ce8d1(0x263)](_0x522be6['width'])?_0x522be6[_0x3ce8d1(0x389)]:_0x425c84[_0x3ce8d1(0x389)],'height':Number['isFinite'](_0x522be6[_0x3ce8d1(0x1fe)])?_0x522be6[_0x3ce8d1(0x1fe)]:_0x425c84[_0x3ce8d1(0x1fe)]};}[_0x92f39f(0x31f)](_0x12a21c,_0x1d0ea6){const _0x5f077e=_0x92f39f;typeof _0x12a21c[_0x5f077e(0x412)]==_0x5f077e(0x1a5)&&_0x12a21c[_0x5f077e(0x412)]({'left':_0x1d0ea6[_0x5f077e(0x378)],'top':_0x1d0ea6[_0x5f077e(0x1d8)],'width':_0x1d0ea6['width'],'height':_0x1d0ea6[_0x5f077e(0x1fe)]}),typeof _0x12a21c['makeDirtyNoDebounce']==_0x5f077e(0x1a5)?_0x12a21c[_0x5f077e(0x21d)](!0x0):typeof _0x12a21c[_0x5f077e(0x3dc)]=='function'&&_0x12a21c['makeDirty'](!0x0);}['_createTopologyBoundsByElementId'](_0x2a76b7,_0x169ddb,_0x17db49){const _0x4b6574=_0x92f39f;return Object[_0x4b6574(0x325)](Object[_0x4b6574(0x1d0)](_0x2a76b7)[_0x4b6574(0x427)](_0x5a02de=>_0x5a02de===_0x169ddb?[_0x5a02de,_0x17db49]:[_0x5a02de,_0x51a7dc(_0x2a76b7,_0x5a02de)??_0x2a76b7[_0x5a02de][_0x4b6574(0x465)][_0x4b6574(0x242)]]));}['_ensureDragPreviewObject'](){const _0x51b50d=_0x92f39f;if(this[_0x51b50d(0x31d)])return this['_dragPreviewObject'];let _0xdd89ed=this['_renderContext']['scene'];return typeof _0xdd89ed[_0x51b50d(0x414)]==_0x51b50d(0x1a5)?(this[_0x51b50d(0x31d)]=new mn(cn),_0xdd89ed[_0x51b50d(0x414)](this[_0x51b50d(0x31d)],ln),this['_dragPreviewObject']):null;}[_0x92f39f(0x180)](_0x4b108d,_0x347c18,_0x15a644){const _0x5184cd=_0x92f39f;let _0x4d706e=this[_0x5184cd(0x269)]();_0x4d706e&&_0x4d706e[_0x5184cd(0x40b)]({'ghostBounds':_0x4b108d,'sourceBounds':this['_resolvePreviewSourceBounds'](),'parentBounds':_0x347c18[_0x5184cd(0x45c)]===_0x5184cd(0x3f8)?_0x15a644[_0x347c18[_0x5184cd(0x2fc)]]:null,'side':_0x347c18[_0x5184cd(0x45c)]===_0x5184cd(0x3f8)?_0x347c18['side']:_0x5184cd(0x2c4),'textStyle':this[_0x5184cd(0x43b)](),'renderGhostNode':!0x0});}[_0x92f39f(0x24f)](){const _0x28995d=_0x92f39f;let _0x4e8846=this[_0x28995d(0x46e)]??this['_dragStart'];return _0x4e8846?{'left':_0x4e8846['left'],'top':_0x4e8846[_0x28995d(0x1d8)],'width':_0x4e8846[_0x28995d(0x389)],'height':_0x4e8846['height']}:null;}[_0x92f39f(0x43b)](){const _0x1cde71=_0x92f39f;var _0x3994f4,_0x5c9d81;let _0x5c9c4a=this['_pointerDragStart']??this['_dragStart'],_0x260a63=_0x5c9c4a==null||(_0x3994f4=_0x5c9c4a[_0x1cde71(0x2d6)][_0x5c9c4a[_0x1cde71(0x405)]])==null?void 0x0:_0x3994f4[_0x1cde71(0x465)],_0x104b9f=_0x260a63==null||(_0x5c9d81=_0x260a63[_0x1cde71(0x2ed)])==null?void 0x0:_0x5c9d81['shapeText'];if(_0x104b9f)return{'text':typeof _0x104b9f['text']==_0x1cde71(0x192)?_0x104b9f[_0x1cde71(0x423)]:void 0x0,'fontSize':Number[_0x1cde71(0x263)](_0x104b9f['fontSize'])?_0x104b9f[_0x1cde71(0x28f)]:void 0x0,'color':typeof _0x104b9f[_0x1cde71(0x1f2)]==_0x1cde71(0x192)?_0x104b9f['color']:void 0x0,'horizontalAlign':Number[_0x1cde71(0x263)](_0x104b9f[_0x1cde71(0x3eb)])?_0x104b9f[_0x1cde71(0x3eb)]:void 0x0};}[_0x92f39f(0x1a9)](){const _0x40520f=_0x92f39f;var _0x50725b,_0x3bec25,_0x5defc7;if(!this[_0x40520f(0x31d)])return;let _0xa6ced1=this[_0x40520f(0x45a)]['scene'];(_0x50725b=_0xa6ced1[_0x40520f(0x295)])==null||_0x50725b[_0x40520f(0x3ec)](_0xa6ced1,[this[_0x40520f(0x31d)]]),this[_0x40520f(0x31d)]=null,(_0x3bec25=(_0x5defc7=this[_0x40520f(0x45a)]['scene'])[_0x40520f(0x3dc)])==null||_0x3bec25[_0x40520f(0x3ec)](_0x5defc7,!0x0);}[_0x92f39f(0x25c)](_0x249dfd,_0x9290ee,_0x1fc322,_0x27141f){const _0x353b3e=_0x92f39f;let _0x10b0c5=[...new Set(_0x1fc322[_0x353b3e(0x277)](_0x49acd4=>!!_0x49acd4))],_0x2cf6da=typeof _0x9290ee[_0x353b3e(0x237)]==_0x353b3e(0x192)?_0x9290ee['unitId']:this[_0x353b3e(0x45a)][_0x353b3e(0x237)],_0x124e5c=this[_0x353b3e(0x334)]['createRunner'](_0x2cf6da),_0x20c221=_0x124e5c(()=>this['_commandService'][_0x353b3e(0x1b1)](_0x249dfd,_0x9290ee));Promise[_0x353b3e(0x2a7)](_0x20c221)[_0x353b3e(0x271)](_0x45aa93=>{const _0x4c3cab=_0x353b3e;var _0x1b00f2,_0x984cd4,_0x10f0d0,_0x438eb2;if(_0x45aa93){if(_0x10b0c5['forEach'](_0x2e92d3=>{const _0x1105c2=_0x25f1;_0x124e5c(()=>this[_0x1105c2(0x282)][_0x1105c2(0x1b1)](_0x1a1b4d['id'],{'unitId':_0x9290ee['unitId'],'subUnitId':_0x9290ee['subUnitId'],'scopeId':_0x2e92d3}));}),_0x27141f&&typeof _0x9290ee['unitId']=='string'&&typeof _0x9290ee[_0x4c3cab(0x1fa)]==_0x4c3cab(0x192)){var _0x1c3119,_0x2fdda2;(_0x1c3119=(_0x2fdda2=this[_0x4c3cab(0x15c)])['selectElements'])==null||_0x1c3119[_0x4c3cab(0x3ec)](_0x2fdda2,{'unitId':_0x9290ee[_0x4c3cab(0x237)],'subUnitId':_0x9290ee[_0x4c3cab(0x1fa)]},[_0x27141f],_0x27141f);}(_0x1b00f2=(_0x984cd4=this['_renderContext'][_0x4c3cab(0x1ea)])[_0x4c3cab(0x3dc)])==null||_0x1b00f2[_0x4c3cab(0x3ec)](_0x984cd4,!0x0),(_0x10f0d0=(_0x438eb2=this[_0x4c3cab(0x45a)]['scene'])[_0x4c3cab(0x3f9)])==null||_0x10f0d0[_0x4c3cab(0x3ec)](_0x438eb2);}});}};En=J([q(0x1,_0x3c9b31(_0xbfe5fc)),q(0x2,_0x3c9b31(_0x3c1d99)),q(0x3,_0x3aa11b),q(0x4,_0x239302),q(0x5,_0x3171b5),q(0x6,_0x3c9b31(_0x387fe1))],En);let Dn=class extends _0x2756ad{constructor(_0x1a2186,_0x209d7c,_0x41283a,_0x7a1318,_0x21c1f6,_0x269a5f,_0x58f248,_0x1139f4,_0x1e8e7e){const _0x3f302e=_0x92f39f;super(),this[_0x3f302e(0x2df)]=_0x1a2186,this['commandService']=_0x209d7c,this[_0x3f302e(0x3ff)]=_0x41283a,this[_0x3f302e(0x34f)]=_0x7a1318,this['uiStateService']=_0x21c1f6,this[_0x3f302e(0x40e)]=_0x269a5f,this[_0x3f302e(0x33f)]=_0x58f248,this[_0x3f302e(0x293)]=_0x1139f4,this[_0x3f302e(0x3c8)]=_0x1e8e7e;}};Dn=J([q(0x1,_0x3aa11b),q(0x2,_0xbfe5fc),q(0x3,_0x3c1d99),q(0x4,_0x239302),q(0x5,_0x17a521),q(0x6,_0x48f062),q(0x7,_0x3c9b31(_0x33f8b9)),q(0x8,_0x3c9b31(_0x3027f8))],Dn);const On=_0x92f39f(0x467),kn=_0x92f39f(0x168);function An(_0x2b6dd6){const _0x340b73=_0x92f39f;let {unitId:_0x4b5834,subUnitId:_0x253f1a,nodeId:_0x4b3bdf,initialDescription:_0x12c037=''}=_0x2b6dd6,_0x25afe9=_0x17282b(_0x3aa11b),_0x5bd29e=_0x17282b(_0x48f062),_0x1bc00a=_0x17282b(_0x33f8b9),[_0x35cf42,_0x2433c6]=_0x406b1d(_0x12c037),_0x752770=()=>_0x5bd29e['close'](kn);return _0x99613(_0x340b73(0x3e8),{'className':_0x340b73(0x24e),'data-board-mind-map-description-dialog':_0x340b73(0x2c5),'children':[_0x99613('label',{'className':_0x340b73(0x1b9),'children':[_0x36e588(_0x340b73(0x34b),{'className':_0x340b73(0x2e7),'children':_0x1bc00a['t'](_0x340b73(0x188))}),_0x36e588(_0xd46f6,{'autoFocus':!0x0,'className':_0x340b73(0x381),'placeholder':_0x1bc00a['t'](_0x340b73(0x471)),'value':_0x35cf42,'onValueChange':_0x2433c6})]}),_0x99613(_0x340b73(0x3e8),{'className':_0x340b73(0x408),'children':[_0x36e588(_0x44fdbd,{'size':_0x340b73(0x36d),'variant':'default','onClick':_0x752770,'children':_0x1bc00a['t'](_0x340b73(0x156))}),_0x36e588(_0x44fdbd,{'size':_0x340b73(0x36d),'variant':_0x340b73(0x346),'onClick':()=>{const _0x87cd1e=_0x340b73;_0x25afe9['executeCommand'](_0x5049e3['id'],{'unitId':_0x4b5834,'subUnitId':_0x253f1a,'nodeId':_0x4b3bdf,'foreignAttributes':{'_note':_0x35cf42[_0x87cd1e(0x385)]()?_0x35cf42:null}}),_0x752770();},'children':_0x1bc00a['t'](_0x340b73(0x3a7))})]})]});}const jn=_0x92f39f(0x2bb),Mn='FOCUSING_MIND_MAP_NODE',Nn=_0x92f39f(0x239),Pn={'copy':_0x5359c0[_0x92f39f(0x344)],'paste':_0x5359c0[_0x92f39f(0x234)],'paste-as-new':_0x5359c0[_0x92f39f(0x234)],'add-child':_0x5359c0[_0x92f39f(0x3d5)],'add-sibling-or-child':_0x5359c0[_0x92f39f(0x164)],'promote':_0x5359c0['addParentNode'],'toggle-collapse':_0x5359c0[_0x92f39f(0x211)],'collapse-all':_0x5359c0[_0x92f39f(0x41b)],'edit-text':_0x5359c0[_0x92f39f(0x283)],'open-description':_0x5359c0[_0x92f39f(0x16d)],'delete':_0x8c7182[_0x92f39f(0x3ac)],'arrow-left':_0x8c7182[_0x92f39f(0x451)],'arrow-right':_0x8c7182['ARROW_RIGHT'],'arrow-up':_0x8c7182[_0x92f39f(0x46a)],'arrow-down':_0x8c7182[_0x92f39f(0x171)]},Fn={'delete':[_0x8c7182['BACKSPACE']]};function In(_0xd53786){return[Pn[_0xd53786],...Fn[_0xd53786]??[]];}let Ln=class extends _0xb1406a{constructor(_0x4d4caf,_0x431281,_0x31369d,_0x1509f3){const _0x9081f0=_0x92f39f;super(),this[_0x9081f0(0x2e6)]=_0x4d4caf,this[_0x9081f0(0x282)]=_0x431281,this[_0x9081f0(0x246)]=_0x31369d,this[_0x9081f0(0x334)]=_0x1509f3,this[_0x9081f0(0x270)]();}[_0x92f39f(0x270)](){const _0x1c8c0e=_0x92f39f;this[_0x1c8c0e(0x307)](this[_0x1c8c0e(0x282)][_0x1c8c0e(0x27c)](this[_0x1c8c0e(0x276)]())),this['_createShortcutItems']()[_0x1c8c0e(0x2cc)](_0x53827d=>{const _0x2d4672=_0x1c8c0e;this[_0x2d4672(0x307)](this[_0x2d4672(0x246)]['registerShortcut'](_0x53827d));});}[_0x92f39f(0x276)](){const _0x2e2001=_0x92f39f;return{'id':jn,'type':_0x14b54b[_0x2e2001(0x31b)],'handler':(_0x26330e,_0x44f4a8,_0x414d28)=>{let _0x5422b5=Rn(_0x26330e,_0x414d28);return _0x5422b5?this['handleShortcut'](_0x5422b5,_0x44f4a8==null?void 0x0:_0x44f4a8['action']):!0x1;}};}[_0x92f39f(0x39b)](){const _0x1c2e57=_0x92f39f;let _0x46f439=(_0x242551,_0x2b1ca5)=>({'id':jn,'binding':_0x242551,'priority':0xa0,'preconditions':_0x327459=>_0x22e4ac(_0x327459)&&!!_0x327459[_0x1c2e57(0x332)](_0x1c2e57(0x42d)),'staticParameters':{'action':_0x2b1ca5}}),_0x2960a3=_0x352f2d=>In(_0x352f2d)[_0x1c2e57(0x427)](_0x4f11a0=>_0x46f439(_0x4f11a0,_0x352f2d));return[..._0x2960a3(_0x1c2e57(0x344)),{'id':jn,'binding':Pn[_0x1c2e57(0x234)],'priority':0xa0,'preconditions':_0x1f3513=>_0x22e4ac(_0x1f3513)&&!!this[_0x1c2e57(0x2e6)]['getPayload']()&&!!_0x1f3513[_0x1c2e57(0x332)](_0x1c2e57(0x42d)),'staticParameters':{'action':_0x1c2e57(0x234)}},{'id':jn,'binding':Pn['paste-as-new'],'priority':0x96,'preconditions':_0x810107=>_0x22e4ac(_0x810107)&&!!this['_mindMapClipboardService']['getPayload']()&&!!_0x810107[_0x1c2e57(0x332)](_0x1c2e57(0x239)),'staticParameters':{'action':_0x1c2e57(0x3bd)}},..._0x2960a3('add-child'),..._0x2960a3(_0x1c2e57(0x1a7)),..._0x2960a3('promote'),..._0x2960a3(_0x1c2e57(0x179)),..._0x2960a3('collapse-all'),..._0x2960a3(_0x1c2e57(0x190)),..._0x2960a3(_0x1c2e57(0x46c)),..._0x2960a3('delete'),..._0x2960a3('arrow-left'),..._0x2960a3(_0x1c2e57(0x336)),..._0x2960a3(_0x1c2e57(0x33d)),..._0x2960a3('arrow-down')];}['handleShortcut'](_0x496b24,_0x5d1ccf){const _0x19b7e6=_0x92f39f;return _0x496b24[_0x19b7e6(0x3cd)][_0x19b7e6(0x18a)]()[_0x19b7e6(0x29c)]===_0x19b7e6(0x41c)&&_0x5d1ccf!=='copy'?!0x1:_0x5d1ccf===_0x19b7e6(0x344)?this[_0x19b7e6(0x2cd)](_0x496b24):_0x5d1ccf===_0x19b7e6(0x234)?this[_0x19b7e6(0x2e2)](_0x496b24):_0x5d1ccf===_0x19b7e6(0x3bd)?this[_0x19b7e6(0x337)](_0x496b24):_0x5d1ccf===_0x19b7e6(0x17c)?this[_0x19b7e6(0x333)](_0x496b24):_0x5d1ccf===_0x19b7e6(0x1a7)?this[_0x19b7e6(0x37c)](_0x496b24):_0x5d1ccf===_0x19b7e6(0x198)?this[_0x19b7e6(0x415)](_0x496b24,_0x42ec56['id']):_0x5d1ccf==='toggle-collapse'?this[_0x19b7e6(0x415)](_0x496b24,_0x497ede['id']):_0x5d1ccf==='collapse-all'?this['_collapseAll'](_0x496b24):_0x5d1ccf===_0x19b7e6(0x190)?this['_openSelectedTextEditing'](_0x496b24):_0x5d1ccf===_0x19b7e6(0x46c)?this['_openDescriptionDialog'](_0x496b24):_0x5d1ccf==='delete'?this[_0x19b7e6(0x26e)](_0x496b24):_0x5d1ccf&&zn(_0x5d1ccf)?this[_0x19b7e6(0x154)](_0x496b24,_0x5d1ccf):!0x1;}[_0x92f39f(0x2cd)](_0x1a3afb){const _0x5df5d1=_0x92f39f;let _0x19ece5=this[_0x5df5d1(0x409)](_0x1a3afb);return _0x19ece5?(_0x1a3afb['commandService'][_0x5df5d1(0x1b1)](_0x229ff7['id'],{'unitId':_0x19ece5['unitId'],'subUnitId':_0x19ece5['subUnitId'],'nodeId':_0x19ece5[_0x5df5d1(0x405)]}),!0x0):!0x1;}[_0x92f39f(0x2e2)](_0x75002d){const _0x2dfda4=_0x92f39f;let _0x1c2095=this[_0x2dfda4(0x409)](_0x75002d);return!_0x1c2095||!_0x75002d[_0x2dfda4(0x40e)]['getPayload']()?!0x1:(this[_0x2dfda4(0x25c)](_0x75002d,_0x331883['id'],{'unitId':_0x1c2095['unitId'],'subUnitId':_0x1c2095[_0x2dfda4(0x1fa)],'targetNodeId':_0x1c2095[_0x2dfda4(0x405)]},_0x1c2095['scopeId']),!0x0);}[_0x92f39f(0x337)](_0x482003){const _0x6c4337=_0x92f39f;let _0x4919e5=this[_0x6c4337(0x174)](_0x482003);if(!_0x4919e5||!_0x482003['clipboardService'][_0x6c4337(0x1a6)]())return!0x1;let _0x469eda=_0x482003['uiStateService'][_0x6c4337(0x18a)](),_0x8eb759=Number[_0x6c4337(0x263)](_0x469eda[_0x6c4337(0x1ec)])&&_0x469eda['zoomRatio']>0x0?_0x469eda[_0x6c4337(0x1ec)]:0x1,_0xbfcf80=Math[_0x6c4337(0x370)]((0x40-_0x469eda['viewportPanOffset']['x'])/_0x8eb759),_0x265f74=Math[_0x6c4337(0x370)]((0x40-_0x469eda[_0x6c4337(0x1e5)]['y'])/_0x8eb759);return _0x482003['commandService']['executeCommand'](_0x2b5d5e['id'],{'unitId':_0x4919e5[_0x6c4337(0x237)],'subUnitId':_0x4919e5[_0x6c4337(0x1fa)],'left':_0xbfcf80,'top':_0x265f74}),!0x0;}[_0x92f39f(0x333)](_0x44f52b){const _0x451128=_0x92f39f;let _0x13e68a=this[_0x451128(0x409)](_0x44f52b);if(!_0x13e68a)return!0x1;let _0x5f0ff7=_0x38dd6c(0x6);return this[_0x451128(0x226)](_0x44f52b,_0x5a9afd['id'],{'unitId':_0x13e68a[_0x451128(0x237)],'subUnitId':_0x13e68a[_0x451128(0x1fa)],'parentNodeId':_0x13e68a['nodeId'],'nodeId':_0x5f0ff7,'connectorId':_0x38dd6c(0x6),'text':_0x44f52b[_0x451128(0x293)]['t']('boards-mind-ui.panel.addText')},_0x13e68a[_0x451128(0x3d0)],_0x5f0ff7),!0x0;}[_0x92f39f(0x37c)](_0x417d03){const _0x258b66=_0x92f39f;let _0x588583=this[_0x258b66(0x409)](_0x417d03);if(!_0x588583)return!0x1;let _0x92e547=_0x38dd6c(0x6);return this[_0x258b66(0x226)](_0x417d03,_0x588583[_0x258b66(0x223)]?_0x5a9afd['id']:_0x24d9d3['id'],{'unitId':_0x588583[_0x258b66(0x237)],'subUnitId':_0x588583[_0x258b66(0x1fa)],..._0x588583[_0x258b66(0x223)]?{'parentNodeId':_0x588583[_0x258b66(0x405)],'nodeId':_0x92e547}:{'nodeId':_0x588583[_0x258b66(0x405)],'siblingNodeId':_0x92e547},'connectorId':_0x38dd6c(0x6),'text':_0x417d03['localeService']['t'](_0x258b66(0x39e))},_0x588583[_0x258b66(0x3d0)],_0x92e547),!0x0;}[_0x92f39f(0x415)](_0x3b1394,_0x2c6fae){const _0x33f607=_0x92f39f;let _0x467eb3=this[_0x33f607(0x409)](_0x3b1394);return _0x467eb3?(this[_0x33f607(0x25c)](_0x3b1394,_0x2c6fae,{'unitId':_0x467eb3[_0x33f607(0x237)],'subUnitId':_0x467eb3[_0x33f607(0x1fa)],'nodeId':_0x467eb3[_0x33f607(0x405)]},_0x467eb3['scopeId']),!0x0):!0x1;}['_deleteSelectedNode'](_0x397ae5){const _0x20dc0d=_0x92f39f;let _0x1b5b93=this['_getSelectedMindMapContext'](_0x397ae5);if(!_0x1b5b93)return!0x1;let _0x3006ea=_0x397ae5['commandService']['syncExecuteCommand'](_0x35da0c['id'],{'unitId':_0x1b5b93[_0x20dc0d(0x237)],'subUnitId':_0x1b5b93['subUnitId'],'nodeId':_0x1b5b93['nodeId']});return _0x3006ea&&_0x397ae5[_0x20dc0d(0x34f)][_0x20dc0d(0x21f)](),_0x3006ea;}[_0x92f39f(0x19d)](_0x3f8a65){const _0x4bf048=_0x92f39f;let _0x393ad8=this[_0x4bf048(0x409)](_0x3f8a65);if(!_0x393ad8)return!0x1;let _0x90d4=_0x3f8a65['elementService'][_0x4bf048(0x2bd)](_0x393ad8[_0x4bf048(0x237)],_0x393ad8[_0x4bf048(0x1fa)]),_0xe69ed1=Object['values'](_0x90d4)[_0x4bf048(0x427)](_0x1c37d5=>{const _0x11e24c=_0x4bf048;let _0x5c947e=_0x5213e3(_0x1c37d5[_0x11e24c(0x465)]);return(_0x5c947e==null?void 0x0:_0x5c947e[_0x11e24c(0x3b4)])===_0x393ad8[_0x11e24c(0x3d0)]&&this[_0x11e24c(0x397)](_0x90d4,_0x393ad8['scopeId'],_0x1c37d5[_0x11e24c(0x2d3)])['length']>0x0?{'nodeId':_0x1c37d5[_0x11e24c(0x2d3)],'collapsed':_0x5c947e[_0x11e24c(0x196)]}:null;})[_0x4bf048(0x277)](_0x4a9a54=>!!_0x4a9a54);if(_0xe69ed1[_0x4bf048(0x33b)]===0x0)return!0x1;let _0x54fb6f=_0xe69ed1['some'](_0x4fc77b=>!_0x4fc77b[_0x4bf048(0x196)]),_0xf2d4de=_0x3f8a65[_0x4bf048(0x268)],_0x363d56=this['_undoRedoGroupService'][_0x4bf048(0x2f8)](_0x393ad8[_0x4bf048(0x237)]),_0x449856=_0xe69ed1[_0x4bf048(0x427)](_0x2e1cdc=>_0x363d56(()=>_0xf2d4de[_0x4bf048(0x1b1)](_0x497ede['id'],{'unitId':_0x393ad8[_0x4bf048(0x237)],'subUnitId':_0x393ad8[_0x4bf048(0x1fa)],'nodeId':_0x2e1cdc['nodeId'],'collapsed':_0x54fb6f})));return Promise[_0x4bf048(0x402)](_0x449856[_0x4bf048(0x427)](_0x322885=>Promise[_0x4bf048(0x2a7)](_0x322885)))[_0x4bf048(0x271)](_0x5657bd=>{const _0x5e4b99=_0x4bf048;_0x5657bd[_0x5e4b99(0x28c)](Boolean)&&_0x363d56(()=>_0xf2d4de['executeCommand'](_0x1a1b4d['id'],{'unitId':_0x393ad8['unitId'],'subUnitId':_0x393ad8['subUnitId'],'scopeId':_0x393ad8['scopeId']}));}),!0x0;}['_openSelectedTextEditing'](_0x750108){const _0x546c12=_0x92f39f;let _0x5e32f6=this[_0x546c12(0x409)](_0x750108);if(!_0x5e32f6)return!0x1;_0x750108[_0x546c12(0x34f)][_0x546c12(0x2ff)]({'unitId':_0x5e32f6[_0x546c12(0x237)],'subUnitId':_0x5e32f6['subUnitId']},[_0x5e32f6[_0x546c12(0x405)]],_0x5e32f6[_0x546c12(0x405)]);let _0x52a48c=_0x750108['textEditingService'];return _0x52a48c[_0x546c12(0x222)](),_0x52a48c[_0x546c12(0x407)]({'unitId':_0x5e32f6[_0x546c12(0x237)],'subUnitId':_0x5e32f6['subUnitId'],'shapeId':_0x5e32f6[_0x546c12(0x405)],'shapeKey':_0x51bae1(_0x5e32f6[_0x546c12(0x237)],_0x5e32f6[_0x546c12(0x405)]),'visible':!0x0}),!0x0;}[_0x92f39f(0x348)](_0x51e94a){const _0x1cc2b2=_0x92f39f;let _0x45c160=this[_0x1cc2b2(0x409)](_0x51e94a);return _0x45c160?(_0x51e94a['dialogService']['open']({'id':kn,'title':{'title':_0x1cc2b2(0x188)},'width':0x1a4,'draggable':!0x0,'mask':!0x1,'maskClosable':!0x0,'children':{'label':On,'unitId':_0x45c160['unitId'],'subUnitId':_0x45c160[_0x1cc2b2(0x1fa)],'nodeId':_0x45c160[_0x1cc2b2(0x405)],'initialDescription':_0x45c160[_0x1cc2b2(0x15a)]}}),!0x0):!0x1;}['_navigateByTopology'](_0x595180,_0xdc63c6){const _0x1ab4fa=_0x92f39f;let _0x3d7b3e=this[_0x1ab4fa(0x409)](_0x595180);if(!_0x3d7b3e)return!0x1;let _0x4f404a=_0x595180['elementService'][_0x1ab4fa(0x2bd)](_0x3d7b3e[_0x1ab4fa(0x237)],_0x3d7b3e[_0x1ab4fa(0x1fa)]),_0x215ce2=_0x4f404a[_0x3d7b3e[_0x1ab4fa(0x405)]],_0x4a7c6e=_0x5213e3(_0x215ce2==null?void 0x0:_0x215ce2[_0x1ab4fa(0x465)]);if(!_0x215ce2||!_0x4a7c6e)return!0x1;let _0x1e22bb={'arrow-left':_0x1ab4fa(0x2b7),'arrow-right':_0x1ab4fa(0x225),'arrow-up':_0x1ab4fa(0x1f0),'arrow-down':_0x1ab4fa(0x317)}[_0xdc63c6];if(!_0x1e22bb)return!0x1;let _0x5c620f=this[_0x1ab4fa(0x384)](_0x4f404a,_0x3d7b3e[_0x1ab4fa(0x405)],_0x4a7c6e,_0x1e22bb);return _0x5c620f?(_0x595180['elementStateService'][_0x1ab4fa(0x2ff)]({'unitId':_0x3d7b3e[_0x1ab4fa(0x237)],'subUnitId':_0x3d7b3e[_0x1ab4fa(0x1fa)]},[_0x5c620f],_0x5c620f),!0x0):!0x1;}[_0x92f39f(0x384)](_0x2de792,_0x1cc4fa,_0x162c53,_0x53c207){const _0x406b13=_0x92f39f;let _0x58a6f5=this[_0x406b13(0x397)](_0x2de792,_0x162c53[_0x406b13(0x3b4)],_0x1cc4fa);if(_0x162c53['parentNodeId']===null){if(_0x53c207===_0x406b13(0x2b7)){var _0x311adb;return((_0x311adb=_0x58a6f5['find'](_0x4ca504=>{const _0x4f4f21=_0x406b13;var _0x1892d6;return((_0x1892d6=_0x5213e3(_0x4ca504[_0x4f4f21(0x465)]))==null?void 0x0:_0x1892d6['side'])===_0x4f4f21(0x378);}))==null?void 0x0:_0x311adb['elementId'])??null;}if(_0x53c207===_0x406b13(0x225)){var _0x56ac19;return((_0x56ac19=_0x58a6f5[_0x406b13(0x2bf)](_0x4bc86b=>{const _0x3ec150=_0x406b13;var _0x1f0965;return(((_0x1f0965=_0x5213e3(_0x4bc86b[_0x3ec150(0x465)]))==null?void 0x0:_0x1f0965[_0x3ec150(0x44d)])??'right')===_0x3ec150(0x2c4);}))==null?void 0x0:_0x56ac19['elementId'])??null;}return null;}let _0x2ef9fd=_0x162c53[_0x406b13(0x44d)]??_0x406b13(0x2c4),_0x46b793=_0x2ef9fd==='right'?_0x406b13(0x2b7):_0x406b13(0x225),_0x5268f4=_0x2ef9fd===_0x406b13(0x2c4)?_0x406b13(0x225):_0x406b13(0x2b7);if(_0x53c207===_0x46b793)return _0x162c53[_0x406b13(0x19e)];if(_0x53c207===_0x5268f4){var _0x17f246;return((_0x17f246=_0x58a6f5[0x0])==null?void 0x0:_0x17f246[_0x406b13(0x2d3)])??null;}if(_0x53c207===_0x406b13(0x1f0)||_0x53c207===_0x406b13(0x317)){let _0x199cec=this['_getMindMapChildren'](_0x2de792,_0x162c53['structureScopeId'],_0x162c53[_0x406b13(0x19e)]),_0x3ac599=_0x199cec[_0x406b13(0x446)](_0x4b31f3=>_0x4b31f3[_0x406b13(0x2d3)]===_0x1cc4fa),_0x478d87=_0x53c207===_0x406b13(0x1f0)?_0x199cec[_0x3ac599-0x1]:_0x199cec[_0x3ac599+0x1];return(_0x478d87==null?void 0x0:_0x478d87['elementId'])??null;}return null;}[_0x92f39f(0x397)](_0x491434,_0x795e3f,_0x5ea56f){const _0x491604=_0x92f39f;return Object[_0x491604(0x1f3)](_0x491434)[_0x491604(0x277)](_0x4e4fb0=>{const _0x2467e2=_0x491604;let _0x3501b4=_0x5213e3(_0x4e4fb0['element']);return(_0x3501b4==null?void 0x0:_0x3501b4[_0x2467e2(0x3b4)])===_0x795e3f&&_0x3501b4[_0x2467e2(0x19e)]===_0x5ea56f&&_0x4e4fb0[_0x2467e2(0x465)][_0x2467e2(0x1d7)]!==!0x1;})[_0x491604(0x1c7)]((_0x15ee43,_0x55a46e)=>{const _0x3d6735=_0x491604;let _0x41dc33=_0x5213e3(_0x15ee43[_0x3d6735(0x465)]),_0x20294f=_0x5213e3(_0x55a46e['element']);return _0x2aa617(_0x41dc33==null?void 0x0:_0x41dc33[_0x3d6735(0x3ea)],_0x20294f==null?void 0x0:_0x20294f[_0x3d6735(0x3ea)])||_0x15ee43[_0x3d6735(0x2d3)][_0x3d6735(0x46d)](_0x55a46e[_0x3d6735(0x2d3)]);});}[_0x92f39f(0x409)](_0x17044e){const _0x77a85e=_0x92f39f;var _0x32fc21;let _0x207312=_0x17044e['elementStateService']['getSnapshot'](),_0x53aede=_0x207312[_0x77a85e(0x25b)]??_0x207312[_0x77a85e(0x351)][0x0];if(!_0x53aede||_0x207312['selectedIds'][_0x77a85e(0x33b)]!==0x1||_0x207312[_0x77a85e(0x17f)]||_0x207312[_0x77a85e(0x37e)])return null;let _0x4758b5=_0x207312[_0x77a85e(0x32a)]??{'unitId':_0x17044e[_0x77a85e(0x2df)][_0x77a85e(0x237)],'subUnitId':_0x17044e[_0x77a85e(0x2df)][_0x77a85e(0x3b2)]['getActivePageId']()},_0x4836a8=_0x17044e[_0x77a85e(0x3ff)][_0x77a85e(0x2bd)](_0x4758b5[_0x77a85e(0x237)],_0x4758b5[_0x77a85e(0x1fa)])[_0x53aede],_0x410373=_0x5213e3(_0x4836a8==null?void 0x0:_0x4836a8[_0x77a85e(0x465)]);return!_0x4836a8||!_0x410373?null:{'unitId':_0x4758b5[_0x77a85e(0x237)],'subUnitId':_0x4758b5[_0x77a85e(0x1fa)],'nodeId':_0x53aede,'scopeId':_0x410373[_0x77a85e(0x3b4)],'isRoot':_0x410373[_0x77a85e(0x19e)]===null,'description':((_0x32fc21=_0x410373[_0x77a85e(0x24a)])==null?void 0x0:_0x32fc21['_note'])??''};}[_0x92f39f(0x174)](_0x4a9597){const _0x4084b3=_0x92f39f;var _0x401308,_0x172152;let _0x382be9=_0x4a9597['elementStateService'][_0x4084b3(0x2c6)]();return _0x382be9[_0x4084b3(0x17f)]||_0x382be9['isTransforming']||_0x382be9[_0x4084b3(0x351)][_0x4084b3(0x33b)]>0x0||_0x382be9[_0x4084b3(0x25b)]?null:{'unitId':((_0x401308=_0x382be9[_0x4084b3(0x32a)])==null?void 0x0:_0x401308[_0x4084b3(0x237)])??_0x4a9597[_0x4084b3(0x2df)][_0x4084b3(0x237)],'subUnitId':((_0x172152=_0x382be9[_0x4084b3(0x32a)])==null?void 0x0:_0x172152[_0x4084b3(0x1fa)])??_0x4a9597[_0x4084b3(0x2df)][_0x4084b3(0x3b2)][_0x4084b3(0x363)]()};}[_0x92f39f(0x25c)](_0x10b982,_0x89dbc0,_0x4c22b1,_0x4fb8ff){const _0xdda899=_0x92f39f;let _0x500996=_0x10b982[_0xdda899(0x268)],_0xa4a32c=this['_undoRedoGroupService'][_0xdda899(0x2f8)](_0x4c22b1[_0xdda899(0x237)]),_0xb92343=_0xa4a32c(()=>_0x500996[_0xdda899(0x1b1)](_0x89dbc0,_0x4c22b1));Promise[_0xdda899(0x2a7)](_0xb92343)[_0xdda899(0x271)](_0x4d451b=>{const _0x38b74c=_0xdda899;_0x4d451b&&_0xa4a32c(()=>_0x500996[_0x38b74c(0x1b1)](_0x1a1b4d['id'],{'unitId':_0x4c22b1[_0x38b74c(0x237)],'subUnitId':_0x4c22b1[_0x38b74c(0x1fa)],'scopeId':_0x4fb8ff}));});}[_0x92f39f(0x226)](_0xa53272,_0x55d7b2,_0x34c770,_0x47bb26,_0x207440){const _0x539ae1=_0x92f39f;let _0x536921={'unitId':_0x34c770[_0x539ae1(0x237)],'subUnitId':_0x34c770[_0x539ae1(0x1fa)]},_0x43bd5c=_0xa53272[_0x539ae1(0x268)],_0x43670d=this[_0x539ae1(0x334)][_0x539ae1(0x2f8)](_0x34c770[_0x539ae1(0x237)]),_0x14bd13=_0x43670d(()=>_0x43bd5c[_0x539ae1(0x1b1)](_0x55d7b2,_0x34c770));Promise[_0x539ae1(0x2a7)](_0x14bd13)[_0x539ae1(0x271)](_0x2c2bf1=>{const _0x51c407=_0x539ae1;if(!_0x2c2bf1)return;_0x43670d(()=>_0x43bd5c['executeCommand'](_0x1a1b4d['id'],{..._0x536921,'scopeId':_0x47bb26})),_0xa53272[_0x51c407(0x34f)][_0x51c407(0x2ff)](_0x536921,[_0x207440],_0x207440);let _0x27512b=_0xa53272[_0x51c407(0x3c8)];_0x27512b[_0x51c407(0x222)](),_0x27512b['setEditing']({..._0x536921,'shapeId':_0x207440,'shapeKey':_0x51bae1(_0x536921[_0x51c407(0x237)],_0x207440),'visible':!0x0});});}};Ln=J([q(0x0,_0x17a521),q(0x1,_0x3aa11b),q(0x2,_0x589ecb),q(0x3,_0x3c9b31(_0x387fe1))],Ln);function Rn(_0x33e1ac,_0x2e0f5d){const _0xba7e43=_0x92f39f;var _0x4bf8f1,_0x13775e;let _0x347b67=typeof(_0x2e0f5d==null?void 0x0:_0x2e0f5d['unitId'])==_0xba7e43(0x192)?_0x2e0f5d[_0xba7e43(0x237)]:(_0x4bf8f1=_0x33e1ac[_0xba7e43(0x2ba)](_0x3171b5)[_0xba7e43(0x19c)](_0x597c76[_0xba7e43(0x1e4)]))==null?void 0x0:_0x4bf8f1['getUnitId']();return _0x347b67?((_0x13775e=_0x33e1ac['get'](_0x1cdd64)[_0xba7e43(0x303)](_0x347b67))==null?void 0x0:_0x13775e[_0xba7e43(0x1ce)](Dn))??null:null;}function zn(_0x79813a){const _0x5e255e=_0x92f39f;return _0x79813a===_0x5e255e(0x366)||_0x79813a===_0x5e255e(0x336)||_0x79813a==='arrow-up'||_0x79813a==='arrow-down';}const Bn={'min':0x1,'max':0x5,'defaultValue':0x3},Vn={'min':0x0,'max':0x64,'defaultValue':0x64},Hn=[{'kind':'dropdown','titleKey':_0x92f39f(0x41a),'panel':_0x92f39f(0x3d2)},{'kind':_0x92f39f(0x3b6),'titleKey':'boards-mind-ui.toolbar.primary.fontColor'},{'kind':_0x92f39f(0x26b),'titleKey':'boards-mind-ui.toolbar.primary.typography'},{'kind':'dropdown','titleKey':_0x92f39f(0x275),'panel':_0x92f39f(0x199),'dividerBefore':!0x0}],Un={'addSibling':_0x92f39f(0x1a7),'addChild':_0x92f39f(0x17c),'copy':_0x92f39f(0x344),'paste':_0x92f39f(0x234),'delete':_0x92f39f(0x440)},Wn=[{'key':_0x92f39f(0x158),'title':_0x92f39f(0x3be),'items':[{'value':_0x92f39f(0x252),'icon':_0x92f39f(0x252),'labelKey':'boards-mind-ui.panel.structureKind.mindmapHorizontal'},{'value':'mindmap-vertical','icon':_0x92f39f(0x395),'labelKey':'boards-mind-ui.panel.structureKind.mindmapVertical'}]},{'key':_0x92f39f(0x308),'title':_0x92f39f(0x356),'items':[{'value':_0x92f39f(0x1cb),'icon':_0x92f39f(0x1cb),'labelKey':_0x92f39f(0x462)},{'value':_0x92f39f(0x428),'icon':_0x92f39f(0x428),'labelKey':'boards-mind-ui.panel.structureKind.treeLeft'},{'value':_0x92f39f(0x331),'icon':_0x92f39f(0x331),'labelKey':_0x92f39f(0x35c)}]},{'key':_0x92f39f(0x373),'title':'Timeline','items':[{'value':_0x92f39f(0x316),'icon':'timeline-horizontal','labelKey':_0x92f39f(0x1ba)},{'value':'timeline-vertical','icon':_0x92f39f(0x284),'labelKey':'boards-mind-ui.panel.structureKind.timelineVertical'}]}],Gn={'key':'branch','title':_0x92f39f(0x3e6),'items':[{'value':_0x92f39f(0x265),'icon':_0x92f39f(0x21e),'labelKey':'boards-mind-ui.panel.branchLineType.curve'},{'value':_0x92f39f(0x2ab),'icon':_0x92f39f(0x28a),'labelKey':_0x92f39f(0x44f)},{'value':_0x92f39f(0x40f),'icon':_0x92f39f(0x27e),'labelKey':_0x92f39f(0x15f)}]},Kn=_0x92f39f(0x445);function qn(_0x172e4b,_0x3afd45){const _0x38c6e5=_0x92f39f;_0x172e4b[_0x38c6e5(0x1b1)](jn,{'action':_0x3afd45});}const Jn={'line':_0xcc330a,'more':_0x634397};function Yn(_0x3b9bda){const _0x14af72=_0x92f39f;_0x3b9bda[_0x14af72(0x30f)](),_0x3b9bda[_0x14af72(0x170)]();}function Xn(_0x2d46e7,_0x18e14d='univer-size-5',_0x7a30cc){return _0x36e588(_0xcfec90,{'children':_0x36e588(_0x2d46e7,{'className':_0x18e14d,'extend':_0x7a30cc})});}function Zn(_0x117c72){const _0x3ae3a3=_0x92f39f;var _0x29f29e,_0x4818be;let _0x3abd43=(_0x117c72==null?void 0x0:_0x117c72[_0x3ae3a3(0x29e)])??{},_0x16217c=_0x3abd43['dataModel']&&typeof _0x3abd43[_0x3ae3a3(0x437)]=='object'?_0x3abd43[_0x3ae3a3(0x437)]:{},_0x276cd3=(_0x29f29e=_0x16217c[_0x3ae3a3(0x250)])==null||(_0x29f29e=_0x29f29e['documentStyle'])==null?void 0x0:_0x29f29e[_0x3ae3a3(0x463)];return{'color':typeof _0x3abd43[_0x3ae3a3(0x1f2)]==_0x3ae3a3(0x192)?_0x3abd43[_0x3ae3a3(0x1f2)]:(_0x276cd3==null||(_0x4818be=_0x276cd3['cl'])==null?void 0x0:_0x4818be[_0x3ae3a3(0x302)])??_0x3d178b,'fontFamily':typeof _0x3abd43['fontFamily']==_0x3ae3a3(0x192)?_0x3abd43[_0x3ae3a3(0x443)]:(_0x276cd3==null?void 0x0:_0x276cd3['ff'])??_0x23e0bb['ff'],'fontSize':typeof _0x3abd43['fontSize']==_0x3ae3a3(0x2bc)?_0x3abd43['fontSize']:typeof(_0x276cd3==null?void 0x0:_0x276cd3['fs'])=='number'?_0x276cd3['fs']:_0x23e0bb['fs'],'horizontalAlign':_0x3abd43[_0x3ae3a3(0x3eb)]??_0x16217c['ha']??_0x1e32f2['LEFT'],'textFill':_0x3abd43[_0x3ae3a3(0x2e5)]&&typeof _0x3abd43['textFill']==_0x3ae3a3(0x31e)?_0x3abd43[_0x3ae3a3(0x2e5)]:_0x276cd3==null?void 0x0:_0x276cd3['textFill'],'verticalAlign':_0x3abd43[_0x3ae3a3(0x201)]??_0x16217c['va']??_0x42b806[_0x3ae3a3(0x2f6)]};}function Qn(_0x1849ff,_0x3ca083){const _0x622d47=_0x92f39f;if(!_0x3ca083)return;let _0x51126b=In(_0x3ca083);if(!_0x51126b[_0x622d47(0x33b)])return;let _0x230e19=_0x51126b['map'](_0x4813bb=>_0x1849ff[_0x622d47(0x37b)]({'id':_0x622d47(0x2bb),'binding':_0x4813bb,'staticParameters':{'action':_0x3ca083}})??void 0x0)['filter'](_0x327539=>!!_0x327539);return _0x230e19[_0x622d47(0x33b)]?[...new Set(_0x230e19)][_0x622d47(0x376)]('/'):void 0x0;}async function $n(_0x326ad9,_0x212746,_0x3f267d){const _0x4f1ec3=_0x92f39f;return await Promise[_0x4f1ec3(0x2a7)](_0x212746(()=>_0x326ad9[_0x4f1ec3(0x1b1)](_0x61c9cd['id'],_0x3f267d)))?(await Promise['resolve'](_0x212746(()=>_0x326ad9[_0x4f1ec3(0x1b1)](_0x1a1b4d['id'],{'unitId':_0x3f267d[_0x4f1ec3(0x237)],'subUnitId':_0x3f267d['subUnitId'],'scopeId':_0x3f267d['scopeId']}))),!0x0):!0x1;}async function er(_0x4196aa,_0x10aac4,_0x5780fa){const _0x2875f5=_0x92f39f;return await Promise[_0x2875f5(0x2a7)](_0x10aac4(()=>_0x4196aa[_0x2875f5(0x1b1)](_0x140e61['id'],_0x5780fa)))?(await Promise['resolve'](_0x10aac4(()=>_0x4196aa['executeCommand'](_0x1a1b4d['id'],{'unitId':_0x5780fa['unitId'],'subUnitId':_0x5780fa['subUnitId'],'scopeId':_0x5780fa[_0x2875f5(0x3d0)]}))),!0x0):!0x1;}function tr({className:_0x37f24b='univer-size-5'}){const _0xff7c24=_0x92f39f;return _0x36e588(_0xcfec90,{'children':_0x99613(_0xff7c24(0x44b),{'className':_0x37f24b,'viewBox':_0xff7c24(0x3f0),'fill':_0xff7c24(0x194),'aria-hidden':_0xff7c24(0x2c5),'children':[_0x36e588(_0xff7c24(0x2a9),{'d':_0xff7c24(0x155),'stroke':_0xff7c24(0x261),'strokeWidth':_0xff7c24(0x3bb),'strokeLinecap':_0xff7c24(0x370)}),_0x36e588('path',{'d':'M19.5\x207.5h-4.2c-1.9\x200-3.3\x201.5-3.3\x203.3','stroke':_0xff7c24(0x261),'strokeWidth':'1.8','strokeLinecap':'round'}),_0x36e588(_0xff7c24(0x2a9),{'d':_0xff7c24(0x3a3),'stroke':'currentColor','strokeWidth':_0xff7c24(0x3bb),'strokeLinecap':_0xff7c24(0x370)})]})});}function nr({icon:_0x357cee}){const _0x59c61d=_0x92f39f;let _0x3aeb15='#d8dce3',_0x1eb0c8={'stroke':'currentColor','strokeWidth':2.6,'strokeLinecap':_0x59c61d(0x370),'strokeLinejoin':'round'},_0x2a4fd8={'stroke':_0x3aeb15,'strokeWidth':3.2,'strokeLinecap':_0x59c61d(0x370)};return _0x99613(_0x59c61d(0x44b),{'className':_0x59c61d(0x379),'viewBox':'0\x200\x2080\x2056','fill':_0x59c61d(0x194),'aria-hidden':'true','children':[_0x357cee===_0x59c61d(0x252)&&_0x99613(_0x1df3f8,{'children':[_0x36e588(_0x59c61d(0x2a9),{'d':'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',..._0x1eb0c8}),_0x36e588('path',{'d':_0x59c61d(0x30d),..._0x2a4fd8})]}),_0x357cee===_0x59c61d(0x395)&&_0x99613(_0x1df3f8,{'children':[_0x36e588(_0x59c61d(0x2a9),{'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',..._0x1eb0c8}),_0x36e588(_0x59c61d(0x2a9),{'d':_0x59c61d(0x26f),'stroke':_0x3aeb15,'strokeWidth':2.6,'strokeLinecap':_0x59c61d(0x370),'strokeDasharray':_0x59c61d(0x2d9)})]}),_0x357cee===_0x59c61d(0x1cb)&&_0x99613(_0x1df3f8,{'children':[_0x36e588(_0x59c61d(0x2a9),{'d':_0x59c61d(0x2a8),..._0x1eb0c8}),_0x36e588('path',{'d':_0x59c61d(0x3de),..._0x2a4fd8}),_0x36e588(_0x59c61d(0x464),{'cx':'24','cy':'12','r':'3','fill':'currentColor'})]}),_0x357cee===_0x59c61d(0x428)&&_0x99613(_0x1df3f8,{'children':[_0x36e588('path',{'d':_0x59c61d(0x2a5),..._0x1eb0c8}),_0x36e588('path',{'d':_0x59c61d(0x1a1),..._0x2a4fd8}),_0x36e588(_0x59c61d(0x464),{'cx':'56','cy':'12','r':'3','fill':_0x59c61d(0x261)})]}),_0x357cee===_0x59c61d(0x331)&&_0x99613(_0x1df3f8,{'children':[_0x36e588('path',{'d':_0x59c61d(0x255),..._0x1eb0c8}),_0x36e588(_0x59c61d(0x2a9),{'d':_0x59c61d(0x1bf),..._0x2a4fd8}),_0x36e588(_0x59c61d(0x464),{'cx':'42','cy':'12','r':'3','fill':_0x59c61d(0x261)})]}),_0x357cee===_0x59c61d(0x316)&&_0x99613(_0x1df3f8,{'children':[_0x36e588(_0x59c61d(0x2a9),{'d':_0x59c61d(0x1a0),..._0x1eb0c8}),_0x36e588('path',{'d':_0x59c61d(0x208),..._0x2a4fd8}),_0x36e588(_0x59c61d(0x464),{'cx':'17','cy':'31','r':'3','fill':_0x59c61d(0x261)})]}),_0x357cee===_0x59c61d(0x284)&&_0x99613(_0x1df3f8,{'children':[_0x36e588('path',{'d':_0x59c61d(0x186),..._0x1eb0c8}),_0x36e588(_0x59c61d(0x2a9),{'d':'M56\x2039h11M13\x2050h11',..._0x2a4fd8}),_0x36e588(_0x59c61d(0x464),{'cx':'40','cy':'9','r':'3','fill':'currentColor'})]}),_0x357cee===_0x59c61d(0x21e)&&_0x36e588(_0x1df3f8,{'children':_0x36e588(_0x59c61d(0x2a9),{'d':_0x59c61d(0x41f),..._0x1eb0c8})}),_0x357cee==='branch-rounded-orthogonal'&&_0x36e588(_0x1df3f8,{'children':_0x36e588(_0x59c61d(0x2a9),{'d':_0x59c61d(0x157),..._0x1eb0c8})}),_0x357cee===_0x59c61d(0x27e)&&_0x36e588(_0x1df3f8,{'children':_0x36e588('path',{'d':_0x59c61d(0x253),..._0x1eb0c8})})]});}function rr(_0x34b712,_0x433d18){const _0x1a2f9d=_0x92f39f;let _0x4a0125=_0x34b712[_0x1a2f9d(0x463)],_0x284cf8=_0x3dd1d2(_0x4a0125),_0x1078c5={..._0x284cf8[_0x1a2f9d(0x1f2)]===void 0x0?null:{'color':_0x284cf8[_0x1a2f9d(0x1f2)]},..._0x284cf8[_0x1a2f9d(0x443)]===void 0x0?null:{'fontFamily':_0x284cf8[_0x1a2f9d(0x443)]},..._0x284cf8['fontSize']===void 0x0?null:{'fontSize':_0x284cf8[_0x1a2f9d(0x28f)]},..._0x284cf8['bold']===void 0x0?null:{'bold':_0x284cf8['bold']},..._0x284cf8[_0x1a2f9d(0x238)]===void 0x0?null:{'italic':_0x284cf8[_0x1a2f9d(0x238)]},..._0x284cf8[_0x1a2f9d(0x29d)]===void 0x0?null:{'underline':_0x284cf8[_0x1a2f9d(0x29d)]},..._0x284cf8[_0x1a2f9d(0x1e1)]===void 0x0?null:{'strikethrough':_0x284cf8['strikethrough']},..._0x284cf8[_0x1a2f9d(0x2e5)]===void 0x0?null:{'textFill':_0x284cf8[_0x1a2f9d(0x2e5)]}};_0x34b712[_0x1a2f9d(0x3eb)]!==void 0x0&&(_0x1078c5[_0x1a2f9d(0x3eb)]=_0x34b712[_0x1a2f9d(0x3eb)]),_0x34b712[_0x1a2f9d(0x201)]!==void 0x0&&(_0x1078c5[_0x1a2f9d(0x201)]=_0x34b712['verticalAlign']),Object['keys'](_0x1078c5)[_0x1a2f9d(0x33b)]>0x0&&_0x433d18({'textStyle':_0x1078c5});}function ir(_0x535988,_0x1b7564,_0x50daba){const _0x560c59=_0x92f39f;let _0x31bb1b=_0x535988??{},_0x57135e=_0x1d868a(_0x31bb1b,_0x1b7564),_0x1e7482=_0x57135e[_0x560c59(0x29e)]??_0x31bb1b['shapeText']??{};return{..._0x31bb1b,..._0x57135e,'shapeText':{..._0x1e7482,..._0x50daba[_0x560c59(0x1f2)]===void 0x0?null:{'color':_0x50daba[_0x560c59(0x1f2)]},..._0x50daba[_0x560c59(0x28f)]===void 0x0?null:{'fontSize':_0x50daba[_0x560c59(0x28f)]},..._0x50daba[_0x560c59(0x42b)]===void 0x0?null:{'bold':_0x50daba[_0x560c59(0x42b)]},..._0x50daba[_0x560c59(0x238)]===void 0x0?null:{'italic':_0x50daba['italic']},..._0x50daba[_0x560c59(0x29d)]===void 0x0?null:{'underline':_0x50daba[_0x560c59(0x29d)]},..._0x50daba[_0x560c59(0x1e1)]===void 0x0?null:{'strikethrough':_0x50daba[_0x560c59(0x1e1)]},..._0x50daba['horizontalAlign']===void 0x0?null:{'horizontalAlign':_0x50daba['horizontalAlign']},..._0x50daba['verticalAlign']===void 0x0?null:{'verticalAlign':_0x50daba[_0x560c59(0x201)]},..._0x50daba[_0x560c59(0x2e5)]===void 0x0?null:{'textFill':_0x50daba[_0x560c59(0x2e5)]}}};}function _0x4e0c(){const _0x3cc417=['_activeScopeId','univer-flex\x20univer-items-center\x20univer-gap-1\x20univer-truncate\x20univer-rounded\x20univer-py-1\x20univer-text-left\x20univer-text-gray-800','fillText','_insertMindMap','mindmap-vertical','type','_getMindMapChildren','boards-mind-ui.panel.rename','changeEnd$','_resolveCurrentBoardContext','_createShortcutItems','dot','_resolveSelectedMindMapEntryFromState','boards-mind-ui.panel.addText','getOwnPropertyDescriptor','toPrimitive','_attachActivePointerDragListeners','_createTopologyBoundsByElementId','M4.5\x2016.5h4.2c1.9\x200\x203.3-1.5\x203.3-3.3','layout-panel-divider','_resolveCompleteSelectedScope','glyphHoverWidth','boards-mind-ui.saveDescription','boundsByElementId','boards-mind-ui.toolbar.panel.typography','_removeObject','boards-mind-ui.toolbar.action.fontColor','DELETE','boards-mind-ui.panel.nodeStyle.fontSize','MindMap','addEventListener','24kWpdZk','currentTarget','unit','_isControlEvent','structureScopeId','unshift','fontColor','RIGHT','labelKey','siblingDotRadius','opacity','1.8','getSelectedObjectMap','paste-as-new','Mind\x20map','1.0.4','mind-map-font-size','_lastChildDragAction','_resolveChildDragTopologyAction','focusUnit','getElementById','entries','boards-mind-ui.panel.structureKind.mindmapVertical','setConfig','textEditingService','univer-flex-wrap','3731861bHmgZQ','boards-mind-ui.panel.emptyNodes','textAlign','uiStateService','univer-flex-1\x20univer-text-sm','direction','scopeId','owner','line','boards-mind-ui.panel.exportOPML','getAncestorScale','addChildNode','_getSceneObject','add-sibling-after','includes','panOffset','_subscribeElementDataChanges','_syncPointerChildDragPreview','makeDirty','registerAdapter','M47\x2025h13M47\x2035h13M47\x2045h13','add-child-top','tools','_seedExistingNodeSizes','hide','univer-text-gray-500','_componentManager','defineProperty','Branch','hideRootControls','div','child','orderKey','horizontalAlign','call','defaultValue','getEditing','lineWidthScreen','0\x200\x2024\x2024','boards-mind-ui.panel.tab.layout','univer-space-y-1','enabled','badgeFontWeight','boards-mind-ui.toolbar.action.layout','_isChildDragPastActivationThreshold','restore','reparent','requestRender','_boardTextEditingService','offsetX','_resolveNodeSize','_uiStateService','_resolveSelectedEntry','elementService','getObject','mind-map-stroke','all','importExport','middle','nodeId','rootNodeId','setEditing','univer-flex\x20univer-justify-end\x20univer-gap-2','_getSelectedMindMapContext','_isActive','updateState','rootStartBounds','boards-mind-ui.toolbar.action.delete','clipboardService','orthogonal','_resolveControlSide','_rememberNodeSize','transformByState','from','addObject','_executeNodeOperation','activeTool','textColor','shapeId','univer-grid\x20univer-h-14\x20univer-overflow-hidden\x20univer-rounded-xl\x20univer-bg-gray-100\x20univer-p-1','boards-mind-ui.toolbar.primary.line','collapseAllNodes','viewing','_ensureObject','univer-text-xs','M16\x2028c16\x200\x2025-13\x2043-13M16\x2028c16\x200\x2025\x2013\x2043\x2013','onPointerUp$','state$','incomingConnectorStyle','text','layout','rootFontWeight','_popupDisposable','map','tree-left','item','_resolveHostSize','bold','_ensurePreviewObject','FOCUSING_MIND_MAP_NODE','_normalizeChildren','clear','connectorAffordance','_isPointInBounds','boards-mind-ui.panel.cancel','_getBoardPointFromEvent','branchLineType','_isPopupSelectionStillActive','_lastPoint','dataModel','button','_updateHostSize','671tdXHsn','_resolvePreviewTextStyle','renderGhostNode','_applyScopeTranslation','boards-mind-ui.alignJustify','univer-space-y-3','delete','_findChildNodeAtPoint','univer-size-full\x20univer-bg-gray-0\x20univer-text-sm\x20univer-text-gray-700\x20dark:!univer-bg-gray-900\x20dark:!univer-text-gray-200','fontFamily','icon','board.mind-map.floating-toolbar','findIndex','_intrinsicSizeService','univer-flex\x20univer-gap-2','preview','pointerStartY','svg','style','side','pointercancel','boards-mind-ui.panel.branchLineType.roundedOrthogonal','_getPointerScreenPoint','ARROW_LEFT','add-child-right','8769490ronVLt','boards-mind-ui.alignLeft','badgeCount','vertical','subscribe','evented','popup','_renderContext','siblingDotGap','kind','_queueLayout','children','navigator','scope','_updateShapeText','boards-mind-ui.panel.structureKind.treeRight','textStyle','circle','element','boards-mind-ui.panel.tab.importExport','board.mind-map.description-dialog','boards-mind-ui.panel.tab.structure','_resolveCreateChildSide','ARROW_UP','Shape','open-description','localeCompare','_pointerDragStart','univer-mb-4','_sidebarDisposable','boards-mind-ui.descriptionPlaceholder','sourceHighlightFillColor','_registerComponents','univer-border-b\x20univer-border-gray-200\x20univer-p-4','ENTER','_navigateByTopology','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','boards-mind-ui.cancel','M16\x2029h18c7\x200\x2010-5\x2010-12v-3M34\x2029h10c7\x200\x2010\x205\x2010\x2012v3','mind-map','transientPreview','description','boards-mind-ui.panel.tab.','_elementStateService','success','_syncDragPreview','boards-mind-ui.panel.branchLineType.orthogonal','changing$','addSibling','removeEventListener','boards-mind-ui.toolbar.action.stroke','addSiblingNode','lineTo',',\x20minmax(0,\x201fr))','clearPendingInsert','board-mind-map-description-dialog','_injector','panel','_resolveRootTopLeft','univer-mb-3\x20univer-text-sm\x20univer-font-semibold\x20univer-text-gray-900\x20dark:!univer-text-gray-100','addDescription','label','closePath','preventDefault','ARROW_DOWN','rootChildSides','render','_getBlankBoardContext','univer-min-h-12\x20univer-w-full','params','_activeNodeId','dirtyPaddingScreen','toggle-collapse','boards-mind-ui.toolbar.action.copy','structureKind','add-child','fillStyle','univer-w-[202px]\x20univer-rounded-xl\x20univer-border\x20univer-border-gray-200\x20univer-bg-gray-0\x20univer-px-4\x20univer-py-4\x20univer-shadow-lg','activeEditingId','_syncChildDragPreviewObject','zIndex','_initEditingRestore','gap','nodeWidth','_syncContext','M40\x209v40M40\x2020c8\x200\x2011\x204\x2011\x2011v8M40\x2035c-8\x200-11\x204-11\x2011v4','dividerBefore','boards-mind-ui.description','refresh$','getState','univer-min-h-12\x20univer-text-xl','_textEditingService','pluginName','asObservable','278088cWpRkJ','edit-text','_clearPopupIfSelectionChanged','string','_childDragActivated','none','JUSTIFIED','collapsed','mind-map-layout-dropdown','promote','more','getConfig','_childDragSelectionHidden','getCurrentUnitOfType','_collapseAll','parentNodeId','_applyDragTopologyAction','M15\x2031h50M35\x2031V18c0-4\x203-7\x208-7h9M35\x2031v13c0\x204\x203\x207\x208\x207h9','M20\x2025h13M20\x2035h13M20\x2045h13','_restoreActivePreview','_captureDragStart','meta','function','getPayload','add-sibling-or-child','_dragStart','_removeDragPreviewObject','ghostFillColor','hostSize','lineWidth','onPointerMove$','subscribeEvent','_getPointerLiveBounds','sourceBounds','executeCommand','_template','add-child-bottom','univer-w-24','px\x20','pointerup','_getRenderModules','univer-grid\x20univer-grid-cols-4\x20univer-gap-2','univer-flex\x20univer-flex-col\x20univer-gap-2','boards-mind-ui.panel.structureKind.timelineHorizontal','univer-w-full\x20univer-text-base','constructor','board-mind-map-node-controls-object','univer-min-w-0\x20univer-flex-1\x20univer-justify-start\x20univer-truncate\x20univer-text-left','M12\x2026h11M58\x2036h11M12\x2045h11','registerRuntimeScopedDependencies','connector','version','boards-mind-ui.config','univer-min-h-12\x20univer-flex-1','blueprint','setActiveTool','sort','objects','_attachObjectPointerScheduled','toLowerCase','tree-right','changeStart$','parseInt','with','scaleY','keys','_syncRootScopePreview','reduce','univer-text-xs\x20univer-text-gray-400\x20dark:!univer-text-gray-500','rootText','siblingGap','pendingInsert','visible','top','depth','boards-mind-ui.panel.nodeStyle.fontFamily','_getBoardsUIConfig','_cancelPointerChildDrag','abs','clearControl$','data','_activePreview','strikethrough','add-child-left','boards-mind-ui.panel.spacing.siblingGap','UNIVER_BOARD','viewportPanOffset','_clearPopup','stroke','sourceHighlightStrokeColor','horizontalGap','scene','attachPopupToObject','zoomRatio','boards-mind-ui.alignTop','push','bounds','ArrowUp','timelineAxisGap','color','values','univer-w-32','_nodeSizeByKey','nodeHeight','hoveredControl','after','_boardCanvasPopManagerService','subUnitId','globalAlpha','primaryColor','boards-mind-ui.panel.title','height','Escape','_activePointerDragDisposables','verticalAlign','targetNodeId','dispose$','board-mind-map-drag-preview-object','boards-mind-ui.toolbar.action.paste','detachWhenNoSnap','board-mind-map-pending-insert-object','M56\x2011h11M56\x2051h11','both','section','RoundDot','SolidLine','getUnit','packageName','siblingHoverRadius','_objectEventDisposables','foldChildNodes','surfaceColor','fill','structure','strokeWidth','boards-mind-ui.panel.structureKind.timelineVertical','_applyRootTranslation','createControl$','_handlePointerDown','UNIVER_BOARDS_MIND_UI_PLUGIN','controls','_boardElementService','makeDirtyNoDebounce','branch-curve','clearSelection','structured','50rHhWBY','ignoreExternalFocusChanges','isRoot','beginMindMapMode','ArrowRight','_executeCreateAndEdit','add','_removePreviewObject','_disposeActivePointerDragListeners','_syncRootReparentPreview','focus','exec','_drawSourceHighlight','ghost','_disposed','boards-mind-ui.panel.nodeStyle.','boards-mind-ui.toolbar.action.addChild','_buildPopupSelectionKey','transientControl','paste','min','univer-flex\x20univer-flex-col\x20univer-gap-4\x20univer-p-4','unitId','italic','FOCUSING_MIND_MAP_BLANK_BOARD','_syncElementDataToScene','univer-grid-cols-4','_resolveRootChildControlSides','setTemplate','_enableMindMapToolbarTool','registerRenderModule','getCanvasElement','extraProps','transform','addChildGlyphSize','badgeFontSize','_refresh$','_shortcutService','univer-h-7\x20univer-min-w-9\x20univer-w-auto\x20univer-gap-1\x20univer-px-1.5','_cloneBlueprintNode','Enter','foreignAttributes','_contextService','value','_instanceSrv','univer-flex\x20univer-w-full\x20univer-flex-col\x20univer-gap-4','_resolvePreviewSourceBounds','doc','_attachObjectPointerListeners','mindmap-horizontal','M17\x2033h21M38\x2017v30M38\x2017h24','fonts$','M42\x2012v32M42\x2020c0\x204-3\x206-7\x206h-7M42\x2030c0\x204\x203\x206\x207\x206h7M42\x2039c0\x204-3\x206-7\x206h-7','BOTTOM','ghostTextColor','_provider','getInjector','textBaseline','focusedId','_executeAndLayout','skipNextObservers','visualRadius','boards-mind-ui.toolbar.action.','pointermove','currentColor','getHitControl','isFinite','elementAdd$','curve','radius','boards-mind-ui.panel.pasteOPML','commandService','_ensureDragPreviewObject','_executeChildDragAction','typography','univer-min-h-12\x20univer-text-base','_configService','_deleteSelectedNode','M22\x208h36M22\x2048h36M14\x2018v20M66\x2018v20','_init','then','connectorAlpha','_queuedLayouts','_config','boards-mind-ui.toolbar.primary.more','_createKeyboardShortcutOperation','filter','buttons','decorate','univer-bg-[#e8eefc]\x20univer-text-[#2f6fed]\x20hover:univer-bg-[#e8eefc]','register','registerCommand','placement','branch-orthogonal','getTemplate','lineCap','_previewObject','_commandService','editCurrentNode','timeline-vertical','4hEgvxm','univer-mb-2\x20univer-text-lg\x20univer-text-gray-900','getTransformerByCreate','univer-w-full\x20univer-text-xs','activated$','branch-rounded-orthogonal','syncExecuteCommand','some','lineJoin','_resolveIncomingConnectorStyle','fontSize','_layoutFlushScheduled','8212509xCcdPz','has','localeService','oldShapeText','removeObjects','rootWidth','_capturePointerChildDragStart','getObjectIncludeInGroup','univer-h-auto\x20univer-min-h-12\x20univer-whitespace-normal\x20univer-px-2\x20univer-py-2','boards-mind-ui.alignRight','flatMap','interactionMode','underline','shapeText','univer-space-y-2','center','univer-h-12\x20univer-text-base','elementUpdate$','titleKey','_getZoomRatio','M56\x2012v32M56\x2019c0\x204-3\x206-7\x206h-7M56\x2029c0\x204-3\x206-7\x206h-7M56\x2039c0\x204-3\x206-7\x206h-7','detach','resolve','M24\x2012v32M24\x2019c0\x204\x203\x206\x207\x206h7M24\x2029c0\x204\x203\x206\x207\x206h7M24\x2039c0\x204\x203\x206\x207\x206h7','path','onStarting','rounded-orthogonal','_getLiveObjectBounds','boards-mind-ui.toolbar.action.fill','quadraticCurveTo','solid','univer-min-h-12\x20univer-w-full\x20univer-justify-between','strokeStyle','_scheduleAttachObjectPointerListeners','_getPointFromEvent','writeText','objectAlpha','ghostBounds','ArrowLeft','_object','_executeRootAnchoredLayout','get','board.operation.mind-map.keyboard-shortcut','number','getElementData','offsetY','find','board.operation.mind-map.open-panel','move','_cloneBlueprint','boards-mind-ui.panel.branchLineType.curve','right','true','getSnapshot','setHoveredControl','pointerStartX','_syncControls','scaleX','open','forEach','_copySelectedNode','symbol','toolbar','top-center','dash','getFonts','elementId','_localeService','snapDistance','elementData','items','allowRootReparent','6\x207','univer-border-b\x20univer-border-gray-200\x20univer-p-3','set','hypot','childNodeId','dashType','renderContext','boards-mind-ui.panel.structureKind.mindmapHorizontal','_previewHostSize','_pasteUnderSelectedNode','_consumePointerEvent','_handleElementUpdate','textFill','_mindMapClipboardService','univer-text-sm\x20univer-font-medium\x20univer-text-gray-900\x20dark:!univer-text-gray-0','_handlePointerMove','siblingGlyphSize','glyphSize','getScene','beginPath','shapeData','TOP','boards-mind-ui.panel.layout.left','LEFT','boards-mind-ui.panel.layout.both','liveRootBounds','show','add-sibling-before','2079663StORCN','MIDDLE','setPendingInsert','createRunner','univer-max-w-[min(760px,calc(100vw-32px))]','parentBounds','SquareDot','newParentNodeId','_previewRefreshService','setLineDash','selectElements','getUnitId','_resetContext','rgb','getRenderUnitById','editingParams$','_renderManagerService','_insertStateService','disposeWithMe','tree-diagram','rootRadius','37379TrVaKJ','sourceDashScreen','next','M12\x2015h9M12\x2028h9M12\x2041h9M59\x2015h9M59\x2028h9M59\x2041h9','univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-text-xs\x20univer-text-gray-600','stopPropagation','univer-mb-3\x20univer-w-full','hasCommand','pipe','registerShortcut','_applyPointerChildDrag','clientX','timeline-horizontal','ArrowDown','_interactionSurfaceService','SHIFT','setShapeSidebarOpen','OPERATION','referenceNodeId','_dragPreviewObject','object','_restoreObjectToDragStart','_instanceService','custom','before','FOCUSING_MIND_MAP_TEXT_EDITOR','_getElementKey','fromEntries','default','_stateService','key','univer-h-28\x20univer-resize-none','context','transientPreviewForeground','slice','_hideSelectionForChildDrag','updateElement','_resolveChildSide','board.mind-map.panel','tree-alternate','getContextValue','_addChild','_undoRedoGroupService','_showPopupForSelection','arrow-right','_pasteAsNewMindMap','point','max','onDblclick$','length','sourceHaloScreen','arrow-up','univer-h-12\x20univer-w-32\x20univer-text-base','dialogService','dispose','_sidebarService','8TGvqCM','onPointerDown$','copy','moveTo','primary','univer-w-20\x20univer-shrink-0','_openDescriptionDialog','univer-mb-0','onReady','span','TRUE','573430mFfAKs','textPaddingScreen','elementStateService','prototype','selectedIds','_attachObjectEvents','divider-','connectorData','_syncPreviewObject','Tree\x20diagram','glyphWidth','Dash','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','branchGap','_resolveControlBounds','boards-mind-ui.panel.structureKind.treeAlternate','borderWidth','_syncChildDragPreview','boards-mind-ui.alignMiddle','onCommandExecuted','dataTransfer','boards-mind-ui.panel.importOPML','getActivePageId','isHit','unsubscribe','arrow-left','_toFiniteBounds','title','_syncLayoutPreview','deviceType','_state','Select','small','bottom','root','round','hasChildren','elementRemove$','timeline','_resolveDirtyBounds','fallbackNodeWidth','join','engine','left','univer-h-9\x20univer-w-12','mindmap','getShortcutDisplay','_addSiblingOrChild','[&_input]:univer-h-12\x20[&_input]:univer-text-base','isTransforming','_countDescendants','clientY','univer-h-32\x20univer-resize-none\x20univer-text-sm','boards-mind-ui.panel.searchNodes','save','_resolveArrowNavigationTarget','trim','univer-grid-cols-3','_objectPointerDisposables','addChildRadius','width','setContextValue','style-divider','_consumeControlEvent','notify','_popupSelectionKey','ghostRadius','Touch'];_0x4e0c=function(){return _0x3cc417;};return _0x4e0c();}function ar(_0x3ef46b,_0x34f2d1){const _0x4c0c72=_0x92f39f;let _0xe8a98=_0x3ef46b==null?void 0x0:_0x3ef46b[_0x4c0c72(0x1e7)];_0xe8a98&&_0x34f2d1({'lineType':_0xe8a98[_0x4c0c72(0x2de)]===_0x1fef06[_0x4c0c72(0x20b)]||_0xe8a98['dashType']===_0x1fef06[_0x4c0c72(0x2fb)]?'dot':_0xe8a98['dashType']===_0x1fef06[_0x4c0c72(0x358)]?_0x4c0c72(0x2d1):_0x4c0c72(0x2af),...typeof _0xe8a98[_0x4c0c72(0x389)]==_0x4c0c72(0x2bc)?{'strokeWidth':_0xe8a98[_0x4c0c72(0x389)]}:null,...typeof _0xe8a98[_0x4c0c72(0x1f2)]=='string'?{'stroke':_0xe8a98[_0x4c0c72(0x1f2)]}:null,...typeof _0xe8a98[_0x4c0c72(0x3ba)]==_0x4c0c72(0x2bc)?{'opacity':_0xe8a98['opacity']}:null});}function or(_0x35002c){const _0x4931c2=_0x92f39f;return _0x35002c!=null&&_0x35002c[_0x4931c2(0x33b)]?_0x35002c[0x0]<=0x2?_0x1fef06['RoundDot']:_0x1fef06['Dash']:_0x1fef06['Solid'];}function sr(_0xc070f){const _0x5ee35b=_0x92f39f;return{'stroke':{'lineStrokeType':_0x489228[_0x5ee35b(0x20c)],'dashType':or(_0xc070f==null?void 0x0:_0xc070f['dash']),'color':(_0xc070f==null?void 0x0:_0xc070f['stroke'])??_0x3e6563,'width':(_0xc070f==null?void 0x0:_0xc070f[_0x5ee35b(0x215)])??Bn[_0x5ee35b(0x3ed)],'opacity':(_0xc070f==null?void 0x0:_0xc070f[_0x5ee35b(0x3ba)])??Vn[_0x5ee35b(0x3ed)]/0x64}};}function cr(_0x4dc4c3){const _0x3b5938=_0x92f39f;var _0x2ba506,_0x120faf,_0x48d530;let _0x15a59f=_0x17282b(_0x3aa11b),_0x5e6983=_0x17282b(_0x589ecb),_0x4978ec=_0x17282b(_0x33f8b9),_0x5e7b65=_0x17282b(_0x387fe1),[_0x3112fb,_0x1b1117]=_0x406b1d(null),[_0x471020,_0x4e9e0d]=_0x406b1d((_0x2ba506=_0x4dc4c3[_0x3b5938(0x459)]['extraProps'])==null?void 0x0:_0x2ba506[_0x3b5938(0x2ed)]),_0x18c707=_0x4dc4c3[_0x3b5938(0x459)][_0x3b5938(0x241)];if(!_0x18c707)return null;let _0x4e4e12={'unitId':_0x18c707[_0x3b5938(0x237)],'subUnitId':_0x18c707[_0x3b5938(0x1fa)]},_0x19c945=_0x50a014=>{const _0x433a2c=_0x3b5938;_0x15a59f['executeCommand'](_0x5049e3['id'],{..._0x4e4e12,'nodeId':_0x18c707[_0x433a2c(0x2d3)],..._0x50a014});},_0x569ebf=(_0x31c5bb,_0x41f691)=>{const _0x3724ff=_0x3b5938;let _0x1325c0=_0x41f691??{};_0x4e9e0d(_0x5246b4=>({..._0x5246b4??{},..._0x1325c0})),_0x19c945({..._0x1325c0['fill']===void 0x0?null:{'fill':_0x1325c0['fill']},..._0x1325c0[_0x3724ff(0x1e7)]===void 0x0?null:{'stroke':_0x1325c0[_0x3724ff(0x1e7)]}});},_0x29a9cb=_0x188129=>{const _0x3762b8=_0x3b5938;_0x15a59f['executeCommand'](_0x464e77['id'],{..._0x4e4e12,'nodeId':_0x18c707[_0x3762b8(0x2d3)],'style':_0x188129});},_0x4edcdc=sr(_0x18c707[_0x3b5938(0x422)]),_0xc78e7d=_0x44274c=>Qn(_0x5e6983,_0x44274c),_0x58d331=_0x269667=>{qn(_0x15a59f,_0x269667);},_0x541420=(_0x471020==null?void 0x0:_0x471020['shapeText'])??{},_0x23f1a1=Zn(_0x471020),_0x46fe8b=_0xec921e=>{rr(_0xec921e,_0x480b48=>{const _0x22659e=_0x25f1;_0x4e9e0d(_0x5132b1=>ir(_0x5132b1,_0xec921e,_0x480b48[_0x22659e(0x463)])),_0x19c945(_0x480b48);});},_0x7b00b2=[{'label':_0x4978ec['t'](_0x3b5938(0x454)),'value':_0x1e32f2[_0x3b5938(0x2f0)],'icon':_0x36e588(_0x3d8e65,{})},{'label':_0x4978ec['t']('boards-mind-ui.alignCenter'),'value':_0x1e32f2['CENTER'],'icon':_0x36e588(_0x50a4e6,{})},{'label':_0x4978ec['t'](_0x3b5938(0x29a)),'value':_0x1e32f2[_0x3b5938(0x3b7)],'icon':_0x36e588(_0x42707d,{})},{'label':_0x4978ec['t'](_0x3b5938(0x43e)),'value':_0x1e32f2[_0x3b5938(0x195)],'icon':_0x36e588(_0x34642c,{})}],_0x4a45bb=[{'label':_0x4978ec['t'](_0x3b5938(0x1ed)),'value':_0x42b806[_0x3b5938(0x2ee)],'icon':_0x36e588(_0x19a816,{})},{'label':_0x4978ec['t'](_0x3b5938(0x35f)),'value':_0x42b806[_0x3b5938(0x2f6)],'icon':_0x36e588(_0xdc38d1,{})},{'label':_0x4978ec['t']('boards-mind-ui.alignBottom'),'value':_0x42b806[_0x3b5938(0x256)],'icon':_0x36e588(_0x30b7b7,{})}],_0x403e30=()=>{const _0x2e317a=_0x3b5938;_0x58d331(_0x2e317a(0x1a7));},_0x201c65=()=>{const _0x307738=_0x3b5938;_0x58d331(_0x307738(0x17c));},_0x274433=()=>{const _0x3f6d53=_0x3b5938;_0x58d331(_0x3f6d53(0x344));},_0x31fbf6=()=>{const _0x2bed53=_0x3b5938;_0x58d331(_0x2bed53(0x234));},_0xfa23af=()=>{const _0x5b25c9=_0x3b5938;_0x58d331(_0x5b25c9(0x440));},_0x50c67c=((_0x120faf=_0x18c707['layout'])==null?void 0x0:_0x120faf[_0x3b5938(0x17b)])??_0x29a5bb['structureKind'],_0x4d8452=_0x47dc91(_0x50c67c,((_0x48d530=_0x18c707[_0x3b5938(0x424)])==null?void 0x0:_0x48d530['branchLineType'])??_0x29a5bb[_0x3b5938(0x434)]),_0x5780e7=_0x107576=>{const _0x295a28=_0x3b5938;let _0x514af7=_0x47dc91(_0x107576,_0x4d8452);$n(_0x15a59f,_0x5e7b65[_0x295a28(0x2f8)](_0x18c707[_0x295a28(0x237)]),{..._0x4e4e12,'scopeId':_0x18c707[_0x295a28(0x3d0)],'structureKind':_0x107576,..._0x514af7===_0x4d8452?null:{'branchLineType':_0x514af7}}),_0x1b1117(null);},_0x34cee8=_0x55f8c1=>{const _0x11630a=_0x3b5938;er(_0x15a59f,_0x5e7b65[_0x11630a(0x2f8)](_0x18c707[_0x11630a(0x237)]),{..._0x4e4e12,'scopeId':_0x18c707[_0x11630a(0x3d0)],'branchLineType':_0x55f8c1}),_0x1b1117(null);},_0x5f1b59=(_0x91fb10,_0x31598f,_0x343bb7,_0x2fcc56=!0x1)=>_0x36e588(_0x3b5938(0x438),{'type':'button','aria-label':_0x4978ec['t'](_0x91fb10['labelKey']),'disabled':_0x2fcc56,'className':_0x2ccaad('univer-flex\x20univer-h-12\x20univer-min-w-0\x20univer-items-center\x20univer-justify-center\x20univer-rounded-lg\x20univer-border-0\x20univer-bg-transparent\x20univer-p-0\x20univer-text-gray-900\x20univer-outline-none\x20univer-transition-colors\x20hover:univer-bg-gray-0',_0x31598f&&_0x3b5938(0x27a),_0x2fcc56&&'univer-cursor-not-allowed\x20univer-text-gray-300\x20hover:univer-bg-transparent'),'onMouseDown':Yn,'onPointerDown':Yn,'onClick':_0x41e8aa=>{const _0x100bf3=_0x3b5938;_0x41e8aa[_0x100bf3(0x30f)](),!_0x2fcc56&&_0x343bb7();},'children':_0x36e588(nr,{'icon':_0x91fb10[_0x3b5938(0x444)]})},_0x91fb10[_0x3b5938(0x24c)]),_0x31e972=()=>_0x99613(_0x3b5938(0x3e8),{'className':_0x3b5938(0x17e),'onMouseDown':_0x42385a=>_0x42385a[_0x3b5938(0x30f)](),'onPointerDown':_0x4a8dc4=>_0x4a8dc4['stopPropagation'](),'children':[Wn[_0x3b5938(0x427)](_0x540e28=>_0x99613(_0x3b5938(0x3e8),{'className':_0x3b5938(0x46f),'children':[_0x36e588(_0x3b5938(0x3e8),{'className':_0x3b5938(0x286),'children':_0x540e28[_0x3b5938(0x368)]}),_0x36e588('div',{'className':_0x3b5938(0x419),'style':{'gridTemplateColumns':'repeat('+_0x540e28[_0x3b5938(0x2d7)]['length']+_0x3b5938(0x166)},'children':_0x540e28[_0x3b5938(0x2d7)][_0x3b5938(0x427)](_0x4273e1=>_0x5f1b59(_0x4273e1,_0x4273e1[_0x3b5938(0x24c)]===_0x50c67c,()=>_0x5780e7(_0x4273e1[_0x3b5938(0x24c)])))})]},_0x540e28[_0x3b5938(0x328)])),_0x36e588(_0x47916c,{}),_0x99613(_0x3b5938(0x3e8),{'className':_0x3b5938(0x349),'children':[_0x36e588(_0x3b5938(0x3e8),{'className':_0x3b5938(0x286),'children':Gn[_0x3b5938(0x368)]}),_0x36e588(_0x3b5938(0x3e8),{'className':_0x3b5938(0x419),'style':{'gridTemplateColumns':'repeat('+Gn[_0x3b5938(0x2d7)][_0x3b5938(0x33b)]+_0x3b5938(0x166)},'children':Gn[_0x3b5938(0x2d7)][_0x3b5938(0x427)](_0x206014=>_0x5f1b59(_0x206014,_0x206014[_0x3b5938(0x24c)]===_0x4d8452,()=>_0x34cee8(_0x206014[_0x3b5938(0x24c)]),_0x206014['value']===_0x3b5938(0x265)&&!_0x3ffd8d(_0x50c67c)))})]})]}),_0x22a33f=_0x2e0641=>{const _0x505fb1=_0x3b5938;switch(_0x2e0641){case'line':return _0x36e588(_0x36b757,{'title':_0x4978ec['t']('boards-mind-ui.toolbar.panel.line'),'shapeData':_0x4edcdc,'modeOptions':[_0x505fb1(0x2af),'dash',_0x505fb1(0x39c)],'showDashDropdown':!0x1,'widthRange':{'min':Bn[_0x505fb1(0x235)],'max':Bn[_0x505fb1(0x339)],'step':0x1},'onUpdateShapeData':(_0x1ccfec,_0x51e2d1)=>{ar(_0x51e2d1,_0x29a9cb);}});case _0x505fb1(0x199):return _0x36e588(_0x2bb414,{'title':_0x4978ec['t']('boards-mind-ui.toolbar.panel.more'),'minWidthClassName':'univer-min-w-[240px]','children':_0x99613(_0x505fb1(0x3e8),{'className':'univer-flex\x20univer-flex-col\x20univer-gap-1','children':[_0x36e588(_0x38a135,{'label':_0x4978ec['t']('boards-mind-ui.toolbar.action.addSibling'),'shortcut':_0xc78e7d(Un[_0x505fb1(0x161)]),'onClick':_0x403e30}),_0x36e588(_0x38a135,{'label':_0x4978ec['t'](_0x505fb1(0x231)),'shortcut':_0xc78e7d(Un['addChild']),'onClick':_0x201c65}),_0x36e588(_0x47916c,{}),_0x36e588(_0x38a135,{'label':_0x4978ec['t'](_0x505fb1(0x17a)),'shortcut':_0xc78e7d(Un[_0x505fb1(0x344)]),'onClick':_0x274433}),_0x36e588(_0x38a135,{'label':_0x4978ec['t'](_0x505fb1(0x205)),'shortcut':_0xc78e7d(Un[_0x505fb1(0x234)]),'onClick':_0x31fbf6}),_0x36e588(_0x38a135,{'label':_0x4978ec['t'](_0x505fb1(0x40d)),'shortcut':_0xc78e7d(Un['delete']),'onClick':_0xfa23af})]})});default:return null;}},_0x44d559=Hn[_0x3b5938(0x29b)](_0x473b4e=>{const _0x4594ab=_0x3b5938;let _0xbfb376=[];if(_0x473b4e[_0x4594ab(0x187)]&&_0xbfb376[_0x4594ab(0x1ee)](_0x36e588(_0x47916c,{'orientation':_0x4594ab(0x456)},_0x4594ab(0x353)+_0x473b4e[_0x4594ab(0x45c)])),_0x473b4e[_0x4594ab(0x45c)]===_0x4594ab(0x26b))return _0xbfb376[_0x4594ab(0x1ee)](_0x36e588(_0x2805c5,{'title':_0x4978ec['t'](_0x4594ab(0x3a9)),'fontFamily':_0x23f1a1['fontFamily'],'textStyle':{'isBold':_0x541420['bold']===!0x0,'isItalic':_0x541420[_0x4594ab(0x238)]===!0x0,'isUnderline':_0x541420[_0x4594ab(0x29d)]===!0x0,'isStrike':_0x541420[_0x4594ab(0x1e1)]===!0x0},'horizontalAlign':_0x23f1a1[_0x4594ab(0x3eb)],'verticalAlign':_0x23f1a1[_0x4594ab(0x201)],'horizontalAlignOptions':_0x7b00b2,'verticalAlignOptions':_0x4a45bb,'onUpdateText':_0x46fe8b},_0x473b4e[_0x4594ab(0x45c)])),_0xbfb376;if(_0x473b4e[_0x4594ab(0x45c)]===_0x4594ab(0x3b6)){let _0xd4e14c={'fs':_0x23f1a1[_0x4594ab(0x28f)],'cl':{'rgb':_0x23f1a1[_0x4594ab(0x1f2)]},..._0x23f1a1['textFill']===void 0x0?null:{'textFill':_0x23f1a1[_0x4594ab(0x2e5)]}};return _0xbfb376[_0x4594ab(0x1ee)](_0x36e588(_0x163c26,{'title':_0x4978ec['t'](_0x4594ab(0x3ab)),'textStyle':_0xd4e14c,'fallbackColor':_0x23f1a1['color'],'onChange':_0x58c831=>_0x46fe8b({'textStyle':_0x58c831})},_0x473b4e[_0x4594ab(0x45c)])),_0xbfb376['push'](_0x36e588(_0x38146c,{'value':String(_0x23f1a1[_0x4594ab(0x28f)]),'onChange':_0x1d90f1=>{_0x46fe8b({'textStyle':{'fs':_0x1d90f1}});}},_0x4594ab(0x3c0))),_0xbfb376;}return _0xbfb376['push'](_0x36e588(_0x1ac9f4,{'open':_0x3112fb===_0x473b4e['panel'],'overlay':_0x22a33f(_0x473b4e[_0x4594ab(0x16a)]),'onOpenChange':_0xd9fde4=>_0x1b1117(_0xd9fde4?_0x473b4e['panel']:null),'children':_0x36e588(_0x4594ab(0x34b),{'children':_0x36e588(_0x103714,{'title':_0x4978ec['t'](_0x473b4e[_0x4594ab(0x2a3)]),'active':_0x3112fb===_0x473b4e['panel'],'icon':Xn(Jn[_0x473b4e[_0x4594ab(0x16a)]]),'sizeClassName':_0x4594ab(0x247),'onMouseDown':Yn,'onPointerDown':Yn})})},_0x473b4e['panel'])),_0xbfb376;}),_0x4c8650=[..._0x18c707['isRootNode']?[_0x36e588(_0x1ac9f4,{'open':_0x3112fb===_0x3b5938(0x424),'overlay':_0x31e972(),'onOpenChange':_0x59369e=>_0x1b1117(_0x59369e?'layout':null),'children':_0x36e588('span',{'children':_0x36e588(_0x103714,{'title':_0x4978ec['t'](_0x3b5938(0x3f5)),'active':_0x3112fb===_0x3b5938(0x424),'icon':_0x36e588(tr,{}),'sizeClassName':'univer-h-7\x20univer-min-w-9\x20univer-w-auto\x20univer-gap-1\x20univer-px-1.5','onMouseDown':Yn,'onPointerDown':Yn})})},_0x3b5938(0x197)),_0x36e588(_0x47916c,{'orientation':_0x3b5938(0x456)},_0x3b5938(0x3a4))]:[],_0x36e588(_0x3a140c,{'title':_0x4978ec['t'](_0x3b5938(0x2ad)),'shapeData':_0x471020??{},'onUpdateShapeData':_0x569ebf},'mind-map-fill'),_0x36e588(_0x3ba3d6,{'title':_0x4978ec['t'](_0x3b5938(0x163)),'shapeData':_0x471020??{},'onUpdateShapeData':_0x569ebf},_0x3b5938(0x401)),_0x36e588(_0x47916c,{'orientation':'vertical'},_0x3b5938(0x38b))];return _0x99613(_0xcb04ae,{'maxWidthClassName':_0x3b5938(0x2f9),'onMouseDown':_0x1da097=>_0x1da097['stopPropagation'](),'children':[_0x4c8650,_0x44d559]});}function lr(_0x24b33b){let {left:_0x155069,top:_0x509056,width:_0x3b1429,height:_0x325192}=_0x24b33b;return{'left':_0x155069,'right':_0x155069+_0x3b1429,'top':_0x509056-0x38,'bottom':_0x509056+_0x325192};}let ur=class extends _0xb1406a{constructor(_0x354fc8,_0x5f5b69,_0x43bae8,_0x1a6ea2,_0x5ddf93,_0x403b9a){const _0x4cc3a1=_0x92f39f;super(),this[_0x4cc3a1(0x45a)]=_0x354fc8,this[_0x4cc3a1(0x1f9)]=_0x5f5b69,this['_boardElementService']=_0x43bae8,this['_elementStateService']=_0x1a6ea2,this[_0x4cc3a1(0x3fa)]=_0x5ddf93,this[_0x4cc3a1(0x318)]=_0x403b9a,K(this,_0x4cc3a1(0x426),null),K(this,'_popupSelectionKey',null),this[_0x4cc3a1(0x270)]();}[_0x92f39f(0x340)](){const _0x2604c2=_0x92f39f;this[_0x2604c2(0x1e6)](),super[_0x2604c2(0x340)]();}['_init'](){const _0x9480d1=_0x92f39f;let _0x574155=this[_0x9480d1(0x45a)][_0x9480d1(0x1ea)]['getTransformerByCreate']();this[_0x9480d1(0x307)](_0x594a26(_0x574155[_0x9480d1(0x218)][_0x9480d1(0x312)](_0x3568ee(this[_0x9480d1(0x203)]))[_0x9480d1(0x457)](()=>this[_0x9480d1(0x335)]()))),this['disposeWithMe'](_0x594a26(_0x574155[_0x9480d1(0x1de)][_0x9480d1(0x312)](_0x3568ee(this['dispose$']))[_0x9480d1(0x457)](()=>this['_clearPopupIfSelectionChanged']()))),this[_0x9480d1(0x307)](_0x594a26(_0x574155['changeStart$'][_0x9480d1(0x312)](_0x3568ee(this[_0x9480d1(0x203)]))['subscribe'](()=>this[_0x9480d1(0x1e6)]()))),this[_0x9480d1(0x307)](_0x594a26(_0x574155[_0x9480d1(0x399)][_0x9480d1(0x312)](_0x3568ee(this[_0x9480d1(0x203)]))[_0x9480d1(0x457)](()=>setTimeout(()=>this[_0x9480d1(0x335)](),0x0)))),this[_0x9480d1(0x307)](_0x594a26(this['_elementStateService'][_0x9480d1(0x421)]['pipe'](_0x3568ee(this[_0x9480d1(0x203)]))['subscribe'](()=>setTimeout(()=>this[_0x9480d1(0x335)](),0x0)))),this[_0x9480d1(0x307)](_0x594a26(this[_0x9480d1(0x318)]['interactionSurfaceActive$'][_0x9480d1(0x312)](_0x3568ee(this['dispose$']))['subscribe'](_0x4a1aca=>{const _0x30136a=_0x9480d1;if(_0x4a1aca){this[_0x30136a(0x1e6)]();return;}setTimeout(()=>this[_0x30136a(0x335)](),0x0);}))),this[_0x9480d1(0x307)](_0x594a26(this[_0x9480d1(0x3fa)]['editingParams$'][_0x9480d1(0x312)](_0x3568ee(this[_0x9480d1(0x203)]))[_0x9480d1(0x457)](_0x209f8c=>{const _0x335448=_0x9480d1;if((_0x209f8c==null?void 0x0:_0x209f8c[_0x335448(0x237)])===this[_0x335448(0x45a)]['unitId']){if(_0x209f8c[_0x335448(0x1d7)]){this['_clearPopup']();return;}setTimeout(()=>this[_0x335448(0x335)](),0x0);}})));}[_0x92f39f(0x1e6)](){const _0x35ff66=_0x92f39f;var _0x4abbf1;(_0x4abbf1=this[_0x35ff66(0x426)])==null||_0x4abbf1['dispose'](),this[_0x35ff66(0x426)]=null,this[_0x35ff66(0x38e)]=null;}[_0x92f39f(0x191)](){setTimeout(()=>{this['_isPopupSelectionStillActive']()||this['_clearPopup']();},0x0);}[_0x92f39f(0x435)](){const _0x187032=_0x92f39f;let _0x37b452=this['_elementStateService'][_0x187032(0x2c6)]();return!!_0x37b452[_0x187032(0x32a)]&&_0x37b452[_0x187032(0x351)]['length']>0x0&&this[_0x187032(0x38e)]===this[_0x187032(0x232)](_0x37b452[_0x187032(0x32a)][_0x187032(0x237)],_0x37b452[_0x187032(0x32a)][_0x187032(0x1fa)],_0x37b452['selectedIds']);}[_0x92f39f(0x232)](_0xa5c967,_0x807fd1,_0x2f6a22){const _0x47c47c=_0x92f39f;return _0xa5c967+':'+_0x807fd1+':'+_0x2f6a22[_0x47c47c(0x376)](',');}[_0x92f39f(0x28e)](_0x1888b4,_0x254ccb,_0x2d87d5,_0x1dc2c1){const _0x3fd51e=_0x92f39f;let _0x82112e=this['_boardElementService'][_0x3fd51e(0x2bd)](_0x1888b4,_0x254ccb),_0x7a44d=Object[_0x3fd51e(0x1f3)](_0x82112e)[_0x3fd51e(0x2bf)](_0x208987=>{const _0xc4150f=_0x3fd51e;let _0x148ccd=_0x4073ed(_0x208987[_0xc4150f(0x465)]);return(_0x148ccd==null?void 0x0:_0x148ccd[_0xc4150f(0x3b4)])===_0x2d87d5&&_0x148ccd[_0xc4150f(0x2dd)]===_0x1dc2c1;});if(_0x7a44d&&_0x3fd51e(0x354)in _0x7a44d[_0x3fd51e(0x465)])return _0x7a44d['element'][_0x3fd51e(0x354)][_0x3fd51e(0x44c)];}['_showPopupForSelection'](){const _0x20b18e=_0x92f39f;var _0x4de56f,_0xe1c854,_0x11fe0a;if(this[_0x20b18e(0x318)]['isInteractionSurfaceActive']){this[_0x20b18e(0x1e6)]();return;}let _0x1aaa34=this[_0x20b18e(0x3fa)][_0x20b18e(0x3ee)]();if((_0x1aaa34==null?void 0x0:_0x1aaa34['visible'])===!0x0&&_0x1aaa34[_0x20b18e(0x237)]===this[_0x20b18e(0x45a)][_0x20b18e(0x237)]){this[_0x20b18e(0x1e6)]();return;}let _0x5503b0=this[_0x20b18e(0x15c)][_0x20b18e(0x2c6)]();if(_0x5503b0[_0x20b18e(0x37e)]){this['_clearPopup']();return;}if(_0x5bbe51({'context':_0x5503b0['context'],'selectedIds':_0x5503b0[_0x20b18e(0x351)],'getElementById':(_0x1bd4bc,_0x2d7e65,_0x11b023)=>this[_0x20b18e(0x21c)]['getElementById'](_0x1bd4bc,_0x2d7e65,_0x11b023)})[_0x20b18e(0x3d1)]!==_0x20b18e(0x158)){this['_clearPopup']();return;}let _0x1fd05a=this[_0x20b18e(0x45a)][_0x20b18e(0x1ea)][_0x20b18e(0x287)]()[_0x20b18e(0x3bc)](),_0x221c12=Array[_0x20b18e(0x413)](_0x1fd05a['values']())[_0x20b18e(0x427)](_0x2d98a2=>this[_0x20b18e(0x3fe)](_0x2d98a2))['filter'](_0x178e52=>!!_0x178e52)[_0x20b18e(0x277)](_0x3151b2=>!!_0x5213e3(_0x3151b2['elementData'][_0x20b18e(0x465)])),_0x1bc91d=_0x221c12[_0x20b18e(0x2bf)](_0x49cd08=>_0x49cd08[_0x20b18e(0x2d6)]['elementId']===_0x5503b0[_0x20b18e(0x25b)])??_0x221c12[0x0]??this[_0x20b18e(0x39d)]();if(!_0x1bc91d){this[_0x20b18e(0x1e6)]();return;}let _0x1a6657=_0x5213e3(_0x1bc91d[_0x20b18e(0x2d6)][_0x20b18e(0x465)]);if(!_0x1a6657){this[_0x20b18e(0x1e6)]();return;}let _0x4c435f=(_0x4de56f=this['_boardElementService'][_0x20b18e(0x2bd)](_0x1bc91d['elementData'][_0x20b18e(0x237)],_0x1bc91d[_0x20b18e(0x2d6)][_0x20b18e(0x1fa)])[_0x1a6657[_0x20b18e(0x3b4)]])==null?void 0x0:_0x4de56f[_0x20b18e(0x465)],_0x33eea3=_0x25a48f(_0x4c435f),_0x1520eb=_0x4c435f==null||(_0xe1c854=_0x4c435f[_0x20b18e(0x321)])==null||(_0xe1c854=_0xe1c854['mindmap'])==null||(_0xe1c854=_0xe1c854[_0x20b18e(0x424)])==null?void 0x0:_0xe1c854[_0x20b18e(0x17b)],_0x3063cc=((_0x33eea3==null?void 0x0:_0x33eea3['layout'][_0x20b18e(0x17b)])??_0x1520eb)==='mindmap-vertical'&&(_0x1a6657[_0x20b18e(0x19e)]===null||_0x1a6657[_0x20b18e(0x44d)]===_0x20b18e(0x1d8)),_0xcfb972=_0x1a6657[_0x20b18e(0x19e)]!==null&&_0x1a6657[_0x20b18e(0x44d)]!==_0x20b18e(0x1d8)&&_0x1a6657[_0x20b18e(0x44d)]!==_0x20b18e(0x36e),_0x290009=_0x3063cc||_0xcfb972,_0x58220b=((_0x11fe0a=_0x5503b0[_0x20b18e(0x32a)])==null?void 0x0:_0x11fe0a['unitId'])===_0x1bc91d[_0x20b18e(0x2d6)][_0x20b18e(0x237)]&&_0x5503b0[_0x20b18e(0x32a)][_0x20b18e(0x1fa)]===_0x1bc91d['elementData'][_0x20b18e(0x1fa)]&&_0x5503b0[_0x20b18e(0x351)][_0x20b18e(0x33b)]?_0x5503b0['selectedIds']:[_0x1bc91d[_0x20b18e(0x2d6)]['elementId']],_0x26be8c=this[_0x20b18e(0x232)](_0x1bc91d[_0x20b18e(0x2d6)][_0x20b18e(0x237)],_0x1bc91d[_0x20b18e(0x2d6)][_0x20b18e(0x1fa)],_0x58220b);this[_0x20b18e(0x426)]&&this[_0x20b18e(0x38e)]===_0x26be8c||(this[_0x20b18e(0x1e6)](),this['_popupDisposable']=this[_0x20b18e(0x307)](this[_0x20b18e(0x1f9)][_0x20b18e(0x1eb)](_0x1bc91d[_0x20b18e(0x2d6)][_0x20b18e(0x237)],_0x1bc91d[_0x20b18e(0x2d6)][_0x20b18e(0x1fa)],_0x1bc91d[_0x20b18e(0x31e)],{'componentKey':Kn,'direction':_0x20b18e(0x2d0),'offset':[0x0,0x8],..._0x290009?{'anchorBoundResolver':lr}:null,'extraProps':{'unitId':_0x1bc91d[_0x20b18e(0x2d6)][_0x20b18e(0x237)],'subUnitId':_0x1bc91d[_0x20b18e(0x2d6)][_0x20b18e(0x1fa)],'elementId':_0x1bc91d[_0x20b18e(0x2d6)][_0x20b18e(0x2d3)],'scopeId':_0x1a6657[_0x20b18e(0x3b4)],'isRootNode':_0x1a6657[_0x20b18e(0x19e)]===null,'left':_0x1bc91d['elementData']['element']['transform'][_0x20b18e(0x378)]??0x0,'top':_0x1bc91d[_0x20b18e(0x2d6)][_0x20b18e(0x465)][_0x20b18e(0x242)]['top']??0x0,'shapeData':_0x1bc91d[_0x20b18e(0x2d6)]['element'][_0x20b18e(0x396)]===_0x36d773[_0x20b18e(0x46b)]?_0x1bc91d[_0x20b18e(0x2d6)][_0x20b18e(0x465)][_0x20b18e(0x2ed)]:void 0x0,'layout':_0x33eea3==null?void 0x0:_0x33eea3[_0x20b18e(0x424)],'incomingConnectorStyle':this[_0x20b18e(0x28e)](_0x1bc91d[_0x20b18e(0x2d6)][_0x20b18e(0x237)],_0x1bc91d['elementData'][_0x20b18e(0x1fa)],_0x1a6657[_0x20b18e(0x3b4)],_0x1bc91d[_0x20b18e(0x2d6)][_0x20b18e(0x2d3)])}})),this[_0x20b18e(0x38e)]=_0x26be8c);}[_0x92f39f(0x39d)](){const _0x56af85=_0x92f39f;var _0x5819c3;let _0x221980=this[_0x56af85(0x15c)][_0x56af85(0x2c6)](),_0x40c6e9=_0x221980[_0x56af85(0x32a)],_0x2d1fdb=_0x221980[_0x56af85(0x25b)]??_0x221980[_0x56af85(0x351)][0x0];if(!_0x40c6e9||!_0x2d1fdb)return null;let _0x305c46=this['_boardElementService'][_0x56af85(0x3c4)](_0x40c6e9[_0x56af85(0x237)],_0x40c6e9[_0x56af85(0x1fa)],_0x2d1fdb);if(!_0x305c46||!_0x5213e3(_0x305c46[_0x56af85(0x465)]))return null;let _0x50c5bc=_0x51bae1(_0x40c6e9[_0x56af85(0x237)],_0x2d1fdb),_0x13c60b=this[_0x56af85(0x45a)]['scene'],_0x3999c5=((_0x5819c3=_0x13c60b['getObjectIncludeInGroup'])==null?void 0x0:_0x5819c3[_0x56af85(0x3ec)](_0x13c60b,_0x50c5bc))??this['_renderContext'][_0x56af85(0x1ea)][_0x56af85(0x400)](_0x50c5bc);return _0x3999c5?{'object':_0x3999c5,'elementData':_0x305c46}:null;}['_resolveSelectedEntry'](_0x4288a4){const _0x4d2bc6=_0x92f39f;var _0x4cc436;if(!_0x4288a4)return null;let _0x1b9ebf=_0x16b62c(_0x4288a4['oKey']);if(!_0x1b9ebf)return null;let _0x5a6156=this[_0x4d2bc6(0x15c)]['getSnapshot'](),_0x893fa7=((_0x4cc436=_0x5a6156[_0x4d2bc6(0x32a)])==null?void 0x0:_0x4cc436[_0x4d2bc6(0x237)])===_0x1b9ebf[_0x4d2bc6(0x237)]?_0x5a6156[_0x4d2bc6(0x32a)][_0x4d2bc6(0x1fa)]:void 0x0;if(!_0x893fa7)return null;let _0x2e2211=this[_0x4d2bc6(0x21c)]['getElementById'](_0x1b9ebf[_0x4d2bc6(0x237)],_0x893fa7,_0x1b9ebf[_0x4d2bc6(0x2d3)]);return _0x2e2211?{'object':_0x4288a4,'elementData':_0x2e2211}:null;}};ur=J([q(0x1,_0x3c9b31(_0x41ee3b)),q(0x2,_0x3c9b31(_0xbfe5fc)),q(0x3,_0x3c9b31(_0x3c1d99)),q(0x4,_0x3c9b31(_0x3027f8)),q(0x5,_0x3c9b31(_0x4ccd27))],ur);const dr=_0x92f39f(0x207),fr=_0x37e359[_0x92f39f(0x449)];function pr(_0x4ba950,_0x29292c){const _0x28b6e3=_0x92f39f;return(_0x4ba950??[])[_0x28b6e3(0x1d2)]((_0x5b527a,_0x4f3121)=>(_0x5b527a[_0x4f3121[_0x28b6e3(0x44d)]??_0x29292c][_0x28b6e3(0x1ee)](_0x4f3121),_0x5b527a),{'left':[],'right':[],'top':[],'bottom':[]});}function mr(_0x507a8b){const _0x555de4=_0x92f39f;return _0x507a8b===_0x555de4(0x428)||_0x507a8b===_0x555de4(0x1cb)||_0x507a8b===_0x555de4(0x331);}function hr(_0x3a08d0){const _0x5dc8a6=_0x92f39f;return _0x3a08d0===_0x5dc8a6(0x316)||_0x3a08d0===_0x5dc8a6(0x284);}function gr(_0x423d15,_0x3558d0,_0x3f3d8b){const _0x3361a0=_0x92f39f;return _0x3f3d8b===_0x3361a0(0x428)?_0x3361a0(0x378):_0x3f3d8b===_0x3361a0(0x1cb)?_0x3361a0(0x2c4):_0x423d15[_0x3361a0(0x44d)]===_0x3361a0(0x378)||_0x423d15['side']===_0x3361a0(0x2c4)?_0x423d15[_0x3361a0(0x44d)]:_0x3558d0%0x2==0x0?_0x3361a0(0x378):_0x3361a0(0x2c4);}function _r(_0x51e670,_0x39c53e){const _0x1805f8=_0x92f39f;return(_0x39c53e==null?void 0x0:_0x39c53e[_0x1805f8(0x36f)][_0x1805f8(0x45e)])??_0x51e670??[];}var vr=class extends _0xd4e1e3{constructor(_0x43ac63=dr,_0x193519){const _0x8cee47=_0x92f39f;super(_0x43ac63),K(this,_0x8cee47(0x36b),{'point':null,'children':[]}),this[_0x8cee47(0x458)]=!0x1,this[_0x8cee47(0x181)]=_0xbc2bae[_0x8cee47(0x159)],this[_0x8cee47(0x40b)](_0x193519);}['updateState'](_0x1c6e1a){const _0x2c8221=_0x92f39f;this[_0x2c8221(0x36b)]={...this['_state'],..._0x1c6e1a},this[_0x2c8221(0x36b)][_0x2c8221(0x338)]?this['show']():this['hide'](),this[_0x2c8221(0x3dc)](!0x0);}[_0x92f39f(0x364)](_0x1153d5){return!0x1;}['render'](_0x5172d1,_0x25bc09){const _0x237201=_0x92f39f;let _0x547102=this['_state'][_0x237201(0x338)];if(!_0x547102||!this[_0x237201(0x1d7)])return this[_0x237201(0x3dc)](!0x1),this;let _0x2db950=Number[_0x237201(0x263)](this[_0x237201(0x36b)][_0x237201(0x1ec)])&&(this['_state'][_0x237201(0x1ec)]??0x0)>0x0?this[_0x237201(0x36b)][_0x237201(0x1ec)]:0x1,_0x17e229=_0x365da6['rootWidth'],_0x4add99=_0x365da6['rootHeight'],_0x491f=_0x365da6[_0x237201(0x184)],_0xe955e2=_0x365da6[_0x237201(0x1f6)],_0x2dd59f=_0x29a5bb[_0x237201(0x1e9)],_0x14dfa4=_0x29a5bb[_0x237201(0x1d5)],_0x5b16e2=this[_0x237201(0x36b)]['structureKind']===_0x237201(0x395),_0x218cae=pr(this[_0x237201(0x36b)][_0x237201(0x45e)],_0x5b16e2?_0x237201(0x36e):_0x237201(0x2c4)),_0x367a3b=_0x547102['x']-_0x17e229/0x2,_0x18b5e1=_0x547102['y']-_0x4add99/0x2;if(_0x5172d1[_0x237201(0x383)](),_0x5172d1[_0x237201(0x1fb)]=X[_0x237201(0x2b5)],_0x5172d1[_0x237201(0x1ac)]=X[_0x237201(0x3ef)]/_0x2db950,_0x5172d1['strokeStyle']=X['primaryColor'],hr(this['_state'][_0x237201(0x17b)])){let _0x15b6d6=_r(this[_0x237201(0x36b)][_0x237201(0x45e)],this['_state']['blueprint']),_0x17c454=this[_0x237201(0x36b)][_0x237201(0x17b)]===_0x237201(0x316);if(_0x15b6d6['length']>0x0){if(_0x5172d1['beginPath'](),_0x17c454){let _0x21ba98=_0x491f,_0x2725d7=_0xe955e2,_0x5eaebf=_0x29a5bb[_0x237201(0x1f1)],_0x2531c3=_0x547102['y'],_0x5df5cc=_0x367a3b+_0x17e229,_0x3a9c91=_0x547102['y']-_0x2725d7/0x2,_0x43d8a8=_0x367a3b+_0x17e229+_0x5eaebf;_0x5172d1[_0x237201(0x345)](_0x5df5cc,_0x2531c3),_0x5172d1['lineTo'](_0x43d8a8,_0x2531c3),_0x15b6d6[_0x237201(0x2cc)]((_0x500233,_0x373550)=>{const _0x10d265=_0x237201;let _0x4e3b56=_0x43d8a8+_0x373550*(_0x21ba98+_0x5eaebf);if(_0x373550>0x0){let _0x230250=_0x43d8a8+(_0x373550-0x1)*(_0x21ba98+_0x5eaebf)+_0x21ba98;_0x5172d1[_0x10d265(0x345)](_0x230250,_0x2531c3),_0x5172d1[_0x10d265(0x165)](_0x4e3b56,_0x2531c3);}_0x5172d1[_0x10d265(0x345)](_0x4e3b56,_0x2531c3),_0x5172d1[_0x10d265(0x165)](_0x4e3b56+_0x21ba98,_0x2531c3);}),_0x5172d1['stroke'](),_0x15b6d6[_0x237201(0x2cc)]((_0x5b2096,_0x35627f)=>{const _0x65226=_0x237201;Z(_0x5172d1,_0x43d8a8+_0x35627f*(_0x21ba98+_0x5eaebf),_0x3a9c91,_0x21ba98,_0x2725d7,X[_0x65226(0x38f)]),_0x5172d1[_0x65226(0x17d)]=X['ghostFillColor'],_0x5172d1[_0x65226(0x213)](),_0x5172d1[_0x65226(0x1e7)]();}),_0x15b6d6['forEach']((_0x31aa92,_0x37ce4f)=>{const _0x146bc4=_0x237201;if(!(_0x146bc4(0x45e)in _0x31aa92)||_0x31aa92[_0x146bc4(0x45e)]['length']===0x0)return;let _0xb8d94b=_0x43d8a8+_0x37ce4f*(_0x21ba98+_0x5eaebf),_0xfb6e07=_0xb8d94b+_0x21ba98/0x2,_0x231a60=_0x31aa92[_0x146bc4(0x44d)]===_0x146bc4(0x36e)?_0x146bc4(0x36e):_0x146bc4(0x1d8),_0x49035e=_0x31aa92[_0x146bc4(0x45e)][_0x146bc4(0x32c)](0x0,0x2),_0x541d68=_0x49035e[_0x146bc4(0x33b)]*_0x2725d7+Math[_0x146bc4(0x339)](0x0,_0x49035e[_0x146bc4(0x33b)]-0x1)*_0x14dfa4,_0x4635e2=_0xb8d94b+_0x21ba98+_0x29a5bb[_0x146bc4(0x35a)],_0x2c3eff=_0x231a60===_0x146bc4(0x1d8)?_0x3a9c91-_0x2dd59f-_0x541d68:_0x3a9c91+_0x2725d7+_0x2dd59f,_0x5dc621=_0x2c3eff+_0x541d68/0x2;_0x5172d1['beginPath'](),_0x5172d1[_0x146bc4(0x345)](_0xfb6e07,_0x231a60===_0x146bc4(0x1d8)?_0x3a9c91:_0x3a9c91+_0x2725d7),_0x5172d1[_0x146bc4(0x165)](_0xfb6e07,_0x5dc621),_0x5172d1[_0x146bc4(0x165)](_0x4635e2,_0x5dc621),_0x49035e['forEach']((_0x33a855,_0x3f3c6b)=>{const _0x323690=_0x146bc4;let _0x44b838=_0x2c3eff+_0x3f3c6b*(_0x2725d7+_0x14dfa4)+_0x2725d7/0x2;_0x5172d1[_0x323690(0x345)](_0x4635e2,_0x44b838),_0x5172d1[_0x323690(0x165)](_0x4635e2+_0x21ba98,_0x44b838);}),_0x5172d1[_0x146bc4(0x1e7)](),_0x49035e[_0x146bc4(0x2cc)]((_0x1f6701,_0x2da476)=>{const _0xc0867e=_0x146bc4;let _0x1cbee5=_0x2c3eff+_0x2da476*(_0x2725d7+_0x14dfa4);Z(_0x5172d1,_0x4635e2,_0x1cbee5,_0x21ba98,_0x2725d7,X[_0xc0867e(0x38f)]),_0x5172d1['fillStyle']=X[_0xc0867e(0x1aa)],_0x5172d1[_0xc0867e(0x213)](),_0x5172d1[_0xc0867e(0x1e7)]();});});}else{let _0x150675=_0x547102['x'],_0x1850d8=_0x18b5e1+_0x4add99,_0x455637=_0x29a5bb[_0x237201(0x1f1)],_0x44025a=_0x18b5e1+_0x4add99+_0x455637,_0x4761cb=_0x44025a+(_0x15b6d6[_0x237201(0x33b)]-0x1)*(_0xe955e2+_0x455637)+_0xe955e2/0x2;_0x5172d1[_0x237201(0x345)](_0x150675,_0x1850d8),_0x5172d1[_0x237201(0x165)](_0x150675,_0x4761cb),_0x15b6d6['forEach']((_0x2da925,_0x248162)=>{const _0x1724eb=_0x237201;let _0x153be7=_0x44025a+_0x248162*(_0xe955e2+_0x455637)+_0xe955e2/0x2,_0x1a3529=_0x2da925[_0x1724eb(0x44d)]===_0x1724eb(0x2c4)?_0x1724eb(0x2c4):'left',_0x4f9983=_0x1a3529===_0x1724eb(0x2c4)?_0x150675+_0x29a5bb[_0x1724eb(0x35a)]:_0x150675-_0x29a5bb['branchGap']-_0x491f,_0x5e4db8=_0x1a3529===_0x1724eb(0x2c4)?_0x4f9983:_0x4f9983+_0x491f;_0x5172d1[_0x1724eb(0x345)](_0x150675,_0x153be7),_0x5172d1[_0x1724eb(0x165)](_0x5e4db8,_0x153be7);}),_0x5172d1['stroke'](),_0x15b6d6[_0x237201(0x2cc)]((_0x2fefef,_0x4532a3)=>{const _0x4e7047=_0x237201;let _0x598448=_0x44025a+_0x4532a3*(_0xe955e2+_0x455637);Z(_0x5172d1,(_0x2fefef[_0x4e7047(0x44d)]==='right'?'right':_0x4e7047(0x378))==_0x4e7047(0x2c4)?_0x150675+_0x29a5bb['branchGap']:_0x150675-_0x29a5bb['branchGap']-_0x491f,_0x598448,_0x491f,_0xe955e2,X['ghostRadius']),_0x5172d1[_0x4e7047(0x17d)]=X[_0x4e7047(0x1aa)],_0x5172d1[_0x4e7047(0x213)](),_0x5172d1[_0x4e7047(0x1e7)]();}),_0x15b6d6[_0x237201(0x2cc)]((_0x14c003,_0x160361)=>{const _0xdab0dd=_0x237201;if(!(_0xdab0dd(0x45e)in _0x14c003)||_0x14c003['children'][_0xdab0dd(0x33b)]===0x0)return;let _0x51b7aa=_0x44025a+_0x160361*(_0xe955e2+_0x455637)+_0xe955e2/0x2,_0x480dbe=_0x14c003[_0xdab0dd(0x44d)]==='right'?_0xdab0dd(0x2c4):_0xdab0dd(0x378),_0x1aadca=_0x14c003[_0xdab0dd(0x45e)]['slice'](0x0,0x2),_0x228fee=_0x1aadca[_0xdab0dd(0x33b)]*_0xe955e2+Math[_0xdab0dd(0x339)](0x0,_0x1aadca[_0xdab0dd(0x33b)]-0x1)*_0x14dfa4,_0x50e550=_0x480dbe===_0xdab0dd(0x2c4)?_0x150675+_0x29a5bb['branchGap']:_0x150675-_0x29a5bb['branchGap']-_0x491f,_0x4be1e9=_0x480dbe==='right'?_0x50e550+_0x491f+_0x2dd59f:_0x50e550-_0x2dd59f-_0x491f,_0x1198fe=_0x51b7aa-_0x228fee/0x2,_0x33cfe1=_0x480dbe===_0xdab0dd(0x2c4)?_0x50e550+_0x491f:_0x50e550,_0x3d839b=_0x480dbe==='right'?_0x4be1e9:_0x4be1e9+_0x491f;_0x5172d1[_0xdab0dd(0x2ec)](),_0x5172d1[_0xdab0dd(0x345)](_0x33cfe1,_0x51b7aa),_0x5172d1[_0xdab0dd(0x165)](_0x3d839b,_0x51b7aa),_0x1aadca[_0xdab0dd(0x2cc)]((_0xb1a504,_0xc492c7)=>{const _0x52eaaf=_0xdab0dd;let _0x1c8867=_0x1198fe+_0xc492c7*(_0xe955e2+_0x14dfa4)+_0xe955e2/0x2;_0x5172d1[_0x52eaaf(0x345)](_0x3d839b,_0x1c8867),_0x5172d1[_0x52eaaf(0x165)](_0x480dbe===_0x52eaaf(0x2c4)?_0x4be1e9+_0x491f:_0x4be1e9,_0x1c8867);}),_0x5172d1[_0xdab0dd(0x1e7)](),_0x1aadca[_0xdab0dd(0x2cc)]((_0x441072,_0x240474)=>{const _0x40e050=_0xdab0dd;let _0xb99c0f=_0x1198fe+_0x240474*(_0xe955e2+_0x14dfa4);Z(_0x5172d1,_0x4be1e9,_0xb99c0f,_0x491f,_0xe955e2,X[_0x40e050(0x38f)]),_0x5172d1[_0x40e050(0x17d)]=X[_0x40e050(0x1aa)],_0x5172d1[_0x40e050(0x213)](),_0x5172d1[_0x40e050(0x1e7)]();});});}}}else{if(mr(this[_0x237201(0x36b)]['structureKind'])){let _0x567076=this[_0x237201(0x36b)][_0x237201(0x45e)]??[],_0x316589=_0x18b5e1+_0x4add99,_0xccf8c0=_0x316589+_0x2dd59f,_0x4d4a43=_0x547102['x'];if(_0x567076[_0x237201(0x33b)]>0x0){let _0x2cca83=_0xccf8c0+(_0x567076[_0x237201(0x33b)]-0x1)*(_0xe955e2+_0x14dfa4)+_0xe955e2/0x2;_0x5172d1['beginPath'](),_0x5172d1[_0x237201(0x345)](_0x4d4a43,_0x316589),_0x5172d1[_0x237201(0x165)](_0x4d4a43,_0x2cca83),_0x567076[_0x237201(0x2cc)]((_0x4e2808,_0x5b9f64)=>{const _0xcb8196=_0x237201;let _0x1e7178=gr(_0x4e2808,_0x5b9f64,this[_0xcb8196(0x36b)][_0xcb8196(0x17b)]),_0x46e1b8=_0xccf8c0+_0x5b9f64*(_0xe955e2+_0x14dfa4),_0x162bb6=_0x1e7178==='right'?_0x4d4a43+_0x2dd59f:_0x4d4a43-_0x2dd59f-_0x491f,_0x290732=_0x46e1b8+_0xe955e2/0x2;_0x5172d1[_0xcb8196(0x345)](_0x4d4a43,_0x290732),_0x5172d1['lineTo'](_0x1e7178===_0xcb8196(0x2c4)?_0x162bb6:_0x162bb6+_0x491f,_0x290732);}),_0x5172d1[_0x237201(0x1e7)](),_0x567076[_0x237201(0x2cc)]((_0x2f96df,_0x5d7e33)=>{const _0x3a85de=_0x237201;let _0x320ac2=gr(_0x2f96df,_0x5d7e33,this[_0x3a85de(0x36b)]['structureKind']),_0x525d14=_0xccf8c0+_0x5d7e33*(_0xe955e2+_0x14dfa4);Z(_0x5172d1,_0x320ac2==='right'?_0x4d4a43+_0x2dd59f:_0x4d4a43-_0x2dd59f-_0x491f,_0x525d14,_0x491f,_0xe955e2,X['ghostRadius']),_0x5172d1[_0x3a85de(0x17d)]=X[_0x3a85de(0x1aa)],_0x5172d1['fill'](),_0x5172d1[_0x3a85de(0x1e7)]();});}}else _0x5b16e2&&[_0x237201(0x1d8),_0x237201(0x36e)]['forEach'](_0x4d3af8=>{const _0x31d989=_0x237201;let _0x2d0453=_0x218cae[_0x4d3af8];if(_0x2d0453[_0x31d989(0x33b)]===0x0)return;let _0xe8b2da=_0x2d0453[_0x31d989(0x33b)]*_0x491f+Math[_0x31d989(0x339)](0x0,_0x2d0453[_0x31d989(0x33b)]-0x1)*_0x14dfa4,_0x2fe043=_0x547102['x']-_0xe8b2da/0x2,_0x74ca06=_0x4d3af8===_0x31d989(0x36e)?_0x18b5e1+_0x4add99:_0x18b5e1,_0x10ba0f=_0x4d3af8===_0x31d989(0x36e)?_0x74ca06+_0x29a5bb[_0x31d989(0x35a)]:_0x74ca06-_0x29a5bb['branchGap'],_0x1966f8=_0x4d3af8==='bottom'?_0x18b5e1+_0x4add99+_0x2dd59f:_0x18b5e1-_0x2dd59f-_0xe955e2;_0x5172d1[_0x31d989(0x2ec)](),_0x5172d1[_0x31d989(0x345)](_0x547102['x'],_0x74ca06),_0x5172d1[_0x31d989(0x165)](_0x547102['x'],_0x10ba0f),_0x2d0453[_0x31d989(0x33b)]>0x1&&(_0x5172d1['moveTo'](_0x2fe043+_0x491f/0x2,_0x10ba0f),_0x5172d1['lineTo'](_0x2fe043+_0xe8b2da-_0x491f/0x2,_0x10ba0f)),_0x2d0453[_0x31d989(0x2cc)]((_0xd77c55,_0x608d79)=>{const _0x2b9208=_0x31d989;let _0x39c228=_0x2fe043+_0x608d79*(_0x491f+_0x14dfa4)+_0x491f/0x2;_0x5172d1[_0x2b9208(0x345)](_0x39c228,_0x10ba0f),_0x5172d1['lineTo'](_0x39c228,_0x4d3af8==='bottom'?_0x1966f8:_0x1966f8+_0xe955e2);}),_0x5172d1[_0x31d989(0x1e7)](),_0x2d0453[_0x31d989(0x2cc)]((_0x482e39,_0x4cc13f)=>{const _0x174934=_0x31d989;Z(_0x5172d1,_0x2fe043+_0x4cc13f*(_0x491f+_0x14dfa4),_0x1966f8,_0x491f,_0xe955e2,X[_0x174934(0x38f)]),_0x5172d1[_0x174934(0x17d)]=X[_0x174934(0x1aa)],_0x5172d1[_0x174934(0x213)](),_0x5172d1[_0x174934(0x1e7)]();});});}(_0x5b16e2||mr(this['_state'][_0x237201(0x17b)])||hr(this['_state'][_0x237201(0x17b)])?[]:['left',_0x237201(0x2c4)])[_0x237201(0x2cc)](_0x5f18a3=>{const _0x37b3d3=_0x237201;let _0x4e49f1=_0x218cae[_0x5f18a3];if(_0x4e49f1[_0x37b3d3(0x33b)]===0x0)return;let _0x4926f6=_0x4e49f1['length']*_0xe955e2+Math['max'](0x0,_0x4e49f1[_0x37b3d3(0x33b)]-0x1)*_0x14dfa4,_0x223189=_0x547102['y']-_0x4926f6/0x2,_0x1e8116=_0x5f18a3==='right'?_0x367a3b+_0x17e229:_0x367a3b,_0xdcbbc9=_0x5f18a3==='right'?_0x1e8116+_0x29a5bb['branchGap']:_0x1e8116-_0x29a5bb[_0x37b3d3(0x35a)],_0x50578b=_0x5f18a3==='right'?_0x367a3b+_0x17e229+_0x2dd59f:_0x367a3b-_0x2dd59f-_0x491f;_0x5172d1[_0x37b3d3(0x2ec)](),_0x5172d1[_0x37b3d3(0x345)](_0x1e8116,_0x547102['y']),_0x5172d1['lineTo'](_0xdcbbc9,_0x547102['y']),_0x4e49f1[_0x37b3d3(0x33b)]>0x1&&(_0x5172d1['moveTo'](_0xdcbbc9,_0x223189+_0xe955e2/0x2),_0x5172d1[_0x37b3d3(0x165)](_0xdcbbc9,_0x223189+_0x4926f6-_0xe955e2/0x2)),_0x4e49f1['forEach']((_0x524d40,_0x17e034)=>{const _0x42340d=_0x37b3d3;let _0x3252de=_0x223189+_0x17e034*(_0xe955e2+_0x14dfa4)+_0xe955e2/0x2;_0x5172d1['moveTo'](_0xdcbbc9,_0x3252de),_0x5172d1[_0x42340d(0x165)](_0x5f18a3===_0x42340d(0x2c4)?_0x50578b:_0x50578b+_0x491f,_0x3252de);}),_0x5172d1[_0x37b3d3(0x1e7)](),_0x4e49f1[_0x37b3d3(0x2cc)]((_0x4c3316,_0x2b7eae)=>{const _0x5d77dd=_0x37b3d3;let _0x214df9=_0x223189+_0x2b7eae*(_0xe955e2+_0x14dfa4);Z(_0x5172d1,_0x50578b,_0x214df9,_0x491f,_0xe955e2,X[_0x5d77dd(0x38f)]),_0x5172d1[_0x5d77dd(0x17d)]=X[_0x5d77dd(0x1aa)],_0x5172d1[_0x5d77dd(0x213)](),_0x5172d1[_0x5d77dd(0x1e7)]();});}),Z(_0x5172d1,_0x367a3b,_0x18b5e1,_0x17e229,_0x4add99,X[_0x237201(0x309)]),_0x5172d1[_0x237201(0x17d)]=X[_0x237201(0x1fc)],_0x5172d1[_0x237201(0x213)](),_0x5172d1[_0x237201(0x1e7)](),_0x5172d1[_0x237201(0x17d)]=X['rootTextColor'],_0x5172d1['font']=sn(X[_0x237201(0x425)],X['rootFontSize'],_0x2db950),_0x5172d1[_0x237201(0x3cc)]=_0x237201(0x2a0),_0x5172d1['textBaseline']=_0x237201(0x404);let _0x2f84c4=X[_0x237201(0x34e)]/_0x2db950;return _0x5172d1[_0x237201(0x393)](_0x13c229,_0x547102['x'],_0x547102['y'],Math[_0x237201(0x339)](0x1,_0x17e229-_0x2f84c4*0x2)),_0x5172d1[_0x237201(0x3f7)](),this[_0x237201(0x3dc)](!0x1),this;}};const yr={'children':[{'text':_0x13c229,'orderKey':_0x393951(0x0),'side':'right'},{'text':_0x13c229,'orderKey':_0x393951(0x1),'side':'right'},{'text':_0x13c229,'orderKey':_0x393951(0x2),'side':_0x92f39f(0x2c4)}]};var br=class extends _0x2756ad{constructor(..._0xe8aa1f){const _0x28a881=_0x92f39f;super(..._0xe8aa1f),K(this,_0x28a881(0x1b2),yr);}[_0x92f39f(0x23d)](_0x25e0ee){const _0x325f29=_0x92f39f;var _0x214632;let _0x539984=(_0x25e0ee==null?void 0x0:_0x25e0ee['children'])??(_0x25e0ee==null||(_0x214632=_0x25e0ee[_0x325f29(0x1c5)])==null?void 0x0:_0x214632[_0x325f29(0x36f)][_0x325f29(0x45e)]);this[_0x325f29(0x1b2)]={'rootText':_0x25e0ee==null?void 0x0:_0x25e0ee[_0x325f29(0x1d4)],'structureKind':_0x25e0ee==null?void 0x0:_0x25e0ee['structureKind'],'branchLineType':_0x25e0ee==null?void 0x0:_0x25e0ee[_0x325f29(0x434)],'children':this[_0x325f29(0x42e)](_0x539984,_0x25e0ee==null?void 0x0:_0x25e0ee[_0x325f29(0x17b)]),'blueprint':_0x25e0ee!=null&&_0x25e0ee[_0x325f29(0x1c5)]?this[_0x325f29(0x2c2)](_0x25e0ee['blueprint']):void 0x0};}[_0x92f39f(0x27f)](){const _0xcf05b6=_0x92f39f;var _0x396e0a;return{'rootText':this[_0xcf05b6(0x1b2)][_0xcf05b6(0x1d4)],'structureKind':this[_0xcf05b6(0x1b2)]['structureKind'],'branchLineType':this[_0xcf05b6(0x1b2)][_0xcf05b6(0x434)],'children':(_0x396e0a=this[_0xcf05b6(0x1b2)][_0xcf05b6(0x45e)])==null?void 0x0:_0x396e0a[_0xcf05b6(0x427)](_0x26618f=>({..._0x26618f})),'blueprint':this[_0xcf05b6(0x1b2)]['blueprint']?this[_0xcf05b6(0x2c2)](this[_0xcf05b6(0x1b2)][_0xcf05b6(0x1c5)]):void 0x0};}[_0x92f39f(0x2c2)](_0x5b3544){const _0x377916=_0x92f39f;return{'title':_0x5b3544[_0x377916(0x368)],'root':this[_0x377916(0x248)](_0x5b3544[_0x377916(0x36f)])};}[_0x92f39f(0x248)](_0x4ff851){const _0x1f71a6=_0x92f39f;return{..._0x4ff851,'foreignAttributes':_0x4ff851[_0x1f71a6(0x24a)]?{..._0x4ff851['foreignAttributes']}:void 0x0,'children':_0x4ff851[_0x1f71a6(0x45e)][_0x1f71a6(0x427)](_0x4c9b2d=>this['_cloneBlueprintNode'](_0x4c9b2d))};}[_0x92f39f(0x42e)](_0x25dde9,_0xb7aaec){const _0xe9a65e=_0x92f39f;let _0x40f5e4=!_0x25dde9,_0x4b27aa=_0x25dde9??yr[_0xe9a65e(0x45e)];return _0x4b27aa==null?void 0x0:_0x4b27aa[_0xe9a65e(0x427)]((_0x1f7e6b,_0x37081c)=>({..._0x1f7e6b,'text':_0x1f7e6b[_0xe9a65e(0x423)]??_0x13c229,'side':this['_resolveChildSide'](_0x1f7e6b[_0xe9a65e(0x44d)],_0x37081c,_0xb7aaec,_0x40f5e4)}));}[_0x92f39f(0x32f)](_0x3e090a,_0x17af8d,_0x539fde,_0x48acad){const _0x25f03a=_0x92f39f;return _0x539fde===_0x25f03a(0x395)?_0x48acad?'bottom':_0x3e090a??_0x25f03a(0x36e):_0x539fde===_0x25f03a(0x428)?_0x48acad?_0x25f03a(0x378):_0x3e090a??_0x25f03a(0x378):_0x539fde===_0x25f03a(0x1cb)?_0x48acad?_0x25f03a(0x2c4):_0x3e090a??_0x25f03a(0x2c4):_0x539fde===_0x25f03a(0x331)?_0x48acad?_0x17af8d%0x2==0x0?_0x25f03a(0x378):_0x25f03a(0x2c4):_0x3e090a??(_0x17af8d%0x2==0x0?_0x25f03a(0x378):_0x25f03a(0x2c4)):_0x539fde===_0x25f03a(0x316)?_0x48acad?_0x17af8d%0x2==0x0?_0x25f03a(0x1d8):_0x25f03a(0x36e):_0x3e090a??(_0x17af8d%0x2==0x0?'top':'bottom'):_0x539fde===_0x25f03a(0x284)?_0x48acad?_0x17af8d%0x2==0x0?_0x25f03a(0x378):_0x25f03a(0x2c4):_0x3e090a??(_0x17af8d%0x2==0x0?_0x25f03a(0x378):_0x25f03a(0x2c4)):_0x3e090a;}};function xr(_0x1aad08,_0x5e8129){const _0x445aae=_0x92f39f;let _0x19379a=Number[_0x445aae(0x263)](_0x5e8129[_0x445aae(0x1ec)])&&_0x5e8129[_0x445aae(0x1ec)]>0x0?_0x5e8129['zoomRatio']:0x1;return{'x':Math[_0x445aae(0x370)]((_0x1aad08[_0x445aae(0x3fb)]-_0x5e8129[_0x445aae(0x3d9)]['x'])/_0x19379a),'y':Math[_0x445aae(0x370)]((_0x1aad08[_0x445aae(0x2be)]-_0x5e8129[_0x445aae(0x3d9)]['y'])/_0x19379a)};}function Sr(_0x2da223){const _0xa6379a=_0x92f39f;var _0x552c21;if(_0x2da223!=null&&_0x2da223['dispose']){_0x2da223['dispose']();return;}_0x2da223==null||(_0x552c21=_0x2da223[_0xa6379a(0x365)])==null||_0x552c21[_0xa6379a(0x3ec)](_0x2da223);}function Cr(_0x2d8ab2){const _0x101c8a=_0x92f39f;var _0x54b5f2;return _0x2d8ab2[_0x101c8a(0x416)]===_0x28dd01[_0x101c8a(0x3ae)]&&((_0x54b5f2=_0x2d8ab2[_0x101c8a(0x1d6)])==null?void 0x0:_0x54b5f2[_0x101c8a(0x396)])===_0x28dd01['MindMap'];}let wr=class extends _0xb1406a{constructor(_0x120ac1,_0x45a01d,_0x282799,_0x472624,_0xde8518,_0x10ca2e,_0x4fad3f){const _0x35238c=_0x92f39f;super(),this[_0x35238c(0x45a)]=_0x120ac1,this[_0x35238c(0x24d)]=_0x45a01d,this[_0x35238c(0x327)]=_0x282799,this['_commandService']=_0x472624,this[_0x35238c(0x306)]=_0xde8518,this['_elementStateService']=_0x10ca2e,this[_0x35238c(0x3fa)]=_0x4fad3f,K(this,_0x35238c(0x281),null),K(this,'_lastPoint',null),this[_0x35238c(0x270)]();}[_0x92f39f(0x270)](){const _0xfbe722=_0x92f39f;var _0x5b6f20;let {scene:_0x58c4bb,unitId:_0x363e82}=this['_renderContext'],_0x9d8748=this[_0xfbe722(0x24d)][_0xfbe722(0x20d)](_0x363e82,_0x597c76[_0xfbe722(0x1e4)]);if(!_0x9d8748)return;let _0x4cb93a=(_0x5b6f20=_0x58c4bb[_0xfbe722(0x1ad)])==null?void 0x0:_0x5b6f20['subscribeEvent']({'priority':0x4,'next':([_0x54b2aa,_0x110b19])=>this[_0xfbe722(0x2e8)](_0x54b2aa,_0x110b19)}),_0xebcf35=_0x58c4bb[_0xfbe722(0x343)][_0xfbe722(0x1ae)]({'priority':0x4,'next':([_0x2d2dad,_0x429c51])=>this['_handlePointerDown'](_0x9d8748,_0x2d2dad,_0x429c51)});this['disposeWithMe'](_0x594a26(()=>Sr(_0x4cb93a))),this[_0xfbe722(0x307)](_0x594a26(()=>Sr(_0xebcf35)));let _0x15552e=this[_0xfbe722(0x327)][_0xfbe722(0x421)][_0xfbe722(0x457)](()=>this[_0xfbe722(0x355)]());this['disposeWithMe'](_0x594a26(()=>Sr(_0x15552e))),this[_0xfbe722(0x307)](_0x594a26(()=>{const _0x50520f=_0xfbe722;this[_0x50520f(0x228)]();})),this['_syncPreviewObject']();}['_syncPreviewObject'](){const _0x3a23ca=_0x92f39f;var _0x1e2f77,_0x38aa65;let _0x30d125=this[_0x3a23ca(0x327)][_0x3a23ca(0x18a)]();if(!Cr(_0x30d125)){this[_0x3a23ca(0x228)]();return;}let _0x1410c1=this['_ensurePreviewObject'](),_0x3c53ec=this[_0x3a23ca(0x306)][_0x3a23ca(0x27f)]();_0x1410c1['updateState']({'point':this[_0x3a23ca(0x436)],'structureKind':_0x3c53ec[_0x3a23ca(0x17b)],'children':_0x3c53ec[_0x3a23ca(0x45e)],'blueprint':_0x3c53ec['blueprint'],'zoomRatio':_0x30d125[_0x3a23ca(0x1ec)]}),(_0x1e2f77=(_0x38aa65=this[_0x3a23ca(0x45a)]['scene'])[_0x3a23ca(0x3dc)])==null||_0x1e2f77[_0x3a23ca(0x3ec)](_0x38aa65,!0x0);}[_0x92f39f(0x42c)](){const _0x6a546=_0x92f39f;var _0xf8a7c1,_0x41b292;if(this[_0x6a546(0x281)])return this[_0x6a546(0x281)];let _0x54e1c2=this[_0x6a546(0x306)]['getTemplate'](),_0x4688e7=new vr(dr,{'point':this[_0x6a546(0x436)],'structureKind':_0x54e1c2[_0x6a546(0x17b)],'children':_0x54e1c2[_0x6a546(0x45e)],'blueprint':_0x54e1c2[_0x6a546(0x1c5)],'zoomRatio':this[_0x6a546(0x327)][_0x6a546(0x18a)]()[_0x6a546(0x1ec)]});return this[_0x6a546(0x281)]=_0x4688e7,(_0xf8a7c1=(_0x41b292=this[_0x6a546(0x45a)][_0x6a546(0x1ea)])['addObject'])==null||_0xf8a7c1[_0x6a546(0x3ec)](_0x41b292,_0x4688e7,fr),_0x4688e7;}[_0x92f39f(0x228)](){const _0x2f8008=_0x92f39f;var _0x389714,_0x340de1,_0x3b3d47,_0x4684b3;if(!this[_0x2f8008(0x281)]){this[_0x2f8008(0x436)]=null;return;}(_0x389714=(_0x340de1=this[_0x2f8008(0x45a)]['scene'])[_0x2f8008(0x295)])==null||_0x389714[_0x2f8008(0x3ec)](_0x340de1,[this['_previewObject']]),this[_0x2f8008(0x281)]=null,this['_lastPoint']=null,(_0x3b3d47=(_0x4684b3=this[_0x2f8008(0x45a)][_0x2f8008(0x1ea)])['makeDirty'])==null||_0x3b3d47['call'](_0x4684b3,!0x0);}['_getPointFromEvent'](_0x1ac25a){const _0xdf4dae=_0x92f39f;let _0x1cfe0c=this['_stateService'][_0xdf4dae(0x18a)]();return xr(_0x1ac25a,{'panOffset':_0x1cfe0c[_0xdf4dae(0x1e5)],'zoomRatio':_0x1cfe0c[_0xdf4dae(0x1ec)]});}['_resolveRootTopLeft'](_0x679422){const _0x20ed7e=_0x92f39f;return{'left':Math['round'](_0x679422['x']-_0x365da6[_0x20ed7e(0x296)]/0x2),'top':Math[_0x20ed7e(0x370)](_0x679422['y']-_0x365da6['rootHeight']/0x2)};}[_0x92f39f(0x2e8)](_0x243b16,_0x519d1d){const _0x49a98e=_0x92f39f;Cr(this[_0x49a98e(0x327)][_0x49a98e(0x18a)]())&&(this['_lastPoint']=this[_0x49a98e(0x2b3)](_0x243b16),this[_0x49a98e(0x355)](),_0x519d1d[_0x49a98e(0x30f)]());}async[_0x92f39f(0x219)](_0x13913b,_0x51053d,_0x16575f){const _0x2814e7=_0x92f39f;let _0x56e113=await this[_0x2814e7(0x394)](_0x13913b,_0x51053d,_0x16575f);if(!_0x56e113)return;let _0x30d9ce={'unitId':this[_0x2814e7(0x45a)][_0x2814e7(0x237)],'subUnitId':_0x56e113[_0x2814e7(0x1fa)]};this[_0x2814e7(0x3fa)][_0x2814e7(0x222)](),this[_0x2814e7(0x3fa)][_0x2814e7(0x407)]({..._0x30d9ce,'shapeId':_0x56e113['rootNodeId'],'shapeKey':_0x51bae1(_0x30d9ce['unitId'],_0x56e113[_0x2814e7(0x406)]),'visible':!0x0});}async[_0x92f39f(0x394)](_0x48e5c1,_0x1b29d0,_0x15f794){const _0x3109e2=_0x92f39f;var _0x46d9fb;let _0x2f6d97=this[_0x3109e2(0x327)][_0x3109e2(0x18a)](),_0x6bba35=_0x1b29d0[_0x3109e2(0x438)]??0x0;if(!Cr(_0x2f6d97)||_0x6bba35!==0x0)return null;let _0x195a9b=this[_0x3109e2(0x2b3)](_0x1b29d0),_0x3cd422=this[_0x3109e2(0x16b)](_0x195a9b),_0x3ef35d=this['_insertStateService'][_0x3109e2(0x27f)](),_0x5ca725=_0x38dd6c(0x6),_0x5593af=_0x48e5c1['getActivePageId'](),_0xce6641=this[_0x3109e2(0x282)][_0x3109e2(0x1b1)](_0x23721b['id'],{'unitId':this[_0x3109e2(0x45a)][_0x3109e2(0x237)],'subUnitId':_0x5593af,'left':_0x3cd422[_0x3109e2(0x378)],'top':_0x3cd422['top'],'rootNodeId':_0x5ca725,'rootText':_0x3ef35d[_0x3109e2(0x1d4)],'structureKind':_0x3ef35d[_0x3109e2(0x17b)],'branchLineType':_0x3ef35d['branchLineType'],'children':_0x3ef35d['children'],'blueprint':_0x3ef35d[_0x3109e2(0x1c5)]});if(this[_0x3109e2(0x327)][_0x3109e2(0x1c6)](_0x28dd01[_0x3109e2(0x36c)]),_0x15f794[_0x3109e2(0x30f)](),(_0x46d9fb=_0x1b29d0[_0x3109e2(0x170)])==null||_0x46d9fb[_0x3109e2(0x3ec)](_0x1b29d0),!await _0xce6641||this[_0x3109e2(0x22f)])return null;let _0x383829={'unitId':this[_0x3109e2(0x45a)]['unitId'],'subUnitId':_0x5593af};return this[_0x3109e2(0x15c)]['selectElements'](_0x383829,[_0x5ca725],_0x5ca725),{'rootNodeId':_0x5ca725,'subUnitId':_0x5593af};}};wr=J([q(0x1,_0x3171b5),q(0x2,_0x239302),q(0x3,_0x3aa11b),q(0x4,_0x3c9b31(br)),q(0x5,_0x3c1d99),q(0x6,_0x3c9b31(_0x3027f8))],wr);var Tr=class extends _0x2756ad{constructor(..._0x5bd19f){const _0x4ed110=_0x92f39f;super(..._0x5bd19f),K(this,_0x4ed110(0x245),new _0x257d31()),K(this,_0x4ed110(0x189),this['_refresh$'][_0x4ed110(0x18e)]());}[_0x92f39f(0x38d)](_0x1c746c){const _0x59c413=_0x92f39f;this[_0x59c413(0x245)][_0x59c413(0x30c)](_0x1c746c);}[_0x92f39f(0x340)](){const _0x266b42=_0x92f39f;this[_0x266b42(0x245)]['complete'](),super['dispose']();}};function Er(_0x409642){const _0x3834a3=_0x92f39f;return typeof _0x409642==_0x3834a3(0x2bc)&&Number['isFinite'](_0x409642)&&_0x409642>0x0;}function Dr(_0x40ca3f,_0x3e5f37,_0x1039d2){const _0x54d9b1=_0x92f39f;let _0x2b7135=_0x40ca3f[_0x3e5f37],_0xfe342f=_0x5213e3(_0x2b7135==null?void 0x0:_0x2b7135[_0x54d9b1(0x465)]);if(!_0x2b7135||!_0xfe342f)return null;let _0x376f41=_0x4789c7(_0x2b7135,_0x1039d2);if(!_0x376f41)return null;let _0x25a40c=_0x2b7135[_0x54d9b1(0x242)]??_0x2b7135['element']['transform'],_0x33350c={..._0x40ca3f,[_0x3e5f37]:{..._0x2b7135,'transform':{..._0x25a40c,'width':_0x376f41[_0x54d9b1(0x389)],'height':_0x376f41[_0x54d9b1(0x1fe)]},'element':{..._0x2b7135['element'],'transform':{..._0x2b7135[_0x54d9b1(0x465)][_0x54d9b1(0x242)],'width':_0x376f41[_0x54d9b1(0x389)],'height':_0x376f41[_0x54d9b1(0x1fe)]}}}};return _0xa5f4f8(_0x33350c,_0xfe342f[_0x54d9b1(0x3b4)]);}let Or=class extends _0xb1406a{constructor(_0x18cb18,_0x2b1471,_0x205ceb,_0x58a88b,_0x35b943,_0x341c4f){const _0x50636c=_0x92f39f;super(),this[_0x50636c(0x45a)]=_0x18cb18,this[_0x50636c(0x447)]=_0x2b1471,this[_0x50636c(0x21c)]=_0x205ceb,this[_0x50636c(0x18c)]=_0x58a88b,this[_0x50636c(0x2fd)]=_0x35b943,this['_commandService']=_0x341c4f,K(this,_0x50636c(0x1e0),null),K(this,_0x50636c(0x258),{'match':_0x16b67d=>_0x16b67d[_0x50636c(0x237)]===this[_0x50636c(0x45a)][_0x50636c(0x237)]&&!!_0x5213e3(_0x16b67d[_0x50636c(0x465)]),'resolveHostSize':_0x34d6ef=>this[_0x50636c(0x42a)](_0x34d6ef),'previewHostSize':_0xe36a08=>this['_previewHostSize'](_0xe36a08),'updateHostSize':_0x3e37e8=>this[_0x50636c(0x439)](_0x3e37e8),'updateShapeText':_0x17e54b=>this['_updateShapeText'](_0x17e54b)}),this[_0x50636c(0x307)](this[_0x50636c(0x447)]['registerProvider'](this[_0x50636c(0x258)])),this[_0x50636c(0x182)](),this[_0x50636c(0x307)](_0x594a26(()=>this[_0x50636c(0x1a2)]()));}['_updateHostSize'](_0x323e10){const _0x1ad3d9=_0x92f39f;return this[_0x1ad3d9(0x2e1)](_0x323e10);}[_0x92f39f(0x461)](_0x5df956){const _0x313281=_0x92f39f;let _0xa522da=_0x5df956[_0x313281(0x176)]['hostSize']?this[_0x313281(0x42a)]({'elementData':_0x5df956[_0x313281(0x2d6)],'params':_0x5df956[_0x313281(0x176)][_0x313281(0x1ab)]}):null,_0x169dee=_0x5df956[_0x313281(0x2d6)]['transform']??_0x5df956[_0x313281(0x2d6)]['element'][_0x313281(0x242)];return(!_0xa522da||_0xa522da[_0x313281(0x389)]===_0x169dee[_0x313281(0x389)]&&_0xa522da[_0x313281(0x1fe)]===_0x169dee['height'])&&_0x485d33(_0x5df956[_0x313281(0x176)]['shapeText'],_0x5df956['params'][_0x313281(0x294)])?!0x0:this[_0x313281(0x282)][_0x313281(0x28b)](_0x5049e3['id'],{'unitId':_0x5df956['params']['unitId'],'subUnitId':_0x5df956[_0x313281(0x176)][_0x313281(0x1fa)],'nodeId':_0x5df956[_0x313281(0x176)][_0x313281(0x418)],'shapeText':_0x5df956['params']['shapeText'],..._0xa522da?{'hostSize':{'width':_0xa522da[_0x313281(0x389)],'height':_0xa522da[_0x313281(0x1fe)]}}:null});}[_0x92f39f(0x2e1)](_0x11e143){const _0xdc0d7f=_0x92f39f;let _0x5a8b67=this['_resolveHostSize'](_0x11e143);if(!_0x5a8b67)return!0x1;let _0x22d80e=_0x11e143['elementData'][_0xdc0d7f(0x242)]??_0x11e143[_0xdc0d7f(0x2d6)][_0xdc0d7f(0x465)]['transform'];return!this[_0xdc0d7f(0x1e0)]&&_0x22d80e[_0xdc0d7f(0x389)]===_0x5a8b67[_0xdc0d7f(0x389)]&&_0x22d80e[_0xdc0d7f(0x1fe)]===_0x5a8b67[_0xdc0d7f(0x1fe)]||this[_0xdc0d7f(0x369)](_0x11e143,_0x5a8b67),!0x0;}['_resolveHostSize'](_0x482fc5){const _0x1c8725=_0x92f39f;return!Er(_0x482fc5['params']['width'])||!Er(_0x482fc5[_0x1c8725(0x176)][_0x1c8725(0x1fe)])?null:_0x4789c7(_0x482fc5[_0x1c8725(0x2d6)],{'width':_0x482fc5['params'][_0x1c8725(0x389)],'height':_0x482fc5['params'][_0x1c8725(0x1fe)]});}['_initEditingRestore'](){const _0x3e244f=_0x92f39f;this[_0x3e244f(0x307)](_0x594a26(this[_0x3e244f(0x18c)][_0x3e244f(0x304)][_0x3e244f(0x312)](_0x3568ee(this['dispose$']))[_0x3e244f(0x457)](_0x8deaec=>{_0x8deaec||this['_restoreActivePreview']();})));}[_0x92f39f(0x369)](_0x13e76f,_0x3bce1c){const _0x25b082=_0x92f39f;var _0x409bfb;let _0x9a07f5=this[_0x25b082(0x21c)][_0x25b082(0x2bd)](_0x13e76f['params'][_0x25b082(0x237)],_0x13e76f[_0x25b082(0x176)][_0x25b082(0x1fa)]),_0x25f16a=Dr(_0x9a07f5,_0x13e76f[_0x25b082(0x176)]['shapeId'],_0x3bce1c),_0x54390a=_0x5213e3((_0x409bfb=_0x9a07f5[_0x13e76f['params'][_0x25b082(0x418)]])==null?void 0x0:_0x409bfb['element']);_0x25f16a&&_0x54390a&&(this[_0x25b082(0x1e0)]={'unitId':_0x13e76f[_0x25b082(0x176)][_0x25b082(0x237)],'subUnitId':_0x13e76f[_0x25b082(0x176)][_0x25b082(0x1fa)],'scopeId':_0x54390a['structureScopeId']},this[_0x25b082(0x23a)](_0x25f16a,_0x54390a[_0x25b082(0x3b4)])&&this['_previewRefreshService'][_0x25b082(0x38d)]({'unitId':_0x13e76f[_0x25b082(0x176)][_0x25b082(0x237)],'subUnitId':_0x13e76f[_0x25b082(0x176)]['subUnitId'],'nodeId':_0x13e76f[_0x25b082(0x176)][_0x25b082(0x418)],'scopeId':_0x54390a[_0x25b082(0x3b4)]}));}[_0x92f39f(0x1a2)](){const _0x28c205=_0x92f39f;let _0xea8a68=this[_0x28c205(0x1e0)];if(!_0xea8a68)return;this['_activePreview']=null;let _0x595e33=this[_0x28c205(0x21c)]['getElementData'](_0xea8a68[_0x28c205(0x237)],_0xea8a68[_0x28c205(0x1fa)]);this[_0x28c205(0x23a)](_0x595e33,_0xea8a68[_0x28c205(0x3d0)])&&this[_0x28c205(0x2fd)]['notify']({'unitId':_0xea8a68[_0x28c205(0x237)],'subUnitId':_0xea8a68['subUnitId'],'nodeId':_0xea8a68[_0x28c205(0x3d0)],'scopeId':_0xea8a68[_0x28c205(0x3d0)]});}[_0x92f39f(0x23a)](_0x49a693,_0x240d6a){const _0x2b2a95=_0x92f39f;let _0x318d68=!0x1;if(Object[_0x2b2a95(0x1f3)](_0x49a693)[_0x2b2a95(0x2cc)](_0x41d4f4=>{const _0x439725=_0x2b2a95;var _0x38a0be;let _0x11641c=_0x5213e3(_0x41d4f4['element']),_0x4bdd3d=(_0x38a0be=_0x41d4f4[_0x439725(0x465)][_0x439725(0x321)])==null?void 0x0:_0x38a0be[_0x439725(0x220)];if(_0x41d4f4[_0x439725(0x2d3)]!==_0x240d6a&&(_0x11641c==null?void 0x0:_0x11641c[_0x439725(0x3b4)])!==_0x240d6a&&(_0x4bdd3d==null?void 0x0:_0x4bdd3d[_0x439725(0x3b4)])!==_0x240d6a)return;let _0x2d052e=this[_0x439725(0x3d6)](_0x41d4f4[_0x439725(0x2d3)]);_0x2d052e&&(_0x318d68=_0x3dad20(_0x2d052e,_0x41d4f4,{'elementData':_0x49a693,'unitId':this[_0x439725(0x45a)][_0x439725(0x237)]})||_0x318d68);}),_0x318d68){var _0x3279f0,_0x49c209;this[_0x2b2a95(0x45a)][_0x2b2a95(0x1ea)][_0x2b2a95(0x3dc)](!0x0),(_0x3279f0=(_0x49c209=this[_0x2b2a95(0x45a)][_0x2b2a95(0x1ea)])[_0x2b2a95(0x3f9)])==null||_0x3279f0[_0x2b2a95(0x3ec)](_0x49c209);}return _0x318d68;}['_getSceneObject'](_0x3ba36b){const _0x22e71d=_0x92f39f;var _0x1913a4;let _0x3bb55c=_0x51bae1(this['_renderContext'][_0x22e71d(0x237)],_0x3ba36b),_0x18dd2a=this[_0x22e71d(0x45a)][_0x22e71d(0x1ea)];return((_0x1913a4=_0x18dd2a[_0x22e71d(0x298)])==null?void 0x0:_0x1913a4[_0x22e71d(0x3ec)](_0x18dd2a,_0x3bb55c))??this[_0x22e71d(0x45a)][_0x22e71d(0x1ea)][_0x22e71d(0x400)](_0x3bb55c)??null;}};Or=J([q(0x1,_0x3c9b31(_0x346884)),q(0x2,_0x3c9b31(_0xbfe5fc)),q(0x3,_0x3c9b31(_0x3027f8)),q(0x4,_0x3c9b31(Tr)),q(0x5,_0x3aa11b)],Or);const $={'touchHitRadius':0x16,'radius':0x12,'addChildRadius':0xe,'siblingHoverRadius':0xa,'siblingDotRadius':0x5,'siblingDotGap':0x3,'gap':0xa,'collapsePlusMinDistance':0x2c,'primaryColor':Y[_0x92f39f(0x1fc)],'surfaceColor':Y[_0x92f39f(0x212)],'borderWidth':0x2,'glyphSize':0x8,'addChildGlyphSize':0x6,'siblingGlyphSize':5.5,'glyphWidth':2.4,'glyphHoverWidth':0x3,'badgeFontWeight':0x258,'badgeFontSize':0x12,'fontFamily':Y[_0x92f39f(0x443)]};function kr(_0x405dcc){const _0x58cea3=_0x92f39f;let _0x24b474=$[_0x58cea3(0x266)],_0x38d8a3=$[_0x58cea3(0x388)],_0x4505c2=$[_0x58cea3(0x20f)],_0x4f69be=$[_0x58cea3(0x183)],_0x569900=$[_0x58cea3(0x3b9)],_0x2cfbd7=_0x569900+$[_0x58cea3(0x45b)],_0x239422=$['collapsePlusMinDistance'],_0x1f9b47=_0x405dcc[_0x58cea3(0x1ef)][_0x58cea3(0x1d8)]+_0x405dcc[_0x58cea3(0x1ef)][_0x58cea3(0x1fe)]/0x2,_0x44220b=_0x405dcc[_0x58cea3(0x1ef)]['left']+_0x405dcc[_0x58cea3(0x1ef)]['width']/0x2,_0x293f00=_0x405dcc['bounds'][_0x58cea3(0x378)]-_0x24b474-_0x4f69be,_0x58774a=_0x405dcc['bounds'][_0x58cea3(0x378)]+_0x405dcc[_0x58cea3(0x1ef)][_0x58cea3(0x389)]+_0x24b474+_0x4f69be,_0x175996=_0x405dcc['bounds']['top']-_0x24b474-_0x4f69be,_0x586a7f=_0x405dcc[_0x58cea3(0x1ef)][_0x58cea3(0x1d8)]+_0x405dcc['bounds'][_0x58cea3(0x1fe)]+_0x24b474+_0x4f69be,_0x32cb41=_0x405dcc['bounds']['left']-_0x38d8a3-_0x4f69be,_0x20e520=_0x405dcc['bounds'][_0x58cea3(0x378)]+_0x405dcc[_0x58cea3(0x1ef)]['width']+_0x38d8a3+_0x4f69be,_0x21c802=_0x405dcc[_0x58cea3(0x1ef)]['top']-_0x38d8a3-_0x4f69be,_0xa250b7=_0x405dcc[_0x58cea3(0x1ef)][_0x58cea3(0x1d8)]+_0x405dcc[_0x58cea3(0x1ef)][_0x58cea3(0x1fe)]+_0x38d8a3+_0x4f69be,_0x3f8db2=[],_0x24cc96=_0x405dcc[_0x58cea3(0x44d)]==='top'||_0x405dcc[_0x58cea3(0x44d)]==='bottom',_0x5ac822=_0x24cc96?_0x44220b:_0x405dcc[_0x58cea3(0x44d)]==='left'?_0x293f00:_0x58774a,_0x3b541c=_0x24cc96?_0x405dcc['side']==='top'?_0x175996:_0x586a7f:_0x1f9b47;if(_0x405dcc[_0x58cea3(0x371)]&&_0x405dcc['collapsedDescendantCount']>0x0)return _0x3f8db2[_0x58cea3(0x1ee)]({'kind':_0x58cea3(0x179),'x':_0x5ac822,'y':_0x3b541c,'radius':_0x24b474,'badgeCount':_0x405dcc['collapsedDescendantCount']}),_0x3f8db2;if(_0x405dcc[_0x58cea3(0x223)]?(_0x405dcc[_0x58cea3(0x172)]??(_0x24cc96?[_0x58cea3(0x1d8),'bottom']:[_0x58cea3(0x378),'right']))['forEach'](_0xacf393=>{const _0x1ae1c4=_0x58cea3;_0xacf393===_0x1ae1c4(0x1d8)?_0x3f8db2[_0x1ae1c4(0x1ee)]({'kind':'add-child-top','x':_0x44220b,'y':_0x21c802,'radius':_0x38d8a3}):_0xacf393===_0x1ae1c4(0x36e)?_0x3f8db2['push']({'kind':_0x1ae1c4(0x1b3),'x':_0x44220b,'y':_0xa250b7,'radius':_0x38d8a3}):_0xacf393==='left'?_0x3f8db2[_0x1ae1c4(0x1ee)]({'kind':_0x1ae1c4(0x1e2),'x':_0x32cb41,'y':_0x1f9b47,'radius':_0x38d8a3}):_0x3f8db2['push']({'kind':'add-child-right','x':_0x20e520,'y':_0x1f9b47,'radius':_0x38d8a3});}):(_0x3f8db2[_0x58cea3(0x1ee)]({'kind':_0x405dcc['side']==='left'?_0x58cea3(0x1e2):_0x405dcc[_0x58cea3(0x44d)]===_0x58cea3(0x1d8)?_0x58cea3(0x3df):_0x405dcc['side']===_0x58cea3(0x36e)?_0x58cea3(0x1b3):'add-child-right','x':_0x24cc96?_0x44220b:_0x405dcc[_0x58cea3(0x44d)]===_0x58cea3(0x378)?_0x32cb41:_0x20e520,'y':_0x24cc96?_0x405dcc[_0x58cea3(0x44d)]===_0x58cea3(0x1d8)?_0x21c802:_0xa250b7:_0x1f9b47,'radius':_0x38d8a3}),_0x24cc96?(_0x3f8db2[_0x58cea3(0x1ee)]({'kind':_0x58cea3(0x2f4),'placement':'before','x':_0x405dcc[_0x58cea3(0x1ef)][_0x58cea3(0x378)]-_0x2cfbd7,'y':_0x1f9b47,'radius':_0x4505c2,'visualRadius':_0x569900}),_0x3f8db2[_0x58cea3(0x1ee)]({'kind':_0x58cea3(0x3d7),'placement':_0x58cea3(0x1f8),'x':_0x405dcc[_0x58cea3(0x1ef)]['left']+_0x405dcc[_0x58cea3(0x1ef)][_0x58cea3(0x389)]+_0x2cfbd7,'y':_0x1f9b47,'radius':_0x4505c2,'visualRadius':_0x569900})):(_0x3f8db2[_0x58cea3(0x1ee)]({'kind':_0x58cea3(0x2f4),'placement':_0x58cea3(0x322),'x':_0x44220b,'y':_0x405dcc[_0x58cea3(0x1ef)][_0x58cea3(0x1d8)]-_0x2cfbd7,'radius':_0x4505c2,'visualRadius':_0x569900}),_0x3f8db2[_0x58cea3(0x1ee)]({'kind':_0x58cea3(0x3d7),'placement':_0x58cea3(0x1f8),'x':_0x44220b,'y':_0x405dcc['bounds'][_0x58cea3(0x1d8)]+_0x405dcc['bounds']['height']+_0x2cfbd7,'radius':_0x4505c2,'visualRadius':_0x569900}))),_0x405dcc['hasChildren']){let _0x221bdb={'kind':_0x58cea3(0x179),'x':_0x5ac822,'y':_0x3b541c,'radius':_0x24b474};_0x3f8db2[_0x58cea3(0x1ee)](_0x221bdb);let _0x4625b9=_0x3f8db2[_0x58cea3(0x2bf)](_0x3f369d=>_0x3f369d[_0x58cea3(0x45c)]===(_0x405dcc[_0x58cea3(0x44d)]===_0x58cea3(0x378)?_0x58cea3(0x1e2):_0x405dcc[_0x58cea3(0x44d)]===_0x58cea3(0x1d8)?_0x58cea3(0x3df):_0x405dcc[_0x58cea3(0x44d)]===_0x58cea3(0x36e)?_0x58cea3(0x1b3):'add-child-right'));_0x4625b9&&Math[_0x58cea3(0x2dc)](_0x4625b9['x']-_0x221bdb['x'],_0x4625b9['y']-_0x221bdb['y'])<_0x239422&&(_0x405dcc[_0x58cea3(0x44d)]===_0x58cea3(0x1d8)||_0x405dcc[_0x58cea3(0x44d)]===_0x58cea3(0x36e)?_0x4625b9['y']=_0x221bdb['y']+(_0x405dcc[_0x58cea3(0x44d)]===_0x58cea3(0x1d8)?-_0x239422:_0x239422):_0x4625b9['x']=_0x221bdb['x']+(_0x405dcc[_0x58cea3(0x44d)]==='left'?-_0x239422:_0x239422));}return _0x3f8db2;}const Ar=_0x92f39f(0x1bd),jr=_0x37e359[_0x92f39f(0x430)];function Mr(_0x31a7ed,_0x39e5fe){const _0x2c90ff=_0x92f39f;return!!_0x31a7ed&&_0x31a7ed[_0x2c90ff(0x45c)]===_0x39e5fe['kind']&&_0x31a7ed['x']===_0x39e5fe['x']&&_0x31a7ed['y']===_0x39e5fe['y'];}var Nr=class extends _0x3b27b9{constructor(_0x1c1294=Ar,_0x5e9951){const _0x4d8445=_0x92f39f;super(_0x1c1294),K(this,_0x4d8445(0x36b),{'controls':[]}),this[_0x4d8445(0x458)]=!0x0,this[_0x4d8445(0x181)]=_0xbc2bae[_0x4d8445(0x233)],this[_0x4d8445(0x40b)](_0x5e9951);}[_0x92f39f(0x40b)](_0x276d0e){const _0x26a84a=_0x92f39f;this[_0x26a84a(0x36b)]={...this[_0x26a84a(0x36b)],..._0x276d0e},this['_state']['controls'][_0x26a84a(0x33b)]>0x0?this[_0x26a84a(0x2f3)]():this[_0x26a84a(0x3e2)](),this['makeDirty'](!0x0);}[_0x92f39f(0x2c7)](_0x3f9369){const _0x29b175=_0x92f39f;!_0x3f9369&&!this['_state'][_0x29b175(0x1f7)]||_0x3f9369&&Mr(this[_0x29b175(0x36b)][_0x29b175(0x1f7)],_0x3f9369)||(this['_state']={...this[_0x29b175(0x36b)],'hoveredControl':_0x3f9369},this[_0x29b175(0x3dc)](!0x0));}[_0x92f39f(0x262)](_0x14b228,_0x1e7e40){const _0x5ef33d=_0x92f39f;var _0x28be5a;let _0x1cfa72=(_0x28be5a=this[_0x5ef33d(0x2eb)]())==null?void 0x0:_0x28be5a[_0x5ef33d(0x3d4)](),_0x59a173=null,_0x1b7d1d=0x1/0x0;for(let _0x12c65d=this['_state']['controls'][_0x5ef33d(0x33b)]-0x1;_0x12c65d>=0x0;--_0x12c65d){let _0x375655=this[_0x5ef33d(0x36b)][_0x5ef33d(0x21b)][_0x12c65d],_0x41a64c=Math[_0x5ef33d(0x2dc)](_0x14b228['x']-_0x375655['x'],_0x14b228['y']-_0x375655['y']);if(_0x1e7e40!==_0xab8b6[_0x5ef33d(0x390)]){if(_0x41a64c<=_0x375655['radius'])return _0x375655;continue;}let _0x37a480=Math[_0x5ef33d(0x2dc)]((_0x14b228['x']-_0x375655['x'])*((_0x1cfa72==null?void 0x0:_0x1cfa72[_0x5ef33d(0x2ca)])??0x1),(_0x14b228['y']-_0x375655['y'])*((_0x1cfa72==null?void 0x0:_0x1cfa72[_0x5ef33d(0x1cf)])??0x1));(_0x41a64c<=_0x375655[_0x5ef33d(0x266)]||_0x37a480<=$['touchHitRadius'])&&_0x37a480<_0x1b7d1d&&(_0x59a173=_0x375655,_0x1b7d1d=_0x37a480);}return _0x59a173;}['getTouchHitDistance'](_0x581fb5){const _0x481751=_0x92f39f;var _0x598346;let _0x995d07=this['getHitControl'](_0x581fb5,_0xab8b6[_0x481751(0x390)]),_0x3db51d=(_0x598346=this[_0x481751(0x2eb)]())==null?void 0x0:_0x598346[_0x481751(0x3d4)]();return _0x995d07?Math[_0x481751(0x2dc)]((_0x581fb5['x']-_0x995d07['x'])*((_0x3db51d==null?void 0x0:_0x3db51d[_0x481751(0x2ca)])??0x1),(_0x581fb5['y']-_0x995d07['y'])*((_0x3db51d==null?void 0x0:_0x3db51d['scaleY'])??0x1)):0x1/0x0;}['isHit'](_0x52cb7b){const _0x4efad9=_0x92f39f;return!!this[_0x4efad9(0x262)]({'x':_0x52cb7b['x'],'y':_0x52cb7b['y']});}[_0x92f39f(0x173)](_0x520024,_0x542c27){const _0x332a01=_0x92f39f;return!this[_0x332a01(0x1d7)]||this[_0x332a01(0x36b)]['controls'][_0x332a01(0x33b)]===0x0?(this[_0x332a01(0x3dc)](!0x1),this):(_0x520024[_0x332a01(0x383)](),this[_0x332a01(0x36b)]['controls'][_0x332a01(0x2cc)](_0x244f5d=>{const _0x539fd4=_0x332a01;let _0x379b3a=Mr(this[_0x539fd4(0x36b)]['hoveredControl'],_0x244f5d),_0x47905b=_0x244f5d[_0x539fd4(0x455)]!==void 0x0,_0x368f34=_0x244f5d[_0x539fd4(0x45c)]===_0x539fd4(0x1e2)||_0x244f5d[_0x539fd4(0x45c)]===_0x539fd4(0x452)||_0x244f5d[_0x539fd4(0x45c)]===_0x539fd4(0x3df)||_0x244f5d[_0x539fd4(0x45c)]===_0x539fd4(0x1b3),_0x2be8f9=_0x244f5d[_0x539fd4(0x45c)]===_0x539fd4(0x2f4)||_0x244f5d[_0x539fd4(0x45c)]===_0x539fd4(0x3d7),_0x3288ff=_0x2be8f9&&!_0x379b3a?_0x244f5d[_0x539fd4(0x25e)]??_0x244f5d['radius']:_0x244f5d['radius'];if(_0x520024[_0x539fd4(0x2ec)](),_0x520024[_0x539fd4(0x17d)]=_0x244f5d[_0x539fd4(0x45c)]==='toggle-collapse'?$[_0x539fd4(0x212)]:$[_0x539fd4(0x1fc)],_0x520024[_0x539fd4(0x2b1)]=$['primaryColor'],_0x520024['lineWidth']=$[_0x539fd4(0x35d)],_0x520024['arc'](_0x244f5d['x'],_0x244f5d['y'],_0x3288ff,0x0,Math['PI']*0x2),_0x520024[_0x539fd4(0x213)](),(!_0x2be8f9||_0x379b3a)&&_0x520024[_0x539fd4(0x1e7)](),!_0x47905b&&(!_0x2be8f9||_0x379b3a)){if(_0x520024['beginPath'](),_0x520024[_0x539fd4(0x2b1)]=_0x244f5d[_0x539fd4(0x45c)]==='toggle-collapse'?$[_0x539fd4(0x1fc)]:$[_0x539fd4(0x212)],_0x520024['lineWidth']=_0x2be8f9?$[_0x539fd4(0x357)]:_0x379b3a?$[_0x539fd4(0x3a6)]:$[_0x539fd4(0x357)],_0x520024[_0x539fd4(0x280)]=_0x539fd4(0x370),_0x244f5d[_0x539fd4(0x45c)]===_0x539fd4(0x179)){let _0xfd8bc1=$[_0x539fd4(0x2ea)];_0x520024[_0x539fd4(0x345)](_0x244f5d['x']+_0xfd8bc1/0x2,_0x244f5d['y']-_0xfd8bc1),_0x520024[_0x539fd4(0x165)](_0x244f5d['x']-_0xfd8bc1/0x2,_0x244f5d['y']),_0x520024[_0x539fd4(0x165)](_0x244f5d['x']+_0xfd8bc1/0x2,_0x244f5d['y']+_0xfd8bc1);}else{let _0x2868f1=_0x2be8f9?$[_0x539fd4(0x2e9)]:_0x368f34?$[_0x539fd4(0x243)]:$['glyphSize'];_0x520024[_0x539fd4(0x345)](_0x244f5d['x']-_0x2868f1,_0x244f5d['y']),_0x520024[_0x539fd4(0x165)](_0x244f5d['x']+_0x2868f1,_0x244f5d['y']),_0x520024[_0x539fd4(0x345)](_0x244f5d['x'],_0x244f5d['y']-_0x2868f1),_0x520024[_0x539fd4(0x165)](_0x244f5d['x'],_0x244f5d['y']+_0x2868f1);}_0x520024[_0x539fd4(0x1e7)]();}_0x47905b&&(_0x520024[_0x539fd4(0x17d)]=$['primaryColor'],_0x520024['font']=$[_0x539fd4(0x3f4)]+'\x20'+$[_0x539fd4(0x244)]+'px\x20'+$[_0x539fd4(0x443)],_0x520024['textAlign']=_0x539fd4(0x2a0),_0x520024[_0x539fd4(0x25a)]=_0x539fd4(0x404),_0x520024[_0x539fd4(0x393)](String(_0x244f5d[_0x539fd4(0x455)]),_0x244f5d['x'],_0x244f5d['y']));}),_0x520024[_0x332a01(0x3f7)](),this[_0x332a01(0x3dc)](!0x1),this);}};function Pr(_0x93f049){const _0x4092af=_0x92f39f;return _0x93f049===_0x4092af(0x428)||_0x93f049===_0x4092af(0x1cb)||_0x93f049===_0x4092af(0x331);}function Fr(_0x2e73fc){return _0x2e73fc==='timeline-horizontal'||_0x2e73fc==='timeline-vertical';}function Ir(_0x15c91c,_0x1cb84f){const _0x56b6b1=_0x92f39f;let _0x109d20=Number[_0x56b6b1(0x263)](_0x1cb84f[_0x56b6b1(0x1ec)])&&_0x1cb84f['zoomRatio']>0x0?_0x1cb84f[_0x56b6b1(0x1ec)]:0x1;return{'x':Math[_0x56b6b1(0x370)]((_0x15c91c[_0x56b6b1(0x3fb)]-_0x1cb84f[_0x56b6b1(0x3d9)]['x'])/_0x109d20),'y':Math[_0x56b6b1(0x370)]((_0x15c91c[_0x56b6b1(0x2be)]-_0x1cb84f[_0x56b6b1(0x3d9)]['y'])/_0x109d20)};}let Lr=class extends _0xb1406a{constructor(_0x1c81ec,_0x1399a1,_0x563d01,_0x58d212,_0x5f4ad3,_0x25524f,_0xda5d06,_0x106d43,_0x597088){const _0x4dbd17=_0x92f39f;super(),this[_0x4dbd17(0x45a)]=_0x1c81ec,this[_0x4dbd17(0x21c)]=_0x1399a1,this[_0x4dbd17(0x15c)]=_0x563d01,this[_0x4dbd17(0x327)]=_0x58d212,this['_commandService']=_0x5f4ad3,this['_boardTextEditingService']=_0x25524f,this[_0x4dbd17(0x2d4)]=_0xda5d06,this['_previewRefreshService']=_0x106d43,this[_0x4dbd17(0x334)]=_0x597088,K(this,_0x4dbd17(0x2b8),null),K(this,_0x4dbd17(0x210),null),K(this,'_activeNodeId',null),K(this,_0x4dbd17(0x391),null),this[_0x4dbd17(0x270)]();}['_init'](){const _0x33cdcf=_0x92f39f;var _0x2d4283,_0x49326b,_0x2c6d13;let {scene:_0x833683}=this[_0x33cdcf(0x45a)],_0x2eb6b5=(_0x2d4283=_0x833683[_0x33cdcf(0x287)])==null?void 0x0:_0x2d4283[_0x33cdcf(0x3ec)](_0x833683);_0x2eb6b5&&(this[_0x33cdcf(0x307)](_0x594a26(_0x2eb6b5[_0x33cdcf(0x160)][_0x33cdcf(0x312)](_0x3568ee(this[_0x33cdcf(0x203)]))['subscribe'](({objects:_0x14c15f})=>{const _0x1cefd3=_0x33cdcf;this[_0x1cefd3(0x2c9)](_0x14c15f,{'hideRootControls':!0x0});}))),this[_0x33cdcf(0x307)](_0x594a26(_0x2eb6b5[_0x33cdcf(0x399)]['pipe'](_0x3568ee(this['dispose$']))['subscribe'](_0x3ae904=>{const _0x1f4cd7=_0x33cdcf;let _0x33ea98=_0x3ae904==null?void 0x0:_0x3ae904[_0x1f4cd7(0x1c8)];this[_0x1f4cd7(0x2c9)](_0x33ea98),setTimeout(()=>this['_syncControls'](_0x33ea98),0x0);})))),this[_0x33cdcf(0x307)](_0x594a26(this['_elementStateService'][_0x33cdcf(0x421)][_0x33cdcf(0x312)](_0x3568ee(this[_0x33cdcf(0x203)]))['subscribe'](()=>this['_syncControls']()))),this[_0x33cdcf(0x307)](_0x594a26(this['_stateService'][_0x33cdcf(0x421)]['pipe'](_0x3568ee(this[_0x33cdcf(0x203)]))[_0x33cdcf(0x457)](()=>this[_0x33cdcf(0x2c9)]()))),this[_0x33cdcf(0x307)](_0x594a26(this[_0x33cdcf(0x21c)][_0x33cdcf(0x2a2)][_0x33cdcf(0x312)](_0x3568ee(this[_0x33cdcf(0x203)]))[_0x33cdcf(0x457)](_0x364ebd=>{const _0x4ac81a=_0x33cdcf;let _0x265247=this[_0x4ac81a(0x15c)]['getSnapshot']()[_0x4ac81a(0x32a)];_0x265247&&_0x364ebd[_0x4ac81a(0x28c)](_0x20a4c5=>_0x20a4c5['unitId']===_0x265247[_0x4ac81a(0x237)]&&_0x20a4c5[_0x4ac81a(0x1fa)]===_0x265247['subUnitId']&&(_0x20a4c5[_0x4ac81a(0x2d3)]===this[_0x4ac81a(0x177)]||_0x20a4c5['elementId']===this[_0x4ac81a(0x391)]))&&this[_0x4ac81a(0x2c9)]();}))),this[_0x33cdcf(0x307)](_0x594a26(this[_0x33cdcf(0x2fd)][_0x33cdcf(0x189)][_0x33cdcf(0x312)](_0x3568ee(this[_0x33cdcf(0x203)]))[_0x33cdcf(0x457)](_0x47323e=>{const _0x8bb143=_0x33cdcf;let _0x1a8fd7=this['_elementStateService'][_0x8bb143(0x2c6)]()[_0x8bb143(0x32a)];_0x1a8fd7&&_0x1a8fd7['unitId']===_0x47323e[_0x8bb143(0x237)]&&_0x1a8fd7[_0x8bb143(0x1fa)]===_0x47323e['subUnitId']&&(this[_0x8bb143(0x391)]&&this[_0x8bb143(0x391)]!==_0x47323e['scopeId']||this[_0x8bb143(0x2c9)]());}))),this[_0x33cdcf(0x307)](_0x594a26(_0x833683['onPointerMove$'][_0x33cdcf(0x1ae)](_0x339572=>this[_0x33cdcf(0x2e8)](_0x339572)))),this[_0x33cdcf(0x307)](_0x594a26(_0x833683[_0x33cdcf(0x343)][_0x33cdcf(0x1ae)]({'priority':0x4,'next':([_0x19c8c5,_0x286751])=>{const _0x45ff07=_0x33cdcf;this[_0x45ff07(0x219)](_0x19c8c5)&&this[_0x45ff07(0x38c)](_0x19c8c5,_0x286751);}}))),this['disposeWithMe'](_0x594a26(((_0x49326b=_0x833683[_0x33cdcf(0x420)])==null?void 0x0:_0x49326b[_0x33cdcf(0x1ae)]({'priority':0x4,'next':([_0x5c9576,_0x19f4da])=>{const _0x27f4d1=_0x33cdcf;this[_0x27f4d1(0x3b3)](_0x5c9576)&&this[_0x27f4d1(0x38c)](_0x5c9576,_0x19f4da);}}))??{'dispose':()=>{}})),this[_0x33cdcf(0x307)](_0x594a26(((_0x2c6d13=_0x833683[_0x33cdcf(0x33a)])==null?void 0x0:_0x2c6d13['subscribeEvent']({'priority':0x4,'next':([_0x1c5641,_0x4d147b])=>{this['_isControlEvent'](_0x1c5641)&&this['_consumeControlEvent'](_0x1c5641,_0x4d147b);}}))??{'dispose':()=>{}})),this[_0x33cdcf(0x307)](_0x594a26(()=>this[_0x33cdcf(0x3aa)]())),this[_0x33cdcf(0x2c9)]();}[_0x92f39f(0x41d)](){const _0x2cd80d=_0x92f39f;return this[_0x2cd80d(0x2b8)]?this[_0x2cd80d(0x2b8)]:(this[_0x2cd80d(0x2b8)]=new Nr(Ar),this[_0x2cd80d(0x352)](this['_object']),this[_0x2cd80d(0x45a)][_0x2cd80d(0x1ea)][_0x2cd80d(0x414)](this[_0x2cd80d(0x2b8)],jr),this[_0x2cd80d(0x2b8)]);}[_0x92f39f(0x352)](_0x2a1bc8){const _0x17bd6e=_0x92f39f;var _0x199bd3;(_0x199bd3=this[_0x17bd6e(0x210)])==null||_0x199bd3[_0x17bd6e(0x340)]();let _0x30264e=new _0x54845b();_0x30264e[_0x17bd6e(0x227)](_0x2a1bc8[_0x17bd6e(0x343)][_0x17bd6e(0x1ae)]({'priority':0x4,'next':([_0x5e31ac,_0x4f3c38])=>{this['_handlePointerDown'](_0x5e31ac)&&this['_consumeControlEvent'](_0x5e31ac,_0x4f3c38);}})),_0x30264e[_0x17bd6e(0x227)](_0x2a1bc8['onPointerUp$'][_0x17bd6e(0x1ae)]({'priority':0x4,'next':([_0xb21169,_0x26e2ad])=>{const _0x38a2ae=_0x17bd6e;this[_0x38a2ae(0x3b3)](_0xb21169)&&this[_0x38a2ae(0x38c)](_0xb21169,_0x26e2ad);}})),_0x30264e[_0x17bd6e(0x227)](_0x2a1bc8[_0x17bd6e(0x33a)]['subscribeEvent']({'priority':0x4,'next':([_0x47f4bf,_0x2f1e0a])=>{const _0x3df420=_0x17bd6e;this[_0x3df420(0x3b3)](_0x47f4bf)&&this[_0x3df420(0x38c)](_0x47f4bf,_0x2f1e0a);}})),this['_objectEventDisposables']=_0x30264e;}['_removeObject'](){const _0x3f9511=_0x92f39f;var _0x28b041;this['_object']&&(this[_0x3f9511(0x45a)][_0x3f9511(0x1ea)][_0x3f9511(0x295)]([this['_object']]),(_0x28b041=this[_0x3f9511(0x210)])==null||_0x28b041['dispose'](),this[_0x3f9511(0x210)]=null,this['_object']=null,this['_activeNodeId']=null,this[_0x3f9511(0x391)]=null,this[_0x3f9511(0x45a)]['scene'][_0x3f9511(0x3dc)](!0x0));}['_syncControls'](_0x1862d3,_0x1e3247){const _0x28644e=_0x92f39f;var _0x1096ee,_0xa7c9a3;if(this[_0x28644e(0x327)][_0x28644e(0x18a)]()['interactionMode']==='viewing'){this[_0x28644e(0x3aa)]();return;}let _0xf1c167=this[_0x28644e(0x15c)]['getSnapshot'](),_0x54bba7=_0xf1c167['context'],_0x1dcf20=_0xf1c167[_0x28644e(0x25b)]??_0xf1c167[_0x28644e(0x351)][0x0];if(!_0x54bba7||!_0x1dcf20||_0xf1c167[_0x28644e(0x351)][_0x28644e(0x33b)]!==0x1){this[_0x28644e(0x3aa)]();return;}let _0x40be3c=this['_boardElementService'][_0x28644e(0x2bd)](_0x54bba7[_0x28644e(0x237)],_0x54bba7[_0x28644e(0x1fa)]),_0x46751f=_0x40be3c[_0x1dcf20],_0x41a072=_0x5213e3(_0x46751f==null?void 0x0:_0x46751f['element']);if(!_0x46751f||!_0x41a072){this[_0x28644e(0x3aa)]();return;}let _0x4fdf14=_0x51bae1(_0x54bba7[_0x28644e(0x237)],_0x1dcf20);if(_0x1e3247!=null&&_0x1e3247[_0x28644e(0x3e7)]&&_0x41a072[_0x28644e(0x19e)]==null&&_0x1862d3!=null&&_0x1862d3[_0x28644e(0x292)](_0x4fdf14)){this[_0x28644e(0x3aa)]();return;}let _0x23a0fb=this[_0x28644e(0x35b)](_0x40be3c,_0x54bba7[_0x28644e(0x237)],_0x1dcf20,_0x1862d3);if(!_0x23a0fb){this[_0x28644e(0x3aa)]();return;}let _0x35f8bb=Object[_0x28644e(0x1f3)](_0x40be3c)[_0x28644e(0x277)](_0xbe908d=>{const _0x1d0f3a=_0x28644e;var _0x1acc0f;return((_0x1acc0f=_0x5213e3(_0xbe908d[_0x1d0f3a(0x465)]))==null?void 0x0:_0x1acc0f['parentNodeId'])===_0x1dcf20;}),_0xf7e456=_0x41a072[_0x28644e(0x196)]?this['_countDescendants'](_0x40be3c,_0x1dcf20):0x0;this[_0x28644e(0x177)]=_0x1dcf20,this['_activeScopeId']=_0x41a072['structureScopeId'];let _0x7a573f=(_0x1096ee=_0x40be3c[_0x41a072[_0x28644e(0x3b4)]])==null?void 0x0:_0x1096ee[_0x28644e(0x465)],_0x16c93e=_0x25a48f(_0x7a573f),_0x3d27ce=_0x7a573f==null||(_0xa7c9a3=_0x7a573f[_0x28644e(0x321)])==null||(_0xa7c9a3=_0xa7c9a3[_0x28644e(0x37a)])==null||(_0xa7c9a3=_0xa7c9a3[_0x28644e(0x424)])==null?void 0x0:_0xa7c9a3[_0x28644e(0x17b)],_0x4da25d=(_0x16c93e==null?void 0x0:_0x16c93e[_0x28644e(0x424)][_0x28644e(0x17b)])??_0x3d27ce,_0x3175e0=_0x41a072[_0x28644e(0x19e)]==null,_0x56fba0=this[_0x28644e(0x410)](_0x41a072['side'],_0x3175e0,_0x4da25d);this[_0x28644e(0x41d)]()[_0x28644e(0x40b)]({'controls':kr({'bounds':_0x23a0fb,'isRoot':_0x3175e0,'side':_0x56fba0,'rootChildSides':this[_0x28644e(0x23c)](_0x3175e0,_0x4da25d),'hasChildren':_0x35f8bb[_0x28644e(0x33b)]>0x0,'collapsedDescendantCount':_0xf7e456})}),this['_renderContext']['scene'][_0x28644e(0x3dc)](!0x0);}[_0x92f39f(0x410)](_0x2f51a1,_0xf62342,_0x325bea){const _0xe168ac=_0x92f39f;return _0x325bea==='timeline-vertical'?!_0xf62342&&(_0x2f51a1===_0xe168ac(0x378)||_0x2f51a1===_0xe168ac(0x2c4))?_0x2f51a1:_0xe168ac(0x36e):_0x325bea===_0xe168ac(0x395)?!_0xf62342&&(_0x2f51a1===_0xe168ac(0x1d8)||_0x2f51a1==='bottom')?_0x2f51a1:_0xe168ac(0x36e):_0x2f51a1===_0xe168ac(0x378)?_0xe168ac(0x378):'right';}[_0x92f39f(0x23c)](_0x80be2e,_0x3bf436){const _0x2349df=_0x92f39f;if(_0x80be2e){if(Pr(_0x3bf436))return['bottom'];if(_0x3bf436===_0x2349df(0x316))return[_0x2349df(0x2c4)];if(_0x3bf436===_0x2349df(0x284))return['bottom'];}}['_resolveCreateChildSide'](_0x1ca8c6){const _0x459506=_0x92f39f;var _0x132766,_0x24041;let _0x8c2073=this['_elementStateService'][_0x459506(0x2c6)]()['context'];if(!_0x8c2073||!this[_0x459506(0x177)])return;let _0x23244d=this[_0x459506(0x21c)][_0x459506(0x2bd)](_0x8c2073[_0x459506(0x237)],_0x8c2073[_0x459506(0x1fa)]),_0x3fc288=_0x5213e3((_0x132766=_0x23244d[this[_0x459506(0x177)]])==null?void 0x0:_0x132766['element']),_0x2c3eab=_0x3fc288?_0x25a48f((_0x24041=_0x23244d[_0x3fc288['structureScopeId']])==null?void 0x0:_0x24041['element']):null;if((_0x3fc288==null?void 0x0:_0x3fc288[_0x459506(0x19e)])!=null||!Pr(_0x2c3eab==null?void 0x0:_0x2c3eab[_0x459506(0x424)][_0x459506(0x17b)])&&!Fr(_0x2c3eab==null?void 0x0:_0x2c3eab[_0x459506(0x424)][_0x459506(0x17b)]))return _0x1ca8c6==='add-child-left'?_0x459506(0x378):_0x1ca8c6===_0x459506(0x3df)?_0x459506(0x1d8):_0x1ca8c6===_0x459506(0x1b3)?_0x459506(0x36e):_0x459506(0x2c4);}['_resolveControlBounds'](_0x4379bd,_0x2db79d,_0x185537,_0x5d00a0){const _0x254a6e=_0x92f39f;var _0x388ac0,_0x2c2b50;let _0x5edfd4=_0x51bae1(_0x2db79d,_0x185537),_0xb78239=_0x5d00a0==null?void 0x0:_0x5d00a0[_0x254a6e(0x2ba)](_0x5edfd4),_0x3ef842=this[_0x254a6e(0x367)](_0xb78239);if(_0x3ef842)return _0x3ef842;let _0x4ffd28=this['_renderContext']['scene'],_0x1c74ca=((_0x388ac0=_0x4ffd28[_0x254a6e(0x298)])==null?void 0x0:_0x388ac0[_0x254a6e(0x3ec)](_0x4ffd28,_0x5edfd4))??((_0x2c2b50=_0x4ffd28[_0x254a6e(0x400)])==null?void 0x0:_0x2c2b50[_0x254a6e(0x3ec)](_0x4ffd28,_0x5edfd4));return this[_0x254a6e(0x367)](_0x1c74ca)||_0x51a7dc(_0x4379bd,_0x185537);}[_0x92f39f(0x367)](_0x1c0f0e){const _0x317eb6=_0x92f39f;return _0x1c0f0e&&Number[_0x317eb6(0x263)](_0x1c0f0e['left'])&&Number['isFinite'](_0x1c0f0e[_0x317eb6(0x1d8)])&&Number[_0x317eb6(0x263)](_0x1c0f0e[_0x317eb6(0x389)])&&Number[_0x317eb6(0x263)](_0x1c0f0e[_0x317eb6(0x1fe)])?{'left':_0x1c0f0e[_0x317eb6(0x378)],'top':_0x1c0f0e[_0x317eb6(0x1d8)],'width':_0x1c0f0e[_0x317eb6(0x389)],'height':_0x1c0f0e[_0x317eb6(0x1fe)]}:null;}[_0x92f39f(0x37f)](_0x56116e,_0x10ea20){const _0x4ff975=_0x92f39f;return Object[_0x4ff975(0x1f3)](_0x56116e)['filter'](_0x19b340=>{const _0x25d842=_0x4ff975;var _0x56b7fd;return((_0x56b7fd=_0x5213e3(_0x19b340[_0x25d842(0x465)]))==null?void 0x0:_0x56b7fd['parentNodeId'])===_0x10ea20;})[_0x4ff975(0x1d2)]((_0xf80b78,_0x86115f)=>_0xf80b78+0x1+this[_0x4ff975(0x37f)](_0x56116e,_0x86115f[_0x4ff975(0x2d3)]),0x0);}[_0x92f39f(0x2e8)](_0x4640dc){const _0x327971=_0x92f39f;if(!this[_0x327971(0x2b8)])return;let _0x13ff09=this[_0x327971(0x327)][_0x327971(0x18a)](),_0x3b52b0=Ir(_0x4640dc,{'panOffset':_0x13ff09[_0x327971(0x1e5)],'zoomRatio':_0x13ff09[_0x327971(0x1ec)]});this[_0x327971(0x2b8)][_0x327971(0x2c7)](this['_object'][_0x327971(0x262)](_0x3b52b0,_0x4640dc[_0x327971(0x36a)]));}[_0x92f39f(0x219)](_0x27ac18){const _0x17c465=_0x92f39f;if(!this[_0x17c465(0x2b8)]||!this[_0x17c465(0x177)]||(_0x27ac18['button']??0x0)!==0x0)return!0x1;let _0x2bc5c8=this['_elementStateService'][_0x17c465(0x2c6)]()['context'];if(!_0x2bc5c8)return!0x1;let _0x55edf2=this[_0x17c465(0x327)][_0x17c465(0x18a)](),_0x2a4e97=Ir(_0x27ac18,{'panOffset':_0x55edf2[_0x17c465(0x1e5)],'zoomRatio':_0x55edf2[_0x17c465(0x1ec)]}),_0x502c75=this['_object']['getHitControl'](_0x2a4e97,_0x27ac18[_0x17c465(0x36a)]);if(!_0x502c75)return!0x1;if(_0x502c75[_0x17c465(0x45c)]===_0x17c465(0x179))return this[_0x17c465(0x25c)](_0x497ede['id'],{'unitId':_0x2bc5c8[_0x17c465(0x237)],'subUnitId':_0x2bc5c8[_0x17c465(0x1fa)],'nodeId':this[_0x17c465(0x177)]}),!0x0;if(_0x502c75[_0x17c465(0x45c)]==='add-child-left'||_0x502c75[_0x17c465(0x45c)]===_0x17c465(0x452)||_0x502c75[_0x17c465(0x45c)]==='add-child-top'||_0x502c75[_0x17c465(0x45c)]===_0x17c465(0x1b3)){let _0x328534=_0x38dd6c(0x6);return this[_0x17c465(0x226)](_0x5a9afd['id'],{'unitId':_0x2bc5c8[_0x17c465(0x237)],'subUnitId':_0x2bc5c8[_0x17c465(0x1fa)],'parentNodeId':this[_0x17c465(0x177)],'side':this[_0x17c465(0x469)](_0x502c75[_0x17c465(0x45c)]),'nodeId':_0x328534,'connectorId':_0x38dd6c(0x6),'text':this[_0x17c465(0x2d4)]['t']('boards-mind-ui.panel.addText')},_0x328534),!0x0;}if(_0x502c75[_0x17c465(0x45c)]==='add-sibling-before'||_0x502c75['kind']==='add-sibling-after'){let _0x5156f6=_0x38dd6c(0x6);return this[_0x17c465(0x226)](_0x24d9d3['id'],{'unitId':_0x2bc5c8[_0x17c465(0x237)],'subUnitId':_0x2bc5c8[_0x17c465(0x1fa)],'nodeId':this[_0x17c465(0x177)],'placement':_0x502c75[_0x17c465(0x27d)]??(_0x502c75[_0x17c465(0x45c)]==='add-sibling-before'?_0x17c465(0x322):_0x17c465(0x1f8)),'siblingNodeId':_0x5156f6,'connectorId':_0x38dd6c(0x6),'text':this['_localeService']['t'](_0x17c465(0x39e))},_0x5156f6),!0x0;}return!0x0;}[_0x92f39f(0x3b3)](_0x4bf87d){const _0x1bfecb=_0x92f39f;if(!this[_0x1bfecb(0x2b8)]||(_0x4bf87d[_0x1bfecb(0x438)]??0x0)!==0x0)return!0x1;let _0xa4902e=this[_0x1bfecb(0x327)][_0x1bfecb(0x18a)](),_0x4a9889=Ir(_0x4bf87d,{'panOffset':_0xa4902e['viewportPanOffset'],'zoomRatio':_0xa4902e[_0x1bfecb(0x1ec)]});return!!this['_object'][_0x1bfecb(0x262)](_0x4a9889,_0x4bf87d[_0x1bfecb(0x36a)]);}[_0x92f39f(0x38c)](_0x74a5b,_0x56afac){const _0x20f2f3=_0x92f39f;var _0x4cd8f6,_0x3bdad9;_0x56afac['stopPropagation'](),(_0x4cd8f6=_0x74a5b[_0x20f2f3(0x170)])==null||_0x4cd8f6[_0x20f2f3(0x3ec)](_0x74a5b),(_0x3bdad9=_0x74a5b[_0x20f2f3(0x30f)])==null||_0x3bdad9[_0x20f2f3(0x3ec)](_0x74a5b);}[_0x92f39f(0x25c)](_0x238563,_0xe32d41){const _0x393e82=_0x92f39f;let _0x5dc844=this[_0x393e82(0x391)];this[_0x393e82(0x334)]['run'](_0xe32d41[_0x393e82(0x237)],()=>{const _0x2e69e0=_0x393e82;this[_0x2e69e0(0x282)][_0x2e69e0(0x28b)](_0x238563,_0xe32d41)&&_0x5dc844&&(this[_0x2e69e0(0x282)][_0x2e69e0(0x28b)](_0x1a1b4d['id'],{'unitId':_0xe32d41[_0x2e69e0(0x237)],'subUnitId':_0xe32d41[_0x2e69e0(0x1fa)],'scopeId':_0x5dc844}),this[_0x2e69e0(0x2c9)]());});}['_executeCreateAndEdit'](_0x13cfd7,_0x4376e2,_0x49e394){const _0x323093=_0x92f39f;let _0x2f54f4={'unitId':_0x4376e2['unitId'],'subUnitId':_0x4376e2[_0x323093(0x1fa)]},_0x4c9b2c=this['_commandService'][_0x323093(0x1b1)](_0x13cfd7,_0x4376e2);Promise[_0x323093(0x2a7)](_0x4c9b2c)[_0x323093(0x271)](_0x72afb0=>{const _0x3e97c4=_0x323093;_0x72afb0&&(this[_0x3e97c4(0x2c9)](),this[_0x3e97c4(0x15c)][_0x3e97c4(0x2ff)](_0x2f54f4,[_0x49e394],_0x49e394),this[_0x3e97c4(0x3fa)][_0x3e97c4(0x222)](),this[_0x3e97c4(0x3fa)][_0x3e97c4(0x407)]({..._0x2f54f4,'shapeId':_0x49e394,'shapeKey':_0x51bae1(_0x2f54f4[_0x3e97c4(0x237)],_0x49e394),'visible':!0x0}));});}};Lr=J([q(0x1,_0x3c9b31(_0xbfe5fc)),q(0x2,_0x3c9b31(_0x3c1d99)),q(0x3,_0x3c9b31(_0x239302)),q(0x4,_0x3aa11b),q(0x5,_0x3c9b31(_0x3027f8)),q(0x6,_0x3c9b31(_0x33f8b9)),q(0x7,_0x3c9b31(Tr)),q(0x8,_0x3c9b31(_0x387fe1))],Lr);const Rr=_0x92f39f(0x323);let zr=class extends _0xb1406a{constructor(_0x1959fc,_0x5e1506){const _0x526bb9=_0x92f39f;super(),this[_0x526bb9(0x282)]=_0x1959fc,this[_0x526bb9(0x246)]=_0x5e1506,this[_0x526bb9(0x270)]();}[_0x92f39f(0x270)](){const _0x3a1ba0=_0x92f39f;this[_0x3a1ba0(0x307)](this[_0x3a1ba0(0x246)][_0x3a1ba0(0x313)](this['_createQuoteShortcut']()));}['_createQuoteShortcut'](){const _0x3522ef=_0x92f39f;return{'id':_0x1a23d2,'binding':_0x8c7182[_0x3522ef(0x153)]|_0x52f4d8[_0x3522ef(0x319)],'priority':0x3e8,'preconditions':_0x251dc3=>_0x251dc3['getContextValue']('FOCUSING_MIND_MAP_TEXT_EDITOR')&&this[_0x3522ef(0x282)][_0x3522ef(0x311)](_0x1a23d2)};}};zr=J([q(0x0,_0x3aa11b),q(0x1,_0x589ecb)],zr);const Br=[Mn,Nn,Rr];let Vr=class extends _0xb1406a{constructor(_0x3fd19d,_0x36736f,_0x4050cb,_0x387918,_0x3dc70e){const _0x54a959=_0x92f39f;super(),this['_renderContext']=_0x3fd19d,this['_boardElementService']=_0x36736f,this[_0x54a959(0x15c)]=_0x4050cb,this[_0x54a959(0x18c)]=_0x387918,this[_0x54a959(0x24b)]=_0x3dc70e,K(this,_0x54a959(0x40a),!0x1),this[_0x54a959(0x307)](_0x594a26(this[_0x54a959(0x45a)][_0x54a959(0x289)]['pipe'](_0x3568ee(this['dispose$']))[_0x54a959(0x457)](_0x133f2a=>{const _0x55fcb9=_0x54a959;this[_0x55fcb9(0x40a)]=_0x133f2a,this['_syncContext']();}))),this[_0x54a959(0x307)](_0x594a26(this[_0x54a959(0x15c)][_0x54a959(0x421)][_0x54a959(0x312)](_0x3568ee(this['dispose$']))[_0x54a959(0x457)](()=>{const _0x5003fc=_0x54a959;this[_0x5003fc(0x185)]();}))),this['disposeWithMe'](_0x594a26(this['_textEditingService'][_0x54a959(0x304)][_0x54a959(0x312)](_0x3568ee(this['dispose$']))[_0x54a959(0x457)](()=>{this['_syncContext']();}))),this['_syncContext']();}[_0x92f39f(0x185)](){const _0x3878ac=_0x92f39f;var _0x1507a4,_0x4cd02a;let _0x10140f=this[_0x3878ac(0x15c)]['getSnapshot'](),_0x5af756=this[_0x3878ac(0x18c)][_0x3878ac(0x3ee)](),_0x2de0fe=_0x5af756!=null&&_0x5af756[_0x3878ac(0x1d7)]?_0x5af756['shapeId']:_0x10140f[_0x3878ac(0x17f)],_0x200ef3=_0x10140f[_0x3878ac(0x25b)]??_0x10140f[_0x3878ac(0x351)][0x0],_0x221ab3=_0x10140f[_0x3878ac(0x32a)]??{'unitId':this[_0x3878ac(0x45a)]['unitId'],'subUnitId':this[_0x3878ac(0x45a)][_0x3878ac(0x3b2)]['getActivePageId']()},_0x5cdf8c=this[_0x3878ac(0x40a)]&&!!_0x200ef3&&_0x10140f[_0x3878ac(0x351)][_0x3878ac(0x33b)]===0x1&&!_0x2de0fe&&!_0x10140f[_0x3878ac(0x37e)],_0x4c22b9=this[_0x3878ac(0x40a)]?this[_0x3878ac(0x21c)][_0x3878ac(0x2bd)](_0x221ab3[_0x3878ac(0x237)],_0x221ab3[_0x3878ac(0x1fa)]):{};this[_0x3878ac(0x24b)][_0x3878ac(0x38a)](Mn,_0x5cdf8c&&!!_0x5213e3((_0x1507a4=_0x4c22b9[_0x200ef3])==null?void 0x0:_0x1507a4[_0x3878ac(0x465)])),this[_0x3878ac(0x24b)][_0x3878ac(0x38a)](Nn,this[_0x3878ac(0x40a)]&&_0x10140f[_0x3878ac(0x351)][_0x3878ac(0x33b)]===0x0&&!_0x10140f['focusedId']&&!_0x2de0fe&&!_0x10140f[_0x3878ac(0x37e)]),this['_contextService'][_0x3878ac(0x38a)](Rr,!!_0x2de0fe&&!!_0x5213e3((_0x4cd02a=_0x4c22b9[_0x2de0fe])==null?void 0x0:_0x4cd02a[_0x3878ac(0x465)]));}[_0x92f39f(0x340)](){const _0x48bc15=_0x92f39f;this[_0x48bc15(0x301)](),super[_0x48bc15(0x340)]();}[_0x92f39f(0x301)](){const _0x45bbc5=_0x92f39f;Br[_0x45bbc5(0x2cc)](_0x2f8861=>this['_contextService'][_0x45bbc5(0x38a)](_0x2f8861,!0x1));}};Vr=J([q(0x1,_0x3c9b31(_0xbfe5fc)),q(0x2,_0x3c9b31(_0x3c1d99)),q(0x3,_0x3c9b31(_0x3027f8)),q(0x4,_0x3079cd)],Vr);var Hr=class extends wr{async[_0x92f39f(0x219)](_0x8f42a1,_0x5e6abe,_0x1e67d2){const _0x3707fb=_0x92f39f;await this[_0x3707fb(0x394)](_0x8f42a1,_0x5e6abe,_0x1e67d2);}};const Ur={'id':_0x92f39f(0x2c0),'type':_0x14b54b[_0x92f39f(0x31b)],'handler':(_0x4b4e02,_0x47909e)=>!!(_0x47909e!=null&&_0x47909e['unitId'])&&!!_0x47909e['subUnitId']&&!!_0x47909e['scopeId']},Wr=_0x92f39f(0x330),Gr=[_0x92f39f(0x214),_0x92f39f(0x424),_0x92f39f(0x403)];_0x29a5bb[_0x92f39f(0x1e9)],_0x29a5bb[_0x92f39f(0x1d5)],_0x29a5bb[_0x92f39f(0x35a)];const Kr=[{'labelKey':'boards-mind-ui.panel.spacing.parentGap','key':'horizontalGap',..._0x1ad2a7[_0x92f39f(0x1e9)]},{'labelKey':_0x92f39f(0x1e3),'key':_0x92f39f(0x1d5),..._0x1ad2a7['siblingGap']},{'labelKey':'boards-mind-ui.panel.spacing.branchGap','key':'branchGap',..._0x1ad2a7['branchGap']}],qr=[{'labelKey':'boards-mind-ui.panel.layout.right','value':_0x92f39f(0x2c4)},{'labelKey':_0x92f39f(0x2ef),'value':'left'},{'labelKey':_0x92f39f(0x2f1),'value':_0x92f39f(0x209)}],Jr=[{'labelKey':_0x92f39f(0x2e0),'value':_0x92f39f(0x252)},{'labelKey':_0x92f39f(0x3c6),'value':_0x92f39f(0x395)},{'labelKey':_0x92f39f(0x462),'value':_0x92f39f(0x1cb)},{'labelKey':'boards-mind-ui.panel.structureKind.treeLeft','value':_0x92f39f(0x428)},{'labelKey':_0x92f39f(0x35c),'value':'tree-alternate'},{'labelKey':_0x92f39f(0x1ba),'value':_0x92f39f(0x316)},{'labelKey':_0x92f39f(0x216),'value':_0x92f39f(0x284)}],Yr=[{'labelKey':_0x92f39f(0x2c3),'value':_0x92f39f(0x265)},{'labelKey':'boards-mind-ui.panel.branchLineType.roundedOrthogonal','value':'rounded-orthogonal'},{'labelKey':_0x92f39f(0x15f),'value':'orthogonal'}];function Xr(_0x4c44bb){const _0x2a5753=_0x92f39f;let _0x2e103d=(_0x4c44bb==null?void 0x0:_0x4c44bb['structureKind'])??_0x29a5bb['structureKind'];return{'spacing':{'horizontalGap':(_0x4c44bb==null?void 0x0:_0x4c44bb[_0x2a5753(0x1e9)])??_0x29a5bb[_0x2a5753(0x1e9)],'siblingGap':(_0x4c44bb==null?void 0x0:_0x4c44bb[_0x2a5753(0x1d5)])??_0x29a5bb['siblingGap'],'branchGap':(_0x4c44bb==null?void 0x0:_0x4c44bb[_0x2a5753(0x35a)])??_0x29a5bb[_0x2a5753(0x35a)]},'direction':(_0x4c44bb==null?void 0x0:_0x4c44bb[_0x2a5753(0x3cf)])??_0x29a5bb['direction'],'structureKind':_0x2e103d,'branchLineType':_0x47dc91(_0x2e103d,_0x4c44bb==null?void 0x0:_0x4c44bb[_0x2a5753(0x434)])};}async function Zr(_0x2bb6ad,_0x4c5737){const _0x39723a=_0x92f39f;return await Promise[_0x39723a(0x2a7)](_0x2bb6ad[_0x39723a(0x1b1)](_0x61c9cd['id'],_0x4c5737))?(await Promise['resolve'](_0x2bb6ad['executeCommand'](_0x1a1b4d['id'],{'unitId':_0x4c5737[_0x39723a(0x237)],'subUnitId':_0x4c5737[_0x39723a(0x1fa)],'scopeId':_0x4c5737[_0x39723a(0x3d0)]})),!0x0):!0x1;}async function Qr(_0x221730,_0x57e632){const _0x5a0bc9=_0x92f39f;return await Promise[_0x5a0bc9(0x2a7)](_0x221730[_0x5a0bc9(0x1b1)](_0x140e61['id'],_0x57e632))?(await Promise[_0x5a0bc9(0x2a7)](_0x221730[_0x5a0bc9(0x1b1)](_0x1a1b4d['id'],{'unitId':_0x57e632[_0x5a0bc9(0x237)],'subUnitId':_0x57e632[_0x5a0bc9(0x1fa)],'scopeId':_0x57e632['scopeId']})),!0x0):!0x1;}async function $r(_0x35a848,_0x3fb6bf){const _0x299456=_0x92f39f;return await Promise[_0x299456(0x2a7)](_0x35a848['executeCommand'](_0x61c9cd['id'],{'unitId':_0x3fb6bf['unitId'],'subUnitId':_0x3fb6bf['subUnitId'],'scopeId':_0x3fb6bf[_0x299456(0x3d0)],..._0x3fb6bf[_0x299456(0x1e9)]===void 0x0?{}:{'horizontalGap':_0x3fb6bf[_0x299456(0x1e9)]},..._0x3fb6bf['siblingGap']===void 0x0?{}:{'siblingGap':_0x3fb6bf[_0x299456(0x1d5)]},..._0x3fb6bf[_0x299456(0x35a)]===void 0x0?{}:{'branchGap':_0x3fb6bf[_0x299456(0x35a)]}}))?(await Promise[_0x299456(0x2a7)](_0x35a848['executeCommand'](_0x1a1b4d['id'],{'unitId':_0x3fb6bf[_0x299456(0x237)],'subUnitId':_0x3fb6bf[_0x299456(0x1fa)],'scopeId':_0x3fb6bf['scopeId']})),!0x0):!0x1;}async function ei(_0x2e8c0e,_0x149e45){const _0x597c38=_0x92f39f;return _0x149e45['nodeId']===_0x149e45[_0x597c38(0x202)]||!await Promise[_0x597c38(0x2a7)](_0x2e8c0e[_0x597c38(0x1b1)](_0x402e5b['id'],{'unitId':_0x149e45[_0x597c38(0x237)],'subUnitId':_0x149e45['subUnitId'],'nodeId':_0x149e45['nodeId'],'targetNodeId':_0x149e45[_0x597c38(0x202)],'referenceNodeId':_0x149e45[_0x597c38(0x202)],'placement':_0x149e45[_0x597c38(0x27d)]}))?!0x1:(await Promise[_0x597c38(0x2a7)](_0x2e8c0e[_0x597c38(0x1b1)](_0x1a1b4d['id'],{'unitId':_0x149e45[_0x597c38(0x237)],'subUnitId':_0x149e45[_0x597c38(0x1fa)],'scopeId':_0x149e45['scopeId']})),!0x0);}async function ti(_0x470841,_0x17e741){const _0x115a5d=_0x92f39f;let _0x570047=_0x17e741[_0x115a5d(0x423)][_0x115a5d(0x385)]();return!_0x570047||!await Promise['resolve'](_0x470841[_0x115a5d(0x1b1)](_0x5049e3['id'],{'unitId':_0x17e741[_0x115a5d(0x237)],'subUnitId':_0x17e741['subUnitId'],'nodeId':_0x17e741[_0x115a5d(0x405)],'text':_0x570047}))?!0x1:(await Promise[_0x115a5d(0x2a7)](_0x470841[_0x115a5d(0x1b1)](_0x1a1b4d['id'],{'unitId':_0x17e741[_0x115a5d(0x237)],'subUnitId':_0x17e741[_0x115a5d(0x1fa)],'scopeId':_0x17e741[_0x115a5d(0x3d0)]})),!0x0);}async function ni(_0x2ba584){const _0xac24a6=_0x92f39f;var _0x5644f5;let _0x81745c=(_0x5644f5=globalThis[_0xac24a6(0x45f)])==null?void 0x0:_0x5644f5['clipboard'];return _0x81745c!=null&&_0x81745c[_0xac24a6(0x2b4)]?(await _0x81745c[_0xac24a6(0x2b4)](_0x2ba584),!0x0):!0x1;}async function ri(_0x53a298,_0x488496,_0x772e5a=ni){const _0x22cc7a=_0x92f39f;let _0x5c079d=await Promise[_0x22cc7a(0x2a7)](_0x53a298['executeCommand'](_0x384d85['id'],_0x488496));if(typeof _0x5c079d!='string'||!_0x5c079d)return!0x1;try{return await _0x772e5a(_0x5c079d)!==!0x1;}catch{return!0x1;}}async function ii(_0x5b4b98,_0x51ab1e){const _0x3f2069=_0x92f39f;return _0x51ab1e['opml'][_0x3f2069(0x385)]()?(await _0x5b4b98[_0x3f2069(0x1b1)](_0x24edca['id'],_0x51ab1e))[_0x3f2069(0x15d)]:!0x1;}function ai(_0x19f3f4,_0x4f3d66){const _0x3702b1=_0x92f39f;let _0x192a6f=_0x3702b1(0x2ed)in _0x19f3f4['element']?_0x19f3f4['element']['shapeData'][_0x3702b1(0x29e)]:void 0x0;return(_0x192a6f==null?void 0x0:_0x192a6f[_0x3702b1(0x423)])||_0x4f3d66;}function oi(_0x698252,_0x35cd33,_0x5397d4=_0x13c229){const _0x3e3ae4=_0x92f39f;let _0x5397bd=Object[_0x3e3ae4(0x1f3)](_0x698252)['map'](_0x5add94=>{const _0x458a17=_0x3e3ae4;let _0x5eb662=_0x5213e3(_0x5add94[_0x458a17(0x465)]);return(_0x5eb662==null?void 0x0:_0x5eb662[_0x458a17(0x3b4)])===_0x35cd33?{'data':_0x5add94,'meta':_0x5eb662}:null;})[_0x3e3ae4(0x277)](_0x4d7ab5=>!!_0x4d7ab5),_0x5977bc=new Map();_0x5397bd[_0x3e3ae4(0x2cc)](_0x5498de=>{const _0x438c6f=_0x3e3ae4;let _0x3309d6=_0x5498de[_0x438c6f(0x1a4)][_0x438c6f(0x19e)];_0x5977bc[_0x438c6f(0x2db)](_0x3309d6,[..._0x5977bc[_0x438c6f(0x2ba)](_0x3309d6)??[],_0x5498de]);}),_0x5977bc[_0x3e3ae4(0x2cc)](_0x1a19da=>{const _0x2c18b3=_0x3e3ae4;_0x1a19da[_0x2c18b3(0x1c7)]((_0x54448e,_0xaad0ed)=>_0x2aa617(_0x54448e[_0x2c18b3(0x1a4)]['orderKey'],_0xaad0ed[_0x2c18b3(0x1a4)][_0x2c18b3(0x3ea)])||_0x54448e[_0x2c18b3(0x1df)][_0x2c18b3(0x2d3)][_0x2c18b3(0x46d)](_0xaad0ed[_0x2c18b3(0x1df)][_0x2c18b3(0x2d3)]));});let _0x339ec2=[],_0xbdb199=(_0x2cb275,_0x4ca51b)=>{const _0xd822a7=_0x3e3ae4;(_0x5977bc['get'](_0x2cb275)??[])[_0xd822a7(0x2cc)](_0x57cedd=>{const _0x580657=_0xd822a7;_0x339ec2[_0x580657(0x1ee)]({'nodeId':_0x57cedd[_0x580657(0x1df)]['elementId'],'depth':_0x4ca51b,'text':ai(_0x57cedd['data'],_0x5397d4)}),_0xbdb199(_0x57cedd[_0x580657(0x1df)]['elementId'],_0x4ca51b+0x1);});};return _0xbdb199(null,0x0),_0x339ec2;}function si(_0x249ce7,_0x286267){const _0x18b786=_0x92f39f;let _0x57ee3c=_0x286267[_0x18b786(0x385)]()[_0x18b786(0x1ca)]();return _0x57ee3c?_0x249ce7['filter'](_0x3def39=>_0x3def39[_0x18b786(0x423)][_0x18b786(0x1ca)]()[_0x18b786(0x3d8)](_0x57ee3c)):_0x249ce7;}function ci(_0x383ac4){const _0x2e897c=_0x92f39f;return{'paddingInlineStart':0x8+(Number[_0x2e897c(0x263)](_0x383ac4)&&_0x383ac4>0x0?_0x383ac4:0x0)*0x10};}function li(_0x369d35){const _0x23f998=_0x92f39f;return _0x36e588(_0x380ab0,{'className':_0x23f998(0x288),..._0x369d35});}function ui(_0x486783){const _0x3da7f4=_0x92f39f;return _0x99613(_0x3da7f4(0x20a),{'className':_0x2ccaad(_0x3da7f4(0x152),_0x4f81af),'data-board-mind-map-panel-section':_0x3da7f4(0x2c5),'children':[_0x36e588('h3',{'className':_0x3da7f4(0x16c),'children':_0x486783['title']}),_0x486783['children']]});}function di(_0x590503,_0x30b84c=_0x92f39f(0x214)){const _0x243315=_0x92f39f;var _0x5c1466,_0xc670c0,_0x5091cd;let _0x3f8b22=_0x17282b(_0x3aa11b),_0x46aa1f=_0x17282b(_0x3c1d99),_0x162f35=_0x17282b(_0xbfe5fc),_0xca60a4=_0x17282b(_0x33f8b9),[,_0x3df692]=_0x3d9926(_0x708baa=>_0x708baa+0x1,0x0);_0x969006(()=>{const _0x68d709=_0x25f1;let _0x1bc39b=_0x431517(_0x162f35['elementAdd$'],_0x162f35[_0x68d709(0x2a2)],_0x162f35[_0x68d709(0x372)])[_0x68d709(0x457)](_0x126492=>{const _0x1548a5=_0x68d709;_0x126492['some'](_0x12080a=>_0x12080a['unitId']===_0x590503[_0x1548a5(0x237)]&&_0x12080a['subUnitId']===_0x590503[_0x1548a5(0x1fa)])&&_0x3df692();});return()=>_0x1bc39b[_0x68d709(0x365)]();},[_0x162f35,_0x590503['unitId'],_0x590503[_0x243315(0x1fa)]]);let _0x1b4254=_0x162f35['getElementData'](_0x590503[_0x243315(0x237)],_0x590503['subUnitId']),_0x3af042=oi(_0x1b4254,_0x590503[_0x243315(0x3d0)],_0xca60a4['t'](_0x243315(0x39e))),_0x324ea0=(_0x5c1466=_0x25a48f((_0xc670c0=_0x1b4254[_0x590503['scopeId']])==null?void 0x0:_0xc670c0[_0x243315(0x465)]))==null?void 0x0:_0x5c1466[_0x243315(0x424)],[_0x4ef648,_0x87b6e7]=_0x406b1d(''),[_0x69a959,_0x227c45]=_0x406b1d(null),[_0xa1fc9d,_0x41be4e]=_0x406b1d(''),{spacing:_0x5762dc,direction:_0x48c8df,structureKind:_0x222ec3,branchLineType:_0x375007}=Xr(_0x324ea0),[_0x3c3ae9,_0x3e5f90]=_0x406b1d(null),[_0x3ed546,_0x4ab83b]=_0x406b1d(_0x30b84c),_0x4f8870=si(_0x3af042,_0x4ef648),_0x50f9ba={'unitId':_0x590503[_0x243315(0x237)],'subUnitId':_0x590503[_0x243315(0x1fa)],'scopeId':_0x590503[_0x243315(0x3d0)]};return{'commandService':_0x3f8b22,'elementStateService':_0x46aa1f,'localeService':_0xca60a4,'query':_0x4ef648,'setQuery':_0x87b6e7,'editingOutlineNode':_0x69a959,'setEditingOutlineNode':_0x227c45,'opmlText':_0xa1fc9d,'setOpmlText':_0x41be4e,'spacing':_0x5762dc,'layoutDirection':_0x48c8df,'structureKind':_0x222ec3,'branchLineType':_0x375007,'setDraggedOutlineNodeId':_0x3e5f90,'activeTab':_0x3ed546,'setActiveTab':_0x4ab83b,'visibleOutlineItems':_0x4f8870,'baseParams':_0x50f9ba,'tabItems':Gr[_0x243315(0x427)](_0x1ab1b6=>({'label':_0xca60a4['t'](_0x243315(0x15b)+_0x1ab1b6),'value':_0x1ab1b6})),'selectedNode':_0x590503[_0x243315(0x405)]?(_0x5091cd=_0x1b4254[_0x590503['nodeId']])==null?void 0x0:_0x5091cd[_0x243315(0x465)]:void 0x0,'branchLineItems':Yr['filter'](_0x135dce=>_0x135dce['value']!==_0x243315(0x265)||_0x3ffd8d(_0x222ec3)),'changeLayout':_0x5b2a34=>Zr(_0x3f8b22,{..._0x50f9ba,'direction':_0x5b2a34}),'changeStructureKind':_0xeaaa01=>{let _0x28ca2f=_0x47dc91(_0xeaaa01,_0x375007);return Zr(_0x3f8b22,{..._0x50f9ba,'structureKind':_0xeaaa01,..._0x28ca2f===_0x375007?null:{'branchLineType':_0x28ca2f}});},'changeBranchLineType':_0x5aa8f9=>{let _0x1783c9=_0x47dc91(_0x222ec3,_0x5aa8f9);return Qr(_0x3f8b22,{..._0x50f9ba,'branchLineType':_0x1783c9});},'changeSpacing':(_0xf7c51f,_0x3c0bed)=>{let _0x42be87={..._0x5762dc,[_0xf7c51f]:_0x3c0bed};return $r(_0x3f8b22,{..._0x50f9ba,..._0x42be87});},'importOpml':()=>{const _0x35dccf=_0x243315;ii(_0x3f8b22,{'unitId':_0x590503[_0x35dccf(0x237)],'subUnitId':_0x590503[_0x35dccf(0x1fa)],'left':0x78,'top':0x78,'opml':_0xa1fc9d})['then'](_0x23772b=>{_0x23772b&&_0x41be4e('');});},'exportOpml':()=>ri(_0x3f8b22,_0x50f9ba),'startRenameNode':(_0x50aa72,_0x24057e)=>{_0x227c45({'nodeId':_0x50aa72,'text':_0x24057e});},'commitRenameNode':()=>{const _0x2ff7cc=_0x243315;_0x69a959&&ti(_0x3f8b22,{..._0x50f9ba,'nodeId':_0x69a959[_0x2ff7cc(0x405)],'text':_0x69a959[_0x2ff7cc(0x423)]})['then'](_0x311b23=>{_0x311b23&&_0x227c45(null);});},'reorderNode':(_0x57308f,_0x4975ec)=>{const _0x1bb38e=_0x243315;if(_0x57308f[_0x1bb38e(0x170)](),!_0x3c3ae9||_0x3c3ae9===_0x4975ec)return;let _0x1a6e0d=_0x57308f[_0x1bb38e(0x3b1)]['getBoundingClientRect'](),_0x1cf51c=_0x57308f[_0x1bb38e(0x380)]<_0x1a6e0d[_0x1bb38e(0x1d8)]+_0x1a6e0d[_0x1bb38e(0x1fe)]/0x2?'before':_0x1bb38e(0x1f8);_0x3e5f90(null),ei(_0x3f8b22,{..._0x50f9ba,'nodeId':_0x3c3ae9,'targetNodeId':_0x4975ec,'placement':_0x1cf51c});}};}function fi(_0x490db3){const _0x286664=_0x92f39f;let {elementStateService:_0x4ad0d8,localeService:_0x1bcfce,query:_0x5468f1,setQuery:_0x15da0e,editingOutlineNode:_0x26dc11,setEditingOutlineNode:_0x22c448,opmlText:_0x48be6e,setOpmlText:_0x3e1305,spacing:_0x585bce,layoutDirection:_0x55a158,structureKind:_0x5670a7,branchLineType:_0x4f0eba,setDraggedOutlineNodeId:_0x4a0592,activeTab:_0x55d693,setActiveTab:_0x5a0395,visibleOutlineItems:_0x50b8e0,tabItems:_0x3f508d,branchLineItems:_0x32631b,changeLayout:_0x33c036,changeStructureKind:_0x513a0a,changeBranchLineType:_0x4cc42a,changeSpacing:_0x278442,importOpml:_0x31b0a0,exportOpml:_0xab3af3,startRenameNode:_0x12d59f,commitRenameNode:_0x12c5ee,reorderNode:_0x29d693}=di(_0x490db3);return _0x99613(_0x286664(0x3e8),{'className':_0x286664(0x442),'data-board-mind-map-panel':_0x286664(0x2c5),'children':[_0x36e588(_0x286664(0x3e8),{'className':_0x2ccaad(_0x286664(0x2da),_0x4f81af),'data-board-mind-map-panel-tabs':_0x286664(0x2c5),'children':_0x36e588(li,{'items':_0x3f508d,'value':_0x55d693,'onChange':_0x10c4ea=>_0x5a0395(_0x10c4ea)})}),_0x55d693==='structure'&&_0x36e588(ui,{'title':_0x1bcfce['t'](_0x286664(0x468)),'children':_0x99613(_0x286664(0x3e8),{'children':[_0x36e588(_0x2f2244,{'slot':_0x36e588(_0xea34ce,{}),'value':_0x5468f1,'placeholder':_0x1bcfce['t'](_0x286664(0x382)),'className':_0x2ccaad('univer-mb-3\x20univer-w-full',!0x1),'onChange':_0x15da0e}),_0x50b8e0[_0x286664(0x33b)]?_0x36e588('ol',{'className':_0x286664(0x3f2),'children':_0x50b8e0[_0x286664(0x427)](_0x20fdf6=>_0x36e588('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':ci(_0x20fdf6[_0x286664(0x1d9)]),'onDragStart':_0x14f483=>{const _0x501d48=_0x286664;var _0x562cf1;_0x4a0592(_0x20fdf6[_0x501d48(0x405)]),(_0x562cf1=_0x14f483[_0x501d48(0x361)])==null||_0x562cf1['setData']('text/plain',_0x20fdf6[_0x501d48(0x405)]),_0x14f483[_0x501d48(0x361)]&&(_0x14f483[_0x501d48(0x361)]['effectAllowed']='move');},'onDragOver':_0x59c6e8=>{const _0x1777e5=_0x286664;_0x59c6e8['preventDefault'](),_0x59c6e8['dataTransfer']&&(_0x59c6e8[_0x1777e5(0x361)]['dropEffect']=_0x1777e5(0x2c1));},'onDrop':_0x10faf=>_0x29d693(_0x10faf,_0x20fdf6[_0x286664(0x405)]),'onDragEnd':()=>_0x4a0592(null),'children':(_0x26dc11==null?void 0x0:_0x26dc11[_0x286664(0x405)])===_0x20fdf6[_0x286664(0x405)]?_0x99613('div',{'className':_0x2ccaad('univer-flex\x20univer-min-w-0\x20univer-flex-1\x20univer-gap-2','univer-items-center'),'children':[_0x36e588(_0x2f2244,{'autoFocus':!0x0,'size':_0x286664(0x36d),'className':void 0x0,'value':_0x26dc11[_0x286664(0x423)],'onChange':_0x4ec68e=>_0x22c448({'nodeId':_0x20fdf6[_0x286664(0x405)],'text':_0x4ec68e}),'onKeyDown':_0xeddf37=>{const _0x47422d=_0x286664;_0xeddf37[_0x47422d(0x328)]===_0x47422d(0x249)&&_0x12c5ee(),_0xeddf37[_0x47422d(0x328)]==='Escape'&&_0x22c448(null);}}),_0x36e588(_0x44fdbd,{'className':void 0x0,'size':_0x286664(0x36d),'variant':_0x286664(0x346),'disabled':!_0x26dc11['text']['trim'](),'onClick':_0x12c5ee,'children':_0x1bcfce['t']('boards-mind-ui.panel.rename')}),_0x36e588(_0x44fdbd,{'className':void 0x0,'size':_0x286664(0x36d),'variant':_0x286664(0x326),'onClick':()=>_0x22c448(null),'children':_0x1bcfce['t'](_0x286664(0x432))})]}):_0x99613(_0x1df3f8,{'children':[_0x36e588(_0x44fdbd,{'size':_0x286664(0x36d),'variant':'ghost','className':_0x2ccaad(_0x286664(0x1be),!0x1),'onClick':()=>_0x4ad0d8[_0x286664(0x2ff)]({'unitId':_0x490db3[_0x286664(0x237)],'subUnitId':_0x490db3[_0x286664(0x1fa)]},[_0x20fdf6[_0x286664(0x405)]],_0x20fdf6['nodeId']),'children':_0x20fdf6['text']}),_0x36e588(_0x44fdbd,{'className':_0x2ccaad(_0x286664(0x3e3),'univer-text-xs'),'size':_0x286664(0x36d),'variant':_0x286664(0x326),'onClick':()=>_0x12d59f(_0x20fdf6[_0x286664(0x405)],_0x20fdf6[_0x286664(0x423)]),'children':_0x1bcfce['t'](_0x286664(0x398))})]})},_0x20fdf6[_0x286664(0x405)]))}):_0x36e588('div',{'className':_0x286664(0x1d3),'data-board-mind-map-panel-empty-state':'true','children':_0x1bcfce['t'](_0x286664(0x3cb))})]})}),_0x55d693===_0x286664(0x424)&&_0x36e588(ui,{'title':_0x1bcfce['t']('boards-mind-ui.panel.tab.layout'),'children':_0x99613(_0x286664(0x3e8),{'className':_0x286664(0x43f),'children':[_0x36e588(_0x286664(0x3e8),{'className':_0x286664(0x448),'children':_0x36e588(li,{'items':Jr[_0x286664(0x427)](_0x2cc333=>({'label':_0x1bcfce['t'](_0x2cc333[_0x286664(0x3b8)]),'value':_0x2cc333['value']})),'value':_0x5670a7,'onChange':_0x365f3f=>_0x513a0a(_0x365f3f)})}),_0x36e588('div',{'className':'univer-flex\x20univer-gap-2','children':_0x36e588(li,{'items':qr[_0x286664(0x427)](_0x224416=>({'label':_0x1bcfce['t'](_0x224416[_0x286664(0x3b8)]),'value':_0x224416[_0x286664(0x24c)]})),'value':_0x55a158,'onChange':_0x41c928=>_0x33c036(_0x41c928)})}),_0x36e588(_0x286664(0x3e8),{'className':'univer-flex\x20univer-gap-2','children':_0x36e588(li,{'items':_0x32631b[_0x286664(0x427)](_0x2ce2c0=>({'label':_0x1bcfce['t'](_0x2ce2c0[_0x286664(0x3b8)]),'value':_0x2ce2c0[_0x286664(0x24c)]})),'value':_0x4f0eba,'onChange':_0x4a4910=>_0x4cc42a(_0x4a4910)})}),_0x36e588('div',{'className':_0x286664(0x29f),'children':Kr[_0x286664(0x427)](({labelKey:_0x306384,key:_0x2d1eb4,min:_0x235600,max:_0x38e30f})=>_0x99613(_0x286664(0x16e),{'className':_0x286664(0x30e),'children':[_0x36e588(_0x286664(0x34b),{'className':_0x286664(0x347),'children':_0x1bcfce['t'](_0x306384)}),_0x36e588(_0xbf943c,{'controls':!0x0,'inputClassName':void 0x0,'min':_0x235600,'max':_0x38e30f,'step':0x4,'value':_0x585bce[_0x2d1eb4],'precision':0x0,'className':_0x286664(0x1b4),'onChange':_0x574c01=>_0x278442(_0x2d1eb4,Number(_0x574c01??_0x235600))})]},_0x2d1eb4))})]})}),_0x55d693===_0x286664(0x403)&&_0x36e588(ui,{'title':_0x1bcfce['t'](_0x286664(0x466)),'children':_0x99613(_0x286664(0x3e8),{'className':'univer-flex\x20univer-flex-col\x20univer-gap-2','children':[_0x36e588(_0xd46f6,{'className':_0x2ccaad(_0x286664(0x329),_0x286664(0x41e)),'placeholder':_0x1bcfce['t']('boards-mind-ui.panel.pasteOPML'),'value':_0x48be6e,'onValueChange':_0x3e1305}),_0x99613(_0x286664(0x3e8),{'className':_0x286664(0x448),'children':[_0x36e588(_0x44fdbd,{'className':void 0x0,'size':_0x286664(0x36d),'variant':_0x286664(0x346),'disabled':!_0x48be6e[_0x286664(0x385)](),'onClick':_0x31b0a0,'children':_0x1bcfce['t'](_0x286664(0x362))}),_0x36e588(_0x44fdbd,{'className':void 0x0,'size':_0x286664(0x36d),'variant':_0x286664(0x326),'onClick':_0xab3af3,'children':_0x1bcfce['t'](_0x286664(0x3d3))})]})]})})]});}let pi=class extends _0x2756ad{constructor(_0x559781,_0x34e9e3,_0x58ae0a){const _0x1e7b4c=_0x92f39f;super(),this[_0x1e7b4c(0x282)]=_0x559781,this[_0x1e7b4c(0x2d4)]=_0x34e9e3,this['_sidebarService']=_0x58ae0a,K(this,_0x1e7b4c(0x470),null),this[_0x1e7b4c(0x307)](this[_0x1e7b4c(0x282)][_0x1e7b4c(0x27c)](Ur)),this[_0x1e7b4c(0x307)](this[_0x1e7b4c(0x282)][_0x1e7b4c(0x360)](_0x508ba7=>{const _0x2251cf=_0x1e7b4c;if(_0x508ba7['id']!==Ur['id'])return;let _0x21fbd6=_0x508ba7[_0x2251cf(0x176)];_0x21fbd6&&'unitId'in _0x21fbd6&&typeof _0x21fbd6[_0x2251cf(0x237)]==_0x2251cf(0x192)&&_0x2251cf(0x1fa)in _0x21fbd6&&typeof _0x21fbd6[_0x2251cf(0x1fa)]==_0x2251cf(0x192)&&'scopeId'in _0x21fbd6&&typeof _0x21fbd6['scopeId']==_0x2251cf(0x192)&&this[_0x2251cf(0x2cb)]({'unitId':_0x21fbd6[_0x2251cf(0x237)],'subUnitId':_0x21fbd6[_0x2251cf(0x1fa)],'scopeId':_0x21fbd6[_0x2251cf(0x3d0)],'nodeId':_0x2251cf(0x405)in _0x21fbd6&&typeof _0x21fbd6[_0x2251cf(0x405)]==_0x2251cf(0x192)?_0x21fbd6[_0x2251cf(0x405)]:void 0x0});}));}[_0x92f39f(0x340)](){const _0x214161=_0x92f39f;var _0x36e2c9;(_0x36e2c9=this[_0x214161(0x470)])==null||_0x36e2c9[_0x214161(0x340)](),this[_0x214161(0x470)]=null,super[_0x214161(0x340)]();}['open'](_0x33f62f){const _0x587e5a=_0x92f39f;var _0x279af7;let _0x3526f7={'label':Wr,..._0x33f62f},_0x31a69b={'id':Wr,'layout':'canvas','header':{'title':this[_0x587e5a(0x2d4)]['t']('boards-mind-ui.panel.title')},'width':0x184,'children':_0x3526f7,'onClose':()=>{const _0x346c40=_0x587e5a;this[_0x346c40(0x470)]=null;}};(_0x279af7=this[_0x587e5a(0x470)])==null||_0x279af7[_0x587e5a(0x340)](),this['_sidebarDisposable']=this[_0x587e5a(0x341)][_0x587e5a(0x2cb)](_0x31a69b);}};pi=J([q(0x0,_0x3aa11b),q(0x1,_0x3c9b31(_0x33f8b9)),q(0x2,_0x3c9b31(_0x5b3794))],pi);function mi(_0xaeeb89){const _0x146190=_0x92f39f;let _0x32a3ac=_0x17282b(_0x3aa11b),_0x4a2090=_0xaeeb89['popup'][_0x146190(0x241)];return _0x4a2090?_0x36e588(_0x1aa474,{'shapeRef':{'hostType':_0x597c76[_0x146190(0x1e4)],'unitId':_0x4a2090[_0x146190(0x237)],'subUnitId':_0x4a2090[_0x146190(0x1fa)],'shapeId':_0x4a2090['elementId']},'onText':()=>qn(_0x32a3ac,_0x146190(0x190)),'onStyle':()=>_0x32a3ac['executeCommand'](Ur['id'],{'unitId':_0x4a2090[_0x146190(0x237)],'subUnitId':_0x4a2090['subUnitId'],'scopeId':_0x4a2090[_0x146190(0x3d0)],'nodeId':_0x4a2090[_0x146190(0x2d3)]}),'onDelete':()=>qn(_0x32a3ac,_0x146190(0x440))}):null;}function hi(_0x5f4eaf){const _0x23530f=_0x92f39f;var _0x2e6773,_0x1af149,_0x34e37f,_0x255fd4,_0x3ae2f3;let _0x1c12b7=_0x17282b(_0x3aa11b),_0x3a535c=_0x17282b(_0x33f8b9),_0xac92bc=_0x17282b(_0x1ea3ab),_0x75aee6=_0x457155(_0xac92bc[_0x23530f(0x254)],_0xac92bc[_0x23530f(0x2d2)]()),[_0x366957,_0x5ba4b4]=_0x406b1d(null),_0xa9fb8f=_0x4dfc8f(_0x5f4eaf[_0x23530f(0x2ed)]),_0x5214cf=_0xa9fb8f['ff']??_0x350ce4[_0x23530f(0x29e)][_0x23530f(0x443)],_0x4c5115=_0xa9fb8f['fs']??_0x350ce4['shapeText']['fontSize'];function _0x8e7a9(_0x46c0b5){const _0x3b1917=_0x23530f;return _0x1c12b7[_0x3b1917(0x1b1)](_0x5049e3['id'],{'unitId':_0x5f4eaf[_0x3b1917(0x237)],'subUnitId':_0x5f4eaf['subUnitId'],'nodeId':_0x5f4eaf[_0x3b1917(0x405)],..._0x46c0b5});}let _0x2a8ede=[{'key':_0x23530f(0x213),'value':((_0x2e6773=_0x5f4eaf['shapeData'][_0x23530f(0x213)])==null?void 0x0:_0x2e6773[_0x23530f(0x1f2)])??_0x350ce4[_0x23530f(0x213)]},{'key':_0x23530f(0x1e7),'value':((_0x1af149=_0x5f4eaf[_0x23530f(0x2ed)][_0x23530f(0x1e7)])==null?void 0x0:_0x1af149[_0x23530f(0x1f2)])??_0x350ce4[_0x23530f(0x1e7)]},{'key':'fontColor','value':((_0x34e37f=_0xa9fb8f['cl'])==null?void 0x0:_0x34e37f['rgb'])??_0x350ce4[_0x23530f(0x29e)]['color']}];if(_0x366957){var _0x2e90bd;return _0x99613(_0x23530f(0x3e8),{'className':_0x23530f(0x236),'children':[_0x36e588(_0x44fdbd,{'className':_0x23530f(0x175),'onClick':()=>_0x5ba4b4(null),'children':_0x3a535c['t']('boards-mind-ui.panel.cancel')}),_0x366957===_0x23530f(0x443)?_0x75aee6==null?void 0x0:_0x75aee6[_0x23530f(0x427)](_0x190439=>_0x36e588(_0x44fdbd,{'className':_0x23530f(0x175),'aria-pressed':_0x5214cf===_0x190439[_0x23530f(0x24c)],'variant':_0x5214cf===_0x190439[_0x23530f(0x24c)]?_0x23530f(0x346):_0x23530f(0x326),'onClick':async()=>{const _0x2d7564=_0x23530f;await _0x8e7a9({'textStyle':{'fontFamily':_0x190439[_0x2d7564(0x24c)]}}),_0x5ba4b4(null);},'children':_0x190439[_0x23530f(0x16e)]},_0x190439[_0x23530f(0x24c)])):_0x36e588(_0x3058ff,{'value':(_0x2e90bd=_0x2a8ede[_0x23530f(0x2bf)](({key:_0x463b62})=>_0x463b62===_0x366957))==null?void 0x0:_0x2e90bd[_0x23530f(0x24c)],'onSelect':async _0x32e7b2=>{const _0x21ff4d=_0x23530f;_0x366957===_0x21ff4d(0x213)?await _0x8e7a9({'fillColor':_0x32e7b2}):_0x366957===_0x21ff4d(0x1e7)?await _0x8e7a9({'strokeColor':_0x32e7b2}):await _0x8e7a9({'textStyle':{'color':_0x32e7b2}}),_0x5ba4b4(null);}})]});}let _0x484610=[{'key':_0x23530f(0x42b),'active':_0xa9fb8f['bl']===_0x47d42f[_0x23530f(0x34c)],'icon':_0x36e588(_0x2a133d,{})},{'key':_0x23530f(0x238),'active':_0xa9fb8f['it']===_0x47d42f[_0x23530f(0x34c)],'icon':_0x36e588(_0x23fa02,{})},{'key':_0x23530f(0x29d),'active':((_0x255fd4=_0xa9fb8f['ul'])==null?void 0x0:_0x255fd4['s'])===_0x47d42f[_0x23530f(0x34c)],'icon':_0x36e588(_0x203b5d,{})},{'key':_0x23530f(0x1e1),'active':((_0x3ae2f3=_0xa9fb8f['st'])==null?void 0x0:_0x3ae2f3['s'])===_0x47d42f['TRUE'],'icon':_0x36e588(_0x211b34,{})}];return _0x99613(_0x23530f(0x3e8),{'className':_0x23530f(0x236),'children':[_0x36e588(_0x23530f(0x3e8),{'className':_0x23530f(0x1b8),'children':_0x484610[_0x23530f(0x427)](({key:_0x1f014c,active:_0x189009,icon:_0x18c324})=>_0x36e588(_0x44fdbd,{'className':_0x23530f(0x18b),'aria-label':_0x3a535c['t'](_0x23530f(0x230)+_0x1f014c),'aria-pressed':_0x189009,'variant':_0x189009?_0x23530f(0x346):_0x23530f(0x326),'onClick':()=>_0x8e7a9({'textStyle':{[_0x1f014c]:!_0x189009}}),'children':_0x18c324},_0x1f014c))}),_0x99613(_0x44fdbd,{'className':_0x23530f(0x2b0),'onClick':()=>_0x5ba4b4('fontFamily'),'children':[_0x36e588(_0x23530f(0x34b),{'children':_0x3a535c['t'](_0x23530f(0x1da))}),_0x36e588(_0x23530f(0x34b),{'children':_0x5214cf})]}),_0x99613(_0x23530f(0x16e),{'className':'univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-gap-4','children':[_0x36e588(_0x23530f(0x34b),{'children':_0x3a535c['t'](_0x23530f(0x3ad))}),_0x36e588(_0xbf943c,{'className':_0x23530f(0x1f4),'inputClassName':_0x23530f(0x37d),'controls':!0x1,'min':0x1,'value':_0x4c5115,'onChange':_0x2ab582=>{if(_0x2ab582!=null)return _0x8e7a9({'textStyle':{'fontSize':_0x2ab582}});}})]}),_0x2a8ede[_0x23530f(0x427)](({key:_0x353d0d,value:_0x4a3640})=>_0x99613(_0x44fdbd,{'className':'univer-min-h-12\x20univer-w-full\x20univer-justify-between','onClick':()=>_0x5ba4b4(_0x353d0d),'children':[_0x36e588(_0x23530f(0x34b),{'children':_0x3a535c['t'](_0x23530f(0x25f)+_0x353d0d)}),_0x36e588(_0x23530f(0x34b),{'className':'univer-size-6\x20univer-rounded\x20univer-border\x20univer-border-solid\x20univer-border-gray-200','style':{'backgroundColor':_0x4a3640}})]},_0x353d0d))]});}function gi(_0x4f3028){const _0x4747ce=_0x92f39f;return _0x36e588(_0x4747ce(0x3e8),{'className':_0x2ccaad('univer-grid\x20univer-w-full\x20univer-gap-2',_0x4f3028[_0x4747ce(0x2d7)]['length']===0x4?_0x4747ce(0x23b):_0x4747ce(0x386)),'children':_0x4f3028['items'][_0x4747ce(0x427)](_0x53bb81=>_0x36e588(_0x44fdbd,{'className':_0x4747ce(0x299),'variant':_0x4f3028[_0x4747ce(0x24c)]===_0x53bb81['value']?_0x4747ce(0x346):_0x4747ce(0x326),'aria-pressed':_0x4f3028['value']===_0x53bb81['value'],'onClick':()=>_0x4f3028['onChange'](_0x53bb81[_0x4747ce(0x24c)]),'children':_0x53bb81[_0x4747ce(0x16e)]},_0x53bb81[_0x4747ce(0x24c)]))});}function _i(_0x209fce){const _0xc2e5ba=_0x92f39f;let {commandService:_0x1c6e8d,elementStateService:_0x116878,localeService:_0x44b46d,query:_0x32b32b,setQuery:_0x7dc6f8,editingOutlineNode:_0x15c19f,setEditingOutlineNode:_0x549c18,opmlText:_0x582a8f,setOpmlText:_0x3be055,spacing:_0x448d7d,layoutDirection:_0xdc682,structureKind:_0x4057e7,branchLineType:_0x52ff60,activeTab:_0x55b2c5,setActiveTab:_0x3e1ffd,visibleOutlineItems:_0x44400e,baseParams:_0x3c11b6,tabItems:_0x56054f,selectedNode:_0x35890b,branchLineItems:_0x2af99f,changeLayout:_0x73d6bb,changeStructureKind:_0x295394,changeBranchLineType:_0x44044f,changeSpacing:_0x3450da,importOpml:_0x2e8257,startRenameNode:_0x46946b,commitRenameNode:_0x536b7f}=di(_0x209fce,_0x209fce[_0xc2e5ba(0x405)]?'style':_0xc2e5ba(0x214));return(_0x35890b==null?void 0x0:_0x35890b[_0xc2e5ba(0x396)])===_0x36d773[_0xc2e5ba(0x46b)]&&_0x56054f[_0xc2e5ba(0x3b5)]({'label':_0x44b46d['t']('boards-mind-ui.panel.nodeStyle.style'),'value':_0xc2e5ba(0x44c)}),_0x99613(_0xc2e5ba(0x3e8),{'className':_0xc2e5ba(0x442),'data-board-mind-map-panel':_0xc2e5ba(0x2c5),'children':[_0x36e588(_0xc2e5ba(0x3e8),{'className':_0x2ccaad(_0xc2e5ba(0x2da),_0x4f81af),'data-board-mind-map-panel-tabs':_0xc2e5ba(0x2c5),'children':_0x36e588(gi,{'items':_0x56054f,'value':_0x55b2c5,'onChange':_0x30e647=>_0x3e1ffd(_0x30e647)})}),_0x55b2c5===_0xc2e5ba(0x44c)&&(_0x35890b==null?void 0x0:_0x35890b[_0xc2e5ba(0x396)])===_0x36d773[_0xc2e5ba(0x46b)]&&_0x36e588(hi,{'unitId':_0x209fce[_0xc2e5ba(0x237)],'subUnitId':_0x209fce['subUnitId'],'nodeId':_0x35890b['id'],'shapeData':_0x35890b[_0xc2e5ba(0x2ed)]}),_0x55b2c5==='structure'&&_0x36e588(ui,{'title':_0x44b46d['t'](_0xc2e5ba(0x468)),'children':_0x99613(_0xc2e5ba(0x3e8),{'children':[_0x36e588(_0x2f2244,{'slot':_0x36e588(_0xea34ce,{}),'value':_0x32b32b,'placeholder':_0x44b46d['t']('boards-mind-ui.panel.searchNodes'),'className':_0x2ccaad(_0xc2e5ba(0x310),_0xc2e5ba(0x2a1)),'onChange':_0x7dc6f8}),_0x44400e[_0xc2e5ba(0x33b)]?_0x36e588('ol',{'className':_0xc2e5ba(0x3f2),'children':_0x44400e['map'](_0x5f04dd=>_0x36e588('li',{'className':_0xc2e5ba(0x392),'style':ci(_0x5f04dd[_0xc2e5ba(0x1d9)]),'children':(_0x15c19f==null?void 0x0:_0x15c19f[_0xc2e5ba(0x405)])===_0x5f04dd[_0xc2e5ba(0x405)]?_0x99613('div',{'className':_0x2ccaad('univer-flex\x20univer-min-w-0\x20univer-flex-1\x20univer-gap-2',_0xc2e5ba(0x3c9)),'children':[_0x36e588(_0x2f2244,{'autoFocus':!0x1,'size':'large','className':_0xc2e5ba(0x1bb),'value':_0x15c19f[_0xc2e5ba(0x423)],'onChange':_0x3b00fe=>_0x549c18({'nodeId':_0x5f04dd[_0xc2e5ba(0x405)],'text':_0x3b00fe}),'onKeyDown':_0x3a6baa=>{const _0xfbf3ba=_0xc2e5ba;_0x3a6baa[_0xfbf3ba(0x328)]===_0xfbf3ba(0x249)&&_0x536b7f(),_0x3a6baa[_0xfbf3ba(0x328)]===_0xfbf3ba(0x1ff)&&_0x549c18(null);}}),_0x36e588(_0x44fdbd,{'className':_0xc2e5ba(0x1c4),'size':_0xc2e5ba(0x36d),'variant':'primary','disabled':!_0x15c19f[_0xc2e5ba(0x423)][_0xc2e5ba(0x385)](),'onClick':_0x536b7f,'children':_0x44b46d['t']('boards-mind-ui.panel.rename')}),_0x36e588(_0x44fdbd,{'className':'univer-min-h-12\x20univer-flex-1','size':_0xc2e5ba(0x36d),'variant':_0xc2e5ba(0x326),'onClick':()=>_0x549c18(null),'children':_0x44b46d['t'](_0xc2e5ba(0x432))})]}):_0x99613(_0x1df3f8,{'children':[_0x36e588(_0x44fdbd,{'size':'small','variant':_0xc2e5ba(0x22e),'className':_0x2ccaad(_0xc2e5ba(0x1be),_0xc2e5ba(0x26c)),'onClick':()=>_0x116878[_0xc2e5ba(0x2ff)]({'unitId':_0x209fce[_0xc2e5ba(0x237)],'subUnitId':_0x209fce[_0xc2e5ba(0x1fa)]},[_0x5f04dd['nodeId']],_0x5f04dd[_0xc2e5ba(0x405)]),'children':_0x5f04dd[_0xc2e5ba(0x423)]}),_0x36e588(_0x44fdbd,{'className':_0x2ccaad(_0xc2e5ba(0x3e3),'univer-min-h-12\x20univer-px-3'),'size':'small','variant':_0xc2e5ba(0x326),'onClick':()=>_0x46946b(_0x5f04dd[_0xc2e5ba(0x405)],_0x5f04dd['text']),'children':_0x44b46d['t'](_0xc2e5ba(0x398))})]})},_0x5f04dd[_0xc2e5ba(0x405)]))}):_0x36e588('div',{'className':'univer-text-xs\x20univer-text-gray-400\x20dark:!univer-text-gray-500','data-board-mind-map-panel-empty-state':_0xc2e5ba(0x2c5),'children':_0x44b46d['t']('boards-mind-ui.panel.emptyNodes')})]})}),_0x55b2c5===_0xc2e5ba(0x424)&&_0x36e588(ui,{'title':_0x44b46d['t'](_0xc2e5ba(0x3f1)),'children':_0x99613('div',{'className':_0xc2e5ba(0x43f),'children':[_0x36e588(_0xc2e5ba(0x3e8),{'className':'univer-flex\x20univer-gap-2','children':_0x36e588(gi,{'items':Jr[_0xc2e5ba(0x427)](_0x97a5fe=>({'label':_0x44b46d['t'](_0x97a5fe[_0xc2e5ba(0x3b8)]),'value':_0x97a5fe[_0xc2e5ba(0x24c)]})),'value':_0x4057e7,'onChange':_0x277724=>_0x295394(_0x277724)})}),_0x36e588(_0xc2e5ba(0x3e8),{'className':_0xc2e5ba(0x448),'children':_0x36e588(gi,{'items':qr[_0xc2e5ba(0x427)](_0x544fc5=>({'label':_0x44b46d['t'](_0x544fc5['labelKey']),'value':_0x544fc5[_0xc2e5ba(0x24c)]})),'value':_0xdc682,'onChange':_0x44f4e1=>_0x73d6bb(_0x44f4e1)})}),_0x36e588(_0xc2e5ba(0x3e8),{'className':_0xc2e5ba(0x448),'children':_0x36e588(gi,{'items':_0x2af99f['map'](_0x27ed02=>({'label':_0x44b46d['t'](_0x27ed02[_0xc2e5ba(0x3b8)]),'value':_0x27ed02[_0xc2e5ba(0x24c)]})),'value':_0x52ff60,'onChange':_0x8d6413=>_0x44044f(_0x8d6413)})}),_0x36e588(_0xc2e5ba(0x3e8),{'className':'univer-space-y-2','children':Kr[_0xc2e5ba(0x427)](({labelKey:_0x58109f,key:_0x47a142,min:_0x3a8efb,max:_0x5519c4})=>_0x99613(_0xc2e5ba(0x16e),{'className':_0xc2e5ba(0x30e),'children':[_0x36e588('span',{'className':_0xc2e5ba(0x3ce),'children':_0x44b46d['t'](_0x58109f)}),_0x36e588(_0xbf943c,{'controls':!0x1,'inputClassName':_0xc2e5ba(0x37d),'min':_0x3a8efb,'max':_0x5519c4,'step':0x4,'value':_0x448d7d[_0x47a142],'precision':0x0,'className':_0xc2e5ba(0x33e),'onChange':_0x339c15=>_0x3450da(_0x47a142,Number(_0x339c15??_0x3a8efb))})]},_0x47a142))})]})}),_0x55b2c5===_0xc2e5ba(0x403)&&_0x36e588(ui,{'title':_0x44b46d['t']('boards-mind-ui.panel.tab.importExport'),'children':_0x99613(_0xc2e5ba(0x3e8),{'className':_0xc2e5ba(0x1b9),'children':[_0x36e588(_0xd46f6,{'className':_0x2ccaad('univer-h-28\x20univer-resize-none','univer-text-base'),'placeholder':_0x44b46d['t'](_0xc2e5ba(0x267)),'value':_0x582a8f,'onValueChange':_0x3be055}),_0x99613('div',{'className':'univer-flex\x20univer-gap-2','children':[_0x36e588(_0x44fdbd,{'className':_0xc2e5ba(0x1c4),'size':_0xc2e5ba(0x36d),'variant':_0xc2e5ba(0x346),'disabled':!_0x582a8f[_0xc2e5ba(0x385)](),'onClick':_0x2e8257,'children':_0x44b46d['t'](_0xc2e5ba(0x362))}),_0x36e588(_0x44fdbd,{'className':'univer-min-h-12\x20univer-flex-1','size':'small','variant':'default','onClick':async()=>{const _0x436ba7=_0xc2e5ba;let _0x41548c=await _0x1c6e8d[_0x436ba7(0x1b1)](_0x384d85['id'],_0x3c11b6);_0x41548c!==!0x1&&_0x3be055(_0x41548c);},'children':_0x44b46d['t']('boards-mind-ui.panel.exportOPML')})]})]})})]});}let vi=class extends _0x2756ad{constructor(_0xdb41b3){const _0x535df4=_0x92f39f;super(),this['_componentManager']=_0xdb41b3,this[_0x535df4(0x473)]();}[_0x92f39f(0x473)](){const _0x48bb03=_0x92f39f;this[_0x48bb03(0x307)](this[_0x48bb03(0x3e4)]['register'](On,An)),this[_0x48bb03(0x307)](this['_componentManager']['register'](Kn,mi)),this[_0x48bb03(0x307)](this[_0x48bb03(0x3e4)][_0x48bb03(0x27b)](Wr,_i));}};vi=J([q(0x0,_0x3c9b31(_0x5a063f))],vi);let yi=class extends _0x2756ad{constructor(_0x50df51,_0x18a915,_0x4f4301){const _0x218cca=_0x92f39f;super(),this[_0x218cca(0x282)]=_0x50df51,this['_localeService']=_0x18a915,this['_sidebarService']=_0x4f4301,K(this,_0x218cca(0x470),null),this[_0x218cca(0x307)](this[_0x218cca(0x282)][_0x218cca(0x27c)](Ur)),this[_0x218cca(0x307)](this[_0x218cca(0x282)]['onCommandExecuted'](_0x4788b4=>{const _0xd7e2b0=_0x218cca;if(_0x4788b4['id']!==Ur['id'])return;let _0x154300=_0x4788b4[_0xd7e2b0(0x176)];_0x154300&&'unitId'in _0x154300&&typeof _0x154300[_0xd7e2b0(0x237)]==_0xd7e2b0(0x192)&&'subUnitId'in _0x154300&&typeof _0x154300[_0xd7e2b0(0x1fa)]=='string'&&_0xd7e2b0(0x3d0)in _0x154300&&typeof _0x154300['scopeId']==_0xd7e2b0(0x192)&&this[_0xd7e2b0(0x2cb)]({'unitId':_0x154300[_0xd7e2b0(0x237)],'subUnitId':_0x154300['subUnitId'],'scopeId':_0x154300['scopeId'],'nodeId':_0xd7e2b0(0x405)in _0x154300&&typeof _0x154300[_0xd7e2b0(0x405)]=='string'?_0x154300[_0xd7e2b0(0x405)]:void 0x0});}));}['dispose'](){const _0x551449=_0x92f39f;var _0x32557f;(_0x32557f=this[_0x551449(0x470)])==null||_0x32557f[_0x551449(0x340)](),this[_0x551449(0x470)]=null,super[_0x551449(0x340)]();}['open'](_0xd86349){const _0x4d0830=_0x92f39f;var _0x186871;let _0xd9ff8d={'label':Wr,..._0xd86349};(_0x186871=this['_sidebarDisposable'])==null||_0x186871[_0x4d0830(0x340)](),this[_0x4d0830(0x470)]=this[_0x4d0830(0x341)][_0x4d0830(0x2cb)]({'id':Wr,'header':{'title':this[_0x4d0830(0x2d4)]['t'](_0x4d0830(0x1fd))},'width':0x184,'children':_0xd9ff8d,'onClose':()=>{const _0xc2b2ec=_0x4d0830;this[_0xc2b2ec(0x470)]=null;}});}};yi=J([q(0x0,_0x3aa11b),q(0x1,_0x3c9b31(_0x33f8b9)),q(0x2,_0x3c9b31(_0x5b3794))],yi);let bi=class extends _0x2756ad{constructor(_0x46c25f){const _0x587e4f=_0x92f39f;super(),this['_componentManager']=_0x46c25f,this[_0x587e4f(0x473)]();}[_0x92f39f(0x473)](){const _0x5b362b=_0x92f39f;this[_0x5b362b(0x307)](this[_0x5b362b(0x3e4)][_0x5b362b(0x27b)](On,An)),this[_0x5b362b(0x307)](this['_componentManager'][_0x5b362b(0x27b)](Kn,cr)),this[_0x5b362b(0x307)](this[_0x5b362b(0x3e4)][_0x5b362b(0x27b)](Wr,fi));}};bi=J([q(0x0,_0x3c9b31(_0x5a063f))],bi);let xi=class{constructor(_0x3b6109,_0x4c3e8e,_0x263488){const _0x75781e=_0x92f39f;this[_0x75781e(0x327)]=_0x3b6109,this[_0x75781e(0x306)]=_0x4c3e8e,this['_renderManagerService']=_0x263488;}[_0x92f39f(0x224)](_0x21b89e){const _0xdf0e88=_0x92f39f;var _0x492a4d,_0x4c43df;let _0x3d1261=(_0x492a4d=this['_renderManagerService'][_0xdf0e88(0x303)](_0x21b89e[_0xdf0e88(0x237)]))==null||(_0x4c43df=_0x492a4d[_0xdf0e88(0x259)])==null?void 0x0:_0x4c43df[_0xdf0e88(0x3ec)](_0x492a4d),_0x531dba=(_0x3d1261==null?void 0x0:_0x3d1261['get'](_0x239302))??this[_0xdf0e88(0x327)];return((_0x3d1261==null?void 0x0:_0x3d1261[_0xdf0e88(0x2ba)](br))??this['_insertStateService'])['setTemplate']({'rootText':_0x21b89e[_0xdf0e88(0x1d4)],'structureKind':_0x21b89e[_0xdf0e88(0x17b)],'branchLineType':_0x21b89e[_0xdf0e88(0x434)],'children':_0x21b89e['children'],'blueprint':_0x21b89e[_0xdf0e88(0x1c5)]}),_0x531dba[_0xdf0e88(0x31a)](!0x1),_0x531dba[_0xdf0e88(0x167)](),_0x531dba[_0xdf0e88(0x1c6)](_0x28dd01[_0xdf0e88(0x3ae)]),_0x531dba[_0xdf0e88(0x2f7)]({'type':_0x28dd01[_0xdf0e88(0x3ae)]}),!0x0;}};xi=J([q(0x0,_0x239302),q(0x1,_0x3c9b31(br)),q(0x2,_0x1cdd64)],xi);const Si=_0x92f39f(0x21a),Ci=[Dn],wi=[Vr];let Ti=class extends _0xe01e68{constructor(_0x365995=en,_0x47d114,_0x3823b3,_0x25d172){const _0x4b6add=_0x92f39f;super(),this[_0x4b6add(0x274)]=_0x365995,this[_0x4b6add(0x169)]=_0x47d114,this[_0x4b6add(0x26d)]=_0x3823b3,this[_0x4b6add(0x305)]=_0x25d172;let {..._0x3e4332}=_0x221ada({},en,this[_0x4b6add(0x274)]);this['_configService'][_0x4b6add(0x3c7)]($t,_0x3e4332);}[_0x92f39f(0x2aa)](){const _0x5a4073=_0x92f39f;_0x4fb43a['registerRuntimeScopedDependencies'](this[_0x5a4073(0x169)],[[br],[Tr]]),this['_getDependencies']()[_0x5a4073(0x2cc)](_0x4e66fd=>this[_0x5a4073(0x169)][_0x5a4073(0x227)](_0x4e66fd));let _0x5e975e=this[_0x5a4073(0x169)][_0x5a4073(0x2ba)](xi),_0x37f8b4=this['_injector'][_0x5a4073(0x2ba)](_0x3709c8);this[_0x5a4073(0x307)](_0x37f8b4['registerAdapter'](_0x5e975e)),this[_0x5a4073(0x307)](this['_injector'][_0x5a4073(0x2ba)](Ln)),this[_0x5a4073(0x307)](this[_0x5a4073(0x169)][_0x5a4073(0x2ba)](zr)),this['disposeWithMe'](this[_0x5a4073(0x169)][_0x5a4073(0x2ba)](yi)),this['disposeWithMe'](this[_0x5a4073(0x169)]['get'](bi)),this[_0x5a4073(0x23e)]();}['_getDependencies'](){return[[br],[Tr],[xi],[Ln],[zr],[yi],[bi]];}['_getRenderModules'](){return[Ci,wi,[wr],[Lr],[ur],[En],[an],[Or]];}[_0x92f39f(0x34a)](){const _0x1629d8=_0x92f39f;this[_0x1629d8(0x1b7)]()['forEach'](_0x55d25e=>{const _0x2b7628=_0x1629d8;this['disposeWithMe'](this[_0x2b7628(0x305)][_0x2b7628(0x23f)](_0x597c76[_0x2b7628(0x1e4)],_0x55d25e));});}[_0x92f39f(0x23e)](){const _0x8a1d6d=_0x92f39f;var _0x6060ff,_0x31b6a0;let _0x377b26=this[_0x8a1d6d(0x1db)]();this[_0x8a1d6d(0x26d)][_0x8a1d6d(0x3c7)](_0x57b746,{..._0x377b26,'toolbar':{..._0x377b26['toolbar'],'tools':{...(_0x6060ff=_0x377b26[_0x8a1d6d(0x2cf)])==null?void 0x0:_0x6060ff[_0x8a1d6d(0x3e0)],[_0x28dd01[_0x8a1d6d(0x3ae)]]:Ei((_0x31b6a0=_0x377b26[_0x8a1d6d(0x2cf)])==null||(_0x31b6a0=_0x31b6a0['tools'])==null?void 0x0:_0x31b6a0[_0x28dd01['MindMap']])}}});}[_0x92f39f(0x1db)](){const _0x48c467=_0x92f39f;return this[_0x48c467(0x26d)][_0x48c467(0x19a)](_0x57b746)??{};}};K(Ti,_0x92f39f(0x18d),Si),K(Ti,_0x92f39f(0x20e),Zt),K(Ti,_0x92f39f(0x1c2),Qt),K(Ti,_0x92f39f(0x396),_0x597c76[_0x92f39f(0x1e4)]),Ti=J([_0x48ac0a(_0x39127d,_0x53d0dd,_0x103306,_0x46f886,_0x4fb43a),q(0x1,_0x3c9b31(_0x3b9e9d)),q(0x2,_0x506e27),q(0x3,_0x1cdd64)],Ti);function Ei(_0x5bd251){const _0x630366=_0x92f39f;return _0x5bd251===!0x1?!0x1:typeof _0x5bd251!=_0x630366(0x31e)||{..._0x5bd251,'enabled':_0x5bd251[_0x630366(0x3f3)]??!0x0};}let Di=class extends _0xe01e68{constructor(_0x19744d=en,_0x5104e9,_0x497f95,_0x2d2f82){const _0x3a8232=_0x92f39f;super(),this[_0x3a8232(0x274)]=_0x19744d,this[_0x3a8232(0x169)]=_0x5104e9,this['_configService']=_0x497f95,this[_0x3a8232(0x305)]=_0x2d2f82;let {..._0x2096ec}=_0x221ada({},en,this[_0x3a8232(0x274)]);this[_0x3a8232(0x26d)]['setConfig']($t,_0x2096ec);}[_0x92f39f(0x2aa)](){const _0x218e86=_0x92f39f;let _0x406779=[[br],[Tr]];_0x389ea0[_0x218e86(0x1c0)](this['_injector'],_0x406779),[..._0x406779,[xi],[Ln],[zr],[pi],[vi]][_0x218e86(0x2cc)](_0x2b4961=>this['_injector'][_0x218e86(0x227)](_0x2b4961)),this['disposeWithMe'](this[_0x218e86(0x169)][_0x218e86(0x2ba)](_0x3709c8)[_0x218e86(0x3dd)](this[_0x218e86(0x169)][_0x218e86(0x2ba)](xi))),this[_0x218e86(0x307)](this[_0x218e86(0x169)]['get'](Ln)),this[_0x218e86(0x307)](this[_0x218e86(0x169)]['get'](zr)),this['disposeWithMe'](this['_injector'][_0x218e86(0x2ba)](pi)),this[_0x218e86(0x307)](this['_injector'][_0x218e86(0x2ba)](vi)),this[_0x218e86(0x23e)]();}[_0x92f39f(0x34a)](){const _0x94d671=_0x92f39f;[[Dn],[Vr],[wr,{'useClass':Hr}],[Lr],[ur],[En],[an],[Or]][_0x94d671(0x2cc)](_0x151091=>{const _0x225cdb=_0x94d671;this[_0x225cdb(0x307)](this[_0x225cdb(0x305)][_0x225cdb(0x23f)](_0x597c76['UNIVER_BOARD'],_0x151091));});}['_enableMindMapToolbarTool'](){const _0x6de684=_0x92f39f;var _0x4dfa70,_0x1b9d54;let _0x39cbb2=this[_0x6de684(0x1db)]();this['_configService'][_0x6de684(0x3c7)](_0x57b746,{..._0x39cbb2,'toolbar':{..._0x39cbb2['toolbar'],'tools':{...(_0x4dfa70=_0x39cbb2[_0x6de684(0x2cf)])==null?void 0x0:_0x4dfa70['tools'],[_0x28dd01['MindMap']]:Oi((_0x1b9d54=_0x39cbb2[_0x6de684(0x2cf)])==null||(_0x1b9d54=_0x1b9d54[_0x6de684(0x3e0)])==null?void 0x0:_0x1b9d54[_0x28dd01[_0x6de684(0x3ae)]])}}});}[_0x92f39f(0x1db)](){const _0x11ec77=_0x92f39f;return this[_0x11ec77(0x26d)][_0x11ec77(0x19a)](_0x57b746)??{};}};K(Di,_0x92f39f(0x18d),Si),K(Di,_0x92f39f(0x20e),Zt),K(Di,_0x92f39f(0x1c2),Qt),K(Di,_0x92f39f(0x396),_0x597c76[_0x92f39f(0x1e4)]),Di=J([_0x48ac0a(_0x39127d,_0x53d0dd,_0x103306,_0x46f886,_0x389ea0),q(0x1,_0x3c9b31(_0x3b9e9d)),q(0x2,_0x506e27),q(0x3,_0x1cdd64)],Di);function Oi(_0x3cc7ff){const _0x264bcf=_0x92f39f;return _0x3cc7ff===!0x1?!0x1:typeof _0x3cc7ff!='object'||{..._0x3cc7ff,'enabled':_0x3cc7ff[_0x264bcf(0x3f3)]??!0x0};}export{Di as UniverBoardsMindMobileUIPlugin,Ti as UniverBoardsMindUIPlugin};
|